@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
@@ -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).
@@ -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 { SubjectKind } from './subjectKind';
8
+ import type { SubjectKind } from './subjectKind.js';
9
9
  export interface SubjectRefDto {
10
10
  /** Discriminator over the kinds of subject that may hold a grant. */
11
11
  kind: SubjectKind;
@@ -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 { TeamDto } from './teamDto';
8
+ import type { TeamDto } from './teamDto.js';
9
9
  export interface TeamDtoDataArrayEnvelope {
10
10
  data: TeamDto[];
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 RoleAssignmentDtoTeamId = {
12
- [key: string]: unknown;
13
- } | null;
8
+ import type { TeamDto } from './teamDto.js';
9
+ export interface TeamDtoDataEnvelope {
10
+ data: TeamDto;
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 { SubjectKind } from './subjectKind';
8
+ import type { SubjectKind } from './subjectKind.js';
9
9
  export interface TeamMembershipDto {
10
10
  id: string;
11
11
  teamId: 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 { TeamMembershipDto } from './teamMembershipDto';
8
+ import type { TeamMembershipDto } from './teamMembershipDto.js';
9
9
  export interface TeamMembershipDtoDataArrayEnvelope {
10
10
  data: TeamMembershipDto[];
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 { TeamMembershipDto } from './teamMembershipDto.js';
9
+ export interface TeamMembershipDtoDataEnvelope {
10
+ data: TeamMembershipDto;
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).
@@ -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 { UpdateExecutionEnvironmentDtoAllowedCapabilitiesItem } from './updateExecutionEnvironmentDtoAllowedCapabilitiesItem';
9
- import type { UpdateExecutionEnvironmentDtoApprovalRulesItem } from './updateExecutionEnvironmentDtoApprovalRulesItem';
10
- import type { UpdateExecutionEnvironmentDtoRuntimeLimits } from './updateExecutionEnvironmentDtoRuntimeLimits';
8
+ import type { UpdateExecutionEnvironmentDtoAllowedCapabilitiesItem } from './updateExecutionEnvironmentDtoAllowedCapabilitiesItem.js';
9
+ import type { UpdateExecutionEnvironmentDtoApprovalRulesItem } from './updateExecutionEnvironmentDtoApprovalRulesItem.js';
10
+ import type { UpdateExecutionEnvironmentDtoRuntimeLimits } from './updateExecutionEnvironmentDtoRuntimeLimits.js';
11
11
  export interface UpdateExecutionEnvironmentDto {
12
12
  description?: string;
13
13
  /** Per-environment capability allow-list (`CapabilityPolicy[]`). */
@@ -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,18 +1,18 @@
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';
8
+ import type { BiomePermissionProfile } from './biomePermissionProfile.js';
9
+ import type { GrantConstraintsDto } from './grantConstraintsDto.js';
10
10
  export interface UpdateGrantDto {
11
11
  resourceGlob?: string;
12
12
  environment?: string;
13
13
  constraints?: GrantConstraintsDto;
14
14
  requiresApproval?: boolean;
15
15
  profile?: BiomePermissionProfile;
16
- /** Opaque credential-binding pointer (plan §W4.1). EXPLICIT tier of the credential ladder. Updating it is NOT tuple-affecting — no OpenFGA reconcile. */
16
+ /** Opaque credential-binding pointer. EXPLICIT tier of the credential ladder. Updating it is NOT tuple-affecting — no OpenFGA reconcile. */
17
17
  credentialBindingId?: string;
18
18
  }
@@ -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).
@@ -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
+ export interface VisibleResourcesDto {
9
+ /** Ids of the instances of `resourceType` the subject may see, de-duplicated. */
10
+ resourceIds: string[];
11
+ }
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by orval v8.16.0 🍺
4
+ * Do not edit manually.
5
+ * Authorization API
6
+ * Authorization API extract (generated for client codegen).
7
+ * OpenAPI spec version: 0.1.0
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Generated by orval v8.16.0 🍺
3
+ * Do not edit manually.
4
+ * Authorization API
5
+ * Authorization API extract (generated for client codegen).
6
+ * OpenAPI spec version: 0.1.0
7
+ */
8
+ import type { VisibleResourcesDto } from './visibleResourcesDto.js';
9
+ export interface VisibleResourcesDtoDataEnvelope {
10
+ data: VisibleResourcesDto;
11
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,50 @@
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
+ * Closed kind enum this object belongs to.
10
+ */
11
+ export type XemaObjectKind = typeof XemaObjectKind[keyof typeof XemaObjectKind];
12
+ export declare const XemaObjectKind: {
13
+ readonly biome: "biome";
14
+ readonly app: "app";
15
+ readonly 'app-client': "app-client";
16
+ readonly 'audience-policy': "audience-policy";
17
+ readonly 'external-subject': "external-subject";
18
+ readonly 'delegated-session': "delegated-session";
19
+ readonly agent: "agent";
20
+ readonly skill: "skill";
21
+ readonly tool: "tool";
22
+ readonly model: "model";
23
+ readonly 'model-resolution-rule': "model-resolution-rule";
24
+ readonly workflow: "workflow";
25
+ readonly 'workflow-run': "workflow-run";
26
+ readonly 'gate-action': "gate-action";
27
+ readonly connector: "connector";
28
+ readonly 'connector-binding': "connector-binding";
29
+ readonly 'mount-source': "mount-source";
30
+ readonly 'artifact-type': "artifact-type";
31
+ readonly artifact: "artifact";
32
+ readonly 'knowledge-space': "knowledge-space";
33
+ readonly 'knowledge-page': "knowledge-page";
34
+ readonly 'document-template': "document-template";
35
+ readonly 'document-theme': "document-theme";
36
+ readonly 'chart-runtime': "chart-runtime";
37
+ readonly 'presentation-runtime': "presentation-runtime";
38
+ readonly 'widget-kind': "widget-kind";
39
+ readonly capability: "capability";
40
+ readonly 'execution-environment': "execution-environment";
41
+ readonly 'capability-grant': "capability-grant";
42
+ readonly 'approval-rule': "approval-rule";
43
+ readonly memory: "memory";
44
+ readonly 'memory-relation': "memory-relation";
45
+ readonly session: "session";
46
+ readonly 'event-stream': "event-stream";
47
+ readonly 'event-subscription': "event-subscription";
48
+ readonly 'contribution-entry': "contribution-entry";
49
+ readonly concept: "concept";
50
+ };
@@ -0,0 +1,49 @@
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.XemaObjectKind = void 0;
11
+ exports.XemaObjectKind = {
12
+ biome: 'biome',
13
+ app: 'app',
14
+ 'app-client': 'app-client',
15
+ 'audience-policy': 'audience-policy',
16
+ 'external-subject': 'external-subject',
17
+ 'delegated-session': 'delegated-session',
18
+ agent: 'agent',
19
+ skill: 'skill',
20
+ tool: 'tool',
21
+ model: 'model',
22
+ 'model-resolution-rule': 'model-resolution-rule',
23
+ workflow: 'workflow',
24
+ 'workflow-run': 'workflow-run',
25
+ 'gate-action': 'gate-action',
26
+ connector: 'connector',
27
+ 'connector-binding': 'connector-binding',
28
+ 'mount-source': 'mount-source',
29
+ 'artifact-type': 'artifact-type',
30
+ artifact: 'artifact',
31
+ 'knowledge-space': 'knowledge-space',
32
+ 'knowledge-page': 'knowledge-page',
33
+ 'document-template': 'document-template',
34
+ 'document-theme': 'document-theme',
35
+ 'chart-runtime': 'chart-runtime',
36
+ 'presentation-runtime': 'presentation-runtime',
37
+ 'widget-kind': 'widget-kind',
38
+ capability: 'capability',
39
+ 'execution-environment': 'execution-environment',
40
+ 'capability-grant': 'capability-grant',
41
+ 'approval-rule': 'approval-rule',
42
+ memory: 'memory',
43
+ 'memory-relation': 'memory-relation',
44
+ session: 'session',
45
+ 'event-stream': 'event-stream',
46
+ 'event-subscription': 'event-subscription',
47
+ 'contribution-entry': 'contribution-entry',
48
+ concept: 'concept',
49
+ };
@@ -0,0 +1,26 @@
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 { ObjectLifecycle } from './objectLifecycle.js';
9
+ import type { XemaObjectKind } from './xemaObjectKind.js';
10
+ import type { XemaObjectResponseDtoPayload } from './xemaObjectResponseDtoPayload.js';
11
+ import type { XemaSpaceRefDto } from './xemaSpaceRefDto.js';
12
+ import type { XemaSubjectRefDto } from './xemaSubjectRefDto.js';
13
+ export interface XemaObjectResponseDto {
14
+ /** Canonical XemaObjectRef. */
15
+ ref: string;
16
+ /** Closed kind enum this object belongs to. */
17
+ kind: XemaObjectKind;
18
+ scope: XemaSpaceRefDto;
19
+ owner: XemaSubjectRefDto;
20
+ /** Object version. Semver where the kind is semver-versioned, otherwise the kind-native revision token (commit SHA, monotonic revision, `1` for unversioned kinds). */
21
+ version: string;
22
+ /** draft | published | archived. */
23
+ lifecycle: ObjectLifecycle;
24
+ /** Kind-specific payload. The schema is owned by the producing service; plane 1 carries it opaquely. */
25
+ payload: XemaObjectResponseDtoPayload;
26
+ }
@@ -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
+ /**
9
+ * Kind-specific payload. The schema is owned by the producing service; plane 1 carries it opaquely.
10
+ */
11
+ export type XemaObjectResponseDtoPayload = {
12
+ [key: string]: unknown;
13
+ };
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by orval v8.16.0 🍺
4
+ * Do not edit manually.
5
+ * Authorization API
6
+ * Authorization API extract (generated for client codegen).
7
+ * OpenAPI spec version: 0.1.0
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,18 @@
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 { SpaceKind } from './spaceKind.js';
9
+ export interface XemaSpaceRefDto {
10
+ /** Ownership tier (system | org | project | app | session | biome | user). */
11
+ tier: SpaceKind;
12
+ orgId?: string;
13
+ projectId?: string;
14
+ appId?: string;
15
+ sessionId?: string;
16
+ biomeId?: string;
17
+ userId?: string;
18
+ }
@@ -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
+ export interface XemaSubjectRefDto {
9
+ /** Subject kind. Projections stamp `service` — the owning platform service, not the authoring human. */
10
+ kind: string;
11
+ /** Subject reference; for a `service` subject, the service name. */
12
+ ref: string;
13
+ }
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by orval v8.16.0 🍺
4
+ * Do not edit manually.
5
+ * Authorization API
6
+ * Authorization API extract (generated for client codegen).
7
+ * OpenAPI spec version: 0.1.0
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
package/package.json CHANGED
@@ -1,13 +1,14 @@
1
1
  {
2
2
  "name": "@xemahq/authorization-internal-api-client",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "files": [
7
7
  "dist"
8
8
  ],
9
9
  "publishConfig": {
10
- "registry": "https://npm.pkg.github.com"
10
+ "access": "public",
11
+ "registry": "https://registry.npmjs.org/"
11
12
  },
12
13
  "devDependencies": {
13
14
  "typescript": "5.9.3"
@@ -18,9 +19,19 @@
18
19
  "service": "authorization-api",
19
20
  "biome": "authorization",
20
21
  "target": "server",
21
- "generator": "@xemahq/api-client-generator@0.1.1",
22
+ "generator": "@xemahq/api-client-generator@0.2.0",
22
23
  "source": "openapi.internal.json"
23
24
  },
25
+ "license": "LicenseRef-Xema-BSL-1.1",
26
+ "author": "Neuralchowder Inc. <developer@xema.dev> (https://xema.dev)",
27
+ "homepage": "https://xema.dev",
28
+ "bugs": "https://github.com/xema-dev/xema-community/issues",
29
+ "repository": {
30
+ "type": "git",
31
+ "url": "git+https://github.com/xema-dev/xema-community.git",
32
+ "directory": "packages/clients/authorization-internal-api"
33
+ },
34
+ "description": "Generated internal API client for the Xema authorization-api service.",
24
35
  "scripts": {
25
36
  "build": "tsc -p tsconfig.json"
26
37
  }