@picteus/extension-sdk 0.20.2 → 0.22.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/dist/generated/frontEndIntents.d.ts +147 -106
- package/dist/generated/frontEndIntents.js +22 -0
- package/dist/generated/viewKit.d.ts +103 -79
- package/dist/generated/viewKit.js +87 -54
- package/dist/picteus-ws-client/apis/AdministrationApi.d.ts +1 -1
- package/dist/picteus-ws-client/apis/AdministrationApi.js +1 -1
- package/dist/picteus-ws-client/apis/ApiSecretApi.d.ts +1 -1
- package/dist/picteus-ws-client/apis/ApiSecretApi.js +1 -1
- package/dist/picteus-ws-client/apis/CollectionApi.d.ts +1 -1
- package/dist/picteus-ws-client/apis/CollectionApi.js +1 -1
- package/dist/picteus-ws-client/apis/ExtensionApi.d.ts +78 -16
- package/dist/picteus-ws-client/apis/ExtensionApi.js +82 -9
- package/dist/picteus-ws-client/apis/ImageApi.d.ts +38 -5
- package/dist/picteus-ws-client/apis/ImageApi.js +53 -9
- package/dist/picteus-ws-client/apis/ImageAttachmentApi.d.ts +1 -1
- package/dist/picteus-ws-client/apis/ImageAttachmentApi.js +1 -1
- package/dist/picteus-ws-client/apis/MarketplaceApi.d.ts +140 -0
- package/dist/picteus-ws-client/apis/MarketplaceApi.js +155 -0
- package/dist/picteus-ws-client/apis/MiscellaneousApi.d.ts +1 -1
- package/dist/picteus-ws-client/apis/MiscellaneousApi.js +1 -1
- package/dist/picteus-ws-client/apis/RepositoryApi.d.ts +43 -47
- package/dist/picteus-ws-client/apis/RepositoryApi.js +52 -54
- package/dist/picteus-ws-client/apis/SettingsApi.d.ts +1 -1
- package/dist/picteus-ws-client/apis/SettingsApi.js +1 -1
- package/dist/picteus-ws-client/apis/index.d.ts +1 -0
- package/dist/picteus-ws-client/apis/index.js +1 -0
- package/dist/picteus-ws-client/models/AiModel.d.ts +8 -1
- package/dist/picteus-ws-client/models/AiModel.js +6 -1
- package/dist/picteus-ws-client/models/AiModelModality.d.ts +27 -0
- package/dist/picteus-ws-client/models/AiModelModality.js +45 -0
- package/dist/picteus-ws-client/models/ApiSecret.d.ts +1 -1
- package/dist/picteus-ws-client/models/ApiSecret.js +1 -1
- package/dist/picteus-ws-client/models/ApiSecretSummary.d.ts +1 -1
- package/dist/picteus-ws-client/models/ApiSecretSummary.js +1 -1
- package/dist/picteus-ws-client/models/ApiSecretType.d.ts +1 -1
- package/dist/picteus-ws-client/models/ApiSecretType.js +1 -1
- package/dist/picteus-ws-client/models/ApplicationConfiguration.d.ts +1 -1
- package/dist/picteus-ws-client/models/ApplicationConfiguration.js +1 -1
- package/dist/picteus-ws-client/models/ApplicationMetadata.d.ts +1 -1
- package/dist/picteus-ws-client/models/ApplicationMetadata.js +1 -1
- package/dist/picteus-ws-client/models/ApplicationMetadataItem.d.ts +1 -1
- package/dist/picteus-ws-client/models/ApplicationMetadataItem.js +1 -1
- package/dist/picteus-ws-client/models/ApplicationMetadataItemValue.d.ts +1 -1
- package/dist/picteus-ws-client/models/ApplicationMetadataItemValue.js +1 -1
- package/dist/picteus-ws-client/models/ApplicationSettings.d.ts +1 -1
- package/dist/picteus-ws-client/models/ApplicationSettings.js +1 -1
- package/dist/picteus-ws-client/models/CaptionInstruction.d.ts +7 -7
- package/dist/picteus-ws-client/models/CaptionInstruction.js +5 -5
- package/dist/picteus-ws-client/models/Collection.d.ts +1 -1
- package/dist/picteus-ws-client/models/Collection.js +1 -1
- package/dist/picteus-ws-client/models/CommandEntity.d.ts +1 -1
- package/dist/picteus-ws-client/models/CommandEntity.js +1 -1
- package/dist/picteus-ws-client/models/ComputedImageFormat.d.ts +1 -1
- package/dist/picteus-ws-client/models/ComputedImageFormat.js +1 -1
- package/dist/picteus-ws-client/models/ConfigurationCapability.d.ts +1 -1
- package/dist/picteus-ws-client/models/ConfigurationCapability.js +1 -1
- package/dist/picteus-ws-client/models/ConfigurationExtensionCommand.d.ts +1 -1
- package/dist/picteus-ws-client/models/ConfigurationExtensionCommand.js +1 -1
- package/dist/picteus-ws-client/models/ConstantsRegistry.d.ts +1 -1
- package/dist/picteus-ws-client/models/ConstantsRegistry.js +1 -1
- package/dist/picteus-ws-client/models/Dates.d.ts +1 -1
- package/dist/picteus-ws-client/models/Dates.js +1 -1
- package/dist/picteus-ws-client/models/EligibleTagsInstruction.d.ts +7 -7
- package/dist/picteus-ws-client/models/EligibleTagsInstruction.js +5 -5
- package/dist/picteus-ws-client/models/EmbeddingInstruction.d.ts +44 -0
- package/dist/picteus-ws-client/models/{ExtensionEligibleTags.js → EmbeddingInstruction.js} +12 -12
- package/dist/picteus-ws-client/models/Extension.d.ts +1 -1
- package/dist/picteus-ws-client/models/Extension.js +1 -1
- package/dist/picteus-ws-client/models/ExtensionActivity.d.ts +1 -1
- package/dist/picteus-ws-client/models/ExtensionActivity.js +1 -1
- package/dist/picteus-ws-client/models/ExtensionActivityState.d.ts +1 -1
- package/dist/picteus-ws-client/models/ExtensionActivityState.js +1 -1
- package/dist/picteus-ws-client/models/ExtensionAiModel.d.ts +8 -1
- package/dist/picteus-ws-client/models/ExtensionAiModel.js +6 -1
- package/dist/picteus-ws-client/models/ExtensionAndManual.d.ts +1 -1
- package/dist/picteus-ws-client/models/ExtensionAndManual.js +1 -1
- package/dist/picteus-ws-client/models/ExtensionCategory.d.ts +1 -1
- package/dist/picteus-ws-client/models/ExtensionCategory.js +1 -1
- package/dist/picteus-ws-client/models/ExtensionGenerationOptions.d.ts +1 -1
- package/dist/picteus-ws-client/models/ExtensionGenerationOptions.js +1 -1
- package/dist/picteus-ws-client/models/ExtensionIdImageEmbeddingName.d.ts +1 -1
- package/dist/picteus-ws-client/models/ExtensionIdImageEmbeddingName.js +1 -1
- package/dist/picteus-ws-client/models/ExtensionImageEmbeddings.d.ts +1 -1
- package/dist/picteus-ws-client/models/ExtensionImageEmbeddings.js +1 -1
- package/dist/picteus-ws-client/models/ExtensionImageFeature.d.ts +1 -1
- package/dist/picteus-ws-client/models/ExtensionImageFeature.js +1 -1
- package/dist/picteus-ws-client/models/ExtensionImageFeatureName.d.ts +1 -1
- package/dist/picteus-ws-client/models/ExtensionImageFeatureName.js +1 -1
- package/dist/picteus-ws-client/models/ExtensionImageFeaturesAttribute.d.ts +1 -1
- package/dist/picteus-ws-client/models/ExtensionImageFeaturesAttribute.js +1 -1
- package/dist/picteus-ws-client/models/ExtensionImageTag.d.ts +1 -1
- package/dist/picteus-ws-client/models/ExtensionImageTag.js +1 -1
- package/dist/picteus-ws-client/models/ExtensionImageTagsAttribute.d.ts +1 -1
- package/dist/picteus-ws-client/models/ExtensionImageTagsAttribute.js +1 -1
- package/dist/picteus-ws-client/models/ExtensionManual.d.ts +1 -1
- package/dist/picteus-ws-client/models/ExtensionManual.js +1 -1
- package/dist/picteus-ws-client/models/ExtensionSettings.d.ts +1 -1
- package/dist/picteus-ws-client/models/ExtensionSettings.js +1 -1
- package/dist/picteus-ws-client/models/ExtensionState.d.ts +1 -1
- package/dist/picteus-ws-client/models/ExtensionState.js +1 -1
- package/dist/picteus-ws-client/models/ExtensionsConfiguration.d.ts +1 -1
- package/dist/picteus-ws-client/models/ExtensionsConfiguration.js +1 -1
- package/dist/picteus-ws-client/models/GenerationRecipe.d.ts +1 -1
- package/dist/picteus-ws-client/models/GenerationRecipe.js +1 -1
- package/dist/picteus-ws-client/models/GenerationRecipePrompt.d.ts +1 -1
- package/dist/picteus-ws-client/models/GenerationRecipePrompt.js +1 -1
- package/dist/picteus-ws-client/models/GenerationRecipeVersion.d.ts +1 -1
- package/dist/picteus-ws-client/models/GenerationRecipeVersion.js +1 -1
- package/dist/picteus-ws-client/models/Image.d.ts +1 -1
- package/dist/picteus-ws-client/models/Image.js +1 -1
- package/dist/picteus-ws-client/models/ImageDimensions.d.ts +1 -1
- package/dist/picteus-ws-client/models/ImageDimensions.js +1 -1
- package/dist/picteus-ws-client/models/ImageDistance.d.ts +1 -1
- package/dist/picteus-ws-client/models/ImageDistance.js +1 -1
- package/dist/picteus-ws-client/models/ImageEmbedding.d.ts +4 -4
- package/dist/picteus-ws-client/models/ImageEmbedding.js +4 -4
- package/dist/picteus-ws-client/models/ImageFeature.d.ts +1 -1
- package/dist/picteus-ws-client/models/ImageFeature.js +1 -1
- package/dist/picteus-ws-client/models/ImageFeatureFormat.d.ts +1 -1
- package/dist/picteus-ws-client/models/ImageFeatureFormat.js +1 -1
- package/dist/picteus-ws-client/models/ImageFeatureNullValue.d.ts +1 -1
- package/dist/picteus-ws-client/models/ImageFeatureNullValue.js +1 -1
- package/dist/picteus-ws-client/models/ImageFeatureType.d.ts +1 -1
- package/dist/picteus-ws-client/models/ImageFeatureType.js +1 -1
- package/dist/picteus-ws-client/models/ImageFeatureValue.d.ts +1 -1
- package/dist/picteus-ws-client/models/ImageFeatureValue.js +1 -1
- package/dist/picteus-ws-client/models/ImageFormat.d.ts +1 -1
- package/dist/picteus-ws-client/models/ImageFormat.js +1 -1
- package/dist/picteus-ws-client/models/ImageMediaUrl.d.ts +1 -1
- package/dist/picteus-ws-client/models/ImageMediaUrl.js +1 -1
- package/dist/picteus-ws-client/models/ImageMetadata.d.ts +1 -1
- package/dist/picteus-ws-client/models/ImageMetadata.js +1 -1
- package/dist/picteus-ws-client/models/ImageResizeRender.d.ts +1 -1
- package/dist/picteus-ws-client/models/ImageResizeRender.js +1 -1
- package/dist/picteus-ws-client/models/ImageSummary.d.ts +1 -1
- package/dist/picteus-ws-client/models/ImageSummary.js +1 -1
- package/dist/picteus-ws-client/models/InstructionsPrompt.d.ts +1 -1
- package/dist/picteus-ws-client/models/InstructionsPrompt.js +1 -1
- package/dist/picteus-ws-client/models/Manifest.d.ts +7 -1
- package/dist/picteus-ws-client/models/Manifest.js +5 -1
- package/dist/picteus-ws-client/models/ManifestAndManual.d.ts +40 -0
- package/dist/picteus-ws-client/models/ManifestAndManual.js +47 -0
- package/dist/picteus-ws-client/models/ManifestCapability.d.ts +1 -1
- package/dist/picteus-ws-client/models/ManifestCapability.js +1 -1
- package/dist/picteus-ws-client/models/ManifestCapabilityCaptionsDetails.d.ts +1 -1
- package/dist/picteus-ws-client/models/ManifestCapabilityCaptionsDetails.js +1 -1
- package/dist/picteus-ws-client/models/ManifestCapabilityEligibleTagsDetails.d.ts +1 -1
- package/dist/picteus-ws-client/models/ManifestCapabilityEligibleTagsDetails.js +1 -1
- package/dist/picteus-ws-client/models/ManifestCapabilityId.d.ts +1 -1
- package/dist/picteus-ws-client/models/ManifestCapabilityId.js +1 -1
- package/dist/picteus-ws-client/models/ManifestEmbeddingsCapability.d.ts +33 -0
- package/dist/picteus-ws-client/models/ManifestEmbeddingsCapability.js +44 -0
- package/dist/picteus-ws-client/models/ManifestEvent.d.ts +2 -1
- package/dist/picteus-ws-client/models/ManifestEvent.js +2 -1
- package/dist/picteus-ws-client/models/ManifestExecution.d.ts +1 -1
- package/dist/picteus-ws-client/models/ManifestExecution.js +1 -1
- package/dist/picteus-ws-client/models/ManifestExtensionCommand.d.ts +1 -1
- package/dist/picteus-ws-client/models/ManifestExtensionCommand.js +1 -1
- package/dist/picteus-ws-client/models/ManifestExtensionCommandOn.d.ts +1 -1
- package/dist/picteus-ws-client/models/ManifestExtensionCommandOn.js +1 -1
- package/dist/picteus-ws-client/models/ManifestExtensionCommandSpecification.d.ts +1 -1
- package/dist/picteus-ws-client/models/ManifestExtensionCommandSpecification.js +1 -1
- package/dist/picteus-ws-client/models/ManifestExtensionCommandUi.d.ts +1 -1
- package/dist/picteus-ws-client/models/ManifestExtensionCommandUi.js +1 -1
- package/dist/picteus-ws-client/models/ManifestImageFeaturesCapability.d.ts +1 -1
- package/dist/picteus-ws-client/models/ManifestImageFeaturesCapability.js +1 -1
- package/dist/picteus-ws-client/models/ManifestImageTagsCapability.d.ts +1 -1
- package/dist/picteus-ws-client/models/ManifestImageTagsCapability.js +1 -1
- package/dist/picteus-ws-client/models/ManifestInstructions.d.ts +1 -1
- package/dist/picteus-ws-client/models/ManifestInstructions.js +1 -1
- package/dist/picteus-ws-client/models/ManifestInstructionsCapabilitiesInner.d.ts +4 -4
- package/dist/picteus-ws-client/models/ManifestInstructionsCapabilitiesInner.js +6 -6
- package/dist/picteus-ws-client/models/ManifestInterfaceElement.d.ts +1 -1
- package/dist/picteus-ws-client/models/ManifestInterfaceElement.js +1 -1
- package/dist/picteus-ws-client/models/ManifestInterfaceElementIntegration.d.ts +1 -1
- package/dist/picteus-ws-client/models/ManifestInterfaceElementIntegration.js +1 -1
- package/dist/picteus-ws-client/models/ManifestRuntime.d.ts +1 -1
- package/dist/picteus-ws-client/models/ManifestRuntime.js +1 -1
- package/dist/picteus-ws-client/models/ManifestRuntimeEnvironment.d.ts +1 -1
- package/dist/picteus-ws-client/models/ManifestRuntimeEnvironment.js +1 -1
- package/dist/picteus-ws-client/models/ManifestThrottlingPolicy.d.ts +1 -1
- package/dist/picteus-ws-client/models/ManifestThrottlingPolicy.js +1 -1
- package/dist/picteus-ws-client/models/ManifestUserInterface.d.ts +1 -1
- package/dist/picteus-ws-client/models/ManifestUserInterface.js +1 -1
- package/dist/picteus-ws-client/models/MarketplaceExtension.d.ts +39 -0
- package/dist/picteus-ws-client/models/MarketplaceExtension.js +46 -0
- package/dist/picteus-ws-client/models/MarketplaceExtensionDetails.d.ts +46 -0
- package/dist/picteus-ws-client/models/MarketplaceExtensionDetails.js +49 -0
- package/dist/picteus-ws-client/models/PromptKind.d.ts +1 -1
- package/dist/picteus-ws-client/models/PromptKind.js +1 -1
- package/dist/picteus-ws-client/models/Repository.d.ts +20 -7
- package/dist/picteus-ws-client/models/Repository.js +12 -3
- package/dist/picteus-ws-client/models/RepositoryActivity.d.ts +1 -1
- package/dist/picteus-ws-client/models/RepositoryActivity.js +1 -1
- package/dist/picteus-ws-client/models/RepositoryActivityKind.d.ts +1 -1
- package/dist/picteus-ws-client/models/RepositoryActivityKind.js +1 -1
- package/dist/picteus-ws-client/models/RepositoryLocationType.d.ts +1 -1
- package/dist/picteus-ws-client/models/RepositoryLocationType.js +1 -1
- package/dist/picteus-ws-client/models/RepositoryMode.d.ts +26 -0
- package/dist/picteus-ws-client/models/RepositoryMode.js +44 -0
- package/dist/picteus-ws-client/models/RepositoryState.d.ts +4 -5
- package/dist/picteus-ws-client/models/RepositoryState.js +4 -5
- package/dist/picteus-ws-client/models/RunCommandParameters.d.ts +1 -1
- package/dist/picteus-ws-client/models/RunCommandParameters.js +1 -1
- package/dist/picteus-ws-client/models/SearchCriteria.d.ts +1 -1
- package/dist/picteus-ws-client/models/SearchCriteria.js +1 -1
- package/dist/picteus-ws-client/models/SearchFeatureComparisonOperator.d.ts +1 -1
- package/dist/picteus-ws-client/models/SearchFeatureComparisonOperator.js +1 -1
- package/dist/picteus-ws-client/models/SearchFeatureCondition.d.ts +1 -1
- package/dist/picteus-ws-client/models/SearchFeatureCondition.js +1 -1
- package/dist/picteus-ws-client/models/SearchFeatureConditionValue.d.ts +1 -1
- package/dist/picteus-ws-client/models/SearchFeatureConditionValue.js +1 -1
- package/dist/picteus-ws-client/models/SearchFeatureLogicalOperator.d.ts +1 -1
- package/dist/picteus-ws-client/models/SearchFeatureLogicalOperator.js +1 -1
- package/dist/picteus-ws-client/models/SearchFeatures.d.ts +1 -1
- package/dist/picteus-ws-client/models/SearchFeatures.js +1 -1
- package/dist/picteus-ws-client/models/SearchFeaturesResult.d.ts +1 -1
- package/dist/picteus-ws-client/models/SearchFeaturesResult.js +1 -1
- package/dist/picteus-ws-client/models/SearchFilter.d.ts +1 -1
- package/dist/picteus-ws-client/models/SearchFilter.js +1 -1
- package/dist/picteus-ws-client/models/SearchFilterOrigin.d.ts +1 -1
- package/dist/picteus-ws-client/models/SearchFilterOrigin.js +1 -1
- package/dist/picteus-ws-client/models/SearchImageIdResult.d.ts +1 -1
- package/dist/picteus-ws-client/models/SearchImageIdResult.js +1 -1
- package/dist/picteus-ws-client/models/SearchImageResult.d.ts +1 -1
- package/dist/picteus-ws-client/models/SearchImageResult.js +1 -1
- package/dist/picteus-ws-client/models/SearchImageSummaryResult.d.ts +1 -1
- package/dist/picteus-ws-client/models/SearchImageSummaryResult.js +1 -1
- package/dist/picteus-ws-client/models/SearchImagesOrigin.d.ts +1 -1
- package/dist/picteus-ws-client/models/SearchImagesOrigin.js +1 -1
- package/dist/picteus-ws-client/models/SearchKeyword.d.ts +1 -1
- package/dist/picteus-ws-client/models/SearchKeyword.js +1 -1
- package/dist/picteus-ws-client/models/SearchMediaUrlResult.d.ts +1 -1
- package/dist/picteus-ws-client/models/SearchMediaUrlResult.js +1 -1
- package/dist/picteus-ws-client/models/SearchOriginNature.d.ts +1 -1
- package/dist/picteus-ws-client/models/SearchOriginNature.js +1 -1
- package/dist/picteus-ws-client/models/SearchParameters.d.ts +1 -1
- package/dist/picteus-ws-client/models/SearchParameters.js +1 -1
- package/dist/picteus-ws-client/models/SearchProperties.d.ts +1 -1
- package/dist/picteus-ws-client/models/SearchProperties.js +1 -1
- package/dist/picteus-ws-client/models/SearchPropertyRange.d.ts +1 -1
- package/dist/picteus-ws-client/models/SearchPropertyRange.js +1 -1
- package/dist/picteus-ws-client/models/SearchRange.d.ts +1 -1
- package/dist/picteus-ws-client/models/SearchRange.js +1 -1
- package/dist/picteus-ws-client/models/SearchRepositoriesOrigin.d.ts +1 -1
- package/dist/picteus-ws-client/models/SearchRepositoriesOrigin.js +1 -1
- package/dist/picteus-ws-client/models/SearchSorting.d.ts +1 -1
- package/dist/picteus-ws-client/models/SearchSorting.js +1 -1
- package/dist/picteus-ws-client/models/SearchSortingProperty.d.ts +1 -1
- package/dist/picteus-ws-client/models/SearchSortingProperty.js +1 -1
- package/dist/picteus-ws-client/models/SearchTags.d.ts +1 -1
- package/dist/picteus-ws-client/models/SearchTags.js +1 -1
- package/dist/picteus-ws-client/models/SearchTagsResult.d.ts +1 -1
- package/dist/picteus-ws-client/models/SearchTagsResult.js +1 -1
- package/dist/picteus-ws-client/models/Software.d.ts +1 -1
- package/dist/picteus-ws-client/models/Software.js +1 -1
- package/dist/picteus-ws-client/models/TagsPlaceholder.d.ts +1 -1
- package/dist/picteus-ws-client/models/TagsPlaceholder.js +1 -1
- package/dist/picteus-ws-client/models/TextualPrompt.d.ts +1 -1
- package/dist/picteus-ws-client/models/TextualPrompt.js +1 -1
- package/dist/picteus-ws-client/models/UserInterfaceAnchor.d.ts +1 -1
- package/dist/picteus-ws-client/models/UserInterfaceAnchor.js +1 -1
- package/dist/picteus-ws-client/models/UserInterfaceSidebarIntegration.d.ts +1 -1
- package/dist/picteus-ws-client/models/UserInterfaceSidebarIntegration.js +1 -1
- package/dist/picteus-ws-client/models/UserInterfaceWindowIntegration.d.ts +1 -1
- package/dist/picteus-ws-client/models/UserInterfaceWindowIntegration.js +1 -1
- package/dist/picteus-ws-client/models/index.d.ts +6 -0
- package/dist/picteus-ws-client/models/index.js +6 -0
- package/dist/picteus-ws-client/runtime.d.ts +1 -1
- package/dist/picteus-ws-client/runtime.js +2 -2
- package/dist/picteusExtension.d.ts +7 -2
- package/dist/picteusExtension.js +13 -4
- package/package.json +1 -1
- package/dist/generated/intentValidator.d.ts +0 -49
- package/dist/generated/intentValidator.js +0 -363
- package/dist/picteus-ws-client/models/ExtensionCaption.d.ts +0 -44
- package/dist/picteus-ws-client/models/ExtensionCaption.js +0 -51
- package/dist/picteus-ws-client/models/ExtensionEligibleTags.d.ts +0 -44
|
@@ -31,10 +31,38 @@ export declare const IntentUiAnchor: typeof UiAnchor;
|
|
|
31
31
|
* The selected anchor is the discriminator for the supported integration surface. Its string value is part of the serialized intent contract and must match one of these declared choices.
|
|
32
32
|
*/
|
|
33
33
|
export type IntentUiAnchor = UiAnchor;
|
|
34
|
+
/**
|
|
35
|
+
* Nature classification of document or frame content.
|
|
36
|
+
*
|
|
37
|
+
* @remarks
|
|
38
|
+
* Format of the document content. Controls how the front-end renders the document.
|
|
39
|
+
*/
|
|
40
|
+
declare enum DocumentNature {
|
|
41
|
+
/** HTML markup document. */
|
|
42
|
+
Html = "html",
|
|
43
|
+
/** Markdown formatted document. */
|
|
44
|
+
Markdown = "markdown"
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Nature classification of document or frame content.
|
|
48
|
+
*
|
|
49
|
+
* @remarks
|
|
50
|
+
* Format of the document content. Controls how the front-end renders the document.
|
|
51
|
+
*/
|
|
52
|
+
export declare const IntentDocumentNature: typeof DocumentNature;
|
|
53
|
+
/**
|
|
54
|
+
* Nature classification of document or frame content.
|
|
55
|
+
*
|
|
56
|
+
* @remarks
|
|
57
|
+
* Format of the document content. Controls how the front-end renders the document.
|
|
58
|
+
*/
|
|
59
|
+
export type IntentDocumentNature = DocumentNature;
|
|
34
60
|
/** Semantic classification and visual styling category of a modal dialog. */
|
|
35
61
|
declare enum DialogType {
|
|
36
62
|
/** Error notice dialog indicating a failure or critical condition. */
|
|
37
63
|
Error = "error",
|
|
64
|
+
/** Alert dialog displaying an important message which should be acknowledged. */
|
|
65
|
+
Warning = "warning",
|
|
38
66
|
/** Informational dialog displaying status, instructions, or notices. */
|
|
39
67
|
Info = "info",
|
|
40
68
|
/** Question or confirmation prompt requiring explicit user decision. */
|
|
@@ -147,7 +175,7 @@ interface WithTitle {
|
|
|
147
175
|
* Optional headline or primary title text.
|
|
148
176
|
*
|
|
149
177
|
* @remarks
|
|
150
|
-
* Short heading intended for a title position in the associated UI. Keep this concise; place explanatory prose in description, subtitle, or details fields.
|
|
178
|
+
* Short heading intended for a title position in the associated UI. Keep this concise; place explanatory prose in description, subtitle, or details fields. The title should be pure text.
|
|
151
179
|
*/
|
|
152
180
|
readonly title?: string;
|
|
153
181
|
}
|
|
@@ -169,7 +197,7 @@ interface TitleSubtitle extends WithTitle {
|
|
|
169
197
|
* Descriptive subtitle or message text.
|
|
170
198
|
*
|
|
171
199
|
* @remarks
|
|
172
|
-
* Short supporting message displayed below a title or as the main text of a compact notification. Use details or body fields for longer content.
|
|
200
|
+
* Short supporting message displayed below a title or as the main text of a compact notification. Use details or body fields for longer content. The subtitle should be pure text.
|
|
173
201
|
*/
|
|
174
202
|
readonly subtitle: string;
|
|
175
203
|
}
|
|
@@ -184,14 +212,14 @@ export type IntentTitleSubtitle = TitleSubtitle;
|
|
|
184
212
|
* Base content structure providing a description.
|
|
185
213
|
*
|
|
186
214
|
* @remarks
|
|
187
|
-
* Reusable explanatory text for content that needs a description independent of its heading. The value
|
|
215
|
+
* Reusable explanatory text for content that needs a description independent of its heading. The value may contain Markdown.
|
|
188
216
|
*/
|
|
189
217
|
interface WithDescription {
|
|
190
218
|
/**
|
|
191
219
|
* Descriptive subtitle or explanatory message text.
|
|
192
220
|
*
|
|
193
221
|
* @remarks
|
|
194
|
-
* Explanatory text associated with the content. Use this for a short overview; additional or more detailed text can be supplied through a details field.
|
|
222
|
+
* Explanatory text associated with the content. Use this for a short overview; additional or more detailed text can be supplied through a details field. The description may contain Markdown.
|
|
195
223
|
*/
|
|
196
224
|
readonly description: string;
|
|
197
225
|
}
|
|
@@ -199,7 +227,7 @@ interface WithDescription {
|
|
|
199
227
|
* Base content structure providing a description.
|
|
200
228
|
*
|
|
201
229
|
* @remarks
|
|
202
|
-
* Reusable explanatory text for content that needs a description independent of its heading. The value
|
|
230
|
+
* Reusable explanatory text for content that needs a description independent of its heading. The value may contain Markdown.
|
|
203
231
|
*/
|
|
204
232
|
export type IntentWithDescription = WithDescription;
|
|
205
233
|
/**
|
|
@@ -213,7 +241,7 @@ interface DescriptionDetails extends WithDescription {
|
|
|
213
241
|
* Optional supplementary details or extended body text.
|
|
214
242
|
*
|
|
215
243
|
* @remarks
|
|
216
|
-
* Optional longer-form supporting content. Consumers may present it as secondary or expandable text;
|
|
244
|
+
* Optional longer-form supporting content. Consumers may present it as secondary or expandable text; the details may contain Markdown.
|
|
217
245
|
*/
|
|
218
246
|
readonly details?: string;
|
|
219
247
|
}
|
|
@@ -291,7 +319,7 @@ export type IntentResourceContent = ResourceContent;
|
|
|
291
319
|
* @remarks
|
|
292
320
|
* Combines a title and explanatory text with an optional icon for headers and notification cards. The icon can be supplied by URL or as bytes through Resource.
|
|
293
321
|
*/
|
|
294
|
-
interface
|
|
322
|
+
interface HeaderContent extends TitleDescriptionDetails {
|
|
295
323
|
/**
|
|
296
324
|
* Optional visual icon resource — supplied as a URL or binary bytes.
|
|
297
325
|
*
|
|
@@ -306,7 +334,7 @@ interface TitleDescriptionDetailsIcon extends TitleDescriptionDetails {
|
|
|
306
334
|
* @remarks
|
|
307
335
|
* Combines a title and explanatory text with an optional icon for headers and notification cards. The icon can be supplied by URL or as bytes through Resource.
|
|
308
336
|
*/
|
|
309
|
-
export type
|
|
337
|
+
export type IntentHeaderContent = HeaderContent;
|
|
310
338
|
/**
|
|
311
339
|
* Base content structure extending title, subtitle, description, and details content with an optional icon.
|
|
312
340
|
*
|
|
@@ -325,21 +353,21 @@ interface TitleSubtitleDescriptionDetailsIcon extends TitleSubtitle {
|
|
|
325
353
|
* Optional supplementary details or extended body text.
|
|
326
354
|
*
|
|
327
355
|
* @remarks
|
|
328
|
-
* Optional longer-form supporting content. Consumers may present it as secondary or expandable text;
|
|
356
|
+
* Optional longer-form supporting content. Consumers may present it as secondary or expandable text; the details may contain Markdown.
|
|
329
357
|
*/
|
|
330
358
|
readonly details?: string;
|
|
331
359
|
/**
|
|
332
360
|
* Descriptive subtitle or explanatory message text.
|
|
333
361
|
*
|
|
334
362
|
* @remarks
|
|
335
|
-
* Explanatory text associated with the content. Use this for a short overview; additional or more detailed text can be supplied through a details field.
|
|
363
|
+
* Explanatory text associated with the content. Use this for a short overview; additional or more detailed text can be supplied through a details field. The description may contain Markdown.
|
|
336
364
|
*/
|
|
337
365
|
readonly description: string;
|
|
338
366
|
/**
|
|
339
367
|
* Optional visual icon resource — supplied as a URL or binary bytes.
|
|
340
368
|
*
|
|
341
369
|
* @remarks
|
|
342
|
-
*
|
|
370
|
+
* Decorative or identifying image for the content header. Choose a URL for separately hosted assets or inline bytes when the asset must travel with the payload.
|
|
343
371
|
*/
|
|
344
372
|
readonly icon?: IntentResourceUrl | IntentResourceContent;
|
|
345
373
|
}
|
|
@@ -351,15 +379,15 @@ interface TitleSubtitleDescriptionDetailsIcon extends TitleSubtitle {
|
|
|
351
379
|
*/
|
|
352
380
|
export type IntentTitleSubtitleDescriptionDetailsIcon = TitleSubtitleDescriptionDetailsIcon;
|
|
353
381
|
/**
|
|
354
|
-
* Dialog content structure extending
|
|
382
|
+
* Dialog content structure extending HeaderContent with an optional icon resource.
|
|
355
383
|
*
|
|
356
384
|
* @remarks
|
|
357
385
|
* Adds the optional resource icon to standard title and description content for dialogs.
|
|
358
386
|
*/
|
|
359
|
-
interface DialogIconContent extends
|
|
387
|
+
interface DialogIconContent extends HeaderContent {
|
|
360
388
|
}
|
|
361
389
|
/**
|
|
362
|
-
* Dialog content structure extending
|
|
390
|
+
* Dialog content structure extending HeaderContent with an optional icon resource.
|
|
363
391
|
*
|
|
364
392
|
* @remarks
|
|
365
393
|
* Adds the optional resource icon to standard title and description content for dialogs.
|
|
@@ -431,6 +459,50 @@ export interface FormIntent extends WithContextIntent {
|
|
|
431
459
|
*/
|
|
432
460
|
readonly form: IntentFormContent;
|
|
433
461
|
}
|
|
462
|
+
/**
|
|
463
|
+
* Embedded frame content specified by a web URL.
|
|
464
|
+
*
|
|
465
|
+
* @remarks
|
|
466
|
+
* URL-backed frame content is loaded by the front-end. The target must be reachable from that front-end's environment and should use an appropriate secure scheme.
|
|
467
|
+
*/
|
|
468
|
+
interface UrlContent {
|
|
469
|
+
/**
|
|
470
|
+
* Target web URL to load inside the embedded frame.
|
|
471
|
+
*
|
|
472
|
+
* @remarks
|
|
473
|
+
* Address of the web document to load. The frame host must be able to reach the location; use a secure URL for remote content.
|
|
474
|
+
*/
|
|
475
|
+
readonly url: string;
|
|
476
|
+
}
|
|
477
|
+
/**
|
|
478
|
+
* Embedded frame content specified by a web URL.
|
|
479
|
+
*
|
|
480
|
+
* @remarks
|
|
481
|
+
* URL-backed frame content is loaded by the front-end. The target must be reachable from that front-end's environment and should use an appropriate secure scheme.
|
|
482
|
+
*/
|
|
483
|
+
export type IntentUrlContent = UrlContent;
|
|
484
|
+
/**
|
|
485
|
+
* Embedded document content specified by a raw inline string — HTML markup or Markdown text.
|
|
486
|
+
*
|
|
487
|
+
* @remarks
|
|
488
|
+
* Inline document content supplied as a string. Depending on the integration nature, it is interpreted as HTML markup or Markdown text rendered by the front-end; callers should not assume access to the host application's privileges.
|
|
489
|
+
*/
|
|
490
|
+
interface InlineContent {
|
|
491
|
+
/**
|
|
492
|
+
* Raw inline string — HTML markup or Markdown text — to render directly inside the embedded view.
|
|
493
|
+
*
|
|
494
|
+
* @remarks
|
|
495
|
+
* Source rendered as the view document. The TypeSpec contract treats it as an opaque string interpreted as HTML markup or Markdown text depending on the container's nature; callers should not assume access to the host application's privileges.
|
|
496
|
+
*/
|
|
497
|
+
readonly inline: string;
|
|
498
|
+
}
|
|
499
|
+
/**
|
|
500
|
+
* Embedded document content specified by a raw inline string — HTML markup or Markdown text.
|
|
501
|
+
*
|
|
502
|
+
* @remarks
|
|
503
|
+
* Inline document content supplied as a string. Depending on the integration nature, it is interpreted as HTML markup or Markdown text rendered by the front-end; callers should not assume access to the host application's privileges.
|
|
504
|
+
*/
|
|
505
|
+
export type IntentInlineContent = InlineContent;
|
|
434
506
|
/**
|
|
435
507
|
* UI integration configuration for mounting an extension view inside the collateral sidebar.
|
|
436
508
|
*
|
|
@@ -452,6 +524,13 @@ interface UISidebarIntegration {
|
|
|
452
524
|
* When true, asks the front-end to open the sidebar-backed view in a separate window. When false, the view is embedded in the sidebar; this flag does not change the integration anchor.
|
|
453
525
|
*/
|
|
454
526
|
readonly isExternal: boolean;
|
|
527
|
+
/**
|
|
528
|
+
* Web content to render inside the view — either a URL or raw HTML.
|
|
529
|
+
*
|
|
530
|
+
* @remarks
|
|
531
|
+
* Content source for the embedded view. Supply one supported variant; use a URL for hosted application content or inline HTML for a self-contained document.
|
|
532
|
+
*/
|
|
533
|
+
readonly content: IntentUrlContent | IntentInlineContent;
|
|
455
534
|
}
|
|
456
535
|
/**
|
|
457
536
|
* UI integration configuration for mounting an extension view inside the collateral sidebar.
|
|
@@ -474,6 +553,13 @@ interface UIWindowIntegration {
|
|
|
474
553
|
* Literal integration discriminator for the independent-window variant.
|
|
475
554
|
*/
|
|
476
555
|
readonly anchor: "window";
|
|
556
|
+
/**
|
|
557
|
+
* Web content to render inside the view — either a URL or raw HTML.
|
|
558
|
+
*
|
|
559
|
+
* @remarks
|
|
560
|
+
* Content source for the embedded view. Supply one supported variant; use a URL for hosted application content or inline HTML for a self-contained document.
|
|
561
|
+
*/
|
|
562
|
+
readonly content: IntentUrlContent | IntentInlineContent;
|
|
477
563
|
}
|
|
478
564
|
/**
|
|
479
565
|
* UI integration configuration for rendering an extension view inside an independent window.
|
|
@@ -496,6 +582,20 @@ interface UIModalIntegration {
|
|
|
496
582
|
* Literal integration discriminator for the modal variant.
|
|
497
583
|
*/
|
|
498
584
|
readonly anchor: "modal";
|
|
585
|
+
/**
|
|
586
|
+
* Nature classification of the modal content — HTML or Markdown.
|
|
587
|
+
*
|
|
588
|
+
* @remarks
|
|
589
|
+
* Format of the document content, specifying whether to render as HTML or Markdown.
|
|
590
|
+
*/
|
|
591
|
+
readonly nature: IntentDocumentNature;
|
|
592
|
+
/**
|
|
593
|
+
* Document content to render inside the view — either a URL or raw HTML/Markdown.
|
|
594
|
+
*
|
|
595
|
+
* @remarks
|
|
596
|
+
* Content source for the embedded view. Supply one supported variant; use a URL for hosted application content or inline markup/text for a self-contained document.
|
|
597
|
+
*/
|
|
598
|
+
readonly content: IntentUrlContent | IntentInlineContent;
|
|
499
599
|
}
|
|
500
600
|
/**
|
|
501
601
|
* UI integration configuration for rendering an extension view inside a modal dialog.
|
|
@@ -518,63 +618,33 @@ interface UITabIntegration {
|
|
|
518
618
|
* Literal integration discriminator for the tab variant.
|
|
519
619
|
*/
|
|
520
620
|
readonly anchor: "tab";
|
|
521
|
-
}
|
|
522
|
-
/**
|
|
523
|
-
* UI integration configuration for rendering an extension view inside a tab.
|
|
524
|
-
*
|
|
525
|
-
* @remarks
|
|
526
|
-
* Selects a dedicated front-end tab as the host surface for the embedded extension view.
|
|
527
|
-
*/
|
|
528
|
-
export type IntentUITabIntegration = UITabIntegration;
|
|
529
|
-
/**
|
|
530
|
-
* Embedded frame content specified by a web URL.
|
|
531
|
-
*
|
|
532
|
-
* @remarks
|
|
533
|
-
* URL-backed frame content is loaded by the front-end. The target must be reachable from that front-end's environment and should use an appropriate secure scheme.
|
|
534
|
-
*/
|
|
535
|
-
interface UrlContent {
|
|
536
621
|
/**
|
|
537
|
-
*
|
|
622
|
+
* Nature classification of the tab content — HTML or Markdown.
|
|
538
623
|
*
|
|
539
624
|
* @remarks
|
|
540
|
-
*
|
|
625
|
+
* Format of the document content, specifying whether to render as HTML or Markdown.
|
|
541
626
|
*/
|
|
542
|
-
readonly
|
|
543
|
-
}
|
|
544
|
-
/**
|
|
545
|
-
* Embedded frame content specified by a web URL.
|
|
546
|
-
*
|
|
547
|
-
* @remarks
|
|
548
|
-
* URL-backed frame content is loaded by the front-end. The target must be reachable from that front-end's environment and should use an appropriate secure scheme.
|
|
549
|
-
*/
|
|
550
|
-
export type IntentUrlContent = UrlContent;
|
|
551
|
-
/**
|
|
552
|
-
* Embedded frame content specified by raw inline HTML markup.
|
|
553
|
-
*
|
|
554
|
-
* @remarks
|
|
555
|
-
* Inline document content supplied as a string. It is rendered by the host frame rather than fetched as a separate page; callers should not assume access to the host application's privileges.
|
|
556
|
-
*/
|
|
557
|
-
interface HtmlContent {
|
|
627
|
+
readonly nature: IntentDocumentNature;
|
|
558
628
|
/**
|
|
559
|
-
*
|
|
629
|
+
* Document content to render inside the view — either a URL or raw HTML/Markdown.
|
|
560
630
|
*
|
|
561
631
|
* @remarks
|
|
562
|
-
*
|
|
632
|
+
* Content source for the embedded view. Supply one supported variant; use a URL for hosted application content or inline markup/text for a self-contained document.
|
|
563
633
|
*/
|
|
564
|
-
readonly
|
|
634
|
+
readonly content: IntentUrlContent | IntentInlineContent;
|
|
565
635
|
}
|
|
566
636
|
/**
|
|
567
|
-
*
|
|
637
|
+
* UI integration configuration for rendering an extension view inside a tab.
|
|
568
638
|
*
|
|
569
639
|
* @remarks
|
|
570
|
-
*
|
|
640
|
+
* Selects a dedicated front-end tab as the host surface for the embedded extension view.
|
|
571
641
|
*/
|
|
572
|
-
export type
|
|
642
|
+
export type IntentUITabIntegration = UITabIntegration;
|
|
573
643
|
/**
|
|
574
644
|
* Complete specification for embedding a custom extension user interface within the front-end.
|
|
575
645
|
*
|
|
576
646
|
* @remarks
|
|
577
|
-
* The front-end uses id to identify the view, integration to choose its host surface
|
|
647
|
+
* The front-end uses id to identify the view, and integration to choose its host surface and contents. headerContent supplies optional header metadata where the selected integration supports it.
|
|
578
648
|
*/
|
|
579
649
|
interface Ui {
|
|
580
650
|
/**
|
|
@@ -585,39 +655,32 @@ interface Ui {
|
|
|
585
655
|
*/
|
|
586
656
|
readonly id: string;
|
|
587
657
|
/**
|
|
588
|
-
* Placement strategy defining where and how the UI is mounted.
|
|
658
|
+
* Placement strategy defining where and how the UI is mounted, including its content.
|
|
589
659
|
*
|
|
590
660
|
* @remarks
|
|
591
|
-
* Discriminated integration configuration. The anchor selects a supported host surface, while fields on that specific variant refine its presentation.
|
|
661
|
+
* Discriminated integration configuration. The anchor selects a supported host surface, while fields on that specific variant refine its presentation and contents.
|
|
592
662
|
*/
|
|
593
663
|
readonly integration: IntentUISidebarIntegration | IntentUIWindowIntegration | IntentUIModalIntegration | IntentUITabIntegration;
|
|
594
|
-
/**
|
|
595
|
-
* Web content to render inside the frame — either a URL or raw HTML.
|
|
596
|
-
*
|
|
597
|
-
* @remarks
|
|
598
|
-
* Content source for the embedded frame. Supply one supported variant; use a URL for hosted application content or inline HTML for a self-contained document.
|
|
599
|
-
*/
|
|
600
|
-
readonly frameContent: IntentUrlContent | IntentHtmlContent;
|
|
601
664
|
/**
|
|
602
665
|
* Optional header title, description, and icon metadata for the view.
|
|
603
666
|
*
|
|
604
667
|
* @remarks
|
|
605
668
|
* Optional display metadata associated with the embedded view. It does not control the integration anchor or the content rendered within the frame.
|
|
606
669
|
*/
|
|
607
|
-
readonly
|
|
670
|
+
readonly headerContent?: IntentHeaderContent;
|
|
608
671
|
}
|
|
609
672
|
/**
|
|
610
673
|
* Complete specification for embedding a custom extension user interface within the front-end.
|
|
611
674
|
*
|
|
612
675
|
* @remarks
|
|
613
|
-
* The front-end uses id to identify the view, integration to choose its host surface
|
|
676
|
+
* The front-end uses id to identify the view, and integration to choose its host surface and contents. headerContent supplies optional header metadata where the selected integration supports it.
|
|
614
677
|
*/
|
|
615
678
|
export type IntentUi = Ui;
|
|
616
679
|
/**
|
|
617
|
-
* An intent that opens a dedicated UI
|
|
680
|
+
* An intent that opens a dedicated UI view — modal, sidebar, window, or tab — rendering a URL, inline HTML markup, or Markdown document.
|
|
618
681
|
*
|
|
619
682
|
* @remarks
|
|
620
|
-
* Requests that the front-end mount the content in the selected integration surface, supplying the
|
|
683
|
+
* Requests that the front-end mount the content in the selected integration surface, supplying the document source and optional header metadata.
|
|
621
684
|
*/
|
|
622
685
|
export interface UiIntent extends WithContextIntent {
|
|
623
686
|
/**
|
|
@@ -660,35 +723,6 @@ export interface OpenBrowserIntent extends BasisIntent {
|
|
|
660
723
|
*/
|
|
661
724
|
readonly openBrowser: IntentOpenBrowser;
|
|
662
725
|
}
|
|
663
|
-
/**
|
|
664
|
-
* Embedded frame configuration rendered within a dialog modal.
|
|
665
|
-
*
|
|
666
|
-
* @remarks
|
|
667
|
-
* The frame embeds URL- or HTML-based content in a dialog body. Its height is expressed as a percentage of the available dialog height so that the front-end can adapt the frame to the dialog's rendered dimensions.
|
|
668
|
-
*/
|
|
669
|
-
interface Frame {
|
|
670
|
-
/**
|
|
671
|
-
* Embedded web content to render inside the dialog frame.
|
|
672
|
-
*
|
|
673
|
-
* @remarks
|
|
674
|
-
* Source for the embedded content. The selected FrameContent variant determines whether the front-end loads a URL or renders supplied markup.
|
|
675
|
-
*/
|
|
676
|
-
readonly content: IntentUrlContent | IntentHtmlContent;
|
|
677
|
-
/**
|
|
678
|
-
* Frame height expressed as a percentage of available dialog height (0 to 100).
|
|
679
|
-
*
|
|
680
|
-
* @remarks
|
|
681
|
-
* Relative height request, bounded from 0 through 100. A value of 100 requests the full available dialog height; the final rendered dimensions remain controlled by the front-end.
|
|
682
|
-
*/
|
|
683
|
-
readonly height: number;
|
|
684
|
-
}
|
|
685
|
-
/**
|
|
686
|
-
* Embedded frame configuration rendered within a dialog modal.
|
|
687
|
-
*
|
|
688
|
-
* @remarks
|
|
689
|
-
* The frame embeds URL- or HTML-based content in a dialog body. Its height is expressed as a percentage of the available dialog height so that the front-end can adapt the frame to the dialog's rendered dimensions.
|
|
690
|
-
*/
|
|
691
|
-
export type IntentFrame = Frame;
|
|
692
726
|
/**
|
|
693
727
|
* Button label configuration for interactive dialog actions.
|
|
694
728
|
*
|
|
@@ -719,26 +753,33 @@ interface DialogButtons {
|
|
|
719
753
|
*/
|
|
720
754
|
export type IntentDialogButtons = DialogButtons;
|
|
721
755
|
/**
|
|
722
|
-
* Configuration for interactive modal dialogs displaying notices, confirmation questions, or embedded
|
|
756
|
+
* Configuration for interactive modal dialogs displaying notices, confirmation questions, or embedded documents.
|
|
723
757
|
*
|
|
724
758
|
* @remarks
|
|
725
|
-
* Defines the dialog's semantic type and user-facing content, with optional embedded content and button labels. Use question for a decision that requires an explicit response;
|
|
759
|
+
* Defines the dialog's semantic type and user-facing content, with optional embedded content and button labels. Use question for a decision that requires an explicit response; alert, error, and info communicate messages without a question response.
|
|
726
760
|
*/
|
|
727
761
|
interface Dialog extends DialogIconSizeContent {
|
|
728
762
|
/**
|
|
729
|
-
* Semantic dialog type — error, info, or question.
|
|
763
|
+
* Semantic dialog type — error, warning, info, or question.
|
|
730
764
|
*
|
|
731
765
|
* @remarks
|
|
732
|
-
* Selects the dialog's interaction and visual treatment. Use question when the caller needs a yes/no choice, and error or info for non-question messages.
|
|
766
|
+
* Selects the dialog's interaction and visual treatment. Use question when the caller needs a yes/no choice, and error, alert, or info for non-question messages.
|
|
733
767
|
*/
|
|
734
768
|
readonly type: IntentDialogType;
|
|
735
769
|
/**
|
|
736
|
-
*
|
|
770
|
+
* Whether the dialog may be dismissed via the escape key or a close button.
|
|
771
|
+
*
|
|
772
|
+
* @remarks
|
|
773
|
+
* When true, allows the user to dismiss the dialog by pressing the escape key or clicking the window close button. Defaults to true.
|
|
774
|
+
*/
|
|
775
|
+
readonly isClosable?: boolean;
|
|
776
|
+
/**
|
|
777
|
+
* Optional embedded document rendered inside the dialog body — either a URL or raw HTML.
|
|
737
778
|
*
|
|
738
779
|
* @remarks
|
|
739
780
|
* Optional embedded content displayed within the dialog. Omit it for text-only dialogs; when present, content should be suitable for the dialog's available space.
|
|
740
781
|
*/
|
|
741
|
-
readonly
|
|
782
|
+
readonly document?: IntentUrlContent | IntentInlineContent;
|
|
742
783
|
/**
|
|
743
784
|
* Button label definitions for user response choices.
|
|
744
785
|
*
|
|
@@ -748,10 +789,10 @@ interface Dialog extends DialogIconSizeContent {
|
|
|
748
789
|
readonly buttons: IntentDialogButtons;
|
|
749
790
|
}
|
|
750
791
|
/**
|
|
751
|
-
* Configuration for interactive modal dialogs displaying notices, confirmation questions, or embedded
|
|
792
|
+
* Configuration for interactive modal dialogs displaying notices, confirmation questions, or embedded documents.
|
|
752
793
|
*
|
|
753
794
|
* @remarks
|
|
754
|
-
* Defines the dialog's semantic type and user-facing content, with optional embedded content and button labels. Use question for a decision that requires an explicit response;
|
|
795
|
+
* Defines the dialog's semantic type and user-facing content, with optional embedded content and button labels. Use question for a decision that requires an explicit response; alert, error, and info communicate messages without a question response.
|
|
755
796
|
*/
|
|
756
797
|
export type IntentDialog = Dialog;
|
|
757
798
|
/**
|
|
@@ -762,10 +803,10 @@ export type IntentDialog = Dialog;
|
|
|
762
803
|
*/
|
|
763
804
|
export interface DialogIntent extends WithContextIntent {
|
|
764
805
|
/**
|
|
765
|
-
* Modal dialog configuration including type, title, buttons, and optional
|
|
806
|
+
* Modal dialog configuration including type, title, buttons, and optional document content.
|
|
766
807
|
*
|
|
767
808
|
* @remarks
|
|
768
|
-
* Required modal content and interaction configuration. Its type, buttons, and optional
|
|
809
|
+
* Required modal content and interaction configuration. Its type, buttons, and optional document determine what the user sees and which response can be returned.
|
|
769
810
|
*/
|
|
770
811
|
readonly dialog: IntentDialog;
|
|
771
812
|
}
|
|
@@ -24,11 +24,33 @@ var UiAnchor;
|
|
|
24
24
|
* The selected anchor is the discriminator for the supported integration surface. Its string value is part of the serialized intent contract and must match one of these declared choices.
|
|
25
25
|
*/
|
|
26
26
|
export const IntentUiAnchor = UiAnchor;
|
|
27
|
+
/**
|
|
28
|
+
* Nature classification of document or frame content.
|
|
29
|
+
*
|
|
30
|
+
* @remarks
|
|
31
|
+
* Format of the document content. Controls how the front-end renders the document.
|
|
32
|
+
*/
|
|
33
|
+
var DocumentNature;
|
|
34
|
+
(function (DocumentNature) {
|
|
35
|
+
/** HTML markup document. */
|
|
36
|
+
DocumentNature["Html"] = "html";
|
|
37
|
+
/** Markdown formatted document. */
|
|
38
|
+
DocumentNature["Markdown"] = "markdown";
|
|
39
|
+
})(DocumentNature || (DocumentNature = {}));
|
|
40
|
+
/**
|
|
41
|
+
* Nature classification of document or frame content.
|
|
42
|
+
*
|
|
43
|
+
* @remarks
|
|
44
|
+
* Format of the document content. Controls how the front-end renders the document.
|
|
45
|
+
*/
|
|
46
|
+
export const IntentDocumentNature = DocumentNature;
|
|
27
47
|
/** Semantic classification and visual styling category of a modal dialog. */
|
|
28
48
|
var DialogType;
|
|
29
49
|
(function (DialogType) {
|
|
30
50
|
/** Error notice dialog indicating a failure or critical condition. */
|
|
31
51
|
DialogType["Error"] = "error";
|
|
52
|
+
/** Alert dialog displaying an important message which should be acknowledged. */
|
|
53
|
+
DialogType["Warning"] = "warning";
|
|
32
54
|
/** Informational dialog displaying status, instructions, or notices. */
|
|
33
55
|
DialogType["Info"] = "info";
|
|
34
56
|
/** Question or confirmation prompt requiring explicit user decision. */
|