@mittwald/api-client 4.529.0 → 4.531.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 -2
- package/dist/esm/generated/v2/client.js +18 -2
- package/dist/esm/generated/v2/descriptors.js +36 -6
- package/dist/esm/generated/v3-next/client-react.js +16 -2
- package/dist/esm/generated/v3-next/client.js +18 -2
- package/dist/esm/generated/v3-next/descriptors.js +36 -6
- package/dist/esm/version.js +1 -1
- package/dist/types/generated/v2/client-react.d.ts +35 -7
- package/dist/types/generated/v2/client.d.ts +412 -51
- package/dist/types/generated/v2/descriptors.d.ts +12 -2
- package/dist/types/generated/v2/types.d.ts +1991 -313
- package/dist/types/generated/v3-next/client-react.d.ts +35 -7
- package/dist/types/generated/v3-next/client.d.ts +412 -51
- package/dist/types/generated/v3-next/descriptors.d.ts +12 -2
- package/dist/types/generated/v3-next/types.d.ts +1991 -313
- 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,
|
|
@@ -434,8 +444,6 @@ const buildUserApi = (baseClient) => ({
|
|
|
434
444
|
listSessions: new ApiCallAsyncResourceFactory(descriptors.userListSessions, baseClient.user.listSessions).getApiResource,
|
|
435
445
|
/** Obtain authorization from the resource owner. */
|
|
436
446
|
oauthGetAuthorization: new ApiCallAsyncResourceFactory(descriptors.userOauthGetAuthorization, baseClient.user.oauthGetAuthorization).getApiResource,
|
|
437
|
-
/** Check if a password is leaked. */
|
|
438
|
-
searchedLeakedPasswordsByRange: new ApiCallAsyncResourceFactory(descriptors.userSearchedLeakedPasswordsByRange, baseClient.user.searchedLeakedPasswordsByRange).getApiResource,
|
|
439
447
|
/** Request a support code. */
|
|
440
448
|
supportCodeRequest: new ApiCallAsyncResourceFactory(descriptors.userSupportCodeRequest, baseClient.user.supportCodeRequest).getApiResource,
|
|
441
449
|
});
|
|
@@ -506,6 +514,8 @@ const buildSshsftpUserApi = (baseClient) => ({
|
|
|
506
514
|
export class MittwaldAPIV2ClientReact {
|
|
507
515
|
/** The AI hosting provides access to multiple large language and embedding models – GDPR compliant and hosted in Germany. */
|
|
508
516
|
aiHosting;
|
|
517
|
+
/** The AIssistant API lets you chat with the mStudio assistant about mittwald products and manage your saved chats. */
|
|
518
|
+
aissistant;
|
|
509
519
|
/** The App API allows you to manage your apps within a project, and all the system softwares that are installed as dependencies. */
|
|
510
520
|
app;
|
|
511
521
|
/** The article API allows you to read article information. */
|
|
@@ -530,6 +540,8 @@ export class MittwaldAPIV2ClientReact {
|
|
|
530
540
|
domain;
|
|
531
541
|
/** The file API allows you to manage your files, for example for conversations attachments and avatar uploads. */
|
|
532
542
|
file;
|
|
543
|
+
/** Look up compromised password hashes by SHA-1 prefix using k-anonymity ranges and manage mittwald's own list of compromised hashes. */
|
|
544
|
+
hibp;
|
|
533
545
|
/** The license API allows you to manage your paid licenses. */
|
|
534
546
|
license;
|
|
535
547
|
/** The mail API allows you to manage your mail accounts. */
|
|
@@ -550,6 +562,7 @@ export class MittwaldAPIV2ClientReact {
|
|
|
550
562
|
sshsftpUser;
|
|
551
563
|
constructor(baseClient) {
|
|
552
564
|
this.aiHosting = buildAiHostingApi(baseClient);
|
|
565
|
+
this.aissistant = buildAissistantApi(baseClient);
|
|
553
566
|
this.app = buildAppApi(baseClient);
|
|
554
567
|
this.article = buildArticleApi(baseClient);
|
|
555
568
|
this.backup = buildBackupApi(baseClient);
|
|
@@ -562,6 +575,7 @@ export class MittwaldAPIV2ClientReact {
|
|
|
562
575
|
this.database = buildDatabaseApi(baseClient);
|
|
563
576
|
this.domain = buildDomainApi(baseClient);
|
|
564
577
|
this.file = buildFileApi(baseClient);
|
|
578
|
+
this.hibp = buildHibpApi(baseClient);
|
|
565
579
|
this.license = buildLicenseApi(baseClient);
|
|
566
580
|
this.mail = buildMailApi(baseClient);
|
|
567
581
|
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. */
|
|
@@ -870,8 +883,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
870
883
|
removeAvatar: this.requestFunctionFactory(descriptors.userRemoveAvatar),
|
|
871
884
|
/** Resend the Email-Address verification email. */
|
|
872
885
|
resendVerificationEmail: this.requestFunctionFactory(descriptors.userResendVerificationEmail),
|
|
873
|
-
/** Check if a password is leaked. */
|
|
874
|
-
searchedLeakedPasswordsByRange: this.requestFunctionFactory(descriptors.userSearchedLeakedPasswordsByRange),
|
|
875
886
|
/** Submit your spotlight usage. */
|
|
876
887
|
spotlightFeedback: this.requestFunctionFactory(descriptors.userSpotlightFeedback),
|
|
877
888
|
/** Request a support code. */
|
|
@@ -898,6 +909,11 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
898
909
|
/** Get a File with user-friendly url. */
|
|
899
910
|
getFileWithName: this.requestFunctionFactory(descriptors.fileGetFileWithName),
|
|
900
911
|
};
|
|
912
|
+
/** Look up compromised password hashes by SHA-1 prefix using k-anonymity ranges and manage mittwald's own list of compromised hashes. */
|
|
913
|
+
hibp = {
|
|
914
|
+
/** Get the leaked-password suffixes of a SHA-1 prefix. */
|
|
915
|
+
getCompromisedPasswordHashRange: this.requestFunctionFactory(descriptors.hibpGetCompromisedPasswordHashRange),
|
|
916
|
+
};
|
|
901
917
|
/** The license API allows you to manage your paid licenses. */
|
|
902
918
|
license = {
|
|
903
919
|
/** 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",
|
|
@@ -2872,12 +2908,6 @@ export const userResendVerificationEmail = {
|
|
|
2872
2908
|
method: "POST",
|
|
2873
2909
|
operationId: "user-resend-verification-email",
|
|
2874
2910
|
};
|
|
2875
|
-
/** Check if a password is leaked. */
|
|
2876
|
-
export const userSearchedLeakedPasswordsByRange = {
|
|
2877
|
-
path: "/v2/leaked-passwords/{passwordHashPrefix}",
|
|
2878
|
-
method: "GET",
|
|
2879
|
-
operationId: "user-searched-leaked-passwords-by-range",
|
|
2880
|
-
};
|
|
2881
2911
|
/** Submit your spotlight usage. */
|
|
2882
2912
|
export const userSpotlightFeedback = {
|
|
2883
2913
|
path: "/v2/users/self/spotlights/{spotlightId}/feedback",
|
|
@@ -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,
|
|
@@ -434,8 +444,6 @@ const buildUserApi = (baseClient) => ({
|
|
|
434
444
|
listSessions: new ApiCallAsyncResourceFactory(descriptors.userListSessions, baseClient.user.listSessions).getApiResource,
|
|
435
445
|
/** Obtain authorization from the resource owner. */
|
|
436
446
|
oauthGetAuthorization: new ApiCallAsyncResourceFactory(descriptors.userOauthGetAuthorization, baseClient.user.oauthGetAuthorization).getApiResource,
|
|
437
|
-
/** Check if a password is leaked. */
|
|
438
|
-
searchedLeakedPasswordsByRange: new ApiCallAsyncResourceFactory(descriptors.userSearchedLeakedPasswordsByRange, baseClient.user.searchedLeakedPasswordsByRange).getApiResource,
|
|
439
447
|
/** Request a support code. */
|
|
440
448
|
supportCodeRequest: new ApiCallAsyncResourceFactory(descriptors.userSupportCodeRequest, baseClient.user.supportCodeRequest).getApiResource,
|
|
441
449
|
});
|
|
@@ -506,6 +514,8 @@ const buildSshsftpUserApi = (baseClient) => ({
|
|
|
506
514
|
export class MittwaldAPIV3NextClientReact {
|
|
507
515
|
/** The AI hosting provides access to multiple large language and embedding models – GDPR compliant and hosted in Germany. */
|
|
508
516
|
aiHosting;
|
|
517
|
+
/** The AIssistant API lets you chat with the mStudio assistant about mittwald products and manage your saved chats. */
|
|
518
|
+
aissistant;
|
|
509
519
|
/** The App API allows you to manage your apps within a project, and all the system softwares that are installed as dependencies. */
|
|
510
520
|
app;
|
|
511
521
|
/** The article API allows you to read article information. */
|
|
@@ -530,6 +540,8 @@ export class MittwaldAPIV3NextClientReact {
|
|
|
530
540
|
domain;
|
|
531
541
|
/** The file API allows you to manage your files, for example for conversations attachments and avatar uploads. */
|
|
532
542
|
file;
|
|
543
|
+
/** Look up compromised password hashes by SHA-1 prefix using k-anonymity ranges and manage mittwald's own list of compromised hashes. */
|
|
544
|
+
hibp;
|
|
533
545
|
/** The license API allows you to manage your paid licenses. */
|
|
534
546
|
license;
|
|
535
547
|
/** The mail API allows you to manage your mail accounts. */
|
|
@@ -550,6 +562,7 @@ export class MittwaldAPIV3NextClientReact {
|
|
|
550
562
|
sshsftpUser;
|
|
551
563
|
constructor(baseClient) {
|
|
552
564
|
this.aiHosting = buildAiHostingApi(baseClient);
|
|
565
|
+
this.aissistant = buildAissistantApi(baseClient);
|
|
553
566
|
this.app = buildAppApi(baseClient);
|
|
554
567
|
this.article = buildArticleApi(baseClient);
|
|
555
568
|
this.backup = buildBackupApi(baseClient);
|
|
@@ -562,6 +575,7 @@ export class MittwaldAPIV3NextClientReact {
|
|
|
562
575
|
this.database = buildDatabaseApi(baseClient);
|
|
563
576
|
this.domain = buildDomainApi(baseClient);
|
|
564
577
|
this.file = buildFileApi(baseClient);
|
|
578
|
+
this.hibp = buildHibpApi(baseClient);
|
|
565
579
|
this.license = buildLicenseApi(baseClient);
|
|
566
580
|
this.mail = buildMailApi(baseClient);
|
|
567
581
|
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. */
|
|
@@ -870,8 +883,6 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
870
883
|
removeAvatar: this.requestFunctionFactory(descriptors.userRemoveAvatar),
|
|
871
884
|
/** Resend the Email-Address verification email. */
|
|
872
885
|
resendVerificationEmail: this.requestFunctionFactory(descriptors.userResendVerificationEmail),
|
|
873
|
-
/** Check if a password is leaked. */
|
|
874
|
-
searchedLeakedPasswordsByRange: this.requestFunctionFactory(descriptors.userSearchedLeakedPasswordsByRange),
|
|
875
886
|
/** Submit your spotlight usage. */
|
|
876
887
|
spotlightFeedback: this.requestFunctionFactory(descriptors.userSpotlightFeedback),
|
|
877
888
|
/** Request a support code. */
|
|
@@ -898,6 +909,11 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
898
909
|
/** Get a File with user-friendly url. */
|
|
899
910
|
getFileWithName: this.requestFunctionFactory(descriptors.fileGetFileWithName),
|
|
900
911
|
};
|
|
912
|
+
/** Look up compromised password hashes by SHA-1 prefix using k-anonymity ranges and manage mittwald's own list of compromised hashes. */
|
|
913
|
+
hibp = {
|
|
914
|
+
/** Get the leaked-password suffixes of a SHA-1 prefix. */
|
|
915
|
+
getCompromisedPasswordHashRange: this.requestFunctionFactory(descriptors.hibpGetCompromisedPasswordHashRange),
|
|
916
|
+
};
|
|
901
917
|
/** The license API allows you to manage your paid licenses. */
|
|
902
918
|
license = {
|
|
903
919
|
/** 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",
|
|
@@ -2872,12 +2908,6 @@ export const userResendVerificationEmail = {
|
|
|
2872
2908
|
method: "POST",
|
|
2873
2909
|
operationId: "user-resend-verification-email",
|
|
2874
2910
|
};
|
|
2875
|
-
/** Check if a password is leaked. */
|
|
2876
|
-
export const userSearchedLeakedPasswordsByRange = {
|
|
2877
|
-
path: "/v3-next/leaked-passwords/{passwordHashPrefix}",
|
|
2878
|
-
method: "GET",
|
|
2879
|
-
operationId: "user-searched-leaked-passwords-by-range",
|
|
2880
|
-
};
|
|
2881
2911
|
/** Submit your spotlight usage. */
|
|
2882
2912
|
export const userSpotlightFeedback = {
|
|
2883
2913
|
path: "/v3-next/users/self/spotlights/{spotlightId}/feedback",
|
package/dist/esm/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const MittwaldAPIClientVersion = '4.
|
|
1
|
+
export const MittwaldAPIClientVersion = '4.530.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: {
|
|
@@ -3431,13 +3462,6 @@ declare const buildUserApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
3431
3462
|
[x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
|
|
3432
3463
|
} | undefined;
|
|
3433
3464
|
}) => import("@mittwald/react-use-promise").AsyncResource<never>;
|
|
3434
|
-
/** Check if a password is leaked. */
|
|
3435
|
-
searchedLeakedPasswordsByRange: (conf: {
|
|
3436
|
-
passwordHashPrefix: string;
|
|
3437
|
-
headers?: {
|
|
3438
|
-
[x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
|
|
3439
|
-
} | undefined;
|
|
3440
|
-
}) => import("@mittwald/react-use-promise").AsyncResource<string[]>;
|
|
3441
3465
|
/** Request a support code. */
|
|
3442
3466
|
supportCodeRequest: (conf?: {
|
|
3443
3467
|
headers?: {
|
|
@@ -4009,6 +4033,8 @@ declare const buildSshsftpUserApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
4009
4033
|
export declare class MittwaldAPIV2ClientReact {
|
|
4010
4034
|
/** The AI hosting provides access to multiple large language and embedding models – GDPR compliant and hosted in Germany. */
|
|
4011
4035
|
readonly aiHosting: ReturnType<typeof buildAiHostingApi>;
|
|
4036
|
+
/** The AIssistant API lets you chat with the mStudio assistant about mittwald products and manage your saved chats. */
|
|
4037
|
+
readonly aissistant: ReturnType<typeof buildAissistantApi>;
|
|
4012
4038
|
/** The App API allows you to manage your apps within a project, and all the system softwares that are installed as dependencies. */
|
|
4013
4039
|
readonly app: ReturnType<typeof buildAppApi>;
|
|
4014
4040
|
/** The article API allows you to read article information. */
|
|
@@ -4033,6 +4059,8 @@ export declare class MittwaldAPIV2ClientReact {
|
|
|
4033
4059
|
readonly domain: ReturnType<typeof buildDomainApi>;
|
|
4034
4060
|
/** The file API allows you to manage your files, for example for conversations attachments and avatar uploads. */
|
|
4035
4061
|
readonly file: ReturnType<typeof buildFileApi>;
|
|
4062
|
+
/** Look up compromised password hashes by SHA-1 prefix using k-anonymity ranges and manage mittwald's own list of compromised hashes. */
|
|
4063
|
+
readonly hibp: ReturnType<typeof buildHibpApi>;
|
|
4036
4064
|
/** The license API allows you to manage your paid licenses. */
|
|
4037
4065
|
readonly license: ReturnType<typeof buildLicenseApi>;
|
|
4038
4066
|
/** The mail API allows you to manage your mail accounts. */
|