@mittwald/api-client 4.529.0 → 4.530.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/generated/v2/client-react.js +16 -0
- package/dist/esm/generated/v2/client.js +18 -0
- package/dist/esm/generated/v2/descriptors.js +36 -0
- package/dist/esm/generated/v3-next/client-react.js +16 -0
- package/dist/esm/generated/v3-next/client.js +18 -0
- package/dist/esm/generated/v3-next/descriptors.js +36 -0
- package/dist/esm/version.js +1 -1
- package/dist/types/generated/v2/client-react.d.ts +35 -0
- package/dist/types/generated/v2/client.d.ts +412 -20
- package/dist/types/generated/v2/descriptors.d.ts +12 -0
- package/dist/types/generated/v2/types.d.ts +2259 -539
- package/dist/types/generated/v3-next/client-react.d.ts +35 -0
- package/dist/types/generated/v3-next/client.d.ts +412 -20
- package/dist/types/generated/v3-next/descriptors.d.ts +12 -0
- package/dist/types/generated/v3-next/types.d.ts +2259 -539
- package/dist/types/version.d.ts +1 -1
- package/package.json +4 -4
|
@@ -33,6 +33,12 @@ const buildAiHostingApi = (baseClient) => ({
|
|
|
33
33
|
/** Get all ai hosting plans the authenticated user can access. */
|
|
34
34
|
userGetPlans: new ApiCallAsyncResourceFactory(descriptors.aiHostingUserGetPlans, baseClient.aiHosting.userGetPlans).getApiResource,
|
|
35
35
|
});
|
|
36
|
+
const buildAissistantApi = (baseClient) => ({
|
|
37
|
+
/** Get one chat of the authenticated user. */
|
|
38
|
+
getChat: new ApiCallAsyncResourceFactory(descriptors.aissistantGetChat, baseClient.aissistant.getChat).getApiResource,
|
|
39
|
+
/** List the chats of the authenticated user. */
|
|
40
|
+
listChats: new ApiCallAsyncResourceFactory(descriptors.aissistantListChats, baseClient.aissistant.listChats).getApiResource,
|
|
41
|
+
});
|
|
36
42
|
const buildAppApi = (baseClient) => ({
|
|
37
43
|
/** Get the installed `SystemSoftware' for a specific `AppInstallation`. */
|
|
38
44
|
getAppInstallationSystemSoftware: new ApiCallAsyncResourceFactory(descriptors.appGetAppInstallationSystemSoftware, baseClient.app.getAppInstallationSystemSoftware).getApiResource,
|
|
@@ -349,6 +355,10 @@ const buildFileApi = (baseClient) => ({
|
|
|
349
355
|
/** Get a File with user-friendly url. */
|
|
350
356
|
getFileWithName: new ApiCallAsyncResourceFactory(descriptors.fileGetFileWithName, baseClient.file.getFileWithName).getApiResource,
|
|
351
357
|
});
|
|
358
|
+
const buildHibpApi = (baseClient) => ({
|
|
359
|
+
/** Get the leaked-password suffixes of a SHA-1 prefix. */
|
|
360
|
+
getCompromisedPasswordHashRange: new ApiCallAsyncResourceFactory(descriptors.hibpGetCompromisedPasswordHashRange, baseClient.hibp.getCompromisedPasswordHashRange).getApiResource,
|
|
361
|
+
});
|
|
352
362
|
const buildLicenseApi = (baseClient) => ({
|
|
353
363
|
/** Get a license. */
|
|
354
364
|
getLicense: new ApiCallAsyncResourceFactory(descriptors.licenseGetLicense, baseClient.license.getLicense).getApiResource,
|
|
@@ -506,6 +516,8 @@ const buildSshsftpUserApi = (baseClient) => ({
|
|
|
506
516
|
export class MittwaldAPIV2ClientReact {
|
|
507
517
|
/** The AI hosting provides access to multiple large language and embedding models – GDPR compliant and hosted in Germany. */
|
|
508
518
|
aiHosting;
|
|
519
|
+
/** The AIssistant API lets you chat with the mStudio assistant about mittwald products and manage your saved chats. */
|
|
520
|
+
aissistant;
|
|
509
521
|
/** The App API allows you to manage your apps within a project, and all the system softwares that are installed as dependencies. */
|
|
510
522
|
app;
|
|
511
523
|
/** The article API allows you to read article information. */
|
|
@@ -530,6 +542,8 @@ export class MittwaldAPIV2ClientReact {
|
|
|
530
542
|
domain;
|
|
531
543
|
/** The file API allows you to manage your files, for example for conversations attachments and avatar uploads. */
|
|
532
544
|
file;
|
|
545
|
+
/** Look up compromised password hashes by SHA-1 prefix using k-anonymity ranges and manage mittwald's own list of compromised hashes. */
|
|
546
|
+
hibp;
|
|
533
547
|
/** The license API allows you to manage your paid licenses. */
|
|
534
548
|
license;
|
|
535
549
|
/** The mail API allows you to manage your mail accounts. */
|
|
@@ -550,6 +564,7 @@ export class MittwaldAPIV2ClientReact {
|
|
|
550
564
|
sshsftpUser;
|
|
551
565
|
constructor(baseClient) {
|
|
552
566
|
this.aiHosting = buildAiHostingApi(baseClient);
|
|
567
|
+
this.aissistant = buildAissistantApi(baseClient);
|
|
553
568
|
this.app = buildAppApi(baseClient);
|
|
554
569
|
this.article = buildArticleApi(baseClient);
|
|
555
570
|
this.backup = buildBackupApi(baseClient);
|
|
@@ -562,6 +577,7 @@ export class MittwaldAPIV2ClientReact {
|
|
|
562
577
|
this.database = buildDatabaseApi(baseClient);
|
|
563
578
|
this.domain = buildDomainApi(baseClient);
|
|
564
579
|
this.file = buildFileApi(baseClient);
|
|
580
|
+
this.hibp = buildHibpApi(baseClient);
|
|
565
581
|
this.license = buildLicenseApi(baseClient);
|
|
566
582
|
this.mail = buildMailApi(baseClient);
|
|
567
583
|
this.misc = buildMiscApi(baseClient);
|
|
@@ -61,6 +61,19 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
61
61
|
/** Get all ai hosting plans the authenticated user can access. */
|
|
62
62
|
userGetPlans: this.requestFunctionFactory(descriptors.aiHostingUserGetPlans),
|
|
63
63
|
};
|
|
64
|
+
/** The AIssistant API lets you chat with the mStudio assistant about mittwald products and manage your saved chats. */
|
|
65
|
+
aissistant = {
|
|
66
|
+
/** Get one chat of the authenticated user. */
|
|
67
|
+
getChat: this.requestFunctionFactory(descriptors.aissistantGetChat),
|
|
68
|
+
/** Save the whole chat after a finished answer. */
|
|
69
|
+
saveChat: this.requestFunctionFactory(descriptors.aissistantSaveChat),
|
|
70
|
+
/** Delete a chat of the authenticated user. */
|
|
71
|
+
deleteChat: this.requestFunctionFactory(descriptors.aissistantDeleteChat),
|
|
72
|
+
/** List the chats of the authenticated user. */
|
|
73
|
+
listChats: this.requestFunctionFactory(descriptors.aissistantListChats),
|
|
74
|
+
/** Run the AIssistant on a chat and stream its answer. */
|
|
75
|
+
runChat: this.requestFunctionFactory(descriptors.aissistantRunChat),
|
|
76
|
+
};
|
|
64
77
|
/** The App API allows you to manage your apps within a project, and all the system softwares that are installed as dependencies. */
|
|
65
78
|
app = {
|
|
66
79
|
/** Detach a staging AppInstallation from its source. */
|
|
@@ -898,6 +911,11 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
898
911
|
/** Get a File with user-friendly url. */
|
|
899
912
|
getFileWithName: this.requestFunctionFactory(descriptors.fileGetFileWithName),
|
|
900
913
|
};
|
|
914
|
+
/** Look up compromised password hashes by SHA-1 prefix using k-anonymity ranges and manage mittwald's own list of compromised hashes. */
|
|
915
|
+
hibp = {
|
|
916
|
+
/** Get the leaked-password suffixes of a SHA-1 prefix. */
|
|
917
|
+
getCompromisedPasswordHashRange: this.requestFunctionFactory(descriptors.hibpGetCompromisedPasswordHashRange),
|
|
918
|
+
};
|
|
901
919
|
/** The license API allows you to manage your paid licenses. */
|
|
902
920
|
license = {
|
|
903
921
|
/** Get a license. */
|
|
@@ -160,6 +160,36 @@ export const aiHostingUserGetPlans = {
|
|
|
160
160
|
method: "GET",
|
|
161
161
|
operationId: "ai-hosting-user-get-plans",
|
|
162
162
|
};
|
|
163
|
+
/** Get one chat of the authenticated user. */
|
|
164
|
+
export const aissistantGetChat = {
|
|
165
|
+
path: "/v2/aissistant-chats/{chatId}",
|
|
166
|
+
method: "GET",
|
|
167
|
+
operationId: "aissistant-get-chat",
|
|
168
|
+
};
|
|
169
|
+
/** Save the whole chat after a finished answer. */
|
|
170
|
+
export const aissistantSaveChat = {
|
|
171
|
+
path: "/v2/aissistant-chats/{chatId}",
|
|
172
|
+
method: "PUT",
|
|
173
|
+
operationId: "aissistant-save-chat",
|
|
174
|
+
};
|
|
175
|
+
/** Delete a chat of the authenticated user. */
|
|
176
|
+
export const aissistantDeleteChat = {
|
|
177
|
+
path: "/v2/aissistant-chats/{chatId}",
|
|
178
|
+
method: "DELETE",
|
|
179
|
+
operationId: "aissistant-delete-chat",
|
|
180
|
+
};
|
|
181
|
+
/** List the chats of the authenticated user. */
|
|
182
|
+
export const aissistantListChats = {
|
|
183
|
+
path: "/v2/aissistant-chats",
|
|
184
|
+
method: "GET",
|
|
185
|
+
operationId: "aissistant-list-chats",
|
|
186
|
+
};
|
|
187
|
+
/** Run the AIssistant on a chat and stream its answer. */
|
|
188
|
+
export const aissistantRunChat = {
|
|
189
|
+
path: "/v2/aissistant-chats/{chatId}/actions/run",
|
|
190
|
+
method: "POST",
|
|
191
|
+
operationId: "aissistant-run-chat",
|
|
192
|
+
};
|
|
163
193
|
/** Detach a staging AppInstallation from its source. */
|
|
164
194
|
export const appDetachAppinstallationStaging = {
|
|
165
195
|
path: "/v2/app-installations/{appInstallationId}/actions/detach-staging",
|
|
@@ -1786,6 +1816,12 @@ export const fileGetFileWithName = {
|
|
|
1786
1816
|
method: "GET",
|
|
1787
1817
|
operationId: "file-get-file-with-name",
|
|
1788
1818
|
};
|
|
1819
|
+
/** Get the leaked-password suffixes of a SHA-1 prefix. */
|
|
1820
|
+
export const hibpGetCompromisedPasswordHashRange = {
|
|
1821
|
+
path: "/v2/compromised-password-hashes/ranges/{hashPrefix}",
|
|
1822
|
+
method: "GET",
|
|
1823
|
+
operationId: "hibp-get-compromised-password-hash-range",
|
|
1824
|
+
};
|
|
1789
1825
|
/** List Ingresses. */
|
|
1790
1826
|
export const ingressListIngresses = {
|
|
1791
1827
|
path: "/v2/ingresses",
|
|
@@ -33,6 +33,12 @@ const buildAiHostingApi = (baseClient) => ({
|
|
|
33
33
|
/** Get all ai hosting plans the authenticated user can access. */
|
|
34
34
|
userGetPlans: new ApiCallAsyncResourceFactory(descriptors.aiHostingUserGetPlans, baseClient.aiHosting.userGetPlans).getApiResource,
|
|
35
35
|
});
|
|
36
|
+
const buildAissistantApi = (baseClient) => ({
|
|
37
|
+
/** Get one chat of the authenticated user. */
|
|
38
|
+
getChat: new ApiCallAsyncResourceFactory(descriptors.aissistantGetChat, baseClient.aissistant.getChat).getApiResource,
|
|
39
|
+
/** List the chats of the authenticated user. */
|
|
40
|
+
listChats: new ApiCallAsyncResourceFactory(descriptors.aissistantListChats, baseClient.aissistant.listChats).getApiResource,
|
|
41
|
+
});
|
|
36
42
|
const buildAppApi = (baseClient) => ({
|
|
37
43
|
/** Get the installed `SystemSoftware' for a specific `AppInstallation`. */
|
|
38
44
|
getAppInstallationSystemSoftware: new ApiCallAsyncResourceFactory(descriptors.appGetAppInstallationSystemSoftware, baseClient.app.getAppInstallationSystemSoftware).getApiResource,
|
|
@@ -349,6 +355,10 @@ const buildFileApi = (baseClient) => ({
|
|
|
349
355
|
/** Get a File with user-friendly url. */
|
|
350
356
|
getFileWithName: new ApiCallAsyncResourceFactory(descriptors.fileGetFileWithName, baseClient.file.getFileWithName).getApiResource,
|
|
351
357
|
});
|
|
358
|
+
const buildHibpApi = (baseClient) => ({
|
|
359
|
+
/** Get the leaked-password suffixes of a SHA-1 prefix. */
|
|
360
|
+
getCompromisedPasswordHashRange: new ApiCallAsyncResourceFactory(descriptors.hibpGetCompromisedPasswordHashRange, baseClient.hibp.getCompromisedPasswordHashRange).getApiResource,
|
|
361
|
+
});
|
|
352
362
|
const buildLicenseApi = (baseClient) => ({
|
|
353
363
|
/** Get a license. */
|
|
354
364
|
getLicense: new ApiCallAsyncResourceFactory(descriptors.licenseGetLicense, baseClient.license.getLicense).getApiResource,
|
|
@@ -506,6 +516,8 @@ const buildSshsftpUserApi = (baseClient) => ({
|
|
|
506
516
|
export class MittwaldAPIV3NextClientReact {
|
|
507
517
|
/** The AI hosting provides access to multiple large language and embedding models – GDPR compliant and hosted in Germany. */
|
|
508
518
|
aiHosting;
|
|
519
|
+
/** The AIssistant API lets you chat with the mStudio assistant about mittwald products and manage your saved chats. */
|
|
520
|
+
aissistant;
|
|
509
521
|
/** The App API allows you to manage your apps within a project, and all the system softwares that are installed as dependencies. */
|
|
510
522
|
app;
|
|
511
523
|
/** The article API allows you to read article information. */
|
|
@@ -530,6 +542,8 @@ export class MittwaldAPIV3NextClientReact {
|
|
|
530
542
|
domain;
|
|
531
543
|
/** The file API allows you to manage your files, for example for conversations attachments and avatar uploads. */
|
|
532
544
|
file;
|
|
545
|
+
/** Look up compromised password hashes by SHA-1 prefix using k-anonymity ranges and manage mittwald's own list of compromised hashes. */
|
|
546
|
+
hibp;
|
|
533
547
|
/** The license API allows you to manage your paid licenses. */
|
|
534
548
|
license;
|
|
535
549
|
/** The mail API allows you to manage your mail accounts. */
|
|
@@ -550,6 +564,7 @@ export class MittwaldAPIV3NextClientReact {
|
|
|
550
564
|
sshsftpUser;
|
|
551
565
|
constructor(baseClient) {
|
|
552
566
|
this.aiHosting = buildAiHostingApi(baseClient);
|
|
567
|
+
this.aissistant = buildAissistantApi(baseClient);
|
|
553
568
|
this.app = buildAppApi(baseClient);
|
|
554
569
|
this.article = buildArticleApi(baseClient);
|
|
555
570
|
this.backup = buildBackupApi(baseClient);
|
|
@@ -562,6 +577,7 @@ export class MittwaldAPIV3NextClientReact {
|
|
|
562
577
|
this.database = buildDatabaseApi(baseClient);
|
|
563
578
|
this.domain = buildDomainApi(baseClient);
|
|
564
579
|
this.file = buildFileApi(baseClient);
|
|
580
|
+
this.hibp = buildHibpApi(baseClient);
|
|
565
581
|
this.license = buildLicenseApi(baseClient);
|
|
566
582
|
this.mail = buildMailApi(baseClient);
|
|
567
583
|
this.misc = buildMiscApi(baseClient);
|
|
@@ -61,6 +61,19 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
61
61
|
/** Get all ai hosting plans the authenticated user can access. */
|
|
62
62
|
userGetPlans: this.requestFunctionFactory(descriptors.aiHostingUserGetPlans),
|
|
63
63
|
};
|
|
64
|
+
/** The AIssistant API lets you chat with the mStudio assistant about mittwald products and manage your saved chats. */
|
|
65
|
+
aissistant = {
|
|
66
|
+
/** Get one chat of the authenticated user. */
|
|
67
|
+
getChat: this.requestFunctionFactory(descriptors.aissistantGetChat),
|
|
68
|
+
/** Save the whole chat after a finished answer. */
|
|
69
|
+
saveChat: this.requestFunctionFactory(descriptors.aissistantSaveChat),
|
|
70
|
+
/** Delete a chat of the authenticated user. */
|
|
71
|
+
deleteChat: this.requestFunctionFactory(descriptors.aissistantDeleteChat),
|
|
72
|
+
/** List the chats of the authenticated user. */
|
|
73
|
+
listChats: this.requestFunctionFactory(descriptors.aissistantListChats),
|
|
74
|
+
/** Run the AIssistant on a chat and stream its answer. */
|
|
75
|
+
runChat: this.requestFunctionFactory(descriptors.aissistantRunChat),
|
|
76
|
+
};
|
|
64
77
|
/** The App API allows you to manage your apps within a project, and all the system softwares that are installed as dependencies. */
|
|
65
78
|
app = {
|
|
66
79
|
/** Detach a staging AppInstallation from its source. */
|
|
@@ -898,6 +911,11 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
898
911
|
/** Get a File with user-friendly url. */
|
|
899
912
|
getFileWithName: this.requestFunctionFactory(descriptors.fileGetFileWithName),
|
|
900
913
|
};
|
|
914
|
+
/** Look up compromised password hashes by SHA-1 prefix using k-anonymity ranges and manage mittwald's own list of compromised hashes. */
|
|
915
|
+
hibp = {
|
|
916
|
+
/** Get the leaked-password suffixes of a SHA-1 prefix. */
|
|
917
|
+
getCompromisedPasswordHashRange: this.requestFunctionFactory(descriptors.hibpGetCompromisedPasswordHashRange),
|
|
918
|
+
};
|
|
901
919
|
/** The license API allows you to manage your paid licenses. */
|
|
902
920
|
license = {
|
|
903
921
|
/** Get a license. */
|
|
@@ -160,6 +160,36 @@ export const aiHostingUserGetPlans = {
|
|
|
160
160
|
method: "GET",
|
|
161
161
|
operationId: "ai-hosting-user-get-plans",
|
|
162
162
|
};
|
|
163
|
+
/** Get one chat of the authenticated user. */
|
|
164
|
+
export const aissistantGetChat = {
|
|
165
|
+
path: "/v3-next/aissistant-chats/{chatId}",
|
|
166
|
+
method: "GET",
|
|
167
|
+
operationId: "aissistant-get-chat",
|
|
168
|
+
};
|
|
169
|
+
/** Save the whole chat after a finished answer. */
|
|
170
|
+
export const aissistantSaveChat = {
|
|
171
|
+
path: "/v3-next/aissistant-chats/{chatId}",
|
|
172
|
+
method: "PUT",
|
|
173
|
+
operationId: "aissistant-save-chat",
|
|
174
|
+
};
|
|
175
|
+
/** Delete a chat of the authenticated user. */
|
|
176
|
+
export const aissistantDeleteChat = {
|
|
177
|
+
path: "/v3-next/aissistant-chats/{chatId}",
|
|
178
|
+
method: "DELETE",
|
|
179
|
+
operationId: "aissistant-delete-chat",
|
|
180
|
+
};
|
|
181
|
+
/** List the chats of the authenticated user. */
|
|
182
|
+
export const aissistantListChats = {
|
|
183
|
+
path: "/v3-next/aissistant-chats",
|
|
184
|
+
method: "GET",
|
|
185
|
+
operationId: "aissistant-list-chats",
|
|
186
|
+
};
|
|
187
|
+
/** Run the AIssistant on a chat and stream its answer. */
|
|
188
|
+
export const aissistantRunChat = {
|
|
189
|
+
path: "/v3-next/aissistant-chats/{chatId}/actions/run",
|
|
190
|
+
method: "POST",
|
|
191
|
+
operationId: "aissistant-run-chat",
|
|
192
|
+
};
|
|
163
193
|
/** Detach a staging AppInstallation from its source. */
|
|
164
194
|
export const appDetachAppinstallationStaging = {
|
|
165
195
|
path: "/v3-next/app-installations/{appInstallationId}/actions/detach-staging",
|
|
@@ -1786,6 +1816,12 @@ export const fileGetFileWithName = {
|
|
|
1786
1816
|
method: "GET",
|
|
1787
1817
|
operationId: "file-get-file-with-name",
|
|
1788
1818
|
};
|
|
1819
|
+
/** Get the leaked-password suffixes of a SHA-1 prefix. */
|
|
1820
|
+
export const hibpGetCompromisedPasswordHashRange = {
|
|
1821
|
+
path: "/v3-next/compromised-password-hashes/ranges/{hashPrefix}",
|
|
1822
|
+
method: "GET",
|
|
1823
|
+
operationId: "hibp-get-compromised-password-hash-range",
|
|
1824
|
+
};
|
|
1789
1825
|
/** List Ingresses. */
|
|
1790
1826
|
export const ingressListIngresses = {
|
|
1791
1827
|
path: "/v3-next/ingresses",
|
package/dist/esm/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const MittwaldAPIClientVersion = '4.
|
|
1
|
+
export const MittwaldAPIClientVersion = '4.529.0';
|
|
@@ -258,6 +258,28 @@ declare const buildAiHostingApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
258
258
|
} | undefined;
|
|
259
259
|
} | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingUserPlan[]>;
|
|
260
260
|
};
|
|
261
|
+
declare const buildAissistantApi: (baseClient: MittwaldAPIV2Client) => {
|
|
262
|
+
/** Get one chat of the authenticated user. */
|
|
263
|
+
getChat: (conf: {
|
|
264
|
+
chatId: string;
|
|
265
|
+
headers?: {
|
|
266
|
+
[x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
|
|
267
|
+
} | undefined;
|
|
268
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
269
|
+
id: string;
|
|
270
|
+
messages: import("./types.js").MittwaldAPIV2.Components.Schemas.AissistantChatMessage[];
|
|
271
|
+
revision: number;
|
|
272
|
+
title: string;
|
|
273
|
+
turnMarks: import("./types.js").MittwaldAPIV2.Components.Schemas.AissistantTurnMarks;
|
|
274
|
+
updatedAt: string;
|
|
275
|
+
}>;
|
|
276
|
+
/** List the chats of the authenticated user. */
|
|
277
|
+
listChats: (conf?: {
|
|
278
|
+
headers?: {
|
|
279
|
+
[x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
|
|
280
|
+
} | undefined;
|
|
281
|
+
} | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.AissistantChatListItem[]>;
|
|
282
|
+
};
|
|
261
283
|
declare const buildAppApi: (baseClient: MittwaldAPIV2Client) => {
|
|
262
284
|
/** Get the installed `SystemSoftware' for a specific `AppInstallation`. */
|
|
263
285
|
getAppInstallationSystemSoftware: (conf: {
|
|
@@ -2842,6 +2864,15 @@ declare const buildFileApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
2842
2864
|
} | undefined;
|
|
2843
2865
|
}) => import("@mittwald/react-use-promise").AsyncResource<string>;
|
|
2844
2866
|
};
|
|
2867
|
+
declare const buildHibpApi: (baseClient: MittwaldAPIV2Client) => {
|
|
2868
|
+
/** Get the leaked-password suffixes of a SHA-1 prefix. */
|
|
2869
|
+
getCompromisedPasswordHashRange: (conf: {
|
|
2870
|
+
hashPrefix: import("./types.js").MittwaldAPIV2.Components.Schemas.HibpHashPrefix;
|
|
2871
|
+
headers?: {
|
|
2872
|
+
[x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
|
|
2873
|
+
} | undefined;
|
|
2874
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<string>;
|
|
2875
|
+
};
|
|
2845
2876
|
declare const buildLicenseApi: (baseClient: MittwaldAPIV2Client) => {
|
|
2846
2877
|
/** Get a license. */
|
|
2847
2878
|
getLicense: (conf: {
|
|
@@ -4009,6 +4040,8 @@ declare const buildSshsftpUserApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
4009
4040
|
export declare class MittwaldAPIV2ClientReact {
|
|
4010
4041
|
/** The AI hosting provides access to multiple large language and embedding models – GDPR compliant and hosted in Germany. */
|
|
4011
4042
|
readonly aiHosting: ReturnType<typeof buildAiHostingApi>;
|
|
4043
|
+
/** The AIssistant API lets you chat with the mStudio assistant about mittwald products and manage your saved chats. */
|
|
4044
|
+
readonly aissistant: ReturnType<typeof buildAissistantApi>;
|
|
4012
4045
|
/** The App API allows you to manage your apps within a project, and all the system softwares that are installed as dependencies. */
|
|
4013
4046
|
readonly app: ReturnType<typeof buildAppApi>;
|
|
4014
4047
|
/** The article API allows you to read article information. */
|
|
@@ -4033,6 +4066,8 @@ export declare class MittwaldAPIV2ClientReact {
|
|
|
4033
4066
|
readonly domain: ReturnType<typeof buildDomainApi>;
|
|
4034
4067
|
/** The file API allows you to manage your files, for example for conversations attachments and avatar uploads. */
|
|
4035
4068
|
readonly file: ReturnType<typeof buildFileApi>;
|
|
4069
|
+
/** Look up compromised password hashes by SHA-1 prefix using k-anonymity ranges and manage mittwald's own list of compromised hashes. */
|
|
4070
|
+
readonly hibp: ReturnType<typeof buildHibpApi>;
|
|
4036
4071
|
/** The license API allows you to manage your paid licenses. */
|
|
4037
4072
|
readonly license: ReturnType<typeof buildLicenseApi>;
|
|
4038
4073
|
/** The mail API allows you to manage your mail accounts. */
|