@mittwald/api-client 4.452.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,8 +16,14 @@ 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) => ({
25
29
  /** Get the installed `SystemSoftware' for a specific `AppInstallation`. */
@@ -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,10 +34,20 @@ 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 = {
@@ -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,12 +82,6 @@ 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",
@@ -2818,3 +2806,39 @@ export const verificationVerifyCompany = {
2818
2806
  method: "POST",
2819
2807
  operationId: "verification-verify-company",
2820
2808
  };
2809
+ /** Get ai hosting plan and usages of a customer by planId. */
2810
+ export const aiHostingCustomerGetPlan = {
2811
+ path: "/v2/customers/{customerId}/ai-hostings/{planId}",
2812
+ method: "GET",
2813
+ operationId: "ai-hosting-customer-get-plan",
2814
+ };
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",
2820
+ };
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",
2826
+ };
2827
+ /** Creates an AI hosting profile and accepts the current model terms. */
2828
+ export const aiHostingCustomerDeclareProfile = {
2829
+ path: "/v2/customers/{customerId}/ai-hostings",
2830
+ method: "POST",
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",
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,8 +16,14 @@ 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) => ({
25
29
  /** Get the installed `SystemSoftware' for a specific `AppInstallation`. */
@@ -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,10 +34,20 @@ 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 = {
@@ -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,12 +82,6 @@ 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",
@@ -2818,3 +2806,39 @@ export const verificationVerifyCompany = {
2818
2806
  method: "POST",
2819
2807
  operationId: "verification-verify-company",
2820
2808
  };
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}",
2812
+ method: "GET",
2813
+ operationId: "ai-hosting-customer-get-plan",
2814
+ };
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",
2820
+ };
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",
2826
+ };
2827
+ /** Creates an AI hosting profile and accepts the current model terms. */
2828
+ export const aiHostingCustomerDeclareProfile = {
2829
+ path: "/v3-next/customers/{customerId}/ai-hostings",
2830
+ method: "POST",
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",
2844
+ };
@@ -1 +1 @@
1
- export const MittwaldAPIClientVersion = '4.451.0';
1
+ export const MittwaldAPIClientVersion = '4.452.0';
@@ -7,6 +7,10 @@ declare const buildAiHostingApi: (baseClient: MittwaldAPIV2Client) => {
7
7
  headers?: {
8
8
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
9
9
  } | undefined;
10
+ queryParameters?: {
11
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
12
+ planId?: string | undefined;
13
+ } | undefined;
10
14
  }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingKey[]>;
11
15
  /** Get a key of a customer. */
