@sixb/server 0.1.5 → 0.1.7

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 (74) hide show
  1. package/dist/auth/public-routes.d.ts.map +1 -1
  2. package/dist/auth/scope.d.ts +6 -2
  3. package/dist/auth/scope.d.ts.map +1 -1
  4. package/dist/files/content.d.ts +8 -0
  5. package/dist/files/content.d.ts.map +1 -1
  6. package/dist/index.js +2507 -1573
  7. package/dist/index.js.map +22 -20
  8. package/dist/models/display.d.ts +22 -0
  9. package/dist/models/display.d.ts.map +1 -0
  10. package/dist/routes/action-runs.d.ts +2 -0
  11. package/dist/routes/action-runs.d.ts.map +1 -1
  12. package/dist/routes/actions.d.ts +1 -0
  13. package/dist/routes/actions.d.ts.map +1 -1
  14. package/dist/routes/agent-api-gateway.d.ts.map +1 -1
  15. package/dist/routes/agents.d.ts +99 -89
  16. package/dist/routes/agents.d.ts.map +1 -1
  17. package/dist/routes/ai-accounting.d.ts.map +1 -1
  18. package/dist/routes/auth.d.ts +139 -15
  19. package/dist/routes/auth.d.ts.map +1 -1
  20. package/dist/routes/events.d.ts +3 -3
  21. package/dist/routes/files.d.ts +1 -0
  22. package/dist/routes/files.d.ts.map +1 -1
  23. package/dist/routes/models.d.ts +18 -1
  24. package/dist/routes/models.d.ts.map +1 -1
  25. package/dist/routes/objects.d.ts +3 -1
  26. package/dist/routes/objects.d.ts.map +1 -1
  27. package/dist/routes/pipelines.d.ts +2 -1
  28. package/dist/routes/pipelines.d.ts.map +1 -1
  29. package/dist/routes/rules.d.ts +1 -1
  30. package/dist/routes/syncs.d.ts +1 -0
  31. package/dist/routes/syncs.d.ts.map +1 -1
  32. package/dist/routes/workflows.d.ts +57 -54
  33. package/dist/routes/workflows.d.ts.map +1 -1
  34. package/dist/routes/ws/logs.d.ts +4 -4
  35. package/dist/schemas/agents.d.ts +378 -215
  36. package/dist/schemas/agents.d.ts.map +1 -1
  37. package/dist/schemas/ai-accounting.d.ts +1847 -295
  38. package/dist/schemas/ai-accounting.d.ts.map +1 -1
  39. package/dist/schemas/ai-limits.d.ts +2210 -0
  40. package/dist/schemas/ai-limits.d.ts.map +1 -0
  41. package/dist/schemas/auth.d.ts +202 -72
  42. package/dist/schemas/auth.d.ts.map +1 -1
  43. package/dist/schemas/events.d.ts +6 -6
  44. package/dist/schemas/files.d.ts +3 -0
  45. package/dist/schemas/files.d.ts.map +1 -1
  46. package/dist/schemas/models.d.ts +214 -14
  47. package/dist/schemas/models.d.ts.map +1 -1
  48. package/dist/schemas/objects.d.ts +4 -4
  49. package/dist/schemas/pipelines.d.ts +6 -6
  50. package/dist/schemas/rules.d.ts +6 -6
  51. package/dist/schemas/workflows.d.ts +196 -206
  52. package/dist/schemas/workflows.d.ts.map +1 -1
  53. package/dist/utils/http.d.ts +8 -4
  54. package/dist/utils/http.d.ts.map +1 -1
  55. package/package.json +6 -6
  56. package/src/auth/public-routes.ts +18 -0
  57. package/src/auth/scope.ts +3 -2
  58. package/src/files/content.ts +39 -6
  59. package/src/models/display.ts +91 -0
  60. package/src/routes/agent-api-gateway.ts +137 -38
  61. package/src/routes/agents.ts +58 -83
  62. package/src/routes/ai-accounting.ts +414 -23
  63. package/src/routes/auth.ts +297 -2
  64. package/src/routes/models.ts +12 -4
  65. package/src/routes/workflows.ts +3 -5
  66. package/src/routes/ws/agents.ts +17 -6
  67. package/src/schemas/agents.ts +40 -49
  68. package/src/schemas/ai-accounting.ts +88 -19
  69. package/src/schemas/ai-limits.ts +116 -0
  70. package/src/schemas/auth.ts +39 -0
  71. package/src/schemas/files.ts +1 -0
  72. package/src/schemas/models.ts +33 -5
  73. package/src/schemas/workflows.ts +0 -2
  74. package/src/utils/http.ts +33 -2
@@ -28,9 +28,9 @@ 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;
33
+ groupIds: string[];
34
34
  acceptedAt?: string | undefined;
35
35
  revokedAt?: string | undefined;
