@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,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,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 type GrantsControllerListParams = {
10
10
  /**
11
11
  * Filter grants by organization identifier.
@@ -1,5 +1,9 @@
1
+ export * from './addResourceShareDto';
1
2
  export * from './addRoleGrantDto';
2
3
  export * from './addTeamMemberDto';
4
+ export * from './agentProvisionDecision';
5
+ export * from './agentProvisionReason';
6
+ export * from './agentReachTier';
3
7
  export * from './assignRoleDto';
4
8
  export * from './authorizationCheckRequestDto';
5
9
  export * from './authorizationCheckResponseDto';
@@ -11,7 +15,9 @@ export * from './biomePermissionProfile';
11
15
  export * from './biomeTrustTier';
12
16
  export * from './callerKind';
13
17
  export * from './capabilityGrantDto';
18
+ export * from './capabilityGrantDtoPaginatedEnvelope';
14
19
  export * from './capabilityGrantRelation';
20
+ export * from './capabilityRiskTier';
15
21
  export * from './createExecutionEnvironmentDto';
16
22
  export * from './createExecutionEnvironmentDtoAllowedCapabilitiesItem';
17
23
  export * from './createExecutionEnvironmentDtoApprovalRulesItem';
@@ -40,14 +46,19 @@ export * from './executionEnvironmentResponseDtoOrgId';
40
46
  export * from './executionEnvironmentResponseDtoRuntimeLimits';
41
47
  export * from './grantConstraintsDto';
42
48
  export * from './grantsControllerListParams';
43
- export * from './listGrantsResponseDto';
44
- export * from './listProfilesResponseDto';
45
- export * from './listRelationshipsResponseDto';
49
+ export * from './listVisibleResourcesDto';
46
50
  export * from './openFgaRelationshipDto';
51
+ export * from './openFgaRelationshipDtoPaginatedEnvelope';
52
+ export * from './orgRole';
53
+ export * from './orgRoleSyncDto';
54
+ export * from './orgRoleSyncResultDto';
55
+ export * from './paginationMeta';
47
56
  export * from './policyActingForDto';
48
57
  export * from './policyBiomeDto';
49
58
  export * from './policyCallerDto';
50
59
  export * from './policyCapabilityDto';
60
+ export * from './policyCheckBatchRequestDto';
61
+ export * from './policyCheckBatchResponseDto';
51
62
  export * from './policyCheckRequestDto';
52
63
  export * from './policyConstraintsDto';
53
64
  export * from './policyDecisionDto';
@@ -62,7 +73,17 @@ export * from './policySpaceRefDto';
62
73
  export * from './policySubjectRefDto';
63
74
  export * from './profilePolicyTemplateDto';
64
75
  export * from './profilePolicyTemplateDtoNotes';
76
+ export * from './provisionAgentRequestDto';
77
+ export * from './provisionAgentResultDto';
78
+ export * from './provisionedCapabilityDto';
79
+ export * from './registerResourceOwnershipDto';
65
80
  export * from './relationshipsControllerListParams';
81
+ export * from './resourceManagedBy';
82
+ export * from './resourceOwnershipDto';
83
+ export * from './resourceOwnershipEntryDto';
84
+ export * from './resourceOwnershipReadDto';
85
+ export * from './resourceSubjectRefDto';
86
+ export * from './resourceVisibilityPattern';
66
87
  export * from './roleAssignmentDto';
67
88
  export * from './roleAssignmentDtoDataArrayEnvelope';
68
89
  export * from './roleDto';
@@ -87,3 +108,4 @@ export * from './updateGrantDto';
87
108
  export * from './updateRoleDto';
88
109
  export * from './updateTeamDto';
89
110
  export * from './upsertCredentialDefaultDto';
111
+ export * from './visibleResourcesDto';
@@ -15,8 +15,12 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  // Auto-generated by tooling/codegen/regenerate-models-barrel.js โ€” do not edit manually.
18
+ __exportStar(require("./addResourceShareDto"), exports);
18
19
  __exportStar(require("./addRoleGrantDto"), exports);
19
20
  __exportStar(require("./addTeamMemberDto"), exports);
21
+ __exportStar(require("./agentProvisionDecision"), exports);
22
+ __exportStar(require("./agentProvisionReason"), exports);
23
+ __exportStar(require("./agentReachTier"), exports);
20
24
  __exportStar(require("./assignRoleDto"), exports);
21
25
  __exportStar(require("./authorizationCheckRequestDto"), exports);
22
26
  __exportStar(require("./authorizationCheckResponseDto"), exports);
@@ -28,7 +32,9 @@ __exportStar(require("./biomePermissionProfile"), exports);
28
32
  __exportStar(require("./biomeTrustTier"), exports);
29
33
  __exportStar(require("./callerKind"), exports);
30
34
  __exportStar(require("./capabilityGrantDto"), exports);
35
+ __exportStar(require("./capabilityGrantDtoPaginatedEnvelope"), exports);
31
36
  __exportStar(require("./capabilityGrantRelation"), exports);
37
+ __exportStar(require("./capabilityRiskTier"), exports);
32
38
  __exportStar(require("./createExecutionEnvironmentDto"), exports);
33
39
  __exportStar(require("./createExecutionEnvironmentDtoAllowedCapabilitiesItem"), exports);
34
40
  __exportStar(require("./createExecutionEnvironmentDtoApprovalRulesItem"), exports);
@@ -57,14 +63,19 @@ __exportStar(require("./executionEnvironmentResponseDtoOrgId"), exports);
57
63
  __exportStar(require("./executionEnvironmentResponseDtoRuntimeLimits"), exports);
58
64
  __exportStar(require("./grantConstraintsDto"), exports);
59
65
  __exportStar(require("./grantsControllerListParams"), exports);
60
- __exportStar(require("./listGrantsResponseDto"), exports);
61
- __exportStar(require("./listProfilesResponseDto"), exports);
62
- __exportStar(require("./listRelationshipsResponseDto"), exports);
66
+ __exportStar(require("./listVisibleResourcesDto"), exports);
63
67
  __exportStar(require("./openFgaRelationshipDto"), exports);
68
+ __exportStar(require("./openFgaRelationshipDtoPaginatedEnvelope"), exports);
69
+ __exportStar(require("./orgRole"), exports);
70
+ __exportStar(require("./orgRoleSyncDto"), exports);
71
+ __exportStar(require("./orgRoleSyncResultDto"), exports);
72
+ __exportStar(require("./paginationMeta"), exports);
64
73
  __exportStar(require("./policyActingForDto"), exports);
65
74
  __exportStar(require("./policyBiomeDto"), exports);
66
75
  __exportStar(require("./policyCallerDto"), exports);
67
76
  __exportStar(require("./policyCapabilityDto"), exports);
77
+ __exportStar(require("./policyCheckBatchRequestDto"), exports);
78
+ __exportStar(require("./policyCheckBatchResponseDto"), exports);
68
79
  __exportStar(require("./policyCheckRequestDto"), exports);
69
80
  __exportStar(require("./policyConstraintsDto"), exports);
70
81
  __exportStar(require("./policyDecisionDto"), exports);
@@ -79,7 +90,17 @@ __exportStar(require("./policySpaceRefDto"), exports);
79
90
  __exportStar(require("./policySubjectRefDto"), exports);
80
91
  __exportStar(require("./profilePolicyTemplateDto"), exports);
81
92
  __exportStar(require("./profilePolicyTemplateDtoNotes"), exports);
93
+ __exportStar(require("./provisionAgentRequestDto"), exports);
94
+ __exportStar(require("./provisionAgentResultDto"), exports);
95
+ __exportStar(require("./provisionedCapabilityDto"), exports);
96
+ __exportStar(require("./registerResourceOwnershipDto"), exports);
82
97
  __exportStar(require("./relationshipsControllerListParams"), exports);
98
+ __exportStar(require("./resourceManagedBy"), exports);
99
+ __exportStar(require("./resourceOwnershipDto"), exports);
100
+ __exportStar(require("./resourceOwnershipEntryDto"), exports);
101
+ __exportStar(require("./resourceOwnershipReadDto"), exports);
102
+ __exportStar(require("./resourceSubjectRefDto"), exports);
103
+ __exportStar(require("./resourceVisibilityPattern"), exports);
83
104
  __exportStar(require("./roleAssignmentDto"), exports);
84
105
  __exportStar(require("./roleAssignmentDtoDataArrayEnvelope"), exports);
85
106
  __exportStar(require("./roleDto"), exports);
@@ -104,3 +125,4 @@ __exportStar(require("./updateGrantDto"), exports);
104
125
  __exportStar(require("./updateRoleDto"), exports);
105
126
  __exportStar(require("./updateTeamDto"), exports);
106
127
  __exportStar(require("./upsertCredentialDefaultDto"), exports);
128
+ __exportStar(require("./visibleResourcesDto"), exports);
@@ -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 { ResourceSubjectRefDto } from './resourceSubjectRefDto.js';
9
+ export interface ListVisibleResourcesDto {
10
+ /** Resource kind/type slug. */
11
+ resourceType: string;
12
+ /** The subject whose visible instances are enumerated. */
13
+ subject: ResourceSubjectRefDto;
14
+ }
@@ -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 { CapabilityGrantRelation } from './capabilityGrantRelation';
8
+ import type { CapabilityGrantRelation } from './capabilityGrantRelation.js';
9
9
  export interface OpenFgaRelationshipDto {
10
10
  /** OpenFGA user id โ€” `<subjectKind>:<subjectRef>`. */
11
11
  user: string;
@@ -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 { OpenFgaRelationshipDto } from './openFgaRelationshipDto.js';
9
+ import type { PaginationMeta } from './paginationMeta.js';
10
+ export interface OpenFgaRelationshipDtoPaginatedEnvelope {
11
+ data: OpenFgaRelationshipDto[];
12
+ pagination?: PaginationMeta;
13
+ }
@@ -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
+ /**
9
+ * The org role the subject holds (owner โЇ admin โЇ member).
10
+ */
11
+ export type OrgRole = typeof OrgRole[keyof typeof OrgRole];
12
+ export declare const OrgRole: {
13
+ readonly owner: "owner";
14
+ readonly admin: "admin";
15
+ readonly member: "member";
16
+ };
@@ -1,9 +1,15 @@
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).
7
7
  * OpenAPI spec version: 0.1.0
