@kya-os/contracts 1.6.19 → 1.7.0
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/agentshield-api/schemas.d.ts +154 -154
- package/dist/audit/index.d.ts +24 -24
- package/dist/cli.d.ts +26 -26
- package/dist/consent/index.d.ts +8 -2
- package/dist/consent/index.js +73 -17
- package/dist/consent/schemas.d.ts +123 -123
- package/dist/consent/schemas.js +1 -1
- package/dist/consent/types.d.ts +1 -1
- package/dist/dashboard-config/schemas.d.ts +2241 -2241
- package/dist/delegation/schemas.d.ts +34 -34
- package/dist/deploy/schemas.d.ts +110 -110
- package/dist/handshake.d.ts +4 -4
- package/dist/handshake.js +2 -2
- package/dist/proof.d.ts +12 -12
- package/dist/registry.d.ts +8 -8
- package/dist/reputation/api.d.ts +146 -146
- package/dist/reputation/credentials.d.ts +60 -60
- package/dist/reputation/schemas.d.ts +24 -24
- package/dist/test.d.ts +12 -12
- package/dist/tool-protection/index.d.ts +18 -18
- package/dist/verifier.d.ts +8 -8
- package/dist/well-known/index.d.ts +716 -11
- package/dist/well-known/index.js +169 -1
- package/package.json +2 -1
package/dist/audit/index.d.ts
CHANGED
|
@@ -65,38 +65,38 @@ export declare const AuditContextSchema: z.ZodObject<{
|
|
|
65
65
|
*/
|
|
66
66
|
scopeId: z.ZodOptional<z.ZodString>;
|
|
67
67
|
}, "strip", z.ZodTypeAny, {
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
kid: string;
|
|
71
|
-
} & {
|
|
72
|
-
[k: string]: unknown;
|
|
73
|
-
};
|
|
68
|
+
requestHash: string;
|
|
69
|
+
responseHash: string;
|
|
74
70
|
session: {
|
|
75
|
-
sessionId: string;
|
|
76
71
|
audience: string;
|
|
72
|
+
sessionId: string;
|
|
77
73
|
} & {
|
|
78
74
|
[k: string]: unknown;
|
|
79
75
|
};
|
|
80
|
-
requestHash: string;
|
|
81
|
-
responseHash: string;
|
|
82
76
|
verified: "yes" | "no";
|
|
83
|
-
scopeId?: string | undefined;
|
|
84
|
-
}, {
|
|
85
77
|
identity: {
|
|
86
78
|
did: string;
|
|
87
79
|
kid: string;
|
|
88
80
|
} & {
|
|
89
81
|
[k: string]: unknown;
|
|
90
82
|
};
|
|
83
|
+
scopeId?: string | undefined;
|
|
84
|
+
}, {
|
|
85
|
+
requestHash: string;
|
|
86
|
+
responseHash: string;
|
|
91
87
|
session: {
|
|
92
|
-
sessionId: string;
|
|
93
88
|
audience: string;
|
|
89
|
+
sessionId: string;
|
|
94
90
|
} & {
|
|
95
91
|
[k: string]: unknown;
|
|
96
92
|
};
|
|
97
|
-
requestHash: string;
|
|
98
|
-
responseHash: string;
|
|
99
93
|
verified: "yes" | "no";
|
|
94
|
+
identity: {
|
|
95
|
+
did: string;
|
|
96
|
+
kid: string;
|
|
97
|
+
} & {
|
|
98
|
+
[k: string]: unknown;
|
|
99
|
+
};
|
|
100
100
|
scopeId?: string | undefined;
|
|
101
101
|
}>;
|
|
102
102
|
export type AuditContext = {
|
|
@@ -153,33 +153,33 @@ export declare const AuditEventContextSchema: z.ZodObject<{
|
|
|
153
153
|
*/
|
|
154
154
|
eventData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
155
155
|
}, "strip", z.ZodTypeAny, {
|
|
156
|
+
session: {
|
|
157
|
+
audience: string;
|
|
158
|
+
sessionId: string;
|
|
159
|
+
} & {
|
|
160
|
+
[k: string]: unknown;
|
|
161
|
+
};
|
|
156
162
|
identity: {
|
|
157
163
|
did: string;
|
|
158
164
|
kid: string;
|
|
159
165
|
} & {
|
|
160
166
|
[k: string]: unknown;
|
|
161
167
|
};
|
|
168
|
+
eventType: string;
|
|
169
|
+
eventData?: Record<string, unknown> | undefined;
|
|
170
|
+
}, {
|
|
162
171
|
session: {
|
|
163
|
-
sessionId: string;
|
|
164
172
|
audience: string;
|
|
173
|
+
sessionId: string;
|
|
165
174
|
} & {
|
|
166
175
|
[k: string]: unknown;
|
|
167
176
|
};
|
|
168
|
-
eventType: string;
|
|
169
|
-
eventData?: Record<string, unknown> | undefined;
|
|
170
|
-
}, {
|
|
171
177
|
identity: {
|
|
172
178
|
did: string;
|
|
173
179
|
kid: string;
|
|
174
180
|
} & {
|
|
175
181
|
[k: string]: unknown;
|
|
176
182
|
};
|
|
177
|
-
session: {
|
|
178
|
-
sessionId: string;
|
|
179
|
-
audience: string;
|
|
180
|
-
} & {
|
|
181
|
-
[k: string]: unknown;
|
|
182
|
-
};
|
|
183
183
|
eventType: string;
|
|
184
184
|
eventData?: Record<string, unknown> | undefined;
|
|
185
185
|
}>;
|
package/dist/cli.d.ts
CHANGED
|
@@ -39,59 +39,59 @@ export declare const CLIIdentityFileSchema: z.ZodEffects<z.ZodEffects<z.ZodObjec
|
|
|
39
39
|
}, "strip", z.ZodTypeAny, {
|
|
40
40
|
version: "1.0";
|
|
41
41
|
did: string;
|
|
42
|
-
privateKey: string;
|
|
43
42
|
publicKey: string;
|
|
43
|
+
privateKey: string;
|
|
44
44
|
createdAt: string;
|
|
45
|
-
kid?: string | undefined;
|
|
46
|
-
keyId?: string | undefined;
|
|
47
|
-
lastRotated?: string | undefined;
|
|
48
45
|
kta?: {
|
|
49
46
|
registered: boolean;
|
|
50
47
|
registeredAt: string;
|
|
51
48
|
claimUrl: string | null;
|
|
52
49
|
} | undefined;
|
|
50
|
+
kid?: string | undefined;
|
|
51
|
+
keyId?: string | undefined;
|
|
52
|
+
lastRotated?: string | undefined;
|
|
53
53
|
}, {
|
|
54
54
|
version: "1.0";
|
|
55
55
|
did: string;
|
|
56
|
-
privateKey: string;
|
|
57
56
|
publicKey: string;
|
|
57
|
+
privateKey: string;
|
|
58
58
|
createdAt: string;
|
|
59
|
-
kid?: string | undefined;
|
|
60
|
-
keyId?: string | undefined;
|
|
61
|
-
lastRotated?: string | undefined;
|
|
62
59
|
kta?: {
|
|
63
60
|
registered: boolean;
|
|
64
61
|
registeredAt: string;
|
|
65
62
|
claimUrl: string | null;
|
|
66
63
|
} | undefined;
|
|
64
|
+
kid?: string | undefined;
|
|
65
|
+
keyId?: string | undefined;
|
|
66
|
+
lastRotated?: string | undefined;
|
|
67
67
|
}>, {
|
|
68
68
|
version: "1.0";
|
|
69
69
|
did: string;
|
|
70
|
-
privateKey: string;
|
|
71
70
|
publicKey: string;
|
|
71
|
+
privateKey: string;
|
|
72
72
|
createdAt: string;
|
|
73
|
-
kid?: string | undefined;
|
|
74
|
-
keyId?: string | undefined;
|
|
75
|
-
lastRotated?: string | undefined;
|
|
76
73
|
kta?: {
|
|
77
74
|
registered: boolean;
|
|
78
75
|
registeredAt: string;
|
|
79
76
|
claimUrl: string | null;
|
|
80
77
|
} | undefined;
|
|
78
|
+
kid?: string | undefined;
|
|
79
|
+
keyId?: string | undefined;
|
|
80
|
+
lastRotated?: string | undefined;
|
|
81
81
|
}, {
|
|
82
82
|
version: "1.0";
|
|
83
83
|
did: string;
|
|
84
|
-
privateKey: string;
|
|
85
84
|
publicKey: string;
|
|
85
|
+
privateKey: string;
|
|
86
86
|
createdAt: string;
|
|
87
|
-
kid?: string | undefined;
|
|
88
|
-
keyId?: string | undefined;
|
|
89
|
-
lastRotated?: string | undefined;
|
|
90
87
|
kta?: {
|
|
91
88
|
registered: boolean;
|
|
92
89
|
registeredAt: string;
|
|
93
90
|
claimUrl: string | null;
|
|
94
91
|
} | undefined;
|
|
92
|
+
kid?: string | undefined;
|
|
93
|
+
keyId?: string | undefined;
|
|
94
|
+
lastRotated?: string | undefined;
|
|
95
95
|
}>, {
|
|
96
96
|
version: "1.0";
|
|
97
97
|
did: string;
|
|
@@ -104,17 +104,17 @@ export declare const CLIIdentityFileSchema: z.ZodEffects<z.ZodEffects<z.ZodObjec
|
|
|
104
104
|
}, {
|
|
105
105
|
version: "1.0";
|
|
106
106
|
did: string;
|
|
107
|
-
privateKey: string;
|
|
108
107
|
publicKey: string;
|
|
108
|
+
privateKey: string;
|
|
109
109
|
createdAt: string;
|
|
110
|
-
kid?: string | undefined;
|
|
111
|
-
keyId?: string | undefined;
|
|
112
|
-
lastRotated?: string | undefined;
|
|
113
110
|
kta?: {
|
|
114
111
|
registered: boolean;
|
|
115
112
|
registeredAt: string;
|
|
116
113
|
claimUrl: string | null;
|
|
117
114
|
} | undefined;
|
|
115
|
+
kid?: string | undefined;
|
|
116
|
+
keyId?: string | undefined;
|
|
117
|
+
lastRotated?: string | undefined;
|
|
118
118
|
}>;
|
|
119
119
|
export declare const KeyRotationResultSchema: z.ZodObject<{
|
|
120
120
|
success: z.ZodBoolean;
|
|
@@ -172,13 +172,13 @@ export declare const PackageInfoSchema: z.ZodObject<{
|
|
|
172
172
|
compatible: z.ZodBoolean;
|
|
173
173
|
issues: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
174
174
|
}, "strip", z.ZodTypeAny, {
|
|
175
|
-
version: string;
|
|
176
175
|
name: string;
|
|
176
|
+
version: string;
|
|
177
177
|
compatible: boolean;
|
|
178
178
|
issues?: string[] | undefined;
|
|
179
179
|
}, {
|
|
180
|
-
version: string;
|
|
181
180
|
name: string;
|
|
181
|
+
version: string;
|
|
182
182
|
compatible: boolean;
|
|
183
183
|
issues?: string[] | undefined;
|
|
184
184
|
}>;
|
|
@@ -241,13 +241,13 @@ export declare const DoctorResultSchema: z.ZodObject<{
|
|
|
241
241
|
compatible: z.ZodBoolean;
|
|
242
242
|
issues: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
243
243
|
}, "strip", z.ZodTypeAny, {
|
|
244
|
-
version: string;
|
|
245
244
|
name: string;
|
|
245
|
+
version: string;
|
|
246
246
|
compatible: boolean;
|
|
247
247
|
issues?: string[] | undefined;
|
|
248
248
|
}, {
|
|
249
|
-
version: string;
|
|
250
249
|
name: string;
|
|
250
|
+
version: string;
|
|
251
251
|
compatible: boolean;
|
|
252
252
|
issues?: string[] | undefined;
|
|
253
253
|
}>, "many">;
|
|
@@ -315,8 +315,8 @@ export declare const DoctorResultSchema: z.ZodObject<{
|
|
|
315
315
|
issues?: string[] | undefined;
|
|
316
316
|
};
|
|
317
317
|
packages: {
|
|
318
|
-
version: string;
|
|
319
318
|
name: string;
|
|
319
|
+
version: string;
|
|
320
320
|
compatible: boolean;
|
|
321
321
|
issues?: string[] | undefined;
|
|
322
322
|
}[];
|
|
@@ -342,8 +342,8 @@ export declare const DoctorResultSchema: z.ZodObject<{
|
|
|
342
342
|
issues?: string[] | undefined;
|
|
343
343
|
};
|
|
344
344
|
packages: {
|
|
345
|
-
version: string;
|
|
346
345
|
name: string;
|
|
346
|
+
version: string;
|
|
347
347
|
compatible: boolean;
|
|
348
348
|
issues?: string[] | undefined;
|
|
349
349
|
}[];
|
package/dist/consent/index.d.ts
CHANGED
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Consent Module Exports
|
|
3
3
|
*
|
|
4
|
-
* Types and schemas for consent page configuration and approval handling
|
|
4
|
+
* Types and schemas for consent page configuration and approval handling.
|
|
5
|
+
*
|
|
6
|
+
* This module re-exports from @kya-os/consent (the single source of truth)
|
|
7
|
+
* while maintaining backward compatibility with existing contracts consumers.
|
|
5
8
|
*/
|
|
6
|
-
export {
|
|
9
|
+
export type { ConsentConfig, ConsentConfigWithMeta, ConsentCustomField, ConsentCustomFieldOption, ConsentMetadata, ResolvedConsentConfig, ResolvedUI, ResolvedTerms, ResolvedSuccess, ConsentBranding, ResolvedConsentBranding, ConsentUI, ConsentTerms, ConsentSuccess, ResolvedConsentCopy, AuthMode, CredentialsConfig, OAuthConfig, MagicLinkConfig, OTPConfig, QRCodeConfig, PasskeyConfig, IDVConfig, ConsentPageConfig, ExtendedConsentPageConfig, OAuthIdentity, ConsentApprovalRequest, ConsentApprovalResponse, ConsentConfigAPIResponse, CredentialAuthRequest, CredentialAuthResponse, } from "@kya-os/consent";
|
|
10
|
+
export { ConsentConfigSchema, ConsentConfigWithMetaSchema, ConsentCustomFieldSchema, ConsentCustomFieldOptionSchema, ConsentTermsSchema, ConsentUISchema, ConsentSuccessSchema, ConsentMetadataSchema, ConsentBrandingSchema, AuthModeSchema, CredentialsConfigSchema, OAuthConfigSchema, MagicLinkConfigSchema, OTPConfigSchema, QRCodeConfigSchema, PasskeyConfigSchema, IDVConfigSchema, OAuthIdentitySchema, ConsentApprovalRequestSchema, ConsentApprovalResponseSchema, ConsentPageConfigSchema, CredentialAuthRequestSchema, CredentialAuthResponseSchema, validateConsentApprovalRequest, validateConsentApprovalResponse, validateOAuthIdentity, validateConsentPageConfig, validateConsentConfig, validateConsentBranding, validateCustomField, } from "@kya-os/consent";
|
|
11
|
+
export { DEFAULT_BRANDING, DEFAULT_UI, DEFAULT_TERMS, DEFAULT_SUCCESS, DEFAULT_METADATA, DEFAULT_EXPIRATION_DAYS, DEFAULT_COLORS, AUTH_MODES, AUTH_MODE_REGISTRY, getAuthModeMetadata, getImplementedAuthModes, isAuthModeImplemented, requiresExternalAuth, collectsCredentials, } from "@kya-os/consent";
|
|
12
|
+
export { ConsentBrandingSchema as consentBrandingSchema, ConsentTermsSchema as consentTermsSchema, ConsentConfigSchema as consentConfigSchema, ConsentCustomFieldSchema as consentCustomFieldSchema, ConsentCustomFieldOptionSchema as consentCustomFieldOptionSchema, ConsentPageConfigSchema as consentPageConfigSchema, ConsentApprovalRequestSchema as consentApprovalRequestSchema, ConsentApprovalResponseSchema as consentApprovalResponseSchema, OAuthIdentitySchema as oauthIdentitySchema, } from "@kya-os/consent";
|
package/dist/consent/index.js
CHANGED
|
@@ -2,22 +2,78 @@
|
|
|
2
2
|
/**
|
|
3
3
|
* Consent Module Exports
|
|
4
4
|
*
|
|
5
|
-
* Types and schemas for consent page configuration and approval handling
|
|
5
|
+
* Types and schemas for consent page configuration and approval handling.
|
|
6
|
+
*
|
|
7
|
+
* This module re-exports from @kya-os/consent (the single source of truth)
|
|
8
|
+
* while maintaining backward compatibility with existing contracts consumers.
|
|
6
9
|
*/
|
|
7
10
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.validateConsentConfig = exports.validateConsentApprovalResponse = exports.validateConsentApprovalRequest = exports.
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
Object.defineProperty(exports, "
|
|
14
|
-
Object.defineProperty(exports, "
|
|
15
|
-
Object.defineProperty(exports, "
|
|
16
|
-
Object.defineProperty(exports, "
|
|
17
|
-
Object.defineProperty(exports, "
|
|
18
|
-
Object.defineProperty(exports, "
|
|
19
|
-
Object.defineProperty(exports, "
|
|
20
|
-
Object.defineProperty(exports, "
|
|
21
|
-
|
|
22
|
-
Object.defineProperty(exports, "
|
|
23
|
-
|
|
11
|
+
exports.consentPageConfigSchema = exports.consentCustomFieldOptionSchema = exports.consentCustomFieldSchema = exports.consentConfigSchema = exports.consentTermsSchema = exports.consentBrandingSchema = exports.collectsCredentials = exports.requiresExternalAuth = exports.isAuthModeImplemented = exports.getImplementedAuthModes = exports.getAuthModeMetadata = exports.AUTH_MODE_REGISTRY = exports.AUTH_MODES = exports.DEFAULT_COLORS = exports.DEFAULT_EXPIRATION_DAYS = exports.DEFAULT_METADATA = exports.DEFAULT_SUCCESS = exports.DEFAULT_TERMS = exports.DEFAULT_UI = exports.DEFAULT_BRANDING = exports.validateCustomField = exports.validateConsentBranding = exports.validateConsentConfig = exports.validateConsentPageConfig = exports.validateOAuthIdentity = exports.validateConsentApprovalResponse = exports.validateConsentApprovalRequest = exports.CredentialAuthResponseSchema = exports.CredentialAuthRequestSchema = exports.ConsentPageConfigSchema = exports.ConsentApprovalResponseSchema = exports.ConsentApprovalRequestSchema = exports.OAuthIdentitySchema = exports.IDVConfigSchema = exports.PasskeyConfigSchema = exports.QRCodeConfigSchema = exports.OTPConfigSchema = exports.MagicLinkConfigSchema = exports.OAuthConfigSchema = exports.CredentialsConfigSchema = exports.AuthModeSchema = exports.ConsentBrandingSchema = exports.ConsentMetadataSchema = exports.ConsentSuccessSchema = exports.ConsentUISchema = exports.ConsentTermsSchema = exports.ConsentCustomFieldOptionSchema = exports.ConsentCustomFieldSchema = exports.ConsentConfigWithMetaSchema = exports.ConsentConfigSchema = void 0;
|
|
12
|
+
exports.oauthIdentitySchema = exports.consentApprovalResponseSchema = exports.consentApprovalRequestSchema = void 0;
|
|
13
|
+
// Re-export schemas from @kya-os/consent
|
|
14
|
+
var consent_1 = require("@kya-os/consent");
|
|
15
|
+
// Config schemas
|
|
16
|
+
Object.defineProperty(exports, "ConsentConfigSchema", { enumerable: true, get: function () { return consent_1.ConsentConfigSchema; } });
|
|
17
|
+
Object.defineProperty(exports, "ConsentConfigWithMetaSchema", { enumerable: true, get: function () { return consent_1.ConsentConfigWithMetaSchema; } });
|
|
18
|
+
Object.defineProperty(exports, "ConsentCustomFieldSchema", { enumerable: true, get: function () { return consent_1.ConsentCustomFieldSchema; } });
|
|
19
|
+
Object.defineProperty(exports, "ConsentCustomFieldOptionSchema", { enumerable: true, get: function () { return consent_1.ConsentCustomFieldOptionSchema; } });
|
|
20
|
+
Object.defineProperty(exports, "ConsentTermsSchema", { enumerable: true, get: function () { return consent_1.ConsentTermsSchema; } });
|
|
21
|
+
Object.defineProperty(exports, "ConsentUISchema", { enumerable: true, get: function () { return consent_1.ConsentUISchema; } });
|
|
22
|
+
Object.defineProperty(exports, "ConsentSuccessSchema", { enumerable: true, get: function () { return consent_1.ConsentSuccessSchema; } });
|
|
23
|
+
Object.defineProperty(exports, "ConsentMetadataSchema", { enumerable: true, get: function () { return consent_1.ConsentMetadataSchema; } });
|
|
24
|
+
// Branding schemas
|
|
25
|
+
Object.defineProperty(exports, "ConsentBrandingSchema", { enumerable: true, get: function () { return consent_1.ConsentBrandingSchema; } });
|
|
26
|
+
// Mode schemas
|
|
27
|
+
Object.defineProperty(exports, "AuthModeSchema", { enumerable: true, get: function () { return consent_1.AuthModeSchema; } });
|
|
28
|
+
Object.defineProperty(exports, "CredentialsConfigSchema", { enumerable: true, get: function () { return consent_1.CredentialsConfigSchema; } });
|
|
29
|
+
Object.defineProperty(exports, "OAuthConfigSchema", { enumerable: true, get: function () { return consent_1.OAuthConfigSchema; } });
|
|
30
|
+
Object.defineProperty(exports, "MagicLinkConfigSchema", { enumerable: true, get: function () { return consent_1.MagicLinkConfigSchema; } });
|
|
31
|
+
Object.defineProperty(exports, "OTPConfigSchema", { enumerable: true, get: function () { return consent_1.OTPConfigSchema; } });
|
|
32
|
+
Object.defineProperty(exports, "QRCodeConfigSchema", { enumerable: true, get: function () { return consent_1.QRCodeConfigSchema; } });
|
|
33
|
+
Object.defineProperty(exports, "PasskeyConfigSchema", { enumerable: true, get: function () { return consent_1.PasskeyConfigSchema; } });
|
|
34
|
+
Object.defineProperty(exports, "IDVConfigSchema", { enumerable: true, get: function () { return consent_1.IDVConfigSchema; } });
|
|
35
|
+
// API schemas
|
|
36
|
+
Object.defineProperty(exports, "OAuthIdentitySchema", { enumerable: true, get: function () { return consent_1.OAuthIdentitySchema; } });
|
|
37
|
+
Object.defineProperty(exports, "ConsentApprovalRequestSchema", { enumerable: true, get: function () { return consent_1.ConsentApprovalRequestSchema; } });
|
|
38
|
+
Object.defineProperty(exports, "ConsentApprovalResponseSchema", { enumerable: true, get: function () { return consent_1.ConsentApprovalResponseSchema; } });
|
|
39
|
+
Object.defineProperty(exports, "ConsentPageConfigSchema", { enumerable: true, get: function () { return consent_1.ConsentPageConfigSchema; } });
|
|
40
|
+
Object.defineProperty(exports, "CredentialAuthRequestSchema", { enumerable: true, get: function () { return consent_1.CredentialAuthRequestSchema; } });
|
|
41
|
+
Object.defineProperty(exports, "CredentialAuthResponseSchema", { enumerable: true, get: function () { return consent_1.CredentialAuthResponseSchema; } });
|
|
42
|
+
// Validation helpers
|
|
43
|
+
Object.defineProperty(exports, "validateConsentApprovalRequest", { enumerable: true, get: function () { return consent_1.validateConsentApprovalRequest; } });
|
|
44
|
+
Object.defineProperty(exports, "validateConsentApprovalResponse", { enumerable: true, get: function () { return consent_1.validateConsentApprovalResponse; } });
|
|
45
|
+
Object.defineProperty(exports, "validateOAuthIdentity", { enumerable: true, get: function () { return consent_1.validateOAuthIdentity; } });
|
|
46
|
+
Object.defineProperty(exports, "validateConsentPageConfig", { enumerable: true, get: function () { return consent_1.validateConsentPageConfig; } });
|
|
47
|
+
Object.defineProperty(exports, "validateConsentConfig", { enumerable: true, get: function () { return consent_1.validateConsentConfig; } });
|
|
48
|
+
Object.defineProperty(exports, "validateConsentBranding", { enumerable: true, get: function () { return consent_1.validateConsentBranding; } });
|
|
49
|
+
Object.defineProperty(exports, "validateCustomField", { enumerable: true, get: function () { return consent_1.validateCustomField; } });
|
|
50
|
+
// Re-export constants and defaults
|
|
51
|
+
var consent_2 = require("@kya-os/consent");
|
|
52
|
+
// Defaults
|
|
53
|
+
Object.defineProperty(exports, "DEFAULT_BRANDING", { enumerable: true, get: function () { return consent_2.DEFAULT_BRANDING; } });
|
|
54
|
+
Object.defineProperty(exports, "DEFAULT_UI", { enumerable: true, get: function () { return consent_2.DEFAULT_UI; } });
|
|
55
|
+
Object.defineProperty(exports, "DEFAULT_TERMS", { enumerable: true, get: function () { return consent_2.DEFAULT_TERMS; } });
|
|
56
|
+
Object.defineProperty(exports, "DEFAULT_SUCCESS", { enumerable: true, get: function () { return consent_2.DEFAULT_SUCCESS; } });
|
|
57
|
+
Object.defineProperty(exports, "DEFAULT_METADATA", { enumerable: true, get: function () { return consent_2.DEFAULT_METADATA; } });
|
|
58
|
+
Object.defineProperty(exports, "DEFAULT_EXPIRATION_DAYS", { enumerable: true, get: function () { return consent_2.DEFAULT_EXPIRATION_DAYS; } });
|
|
59
|
+
Object.defineProperty(exports, "DEFAULT_COLORS", { enumerable: true, get: function () { return consent_2.DEFAULT_COLORS; } });
|
|
60
|
+
// Auth mode constants and utilities
|
|
61
|
+
Object.defineProperty(exports, "AUTH_MODES", { enumerable: true, get: function () { return consent_2.AUTH_MODES; } });
|
|
62
|
+
Object.defineProperty(exports, "AUTH_MODE_REGISTRY", { enumerable: true, get: function () { return consent_2.AUTH_MODE_REGISTRY; } });
|
|
63
|
+
Object.defineProperty(exports, "getAuthModeMetadata", { enumerable: true, get: function () { return consent_2.getAuthModeMetadata; } });
|
|
64
|
+
Object.defineProperty(exports, "getImplementedAuthModes", { enumerable: true, get: function () { return consent_2.getImplementedAuthModes; } });
|
|
65
|
+
Object.defineProperty(exports, "isAuthModeImplemented", { enumerable: true, get: function () { return consent_2.isAuthModeImplemented; } });
|
|
66
|
+
Object.defineProperty(exports, "requiresExternalAuth", { enumerable: true, get: function () { return consent_2.requiresExternalAuth; } });
|
|
67
|
+
Object.defineProperty(exports, "collectsCredentials", { enumerable: true, get: function () { return consent_2.collectsCredentials; } });
|
|
68
|
+
// Legacy schema exports (aliased for backward compatibility)
|
|
69
|
+
// These map old camelCase naming to new PascalCase canonical names
|
|
70
|
+
var consent_3 = require("@kya-os/consent");
|
|
71
|
+
Object.defineProperty(exports, "consentBrandingSchema", { enumerable: true, get: function () { return consent_3.ConsentBrandingSchema; } });
|
|
72
|
+
Object.defineProperty(exports, "consentTermsSchema", { enumerable: true, get: function () { return consent_3.ConsentTermsSchema; } });
|
|
73
|
+
Object.defineProperty(exports, "consentConfigSchema", { enumerable: true, get: function () { return consent_3.ConsentConfigSchema; } });
|
|
74
|
+
Object.defineProperty(exports, "consentCustomFieldSchema", { enumerable: true, get: function () { return consent_3.ConsentCustomFieldSchema; } });
|
|
75
|
+
Object.defineProperty(exports, "consentCustomFieldOptionSchema", { enumerable: true, get: function () { return consent_3.ConsentCustomFieldOptionSchema; } });
|
|
76
|
+
Object.defineProperty(exports, "consentPageConfigSchema", { enumerable: true, get: function () { return consent_3.ConsentPageConfigSchema; } });
|
|
77
|
+
Object.defineProperty(exports, "consentApprovalRequestSchema", { enumerable: true, get: function () { return consent_3.ConsentApprovalRequestSchema; } });
|
|
78
|
+
Object.defineProperty(exports, "consentApprovalResponseSchema", { enumerable: true, get: function () { return consent_3.ConsentApprovalResponseSchema; } });
|
|
79
|
+
Object.defineProperty(exports, "oauthIdentitySchema", { enumerable: true, get: function () { return consent_3.OAuthIdentitySchema; } });
|