36
36
  }, {
@@ -38,18 +38,36 @@ export declare const AuthInvitationSchema: z.ZodObject<{
38
38
  id: string;
39
39
  email: string;
40
40
  expiresAt: string;
41
- groupIds: string[];
42
41
  createdAt: string;
43
42
  updatedAt: string;
43
+ groupIds: string[];
44
44
  acceptedAt?: string | undefined;
45
45
  revokedAt?: string | undefined;
46
46
  }>;
47
47
  export declare const AuthInvitationDeliverySchema: z.ZodObject<{
48
48
  status: z.ZodEnum<["sent", "skipped", "rate_limited", "not_supported"]>;
49
+ link: z.ZodOptional<z.ZodObject<{
50
+ url: z.ZodString;
51
+ expiresAt: z.ZodOptional<z.ZodString>;
52
+ }, "strip", z.ZodTypeAny, {
53
+ url: string;
54
+ expiresAt?: string | undefined;
55
+ }, {
56
+ url: string;
57
+ expiresAt?: string | undefined;
58
+ }>>;
49
59
  }, "strip", z.ZodTypeAny, {
50
60
  status: "sent" | "skipped" | "rate_limited" | "not_supported";
61
+ link?: {
62
+ url: string;
63
+ expiresAt?: string | undefined;
64
+ } | undefined;
51
65
  }, {
52
66
  status: "sent" | "skipped" | "rate_limited" | "not_supported";
67
+ link?: {
68
+ url: string;
69
+ expiresAt?: string | undefined;
70
+ } | undefined;
53
71
  }>;
54
72
  export declare const AuthInvitationGroupOptionSchema: z.ZodObject<{
55
73
  id: z.ZodString;
@@ -127,17 +145,17 @@ export declare const AuthServiceAccountSchema: z.ZodObject<{
127
145
  status: "active" | "suspended";
128
146
  id: string;
129
147
  name: string;
130
- groupIds: string[];
131
148
  createdAt: string;
132
149
  updatedAt: string;
150
+ groupIds: string[];
133
151
  description?: string | undefined;
134
152
  }, {
135
153
  status: "active" | "suspended";
136
154
  id: string;
137
155
  name: string;
138
- groupIds: string[];
139
156
  createdAt: string;
140
157
  updatedAt: string;
158
+ groupIds: string[];
141
159
  description?: string | undefined;
142
160
  }>;
143
161
  export declare const AuthMemberUserSchema: z.ZodObject<{
@@ -154,16 +172,16 @@ export declare const AuthMemberUserSchema: z.ZodObject<{
154
172
  email: string;
155
173
  createdAt: string;
156
174
  updatedAt: string;
157
- avatarUrl?: string | undefined;
158
175
  displayName?: string | undefined;
176
+ avatarUrl?: string | undefined;
159
177
  }, {
160
178
  status: "active" | "suspended";
161
179
  id: string;
162
180
  email: string;
163
181
  createdAt: string;
164
182
  updatedAt: string;
165
- avatarUrl?: string | undefined;
166
183
  displayName?: string | undefined;
184
+ avatarUrl?: string | undefined;
167
185
  }>;
168
186
  export declare const AuthManagedMemberSchema: z.ZodObject<{
169
187
  user: z.ZodObject<{
@@ -180,16 +198,16 @@ export declare const AuthManagedMemberSchema: z.ZodObject<{
180
198
  email: string;
181
199
  createdAt: string;
182
200
  updatedAt: string;
183
- avatarUrl?: string | undefined;
184
201
  displayName?: string | undefined;
202
+ avatarUrl?: string | undefined;
185
203
  }, {
186
204
  status: "active" | "suspended";
187
205
  id: string;
188
206
  email: string;
189
207
  createdAt: string;
190
208
  updatedAt: string;
191
- avatarUrl?: string | undefined;
192
209
  displayName?: string | undefined;
210
+ avatarUrl?: string | undefined;
193
211
  }>;
194
212
  groupIds: z.ZodArray<z.ZodString, "many">;
195
213
  }, "strip", z.ZodTypeAny, {
@@ -199,8 +217,8 @@ export declare const AuthManagedMemberSchema: z.ZodObject<{
199
217
  email: string;
200
218
  createdAt: string;
201
219
  updatedAt: string;
202
- avatarUrl?: string | undefined;
203
220
  displayName?: string | undefined;
221
+ avatarUrl?: string | undefined;
204
222
  };
205
223
  groupIds: string[];
206
224
  }, {
@@ -210,8 +228,8 @@ export declare const AuthManagedMemberSchema: z.ZodObject<{
210
228
  email: string;
211
229
  createdAt: string;
212
230
  updatedAt: string;
213
- avatarUrl?: string | undefined;
214
231
  displayName?: string | undefined;
232
+ avatarUrl?: string | undefined;
215
233
  };
216
234
  groupIds: string[];
217
235
  }>;
@@ -243,16 +261,16 @@ export declare const AuthMemberSchema: z.ZodObject<{
243
261
  email: string;
244
262
  createdAt: string;
245
263
  updatedAt: string;
246
- avatarUrl?: string | undefined;
247
264
  displayName?: string | undefined;
265
+ avatarUrl?: string | undefined;
248
266
  }, {
249
267
  status: "active" | "suspended";
250
268
  id: string;
251
269
  email: string;
252
270
  createdAt: string;
253
271
  updatedAt: string;
254
- avatarUrl?: string | undefined;
255
272
  displayName?: string | undefined;
273
+ avatarUrl?: string | undefined;
256
274
  }>;
257
275
  groupIds: z.ZodArray<z.ZodString, "many">;
258
276
  } & {
@@ -276,15 +294,15 @@ export declare const AuthMemberSchema: z.ZodObject<{
276
294
  email: string;
277
295
  createdAt: string;
278
296
  updatedAt: string;
279
- avatarUrl?: string | undefined;
280
297
  displayName?: string | undefined;
298
+ avatarUrl?: string | undefined;
281
299
  };
282
- groupIds: string[];
283
300
  capabilities: {
284
301
  assignGroups: boolean;
285
302
  suspend: boolean;
286
303
  reactivate: boolean;
287
304
  };
305
+ groupIds: string[];
288
306
  }, {
289
307
  user: {
290
308
  status: "active" | "suspended";
@@ -292,15 +310,15 @@ export declare const AuthMemberSchema: z.ZodObject<{
292
310
  email: string;
293
311
  createdAt: string;
294
312
  updatedAt: string;
295
- avatarUrl?: string | undefined;
296
313
  displayName?: string | undefined;
314
+ avatarUrl?: string | undefined;
297
315
  };
298
- groupIds: string[];
299
316
  capabilities: {
300
317
  assignGroups: boolean;
301
318
  suspend: boolean;
302
319
  reactivate: boolean;
303
320
  };
321
+ groupIds: string[];
304
322
  }>;
305
323
  export declare const GetAuthAccessManagementOptionsResponseSchema: z.ZodObject<{
306
324
  groups: z.ZodArray<z.ZodObject<{
@@ -611,17 +629,17 @@ export declare const ListAuthServiceAccountsResponseSchema: z.ZodObject<{
611
629
  status: "active" | "suspended";
612
630
  id: string;
613
631
  name: string;
614
- groupIds: string[];
615
632
  createdAt: string;
616
633
  updatedAt: string;
634
+ groupIds: string[];
617
635
  description?: string | undefined;
618
636
  }, {
619
637
  status: "active" | "suspended";
620
638
  id: string;
621
639
  name: string;
622
- groupIds: string[];
623
640
  createdAt: string;
624
641
  updatedAt: string;
642
+ groupIds: string[];
625
643
  description?: string | undefined;
626
644
  }>, "many">;
627
645
  }, "strip", z.ZodTypeAny, {
@@ -629,9 +647,9 @@ export declare const ListAuthServiceAccountsResponseSchema: z.ZodObject<{
629
647
  status: "active" | "suspended";
630
648
  id: string;
631
649
  name: string;
632
- groupIds: string[];
633
650
  createdAt: string;
634
651
  updatedAt: string;
652
+ groupIds: string[];
635
653
  description?: string | undefined;
636
654
  }[];
637
655
  }, {
@@ -639,9 +657,9 @@ export declare const ListAuthServiceAccountsResponseSchema: z.ZodObject<{
639
657
  status: "active" | "suspended";
640
658
  id: string;
641
659
  name: string;
642
- groupIds: string[];
643
660
  createdAt: string;
644
661
  updatedAt: string;
662
+ groupIds: string[];
645
663
  description?: string | undefined;
646
664
  }[];
647
665
  }>;
@@ -674,17 +692,17 @@ export declare const CreateAuthServiceAccountResponseSchema: z.ZodObject<{
674
692
  status: "active" | "suspended";
675
693
  id: string;
676
694
  name: string;
677
- groupIds: string[];
678
695
  createdAt: string;
679
696
  updatedAt: string;
697
+ groupIds: string[];
680
698
  description?: string | undefined;
681
699
  }, {
682
700
  status: "active" | "suspended";
683
701
  id: string;
684
702
  name: string;
685
- groupIds: string[];
686
703
  createdAt: string;
687
704
  updatedAt: string;
705
+ groupIds: string[];
688
706
  description?: string | undefined;
689
707
  }>;
690
708
  }, "strip", z.ZodTypeAny, {
@@ -692,9 +710,9 @@ export declare const CreateAuthServiceAccountResponseSchema: z.ZodObject<{
692
710
  status: "active" | "suspended";
693
711
  id: string;
694
712
  name: string;
695
- groupIds: string[];
696
713
  createdAt: string;
697
714
  updatedAt: string;
715
+ groupIds: string[];
698
716
  description?: string | undefined;
699
717
  };
700
718
  }, {
@@ -702,9 +720,9 @@ export declare const CreateAuthServiceAccountResponseSchema: z.ZodObject<{
702
720
  status: "active" | "suspended";
703
721
  id: string;
704
722
  name: string;
705
- groupIds: string[];
706
723
  createdAt: string;
707
724
  updatedAt: string;
725
+ groupIds: string[];
708
726
  description?: string | undefined;
709
727
  };
710
728
  }>;
@@ -728,17 +746,17 @@ export declare const DisableAuthServiceAccountResponseSchema: z.ZodObject<{
728
746
  status: "active" | "suspended";
729
747
  id: string;
730
748
  name: string;
731
- groupIds: string[];
732
749
  createdAt: string;
733
750
  updatedAt: string;
751
+ groupIds: string[];
734
752
  description?: string | undefined;
735
753
  }, {
736
754
  status: "active" | "suspended";
737
755
  id: string;
738
756
  name: string;
739
- groupIds: string[];
740
757
  createdAt: string;
741
758
  updatedAt: string;
759
+ groupIds: string[];
742
760
  description?: string | undefined;
743
761
  }>;
744
762
  }, "strip", z.ZodTypeAny, {
@@ -746,9 +764,9 @@ export declare const DisableAuthServiceAccountResponseSchema: z.ZodObject<{
746
764
  status: "active" | "suspended";
747
765
  id: string;
748
766
  name: string;
749
- groupIds: string[];
750
767
  createdAt: string;
751
768
  updatedAt: string;
769
+ groupIds: string[];
752
770
  description?: string | undefined;
753
771
  };
754
772
  }, {
@@ -756,9 +774,9 @@ export declare const DisableAuthServiceAccountResponseSchema: z.ZodObject<{
756
774
  status: "active" | "suspended";
757
775
  id: string;
758
776
  name: string;
759
- groupIds: string[];
760
777
  createdAt: string;
761
778
  updatedAt: string;
779
+ groupIds: string[];
762
780
  description?: string | undefined;
763
781
  };
764
782
  }>;
@@ -1239,16 +1257,16 @@ export declare const ListAuthMembersResponseSchema: z.ZodObject<{
1239
1257
  email: string;
1240
1258
  createdAt: string;
1241
1259
  updatedAt: string;
1242
- avatarUrl?: string | undefined;
1243
1260
  displayName?: string | undefined;
1261
+ avatarUrl?: string | undefined;
1244
1262
  }, {
1245
1263
  status: "active" | "suspended";
1246
1264
  id: string;
1247
1265
  email: string;
1248
1266
  createdAt: string;
1249
1267
  updatedAt: string;
1250
- avatarUrl?: string | undefined;
1251
1268
  displayName?: string | undefined;
1269
+ avatarUrl?: string | undefined;
1252
1270
  }>;
1253
1271
  groupIds: z.ZodArray<z.ZodString, "many">;
1254
1272
  } & {
@@ -1272,15 +1290,15 @@ export declare const ListAuthMembersResponseSchema: z.ZodObject<{
1272
1290
  email: string;
1273
1291
  createdAt: string;
1274
1292
  updatedAt: string;
1275
- avatarUrl?: string | undefined;
1276
1293
  displayName?: string | undefined;
1294
+ avatarUrl?: string | undefined;
1277
1295
  };
1278
- groupIds: string[];
1279
1296
  capabilities: {
1280
1297
  assignGroups: boolean;
1281
1298
  suspend: boolean;
1282
1299
  reactivate: boolean;
1283
1300
  };
1301
+ groupIds: string[];
1284
1302
  }, {
1285
1303
  user: {
1286
1304
  status: "active" | "suspended";
@@ -1288,15 +1306,15 @@ export declare const ListAuthMembersResponseSchema: z.ZodObject<{
1288
1306
  email: string;
1289
1307
  createdAt: string;
1290
1308
  updatedAt: string;
1291
- avatarUrl?: string | undefined;
1292
1309
  displayName?: string | undefined;
1310
+ avatarUrl?: string | undefined;
1293
1311
  };
1294
- groupIds: string[];
1295
1312
  capabilities: {
1296
1313
  assignGroups: boolean;
1297
1314
  suspend: boolean;
1298
1315
  reactivate: boolean;
1299
1316
  };
1317
+ groupIds: string[];
1300
1318
  }>, "many">;
1301
1319
  hasMore: z.ZodBoolean;
1302
1320
  total: z.ZodNumber;
@@ -1310,15 +1328,15 @@ export declare const ListAuthMembersResponseSchema: z.ZodObject<{
1310
1328
  email: string;
1311
1329
  createdAt: string;
1312
1330
  updatedAt: string;
1313
- avatarUrl?: string | undefined;
1314
1331
  displayName?: string | undefined;
1332
+ avatarUrl?: string | undefined;
1315
1333
  };
1316
- groupIds: string[];
1317
1334
  capabilities: {
1318
1335
  assignGroups: boolean;
1319
1336
  suspend: boolean;
1320
1337
  reactivate: boolean;
1321
1338
  };
1339
+ groupIds: string[];
1322
1340
  }[];
1323
1341
  }, {
1324
1342
  hasMore: boolean;
@@ -1330,15 +1348,15 @@ export declare const ListAuthMembersResponseSchema: z.ZodObject<{
1330
1348
  email: string;
1331
1349
  createdAt: string;
1332
1350
  updatedAt: string;
1333
- avatarUrl?: string | undefined;
1334
1351
  displayName?: string | undefined;
1352
+ avatarUrl?: string | undefined;
1335
1353
  };
1336
- groupIds: string[];
1337
1354
  capabilities: {
1338
1355
  assignGroups: boolean;
1339
1356
  suspend: boolean;
1340
1357
  reactivate: boolean;
1341
1358
  };
1359
+ groupIds: string[];
1342
1360
  }[];
1343
1361
  }>;
