@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,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
+ }
@@ -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).
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.1",
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
+ "registry": "https://registry.npmjs.org/",
11
+ "access": "public"
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.1.3",
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
  }
@@ -1,14 +0,0 @@
1
- /**
2
- * Generated by orval v8.6.2 🍺
3
- * Do not edit manually.
4
- * Authorization API
5
- * Authorization API extract (generated for client codegen).
6
- * OpenAPI spec version: 0.1.0
7
- */
8
- import type { CapabilityGrantDto } from './capabilityGrantDto';
9
- export interface ListGrantsResponseDto {
10
- items: CapabilityGrantDto[];
11
- total: number;
12
- limit: number;
13
- offset: number;
14
- }
@@ -1,11 +0,0 @@
1
- /**
2
- * Generated by orval v8.6.2 🍺
3
- * Do not edit manually.
4
- * Authorization API
5
- * Authorization API extract (generated for client codegen).
6
- * OpenAPI spec version: 0.1.0
7
- */
8
- import type { ProfilePolicyTemplateDto } from './profilePolicyTemplateDto';
9
- export interface ListProfilesResponseDto {
10
- items: ProfilePolicyTemplateDto[];
11
- }
@@ -1,14 +0,0 @@
1
- /**
2
- * Generated by orval v8.6.2 🍺
3
- * Do not edit manually.
4
- * Authorization API
5
- * Authorization API extract (generated for client codegen).
6
- * OpenAPI spec version: 0.1.0
7
- */
8
- import type { OpenFgaRelationshipDto } from './openFgaRelationshipDto';
9
- export interface ListRelationshipsResponseDto {
10
- items: OpenFgaRelationshipDto[];
11
- total: number;
12
- limit: number;
13
- offset: number;
14
- }
@@ -1,12 +0,0 @@
1
- /**
2
- * Generated by orval v8.6.2 🍺
3
- * Do not edit manually.
4
- * Authorization API
5
- * Authorization API extract (generated for client codegen).
6
- * OpenAPI spec version: 0.1.0
7
- */
8
- import type { RoleAssignmentDto } from './roleAssignmentDto';
9
- export interface ListRoleAssignmentsResponseDto {
10
- items: RoleAssignmentDto[];
11
- total: number;
12
- }
@@ -1,12 +0,0 @@
1
- /**
2
- * Generated by orval v8.6.2 🍺
3
- * Do not edit manually.
4
- * Authorization API
5
- * Authorization API extract (generated for client codegen).
6
- * OpenAPI spec version: 0.1.0
7
- */
8
- import type { RoleGrantDto } from './roleGrantDto';
9
- export interface ListRoleGrantsResponseDto {
10
- items: RoleGrantDto[];
11
- total: number;
12
- }
@@ -1,14 +0,0 @@
1
- /**
2
- * Generated by orval v8.6.2 🍺
3
- * Do not edit manually.
4
- * Authorization API
5
- * Authorization API extract (generated for client codegen).
6
- * OpenAPI spec version: 0.1.0
7
- */
8
- import type { RoleDto } from './roleDto';
9
- export interface ListRolesResponseDto {
10
- items: RoleDto[];
11
- total: number;
12
- limit: number;
13
- offset: number;
14
- }
@@ -1,12 +0,0 @@
1
- /**
2
- * Generated by orval v8.6.2 🍺
3
- * Do not edit manually.
4
- * Authorization API
5
- * Authorization API extract (generated for client codegen).
6
- * OpenAPI spec version: 0.1.0
7
- */
8
- import type { TeamMembershipDto } from './teamMembershipDto';
9
- export interface ListTeamMembersResponseDto {
10
- items: TeamMembershipDto[];
11
- total: number;
12
- }
@@ -1,14 +0,0 @@
1
- /**
2
- * Generated by orval v8.6.2 🍺
3
- * Do not edit manually.
4
- * Authorization API
5
- * Authorization API extract (generated for client codegen).
6
- * OpenAPI spec version: 0.1.0
7
- */
8
- import type { TeamDto } from './teamDto';
9
- export interface ListTeamsResponseDto {
10
- items: TeamDto[];
11
- total: number;
12
- limit: number;
13
- offset: number;
14
- }
@@ -1,13 +0,0 @@
1
- /**
2
- * Generated by orval v8.6.2 🍺
3
- * Do not edit manually.
4
- * Authorization API
5
- * Authorization API extract (generated for client codegen).
6
- * OpenAPI spec version: 0.1.0
7
- */
8
- /**
9
- * @nullable
10
- */
11
- export type RoleAssignmentDtoSubjectRef = {
12
- [key: string]: unknown;
13
- } | null;
@@ -1,13 +0,0 @@
1
- /**
2
- * Generated by orval v8.6.2 🍺
3
- * Do not edit manually.
4
- * Authorization API
5
- * Authorization API extract (generated for client codegen).
6
- * OpenAPI spec version: 0.1.0
7
- */
8
- /**
9
- * @nullable
10
- */
11
- export type RoleAssignmentDtoTeamId = {
12
- [key: string]: unknown;
13
- } | null;
@@ -1,13 +0,0 @@
1
- /**
2
- * Generated by orval v8.6.2 🍺
3
- * Do not edit manually.
4
- * Authorization API
5
- * Authorization API extract (generated for client codegen).
6
- * OpenAPI spec version: 0.1.0
7
- */
8
- /**
9
- * @nullable
10
- */
11
- export type RoleDtoDescription = {
12
- [key: string]: unknown;
13
- } | null;
@@ -1,13 +0,0 @@
1
- /**
2
- * Generated by orval v8.6.2 🍺
3
- * Do not edit manually.
4
- * Authorization API
5
- * Authorization API extract (generated for client codegen).
6
- * OpenAPI spec version: 0.1.0
7
- */
8
- /**
9
- * @nullable
10
- */
11
- export type TeamDtoDescription = {
12
- [key: string]: unknown;
13
- } | null;
@@ -1,13 +0,0 @@
1
- /**
2
- * Generated by orval v8.6.2 🍺
3
- * Do not edit manually.
4
- * Authorization API
5
- * Authorization API extract (generated for client codegen).
6
- * OpenAPI spec version: 0.1.0
7
- */
8
- /**
9
- * @nullable
10
- */
11
- export type TeamDtoParentTeamId = {
12
- [key: string]: unknown;
13
- } | null;
@@ -1,9 +0,0 @@
1
- "use strict";
2
- /**
3
- * Generated by orval v8.6.2 🍺
4
- * Do not edit manually.
5
- * Authorization API
6
- * Authorization API extract (generated for client codegen).
7
- * OpenAPI spec version: 0.1.0
8
- */
9
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,14 +0,0 @@
1
- /**
2
- * Generated by orval v8.6.2 🍺
3
- * Do not edit manually.
4
- * Authorization API
5
- * Authorization API extract (generated for client codegen).
6
- * OpenAPI spec version: 0.1.0
7
- */
8
- /**
9
- * Re-parent (ENTERPRISE). `null` detaches to the org root; a team id nests under it. Cycle-checked.
10
- * @nullable
11
- */
12
- export type UpdateTeamDtoParentTeamId = {
13
- [key: string]: unknown;
14
- } | null;
@@ -1,9 +0,0 @@
1
- "use strict";
2
- /**
3
- * Generated by orval v8.6.2 🍺
4
- * Do not edit manually.
5
- * Authorization API
6
- * Authorization API extract (generated for client codegen).
7
- * OpenAPI spec version: 0.1.0
8
- */
9
- Object.defineProperty(exports, "__esModule", { value: true });