@sixb/server 0.1.6 → 0.1.8

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 (120) hide show
  1. package/dist/auth/access-token-boundary.d.ts +3 -0
  2. package/dist/auth/access-token-boundary.d.ts.map +1 -1
  3. package/dist/auth/public-routes.d.ts.map +1 -1
  4. package/dist/auth/scope.d.ts +6 -2
  5. package/dist/auth/scope.d.ts.map +1 -1
  6. package/dist/auth/shared-access.d.ts +66 -0
  7. package/dist/auth/shared-access.d.ts.map +1 -0
  8. package/dist/files/content.d.ts +8 -0
  9. package/dist/files/content.d.ts.map +1 -1
  10. package/dist/index.d.ts +1 -0
  11. package/dist/index.d.ts.map +1 -1
  12. package/dist/index.js +3402 -1693
  13. package/dist/index.js.map +35 -28
  14. package/dist/models/display.d.ts +22 -0
  15. package/dist/models/display.d.ts.map +1 -0
  16. package/dist/openapi/security.d.ts +15 -1
  17. package/dist/openapi/security.d.ts.map +1 -1
  18. package/dist/openapi/tags.d.ts +6 -2
  19. package/dist/openapi/tags.d.ts.map +1 -1
  20. package/dist/registerRoutes.d.ts +2 -0
  21. package/dist/registerRoutes.d.ts.map +1 -1
  22. package/dist/routes/action-runs.d.ts +2 -0
  23. package/dist/routes/action-runs.d.ts.map +1 -1
  24. package/dist/routes/actions.d.ts +1 -0
  25. package/dist/routes/actions.d.ts.map +1 -1
  26. package/dist/routes/agent-api-gateway.d.ts.map +1 -1
  27. package/dist/routes/agents.d.ts +100 -90
  28. package/dist/routes/agents.d.ts.map +1 -1
  29. package/dist/routes/ai-accounting.d.ts.map +1 -1
  30. package/dist/routes/auth.d.ts +143 -24
  31. package/dist/routes/auth.d.ts.map +1 -1
  32. package/dist/routes/connector-connection-runs.d.ts +8 -8
  33. package/dist/routes/connector-connections.d.ts +4 -4
  34. package/dist/routes/datasets.d.ts +5 -3
  35. package/dist/routes/datasets.d.ts.map +1 -1
  36. package/dist/routes/events.d.ts +3 -3
  37. package/dist/routes/files.d.ts +1 -0
  38. package/dist/routes/files.d.ts.map +1 -1
  39. package/dist/routes/logs.d.ts +1 -1
  40. package/dist/routes/models.d.ts +18 -1
  41. package/dist/routes/models.d.ts.map +1 -1
  42. package/dist/routes/objects.d.ts +3 -1
  43. package/dist/routes/objects.d.ts.map +1 -1
  44. package/dist/routes/pipelines.d.ts +6 -1
  45. package/dist/routes/pipelines.d.ts.map +1 -1
  46. package/dist/routes/rules.d.ts +1 -1
  47. package/dist/routes/share-grants.d.ts +264 -0
  48. package/dist/routes/share-grants.d.ts.map +1 -0
  49. package/dist/routes/shared-access.d.ts +155 -0
  50. package/dist/routes/shared-access.d.ts.map +1 -0
  51. package/dist/routes/syncs.d.ts +3 -0
  52. package/dist/routes/syncs.d.ts.map +1 -1
  53. package/dist/routes/workflows.d.ts +58 -55
  54. package/dist/routes/workflows.d.ts.map +1 -1
  55. package/dist/routes/ws/logs.d.ts +4 -4
  56. package/dist/schemas/agents.d.ts +385 -230
  57. package/dist/schemas/agents.d.ts.map +1 -1
  58. package/dist/schemas/ai-accounting.d.ts +1847 -295
  59. package/dist/schemas/ai-accounting.d.ts.map +1 -1
  60. package/dist/schemas/ai-limits.d.ts +2210 -0
  61. package/dist/schemas/ai-limits.d.ts.map +1 -0
  62. package/dist/schemas/auth.d.ts +195 -112
  63. package/dist/schemas/auth.d.ts.map +1 -1
  64. package/dist/schemas/datasets.d.ts +28 -22
  65. package/dist/schemas/datasets.d.ts.map +1 -1
  66. package/dist/schemas/events.d.ts +6 -6
  67. package/dist/schemas/files.d.ts +3 -0
  68. package/dist/schemas/files.d.ts.map +1 -1
  69. package/dist/schemas/logs.d.ts +6 -6
  70. package/dist/schemas/models.d.ts +214 -14
  71. package/dist/schemas/models.d.ts.map +1 -1
  72. package/dist/schemas/objects.d.ts +4 -4
  73. package/dist/schemas/pipelines.d.ts +42 -6
  74. package/dist/schemas/pipelines.d.ts.map +1 -1
  75. package/dist/schemas/rules.d.ts +6 -6
  76. package/dist/schemas/share-grants.d.ts +518 -0
  77. package/dist/schemas/share-grants.d.ts.map +1 -0
  78. package/dist/schemas/shared-access.d.ts +42 -0
  79. package/dist/schemas/shared-access.d.ts.map +1 -0
  80. package/dist/schemas/syncs.d.ts +7 -0
  81. package/dist/schemas/syncs.d.ts.map +1 -1
  82. package/dist/schemas/workflows.d.ts +200 -210
  83. package/dist/schemas/workflows.d.ts.map +1 -1
  84. package/dist/server.d.ts +5 -0
  85. package/dist/server.d.ts.map +1 -1
  86. package/dist/utils/http.d.ts +8 -4
  87. package/dist/utils/http.d.ts.map +1 -1
  88. package/package.json +4 -4
  89. package/src/auth/access-token-boundary.ts +17 -2
  90. package/src/auth/public-routes.ts +23 -0
  91. package/src/auth/scope.ts +3 -2
  92. package/src/auth/shared-access.ts +376 -0
  93. package/src/files/content.ts +39 -6
  94. package/src/index.ts +1 -0
  95. package/src/models/display.ts +91 -0
  96. package/src/openapi/security.ts +20 -1
  97. package/src/openapi/tags.ts +4 -0
  98. package/src/registerRoutes.ts +6 -0
  99. package/src/routes/actions.ts +5 -10
  100. package/src/routes/agent-api-gateway.ts +137 -38
  101. package/src/routes/agents.ts +58 -83
  102. package/src/routes/ai-accounting.ts +414 -23
  103. package/src/routes/auth.ts +280 -1
  104. package/src/routes/models.ts +12 -4
  105. package/src/routes/share-grants.ts +238 -0
  106. package/src/routes/shared-access.ts +165 -0
  107. package/src/routes/workflows.ts +3 -5
  108. package/src/routes/ws/agents.ts +17 -6
  109. package/src/schemas/agents.ts +38 -50
  110. package/src/schemas/ai-accounting.ts +88 -19
  111. package/src/schemas/ai-limits.ts +116 -0
  112. package/src/schemas/auth.ts +32 -0
  113. package/src/schemas/datasets.ts +2 -1
  114. package/src/schemas/files.ts +1 -0
  115. package/src/schemas/models.ts +33 -5
  116. package/src/schemas/share-grants.ts +109 -0
  117. package/src/schemas/shared-access.ts +31 -0
  118. package/src/schemas/workflows.ts +0 -2
  119. package/src/server.ts +91 -1
  120. package/src/utils/http.ts +33 -2
