@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
|
@@ -156,8 +156,6 @@ export type EnvironmentWhereInput = {
|
|
|
156
156
|
updatedAt?: Prisma.DateTimeFilter<"Environment"> | Date | string;
|
|
157
157
|
organization?: Prisma.XOR<Prisma.OrganizationScalarRelationFilter, Prisma.OrganizationWhereInput>;
|
|
158
158
|
team?: Prisma.XOR<Prisma.TeamNullableScalarRelationFilter, Prisma.TeamWhereInput> | null;
|
|
159
|
-
configurations?: Prisma.ConfigurationListRelationFilter;
|
|
160
|
-
accounts?: Prisma.AccountListRelationFilter;
|
|
161
159
|
};
|
|
162
160
|
export type EnvironmentOrderByWithRelationInput = {
|
|
163
161
|
id?: Prisma.SortOrder;
|
|
@@ -169,8 +167,6 @@ export type EnvironmentOrderByWithRelationInput = {
|
|
|
169
167
|
updatedAt?: Prisma.SortOrder;
|
|
170
168
|
organization?: Prisma.OrganizationOrderByWithRelationInput;
|
|
171
169
|
team?: Prisma.TeamOrderByWithRelationInput;
|
|
172
|
-
configurations?: Prisma.ConfigurationOrderByRelationAggregateInput;
|
|
173
|
-
accounts?: Prisma.AccountOrderByRelationAggregateInput;
|
|
174
170
|
};
|
|
175
171
|
export type EnvironmentWhereUniqueInput = Prisma.AtLeast<{
|
|
176
172
|
id?: string;
|
|
@@ -186,8 +182,6 @@ export type EnvironmentWhereUniqueInput = Prisma.AtLeast<{
|
|
|
186
182
|
updatedAt?: Prisma.DateTimeFilter<"Environment"> | Date | string;
|
|
187
183
|
organization?: Prisma.XOR<Prisma.OrganizationScalarRelationFilter, Prisma.OrganizationWhereInput>;
|
|
188
184
|
team?: Prisma.XOR<Prisma.TeamNullableScalarRelationFilter, Prisma.TeamWhereInput> | null;
|
|
189
|
-
configurations?: Prisma.ConfigurationListRelationFilter;
|
|
190
|
-
accounts?: Prisma.AccountListRelationFilter;
|
|
191
185
|
}, "id" | "organizationId_slug">;
|
|
192
186
|
export type EnvironmentOrderByWithAggregationInput = {
|
|
193
187
|
id?: Prisma.SortOrder;
|
|
@@ -221,8 +215,6 @@ export type EnvironmentCreateInput = {
|
|
|
221
215
|
updatedAt?: Date | string;
|
|
222
216
|
organization: Prisma.OrganizationCreateNestedOneWithoutEnvironmentsInput;
|
|
223
217
|
team?: Prisma.TeamCreateNestedOneWithoutEnvironmentsInput;
|
|
224
|
-
configurations?: Prisma.ConfigurationCreateNestedManyWithoutEnvironmentInput;
|
|
225
|
-
accounts?: Prisma.AccountCreateNestedManyWithoutEnvironmentInput;
|
|
226
218
|
};
|
|
227
219
|
export type EnvironmentUncheckedCreateInput = {
|
|
228
220
|
id?: string;
|
|
@@ -232,8 +224,6 @@ export type EnvironmentUncheckedCreateInput = {
|
|
|
232
224
|
teamId?: string | null;
|
|
233
225
|
createdAt?: Date | string;
|
|
234
226
|
updatedAt?: Date | string;
|
|
235
|
-
configurations?: Prisma.ConfigurationUncheckedCreateNestedManyWithoutEnvironmentInput;
|
|
236
|
-
accounts?: Prisma.AccountUncheckedCreateNestedManyWithoutEnvironmentInput;
|
|
237
227
|
};
|
|
238
228
|
export type EnvironmentUpdateInput = {
|
|
239
229
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -243,8 +233,6 @@ export type EnvironmentUpdateInput = {
|
|
|
243
233
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
244
234
|
organization?: Prisma.OrganizationUpdateOneRequiredWithoutEnvironmentsNestedInput;
|
|
245
235
|
team?: Prisma.TeamUpdateOneWithoutEnvironmentsNestedInput;
|
|
246
|
-
configurations?: Prisma.ConfigurationUpdateManyWithoutEnvironmentNestedInput;
|
|
247
|
-
accounts?: Prisma.AccountUpdateManyWithoutEnvironmentNestedInput;
|
|
248
236
|
};
|
|
249
237
|
export type EnvironmentUncheckedUpdateInput = {
|
|
250
238
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -254,8 +242,6 @@ export type EnvironmentUncheckedUpdateInput = {
|
|
|
254
242
|
teamId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
255
243
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
256
244
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
257
|
-
configurations?: Prisma.ConfigurationUncheckedUpdateManyWithoutEnvironmentNestedInput;
|
|
258
|
-
accounts?: Prisma.AccountUncheckedUpdateManyWithoutEnvironmentNestedInput;
|
|
259
245
|
};
|
|
260
246
|
export type EnvironmentCreateManyInput = {
|
|
261
247
|
id?: string;
|
|
@@ -282,10 +268,6 @@ export type EnvironmentUncheckedUpdateManyInput = {
|
|
|
282
268
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
283
269
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
284
270
|
};
|
|
285
|
-
export type EnvironmentNullableScalarRelationFilter = {
|
|
286
|
-
is?: Prisma.EnvironmentWhereInput | null;
|
|
287
|
-
isNot?: Prisma.EnvironmentWhereInput | null;
|
|
288
|
-
};
|
|
289
271
|
export type EnvironmentListRelationFilter = {
|
|
290
272
|
every?: Prisma.EnvironmentWhereInput;
|
|
291
273
|
some?: Prisma.EnvironmentWhereInput;
|
|
@@ -325,24 +307,6 @@ export type EnvironmentMinOrderByAggregateInput = {
|
|
|
325
307
|
createdAt?: Prisma.SortOrder;
|
|
326
308
|
updatedAt?: Prisma.SortOrder;
|
|
327
309
|
};
|
|
328
|
-
export type EnvironmentScalarRelationFilter = {
|
|
329
|
-
is?: Prisma.EnvironmentWhereInput;
|
|
330
|
-
isNot?: Prisma.EnvironmentWhereInput;
|
|
331
|
-
};
|
|
332
|
-
export type EnvironmentCreateNestedOneWithoutAccountsInput = {
|
|
333
|
-
create?: Prisma.XOR<Prisma.EnvironmentCreateWithoutAccountsInput, Prisma.EnvironmentUncheckedCreateWithoutAccountsInput>;
|
|
334
|
-
connectOrCreate?: Prisma.EnvironmentCreateOrConnectWithoutAccountsInput;
|
|
335
|
-
connect?: Prisma.EnvironmentWhereUniqueInput;
|
|
336
|
-
};
|
|
337
|
-
export type EnvironmentUpdateOneWithoutAccountsNestedInput = {
|
|
338
|
-
create?: Prisma.XOR<Prisma.EnvironmentCreateWithoutAccountsInput, Prisma.EnvironmentUncheckedCreateWithoutAccountsInput>;
|
|
339
|
-
connectOrCreate?: Prisma.EnvironmentCreateOrConnectWithoutAccountsInput;
|
|
340
|
-
upsert?: Prisma.EnvironmentUpsertWithoutAccountsInput;
|
|
341
|
-
disconnect?: Prisma.EnvironmentWhereInput | boolean;
|
|
342
|
-
delete?: Prisma.EnvironmentWhereInput | boolean;
|
|
343
|
-
connect?: Prisma.EnvironmentWhereUniqueInput;
|
|
344
|
-
update?: Prisma.XOR<Prisma.XOR<Prisma.EnvironmentUpdateToOneWithWhereWithoutAccountsInput, Prisma.EnvironmentUpdateWithoutAccountsInput>, Prisma.EnvironmentUncheckedUpdateWithoutAccountsInput>;
|
|
345
|
-
};
|
|
346
310
|
export type EnvironmentCreateNestedManyWithoutOrganizationInput = {
|
|
347
311
|
create?: Prisma.XOR<Prisma.EnvironmentCreateWithoutOrganizationInput, Prisma.EnvironmentUncheckedCreateWithoutOrganizationInput> | Prisma.EnvironmentCreateWithoutOrganizationInput[] | Prisma.EnvironmentUncheckedCreateWithoutOrganizationInput[];
|
|
348
312
|
connectOrCreate?: Prisma.EnvironmentCreateOrConnectWithoutOrganizationInput | Prisma.EnvironmentCreateOrConnectWithoutOrganizationInput[];
|
|
@@ -419,71 +383,6 @@ export type EnvironmentUncheckedUpdateManyWithoutTeamNestedInput = {
|
|
|
419
383
|
updateMany?: Prisma.EnvironmentUpdateManyWithWhereWithoutTeamInput | Prisma.EnvironmentUpdateManyWithWhereWithoutTeamInput[];
|
|
420
384
|
deleteMany?: Prisma.EnvironmentScalarWhereInput | Prisma.EnvironmentScalarWhereInput[];
|
|
421
385
|
};
|
|
422
|
-
export type EnvironmentCreateNestedOneWithoutConfigurationsInput = {
|
|
423
|
-
create?: Prisma.XOR<Prisma.EnvironmentCreateWithoutConfigurationsInput, Prisma.EnvironmentUncheckedCreateWithoutConfigurationsInput>;
|
|
424
|
-
connectOrCreate?: Prisma.EnvironmentCreateOrConnectWithoutConfigurationsInput;
|
|
425
|
-
connect?: Prisma.EnvironmentWhereUniqueInput;
|
|
426
|
-
};
|
|
427
|
-
export type EnvironmentUpdateOneRequiredWithoutConfigurationsNestedInput = {
|
|
428
|
-
create?: Prisma.XOR<Prisma.EnvironmentCreateWithoutConfigurationsInput, Prisma.EnvironmentUncheckedCreateWithoutConfigurationsInput>;
|
|
429
|
-
connectOrCreate?: Prisma.EnvironmentCreateOrConnectWithoutConfigurationsInput;
|
|
430
|
-
upsert?: Prisma.EnvironmentUpsertWithoutConfigurationsInput;
|
|
431
|
-
connect?: Prisma.EnvironmentWhereUniqueInput;
|
|
432
|
-
update?: Prisma.XOR<Prisma.XOR<Prisma.EnvironmentUpdateToOneWithWhereWithoutConfigurationsInput, Prisma.EnvironmentUpdateWithoutConfigurationsInput>, Prisma.EnvironmentUncheckedUpdateWithoutConfigurationsInput>;
|
|
433
|
-
};
|
|
434
|
-
export type EnvironmentCreateWithoutAccountsInput = {
|
|
435
|
-
id?: string;
|
|
436
|
-
name: string;
|
|
437
|
-
slug: string;
|
|
438
|
-
createdAt?: Date | string;
|
|
439
|
-
updatedAt?: Date | string;
|
|
440
|
-
organization: Prisma.OrganizationCreateNestedOneWithoutEnvironmentsInput;
|
|
441
|
-
team?: Prisma.TeamCreateNestedOneWithoutEnvironmentsInput;
|
|
442
|
-
configurations?: Prisma.ConfigurationCreateNestedManyWithoutEnvironmentInput;
|
|
443
|
-
};
|
|
444
|
-
export type EnvironmentUncheckedCreateWithoutAccountsInput = {
|
|
445
|
-
id?: string;
|
|
446
|
-
organizationId: string;
|
|
447
|
-
name: string;
|
|
448
|
-
slug: string;
|
|
449
|
-
teamId?: string | null;
|
|
450
|
-
createdAt?: Date | string;
|
|
451
|
-
updatedAt?: Date | string;
|
|
452
|
-
configurations?: Prisma.ConfigurationUncheckedCreateNestedManyWithoutEnvironmentInput;
|
|
453
|
-
};
|
|
454
|
-
export type EnvironmentCreateOrConnectWithoutAccountsInput = {
|
|
455
|
-
where: Prisma.EnvironmentWhereUniqueInput;
|
|
456
|
-
create: Prisma.XOR<Prisma.EnvironmentCreateWithoutAccountsInput, Prisma.EnvironmentUncheckedCreateWithoutAccountsInput>;
|
|
457
|
-
};
|
|
458
|
-
export type EnvironmentUpsertWithoutAccountsInput = {
|
|
459
|
-
update: Prisma.XOR<Prisma.EnvironmentUpdateWithoutAccountsInput, Prisma.EnvironmentUncheckedUpdateWithoutAccountsInput>;
|
|
460
|
-
create: Prisma.XOR<Prisma.EnvironmentCreateWithoutAccountsInput, Prisma.EnvironmentUncheckedCreateWithoutAccountsInput>;
|
|
461
|
-
where?: Prisma.EnvironmentWhereInput;
|
|
462
|
-
};
|
|
463
|
-
export type EnvironmentUpdateToOneWithWhereWithoutAccountsInput = {
|
|
464
|
-
where?: Prisma.EnvironmentWhereInput;
|
|
465
|
-
data: Prisma.XOR<Prisma.EnvironmentUpdateWithoutAccountsInput, Prisma.EnvironmentUncheckedUpdateWithoutAccountsInput>;
|
|
466
|
-
};
|
|
467
|
-
export type EnvironmentUpdateWithoutAccountsInput = {
|
|
468
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
469
|
-
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
470
|
-
slug?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
471
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
472
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
473
|
-
organization?: Prisma.OrganizationUpdateOneRequiredWithoutEnvironmentsNestedInput;
|
|
474
|
-
team?: Prisma.TeamUpdateOneWithoutEnvironmentsNestedInput;
|
|
475
|
-
configurations?: Prisma.ConfigurationUpdateManyWithoutEnvironmentNestedInput;
|
|
476
|
-
};
|
|
477
|
-
export type EnvironmentUncheckedUpdateWithoutAccountsInput = {
|
|
478
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
479
|
-
organizationId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
480
|
-
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
481
|
-
slug?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
482
|
-
teamId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
483
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
484
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
485
|
-
configurations?: Prisma.ConfigurationUncheckedUpdateManyWithoutEnvironmentNestedInput;
|
|
486
|
-
};
|
|
487
386
|
export type EnvironmentCreateWithoutOrganizationInput = {
|
|
488
387
|
id?: string;
|
|
489
388
|
name: string;
|
|
@@ -491,8 +390,6 @@ export type EnvironmentCreateWithoutOrganizationInput = {
|
|
|
491
390
|
createdAt?: Date | string;
|
|
492
391
|
updatedAt?: Date | string;
|
|
493
392
|
team?: Prisma.TeamCreateNestedOneWithoutEnvironmentsInput;
|
|
494
|
-
configurations?: Prisma.ConfigurationCreateNestedManyWithoutEnvironmentInput;
|
|
495
|
-
accounts?: Prisma.AccountCreateNestedManyWithoutEnvironmentInput;
|
|
496
393
|
};
|
|
497
394
|
export type EnvironmentUncheckedCreateWithoutOrganizationInput = {
|
|
498
395
|
id?: string;
|
|
@@ -501,8 +398,6 @@ export type EnvironmentUncheckedCreateWithoutOrganizationInput = {
|
|
|
501
398
|
teamId?: string | null;
|
|
502
399
|
createdAt?: Date | string;
|
|
503
400
|
updatedAt?: Date | string;
|
|
504
|
-
configurations?: Prisma.ConfigurationUncheckedCreateNestedManyWithoutEnvironmentInput;
|
|
505
|
-
accounts?: Prisma.AccountUncheckedCreateNestedManyWithoutEnvironmentInput;
|
|
506
401
|
};
|
|
507
402
|
export type EnvironmentCreateOrConnectWithoutOrganizationInput = {
|
|
508
403
|
where: Prisma.EnvironmentWhereUniqueInput;
|
|
@@ -544,8 +439,6 @@ export type EnvironmentCreateWithoutTeamInput = {
|
|
|
544
439
|
createdAt?: Date | string;
|
|
545
440
|
updatedAt?: Date | string;
|
|
546
441
|
organization: Prisma.OrganizationCreateNestedOneWithoutEnvironmentsInput;
|
|
547
|
-
configurations?: Prisma.ConfigurationCreateNestedManyWithoutEnvironmentInput;
|
|
548
|
-
accounts?: Prisma.AccountCreateNestedManyWithoutEnvironmentInput;
|
|
549
442
|
};
|
|
550
443
|
export type EnvironmentUncheckedCreateWithoutTeamInput = {
|
|
551
444
|
id?: string;
|
|
@@ -554,8 +447,6 @@ export type EnvironmentUncheckedCreateWithoutTeamInput = {
|
|
|
554
447
|
slug: string;
|
|
555
448
|
createdAt?: Date | string;
|
|
556
449
|
updatedAt?: Date | string;
|
|
557
|
-
configurations?: Prisma.ConfigurationUncheckedCreateNestedManyWithoutEnvironmentInput;
|
|
558
|
-
accounts?: Prisma.AccountUncheckedCreateNestedManyWithoutEnvironmentInput;
|
|
559
450
|
};
|
|
560
451
|
export type EnvironmentCreateOrConnectWithoutTeamInput = {
|
|
561
452
|
where: Prisma.EnvironmentWhereUniqueInput;
|
|
@@ -578,59 +469,6 @@ export type EnvironmentUpdateManyWithWhereWithoutTeamInput = {
|
|
|
578
469
|
where: Prisma.EnvironmentScalarWhereInput;
|
|
579
470
|
data: Prisma.XOR<Prisma.EnvironmentUpdateManyMutationInput, Prisma.EnvironmentUncheckedUpdateManyWithoutTeamInput>;
|
|
580
471
|
};
|
|
581
|
-
export type EnvironmentCreateWithoutConfigurationsInput = {
|
|
582
|
-
id?: string;
|
|
583
|
-
name: string;
|
|
584
|
-
slug: string;
|
|
585
|
-
createdAt?: Date | string;
|
|
586
|
-
updatedAt?: Date | string;
|
|
587
|
-
organization: Prisma.OrganizationCreateNestedOneWithoutEnvironmentsInput;
|
|
588
|
-
team?: Prisma.TeamCreateNestedOneWithoutEnvironmentsInput;
|
|
589
|
-
accounts?: Prisma.AccountCreateNestedManyWithoutEnvironmentInput;
|
|
590
|
-
};
|
|
591
|
-
export type EnvironmentUncheckedCreateWithoutConfigurationsInput = {
|
|
592
|
-
id?: string;
|
|
593
|
-
organizationId: string;
|
|
594
|
-
name: string;
|
|
595
|
-
slug: string;
|
|
596
|
-
teamId?: string | null;
|
|
597
|
-
createdAt?: Date | string;
|
|
598
|
-
updatedAt?: Date | string;
|
|
599
|
-
accounts?: Prisma.AccountUncheckedCreateNestedManyWithoutEnvironmentInput;
|
|
600
|
-
};
|
|
601
|
-
export type EnvironmentCreateOrConnectWithoutConfigurationsInput = {
|
|
602
|
-
where: Prisma.EnvironmentWhereUniqueInput;
|
|
603
|
-
create: Prisma.XOR<Prisma.EnvironmentCreateWithoutConfigurationsInput, Prisma.EnvironmentUncheckedCreateWithoutConfigurationsInput>;
|
|
604
|
-
};
|
|
605
|
-
export type EnvironmentUpsertWithoutConfigurationsInput = {
|
|
606
|
-
update: Prisma.XOR<Prisma.EnvironmentUpdateWithoutConfigurationsInput, Prisma.EnvironmentUncheckedUpdateWithoutConfigurationsInput>;
|
|
607
|
-
create: Prisma.XOR<Prisma.EnvironmentCreateWithoutConfigurationsInput, Prisma.EnvironmentUncheckedCreateWithoutConfigurationsInput>;
|
|
608
|
-
where?: Prisma.EnvironmentWhereInput;
|
|
609
|
-
};
|
|
610
|
-
export type EnvironmentUpdateToOneWithWhereWithoutConfigurationsInput = {
|
|
611
|
-
where?: Prisma.EnvironmentWhereInput;
|
|
612
|
-
data: Prisma.XOR<Prisma.EnvironmentUpdateWithoutConfigurationsInput, Prisma.EnvironmentUncheckedUpdateWithoutConfigurationsInput>;
|
|
613
|
-
};
|
|
614
|
-
export type EnvironmentUpdateWithoutConfigurationsInput = {
|
|
615
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
616
|
-
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
617
|
-
slug?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
618
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
619
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
620
|
-
organization?: Prisma.OrganizationUpdateOneRequiredWithoutEnvironmentsNestedInput;
|
|
621
|
-
team?: Prisma.TeamUpdateOneWithoutEnvironmentsNestedInput;
|
|
622
|
-
accounts?: Prisma.AccountUpdateManyWithoutEnvironmentNestedInput;
|
|
623
|
-
};
|
|
624
|
-
export type EnvironmentUncheckedUpdateWithoutConfigurationsInput = {
|
|
625
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
626
|
-
organizationId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
627
|
-
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
628
|
-
slug?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
629
|
-
teamId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
630
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
631
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
632
|
-
accounts?: Prisma.AccountUncheckedUpdateManyWithoutEnvironmentNestedInput;
|
|
633
|
-
};
|
|
634
472
|
export type EnvironmentCreateManyOrganizationInput = {
|
|
635
473
|
id?: string;
|
|
636
474
|
name: string;
|
|
@@ -646,8 +484,6 @@ export type EnvironmentUpdateWithoutOrganizationInput = {
|
|
|
646
484
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
647
485
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
648
486
|
team?: Prisma.TeamUpdateOneWithoutEnvironmentsNestedInput;
|
|
649
|
-
configurations?: Prisma.ConfigurationUpdateManyWithoutEnvironmentNestedInput;
|
|
650
|
-
accounts?: Prisma.AccountUpdateManyWithoutEnvironmentNestedInput;
|
|
651
487
|
};
|
|
652
488
|
export type EnvironmentUncheckedUpdateWithoutOrganizationInput = {
|
|
653
489
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -656,8 +492,6 @@ export type EnvironmentUncheckedUpdateWithoutOrganizationInput = {
|
|
|
656
492
|
teamId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
657
493
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
658
494
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
659
|
-
configurations?: Prisma.ConfigurationUncheckedUpdateManyWithoutEnvironmentNestedInput;
|
|
660
|
-
accounts?: Prisma.AccountUncheckedUpdateManyWithoutEnvironmentNestedInput;
|
|
661
495
|
};
|
|
662
496
|
export type EnvironmentUncheckedUpdateManyWithoutOrganizationInput = {
|
|
663
497
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -682,8 +516,6 @@ export type EnvironmentUpdateWithoutTeamInput = {
|
|
|
682
516
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
683
517
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
684
518
|
organization?: Prisma.OrganizationUpdateOneRequiredWithoutEnvironmentsNestedInput;
|
|
685
|
-
configurations?: Prisma.ConfigurationUpdateManyWithoutEnvironmentNestedInput;
|
|
686
|
-
accounts?: Prisma.AccountUpdateManyWithoutEnvironmentNestedInput;
|
|
687
519
|
};
|
|
688
520
|
export type EnvironmentUncheckedUpdateWithoutTeamInput = {
|
|
689
521
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -692,8 +524,6 @@ export type EnvironmentUncheckedUpdateWithoutTeamInput = {
|
|
|
692
524
|
slug?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
693
525
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
694
526
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
695
|
-
configurations?: Prisma.ConfigurationUncheckedUpdateManyWithoutEnvironmentNestedInput;
|
|
696
|
-
accounts?: Prisma.AccountUncheckedUpdateManyWithoutEnvironmentNestedInput;
|
|
697
527
|
};
|
|
698
528
|
export type EnvironmentUncheckedUpdateManyWithoutTeamInput = {
|
|
699
529
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -703,38 +533,6 @@ export type EnvironmentUncheckedUpdateManyWithoutTeamInput = {
|
|
|
703
533
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
704
534
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
705
535
|
};
|
|
706
|
-
/**
|
|
707
|
-
* Count Type EnvironmentCountOutputType
|
|
708
|
-
*/
|
|
709
|
-
export type EnvironmentCountOutputType = {
|
|
710
|
-
configurations: number;
|
|
711
|
-
accounts: number;
|
|
712
|
-
};
|
|
713
|
-
export type EnvironmentCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
714
|
-
configurations?: boolean | EnvironmentCountOutputTypeCountConfigurationsArgs;
|
|
715
|
-
accounts?: boolean | EnvironmentCountOutputTypeCountAccountsArgs;
|
|
716
|
-
};
|
|
717
|
-
/**
|
|
718
|
-
* EnvironmentCountOutputType without action
|
|
719
|
-
*/
|
|
720
|
-
export type EnvironmentCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
721
|
-
/**
|
|
722
|
-
* Select specific fields to fetch from the EnvironmentCountOutputType
|
|
723
|
-
*/
|
|
724
|
-
select?: Prisma.EnvironmentCountOutputTypeSelect<ExtArgs> | null;
|
|
725
|
-
};
|
|
726
|
-
/**
|
|
727
|
-
* EnvironmentCountOutputType without action
|
|
728
|
-
*/
|
|
729
|
-
export type EnvironmentCountOutputTypeCountConfigurationsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
730
|
-
where?: Prisma.ConfigurationWhereInput;
|
|
731
|
-
};
|
|
732
|
-
/**
|
|
733
|
-
* EnvironmentCountOutputType without action
|
|
734
|
-
*/
|
|
735
|
-
export type EnvironmentCountOutputTypeCountAccountsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
736
|
-
where?: Prisma.AccountWhereInput;
|
|
737
|
-
};
|
|
738
536
|
export type EnvironmentSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
739
537
|
id?: boolean;
|
|
740
538
|
organizationId?: boolean;
|
|
@@ -745,9 +543,6 @@ export type EnvironmentSelect<ExtArgs extends runtime.Types.Extensions.InternalA
|
|
|
745
543
|
updatedAt?: boolean;
|
|
746
544
|
organization?: boolean | Prisma.OrganizationDefaultArgs<ExtArgs>;
|
|
747
545
|
team?: boolean | Prisma.Environment$teamArgs<ExtArgs>;
|
|
748
|
-
configurations?: boolean | Prisma.Environment$configurationsArgs<ExtArgs>;
|
|
749
|
-
accounts?: boolean | Prisma.Environment$accountsArgs<ExtArgs>;
|
|
750
|
-
_count?: boolean | Prisma.EnvironmentCountOutputTypeDefaultArgs<ExtArgs>;
|
|
751
546
|
}, ExtArgs["result"]["environment"]>;
|
|
752
547
|
export type EnvironmentSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
753
548
|
id?: boolean;
|
|
@@ -784,9 +579,6 @@ export type EnvironmentOmit<ExtArgs extends runtime.Types.Extensions.InternalArg
|
|
|
784
579
|
export type EnvironmentInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
785
580
|
organization?: boolean | Prisma.OrganizationDefaultArgs<ExtArgs>;
|
|
786
581
|
team?: boolean | Prisma.Environment$teamArgs<ExtArgs>;
|
|
787
|
-
configurations?: boolean | Prisma.Environment$configurationsArgs<ExtArgs>;
|
|
788
|
-
accounts?: boolean | Prisma.Environment$accountsArgs<ExtArgs>;
|
|
789
|
-
_count?: boolean | Prisma.EnvironmentCountOutputTypeDefaultArgs<ExtArgs>;
|
|
790
582
|
};
|
|
791
583
|
export type EnvironmentIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
792
584
|
organization?: boolean | Prisma.OrganizationDefaultArgs<ExtArgs>;
|
|
@@ -801,8 +593,6 @@ export type $EnvironmentPayload<ExtArgs extends runtime.Types.Extensions.Interna
|
|
|
801
593
|
objects: {
|
|
802
594
|
organization: Prisma.$OrganizationPayload<ExtArgs>;
|
|
803
595
|
team: Prisma.$TeamPayload<ExtArgs> | null;
|
|
804
|
-
configurations: Prisma.$ConfigurationPayload<ExtArgs>[];
|
|
805
|
-
accounts: Prisma.$AccountPayload<ExtArgs>[];
|
|
806
596
|
};
|
|
807
597
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
808
598
|
id: string;
|
|
@@ -1143,8 +933,6 @@ export interface Prisma__EnvironmentClient<T, Null = never, ExtArgs extends runt
|
|
|
1143
933
|
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
1144
934
|
organization<T extends Prisma.OrganizationDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.OrganizationDefaultArgs<ExtArgs>>): Prisma.Prisma__OrganizationClient<runtime.Types.Result.GetResult<Prisma.$OrganizationPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
|
|
1145
935
|
team<T extends Prisma.Environment$teamArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Environment$teamArgs<ExtArgs>>): Prisma.Prisma__TeamClient<runtime.Types.Result.GetResult<Prisma.$TeamPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
1146
|
-
configurations<T extends Prisma.Environment$configurationsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Environment$configurationsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ConfigurationPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
1147
|
-
accounts<T extends Prisma.Environment$accountsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Environment$accountsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AccountPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
1148
936
|
/**
|
|
1149
937
|
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
1150
938
|
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
@@ -1578,52 +1366,6 @@ export type Environment$teamArgs<ExtArgs extends runtime.Types.Extensions.Intern
|
|
|
1578
1366
|
include?: Prisma.TeamInclude<ExtArgs> | null;
|
|
1579
1367
|
where?: Prisma.TeamWhereInput;
|
|
1580
1368
|
};
|
|
1581
|
-
/**
|
|
1582
|
-
* Environment.configurations
|
|
1583
|
-
*/
|
|
1584
|
-
export type Environment$configurationsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1585
|
-
/**
|
|
1586
|
-
* Select specific fields to fetch from the Configuration
|
|
1587
|
-
*/
|
|
1588
|
-
select?: Prisma.ConfigurationSelect<ExtArgs> | null;
|
|
1589
|
-
/**
|
|
1590
|
-
* Omit specific fields from the Configuration
|
|
1591
|
-
*/
|
|
1592
|
-
omit?: Prisma.ConfigurationOmit<ExtArgs> | null;
|
|
1593
|
-
/**
|
|
1594
|
-
* Choose, which related nodes to fetch as well
|
|
1595
|
-
*/
|
|
1596
|
-
include?: Prisma.ConfigurationInclude<ExtArgs> | null;
|
|
1597
|
-
where?: Prisma.ConfigurationWhereInput;
|
|
1598
|
-
orderBy?: Prisma.ConfigurationOrderByWithRelationInput | Prisma.ConfigurationOrderByWithRelationInput[];
|
|
1599
|
-
cursor?: Prisma.ConfigurationWhereUniqueInput;
|
|
1600
|
-
take?: number;
|
|
1601
|
-
skip?: number;
|
|
1602
|
-
distinct?: Prisma.ConfigurationScalarFieldEnum | Prisma.ConfigurationScalarFieldEnum[];
|
|
1603
|
-
};
|
|
1604
|
-
/**
|
|
1605
|
-
* Environment.accounts
|
|
1606
|
-
*/
|
|
1607
|
-
export type Environment$accountsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1608
|
-
/**
|
|
1609
|
-
* Select specific fields to fetch from the Account
|
|
1610
|
-
*/
|
|
1611
|
-
select?: Prisma.AccountSelect<ExtArgs> | null;
|
|
1612
|
-
/**
|
|
1613
|
-
* Omit specific fields from the Account
|
|
1614
|
-
*/
|
|
1615
|
-
omit?: Prisma.AccountOmit<ExtArgs> | null;
|
|
1616
|
-
/**
|
|
1617
|
-
* Choose, which related nodes to fetch as well
|
|
1618
|
-
*/
|
|
1619
|
-
include?: Prisma.AccountInclude<ExtArgs> | null;
|
|
1620
|
-
where?: Prisma.AccountWhereInput;
|
|
1621
|
-
orderBy?: Prisma.AccountOrderByWithRelationInput | Prisma.AccountOrderByWithRelationInput[];
|
|
1622
|
-
cursor?: Prisma.AccountWhereUniqueInput;
|
|
1623
|
-
take?: number;
|
|
1624
|
-
skip?: number;
|
|
1625
|
-
distinct?: Prisma.AccountScalarFieldEnum | Prisma.AccountScalarFieldEnum[];
|
|
1626
|
-
};
|
|
1627
1369
|
/**
|
|
1628
1370
|
* Environment without action
|
|
1629
1371
|
*/
|