@epistola.app/epistola-client 2.0.0 → 2.1.0
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/CHANGELOG.md +2 -0
- package/README.md +60 -0
- package/dist/collect/resultCollector.d.ts +6 -1
- package/dist/collect/resultCollector.d.ts.map +1 -1
- package/dist/collect/resultCollector.js.map +1 -1
- package/dist/generated/api/apis/AttributesApi.d.ts +2 -2
- package/dist/generated/api/apis/AttributesApi.js +2 -2
- package/dist/generated/api/apis/CatalogsApi.d.ts +2 -2
- package/dist/generated/api/apis/CatalogsApi.js +2 -2
- package/dist/generated/api/apis/CodeListsApi.d.ts +2 -2
- package/dist/generated/api/apis/CodeListsApi.js +2 -2
- package/dist/generated/api/apis/ConsumersApi.d.ts +2 -2
- package/dist/generated/api/apis/ConsumersApi.js +2 -2
- package/dist/generated/api/apis/EnvironmentsApi.d.ts +2 -2
- package/dist/generated/api/apis/EnvironmentsApi.js +2 -2
- package/dist/generated/api/apis/FontsApi.d.ts +2 -2
- package/dist/generated/api/apis/FontsApi.js +2 -2
- package/dist/generated/api/apis/GenerationApi.d.ts +6 -6
- package/dist/generated/api/apis/GenerationApi.js +6 -6
- package/dist/generated/api/apis/ImagesApi.d.ts +2 -2
- package/dist/generated/api/apis/ImagesApi.js +2 -2
- package/dist/generated/api/apis/QualityProfilesApi.d.ts +2 -2
- package/dist/generated/api/apis/QualityProfilesApi.js +2 -2
- package/dist/generated/api/apis/SearchApi.d.ts +2 -2
- package/dist/generated/api/apis/SearchApi.js +2 -2
- package/dist/generated/api/apis/StencilsApi.d.ts +2 -2
- package/dist/generated/api/apis/StencilsApi.js +2 -2
- package/dist/generated/api/apis/SystemApi.d.ts +2 -2
- package/dist/generated/api/apis/SystemApi.js +2 -2
- package/dist/generated/api/apis/TemplatesApi.d.ts +2 -2
- package/dist/generated/api/apis/TemplatesApi.js +2 -2
- package/dist/generated/api/apis/TenantsApi.d.ts +2 -2
- package/dist/generated/api/apis/TenantsApi.js +2 -2
- package/dist/generated/api/apis/ThemesApi.d.ts +2 -2
- package/dist/generated/api/apis/ThemesApi.js +2 -2
- package/dist/generated/api/apis/VariantsApi.d.ts +2 -2
- package/dist/generated/api/apis/VariantsApi.js +2 -2
- package/dist/generated/api/models/AmbiguousVariantProblemDetail.d.ts +2 -2
- package/dist/generated/api/models/AmbiguousVariantProblemDetail.js +2 -2
- package/dist/generated/api/models/ApproveConsumerRequest.d.ts +2 -2
- package/dist/generated/api/models/ApproveConsumerRequest.js +2 -2
- package/dist/generated/api/models/AttributeDto.d.ts +2 -2
- package/dist/generated/api/models/AttributeDto.js +2 -2
- package/dist/generated/api/models/AttributeListResponse.d.ts +2 -2
- package/dist/generated/api/models/AttributeListResponse.js +2 -2
- package/dist/generated/api/models/AvailableCatalogReleases.d.ts +2 -2
- package/dist/generated/api/models/AvailableCatalogReleases.js +2 -2
- package/dist/generated/api/models/AvailableReleaseDependencyDto.d.ts +2 -2
- package/dist/generated/api/models/AvailableReleaseDependencyDto.js +2 -2
- package/dist/generated/api/models/AvailableReleaseDto.d.ts +2 -2
- package/dist/generated/api/models/AvailableReleaseDto.js +2 -2
- package/dist/generated/api/models/BatchGenerationItem.d.ts +2 -2
- package/dist/generated/api/models/BatchGenerationItem.js +2 -2
- package/dist/generated/api/models/BehindReleaseDto.d.ts +2 -2
- package/dist/generated/api/models/BehindReleaseDto.js +2 -2
- package/dist/generated/api/models/BlockStylePreset.d.ts +2 -2
- package/dist/generated/api/models/BlockStylePreset.js +2 -2
- package/dist/generated/api/models/CatalogChangesDto.d.ts +2 -2
- package/dist/generated/api/models/CatalogChangesDto.js +2 -2
- package/dist/generated/api/models/CatalogDependencyDto.d.ts +2 -2
- package/dist/generated/api/models/CatalogDependencyDto.js +2 -2
- package/dist/generated/api/models/CatalogDependencyListResponse.d.ts +2 -2
- package/dist/generated/api/models/CatalogDependencyListResponse.js +2 -2
- package/dist/generated/api/models/CatalogDependencyRequirement.d.ts +2 -2
- package/dist/generated/api/models/CatalogDependencyRequirement.js +2 -2
- package/dist/generated/api/models/CatalogDraftInUseProblemDetail.d.ts +2 -2
- package/dist/generated/api/models/CatalogDraftInUseProblemDetail.js +2 -2
- package/dist/generated/api/models/CatalogDraftMergePreview.d.ts +2 -2
- package/dist/generated/api/models/CatalogDraftMergePreview.js +2 -2
- package/dist/generated/api/models/CatalogDraftMergeResource.d.ts +2 -2
- package/dist/generated/api/models/CatalogDraftMergeResource.js +2 -2
- package/dist/generated/api/models/CatalogDraftMergeSides.d.ts +2 -2
- package/dist/generated/api/models/CatalogDraftMergeSides.js +2 -2
- package/dist/generated/api/models/CatalogDraftRefDto.d.ts +2 -2
- package/dist/generated/api/models/CatalogDraftRefDto.js +2 -2
- package/dist/generated/api/models/CatalogDraftReleasePreview.d.ts +2 -2
- package/dist/generated/api/models/CatalogDraftReleasePreview.js +2 -2
- package/dist/generated/api/models/CatalogDto.d.ts +2 -2
- package/dist/generated/api/models/CatalogDto.js +2 -2
- package/dist/generated/api/models/CatalogLevelChangeDto.d.ts +2 -2
- package/dist/generated/api/models/CatalogLevelChangeDto.js +2 -2
- package/dist/generated/api/models/CatalogListResponse.d.ts +2 -2
- package/dist/generated/api/models/CatalogListResponse.js +2 -2
- package/dist/generated/api/models/CatalogMergeBaseRef.d.ts +2 -2
- package/dist/generated/api/models/CatalogMergeBaseRef.js +2 -2
- package/dist/generated/api/models/CatalogMergeOutcome.d.ts +2 -2
- package/dist/generated/api/models/CatalogMergeOutcome.js +2 -2
- package/dist/generated/api/models/CatalogMergeSide.d.ts +2 -2
- package/dist/generated/api/models/CatalogMergeSide.js +2 -2
- package/dist/generated/api/models/CatalogPresetDto.d.ts +2 -2
- package/dist/generated/api/models/CatalogPresetDto.js +2 -2
- package/dist/generated/api/models/CatalogReadOnlyProblemDetail.d.ts +2 -2
- package/dist/generated/api/models/CatalogReadOnlyProblemDetail.js +2 -2
- package/dist/generated/api/models/CatalogReadOnlyReason.d.ts +2 -2
- package/dist/generated/api/models/CatalogReadOnlyReason.js +2 -2
- package/dist/generated/api/models/CatalogRefDto.d.ts +2 -2
- package/dist/generated/api/models/CatalogRefDto.js +2 -2
- package/dist/generated/api/models/CatalogReleaseDto.d.ts +2 -2
- package/dist/generated/api/models/CatalogReleaseDto.js +2 -2
- package/dist/generated/api/models/CatalogReleaseListResponse.d.ts +2 -2
- package/dist/generated/api/models/CatalogReleaseListResponse.js +2 -2
- package/dist/generated/api/models/CatalogReleaseRefDto.d.ts +2 -2
- package/dist/generated/api/models/CatalogReleaseRefDto.js +2 -2
- package/dist/generated/api/models/CatalogReleaseStatus.d.ts +2 -2
- package/dist/generated/api/models/CatalogReleaseStatus.js +2 -2
- package/dist/generated/api/models/CatalogRenderingDefaultsTooNewProblemDetail.d.ts +2 -2
- package/dist/generated/api/models/CatalogRenderingDefaultsTooNewProblemDetail.js +2 -2
- package/dist/generated/api/models/CatalogTemplateDto.d.ts +2 -2
- package/dist/generated/api/models/CatalogTemplateDto.js +2 -2
- package/dist/generated/api/models/CatalogTemplateListResponse.d.ts +2 -2
- package/dist/generated/api/models/CatalogTemplateListResponse.js +2 -2
- package/dist/generated/api/models/CatalogTemplateRelease.d.ts +2 -2
- package/dist/generated/api/models/CatalogTemplateRelease.js +2 -2
- package/dist/generated/api/models/CatalogThemeReference.d.ts +2 -2
- package/dist/generated/api/models/CatalogThemeReference.js +2 -2
- package/dist/generated/api/models/CatalogVersionBehindProblemDetail.d.ts +2 -2
- package/dist/generated/api/models/CatalogVersionBehindProblemDetail.js +2 -2
- package/dist/generated/api/models/CodeListAuthType.d.ts +2 -2
- package/dist/generated/api/models/CodeListAuthType.js +2 -2
- package/dist/generated/api/models/CodeListBindingRef.d.ts +2 -2
- package/dist/generated/api/models/CodeListBindingRef.js +2 -2
- package/dist/generated/api/models/CodeListDto.d.ts +2 -2
- package/dist/generated/api/models/CodeListDto.js +2 -2
- package/dist/generated/api/models/CodeListEntriesResponse.d.ts +2 -2
- package/dist/generated/api/models/CodeListEntriesResponse.js +2 -2
- package/dist/generated/api/models/CodeListEntryDto.d.ts +2 -2
- package/dist/generated/api/models/CodeListEntryDto.js +2 -2
- package/dist/generated/api/models/CodeListListResponse.d.ts +2 -2
- package/dist/generated/api/models/CodeListListResponse.js +2 -2
- package/dist/generated/api/models/CodeListSourceType.d.ts +2 -2
- package/dist/generated/api/models/CodeListSourceType.js +2 -2
- package/dist/generated/api/models/CollectMeta.d.ts +2 -2
- package/dist/generated/api/models/CollectMeta.js +2 -2
- package/dist/generated/api/models/CollectRequest.d.ts +2 -2
- package/dist/generated/api/models/CollectRequest.js +2 -2
- package/dist/generated/api/models/ConsumerDto.d.ts +2 -2
- package/dist/generated/api/models/ConsumerDto.js +2 -2
- package/dist/generated/api/models/ConsumerListResponse.d.ts +2 -2
- package/dist/generated/api/models/ConsumerListResponse.js +2 -2
- package/dist/generated/api/models/ConsumerNodeDto.d.ts +2 -2
- package/dist/generated/api/models/ConsumerNodeDto.js +2 -2
- package/dist/generated/api/models/ConsumerPermissions.d.ts +2 -2
- package/dist/generated/api/models/ConsumerPermissions.js +2 -2
- package/dist/generated/api/models/CreateAttributeRequest.d.ts +2 -2
- package/dist/generated/api/models/CreateAttributeRequest.js +2 -2
- package/dist/generated/api/models/CreateCatalogReleaseRequest.d.ts +2 -2
- package/dist/generated/api/models/CreateCatalogReleaseRequest.js +2 -2
- package/dist/generated/api/models/CreateCodeListRequest.d.ts +2 -2
- package/dist/generated/api/models/CreateCodeListRequest.js +2 -2
- package/dist/generated/api/models/CreateEnvironmentRequest.d.ts +2 -2
- package/dist/generated/api/models/CreateEnvironmentRequest.js +2 -2
- package/dist/generated/api/models/CreateQualityProfileRequest.d.ts +2 -2
- package/dist/generated/api/models/CreateQualityProfileRequest.js +2 -2
- package/dist/generated/api/models/CreateStencilRequest.d.ts +2 -2
- package/dist/generated/api/models/CreateStencilRequest.js +2 -2
- package/dist/generated/api/models/CreateTemplateRequest.d.ts +2 -2
- package/dist/generated/api/models/CreateTemplateRequest.js +2 -2
- package/dist/generated/api/models/CreateTenantRequest.d.ts +2 -2
- package/dist/generated/api/models/CreateTenantRequest.js +2 -2
- package/dist/generated/api/models/CreateThemeRequest.d.ts +2 -2
- package/dist/generated/api/models/CreateThemeRequest.js +2 -2
- package/dist/generated/api/models/CreateVariantRequest.d.ts +2 -2
- package/dist/generated/api/models/CreateVariantRequest.js +2 -2
- package/dist/generated/api/models/DataExampleDto.d.ts +2 -2
- package/dist/generated/api/models/DataExampleDto.js +2 -2
- package/dist/generated/api/models/DataModelValidationError.d.ts +2 -2
- package/dist/generated/api/models/DataModelValidationError.js +2 -2
- package/dist/generated/api/models/DataModelValidationProblemDetail.d.ts +2 -2
- package/dist/generated/api/models/DataModelValidationProblemDetail.js +2 -2
- package/dist/generated/api/models/DeploymentDto.d.ts +2 -2
- package/dist/generated/api/models/DeploymentDto.js +2 -2
- package/dist/generated/api/models/DeploymentEventDto.d.ts +2 -2
- package/dist/generated/api/models/DeploymentEventDto.js +2 -2
- package/dist/generated/api/models/DeploymentHistoryResponse.d.ts +2 -2
- package/dist/generated/api/models/DeploymentHistoryResponse.js +2 -2
- package/dist/generated/api/models/DeploymentListResponse.d.ts +2 -2
- package/dist/generated/api/models/DeploymentListResponse.js +2 -2
- package/dist/generated/api/models/DocumentDto.d.ts +2 -2
- package/dist/generated/api/models/DocumentDto.js +2 -2
- package/dist/generated/api/models/DocumentGenerationItemDto.d.ts +23 -2
- package/dist/generated/api/models/DocumentGenerationItemDto.d.ts.map +1 -1
- package/dist/generated/api/models/DocumentGenerationItemDto.js +9 -2
- package/dist/generated/api/models/DocumentGenerationItemDto.js.map +1 -1
- package/dist/generated/api/models/DocumentGenerationJobDto.d.ts +15 -2
- package/dist/generated/api/models/DocumentGenerationJobDto.d.ts.map +1 -1
- package/dist/generated/api/models/DocumentGenerationJobDto.js +8 -2
- package/dist/generated/api/models/DocumentGenerationJobDto.js.map +1 -1
- package/dist/generated/api/models/DocumentListResponse.d.ts +2 -2
- package/dist/generated/api/models/DocumentListResponse.js +2 -2
- package/dist/generated/api/models/EnvironmentDto.d.ts +2 -2
- package/dist/generated/api/models/EnvironmentDto.js +2 -2
- package/dist/generated/api/models/EnvironmentListResponse.d.ts +2 -2
- package/dist/generated/api/models/EnvironmentListResponse.js +2 -2
- package/dist/generated/api/models/FontDto.d.ts +2 -2
- package/dist/generated/api/models/FontDto.js +2 -2
- package/dist/generated/api/models/FontListResponse.d.ts +2 -2
- package/dist/generated/api/models/FontListResponse.js +2 -2
- package/dist/generated/api/models/FontVariantDto.d.ts +2 -2
- package/dist/generated/api/models/FontVariantDto.js +2 -2
- package/dist/generated/api/models/ForbiddenProblemDetail.d.ts +2 -2
- package/dist/generated/api/models/ForbiddenProblemDetail.js +2 -2
- package/dist/generated/api/models/GenerateBatchRequest.d.ts +2 -2
- package/dist/generated/api/models/GenerateBatchRequest.js +2 -2
- package/dist/generated/api/models/GenerateDocumentRequest.d.ts +18 -3
- package/dist/generated/api/models/GenerateDocumentRequest.d.ts.map +1 -1
- package/dist/generated/api/models/GenerateDocumentRequest.js +5 -2
- package/dist/generated/api/models/GenerateDocumentRequest.js.map +1 -1
- package/dist/generated/api/models/GenerationCancelReason.d.ts +29 -0
- package/dist/generated/api/models/GenerationCancelReason.d.ts.map +1 -0
- package/dist/generated/api/models/GenerationCancelReason.js +47 -0
- package/dist/generated/api/models/GenerationCancelReason.js.map +1 -0
- package/dist/generated/api/models/GenerationItemStatus.d.ts +5 -3
- package/dist/generated/api/models/GenerationItemStatus.d.ts.map +1 -1
- package/dist/generated/api/models/GenerationItemStatus.js +5 -3
- package/dist/generated/api/models/GenerationItemStatus.js.map +1 -1
- package/dist/generated/api/models/GenerationJobItemListResponse.d.ts +2 -2
- package/dist/generated/api/models/GenerationJobItemListResponse.js +2 -2
- package/dist/generated/api/models/GenerationJobListResponse.d.ts +2 -2
- package/dist/generated/api/models/GenerationJobListResponse.js +2 -2
- package/dist/generated/api/models/GenerationJobResponse.d.ts +15 -2
- package/dist/generated/api/models/GenerationJobResponse.d.ts.map +1 -1
- package/dist/generated/api/models/GenerationJobResponse.js +8 -2
- package/dist/generated/api/models/GenerationJobResponse.js.map +1 -1
- package/dist/generated/api/models/GenerationJobStatus.d.ts +5 -3
- package/dist/generated/api/models/GenerationJobStatus.d.ts.map +1 -1
- package/dist/generated/api/models/GenerationJobStatus.js +5 -3
- package/dist/generated/api/models/GenerationJobStatus.js.map +1 -1
- package/dist/generated/api/models/GenerationJobType.d.ts +2 -2
- package/dist/generated/api/models/GenerationJobType.js +2 -2
- package/dist/generated/api/models/GenerationResult.d.ts +29 -7
- package/dist/generated/api/models/GenerationResult.d.ts.map +1 -1
- package/dist/generated/api/models/GenerationResult.js +10 -2
- package/dist/generated/api/models/GenerationResult.js.map +1 -1
- package/dist/generated/api/models/ImageDto.d.ts +2 -2
- package/dist/generated/api/models/ImageDto.js +2 -2
- package/dist/generated/api/models/ImageListResponse.d.ts +2 -2
- package/dist/generated/api/models/ImageListResponse.js +2 -2
- package/dist/generated/api/models/ImportCatalogResponse.d.ts +2 -2
- package/dist/generated/api/models/ImportCatalogResponse.js +2 -2
- package/dist/generated/api/models/InstallCatalogReleaseResponse.d.ts +2 -2
- package/dist/generated/api/models/InstallCatalogReleaseResponse.js +2 -2
- package/dist/generated/api/models/InteractiveGenerationDto.d.ts +55 -0
- package/dist/generated/api/models/InteractiveGenerationDto.d.ts.map +1 -0
- package/dist/generated/api/models/InteractiveGenerationDto.js +55 -0
- package/dist/generated/api/models/InteractiveGenerationDto.js.map +1 -0
- package/dist/generated/api/models/InteractiveGenerationLink.d.ts +35 -0
- package/dist/generated/api/models/InteractiveGenerationLink.d.ts.map +1 -0
- package/dist/generated/api/models/InteractiveGenerationLink.js +49 -0
- package/dist/generated/api/models/InteractiveGenerationLink.js.map +1 -0
- package/dist/generated/api/models/InteractiveGenerationRequest.d.ts +75 -0
- package/dist/generated/api/models/InteractiveGenerationRequest.d.ts.map +1 -0
- package/dist/generated/api/models/InteractiveGenerationRequest.js +59 -0
- package/dist/generated/api/models/InteractiveGenerationRequest.js.map +1 -0
- package/dist/generated/api/models/InteractiveGenerationTrigger.d.ts +29 -0
- package/dist/generated/api/models/InteractiveGenerationTrigger.d.ts.map +1 -0
- package/dist/generated/api/models/InteractiveGenerationTrigger.js +47 -0
- package/dist/generated/api/models/InteractiveGenerationTrigger.js.map +1 -0
- package/dist/generated/api/models/InvalidDataField.d.ts +2 -2
- package/dist/generated/api/models/InvalidDataField.js +2 -2
- package/dist/generated/api/models/Margins.d.ts +2 -2
- package/dist/generated/api/models/Margins.js +2 -2
- package/dist/generated/api/models/MarkStencilReadyResponse.d.ts +2 -2
- package/dist/generated/api/models/MarkStencilReadyResponse.js +2 -2
- package/dist/generated/api/models/MergeBaseMissingProblemDetail.d.ts +2 -2
- package/dist/generated/api/models/MergeBaseMissingProblemDetail.js +2 -2
- package/dist/generated/api/models/MergeConflictsUnresolvedProblemDetail.d.ts +2 -2
- package/dist/generated/api/models/MergeConflictsUnresolvedProblemDetail.js +2 -2
- package/dist/generated/api/models/MergeIntoCatalogDraftRequest.d.ts +2 -2
- package/dist/generated/api/models/MergeIntoCatalogDraftRequest.js +2 -2
- package/dist/generated/api/models/MergeIntoCatalogDraftResponse.d.ts +2 -2
- package/dist/generated/api/models/MergeIntoCatalogDraftResponse.js +2 -2
- package/dist/generated/api/models/MissingDataField.d.ts +2 -2
- package/dist/generated/api/models/MissingDataField.js +2 -2
- package/dist/generated/api/models/MissingReleaseDependency.d.ts +2 -2
- package/dist/generated/api/models/MissingReleaseDependency.js +2 -2
- package/dist/generated/api/models/MissingReleaseDependencyReason.d.ts +2 -2
- package/dist/generated/api/models/MissingReleaseDependencyReason.js +2 -2
- package/dist/generated/api/models/MissingResource.d.ts +2 -2
- package/dist/generated/api/models/MissingResource.js +2 -2
- package/dist/generated/api/models/Node.d.ts +2 -2
- package/dist/generated/api/models/Node.js +2 -2
- package/dist/generated/api/models/NotFoundProblemDetail.d.ts +2 -2
- package/dist/generated/api/models/NotFoundProblemDetail.js +2 -2
- package/dist/generated/api/models/Orientation.d.ts +2 -2
- package/dist/generated/api/models/Orientation.js +2 -2
- package/dist/generated/api/models/PageFormat.d.ts +2 -2
- package/dist/generated/api/models/PageFormat.js +2 -2
- package/dist/generated/api/models/PageMeta.d.ts +2 -2
- package/dist/generated/api/models/PageMeta.js +2 -2
- package/dist/generated/api/models/PageSettings.d.ts +2 -2
- package/dist/generated/api/models/PageSettings.js +2 -2
- package/dist/generated/api/models/PartitionAssignment.d.ts +2 -2
- package/dist/generated/api/models/PartitionAssignment.js +2 -2
- package/dist/generated/api/models/PingRequest.d.ts +2 -2
- package/dist/generated/api/models/PingRequest.js +2 -2
- package/dist/generated/api/models/PongDetailsDto.d.ts +2 -2
- package/dist/generated/api/models/PongDetailsDto.js +2 -2
- package/dist/generated/api/models/PongResponse.d.ts +2 -2
- package/dist/generated/api/models/PongResponse.js +2 -2
- package/dist/generated/api/models/PreviewDocumentRequest.d.ts +2 -2
- package/dist/generated/api/models/PreviewDocumentRequest.js +2 -2
- package/dist/generated/api/models/ProblemDetail.d.ts +2 -2
- package/dist/generated/api/models/ProblemDetail.js +2 -2
- package/dist/generated/api/models/PublishReleaseToRegistryRequest.d.ts +2 -2
- package/dist/generated/api/models/PublishReleaseToRegistryRequest.js +2 -2
- package/dist/generated/api/models/QualityBinding.d.ts +2 -2
- package/dist/generated/api/models/QualityBinding.js +2 -2
- package/dist/generated/api/models/QualityProfileDto.d.ts +2 -2
- package/dist/generated/api/models/QualityProfileDto.js +2 -2
- package/dist/generated/api/models/QualityProfileListResponse.d.ts +2 -2
- package/dist/generated/api/models/QualityProfileListResponse.js +2 -2
- package/dist/generated/api/models/QualityProfileRef.d.ts +2 -2
- package/dist/generated/api/models/QualityProfileRef.js +2 -2
- package/dist/generated/api/models/QualityRule.d.ts +2 -2
- package/dist/generated/api/models/QualityRule.js +2 -2
- package/dist/generated/api/models/QualityRuleExamples.d.ts +2 -2
- package/dist/generated/api/models/QualityRuleExamples.js +2 -2
- package/dist/generated/api/models/QualityRuleOverride.d.ts +2 -2
- package/dist/generated/api/models/QualityRuleOverride.js +2 -2
- package/dist/generated/api/models/QualityRuleScope.d.ts +2 -2
- package/dist/generated/api/models/QualityRuleScope.js +2 -2
- package/dist/generated/api/models/QualitySeverity.d.ts +2 -2
- package/dist/generated/api/models/QualitySeverity.js +2 -2
- package/dist/generated/api/models/RegisterConsumerRequest.d.ts +2 -2
- package/dist/generated/api/models/RegisterConsumerRequest.js +2 -2
- package/dist/generated/api/models/RegistryReleaseDto.d.ts +2 -2
- package/dist/generated/api/models/RegistryReleaseDto.js +2 -2
- package/dist/generated/api/models/RegistryReleaseListResponse.d.ts +2 -2
- package/dist/generated/api/models/RegistryReleaseListResponse.js +2 -2
- package/dist/generated/api/models/RejectConsumerRequest.d.ts +2 -2
- package/dist/generated/api/models/RejectConsumerRequest.js +2 -2
- package/dist/generated/api/models/ReleaseCatalogDraftRequest.d.ts +2 -2
- package/dist/generated/api/models/ReleaseCatalogDraftRequest.js +2 -2
- package/dist/generated/api/models/ReleaseCatalogDraftResponse.d.ts +2 -2
- package/dist/generated/api/models/ReleaseCatalogDraftResponse.js +2 -2
- package/dist/generated/api/models/ReleaseDependenciesMissingProblemDetail.d.ts +2 -2
- package/dist/generated/api/models/ReleaseDependenciesMissingProblemDetail.js +2 -2
- package/dist/generated/api/models/ReleaseDependenciesUnreleasedProblemDetail.d.ts +2 -2
- package/dist/generated/api/models/ReleaseDependenciesUnreleasedProblemDetail.js +2 -2
- package/dist/generated/api/models/ReleaseDependencyDto.d.ts +2 -2
- package/dist/generated/api/models/ReleaseDependencyDto.js +2 -2
- package/dist/generated/api/models/ReleaseInUseProblemDetail.d.ts +2 -2
- package/dist/generated/api/models/ReleaseInUseProblemDetail.js +2 -2
- package/dist/generated/api/models/ReleasePublicationDto.d.ts +2 -2
- package/dist/generated/api/models/ReleasePublicationDto.js +2 -2
- package/dist/generated/api/models/ReleasePublicationStatus.d.ts +2 -2
- package/dist/generated/api/models/ReleasePublicationStatus.js +2 -2
- package/dist/generated/api/models/ReleaseRegistryDto.d.ts +2 -2
- package/dist/generated/api/models/ReleaseRegistryDto.js +2 -2
- package/dist/generated/api/models/ReleaseRegistryKind.d.ts +2 -2
- package/dist/generated/api/models/ReleaseRegistryKind.js +2 -2
- package/dist/generated/api/models/ReleaseRegistryListResponse.d.ts +2 -2
- package/dist/generated/api/models/ReleaseRegistryListResponse.js +2 -2
- package/dist/generated/api/models/ReleasedChangeDto.d.ts +2 -2
- package/dist/generated/api/models/ReleasedChangeDto.js +2 -2
- package/dist/generated/api/models/ReleasedDependencyDto.d.ts +2 -2
- package/dist/generated/api/models/ReleasedDependencyDto.js +2 -2
- package/dist/generated/api/models/ResourceChangeDto.d.ts +2 -2
- package/dist/generated/api/models/ResourceChangeDto.js +2 -2
- package/dist/generated/api/models/ResourceStatus.d.ts +2 -2
- package/dist/generated/api/models/ResourceStatus.js +2 -2
- package/dist/generated/api/models/RotatePublicKeyRequest.d.ts +2 -2
- package/dist/generated/api/models/RotatePublicKeyRequest.js +2 -2
- package/dist/generated/api/models/SearchHit.d.ts +2 -2
- package/dist/generated/api/models/SearchHit.js +2 -2
- package/dist/generated/api/models/SearchHitCatalog.d.ts +2 -2
- package/dist/generated/api/models/SearchHitCatalog.js +2 -2
- package/dist/generated/api/models/SearchHitVariant.d.ts +2 -2
- package/dist/generated/api/models/SearchHitVariant.js +2 -2
- package/dist/generated/api/models/SearchKindCount.d.ts +2 -2
- package/dist/generated/api/models/SearchKindCount.js +2 -2
- package/dist/generated/api/models/SearchResults.d.ts +2 -2
- package/dist/generated/api/models/SearchResults.js +2 -2
- package/dist/generated/api/models/Slot.d.ts +2 -2
- package/dist/generated/api/models/Slot.js +2 -2
- package/dist/generated/api/models/StencilContentDto.d.ts +2 -2
- package/dist/generated/api/models/StencilContentDto.js +2 -2
- package/dist/generated/api/models/StencilDto.d.ts +2 -2
- package/dist/generated/api/models/StencilDto.js +2 -2
- package/dist/generated/api/models/StencilListResponse.d.ts +2 -2
- package/dist/generated/api/models/StencilListResponse.js +2 -2
- package/dist/generated/api/models/StencilSummaryDto.d.ts +2 -2
- package/dist/generated/api/models/StencilSummaryDto.js +2 -2
- package/dist/generated/api/models/StencilUsageDto.d.ts +2 -2
- package/dist/generated/api/models/StencilUsageDto.js +2 -2
- package/dist/generated/api/models/StencilUsageListResponse.d.ts +2 -2
- package/dist/generated/api/models/StencilUsageListResponse.js +2 -2
- package/dist/generated/api/models/TemplateDataValidationError.d.ts +2 -2
- package/dist/generated/api/models/TemplateDataValidationError.js +2 -2
- package/dist/generated/api/models/TemplateDataValidationProblemDetail.d.ts +2 -2
- package/dist/generated/api/models/TemplateDataValidationProblemDetail.js +2 -2
- package/dist/generated/api/models/TemplateDataValidationResult.d.ts +2 -2
- package/dist/generated/api/models/TemplateDataValidationResult.js +2 -2
- package/dist/generated/api/models/TemplateDocument.d.ts +2 -2
- package/dist/generated/api/models/TemplateDocument.js +2 -2
- package/dist/generated/api/models/TemplateDto.d.ts +2 -2
- package/dist/generated/api/models/TemplateDto.js +2 -2
- package/dist/generated/api/models/TemplateListResponse.d.ts +2 -2
- package/dist/generated/api/models/TemplateListResponse.js +2 -2
- package/dist/generated/api/models/TemplateSummaryDto.d.ts +2 -2
- package/dist/generated/api/models/TemplateSummaryDto.js +2 -2
- package/dist/generated/api/models/TenantDto.d.ts +2 -2
- package/dist/generated/api/models/TenantDto.js +2 -2
- package/dist/generated/api/models/TenantListResponse.d.ts +2 -2
- package/dist/generated/api/models/TenantListResponse.js +2 -2
- package/dist/generated/api/models/ThemeDto.d.ts +2 -2
- package/dist/generated/api/models/ThemeDto.js +2 -2
- package/dist/generated/api/models/ThemeListResponse.d.ts +2 -2
- package/dist/generated/api/models/ThemeListResponse.js +2 -2
- package/dist/generated/api/models/ThemeRef.d.ts +2 -2
- package/dist/generated/api/models/ThemeRef.js +2 -2
- package/dist/generated/api/models/UnreleasedCatalogDependency.d.ts +2 -2
- package/dist/generated/api/models/UnreleasedCatalogDependency.js +2 -2
- package/dist/generated/api/models/UpdateAttributeRequest.d.ts +2 -2
- package/dist/generated/api/models/UpdateAttributeRequest.js +2 -2
- package/dist/generated/api/models/UpdateCatalogDependenciesRequest.d.ts +2 -2
- package/dist/generated/api/models/UpdateCatalogDependenciesRequest.js +2 -2
- package/dist/generated/api/models/UpdateCatalogReleaseRequest.d.ts +2 -2
- package/dist/generated/api/models/UpdateCatalogReleaseRequest.js +2 -2
- package/dist/generated/api/models/UpdateCodeListEntryHiddenRequest.d.ts +2 -2
- package/dist/generated/api/models/UpdateCodeListEntryHiddenRequest.js +2 -2
- package/dist/generated/api/models/UpdateCodeListRequest.d.ts +2 -2
- package/dist/generated/api/models/UpdateCodeListRequest.js +2 -2
- package/dist/generated/api/models/UpdateConsumerRequest.d.ts +2 -2
- package/dist/generated/api/models/UpdateConsumerRequest.js +2 -2
- package/dist/generated/api/models/UpdateEnvironmentRequest.d.ts +2 -2
- package/dist/generated/api/models/UpdateEnvironmentRequest.js +2 -2
- package/dist/generated/api/models/UpdateQualityProfileRequest.d.ts +2 -2
- package/dist/generated/api/models/UpdateQualityProfileRequest.js +2 -2
- package/dist/generated/api/models/UpdateStencilContentRequest.d.ts +2 -2
- package/dist/generated/api/models/UpdateStencilContentRequest.js +2 -2
- package/dist/generated/api/models/UpdateStencilRequest.d.ts +2 -2
- package/dist/generated/api/models/UpdateStencilRequest.js +2 -2
- package/dist/generated/api/models/UpdateTemplateRequest.d.ts +2 -2
- package/dist/generated/api/models/UpdateTemplateRequest.js +2 -2
- package/dist/generated/api/models/UpdateTenantRequest.d.ts +2 -2
- package/dist/generated/api/models/UpdateTenantRequest.js +2 -2
- package/dist/generated/api/models/UpdateThemeRequest.d.ts +2 -2
- package/dist/generated/api/models/UpdateThemeRequest.js +2 -2
- package/dist/generated/api/models/UpdateVariantContentRequest.d.ts +2 -2
- package/dist/generated/api/models/UpdateVariantContentRequest.js +2 -2
- package/dist/generated/api/models/UpdateVariantRequest.d.ts +2 -2
- package/dist/generated/api/models/UpdateVariantRequest.js +2 -2
- package/dist/generated/api/models/ValidateTemplateDataRequest.d.ts +2 -2
- package/dist/generated/api/models/ValidateTemplateDataRequest.js +2 -2
- package/dist/generated/api/models/ValidationError.d.ts +2 -2
- package/dist/generated/api/models/ValidationError.js +2 -2
- package/dist/generated/api/models/ValidationProblemDetail.d.ts +2 -2
- package/dist/generated/api/models/ValidationProblemDetail.js +2 -2
- package/dist/generated/api/models/VariantContentDto.d.ts +2 -2
- package/dist/generated/api/models/VariantContentDto.js +2 -2
- package/dist/generated/api/models/VariantDto.d.ts +2 -2
- package/dist/generated/api/models/VariantDto.js +2 -2
- package/dist/generated/api/models/VariantListResponse.d.ts +2 -2
- package/dist/generated/api/models/VariantListResponse.js +2 -2
- package/dist/generated/api/models/VariantSelectionAttribute.d.ts +2 -2
- package/dist/generated/api/models/VariantSelectionAttribute.js +2 -2
- package/dist/generated/api/models/VariantSummaryDto.d.ts +2 -2
- package/dist/generated/api/models/VariantSummaryDto.js +2 -2
- package/dist/generated/api/models/index.d.ts +5 -0
- package/dist/generated/api/models/index.d.ts.map +1 -1
- package/dist/generated/api/models/index.js +5 -0
- package/dist/generated/api/models/index.js.map +1 -1
- package/dist/generated/api/runtime.d.ts +2 -2
- package/dist/generated/api/runtime.js +2 -2
- package/dist/generated/contractVersion.d.ts +1 -1
- package/dist/generated/contractVersion.js +1 -1
- package/dist/generated/knownValidationCodes.d.ts +2 -0
- package/dist/generated/knownValidationCodes.d.ts.map +1 -1
- package/dist/generated/knownValidationCodes.js +2 -0
- package/dist/generated/knownValidationCodes.js.map +1 -1
- package/dist/generated/modelValidation.d.ts +8 -2
- package/dist/generated/modelValidation.d.ts.map +1 -1
- package/dist/generated/modelValidation.js +29 -0
- package/dist/generated/modelValidation.js.map +1 -1
- package/package.json +1 -1
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* Epistola API
|
|
5
|
-
* Epistola generates documents, PDFs, from templates. Authors design the templates; applications send data and get documents back. This API manages templates and the catalogs that hold them, and generates documents from them, asynchronously and at volume. ## Glossary - **Tenant**: an organisation, isolated from every other. Everything else lives in one, under `/tenants/{tenantKey}`. - **Catalog**: a set of templates and everything they use, released as a whole. A catalog is named by three parts together: a **registry**, the DNS name of where it is published (`exchange.epistola.app`, or a domain that publishes its own, `acme.com`); a **namespace**, its publisher within that registry (`acme-corp`); and its key (`letters`). In a path, `~` stands for the server\'s default registry. The registry `local` names catalogs that never leave the organisation: valid within its own installations, refused by an Exchange. - **Release**: the catalog as a whole at one point, in one of two statuses. A **draft release**, or **draft**, is editable and has no version; a **released** release is immutable and has a version. \"Release `1.4.0`\" means the released one. - **Version**: the number of a released release, its `version` (`1.4.0`), a SemVer core version, or a patch release number (`1.3.1-gemeente-x.1`, see \"Versions and version ranges\"). A **version range**, `versionRange` (`^1.4.0`), selects the highest release that satisfies it, for a request that renders; it never matches a draft. - **Content hash**: what identifies a released release, its `contentHash` (`v6:…`), a hash of its content alone, not of its name or number: two releases with one content hash are the same release, whatever they are called. Names and numbers point at content hashes. - **Releasing**: turning a draft into a released release, as a version. A release keeps its id, its `releaseId`, assigned by the server, and its name when it is released, so a draft released as `1.4.1` is the same release, addressed by its `releaseId` or by `1.4.1`. - **Publishing**: making a catalog available in a registry, for other tenants and installations to install from. Only released releases are ever published; releasing is not publishing. - **Base**: the release a draft started from; its changes are measured against it. A draft is **behind** a release whose changes it may lack (see \"Releases\"). A changed resource is **ready** once someone marks it reviewed; a draft is released only when it changed something and all its changes are (`getCatalogChanges`). - **Editable** catalogs: every catalog has releases and drafts, wherever its releases come from (its **source**: an exchange, a registry, a file, or the server itself). Whether a catalog can be changed depends on the installation, which may only receive and run releases, and on whether the server supplies the catalog itself (`CatalogDto.editable`, `readOnlyReason`). - **Environment**: where documents are generated for a purpose, such as `staging` or `production`. A **deployment** makes an environment serve a release of a catalog; a request through the environment renders what it serves. - **Template**: one kind of document, with its data contract (the JSON Schema its data must meet) and data examples. A **variant** is one rendering of a template, for a language or a brand, chosen by its key or by **attributes** (such as `locale`); an attribute\'s values may come from a **code list** of `{code, label}` entries. A **stencil** is reusable template content, a **theme** a reusable set of styles, and a **preset** a named block style a catalog declares and its themes style. - **Consumer** (experimental): an application registered in a tenant, with its own permissions. ## Getting started 1. **Get an API key** from a tenant manager. A key belongs to one tenant and carries the roles it was issued with: `CONTENT_VIEWER` to find templates, and `DOCUMENT_GENERATOR` to generate and to read jobs and documents (`DOCUMENT_READER` reads them without generating). 2. **Send these headers** on every request (the client libraries set all but the key): ``` Authorization: ApiKey <key> Accept: application/vnd.epistola.v2+json Content-Type: application/vnd.epistola.v2+json (with a request body) User-Agent: epistola-contract/2.0.0 your-app/1.0 X-EP-Node-Id: <this host or pod> ``` 3. **Find your template.** `GET /tenants/{tenantKey}/catalogs` lists the catalogs, each with its `registry`, `namespace`, `catalogKey` and `highestVersion`. `GET /tenants/{tenantKey}/catalogs/{registry}/{namespace}/{catalogKey}/releases/{release}/templates`, with that version as `{release}`, lists that release\'s templates, and `getTemplate` shows a template\'s data contract. 4. **Generate.** `POST /tenants/{tenantKey}/documents/generate` with the template and its data: ```json {\"namespace\": \"acme-corp\", \"catalogKey\": \"letters\", \"templateKey\": \"invoice\", \"variantKey\": \"english\", \"data\": {\"customer\": {\"name\": \"Jane Smith\"}}} ``` It answers `202` with a `requestId` and, in `Location`, the job\'s address. Without a `versionRange` or an `environmentKey`, the catalog\'s highest release renders. 5. **Poll the job**, `GET /tenants/{tenantKey}/documents/jobs/{requestId}`, until its `status` is `completed` (or `failed` or `cancelled`). Its items, `GET /tenants/{tenantKey}/documents/jobs/{requestId}/items`, each name their `documentId`. 6. **Download** the PDF: `GET /tenants/{tenantKey}/documents/{documentId}/content`. `validateTemplateData` checks data against a template\'s contract before you submit it, and `previewDocument` renders one document synchronously, for previews only. For high volume, poll no jobs: collect finished results as a stream instead (`collectGenerationResults`), each delivered to the node that asked for it and acknowledged when handled. That is the advanced path; the client libraries\' result collectors implement it. ## Template model A variant\'s content (`getVariantContent`, `updateVariantContent`) and a stencil\'s are a template document: a flat graph of nodes and slots, linked by id. A node is one block, of a component type such as `text`, `table` or `conditional`; a slot is a named place in a node that holds child nodes, such as a table\'s `cell-0-1` or a conditional\'s `body` and `else`. The catalog contract\'s [component registry](https://github.com/epistola-app/epistola-contract/blob/main/contracts/catalog/registry/component-registry.json) and [style registry](https://github.com/epistola-app/epistola-contract/blob/main/contracts/catalog/registry/style-registry.json) define every component and style, with examples, and the [template model guide](https://github.com/epistola-app/epistola-contract/blob/main/contracts/api/docs/template-model.md) walks through a complete letter: the example `updateVariantContent` shows. ## Media types The media type carries the API\'s major version. Contract 2.x uses `application/vnd.epistola.v2+json`, and `application/vnd.epistola.v2+ndjson` for the result stream, in `Accept` and in `Content-Type`. Problems are `application/problem+json`. ## Client identity Every request identifies the client with two headers: - **`User-Agent`** (required): [RFC 9110](https://www.rfc-editor.org/rfc/rfc9110#name-user-agent) product tokens, the first of which **must** be `epistola-contract/{version}`, the contract version the client was built against. Further tokens describe the rest of the stack: `epistola-contract/x.y.z valtimo-epistola-plugin/1.2.0 gzac/5.0.0`. - **`X-EP-Node-Id`** (required): the client node, such as its Kubernetes pod name, container id or hostname. The client libraries set both, the contract version and the hostname; an application can append its own product tokens and override the node id. ## Releases A catalog consists of releases, addressed as `/catalogs/{registry}/{namespace}/{catalogKey}/releases/{release}`, with the catalog\'s resources below each. A draft is addressed by its `releaseId`; a released release by its `releaseId` or its version, which address the same release. Every write to a released release is refused with 409. - A catalog that can be changed has **any number of drafts**, each named, each started from a released release (its base) or from another draft (`createCatalogRelease`). The base never moves. `listCatalogReleases` lists a catalog\'s releases, drafts included, each with its `status` (`?status=draft` for the drafts only) and, once released, its `contentHash` (`?contentHash=` for the releases with that content); a catalog (`CatalogDto`) does not list them. - **Any draft can be released.** Its version follows from the kind of change against its base: fixes raise the patch, additions the minor, anything that breaks callers the major (`previewCatalogDraftRelease`). The author may choose a higher version, never a lower one or one another release has. A fix to an older line is a draft from a release of that line: from `1.4.0`, while `1.5.0` and `2.0.0` exist, it is released as `1.4.1`. - **Drafts are independent copies**: releasing one changes no other. A draft is **behind** each release whose version is between its base and the version it would get, and each release released after it was started whose version is below that one; it lacks their changes unless an author applied them by hand. `getCatalogRelease` lists them, and releasing a draft that is behind must acknowledge them. - **Merging a release into a draft** (alpha, `x-experimental`): `previewCatalogDraftMerge` shows, per resource, per catalog setting (default theme and presets, entries of type `catalog`) and per catalog used (entries of type `catalogDependency`), each with the entries it goes with (`needs`), against the merge base (the closest release both descend from), what only the draft changed (`ours`), what only the release changed (`theirs`) and what both changed differently (`conflict`); `mergeIntoCatalogDraft` takes theirs and applies a resolution, `ours` or `theirs`, per conflict. The draft then contains the release and is no longer behind it; its base does not move. The preview\'s `token`, sent back as `expectedToken`, makes the merge apply what the preview showed or nothing (`merge-preview-outdated`). A conflict can also be resolved to content combined from its sides (`getCatalogDraftMergeSides`, then `mergedContent`), reviewed before the draft is released. The merge needs the merge base installed; the preview names one that is not (`missingBase`), and the merge is refused with `merge-base-missing`. - **Release registries** (alpha, `x-experimental`, ADR 0008) move releases between installations: an Epistola Exchange the installation is connected to, or a container registry it is configured with (`listReleaseRegistries`). A released release is published to one (`publishReleaseToRegistry`), and another installation lists the releases of a catalog there (`listRegistryReleases`) and installs one (`installRegistryRelease`) as an import does. A release registry is named by the installation; it is not the `{registry}` of a catalog\'s name. - **Quality profiles** (alpha, `x-experimental`, contract ADR 0010) record how an organisation writes: rules with a plain-language intent, a severity and extras per kind of checking system (`listQualityProfiles` and the rest of the group). A release binds the profiles every template in it is checked against, and a template adds its own (`quality` on `CatalogReleaseDto` and `TemplateDto`). Documents are rendered from releases, and a version range never matches a draft. A draft renders only in a preview that names its `releaseId`, and in an environment it is deployed to. Importing a catalog archive (`importCatalog`) installs the release the archive carries, at its version, beside the releases the tenant already has; it never creates or changes a draft. A catalog with a source (`CatalogDto.source`) installs releases from it the same way (`installCatalogRelease`), and `listAvailableCatalogReleases` lists those the tenant does not have yet, older lines included. Nothing is updated in place or removed: deploying decides what an environment serves. A release keeps its id and number wherever it moves, so it is the same release in every installation. There are no catalog types: receiving releases works whether or not the catalog can be changed, and every write to one that cannot is refused with 409 `catalog-read-only`. ## Deploying An environment serves releases of catalogs (`deployCatalogRelease`): released ones, several of one catalog if need be, and at most one draft per catalog, rendered live. A request through the environment (`environmentKey`) renders: - with **no `versionRange`**: the catalog\'s deployed draft if there is one, else the highest release the environment serves; - with a **range or an exact version**: the highest served release that satisfies it. A draft never matches: it has no version. Rollback is undeploying the newer release. Deploying a draft replaces the draft the environment served for that catalog, and an environment marked **production** (`EnvironmentDto.production`) serves no draft. A document rendered from a draft carries the draft\'s `releaseId` and its name at render time (`releaseName`), with a null `version`, and its PDF a preview watermark. Releasing a deployed draft keeps its `releaseId`, so the environment then serves it as released; discarding the draft ends the deployment. ## Versions and version ranges A version (`ReleaseVersion`) is a SemVer core version, `MAJOR.MINOR.PATCH` without leading zeros, as the holder of the catalog\'s namespace issues it, or a **patch release** number, `MAJOR.MINOR.PATCH-<namespace>.<N>`, at most 128 characters. Wherever the contract names one exact version it has that form, and is called `version`; every member called `version` is one. A patch release is how someone who does not hold a catalog\'s namespace fixes a release of it (a municipality fixing a supplier\'s catalog): it is labelled with a namespace they hold, and numbered from 1, `1.3.1-gemeente-x.1`. As a SemVer pre-release it sorts below its core and above every release below that, `1.3.0` < `1.3.1-gemeente-x.1` < `1.3.1`, so the holder\'s next release supersedes it, and the two never collide: the holder never uses a label, the patcher never issues a plain number (contract ADR 0003). Which namespaces a tenant holds is the installation\'s to know; the contract checks the shape. \"Highest\" always means by this order, a patch release included. A request that selects a release to render or check (generation, preview, validation) takes a version range, `versionRange`, in the npm SemVer range grammar: an exact version (`1.4.0`), a caret (`^1.4.0`), a tilde (`~1.4.0`), comparators (`>=1.0.0 <2.0.0`), a hyphen range (`1.0.0 - 2.0.0`), or a `||` union of these. The highest release that satisfies it renders, and responses name the exact release used. A range is at most 256 characters, so an exact release number (at most 128) always fits, and a comparator pair of patch release numbers usually does. A range matches a patch release as npm matches a pre-release: only when one of its comparators names a pre-release of the same `MAJOR.MINOR.PATCH`, such as the exact number (`1.3.1-gemeente-x.1`) or `>=1.3.1-gemeente-x.1 <1.4.0`; `^1.3.0` never selects one. ## Catalog dependencies A catalog that uses another catalog\'s resources declares that catalog once, with the exact release of it that it renders with (`version`), never a range. References into the other catalog name the catalog but no version, so a release renders with exactly the releases its declarations pin. In a draft, a declaration may name a draft of the other catalog instead (`releaseId`), to build on work that is not released yet. A released release pins only released releases: releasing such a draft is refused (`release-dependencies-unreleased`) unless the request releases those drafts along with it (`releaseDependencies`), in one transaction. ## Catalog identity A catalog\'s key alone is not unique: two publishers can each publish `letters`. The registry and the namespace complete its name, and the same namespace in two registries is two namespaces. Which registry is a server\'s default is configuration; in a path, `/catalogs/~/acme-corp/letters/…` and `/catalogs/exchange.epistola.app/acme-corp/letters/…` address the same catalog when `exchange.epistola.app` is the default, and `~` may be sent percent-encoded as `%7E`. In a body, a catalog is named by separate `registry`, `namespace` and `catalogKey` members, and a reference into another catalog by an alias: 1. **A request that names a catalog** (a generation or preview target, a dependency declaration) may omit `registry`, or send null, for the default registry. (An import\'s `registry` defaults to the one the archive names.) 2. **A reference from one catalog\'s release to a resource of another** names that catalog by the **alias** the release\'s dependency declarations give it (`CatalogAlias`, in the member `catalogKey`), never by registry or namespace: a template model\'s `themeRef`, its stencil and image nodes, a `fontFamily` (catalog content, portable catalog wire v8, contract ADR 0003), and the references this API reads and writes beside it, a release\'s default theme (`CatalogThemeReference`), an attribute\'s code-list binding and an attribute criterion in variant selection (`VariantSelectionAttribute`, resolved through the release that renders). Omitted or null, or the catalog\'s own key, is the catalog itself. A declaration (`CatalogDependencyDto`, `listCatalogDependencies`) maps each alias to the catalog\'s full name and the release it pins; that is where a client finds the name. Because content names the alias, it means the same in every installation and under any name, and pinning another release changes no content. An alias is by default the catalog\'s key (`CatalogDependencyRequirement.alias`). Responses write every registry in full, by its name, never `~`, so a value read from one installation means the same catalog on another. Content documents are returned as stored. ## Concurrency Updates can be made conditional. Templates, variants, themes, stencils, code lists, attributes, releases, environments, tenants and consumers carry a revision, which reading or updating one returns as a strong `ETag` header: a quoted decimal integer such as `\"7\"`. Send it back as `If-Match` on an update: if the resource changed since you read it, the update is refused with 412 `resource-modified` and nothing changes; read it again, reapply your change and retry. Without `If-Match` an update applies unconditionally, and the last write wins. What a revision covers: - a template: its own properties, data contract and data examples; - a variant: its name, description, attributes and template model, so `getVariant` and `getVariantContent` return the same `ETag`, and `updateVariant` and `updateVariantContent` take either; - a release: its name, default theme, presets and dependency declarations, so `getCatalogRelease` and `listCatalogDependencies` return the same `ETag`, and `updateCatalogRelease` and `updateCatalogDependencies` take either; - a code list: its properties and entries, whether each is hidden included, so `updateCodeListEntryHidden` takes the code list\'s `ETag`; - an environment: its name and production mark, not what it serves. ## Authentication Credentials go in the `Authorization` header: - **API key**, `Authorization: ApiKey <key>`: the supported method. A tenant manager issues each key for one tenant, with a set of tenant roles. The scheme name is case-insensitive. - **Bearer JWT** (**experimental**), `Authorization: Bearer <jwt>`: issued by an OAuth 2.0 identity provider, or self-signed with a key pair registered through the Consumers API. The [authentication guide](https://github.com/epistola-app/epistola-contract/blob/main/contracts/api/docs/auth.md) has the details. ## Authorization Each operation names the permissions it requires (`x-required-permissions`), such as `TEMPLATE_VIEW`, `TEMPLATE_EDIT`, `DOCUMENT_GENERATE` and `CATALOG_MANAGE`. A caller has them through its tenant roles (`CONTENT_VIEWER`, `CONTENT_AUTHOR`, `DOCUMENT_GENERATOR`, `DOCUMENT_READER`, `CONTENT_PUBLISHER`, `TENANT_ADMINISTRATOR`), the roles stored on its API key. Managing tenants needs the platform role `TENANT_MANAGER`. A request member that needs a permission beyond its operation\'s says so in its description: changing a quality binding (`quality`, alpha) needs `QUALITY_EDIT` as well. ## Errors Errors are [RFC 9457](https://www.rfc-editor.org/rfc/rfc9457) problem details, with `Content-Type: application/problem+json`: - `type` (URI): what went wrong, the stable value to switch on. It is `https://epistola.app/errors/{slug}`, which documents the problem type; - `title`: a short summary; - `status`: the HTTP status code; - `detail` (optional): what happened this time; - `instance` (optional): this occurrence; - `help` (optional): the type\'s page with this request\'s context, such as the `operation` that answered, for hints that fit it. It names this contract\'s terms only, never a value: a `not-found` problem\'s may add the kind of resource that was missing, `https://epistola.app/errors/not-found?operation=generateDocument&missing=template`. A problem may add members of its own, such as the field-level `errors` of a `validation-error` or the `missing` of a `not-found`, which says which resource was not found and where it was looked for; ignore members you do not recognize. Read such members rather than `detail`, which is for a person (RFC 9457 §3.1.4). The problem types are listed, machine-readably, in this document\'s `x-problem-types` extension, and in the [error type registry](https://github.com/epistola-app/epistola-contract/blob/main/contracts/api/docs/error-types.md). A server answers only with the types registered there. A type names a problem a caller can act on differently; anything else is the generic type of its status, so a missing resource is `not-found` whichever resource it is, and a refused authorization `forbidden`. New types may be added in a minor version: handle a type you do not recognize by its `status`, as the generic type of that status, and keep a fallback when switching on them. Six statuses are not listed on each operation, because any operation may answer them: 405 `method-not-allowed`, 406 `not-acceptable`, 413 `content-too-large` and 415 `unsupported-media-type` (the last two where it takes a body), 500 `internal-error`, and 501 `operation-not-implemented`. `x-problem-types` marks them `anyOperation: true`. ## Compatibility within 2.x A minor version adds and never takes away, so a client built against an earlier 2.x keeps working against a later 2.x server. A minor version may add: - operations, and optional request members and query parameters; - **response members**: ignore a member you do not recognize; - **enum values in responses**: a status, kind or reason may gain a value. Treat one you do not recognize as unknown rather than failing, and keep a default branch when switching on an enum. The client libraries read it without failing: the Kotlin, Jakarta and .NET enums as their `unknown_default_open_api` member (`UNKNOWN_DEFAULT_OPEN_API` in Jakarta, `UnknownDefaultOpenApi` in .NET), the Python client as an unknown member that keeps the value, and the Node.js client as the string received; - problem types and validation codes (see \"Errors\"); - roles and permissions (`x-authorization`), and resources and levels of a consumer\'s permissions (`ConsumerPermissions`). An operation keeps requiring what it required: when a minor version moves an operation to a new permission, every role that granted the old one grants the new one; - a catalog wire version (`x-epistola-catalog-contract`). Every new component type and every new member of a template document (`TemplateDocument`, `Node`, `Slot`) raises it. An installation refuses an archive of a newer wire version as a whole (`CATALOG_SCHEMA_TOO_NEW`), rather than reading part of it. It never removes or renames a member or an enum value, makes an optional request member required, or narrows what a request may send. A server refuses a request enum value it does not know with 400, so never send `unknown_default_open_api`. Operations and members marked `x-experimental` are outside these rules. A minor version adds members and parameters only after the existing ones, so the positional arguments of the generated clients keep their meaning; a major version may reorder them. A new optional parameter or member still changes the generated method and constructor signatures: rebuild against the client library you ship with, which may then ask for code changes, rather than replace its binary. A client that reads a template document and writes it back (`getVariantContent` and `updateVariantContent`, and the same for stencils) sends only the members it knows, and the write replaces the document. Edit template documents with a client at least as new as the server\'s catalog wire version, or the members it does not know are lost. ## Experimental parts and server support Operations and members marked `x-experimental: true`, the consumer model (Bearer JWT and the Consumers API) among them, may still change. Epistola Suite, the server that implements this contract, may not implement them yet, nor every part of the rest: installing missing dependency releases when deploying, recording who requested a document, listing a stencil\'s usage in a released release, listing a catalog\'s templates across its releases (`listCatalogTemplates`), and a dependency alias other than the catalog\'s key among them. An operation a server does not implement yet answers 501 `operation-not-implemented`.
|
|
5
|
+
* Epistola generates documents, PDFs, from templates. Authors design the templates; applications send data and get documents back. This API manages templates and the catalogs that hold them, and generates documents from them, asynchronously and at volume. ## Glossary - **Tenant**: an organisation, isolated from every other. Everything else lives in one, under `/tenants/{tenantKey}`. - **Catalog**: a set of templates and everything they use, released as a whole. A catalog is named by three parts together: a **registry**, the DNS name of where it is published (`exchange.epistola.app`, or a domain that publishes its own, `acme.com`); a **namespace**, its publisher within that registry (`acme-corp`); and its key (`letters`). In a path, `~` stands for the server\'s default registry. The registry `local` names catalogs that never leave the organisation: valid within its own installations, refused by an Exchange. - **Release**: the catalog as a whole at one point, in one of two statuses. A **draft release**, or **draft**, is editable and has no version; a **released** release is immutable and has a version. \"Release `1.4.0`\" means the released one. - **Version**: the number of a released release, its `version` (`1.4.0`), a SemVer core version, or a patch release number (`1.3.1-gemeente-x.1`, see \"Versions and version ranges\"). A **version range**, `versionRange` (`^1.4.0`), selects the highest release that satisfies it, for a request that renders; it never matches a draft. - **Content hash**: what identifies a released release, its `contentHash` (`v6:…`), a hash of its content alone, not of its name or number: two releases with one content hash are the same release, whatever they are called. Names and numbers point at content hashes. - **Releasing**: turning a draft into a released release, as a version. A release keeps its id, its `releaseId`, assigned by the server, and its name when it is released, so a draft released as `1.4.1` is the same release, addressed by its `releaseId` or by `1.4.1`. - **Publishing**: making a catalog available in a registry, for other tenants and installations to install from. Only released releases are ever published; releasing is not publishing. - **Base**: the release a draft started from; its changes are measured against it. A draft is **behind** a release whose changes it may lack (see \"Releases\"). A changed resource is **ready** once someone marks it reviewed; a draft is released only when it changed something and all its changes are (`getCatalogChanges`). - **Editable** catalogs: every catalog has releases and drafts, wherever its releases come from (its **source**: an exchange, a registry, a file, or the server itself). Whether a catalog can be changed depends on the installation, which may only receive and run releases, and on whether the server supplies the catalog itself (`CatalogDto.editable`, `readOnlyReason`). - **Environment**: where documents are generated for a purpose, such as `staging` or `production`. A **deployment** makes an environment serve a release of a catalog; a request through the environment renders what it serves. - **Template**: one kind of document, with its data contract (the JSON Schema its data must meet) and data examples. A **variant** is one rendering of a template, for a language or a brand, chosen by its key or by **attributes** (such as `locale`); an attribute\'s values may come from a **code list** of `{code, label}` entries. A **stencil** is reusable template content, a **theme** a reusable set of styles, and a **preset** a named block style a catalog declares and its themes style. - **Consumer** (experimental): an application registered in a tenant, with its own permissions. ## Getting started 1. **Get an API key** from a tenant manager. A key belongs to one tenant and carries the roles it was issued with: `CONTENT_VIEWER` to find templates, and `DOCUMENT_GENERATOR` to generate and to read jobs and documents (`DOCUMENT_READER` reads them without generating). 2. **Send these headers** on every request (the client libraries set all but the key): ``` Authorization: ApiKey <key> Accept: application/vnd.epistola.v2+json Content-Type: application/vnd.epistola.v2+json (with a request body) User-Agent: epistola-contract/2.0.0 your-app/1.0 X-EP-Node-Id: <this host or pod> ``` 3. **Find your template.** `GET /tenants/{tenantKey}/catalogs` lists the catalogs, each with its `registry`, `namespace`, `catalogKey` and `highestVersion`. `GET /tenants/{tenantKey}/catalogs/{registry}/{namespace}/{catalogKey}/releases/{release}/templates`, with that version as `{release}`, lists that release\'s templates, and `getTemplate` shows a template\'s data contract. 4. **Generate.** `POST /tenants/{tenantKey}/documents/generate` with the template and its data: ```json {\"namespace\": \"acme-corp\", \"catalogKey\": \"letters\", \"templateKey\": \"invoice\", \"variantKey\": \"english\", \"data\": {\"customer\": {\"name\": \"Jane Smith\"}}} ``` It answers `202` with a `requestId` and, in `Location`, the job\'s address. Without a `versionRange` or an `environmentKey`, the catalog\'s highest release renders. 5. **Poll the job**, `GET /tenants/{tenantKey}/documents/jobs/{requestId}`, until its `status` is `completed` (or `failed` or `cancelled`). Its items, `GET /tenants/{tenantKey}/documents/jobs/{requestId}/items`, each name their `documentId`. 6. **Download** the PDF: `GET /tenants/{tenantKey}/documents/{documentId}/content`. `validateTemplateData` checks data against a template\'s contract before you submit it, and `previewDocument` renders one document synchronously, for previews only. For high volume, poll no jobs: collect finished results as a stream instead (`collectGenerationResults`), each delivered to the node that asked for it and acknowledged when handled. That is the advanced path; the client libraries\' result collectors implement it. ## Template model A variant\'s content (`getVariantContent`, `updateVariantContent`) and a stencil\'s are a template document: a flat graph of nodes and slots, linked by id. A node is one block, of a component type such as `text`, `table` or `conditional`; a slot is a named place in a node that holds child nodes, such as a table\'s `cell-0-1` or a conditional\'s `body` and `else`. The catalog contract\'s [component registry](https://github.com/epistola-app/epistola-contract/blob/main/contracts/catalog/registry/component-registry.json) and [style registry](https://github.com/epistola-app/epistola-contract/blob/main/contracts/catalog/registry/style-registry.json) define every component and style, with examples, and the [template model guide](https://github.com/epistola-app/epistola-contract/blob/main/contracts/api/docs/template-model.md) walks through a complete letter: the example `updateVariantContent` shows. ## Media types The media type carries the API\'s major version. Contract 2.x uses `application/vnd.epistola.v2+json`, and `application/vnd.epistola.v2+ndjson` for the result stream, in `Accept` and in `Content-Type`. Problems are `application/problem+json`. ## Client identity Every request identifies the client with two headers: - **`User-Agent`** (required): [RFC 9110](https://www.rfc-editor.org/rfc/rfc9110#name-user-agent) product tokens, the first of which **must** be `epistola-contract/{version}`, the contract version the client was built against. Further tokens describe the rest of the stack: `epistola-contract/x.y.z valtimo-epistola-plugin/1.2.0 gzac/5.0.0`. - **`X-EP-Node-Id`** (required): the client node, such as its Kubernetes pod name, container id or hostname. The client libraries set both, the contract version and the hostname; an application can append its own product tokens and override the node id. ## Releases A catalog consists of releases, addressed as `/catalogs/{registry}/{namespace}/{catalogKey}/releases/{release}`, with the catalog\'s resources below each. A draft is addressed by its `releaseId`; a released release by its `releaseId` or its version, which address the same release. Every write to a released release is refused with 409. - A catalog that can be changed has **any number of drafts**, each named, each started from a released release (its base) or from another draft (`createCatalogRelease`). The base never moves. `listCatalogReleases` lists a catalog\'s releases, drafts included, each with its `status` (`?status=draft` for the drafts only) and, once released, its `contentHash` (`?contentHash=` for the releases with that content); a catalog (`CatalogDto`) does not list them. - **Any draft can be released.** Its version follows from the kind of change against its base: fixes raise the patch, additions the minor, anything that breaks callers the major (`previewCatalogDraftRelease`). The author may choose a higher version, never a lower one or one another release has. A fix to an older line is a draft from a release of that line: from `1.4.0`, while `1.5.0` and `2.0.0` exist, it is released as `1.4.1`. - **Drafts are independent copies**: releasing one changes no other. A draft is **behind** each release whose version is between its base and the version it would get, and each release released after it was started whose version is below that one; it lacks their changes unless an author applied them by hand. `getCatalogRelease` lists them, and releasing a draft that is behind must acknowledge them. - **Merging a release into a draft** (alpha, `x-experimental`): `previewCatalogDraftMerge` shows, per resource, per catalog setting (default theme and presets, entries of type `catalog`) and per catalog used (entries of type `catalogDependency`), each with the entries it goes with (`needs`), against the merge base (the closest release both descend from), what only the draft changed (`ours`), what only the release changed (`theirs`) and what both changed differently (`conflict`); `mergeIntoCatalogDraft` takes theirs and applies a resolution, `ours` or `theirs`, per conflict. The draft then contains the release and is no longer behind it; its base does not move. The preview\'s `token`, sent back as `expectedToken`, makes the merge apply what the preview showed or nothing (`merge-preview-outdated`). A conflict can also be resolved to content combined from its sides (`getCatalogDraftMergeSides`, then `mergedContent`), reviewed before the draft is released. The merge needs the merge base installed; the preview names one that is not (`missingBase`), and the merge is refused with `merge-base-missing`. - **Release registries** (alpha, `x-experimental`, ADR 0008) move releases between installations: an Epistola Exchange the installation is connected to, or a container registry it is configured with (`listReleaseRegistries`). A released release is published to one (`publishReleaseToRegistry`), and another installation lists the releases of a catalog there (`listRegistryReleases`) and installs one (`installRegistryRelease`) as an import does. A release registry is named by the installation; it is not the `{registry}` of a catalog\'s name. - **Quality profiles** (alpha, `x-experimental`, contract ADR 0010) record how an organisation writes: rules with a plain-language intent, a severity and extras per kind of checking system (`listQualityProfiles` and the rest of the group). A release binds the profiles every template in it is checked against, and a template adds its own (`quality` on `CatalogReleaseDto` and `TemplateDto`). Documents are rendered from releases, and a version range never matches a draft. A draft renders only in a preview that names its `releaseId`, and in an environment it is deployed to. Importing a catalog archive (`importCatalog`) installs the release the archive carries, at its version, beside the releases the tenant already has; it never creates or changes a draft. A catalog with a source (`CatalogDto.source`) installs releases from it the same way (`installCatalogRelease`), and `listAvailableCatalogReleases` lists those the tenant does not have yet, older lines included. Nothing is updated in place or removed: deploying decides what an environment serves. A release keeps its id and number wherever it moves, so it is the same release in every installation. There are no catalog types: receiving releases works whether or not the catalog can be changed, and every write to one that cannot is refused with 409 `catalog-read-only`. ## Deploying An environment serves releases of catalogs (`deployCatalogRelease`): released ones, several of one catalog if need be, and at most one draft per catalog, rendered live. A request through the environment (`environmentKey`) renders: - with **no `versionRange`**: the catalog\'s deployed draft if there is one, else the highest release the environment serves; - with a **range or an exact version**: the highest served release that satisfies it. A draft never matches: it has no version. Rollback is undeploying the newer release. Deploying a draft replaces the draft the environment served for that catalog, and an environment marked **production** (`EnvironmentDto.production`) serves no draft. A document rendered from a draft carries the draft\'s `releaseId` and its name at render time (`releaseName`), with a null `version`, and its PDF a preview watermark. Releasing a deployed draft keeps its `releaseId`, so the environment then serves it as released; discarding the draft ends the deployment. ## Interactive generation (alpha, `x-experimental`, contract ADR 0011.) A caller that has only part of a template\'s data can have a person complete it in a form Epistola serves, by sending `interactive` with `generateDocument`. With `trigger: incomplete` the form appears only when the data, as sent, misses a required field or holds an invalid value under the data contract of the release the job is bound to; with `trigger: always` every time, pre-filled for review. - The job is accepted as usual (202), in status `awaiting-input`, and the response\'s `interactive.url` is where to send the person\'s browser. The release and the variant are bound at acceptance, as for any job. - Epistola authenticates the caller, never the person: the link is a bearer capability over this one job, which the caller hands only to the person it authenticated itself. It works until the form is submitted, the job cancelled or `interactive.expiresAt` passes, and is submitted once. `getGenerationJobStatus` returns it again while the job waits, so it need not be stored. - No job waits for input longer than 30 days. The caller may set a shorter expiry (`interactive.expiresInMinutes`), and a server may allow less than 30 days. - Submitting moves the job to `pending`, and it renders like any other. The browser returns to `interactive.returnUrl` with only `epistolaRequestId` and `epistolaRequestStatus` added, which say the person is done with the form, not that the document exists. The document arrives as any job\'s result does, through collect or `getGenerationJobStatus`. - Items and collect results carry the complete `data` the document renders from, as amended, and `editedFields`, the JSON Pointers the person changed. That `data` is valid input to `generateDocument`, so rendering again, with or without a form, sends it back. - A cancelled job says why (`cancelReason`: `caller`, `user` or `expired`), and the collect stream delivers a `cancelled` result for a job with a form. A server that does not support it ignores `interactive`, and its response carries none. ## Versions and version ranges A version (`ReleaseVersion`) is a SemVer core version, `MAJOR.MINOR.PATCH` without leading zeros, as the holder of the catalog\'s namespace issues it, or a **patch release** number, `MAJOR.MINOR.PATCH-<namespace>.<N>`, at most 128 characters. Wherever the contract names one exact version it has that form, and is called `version`; every member called `version` is one. A patch release is how someone who does not hold a catalog\'s namespace fixes a release of it (a municipality fixing a supplier\'s catalog): it is labelled with a namespace they hold, and numbered from 1, `1.3.1-gemeente-x.1`. As a SemVer pre-release it sorts below its core and above every release below that, `1.3.0` < `1.3.1-gemeente-x.1` < `1.3.1`, so the holder\'s next release supersedes it, and the two never collide: the holder never uses a label, the patcher never issues a plain number (contract ADR 0003). Which namespaces a tenant holds is the installation\'s to know; the contract checks the shape. \"Highest\" always means by this order, a patch release included. A request that selects a release to render or check (generation, preview, validation) takes a version range, `versionRange`, in the npm SemVer range grammar: an exact version (`1.4.0`), a caret (`^1.4.0`), a tilde (`~1.4.0`), comparators (`>=1.0.0 <2.0.0`), a hyphen range (`1.0.0 - 2.0.0`), or a `||` union of these. The highest release that satisfies it renders, and responses name the exact release used. A range is at most 256 characters, so an exact release number (at most 128) always fits, and a comparator pair of patch release numbers usually does. A range matches a patch release as npm matches a pre-release: only when one of its comparators names a pre-release of the same `MAJOR.MINOR.PATCH`, such as the exact number (`1.3.1-gemeente-x.1`) or `>=1.3.1-gemeente-x.1 <1.4.0`; `^1.3.0` never selects one. ## Catalog dependencies A catalog that uses another catalog\'s resources declares that catalog once, with the exact release of it that it renders with (`version`), never a range. References into the other catalog name the catalog but no version, so a release renders with exactly the releases its declarations pin. In a draft, a declaration may name a draft of the other catalog instead (`releaseId`), to build on work that is not released yet. A released release pins only released releases: releasing such a draft is refused (`release-dependencies-unreleased`) unless the request releases those drafts along with it (`releaseDependencies`), in one transaction. ## Catalog identity A catalog\'s key alone is not unique: two publishers can each publish `letters`. The registry and the namespace complete its name, and the same namespace in two registries is two namespaces. Which registry is a server\'s default is configuration; in a path, `/catalogs/~/acme-corp/letters/…` and `/catalogs/exchange.epistola.app/acme-corp/letters/…` address the same catalog when `exchange.epistola.app` is the default, and `~` may be sent percent-encoded as `%7E`. In a body, a catalog is named by separate `registry`, `namespace` and `catalogKey` members, and a reference into another catalog by an alias: 1. **A request that names a catalog** (a generation or preview target, a dependency declaration) may omit `registry`, or send null, for the default registry. (An import\'s `registry` defaults to the one the archive names.) 2. **A reference from one catalog\'s release to a resource of another** names that catalog by the **alias** the release\'s dependency declarations give it (`CatalogAlias`, in the member `catalogKey`), never by registry or namespace: a template model\'s `themeRef`, its stencil and image nodes, a `fontFamily` (catalog content, portable catalog wire v8, contract ADR 0003), and the references this API reads and writes beside it, a release\'s default theme (`CatalogThemeReference`), an attribute\'s code-list binding and an attribute criterion in variant selection (`VariantSelectionAttribute`, resolved through the release that renders). Omitted or null, or the catalog\'s own key, is the catalog itself. A declaration (`CatalogDependencyDto`, `listCatalogDependencies`) maps each alias to the catalog\'s full name and the release it pins; that is where a client finds the name. Because content names the alias, it means the same in every installation and under any name, and pinning another release changes no content. An alias is by default the catalog\'s key (`CatalogDependencyRequirement.alias`). Responses write every registry in full, by its name, never `~`, so a value read from one installation means the same catalog on another. Content documents are returned as stored. ## Concurrency Updates can be made conditional. Templates, variants, themes, stencils, code lists, attributes, releases, environments, tenants and consumers carry a revision, which reading or updating one returns as a strong `ETag` header: a quoted decimal integer such as `\"7\"`. Send it back as `If-Match` on an update: if the resource changed since you read it, the update is refused with 412 `resource-modified` and nothing changes; read it again, reapply your change and retry. Without `If-Match` an update applies unconditionally, and the last write wins. What a revision covers: - a template: its own properties, data contract and data examples; - a variant: its name, description, attributes and template model, so `getVariant` and `getVariantContent` return the same `ETag`, and `updateVariant` and `updateVariantContent` take either; - a release: its name, default theme, presets and dependency declarations, so `getCatalogRelease` and `listCatalogDependencies` return the same `ETag`, and `updateCatalogRelease` and `updateCatalogDependencies` take either; - a code list: its properties and entries, whether each is hidden included, so `updateCodeListEntryHidden` takes the code list\'s `ETag`; - an environment: its name and production mark, not what it serves. ## Authentication Credentials go in the `Authorization` header: - **API key**, `Authorization: ApiKey <key>`: the supported method. A tenant manager issues each key for one tenant, with a set of tenant roles. The scheme name is case-insensitive. - **Bearer JWT** (**experimental**), `Authorization: Bearer <jwt>`: issued by an OAuth 2.0 identity provider, or self-signed with a key pair registered through the Consumers API. The [authentication guide](https://github.com/epistola-app/epistola-contract/blob/main/contracts/api/docs/auth.md) has the details. ## Authorization Each operation names the permissions it requires (`x-required-permissions`), such as `TEMPLATE_VIEW`, `TEMPLATE_EDIT`, `DOCUMENT_GENERATE` and `CATALOG_MANAGE`. A caller has them through its tenant roles (`CONTENT_VIEWER`, `CONTENT_AUTHOR`, `DOCUMENT_GENERATOR`, `DOCUMENT_READER`, `CONTENT_PUBLISHER`, `TENANT_ADMINISTRATOR`), the roles stored on its API key. Managing tenants needs the platform role `TENANT_MANAGER`. A request member that needs a permission beyond its operation\'s says so in its description: changing a quality binding (`quality`, alpha) needs `QUALITY_EDIT` as well. ## Errors Errors are [RFC 9457](https://www.rfc-editor.org/rfc/rfc9457) problem details, with `Content-Type: application/problem+json`: - `type` (URI): what went wrong, the stable value to switch on. It is `https://epistola.app/errors/{slug}`, which documents the problem type; - `title`: a short summary; - `status`: the HTTP status code; - `detail` (optional): what happened this time; - `instance` (optional): this occurrence; - `help` (optional): the type\'s page with this request\'s context, such as the `operation` that answered, for hints that fit it. It names this contract\'s terms only, never a value: a `not-found` problem\'s may add the kind of resource that was missing, `https://epistola.app/errors/not-found?operation=generateDocument&missing=template`. A problem may add members of its own, such as the field-level `errors` of a `validation-error` or the `missing` of a `not-found`, which says which resource was not found and where it was looked for; ignore members you do not recognize. Read such members rather than `detail`, which is for a person (RFC 9457 §3.1.4). The problem types are listed, machine-readably, in this document\'s `x-problem-types` extension, and in the [error type registry](https://github.com/epistola-app/epistola-contract/blob/main/contracts/api/docs/error-types.md). A server answers only with the types registered there. A type names a problem a caller can act on differently; anything else is the generic type of its status, so a missing resource is `not-found` whichever resource it is, and a refused authorization `forbidden`. New types may be added in a minor version: handle a type you do not recognize by its `status`, as the generic type of that status, and keep a fallback when switching on them. Six statuses are not listed on each operation, because any operation may answer them: 405 `method-not-allowed`, 406 `not-acceptable`, 413 `content-too-large` and 415 `unsupported-media-type` (the last two where it takes a body), 500 `internal-error`, and 501 `operation-not-implemented`. `x-problem-types` marks them `anyOperation: true`. ## Compatibility within 2.x A minor version adds and never takes away, so a client built against an earlier 2.x keeps working against a later 2.x server. A minor version may add: - operations, and optional request members and query parameters; - **response members**: ignore a member you do not recognize; - **enum values in responses**: a status, kind or reason may gain a value. Treat one you do not recognize as unknown rather than failing, and keep a default branch when switching on an enum. The client libraries read it without failing: the Kotlin, Jakarta and .NET enums as their `unknown_default_open_api` member (`UNKNOWN_DEFAULT_OPEN_API` in Jakarta, `UnknownDefaultOpenApi` in .NET), the Python client as an unknown member that keeps the value, and the Node.js client as the string received; - problem types and validation codes (see \"Errors\"); - roles and permissions (`x-authorization`), and resources and levels of a consumer\'s permissions (`ConsumerPermissions`). An operation keeps requiring what it required: when a minor version moves an operation to a new permission, every role that granted the old one grants the new one; - a catalog wire version (`x-epistola-catalog-contract`). Every new component type and every new member of a template document (`TemplateDocument`, `Node`, `Slot`) raises it. An installation refuses an archive of a newer wire version as a whole (`CATALOG_SCHEMA_TOO_NEW`), rather than reading part of it. It never removes or renames a member or an enum value, makes an optional request member required, or narrows what a request may send. A server refuses a request enum value it does not know with 400, so never send `unknown_default_open_api`. Operations and members marked `x-experimental` are outside these rules. A server may ignore a request member it does not know. A member whose effect the caller must rely on is therefore echoed in the response, as `interactive` is: a response without it means the server did not honour it. A minor version adds members and parameters only after the existing ones, so the positional arguments of the generated clients keep their meaning; a major version may reorder them. A new optional parameter or member still changes the generated method and constructor signatures: rebuild against the client library you ship with, which may then ask for code changes, rather than replace its binary. A client that reads a template document and writes it back (`getVariantContent` and `updateVariantContent`, and the same for stencils) sends only the members it knows, and the write replaces the document. Edit template documents with a client at least as new as the server\'s catalog wire version, or the members it does not know are lost. ## Experimental parts and server support Operations and members marked `x-experimental: true`, the consumer model (Bearer JWT and the Consumers API) among them, may still change. Epistola Suite, the server that implements this contract, may not implement them yet, nor every part of the rest: installing missing dependency releases when deploying, recording who requested a document, listing a stencil\'s usage in a released release, listing a catalog\'s templates across its releases (`listCatalogTemplates`), a dependency alias other than the catalog\'s key, and interactive generation among them. An operation a server does not implement yet answers 501 `operation-not-implemented`.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 2.
|
|
7
|
+
* The version of the OpenAPI document: 2.1.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
// Generated from the bundled OpenAPI spec by gen/generate-derived.mjs — do not edit.
|
|
2
2
|
/** The Epistola contract version this client library was built against (the spec's info.version). */
|
|
3
|
-
export const CONTRACT_VERSION = "2.
|
|
3
|
+
export const CONTRACT_VERSION = "2.1.0";
|
|
4
4
|
//# sourceMappingURL=contractVersion.js.map
|
|
@@ -113,6 +113,8 @@ export declare const KnownValidationCodes: {
|
|
|
113
113
|
readonly CATALOG_RESOURCES_NOT_READY: "catalog-resources-not-ready";
|
|
114
114
|
/** domain — A code list's source URL is not one this installation allows fetching from. */
|
|
115
115
|
readonly SOURCE_URL_NOT_ALLOWED: "source-url-not-allowed";
|
|
116
|
+
/** domain — A URL an interactive generation request shows or returns the person to (`returnUrl`, a link) is not on an origin this installation allows. */
|
|
117
|
+
readonly URL_NOT_ALLOWED: "url-not-allowed";
|
|
116
118
|
};
|
|
117
119
|
/** One of the registered validation codes. Compare `code` against these, but never narrow it to them. */
|
|
118
120
|
export type KnownValidationCode = (typeof KnownValidationCodes)[keyof typeof KnownValidationCodes];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"knownValidationCodes.d.ts","sourceRoot":"","sources":["../../src/generated/knownValidationCodes.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,oBAAoB;IAC/B,4GAA4G;aAC5G,QAAQ,EAAE,UAAU;IACpB,wHAAwH;aACxH,IAAI,EAAE,MAAM;IACZ,0EAA0E;aAC1E,IAAI,EAAE,MAAM;IACZ,wGAAwG;aACxG,MAAM,EAAE,QAAQ;IAChB,mHAAmH;aACnH,OAAO,EAAE,SAAS;IAClB,iEAAiE;aACjE,UAAU,EAAE,YAAY;IACxB,gEAAgE;aAChE,UAAU,EAAE,YAAY;IACxB,oDAAoD;aACpD,OAAO,EAAE,SAAS;IACl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;aACjE,sBAAsB,EAAE,wBAAwB;IAChD,2DAA2D;aAC3D,uBAAuB,EAAE,yBAAyB;IAClD,mFAAmF;aACnF,0BAA0B,EAAE,4BAA4B;IACxD,yFAAyF;aACzF,+BAA+B,EAAE,iCAAiC;IAClE,yFAAyF;aACzF,eAAe,EAAE,iBAAiB;IAClC,iIAAiI;aACjI,qBAAqB,EAAE,uBAAuB;IAC9C,mHAAmH;aACnH,4BAA4B,EAAE,8BAA8B;IAC5D,2FAA2F;aAC3F,0BAA0B,EAAE,4BAA4B;IACxD,2GAA2G;aAC3G,sBAAsB,EAAE,wBAAwB;IAChD,8GAA8G;aAC9G,qBAAqB,EAAE,uBAAuB;IAC9C,uIAAuI;aACvI,0BAA0B,EAAE,4BAA4B;IACxD,0GAA0G;aAC1G,6BAA6B,EAAE,+BAA+B;IAC9D,0HAA0H;aAC1H,4BAA4B,EAAE,8BAA8B;IAC5D,gGAAgG;aAChG,2BAA2B,EAAE,6BAA6B;IAC1D,2FAA2F;aAC3F,sBAAsB,EAAE,wBAAwB;
|
|
1
|
+
{"version":3,"file":"knownValidationCodes.d.ts","sourceRoot":"","sources":["../../src/generated/knownValidationCodes.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,oBAAoB;IAC/B,4GAA4G;aAC5G,QAAQ,EAAE,UAAU;IACpB,wHAAwH;aACxH,IAAI,EAAE,MAAM;IACZ,0EAA0E;aAC1E,IAAI,EAAE,MAAM;IACZ,wGAAwG;aACxG,MAAM,EAAE,QAAQ;IAChB,mHAAmH;aACnH,OAAO,EAAE,SAAS;IAClB,iEAAiE;aACjE,UAAU,EAAE,YAAY;IACxB,gEAAgE;aAChE,UAAU,EAAE,YAAY;IACxB,oDAAoD;aACpD,OAAO,EAAE,SAAS;IAClB,qFAAqF;aACrF,OAAO,EAAE,SAAS;IAClB,+DAA+D;aAC/D,SAAS,EAAE,WAAW;IACtB,kHAAkH;aAClH,SAAS,EAAE,WAAW;IACtB,m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xD,yFAAyF;aACzF,+BAA+B,EAAE,iCAAiC;IAClE,yFAAyF;aACzF,eAAe,EAAE,iBAAiB;IAClC,iIAAiI;aACjI,qBAAqB,EAAE,uBAAuB;IAC9C,mHAAmH;aACnH,4BAA4B,EAAE,8BAA8B;IAC5D,2FAA2F;aAC3F,0BAA0B,EAAE,4BAA4B;IACxD,2GAA2G;aAC3G,sBAAsB,EAAE,wBAAwB;IAChD,8GAA8G;aAC9G,qBAAqB,EAAE,uBAAuB;IAC9C,uIAAuI;aACvI,0BAA0B,EAAE,4BAA4B;IACxD,0GAA0G;aAC1G,6BAA6B,EAAE,+BAA+B;IAC9D,0HAA0H;aAC1H,4BAA4B,EAAE,8BAA8B;IAC5D,gGAAgG;aAChG,2BAA2B,EAAE,6BAA6B;IAC1D,2FAA2F;aAC3F,sBAAsB,EAAE,wBAAwB;IAChD,0JAA0J;aAC1J,eAAe,EAAE,iBAAiB;CAC1B,CAAA;AAEV,yGAAyG;AACzG,MAAM,MAAM,mBAAmB,GAAG,CAAC,OAAO,oBAAoB,CAAC,CAAC,MAAM,OAAO,oBAAoB,CAAC,CAAA"}
|
|
@@ -114,5 +114,7 @@ export const KnownValidationCodes = {
|
|
|
114
114
|
CATALOG_RESOURCES_NOT_READY: "catalog-resources-not-ready",
|
|
115
115
|
/** domain — A code list's source URL is not one this installation allows fetching from. */
|
|
116
116
|
SOURCE_URL_NOT_ALLOWED: "source-url-not-allowed",
|
|
117
|
+
/** domain — A URL an interactive generation request shows or returns the person to (`returnUrl`, a link) is not on an origin this installation allows. */
|
|
118
|
+
URL_NOT_ALLOWED: "url-not-allowed",
|
|
117
119
|
};
|
|
118
120
|
//# sourceMappingURL=knownValidationCodes.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"knownValidationCodes.js","sourceRoot":"","sources":["../../src/generated/knownValidationCodes.ts"],"names":[],"mappings":"AAAA,qFAAqF;AAErF;;;;;;;;;;;GAWG;AACH,MAAM,CAAC,MAAM,o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uC;IAC9E,4EAA4E;IAC5E,uCAAuC,EAAE,yCAAyC;IAClF,oFAAoF;IACpF,qCAAqC,EAAE,uCAAuC;IAC9E,iFAAiF;IACjF,mCAAmC,EAAE,qCAAqC;IAC1E,8DAA8D;IAC9D,4BAA4B,EAAE,8BAA8B;IAC5D,uEAAuE;IACvE,0BAA0B,EAAE,4BAA4B;IACxD,0FAA0F;IAC1F,6BAA6B,EAAE,+BAA+B;IAC9D,mFAAmF;IACnF,0BAA0B,EAAE,4BAA4B;IACxD,iEAAiE;IACjE,sBAAsB,EAAE,wBAAwB;IAChD,2DAA2D;IAC3D,uBAAuB,EAAE,yBAAyB;IAClD,mFAAmF;IACnF,0BAA0B,EAAE,4BAA4B;IACxD,yFAAyF;IACzF,+BAA+B,EAAE,iCAAiC;IAClE,yFAAyF;IACzF,eAAe,EAAE,iBAAiB;IAClC,iIAAiI;IACjI,qBAAqB,EAAE,uBAAuB;IAC9C,mHAAmH;IACnH,4BAA4B,EAAE,8BAA8B;IAC5D,2FAA2F;IAC3F,0BAA0B,EAAE,4BAA4B;IACxD,2GAA2G;IAC3G,sBAAsB,EAAE,wBAAwB;IAChD,8GAA8G;IAC9G,qBAAqB,EAAE,uBAAuB;IAC9C,uIAAuI;IACvI,0BAA0B,EAAE,4BAA4B;IACxD,0GAA0G;IAC1G,6BAA6B,EAAE,+BAA+B;IAC9D,0HAA0H;IAC1H,4BAA4B,EAAE,8BAA8B;IAC5D,gGAAgG;IAChG,2BAA2B,EAAE,6BAA6B;IAC1D,2FAA2F;IAC3F,sBAAsB,EAAE,wBAAwB;
|
|
1
|
+
{"version":3,"file":"knownValidationCodes.js","sourceRoot":"","sources":["../../src/generated/knownValidationCodes.ts"],"names":[],"mappings":"AAAA,qFAAqF;AAErF;;;;;;;;;;;GAWG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAAG;IAClC,4GAA4G;IAC5G,QAAQ,EAAE,UAAU;IACpB,wHAAwH;IACxH,IAAI,EAAE,MAAM;IACZ,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,iFAAiF;IACjF,mCAAmC,EAAE,qCAAqC;IAC1E,8DAA8D;IAC9D,4BAA4B,EAAE,8BAA8B;IAC5D,uEAAuE;IACvE,0BAA0B,EAAE,4BAA4B;IACxD,0FAA0F;IAC1F,6BAA6B,EAAE,+BAA+B;IAC9D,mFAAmF;IACnF,0BAA0B,EAAE,4BAA4B;IACxD,iEAAiE;IACjE,sBAAsB,EAAE,wBAAwB;IAChD,2DAA2D;IAC3D,uBAAuB,EAAE,yBAAyB;IAClD,mFAAmF;IACnF,0BAA0B,EAAE,4BAA4B;IACxD,yFAAyF;IACzF,+BAA+B,EAAE,iCAAiC;IAClE,yFAAyF;IACzF,eAAe,EAAE,iBAAiB;IAClC,iIAAiI;IACjI,qBAAqB,EAAE,uBAAuB;IAC9C,mHAAmH;IACnH,4BAA4B,EAAE,8BAA8B;IAC5D,2FAA2F;IAC3F,0BAA0B,EAAE,4BAA4B;IACxD,2GAA2G;IAC3G,sBAAsB,EAAE,wBAAwB;IAChD,8GAA8G;IAC9G,qBAAqB,EAAE,uBAAuB;IAC9C,uIAAuI;IACvI,0BAA0B,EAAE,4BAA4B;IACxD,0GAA0G;IAC1G,6BAA6B,EAAE,+BAA+B;IAC9D,0HAA0H;IAC1H,4BAA4B,EAAE,8BAA8B;IAC5D,gGAAgG;IAChG,2BAA2B,EAAE,6BAA6B;IAC1D,2FAA2F;IAC3F,sBAAsB,EAAE,wBAAwB;IAChD,0JAA0J;IAC1J,eAAe,EAAE,iBAAiB;CAC1B,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AttributeDto, AvailableCatalogReleases, AvailableReleaseDependencyDto, AvailableReleaseDto, BatchGenerationItem, BehindReleaseDto, CatalogChangesDto, CatalogDependencyDto, CatalogDependencyRequirement, CatalogDraftMergePreview, CatalogDraftMergeResource, CatalogDraftMergeSides, CatalogDraftRefDto, CatalogDraftReleasePreview, CatalogDto, CatalogLevelChangeDto, CatalogMergeBaseRef, CatalogPresetDto, CatalogRefDto, CatalogReleaseDto, CatalogReleaseRefDto, CatalogTemplateDto, CatalogTemplateRelease, CatalogThemeReference, CodeListBindingRef, CodeListDto, CodeListEntryDto, CollectRequest, ConsumerDto, CreateAttributeRequest, CreateCatalogReleaseRequest, CreateCodeListRequest, CreateEnvironmentRequest, CreateQualityProfileRequest, CreateStencilRequest, CreateTemplateRequest, CreateTenantRequest, CreateThemeRequest, CreateVariantRequest, DataExampleDto, DeploymentDto, DeploymentEventDto, DocumentDto, DocumentGenerationItemDto, EnvironmentDto, FontDto, FontVariantDto, GenerateBatchRequest, GenerateDocumentRequest, GenerationResult, ImageDto, ImportCatalogResponse, InstallCatalogReleaseResponse, Margins, MergeIntoCatalogDraftRequest, MergeIntoCatalogDraftResponse, MissingReleaseDependency, MissingResource, Node, PingRequest, PreviewDocumentRequest, PublishReleaseToRegistryRequest, QualityProfileDto, QualityProfileRef, QualityRule, QualityRuleOverride, RegisterConsumerRequest, RegistryReleaseDto, RegistryReleaseListResponse, RejectConsumerRequest, ReleaseCatalogDraftRequest, ReleaseDependencyDto, ReleasePublicationDto, ReleaseRegistryDto, ReleasedChangeDto, ReleasedDependencyDto, ResourceChangeDto, RotatePublicKeyRequest, SearchHit, SearchHitCatalog, SearchHitVariant, SearchKindCount, Slot, StencilContentDto, StencilDto, StencilSummaryDto, StencilUsageDto, TemplateDocument, TemplateDto, TemplateSummaryDto, TenantDto, ThemeDto, ThemeRef, UnreleasedCatalogDependency, UpdateAttributeRequest, UpdateCatalogReleaseRequest, UpdateCodeListRequest, UpdateConsumerRequest, UpdateEnvironmentRequest, UpdateQualityProfileRequest, UpdateStencilRequest, UpdateTemplateRequest, UpdateTenantRequest, UpdateThemeRequest, UpdateVariantRequest, ValidateTemplateDataRequest, VariantContentDto, VariantDto, VariantSelectionAttribute, VariantSummaryDto } from './api/models/index.js';
|
|
1
|
+
import type { AttributeDto, AvailableCatalogReleases, AvailableReleaseDependencyDto, AvailableReleaseDto, BatchGenerationItem, BehindReleaseDto, CatalogChangesDto, CatalogDependencyDto, CatalogDependencyRequirement, CatalogDraftMergePreview, CatalogDraftMergeResource, CatalogDraftMergeSides, CatalogDraftRefDto, CatalogDraftReleasePreview, CatalogDto, CatalogLevelChangeDto, CatalogMergeBaseRef, CatalogPresetDto, CatalogRefDto, CatalogReleaseDto, CatalogReleaseRefDto, CatalogTemplateDto, CatalogTemplateRelease, CatalogThemeReference, CodeListBindingRef, CodeListDto, CodeListEntryDto, CollectRequest, ConsumerDto, CreateAttributeRequest, CreateCatalogReleaseRequest, CreateCodeListRequest, CreateEnvironmentRequest, CreateQualityProfileRequest, CreateStencilRequest, CreateTemplateRequest, CreateTenantRequest, CreateThemeRequest, CreateVariantRequest, DataExampleDto, DeploymentDto, DeploymentEventDto, DocumentDto, DocumentGenerationItemDto, EnvironmentDto, FontDto, FontVariantDto, GenerateBatchRequest, GenerateDocumentRequest, GenerationResult, ImageDto, ImportCatalogResponse, InstallCatalogReleaseResponse, InteractiveGenerationDto, InteractiveGenerationLink, InteractiveGenerationRequest, Margins, MergeIntoCatalogDraftRequest, MergeIntoCatalogDraftResponse, MissingReleaseDependency, MissingResource, Node, PingRequest, PreviewDocumentRequest, PublishReleaseToRegistryRequest, QualityProfileDto, QualityProfileRef, QualityRule, QualityRuleOverride, RegisterConsumerRequest, RegistryReleaseDto, RegistryReleaseListResponse, RejectConsumerRequest, ReleaseCatalogDraftRequest, ReleaseDependencyDto, ReleasePublicationDto, ReleaseRegistryDto, ReleasedChangeDto, ReleasedDependencyDto, ResourceChangeDto, RotatePublicKeyRequest, SearchHit, SearchHitCatalog, SearchHitVariant, SearchKindCount, Slot, StencilContentDto, StencilDto, StencilSummaryDto, StencilUsageDto, TemplateDocument, TemplateDto, TemplateSummaryDto, TenantDto, ThemeDto, ThemeRef, UnreleasedCatalogDependency, UpdateAttributeRequest, UpdateCatalogReleaseRequest, UpdateCodeListRequest, UpdateConsumerRequest, UpdateEnvironmentRequest, UpdateQualityProfileRequest, UpdateStencilRequest, UpdateTemplateRequest, UpdateTenantRequest, UpdateThemeRequest, UpdateVariantRequest, ValidateTemplateDataRequest, VariantContentDto, VariantDto, VariantSelectionAttribute, VariantSummaryDto } from './api/models/index.js';
|
|
2
2
|
/**
|
|
3
3
|
* Explicit fail-fast `validate` helpers for the contract's request/response models — the
|
|
4
4
|
* counterpart of the Kotlin / .NET `validate()` extensions and the Python `validate()` helper.
|
|
@@ -32,7 +32,7 @@ export interface ConstrainedField {
|
|
|
32
32
|
readonly constraints: readonly FieldConstraint[];
|
|
33
33
|
}
|
|
34
34
|
/** Names of the contract models that carry validatable constraints. */
|
|
35
|
-
export declare const CONSTRAINED_MODELS: readonly ["AttributeDto", "AvailableCatalogReleases", "AvailableReleaseDependencyDto", "AvailableReleaseDto", "BatchGenerationItem", "BehindReleaseDto", "CatalogChangesDto", "CatalogDependencyDto", "CatalogDependencyRequirement", "CatalogDraftMergePreview", "CatalogDraftMergeResource", "CatalogDraftMergeSides", "CatalogDraftRefDto", "CatalogDraftReleasePreview", "CatalogDto", "CatalogLevelChangeDto", "CatalogMergeBaseRef", "CatalogPresetDto", "CatalogRefDto", "CatalogReleaseDto", "CatalogReleaseRefDto", "CatalogTemplateDto", "CatalogTemplateRelease", "CatalogThemeReference", "CodeListBindingRef", "CodeListDto", "CodeListEntryDto", "CollectRequest", "ConsumerDto", "CreateAttributeRequest", "CreateCatalogReleaseRequest", "CreateCodeListRequest", "CreateEnvironmentRequest", "CreateQualityProfileRequest", "CreateStencilRequest", "CreateTemplateRequest", "CreateTenantRequest", "CreateThemeRequest", "CreateVariantRequest", "DataExampleDto", "DeploymentDto", "DeploymentEventDto", "DocumentDto", "DocumentGenerationItemDto", "EnvironmentDto", "FontDto", "FontVariantDto", "GenerateBatchRequest", "GenerateDocumentRequest", "GenerationResult", "ImageDto", "ImportCatalogResponse", "InstallCatalogReleaseResponse", "Margins", "MergeIntoCatalogDraftRequest", "MergeIntoCatalogDraftResponse", "MissingReleaseDependency", "MissingResource", "Node", "PingRequest", "PreviewDocumentRequest", "PublishReleaseToRegistryRequest", "QualityProfileDto", "QualityProfileRef", "QualityRule", "QualityRuleOverride", "RegisterConsumerRequest", "RegistryReleaseDto", "RegistryReleaseListResponse", "RejectConsumerRequest", "ReleaseCatalogDraftRequest", "ReleaseDependencyDto", "ReleasePublicationDto", "ReleaseRegistryDto", "ReleasedChangeDto", "ReleasedDependencyDto", "ResourceChangeDto", "RotatePublicKeyRequest", "SearchHit", "SearchHitCatalog", "SearchHitVariant", "SearchKindCount", "Slot", "StencilContentDto", "StencilDto", "StencilSummaryDto", "StencilUsageDto", "TemplateDocument", "TemplateDto", "TemplateSummaryDto", "TenantDto", "ThemeDto", "ThemeRef", "UnreleasedCatalogDependency", "UpdateAttributeRequest", "UpdateCatalogReleaseRequest", "UpdateCodeListRequest", "UpdateConsumerRequest", "UpdateEnvironmentRequest", "UpdateQualityProfileRequest", "UpdateStencilRequest", "UpdateTemplateRequest", "UpdateTenantRequest", "UpdateThemeRequest", "UpdateVariantRequest", "ValidateTemplateDataRequest", "VariantContentDto", "VariantDto", "VariantSelectionAttribute", "VariantSummaryDto"];
|
|
35
|
+
export declare const CONSTRAINED_MODELS: readonly ["AttributeDto", "AvailableCatalogReleases", "AvailableReleaseDependencyDto", "AvailableReleaseDto", "BatchGenerationItem", "BehindReleaseDto", "CatalogChangesDto", "CatalogDependencyDto", "CatalogDependencyRequirement", "CatalogDraftMergePreview", "CatalogDraftMergeResource", "CatalogDraftMergeSides", "CatalogDraftRefDto", "CatalogDraftReleasePreview", "CatalogDto", "CatalogLevelChangeDto", "CatalogMergeBaseRef", "CatalogPresetDto", "CatalogRefDto", "CatalogReleaseDto", "CatalogReleaseRefDto", "CatalogTemplateDto", "CatalogTemplateRelease", "CatalogThemeReference", "CodeListBindingRef", "CodeListDto", "CodeListEntryDto", "CollectRequest", "ConsumerDto", "CreateAttributeRequest", "CreateCatalogReleaseRequest", "CreateCodeListRequest", "CreateEnvironmentRequest", "CreateQualityProfileRequest", "CreateStencilRequest", "CreateTemplateRequest", "CreateTenantRequest", "CreateThemeRequest", "CreateVariantRequest", "DataExampleDto", "DeploymentDto", "DeploymentEventDto", "DocumentDto", "DocumentGenerationItemDto", "EnvironmentDto", "FontDto", "FontVariantDto", "GenerateBatchRequest", "GenerateDocumentRequest", "GenerationResult", "ImageDto", "ImportCatalogResponse", "InstallCatalogReleaseResponse", "InteractiveGenerationDto", "InteractiveGenerationLink", "InteractiveGenerationRequest", "Margins", "MergeIntoCatalogDraftRequest", "MergeIntoCatalogDraftResponse", "MissingReleaseDependency", "MissingResource", "Node", "PingRequest", "PreviewDocumentRequest", "PublishReleaseToRegistryRequest", "QualityProfileDto", "QualityProfileRef", "QualityRule", "QualityRuleOverride", "RegisterConsumerRequest", "RegistryReleaseDto", "RegistryReleaseListResponse", "RejectConsumerRequest", "ReleaseCatalogDraftRequest", "ReleaseDependencyDto", "ReleasePublicationDto", "ReleaseRegistryDto", "ReleasedChangeDto", "ReleasedDependencyDto", "ResourceChangeDto", "RotatePublicKeyRequest", "SearchHit", "SearchHitCatalog", "SearchHitVariant", "SearchKindCount", "Slot", "StencilContentDto", "StencilDto", "StencilSummaryDto", "StencilUsageDto", "TemplateDocument", "TemplateDto", "TemplateSummaryDto", "TenantDto", "ThemeDto", "ThemeRef", "UnreleasedCatalogDependency", "UpdateAttributeRequest", "UpdateCatalogReleaseRequest", "UpdateCodeListRequest", "UpdateConsumerRequest", "UpdateEnvironmentRequest", "UpdateQualityProfileRequest", "UpdateStencilRequest", "UpdateTemplateRequest", "UpdateTenantRequest", "UpdateThemeRequest", "UpdateVariantRequest", "ValidateTemplateDataRequest", "VariantContentDto", "VariantDto", "VariantSelectionAttribute", "VariantSummaryDto"];
|
|
36
36
|
export type ConstrainedModelName = (typeof CONSTRAINED_MODELS)[number];
|
|
37
37
|
/** The constraints of every constrained model, keyed by model name. */
|
|
38
38
|
export declare const MODEL_CONSTRAINTS: Readonly<Record<ConstrainedModelName, readonly ConstrainedField[]>>;
|
|
@@ -147,6 +147,12 @@ export declare function validateImageDto(value: ImageDto): ImageDto;
|
|
|
147
147
|
export declare function validateImportCatalogResponse(value: ImportCatalogResponse): ImportCatalogResponse;
|
|
148
148
|
/** Validates a `InstallCatalogReleaseResponse` against its schema constraints; returns it on success. */
|
|
149
149
|
export declare function validateInstallCatalogReleaseResponse(value: InstallCatalogReleaseResponse): InstallCatalogReleaseResponse;
|
|
150
|
+
/** Validates a `InteractiveGenerationDto` against its schema constraints; returns it on success. */
|
|
151
|
+
export declare function validateInteractiveGenerationDto(value: InteractiveGenerationDto): InteractiveGenerationDto;
|
|
152
|
+
/** Validates a `InteractiveGenerationLink` against its schema constraints; returns it on success. */
|
|
153
|
+
export declare function validateInteractiveGenerationLink(value: InteractiveGenerationLink): InteractiveGenerationLink;
|
|
154
|
+
/** Validates a `InteractiveGenerationRequest` against its schema constraints; returns it on success. */
|
|
155
|
+
export declare function validateInteractiveGenerationRequest(value: InteractiveGenerationRequest): InteractiveGenerationRequest;
|
|
150
156
|
/** Validates a `Margins` against its schema constraints; returns it on success. */
|
|
151
157
|
export declare function validateMargins(value: Margins): Margins;
|
|
152
158
|
/** Validates a `MergeIntoCatalogDraftRequest` against its schema constraints; returns it on success. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"modelValidation.d.ts","sourceRoot":"","sources":["../../src/generated/modelValidation.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,YAAY,EACZ,wBAAwB,EACxB,6BAA6B,EAC7B,mBAAmB,EACnB,mBAAmB,EACnB,gBAAgB,EAChB,iBAAiB,EACjB,oBAAoB,EACpB,4BAA4B,EAC5B,wBAAwB,EACxB,yBAAyB,EACzB,sBAAsB,EACtB,kBAAkB,EAClB,0BAA0B,EAC1B,UAAU,EACV,qBAAqB,EACrB,mBAAmB,EACnB,gBAAgB,EAChB,aAAa,EACb,iBAAiB,EACjB,oBAAoB,EACpB,kBAAkB,EAClB,sBAAsB,EACtB,qBAAqB,EACrB,kBA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BAAgB,6BAA6B,CAAC,KAAK,EAAE,qBAAqB,GAAG,qBAAqB,CAEjG;AAED,+FAA+F;AAC/F,wBAAgB,2BAA2B,CAAC,KAAK,EAAE,mBAAmB,GAAG,mBAAmB,CAE3F;AAED,8FAA8F;AAC9F,wBAAgB,0BAA0B,CAAC,KAAK,EAAE,kBAAkB,GAAG,kBAAkB,CAExF;AAED,gGAAgG;AAChG,wBAAgB,4BAA4B,CAAC,KAAK,EAAE,oBAAoB,GAAG,oBAAoB,CAE9F;AAED,uGAAuG;AACvG,wBAAgB,mCAAmC,CAAC,KAAK,EAAE,2BAA2B,GAAG,2BAA2B,CAEnH;AAED,6FAA6F;AAC7F,wBAAgB,yBAAyB,CAAC,KAAK,EAAE,iBAAiB,GAAG,iBAAiB,CAErF;AAED,sFAAsF;AACtF,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,UAAU,GAAG,UAAU,CAEhE;AAED,qGAAqG;AACrG,wBAAgB,iCAAiC,CAAC,KAAK,EAAE,yBAAyB,GAAG,yBAAyB,CAE7G;AAED,6FAA6F;AAC7F,wBAAgB,yBAAyB,CAAC,KAAK,EAAE,iBAAiB,GAAG,iBAAiB,CAErF"}
|
|
1
|
+
{"version":3,"file":"modelValidation.d.ts","sourceRoot":"","sources":["../../src/generated/modelValidation.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,YAAY,EACZ,wBAAwB,EACxB,6BAA6B,EAC7B,mBAAmB,EACnB,mBAAmB,EACnB,gBAAgB,EAChB,iBAAiB,EACjB,oBAAoB,EACpB,4BAA4B,EAC5B,wBAAwB,EACxB,yBAAyB,EACzB,sBAAsB,EACtB,kBAAkB,EAClB,0BAA0B,EAC1B,UAAU,EACV,qBAAqB,EACrB,mBAAmB,EACnB,gBAAgB,EAChB,aAAa,EACb,iBAAiB,EACjB,oBAAoB,EACpB,kBAAkB,EAClB,sBAAsB,EACtB,qBAAqB,EACrB,kBAAkB,EAClB,WAAW,EACX,gBAAgB,EAChB,cAAc,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BAAqB,GAAG,qBAAqB,CAEjG;AAED,oGAAoG;AACpG,wBAAgB,gCAAgC,CAAC,KAAK,EAAE,wBAAwB,GAAG,wBAAwB,CAE1G;AAED,uGAAuG;AACvG,wBAAgB,mCAAmC,CAAC,KAAK,EAAE,2BAA2B,GAAG,2BAA2B,CAEnH;AAED,gGAAgG;AAChG,wBAAgB,4BAA4B,CAAC,KAAK,EAAE,oBAAoB,GAAG,oBAAoB,CAE9F;AAED,iGAAiG;AACjG,wBAAgB,6BAA6B,CAAC,KAAK,EAAE,qBAAqB,GAAG,qBAAqB,CAEjG;AAED,+FAA+F;AAC/F,wBAAgB,2BAA2B,CAAC,KAAK,EAAE,mBAAmB,GAAG,mBAAmB,CAE3F;AAED,8FAA8F;AAC9F,wBAAgB,0BAA0B,CAAC,KAAK,EAAE,kBAAkB,GAAG,kBAAkB,CAExF;AAED,gGAAgG;AAChG,wBAAgB,4BAA4B,CAAC,KAAK,EAAE,oBAAoB,GAAG,oBAAoB,CAE9F;AAED,uGAAuG;AACvG,wBAAgB,mCAAmC,CAAC,KAAK,EAAE,2BAA2B,GAAG,2BAA2B,CAEnH;AAED,6FAA6F;AAC7F,wBAAgB,yBAAyB,CAAC,KAAK,EAAE,iBAAiB,GAAG,iBAAiB,CAErF;AAED,sFAAsF;AACtF,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,UAAU,GAAG,UAAU,CAEhE;AAED,qGAAqG;AACrG,wBAAgB,iCAAiC,CAAC,KAAK,EAAE,yBAAyB,GAAG,yBAAyB,CAE7G;AAED,6FAA6F;AAC7F,wBAAgB,yBAAyB,CAAC,KAAK,EAAE,iBAAiB,GAAG,iBAAiB,CAErF"}
|
|
@@ -55,6 +55,9 @@ export const CONSTRAINED_MODELS = [
|
|
|
55
55
|
"ImageDto",
|
|
56
56
|
"ImportCatalogResponse",
|
|
57
57
|
"InstallCatalogReleaseResponse",
|
|
58
|
+
"InteractiveGenerationDto",
|
|
59
|
+
"InteractiveGenerationLink",
|
|
60
|
+
"InteractiveGenerationRequest",
|
|
58
61
|
"Margins",
|
|
59
62
|
"MergeIntoCatalogDraftRequest",
|
|
60
63
|
"MergeIntoCatalogDraftResponse",
|
|
@@ -435,6 +438,20 @@ export const MODEL_CONSTRAINTS = {
|
|
|
435
438
|
{ property: "catalogKey", nullable: false, constraints: [{ kind: "length", min: 3, max: 50 }, { kind: 'pattern', pattern: "^[a-z][a-z0-9]*(-[a-z0-9]+)*$" }] },
|
|
436
439
|
{ property: "version", nullable: false, constraints: [{ kind: "length", max: 128 }, { kind: 'pattern', pattern: "^(0|[1-9][0-9]*)\\.(0|[1-9][0-9]*)\\.(0|[1-9][0-9]*)(?:-(?=[a-z0-9-]{3,63}\\.)([a-z][a-z0-9]*(?:-[a-z0-9]+)*)\\.([1-9][0-9]*))?$" }] },
|
|
437
440
|
],
|
|
441
|
+
InteractiveGenerationDto: [
|
|
442
|
+
{ property: "url", nullable: true, constraints: [{ kind: "length", max: 2048 }] },
|
|
443
|
+
],
|
|
444
|
+
InteractiveGenerationLink: [
|
|
445
|
+
{ property: "label", nullable: false, constraints: [{ kind: "length", min: 1, max: 100 }] },
|
|
446
|
+
{ property: "url", nullable: false, constraints: [{ kind: "length", max: 2048 }, { kind: 'pattern', pattern: "^https?://" }] },
|
|
447
|
+
],
|
|
448
|
+
InteractiveGenerationRequest: [
|
|
449
|
+
{ property: "expiresInMinutes", nullable: true, constraints: [{ kind: "range", min: 1, max: 43200 }] },
|
|
450
|
+
{ property: "returnUrl", nullable: true, constraints: [{ kind: "length", max: 2048 }, { kind: 'pattern', pattern: "^https?://" }] },
|
|
451
|
+
{ property: "title", nullable: true, constraints: [{ kind: "length", max: 200 }] },
|
|
452
|
+
{ property: "instructions", nullable: true, constraints: [{ kind: "length", max: 4000 }] },
|
|
453
|
+
{ property: "locale", nullable: true, constraints: [{ kind: "length", max: 35 }, { kind: 'pattern', pattern: "^[A-Za-z]{2,3}(-[A-Za-z0-9]{1,8})*$" }] },
|
|
454
|
+
],
|
|
438
455
|
Margins: [
|
|
439
456
|
{ property: "top", nullable: true, constraints: [{ kind: "range", min: 0 }] },
|
|
440
457
|
{ property: "right", nullable: true, constraints: [{ kind: "range", min: 0 }] },
|
|
@@ -965,6 +982,18 @@ export function validateImportCatalogResponse(value) {
|
|
|
965
982
|
export function validateInstallCatalogReleaseResponse(value) {
|
|
966
983
|
return validateModel("InstallCatalogReleaseResponse", value);
|
|
967
984
|
}
|
|
985
|
+
/** Validates a `InteractiveGenerationDto` against its schema constraints; returns it on success. */
|
|
986
|
+
export function validateInteractiveGenerationDto(value) {
|
|
987
|
+
return validateModel("InteractiveGenerationDto", value);
|
|
988
|
+
}
|
|
989
|
+
/** Validates a `InteractiveGenerationLink` against its schema constraints; returns it on success. */
|
|
990
|
+
export function validateInteractiveGenerationLink(value) {
|
|
991
|
+
return validateModel("InteractiveGenerationLink", value);
|
|
992
|
+
}
|
|
993
|
+
/** Validates a `InteractiveGenerationRequest` against its schema constraints; returns it on success. */
|
|
994
|
+
export function validateInteractiveGenerationRequest(value) {
|
|
995
|
+
return validateModel("InteractiveGenerationRequest", value);
|
|
996
|
+
}
|
|
968
997
|
/** Validates a `Margins` against its schema constraints; returns it on success. */
|
|
969
998
|
export function validateMargins(value) {
|
|
970
999
|
return validateModel("Margins", value);
|