1344
1362
  export declare const AuthMemberParamsSchema: z.ZodObject<{
@@ -1371,16 +1389,16 @@ export declare const UpdateAuthMemberGroupsResponseSchema: z.ZodObject<{
1371
1389
  email: string;
1372
1390
  createdAt: string;
1373
1391
  updatedAt: string;
1374
- avatarUrl?: string | undefined;
1375
1392
  displayName?: string | undefined;
1393
+ avatarUrl?: string | undefined;
1376
1394
  }, {
1377
1395
  status: "active" | "suspended";
1378
1396
  id: string;
1379
1397
  email: string;
1380
1398
  createdAt: string;
1381
1399
  updatedAt: string;
1382
- avatarUrl?: string | undefined;
1383
1400
  displayName?: string | undefined;
1401
+ avatarUrl?: string | undefined;
1384
1402
  }>;
1385
1403
  groupIds: z.ZodArray<z.ZodString, "many">;
1386
1404
  }, "strip", z.ZodTypeAny, {
@@ -1390,8 +1408,8 @@ export declare const UpdateAuthMemberGroupsResponseSchema: z.ZodObject<{
1390
1408
  email: string;
1391
1409
  createdAt: string;
1392
1410
  updatedAt: string;
1393
- avatarUrl?: string | undefined;
1394
1411
  displayName?: string | undefined;
1412
+ avatarUrl?: string | undefined;
1395
1413
  };
1396
1414
  groupIds: string[];
1397
1415
  }, {
@@ -1401,8 +1419,8 @@ export declare const UpdateAuthMemberGroupsResponseSchema: z.ZodObject<{
1401
1419
  email: string;
1402
1420
  createdAt: string;
1403
1421
  updatedAt: string;
1404
- avatarUrl?: string | undefined;
1405
1422
  displayName?: string | undefined;
1423
+ avatarUrl?: string | undefined;
1406
1424
  };
1407
1425
  groupIds: string[];
1408
1426
  }>;