@@ -28,21 +28,21 @@ export declare const AuthInvitationSchema: z.ZodObject<{
28
28
  id: string;
29
29
  email: string;
30
30
  expiresAt: string;
31
- groupIds: string[];
32
31
  createdAt: string;
33
32
  updatedAt: string;
34
- acceptedAt?: string | undefined;
33
+ groupIds: string[];
35
34
  revokedAt?: string | undefined;
35
+ acceptedAt?: string | undefined;
36
36
  }, {
37
37
  status: "pending" | "accepted" | "revoked";
38
38
  id: string;
39
39
  email: string;
40
40
  expiresAt: string;
41
- groupIds: string[];
42
41
  createdAt: string;
43
42
  updatedAt: string;
44
- acceptedAt?: string | undefined;
43
+ groupIds: string[];
45
44
  revokedAt?: string | undefined;
45
+ acceptedAt?: string | undefined;
46
46
  }>;
47
47
  export declare const AuthInvitationDeliverySchema: z.ZodObject<{
48
48
  status: z.ZodEnum<["sent", "skipped", "rate_limited", "not_supported"]>;
@@ -111,8 +111,8 @@ export declare const AuthAccessTokenSchema: z.ZodObject<{
111
111
  createdAt: string;
112
112
  subjectType: "user" | "serviceAccount";
113
113
  subjectId: string;
114
- groupIds?: string[] | undefined;
115
114
  revokedAt?: string | undefined;
115
+ groupIds?: string[] | undefined;
116
116
  subjectLabel?: string | undefined;
117
117
  lastUsedAt?: string | undefined;
118
118
  lastUsedUserAgent?: string | undefined;
@@ -126,8 +126,8 @@ export declare const AuthAccessTokenSchema: z.ZodObject<{
126
126
  createdAt: string;
127
127
  subjectType: "user" | "serviceAccount";
128
128
  subjectId: string;
129
- groupIds?: string[] | undefined;
130
129
  revokedAt?: string | undefined;
130
+ groupIds?: string[] | undefined;
131
131
  subjectLabel?: string | undefined;
132
132
  lastUsedAt?: string | undefined;
133
133
  lastUsedUserAgent?: string | undefined;
@@ -145,17 +145,17 @@ export declare const AuthServiceAccountSchema: z.ZodObject<{
145
145
  status: "active" | "suspended";
146
146
  id: string;
147
147
  name: string;
148
- groupIds: string[];
149
148
  createdAt: string;
150
149
  updatedAt: string;
150
+ groupIds: string[];
151
151
  description?: string | undefined;
152
152
  }, {
153
153
  status: "active" | "suspended";
154
154
  id: string;
155
155
  name: string;
156
- groupIds: string[];
157
156
  createdAt: string;
158
157
  updatedAt: string;
158
+ groupIds: string[];
159
159
  description?: string | undefined;
160
160
  }>;
161
161
  export declare const AuthMemberUserSchema: z.ZodObject<{
@@ -172,16 +172,16 @@ export declare const AuthMemberUserSchema: z.ZodObject<{
172
172
  email: string;
173
173
  createdAt: string;
174
174
  updatedAt: string;
175
- avatarUrl?: string | undefined;
176
175
  displayName?: string | undefined;
176
+ avatarUrl?: string | undefined;
177
177
  }, {
178
178
  status: "active" | "suspended";
179
179
  id: string;
180
180
  email: string;
181
181
  createdAt: string;
182
182
  updatedAt: string;
183
- avatarUrl?: string | undefined;
184
183
  displayName?: string | undefined;
184
+ avatarUrl?: string | undefined;
185
185
  }>;
186
186
  export declare const AuthManagedMemberSchema: z.ZodObject<{
187
187
  user: z.ZodObject<{
@@ -198,16 +198,16 @@ export declare const AuthManagedMemberSchema: z.ZodObject<{
198
198
  email: string;
199
199
  createdAt: string;
200
200
  updatedAt: string;
201
- avatarUrl?: string | undefined;
202
201
  displayName?: string | undefined;
202
+ avatarUrl?: string | undefined;
203
203
  }, {
204
204
  status: "active" | "suspended";
205
205
  id: string;
206
206
  email: string;
207
207
  createdAt: string;
208
208
  updatedAt: string;
209
- avatarUrl?: string | undefined;
210
209
  displayName?: string | undefined;
210
+ avatarUrl?: string | undefined;
211
211
  }>;
212
212
  groupIds: z.ZodArray<z.ZodString, "many">;
213
213
  }, "strip", z.ZodTypeAny, {
@@ -217,8 +217,8 @@ export declare const AuthManagedMemberSchema: z.ZodObject<{
217
217
  email: string;
218
218
  createdAt: string;
219
219
  updatedAt: string;
220
- avatarUrl?: string | undefined;
221
220
  displayName?: string | undefined;
221
+ avatarUrl?: string | undefined;
222
222
  };
223
223
  groupIds: string[];
224
224
  }, {
@@ -228,8 +228,8 @@ export declare const AuthManagedMemberSchema: z.ZodObject<{
228
228
  email: string;
229
229
  createdAt: string;
230
230
  updatedAt: string;
231
- avatarUrl?: string | undefined;
232
231
  displayName?: string | undefined;
232
+ avatarUrl?: string | undefined;
233
233
  };
234
234
  groupIds: string[];
235
235
  }>;
@@ -261,16 +261,16 @@ export declare const AuthMemberSchema: z.ZodObject<{
261
261
  email: string;
262
262
  createdAt: string;
263
263
  updatedAt: string;
264
- avatarUrl?: string | undefined;
265
264
  displayName?: string | undefined;
265
+ avatarUrl?: string | undefined;
266
266
  }, {
267
267
  status: "active" | "suspended";
268
268
  id: string;
269
269
  email: string;
270
270
  createdAt: string;
271
271
  updatedAt: string;
272
- avatarUrl?: string | undefined;
273
272
  displayName?: string | undefined;
273
+ avatarUrl?: string | undefined;
274
274
  }>;
275
275
  groupIds: z.ZodArray<z.ZodString, "many">;
276
276
  } & {
@@ -294,15 +294,15 @@ export declare const AuthMemberSchema: z.ZodObject<{
294
294
  email: string;
295
295
  createdAt: string;
296
296
  updatedAt: string;
297
- avatarUrl?: string | undefined;
298
297
  displayName?: string | undefined;
298
+ avatarUrl?: string | undefined;
299
299
  };
300
- groupIds: string[];
301
300
  capabilities: {
302
301
  assignGroups: boolean;
303
302
  suspend: boolean;
304
303
  reactivate: boolean;
305
304
  };
305
+ groupIds: string[];
306
306
  }, {
307
307
  user: {
308
308
  status: "active" | "suspended";
@@ -310,15 +310,15 @@ export declare const AuthMemberSchema: z.ZodObject<{
310
310
  email: string;
311
311
  createdAt: string;
312
312
  updatedAt: string;
313
- avatarUrl?: string | undefined;
314
313
  displayName?: string | undefined;
314
+ avatarUrl?: string | undefined;
315
315
  };
316
- groupIds: string[];
317
316
  capabilities: {
318
317
  assignGroups: boolean;
319
318
  suspend: boolean;
320
319
  reactivate: boolean;
321
320
  };
321
+ groupIds: string[];
322
322
  }>;
323
323
  export declare const GetAuthAccessManagementOptionsResponseSchema: z.ZodObject<{
324
324
  groups: z.ZodArray<z.ZodObject<{
@@ -372,8 +372,8 @@ export declare const ListAuthAccessTokensResponseSchema: z.ZodObject<{
372
372
  createdAt: string;
373
373
  subjectType: "user" | "serviceAccount";
374
374
  subjectId: string;
375
- groupIds?: string[] | undefined;
376
375
  revokedAt?: string | undefined;
376
+ groupIds?: string[] | undefined;
377
377
  subjectLabel?: string | undefined;
378
378
  lastUsedAt?: string | undefined;
379
379
  lastUsedUserAgent?: string | undefined;
@@ -387,8 +387,8 @@ export declare const ListAuthAccessTokensResponseSchema: z.ZodObject<{
387
387
  createdAt: string;
388
388
  subjectType: "user" | "serviceAccount";
389
389
  subjectId: string;
390
- groupIds?: string[] | undefined;
391
390
  revokedAt?: string | undefined;
391
+ groupIds?: string[] | undefined;
392
392
  subjectLabel?: string | undefined;
393
393
  lastUsedAt?: string | undefined;
394
394
  lastUsedUserAgent?: string | undefined;
@@ -404,8 +404,8 @@ export declare const ListAuthAccessTokensResponseSchema: z.ZodObject<{
404
404
  createdAt: string;
405
405
  subjectType: "user" | "serviceAccount";
406
406
  subjectId: string;
407
- groupIds?: string[] | undefined;
408
407
  revokedAt?: string | undefined;
408
+ groupIds?: string[] | undefined;
409
409
  subjectLabel?: string | undefined;
410
410
  lastUsedAt?: string | undefined;
411
411
  lastUsedUserAgent?: string | undefined;
@@ -421,8 +421,8 @@ export declare const ListAuthAccessTokensResponseSchema: z.ZodObject<{
421
421
  createdAt: string;
422
422
  subjectType: "user" | "serviceAccount";
423
423
  subjectId: string;
424
- groupIds?: string[] | undefined;
425
424
  revokedAt?: string | undefined;
425
+ groupIds?: string[] | undefined;
426
426
  subjectLabel?: string | undefined;
427
427
  lastUsedAt?: string | undefined;
428
428
  lastUsedUserAgent?: string | undefined;
@@ -467,8 +467,8 @@ export declare const CreateAuthPersonalAccessTokenResponseSchema: z.ZodObject<{
467
467
  createdAt: string;
468
468
  subjectType: "user" | "serviceAccount";
469
469
  subjectId: string;
470
- groupIds?: string[] | undefined;
471
470
  revokedAt?: string | undefined;
471
+ groupIds?: string[] | undefined;
472
472
  subjectLabel?: string | undefined;
473
473
  lastUsedAt?: string | undefined;
474
474
  lastUsedUserAgent?: string | undefined;
@@ -482,8 +482,8 @@ export declare const CreateAuthPersonalAccessTokenResponseSchema: z.ZodObject<{
482
482
  createdAt: string;
483
483
  subjectType: "user" | "serviceAccount";
484
484
  subjectId: string;
485
- groupIds?: string[] | undefined;
486
485
  revokedAt?: string | undefined;
486
+ groupIds?: string[] | undefined;
487
487
  subjectLabel?: string | undefined;
488
488
  lastUsedAt?: string | undefined;
489
489
  lastUsedUserAgent?: string | undefined;
@@ -500,8 +500,8 @@ export declare const CreateAuthPersonalAccessTokenResponseSchema: z.ZodObject<{
500
500
  createdAt: string;
501
501
  subjectType: "user" | "serviceAccount";
502
502
  subjectId: string;
503
- groupIds?: string[] | undefined;
504
503
  revokedAt?: string | undefined;
504
+ groupIds?: string[] | undefined;
505
505
  subjectLabel?: string | undefined;
506
506
  lastUsedAt?: string | undefined;
507
507
  lastUsedUserAgent?: string | undefined;
@@ -518,8 +518,8 @@ export declare const CreateAuthPersonalAccessTokenResponseSchema: z.ZodObject<{
518
518
  createdAt: string;
519
519
  subjectType: "user" | "serviceAccount";
520
520
  subjectId: string;
521
- groupIds?: string[] | undefined;
522
521
  revokedAt?: string | undefined;
522
+ groupIds?: string[] | undefined;
523
523
  subjectLabel?: string | undefined;
524
524
  lastUsedAt?: string | undefined;
525
525
  lastUsedUserAgent?: string | undefined;
@@ -559,8 +559,8 @@ export declare const RevokeAuthAccessTokenResponseSchema: z.ZodObject<{
559
559
  createdAt: string;
560
560
  subjectType: "user" | "serviceAccount";
561
561
  subjectId: string;
562
- groupIds?: string[] | undefined;
563
562
  revokedAt?: string | undefined;
563
+ groupIds?: string[] | undefined;
564
564
  subjectLabel?: string | undefined;
565
565
  lastUsedAt?: string | undefined;
566
566
  lastUsedUserAgent?: string | undefined;
@@ -574,8 +574,8 @@ export declare const RevokeAuthAccessTokenResponseSchema: z.ZodObject<{
574
574
  createdAt: string;
575
575
  subjectType: "user" | "serviceAccount";
576
576
  subjectId: string;
577
- groupIds?: string[] | undefined;
578
577
  revokedAt?: string | undefined;
578
+ groupIds?: string[] | undefined;
579
579
  subjectLabel?: string | undefined;
580
580
  lastUsedAt?: string | undefined;
581
581
  lastUsedUserAgent?: string | undefined;
@@ -591,8 +591,8 @@ export declare const RevokeAuthAccessTokenResponseSchema: z.ZodObject<{
591
591
  createdAt: string;
592
592
  subjectType: "user" | "serviceAccount";
593
593
  subjectId: string;
594
- groupIds?: string[] | undefined;
595
594
  revokedAt?: string | undefined;
595
+ groupIds?: string[] | undefined;
596
596
  subjectLabel?: string | undefined;
597
597
  lastUsedAt?: string | undefined;
598
598
  lastUsedUserAgent?: string | undefined;
@@ -608,8 +608,8 @@ export declare const RevokeAuthAccessTokenResponseSchema: z.ZodObject<{
608
608
  createdAt: string;
609
609
  subjectType: "user" | "serviceAccount";
610
610
  subjectId: string;
611
- groupIds?: string[] | undefined;
612
611
  revokedAt?: string | undefined;
612
+ groupIds?: string[] | undefined;
613
613
  subjectLabel?: string | undefined;
614
614
  lastUsedAt?: string | undefined;
615
615
  lastUsedUserAgent?: string | undefined;
@@ -629,17 +629,17 @@ export declare const ListAuthServiceAccountsResponseSchema: z.ZodObject<{
629
629
  status: "active" | "suspended";
630
630
  id: string;
631
631
  name: string;
632
- groupIds: string[];
633
632
  createdAt: string;
634
633
  updatedAt: string;
634
+ groupIds: string[];
635
635
  description?: string | undefined;
636
636
  }, {
637
637
  status: "active" | "suspended";
638
638
  id: string;
639
639
  name: string;
640
- groupIds: string[];
641
640
  createdAt: string;
642
641
  updatedAt: string;
642
+ groupIds: string[];
643
643
  description?: string | undefined;
644
644
  }>, "many">;
645
645
  }, "strip", z.ZodTypeAny, {
@@ -647,9 +647,9 @@ export declare const ListAuthServiceAccountsResponseSchema: z.ZodObject<{
647
647
  status: "active" | "suspended";
648
648
  id: string;
649
649
  name: string;
650
- groupIds: string[];
651
650
  createdAt: string;
652
651
  updatedAt: string;
652
+ groupIds: string[];
653
653
  description?: string | undefined;
654
654
  }[];
655
655
  }, {
@@ -657,9 +657,9 @@ export declare const ListAuthServiceAccountsResponseSchema: z.ZodObject<{
657
657
  status: "active" | "suspended";
658
658
  id: string;
659
659
  name: string;
660
- groupIds: string[];
661
660
  createdAt: string;
662
661
  updatedAt: string;
662
+ groupIds: string[];
663
663
  description?: string | undefined;
664
664
  }[];
665
665
  }>;
@@ -692,17 +692,17 @@ export declare const CreateAuthServiceAccountResponseSchema: z.ZodObject<{
692
692
  status: "active" | "suspended";
693
693
  id: string;
694
694
  name: string;
695
- groupIds: string[];
696
695
  createdAt: string;
697
696
  updatedAt: string;
697
+ groupIds: string[];
698
698
  description?: string | undefined;
699
699
  }, {
700
700
  status: "active" | "suspended";
701
701
  id: string;
702
702
  name: string;
703
- groupIds: string[];
704
703
  createdAt: string;
705
704
  updatedAt: string;
705
+ groupIds: string[];
706
706
  description?: string | undefined;
707
707
  }>;
708
708
  }, "strip", z.ZodTypeAny, {
@@ -710,9 +710,9 @@ export declare const CreateAuthServiceAccountResponseSchema: z.ZodObject<{
710
710
  status: "active" | "suspended";
711
711
  id: string;
712
712
  name: string;
713
- groupIds: string[];
714
713
  createdAt: string;
715
714
  updatedAt: string;
715
+ groupIds: string[];
716
716
  description?: string | undefined;
717
717
  };
718
718
  }, {
@@ -720,9 +720,9 @@ export declare const CreateAuthServiceAccountResponseSchema: z.ZodObject<{
720
720
  status: "active" | "suspended";
721
721
  id: string;
722
722
  name: string;
723
- groupIds: string[];
724
723
  createdAt: string;
725
724
  updatedAt: string;
725
+ groupIds: string[];
726
726
  description?: string | undefined;
727
727
  };
728
728
  }>;
@@ -746,17 +746,17 @@ export declare const DisableAuthServiceAccountResponseSchema: z.ZodObject<{
746
746
  status: "active" | "suspended";
747
747
  id: string;
748
748
  name: string;
749
- groupIds: string[];
750
749
  createdAt: string;
751
750
  updatedAt: string;
751
+ groupIds: string[];
752
752
  description?: string | undefined;
753
753
  }, {
754
754
  status: "active" | "suspended";
755
755
  id: string;
756
756
  name: string;
757
- groupIds: string[];
758
757
  createdAt: string;
759
758
  updatedAt: string;
759
+ groupIds: string[];
760
760
  description?: string | undefined;
761
761
  }>;
762
762
  }, "strip", z.ZodTypeAny, {
@@ -764,9 +764,9 @@ export declare const DisableAuthServiceAccountResponseSchema: z.ZodObject<{
764
764
  status: "active" | "suspended";
765
765
  id: string;
766
766
  name: string;
767
- groupIds: string[];
768
767
  createdAt: string;
769
768
  updatedAt: string;
769
+ groupIds: string[];
770
770
  description?: string | undefined;
771
771
  };
772
772
  }, {
@@ -774,9 +774,9 @@ export declare const DisableAuthServiceAccountResponseSchema: z.ZodObject<{
774
774
  status: "active" | "suspended";
775
775
  id: string;
776
776
  name: string;
777
- groupIds: string[];
778
777
  createdAt: string;
779
778
  updatedAt: string;
779
+ groupIds: string[];
780
780
  description?: string | undefined;
781
781
  };
782
782
  }>;
@@ -805,8 +805,8 @@ export declare const ListAuthServiceAccountAccessTokensResponseSchema: z.ZodObje
805
805
  createdAt: string;
806
806
  subjectType: "user" | "serviceAccount";
807
807
  subjectId: string;
808
- groupIds?: string[] | undefined;
809
808
  revokedAt?: string | undefined;
809
+ groupIds?: string[] | undefined;
810
810
  subjectLabel?: string | undefined;
811
811
  lastUsedAt?: string | undefined;
812
812
  lastUsedUserAgent?: string | undefined;
@@ -820,8 +820,8 @@ export declare const ListAuthServiceAccountAccessTokensResponseSchema: z.ZodObje
820
820
  createdAt: string;
821
821
  subjectType: "user" | "serviceAccount";
822
822
  subjectId: string;
823
- groupIds?: string[] | undefined;
824
823
  revokedAt?: string | undefined;
824
+ groupIds?: string[] | undefined;
825
825
  subjectLabel?: string | undefined;
826
826
  lastUsedAt?: string | undefined;
827
827
  lastUsedUserAgent?: string | undefined;
@@ -837,8 +837,8 @@ export declare const ListAuthServiceAccountAccessTokensResponseSchema: z.ZodObje
837
837
  createdAt: string;
838
838
  subjectType: "user" | "serviceAccount";
839
839
  subjectId: string;
840
- groupIds?: string[] | undefined;
841
840
  revokedAt?: string | undefined;
841
+ groupIds?: string[] | undefined;
842
842
  subjectLabel?: string | undefined;
843
843
  lastUsedAt?: string | undefined;
844
844
  lastUsedUserAgent?: string | undefined;
@@ -854,8 +854,8 @@ export declare const ListAuthServiceAccountAccessTokensResponseSchema: z.ZodObje
854
854
  createdAt: string;
855
855
  subjectType: "user" | "serviceAccount";
856
856
  subjectId: string;
857
- groupIds?: string[] | undefined;
858
857
  revokedAt?: string | undefined;
858
+ groupIds?: string[] | undefined;
859
859
  subjectLabel?: string | undefined;
860
860
  lastUsedAt?: string | undefined;
861
861
  lastUsedUserAgent?: string | undefined;
@@ -900,8 +900,8 @@ export declare const CreateAuthServiceAccountAccessTokenResponseSchema: z.ZodObj
900
900
  createdAt: string;
901
901
  subjectType: "user" | "serviceAccount";
902
902
  subjectId: string;
903
- groupIds?: string[] | undefined;
904
903
  revokedAt?: string | undefined;
904
+ groupIds?: string[] | undefined;
905
905
  subjectLabel?: string | undefined;
906
906
  lastUsedAt?: string | undefined;
907
907
  lastUsedUserAgent?: string | undefined;
@@ -915,8 +915,8 @@ export declare const CreateAuthServiceAccountAccessTokenResponseSchema: z.ZodObj
915
915
  createdAt: string;
916
916
  subjectType: "user" | "serviceAccount";
917
917
  subjectId: string;
918
- groupIds?: string[] | undefined;
919
918
  revokedAt?: string | undefined;
919
+ groupIds?: string[] | undefined;
920
920
  subjectLabel?: string | undefined;
921
921
  lastUsedAt?: string | undefined;
922
922
  lastUsedUserAgent?: string | undefined;
@@ -933,8 +933,8 @@ export declare const CreateAuthServiceAccountAccessTokenResponseSchema: z.ZodObj
933
933
  createdAt: string;
934
934
  subjectType: "user" | "serviceAccount";
935
935
  subjectId: string;
936
- groupIds?: string[] | undefined;
937
936
  revokedAt?: string | undefined;
937
+ groupIds?: string[] | undefined;
938
938
  subjectLabel?: string | undefined;
939
939
  lastUsedAt?: string | undefined;
940
940
  lastUsedUserAgent?: string | undefined;
@@ -951,8 +951,8 @@ export declare const CreateAuthServiceAccountAccessTokenResponseSchema: z.ZodObj
951
951
  createdAt: string;
952
952
  subjectType: "user" | "serviceAccount";
953
953
  subjectId: string;
954
- groupIds?: string[] | undefined;
955
954
  revokedAt?: string | undefined;
955
+ groupIds?: string[] | undefined;
956
956
  subjectLabel?: string | undefined;
957
957
  lastUsedAt?: string | undefined;
958
958
  lastUsedUserAgent?: string | undefined;
@@ -996,8 +996,8 @@ export declare const RevokeAuthServiceAccountAccessTokenResponseSchema: z.ZodObj
996
996
  createdAt: string;
997
997
  subjectType: "user" | "serviceAccount";
998
998
  subjectId: string;
999
- groupIds?: string[] | undefined;
1000
999
  revokedAt?: string | undefined;
1000
+ groupIds?: string[] | undefined;
1001
1001
  subjectLabel?: string | undefined;
1002
1002
  lastUsedAt?: string | undefined;
1003
1003
  lastUsedUserAgent?: string | undefined;
@@ -1011,8 +1011,8 @@ export declare const RevokeAuthServiceAccountAccessTokenResponseSchema: z.ZodObj
1011
1011
  createdAt: string;
1012
1012
  subjectType: "user" | "serviceAccount";
1013
1013
  subjectId: string;
1014
- groupIds?: string[] | undefined;
1015
1014
  revokedAt?: string | undefined;
1015
+ groupIds?: string[] | undefined;
1016
1016
  subjectLabel?: string | undefined;
1017
1017
  lastUsedAt?: string | undefined;
1018
1018
  lastUsedUserAgent?: string | undefined;
@@ -1028,8 +1028,8 @@ export declare const RevokeAuthServiceAccountAccessTokenResponseSchema: z.ZodObj
1028
1028
  createdAt: string;
1029
1029
  subjectType: "user" | "serviceAccount";
1030
1030
  subjectId: string;
1031
- groupIds?: string[] | undefined;
1032
1031
  revokedAt?: string | undefined;
1032
+ groupIds?: string[] | undefined;
1033
1033
  subjectLabel?: string | undefined;
1034
1034
  lastUsedAt?: string | undefined;
1035
1035
  lastUsedUserAgent?: string | undefined;
@@ -1045,8 +1045,8 @@ export declare const RevokeAuthServiceAccountAccessTokenResponseSchema: z.ZodObj
1045
1045
  createdAt: string;
1046
1046
  subjectType: "user" | "serviceAccount";
1047
1047
  subjectId: string;
1048
- groupIds?: string[] | undefined;
1049
1048
  revokedAt?: string | undefined;
1049
+ groupIds?: string[] | undefined;
1050
1050
  subjectLabel?: string | undefined;
1051
1051
  lastUsedAt?: string | undefined;
1052
1052
  lastUsedUserAgent?: string | undefined;
@@ -1257,16 +1257,16 @@ export declare const ListAuthMembersResponseSchema: z.ZodObject<{
1257
1257
  email: string;
1258
1258
  createdAt: string;
1259
1259
  updatedAt: string;
1260
- avatarUrl?: string | undefined;
1261
1260
  displayName?: string | undefined;
1261
+ avatarUrl?: string | undefined;
1262
1262
  }, {
1263
1263
  status: "active" | "suspended";
1264
1264
  id: string;
1265
1265
  email: string;
1266
1266
  createdAt: string;
1267
1267
  updatedAt: string;
1268
- avatarUrl?: string | undefined;
1269
1268
  displayName?: string | undefined;
1269
+ avatarUrl?: string | undefined;
1270
1270
  }>;
1271
1271
  groupIds: z.ZodArray<z.ZodString, "many">;
1272
1272
  } & {
@@ -1290,15 +1290,15 @@ export declare const ListAuthMembersResponseSchema: z.ZodObject<{
1290
1290
  email: string;
1291
1291
  createdAt: string;
1292
1292
  updatedAt: string;
1293
- avatarUrl?: string | undefined;
1294
1293
  displayName?: string | undefined;
1294
+ avatarUrl?: string | undefined;
1295
1295
  };
1296
- groupIds: string[];
1297
1296
  capabilities: {
1298
1297
  assignGroups: boolean;
1299
1298
  suspend: boolean;
1300
1299
  reactivate: boolean;
1301
1300
  };
1301
+ groupIds: string[];
1302
1302
  }, {
1303
1303
  user: {
1304
1304
  status: "active" | "suspended";
@@ -1306,15 +1306,15 @@ export declare const ListAuthMembersResponseSchema: z.ZodObject<{
1306
1306
  email: string;
1307
1307
  createdAt: string;
1308
1308
  updatedAt: string;
1309
- avatarUrl?: string | undefined;
1310
1309
  displayName?: string | undefined;
1310
+ avatarUrl?: string | undefined;
1311
1311
  };
1312
- groupIds: string[];
1313
1312
  capabilities: {
1314
1313
  assignGroups: boolean;
1315
1314
  suspend: boolean;
1316
1315
  reactivate: boolean;
1317
1316
  };
1317
+ groupIds: string[];
1318
1318
  }>, "many">;
1319
1319
  hasMore: z.ZodBoolean;
1320
1320
  total: z.ZodNumber;
@@ -1328,15 +1328,15 @@ export declare const ListAuthMembersResponseSchema: z.ZodObject<{
1328
1328
  email: string;
1329
1329
  createdAt: string;
1330
1330
  updatedAt: string;
1331
- avatarUrl?: string | undefined;
1332
1331
  displayName?: string | undefined;
1332
+ avatarUrl?: string | undefined;
1333
1333
  };
1334
- groupIds: string[];
1335
1334
  capabilities: {
1336
1335
  assignGroups: boolean;
1337
1336
  suspend: boolean;
1338
1337
  reactivate: boolean;
1339
1338
  };
1339
+ groupIds: string[];
1340
1340
  }[];
1341
1341
  }, {
1342
1342
  hasMore: boolean;
@@ -1348,15 +1348,15 @@ export declare const ListAuthMembersResponseSchema: z.ZodObject<{
1348
1348
  email: string;
1349
1349
  createdAt: string;
1350
1350
  updatedAt: string;
1351
- avatarUrl?: string | undefined;
1352
1351
  displayName?: string | undefined;
1352
+ avatarUrl?: string | undefined;
1353
1353
  };
1354
- groupIds: string[];
1355
1354
  capabilities: {
1356
1355
  assignGroups: boolean;
1357
1356
  suspend: boolean;
1358
1357
  reactivate: boolean;
1359
1358
  };
1359
+ groupIds: string[];
1360
1360
  }[];
1361
1361
  }>;
1362
1362
  export declare const AuthMemberParamsSchema: z.ZodObject<{
@@ -1389,16 +1389,16 @@ export declare const UpdateAuthMemberGroupsResponseSchema: z.ZodObject<{
1389
1389
  email: string;
1390
1390
  createdAt: string;
1391
1391
  updatedAt: string;
1392
- avatarUrl?: string | undefined;
1393
1392
  displayName?: string | undefined;
1393
+ avatarUrl?: string | undefined;
1394
1394
  }, {
1395
1395
  status: "active" | "suspended";
1396
1396
  id: string;
1397
1397
  email: string;
1398
1398
  createdAt: string;
1399
1399
  updatedAt: string;
1400
- avatarUrl?: string | undefined;
1401
1400
  displayName?: string | undefined;
1401
+ avatarUrl?: string | undefined;
1402
1402
  }>;
1403
1403
  groupIds: z.ZodArray<z.ZodString, "many">;
1404
1404
  }, "strip", z.ZodTypeAny, {
@@ -1408,8 +1408,8 @@ export declare const UpdateAuthMemberGroupsResponseSchema: z.ZodObject<{
1408
1408
  email: string;
1409
1409
  createdAt: string;
1410
1410
  updatedAt: string;
1411
- avatarUrl?: string | undefined;
1412
1411
  displayName?: string | undefined;
1412
+ avatarUrl?: string | undefined;
1413
1413
  };
1414
1414
  groupIds: string[];
1415
1415
  }, {
@@ -1419,8 +1419,8 @@ export declare const UpdateAuthMemberGroupsResponseSchema: z.ZodObject<{
1419
1419
  email: string;
1420
1420
  createdAt: string;
1421
1421
  updatedAt: string;
1422
- avatarUrl?: string | undefined;
1423
1422
  displayName?: string | undefined;
1423
+ avatarUrl?: string | undefined;
1424
1424
  };
1425
1425
  groupIds: string[];
1426
1426
  }>;
@@ -1432,8 +1432,8 @@ export declare const UpdateAuthMemberGroupsResponseSchema: z.ZodObject<{
1432
1432
  email: string;
1433
1433
  createdAt: string;
1434
1434
  updatedAt: string;
1435
- avatarUrl?: string | undefined;
1436
1435
  displayName?: string | undefined;
1436
+ avatarUrl?: string | undefined;
1437
1437
  };
1438
1438
  groupIds: string[];
1439
1439
  };
@@ -1445,8 +1445,8 @@ export declare const UpdateAuthMemberGroupsResponseSchema: z.ZodObject<{
1445
1445
  email: string;
1446
1446
  createdAt: string;
1447
1447
  updatedAt: string;
1448
- avatarUrl?: string | undefined;
1449
1448
  displayName?: string | undefined;
1449
+ avatarUrl?: string | undefined;
1450
1450
  };
1451
1451
  groupIds: string[];
1452
1452
  };
@@ -1467,16 +1467,16 @@ export declare const SuspendAuthMemberResponseSchema: z.ZodObject<{
1467
1467
  email: string;
1468
1468
  createdAt: string;
1469
1469
  updatedAt: string;
1470
- avatarUrl?: string | undefined;
1471
1470
  displayName?: string | undefined;
1471
+ avatarUrl?: string | undefined;
1472
1472
  }, {
1473
1473
  status: "active" | "suspended";
1474
1474
  id: string;
1475
1475
  email: string;
1476
1476
  createdAt: string;
1477
1477
  updatedAt: string;
1478
- avatarUrl?: string | undefined;
1479
1478
  displayName?: string | undefined;
1479
+ avatarUrl?: string | undefined;
1480
1480
  }>;
1481
1481
  groupIds: z.ZodArray<z.ZodString, "many">;
1482
1482
  }, "strip", z.ZodTypeAny, {
@@ -1486,8 +1486,8 @@ export declare const SuspendAuthMemberResponseSchema: z.ZodObject<{
1486
1486
  email: string;
1487
1487
  createdAt: string;
1488
1488
  updatedAt: string;
1489
- avatarUrl?: string | undefined;
1490
1489
  displayName?: string | undefined;
1490
+ avatarUrl?: string | undefined;
1491
1491
  };
1492
1492
  groupIds: string[];
1493
1493
  }, {
@@ -1497,8 +1497,8 @@ export declare const SuspendAuthMemberResponseSchema: z.ZodObject<{
1497
1497
  email: string;
1498
1498
  createdAt: string;
1499
1499
  updatedAt: string;
1500
- avatarUrl?: string | undefined;
1501
1500
  displayName?: string | undefined;
1501
+ avatarUrl?: string | undefined;
1502
1502
  };
1503
1503
  groupIds: string[];
1504
1504
  }>;
@@ -1510,8 +1510,8 @@ export declare const SuspendAuthMemberResponseSchema: z.ZodObject<{
1510
1510
  email: string;
1511
1511
  createdAt: string;
1512
1512
  updatedAt: string;
1513
- avatarUrl?: string | undefined;
1514
1513
  displayName?: string | undefined;
1514
+ avatarUrl?: string | undefined;
1515
1515
  };
1516
1516
  groupIds: string[];
1517
1517
  };
@@ -1523,8 +1523,8 @@ export declare const SuspendAuthMemberResponseSchema: z.ZodObject<{
1523
1523
  email: string;
1524
1524
  createdAt: string;
1525
1525
  updatedAt: string;
1526
- avatarUrl?: string | undefined;
1527
1526
  displayName?: string | undefined;
1527
+ avatarUrl?: string | undefined;
1528
1528
  };
1529
1529
  groupIds: string[];
1530
1530
  };
@@ -1545,16 +1545,16 @@ export declare const ReactivateAuthMemberResponseSchema: z.ZodObject<{
1545
1545
  email: string;
1546
1546
  createdAt: string;
1547
1547
  updatedAt: string;
1548
- avatarUrl?: string | undefined;
1549
1548
  displayName?: string | undefined;
1549
+ avatarUrl?: string | undefined;
1550
1550
  }, {
1551
1551
  status: "active" | "suspended";
1552
1552
  id: string;
1553
1553
  email: string;
1554
1554
  createdAt: string;
1555
1555
  updatedAt: string;
1556
- avatarUrl?: string | undefined;
1557
1556
  displayName?: string | undefined;
1557
+ avatarUrl?: string | undefined;
1558
1558
  }>;
1559
1559
  groupIds: z.ZodArray<z.ZodString, "many">;
1560
1560
  }, "strip", z.ZodTypeAny, {
@@ -1564,8 +1564,8 @@ export declare const ReactivateAuthMemberResponseSchema: z.ZodObject<{
1564
1564
  email: string;
1565
1565
  createdAt: string;
1566
1566
  updatedAt: string;
1567
- avatarUrl?: string | undefined;
1568
1567
  displayName?: string | undefined;
1568
+ avatarUrl?: string | undefined;
1569
1569
  };
1570
1570
  groupIds: string[];
1571
1571
  }, {
@@ -1575,8 +1575,8 @@ export declare const ReactivateAuthMemberResponseSchema: z.ZodObject<{
1575
1575
  email: string;
1576
1576
  createdAt: string;
1577
1577
  updatedAt: string;
1578
- avatarUrl?: string | undefined;
1579
1578
  displayName?: string | undefined;
1579
+ avatarUrl?: string | undefined;
1580
1580
  };
1581
1581
  groupIds: string[];
1582
1582
  }>;
@@ -1588,8 +1588,8 @@ export declare const ReactivateAuthMemberResponseSchema: z.ZodObject<{
1588
1588
  email: string;
1589
1589
  createdAt: string;
1590
1590
  updatedAt: string;
1591
- avatarUrl?: string | undefined;
1592
1591
  displayName?: string | undefined;
1592
+ avatarUrl?: string | undefined;
1593
1593
  };
1594
1594
  groupIds: string[];
1595
1595
  };
@@ -1601,8 +1601,8 @@ export declare const ReactivateAuthMemberResponseSchema: z.ZodObject<{
1601
1601
  email: string;
1602
1602
  createdAt: string;
1603
1603
  updatedAt: string;
1604
- avatarUrl?: string | undefined;
1605
1604
  displayName?: string | undefined;
1605
+ avatarUrl?: string | undefined;
1606
1606
  };
1607
1607
  groupIds: string[];
1608
1608
  };
@@ -1645,21 +1645,21 @@ export declare const CreateAuthInvitationResponseSchema: z.ZodObject<{
1645
1645
  id: string;
1646
1646
  email: string;
1647
1647
  expiresAt: string;
1648
- groupIds: string[];
1649
1648
  createdAt: string;
1650
1649
  updatedAt: string;
1651
- acceptedAt?: string | undefined;
1650
+ groupIds: string[];
1652
1651
  revokedAt?: string | undefined;
1652
+ acceptedAt?: string | undefined;
1653
1653
  }, {
1654
1654
  status: "pending" | "accepted" | "revoked";
1655
1655
  id: string;
1656
1656
  email: string;
1657
1657
  expiresAt: string;
1658
- groupIds: string[];
1659
1658
  createdAt: string;
1660
1659
  updatedAt: string;
1661
- acceptedAt?: string | undefined;
1660
+ groupIds: string[];
1662
1661
  revokedAt?: string | undefined;
1662
+ acceptedAt?: string | undefined;
1663
1663
  }>;
1664
1664
  delivery: z.ZodObject<{
1665
1665
  status: z.ZodEnum<["sent", "skipped", "rate_limited", "not_supported"]>;
@@ -1692,11 +1692,11 @@ export declare const CreateAuthInvitationResponseSchema: z.ZodObject<{
1692
1692
  id: string;
1693
1693
  email: string;
1694
1694
  expiresAt: string;
1695
- groupIds: string[];
1696
1695
  createdAt: string;
1697
1696
  updatedAt: string;
1698
- acceptedAt?: string | undefined;
1697
+ groupIds: string[];
1699
1698
  revokedAt?: string | undefined;
1699
+ acceptedAt?: string | undefined;
1700
1700
  };
1701
1701
  delivery: {
1702
1702
  status: "sent" | "skipped" | "rate_limited" | "not_supported";
@@ -1711,11 +1711,11 @@ export declare const CreateAuthInvitationResponseSchema: z.ZodObject<{
1711
1711
  id: string;
1712
1712
  email: string;
1713
1713
  expiresAt: string;
1714
- groupIds: string[];
1715
1714
  createdAt: string;
1716
1715
  updatedAt: string;
1717
- acceptedAt?: string | undefined;
1716
+ groupIds: string[];
1718
1717
  revokedAt?: string | undefined;
1718
+ acceptedAt?: string | undefined;
1719
1719
  };
1720
1720
  delivery: {
1721
1721
  status: "sent" | "skipped" | "rate_limited" | "not_supported";
@@ -1760,21 +1760,21 @@ export declare const ListAuthInvitationsResponseSchema: z.ZodObject<{
1760
1760
  id: string;
1761
1761
  email: string;
1762
1762
  expiresAt: string;
1763
- groupIds: string[];
1764
1763
  createdAt: string;
1765
1764
  updatedAt: string;
1766
- acceptedAt?: string | undefined;
1765
+ groupIds: string[];
1767
1766
  revokedAt?: string | undefined;
1767
+ acceptedAt?: string | undefined;
1768
1768
  }, {
1769
1769
  status: "pending" | "accepted" | "revoked";
1770
1770
  id: string;
1771
1771
  email: string;
1772
1772
  expiresAt: string;
1773
- groupIds: string[];
1774
1773
  createdAt: string;
1775
1774
  updatedAt: string;
1776
- acceptedAt?: string | undefined;
1775
+ groupIds: string[];
1777
1776
  revokedAt?: string | undefined;
1777
+ acceptedAt?: string | undefined;
1778
1778
  }>, "many">;
1779
1779
  hasMore: z.ZodBoolean;
1780
1780
  total: z.ZodNumber;
@@ -1786,11 +1786,11 @@ export declare const ListAuthInvitationsResponseSchema: z.ZodObject<{
1786
1786
  id: string;
1787
1787
  email: string;
1788
1788
  expiresAt: string;
1789
- groupIds: string[];
1790
1789
  createdAt: string;
1791
1790
  updatedAt: string;
1792
- acceptedAt?: string | undefined;
1791
+ groupIds: string[];
1793
1792
  revokedAt?: string | undefined;
1793
+ acceptedAt?: string | undefined;
1794
1794
  }[];
1795
1795
  }, {
1796
1796
  hasMore: boolean;
@@ -1800,11 +1800,11 @@ export declare const ListAuthInvitationsResponseSchema: z.ZodObject<{
1800
1800
  id: string;
1801
1801
  email: string;
1802
1802
  expiresAt: string;
1803
- groupIds: string[];
1804
1803
  createdAt: string;
1805
1804
  updatedAt: string;
1806
- acceptedAt?: string | undefined;
1805
+ groupIds: string[];
1807
1806
  revokedAt?: string | undefined;
1807
+ acceptedAt?: string | undefined;
1808
1808
  }[];
1809
1809
  }>;
1810
1810
  export declare const RevokeAuthInvitationParamsSchema: z.ZodObject<{
@@ -1830,21 +1830,21 @@ export declare const RevokeAuthInvitationResponseSchema: z.ZodObject<{
1830
1830
  id: string;
1831
1831
  email: string;
1832
1832
  expiresAt: string;
1833
- groupIds: string[];
1834
1833
  createdAt: string;
1835
1834
  updatedAt: string;
1836
- acceptedAt?: string | undefined;
1835
+ groupIds: string[];
1837
1836
  revokedAt?: string | undefined;
1837
+ acceptedAt?: string | undefined;
1838
1838
  }, {
1839
1839
  status: "pending" | "accepted" | "revoked";
1840
1840
  id: string;
1841
1841
  email: string;
1842
1842
  expiresAt: string;
1843
- groupIds: string[];
1844
1843
  createdAt: string;
1845
1844
  updatedAt: string;
1846
- acceptedAt?: string | undefined;
1845
+ groupIds: string[];
1847
1846
  revokedAt?: string | undefined;
1847
+ acceptedAt?: string | undefined;
1848
1848
  }>;
1849
1849
  }, "strip", z.ZodTypeAny, {
1850
1850
  invitation: {
@@ -1852,11 +1852,11 @@ export declare const RevokeAuthInvitationResponseSchema: z.ZodObject<{
1852
1852
  id: string;
1853
1853
  email: string;
1854
1854
  expiresAt: string;
1855
- groupIds: string[];
1856
1855
  createdAt: string;
1857
1856
  updatedAt: string;
1858
- acceptedAt?: string | undefined;
1857
+ groupIds: string[];
1859
1858
  revokedAt?: string | undefined;
1859
+ acceptedAt?: string | undefined;
1860
1860
  };
1861
1861
  }, {
1862
1862
  invitation: {
@@ -1864,11 +1864,11 @@ export declare const RevokeAuthInvitationResponseSchema: z.ZodObject<{
1864
1864
  id: string;
1865
1865
  email: string;
1866
1866
  expiresAt: string;
1867
- groupIds: string[];
1868
1867
  createdAt: string;
1869
1868
  updatedAt: string;
1870
- acceptedAt?: string | undefined;
1869
+ groupIds: string[];
1871
1870
  revokedAt?: string | undefined;
1871
+ acceptedAt?: string | undefined;
1872
1872
  };
1873
1873
  }>;
1874
1874
  export declare const AuthSessionResponseSchema: z.ZodUnion<[z.ZodObject<{
@@ -1900,14 +1900,14 @@ export declare const AuthSessionResponseSchema: z.ZodUnion<[z.ZodObject<{
1900
1900
  id: string;
1901
1901
  email: string;
1902
1902
  groupIds: string[];
1903
- avatarUrl?: string | undefined;
1904
1903
  displayName?: string | undefined;
1904
+ avatarUrl?: string | undefined;
1905
1905
  }, {
1906
1906
  id: string;
1907
1907
  email: string;
1908
1908
  groupIds: string[];
1909
- avatarUrl?: string | undefined;
1910
1909
  displayName?: string | undefined;
1910
+ avatarUrl?: string | undefined;
1911
1911
  }>;
1912
1912
  session: z.ZodObject<{
1913
1913
  id: z.ZodString;
@@ -1929,8 +1929,8 @@ export declare const AuthSessionResponseSchema: z.ZodUnion<[z.ZodObject<{
1929
1929
  id: string;
1930
1930
  email: string;
1931
1931
  groupIds: string[];
1932
- avatarUrl?: string | undefined;
1933
1932
  displayName?: string | undefined;
1933
+ avatarUrl?: string | undefined;
1934
1934
  };
1935
1935
  authenticated: true;
1936
1936
  applicationAccess: {
@@ -1947,8 +1947,8 @@ export declare const AuthSessionResponseSchema: z.ZodUnion<[z.ZodObject<{
1947
1947
  id: string;
1948
1948
  email: string;
1949
1949
  groupIds: string[];
1950
- avatarUrl?: string | undefined;
1951
1950
  displayName?: string | undefined;
1951
+ avatarUrl?: string | undefined;
1952
1952
  };
1953
1953
  authenticated: true;
1954
1954
  applicationAccess: {
@@ -1963,6 +1963,89 @@ export declare const AuthSignOutResponseSchema: z.ZodObject<{
1963
1963
  }, {
1964
1964
  success: boolean;
1965
1965
  }>;
1966
+ export declare const CreateDeviceAuthorizationBodySchema: z.ZodObject<{
1967
+ clientName: z.ZodString;
1968
+ tokenName: z.ZodString;
1969
+ expiresIn: z.ZodOptional<z.ZodLiteral<"90d">>;
1970
+ }, "strip", z.ZodTypeAny, {
1971
+ clientName: string;
1972
+ tokenName: string;
1973
+ expiresIn?: "90d" | undefined;
1974
+ }, {
1975
+ clientName: string;
1976
+ tokenName: string;
1977
+ expiresIn?: "90d" | undefined;
1978
+ }>;
1979
+ export declare const CreateDeviceAuthorizationResponseSchema: z.ZodObject<{
1980
+ deviceCode: z.ZodString;
1981
+ userCode: z.ZodString;
1982
+ verificationUri: z.ZodString;
1983
+ verificationUriComplete: z.ZodString;
1984
+ expiresAt: z.ZodString;
1985
+ interval: z.ZodNumber;
1986
+ }, "strip", z.ZodTypeAny, {
1987
+ expiresAt: string;
1988
+ deviceCode: string;
1989
+ userCode: string;
1990
+ verificationUri: string;
1991
+ verificationUriComplete: string;
1992
+ interval: number;
1993
+ }, {
1994
+ expiresAt: string;
1995
+ deviceCode: string;
1996
+ userCode: string;
1997
+ verificationUri: string;
1998
+ verificationUriComplete: string;
1999
+ interval: number;
2000
+ }>;
2001
+ export declare const ExchangeDeviceAuthorizationBodySchema: z.ZodObject<{
2002
+ deviceCode: z.ZodString;
2003
+ }, "strip", z.ZodTypeAny, {
2004
+ deviceCode: string;
2005
+ }, {
2006
+ deviceCode: string;
2007
+ }>;
2008
+ export declare const ExchangeDeviceAuthorizationResponseSchema: z.ZodUnion<[z.ZodObject<{
2009
+ status: z.ZodLiteral<"pending">;
2010
+ }, "strip", z.ZodTypeAny, {
2011
+ status: "pending";
2012
+ }, {
2013
+ status: "pending";
2014
+ }>, z.ZodObject<{
2015
+ status: z.ZodLiteral<"denied">;
2016
+ }, "strip", z.ZodTypeAny, {
2017
+ status: "denied";
2018
+ }, {
2019
+ status: "denied";
2020
+ }>, z.ZodObject<{
2021
+ status: z.ZodLiteral<"expired">;
2022
+ }, "strip", z.ZodTypeAny, {
2023
+ status: "expired";
2024
+ }, {
2025
+ status: "expired";
2026
+ }>, z.ZodObject<{
2027
+ status: z.ZodLiteral<"approved">;
2028
+ accessToken: z.ZodString;
2029
+ }, "strip", z.ZodTypeAny, {
2030
+ status: "approved";
2031
+ accessToken: string;
2032
+ }, {
2033
+ status: "approved";
2034
+ accessToken: string;
2035
+ }>]>;
2036
+ export declare const DeviceAuthorizationDecisionBodySchema: z.ZodObject<{
2037
+ userCode: z.ZodString;
2038
+ decision: z.ZodEnum<["approve", "deny"]>;
2039
+ csrfToken: z.ZodString;
2040
+ }, "strip", z.ZodTypeAny, {
2041
+ csrfToken: string;
2042
+ userCode: string;
2043
+ decision: "deny" | "approve";
2044
+ }, {
2045
+ csrfToken: string;
2046
+ userCode: string;
2047
+ decision: "deny" | "approve";
2048
+ }>;
1966
2049
  export declare const AuthSessionSummarySchema: z.ZodObject<{
1967
2050
  id: z.ZodString;
1968
2051
  audience: z.ZodEnum<["atlas", "app"]>;