@xemahq/authorization-internal-api-client 0.1.1 → 0.1.2
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/agents/agents.d.ts +2 -2
- package/dist/endpoints/authorization/authorization.d.ts +10 -4
- package/dist/endpoints/authorization/authorization.js +16 -1
- package/dist/endpoints/contribution-sync/contribution-sync.d.ts +2 -0
- package/dist/endpoints/contribution-sync/contribution-sync.js +22 -0
- package/dist/endpoints/describe-objects/describe-objects.d.ts +14 -0
- package/dist/endpoints/describe-objects/describe-objects.js +19 -0
- package/dist/endpoints/environments/environments.d.ts +5 -5
- package/dist/endpoints/grants/grants.d.ts +5 -5
- package/dist/endpoints/profiles/profiles.d.ts +2 -2
- package/dist/endpoints/resources/resources.d.ts +4 -4
- package/dist/endpoints/roles/roles.d.ts +7 -7
- package/dist/endpoints/teams/teams.d.ts +5 -5
- package/dist/index.d.ts +2 -0
- package/dist/index.js +2 -0
- package/dist/models/authorizationCheckResponseDtoDataEnvelope.d.ts +11 -0
- package/dist/models/authorizationCheckResponseDtoDataEnvelope.js +2 -0
- package/dist/models/biomePermissionProfile.d.ts +0 -3
- package/dist/models/capabilityGrantDtoDataEnvelope.d.ts +11 -0
- package/dist/models/capabilityGrantDtoDataEnvelope.js +2 -0
- package/dist/models/describeObjectsResponseDto.d.ts +14 -0
- package/dist/models/describeObjectsResponseDto.js +2 -0
- package/dist/models/describeObjectsResponseDtoDataEnvelope.d.ts +11 -0
- package/dist/models/describeObjectsResponseDtoDataEnvelope.js +2 -0
- package/dist/models/errorDetailsDto.d.ts +12 -0
- package/dist/models/errorDetailsDto.js +2 -0
- package/dist/models/errorDetailsDtoDetails.d.ts +13 -0
- package/dist/models/errorDetailsDtoDetails.js +9 -0
- package/dist/models/errorPayloadDto.d.ts +13 -0
- package/dist/models/errorPayloadDto.js +2 -0
- package/dist/models/errorResponseDto.d.ts +11 -0
- package/dist/models/errorResponseDto.js +2 -0
- package/dist/models/executionEnvironmentResponseDtoDataArrayEnvelope.d.ts +11 -0
- package/dist/models/executionEnvironmentResponseDtoDataArrayEnvelope.js +2 -0
- package/dist/models/executionEnvironmentResponseDtoDataEnvelope.d.ts +11 -0
- package/dist/models/executionEnvironmentResponseDtoDataEnvelope.js +2 -0
- package/dist/models/grantVersionResponseDto.d.ts +13 -0
- package/dist/models/grantVersionResponseDto.js +9 -0
- package/dist/models/grantVersionResponseDtoDataEnvelope.d.ts +11 -0
- package/dist/models/grantVersionResponseDtoDataEnvelope.js +2 -0
- package/dist/models/index.d.ts +31 -0
- package/dist/models/index.js +31 -0
- package/dist/models/objectLifecycle.d.ts +16 -0
- package/dist/models/objectLifecycle.js +15 -0
- package/dist/models/orgRoleSyncResultDtoDataEnvelope.d.ts +11 -0
- package/dist/models/orgRoleSyncResultDtoDataEnvelope.js +2 -0
- package/dist/models/policyCheckBatchResponseDtoDataEnvelope.d.ts +11 -0
- package/dist/models/policyCheckBatchResponseDtoDataEnvelope.js +2 -0
- package/dist/models/policyDecisionDtoDataEnvelope.d.ts +11 -0
- package/dist/models/policyDecisionDtoDataEnvelope.js +2 -0
- package/dist/models/profilePolicyTemplateDtoDataArrayEnvelope.d.ts +11 -0
- package/dist/models/profilePolicyTemplateDtoDataArrayEnvelope.js +2 -0
- package/dist/models/provisionAgentResultDtoDataEnvelope.d.ts +11 -0
- package/dist/models/provisionAgentResultDtoDataEnvelope.js +2 -0
- package/dist/models/resourceOwnershipDtoDataEnvelope.d.ts +11 -0
- package/dist/models/resourceOwnershipDtoDataEnvelope.js +2 -0
- package/dist/models/resourceOwnershipReadDtoDataEnvelope.d.ts +11 -0
- package/dist/models/resourceOwnershipReadDtoDataEnvelope.js +2 -0
- package/dist/models/resourceVisibilityPattern.d.ts +0 -3
- package/dist/models/roleAssignmentDtoDataEnvelope.d.ts +11 -0
- package/dist/models/roleAssignmentDtoDataEnvelope.js +2 -0
- package/dist/models/roleDtoDataEnvelope.d.ts +11 -0
- package/dist/models/roleDtoDataEnvelope.js +2 -0
- package/dist/models/roleGrantDtoDataEnvelope.d.ts +11 -0
- package/dist/models/roleGrantDtoDataEnvelope.js +2 -0
- package/dist/models/teamDtoDataEnvelope.d.ts +11 -0
- package/dist/models/teamDtoDataEnvelope.js +2 -0
- package/dist/models/teamMembershipDtoDataEnvelope.d.ts +11 -0
- package/dist/models/teamMembershipDtoDataEnvelope.js +2 -0
- package/dist/models/visibleResourcesDtoDataEnvelope.d.ts +11 -0
- package/dist/models/visibleResourcesDtoDataEnvelope.js +2 -0
- package/dist/models/xemaObjectKind.d.ts +50 -0
- package/dist/models/xemaObjectKind.js +49 -0
- package/dist/models/xemaObjectResponseDto.d.ts +26 -0
- package/dist/models/xemaObjectResponseDto.js +2 -0
- package/dist/models/xemaObjectResponseDtoPayload.d.ts +13 -0
- package/dist/models/xemaObjectResponseDtoPayload.js +9 -0
- package/dist/models/xemaSpaceRefDto.d.ts +18 -0
- package/dist/models/xemaSpaceRefDto.js +2 -0
- package/dist/models/xemaSubjectRefDto.d.ts +13 -0
- package/dist/models/xemaSubjectRefDto.js +9 -0
- package/package.json +4 -4
|
@@ -5,10 +5,10 @@
|
|
|
5
5
|
* Authorization API extract (generated for client codegen).
|
|
6
6
|
* OpenAPI spec version: 0.1.0
|
|
7
7
|
*/
|
|
8
|
-
import type { ProvisionAgentRequestDto,
|
|
8
|
+
import type { ProvisionAgentRequestDto, ProvisionAgentResultDtoDataEnvelope } from '../../models';
|
|
9
9
|
export declare const getAgentsControllerProvisionUrl: () => string;
|
|
10
10
|
/**
|
|
11
11
|
* Auto-grants low/medium-risk, owner-held, non-approval-gated capabilities as full grants; writes everything else as approval-gated grants. Idempotent (each grant upserts on its natural tuple). Returns a summary for the Studio review UI.
|
|
12
12
|
* @summary Provision capability grants for an agent
|
|
13
13
|
*/
|
|
14
|
-
export declare const agentsControllerProvision: (provisionAgentRequestDto: ProvisionAgentRequestDto, options?: RequestInit) => Promise<
|
|
14
|
+
export declare const agentsControllerProvision: (provisionAgentRequestDto: ProvisionAgentRequestDto, options?: RequestInit) => Promise<ProvisionAgentResultDtoDataEnvelope>;
|
|
@@ -5,22 +5,28 @@
|
|
|
5
5
|
* Authorization API extract (generated for client codegen).
|
|
6
6
|
* OpenAPI spec version: 0.1.0
|
|
7
7
|
*/
|
|
8
|
-
import type { AuthorizationCheckRequestDto,
|
|
8
|
+
import type { AuthorizationCheckRequestDto, AuthorizationCheckResponseDtoDataEnvelope, GrantVersionResponseDtoDataEnvelope, PolicyCheckBatchRequestDto, PolicyCheckBatchResponseDtoDataEnvelope, PolicyCheckRequestDto, PolicyDecisionDtoDataEnvelope } from '../../models';
|
|
9
9
|
export declare const getAuthorizationControllerCheckUrl: () => string;
|
|
10
10
|
/**
|
|
11
11
|
* Called by xema-capability-router on every invocation. Phase 3 returns `allowed=true` for any non-revoked grant matching `(subject, capability)`; `environment` is stored but not yet enforced. Phase 4 will enforce environment, resource-glob, rate-limit, and approval.
|
|
12
12
|
* @summary Runtime allow/deny decision for a (subject, capability) tuple
|
|
13
13
|
*/
|
|
14
|
-
export declare const authorizationControllerCheck: (authorizationCheckRequestDto: AuthorizationCheckRequestDto, options?: RequestInit) => Promise<
|
|
14
|
+
export declare const authorizationControllerCheck: (authorizationCheckRequestDto: AuthorizationCheckRequestDto, options?: RequestInit) => Promise<AuthorizationCheckResponseDtoDataEnvelope>;
|
|
15
|
+
export declare const getAuthorizationControllerGrantVersionUrl: (orgId: string) => string;
|
|
16
|
+
/**
|
|
17
|
+
* 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.
|
|
18
|
+
* @summary Current monotonic grant-version for an org (Wave 8.2)
|
|
19
|
+
*/
|
|
20
|
+
export declare const authorizationControllerGrantVersion: (orgId: string, options?: RequestInit) => Promise<GrantVersionResponseDtoDataEnvelope>;
|
|
15
21
|
export declare const getAuthorizationControllerPolicyCheckUrl: () => string;
|
|
16
22
|
/**
|
|
17
23
|
* 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.
|
|
18
24
|
* @summary Typed PolicyDecision for an ExecutionContext
|
|
19
25
|
*/
|
|
20
|
-
export declare const authorizationControllerPolicyCheck: (policyCheckRequestDto: PolicyCheckRequestDto, options?: RequestInit) => Promise<
|
|
26
|
+
export declare const authorizationControllerPolicyCheck: (policyCheckRequestDto: PolicyCheckRequestDto, options?: RequestInit) => Promise<PolicyDecisionDtoDataEnvelope>;
|
|
21
27
|
export declare const getAuthorizationControllerPolicyCheckBatchUrl: () => string;
|
|
22
28
|
/**
|
|
23
29
|
* 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.
|
|
24
30
|
* @summary Batch of typed PolicyDecisions for independent ExecutionContexts
|
|
25
31
|
*/
|
|
26
|
-
export declare const authorizationControllerPolicyCheckBatch: (policyCheckBatchRequestDto: PolicyCheckBatchRequestDto, options?: RequestInit) => Promise<
|
|
32
|
+
export declare const authorizationControllerPolicyCheckBatch: (policyCheckBatchRequestDto: PolicyCheckBatchRequestDto, options?: RequestInit) => Promise<PolicyCheckBatchResponseDtoDataEnvelope>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.authorizationControllerPolicyCheckBatch = exports.getAuthorizationControllerPolicyCheckBatchUrl = exports.authorizationControllerPolicyCheck = exports.getAuthorizationControllerPolicyCheckUrl = exports.authorizationControllerCheck = exports.getAuthorizationControllerCheckUrl = void 0;
|
|
3
|
+
exports.authorizationControllerPolicyCheckBatch = exports.getAuthorizationControllerPolicyCheckBatchUrl = exports.authorizationControllerPolicyCheck = exports.getAuthorizationControllerPolicyCheckUrl = exports.authorizationControllerGrantVersion = exports.getAuthorizationControllerGrantVersionUrl = exports.authorizationControllerCheck = exports.getAuthorizationControllerCheckUrl = void 0;
|
|
4
4
|
const custom_fetch_1 = require("../../custom-fetch");
|
|
5
5
|
const getAuthorizationControllerCheckUrl = () => {
|
|
6
6
|
return `/authorization/check`;
|
|
@@ -19,6 +19,21 @@ const authorizationControllerCheck = async (authorizationCheckRequestDto, option
|
|
|
19
19
|
});
|
|
20
20
|
};
|
|
21
21
|
exports.authorizationControllerCheck = authorizationControllerCheck;
|
|
22
|
+
const getAuthorizationControllerGrantVersionUrl = (orgId) => {
|
|
23
|
+
return `/authorization/grant-version/${orgId}`;
|
|
24
|
+
};
|
|
25
|
+
exports.getAuthorizationControllerGrantVersionUrl = getAuthorizationControllerGrantVersionUrl;
|
|
26
|
+
/**
|
|
27
|
+
* 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.
|
|
28
|
+
* @summary Current monotonic grant-version for an org (Wave 8.2)
|
|
29
|
+
*/
|
|
30
|
+
const authorizationControllerGrantVersion = async (orgId, options) => {
|
|
31
|
+
return (0, custom_fetch_1.customFetch)((0, exports.getAuthorizationControllerGrantVersionUrl)(orgId), {
|
|
32
|
+
...options,
|
|
33
|
+
method: 'GET'
|
|
34
|
+
});
|
|
35
|
+
};
|
|
36
|
+
exports.authorizationControllerGrantVersion = authorizationControllerGrantVersion;
|
|
22
37
|
const getAuthorizationControllerPolicyCheckUrl = () => {
|
|
23
38
|
return `/authorization/policy-check`;
|
|
24
39
|
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.contributionSyncControllerSync = exports.getContributionSyncControllerSyncUrl = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* Generated by orval v8.16.0 🍺
|
|
6
|
+
* Do not edit manually.
|
|
7
|
+
* Authorization API
|
|
8
|
+
* Authorization API extract (generated for client codegen).
|
|
9
|
+
* OpenAPI spec version: 0.1.0
|
|
10
|
+
*/
|
|
11
|
+
const custom_fetch_1 = require("../../custom-fetch");
|
|
12
|
+
const getContributionSyncControllerSyncUrl = () => {
|
|
13
|
+
return `/contributions/sync`;
|
|
14
|
+
};
|
|
15
|
+
exports.getContributionSyncControllerSyncUrl = getContributionSyncControllerSyncUrl;
|
|
16
|
+
const contributionSyncControllerSync = async (options) => {
|
|
17
|
+
return (0, custom_fetch_1.customFetch)((0, exports.getContributionSyncControllerSyncUrl)(), {
|
|
18
|
+
...options,
|
|
19
|
+
method: 'PUT'
|
|
20
|
+
});
|
|
21
|
+
};
|
|
22
|
+
exports.contributionSyncControllerSync = contributionSyncControllerSync;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.16.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Authorization API
|
|
5
|
+
* Authorization API extract (generated for client codegen).
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
import type { DescribeObjectsResponseDtoDataEnvelope } from '../../models';
|
|
9
|
+
export declare const getDescribeObjectsControllerDescribeUrl: () => string;
|
|
10
|
+
/**
|
|
11
|
+
* Wire shape mirrors the `xema.object-registry.projection.published.v1` CloudEvent `data` field. Consumers (object-registry-api) replace their cache slice for `source` atomically on each fetch.
|
|
12
|
+
* @summary Return this service's slice of the XemaObject universe (capability grants + execution environments).
|
|
13
|
+
*/
|
|
14
|
+
export declare const describeObjectsControllerDescribe: (options?: RequestInit) => Promise<DescribeObjectsResponseDtoDataEnvelope>;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.describeObjectsControllerDescribe = exports.getDescribeObjectsControllerDescribeUrl = void 0;
|
|
4
|
+
const custom_fetch_1 = require("../../custom-fetch");
|
|
5
|
+
const getDescribeObjectsControllerDescribeUrl = () => {
|
|
6
|
+
return `/describe-objects`;
|
|
7
|
+
};
|
|
8
|
+
exports.getDescribeObjectsControllerDescribeUrl = getDescribeObjectsControllerDescribeUrl;
|
|
9
|
+
/**
|
|
10
|
+
* Wire shape mirrors the `xema.object-registry.projection.published.v1` CloudEvent `data` field. Consumers (object-registry-api) replace their cache slice for `source` atomically on each fetch.
|
|
11
|
+
* @summary Return this service's slice of the XemaObject universe (capability grants + execution environments).
|
|
12
|
+
*/
|
|
13
|
+
const describeObjectsControllerDescribe = async (options) => {
|
|
14
|
+
return (0, custom_fetch_1.customFetch)((0, exports.getDescribeObjectsControllerDescribeUrl)(), {
|
|
15
|
+
...options,
|
|
16
|
+
method: 'GET'
|
|
17
|
+
});
|
|
18
|
+
};
|
|
19
|
+
exports.describeObjectsControllerDescribe = describeObjectsControllerDescribe;
|
|
@@ -5,31 +5,31 @@
|
|
|
5
5
|
* Authorization API extract (generated for client codegen).
|
|
6
6
|
* OpenAPI spec version: 0.1.0
|
|
7
7
|
*/
|
|
8
|
-
import type { CreateExecutionEnvironmentDto, EnvironmentsControllerFindBySlugParams, EnvironmentsControllerListParams, EnvironmentsControllerRemoveParams, EnvironmentsControllerUpdateParams,
|
|
8
|
+
import type { CreateExecutionEnvironmentDto, EnvironmentsControllerFindBySlugParams, EnvironmentsControllerListParams, EnvironmentsControllerRemoveParams, EnvironmentsControllerUpdateParams, ExecutionEnvironmentResponseDtoDataArrayEnvelope, ExecutionEnvironmentResponseDtoDataEnvelope, UpdateExecutionEnvironmentDto } from '../../models';
|
|
9
9
|
export declare const getEnvironmentsControllerListUrl: (params?: EnvironmentsControllerListParams) => string;
|
|
10
10
|
/**
|
|
11
11
|
* Returns the kernel-seeded built-in environments. With `orgId` it also includes that org's custom environments; without `orgId` it returns built-ins only (back-compat).
|
|
12
12
|
* @summary List ExecutionEnvironment rows
|
|
13
13
|
*/
|
|
14
|
-
export declare const environmentsControllerList: (params?: EnvironmentsControllerListParams, options?: RequestInit) => Promise<
|
|
14
|
+
export declare const environmentsControllerList: (params?: EnvironmentsControllerListParams, options?: RequestInit) => Promise<ExecutionEnvironmentResponseDtoDataArrayEnvelope>;
|
|
15
15
|
export declare const getEnvironmentsControllerCreateUrl: () => string;
|
|
16
16
|
/**
|
|
17
17
|
* Creates an org-scoped custom environment (`isBuiltIn=false`). Fails fast (409) if the slug collides with a built-in or with an existing custom in the same org.
|
|
18
18
|
* @summary Create an org-custom ExecutionEnvironment
|
|
19
19
|
*/
|
|
20
|
-
export declare const environmentsControllerCreate: (createExecutionEnvironmentDto: CreateExecutionEnvironmentDto, options?: RequestInit) => Promise<
|
|
20
|
+
export declare const environmentsControllerCreate: (createExecutionEnvironmentDto: CreateExecutionEnvironmentDto, options?: RequestInit) => Promise<ExecutionEnvironmentResponseDtoDataEnvelope>;
|
|
21
21
|
export declare const getEnvironmentsControllerFindBySlugUrl: (slug: string, params?: EnvironmentsControllerFindBySlugParams) => string;
|
|
22
22
|
/**
|
|
23
23
|
* Resolves a built-in by slug. With `orgId`, an org-custom slug resolves before the built-in fallback. 404 if unknown.
|
|
24
24
|
* @summary Fetch a single ExecutionEnvironment by slug
|
|
25
25
|
*/
|
|
26
|
-
export declare const environmentsControllerFindBySlug: (slug: string, params?: EnvironmentsControllerFindBySlugParams, options?: RequestInit) => Promise<
|
|
26
|
+
export declare const environmentsControllerFindBySlug: (slug: string, params?: EnvironmentsControllerFindBySlugParams, options?: RequestInit) => Promise<ExecutionEnvironmentResponseDtoDataEnvelope>;
|
|
27
27
|
export declare const getEnvironmentsControllerUpdateUrl: (slug: string, params: EnvironmentsControllerUpdateParams) => string;
|
|
28
28
|
/**
|
|
29
29
|
* Updates the mutable fields (description / allowedCapabilities / approvalRules / runtimeLimits) of an org-custom environment. Refuses built-ins with 403 (immutable). `slug` / `kind` / `orgId` are immutable.
|
|
30
30
|
* @summary Update an org-custom ExecutionEnvironment
|
|
31
31
|
*/
|
|
32
|
-
export declare const environmentsControllerUpdate: (slug: string, updateExecutionEnvironmentDto: UpdateExecutionEnvironmentDto, params: EnvironmentsControllerUpdateParams, options?: RequestInit) => Promise<
|
|
32
|
+
export declare const environmentsControllerUpdate: (slug: string, updateExecutionEnvironmentDto: UpdateExecutionEnvironmentDto, params: EnvironmentsControllerUpdateParams, options?: RequestInit) => Promise<ExecutionEnvironmentResponseDtoDataEnvelope>;
|
|
33
33
|
export declare const getEnvironmentsControllerRemoveUrl: (slug: string, params: EnvironmentsControllerRemoveParams) => string;
|
|
34
34
|
/**
|
|
35
35
|
* Deletes an org-custom environment. Refuses built-ins with 403 (immutable). 404 if no such custom environment exists for the org.
|
|
@@ -5,12 +5,12 @@
|
|
|
5
5
|
* Authorization API extract (generated for client codegen).
|
|
6
6
|
* OpenAPI spec version: 0.1.0
|
|
7
7
|
*/
|
|
8
|
-
import type {
|
|
8
|
+
import type { CapabilityGrantDtoDataEnvelope, CapabilityGrantDtoPaginatedEnvelope, CreateGrantDto, GrantsControllerListParams, UpdateGrantDto } from '../../models';
|
|
9
9
|
export declare const getGrantsControllerCreateUrl: () => string;
|
|
10
10
|
/**
|
|
11
11
|
* @summary Create a capability grant
|
|
12
12
|
*/
|
|
13
|
-
export declare const grantsControllerCreate: (createGrantDto: CreateGrantDto, options?: RequestInit) => Promise<
|
|
13
|
+
export declare const grantsControllerCreate: (createGrantDto: CreateGrantDto, options?: RequestInit) => Promise<CapabilityGrantDtoDataEnvelope>;
|
|
14
14
|
export declare const getGrantsControllerListUrl: (params?: GrantsControllerListParams) => string;
|
|
15
15
|
/**
|
|
16
16
|
* @summary List capability grants (paginated, filterable)
|
|
@@ -20,14 +20,14 @@ export declare const getGrantsControllerGetByIdUrl: (id: string) => string;
|
|
|
20
20
|
/**
|
|
21
21
|
* @summary Get a capability grant by id
|
|
22
22
|
*/
|
|
23
|
-
export declare const grantsControllerGetById: (id: string, options?: RequestInit) => Promise<
|
|
23
|
+
export declare const grantsControllerGetById: (id: string, options?: RequestInit) => Promise<CapabilityGrantDtoDataEnvelope>;
|
|
24
24
|
export declare const getGrantsControllerUpdateUrl: (id: string) => string;
|
|
25
25
|
/**
|
|
26
26
|
* @summary Update mutable fields on a capability grant
|
|
27
27
|
*/
|
|
28
|
-
export declare const grantsControllerUpdate: (id: string, updateGrantDto: UpdateGrantDto, options?: RequestInit) => Promise<
|
|
28
|
+
export declare const grantsControllerUpdate: (id: string, updateGrantDto: UpdateGrantDto, options?: RequestInit) => Promise<CapabilityGrantDtoDataEnvelope>;
|
|
29
29
|
export declare const getGrantsControllerRevokeUrl: (id: string) => string;
|
|
30
30
|
/**
|
|
31
31
|
* @summary Mark a capability grant as revoked
|
|
32
32
|
*/
|
|
33
|
-
export declare const grantsControllerRevoke: (id: string, options?: RequestInit) => Promise<
|
|
33
|
+
export declare const grantsControllerRevoke: (id: string, options?: RequestInit) => Promise<CapabilityGrantDtoDataEnvelope>;
|
|
@@ -5,10 +5,10 @@
|
|
|
5
5
|
* Authorization API extract (generated for client codegen).
|
|
6
6
|
* OpenAPI spec version: 0.1.0
|
|
7
7
|
*/
|
|
8
|
-
import type {
|
|
8
|
+
import type { ProfilePolicyTemplateDtoDataArrayEnvelope } from '../../models';
|
|
9
9
|
export declare const getProfilesControllerListUrl: () => string;
|
|
10
10
|
/**
|
|
11
11
|
* Returns the kernel-seeded `ProfilePolicyTemplate` rows. Used by the biome install UI to populate the profile picker.
|
|
12
12
|
* @summary List built-in BiomePermissionProfile policy templates
|
|
13
13
|
*/
|
|
14
|
-
export declare const profilesControllerList: (options?: RequestInit) => Promise<
|
|
14
|
+
export declare const profilesControllerList: (options?: RequestInit) => Promise<ProfilePolicyTemplateDtoDataArrayEnvelope>;
|
|
@@ -5,25 +5,25 @@
|
|
|
5
5
|
* Authorization API extract (generated for client codegen).
|
|
6
6
|
* OpenAPI spec version: 0.1.0
|
|
7
7
|
*/
|
|
8
|
-
import type { AddResourceShareDto, ListVisibleResourcesDto, RegisterResourceOwnershipDto,
|
|
8
|
+
import type { AddResourceShareDto, ListVisibleResourcesDto, RegisterResourceOwnershipDto, ResourceOwnershipDtoDataEnvelope, ResourceOwnershipReadDtoDataEnvelope, VisibleResourcesDtoDataEnvelope } from '../../models';
|
|
9
9
|
export declare const getResourcesControllerRegisterUrl: () => string;
|
|
10
10
|
/**
|
|
11
11
|
* Writes the ownership rows + OpenFGA tuples so the PDP ANDs the verb verdict with instance ownership. Idempotent (upsert + ignore-duplicate tuples). Org scope is forced from the caller context.
|
|
12
12
|
* @summary Register ownership/visibility of a resource instance
|
|
13
13
|
*/
|
|
14
|
-
export declare const resourcesControllerRegister: (registerResourceOwnershipDto: RegisterResourceOwnershipDto, options?: RequestInit) => Promise<
|
|
14
|
+
export declare const resourcesControllerRegister: (registerResourceOwnershipDto: RegisterResourceOwnershipDto, options?: RequestInit) => Promise<ResourceOwnershipDtoDataEnvelope>;
|
|
15
15
|
export declare const getResourcesControllerListVisibleUrl: () => string;
|
|
16
16
|
/**
|
|
17
17
|
* Unions OpenFGA owner/shared-with visibility (usersets expanded transitively) with org-shared instances. Org scope is forced from the caller context. Used by platform BFFs to visibility-filter a list on behalf of the end user they serve.
|
|
18
18
|
* @summary List the instances of a resource type a subject may see
|
|
19
19
|
*/
|
|
20
|
-
export declare const resourcesControllerListVisible: (listVisibleResourcesDto: ListVisibleResourcesDto, options?: RequestInit) => Promise<
|
|
20
|
+
export declare const resourcesControllerListVisible: (listVisibleResourcesDto: ListVisibleResourcesDto, options?: RequestInit) => Promise<VisibleResourcesDtoDataEnvelope>;
|
|
21
21
|
export declare const getResourcesControllerGetOwnershipUrl: (type: string, id: string) => string;
|
|
22
22
|
/**
|
|
23
23
|
* Returns the instance visibility and the combined set of registered subjects (owners + shares; the SQL authority does not split them). 404 when the instance was never registered.
|
|
24
24
|
* @summary Read a resource instance’s current visibility + subjects
|
|
25
25
|
*/
|
|
26
|
-
export declare const resourcesControllerGetOwnership: (type: string, id: string, options?: RequestInit) => Promise<
|
|
26
|
+
export declare const resourcesControllerGetOwnership: (type: string, id: string, options?: RequestInit) => Promise<ResourceOwnershipReadDtoDataEnvelope>;
|
|
27
27
|
export declare const getResourcesControllerDeregisterUrl: (type: string, id: string) => string;
|
|
28
28
|
/**
|
|
29
29
|
* Idempotent — a no-op when the instance was never registered.
|
|
@@ -5,12 +5,12 @@
|
|
|
5
5
|
* Authorization API extract (generated for client codegen).
|
|
6
6
|
* OpenAPI spec version: 0.1.0
|
|
7
7
|
*/
|
|
8
|
-
import type { AddRoleGrantDto, AssignRoleDto, CreateRoleDto, OrgRoleSyncDto,
|
|
8
|
+
import type { AddRoleGrantDto, AssignRoleDto, CreateRoleDto, OrgRoleSyncDto, OrgRoleSyncResultDtoDataEnvelope, RoleAssignmentDtoDataArrayEnvelope, RoleAssignmentDtoDataEnvelope, RoleDtoDataArrayEnvelope, RoleDtoDataEnvelope, RoleGrantDtoDataArrayEnvelope, RoleGrantDtoDataEnvelope, RolesControllerListParams, UpdateRoleDto } from '../../models';
|
|
9
9
|
export declare const getRolesControllerCreateUrl: () => string;
|
|
10
10
|
/**
|
|
11
11
|
* @summary Create a custom role
|
|
12
12
|
*/
|
|
13
|
-
export declare const rolesControllerCreate: (createRoleDto: CreateRoleDto, options?: RequestInit) => Promise<
|
|
13
|
+
export declare const rolesControllerCreate: (createRoleDto: CreateRoleDto, options?: RequestInit) => Promise<RoleDtoDataEnvelope>;
|
|
14
14
|
export declare const getRolesControllerListUrl: (params: RolesControllerListParams) => string;
|
|
15
15
|
/**
|
|
16
16
|
* @summary List roles in an org (custom + built-in)
|
|
@@ -20,12 +20,12 @@ export declare const getRolesControllerGetByIdUrl: (id: string) => string;
|
|
|
20
20
|
/**
|
|
21
21
|
* @summary Get a role by id
|
|
22
22
|
*/
|
|
23
|
-
export declare const rolesControllerGetById: (id: string, options?: RequestInit) => Promise<
|
|
23
|
+
export declare const rolesControllerGetById: (id: string, options?: RequestInit) => Promise<RoleDtoDataEnvelope>;
|
|
24
24
|
export declare const getRolesControllerUpdateUrl: (id: string) => string;
|
|
25
25
|
/**
|
|
26
26
|
* @summary Update a custom role (built-ins are immutable)
|
|
27
27
|
*/
|
|
28
|
-
export declare const rolesControllerUpdate: (id: string, updateRoleDto: UpdateRoleDto, options?: RequestInit) => Promise<
|
|
28
|
+
export declare const rolesControllerUpdate: (id: string, updateRoleDto: UpdateRoleDto, options?: RequestInit) => Promise<RoleDtoDataEnvelope>;
|
|
29
29
|
export declare const getRolesControllerDeleteUrl: (id: string) => string;
|
|
30
30
|
/**
|
|
31
31
|
* @summary Delete a custom role (cascades grants + assignments)
|
|
@@ -40,7 +40,7 @@ export declare const getRolesControllerAddGrantUrl: (id: string) => string;
|
|
|
40
40
|
/**
|
|
41
41
|
* @summary Add a capability grant to a role
|
|
42
42
|
*/
|
|
43
|
-
export declare const rolesControllerAddGrant: (id: string, addRoleGrantDto: AddRoleGrantDto, options?: RequestInit) => Promise<
|
|
43
|
+
export declare const rolesControllerAddGrant: (id: string, addRoleGrantDto: AddRoleGrantDto, options?: RequestInit) => Promise<RoleGrantDtoDataEnvelope>;
|
|
44
44
|
export declare const getRolesControllerRemoveGrantUrl: (id: string, grantId: string) => string;
|
|
45
45
|
/**
|
|
46
46
|
* @summary Remove a capability grant from a role
|
|
@@ -55,7 +55,7 @@ export declare const getRolesControllerAssignUrl: (id: string) => string;
|
|
|
55
55
|
/**
|
|
56
56
|
* @summary Assign a role to a subject or a team
|
|
57
57
|
*/
|
|
58
|
-
export declare const rolesControllerAssign: (id: string, assignRoleDto: AssignRoleDto, options?: RequestInit) => Promise<
|
|
58
|
+
export declare const rolesControllerAssign: (id: string, assignRoleDto: AssignRoleDto, options?: RequestInit) => Promise<RoleAssignmentDtoDataEnvelope>;
|
|
59
59
|
export declare const getRolesControllerUnassignUrl: (id: string, assignmentId: string) => string;
|
|
60
60
|
/**
|
|
61
61
|
* @summary Remove a role assignment
|
|
@@ -65,4 +65,4 @@ export declare const getOrgRoleSyncControllerSyncUrl: () => string;
|
|
|
65
65
|
/**
|
|
66
66
|
* @summary Ensure a subject holds the given org role, correctly org-scoped (idempotent).
|
|
67
67
|
*/
|
|
68
|
-
export declare const orgRoleSyncControllerSync: (orgRoleSyncDto: OrgRoleSyncDto, options?: RequestInit) => Promise<
|
|
68
|
+
export declare const orgRoleSyncControllerSync: (orgRoleSyncDto: OrgRoleSyncDto, options?: RequestInit) => Promise<OrgRoleSyncResultDtoDataEnvelope>;
|
|
@@ -5,12 +5,12 @@
|
|
|
5
5
|
* Authorization API extract (generated for client codegen).
|
|
6
6
|
* OpenAPI spec version: 0.1.0
|
|
7
7
|
*/
|
|
8
|
-
import type { AddTeamMemberDto, CreateTeamDto,
|
|
8
|
+
import type { AddTeamMemberDto, CreateTeamDto, TeamDtoDataArrayEnvelope, TeamDtoDataEnvelope, TeamMembershipDtoDataArrayEnvelope, TeamMembershipDtoDataEnvelope, TeamsControllerListParams, UpdateTeamDto } from '../../models';
|
|
9
9
|
export declare const getTeamsControllerCreateUrl: () => string;
|
|
10
10
|
/**
|
|
11
11
|
* @summary Create a team
|
|
12
12
|
*/
|
|
13
|
-
export declare const teamsControllerCreate: (createTeamDto: CreateTeamDto, options?: RequestInit) => Promise<
|
|
13
|
+
export declare const teamsControllerCreate: (createTeamDto: CreateTeamDto, options?: RequestInit) => Promise<TeamDtoDataEnvelope>;
|
|
14
14
|
export declare const getTeamsControllerListUrl: (params: TeamsControllerListParams) => string;
|
|
15
15
|
/**
|
|
16
16
|
* @summary List teams in an org
|
|
@@ -20,12 +20,12 @@ export declare const getTeamsControllerGetByIdUrl: (id: string) => string;
|
|
|
20
20
|
/**
|
|
21
21
|
* @summary Get a team by id
|
|
22
22
|
*/
|
|
23
|
-
export declare const teamsControllerGetById: (id: string, options?: RequestInit) => Promise<
|
|
23
|
+
export declare const teamsControllerGetById: (id: string, options?: RequestInit) => Promise<TeamDtoDataEnvelope>;
|
|
24
24
|
export declare const getTeamsControllerUpdateUrl: (id: string) => string;
|
|
25
25
|
/**
|
|
26
26
|
* @summary Update a team (rename, re-describe, re-parent)
|
|
27
27
|
*/
|
|
28
|
-
export declare const teamsControllerUpdate: (id: string, updateTeamDto: UpdateTeamDto, options?: RequestInit) => Promise<
|
|
28
|
+
export declare const teamsControllerUpdate: (id: string, updateTeamDto: UpdateTeamDto, options?: RequestInit) => Promise<TeamDtoDataEnvelope>;
|
|
29
29
|
export declare const getTeamsControllerDeleteUrl: (id: string) => string;
|
|
30
30
|
/**
|
|
31
31
|
* @summary Delete a team (cascades memberships + assignments)
|
|
@@ -40,7 +40,7 @@ export declare const getTeamsControllerAddMemberUrl: (id: string) => string;
|
|
|
40
40
|
/**
|
|
41
41
|
* @summary Add a subject (user/agent/service/app/external) to a team
|
|
42
42
|
*/
|
|
43
|
-
export declare const teamsControllerAddMember: (id: string, addTeamMemberDto: AddTeamMemberDto, options?: RequestInit) => Promise<
|
|
43
|
+
export declare const teamsControllerAddMember: (id: string, addTeamMemberDto: AddTeamMemberDto, options?: RequestInit) => Promise<TeamMembershipDtoDataEnvelope>;
|
|
44
44
|
export declare const getTeamsControllerRemoveMemberUrl: (id: string, membershipId: string) => string;
|
|
45
45
|
/**
|
|
46
46
|
* @summary Remove a member from a team
|
package/dist/index.d.ts
CHANGED
|
@@ -2,7 +2,9 @@ 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/contribution-sync/contribution-sync';
|
|
5
6
|
export * from './endpoints/credential-defaults/credential-defaults';
|
|
7
|
+
export * from './endpoints/describe-objects/describe-objects';
|
|
6
8
|
export * from './endpoints/environments/environments';
|
|
7
9
|
export * from './endpoints/grants/grants';
|
|
8
10
|
export * from './endpoints/profiles/profiles';
|
package/dist/index.js
CHANGED
|
@@ -24,7 +24,9 @@ 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/contribution-sync/contribution-sync"), exports);
|
|
27
28
|
__exportStar(require("./endpoints/credential-defaults/credential-defaults"), exports);
|
|
29
|
+
__exportStar(require("./endpoints/describe-objects/describe-objects"), exports);
|
|
28
30
|
__exportStar(require("./endpoints/environments/environments"), exports);
|
|
29
31
|
__exportStar(require("./endpoints/grants/grants"), exports);
|
|
30
32
|
__exportStar(require("./endpoints/profiles/profiles"), exports);
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.16.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Authorization API
|
|
5
|
+
* Authorization API extract (generated for client codegen).
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
import type { AuthorizationCheckResponseDto } from './authorizationCheckResponseDto.js';
|
|
9
|
+
export interface AuthorizationCheckResponseDtoDataEnvelope {
|
|
10
|
+
data: AuthorizationCheckResponseDto;
|
|
11
|
+
}
|
|
@@ -5,9 +5,6 @@
|
|
|
5
5
|
* Authorization API extract (generated for client codegen).
|
|
6
6
|
* OpenAPI spec version: 0.1.0
|
|
7
7
|
*/
|
|
8
|
-
/**
|
|
9
|
-
* Profile template that materialised this row, if any.
|
|
10
|
-
*/
|
|
11
8
|
export type BiomePermissionProfile = typeof BiomePermissionProfile[keyof typeof BiomePermissionProfile];
|
|
12
9
|
export declare const BiomePermissionProfile: {
|
|
13
10
|
readonly 'read-only-assistant': "read-only-assistant";
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.16.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Authorization API
|
|
5
|
+
* Authorization API extract (generated for client codegen).
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
import type { CapabilityGrantDto } from './capabilityGrantDto.js';
|
|
9
|
+
export interface CapabilityGrantDtoDataEnvelope {
|
|
10
|
+
data: CapabilityGrantDto;
|
|
11
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.16.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Authorization API
|
|
5
|
+
* Authorization API extract (generated for client codegen).
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
import type { XemaObjectResponseDto } from './xemaObjectResponseDto.js';
|
|
9
|
+
export interface DescribeObjectsResponseDto {
|
|
10
|
+
/** Owning-service identifier. The registry replaces the cache slice keyed by this value atomically. */
|
|
11
|
+
source: string;
|
|
12
|
+
/** Full set of XemaObjects this service currently owns. */
|
|
13
|
+
objects: XemaObjectResponseDto[];
|
|
14
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.16.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Authorization API
|
|
5
|
+
* Authorization API extract (generated for client codegen).
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
import type { DescribeObjectsResponseDto } from './describeObjectsResponseDto.js';
|
|
9
|
+
export interface DescribeObjectsResponseDtoDataEnvelope {
|
|
10
|
+
data: DescribeObjectsResponseDto;
|
|
11
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.16.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Authorization API
|
|
5
|
+
* Authorization API extract (generated for client codegen).
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
import type { ErrorDetailsDtoDetails } from './errorDetailsDtoDetails.js';
|
|
9
|
+
export interface ErrorDetailsDto {
|
|
10
|
+
/** @nullable */
|
|
11
|
+
details: ErrorDetailsDtoDetails;
|
|
12
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.16.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Authorization API
|
|
5
|
+
* Authorization API extract (generated for client codegen).
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* @nullable
|
|
10
|
+
*/
|
|
11
|
+
export type ErrorDetailsDtoDetails = {
|
|
12
|
+
[key: string]: unknown;
|
|
13
|
+
} | null;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by orval v8.16.0 🍺
|
|
4
|
+
* Do not edit manually.
|
|
5
|
+
* Authorization API
|
|
6
|
+
* Authorization API extract (generated for client codegen).
|
|
7
|
+
* OpenAPI spec version: 0.1.0
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.16.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Authorization API
|
|
5
|
+
* Authorization API extract (generated for client codegen).
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
import type { ErrorDetailsDto } from './errorDetailsDto.js';
|
|
9
|
+
export interface ErrorPayloadDto {
|
|
10
|
+
code: string;
|
|
11
|
+
message: string;
|
|
12
|
+
details: ErrorDetailsDto | null;
|
|
13
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.16.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Authorization API
|
|
5
|
+
* Authorization API extract (generated for client codegen).
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
import type { ErrorPayloadDto } from './errorPayloadDto.js';
|
|
9
|
+
export interface ErrorResponseDto {
|
|
10
|
+
error: ErrorPayloadDto;
|
|
11
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.16.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Authorization API
|
|
5
|
+
* Authorization API extract (generated for client codegen).
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
import type { ExecutionEnvironmentResponseDto } from './executionEnvironmentResponseDto.js';
|
|
9
|
+
export interface ExecutionEnvironmentResponseDtoDataArrayEnvelope {
|
|
10
|
+
data: ExecutionEnvironmentResponseDto[];
|
|
11
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.16.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Authorization API
|
|
5
|
+
* Authorization API extract (generated for client codegen).
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
import type { ExecutionEnvironmentResponseDto } from './executionEnvironmentResponseDto.js';
|
|
9
|
+
export interface ExecutionEnvironmentResponseDtoDataEnvelope {
|
|
10
|
+
data: ExecutionEnvironmentResponseDto;
|
|
11
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.16.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Authorization API
|
|
5
|
+
* Authorization API extract (generated for client codegen).
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
export interface GrantVersionResponseDto {
|
|
9
|
+
/** Organization the version belongs to. */
|
|
10
|
+
orgId: string;
|
|
11
|
+
/** Monotonic per-org grant version. `0` means no grant change has been recorded for the org yet (a valid baseline, not an error). */
|
|
12
|
+
grantVersion: number;
|
|
13
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by orval v8.16.0 🍺
|
|
4
|
+
* Do not edit manually.
|
|
5
|
+
* Authorization API
|
|
6
|
+
* Authorization API extract (generated for client codegen).
|
|
7
|
+
* OpenAPI spec version: 0.1.0
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.16.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Authorization API
|
|
5
|
+
* Authorization API extract (generated for client codegen).
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
import type { GrantVersionResponseDto } from './grantVersionResponseDto.js';
|
|
9
|
+
export interface GrantVersionResponseDtoDataEnvelope {
|
|
10
|
+
data: GrantVersionResponseDto;
|
|
11
|
+
}
|