@xemahq/authorization-internal-api-client 0.5.3 → 0.8.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/endpoints/authorization/authorization.d.ts +1 -19
- package/dist/endpoints/authorization/authorization.js +1 -52
- package/dist/endpoints/authorization-policy-sets/authorization-policy-sets.d.ts +27 -0
- package/dist/endpoints/authorization-policy-sets/authorization-policy-sets.js +65 -0
- package/dist/endpoints/environments/environments.d.ts +6 -6
- package/dist/endpoints/environments/environments.js +16 -16
- package/dist/endpoints/output-routes/output-routes.d.ts +5 -5
- package/dist/endpoints/output-routes/output-routes.js +17 -17
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/models/adoptOrgPolicySetDto.d.ts +21 -0
- package/dist/models/dataClassification.d.ts +3 -0
- package/dist/models/executionEnvironmentKind.d.ts +1 -1
- package/dist/models/index.d.ts +15 -56
- package/dist/models/index.js +15 -56
- package/dist/models/orgPolicySetDto.d.ts +18 -0
- package/dist/models/orgPolicySetDtoDataEnvelope.d.ts +9 -0
- package/dist/models/{policyRouteHintDtoRequiredRunnerLabels.d.ts → orgPolicySetDtoModel.d.ts} +5 -2
- package/dist/models/orgPolicySetDtoModules.d.ts +11 -0
- package/dist/models/policySetTestFileDto.d.ts +22 -0
- package/dist/models/policySetTestFileResultDto.d.ts +11 -0
- package/dist/models/policySetTestResultsDto.d.ts +9 -0
- package/dist/models/policySetTestResultsDtoDataEnvelope.d.ts +9 -0
- package/dist/models/retiredNamespaceDto.d.ts +9 -0
- package/dist/models/retiredNamespaceDtoDataEnvelope.d.ts +9 -0
- package/dist/models/runPolicySetTestsDto.d.ts +12 -0
- package/dist/models/runPolicySetTestsDtoModel.d.ts +11 -0
- package/dist/models/runtimeModuleContributionDto.d.ts +20 -0
- package/dist/models/runtimeModuleContributionDtoManifest.d.ts +11 -0
- package/dist/models/runtimeModuleContributionDtoManifest.js +7 -0
- package/dist/models/spaceKind.d.ts +3 -0
- package/package.json +1 -1
- package/dist/endpoints/resources/resources.d.ts +0 -59
- package/dist/endpoints/resources/resources.js +0 -141
- package/dist/models/addResourceShareDto.d.ts +0 -12
- package/dist/models/authorizationCheckRequestDto.d.ts +0 -39
- package/dist/models/authorizationCheckResponseDto.d.ts +0 -14
- package/dist/models/authorizationCheckResponseDtoDataEnvelope.d.ts +0 -9
- package/dist/models/authorizationDecisionCode.d.ts +0 -18
- package/dist/models/authorizationDecisionCode.js +0 -20
- package/dist/models/authorizationReasonDto.d.ts +0 -11
- package/dist/models/authorizationSuggestionDto.d.ts +0 -25
- package/dist/models/authorizationSuggestionKind.d.ts +0 -11
- package/dist/models/authorizationSuggestionKind.js +0 -13
- package/dist/models/biomeExecutionTrustTier.d.ts +0 -10
- package/dist/models/biomeExecutionTrustTier.js +0 -12
- package/dist/models/callerKind.d.ts +0 -14
- package/dist/models/callerKind.js +0 -16
- package/dist/models/credentialPrecedenceSource.d.ts +0 -17
- package/dist/models/credentialPrecedenceSource.js +0 -16
- package/dist/models/dataResidency.d.ts +0 -9
- package/dist/models/dataResidency.js +0 -11
- package/dist/models/listRegisteredResourcesDto.d.ts +0 -12
- package/dist/models/listVisibleResourcesDto.d.ts +0 -20
- package/dist/models/policyActingAgentDto.d.ts +0 -14
- package/dist/models/policyActingAgentDtoKind.d.ts +0 -9
- package/dist/models/policyActingAgentDtoKind.js +0 -11
- package/dist/models/policyActingForDto.d.ts +0 -29
- package/dist/models/policyActingForDto.js +0 -2
- package/dist/models/policyBiomeDto.d.ts +0 -14
- package/dist/models/policyBiomeDto.js +0 -2
- package/dist/models/policyCallerDto.d.ts +0 -17
- package/dist/models/policyCallerDto.js +0 -2
- package/dist/models/policyCapabilityDto.d.ts +0 -14
- package/dist/models/policyCheckBatchRequestDto.d.ts +0 -13
- package/dist/models/policyCheckBatchRequestDto.js +0 -2
- package/dist/models/policyCheckBatchResponseDto.d.ts +0 -10
- package/dist/models/policyCheckBatchResponseDto.js +0 -2
- package/dist/models/policyCheckBatchResponseDtoDataEnvelope.d.ts +0 -9
- package/dist/models/policyCheckBatchResponseDtoDataEnvelope.js +0 -2
- package/dist/models/policyCheckRequestDto.d.ts +0 -96
- package/dist/models/policyCheckRequestDto.js +0 -2
- package/dist/models/policyCheckRequestDtoAperture.d.ts +0 -11
- package/dist/models/policyConstraintsDto.d.ts +0 -12
- package/dist/models/policyDecisionDto.d.ts +0 -26
- package/dist/models/policyDecisionDto.js +0 -2
- package/dist/models/policyDecisionDtoDataEnvelope.d.ts +0 -9
- package/dist/models/policyDecisionDtoDataEnvelope.js +0 -2
- package/dist/models/policyDecisionKind.d.ts +0 -11
- package/dist/models/policyDecisionKind.js +0 -13
- package/dist/models/policyDelegatedAuthorityDto.d.ts +0 -25
- package/dist/models/policyDelegatedAuthorityDto.js +0 -2
- package/dist/models/policyEnvironmentDto.d.ts +0 -15
- package/dist/models/policyEnvironmentDto.js +0 -2
- package/dist/models/policyObligationDto.d.ts +0 -29
- package/dist/models/policyObligationDto.js +0 -2
- package/dist/models/policyObligationKind.d.ts +0 -17
- package/dist/models/policyObligationKind.js +0 -19
- package/dist/models/policyResourceDto.d.ts +0 -15
- package/dist/models/policyResourceDto.js +0 -2
- package/dist/models/policyRouteHintDto.d.ts +0 -14
- package/dist/models/policyRouteHintDto.js +0 -2
- package/dist/models/policySpaceRefDto.d.ts +0 -23
- package/dist/models/policySpaceRefDto.js +0 -2
- package/dist/models/policySubjectRefDto.d.ts +0 -14
- package/dist/models/policySubjectRefDto.js +0 -2
- package/dist/models/registerResourceOwnershipDto.d.ts +0 -34
- package/dist/models/registerResourceOwnershipDto.js +0 -2
- package/dist/models/registeredResourceDto.d.ts +0 -12
- package/dist/models/registeredResourceDto.js +0 -2
- package/dist/models/registeredResourcesDto.d.ts +0 -10
- package/dist/models/registeredResourcesDto.js +0 -2
- package/dist/models/registeredResourcesDtoDataEnvelope.d.ts +0 -9
- package/dist/models/registeredResourcesDtoDataEnvelope.js +0 -2
- package/dist/models/removeResourceShareDto.d.ts +0 -10
- package/dist/models/removeResourceShareDto.js +0 -2
- package/dist/models/replaceResourceOwnershipDto.d.ts +0 -34
- package/dist/models/replaceResourceOwnershipDto.js +0 -2
- package/dist/models/resourceOwnershipDto.d.ts +0 -15
- package/dist/models/resourceOwnershipDto.js +0 -2
- package/dist/models/resourceOwnershipDtoDataEnvelope.d.ts +0 -9
- package/dist/models/resourceOwnershipDtoDataEnvelope.js +0 -2
- package/dist/models/resourceOwnershipEntryDto.d.ts +0 -17
- package/dist/models/resourceOwnershipEntryDto.js +0 -2
- package/dist/models/resourceOwnershipReadDto.d.ts +0 -16
- package/dist/models/resourceOwnershipReadDto.js +0 -2
- package/dist/models/resourceOwnershipReadDtoDataEnvelope.d.ts +0 -9
- package/dist/models/resourceOwnershipReadDtoDataEnvelope.js +0 -2
- package/dist/models/resourceShareRefDto.d.ts +0 -21
- package/dist/models/resourceShareRefDto.js +0 -2
- package/dist/models/resourceVisibilityPattern.d.ts +0 -11
- package/dist/models/resourceVisibilityPattern.js +0 -13
- package/dist/models/runnerKind.d.ts +0 -15
- package/dist/models/runnerKind.js +0 -17
- package/dist/models/sessionParticipantRole.d.ts +0 -14
- package/dist/models/sessionParticipantRole.js +0 -13
- package/dist/models/subjectRefDto.d.ts +0 -15
- package/dist/models/subjectRefDto.js +0 -2
- package/dist/models/visibleResourcesDto.d.ts +0 -9
- package/dist/models/visibleResourcesDtoDataEnvelope.d.ts +0 -9
- package/dist/models/visibleResourcesDtoDataEnvelope.js +0 -2
- /package/dist/models/{addResourceShareDto.js → adoptOrgPolicySetDto.js} +0 -0
- /package/dist/models/{authorizationCheckRequestDto.js → orgPolicySetDto.js} +0 -0
- /package/dist/models/{authorizationCheckResponseDto.js → orgPolicySetDtoDataEnvelope.js} +0 -0
- /package/dist/models/{listRegisteredResourcesDto.js → orgPolicySetDtoModel.js} +0 -0
- /package/dist/models/{policyCapabilityDto.js → orgPolicySetDtoModules.js} +0 -0
- /package/dist/models/{policyCheckRequestDtoAperture.js → policySetTestFileDto.js} +0 -0
- /package/dist/models/{policyConstraintsDto.js → policySetTestFileResultDto.js} +0 -0
- /package/dist/models/{authorizationCheckResponseDtoDataEnvelope.js → policySetTestResultsDto.js} +0 -0
- /package/dist/models/{authorizationReasonDto.js → policySetTestResultsDtoDataEnvelope.js} +0 -0
- /package/dist/models/{policyRouteHintDtoRequiredRunnerLabels.js → retiredNamespaceDto.js} +0 -0
- /package/dist/models/{authorizationSuggestionDto.js → retiredNamespaceDtoDataEnvelope.js} +0 -0
- /package/dist/models/{listVisibleResourcesDto.js → runPolicySetTestsDto.js} +0 -0
- /package/dist/models/{visibleResourcesDto.js → runPolicySetTestsDtoModel.js} +0 -0
- /package/dist/models/{policyActingAgentDto.js → runtimeModuleContributionDto.js} +0 -0
|
@@ -3,28 +3,10 @@
|
|
|
3
3
|
* Authorization API
|
|
4
4
|
* OpenAPI spec version: 0.1.1
|
|
5
5
|
*/
|
|
6
|
-
import type {
|
|
7
|
-
export declare const getAuthorizationControllerCheckUrl: () => string;
|
|
8
|
-
/**
|
|
9
|
-
* Called by xema-capability-router on every invocation. The verdict is OpenFGA-authoritative and then narrowed, in order, by the delegation clamp, the agent reach tier, and the ENVIRONMENT reach ceiling (the environment runs last on purpose: it is the outer boundary, so it must see the tier's output — a `connected` tier extends a deny into an allow, and the environment may then take that away). `requiresApproval` denies with APPROVAL_REQUIRED. NOT enforced here: `rateLimit` (accepted on a grant, read by nothing) and `ExecutionEnvironment.allowedCapabilities` (an enumerated per-ref list, deliberately not wired for the built-ins — see `environment-reach-ceiling`; it is enforced only by app-function-broker, for org-custom environments).
|
|
10
|
-
* @summary Runtime allow/deny decision for a (subject, capability) tuple
|
|
11
|
-
*/
|
|
12
|
-
export declare const authorizationControllerCheck: (authorizationCheckRequestDto: AuthorizationCheckRequestDto, options?: RequestInit) => Promise<AuthorizationCheckResponseDtoDataEnvelope>;
|
|
6
|
+
import type { GrantVersionResponseDtoDataEnvelope } from '../../models';
|
|
13
7
|
export declare const getAuthorizationControllerGrantVersionUrl: (orgId: string) => string;
|
|
14
8
|
/**
|
|
15
9
|
* A cheap read of the per-org grant-version counter — bumped on every grant/environment/membership change. Consumers (e.g. app-platform delegated-session verify) key a short-lived effective-capability cache by it so a revoked role takes effect at the next miss rather than at token expiry. Fail-closed: an unavailable version store surfaces as a 5xx so the caller denies.
|
|
16
10
|
* @summary Current durable monotonic grant-version for an org
|
|
17
11
|
*/
|
|
18
12
|
export declare const authorizationControllerGrantVersion: (orgId: string, options?: RequestInit) => Promise<GrantVersionResponseDtoDataEnvelope>;
|
|
19
|
-
export declare const getAuthorizationControllerPolicyCheckUrl: () => string;
|
|
20
|
-
/**
|
|
21
|
-
* wire surface. Accepts a PolicyRequest (== ExecutionContext) constructed by the capability router at the gateway boundary; returns a typed PolicyDecision { kind, reason?, obligations?, routeHints? }. The same decision matrix that powers POST /authorization/check is reused — this endpoint projects the verdict into the v4.3 envelope so the router can branch structurally on PolicyDecisionKind without parsing strings.
|
|
22
|
-
* @summary Typed PolicyDecision for an ExecutionContext
|
|
23
|
-
*/
|
|
24
|
-
export declare const authorizationControllerPolicyCheck: (policyCheckRequestDto: PolicyCheckRequestDto, options?: RequestInit) => Promise<PolicyDecisionDtoDataEnvelope>;
|
|
25
|
-
export declare const getAuthorizationControllerPolicyCheckBatchUrl: () => string;
|
|
26
|
-
/**
|
|
27
|
-
* Wave-4 M1 batch surface. Accepts up to 128 independent PolicyRequests (each the EXACT single policy-check shape; 422 beyond the bound) and returns PolicyDecisions POSITIONALLY aligned with the request (results[i] is the decision for checks[i]). Every item runs the SAME decision pipeline as POST /authorization/policy-check — the batch only amortises HTTP round-trips for enumerating consumers (the capability BFF list path). Never-partial: a per-item DENY is a result, but any infrastructure failure mid-batch fails the whole call with 503. The PDP does not add batch-level caching; consumers own caching.
|
|
28
|
-
* @summary Batch of typed PolicyDecisions for independent ExecutionContexts
|
|
29
|
-
*/
|
|
30
|
-
export declare const authorizationControllerPolicyCheckBatch: (policyCheckBatchRequestDto: PolicyCheckBatchRequestDto, options?: RequestInit) => Promise<PolicyCheckBatchResponseDtoDataEnvelope>;
|
|
@@ -1,24 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.authorizationControllerGrantVersion = exports.getAuthorizationControllerGrantVersionUrl = void 0;
|
|
4
4
|
const custom_fetch_1 = require("../../custom-fetch");
|
|
5
|
-
const getAuthorizationControllerCheckUrl = () => {
|
|
6
|
-
return `/authorization/check`;
|
|
7
|
-
};
|
|
8
|
-
exports.getAuthorizationControllerCheckUrl = getAuthorizationControllerCheckUrl;
|
|
9
|
-
/**
|
|
10
|
-
* Called by xema-capability-router on every invocation. The verdict is OpenFGA-authoritative and then narrowed, in order, by the delegation clamp, the agent reach tier, and the ENVIRONMENT reach ceiling (the environment runs last on purpose: it is the outer boundary, so it must see the tier's output — a `connected` tier extends a deny into an allow, and the environment may then take that away). `requiresApproval` denies with APPROVAL_REQUIRED. NOT enforced here: `rateLimit` (accepted on a grant, read by nothing) and `ExecutionEnvironment.allowedCapabilities` (an enumerated per-ref list, deliberately not wired for the built-ins — see `environment-reach-ceiling`; it is enforced only by app-function-broker, for org-custom environments).
|
|
11
|
-
* @summary Runtime allow/deny decision for a (subject, capability) tuple
|
|
12
|
-
*/
|
|
13
|
-
const authorizationControllerCheck = async (authorizationCheckRequestDto, options) => {
|
|
14
|
-
return (0, custom_fetch_1.customFetch)((0, exports.getAuthorizationControllerCheckUrl)(), {
|
|
15
|
-
...options,
|
|
16
|
-
method: 'POST',
|
|
17
|
-
headers: { 'Content-Type': 'application/json', ...options?.headers },
|
|
18
|
-
body: JSON.stringify(authorizationCheckRequestDto)
|
|
19
|
-
});
|
|
20
|
-
};
|
|
21
|
-
exports.authorizationControllerCheck = authorizationControllerCheck;
|
|
22
5
|
const getAuthorizationControllerGrantVersionUrl = (orgId) => {
|
|
23
6
|
return `/authorization/grant-version/${orgId}`;
|
|
24
7
|
};
|
|
@@ -34,37 +17,3 @@ const authorizationControllerGrantVersion = async (orgId, options) => {
|
|
|
34
17
|
});
|
|
35
18
|
};
|
|
36
19
|
exports.authorizationControllerGrantVersion = authorizationControllerGrantVersion;
|
|
37
|
-
const getAuthorizationControllerPolicyCheckUrl = () => {
|
|
38
|
-
return `/authorization/policy-check`;
|
|
39
|
-
};
|
|
40
|
-
exports.getAuthorizationControllerPolicyCheckUrl = getAuthorizationControllerPolicyCheckUrl;
|
|
41
|
-
/**
|
|
42
|
-
* wire surface. Accepts a PolicyRequest (== ExecutionContext) constructed by the capability router at the gateway boundary; returns a typed PolicyDecision { kind, reason?, obligations?, routeHints? }. The same decision matrix that powers POST /authorization/check is reused — this endpoint projects the verdict into the v4.3 envelope so the router can branch structurally on PolicyDecisionKind without parsing strings.
|
|
43
|
-
* @summary Typed PolicyDecision for an ExecutionContext
|
|
44
|
-
*/
|
|
45
|
-
const authorizationControllerPolicyCheck = async (policyCheckRequestDto, options) => {
|
|
46
|
-
return (0, custom_fetch_1.customFetch)((0, exports.getAuthorizationControllerPolicyCheckUrl)(), {
|
|
47
|
-
...options,
|
|
48
|
-
method: 'POST',
|
|
49
|
-
headers: { 'Content-Type': 'application/json', ...options?.headers },
|
|
50
|
-
body: JSON.stringify(policyCheckRequestDto)
|
|
51
|
-
});
|
|
52
|
-
};
|
|
53
|
-
exports.authorizationControllerPolicyCheck = authorizationControllerPolicyCheck;
|
|
54
|
-
const getAuthorizationControllerPolicyCheckBatchUrl = () => {
|
|
55
|
-
return `/authorization/policy-check/batch`;
|
|
56
|
-
};
|
|
57
|
-
exports.getAuthorizationControllerPolicyCheckBatchUrl = getAuthorizationControllerPolicyCheckBatchUrl;
|
|
58
|
-
/**
|
|
59
|
-
* Wave-4 M1 batch surface. Accepts up to 128 independent PolicyRequests (each the EXACT single policy-check shape; 422 beyond the bound) and returns PolicyDecisions POSITIONALLY aligned with the request (results[i] is the decision for checks[i]). Every item runs the SAME decision pipeline as POST /authorization/policy-check — the batch only amortises HTTP round-trips for enumerating consumers (the capability BFF list path). Never-partial: a per-item DENY is a result, but any infrastructure failure mid-batch fails the whole call with 503. The PDP does not add batch-level caching; consumers own caching.
|
|
60
|
-
* @summary Batch of typed PolicyDecisions for independent ExecutionContexts
|
|
61
|
-
*/
|
|
62
|
-
const authorizationControllerPolicyCheckBatch = async (policyCheckBatchRequestDto, options) => {
|
|
63
|
-
return (0, custom_fetch_1.customFetch)((0, exports.getAuthorizationControllerPolicyCheckBatchUrl)(), {
|
|
64
|
-
...options,
|
|
65
|
-
method: 'POST',
|
|
66
|
-
headers: { 'Content-Type': 'application/json', ...options?.headers },
|
|
67
|
-
body: JSON.stringify(policyCheckBatchRequestDto)
|
|
68
|
-
});
|
|
69
|
-
};
|
|
70
|
-
exports.authorizationControllerPolicyCheckBatch = authorizationControllerPolicyCheckBatch;
|
|
@@ -0,0 +1,27 @@
|
|
|
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 { AdoptOrgPolicySetDto, OrgPolicySetDtoDataEnvelope, PolicySetTestResultsDtoDataEnvelope, RetiredNamespaceDtoDataEnvelope, RunPolicySetTestsDto } from '../../models';
|
|
7
|
+
export declare const getPolicySetsControllerOrgPolicySetUrl: (orgId: string) => string;
|
|
8
|
+
/**
|
|
9
|
+
* @summary The org's own policy set, or policySetId null when it runs the sealed base
|
|
10
|
+
*/
|
|
11
|
+
export declare const policySetsControllerOrgPolicySet: (orgId: string, options?: RequestInit) => Promise<OrgPolicySetDtoDataEnvelope>;
|
|
12
|
+
export declare const getPolicySetsControllerAdoptUrl: (orgId: string) => string;
|
|
13
|
+
/**
|
|
14
|
+
* The PDP composes the base with runtimeModules itself. 422 POLICY_SET_HASH_MISMATCH when that composition is not policySetId; 422 POLICY_SET_COMPOSITION_REFUSED when the kernel composer refuses it; 409 POLICY_SET_SWITCH_CONFLICT when the pointer is no longer expectedCurrentPolicySetId. Identical compositions share one stored model. Moves this org only; an empty set returns it to the base.
|
|
15
|
+
* @summary Adopt a composed policy set for ONE org (CAS on its pointer)
|
|
16
|
+
*/
|
|
17
|
+
export declare const policySetsControllerAdopt: (orgId: string, adoptOrgPolicySetDto: AdoptOrgPolicySetDto, options?: RequestInit) => Promise<void>;
|
|
18
|
+
export declare const getPolicySetsControllerRetireUrl: (orgId: string, namespace: string) => string;
|
|
19
|
+
/**
|
|
20
|
+
* @summary Uninstall steps 1–2 for one org: deny the namespace, delete its facts and the parent facts into it
|
|
21
|
+
*/
|
|
22
|
+
export declare const policySetsControllerRetire: (orgId: string, namespace: string, options?: RequestInit) => Promise<RetiredNamespaceDtoDataEnvelope>;
|
|
23
|
+
export declare const getPolicySetsControllerRunTestsUrl: () => string;
|
|
24
|
+
/**
|
|
25
|
+
* @summary Run a composed model's .fga.yaml tests against the real OpenFGA server, each in an ephemeral store
|
|
26
|
+
*/
|
|
27
|
+
export declare const policySetsControllerRunTests: (runPolicySetTestsDto: RunPolicySetTestsDto, options?: RequestInit) => Promise<PolicySetTestResultsDtoDataEnvelope>;
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.policySetsControllerRunTests = exports.getPolicySetsControllerRunTestsUrl = exports.policySetsControllerRetire = exports.getPolicySetsControllerRetireUrl = exports.policySetsControllerAdopt = exports.getPolicySetsControllerAdoptUrl = exports.policySetsControllerOrgPolicySet = exports.getPolicySetsControllerOrgPolicySetUrl = void 0;
|
|
4
|
+
const custom_fetch_1 = require("../../custom-fetch");
|
|
5
|
+
const getPolicySetsControllerOrgPolicySetUrl = (orgId) => {
|
|
6
|
+
return `/internal/authorization/orgs/${orgId}/policy-set`;
|
|
7
|
+
};
|
|
8
|
+
exports.getPolicySetsControllerOrgPolicySetUrl = getPolicySetsControllerOrgPolicySetUrl;
|
|
9
|
+
/**
|
|
10
|
+
* @summary The org's own policy set, or policySetId null when it runs the sealed base
|
|
11
|
+
*/
|
|
12
|
+
const policySetsControllerOrgPolicySet = async (orgId, options) => {
|
|
13
|
+
return (0, custom_fetch_1.customFetch)((0, exports.getPolicySetsControllerOrgPolicySetUrl)(orgId), {
|
|
14
|
+
...options,
|
|
15
|
+
method: 'GET'
|
|
16
|
+
});
|
|
17
|
+
};
|
|
18
|
+
exports.policySetsControllerOrgPolicySet = policySetsControllerOrgPolicySet;
|
|
19
|
+
const getPolicySetsControllerAdoptUrl = (orgId) => {
|
|
20
|
+
return `/internal/authorization/orgs/${orgId}/policy-set`;
|
|
21
|
+
};
|
|
22
|
+
exports.getPolicySetsControllerAdoptUrl = getPolicySetsControllerAdoptUrl;
|
|
23
|
+
/**
|
|
24
|
+
* The PDP composes the base with runtimeModules itself. 422 POLICY_SET_HASH_MISMATCH when that composition is not policySetId; 422 POLICY_SET_COMPOSITION_REFUSED when the kernel composer refuses it; 409 POLICY_SET_SWITCH_CONFLICT when the pointer is no longer expectedCurrentPolicySetId. Identical compositions share one stored model. Moves this org only; an empty set returns it to the base.
|
|
25
|
+
* @summary Adopt a composed policy set for ONE org (CAS on its pointer)
|
|
26
|
+
*/
|
|
27
|
+
const policySetsControllerAdopt = async (orgId, adoptOrgPolicySetDto, options) => {
|
|
28
|
+
return (0, custom_fetch_1.customFetch)((0, exports.getPolicySetsControllerAdoptUrl)(orgId), {
|
|
29
|
+
...options,
|
|
30
|
+
method: 'PUT',
|
|
31
|
+
headers: { 'Content-Type': 'application/json', ...options?.headers },
|
|
32
|
+
body: JSON.stringify(adoptOrgPolicySetDto)
|
|
33
|
+
});
|
|
34
|
+
};
|
|
35
|
+
exports.policySetsControllerAdopt = policySetsControllerAdopt;
|
|
36
|
+
const getPolicySetsControllerRetireUrl = (orgId, namespace) => {
|
|
37
|
+
return `/internal/authorization/orgs/${orgId}/module-namespaces/${namespace}/retire`;
|
|
38
|
+
};
|
|
39
|
+
exports.getPolicySetsControllerRetireUrl = getPolicySetsControllerRetireUrl;
|
|
40
|
+
/**
|
|
41
|
+
* @summary Uninstall steps 1–2 for one org: deny the namespace, delete its facts and the parent facts into it
|
|
42
|
+
*/
|
|
43
|
+
const policySetsControllerRetire = async (orgId, namespace, options) => {
|
|
44
|
+
return (0, custom_fetch_1.customFetch)((0, exports.getPolicySetsControllerRetireUrl)(orgId, namespace), {
|
|
45
|
+
...options,
|
|
46
|
+
method: 'POST'
|
|
47
|
+
});
|
|
48
|
+
};
|
|
49
|
+
exports.policySetsControllerRetire = policySetsControllerRetire;
|
|
50
|
+
const getPolicySetsControllerRunTestsUrl = () => {
|
|
51
|
+
return `/internal/authorization/policy-sets/test`;
|
|
52
|
+
};
|
|
53
|
+
exports.getPolicySetsControllerRunTestsUrl = getPolicySetsControllerRunTestsUrl;
|
|
54
|
+
/**
|
|
55
|
+
* @summary Run a composed model's .fga.yaml tests against the real OpenFGA server, each in an ephemeral store
|
|
56
|
+
*/
|
|
57
|
+
const policySetsControllerRunTests = async (runPolicySetTestsDto, options) => {
|
|
58
|
+
return (0, custom_fetch_1.customFetch)((0, exports.getPolicySetsControllerRunTestsUrl)(), {
|
|
59
|
+
...options,
|
|
60
|
+
method: 'POST',
|
|
61
|
+
headers: { 'Content-Type': 'application/json', ...options?.headers },
|
|
62
|
+
body: JSON.stringify(runPolicySetTestsDto)
|
|
63
|
+
});
|
|
64
|
+
};
|
|
65
|
+
exports.policySetsControllerRunTests = policySetsControllerRunTests;
|
|
@@ -16,12 +16,6 @@ export declare const getEnvironmentsControllerCreateUrl: () => string;
|
|
|
16
16
|
* @summary Create an org-custom ExecutionEnvironment
|
|
17
17
|
*/
|
|
18
18
|
export declare const environmentsControllerCreate: (createExecutionEnvironmentDto: CreateExecutionEnvironmentDto, options?: RequestInit) => Promise<ExecutionEnvironmentResponseDtoDataEnvelope>;
|
|
19
|
-
export declare const getEnvironmentsControllerResolveExactPolicyUrl: (slug: string, contentHash: string) => string;
|
|
20
|
-
/**
|
|
21
|
-
* Service-only authority read. A verified tenant context resolves that tenant's visible publication; a request without tenant context can resolve only a global built-in publication. The response includes the exact revision/hash and complete canonical Environment policy ceilings.
|
|
22
|
-
* @summary Resolve one exact immutable Environment policy publication
|
|
23
|
-
*/
|
|
24
|
-
export declare const environmentsControllerResolveExactPolicy: (slug: string, contentHash: string, options?: RequestInit) => Promise<ExecutionEnvironmentResponseDtoDataEnvelope>;
|
|
25
19
|
export declare const getEnvironmentsControllerReleaseHistoryUrl: (slug: string, params?: EnvironmentsControllerReleaseHistoryParams) => string;
|
|
26
20
|
/**
|
|
27
21
|
* @summary List immutable generic ReleaseSet history for an Environment
|
|
@@ -55,3 +49,9 @@ export declare const getEnvironmentsControllerRemoveUrl: (slug: string, params:
|
|
|
55
49
|
* @summary Delete an org-custom ExecutionEnvironment
|
|
56
50
|
*/
|
|
57
51
|
export declare const environmentsControllerRemove: (slug: string, params: EnvironmentsControllerRemoveParams, options?: RequestInit) => Promise<void>;
|
|
52
|
+
export declare const getEnvironmentPolicyReadControllerResolveExactPolicyUrl: (slug: string, contentHash: string) => string;
|
|
53
|
+
/**
|
|
54
|
+
* Service-only authority read. A verified tenant context resolves that tenant's visible publication; a request without tenant context can resolve only a global built-in publication. The response includes the exact revision/hash and complete canonical Environment policy ceilings.
|
|
55
|
+
* @summary Resolve one exact immutable Environment policy publication
|
|
56
|
+
*/
|
|
57
|
+
export declare const environmentPolicyReadControllerResolveExactPolicy: (slug: string, contentHash: string, options?: RequestInit) => Promise<ExecutionEnvironmentResponseDtoDataEnvelope>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.environmentsControllerRemove = exports.getEnvironmentsControllerRemoveUrl = exports.environmentsControllerUpdate = exports.getEnvironmentsControllerUpdateUrl = exports.environmentsControllerFindBySlug = exports.getEnvironmentsControllerFindBySlugUrl = exports.environmentsControllerRollback = exports.getEnvironmentsControllerRollbackUrl = exports.environmentsControllerReleaseImpact = exports.getEnvironmentsControllerReleaseImpactUrl = exports.environmentsControllerReleaseHistory = exports.getEnvironmentsControllerReleaseHistoryUrl = exports.
|
|
3
|
+
exports.environmentPolicyReadControllerResolveExactPolicy = exports.getEnvironmentPolicyReadControllerResolveExactPolicyUrl = exports.environmentsControllerRemove = exports.getEnvironmentsControllerRemoveUrl = exports.environmentsControllerUpdate = exports.getEnvironmentsControllerUpdateUrl = exports.environmentsControllerFindBySlug = exports.getEnvironmentsControllerFindBySlugUrl = exports.environmentsControllerRollback = exports.getEnvironmentsControllerRollbackUrl = exports.environmentsControllerReleaseImpact = exports.getEnvironmentsControllerReleaseImpactUrl = exports.environmentsControllerReleaseHistory = exports.getEnvironmentsControllerReleaseHistoryUrl = exports.environmentsControllerCreate = exports.getEnvironmentsControllerCreateUrl = exports.environmentsControllerList = exports.getEnvironmentsControllerListUrl = void 0;
|
|
4
4
|
const custom_fetch_1 = require("../../custom-fetch");
|
|
5
5
|
const getEnvironmentsControllerListUrl = (params) => {
|
|
6
6
|
const normalizedParams = new URLSearchParams();
|
|
@@ -53,21 +53,6 @@ const environmentsControllerCreate = async (createExecutionEnvironmentDto, optio
|
|
|
53
53
|
});
|
|
54
54
|
};
|
|
55
55
|
exports.environmentsControllerCreate = environmentsControllerCreate;
|
|
56
|
-
const getEnvironmentsControllerResolveExactPolicyUrl = (slug, contentHash) => {
|
|
57
|
-
return `/environments/${slug}/revisions/${contentHash}`;
|
|
58
|
-
};
|
|
59
|
-
exports.getEnvironmentsControllerResolveExactPolicyUrl = getEnvironmentsControllerResolveExactPolicyUrl;
|
|
60
|
-
/**
|
|
61
|
-
* Service-only authority read. A verified tenant context resolves that tenant's visible publication; a request without tenant context can resolve only a global built-in publication. The response includes the exact revision/hash and complete canonical Environment policy ceilings.
|
|
62
|
-
* @summary Resolve one exact immutable Environment policy publication
|
|
63
|
-
*/
|
|
64
|
-
const environmentsControllerResolveExactPolicy = async (slug, contentHash, options) => {
|
|
65
|
-
return (0, custom_fetch_1.customFetch)((0, exports.getEnvironmentsControllerResolveExactPolicyUrl)(slug, contentHash), {
|
|
66
|
-
...options,
|
|
67
|
-
method: 'GET'
|
|
68
|
-
});
|
|
69
|
-
};
|
|
70
|
-
exports.environmentsControllerResolveExactPolicy = environmentsControllerResolveExactPolicy;
|
|
71
56
|
const getEnvironmentsControllerReleaseHistoryUrl = (slug, params) => {
|
|
72
57
|
const normalizedParams = new URLSearchParams();
|
|
73
58
|
Object.entries(params || {}).forEach(([key, value]) => {
|
|
@@ -273,3 +258,18 @@ const environmentsControllerRemove = async (slug, params, options) => {
|
|
|
273
258
|
});
|
|
274
259
|
};
|
|
275
260
|
exports.environmentsControllerRemove = environmentsControllerRemove;
|
|
261
|
+
const getEnvironmentPolicyReadControllerResolveExactPolicyUrl = (slug, contentHash) => {
|
|
262
|
+
return `/environments/${slug}/revisions/${contentHash}`;
|
|
263
|
+
};
|
|
264
|
+
exports.getEnvironmentPolicyReadControllerResolveExactPolicyUrl = getEnvironmentPolicyReadControllerResolveExactPolicyUrl;
|
|
265
|
+
/**
|
|
266
|
+
* Service-only authority read. A verified tenant context resolves that tenant's visible publication; a request without tenant context can resolve only a global built-in publication. The response includes the exact revision/hash and complete canonical Environment policy ceilings.
|
|
267
|
+
* @summary Resolve one exact immutable Environment policy publication
|
|
268
|
+
*/
|
|
269
|
+
const environmentPolicyReadControllerResolveExactPolicy = async (slug, contentHash, options) => {
|
|
270
|
+
return (0, custom_fetch_1.customFetch)((0, exports.getEnvironmentPolicyReadControllerResolveExactPolicyUrl)(slug, contentHash), {
|
|
271
|
+
...options,
|
|
272
|
+
method: 'GET'
|
|
273
|
+
});
|
|
274
|
+
};
|
|
275
|
+
exports.environmentPolicyReadControllerResolveExactPolicy = environmentPolicyReadControllerResolveExactPolicy;
|
|
@@ -9,11 +9,6 @@ export declare const getOutputRouteRevisionsControllerRequestRevisionReleaseUrl:
|
|
|
9
9
|
* @summary Publish an immutable OutputRoute revision and request its governed channel release
|
|
10
10
|
*/
|
|
11
11
|
export declare const outputRouteRevisionsControllerRequestRevisionRelease: (requestOutputRouteRevisionReleaseDto: RequestOutputRouteRevisionReleaseDto, options?: RequestInit) => Promise<OutputRoutePublicationRequestDtoDataEnvelope>;
|
|
12
|
-
export declare const getOutputRouteRevisionsControllerResolveExactUrl: () => string;
|
|
13
|
-
/**
|
|
14
|
-
* @summary Resolve one exact OutputRoute revision and current subject access
|
|
15
|
-
*/
|
|
16
|
-
export declare const outputRouteRevisionsControllerResolveExact: (resolveExactOutputRouteDto: ResolveExactOutputRouteDto, options?: RequestInit) => Promise<OutputRouteAuthorityDtoDataEnvelope>;
|
|
17
12
|
export declare const getOutputRouteRevisionsControllerResolveChannelUrl: () => string;
|
|
18
13
|
/**
|
|
19
14
|
* @summary Resolve a governed OutputRoute channel to the exact pin a new binding must persist
|
|
@@ -39,3 +34,8 @@ export declare const getOutputRouteRevisionsControllerPreviewImpactUrl: (routeId
|
|
|
39
34
|
* @summary Preview reverse impact of a channel advance
|
|
40
35
|
*/
|
|
41
36
|
export declare const outputRouteRevisionsControllerPreviewImpact: (routeId: string, previewOutputRouteImpactDto: PreviewOutputRouteImpactDto, options?: RequestInit) => Promise<ImpactedOutputRouteConsumerDtoDataArrayEnvelope>;
|
|
37
|
+
export declare const getOutputRouteExactReadControllerResolveExactUrl: () => string;
|
|
38
|
+
/**
|
|
39
|
+
* @summary Resolve one exact OutputRoute revision and current subject access
|
|
40
|
+
*/
|
|
41
|
+
export declare const outputRouteExactReadControllerResolveExact: (resolveExactOutputRouteDto: ResolveExactOutputRouteDto, options?: RequestInit) => Promise<OutputRouteAuthorityDtoDataEnvelope>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.outputRouteRevisionsControllerPreviewImpact = exports.getOutputRouteRevisionsControllerPreviewImpactUrl = exports.outputRouteRevisionsControllerReleaseHistory = exports.getOutputRouteRevisionsControllerReleaseHistoryUrl = exports.outputRouteRevisionsControllerRequestRollback = exports.getOutputRouteRevisionsControllerRequestRollbackUrl = exports.outputRouteRevisionsControllerRequestRetirement = exports.getOutputRouteRevisionsControllerRequestRetirementUrl = exports.outputRouteRevisionsControllerResolveChannel = exports.getOutputRouteRevisionsControllerResolveChannelUrl = exports.
|
|
3
|
+
exports.outputRouteExactReadControllerResolveExact = exports.getOutputRouteExactReadControllerResolveExactUrl = exports.outputRouteRevisionsControllerPreviewImpact = exports.getOutputRouteRevisionsControllerPreviewImpactUrl = exports.outputRouteRevisionsControllerReleaseHistory = exports.getOutputRouteRevisionsControllerReleaseHistoryUrl = exports.outputRouteRevisionsControllerRequestRollback = exports.getOutputRouteRevisionsControllerRequestRollbackUrl = exports.outputRouteRevisionsControllerRequestRetirement = exports.getOutputRouteRevisionsControllerRequestRetirementUrl = exports.outputRouteRevisionsControllerResolveChannel = exports.getOutputRouteRevisionsControllerResolveChannelUrl = exports.outputRouteRevisionsControllerRequestRevisionRelease = exports.getOutputRouteRevisionsControllerRequestRevisionReleaseUrl = void 0;
|
|
4
4
|
const custom_fetch_1 = require("../../custom-fetch");
|
|
5
5
|
const getOutputRouteRevisionsControllerRequestRevisionReleaseUrl = () => {
|
|
6
6
|
return `/output-routes/revisions`;
|
|
@@ -18,22 +18,6 @@ const outputRouteRevisionsControllerRequestRevisionRelease = async (requestOutpu
|
|
|
18
18
|
});
|
|
19
19
|
};
|
|
20
20
|
exports.outputRouteRevisionsControllerRequestRevisionRelease = outputRouteRevisionsControllerRequestRevisionRelease;
|
|
21
|
-
const getOutputRouteRevisionsControllerResolveExactUrl = () => {
|
|
22
|
-
return `/output-routes/resolve-exact`;
|
|
23
|
-
};
|
|
24
|
-
exports.getOutputRouteRevisionsControllerResolveExactUrl = getOutputRouteRevisionsControllerResolveExactUrl;
|
|
25
|
-
/**
|
|
26
|
-
* @summary Resolve one exact OutputRoute revision and current subject access
|
|
27
|
-
*/
|
|
28
|
-
const outputRouteRevisionsControllerResolveExact = async (resolveExactOutputRouteDto, options) => {
|
|
29
|
-
return (0, custom_fetch_1.customFetch)((0, exports.getOutputRouteRevisionsControllerResolveExactUrl)(), {
|
|
30
|
-
...options,
|
|
31
|
-
method: 'POST',
|
|
32
|
-
headers: { 'Content-Type': 'application/json', ...options?.headers },
|
|
33
|
-
body: JSON.stringify(resolveExactOutputRouteDto)
|
|
34
|
-
});
|
|
35
|
-
};
|
|
36
|
-
exports.outputRouteRevisionsControllerResolveExact = outputRouteRevisionsControllerResolveExact;
|
|
37
21
|
const getOutputRouteRevisionsControllerResolveChannelUrl = () => {
|
|
38
22
|
return `/output-routes/resolve-channel`;
|
|
39
23
|
};
|
|
@@ -131,3 +115,19 @@ const outputRouteRevisionsControllerPreviewImpact = async (routeId, previewOutpu
|
|
|
131
115
|
});
|
|
132
116
|
};
|
|
133
117
|
exports.outputRouteRevisionsControllerPreviewImpact = outputRouteRevisionsControllerPreviewImpact;
|
|
118
|
+
const getOutputRouteExactReadControllerResolveExactUrl = () => {
|
|
119
|
+
return `/output-routes/resolve-exact`;
|
|
120
|
+
};
|
|
121
|
+
exports.getOutputRouteExactReadControllerResolveExactUrl = getOutputRouteExactReadControllerResolveExactUrl;
|
|
122
|
+
/**
|
|
123
|
+
* @summary Resolve one exact OutputRoute revision and current subject access
|
|
124
|
+
*/
|
|
125
|
+
const outputRouteExactReadControllerResolveExact = async (resolveExactOutputRouteDto, options) => {
|
|
126
|
+
return (0, custom_fetch_1.customFetch)((0, exports.getOutputRouteExactReadControllerResolveExactUrl)(), {
|
|
127
|
+
...options,
|
|
128
|
+
method: 'POST',
|
|
129
|
+
headers: { 'Content-Type': 'application/json', ...options?.headers },
|
|
130
|
+
body: JSON.stringify(resolveExactOutputRouteDto)
|
|
131
|
+
});
|
|
132
|
+
};
|
|
133
|
+
exports.outputRouteExactReadControllerResolveExact = outputRouteExactReadControllerResolveExact;
|
package/dist/index.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ export { configureClient, getClientConfig, ClientError, customFetch, type Client
|
|
|
2
2
|
export * from './models';
|
|
3
3
|
export * from './endpoints/agents/agents';
|
|
4
4
|
export * from './endpoints/authorization/authorization';
|
|
5
|
+
export * from './endpoints/authorization-policy-sets/authorization-policy-sets';
|
|
5
6
|
export * from './endpoints/capability-authority-requests/capability-authority-requests';
|
|
6
7
|
export * from './endpoints/contribution-sync/contribution-sync';
|
|
7
8
|
export * from './endpoints/credential-defaults/credential-defaults';
|
|
@@ -13,6 +14,5 @@ export * from './endpoints/output-routes/output-routes';
|
|
|
13
14
|
export * from './endpoints/profiles/profiles';
|
|
14
15
|
export * from './endpoints/relationships/relationships';
|
|
15
16
|
export * from './endpoints/resource-revisions/resource-revisions';
|
|
16
|
-
export * from './endpoints/resources/resources';
|
|
17
17
|
export * from './endpoints/roles/roles';
|
|
18
18
|
export * from './endpoints/teams/teams';
|
package/dist/index.js
CHANGED
|
@@ -24,6 +24,7 @@ Object.defineProperty(exports, "customFetch", { enumerable: true, get: function
|
|
|
24
24
|
__exportStar(require("./models"), exports);
|
|
25
25
|
__exportStar(require("./endpoints/agents/agents"), exports);
|
|
26
26
|
__exportStar(require("./endpoints/authorization/authorization"), exports);
|
|
27
|
+
__exportStar(require("./endpoints/authorization-policy-sets/authorization-policy-sets"), exports);
|
|
27
28
|
__exportStar(require("./endpoints/capability-authority-requests/capability-authority-requests"), exports);
|
|
28
29
|
__exportStar(require("./endpoints/contribution-sync/contribution-sync"), exports);
|
|
29
30
|
__exportStar(require("./endpoints/credential-defaults/credential-defaults"), exports);
|
|
@@ -35,6 +36,5 @@ __exportStar(require("./endpoints/output-routes/output-routes"), exports);
|
|
|
35
36
|
__exportStar(require("./endpoints/profiles/profiles"), exports);
|
|
36
37
|
__exportStar(require("./endpoints/relationships/relationships"), exports);
|
|
37
38
|
__exportStar(require("./endpoints/resource-revisions/resource-revisions"), exports);
|
|
38
|
-
__exportStar(require("./endpoints/resources/resources"), exports);
|
|
39
39
|
__exportStar(require("./endpoints/roles/roles"), exports);
|
|
40
40
|
__exportStar(require("./endpoints/teams/teams"), exports);
|
|
@@ -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
|
+
import type { RuntimeModuleContributionDto } from './runtimeModuleContributionDto.js';
|
|
7
|
+
export interface AdoptOrgPolicySetDto {
|
|
8
|
+
/**
|
|
9
|
+
* The composer modelHash biome-host composed and tested for base + runtimeModules.
|
|
10
|
+
* @pattern SHA256_HEX
|
|
11
|
+
*/
|
|
12
|
+
policySetId: string;
|
|
13
|
+
/** The org's COMPLETE runtime module set; empty moves the org back to the base. */
|
|
14
|
+
runtimeModules: RuntimeModuleContributionDto[];
|
|
15
|
+
/**
|
|
16
|
+
* The pointer the caller composed against; null when it read the base.
|
|
17
|
+
* @nullable
|
|
18
|
+
* @pattern SHA256_HEX
|
|
19
|
+
*/
|
|
20
|
+
expectedCurrentPolicySetId: string | null;
|
|
21
|
+
}
|
|
@@ -3,6 +3,9 @@
|
|
|
3
3
|
* Authorization API
|
|
4
4
|
* OpenAPI spec version: 0.1.1
|
|
5
5
|
*/
|
|
6
|
+
/**
|
|
7
|
+
* The environment's DATA ceiling: the most restrictive `DataClassification` an invocation may carry and still run here. The PDP compares it against `join(space floor, resource tag)` and DENIES when it is exceeded. `regulated` (the top of the rank) admits everything and is the default, so the ceiling refuses nothing until it is lowered.
|
|
8
|
+
*/
|
|
6
9
|
export type DataClassification = typeof DataClassification[keyof typeof DataClassification];
|
|
7
10
|
export declare const DataClassification: {
|
|
8
11
|
readonly public: "public";
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* OpenAPI spec version: 0.1.1
|
|
5
5
|
*/
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
7
|
+
* Every execution environment in which the subject holds this capability (closed enum).
|
|
8
8
|
*/
|
|
9
9
|
export type ExecutionEnvironmentKind = typeof ExecutionEnvironmentKind[keyof typeof ExecutionEnvironmentKind];
|
|
10
10
|
export declare const ExecutionEnvironmentKind: {
|
package/dist/models/index.d.ts
CHANGED
|
@@ -1,21 +1,12 @@
|
|
|
1
|
-
export * from './addResourceShareDto';
|
|
2
1
|
export * from './addRoleGrantDto';
|
|
3
2
|
export * from './addTeamMemberDto';
|
|
3
|
+
export * from './adoptOrgPolicySetDto';
|
|
4
4
|
export * from './agentProvisionDecision';
|
|
5
5
|
export * from './agentProvisionReason';
|
|
6
6
|
export * from './agentReachTier';
|
|
7
7
|
export * from './assignRoleDto';
|
|
8
8
|
export * from './authorityRowOwnerSpaceKind';
|
|
9
|
-
export * from './authorizationCheckRequestDto';
|
|
10
|
-
export * from './authorizationCheckResponseDto';
|
|
11
|
-
export * from './authorizationCheckResponseDtoDataEnvelope';
|
|
12
|
-
export * from './authorizationDecisionCode';
|
|
13
|
-
export * from './authorizationReasonDto';
|
|
14
|
-
export * from './authorizationSuggestionDto';
|
|
15
|
-
export * from './authorizationSuggestionKind';
|
|
16
|
-
export * from './biomeExecutionTrustTier';
|
|
17
9
|
export * from './biomePermissionProfile';
|
|
18
|
-
export * from './callerKind';
|
|
19
10
|
export * from './capabilityAuthorityRequestDto';
|
|
20
11
|
export * from './capabilityAuthorityRequestDtoDataArrayEnvelope';
|
|
21
12
|
export * from './capabilityAuthorityRequestDtoDataEnvelope';
|
|
@@ -44,9 +35,7 @@ export * from './credentialDefaultDtoDataEnvelope';
|
|
|
44
35
|
export * from './credentialDefaultsControllerDeleteParams';
|
|
45
36
|
export * from './credentialDefaultsControllerGetParams';
|
|
46
37
|
export * from './credentialDefaultsControllerListParams';
|
|
47
|
-
export * from './credentialPrecedenceSource';
|
|
48
38
|
export * from './dataClassification';
|
|
49
|
-
export * from './dataResidency';
|
|
50
39
|
export * from './describeObjectsResponseDto';
|
|
51
40
|
export * from './describeObjectsResponseDtoDataEnvelope';
|
|
52
41
|
export * from './environmentCeilingSource';
|
|
@@ -83,14 +72,16 @@ export * from './grantVersionResponseDtoDataEnvelope';
|
|
|
83
72
|
export * from './grantsControllerListParams';
|
|
84
73
|
export * from './impactedOutputRouteConsumerDto';
|
|
85
74
|
export * from './impactedOutputRouteConsumerDtoDataArrayEnvelope';
|
|
86
|
-
export * from './listRegisteredResourcesDto';
|
|
87
|
-
export * from './listVisibleResourcesDto';
|
|
88
75
|
export * from './object';
|
|
89
76
|
export * from './objectLifecycle';
|
|
90
77
|
export * from './openCapabilityAuthorityRequestDto';
|
|
91
78
|
export * from './openCapabilityAuthorityRequestDtoSubjectKind';
|
|
92
79
|
export * from './openFgaRelationshipDto';
|
|
93
80
|
export * from './openFgaRelationshipDtoPaginatedEnvelope';
|
|
81
|
+
export * from './orgPolicySetDto';
|
|
82
|
+
export * from './orgPolicySetDtoDataEnvelope';
|
|
83
|
+
export * from './orgPolicySetDtoModel';
|
|
84
|
+
export * from './orgPolicySetDtoModules';
|
|
94
85
|
export * from './outputRouteAuthorityDto';
|
|
95
86
|
export * from './outputRouteAuthorityDtoAllowedOutputSchema';
|
|
96
87
|
export * from './outputRouteAuthorityDtoDataEnvelope';
|
|
@@ -107,30 +98,10 @@ export * from './outputRouteRevisionDto';
|
|
|
107
98
|
export * from './outputRouteRevisionDtoAllowedOutputSchema';
|
|
108
99
|
export * from './outputRouteRevisionsControllerReleaseHistoryParams';
|
|
109
100
|
export * from './paginationMeta';
|
|
110
|
-
export * from './
|
|
111
|
-
export * from './
|
|
112
|
-
export * from './
|
|
113
|
-
export * from './
|
|
114
|
-
export * from './policyCallerDto';
|
|
115
|
-
export * from './policyCapabilityDto';
|
|
116
|
-
export * from './policyCheckBatchRequestDto';
|
|
117
|
-
export * from './policyCheckBatchResponseDto';
|
|
118
|
-
export * from './policyCheckBatchResponseDtoDataEnvelope';
|
|
119
|
-
export * from './policyCheckRequestDto';
|
|
120
|
-
export * from './policyCheckRequestDtoAperture';
|
|
121
|
-
export * from './policyConstraintsDto';
|
|
122
|
-
export * from './policyDecisionDto';
|
|
123
|
-
export * from './policyDecisionDtoDataEnvelope';
|
|
124
|
-
export * from './policyDecisionKind';
|
|
125
|
-
export * from './policyDelegatedAuthorityDto';
|
|
126
|
-
export * from './policyEnvironmentDto';
|
|
127
|
-
export * from './policyObligationDto';
|
|
128
|
-
export * from './policyObligationKind';
|
|
129
|
-
export * from './policyResourceDto';
|
|
130
|
-
export * from './policyRouteHintDto';
|
|
131
|
-
export * from './policyRouteHintDtoRequiredRunnerLabels';
|
|
132
|
-
export * from './policySpaceRefDto';
|
|
133
|
-
export * from './policySubjectRefDto';
|
|
101
|
+
export * from './policySetTestFileDto';
|
|
102
|
+
export * from './policySetTestFileResultDto';
|
|
103
|
+
export * from './policySetTestResultsDto';
|
|
104
|
+
export * from './policySetTestResultsDtoDataEnvelope';
|
|
134
105
|
export * from './previewOutputRouteImpactDto';
|
|
135
106
|
export * from './problemActionableBy';
|
|
136
107
|
export * from './problemDetailsDto';
|
|
@@ -146,16 +117,10 @@ export * from './provisionAgentResultDto';
|
|
|
146
117
|
export * from './provisionAgentResultDtoDataEnvelope';
|
|
147
118
|
export * from './provisionedCapabilityDto';
|
|
148
119
|
export * from './recordAgentReachTierRequestDto';
|
|
149
|
-
export * from './registerResourceOwnershipDto';
|
|
150
120
|
export * from './registerResourceRevisionDto';
|
|
151
|
-
export * from './registeredResourceDto';
|
|
152
121
|
export * from './registeredResourceRevisionDto';
|
|
153
122
|
export * from './registeredResourceRevisionDtoDataEnvelope';
|
|
154
|
-
export * from './registeredResourcesDto';
|
|
155
|
-
export * from './registeredResourcesDtoDataEnvelope';
|
|
156
123
|
export * from './relationshipsControllerListParams';
|
|
157
|
-
export * from './removeResourceShareDto';
|
|
158
|
-
export * from './replaceResourceOwnershipDto';
|
|
159
124
|
export * from './requestOutputRouteRetirementDto';
|
|
160
125
|
export * from './requestOutputRouteRevisionReleaseDto';
|
|
161
126
|
export * from './requestOutputRouteRevisionReleaseDtoAllowedOutputSchema';
|
|
@@ -164,15 +129,10 @@ export * from './resolveExactOutputRouteDto';
|
|
|
164
129
|
export * from './resolveExactResourceRevisionDto';
|
|
165
130
|
export * from './resolveOutputRouteChannelDto';
|
|
166
131
|
export * from './resourceManagedBy';
|
|
167
|
-
export * from './resourceOwnershipDto';
|
|
168
|
-
export * from './resourceOwnershipDtoDataEnvelope';
|
|
169
|
-
export * from './resourceOwnershipEntryDto';
|
|
170
|
-
export * from './resourceOwnershipReadDto';
|
|
171
|
-
export * from './resourceOwnershipReadDtoDataEnvelope';
|
|
172
|
-
export * from './resourceShareRefDto';
|
|
173
132
|
export * from './resourceSubjectAccessResult';
|
|
174
133
|
export * from './resourceSubjectRefDto';
|
|
175
|
-
export * from './
|
|
134
|
+
export * from './retiredNamespaceDto';
|
|
135
|
+
export * from './retiredNamespaceDtoDataEnvelope';
|
|
176
136
|
export * from './roleAssignmentDto';
|
|
177
137
|
export * from './roleAssignmentDtoDataArrayEnvelope';
|
|
178
138
|
export * from './roleAssignmentDtoDataEnvelope';
|
|
@@ -184,11 +144,12 @@ export * from './roleGrantDtoDataArrayEnvelope';
|
|
|
184
144
|
export * from './roleGrantDtoDataEnvelope';
|
|
185
145
|
export * from './rolesControllerListParams';
|
|
186
146
|
export * from './rollbackExecutionEnvironmentDto';
|
|
187
|
-
export * from './
|
|
188
|
-
export * from './
|
|
147
|
+
export * from './runPolicySetTestsDto';
|
|
148
|
+
export * from './runPolicySetTestsDtoModel';
|
|
149
|
+
export * from './runtimeModuleContributionDto';
|
|
150
|
+
export * from './runtimeModuleContributionDtoManifest';
|
|
189
151
|
export * from './spaceKind';
|
|
190
152
|
export * from './subjectKind';
|
|
191
|
-
export * from './subjectRefDto';
|
|
192
153
|
export * from './teamDto';
|
|
193
154
|
export * from './teamDtoDataArrayEnvelope';
|
|
194
155
|
export * from './teamDtoDataEnvelope';
|
|
@@ -204,8 +165,6 @@ export * from './updateGrantDto';
|
|
|
204
165
|
export * from './updateRoleDto';
|
|
205
166
|
export * from './updateTeamDto';
|
|
206
167
|
export * from './upsertCredentialDefaultDto';
|
|
207
|
-
export * from './visibleResourcesDto';
|
|
208
|
-
export * from './visibleResourcesDtoDataEnvelope';
|
|
209
168
|
export * from './xemaObjectKind';
|
|
210
169
|
export * from './xemaObjectResponseDto';
|
|
211
170
|
export * from './xemaObjectResponseDtoPayload';
|