@@ -1414,8 +1432,8 @@ export declare const UpdateAuthMemberGroupsResponseSchema: z.ZodObject<{
1414
1432
  email: string;
1415
1433
  createdAt: string;
1416
1434
  updatedAt: string;
1417
- avatarUrl?: string | undefined;
1418
1435
  displayName?: string | undefined;
1436
+ avatarUrl?: string | undefined;
1419
1437
  };
1420
1438
  groupIds: string[];
1421
1439
  };
@@ -1427,8 +1445,8 @@ export declare const UpdateAuthMemberGroupsResponseSchema: z.ZodObject<{
1427
1445
  email: string;
1428
1446
  createdAt: string;
1429
1447
  updatedAt: string;
1430
- avatarUrl?: string | undefined;
1431
1448
  displayName?: string | undefined;
1449
+ avatarUrl?: string | undefined;
1432
1450
  };
1433
1451
  groupIds: string[];
1434
1452
  };
@@ -1449,16 +1467,16 @@ export declare const SuspendAuthMemberResponseSchema: z.ZodObject<{
1449
1467
  email: string;
1450
1468
  createdAt: string;
1451
1469
  updatedAt: string;
1452
- avatarUrl?: string | undefined;
1453
1470
  displayName?: string | undefined;
1471
+ avatarUrl?: string | undefined;
1454
1472
  }, {
1455
1473
  status: "active" | "suspended";
1456
1474
  id: string;
1457
1475
  email: string;
1458
1476
  createdAt: string;
1459
1477
  updatedAt: string;
1460
- avatarUrl?: string | undefined;
1461
1478
  displayName?: string | undefined;
1479
+ avatarUrl?: string | undefined;
1462
1480
  }>;
