@robelest/convex-auth 0.0.4-preview.32 → 0.0.4-preview.33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/component/convex.config.d.ts +2 -2
- package/dist/component/model.d.ts +317 -28
- package/dist/component/schema.d.ts +290 -290
- package/dist/core/index.d.ts +2 -1
- package/dist/model.js +373 -0
- package/dist/server/auth.d.ts +71 -6
- package/dist/server/auth.js +2 -0
- package/dist/server/index.d.ts +5 -3
- package/dist/server/index.js +3 -1
- package/dist/server/mounts.d.ts +79 -79
- package/dist/server/runtime.d.ts +12 -12
- package/dist/server/types.d.ts +1 -1
- package/dist/server/validators.d.ts +722 -0
- package/dist/server/validators.js +59 -0
- package/package.json +1 -1
package/dist/server/mounts.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AuthAuthorizationConfig, GroupConnectionPolicy } from "./types.js";
|
|
2
2
|
import { AuthApi } from "./auth.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as convex_server11 from "convex/server";
|
|
4
4
|
|
|
5
5
|
//#region src/server/mounts.d.ts
|
|
6
6
|
/**
|
|
@@ -53,7 +53,7 @@ type GroupSsoAccessInput = {
|
|
|
53
53
|
* ```
|
|
54
54
|
*/
|
|
55
55
|
type GroupSsoAccessHandler = (ctx: {
|
|
56
|
-
auth:
|
|
56
|
+
auth: convex_server11.Auth;
|
|
57
57
|
}, input: GroupSsoAccessInput) => Promise<void>;
|
|
58
58
|
/**
|
|
59
59
|
* Declarative requirement map for mounted Group SSO admin permissions.
|
|
@@ -146,7 +146,7 @@ type GroupSsoAccessPermissions<TRequirement> = {
|
|
|
146
146
|
* ```
|
|
147
147
|
*/
|
|
148
148
|
type GroupSsoResolvedAccessHandler<TRequirement> = (ctx: {
|
|
149
|
-
auth:
|
|
149
|
+
auth: convex_server11.Auth;
|
|
150
150
|
}, input: GroupSsoAccessInput, required: readonly TRequirement[]) => Promise<void>;
|
|
151
151
|
/**
|
|
152
152
|
* Configuration for {@link createAuthGroupSso}, {@link sso}, and {@link scim}
|
|
@@ -213,7 +213,7 @@ type CreateAuthGroupSsoOptions<TRequirement = unknown> = {
|
|
|
213
213
|
declare function sso<TAuthorization extends AuthAuthorizationConfig | undefined = undefined, TRequirement = unknown>(auth: Pick<AuthApi<TAuthorization>, "context" | "group" | "member">, options?: CreateAuthGroupSsoOptions<TRequirement>): {
|
|
214
214
|
admin: {
|
|
215
215
|
connection: {
|
|
216
|
-
create:
|
|
216
|
+
create: convex_server11.RegisteredMutation<"public", {
|
|
217
217
|
name?: string | undefined;
|
|
218
218
|
slug?: string | undefined;
|
|
219
219
|
status?: "draft" | "active" | "disabled" | undefined;
|
|
@@ -224,7 +224,7 @@ declare function sso<TAuthorization extends AuthAuthorizationConfig | undefined
|
|
|
224
224
|
groupId: string;
|
|
225
225
|
connectionId: string;
|
|
226
226
|
}>>;
|
|
227
|
-
get:
|
|
227
|
+
get: convex_server11.RegisteredQuery<"public", {
|
|
228
228
|
connectionId: string;
|
|
229
229
|
}, Promise<{
|
|
230
230
|
_id: string;
|
|
@@ -237,7 +237,7 @@ declare function sso<TAuthorization extends AuthAuthorizationConfig | undefined
|
|
|
237
237
|
config?: unknown;
|
|
238
238
|
extend?: unknown;
|
|
239
239
|
} | null>>;
|
|
240
|
-
getByDomain:
|
|
240
|
+
getByDomain: convex_server11.RegisteredQuery<"public", {
|
|
241
241
|
domain: string;
|
|
242
242
|
}, Promise<{
|
|
243
243
|
connection: {
|
|
@@ -261,7 +261,7 @@ declare function sso<TAuthorization extends AuthAuthorizationConfig | undefined
|
|
|
261
261
|
verifiedAt?: number;
|
|
262
262
|
} | null;
|
|
263
263
|
} | null>>;
|
|
264
|
-
list:
|
|
264
|
+
list: convex_server11.RegisteredQuery<"public", {
|
|
265
265
|
limit?: number | undefined;
|
|
266
266
|
where?: {
|
|
267
267
|
slug?: string | undefined;
|
|
@@ -285,7 +285,7 @@ declare function sso<TAuthorization extends AuthAuthorizationConfig | undefined
|
|
|
285
285
|
}[];
|
|
286
286
|
nextCursor: string | null;
|
|
287
287
|
}>>;
|
|
288
|
-
update:
|
|
288
|
+
update: convex_server11.RegisteredMutation<"public", {
|
|
289
289
|
connectionId: string;
|
|
290
290
|
data: {
|
|
291
291
|
name?: string | undefined;
|
|
@@ -295,12 +295,12 @@ declare function sso<TAuthorization extends AuthAuthorizationConfig | undefined
|
|
|
295
295
|
}, Promise<{
|
|
296
296
|
connectionId: string;
|
|
297
297
|
}>>;
|
|
298
|
-
delete:
|
|
298
|
+
delete: convex_server11.RegisteredMutation<"public", {
|
|
299
299
|
connectionId: string;
|
|
300
300
|
}, Promise<{
|
|
301
301
|
connectionId: string;
|
|
302
302
|
}>>;
|
|
303
|
-
status:
|
|
303
|
+
status: convex_server11.RegisteredQuery<"public", {
|
|
304
304
|
connectionId: string;
|
|
305
305
|
}, Promise<{
|
|
306
306
|
connectionId: string;
|
|
@@ -328,7 +328,7 @@ declare function sso<TAuthorization extends AuthAuthorizationConfig | undefined
|
|
|
328
328
|
};
|
|
329
329
|
}>>;
|
|
330
330
|
domain: {
|
|
331
|
-
list:
|
|
331
|
+
list: convex_server11.RegisteredQuery<"public", {
|
|
332
332
|
connectionId: string;
|
|
333
333
|
}, Promise<{
|
|
334
334
|
_id: string;
|
|
@@ -339,7 +339,7 @@ declare function sso<TAuthorization extends AuthAuthorizationConfig | undefined
|
|
|
339
339
|
isPrimary: boolean;
|
|
340
340
|
verifiedAt?: number;
|
|
341
341
|
}[]>>;
|
|
342
|
-
status:
|
|
342
|
+
status: convex_server11.RegisteredQuery<"public", {
|
|
343
343
|
connectionId: string;
|
|
344
344
|
}, Promise<{
|
|
345
345
|
connectionId: string;
|
|
@@ -371,7 +371,7 @@ declare function sso<TAuthorization extends AuthAuthorizationConfig | undefined
|
|
|
371
371
|
warnings: string[];
|
|
372
372
|
nextSteps: string[];
|
|
373
373
|
}>>;
|
|
374
|
-
validate:
|
|
374
|
+
validate: convex_server11.RegisteredQuery<"public", {
|
|
375
375
|
connectionId: string;
|
|
376
376
|
}, Promise<{
|
|
377
377
|
connectionId: string;
|
|
@@ -390,7 +390,7 @@ declare function sso<TAuthorization extends AuthAuthorizationConfig | undefined
|
|
|
390
390
|
}[];
|
|
391
391
|
warnings: string[];
|
|
392
392
|
}>>;
|
|
393
|
-
set:
|
|
393
|
+
set: convex_server11.RegisteredMutation<"public", {
|
|
394
394
|
connectionId: string;
|
|
395
395
|
domains: {
|
|
396
396
|
isPrimary?: boolean | undefined;
|
|
@@ -407,7 +407,7 @@ declare function sso<TAuthorization extends AuthAuthorizationConfig | undefined
|
|
|
407
407
|
}>;
|
|
408
408
|
}>>;
|
|
409
409
|
verification: {
|
|
410
|
-
request:
|
|
410
|
+
request: convex_server11.RegisteredMutation<"public", {
|
|
411
411
|
connectionId: string;
|
|
412
412
|
domain: string;
|
|
413
413
|
}, Promise<{
|
|
@@ -421,7 +421,7 @@ declare function sso<TAuthorization extends AuthAuthorizationConfig | undefined
|
|
|
421
421
|
recordValue: string;
|
|
422
422
|
};
|
|
423
423
|
}>>;
|
|
424
|
-
confirm:
|
|
424
|
+
confirm: convex_server11.RegisteredAction<"public", {
|
|
425
425
|
connectionId: string;
|
|
426
426
|
domain: string;
|
|
427
427
|
}, Promise<{
|
|
@@ -438,13 +438,13 @@ declare function sso<TAuthorization extends AuthAuthorizationConfig | undefined
|
|
|
438
438
|
};
|
|
439
439
|
};
|
|
440
440
|
oidc: {
|
|
441
|
-
configure:
|
|
441
|
+
configure: convex_server11.RegisteredMutation<"public", {
|
|
442
442
|
profile?: {
|
|
443
443
|
mapping?: {
|
|
444
444
|
name?: string | undefined;
|
|
445
445
|
email?: string | undefined;
|
|
446
|
-
emailVerified?: string | undefined;
|
|
447
446
|
image?: string | undefined;
|
|
447
|
+
emailVerified?: string | undefined;
|
|
448
448
|
groups?: string | undefined;
|
|
449
449
|
roles?: string | undefined;
|
|
450
450
|
subject?: string | undefined;
|
|
@@ -475,12 +475,12 @@ declare function sso<TAuthorization extends AuthAuthorizationConfig | undefined
|
|
|
475
475
|
}, Promise<{
|
|
476
476
|
hasClientSecret: boolean;
|
|
477
477
|
}>>;
|
|
478
|
-
get:
|
|
478
|
+
get: convex_server11.RegisteredQuery<"public", {
|
|
479
479
|
connectionId: string;
|
|
480
480
|
}, Promise<{
|
|
481
481
|
hasClientSecret: boolean;
|
|
482
482
|
}>>;
|
|
483
|
-
validate:
|
|
483
|
+
validate: convex_server11.RegisteredAction<"public", {
|
|
484
484
|
connectionId: string;
|
|
485
485
|
}, Promise<{
|
|
486
486
|
ok: boolean;
|
|
@@ -491,7 +491,7 @@ declare function sso<TAuthorization extends AuthAuthorizationConfig | undefined
|
|
|
491
491
|
message?: string;
|
|
492
492
|
}[];
|
|
493
493
|
}>>;
|
|
494
|
-
status:
|
|
494
|
+
status: convex_server11.RegisteredQuery<"public", {
|
|
495
495
|
connectionId: string;
|
|
496
496
|
}, Promise<{
|
|
497
497
|
connectionId: string;
|
|
@@ -508,7 +508,7 @@ declare function sso<TAuthorization extends AuthAuthorizationConfig | undefined
|
|
|
508
508
|
}>>;
|
|
509
509
|
};
|
|
510
510
|
saml: {
|
|
511
|
-
configure:
|
|
511
|
+
configure: convex_server11.RegisteredAction<"public", {
|
|
512
512
|
profile?: {
|
|
513
513
|
mapping?: {
|
|
514
514
|
name?: string | undefined;
|
|
@@ -557,7 +557,7 @@ declare function sso<TAuthorization extends AuthAuthorizationConfig | undefined
|
|
|
557
557
|
connectionId: string;
|
|
558
558
|
groupId: string;
|
|
559
559
|
}>>;
|
|
560
|
-
validate:
|
|
560
|
+
validate: convex_server11.RegisteredQuery<"public", {
|
|
561
561
|
connectionId: string;
|
|
562
562
|
}, Promise<{
|
|
563
563
|
ok: boolean;
|
|
@@ -568,10 +568,10 @@ declare function sso<TAuthorization extends AuthAuthorizationConfig | undefined
|
|
|
568
568
|
message?: string;
|
|
569
569
|
}[];
|
|
570
570
|
}>>;
|
|
571
|
-
get:
|
|
571
|
+
get: convex_server11.RegisteredQuery<"public", {
|
|
572
572
|
connectionId: string;
|
|
573
573
|
}, Promise<Record<string, unknown>>>;
|
|
574
|
-
status:
|
|
574
|
+
status: convex_server11.RegisteredQuery<"public", {
|
|
575
575
|
connectionId: string;
|
|
576
576
|
}, Promise<{
|
|
577
577
|
connectionId: string;
|
|
@@ -584,7 +584,7 @@ declare function sso<TAuthorization extends AuthAuthorizationConfig | undefined
|
|
|
584
584
|
message: string | undefined;
|
|
585
585
|
}[];
|
|
586
586
|
}>>;
|
|
587
|
-
refresh:
|
|
587
|
+
refresh: convex_server11.RegisteredAction<"public", {
|
|
588
588
|
connectionId: string;
|
|
589
589
|
}, Promise<{
|
|
590
590
|
connectionId: string;
|
|
@@ -592,10 +592,10 @@ declare function sso<TAuthorization extends AuthAuthorizationConfig | undefined
|
|
|
592
592
|
}>>;
|
|
593
593
|
};
|
|
594
594
|
policy: {
|
|
595
|
-
get:
|
|
595
|
+
get: convex_server11.RegisteredQuery<"public", {
|
|
596
596
|
groupId: string;
|
|
597
597
|
}, Promise<GroupConnectionPolicy>>;
|
|
598
|
-
update:
|
|
598
|
+
update: convex_server11.RegisteredMutation<"public", {
|
|
599
599
|
groupId: string;
|
|
600
600
|
patch: {
|
|
601
601
|
identity?: {
|
|
@@ -634,7 +634,7 @@ declare function sso<TAuthorization extends AuthAuthorizationConfig | undefined
|
|
|
634
634
|
} | undefined;
|
|
635
635
|
};
|
|
636
636
|
}, Promise<GroupConnectionPolicy>>;
|
|
637
|
-
validate:
|
|
637
|
+
validate: convex_server11.RegisteredQuery<"public", {
|
|
638
638
|
groupId: string;
|
|
639
639
|
}, Promise<{
|
|
640
640
|
ok: boolean;
|
|
@@ -657,7 +657,7 @@ declare function sso<TAuthorization extends AuthAuthorizationConfig | undefined
|
|
|
657
657
|
}>>;
|
|
658
658
|
};
|
|
659
659
|
audit: {
|
|
660
|
-
list:
|
|
660
|
+
list: convex_server11.RegisteredQuery<"public", {
|
|
661
661
|
groupId?: string | undefined;
|
|
662
662
|
connectionId?: string | undefined;
|
|
663
663
|
limit?: number | undefined;
|
|
@@ -680,13 +680,13 @@ declare function sso<TAuthorization extends AuthAuthorizationConfig | undefined
|
|
|
680
680
|
};
|
|
681
681
|
webhook: {
|
|
682
682
|
delivery: {
|
|
683
|
-
list:
|
|
683
|
+
list: convex_server11.RegisteredQuery<"public", {
|
|
684
684
|
limit?: number | undefined;
|
|
685
685
|
connectionId: string;
|
|
686
686
|
}, Promise<unknown>>;
|
|
687
687
|
};
|
|
688
688
|
endpoint: {
|
|
689
|
-
create:
|
|
689
|
+
create: convex_server11.RegisteredMutation<"public", {
|
|
690
690
|
createdByUserId?: string | undefined;
|
|
691
691
|
secret: string;
|
|
692
692
|
connectionId: string;
|
|
@@ -701,12 +701,12 @@ declare function sso<TAuthorization extends AuthAuthorizationConfig | undefined
|
|
|
701
701
|
status: string;
|
|
702
702
|
failureCount: number;
|
|
703
703
|
}>>;
|
|
704
|
-
list:
|
|
704
|
+
list: convex_server11.RegisteredQuery<"public", {
|
|
705
705
|
connectionId: string;
|
|
706
706
|
}, Promise<{
|
|
707
707
|
[x: string]: unknown;
|
|
708
708
|
}[]>>;
|
|
709
|
-
disable:
|
|
709
|
+
disable: convex_server11.RegisteredMutation<"public", {
|
|
710
710
|
endpointId: string;
|
|
711
711
|
}, Promise<{
|
|
712
712
|
endpointId: string;
|
|
@@ -715,7 +715,7 @@ declare function sso<TAuthorization extends AuthAuthorizationConfig | undefined
|
|
|
715
715
|
};
|
|
716
716
|
};
|
|
717
717
|
client: {
|
|
718
|
-
signIn:
|
|
718
|
+
signIn: convex_server11.RegisteredQuery<"public", {
|
|
719
719
|
email?: string | undefined;
|
|
720
720
|
connectionId?: string | undefined;
|
|
721
721
|
domain?: string | undefined;
|
|
@@ -729,7 +729,7 @@ declare function sso<TAuthorization extends AuthAuthorizationConfig | undefined
|
|
|
729
729
|
callbackPath: string;
|
|
730
730
|
redirectTo?: string;
|
|
731
731
|
}>>;
|
|
732
|
-
metadata:
|
|
732
|
+
metadata: convex_server11.RegisteredQuery<"public", {
|
|
733
733
|
entityId?: string | undefined;
|
|
734
734
|
acsUrl?: string | undefined;
|
|
735
735
|
sloUrl?: string | undefined;
|
|
@@ -771,7 +771,8 @@ declare function sso<TAuthorization extends AuthAuthorizationConfig | undefined
|
|
|
771
771
|
*/
|
|
772
772
|
declare function scim<TAuthorization extends AuthAuthorizationConfig | undefined = undefined, TRequirement = unknown>(auth: Pick<AuthApi<TAuthorization>, "context" | "group">, options?: CreateAuthGroupSsoOptions<TRequirement>): {
|
|
773
773
|
admin: {
|
|
774
|
-
configure:
|
|
774
|
+
configure: convex_server11.RegisteredMutation<"public", {
|
|
775
|
+
status?: "draft" | "active" | "disabled" | undefined;
|
|
775
776
|
profile?: {
|
|
776
777
|
mapping?: {
|
|
777
778
|
name?: string | undefined;
|
|
@@ -787,7 +788,6 @@ declare function scim<TAuthorization extends AuthAuthorizationConfig | undefined
|
|
|
787
788
|
} | undefined;
|
|
788
789
|
extraFields?: Record<string, string> | undefined;
|
|
789
790
|
} | undefined;
|
|
790
|
-
status?: "draft" | "active" | "disabled" | undefined;
|
|
791
791
|
security?: {
|
|
792
792
|
maxRequestSize?: number | undefined;
|
|
793
793
|
} | undefined;
|
|
@@ -798,7 +798,7 @@ declare function scim<TAuthorization extends AuthAuthorizationConfig | undefined
|
|
|
798
798
|
basePath: string;
|
|
799
799
|
token: string;
|
|
800
800
|
}>>;
|
|
801
|
-
get:
|
|
801
|
+
get: convex_server11.RegisteredQuery<"public", {
|
|
802
802
|
connectionId: string;
|
|
803
803
|
}, Promise<{
|
|
804
804
|
security: {
|
|
@@ -829,7 +829,7 @@ declare function scim<TAuthorization extends AuthAuthorizationConfig | undefined
|
|
|
829
829
|
lastRotatedAt?: number;
|
|
830
830
|
extend?: unknown;
|
|
831
831
|
} | null>>;
|
|
832
|
-
status:
|
|
832
|
+
status: convex_server11.RegisteredQuery<"public", {
|
|
833
833
|
connectionId: string;
|
|
834
834
|
}, Promise<{
|
|
835
835
|
connectionId: string;
|
|
@@ -865,7 +865,7 @@ declare function scim<TAuthorization extends AuthAuthorizationConfig | undefined
|
|
|
865
865
|
etag: boolean;
|
|
866
866
|
} | undefined;
|
|
867
867
|
}>>;
|
|
868
|
-
validate:
|
|
868
|
+
validate: convex_server11.RegisteredQuery<"public", {
|
|
869
869
|
connectionId: string;
|
|
870
870
|
}, Promise<{
|
|
871
871
|
ok: boolean;
|
|
@@ -939,7 +939,7 @@ declare function scim<TAuthorization extends AuthAuthorizationConfig | undefined
|
|
|
939
939
|
* @see {@link scim}
|
|
940
940
|
*/
|
|
941
941
|
declare function createAuthGroupSso<TAuthorization extends AuthAuthorizationConfig | undefined = undefined, TRequirement = unknown>(auth: Pick<AuthApi<TAuthorization>, "context" | "group" | "member">, options: CreateAuthGroupSsoOptions<TRequirement>): {
|
|
942
|
-
createConnection:
|
|
942
|
+
createConnection: convex_server11.RegisteredMutation<"public", {
|
|
943
943
|
name?: string | undefined;
|
|
944
944
|
slug?: string | undefined;
|
|
945
945
|
status?: "draft" | "active" | "disabled" | undefined;
|
|
@@ -950,7 +950,7 @@ declare function createAuthGroupSso<TAuthorization extends AuthAuthorizationConf
|
|
|
950
950
|
groupId: string;
|
|
951
951
|
connectionId: string;
|
|
952
952
|
}>>;
|
|
953
|
-
getConnection:
|
|
953
|
+
getConnection: convex_server11.RegisteredQuery<"public", {
|
|
954
954
|
connectionId: string;
|
|
955
955
|
}, Promise<{
|
|
956
956
|
_id: string;
|
|
@@ -963,7 +963,7 @@ declare function createAuthGroupSso<TAuthorization extends AuthAuthorizationConf
|
|
|
963
963
|
config?: unknown;
|
|
964
964
|
extend?: unknown;
|
|
965
965
|
} | null>>;
|
|
966
|
-
getConnectionByDomain:
|
|
966
|
+
getConnectionByDomain: convex_server11.RegisteredQuery<"public", {
|
|
967
967
|
domain: string;
|
|
968
968
|
}, Promise<{
|
|
969
969
|
connection: {
|
|
@@ -987,7 +987,7 @@ declare function createAuthGroupSso<TAuthorization extends AuthAuthorizationConf
|
|
|
987
987
|
verifiedAt?: number;
|
|
988
988
|
} | null;
|
|
989
989
|
} | null>>;
|
|
990
|
-
listConnections:
|
|
990
|
+
listConnections: convex_server11.RegisteredQuery<"public", {
|
|
991
991
|
limit?: number | undefined;
|
|
992
992
|
where?: {
|
|
993
993
|
slug?: string | undefined;
|
|
@@ -1011,7 +1011,7 @@ declare function createAuthGroupSso<TAuthorization extends AuthAuthorizationConf
|
|
|
1011
1011
|
}[];
|
|
1012
1012
|
nextCursor: string | null;
|
|
1013
1013
|
}>>;
|
|
1014
|
-
updateConnection:
|
|
1014
|
+
updateConnection: convex_server11.RegisteredMutation<"public", {
|
|
1015
1015
|
connectionId: string;
|
|
1016
1016
|
data: {
|
|
1017
1017
|
name?: string | undefined;
|
|
@@ -1021,12 +1021,12 @@ declare function createAuthGroupSso<TAuthorization extends AuthAuthorizationConf
|
|
|
1021
1021
|
}, Promise<{
|
|
1022
1022
|
connectionId: string;
|
|
1023
1023
|
}>>;
|
|
1024
|
-
deleteConnection:
|
|
1024
|
+
deleteConnection: convex_server11.RegisteredMutation<"public", {
|
|
1025
1025
|
connectionId: string;
|
|
1026
1026
|
}, Promise<{
|
|
1027
1027
|
connectionId: string;
|
|
1028
1028
|
}>>;
|
|
1029
|
-
getConnectionStatus:
|
|
1029
|
+
getConnectionStatus: convex_server11.RegisteredQuery<"public", {
|
|
1030
1030
|
connectionId: string;
|
|
1031
1031
|
}, Promise<{
|
|
1032
1032
|
connectionId: string;
|
|
@@ -1053,7 +1053,7 @@ declare function createAuthGroupSso<TAuthorization extends AuthAuthorizationConf
|
|
|
1053
1053
|
};
|
|
1054
1054
|
};
|
|
1055
1055
|
}>>;
|
|
1056
|
-
listDomains:
|
|
1056
|
+
listDomains: convex_server11.RegisteredQuery<"public", {
|
|
1057
1057
|
connectionId: string;
|
|
1058
1058
|
}, Promise<{
|
|
1059
1059
|
_id: string;
|
|
@@ -1064,7 +1064,7 @@ declare function createAuthGroupSso<TAuthorization extends AuthAuthorizationConf
|
|
|
1064
1064
|
isPrimary: boolean;
|
|
1065
1065
|
verifiedAt?: number;
|
|
1066
1066
|
}[]>>;
|
|
1067
|
-
getDomainStatus:
|
|
1067
|
+
getDomainStatus: convex_server11.RegisteredQuery<"public", {
|
|
1068
1068
|
connectionId: string;
|
|
1069
1069
|
}, Promise<{
|
|
1070
1070
|
connectionId: string;
|
|
@@ -1096,7 +1096,7 @@ declare function createAuthGroupSso<TAuthorization extends AuthAuthorizationConf
|
|
|
1096
1096
|
warnings: string[];
|
|
1097
1097
|
nextSteps: string[];
|
|
1098
1098
|
}>>;
|
|
1099
|
-
validateDomains:
|
|
1099
|
+
validateDomains: convex_server11.RegisteredQuery<"public", {
|
|
1100
1100
|
connectionId: string;
|
|
1101
1101
|
}, Promise<{
|
|
1102
1102
|
connectionId: string;
|
|
@@ -1115,7 +1115,7 @@ declare function createAuthGroupSso<TAuthorization extends AuthAuthorizationConf
|
|
|
1115
1115
|
}[];
|
|
1116
1116
|
warnings: string[];
|
|
1117
1117
|
}>>;
|
|
1118
|
-
setDomains:
|
|
1118
|
+
setDomains: convex_server11.RegisteredMutation<"public", {
|
|
1119
1119
|
connectionId: string;
|
|
1120
1120
|
domains: {
|
|
1121
1121
|
isPrimary?: boolean | undefined;
|
|
@@ -1131,7 +1131,7 @@ declare function createAuthGroupSso<TAuthorization extends AuthAuthorizationConf
|
|
|
1131
1131
|
verifiedAt: number | null;
|
|
1132
1132
|
}>;
|
|
1133
1133
|
}>>;
|
|
1134
|
-
requestDomainVerification:
|
|
1134
|
+
requestDomainVerification: convex_server11.RegisteredMutation<"public", {
|
|
1135
1135
|
connectionId: string;
|
|
1136
1136
|
domain: string;
|
|
1137
1137
|
}, Promise<{
|
|
@@ -1145,7 +1145,7 @@ declare function createAuthGroupSso<TAuthorization extends AuthAuthorizationConf
|
|
|
1145
1145
|
recordValue: string;
|
|
1146
1146
|
};
|
|
1147
1147
|
}>>;
|
|
1148
|
-
confirmDomainVerification:
|
|
1148
|
+
confirmDomainVerification: convex_server11.RegisteredAction<"public", {
|
|
1149
1149
|
connectionId: string;
|
|
1150
1150
|
domain: string;
|
|
1151
1151
|
}, Promise<{
|
|
@@ -1158,13 +1158,13 @@ declare function createAuthGroupSso<TAuthorization extends AuthAuthorizationConf
|
|
|
1158
1158
|
message?: string;
|
|
1159
1159
|
}>;
|
|
1160
1160
|
}>>;
|
|
1161
|
-
configureOidc:
|
|
1161
|
+
configureOidc: convex_server11.RegisteredMutation<"public", {
|
|
1162
1162
|
profile?: {
|
|
1163
1163
|
mapping?: {
|
|
1164
1164
|
name?: string | undefined;
|
|
1165
1165
|
email?: string | undefined;
|
|
1166
|
-
emailVerified?: string | undefined;
|
|
1167
1166
|
image?: string | undefined;
|
|
1167
|
+
emailVerified?: string | undefined;
|
|
1168
1168
|
groups?: string | undefined;
|
|
1169
1169
|
roles?: string | undefined;
|
|
1170
1170
|
subject?: string | undefined;
|
|
@@ -1195,12 +1195,12 @@ declare function createAuthGroupSso<TAuthorization extends AuthAuthorizationConf
|
|
|
1195
1195
|
}, Promise<{
|
|
1196
1196
|
hasClientSecret: boolean;
|
|
1197
1197
|
}>>;
|
|
1198
|
-
getOidc:
|
|
1198
|
+
getOidc: convex_server11.RegisteredQuery<"public", {
|
|
1199
1199
|
connectionId: string;
|
|
1200
1200
|
}, Promise<{
|
|
1201
1201
|
hasClientSecret: boolean;
|
|
1202
1202
|
}>>;
|
|
1203
|
-
getOidcStatus:
|
|
1203
|
+
getOidcStatus: convex_server11.RegisteredQuery<"public", {
|
|
1204
1204
|
connectionId: string;
|
|
1205
1205
|
}, Promise<{
|
|
1206
1206
|
connectionId: string;
|
|
@@ -1215,7 +1215,7 @@ declare function createAuthGroupSso<TAuthorization extends AuthAuthorizationConf
|
|
|
1215
1215
|
message: string | undefined;
|
|
1216
1216
|
}[];
|
|
1217
1217
|
}>>;
|
|
1218
|
-
validateOidc:
|
|
1218
|
+
validateOidc: convex_server11.RegisteredAction<"public", {
|
|
1219
1219
|
connectionId: string;
|
|
1220
1220
|
}, Promise<{
|
|
1221
1221
|
ok: boolean;
|
|
@@ -1226,7 +1226,7 @@ declare function createAuthGroupSso<TAuthorization extends AuthAuthorizationConf
|
|
|
1226
1226
|
message?: string;
|
|
1227
1227
|
}[];
|
|
1228
1228
|
}>>;
|
|
1229
|
-
configureSaml:
|
|
1229
|
+
configureSaml: convex_server11.RegisteredAction<"public", {
|
|
1230
1230
|
profile?: {
|
|
1231
1231
|
mapping?: {
|
|
1232
1232
|
name?: string | undefined;
|
|
@@ -1275,10 +1275,10 @@ declare function createAuthGroupSso<TAuthorization extends AuthAuthorizationConf
|
|
|
1275
1275
|
connectionId: string;
|
|
1276
1276
|
groupId: string;
|
|
1277
1277
|
}>>;
|
|
1278
|
-
getSaml:
|
|
1278
|
+
getSaml: convex_server11.RegisteredQuery<"public", {
|
|
1279
1279
|
connectionId: string;
|
|
1280
1280
|
}, Promise<Record<string, unknown>>>;
|
|
1281
|
-
getSamlStatus:
|
|
1281
|
+
getSamlStatus: convex_server11.RegisteredQuery<"public", {
|
|
1282
1282
|
connectionId: string;
|
|
1283
1283
|
}, Promise<{
|
|
1284
1284
|
connectionId: string;
|
|
@@ -1291,7 +1291,7 @@ declare function createAuthGroupSso<TAuthorization extends AuthAuthorizationConf
|
|
|
1291
1291
|
message: string | undefined;
|
|
1292
1292
|
}[];
|
|
1293
1293
|
}>>;
|
|
1294
|
-
validateSaml:
|
|
1294
|
+
validateSaml: convex_server11.RegisteredQuery<"public", {
|
|
1295
1295
|
connectionId: string;
|
|
1296
1296
|
}, Promise<{
|
|
1297
1297
|
ok: boolean;
|
|
@@ -1302,16 +1302,16 @@ declare function createAuthGroupSso<TAuthorization extends AuthAuthorizationConf
|
|
|
1302
1302
|
message?: string;
|
|
1303
1303
|
}[];
|
|
1304
1304
|
}>>;
|
|
1305
|
-
refreshSaml:
|
|
1305
|
+
refreshSaml: convex_server11.RegisteredAction<"public", {
|
|
1306
1306
|
connectionId: string;
|
|
1307
1307
|
}, Promise<{
|
|
1308
1308
|
connectionId: string;
|
|
1309
1309
|
groupId: string;
|
|
1310
1310
|
}>>;
|
|
1311
|
-
getPolicy:
|
|
1311
|
+
getPolicy: convex_server11.RegisteredQuery<"public", {
|
|
1312
1312
|
groupId: string;
|
|
1313
1313
|
}, Promise<GroupConnectionPolicy>>;
|
|
1314
|
-
updatePolicy:
|
|
1314
|
+
updatePolicy: convex_server11.RegisteredMutation<"public", {
|
|
1315
1315
|
groupId: string;
|
|
1316
1316
|
patch: {
|
|
1317
1317
|
identity?: {
|
|
@@ -1350,7 +1350,7 @@ declare function createAuthGroupSso<TAuthorization extends AuthAuthorizationConf
|
|
|
1350
1350
|
} | undefined;
|
|
1351
1351
|
};
|
|
1352
1352
|
}, Promise<GroupConnectionPolicy>>;
|
|
1353
|
-
validatePolicy:
|
|
1353
|
+
validatePolicy: convex_server11.RegisteredQuery<"public", {
|
|
1354
1354
|
groupId: string;
|
|
1355
1355
|
}, Promise<{
|
|
1356
1356
|
ok: boolean;
|
|
@@ -1371,7 +1371,7 @@ declare function createAuthGroupSso<TAuthorization extends AuthAuthorizationConf
|
|
|
1371
1371
|
message?: string;
|
|
1372
1372
|
}[];
|
|
1373
1373
|
}>>;
|
|
1374
|
-
listAudit:
|
|
1374
|
+
listAudit: convex_server11.RegisteredQuery<"public", {
|
|
1375
1375
|
groupId?: string | undefined;
|
|
1376
1376
|
connectionId?: string | undefined;
|
|
1377
1377
|
limit?: number | undefined;
|
|
@@ -1391,7 +1391,7 @@ declare function createAuthGroupSso<TAuthorization extends AuthAuthorizationConf
|
|
|
1391
1391
|
ip?: string;
|
|
1392
1392
|
metadata?: Record<string, unknown>;
|
|
1393
1393
|
}[]>>;
|
|
1394
|
-
createWebhookEndpoint:
|
|
1394
|
+
createWebhookEndpoint: convex_server11.RegisteredMutation<"public", {
|
|
1395
1395
|
createdByUserId?: string | undefined;
|
|
1396
1396
|
secret: string;
|
|
1397
1397
|
connectionId: string;
|
|
@@ -1406,21 +1406,22 @@ declare function createAuthGroupSso<TAuthorization extends AuthAuthorizationConf
|
|
|
1406
1406
|
status: string;
|
|
1407
1407
|
failureCount: number;
|
|
1408
1408
|
}>>;
|
|
1409
|
-
listWebhookEndpoints:
|
|
1409
|
+
listWebhookEndpoints: convex_server11.RegisteredQuery<"public", {
|
|
1410
1410
|
connectionId: string;
|
|
1411
1411
|
}, Promise<{
|
|
1412
1412
|
[x: string]: unknown;
|
|
1413
1413
|
}[]>>;
|
|
1414
|
-
listWebhookDeliveries:
|
|
1414
|
+
listWebhookDeliveries: convex_server11.RegisteredQuery<"public", {
|
|
1415
1415
|
limit?: number | undefined;
|
|
1416
1416
|
connectionId: string;
|
|
1417
1417
|
}, Promise<unknown>>;
|
|
1418
|
-
disableWebhookEndpoint:
|
|
1418
|
+
disableWebhookEndpoint: convex_server11.RegisteredMutation<"public", {
|
|
1419
1419
|
endpointId: string;
|
|
1420
1420
|
}, Promise<{
|
|
1421
1421
|
endpointId: string;
|
|
1422
1422
|
}>>;
|
|
1423
|
-
configureScim:
|
|
1423
|
+
configureScim: convex_server11.RegisteredMutation<"public", {
|
|
1424
|
+
status?: "draft" | "active" | "disabled" | undefined;
|
|
1424
1425
|
profile?: {
|
|
1425
1426
|
mapping?: {
|
|
1426
1427
|
name?: string | undefined;
|
|
@@ -1436,7 +1437,6 @@ declare function createAuthGroupSso<TAuthorization extends AuthAuthorizationConf
|
|
|
1436
1437
|
} | undefined;
|
|
1437
1438
|
extraFields?: Record<string, string> | undefined;
|
|
1438
1439
|
} | undefined;
|
|
1439
|
-
status?: "draft" | "active" | "disabled" | undefined;
|
|
1440
1440
|
security?: {
|
|
1441
1441
|
maxRequestSize?: number | undefined;
|
|
1442
1442
|
} | undefined;
|
|
@@ -1447,7 +1447,7 @@ declare function createAuthGroupSso<TAuthorization extends AuthAuthorizationConf
|
|
|
1447
1447
|
basePath: string;
|
|
1448
1448
|
token: string;
|
|
1449
1449
|
}>>;
|
|
1450
|
-
getScim:
|
|
1450
|
+
getScim: convex_server11.RegisteredQuery<"public", {
|
|
1451
1451
|
connectionId: string;
|
|
1452
1452
|
}, Promise<{
|
|
1453
1453
|
security: {
|
|
@@ -1478,7 +1478,7 @@ declare function createAuthGroupSso<TAuthorization extends AuthAuthorizationConf
|
|
|
1478
1478
|
lastRotatedAt?: number;
|
|
1479
1479
|
extend?: unknown;
|
|
1480
1480
|
} | null>>;
|
|
1481
|
-
getScimStatus:
|
|
1481
|
+
getScimStatus: convex_server11.RegisteredQuery<"public", {
|
|
1482
1482
|
connectionId: string;
|
|
1483
1483
|
}, Promise<{
|
|
1484
1484
|
connectionId: string;
|
|
@@ -1514,7 +1514,7 @@ declare function createAuthGroupSso<TAuthorization extends AuthAuthorizationConf
|
|
|
1514
1514
|
etag: boolean;
|
|
1515
1515
|
} | undefined;
|
|
1516
1516
|
}>>;
|
|
1517
|
-
validateScim:
|
|
1517
|
+
validateScim: convex_server11.RegisteredQuery<"public", {
|
|
1518
1518
|
connectionId: string;
|
|
1519
1519
|
}, Promise<{
|
|
1520
1520
|
ok: boolean;
|
|
@@ -1547,7 +1547,7 @@ declare function createAuthGroupSso<TAuthorization extends AuthAuthorizationConf
|
|
|
1547
1547
|
message?: string;
|
|
1548
1548
|
}[];
|
|
1549
1549
|
}>>;
|
|
1550
|
-
signIn:
|
|
1550
|
+
signIn: convex_server11.RegisteredQuery<"public", {
|
|
1551
1551
|
email?: string | undefined;
|
|
1552
1552
|
connectionId?: string | undefined;
|
|
1553
1553
|
domain?: string | undefined;
|
|
@@ -1561,7 +1561,7 @@ declare function createAuthGroupSso<TAuthorization extends AuthAuthorizationConf
|
|
|
1561
1561
|
callbackPath: string;
|
|
1562
1562
|
redirectTo?: string;
|
|
1563
1563
|
}>>;
|
|
1564
|
-
metadata:
|
|
1564
|
+
metadata: convex_server11.RegisteredQuery<"public", {
|
|
1565
1565
|
entityId?: string | undefined;
|
|
1566
1566
|
acsUrl?: string | undefined;
|
|
1567
1567
|
sloUrl?: string | undefined;
|