@xemahq/authorization-internal-api-client 0.1.0 → 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.
Files changed (289) 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 +20 -8
  6. package/dist/endpoints/authorization/authorization.js +39 -7
  7. package/dist/endpoints/contribution-sync/contribution-sync.d.ts +2 -0
  8. package/dist/endpoints/contribution-sync/contribution-sync.js +22 -0
  9. package/dist/endpoints/credential-defaults/credential-defaults.d.ts +5 -5
  10. package/dist/endpoints/credential-defaults/credential-defaults.js +12 -12
  11. package/dist/endpoints/describe-objects/describe-objects.d.ts +14 -0
  12. package/dist/endpoints/describe-objects/describe-objects.js +19 -0
  13. package/dist/endpoints/environments/environments.d.ts +12 -12
  14. package/dist/endpoints/environments/environments.js +20 -20
  15. package/dist/endpoints/grants/grants.d.ts +12 -12
  16. package/dist/endpoints/grants/grants.js +15 -15
  17. package/dist/endpoints/profiles/profiles.d.ts +5 -5
  18. package/dist/endpoints/profiles/profiles.js +4 -4
  19. package/dist/endpoints/relationships/relationships.d.ts +4 -4
  20. package/dist/endpoints/relationships/relationships.js +4 -4
  21. package/dist/endpoints/resources/resources.d.ts +37 -0
  22. package/dist/endpoints/resources/resources.js +84 -0
  23. package/dist/endpoints/roles/roles.d.ts +23 -18
  24. package/dist/endpoints/roles/roles.js +50 -34
  25. package/dist/endpoints/teams/teams.d.ts +14 -14
  26. package/dist/endpoints/teams/teams.js +24 -24
  27. package/dist/index.d.ts +4 -0
  28. package/dist/index.js +4 -0
  29. package/dist/models/addResourceShareDto.d.ts +11 -0
  30. package/dist/models/addRoleGrantDto.d.ts +2 -2
  31. package/dist/models/addTeamMemberDto.d.ts +2 -2
  32. package/dist/models/agentProvisionDecision.d.ts +12 -0
  33. package/dist/models/agentProvisionDecision.js +14 -0
  34. package/dist/models/agentProvisionReason.d.ts +15 -0
  35. package/dist/models/agentProvisionReason.js +17 -0
  36. package/dist/models/agentReachTier.d.ts +17 -0
  37. package/dist/models/agentReachTier.js +16 -0
  38. package/dist/models/assignRoleDto.d.ts +2 -2
  39. package/dist/models/authorizationCheckRequestDto.d.ts +2 -2
  40. package/dist/models/authorizationCheckResponseDto.d.ts +3 -3
  41. package/dist/models/authorizationCheckResponseDtoDataEnvelope.d.ts +11 -0
  42. package/dist/models/authorizationDecisionCode.d.ts +5 -2
  43. package/dist/models/authorizationDecisionCode.js +5 -2
  44. package/dist/models/authorizationReasonDto.d.ts +2 -2
  45. package/dist/models/authorizationSuggestionDto.d.ts +2 -2
  46. package/dist/models/authorizationSuggestionKind.d.ts +1 -1
  47. package/dist/models/authorizationSuggestionKind.js +1 -1
  48. package/dist/models/biomePermissionProfile.d.ts +1 -4
  49. package/dist/models/biomePermissionProfile.js +1 -1
  50. package/dist/models/biomeTrustTier.d.ts +1 -1
  51. package/dist/models/biomeTrustTier.js +1 -1
  52. package/dist/models/callerKind.d.ts +1 -1
  53. package/dist/models/callerKind.js +1 -1
  54. package/dist/models/capabilityGrantDto.d.ts +5 -5
  55. package/dist/models/capabilityGrantDtoDataEnvelope.d.ts +11 -0
  56. package/dist/models/capabilityGrantDtoPaginatedEnvelope.d.ts +13 -0
  57. package/dist/models/capabilityGrantRelation.d.ts +4 -1
  58. package/dist/models/capabilityGrantRelation.js +1 -1
  59. package/dist/models/capabilityRiskTier.d.ts +17 -0
  60. package/dist/models/capabilityRiskTier.js +16 -0
  61. package/dist/models/createExecutionEnvironmentDto.d.ts +5 -5
  62. package/dist/models/createExecutionEnvironmentDtoAllowedCapabilitiesItem.d.ts +1 -1
  63. package/dist/models/createExecutionEnvironmentDtoAllowedCapabilitiesItem.js +1 -1
  64. package/dist/models/createExecutionEnvironmentDtoApprovalRulesItem.d.ts +1 -1
  65. package/dist/models/createExecutionEnvironmentDtoApprovalRulesItem.js +1 -1
  66. package/dist/models/createExecutionEnvironmentDtoRuntimeLimits.d.ts +1 -1
  67. package/dist/models/createExecutionEnvironmentDtoRuntimeLimits.js +1 -1
  68. package/dist/models/createGrantDto.d.ts +6 -6
  69. package/dist/models/createRoleDto.d.ts +1 -1
  70. package/dist/models/createRoleDto.js +1 -1
  71. package/dist/models/createTeamDto.d.ts +1 -1
  72. package/dist/models/createTeamDto.js +1 -1
  73. package/dist/models/credentialDefaultDto.d.ts +1 -1
  74. package/dist/models/credentialDefaultDto.js +1 -1
  75. package/dist/models/credentialDefaultDtoDataArrayEnvelope.d.ts +2 -2
  76. package/dist/models/credentialDefaultDtoDataEnvelope.d.ts +2 -2
  77. package/dist/models/credentialDefaultsControllerDeleteParams.d.ts +1 -1
  78. package/dist/models/credentialDefaultsControllerDeleteParams.js +1 -1
  79. package/dist/models/credentialDefaultsControllerGetParams.d.ts +1 -1
  80. package/dist/models/credentialDefaultsControllerGetParams.js +1 -1
  81. package/dist/models/credentialDefaultsControllerListParams.d.ts +1 -1
  82. package/dist/models/credentialDefaultsControllerListParams.js +1 -1
  83. package/dist/models/credentialPrecedenceSource.d.ts +2 -1
  84. package/dist/models/credentialPrecedenceSource.js +2 -1
  85. package/dist/models/dataClassification.d.ts +1 -1
  86. package/dist/models/dataClassification.js +1 -1
  87. package/dist/models/dataResidency.d.ts +1 -1
  88. package/dist/models/dataResidency.js +1 -1
  89. package/dist/models/describeObjectsResponseDto.d.ts +14 -0
  90. package/dist/models/describeObjectsResponseDtoDataEnvelope.d.ts +11 -0
  91. package/dist/models/environmentsControllerFindBySlugParams.d.ts +1 -1
  92. package/dist/models/environmentsControllerFindBySlugParams.js +1 -1
  93. package/dist/models/environmentsControllerListParams.d.ts +1 -1
  94. package/dist/models/environmentsControllerListParams.js +1 -1
  95. package/dist/models/environmentsControllerRemoveParams.d.ts +1 -1
  96. package/dist/models/environmentsControllerRemoveParams.js +1 -1
  97. package/dist/models/environmentsControllerUpdateParams.d.ts +1 -1
  98. package/dist/models/environmentsControllerUpdateParams.js +1 -1
  99. package/dist/models/errorDetailsDto.d.ts +12 -0
  100. package/dist/models/{teamDtoParentTeamId.d.ts → errorDetailsDtoDetails.d.ts} +2 -2
  101. package/dist/models/{teamDtoDescription.js → errorDetailsDtoDetails.js} +1 -1
  102. package/dist/models/errorPayloadDto.d.ts +13 -0
  103. package/dist/models/errorResponseDto.d.ts +11 -0
  104. package/dist/models/errorResponseDto.js +2 -0
  105. package/dist/models/executionEnvironmentKind.d.ts +2 -2
  106. package/dist/models/executionEnvironmentKind.js +1 -1
  107. package/dist/models/executionEnvironmentResponseDto.d.ts +6 -6
  108. package/dist/models/executionEnvironmentResponseDtoAllowedCapabilitiesItem.d.ts +1 -1
  109. package/dist/models/executionEnvironmentResponseDtoAllowedCapabilitiesItem.js +1 -1
  110. package/dist/models/executionEnvironmentResponseDtoApprovalRulesItem.d.ts +1 -1
  111. package/dist/models/executionEnvironmentResponseDtoApprovalRulesItem.js +1 -1
  112. package/dist/models/executionEnvironmentResponseDtoDataArrayEnvelope.d.ts +11 -0
  113. package/dist/models/executionEnvironmentResponseDtoDataArrayEnvelope.js +2 -0
  114. package/dist/models/executionEnvironmentResponseDtoDataEnvelope.d.ts +11 -0
  115. package/dist/models/executionEnvironmentResponseDtoDataEnvelope.js +2 -0
  116. package/dist/models/executionEnvironmentResponseDtoOrgId.d.ts +1 -1
  117. package/dist/models/executionEnvironmentResponseDtoOrgId.js +1 -1
  118. package/dist/models/executionEnvironmentResponseDtoRuntimeLimits.d.ts +1 -1
  119. package/dist/models/executionEnvironmentResponseDtoRuntimeLimits.js +1 -1
  120. package/dist/models/grantConstraintsDto.d.ts +1 -1
  121. package/dist/models/grantConstraintsDto.js +1 -1
  122. package/dist/models/grantVersionResponseDto.d.ts +13 -0
  123. package/dist/models/{roleAssignmentDtoTeamId.js → grantVersionResponseDto.js} +1 -1
  124. package/dist/models/grantVersionResponseDtoDataEnvelope.d.ts +11 -0
  125. package/dist/models/grantVersionResponseDtoDataEnvelope.js +2 -0
  126. package/dist/models/grantsControllerListParams.d.ts +2 -2
  127. package/dist/models/index.d.ts +56 -3
  128. package/dist/models/index.js +56 -3
  129. package/dist/models/listVisibleResourcesDto.d.ts +14 -0
  130. package/dist/models/listVisibleResourcesDto.js +2 -0
  131. package/dist/models/objectLifecycle.d.ts +16 -0
  132. package/dist/models/objectLifecycle.js +15 -0
  133. package/dist/models/openFgaRelationshipDto.d.ts +2 -2
  134. package/dist/models/openFgaRelationshipDtoPaginatedEnvelope.d.ts +13 -0
  135. package/dist/models/openFgaRelationshipDtoPaginatedEnvelope.js +2 -0
  136. package/dist/models/orgRole.d.ts +16 -0
  137. package/dist/models/orgRole.js +15 -0
  138. package/dist/models/orgRoleSyncDto.d.ts +18 -0
  139. package/dist/models/orgRoleSyncDto.js +2 -0
  140. package/dist/models/orgRoleSyncResultDto.d.ts +11 -0
  141. package/dist/models/{roleDtoDescription.js → orgRoleSyncResultDto.js} +1 -1
  142. package/dist/models/orgRoleSyncResultDtoDataEnvelope.d.ts +11 -0
  143. package/dist/models/orgRoleSyncResultDtoDataEnvelope.js +2 -0
  144. package/dist/models/paginationMeta.d.ts +18 -0
  145. package/dist/models/{roleAssignmentDtoSubjectRef.js → paginationMeta.js} +1 -1
  146. package/dist/models/policyActingForDto.d.ts +2 -2
  147. package/dist/models/policyBiomeDto.d.ts +2 -2
  148. package/dist/models/policyCallerDto.d.ts +2 -2
  149. package/dist/models/policyCapabilityDto.d.ts +1 -1
  150. package/dist/models/policyCapabilityDto.js +1 -1
  151. package/dist/models/policyCheckBatchRequestDto.d.ts +15 -0
  152. package/dist/models/policyCheckBatchRequestDto.js +2 -0
  153. package/dist/models/policyCheckBatchResponseDto.d.ts +12 -0
  154. package/dist/models/policyCheckBatchResponseDto.js +2 -0
  155. package/dist/models/policyCheckBatchResponseDtoDataEnvelope.d.ts +11 -0
  156. package/dist/models/policyCheckBatchResponseDtoDataEnvelope.js +2 -0
  157. package/dist/models/policyCheckRequestDto.d.ts +9 -9
  158. package/dist/models/policyConstraintsDto.d.ts +1 -1
  159. package/dist/models/policyConstraintsDto.js +1 -1
  160. package/dist/models/policyDecisionDto.d.ts +6 -6
  161. package/dist/models/policyDecisionDtoDataEnvelope.d.ts +11 -0
  162. package/dist/models/policyDecisionDtoDataEnvelope.js +2 -0
  163. package/dist/models/policyDecisionKind.d.ts +1 -1
  164. package/dist/models/policyDecisionKind.js +1 -1
  165. package/dist/models/policyEnvironmentDto.d.ts +1 -1
  166. package/dist/models/policyEnvironmentDto.js +1 -1
  167. package/dist/models/policyObligationDto.d.ts +9 -5
  168. package/dist/models/policyObligationKind.d.ts +2 -1
  169. package/dist/models/policyObligationKind.js +2 -1
  170. package/dist/models/policyResourceDto.d.ts +2 -2
  171. package/dist/models/policyRouteHintDto.d.ts +3 -3
  172. package/dist/models/policyRouteHintDtoRequiredRunnerLabels.d.ts +1 -1
  173. package/dist/models/policyRouteHintDtoRequiredRunnerLabels.js +1 -1
  174. package/dist/models/policySpaceRefDto.d.ts +2 -2
  175. package/dist/models/policySubjectRefDto.d.ts +3 -3
  176. package/dist/models/profilePolicyTemplateDto.d.ts +3 -3
  177. package/dist/models/{listProfilesResponseDto.d.ts → profilePolicyTemplateDtoDataArrayEnvelope.d.ts} +4 -4
  178. package/dist/models/profilePolicyTemplateDtoDataArrayEnvelope.js +2 -0
  179. package/dist/models/profilePolicyTemplateDtoNotes.d.ts +1 -1
  180. package/dist/models/profilePolicyTemplateDtoNotes.js +1 -1
  181. package/dist/models/provisionAgentRequestDto.d.ts +20 -0
  182. package/dist/models/provisionAgentRequestDto.js +2 -0
  183. package/dist/models/provisionAgentResultDto.d.ts +14 -0
  184. package/dist/models/provisionAgentResultDto.js +2 -0
  185. package/dist/models/provisionAgentResultDtoDataEnvelope.d.ts +11 -0
  186. package/dist/models/provisionAgentResultDtoDataEnvelope.js +2 -0
  187. package/dist/models/provisionedCapabilityDto.d.ts +21 -0
  188. package/dist/models/provisionedCapabilityDto.js +2 -0
  189. package/dist/models/registerResourceOwnershipDto.d.ts +21 -0
  190. package/dist/models/registerResourceOwnershipDto.js +2 -0
  191. package/dist/models/relationshipsControllerListParams.d.ts +3 -3
  192. package/dist/models/resourceManagedBy.d.ts +19 -0
  193. package/dist/models/resourceManagedBy.js +18 -0
  194. package/dist/models/resourceOwnershipDto.d.ts +17 -0
  195. package/dist/models/resourceOwnershipDto.js +2 -0
  196. package/dist/models/resourceOwnershipDtoDataEnvelope.d.ts +11 -0
  197. package/dist/models/resourceOwnershipDtoDataEnvelope.js +2 -0
  198. package/dist/models/resourceOwnershipEntryDto.d.ts +13 -0
  199. package/dist/models/resourceOwnershipEntryDto.js +2 -0
  200. package/dist/models/resourceOwnershipReadDto.d.ts +16 -0
  201. package/dist/models/resourceOwnershipReadDto.js +2 -0
  202. package/dist/models/resourceOwnershipReadDtoDataEnvelope.d.ts +11 -0
  203. package/dist/models/resourceOwnershipReadDtoDataEnvelope.js +2 -0
  204. package/dist/models/resourceSubjectRefDto.d.ts +13 -0
  205. package/dist/models/resourceSubjectRefDto.js +2 -0
  206. package/dist/models/resourceVisibilityPattern.d.ts +15 -0
  207. package/dist/models/resourceVisibilityPattern.js +17 -0
  208. package/dist/models/roleAssignmentDto.d.ts +2 -2
  209. package/dist/models/roleAssignmentDtoDataArrayEnvelope.d.ts +2 -2
  210. package/dist/models/roleAssignmentDtoDataEnvelope.d.ts +11 -0
  211. package/dist/models/roleAssignmentDtoDataEnvelope.js +2 -0
  212. package/dist/models/roleDto.d.ts +4 -1
  213. package/dist/models/roleDto.js +0 -7
  214. package/dist/models/roleDtoDataArrayEnvelope.d.ts +2 -2
  215. package/dist/models/{roleAssignmentDtoSubjectRef.d.ts → roleDtoDataEnvelope.d.ts} +5 -7
  216. package/dist/models/roleDtoDataEnvelope.js +2 -0
  217. package/dist/models/roleGrantDto.d.ts +2 -2
  218. package/dist/models/roleGrantDtoDataArrayEnvelope.d.ts +2 -2
  219. package/dist/models/roleGrantDtoDataEnvelope.d.ts +11 -0
  220. package/dist/models/roleGrantDtoDataEnvelope.js +2 -0
  221. package/dist/models/rolesControllerListParams.d.ts +1 -1
  222. package/dist/models/rolesControllerListParams.js +1 -1
  223. package/dist/models/runnerKind.d.ts +1 -1
  224. package/dist/models/runnerKind.js +1 -1
  225. package/dist/models/spaceKind.d.ts +1 -1
  226. package/dist/models/spaceKind.js +1 -1
  227. package/dist/models/subjectKind.d.ts +1 -1
  228. package/dist/models/subjectKind.js +1 -1
  229. package/dist/models/subjectRefDto.d.ts +2 -2
  230. package/dist/models/teamDto.d.ts +1 -1
  231. package/dist/models/teamDto.js +1 -1
  232. package/dist/models/teamDtoDataArrayEnvelope.d.ts +2 -2
  233. package/dist/models/{roleAssignmentDtoTeamId.d.ts → teamDtoDataEnvelope.d.ts} +5 -7
  234. package/dist/models/teamDtoDataEnvelope.js +2 -0
  235. package/dist/models/teamMembershipDto.d.ts +2 -2
  236. package/dist/models/teamMembershipDtoDataArrayEnvelope.d.ts +2 -2
  237. package/dist/models/teamMembershipDtoDataEnvelope.d.ts +11 -0
  238. package/dist/models/teamMembershipDtoDataEnvelope.js +2 -0
  239. package/dist/models/teamsControllerListParams.d.ts +1 -1
  240. package/dist/models/teamsControllerListParams.js +1 -1
  241. package/dist/models/updateExecutionEnvironmentDto.d.ts +4 -4
  242. package/dist/models/updateExecutionEnvironmentDtoAllowedCapabilitiesItem.d.ts +1 -1
  243. package/dist/models/updateExecutionEnvironmentDtoAllowedCapabilitiesItem.js +1 -1
  244. package/dist/models/updateExecutionEnvironmentDtoApprovalRulesItem.d.ts +1 -1
  245. package/dist/models/updateExecutionEnvironmentDtoApprovalRulesItem.js +1 -1
  246. package/dist/models/updateExecutionEnvironmentDtoRuntimeLimits.d.ts +1 -1
  247. package/dist/models/updateExecutionEnvironmentDtoRuntimeLimits.js +1 -1
  248. package/dist/models/updateGrantDto.d.ts +4 -4
  249. package/dist/models/updateRoleDto.d.ts +1 -1
  250. package/dist/models/updateRoleDto.js +1 -1
  251. package/dist/models/updateTeamDto.d.ts +1 -1
  252. package/dist/models/updateTeamDto.js +1 -1
  253. package/dist/models/upsertCredentialDefaultDto.d.ts +1 -1
  254. package/dist/models/upsertCredentialDefaultDto.js +1 -1
  255. package/dist/models/visibleResourcesDto.d.ts +11 -0
  256. package/dist/models/visibleResourcesDto.js +9 -0
  257. package/dist/models/visibleResourcesDtoDataEnvelope.d.ts +11 -0
  258. package/dist/models/visibleResourcesDtoDataEnvelope.js +2 -0
  259. package/dist/models/xemaObjectKind.d.ts +50 -0
  260. package/dist/models/xemaObjectKind.js +49 -0
  261. package/dist/models/xemaObjectResponseDto.d.ts +26 -0
  262. package/dist/models/xemaObjectResponseDto.js +2 -0
  263. package/dist/models/xemaObjectResponseDtoPayload.d.ts +13 -0
  264. package/dist/models/xemaObjectResponseDtoPayload.js +9 -0
  265. package/dist/models/xemaSpaceRefDto.d.ts +18 -0
  266. package/dist/models/xemaSpaceRefDto.js +2 -0
  267. package/dist/models/xemaSubjectRefDto.d.ts +13 -0
  268. package/dist/models/xemaSubjectRefDto.js +9 -0
  269. package/package.json +14 -3
  270. package/dist/models/listGrantsResponseDto.d.ts +0 -14
  271. package/dist/models/listRelationshipsResponseDto.d.ts +0 -14
  272. package/dist/models/listRoleAssignmentsResponseDto.d.ts +0 -12
  273. package/dist/models/listRoleGrantsResponseDto.d.ts +0 -12
  274. package/dist/models/listRolesResponseDto.d.ts +0 -14
  275. package/dist/models/listTeamMembersResponseDto.d.ts +0 -12
  276. package/dist/models/listTeamsResponseDto.d.ts +0 -14
  277. package/dist/models/roleDtoDescription.d.ts +0 -13
  278. package/dist/models/teamDtoDescription.d.ts +0 -13
  279. package/dist/models/teamDtoParentTeamId.js +0 -9
  280. package/dist/models/updateTeamDtoParentTeamId.d.ts +0 -14
  281. package/dist/models/updateTeamDtoParentTeamId.js +0 -9
  282. /package/dist/models/{listGrantsResponseDto.js → addResourceShareDto.js} +0 -0
  283. /package/dist/models/{listProfilesResponseDto.js → authorizationCheckResponseDtoDataEnvelope.js} +0 -0
  284. /package/dist/models/{listRelationshipsResponseDto.js → capabilityGrantDtoDataEnvelope.js} +0 -0
  285. /package/dist/models/{listRoleAssignmentsResponseDto.js → capabilityGrantDtoPaginatedEnvelope.js} +0 -0
  286. /package/dist/models/{listRoleGrantsResponseDto.js → describeObjectsResponseDto.js} +0 -0
  287. /package/dist/models/{listRolesResponseDto.js → describeObjectsResponseDtoDataEnvelope.js} +0 -0
  288. /package/dist/models/{listTeamMembersResponseDto.js → errorDetailsDto.js} +0 -0
  289. /package/dist/models/{listTeamsResponseDto.js → errorPayloadDto.js} +0 -0
