@mittwald/api-client 4.451.0 → 4.453.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.
@@ -8,8 +8,6 @@ const buildAiHostingApi = (baseClient) => ({
8
8
  customerGetKey: new ApiCallAsyncResourceFactory(descriptors.aiHostingCustomerGetKey, baseClient.aiHosting.customerGetKey).getApiResource,
9
9
  /** Get a list of currently active models. */
10
10
  customerGetDetailedModels: new ApiCallAsyncResourceFactory(descriptors.aiHostingCustomerGetDetailedModels, baseClient.aiHosting.customerGetDetailedModels).getApiResource,
11
- /** Get ai hosting plan and usages of a customer. */
12
- customerGetUsage: new ApiCallAsyncResourceFactory(descriptors.aiHostingCustomerGetUsage, baseClient.aiHosting.customerGetUsage).getApiResource,
13
11
  /** Get a list of currently active models. */
14
12
  getModels: new ApiCallAsyncResourceFactory(descriptors.aiHostingGetModels, baseClient.aiHosting.getModels).getApiResource,
15
13
  /** Get a list of keys of a project. */
@@ -18,10 +16,18 @@ const buildAiHostingApi = (baseClient) => ({
18
16
  projectGetKey: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetKey, baseClient.aiHosting.projectGetKey).getApiResource,
19
17
  /** Get a list of currently active models. */
20
18
  projectGetDetailedModels: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetDetailedModels, baseClient.aiHosting.projectGetDetailedModels).getApiResource,
21
- /** Get ai hosting plan and usages of a project. Same as the customer route, but less details. */
22
- projectGetUsage: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetUsage, baseClient.aiHosting.projectGetUsage).getApiResource,
19
+ /** Get ai hosting plan and usages of a customer by planId. */
20
+ customerGetPlan: new ApiCallAsyncResourceFactory(descriptors.aiHostingCustomerGetPlan, baseClient.aiHosting.customerGetPlan).getApiResource,
21
+ /** Get all ai hosting plans of a customer. */
22
+ customerGetPlans: new ApiCallAsyncResourceFactory(descriptors.aiHostingCustomerGetPlans, baseClient.aiHosting.customerGetPlans).getApiResource,
23
+ /** Get ai hosting plan and usages of a project by planId. */
24
+ projectGetPlan: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetPlan, baseClient.aiHosting.projectGetPlan).getApiResource,
25
+ /** Get all ai hosting plans and usages of a project. */
26
+ projectGetPlans: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetPlans, baseClient.aiHosting.projectGetPlans).getApiResource,
23
27
  });
