@xemahq/authorization-internal-api-client 0.1.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/LICENSE +201 -0
- package/README.md +62 -0
- package/dist/custom-fetch.d.ts +48 -0
- package/dist/custom-fetch.js +146 -0
- package/dist/endpoints/authorization/authorization.d.ts +20 -0
- package/dist/endpoints/authorization/authorization.js +38 -0
- package/dist/endpoints/credential-defaults/credential-defaults.d.ts +28 -0
- package/dist/endpoints/credential-defaults/credential-defaults.js +119 -0
- package/dist/endpoints/environments/environments.d.ts +38 -0
- package/dist/endpoints/environments/environments.js +159 -0
- package/dist/endpoints/grants/grants.d.ts +33 -0
- package/dist/endpoints/grants/grants.js +97 -0
- package/dist/endpoints/profiles/profiles.d.ts +14 -0
- package/dist/endpoints/profiles/profiles.js +19 -0
- package/dist/endpoints/relationships/relationships.d.ts +14 -0
- package/dist/endpoints/relationships/relationships.js +38 -0
- package/dist/endpoints/roles/roles.d.ts +63 -0
- package/dist/endpoints/roles/roles.js +185 -0
- package/dist/endpoints/teams/teams.d.ts +48 -0
- package/dist/endpoints/teams/teams.js +141 -0
- package/dist/index.d.ts +10 -0
- package/dist/index.js +32 -0
- package/dist/models/addRoleGrantDto.d.ts +17 -0
- package/dist/models/addRoleGrantDto.js +2 -0
- package/dist/models/addTeamMemberDto.d.ts +12 -0
- package/dist/models/addTeamMemberDto.js +2 -0
- package/dist/models/assignRoleDto.d.ts +16 -0
- package/dist/models/assignRoleDto.js +2 -0
- package/dist/models/authorizationCheckRequestDto.d.ts +23 -0
- package/dist/models/authorizationCheckRequestDto.js +2 -0
- package/dist/models/authorizationCheckResponseDto.d.ts +16 -0
- package/dist/models/authorizationCheckResponseDto.js +2 -0
- package/dist/models/authorizationDecisionCode.d.ts +15 -0
- package/dist/models/authorizationDecisionCode.js +17 -0
- package/dist/models/authorizationReasonDto.d.ts +12 -0
- package/dist/models/authorizationReasonDto.js +2 -0
- package/dist/models/authorizationSuggestionDto.d.ts +18 -0
- package/dist/models/authorizationSuggestionDto.js +2 -0
- package/dist/models/authorizationSuggestionKind.d.ts +13 -0
- package/dist/models/authorizationSuggestionKind.js +15 -0
- package/dist/models/biomePermissionProfile.d.ts +22 -0
- package/dist/models/biomePermissionProfile.js +21 -0
- package/dist/models/biomeTrustTier.d.ts +14 -0
- package/dist/models/biomeTrustTier.js +16 -0
- package/dist/models/callerKind.d.ts +16 -0
- package/dist/models/callerKind.js +18 -0
- package/dist/models/capabilityGrantDto.d.ts +32 -0
- package/dist/models/capabilityGrantDto.js +2 -0
- package/dist/models/capabilityGrantRelation.d.ts +12 -0
- package/dist/models/capabilityGrantRelation.js +14 -0
- package/dist/models/createExecutionEnvironmentDto.d.ts +26 -0
- package/dist/models/createExecutionEnvironmentDto.js +2 -0
- package/dist/models/createExecutionEnvironmentDtoAllowedCapabilitiesItem.d.ts +10 -0
- package/dist/models/createExecutionEnvironmentDtoAllowedCapabilitiesItem.js +9 -0
- package/dist/models/createExecutionEnvironmentDtoApprovalRulesItem.d.ts +10 -0
- package/dist/models/createExecutionEnvironmentDtoApprovalRulesItem.js +9 -0
- package/dist/models/createExecutionEnvironmentDtoRuntimeLimits.d.ts +13 -0
- package/dist/models/createExecutionEnvironmentDtoRuntimeLimits.js +9 -0
- package/dist/models/createGrantDto.d.ts +28 -0
- package/dist/models/createGrantDto.js +2 -0
- package/dist/models/createRoleDto.d.ts +13 -0
- package/dist/models/createRoleDto.js +9 -0
- package/dist/models/createTeamDto.d.ts +16 -0
- package/dist/models/createTeamDto.js +9 -0
- package/dist/models/credentialDefaultDto.d.ts +21 -0
- package/dist/models/credentialDefaultDto.js +9 -0
- package/dist/models/credentialDefaultDtoDataArrayEnvelope.d.ts +11 -0
- package/dist/models/credentialDefaultDtoDataArrayEnvelope.js +2 -0
- package/dist/models/credentialDefaultDtoDataEnvelope.d.ts +11 -0
- package/dist/models/credentialDefaultDtoDataEnvelope.js +2 -0
- package/dist/models/credentialDefaultsControllerDeleteParams.d.ts +17 -0
- package/dist/models/credentialDefaultsControllerDeleteParams.js +9 -0
- package/dist/models/credentialDefaultsControllerGetParams.d.ts +17 -0
- package/dist/models/credentialDefaultsControllerGetParams.js +9 -0
- package/dist/models/credentialDefaultsControllerListParams.d.ts +10 -0
- package/dist/models/credentialDefaultsControllerListParams.js +9 -0
- package/dist/models/credentialPrecedenceSource.d.ts +17 -0
- package/dist/models/credentialPrecedenceSource.js +16 -0
- package/dist/models/dataClassification.d.ts +15 -0
- package/dist/models/dataClassification.js +17 -0
- package/dist/models/dataResidency.d.ts +13 -0
- package/dist/models/dataResidency.js +15 -0
- package/dist/models/environmentsControllerFindBySlugParams.d.ts +13 -0
- package/dist/models/environmentsControllerFindBySlugParams.js +9 -0
- package/dist/models/environmentsControllerListParams.d.ts +13 -0
- package/dist/models/environmentsControllerListParams.js +9 -0
- package/dist/models/environmentsControllerRemoveParams.d.ts +13 -0
- package/dist/models/environmentsControllerRemoveParams.js +9 -0
- package/dist/models/environmentsControllerUpdateParams.d.ts +13 -0
- package/dist/models/environmentsControllerUpdateParams.js +9 -0
- package/dist/models/executionEnvironmentKind.d.ts +22 -0
- package/dist/models/executionEnvironmentKind.js +21 -0
- package/dist/models/executionEnvironmentResponseDto.d.ts +37 -0
- package/dist/models/executionEnvironmentResponseDto.js +2 -0
- package/dist/models/executionEnvironmentResponseDtoAllowedCapabilitiesItem.d.ts +10 -0
- package/dist/models/executionEnvironmentResponseDtoAllowedCapabilitiesItem.js +9 -0
- package/dist/models/executionEnvironmentResponseDtoApprovalRulesItem.d.ts +10 -0
- package/dist/models/executionEnvironmentResponseDtoApprovalRulesItem.js +9 -0
- package/dist/models/executionEnvironmentResponseDtoOrgId.d.ts +14 -0
- package/dist/models/executionEnvironmentResponseDtoOrgId.js +9 -0
- package/dist/models/executionEnvironmentResponseDtoRuntimeLimits.d.ts +13 -0
- package/dist/models/executionEnvironmentResponseDtoRuntimeLimits.js +9 -0
- package/dist/models/grantConstraintsDto.d.ts +13 -0
- package/dist/models/grantConstraintsDto.js +9 -0
- package/dist/models/grantsControllerListParams.d.ts +28 -0
- package/dist/models/grantsControllerListParams.js +2 -0
- package/dist/models/index.d.ts +89 -0
- package/dist/models/index.js +106 -0
- package/dist/models/listGrantsResponseDto.d.ts +14 -0
- package/dist/models/listGrantsResponseDto.js +2 -0
- package/dist/models/listProfilesResponseDto.d.ts +11 -0
- package/dist/models/listProfilesResponseDto.js +2 -0
- package/dist/models/listRelationshipsResponseDto.d.ts +14 -0
- package/dist/models/listRelationshipsResponseDto.js +2 -0
- package/dist/models/listRoleAssignmentsResponseDto.d.ts +12 -0
- package/dist/models/listRoleAssignmentsResponseDto.js +2 -0
- package/dist/models/listRoleGrantsResponseDto.d.ts +12 -0
- package/dist/models/listRoleGrantsResponseDto.js +2 -0
- package/dist/models/listRolesResponseDto.d.ts +14 -0
- package/dist/models/listRolesResponseDto.js +2 -0
- package/dist/models/listTeamMembersResponseDto.d.ts +12 -0
- package/dist/models/listTeamMembersResponseDto.js +2 -0
- package/dist/models/listTeamsResponseDto.d.ts +14 -0
- package/dist/models/listTeamsResponseDto.js +2 -0
- package/dist/models/openFgaRelationshipDto.d.ts +16 -0
- package/dist/models/openFgaRelationshipDto.js +2 -0
- package/dist/models/policyActingForDto.d.ts +12 -0
- package/dist/models/policyActingForDto.js +2 -0
- package/dist/models/policyBiomeDto.d.ts +14 -0
- package/dist/models/policyBiomeDto.js +2 -0
- package/dist/models/policyCallerDto.d.ts +15 -0
- package/dist/models/policyCallerDto.js +2 -0
- package/dist/models/policyCapabilityDto.d.ts +12 -0
- package/dist/models/policyCapabilityDto.js +9 -0
- package/dist/models/policyCheckRequestDto.d.ts +28 -0
- package/dist/models/policyCheckRequestDto.js +2 -0
- package/dist/models/policyConstraintsDto.d.ts +14 -0
- package/dist/models/policyConstraintsDto.js +9 -0
- package/dist/models/policyDecisionDto.d.ts +22 -0
- package/dist/models/policyDecisionDto.js +2 -0
- package/dist/models/policyDecisionKind.d.ts +13 -0
- package/dist/models/policyDecisionKind.js +15 -0
- package/dist/models/policyEnvironmentDto.d.ts +13 -0
- package/dist/models/policyEnvironmentDto.js +9 -0
- package/dist/models/policyObligationDto.d.ts +20 -0
- package/dist/models/policyObligationDto.js +2 -0
- package/dist/models/policyObligationKind.d.ts +18 -0
- package/dist/models/policyObligationKind.js +20 -0
- package/dist/models/policyResourceDto.d.ts +12 -0
- package/dist/models/policyResourceDto.js +2 -0
- package/dist/models/policyRouteHintDto.d.ts +15 -0
- package/dist/models/policyRouteHintDto.js +2 -0
- package/dist/models/policyRouteHintDtoRequiredRunnerLabels.d.ts +10 -0
- package/dist/models/policyRouteHintDtoRequiredRunnerLabels.js +9 -0
- package/dist/models/policySpaceRefDto.d.ts +18 -0
- package/dist/models/policySpaceRefDto.js +2 -0
- package/dist/models/policySubjectRefDto.d.ts +15 -0
- package/dist/models/policySubjectRefDto.js +2 -0
- package/dist/models/profilePolicyTemplateDto.d.ts +20 -0
- package/dist/models/profilePolicyTemplateDto.js +2 -0
- package/dist/models/profilePolicyTemplateDtoNotes.d.ts +13 -0
- package/dist/models/profilePolicyTemplateDtoNotes.js +9 -0
- package/dist/models/relationshipsControllerListParams.d.ts +44 -0
- package/dist/models/relationshipsControllerListParams.js +2 -0
- package/dist/models/roleAssignmentDto.d.ts +19 -0
- package/dist/models/roleAssignmentDto.js +2 -0
- package/dist/models/roleAssignmentDtoDataArrayEnvelope.d.ts +11 -0
- package/dist/models/roleAssignmentDtoDataArrayEnvelope.js +2 -0
- package/dist/models/roleAssignmentDtoSubjectRef.d.ts +13 -0
- package/dist/models/roleAssignmentDtoSubjectRef.js +9 -0
- package/dist/models/roleAssignmentDtoTeamId.d.ts +13 -0
- package/dist/models/roleAssignmentDtoTeamId.js +9 -0
- package/dist/models/roleDto.d.ts +19 -0
- package/dist/models/roleDto.js +9 -0
- package/dist/models/roleDtoDataArrayEnvelope.d.ts +11 -0
- package/dist/models/roleDtoDataArrayEnvelope.js +2 -0
- package/dist/models/roleDtoDescription.d.ts +13 -0
- package/dist/models/roleDtoDescription.js +9 -0
- package/dist/models/roleGrantDto.d.ts +18 -0
- package/dist/models/roleGrantDto.js +2 -0
- package/dist/models/roleGrantDtoDataArrayEnvelope.d.ts +11 -0
- package/dist/models/roleGrantDtoDataArrayEnvelope.js +2 -0
- package/dist/models/rolesControllerListParams.d.ts +14 -0
- package/dist/models/rolesControllerListParams.js +9 -0
- package/dist/models/runnerKind.d.ts +17 -0
- package/dist/models/runnerKind.js +19 -0
- package/dist/models/spaceKind.d.ts +17 -0
- package/dist/models/spaceKind.js +19 -0
- package/dist/models/subjectKind.d.ts +20 -0
- package/dist/models/subjectKind.js +22 -0
- package/dist/models/subjectRefDto.d.ts +14 -0
- package/dist/models/subjectRefDto.js +2 -0
- package/dist/models/teamDto.d.ts +19 -0
- package/dist/models/teamDto.js +9 -0
- package/dist/models/teamDtoDataArrayEnvelope.d.ts +11 -0
- package/dist/models/teamDtoDataArrayEnvelope.js +2 -0
- package/dist/models/teamDtoDescription.d.ts +13 -0
- package/dist/models/teamDtoDescription.js +9 -0
- package/dist/models/teamDtoParentTeamId.d.ts +13 -0
- package/dist/models/teamDtoParentTeamId.js +9 -0
- package/dist/models/teamMembershipDto.d.ts +15 -0
- package/dist/models/teamMembershipDto.js +2 -0
- package/dist/models/teamMembershipDtoDataArrayEnvelope.d.ts +11 -0
- package/dist/models/teamMembershipDtoDataArrayEnvelope.js +2 -0
- package/dist/models/teamsControllerListParams.d.ts +17 -0
- package/dist/models/teamsControllerListParams.js +9 -0
- package/dist/models/updateExecutionEnvironmentDto.d.ts +19 -0
- package/dist/models/updateExecutionEnvironmentDto.js +2 -0
- package/dist/models/updateExecutionEnvironmentDtoAllowedCapabilitiesItem.d.ts +10 -0
- package/dist/models/updateExecutionEnvironmentDtoAllowedCapabilitiesItem.js +9 -0
- package/dist/models/updateExecutionEnvironmentDtoApprovalRulesItem.d.ts +10 -0
- package/dist/models/updateExecutionEnvironmentDtoApprovalRulesItem.js +9 -0
- package/dist/models/updateExecutionEnvironmentDtoRuntimeLimits.d.ts +13 -0
- package/dist/models/updateExecutionEnvironmentDtoRuntimeLimits.js +9 -0
- package/dist/models/updateGrantDto.d.ts +18 -0
- package/dist/models/updateGrantDto.js +2 -0
- package/dist/models/updateRoleDto.d.ts +11 -0
- package/dist/models/updateRoleDto.js +9 -0
- package/dist/models/updateTeamDto.d.ts +16 -0
- package/dist/models/updateTeamDto.js +9 -0
- package/dist/models/updateTeamDtoParentTeamId.d.ts +14 -0
- package/dist/models/updateTeamDtoParentTeamId.js +9 -0
- package/dist/models/upsertCredentialDefaultDto.d.ts +15 -0
- package/dist/models/upsertCredentialDefaultDto.js +9 -0
- package/package.json +27 -0
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.6.2 🍺
|
|
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 { CreateExecutionEnvironmentDtoAllowedCapabilitiesItem } from './createExecutionEnvironmentDtoAllowedCapabilitiesItem';
|
|
9
|
+
import type { CreateExecutionEnvironmentDtoApprovalRulesItem } from './createExecutionEnvironmentDtoApprovalRulesItem';
|
|
10
|
+
import type { CreateExecutionEnvironmentDtoRuntimeLimits } from './createExecutionEnvironmentDtoRuntimeLimits';
|
|
11
|
+
import type { ExecutionEnvironmentKind } from './executionEnvironmentKind';
|
|
12
|
+
export interface CreateExecutionEnvironmentDto {
|
|
13
|
+
/** Owning organization. Scopes the custom environment to the tenant. */
|
|
14
|
+
orgId: string;
|
|
15
|
+
/** Environment slug (lowercase kebab, must start with a letter). Unique per org; must not collide with a built-in slug. */
|
|
16
|
+
slug: string;
|
|
17
|
+
/** ExecutionEnvironmentKind classification for this environment. */
|
|
18
|
+
kind: ExecutionEnvironmentKind;
|
|
19
|
+
description: string;
|
|
20
|
+
/** Per-environment capability allow-list (`CapabilityPolicy[]`). Defaults to `[]`. */
|
|
21
|
+
allowedCapabilities?: CreateExecutionEnvironmentDtoAllowedCapabilitiesItem[];
|
|
22
|
+
/** Approval rules (`ApprovalRule[]`). Defaults to `[]`. */
|
|
23
|
+
approvalRules?: CreateExecutionEnvironmentDtoApprovalRulesItem[];
|
|
24
|
+
/** Runtime limits (`RuntimeLimits`). Defaults to `{}`. */
|
|
25
|
+
runtimeLimits?: CreateExecutionEnvironmentDtoRuntimeLimits;
|
|
26
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.6.2 🍺
|
|
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 type CreateExecutionEnvironmentDtoAllowedCapabilitiesItem = {
|
|
9
|
+
[key: string]: unknown;
|
|
10
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.6.2 🍺
|
|
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 type CreateExecutionEnvironmentDtoApprovalRulesItem = {
|
|
9
|
+
[key: string]: unknown;
|
|
10
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.6.2 🍺
|
|
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
|
+
* Runtime limits (`RuntimeLimits`). Defaults to `{}`.
|
|
10
|
+
*/
|
|
11
|
+
export type CreateExecutionEnvironmentDtoRuntimeLimits = {
|
|
12
|
+
[key: string]: unknown;
|
|
13
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.6.2 🍺
|
|
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 { BiomePermissionProfile } from './biomePermissionProfile';
|
|
9
|
+
import type { GrantConstraintsDto } from './grantConstraintsDto';
|
|
10
|
+
import type { SubjectKind } from './subjectKind';
|
|
11
|
+
export interface CreateGrantDto {
|
|
12
|
+
/** Organization identifier. Scopes the grant to the tenant. */
|
|
13
|
+
orgId: string;
|
|
14
|
+
subjectKind: SubjectKind;
|
|
15
|
+
subjectRef: string;
|
|
16
|
+
/** Canonical CapabilityRef from `@xemahq/kernel-contracts/capability`. */
|
|
17
|
+
capability: string;
|
|
18
|
+
/** Glob over XVFS resource refs. Phase 4 enforces; Phase 3 stores only. */
|
|
19
|
+
resourceGlob?: string;
|
|
20
|
+
/** Built-in environment slug. Phase 3 stores but does not enforce (plan §17.4 footnote). */
|
|
21
|
+
environment: string;
|
|
22
|
+
constraints?: GrantConstraintsDto;
|
|
23
|
+
requiresApproval?: boolean;
|
|
24
|
+
/** Profile template that materialised this row, if any. */
|
|
25
|
+
profile?: BiomePermissionProfile;
|
|
26
|
+
/** Opaque credential-binding pointer (plan §W4.1). EXPLICIT (highest-precedence) tier of the credential ladder. Not a secret; NOT tuple-affecting. */
|
|
27
|
+
credentialBindingId?: string;
|
|
28
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.6.2 🍺
|
|
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 CreateRoleDto {
|
|
9
|
+
orgId: string;
|
|
10
|
+
slug: string;
|
|
11
|
+
displayName: string;
|
|
12
|
+
description?: string;
|
|
13
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.6.2 🍺
|
|
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 CreateTeamDto {
|
|
9
|
+
orgId: string;
|
|
10
|
+
/** Org-unique stable slug (lowercase alphanumeric + dashes). */
|
|
11
|
+
slug: string;
|
|
12
|
+
displayName: string;
|
|
13
|
+
description?: string;
|
|
14
|
+
/** Parent team id — ENTERPRISE nesting. The new team becomes a sub-team whose members roll up into the parent. Entitlement-gated at the org-admin BFF (`teams.nested`). */
|
|
15
|
+
parentTeamId?: string;
|
|
16
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.6.2 🍺
|
|
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 CredentialDefaultDto {
|
|
9
|
+
id: string;
|
|
10
|
+
/** Organization identifier this default is scoped to. */
|
|
11
|
+
orgId: string;
|
|
12
|
+
/**
|
|
13
|
+
* Project identifier; null means this is the ORG-wide default.
|
|
14
|
+
* @nullable
|
|
15
|
+
*/
|
|
16
|
+
projectId?: string | null;
|
|
17
|
+
/** Opaque credential-binding pointer. Not a secret. */
|
|
18
|
+
credentialBindingId: string;
|
|
19
|
+
createdAt: string;
|
|
20
|
+
updatedAt: string;
|
|
21
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.6.2 🍺
|
|
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 { CredentialDefaultDto } from './credentialDefaultDto';
|
|
9
|
+
export interface CredentialDefaultDtoDataArrayEnvelope {
|
|
10
|
+
data: CredentialDefaultDto[];
|
|
11
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.6.2 🍺
|
|
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 { CredentialDefaultDto } from './credentialDefaultDto';
|
|
9
|
+
export interface CredentialDefaultDtoDataEnvelope {
|
|
10
|
+
data: CredentialDefaultDto;
|
|
11
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.6.2 🍺
|
|
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 type CredentialDefaultsControllerDeleteParams = {
|
|
9
|
+
/**
|
|
10
|
+
* Organization identifier.
|
|
11
|
+
*/
|
|
12
|
+
orgId: string;
|
|
13
|
+
/**
|
|
14
|
+
* Project identifier. Omit for the ORG-wide default; set for a per-project default.
|
|
15
|
+
*/
|
|
16
|
+
projectId?: string;
|
|
17
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.6.2 🍺
|
|
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 type CredentialDefaultsControllerGetParams = {
|
|
9
|
+
/**
|
|
10
|
+
* Organization identifier.
|
|
11
|
+
*/
|
|
12
|
+
orgId: string;
|
|
13
|
+
/**
|
|
14
|
+
* Project identifier. Omit for the ORG-wide default; set for a per-project default.
|
|
15
|
+
*/
|
|
16
|
+
projectId?: string;
|
|
17
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.6.2 🍺
|
|
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 type CredentialDefaultsControllerListParams = {
|
|
9
|
+
orgId: string;
|
|
10
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.6.2 🍺
|
|
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
|
+
* Which precedence tier supplied `credentialBindingId` (explicit grant > capability default > project default > org default). Populated iff `credentialBindingId` is present.
|
|
10
|
+
*/
|
|
11
|
+
export type CredentialPrecedenceSource = typeof CredentialPrecedenceSource[keyof typeof CredentialPrecedenceSource];
|
|
12
|
+
export declare const CredentialPrecedenceSource: {
|
|
13
|
+
readonly explicit: "explicit";
|
|
14
|
+
readonly capability_default: "capability_default";
|
|
15
|
+
readonly project_default: "project_default";
|
|
16
|
+
readonly org_default: "org_default";
|
|
17
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by orval v8.6.2 🍺
|
|
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 });
|
|
10
|
+
exports.CredentialPrecedenceSource = void 0;
|
|
11
|
+
exports.CredentialPrecedenceSource = {
|
|
12
|
+
explicit: 'explicit',
|
|
13
|
+
capability_default: 'capability_default',
|
|
14
|
+
project_default: 'project_default',
|
|
15
|
+
org_default: 'org_default',
|
|
16
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.6.2 🍺
|
|
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 type DataClassification = typeof DataClassification[keyof typeof DataClassification];
|
|
9
|
+
export declare const DataClassification: {
|
|
10
|
+
readonly public: "public";
|
|
11
|
+
readonly internal: "internal";
|
|
12
|
+
readonly confidential: "confidential";
|
|
13
|
+
readonly secret: "secret";
|
|
14
|
+
readonly regulated: "regulated";
|
|
15
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by orval v8.6.2 🍺
|
|
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 });
|
|
10
|
+
exports.DataClassification = void 0;
|
|
11
|
+
exports.DataClassification = {
|
|
12
|
+
public: 'public',
|
|
13
|
+
internal: 'internal',
|
|
14
|
+
confidential: 'confidential',
|
|
15
|
+
secret: 'secret',
|
|
16
|
+
regulated: 'regulated',
|
|
17
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.6.2 🍺
|
|
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 type DataResidency = typeof DataResidency[keyof typeof DataResidency];
|
|
9
|
+
export declare const DataResidency: {
|
|
10
|
+
readonly eu: "eu";
|
|
11
|
+
readonly us: "us";
|
|
12
|
+
readonly 'customer-private': "customer-private";
|
|
13
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by orval v8.6.2 🍺
|
|
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 });
|
|
10
|
+
exports.DataResidency = void 0;
|
|
11
|
+
exports.DataResidency = {
|
|
12
|
+
eu: 'eu',
|
|
13
|
+
us: 'us',
|
|
14
|
+
'customer-private': 'customer-private',
|
|
15
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.6.2 🍺
|
|
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 type EnvironmentsControllerFindBySlugParams = {
|
|
9
|
+
/**
|
|
10
|
+
* When set, the list includes built-ins PLUS this org's custom environments. When omitted, only built-ins are returned (back-compat).
|
|
11
|
+
*/
|
|
12
|
+
orgId?: string;
|
|
13
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.6.2 🍺
|
|
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 type EnvironmentsControllerListParams = {
|
|
9
|
+
/**
|
|
10
|
+
* When set, the list includes built-ins PLUS this org's custom environments. When omitted, only built-ins are returned (back-compat).
|
|
11
|
+
*/
|
|
12
|
+
orgId?: string;
|
|
13
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.6.2 🍺
|
|
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 type EnvironmentsControllerRemoveParams = {
|
|
9
|
+
/**
|
|
10
|
+
* When set, the list includes built-ins PLUS this org's custom environments. When omitted, only built-ins are returned (back-compat).
|
|
11
|
+
*/
|
|
12
|
+
orgId: string;
|
|
13
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.6.2 🍺
|
|
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 type EnvironmentsControllerUpdateParams = {
|
|
9
|
+
/**
|
|
10
|
+
* When set, the list includes built-ins PLUS this org's custom environments. When omitted, only built-ins are returned (back-compat).
|
|
11
|
+
*/
|
|
12
|
+
orgId: string;
|
|
13
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.6.2 🍺
|
|
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
|
+
* Kebab-case ExecutionEnvironmentKind classification (`system` | `org` | `project` | `app` | `session` | `sandbox` | `public` | `store-review` | `trusted-dev`). Equals `slug` for built-ins.
|
|
10
|
+
*/
|
|
11
|
+
export type ExecutionEnvironmentKind = typeof ExecutionEnvironmentKind[keyof typeof ExecutionEnvironmentKind];
|
|
12
|
+
export declare const ExecutionEnvironmentKind: {
|
|
13
|
+
readonly system: "system";
|
|
14
|
+
readonly org: "org";
|
|
15
|
+
readonly project: "project";
|
|
16
|
+
readonly app: "app";
|
|
17
|
+
readonly session: "session";
|
|
18
|
+
readonly sandbox: "sandbox";
|
|
19
|
+
readonly public: "public";
|
|
20
|
+
readonly 'store-review': "store-review";
|
|
21
|
+
readonly 'trusted-dev': "trusted-dev";
|
|
22
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by orval v8.6.2 🍺
|
|
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 });
|
|
10
|
+
exports.ExecutionEnvironmentKind = void 0;
|
|
11
|
+
exports.ExecutionEnvironmentKind = {
|
|
12
|
+
system: 'system',
|
|
13
|
+
org: 'org',
|
|
14
|
+
project: 'project',
|
|
15
|
+
app: 'app',
|
|
16
|
+
session: 'session',
|
|
17
|
+
sandbox: 'sandbox',
|
|
18
|
+
public: 'public',
|
|
19
|
+
'store-review': 'store-review',
|
|
20
|
+
'trusted-dev': 'trusted-dev',
|
|
21
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.6.2 🍺
|
|
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 { ExecutionEnvironmentKind } from './executionEnvironmentKind';
|
|
9
|
+
import type { ExecutionEnvironmentResponseDtoAllowedCapabilitiesItem } from './executionEnvironmentResponseDtoAllowedCapabilitiesItem';
|
|
10
|
+
import type { ExecutionEnvironmentResponseDtoApprovalRulesItem } from './executionEnvironmentResponseDtoApprovalRulesItem';
|
|
11
|
+
import type { ExecutionEnvironmentResponseDtoOrgId } from './executionEnvironmentResponseDtoOrgId';
|
|
12
|
+
import type { ExecutionEnvironmentResponseDtoRuntimeLimits } from './executionEnvironmentResponseDtoRuntimeLimits';
|
|
13
|
+
export interface ExecutionEnvironmentResponseDto {
|
|
14
|
+
id: string;
|
|
15
|
+
/**
|
|
16
|
+
* Owning organization. `null` for kernel-seeded built-in environments (global); set for org-custom environments.
|
|
17
|
+
* @nullable
|
|
18
|
+
*/
|
|
19
|
+
orgId?: ExecutionEnvironmentResponseDtoOrgId;
|
|
20
|
+
/** Environment slug. Built-in slugs are globally unique; org-custom slugs are unique per (orgId, slug). */
|
|
21
|
+
slug: string;
|
|
22
|
+
/** Kebab-case ExecutionEnvironmentKind classification (`system` | `org` | `project` | `app` | `session` | `sandbox` | `public` | `store-review` | `trusted-dev`). Equals `slug` for built-ins. */
|
|
23
|
+
kind: ExecutionEnvironmentKind;
|
|
24
|
+
/** Canonical `environment:<slug>` reference (ExecutionEnvironmentRef). */
|
|
25
|
+
ref: string;
|
|
26
|
+
description: string;
|
|
27
|
+
/** True for kernel-seeded environments (immutable from the write API). False for org-custom environments. */
|
|
28
|
+
isBuiltIn: boolean;
|
|
29
|
+
/** Per-environment capability allow-list (`CapabilityPolicy[]` from the kernel contracts). Empty `[]` for v1 built-ins. */
|
|
30
|
+
allowedCapabilities: ExecutionEnvironmentResponseDtoAllowedCapabilitiesItem[];
|
|
31
|
+
/** Approval rules (`ApprovalRule[]` from the kernel contracts). */
|
|
32
|
+
approvalRules: ExecutionEnvironmentResponseDtoApprovalRulesItem[];
|
|
33
|
+
/** Runtime limits (`RuntimeLimits` from the kernel contracts). */
|
|
34
|
+
runtimeLimits: ExecutionEnvironmentResponseDtoRuntimeLimits;
|
|
35
|
+
createdAt: string;
|
|
36
|
+
updatedAt: string;
|
|
37
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.6.2 🍺
|
|
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 type ExecutionEnvironmentResponseDtoAllowedCapabilitiesItem = {
|
|
9
|
+
[key: string]: unknown;
|
|
10
|
+
};
|