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