@mittwald/api-client 0.0.0-development-c892644-20251126 → 0.0.0-development-eec3c31-20251204
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/generated/v2/client-react.js +19 -11
- package/dist/esm/generated/v2/client.js +29 -14
- package/dist/esm/generated/v2/descriptors.js +78 -42
- package/dist/esm/version.js +1 -1
- package/dist/types/generated/v2/client-react.d.ts +99 -42
- package/dist/types/generated/v2/client.d.ts +1081 -655
- package/dist/types/generated/v2/descriptors.d.ts +26 -14
- package/dist/types/generated/v2/types.d.ts +7076 -6602
- package/dist/types/version.d.ts +1 -1
- package/package.json +4 -4
|
@@ -1,6 +1,22 @@
|
|
|
1
1
|
import { ApiCallAsyncResourceFactory } from "@mittwald/api-client-commons/react";
|
|
2
2
|
import * as descriptors from "./descriptors.js";
|
|
3
3
|
export * from "@mittwald/react-use-promise";
|
|
4
|
+
const buildAiHostingApi = (baseClient) => ({
|
|
5
|
+
/** Get a list of already created llm licences. */
|
|
6
|
+
customerGetLlmLicences: new ApiCallAsyncResourceFactory(descriptors.aiHostingCustomerGetLlmLicences, baseClient.aiHosting.customerGetLlmLicences).getApiResource,
|
|
7
|
+
/** Get a licence of a customer. */
|
|
8
|
+
customerGetLlmLicence: new ApiCallAsyncResourceFactory(descriptors.aiHostingCustomerGetLlmLicence, baseClient.aiHosting.customerGetLlmLicence).getApiResource,
|
|
9
|
+
/** Get llm tariff and usages of a customer. */
|
|
10
|
+
customerGetLlmTariffOptions: new ApiCallAsyncResourceFactory(descriptors.aiHostingCustomerGetLlmTariffOptions, baseClient.aiHosting.customerGetLlmTariffOptions).getApiResource,
|
|
11
|
+
/** Get a list of currently active llm models. */
|
|
12
|
+
getLlmModels: new ApiCallAsyncResourceFactory(descriptors.aiHostingGetLlmModels, baseClient.aiHosting.getLlmModels).getApiResource,
|
|
13
|
+
/** Get a list of already created llm licences of a project. */
|
|
14
|
+
projectGetLlmLicences: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetLlmLicences, baseClient.aiHosting.projectGetLlmLicences).getApiResource,
|
|
15
|
+
/** Get a licence of a project. */
|
|
16
|
+
projectGetLlmLicence: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetLlmLicence, baseClient.aiHosting.projectGetLlmLicence).getApiResource,
|
|
17
|
+
/** Get llm tariff and usages of a project. Same as the customer route, but less details. */
|
|
18
|
+
projectGetLlmTariffOptions: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetLlmTariffOptions, baseClient.aiHosting.projectGetLlmTariffOptions).getApiResource,
|
|
19
|
+
});
|
|
4
20
|
const buildAppApi = (baseClient) => ({
|
|
5
21
|
/** Get an App. */
|
|
6
22
|
getApp: new ApiCallAsyncResourceFactory(descriptors.appGetApp, baseClient.app.getApp).getApiResource,
|
|
@@ -400,10 +416,6 @@ const buildProjectApi = (baseClient) => ({
|
|
|
400
416
|
storagespaceGetProjectStatistics: new ApiCallAsyncResourceFactory(descriptors.storagespaceGetProjectStatistics, baseClient.project.storagespaceGetProjectStatistics).getApiResource,
|
|
401
417
|
/** Get storage space Statistics belonging to a Server. */
|
|
402
418
|
storagespaceGetServerStatistics: new ApiCallAsyncResourceFactory(descriptors.storagespaceGetServerStatistics, baseClient.project.storagespaceGetServerStatistics).getApiResource,
|
|
403
|
-
/** Get a licence of a project. */
|
|
404
|
-
getLlmLicenceExperimental: new ApiCallAsyncResourceFactory(descriptors.projectGetLlmLicenceExperimental, baseClient.project.getLlmLicenceExperimental).getApiResource,
|
|
405
|
-
/** Get a list of already created llm licences. */
|
|
406
|
-
getLlmLicencesExperimental: new ApiCallAsyncResourceFactory(descriptors.projectGetLlmLicencesExperimental, baseClient.project.getLlmLicencesExperimental).getApiResource,
|
|
407
419
|
});
|
|
408
420
|
const buildProjectFileSystemApi = (baseClient) => ({
|
|
409
421
|
/** List directories belonging to a Project. */
|
|
@@ -427,11 +439,9 @@ const buildSshsftpUserApi = (baseClient) => ({
|
|
|
427
439
|
/** Get an SSHUser. */
|
|
428
440
|
sshUserGetSshUser: new ApiCallAsyncResourceFactory(descriptors.sshUserGetSshUser, baseClient.sshsftpUser.sshUserGetSshUser).getApiResource,
|
|
429
441
|
});
|
|
430
|
-
const buildMiscApi = (baseClient) => ({
|
|
431
|
-
/** Get a list of currently active llm models. */
|
|
432
|
-
getLlmModelsExperimental: new ApiCallAsyncResourceFactory(descriptors.miscGetLlmModelsExperimental, baseClient.misc.getLlmModelsExperimental).getApiResource,
|
|
433
|
-
});
|
|
434
442
|
export class MittwaldAPIV2ClientReact {
|
|
443
|
+
/** The AI hosting provides access to multiple large language and embedding models – GDPR compliant and hosted in Germany. */
|
|
444
|
+
aiHosting;
|
|
435
445
|
/** The App API allows you to manage your apps within a project, and all the system softwares that are installed as dependencies. */
|
|
436
446
|
app;
|
|
437
447
|
/** The article API allows you to read article information. */
|
|
@@ -472,9 +482,8 @@ export class MittwaldAPIV2ClientReact {
|
|
|
472
482
|
projectFileSystem;
|
|
473
483
|
/** The SSH/SFTP User API allows you to manage your SSH/SFTP users within a project. */
|
|
474
484
|
sshsftpUser;
|
|
475
|
-
/** API endpoints that are not related to any specific API domain */
|
|
476
|
-
misc;
|
|
477
485
|
constructor(baseClient) {
|
|
486
|
+
this.aiHosting = buildAiHostingApi(baseClient);
|
|
478
487
|
this.app = buildAppApi(baseClient);
|
|
479
488
|
this.article = buildArticleApi(baseClient);
|
|
480
489
|
this.backup = buildBackupApi(baseClient);
|
|
@@ -495,7 +504,6 @@ export class MittwaldAPIV2ClientReact {
|
|
|
495
504
|
this.project = buildProjectApi(baseClient);
|
|
496
505
|
this.projectFileSystem = buildProjectFileSystemApi(baseClient);
|
|
497
506
|
this.sshsftpUser = buildSshsftpUserApi(baseClient);
|
|
498
|
-
this.misc = buildMiscApi(baseClient);
|
|
499
507
|
}
|
|
500
508
|
static fromBaseClient(baseClient) {
|
|
501
509
|
return new MittwaldAPIV2ClientReact(baseClient);
|
|
@@ -4,6 +4,35 @@
|
|
|
4
4
|
import * as descriptors from "./descriptors.js";
|
|
5
5
|
import { ApiClientBase } from "@mittwald/api-client-commons";
|
|
6
6
|
export class MittwaldAPIV2Client extends ApiClientBase {
|
|
7
|
+
/** The AI hosting provides access to multiple large language and embedding models – GDPR compliant and hosted in Germany. */
|
|
8
|
+
aiHosting = {
|
|
9
|
+
/** Get a list of already created llm licences. */
|
|
10
|
+
customerGetLlmLicences: this.requestFunctionFactory(descriptors.aiHostingCustomerGetLlmLicences),
|
|
11
|
+
/** Creates a new llm licence for a customer. */
|
|
12
|
+
customerCreateLlmLicence: this.requestFunctionFactory(descriptors.aiHostingCustomerCreateLlmLicence),
|
|
13
|
+
/** Get a licence of a customer. */
|
|
14
|
+
customerGetLlmLicence: this.requestFunctionFactory(descriptors.aiHostingCustomerGetLlmLicence),
|
|
15
|
+
/** Update a llm Licence for a customer. */
|
|
16
|
+
customerUpdateLlmLicence: this.requestFunctionFactory(descriptors.aiHostingCustomerUpdateLlmLicence),
|
|
17
|
+
/** Delete a llm Licence for a customer. */
|
|
18
|
+
customerDeleteLlmLicence: this.requestFunctionFactory(descriptors.aiHostingCustomerDeleteLlmLicence),
|
|
19
|
+
/** Get llm tariff and usages of a customer. */
|
|
20
|
+
customerGetLlmTariffOptions: this.requestFunctionFactory(descriptors.aiHostingCustomerGetLlmTariffOptions),
|
|
21
|
+
/** Get a list of currently active llm models. */
|
|
22
|
+
getLlmModels: this.requestFunctionFactory(descriptors.aiHostingGetLlmModels),
|
|
23
|
+
/** Get a list of already created llm licences of a project. */
|
|
24
|
+
projectGetLlmLicences: this.requestFunctionFactory(descriptors.aiHostingProjectGetLlmLicences),
|
|
25
|
+
/** Creates a new llm Licence for a project. */
|
|
26
|
+
projectCreateLlmLicence: this.requestFunctionFactory(descriptors.aiHostingProjectCreateLlmLicence),
|
|
27
|
+
/** Get a licence of a project. */
|
|
28
|
+
projectGetLlmLicence: this.requestFunctionFactory(descriptors.aiHostingProjectGetLlmLicence),
|
|
29
|
+
/** Update a llm Licence for a project. */
|
|
30
|
+
projectUpdateLlmLicence: this.requestFunctionFactory(descriptors.aiHostingProjectUpdateLlmLicence),
|
|
31
|
+
/** Delete a llm Licence for a project. */
|
|
32
|
+
projectDeleteLlmLicence: this.requestFunctionFactory(descriptors.aiHostingProjectDeleteLlmLicence),
|
|
33
|
+
/** Get llm tariff and usages of a project. Same as the customer route, but less details. */
|
|
34
|
+
projectGetLlmTariffOptions: this.requestFunctionFactory(descriptors.aiHostingProjectGetLlmTariffOptions),
|
|
35
|
+
};
|
|
7
36
|
/** The App API allows you to manage your apps within a project, and all the system softwares that are installed as dependencies. */
|
|
8
37
|
app = {
|
|
9
38
|
/** Trigger a runtime action belonging to an AppInstallation. */
|
|
@@ -233,16 +262,12 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
233
262
|
contributorListOnbehalfInvoices: this.requestFunctionFactory(descriptors.contributorListOnbehalfInvoices),
|
|
234
263
|
/** Request an Access Token for the Incoming Invoice file. */
|
|
235
264
|
contributorReceiptGetFileAccessToken: this.requestFunctionFactory(descriptors.contributorReceiptGetFileAccessToken),
|
|
236
|
-
/** Reject a contributor verification request. */
|
|
237
|
-
contributorRejectContributorInternal: this.requestFunctionFactory(descriptors.contributorRejectContributorInternal),
|
|
238
265
|
/** Add a deviating avatar to a Contributor. */
|
|
239
266
|
contributorRequestDeviatingContributorAvatarUpload: this.requestFunctionFactory(descriptors.contributorRequestDeviatingContributorAvatarUpload),
|
|
240
267
|
/** Delete deviating contributor avatar und return to the inherited customer avatar. */
|
|
241
268
|
contributorResetContributorAvatar: this.requestFunctionFactory(descriptors.contributorResetContributorAvatar),
|
|
242
269
|
/** Rotate the secret for an extension instance. */
|
|
243
270
|
contributorRotateSecretForExtensionInstance: this.requestFunctionFactory(descriptors.contributorRotateSecretForExtensionInstance),
|
|
244
|
-
/** Accept a contributor verification request */
|
|
245
|
-
contributorVerifyContributorInternal: this.requestFunctionFactory(descriptors.contributorVerifyContributorInternal),
|
|
246
271
|
/** Authenticate your external application using the extensionInstanceSecret. */
|
|
247
272
|
extensionAuthenticateInstance: this.requestFunctionFactory(descriptors.extensionAuthenticateInstance),
|
|
248
273
|
/** Authenticate your external application using a session token and an extension secret */
|
|
@@ -895,14 +920,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
895
920
|
storagespaceReplaceProjectNotificationThreshold: this.requestFunctionFactory(descriptors.storagespaceReplaceProjectNotificationThreshold),
|
|
896
921
|
/** Update a Server's storage space notification threshold. */
|
|
897
922
|
storagespaceReplaceServerNotificationThreshold: this.requestFunctionFactory(descriptors.storagespaceReplaceServerNotificationThreshold),
|
|
898
|
-
/** Get a licence of a project. */
|
|
899
|
-
getLlmLicenceExperimental: this.requestFunctionFactory(descriptors.projectGetLlmLicenceExperimental),
|
|
900
|
-
/** Update a llm Licence for a project. */
|
|
901
|
-
updateLlmLicenceExperimental: this.requestFunctionFactory(descriptors.projectUpdateLlmLicenceExperimental),
|
|
902
|
-
/** Get a list of already created llm licences. */
|
|
903
|
-
getLlmLicencesExperimental: this.requestFunctionFactory(descriptors.projectGetLlmLicencesExperimental),
|
|
904
|
-
/** Creates a new llm beta Licence for a project. Will be purged on end of beta. */
|
|
905
|
-
createLlmBetaLicenceExperimental: this.requestFunctionFactory(descriptors.projectCreateLlmBetaLicenceExperimental),
|
|
906
923
|
};
|
|
907
924
|
/** The filesystem API allows you to directly access the filesystem of your project. */
|
|
908
925
|
projectFileSystem = {
|
|
@@ -955,8 +972,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
955
972
|
verificationVerifyAddress: this.requestFunctionFactory(descriptors.verificationVerifyAddress),
|
|
956
973
|
/** Check if a company exists. */
|
|
957
974
|
verificationVerifyCompany: this.requestFunctionFactory(descriptors.verificationVerifyCompany),
|
|
958
|
-
/** Get a list of currently active llm models. */
|
|
959
|
-
getLlmModelsExperimental: this.requestFunctionFactory(descriptors.miscGetLlmModelsExperimental),
|
|
960
975
|
};
|
|
961
976
|
}
|
|
962
977
|
export default MittwaldAPIV2Client;
|
|
@@ -1,3 +1,81 @@
|
|
|
1
|
+
/** Get a list of already created llm licences. */
|
|
2
|
+
export const aiHostingCustomerGetLlmLicences = {
|
|
3
|
+
path: "/v2/customers/{customerId}/llm-licences",
|
|
4
|
+
method: "GET",
|
|
5
|
+
operationId: "ai-hosting-customer-get-llm-licences",
|
|
6
|
+
};
|
|
7
|
+
/** Creates a new llm licence for a customer. */
|
|
8
|
+
export const aiHostingCustomerCreateLlmLicence = {
|
|
9
|
+
path: "/v2/customers/{customerId}/llm-licences",
|
|
10
|
+
method: "POST",
|
|
11
|
+
operationId: "ai-hosting-customer-create-llm-licence",
|
|
12
|
+
};
|
|
13
|
+
/** Get a licence of a customer. */
|
|
14
|
+
export const aiHostingCustomerGetLlmLicence = {
|
|
15
|
+
path: "/v2/customers/{customerId}/llm-licences/{licenceId}",
|
|
16
|
+
method: "GET",
|
|
17
|
+
operationId: "ai-hosting-customer-get-llm-licence",
|
|
18
|
+
};
|
|
19
|
+
/** Update a llm Licence for a customer. */
|
|
20
|
+
export const aiHostingCustomerUpdateLlmLicence = {
|
|
21
|
+
path: "/v2/customers/{customerId}/llm-licences/{licenceId}",
|
|
22
|
+
method: "PUT",
|
|
23
|
+
operationId: "ai-hosting-customer-update-llm-licence",
|
|
24
|
+
};
|
|
25
|
+
/** Delete a llm Licence for a customer. */
|
|
26
|
+
export const aiHostingCustomerDeleteLlmLicence = {
|
|
27
|
+
path: "/v2/customers/{customerId}/llm-licences/{licenceId}",
|
|
28
|
+
method: "DELETE",
|
|
29
|
+
operationId: "ai-hosting-customer-delete-llm-licence",
|
|
30
|
+
};
|
|
31
|
+
/** Get llm tariff and usages of a customer. */
|
|
32
|
+
export const aiHostingCustomerGetLlmTariffOptions = {
|
|
33
|
+
path: "/v2/customers/{customerId}/llm-licences/tariff",
|
|
34
|
+
method: "GET",
|
|
35
|
+
operationId: "ai-hosting-customer-get-llm-tariff-options",
|
|
36
|
+
};
|
|
37
|
+
/** Get a list of currently active llm models. */
|
|
38
|
+
export const aiHostingGetLlmModels = {
|
|
39
|
+
path: "/v2/llm-models",
|
|
40
|
+
method: "GET",
|
|
41
|
+
operationId: "ai-hosting-get-llm-models",
|
|
42
|
+
};
|
|
43
|
+
/** Get a list of already created llm licences of a project. */
|
|
44
|
+
export const aiHostingProjectGetLlmLicences = {
|
|
45
|
+
path: "/v2/projects/{projectId}/llm-licences",
|
|
46
|
+
method: "GET",
|
|
47
|
+
operationId: "ai-hosting-project-get-llm-licences",
|
|
48
|
+
};
|
|
49
|
+
/** Creates a new llm Licence for a project. */
|
|
50
|
+
export const aiHostingProjectCreateLlmLicence = {
|
|
51
|
+
path: "/v2/projects/{projectId}/llm-licences",
|
|
52
|
+
method: "POST",
|
|
53
|
+
operationId: "ai-hosting-project-create-llm-licence",
|
|
54
|
+
};
|
|
55
|
+
/** Get a licence of a project. */
|
|
56
|
+
export const aiHostingProjectGetLlmLicence = {
|
|
57
|
+
path: "/v2/projects/{projectId}/llm-licences/{licenceId}",
|
|
58
|
+
method: "GET",
|
|
59
|
+
operationId: "ai-hosting-project-get-llm-licence",
|
|
60
|
+
};
|
|
61
|
+
/** Update a llm Licence for a project. */
|
|
62
|
+
export const aiHostingProjectUpdateLlmLicence = {
|
|
63
|
+
path: "/v2/projects/{projectId}/llm-licences/{licenceId}",
|
|
64
|
+
method: "PUT",
|
|
65
|
+
operationId: "ai-hosting-project-update-llm-licence",
|
|
66
|
+
};
|
|
67
|
+
/** Delete a llm Licence for a project. */
|
|
68
|
+
export const aiHostingProjectDeleteLlmLicence = {
|
|
69
|
+
path: "/v2/projects/{projectId}/llm-licences/{licenceId}",
|
|
70
|
+
method: "DELETE",
|
|
71
|
+
operationId: "ai-hosting-project-delete-llm-licence",
|
|
72
|
+
};
|
|
73
|
+
/** Get llm tariff and usages of a project. Same as the customer route, but less details. */
|
|
74
|
+
export const aiHostingProjectGetLlmTariffOptions = {
|
|
75
|
+
path: "/v2/projects/{projectId}/llm-licences/tariff",
|
|
76
|
+
method: "GET",
|
|
77
|
+
operationId: "ai-hosting-project-get-llm-tariff-options",
|
|
78
|
+
};
|
|
1
79
|
/** Trigger a runtime action belonging to an AppInstallation. */
|
|
2
80
|
export const appExecuteAction = {
|
|
3
81
|
path: "/v2/app-installations/{appInstallationId}/actions/{action}",
|
|
@@ -556,12 +634,6 @@ export const contributorReceiptGetFileAccessToken = {
|
|
|
556
634
|
method: "GET",
|
|
557
635
|
operationId: "contributor-receipt-get-file-access-token",
|
|
558
636
|
};
|
|
559
|
-
/** Reject a contributor verification request. */
|
|
560
|
-
export const contributorRejectContributorInternal = {
|
|
561
|
-
path: "/internal-v2/contributors/{contributorId}/actions/reject",
|
|
562
|
-
method: "POST",
|
|
563
|
-
operationId: "contributor-reject-contributor-internal",
|
|
564
|
-
};
|
|
565
637
|
/** Add a deviating avatar to a Contributor. */
|
|
566
638
|
export const contributorRequestDeviatingContributorAvatarUpload = {
|
|
567
639
|
path: "/v2/contributors/{contributorId}/avatar",
|
|
@@ -580,12 +652,6 @@ export const contributorRotateSecretForExtensionInstance = {
|
|
|
580
652
|
method: "PUT",
|
|
581
653
|
operationId: "contributor-rotate-secret-for-extension-instance",
|
|
582
654
|
};
|
|
583
|
-
/** Accept a contributor verification request */
|
|
584
|
-
export const contributorVerifyContributorInternal = {
|
|
585
|
-
path: "/internal-v2/contributors/{contributorId}/actions/verify",
|
|
586
|
-
method: "POST",
|
|
587
|
-
operationId: "contributor-verify-contributor-internal",
|
|
588
|
-
};
|
|
589
655
|
/** Get all conversation the authenticated user has created or has access to. */
|
|
590
656
|
export const conversationListConversations = {
|
|
591
657
|
path: "/v2/conversations",
|
|
@@ -2656,33 +2722,3 @@ export const verificationVerifyCompany = {
|
|
|
2656
2722
|
method: "POST",
|
|
2657
2723
|
operationId: "verification-verify-company",
|
|
2658
2724
|
};
|
|
2659
|
-
/** Get a list of currently active llm models. */
|
|
2660
|
-
export const miscGetLlmModelsExperimental = {
|
|
2661
|
-
path: "/v2/llm-models",
|
|
2662
|
-
method: "GET",
|
|
2663
|
-
operationId: "misc-get-llm-models-experimental",
|
|
2664
|
-
};
|
|
2665
|
-
/** Get a licence of a project. */
|
|
2666
|
-
export const projectGetLlmLicenceExperimental = {
|
|
2667
|
-
path: "/v2/projects/{projectId}/llm-licences/{licenceId}",
|
|
2668
|
-
method: "GET",
|
|
2669
|
-
operationId: "project-get-llm-licence-experimental",
|
|
2670
|
-
};
|
|
2671
|
-
/** Update a llm Licence for a project. */
|
|
2672
|
-
export const projectUpdateLlmLicenceExperimental = {
|
|
2673
|
-
path: "/v2/projects/{projectId}/llm-licences/{licenceId}",
|
|
2674
|
-
method: "PUT",
|
|
2675
|
-
operationId: "project-update-llm-licence-experimental",
|
|
2676
|
-
};
|
|
2677
|
-
/** Get a list of already created llm licences. */
|
|
2678
|
-
export const projectGetLlmLicencesExperimental = {
|
|
2679
|
-
path: "/v2/projects/{projectId}/llm-licences",
|
|
2680
|
-
method: "GET",
|
|
2681
|
-
operationId: "project-get-llm-licences-experimental",
|
|
2682
|
-
};
|
|
2683
|
-
/** Creates a new llm beta Licence for a project. Will be purged on end of beta. */
|
|
2684
|
-
export const projectCreateLlmBetaLicenceExperimental = {
|
|
2685
|
-
path: "/v2/projects/{projectId}/llm-licences",
|
|
2686
|
-
method: "POST",
|
|
2687
|
-
operationId: "project-create-llm-beta-licence-experimental",
|
|
2688
|
-
};
|
package/dist/esm/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const MittwaldAPIClientVersion = '4.
|
|
1
|
+
export const MittwaldAPIClientVersion = '4.270.0';
|
|
@@ -1,5 +1,95 @@
|
|
|
1
1
|
import MittwaldAPIV2Client from "./client.js";
|
|
2
2
|
export * from "@mittwald/react-use-promise";
|
|
3
|
+
declare const buildAiHostingApi: (baseClient: MittwaldAPIV2Client) => {
|
|
4
|
+
/** Get a list of already created llm licences. */
|
|
5
|
+
customerGetLlmLicences: (conf: {
|
|
6
|
+
customerId: string;
|
|
7
|
+
headers?: {
|
|
8
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
9
|
+
} | undefined;
|
|
10
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingLicence[]>;
|
|
11
|
+
/** Get a licence of a customer. */
|
|
12
|
+
customerGetLlmLicence: (conf: {
|
|
13
|
+
customerId: string;
|
|
14
|
+
licenceId: string;
|
|
15
|
+
headers?: {
|
|
16
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
17
|
+
} | undefined;
|
|
18
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
19
|
+
containerMeta?: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingContainerMeta | undefined;
|
|
20
|
+
customerId?: string | undefined;
|
|
21
|
+
isBlocked: boolean;
|
|
22
|
+
licenceId: string;
|
|
23
|
+
licenceKey: string;
|
|
24
|
+
limit: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingRateLimit;
|
|
25
|
+
models: string[];
|
|
26
|
+
name: string;
|
|
27
|
+
projectId?: string | undefined;
|
|
28
|
+
tokenUsage: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingTokenUsage;
|
|
29
|
+
}>;
|
|
30
|
+
/** Get llm tariff and usages of a customer. */
|
|
31
|
+
customerGetLlmTariffOptions: (conf: {
|
|
32
|
+
customerId: string;
|
|
33
|
+
headers?: {
|
|
34
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
35
|
+
} | undefined;
|
|
36
|
+
queryParameters?: {
|
|
37
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
38
|
+
topUsageCount?: number | undefined;
|
|
39
|
+
} | undefined;
|
|
40
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
41
|
+
licences: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingTariffUsage;
|
|
42
|
+
limit: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingRateLimit;
|
|
43
|
+
tokens: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingTariffUsageBig;
|
|
44
|
+
topUsages?: {
|
|
45
|
+
licenceId?: string;
|
|
46
|
+
licenceName: string;
|
|
47
|
+
projectId?: string;
|
|
48
|
+
tokenUsed: number;
|
|
49
|
+
}[] | undefined;
|
|
50
|
+
}>;
|
|
51
|
+
/** Get a list of currently active llm models. */
|
|
52
|
+
getLlmModels: (conf?: {
|
|
53
|
+
headers?: {
|
|
54
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
55
|
+
} | undefined;
|
|
56
|
+
} | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingModel[]>;
|
|
57
|
+
/** Get a list of already created llm licences of a project. */
|
|
58
|
+
projectGetLlmLicences: (conf: {
|
|
59
|
+
projectId: string;
|
|
60
|
+
headers?: {
|
|
61
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
62
|
+
} | undefined;
|
|
63
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingLicence[]>;
|
|
64
|
+
/** Get a licence of a project. */
|
|
65
|
+
projectGetLlmLicence: (conf: {
|
|
66
|
+
projectId: string;
|
|
67
|
+
licenceId: string;
|
|
68
|
+
headers?: {
|
|
69
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
70
|
+
} | undefined;
|
|
71
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
72
|
+
containerMeta?: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingContainerMeta | undefined;
|
|
73
|
+
customerId?: string | undefined;
|
|
74
|
+
isBlocked: boolean;
|
|
75
|
+
licenceId: string;
|
|
76
|
+
licenceKey: string;
|
|
77
|
+
limit: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingRateLimit;
|
|
78
|
+
models: string[];
|
|
79
|
+
name: string;
|
|
80
|
+
projectId?: string | undefined;
|
|
81
|
+
tokenUsage: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingTokenUsage;
|
|
82
|
+
}>;
|
|
83
|
+
/** Get llm tariff and usages of a project. Same as the customer route, but less details. */
|
|
84
|
+
projectGetLlmTariffOptions: (conf: {
|
|
85
|
+
projectId: string;
|
|
86
|
+
headers?: {
|
|
87
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
88
|
+
} | undefined;
|
|
89
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
90
|
+
licences: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingTariffUsage;
|
|
91
|
+
}>;
|
|
92
|
+
};
|
|
3
93
|
declare const buildAppApi: (baseClient: MittwaldAPIV2Client) => {
|
|
4
94
|
/** Get an App. */
|
|
5
95
|
getApp: (conf: {
|
|
@@ -1608,6 +1698,7 @@ declare const buildCustomerApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1608
1698
|
isAllowedToPlaceOrders?: boolean | undefined;
|
|
1609
1699
|
isBanned?: boolean | undefined;
|
|
1610
1700
|
isInDefaultOfPayment?: boolean | undefined;
|
|
1701
|
+
is_mail_address_invalid?: boolean | undefined;
|
|
1611
1702
|
levelOfUndeliverableDunningNotice?: "first" | "second" | undefined;
|
|
1612
1703
|
memberCount: number;
|
|
1613
1704
|
name: string;
|
|
@@ -2032,17 +2123,20 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
2032
2123
|
} | undefined;
|
|
2033
2124
|
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
2034
2125
|
caBundle?: string | undefined;
|
|
2035
|
-
certificate
|
|
2126
|
+
certificate?: string | undefined;
|
|
2036
2127
|
certificateOrderId?: string | undefined;
|
|
2037
2128
|
certificateRequestId: string;
|
|
2038
2129
|
certificateType: import("./types.js").MittwaldAPIV2.Components.Schemas.SslCertificateType;
|
|
2039
2130
|
commonName?: string | undefined;
|
|
2040
2131
|
contact?: import("./types.js").MittwaldAPIV2.Components.Schemas.SslContact | undefined;
|
|
2132
|
+
dnsCertSpec?: {
|
|
2133
|
+
cNameTarget?: string;
|
|
2134
|
+
} | undefined;
|
|
2041
2135
|
dnsNames?: string[] | undefined;
|
|
2042
2136
|
id: string;
|
|
2043
|
-
isExpired
|
|
2137
|
+
isExpired?: boolean | undefined;
|
|
2044
2138
|
issuer?: string | undefined;
|
|
2045
|
-
lastExpirationThresholdHit
|
|
2139
|
+
lastExpirationThresholdHit?: number | undefined;
|
|
2046
2140
|
projectId: string;
|
|
2047
2141
|
validFrom: string;
|
|
2048
2142
|
validTo: string;
|
|
@@ -3160,35 +3254,6 @@ declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
3160
3254
|
notificationThresholdInBytes?: number | undefined;
|
|
3161
3255
|
statisticCategories?: import("./types.js").MittwaldAPIV2.Components.Schemas.StoragespaceStatisticsCategory[] | undefined;
|
|
3162
3256
|
}>;
|
|
3163
|
-
/** Get a licence of a project. */
|
|
3164
|
-
getLlmLicenceExperimental: (conf: {
|
|
3165
|
-
projectId: string;
|
|
3166
|
-
licenceId: string;
|
|
3167
|
-
headers?: {
|
|
3168
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
3169
|
-
} | undefined;
|
|
3170
|
-
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
3171
|
-
containerMeta?: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingContainerMeta | undefined;
|
|
3172
|
-
customerId?: string | undefined;
|
|
3173
|
-
isBlocked: boolean;
|
|
3174
|
-
licenceId: string;
|
|
3175
|
-
licenceKey: string;
|
|
3176
|
-
limit: {
|
|
3177
|
-
allowedRequestsPerUnit: number;
|
|
3178
|
-
unit: "minute" | "hour";
|
|
3179
|
-
};
|
|
3180
|
-
models: string[];
|
|
3181
|
-
name: string;
|
|
3182
|
-
projectId?: string | undefined;
|
|
3183
|
-
rateLimit: number;
|
|
3184
|
-
}>;
|
|
3185
|
-
/** Get a list of already created llm licences. */
|
|
3186
|
-
getLlmLicencesExperimental: (conf: {
|
|
3187
|
-
projectId: string;
|
|
3188
|
-
headers?: {
|
|
3189
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
3190
|
-
} | undefined;
|
|
3191
|
-
}) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingLicence[]>;
|
|
3192
3257
|
};
|
|
3193
3258
|
declare const buildProjectFileSystemApi: (baseClient: MittwaldAPIV2Client) => {
|
|
3194
3259
|
/** List directories belonging to a Project. */
|
|
@@ -3350,15 +3415,9 @@ declare const buildSshsftpUserApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
3350
3415
|
userName: string;
|
|
3351
3416
|
}>;
|
|
3352
3417
|
};
|
|
3353
|
-
declare const buildMiscApi: (baseClient: MittwaldAPIV2Client) => {
|
|
3354
|
-
/** Get a list of currently active llm models. */
|
|
3355
|
-
getLlmModelsExperimental: (conf?: {
|
|
3356
|
-
headers?: {
|
|
3357
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
3358
|
-
} | undefined;
|
|
3359
|
-
} | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingModel[]>;
|
|
3360
|
-
};
|
|
3361
3418
|
export declare class MittwaldAPIV2ClientReact {
|
|
3419
|
+
/** The AI hosting provides access to multiple large language and embedding models – GDPR compliant and hosted in Germany. */
|
|
3420
|
+
readonly aiHosting: ReturnType<typeof buildAiHostingApi>;
|
|
3362
3421
|
/** The App API allows you to manage your apps within a project, and all the system softwares that are installed as dependencies. */
|
|
3363
3422
|
readonly app: ReturnType<typeof buildAppApi>;
|
|
3364
3423
|
/** The article API allows you to read article information. */
|
|
@@ -3399,8 +3458,6 @@ export declare class MittwaldAPIV2ClientReact {
|
|
|
3399
3458
|
readonly projectFileSystem: ReturnType<typeof buildProjectFileSystemApi>;
|
|
3400
3459
|
/** The SSH/SFTP User API allows you to manage your SSH/SFTP users within a project. */
|
|
3401
3460
|
readonly sshsftpUser: ReturnType<typeof buildSshsftpUserApi>;
|
|
3402
|
-
/** API endpoints that are not related to any specific API domain */
|
|
3403
|
-
readonly misc: ReturnType<typeof buildMiscApi>;
|
|
3404
3461
|
private constructor();
|
|
3405
3462
|
static fromBaseClient(baseClient: MittwaldAPIV2Client): MittwaldAPIV2ClientReact;
|
|
3406
3463
|
}
|