@sixb/server 0.1.6 → 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.
- package/dist/auth/public-routes.d.ts.map +1 -1
- package/dist/auth/scope.d.ts +6 -2
- package/dist/auth/scope.d.ts.map +1 -1
- package/dist/files/content.d.ts +8 -0
- package/dist/files/content.d.ts.map +1 -1
- package/dist/index.js +2492 -1575
- package/dist/index.js.map +22 -20
- package/dist/models/display.d.ts +22 -0
- package/dist/models/display.d.ts.map +1 -0
- package/dist/routes/action-runs.d.ts +2 -0
- package/dist/routes/action-runs.d.ts.map +1 -1
- package/dist/routes/actions.d.ts +1 -0
- package/dist/routes/actions.d.ts.map +1 -1
- package/dist/routes/agent-api-gateway.d.ts.map +1 -1
- package/dist/routes/agents.d.ts +99 -89
- package/dist/routes/agents.d.ts.map +1 -1
- package/dist/routes/ai-accounting.d.ts.map +1 -1
- package/dist/routes/auth.d.ts +134 -15
- package/dist/routes/auth.d.ts.map +1 -1
- package/dist/routes/events.d.ts +3 -3
- package/dist/routes/files.d.ts +1 -0
- package/dist/routes/files.d.ts.map +1 -1
- package/dist/routes/models.d.ts +18 -1
- package/dist/routes/models.d.ts.map +1 -1
- package/dist/routes/objects.d.ts +3 -1
- package/dist/routes/objects.d.ts.map +1 -1
- package/dist/routes/pipelines.d.ts +2 -1
- package/dist/routes/pipelines.d.ts.map +1 -1
- package/dist/routes/rules.d.ts +1 -1
- package/dist/routes/syncs.d.ts +1 -0
- package/dist/routes/syncs.d.ts.map +1 -1
- package/dist/routes/workflows.d.ts +57 -54
- package/dist/routes/workflows.d.ts.map +1 -1
- package/dist/routes/ws/logs.d.ts +4 -4
- package/dist/schemas/agents.d.ts +378 -215
- package/dist/schemas/agents.d.ts.map +1 -1
- package/dist/schemas/ai-accounting.d.ts +1847 -295
- package/dist/schemas/ai-accounting.d.ts.map +1 -1
- package/dist/schemas/ai-limits.d.ts +2210 -0
- package/dist/schemas/ai-limits.d.ts.map +1 -0
- package/dist/schemas/auth.d.ts +155 -72
- package/dist/schemas/auth.d.ts.map +1 -1
- package/dist/schemas/events.d.ts +6 -6
- package/dist/schemas/files.d.ts +3 -0
- package/dist/schemas/files.d.ts.map +1 -1
- package/dist/schemas/models.d.ts +214 -14
- package/dist/schemas/models.d.ts.map +1 -1
- package/dist/schemas/objects.d.ts +4 -4
- package/dist/schemas/pipelines.d.ts +6 -6
- package/dist/schemas/rules.d.ts +6 -6
- package/dist/schemas/workflows.d.ts +196 -206
- package/dist/schemas/workflows.d.ts.map +1 -1
- package/dist/utils/http.d.ts +8 -4
- package/dist/utils/http.d.ts.map +1 -1
- package/package.json +4 -4
- package/src/auth/public-routes.ts +18 -0
- package/src/auth/scope.ts +3 -2
- package/src/files/content.ts +39 -6
- package/src/models/display.ts +91 -0
- package/src/routes/agent-api-gateway.ts +137 -38
- package/src/routes/agents.ts +58 -83
- package/src/routes/ai-accounting.ts +414 -23
- package/src/routes/auth.ts +280 -1
- package/src/routes/models.ts +12 -4
- package/src/routes/workflows.ts +3 -5
- package/src/routes/ws/agents.ts +17 -6
- package/src/schemas/agents.ts +40 -49
- package/src/schemas/ai-accounting.ts +88 -19
- package/src/schemas/ai-limits.ts +116 -0
- package/src/schemas/auth.ts +32 -0
- package/src/schemas/files.ts +1 -0
- package/src/schemas/models.ts +33 -5
- package/src/schemas/workflows.ts +0 -2
- package/src/utils/http.ts +33 -2
package/dist/schemas/auth.d.ts
CHANGED
|
@@ -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,9 +38,9 @@ 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
|
}>;
|
|
@@ -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<{
|
|
@@ -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
|
}>;
|
|
@@ -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,9 +1645,9 @@ 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;
|
|
1650
|
+
groupIds: string[];
|
|
1651
1651
|
acceptedAt?: string | undefined;
|
|
1652
1652
|
revokedAt?: string | undefined;
|
|
1653
1653
|
}, {
|
|
@@ -1655,9 +1655,9 @@ export declare const CreateAuthInvitationResponseSchema: z.ZodObject<{
|
|
|
1655
1655
|
id: string;
|
|
1656
1656
|
email: string;
|
|
1657
1657
|
expiresAt: string;
|
|
1658
|
-
groupIds: string[];
|
|
1659
1658
|
createdAt: string;
|
|
1660
1659
|
updatedAt: string;
|
|
1660
|
+
groupIds: string[];
|
|
1661
1661
|
acceptedAt?: string | undefined;
|
|
1662
1662
|
revokedAt?: string | undefined;
|
|
1663
1663
|
}>;
|
|
@@ -1692,9 +1692,9 @@ 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;
|
|
1697
|
+
groupIds: string[];
|
|
1698
1698
|
acceptedAt?: string | undefined;
|
|
1699
1699
|
revokedAt?: string | undefined;
|
|
1700
1700
|
};
|
|
@@ -1711,9 +1711,9 @@ 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;
|
|
1716
|
+
groupIds: string[];
|
|
1717
1717
|
acceptedAt?: string | undefined;
|
|
1718
1718
|
revokedAt?: string | undefined;
|
|
1719
1719
|
};
|
|
@@ -1760,9 +1760,9 @@ 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;
|
|
1765
|
+
groupIds: string[];
|
|
1766
1766
|
acceptedAt?: string | undefined;
|
|
1767
1767
|
revokedAt?: string | undefined;
|
|
1768
1768
|
}, {
|
|
@@ -1770,9 +1770,9 @@ export declare const ListAuthInvitationsResponseSchema: z.ZodObject<{
|
|
|
1770
1770
|
id: string;
|
|
1771
1771
|
email: string;
|
|
1772
1772
|
expiresAt: string;
|
|
1773
|
-
groupIds: string[];
|
|
1774
1773
|
createdAt: string;
|
|
1775
1774
|
updatedAt: string;
|
|
1775
|
+
groupIds: string[];
|
|
1776
1776
|
acceptedAt?: string | undefined;
|
|
1777
1777
|
revokedAt?: string | undefined;
|
|
1778
1778
|
}>, "many">;
|
|
@@ -1786,9 +1786,9 @@ 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;
|
|
1791
|
+
groupIds: string[];
|
|
1792
1792
|
acceptedAt?: string | undefined;
|
|
1793
1793
|
revokedAt?: string | undefined;
|
|
1794
1794
|
}[];
|
|
@@ -1800,9 +1800,9 @@ 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;
|
|
1805
|
+
groupIds: string[];
|
|
1806
1806
|
acceptedAt?: string | undefined;
|
|
1807
1807
|
revokedAt?: string | undefined;
|
|
1808
1808
|
}[];
|
|
@@ -1830,9 +1830,9 @@ 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;
|
|
1835
|
+
groupIds: string[];
|
|
1836
1836
|
acceptedAt?: string | undefined;
|
|
1837
1837
|
revokedAt?: string | undefined;
|
|
1838
1838
|
}, {
|
|
@@ -1840,9 +1840,9 @@ export declare const RevokeAuthInvitationResponseSchema: z.ZodObject<{
|
|
|
1840
1840
|
id: string;
|
|
1841
1841
|
email: string;
|
|
1842
1842
|
expiresAt: string;
|
|
1843
|
-
groupIds: string[];
|
|
1844
1843
|
createdAt: string;
|
|
1845
1844
|
updatedAt: string;
|
|
1845
|
+
groupIds: string[];
|
|
1846
1846
|
acceptedAt?: string | undefined;
|
|
1847
1847
|
revokedAt?: string | undefined;
|
|
1848
1848
|
}>;
|
|
@@ -1852,9 +1852,9 @@ 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;
|
|
1857
|
+
groupIds: string[];
|
|
1858
1858
|
acceptedAt?: string | undefined;
|
|
1859
1859
|
revokedAt?: string | undefined;
|
|
1860
1860
|
};
|
|
@@ -1864,9 +1864,9 @@ 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;
|
|
1869
|
+
groupIds: string[];
|
|
1870
1870
|
acceptedAt?: string | undefined;
|
|
1871
1871
|
revokedAt?: string | undefined;
|
|
1872
1872
|
};
|
|
@@ -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"]>;
|