@xemahq/authorization-internal-api-client 0.4.20 → 0.4.27
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/custom-fetch.js +56 -4
- package/dist/endpoints/agents/agents.d.ts +7 -1
- package/dist/endpoints/agents/agents.js +18 -1
- package/dist/endpoints/capability-authority-requests/capability-authority-requests.d.ts +24 -0
- package/dist/endpoints/capability-authority-requests/capability-authority-requests.js +89 -0
- package/dist/endpoints/roles/roles.d.ts +1 -6
- package/dist/endpoints/roles/roles.js +1 -17
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/models/addRoleGrantDto.d.ts +8 -2
- package/dist/models/addTeamMemberDto.d.ts +1 -0
- package/dist/models/agentReachTier.d.ts +1 -1
- package/dist/models/assignRoleDto.d.ts +9 -2
- package/dist/models/authorizationCheckRequestDto.d.ts +24 -6
- package/dist/models/authorizationReasonDto.d.ts +1 -0
- package/dist/models/authorizationSuggestionDto.d.ts +11 -2
- package/dist/models/capabilityAuthorityRequestDto.d.ts +29 -0
- package/dist/models/capabilityAuthorityRequestDtoDataArrayEnvelope.d.ts +9 -0
- package/dist/models/capabilityAuthorityRequestDtoDataEnvelope.d.ts +9 -0
- package/dist/models/capabilityAuthorityRequestDtoDisposition.d.ts +14 -0
- package/dist/models/capabilityAuthorityRequestDtoDisposition.js +13 -0
- package/dist/models/capabilityAuthorityRequestDtoOutcome.d.ts +16 -0
- package/dist/models/capabilityAuthorityRequestDtoOutcome.js +15 -0
- package/dist/models/capabilityAuthorityRequestDtoRefusal.d.ts +14 -0
- package/dist/models/capabilityAuthorityRequestDtoRefusal.js +13 -0
- package/dist/models/{errorDetailsDtoDetails.d.ts → capabilityAuthorityRequestsControllerGetByIdParams.d.ts} +3 -6
- package/dist/models/capabilityAuthorityRequestsControllerListForSubjectParams.d.ts +10 -0
- package/dist/models/createExecutionEnvironmentDto.d.ts +9 -2
- package/dist/models/createGrantDto.d.ts +17 -4
- package/dist/models/createRoleDto.d.ts +3 -0
- package/dist/models/createTeamDto.d.ts +10 -2
- package/dist/models/environmentCeilingSource.d.ts +1 -1
- package/dist/models/environmentsControllerFindBySlugParams.d.ts +1 -0
- package/dist/models/environmentsControllerListParams.d.ts +1 -0
- package/dist/models/environmentsControllerRemoveParams.d.ts +1 -0
- package/dist/models/environmentsControllerUpdateParams.d.ts +1 -0
- package/dist/models/exactResourceAuthorityDto.d.ts +8 -2
- package/dist/models/exactResourceBindingDto.d.ts +8 -2
- package/dist/models/executionEnvironmentResponseDto.d.ts +1 -1
- package/dist/models/grantConstraintsDto.d.ts +6 -1
- package/dist/models/grantsControllerListParams.d.ts +10 -0
- package/dist/models/index.d.ts +15 -8
- package/dist/models/index.js +15 -8
- package/dist/models/listRegisteredResourcesDto.d.ts +4 -1
- package/dist/models/listVisibleResourcesDto.d.ts +8 -2
- package/dist/models/openCapabilityAuthorityRequestDto.d.ts +35 -0
- package/dist/models/openCapabilityAuthorityRequestDtoSubjectKind.d.ts +21 -0
- package/dist/models/openCapabilityAuthorityRequestDtoSubjectKind.js +20 -0
- package/dist/models/outputRouteAuthorityDto.d.ts +10 -2
- package/dist/models/outputRouteRevisionDto.d.ts +10 -2
- package/dist/models/policyActingAgentDto.d.ts +14 -0
- package/dist/models/policyActingAgentDtoKind.d.ts +9 -0
- package/dist/models/{orgRole.js → policyActingAgentDtoKind.js} +3 -5
- package/dist/models/policyActingForDto.d.ts +8 -0
- package/dist/models/policyBiomeDto.d.ts +2 -0
- package/dist/models/policyCallerDto.d.ts +4 -0
- package/dist/models/policyCapabilityDto.d.ts +5 -1
- package/dist/models/policyCheckRequestDto.d.ts +53 -3
- package/dist/models/policyDecisionDto.d.ts +8 -2
- package/dist/models/policyEnvironmentDto.d.ts +4 -1
- package/dist/models/policyObligationDto.d.ts +9 -2
- package/dist/models/policyResourceDto.d.ts +4 -1
- package/dist/models/policyRouteHintDto.d.ts +1 -0
- package/dist/models/policySpaceRefDto.d.ts +7 -0
- package/dist/models/policySubjectRefDto.d.ts +1 -0
- package/dist/models/previewOutputRouteImpactDto.d.ts +1 -0
- package/dist/models/problemDetailsDto.d.ts +28 -0
- package/dist/models/problemDetailsDto.js +2 -0
- package/dist/models/problemFieldIssueDto.d.ts +10 -0
- package/dist/models/problemFieldIssueDto.js +7 -0
- package/dist/models/provisionAgentRequestDto.d.ts +12 -3
- package/dist/models/provisionedCapabilityDto.d.ts +4 -1
- package/dist/models/recordAgentReachTierRequestDto.d.ts +21 -0
- package/dist/models/recordAgentReachTierRequestDto.js +2 -0
- package/dist/models/registerResourceOwnershipDto.d.ts +16 -4
- package/dist/models/registerResourceRevisionDto.d.ts +16 -4
- package/dist/models/registeredResourceRevisionDto.d.ts +8 -2
- package/dist/models/relationshipsControllerListParams.d.ts +4 -0
- package/dist/models/replaceResourceOwnershipDto.d.ts +8 -2
- package/dist/models/requestOutputRouteRetirementDto.d.ts +4 -1
- package/dist/models/requestOutputRouteRevisionReleaseDto.d.ts +14 -3
- package/dist/models/requestOutputRouteRollbackDto.d.ts +5 -1
- package/dist/models/resolveExactOutputRouteDto.d.ts +1 -0
- package/dist/models/resolveOutputRouteChannelDto.d.ts +1 -0
- package/dist/models/resourceShareRefDto.d.ts +8 -2
- package/dist/models/resourceSubjectRefDto.d.ts +4 -1
- package/dist/models/rolesControllerListParams.d.ts +3 -0
- package/dist/models/rollbackExecutionEnvironmentDto.d.ts +5 -2
- package/dist/models/subjectRefDto.d.ts +4 -1
- package/dist/models/teamsControllerListParams.d.ts +2 -0
- package/dist/models/updateExecutionEnvironmentDto.d.ts +1 -0
- package/dist/models/updateGrantDto.d.ts +5 -1
- package/dist/models/updateRoleDto.d.ts +1 -0
- package/dist/models/updateTeamDto.d.ts +1 -0
- package/dist/models/upsertCredentialDefaultDto.d.ts +16 -4
- package/package.json +26 -2
- package/dist/models/errorDetailsDto.d.ts +0 -10
- package/dist/models/errorPayloadDto.d.ts +0 -11
- package/dist/models/errorResponseDto.d.ts +0 -9
- package/dist/models/orgRole.d.ts +0 -14
- package/dist/models/orgRoleSyncDto.d.ts +0 -16
- package/dist/models/orgRoleSyncResultDto.d.ts +0 -9
- package/dist/models/orgRoleSyncResultDtoDataEnvelope.d.ts +0 -9
- /package/dist/models/{errorDetailsDto.js → capabilityAuthorityRequestDto.js} +0 -0
- /package/dist/models/{errorPayloadDto.js → capabilityAuthorityRequestDtoDataArrayEnvelope.js} +0 -0
- /package/dist/models/{errorResponseDto.js → capabilityAuthorityRequestDtoDataEnvelope.js} +0 -0
- /package/dist/models/{errorDetailsDtoDetails.js → capabilityAuthorityRequestsControllerGetByIdParams.js} +0 -0
- /package/dist/models/{orgRoleSyncResultDto.js → capabilityAuthorityRequestsControllerListForSubjectParams.js} +0 -0
- /package/dist/models/{orgRoleSyncDto.js → openCapabilityAuthorityRequestDto.js} +0 -0
- /package/dist/models/{orgRoleSyncResultDtoDataEnvelope.js → policyActingAgentDto.js} +0 -0
|
@@ -7,18 +7,31 @@ import type { BiomePermissionProfile } from './biomePermissionProfile.js';
|
|
|
7
7
|
import type { GrantConstraintsDto } from './grantConstraintsDto.js';
|
|
8
8
|
import type { SubjectKind } from './subjectKind.js';
|
|
9
9
|
export interface CreateGrantDto {
|
|
10
|
-
/**
|
|
10
|
+
/**
|
|
11
|
+
* Organization identifier. Scopes the grant to the tenant.
|
|
12
|
+
* @minLength 1
|
|
13
|
+
*/
|
|
11
14
|
orgId: string;
|
|
12
15
|
subjectKind: SubjectKind;
|
|
16
|
+
/** @minLength 1 */
|
|
13
17
|
subjectRef: string;
|
|
14
|
-
/**
|
|
18
|
+
/**
|
|
19
|
+
* Canonical CapabilityRef from `@xemahq/kernel-contracts/capability`.
|
|
20
|
+
* @minLength 1
|
|
21
|
+
*/
|
|
15
22
|
capability: string;
|
|
16
|
-
/**
|
|
23
|
+
/**
|
|
24
|
+
* Built-in environment slug. Phase 3 stores but does not enforce.
|
|
25
|
+
* @minLength 1
|
|
26
|
+
*/
|
|
17
27
|
environment: string;
|
|
18
28
|
constraints?: GrantConstraintsDto;
|
|
19
29
|
requiresApproval?: boolean;
|
|
20
30
|
/** Profile template that materialised this row, if any. */
|
|
21
31
|
profile?: BiomePermissionProfile;
|
|
22
|
-
/**
|
|
32
|
+
/**
|
|
33
|
+
* Opaque credential-binding pointer. EXPLICIT (highest-precedence) tier of the credential ladder. Not a secret; NOT tuple-affecting.
|
|
34
|
+
* @minLength 1
|
|
35
|
+
*/
|
|
23
36
|
credentialBindingId?: string;
|
|
24
37
|
}
|
|
@@ -4,11 +4,19 @@
|
|
|
4
4
|
* OpenAPI spec version: 0.1.1
|
|
5
5
|
*/
|
|
6
6
|
export interface CreateTeamDto {
|
|
7
|
+
/** @minLength 1 */
|
|
7
8
|
orgId: string;
|
|
8
|
-
/**
|
|
9
|
+
/**
|
|
10
|
+
* Org-unique stable slug (lowercase alphanumeric + dashes).
|
|
11
|
+
* @pattern SLUG_PATTERN
|
|
12
|
+
*/
|
|
9
13
|
slug: string;
|
|
14
|
+
/** @minLength 1 */
|
|
10
15
|
displayName: string;
|
|
11
16
|
description?: string;
|
|
12
|
-
/**
|
|
17
|
+
/**
|
|
18
|
+
* Parent team id — ENTERPRISE nesting. The new team becomes a sub-team whose members roll up into the parent. Entitlement-gated at the org-admin BFF (`teams.nested`).
|
|
19
|
+
* @minLength 1
|
|
20
|
+
*/
|
|
13
21
|
parentTeamId?: string;
|
|
14
22
|
}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* OpenAPI spec version: 0.1.1
|
|
5
5
|
*/
|
|
6
6
|
/**
|
|
7
|
-
* WHICH
|
|
7
|
+
* WHICH authority set `maxDataClassification`, read from the resolved revision's OWNER and the environment's KIND: an installation-wide built-in with no organisation restriction in force (`platform-built-in`), this org's restriction OF a built-in (`org-override`), or an environment this org declared itself (`org-custom-environment`). An org restriction that the installation ceiling already swallowed reads as `platform-built-in`, because it is deciding nothing.
|
|
8
8
|
*/
|
|
9
9
|
export type EnvironmentCeilingSource = typeof EnvironmentCeilingSource[keyof typeof EnvironmentCeilingSource];
|
|
10
10
|
export declare const EnvironmentCeilingSource: {
|
|
@@ -6,9 +6,15 @@
|
|
|
6
6
|
import type { DataClassification } from './dataClassification.js';
|
|
7
7
|
import type { ResourceSubjectAccessResult } from './resourceSubjectAccessResult.js';
|
|
8
8
|
export interface ExactResourceAuthorityDto {
|
|
9
|
-
/**
|
|
9
|
+
/**
|
|
10
|
+
* Canonical version-pinned Xema Resource ref. The first slug segment is the registered resource kind.
|
|
11
|
+
* @minLength 1
|
|
12
|
+
*/
|
|
10
13
|
ref: string;
|
|
11
|
-
/**
|
|
14
|
+
/**
|
|
15
|
+
* Lowercase SHA-256 of the immutable revision metadata.
|
|
16
|
+
* @pattern SHA256_HEX
|
|
17
|
+
*/
|
|
12
18
|
contentHash: string;
|
|
13
19
|
orgId: string;
|
|
14
20
|
resourceType: string;
|
|
@@ -4,8 +4,14 @@
|
|
|
4
4
|
* OpenAPI spec version: 0.1.1
|
|
5
5
|
*/
|
|
6
6
|
export interface ExactResourceBindingDto {
|
|
7
|
-
/**
|
|
7
|
+
/**
|
|
8
|
+
* Canonical version-pinned Xema Resource ref. The first slug segment is the registered resource kind.
|
|
9
|
+
* @minLength 1
|
|
10
|
+
*/
|
|
8
11
|
ref: string;
|
|
9
|
-
/**
|
|
12
|
+
/**
|
|
13
|
+
* Lowercase SHA-256 of the immutable revision metadata.
|
|
14
|
+
* @pattern SHA256_HEX
|
|
15
|
+
*/
|
|
10
16
|
contentHash: string;
|
|
11
17
|
}
|
|
@@ -54,7 +54,7 @@ export interface ExecutionEnvironmentResponseDto {
|
|
|
54
54
|
maxDataClassification: DataClassification;
|
|
55
55
|
/** The INSTALLATION-wide ceiling for this environment, before any organisation override. Equal to `maxDataClassification` whenever no override is in force. Present so a screen can say "your org lowered this" rather than showing one number and leaving the reader to guess who set it. */
|
|
56
56
|
platformMaxDataClassification: DataClassification;
|
|
57
|
-
/** WHICH
|
|
57
|
+
/** WHICH authority set `maxDataClassification`, read from the resolved revision's OWNER and the environment's KIND: an installation-wide built-in with no organisation restriction in force (`platform-built-in`), this org's restriction OF a built-in (`org-override`), or an environment this org declared itself (`org-custom-environment`). An org restriction that the installation ceiling already swallowed reads as `platform-built-in`, because it is deciding nothing. */
|
|
58
58
|
dataCeilingSource: EnvironmentCeilingSource;
|
|
59
59
|
createdAt: string;
|
|
60
60
|
updatedAt: string;
|
|
@@ -4,8 +4,13 @@
|
|
|
4
4
|
* OpenAPI spec version: 0.1.1
|
|
5
5
|
*/
|
|
6
6
|
export interface GrantConstraintsDto {
|
|
7
|
+
/** @minimum 0 */
|
|
7
8
|
maxCallsPerHour?: number;
|
|
9
|
+
/** @minimum 0 */
|
|
8
10
|
maxCostUsd?: number;
|
|
9
|
-
/**
|
|
11
|
+
/**
|
|
12
|
+
* Free-form rate-limit token consumed by the gateway rate-limit module.
|
|
13
|
+
* @minLength 1
|
|
14
|
+
*/
|
|
10
15
|
rateLimit?: string;
|
|
11
16
|
}
|
|
@@ -7,11 +7,21 @@ import type { SubjectKind } from './subjectKind.js';
|
|
|
7
7
|
export type GrantsControllerListParams = {
|
|
8
8
|
/**
|
|
9
9
|
* Filter grants by organization identifier.
|
|
10
|
+
* @minLength 1
|
|
10
11
|
*/
|
|
11
12
|
orgId?: string;
|
|
12
13
|
subjectKind?: SubjectKind;
|
|
14
|
+
/**
|
|
15
|
+
* @minLength 1
|
|
16
|
+
*/
|
|
13
17
|
subjectRef?: string;
|
|
18
|
+
/**
|
|
19
|
+
* @minLength 1
|
|
20
|
+
*/
|
|
14
21
|
capability?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @minLength 1
|
|
24
|
+
*/
|
|
15
25
|
environment?: string;
|
|
16
26
|
includeRevoked?: boolean;
|
|
17
27
|
/**
|
package/dist/models/index.d.ts
CHANGED
|
@@ -15,6 +15,14 @@ export * from './authorizationSuggestionKind';
|
|
|
15
15
|
export * from './biomeExecutionTrustTier';
|
|
16
16
|
export * from './biomePermissionProfile';
|
|
17
17
|
export * from './callerKind';
|
|
18
|
+
export * from './capabilityAuthorityRequestDto';
|
|
19
|
+
export * from './capabilityAuthorityRequestDtoDataArrayEnvelope';
|
|
20
|
+
export * from './capabilityAuthorityRequestDtoDataEnvelope';
|
|
21
|
+
export * from './capabilityAuthorityRequestDtoDisposition';
|
|
22
|
+
export * from './capabilityAuthorityRequestDtoOutcome';
|
|
23
|
+
export * from './capabilityAuthorityRequestDtoRefusal';
|
|
24
|
+
export * from './capabilityAuthorityRequestsControllerGetByIdParams';
|
|
25
|
+
export * from './capabilityAuthorityRequestsControllerListForSubjectParams';
|
|
18
26
|
export * from './capabilityEffectClass';
|
|
19
27
|
export * from './capabilityGrantDto';
|
|
20
28
|
export * from './capabilityGrantDtoDataEnvelope';
|
|
@@ -48,10 +56,6 @@ export * from './environmentsControllerReleaseImpactParams';
|
|
|
48
56
|
export * from './environmentsControllerRemoveParams';
|
|
49
57
|
export * from './environmentsControllerRollbackParams';
|
|
50
58
|
export * from './environmentsControllerUpdateParams';
|
|
51
|
-
export * from './errorDetailsDto';
|
|
52
|
-
export * from './errorDetailsDtoDetails';
|
|
53
|
-
export * from './errorPayloadDto';
|
|
54
|
-
export * from './errorResponseDto';
|
|
55
59
|
export * from './exactResourceAuthorityDto';
|
|
56
60
|
export * from './exactResourceAuthorityDtoDataEnvelope';
|
|
57
61
|
export * from './exactResourceBindingDto';
|
|
@@ -82,12 +86,10 @@ export * from './listRegisteredResourcesDto';
|
|
|
82
86
|
export * from './listVisibleResourcesDto';
|
|
83
87
|
export * from './object';
|
|
84
88
|
export * from './objectLifecycle';
|
|
89
|
+
export * from './openCapabilityAuthorityRequestDto';
|
|
90
|
+
export * from './openCapabilityAuthorityRequestDtoSubjectKind';
|
|
85
91
|
export * from './openFgaRelationshipDto';
|
|
86
92
|
export * from './openFgaRelationshipDtoPaginatedEnvelope';
|
|
87
|
-
export * from './orgRole';
|
|
88
|
-
export * from './orgRoleSyncDto';
|
|
89
|
-
export * from './orgRoleSyncResultDto';
|
|
90
|
-
export * from './orgRoleSyncResultDtoDataEnvelope';
|
|
91
93
|
export * from './outputRouteAuthorityDto';
|
|
92
94
|
export * from './outputRouteAuthorityDtoAllowedOutputSchema';
|
|
93
95
|
export * from './outputRouteAuthorityDtoDataEnvelope';
|
|
@@ -104,6 +106,8 @@ export * from './outputRouteRevisionDto';
|
|
|
104
106
|
export * from './outputRouteRevisionDtoAllowedOutputSchema';
|
|
105
107
|
export * from './outputRouteRevisionsControllerReleaseHistoryParams';
|
|
106
108
|
export * from './paginationMeta';
|
|
109
|
+
export * from './policyActingAgentDto';
|
|
110
|
+
export * from './policyActingAgentDtoKind';
|
|
107
111
|
export * from './policyActingForDto';
|
|
108
112
|
export * from './policyBiomeDto';
|
|
109
113
|
export * from './policyCallerDto';
|
|
@@ -126,6 +130,8 @@ export * from './policyRouteHintDtoRequiredRunnerLabels';
|
|
|
126
130
|
export * from './policySpaceRefDto';
|
|
127
131
|
export * from './policySubjectRefDto';
|
|
128
132
|
export * from './previewOutputRouteImpactDto';
|
|
133
|
+
export * from './problemDetailsDto';
|
|
134
|
+
export * from './problemFieldIssueDto';
|
|
129
135
|
export * from './profilePolicyTemplateDto';
|
|
130
136
|
export * from './profilePolicyTemplateDtoDataArrayEnvelope';
|
|
131
137
|
export * from './profilePolicyTemplateDtoNotes';
|
|
@@ -133,6 +139,7 @@ export * from './provisionAgentRequestDto';
|
|
|
133
139
|
export * from './provisionAgentResultDto';
|
|
134
140
|
export * from './provisionAgentResultDtoDataEnvelope';
|
|
135
141
|
export * from './provisionedCapabilityDto';
|
|
142
|
+
export * from './recordAgentReachTierRequestDto';
|
|
136
143
|
export * from './registerResourceOwnershipDto';
|
|
137
144
|
export * from './registerResourceRevisionDto';
|
|
138
145
|
export * from './registeredResourceDto';
|
package/dist/models/index.js
CHANGED
|
@@ -32,6 +32,14 @@ __exportStar(require("./authorizationSuggestionKind"), exports);
|
|
|
32
32
|
__exportStar(require("./biomeExecutionTrustTier"), exports);
|
|
33
33
|
__exportStar(require("./biomePermissionProfile"), exports);
|
|
34
34
|
__exportStar(require("./callerKind"), exports);
|
|
35
|
+
__exportStar(require("./capabilityAuthorityRequestDto"), exports);
|
|
36
|
+
__exportStar(require("./capabilityAuthorityRequestDtoDataArrayEnvelope"), exports);
|
|
37
|
+
__exportStar(require("./capabilityAuthorityRequestDtoDataEnvelope"), exports);
|
|
38
|
+
__exportStar(require("./capabilityAuthorityRequestDtoDisposition"), exports);
|
|
39
|
+
__exportStar(require("./capabilityAuthorityRequestDtoOutcome"), exports);
|
|
40
|
+
__exportStar(require("./capabilityAuthorityRequestDtoRefusal"), exports);
|
|
41
|
+
__exportStar(require("./capabilityAuthorityRequestsControllerGetByIdParams"), exports);
|
|
42
|
+
__exportStar(require("./capabilityAuthorityRequestsControllerListForSubjectParams"), exports);
|
|
35
43
|
__exportStar(require("./capabilityEffectClass"), exports);
|
|
36
44
|
__exportStar(require("./capabilityGrantDto"), exports);
|
|
37
45
|
__exportStar(require("./capabilityGrantDtoDataEnvelope"), exports);
|
|
@@ -65,10 +73,6 @@ __exportStar(require("./environmentsControllerReleaseImpactParams"), exports);
|
|
|
65
73
|
__exportStar(require("./environmentsControllerRemoveParams"), exports);
|
|
66
74
|
__exportStar(require("./environmentsControllerRollbackParams"), exports);
|
|
67
75
|
__exportStar(require("./environmentsControllerUpdateParams"), exports);
|
|
68
|
-
__exportStar(require("./errorDetailsDto"), exports);
|
|
69
|
-
__exportStar(require("./errorDetailsDtoDetails"), exports);
|
|
70
|
-
__exportStar(require("./errorPayloadDto"), exports);
|
|
71
|
-
__exportStar(require("./errorResponseDto"), exports);
|
|
72
76
|
__exportStar(require("./exactResourceAuthorityDto"), exports);
|
|
73
77
|
__exportStar(require("./exactResourceAuthorityDtoDataEnvelope"), exports);
|
|
74
78
|
__exportStar(require("./exactResourceBindingDto"), exports);
|
|
@@ -99,12 +103,10 @@ __exportStar(require("./listRegisteredResourcesDto"), exports);
|
|
|
99
103
|
__exportStar(require("./listVisibleResourcesDto"), exports);
|
|
100
104
|
__exportStar(require("./object"), exports);
|
|
101
105
|
__exportStar(require("./objectLifecycle"), exports);
|
|
106
|
+
__exportStar(require("./openCapabilityAuthorityRequestDto"), exports);
|
|
107
|
+
__exportStar(require("./openCapabilityAuthorityRequestDtoSubjectKind"), exports);
|
|
102
108
|
__exportStar(require("./openFgaRelationshipDto"), exports);
|
|
103
109
|
__exportStar(require("./openFgaRelationshipDtoPaginatedEnvelope"), exports);
|
|
104
|
-
__exportStar(require("./orgRole"), exports);
|
|
105
|
-
__exportStar(require("./orgRoleSyncDto"), exports);
|
|
106
|
-
__exportStar(require("./orgRoleSyncResultDto"), exports);
|
|
107
|
-
__exportStar(require("./orgRoleSyncResultDtoDataEnvelope"), exports);
|
|
108
110
|
__exportStar(require("./outputRouteAuthorityDto"), exports);
|
|
109
111
|
__exportStar(require("./outputRouteAuthorityDtoAllowedOutputSchema"), exports);
|
|
110
112
|
__exportStar(require("./outputRouteAuthorityDtoDataEnvelope"), exports);
|
|
@@ -121,6 +123,8 @@ __exportStar(require("./outputRouteRevisionDto"), exports);
|
|
|
121
123
|
__exportStar(require("./outputRouteRevisionDtoAllowedOutputSchema"), exports);
|
|
122
124
|
__exportStar(require("./outputRouteRevisionsControllerReleaseHistoryParams"), exports);
|
|
123
125
|
__exportStar(require("./paginationMeta"), exports);
|
|
126
|
+
__exportStar(require("./policyActingAgentDto"), exports);
|
|
127
|
+
__exportStar(require("./policyActingAgentDtoKind"), exports);
|
|
124
128
|
__exportStar(require("./policyActingForDto"), exports);
|
|
125
129
|
__exportStar(require("./policyBiomeDto"), exports);
|
|
126
130
|
__exportStar(require("./policyCallerDto"), exports);
|
|
@@ -143,6 +147,8 @@ __exportStar(require("./policyRouteHintDtoRequiredRunnerLabels"), exports);
|
|
|
143
147
|
__exportStar(require("./policySpaceRefDto"), exports);
|
|
144
148
|
__exportStar(require("./policySubjectRefDto"), exports);
|
|
145
149
|
__exportStar(require("./previewOutputRouteImpactDto"), exports);
|
|
150
|
+
__exportStar(require("./problemDetailsDto"), exports);
|
|
151
|
+
__exportStar(require("./problemFieldIssueDto"), exports);
|
|
146
152
|
__exportStar(require("./profilePolicyTemplateDto"), exports);
|
|
147
153
|
__exportStar(require("./profilePolicyTemplateDtoDataArrayEnvelope"), exports);
|
|
148
154
|
__exportStar(require("./profilePolicyTemplateDtoNotes"), exports);
|
|
@@ -150,6 +156,7 @@ __exportStar(require("./provisionAgentRequestDto"), exports);
|
|
|
150
156
|
__exportStar(require("./provisionAgentResultDto"), exports);
|
|
151
157
|
__exportStar(require("./provisionAgentResultDtoDataEnvelope"), exports);
|
|
152
158
|
__exportStar(require("./provisionedCapabilityDto"), exports);
|
|
159
|
+
__exportStar(require("./recordAgentReachTierRequestDto"), exports);
|
|
153
160
|
__exportStar(require("./registerResourceOwnershipDto"), exports);
|
|
154
161
|
__exportStar(require("./registerResourceRevisionDto"), exports);
|
|
155
162
|
__exportStar(require("./registeredResourceDto"), exports);
|
|
@@ -5,9 +5,15 @@
|
|
|
5
5
|
*/
|
|
6
6
|
import type { ResourceSubjectRefDto } from './resourceSubjectRefDto.js';
|
|
7
7
|
export interface ListVisibleResourcesDto {
|
|
8
|
-
/**
|
|
8
|
+
/**
|
|
9
|
+
* Resource kind/type slug.
|
|
10
|
+
* @minLength 1
|
|
11
|
+
*/
|
|
9
12
|
resourceType: string;
|
|
10
|
-
/**
|
|
13
|
+
/**
|
|
14
|
+
* The resource kind's own name for the MINIMUM level the subject must hold. Omitted = the visibility question (owner ∪ shared at any level ∪ org-shared). Present = the authority question (owner ∪ shared at or above this level); org-shared instances are NOT included, because org-shared is a visibility pattern rather than a rung.
|
|
15
|
+
* @minLength 1
|
|
16
|
+
*/
|
|
11
17
|
minLevel?: string;
|
|
12
18
|
/** The subject whose visible instances are enumerated. */
|
|
13
19
|
subject: ResourceSubjectRefDto;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by @xemahq/api-client-generator — do not edit manually.
|
|
3
|
+
* Authorization API
|
|
4
|
+
* OpenAPI spec version: 0.1.1
|
|
5
|
+
*/
|
|
6
|
+
import type { OpenCapabilityAuthorityRequestDtoSubjectKind } from './openCapabilityAuthorityRequestDtoSubjectKind.js';
|
|
7
|
+
export interface OpenCapabilityAuthorityRequestDto {
|
|
8
|
+
/**
|
|
9
|
+
* The organisation the subject and the grant belong to. Cross-checked against the request context by the door — a body org that disagrees with the authenticated one is refused, never silently preferred.
|
|
10
|
+
* @minLength 1
|
|
11
|
+
*/
|
|
12
|
+
orgId: string;
|
|
13
|
+
/** WHO the authority is for. Only a bounded principal minted against one organisation may hold requested authority — see AUTONOMOUS_AUTHORITY_REQUEST_SUBJECT_KINDS. A request naming a person is refused: authority for a person is conferred by a person. */
|
|
14
|
+
subjectKind: OpenCapabilityAuthorityRequestDtoSubjectKind;
|
|
15
|
+
/**
|
|
16
|
+
* The subject id, as its registry minted it.
|
|
17
|
+
* @minLength 1
|
|
18
|
+
*/
|
|
19
|
+
subjectRef: string;
|
|
20
|
+
/**
|
|
21
|
+
* The capability ref being asked for.
|
|
22
|
+
* @minLength 1
|
|
23
|
+
*/
|
|
24
|
+
capability: string;
|
|
25
|
+
/**
|
|
26
|
+
* The execution environment slug the grant would apply in. Validated here so a request cannot become a question whose "yes" is unexecutable.
|
|
27
|
+
* @minLength 1
|
|
28
|
+
*/
|
|
29
|
+
environment: string;
|
|
30
|
+
/**
|
|
31
|
+
* Why the runtime believes it needs this. Shown verbatim to whoever answers, and read by NO fence — a justification is evidence for a human, never input to a verdict.
|
|
32
|
+
* @maxLength 2000
|
|
33
|
+
*/
|
|
34
|
+
justification?: string;
|
|
35
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by @xemahq/api-client-generator — do not edit manually.
|
|
3
|
+
* Authorization API
|
|
4
|
+
* OpenAPI spec version: 0.1.1
|
|
5
|
+
*/
|
|
6
|
+
/**
|
|
7
|
+
* WHO the authority is for. Only a bounded principal minted against one organisation may hold requested authority — see AUTONOMOUS_AUTHORITY_REQUEST_SUBJECT_KINDS. A request naming a person is refused: authority for a person is conferred by a person.
|
|
8
|
+
*/
|
|
9
|
+
export type OpenCapabilityAuthorityRequestDtoSubjectKind = typeof OpenCapabilityAuthorityRequestDtoSubjectKind[keyof typeof OpenCapabilityAuthorityRequestDtoSubjectKind];
|
|
10
|
+
export declare const OpenCapabilityAuthorityRequestDtoSubjectKind: {
|
|
11
|
+
readonly user: "user";
|
|
12
|
+
readonly agent: "agent";
|
|
13
|
+
readonly app: "app";
|
|
14
|
+
readonly 'app-client': "app-client";
|
|
15
|
+
readonly service: "service";
|
|
16
|
+
readonly group: "group";
|
|
17
|
+
readonly role: "role";
|
|
18
|
+
readonly runner: "runner";
|
|
19
|
+
readonly 'external-subject': "external-subject";
|
|
20
|
+
readonly anon: "anon";
|
|
21
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by @xemahq/api-client-generator — do not edit manually.
|
|
4
|
+
* Authorization API
|
|
5
|
+
* OpenAPI spec version: 0.1.1
|
|
6
|
+
*/
|
|
7
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
+
exports.OpenCapabilityAuthorityRequestDtoSubjectKind = void 0;
|
|
9
|
+
exports.OpenCapabilityAuthorityRequestDtoSubjectKind = {
|
|
10
|
+
user: 'user',
|
|
11
|
+
agent: 'agent',
|
|
12
|
+
app: 'app',
|
|
13
|
+
'app-client': 'app-client',
|
|
14
|
+
service: 'service',
|
|
15
|
+
group: 'group',
|
|
16
|
+
role: 'role',
|
|
17
|
+
runner: 'runner',
|
|
18
|
+
'external-subject': 'external-subject',
|
|
19
|
+
anon: 'anon',
|
|
20
|
+
};
|
|
@@ -9,16 +9,24 @@ import type { OutputRouteAuthorityDtoAllowedOutputSchema } from './outputRouteAu
|
|
|
9
9
|
import type { OutputRouteDestinationKind } from './outputRouteDestinationKind.js';
|
|
10
10
|
import type { ResourceSubjectAccessResult } from './resourceSubjectAccessResult.js';
|
|
11
11
|
export interface OutputRouteAuthorityDto {
|
|
12
|
-
/**
|
|
12
|
+
/**
|
|
13
|
+
* Canonical versioned OutputRoute identity.
|
|
14
|
+
* @minLength 1
|
|
15
|
+
*/
|
|
13
16
|
ref: string;
|
|
17
|
+
/** @minLength 1 */
|
|
14
18
|
ownerSpaceKey: string;
|
|
15
19
|
destinationKind: OutputRouteDestinationKind;
|
|
16
|
-
/**
|
|
20
|
+
/**
|
|
21
|
+
* Secret-free destination identity. Credentials are resolved only by the destination service.
|
|
22
|
+
* @minLength 1
|
|
23
|
+
*/
|
|
17
24
|
destinationRef: string;
|
|
18
25
|
classification: DataClassification;
|
|
19
26
|
/** JSON Schema for the only output shape this route accepts. */
|
|
20
27
|
allowedOutputSchema: OutputRouteAuthorityDtoAllowedOutputSchema;
|
|
21
28
|
sideEffectClass: CapabilityEffectClass;
|
|
29
|
+
/** @minLength 1 */
|
|
22
30
|
decisionCapabilityRef: string;
|
|
23
31
|
orgId: string;
|
|
24
32
|
routeId: string;
|
|
@@ -8,16 +8,24 @@ import type { DataClassification } from './dataClassification.js';
|
|
|
8
8
|
import type { OutputRouteDestinationKind } from './outputRouteDestinationKind.js';
|
|
9
9
|
import type { OutputRouteRevisionDtoAllowedOutputSchema } from './outputRouteRevisionDtoAllowedOutputSchema.js';
|
|
10
10
|
export interface OutputRouteRevisionDto {
|
|
11
|
-
/**
|
|
11
|
+
/**
|
|
12
|
+
* Canonical versioned OutputRoute identity.
|
|
13
|
+
* @minLength 1
|
|
14
|
+
*/
|
|
12
15
|
ref: string;
|
|
16
|
+
/** @minLength 1 */
|
|
13
17
|
ownerSpaceKey: string;
|
|
14
18
|
destinationKind: OutputRouteDestinationKind;
|
|
15
|
-
/**
|
|
19
|
+
/**
|
|
20
|
+
* Secret-free destination identity. Credentials are resolved only by the destination service.
|
|
21
|
+
* @minLength 1
|
|
22
|
+
*/
|
|
16
23
|
destinationRef: string;
|
|
17
24
|
classification: DataClassification;
|
|
18
25
|
/** JSON Schema for the only output shape this route accepts. */
|
|
19
26
|
allowedOutputSchema: OutputRouteRevisionDtoAllowedOutputSchema;
|
|
20
27
|
sideEffectClass: CapabilityEffectClass;
|
|
28
|
+
/** @minLength 1 */
|
|
21
29
|
decisionCapabilityRef: string;
|
|
22
30
|
orgId: string;
|
|
23
31
|
routeId: string;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by @xemahq/api-client-generator — do not edit manually.
|
|
3
|
+
* Authorization API
|
|
4
|
+
* OpenAPI spec version: 0.1.1
|
|
5
|
+
*/
|
|
6
|
+
import type { PolicyActingAgentDtoKind } from './policyActingAgentDtoKind.js';
|
|
7
|
+
export interface PolicyActingAgentDto {
|
|
8
|
+
kind: PolicyActingAgentDtoKind;
|
|
9
|
+
/**
|
|
10
|
+
* The agent's stable composition SLUG.
|
|
11
|
+
* @minLength 1
|
|
12
|
+
*/
|
|
13
|
+
id: string;
|
|
14
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by @xemahq/api-client-generator — do not edit manually.
|
|
3
|
+
* Authorization API
|
|
4
|
+
* OpenAPI spec version: 0.1.1
|
|
5
|
+
*/
|
|
6
|
+
export type PolicyActingAgentDtoKind = typeof PolicyActingAgentDtoKind[keyof typeof PolicyActingAgentDtoKind];
|
|
7
|
+
export declare const PolicyActingAgentDtoKind: {
|
|
8
|
+
readonly agent: "agent";
|
|
9
|
+
};
|
|
@@ -5,9 +5,7 @@
|
|
|
5
5
|
* OpenAPI spec version: 0.1.1
|
|
6
6
|
*/
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.
|
|
9
|
-
exports.
|
|
10
|
-
|
|
11
|
-
admin: 'admin',
|
|
12
|
-
member: 'member',
|
|
8
|
+
exports.PolicyActingAgentDtoKind = void 0;
|
|
9
|
+
exports.PolicyActingAgentDtoKind = {
|
|
10
|
+
agent: 'agent',
|
|
13
11
|
};
|
|
@@ -6,6 +6,14 @@
|
|
|
6
6
|
import type { SubjectKind } from './subjectKind.js';
|
|
7
7
|
export interface PolicyActingForDto {
|
|
8
8
|
kind: SubjectKind;
|
|
9
|
+
/** @minLength 1 */
|
|
9
10
|
id: string;
|
|
11
|
+
/**
|
|
12
|
+
* Mirrors kernel `ActingForRef.clientId` — the ISSUER-STAMPED OAuth client
|
|
13
|
+
* identity of this delegation hop (`azp`, else `client_id`). Never
|
|
14
|
+
* caller-asserted: an OAuth client cannot claim another client's id inside a
|
|
15
|
+
* token the issuer signed. Absent ⇒ "unknown", never a match.
|
|
16
|
+
* @minLength 1
|
|
17
|
+
*/
|
|
10
18
|
clientId?: string;
|
|
11
19
|
}
|
|
@@ -5,7 +5,9 @@
|
|
|
5
5
|
*/
|
|
6
6
|
import type { BiomeExecutionTrustTier } from './biomeExecutionTrustTier.js';
|
|
7
7
|
export interface PolicyBiomeDto {
|
|
8
|
+
/** @minLength 1 */
|
|
8
9
|
id: string;
|
|
10
|
+
/** @minLength 1 */
|
|
9
11
|
version: string;
|
|
10
12
|
trustTier: BiomeExecutionTrustTier;
|
|
11
13
|
signatureVerified: boolean;
|
|
@@ -6,8 +6,12 @@
|
|
|
6
6
|
import type { CallerKind } from './callerKind.js';
|
|
7
7
|
export interface PolicyCallerDto {
|
|
8
8
|
kind: CallerKind;
|
|
9
|
+
/** @minLength 1 */
|
|
9
10
|
appId?: string;
|
|
11
|
+
/** @minLength 1 */
|
|
10
12
|
sessionId?: string;
|
|
13
|
+
/** @minLength 1 */
|
|
11
14
|
ip?: string;
|
|
15
|
+
/** @minLength 1 */
|
|
12
16
|
userAgent?: string;
|
|
13
17
|
}
|
|
@@ -4,7 +4,11 @@
|
|
|
4
4
|
* OpenAPI spec version: 0.1.1
|
|
5
5
|
*/
|
|
6
6
|
export interface PolicyCapabilityDto {
|
|
7
|
-
/**
|
|
7
|
+
/**
|
|
8
|
+
* <biome>:<verb>@<major> canonical CapabilityRef.
|
|
9
|
+
* @minLength 1
|
|
10
|
+
*/
|
|
8
11
|
ref: string;
|
|
12
|
+
/** @minLength 1 */
|
|
9
13
|
inputHash?: string;
|
|
10
14
|
}
|