@kosha-ai/server 0.0.5 → 0.1.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/bootstrap.d.ts.map +1 -1
- package/dist/bootstrap.js +7 -0
- package/dist/config/kosha-config.d.ts +21 -0
- package/dist/config/kosha-config.d.ts.map +1 -1
- package/dist/config/kosha-config.js +31 -2
- package/dist/credentials/credentials.module.d.ts +3 -0
- package/dist/credentials/credentials.module.d.ts.map +1 -0
- package/dist/credentials/credentials.module.js +15 -0
- package/dist/credentials/credentials.service.d.ts +55 -0
- package/dist/credentials/credentials.service.d.ts.map +1 -0
- package/dist/credentials/credentials.service.js +108 -0
- package/dist/egress/ca.service.d.ts +36 -0
- package/dist/egress/ca.service.d.ts.map +1 -0
- package/dist/egress/ca.service.js +117 -0
- package/dist/egress/egress.controller.d.ts +24 -0
- package/dist/egress/egress.controller.d.ts.map +1 -0
- package/dist/egress/egress.controller.js +59 -0
- package/dist/egress/egress.listener.d.ts +37 -0
- package/dist/egress/egress.listener.d.ts.map +1 -0
- package/dist/egress/egress.listener.js +324 -0
- package/dist/egress/egress.module.d.ts +7 -0
- package/dist/egress/egress.module.d.ts.map +1 -0
- package/dist/egress/egress.module.js +23 -0
- package/dist/egress/grants.service.d.ts +132 -0
- package/dist/egress/grants.service.d.ts.map +1 -0
- package/dist/egress/grants.service.js +219 -0
- package/dist/egress/host-rules.service.d.ts +35 -0
- package/dist/egress/host-rules.service.d.ts.map +1 -0
- package/dist/egress/host-rules.service.js +48 -0
- package/dist/generated/prisma/browser.d.ts +5 -0
- package/dist/generated/prisma/browser.d.ts.map +1 -1
- package/dist/generated/prisma/client.d.ts +5 -0
- package/dist/generated/prisma/client.d.ts.map +1 -1
- package/dist/generated/prisma/internal/class.d.ts +11 -0
- 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 +91 -1
- package/dist/generated/prisma/internal/prismaNamespace.d.ts.map +1 -1
- package/dist/generated/prisma/internal/prismaNamespace.js +15 -1
- package/dist/generated/prisma/internal/prismaNamespaceBrowser.d.ts +15 -0
- package/dist/generated/prisma/internal/prismaNamespaceBrowser.d.ts.map +1 -1
- package/dist/generated/prisma/internal/prismaNamespaceBrowser.js +15 -1
- package/dist/generated/prisma/models/EgressGrant.d.ts +1538 -0
- package/dist/generated/prisma/models/EgressGrant.d.ts.map +1 -0
- package/dist/generated/prisma/models/EgressGrant.js +1 -0
- package/dist/generated/prisma/models/EndUser.d.ts +127 -0
- package/dist/generated/prisma/models/EndUser.d.ts.map +1 -1
- package/dist/generated/prisma/models/Organization.d.ts +147 -0
- package/dist/generated/prisma/models/Organization.d.ts.map +1 -1
- package/dist/generated/prisma/models.d.ts +1 -0
- package/dist/generated/prisma/models.d.ts.map +1 -1
- package/dist/index.d.ts +6 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +6 -1
- package/dist/kosha.module.d.ts.map +1 -1
- package/dist/kosha.module.js +4 -0
- package/dist/proxy/proxy.module.d.ts.map +1 -1
- package/dist/proxy/proxy.module.js +2 -3
- package/dist/proxy/proxy.service.d.ts +3 -19
- package/dist/proxy/proxy.service.d.ts.map +1 -1
- package/dist/proxy/proxy.service.js +9 -89
- package/package.json +6 -4
- package/prisma/migrations/20260921000000_add_egress_grant/migration.sql +31 -0
- package/prisma/schema.prisma +30 -0
|
@@ -152,6 +152,7 @@ export type OrganizationWhereInput = {
|
|
|
152
152
|
endUsers?: Prisma.EndUserListRelationFilter;
|
|
153
153
|
connections?: Prisma.ConnectionListRelationFilter;
|
|
154
154
|
connectSessions?: Prisma.ConnectSessionListRelationFilter;
|
|
155
|
+
egressGrants?: Prisma.EgressGrantListRelationFilter;
|
|
155
156
|
};
|
|
156
157
|
export type OrganizationOrderByWithRelationInput = {
|
|
157
158
|
id?: Prisma.SortOrder;
|
|
@@ -166,6 +167,7 @@ export type OrganizationOrderByWithRelationInput = {
|
|
|
166
167
|
endUsers?: Prisma.EndUserOrderByRelationAggregateInput;
|
|
167
168
|
connections?: Prisma.ConnectionOrderByRelationAggregateInput;
|
|
168
169
|
connectSessions?: Prisma.ConnectSessionOrderByRelationAggregateInput;
|
|
170
|
+
egressGrants?: Prisma.EgressGrantOrderByRelationAggregateInput;
|
|
169
171
|
};
|
|
170
172
|
export type OrganizationWhereUniqueInput = Prisma.AtLeast<{
|
|
171
173
|
id?: string;
|
|
@@ -183,6 +185,7 @@ export type OrganizationWhereUniqueInput = Prisma.AtLeast<{
|
|
|
183
185
|
endUsers?: Prisma.EndUserListRelationFilter;
|
|
184
186
|
connections?: Prisma.ConnectionListRelationFilter;
|
|
185
187
|
connectSessions?: Prisma.ConnectSessionListRelationFilter;
|
|
188
|
+
egressGrants?: Prisma.EgressGrantListRelationFilter;
|
|
186
189
|
}, "id" | "slug">;
|
|
187
190
|
export type OrganizationOrderByWithAggregationInput = {
|
|
188
191
|
id?: Prisma.SortOrder;
|
|
@@ -219,6 +222,7 @@ export type OrganizationCreateInput = {
|
|
|
219
222
|
endUsers?: Prisma.EndUserCreateNestedManyWithoutOrganizationInput;
|
|
220
223
|
connections?: Prisma.ConnectionCreateNestedManyWithoutOrganizationInput;
|
|
221
224
|
connectSessions?: Prisma.ConnectSessionCreateNestedManyWithoutOrganizationInput;
|
|
225
|
+
egressGrants?: Prisma.EgressGrantCreateNestedManyWithoutOrganizationInput;
|
|
222
226
|
};
|
|
223
227
|
export type OrganizationUncheckedCreateInput = {
|
|
224
228
|
id: string;
|
|
@@ -233,6 +237,7 @@ export type OrganizationUncheckedCreateInput = {
|
|
|
233
237
|
endUsers?: Prisma.EndUserUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
234
238
|
connections?: Prisma.ConnectionUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
235
239
|
connectSessions?: Prisma.ConnectSessionUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
240
|
+
egressGrants?: Prisma.EgressGrantUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
236
241
|
};
|
|
237
242
|
export type OrganizationUpdateInput = {
|
|
238
243
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -247,6 +252,7 @@ export type OrganizationUpdateInput = {
|
|
|
247
252
|
endUsers?: Prisma.EndUserUpdateManyWithoutOrganizationNestedInput;
|
|
248
253
|
connections?: Prisma.ConnectionUpdateManyWithoutOrganizationNestedInput;
|
|
249
254
|
connectSessions?: Prisma.ConnectSessionUpdateManyWithoutOrganizationNestedInput;
|
|
255
|
+
egressGrants?: Prisma.EgressGrantUpdateManyWithoutOrganizationNestedInput;
|
|
250
256
|
};
|
|
251
257
|
export type OrganizationUncheckedUpdateInput = {
|
|
252
258
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -261,6 +267,7 @@ export type OrganizationUncheckedUpdateInput = {
|
|
|
261
267
|
endUsers?: Prisma.EndUserUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
262
268
|
connections?: Prisma.ConnectionUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
263
269
|
connectSessions?: Prisma.ConnectSessionUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
270
|
+
egressGrants?: Prisma.EgressGrantUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
264
271
|
};
|
|
265
272
|
export type OrganizationCreateManyInput = {
|
|
266
273
|
id: string;
|
|
@@ -386,6 +393,18 @@ export type OrganizationUpdateOneRequiredWithoutConnectSessionsNestedInput = {
|
|
|
386
393
|
connect?: Prisma.OrganizationWhereUniqueInput;
|
|
387
394
|
update?: Prisma.XOR<Prisma.XOR<Prisma.OrganizationUpdateToOneWithWhereWithoutConnectSessionsInput, Prisma.OrganizationUpdateWithoutConnectSessionsInput>, Prisma.OrganizationUncheckedUpdateWithoutConnectSessionsInput>;
|
|
388
395
|
};
|
|
396
|
+
export type OrganizationCreateNestedOneWithoutEgressGrantsInput = {
|
|
397
|
+
create?: Prisma.XOR<Prisma.OrganizationCreateWithoutEgressGrantsInput, Prisma.OrganizationUncheckedCreateWithoutEgressGrantsInput>;
|
|
398
|
+
connectOrCreate?: Prisma.OrganizationCreateOrConnectWithoutEgressGrantsInput;
|
|
399
|
+
connect?: Prisma.OrganizationWhereUniqueInput;
|
|
400
|
+
};
|
|
401
|
+
export type OrganizationUpdateOneRequiredWithoutEgressGrantsNestedInput = {
|
|
402
|
+
create?: Prisma.XOR<Prisma.OrganizationCreateWithoutEgressGrantsInput, Prisma.OrganizationUncheckedCreateWithoutEgressGrantsInput>;
|
|
403
|
+
connectOrCreate?: Prisma.OrganizationCreateOrConnectWithoutEgressGrantsInput;
|
|
404
|
+
upsert?: Prisma.OrganizationUpsertWithoutEgressGrantsInput;
|
|
405
|
+
connect?: Prisma.OrganizationWhereUniqueInput;
|
|
406
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.OrganizationUpdateToOneWithWhereWithoutEgressGrantsInput, Prisma.OrganizationUpdateWithoutEgressGrantsInput>, Prisma.OrganizationUncheckedUpdateWithoutEgressGrantsInput>;
|
|
407
|
+
};
|
|
389
408
|
export type OrganizationCreateWithoutMembersInput = {
|
|
390
409
|
id: string;
|
|
391
410
|
name: string;
|
|
@@ -398,6 +417,7 @@ export type OrganizationCreateWithoutMembersInput = {
|
|
|
398
417
|
endUsers?: Prisma.EndUserCreateNestedManyWithoutOrganizationInput;
|
|
399
418
|
connections?: Prisma.ConnectionCreateNestedManyWithoutOrganizationInput;
|
|
400
419
|
connectSessions?: Prisma.ConnectSessionCreateNestedManyWithoutOrganizationInput;
|
|
420
|
+
egressGrants?: Prisma.EgressGrantCreateNestedManyWithoutOrganizationInput;
|
|
401
421
|
};
|
|
402
422
|
export type OrganizationUncheckedCreateWithoutMembersInput = {
|
|
403
423
|
id: string;
|
|
@@ -411,6 +431,7 @@ export type OrganizationUncheckedCreateWithoutMembersInput = {
|
|
|
411
431
|
endUsers?: Prisma.EndUserUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
412
432
|
connections?: Prisma.ConnectionUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
413
433
|
connectSessions?: Prisma.ConnectSessionUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
434
|
+
egressGrants?: Prisma.EgressGrantUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
414
435
|
};
|
|
415
436
|
export type OrganizationCreateOrConnectWithoutMembersInput = {
|
|
416
437
|
where: Prisma.OrganizationWhereUniqueInput;
|
|
@@ -437,6 +458,7 @@ export type OrganizationUpdateWithoutMembersInput = {
|
|
|
437
458
|
endUsers?: Prisma.EndUserUpdateManyWithoutOrganizationNestedInput;
|
|
438
459
|
connections?: Prisma.ConnectionUpdateManyWithoutOrganizationNestedInput;
|
|
439
460
|
connectSessions?: Prisma.ConnectSessionUpdateManyWithoutOrganizationNestedInput;
|
|
461
|
+
egressGrants?: Prisma.EgressGrantUpdateManyWithoutOrganizationNestedInput;
|
|
440
462
|
};
|
|
441
463
|
export type OrganizationUncheckedUpdateWithoutMembersInput = {
|
|
442
464
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -450,6 +472,7 @@ export type OrganizationUncheckedUpdateWithoutMembersInput = {
|
|
|
450
472
|
endUsers?: Prisma.EndUserUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
451
473
|
connections?: Prisma.ConnectionUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
452
474
|
connectSessions?: Prisma.ConnectSessionUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
475
|
+
egressGrants?: Prisma.EgressGrantUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
453
476
|
};
|
|
454
477
|
export type OrganizationCreateWithoutInvitationsInput = {
|
|
455
478
|
id: string;
|
|
@@ -463,6 +486,7 @@ export type OrganizationCreateWithoutInvitationsInput = {
|
|
|
463
486
|
endUsers?: Prisma.EndUserCreateNestedManyWithoutOrganizationInput;
|
|
464
487
|
connections?: Prisma.ConnectionCreateNestedManyWithoutOrganizationInput;
|
|
465
488
|
connectSessions?: Prisma.ConnectSessionCreateNestedManyWithoutOrganizationInput;
|
|
489
|
+
egressGrants?: Prisma.EgressGrantCreateNestedManyWithoutOrganizationInput;
|
|
466
490
|
};
|
|
467
491
|
export type OrganizationUncheckedCreateWithoutInvitationsInput = {
|
|
468
492
|
id: string;
|
|
@@ -476,6 +500,7 @@ export type OrganizationUncheckedCreateWithoutInvitationsInput = {
|
|
|
476
500
|
endUsers?: Prisma.EndUserUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
477
501
|
connections?: Prisma.ConnectionUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
478
502
|
connectSessions?: Prisma.ConnectSessionUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
503
|
+
egressGrants?: Prisma.EgressGrantUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
479
504
|
};
|
|
480
505
|
export type OrganizationCreateOrConnectWithoutInvitationsInput = {
|
|
481
506
|
where: Prisma.OrganizationWhereUniqueInput;
|
|
@@ -502,6 +527,7 @@ export type OrganizationUpdateWithoutInvitationsInput = {
|
|
|
502
527
|
endUsers?: Prisma.EndUserUpdateManyWithoutOrganizationNestedInput;
|
|
503
528
|
connections?: Prisma.ConnectionUpdateManyWithoutOrganizationNestedInput;
|
|
504
529
|
connectSessions?: Prisma.ConnectSessionUpdateManyWithoutOrganizationNestedInput;
|
|
530
|
+
egressGrants?: Prisma.EgressGrantUpdateManyWithoutOrganizationNestedInput;
|
|
505
531
|
};
|
|
506
532
|
export type OrganizationUncheckedUpdateWithoutInvitationsInput = {
|
|
507
533
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -515,6 +541,7 @@ export type OrganizationUncheckedUpdateWithoutInvitationsInput = {
|
|
|
515
541
|
endUsers?: Prisma.EndUserUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
516
542
|
connections?: Prisma.ConnectionUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
517
543
|
connectSessions?: Prisma.ConnectSessionUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
544
|
+
egressGrants?: Prisma.EgressGrantUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
518
545
|
};
|
|
519
546
|
export type OrganizationCreateWithoutConfigurationsInput = {
|
|
520
547
|
id: string;
|
|
@@ -528,6 +555,7 @@ export type OrganizationCreateWithoutConfigurationsInput = {
|
|
|
528
555
|
endUsers?: Prisma.EndUserCreateNestedManyWithoutOrganizationInput;
|
|
529
556
|
connections?: Prisma.ConnectionCreateNestedManyWithoutOrganizationInput;
|
|
530
557
|
connectSessions?: Prisma.ConnectSessionCreateNestedManyWithoutOrganizationInput;
|
|
558
|
+
egressGrants?: Prisma.EgressGrantCreateNestedManyWithoutOrganizationInput;
|
|
531
559
|
};
|
|
532
560
|
export type OrganizationUncheckedCreateWithoutConfigurationsInput = {
|
|
533
561
|
id: string;
|
|
@@ -541,6 +569,7 @@ export type OrganizationUncheckedCreateWithoutConfigurationsInput = {
|
|
|
541
569
|
endUsers?: Prisma.EndUserUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
542
570
|
connections?: Prisma.ConnectionUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
543
571
|
connectSessions?: Prisma.ConnectSessionUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
572
|
+
egressGrants?: Prisma.EgressGrantUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
544
573
|
};
|
|
545
574
|
export type OrganizationCreateOrConnectWithoutConfigurationsInput = {
|
|
546
575
|
where: Prisma.OrganizationWhereUniqueInput;
|
|
@@ -567,6 +596,7 @@ export type OrganizationUpdateWithoutConfigurationsInput = {
|
|
|
567
596
|
endUsers?: Prisma.EndUserUpdateManyWithoutOrganizationNestedInput;
|
|
568
597
|
connections?: Prisma.ConnectionUpdateManyWithoutOrganizationNestedInput;
|
|
569
598
|
connectSessions?: Prisma.ConnectSessionUpdateManyWithoutOrganizationNestedInput;
|
|
599
|
+
egressGrants?: Prisma.EgressGrantUpdateManyWithoutOrganizationNestedInput;
|
|
570
600
|
};
|
|
571
601
|
export type OrganizationUncheckedUpdateWithoutConfigurationsInput = {
|
|
572
602
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -580,6 +610,7 @@ export type OrganizationUncheckedUpdateWithoutConfigurationsInput = {
|
|
|
580
610
|
endUsers?: Prisma.EndUserUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
581
611
|
connections?: Prisma.ConnectionUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
582
612
|
connectSessions?: Prisma.ConnectSessionUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
613
|
+
egressGrants?: Prisma.EgressGrantUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
583
614
|
};
|
|
584
615
|
export type OrganizationCreateWithoutEndUsersInput = {
|
|
585
616
|
id: string;
|
|
@@ -593,6 +624,7 @@ export type OrganizationCreateWithoutEndUsersInput = {
|
|
|
593
624
|
configurations?: Prisma.ConfigurationCreateNestedManyWithoutOrganizationInput;
|
|
594
625
|
connections?: Prisma.ConnectionCreateNestedManyWithoutOrganizationInput;
|
|
595
626
|
connectSessions?: Prisma.ConnectSessionCreateNestedManyWithoutOrganizationInput;
|
|
627
|
+
egressGrants?: Prisma.EgressGrantCreateNestedManyWithoutOrganizationInput;
|
|
596
628
|
};
|
|
597
629
|
export type OrganizationUncheckedCreateWithoutEndUsersInput = {
|
|
598
630
|
id: string;
|
|
@@ -606,6 +638,7 @@ export type OrganizationUncheckedCreateWithoutEndUsersInput = {
|
|
|
606
638
|
configurations?: Prisma.ConfigurationUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
607
639
|
connections?: Prisma.ConnectionUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
608
640
|
connectSessions?: Prisma.ConnectSessionUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
641
|
+
egressGrants?: Prisma.EgressGrantUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
609
642
|
};
|
|
610
643
|
export type OrganizationCreateOrConnectWithoutEndUsersInput = {
|
|
611
644
|
where: Prisma.OrganizationWhereUniqueInput;
|
|
@@ -632,6 +665,7 @@ export type OrganizationUpdateWithoutEndUsersInput = {
|
|
|
632
665
|
configurations?: Prisma.ConfigurationUpdateManyWithoutOrganizationNestedInput;
|
|
633
666
|
connections?: Prisma.ConnectionUpdateManyWithoutOrganizationNestedInput;
|
|
634
667
|
connectSessions?: Prisma.ConnectSessionUpdateManyWithoutOrganizationNestedInput;
|
|
668
|
+
egressGrants?: Prisma.EgressGrantUpdateManyWithoutOrganizationNestedInput;
|
|
635
669
|
};
|
|
636
670
|
export type OrganizationUncheckedUpdateWithoutEndUsersInput = {
|
|
637
671
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -645,6 +679,7 @@ export type OrganizationUncheckedUpdateWithoutEndUsersInput = {
|
|
|
645
679
|
configurations?: Prisma.ConfigurationUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
646
680
|
connections?: Prisma.ConnectionUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
647
681
|
connectSessions?: Prisma.ConnectSessionUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
682
|
+
egressGrants?: Prisma.EgressGrantUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
648
683
|
};
|
|
649
684
|
export type OrganizationCreateWithoutConnectionsInput = {
|
|
650
685
|
id: string;
|
|
@@ -658,6 +693,7 @@ export type OrganizationCreateWithoutConnectionsInput = {
|
|
|
658
693
|
configurations?: Prisma.ConfigurationCreateNestedManyWithoutOrganizationInput;
|
|
659
694
|
endUsers?: Prisma.EndUserCreateNestedManyWithoutOrganizationInput;
|
|
660
695
|
connectSessions?: Prisma.ConnectSessionCreateNestedManyWithoutOrganizationInput;
|
|
696
|
+
egressGrants?: Prisma.EgressGrantCreateNestedManyWithoutOrganizationInput;
|
|
661
697
|
};
|
|
662
698
|
export type OrganizationUncheckedCreateWithoutConnectionsInput = {
|
|
663
699
|
id: string;
|
|
@@ -671,6 +707,7 @@ export type OrganizationUncheckedCreateWithoutConnectionsInput = {
|
|
|
671
707
|
configurations?: Prisma.ConfigurationUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
672
708
|
endUsers?: Prisma.EndUserUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
673
709
|
connectSessions?: Prisma.ConnectSessionUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
710
|
+
egressGrants?: Prisma.EgressGrantUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
674
711
|
};
|
|
675
712
|
export type OrganizationCreateOrConnectWithoutConnectionsInput = {
|
|
676
713
|
where: Prisma.OrganizationWhereUniqueInput;
|
|
@@ -697,6 +734,7 @@ export type OrganizationUpdateWithoutConnectionsInput = {
|
|
|
697
734
|
configurations?: Prisma.ConfigurationUpdateManyWithoutOrganizationNestedInput;
|
|
698
735
|
endUsers?: Prisma.EndUserUpdateManyWithoutOrganizationNestedInput;
|
|
699
736
|
connectSessions?: Prisma.ConnectSessionUpdateManyWithoutOrganizationNestedInput;
|
|
737
|
+
egressGrants?: Prisma.EgressGrantUpdateManyWithoutOrganizationNestedInput;
|
|
700
738
|
};
|
|
701
739
|
export type OrganizationUncheckedUpdateWithoutConnectionsInput = {
|
|
702
740
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -710,6 +748,7 @@ export type OrganizationUncheckedUpdateWithoutConnectionsInput = {
|
|
|
710
748
|
configurations?: Prisma.ConfigurationUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
711
749
|
endUsers?: Prisma.EndUserUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
712
750
|
connectSessions?: Prisma.ConnectSessionUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
751
|
+
egressGrants?: Prisma.EgressGrantUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
713
752
|
};
|
|
714
753
|
export type OrganizationCreateWithoutConnectSessionsInput = {
|
|
715
754
|
id: string;
|
|
@@ -723,6 +762,7 @@ export type OrganizationCreateWithoutConnectSessionsInput = {
|
|
|
723
762
|
configurations?: Prisma.ConfigurationCreateNestedManyWithoutOrganizationInput;
|
|
724
763
|
endUsers?: Prisma.EndUserCreateNestedManyWithoutOrganizationInput;
|
|
725
764
|
connections?: Prisma.ConnectionCreateNestedManyWithoutOrganizationInput;
|
|
765
|
+
egressGrants?: Prisma.EgressGrantCreateNestedManyWithoutOrganizationInput;
|
|
726
766
|
};
|
|
727
767
|
export type OrganizationUncheckedCreateWithoutConnectSessionsInput = {
|
|
728
768
|
id: string;
|
|
@@ -736,6 +776,7 @@ export type OrganizationUncheckedCreateWithoutConnectSessionsInput = {
|
|
|
736
776
|
configurations?: Prisma.ConfigurationUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
737
777
|
endUsers?: Prisma.EndUserUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
738
778
|
connections?: Prisma.ConnectionUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
779
|
+
egressGrants?: Prisma.EgressGrantUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
739
780
|
};
|
|
740
781
|
export type OrganizationCreateOrConnectWithoutConnectSessionsInput = {
|
|
741
782
|
where: Prisma.OrganizationWhereUniqueInput;
|
|
@@ -762,6 +803,7 @@ export type OrganizationUpdateWithoutConnectSessionsInput = {
|
|
|
762
803
|
configurations?: Prisma.ConfigurationUpdateManyWithoutOrganizationNestedInput;
|
|
763
804
|
endUsers?: Prisma.EndUserUpdateManyWithoutOrganizationNestedInput;
|
|
764
805
|
connections?: Prisma.ConnectionUpdateManyWithoutOrganizationNestedInput;
|
|
806
|
+
egressGrants?: Prisma.EgressGrantUpdateManyWithoutOrganizationNestedInput;
|
|
765
807
|
};
|
|
766
808
|
export type OrganizationUncheckedUpdateWithoutConnectSessionsInput = {
|
|
767
809
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -775,6 +817,76 @@ export type OrganizationUncheckedUpdateWithoutConnectSessionsInput = {
|
|
|
775
817
|
configurations?: Prisma.ConfigurationUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
776
818
|
endUsers?: Prisma.EndUserUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
777
819
|
connections?: Prisma.ConnectionUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
820
|
+
egressGrants?: Prisma.EgressGrantUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
821
|
+
};
|
|
822
|
+
export type OrganizationCreateWithoutEgressGrantsInput = {
|
|
823
|
+
id: string;
|
|
824
|
+
name: string;
|
|
825
|
+
slug: string;
|
|
826
|
+
logo?: string | null;
|
|
827
|
+
metadata?: string | null;
|
|
828
|
+
createdAt?: Date | string;
|
|
829
|
+
members?: Prisma.MemberCreateNestedManyWithoutOrganizationInput;
|
|
830
|
+
invitations?: Prisma.InvitationCreateNestedManyWithoutOrganizationInput;
|
|
831
|
+
configurations?: Prisma.ConfigurationCreateNestedManyWithoutOrganizationInput;
|
|
832
|
+
endUsers?: Prisma.EndUserCreateNestedManyWithoutOrganizationInput;
|
|
833
|
+
connections?: Prisma.ConnectionCreateNestedManyWithoutOrganizationInput;
|
|
834
|
+
connectSessions?: Prisma.ConnectSessionCreateNestedManyWithoutOrganizationInput;
|
|
835
|
+
};
|
|
836
|
+
export type OrganizationUncheckedCreateWithoutEgressGrantsInput = {
|
|
837
|
+
id: string;
|
|
838
|
+
name: string;
|
|
839
|
+
slug: string;
|
|
840
|
+
logo?: string | null;
|
|
841
|
+
metadata?: string | null;
|
|
842
|
+
createdAt?: Date | string;
|
|
843
|
+
members?: Prisma.MemberUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
844
|
+
invitations?: Prisma.InvitationUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
845
|
+
configurations?: Prisma.ConfigurationUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
846
|
+
endUsers?: Prisma.EndUserUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
847
|
+
connections?: Prisma.ConnectionUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
848
|
+
connectSessions?: Prisma.ConnectSessionUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
849
|
+
};
|
|
850
|
+
export type OrganizationCreateOrConnectWithoutEgressGrantsInput = {
|
|
851
|
+
where: Prisma.OrganizationWhereUniqueInput;
|
|
852
|
+
create: Prisma.XOR<Prisma.OrganizationCreateWithoutEgressGrantsInput, Prisma.OrganizationUncheckedCreateWithoutEgressGrantsInput>;
|
|
853
|
+
};
|
|
854
|
+
export type OrganizationUpsertWithoutEgressGrantsInput = {
|
|
855
|
+
update: Prisma.XOR<Prisma.OrganizationUpdateWithoutEgressGrantsInput, Prisma.OrganizationUncheckedUpdateWithoutEgressGrantsInput>;
|
|
856
|
+
create: Prisma.XOR<Prisma.OrganizationCreateWithoutEgressGrantsInput, Prisma.OrganizationUncheckedCreateWithoutEgressGrantsInput>;
|
|
857
|
+
where?: Prisma.OrganizationWhereInput;
|
|
858
|
+
};
|
|
859
|
+
export type OrganizationUpdateToOneWithWhereWithoutEgressGrantsInput = {
|
|
860
|
+
where?: Prisma.OrganizationWhereInput;
|
|
861
|
+
data: Prisma.XOR<Prisma.OrganizationUpdateWithoutEgressGrantsInput, Prisma.OrganizationUncheckedUpdateWithoutEgressGrantsInput>;
|
|
862
|
+
};
|
|
863
|
+
export type OrganizationUpdateWithoutEgressGrantsInput = {
|
|
864
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
865
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
866
|
+
slug?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
867
|
+
logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
868
|
+
metadata?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
869
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
870
|
+
members?: Prisma.MemberUpdateManyWithoutOrganizationNestedInput;
|
|
871
|
+
invitations?: Prisma.InvitationUpdateManyWithoutOrganizationNestedInput;
|
|
872
|
+
configurations?: Prisma.ConfigurationUpdateManyWithoutOrganizationNestedInput;
|
|
873
|
+
endUsers?: Prisma.EndUserUpdateManyWithoutOrganizationNestedInput;
|
|
874
|
+
connections?: Prisma.ConnectionUpdateManyWithoutOrganizationNestedInput;
|
|
875
|
+
connectSessions?: Prisma.ConnectSessionUpdateManyWithoutOrganizationNestedInput;
|
|
876
|
+
};
|
|
877
|
+
export type OrganizationUncheckedUpdateWithoutEgressGrantsInput = {
|
|
878
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
879
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
880
|
+
slug?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
881
|
+
logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
882
|
+
metadata?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
883
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
884
|
+
members?: Prisma.MemberUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
885
|
+
invitations?: Prisma.InvitationUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
886
|
+
configurations?: Prisma.ConfigurationUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
887
|
+
endUsers?: Prisma.EndUserUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
888
|
+
connections?: Prisma.ConnectionUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
889
|
+
connectSessions?: Prisma.ConnectSessionUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
778
890
|
};
|
|
779
891
|
/**
|
|
780
892
|
* Count Type OrganizationCountOutputType
|
|
@@ -786,6 +898,7 @@ export type OrganizationCountOutputType = {
|
|
|
786
898
|
endUsers: number;
|
|
787
899
|
connections: number;
|
|
788
900
|
connectSessions: number;
|
|
901
|
+
egressGrants: number;
|
|
789
902
|
};
|
|
790
903
|
export type OrganizationCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
791
904
|
members?: boolean | OrganizationCountOutputTypeCountMembersArgs;
|
|
@@ -794,6 +907,7 @@ export type OrganizationCountOutputTypeSelect<ExtArgs extends runtime.Types.Exte
|
|
|
794
907
|
endUsers?: boolean | OrganizationCountOutputTypeCountEndUsersArgs;
|
|
795
908
|
connections?: boolean | OrganizationCountOutputTypeCountConnectionsArgs;
|
|
796
909
|
connectSessions?: boolean | OrganizationCountOutputTypeCountConnectSessionsArgs;
|
|
910
|
+
egressGrants?: boolean | OrganizationCountOutputTypeCountEgressGrantsArgs;
|
|
797
911
|
};
|
|
798
912
|
/**
|
|
799
913
|
* OrganizationCountOutputType without action
|
|
@@ -840,6 +954,12 @@ export type OrganizationCountOutputTypeCountConnectionsArgs<ExtArgs extends runt
|
|
|
840
954
|
export type OrganizationCountOutputTypeCountConnectSessionsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
841
955
|
where?: Prisma.ConnectSessionWhereInput;
|
|
842
956
|
};
|
|
957
|
+
/**
|
|
958
|
+
* OrganizationCountOutputType without action
|
|
959
|
+
*/
|
|
960
|
+
export type OrganizationCountOutputTypeCountEgressGrantsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
961
|
+
where?: Prisma.EgressGrantWhereInput;
|
|
962
|
+
};
|
|
843
963
|
export type OrganizationSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
844
964
|
id?: boolean;
|
|
845
965
|
name?: boolean;
|
|
@@ -853,6 +973,7 @@ export type OrganizationSelect<ExtArgs extends runtime.Types.Extensions.Internal
|
|
|
853
973
|
endUsers?: boolean | Prisma.Organization$endUsersArgs<ExtArgs>;
|
|
854
974
|
connections?: boolean | Prisma.Organization$connectionsArgs<ExtArgs>;
|
|
855
975
|
connectSessions?: boolean | Prisma.Organization$connectSessionsArgs<ExtArgs>;
|
|
976
|
+
egressGrants?: boolean | Prisma.Organization$egressGrantsArgs<ExtArgs>;
|
|
856
977
|
_count?: boolean | Prisma.OrganizationCountOutputTypeDefaultArgs<ExtArgs>;
|
|
857
978
|
}, ExtArgs["result"]["organization"]>;
|
|
858
979
|
export type OrganizationSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
@@ -887,6 +1008,7 @@ export type OrganizationInclude<ExtArgs extends runtime.Types.Extensions.Interna
|
|
|
887
1008
|
endUsers?: boolean | Prisma.Organization$endUsersArgs<ExtArgs>;
|
|
888
1009
|
connections?: boolean | Prisma.Organization$connectionsArgs<ExtArgs>;
|
|
889
1010
|
connectSessions?: boolean | Prisma.Organization$connectSessionsArgs<ExtArgs>;
|
|
1011
|
+
egressGrants?: boolean | Prisma.Organization$egressGrantsArgs<ExtArgs>;
|
|
890
1012
|
_count?: boolean | Prisma.OrganizationCountOutputTypeDefaultArgs<ExtArgs>;
|
|
891
1013
|
};
|
|
892
1014
|
export type OrganizationIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {};
|
|
@@ -900,6 +1022,7 @@ export type $OrganizationPayload<ExtArgs extends runtime.Types.Extensions.Intern
|
|
|
900
1022
|
endUsers: Prisma.$EndUserPayload<ExtArgs>[];
|
|
901
1023
|
connections: Prisma.$ConnectionPayload<ExtArgs>[];
|
|
902
1024
|
connectSessions: Prisma.$ConnectSessionPayload<ExtArgs>[];
|
|
1025
|
+
egressGrants: Prisma.$EgressGrantPayload<ExtArgs>[];
|
|
903
1026
|
};
|
|
904
1027
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
905
1028
|
id: string;
|
|
@@ -1243,6 +1366,7 @@ export interface Prisma__OrganizationClient<T, Null = never, ExtArgs extends run
|
|
|
1243
1366
|
endUsers<T extends Prisma.Organization$endUsersArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Organization$endUsersArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$EndUserPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
1244
1367
|
connections<T extends Prisma.Organization$connectionsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Organization$connectionsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ConnectionPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
1245
1368
|
connectSessions<T extends Prisma.Organization$connectSessionsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Organization$connectSessionsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ConnectSessionPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
1369
|
+
egressGrants<T extends Prisma.Organization$egressGrantsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Organization$egressGrantsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$EgressGrantPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
1246
1370
|
/**
|
|
1247
1371
|
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
1248
1372
|
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
@@ -1787,6 +1911,29 @@ export type Organization$connectSessionsArgs<ExtArgs extends runtime.Types.Exten
|
|
|
1787
1911
|
skip?: number;
|
|
1788
1912
|
distinct?: Prisma.ConnectSessionScalarFieldEnum | Prisma.ConnectSessionScalarFieldEnum[];
|
|
1789
1913
|
};
|
|
1914
|
+
/**
|
|
1915
|
+
* Organization.egressGrants
|
|
1916
|
+
*/
|
|
1917
|
+
export type Organization$egressGrantsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1918
|
+
/**
|
|
1919
|
+
* Select specific fields to fetch from the EgressGrant
|
|
1920
|
+
*/
|
|
1921
|
+
select?: Prisma.EgressGrantSelect<ExtArgs> | null;
|
|
1922
|
+
/**
|
|
1923
|
+
* Omit specific fields from the EgressGrant
|
|
1924
|
+
*/
|
|
1925
|
+
omit?: Prisma.EgressGrantOmit<ExtArgs> | null;
|
|
1926
|
+
/**
|
|
1927
|
+
* Choose, which related nodes to fetch as well
|
|
1928
|
+
*/
|
|
1929
|
+
include?: Prisma.EgressGrantInclude<ExtArgs> | null;
|
|
1930
|
+
where?: Prisma.EgressGrantWhereInput;
|
|
1931
|
+
orderBy?: Prisma.EgressGrantOrderByWithRelationInput | Prisma.EgressGrantOrderByWithRelationInput[];
|
|
1932
|
+
cursor?: Prisma.EgressGrantWhereUniqueInput;
|
|
1933
|
+
take?: number;
|
|
1934
|
+
skip?: number;
|
|
1935
|
+
distinct?: Prisma.EgressGrantScalarFieldEnum | Prisma.EgressGrantScalarFieldEnum[];
|
|
1936
|
+
};
|
|
1790
1937
|
/**
|
|
1791
1938
|
* Organization without action
|
|
1792
1939
|
*/
|