1463
1481
  groupIds: z.ZodArray<z.ZodString, "many">;
1464
1482
  }, "strip", z.ZodTypeAny, {
@@ -1468,8 +1486,8 @@ export declare const SuspendAuthMemberResponseSchema: z.ZodObject<{
1468
1486
  email: string;
1469
1487
  createdAt: string;
1470
1488
  updatedAt: string;
1471
- avatarUrl?: string | undefined;
1472
1489
  displayName?: string | undefined;
1490
+ avatarUrl?: string | undefined;
1473
1491
  };
1474
1492
  groupIds: string[];
1475
1493
  }, {
@@ -1479,8 +1497,8 @@ export declare const SuspendAuthMemberResponseSchema: z.ZodObject<{
1479
1497
  email: string;
1480
1498
  createdAt: string;
1481
1499
  updatedAt: string;
1482
- avatarUrl?: string | undefined;
1483
1500
  displayName?: string | undefined;
1501
+ avatarUrl?: string | undefined;
1484
1502
  };
1485
1503
  groupIds: string[];
1486
1504
  }>;
@@ -1492,8 +1510,8 @@ export declare const SuspendAuthMemberResponseSchema: z.ZodObject<{
1492
1510
  email: string;
1493
1511
  createdAt: string;
1494
1512
  updatedAt: string;
1495
- avatarUrl?: string | undefined;
1496
1513
  displayName?: string | undefined;
1514
+ avatarUrl?: string | undefined;
1497
1515
  };
