@kosha-ai/server 0.2.0 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/auth/auth.factory.d.ts.map +1 -1
- package/dist/auth/auth.factory.js +0 -5
- package/dist/configurations/configurations.controller.d.ts +6 -5
- package/dist/configurations/configurations.controller.d.ts.map +1 -1
- package/dist/configurations/configurations.controller.js +22 -18
- package/dist/configurations/configurations.module.d.ts.map +1 -1
- package/dist/configurations/configurations.module.js +1 -2
- package/dist/configurations/configurations.service.d.ts +24 -36
- package/dist/configurations/configurations.service.d.ts.map +1 -1
- package/dist/configurations/configurations.service.js +71 -151
- package/dist/configurations/dto/create-configuration.dto.d.ts +1 -2
- package/dist/configurations/dto/create-configuration.dto.d.ts.map +1 -1
- package/dist/configurations/dto/create-configuration.dto.js +2 -12
- package/dist/configurations/dto/update-configuration.dto.d.ts +0 -2
- package/dist/configurations/dto/update-configuration.dto.d.ts.map +1 -1
- package/dist/configurations/dto/update-configuration.dto.js +1 -17
- package/dist/connect/connect.controller.d.ts +1 -1
- package/dist/connect/connect.controller.d.ts.map +1 -1
- package/dist/connect/connect.controller.js +7 -6
- package/dist/connect/connect.module.d.ts.map +1 -1
- package/dist/connect/connect.module.js +1 -2
- package/dist/connect/connect.repository.d.ts +23 -23
- package/dist/connect/connect.repository.d.ts.map +1 -1
- package/dist/connect/connect.repository.js +37 -49
- package/dist/connect/connect.service.d.ts +7 -8
- package/dist/connect/connect.service.d.ts.map +1 -1
- package/dist/connect/connect.service.js +54 -51
- package/dist/connect/dto/create-connect-session.dto.d.ts +1 -1
- package/dist/connect/dto/create-connect-session.dto.d.ts.map +1 -1
- package/dist/connect/dto/create-connect-session.dto.js +7 -8
- package/dist/connect/dto/create-test-session.dto.d.ts +1 -0
- package/dist/connect/dto/create-test-session.dto.d.ts.map +1 -1
- package/dist/connect/dto/create-test-session.dto.js +10 -3
- package/dist/connections/connections.controller.d.ts +4 -3
- package/dist/connections/connections.controller.d.ts.map +1 -1
- package/dist/connections/connections.controller.js +13 -11
- package/dist/connections/connections.repository.d.ts +24 -17
- package/dist/connections/connections.repository.d.ts.map +1 -1
- package/dist/connections/connections.repository.js +21 -43
- package/dist/connections/connections.service.d.ts +48 -13
- package/dist/connections/connections.service.d.ts.map +1 -1
- package/dist/connections/connections.service.js +111 -32
- package/dist/connections/dto/list-connections.dto.d.ts +3 -1
- package/dist/connections/dto/list-connections.dto.d.ts.map +1 -1
- package/dist/connections/dto/list-connections.dto.js +26 -4
- package/dist/connections/environment-connections.controller.d.ts +4 -3
- package/dist/connections/environment-connections.controller.d.ts.map +1 -1
- package/dist/connections/environment-connections.controller.js +14 -12
- package/dist/credentials/credentials.module.d.ts.map +1 -1
- package/dist/credentials/credentials.module.js +0 -2
- package/dist/credentials/credentials.repository.d.ts +5 -2
- package/dist/credentials/credentials.repository.d.ts.map +1 -1
- package/dist/credentials/credentials.repository.js +10 -3
- package/dist/credentials/credentials.service.d.ts +8 -4
- package/dist/credentials/credentials.service.d.ts.map +1 -1
- package/dist/credentials/credentials.service.js +27 -16
- package/dist/egress/egress.listener.d.ts +1 -3
- package/dist/egress/egress.listener.d.ts.map +1 -1
- package/dist/egress/egress.listener.js +3 -7
- package/dist/egress/egress.repository.d.ts +13 -6
- package/dist/egress/egress.repository.d.ts.map +1 -1
- package/dist/egress/egress.repository.js +31 -44
- package/dist/generated/prisma/browser.d.ts +0 -5
- package/dist/generated/prisma/browser.d.ts.map +1 -1
- package/dist/generated/prisma/client.d.ts +0 -5
- package/dist/generated/prisma/client.d.ts.map +1 -1
- package/dist/generated/prisma/commonInputTypes.d.ts +0 -55
- package/dist/generated/prisma/commonInputTypes.d.ts.map +1 -1
- package/dist/generated/prisma/internal/class.d.ts +0 -11
- package/dist/generated/prisma/internal/class.d.ts.map +1 -1
- package/dist/generated/prisma/internal/class.js +4 -4
- package/dist/generated/prisma/internal/prismaNamespace.d.ts +1 -114
- package/dist/generated/prisma/internal/prismaNamespace.d.ts.map +1 -1
- package/dist/generated/prisma/internal/prismaNamespace.js +2 -29
- package/dist/generated/prisma/internal/prismaNamespaceBrowser.d.ts +0 -30
- package/dist/generated/prisma/internal/prismaNamespaceBrowser.d.ts.map +1 -1
- package/dist/generated/prisma/internal/prismaNamespaceBrowser.js +2 -29
- package/dist/generated/prisma/models/Account.d.ts +26 -344
- package/dist/generated/prisma/models/Account.d.ts.map +1 -1
- package/dist/generated/prisma/models/Environment.d.ts +0 -258
- package/dist/generated/prisma/models/Environment.d.ts.map +1 -1
- package/dist/generated/prisma/models/User.d.ts +2 -60
- package/dist/generated/prisma/models/User.d.ts.map +1 -1
- package/dist/generated/prisma/models.d.ts +0 -1
- package/dist/generated/prisma/models.d.ts.map +1 -1
- package/dist/index.d.ts +1 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/integrations/integrations.controller.d.ts +2 -0
- package/dist/integrations/integrations.controller.d.ts.map +1 -1
- package/dist/integrations/integrations.controller.js +1 -0
- package/dist/integrations/integrations.module.d.ts.map +1 -1
- package/dist/integrations/integrations.module.js +3 -1
- package/dist/integrations/provider-store.d.ts +104 -0
- package/dist/integrations/provider-store.d.ts.map +1 -0
- package/dist/integrations/provider-store.js +234 -0
- package/dist/proxy/proxy.controller.d.ts +9 -5
- package/dist/proxy/proxy.controller.d.ts.map +1 -1
- package/dist/proxy/proxy.controller.js +18 -13
- package/dist/proxy/proxy.module.d.ts.map +1 -1
- package/dist/proxy/proxy.module.js +1 -2
- package/dist/proxy/proxy.repository.d.ts +11 -14
- package/dist/proxy/proxy.repository.d.ts.map +1 -1
- package/dist/proxy/proxy.repository.js +17 -27
- package/dist/proxy/proxy.service.d.ts +6 -8
- package/dist/proxy/proxy.service.d.ts.map +1 -1
- package/dist/proxy/proxy.service.js +34 -28
- package/package.json +4 -4
- package/prisma/migrations/{20260929101936_init → 20261008090000_init}/migration.sql +5 -58
- package/prisma/schema.prisma +2 -43
- package/dist/configurations/configurations.repository.d.ts +0 -43
- package/dist/configurations/configurations.repository.d.ts.map +0 -1
- package/dist/configurations/configurations.repository.js +0 -76
- package/dist/generated/prisma/models/Configuration.d.ts +0 -1385
- package/dist/generated/prisma/models/Configuration.d.ts.map +0 -1
- package/dist/generated/prisma/models/Configuration.js +0 -1
- package/prisma/migrations/20260930102529_connection_config/migration.sql +0 -2
|
@@ -24,8 +24,6 @@ export type AccountMinAggregateOutputType = {
|
|
|
24
24
|
password: string | null;
|
|
25
25
|
createdAt: Date | null;
|
|
26
26
|
updatedAt: Date | null;
|
|
27
|
-
environmentId: string | null;
|
|
28
|
-
organizationExternalId: string | null;
|
|
29
27
|
};
|
|
30
28
|
export type AccountMaxAggregateOutputType = {
|
|
31
29
|
id: string | null;
|
|
@@ -41,8 +39,6 @@ export type AccountMaxAggregateOutputType = {
|
|
|
41
39
|
password: string | null;
|
|
42
40
|
createdAt: Date | null;
|
|
43
41
|
updatedAt: Date | null;
|
|
44
|
-
environmentId: string | null;
|
|
45
|
-
organizationExternalId: string | null;
|
|
46
42
|
};
|
|
47
43
|
export type AccountCountAggregateOutputType = {
|
|
48
44
|
id: number;
|
|
@@ -58,9 +54,6 @@ export type AccountCountAggregateOutputType = {
|
|
|
58
54
|
password: number;
|
|
59
55
|
createdAt: number;
|
|
60
56
|
updatedAt: number;
|
|
61
|
-
environmentId: number;
|
|
62
|
-
organizationExternalId: number;
|
|
63
|
-
connectionConfig: number;
|
|
64
57
|
_all: number;
|
|
65
58
|
};
|
|
66
59
|
export type AccountMinAggregateInputType = {
|
|
@@ -77,8 +70,6 @@ export type AccountMinAggregateInputType = {
|
|
|
77
70
|
password?: true;
|
|
78
71
|
createdAt?: true;
|
|
79
72
|
updatedAt?: true;
|
|
80
|
-
environmentId?: true;
|
|
81
|
-
organizationExternalId?: true;
|
|
82
73
|
};
|
|
83
74
|
export type AccountMaxAggregateInputType = {
|
|
84
75
|
id?: true;
|
|
@@ -94,8 +85,6 @@ export type AccountMaxAggregateInputType = {
|
|
|
94
85
|
password?: true;
|
|
95
86
|
createdAt?: true;
|
|
96
87
|
updatedAt?: true;
|
|
97
|
-
environmentId?: true;
|
|
98
|
-
organizationExternalId?: true;
|
|
99
88
|
};
|
|
100
89
|
export type AccountCountAggregateInputType = {
|
|
101
90
|
id?: true;
|
|
@@ -111,9 +100,6 @@ export type AccountCountAggregateInputType = {
|
|
|
111
100
|
password?: true;
|
|
112
101
|
createdAt?: true;
|
|
113
102
|
updatedAt?: true;
|
|
114
|
-
environmentId?: true;
|
|
115
|
-
organizationExternalId?: true;
|
|
116
|
-
connectionConfig?: true;
|
|
117
103
|
_all?: true;
|
|
118
104
|
};
|
|
119
105
|
export type AccountAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
@@ -182,7 +168,7 @@ export type AccountGroupByOutputType = {
|
|
|
182
168
|
id: string;
|
|
183
169
|
accountId: string;
|
|
184
170
|
providerId: string;
|
|
185
|
-
userId: string
|
|
171
|
+
userId: string;
|
|
186
172
|
accessToken: string | null;
|
|
187
173
|
refreshToken: string | null;
|
|
188
174
|
idToken: string | null;
|
|
@@ -192,9 +178,6 @@ export type AccountGroupByOutputType = {
|
|
|
192
178
|
password: string | null;
|
|
193
179
|
createdAt: Date;
|
|
194
180
|
updatedAt: Date;
|
|
195
|
-
environmentId: string | null;
|
|
196
|
-
organizationExternalId: string | null;
|
|
197
|
-
connectionConfig: runtime.JsonValue | null;
|
|
198
181
|
_count: AccountCountAggregateOutputType | null;
|
|
199
182
|
_min: AccountMinAggregateOutputType | null;
|
|
200
183
|
_max: AccountMaxAggregateOutputType | null;
|
|
@@ -209,7 +192,7 @@ export type AccountWhereInput = {
|
|
|
209
192
|
id?: Prisma.StringFilter<"Account"> | string;
|
|
210
193
|
accountId?: Prisma.StringFilter<"Account"> | string;
|
|
211
194
|
providerId?: Prisma.StringFilter<"Account"> | string;
|
|
212
|
-
userId?: Prisma.
|
|
195
|
+
userId?: Prisma.StringFilter<"Account"> | string;
|
|
213
196
|
accessToken?: Prisma.StringNullableFilter<"Account"> | string | null;
|
|
214
197
|
refreshToken?: Prisma.StringNullableFilter<"Account"> | string | null;
|
|
215
198
|
idToken?: Prisma.StringNullableFilter<"Account"> | string | null;
|
|
@@ -219,17 +202,13 @@ export type AccountWhereInput = {
|
|
|
219
202
|
password?: Prisma.StringNullableFilter<"Account"> | string | null;
|
|
220
203
|
createdAt?: Prisma.DateTimeFilter<"Account"> | Date | string;
|
|
221
204
|
updatedAt?: Prisma.DateTimeFilter<"Account"> | Date | string;
|
|
222
|
-
|
|
223
|
-
organizationExternalId?: Prisma.StringNullableFilter<"Account"> | string | null;
|
|
224
|
-
connectionConfig?: Prisma.JsonNullableFilter<"Account">;
|
|
225
|
-
user?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | null;
|
|
226
|
-
environment?: Prisma.XOR<Prisma.EnvironmentNullableScalarRelationFilter, Prisma.EnvironmentWhereInput> | null;
|
|
205
|
+
user?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>;
|
|
227
206
|
};
|
|
228
207
|
export type AccountOrderByWithRelationInput = {
|
|
229
208
|
id?: Prisma.SortOrder;
|
|
230
209
|
accountId?: Prisma.SortOrder;
|
|
231
210
|
providerId?: Prisma.SortOrder;
|
|
232
|
-
userId?: Prisma.
|
|
211
|
+
userId?: Prisma.SortOrder;
|
|
233
212
|
accessToken?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
234
213
|
refreshToken?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
235
214
|
idToken?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
@@ -239,21 +218,16 @@ export type AccountOrderByWithRelationInput = {
|
|
|
239
218
|
password?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
240
219
|
createdAt?: Prisma.SortOrder;
|
|
241
220
|
updatedAt?: Prisma.SortOrder;
|
|
242
|
-
environmentId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
243
|
-
organizationExternalId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
244
|
-
connectionConfig?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
245
221
|
user?: Prisma.UserOrderByWithRelationInput;
|
|
246
|
-
environment?: Prisma.EnvironmentOrderByWithRelationInput;
|
|
247
222
|
};
|
|
248
223
|
export type AccountWhereUniqueInput = Prisma.AtLeast<{
|
|
249
224
|
id?: string;
|
|
250
|
-
environmentId_organizationExternalId_providerId?: Prisma.AccountEnvironmentIdOrganizationExternalIdProviderIdCompoundUniqueInput;
|
|
251
225
|
AND?: Prisma.AccountWhereInput | Prisma.AccountWhereInput[];
|
|
252
226
|
OR?: Prisma.AccountWhereInput[];
|
|
253
227
|
NOT?: Prisma.AccountWhereInput | Prisma.AccountWhereInput[];
|
|
254
228
|
accountId?: Prisma.StringFilter<"Account"> | string;
|
|
255
229
|
providerId?: Prisma.StringFilter<"Account"> | string;
|
|
256
|
-
userId?: Prisma.
|
|
230
|
+
userId?: Prisma.StringFilter<"Account"> | string;
|
|
257
231
|
accessToken?: Prisma.StringNullableFilter<"Account"> | string | null;
|
|
258
232
|
refreshToken?: Prisma.StringNullableFilter<"Account"> | string | null;
|
|
259
233
|
idToken?: Prisma.StringNullableFilter<"Account"> | string | null;
|
|
@@ -263,17 +237,13 @@ export type AccountWhereUniqueInput = Prisma.AtLeast<{
|
|
|
263
237
|
password?: Prisma.StringNullableFilter<"Account"> | string | null;
|
|
264
238
|
createdAt?: Prisma.DateTimeFilter<"Account"> | Date | string;
|
|
265
239
|
updatedAt?: Prisma.DateTimeFilter<"Account"> | Date | string;
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
connectionConfig?: Prisma.JsonNullableFilter<"Account">;
|
|
269
|
-
user?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | null;
|
|
270
|
-
environment?: Prisma.XOR<Prisma.EnvironmentNullableScalarRelationFilter, Prisma.EnvironmentWhereInput> | null;
|
|
271
|
-
}, "id" | "environmentId_organizationExternalId_providerId">;
|
|
240
|
+
user?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>;
|
|
241
|
+
}, "id">;
|
|
272
242
|
export type AccountOrderByWithAggregationInput = {
|
|
273
243
|
id?: Prisma.SortOrder;
|
|
274
244
|
accountId?: Prisma.SortOrder;
|
|
275
245
|
providerId?: Prisma.SortOrder;
|
|
276
|
-
userId?: Prisma.
|
|
246
|
+
userId?: Prisma.SortOrder;
|
|
277
247
|
accessToken?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
278
248
|
refreshToken?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
279
249
|
idToken?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
@@ -283,9 +253,6 @@ export type AccountOrderByWithAggregationInput = {
|
|
|
283
253
|
password?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
284
254
|
createdAt?: Prisma.SortOrder;
|
|
285
255
|
updatedAt?: Prisma.SortOrder;
|
|
286
|
-
environmentId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
287
|
-
organizationExternalId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
288
|
-
connectionConfig?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
289
256
|
_count?: Prisma.AccountCountOrderByAggregateInput;
|
|
290
257
|
_max?: Prisma.AccountMaxOrderByAggregateInput;
|
|
291
258
|
_min?: Prisma.AccountMinOrderByAggregateInput;
|
|
@@ -297,7 +264,7 @@ export type AccountScalarWhereWithAggregatesInput = {
|
|
|
297
264
|
id?: Prisma.StringWithAggregatesFilter<"Account"> | string;
|
|
298
265
|
accountId?: Prisma.StringWithAggregatesFilter<"Account"> | string;
|
|
299
266
|
providerId?: Prisma.StringWithAggregatesFilter<"Account"> | string;
|
|
300
|
-
userId?: Prisma.
|
|
267
|
+
userId?: Prisma.StringWithAggregatesFilter<"Account"> | string;
|
|
301
268
|
accessToken?: Prisma.StringNullableWithAggregatesFilter<"Account"> | string | null;
|
|
302
269
|
refreshToken?: Prisma.StringNullableWithAggregatesFilter<"Account"> | string | null;
|
|
303
270
|
idToken?: Prisma.StringNullableWithAggregatesFilter<"Account"> | string | null;
|
|
@@ -307,9 +274,6 @@ export type AccountScalarWhereWithAggregatesInput = {
|
|
|
307
274
|
password?: Prisma.StringNullableWithAggregatesFilter<"Account"> | string | null;
|
|
308
275
|
createdAt?: Prisma.DateTimeWithAggregatesFilter<"Account"> | Date | string;
|
|
309
276
|
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"Account"> | Date | string;
|
|
310
|
-
environmentId?: Prisma.StringNullableWithAggregatesFilter<"Account"> | string | null;
|
|
311
|
-
organizationExternalId?: Prisma.StringNullableWithAggregatesFilter<"Account"> | string | null;
|
|
312
|
-
connectionConfig?: Prisma.JsonNullableWithAggregatesFilter<"Account">;
|
|
313
277
|
};
|
|
314
278
|
export type AccountCreateInput = {
|
|
315
279
|
id: string;
|
|
@@ -324,16 +288,13 @@ export type AccountCreateInput = {
|
|
|
324
288
|
password?: string | null;
|
|
325
289
|
createdAt?: Date | string;
|
|
326
290
|
updatedAt?: Date | string;
|
|
327
|
-
|
|
328
|
-
connectionConfig?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
329
|
-
user?: Prisma.UserCreateNestedOneWithoutAccountsInput;
|
|
330
|
-
environment?: Prisma.EnvironmentCreateNestedOneWithoutAccountsInput;
|
|
291
|
+
user: Prisma.UserCreateNestedOneWithoutAccountsInput;
|
|
331
292
|
};
|
|
332
293
|
export type AccountUncheckedCreateInput = {
|
|
333
294
|
id: string;
|
|
334
295
|
accountId: string;
|
|
335
296
|
providerId: string;
|
|
336
|
-
userId
|
|
297
|
+
userId: string;
|
|
337
298
|
accessToken?: string | null;
|
|
338
299
|
refreshToken?: string | null;
|
|
339
300
|
idToken?: string | null;
|
|
@@ -343,9 +304,6 @@ export type AccountUncheckedCreateInput = {
|
|
|
343
304
|
password?: string | null;
|
|
344
305
|
createdAt?: Date | string;
|
|
345
306
|
updatedAt?: Date | string;
|
|
346
|
-
environmentId?: string | null;
|
|
347
|
-
organizationExternalId?: string | null;
|
|
348
|
-
connectionConfig?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
349
307
|
};
|
|
350
308
|
export type AccountUpdateInput = {
|
|
351
309
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -360,16 +318,13 @@ export type AccountUpdateInput = {
|
|
|
360
318
|
password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
361
319
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
362
320
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
363
|
-
|
|
364
|
-
connectionConfig?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
365
|
-
user?: Prisma.UserUpdateOneWithoutAccountsNestedInput;
|
|
366
|
-
environment?: Prisma.EnvironmentUpdateOneWithoutAccountsNestedInput;
|
|
321
|
+
user?: Prisma.UserUpdateOneRequiredWithoutAccountsNestedInput;
|
|
367
322
|
};
|
|
368
323
|
export type AccountUncheckedUpdateInput = {
|
|
369
324
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
370
325
|
accountId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
371
326
|
providerId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
372
|
-
userId?: Prisma.
|
|
327
|
+
userId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
373
328
|
accessToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
374
329
|
refreshToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
375
330
|
idToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
@@ -379,15 +334,12 @@ export type AccountUncheckedUpdateInput = {
|
|
|
379
334
|
password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
380
335
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
381
336
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
382
|
-
environmentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
383
|
-
organizationExternalId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
384
|
-
connectionConfig?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
385
337
|
};
|
|
386
338
|
export type AccountCreateManyInput = {
|
|
387
339
|
id: string;
|
|
388
340
|
accountId: string;
|
|
389
341
|
providerId: string;
|
|
390
|
-
userId
|
|
342
|
+
userId: string;
|
|
391
343
|
accessToken?: string | null;
|
|
392
344
|
refreshToken?: string | null;
|
|
393
345
|
idToken?: string | null;
|
|
@@ -397,9 +349,6 @@ export type AccountCreateManyInput = {
|
|
|
397
349
|
password?: string | null;
|
|
398
350
|
createdAt?: Date | string;
|
|
399
351
|
updatedAt?: Date | string;
|
|
400
|
-
environmentId?: string | null;
|
|
401
|
-
organizationExternalId?: string | null;
|
|
402
|
-
connectionConfig?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
403
352
|
};
|
|
404
353
|
export type AccountUpdateManyMutationInput = {
|
|
405
354
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -414,14 +363,12 @@ export type AccountUpdateManyMutationInput = {
|
|
|
414
363
|
password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
415
364
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
416
365
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
417
|
-
organizationExternalId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
418
|
-
connectionConfig?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
419
366
|
};
|
|
420
367
|
export type AccountUncheckedUpdateManyInput = {
|
|
421
368
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
422
369
|
accountId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
423
370
|
providerId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
424
|
-
userId?: Prisma.
|
|
371
|
+
userId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
425
372
|
accessToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
426
373
|
refreshToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
427
374
|
idToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
@@ -431,9 +378,6 @@ export type AccountUncheckedUpdateManyInput = {
|
|
|
431
378
|
password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
432
379
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
433
380
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
434
|
-
environmentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
435
|
-
organizationExternalId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
436
|
-
connectionConfig?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
437
381
|
};
|
|
438
382
|
export type AccountListRelationFilter = {
|
|
439
383
|
every?: Prisma.AccountWhereInput;
|
|
@@ -443,11 +387,6 @@ export type AccountListRelationFilter = {
|
|
|
443
387
|
export type AccountOrderByRelationAggregateInput = {
|
|
444
388
|
_count?: Prisma.SortOrder;
|
|
445
389
|
};
|
|
446
|
-
export type AccountEnvironmentIdOrganizationExternalIdProviderIdCompoundUniqueInput = {
|
|
447
|
-
environmentId: string;
|
|
448
|
-
organizationExternalId: string;
|
|
449
|
-
providerId: string;
|
|
450
|
-
};
|
|
451
390
|
export type AccountCountOrderByAggregateInput = {
|
|
452
391
|
id?: Prisma.SortOrder;
|
|
453
392
|
accountId?: Prisma.SortOrder;
|
|
@@ -462,9 +401,6 @@ export type AccountCountOrderByAggregateInput = {
|
|
|
462
401
|
password?: Prisma.SortOrder;
|
|
463
402
|
createdAt?: Prisma.SortOrder;
|
|
464
403
|
updatedAt?: Prisma.SortOrder;
|
|
465
|
-
environmentId?: Prisma.SortOrder;
|
|
466
|
-
organizationExternalId?: Prisma.SortOrder;
|
|
467
|
-
connectionConfig?: Prisma.SortOrder;
|
|
468
404
|
};
|
|
469
405
|
export type AccountMaxOrderByAggregateInput = {
|
|
470
406
|
id?: Prisma.SortOrder;
|
|
@@ -480,8 +416,6 @@ export type AccountMaxOrderByAggregateInput = {
|
|
|
480
416
|
password?: Prisma.SortOrder;
|
|
481
417
|
createdAt?: Prisma.SortOrder;
|
|
482
418
|
updatedAt?: Prisma.SortOrder;
|
|
483
|
-
environmentId?: Prisma.SortOrder;
|
|
484
|
-
organizationExternalId?: Prisma.SortOrder;
|
|
485
419
|
};
|
|
486
420
|
export type AccountMinOrderByAggregateInput = {
|
|
487
421
|
id?: Prisma.SortOrder;
|
|
@@ -497,8 +431,6 @@ export type AccountMinOrderByAggregateInput = {
|
|
|
497
431
|
password?: Prisma.SortOrder;
|
|
498
432
|
createdAt?: Prisma.SortOrder;
|
|
499
433
|
updatedAt?: Prisma.SortOrder;
|
|
500
|
-
environmentId?: Prisma.SortOrder;
|
|
501
|
-
organizationExternalId?: Prisma.SortOrder;
|
|
502
434
|
};
|
|
503
435
|
export type AccountCreateNestedManyWithoutUserInput = {
|
|
504
436
|
create?: Prisma.XOR<Prisma.AccountCreateWithoutUserInput, Prisma.AccountUncheckedCreateWithoutUserInput> | Prisma.AccountCreateWithoutUserInput[] | Prisma.AccountUncheckedCreateWithoutUserInput[];
|
|
@@ -541,44 +473,6 @@ export type AccountUncheckedUpdateManyWithoutUserNestedInput = {
|
|
|
541
473
|
export type NullableDateTimeFieldUpdateOperationsInput = {
|
|
542
474
|
set?: Date | string | null;
|
|
543
475
|
};
|
|
544
|
-
export type AccountCreateNestedManyWithoutEnvironmentInput = {
|
|
545
|
-
create?: Prisma.XOR<Prisma.AccountCreateWithoutEnvironmentInput, Prisma.AccountUncheckedCreateWithoutEnvironmentInput> | Prisma.AccountCreateWithoutEnvironmentInput[] | Prisma.AccountUncheckedCreateWithoutEnvironmentInput[];
|
|
546
|
-
connectOrCreate?: Prisma.AccountCreateOrConnectWithoutEnvironmentInput | Prisma.AccountCreateOrConnectWithoutEnvironmentInput[];
|
|
547
|
-
createMany?: Prisma.AccountCreateManyEnvironmentInputEnvelope;
|
|
548
|
-
connect?: Prisma.AccountWhereUniqueInput | Prisma.AccountWhereUniqueInput[];
|
|
549
|
-
};
|
|
550
|
-
export type AccountUncheckedCreateNestedManyWithoutEnvironmentInput = {
|
|
551
|
-
create?: Prisma.XOR<Prisma.AccountCreateWithoutEnvironmentInput, Prisma.AccountUncheckedCreateWithoutEnvironmentInput> | Prisma.AccountCreateWithoutEnvironmentInput[] | Prisma.AccountUncheckedCreateWithoutEnvironmentInput[];
|
|
552
|
-
connectOrCreate?: Prisma.AccountCreateOrConnectWithoutEnvironmentInput | Prisma.AccountCreateOrConnectWithoutEnvironmentInput[];
|
|
553
|
-
createMany?: Prisma.AccountCreateManyEnvironmentInputEnvelope;
|
|
554
|
-
connect?: Prisma.AccountWhereUniqueInput | Prisma.AccountWhereUniqueInput[];
|
|
555
|
-
};
|
|
556
|
-
export type AccountUpdateManyWithoutEnvironmentNestedInput = {
|
|
557
|
-
create?: Prisma.XOR<Prisma.AccountCreateWithoutEnvironmentInput, Prisma.AccountUncheckedCreateWithoutEnvironmentInput> | Prisma.AccountCreateWithoutEnvironmentInput[] | Prisma.AccountUncheckedCreateWithoutEnvironmentInput[];
|
|
558
|
-
connectOrCreate?: Prisma.AccountCreateOrConnectWithoutEnvironmentInput | Prisma.AccountCreateOrConnectWithoutEnvironmentInput[];
|
|
559
|
-
upsert?: Prisma.AccountUpsertWithWhereUniqueWithoutEnvironmentInput | Prisma.AccountUpsertWithWhereUniqueWithoutEnvironmentInput[];
|
|
560
|
-
createMany?: Prisma.AccountCreateManyEnvironmentInputEnvelope;
|
|
561
|
-
set?: Prisma.AccountWhereUniqueInput | Prisma.AccountWhereUniqueInput[];
|
|
562
|
-
disconnect?: Prisma.AccountWhereUniqueInput | Prisma.AccountWhereUniqueInput[];
|
|
563
|
-
delete?: Prisma.AccountWhereUniqueInput | Prisma.AccountWhereUniqueInput[];
|
|
564
|
-
connect?: Prisma.AccountWhereUniqueInput | Prisma.AccountWhereUniqueInput[];
|
|
565
|
-
update?: Prisma.AccountUpdateWithWhereUniqueWithoutEnvironmentInput | Prisma.AccountUpdateWithWhereUniqueWithoutEnvironmentInput[];
|
|
566
|
-
updateMany?: Prisma.AccountUpdateManyWithWhereWithoutEnvironmentInput | Prisma.AccountUpdateManyWithWhereWithoutEnvironmentInput[];
|
|
567
|
-
deleteMany?: Prisma.AccountScalarWhereInput | Prisma.AccountScalarWhereInput[];
|
|
568
|
-
};
|
|
569
|
-
export type AccountUncheckedUpdateManyWithoutEnvironmentNestedInput = {
|
|
570
|
-
create?: Prisma.XOR<Prisma.AccountCreateWithoutEnvironmentInput, Prisma.AccountUncheckedCreateWithoutEnvironmentInput> | Prisma.AccountCreateWithoutEnvironmentInput[] | Prisma.AccountUncheckedCreateWithoutEnvironmentInput[];
|
|
571
|
-
connectOrCreate?: Prisma.AccountCreateOrConnectWithoutEnvironmentInput | Prisma.AccountCreateOrConnectWithoutEnvironmentInput[];
|
|
572
|
-
upsert?: Prisma.AccountUpsertWithWhereUniqueWithoutEnvironmentInput | Prisma.AccountUpsertWithWhereUniqueWithoutEnvironmentInput[];
|
|
573
|
-
createMany?: Prisma.AccountCreateManyEnvironmentInputEnvelope;
|
|
574
|
-
set?: Prisma.AccountWhereUniqueInput | Prisma.AccountWhereUniqueInput[];
|
|
575
|
-
disconnect?: Prisma.AccountWhereUniqueInput | Prisma.AccountWhereUniqueInput[];
|
|
576
|
-
delete?: Prisma.AccountWhereUniqueInput | Prisma.AccountWhereUniqueInput[];
|
|
577
|
-
connect?: Prisma.AccountWhereUniqueInput | Prisma.AccountWhereUniqueInput[];
|
|
578
|
-
update?: Prisma.AccountUpdateWithWhereUniqueWithoutEnvironmentInput | Prisma.AccountUpdateWithWhereUniqueWithoutEnvironmentInput[];
|
|
579
|
-
updateMany?: Prisma.AccountUpdateManyWithWhereWithoutEnvironmentInput | Prisma.AccountUpdateManyWithWhereWithoutEnvironmentInput[];
|
|
580
|
-
deleteMany?: Prisma.AccountScalarWhereInput | Prisma.AccountScalarWhereInput[];
|
|
581
|
-
};
|
|
582
476
|
export type AccountCreateWithoutUserInput = {
|
|
583
477
|
id: string;
|
|
584
478
|
accountId: string;
|
|
@@ -592,9 +486,6 @@ export type AccountCreateWithoutUserInput = {
|
|
|
592
486
|
password?: string | null;
|
|
593
487
|
createdAt?: Date | string;
|
|
594
488
|
updatedAt?: Date | string;
|
|
595
|
-
organizationExternalId?: string | null;
|
|
596
|
-
connectionConfig?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
597
|
-
environment?: Prisma.EnvironmentCreateNestedOneWithoutAccountsInput;
|
|
598
489
|
};
|
|
599
490
|
export type AccountUncheckedCreateWithoutUserInput = {
|
|
600
491
|
id: string;
|
|
@@ -609,9 +500,6 @@ export type AccountUncheckedCreateWithoutUserInput = {
|
|
|
609
500
|
password?: string | null;
|
|
610
501
|
createdAt?: Date | string;
|
|
611
502
|
updatedAt?: Date | string;
|
|
612
|
-
environmentId?: string | null;
|
|
613
|
-
organizationExternalId?: string | null;
|
|
614
|
-
connectionConfig?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
615
503
|
};
|
|
616
504
|
export type AccountCreateOrConnectWithoutUserInput = {
|
|
617
505
|
where: Prisma.AccountWhereUniqueInput;
|
|
@@ -641,7 +529,7 @@ export type AccountScalarWhereInput = {
|
|
|
641
529
|
id?: Prisma.StringFilter<"Account"> | string;
|
|
642
530
|
accountId?: Prisma.StringFilter<"Account"> | string;
|
|
643
531
|
providerId?: Prisma.StringFilter<"Account"> | string;
|
|
644
|
-
userId?: Prisma.
|
|
532
|
+
userId?: Prisma.StringFilter<"Account"> | string;
|
|
645
533
|
accessToken?: Prisma.StringNullableFilter<"Account"> | string | null;
|
|
646
534
|
refreshToken?: Prisma.StringNullableFilter<"Account"> | string | null;
|
|
647
535
|
idToken?: Prisma.StringNullableFilter<"Account"> | string | null;
|
|
@@ -651,64 +539,6 @@ export type AccountScalarWhereInput = {
|
|
|
651
539
|
password?: Prisma.StringNullableFilter<"Account"> | string | null;
|
|
652
540
|
createdAt?: Prisma.DateTimeFilter<"Account"> | Date | string;
|
|
653
541
|
updatedAt?: Prisma.DateTimeFilter<"Account"> | Date | string;
|
|
654
|
-
environmentId?: Prisma.StringNullableFilter<"Account"> | string | null;
|
|
655
|
-
organizationExternalId?: Prisma.StringNullableFilter<"Account"> | string | null;
|
|
656
|
-
connectionConfig?: Prisma.JsonNullableFilter<"Account">;
|
|
657
|
-
};
|
|
658
|
-
export type AccountCreateWithoutEnvironmentInput = {
|
|
659
|
-
id: string;
|
|
660
|
-
accountId: string;
|
|
661
|
-
providerId: string;
|
|
662
|
-
accessToken?: string | null;
|
|
663
|
-
refreshToken?: string | null;
|
|
664
|
-
idToken?: string | null;
|
|
665
|
-
accessTokenExpiresAt?: Date | string | null;
|
|
666
|
-
refreshTokenExpiresAt?: Date | string | null;
|
|
667
|
-
scope?: string | null;
|
|
668
|
-
password?: string | null;
|
|
669
|
-
createdAt?: Date | string;
|
|
670
|
-
updatedAt?: Date | string;
|
|
671
|
-
organizationExternalId?: string | null;
|
|
672
|
-
connectionConfig?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
673
|
-
user?: Prisma.UserCreateNestedOneWithoutAccountsInput;
|
|
674
|
-
};
|
|
675
|
-
export type AccountUncheckedCreateWithoutEnvironmentInput = {
|
|
676
|
-
id: string;
|
|
677
|
-
accountId: string;
|
|
678
|
-
providerId: string;
|
|
679
|
-
userId?: string | null;
|
|
680
|
-
accessToken?: string | null;
|
|
681
|
-
refreshToken?: string | null;
|
|
682
|
-
idToken?: string | null;
|
|
683
|
-
accessTokenExpiresAt?: Date | string | null;
|
|
684
|
-
refreshTokenExpiresAt?: Date | string | null;
|
|
685
|
-
scope?: string | null;
|
|
686
|
-
password?: string | null;
|
|
687
|
-
createdAt?: Date | string;
|
|
688
|
-
updatedAt?: Date | string;
|
|
689
|
-
organizationExternalId?: string | null;
|
|
690
|
-
connectionConfig?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
691
|
-
};
|
|
692
|
-
export type AccountCreateOrConnectWithoutEnvironmentInput = {
|
|
693
|
-
where: Prisma.AccountWhereUniqueInput;
|
|
694
|
-
create: Prisma.XOR<Prisma.AccountCreateWithoutEnvironmentInput, Prisma.AccountUncheckedCreateWithoutEnvironmentInput>;
|
|
695
|
-
};
|
|
696
|
-
export type AccountCreateManyEnvironmentInputEnvelope = {
|
|
697
|
-
data: Prisma.AccountCreateManyEnvironmentInput | Prisma.AccountCreateManyEnvironmentInput[];
|
|
698
|
-
skipDuplicates?: boolean;
|
|
699
|
-
};
|
|
700
|
-
export type AccountUpsertWithWhereUniqueWithoutEnvironmentInput = {
|
|
701
|
-
where: Prisma.AccountWhereUniqueInput;
|
|
702
|
-
update: Prisma.XOR<Prisma.AccountUpdateWithoutEnvironmentInput, Prisma.AccountUncheckedUpdateWithoutEnvironmentInput>;
|
|
703
|
-
create: Prisma.XOR<Prisma.AccountCreateWithoutEnvironmentInput, Prisma.AccountUncheckedCreateWithoutEnvironmentInput>;
|
|
704
|
-
};
|
|
705
|
-
export type AccountUpdateWithWhereUniqueWithoutEnvironmentInput = {
|
|
706
|
-
where: Prisma.AccountWhereUniqueInput;
|
|
707
|
-
data: Prisma.XOR<Prisma.AccountUpdateWithoutEnvironmentInput, Prisma.AccountUncheckedUpdateWithoutEnvironmentInput>;
|
|
708
|
-
};
|
|
709
|
-
export type AccountUpdateManyWithWhereWithoutEnvironmentInput = {
|
|
710
|
-
where: Prisma.AccountScalarWhereInput;
|
|
711
|
-
data: Prisma.XOR<Prisma.AccountUpdateManyMutationInput, Prisma.AccountUncheckedUpdateManyWithoutEnvironmentInput>;
|
|
712
542
|
};
|
|
713
543
|
export type AccountCreateManyUserInput = {
|
|
714
544
|
id: string;
|
|
@@ -723,9 +553,6 @@ export type AccountCreateManyUserInput = {
|
|
|
723
553
|
password?: string | null;
|
|
724
554
|
createdAt?: Date | string;
|
|
725
555
|
updatedAt?: Date | string;
|
|
726
|
-
environmentId?: string | null;
|
|
727
|
-
organizationExternalId?: string | null;
|
|
728
|
-
connectionConfig?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
729
556
|
};
|
|
730
557
|
export type AccountUpdateWithoutUserInput = {
|
|
731
558
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -740,9 +567,6 @@ export type AccountUpdateWithoutUserInput = {
|
|
|
740
567
|
password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
741
568
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
742
569
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
743
|
-
organizationExternalId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
744
|
-
connectionConfig?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
745
|
-
environment?: Prisma.EnvironmentUpdateOneWithoutAccountsNestedInput;
|
|
746
570
|
};
|
|
747
571
|
export type AccountUncheckedUpdateWithoutUserInput = {
|
|
748
572
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -757,9 +581,6 @@ export type AccountUncheckedUpdateWithoutUserInput = {
|
|
|
757
581
|
password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
758
582
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
759
583
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
760
|
-
environmentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
761
|
-
organizationExternalId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
762
|
-
connectionConfig?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
763
584
|
};
|
|
764
585
|
export type AccountUncheckedUpdateManyWithoutUserInput = {
|
|
765
586
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -774,77 +595,6 @@ export type AccountUncheckedUpdateManyWithoutUserInput = {
|
|
|
774
595
|
password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
775
596
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
776
597
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
777
|
-
environmentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
778
|
-
organizationExternalId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
779
|
-
connectionConfig?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
780
|
-
};
|
|
781
|
-
export type AccountCreateManyEnvironmentInput = {
|
|
782
|
-
id: string;
|
|
783
|
-
accountId: string;
|
|
784
|
-
providerId: string;
|
|
785
|
-
userId?: string | null;
|
|
786
|
-
accessToken?: string | null;
|
|
787
|
-
refreshToken?: string | null;
|
|
788
|
-
idToken?: string | null;
|
|
789
|
-
accessTokenExpiresAt?: Date | string | null;
|
|
790
|
-
refreshTokenExpiresAt?: Date | string | null;
|
|
791
|
-
scope?: string | null;
|
|
792
|
-
password?: string | null;
|
|
793
|
-
createdAt?: Date | string;
|
|
794
|
-
updatedAt?: Date | string;
|
|
795
|
-
organizationExternalId?: string | null;
|
|
796
|
-
connectionConfig?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
797
|
-
};
|
|
798
|
-
export type AccountUpdateWithoutEnvironmentInput = {
|
|
799
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
800
|
-
accountId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
801
|
-
providerId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
802
|
-
accessToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
803
|
-
refreshToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
804
|
-
idToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
805
|
-
accessTokenExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
806
|
-
refreshTokenExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
807
|
-
scope?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
808
|
-
password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
809
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
810
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
811
|
-
organizationExternalId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
812
|
-
connectionConfig?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
813
|
-
user?: Prisma.UserUpdateOneWithoutAccountsNestedInput;
|
|
814
|
-
};
|
|
815
|
-
export type AccountUncheckedUpdateWithoutEnvironmentInput = {
|
|
816
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
817
|
-
accountId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
818
|
-
providerId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
819
|
-
userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
820
|
-
accessToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
821
|
-
refreshToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
822
|
-
idToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
823
|
-
accessTokenExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
824
|
-
refreshTokenExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
825
|
-
scope?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
826
|
-
password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
827
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
828
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
829
|
-
organizationExternalId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
830
|
-
connectionConfig?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
831
|
-
};
|
|
832
|
-
export type AccountUncheckedUpdateManyWithoutEnvironmentInput = {
|
|
833
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
834
|
-
accountId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
835
|
-
providerId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
836
|
-
userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
837
|
-
accessToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
838
|
-
refreshToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
839
|
-
idToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
840
|
-
accessTokenExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
841
|
-
refreshTokenExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
842
|
-
scope?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
843
|
-
password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
844
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
845
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
846
|
-
organizationExternalId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
847
|
-
connectionConfig?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
848
598
|
};
|
|
849
599
|
export type AccountSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
850
600
|
id?: boolean;
|
|
@@ -860,11 +610,7 @@ export type AccountSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs
|
|
|
860
610
|
password?: boolean;
|
|
861
611
|
createdAt?: boolean;
|
|
862
612
|
updatedAt?: boolean;
|
|
863
|
-
|
|
864
|
-
organizationExternalId?: boolean;
|
|
865
|
-
connectionConfig?: boolean;
|
|
866
|
-
user?: boolean | Prisma.Account$userArgs<ExtArgs>;
|
|
867
|
-
environment?: boolean | Prisma.Account$environmentArgs<ExtArgs>;
|
|
613
|
+
user?: boolean | Prisma.UserDefaultArgs<ExtArgs>;
|
|
868
614
|
}, ExtArgs["result"]["account"]>;
|
|
869
615
|
export type AccountSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
870
616
|
id?: boolean;
|
|
@@ -880,11 +626,7 @@ export type AccountSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Exten
|
|
|
880
626
|
password?: boolean;
|
|
881
627
|
createdAt?: boolean;
|
|
882
628
|
updatedAt?: boolean;
|
|
883
|
-
|
|
884
|
-
organizationExternalId?: boolean;
|
|
885
|
-
connectionConfig?: boolean;
|
|
886
|
-
user?: boolean | Prisma.Account$userArgs<ExtArgs>;
|
|
887
|
-
environment?: boolean | Prisma.Account$environmentArgs<ExtArgs>;
|
|
629
|
+
user?: boolean | Prisma.UserDefaultArgs<ExtArgs>;
|
|
888
630
|
}, ExtArgs["result"]["account"]>;
|
|
889
631
|
export type AccountSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
890
632
|
id?: boolean;
|
|
@@ -900,11 +642,7 @@ export type AccountSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Exten
|
|
|
900
642
|
password?: boolean;
|
|
901
643
|
createdAt?: boolean;
|
|
902
644
|
updatedAt?: boolean;
|
|
903
|
-
|
|
904
|
-
organizationExternalId?: boolean;
|
|
905
|
-
connectionConfig?: boolean;
|
|
906
|
-
user?: boolean | Prisma.Account$userArgs<ExtArgs>;
|
|
907
|
-
environment?: boolean | Prisma.Account$environmentArgs<ExtArgs>;
|
|
645
|
+
user?: boolean | Prisma.UserDefaultArgs<ExtArgs>;
|
|
908
646
|
}, ExtArgs["result"]["account"]>;
|
|
909
647
|
export type AccountSelectScalar = {
|
|
910
648
|
id?: boolean;
|
|
@@ -920,34 +658,27 @@ export type AccountSelectScalar = {
|
|
|
920
658
|
password?: boolean;
|
|
921
659
|
createdAt?: boolean;
|
|
922
660
|
updatedAt?: boolean;
|
|
923
|
-
environmentId?: boolean;
|
|
924
|
-
organizationExternalId?: boolean;
|
|
925
|
-
connectionConfig?: boolean;
|
|
926
661
|
};
|
|
927
|
-
export type AccountOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "accountId" | "providerId" | "userId" | "accessToken" | "refreshToken" | "idToken" | "accessTokenExpiresAt" | "refreshTokenExpiresAt" | "scope" | "password" | "createdAt" | "updatedAt"
|
|
662
|
+
export type AccountOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "accountId" | "providerId" | "userId" | "accessToken" | "refreshToken" | "idToken" | "accessTokenExpiresAt" | "refreshTokenExpiresAt" | "scope" | "password" | "createdAt" | "updatedAt", ExtArgs["result"]["account"]>;
|
|
928
663
|
export type AccountInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
929
|
-
user?: boolean | Prisma.
|
|
930
|
-
environment?: boolean | Prisma.Account$environmentArgs<ExtArgs>;
|
|
664
|
+
user?: boolean | Prisma.UserDefaultArgs<ExtArgs>;
|
|
931
665
|
};
|
|
932
666
|
export type AccountIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
933
|
-
user?: boolean | Prisma.
|
|
934
|
-
environment?: boolean | Prisma.Account$environmentArgs<ExtArgs>;
|
|
667
|
+
user?: boolean | Prisma.UserDefaultArgs<ExtArgs>;
|
|
935
668
|
};
|
|
936
669
|
export type AccountIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
937
|
-
user?: boolean | Prisma.
|
|
938
|
-
environment?: boolean | Prisma.Account$environmentArgs<ExtArgs>;
|
|
670
|
+
user?: boolean | Prisma.UserDefaultArgs<ExtArgs>;
|
|
939
671
|
};
|
|
940
672
|
export type $AccountPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
941
673
|
name: "Account";
|
|
942
674
|
objects: {
|
|
943
|
-
user: Prisma.$UserPayload<ExtArgs
|
|
944
|
-
environment: Prisma.$EnvironmentPayload<ExtArgs> | null;
|
|
675
|
+
user: Prisma.$UserPayload<ExtArgs>;
|
|
945
676
|
};
|
|
946
677
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
947
678
|
id: string;
|
|
948
679
|
accountId: string;
|
|
949
680
|
providerId: string;
|
|
950
|
-
userId: string
|
|
681
|
+
userId: string;
|
|
951
682
|
accessToken: string | null;
|
|
952
683
|
refreshToken: string | null;
|
|
953
684
|
idToken: string | null;
|
|
@@ -957,15 +688,6 @@ export type $AccountPayload<ExtArgs extends runtime.Types.Extensions.InternalArg
|
|
|
957
688
|
password: string | null;
|
|
958
689
|
createdAt: Date;
|
|
959
690
|
updatedAt: Date;
|
|
960
|
-
environmentId: string | null;
|
|
961
|
-
organizationExternalId: string | null;
|
|
962
|
-
/**
|
|
963
|
-
* Per-connection provider parameters, for providers that need any: the
|
|
964
|
-
* Jira site, the Zendesk subdomain. Non-secret, and held on the connection
|
|
965
|
-
* rather than on the configuration because one OAuth app serves every
|
|
966
|
-
* tenant. Null on a Kosha login, like every other column here.
|
|
967
|
-
*/
|
|
968
|
-
connectionConfig: runtime.JsonValue | null;
|
|
969
691
|
}, ExtArgs["result"]["account"]>;
|
|
970
692
|
composites: {};
|
|
971
693
|
};
|
|
@@ -1295,8 +1017,7 @@ export interface AccountDelegate<ExtArgs extends runtime.Types.Extensions.Intern
|
|
|
1295
1017
|
*/
|
|
1296
1018
|
export interface Prisma__AccountClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
1297
1019
|
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
1298
|
-
user<T extends Prisma.
|
|
1299
|
-
environment<T extends Prisma.Account$environmentArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Account$environmentArgs<ExtArgs>>): Prisma.Prisma__EnvironmentClient<runtime.Types.Result.GetResult<Prisma.$EnvironmentPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
1020
|
+
user<T extends Prisma.UserDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.UserDefaultArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
|
|
1300
1021
|
/**
|
|
1301
1022
|
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
1302
1023
|
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
@@ -1335,9 +1056,6 @@ export interface AccountFieldRefs {
|
|
|
1335
1056
|
readonly password: Prisma.FieldRef<"Account", 'String'>;
|
|
1336
1057
|
readonly createdAt: Prisma.FieldRef<"Account", 'DateTime'>;
|
|
1337
1058
|
readonly updatedAt: Prisma.FieldRef<"Account", 'DateTime'>;
|
|
1338
|
-
readonly environmentId: Prisma.FieldRef<"Account", 'String'>;
|
|
1339
|
-
readonly organizationExternalId: Prisma.FieldRef<"Account", 'String'>;
|
|
1340
|
-
readonly connectionConfig: Prisma.FieldRef<"Account", 'Json'>;
|
|
1341
1059
|
}
|
|
1342
1060
|
/**
|
|
1343
1061
|
* Account findUnique
|
|
@@ -1721,42 +1439,6 @@ export type AccountDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.Inter
|
|
|
1721
1439
|
*/
|
|
1722
1440
|
limit?: number;
|
|
1723
1441
|
};
|
|
1724
|
-
/**
|
|
1725
|
-
* Account.user
|
|
1726
|
-
*/
|
|
1727
|
-
export type Account$userArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1728
|
-
/**
|
|
1729
|
-
* Select specific fields to fetch from the User
|
|
1730
|
-
*/
|
|
1731
|
-
select?: Prisma.UserSelect<ExtArgs> | null;
|
|
1732
|
-
/**
|
|
1733
|
-
* Omit specific fields from the User
|
|
1734
|
-
*/
|
|
1735
|
-
omit?: Prisma.UserOmit<ExtArgs> | null;
|
|
1736
|
-
/**
|
|
1737
|
-
* Choose, which related nodes to fetch as well
|
|
1738
|
-
*/
|
|
1739
|
-
include?: Prisma.UserInclude<ExtArgs> | null;
|
|
1740
|
-
where?: Prisma.UserWhereInput;
|
|
1741
|
-
};
|
|
1742
|
-
/**
|
|
1743
|
-
* Account.environment
|
|
1744
|
-
*/
|
|
1745
|
-
export type Account$environmentArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1746
|
-
/**
|
|
1747
|
-
* Select specific fields to fetch from the Environment
|
|
1748
|
-
*/
|
|
1749
|
-
select?: Prisma.EnvironmentSelect<ExtArgs> | null;
|
|
1750
|
-
/**
|
|
1751
|
-
* Omit specific fields from the Environment
|
|
1752
|
-
*/
|
|
1753
|
-
omit?: Prisma.EnvironmentOmit<ExtArgs> | null;
|
|
1754
|
-
/**
|
|
1755
|
-
* Choose, which related nodes to fetch as well
|
|
1756
|
-
*/
|
|
1757
|
-
include?: Prisma.EnvironmentInclude<ExtArgs> | null;
|
|
1758
|
-
where?: Prisma.EnvironmentWhereInput;
|
|
1759
|
-
};
|
|
1760
1442
|
/**
|
|
1761
1443
|
* Account without action
|
|
1762
1444
|
*/
|