@xemahq/authorization-internal-api-client 0.5.3 → 0.6.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/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;
|
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';
|
package/dist/models/index.js
CHANGED
|
@@ -15,24 +15,15 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
// Auto-generated by tooling/codegen/regenerate-models-barrel.js — do not edit manually.
|
|
18
|
-
__exportStar(require("./addResourceShareDto"), exports);
|
|
19
18
|
__exportStar(require("./addRoleGrantDto"), exports);
|
|
20
19
|
__exportStar(require("./addTeamMemberDto"), exports);
|
|
20
|
+
__exportStar(require("./adoptOrgPolicySetDto"), exports);
|
|
21
21
|
__exportStar(require("./agentProvisionDecision"), exports);
|
|
22
22
|
__exportStar(require("./agentProvisionReason"), exports);
|
|
23
23
|
__exportStar(require("./agentReachTier"), exports);
|
|
24
24
|
__exportStar(require("./assignRoleDto"), exports);
|
|
25
25
|
__exportStar(require("./authorityRowOwnerSpaceKind"), exports);
|
|
26
|
-
__exportStar(require("./authorizationCheckRequestDto"), exports);
|
|
27
|
-
__exportStar(require("./authorizationCheckResponseDto"), exports);
|
|
28
|
-
__exportStar(require("./authorizationCheckResponseDtoDataEnvelope"), exports);
|
|
29
|
-
__exportStar(require("./authorizationDecisionCode"), exports);
|
|
30
|
-
__exportStar(require("./authorizationReasonDto"), exports);
|
|
31
|
-
__exportStar(require("./authorizationSuggestionDto"), exports);
|
|
32
|
-
__exportStar(require("./authorizationSuggestionKind"), exports);
|
|
33
|
-
__exportStar(require("./biomeExecutionTrustTier"), exports);
|
|
34
26
|
__exportStar(require("./biomePermissionProfile"), exports);
|
|
35
|
-
__exportStar(require("./callerKind"), exports);
|
|
36
27
|
__exportStar(require("./capabilityAuthorityRequestDto"), exports);
|
|
37
28
|
__exportStar(require("./capabilityAuthorityRequestDtoDataArrayEnvelope"), exports);
|
|
38
29
|
__exportStar(require("./capabilityAuthorityRequestDtoDataEnvelope"), exports);
|
|
@@ -61,9 +52,7 @@ __exportStar(require("./credentialDefaultDtoDataEnvelope"), exports);
|
|
|
61
52
|
__exportStar(require("./credentialDefaultsControllerDeleteParams"), exports);
|
|
62
53
|
__exportStar(require("./credentialDefaultsControllerGetParams"), exports);
|
|
63
54
|
__exportStar(require("./credentialDefaultsControllerListParams"), exports);
|
|
64
|
-
__exportStar(require("./credentialPrecedenceSource"), exports);
|
|
65
55
|
__exportStar(require("./dataClassification"), exports);
|
|
66
|
-
__exportStar(require("./dataResidency"), exports);
|
|
67
56
|
__exportStar(require("./describeObjectsResponseDto"), exports);
|
|
68
57
|
__exportStar(require("./describeObjectsResponseDtoDataEnvelope"), exports);
|
|
69
58
|
__exportStar(require("./environmentCeilingSource"), exports);
|
|
@@ -100,14 +89,16 @@ __exportStar(require("./grantVersionResponseDtoDataEnvelope"), exports);
|
|
|
100
89
|
__exportStar(require("./grantsControllerListParams"), exports);
|
|
101
90
|
__exportStar(require("./impactedOutputRouteConsumerDto"), exports);
|
|
102
91
|
__exportStar(require("./impactedOutputRouteConsumerDtoDataArrayEnvelope"), exports);
|
|
103
|
-
__exportStar(require("./listRegisteredResourcesDto"), exports);
|
|
104
|
-
__exportStar(require("./listVisibleResourcesDto"), exports);
|
|
105
92
|
__exportStar(require("./object"), exports);
|
|
106
93
|
__exportStar(require("./objectLifecycle"), exports);
|
|
107
94
|
__exportStar(require("./openCapabilityAuthorityRequestDto"), exports);
|
|
108
95
|
__exportStar(require("./openCapabilityAuthorityRequestDtoSubjectKind"), exports);
|
|
109
96
|
__exportStar(require("./openFgaRelationshipDto"), exports);
|
|
110
97
|
__exportStar(require("./openFgaRelationshipDtoPaginatedEnvelope"), exports);
|
|
98
|
+
__exportStar(require("./orgPolicySetDto"), exports);
|
|
99
|
+
__exportStar(require("./orgPolicySetDtoDataEnvelope"), exports);
|
|
100
|
+
__exportStar(require("./orgPolicySetDtoModel"), exports);
|
|
101
|
+
__exportStar(require("./orgPolicySetDtoModules"), exports);
|
|
111
102
|
__exportStar(require("./outputRouteAuthorityDto"), exports);
|
|
112
103
|
__exportStar(require("./outputRouteAuthorityDtoAllowedOutputSchema"), exports);
|
|
113
104
|
__exportStar(require("./outputRouteAuthorityDtoDataEnvelope"), exports);
|
|
@@ -124,30 +115,10 @@ __exportStar(require("./outputRouteRevisionDto"), exports);
|
|
|
124
115
|
__exportStar(require("./outputRouteRevisionDtoAllowedOutputSchema"), exports);
|
|
125
116
|
__exportStar(require("./outputRouteRevisionsControllerReleaseHistoryParams"), exports);
|
|
126
117
|
__exportStar(require("./paginationMeta"), exports);
|
|
127
|
-
__exportStar(require("./
|
|
128
|
-
__exportStar(require("./
|
|
129
|
-
__exportStar(require("./
|
|
130
|
-
__exportStar(require("./
|
|
131
|
-
__exportStar(require("./policyCallerDto"), exports);
|
|
132
|
-
__exportStar(require("./policyCapabilityDto"), exports);
|
|
133
|
-
__exportStar(require("./policyCheckBatchRequestDto"), exports);
|
|
134
|
-
__exportStar(require("./policyCheckBatchResponseDto"), exports);
|
|
135
|
-
__exportStar(require("./policyCheckBatchResponseDtoDataEnvelope"), exports);
|
|
136
|
-
__exportStar(require("./policyCheckRequestDto"), exports);
|
|
137
|
-
__exportStar(require("./policyCheckRequestDtoAperture"), exports);
|
|
138
|
-
__exportStar(require("./policyConstraintsDto"), exports);
|
|
139
|
-
__exportStar(require("./policyDecisionDto"), exports);
|
|
140
|
-
__exportStar(require("./policyDecisionDtoDataEnvelope"), exports);
|
|
141
|
-
__exportStar(require("./policyDecisionKind"), exports);
|
|
142
|
-
__exportStar(require("./policyDelegatedAuthorityDto"), exports);
|
|
143
|
-
__exportStar(require("./policyEnvironmentDto"), exports);
|
|
144
|
-
__exportStar(require("./policyObligationDto"), exports);
|
|
145
|
-
__exportStar(require("./policyObligationKind"), exports);
|
|
146
|
-
__exportStar(require("./policyResourceDto"), exports);
|
|
147
|
-
__exportStar(require("./policyRouteHintDto"), exports);
|
|
148
|
-
__exportStar(require("./policyRouteHintDtoRequiredRunnerLabels"), exports);
|
|
149
|
-
__exportStar(require("./policySpaceRefDto"), exports);
|
|
150
|
-
__exportStar(require("./policySubjectRefDto"), exports);
|
|
118
|
+
__exportStar(require("./policySetTestFileDto"), exports);
|
|
119
|
+
__exportStar(require("./policySetTestFileResultDto"), exports);
|
|
120
|
+
__exportStar(require("./policySetTestResultsDto"), exports);
|
|
121
|
+
__exportStar(require("./policySetTestResultsDtoDataEnvelope"), exports);
|
|
151
122
|
__exportStar(require("./previewOutputRouteImpactDto"), exports);
|
|
152
123
|
__exportStar(require("./problemActionableBy"), exports);
|
|
153
124
|
__exportStar(require("./problemDetailsDto"), exports);
|
|
@@ -163,16 +134,10 @@ __exportStar(require("./provisionAgentResultDto"), exports);
|
|
|
163
134
|
__exportStar(require("./provisionAgentResultDtoDataEnvelope"), exports);
|
|
164
135
|
__exportStar(require("./provisionedCapabilityDto"), exports);
|
|
165
136
|
__exportStar(require("./recordAgentReachTierRequestDto"), exports);
|
|
166
|
-
__exportStar(require("./registerResourceOwnershipDto"), exports);
|
|
167
137
|
__exportStar(require("./registerResourceRevisionDto"), exports);
|
|
168
|
-
__exportStar(require("./registeredResourceDto"), exports);
|
|
169
138
|
__exportStar(require("./registeredResourceRevisionDto"), exports);
|
|
170
139
|
__exportStar(require("./registeredResourceRevisionDtoDataEnvelope"), exports);
|
|
171
|
-
__exportStar(require("./registeredResourcesDto"), exports);
|
|
172
|
-
__exportStar(require("./registeredResourcesDtoDataEnvelope"), exports);
|
|
173
140
|
__exportStar(require("./relationshipsControllerListParams"), exports);
|
|
174
|
-
__exportStar(require("./removeResourceShareDto"), exports);
|
|
175
|
-
__exportStar(require("./replaceResourceOwnershipDto"), exports);
|
|
176
141
|
__exportStar(require("./requestOutputRouteRetirementDto"), exports);
|
|
177
142
|
__exportStar(require("./requestOutputRouteRevisionReleaseDto"), exports);
|
|
178
143
|
__exportStar(require("./requestOutputRouteRevisionReleaseDtoAllowedOutputSchema"), exports);
|
|
@@ -181,15 +146,10 @@ __exportStar(require("./resolveExactOutputRouteDto"), exports);
|
|
|
181
146
|
__exportStar(require("./resolveExactResourceRevisionDto"), exports);
|
|
182
147
|
__exportStar(require("./resolveOutputRouteChannelDto"), exports);
|
|
183
148
|
__exportStar(require("./resourceManagedBy"), exports);
|
|
184
|
-
__exportStar(require("./resourceOwnershipDto"), exports);
|
|
185
|
-
__exportStar(require("./resourceOwnershipDtoDataEnvelope"), exports);
|
|
186
|
-
__exportStar(require("./resourceOwnershipEntryDto"), exports);
|
|
187
|
-
__exportStar(require("./resourceOwnershipReadDto"), exports);
|
|
188
|
-
__exportStar(require("./resourceOwnershipReadDtoDataEnvelope"), exports);
|
|
189
|
-
__exportStar(require("./resourceShareRefDto"), exports);
|
|
190
149
|
__exportStar(require("./resourceSubjectAccessResult"), exports);
|
|
191
150
|
__exportStar(require("./resourceSubjectRefDto"), exports);
|
|
192
|
-
__exportStar(require("./
|
|
151
|
+
__exportStar(require("./retiredNamespaceDto"), exports);
|
|
152
|
+
__exportStar(require("./retiredNamespaceDtoDataEnvelope"), exports);
|
|
193
153
|
__exportStar(require("./roleAssignmentDto"), exports);
|
|
194
154
|
__exportStar(require("./roleAssignmentDtoDataArrayEnvelope"), exports);
|
|
195
155
|
__exportStar(require("./roleAssignmentDtoDataEnvelope"), exports);
|
|
@@ -201,11 +161,12 @@ __exportStar(require("./roleGrantDtoDataArrayEnvelope"), exports);
|
|
|
201
161
|
__exportStar(require("./roleGrantDtoDataEnvelope"), exports);
|
|
202
162
|
__exportStar(require("./rolesControllerListParams"), exports);
|
|
203
163
|
__exportStar(require("./rollbackExecutionEnvironmentDto"), exports);
|
|
204
|
-
__exportStar(require("./
|
|
205
|
-
__exportStar(require("./
|
|
164
|
+
__exportStar(require("./runPolicySetTestsDto"), exports);
|
|
165
|
+
__exportStar(require("./runPolicySetTestsDtoModel"), exports);
|
|
166
|
+
__exportStar(require("./runtimeModuleContributionDto"), exports);
|
|
167
|
+
__exportStar(require("./runtimeModuleContributionDtoManifest"), exports);
|
|
206
168
|
__exportStar(require("./spaceKind"), exports);
|
|
207
169
|
__exportStar(require("./subjectKind"), exports);
|
|
208
|
-
__exportStar(require("./subjectRefDto"), exports);
|
|
209
170
|
__exportStar(require("./teamDto"), exports);
|
|
210
171
|
__exportStar(require("./teamDtoDataArrayEnvelope"), exports);
|
|
211
172
|
__exportStar(require("./teamDtoDataEnvelope"), exports);
|
|
@@ -221,8 +182,6 @@ __exportStar(require("./updateGrantDto"), exports);
|
|
|
221
182
|
__exportStar(require("./updateRoleDto"), exports);
|
|
222
183
|
__exportStar(require("./updateTeamDto"), exports);
|
|
223
184
|
__exportStar(require("./upsertCredentialDefaultDto"), exports);
|
|
224
|
-
__exportStar(require("./visibleResourcesDto"), exports);
|
|
225
|
-
__exportStar(require("./visibleResourcesDtoDataEnvelope"), exports);
|
|
226
185
|
__exportStar(require("./xemaObjectKind"), exports);
|
|
227
186
|
__exportStar(require("./xemaObjectResponseDto"), exports);
|
|
228
187
|
__exportStar(require("./xemaObjectResponseDtoPayload"), exports);
|
|
@@ -0,0 +1,18 @@
|
|
|
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 { OrgPolicySetDtoModel } from './orgPolicySetDtoModel.js';
|
|
7
|
+
import type { OrgPolicySetDtoModules } from './orgPolicySetDtoModules.js';
|
|
8
|
+
export interface OrgPolicySetDto {
|
|
9
|
+
/**
|
|
10
|
+
* The policy set content address, or null for the base.
|
|
11
|
+
* @nullable
|
|
12
|
+
*/
|
|
13
|
+
policySetId: string | null;
|
|
14
|
+
/** The OpenFGA JSON model. */
|
|
15
|
+
model?: OrgPolicySetDtoModel;
|
|
16
|
+
/** namespace → { moduleVersion, contentHash }. */
|
|
17
|
+
modules?: OrgPolicySetDtoModules;
|
|
18
|
+
}
|
|
@@ -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
|
+
import type { OrgPolicySetDto } from './orgPolicySetDto.js';
|
|
7
|
+
export interface OrgPolicySetDtoDataEnvelope {
|
|
8
|
+
data: OrgPolicySetDto;
|
|
9
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
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
|
+
* namespace → { moduleVersion, contentHash }.
|
|
8
|
+
*/
|
|
9
|
+
export type OrgPolicySetDtoModules = {
|
|
10
|
+
[key: string]: unknown;
|
|
11
|
+
};
|