@@ -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).
@@ -17,4 +17,5 @@ exports.PolicyObligationKind = {
17
17
  'max-cost-usd': 'max-cost-usd',
18
18
  'restrict-output-classification': 'restrict-output-classification',
19
19
  'data-residency': 'data-residency',
20
+ 'egress-allowlist': 'egress-allowlist',
20
21
  };
@@ -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 { DataClassification } from './dataClassification';
8
+ import type { DataClassification } from './dataClassification.js';
9
9
  export interface PolicyResourceDto {
10
10
  ref: string;
11
11
  classification: DataClassification;
@@ -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
- import type { PolicyRouteHintDtoRequiredRunnerLabels } from './policyRouteHintDtoRequiredRunnerLabels';
9
- import type { RunnerKind } from './runnerKind';
8
+ import type { PolicyRouteHintDtoRequiredRunnerLabels } from './policyRouteHintDtoRequiredRunnerLabels.js';
9
+ import type { RunnerKind } from './runnerKind.js';
10
10
  export interface PolicyRouteHintDto {
11
11
  requiredRunnerLabels?: PolicyRouteHintDtoRequiredRunnerLabels;
12
12
  preferredRunnerKind?: RunnerKind;
@@ -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 { SpaceKind } from './spaceKind';
8
+ import type { SpaceKind } from './spaceKind.js';
9
9
  export interface PolicySpaceRefDto {
10
10
  tier: SpaceKind;
11
11
  orgId?: string;
@@ -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
- import type { PolicyActingForDto } from './policyActingForDto';
9
- import type { SubjectKind } from './subjectKind';
8
+ import type { PolicyActingForDto } from './policyActingForDto.js';
9
+ import type { SubjectKind } from './subjectKind.js';
10
10
  export interface PolicySubjectRefDto {
11
11
  kind: SubjectKind;
12
12
  id: string;
@@ -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
- import type { BiomePermissionProfile } from './biomePermissionProfile';
9
- import type { ProfilePolicyTemplateDtoNotes } from './profilePolicyTemplateDtoNotes';
8
+ import type { BiomePermissionProfile } from './biomePermissionProfile.js';
9
+ import type { ProfilePolicyTemplateDtoNotes } from './profilePolicyTemplateDtoNotes.js';
10
10
  export interface ProfilePolicyTemplateDto {
11
11
  id: string;
12
12
  profile: BiomePermissionProfile;
@@ -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 { ProfilePolicyTemplateDto } from './profilePolicyTemplateDto';
9
- export interface ListProfilesResponseDto {
10
- items: ProfilePolicyTemplateDto[];
8
+ import type { ProfilePolicyTemplateDto } from './profilePolicyTemplateDto.js';
9
+ export interface ProfilePolicyTemplateDtoDataArrayEnvelope {
10
+ data: ProfilePolicyTemplateDto[];
11
11
  }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -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).
@@ -0,0 +1,20 @@
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 { AgentReachTier } from './agentReachTier.js';
9
+ export interface ProvisionAgentRequestDto {
10
+ /** Organization the agent + its capability grants are scoped to. */
11
+ orgId: string;
12
+ /** The agent subject ref the grants are written for (subjectKind=agent). */
13
+ agentSubjectRef: string;
14
+ /** The owning user subject ref. Auto-grant requires the OWNER to currently hold the capability (a full, non-pending grant in the agent's environment). */
15
+ ownerSubjectRef: string;
16
+ /** The agent reach-tier ceiling. Selects the execution environment the owner-held check + grants resolve under. */
17
+ reachTier: AgentReachTier;
18
+ /** Canonical CapabilityRefs the agent requires. Deduplicated server-side. */
19
+ requiredCapabilities: string[];
20
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -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 { ProvisionedCapabilityDto } from './provisionedCapabilityDto.js';
9
+ export interface ProvisionAgentResultDto {
10
+ /** Capabilities auto-granted as full grants. */
11
+ autoGranted: ProvisionedCapabilityDto[];
12
+ /** Capabilities written as approval-gated grants awaiting Studio review. */
13
+ pendingApproval: ProvisionedCapabilityDto[];
14
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ 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 { ProvisionAgentResultDto } from './provisionAgentResultDto.js';
9
+ export interface ProvisionAgentResultDtoDataEnvelope {
10
+ data: ProvisionAgentResultDto;
11
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,21 @@
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 { AgentProvisionDecision } from './agentProvisionDecision.js';
9
+ import type { AgentProvisionReason } from './agentProvisionReason.js';
10
+ import type { CapabilityRiskTier } from './capabilityRiskTier.js';
11
+ import type { ExecutionEnvironmentKind } from './executionEnvironmentKind.js';
12
+ export interface ProvisionedCapabilityDto {
13
+ /** The canonical CapabilityRef this entry describes. */
14
+ capability: string;
15
+ decision: AgentProvisionDecision;
16
+ reason: AgentProvisionReason;
17
+ /** Risk tier from the capability registry; `null` when the ref is unknown (absent from the registry). */
18
+ riskTier: CapabilityRiskTier | null;
19
+ /** The environment the grant was written under (derived from reachTier). */
20
+ environment: ExecutionEnvironmentKind;
21
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,21 @@
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 { ResourceSubjectRefDto } from './resourceSubjectRefDto.js';
9
+ import type { ResourceVisibilityPattern } from './resourceVisibilityPattern.js';
10
+ export interface RegisterResourceOwnershipDto {
11
+ /** Resource kind/type slug. */
12
+ resourceType: string;
13
+ /** Resource instance id. */
14
+ resourceId: string;
15
+ /** Instance visibility pattern. The PDP ANDs the verb verdict with the ownership check resolved per this pattern. */
16
+ visibility: ResourceVisibilityPattern;
17
+ /** Subjects that OWN the instance (full visibility). */
18
+ owners: ResourceSubjectRefDto[];
19
+ /** Subjects explicitly granted visibility (shared-with). */
20
+ explicitShares?: ResourceSubjectRefDto[];
21
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -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
- import type { CapabilityGrantRelation } from './capabilityGrantRelation';
9
- import type { SubjectKind } from './subjectKind';
8
+ import type { CapabilityGrantRelation } from './capabilityGrantRelation.js';
9
+ import type { SubjectKind } from './subjectKind.js';
10
10
  export type RelationshipsControllerListParams = {
11
11
  /**
12
12
  * Filter to relationships within a single organization.
@@ -0,0 +1,19 @@
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
+ * Provisioning ownership marker (iac/seeder/ui/system, or null when unmanaged). Lets a console badge an IaC-owned role and offer "export as code"; a UI edit adopts an iac/seeder row to `ui`.
10
+ */
11
+ export type ResourceManagedBy = typeof ResourceManagedBy[keyof typeof ResourceManagedBy];
12
+ export declare const ResourceManagedBy: {
13
+ readonly ui: "ui";
14
+ readonly iac: "iac";
15
+ readonly seeder: "seeder";
16
+ readonly biome_contributed: "biome_contributed";
17
+ readonly runtime_registered: "runtime_registered";
18
+ readonly system: "system";
19
+ };
@@ -0,0 +1,18 @@
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.ResourceManagedBy = void 0;
11
+ exports.ResourceManagedBy = {
12
+ ui: 'ui',
13
+ iac: 'iac',
14
+ seeder: 'seeder',
15
+ biome_contributed: 'biome_contributed',
16
+ runtime_registered: 'runtime_registered',
17
+ system: 'system',
18
+ };
@@ -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
+ import type { ResourceOwnershipEntryDto } from './resourceOwnershipEntryDto.js';
9
+ import type { ResourceVisibilityPattern } from './resourceVisibilityPattern.js';
10
+ export interface ResourceOwnershipDto {
11
+ orgId: string;
12
+ resourceType: string;
13
+ resourceId: string;
14
+ visibility: ResourceVisibilityPattern;
15
+ owners: ResourceOwnershipEntryDto[];
16
+ shares: ResourceOwnershipEntryDto[];
17
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ 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 { ResourceOwnershipDto } from './resourceOwnershipDto.js';
9
+ export interface ResourceOwnershipDtoDataEnvelope {
10
+ data: ResourceOwnershipDto;
11
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ 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 { SubjectKind } from './subjectKind.js';
9
+ export interface ResourceOwnershipEntryDto {
10
+ id: string;
11
+ ownerKind: SubjectKind;
12
+ ownerRef: string;
13
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,16 @@
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 { ResourceSubjectRefDto } from './resourceSubjectRefDto.js';
9
+ import type { ResourceVisibilityPattern } from './resourceVisibilityPattern.js';
10
+ export interface ResourceOwnershipReadDto {
11
+ resourceType: string;
12
+ resourceId: string;
13
+ visibility: ResourceVisibilityPattern;
14
+ /** All registered subjects (owners + shares combined; the SQL authority does not split the two). */
15
+ subjects: ResourceSubjectRefDto[];
16
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ 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 { ResourceOwnershipReadDto } from './resourceOwnershipReadDto.js';
9
+ export interface ResourceOwnershipReadDtoDataEnvelope {
10
+ data: ResourceOwnershipReadDto;
11
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ 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 { SubjectKind } from './subjectKind.js';
9
+ export interface ResourceSubjectRefDto {
10
+ kind: SubjectKind;
11
+ /** Subject id (the `<id>` in `<kind>:<id>`). */
12
+ ref: string;
13
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,15 @@
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 type ResourceVisibilityPattern = typeof ResourceVisibilityPattern[keyof typeof ResourceVisibilityPattern];
9
+ export declare const ResourceVisibilityPattern: {
10
+ readonly 'owner-only': "owner-only";
11
+ readonly 'org-shared': "org-shared";
12
+ readonly 'project-shared': "project-shared";
13
+ readonly 'space-shared': "space-shared";
14
+ readonly 'explicit-share': "explicit-share";
15
+ };
@@ -0,0 +1,17 @@
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.ResourceVisibilityPattern = void 0;
11
+ exports.ResourceVisibilityPattern = {
12
+ 'owner-only': 'owner-only',
13
+ 'org-shared': 'org-shared',
14
+ 'project-shared': 'project-shared',
15
+ 'space-shared': 'space-shared',
16
+ 'explicit-share': 'explicit-share',
17
+ };
@@ -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 { SubjectKind } from './subjectKind';
8
+ import type { SubjectKind } from './subjectKind.js';
9
9
  export interface RoleAssignmentDto {
10
10
  id: string;
11
11
  roleId: 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 { RoleAssignmentDto } from './roleAssignmentDto';
8
+ import type { RoleAssignmentDto } from './roleAssignmentDto.js';
9
9
  export interface RoleAssignmentDtoDataArrayEnvelope {
10
10
  data: RoleAssignmentDto[];
11
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 { RoleAssignmentDto } from './roleAssignmentDto.js';
9
+ export interface RoleAssignmentDtoDataEnvelope {
10
+ data: RoleAssignmentDto;
11
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,10 +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 { ResourceManagedBy } from './resourceManagedBy.js';
8
9
  export interface RoleDto {
9
10
  id: string;
10
11
  orgId: string;
@@ -14,6 +15,8 @@ export interface RoleDto {
14
15
  description?: string | null;
15
16
  /** Kernel-seeded built-in role (immutable from the UI). */
16
17
  isBuiltIn: boolean;
18
+ /** Provisioning ownership marker (iac/seeder/ui/system, or null when unmanaged). Lets a console badge an IaC-owned role and offer "export as code"; a UI edit adopts an iac/seeder row to `ui`. */
19
+ managedBy: ResourceManagedBy | null;
17
20
  createdAt: string;
18
21
  updatedAt: string;
19
22
  }
@@ -1,9 +1,2 @@
1
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
2
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -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 { RoleDto } from './roleDto';
8
+ import type { RoleDto } from './roleDto.js';
9
9
  export interface RoleDtoDataArrayEnvelope {
10
10
  data: RoleDto[];
11
11
  }
@@ -1,13 +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
- /**
9
- * @nullable
10
- */
11
- export type RoleAssignmentDtoSubjectRef = {
12
- [key: string]: unknown;
13
- } | null;
8
+ import type { RoleDto } from './roleDto.js';
9
+ export interface RoleDtoDataEnvelope {
10
+ data: RoleDto;
11
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -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 { GrantConstraintsDto } from './grantConstraintsDto';
8
+ import type { GrantConstraintsDto } from './grantConstraintsDto.js';
9
9
  export interface RoleGrantDto {
10
10
  id: string;
11
11
  roleId: 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 { RoleGrantDto } from './roleGrantDto';
8
+ import type { RoleGrantDto } from './roleGrantDto.js';
9
9
  export interface RoleGrantDtoDataArrayEnvelope {
10
10
  data: RoleGrantDto[];
11
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 { RoleGrantDto } from './roleGrantDto.js';
9
+ export interface RoleGrantDtoDataEnvelope {
10
+ data: RoleGrantDto;
11
+ }