@sixb/server 0.1.1 → 0.1.2
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/README.md +3 -3
- package/dist/auth/application-access.d.ts +2 -2
- package/dist/auth/application-access.d.ts.map +1 -1
- package/dist/auth/connector-callback-cookie.d.ts +12 -0
- package/dist/auth/connector-callback-cookie.d.ts.map +1 -0
- package/dist/auth/guard.d.ts +3 -3
- package/dist/auth/guard.d.ts.map +1 -1
- package/dist/auth/public-routes.d.ts.map +1 -1
- package/dist/auth/scope.d.ts +13 -27
- package/dist/auth/scope.d.ts.map +1 -1
- package/dist/auth/session-cookies.d.ts +2 -2
- package/dist/auth/session-cookies.d.ts.map +1 -1
- package/dist/connectors/http.d.ts +16 -0
- package/dist/connectors/http.d.ts.map +1 -0
- package/dist/index.js +3293 -2704
- package/dist/index.js.map +55 -50
- package/dist/openapi/tags.d.ts +11 -3
- package/dist/openapi/tags.d.ts.map +1 -1
- package/dist/registerRoutes.d.ts +6 -2
- package/dist/registerRoutes.d.ts.map +1 -1
- package/dist/routes/action-runs.d.ts +21 -31
- package/dist/routes/action-runs.d.ts.map +1 -1
- package/dist/routes/actions.d.ts +9 -8
- package/dist/routes/actions.d.ts.map +1 -1
- package/dist/routes/agent-api-gateway.d.ts +2 -2
- package/dist/routes/agent-api-gateway.d.ts.map +1 -1
- package/dist/routes/agents.d.ts +130 -131
- package/dist/routes/agents.d.ts.map +1 -1
- package/dist/routes/auth.d.ts +84 -84
- package/dist/routes/auth.d.ts.map +1 -1
- package/dist/routes/connector-connection-runs.d.ts +794 -0
- package/dist/routes/connector-connection-runs.d.ts.map +1 -0
- package/dist/routes/connector-connections.d.ts +219 -0
- package/dist/routes/connector-connections.d.ts.map +1 -0
- package/dist/routes/connectors.d.ts +10 -4
- package/dist/routes/connectors.d.ts.map +1 -1
- package/dist/routes/datasets.d.ts +8 -4
- package/dist/routes/datasets.d.ts.map +1 -1
- package/dist/routes/events.d.ts +8 -8
- package/dist/routes/events.d.ts.map +1 -1
- package/dist/routes/files.d.ts +11 -10
- package/dist/routes/files.d.ts.map +1 -1
- package/dist/routes/links.d.ts +2 -2
- package/dist/routes/links.d.ts.map +1 -1
- package/dist/routes/logs.d.ts +5 -5
- package/dist/routes/logs.d.ts.map +1 -1
- package/dist/routes/objects.d.ts +34 -34
- package/dist/routes/objects.d.ts.map +1 -1
- package/dist/routes/ontology.d.ts +50 -50
- package/dist/routes/ontology.d.ts.map +1 -1
- package/dist/routes/pipelines.d.ts +24 -34
- package/dist/routes/pipelines.d.ts.map +1 -1
- package/dist/routes/project.d.ts +2 -2
- package/dist/routes/project.d.ts.map +1 -1
- package/dist/routes/projections.d.ts +131 -83
- package/dist/routes/projections.d.ts.map +1 -1
- package/dist/routes/rules.d.ts +6 -6
- package/dist/routes/rules.d.ts.map +1 -1
- package/dist/routes/status.d.ts +2 -2
- package/dist/routes/status.d.ts.map +1 -1
- package/dist/routes/syncs.d.ts +20 -25
- package/dist/routes/syncs.d.ts.map +1 -1
- package/dist/routes/telemetry.d.ts +2 -2
- package/dist/routes/telemetry.d.ts.map +1 -1
- package/dist/routes/webhook-runs.d.ts +9 -9
- package/dist/routes/webhook-runs.d.ts.map +1 -1
- package/dist/routes/webhooks.d.ts +2 -2
- package/dist/routes/webhooks.d.ts.map +1 -1
- package/dist/routes/workflows.d.ts +74 -48
- package/dist/routes/workflows.d.ts.map +1 -1
- package/dist/routes/ws/agents.d.ts +11 -5
- package/dist/routes/ws/agents.d.ts.map +1 -1
- package/dist/routes/ws/events.d.ts +8 -8
- package/dist/routes/ws/events.d.ts.map +1 -1
- package/dist/routes/ws/log-subscription-hub.d.ts +6 -3
- package/dist/routes/ws/log-subscription-hub.d.ts.map +1 -1
- package/dist/routes/ws/logs.d.ts +10 -10
- package/dist/routes/ws/logs.d.ts.map +1 -1
- package/dist/schemas/actions.d.ts +97 -202
- package/dist/schemas/actions.d.ts.map +1 -1
- package/dist/schemas/agents.d.ts +442 -439
- package/dist/schemas/agents.d.ts.map +1 -1
- package/dist/schemas/ai-usage.d.ts +34 -0
- package/dist/schemas/ai-usage.d.ts.map +1 -0
- package/dist/schemas/auth.d.ts +142 -142
- package/dist/schemas/common.d.ts +37 -0
- package/dist/schemas/common.d.ts.map +1 -1
- package/dist/schemas/connectors.d.ts +713 -2
- package/dist/schemas/connectors.d.ts.map +1 -1
- package/dist/schemas/datasets.d.ts +2 -2
- package/dist/schemas/event-payloads.d.ts +6 -6
- package/dist/schemas/events.d.ts +34 -34
- package/dist/schemas/logs.d.ts +22 -22
- package/dist/schemas/objects.d.ts +10 -10
- package/dist/schemas/ontology.d.ts +118 -118
- package/dist/schemas/pipelines.d.ts +95 -190
- package/dist/schemas/pipelines.d.ts.map +1 -1
- package/dist/schemas/projections.d.ts +918 -563
- package/dist/schemas/projections.d.ts.map +1 -1
- package/dist/schemas/rules.d.ts +6 -6
- package/dist/schemas/status.d.ts +2 -2
- package/dist/schemas/syncs.d.ts +65 -108
- package/dist/schemas/syncs.d.ts.map +1 -1
- package/dist/schemas/webhook-runs.d.ts +41 -41
- package/dist/schemas/webhook-runs.d.ts.map +1 -1
- package/dist/schemas/workflows.d.ts +516 -183
- package/dist/schemas/workflows.d.ts.map +1 -1
- package/dist/server.d.ts +6 -6
- package/dist/server.d.ts.map +1 -1
- package/dist/utils/http.d.ts +2 -0
- package/dist/utils/http.d.ts.map +1 -1
- package/dist/utils/ws.d.ts +4 -3
- package/dist/utils/ws.d.ts.map +1 -1
- package/package.json +4 -4
- package/src/auth/access-token-boundary.ts +4 -4
- package/src/auth/application-access.ts +8 -9
- package/src/auth/connector-callback-cookie.ts +95 -0
- package/src/auth/guard.ts +11 -11
- package/src/auth/public-routes.ts +13 -0
- package/src/auth/scope.ts +26 -36
- package/src/auth/session-cookies.ts +3 -3
- package/src/connectors/http.ts +110 -0
- package/src/openapi/tags.ts +9 -1
- package/src/registerRoutes.ts +34 -23
- package/src/routes/action-runs.ts +39 -39
- package/src/routes/actions.ts +7 -13
- package/src/routes/agent-api-gateway.ts +41 -38
- package/src/routes/agents.ts +89 -200
- package/src/routes/auth.ts +87 -91
- package/src/routes/connector-connection-runs.ts +346 -0
- package/src/routes/connector-connections.ts +135 -0
- package/src/routes/connectors.ts +24 -12
- package/src/routes/datasets.ts +55 -54
- package/src/routes/events.ts +5 -5
- package/src/routes/files.ts +22 -30
- package/src/routes/links.ts +31 -35
- package/src/routes/logs.ts +6 -11
- package/src/routes/objects.ts +51 -114
- package/src/routes/ontology.ts +27 -38
- package/src/routes/pipelines.ts +28 -62
- package/src/routes/project.ts +3 -3
- package/src/routes/projections.ts +26 -38
- package/src/routes/rules.ts +11 -25
- package/src/routes/status.ts +5 -5
- package/src/routes/syncs.ts +19 -45
- package/src/routes/telemetry.ts +18 -29
- package/src/routes/webhook-runs.ts +5 -5
- package/src/routes/webhooks.ts +259 -341
- package/src/routes/workflows.ts +226 -248
- package/src/routes/ws/agents.ts +196 -66
- package/src/routes/ws/events.ts +11 -10
- package/src/routes/ws/log-subscription-hub.ts +6 -12
- package/src/routes/ws/logs.ts +13 -5
- package/src/schemas/actions.ts +58 -25
- package/src/schemas/agents.ts +19 -14
- package/src/schemas/ai-usage.ts +16 -0
- package/src/schemas/common.ts +24 -0
- package/src/schemas/connectors.ts +164 -0
- package/src/schemas/pipelines.ts +23 -15
- package/src/schemas/projections.ts +17 -3
- package/src/schemas/syncs.ts +13 -8
- package/src/schemas/webhook-runs.ts +10 -5
- package/src/schemas/workflows.ts +16 -6
- package/src/server.ts +65 -26
- package/src/utils/http.ts +34 -6
- package/src/utils/ws.ts +10 -5
package/dist/schemas/auth.d.ts
CHANGED
|
@@ -24,8 +24,8 @@ export declare const AuthInvitationSchema: z.ZodObject<{
|
|
|
24
24
|
acceptedAt: z.ZodOptional<z.ZodString>;
|
|
25
25
|
revokedAt: z.ZodOptional<z.ZodString>;
|
|
26
26
|
}, "strip", z.ZodTypeAny, {
|
|
27
|
-
status: "pending" | "accepted" | "revoked";
|
|
28
27
|
id: string;
|
|
28
|
+
status: "pending" | "accepted" | "revoked";
|
|
29
29
|
email: string;
|
|
30
30
|
expiresAt: string;
|
|
31
31
|
groupIds: string[];
|
|
@@ -34,8 +34,8 @@ export declare const AuthInvitationSchema: z.ZodObject<{
|
|
|
34
34
|
acceptedAt?: string | undefined;
|
|
35
35
|
revokedAt?: string | undefined;
|
|
36
36
|
}, {
|
|
37
|
-
status: "pending" | "accepted" | "revoked";
|
|
38
37
|
id: string;
|
|
38
|
+
status: "pending" | "accepted" | "revoked";
|
|
39
39
|
email: string;
|
|
40
40
|
expiresAt: string;
|
|
41
41
|
groupIds: string[];
|
|
@@ -47,9 +47,9 @@ export declare const AuthInvitationSchema: z.ZodObject<{
|
|
|
47
47
|
export declare const AuthInvitationDeliverySchema: z.ZodObject<{
|
|
48
48
|
status: z.ZodEnum<["sent", "skipped", "rate_limited", "not_supported"]>;
|
|
49
49
|
}, "strip", z.ZodTypeAny, {
|
|
50
|
-
status: "
|
|
50
|
+
status: "sent" | "skipped" | "rate_limited" | "not_supported";
|
|
51
51
|
}, {
|
|
52
|
-
status: "
|
|
52
|
+
status: "sent" | "skipped" | "rate_limited" | "not_supported";
|
|
53
53
|
}>;
|
|
54
54
|
export declare const AuthInvitationGroupOptionSchema: z.ZodObject<{
|
|
55
55
|
id: z.ZodString;
|
|
@@ -85,10 +85,10 @@ export declare const AuthAccessTokenSchema: z.ZodObject<{
|
|
|
85
85
|
lastUsedUserAgent: z.ZodOptional<z.ZodString>;
|
|
86
86
|
lastUsedIpAddress: z.ZodOptional<z.ZodString>;
|
|
87
87
|
}, "strip", z.ZodTypeAny, {
|
|
88
|
+
id: string;
|
|
88
89
|
status: "expired" | "active" | "revoked";
|
|
89
90
|
kind: "serviceAccount" | "personal";
|
|
90
91
|
name: string;
|
|
91
|
-
id: string;
|
|
92
92
|
expiresAt: string;
|
|
93
93
|
createdAt: string;
|
|
94
94
|
subjectType: "user" | "serviceAccount";
|
|
@@ -100,10 +100,10 @@ export declare const AuthAccessTokenSchema: z.ZodObject<{
|
|
|
100
100
|
lastUsedUserAgent?: string | undefined;
|
|
101
101
|
lastUsedIpAddress?: string | undefined;
|
|
102
102
|
}, {
|
|
103
|
+
id: string;
|
|
103
104
|
status: "expired" | "active" | "revoked";
|
|
104
105
|
kind: "serviceAccount" | "personal";
|
|
105
106
|
name: string;
|
|
106
|
-
id: string;
|
|
107
107
|
expiresAt: string;
|
|
108
108
|
createdAt: string;
|
|
109
109
|
subjectType: "user" | "serviceAccount";
|
|
@@ -124,17 +124,17 @@ export declare const AuthServiceAccountSchema: z.ZodObject<{
|
|
|
124
124
|
createdAt: z.ZodString;
|
|
125
125
|
updatedAt: z.ZodString;
|
|
126
126
|
}, "strip", z.ZodTypeAny, {
|
|
127
|
+
id: string;
|
|
127
128
|
status: "active" | "suspended";
|
|
128
129
|
name: string;
|
|
129
|
-
id: string;
|
|
130
130
|
groupIds: string[];
|
|
131
131
|
createdAt: string;
|
|
132
132
|
updatedAt: string;
|
|
133
133
|
description?: string | undefined;
|
|
134
134
|
}, {
|
|
135
|
+
id: string;
|
|
135
136
|
status: "active" | "suspended";
|
|
136
137
|
name: string;
|
|
137
|
-
id: string;
|
|
138
138
|
groupIds: string[];
|
|
139
139
|
createdAt: string;
|
|
140
140
|
updatedAt: string;
|
|
@@ -149,21 +149,21 @@ export declare const AuthMemberUserSchema: z.ZodObject<{
|
|
|
149
149
|
createdAt: z.ZodString;
|
|
150
150
|
updatedAt: z.ZodString;
|
|
151
151
|
}, "strip", z.ZodTypeAny, {
|
|
152
|
-
status: "active" | "suspended";
|
|
153
152
|
id: string;
|
|
153
|
+
status: "active" | "suspended";
|
|
154
154
|
email: string;
|
|
155
155
|
createdAt: string;
|
|
156
156
|
updatedAt: string;
|
|
157
|
-
displayName?: string | undefined;
|
|
158
157
|
avatarUrl?: string | undefined;
|
|
158
|
+
displayName?: string | undefined;
|
|
159
159
|
}, {
|
|
160
|
-
status: "active" | "suspended";
|
|
161
160
|
id: string;
|
|
161
|
+
status: "active" | "suspended";
|
|
162
162
|
email: string;
|
|
163
163
|
createdAt: string;
|
|
164
164
|
updatedAt: string;
|
|
165
|
-
displayName?: string | undefined;
|
|
166
165
|
avatarUrl?: string | undefined;
|
|
166
|
+
displayName?: string | undefined;
|
|
167
167
|
}>;
|
|
168
168
|
export declare const AuthManagedMemberSchema: z.ZodObject<{
|
|
169
169
|
user: z.ZodObject<{
|
|
@@ -175,43 +175,43 @@ export declare const AuthManagedMemberSchema: z.ZodObject<{
|
|
|
175
175
|
createdAt: z.ZodString;
|
|
176
176
|
updatedAt: z.ZodString;
|
|
177
177
|
}, "strip", z.ZodTypeAny, {
|
|
178
|
-
status: "active" | "suspended";
|
|
179
178
|
id: string;
|
|
179
|
+
status: "active" | "suspended";
|
|
180
180
|
email: string;
|
|
181
181
|
createdAt: string;
|
|
182
182
|
updatedAt: string;
|
|
183
|
-
displayName?: string | undefined;
|
|
184
183
|
avatarUrl?: string | undefined;
|
|
184
|
+
displayName?: string | undefined;
|
|
185
185
|
}, {
|
|
186
|
-
status: "active" | "suspended";
|
|
187
186
|
id: string;
|
|
187
|
+
status: "active" | "suspended";
|
|
188
188
|
email: string;
|
|
189
189
|
createdAt: string;
|
|
190
190
|
updatedAt: string;
|
|
191
|
-
displayName?: string | undefined;
|
|
192
191
|
avatarUrl?: string | undefined;
|
|
192
|
+
displayName?: string | undefined;
|
|
193
193
|
}>;
|
|
194
194
|
groupIds: z.ZodArray<z.ZodString, "many">;
|
|
195
195
|
}, "strip", z.ZodTypeAny, {
|
|
196
196
|
user: {
|
|
197
|
-
status: "active" | "suspended";
|
|
198
197
|
id: string;
|
|
198
|
+
status: "active" | "suspended";
|
|
199
199
|
email: string;
|
|
200
200
|
createdAt: string;
|
|
201
201
|
updatedAt: string;
|
|
202
|
-
displayName?: string | undefined;
|
|
203
202
|
avatarUrl?: string | undefined;
|
|
203
|
+
displayName?: string | undefined;
|
|
204
204
|
};
|
|
205
205
|
groupIds: string[];
|
|
206
206
|
}, {
|
|
207
207
|
user: {
|
|
208
|
-
status: "active" | "suspended";
|
|
209
208
|
id: string;
|
|
209
|
+
status: "active" | "suspended";
|
|
210
210
|
email: string;
|
|
211
211
|
createdAt: string;
|
|
212
212
|
updatedAt: string;
|
|
213
|
-
displayName?: string | undefined;
|
|
214
213
|
avatarUrl?: string | undefined;
|
|
214
|
+
displayName?: string | undefined;
|
|
215
215
|
};
|
|
216
216
|
groupIds: string[];
|
|
217
217
|
}>;
|
|
@@ -238,21 +238,21 @@ export declare const AuthMemberSchema: z.ZodObject<{
|
|
|
238
238
|
createdAt: z.ZodString;
|
|
239
239
|
updatedAt: z.ZodString;
|
|
240
240
|
}, "strip", z.ZodTypeAny, {
|
|
241
|
-
status: "active" | "suspended";
|
|
242
241
|
id: string;
|
|
242
|
+
status: "active" | "suspended";
|
|
243
243
|
email: string;
|
|
244
244
|
createdAt: string;
|
|
245
245
|
updatedAt: string;
|
|
246
|
-
displayName?: string | undefined;
|
|
247
246
|
avatarUrl?: string | undefined;
|
|
247
|
+
displayName?: string | undefined;
|
|
248
248
|
}, {
|
|
249
|
-
status: "active" | "suspended";
|
|
250
249
|
id: string;
|
|
250
|
+
status: "active" | "suspended";
|
|
251
251
|
email: string;
|
|
252
252
|
createdAt: string;
|
|
253
253
|
updatedAt: string;
|
|
254
|
-
displayName?: string | undefined;
|
|
255
254
|
avatarUrl?: string | undefined;
|
|
255
|
+
displayName?: string | undefined;
|
|
256
256
|
}>;
|
|
257
257
|
groupIds: z.ZodArray<z.ZodString, "many">;
|
|
258
258
|
} & {
|
|
@@ -271,13 +271,13 @@ export declare const AuthMemberSchema: z.ZodObject<{
|
|
|
271
271
|
}>;
|
|
272
272
|
}, "strip", z.ZodTypeAny, {
|
|
273
273
|
user: {
|
|
274
|
-
status: "active" | "suspended";
|
|
275
274
|
id: string;
|
|
275
|
+
status: "active" | "suspended";
|
|
276
276
|
email: string;
|
|
277
277
|
createdAt: string;
|
|
278
278
|
updatedAt: string;
|
|
279
|
-
displayName?: string | undefined;
|
|
280
279
|
avatarUrl?: string | undefined;
|
|
280
|
+
displayName?: string | undefined;
|
|
281
281
|
};
|
|
282
282
|
groupIds: string[];
|
|
283
283
|
capabilities: {
|
|
@@ -287,13 +287,13 @@ export declare const AuthMemberSchema: z.ZodObject<{
|
|
|
287
287
|
};
|
|
288
288
|
}, {
|
|
289
289
|
user: {
|
|
290
|
-
status: "active" | "suspended";
|
|
291
290
|
id: string;
|
|
291
|
+
status: "active" | "suspended";
|
|
292
292
|
email: string;
|
|
293
293
|
createdAt: string;
|
|
294
294
|
updatedAt: string;
|
|
295
|
-
displayName?: string | undefined;
|
|
296
295
|
avatarUrl?: string | undefined;
|
|
296
|
+
displayName?: string | undefined;
|
|
297
297
|
};
|
|
298
298
|
groupIds: string[];
|
|
299
299
|
capabilities: {
|
|
@@ -346,10 +346,10 @@ export declare const ListAuthAccessTokensResponseSchema: z.ZodObject<{
|
|
|
346
346
|
lastUsedUserAgent: z.ZodOptional<z.ZodString>;
|
|
347
347
|
lastUsedIpAddress: z.ZodOptional<z.ZodString>;
|
|
348
348
|
}, "strip", z.ZodTypeAny, {
|
|
349
|
+
id: string;
|
|
349
350
|
status: "expired" | "active" | "revoked";
|
|
350
351
|
kind: "serviceAccount" | "personal";
|
|
351
352
|
name: string;
|
|
352
|
-
id: string;
|
|
353
353
|
expiresAt: string;
|
|
354
354
|
createdAt: string;
|
|
355
355
|
subjectType: "user" | "serviceAccount";
|
|
@@ -361,10 +361,10 @@ export declare const ListAuthAccessTokensResponseSchema: z.ZodObject<{
|
|
|
361
361
|
lastUsedUserAgent?: string | undefined;
|
|
362
362
|
lastUsedIpAddress?: string | undefined;
|
|
363
363
|
}, {
|
|
364
|
+
id: string;
|
|
364
365
|
status: "expired" | "active" | "revoked";
|
|
365
366
|
kind: "serviceAccount" | "personal";
|
|
366
367
|
name: string;
|
|
367
|
-
id: string;
|
|
368
368
|
expiresAt: string;
|
|
369
369
|
createdAt: string;
|
|
370
370
|
subjectType: "user" | "serviceAccount";
|
|
@@ -378,10 +378,10 @@ export declare const ListAuthAccessTokensResponseSchema: z.ZodObject<{
|
|
|
378
378
|
}>, "many">;
|
|
379
379
|
}, "strip", z.ZodTypeAny, {
|
|
380
380
|
accessTokens: {
|
|
381
|
+
id: string;
|
|
381
382
|
status: "expired" | "active" | "revoked";
|
|
382
383
|
kind: "serviceAccount" | "personal";
|
|
383
384
|
name: string;
|
|
384
|
-
id: string;
|
|
385
385
|
expiresAt: string;
|
|
386
386
|
createdAt: string;
|
|
387
387
|
subjectType: "user" | "serviceAccount";
|
|
@@ -395,10 +395,10 @@ export declare const ListAuthAccessTokensResponseSchema: z.ZodObject<{
|
|
|
395
395
|
}[];
|
|
396
396
|
}, {
|
|
397
397
|
accessTokens: {
|
|
398
|
+
id: string;
|
|
398
399
|
status: "expired" | "active" | "revoked";
|
|
399
400
|
kind: "serviceAccount" | "personal";
|
|
400
401
|
name: string;
|
|
401
|
-
id: string;
|
|
402
402
|
expiresAt: string;
|
|
403
403
|
createdAt: string;
|
|
404
404
|
subjectType: "user" | "serviceAccount";
|
|
@@ -441,10 +441,10 @@ export declare const CreateAuthPersonalAccessTokenResponseSchema: z.ZodObject<{
|
|
|
441
441
|
lastUsedUserAgent: z.ZodOptional<z.ZodString>;
|
|
442
442
|
lastUsedIpAddress: z.ZodOptional<z.ZodString>;
|
|
443
443
|
}, "strip", z.ZodTypeAny, {
|
|
444
|
+
id: string;
|
|
444
445
|
status: "expired" | "active" | "revoked";
|
|
445
446
|
kind: "serviceAccount" | "personal";
|
|
446
447
|
name: string;
|
|
447
|
-
id: string;
|
|
448
448
|
expiresAt: string;
|
|
449
449
|
createdAt: string;
|
|
450
450
|
subjectType: "user" | "serviceAccount";
|
|
@@ -456,10 +456,10 @@ export declare const CreateAuthPersonalAccessTokenResponseSchema: z.ZodObject<{
|
|
|
456
456
|
lastUsedUserAgent?: string | undefined;
|
|
457
457
|
lastUsedIpAddress?: string | undefined;
|
|
458
458
|
}, {
|
|
459
|
+
id: string;
|
|
459
460
|
status: "expired" | "active" | "revoked";
|
|
460
461
|
kind: "serviceAccount" | "personal";
|
|
461
462
|
name: string;
|
|
462
|
-
id: string;
|
|
463
463
|
expiresAt: string;
|
|
464
464
|
createdAt: string;
|
|
465
465
|
subjectType: "user" | "serviceAccount";
|
|
@@ -474,10 +474,10 @@ export declare const CreateAuthPersonalAccessTokenResponseSchema: z.ZodObject<{
|
|
|
474
474
|
tokenValue: z.ZodString;
|
|
475
475
|
}, "strip", z.ZodTypeAny, {
|
|
476
476
|
accessToken: {
|
|
477
|
+
id: string;
|
|
477
478
|
status: "expired" | "active" | "revoked";
|
|
478
479
|
kind: "serviceAccount" | "personal";
|
|
479
480
|
name: string;
|
|
480
|
-
id: string;
|
|
481
481
|
expiresAt: string;
|
|
482
482
|
createdAt: string;
|
|
483
483
|
subjectType: "user" | "serviceAccount";
|
|
@@ -492,10 +492,10 @@ export declare const CreateAuthPersonalAccessTokenResponseSchema: z.ZodObject<{
|
|
|
492
492
|
tokenValue: string;
|
|
493
493
|
}, {
|
|
494
494
|
accessToken: {
|
|
495
|
+
id: string;
|
|
495
496
|
status: "expired" | "active" | "revoked";
|
|
496
497
|
kind: "serviceAccount" | "personal";
|
|
497
498
|
name: string;
|
|
498
|
-
id: string;
|
|
499
499
|
expiresAt: string;
|
|
500
500
|
createdAt: string;
|
|
501
501
|
subjectType: "user" | "serviceAccount";
|
|
@@ -533,10 +533,10 @@ export declare const RevokeAuthAccessTokenResponseSchema: z.ZodObject<{
|
|
|
533
533
|
lastUsedUserAgent: z.ZodOptional<z.ZodString>;
|
|
534
534
|
lastUsedIpAddress: z.ZodOptional<z.ZodString>;
|
|
535
535
|
}, "strip", z.ZodTypeAny, {
|
|
536
|
+
id: string;
|
|
536
537
|
status: "expired" | "active" | "revoked";
|
|
537
538
|
kind: "serviceAccount" | "personal";
|
|
538
539
|
name: string;
|
|
539
|
-
id: string;
|
|
540
540
|
expiresAt: string;
|
|
541
541
|
createdAt: string;
|
|
542
542
|
subjectType: "user" | "serviceAccount";
|
|
@@ -548,10 +548,10 @@ export declare const RevokeAuthAccessTokenResponseSchema: z.ZodObject<{
|
|
|
548
548
|
lastUsedUserAgent?: string | undefined;
|
|
549
549
|
lastUsedIpAddress?: string | undefined;
|
|
550
550
|
}, {
|
|
551
|
+
id: string;
|
|
551
552
|
status: "expired" | "active" | "revoked";
|
|
552
553
|
kind: "serviceAccount" | "personal";
|
|
553
554
|
name: string;
|
|
554
|
-
id: string;
|
|
555
555
|
expiresAt: string;
|
|
556
556
|
createdAt: string;
|
|
557
557
|
subjectType: "user" | "serviceAccount";
|
|
@@ -565,10 +565,10 @@ export declare const RevokeAuthAccessTokenResponseSchema: z.ZodObject<{
|
|
|
565
565
|
}>;
|
|
566
566
|
}, "strip", z.ZodTypeAny, {
|
|
567
567
|
accessToken: {
|
|
568
|
+
id: string;
|
|
568
569
|
status: "expired" | "active" | "revoked";
|
|
569
570
|
kind: "serviceAccount" | "personal";
|
|
570
571
|
name: string;
|
|
571
|
-
id: string;
|
|
572
572
|
expiresAt: string;
|
|
573
573
|
createdAt: string;
|
|
574
574
|
subjectType: "user" | "serviceAccount";
|
|
@@ -582,10 +582,10 @@ export declare const RevokeAuthAccessTokenResponseSchema: z.ZodObject<{
|
|
|
582
582
|
};
|
|
583
583
|
}, {
|
|
584
584
|
accessToken: {
|
|
585
|
+
id: string;
|
|
585
586
|
status: "expired" | "active" | "revoked";
|
|
586
587
|
kind: "serviceAccount" | "personal";
|
|
587
588
|
name: string;
|
|
588
|
-
id: string;
|
|
589
589
|
expiresAt: string;
|
|
590
590
|
createdAt: string;
|
|
591
591
|
subjectType: "user" | "serviceAccount";
|
|
@@ -608,17 +608,17 @@ export declare const ListAuthServiceAccountsResponseSchema: z.ZodObject<{
|
|
|
608
608
|
createdAt: z.ZodString;
|
|
609
609
|
updatedAt: z.ZodString;
|
|
610
610
|
}, "strip", z.ZodTypeAny, {
|
|
611
|
+
id: string;
|
|
611
612
|
status: "active" | "suspended";
|
|
612
613
|
name: string;
|
|
613
|
-
id: string;
|
|
614
614
|
groupIds: string[];
|
|
615
615
|
createdAt: string;
|
|
616
616
|
updatedAt: string;
|
|
617
617
|
description?: string | undefined;
|
|
618
618
|
}, {
|
|
619
|
+
id: string;
|
|
619
620
|
status: "active" | "suspended";
|
|
620
621
|
name: string;
|
|
621
|
-
id: string;
|
|
622
622
|
groupIds: string[];
|
|
623
623
|
createdAt: string;
|
|
624
624
|
updatedAt: string;
|
|
@@ -626,9 +626,9 @@ export declare const ListAuthServiceAccountsResponseSchema: z.ZodObject<{
|
|
|
626
626
|
}>, "many">;
|
|
627
627
|
}, "strip", z.ZodTypeAny, {
|
|
628
628
|
serviceAccounts: {
|
|
629
|
+
id: string;
|
|
629
630
|
status: "active" | "suspended";
|
|
630
631
|
name: string;
|
|
631
|
-
id: string;
|
|
632
632
|
groupIds: string[];
|
|
633
633
|
createdAt: string;
|
|
634
634
|
updatedAt: string;
|
|
@@ -636,9 +636,9 @@ export declare const ListAuthServiceAccountsResponseSchema: z.ZodObject<{
|
|
|
636
636
|
}[];
|
|
637
637
|
}, {
|
|
638
638
|
serviceAccounts: {
|
|
639
|
+
id: string;
|
|
639
640
|
status: "active" | "suspended";
|
|
640
641
|
name: string;
|
|
641
|
-
id: string;
|
|
642
642
|
groupIds: string[];
|
|
643
643
|
createdAt: string;
|
|
644
644
|
updatedAt: string;
|
|
@@ -652,13 +652,13 @@ export declare const CreateAuthServiceAccountBodySchema: z.ZodObject<{
|
|
|
652
652
|
groupIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
653
653
|
}, "strip", z.ZodTypeAny, {
|
|
654
654
|
name: string;
|
|
655
|
-
description?: string | undefined;
|
|
656
655
|
id?: string | undefined;
|
|
656
|
+
description?: string | undefined;
|
|
657
657
|
groupIds?: string[] | undefined;
|
|
658
658
|
}, {
|
|
659
659
|
name: string;
|
|
660
|
-
description?: string | undefined;
|
|
661
660
|
id?: string | undefined;
|
|
661
|
+
description?: string | undefined;
|
|
662
662
|
groupIds?: string[] | undefined;
|
|
663
663
|
}>;
|
|
664
664
|
export declare const CreateAuthServiceAccountResponseSchema: z.ZodObject<{
|
|
@@ -671,17 +671,17 @@ export declare const CreateAuthServiceAccountResponseSchema: z.ZodObject<{
|
|
|
671
671
|
createdAt: z.ZodString;
|
|
672
672
|
updatedAt: z.ZodString;
|
|
673
673
|
}, "strip", z.ZodTypeAny, {
|
|
674
|
+
id: string;
|
|
674
675
|
status: "active" | "suspended";
|
|
675
676
|
name: string;
|
|
676
|
-
id: string;
|
|
677
677
|
groupIds: string[];
|
|
678
678
|
createdAt: string;
|
|
679
679
|
updatedAt: string;
|
|
680
680
|
description?: string | undefined;
|
|
681
681
|
}, {
|
|
682
|
+
id: string;
|
|
682
683
|
status: "active" | "suspended";
|
|
683
684
|
name: string;
|
|
684
|
-
id: string;
|
|
685
685
|
groupIds: string[];
|
|
686
686
|
createdAt: string;
|
|
687
687
|
updatedAt: string;
|
|
@@ -689,9 +689,9 @@ export declare const CreateAuthServiceAccountResponseSchema: z.ZodObject<{
|
|
|
689
689
|
}>;
|
|
690
690
|
}, "strip", z.ZodTypeAny, {
|
|
691
691
|
serviceAccount: {
|
|
692
|
+
id: string;
|
|
692
693
|
status: "active" | "suspended";
|
|
693
694
|
name: string;
|
|
694
|
-
id: string;
|
|
695
695
|
groupIds: string[];
|
|
696
696
|
createdAt: string;
|
|
697
697
|
updatedAt: string;
|
|
@@ -699,9 +699,9 @@ export declare const CreateAuthServiceAccountResponseSchema: z.ZodObject<{
|
|
|
699
699
|
};
|
|
700
700
|
}, {
|
|
701
701
|
serviceAccount: {
|
|
702
|
+
id: string;
|
|
702
703
|
status: "active" | "suspended";
|
|
703
704
|
name: string;
|
|
704
|
-
id: string;
|
|
705
705
|
groupIds: string[];
|
|
706
706
|
createdAt: string;
|
|
707
707
|
updatedAt: string;
|
|
@@ -725,17 +725,17 @@ export declare const DisableAuthServiceAccountResponseSchema: z.ZodObject<{
|
|
|
725
725
|
createdAt: z.ZodString;
|
|
726
726
|
updatedAt: z.ZodString;
|
|
727
727
|
}, "strip", z.ZodTypeAny, {
|
|
728
|
+
id: string;
|
|
728
729
|
status: "active" | "suspended";
|
|
729
730
|
name: string;
|
|
730
|
-
id: string;
|
|
731
731
|
groupIds: string[];
|
|
732
732
|
createdAt: string;
|
|
733
733
|
updatedAt: string;
|
|
734
734
|
description?: string | undefined;
|
|
735
735
|
}, {
|
|
736
|
+
id: string;
|
|
736
737
|
status: "active" | "suspended";
|
|
737
738
|
name: string;
|
|
738
|
-
id: string;
|
|
739
739
|
groupIds: string[];
|
|
740
740
|
createdAt: string;
|
|
741
741
|
updatedAt: string;
|
|
@@ -743,9 +743,9 @@ export declare const DisableAuthServiceAccountResponseSchema: z.ZodObject<{
|
|
|
743
743
|
}>;
|
|
744
744
|
}, "strip", z.ZodTypeAny, {
|
|
745
745
|
serviceAccount: {
|
|
746
|
+
id: string;
|
|
746
747
|
status: "active" | "suspended";
|
|
747
748
|
name: string;
|
|
748
|
-
id: string;
|
|
749
749
|
groupIds: string[];
|
|
750
750
|
createdAt: string;
|
|
751
751
|
updatedAt: string;
|
|
@@ -753,9 +753,9 @@ export declare const DisableAuthServiceAccountResponseSchema: z.ZodObject<{
|
|
|
753
753
|
};
|
|
754
754
|
}, {
|
|
755
755
|
serviceAccount: {
|
|
756
|
+
id: string;
|
|
756
757
|
status: "active" | "suspended";
|
|
757
758
|
name: string;
|
|
758
|
-
id: string;
|
|
759
759
|
groupIds: string[];
|
|
760
760
|
createdAt: string;
|
|
761
761
|
updatedAt: string;
|
|
@@ -779,10 +779,10 @@ export declare const ListAuthServiceAccountAccessTokensResponseSchema: z.ZodObje
|
|
|
779
779
|
lastUsedUserAgent: z.ZodOptional<z.ZodString>;
|
|
780
780
|
lastUsedIpAddress: z.ZodOptional<z.ZodString>;
|
|
781
781
|
}, "strip", z.ZodTypeAny, {
|
|
782
|
+
id: string;
|
|
782
783
|
status: "expired" | "active" | "revoked";
|
|
783
784
|
kind: "serviceAccount" | "personal";
|
|
784
785
|
name: string;
|
|
785
|
-
id: string;
|
|
786
786
|
expiresAt: string;
|
|
787
787
|
createdAt: string;
|
|
788
788
|
subjectType: "user" | "serviceAccount";
|
|
@@ -794,10 +794,10 @@ export declare const ListAuthServiceAccountAccessTokensResponseSchema: z.ZodObje
|
|
|
794
794
|
lastUsedUserAgent?: string | undefined;
|
|
795
795
|
lastUsedIpAddress?: string | undefined;
|
|
796
796
|
}, {
|
|
797
|
+
id: string;
|
|
797
798
|
status: "expired" | "active" | "revoked";
|
|
798
799
|
kind: "serviceAccount" | "personal";
|
|
799
800
|
name: string;
|
|
800
|
-
id: string;
|
|
801
801
|
expiresAt: string;
|
|
802
802
|
createdAt: string;
|
|
803
803
|
subjectType: "user" | "serviceAccount";
|
|
@@ -811,10 +811,10 @@ export declare const ListAuthServiceAccountAccessTokensResponseSchema: z.ZodObje
|
|
|
811
811
|
}>, "many">;
|
|
812
812
|
}, "strip", z.ZodTypeAny, {
|
|
813
813
|
accessTokens: {
|
|
814
|
+
id: string;
|
|
814
815
|
status: "expired" | "active" | "revoked";
|
|
815
816
|
kind: "serviceAccount" | "personal";
|
|
816
817
|
name: string;
|
|
817
|
-
id: string;
|
|
818
818
|
expiresAt: string;
|
|
819
819
|
createdAt: string;
|
|
820
820
|
subjectType: "user" | "serviceAccount";
|
|
@@ -828,10 +828,10 @@ export declare const ListAuthServiceAccountAccessTokensResponseSchema: z.ZodObje
|
|
|
828
828
|
}[];
|
|
829
829
|
}, {
|
|
830
830
|
accessTokens: {
|
|
831
|
+
id: string;
|
|
831
832
|
status: "expired" | "active" | "revoked";
|
|
832
833
|
kind: "serviceAccount" | "personal";
|
|
833
834
|
name: string;
|
|
834
|
-
id: string;
|
|
835
835
|
expiresAt: string;
|
|
836
836
|
createdAt: string;
|
|
837
837
|
subjectType: "user" | "serviceAccount";
|
|
@@ -874,10 +874,10 @@ export declare const CreateAuthServiceAccountAccessTokenResponseSchema: z.ZodObj
|
|
|
874
874
|
lastUsedUserAgent: z.ZodOptional<z.ZodString>;
|
|
875
875
|
lastUsedIpAddress: z.ZodOptional<z.ZodString>;
|
|
876
876
|
}, "strip", z.ZodTypeAny, {
|
|
877
|
+
id: string;
|
|
877
878
|
status: "expired" | "active" | "revoked";
|
|
878
879
|
kind: "serviceAccount" | "personal";
|
|
879
880
|
name: string;
|
|
880
|
-
id: string;
|
|
881
881
|
expiresAt: string;
|
|
882
882
|
createdAt: string;
|
|
883
883
|
subjectType: "user" | "serviceAccount";
|
|
@@ -889,10 +889,10 @@ export declare const CreateAuthServiceAccountAccessTokenResponseSchema: z.ZodObj
|
|
|
889
889
|
lastUsedUserAgent?: string | undefined;
|
|
890
890
|
lastUsedIpAddress?: string | undefined;
|
|
891
891
|
}, {
|
|
892
|
+
id: string;
|
|
892
893
|
status: "expired" | "active" | "revoked";
|
|
893
894
|
kind: "serviceAccount" | "personal";
|
|
894
895
|
name: string;
|
|
895
|
-
id: string;
|
|
896
896
|
expiresAt: string;
|
|
897
897
|
createdAt: string;
|
|
898
898
|
subjectType: "user" | "serviceAccount";
|
|
@@ -907,10 +907,10 @@ export declare const CreateAuthServiceAccountAccessTokenResponseSchema: z.ZodObj
|
|
|
907
907
|
tokenValue: z.ZodString;
|
|
908
908
|
}, "strip", z.ZodTypeAny, {
|
|
909
909
|
accessToken: {
|
|
910
|
+
id: string;
|
|
910
911
|
status: "expired" | "active" | "revoked";
|
|
911
912
|
kind: "serviceAccount" | "personal";
|
|
912
913
|
name: string;
|
|
913
|
-
id: string;
|
|
914
914
|
expiresAt: string;
|
|
915
915
|
createdAt: string;
|
|
916
916
|
subjectType: "user" | "serviceAccount";
|
|
@@ -925,10 +925,10 @@ export declare const CreateAuthServiceAccountAccessTokenResponseSchema: z.ZodObj
|
|
|
925
925
|
tokenValue: string;
|
|
926
926
|
}, {
|
|
927
927
|
accessToken: {
|
|
928
|
+
id: string;
|
|
928
929
|
status: "expired" | "active" | "revoked";
|
|
929
930
|
kind: "serviceAccount" | "personal";
|
|
930
931
|
name: string;
|
|
931
|
-
id: string;
|
|
932
932
|
expiresAt: string;
|
|
933
933
|
createdAt: string;
|
|
934
934
|
subjectType: "user" | "serviceAccount";
|
|
@@ -970,10 +970,10 @@ export declare const RevokeAuthServiceAccountAccessTokenResponseSchema: z.ZodObj
|
|
|
970
970
|
lastUsedUserAgent: z.ZodOptional<z.ZodString>;
|
|
971
971
|
lastUsedIpAddress: z.ZodOptional<z.ZodString>;
|
|
972
972
|
}, "strip", z.ZodTypeAny, {
|
|
973
|
+
id: string;
|
|
973
974
|
status: "expired" | "active" | "revoked";
|
|
974
975
|
kind: "serviceAccount" | "personal";
|
|
975
976
|
name: string;
|
|
976
|
-
id: string;
|
|
977
977
|
expiresAt: string;
|
|
978
978
|
createdAt: string;
|
|
979
979
|
subjectType: "user" | "serviceAccount";
|
|
@@ -985,10 +985,10 @@ export declare const RevokeAuthServiceAccountAccessTokenResponseSchema: z.ZodObj
|
|
|
985
985
|
lastUsedUserAgent?: string | undefined;
|
|
986
986
|
lastUsedIpAddress?: string | undefined;
|
|
987
987
|
}, {
|
|
988
|
+
id: string;
|
|
988
989
|
status: "expired" | "active" | "revoked";
|
|
989
990
|
kind: "serviceAccount" | "personal";
|
|
990
991
|
name: string;
|
|
991
|
-
id: string;
|
|
992
992
|
expiresAt: string;
|
|
993
993
|
createdAt: string;
|
|
994
994
|
subjectType: "user" | "serviceAccount";
|
|
@@ -1002,10 +1002,10 @@ export declare const RevokeAuthServiceAccountAccessTokenResponseSchema: z.ZodObj
|
|
|
1002
1002
|
}>;
|
|
1003
1003
|
}, "strip", z.ZodTypeAny, {
|
|
1004
1004
|
accessToken: {
|
|
1005
|
+
id: string;
|
|
1005
1006
|
status: "expired" | "active" | "revoked";
|
|
1006
1007
|
kind: "serviceAccount" | "personal";
|
|
1007
1008
|
name: string;
|
|
1008
|
-
id: string;
|
|
1009
1009
|
expiresAt: string;
|
|
1010
1010
|
createdAt: string;
|
|
1011
1011
|
subjectType: "user" | "serviceAccount";
|
|
@@ -1019,10 +1019,10 @@ export declare const RevokeAuthServiceAccountAccessTokenResponseSchema: z.ZodObj
|
|
|
1019
1019
|
};
|
|
1020
1020
|
}, {
|
|
1021
1021
|
accessToken: {
|
|
1022
|
+
id: string;
|
|
1022
1023
|
status: "expired" | "active" | "revoked";
|
|
1023
1024
|
kind: "serviceAccount" | "personal";
|
|
1024
1025
|
name: string;
|
|
1025
|
-
id: string;
|
|
1026
1026
|
expiresAt: string;
|
|
1027
1027
|
createdAt: string;
|
|
1028
1028
|
subjectType: "user" | "serviceAccount";
|
|
@@ -1234,21 +1234,21 @@ export declare const ListAuthMembersResponseSchema: z.ZodObject<{
|
|
|
1234
1234
|
createdAt: z.ZodString;
|
|
1235
1235
|
updatedAt: z.ZodString;
|
|
1236
1236
|
}, "strip", z.ZodTypeAny, {
|
|
1237
|
-
status: "active" | "suspended";
|
|
1238
1237
|
id: string;
|
|
1238
|
+
status: "active" | "suspended";
|
|
1239
1239
|
email: string;
|
|
1240
1240
|
createdAt: string;
|
|
1241
1241
|
updatedAt: string;
|
|
1242
|
-
displayName?: string | undefined;
|
|
1243
1242
|
avatarUrl?: string | undefined;
|
|
1243
|
+
displayName?: string | undefined;
|
|
1244
1244
|
}, {
|
|
1245
|
-
status: "active" | "suspended";
|
|
1246
1245
|
id: string;
|
|
1246
|
+
status: "active" | "suspended";
|
|
1247
1247
|
email: string;
|
|
1248
1248
|
createdAt: string;
|
|
1249
1249
|
updatedAt: string;
|
|
1250
|
-
displayName?: string | undefined;
|
|
1251
1250
|
avatarUrl?: string | undefined;
|
|
1251
|
+
displayName?: string | undefined;
|
|
1252
1252
|
}>;
|
|
1253
1253
|
groupIds: z.ZodArray<z.ZodString, "many">;
|
|
1254
1254
|
} & {
|
|
@@ -1267,13 +1267,13 @@ export declare const ListAuthMembersResponseSchema: z.ZodObject<{
|
|
|
1267
1267
|
}>;
|
|
1268
1268
|
}, "strip", z.ZodTypeAny, {
|
|
1269
1269
|
user: {
|
|
1270
|
-
status: "active" | "suspended";
|
|
1271
1270
|
id: string;
|
|
1271
|
+
status: "active" | "suspended";
|
|
1272
1272
|
email: string;
|
|
1273
1273
|
createdAt: string;
|
|
1274
1274
|
updatedAt: string;
|
|
1275
|
-
displayName?: string | undefined;
|
|
1276
1275
|
avatarUrl?: string | undefined;
|
|
1276
|
+
displayName?: string | undefined;
|
|
1277
1277
|
};
|
|
1278
1278
|
groupIds: string[];
|
|
1279
1279
|
capabilities: {
|
|
@@ -1283,13 +1283,13 @@ export declare const ListAuthMembersResponseSchema: z.ZodObject<{
|
|
|
1283
1283
|
};
|
|
1284
1284
|
}, {
|
|
1285
1285
|
user: {
|
|
1286
|
-
status: "active" | "suspended";
|
|
1287
1286
|
id: string;
|
|
1287
|
+
status: "active" | "suspended";
|
|
1288
1288
|
email: string;
|
|
1289
1289
|
createdAt: string;
|
|
1290
1290
|
updatedAt: string;
|
|
1291
|
-
displayName?: string | undefined;
|
|
1292
1291
|
avatarUrl?: string | undefined;
|
|
1292
|
+
displayName?: string | undefined;
|
|
1293
1293
|
};
|
|
1294
1294
|
groupIds: string[];
|
|
1295
1295
|
capabilities: {
|
|
@@ -1305,13 +1305,13 @@ export declare const ListAuthMembersResponseSchema: z.ZodObject<{
|
|
|
1305
1305
|
total: number;
|
|
1306
1306
|
members: {
|
|
1307
1307
|
user: {
|
|
1308
|
-
status: "active" | "suspended";
|
|
1309
1308
|
id: string;
|
|
1309
|
+
status: "active" | "suspended";
|
|
1310
1310
|
email: string;
|
|
1311
1311
|
createdAt: string;
|
|
1312
1312
|
updatedAt: string;
|
|
1313
|
-
displayName?: string | undefined;
|
|
1314
1313
|
avatarUrl?: string | undefined;
|
|
1314
|
+
displayName?: string | undefined;
|
|
1315
1315
|
};
|
|
1316
1316
|
groupIds: string[];
|
|
1317
1317
|
capabilities: {
|
|
@@ -1325,13 +1325,13 @@ export declare const ListAuthMembersResponseSchema: z.ZodObject<{
|
|
|
1325
1325
|
total: number;
|
|
1326
1326
|
members: {
|
|
1327
1327
|
user: {
|
|
1328
|
-
status: "active" | "suspended";
|
|
1329
1328
|
id: string;
|
|
1329
|
+
status: "active" | "suspended";
|
|
1330
1330
|
email: string;
|
|
1331
1331
|
createdAt: string;
|
|
1332
1332
|
updatedAt: string;
|
|
1333
|
-
displayName?: string | undefined;
|
|
1334
1333
|
avatarUrl?: string | undefined;
|
|
1334
|
+
displayName?: string | undefined;
|
|
1335
1335
|
};
|
|
1336
1336
|
groupIds: string[];
|
|
1337
1337
|
capabilities: {
|
|
@@ -1366,69 +1366,69 @@ export declare const UpdateAuthMemberGroupsResponseSchema: z.ZodObject<{
|
|
|
1366
1366
|
createdAt: z.ZodString;
|
|
1367
1367
|
updatedAt: z.ZodString;
|
|
1368
1368
|
}, "strip", z.ZodTypeAny, {
|
|
1369
|
-
status: "active" | "suspended";
|
|
1370
1369
|
id: string;
|
|
1370
|
+
status: "active" | "suspended";
|
|
1371
1371
|
email: string;
|
|
1372
1372
|
createdAt: string;
|
|
1373
1373
|
updatedAt: string;
|
|
1374
|
-
displayName?: string | undefined;
|
|
1375
1374
|
avatarUrl?: string | undefined;
|
|
1375
|
+
displayName?: string | undefined;
|
|
1376
1376
|
}, {
|
|
1377
|
-
status: "active" | "suspended";
|
|
1378
1377
|
id: string;
|
|
1378
|
+
status: "active" | "suspended";
|
|
1379
1379
|
email: string;
|
|
1380
1380
|
createdAt: string;
|
|
1381
1381
|
updatedAt: string;
|
|
1382
|
-
displayName?: string | undefined;
|
|
1383
1382
|
avatarUrl?: string | undefined;
|
|
1383
|
+
displayName?: string | undefined;
|
|
1384
1384
|
}>;
|
|
1385
1385
|
groupIds: z.ZodArray<z.ZodString, "many">;
|
|
1386
1386
|
}, "strip", z.ZodTypeAny, {
|
|
1387
1387
|
user: {
|
|
1388
|
-
status: "active" | "suspended";
|
|
1389
1388
|
id: string;
|
|
1389
|
+
status: "active" | "suspended";
|
|
1390
1390
|
email: string;
|
|
1391
1391
|
createdAt: string;
|
|
1392
1392
|
updatedAt: string;
|
|
1393
|
-
displayName?: string | undefined;
|
|
1394
1393
|
avatarUrl?: string | undefined;
|
|
1394
|
+
displayName?: string | undefined;
|
|
1395
1395
|
};
|
|
1396
1396
|
groupIds: string[];
|
|
1397
1397
|
}, {
|
|
1398
1398
|
user: {
|
|
1399
|
-
status: "active" | "suspended";
|
|
1400
1399
|
id: string;
|
|
1400
|
+
status: "active" | "suspended";
|
|
1401
1401
|
email: string;
|
|
1402
1402
|
createdAt: string;
|
|
1403
1403
|
updatedAt: string;
|
|
1404
|
-
displayName?: string | undefined;
|
|
1405
1404
|
avatarUrl?: string | undefined;
|
|
1405
|
+
displayName?: string | undefined;
|
|
1406
1406
|
};
|
|
1407
1407
|
groupIds: string[];
|
|
1408
1408
|
}>;
|
|
1409
1409
|
}, "strip", z.ZodTypeAny, {
|
|
1410
1410
|
member: {
|
|
1411
1411
|
user: {
|
|
1412
|
-
status: "active" | "suspended";
|
|
1413
1412
|
id: string;
|
|
1413
|
+
status: "active" | "suspended";
|
|
1414
1414
|
email: string;
|
|
1415
1415
|
createdAt: string;
|
|
1416
1416
|
updatedAt: string;
|
|
1417
|
-
displayName?: string | undefined;
|
|
1418
1417
|
avatarUrl?: string | undefined;
|
|
1418
|
+
displayName?: string | undefined;
|
|
1419
1419
|
};
|
|
1420
1420
|
groupIds: string[];
|
|
1421
1421
|
};
|
|
1422
1422
|
}, {
|
|
1423
1423
|
member: {
|
|
1424
1424
|
user: {
|
|
1425
|
-
status: "active" | "suspended";
|
|
1426
1425
|
id: string;
|
|
1426
|
+
status: "active" | "suspended";
|
|
1427
1427
|
email: string;
|
|
1428
1428
|
createdAt: string;
|
|
1429
1429
|
updatedAt: string;
|
|
1430
|
-
displayName?: string | undefined;
|
|
1431
1430
|
avatarUrl?: string | undefined;
|
|
1431
|
+
displayName?: string | undefined;
|
|
1432
1432
|
};
|
|
1433
1433
|
groupIds: string[];
|
|
1434
1434
|
};
|
|
@@ -1444,69 +1444,69 @@ export declare const SuspendAuthMemberResponseSchema: z.ZodObject<{
|
|
|
1444
1444
|
createdAt: z.ZodString;
|
|
1445
1445
|
updatedAt: z.ZodString;
|
|
1446
1446
|
}, "strip", z.ZodTypeAny, {
|
|
1447
|
-
status: "active" | "suspended";
|
|
1448
1447
|
id: string;
|
|
1448
|
+
status: "active" | "suspended";
|
|
1449
1449
|
email: string;
|
|
1450
1450
|
createdAt: string;
|
|
1451
1451
|
updatedAt: string;
|
|
1452
|
-
displayName?: string | undefined;
|
|
1453
1452
|
avatarUrl?: string | undefined;
|
|
1453
|
+
displayName?: string | undefined;
|
|
1454
1454
|
}, {
|
|
1455
|
-
status: "active" | "suspended";
|
|
1456
1455
|
id: string;
|
|
1456
|
+
status: "active" | "suspended";
|
|
1457
1457
|
email: string;
|
|
1458
1458
|
createdAt: string;
|
|
1459
1459
|
updatedAt: string;
|
|
1460
|
-
displayName?: string | undefined;
|
|
1461
1460
|
avatarUrl?: string | undefined;
|
|
1461
|
+
displayName?: string | undefined;
|
|
1462
1462
|
}>;
|
|
1463
1463
|
groupIds: z.ZodArray<z.ZodString, "many">;
|
|
1464
1464
|
}, "strip", z.ZodTypeAny, {
|
|
1465
1465
|
user: {
|
|
1466
|
-
status: "active" | "suspended";
|
|
1467
1466
|
id: string;
|
|
1467
|
+
status: "active" | "suspended";
|
|
1468
1468
|
email: string;
|
|
1469
1469
|
createdAt: string;
|
|
1470
1470
|
updatedAt: string;
|
|
1471
|
-
displayName?: string | undefined;
|
|
1472
1471
|
avatarUrl?: string | undefined;
|
|
1472
|
+
displayName?: string | undefined;
|
|
1473
1473
|
};
|
|
1474
1474
|
groupIds: string[];
|
|
1475
1475
|
}, {
|
|
1476
1476
|
user: {
|
|
1477
|
-
status: "active" | "suspended";
|
|
1478
1477
|
id: string;
|
|
1478
|
+
status: "active" | "suspended";
|
|
1479
1479
|
email: string;
|
|
1480
1480
|
createdAt: string;
|
|
1481
1481
|
updatedAt: string;
|
|
1482
|
-
displayName?: string | undefined;
|
|
1483
1482
|
avatarUrl?: string | undefined;
|
|
1483
|
+
displayName?: string | undefined;
|
|
1484
1484
|
};
|
|
1485
1485
|
groupIds: string[];
|
|
1486
1486
|
}>;
|
|
1487
1487
|
}, "strip", z.ZodTypeAny, {
|
|
1488
1488
|
member: {
|
|
1489
1489
|
user: {
|
|
1490
|
-
status: "active" | "suspended";
|
|
1491
1490
|
id: string;
|
|
1491
|
+
status: "active" | "suspended";
|
|
1492
1492
|
email: string;
|
|
1493
1493
|
createdAt: string;
|
|
1494
1494
|
updatedAt: string;
|
|
1495
|
-
displayName?: string | undefined;
|
|
1496
1495
|
avatarUrl?: string | undefined;
|
|
1496
|
+
displayName?: string | undefined;
|
|
1497
1497
|
};
|
|
1498
1498
|
groupIds: string[];
|
|
1499
1499
|
};
|
|
1500
1500
|
}, {
|
|
1501
1501
|
member: {
|
|
1502
1502
|
user: {
|
|
1503
|
-
status: "active" | "suspended";
|
|
1504
1503
|
id: string;
|
|
1504
|
+
status: "active" | "suspended";
|
|
1505
1505
|
email: string;
|
|
1506
1506
|
createdAt: string;
|
|
1507
1507
|
updatedAt: string;
|
|
1508
|
-
displayName?: string | undefined;
|
|
1509
1508
|
avatarUrl?: string | undefined;
|
|
1509
|
+
displayName?: string | undefined;
|
|
1510
1510
|
};
|
|
1511
1511
|
groupIds: string[];
|
|
1512
1512
|
};
|
|
@@ -1522,69 +1522,69 @@ export declare const ReactivateAuthMemberResponseSchema: z.ZodObject<{
|
|
|
1522
1522
|
createdAt: z.ZodString;
|
|
1523
1523
|
updatedAt: z.ZodString;
|
|
1524
1524
|
}, "strip", z.ZodTypeAny, {
|
|
1525
|
-
status: "active" | "suspended";
|
|
1526
1525
|
id: string;
|
|
1526
|
+
status: "active" | "suspended";
|
|
1527
1527
|
email: string;
|
|
1528
1528
|
createdAt: string;
|
|
1529
1529
|
updatedAt: string;
|
|
1530
|
-
displayName?: string | undefined;
|
|
1531
1530
|
avatarUrl?: string | undefined;
|
|
1531
|
+
displayName?: string | undefined;
|
|
1532
1532
|
}, {
|
|
1533
|
-
status: "active" | "suspended";
|
|
1534
1533
|
id: string;
|
|
1534
|
+
status: "active" | "suspended";
|
|
1535
1535
|
email: string;
|
|
1536
1536
|
createdAt: string;
|
|
1537
1537
|
updatedAt: string;
|
|
1538
|
-
displayName?: string | undefined;
|
|
1539
1538
|
avatarUrl?: string | undefined;
|
|
1539
|
+
displayName?: string | undefined;
|
|
1540
1540
|
}>;
|
|
1541
1541
|
groupIds: z.ZodArray<z.ZodString, "many">;
|
|
1542
1542
|
}, "strip", z.ZodTypeAny, {
|
|
1543
1543
|
user: {
|
|
1544
|
-
status: "active" | "suspended";
|
|
1545
1544
|
id: string;
|
|
1545
|
+
status: "active" | "suspended";
|
|
1546
1546
|
email: string;
|
|
1547
1547
|
createdAt: string;
|
|
1548
1548
|
updatedAt: string;
|
|
1549
|
-
displayName?: string | undefined;
|
|
1550
1549
|
avatarUrl?: string | undefined;
|
|
1550
|
+
displayName?: string | undefined;
|
|
1551
1551
|
};
|
|
1552
1552
|
groupIds: string[];
|
|
1553
1553
|
}, {
|
|
1554
1554
|
user: {
|
|
1555
|
-
status: "active" | "suspended";
|
|
1556
1555
|
id: string;
|
|
1556
|
+
status: "active" | "suspended";
|
|
1557
1557
|
email: string;
|
|
1558
1558
|
createdAt: string;
|
|
1559
1559
|
updatedAt: string;
|
|
1560
|
-
displayName?: string | undefined;
|
|
1561
1560
|
avatarUrl?: string | undefined;
|
|
1561
|
+
displayName?: string | undefined;
|
|
1562
1562
|
};
|
|
1563
1563
|
groupIds: string[];
|
|
1564
1564
|
}>;
|
|
1565
1565
|
}, "strip", z.ZodTypeAny, {
|
|
1566
1566
|
member: {
|
|
1567
1567
|
user: {
|
|
1568
|
-
status: "active" | "suspended";
|
|
1569
1568
|
id: string;
|
|
1569
|
+
status: "active" | "suspended";
|
|
1570
1570
|
email: string;
|
|
1571
1571
|
createdAt: string;
|
|
1572
1572
|
updatedAt: string;
|
|
1573
|
-
displayName?: string | undefined;
|
|
1574
1573
|
avatarUrl?: string | undefined;
|
|
1574
|
+
displayName?: string | undefined;
|
|
1575
1575
|
};
|
|
1576
1576
|
groupIds: string[];
|
|
1577
1577
|
};
|
|
1578
1578
|
}, {
|
|
1579
1579
|
member: {
|
|
1580
1580
|
user: {
|
|
1581
|
-
status: "active" | "suspended";
|
|
1582
1581
|
id: string;
|
|
1582
|
+
status: "active" | "suspended";
|
|
1583
1583
|
email: string;
|
|
1584
1584
|
createdAt: string;
|
|
1585
1585
|
updatedAt: string;
|
|
1586
|
-
displayName?: string | undefined;
|
|
1587
1586
|
avatarUrl?: string | undefined;
|
|
1587
|
+
displayName?: string | undefined;
|
|
1588
1588
|
};
|
|
1589
1589
|
groupIds: string[];
|
|
1590
1590
|
};
|
|
@@ -1620,8 +1620,8 @@ export declare const CreateAuthInvitationResponseSchema: z.ZodObject<{
|
|
|
1620
1620
|
acceptedAt: z.ZodOptional<z.ZodString>;
|
|
1621
1621
|
revokedAt: z.ZodOptional<z.ZodString>;
|
|
1622
1622
|
}, "strip", z.ZodTypeAny, {
|
|
1623
|
-
status: "pending" | "accepted" | "revoked";
|
|
1624
1623
|
id: string;
|
|
1624
|
+
status: "pending" | "accepted" | "revoked";
|
|
1625
1625
|
email: string;
|
|
1626
1626
|
expiresAt: string;
|
|
1627
1627
|
groupIds: string[];
|
|
@@ -1630,8 +1630,8 @@ export declare const CreateAuthInvitationResponseSchema: z.ZodObject<{
|
|
|
1630
1630
|
acceptedAt?: string | undefined;
|
|
1631
1631
|
revokedAt?: string | undefined;
|
|
1632
1632
|
}, {
|
|
1633
|
-
status: "pending" | "accepted" | "revoked";
|
|
1634
1633
|
id: string;
|
|
1634
|
+
status: "pending" | "accepted" | "revoked";
|
|
1635
1635
|
email: string;
|
|
1636
1636
|
expiresAt: string;
|
|
1637
1637
|
groupIds: string[];
|
|
@@ -1643,14 +1643,14 @@ export declare const CreateAuthInvitationResponseSchema: z.ZodObject<{
|
|
|
1643
1643
|
delivery: z.ZodObject<{
|
|
1644
1644
|
status: z.ZodEnum<["sent", "skipped", "rate_limited", "not_supported"]>;
|
|
1645
1645
|
}, "strip", z.ZodTypeAny, {
|
|
1646
|
-
status: "
|
|
1646
|
+
status: "sent" | "skipped" | "rate_limited" | "not_supported";
|
|
1647
1647
|
}, {
|
|
1648
|
-
status: "
|
|
1648
|
+
status: "sent" | "skipped" | "rate_limited" | "not_supported";
|
|
1649
1649
|
}>;
|
|
1650
1650
|
}, "strip", z.ZodTypeAny, {
|
|
1651
1651
|
invitation: {
|
|
1652
|
-
status: "pending" | "accepted" | "revoked";
|
|
1653
1652
|
id: string;
|
|
1653
|
+
status: "pending" | "accepted" | "revoked";
|
|
1654
1654
|
email: string;
|
|
1655
1655
|
expiresAt: string;
|
|
1656
1656
|
groupIds: string[];
|
|
@@ -1660,12 +1660,12 @@ export declare const CreateAuthInvitationResponseSchema: z.ZodObject<{
|
|
|
1660
1660
|
revokedAt?: string | undefined;
|
|
1661
1661
|
};
|
|
1662
1662
|
delivery: {
|
|
1663
|
-
status: "
|
|
1663
|
+
status: "sent" | "skipped" | "rate_limited" | "not_supported";
|
|
1664
1664
|
};
|
|
1665
1665
|
}, {
|
|
1666
1666
|
invitation: {
|
|
1667
|
-
status: "pending" | "accepted" | "revoked";
|
|
1668
1667
|
id: string;
|
|
1668
|
+
status: "pending" | "accepted" | "revoked";
|
|
1669
1669
|
email: string;
|
|
1670
1670
|
expiresAt: string;
|
|
1671
1671
|
groupIds: string[];
|
|
@@ -1675,7 +1675,7 @@ export declare const CreateAuthInvitationResponseSchema: z.ZodObject<{
|
|
|
1675
1675
|
revokedAt?: string | undefined;
|
|
1676
1676
|
};
|
|
1677
1677
|
delivery: {
|
|
1678
|
-
status: "
|
|
1678
|
+
status: "sent" | "skipped" | "rate_limited" | "not_supported";
|
|
1679
1679
|
};
|
|
1680
1680
|
}>;
|
|
1681
1681
|
export declare const ListAuthInvitationsQuerySchema: z.ZodObject<{
|
|
@@ -1686,16 +1686,16 @@ export declare const ListAuthInvitationsQuerySchema: z.ZodObject<{
|
|
|
1686
1686
|
order: z.ZodOptional<z.ZodEnum<["asc", "desc"]>>;
|
|
1687
1687
|
}, "strip", z.ZodTypeAny, {
|
|
1688
1688
|
status?: "pending" | "accepted" | "revoked" | undefined;
|
|
1689
|
+
email?: string | undefined;
|
|
1689
1690
|
limit?: string | undefined;
|
|
1690
1691
|
offset?: string | undefined;
|
|
1691
1692
|
order?: "asc" | "desc" | undefined;
|
|
1692
|
-
email?: string | undefined;
|
|
1693
1693
|
}, {
|
|
1694
1694
|
status?: "pending" | "accepted" | "revoked" | undefined;
|
|
1695
|
+
email?: string | undefined;
|
|
1695
1696
|
limit?: string | undefined;
|
|
1696
1697
|
offset?: string | undefined;
|
|
1697
1698
|
order?: "asc" | "desc" | undefined;
|
|
1698
|
-
email?: string | undefined;
|
|
1699
1699
|
}>;
|
|
1700
1700
|
export declare const ListAuthInvitationsResponseSchema: z.ZodObject<{
|
|
1701
1701
|
invitations: z.ZodArray<z.ZodObject<{
|
|
@@ -1709,8 +1709,8 @@ export declare const ListAuthInvitationsResponseSchema: z.ZodObject<{
|
|
|
1709
1709
|
acceptedAt: z.ZodOptional<z.ZodString>;
|
|
1710
1710
|
revokedAt: z.ZodOptional<z.ZodString>;
|
|
1711
1711
|
}, "strip", z.ZodTypeAny, {
|
|
1712
|
-
status: "pending" | "accepted" | "revoked";
|
|
1713
1712
|
id: string;
|
|
1713
|
+
status: "pending" | "accepted" | "revoked";
|
|
1714
1714
|
email: string;
|
|
1715
1715
|
expiresAt: string;
|
|
1716
1716
|
groupIds: string[];
|
|
@@ -1719,8 +1719,8 @@ export declare const ListAuthInvitationsResponseSchema: z.ZodObject<{
|
|
|
1719
1719
|
acceptedAt?: string | undefined;
|
|
1720
1720
|
revokedAt?: string | undefined;
|
|
1721
1721
|
}, {
|
|
1722
|
-
status: "pending" | "accepted" | "revoked";
|
|
1723
1722
|
id: string;
|
|
1723
|
+
status: "pending" | "accepted" | "revoked";
|
|
1724
1724
|
email: string;
|
|
1725
1725
|
expiresAt: string;
|
|
1726
1726
|
groupIds: string[];
|
|
@@ -1735,8 +1735,8 @@ export declare const ListAuthInvitationsResponseSchema: z.ZodObject<{
|
|
|
1735
1735
|
hasMore: boolean;
|
|
1736
1736
|
total: number;
|
|
1737
1737
|
invitations: {
|
|
1738
|
-
status: "pending" | "accepted" | "revoked";
|
|
1739
1738
|
id: string;
|
|
1739
|
+
status: "pending" | "accepted" | "revoked";
|
|
1740
1740
|
email: string;
|
|
1741
1741
|
expiresAt: string;
|
|
1742
1742
|
groupIds: string[];
|
|
@@ -1749,8 +1749,8 @@ export declare const ListAuthInvitationsResponseSchema: z.ZodObject<{
|
|
|
1749
1749
|
hasMore: boolean;
|
|
1750
1750
|
total: number;
|
|
1751
1751
|
invitations: {
|
|
1752
|
-
status: "pending" | "accepted" | "revoked";
|
|
1753
1752
|
id: string;
|
|
1753
|
+
status: "pending" | "accepted" | "revoked";
|
|
1754
1754
|
email: string;
|
|
1755
1755
|
expiresAt: string;
|
|
1756
1756
|
groupIds: string[];
|
|
@@ -1779,8 +1779,8 @@ export declare const RevokeAuthInvitationResponseSchema: z.ZodObject<{
|
|
|
1779
1779
|
acceptedAt: z.ZodOptional<z.ZodString>;
|
|
1780
1780
|
revokedAt: z.ZodOptional<z.ZodString>;
|
|
1781
1781
|
}, "strip", z.ZodTypeAny, {
|
|
1782
|
-
status: "pending" | "accepted" | "revoked";
|
|
1783
1782
|
id: string;
|
|
1783
|
+
status: "pending" | "accepted" | "revoked";
|
|
1784
1784
|
email: string;
|
|
1785
1785
|
expiresAt: string;
|
|
1786
1786
|
groupIds: string[];
|
|
@@ -1789,8 +1789,8 @@ export declare const RevokeAuthInvitationResponseSchema: z.ZodObject<{
|
|
|
1789
1789
|
acceptedAt?: string | undefined;
|
|
1790
1790
|
revokedAt?: string | undefined;
|
|
1791
1791
|
}, {
|
|
1792
|
-
status: "pending" | "accepted" | "revoked";
|
|
1793
1792
|
id: string;
|
|
1793
|
+
status: "pending" | "accepted" | "revoked";
|
|
1794
1794
|
email: string;
|
|
1795
1795
|
expiresAt: string;
|
|
1796
1796
|
groupIds: string[];
|
|
@@ -1801,8 +1801,8 @@ export declare const RevokeAuthInvitationResponseSchema: z.ZodObject<{
|
|
|
1801
1801
|
}>;
|
|
1802
1802
|
}, "strip", z.ZodTypeAny, {
|
|
1803
1803
|
invitation: {
|
|
1804
|
-
status: "pending" | "accepted" | "revoked";
|
|
1805
1804
|
id: string;
|
|
1805
|
+
status: "pending" | "accepted" | "revoked";
|
|
1806
1806
|
email: string;
|
|
1807
1807
|
expiresAt: string;
|
|
1808
1808
|
groupIds: string[];
|
|
@@ -1813,8 +1813,8 @@ export declare const RevokeAuthInvitationResponseSchema: z.ZodObject<{
|
|
|
1813
1813
|
};
|
|
1814
1814
|
}, {
|
|
1815
1815
|
invitation: {
|
|
1816
|
-
status: "pending" | "accepted" | "revoked";
|
|
1817
1816
|
id: string;
|
|
1817
|
+
status: "pending" | "accepted" | "revoked";
|
|
1818
1818
|
email: string;
|
|
1819
1819
|
expiresAt: string;
|
|
1820
1820
|
groupIds: string[];
|
|
@@ -1853,14 +1853,14 @@ export declare const AuthSessionResponseSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
1853
1853
|
id: string;
|
|
1854
1854
|
email: string;
|
|
1855
1855
|
groupIds: string[];
|
|
1856
|
-
displayName?: string | undefined;
|
|
1857
1856
|
avatarUrl?: string | undefined;
|
|
1857
|
+
displayName?: string | undefined;
|
|
1858
1858
|
}, {
|
|
1859
1859
|
id: string;
|
|
1860
1860
|
email: string;
|
|
1861
1861
|
groupIds: string[];
|
|
1862
|
-
displayName?: string | undefined;
|
|
1863
1862
|
avatarUrl?: string | undefined;
|
|
1863
|
+
displayName?: string | undefined;
|
|
1864
1864
|
}>;
|
|
1865
1865
|
session: z.ZodObject<{
|
|
1866
1866
|
id: z.ZodString;
|
|
@@ -1882,8 +1882,8 @@ export declare const AuthSessionResponseSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
1882
1882
|
id: string;
|
|
1883
1883
|
email: string;
|
|
1884
1884
|
groupIds: string[];
|
|
1885
|
-
displayName?: string | undefined;
|
|
1886
1885
|
avatarUrl?: string | undefined;
|
|
1886
|
+
displayName?: string | undefined;
|
|
1887
1887
|
};
|
|
1888
1888
|
authenticated: true;
|
|
1889
1889
|
applicationAccess: {
|
|
@@ -1900,8 +1900,8 @@ export declare const AuthSessionResponseSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
1900
1900
|
id: string;
|
|
1901
1901
|
email: string;
|
|
1902
1902
|
groupIds: string[];
|
|
1903
|
-
displayName?: string | undefined;
|
|
1904
1903
|
avatarUrl?: string | undefined;
|
|
1904
|
+
displayName?: string | undefined;
|
|
1905
1905
|
};
|
|
1906
1906
|
authenticated: true;
|
|
1907
1907
|
applicationAccess: {
|
|
@@ -1926,8 +1926,8 @@ export declare const AuthSessionSummarySchema: z.ZodObject<{
|
|
|
1926
1926
|
userAgent: z.ZodOptional<z.ZodString>;
|
|
1927
1927
|
ipAddress: z.ZodOptional<z.ZodString>;
|
|
1928
1928
|
}, "strip", z.ZodTypeAny, {
|
|
1929
|
-
audience: "atlas" | "app";
|
|
1930
1929
|
id: string;
|
|
1930
|
+
audience: "atlas" | "app";
|
|
1931
1931
|
expiresAt: string;
|
|
1932
1932
|
createdAt: string;
|
|
1933
1933
|
current: boolean;
|
|
@@ -1935,8 +1935,8 @@ export declare const AuthSessionSummarySchema: z.ZodObject<{
|
|
|
1935
1935
|
userAgent?: string | undefined;
|
|
1936
1936
|
ipAddress?: string | undefined;
|
|
1937
1937
|
}, {
|
|
1938
|
-
audience: "atlas" | "app";
|
|
1939
1938
|
id: string;
|
|
1939
|
+
audience: "atlas" | "app";
|
|
1940
1940
|
expiresAt: string;
|
|
1941
1941
|
createdAt: string;
|
|
1942
1942
|
current: boolean;
|
|
@@ -1955,8 +1955,8 @@ export declare const ListAuthSessionsResponseSchema: z.ZodObject<{
|
|
|
1955
1955
|
userAgent: z.ZodOptional<z.ZodString>;
|
|
1956
1956
|
ipAddress: z.ZodOptional<z.ZodString>;
|
|
1957
1957
|
}, "strip", z.ZodTypeAny, {
|
|
1958
|
-
audience: "atlas" | "app";
|
|
1959
1958
|
id: string;
|
|
1959
|
+
audience: "atlas" | "app";
|
|
1960
1960
|
expiresAt: string;
|
|
1961
1961
|
createdAt: string;
|
|
1962
1962
|
current: boolean;
|
|
@@ -1964,8 +1964,8 @@ export declare const ListAuthSessionsResponseSchema: z.ZodObject<{
|
|
|
1964
1964
|
userAgent?: string | undefined;
|
|
1965
1965
|
ipAddress?: string | undefined;
|
|
1966
1966
|
}, {
|
|
1967
|
-
audience: "atlas" | "app";
|
|
1968
1967
|
id: string;
|
|
1968
|
+
audience: "atlas" | "app";
|
|
1969
1969
|
expiresAt: string;
|
|
1970
1970
|
createdAt: string;
|
|
1971
1971
|
current: boolean;
|
|
@@ -1975,8 +1975,8 @@ export declare const ListAuthSessionsResponseSchema: z.ZodObject<{
|
|
|
1975
1975
|
}>, "many">;
|
|
1976
1976
|
}, "strip", z.ZodTypeAny, {
|
|
1977
1977
|
sessions: {
|
|
1978
|
-
audience: "atlas" | "app";
|
|
1979
1978
|
id: string;
|
|
1979
|
+
audience: "atlas" | "app";
|
|
1980
1980
|
expiresAt: string;
|
|
1981
1981
|
createdAt: string;
|
|
1982
1982
|
current: boolean;
|
|
@@ -1986,8 +1986,8 @@ export declare const ListAuthSessionsResponseSchema: z.ZodObject<{
|
|
|
1986
1986
|
}[];
|
|
1987
1987
|
}, {
|
|
1988
1988
|
sessions: {
|
|
1989
|
-
audience: "atlas" | "app";
|
|
1990
1989
|
id: string;
|
|
1990
|
+
audience: "atlas" | "app";
|
|
1991
1991
|
expiresAt: string;
|
|
1992
1992
|
createdAt: string;
|
|
1993
1993
|
current: boolean;
|