@mittwald/api-client 0.0.0-development-eced17c-20261014 → 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.
@@ -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
- /** Updates an AI hosting plan. */
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 = {
@@ -635,8 +639,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
635
639
  migrationListMigrationsByProjectId: this.requestFunctionFactory(descriptors.domainMigrationListMigrationsByProjectId),
636
640
  /** Order a Domain-Migration from a pAccount into a Project. */
637
641
  migrationOrderDomainMigration: this.requestFunctionFactory(descriptors.domainMigrationOrderDomainMigration),
638
- /** Resends a Contact-Verification email. */
639
- resendContactVerificationEmail: this.requestFunctionFactory(descriptors.domainResendContactVerificationEmail),
640
642
  /** Resend a Domain email. */
641
643
  resendDomainEmail: this.requestFunctionFactory(descriptors.domainResendDomainEmail),
642
644
  /** Suggest a list of domains based on a prompt using AI. */
@@ -862,7 +864,7 @@ export class MittwaldAPIV2Client extends ApiClientBase {
862
864
  logout: this.requestFunctionFactory(descriptors.userLogout),
863
865
  /** Obtain authorization from the resource owner. */
864
866
  oauthGetAuthorization: this.requestFunctionFactory(descriptors.userOauthGetAuthorization),
865
- /** Retrieve Access Token from Authorization Code. */
867
+ /** Retrieve an OAuth access token. */
866
868
  oauthRetrieveAccessToken: this.requestFunctionFactory(descriptors.userOauthRetrieveAccessToken),
867
869
  /** Register with email and password. */
868
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
- /** Updates an AI hosting plan. */
61
+ /** Renames an AI hosting plan. */
62
62
  export const aiHostingCustomerUpdatePlan = {
63
63
  path: "/v2/customers/{customerId}/ai-hostings/{planId}",
64
64
  method: "PUT",
@@ -1462,12 +1462,6 @@ export const domainMigrationOrderDomainMigration = {
1462
1462
  method: "POST",
1463
1463
  operationId: "domain-migration-order-domain-migration",
1464
1464
  };
1465
- /** Resends a Contact-Verification email. */
1466
- export const domainResendContactVerificationEmail = {
1467
- path: "/v2/contact-verifications/{contactVerificationId}/actions/resend-contact-verification-email",
1468
- method: "POST",
1469
- operationId: "domain-resend-contact-verification-email",
1470
- };
1471
1465
  /** Resend a Domain email. */
1472
1466
  export const domainResendDomainEmail = {
1473
1467
  path: "/v2/domains/{domainId}/actions/resend-email",
@@ -2908,7 +2902,7 @@ export const userOauthGetAuthorization = {
2908
2902
  method: "GET",
2909
2903
  operationId: "user-oauth-get-authorization",
2910
2904
  };
2911
- /** Retrieve Access Token from Authorization Code. */
2905
+ /** Retrieve an OAuth access token. */
2912
2906
  export const userOauthRetrieveAccessToken = {
2913
2907
  path: "/v2/oauth2/token",
2914
2908
  method: "POST",
@@ -2992,3 +2986,15 @@ export const verificationVerifyCompany = {
2992
2986
  method: "POST",
2993
2987
  operationId: "verification-verify-company",
2994
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
- /** Updates an AI hosting plan. */
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 = {
@@ -635,8 +639,6 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
635
639
  migrationListMigrationsByProjectId: this.requestFunctionFactory(descriptors.domainMigrationListMigrationsByProjectId),
636
640
  /** Order a Domain-Migration from a pAccount into a Project. */
637
641
  migrationOrderDomainMigration: this.requestFunctionFactory(descriptors.domainMigrationOrderDomainMigration),
638
- /** Resends a Contact-Verification email. */
639
- resendContactVerificationEmail: this.requestFunctionFactory(descriptors.domainResendContactVerificationEmail),
640
642
  /** Resend a Domain email. */
641
643
  resendDomainEmail: this.requestFunctionFactory(descriptors.domainResendDomainEmail),
642
644
  /** Suggest a list of domains based on a prompt using AI. */
@@ -862,7 +864,7 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
862
864
  logout: this.requestFunctionFactory(descriptors.userLogout),
863
865
  /** Obtain authorization from the resource owner. */
864
866
  oauthGetAuthorization: this.requestFunctionFactory(descriptors.userOauthGetAuthorization),
865
- /** Retrieve Access Token from Authorization Code. */
867
+ /** Retrieve an OAuth access token. */
866
868
  oauthRetrieveAccessToken: this.requestFunctionFactory(descriptors.userOauthRetrieveAccessToken),
867
869
  /** Register with email and password. */
868
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
- /** Updates an AI hosting plan. */
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",
@@ -1462,12 +1462,6 @@ export const domainMigrationOrderDomainMigration = {
1462
1462
  method: "POST",
1463
1463
  operationId: "domain-migration-order-domain-migration",
1464
1464
  };
1465
- /** Resends a Contact-Verification email. */
1466
- export const domainResendContactVerificationEmail = {
1467
- path: "/v3-next/contact-verifications/{contactVerificationId}/actions/resend-contact-verification-email",
1468
- method: "POST",
1469
- operationId: "domain-resend-contact-verification-email",
1470
- };
1471
1465
  /** Resend a Domain email. */
1472
1466
  export const domainResendDomainEmail = {
1473
1467
  path: "/v3-next/domains/{domainId}/actions/resend-email",
@@ -2908,7 +2902,7 @@ export const userOauthGetAuthorization = {
2908
2902
  method: "GET",
2909
2903
  operationId: "user-oauth-get-authorization",
2910
2904
  };
2911
- /** Retrieve Access Token from Authorization Code. */
2905
+ /** Retrieve an OAuth access token. */
2912
2906
  export const userOauthRetrieveAccessToken = {
2913
2907
  path: "/v3-next/oauth2/token",
2914
2908
  method: "POST",
@@ -2992,3 +2986,15 @@ export const verificationVerifyCompany = {
2992
2986
  method: "POST",
2993
2987
  operationId: "verification-verify-company",
2994
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
+ };
@@ -1 +1 @@
1
- export const MittwaldAPIClientVersion = '4.499.0';
1
+ export const MittwaldAPIClientVersion = '4.505.0';