@xemahq/authorization-internal-api-client 0.1.0 → 0.1.1

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.
Files changed (227) hide show
  1. package/LICENSE +174 -201
  2. package/README.md +1 -1
  3. package/dist/endpoints/agents/agents.d.ts +14 -0
  4. package/dist/endpoints/agents/agents.js +21 -0
  5. package/dist/endpoints/authorization/authorization.d.ts +13 -7
  6. package/dist/endpoints/authorization/authorization.js +26 -9
  7. package/dist/endpoints/credential-defaults/credential-defaults.d.ts +5 -5
  8. package/dist/endpoints/credential-defaults/credential-defaults.js +12 -12
  9. package/dist/endpoints/environments/environments.d.ts +7 -7
  10. package/dist/endpoints/environments/environments.js +20 -20
  11. package/dist/endpoints/grants/grants.d.ts +8 -8
  12. package/dist/endpoints/grants/grants.js +15 -15
  13. package/dist/endpoints/profiles/profiles.d.ts +5 -5
  14. package/dist/endpoints/profiles/profiles.js +4 -4
  15. package/dist/endpoints/relationships/relationships.d.ts +4 -4
  16. package/dist/endpoints/relationships/relationships.js +4 -4
  17. package/dist/endpoints/resources/resources.d.ts +37 -0
  18. package/dist/endpoints/resources/resources.js +84 -0
  19. package/dist/endpoints/roles/roles.d.ts +18 -13
  20. package/dist/endpoints/roles/roles.js +50 -34
  21. package/dist/endpoints/teams/teams.d.ts +9 -9
  22. package/dist/endpoints/teams/teams.js +24 -24
  23. package/dist/index.d.ts +2 -0
  24. package/dist/index.js +2 -0
  25. package/dist/models/addResourceShareDto.d.ts +11 -0
  26. package/dist/models/addRoleGrantDto.d.ts +2 -2
  27. package/dist/models/addTeamMemberDto.d.ts +2 -2
  28. package/dist/models/agentProvisionDecision.d.ts +12 -0
  29. package/dist/models/agentProvisionDecision.js +14 -0
  30. package/dist/models/agentProvisionReason.d.ts +15 -0
  31. package/dist/models/agentProvisionReason.js +17 -0
  32. package/dist/models/agentReachTier.d.ts +17 -0
  33. package/dist/models/agentReachTier.js +16 -0
  34. package/dist/models/assignRoleDto.d.ts +2 -2
  35. package/dist/models/authorizationCheckRequestDto.d.ts +2 -2
  36. package/dist/models/authorizationCheckResponseDto.d.ts +3 -3
  37. package/dist/models/authorizationDecisionCode.d.ts +5 -2
  38. package/dist/models/authorizationDecisionCode.js +5 -2
  39. package/dist/models/authorizationReasonDto.d.ts +2 -2
  40. package/dist/models/authorizationSuggestionDto.d.ts +2 -2
  41. package/dist/models/authorizationSuggestionKind.d.ts +1 -1
  42. package/dist/models/authorizationSuggestionKind.js +1 -1
  43. package/dist/models/biomePermissionProfile.d.ts +1 -1
  44. package/dist/models/biomePermissionProfile.js +1 -1
  45. package/dist/models/biomeTrustTier.d.ts +1 -1
  46. package/dist/models/biomeTrustTier.js +1 -1
  47. package/dist/models/callerKind.d.ts +1 -1
  48. package/dist/models/callerKind.js +1 -1
  49. package/dist/models/capabilityGrantDto.d.ts +5 -5
  50. package/dist/models/capabilityGrantDtoPaginatedEnvelope.d.ts +13 -0
  51. package/dist/models/capabilityGrantRelation.d.ts +4 -1
  52. package/dist/models/capabilityGrantRelation.js +1 -1
  53. package/dist/models/capabilityRiskTier.d.ts +17 -0
  54. package/dist/models/capabilityRiskTier.js +16 -0
  55. package/dist/models/createExecutionEnvironmentDto.d.ts +5 -5
  56. package/dist/models/createExecutionEnvironmentDtoAllowedCapabilitiesItem.d.ts +1 -1
  57. package/dist/models/createExecutionEnvironmentDtoAllowedCapabilitiesItem.js +1 -1
  58. package/dist/models/createExecutionEnvironmentDtoApprovalRulesItem.d.ts +1 -1
  59. package/dist/models/createExecutionEnvironmentDtoApprovalRulesItem.js +1 -1
  60. package/dist/models/createExecutionEnvironmentDtoRuntimeLimits.d.ts +1 -1
  61. package/dist/models/createExecutionEnvironmentDtoRuntimeLimits.js +1 -1
  62. package/dist/models/createGrantDto.d.ts +6 -6
  63. package/dist/models/createRoleDto.d.ts +1 -1
  64. package/dist/models/createRoleDto.js +1 -1
  65. package/dist/models/createTeamDto.d.ts +1 -1
  66. package/dist/models/createTeamDto.js +1 -1
  67. package/dist/models/credentialDefaultDto.d.ts +1 -1
  68. package/dist/models/credentialDefaultDto.js +1 -1
  69. package/dist/models/credentialDefaultDtoDataArrayEnvelope.d.ts +2 -2
  70. package/dist/models/credentialDefaultDtoDataEnvelope.d.ts +2 -2
  71. package/dist/models/credentialDefaultsControllerDeleteParams.d.ts +1 -1
  72. package/dist/models/credentialDefaultsControllerDeleteParams.js +1 -1
  73. package/dist/models/credentialDefaultsControllerGetParams.d.ts +1 -1
  74. package/dist/models/credentialDefaultsControllerGetParams.js +1 -1
  75. package/dist/models/credentialDefaultsControllerListParams.d.ts +1 -1
  76. package/dist/models/credentialDefaultsControllerListParams.js +1 -1
  77. package/dist/models/credentialPrecedenceSource.d.ts +2 -1
  78. package/dist/models/credentialPrecedenceSource.js +2 -1
  79. package/dist/models/dataClassification.d.ts +1 -1
  80. package/dist/models/dataClassification.js +1 -1
  81. package/dist/models/dataResidency.d.ts +1 -1
  82. package/dist/models/dataResidency.js +1 -1
  83. package/dist/models/environmentsControllerFindBySlugParams.d.ts +1 -1
  84. package/dist/models/environmentsControllerFindBySlugParams.js +1 -1
  85. package/dist/models/environmentsControllerListParams.d.ts +1 -1
  86. package/dist/models/environmentsControllerListParams.js +1 -1
  87. package/dist/models/environmentsControllerRemoveParams.d.ts +1 -1
  88. package/dist/models/environmentsControllerRemoveParams.js +1 -1
  89. package/dist/models/environmentsControllerUpdateParams.d.ts +1 -1
  90. package/dist/models/environmentsControllerUpdateParams.js +1 -1
  91. package/dist/models/executionEnvironmentKind.d.ts +2 -2
  92. package/dist/models/executionEnvironmentKind.js +1 -1
  93. package/dist/models/executionEnvironmentResponseDto.d.ts +6 -6
  94. package/dist/models/executionEnvironmentResponseDtoAllowedCapabilitiesItem.d.ts +1 -1
  95. package/dist/models/executionEnvironmentResponseDtoAllowedCapabilitiesItem.js +1 -1
  96. package/dist/models/executionEnvironmentResponseDtoApprovalRulesItem.d.ts +1 -1
  97. package/dist/models/executionEnvironmentResponseDtoApprovalRulesItem.js +1 -1
  98. package/dist/models/executionEnvironmentResponseDtoOrgId.d.ts +1 -1
  99. package/dist/models/executionEnvironmentResponseDtoOrgId.js +1 -1
  100. package/dist/models/executionEnvironmentResponseDtoRuntimeLimits.d.ts +1 -1
  101. package/dist/models/executionEnvironmentResponseDtoRuntimeLimits.js +1 -1
  102. package/dist/models/grantConstraintsDto.d.ts +1 -1
  103. package/dist/models/grantConstraintsDto.js +1 -1
  104. package/dist/models/grantsControllerListParams.d.ts +2 -2
  105. package/dist/models/index.d.ts +25 -3
  106. package/dist/models/index.js +25 -3
  107. package/dist/models/listVisibleResourcesDto.d.ts +14 -0
  108. package/dist/models/openFgaRelationshipDto.d.ts +2 -2
  109. package/dist/models/openFgaRelationshipDtoPaginatedEnvelope.d.ts +13 -0
  110. package/dist/models/orgRole.d.ts +16 -0
  111. package/dist/models/{roleAssignmentDtoSubjectRef.js → orgRole.js} +7 -1
  112. package/dist/models/orgRoleSyncDto.d.ts +18 -0
  113. package/dist/models/orgRoleSyncResultDto.d.ts +11 -0
  114. package/dist/models/{teamDtoDescription.js → orgRoleSyncResultDto.js} +1 -1
  115. package/dist/models/paginationMeta.d.ts +18 -0
  116. package/dist/models/{roleAssignmentDtoTeamId.js → paginationMeta.js} +1 -1
  117. package/dist/models/policyActingForDto.d.ts +2 -2
  118. package/dist/models/policyBiomeDto.d.ts +2 -2
  119. package/dist/models/policyCallerDto.d.ts +2 -2
  120. package/dist/models/policyCapabilityDto.d.ts +1 -1
  121. package/dist/models/policyCapabilityDto.js +1 -1
  122. package/dist/models/policyCheckBatchRequestDto.d.ts +15 -0
  123. package/dist/models/policyCheckBatchResponseDto.d.ts +12 -0
  124. package/dist/models/policyCheckRequestDto.d.ts +9 -9
  125. package/dist/models/policyConstraintsDto.d.ts +1 -1
  126. package/dist/models/policyConstraintsDto.js +1 -1
  127. package/dist/models/policyDecisionDto.d.ts +6 -6
  128. package/dist/models/policyDecisionKind.d.ts +1 -1
  129. package/dist/models/policyDecisionKind.js +1 -1
  130. package/dist/models/policyEnvironmentDto.d.ts +1 -1
  131. package/dist/models/policyEnvironmentDto.js +1 -1
  132. package/dist/models/policyObligationDto.d.ts +9 -5
  133. package/dist/models/policyObligationKind.d.ts +2 -1
  134. package/dist/models/policyObligationKind.js +2 -1
  135. package/dist/models/policyResourceDto.d.ts +2 -2
  136. package/dist/models/policyRouteHintDto.d.ts +3 -3
  137. package/dist/models/policyRouteHintDtoRequiredRunnerLabels.d.ts +1 -1
  138. package/dist/models/policyRouteHintDtoRequiredRunnerLabels.js +1 -1
  139. package/dist/models/policySpaceRefDto.d.ts +2 -2
  140. package/dist/models/policySubjectRefDto.d.ts +3 -3
  141. package/dist/models/profilePolicyTemplateDto.d.ts +3 -3
  142. package/dist/models/profilePolicyTemplateDtoNotes.d.ts +1 -1
  143. package/dist/models/profilePolicyTemplateDtoNotes.js +1 -1
  144. package/dist/models/provisionAgentRequestDto.d.ts +20 -0
  145. package/dist/models/provisionAgentResultDto.d.ts +14 -0
  146. package/dist/models/provisionAgentResultDto.js +2 -0
  147. package/dist/models/provisionedCapabilityDto.d.ts +21 -0
  148. package/dist/models/provisionedCapabilityDto.js +2 -0
  149. package/dist/models/registerResourceOwnershipDto.d.ts +21 -0
  150. package/dist/models/registerResourceOwnershipDto.js +2 -0
  151. package/dist/models/relationshipsControllerListParams.d.ts +3 -3
  152. package/dist/models/resourceManagedBy.d.ts +19 -0
  153. package/dist/models/resourceManagedBy.js +18 -0
  154. package/dist/models/resourceOwnershipDto.d.ts +17 -0
  155. package/dist/models/resourceOwnershipDto.js +2 -0
  156. package/dist/models/resourceOwnershipEntryDto.d.ts +13 -0
  157. package/dist/models/resourceOwnershipEntryDto.js +2 -0
  158. package/dist/models/resourceOwnershipReadDto.d.ts +16 -0
  159. package/dist/models/resourceOwnershipReadDto.js +2 -0
  160. package/dist/models/resourceSubjectRefDto.d.ts +13 -0
  161. package/dist/models/resourceSubjectRefDto.js +2 -0
  162. package/dist/models/resourceVisibilityPattern.d.ts +18 -0
  163. package/dist/models/resourceVisibilityPattern.js +17 -0
  164. package/dist/models/roleAssignmentDto.d.ts +2 -2
  165. package/dist/models/roleAssignmentDtoDataArrayEnvelope.d.ts +2 -2
  166. package/dist/models/roleDto.d.ts +4 -1
  167. package/dist/models/roleDto.js +0 -7
  168. package/dist/models/roleDtoDataArrayEnvelope.d.ts +2 -2
  169. package/dist/models/roleGrantDto.d.ts +2 -2
  170. package/dist/models/roleGrantDtoDataArrayEnvelope.d.ts +2 -2
  171. package/dist/models/rolesControllerListParams.d.ts +1 -1
  172. package/dist/models/rolesControllerListParams.js +1 -1
  173. package/dist/models/runnerKind.d.ts +1 -1
  174. package/dist/models/runnerKind.js +1 -1
  175. package/dist/models/spaceKind.d.ts +1 -1
  176. package/dist/models/spaceKind.js +1 -1
  177. package/dist/models/subjectKind.d.ts +1 -1
  178. package/dist/models/subjectKind.js +1 -1
  179. package/dist/models/subjectRefDto.d.ts +2 -2
  180. package/dist/models/teamDto.d.ts +1 -1
  181. package/dist/models/teamDto.js +1 -1
  182. package/dist/models/teamDtoDataArrayEnvelope.d.ts +2 -2
  183. package/dist/models/teamMembershipDto.d.ts +2 -2
  184. package/dist/models/teamMembershipDtoDataArrayEnvelope.d.ts +2 -2
  185. package/dist/models/teamsControllerListParams.d.ts +1 -1
  186. package/dist/models/teamsControllerListParams.js +1 -1
  187. package/dist/models/updateExecutionEnvironmentDto.d.ts +4 -4
  188. package/dist/models/updateExecutionEnvironmentDtoAllowedCapabilitiesItem.d.ts +1 -1
  189. package/dist/models/updateExecutionEnvironmentDtoAllowedCapabilitiesItem.js +1 -1
  190. package/dist/models/updateExecutionEnvironmentDtoApprovalRulesItem.d.ts +1 -1
  191. package/dist/models/updateExecutionEnvironmentDtoApprovalRulesItem.js +1 -1
  192. package/dist/models/updateExecutionEnvironmentDtoRuntimeLimits.d.ts +1 -1
  193. package/dist/models/updateExecutionEnvironmentDtoRuntimeLimits.js +1 -1
  194. package/dist/models/updateGrantDto.d.ts +4 -4
  195. package/dist/models/updateRoleDto.d.ts +1 -1
  196. package/dist/models/updateRoleDto.js +1 -1
  197. package/dist/models/updateTeamDto.d.ts +1 -1
  198. package/dist/models/updateTeamDto.js +1 -1
  199. package/dist/models/upsertCredentialDefaultDto.d.ts +1 -1
  200. package/dist/models/upsertCredentialDefaultDto.js +1 -1
  201. package/dist/models/visibleResourcesDto.d.ts +11 -0
  202. package/dist/models/{roleDtoDescription.js → visibleResourcesDto.js} +1 -1
  203. package/package.json +14 -3
  204. package/dist/models/listGrantsResponseDto.d.ts +0 -14
  205. package/dist/models/listProfilesResponseDto.d.ts +0 -11
  206. package/dist/models/listRelationshipsResponseDto.d.ts +0 -14
  207. package/dist/models/listRoleAssignmentsResponseDto.d.ts +0 -12
  208. package/dist/models/listRoleGrantsResponseDto.d.ts +0 -12
  209. package/dist/models/listRolesResponseDto.d.ts +0 -14
  210. package/dist/models/listTeamMembersResponseDto.d.ts +0 -12
  211. package/dist/models/listTeamsResponseDto.d.ts +0 -14
  212. package/dist/models/roleAssignmentDtoSubjectRef.d.ts +0 -13
  213. package/dist/models/roleAssignmentDtoTeamId.d.ts +0 -13
  214. package/dist/models/roleDtoDescription.d.ts +0 -13
  215. package/dist/models/teamDtoDescription.d.ts +0 -13
  216. package/dist/models/teamDtoParentTeamId.d.ts +0 -13
  217. package/dist/models/teamDtoParentTeamId.js +0 -9
  218. package/dist/models/updateTeamDtoParentTeamId.d.ts +0 -14
  219. package/dist/models/updateTeamDtoParentTeamId.js +0 -9
  220. /package/dist/models/{listGrantsResponseDto.js → addResourceShareDto.js} +0 -0
  221. /package/dist/models/{listProfilesResponseDto.js → capabilityGrantDtoPaginatedEnvelope.js} +0 -0
  222. /package/dist/models/{listRelationshipsResponseDto.js → listVisibleResourcesDto.js} +0 -0
  223. /package/dist/models/{listRoleAssignmentsResponseDto.js → openFgaRelationshipDtoPaginatedEnvelope.js} +0 -0
  224. /package/dist/models/{listRoleGrantsResponseDto.js → orgRoleSyncDto.js} +0 -0
  225. /package/dist/models/{listRolesResponseDto.js → policyCheckBatchRequestDto.js} +0 -0
  226. /package/dist/models/{listTeamMembersResponseDto.js → policyCheckBatchResponseDto.js} +0 -0
  227. /package/dist/models/{listTeamsResponseDto.js → provisionAgentRequestDto.js} +0 -0
