@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.
- 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 +29 -35
- package/dist/configurations/configurations.service.d.ts.map +1 -1
- package/dist/configurations/configurations.service.js +126 -149
- package/dist/configurations/dto/create-configuration.dto.d.ts +2 -2
- package/dist/configurations/dto/create-configuration.dto.d.ts.map +1 -1
- package/dist/configurations/dto/create-configuration.dto.js +6 -6
- package/dist/configurations/dto/update-configuration.dto.d.ts +1 -2
- package/dist/configurations/dto/update-configuration.dto.d.ts.map +1 -1
- package/dist/configurations/dto/update-configuration.dto.js +7 -13
- package/dist/connect/connect.controller.d.ts +12 -2
- package/dist/connect/connect.controller.d.ts.map +1 -1
- package/dist/connect/connect.controller.js +108 -18
- 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 +34 -25
- package/dist/connect/connect.repository.d.ts.map +1 -1
- package/dist/connect/connect.repository.js +45 -52
- package/dist/connect/connect.service.d.ts +54 -8
- package/dist/connect/connect.service.d.ts.map +1 -1
- package/dist/connect/connect.service.js +312 -68
- package/dist/connect/dto/connect-credential.dto.d.ts +8 -0
- package/dist/connect/dto/connect-credential.dto.d.ts.map +1 -0
- package/dist/connect/dto/connect-credential.dto.js +54 -0
- 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 +8 -0
- package/dist/connect/dto/create-test-session.dto.d.ts.map +1 -1
- package/dist/connect/dto/create-test-session.dto.js +45 -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 +14 -4
- package/dist/credentials/credentials.service.d.ts.map +1 -1
- package/dist/credentials/credentials.service.js +106 -30
- package/dist/crypto/credential-envelope.d.ts +27 -1
- package/dist/crypto/credential-envelope.d.ts.map +1 -1
- package/dist/crypto/credential-envelope.js +43 -0
- 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/client-context.d.ts +20 -0
- package/dist/integrations/client-context.d.ts.map +1 -0
- package/dist/integrations/client-context.js +23 -0
- package/dist/integrations/integrations.controller.d.ts +6 -0
- package/dist/integrations/integrations.controller.d.ts.map +1 -1
- package/dist/integrations/integrations.controller.js +3 -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 +110 -0
- package/dist/integrations/provider-store.d.ts.map +1 -0
- package/dist/integrations/provider-store.js +302 -0
- package/dist/proxy/proxy.controller.d.ts +17 -5
- package/dist/proxy/proxy.controller.d.ts.map +1 -1
- package/dist/proxy/proxy.controller.js +46 -17
- 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 +72 -31
- 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
|
@@ -18,7 +18,6 @@ export type UserMinAggregateOutputType = {
|
|
|
18
18
|
image: string | null;
|
|
19
19
|
createdAt: Date | null;
|
|
20
20
|
updatedAt: Date | null;
|
|
21
|
-
externalId: string | null;
|
|
22
21
|
};
|
|
23
22
|
export type UserMaxAggregateOutputType = {
|
|
24
23
|
id: string | null;
|
|
@@ -28,7 +27,6 @@ export type UserMaxAggregateOutputType = {
|
|
|
28
27
|
image: string | null;
|
|
29
28
|
createdAt: Date | null;
|
|
30
29
|
updatedAt: Date | null;
|
|
31
|
-
externalId: string | null;
|
|
32
30
|
};
|
|
33
31
|
export type UserCountAggregateOutputType = {
|
|
34
32
|
id: number;
|
|
@@ -38,7 +36,6 @@ export type UserCountAggregateOutputType = {
|
|
|
38
36
|
image: number;
|
|
39
37
|
createdAt: number;
|
|
40
38
|
updatedAt: number;
|
|
41
|
-
externalId: number;
|
|
42
39
|
_all: number;
|
|
43
40
|
};
|
|
44
41
|
export type UserMinAggregateInputType = {
|
|
@@ -49,7 +46,6 @@ export type UserMinAggregateInputType = {
|
|
|
49
46
|
image?: true;
|
|
50
47
|
createdAt?: true;
|
|
51
48
|
updatedAt?: true;
|
|
52
|
-
externalId?: true;
|
|
53
49
|
};
|
|
54
50
|
export type UserMaxAggregateInputType = {
|
|
55
51
|
id?: true;
|
|
@@ -59,7 +55,6 @@ export type UserMaxAggregateInputType = {
|
|
|
59
55
|
image?: true;
|
|
60
56
|
createdAt?: true;
|
|
61
57
|
updatedAt?: true;
|
|
62
|
-
externalId?: true;
|
|
63
58
|
};
|
|
64
59
|
export type UserCountAggregateInputType = {
|
|
65
60
|
id?: true;
|
|
@@ -69,7 +64,6 @@ export type UserCountAggregateInputType = {
|
|
|
69
64
|
image?: true;
|
|
70
65
|
createdAt?: true;
|
|
71
66
|
updatedAt?: true;
|
|
72
|
-
externalId?: true;
|
|
73
67
|
_all?: true;
|
|
74
68
|
};
|
|
75
69
|
export type UserAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
@@ -142,7 +136,6 @@ export type UserGroupByOutputType = {
|
|
|
142
136
|
image: string | null;
|
|
143
137
|
createdAt: Date;
|
|
144
138
|
updatedAt: Date;
|
|
145
|
-
externalId: string | null;
|
|
146
139
|
_count: UserCountAggregateOutputType | null;
|
|
147
140
|
_min: UserMinAggregateOutputType | null;
|
|
148
141
|
_max: UserMaxAggregateOutputType | null;
|
|
@@ -161,7 +154,6 @@ export type UserWhereInput = {
|
|
|
161
154
|
image?: Prisma.StringNullableFilter<"User"> | string | null;
|
|
162
155
|
createdAt?: Prisma.DateTimeFilter<"User"> | Date | string;
|
|
163
156
|
updatedAt?: Prisma.DateTimeFilter<"User"> | Date | string;
|
|
164
|
-
externalId?: Prisma.StringNullableFilter<"User"> | string | null;
|
|
165
157
|
sessions?: Prisma.SessionListRelationFilter;
|
|
166
158
|
accounts?: Prisma.AccountListRelationFilter;
|
|
167
159
|
members?: Prisma.MemberListRelationFilter;
|
|
@@ -177,7 +169,6 @@ export type UserOrderByWithRelationInput = {
|
|
|
177
169
|
image?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
178
170
|
createdAt?: Prisma.SortOrder;
|
|
179
171
|
updatedAt?: Prisma.SortOrder;
|
|
180
|
-
externalId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
181
172
|
sessions?: Prisma.SessionOrderByRelationAggregateInput;
|
|
182
173
|
accounts?: Prisma.AccountOrderByRelationAggregateInput;
|
|
183
174
|
members?: Prisma.MemberOrderByRelationAggregateInput;
|
|
@@ -196,7 +187,6 @@ export type UserWhereUniqueInput = Prisma.AtLeast<{
|
|
|
196
187
|
image?: Prisma.StringNullableFilter<"User"> | string | null;
|
|
197
188
|
createdAt?: Prisma.DateTimeFilter<"User"> | Date | string;
|
|
198
189
|
updatedAt?: Prisma.DateTimeFilter<"User"> | Date | string;
|
|
199
|
-
externalId?: Prisma.StringNullableFilter<"User"> | string | null;
|
|
200
190
|
sessions?: Prisma.SessionListRelationFilter;
|
|
201
191
|
accounts?: Prisma.AccountListRelationFilter;
|
|
202
192
|
members?: Prisma.MemberListRelationFilter;
|
|
@@ -212,7 +202,6 @@ export type UserOrderByWithAggregationInput = {
|
|
|
212
202
|
image?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
213
203
|
createdAt?: Prisma.SortOrder;
|
|
214
204
|
updatedAt?: Prisma.SortOrder;
|
|
215
|
-
externalId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
216
205
|
_count?: Prisma.UserCountOrderByAggregateInput;
|
|
217
206
|
_max?: Prisma.UserMaxOrderByAggregateInput;
|
|
218
207
|
_min?: Prisma.UserMinOrderByAggregateInput;
|
|
@@ -228,7 +217,6 @@ export type UserScalarWhereWithAggregatesInput = {
|
|
|
228
217
|
image?: Prisma.StringNullableWithAggregatesFilter<"User"> | string | null;
|
|
229
218
|
createdAt?: Prisma.DateTimeWithAggregatesFilter<"User"> | Date | string;
|
|
230
219
|
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"User"> | Date | string;
|
|
231
|
-
externalId?: Prisma.StringNullableWithAggregatesFilter<"User"> | string | null;
|
|
232
220
|
};
|
|
233
221
|
export type UserCreateInput = {
|
|
234
222
|
id?: string;
|
|
@@ -238,7 +226,6 @@ export type UserCreateInput = {
|
|
|
238
226
|
image?: string | null;
|
|
239
227
|
createdAt?: Date | string;
|
|
240
228
|
updatedAt?: Date | string;
|
|
241
|
-
externalId?: string | null;
|
|
242
229
|
sessions?: Prisma.SessionCreateNestedManyWithoutUserInput;
|
|
243
230
|
accounts?: Prisma.AccountCreateNestedManyWithoutUserInput;
|
|
244
231
|
members?: Prisma.MemberCreateNestedManyWithoutUserInput;
|
|
@@ -254,7 +241,6 @@ export type UserUncheckedCreateInput = {
|
|
|
254
241
|
image?: string | null;
|
|
255
242
|
createdAt?: Date | string;
|
|
256
243
|
updatedAt?: Date | string;
|
|
257
|
-
externalId?: string | null;
|
|
258
244
|
sessions?: Prisma.SessionUncheckedCreateNestedManyWithoutUserInput;
|
|
259
245
|
accounts?: Prisma.AccountUncheckedCreateNestedManyWithoutUserInput;
|
|
260
246
|
members?: Prisma.MemberUncheckedCreateNestedManyWithoutUserInput;
|
|
@@ -270,7 +256,6 @@ export type UserUpdateInput = {
|
|
|
270
256
|
image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
271
257
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
272
258
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
273
|
-
externalId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
274
259
|
sessions?: Prisma.SessionUpdateManyWithoutUserNestedInput;
|
|
275
260
|
accounts?: Prisma.AccountUpdateManyWithoutUserNestedInput;
|
|
276
261
|
members?: Prisma.MemberUpdateManyWithoutUserNestedInput;
|
|
@@ -286,7 +271,6 @@ export type UserUncheckedUpdateInput = {
|
|
|
286
271
|
image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
287
272
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
288
273
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
289
|
-
externalId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
290
274
|
sessions?: Prisma.SessionUncheckedUpdateManyWithoutUserNestedInput;
|
|
291
275
|
accounts?: Prisma.AccountUncheckedUpdateManyWithoutUserNestedInput;
|
|
292
276
|
members?: Prisma.MemberUncheckedUpdateManyWithoutUserNestedInput;
|
|
@@ -302,7 +286,6 @@ export type UserCreateManyInput = {
|
|
|
302
286
|
image?: string | null;
|
|
303
287
|
createdAt?: Date | string;
|
|
304
288
|
updatedAt?: Date | string;
|
|
305
|
-
externalId?: string | null;
|
|
306
289
|
};
|
|
307
290
|
export type UserUpdateManyMutationInput = {
|
|
308
291
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -312,7 +295,6 @@ export type UserUpdateManyMutationInput = {
|
|
|
312
295
|
image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
313
296
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
314
297
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
315
|
-
externalId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
316
298
|
};
|
|
317
299
|
export type UserUncheckedUpdateManyInput = {
|
|
318
300
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -322,7 +304,6 @@ export type UserUncheckedUpdateManyInput = {
|
|
|
322
304
|
image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
323
305
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
324
306
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
325
|
-
externalId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
326
307
|
};
|
|
327
308
|
export type UserCountOrderByAggregateInput = {
|
|
328
309
|
id?: Prisma.SortOrder;
|
|
@@ -332,7 +313,6 @@ export type UserCountOrderByAggregateInput = {
|
|
|
332
313
|
image?: Prisma.SortOrder;
|
|
333
314
|
createdAt?: Prisma.SortOrder;
|
|
334
315
|
updatedAt?: Prisma.SortOrder;
|
|
335
|
-
externalId?: Prisma.SortOrder;
|
|
336
316
|
};
|
|
337
317
|
export type UserMaxOrderByAggregateInput = {
|
|
338
318
|
id?: Prisma.SortOrder;
|
|
@@ -342,7 +322,6 @@ export type UserMaxOrderByAggregateInput = {
|
|
|
342
322
|
image?: Prisma.SortOrder;
|
|
343
323
|
createdAt?: Prisma.SortOrder;
|
|
344
324
|
updatedAt?: Prisma.SortOrder;
|
|
345
|
-
externalId?: Prisma.SortOrder;
|
|
346
325
|
};
|
|
347
326
|
export type UserMinOrderByAggregateInput = {
|
|
348
327
|
id?: Prisma.SortOrder;
|
|
@@ -352,16 +331,11 @@ export type UserMinOrderByAggregateInput = {
|
|
|
352
331
|
image?: Prisma.SortOrder;
|
|
353
332
|
createdAt?: Prisma.SortOrder;
|
|
354
333
|
updatedAt?: Prisma.SortOrder;
|
|
355
|
-
externalId?: Prisma.SortOrder;
|
|
356
334
|
};
|
|
357
335
|
export type UserScalarRelationFilter = {
|
|
358
336
|
is?: Prisma.UserWhereInput;
|
|
359
337
|
isNot?: Prisma.UserWhereInput;
|
|
360
338
|
};
|
|
361
|
-
export type UserNullableScalarRelationFilter = {
|
|
362
|
-
is?: Prisma.UserWhereInput | null;
|
|
363
|
-
isNot?: Prisma.UserWhereInput | null;
|
|
364
|
-
};
|
|
365
339
|
export type StringFieldUpdateOperationsInput = {
|
|
366
340
|
set?: string;
|
|
367
341
|
};
|
|
@@ -391,12 +365,10 @@ export type UserCreateNestedOneWithoutAccountsInput = {
|
|
|
391
365
|
connectOrCreate?: Prisma.UserCreateOrConnectWithoutAccountsInput;
|
|
392
366
|
connect?: Prisma.UserWhereUniqueInput;
|
|
393
367
|
};
|
|
394
|
-
export type
|
|
368
|
+
export type UserUpdateOneRequiredWithoutAccountsNestedInput = {
|
|
395
369
|
create?: Prisma.XOR<Prisma.UserCreateWithoutAccountsInput, Prisma.UserUncheckedCreateWithoutAccountsInput>;
|
|
396
370
|
connectOrCreate?: Prisma.UserCreateOrConnectWithoutAccountsInput;
|
|
397
371
|
upsert?: Prisma.UserUpsertWithoutAccountsInput;
|
|
398
|
-
disconnect?: Prisma.UserWhereInput | boolean;
|
|
399
|
-
delete?: Prisma.UserWhereInput | boolean;
|
|
400
372
|
connect?: Prisma.UserWhereUniqueInput;
|
|
401
373
|
update?: Prisma.XOR<Prisma.XOR<Prisma.UserUpdateToOneWithWhereWithoutAccountsInput, Prisma.UserUpdateWithoutAccountsInput>, Prisma.UserUncheckedUpdateWithoutAccountsInput>;
|
|
402
374
|
};
|
|
@@ -456,7 +428,6 @@ export type UserCreateWithoutSessionsInput = {
|
|
|
456
428
|
image?: string | null;
|
|
457
429
|
createdAt?: Date | string;
|
|
458
430
|
updatedAt?: Date | string;
|
|
459
|
-
externalId?: string | null;
|
|
460
431
|
accounts?: Prisma.AccountCreateNestedManyWithoutUserInput;
|
|
461
432
|
members?: Prisma.MemberCreateNestedManyWithoutUserInput;
|
|
462
433
|
invitations?: Prisma.InvitationCreateNestedManyWithoutUserInput;
|
|
@@ -471,7 +442,6 @@ export type UserUncheckedCreateWithoutSessionsInput = {
|
|
|
471
442
|
image?: string | null;
|
|
472
443
|
createdAt?: Date | string;
|
|
473
444
|
updatedAt?: Date | string;
|
|
474
|
-
externalId?: string | null;
|
|
475
445
|
accounts?: Prisma.AccountUncheckedCreateNestedManyWithoutUserInput;
|
|
476
446
|
members?: Prisma.MemberUncheckedCreateNestedManyWithoutUserInput;
|
|
477
447
|
invitations?: Prisma.InvitationUncheckedCreateNestedManyWithoutUserInput;
|
|
@@ -499,7 +469,6 @@ export type UserUpdateWithoutSessionsInput = {
|
|
|
499
469
|
image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
500
470
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
501
471
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
502
|
-
externalId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
503
472
|
accounts?: Prisma.AccountUpdateManyWithoutUserNestedInput;
|
|
504
473
|
members?: Prisma.MemberUpdateManyWithoutUserNestedInput;
|
|
505
474
|
invitations?: Prisma.InvitationUpdateManyWithoutUserNestedInput;
|
|
@@ -514,7 +483,6 @@ export type UserUncheckedUpdateWithoutSessionsInput = {
|
|
|
514
483
|
image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
515
484
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
516
485
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
517
|
-
externalId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
518
486
|
accounts?: Prisma.AccountUncheckedUpdateManyWithoutUserNestedInput;
|
|
519
487
|
members?: Prisma.MemberUncheckedUpdateManyWithoutUserNestedInput;
|
|
520
488
|
invitations?: Prisma.InvitationUncheckedUpdateManyWithoutUserNestedInput;
|
|
@@ -529,7 +497,6 @@ export type UserCreateWithoutAccountsInput = {
|
|
|
529
497
|
image?: string | null;
|
|
530
498
|
createdAt?: Date | string;
|
|
531
499
|
updatedAt?: Date | string;
|
|
532
|
-
externalId?: string | null;
|
|
533
500
|
sessions?: Prisma.SessionCreateNestedManyWithoutUserInput;
|
|
534
501
|
members?: Prisma.MemberCreateNestedManyWithoutUserInput;
|
|
535
502
|
invitations?: Prisma.InvitationCreateNestedManyWithoutUserInput;
|
|
@@ -544,7 +511,6 @@ export type UserUncheckedCreateWithoutAccountsInput = {
|
|
|
544
511
|
image?: string | null;
|
|
545
512
|
createdAt?: Date | string;
|
|
546
513
|
updatedAt?: Date | string;
|
|
547
|
-
externalId?: string | null;
|
|
548
514
|
sessions?: Prisma.SessionUncheckedCreateNestedManyWithoutUserInput;
|
|
549
515
|
members?: Prisma.MemberUncheckedCreateNestedManyWithoutUserInput;
|
|
550
516
|
invitations?: Prisma.InvitationUncheckedCreateNestedManyWithoutUserInput;
|
|
@@ -572,7 +538,6 @@ export type UserUpdateWithoutAccountsInput = {
|
|
|
572
538
|
image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
573
539
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
574
540
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
575
|
-
externalId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
576
541
|
sessions?: Prisma.SessionUpdateManyWithoutUserNestedInput;
|
|
577
542
|
members?: Prisma.MemberUpdateManyWithoutUserNestedInput;
|
|
578
543
|
invitations?: Prisma.InvitationUpdateManyWithoutUserNestedInput;
|
|
@@ -587,7 +552,6 @@ export type UserUncheckedUpdateWithoutAccountsInput = {
|
|
|
587
552
|
image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
588
553
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
589
554
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
590
|
-
externalId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
591
555
|
sessions?: Prisma.SessionUncheckedUpdateManyWithoutUserNestedInput;
|
|
592
556
|
members?: Prisma.MemberUncheckedUpdateManyWithoutUserNestedInput;
|
|
593
557
|
invitations?: Prisma.InvitationUncheckedUpdateManyWithoutUserNestedInput;
|
|
@@ -602,7 +566,6 @@ export type UserCreateWithoutMembersInput = {
|
|
|
602
566
|
image?: string | null;
|
|
603
567
|
createdAt?: Date | string;
|
|
604
568
|
updatedAt?: Date | string;
|
|
605
|
-
externalId?: string | null;
|
|
606
569
|
sessions?: Prisma.SessionCreateNestedManyWithoutUserInput;
|
|
607
570
|
accounts?: Prisma.AccountCreateNestedManyWithoutUserInput;
|
|
608
571
|
invitations?: Prisma.InvitationCreateNestedManyWithoutUserInput;
|
|
@@ -617,7 +580,6 @@ export type UserUncheckedCreateWithoutMembersInput = {
|
|
|
617
580
|
image?: string | null;
|
|
618
581
|
createdAt?: Date | string;
|
|
619
582
|
updatedAt?: Date | string;
|
|
620
|
-
externalId?: string | null;
|
|
621
583
|
sessions?: Prisma.SessionUncheckedCreateNestedManyWithoutUserInput;
|
|
622
584
|
accounts?: Prisma.AccountUncheckedCreateNestedManyWithoutUserInput;
|
|
623
585
|
invitations?: Prisma.InvitationUncheckedCreateNestedManyWithoutUserInput;
|
|
@@ -645,7 +607,6 @@ export type UserUpdateWithoutMembersInput = {
|
|
|
645
607
|
image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
646
608
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
647
609
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
648
|
-
externalId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
649
610
|
sessions?: Prisma.SessionUpdateManyWithoutUserNestedInput;
|
|
650
611
|
accounts?: Prisma.AccountUpdateManyWithoutUserNestedInput;
|
|
651
612
|
invitations?: Prisma.InvitationUpdateManyWithoutUserNestedInput;
|
|
@@ -660,7 +621,6 @@ export type UserUncheckedUpdateWithoutMembersInput = {
|
|
|
660
621
|
image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
661
622
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
662
623
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
663
|
-
externalId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
664
624
|
sessions?: Prisma.SessionUncheckedUpdateManyWithoutUserNestedInput;
|
|
665
625
|
accounts?: Prisma.AccountUncheckedUpdateManyWithoutUserNestedInput;
|
|
666
626
|
invitations?: Prisma.InvitationUncheckedUpdateManyWithoutUserNestedInput;
|
|
@@ -675,7 +635,6 @@ export type UserCreateWithoutInvitationsInput = {
|
|
|
675
635
|
image?: string | null;
|
|
676
636
|
createdAt?: Date | string;
|
|
677
637
|
updatedAt?: Date | string;
|
|
678
|
-
externalId?: string | null;
|
|
679
638
|
sessions?: Prisma.SessionCreateNestedManyWithoutUserInput;
|
|
680
639
|
accounts?: Prisma.AccountCreateNestedManyWithoutUserInput;
|
|
681
640
|
members?: Prisma.MemberCreateNestedManyWithoutUserInput;
|
|
@@ -690,7 +649,6 @@ export type UserUncheckedCreateWithoutInvitationsInput = {
|
|
|
690
649
|
image?: string | null;
|
|
691
650
|
createdAt?: Date | string;
|
|
692
651
|
updatedAt?: Date | string;
|
|
693
|
-
externalId?: string | null;
|
|
694
652
|
sessions?: Prisma.SessionUncheckedCreateNestedManyWithoutUserInput;
|
|
695
653
|
accounts?: Prisma.AccountUncheckedCreateNestedManyWithoutUserInput;
|
|
696
654
|
members?: Prisma.MemberUncheckedCreateNestedManyWithoutUserInput;
|
|
@@ -718,7 +676,6 @@ export type UserUpdateWithoutInvitationsInput = {
|
|
|
718
676
|
image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
719
677
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
720
678
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
721
|
-
externalId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
722
679
|
sessions?: Prisma.SessionUpdateManyWithoutUserNestedInput;
|
|
723
680
|
accounts?: Prisma.AccountUpdateManyWithoutUserNestedInput;
|
|
724
681
|
members?: Prisma.MemberUpdateManyWithoutUserNestedInput;
|
|
@@ -733,7 +690,6 @@ export type UserUncheckedUpdateWithoutInvitationsInput = {
|
|
|
733
690
|
image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
734
691
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
735
692
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
736
|
-
externalId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
737
693
|
sessions?: Prisma.SessionUncheckedUpdateManyWithoutUserNestedInput;
|
|
738
694
|
accounts?: Prisma.AccountUncheckedUpdateManyWithoutUserNestedInput;
|
|
739
695
|
members?: Prisma.MemberUncheckedUpdateManyWithoutUserNestedInput;
|
|
@@ -748,7 +704,6 @@ export type UserCreateWithoutTeamMembersInput = {
|
|
|
748
704
|
image?: string | null;
|
|
749
705
|
createdAt?: Date | string;
|
|
750
706
|
updatedAt?: Date | string;
|
|
751
|
-
externalId?: string | null;
|
|
752
707
|
sessions?: Prisma.SessionCreateNestedManyWithoutUserInput;
|
|
753
708
|
accounts?: Prisma.AccountCreateNestedManyWithoutUserInput;
|
|
754
709
|
members?: Prisma.MemberCreateNestedManyWithoutUserInput;
|
|
@@ -763,7 +718,6 @@ export type UserUncheckedCreateWithoutTeamMembersInput = {
|
|
|
763
718
|
image?: string | null;
|
|
764
719
|
createdAt?: Date | string;
|
|
765
720
|
updatedAt?: Date | string;
|
|
766
|
-
externalId?: string | null;
|
|
767
721
|
sessions?: Prisma.SessionUncheckedCreateNestedManyWithoutUserInput;
|
|
768
722
|
accounts?: Prisma.AccountUncheckedCreateNestedManyWithoutUserInput;
|
|
769
723
|
members?: Prisma.MemberUncheckedCreateNestedManyWithoutUserInput;
|
|
@@ -791,7 +745,6 @@ export type UserUpdateWithoutTeamMembersInput = {
|
|
|
791
745
|
image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
792
746
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
793
747
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
794
|
-
externalId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
795
748
|
sessions?: Prisma.SessionUpdateManyWithoutUserNestedInput;
|
|
796
749
|
accounts?: Prisma.AccountUpdateManyWithoutUserNestedInput;
|
|
797
750
|
members?: Prisma.MemberUpdateManyWithoutUserNestedInput;
|
|
@@ -806,7 +759,6 @@ export type UserUncheckedUpdateWithoutTeamMembersInput = {
|
|
|
806
759
|
image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
807
760
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
808
761
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
809
|
-
externalId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
810
762
|
sessions?: Prisma.SessionUncheckedUpdateManyWithoutUserNestedInput;
|
|
811
763
|
accounts?: Prisma.AccountUncheckedUpdateManyWithoutUserNestedInput;
|
|
812
764
|
members?: Prisma.MemberUncheckedUpdateManyWithoutUserNestedInput;
|
|
@@ -821,7 +773,6 @@ export type UserCreateWithoutEgressGrantsInput = {
|
|
|
821
773
|
image?: string | null;
|
|
822
774
|
createdAt?: Date | string;
|
|
823
775
|
updatedAt?: Date | string;
|
|
824
|
-
externalId?: string | null;
|
|
825
776
|
sessions?: Prisma.SessionCreateNestedManyWithoutUserInput;
|
|
826
777
|
accounts?: Prisma.AccountCreateNestedManyWithoutUserInput;
|
|
827
778
|
members?: Prisma.MemberCreateNestedManyWithoutUserInput;
|
|
@@ -836,7 +787,6 @@ export type UserUncheckedCreateWithoutEgressGrantsInput = {
|
|
|
836
787
|
image?: string | null;
|
|
837
788
|
createdAt?: Date | string;
|
|
838
789
|
updatedAt?: Date | string;
|
|
839
|
-
externalId?: string | null;
|
|
840
790
|
sessions?: Prisma.SessionUncheckedCreateNestedManyWithoutUserInput;
|
|
841
791
|
accounts?: Prisma.AccountUncheckedCreateNestedManyWithoutUserInput;
|
|
842
792
|
members?: Prisma.MemberUncheckedCreateNestedManyWithoutUserInput;
|
|
@@ -864,7 +814,6 @@ export type UserUpdateWithoutEgressGrantsInput = {
|
|
|
864
814
|
image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
865
815
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
866
816
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
867
|
-
externalId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
868
817
|
sessions?: Prisma.SessionUpdateManyWithoutUserNestedInput;
|
|
869
818
|
accounts?: Prisma.AccountUpdateManyWithoutUserNestedInput;
|
|
870
819
|
members?: Prisma.MemberUpdateManyWithoutUserNestedInput;
|
|
@@ -879,7 +828,6 @@ export type UserUncheckedUpdateWithoutEgressGrantsInput = {
|
|
|
879
828
|
image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
880
829
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
881
830
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
882
|
-
externalId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
883
831
|
sessions?: Prisma.SessionUncheckedUpdateManyWithoutUserNestedInput;
|
|
884
832
|
accounts?: Prisma.AccountUncheckedUpdateManyWithoutUserNestedInput;
|
|
885
833
|
members?: Prisma.MemberUncheckedUpdateManyWithoutUserNestedInput;
|
|
@@ -958,7 +906,6 @@ export type UserSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = r
|
|
|
958
906
|
image?: boolean;
|
|
959
907
|
createdAt?: boolean;
|
|
960
908
|
updatedAt?: boolean;
|
|
961
|
-
externalId?: boolean;
|
|
962
909
|
sessions?: boolean | Prisma.User$sessionsArgs<ExtArgs>;
|
|
963
910
|
accounts?: boolean | Prisma.User$accountsArgs<ExtArgs>;
|
|
964
911
|
members?: boolean | Prisma.User$membersArgs<ExtArgs>;
|
|
@@ -975,7 +922,6 @@ export type UserSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensio
|
|
|
975
922
|
image?: boolean;
|
|
976
923
|
createdAt?: boolean;
|
|
977
924
|
updatedAt?: boolean;
|
|
978
|
-
externalId?: boolean;
|
|
979
925
|
}, ExtArgs["result"]["user"]>;
|
|
980
926
|
export type UserSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
981
927
|
id?: boolean;
|
|
@@ -985,7 +931,6 @@ export type UserSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensio
|
|
|
985
931
|
image?: boolean;
|
|
986
932
|
createdAt?: boolean;
|
|
987
933
|
updatedAt?: boolean;
|
|
988
|
-
externalId?: boolean;
|
|
989
934
|
}, ExtArgs["result"]["user"]>;
|
|
990
935
|
export type UserSelectScalar = {
|
|
991
936
|
id?: boolean;
|
|
@@ -995,9 +940,8 @@ export type UserSelectScalar = {
|
|
|
995
940
|
image?: boolean;
|
|
996
941
|
createdAt?: boolean;
|
|
997
942
|
updatedAt?: boolean;
|
|
998
|
-
externalId?: boolean;
|
|
999
943
|
};
|
|
1000
|
-
export type UserOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "email" | "name" | "emailVerified" | "image" | "createdAt" | "updatedAt"
|
|
944
|
+
export type UserOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "email" | "name" | "emailVerified" | "image" | "createdAt" | "updatedAt", ExtArgs["result"]["user"]>;
|
|
1001
945
|
export type UserInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1002
946
|
sessions?: boolean | Prisma.User$sessionsArgs<ExtArgs>;
|
|
1003
947
|
accounts?: boolean | Prisma.User$accountsArgs<ExtArgs>;
|
|
@@ -1027,7 +971,6 @@ export type $UserPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs =
|
|
|
1027
971
|
image: string | null;
|
|
1028
972
|
createdAt: Date;
|
|
1029
973
|
updatedAt: Date;
|
|
1030
|
-
externalId: string | null;
|
|
1031
974
|
}, ExtArgs["result"]["user"]>;
|
|
1032
975
|
composites: {};
|
|
1033
976
|
};
|
|
@@ -1395,7 +1338,6 @@ export interface UserFieldRefs {
|
|
|
1395
1338
|
readonly image: Prisma.FieldRef<"User", 'String'>;
|
|
1396
1339
|
readonly createdAt: Prisma.FieldRef<"User", 'DateTime'>;
|
|
1397
1340
|
readonly updatedAt: Prisma.FieldRef<"User", 'DateTime'>;
|
|
1398
|
-
readonly externalId: Prisma.FieldRef<"User", 'String'>;
|
|
1399
1341
|
}
|
|
1400
1342
|
/**
|
|
1401
1343
|
* User findUnique
|