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
package/docs/TenantIn.md
ADDED
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
# TenantIn
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**name** | **string** | Internal name of the tenant. | [default to undefined]
|
|
9
|
+
**slug** | **string** | URL-safe unique identifier for the tenant. | [default to undefined]
|
|
10
|
+
**domain** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**parent_tenant_id** | **string** | | [optional] [default to undefined]
|
|
12
|
+
**subtenants_enabled** | **boolean** | | [optional] [default to undefined]
|
|
13
|
+
**timezone** | **string** | | [optional] [default to undefined]
|
|
14
|
+
**locale** | **string** | | [optional] [default to undefined]
|
|
15
|
+
**tarif_id** | **string** | | [optional] [default to undefined]
|
|
16
|
+
**tarif_expires_at** | **string** | | [optional] [default to undefined]
|
|
17
|
+
**max_users** | **number** | | [optional] [default to undefined]
|
|
18
|
+
**max_projects** | **number** | | [optional] [default to undefined]
|
|
19
|
+
**licenses** | **number** | | [optional] [default to undefined]
|
|
20
|
+
**display_name** | **string** | | [optional] [default to undefined]
|
|
21
|
+
**motto** | **string** | | [optional] [default to undefined]
|
|
22
|
+
**logo_url** | **string** | | [optional] [default to undefined]
|
|
23
|
+
**square_logo_url** | **string** | | [optional] [default to undefined]
|
|
24
|
+
**favicon_url** | **string** | | [optional] [default to undefined]
|
|
25
|
+
**chat_square_logo_url** | **string** | | [optional] [default to undefined]
|
|
26
|
+
**primary_color** | **string** | | [optional] [default to undefined]
|
|
27
|
+
**secondary_color** | **string** | | [optional] [default to undefined]
|
|
28
|
+
**theme** | **string** | | [optional] [default to undefined]
|
|
29
|
+
**storage_limit_gb** | **number** | | [optional] [default to undefined]
|
|
30
|
+
**api_rate_limit** | **number** | | [optional] [default to undefined]
|
|
31
|
+
**upstream_tenant_id** | **string** | | [optional] [default to undefined]
|
|
32
|
+
**upstream_oidc_issuer** | **string** | | [optional] [default to undefined]
|
|
33
|
+
|
|
34
|
+
## Example
|
|
35
|
+
|
|
36
|
+
```typescript
|
|
37
|
+
import { TenantIn } from 'neuland-hub-sdk';
|
|
38
|
+
|
|
39
|
+
const instance: TenantIn = {
|
|
40
|
+
name,
|
|
41
|
+
slug,
|
|
42
|
+
domain,
|
|
43
|
+
parent_tenant_id,
|
|
44
|
+
subtenants_enabled,
|
|
45
|
+
timezone,
|
|
46
|
+
locale,
|
|
47
|
+
tarif_id,
|
|
48
|
+
tarif_expires_at,
|
|
49
|
+
max_users,
|
|
50
|
+
max_projects,
|
|
51
|
+
licenses,
|
|
52
|
+
display_name,
|
|
53
|
+
motto,
|
|
54
|
+
logo_url,
|
|
55
|
+
square_logo_url,
|
|
56
|
+
favicon_url,
|
|
57
|
+
chat_square_logo_url,
|
|
58
|
+
primary_color,
|
|
59
|
+
secondary_color,
|
|
60
|
+
theme,
|
|
61
|
+
storage_limit_gb,
|
|
62
|
+
api_rate_limit,
|
|
63
|
+
upstream_tenant_id,
|
|
64
|
+
upstream_oidc_issuer,
|
|
65
|
+
};
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
[[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,33 @@
|
|
|
1
|
+
# TenantLLM
|
|
2
|
+
|
|
3
|
+
Availability rows for tenant-enabled LLM models.
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**created_at** | **string** | UTC timestamp when the record was created. | [optional] [default to undefined]
|
|
10
|
+
**updated_at** | **string** | UTC timestamp when the record was last updated. | [optional] [default to undefined]
|
|
11
|
+
**creator_user_id** | **number** | | [optional] [default to undefined]
|
|
12
|
+
**updater_user_id** | **number** | | [optional] [default to undefined]
|
|
13
|
+
**tenant_id** | **number** | ID of the tenant the LLM is enabled for. | [default to undefined]
|
|
14
|
+
**llm_catalog_id** | **number** | ID of the LLM catalog entry enabled for the tenant. | [default to undefined]
|
|
15
|
+
**auto_routable** | **boolean** | | [optional] [default to undefined]
|
|
16
|
+
|
|
17
|
+
## Example
|
|
18
|
+
|
|
19
|
+
```typescript
|
|
20
|
+
import { TenantLLM } from 'neuland-hub-sdk';
|
|
21
|
+
|
|
22
|
+
const instance: TenantLLM = {
|
|
23
|
+
created_at,
|
|
24
|
+
updated_at,
|
|
25
|
+
creator_user_id,
|
|
26
|
+
updater_user_id,
|
|
27
|
+
tenant_id,
|
|
28
|
+
llm_catalog_id,
|
|
29
|
+
auto_routable,
|
|
30
|
+
};
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
[[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,22 @@
|
|
|
1
|
+
# TenantModelBulkIn
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**all** | **boolean** | | [optional] [default to undefined]
|
|
9
|
+
**tenant_ids** | **Array<string>** | | [optional] [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { TenantModelBulkIn } from 'neuland-hub-sdk';
|
|
15
|
+
|
|
16
|
+
const instance: TenantModelBulkIn = {
|
|
17
|
+
all,
|
|
18
|
+
tenant_ids,
|
|
19
|
+
};
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
[[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,20 @@
|
|
|
1
|
+
# TenantModelIn
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**auto_routable** | **boolean** | | [optional] [default to undefined]
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```typescript
|
|
13
|
+
import { TenantModelIn } from 'neuland-hub-sdk';
|
|
14
|
+
|
|
15
|
+
const instance: TenantModelIn = {
|
|
16
|
+
auto_routable,
|
|
17
|
+
};
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
[[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,32 @@
|
|
|
1
|
+
# TenantOAuthClientIn
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**client_id** | **string** | OAuth client identifier issued by the provider. | [default to undefined]
|
|
9
|
+
**authorize_url** | **string** | Provider authorization endpoint URL. | [default to undefined]
|
|
10
|
+
**token_url** | **string** | Provider token endpoint URL. | [default to undefined]
|
|
11
|
+
**revocation_url** | **string** | | [optional] [default to undefined]
|
|
12
|
+
**redirect_uri** | **string** | | [optional] [default to undefined]
|
|
13
|
+
**admin_consent_url** | **string** | | [optional] [default to undefined]
|
|
14
|
+
**secret** | **string** | OAuth client secret issued by the provider. Write-only. | [default to undefined]
|
|
15
|
+
|
|
16
|
+
## Example
|
|
17
|
+
|
|
18
|
+
```typescript
|
|
19
|
+
import { TenantOAuthClientIn } from 'neuland-hub-sdk';
|
|
20
|
+
|
|
21
|
+
const instance: TenantOAuthClientIn = {
|
|
22
|
+
client_id,
|
|
23
|
+
authorize_url,
|
|
24
|
+
token_url,
|
|
25
|
+
revocation_url,
|
|
26
|
+
redirect_uri,
|
|
27
|
+
admin_consent_url,
|
|
28
|
+
secret,
|
|
29
|
+
};
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
[[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,36 @@
|
|
|
1
|
+
# TenantOAuthClientOut
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**tenant_id** | **number** | ID of the tenant this OAuth client configuration belongs to. | [default to undefined]
|
|
9
|
+
**oauth_client_id** | **number** | ID of the platform OAuth client this configuration overrides. | [default to undefined]
|
|
10
|
+
**provider_key** | [**OAuth2ProviderEnum**](OAuth2ProviderEnum.md) | OAuth provider key backing this client. | [default to undefined]
|
|
11
|
+
**client_id** | **string** | OAuth client identifier issued by the provider. | [default to undefined]
|
|
12
|
+
**authorize_url** | **string** | Provider authorization endpoint URL. | [default to undefined]
|
|
13
|
+
**token_url** | **string** | Provider token endpoint URL. | [default to undefined]
|
|
14
|
+
**revocation_url** | **string** | | [optional] [default to undefined]
|
|
15
|
+
**redirect_uri** | **string** | | [optional] [default to undefined]
|
|
16
|
+
**admin_consent_url** | **string** | | [optional] [default to undefined]
|
|
17
|
+
|
|
18
|
+
## Example
|
|
19
|
+
|
|
20
|
+
```typescript
|
|
21
|
+
import { TenantOAuthClientOut } from 'neuland-hub-sdk';
|
|
22
|
+
|
|
23
|
+
const instance: TenantOAuthClientOut = {
|
|
24
|
+
tenant_id,
|
|
25
|
+
oauth_client_id,
|
|
26
|
+
provider_key,
|
|
27
|
+
client_id,
|
|
28
|
+
authorize_url,
|
|
29
|
+
token_url,
|
|
30
|
+
revocation_url,
|
|
31
|
+
redirect_uri,
|
|
32
|
+
admin_consent_url,
|
|
33
|
+
};
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
[[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,30 @@
|
|
|
1
|
+
# TenantOAuthClientUpdate
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**client_id** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**authorize_url** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**token_url** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**revocation_url** | **string** | | [optional] [default to undefined]
|
|
12
|
+
**redirect_uri** | **string** | | [optional] [default to undefined]
|
|
13
|
+
**admin_consent_url** | **string** | | [optional] [default to undefined]
|
|
14
|
+
|
|
15
|
+
## Example
|
|
16
|
+
|
|
17
|
+
```typescript
|
|
18
|
+
import { TenantOAuthClientUpdate } from 'neuland-hub-sdk';
|
|
19
|
+
|
|
20
|
+
const instance: TenantOAuthClientUpdate = {
|
|
21
|
+
client_id,
|
|
22
|
+
authorize_url,
|
|
23
|
+
token_url,
|
|
24
|
+
revocation_url,
|
|
25
|
+
redirect_uri,
|
|
26
|
+
admin_consent_url,
|
|
27
|
+
};
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
[[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,76 @@
|
|
|
1
|
+
# TenantOut
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**id** | **number** | Unique identifier of the tenant. | [default to undefined]
|
|
9
|
+
**public_id** | **string** | Public, non-enumerable external identifier of the tenant. | [default to undefined]
|
|
10
|
+
**created_at** | **string** | UTC timestamp when the tenant was created. | [default to undefined]
|
|
11
|
+
**creator_user_id** | **number** | | [optional] [default to undefined]
|
|
12
|
+
**name** | **string** | Internal name of the tenant. | [default to undefined]
|
|
13
|
+
**slug** | **string** | URL-safe unique identifier for the tenant. | [default to undefined]
|
|
14
|
+
**domain** | **string** | | [optional] [default to undefined]
|
|
15
|
+
**parent_tenant_id** | **number** | | [optional] [default to undefined]
|
|
16
|
+
**subtenants_enabled** | **boolean** | Whether this tenant may create child tenants. | [default to undefined]
|
|
17
|
+
**timezone** | **string** | Default IANA timezone for the tenant. | [default to undefined]
|
|
18
|
+
**locale** | **string** | Default locale for the tenant. | [default to undefined]
|
|
19
|
+
**tarif_id** | **number** | | [optional] [default to undefined]
|
|
20
|
+
**max_users** | **number** | | [optional] [default to undefined]
|
|
21
|
+
**max_projects** | **number** | | [optional] [default to undefined]
|
|
22
|
+
**licenses** | **number** | | [optional] [default to undefined]
|
|
23
|
+
**display_name** | **string** | | [optional] [default to undefined]
|
|
24
|
+
**motto** | **string** | | [optional] [default to undefined]
|
|
25
|
+
**logo_url** | **string** | | [optional] [default to undefined]
|
|
26
|
+
**square_logo_url** | **string** | | [optional] [default to undefined]
|
|
27
|
+
**favicon_url** | **string** | | [optional] [default to undefined]
|
|
28
|
+
**chat_square_logo_url** | **string** | | [optional] [default to undefined]
|
|
29
|
+
**primary_color** | **string** | | [optional] [default to undefined]
|
|
30
|
+
**secondary_color** | **string** | | [optional] [default to undefined]
|
|
31
|
+
**theme** | **string** | | [optional] [default to undefined]
|
|
32
|
+
**storage_limit_gb** | **number** | | [optional] [default to undefined]
|
|
33
|
+
**api_rate_limit** | **number** | | [optional] [default to undefined]
|
|
34
|
+
**state** | **string** | | [optional] [default to undefined]
|
|
35
|
+
**upstream_tenant_id** | **string** | | [optional] [default to undefined]
|
|
36
|
+
**upstream_oidc_issuer** | **string** | | [optional] [default to undefined]
|
|
37
|
+
|
|
38
|
+
## Example
|
|
39
|
+
|
|
40
|
+
```typescript
|
|
41
|
+
import { TenantOut } from 'neuland-hub-sdk';
|
|
42
|
+
|
|
43
|
+
const instance: TenantOut = {
|
|
44
|
+
id,
|
|
45
|
+
public_id,
|
|
46
|
+
created_at,
|
|
47
|
+
creator_user_id,
|
|
48
|
+
name,
|
|
49
|
+
slug,
|
|
50
|
+
domain,
|
|
51
|
+
parent_tenant_id,
|
|
52
|
+
subtenants_enabled,
|
|
53
|
+
timezone,
|
|
54
|
+
locale,
|
|
55
|
+
tarif_id,
|
|
56
|
+
max_users,
|
|
57
|
+
max_projects,
|
|
58
|
+
licenses,
|
|
59
|
+
display_name,
|
|
60
|
+
motto,
|
|
61
|
+
logo_url,
|
|
62
|
+
square_logo_url,
|
|
63
|
+
favicon_url,
|
|
64
|
+
chat_square_logo_url,
|
|
65
|
+
primary_color,
|
|
66
|
+
secondary_color,
|
|
67
|
+
theme,
|
|
68
|
+
storage_limit_gb,
|
|
69
|
+
api_rate_limit,
|
|
70
|
+
state,
|
|
71
|
+
upstream_tenant_id,
|
|
72
|
+
upstream_oidc_issuer,
|
|
73
|
+
};
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
[[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,46 @@
|
|
|
1
|
+
# TenantThemeOut
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**name** | **string** | Internal name of the tenant. | [default to undefined]
|
|
9
|
+
**slug** | **string** | URL-safe unique identifier for the tenant. | [default to undefined]
|
|
10
|
+
**domain** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**timezone** | **string** | Default IANA timezone for the tenant. | [default to undefined]
|
|
12
|
+
**locale** | **string** | Default locale for the tenant. | [default to undefined]
|
|
13
|
+
**display_name** | **string** | | [optional] [default to undefined]
|
|
14
|
+
**motto** | **string** | | [optional] [default to undefined]
|
|
15
|
+
**logo_url** | **string** | | [optional] [default to undefined]
|
|
16
|
+
**square_logo_url** | **string** | | [optional] [default to undefined]
|
|
17
|
+
**favicon_url** | **string** | | [optional] [default to undefined]
|
|
18
|
+
**chat_square_logo_url** | **string** | | [optional] [default to undefined]
|
|
19
|
+
**primary_color** | **string** | | [optional] [default to undefined]
|
|
20
|
+
**secondary_color** | **string** | | [optional] [default to undefined]
|
|
21
|
+
**theme** | **string** | | [optional] [default to undefined]
|
|
22
|
+
|
|
23
|
+
## Example
|
|
24
|
+
|
|
25
|
+
```typescript
|
|
26
|
+
import { TenantThemeOut } from 'neuland-hub-sdk';
|
|
27
|
+
|
|
28
|
+
const instance: TenantThemeOut = {
|
|
29
|
+
name,
|
|
30
|
+
slug,
|
|
31
|
+
domain,
|
|
32
|
+
timezone,
|
|
33
|
+
locale,
|
|
34
|
+
display_name,
|
|
35
|
+
motto,
|
|
36
|
+
logo_url,
|
|
37
|
+
square_logo_url,
|
|
38
|
+
favicon_url,
|
|
39
|
+
chat_square_logo_url,
|
|
40
|
+
primary_color,
|
|
41
|
+
secondary_color,
|
|
42
|
+
theme,
|
|
43
|
+
};
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
[[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,66 @@
|
|
|
1
|
+
# TenantUpdateIn
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**name** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**domain** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**parent_tenant_id** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**subtenants_enabled** | **boolean** | | [optional] [default to undefined]
|
|
12
|
+
**timezone** | **string** | | [optional] [default to undefined]
|
|
13
|
+
**locale** | **string** | | [optional] [default to undefined]
|
|
14
|
+
**tarif_id** | **string** | | [optional] [default to undefined]
|
|
15
|
+
**tarif_expires_at** | **string** | | [optional] [default to undefined]
|
|
16
|
+
**max_users** | **number** | | [optional] [default to undefined]
|
|
17
|
+
**max_projects** | **number** | | [optional] [default to undefined]
|
|
18
|
+
**licenses** | **number** | | [optional] [default to undefined]
|
|
19
|
+
**display_name** | **string** | | [optional] [default to undefined]
|
|
20
|
+
**motto** | **string** | | [optional] [default to undefined]
|
|
21
|
+
**logo_url** | **string** | | [optional] [default to undefined]
|
|
22
|
+
**square_logo_url** | **string** | | [optional] [default to undefined]
|
|
23
|
+
**favicon_url** | **string** | | [optional] [default to undefined]
|
|
24
|
+
**chat_square_logo_url** | **string** | | [optional] [default to undefined]
|
|
25
|
+
**primary_color** | **string** | | [optional] [default to undefined]
|
|
26
|
+
**secondary_color** | **string** | | [optional] [default to undefined]
|
|
27
|
+
**theme** | **string** | | [optional] [default to undefined]
|
|
28
|
+
**storage_limit_gb** | **number** | | [optional] [default to undefined]
|
|
29
|
+
**api_rate_limit** | **number** | | [optional] [default to undefined]
|
|
30
|
+
**upstream_tenant_id** | **string** | | [optional] [default to undefined]
|
|
31
|
+
**upstream_oidc_issuer** | **string** | | [optional] [default to undefined]
|
|
32
|
+
|
|
33
|
+
## Example
|
|
34
|
+
|
|
35
|
+
```typescript
|
|
36
|
+
import { TenantUpdateIn } from 'neuland-hub-sdk';
|
|
37
|
+
|
|
38
|
+
const instance: TenantUpdateIn = {
|
|
39
|
+
name,
|
|
40
|
+
domain,
|
|
41
|
+
parent_tenant_id,
|
|
42
|
+
subtenants_enabled,
|
|
43
|
+
timezone,
|
|
44
|
+
locale,
|
|
45
|
+
tarif_id,
|
|
46
|
+
tarif_expires_at,
|
|
47
|
+
max_users,
|
|
48
|
+
max_projects,
|
|
49
|
+
licenses,
|
|
50
|
+
display_name,
|
|
51
|
+
motto,
|
|
52
|
+
logo_url,
|
|
53
|
+
square_logo_url,
|
|
54
|
+
favicon_url,
|
|
55
|
+
chat_square_logo_url,
|
|
56
|
+
primary_color,
|
|
57
|
+
secondary_color,
|
|
58
|
+
theme,
|
|
59
|
+
storage_limit_gb,
|
|
60
|
+
api_rate_limit,
|
|
61
|
+
upstream_tenant_id,
|
|
62
|
+
upstream_oidc_issuer,
|
|
63
|
+
};
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
[[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,12 @@
|
|
|
1
|
+
# ThemeModeEnum
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Enum
|
|
5
|
+
|
|
6
|
+
* `LIGHT` (value: `'LIGHT'`)
|
|
7
|
+
|
|
8
|
+
* `DARK` (value: `'DARK'`)
|
|
9
|
+
|
|
10
|
+
* `SYSTEM` (value: `'SYSTEM'`)
|
|
11
|
+
|
|
12
|
+
[[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,23 @@
|
|
|
1
|
+
# TimeseriesPoint
|
|
2
|
+
|
|
3
|
+
Represents a single point in the timeseries data.
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**date** | **string** | Date of the data point (YYYY-MM-DD). | [default to undefined]
|
|
10
|
+
**cost** | **number** | Cost incurred on this date. | [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { TimeseriesPoint } from 'neuland-hub-sdk';
|
|
16
|
+
|
|
17
|
+
const instance: TimeseriesPoint = {
|
|
18
|
+
date,
|
|
19
|
+
cost,
|
|
20
|
+
};
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
[[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,23 @@
|
|
|
1
|
+
# TimeseriesResponse
|
|
2
|
+
|
|
3
|
+
Timeseries response model for LLM costs. Contains total cost for the current month and timeseries data for each model.
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**total_cost** | **number** | Total LLM cost for the current month across all models. | [default to undefined]
|
|
10
|
+
**timeseries** | **{ [key: string]: Array<TimeseriesPoint>; }** | Cost timeseries keyed by model name. | [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { TimeseriesResponse } from 'neuland-hub-sdk';
|
|
16
|
+
|
|
17
|
+
const instance: TimeseriesResponse = {
|
|
18
|
+
total_cost,
|
|
19
|
+
timeseries,
|
|
20
|
+
};
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
package/docs/To.md
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# To
|
|
2
|
+
|
|
3
|
+
Recipient email address(es); optional for a draft
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```typescript
|
|
13
|
+
import { To } from 'neuland-hub-sdk';
|
|
14
|
+
|
|
15
|
+
const instance: To = {
|
|
16
|
+
};
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
package/docs/To1.md
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# To1
|
|
2
|
+
|
|
3
|
+
Recipient email address(es)
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```typescript
|
|
13
|
+
import { To1 } from 'neuland-hub-sdk';
|
|
14
|
+
|
|
15
|
+
const instance: To1 = {
|
|
16
|
+
};
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
package/docs/TokenOut.md
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# TokenOut
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**access_token** | **string** | Signed JWT access token to send as a Bearer credential. | [default to undefined]
|
|
9
|
+
**token_type** | **string** | Token scheme to use in the Authorization header. | [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { TokenOut } from 'neuland-hub-sdk';
|
|
15
|
+
|
|
16
|
+
const instance: TokenOut = {
|
|
17
|
+
access_token,
|
|
18
|
+
token_type,
|
|
19
|
+
};
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
[[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,23 @@
|
|
|
1
|
+
# TokenTimeseriesPerModel
|
|
2
|
+
|
|
3
|
+
\"Represents token usage timeseries for a specific LLM model.
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**llm_model** | **string** | Catalog name of the model. | [default to undefined]
|
|
10
|
+
**timeseries** | **{ [key: string]: Array<TokenTimeseriesPoint>; }** | Per-metric timeseries keyed by metric name (PromptTokens, CompletionTokens, TotalTokens). | [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { TokenTimeseriesPerModel } from 'neuland-hub-sdk';
|
|
16
|
+
|
|
17
|
+
const instance: TokenTimeseriesPerModel = {
|
|
18
|
+
llm_model,
|
|
19
|
+
timeseries,
|
|
20
|
+
};
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
[[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,23 @@
|
|
|
1
|
+
# TokenTimeseriesPoint
|
|
2
|
+
|
|
3
|
+
Represents a single point in the token timeseries data.
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**date** | **string** | Date of the data point (YYYY-MM-DD). | [default to undefined]
|
|
10
|
+
**value** | **number** | Token count for this date. | [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { TokenTimeseriesPoint } from 'neuland-hub-sdk';
|
|
16
|
+
|
|
17
|
+
const instance: TokenTimeseriesPoint = {
|
|
18
|
+
date,
|
|
19
|
+
value,
|
|
20
|
+
};
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
[[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
|
+
# TokensPerModel
|
|
2
|
+
|
|
3
|
+
Model for total tokens of one llm resource.
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**llm_model** | **string** | Catalog name of the model. | [default to undefined]
|
|
10
|
+
**duration** | **string** | Window the totals cover. | [default to undefined]
|
|
11
|
+
**total_tokens_count** | **number** | Total tokens (prompt + completion) in the window. | [default to undefined]
|
|
12
|
+
**prompt_token_count** | **number** | Prompt tokens consumed in the window. | [default to undefined]
|
|
13
|
+
**completion_token_count** | **number** | Completion tokens generated in the window. | [default to undefined]
|
|
14
|
+
**total_requests** | **number** | Number of requests in the window. | [default to undefined]
|
|
15
|
+
|
|
16
|
+
## Example
|
|
17
|
+
|
|
18
|
+
```typescript
|
|
19
|
+
import { TokensPerModel } from 'neuland-hub-sdk';
|
|
20
|
+
|
|
21
|
+
const instance: TokensPerModel = {
|
|
22
|
+
llm_model,
|
|
23
|
+
duration,
|
|
24
|
+
total_tokens_count,
|
|
25
|
+
prompt_token_count,
|
|
26
|
+
completion_token_count,
|
|
27
|
+
total_requests,
|
|
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,31 @@
|
|
|
1
|
+
# TokensTimeseriesResponse
|
|
2
|
+
|
|
3
|
+
Response model for LLM tokens with timeseries data.
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**total_prompt_tokens** | **number** | Total prompt tokens across all models for the current month. | [default to undefined]
|
|
10
|
+
**total_completion_tokens** | **number** | Total completion tokens across all models for the current month. | [default to undefined]
|
|
11
|
+
**total_requests** | **number** | Total requests across all models for the current month. | [default to undefined]
|
|
12
|
+
**total_tokens** | **number** | Total tokens (prompt + completion) for the current month. | [default to undefined]
|
|
13
|
+
**tokens_per_model** | [**Array<TokensPerModel>**](TokensPerModel.md) | Current-month token summary for each model. | [default to undefined]
|
|
14
|
+
**timeseries_per_model** | [**Array<TokenTimeseriesPerModel>**](TokenTimeseriesPerModel.md) | Token usage timeseries for each model. | [default to undefined]
|
|
15
|
+
|
|
16
|
+
## Example
|
|
17
|
+
|
|
18
|
+
```typescript
|
|
19
|
+
import { TokensTimeseriesResponse } from 'neuland-hub-sdk';
|
|
20
|
+
|
|
21
|
+
const instance: TokensTimeseriesResponse = {
|
|
22
|
+
total_prompt_tokens,
|
|
23
|
+
total_completion_tokens,
|
|
24
|
+
total_requests,
|
|
25
|
+
total_tokens,
|
|
26
|
+
tokens_per_model,
|
|
27
|
+
timeseries_per_model,
|
|
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)
|