@@ -1,11 +1,11 @@
1
1
  /**
2
- * Generated by orval v8.6.2 🍺
2
+ * Generated by orval v8.16.0 🍺
3
3
  * Do not edit manually.
4
4
  * Authorization API
5
5
  * Authorization API extract (generated for client codegen).
6
6
  * OpenAPI spec version: 0.1.0
7
7
  */
8
- import type { AuthorizationDecisionCode } from './authorizationDecisionCode';
8
+ import type { AuthorizationDecisionCode } from './authorizationDecisionCode.js';
9
9
  export interface AuthorizationReasonDto {
10
10
  code: AuthorizationDecisionCode;
11
11
  detail: string;
@@ -1,11 +1,11 @@
1
1
  /**
2
- * Generated by orval v8.6.2 🍺
2
+ * Generated by orval v8.16.0 🍺
3
3
  * Do not edit manually.
4
4
  * Authorization API
5
5
  * Authorization API extract (generated for client codegen).
6
6
  * OpenAPI spec version: 0.1.0
7
7
  */
8
- import type { AuthorizationSuggestionKind } from './authorizationSuggestionKind';
8
+ import type { AuthorizationSuggestionKind } from './authorizationSuggestionKind.js';
9
9
  export interface AuthorizationSuggestionDto {
10
10
  kind: AuthorizationSuggestionKind;
11
11
  capability?: string;
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Generated by orval v8.6.2 🍺
2
+ * Generated by orval v8.16.0 🍺
3
3
  * Do not edit manually.
4
4
  * Authorization API
5
5
  * Authorization API extract (generated for client codegen).
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  /**
3
- * Generated by orval v8.6.2 🍺
3
+ * Generated by orval v8.16.0 🍺
4
4
  * Do not edit manually.
5
5
  * Authorization API
6
6
  * Authorization API extract (generated for client codegen).
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Generated by orval v8.6.2 🍺
2
+ * Generated by orval v8.16.0 🍺
3
3
  * Do not edit manually.
4
4
  * Authorization API
5
5
  * Authorization API extract (generated for client codegen).
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  /**
3
- * Generated by orval v8.6.2 🍺
3
+ * Generated by orval v8.16.0 🍺
4
4
  * Do not edit manually.
5
5
  * Authorization API
6
6
  * Authorization API extract (generated for client codegen).
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Generated by orval v8.6.2 🍺
2
+ * Generated by orval v8.16.0 🍺
3
3
  * Do not edit manually.
4
4
  * Authorization API
5
5
  * Authorization API extract (generated for client codegen).
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  /**
3
- * Generated by orval v8.6.2 🍺
3
+ * Generated by orval v8.16.0 🍺
4
4
  * Do not edit manually.
5
5
  * Authorization API
6
6
  * Authorization API extract (generated for client codegen).
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Generated by orval v8.6.2 🍺
2
+ * Generated by orval v8.16.0 🍺
3
3
  * Do not edit manually.
4
4
  * Authorization API
5
5
  * Authorization API extract (generated for client codegen).
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  /**
3
- * Generated by orval v8.6.2 🍺
3
+ * Generated by orval v8.16.0 🍺
4
4
  * Do not edit manually.
5
5
  * Authorization API
6
6
  * Authorization API extract (generated for client codegen).
@@ -1,13 +1,13 @@
1
1
  /**
2
- * Generated by orval v8.6.2 🍺
2
+ * Generated by orval v8.16.0 🍺
3
3
  * Do not edit manually.
4
4
  * Authorization API
5
5
  * Authorization API extract (generated for client codegen).
6
6
  * OpenAPI spec version: 0.1.0
7
7
  */
8
- import type { BiomePermissionProfile } from './biomePermissionProfile';
9
- import type { GrantConstraintsDto } from './grantConstraintsDto';
10
- import type { SubjectKind } from './subjectKind';
8
+ import type { BiomePermissionProfile } from './biomePermissionProfile.js';
9
+ import type { GrantConstraintsDto } from './grantConstraintsDto.js';
10
+ import type { SubjectKind } from './subjectKind.js';
11
11
  export interface CapabilityGrantDto {
12
12
  id: string;
13
13
  /** Organization identifier this grant is scoped to. */
@@ -21,7 +21,7 @@ export interface CapabilityGrantDto {
21
21
  requiresApproval: boolean;
22
22
  profile?: BiomePermissionProfile | null;
23
23
  /**
24
- * Opaque credential-binding pointer (plan §W4.1). EXPLICIT tier of the credential ladder; null when this grant carries no explicit binding.
24
+ * Opaque credential-binding pointer. EXPLICIT tier of the credential ladder; null when this grant carries no explicit binding.
25
25
  * @nullable
26
26
  */
27
27
  credentialBindingId?: string | null;
@@ -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 { CapabilityGrantDto } from './capabilityGrantDto.js';
9
+ import type { PaginationMeta } from './paginationMeta.js';
10
+ export interface CapabilityGrantDtoPaginatedEnvelope {
11
+ data: CapabilityGrantDto[];
12
+ pagination?: PaginationMeta;
13
+ }
@@ -1,10 +1,13 @@
1
1
  /**
2
- * Generated by orval v8.6.2 🍺
2
+ * Generated by orval v8.16.0 🍺
3
3
  * Do not edit manually.
4
4
  * Authorization API
5
5
  * Authorization API extract (generated for client codegen).
6
6
  * OpenAPI spec version: 0.1.0
7
7
  */
8
+ /**
9
+ * `granted_to` for a full grant, `granted_pending_approval` when the grant requires per-invocation approval.
10
+ */
8
11
  export type CapabilityGrantRelation = typeof CapabilityGrantRelation[keyof typeof CapabilityGrantRelation];
9
12
  export declare const CapabilityGrantRelation: {
10
13
  readonly granted_to: "granted_to";
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  /**
3
- * Generated by orval v8.6.2 🍺
3
+ * Generated by orval v8.16.0 🍺
4
4
  * Do not edit manually.
5
5
  * Authorization API
6
6
  * Authorization API extract (generated for client codegen).
@@ -0,0 +1,17 @@
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
+ * Risk tier from the capability registry; `null` when the ref is unknown (absent from the registry).
10
+ */
11
+ export type CapabilityRiskTier = typeof CapabilityRiskTier[keyof typeof CapabilityRiskTier];
12
+ export declare const CapabilityRiskTier: {
13
+ readonly low: "low";
14
+ readonly medium: "medium";
15
+ readonly high: "high";
16
+ readonly critical: "critical";
17
+ };
@@ -0,0 +1,16 @@
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 });
10
+ exports.CapabilityRiskTier = void 0;
11
+ exports.CapabilityRiskTier = {
12
+ low: 'low',
13
+ medium: 'medium',
14
+ high: 'high',
15
+ critical: 'critical',
16
+ };
@@ -1,14 +1,14 @@
1
1
  /**
2
- * Generated by orval v8.6.2 🍺
2
+ * Generated by orval v8.16.0 🍺
3
3
  * Do not edit manually.
4
4
  * Authorization API
5
5
  * Authorization API extract (generated for client codegen).
6
6
  * OpenAPI spec version: 0.1.0
7
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';
8
+ import type { CreateExecutionEnvironmentDtoAllowedCapabilitiesItem } from './createExecutionEnvironmentDtoAllowedCapabilitiesItem.js';
9
+ import type { CreateExecutionEnvironmentDtoApprovalRulesItem } from './createExecutionEnvironmentDtoApprovalRulesItem.js';
10
+ import type { CreateExecutionEnvironmentDtoRuntimeLimits } from './createExecutionEnvironmentDtoRuntimeLimits.js';
11
+ import type { ExecutionEnvironmentKind } from './executionEnvironmentKind.js';
12
12
  export interface CreateExecutionEnvironmentDto {
13
13
  /** Owning organization. Scopes the custom environment to the tenant. */
14
14
  orgId: string;
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Generated by orval v8.6.2 🍺
2
+ * Generated by orval v8.16.0 🍺
3
3
  * Do not edit manually.
4
4
  * Authorization API
5
5
  * Authorization API extract (generated for client codegen).
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  /**
3
- * Generated by orval v8.6.2 🍺
3
+ * Generated by orval v8.16.0 🍺
4
4
  * Do not edit manually.
5
5
  * Authorization API
6
6
  * Authorization API extract (generated for client codegen).
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Generated by orval v8.6.2 🍺
2
+ * Generated by orval v8.16.0 🍺
3
3
  * Do not edit manually.
4
4
  * Authorization API
5
5
  * Authorization API extract (generated for client codegen).
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  /**
3
- * Generated by orval v8.6.2 🍺
3
+ * Generated by orval v8.16.0 🍺
4
4
  * Do not edit manually.
5
5
  * Authorization API
6
6
  * Authorization API extract (generated for client codegen).
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Generated by orval v8.6.2 🍺
2
+ * Generated by orval v8.16.0 🍺
3
3
  * Do not edit manually.
4
4
  * Authorization API
5
5
  * Authorization API extract (generated for client codegen).
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  /**
3
- * Generated by orval v8.6.2 🍺
3
+ * Generated by orval v8.16.0 🍺
4
4
  * Do not edit manually.
5
5
  * Authorization API
6
6
  * Authorization API extract (generated for client codegen).
@@ -1,13 +1,13 @@
1
1
  /**
2
- * Generated by orval v8.6.2 🍺
2
+ * Generated by orval v8.16.0 🍺
3
3
  * Do not edit manually.
4
4
  * Authorization API
5
5
  * Authorization API extract (generated for client codegen).
6
6
  * OpenAPI spec version: 0.1.0
7
7
  */
8
- import type { BiomePermissionProfile } from './biomePermissionProfile';
9
- import type { GrantConstraintsDto } from './grantConstraintsDto';
10
- import type { SubjectKind } from './subjectKind';
8
+ import type { BiomePermissionProfile } from './biomePermissionProfile.js';
9
+ import type { GrantConstraintsDto } from './grantConstraintsDto.js';
10
+ import type { SubjectKind } from './subjectKind.js';
11
11
  export interface CreateGrantDto {
12
12
  /** Organization identifier. Scopes the grant to the tenant. */
13
13
  orgId: string;
@@ -17,12 +17,12 @@ export interface CreateGrantDto {
17
17
  capability: string;
18
18
  /** Glob over XVFS resource refs. Phase 4 enforces; Phase 3 stores only. */
19
19
  resourceGlob?: string;
20
- /** Built-in environment slug. Phase 3 stores but does not enforce (plan §17.4 footnote). */
20
+ /** Built-in environment slug. Phase 3 stores but does not enforce. */
21
21
  environment: string;
22
22
  constraints?: GrantConstraintsDto;
23
23
  requiresApproval?: boolean;
24
24
  /** Profile template that materialised this row, if any. */
25
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. */
26
+ /** Opaque credential-binding pointer. EXPLICIT (highest-precedence) tier of the credential ladder. Not a secret; NOT tuple-affecting. */
27
27
  credentialBindingId?: string;
28
28
  }
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Generated by orval v8.6.2 🍺
2
+ * Generated by orval v8.16.0 🍺
3
3
  * Do not edit manually.
4
4
  * Authorization API
5
5
  * Authorization API extract (generated for client codegen).
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  /**
3
- * Generated by orval v8.6.2 🍺
3
+ * Generated by orval v8.16.0 🍺
4
4
  * Do not edit manually.
5
5
  * Authorization API
6
6
  * Authorization API extract (generated for client codegen).
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Generated by orval v8.6.2 🍺
2
+ * Generated by orval v8.16.0 🍺
3
3
  * Do not edit manually.
4
4
  * Authorization API
5
5
  * Authorization API extract (generated for client codegen).
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  /**
3
- * Generated by orval v8.6.2 🍺
3
+ * Generated by orval v8.16.0 🍺
4
4
  * Do not edit manually.
5
5
  * Authorization API
6
6
  * Authorization API extract (generated for client codegen).
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Generated by orval v8.6.2 🍺
2
+ * Generated by orval v8.16.0 🍺
3
3
  * Do not edit manually.
4
4
  * Authorization API
5
5
  * Authorization API extract (generated for client codegen).
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  /**
3
- * Generated by orval v8.6.2 🍺
3
+ * Generated by orval v8.16.0 🍺
4
4
  * Do not edit manually.
5
5
  * Authorization API
6
6
  * Authorization API extract (generated for client codegen).
@@ -1,11 +1,11 @@
1
1
  /**
2
- * Generated by orval v8.6.2 🍺
2
+ * Generated by orval v8.16.0 🍺
3
3
  * Do not edit manually.
4
4
  * Authorization API
5
5
  * Authorization API extract (generated for client codegen).
6
6
  * OpenAPI spec version: 0.1.0
7
7
  */
8
- import type { CredentialDefaultDto } from './credentialDefaultDto';
8
+ import type { CredentialDefaultDto } from './credentialDefaultDto.js';
9
9
  export interface CredentialDefaultDtoDataArrayEnvelope {
10
10
  data: CredentialDefaultDto[];
11
11
  }
@@ -1,11 +1,11 @@
1
1
  /**
2
- * Generated by orval v8.6.2 🍺
2
+ * Generated by orval v8.16.0 🍺
3
3
  * Do not edit manually.
4
4
  * Authorization API
5
5
  * Authorization API extract (generated for client codegen).
6
6
  * OpenAPI spec version: 0.1.0
7
7
  */
8
- import type { CredentialDefaultDto } from './credentialDefaultDto';
8
+ import type { CredentialDefaultDto } from './credentialDefaultDto.js';
9
9
  export interface CredentialDefaultDtoDataEnvelope {
10
10
  data: CredentialDefaultDto;
11
11
  }
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Generated by orval v8.6.2 🍺
2
+ * Generated by orval v8.16.0 🍺
3
3
  * Do not edit manually.
4
4
  * Authorization API
5
5
  * Authorization API extract (generated for client codegen).
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  /**
3
- * Generated by orval v8.6.2 🍺
3
+ * Generated by orval v8.16.0 🍺
4
4
  * Do not edit manually.
5
5
  * Authorization API
6
6
  * Authorization API extract (generated for client codegen).
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Generated by orval v8.6.2 🍺
2
+ * Generated by orval v8.16.0 🍺
3
3
  * Do not edit manually.
4
4
  * Authorization API
5
5
  * Authorization API extract (generated for client codegen).
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  /**
3
- * Generated by orval v8.6.2 🍺
3
+ * Generated by orval v8.16.0 🍺
4
4
  * Do not edit manually.
5
5
  * Authorization API
6
6
  * Authorization API extract (generated for client codegen).
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Generated by orval v8.6.2 🍺
2
+ * Generated by orval v8.16.0 🍺
3
3
  * Do not edit manually.
4
4
  * Authorization API
5
5
  * Authorization API extract (generated for client codegen).
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  /**
3
- * Generated by orval v8.6.2 🍺
3
+ * Generated by orval v8.16.0 🍺
4
4
  * Do not edit manually.
5
5
  * Authorization API
6
6
  * Authorization API extract (generated for client codegen).
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Generated by orval v8.6.2 🍺
2
+ * Generated by orval v8.16.0 🍺
3
3
  * Do not edit manually.
4
4
  * Authorization API
5
5
  * Authorization API extract (generated for client codegen).
@@ -14,4 +14,5 @@ export declare const CredentialPrecedenceSource: {
14
14
  readonly capability_default: "capability_default";
15
15
  readonly project_default: "project_default";
16
16
  readonly org_default: "org_default";
17
+ readonly platform_default: "platform_default";
17
18
  };
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  /**
3
- * Generated by orval v8.6.2 🍺
3
+ * Generated by orval v8.16.0 🍺
4
4
  * Do not edit manually.
5
5
  * Authorization API
6
6
  * Authorization API extract (generated for client codegen).
@@ -13,4 +13,5 @@ exports.CredentialPrecedenceSource = {
13
13
  capability_default: 'capability_default',
14
14
  project_default: 'project_default',
15
15
  org_default: 'org_default',
16
+ platform_default: 'platform_default',
16
17
  };
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Generated by orval v8.6.2 🍺
2
+ * Generated by orval v8.16.0 🍺
3
3
  * Do not edit manually.
4
4
  * Authorization API
5
5
  * Authorization API extract (generated for client codegen).
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  /**
3
- * Generated by orval v8.6.2 🍺
3
+ * Generated by orval v8.16.0 🍺
4
4
  * Do not edit manually.
5
5
  * Authorization API
6
6
  * Authorization API extract (generated for client codegen).
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Generated by orval v8.6.2 🍺
2
+ * Generated by orval v8.16.0 🍺
3
3
  * Do not edit manually.
4
4
  * Authorization API
5
5
  * Authorization API extract (generated for client codegen).
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  /**
3
- * Generated by orval v8.6.2 🍺
3
+ * Generated by orval v8.16.0 🍺
4
4
  * Do not edit manually.
5
5
  * Authorization API
6
6
  * Authorization API extract (generated for client codegen).
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Generated by orval v8.6.2 🍺
2
+ * Generated by orval v8.16.0 🍺
3
3
  * Do not edit manually.
4
4
  * Authorization API
5
5
  * Authorization API extract (generated for client codegen).
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  /**
3
- * Generated by orval v8.6.2 🍺
3
+ * Generated by orval v8.16.0 🍺
4
4
  * Do not edit manually.
5
5
  * Authorization API
6
6
  * Authorization API extract (generated for client codegen).
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Generated by orval v8.6.2 🍺
2
+ * Generated by orval v8.16.0 🍺
3
3
  * Do not edit manually.
4
4
  * Authorization API
5
5
  * Authorization API extract (generated for client codegen).
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  /**
3
- * Generated by orval v8.6.2 🍺
3
+ * Generated by orval v8.16.0 🍺
4
4
  * Do not edit manually.
5
5
  * Authorization API
6
6
  * Authorization API extract (generated for client codegen).
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Generated by orval v8.6.2 🍺
2
+ * Generated by orval v8.16.0 🍺
3
3
  * Do not edit manually.
4
4
  * Authorization API
5
5
  * Authorization API extract (generated for client codegen).
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  /**
3
- * Generated by orval v8.6.2 🍺
3
+ * Generated by orval v8.16.0 🍺
4
4
  * Do not edit manually.
5
5
  * Authorization API
6
6
  * Authorization API extract (generated for client codegen).
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Generated by orval v8.6.2 🍺
2
+ * Generated by orval v8.16.0 🍺
3
3
  * Do not edit manually.
4
4
  * Authorization API
5
5
  * Authorization API extract (generated for client codegen).
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  /**
3
- * Generated by orval v8.6.2 🍺
3
+ * Generated by orval v8.16.0 🍺
4
4
  * Do not edit manually.
5
5
  * Authorization API
6
6
  * Authorization API extract (generated for client codegen).
@@ -1,12 +1,12 @@
1
1
  /**
2
- * Generated by orval v8.6.2 🍺
2
+ * Generated by orval v8.16.0 🍺
3
3
  * Do not edit manually.
4
4
  * Authorization API
5
5
  * Authorization API extract (generated for client codegen).
6
6
  * OpenAPI spec version: 0.1.0
7
7
  */
8
8
  /**
9
- * Kebab-case ExecutionEnvironmentKind classification (`system` | `org` | `project` | `app` | `session` | `sandbox` | `public` | `store-review` | `trusted-dev`). Equals `slug` for built-ins.
9
+ * Every execution environment in which the subject holds this capability (closed enum).
10
10
  */
11
11
  export type ExecutionEnvironmentKind = typeof ExecutionEnvironmentKind[keyof typeof ExecutionEnvironmentKind];
12
12
  export declare const ExecutionEnvironmentKind: {
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  /**
3
- * Generated by orval v8.6.2 🍺
3
+ * Generated by orval v8.16.0 🍺
4
4
  * Do not edit manually.
5
5
  * Authorization API
6
6
  * Authorization API extract (generated for client codegen).
@@ -1,15 +1,15 @@
1
1
  /**
2
- * Generated by orval v8.6.2 🍺
2
+ * Generated by orval v8.16.0 🍺
3
3
  * Do not edit manually.
4
4
  * Authorization API
5
5
  * Authorization API extract (generated for client codegen).
6
6
  * OpenAPI spec version: 0.1.0
7
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';
8
+ import type { ExecutionEnvironmentKind } from './executionEnvironmentKind.js';
9
+ import type { ExecutionEnvironmentResponseDtoAllowedCapabilitiesItem } from './executionEnvironmentResponseDtoAllowedCapabilitiesItem.js';
10
+ import type { ExecutionEnvironmentResponseDtoApprovalRulesItem } from './executionEnvironmentResponseDtoApprovalRulesItem.js';
11
+ import type { ExecutionEnvironmentResponseDtoOrgId } from './executionEnvironmentResponseDtoOrgId.js';
12
+ import type { ExecutionEnvironmentResponseDtoRuntimeLimits } from './executionEnvironmentResponseDtoRuntimeLimits.js';
13
13
  export interface ExecutionEnvironmentResponseDto {
14
14
  id: string;
15
15
  /**
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Generated by orval v8.6.2 🍺
2
+ * Generated by orval v8.16.0 🍺
3
3
  * Do not edit manually.
4
4
  * Authorization API
5
5
  * Authorization API extract (generated for client codegen).