@picteus/extension-sdk 0.8.0 → 0.10.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/Intents.d.ts +125 -0
- package/dist/Intents.js +20 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- 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 +2 -2
- package/dist/picteus-ws-client/apis/CollectionApi.d.ts +167 -0
- package/dist/picteus-ws-client/apis/CollectionApi.js +188 -0
- package/dist/picteus-ws-client/apis/ExtensionApi.d.ts +1 -1
- package/dist/picteus-ws-client/apis/ExtensionApi.js +1 -1
- package/dist/picteus-ws-client/apis/ImageApi.d.ts +230 -31
- package/dist/picteus-ws-client/apis/ImageApi.js +268 -24
- 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/MiscellaneousApi.d.ts +1 -1
- package/dist/picteus-ws-client/apis/MiscellaneousApi.js +1 -1
- package/dist/picteus-ws-client/apis/RepositoryApi.d.ts +25 -35
- package/dist/picteus-ws-client/apis/RepositoryApi.js +29 -42
- 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/ApiSecret.d.ts +17 -17
- package/dist/picteus-ws-client/models/ApiSecret.js +7 -7
- package/dist/picteus-ws-client/models/ApiSecretSummary.d.ts +17 -17
- package/dist/picteus-ws-client/models/ApiSecretSummary.js +7 -7
- 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/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/Collection.d.ts +63 -0
- package/dist/picteus-ws-client/models/Collection.js +62 -0
- 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 +40 -0
- package/dist/picteus-ws-client/models/ConstantsRegistry.js +49 -0
- 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/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/ExtensionActivityKind.d.ts +1 -1
- package/dist/picteus-ws-client/models/ExtensionActivityKind.js +1 -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/ExtensionGenerationOptions.d.ts +1 -1
- package/dist/picteus-ws-client/models/ExtensionGenerationOptions.js +1 -1
- package/dist/picteus-ws-client/models/ExtensionImageEmbeddings.d.ts +2 -2
- package/dist/picteus-ws-client/models/ExtensionImageEmbeddings.js +1 -1
- package/dist/picteus-ws-client/models/ExtensionImageFeature.d.ts +6 -5
- package/dist/picteus-ws-client/models/ExtensionImageFeature.js +4 -3
- package/dist/picteus-ws-client/models/ExtensionImageFeatureName.d.ts +52 -0
- package/dist/picteus-ws-client/models/ExtensionImageFeatureName.js +57 -0
- package/dist/picteus-ws-client/models/ExtensionImageFeaturesAttribute.d.ts +39 -0
- package/dist/picteus-ws-client/models/ExtensionImageFeaturesAttribute.js +48 -0
- package/dist/picteus-ws-client/models/ExtensionImageTag.d.ts +2 -2
- package/dist/picteus-ws-client/models/ExtensionImageTag.js +1 -1
- package/dist/picteus-ws-client/models/ExtensionImageTagsAttribute.d.ts +39 -0
- package/dist/picteus-ws-client/models/ExtensionImageTagsAttribute.js +48 -0
- 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/ExtensionStatus.d.ts +1 -1
- package/dist/picteus-ws-client/models/ExtensionStatus.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 +2 -2
- package/dist/picteus-ws-client/models/GenerationRecipe.js +4 -2
- 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/Image.d.ts +2 -2
- 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 +2 -2
- package/dist/picteus-ws-client/models/ImageDistance.js +1 -1
- package/dist/picteus-ws-client/models/ImageEmbeddings.d.ts +2 -2
- package/dist/picteus-ws-client/models/ImageEmbeddings.js +1 -1
- package/dist/picteus-ws-client/models/ImageFeature.d.ts +6 -5
- package/dist/picteus-ws-client/models/ImageFeature.js +4 -3
- package/dist/picteus-ws-client/models/ImageFeatureFormat.d.ts +4 -1
- package/dist/picteus-ws-client/models/ImageFeatureFormat.js +4 -1
- package/dist/picteus-ws-client/models/ImageFeatureNullValue.d.ts +24 -0
- package/dist/picteus-ws-client/models/ImageFeatureNullValue.js +42 -0
- package/dist/picteus-ws-client/models/ImageFeatureType.d.ts +3 -1
- package/dist/picteus-ws-client/models/ImageFeatureType.js +3 -1
- package/dist/picteus-ws-client/models/ImageFeatureValue.d.ts +26 -0
- package/dist/picteus-ws-client/models/ImageFeatureValue.js +31 -0
- package/dist/picteus-ws-client/models/ImageFormat.d.ts +2 -2
- package/dist/picteus-ws-client/models/ImageFormat.js +2 -2
- 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 +2 -2
- package/dist/picteus-ws-client/models/ImageSummary.js +1 -1
- package/dist/picteus-ws-client/models/ImageSummaryList.d.ts +1 -1
- package/dist/picteus-ws-client/models/ImageSummaryList.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 +1 -1
- package/dist/picteus-ws-client/models/Manifest.js +1 -1
- 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/ManifestCapabilityId.d.ts +1 -1
- package/dist/picteus-ws-client/models/ManifestCapabilityId.js +1 -1
- package/dist/picteus-ws-client/models/ManifestEvent.d.ts +3 -1
- package/dist/picteus-ws-client/models/ManifestEvent.js +3 -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/ManifestInstructions.d.ts +1 -1
- package/dist/picteus-ws-client/models/ManifestInstructions.js +1 -1
- package/dist/picteus-ws-client/models/ManifestInterfaceElement.d.ts +13 -7
- package/dist/picteus-ws-client/models/ManifestInterfaceElement.js +9 -5
- package/dist/picteus-ws-client/models/ManifestInterfaceElementIntegration.d.ts +27 -0
- package/dist/picteus-ws-client/models/ManifestInterfaceElementIntegration.js +47 -0
- 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/PromptKind.d.ts +1 -1
- package/dist/picteus-ws-client/models/PromptKind.js +1 -1
- package/dist/picteus-ws-client/models/Repository.d.ts +1 -1
- package/dist/picteus-ws-client/models/Repository.js +1 -1
- 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/RepositoryStatus.d.ts +1 -1
- package/dist/picteus-ws-client/models/RepositoryStatus.js +1 -1
- package/dist/picteus-ws-client/models/SearchCriteria.d.ts +8 -1
- package/dist/picteus-ws-client/models/SearchCriteria.js +4 -1
- package/dist/picteus-ws-client/models/SearchFeatureComparisonOperator.d.ts +30 -0
- package/dist/picteus-ws-client/models/SearchFeatureComparisonOperator.js +48 -0
- package/dist/picteus-ws-client/models/SearchFeatureCondition.d.ts +60 -0
- package/dist/picteus-ws-client/models/SearchFeatureCondition.js +59 -0
- package/dist/picteus-ws-client/models/SearchFeatureConditionValue.d.ts +26 -0
- package/dist/picteus-ws-client/models/SearchFeatureConditionValue.js +31 -0
- package/dist/picteus-ws-client/models/SearchFeatureLogicalOperator.d.ts +26 -0
- package/dist/picteus-ws-client/models/SearchFeatureLogicalOperator.js +44 -0
- package/dist/picteus-ws-client/models/SearchFeatures.d.ts +46 -0
- package/dist/picteus-ws-client/models/SearchFeatures.js +51 -0
- package/dist/picteus-ws-client/models/SearchFeaturesResult.d.ts +39 -0
- package/dist/picteus-ws-client/models/SearchFeaturesResult.js +48 -0
- package/dist/picteus-ws-client/models/SearchFilter.d.ts +47 -0
- package/dist/picteus-ws-client/models/SearchFilter.js +48 -0
- package/dist/picteus-ws-client/models/SearchFilterOrigin.d.ts +27 -0
- package/dist/picteus-ws-client/models/SearchFilterOrigin.js +47 -0
- package/dist/picteus-ws-client/models/SearchImageResult.d.ts +39 -0
- package/dist/picteus-ws-client/models/SearchImageResult.js +48 -0
- package/dist/picteus-ws-client/models/SearchImageSummaryResult.d.ts +39 -0
- package/dist/picteus-ws-client/models/SearchImageSummaryResult.js +48 -0
- package/dist/picteus-ws-client/models/SearchImagesOrigin.d.ts +39 -0
- package/dist/picteus-ws-client/models/SearchImagesOrigin.js +48 -0
- package/dist/picteus-ws-client/models/SearchKeyword.d.ts +2 -2
- package/dist/picteus-ws-client/models/SearchKeyword.js +1 -1
- package/dist/picteus-ws-client/models/SearchMediaUrlResult.d.ts +39 -0
- package/dist/picteus-ws-client/models/SearchMediaUrlResult.js +48 -0
- package/dist/picteus-ws-client/models/SearchOriginNature.d.ts +25 -0
- package/dist/picteus-ws-client/models/SearchOriginNature.js +43 -0
- package/dist/picteus-ws-client/models/SearchParameters.d.ts +46 -0
- package/dist/picteus-ws-client/models/SearchParameters.js +47 -0
- package/dist/picteus-ws-client/models/SearchProperties.d.ts +2 -2
- 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 +2 -2
- package/dist/picteus-ws-client/models/SearchRange.js +1 -1
- package/dist/picteus-ws-client/models/SearchRepositoriesOrigin.d.ts +39 -0
- package/dist/picteus-ws-client/models/SearchRepositoriesOrigin.js +48 -0
- 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 +3 -3
- package/dist/picteus-ws-client/models/SearchTags.js +1 -1
- package/dist/picteus-ws-client/models/SearchTagsResult.d.ts +39 -0
- package/dist/picteus-ws-client/models/SearchTagsResult.js +48 -0
- package/dist/picteus-ws-client/models/Settings.d.ts +1 -1
- package/dist/picteus-ws-client/models/Settings.js +1 -1
- package/dist/picteus-ws-client/models/Software.d.ts +24 -0
- package/dist/picteus-ws-client/models/Software.js +42 -0
- 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 +2 -3
- package/dist/picteus-ws-client/models/UserInterfaceAnchor.js +2 -3
- package/dist/picteus-ws-client/models/UserInterfaceSidebarIntegration.d.ts +39 -0
- package/dist/picteus-ws-client/models/UserInterfaceSidebarIntegration.js +48 -0
- package/dist/picteus-ws-client/models/UserInterfaceWindowIntegration.d.ts +33 -0
- package/dist/picteus-ws-client/models/UserInterfaceWindowIntegration.js +44 -0
- package/dist/picteus-ws-client/models/index.d.ts +27 -1
- package/dist/picteus-ws-client/models/index.js +27 -1
- package/dist/picteus-ws-client/runtime.d.ts +1 -1
- package/dist/picteus-ws-client/runtime.js +1 -1
- package/dist/picteusExtension.d.ts +6 -63
- package/dist/picteusExtension.js +19 -21
- package/package.json +4 -4
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
type Json = Record<string, any>;
|
|
2
|
+
export interface IntentIdentity {
|
|
3
|
+
readonly id: string;
|
|
4
|
+
}
|
|
5
|
+
export interface IntentContext {
|
|
6
|
+
readonly imageIds?: string[];
|
|
7
|
+
}
|
|
8
|
+
export interface BasisIntent {
|
|
9
|
+
readonly identity?: IntentIdentity;
|
|
10
|
+
}
|
|
11
|
+
export interface WithContextIntent extends BasisIntent {
|
|
12
|
+
readonly context?: IntentContext;
|
|
13
|
+
}
|
|
14
|
+
export interface IntentResourceUrl {
|
|
15
|
+
readonly url: string;
|
|
16
|
+
}
|
|
17
|
+
export interface IntentResourceContent {
|
|
18
|
+
readonly content: Buffer;
|
|
19
|
+
}
|
|
20
|
+
export type IntentResource = IntentResourceUrl | IntentResourceContent;
|
|
21
|
+
export interface IntentDialogContent {
|
|
22
|
+
readonly title: string;
|
|
23
|
+
readonly description: string;
|
|
24
|
+
readonly details?: string;
|
|
25
|
+
}
|
|
26
|
+
export interface IntentDialogIconContent extends IntentDialogContent {
|
|
27
|
+
readonly icon?: IntentResource;
|
|
28
|
+
}
|
|
29
|
+
export interface IntentDialogIconSizeContent extends IntentDialogIconContent {
|
|
30
|
+
readonly size?: "auto" | "xs" | "s" | "m" | "l" | "xl";
|
|
31
|
+
}
|
|
32
|
+
export interface IntentFormContent {
|
|
33
|
+
readonly parameters: Json;
|
|
34
|
+
readonly dialogContent?: IntentDialogIconSizeContent;
|
|
35
|
+
}
|
|
36
|
+
export interface FormIntent extends WithContextIntent {
|
|
37
|
+
readonly form: IntentFormContent;
|
|
38
|
+
}
|
|
39
|
+
export declare enum IntentUiAnchor {
|
|
40
|
+
Modal = "modal",
|
|
41
|
+
Sidebar = "sidebar",
|
|
42
|
+
Window = "window",
|
|
43
|
+
ImageDetail = "imageDetail"
|
|
44
|
+
}
|
|
45
|
+
export interface IntentUISidebarIntegration {
|
|
46
|
+
anchor: IntentUiAnchor.Sidebar;
|
|
47
|
+
isExternal: boolean;
|
|
48
|
+
}
|
|
49
|
+
export interface IntentUIWindowIntegration {
|
|
50
|
+
anchor: IntentUiAnchor.Window;
|
|
51
|
+
}
|
|
52
|
+
export interface IntentUIModalIntegration {
|
|
53
|
+
anchor: IntentUiAnchor.Modal;
|
|
54
|
+
}
|
|
55
|
+
export type IntentUIIntegration = IntentUISidebarIntegration | IntentUIWindowIntegration | IntentUIModalIntegration;
|
|
56
|
+
export interface IntentUrlContent {
|
|
57
|
+
readonly url: string;
|
|
58
|
+
}
|
|
59
|
+
export interface IntentHtmlContent {
|
|
60
|
+
readonly html: string;
|
|
61
|
+
}
|
|
62
|
+
export type IntentFrameContent = IntentUrlContent | IntentHtmlContent;
|
|
63
|
+
export interface IntentUi {
|
|
64
|
+
readonly id: string;
|
|
65
|
+
readonly integration: IntentUIIntegration;
|
|
66
|
+
readonly frameContent: IntentFrameContent;
|
|
67
|
+
readonly dialogContent?: IntentDialogIconContent;
|
|
68
|
+
}
|
|
69
|
+
export interface UiIntent extends WithContextIntent {
|
|
70
|
+
readonly ui: IntentUi;
|
|
71
|
+
}
|
|
72
|
+
export declare enum IntentDialogType {
|
|
73
|
+
Error = "error",
|
|
74
|
+
Info = "info",
|
|
75
|
+
Question = "question"
|
|
76
|
+
}
|
|
77
|
+
export interface IntentFrame {
|
|
78
|
+
readonly content: IntentFrameContent;
|
|
79
|
+
readonly height: number;
|
|
80
|
+
}
|
|
81
|
+
export interface IntentDialogButtons {
|
|
82
|
+
yes: string;
|
|
83
|
+
no?: string;
|
|
84
|
+
}
|
|
85
|
+
export interface IntentDialog extends IntentDialogIconSizeContent {
|
|
86
|
+
readonly type: IntentDialogType;
|
|
87
|
+
readonly frame?: IntentFrame;
|
|
88
|
+
readonly buttons: IntentDialogButtons;
|
|
89
|
+
}
|
|
90
|
+
export interface DialogIntent extends WithContextIntent {
|
|
91
|
+
readonly dialog: IntentDialog;
|
|
92
|
+
}
|
|
93
|
+
export interface IntentImage {
|
|
94
|
+
readonly imageId: string;
|
|
95
|
+
readonly dialogContent?: IntentDialogContent;
|
|
96
|
+
}
|
|
97
|
+
export interface IntentImages {
|
|
98
|
+
readonly images: IntentImage[];
|
|
99
|
+
readonly dialogContent: IntentDialogIconContent;
|
|
100
|
+
}
|
|
101
|
+
export interface ImagesIntent extends WithContextIntent {
|
|
102
|
+
readonly images: IntentImages;
|
|
103
|
+
}
|
|
104
|
+
export declare enum IntentShowType {
|
|
105
|
+
Sidebar = "sidebar",
|
|
106
|
+
ExtensionSettings = "extensionSettings",
|
|
107
|
+
Image = "image",
|
|
108
|
+
Repository = "repository"
|
|
109
|
+
}
|
|
110
|
+
export interface IntentShow {
|
|
111
|
+
readonly type: IntentShowType;
|
|
112
|
+
readonly id: string;
|
|
113
|
+
}
|
|
114
|
+
export interface ShowIntent extends BasisIntent {
|
|
115
|
+
readonly show: IntentShow;
|
|
116
|
+
}
|
|
117
|
+
export interface IntentServeBundle {
|
|
118
|
+
readonly content: Buffer;
|
|
119
|
+
readonly settings?: Json;
|
|
120
|
+
}
|
|
121
|
+
export interface BundleIntent extends BasisIntent {
|
|
122
|
+
readonly serveBundle: IntentServeBundle;
|
|
123
|
+
}
|
|
124
|
+
export type Intent = FormIntent | UiIntent | DialogIntent | ImagesIntent | ShowIntent | BundleIntent;
|
|
125
|
+
export {};
|
package/dist/Intents.js
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export var IntentUiAnchor;
|
|
2
|
+
(function (IntentUiAnchor) {
|
|
3
|
+
IntentUiAnchor["Modal"] = "modal";
|
|
4
|
+
IntentUiAnchor["Sidebar"] = "sidebar";
|
|
5
|
+
IntentUiAnchor["Window"] = "window";
|
|
6
|
+
IntentUiAnchor["ImageDetail"] = "imageDetail";
|
|
7
|
+
})(IntentUiAnchor || (IntentUiAnchor = {}));
|
|
8
|
+
export var IntentDialogType;
|
|
9
|
+
(function (IntentDialogType) {
|
|
10
|
+
IntentDialogType["Error"] = "error";
|
|
11
|
+
IntentDialogType["Info"] = "info";
|
|
12
|
+
IntentDialogType["Question"] = "question";
|
|
13
|
+
})(IntentDialogType || (IntentDialogType = {}));
|
|
14
|
+
export var IntentShowType;
|
|
15
|
+
(function (IntentShowType) {
|
|
16
|
+
IntentShowType["Sidebar"] = "sidebar";
|
|
17
|
+
IntentShowType["ExtensionSettings"] = "extensionSettings";
|
|
18
|
+
IntentShowType["Image"] = "image";
|
|
19
|
+
IntentShowType["Repository"] = "repository";
|
|
20
|
+
})(IntentShowType || (IntentShowType = {}));
|
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Picteus
|
|
5
5
|
* The Picteus API
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.14.1
|
|
8
8
|
* Contact: edouard@koppasoft.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -112,7 +112,7 @@ export class ApiSecretApi extends runtime.BaseAPI {
|
|
|
112
112
|
urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
|
|
113
113
|
const response = await this.request({
|
|
114
114
|
path: urlPath,
|
|
115
|
-
method: '
|
|
115
|
+
method: 'GET',
|
|
116
116
|
headers: headerParameters,
|
|
117
117
|
query: queryParameters,
|
|
118
118
|
}, initOverrides);
|
|
@@ -0,0 +1,167 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Picteus
|
|
3
|
+
* The Picteus API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.14.1
|
|
6
|
+
* Contact: edouard@koppasoft.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import * as runtime from '../runtime.js';
|
|
13
|
+
import type { Collection, SearchFilter } from '../models/index.js';
|
|
14
|
+
export interface CollectionApiCollectionCreateRequest {
|
|
15
|
+
name: string;
|
|
16
|
+
searchFilter: SearchFilter;
|
|
17
|
+
comment?: string;
|
|
18
|
+
}
|
|
19
|
+
export interface CollectionApiCollectionDeleteRequest {
|
|
20
|
+
id: number;
|
|
21
|
+
}
|
|
22
|
+
export interface CollectionApiCollectionGetRequest {
|
|
23
|
+
id: number;
|
|
24
|
+
}
|
|
25
|
+
export interface CollectionApiCollectionUpdateRequest {
|
|
26
|
+
id: number;
|
|
27
|
+
name?: string;
|
|
28
|
+
comment?: string;
|
|
29
|
+
searchFilter?: SearchFilter;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* CollectionApi - interface
|
|
33
|
+
*
|
|
34
|
+
* @export
|
|
35
|
+
* @interface CollectionApiInterface
|
|
36
|
+
*/
|
|
37
|
+
export interface CollectionApiInterface {
|
|
38
|
+
/**
|
|
39
|
+
* Declares a new collection.
|
|
40
|
+
* @summary Creates a collection
|
|
41
|
+
* @param {string} name The collection name
|
|
42
|
+
* @param {SearchFilter} searchFilter The filter
|
|
43
|
+
* @param {string} [comment] A comment about the collection
|
|
44
|
+
* @param {*} [options] Override http request option.
|
|
45
|
+
* @throws {RequiredError}
|
|
46
|
+
* @memberof CollectionApiInterface
|
|
47
|
+
*/
|
|
48
|
+
collectionCreateRaw(requestParameters: CollectionApiCollectionCreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Collection>>;
|
|
49
|
+
/**
|
|
50
|
+
* Declares a new collection.
|
|
51
|
+
* Creates a collection
|
|
52
|
+
*/
|
|
53
|
+
collectionCreate(requestParameters: CollectionApiCollectionCreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Collection>;
|
|
54
|
+
/**
|
|
55
|
+
* Once deleted, it cannot be used anymore.
|
|
56
|
+
* @summary Deletes collection
|
|
57
|
+
* @param {number} id The collection identifier
|
|
58
|
+
* @param {*} [options] Override http request option.
|
|
59
|
+
* @throws {RequiredError}
|
|
60
|
+
* @memberof CollectionApiInterface
|
|
61
|
+
*/
|
|
62
|
+
collectionDeleteRaw(requestParameters: CollectionApiCollectionDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
63
|
+
/**
|
|
64
|
+
* Once deleted, it cannot be used anymore.
|
|
65
|
+
* Deletes collection
|
|
66
|
+
*/
|
|
67
|
+
collectionDelete(requestParameters: CollectionApiCollectionDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
68
|
+
/**
|
|
69
|
+
* Returns the details about a collection.
|
|
70
|
+
* @summary Gets a collection
|
|
71
|
+
* @param {number} id The collection identifier
|
|
72
|
+
* @param {*} [options] Override http request option.
|
|
73
|
+
* @throws {RequiredError}
|
|
74
|
+
* @memberof CollectionApiInterface
|
|
75
|
+
*/
|
|
76
|
+
collectionGetRaw(requestParameters: CollectionApiCollectionGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Collection>>;
|
|
77
|
+
/**
|
|
78
|
+
* Returns the details about a collection.
|
|
79
|
+
* Gets a collection
|
|
80
|
+
*/
|
|
81
|
+
collectionGet(requestParameters: CollectionApiCollectionGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Collection>;
|
|
82
|
+
/**
|
|
83
|
+
* Returns all the collections.
|
|
84
|
+
* @summary Lists all collections
|
|
85
|
+
* @param {*} [options] Override http request option.
|
|
86
|
+
* @throws {RequiredError}
|
|
87
|
+
* @memberof CollectionApiInterface
|
|
88
|
+
*/
|
|
89
|
+
collectionListRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<Collection>>>;
|
|
90
|
+
/**
|
|
91
|
+
* Returns all the collections.
|
|
92
|
+
* Lists all collections
|
|
93
|
+
*/
|
|
94
|
+
collectionList(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<Collection>>;
|
|
95
|
+
/**
|
|
96
|
+
* Enables to modify its name, comment and parameters.
|
|
97
|
+
* @summary Updates a collection
|
|
98
|
+
* @param {number} id The collection identifier
|
|
99
|
+
* @param {string} [name] The collection name
|
|
100
|
+
* @param {string} [comment] A comment about the collection
|
|
101
|
+
* @param {SearchFilter} [searchFilter] The filter
|
|
102
|
+
* @param {*} [options] Override http request option.
|
|
103
|
+
* @throws {RequiredError}
|
|
104
|
+
* @memberof CollectionApiInterface
|
|
105
|
+
*/
|
|
106
|
+
collectionUpdateRaw(requestParameters: CollectionApiCollectionUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Collection>>;
|
|
107
|
+
/**
|
|
108
|
+
* Enables to modify its name, comment and parameters.
|
|
109
|
+
* Updates a collection
|
|
110
|
+
*/
|
|
111
|
+
collectionUpdate(requestParameters: CollectionApiCollectionUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Collection>;
|
|
112
|
+
}
|
|
113
|
+
/**
|
|
114
|
+
*
|
|
115
|
+
*/
|
|
116
|
+
export declare class CollectionApi extends runtime.BaseAPI implements CollectionApiInterface {
|
|
117
|
+
/**
|
|
118
|
+
* Declares a new collection.
|
|
119
|
+
* Creates a collection
|
|
120
|
+
*/
|
|
121
|
+
collectionCreateRaw(requestParameters: CollectionApiCollectionCreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Collection>>;
|
|
122
|
+
/**
|
|
123
|
+
* Declares a new collection.
|
|
124
|
+
* Creates a collection
|
|
125
|
+
*/
|
|
126
|
+
collectionCreate(requestParameters: CollectionApiCollectionCreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Collection>;
|
|
127
|
+
/**
|
|
128
|
+
* Once deleted, it cannot be used anymore.
|
|
129
|
+
* Deletes collection
|
|
130
|
+
*/
|
|
131
|
+
collectionDeleteRaw(requestParameters: CollectionApiCollectionDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
132
|
+
/**
|
|
133
|
+
* Once deleted, it cannot be used anymore.
|
|
134
|
+
* Deletes collection
|
|
135
|
+
*/
|
|
136
|
+
collectionDelete(requestParameters: CollectionApiCollectionDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
137
|
+
/**
|
|
138
|
+
* Returns the details about a collection.
|
|
139
|
+
* Gets a collection
|
|
140
|
+
*/
|
|
141
|
+
collectionGetRaw(requestParameters: CollectionApiCollectionGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Collection>>;
|
|
142
|
+
/**
|
|
143
|
+
* Returns the details about a collection.
|
|
144
|
+
* Gets a collection
|
|
145
|
+
*/
|
|
146
|
+
collectionGet(requestParameters: CollectionApiCollectionGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Collection>;
|
|
147
|
+
/**
|
|
148
|
+
* Returns all the collections.
|
|
149
|
+
* Lists all collections
|
|
150
|
+
*/
|
|
151
|
+
collectionListRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<Collection>>>;
|
|
152
|
+
/**
|
|
153
|
+
* Returns all the collections.
|
|
154
|
+
* Lists all collections
|
|
155
|
+
*/
|
|
156
|
+
collectionList(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<Collection>>;
|
|
157
|
+
/**
|
|
158
|
+
* Enables to modify its name, comment and parameters.
|
|
159
|
+
* Updates a collection
|
|
160
|
+
*/
|
|
161
|
+
collectionUpdateRaw(requestParameters: CollectionApiCollectionUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Collection>>;
|
|
162
|
+
/**
|
|
163
|
+
* Enables to modify its name, comment and parameters.
|
|
164
|
+
* Updates a collection
|
|
165
|
+
*/
|
|
166
|
+
collectionUpdate(requestParameters: CollectionApiCollectionUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Collection>;
|
|
167
|
+
}
|
|
@@ -0,0 +1,188 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Picteus
|
|
5
|
+
* The Picteus API
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.14.1
|
|
8
|
+
* Contact: edouard@koppasoft.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import * as runtime from '../runtime.js';
|
|
15
|
+
import { CollectionFromJSON, SearchFilterToJSON, } from '../models/index.js';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
*/
|
|
19
|
+
export class CollectionApi extends runtime.BaseAPI {
|
|
20
|
+
/**
|
|
21
|
+
* Declares a new collection.
|
|
22
|
+
* Creates a collection
|
|
23
|
+
*/
|
|
24
|
+
async collectionCreateRaw(requestParameters, initOverrides) {
|
|
25
|
+
if (requestParameters['name'] == null) {
|
|
26
|
+
throw new runtime.RequiredError('name', 'Required parameter "name" was null or undefined when calling collectionCreate().');
|
|
27
|
+
}
|
|
28
|
+
if (requestParameters['searchFilter'] == null) {
|
|
29
|
+
throw new runtime.RequiredError('searchFilter', 'Required parameter "searchFilter" was null or undefined when calling collectionCreate().');
|
|
30
|
+
}
|
|
31
|
+
const queryParameters = {};
|
|
32
|
+
if (requestParameters['name'] != null) {
|
|
33
|
+
queryParameters['name'] = requestParameters['name'];
|
|
34
|
+
}
|
|
35
|
+
if (requestParameters['comment'] != null) {
|
|
36
|
+
queryParameters['comment'] = requestParameters['comment'];
|
|
37
|
+
}
|
|
38
|
+
const headerParameters = {};
|
|
39
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
40
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
41
|
+
headerParameters["X-API-KEY"] = await this.configuration.apiKey("X-API-KEY"); // api-key authentication
|
|
42
|
+
}
|
|
43
|
+
let urlPath = `/collection/create`;
|
|
44
|
+
const response = await this.request({
|
|
45
|
+
path: urlPath,
|
|
46
|
+
method: 'POST',
|
|
47
|
+
headers: headerParameters,
|
|
48
|
+
query: queryParameters,
|
|
49
|
+
body: SearchFilterToJSON(requestParameters['searchFilter']),
|
|
50
|
+
}, initOverrides);
|
|
51
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => CollectionFromJSON(jsonValue));
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* Declares a new collection.
|
|
55
|
+
* Creates a collection
|
|
56
|
+
*/
|
|
57
|
+
async collectionCreate(requestParameters, initOverrides) {
|
|
58
|
+
const response = await this.collectionCreateRaw(requestParameters, initOverrides);
|
|
59
|
+
return await response.value();
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* Once deleted, it cannot be used anymore.
|
|
63
|
+
* Deletes collection
|
|
64
|
+
*/
|
|
65
|
+
async collectionDeleteRaw(requestParameters, initOverrides) {
|
|
66
|
+
if (requestParameters['id'] == null) {
|
|
67
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling collectionDelete().');
|
|
68
|
+
}
|
|
69
|
+
const queryParameters = {};
|
|
70
|
+
const headerParameters = {};
|
|
71
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
72
|
+
headerParameters["X-API-KEY"] = await this.configuration.apiKey("X-API-KEY"); // api-key authentication
|
|
73
|
+
}
|
|
74
|
+
let urlPath = `/collection/{id}/delete`;
|
|
75
|
+
urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
|
|
76
|
+
const response = await this.request({
|
|
77
|
+
path: urlPath,
|
|
78
|
+
method: 'DELETE',
|
|
79
|
+
headers: headerParameters,
|
|
80
|
+
query: queryParameters,
|
|
81
|
+
}, initOverrides);
|
|
82
|
+
return new runtime.VoidApiResponse(response);
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
85
|
+
* Once deleted, it cannot be used anymore.
|
|
86
|
+
* Deletes collection
|
|
87
|
+
*/
|
|
88
|
+
async collectionDelete(requestParameters, initOverrides) {
|
|
89
|
+
await this.collectionDeleteRaw(requestParameters, initOverrides);
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
* Returns the details about a collection.
|
|
93
|
+
* Gets a collection
|
|
94
|
+
*/
|
|
95
|
+
async collectionGetRaw(requestParameters, initOverrides) {
|
|
96
|
+
if (requestParameters['id'] == null) {
|
|
97
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling collectionGet().');
|
|
98
|
+
}
|
|
99
|
+
const queryParameters = {};
|
|
100
|
+
const headerParameters = {};
|
|
101
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
102
|
+
headerParameters["X-API-KEY"] = await this.configuration.apiKey("X-API-KEY"); // api-key authentication
|
|
103
|
+
}
|
|
104
|
+
let urlPath = `/collection/{id}/get`;
|
|
105
|
+
urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
|
|
106
|
+
const response = await this.request({
|
|
107
|
+
path: urlPath,
|
|
108
|
+
method: 'GET',
|
|
109
|
+
headers: headerParameters,
|
|
110
|
+
query: queryParameters,
|
|
111
|
+
}, initOverrides);
|
|
112
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => CollectionFromJSON(jsonValue));
|
|
113
|
+
}
|
|
114
|
+
/**
|
|
115
|
+
* Returns the details about a collection.
|
|
116
|
+
* Gets a collection
|
|
117
|
+
*/
|
|
118
|
+
async collectionGet(requestParameters, initOverrides) {
|
|
119
|
+
const response = await this.collectionGetRaw(requestParameters, initOverrides);
|
|
120
|
+
return await response.value();
|
|
121
|
+
}
|
|
122
|
+
/**
|
|
123
|
+
* Returns all the collections.
|
|
124
|
+
* Lists all collections
|
|
125
|
+
*/
|
|
126
|
+
async collectionListRaw(initOverrides) {
|
|
127
|
+
const queryParameters = {};
|
|
128
|
+
const headerParameters = {};
|
|
129
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
130
|
+
headerParameters["X-API-KEY"] = await this.configuration.apiKey("X-API-KEY"); // api-key authentication
|
|
131
|
+
}
|
|
132
|
+
let urlPath = `/collection/list`;
|
|
133
|
+
const response = await this.request({
|
|
134
|
+
path: urlPath,
|
|
135
|
+
method: 'GET',
|
|
136
|
+
headers: headerParameters,
|
|
137
|
+
query: queryParameters,
|
|
138
|
+
}, initOverrides);
|
|
139
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(CollectionFromJSON));
|
|
140
|
+
}
|
|
141
|
+
/**
|
|
142
|
+
* Returns all the collections.
|
|
143
|
+
* Lists all collections
|
|
144
|
+
*/
|
|
145
|
+
async collectionList(initOverrides) {
|
|
146
|
+
const response = await this.collectionListRaw(initOverrides);
|
|
147
|
+
return await response.value();
|
|
148
|
+
}
|
|
149
|
+
/**
|
|
150
|
+
* Enables to modify its name, comment and parameters.
|
|
151
|
+
* Updates a collection
|
|
152
|
+
*/
|
|
153
|
+
async collectionUpdateRaw(requestParameters, initOverrides) {
|
|
154
|
+
if (requestParameters['id'] == null) {
|
|
155
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling collectionUpdate().');
|
|
156
|
+
}
|
|
157
|
+
const queryParameters = {};
|
|
158
|
+
if (requestParameters['name'] != null) {
|
|
159
|
+
queryParameters['name'] = requestParameters['name'];
|
|
160
|
+
}
|
|
161
|
+
if (requestParameters['comment'] != null) {
|
|
162
|
+
queryParameters['comment'] = requestParameters['comment'];
|
|
163
|
+
}
|
|
164
|
+
const headerParameters = {};
|
|
165
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
166
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
167
|
+
headerParameters["X-API-KEY"] = await this.configuration.apiKey("X-API-KEY"); // api-key authentication
|
|
168
|
+
}
|
|
169
|
+
let urlPath = `/collection/{id}/update`;
|
|
170
|
+
urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
|
|
171
|
+
const response = await this.request({
|
|
172
|
+
path: urlPath,
|
|
173
|
+
method: 'PUT',
|
|
174
|
+
headers: headerParameters,
|
|
175
|
+
query: queryParameters,
|
|
176
|
+
body: SearchFilterToJSON(requestParameters['searchFilter']),
|
|
177
|
+
}, initOverrides);
|
|
178
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => CollectionFromJSON(jsonValue));
|
|
179
|
+
}
|
|
180
|
+
/**
|
|
181
|
+
* Enables to modify its name, comment and parameters.
|
|
182
|
+
* Updates a collection
|
|
183
|
+
*/
|
|
184
|
+
async collectionUpdate(requestParameters, initOverrides) {
|
|
185
|
+
const response = await this.collectionUpdateRaw(requestParameters, initOverrides);
|
|
186
|
+
return await response.value();
|
|
187
|
+
}
|
|
188
|
+
}
|