12
16
  customerGetKey: (conf: {
@@ -23,6 +27,8 @@ declare const buildAiHostingApi: (baseClient: MittwaldAPIV2Client) => {
23
27
  keyId: string;
24
28
  models: string[];
25
29
  name: string;
30
+ planId: string;
31
+ profileId: string;
26
32
  projectId?: string | undefined;
27
33
  rateLimit: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingRateLimit;
28
34
  tokenUsage: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingTokenUsage;
@@ -34,31 +40,6 @@ declare const buildAiHostingApi: (baseClient: MittwaldAPIV2Client) => {
34
40
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
35
41
  } | undefined;
36
42
  }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingCustomerDetailedModel[]>;
37
- /** Get ai hosting plan and usages of a customer. */
38
- customerGetUsage: (conf: {
39
- customerId: string;
40
- headers?: {
41
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
42
- } | undefined;
43
- queryParameters?: {
44
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
45
- topUsageCount?: number | undefined;
46
- } | undefined;
47
- }) => import("@mittwald/react-use-promise").AsyncResource<{
48
- customerId: string;
49
- deletedAt?: string | undefined;
50
- keys: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingPlanUsage;
51
- modelTermsApprovalRequired: boolean;
52
- nextTokenReset: string;
53
- rateLimit: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingRateLimit;
54
- tokens: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingPlanUsageBig;
55
- topUsages?: {
56
- keyId?: string;
57
- name: string;
58
- projectId?: string;
59
- tokenUsed: number;
60
- }[] | undefined;
61
- }>;
62
43
  /** Get a list of currently active models. */
63
44
  getModels: (conf?: {
64
45
  headers?: {
@@ -71,6 +52,10 @@ declare const buildAiHostingApi: (baseClient: MittwaldAPIV2Client) => {
71
52
  headers?: {
72
53
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
73
54
  } | undefined;
55
+ queryParameters?: {
56
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
57
+ planId?: string | undefined;
58
+ } | undefined;
74
59
  }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingKey[]>;
75
60
  /** Get a key of a project. */
76
61
  projectGetKey: (conf: {
@@ -87,6 +72,8 @@ declare const buildAiHostingApi: (baseClient: MittwaldAPIV2Client) => {
87
72
  keyId: string;
88
73
  models: string[];
89
74
  name: string;
75
+ planId: string;
76
+ profileId: string;
90
77
  projectId?: string | undefined;
91
78
  rateLimit: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingRateLimit;
92
79
  tokenUsage: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingTokenUsage;
@@ -98,18 +85,73 @@ declare const buildAiHostingApi: (baseClient: MittwaldAPIV2Client) => {
98
85
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
99
86
  } | undefined;
100
87
  }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingProjectDetailedModel[]>;
101
- /** Get ai hosting plan and usages of a project. Same as the customer route, but less details. */
102
- projectGetUsage: (conf: {
88
+ /** Get ai hosting plan and usages of a customer by planId. */
89
+ customerGetPlan: (conf: {
90
+ customerId: string;
91
+ planId: string;
92
+ headers?: {
93
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
94
+ } | undefined;
95
+ queryParameters?: {
96
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
97
+ topUsageCount?: number | undefined;
98
+ } | undefined;
99
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
100
+ customerId: string;
101
+ deletedAt?: string | undefined;
102
+ description: string;
103
+ keys: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingPlanUsage;
104
+ modelTermsApprovalRequired: boolean;
105
+ nextTokenReset: string;
106
+ planId: string;
107
+ rateLimit: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingRateLimit;
108
+ tokens: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingPlanUsageBig;
109
+ topUsages?: {
110
+ keyId?: string;
111
+ name: string;
112
+ projectId?: string;
113
+ tokenUsed: number;
114
+ }[] | undefined;
115
+ }>;
116
+ /** Get all ai hosting plans of a customer. */
117
+ customerGetPlans: (conf: {
118
+ customerId: string;
119
+ headers?: {
120
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
121
+ } | undefined;
122
+ queryParameters?: {
123
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
124
+ topUsageCount?: number | undefined;
125
+ } | undefined;
126
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
127
+ modelTermsApprovalRequired: boolean;
128
+ plans: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingCustomerPlan[];
129
+ }>;
130
+ /** Get ai hosting plan and usages of a project by planId. */
131
+ projectGetPlan: (conf: {
103
132
  projectId: string;
133
+ planId: string;
104
134
  headers?: {
105
135
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
106
136
  } | undefined;
107
137
  }) => import("@mittwald/react-use-promise").AsyncResource<{
138
+ description?: string | undefined;
108
139
  keys: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingPlanUsage;
109
140
  modelTermsApprovalRequired: boolean;
110
141
  nextTokenReset?: string | undefined;
142
+ planId: string;
111
143
  projectId: string;
112
144
  }>;
145
+ /** Get all ai hosting plans and usages of a project. */
146
+ projectGetPlans: (conf: {
147
+ projectId: string;
148
+ headers?: {
149
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
150
+ } | undefined;
151
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
152
+ modelTermsApprovalRequired: boolean;
153
+ plans: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingProjectPlan[];
154
+ }>;
113
155
  };
114
156
  declare const buildAppApi: (baseClient: MittwaldAPIV2Client) => {
115
157
  /** Get the installed `SystemSoftware' for a specific `AppInstallation`. */
@@ -1054,9 +1096,13 @@ declare const buildContractApi: (baseClient: MittwaldAPIV2Client) => {
1054
1096
  } | undefined;
1055
1097
  queryParameters?: {
1056
1098
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1099
+ search?: string | undefined;
1100
+ baseArticleNames?: string[] | undefined;
1057
1101
  limit?: number | undefined;
1058
1102
  skip?: number | undefined;
1059
1103
  page?: number | undefined;
1104
+ sort?: "description" | "contractNumber" | undefined;
1105
+ order?: "asc" | "desc" | undefined;
1060
1106
  } | undefined;
1061
1107
  }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.ContractContract[]>;
1062
1108
  /** Get details of an Invoice. */