@kya-os/contracts 1.7.26 → 1.7.32
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/agent-deployment-utils.d.ts +20 -0
- package/dist/agent-deployment-utils.js +37 -0
- package/dist/agent-deployment.d.ts +19 -19
- package/dist/agent-deployment.js +2 -1
- package/dist/agentshield-api/admin-schemas.d.ts +2 -2
- package/dist/agentshield-api/schemas.d.ts +462 -462
- package/dist/audit/index.d.ts +24 -24
- package/dist/cli.d.ts +44 -44
- package/dist/compute-binding.d.ts +6 -6
- package/dist/compute.d.ts +27 -8
- package/dist/compute.js +6 -0
- package/dist/config/identity.d.ts +98 -98
- package/dist/consent/schemas.d.ts +72 -72
- package/dist/dashboard-config/schemas.d.ts +2191 -2191
- package/dist/delegation/constraints.d.ts +32 -32
- package/dist/delegation/schemas.d.ts +610 -610
- package/dist/deploy/schemas.d.ts +84 -84
- package/dist/gateway/index.d.ts +579 -0
- package/dist/gateway/index.js +103 -0
- package/dist/handshake.d.ts +42 -42
- package/dist/index.d.ts +1 -0
- package/dist/index.js +2 -0
- package/dist/molti/admin-ws.d.ts +116 -116
- package/dist/molti/schemas.d.ts +98 -98
- package/dist/openclaw/index.d.ts +20 -0
- package/dist/openclaw/index.js +28 -0
- package/dist/openclaw/types.d.ts +714 -0
- package/dist/openclaw/types.js +122 -0
- package/dist/pairing/index.d.ts +44 -0
- package/dist/pairing/index.js +11 -0
- package/dist/policy/schemas.d.ts +553 -553
- package/dist/proof/proof-record.d.ts +48 -48
- package/dist/proof/signing-spec.d.ts +8 -8
- package/dist/proof.d.ts +68 -68
- package/dist/registry.d.ts +24 -24
- package/dist/reputation/api.d.ts +156 -156
- package/dist/reputation/credentials.d.ts +48 -48
- package/dist/reputation/schemas.d.ts +48 -48
- package/dist/test.d.ts +22 -22
- package/dist/tlkrc/rotation.d.ts +12 -12
- package/dist/tool-protection/index.d.ts +22 -22
- package/dist/verifier.d.ts +17 -17
- package/dist/well-known/index.d.ts +72 -72
- package/package.json +10 -2
|
@@ -225,7 +225,7 @@ export declare const CredentialProviderConfigSchema: z.ZodObject<{
|
|
|
225
225
|
formTitle?: string | undefined;
|
|
226
226
|
formDescription?: string | undefined;
|
|
227
227
|
identityFieldLabel?: string | undefined;
|
|
228
|
-
identityFieldType?: "
|
|
228
|
+
identityFieldType?: "email" | "text" | "tel" | undefined;
|
|
229
229
|
passwordFieldLabel?: string | undefined;
|
|
230
230
|
submitButtonText?: string | undefined;
|
|
231
231
|
}, {
|
|
@@ -233,7 +233,7 @@ export declare const CredentialProviderConfigSchema: z.ZodObject<{
|
|
|
233
233
|
formTitle?: string | undefined;
|
|
234
234
|
formDescription?: string | undefined;
|
|
235
235
|
identityFieldLabel?: string | undefined;
|
|
236
|
-
identityFieldType?: "
|
|
236
|
+
identityFieldType?: "email" | "text" | "tel" | undefined;
|
|
237
237
|
passwordFieldLabel?: string | undefined;
|
|
238
238
|
submitButtonText?: string | undefined;
|
|
239
239
|
}>>;
|
|
@@ -248,12 +248,12 @@ export declare const CredentialProviderConfigSchema: z.ZodObject<{
|
|
|
248
248
|
userDisplayName?: string | undefined;
|
|
249
249
|
expiresIn?: string | undefined;
|
|
250
250
|
};
|
|
251
|
+
headers?: Record<string, string> | undefined;
|
|
251
252
|
displayName?: string | undefined;
|
|
252
253
|
successCheck?: {
|
|
253
254
|
path: string;
|
|
254
255
|
expectedValue: string | number | boolean;
|
|
255
256
|
} | undefined;
|
|
256
|
-
headers?: Record<string, string> | undefined;
|
|
257
257
|
tokenUsage?: "cookie" | "bearer" | "header" | undefined;
|
|
258
258
|
tokenHeader?: string | undefined;
|
|
259
259
|
cookieFormat?: string | undefined;
|
|
@@ -263,7 +263,7 @@ export declare const CredentialProviderConfigSchema: z.ZodObject<{
|
|
|
263
263
|
formTitle?: string | undefined;
|
|
264
264
|
formDescription?: string | undefined;
|
|
265
265
|
identityFieldLabel?: string | undefined;
|
|
266
|
-
identityFieldType?: "
|
|
266
|
+
identityFieldType?: "email" | "text" | "tel" | undefined;
|
|
267
267
|
passwordFieldLabel?: string | undefined;
|
|
268
268
|
submitButtonText?: string | undefined;
|
|
269
269
|
} | undefined;
|
|
@@ -278,12 +278,12 @@ export declare const CredentialProviderConfigSchema: z.ZodObject<{
|
|
|
278
278
|
userDisplayName?: string | undefined;
|
|
279
279
|
expiresIn?: string | undefined;
|
|
280
280
|
};
|
|
281
|
+
headers?: Record<string, string> | undefined;
|
|
281
282
|
displayName?: string | undefined;
|
|
282
283
|
successCheck?: {
|
|
283
284
|
path: string;
|
|
284
285
|
expectedValue: string | number | boolean;
|
|
285
286
|
} | undefined;
|
|
286
|
-
headers?: Record<string, string> | undefined;
|
|
287
287
|
tokenUsage?: "cookie" | "bearer" | "header" | undefined;
|
|
288
288
|
tokenHeader?: string | undefined;
|
|
289
289
|
cookieFormat?: string | undefined;
|
|
@@ -293,7 +293,7 @@ export declare const CredentialProviderConfigSchema: z.ZodObject<{
|
|
|
293
293
|
formTitle?: string | undefined;
|
|
294
294
|
formDescription?: string | undefined;
|
|
295
295
|
identityFieldLabel?: string | undefined;
|
|
296
|
-
identityFieldType?: "
|
|
296
|
+
identityFieldType?: "email" | "text" | "tel" | undefined;
|
|
297
297
|
passwordFieldLabel?: string | undefined;
|
|
298
298
|
submitButtonText?: string | undefined;
|
|
299
299
|
} | undefined;
|
|
@@ -460,21 +460,34 @@ export declare const OAuthProviderSchema: z.ZodObject<{
|
|
|
460
460
|
lastRotatedAt?: string | undefined;
|
|
461
461
|
}>>;
|
|
462
462
|
}, "strip", z.ZodTypeAny, {
|
|
463
|
-
clientId: string;
|
|
464
463
|
authorizationUrl: string;
|
|
464
|
+
clientId: string;
|
|
465
465
|
tokenUrl: string;
|
|
466
466
|
supportsPKCE: boolean;
|
|
467
467
|
requiresClientSecret: boolean;
|
|
468
468
|
responseType: string;
|
|
469
469
|
grantType: string;
|
|
470
|
+
metadata?: {
|
|
471
|
+
clientSecretName?: string | undefined;
|
|
472
|
+
clientIdSecretName?: string | undefined;
|
|
473
|
+
apiKeySecretName?: string | undefined;
|
|
474
|
+
clientSecretVersion?: number | undefined;
|
|
475
|
+
lastRotatedAt?: string | undefined;
|
|
476
|
+
} | undefined;
|
|
477
|
+
scopes?: string[] | undefined;
|
|
470
478
|
clientSecret?: string | null | undefined;
|
|
471
479
|
userInfoUrl?: string | undefined;
|
|
472
|
-
scopes?: string[] | undefined;
|
|
473
480
|
defaultScopes?: string[] | undefined;
|
|
474
481
|
proxyMode?: boolean | undefined;
|
|
475
482
|
customParams?: Record<string, string> | undefined;
|
|
476
483
|
tokenEndpointAuthMethod?: "client_secret_post" | "client_secret_basic" | undefined;
|
|
477
484
|
hasClientSecret?: boolean | undefined;
|
|
485
|
+
}, {
|
|
486
|
+
authorizationUrl: string;
|
|
487
|
+
clientId: string;
|
|
488
|
+
tokenUrl: string;
|
|
489
|
+
supportsPKCE: boolean;
|
|
490
|
+
requiresClientSecret: boolean;
|
|
478
491
|
metadata?: {
|
|
479
492
|
clientSecretName?: string | undefined;
|
|
480
493
|
clientIdSecretName?: string | undefined;
|
|
@@ -482,15 +495,9 @@ export declare const OAuthProviderSchema: z.ZodObject<{
|
|
|
482
495
|
clientSecretVersion?: number | undefined;
|
|
483
496
|
lastRotatedAt?: string | undefined;
|
|
484
497
|
} | undefined;
|
|
485
|
-
|
|
486
|
-
clientId: string;
|
|
487
|
-
authorizationUrl: string;
|
|
488
|
-
tokenUrl: string;
|
|
489
|
-
supportsPKCE: boolean;
|
|
490
|
-
requiresClientSecret: boolean;
|
|
498
|
+
scopes?: string[] | undefined;
|
|
491
499
|
clientSecret?: string | null | undefined;
|
|
492
500
|
userInfoUrl?: string | undefined;
|
|
493
|
-
scopes?: string[] | undefined;
|
|
494
501
|
defaultScopes?: string[] | undefined;
|
|
495
502
|
proxyMode?: boolean | undefined;
|
|
496
503
|
customParams?: Record<string, string> | undefined;
|
|
@@ -498,13 +505,6 @@ export declare const OAuthProviderSchema: z.ZodObject<{
|
|
|
498
505
|
responseType?: string | undefined;
|
|
499
506
|
grantType?: string | undefined;
|
|
500
507
|
hasClientSecret?: boolean | undefined;
|
|
501
|
-
metadata?: {
|
|
502
|
-
clientSecretName?: string | undefined;
|
|
503
|
-
clientIdSecretName?: string | undefined;
|
|
504
|
-
apiKeySecretName?: string | undefined;
|
|
505
|
-
clientSecretVersion?: number | undefined;
|
|
506
|
-
lastRotatedAt?: string | undefined;
|
|
507
|
-
} | undefined;
|
|
508
508
|
}>;
|
|
509
509
|
/**
|
|
510
510
|
* Zod schema for OAuthConfig validation
|
|
@@ -546,21 +546,34 @@ export declare const OAuthConfigSchema: z.ZodObject<{
|
|
|
546
546
|
lastRotatedAt?: string | undefined;
|
|
547
547
|
}>>;
|
|
548
548
|
}, "strip", z.ZodTypeAny, {
|
|
549
|
-
clientId: string;
|
|
550
549
|
authorizationUrl: string;
|
|
550
|
+
clientId: string;
|
|
551
551
|
tokenUrl: string;
|
|
552
552
|
supportsPKCE: boolean;
|
|
553
553
|
requiresClientSecret: boolean;
|
|
554
554
|
responseType: string;
|
|
555
555
|
grantType: string;
|
|
556
|
+
metadata?: {
|
|
557
|
+
clientSecretName?: string | undefined;
|
|
558
|
+
clientIdSecretName?: string | undefined;
|
|
559
|
+
apiKeySecretName?: string | undefined;
|
|
560
|
+
clientSecretVersion?: number | undefined;
|
|
561
|
+
lastRotatedAt?: string | undefined;
|
|
562
|
+
} | undefined;
|
|
563
|
+
scopes?: string[] | undefined;
|
|
556
564
|
clientSecret?: string | null | undefined;
|
|
557
565
|
userInfoUrl?: string | undefined;
|
|
558
|
-
scopes?: string[] | undefined;
|
|
559
566
|
defaultScopes?: string[] | undefined;
|
|
560
567
|
proxyMode?: boolean | undefined;
|
|
561
568
|
customParams?: Record<string, string> | undefined;
|
|
562
569
|
tokenEndpointAuthMethod?: "client_secret_post" | "client_secret_basic" | undefined;
|
|
563
570
|
hasClientSecret?: boolean | undefined;
|
|
571
|
+
}, {
|
|
572
|
+
authorizationUrl: string;
|
|
573
|
+
clientId: string;
|
|
574
|
+
tokenUrl: string;
|
|
575
|
+
supportsPKCE: boolean;
|
|
576
|
+
requiresClientSecret: boolean;
|
|
564
577
|
metadata?: {
|
|
565
578
|
clientSecretName?: string | undefined;
|
|
566
579
|
clientIdSecretName?: string | undefined;
|
|
@@ -568,15 +581,9 @@ export declare const OAuthConfigSchema: z.ZodObject<{
|
|
|
568
581
|
clientSecretVersion?: number | undefined;
|
|
569
582
|
lastRotatedAt?: string | undefined;
|
|
570
583
|
} | undefined;
|
|
571
|
-
|
|
572
|
-
clientId: string;
|
|
573
|
-
authorizationUrl: string;
|
|
574
|
-
tokenUrl: string;
|
|
575
|
-
supportsPKCE: boolean;
|
|
576
|
-
requiresClientSecret: boolean;
|
|
584
|
+
scopes?: string[] | undefined;
|
|
577
585
|
clientSecret?: string | null | undefined;
|
|
578
586
|
userInfoUrl?: string | undefined;
|
|
579
|
-
scopes?: string[] | undefined;
|
|
580
587
|
defaultScopes?: string[] | undefined;
|
|
581
588
|
proxyMode?: boolean | undefined;
|
|
582
589
|
customParams?: Record<string, string> | undefined;
|
|
@@ -584,32 +591,17 @@ export declare const OAuthConfigSchema: z.ZodObject<{
|
|
|
584
591
|
responseType?: string | undefined;
|
|
585
592
|
grantType?: string | undefined;
|
|
586
593
|
hasClientSecret?: boolean | undefined;
|
|
587
|
-
metadata?: {
|
|
588
|
-
clientSecretName?: string | undefined;
|
|
589
|
-
clientIdSecretName?: string | undefined;
|
|
590
|
-
apiKeySecretName?: string | undefined;
|
|
591
|
-
clientSecretVersion?: number | undefined;
|
|
592
|
-
lastRotatedAt?: string | undefined;
|
|
593
|
-
} | undefined;
|
|
594
594
|
}>>;
|
|
595
595
|
configuredProvider: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
596
596
|
}, "strip", z.ZodTypeAny, {
|
|
597
597
|
providers: Record<string, {
|
|
598
|
-
clientId: string;
|
|
599
598
|
authorizationUrl: string;
|
|
599
|
+
clientId: string;
|
|
600
600
|
tokenUrl: string;
|
|
601
601
|
supportsPKCE: boolean;
|
|
602
602
|
requiresClientSecret: boolean;
|
|
603
603
|
responseType: string;
|
|
604
604
|
grantType: string;
|
|
605
|
-
clientSecret?: string | null | undefined;
|
|
606
|
-
userInfoUrl?: string | undefined;
|
|
607
|
-
scopes?: string[] | undefined;
|
|
608
|
-
defaultScopes?: string[] | undefined;
|
|
609
|
-
proxyMode?: boolean | undefined;
|
|
610
|
-
customParams?: Record<string, string> | undefined;
|
|
611
|
-
tokenEndpointAuthMethod?: "client_secret_post" | "client_secret_basic" | undefined;
|
|
612
|
-
hasClientSecret?: boolean | undefined;
|
|
613
605
|
metadata?: {
|
|
614
606
|
clientSecretName?: string | undefined;
|
|
615
607
|
clientIdSecretName?: string | undefined;
|
|
@@ -617,18 +609,33 @@ export declare const OAuthConfigSchema: z.ZodObject<{
|
|
|
617
609
|
clientSecretVersion?: number | undefined;
|
|
618
610
|
lastRotatedAt?: string | undefined;
|
|
619
611
|
} | undefined;
|
|
612
|
+
scopes?: string[] | undefined;
|
|
613
|
+
clientSecret?: string | null | undefined;
|
|
614
|
+
userInfoUrl?: string | undefined;
|
|
615
|
+
defaultScopes?: string[] | undefined;
|
|
616
|
+
proxyMode?: boolean | undefined;
|
|
617
|
+
customParams?: Record<string, string> | undefined;
|
|
618
|
+
tokenEndpointAuthMethod?: "client_secret_post" | "client_secret_basic" | undefined;
|
|
619
|
+
hasClientSecret?: boolean | undefined;
|
|
620
620
|
}>;
|
|
621
621
|
configuredProvider?: string | null | undefined;
|
|
622
622
|
}, {
|
|
623
623
|
providers: Record<string, {
|
|
624
|
-
clientId: string;
|
|
625
624
|
authorizationUrl: string;
|
|
625
|
+
clientId: string;
|
|
626
626
|
tokenUrl: string;
|
|
627
627
|
supportsPKCE: boolean;
|
|
628
628
|
requiresClientSecret: boolean;
|
|
629
|
+
metadata?: {
|
|
630
|
+
clientSecretName?: string | undefined;
|
|
631
|
+
clientIdSecretName?: string | undefined;
|
|
632
|
+
apiKeySecretName?: string | undefined;
|
|
633
|
+
clientSecretVersion?: number | undefined;
|
|
634
|
+
lastRotatedAt?: string | undefined;
|
|
635
|
+
} | undefined;
|
|
636
|
+
scopes?: string[] | undefined;
|
|
629
637
|
clientSecret?: string | null | undefined;
|
|
630
638
|
userInfoUrl?: string | undefined;
|
|
631
|
-
scopes?: string[] | undefined;
|
|
632
639
|
defaultScopes?: string[] | undefined;
|
|
633
640
|
proxyMode?: boolean | undefined;
|
|
634
641
|
customParams?: Record<string, string> | undefined;
|
|
@@ -636,13 +643,6 @@ export declare const OAuthConfigSchema: z.ZodObject<{
|
|
|
636
643
|
responseType?: string | undefined;
|
|
637
644
|
grantType?: string | undefined;
|
|
638
645
|
hasClientSecret?: boolean | undefined;
|
|
639
|
-
metadata?: {
|
|
640
|
-
clientSecretName?: string | undefined;
|
|
641
|
-
clientIdSecretName?: string | undefined;
|
|
642
|
-
apiKeySecretName?: string | undefined;
|
|
643
|
-
clientSecretVersion?: number | undefined;
|
|
644
|
-
lastRotatedAt?: string | undefined;
|
|
645
|
-
} | undefined;
|
|
646
646
|
}>;
|
|
647
647
|
configuredProvider?: string | null | undefined;
|
|
648
648
|
}>;
|
|
@@ -714,22 +714,36 @@ export declare const OAuth2ProviderConfigSchema: z.ZodObject<{
|
|
|
714
714
|
}>>;
|
|
715
715
|
}, "strip", z.ZodTypeAny, {
|
|
716
716
|
type: "oauth2";
|
|
717
|
-
clientId: string;
|
|
718
717
|
authorizationUrl: string;
|
|
718
|
+
clientId: string;
|
|
719
719
|
tokenUrl: string;
|
|
720
720
|
supportsPKCE: boolean;
|
|
721
721
|
requiresClientSecret: boolean;
|
|
722
722
|
responseType: string;
|
|
723
723
|
grantType: string;
|
|
724
|
+
metadata?: {
|
|
725
|
+
clientSecretName?: string | undefined;
|
|
726
|
+
clientIdSecretName?: string | undefined;
|
|
727
|
+
apiKeySecretName?: string | undefined;
|
|
728
|
+
clientSecretVersion?: number | undefined;
|
|
729
|
+
lastRotatedAt?: string | undefined;
|
|
730
|
+
} | undefined;
|
|
731
|
+
scopes?: string[] | undefined;
|
|
724
732
|
displayName?: string | undefined;
|
|
725
733
|
clientSecret?: string | null | undefined;
|
|
726
734
|
userInfoUrl?: string | undefined;
|
|
727
|
-
scopes?: string[] | undefined;
|
|
728
735
|
defaultScopes?: string[] | undefined;
|
|
729
736
|
proxyMode?: boolean | undefined;
|
|
730
737
|
customParams?: Record<string, string> | undefined;
|
|
731
738
|
tokenEndpointAuthMethod?: "client_secret_post" | "client_secret_basic" | undefined;
|
|
732
739
|
hasClientSecret?: boolean | undefined;
|
|
740
|
+
}, {
|
|
741
|
+
type: "oauth2";
|
|
742
|
+
authorizationUrl: string;
|
|
743
|
+
clientId: string;
|
|
744
|
+
tokenUrl: string;
|
|
745
|
+
supportsPKCE: boolean;
|
|
746
|
+
requiresClientSecret: boolean;
|
|
733
747
|
metadata?: {
|
|
734
748
|
clientSecretName?: string | undefined;
|
|
735
749
|
clientIdSecretName?: string | undefined;
|
|
@@ -737,17 +751,10 @@ export declare const OAuth2ProviderConfigSchema: z.ZodObject<{
|
|
|
737
751
|
clientSecretVersion?: number | undefined;
|
|
738
752
|
lastRotatedAt?: string | undefined;
|
|
739
753
|
} | undefined;
|
|
740
|
-
|
|
741
|
-
type: "oauth2";
|
|
742
|
-
clientId: string;
|
|
743
|
-
authorizationUrl: string;
|
|
744
|
-
tokenUrl: string;
|
|
745
|
-
supportsPKCE: boolean;
|
|
746
|
-
requiresClientSecret: boolean;
|
|
754
|
+
scopes?: string[] | undefined;
|
|
747
755
|
displayName?: string | undefined;
|
|
748
756
|
clientSecret?: string | null | undefined;
|
|
749
757
|
userInfoUrl?: string | undefined;
|
|
750
|
-
scopes?: string[] | undefined;
|
|
751
758
|
defaultScopes?: string[] | undefined;
|
|
752
759
|
proxyMode?: boolean | undefined;
|
|
753
760
|
customParams?: Record<string, string> | undefined;
|
|
@@ -755,13 +762,6 @@ export declare const OAuth2ProviderConfigSchema: z.ZodObject<{
|
|
|
755
762
|
responseType?: string | undefined;
|
|
756
763
|
grantType?: string | undefined;
|
|
757
764
|
hasClientSecret?: boolean | undefined;
|
|
758
|
-
metadata?: {
|
|
759
|
-
clientSecretName?: string | undefined;
|
|
760
|
-
clientIdSecretName?: string | undefined;
|
|
761
|
-
apiKeySecretName?: string | undefined;
|
|
762
|
-
clientSecretVersion?: number | undefined;
|
|
763
|
-
lastRotatedAt?: string | undefined;
|
|
764
|
-
} | undefined;
|
|
765
765
|
}>;
|
|
766
766
|
/**
|
|
767
767
|
* Unified Auth Provider Type
|
|
@@ -812,22 +812,36 @@ export declare const AuthProviderSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
|
812
812
|
}>>;
|
|
813
813
|
}, "strip", z.ZodTypeAny, {
|
|
814
814
|
type: "oauth2";
|
|
815
|
-
clientId: string;
|
|
816
815
|
authorizationUrl: string;
|
|
816
|
+
clientId: string;
|
|
817
817
|
tokenUrl: string;
|
|
818
818
|
supportsPKCE: boolean;
|
|
819
819
|
requiresClientSecret: boolean;
|
|
820
820
|
responseType: string;
|
|
821
821
|
grantType: string;
|
|
822
|
+
metadata?: {
|
|
823
|
+
clientSecretName?: string | undefined;
|
|
824
|
+
clientIdSecretName?: string | undefined;
|
|
825
|
+
apiKeySecretName?: string | undefined;
|
|
826
|
+
clientSecretVersion?: number | undefined;
|
|
827
|
+
lastRotatedAt?: string | undefined;
|
|
828
|
+
} | undefined;
|
|
829
|
+
scopes?: string[] | undefined;
|
|
822
830
|
displayName?: string | undefined;
|
|
823
831
|
clientSecret?: string | null | undefined;
|
|
824
832
|
userInfoUrl?: string | undefined;
|
|
825
|
-
scopes?: string[] | undefined;
|
|
826
833
|
defaultScopes?: string[] | undefined;
|
|
827
834
|
proxyMode?: boolean | undefined;
|
|
828
835
|
customParams?: Record<string, string> | undefined;
|
|
829
836
|
tokenEndpointAuthMethod?: "client_secret_post" | "client_secret_basic" | undefined;
|
|
830
837
|
hasClientSecret?: boolean | undefined;
|
|
838
|
+
}, {
|
|
839
|
+
type: "oauth2";
|
|
840
|
+
authorizationUrl: string;
|
|
841
|
+
clientId: string;
|
|
842
|
+
tokenUrl: string;
|
|
843
|
+
supportsPKCE: boolean;
|
|
844
|
+
requiresClientSecret: boolean;
|
|
831
845
|
metadata?: {
|
|
832
846
|
clientSecretName?: string | undefined;
|
|
833
847
|
clientIdSecretName?: string | undefined;
|
|
@@ -835,17 +849,10 @@ export declare const AuthProviderSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
|
835
849
|
clientSecretVersion?: number | undefined;
|
|
836
850
|
lastRotatedAt?: string | undefined;
|
|
837
851
|
} | undefined;
|
|
838
|
-
|
|
839
|
-
type: "oauth2";
|
|
840
|
-
clientId: string;
|
|
841
|
-
authorizationUrl: string;
|
|
842
|
-
tokenUrl: string;
|
|
843
|
-
supportsPKCE: boolean;
|
|
844
|
-
requiresClientSecret: boolean;
|
|
852
|
+
scopes?: string[] | undefined;
|
|
845
853
|
displayName?: string | undefined;
|
|
846
854
|
clientSecret?: string | null | undefined;
|
|
847
855
|
userInfoUrl?: string | undefined;
|
|
848
|
-
scopes?: string[] | undefined;
|
|
849
856
|
defaultScopes?: string[] | undefined;
|
|
850
857
|
proxyMode?: boolean | undefined;
|
|
851
858
|
customParams?: Record<string, string> | undefined;
|
|
@@ -853,13 +860,6 @@ export declare const AuthProviderSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
|
853
860
|
responseType?: string | undefined;
|
|
854
861
|
grantType?: string | undefined;
|
|
855
862
|
hasClientSecret?: boolean | undefined;
|
|
856
|
-
metadata?: {
|
|
857
|
-
clientSecretName?: string | undefined;
|
|
858
|
-
clientIdSecretName?: string | undefined;
|
|
859
|
-
apiKeySecretName?: string | undefined;
|
|
860
|
-
clientSecretVersion?: number | undefined;
|
|
861
|
-
lastRotatedAt?: string | undefined;
|
|
862
|
-
} | undefined;
|
|
863
863
|
}>, z.ZodObject<{
|
|
864
864
|
type: z.ZodLiteral<"credential">;
|
|
865
865
|
displayName: z.ZodOptional<z.ZodString>;
|
|
@@ -912,7 +912,7 @@ export declare const AuthProviderSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
|
912
912
|
formTitle?: string | undefined;
|
|
913
913
|
formDescription?: string | undefined;
|
|
914
914
|
identityFieldLabel?: string | undefined;
|
|
915
|
-
identityFieldType?: "
|
|
915
|
+
identityFieldType?: "email" | "text" | "tel" | undefined;
|
|
916
916
|
passwordFieldLabel?: string | undefined;
|
|
917
917
|
submitButtonText?: string | undefined;
|
|
918
918
|
}, {
|
|
@@ -920,7 +920,7 @@ export declare const AuthProviderSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
|
920
920
|
formTitle?: string | undefined;
|
|
921
921
|
formDescription?: string | undefined;
|
|
922
922
|
identityFieldLabel?: string | undefined;
|
|
923
|
-
identityFieldType?: "
|
|
923
|
+
identityFieldType?: "email" | "text" | "tel" | undefined;
|
|
924
924
|
passwordFieldLabel?: string | undefined;
|
|
925
925
|
submitButtonText?: string | undefined;
|
|
926
926
|
}>>;
|
|
@@ -935,12 +935,12 @@ export declare const AuthProviderSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
|
935
935
|
userDisplayName?: string | undefined;
|
|
936
936
|
expiresIn?: string | undefined;
|
|
937
937
|
};
|
|
938
|
+
headers?: Record<string, string> | undefined;
|
|
938
939
|
displayName?: string | undefined;
|
|
939
940
|
successCheck?: {
|
|
940
941
|
path: string;
|
|
941
942
|
expectedValue: string | number | boolean;
|
|
942
943
|
} | undefined;
|
|
943
|
-
headers?: Record<string, string> | undefined;
|
|
944
944
|
tokenUsage?: "cookie" | "bearer" | "header" | undefined;
|
|
945
945
|
tokenHeader?: string | undefined;
|
|
946
946
|
cookieFormat?: string | undefined;
|
|
@@ -950,7 +950,7 @@ export declare const AuthProviderSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
|
950
950
|
formTitle?: string | undefined;
|
|
951
951
|
formDescription?: string | undefined;
|
|
952
952
|
identityFieldLabel?: string | undefined;
|
|
953
|
-
identityFieldType?: "
|
|
953
|
+
identityFieldType?: "email" | "text" | "tel" | undefined;
|
|
954
954
|
passwordFieldLabel?: string | undefined;
|
|
955
955
|
submitButtonText?: string | undefined;
|
|
956
956
|
} | undefined;
|
|
@@ -965,12 +965,12 @@ export declare const AuthProviderSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
|
965
965
|
userDisplayName?: string | undefined;
|
|
966
966
|
expiresIn?: string | undefined;
|
|
967
967
|
};
|
|
968
|
+
headers?: Record<string, string> | undefined;
|
|
968
969
|
displayName?: string | undefined;
|
|
969
970
|
successCheck?: {
|
|
970
971
|
path: string;
|
|
971
972
|
expectedValue: string | number | boolean;
|
|
972
973
|
} | undefined;
|
|
973
|
-
headers?: Record<string, string> | undefined;
|
|
974
974
|
tokenUsage?: "cookie" | "bearer" | "header" | undefined;
|
|
975
975
|
tokenHeader?: string | undefined;
|
|
976
976
|
cookieFormat?: string | undefined;
|
|
@@ -980,7 +980,7 @@ export declare const AuthProviderSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
|
980
980
|
formTitle?: string | undefined;
|
|
981
981
|
formDescription?: string | undefined;
|
|
982
982
|
identityFieldLabel?: string | undefined;
|
|
983
|
-
identityFieldType?: "
|
|
983
|
+
identityFieldType?: "email" | "text" | "tel" | undefined;
|
|
984
984
|
passwordFieldLabel?: string | undefined;
|
|
985
985
|
submitButtonText?: string | undefined;
|
|
986
986
|
} | undefined;
|
|
@@ -1136,8 +1136,8 @@ export declare const AgentIdentitySchema: z.ZodObject<{
|
|
|
1136
1136
|
}, "strip", z.ZodTypeAny, {
|
|
1137
1137
|
did: string;
|
|
1138
1138
|
publicKey: string;
|
|
1139
|
-
privateKey: string;
|
|
1140
1139
|
createdAt: string;
|
|
1140
|
+
privateKey: string;
|
|
1141
1141
|
metadata?: z.objectOutputType<{
|
|
1142
1142
|
name: z.ZodOptional<z.ZodString>;
|
|
1143
1143
|
version: z.ZodOptional<z.ZodString>;
|
|
@@ -1150,8 +1150,8 @@ export declare const AgentIdentitySchema: z.ZodObject<{
|
|
|
1150
1150
|
}, {
|
|
1151
1151
|
did: string;
|
|
1152
1152
|
publicKey: string;
|
|
1153
|
-
privateKey: string;
|
|
1154
1153
|
createdAt: string;
|
|
1154
|
+
privateKey: string;
|
|
1155
1155
|
metadata?: z.objectInputType<{
|
|
1156
1156
|
name: z.ZodOptional<z.ZodString>;
|
|
1157
1157
|
version: z.ZodOptional<z.ZodString>;
|