@mittwald/api-client 0.0.0-development-4c0696b-20261015 → 0.0.0-development-492ba61-20261027
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 +4 -0
- package/dist/esm/generated/v2/client.js +6 -2
- package/dist/esm/generated/v2/descriptors.js +14 -2
- package/dist/esm/generated/v3-next/client-react.js +4 -0
- package/dist/esm/generated/v3-next/client.js +6 -2
- package/dist/esm/generated/v3-next/descriptors.js +14 -2
- package/dist/esm/version.js +1 -1
- package/dist/types/generated/v2/client-react.d.ts +261 -222
- package/dist/types/generated/v2/client.d.ts +466 -257
- package/dist/types/generated/v2/descriptors.d.ts +21 -17
- package/dist/types/generated/v2/types.d.ts +528 -56
- package/dist/types/generated/v3-next/client-react.d.ts +261 -222
- package/dist/types/generated/v3-next/client.d.ts +466 -257
- package/dist/types/generated/v3-next/descriptors.d.ts +21 -17
- package/dist/types/generated/v3-next/types.d.ts +528 -56
- package/dist/types/version.d.ts +1 -1
- package/package.json +4 -4
|
@@ -28,6 +28,10 @@ const buildAiHostingApi = (baseClient) => ({
|
|
|
28
28
|
projectGetPlan: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetPlan, baseClient.aiHosting.projectGetPlan).getApiResource,
|
|
29
29
|
/** Get all ai hosting plans and usages of a project. */
|
|
30
30
|
projectGetPlans: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetPlans, baseClient.aiHosting.projectGetPlans).getApiResource,
|
|
31
|
+
/** Get all ai hosting keys the authenticated user can access. */
|
|
32
|
+
userGetKeys: new ApiCallAsyncResourceFactory(descriptors.aiHostingUserGetKeys, baseClient.aiHosting.userGetKeys).getApiResource,
|
|
33
|
+
/** Get all ai hosting plans the authenticated user can access. */
|
|
34
|
+
userGetPlans: new ApiCallAsyncResourceFactory(descriptors.aiHostingUserGetPlans, baseClient.aiHosting.userGetPlans).getApiResource,
|
|
31
35
|
});
|
|
32
36
|
const buildAppApi = (baseClient) => ({
|
|
33
37
|
/** Get the installed `SystemSoftware' for a specific `AppInstallation`. */
|
|
@@ -26,7 +26,7 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
26
26
|
customerGetDetailedModels: this.requestFunctionFactory(descriptors.aiHostingCustomerGetDetailedModels),
|
|
27
27
|
/** Get ai hosting plan and usages of a customer by planId. */
|
|
28
28
|
customerGetPlan: this.requestFunctionFactory(descriptors.aiHostingCustomerGetPlan),
|
|
29
|
-
/**
|
|
29
|
+
/** Renames an AI hosting plan. */
|
|
30
30
|
customerUpdatePlan: this.requestFunctionFactory(descriptors.aiHostingCustomerUpdatePlan),
|
|
31
31
|
/** Rotates a customer's key. */
|
|
32
32
|
customerRotateKey: this.requestFunctionFactory(descriptors.aiHostingCustomerRotateKey),
|
|
@@ -56,6 +56,10 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
56
56
|
projectLinkContainer: this.requestFunctionFactory(descriptors.aiHostingProjectLinkContainer),
|
|
57
57
|
/** Rotates a project's key. */
|
|
58
58
|
projectRotateKey: this.requestFunctionFactory(descriptors.aiHostingProjectRotateKey),
|
|
59
|
+
/** Get all ai hosting keys the authenticated user can access. */
|
|
60
|
+
userGetKeys: this.requestFunctionFactory(descriptors.aiHostingUserGetKeys),
|
|
61
|
+
/** Get all ai hosting plans the authenticated user can access. */
|
|
62
|
+
userGetPlans: this.requestFunctionFactory(descriptors.aiHostingUserGetPlans),
|
|
59
63
|
};
|
|
60
64
|
/** The App API allows you to manage your apps within a project, and all the system softwares that are installed as dependencies. */
|
|
61
65
|
app = {
|
|
@@ -860,7 +864,7 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
860
864
|
logout: this.requestFunctionFactory(descriptors.userLogout),
|
|
861
865
|
/** Obtain authorization from the resource owner. */
|
|
862
866
|
oauthGetAuthorization: this.requestFunctionFactory(descriptors.userOauthGetAuthorization),
|
|
863
|
-
/** Retrieve
|
|
867
|
+
/** Retrieve an OAuth access token. */
|
|
864
868
|
oauthRetrieveAccessToken: this.requestFunctionFactory(descriptors.userOauthRetrieveAccessToken),
|
|
865
869
|
/** Register with email and password. */
|
|
866
870
|
register: this.requestFunctionFactory(descriptors.userRegister),
|
|
@@ -58,7 +58,7 @@ export const aiHostingCustomerGetPlan = {
|
|
|
58
58
|
method: "GET",
|
|
59
59
|
operationId: "ai-hosting-customer-get-plan",
|
|
60
60
|
};
|
|
61
|
-
/**
|
|
61
|
+
/** Renames an AI hosting plan. */
|
|
62
62
|
export const aiHostingCustomerUpdatePlan = {
|
|
63
63
|
path: "/v2/customers/{customerId}/ai-hostings/{planId}",
|
|
64
64
|
method: "PUT",
|
|
@@ -2902,7 +2902,7 @@ export const userOauthGetAuthorization = {
|
|
|
2902
2902
|
method: "GET",
|
|
2903
2903
|
operationId: "user-oauth-get-authorization",
|
|
2904
2904
|
};
|
|
2905
|
-
/** Retrieve
|
|
2905
|
+
/** Retrieve an OAuth access token. */
|
|
2906
2906
|
export const userOauthRetrieveAccessToken = {
|
|
2907
2907
|
path: "/v2/oauth2/token",
|
|
2908
2908
|
method: "POST",
|
|
@@ -2986,3 +2986,15 @@ export const verificationVerifyCompany = {
|
|
|
2986
2986
|
method: "POST",
|
|
2987
2987
|
operationId: "verification-verify-company",
|
|
2988
2988
|
};
|
|
2989
|
+
/** Get all ai hosting keys the authenticated user can access. */
|
|
2990
|
+
export const aiHostingUserGetKeys = {
|
|
2991
|
+
path: "/v2/ai-hosting-keys",
|
|
2992
|
+
method: "GET",
|
|
2993
|
+
operationId: "ai-hosting-user-get-keys",
|
|
2994
|
+
};
|
|
2995
|
+
/** Get all ai hosting plans the authenticated user can access. */
|
|
2996
|
+
export const aiHostingUserGetPlans = {
|
|
2997
|
+
path: "/v2/ai-hostings",
|
|
2998
|
+
method: "GET",
|
|
2999
|
+
operationId: "ai-hosting-user-get-plans",
|
|
3000
|
+
};
|
|
@@ -28,6 +28,10 @@ const buildAiHostingApi = (baseClient) => ({
|
|
|
28
28
|
projectGetPlan: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetPlan, baseClient.aiHosting.projectGetPlan).getApiResource,
|
|
29
29
|
/** Get all ai hosting plans and usages of a project. */
|
|
30
30
|
projectGetPlans: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetPlans, baseClient.aiHosting.projectGetPlans).getApiResource,
|
|
31
|
+
/** Get all ai hosting keys the authenticated user can access. */
|
|
32
|
+
userGetKeys: new ApiCallAsyncResourceFactory(descriptors.aiHostingUserGetKeys, baseClient.aiHosting.userGetKeys).getApiResource,
|
|
33
|
+
/** Get all ai hosting plans the authenticated user can access. */
|
|
34
|
+
userGetPlans: new ApiCallAsyncResourceFactory(descriptors.aiHostingUserGetPlans, baseClient.aiHosting.userGetPlans).getApiResource,
|
|
31
35
|
});
|
|
32
36
|
const buildAppApi = (baseClient) => ({
|
|
33
37
|
/** Get the installed `SystemSoftware' for a specific `AppInstallation`. */
|
|
@@ -26,7 +26,7 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
26
26
|
customerGetDetailedModels: this.requestFunctionFactory(descriptors.aiHostingCustomerGetDetailedModels),
|
|
27
27
|
/** Get ai hosting plan and usages of a customer by planId. */
|
|
28
28
|
customerGetPlan: this.requestFunctionFactory(descriptors.aiHostingCustomerGetPlan),
|
|
29
|
-
/**
|
|
29
|
+
/** Renames an AI hosting plan. */
|
|
30
30
|
customerUpdatePlan: this.requestFunctionFactory(descriptors.aiHostingCustomerUpdatePlan),
|
|
31
31
|
/** Rotates a customer's key. */
|
|
32
32
|
customerRotateKey: this.requestFunctionFactory(descriptors.aiHostingCustomerRotateKey),
|
|
@@ -56,6 +56,10 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
56
56
|
projectLinkContainer: this.requestFunctionFactory(descriptors.aiHostingProjectLinkContainer),
|
|
57
57
|
/** Rotates a project's key. */
|
|
58
58
|
projectRotateKey: this.requestFunctionFactory(descriptors.aiHostingProjectRotateKey),
|
|
59
|
+
/** Get all ai hosting keys the authenticated user can access. */
|
|
60
|
+
userGetKeys: this.requestFunctionFactory(descriptors.aiHostingUserGetKeys),
|
|
61
|
+
/** Get all ai hosting plans the authenticated user can access. */
|
|
62
|
+
userGetPlans: this.requestFunctionFactory(descriptors.aiHostingUserGetPlans),
|
|
59
63
|
};
|
|
60
64
|
/** The App API allows you to manage your apps within a project, and all the system softwares that are installed as dependencies. */
|
|
61
65
|
app = {
|
|
@@ -860,7 +864,7 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
860
864
|
logout: this.requestFunctionFactory(descriptors.userLogout),
|
|
861
865
|
/** Obtain authorization from the resource owner. */
|
|
862
866
|
oauthGetAuthorization: this.requestFunctionFactory(descriptors.userOauthGetAuthorization),
|
|
863
|
-
/** Retrieve
|
|
867
|
+
/** Retrieve an OAuth access token. */
|
|
864
868
|
oauthRetrieveAccessToken: this.requestFunctionFactory(descriptors.userOauthRetrieveAccessToken),
|
|
865
869
|
/** Register with email and password. */
|
|
866
870
|
register: this.requestFunctionFactory(descriptors.userRegister),
|
|
@@ -58,7 +58,7 @@ export const aiHostingCustomerGetPlan = {
|
|
|
58
58
|
method: "GET",
|
|
59
59
|
operationId: "ai-hosting-customer-get-plan",
|
|
60
60
|
};
|
|
61
|
-
/**
|
|
61
|
+
/** Renames an AI hosting plan. */
|
|
62
62
|
export const aiHostingCustomerUpdatePlan = {
|
|
63
63
|
path: "/v3-next/customers/{customerId}/ai-hostings/{planId}",
|
|
64
64
|
method: "PUT",
|
|
@@ -2902,7 +2902,7 @@ export const userOauthGetAuthorization = {
|
|
|
2902
2902
|
method: "GET",
|
|
2903
2903
|
operationId: "user-oauth-get-authorization",
|
|
2904
2904
|
};
|
|
2905
|
-
/** Retrieve
|
|
2905
|
+
/** Retrieve an OAuth access token. */
|
|
2906
2906
|
export const userOauthRetrieveAccessToken = {
|
|
2907
2907
|
path: "/v3-next/oauth2/token",
|
|
2908
2908
|
method: "POST",
|
|
@@ -2986,3 +2986,15 @@ export const verificationVerifyCompany = {
|
|
|
2986
2986
|
method: "POST",
|
|
2987
2987
|
operationId: "verification-verify-company",
|
|
2988
2988
|
};
|
|
2989
|
+
/** Get all ai hosting keys the authenticated user can access. */
|
|
2990
|
+
export const aiHostingUserGetKeys = {
|
|
2991
|
+
path: "/v3-next/ai-hosting-keys",
|
|
2992
|
+
method: "GET",
|
|
2993
|
+
operationId: "ai-hosting-user-get-keys",
|
|
2994
|
+
};
|
|
2995
|
+
/** Get all ai hosting plans the authenticated user can access. */
|
|
2996
|
+
export const aiHostingUserGetPlans = {
|
|
2997
|
+
path: "/v3-next/ai-hostings",
|
|
2998
|
+
method: "GET",
|
|
2999
|
+
operationId: "ai-hosting-user-get-plans",
|
|
3000
|
+
};
|
package/dist/esm/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const MittwaldAPIClientVersion = '4.
|
|
1
|
+
export const MittwaldAPIClientVersion = '4.505.0';
|