@kya-os/contracts 1.4.0 → 1.5.2-canary.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/endpoints.d.ts +3 -2
- package/dist/agentshield-api/endpoints.js +3 -2
- package/dist/agentshield-api/index.js +0 -1
- package/dist/agentshield-api/schemas.d.ts +195 -124
- package/dist/agentshield-api/schemas.js +0 -1
- package/dist/agentshield-api/types.d.ts +2 -1
- package/dist/agentshield-api/types.js +0 -1
- package/dist/config/builder.d.ts +34 -0
- package/dist/config/builder.js +75 -0
- package/dist/config/index.d.ts +12 -10
- package/dist/config/index.js +4 -0
- package/dist/dashboard-config/default-config.d.ts +50 -0
- package/dist/dashboard-config/default-config.js +241 -0
- package/dist/dashboard-config/index.d.ts +1 -0
- package/dist/dashboard-config/index.js +6 -1
- package/dist/dashboard-config/schemas.d.ts +382 -324
- package/dist/dashboard-config/schemas.js +5 -1
- package/dist/dashboard-config/types.d.ts +12 -5
- package/dist/delegation/constraints.d.ts +31 -0
- package/dist/delegation/constraints.js +10 -0
- package/dist/delegation/index.js +1 -0
- package/dist/delegation/schemas.d.ts +175 -98
- package/dist/delegation/schemas.js +1 -0
- package/dist/handshake.d.ts +11 -2
- package/dist/handshake.js +4 -1
- package/dist/index.js +0 -1
- package/package.json +1 -1
|
@@ -27,8 +27,8 @@ export declare const AGENTSHIELD_ENDPOINTS: {
|
|
|
27
27
|
readonly DELEGATIONS_CREATE: "/api/v1/bouncer/delegations";
|
|
28
28
|
/** Revoke delegation */
|
|
29
29
|
readonly DELEGATIONS_REVOKE: (id: string) => `/api/v1/bouncer/delegations/${string}/revoke`;
|
|
30
|
-
/** Get
|
|
31
|
-
readonly CONFIG: (projectId: string) => `/api/v1/bouncer/
|
|
30
|
+
/** Get server configuration */
|
|
31
|
+
readonly CONFIG: (projectId: string) => `/api/v1/bouncer/projects/${string}/config`;
|
|
32
32
|
};
|
|
33
33
|
/**
|
|
34
34
|
* HTTP methods for each endpoint
|
|
@@ -48,3 +48,4 @@ export interface AgentShieldAPIHeaders {
|
|
|
48
48
|
'Content-Type': 'application/json';
|
|
49
49
|
'Authorization': `Bearer ${string}`;
|
|
50
50
|
}
|
|
51
|
+
//# sourceMappingURL=endpoints.d.ts.map
|
|
@@ -30,8 +30,8 @@ exports.AGENTSHIELD_ENDPOINTS = {
|
|
|
30
30
|
DELEGATIONS_CREATE: `${exports.AGENTSHIELD_API_BASE}/delegations`,
|
|
31
31
|
/** Revoke delegation */
|
|
32
32
|
DELEGATIONS_REVOKE: (id) => `${exports.AGENTSHIELD_API_BASE}/delegations/${id}/revoke`,
|
|
33
|
-
/** Get
|
|
34
|
-
CONFIG: (projectId) => `${exports.AGENTSHIELD_API_BASE}/
|
|
33
|
+
/** Get server configuration */
|
|
34
|
+
CONFIG: (projectId) => `${exports.AGENTSHIELD_API_BASE}/projects/${projectId}/config`,
|
|
35
35
|
};
|
|
36
36
|
/**
|
|
37
37
|
* HTTP methods for each endpoint
|
|
@@ -44,3 +44,4 @@ exports.AGENTSHIELD_METHODS = {
|
|
|
44
44
|
DELEGATIONS_REVOKE: 'POST',
|
|
45
45
|
CONFIG: 'GET',
|
|
46
46
|
};
|
|
47
|
+
//# sourceMappingURL=endpoints.js.map
|
|
@@ -35,4 +35,3 @@ var endpoints_js_1 = require("./endpoints.js");
|
|
|
35
35
|
Object.defineProperty(exports, "AGENTSHIELD_API_BASE", { enumerable: true, get: function () { return endpoints_js_1.AGENTSHIELD_API_BASE; } });
|
|
36
36
|
Object.defineProperty(exports, "AGENTSHIELD_ENDPOINTS", { enumerable: true, get: function () { return endpoints_js_1.AGENTSHIELD_ENDPOINTS; } });
|
|
37
37
|
Object.defineProperty(exports, "AGENTSHIELD_METHODS", { enumerable: true, get: function () { return endpoints_js_1.AGENTSHIELD_METHODS; } });
|
|
38
|
-
//# sourceMappingURL=index.js.map
|