@sixb/server 0.2.1 → 0.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (153) hide show
  1. package/README.md +3 -3
  2. package/dist/artifacts/frame.d.ts.map +1 -1
  3. package/dist/auth/scope.d.ts +3 -0
  4. package/dist/auth/scope.d.ts.map +1 -1
  5. package/dist/auth/shared-access.d.ts +23 -0
  6. package/dist/auth/shared-access.d.ts.map +1 -1
  7. package/dist/connectors/http.d.ts +6 -1
  8. package/dist/connectors/http.d.ts.map +1 -1
  9. package/dist/index.js +2876 -667
  10. package/dist/index.js.map +43 -36
  11. package/dist/live/awareness.d.ts +48 -0
  12. package/dist/live/awareness.d.ts.map +1 -0
  13. package/dist/live/room.d.ts +198 -0
  14. package/dist/live/room.d.ts.map +1 -0
  15. package/dist/live/rooms.d.ts +67 -0
  16. package/dist/live/rooms.d.ts.map +1 -0
  17. package/dist/registerRoutes.d.ts.map +1 -1
  18. package/dist/routes/actions.d.ts +3 -3
  19. package/dist/routes/agent-approvals.d.ts +21 -11
  20. package/dist/routes/agent-approvals.d.ts.map +1 -1
  21. package/dist/routes/agent-children.d.ts +4 -4
  22. package/dist/routes/agent-computers.d.ts +146 -1
  23. package/dist/routes/agent-computers.d.ts.map +1 -1
  24. package/dist/routes/agent-runners.d.ts.map +1 -1
  25. package/dist/routes/agents.d.ts +152 -60
  26. package/dist/routes/agents.d.ts.map +1 -1
  27. package/dist/routes/artifact-frames.d.ts +2 -1
  28. package/dist/routes/artifact-frames.d.ts.map +1 -1
  29. package/dist/routes/artifacts.d.ts +1713 -178
  30. package/dist/routes/artifacts.d.ts.map +1 -1
  31. package/dist/routes/auth.d.ts +21 -21
  32. package/dist/routes/connector-connection-runs.d.ts +124 -5
  33. package/dist/routes/connector-connection-runs.d.ts.map +1 -1
  34. package/dist/routes/connector-connections.d.ts +9 -1
  35. package/dist/routes/connector-connections.d.ts.map +1 -1
  36. package/dist/routes/datasets.d.ts +5 -5
  37. package/dist/routes/events.d.ts +4 -4
  38. package/dist/routes/lake.d.ts +91 -0
  39. package/dist/routes/lake.d.ts.map +1 -0
  40. package/dist/routes/links.d.ts +6 -6
  41. package/dist/routes/logs.d.ts +2 -2
  42. package/dist/routes/model-generations.d.ts +2 -2
  43. package/dist/routes/objects.d.ts +6 -6
  44. package/dist/routes/objects.d.ts.map +1 -1
  45. package/dist/routes/observed-agent-threads.d.ts +21 -11
  46. package/dist/routes/observed-agent-threads.d.ts.map +1 -1
  47. package/dist/routes/ontology.d.ts +6 -6
  48. package/dist/routes/pipelines.d.ts +13 -9
  49. package/dist/routes/pipelines.d.ts.map +1 -1
  50. package/dist/routes/projections.d.ts +27 -27
  51. package/dist/routes/share-grants.d.ts +9 -9
  52. package/dist/routes/shared-access.d.ts +57 -2
  53. package/dist/routes/shared-access.d.ts.map +1 -1
  54. package/dist/routes/status.d.ts +11 -15
  55. package/dist/routes/status.d.ts.map +1 -1
  56. package/dist/routes/syncs.d.ts +9 -6
  57. package/dist/routes/syncs.d.ts.map +1 -1
  58. package/dist/routes/telemetry.d.ts +7 -7
  59. package/dist/routes/webhooks.d.ts.map +1 -1
  60. package/dist/routes/workflows.d.ts +14 -14
  61. package/dist/routes/ws/artifacts.d.ts +57 -0
  62. package/dist/routes/ws/artifacts.d.ts.map +1 -0
  63. package/dist/routes/ws/events.d.ts +8 -7
  64. package/dist/routes/ws/events.d.ts.map +1 -1
  65. package/dist/routes/ws/index.d.ts +2 -1
  66. package/dist/routes/ws/index.d.ts.map +1 -1
  67. package/dist/routes/ws/logs.d.ts +10 -10
  68. package/dist/routes/ws/shared-sockets.d.ts +52 -0
  69. package/dist/routes/ws/shared-sockets.d.ts.map +1 -0
  70. package/dist/schemas/actions.d.ts +7 -7
  71. package/dist/schemas/activity.d.ts +16 -16
  72. package/dist/schemas/agent-approvals.d.ts +27 -27
  73. package/dist/schemas/agents.d.ts +642 -196
  74. package/dist/schemas/agents.d.ts.map +1 -1
  75. package/dist/schemas/ai-accounting.d.ts +41 -41
  76. package/dist/schemas/ai-accounting.d.ts.map +1 -1
  77. package/dist/schemas/artifacts.d.ts +2106 -127
  78. package/dist/schemas/artifacts.d.ts.map +1 -1
  79. package/dist/schemas/auth.d.ts +63 -63
  80. package/dist/schemas/connectors.d.ts +180 -20
  81. package/dist/schemas/connectors.d.ts.map +1 -1
  82. package/dist/schemas/datasets.d.ts +44 -44
  83. package/dist/schemas/event-payloads.d.ts +2 -2
  84. package/dist/schemas/events.d.ts +26 -26
  85. package/dist/schemas/events.d.ts.map +1 -1
  86. package/dist/schemas/files.d.ts +12 -0
  87. package/dist/schemas/files.d.ts.map +1 -1
  88. package/dist/schemas/lake.d.ts +251 -0
  89. package/dist/schemas/lake.d.ts.map +1 -0
  90. package/dist/schemas/lineage.d.ts +56 -56
  91. package/dist/schemas/logs.d.ts +18 -18
  92. package/dist/schemas/models.d.ts +4 -4
  93. package/dist/schemas/objects.d.ts.map +1 -1
  94. package/dist/schemas/ontology.d.ts +14 -14
  95. package/dist/schemas/pipelines.d.ts +86 -64
  96. package/dist/schemas/pipelines.d.ts.map +1 -1
  97. package/dist/schemas/projections.d.ts +160 -160
  98. package/dist/schemas/projections.d.ts.map +1 -1
  99. package/dist/schemas/share-grants.d.ts +30 -30
  100. package/dist/schemas/shared-access.d.ts +17 -4
  101. package/dist/schemas/shared-access.d.ts.map +1 -1
  102. package/dist/schemas/status.d.ts +59 -79
  103. package/dist/schemas/status.d.ts.map +1 -1
  104. package/dist/schemas/syncs.d.ts +38 -22
  105. package/dist/schemas/syncs.d.ts.map +1 -1
  106. package/dist/schemas/telemetry.d.ts +26 -26
  107. package/dist/schemas/workflows.d.ts +71 -71
  108. package/dist/server.d.ts +13 -0
  109. package/dist/server.d.ts.map +1 -1
  110. package/dist/utils/ws.d.ts +3 -0
  111. package/dist/utils/ws.d.ts.map +1 -1
  112. package/package.json +11 -7
  113. package/src/artifacts/frame.ts +4 -13
  114. package/src/auth/scope.ts +10 -1
  115. package/src/auth/shared-access.ts +108 -12
  116. package/src/connectors/http.ts +35 -1
  117. package/src/live/README.md +136 -0
  118. package/src/live/awareness.ts +141 -0
  119. package/src/live/room.ts +933 -0
  120. package/src/live/rooms.ts +288 -0
  121. package/src/registerRoutes.ts +2 -0
  122. package/src/routes/agent-computers.ts +208 -14
  123. package/src/routes/agent-runners.ts +1 -0
  124. package/src/routes/agents.ts +52 -7
  125. package/src/routes/artifact-frames.ts +40 -12
  126. package/src/routes/artifacts.ts +713 -28
  127. package/src/routes/connector-connection-runs.ts +7 -12
  128. package/src/routes/connector-connections.ts +10 -7
  129. package/src/routes/lake.ts +73 -0
  130. package/src/routes/objects.ts +3 -9
  131. package/src/routes/pipelines.ts +1 -0
  132. package/src/routes/shared-access.ts +53 -1
  133. package/src/routes/status.ts +9 -4
  134. package/src/routes/syncs.ts +1 -0
  135. package/src/routes/webhooks.ts +44 -3
  136. package/src/routes/ws/artifacts.ts +138 -0
  137. package/src/routes/ws/events.ts +7 -2
  138. package/src/routes/ws/index.ts +13 -2
  139. package/src/routes/ws/shared-sockets.ts +152 -0
  140. package/src/schemas/agents.ts +71 -1
  141. package/src/schemas/ai-accounting.ts +1 -0
  142. package/src/schemas/artifacts.ts +255 -18
  143. package/src/schemas/connectors.ts +17 -2
  144. package/src/schemas/files.ts +12 -0
  145. package/src/schemas/lake.ts +53 -0
  146. package/src/schemas/objects.ts +1 -0
  147. package/src/schemas/pipelines.ts +2 -0
  148. package/src/schemas/projections.ts +2 -2
  149. package/src/schemas/shared-access.ts +16 -0
  150. package/src/schemas/status.ts +16 -22
  151. package/src/schemas/syncs.ts +2 -0
  152. package/src/server.ts +35 -4
  153. package/src/utils/ws.ts +7 -0