1498
1516
  groupIds: string[];
1499
1517
  };
@@ -1505,8 +1523,8 @@ export declare const SuspendAuthMemberResponseSchema: z.ZodObject<{
1505
1523
  email: string;
1506
1524
  createdAt: string;
1507
1525
  updatedAt: string;
1508
- avatarUrl?: string | undefined;
1509
1526
  displayName?: string | undefined;
1527
+ avatarUrl?: string | undefined;
1510
1528
  };
1511
1529
  groupIds: string[];
1512
1530
  };
@@ -1527,16 +1545,16 @@ export declare const ReactivateAuthMemberResponseSchema: z.ZodObject<{
1527
1545
  email: string;
1528
1546
  createdAt: string;
1529
1547
  updatedAt: string;
1530
- avatarUrl?: string | undefined;
1531
1548
  displayName?: string | undefined;
1549
+ avatarUrl?: string | undefined;
1532
1550
  }, {
1533
1551
  status: "active" | "suspended";
1534
1552
  id: string;
1535
1553
  email: string;
1536
1554
  createdAt: string;
1537
1555
  updatedAt: string;
1538
- avatarUrl?: string | undefined;
1539
1556
  displayName?: string | undefined;
1557
+ avatarUrl?: string | undefined;
1540
1558
  }>;
1541
1559
  groupIds: z.ZodArray<z.ZodString, "many">;
1542
1560
  }, "strip", z.ZodTypeAny, {
@@ -1546,8 +1564,8 @@ export declare const ReactivateAuthMemberResponseSchema: z.ZodObject<{
1546
1564
  email: string;
1547
1565
  createdAt: string;
1548
1566
  updatedAt: string;
1549
- avatarUrl?: string | undefined;
1550
1567
  displayName?: string | undefined;
1568
+ avatarUrl?: string | undefined;
1551
1569
  };
1552
1570
  groupIds: string[];
1553
1571
  }, {
@@ -1557,8 +1575,8 @@ export declare const ReactivateAuthMemberResponseSchema: z.ZodObject<{
1557
1575
  email: string;
1558
1576
  createdAt: string;
1559
1577
  updatedAt: string;
1560
- avatarUrl?: string | undefined;
1561
1578
  displayName?: string | undefined;
1579
+ avatarUrl?: string | undefined;
1562
1580
  };
1563
1581
  groupIds: string[];
1564
1582
  }>;
@@ -1570,8 +1588,8 @@ export declare const ReactivateAuthMemberResponseSchema: z.ZodObject<{
1570
1588
  email: string;
1571
1589
  createdAt: string;
1572
1590
  updatedAt: string;
1573
- avatarUrl?: string | undefined;
1574
1591
  displayName?: string | undefined;
1592
+ avatarUrl?: string | undefined;
1575
1593
  };
1576
1594
  groupIds: string[];
1577
1595
  };
@@ -1583,8 +1601,8 @@ export declare const ReactivateAuthMemberResponseSchema: z.ZodObject<{
1583
1601
  email: string;
1584
1602
  createdAt: string;
1585
1603
  updatedAt: string;
1586
- avatarUrl?: string | undefined;
1587
1604
  displayName?: string | undefined;
1605
+ avatarUrl?: string | undefined;
1588
1606
  };
1589
1607
  groupIds: string[];
1590
1608
  };
@@ -1595,18 +1613,21 @@ export declare const CreateAuthInvitationBodySchema: z.ZodObject<{
1595
1613
  destinationId: z.ZodOptional<z.ZodEnum<["atlas", "app"]>>;
1596
1614
  expiresAt: z.ZodOptional<z.ZodString>;
1597
1615
  returnTo: z.ZodOptional<z.ZodString>;
1616
+ revealLink: z.ZodOptional<z.ZodBoolean>;
1598
1617
  }, "strip", z.ZodTypeAny, {
1599
1618
  email: string;
1600
1619
  returnTo?: string | undefined;
1601
1620
  expiresAt?: string | undefined;
1602
1621
  groupIds?: string[] | undefined;
1603
1622
  destinationId?: "atlas" | "app" | undefined;
1623
+ revealLink?: boolean | undefined;
1604
1624
  }, {
1605
1625
  email: string;
1606
1626
  returnTo?: string | undefined;
1607
1627
  expiresAt?: string | undefined;
1608
1628
  groupIds?: string[] | undefined;
1609
1629
  destinationId?: "atlas" | "app" | undefined;
1630
+ revealLink?: boolean | undefined;
1610
1631
  }>;
