@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.
- package/LICENSE +174 -201
- package/README.md +1 -1
- package/dist/endpoints/agents/agents.d.ts +14 -0
- package/dist/endpoints/agents/agents.js +21 -0
- package/dist/endpoints/authorization/authorization.d.ts +20 -8
- package/dist/endpoints/authorization/authorization.js +39 -7
- package/dist/endpoints/contribution-sync/contribution-sync.d.ts +2 -0
- package/dist/endpoints/contribution-sync/contribution-sync.js +22 -0
- package/dist/endpoints/credential-defaults/credential-defaults.d.ts +5 -5
- package/dist/endpoints/credential-defaults/credential-defaults.js +12 -12
- package/dist/endpoints/describe-objects/describe-objects.d.ts +14 -0
- package/dist/endpoints/describe-objects/describe-objects.js +19 -0
- package/dist/endpoints/environments/environments.d.ts +12 -12
- package/dist/endpoints/environments/environments.js +20 -20
- package/dist/endpoints/grants/grants.d.ts +12 -12
- package/dist/endpoints/grants/grants.js +15 -15
- package/dist/endpoints/profiles/profiles.d.ts +5 -5
- package/dist/endpoints/profiles/profiles.js +4 -4
- package/dist/endpoints/relationships/relationships.d.ts +4 -4
- package/dist/endpoints/relationships/relationships.js +4 -4
- package/dist/endpoints/resources/resources.d.ts +37 -0
- package/dist/endpoints/resources/resources.js +84 -0
- package/dist/endpoints/roles/roles.d.ts +23 -18
- package/dist/endpoints/roles/roles.js +50 -34
- package/dist/endpoints/teams/teams.d.ts +14 -14
- package/dist/endpoints/teams/teams.js +24 -24
- package/dist/index.d.ts +4 -0
- package/dist/index.js +4 -0
- package/dist/models/addResourceShareDto.d.ts +11 -0
- package/dist/models/addRoleGrantDto.d.ts +2 -2
- package/dist/models/addTeamMemberDto.d.ts +2 -2
- package/dist/models/agentProvisionDecision.d.ts +12 -0
- package/dist/models/agentProvisionDecision.js +14 -0
- package/dist/models/agentProvisionReason.d.ts +15 -0
- package/dist/models/agentProvisionReason.js +17 -0
- package/dist/models/agentReachTier.d.ts +17 -0
- package/dist/models/agentReachTier.js +16 -0
- package/dist/models/assignRoleDto.d.ts +2 -2
- package/dist/models/authorizationCheckRequestDto.d.ts +2 -2
- package/dist/models/authorizationCheckResponseDto.d.ts +3 -3
- package/dist/models/authorizationCheckResponseDtoDataEnvelope.d.ts +11 -0
- package/dist/models/authorizationDecisionCode.d.ts +5 -2
- package/dist/models/authorizationDecisionCode.js +5 -2
- package/dist/models/authorizationReasonDto.d.ts +2 -2
- package/dist/models/authorizationSuggestionDto.d.ts +2 -2
- package/dist/models/authorizationSuggestionKind.d.ts +1 -1
- package/dist/models/authorizationSuggestionKind.js +1 -1
- package/dist/models/biomePermissionProfile.d.ts +1 -4
- package/dist/models/biomePermissionProfile.js +1 -1
- package/dist/models/biomeTrustTier.d.ts +1 -1
- package/dist/models/biomeTrustTier.js +1 -1
- package/dist/models/callerKind.d.ts +1 -1
- package/dist/models/callerKind.js +1 -1
- package/dist/models/capabilityGrantDto.d.ts +5 -5
- package/dist/models/capabilityGrantDtoDataEnvelope.d.ts +11 -0
- package/dist/models/capabilityGrantDtoPaginatedEnvelope.d.ts +13 -0
- package/dist/models/capabilityGrantRelation.d.ts +4 -1
- package/dist/models/capabilityGrantRelation.js +1 -1
- package/dist/models/capabilityRiskTier.d.ts +17 -0
- package/dist/models/capabilityRiskTier.js +16 -0
- package/dist/models/createExecutionEnvironmentDto.d.ts +5 -5
- package/dist/models/createExecutionEnvironmentDtoAllowedCapabilitiesItem.d.ts +1 -1
- package/dist/models/createExecutionEnvironmentDtoAllowedCapabilitiesItem.js +1 -1
- package/dist/models/createExecutionEnvironmentDtoApprovalRulesItem.d.ts +1 -1
- package/dist/models/createExecutionEnvironmentDtoApprovalRulesItem.js +1 -1
- package/dist/models/createExecutionEnvironmentDtoRuntimeLimits.d.ts +1 -1
- package/dist/models/createExecutionEnvironmentDtoRuntimeLimits.js +1 -1
- package/dist/models/createGrantDto.d.ts +6 -6
- package/dist/models/createRoleDto.d.ts +1 -1
- package/dist/models/createRoleDto.js +1 -1
- package/dist/models/createTeamDto.d.ts +1 -1
- package/dist/models/createTeamDto.js +1 -1
- package/dist/models/credentialDefaultDto.d.ts +1 -1
- package/dist/models/credentialDefaultDto.js +1 -1
- package/dist/models/credentialDefaultDtoDataArrayEnvelope.d.ts +2 -2
- package/dist/models/credentialDefaultDtoDataEnvelope.d.ts +2 -2
- package/dist/models/credentialDefaultsControllerDeleteParams.d.ts +1 -1
- package/dist/models/credentialDefaultsControllerDeleteParams.js +1 -1
- package/dist/models/credentialDefaultsControllerGetParams.d.ts +1 -1
- package/dist/models/credentialDefaultsControllerGetParams.js +1 -1
- package/dist/models/credentialDefaultsControllerListParams.d.ts +1 -1
- package/dist/models/credentialDefaultsControllerListParams.js +1 -1
- package/dist/models/credentialPrecedenceSource.d.ts +2 -1
- package/dist/models/credentialPrecedenceSource.js +2 -1
- package/dist/models/dataClassification.d.ts +1 -1
- package/dist/models/dataClassification.js +1 -1
- package/dist/models/dataResidency.d.ts +1 -1
- package/dist/models/dataResidency.js +1 -1
- package/dist/models/describeObjectsResponseDto.d.ts +14 -0
- package/dist/models/describeObjectsResponseDtoDataEnvelope.d.ts +11 -0
- package/dist/models/environmentsControllerFindBySlugParams.d.ts +1 -1
- package/dist/models/environmentsControllerFindBySlugParams.js +1 -1
- package/dist/models/environmentsControllerListParams.d.ts +1 -1
- package/dist/models/environmentsControllerListParams.js +1 -1
- package/dist/models/environmentsControllerRemoveParams.d.ts +1 -1
- package/dist/models/environmentsControllerRemoveParams.js +1 -1
- package/dist/models/environmentsControllerUpdateParams.d.ts +1 -1
- package/dist/models/environmentsControllerUpdateParams.js +1 -1
- package/dist/models/errorDetailsDto.d.ts +12 -0
- package/dist/models/{teamDtoParentTeamId.d.ts → errorDetailsDtoDetails.d.ts} +2 -2
- package/dist/models/{teamDtoDescription.js → errorDetailsDtoDetails.js} +1 -1
- package/dist/models/errorPayloadDto.d.ts +13 -0
- package/dist/models/errorResponseDto.d.ts +11 -0
- package/dist/models/errorResponseDto.js +2 -0
- package/dist/models/executionEnvironmentKind.d.ts +2 -2
- package/dist/models/executionEnvironmentKind.js +1 -1
- package/dist/models/executionEnvironmentResponseDto.d.ts +6 -6
- package/dist/models/executionEnvironmentResponseDtoAllowedCapabilitiesItem.d.ts +1 -1
- package/dist/models/executionEnvironmentResponseDtoAllowedCapabilitiesItem.js +1 -1
- package/dist/models/executionEnvironmentResponseDtoApprovalRulesItem.d.ts +1 -1
- package/dist/models/executionEnvironmentResponseDtoApprovalRulesItem.js +1 -1
- package/dist/models/executionEnvironmentResponseDtoDataArrayEnvelope.d.ts +11 -0
- package/dist/models/executionEnvironmentResponseDtoDataArrayEnvelope.js +2 -0
- package/dist/models/executionEnvironmentResponseDtoDataEnvelope.d.ts +11 -0
- package/dist/models/executionEnvironmentResponseDtoDataEnvelope.js +2 -0
- package/dist/models/executionEnvironmentResponseDtoOrgId.d.ts +1 -1
- package/dist/models/executionEnvironmentResponseDtoOrgId.js +1 -1
- package/dist/models/executionEnvironmentResponseDtoRuntimeLimits.d.ts +1 -1
- package/dist/models/executionEnvironmentResponseDtoRuntimeLimits.js +1 -1
- package/dist/models/grantConstraintsDto.d.ts +1 -1
- package/dist/models/grantConstraintsDto.js +1 -1
- package/dist/models/grantVersionResponseDto.d.ts +13 -0
- package/dist/models/{roleAssignmentDtoTeamId.js → grantVersionResponseDto.js} +1 -1
- package/dist/models/grantVersionResponseDtoDataEnvelope.d.ts +11 -0
- package/dist/models/grantVersionResponseDtoDataEnvelope.js +2 -0
- package/dist/models/grantsControllerListParams.d.ts +2 -2
- package/dist/models/index.d.ts +56 -3
- package/dist/models/index.js +56 -3
- package/dist/models/listVisibleResourcesDto.d.ts +14 -0
- package/dist/models/listVisibleResourcesDto.js +2 -0
- package/dist/models/objectLifecycle.d.ts +16 -0
- package/dist/models/objectLifecycle.js +15 -0
- package/dist/models/openFgaRelationshipDto.d.ts +2 -2
- package/dist/models/openFgaRelationshipDtoPaginatedEnvelope.d.ts +13 -0
- package/dist/models/openFgaRelationshipDtoPaginatedEnvelope.js +2 -0
- package/dist/models/orgRole.d.ts +16 -0
- package/dist/models/orgRole.js +15 -0
- package/dist/models/orgRoleSyncDto.d.ts +18 -0
- package/dist/models/orgRoleSyncDto.js +2 -0
- package/dist/models/orgRoleSyncResultDto.d.ts +11 -0
- package/dist/models/{roleDtoDescription.js → orgRoleSyncResultDto.js} +1 -1
- package/dist/models/orgRoleSyncResultDtoDataEnvelope.d.ts +11 -0
- package/dist/models/orgRoleSyncResultDtoDataEnvelope.js +2 -0
- package/dist/models/paginationMeta.d.ts +18 -0
- package/dist/models/{roleAssignmentDtoSubjectRef.js → paginationMeta.js} +1 -1
- package/dist/models/policyActingForDto.d.ts +2 -2
- package/dist/models/policyBiomeDto.d.ts +2 -2
- package/dist/models/policyCallerDto.d.ts +2 -2
- package/dist/models/policyCapabilityDto.d.ts +1 -1
- package/dist/models/policyCapabilityDto.js +1 -1
- package/dist/models/policyCheckBatchRequestDto.d.ts +15 -0
- package/dist/models/policyCheckBatchRequestDto.js +2 -0
- package/dist/models/policyCheckBatchResponseDto.d.ts +12 -0
- package/dist/models/policyCheckBatchResponseDto.js +2 -0
- package/dist/models/policyCheckBatchResponseDtoDataEnvelope.d.ts +11 -0
- package/dist/models/policyCheckBatchResponseDtoDataEnvelope.js +2 -0
- package/dist/models/policyCheckRequestDto.d.ts +9 -9
- package/dist/models/policyConstraintsDto.d.ts +1 -1
- package/dist/models/policyConstraintsDto.js +1 -1
- package/dist/models/policyDecisionDto.d.ts +6 -6
- package/dist/models/policyDecisionDtoDataEnvelope.d.ts +11 -0
- package/dist/models/policyDecisionDtoDataEnvelope.js +2 -0
- package/dist/models/policyDecisionKind.d.ts +1 -1
- package/dist/models/policyDecisionKind.js +1 -1
- package/dist/models/policyEnvironmentDto.d.ts +1 -1
- package/dist/models/policyEnvironmentDto.js +1 -1
- package/dist/models/policyObligationDto.d.ts +9 -5
- package/dist/models/policyObligationKind.d.ts +2 -1
- package/dist/models/policyObligationKind.js +2 -1
- package/dist/models/policyResourceDto.d.ts +2 -2
- package/dist/models/policyRouteHintDto.d.ts +3 -3
- package/dist/models/policyRouteHintDtoRequiredRunnerLabels.d.ts +1 -1
- package/dist/models/policyRouteHintDtoRequiredRunnerLabels.js +1 -1
- package/dist/models/policySpaceRefDto.d.ts +2 -2
- package/dist/models/policySubjectRefDto.d.ts +3 -3
- package/dist/models/profilePolicyTemplateDto.d.ts +3 -3
- package/dist/models/{listProfilesResponseDto.d.ts → profilePolicyTemplateDtoDataArrayEnvelope.d.ts} +4 -4
- package/dist/models/profilePolicyTemplateDtoDataArrayEnvelope.js +2 -0
- package/dist/models/profilePolicyTemplateDtoNotes.d.ts +1 -1
- package/dist/models/profilePolicyTemplateDtoNotes.js +1 -1
- package/dist/models/provisionAgentRequestDto.d.ts +20 -0
- package/dist/models/provisionAgentRequestDto.js +2 -0
- package/dist/models/provisionAgentResultDto.d.ts +14 -0
- package/dist/models/provisionAgentResultDto.js +2 -0
- package/dist/models/provisionAgentResultDtoDataEnvelope.d.ts +11 -0
- package/dist/models/provisionAgentResultDtoDataEnvelope.js +2 -0
- package/dist/models/provisionedCapabilityDto.d.ts +21 -0
- package/dist/models/provisionedCapabilityDto.js +2 -0
- package/dist/models/registerResourceOwnershipDto.d.ts +21 -0
- package/dist/models/registerResourceOwnershipDto.js +2 -0
- package/dist/models/relationshipsControllerListParams.d.ts +3 -3
- package/dist/models/resourceManagedBy.d.ts +19 -0
- package/dist/models/resourceManagedBy.js +18 -0
- package/dist/models/resourceOwnershipDto.d.ts +17 -0
- package/dist/models/resourceOwnershipDto.js +2 -0
- package/dist/models/resourceOwnershipDtoDataEnvelope.d.ts +11 -0
- package/dist/models/resourceOwnershipDtoDataEnvelope.js +2 -0
- package/dist/models/resourceOwnershipEntryDto.d.ts +13 -0
- package/dist/models/resourceOwnershipEntryDto.js +2 -0
- package/dist/models/resourceOwnershipReadDto.d.ts +16 -0
- package/dist/models/resourceOwnershipReadDto.js +2 -0
- package/dist/models/resourceOwnershipReadDtoDataEnvelope.d.ts +11 -0
- package/dist/models/resourceOwnershipReadDtoDataEnvelope.js +2 -0
- package/dist/models/resourceSubjectRefDto.d.ts +13 -0
- package/dist/models/resourceSubjectRefDto.js +2 -0
- package/dist/models/resourceVisibilityPattern.d.ts +15 -0
- package/dist/models/resourceVisibilityPattern.js +17 -0
- package/dist/models/roleAssignmentDto.d.ts +2 -2
- package/dist/models/roleAssignmentDtoDataArrayEnvelope.d.ts +2 -2
- package/dist/models/roleAssignmentDtoDataEnvelope.d.ts +11 -0
- package/dist/models/roleAssignmentDtoDataEnvelope.js +2 -0
- package/dist/models/roleDto.d.ts +4 -1
- package/dist/models/roleDto.js +0 -7
- package/dist/models/roleDtoDataArrayEnvelope.d.ts +2 -2
- package/dist/models/{roleAssignmentDtoSubjectRef.d.ts → roleDtoDataEnvelope.d.ts} +5 -7
- package/dist/models/roleDtoDataEnvelope.js +2 -0
- package/dist/models/roleGrantDto.d.ts +2 -2
- package/dist/models/roleGrantDtoDataArrayEnvelope.d.ts +2 -2
- package/dist/models/roleGrantDtoDataEnvelope.d.ts +11 -0
- package/dist/models/roleGrantDtoDataEnvelope.js +2 -0
- package/dist/models/rolesControllerListParams.d.ts +1 -1
- package/dist/models/rolesControllerListParams.js +1 -1
- package/dist/models/runnerKind.d.ts +1 -1
- package/dist/models/runnerKind.js +1 -1
- package/dist/models/spaceKind.d.ts +1 -1
- package/dist/models/spaceKind.js +1 -1
- package/dist/models/subjectKind.d.ts +1 -1
- package/dist/models/subjectKind.js +1 -1
- package/dist/models/subjectRefDto.d.ts +2 -2
- package/dist/models/teamDto.d.ts +1 -1
- package/dist/models/teamDto.js +1 -1
- package/dist/models/teamDtoDataArrayEnvelope.d.ts +2 -2
- package/dist/models/{roleAssignmentDtoTeamId.d.ts → teamDtoDataEnvelope.d.ts} +5 -7
- package/dist/models/teamDtoDataEnvelope.js +2 -0
- package/dist/models/teamMembershipDto.d.ts +2 -2
- package/dist/models/teamMembershipDtoDataArrayEnvelope.d.ts +2 -2
- package/dist/models/teamMembershipDtoDataEnvelope.d.ts +11 -0
- package/dist/models/teamMembershipDtoDataEnvelope.js +2 -0
- package/dist/models/teamsControllerListParams.d.ts +1 -1
- package/dist/models/teamsControllerListParams.js +1 -1
- package/dist/models/updateExecutionEnvironmentDto.d.ts +4 -4
- package/dist/models/updateExecutionEnvironmentDtoAllowedCapabilitiesItem.d.ts +1 -1
- package/dist/models/updateExecutionEnvironmentDtoAllowedCapabilitiesItem.js +1 -1
- package/dist/models/updateExecutionEnvironmentDtoApprovalRulesItem.d.ts +1 -1
- package/dist/models/updateExecutionEnvironmentDtoApprovalRulesItem.js +1 -1
- package/dist/models/updateExecutionEnvironmentDtoRuntimeLimits.d.ts +1 -1
- package/dist/models/updateExecutionEnvironmentDtoRuntimeLimits.js +1 -1
- package/dist/models/updateGrantDto.d.ts +4 -4
- package/dist/models/updateRoleDto.d.ts +1 -1
- package/dist/models/updateRoleDto.js +1 -1
- package/dist/models/updateTeamDto.d.ts +1 -1
- package/dist/models/updateTeamDto.js +1 -1
- package/dist/models/upsertCredentialDefaultDto.d.ts +1 -1
- package/dist/models/upsertCredentialDefaultDto.js +1 -1
- package/dist/models/visibleResourcesDto.d.ts +11 -0
- package/dist/models/visibleResourcesDto.js +9 -0
- package/dist/models/visibleResourcesDtoDataEnvelope.d.ts +11 -0
- package/dist/models/visibleResourcesDtoDataEnvelope.js +2 -0
- package/dist/models/xemaObjectKind.d.ts +50 -0
- package/dist/models/xemaObjectKind.js +49 -0
- package/dist/models/xemaObjectResponseDto.d.ts +26 -0
- package/dist/models/xemaObjectResponseDto.js +2 -0
- package/dist/models/xemaObjectResponseDtoPayload.d.ts +13 -0
- package/dist/models/xemaObjectResponseDtoPayload.js +9 -0
- package/dist/models/xemaSpaceRefDto.d.ts +18 -0
- package/dist/models/xemaSpaceRefDto.js +2 -0
- package/dist/models/xemaSubjectRefDto.d.ts +13 -0
- package/dist/models/xemaSubjectRefDto.js +9 -0
- package/package.json +14 -3
- package/dist/models/listGrantsResponseDto.d.ts +0 -14
- package/dist/models/listRelationshipsResponseDto.d.ts +0 -14
- package/dist/models/listRoleAssignmentsResponseDto.d.ts +0 -12
- package/dist/models/listRoleGrantsResponseDto.d.ts +0 -12
- package/dist/models/listRolesResponseDto.d.ts +0 -14
- package/dist/models/listTeamMembersResponseDto.d.ts +0 -12
- package/dist/models/listTeamsResponseDto.d.ts +0 -14
- package/dist/models/roleDtoDescription.d.ts +0 -13
- package/dist/models/teamDtoDescription.d.ts +0 -13
- package/dist/models/teamDtoParentTeamId.js +0 -9
- package/dist/models/updateTeamDtoParentTeamId.d.ts +0 -14
- package/dist/models/updateTeamDtoParentTeamId.js +0 -9
- /package/dist/models/{listGrantsResponseDto.js → addResourceShareDto.js} +0 -0
- /package/dist/models/{listProfilesResponseDto.js → authorizationCheckResponseDtoDataEnvelope.js} +0 -0
- /package/dist/models/{listRelationshipsResponseDto.js → capabilityGrantDtoDataEnvelope.js} +0 -0
- /package/dist/models/{listRoleAssignmentsResponseDto.js → capabilityGrantDtoPaginatedEnvelope.js} +0 -0
- /package/dist/models/{listRoleGrantsResponseDto.js → describeObjectsResponseDto.js} +0 -0
- /package/dist/models/{listRolesResponseDto.js → describeObjectsResponseDtoDataEnvelope.js} +0 -0
- /package/dist/models/{listTeamMembersResponseDto.js → errorDetailsDto.js} +0 -0
- /package/dist/models/{listTeamsResponseDto.js → errorPayloadDto.js} +0 -0
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Generated by orval v8.
|
|
2
|
+
* Generated by orval v8.16.0 🍺
|
|
3
3
|
* Do not edit manually.
|
|
4
4
|
* Authorization API
|
|
5
5
|
* Authorization API extract (generated for client codegen).
|
|
6
6
|
* OpenAPI spec version: 0.1.0
|
|
7
7
|
*/
|
|
8
8
|
import type { CredentialDefaultDtoDataArrayEnvelope, CredentialDefaultDtoDataEnvelope, CredentialDefaultsControllerDeleteParams, CredentialDefaultsControllerGetParams, CredentialDefaultsControllerListParams, UpsertCredentialDefaultDto } from '../../models';
|
|
9
|
+
export declare const getCredentialDefaultsControllerUpsertUrl: () => string;
|
|
9
10
|
/**
|
|
10
11
|
* @summary Create or replace a credential-binding default
|
|
11
12
|
*/
|
|
12
|
-
export declare const getCredentialDefaultsControllerUpsertUrl: () => string;
|
|
13
13
|
export declare const credentialDefaultsControllerUpsert: (upsertCredentialDefaultDto: UpsertCredentialDefaultDto, options?: RequestInit) => Promise<CredentialDefaultDtoDataEnvelope>;
|
|
14
|
+
export declare const getCredentialDefaultsControllerGetUrl: (params: CredentialDefaultsControllerGetParams) => string;
|
|
14
15
|
/**
|
|
15
16
|
* @summary Get the credential-binding default for an org or project scope
|
|
16
17
|
*/
|
|
17
|
-
export declare const getCredentialDefaultsControllerGetUrl: (params: CredentialDefaultsControllerGetParams) => string;
|
|
18
18
|
export declare const credentialDefaultsControllerGet: (params: CredentialDefaultsControllerGetParams, options?: RequestInit) => Promise<CredentialDefaultDtoDataEnvelope>;
|
|
19
|
+
export declare const getCredentialDefaultsControllerDeleteUrl: (params: CredentialDefaultsControllerDeleteParams) => string;
|
|
19
20
|
/**
|
|
20
21
|
* @summary Delete the credential-binding default for an org or project scope
|
|
21
22
|
*/
|
|
22
|
-
export declare const getCredentialDefaultsControllerDeleteUrl: (params: CredentialDefaultsControllerDeleteParams) => string;
|
|
23
23
|
export declare const credentialDefaultsControllerDelete: (params: CredentialDefaultsControllerDeleteParams, options?: RequestInit) => Promise<void>;
|
|
24
|
+
export declare const getCredentialDefaultsControllerListUrl: (params: CredentialDefaultsControllerListParams) => string;
|
|
24
25
|
/**
|
|
25
26
|
* @summary List every credential-binding default in an org
|
|
26
27
|
*/
|
|
27
|
-
export declare const getCredentialDefaultsControllerListUrl: (params: CredentialDefaultsControllerListParams) => string;
|
|
28
28
|
export declare const credentialDefaultsControllerList: (params: CredentialDefaultsControllerListParams, options?: RequestInit) => Promise<CredentialDefaultDtoDataArrayEnvelope>;
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.credentialDefaultsControllerList = exports.getCredentialDefaultsControllerListUrl = exports.credentialDefaultsControllerDelete = exports.getCredentialDefaultsControllerDeleteUrl = exports.credentialDefaultsControllerGet = exports.getCredentialDefaultsControllerGetUrl = exports.credentialDefaultsControllerUpsert = exports.getCredentialDefaultsControllerUpsertUrl = void 0;
|
|
4
4
|
const custom_fetch_1 = require("../../custom-fetch");
|
|
5
|
-
/**
|
|
6
|
-
* @summary Create or replace a credential-binding default
|
|
7
|
-
*/
|
|
8
5
|
const getCredentialDefaultsControllerUpsertUrl = () => {
|
|
9
6
|
return `/credential-defaults`;
|
|
10
7
|
};
|
|
11
8
|
exports.getCredentialDefaultsControllerUpsertUrl = getCredentialDefaultsControllerUpsertUrl;
|
|
9
|
+
/**
|
|
10
|
+
* @summary Create or replace a credential-binding default
|
|
11
|
+
*/
|
|
12
12
|
const credentialDefaultsControllerUpsert = async (upsertCredentialDefaultDto, options) => {
|
|
13
13
|
return (0, custom_fetch_1.customFetch)((0, exports.getCredentialDefaultsControllerUpsertUrl)(), {
|
|
14
14
|
...options,
|
|
@@ -18,9 +18,6 @@ const credentialDefaultsControllerUpsert = async (upsertCredentialDefaultDto, op
|
|
|
18
18
|
});
|
|
19
19
|
};
|
|
20
20
|
exports.credentialDefaultsControllerUpsert = credentialDefaultsControllerUpsert;
|
|
21
|
-
/**
|
|
22
|
-
* @summary Get the credential-binding default for an org or project scope
|
|
23
|
-
*/
|
|
24
21
|
const getCredentialDefaultsControllerGetUrl = (params) => {
|
|
25
22
|
const normalizedParams = new URLSearchParams();
|
|
26
23
|
Object.entries(params || {}).forEach(([key, value]) => {
|
|
@@ -44,6 +41,9 @@ const getCredentialDefaultsControllerGetUrl = (params) => {
|
|
|
44
41
|
return stringifiedParams.length > 0 ? `/credential-defaults?${stringifiedParams}` : `/credential-defaults`;
|
|
45
42
|
};
|
|
46
43
|
exports.getCredentialDefaultsControllerGetUrl = getCredentialDefaultsControllerGetUrl;
|
|
44
|
+
/**
|
|
45
|
+
* @summary Get the credential-binding default for an org or project scope
|
|
46
|
+
*/
|
|
47
47
|
const credentialDefaultsControllerGet = async (params, options) => {
|
|
48
48
|
return (0, custom_fetch_1.customFetch)((0, exports.getCredentialDefaultsControllerGetUrl)(params), {
|
|
49
49
|
...options,
|
|
@@ -51,9 +51,6 @@ const credentialDefaultsControllerGet = async (params, options) => {
|
|
|
51
51
|
});
|
|
52
52
|
};
|
|
53
53
|
exports.credentialDefaultsControllerGet = credentialDefaultsControllerGet;
|
|
54
|
-
/**
|
|
55
|
-
* @summary Delete the credential-binding default for an org or project scope
|
|
56
|
-
*/
|
|
57
54
|
const getCredentialDefaultsControllerDeleteUrl = (params) => {
|
|
58
55
|
const normalizedParams = new URLSearchParams();
|
|
59
56
|
Object.entries(params || {}).forEach(([key, value]) => {
|
|
@@ -77,6 +74,9 @@ const getCredentialDefaultsControllerDeleteUrl = (params) => {
|
|
|
77
74
|
return stringifiedParams.length > 0 ? `/credential-defaults?${stringifiedParams}` : `/credential-defaults`;
|
|
78
75
|
};
|
|
79
76
|
exports.getCredentialDefaultsControllerDeleteUrl = getCredentialDefaultsControllerDeleteUrl;
|
|
77
|
+
/**
|
|
78
|
+
* @summary Delete the credential-binding default for an org or project scope
|
|
79
|
+
*/
|
|
80
80
|
const credentialDefaultsControllerDelete = async (params, options) => {
|
|
81
81
|
return (0, custom_fetch_1.customFetch)((0, exports.getCredentialDefaultsControllerDeleteUrl)(params), {
|
|
82
82
|
...options,
|
|
@@ -84,9 +84,6 @@ const credentialDefaultsControllerDelete = async (params, options) => {
|
|
|
84
84
|
});
|
|
85
85
|
};
|
|
86
86
|
exports.credentialDefaultsControllerDelete = credentialDefaultsControllerDelete;
|
|
87
|
-
/**
|
|
88
|
-
* @summary List every credential-binding default in an org
|
|
89
|
-
*/
|
|
90
87
|
const getCredentialDefaultsControllerListUrl = (params) => {
|
|
91
88
|
const normalizedParams = new URLSearchParams();
|
|
92
89
|
Object.entries(params || {}).forEach(([key, value]) => {
|
|
@@ -110,6 +107,9 @@ const getCredentialDefaultsControllerListUrl = (params) => {
|
|
|
110
107
|
return stringifiedParams.length > 0 ? `/credential-defaults/list?${stringifiedParams}` : `/credential-defaults/list`;
|
|
111
108
|
};
|
|
112
109
|
exports.getCredentialDefaultsControllerListUrl = getCredentialDefaultsControllerListUrl;
|
|
110
|
+
/**
|
|
111
|
+
* @summary List every credential-binding default in an org
|
|
112
|
+
*/
|
|
113
113
|
const credentialDefaultsControllerList = async (params, options) => {
|
|
114
114
|
return (0, custom_fetch_1.customFetch)((0, exports.getCredentialDefaultsControllerListUrl)(params), {
|
|
115
115
|
...options,
|
|
@@ -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 { DescribeObjectsResponseDtoDataEnvelope } from '../../models';
|
|
9
|
+
export declare const getDescribeObjectsControllerDescribeUrl: () => string;
|
|
10
|
+
/**
|
|
11
|
+
* Wire shape mirrors the `xema.object-registry.projection.published.v1` CloudEvent `data` field. Consumers (object-registry-api) replace their cache slice for `source` atomically on each fetch.
|
|
12
|
+
* @summary Return this service's slice of the XemaObject universe (capability grants + execution environments).
|
|
13
|
+
*/
|
|
14
|
+
export declare const describeObjectsControllerDescribe: (options?: RequestInit) => Promise<DescribeObjectsResponseDtoDataEnvelope>;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.describeObjectsControllerDescribe = exports.getDescribeObjectsControllerDescribeUrl = void 0;
|
|
4
|
+
const custom_fetch_1 = require("../../custom-fetch");
|
|
5
|
+
const getDescribeObjectsControllerDescribeUrl = () => {
|
|
6
|
+
return `/describe-objects`;
|
|
7
|
+
};
|
|
8
|
+
exports.getDescribeObjectsControllerDescribeUrl = getDescribeObjectsControllerDescribeUrl;
|
|
9
|
+
/**
|
|
10
|
+
* Wire shape mirrors the `xema.object-registry.projection.published.v1` CloudEvent `data` field. Consumers (object-registry-api) replace their cache slice for `source` atomically on each fetch.
|
|
11
|
+
* @summary Return this service's slice of the XemaObject universe (capability grants + execution environments).
|
|
12
|
+
*/
|
|
13
|
+
const describeObjectsControllerDescribe = async (options) => {
|
|
14
|
+
return (0, custom_fetch_1.customFetch)((0, exports.getDescribeObjectsControllerDescribeUrl)(), {
|
|
15
|
+
...options,
|
|
16
|
+
method: 'GET'
|
|
17
|
+
});
|
|
18
|
+
};
|
|
19
|
+
exports.describeObjectsControllerDescribe = describeObjectsControllerDescribe;
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Generated by orval v8.
|
|
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 { CreateExecutionEnvironmentDto, EnvironmentsControllerFindBySlugParams, EnvironmentsControllerListParams, EnvironmentsControllerRemoveParams, EnvironmentsControllerUpdateParams,
|
|
8
|
+
import type { CreateExecutionEnvironmentDto, EnvironmentsControllerFindBySlugParams, EnvironmentsControllerListParams, EnvironmentsControllerRemoveParams, EnvironmentsControllerUpdateParams, ExecutionEnvironmentResponseDtoDataArrayEnvelope, ExecutionEnvironmentResponseDtoDataEnvelope, UpdateExecutionEnvironmentDto } from '../../models';
|
|
9
|
+
export declare const getEnvironmentsControllerListUrl: (params?: EnvironmentsControllerListParams) => string;
|
|
9
10
|
/**
|
|
10
|
-
* Returns the kernel-seeded built-in environments. With `orgId` it also includes that org's custom environments
|
|
11
|
+
* Returns the kernel-seeded built-in environments. With `orgId` it also includes that org's custom environments; without `orgId` it returns built-ins only (back-compat).
|
|
11
12
|
* @summary List ExecutionEnvironment rows
|
|
12
13
|
*/
|
|
13
|
-
export declare const
|
|
14
|
-
export declare const
|
|
14
|
+
export declare const environmentsControllerList: (params?: EnvironmentsControllerListParams, options?: RequestInit) => Promise<ExecutionEnvironmentResponseDtoDataArrayEnvelope>;
|
|
15
|
+
export declare const getEnvironmentsControllerCreateUrl: () => string;
|
|
15
16
|
/**
|
|
16
17
|
* Creates an org-scoped custom environment (`isBuiltIn=false`). Fails fast (409) if the slug collides with a built-in or with an existing custom in the same org.
|
|
17
18
|
* @summary Create an org-custom ExecutionEnvironment
|
|
18
19
|
*/
|
|
19
|
-
export declare const
|
|
20
|
-
export declare const
|
|
20
|
+
export declare const environmentsControllerCreate: (createExecutionEnvironmentDto: CreateExecutionEnvironmentDto, options?: RequestInit) => Promise<ExecutionEnvironmentResponseDtoDataEnvelope>;
|
|
21
|
+
export declare const getEnvironmentsControllerFindBySlugUrl: (slug: string, params?: EnvironmentsControllerFindBySlugParams) => string;
|
|
21
22
|
/**
|
|
22
23
|
* Resolves a built-in by slug. With `orgId`, an org-custom slug resolves before the built-in fallback. 404 if unknown.
|
|
23
24
|
* @summary Fetch a single ExecutionEnvironment by slug
|
|
24
25
|
*/
|
|
25
|
-
export declare const
|
|
26
|
-
export declare const
|
|
26
|
+
export declare const environmentsControllerFindBySlug: (slug: string, params?: EnvironmentsControllerFindBySlugParams, options?: RequestInit) => Promise<ExecutionEnvironmentResponseDtoDataEnvelope>;
|
|
27
|
+
export declare const getEnvironmentsControllerUpdateUrl: (slug: string, params: EnvironmentsControllerUpdateParams) => string;
|
|
27
28
|
/**
|
|
28
29
|
* Updates the mutable fields (description / allowedCapabilities / approvalRules / runtimeLimits) of an org-custom environment. Refuses built-ins with 403 (immutable). `slug` / `kind` / `orgId` are immutable.
|
|
29
30
|
* @summary Update an org-custom ExecutionEnvironment
|
|
30
31
|
*/
|
|
31
|
-
export declare const
|
|
32
|
-
export declare const
|
|
32
|
+
export declare const environmentsControllerUpdate: (slug: string, updateExecutionEnvironmentDto: UpdateExecutionEnvironmentDto, params: EnvironmentsControllerUpdateParams, options?: RequestInit) => Promise<ExecutionEnvironmentResponseDtoDataEnvelope>;
|
|
33
|
+
export declare const getEnvironmentsControllerRemoveUrl: (slug: string, params: EnvironmentsControllerRemoveParams) => string;
|
|
33
34
|
/**
|
|
34
35
|
* Deletes an org-custom environment. Refuses built-ins with 403 (immutable). 404 if no such custom environment exists for the org.
|
|
35
36
|
* @summary Delete an org-custom ExecutionEnvironment
|
|
36
37
|
*/
|
|
37
|
-
export declare const getEnvironmentsControllerRemoveUrl: (slug: string, params: EnvironmentsControllerRemoveParams) => string;
|
|
38
38
|
export declare const environmentsControllerRemove: (slug: string, params: EnvironmentsControllerRemoveParams, options?: RequestInit) => Promise<void>;
|
|
@@ -2,10 +2,6 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.environmentsControllerRemove = exports.getEnvironmentsControllerRemoveUrl = exports.environmentsControllerUpdate = exports.getEnvironmentsControllerUpdateUrl = exports.environmentsControllerFindBySlug = exports.getEnvironmentsControllerFindBySlugUrl = exports.environmentsControllerCreate = exports.getEnvironmentsControllerCreateUrl = exports.environmentsControllerList = exports.getEnvironmentsControllerListUrl = void 0;
|
|
4
4
|
const custom_fetch_1 = require("../../custom-fetch");
|
|
5
|
-
/**
|
|
6
|
-
* Returns the kernel-seeded built-in environments. With `orgId` it also includes that org's custom environments (plan §16 / G.4); without `orgId` it returns built-ins only (back-compat).
|
|
7
|
-
* @summary List ExecutionEnvironment rows
|
|
8
|
-
*/
|
|
9
5
|
const getEnvironmentsControllerListUrl = (params) => {
|
|
10
6
|
const normalizedParams = new URLSearchParams();
|
|
11
7
|
Object.entries(params || {}).forEach(([key, value]) => {
|
|
@@ -29,6 +25,10 @@ const getEnvironmentsControllerListUrl = (params) => {
|
|
|
29
25
|
return stringifiedParams.length > 0 ? `/environments?${stringifiedParams}` : `/environments`;
|
|
30
26
|
};
|
|
31
27
|
exports.getEnvironmentsControllerListUrl = getEnvironmentsControllerListUrl;
|
|
28
|
+
/**
|
|
29
|
+
* Returns the kernel-seeded built-in environments. With `orgId` it also includes that org's custom environments; without `orgId` it returns built-ins only (back-compat).
|
|
30
|
+
* @summary List ExecutionEnvironment rows
|
|
31
|
+
*/
|
|
32
32
|
const environmentsControllerList = async (params, options) => {
|
|
33
33
|
return (0, custom_fetch_1.customFetch)((0, exports.getEnvironmentsControllerListUrl)(params), {
|
|
34
34
|
...options,
|
|
@@ -36,14 +36,14 @@ const environmentsControllerList = async (params, options) => {
|
|
|
36
36
|
});
|
|
37
37
|
};
|
|
38
38
|
exports.environmentsControllerList = environmentsControllerList;
|
|
39
|
-
/**
|
|
40
|
-
* Creates an org-scoped custom environment (`isBuiltIn=false`). Fails fast (409) if the slug collides with a built-in or with an existing custom in the same org.
|
|
41
|
-
* @summary Create an org-custom ExecutionEnvironment
|
|
42
|
-
*/
|
|
43
39
|
const getEnvironmentsControllerCreateUrl = () => {
|
|
44
40
|
return `/environments`;
|
|
45
41
|
};
|
|
46
42
|
exports.getEnvironmentsControllerCreateUrl = getEnvironmentsControllerCreateUrl;
|
|
43
|
+
/**
|
|
44
|
+
* Creates an org-scoped custom environment (`isBuiltIn=false`). Fails fast (409) if the slug collides with a built-in or with an existing custom in the same org.
|
|
45
|
+
* @summary Create an org-custom ExecutionEnvironment
|
|
46
|
+
*/
|
|
47
47
|
const environmentsControllerCreate = async (createExecutionEnvironmentDto, options) => {
|
|
48
48
|
return (0, custom_fetch_1.customFetch)((0, exports.getEnvironmentsControllerCreateUrl)(), {
|
|
49
49
|
...options,
|
|
@@ -53,10 +53,6 @@ const environmentsControllerCreate = async (createExecutionEnvironmentDto, optio
|
|
|
53
53
|
});
|
|
54
54
|
};
|
|
55
55
|
exports.environmentsControllerCreate = environmentsControllerCreate;
|
|
56
|
-
/**
|
|
57
|
-
* Resolves a built-in by slug. With `orgId`, an org-custom slug resolves before the built-in fallback. 404 if unknown.
|
|
58
|
-
* @summary Fetch a single ExecutionEnvironment by slug
|
|
59
|
-
*/
|
|
60
56
|
const getEnvironmentsControllerFindBySlugUrl = (slug, params) => {
|
|
61
57
|
const normalizedParams = new URLSearchParams();
|
|
62
58
|
Object.entries(params || {}).forEach(([key, value]) => {
|
|
@@ -80,6 +76,10 @@ const getEnvironmentsControllerFindBySlugUrl = (slug, params) => {
|
|
|
80
76
|
return stringifiedParams.length > 0 ? `/environments/${slug}?${stringifiedParams}` : `/environments/${slug}`;
|
|
81
77
|
};
|
|
82
78
|
exports.getEnvironmentsControllerFindBySlugUrl = getEnvironmentsControllerFindBySlugUrl;
|
|
79
|
+
/**
|
|
80
|
+
* Resolves a built-in by slug. With `orgId`, an org-custom slug resolves before the built-in fallback. 404 if unknown.
|
|
81
|
+
* @summary Fetch a single ExecutionEnvironment by slug
|
|
82
|
+
*/
|
|
83
83
|
const environmentsControllerFindBySlug = async (slug, params, options) => {
|
|
84
84
|
return (0, custom_fetch_1.customFetch)((0, exports.getEnvironmentsControllerFindBySlugUrl)(slug, params), {
|
|
85
85
|
...options,
|
|
@@ -87,10 +87,6 @@ const environmentsControllerFindBySlug = async (slug, params, options) => {
|
|
|
87
87
|
});
|
|
88
88
|
};
|
|
89
89
|
exports.environmentsControllerFindBySlug = environmentsControllerFindBySlug;
|
|
90
|
-
/**
|
|
91
|
-
* Updates the mutable fields (description / allowedCapabilities / approvalRules / runtimeLimits) of an org-custom environment. Refuses built-ins with 403 (immutable). `slug` / `kind` / `orgId` are immutable.
|
|
92
|
-
* @summary Update an org-custom ExecutionEnvironment
|
|
93
|
-
*/
|
|
94
90
|
const getEnvironmentsControllerUpdateUrl = (slug, params) => {
|
|
95
91
|
const normalizedParams = new URLSearchParams();
|
|
96
92
|
Object.entries(params || {}).forEach(([key, value]) => {
|
|
@@ -114,6 +110,10 @@ const getEnvironmentsControllerUpdateUrl = (slug, params) => {
|
|
|
114
110
|
return stringifiedParams.length > 0 ? `/environments/${slug}?${stringifiedParams}` : `/environments/${slug}`;
|
|
115
111
|
};
|
|
116
112
|
exports.getEnvironmentsControllerUpdateUrl = getEnvironmentsControllerUpdateUrl;
|
|
113
|
+
/**
|
|
114
|
+
* Updates the mutable fields (description / allowedCapabilities / approvalRules / runtimeLimits) of an org-custom environment. Refuses built-ins with 403 (immutable). `slug` / `kind` / `orgId` are immutable.
|
|
115
|
+
* @summary Update an org-custom ExecutionEnvironment
|
|
116
|
+
*/
|
|
117
117
|
const environmentsControllerUpdate = async (slug, updateExecutionEnvironmentDto, params, options) => {
|
|
118
118
|
return (0, custom_fetch_1.customFetch)((0, exports.getEnvironmentsControllerUpdateUrl)(slug, params), {
|
|
119
119
|
...options,
|
|
@@ -123,10 +123,6 @@ const environmentsControllerUpdate = async (slug, updateExecutionEnvironmentDto,
|
|
|
123
123
|
});
|
|
124
124
|
};
|
|
125
125
|
exports.environmentsControllerUpdate = environmentsControllerUpdate;
|
|
126
|
-
/**
|
|
127
|
-
* Deletes an org-custom environment. Refuses built-ins with 403 (immutable). 404 if no such custom environment exists for the org.
|
|
128
|
-
* @summary Delete an org-custom ExecutionEnvironment
|
|
129
|
-
*/
|
|
130
126
|
const getEnvironmentsControllerRemoveUrl = (slug, params) => {
|
|
131
127
|
const normalizedParams = new URLSearchParams();
|
|
132
128
|
Object.entries(params || {}).forEach(([key, value]) => {
|
|
@@ -150,6 +146,10 @@ const getEnvironmentsControllerRemoveUrl = (slug, params) => {
|
|
|
150
146
|
return stringifiedParams.length > 0 ? `/environments/${slug}?${stringifiedParams}` : `/environments/${slug}`;
|
|
151
147
|
};
|
|
152
148
|
exports.getEnvironmentsControllerRemoveUrl = getEnvironmentsControllerRemoveUrl;
|
|
149
|
+
/**
|
|
150
|
+
* Deletes an org-custom environment. Refuses built-ins with 403 (immutable). 404 if no such custom environment exists for the org.
|
|
151
|
+
* @summary Delete an org-custom ExecutionEnvironment
|
|
152
|
+
*/
|
|
153
153
|
const environmentsControllerRemove = async (slug, params, options) => {
|
|
154
154
|
return (0, custom_fetch_1.customFetch)((0, exports.getEnvironmentsControllerRemoveUrl)(slug, params), {
|
|
155
155
|
...options,
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Generated by orval v8.
|
|
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 {
|
|
8
|
+
import type { CapabilityGrantDtoDataEnvelope, CapabilityGrantDtoPaginatedEnvelope, CreateGrantDto, GrantsControllerListParams, UpdateGrantDto } from '../../models';
|
|
9
|
+
export declare const getGrantsControllerCreateUrl: () => string;
|
|
9
10
|
/**
|
|
10
11
|
* @summary Create a capability grant
|
|
11
12
|
*/
|
|
12
|
-
export declare const
|
|
13
|
-
export declare const
|
|
13
|
+
export declare const grantsControllerCreate: (createGrantDto: CreateGrantDto, options?: RequestInit) => Promise<CapabilityGrantDtoDataEnvelope>;
|
|
14
|
+
export declare const getGrantsControllerListUrl: (params?: GrantsControllerListParams) => string;
|
|
14
15
|
/**
|
|
15
16
|
* @summary List capability grants (paginated, filterable)
|
|
16
17
|
*/
|
|
17
|
-
export declare const
|
|
18
|
-
export declare const
|
|
18
|
+
export declare const grantsControllerList: (params?: GrantsControllerListParams, options?: RequestInit) => Promise<CapabilityGrantDtoPaginatedEnvelope>;
|
|
19
|
+
export declare const getGrantsControllerGetByIdUrl: (id: string) => string;
|
|
19
20
|
/**
|
|
20
21
|
* @summary Get a capability grant by id
|
|
21
22
|
*/
|
|
22
|
-
export declare const
|
|
23
|
-
export declare const
|
|
23
|
+
export declare const grantsControllerGetById: (id: string, options?: RequestInit) => Promise<CapabilityGrantDtoDataEnvelope>;
|
|
24
|
+
export declare const getGrantsControllerUpdateUrl: (id: string) => string;
|
|
24
25
|
/**
|
|
25
26
|
* @summary Update mutable fields on a capability grant
|
|
26
27
|
*/
|
|
27
|
-
export declare const
|
|
28
|
-
export declare const
|
|
28
|
+
export declare const grantsControllerUpdate: (id: string, updateGrantDto: UpdateGrantDto, options?: RequestInit) => Promise<CapabilityGrantDtoDataEnvelope>;
|
|
29
|
+
export declare const getGrantsControllerRevokeUrl: (id: string) => string;
|
|
29
30
|
/**
|
|
30
31
|
* @summary Mark a capability grant as revoked
|
|
31
32
|
*/
|
|
32
|
-
export declare const
|
|
33
|
-
export declare const grantsControllerRevoke: (id: string, options?: RequestInit) => Promise<CapabilityGrantDto>;
|
|
33
|
+
export declare const grantsControllerRevoke: (id: string, options?: RequestInit) => Promise<CapabilityGrantDtoDataEnvelope>;
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.grantsControllerRevoke = exports.getGrantsControllerRevokeUrl = exports.grantsControllerUpdate = exports.getGrantsControllerUpdateUrl = exports.grantsControllerGetById = exports.getGrantsControllerGetByIdUrl = exports.grantsControllerList = exports.getGrantsControllerListUrl = exports.grantsControllerCreate = exports.getGrantsControllerCreateUrl = void 0;
|
|
4
4
|
const custom_fetch_1 = require("../../custom-fetch");
|
|
5
|
-
/**
|
|
6
|
-
* @summary Create a capability grant
|
|
7
|
-
*/
|
|
8
5
|
const getGrantsControllerCreateUrl = () => {
|
|
9
6
|
return `/grants`;
|
|
10
7
|
};
|
|
11
8
|
exports.getGrantsControllerCreateUrl = getGrantsControllerCreateUrl;
|
|
9
|
+
/**
|
|
10
|
+
* @summary Create a capability grant
|
|
11
|
+
*/
|
|
12
12
|
const grantsControllerCreate = async (createGrantDto, options) => {
|
|
13
13
|
return (0, custom_fetch_1.customFetch)((0, exports.getGrantsControllerCreateUrl)(), {
|
|
14
14
|
...options,
|
|
@@ -18,9 +18,6 @@ const grantsControllerCreate = async (createGrantDto, options) => {
|
|
|
18
18
|
});
|
|
19
19
|
};
|
|
20
20
|
exports.grantsControllerCreate = grantsControllerCreate;
|
|
21
|
-
/**
|
|
22
|
-
* @summary List capability grants (paginated, filterable)
|
|
23
|
-
*/
|
|
24
21
|
const getGrantsControllerListUrl = (params) => {
|
|
25
22
|
const normalizedParams = new URLSearchParams();
|
|
26
23
|
Object.entries(params || {}).forEach(([key, value]) => {
|
|
@@ -44,6 +41,9 @@ const getGrantsControllerListUrl = (params) => {
|
|
|
44
41
|
return stringifiedParams.length > 0 ? `/grants?${stringifiedParams}` : `/grants`;
|
|
45
42
|
};
|
|
46
43
|
exports.getGrantsControllerListUrl = getGrantsControllerListUrl;
|
|
44
|
+
/**
|
|
45
|
+
* @summary List capability grants (paginated, filterable)
|
|
46
|
+
*/
|
|
47
47
|
const grantsControllerList = async (params, options) => {
|
|
48
48
|
return (0, custom_fetch_1.customFetch)((0, exports.getGrantsControllerListUrl)(params), {
|
|
49
49
|
...options,
|
|
@@ -51,13 +51,13 @@ const grantsControllerList = async (params, options) => {
|
|
|
51
51
|
});
|
|
52
52
|
};
|
|
53
53
|
exports.grantsControllerList = grantsControllerList;
|
|
54
|
-
/**
|
|
55
|
-
* @summary Get a capability grant by id
|
|
56
|
-
*/
|
|
57
54
|
const getGrantsControllerGetByIdUrl = (id) => {
|
|
58
55
|
return `/grants/${id}`;
|
|
59
56
|
};
|
|
60
57
|
exports.getGrantsControllerGetByIdUrl = getGrantsControllerGetByIdUrl;
|
|
58
|
+
/**
|
|
59
|
+
* @summary Get a capability grant by id
|
|
60
|
+
*/
|
|
61
61
|
const grantsControllerGetById = async (id, options) => {
|
|
62
62
|
return (0, custom_fetch_1.customFetch)((0, exports.getGrantsControllerGetByIdUrl)(id), {
|
|
63
63
|
...options,
|
|
@@ -65,13 +65,13 @@ const grantsControllerGetById = async (id, options) => {
|
|
|
65
65
|
});
|
|
66
66
|
};
|
|
67
67
|
exports.grantsControllerGetById = grantsControllerGetById;
|
|
68
|
-
/**
|
|
69
|
-
* @summary Update mutable fields on a capability grant
|
|
70
|
-
*/
|
|
71
68
|
const getGrantsControllerUpdateUrl = (id) => {
|
|
72
69
|
return `/grants/${id}`;
|
|
73
70
|
};
|
|
74
71
|
exports.getGrantsControllerUpdateUrl = getGrantsControllerUpdateUrl;
|
|
72
|
+
/**
|
|
73
|
+
* @summary Update mutable fields on a capability grant
|
|
74
|
+
*/
|
|
75
75
|
const grantsControllerUpdate = async (id, updateGrantDto, options) => {
|
|
76
76
|
return (0, custom_fetch_1.customFetch)((0, exports.getGrantsControllerUpdateUrl)(id), {
|
|
77
77
|
...options,
|
|
@@ -81,13 +81,13 @@ const grantsControllerUpdate = async (id, updateGrantDto, options) => {
|
|
|
81
81
|
});
|
|
82
82
|
};
|
|
83
83
|
exports.grantsControllerUpdate = grantsControllerUpdate;
|
|
84
|
-
/**
|
|
85
|
-
* @summary Mark a capability grant as revoked
|
|
86
|
-
*/
|
|
87
84
|
const getGrantsControllerRevokeUrl = (id) => {
|
|
88
85
|
return `/grants/${id}/revoke`;
|
|
89
86
|
};
|
|
90
87
|
exports.getGrantsControllerRevokeUrl = getGrantsControllerRevokeUrl;
|
|
88
|
+
/**
|
|
89
|
+
* @summary Mark a capability grant as revoked
|
|
90
|
+
*/
|
|
91
91
|
const grantsControllerRevoke = async (id, options) => {
|
|
92
92
|
return (0, custom_fetch_1.customFetch)((0, exports.getGrantsControllerRevokeUrl)(id), {
|
|
93
93
|
...options,
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Generated by orval v8.
|
|
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 {
|
|
8
|
+
import type { ProfilePolicyTemplateDtoDataArrayEnvelope } from '../../models';
|
|
9
|
+
export declare const getProfilesControllerListUrl: () => string;
|
|
9
10
|
/**
|
|
10
|
-
* Returns the kernel-seeded `ProfilePolicyTemplate` rows. Used by the biome install UI to populate the profile picker
|
|
11
|
+
* Returns the kernel-seeded `ProfilePolicyTemplate` rows. Used by the biome install UI to populate the profile picker.
|
|
11
12
|
* @summary List built-in BiomePermissionProfile policy templates
|
|
12
13
|
*/
|
|
13
|
-
export declare const
|
|
14
|
-
export declare const profilesControllerList: (options?: RequestInit) => Promise<ListProfilesResponseDto>;
|
|
14
|
+
export declare const profilesControllerList: (options?: RequestInit) => Promise<ProfilePolicyTemplateDtoDataArrayEnvelope>;
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.profilesControllerList = exports.getProfilesControllerListUrl = void 0;
|
|
4
4
|
const custom_fetch_1 = require("../../custom-fetch");
|
|
5
|
-
/**
|
|
6
|
-
* Returns the kernel-seeded `ProfilePolicyTemplate` rows. Used by the biome install UI to populate the profile picker (plan §30.3).
|
|
7
|
-
* @summary List built-in BiomePermissionProfile policy templates
|
|
8
|
-
*/
|
|
9
5
|
const getProfilesControllerListUrl = () => {
|
|
10
6
|
return `/profiles`;
|
|
11
7
|
};
|
|
12
8
|
exports.getProfilesControllerListUrl = getProfilesControllerListUrl;
|
|
9
|
+
/**
|
|
10
|
+
* Returns the kernel-seeded `ProfilePolicyTemplate` rows. Used by the biome install UI to populate the profile picker.
|
|
11
|
+
* @summary List built-in BiomePermissionProfile policy templates
|
|
12
|
+
*/
|
|
13
13
|
const profilesControllerList = async (options) => {
|
|
14
14
|
return (0, custom_fetch_1.customFetch)((0, exports.getProfilesControllerListUrl)(), {
|
|
15
15
|
...options,
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Generated by orval v8.
|
|
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 {
|
|
8
|
+
import type { OpenFgaRelationshipDtoPaginatedEnvelope, RelationshipsControllerListParams } from '../../models';
|
|
9
|
+
export declare const getRelationshipsControllerListUrl: (params?: RelationshipsControllerListParams) => string;
|
|
9
10
|
/**
|
|
10
11
|
* Returns the live OpenFGA relationship tuples projected from the authoritative `CapabilityGrant` rows. Filter by org / subject / capability / environment / relation; offset-paginated (limit default 50, max 200).
|
|
11
12
|
* @summary List ReBAC relationship tuples (paginated, filterable)
|
|
12
13
|
*/
|
|
13
|
-
export declare const
|
|
14
|
-
export declare const relationshipsControllerList: (params?: RelationshipsControllerListParams, options?: RequestInit) => Promise<ListRelationshipsResponseDto>;
|
|
14
|
+
export declare const relationshipsControllerList: (params?: RelationshipsControllerListParams, options?: RequestInit) => Promise<OpenFgaRelationshipDtoPaginatedEnvelope>;
|
|
@@ -2,10 +2,6 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.relationshipsControllerList = exports.getRelationshipsControllerListUrl = void 0;
|
|
4
4
|
const custom_fetch_1 = require("../../custom-fetch");
|
|
5
|
-
/**
|
|
6
|
-
* Returns the live OpenFGA relationship tuples projected from the authoritative `CapabilityGrant` rows. Filter by org / subject / capability / environment / relation; offset-paginated (limit default 50, max 200).
|
|
7
|
-
* @summary List ReBAC relationship tuples (paginated, filterable)
|
|
8
|
-
*/
|
|
9
5
|
const getRelationshipsControllerListUrl = (params) => {
|
|
10
6
|
const normalizedParams = new URLSearchParams();
|
|
11
7
|
Object.entries(params || {}).forEach(([key, value]) => {
|
|
@@ -29,6 +25,10 @@ const getRelationshipsControllerListUrl = (params) => {
|
|
|
29
25
|
return stringifiedParams.length > 0 ? `/relationships?${stringifiedParams}` : `/relationships`;
|
|
30
26
|
};
|
|
31
27
|
exports.getRelationshipsControllerListUrl = getRelationshipsControllerListUrl;
|
|
28
|
+
/**
|
|
29
|
+
* Returns the live OpenFGA relationship tuples projected from the authoritative `CapabilityGrant` rows. Filter by org / subject / capability / environment / relation; offset-paginated (limit default 50, max 200).
|
|
30
|
+
* @summary List ReBAC relationship tuples (paginated, filterable)
|
|
31
|
+
*/
|
|
32
32
|
const relationshipsControllerList = async (params, options) => {
|
|
33
33
|
return (0, custom_fetch_1.customFetch)((0, exports.getRelationshipsControllerListUrl)(params), {
|
|
34
34
|
...options,
|
|
@@ -0,0 +1,37 @@
|
|
|
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 { AddResourceShareDto, ListVisibleResourcesDto, RegisterResourceOwnershipDto, ResourceOwnershipDtoDataEnvelope, ResourceOwnershipReadDtoDataEnvelope, VisibleResourcesDtoDataEnvelope } from '../../models';
|
|
9
|
+
export declare const getResourcesControllerRegisterUrl: () => string;
|
|
10
|
+
/**
|
|
11
|
+
* Writes the ownership rows + OpenFGA tuples so the PDP ANDs the verb verdict with instance ownership. Idempotent (upsert + ignore-duplicate tuples). Org scope is forced from the caller context.
|
|
12
|
+
* @summary Register ownership/visibility of a resource instance
|
|
13
|
+
*/
|
|
14
|
+
export declare const resourcesControllerRegister: (registerResourceOwnershipDto: RegisterResourceOwnershipDto, options?: RequestInit) => Promise<ResourceOwnershipDtoDataEnvelope>;
|
|
15
|
+
export declare const getResourcesControllerListVisibleUrl: () => string;
|
|
16
|
+
/**
|
|
17
|
+
* Unions OpenFGA owner/shared-with visibility (usersets expanded transitively) with org-shared instances. Org scope is forced from the caller context. Used by platform BFFs to visibility-filter a list on behalf of the end user they serve.
|
|
18
|
+
* @summary List the instances of a resource type a subject may see
|
|
19
|
+
*/
|
|
20
|
+
export declare const resourcesControllerListVisible: (listVisibleResourcesDto: ListVisibleResourcesDto, options?: RequestInit) => Promise<VisibleResourcesDtoDataEnvelope>;
|
|
21
|
+
export declare const getResourcesControllerGetOwnershipUrl: (type: string, id: string) => string;
|
|
22
|
+
/**
|
|
23
|
+
* Returns the instance visibility and the combined set of registered subjects (owners + shares; the SQL authority does not split them). 404 when the instance was never registered.
|
|
24
|
+
* @summary Read a resource instance’s current visibility + subjects
|
|
25
|
+
*/
|
|
26
|
+
export declare const resourcesControllerGetOwnership: (type: string, id: string, options?: RequestInit) => Promise<ResourceOwnershipReadDtoDataEnvelope>;
|
|
27
|
+
export declare const getResourcesControllerDeregisterUrl: (type: string, id: string) => string;
|
|
28
|
+
/**
|
|
29
|
+
* Idempotent — a no-op when the instance was never registered.
|
|
30
|
+
* @summary Deregister a resource instance (drop ownership rows + tuples)
|
|
31
|
+
*/
|
|
32
|
+
export declare const resourcesControllerDeregister: (type: string, id: string, options?: RequestInit) => Promise<void>;
|
|
33
|
+
export declare const getResourcesControllerAddShareUrl: (type: string, id: string) => string;
|
|
34
|
+
/**
|
|
35
|
+
* @summary Add an explicit share to a registered resource instance
|
|
36
|
+
*/
|
|
37
|
+
export declare const resourcesControllerAddShare: (type: string, id: string, addResourceShareDto: AddResourceShareDto, options?: RequestInit) => Promise<void>;
|