@xemahq/authorization-internal-api-client 0.4.3 → 0.4.14

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 (115) hide show
  1. package/dist/endpoints/environments/environments.d.ts +23 -2
  2. package/dist/endpoints/environments/environments.js +118 -2
  3. package/dist/endpoints/org-erasure/org-erasure.d.ts +5 -0
  4. package/dist/endpoints/org-erasure/org-erasure.js +23 -0
  5. package/dist/endpoints/output-routes/output-routes.d.ts +41 -0
  6. package/dist/endpoints/output-routes/output-routes.js +133 -0
  7. package/dist/endpoints/resource-revisions/resource-revisions.d.ts +16 -0
  8. package/dist/endpoints/resource-revisions/resource-revisions.js +36 -0
  9. package/dist/index.d.ts +3 -0
  10. package/dist/index.js +3 -0
  11. package/dist/models/capabilityEffectClass.d.ts +11 -0
  12. package/dist/models/capabilityEffectClass.js +13 -0
  13. package/dist/models/capabilityReach.d.ts +14 -0
  14. package/dist/models/capabilityReach.js +13 -0
  15. package/dist/models/environmentCeilingSource.d.ts +1 -1
  16. package/dist/models/environmentsControllerReleaseHistoryParams.d.ts +9 -0
  17. package/dist/models/environmentsControllerReleaseHistoryParams.js +7 -0
  18. package/dist/models/environmentsControllerReleaseImpactParams.d.ts +9 -0
  19. package/dist/models/environmentsControllerReleaseImpactParams.js +7 -0
  20. package/dist/models/environmentsControllerRollbackParams.d.ts +8 -0
  21. package/dist/models/environmentsControllerRollbackParams.js +7 -0
  22. package/dist/models/exactResourceAuthorityDto.d.ts +21 -0
  23. package/dist/models/exactResourceAuthorityDto.js +2 -0
  24. package/dist/models/exactResourceAuthorityDtoDataEnvelope.d.ts +9 -0
  25. package/dist/models/exactResourceAuthorityDtoDataEnvelope.js +2 -0
  26. package/dist/models/exactResourceBindingDto.d.ts +11 -0
  27. package/dist/models/exactResourceBindingDto.js +7 -0
  28. package/dist/models/executionEnvironmentReleaseHistoryDto.d.ts +19 -0
  29. package/dist/models/executionEnvironmentReleaseHistoryDto.js +2 -0
  30. package/dist/models/executionEnvironmentReleaseHistoryDtoDataArrayEnvelope.d.ts +9 -0
  31. package/dist/models/executionEnvironmentReleaseHistoryDtoDataArrayEnvelope.js +2 -0
  32. package/dist/models/executionEnvironmentReleaseHistoryDtoOperation.d.ts +11 -0
  33. package/dist/models/executionEnvironmentReleaseHistoryDtoOperation.js +13 -0
  34. package/dist/models/executionEnvironmentReleaseImpactDto.d.ts +14 -0
  35. package/dist/models/executionEnvironmentReleaseImpactDto.js +7 -0
  36. package/dist/models/executionEnvironmentReleaseImpactDtoDataArrayEnvelope.d.ts +9 -0
  37. package/dist/models/executionEnvironmentReleaseImpactDtoDataArrayEnvelope.js +2 -0
  38. package/dist/models/executionEnvironmentResponseDto.d.ts +20 -2
  39. package/dist/models/executionEnvironmentResponseDtoAllowedBiomesItem.d.ts +8 -0
  40. package/dist/models/executionEnvironmentResponseDtoAllowedBiomesItem.js +7 -0
  41. package/dist/models/executionEnvironmentResponseDtoAllowedConnectorsItem.d.ts +8 -0
  42. package/dist/models/executionEnvironmentResponseDtoAllowedConnectorsItem.js +7 -0
  43. package/dist/models/executionEnvironmentResponseDtoAllowedKnowledgeScopesItem.d.ts +8 -0
  44. package/dist/models/executionEnvironmentResponseDtoAllowedKnowledgeScopesItem.js +7 -0
  45. package/dist/models/executionEnvironmentResponseDtoAllowedMountsItem.d.ts +8 -0
  46. package/dist/models/executionEnvironmentResponseDtoAllowedMountsItem.js +7 -0
  47. package/dist/models/executionEnvironmentResponseDtoOrgId.d.ts +1 -1
  48. package/dist/models/impactedOutputRouteConsumerDto.d.ts +16 -0
  49. package/dist/models/impactedOutputRouteConsumerDto.js +7 -0
  50. package/dist/models/impactedOutputRouteConsumerDtoDataArrayEnvelope.d.ts +9 -0
  51. package/dist/models/impactedOutputRouteConsumerDtoDataArrayEnvelope.js +2 -0
  52. package/dist/models/index.d.ts +48 -0
  53. package/dist/models/index.js +48 -0
  54. package/dist/models/object.d.ts +8 -0
  55. package/dist/models/object.js +7 -0
  56. package/dist/models/outputRouteAuthorityDto.d.ts +29 -0
  57. package/dist/models/outputRouteAuthorityDto.js +2 -0
  58. package/dist/models/outputRouteAuthorityDtoAllowedOutputSchema.d.ts +11 -0
  59. package/dist/models/outputRouteAuthorityDtoAllowedOutputSchema.js +7 -0
  60. package/dist/models/outputRouteAuthorityDtoDataEnvelope.d.ts +9 -0
  61. package/dist/models/outputRouteAuthorityDtoDataEnvelope.js +2 -0
  62. package/dist/models/outputRouteDestinationKind.d.ts +12 -0
  63. package/dist/models/outputRouteDestinationKind.js +14 -0
  64. package/dist/models/outputRoutePublicationRequestDto.d.ts +11 -0
  65. package/dist/models/outputRoutePublicationRequestDto.js +2 -0
  66. package/dist/models/outputRoutePublicationRequestDtoDataEnvelope.d.ts +9 -0
  67. package/dist/models/outputRoutePublicationRequestDtoDataEnvelope.js +2 -0
  68. package/dist/models/outputRouteReleaseHistoryDto.d.ts +24 -0
  69. package/dist/models/outputRouteReleaseHistoryDto.js +2 -0
  70. package/dist/models/outputRouteReleaseHistoryDtoDataArrayEnvelope.d.ts +9 -0
  71. package/dist/models/outputRouteReleaseHistoryDtoDataArrayEnvelope.js +2 -0
  72. package/dist/models/outputRouteReleaseHistoryDtoOperation.d.ts +11 -0
  73. package/dist/models/outputRouteReleaseHistoryDtoOperation.js +13 -0
  74. package/dist/models/outputRouteReleaseRequestDto.d.ts +17 -0
  75. package/dist/models/outputRouteReleaseRequestDto.js +2 -0
  76. package/dist/models/outputRouteReleaseRequestDtoDataEnvelope.d.ts +9 -0
  77. package/dist/models/outputRouteReleaseRequestDtoDataEnvelope.js +2 -0
  78. package/dist/models/outputRouteReleaseRequestDtoStatus.d.ts +11 -0
  79. package/dist/models/outputRouteReleaseRequestDtoStatus.js +13 -0
  80. package/dist/models/outputRouteRevisionDto.d.ts +27 -0
  81. package/dist/models/outputRouteRevisionDto.js +2 -0
  82. package/dist/models/outputRouteRevisionDtoAllowedOutputSchema.d.ts +11 -0
  83. package/dist/models/outputRouteRevisionDtoAllowedOutputSchema.js +7 -0
  84. package/dist/models/outputRouteRevisionsControllerReleaseHistoryParams.d.ts +13 -0
  85. package/dist/models/outputRouteRevisionsControllerReleaseHistoryParams.js +2 -0
  86. package/dist/models/policyResourceDto.d.ts +1 -1
  87. package/dist/models/previewOutputRouteImpactDto.d.ts +10 -0
  88. package/dist/models/previewOutputRouteImpactDto.js +7 -0
  89. package/dist/models/registerResourceRevisionDto.d.ts +17 -0
  90. package/dist/models/registerResourceRevisionDto.js +2 -0
  91. package/dist/models/registeredResourceRevisionDto.d.ts +19 -0
  92. package/dist/models/registeredResourceRevisionDto.js +2 -0
  93. package/dist/models/registeredResourceRevisionDtoDataEnvelope.d.ts +9 -0
  94. package/dist/models/registeredResourceRevisionDtoDataEnvelope.js +2 -0
  95. package/dist/models/requestOutputRouteRetirementDto.d.ts +16 -0
  96. package/dist/models/requestOutputRouteRetirementDto.js +7 -0
  97. package/dist/models/requestOutputRouteRevisionReleaseDto.d.ts +31 -0
  98. package/dist/models/requestOutputRouteRevisionReleaseDto.js +2 -0
  99. package/dist/models/requestOutputRouteRevisionReleaseDtoAllowedOutputSchema.d.ts +11 -0
  100. package/dist/models/requestOutputRouteRevisionReleaseDtoAllowedOutputSchema.js +7 -0
  101. package/dist/models/requestOutputRouteRollbackDto.d.ts +17 -0
  102. package/dist/models/requestOutputRouteRollbackDto.js +7 -0
  103. package/dist/models/resolveExactOutputRouteDto.d.ts +10 -0
  104. package/dist/models/resolveExactOutputRouteDto.js +2 -0
  105. package/dist/models/resolveExactResourceRevisionDto.d.ts +11 -0
  106. package/dist/models/resolveExactResourceRevisionDto.js +2 -0
  107. package/dist/models/resolveOutputRouteChannelDto.d.ts +12 -0
  108. package/dist/models/resolveOutputRouteChannelDto.js +2 -0
  109. package/dist/models/resourceSubjectAccessResult.d.ts +10 -0
  110. package/dist/models/resourceSubjectAccessResult.js +12 -0
  111. package/dist/models/rollbackExecutionEnvironmentDto.d.ts +11 -0
  112. package/dist/models/rollbackExecutionEnvironmentDto.js +7 -0
  113. package/dist/models/xemaObjectKind.d.ts +2 -2
  114. package/dist/models/xemaObjectKind.js +2 -2
  115. package/package.json +2 -2