8
8
  */
9
9
  Object.defineProperty(exports, "__esModule", { value: true });
10
+ exports.OrgRole = void 0;
11
+ exports.OrgRole = {
12
+ owner: 'owner',
13
+ admin: 'admin',
14
+ member: 'member',
15
+ };
@@ -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 { OrgRole } from './orgRole.js';
9
+ import type { SubjectKind } from './subjectKind.js';
10
+ export interface OrgRoleSyncDto {
11
+ /** Organization the subject is a member of. The role is scoped to it. */
12
+ orgId: string;
13
+ subjectKind: SubjectKind;
14
+ /** Bare per-kind subject identifier (NOT a `kind:ref` composite). */
15
+ subjectRef: string;
16
+ /** The org role the subject holds (owner โЇ admin โЇ member). */
17
+ orgRole: OrgRole;
18
+ }
@@ -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 OrgRoleSyncResultDto {
9
+ /** Id of the per-org role instance the subject is bound to. */
10
+ roleId: string;
11
+ }
@@ -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,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
+ export interface PaginationMeta {
9
+ total?: number;
10
+ page?: number;
11
+ totalPages?: number;
12
+ /** @nullable */
13
+ nextCursor?: string | null;
14
+ /** @nullable */
15
+ previousCursor?: string | null;
16
+ limit?: number;
17
+ hasMore?: boolean;
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).
@@ -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 PolicyActingForDto {
10
10
  kind: SubjectKind;
11
11
  id: 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 { BiomeTrustTier } from './biomeTrustTier';
8
+ import type { BiomeTrustTier } from './biomeTrustTier.js';
9
9
  export interface PolicyBiomeDto {
10
10
  id: string;
11
11
  version: 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 { CallerKind } from './callerKind';
8
+ import type { CallerKind } from './callerKind.js';
9
9
  export interface PolicyCallerDto {
10
10
  kind: CallerKind;
11
11
  appId?: 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).
@@ -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
+ import type { PolicyCheckRequestDto } from './policyCheckRequestDto.js';
9
+ export interface PolicyCheckBatchRequestDto {
10
+ /**
11
+ * Independent policy checks โ€” each item is the EXACT single `POST /authorization/policy-check` request shape. At most 128 per call (422 beyond).
12
+ * @maxItems 128
13
+ */
14
+ checks: PolicyCheckRequestDto[];
15
+ }
@@ -0,0 +1,12 @@
1
+ /**
2
+ * Generated by orval v8.16.0 ๐Ÿบ
3
+ * Do not edit manually.
4
+ * Authorization API
5
+ * Authorization API extract (generated for client codegen).
6
+ * OpenAPI spec version: 0.1.0
7
+ */
8
+ import type { PolicyDecisionDto } from './policyDecisionDto.js';
9
+ export interface PolicyCheckBatchResponseDto {
10
+ /** Positionally aligned with `checks` โ€” results[i] is the decision for checks[i]. A per-item DENY is a result, never an error; the response is never partial (any infrastructure failure fails the whole call). */
11
+ results: PolicyDecisionDto[];
12
+ }
@@ -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 { PolicyBiomeDto } from './policyBiomeDto';
9
- import type { PolicyCallerDto } from './policyCallerDto';
10
- import type { PolicyCapabilityDto } from './policyCapabilityDto';
11
- import type { PolicyConstraintsDto } from './policyConstraintsDto';
12
- import type { PolicyEnvironmentDto } from './policyEnvironmentDto';
13
- import type { PolicyResourceDto } from './policyResourceDto';
14
- import type { PolicySpaceRefDto } from './policySpaceRefDto';
15
- import type { PolicySubjectRefDto } from './policySubjectRefDto';
8
+ import type { PolicyBiomeDto } from './policyBiomeDto.js';
9
+ import type { PolicyCallerDto } from './policyCallerDto.js';
10
+ import type { PolicyCapabilityDto } from './policyCapabilityDto.js';
11
+ import type { PolicyConstraintsDto } from './policyConstraintsDto.js';
12
+ import type { PolicyEnvironmentDto } from './policyEnvironmentDto.js';
13
+ import type { PolicyResourceDto } from './policyResourceDto.js';
14
+ import type { PolicySpaceRefDto } from './policySpaceRefDto.js';
15
+ import type { PolicySubjectRefDto } from './policySubjectRefDto.js';
16
16
  export interface PolicyCheckRequestDto {
17
17
  id: string;
18
18
  requestId: 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,21 +1,21 @@
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 { CredentialPrecedenceSource } from './credentialPrecedenceSource';
9
- import type { PolicyDecisionKind } from './policyDecisionKind';
10
- import type { PolicyObligationDto } from './policyObligationDto';
11
- import type { PolicyRouteHintDto } from './policyRouteHintDto';
8
+ import type { CredentialPrecedenceSource } from './credentialPrecedenceSource.js';
9
+ import type { PolicyDecisionKind } from './policyDecisionKind.js';
10
+ import type { PolicyObligationDto } from './policyObligationDto.js';
11
+ import type { PolicyRouteHintDto } from './policyRouteHintDto.js';
12
12
  export interface PolicyDecisionDto {
13
13
  kind: PolicyDecisionKind;
14
14
  /** Stable wire-code denial reason from the OPA bundle / authorization-api decision matrix. Free-form here; closed by the bundle. Surfaced verbatim in audit + capability-router error envelopes. */
15
15
  reason?: string;
16
16
  obligations?: PolicyObligationDto[];
17
17
  routeHints?: PolicyRouteHintDto;
18
- /** Credential binding the executing gateway MUST use to resolve the external credential for this invocation (plan ยงW4 / Pillar 3.2). Present ONLY on an `allow` for a capability that declares an `externalServiceRef`. Opaque id โ€” never a secret; the broker re-validates it before reading custody. */
18
+ /** Credential binding the executing gateway MUST use to resolve the external credential for this invocation. Present ONLY on an `allow` for a capability that declares an `externalServiceRef`. Opaque id โ€” never a secret; the broker re-validates it before reading custody. */
19
19
  credentialBindingId?: string;
20
20
  /** Which precedence tier supplied `credentialBindingId` (explicit grant > capability default > project default > org default). Populated iff `credentialBindingId` is present. */
21
21
  credentialPrecedenceApplied?: CredentialPrecedenceSource;
@@ -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,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 { DataClassification } from './dataClassification';
9
- import type { DataResidency } from './dataResidency';
10
- import type { PolicyObligationKind } from './policyObligationKind';
11
- import type { RunnerKind } from './runnerKind';
8
+ import type { DataClassification } from './dataClassification.js';
9
+ import type { DataResidency } from './dataResidency.js';
10
+ import type { PolicyObligationKind } from './policyObligationKind.js';
11
+ import type { RunnerKind } from './runnerKind.js';
12
12
  export interface PolicyObligationDto {
13
13
  kind: PolicyObligationKind;
14
14
  runnerKind?: RunnerKind;
@@ -17,4 +17,8 @@ export interface PolicyObligationDto {
17
17
  maxCostUsd?: number;
18
18
  maxClassification?: DataClassification;
19
19
  residency?: DataResidency;
20
+ /** Egress allowlist patterns (wildcard host or https:// URL-prefix). Present only when kind=egress-allowlist. */
21
+ allow?: string[];
22
+ /** Egress blocklist patterns; a match denies even if `allow` matched. Present only when kind=egress-allowlist. */
23
+ deny?: string[];
20
24
  }
@@ -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).
@@ -15,4 +15,5 @@ export declare const PolicyObligationKind: {
15
15
  readonly 'max-cost-usd': "max-cost-usd";
16
16
  readonly 'restrict-output-classification': "restrict-output-classification";
17
17
  readonly 'data-residency': "data-residency";
18
+ readonly 'egress-allowlist': "egress-allowlist";
18
19
  };
@@ -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
  };