@mittwald/api-client
Advanced tools
@@ -450,2 +450,8 @@ import { ApiCallAsyncResourceFactory } from "@mittwald/api-client-commons/react"; | ||
| }); | ||
| const buildLicenseApi = (baseClient) => ({ | ||
| /** Get a license. */ | ||
| getLicense: new ApiCallAsyncResourceFactory(descriptors.licenseGetLicense, baseClient.license.getLicense).getApiResource, | ||
| /** List Licenses belonging to a Project. */ | ||
| listLicensesForProject: new ApiCallAsyncResourceFactory(descriptors.licenseListLicensesForProject, baseClient.license.listLicensesForProject).getApiResource, | ||
| }); | ||
| export class MittwaldAPIV2ClientReact { | ||
@@ -496,2 +502,4 @@ /** The AI hosting provides access to multiple large language and embedding models – GDPR compliant and hosted in Germany. */ | ||
| sshsftpUser; | ||
| /** The license API allows you to manage your paid licenses. */ | ||
| license; | ||
| constructor(baseClient) { | ||
@@ -520,2 +528,3 @@ this.aiHosting = buildAiHostingApi(baseClient); | ||
| this.sshsftpUser = buildSshsftpUserApi(baseClient); | ||
| this.license = buildLicenseApi(baseClient); | ||
| } | ||
@@ -522,0 +531,0 @@ static fromBaseClient(baseClient) { |
@@ -1,1 +0,1 @@ | ||
| export const MittwaldAPIClientVersion = '4.306.0'; | ||
| export const MittwaldAPIClientVersion = '4.307.0'; |
@@ -1,1 +0,1 @@ | ||
| export declare const MittwaldAPIClientVersion = '4.306.0'; | ||
| export declare const MittwaldAPIClientVersion = '4.307.0'; |
+4
-4
| { | ||
| "name": "@mittwald/api-client", | ||
| "version": "4.307.0", | ||
| "version": "4.308.0", | ||
| "author": "Mittwald CM Service GmbH & Co. KG <opensource@mittwald.de>", | ||
@@ -49,7 +49,7 @@ "type": "module", | ||
| "dependencies": { | ||
| "@mittwald/api-client-commons": "^4.307.0", | ||
| "@mittwald/api-client-commons": "^4.308.0", | ||
| "browser-or-node": "^3.0.0" | ||
| }, | ||
| "devDependencies": { | ||
| "@mittwald/api-code-generator": "^4.307.0", | ||
| "@mittwald/api-code-generator": "^4.308.0", | ||
| "@mittwald/react-use-promise": "^2.6.2", | ||
@@ -84,3 +84,3 @@ "@types/node": "^22.18.11", | ||
| }, | ||
| "gitHead": "da4743e302e6ac2e75edefef0e7a1a5a7f26e691" | ||
| "gitHead": "ef05b54f646c8f784e5f4c867298f4f2ab54737a" | ||
| } |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
3636801
1.03%69706
1.01%38
8.57%