@@ -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,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -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,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -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,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -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,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -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,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -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,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -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,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -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,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -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,7 @@
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 });
@@ -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
+ };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -5,7 +5,7 @@
5
5
  */
6
6
  import type { DataClassification } from './dataClassification.js';
7
7
  export interface PolicyResourceDto {
8
- /** Canonical kernel resource-instance ref `resource:<type>:<id>` naming the instance this invocation targets. Build it with `composeResourceRef(type, id)` from `@xemahq/kernel-contracts/resource`. The server resolves it with `parseResourceRef` and answers `400 RESOURCE_REF_MALFORMED` for any other shape — a bare `<type>:<id>` and an `xema://…` path are BOTH rejected. Omit the whole `resource` block for a verb-only check; do not send a placeholder. */
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
+ }
@@ -0,0 +1,7 @@
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 });
@@ -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,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -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,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -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
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -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
+ }
@@ -0,0 +1,7 @@
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 });
@@ -0,0 +1,31 @@
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 { RequestOutputRouteRevisionReleaseDtoAllowedOutputSchema } from './requestOutputRouteRevisionReleaseDtoAllowedOutputSchema.js';
10
+ export interface RequestOutputRouteRevisionReleaseDto {
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: RequestOutputRouteRevisionReleaseDtoAllowedOutputSchema;
20
+ sideEffectClass: CapabilityEffectClass;
21
+ decisionCapabilityRef: string;
22
+ /** @pattern ^[a-z][a-z0-9-]{0,62}$ */
23
+ channel: string;
24
+ /**
25
+ * @minimum 0
26
+ * @maximum 2147483647
27
+ */
28
+ expectedChannelVersion: number;
29
+ /** @maxLength 2048 */
30
+ reason: string;
31
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -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 RequestOutputRouteRevisionReleaseDtoAllowedOutputSchema = {
10
+ [key: string]: unknown;
11
+ };
@@ -0,0 +1,7 @@
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 });
@@ -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
+ export interface RequestOutputRouteRollbackDto {
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
+ priorReleaseSetId: string;
17
+ }
@@ -0,0 +1,7 @@
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 });
@@ -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
+ import type { ResourceSubjectRefDto } from './resourceSubjectRefDto.js';
7
+ export interface ResolveExactOutputRouteDto {
8
+ ref: string;
9
+ subject: ResourceSubjectRefDto;
10
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -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 { ExactResourceBindingDto } from './exactResourceBindingDto.js';
7
+ import type { ResourceSubjectRefDto } from './resourceSubjectRefDto.js';
8
+ export interface ResolveExactResourceRevisionDto {
9
+ binding: ExactResourceBindingDto;
10
+ subject: ResourceSubjectRefDto;
11
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -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
+ import type { ResourceSubjectRefDto } from './resourceSubjectRefDto.js';
7
+ export interface ResolveOutputRouteChannelDto {
8
+ routeId: string;
9
+ /** @pattern ^[a-z][a-z0-9-]{0,62}$ */
10
+ channel: string;
11
+ subject: ResourceSubjectRefDto;
12
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -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 type ResourceSubjectAccessResult = typeof ResourceSubjectAccessResult[keyof typeof ResourceSubjectAccessResult];
7
+ export declare const ResourceSubjectAccessResult: {
8
+ readonly allowed: "allowed";
9
+ readonly denied: "denied";
10
+ };
@@ -0,0 +1,12 @@
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.ResourceSubjectAccessResult = void 0;
9
+ exports.ResourceSubjectAccessResult = {
10
+ allowed: 'allowed',
11
+ denied: 'denied',
12
+ };
@@ -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 interface RollbackExecutionEnvironmentDto {
7
+ /** Immutable prior generic ReleaseSet identifier. */
8
+ priorReleaseSetId: string;
9
+ /** True selects this tenant's built-in override channel; false selects the identity default/stable channel. */
10
+ tenantOverride: boolean;
11
+ }
@@ -0,0 +1,7 @@
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 });
@@ -27,10 +27,10 @@ export declare const XemaObjectKind: {
27
27
  readonly 'mount-source': "mount-source";
28
28
  readonly 'artifact-type': "artifact-type";
29
29
  readonly artifact: "artifact";
30
+ readonly 'output-route': "output-route";
31
+ readonly resource: "resource";
30
32
  readonly 'knowledge-space': "knowledge-space";
31
33
  readonly 'knowledge-page': "knowledge-page";
32
- readonly 'document-template': "document-template";
33
- readonly 'document-theme': "document-theme";
34
34
  readonly 'chart-runtime': "chart-runtime";
35
35
  readonly 'presentation-runtime': "presentation-runtime";
36
36
  readonly 'widget-kind': "widget-kind";
@@ -26,10 +26,10 @@ exports.XemaObjectKind = {
26
26
  'mount-source': 'mount-source',
27
27
  'artifact-type': 'artifact-type',
28
28
  artifact: 'artifact',
29
+ 'output-route': 'output-route',
30
+ resource: 'resource',
29
31
  'knowledge-space': 'knowledge-space',
30
32
  'knowledge-page': 'knowledge-page',
31
- 'document-template': 'document-template',
32
- 'document-theme': 'document-theme',
33
33
  'chart-runtime': 'chart-runtime',
34
34
  'presentation-runtime': 'presentation-runtime',
35
35
  'widget-kind': 'widget-kind',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xemahq/authorization-internal-api-client",
3
- "version": "0.4.3",
3
+ "version": "0.4.14",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "files": [
@@ -19,7 +19,7 @@
19
19
  "service": "authorization-api",
20
20
  "biome": "authorization",
21
21
  "target": "server",
22
- "generator": "@xemahq/api-client-generator@0.14.1",
22
+ "generator": "@xemahq/api-client-generator@0.15.0",
23
23
  "source": "openapi.internal.json"
24
24
  },
25
25
  "license": "LicenseRef-Xema-BSL-1.1",