@xemahq/authorization-internal-api-client 0.3.10 → 0.4.12
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/dist/custom-fetch.d.ts +22 -0
- package/dist/custom-fetch.js +27 -0
- package/dist/endpoints/environments/environments.d.ts +23 -2
- package/dist/endpoints/environments/environments.js +118 -2
- package/dist/endpoints/org-erasure/org-erasure.d.ts +5 -0
- package/dist/endpoints/org-erasure/org-erasure.js +23 -0
- package/dist/endpoints/output-routes/output-routes.d.ts +41 -0
- package/dist/endpoints/output-routes/output-routes.js +133 -0
- package/dist/endpoints/resource-revisions/resource-revisions.d.ts +16 -0
- package/dist/endpoints/resource-revisions/resource-revisions.js +36 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +3 -0
- package/dist/models/addResourceShareDto.d.ts +4 -1
- package/dist/models/addRoleGrantDto.d.ts +0 -1
- package/dist/models/capabilityEffectClass.d.ts +11 -0
- package/dist/models/capabilityEffectClass.js +13 -0
- package/dist/models/capabilityGrantDto.d.ts +0 -1
- package/dist/models/capabilityReach.d.ts +14 -0
- package/dist/models/capabilityReach.js +13 -0
- package/dist/models/createGrantDto.d.ts +0 -2
- package/dist/models/credentialDefaultDto.d.ts +2 -0
- package/dist/models/credentialDefaultsControllerDeleteParams.d.ts +4 -0
- package/dist/models/credentialDefaultsControllerGetParams.d.ts +4 -0
- package/dist/models/dataResidency.d.ts +0 -2
- package/dist/models/dataResidency.js +0 -2
- package/dist/models/environmentCeilingSource.d.ts +1 -1
- package/dist/models/environmentsControllerReleaseHistoryParams.d.ts +9 -0
- package/dist/models/environmentsControllerReleaseHistoryParams.js +7 -0
- package/dist/models/environmentsControllerReleaseImpactParams.d.ts +9 -0
- package/dist/models/environmentsControllerReleaseImpactParams.js +7 -0
- package/dist/models/environmentsControllerRollbackParams.d.ts +8 -0
- package/dist/models/environmentsControllerRollbackParams.js +7 -0
- package/dist/models/exactResourceAuthorityDto.d.ts +21 -0
- package/dist/models/exactResourceAuthorityDto.js +2 -0
- package/dist/models/exactResourceAuthorityDtoDataEnvelope.d.ts +9 -0
- package/dist/models/exactResourceAuthorityDtoDataEnvelope.js +2 -0
- package/dist/models/exactResourceBindingDto.d.ts +11 -0
- package/dist/models/exactResourceBindingDto.js +7 -0
- package/dist/models/executionEnvironmentReleaseHistoryDto.d.ts +19 -0
- package/dist/models/executionEnvironmentReleaseHistoryDto.js +2 -0
- package/dist/models/executionEnvironmentReleaseHistoryDtoDataArrayEnvelope.d.ts +9 -0
- package/dist/models/executionEnvironmentReleaseHistoryDtoDataArrayEnvelope.js +2 -0
- package/dist/models/executionEnvironmentReleaseHistoryDtoOperation.d.ts +11 -0
- package/dist/models/executionEnvironmentReleaseHistoryDtoOperation.js +13 -0
- package/dist/models/executionEnvironmentReleaseImpactDto.d.ts +14 -0
- package/dist/models/executionEnvironmentReleaseImpactDto.js +7 -0
- package/dist/models/executionEnvironmentReleaseImpactDtoDataArrayEnvelope.d.ts +9 -0
- package/dist/models/executionEnvironmentReleaseImpactDtoDataArrayEnvelope.js +2 -0
- package/dist/models/executionEnvironmentResponseDto.d.ts +20 -2
- package/dist/models/executionEnvironmentResponseDtoAllowedBiomesItem.d.ts +8 -0
- package/dist/models/executionEnvironmentResponseDtoAllowedBiomesItem.js +7 -0
- package/dist/models/executionEnvironmentResponseDtoAllowedConnectorsItem.d.ts +8 -0
- package/dist/models/executionEnvironmentResponseDtoAllowedConnectorsItem.js +7 -0
- package/dist/models/executionEnvironmentResponseDtoAllowedKnowledgeScopesItem.d.ts +8 -0
- package/dist/models/executionEnvironmentResponseDtoAllowedKnowledgeScopesItem.js +7 -0
- package/dist/models/executionEnvironmentResponseDtoAllowedMountsItem.d.ts +8 -0
- package/dist/models/executionEnvironmentResponseDtoAllowedMountsItem.js +7 -0
- package/dist/models/executionEnvironmentResponseDtoOrgId.d.ts +1 -1
- package/dist/models/impactedOutputRouteConsumerDto.d.ts +16 -0
- package/dist/models/impactedOutputRouteConsumerDto.js +7 -0
- package/dist/models/impactedOutputRouteConsumerDtoDataArrayEnvelope.d.ts +9 -0
- package/dist/models/impactedOutputRouteConsumerDtoDataArrayEnvelope.js +2 -0
- package/dist/models/index.d.ts +49 -0
- package/dist/models/index.js +49 -0
- package/dist/models/object.d.ts +8 -0
- package/dist/models/object.js +7 -0
- package/dist/models/outputRouteAuthorityDto.d.ts +29 -0
- package/dist/models/outputRouteAuthorityDto.js +2 -0
- package/dist/models/outputRouteAuthorityDtoAllowedOutputSchema.d.ts +11 -0
- package/dist/models/outputRouteAuthorityDtoAllowedOutputSchema.js +7 -0
- package/dist/models/outputRouteAuthorityDtoDataEnvelope.d.ts +9 -0
- package/dist/models/outputRouteAuthorityDtoDataEnvelope.js +2 -0
- package/dist/models/outputRouteDestinationKind.d.ts +12 -0
- package/dist/models/outputRouteDestinationKind.js +14 -0
- package/dist/models/outputRoutePublicationRequestDto.d.ts +11 -0
- package/dist/models/outputRoutePublicationRequestDto.js +2 -0
- package/dist/models/outputRoutePublicationRequestDtoDataEnvelope.d.ts +9 -0
- package/dist/models/outputRoutePublicationRequestDtoDataEnvelope.js +2 -0
- package/dist/models/outputRouteReleaseHistoryDto.d.ts +24 -0
- package/dist/models/outputRouteReleaseHistoryDto.js +2 -0
- package/dist/models/outputRouteReleaseHistoryDtoDataArrayEnvelope.d.ts +9 -0
- package/dist/models/outputRouteReleaseHistoryDtoDataArrayEnvelope.js +2 -0
- package/dist/models/outputRouteReleaseHistoryDtoOperation.d.ts +11 -0
- package/dist/models/outputRouteReleaseHistoryDtoOperation.js +13 -0
- package/dist/models/outputRouteReleaseRequestDto.d.ts +17 -0
- package/dist/models/outputRouteReleaseRequestDto.js +2 -0
- package/dist/models/outputRouteReleaseRequestDtoDataEnvelope.d.ts +9 -0
- package/dist/models/outputRouteReleaseRequestDtoDataEnvelope.js +2 -0
- package/dist/models/outputRouteReleaseRequestDtoStatus.d.ts +11 -0
- package/dist/models/outputRouteReleaseRequestDtoStatus.js +13 -0
- package/dist/models/outputRouteRevisionDto.d.ts +27 -0
- package/dist/models/outputRouteRevisionDto.js +2 -0
- package/dist/models/outputRouteRevisionDtoAllowedOutputSchema.d.ts +11 -0
- package/dist/models/outputRouteRevisionDtoAllowedOutputSchema.js +7 -0
- package/dist/models/outputRouteRevisionsControllerReleaseHistoryParams.d.ts +13 -0
- package/dist/models/outputRouteRevisionsControllerReleaseHistoryParams.js +2 -0
- package/dist/models/policyResourceDto.d.ts +1 -1
- package/dist/models/previewOutputRouteImpactDto.d.ts +10 -0
- package/dist/models/previewOutputRouteImpactDto.js +7 -0
- package/dist/models/registerResourceOwnershipDto.d.ts +3 -2
- package/dist/models/registerResourceRevisionDto.d.ts +17 -0
- package/dist/models/registerResourceRevisionDto.js +2 -0
- package/dist/models/registeredResourceRevisionDto.d.ts +19 -0
- package/dist/models/registeredResourceRevisionDto.js +2 -0
- package/dist/models/registeredResourceRevisionDtoDataEnvelope.d.ts +9 -0
- package/dist/models/registeredResourceRevisionDtoDataEnvelope.js +2 -0
- package/dist/models/replaceResourceOwnershipDto.d.ts +3 -2
- package/dist/models/requestOutputRouteRetirementDto.d.ts +16 -0
- package/dist/models/requestOutputRouteRetirementDto.js +7 -0
- package/dist/models/requestOutputRouteRevisionReleaseDto.d.ts +31 -0
- package/dist/models/requestOutputRouteRevisionReleaseDto.js +2 -0
- package/dist/models/requestOutputRouteRevisionReleaseDtoAllowedOutputSchema.d.ts +11 -0
- package/dist/models/requestOutputRouteRevisionReleaseDtoAllowedOutputSchema.js +7 -0
- package/dist/models/requestOutputRouteRollbackDto.d.ts +17 -0
- package/dist/models/requestOutputRouteRollbackDto.js +7 -0
- package/dist/models/resolveExactOutputRouteDto.d.ts +10 -0
- package/dist/models/resolveExactOutputRouteDto.js +2 -0
- package/dist/models/resolveExactResourceRevisionDto.d.ts +11 -0
- package/dist/models/resolveExactResourceRevisionDto.js +2 -0
- package/dist/models/resolveOutputRouteChannelDto.d.ts +12 -0
- package/dist/models/resolveOutputRouteChannelDto.js +2 -0
- package/dist/models/resourceOwnershipEntryDto.d.ts +6 -0
- package/dist/models/resourceOwnershipReadDto.d.ts +5 -3
- package/dist/models/resourceShareRefDto.d.ts +15 -0
- package/dist/models/resourceShareRefDto.js +2 -0
- package/dist/models/resourceSubjectAccessResult.d.ts +10 -0
- package/dist/models/resourceSubjectAccessResult.js +12 -0
- package/dist/models/roleGrantDto.d.ts +0 -1
- package/dist/models/rollbackExecutionEnvironmentDto.d.ts +11 -0
- package/dist/models/rollbackExecutionEnvironmentDto.js +7 -0
- package/dist/models/updateGrantDto.d.ts +0 -1
- package/dist/models/upsertCredentialDefaultDto.d.ts +2 -0
- package/dist/models/xemaObjectKind.d.ts +2 -2
- package/dist/models/xemaObjectKind.js +2 -2
- package/package.json +2 -2
package/dist/models/index.js
CHANGED
|
@@ -32,10 +32,12 @@ __exportStar(require("./authorizationSuggestionKind"), exports);
|
|
|
32
32
|
__exportStar(require("./biomeExecutionTrustTier"), exports);
|
|
33
33
|
__exportStar(require("./biomePermissionProfile"), exports);
|
|
34
34
|
__exportStar(require("./callerKind"), exports);
|
|
35
|
+
__exportStar(require("./capabilityEffectClass"), exports);
|
|
35
36
|
__exportStar(require("./capabilityGrantDto"), exports);
|
|
36
37
|
__exportStar(require("./capabilityGrantDtoDataEnvelope"), exports);
|
|
37
38
|
__exportStar(require("./capabilityGrantDtoPaginatedEnvelope"), exports);
|
|
38
39
|
__exportStar(require("./capabilityGrantRelation"), exports);
|
|
40
|
+
__exportStar(require("./capabilityReach"), exports);
|
|
39
41
|
__exportStar(require("./capabilityRiskTier"), exports);
|
|
40
42
|
__exportStar(require("./createExecutionEnvironmentDto"), exports);
|
|
41
43
|
__exportStar(require("./createExecutionEnvironmentDtoAllowedCapabilitiesItem"), exports);
|
|
@@ -58,15 +60,30 @@ __exportStar(require("./describeObjectsResponseDtoDataEnvelope"), exports);
|
|
|
58
60
|
__exportStar(require("./environmentCeilingSource"), exports);
|
|
59
61
|
__exportStar(require("./environmentsControllerFindBySlugParams"), exports);
|
|
60
62
|
__exportStar(require("./environmentsControllerListParams"), exports);
|
|
63
|
+
__exportStar(require("./environmentsControllerReleaseHistoryParams"), exports);
|
|
64
|
+
__exportStar(require("./environmentsControllerReleaseImpactParams"), exports);
|
|
61
65
|
__exportStar(require("./environmentsControllerRemoveParams"), exports);
|
|
66
|
+
__exportStar(require("./environmentsControllerRollbackParams"), exports);
|
|
62
67
|
__exportStar(require("./environmentsControllerUpdateParams"), exports);
|
|
63
68
|
__exportStar(require("./errorDetailsDto"), exports);
|
|
64
69
|
__exportStar(require("./errorDetailsDtoDetails"), exports);
|
|
65
70
|
__exportStar(require("./errorPayloadDto"), exports);
|
|
66
71
|
__exportStar(require("./errorResponseDto"), exports);
|
|
72
|
+
__exportStar(require("./exactResourceAuthorityDto"), exports);
|
|
73
|
+
__exportStar(require("./exactResourceAuthorityDtoDataEnvelope"), exports);
|
|
74
|
+
__exportStar(require("./exactResourceBindingDto"), exports);
|
|
67
75
|
__exportStar(require("./executionEnvironmentKind"), exports);
|
|
76
|
+
__exportStar(require("./executionEnvironmentReleaseHistoryDto"), exports);
|
|
77
|
+
__exportStar(require("./executionEnvironmentReleaseHistoryDtoDataArrayEnvelope"), exports);
|
|
78
|
+
__exportStar(require("./executionEnvironmentReleaseHistoryDtoOperation"), exports);
|
|
79
|
+
__exportStar(require("./executionEnvironmentReleaseImpactDto"), exports);
|
|
80
|
+
__exportStar(require("./executionEnvironmentReleaseImpactDtoDataArrayEnvelope"), exports);
|
|
68
81
|
__exportStar(require("./executionEnvironmentResponseDto"), exports);
|
|
82
|
+
__exportStar(require("./executionEnvironmentResponseDtoAllowedBiomesItem"), exports);
|
|
69
83
|
__exportStar(require("./executionEnvironmentResponseDtoAllowedCapabilitiesItem"), exports);
|
|
84
|
+
__exportStar(require("./executionEnvironmentResponseDtoAllowedConnectorsItem"), exports);
|
|
85
|
+
__exportStar(require("./executionEnvironmentResponseDtoAllowedKnowledgeScopesItem"), exports);
|
|
86
|
+
__exportStar(require("./executionEnvironmentResponseDtoAllowedMountsItem"), exports);
|
|
70
87
|
__exportStar(require("./executionEnvironmentResponseDtoApprovalRulesItem"), exports);
|
|
71
88
|
__exportStar(require("./executionEnvironmentResponseDtoDataArrayEnvelope"), exports);
|
|
72
89
|
__exportStar(require("./executionEnvironmentResponseDtoDataEnvelope"), exports);
|
|
@@ -76,7 +93,10 @@ __exportStar(require("./grantConstraintsDto"), exports);
|
|
|
76
93
|
__exportStar(require("./grantVersionResponseDto"), exports);
|
|
77
94
|
__exportStar(require("./grantVersionResponseDtoDataEnvelope"), exports);
|
|
78
95
|
__exportStar(require("./grantsControllerListParams"), exports);
|
|
96
|
+
__exportStar(require("./impactedOutputRouteConsumerDto"), exports);
|
|
97
|
+
__exportStar(require("./impactedOutputRouteConsumerDtoDataArrayEnvelope"), exports);
|
|
79
98
|
__exportStar(require("./listVisibleResourcesDto"), exports);
|
|
99
|
+
__exportStar(require("./object"), exports);
|
|
80
100
|
__exportStar(require("./objectLifecycle"), exports);
|
|
81
101
|
__exportStar(require("./openFgaRelationshipDto"), exports);
|
|
82
102
|
__exportStar(require("./openFgaRelationshipDtoPaginatedEnvelope"), exports);
|
|
@@ -84,6 +104,21 @@ __exportStar(require("./orgRole"), exports);
|
|
|
84
104
|
__exportStar(require("./orgRoleSyncDto"), exports);
|
|
85
105
|
__exportStar(require("./orgRoleSyncResultDto"), exports);
|
|
86
106
|
__exportStar(require("./orgRoleSyncResultDtoDataEnvelope"), exports);
|
|
107
|
+
__exportStar(require("./outputRouteAuthorityDto"), exports);
|
|
108
|
+
__exportStar(require("./outputRouteAuthorityDtoAllowedOutputSchema"), exports);
|
|
109
|
+
__exportStar(require("./outputRouteAuthorityDtoDataEnvelope"), exports);
|
|
110
|
+
__exportStar(require("./outputRouteDestinationKind"), exports);
|
|
111
|
+
__exportStar(require("./outputRoutePublicationRequestDto"), exports);
|
|
112
|
+
__exportStar(require("./outputRoutePublicationRequestDtoDataEnvelope"), exports);
|
|
113
|
+
__exportStar(require("./outputRouteReleaseHistoryDto"), exports);
|
|
114
|
+
__exportStar(require("./outputRouteReleaseHistoryDtoDataArrayEnvelope"), exports);
|
|
115
|
+
__exportStar(require("./outputRouteReleaseHistoryDtoOperation"), exports);
|
|
116
|
+
__exportStar(require("./outputRouteReleaseRequestDto"), exports);
|
|
117
|
+
__exportStar(require("./outputRouteReleaseRequestDtoDataEnvelope"), exports);
|
|
118
|
+
__exportStar(require("./outputRouteReleaseRequestDtoStatus"), exports);
|
|
119
|
+
__exportStar(require("./outputRouteRevisionDto"), exports);
|
|
120
|
+
__exportStar(require("./outputRouteRevisionDtoAllowedOutputSchema"), exports);
|
|
121
|
+
__exportStar(require("./outputRouteRevisionsControllerReleaseHistoryParams"), exports);
|
|
87
122
|
__exportStar(require("./paginationMeta"), exports);
|
|
88
123
|
__exportStar(require("./policyActingForDto"), exports);
|
|
89
124
|
__exportStar(require("./policyBiomeDto"), exports);
|
|
@@ -106,6 +141,7 @@ __exportStar(require("./policyRouteHintDto"), exports);
|
|
|
106
141
|
__exportStar(require("./policyRouteHintDtoRequiredRunnerLabels"), exports);
|
|
107
142
|
__exportStar(require("./policySpaceRefDto"), exports);
|
|
108
143
|
__exportStar(require("./policySubjectRefDto"), exports);
|
|
144
|
+
__exportStar(require("./previewOutputRouteImpactDto"), exports);
|
|
109
145
|
__exportStar(require("./profilePolicyTemplateDto"), exports);
|
|
110
146
|
__exportStar(require("./profilePolicyTemplateDtoDataArrayEnvelope"), exports);
|
|
111
147
|
__exportStar(require("./profilePolicyTemplateDtoNotes"), exports);
|
|
@@ -114,15 +150,27 @@ __exportStar(require("./provisionAgentResultDto"), exports);
|
|
|
114
150
|
__exportStar(require("./provisionAgentResultDtoDataEnvelope"), exports);
|
|
115
151
|
__exportStar(require("./provisionedCapabilityDto"), exports);
|
|
116
152
|
__exportStar(require("./registerResourceOwnershipDto"), exports);
|
|
153
|
+
__exportStar(require("./registerResourceRevisionDto"), exports);
|
|
154
|
+
__exportStar(require("./registeredResourceRevisionDto"), exports);
|
|
155
|
+
__exportStar(require("./registeredResourceRevisionDtoDataEnvelope"), exports);
|
|
117
156
|
__exportStar(require("./relationshipsControllerListParams"), exports);
|
|
118
157
|
__exportStar(require("./removeResourceShareDto"), exports);
|
|
119
158
|
__exportStar(require("./replaceResourceOwnershipDto"), exports);
|
|
159
|
+
__exportStar(require("./requestOutputRouteRetirementDto"), exports);
|
|
160
|
+
__exportStar(require("./requestOutputRouteRevisionReleaseDto"), exports);
|
|
161
|
+
__exportStar(require("./requestOutputRouteRevisionReleaseDtoAllowedOutputSchema"), exports);
|
|
162
|
+
__exportStar(require("./requestOutputRouteRollbackDto"), exports);
|
|
163
|
+
__exportStar(require("./resolveExactOutputRouteDto"), exports);
|
|
164
|
+
__exportStar(require("./resolveExactResourceRevisionDto"), exports);
|
|
165
|
+
__exportStar(require("./resolveOutputRouteChannelDto"), exports);
|
|
120
166
|
__exportStar(require("./resourceManagedBy"), exports);
|
|
121
167
|
__exportStar(require("./resourceOwnershipDto"), exports);
|
|
122
168
|
__exportStar(require("./resourceOwnershipDtoDataEnvelope"), exports);
|
|
123
169
|
__exportStar(require("./resourceOwnershipEntryDto"), exports);
|
|
124
170
|
__exportStar(require("./resourceOwnershipReadDto"), exports);
|
|
125
171
|
__exportStar(require("./resourceOwnershipReadDtoDataEnvelope"), exports);
|
|
172
|
+
__exportStar(require("./resourceShareRefDto"), exports);
|
|
173
|
+
__exportStar(require("./resourceSubjectAccessResult"), exports);
|
|
126
174
|
__exportStar(require("./resourceSubjectRefDto"), exports);
|
|
127
175
|
__exportStar(require("./resourceVisibilityPattern"), exports);
|
|
128
176
|
__exportStar(require("./roleAssignmentDto"), exports);
|
|
@@ -135,6 +183,7 @@ __exportStar(require("./roleGrantDto"), exports);
|
|
|
135
183
|
__exportStar(require("./roleGrantDtoDataArrayEnvelope"), exports);
|
|
136
184
|
__exportStar(require("./roleGrantDtoDataEnvelope"), exports);
|
|
137
185
|
__exportStar(require("./rolesControllerListParams"), exports);
|
|
186
|
+
__exportStar(require("./rollbackExecutionEnvironmentDto"), exports);
|
|
138
187
|
__exportStar(require("./runnerKind"), exports);
|
|
139
188
|
__exportStar(require("./sessionParticipantRole"), exports);
|
|
140
189
|
__exportStar(require("./spaceKind"), exports);
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by @xemahq/api-client-generator — do not edit manually.
|
|
3
|
+
* Authorization API
|
|
4
|
+
* OpenAPI spec version: 0.1.1
|
|
5
|
+
*/
|
|
6
|
+
import type { CapabilityEffectClass } from './capabilityEffectClass.js';
|
|
7
|
+
import type { DataClassification } from './dataClassification.js';
|
|
8
|
+
import type { OutputRouteAuthorityDtoAllowedOutputSchema } from './outputRouteAuthorityDtoAllowedOutputSchema.js';
|
|
9
|
+
import type { OutputRouteDestinationKind } from './outputRouteDestinationKind.js';
|
|
10
|
+
import type { ResourceSubjectAccessResult } from './resourceSubjectAccessResult.js';
|
|
11
|
+
export interface OutputRouteAuthorityDto {
|
|
12
|
+
/** Canonical versioned OutputRoute identity. */
|
|
13
|
+
ref: string;
|
|
14
|
+
ownerSpaceKey: string;
|
|
15
|
+
destinationKind: OutputRouteDestinationKind;
|
|
16
|
+
/** Secret-free destination identity. Credentials are resolved only by the destination service. */
|
|
17
|
+
destinationRef: string;
|
|
18
|
+
classification: DataClassification;
|
|
19
|
+
/** JSON Schema for the only output shape this route accepts. */
|
|
20
|
+
allowedOutputSchema: OutputRouteAuthorityDtoAllowedOutputSchema;
|
|
21
|
+
sideEffectClass: CapabilityEffectClass;
|
|
22
|
+
decisionCapabilityRef: string;
|
|
23
|
+
orgId: string;
|
|
24
|
+
routeId: string;
|
|
25
|
+
version: string;
|
|
26
|
+
/** @pattern ^[a-f0-9]{64}$ */
|
|
27
|
+
contentHash: string;
|
|
28
|
+
access: ResourceSubjectAccessResult;
|
|
29
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by @xemahq/api-client-generator — do not edit manually.
|
|
3
|
+
* Authorization API
|
|
4
|
+
* OpenAPI spec version: 0.1.1
|
|
5
|
+
*/
|
|
6
|
+
/**
|
|
7
|
+
* JSON Schema for the only output shape this route accepts.
|
|
8
|
+
*/
|
|
9
|
+
export type OutputRouteAuthorityDtoAllowedOutputSchema = {
|
|
10
|
+
[key: string]: unknown;
|
|
11
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by @xemahq/api-client-generator — do not edit manually.
|
|
3
|
+
* Authorization API
|
|
4
|
+
* OpenAPI spec version: 0.1.1
|
|
5
|
+
*/
|
|
6
|
+
import type { OutputRouteAuthorityDto } from './outputRouteAuthorityDto.js';
|
|
7
|
+
export interface OutputRouteAuthorityDtoDataEnvelope {
|
|
8
|
+
data: OutputRouteAuthorityDto;
|
|
9
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by @xemahq/api-client-generator — do not edit manually.
|
|
3
|
+
* Authorization API
|
|
4
|
+
* OpenAPI spec version: 0.1.1
|
|
5
|
+
*/
|
|
6
|
+
export type OutputRouteDestinationKind = typeof OutputRouteDestinationKind[keyof typeof OutputRouteDestinationKind];
|
|
7
|
+
export declare const OutputRouteDestinationKind: {
|
|
8
|
+
readonly artifact: "artifact";
|
|
9
|
+
readonly connector: "connector";
|
|
10
|
+
readonly channel: "channel";
|
|
11
|
+
readonly webhook: "webhook";
|
|
12
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by @xemahq/api-client-generator — do not edit manually.
|
|
4
|
+
* Authorization API
|
|
5
|
+
* OpenAPI spec version: 0.1.1
|
|
6
|
+
*/
|
|
7
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
+
exports.OutputRouteDestinationKind = void 0;
|
|
9
|
+
exports.OutputRouteDestinationKind = {
|
|
10
|
+
artifact: 'artifact',
|
|
11
|
+
connector: 'connector',
|
|
12
|
+
channel: 'channel',
|
|
13
|
+
webhook: 'webhook',
|
|
14
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by @xemahq/api-client-generator — do not edit manually.
|
|
3
|
+
* Authorization API
|
|
4
|
+
* OpenAPI spec version: 0.1.1
|
|
5
|
+
*/
|
|
6
|
+
import type { OutputRouteReleaseRequestDto } from './outputRouteReleaseRequestDto.js';
|
|
7
|
+
import type { OutputRouteRevisionDto } from './outputRouteRevisionDto.js';
|
|
8
|
+
export interface OutputRoutePublicationRequestDto {
|
|
9
|
+
revision: OutputRouteRevisionDto;
|
|
10
|
+
request: OutputRouteReleaseRequestDto;
|
|
11
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by @xemahq/api-client-generator — do not edit manually.
|
|
3
|
+
* Authorization API
|
|
4
|
+
* OpenAPI spec version: 0.1.1
|
|
5
|
+
*/
|
|
6
|
+
import type { OutputRoutePublicationRequestDto } from './outputRoutePublicationRequestDto.js';
|
|
7
|
+
export interface OutputRoutePublicationRequestDtoDataEnvelope {
|
|
8
|
+
data: OutputRoutePublicationRequestDto;
|
|
9
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by @xemahq/api-client-generator — do not edit manually.
|
|
3
|
+
* Authorization API
|
|
4
|
+
* OpenAPI spec version: 0.1.1
|
|
5
|
+
*/
|
|
6
|
+
import type { OutputRouteReleaseHistoryDtoOperation } from './outputRouteReleaseHistoryDtoOperation.js';
|
|
7
|
+
export interface OutputRouteReleaseHistoryDto {
|
|
8
|
+
releaseSetId: string;
|
|
9
|
+
resolutionId: string;
|
|
10
|
+
/** @pattern ^[a-f0-9]{64}$ */
|
|
11
|
+
closureHash: string;
|
|
12
|
+
operation: OutputRouteReleaseHistoryDtoOperation;
|
|
13
|
+
rollbackOfReleaseSetId?: string;
|
|
14
|
+
ref: string;
|
|
15
|
+
/** @pattern ^[a-f0-9]{64}$ */
|
|
16
|
+
contentHash: string;
|
|
17
|
+
channel: string;
|
|
18
|
+
/** @minimum 1 */
|
|
19
|
+
channelVersion: number;
|
|
20
|
+
retired: boolean;
|
|
21
|
+
actorClientId: string;
|
|
22
|
+
reason: string;
|
|
23
|
+
createdAt: string;
|
|
24
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by @xemahq/api-client-generator — do not edit manually.
|
|
3
|
+
* Authorization API
|
|
4
|
+
* OpenAPI spec version: 0.1.1
|
|
5
|
+
*/
|
|
6
|
+
import type { OutputRouteReleaseHistoryDto } from './outputRouteReleaseHistoryDto.js';
|
|
7
|
+
export interface OutputRouteReleaseHistoryDtoDataArrayEnvelope {
|
|
8
|
+
data: OutputRouteReleaseHistoryDto[];
|
|
9
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by @xemahq/api-client-generator — do not edit manually.
|
|
3
|
+
* Authorization API
|
|
4
|
+
* OpenAPI spec version: 0.1.1
|
|
5
|
+
*/
|
|
6
|
+
export type OutputRouteReleaseHistoryDtoOperation = typeof OutputRouteReleaseHistoryDtoOperation[keyof typeof OutputRouteReleaseHistoryDtoOperation];
|
|
7
|
+
export declare const OutputRouteReleaseHistoryDtoOperation: {
|
|
8
|
+
readonly promote: "promote";
|
|
9
|
+
readonly rollback: "rollback";
|
|
10
|
+
readonly retire: "retire";
|
|
11
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by @xemahq/api-client-generator — do not edit manually.
|
|
4
|
+
* Authorization API
|
|
5
|
+
* OpenAPI spec version: 0.1.1
|
|
6
|
+
*/
|
|
7
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
+
exports.OutputRouteReleaseHistoryDtoOperation = void 0;
|
|
9
|
+
exports.OutputRouteReleaseHistoryDtoOperation = {
|
|
10
|
+
promote: 'promote',
|
|
11
|
+
rollback: 'rollback',
|
|
12
|
+
retire: 'retire',
|
|
13
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by @xemahq/api-client-generator — do not edit manually.
|
|
3
|
+
* Authorization API
|
|
4
|
+
* OpenAPI spec version: 0.1.1
|
|
5
|
+
*/
|
|
6
|
+
import type { OutputRouteReleaseRequestDtoStatus } from './outputRouteReleaseRequestDtoStatus.js';
|
|
7
|
+
export interface OutputRouteReleaseRequestDto {
|
|
8
|
+
requestId: string;
|
|
9
|
+
status: OutputRouteReleaseRequestDtoStatus;
|
|
10
|
+
decisionId?: string;
|
|
11
|
+
decisionProducerRef?: string;
|
|
12
|
+
/** @pattern ^[a-f0-9]{64}$ */
|
|
13
|
+
decisionEvidenceHash?: string;
|
|
14
|
+
denialReason?: string;
|
|
15
|
+
releaseSetId?: string;
|
|
16
|
+
resolutionId?: string;
|
|
17
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by @xemahq/api-client-generator — do not edit manually.
|
|
3
|
+
* Authorization API
|
|
4
|
+
* OpenAPI spec version: 0.1.1
|
|
5
|
+
*/
|
|
6
|
+
import type { OutputRouteReleaseRequestDto } from './outputRouteReleaseRequestDto.js';
|
|
7
|
+
export interface OutputRouteReleaseRequestDtoDataEnvelope {
|
|
8
|
+
data: OutputRouteReleaseRequestDto;
|
|
9
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by @xemahq/api-client-generator — do not edit manually.
|
|
3
|
+
* Authorization API
|
|
4
|
+
* OpenAPI spec version: 0.1.1
|
|
5
|
+
*/
|
|
6
|
+
export type OutputRouteReleaseRequestDtoStatus = typeof OutputRouteReleaseRequestDtoStatus[keyof typeof OutputRouteReleaseRequestDtoStatus];
|
|
7
|
+
export declare const OutputRouteReleaseRequestDtoStatus: {
|
|
8
|
+
readonly 'pending-decision': "pending-decision";
|
|
9
|
+
readonly promoted: "promoted";
|
|
10
|
+
readonly denied: "denied";
|
|
11
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by @xemahq/api-client-generator — do not edit manually.
|
|
4
|
+
* Authorization API
|
|
5
|
+
* OpenAPI spec version: 0.1.1
|
|
6
|
+
*/
|
|
7
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
+
exports.OutputRouteReleaseRequestDtoStatus = void 0;
|
|
9
|
+
exports.OutputRouteReleaseRequestDtoStatus = {
|
|
10
|
+
'pending-decision': 'pending-decision',
|
|
11
|
+
promoted: 'promoted',
|
|
12
|
+
denied: 'denied',
|
|
13
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by @xemahq/api-client-generator — do not edit manually.
|
|
3
|
+
* Authorization API
|
|
4
|
+
* OpenAPI spec version: 0.1.1
|
|
5
|
+
*/
|
|
6
|
+
import type { CapabilityEffectClass } from './capabilityEffectClass.js';
|
|
7
|
+
import type { DataClassification } from './dataClassification.js';
|
|
8
|
+
import type { OutputRouteDestinationKind } from './outputRouteDestinationKind.js';
|
|
9
|
+
import type { OutputRouteRevisionDtoAllowedOutputSchema } from './outputRouteRevisionDtoAllowedOutputSchema.js';
|
|
10
|
+
export interface OutputRouteRevisionDto {
|
|
11
|
+
/** Canonical versioned OutputRoute identity. */
|
|
12
|
+
ref: string;
|
|
13
|
+
ownerSpaceKey: string;
|
|
14
|
+
destinationKind: OutputRouteDestinationKind;
|
|
15
|
+
/** Secret-free destination identity. Credentials are resolved only by the destination service. */
|
|
16
|
+
destinationRef: string;
|
|
17
|
+
classification: DataClassification;
|
|
18
|
+
/** JSON Schema for the only output shape this route accepts. */
|
|
19
|
+
allowedOutputSchema: OutputRouteRevisionDtoAllowedOutputSchema;
|
|
20
|
+
sideEffectClass: CapabilityEffectClass;
|
|
21
|
+
decisionCapabilityRef: string;
|
|
22
|
+
orgId: string;
|
|
23
|
+
routeId: string;
|
|
24
|
+
version: string;
|
|
25
|
+
/** @pattern ^[a-f0-9]{64}$ */
|
|
26
|
+
contentHash: string;
|
|
27
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by @xemahq/api-client-generator — do not edit manually.
|
|
3
|
+
* Authorization API
|
|
4
|
+
* OpenAPI spec version: 0.1.1
|
|
5
|
+
*/
|
|
6
|
+
/**
|
|
7
|
+
* JSON Schema for the only output shape this route accepts.
|
|
8
|
+
*/
|
|
9
|
+
export type OutputRouteRevisionDtoAllowedOutputSchema = {
|
|
10
|
+
[key: string]: unknown;
|
|
11
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by @xemahq/api-client-generator — do not edit manually.
|
|
3
|
+
* Authorization API
|
|
4
|
+
* OpenAPI spec version: 0.1.1
|
|
5
|
+
*/
|
|
6
|
+
import type { Object } from './object.js';
|
|
7
|
+
export type OutputRouteRevisionsControllerReleaseHistoryParams = {
|
|
8
|
+
/**
|
|
9
|
+
* @pattern ^[a-z][a-z0-9-]{0,62}$
|
|
10
|
+
*/
|
|
11
|
+
channel: string;
|
|
12
|
+
limit?: Object;
|
|
13
|
+
};
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
*/
|
|
6
6
|
import type { DataClassification } from './dataClassification.js';
|
|
7
7
|
export interface PolicyResourceDto {
|
|
8
|
-
/** Canonical
|
|
8
|
+
/** Canonical `xema://<Space>/resource/<type>/<id>[@version]` address naming the instance this invocation targets. Exact Agent bindings always carry the version. The server answers `400 RESOURCE_REF_MALFORMED` for any other shape. Omit the whole `resource` block for a verb-only check; do not send a placeholder. */
|
|
9
9
|
ref: string;
|
|
10
10
|
/** The classification the target resource carries. OMIT IT when the producer has none to declare — the effective classification is then the Space floor alone, and the request still gets the resource-ownership clamp. Omitting the whole `resource` block is NOT the same thing: that downgrades the call to a verb-only check and discards the ownership clamp. Never send a placeholder value. */
|
|
11
11
|
classification?: DataClassification;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by @xemahq/api-client-generator — do not edit manually.
|
|
3
|
+
* Authorization API
|
|
4
|
+
* OpenAPI spec version: 0.1.1
|
|
5
|
+
*/
|
|
6
|
+
export interface PreviewOutputRouteImpactDto {
|
|
7
|
+
ref: string;
|
|
8
|
+
/** @pattern ^[a-z][a-z0-9-]{0,62}$ */
|
|
9
|
+
channel: string;
|
|
10
|
+
}
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
* Authorization API
|
|
4
4
|
* OpenAPI spec version: 0.1.1
|
|
5
5
|
*/
|
|
6
|
+
import type { ResourceShareRefDto } from './resourceShareRefDto.js';
|
|
6
7
|
import type { ResourceSubjectRefDto } from './resourceSubjectRefDto.js';
|
|
7
8
|
import type { ResourceVisibilityPattern } from './resourceVisibilityPattern.js';
|
|
8
9
|
export interface RegisterResourceOwnershipDto {
|
|
@@ -14,6 +15,6 @@ export interface RegisterResourceOwnershipDto {
|
|
|
14
15
|
visibility: ResourceVisibilityPattern;
|
|
15
16
|
/** Subjects that OWN the instance (full visibility). */
|
|
16
17
|
owners: ResourceSubjectRefDto[];
|
|
17
|
-
/** Subjects explicitly granted visibility
|
|
18
|
-
explicitShares?:
|
|
18
|
+
/** Subjects explicitly granted visibility, each at a LEVEL and with an optional expiry. */
|
|
19
|
+
explicitShares?: ResourceShareRefDto[];
|
|
19
20
|
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by @xemahq/api-client-generator — do not edit manually.
|
|
3
|
+
* Authorization API
|
|
4
|
+
* OpenAPI spec version: 0.1.1
|
|
5
|
+
*/
|
|
6
|
+
import type { DataClassification } from './dataClassification.js';
|
|
7
|
+
export interface RegisterResourceRevisionDto {
|
|
8
|
+
/** Canonical version-pinned Xema Resource ref. The first slug segment is the registered resource kind. */
|
|
9
|
+
ref: string;
|
|
10
|
+
/** Lowercase SHA-256 of the immutable revision metadata. */
|
|
11
|
+
contentHash: string;
|
|
12
|
+
/** Canonical OwnerSpace key produced by formatOwnerSpaceKey. It must carry the caller tenant fence. */
|
|
13
|
+
ownerSpaceKey: string;
|
|
14
|
+
classification: DataClassification;
|
|
15
|
+
/** Canonical capability ref the unified Decision must evaluate. */
|
|
16
|
+
decisionCapabilityRef: string;
|
|
17
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by @xemahq/api-client-generator — do not edit manually.
|
|
3
|
+
* Authorization API
|
|
4
|
+
* OpenAPI spec version: 0.1.1
|
|
5
|
+
*/
|
|
6
|
+
import type { DataClassification } from './dataClassification.js';
|
|
7
|
+
export interface RegisteredResourceRevisionDto {
|
|
8
|
+
/** Canonical version-pinned Xema Resource ref. The first slug segment is the registered resource kind. */
|
|
9
|
+
ref: string;
|
|
10
|
+
/** Lowercase SHA-256 of the immutable revision metadata. */
|
|
11
|
+
contentHash: string;
|
|
12
|
+
orgId: string;
|
|
13
|
+
resourceType: string;
|
|
14
|
+
resourceId: string;
|
|
15
|
+
version: string;
|
|
16
|
+
ownerSpaceKey: string;
|
|
17
|
+
classification: DataClassification;
|
|
18
|
+
decisionCapabilityRef: string;
|
|
19
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by @xemahq/api-client-generator — do not edit manually.
|
|
3
|
+
* Authorization API
|
|
4
|
+
* OpenAPI spec version: 0.1.1
|
|
5
|
+
*/
|
|
6
|
+
import type { RegisteredResourceRevisionDto } from './registeredResourceRevisionDto.js';
|
|
7
|
+
export interface RegisteredResourceRevisionDtoDataEnvelope {
|
|
8
|
+
data: RegisteredResourceRevisionDto;
|
|
9
|
+
}
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
* Authorization API
|
|
4
4
|
* OpenAPI spec version: 0.1.1
|
|
5
5
|
*/
|
|
6
|
+
import type { ResourceShareRefDto } from './resourceShareRefDto.js';
|
|
6
7
|
import type { ResourceSubjectRefDto } from './resourceSubjectRefDto.js';
|
|
7
8
|
import type { ResourceVisibilityPattern } from './resourceVisibilityPattern.js';
|
|
8
9
|
export interface ReplaceResourceOwnershipDto {
|
|
@@ -10,6 +11,6 @@ export interface ReplaceResourceOwnershipDto {
|
|
|
10
11
|
visibility: ResourceVisibilityPattern;
|
|
11
12
|
/** Subjects that OWN the instance (full visibility). */
|
|
12
13
|
owners: ResourceSubjectRefDto[];
|
|
13
|
-
/** Subjects explicitly granted visibility
|
|
14
|
-
explicitShares?:
|
|
14
|
+
/** Subjects explicitly granted visibility, each at a LEVEL and with an optional expiry. */
|
|
15
|
+
explicitShares?: ResourceShareRefDto[];
|
|
15
16
|
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by @xemahq/api-client-generator — do not edit manually.
|
|
3
|
+
* Authorization API
|
|
4
|
+
* OpenAPI spec version: 0.1.1
|
|
5
|
+
*/
|
|
6
|
+
export interface RequestOutputRouteRetirementDto {
|
|
7
|
+
/** @pattern ^[a-z][a-z0-9-]{0,62}$ */
|
|
8
|
+
channel: string;
|
|
9
|
+
/**
|
|
10
|
+
* @minimum 0
|
|
11
|
+
* @maximum 2147483647
|
|
12
|
+
*/
|
|
13
|
+
expectedChannelVersion: number;
|
|
14
|
+
/** @maxLength 2048 */
|
|
15
|
+
reason: string;
|
|
16
|
+
}
|