24
28
  const buildAppApi = (baseClient) => ({
29
+ /** Get the installed `SystemSoftware' for a specific `AppInstallation`. */
30
+ getAppInstallationSystemSoftware: new ApiCallAsyncResourceFactory(descriptors.appGetAppInstallationSystemSoftware, baseClient.app.getAppInstallationSystemSoftware).getApiResource,
25
31
  /** Get an App. */
26
32
  getApp: new ApiCallAsyncResourceFactory(descriptors.appGetApp, baseClient.app.getApp).getApiResource,
27
33
  /** Get an AppInstallation. */
@@ -50,8 +56,6 @@ const buildAppApi = (baseClient) => ({
50
56
  listUpdateCandidatesForAppversion: new ApiCallAsyncResourceFactory(descriptors.appListUpdateCandidatesForAppversion, baseClient.app.listUpdateCandidatesForAppversion).getApiResource,
51
57
  /** Get runtime status belonging to an AppInstallation. */
52
58
  retrieveStatus: new ApiCallAsyncResourceFactory(descriptors.appRetrieveStatus, baseClient.app.retrieveStatus).getApiResource,
53
- /** Get the installed `SystemSoftware' for a specific `AppInstallation`. */
54
- getAppInstallationSystemSoftware: new ApiCallAsyncResourceFactory(descriptors.appGetAppInstallationSystemSoftware, baseClient.app.getAppInstallationSystemSoftware).getApiResource,
55
59
  });
56
60
  const buildArticleApi = (baseClient) => ({
57
61
  /** Get an Article. */
@@ -20,8 +20,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
20
20
  customerDeleteKey: this.requestFunctionFactory(descriptors.aiHostingCustomerDeleteKey),
21
21
  /** Get a list of currently active models. */
22
22
  customerGetDetailedModels: this.requestFunctionFactory(descriptors.aiHostingCustomerGetDetailedModels),
23
- /** Get ai hosting plan and usages of a customer. */
24
- customerGetUsage: this.requestFunctionFactory(descriptors.aiHostingCustomerGetUsage),
25
23
  /** Get a list of currently active models. */
26
24
  getModels: this.requestFunctionFactory(descriptors.aiHostingGetModels),
27
25
  /** Get a list of keys of a project. */
@@ -36,13 +34,27 @@ export class MittwaldAPIV2Client extends ApiClientBase {
36
34
  projectDeleteKey: this.requestFunctionFactory(descriptors.aiHostingProjectDeleteKey),
37
35
  /** Get a list of currently active models. */
38
36
  projectGetDetailedModels: this.requestFunctionFactory(descriptors.aiHostingProjectGetDetailedModels),
39
- /** Get ai hosting plan and usages of a project. Same as the customer route, but less details. */
40
- projectGetUsage: this.requestFunctionFactory(descriptors.aiHostingProjectGetUsage),
41
37
  /** Links a container with a project licence. */
42
38
  projectLinkContainer: this.requestFunctionFactory(descriptors.aiHostingProjectLinkContainer),
39
+ /** Get ai hosting plan and usages of a customer by planId. */
40
+ customerGetPlan: this.requestFunctionFactory(descriptors.aiHostingCustomerGetPlan),
41
+ /** Renames an AI hosting plan. */
42
+ customerUpdatePlan: this.requestFunctionFactory(descriptors.aiHostingCustomerUpdatePlan),
43
+ /** Get all ai hosting plans of a customer. */
44
+ customerGetPlans: this.requestFunctionFactory(descriptors.aiHostingCustomerGetPlans),
45
+ /** Creates an AI hosting profile and accepts the current model terms. */
46
+ customerDeclareProfile: this.requestFunctionFactory(descriptors.aiHostingCustomerDeclareProfile),
47
+ /** Get ai hosting plan and usages of a project by planId. */
48
+ projectGetPlan: this.requestFunctionFactory(descriptors.aiHostingProjectGetPlan),
49
+ /** Get all ai hosting plans and usages of a project. */
50
+ projectGetPlans: this.requestFunctionFactory(descriptors.aiHostingProjectGetPlans),
43
51
  };
44
52
  /** The App API allows you to manage your apps within a project, and all the system softwares that are installed as dependencies. */
45
53
  app = {
54
+ /** Detach a staging AppInstallation from its source. */
55
+ detachAppinstallationStaging: this.requestFunctionFactory(descriptors.appDetachAppinstallationStaging),
56
+ /** Get the installed `SystemSoftware' for a specific `AppInstallation`. */
57
+ getAppInstallationSystemSoftware: this.requestFunctionFactory(descriptors.appGetAppInstallationSystemSoftware),
46
58
  /** Get an App. */
47
59
  getApp: this.requestFunctionFactory(descriptors.appGetApp),
48
60
  /** Get an AppInstallation. */
@@ -75,20 +87,16 @@ export class MittwaldAPIV2Client extends ApiClientBase {
75
87
  listSystemsoftwareversions: this.requestFunctionFactory(descriptors.appListSystemsoftwareversions),
76
88
  /** List update candidates belonging to an AppVersion. */
77
89
  listUpdateCandidatesForAppversion: this.requestFunctionFactory(descriptors.appListUpdateCandidatesForAppversion),
90
+ /** Promote a staging AppInstallation. */
91
+ promoteAppinstallationStaging: this.requestFunctionFactory(descriptors.appPromoteAppinstallationStaging),
78
92
  /** Request a copy of an AppInstallation. */
79
93
  requestAppinstallationCopy: this.requestFunctionFactory(descriptors.appRequestAppinstallationCopy),
94
+ /** Request a staging for an AppInstallation. */
95
+ requestAppinstallationStaging: this.requestFunctionFactory(descriptors.appRequestAppinstallationStaging),
80
96
  /** Get runtime status belonging to an AppInstallation. */
81
97
  retrieveStatus: this.requestFunctionFactory(descriptors.appRetrieveStatus),
82
98
  /** Remove linkage between an AppInstallation and a Database. */
83
99
  unlinkDatabase: this.requestFunctionFactory(descriptors.appUnlinkDatabase),
84
- /** Get the installed `SystemSoftware' for a specific `AppInstallation`. */
85
- getAppInstallationSystemSoftware: this.requestFunctionFactory(descriptors.appGetAppInstallationSystemSoftware),
86
- /** Detach a staging AppInstallation from its source. */
87
- detachAppinstallationStaging: this.requestFunctionFactory(descriptors.appDetachAppinstallationStaging),
88
- /** Promote a staging AppInstallation. */
89
- promoteAppinstallationStaging: this.requestFunctionFactory(descriptors.appPromoteAppinstallationStaging),
90
- /** Request a staging for an AppInstallation. */
91
- requestAppinstallationStaging: this.requestFunctionFactory(descriptors.appRequestAppinstallationStaging),
92
100
  };
93
101
  /** The article API allows you to read article information. */
94
102
  article = {
@@ -40,12 +40,6 @@ export const aiHostingCustomerGetDetailedModels = {
40
40
  method: "GET",
41
41
  operationId: "ai-hosting-customer-get-detailed-models",
42
42
  };
43
- /** Get ai hosting plan and usages of a customer. */
44
- export const aiHostingCustomerGetUsage = {
45
- path: "/v2/customers/{customerId}/ai-hosting",
46
- method: "GET",
47
- operationId: "ai-hosting-customer-get-usage",
48
- };
49
43
  /** Get a list of currently active models. */
50
44
  export const aiHostingGetModels = {
51
45
  path: "/v2/ai-hosting-models",
@@ -88,18 +82,24 @@ export const aiHostingProjectGetDetailedModels = {
88
82
  method: "GET",
89
83
  operationId: "ai-hosting-project-get-detailed-models",
90
84
  };
91
- /** Get ai hosting plan and usages of a project. Same as the customer route, but less details. */
92
- export const aiHostingProjectGetUsage = {
93
- path: "/v2/projects/{projectId}/ai-hosting",
94
- method: "GET",
95
- operationId: "ai-hosting-project-get-usage",
96
- };
97
85
  /** Links a container with a project licence. */
98
86
  export const aiHostingProjectLinkContainer = {
99
87
  path: "/v2/projects/{projectId}/ai-hosting-keys/{keyId}/actions/link-container",
100
88
  method: "POST",
101
89
  operationId: "ai-hosting-project-link-container",
102
90
  };
91
+ /** Detach a staging AppInstallation from its source. */
92
+ export const appDetachAppinstallationStaging = {
93
+ path: "/v2/app-installations/{appInstallationId}/actions/detach-staging",
94
+ method: "POST",
95
+ operationId: "app-detach-appinstallation-staging",
96
+ };
97
+ /** Get the installed `SystemSoftware' for a specific `AppInstallation`. */
98
+ export const appGetAppInstallationSystemSoftware = {
99
+ path: "/v2/app-installations/{appInstallationId}/system-software",
100
+ method: "GET",
101
+ operationId: "app-get-app-installation-system-software",
102
+ };
103
103
  /** Get an App. */
104
104
  export const appGetApp = {
105
105
  path: "/v2/apps/{appId}",
@@ -196,12 +196,24 @@ export const appListUpdateCandidatesForAppversion = {
196
196
  method: "GET",
197
197
  operationId: "app-list-update-candidates-for-appversion",
198
198
  };
199
+ /** Promote a staging AppInstallation. */
200
+ export const appPromoteAppinstallationStaging = {
201
+ path: "/v2/app-installations/{appInstallationId}/actions/promote-staging",
202
+ method: "POST",
203
+ operationId: "app-promote-appinstallation-staging",
204
+ };
199
205
  /** Request a copy of an AppInstallation. */
200
206
  export const appRequestAppinstallationCopy = {
201
207
  path: "/v2/app-installations/{appInstallationId}/actions/copy",
202
208
  method: "POST",
203
209
  operationId: "app-request-appinstallation-copy",
204
210
  };
211
+ /** Request a staging for an AppInstallation. */
212
+ export const appRequestAppinstallationStaging = {
213
+ path: "/v2/app-installations/{appInstallationId}/actions/staging",
214
+ method: "POST",
215
+ operationId: "app-request-appinstallation-staging",
216
+ };
205
217
  /** Get runtime status belonging to an AppInstallation. */
206
218
  export const appRetrieveStatus = {
207
219
  path: "/v2/app-installations/{appInstallationId}/status",
@@ -2794,27 +2806,39 @@ export const verificationVerifyCompany = {
2794
2806
  method: "POST",
2795
2807
  operationId: "verification-verify-company",
2796
2808
  };
2797
- /** Get the installed `SystemSoftware' for a specific `AppInstallation`. */
2798
- export const appGetAppInstallationSystemSoftware = {
2799
- path: "/v2/app-installations/{appInstallationId}/system-software",
2809
+ /** Get ai hosting plan and usages of a customer by planId. */
2810
+ export const aiHostingCustomerGetPlan = {
2811
+ path: "/v2/customers/{customerId}/ai-hostings/{planId}",
2800
2812
  method: "GET",
2801
- operationId: "app-get-app-installation-system-software",
2813
+ operationId: "ai-hosting-customer-get-plan",
2802
2814
  };
2803
- /** Detach a staging AppInstallation from its source. */
2804
- export const appDetachAppinstallationStaging = {
2805
- path: "/v2/app-installations/{appInstallationId}/actions/detach-staging",
2806
- method: "POST",
2807
- operationId: "app-detach-appinstallation-staging",
2815
+ /** Renames an AI hosting plan. */
2816
+ export const aiHostingCustomerUpdatePlan = {
2817
+ path: "/v2/customers/{customerId}/ai-hostings/{planId}",
2818
+ method: "PUT",
2819
+ operationId: "ai-hosting-customer-update-plan",
2808
2820
  };
2809
- /** Promote a staging AppInstallation. */
2810
- export const appPromoteAppinstallationStaging = {
2811
- path: "/v2/app-installations/{appInstallationId}/actions/promote-staging",
2812
- method: "POST",
2813
- operationId: "app-promote-appinstallation-staging",
2821
+ /** Get all ai hosting plans of a customer. */
2822
+ export const aiHostingCustomerGetPlans = {
2823
+ path: "/v2/customers/{customerId}/ai-hostings",
2824
+ method: "GET",
2825
+ operationId: "ai-hosting-customer-get-plans",
2814
2826
  };
2815
- /** Request a staging for an AppInstallation. */
2816
- export const appRequestAppinstallationStaging = {
2817
- path: "/v2/app-installations/{appInstallationId}/actions/staging",
2827
+ /** Creates an AI hosting profile and accepts the current model terms. */
2828
+ export const aiHostingCustomerDeclareProfile = {
2829
+ path: "/v2/customers/{customerId}/ai-hostings",
2818
2830
  method: "POST",
2819
- operationId: "app-request-appinstallation-staging",
2831
+ operationId: "ai-hosting-customer-declare-profile",
2832
+ };
2833
+ /** Get ai hosting plan and usages of a project by planId. */
2834
+ export const aiHostingProjectGetPlan = {
2835
+ path: "/v2/projects/{projectId}/ai-hostings/{planId}",
2836
+ method: "GET",
2837
+ operationId: "ai-hosting-project-get-plan",
2838
+ };
2839
+ /** Get all ai hosting plans and usages of a project. */
2840
+ export const aiHostingProjectGetPlans = {
2841
+ path: "/v2/projects/{projectId}/ai-hostings",
2842
+ method: "GET",
2843
+ operationId: "ai-hosting-project-get-plans",
2820
2844
  };
@@ -8,8 +8,6 @@ const buildAiHostingApi = (baseClient) => ({
8
8
  customerGetKey: new ApiCallAsyncResourceFactory(descriptors.aiHostingCustomerGetKey, baseClient.aiHosting.customerGetKey).getApiResource,
9
9
  /** Get a list of currently active models. */
10
10
  customerGetDetailedModels: new ApiCallAsyncResourceFactory(descriptors.aiHostingCustomerGetDetailedModels, baseClient.aiHosting.customerGetDetailedModels).getApiResource,
11
- /** Get ai hosting plan and usages of a customer. */
12
- customerGetUsage: new ApiCallAsyncResourceFactory(descriptors.aiHostingCustomerGetUsage, baseClient.aiHosting.customerGetUsage).getApiResource,
13
11
  /** Get a list of currently active models. */
14
12
  getModels: new ApiCallAsyncResourceFactory(descriptors.aiHostingGetModels, baseClient.aiHosting.getModels).getApiResource,
15
13
  /** Get a list of keys of a project. */
@@ -18,10 +16,18 @@ const buildAiHostingApi = (baseClient) => ({
18
16
  projectGetKey: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetKey, baseClient.aiHosting.projectGetKey).getApiResource,
19
17
  /** Get a list of currently active models. */
20
18
  projectGetDetailedModels: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetDetailedModels, baseClient.aiHosting.projectGetDetailedModels).getApiResource,
21
- /** Get ai hosting plan and usages of a project. Same as the customer route, but less details. */
22
- projectGetUsage: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetUsage, baseClient.aiHosting.projectGetUsage).getApiResource,
19
+ /** Get ai hosting plan and usages of a customer by planId. */
20
+ customerGetPlan: new ApiCallAsyncResourceFactory(descriptors.aiHostingCustomerGetPlan, baseClient.aiHosting.customerGetPlan).getApiResource,
21
+ /** Get all ai hosting plans of a customer. */
22
+ customerGetPlans: new ApiCallAsyncResourceFactory(descriptors.aiHostingCustomerGetPlans, baseClient.aiHosting.customerGetPlans).getApiResource,
23
+ /** Get ai hosting plan and usages of a project by planId. */
24
+ projectGetPlan: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetPlan, baseClient.aiHosting.projectGetPlan).getApiResource,
25
+ /** Get all ai hosting plans and usages of a project. */
26
+ projectGetPlans: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetPlans, baseClient.aiHosting.projectGetPlans).getApiResource,
23
27
  });
24
28
  const buildAppApi = (baseClient) => ({
29
+ /** Get the installed `SystemSoftware' for a specific `AppInstallation`. */
30
+ getAppInstallationSystemSoftware: new ApiCallAsyncResourceFactory(descriptors.appGetAppInstallationSystemSoftware, baseClient.app.getAppInstallationSystemSoftware).getApiResource,
25
31
  /** Get an App. */
26
32
  getApp: new ApiCallAsyncResourceFactory(descriptors.appGetApp, baseClient.app.getApp).getApiResource,
27
33
  /** Get an AppInstallation. */
@@ -50,8 +56,6 @@ const buildAppApi = (baseClient) => ({
50
56
  listUpdateCandidatesForAppversion: new ApiCallAsyncResourceFactory(descriptors.appListUpdateCandidatesForAppversion, baseClient.app.listUpdateCandidatesForAppversion).getApiResource,
51
57
  /** Get runtime status belonging to an AppInstallation. */
52
58
  retrieveStatus: new ApiCallAsyncResourceFactory(descriptors.appRetrieveStatus, baseClient.app.retrieveStatus).getApiResource,
53
- /** Get the installed `SystemSoftware' for a specific `AppInstallation`. */
54
- getAppInstallationSystemSoftware: new ApiCallAsyncResourceFactory(descriptors.appGetAppInstallationSystemSoftware, baseClient.app.getAppInstallationSystemSoftware).getApiResource,
55
59
  });
56
60
  const buildArticleApi = (baseClient) => ({
57
61
  /** Get an Article. */
@@ -20,8 +20,6 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
20
20
  customerDeleteKey: this.requestFunctionFactory(descriptors.aiHostingCustomerDeleteKey),
21
21
  /** Get a list of currently active models. */
22
22
  customerGetDetailedModels: this.requestFunctionFactory(descriptors.aiHostingCustomerGetDetailedModels),
23
- /** Get ai hosting plan and usages of a customer. */
24
- customerGetUsage: this.requestFunctionFactory(descriptors.aiHostingCustomerGetUsage),
25
23
  /** Get a list of currently active models. */
26
24
  getModels: this.requestFunctionFactory(descriptors.aiHostingGetModels),
27
25
  /** Get a list of keys of a project. */
@@ -36,13 +34,27 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
36
34
  projectDeleteKey: this.requestFunctionFactory(descriptors.aiHostingProjectDeleteKey),
37
35
  /** Get a list of currently active models. */
38
36
  projectGetDetailedModels: this.requestFunctionFactory(descriptors.aiHostingProjectGetDetailedModels),
39
- /** Get ai hosting plan and usages of a project. Same as the customer route, but less details. */
40
- projectGetUsage: this.requestFunctionFactory(descriptors.aiHostingProjectGetUsage),
41
37
  /** Links a container with a project licence. */
42
38
  projectLinkContainer: this.requestFunctionFactory(descriptors.aiHostingProjectLinkContainer),
39
+ /** Get ai hosting plan and usages of a customer by planId. */
40
+ customerGetPlan: this.requestFunctionFactory(descriptors.aiHostingCustomerGetPlan),
41
+ /** Renames an AI hosting plan. */
42
+ customerUpdatePlan: this.requestFunctionFactory(descriptors.aiHostingCustomerUpdatePlan),
43
+ /** Get all ai hosting plans of a customer. */
44
+ customerGetPlans: this.requestFunctionFactory(descriptors.aiHostingCustomerGetPlans),
45
+ /** Creates an AI hosting profile and accepts the current model terms. */
46
+ customerDeclareProfile: this.requestFunctionFactory(descriptors.aiHostingCustomerDeclareProfile),
47
+ /** Get ai hosting plan and usages of a project by planId. */
48
+ projectGetPlan: this.requestFunctionFactory(descriptors.aiHostingProjectGetPlan),
49
+ /** Get all ai hosting plans and usages of a project. */
50
+ projectGetPlans: this.requestFunctionFactory(descriptors.aiHostingProjectGetPlans),
43
51
  };
44
52
  /** The App API allows you to manage your apps within a project, and all the system softwares that are installed as dependencies. */
45
53
  app = {
54
+ /** Detach a staging AppInstallation from its source. */
55
+ detachAppinstallationStaging: this.requestFunctionFactory(descriptors.appDetachAppinstallationStaging),
56
+ /** Get the installed `SystemSoftware' for a specific `AppInstallation`. */
57
+ getAppInstallationSystemSoftware: this.requestFunctionFactory(descriptors.appGetAppInstallationSystemSoftware),
46
58
  /** Get an App. */
47
59
  getApp: this.requestFunctionFactory(descriptors.appGetApp),
48
60
  /** Get an AppInstallation. */
@@ -75,20 +87,16 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
75
87
  listSystemsoftwareversions: this.requestFunctionFactory(descriptors.appListSystemsoftwareversions),
76
88
  /** List update candidates belonging to an AppVersion. */
77
89
  listUpdateCandidatesForAppversion: this.requestFunctionFactory(descriptors.appListUpdateCandidatesForAppversion),
90
+ /** Promote a staging AppInstallation. */
91
+ promoteAppinstallationStaging: this.requestFunctionFactory(descriptors.appPromoteAppinstallationStaging),
78
92
  /** Request a copy of an AppInstallation. */
79
93
  requestAppinstallationCopy: this.requestFunctionFactory(descriptors.appRequestAppinstallationCopy),
94
+ /** Request a staging for an AppInstallation. */
95
+ requestAppinstallationStaging: this.requestFunctionFactory(descriptors.appRequestAppinstallationStaging),
80
96
  /** Get runtime status belonging to an AppInstallation. */
81
97
  retrieveStatus: this.requestFunctionFactory(descriptors.appRetrieveStatus),
82
98
  /** Remove linkage between an AppInstallation and a Database. */
83
99
  unlinkDatabase: this.requestFunctionFactory(descriptors.appUnlinkDatabase),
84
- /** Get the installed `SystemSoftware' for a specific `AppInstallation`. */
85
- getAppInstallationSystemSoftware: this.requestFunctionFactory(descriptors.appGetAppInstallationSystemSoftware),
86
- /** Detach a staging AppInstallation from its source. */
87
- detachAppinstallationStaging: this.requestFunctionFactory(descriptors.appDetachAppinstallationStaging),
88
- /** Promote a staging AppInstallation. */
89
- promoteAppinstallationStaging: this.requestFunctionFactory(descriptors.appPromoteAppinstallationStaging),
90
- /** Request a staging for an AppInstallation. */
91
- requestAppinstallationStaging: this.requestFunctionFactory(descriptors.appRequestAppinstallationStaging),
92
100
  };
93
101
  /** The article API allows you to read article information. */
94
102
  article = {
@@ -40,12 +40,6 @@ export const aiHostingCustomerGetDetailedModels = {
40
40
  method: "GET",
41
41
  operationId: "ai-hosting-customer-get-detailed-models",
42
42
  };
43
- /** Get ai hosting plan and usages of a customer. */
44
- export const aiHostingCustomerGetUsage = {
45
- path: "/v3-next/customers/{customerId}/ai-hosting",
46
- method: "GET",
47
- operationId: "ai-hosting-customer-get-usage",
48
- };
49
43
  /** Get a list of currently active models. */
50
44
  export const aiHostingGetModels = {
51
45
  path: "/v3-next/ai-hosting-models",
@@ -88,18 +82,24 @@ export const aiHostingProjectGetDetailedModels = {
88
82
  method: "GET",
89
83
  operationId: "ai-hosting-project-get-detailed-models",
90
84
  };
91
- /** Get ai hosting plan and usages of a project. Same as the customer route, but less details. */
92
- export const aiHostingProjectGetUsage = {
93
- path: "/v3-next/projects/{projectId}/ai-hosting",
94
- method: "GET",
95
- operationId: "ai-hosting-project-get-usage",
96
- };
97
85
  /** Links a container with a project licence. */
98
86
  export const aiHostingProjectLinkContainer = {
99
87
  path: "/v3-next/projects/{projectId}/ai-hosting-keys/{keyId}/actions/link-container",
100
88
  method: "POST",
101
89
  operationId: "ai-hosting-project-link-container",
102
90
  };
91
+ /** Detach a staging AppInstallation from its source. */
92
+ export const appDetachAppinstallationStaging = {
93
+ path: "/v3-next/app-installations/{appInstallationId}/actions/detach-staging",
94
+ method: "POST",
95
+ operationId: "app-detach-appinstallation-staging",
96
+ };
97
+ /** Get the installed `SystemSoftware' for a specific `AppInstallation`. */
98
+ export const appGetAppInstallationSystemSoftware = {
99
+ path: "/v3-next/app-installations/{appInstallationId}/system-software",
100
+ method: "GET",
101
+ operationId: "app-get-app-installation-system-software",
102
+ };
103
103
  /** Get an App. */
104
104
  export const appGetApp = {
105
105
  path: "/v3-next/apps/{appId}",
@@ -196,12 +196,24 @@ export const appListUpdateCandidatesForAppversion = {
196
196
  method: "GET",
197
197
  operationId: "app-list-update-candidates-for-appversion",
198
198
  };
199
+ /** Promote a staging AppInstallation. */
200
+ export const appPromoteAppinstallationStaging = {
201
+ path: "/v3-next/app-installations/{appInstallationId}/actions/promote-staging",
202
+ method: "POST",
203
+ operationId: "app-promote-appinstallation-staging",
204
+ };
199
205
  /** Request a copy of an AppInstallation. */
200
206
  export const appRequestAppinstallationCopy = {
201
207
  path: "/v3-next/app-installations/{appInstallationId}/actions/copy",
202
208
  method: "POST",
203
209
  operationId: "app-request-appinstallation-copy",
204
210
  };
211
+ /** Request a staging for an AppInstallation. */
212
+ export const appRequestAppinstallationStaging = {
213
+ path: "/v3-next/app-installations/{appInstallationId}/actions/staging",
214
+ method: "POST",
215
+ operationId: "app-request-appinstallation-staging",
216
+ };
205
217
  /** Get runtime status belonging to an AppInstallation. */
206
218
  export const appRetrieveStatus = {
207
219
  path: "/v3-next/app-installations/{appInstallationId}/status",
@@ -2794,27 +2806,39 @@ export const verificationVerifyCompany = {
2794
2806
  method: "POST",
2795
2807
  operationId: "verification-verify-company",
2796
2808
  };
2797
- /** Get the installed `SystemSoftware' for a specific `AppInstallation`. */
2798
- export const appGetAppInstallationSystemSoftware = {
2799
- path: "/v3-next/app-installations/{appInstallationId}/system-software",
2809
+ /** Get ai hosting plan and usages of a customer by planId. */
2810
+ export const aiHostingCustomerGetPlan = {
2811
+ path: "/v3-next/customers/{customerId}/ai-hostings/{planId}",
2800
2812
  method: "GET",
2801
- operationId: "app-get-app-installation-system-software",
2813
+ operationId: "ai-hosting-customer-get-plan",
2802
2814
  };
2803
- /** Detach a staging AppInstallation from its source. */
2804
- export const appDetachAppinstallationStaging = {
2805
- path: "/v3-next/app-installations/{appInstallationId}/actions/detach-staging",
2806
- method: "POST",
2807
- operationId: "app-detach-appinstallation-staging",
2815
+ /** Renames an AI hosting plan. */
2816
+ export const aiHostingCustomerUpdatePlan = {
2817
+ path: "/v3-next/customers/{customerId}/ai-hostings/{planId}",
2818
+ method: "PUT",
2819
+ operationId: "ai-hosting-customer-update-plan",
2808
2820
  };
2809
- /** Promote a staging AppInstallation. */
2810
- export const appPromoteAppinstallationStaging = {
2811
- path: "/v3-next/app-installations/{appInstallationId}/actions/promote-staging",
2812
- method: "POST",
2813
- operationId: "app-promote-appinstallation-staging",
2821
+ /** Get all ai hosting plans of a customer. */
2822
+ export const aiHostingCustomerGetPlans = {
2823
+ path: "/v3-next/customers/{customerId}/ai-hostings",
2824
+ method: "GET",
2825
+ operationId: "ai-hosting-customer-get-plans",
2814
2826
  };
2815
- /** Request a staging for an AppInstallation. */
2816
- export const appRequestAppinstallationStaging = {
2817
- path: "/v3-next/app-installations/{appInstallationId}/actions/staging",
2827
+ /** Creates an AI hosting profile and accepts the current model terms. */
2828
+ export const aiHostingCustomerDeclareProfile = {
2829
+ path: "/v3-next/customers/{customerId}/ai-hostings",
2818
2830
  method: "POST",
2819
- operationId: "app-request-appinstallation-staging",
2831
+ operationId: "ai-hosting-customer-declare-profile",
2832
+ };
2833
+ /** Get ai hosting plan and usages of a project by planId. */
2834
+ export const aiHostingProjectGetPlan = {
2835
+ path: "/v3-next/projects/{projectId}/ai-hostings/{planId}",
2836
+ method: "GET",
2837
+ operationId: "ai-hosting-project-get-plan",
2838
+ };
2839
+ /** Get all ai hosting plans and usages of a project. */
2840
+ export const aiHostingProjectGetPlans = {
2841
+ path: "/v3-next/projects/{projectId}/ai-hostings",
2842
+ method: "GET",
2843
+ operationId: "ai-hosting-project-get-plans",
2820
2844
  };
@@ -1 +1 @@
1
- export const MittwaldAPIClientVersion = '4.450.0';
1
+ export const MittwaldAPIClientVersion = '4.452.0';