@kosha-ai/server 0.2.0 → 0.4.0

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