lapeh 2.3.6 → 2.3.8

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