neuland-hub-sdk 1.0.3
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/.openapi-generator/FILES +314 -0
- package/.openapi-generator/VERSION +1 -0
- package/.openapi-generator-ignore +27 -0
- package/LICENSE +10 -0
- package/README.md +619 -0
- package/api.ts +32704 -0
- package/base.ts +62 -0
- package/common.ts +127 -0
- package/configuration.ts +121 -0
- package/dist/api.d.ts +17739 -0
- package/dist/api.js +35085 -0
- package/dist/base.d.ts +42 -0
- package/dist/base.js +67 -0
- package/dist/common.d.ts +34 -0
- package/dist/common.js +231 -0
- package/dist/configuration.d.ts +98 -0
- package/dist/configuration.js +57 -0
- package/dist/index.d.ts +13 -0
- package/dist/index.js +31 -0
- package/docs/AccessItemOut.md +31 -0
- package/docs/AccessKind.md +13 -0
- package/docs/Alert.md +416 -0
- package/docs/ApiKey.md +123 -0
- package/docs/ApiKeyCreateRequest.md +23 -0
- package/docs/ApiKeyCreateResponse.md +27 -0
- package/docs/ApiKeyInventoryRequest.md +21 -0
- package/docs/ApiKeyInventoryResponse.md +22 -0
- package/docs/ApiKeyInventoryRow.md +36 -0
- package/docs/Application.md +308 -0
- package/docs/ApplicationAccessIn.md +23 -0
- package/docs/ApplicationCatalog.md +43 -0
- package/docs/ApplicationCatalogIn.md +29 -0
- package/docs/ApplicationCatalogUpdate.md +29 -0
- package/docs/ApplicationGroupOut.md +31 -0
- package/docs/ApplicationIn.md +37 -0
- package/docs/ApplicationMarketplace.md +490 -0
- package/docs/ApplicationMemberOut.md +31 -0
- package/docs/Assistant.md +1269 -0
- package/docs/AssistantCatalog.md +53 -0
- package/docs/AssistantCatalogIn.md +38 -0
- package/docs/AssistantCatalogToolOut.md +27 -0
- package/docs/AssistantCatalogUpdate.md +38 -0
- package/docs/AssistantGroupOut.md +31 -0
- package/docs/AssistantGroupsIn.md +20 -0
- package/docs/AssistantIn.md +42 -0
- package/docs/AssistantInputTypeEnum.md +10 -0
- package/docs/AssistantLibrary.md +30 -0
- package/docs/AssistantMarketplace.md +644 -0
- package/docs/AssistantMemberGrantedViaEnum.md +10 -0
- package/docs/AssistantMemberOut.md +29 -0
- package/docs/AssistantMembersIn.md +20 -0
- package/docs/AssistantTool.md +26 -0
- package/docs/AssistantVisibilityEnum.md +10 -0
- package/docs/AssistantVisibilityUpdate.md +21 -0
- package/docs/Atlassian.md +69 -0
- package/docs/Auth.md +816 -0
- package/docs/AuthConnector.md +622 -0
- package/docs/Bcc.md +19 -0
- package/docs/BudgetAlert.md +41 -0
- package/docs/BudgetAlertRequest.md +23 -0
- package/docs/BudgetAlertUpdate.md +25 -0
- package/docs/BudgetForecast.md +35 -0
- package/docs/BudgetSummary.md +43 -0
- package/docs/BudgetTopUpOut.md +29 -0
- package/docs/BudgetTopUpRequest.md +21 -0
- package/docs/BulkResult.md +22 -0
- package/docs/CatalogIn.md +46 -0
- package/docs/CatalogUpdate.md +46 -0
- package/docs/Category.md +61 -0
- package/docs/CategoryOut.md +33 -0
- package/docs/Cc.md +19 -0
- package/docs/Chat.md +555 -0
- package/docs/ChatIn.md +34 -0
- package/docs/ChatInactiveDocumentOut.md +27 -0
- package/docs/ChatLibrary.md +30 -0
- package/docs/ClarificationAnswer.md +25 -0
- package/docs/ConnectSharedMailboxIn.md +22 -0
- package/docs/Connector.md +44 -0
- package/docs/ConnectorAuthType.md +13 -0
- package/docs/ConnectorConsentOut.md +22 -0
- package/docs/ConnectorOut.md +30 -0
- package/docs/ConnectorStatusOut.md +38 -0
- package/docs/ConnectorUpdate.md +20 -0
- package/docs/CostAudioPerMinute.md +19 -0
- package/docs/CostByModel.md +32 -0
- package/docs/CostBySource.md +30 -0
- package/docs/CostCacheCreationTokens.md +19 -0
- package/docs/CostCacheCreationTokensAboveTier.md +19 -0
- package/docs/CostCachedTokens.md +19 -0
- package/docs/CostCachedTokensAboveTier.md +19 -0
- package/docs/CostCompletionTokens.md +19 -0
- package/docs/CostCompletionTokens1.md +19 -0
- package/docs/CostCompletionTokensAboveTier.md +19 -0
- package/docs/CostPromptTokens.md +19 -0
- package/docs/CostPromptTokens1.md +19 -0
- package/docs/CostPromptTokensAboveTier.md +19 -0
- package/docs/CostTimeseriesPoint.md +26 -0
- package/docs/CreateOutlookDraftRequest.md +35 -0
- package/docs/CreateOutlookDraftResponse.md +31 -0
- package/docs/CredentialIn.md +20 -0
- package/docs/CredentialPartOut.md +26 -0
- package/docs/CredentialTemplateOut.md +30 -0
- package/docs/CustomConnector.md +231 -0
- package/docs/CustomConnectorCreate.md +27 -0
- package/docs/CustomConnectorOut.md +30 -0
- package/docs/CustomConnectorUpdate.md +22 -0
- package/docs/DataSourceCapabilities.md +25 -0
- package/docs/DataSourceDriveModel.md +31 -0
- package/docs/DataSourceFolderModel.md +21 -0
- package/docs/DataSourceItemModel.md +47 -0
- package/docs/DataSourceSiteModel.md +31 -0
- package/docs/DataSourceUserModel.md +29 -0
- package/docs/DateWindowRequest.md +23 -0
- package/docs/Default.md +240 -0
- package/docs/DirectFileUrl.md +22 -0
- package/docs/Document.md +533 -0
- package/docs/DocumentMetrics.md +26 -0
- package/docs/DocumentTextOut.md +21 -0
- package/docs/DocumentUsageRequest.md +31 -0
- package/docs/DocumentUsageResponse.md +32 -0
- package/docs/DocumentUsageRow.md +30 -0
- package/docs/Dropbox.md +458 -0
- package/docs/EmailCatalogOut.md +25 -0
- package/docs/EmailSpec.md +27 -0
- package/docs/EmailTemplateKey.md +35 -0
- package/docs/Example.md +19 -0
- package/docs/FeatureFlag.md +194 -0
- package/docs/FeatureFlagOut.md +28 -0
- package/docs/FeatureFlagSetIn.md +20 -0
- package/docs/File.md +125 -0
- package/docs/FormField.md +33 -0
- package/docs/FormFieldTypeEnum.md +20 -0
- package/docs/GoogleDrive.md +458 -0
- package/docs/GroupAppAccessIn.md +23 -0
- package/docs/GroupIn.md +27 -0
- package/docs/GroupSyncOut.md +25 -0
- package/docs/HTTPValidationError.md +20 -0
- package/docs/IdleAssistant.md +24 -0
- package/docs/Invitation.md +293 -0
- package/docs/InvitationIn.md +28 -0
- package/docs/InvitationOut.md +44 -0
- package/docs/LLMConnectionTestIn.md +43 -0
- package/docs/LLMConnectionTestOut.md +25 -0
- package/docs/LLMSettingsIn.md +68 -0
- package/docs/LLMSettingsUpdate.md +68 -0
- package/docs/Library.md +437 -0
- package/docs/LibraryIn.md +22 -0
- package/docs/LibraryMemberBulkDelete.md +20 -0
- package/docs/LibraryMemberBulkIn.md +20 -0
- package/docs/LibraryMemberIn.md +22 -0
- package/docs/LibraryMemberOut.md +29 -0
- package/docs/LibraryUpdateIn.md +22 -0
- package/docs/LicenseUtilization.md +26 -0
- package/docs/Llm.md +540 -0
- package/docs/LlmCatalog.md +188 -0
- package/docs/LlmSetting.md +331 -0
- package/docs/LocationInner.md +18 -0
- package/docs/MarketplaceCatalogStateEnum.md +11 -0
- package/docs/MarketplaceCatalogStateUpdate.md +21 -0
- package/docs/Message.md +602 -0
- package/docs/MessageDetailOut.md +57 -0
- package/docs/MessageFileOut.md +26 -0
- package/docs/MessageIn.md +50 -0
- package/docs/MessageSubmitOut.md +65 -0
- package/docs/MessageTokensResponse.md +32 -0
- package/docs/MessageTurnOut.md +22 -0
- package/docs/ModelDelta.md +26 -0
- package/docs/ModelTierEnum.md +13 -0
- package/docs/MoversResponse.md +34 -0
- package/docs/NeulandAssistantsTaggingOut.md +29 -0
- package/docs/NeulandMarketplaceAssistantSchemasTaggingOut.md +29 -0
- package/docs/Nextcloud.md +458 -0
- package/docs/OAuth2ProviderEnum.md +35 -0
- package/docs/OAuthClient.md +40 -0
- package/docs/OAuthClientUpdate.md +26 -0
- package/docs/OneDrive.md +458 -0
- package/docs/OutputFormat.md +20 -0
- package/docs/PasswordResetIn.md +22 -0
- package/docs/PasswordResetRequestIn.md +20 -0
- package/docs/PlanStatus.md +19 -0
- package/docs/Project.md +615 -0
- package/docs/ProjectIn.md +24 -0
- package/docs/ProjectLibrary.md +30 -0
- package/docs/ProjectMember.md +28 -0
- package/docs/ProjectMemberBulkDelete.md +20 -0
- package/docs/ProjectMemberBulkIn.md +20 -0
- package/docs/ProjectMemberIn.md +22 -0
- package/docs/Prompt.md +248 -0
- package/docs/PromptIn.md +26 -0
- package/docs/PromptOptimizeIn.md +22 -0
- package/docs/PromptOptimizeOut.md +20 -0
- package/docs/Query.md +123 -0
- package/docs/RateableTypeEnum.md +13 -0
- package/docs/Rating.md +129 -0
- package/docs/RatingIn.md +27 -0
- package/docs/ReasoningEffortEnum.md +13 -0
- package/docs/RephraseStyleEnum.md +12 -0
- package/docs/ResourceAccess.md +197 -0
- package/docs/ResponseAuthGetEntraGroupsValue.md +18 -0
- package/docs/ResponseDropboxListRoots.md +18 -0
- package/docs/ResponseGoogledriveListRoots.md +18 -0
- package/docs/ResponseNextcloudListRoots.md +18 -0
- package/docs/ResponseOnedriveListRoots.md +18 -0
- package/docs/ResponseSharepointv1ListRoots.md +18 -0
- package/docs/ResumeIn.md +26 -0
- package/docs/Role.md +495 -0
- package/docs/RoleIn.md +39 -0
- package/docs/RoleUpdateIn.md +36 -0
- package/docs/RunCreateOut.md +22 -0
- package/docs/SecretUpdateIn.md +20 -0
- package/docs/SendEmailRequest.md +35 -0
- package/docs/SendEmailResponse.md +27 -0
- package/docs/SetAtlassianCloudIdRequest.md +21 -0
- package/docs/Settings.md +183 -0
- package/docs/SettingsIn.md +52 -0
- package/docs/SharedMailbox.md +29 -0
- package/docs/SharedMailboxCandidateOut.md +26 -0
- package/docs/SharedMailboxListOut.md +20 -0
- package/docs/SharedMailboxSearchOut.md +20 -0
- package/docs/Sharepoint.md +402 -0
- package/docs/SharepointDriveModel.md +31 -0
- package/docs/SharepointFolderModel.md +21 -0
- package/docs/SharepointItemModel.md +47 -0
- package/docs/SharepointSiteModel.md +31 -0
- package/docs/SharepointUserModel.md +29 -0
- package/docs/SharepointV1.md +458 -0
- package/docs/SsoExchangeIn.md +22 -0
- package/docs/SsoInitOut.md +24 -0
- package/docs/SsoResolveOut.md +22 -0
- package/docs/Storage.md +66 -0
- package/docs/StreamTokenOut.md +20 -0
- package/docs/SubtenantUsageResponse.md +26 -0
- package/docs/SubtenantUsageRow.md +34 -0
- package/docs/System.md +122 -0
- package/docs/SystemSettings.md +44 -0
- package/docs/SystemSettingsUpdate.md +41 -0
- package/docs/Tag.md +187 -0
- package/docs/TagIn.md +20 -0
- package/docs/TaggableTypeEnum.md +12 -0
- package/docs/Tagging.md +32 -0
- package/docs/Tarif.md +189 -0
- package/docs/TarifIn.md +39 -0
- package/docs/TarifStatusEnum.md +11 -0
- package/docs/Template.md +243 -0
- package/docs/TemplateIn.md +31 -0
- package/docs/TemplateOut.md +35 -0
- package/docs/TemplateUpdate.md +31 -0
- package/docs/Tenant.md +1189 -0
- package/docs/TenantIn.md +68 -0
- package/docs/TenantLLM.md +33 -0
- package/docs/TenantModelBulkIn.md +22 -0
- package/docs/TenantModelIn.md +20 -0
- package/docs/TenantOAuthClientIn.md +32 -0
- package/docs/TenantOAuthClientOut.md +36 -0
- package/docs/TenantOAuthClientUpdate.md +30 -0
- package/docs/TenantOut.md +76 -0
- package/docs/TenantThemeOut.md +46 -0
- package/docs/TenantUpdateIn.md +66 -0
- package/docs/ThemeModeEnum.md +12 -0
- package/docs/TimeseriesPoint.md +23 -0
- package/docs/TimeseriesResponse.md +23 -0
- package/docs/To.md +19 -0
- package/docs/To1.md +19 -0
- package/docs/TokenOut.md +22 -0
- package/docs/TokenTimeseriesPerModel.md +23 -0
- package/docs/TokenTimeseriesPoint.md +23 -0
- package/docs/TokensPerModel.md +31 -0
- package/docs/TokensTimeseriesResponse.md +31 -0
- package/docs/Tool.md +188 -0
- package/docs/ToolAction.md +355 -0
- package/docs/ToolCallOut.md +38 -0
- package/docs/ToolCallProgressStepOut.md +24 -0
- package/docs/ToolCreate.md +27 -0
- package/docs/ToolOut.md +35 -0
- package/docs/ToolUpdate.md +27 -0
- package/docs/Transcription.md +114 -0
- package/docs/TranscriptionOut.md +27 -0
- package/docs/TranscriptionSegment.md +27 -0
- package/docs/Translation.md +20 -0
- package/docs/UsageCostRequest.md +30 -0
- package/docs/UsageCostResponse.md +40 -0
- package/docs/UsageMetrics.md +28 -0
- package/docs/UsageQueryRequest.md +41 -0
- package/docs/UsageQueryResponse.md +32 -0
- package/docs/UsageRequest.md +25 -0
- package/docs/UsageRow.md +32 -0
- package/docs/User.md +786 -0
- package/docs/UserAccessOut.md +31 -0
- package/docs/UserGrantIn.md +21 -0
- package/docs/UserGrantOut.md +27 -0
- package/docs/UserGroup.md +39 -0
- package/docs/UserGroupMember.md +29 -0
- package/docs/UserGroupSource.md +11 -0
- package/docs/UserIn.md +34 -0
- package/docs/UserMeOut.md +51 -0
- package/docs/UserOut.md +48 -0
- package/docs/UserPreferenceOut.md +28 -0
- package/docs/UserPreferenceUpdateIn.md +24 -0
- package/docs/UserUpdateIn.md +34 -0
- package/docs/UtilizationRequest.md +24 -0
- package/docs/UtilizationResponse.md +28 -0
- package/docs/ValidationError.md +28 -0
- package/docs/VariableSpec.md +27 -0
- package/docs/Workflow.md +411 -0
- package/docs/WorkflowChatIn.md +20 -0
- package/docs/WorkflowChatOut.md +26 -0
- package/docs/WorkflowIn.md +30 -0
- package/docs/WorkflowUpdateIn.md +28 -0
- package/index.ts +18 -0
- package/package.json +31 -0
- package/tsconfig.json +21 -0
|
@@ -0,0 +1,458 @@
|
|
|
1
|
+
# Nextcloud
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *http://localhost*
|
|
4
|
+
|
|
5
|
+
|Method | HTTP request | Description|
|
|
6
|
+
|------------- | ------------- | -------------|
|
|
7
|
+
|[**nextcloudCapabilities**](#nextcloudcapabilities) | **GET** /integrations/nextcloud/capabilities | Get data source capabilities|
|
|
8
|
+
|[**nextcloudGetItemInfo**](#nextcloudgetiteminfo) | **GET** /integrations/nextcloud/drives/{drive_id}/items/{drive_item_id} | Get a drive item|
|
|
9
|
+
|[**nextcloudGetUserInfo**](#nextcloudgetuserinfo) | **GET** /integrations/nextcloud/me | Get connected user profile|
|
|
10
|
+
|[**nextcloudIsConnected**](#nextcloudisconnected) | **GET** /integrations/nextcloud/connected | Check connection status|
|
|
11
|
+
|[**nextcloudListChildren**](#nextcloudlistchildren) | **GET** /integrations/nextcloud/drives/{drive_id}/items/{drive_item_id}/children | List children of a drive item|
|
|
12
|
+
|[**nextcloudListDrives**](#nextcloudlistdrives) | **GET** /integrations/nextcloud/sites/{site_id}/drives | List drives in a site|
|
|
13
|
+
|[**nextcloudListRoots**](#nextcloudlistroots) | **GET** /integrations/nextcloud/roots | List top-level browse entries|
|
|
14
|
+
|
|
15
|
+
# **nextcloudCapabilities**
|
|
16
|
+
> DataSourceCapabilities nextcloudCapabilities()
|
|
17
|
+
|
|
18
|
+
Return the browse-hierarchy metadata (root kind, depth) for this source.
|
|
19
|
+
|
|
20
|
+
### Example
|
|
21
|
+
|
|
22
|
+
```typescript
|
|
23
|
+
import {
|
|
24
|
+
Nextcloud,
|
|
25
|
+
Configuration
|
|
26
|
+
} from 'neuland-hub-sdk';
|
|
27
|
+
|
|
28
|
+
const configuration = new Configuration();
|
|
29
|
+
const apiInstance = new Nextcloud(configuration);
|
|
30
|
+
|
|
31
|
+
let cookieName: string; // (optional) (default to undefined)
|
|
32
|
+
|
|
33
|
+
const { status, data } = await apiInstance.nextcloudCapabilities(
|
|
34
|
+
cookieName
|
|
35
|
+
);
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
### Parameters
|
|
39
|
+
|
|
40
|
+
|Name | Type | Description | Notes|
|
|
41
|
+
|------------- | ------------- | ------------- | -------------|
|
|
42
|
+
| **cookieName** | [**string**] | | (optional) defaults to undefined|
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
### Return type
|
|
46
|
+
|
|
47
|
+
**DataSourceCapabilities**
|
|
48
|
+
|
|
49
|
+
### Authorization
|
|
50
|
+
|
|
51
|
+
[APIKeyHeader](../README.md#APIKeyHeader), [OAuth2PasswordBearer](../README.md#OAuth2PasswordBearer)
|
|
52
|
+
|
|
53
|
+
### HTTP request headers
|
|
54
|
+
|
|
55
|
+
- **Content-Type**: Not defined
|
|
56
|
+
- **Accept**: application/json
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
### HTTP response details
|
|
60
|
+
| Status code | Description | Response headers |
|
|
61
|
+
|-------------|-------------|------------------|
|
|
62
|
+
|**200** | Successful Response | - |
|
|
63
|
+
|**422** | Validation Error | - |
|
|
64
|
+
|
|
65
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
66
|
+
|
|
67
|
+
# **nextcloudGetItemInfo**
|
|
68
|
+
> DataSourceItemModel nextcloudGetItemInfo()
|
|
69
|
+
|
|
70
|
+
Fetch a single drive item\'s metadata, with imported flag/count.
|
|
71
|
+
|
|
72
|
+
### Example
|
|
73
|
+
|
|
74
|
+
```typescript
|
|
75
|
+
import {
|
|
76
|
+
Nextcloud,
|
|
77
|
+
Configuration
|
|
78
|
+
} from 'neuland-hub-sdk';
|
|
79
|
+
|
|
80
|
+
const configuration = new Configuration();
|
|
81
|
+
const apiInstance = new Nextcloud(configuration);
|
|
82
|
+
|
|
83
|
+
let driveId: string; //Id of the drive. (default to undefined)
|
|
84
|
+
let driveItemId: string; //Id of the item. (default to undefined)
|
|
85
|
+
let chatId: string; //Scope imported counts to this chat. (optional) (default to undefined)
|
|
86
|
+
let libraryId: string; //Scope imported counts to this library. (optional) (default to undefined)
|
|
87
|
+
let assistantId: string; //Scope imported counts to this assistant. (optional) (default to undefined)
|
|
88
|
+
let projectId: string; //Scope imported counts to this project. (optional) (default to undefined)
|
|
89
|
+
let cookieName: string; // (optional) (default to undefined)
|
|
90
|
+
|
|
91
|
+
const { status, data } = await apiInstance.nextcloudGetItemInfo(
|
|
92
|
+
driveId,
|
|
93
|
+
driveItemId,
|
|
94
|
+
chatId,
|
|
95
|
+
libraryId,
|
|
96
|
+
assistantId,
|
|
97
|
+
projectId,
|
|
98
|
+
cookieName
|
|
99
|
+
);
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
### Parameters
|
|
103
|
+
|
|
104
|
+
|Name | Type | Description | Notes|
|
|
105
|
+
|------------- | ------------- | ------------- | -------------|
|
|
106
|
+
| **driveId** | [**string**] | Id of the drive. | defaults to undefined|
|
|
107
|
+
| **driveItemId** | [**string**] | Id of the item. | defaults to undefined|
|
|
108
|
+
| **chatId** | [**string**] | Scope imported counts to this chat. | (optional) defaults to undefined|
|
|
109
|
+
| **libraryId** | [**string**] | Scope imported counts to this library. | (optional) defaults to undefined|
|
|
110
|
+
| **assistantId** | [**string**] | Scope imported counts to this assistant. | (optional) defaults to undefined|
|
|
111
|
+
| **projectId** | [**string**] | Scope imported counts to this project. | (optional) defaults to undefined|
|
|
112
|
+
| **cookieName** | [**string**] | | (optional) defaults to undefined|
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
### Return type
|
|
116
|
+
|
|
117
|
+
**DataSourceItemModel**
|
|
118
|
+
|
|
119
|
+
### Authorization
|
|
120
|
+
|
|
121
|
+
[APIKeyHeader](../README.md#APIKeyHeader), [OAuth2PasswordBearer](../README.md#OAuth2PasswordBearer)
|
|
122
|
+
|
|
123
|
+
### HTTP request headers
|
|
124
|
+
|
|
125
|
+
- **Content-Type**: Not defined
|
|
126
|
+
- **Accept**: application/json
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
### HTTP response details
|
|
130
|
+
| Status code | Description | Response headers |
|
|
131
|
+
|-------------|-------------|------------------|
|
|
132
|
+
|**200** | Successful Response | - |
|
|
133
|
+
|**401** | Missing authentication or connector consent required. | - |
|
|
134
|
+
|**403** | Connector token lacks the required permissions. | - |
|
|
135
|
+
|**404** | No drive or item exists with the given ids. | - |
|
|
136
|
+
|**422** | Validation Error | - |
|
|
137
|
+
|
|
138
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
139
|
+
|
|
140
|
+
# **nextcloudGetUserInfo**
|
|
141
|
+
> DataSourceUserModel nextcloudGetUserInfo()
|
|
142
|
+
|
|
143
|
+
Return the current user\'s profile on the data source.
|
|
144
|
+
|
|
145
|
+
### Example
|
|
146
|
+
|
|
147
|
+
```typescript
|
|
148
|
+
import {
|
|
149
|
+
Nextcloud,
|
|
150
|
+
Configuration
|
|
151
|
+
} from 'neuland-hub-sdk';
|
|
152
|
+
|
|
153
|
+
const configuration = new Configuration();
|
|
154
|
+
const apiInstance = new Nextcloud(configuration);
|
|
155
|
+
|
|
156
|
+
let cookieName: string; // (optional) (default to undefined)
|
|
157
|
+
|
|
158
|
+
const { status, data } = await apiInstance.nextcloudGetUserInfo(
|
|
159
|
+
cookieName
|
|
160
|
+
);
|
|
161
|
+
```
|
|
162
|
+
|
|
163
|
+
### Parameters
|
|
164
|
+
|
|
165
|
+
|Name | Type | Description | Notes|
|
|
166
|
+
|------------- | ------------- | ------------- | -------------|
|
|
167
|
+
| **cookieName** | [**string**] | | (optional) defaults to undefined|
|
|
168
|
+
|
|
169
|
+
|
|
170
|
+
### Return type
|
|
171
|
+
|
|
172
|
+
**DataSourceUserModel**
|
|
173
|
+
|
|
174
|
+
### Authorization
|
|
175
|
+
|
|
176
|
+
[APIKeyHeader](../README.md#APIKeyHeader), [OAuth2PasswordBearer](../README.md#OAuth2PasswordBearer)
|
|
177
|
+
|
|
178
|
+
### HTTP request headers
|
|
179
|
+
|
|
180
|
+
- **Content-Type**: Not defined
|
|
181
|
+
- **Accept**: application/json
|
|
182
|
+
|
|
183
|
+
|
|
184
|
+
### HTTP response details
|
|
185
|
+
| Status code | Description | Response headers |
|
|
186
|
+
|-------------|-------------|------------------|
|
|
187
|
+
|**200** | Successful Response | - |
|
|
188
|
+
|**401** | Missing authentication or connector consent required. | - |
|
|
189
|
+
|**403** | Connector token lacks the required permissions. | - |
|
|
190
|
+
|**422** | Validation Error | - |
|
|
191
|
+
|
|
192
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
193
|
+
|
|
194
|
+
# **nextcloudIsConnected**
|
|
195
|
+
> boolean nextcloudIsConnected()
|
|
196
|
+
|
|
197
|
+
Report whether the current user has granted consent to browse this source.
|
|
198
|
+
|
|
199
|
+
### Example
|
|
200
|
+
|
|
201
|
+
```typescript
|
|
202
|
+
import {
|
|
203
|
+
Nextcloud,
|
|
204
|
+
Configuration
|
|
205
|
+
} from 'neuland-hub-sdk';
|
|
206
|
+
|
|
207
|
+
const configuration = new Configuration();
|
|
208
|
+
const apiInstance = new Nextcloud(configuration);
|
|
209
|
+
|
|
210
|
+
let cookieName: string; // (optional) (default to undefined)
|
|
211
|
+
|
|
212
|
+
const { status, data } = await apiInstance.nextcloudIsConnected(
|
|
213
|
+
cookieName
|
|
214
|
+
);
|
|
215
|
+
```
|
|
216
|
+
|
|
217
|
+
### Parameters
|
|
218
|
+
|
|
219
|
+
|Name | Type | Description | Notes|
|
|
220
|
+
|------------- | ------------- | ------------- | -------------|
|
|
221
|
+
| **cookieName** | [**string**] | | (optional) defaults to undefined|
|
|
222
|
+
|
|
223
|
+
|
|
224
|
+
### Return type
|
|
225
|
+
|
|
226
|
+
**boolean**
|
|
227
|
+
|
|
228
|
+
### Authorization
|
|
229
|
+
|
|
230
|
+
[APIKeyHeader](../README.md#APIKeyHeader), [OAuth2PasswordBearer](../README.md#OAuth2PasswordBearer)
|
|
231
|
+
|
|
232
|
+
### HTTP request headers
|
|
233
|
+
|
|
234
|
+
- **Content-Type**: Not defined
|
|
235
|
+
- **Accept**: application/json
|
|
236
|
+
|
|
237
|
+
|
|
238
|
+
### HTTP response details
|
|
239
|
+
| Status code | Description | Response headers |
|
|
240
|
+
|-------------|-------------|------------------|
|
|
241
|
+
|**200** | Successful Response | - |
|
|
242
|
+
|**401** | Missing or invalid authentication. | - |
|
|
243
|
+
|**422** | Validation Error | - |
|
|
244
|
+
|
|
245
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
246
|
+
|
|
247
|
+
# **nextcloudListChildren**
|
|
248
|
+
> Array<DataSourceItemModel> nextcloudListChildren()
|
|
249
|
+
|
|
250
|
+
List the immediate children of a drive item, with imported flags/counts.
|
|
251
|
+
|
|
252
|
+
### Example
|
|
253
|
+
|
|
254
|
+
```typescript
|
|
255
|
+
import {
|
|
256
|
+
Nextcloud,
|
|
257
|
+
Configuration
|
|
258
|
+
} from 'neuland-hub-sdk';
|
|
259
|
+
|
|
260
|
+
const configuration = new Configuration();
|
|
261
|
+
const apiInstance = new Nextcloud(configuration);
|
|
262
|
+
|
|
263
|
+
let driveId: string; //Id of the drive. (default to undefined)
|
|
264
|
+
let driveItemId: string; //Id of the folder item, or \'root\'. (default to undefined)
|
|
265
|
+
let chatId: string; //Scope imported counts to this chat. (optional) (default to undefined)
|
|
266
|
+
let libraryId: string; //Scope imported counts to this library. (optional) (default to undefined)
|
|
267
|
+
let assistantId: string; //Scope imported counts to this assistant. (optional) (default to undefined)
|
|
268
|
+
let projectId: string; //Scope imported counts to this project. (optional) (default to undefined)
|
|
269
|
+
let recursive: boolean; //Recurse into subfolders and return all descendant files. (optional) (default to false)
|
|
270
|
+
let cookieName: string; // (optional) (default to undefined)
|
|
271
|
+
|
|
272
|
+
const { status, data } = await apiInstance.nextcloudListChildren(
|
|
273
|
+
driveId,
|
|
274
|
+
driveItemId,
|
|
275
|
+
chatId,
|
|
276
|
+
libraryId,
|
|
277
|
+
assistantId,
|
|
278
|
+
projectId,
|
|
279
|
+
recursive,
|
|
280
|
+
cookieName
|
|
281
|
+
);
|
|
282
|
+
```
|
|
283
|
+
|
|
284
|
+
### Parameters
|
|
285
|
+
|
|
286
|
+
|Name | Type | Description | Notes|
|
|
287
|
+
|------------- | ------------- | ------------- | -------------|
|
|
288
|
+
| **driveId** | [**string**] | Id of the drive. | defaults to undefined|
|
|
289
|
+
| **driveItemId** | [**string**] | Id of the folder item, or \'root\'. | defaults to undefined|
|
|
290
|
+
| **chatId** | [**string**] | Scope imported counts to this chat. | (optional) defaults to undefined|
|
|
291
|
+
| **libraryId** | [**string**] | Scope imported counts to this library. | (optional) defaults to undefined|
|
|
292
|
+
| **assistantId** | [**string**] | Scope imported counts to this assistant. | (optional) defaults to undefined|
|
|
293
|
+
| **projectId** | [**string**] | Scope imported counts to this project. | (optional) defaults to undefined|
|
|
294
|
+
| **recursive** | [**boolean**] | Recurse into subfolders and return all descendant files. | (optional) defaults to false|
|
|
295
|
+
| **cookieName** | [**string**] | | (optional) defaults to undefined|
|
|
296
|
+
|
|
297
|
+
|
|
298
|
+
### Return type
|
|
299
|
+
|
|
300
|
+
**Array<DataSourceItemModel>**
|
|
301
|
+
|
|
302
|
+
### Authorization
|
|
303
|
+
|
|
304
|
+
[APIKeyHeader](../README.md#APIKeyHeader), [OAuth2PasswordBearer](../README.md#OAuth2PasswordBearer)
|
|
305
|
+
|
|
306
|
+
### HTTP request headers
|
|
307
|
+
|
|
308
|
+
- **Content-Type**: Not defined
|
|
309
|
+
- **Accept**: application/json
|
|
310
|
+
|
|
311
|
+
|
|
312
|
+
### HTTP response details
|
|
313
|
+
| Status code | Description | Response headers |
|
|
314
|
+
|-------------|-------------|------------------|
|
|
315
|
+
|**200** | Successful Response | - |
|
|
316
|
+
|**401** | Missing authentication or connector consent required. | - |
|
|
317
|
+
|**403** | Connector token lacks the required permissions. | - |
|
|
318
|
+
|**404** | No drive or item exists with the given ids. | - |
|
|
319
|
+
|**422** | Validation Error | - |
|
|
320
|
+
|
|
321
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
322
|
+
|
|
323
|
+
# **nextcloudListDrives**
|
|
324
|
+
> Array<DataSourceDriveModel> nextcloudListDrives()
|
|
325
|
+
|
|
326
|
+
List drives under a site, with imported counts per drive.
|
|
327
|
+
|
|
328
|
+
### Example
|
|
329
|
+
|
|
330
|
+
```typescript
|
|
331
|
+
import {
|
|
332
|
+
Nextcloud,
|
|
333
|
+
Configuration
|
|
334
|
+
} from 'neuland-hub-sdk';
|
|
335
|
+
|
|
336
|
+
const configuration = new Configuration();
|
|
337
|
+
const apiInstance = new Nextcloud(configuration);
|
|
338
|
+
|
|
339
|
+
let siteId: string; //Id of the site to list drives for. (default to undefined)
|
|
340
|
+
let chatId: string; //Scope imported counts to this chat. (optional) (default to undefined)
|
|
341
|
+
let libraryId: string; //Scope imported counts to this library. (optional) (default to undefined)
|
|
342
|
+
let assistantId: string; //Scope imported counts to this assistant. (optional) (default to undefined)
|
|
343
|
+
let projectId: string; //Scope imported counts to this project. (optional) (default to undefined)
|
|
344
|
+
let cookieName: string; // (optional) (default to undefined)
|
|
345
|
+
|
|
346
|
+
const { status, data } = await apiInstance.nextcloudListDrives(
|
|
347
|
+
siteId,
|
|
348
|
+
chatId,
|
|
349
|
+
libraryId,
|
|
350
|
+
assistantId,
|
|
351
|
+
projectId,
|
|
352
|
+
cookieName
|
|
353
|
+
);
|
|
354
|
+
```
|
|
355
|
+
|
|
356
|
+
### Parameters
|
|
357
|
+
|
|
358
|
+
|Name | Type | Description | Notes|
|
|
359
|
+
|------------- | ------------- | ------------- | -------------|
|
|
360
|
+
| **siteId** | [**string**] | Id of the site to list drives for. | defaults to undefined|
|
|
361
|
+
| **chatId** | [**string**] | Scope imported counts to this chat. | (optional) defaults to undefined|
|
|
362
|
+
| **libraryId** | [**string**] | Scope imported counts to this library. | (optional) defaults to undefined|
|
|
363
|
+
| **assistantId** | [**string**] | Scope imported counts to this assistant. | (optional) defaults to undefined|
|
|
364
|
+
| **projectId** | [**string**] | Scope imported counts to this project. | (optional) defaults to undefined|
|
|
365
|
+
| **cookieName** | [**string**] | | (optional) defaults to undefined|
|
|
366
|
+
|
|
367
|
+
|
|
368
|
+
### Return type
|
|
369
|
+
|
|
370
|
+
**Array<DataSourceDriveModel>**
|
|
371
|
+
|
|
372
|
+
### Authorization
|
|
373
|
+
|
|
374
|
+
[APIKeyHeader](../README.md#APIKeyHeader), [OAuth2PasswordBearer](../README.md#OAuth2PasswordBearer)
|
|
375
|
+
|
|
376
|
+
### HTTP request headers
|
|
377
|
+
|
|
378
|
+
- **Content-Type**: Not defined
|
|
379
|
+
- **Accept**: application/json
|
|
380
|
+
|
|
381
|
+
|
|
382
|
+
### HTTP response details
|
|
383
|
+
| Status code | Description | Response headers |
|
|
384
|
+
|-------------|-------------|------------------|
|
|
385
|
+
|**200** | Successful Response | - |
|
|
386
|
+
|**401** | Missing authentication or connector consent required. | - |
|
|
387
|
+
|**403** | Connector token lacks the required permissions. | - |
|
|
388
|
+
|**404** | No site exists with the given id. | - |
|
|
389
|
+
|**422** | Validation Error | - |
|
|
390
|
+
|
|
391
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
392
|
+
|
|
393
|
+
# **nextcloudListRoots**
|
|
394
|
+
> ResponseNextcloudListRoots nextcloudListRoots()
|
|
395
|
+
|
|
396
|
+
List the top-level browse entries (sites or drives), with imported counts.
|
|
397
|
+
|
|
398
|
+
### Example
|
|
399
|
+
|
|
400
|
+
```typescript
|
|
401
|
+
import {
|
|
402
|
+
Nextcloud,
|
|
403
|
+
Configuration
|
|
404
|
+
} from 'neuland-hub-sdk';
|
|
405
|
+
|
|
406
|
+
const configuration = new Configuration();
|
|
407
|
+
const apiInstance = new Nextcloud(configuration);
|
|
408
|
+
|
|
409
|
+
let chatId: string; //Scope imported counts to this chat. (optional) (default to undefined)
|
|
410
|
+
let libraryId: string; //Scope imported counts to this library. (optional) (default to undefined)
|
|
411
|
+
let assistantId: string; //Scope imported counts to this assistant. (optional) (default to undefined)
|
|
412
|
+
let projectId: string; //Scope imported counts to this project. (optional) (default to undefined)
|
|
413
|
+
let cookieName: string; // (optional) (default to undefined)
|
|
414
|
+
|
|
415
|
+
const { status, data } = await apiInstance.nextcloudListRoots(
|
|
416
|
+
chatId,
|
|
417
|
+
libraryId,
|
|
418
|
+
assistantId,
|
|
419
|
+
projectId,
|
|
420
|
+
cookieName
|
|
421
|
+
);
|
|
422
|
+
```
|
|
423
|
+
|
|
424
|
+
### Parameters
|
|
425
|
+
|
|
426
|
+
|Name | Type | Description | Notes|
|
|
427
|
+
|------------- | ------------- | ------------- | -------------|
|
|
428
|
+
| **chatId** | [**string**] | Scope imported counts to this chat. | (optional) defaults to undefined|
|
|
429
|
+
| **libraryId** | [**string**] | Scope imported counts to this library. | (optional) defaults to undefined|
|
|
430
|
+
| **assistantId** | [**string**] | Scope imported counts to this assistant. | (optional) defaults to undefined|
|
|
431
|
+
| **projectId** | [**string**] | Scope imported counts to this project. | (optional) defaults to undefined|
|
|
432
|
+
| **cookieName** | [**string**] | | (optional) defaults to undefined|
|
|
433
|
+
|
|
434
|
+
|
|
435
|
+
### Return type
|
|
436
|
+
|
|
437
|
+
**ResponseNextcloudListRoots**
|
|
438
|
+
|
|
439
|
+
### Authorization
|
|
440
|
+
|
|
441
|
+
[APIKeyHeader](../README.md#APIKeyHeader), [OAuth2PasswordBearer](../README.md#OAuth2PasswordBearer)
|
|
442
|
+
|
|
443
|
+
### HTTP request headers
|
|
444
|
+
|
|
445
|
+
- **Content-Type**: Not defined
|
|
446
|
+
- **Accept**: application/json
|
|
447
|
+
|
|
448
|
+
|
|
449
|
+
### HTTP response details
|
|
450
|
+
| Status code | Description | Response headers |
|
|
451
|
+
|-------------|-------------|------------------|
|
|
452
|
+
|**200** | Successful Response | - |
|
|
453
|
+
|**401** | Missing authentication or connector consent required. | - |
|
|
454
|
+
|**403** | Connector token lacks the required permissions. | - |
|
|
455
|
+
|**422** | Validation Error | - |
|
|
456
|
+
|
|
457
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
458
|
+
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# OAuth2ProviderEnum
|
|
2
|
+
|
|
3
|
+
Enum for OAuth providers.
|
|
4
|
+
|
|
5
|
+
## Enum
|
|
6
|
+
|
|
7
|
+
* `azure_entra` (value: `'azure-entra'`)
|
|
8
|
+
|
|
9
|
+
* `microsoft` (value: `'microsoft'`)
|
|
10
|
+
|
|
11
|
+
* `atlassian` (value: `'atlassian'`)
|
|
12
|
+
|
|
13
|
+
* `hubspot` (value: `'hubspot'`)
|
|
14
|
+
|
|
15
|
+
* `salesforce` (value: `'salesforce'`)
|
|
16
|
+
|
|
17
|
+
* `fireflies` (value: `'fireflies'`)
|
|
18
|
+
|
|
19
|
+
* `github` (value: `'github'`)
|
|
20
|
+
|
|
21
|
+
* `slack` (value: `'slack'`)
|
|
22
|
+
|
|
23
|
+
* `keycloak` (value: `'keycloak'`)
|
|
24
|
+
|
|
25
|
+
* `opendesk` (value: `'opendesk'`)
|
|
26
|
+
|
|
27
|
+
* `nextcloud` (value: `'nextcloud'`)
|
|
28
|
+
|
|
29
|
+
* `abas` (value: `'abas'`)
|
|
30
|
+
|
|
31
|
+
* `google` (value: `'google'`)
|
|
32
|
+
|
|
33
|
+
* `dropbox` (value: `'dropbox'`)
|
|
34
|
+
|
|
35
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# OAuthClient
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**created_at** | **string** | UTC timestamp when the record was created. | [optional] [default to undefined]
|
|
9
|
+
**updated_at** | **string** | UTC timestamp when the record was last updated. | [optional] [default to undefined]
|
|
10
|
+
**creator_user_id** | **number** | | [optional] [default to undefined]
|
|
11
|
+
**updater_user_id** | **number** | | [optional] [default to undefined]
|
|
12
|
+
**id** | **number** | | [optional] [default to undefined]
|
|
13
|
+
**public_id** | **string** | Public, non-enumerable external identifier for the OAuth client. Exposed to clients instead of the internal integer id. | [optional] [default to undefined]
|
|
14
|
+
**name** | **string** | Unique human-readable name of the OAuth client. | [default to undefined]
|
|
15
|
+
**provider_key** | [**OAuth2ProviderEnum**](OAuth2ProviderEnum.md) | OAuth provider this client uses. | [default to undefined]
|
|
16
|
+
**description** | **string** | | [optional] [default to undefined]
|
|
17
|
+
**icon_url** | **string** | | [optional] [default to undefined]
|
|
18
|
+
**oidc_issuer** | **string** | | [optional] [default to undefined]
|
|
19
|
+
|
|
20
|
+
## Example
|
|
21
|
+
|
|
22
|
+
```typescript
|
|
23
|
+
import { OAuthClient } from 'neuland-hub-sdk';
|
|
24
|
+
|
|
25
|
+
const instance: OAuthClient = {
|
|
26
|
+
created_at,
|
|
27
|
+
updated_at,
|
|
28
|
+
creator_user_id,
|
|
29
|
+
updater_user_id,
|
|
30
|
+
id,
|
|
31
|
+
public_id,
|
|
32
|
+
name,
|
|
33
|
+
provider_key,
|
|
34
|
+
description,
|
|
35
|
+
icon_url,
|
|
36
|
+
oidc_issuer,
|
|
37
|
+
};
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# OAuthClientUpdate
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**name** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**description** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**icon_url** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**oidc_issuer** | **string** | | [optional] [default to undefined]
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import { OAuthClientUpdate } from 'neuland-hub-sdk';
|
|
17
|
+
|
|
18
|
+
const instance: OAuthClientUpdate = {
|
|
19
|
+
name,
|
|
20
|
+
description,
|
|
21
|
+
icon_url,
|
|
22
|
+
oidc_issuer,
|
|
23
|
+
};
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|