@sixb/server 0.1.1 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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/experience.d.ts +33 -0
- package/dist/auth/experience.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.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3903 -2760
- package/dist/index.js.map +58 -50
- package/dist/openapi/tags.d.ts +15 -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 +12 -11
- 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 +230 -159
- package/dist/routes/agents.d.ts.map +1 -1
- package/dist/routes/ai-accounting.d.ts +31 -0
- package/dist/routes/ai-accounting.d.ts.map +1 -0
- package/dist/routes/auth.d.ts +149 -92
- 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 +16 -12
- package/dist/routes/datasets.d.ts.map +1 -1
- package/dist/routes/events.d.ts +9 -9
- package/dist/routes/events.d.ts.map +1 -1
- package/dist/routes/files.d.ts +19 -18
- package/dist/routes/files.d.ts.map +1 -1
- package/dist/routes/links.d.ts +11 -11
- 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 +37 -37
- 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 +28 -38
- 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 +145 -85
- 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 +23 -28
- package/dist/routes/syncs.d.ts.map +1 -1
- package/dist/routes/telemetry.d.ts +9 -9
- 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 +177 -66
- 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 +89 -194
- package/dist/schemas/actions.d.ts.map +1 -1
- package/dist/schemas/agents.d.ts +791 -471
- package/dist/schemas/agents.d.ts.map +1 -1
- package/dist/schemas/ai-accounting.d.ts +2393 -0
- package/dist/schemas/ai-accounting.d.ts.map +1 -0
- 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 +102 -102
- 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 +12 -12
- package/dist/schemas/events.d.ts +40 -40
- package/dist/schemas/links.d.ts +2 -2
- 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 +89 -184
- package/dist/schemas/pipelines.d.ts.map +1 -1
- package/dist/schemas/projections.d.ts +1030 -563
- package/dist/schemas/projections.d.ts.map +1 -1
- package/dist/schemas/rules.d.ts +6 -6
- 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 +1189 -185
- package/dist/schemas/workflows.d.ts.map +1 -1
- package/dist/server.d.ts +11 -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 +5 -5
- 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/experience.ts +190 -0
- package/src/auth/guard.ts +11 -11
- package/src/auth/public-routes.ts +20 -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/index.ts +1 -0
- package/src/openapi/tags.ts +13 -1
- package/src/registerRoutes.ts +36 -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 +90 -200
- package/src/routes/ai-accounting.ts +166 -0
- package/src/routes/auth.ts +274 -122
- 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 +44 -42
- 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 +242 -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 +23 -23
- package/src/schemas/ai-accounting.ts +182 -0
- 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 +23 -3
- package/src/schemas/syncs.ts +13 -8
- package/src/schemas/webhook-runs.ts +10 -5
- package/src/schemas/workflows.ts +23 -8
- package/src/server.ts +75 -26
- package/src/utils/http.ts +34 -6
- package/src/utils/ws.ts +10 -5
package/dist/schemas/auth.d.ts
CHANGED
|
@@ -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;
|
|
@@ -86,9 +86,9 @@ export declare const AuthAccessTokenSchema: z.ZodObject<{
|
|
|
86
86
|
lastUsedIpAddress: z.ZodOptional<z.ZodString>;
|
|
87
87
|
}, "strip", z.ZodTypeAny, {
|
|
88
88
|
status: "expired" | "active" | "revoked";
|
|
89
|
+
id: string;
|
|
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";
|
|
@@ -101,9 +101,9 @@ export declare const AuthAccessTokenSchema: z.ZodObject<{
|
|
|
101
101
|
lastUsedIpAddress?: string | undefined;
|
|
102
102
|
}, {
|
|
103
103
|
status: "expired" | "active" | "revoked";
|
|
104
|
+
id: string;
|
|
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";
|
|
@@ -125,16 +125,16 @@ export declare const AuthServiceAccountSchema: z.ZodObject<{
|
|
|
125
125
|
updatedAt: z.ZodString;
|
|
126
126
|
}, "strip", z.ZodTypeAny, {
|
|
127
127
|
status: "active" | "suspended";
|
|
128
|
-
name: string;
|
|
129
128
|
id: string;
|
|
129
|
+
name: string;
|
|
130
130
|
groupIds: string[];
|
|
131
131
|
createdAt: string;
|
|
132
132
|
updatedAt: string;
|
|
133
133
|
description?: string | undefined;
|
|
134
134
|
}, {
|
|
135
135
|
status: "active" | "suspended";
|
|
136
|
-
name: string;
|
|
137
136
|
id: string;
|
|
137
|
+
name: string;
|
|
138
138
|
groupIds: string[];
|
|
139
139
|
createdAt: string;
|
|
140
140
|
updatedAt: string;
|
|
@@ -154,16 +154,16 @@ export declare const AuthMemberUserSchema: z.ZodObject<{
|
|
|
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
160
|
status: "active" | "suspended";
|
|
161
161
|
id: string;
|
|
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<{
|
|
@@ -180,16 +180,16 @@ export declare const AuthManagedMemberSchema: z.ZodObject<{
|
|
|
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
186
|
status: "active" | "suspended";
|
|
187
187
|
id: string;
|
|
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, {
|
|
@@ -199,8 +199,8 @@ export declare const AuthManagedMemberSchema: z.ZodObject<{
|
|
|
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
|
}, {
|
|
@@ -210,8 +210,8 @@ export declare const AuthManagedMemberSchema: z.ZodObject<{
|
|
|
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
|
}>;
|
|
@@ -243,16 +243,16 @@ export declare const AuthMemberSchema: z.ZodObject<{
|
|
|
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
249
|
status: "active" | "suspended";
|
|
250
250
|
id: string;
|
|
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
|
} & {
|
|
@@ -276,8 +276,8 @@ export declare const AuthMemberSchema: z.ZodObject<{
|
|
|
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: {
|
|
@@ -292,8 +292,8 @@ export declare const AuthMemberSchema: z.ZodObject<{
|
|
|
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: {
|
|
@@ -347,9 +347,9 @@ export declare const ListAuthAccessTokensResponseSchema: z.ZodObject<{
|
|
|
347
347
|
lastUsedIpAddress: z.ZodOptional<z.ZodString>;
|
|
348
348
|
}, "strip", z.ZodTypeAny, {
|
|
349
349
|
status: "expired" | "active" | "revoked";
|
|
350
|
+
id: string;
|
|
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";
|
|
@@ -362,9 +362,9 @@ export declare const ListAuthAccessTokensResponseSchema: z.ZodObject<{
|
|
|
362
362
|
lastUsedIpAddress?: string | undefined;
|
|
363
363
|
}, {
|
|
364
364
|
status: "expired" | "active" | "revoked";
|
|
365
|
+
id: string;
|
|
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";
|
|
@@ -379,9 +379,9 @@ export declare const ListAuthAccessTokensResponseSchema: z.ZodObject<{
|
|
|
379
379
|
}, "strip", z.ZodTypeAny, {
|
|
380
380
|
accessTokens: {
|
|
381
381
|
status: "expired" | "active" | "revoked";
|
|
382
|
+
id: string;
|
|
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";
|
|
@@ -396,9 +396,9 @@ export declare const ListAuthAccessTokensResponseSchema: z.ZodObject<{
|
|
|
396
396
|
}, {
|
|
397
397
|
accessTokens: {
|
|
398
398
|
status: "expired" | "active" | "revoked";
|
|
399
|
+
id: string;
|
|
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";
|
|
@@ -442,9 +442,9 @@ export declare const CreateAuthPersonalAccessTokenResponseSchema: z.ZodObject<{
|
|
|
442
442
|
lastUsedIpAddress: z.ZodOptional<z.ZodString>;
|
|
443
443
|
}, "strip", z.ZodTypeAny, {
|
|
444
444
|
status: "expired" | "active" | "revoked";
|
|
445
|
+
id: string;
|
|
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";
|
|
@@ -457,9 +457,9 @@ export declare const CreateAuthPersonalAccessTokenResponseSchema: z.ZodObject<{
|
|
|
457
457
|
lastUsedIpAddress?: string | undefined;
|
|
458
458
|
}, {
|
|
459
459
|
status: "expired" | "active" | "revoked";
|
|
460
|
+
id: string;
|
|
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";
|
|
@@ -475,9 +475,9 @@ export declare const CreateAuthPersonalAccessTokenResponseSchema: z.ZodObject<{
|
|
|
475
475
|
}, "strip", z.ZodTypeAny, {
|
|
476
476
|
accessToken: {
|
|
477
477
|
status: "expired" | "active" | "revoked";
|
|
478
|
+
id: string;
|
|
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";
|
|
@@ -493,9 +493,9 @@ export declare const CreateAuthPersonalAccessTokenResponseSchema: z.ZodObject<{
|
|
|
493
493
|
}, {
|
|
494
494
|
accessToken: {
|
|
495
495
|
status: "expired" | "active" | "revoked";
|
|
496
|
+
id: string;
|
|
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";
|
|
@@ -534,9 +534,9 @@ export declare const RevokeAuthAccessTokenResponseSchema: z.ZodObject<{
|
|
|
534
534
|
lastUsedIpAddress: z.ZodOptional<z.ZodString>;
|
|
535
535
|
}, "strip", z.ZodTypeAny, {
|
|
536
536
|
status: "expired" | "active" | "revoked";
|
|
537
|
+
id: string;
|
|
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";
|
|
@@ -549,9 +549,9 @@ export declare const RevokeAuthAccessTokenResponseSchema: z.ZodObject<{
|
|
|
549
549
|
lastUsedIpAddress?: string | undefined;
|
|
550
550
|
}, {
|
|
551
551
|
status: "expired" | "active" | "revoked";
|
|
552
|
+
id: string;
|
|
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";
|
|
@@ -566,9 +566,9 @@ export declare const RevokeAuthAccessTokenResponseSchema: z.ZodObject<{
|
|
|
566
566
|
}, "strip", z.ZodTypeAny, {
|
|
567
567
|
accessToken: {
|
|
568
568
|
status: "expired" | "active" | "revoked";
|
|
569
|
+
id: string;
|
|
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";
|
|
@@ -583,9 +583,9 @@ export declare const RevokeAuthAccessTokenResponseSchema: z.ZodObject<{
|
|
|
583
583
|
}, {
|
|
584
584
|
accessToken: {
|
|
585
585
|
status: "expired" | "active" | "revoked";
|
|
586
|
+
id: string;
|
|
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";
|
|
@@ -609,16 +609,16 @@ export declare const ListAuthServiceAccountsResponseSchema: z.ZodObject<{
|
|
|
609
609
|
updatedAt: z.ZodString;
|
|
610
610
|
}, "strip", z.ZodTypeAny, {
|
|
611
611
|
status: "active" | "suspended";
|
|
612
|
-
name: string;
|
|
613
612
|
id: string;
|
|
613
|
+
name: string;
|
|
614
614
|
groupIds: string[];
|
|
615
615
|
createdAt: string;
|
|
616
616
|
updatedAt: string;
|
|
617
617
|
description?: string | undefined;
|
|
618
618
|
}, {
|
|
619
619
|
status: "active" | "suspended";
|
|
620
|
-
name: string;
|
|
621
620
|
id: string;
|
|
621
|
+
name: string;
|
|
622
622
|
groupIds: string[];
|
|
623
623
|
createdAt: string;
|
|
624
624
|
updatedAt: string;
|
|
@@ -627,8 +627,8 @@ export declare const ListAuthServiceAccountsResponseSchema: z.ZodObject<{
|
|
|
627
627
|
}, "strip", z.ZodTypeAny, {
|
|
628
628
|
serviceAccounts: {
|
|
629
629
|
status: "active" | "suspended";
|
|
630
|
-
name: string;
|
|
631
630
|
id: string;
|
|
631
|
+
name: string;
|
|
632
632
|
groupIds: string[];
|
|
633
633
|
createdAt: string;
|
|
634
634
|
updatedAt: string;
|
|
@@ -637,8 +637,8 @@ export declare const ListAuthServiceAccountsResponseSchema: z.ZodObject<{
|
|
|
637
637
|
}, {
|
|
638
638
|
serviceAccounts: {
|
|
639
639
|
status: "active" | "suspended";
|
|
640
|
-
name: string;
|
|
641
640
|
id: string;
|
|
641
|
+
name: 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<{
|
|
@@ -672,16 +672,16 @@ export declare const CreateAuthServiceAccountResponseSchema: z.ZodObject<{
|
|
|
672
672
|
updatedAt: z.ZodString;
|
|
673
673
|
}, "strip", z.ZodTypeAny, {
|
|
674
674
|
status: "active" | "suspended";
|
|
675
|
-
name: string;
|
|
676
675
|
id: string;
|
|
676
|
+
name: string;
|
|
677
677
|
groupIds: string[];
|
|
678
678
|
createdAt: string;
|
|
679
679
|
updatedAt: string;
|
|
680
680
|
description?: string | undefined;
|
|
681
681
|
}, {
|
|
682
682
|
status: "active" | "suspended";
|
|
683
|
-
name: string;
|
|
684
683
|
id: string;
|
|
684
|
+
name: string;
|
|
685
685
|
groupIds: string[];
|
|
686
686
|
createdAt: string;
|
|
687
687
|
updatedAt: string;
|
|
@@ -690,8 +690,8 @@ export declare const CreateAuthServiceAccountResponseSchema: z.ZodObject<{
|
|
|
690
690
|
}, "strip", z.ZodTypeAny, {
|
|
691
691
|
serviceAccount: {
|
|
692
692
|
status: "active" | "suspended";
|
|
693
|
-
name: string;
|
|
694
693
|
id: string;
|
|
694
|
+
name: string;
|
|
695
695
|
groupIds: string[];
|
|
696
696
|
createdAt: string;
|
|
697
697
|
updatedAt: string;
|
|
@@ -700,8 +700,8 @@ export declare const CreateAuthServiceAccountResponseSchema: z.ZodObject<{
|
|
|
700
700
|
}, {
|
|
701
701
|
serviceAccount: {
|
|
702
702
|
status: "active" | "suspended";
|
|
703
|
-
name: string;
|
|
704
703
|
id: string;
|
|
704
|
+
name: string;
|
|
705
705
|
groupIds: string[];
|
|
706
706
|
createdAt: string;
|
|
707
707
|
updatedAt: string;
|
|
@@ -726,16 +726,16 @@ export declare const DisableAuthServiceAccountResponseSchema: z.ZodObject<{
|
|
|
726
726
|
updatedAt: z.ZodString;
|
|
727
727
|
}, "strip", z.ZodTypeAny, {
|
|
728
728
|
status: "active" | "suspended";
|
|
729
|
-
name: string;
|
|
730
729
|
id: string;
|
|
730
|
+
name: string;
|
|
731
731
|
groupIds: string[];
|
|
732
732
|
createdAt: string;
|
|
733
733
|
updatedAt: string;
|
|
734
734
|
description?: string | undefined;
|
|
735
735
|
}, {
|
|
736
736
|
status: "active" | "suspended";
|
|
737
|
-
name: string;
|
|
738
737
|
id: string;
|
|
738
|
+
name: string;
|
|
739
739
|
groupIds: string[];
|
|
740
740
|
createdAt: string;
|
|
741
741
|
updatedAt: string;
|
|
@@ -744,8 +744,8 @@ export declare const DisableAuthServiceAccountResponseSchema: z.ZodObject<{
|
|
|
744
744
|
}, "strip", z.ZodTypeAny, {
|
|
745
745
|
serviceAccount: {
|
|
746
746
|
status: "active" | "suspended";
|
|
747
|
-
name: string;
|
|
748
747
|
id: string;
|
|
748
|
+
name: string;
|
|
749
749
|
groupIds: string[];
|
|
750
750
|
createdAt: string;
|
|
751
751
|
updatedAt: string;
|
|
@@ -754,8 +754,8 @@ export declare const DisableAuthServiceAccountResponseSchema: z.ZodObject<{
|
|
|
754
754
|
}, {
|
|
755
755
|
serviceAccount: {
|
|
756
756
|
status: "active" | "suspended";
|
|
757
|
-
name: string;
|
|
758
757
|
id: string;
|
|
758
|
+
name: string;
|
|
759
759
|
groupIds: string[];
|
|
760
760
|
createdAt: string;
|
|
761
761
|
updatedAt: string;
|
|
@@ -780,9 +780,9 @@ export declare const ListAuthServiceAccountAccessTokensResponseSchema: z.ZodObje
|
|
|
780
780
|
lastUsedIpAddress: z.ZodOptional<z.ZodString>;
|
|
781
781
|
}, "strip", z.ZodTypeAny, {
|
|
782
782
|
status: "expired" | "active" | "revoked";
|
|
783
|
+
id: string;
|
|
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";
|
|
@@ -795,9 +795,9 @@ export declare const ListAuthServiceAccountAccessTokensResponseSchema: z.ZodObje
|
|
|
795
795
|
lastUsedIpAddress?: string | undefined;
|
|
796
796
|
}, {
|
|
797
797
|
status: "expired" | "active" | "revoked";
|
|
798
|
+
id: string;
|
|
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";
|
|
@@ -812,9 +812,9 @@ export declare const ListAuthServiceAccountAccessTokensResponseSchema: z.ZodObje
|
|
|
812
812
|
}, "strip", z.ZodTypeAny, {
|
|
813
813
|
accessTokens: {
|
|
814
814
|
status: "expired" | "active" | "revoked";
|
|
815
|
+
id: string;
|
|
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";
|
|
@@ -829,9 +829,9 @@ export declare const ListAuthServiceAccountAccessTokensResponseSchema: z.ZodObje
|
|
|
829
829
|
}, {
|
|
830
830
|
accessTokens: {
|
|
831
831
|
status: "expired" | "active" | "revoked";
|
|
832
|
+
id: string;
|
|
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";
|
|
@@ -875,9 +875,9 @@ export declare const CreateAuthServiceAccountAccessTokenResponseSchema: z.ZodObj
|
|
|
875
875
|
lastUsedIpAddress: z.ZodOptional<z.ZodString>;
|
|
876
876
|
}, "strip", z.ZodTypeAny, {
|
|
877
877
|
status: "expired" | "active" | "revoked";
|
|
878
|
+
id: string;
|
|
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";
|
|
@@ -890,9 +890,9 @@ export declare const CreateAuthServiceAccountAccessTokenResponseSchema: z.ZodObj
|
|
|
890
890
|
lastUsedIpAddress?: string | undefined;
|
|
891
891
|
}, {
|
|
892
892
|
status: "expired" | "active" | "revoked";
|
|
893
|
+
id: string;
|
|
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";
|
|
@@ -908,9 +908,9 @@ export declare const CreateAuthServiceAccountAccessTokenResponseSchema: z.ZodObj
|
|
|
908
908
|
}, "strip", z.ZodTypeAny, {
|
|
909
909
|
accessToken: {
|
|
910
910
|
status: "expired" | "active" | "revoked";
|
|
911
|
+
id: string;
|
|
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";
|
|
@@ -926,9 +926,9 @@ export declare const CreateAuthServiceAccountAccessTokenResponseSchema: z.ZodObj
|
|
|
926
926
|
}, {
|
|
927
927
|
accessToken: {
|
|
928
928
|
status: "expired" | "active" | "revoked";
|
|
929
|
+
id: string;
|
|
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";
|
|
@@ -971,9 +971,9 @@ export declare const RevokeAuthServiceAccountAccessTokenResponseSchema: z.ZodObj
|
|
|
971
971
|
lastUsedIpAddress: z.ZodOptional<z.ZodString>;
|
|
972
972
|
}, "strip", z.ZodTypeAny, {
|
|
973
973
|
status: "expired" | "active" | "revoked";
|
|
974
|
+
id: string;
|
|
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";
|
|
@@ -986,9 +986,9 @@ export declare const RevokeAuthServiceAccountAccessTokenResponseSchema: z.ZodObj
|
|
|
986
986
|
lastUsedIpAddress?: string | undefined;
|
|
987
987
|
}, {
|
|
988
988
|
status: "expired" | "active" | "revoked";
|
|
989
|
+
id: string;
|
|
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";
|
|
@@ -1003,9 +1003,9 @@ export declare const RevokeAuthServiceAccountAccessTokenResponseSchema: z.ZodObj
|
|
|
1003
1003
|
}, "strip", z.ZodTypeAny, {
|
|
1004
1004
|
accessToken: {
|
|
1005
1005
|
status: "expired" | "active" | "revoked";
|
|
1006
|
+
id: string;
|
|
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";
|
|
@@ -1020,9 +1020,9 @@ export declare const RevokeAuthServiceAccountAccessTokenResponseSchema: z.ZodObj
|
|
|
1020
1020
|
}, {
|
|
1021
1021
|
accessToken: {
|
|
1022
1022
|
status: "expired" | "active" | "revoked";
|
|
1023
|
+
id: string;
|
|
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";
|
|
@@ -1045,11 +1045,11 @@ export declare const AuthCreateInvitationCapabilitySchema: z.ZodUnion<[z.ZodObje
|
|
|
1045
1045
|
state: z.ZodLiteral<"disabled">;
|
|
1046
1046
|
reason: z.ZodEnum<["missing_membership_policy", "invitation_delivery_not_supported"]>;
|
|
1047
1047
|
}, "strip", z.ZodTypeAny, {
|
|
1048
|
-
state: "disabled";
|
|
1049
1048
|
reason: "missing_membership_policy" | "invitation_delivery_not_supported";
|
|
1050
|
-
}, {
|
|
1051
1049
|
state: "disabled";
|
|
1050
|
+
}, {
|
|
1052
1051
|
reason: "missing_membership_policy" | "invitation_delivery_not_supported";
|
|
1052
|
+
state: "disabled";
|
|
1053
1053
|
}>]>;
|
|
1054
1054
|
export declare const AuthInvitationDestinationSchema: z.ZodObject<{
|
|
1055
1055
|
id: z.ZodEnum<["atlas", "app"]>;
|
|
@@ -1098,25 +1098,25 @@ export declare const GetAuthInvitationOptionsResponseSchema: z.ZodObject<{
|
|
|
1098
1098
|
state: z.ZodLiteral<"disabled">;
|
|
1099
1099
|
reason: z.ZodEnum<["missing_membership_policy", "invitation_delivery_not_supported"]>;
|
|
1100
1100
|
}, "strip", z.ZodTypeAny, {
|
|
1101
|
-
state: "disabled";
|
|
1102
1101
|
reason: "missing_membership_policy" | "invitation_delivery_not_supported";
|
|
1103
|
-
}, {
|
|
1104
1102
|
state: "disabled";
|
|
1103
|
+
}, {
|
|
1105
1104
|
reason: "missing_membership_policy" | "invitation_delivery_not_supported";
|
|
1105
|
+
state: "disabled";
|
|
1106
1106
|
}>]>;
|
|
1107
1107
|
}, "strip", z.ZodTypeAny, {
|
|
1108
1108
|
createInvitation: {
|
|
1109
1109
|
state: "enabled";
|
|
1110
1110
|
} | {
|
|
1111
|
-
state: "disabled";
|
|
1112
1111
|
reason: "missing_membership_policy" | "invitation_delivery_not_supported";
|
|
1112
|
+
state: "disabled";
|
|
1113
1113
|
};
|
|
1114
1114
|
}, {
|
|
1115
1115
|
createInvitation: {
|
|
1116
1116
|
state: "enabled";
|
|
1117
1117
|
} | {
|
|
1118
|
-
state: "disabled";
|
|
1119
1118
|
reason: "missing_membership_policy" | "invitation_delivery_not_supported";
|
|
1119
|
+
state: "disabled";
|
|
1120
1120
|
};
|
|
1121
1121
|
}>;
|
|
1122
1122
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1124,8 +1124,8 @@ export declare const GetAuthInvitationOptionsResponseSchema: z.ZodObject<{
|
|
|
1124
1124
|
createInvitation: {
|
|
1125
1125
|
state: "enabled";
|
|
1126
1126
|
} | {
|
|
1127
|
-
state: "disabled";
|
|
1128
1127
|
reason: "missing_membership_policy" | "invitation_delivery_not_supported";
|
|
1128
|
+
state: "disabled";
|
|
1129
1129
|
};
|
|
1130
1130
|
};
|
|
1131
1131
|
groups: {
|
|
@@ -1144,8 +1144,8 @@ export declare const GetAuthInvitationOptionsResponseSchema: z.ZodObject<{
|
|
|
1144
1144
|
createInvitation: {
|
|
1145
1145
|
state: "enabled";
|
|
1146
1146
|
} | {
|
|
1147
|
-
state: "disabled";
|
|
1148
1147
|
reason: "missing_membership_policy" | "invitation_delivery_not_supported";
|
|
1148
|
+
state: "disabled";
|
|
1149
1149
|
};
|
|
1150
1150
|
};
|
|
1151
1151
|
groups: {
|
|
@@ -1239,16 +1239,16 @@ export declare const ListAuthMembersResponseSchema: z.ZodObject<{
|
|
|
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
1245
|
status: "active" | "suspended";
|
|
1246
1246
|
id: string;
|
|
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
|
} & {
|
|
@@ -1272,8 +1272,8 @@ export declare const ListAuthMembersResponseSchema: z.ZodObject<{
|
|
|
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: {
|
|
@@ -1288,8 +1288,8 @@ export declare const ListAuthMembersResponseSchema: z.ZodObject<{
|
|
|
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: {
|
|
@@ -1310,8 +1310,8 @@ export declare const ListAuthMembersResponseSchema: z.ZodObject<{
|
|
|
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: {
|
|
@@ -1330,8 +1330,8 @@ export declare const ListAuthMembersResponseSchema: z.ZodObject<{
|
|
|
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: {
|
|
@@ -1371,16 +1371,16 @@ export declare const UpdateAuthMemberGroupsResponseSchema: z.ZodObject<{
|
|
|
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
1377
|
status: "active" | "suspended";
|
|
1378
1378
|
id: string;
|
|
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, {
|
|
@@ -1390,8 +1390,8 @@ export declare const UpdateAuthMemberGroupsResponseSchema: z.ZodObject<{
|
|
|
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
|
}, {
|
|
@@ -1401,8 +1401,8 @@ export declare const UpdateAuthMemberGroupsResponseSchema: z.ZodObject<{
|
|
|
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
|
}>;
|
|
@@ -1414,8 +1414,8 @@ export declare const UpdateAuthMemberGroupsResponseSchema: z.ZodObject<{
|
|
|
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
|
};
|
|
@@ -1427,8 +1427,8 @@ export declare const UpdateAuthMemberGroupsResponseSchema: z.ZodObject<{
|
|
|
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
|
};
|
|
@@ -1449,16 +1449,16 @@ export declare const SuspendAuthMemberResponseSchema: z.ZodObject<{
|
|
|
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
1455
|
status: "active" | "suspended";
|
|
1456
1456
|
id: string;
|
|
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, {
|
|
@@ -1468,8 +1468,8 @@ export declare const SuspendAuthMemberResponseSchema: z.ZodObject<{
|
|
|
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
|
}, {
|
|
@@ -1479,8 +1479,8 @@ export declare const SuspendAuthMemberResponseSchema: z.ZodObject<{
|
|
|
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
|
}>;
|
|
@@ -1492,8 +1492,8 @@ export declare const SuspendAuthMemberResponseSchema: z.ZodObject<{
|
|
|
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
|
};
|
|
@@ -1505,8 +1505,8 @@ export declare const SuspendAuthMemberResponseSchema: z.ZodObject<{
|
|
|
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
|
};
|
|
@@ -1527,16 +1527,16 @@ export declare const ReactivateAuthMemberResponseSchema: z.ZodObject<{
|
|
|
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
1533
|
status: "active" | "suspended";
|
|
1534
1534
|
id: string;
|
|
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, {
|
|
@@ -1546,8 +1546,8 @@ export declare const ReactivateAuthMemberResponseSchema: z.ZodObject<{
|
|
|
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
|
}, {
|
|
@@ -1557,8 +1557,8 @@ export declare const ReactivateAuthMemberResponseSchema: z.ZodObject<{
|
|
|
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
|
}>;
|
|
@@ -1570,8 +1570,8 @@ export declare const ReactivateAuthMemberResponseSchema: z.ZodObject<{
|
|
|
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
|
};
|
|
@@ -1583,8 +1583,8 @@ export declare const ReactivateAuthMemberResponseSchema: z.ZodObject<{
|
|
|
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
|
};
|
|
@@ -1643,9 +1643,9 @@ 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: {
|
|
@@ -1660,7 +1660,7 @@ 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: {
|
|
@@ -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<{
|
|
@@ -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;
|