@@ -26,9 +26,9 @@ export declare const AuthInvitationSchema: z.ZodObject<{
26
26
  }, "strip", z.ZodTypeAny, {
27
27
  status: "pending" | "accepted" | "revoked";
28
28
  id: string;
29
+ expiresAt: string;
29
30
  email: string;
30
31
  createdAt: string;
31
- expiresAt: string;
32
32
  updatedAt: string;
33
33
  groupIds: string[];
34
34
  revokedAt?: string | undefined;
@@ -36,9 +36,9 @@ export declare const AuthInvitationSchema: z.ZodObject<{
36
36
  }, {
37
37
  status: "pending" | "accepted" | "revoked";
38
38
  id: string;
39
+ expiresAt: string;
39
40
  email: string;
40
41
  createdAt: string;
41
- expiresAt: string;
42
42
  updatedAt: string;
43
43
  groupIds: string[];
44
44
  revokedAt?: string | undefined;
@@ -143,13 +143,13 @@ export declare const AuthAccessTokenSchema: z.ZodObject<{
143
143
  status: "expired" | "active" | "revoked";
144
144
  id: string;
145
145
  kind: "serviceAccount" | "personal";
146
+ expiresAt: string;
146
147
  name: string;
147
148
  subject: {
148
149
  id: string;
149
150
  type: "user" | "serviceAccount";
150
151
  };
151
152
  createdAt: string;
152
- expiresAt: string;
153
153
  revokedAt?: string | undefined;
154
154
  groupIds?: string[] | undefined;
155
155
  subjectLabel?: string | undefined;
@@ -160,13 +160,13 @@ export declare const AuthAccessTokenSchema: z.ZodObject<{
160
160
  status: "expired" | "active" | "revoked";
161
161
  id: string;
162
162
  kind: "serviceAccount" | "personal";
163
+ expiresAt: string;
163
164
  name: string;
164
165
  subject: {
165
166
  id: string;
166
167
  type: "user" | "serviceAccount";
167
168
  };
168
169
  createdAt: string;
169
- expiresAt: string;
170
170
  revokedAt?: string | undefined;
171
171
  groupIds?: string[] | undefined;
172
172
  subjectLabel?: string | undefined;
@@ -427,13 +427,13 @@ export declare const ListAuthAccessTokensResponseSchema: z.ZodObject<{
427
427
  status: "expired" | "active" | "revoked";
428
428
  id: string;
429
429
  kind: "serviceAccount" | "personal";
430
+ expiresAt: string;
430
431
  name: string;
431
432
  subject: {
432
433
  id: string;
433
434
  type: "user" | "serviceAccount";
434
435
  };
435
436
  createdAt: string;
436
- expiresAt: string;
437
437
  revokedAt?: string | undefined;
438
438
  groupIds?: string[] | undefined;
439
439
  subjectLabel?: string | undefined;
@@ -444,13 +444,13 @@ export declare const ListAuthAccessTokensResponseSchema: z.ZodObject<{
444
444
  status: "expired" | "active" | "revoked";
445
445
  id: string;
446
446
  kind: "serviceAccount" | "personal";
447
+ expiresAt: string;
447
448
  name: string;
448
449
  subject: {
449
450
  id: string;
450
451
  type: "user" | "serviceAccount";
451
452
  };
452
453
  createdAt: string;
453
- expiresAt: string;
454
454
  revokedAt?: string | undefined;
455
455
  groupIds?: string[] | undefined;
456
456
  subjectLabel?: string | undefined;
@@ -463,13 +463,13 @@ export declare const ListAuthAccessTokensResponseSchema: z.ZodObject<{
463
463
  status: "expired" | "active" | "revoked";
464
464
  id: string;
465
465
  kind: "serviceAccount" | "personal";
466
+ expiresAt: string;
466
467
  name: string;
467
468
  subject: {
468
469
  id: string;
469
470
  type: "user" | "serviceAccount";
470
471
  };
471
472
  createdAt: string;
472
- expiresAt: string;
473
473
  revokedAt?: string | undefined;
474
474
  groupIds?: string[] | undefined;
475
475
  subjectLabel?: string | undefined;
@@ -482,13 +482,13 @@ export declare const ListAuthAccessTokensResponseSchema: z.ZodObject<{
482
482
  status: "expired" | "active" | "revoked";
483
483
  id: string;
484
484
  kind: "serviceAccount" | "personal";
485
+ expiresAt: string;
485
486
  name: string;
486
487
  subject: {
487
488
  id: string;
488
489
  type: "user" | "serviceAccount";
489
490
  };
490
491
  createdAt: string;
491
- expiresAt: string;
492
492
  revokedAt?: string | undefined;
493
493
  groupIds?: string[] | undefined;
494
494
  subjectLabel?: string | undefined;
@@ -502,12 +502,12 @@ export declare const CreateAuthPersonalAccessTokenBodySchema: z.ZodObject<{
502
502
  expiresAt: z.ZodString;
503
503
  groupIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
504
504
  }, "strip", z.ZodTypeAny, {
505
- name: string;
506
505
  expiresAt: string;
506
+ name: string;
507
507
  groupIds?: string[] | undefined;
508
508
  }, {
509
- name: string;
510
509
  expiresAt: string;
510
+ name: string;
511
511
  groupIds?: string[] | undefined;
512
512
  }>;
513
513
  export declare const CreateAuthPersonalAccessTokenResponseSchema: z.ZodObject<{
@@ -538,13 +538,13 @@ export declare const CreateAuthPersonalAccessTokenResponseSchema: z.ZodObject<{
538
538
  status: "expired" | "active" | "revoked";
539
539
  id: string;
540
540
  kind: "serviceAccount" | "personal";
541
+ expiresAt: string;
541
542
  name: string;
542
543
  subject: {
543
544
  id: string;
544
545
  type: "user" | "serviceAccount";
545
546
  };
546
547
  createdAt: string;
547
- expiresAt: string;
548
548
  revokedAt?: string | undefined;
549
549
  groupIds?: string[] | undefined;
550
550
  subjectLabel?: string | undefined;
@@ -555,13 +555,13 @@ export declare const CreateAuthPersonalAccessTokenResponseSchema: z.ZodObject<{
555
555
  status: "expired" | "active" | "revoked";
556
556
  id: string;
557
557
  kind: "serviceAccount" | "personal";
558
+ expiresAt: string;
558
559
  name: string;
559
560
  subject: {
560
561
  id: string;
561
562
  type: "user" | "serviceAccount";
562
563
  };
563
564
  createdAt: string;
564
- expiresAt: string;
565
565
  revokedAt?: string | undefined;
566
566
  groupIds?: string[] | undefined;
567
567
  subjectLabel?: string | undefined;
@@ -575,13 +575,13 @@ export declare const CreateAuthPersonalAccessTokenResponseSchema: z.ZodObject<{
575
575
  status: "expired" | "active" | "revoked";
576
576
  id: string;
577
577
  kind: "serviceAccount" | "personal";
578
+ expiresAt: string;
578
579
  name: string;
579
580
  subject: {
580
581
  id: string;
581
582
  type: "user" | "serviceAccount";
582
583
  };
583
584
  createdAt: string;
584
- expiresAt: string;
585
585
  revokedAt?: string | undefined;
586
586
  groupIds?: string[] | undefined;
587
587
  subjectLabel?: string | undefined;
@@ -595,13 +595,13 @@ export declare const CreateAuthPersonalAccessTokenResponseSchema: z.ZodObject<{
595
595
  status: "expired" | "active" | "revoked";
596
596
  id: string;
597
597
  kind: "serviceAccount" | "personal";
598
+ expiresAt: string;
598
599
  name: string;
599
600
  subject: {
600
601
  id: string;
601
602
  type: "user" | "serviceAccount";
602
603
  };
603
604
  createdAt: string;
604
- expiresAt: string;
605
605
  revokedAt?: string | undefined;
606
606
  groupIds?: string[] | undefined;
607
607
  subjectLabel?: string | undefined;
@@ -646,13 +646,13 @@ export declare const RevokeAuthAccessTokenResponseSchema: z.ZodObject<{
646
646
  status: "expired" | "active" | "revoked";
647
647
  id: string;
648
648
  kind: "serviceAccount" | "personal";
649
+ expiresAt: string;
649
650
  name: string;
650
651
  subject: {
651
652
  id: string;
652
653
  type: "user" | "serviceAccount";
653
654
  };
654
655
  createdAt: string;
655
- expiresAt: string;
656
656
  revokedAt?: string | undefined;
657
657
  groupIds?: string[] | undefined;
658
658
  subjectLabel?: string | undefined;
@@ -663,13 +663,13 @@ export declare const RevokeAuthAccessTokenResponseSchema: z.ZodObject<{
663
663
  status: "expired" | "active" | "revoked";
664
664
  id: string;
665
665
  kind: "serviceAccount" | "personal";
666
+ expiresAt: string;
666
667
  name: string;
667
668
  subject: {
668
669
  id: string;
669
670
  type: "user" | "serviceAccount";
670
671
  };
671
672
  createdAt: string;
672
- expiresAt: string;
673
673
  revokedAt?: string | undefined;
674
674
  groupIds?: string[] | undefined;
675
675
  subjectLabel?: string | undefined;
@@ -682,13 +682,13 @@ export declare const RevokeAuthAccessTokenResponseSchema: z.ZodObject<{
682
682
  status: "expired" | "active" | "revoked";
683
683
  id: string;
684
684
  kind: "serviceAccount" | "personal";
685
+ expiresAt: string;
685
686
  name: string;
686
687
  subject: {
687
688
  id: string;
688
689
  type: "user" | "serviceAccount";
689
690
  };
690
691
  createdAt: string;
691
- expiresAt: string;
692
692
  revokedAt?: string | undefined;
693
693
  groupIds?: string[] | undefined;
694
694
  subjectLabel?: string | undefined;
@@ -701,13 +701,13 @@ export declare const RevokeAuthAccessTokenResponseSchema: z.ZodObject<{
701
701
  status: "expired" | "active" | "revoked";
702
702
  id: string;
703
703
  kind: "serviceAccount" | "personal";
704
+ expiresAt: string;
704
705
  name: string;
705
706
  subject: {
706
707
  id: string;
707
708
  type: "user" | "serviceAccount";
708
709
  };
709
710
  createdAt: string;
710
- expiresAt: string;
711
711
  revokedAt?: string | undefined;
712
712
  groupIds?: string[] | undefined;
713
713
  subjectLabel?: string | undefined;
@@ -908,13 +908,13 @@ export declare const ListAuthServiceAccountAccessTokensResponseSchema: z.ZodObje
908
908
  status: "expired" | "active" | "revoked";
909
909
  id: string;
910
910
  kind: "serviceAccount" | "personal";
911
+ expiresAt: string;
911
912
  name: string;
912
913
  subject: {
913
914
  id: string;
914
915
  type: "user" | "serviceAccount";
915
916
  };
916
917
  createdAt: string;
917
- expiresAt: string;
918
918
  revokedAt?: string | undefined;
919
919
  groupIds?: string[] | undefined;
920
920
  subjectLabel?: string | undefined;
@@ -925,13 +925,13 @@ export declare const ListAuthServiceAccountAccessTokensResponseSchema: z.ZodObje
925
925
  status: "expired" | "active" | "revoked";
926
926
  id: string;
927
927
  kind: "serviceAccount" | "personal";
928
+ expiresAt: string;
928
929
  name: string;
929
930
  subject: {
930
931
  id: string;
931
932
  type: "user" | "serviceAccount";
932
933
  };
933
934
  createdAt: string;
934
- expiresAt: string;
935
935
  revokedAt?: string | undefined;
936
936
  groupIds?: string[] | undefined;
937
937
  subjectLabel?: string | undefined;
@@ -944,13 +944,13 @@ export declare const ListAuthServiceAccountAccessTokensResponseSchema: z.ZodObje
944
944
  status: "expired" | "active" | "revoked";
945
945
  id: string;
946
946
  kind: "serviceAccount" | "personal";
947
+ expiresAt: string;
947
948
  name: string;
948
949
  subject: {
949
950
  id: string;
950
951
  type: "user" | "serviceAccount";
951
952
  };
952
953
  createdAt: string;
953
- expiresAt: string;
954
954
  revokedAt?: string | undefined;
955
955
  groupIds?: string[] | undefined;
956
956
  subjectLabel?: string | undefined;
@@ -963,13 +963,13 @@ export declare const ListAuthServiceAccountAccessTokensResponseSchema: z.ZodObje
963
963
  status: "expired" | "active" | "revoked";
964
964
  id: string;
965
965
  kind: "serviceAccount" | "personal";
966
+ expiresAt: string;
966
967
  name: string;
967
968
  subject: {
968
969
  id: string;
969
970
  type: "user" | "serviceAccount";
970
971
  };
971
972
  createdAt: string;
972
- expiresAt: string;
973
973
  revokedAt?: string | undefined;
974
974
  groupIds?: string[] | undefined;
975
975
  subjectLabel?: string | undefined;
@@ -983,12 +983,12 @@ export declare const CreateAuthServiceAccountAccessTokenBodySchema: z.ZodObject<
983
983
  expiresAt: z.ZodString;
984
984
  groupIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
985
985
  }, "strip", z.ZodTypeAny, {
986
- name: string;
987
986
  expiresAt: string;
987
+ name: string;
988
988
  groupIds?: string[] | undefined;
989
989
  }, {
990
- name: string;
991
990
  expiresAt: string;
991
+ name: string;
992
992
  groupIds?: string[] | undefined;
993
993
  }>;
994
994
  export declare const CreateAuthServiceAccountAccessTokenResponseSchema: z.ZodObject<{
@@ -1019,13 +1019,13 @@ export declare const CreateAuthServiceAccountAccessTokenResponseSchema: z.ZodObj
1019
1019
  status: "expired" | "active" | "revoked";
1020
1020
  id: string;
1021
1021
  kind: "serviceAccount" | "personal";
1022
+ expiresAt: string;
1022
1023
  name: string;
1023
1024
  subject: {
1024
1025
  id: string;
1025
1026
  type: "user" | "serviceAccount";
1026
1027
  };
1027
1028
  createdAt: string;
1028
- expiresAt: string;
1029
1029
  revokedAt?: string | undefined;
1030
1030
  groupIds?: string[] | undefined;
1031
1031
  subjectLabel?: string | undefined;
@@ -1036,13 +1036,13 @@ export declare const CreateAuthServiceAccountAccessTokenResponseSchema: z.ZodObj
1036
1036
  status: "expired" | "active" | "revoked";
1037
1037
  id: string;
1038
1038
  kind: "serviceAccount" | "personal";
1039
+ expiresAt: string;
1039
1040
  name: string;
1040
1041
  subject: {
1041
1042
  id: string;
1042
1043
  type: "user" | "serviceAccount";
1043
1044
  };
1044
1045
  createdAt: string;
1045
- expiresAt: string;
1046
1046
  revokedAt?: string | undefined;
1047
1047
  groupIds?: string[] | undefined;
1048
1048
  subjectLabel?: string | undefined;
@@ -1056,13 +1056,13 @@ export declare const CreateAuthServiceAccountAccessTokenResponseSchema: z.ZodObj
1056
1056
  status: "expired" | "active" | "revoked";
1057
1057
  id: string;
1058
1058
  kind: "serviceAccount" | "personal";
1059
+ expiresAt: string;
1059
1060
  name: string;
1060
1061
  subject: {
1061
1062
  id: string;
1062
1063
  type: "user" | "serviceAccount";
1063
1064
  };
1064
1065
  createdAt: string;
1065
- expiresAt: string;
1066
1066
  revokedAt?: string | undefined;
1067
1067
  groupIds?: string[] | undefined;
1068
1068
  subjectLabel?: string | undefined;
@@ -1076,13 +1076,13 @@ export declare const CreateAuthServiceAccountAccessTokenResponseSchema: z.ZodObj
1076
1076
  status: "expired" | "active" | "revoked";
1077
1077
  id: string;
1078
1078
  kind: "serviceAccount" | "personal";
1079
+ expiresAt: string;
1079
1080
  name: string;
1080
1081
  subject: {
1081
1082
  id: string;
1082
1083
  type: "user" | "serviceAccount";
1083
1084
  };
1084
1085
  createdAt: string;
1085
- expiresAt: string;
1086
1086
  revokedAt?: string | undefined;
1087
1087
  groupIds?: string[] | undefined;
1088
1088
  subjectLabel?: string | undefined;
@@ -1131,13 +1131,13 @@ export declare const RevokeAuthServiceAccountAccessTokenResponseSchema: z.ZodObj
1131
1131
  status: "expired" | "active" | "revoked";
1132
1132
  id: string;
1133
1133
  kind: "serviceAccount" | "personal";
1134
+ expiresAt: string;
1134
1135
  name: string;
1135
1136
  subject: {
1136
1137
  id: string;
1137
1138
  type: "user" | "serviceAccount";
1138
1139
  };
1139
1140
  createdAt: string;
1140
- expiresAt: string;
1141
1141
  revokedAt?: string | undefined;
1142
1142
  groupIds?: string[] | undefined;
1143
1143
  subjectLabel?: string | undefined;
@@ -1148,13 +1148,13 @@ export declare const RevokeAuthServiceAccountAccessTokenResponseSchema: z.ZodObj
1148
1148
  status: "expired" | "active" | "revoked";
1149
1149
  id: string;
1150
1150
  kind: "serviceAccount" | "personal";
1151
+ expiresAt: string;
1151
1152
  name: string;
1152
1153
  subject: {
1153
1154
  id: string;
1154
1155
  type: "user" | "serviceAccount";
1155
1156
  };
1156
1157
  createdAt: string;
1157
- expiresAt: string;
1158
1158
  revokedAt?: string | undefined;
1159
1159
  groupIds?: string[] | undefined;
1160
1160
  subjectLabel?: string | undefined;
@@ -1167,13 +1167,13 @@ export declare const RevokeAuthServiceAccountAccessTokenResponseSchema: z.ZodObj
1167
1167
  status: "expired" | "active" | "revoked";
1168
1168
  id: string;
1169
1169
  kind: "serviceAccount" | "personal";
1170
+ expiresAt: string;
1170
1171
  name: string;
1171
1172
  subject: {
1172
1173
  id: string;
1173
1174
  type: "user" | "serviceAccount";
1174
1175
  };
1175
1176
  createdAt: string;
1176
- expiresAt: string;
1177
1177
  revokedAt?: string | undefined;
1178
1178
  groupIds?: string[] | undefined;
1179
1179
  subjectLabel?: string | undefined;
@@ -1186,13 +1186,13 @@ export declare const RevokeAuthServiceAccountAccessTokenResponseSchema: z.ZodObj
1186
1186
  status: "expired" | "active" | "revoked";
1187
1187
  id: string;
1188
1188
  kind: "serviceAccount" | "personal";
1189
+ expiresAt: string;
1189
1190
  name: string;
1190
1191
  subject: {
1191
1192
  id: string;
1192
1193
  type: "user" | "serviceAccount";
1193
1194
  };
1194
1195
  createdAt: string;
1195
- expiresAt: string;
1196
1196
  revokedAt?: string | undefined;
1197
1197
  groupIds?: string[] | undefined;
1198
1198
  subjectLabel?: string | undefined;
@@ -1789,14 +1789,14 @@ export declare const CreateAuthInvitationBodySchema: z.ZodObject<{
1789
1789
  revealLink: z.ZodOptional<z.ZodBoolean>;
1790
1790
  }, "strip", z.ZodTypeAny, {
1791
1791
  email: string;
1792
- returnTo?: string | undefined;
1793
1792
  expiresAt?: string | undefined;
1793
+ returnTo?: string | undefined;
1794
1794
  groupIds?: string[] | undefined;
1795
1795
  revealLink?: boolean | undefined;
1796
1796
  }, {
1797
1797
  email: string;
1798
- returnTo?: string | undefined;
1799
1798
  expiresAt?: string | undefined;
1799
+ returnTo?: string | undefined;
1800
1800
  groupIds?: string[] | undefined;
1801
1801
  revealLink?: boolean | undefined;
1802
1802
  }>;
@@ -1814,9 +1814,9 @@ export declare const CreateAuthInvitationResponseSchema: z.ZodObject<{
1814
1814
  }, "strip", z.ZodTypeAny, {
1815
1815
  status: "pending" | "accepted" | "revoked";
1816
1816
  id: string;
1817
+ expiresAt: string;
1817
1818
  email: string;
1818
1819
  createdAt: string;
1819
- expiresAt: string;
1820
1820
  updatedAt: string;
1821
1821
  groupIds: string[];
1822
1822
  revokedAt?: string | undefined;
@@ -1824,9 +1824,9 @@ export declare const CreateAuthInvitationResponseSchema: z.ZodObject<{
1824
1824
  }, {
1825
1825
  status: "pending" | "accepted" | "revoked";
1826
1826
  id: string;
1827
+ expiresAt: string;
1827
1828
  email: string;
1828
1829
  createdAt: string;
1829
- expiresAt: string;
1830
1830
  updatedAt: string;
1831
1831
  groupIds: string[];
1832
1832
  revokedAt?: string | undefined;
@@ -1861,9 +1861,9 @@ export declare const CreateAuthInvitationResponseSchema: z.ZodObject<{
1861
1861
  invitation: {
1862
1862
  status: "pending" | "accepted" | "revoked";
1863
1863
  id: string;
1864
+ expiresAt: string;
1864
1865
  email: string;
1865
1866
  createdAt: string;
1866
- expiresAt: string;
1867
1867
  updatedAt: string;
1868
1868
  groupIds: string[];
1869
1869
  revokedAt?: string | undefined;
@@ -1880,9 +1880,9 @@ export declare const CreateAuthInvitationResponseSchema: z.ZodObject<{
1880
1880
  invitation: {
1881
1881
  status: "pending" | "accepted" | "revoked";
1882
1882
  id: string;
1883
+ expiresAt: string;
1883
1884
  email: string;
1884
1885
  createdAt: string;
1885
- expiresAt: string;
1886
1886
  updatedAt: string;
1887
1887
  groupIds: string[];
1888
1888
  revokedAt?: string | undefined;
@@ -1929,9 +1929,9 @@ export declare const ListAuthInvitationsResponseSchema: z.ZodObject<{
1929
1929
  }, "strip", z.ZodTypeAny, {
1930
1930
  status: "pending" | "accepted" | "revoked";
1931
1931
  id: string;
1932
+ expiresAt: string;
1932
1933
  email: string;
1933
1934
  createdAt: string;
1934
- expiresAt: string;
1935
1935
  updatedAt: string;
1936
1936
  groupIds: string[];
1937
1937
  revokedAt?: string | undefined;
@@ -1939,9 +1939,9 @@ export declare const ListAuthInvitationsResponseSchema: z.ZodObject<{
1939
1939
  }, {
1940
1940
  status: "pending" | "accepted" | "revoked";
1941
1941
  id: string;
1942
+ expiresAt: string;
1942
1943
  email: string;
1943
1944
  createdAt: string;
1944
- expiresAt: string;
1945
1945
  updatedAt: string;
1946
1946
  groupIds: string[];
1947
1947
  revokedAt?: string | undefined;
@@ -1955,9 +1955,9 @@ export declare const ListAuthInvitationsResponseSchema: z.ZodObject<{
1955
1955
  invitations: {
1956
1956
  status: "pending" | "accepted" | "revoked";
1957
1957
  id: string;
1958
+ expiresAt: string;
1958
1959
  email: string;
1959
1960
  createdAt: string;
1960
- expiresAt: string;
1961
1961
  updatedAt: string;
1962
1962
  groupIds: string[];
1963
1963
  revokedAt?: string | undefined;
@@ -1969,9 +1969,9 @@ export declare const ListAuthInvitationsResponseSchema: z.ZodObject<{
1969
1969
  invitations: {
1970
1970
  status: "pending" | "accepted" | "revoked";
1971
1971
  id: string;
1972
+ expiresAt: string;
1972
1973
  email: string;
1973
1974
  createdAt: string;
1974
- expiresAt: string;
1975
1975
  updatedAt: string;
1976
1976
  groupIds: string[];
1977
1977
  revokedAt?: string | undefined;
@@ -1999,9 +1999,9 @@ export declare const RevokeAuthInvitationResponseSchema: z.ZodObject<{
1999
1999
  }, "strip", z.ZodTypeAny, {
2000
2000
  status: "pending" | "accepted" | "revoked";
2001
2001
  id: string;
2002
+ expiresAt: string;
2002
2003
  email: string;
2003
2004
  createdAt: string;
2004
- expiresAt: string;
2005
2005
  updatedAt: string;
2006
2006
  groupIds: string[];
2007
2007
  revokedAt?: string | undefined;
@@ -2009,9 +2009,9 @@ export declare const RevokeAuthInvitationResponseSchema: z.ZodObject<{
2009
2009
  }, {
2010
2010
  status: "pending" | "accepted" | "revoked";
2011
2011
  id: string;
2012
+ expiresAt: string;
2012
2013
  email: string;
2013
2014
  createdAt: string;
2014
- expiresAt: string;
2015
2015
  updatedAt: string;
2016
2016
  groupIds: string[];
2017
2017
  revokedAt?: string | undefined;
@@ -2021,9 +2021,9 @@ export declare const RevokeAuthInvitationResponseSchema: z.ZodObject<{
2021
2021
  invitation: {
2022
2022
  status: "pending" | "accepted" | "revoked";
2023
2023
  id: string;
2024
+ expiresAt: string;
2024
2025
  email: string;
2025
2026
  createdAt: string;
2026
- expiresAt: string;
2027
2027
  updatedAt: string;
2028
2028
  groupIds: string[];
2029
2029
  revokedAt?: string | undefined;
@@ -2033,9 +2033,9 @@ export declare const RevokeAuthInvitationResponseSchema: z.ZodObject<{
2033
2033
  invitation: {
2034
2034
  status: "pending" | "accepted" | "revoked";
2035
2035
  id: string;
2036
+ expiresAt: string;
2036
2037
  email: string;
2037
2038
  createdAt: string;
2038
- expiresAt: string;
2039
2039
  updatedAt: string;
2040
2040
  groupIds: string[];
2041
2041
  revokedAt?: string | undefined;
@@ -2112,6 +2112,14 @@ export declare const AuthSessionResponseSchema: z.ZodUnion<[z.ZodObject<{
2112
2112
  expiresAt: string;
2113
2113
  }>;
2114
2114
  }, "strip", z.ZodTypeAny, {
2115
+ access: {
2116
+ activity: boolean;
2117
+ logs: boolean;
2118
+ usage: boolean;
2119
+ serviceAccounts: boolean;
2120
+ members: boolean;
2121
+ console: boolean;
2122
+ };
2115
2123
  session: {
2116
2124
  id: string;
2117
2125
  expiresAt: string;
@@ -2123,6 +2131,9 @@ export declare const AuthSessionResponseSchema: z.ZodUnion<[z.ZodObject<{
2123
2131
  displayName?: string | undefined;
2124
2132
  avatarUrl?: string | undefined;
2125
2133
  };
2134
+ authenticated: true;
2135
+ csrfToken?: string | undefined;
2136
+ }, {
2126
2137
  access: {
2127
2138
  activity: boolean;
2128
2139
  logs: boolean;
@@ -2131,9 +2142,6 @@ export declare const AuthSessionResponseSchema: z.ZodUnion<[z.ZodObject<{
2131
2142
  members: boolean;
2132
2143
  console: boolean;
2133
2144
  };
2134
- authenticated: true;
2135
- csrfToken?: string | undefined;
2136
- }, {
2137
2145
  session: {
2138
2146
  id: string;
2139
2147
  expiresAt: string;
@@ -2145,14 +2153,6 @@ export declare const AuthSessionResponseSchema: z.ZodUnion<[z.ZodObject<{
2145
2153
  displayName?: string | undefined;
2146
2154
  avatarUrl?: string | undefined;
2147
2155
  };
2148
- access: {
2149
- activity: boolean;
2150
- logs: boolean;
2151
- usage: boolean;
2152
- serviceAccounts: boolean;
2153
- members: boolean;
2154
- console: boolean;
2155
- };
2156
2156
  authenticated: true;
2157
2157
  csrfToken?: string | undefined;
2158
2158
  }>]>;
@@ -2336,8 +2336,8 @@ export declare const AuthSessionSummarySchema: z.ZodObject<{
2336
2336
  clientName: z.ZodOptional<z.ZodString>;
2337
2337
  }, "strip", z.ZodTypeAny, {
2338
2338
  id: string;
2339
- createdAt: string;
2340
2339
  expiresAt: string;
2340
+ createdAt: string;
2341
2341
  current: boolean;
2342
2342
  lastSeenAt?: string | undefined;
2343
2343
  clientName?: string | undefined;
@@ -2345,8 +2345,8 @@ export declare const AuthSessionSummarySchema: z.ZodObject<{
2345
2345
  ipAddress?: string | undefined;
2346
2346
  }, {
2347
2347
  id: string;
2348
- createdAt: string;
2349
2348
  expiresAt: string;
2349
+ createdAt: string;
2350
2350
  current: boolean;
2351
2351
  lastSeenAt?: string | undefined;
2352
2352
  clientName?: string | undefined;
@@ -2366,8 +2366,8 @@ export declare const ListAuthSessionsResponseSchema: z.ZodObject<{
2366
2366
  clientName: z.ZodOptional<z.ZodString>;
2367
2367
  }, "strip", z.ZodTypeAny, {
2368
2368
  id: string;
2369
- createdAt: string;
2370
2369
  expiresAt: string;
2370
+ createdAt: string;
2371
2371
  current: boolean;
2372
2372
  lastSeenAt?: string | undefined;
2373
2373
  clientName?: string | undefined;
@@ -2375,8 +2375,8 @@ export declare const ListAuthSessionsResponseSchema: z.ZodObject<{
2375
2375
  ipAddress?: string | undefined;
2376
2376
  }, {
2377
2377
  id: string;
2378
- createdAt: string;
2379
2378
  expiresAt: string;
2379
+ createdAt: string;
2380
2380
  current: boolean;
2381
2381
  lastSeenAt?: string | undefined;
2382
2382
  clientName?: string | undefined;
@@ -2386,8 +2386,8 @@ export declare const ListAuthSessionsResponseSchema: z.ZodObject<{
2386
2386
  }, "strip", z.ZodTypeAny, {
2387
2387
  sessions: {
2388
2388
  id: string;
2389
- createdAt: string;
2390
2389
  expiresAt: string;
2390
+ createdAt: string;
2391
2391
  current: boolean;
2392
2392
  lastSeenAt?: string | undefined;
2393
2393
  clientName?: string | undefined;
@@ -2397,8 +2397,8 @@ export declare const ListAuthSessionsResponseSchema: z.ZodObject<{
2397
2397
  }, {
2398
2398
  sessions: {
2399
2399
  id: string;
2400
- createdAt: string;
2401
2400
  expiresAt: string;
2401
+ createdAt: string;
2402
2402
  current: boolean;
2403
2403
  lastSeenAt?: string | undefined;
2404
2404
  clientName?: string | undefined;