1611
1632
  export declare const CreateAuthInvitationResponseSchema: z.ZodObject<{
1612
1633
  invitation: z.ZodObject<{
@@ -1624,9 +1645,9 @@ export declare const CreateAuthInvitationResponseSchema: z.ZodObject<{
1624
1645
  id: string;
1625
1646
  email: string;
1626
1647
  expiresAt: string;
1627
- groupIds: string[];
1628
1648
  createdAt: string;
1629
1649
  updatedAt: string;
1650
+ groupIds: string[];
1630
1651
  acceptedAt?: string | undefined;
1631
1652
  revokedAt?: string | undefined;
1632
1653
  }, {
@@ -1634,18 +1655,36 @@ export declare const CreateAuthInvitationResponseSchema: z.ZodObject<{
1634
1655
  id: string;
1635
1656
  email: string;
1636
1657
  expiresAt: string;
1637
- groupIds: string[];
1638
1658
  createdAt: string;
1639
1659
  updatedAt: string;
1660
+ groupIds: string[];
1640
1661
  acceptedAt?: string | undefined;
1641
1662
  revokedAt?: string | undefined;
1642
1663
  }>;
1643
1664
  delivery: z.ZodObject<{
1644
1665
  status: z.ZodEnum<["sent", "skipped", "rate_limited", "not_supported"]>;
1666
+ link: z.ZodOptional<z.ZodObject<{
1667
+ url: z.ZodString;
1668
+ expiresAt: z.ZodOptional<z.ZodString>;
1669
+ }, "strip", z.ZodTypeAny, {
1670
+ url: string;
1671
+ expiresAt?: string | undefined;
1672
+ }, {
1673
+ url: string;
1674
+ expiresAt?: string | undefined;
1675
+ }>>;
1645
1676
  }, "strip", z.ZodTypeAny, {
1646
1677
  status: "sent" | "skipped" | "rate_limited" | "not_supported";
1678
+ link?: {
1679
+ url: string;
1680
+ expiresAt?: string | undefined;
1681
+ } | undefined;
1647
1682
  }, {
1648
1683
  status: "sent" | "skipped" | "rate_limited" | "not_supported";
1684
+ link?: {
1685
+ url: string;
1686
+ expiresAt?: string | undefined;
1687
+ } | undefined;
1649
1688
  }>;
1650
1689
  }, "strip", z.ZodTypeAny, {
1651
1690
  invitation: {
@@ -1653,14 +1692,18 @@ export declare const CreateAuthInvitationResponseSchema: z.ZodObject<{
1653
1692
  id: string;
1654
1693
  email: string;
1655
1694
  expiresAt: string;
1656
- groupIds: string[];
1657
1695
  createdAt: string;
1658
1696
  updatedAt: string;
1697
+ groupIds: string[];
1659
1698
  acceptedAt?: string | undefined;
1660
1699
  revokedAt?: string | undefined;
1661
1700
  };
1662
1701
  delivery: {
1663
1702
  status: "sent" | "skipped" | "rate_limited" | "not_supported";
1703
+ link?: {
1704
+ url: string;
1705
+ expiresAt?: string | undefined;
1706
+ } | undefined;
1664
1707
  };
1665
1708
  }, {
1666
1709
  invitation: {
@@ -1668,14 +1711,18 @@ export declare const CreateAuthInvitationResponseSchema: z.ZodObject<{
1668
1711
  id: string;
1669
1712
  email: string;
1670
1713
  expiresAt: string;
1671
- groupIds: string[];
1672
1714
  createdAt: string;
1673
1715
  updatedAt: string;
1716
+ groupIds: string[];
1674
1717
  acceptedAt?: string | undefined;
1675
1718
  revokedAt?: string | undefined;
1676
1719
  };
1677
1720
  delivery: {
1678
1721
  status: "sent" | "skipped" | "rate_limited" | "not_supported";
1722
+ link?: {
1723
+ url: string;
1724
+ expiresAt?: string | undefined;
1725
+ } | undefined;
1679
1726
  };
1680
1727
  }>;
1681
1728
  export declare const ListAuthInvitationsQuerySchema: z.ZodObject<{
@@ -1713,9 +1760,9 @@ export declare const ListAuthInvitationsResponseSchema: z.ZodObject<{
1713
1760
  id: string;
1714
1761
  email: string;
1715
1762
  expiresAt: string;
1716
- groupIds: string[];
1717
1763
  createdAt: string;
1718
1764
  updatedAt: string;
1765
+ groupIds: string[];
1719
1766
  acceptedAt?: string | undefined;
1720
1767
  revokedAt?: string | undefined;
1721
1768
  }, {
@@ -1723,9 +1770,9 @@ export declare const ListAuthInvitationsResponseSchema: z.ZodObject<{
1723
1770
  id: string;
1724
1771
  email: string;
1725
1772
  expiresAt: string;
1726
- groupIds: string[];
1727
1773
  createdAt: string;
1728
1774
  updatedAt: string;
1775
+ groupIds: string[];
1729
1776
  acceptedAt?: string | undefined;
1730
1777
  revokedAt?: string | undefined;
1731
1778
  }>, "many">;
@@ -1739,9 +1786,9 @@ export declare const ListAuthInvitationsResponseSchema: z.ZodObject<{
1739
1786
  id: string;
1740
1787
  email: string;
1741
1788
  expiresAt: string;
1742
- groupIds: string[];
1743
1789
  createdAt: string;
1744
1790
  updatedAt: string;
1791
+ groupIds: string[];
1745
1792
  acceptedAt?: string | undefined;
1746
1793
  revokedAt?: string | undefined;
1747
1794
  }[];
@@ -1753,9 +1800,9 @@ export declare const ListAuthInvitationsResponseSchema: z.ZodObject<{
1753
1800
  id: string;
1754
1801
  email: string;
1755
1802
  expiresAt: string;
1756
- groupIds: string[];
1757
1803
  createdAt: string;
1758
1804
  updatedAt: string;
1805
+ groupIds: string[];
1759
1806
  acceptedAt?: string | undefined;
1760
1807
  revokedAt?: string | undefined;
1761
1808
  }[];
@@ -1783,9 +1830,9 @@ export declare const RevokeAuthInvitationResponseSchema: z.ZodObject<{
1783
1830
  id: string;
1784
1831
  email: string;
1785
1832
  expiresAt: string;
1786
- groupIds: string[];
1787
1833
  createdAt: string;
1788
1834
  updatedAt: string;
1835
+ groupIds: string[];
1789
1836
  acceptedAt?: string | undefined;
1790
1837
  revokedAt?: string | undefined;
1791
1838
  }, {
@@ -1793,9 +1840,9 @@ export declare const RevokeAuthInvitationResponseSchema: z.ZodObject<{
1793
1840
  id: string;
1794
1841
  email: string;
1795
1842
  expiresAt: string;
1796
- groupIds: string[];
1797
1843
  createdAt: string;
1798
1844
  updatedAt: string;
1845
+ groupIds: string[];
1799
1846
  acceptedAt?: string | undefined;
1800
1847
  revokedAt?: string | undefined;
1801
1848
  }>;
@@ -1805,9 +1852,9 @@ export declare const RevokeAuthInvitationResponseSchema: z.ZodObject<{
1805
1852
  id: string;
1806
1853
  email: string;
1807
1854
  expiresAt: string;
1808
- groupIds: string[];
1809
1855
  createdAt: string;
1810
1856
  updatedAt: string;
1857
+ groupIds: string[];
1811
1858
  acceptedAt?: string | undefined;
1812
1859
  revokedAt?: string | undefined;
1813
1860
  };
@@ -1817,9 +1864,9 @@ export declare const RevokeAuthInvitationResponseSchema: z.ZodObject<{
1817
1864
  id: string;
1818
1865
  email: string;
1819
1866
  expiresAt: string;
1820
- groupIds: string[];
1821
1867
  createdAt: string;
1822
1868
  updatedAt: string;
1869
+ groupIds: string[];
1823
1870
  acceptedAt?: string | undefined;
1824
1871
  revokedAt?: string | undefined;
1825
1872
  };
@@ -1853,14 +1900,14 @@ export declare const AuthSessionResponseSchema: z.ZodUnion<[z.ZodObject<{
1853
1900
  id: string;
1854
1901
  email: string;
1855
1902
  groupIds: string[];
1856
- avatarUrl?: string | undefined;
1857
1903
  displayName?: string | undefined;
1904
+ avatarUrl?: string | undefined;
1858
1905
  }, {
1859
1906
  id: string;
1860
1907
  email: string;
1861
1908
  groupIds: string[];
1862
- avatarUrl?: string | undefined;
1863
1909
  displayName?: string | undefined;
1910
+ avatarUrl?: string | undefined;
1864
1911
  }>;
1865
1912
  session: z.ZodObject<{
1866
1913
  id: z.ZodString;
@@ -1882,8 +1929,8 @@ export declare const AuthSessionResponseSchema: z.ZodUnion<[z.ZodObject<{
1882
1929
  id: string;
1883
1930
  email: string;
1884
1931
  groupIds: string[];
1885
- avatarUrl?: string | undefined;
1886
1932
  displayName?: string | undefined;
1933
+ avatarUrl?: string | undefined;
1887
1934
  };
1888
1935
  authenticated: true;
1889
1936
  applicationAccess: {
@@ -1900,8 +1947,8 @@ export declare const AuthSessionResponseSchema: z.ZodUnion<[z.ZodObject<{
1900
1947
  id: string;
1901
1948
  email: string;
1902
1949
  groupIds: string[];
1903
- avatarUrl?: string | undefined;
1904
1950
  displayName?: string | undefined;
1951
+ avatarUrl?: string | undefined;
1905
1952
  };
1906
1953
  authenticated: true;
1907
1954
  applicationAccess: {
@@ -1916,6 +1963,89 @@ export declare const AuthSignOutResponseSchema: z.ZodObject<{
1916
1963
  }, {
1917
1964
  success: boolean;
1918
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
+ }>;
1919
2049
  export declare const AuthSessionSummarySchema: z.ZodObject<{
1920
2050
  id: z.ZodString;
1921
2051
  audience: z.ZodEnum<["atlas", "app"]>;