@mittwald/api-client 0.0.0-development-ea5290f-20260831 → 0.0.0-development-bf8b0ba-20260902

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.
@@ -12,8 +12,6 @@ const buildAiHostingApi = (baseClient) => ({
12
12
  customerGetDetailedModels: new ApiCallAsyncResourceFactory(descriptors.aiHostingCustomerGetDetailedModels, baseClient.aiHosting.customerGetDetailedModels).getApiResource,
13
13
  /** Get ai hosting plan and usages of a customer by planId. */
14
14
  customerGetPlan: new ApiCallAsyncResourceFactory(descriptors.aiHostingCustomerGetPlan, baseClient.aiHosting.customerGetPlan).getApiResource,
15
- /** Get ai hosting plan and usages of a customer. Deprecated: use /ai-hostings/{planId} instead. */
16
- customerGetUsage: new ApiCallAsyncResourceFactory(descriptors.aiHostingCustomerGetUsage, baseClient.aiHosting.customerGetUsage).getApiResource,
17
15
  /** Get a list of currently active models. */
18
16
  getModels: new ApiCallAsyncResourceFactory(descriptors.aiHostingGetModels, baseClient.aiHosting.getModels).getApiResource,
19
17
  /** Get a list of keys of a project. */
@@ -24,8 +22,8 @@ const buildAiHostingApi = (baseClient) => ({
24
22
  projectGetDetailedModels: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetDetailedModels, baseClient.aiHosting.projectGetDetailedModels).getApiResource,
25
23
  /** Get all ai hosting plans and usages of a project. */
26
24
  projectGetPlans: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetPlans, baseClient.aiHosting.projectGetPlans).getApiResource,
27
- /** Get ai hosting plan and usages of a project. Same as the customer route, but less details. */
28
- projectGetUsage: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetUsage, baseClient.aiHosting.projectGetUsage).getApiResource,
25
+ /** Get ai hosting plan and usages of a project by planId. */
26
+ projectGetPlan: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetPlan, baseClient.aiHosting.projectGetPlan).getApiResource,
29
27
  });
30
28
  const buildAppApi = (baseClient) => ({
31
29
  /** Get the installed `SystemSoftware' for a specific `AppInstallation`. */
@@ -28,8 +28,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
28
28
  customerGetPlan: this.requestFunctionFactory(descriptors.aiHostingCustomerGetPlan),
29
29
  /** Renames an AI hosting plan. */
30
30
  customerUpdatePlan: this.requestFunctionFactory(descriptors.aiHostingCustomerUpdatePlan),
31
- /** Get ai hosting plan and usages of a customer. Deprecated: use /ai-hostings/{planId} instead. */
32
- customerGetUsage: this.requestFunctionFactory(descriptors.aiHostingCustomerGetUsage),
33
31
  /** Get a list of currently active models. */
34
32
  getModels: this.requestFunctionFactory(descriptors.aiHostingGetModels),
35
33
  /** Get a list of keys of a project. */
@@ -46,10 +44,10 @@ export class MittwaldAPIV2Client extends ApiClientBase {
46
44
  projectGetDetailedModels: this.requestFunctionFactory(descriptors.aiHostingProjectGetDetailedModels),
47
45
  /** Get all ai hosting plans and usages of a project. */
48
46
  projectGetPlans: this.requestFunctionFactory(descriptors.aiHostingProjectGetPlans),
49
- /** Get ai hosting plan and usages of a project. Same as the customer route, but less details. */
50
- projectGetUsage: this.requestFunctionFactory(descriptors.aiHostingProjectGetUsage),
51
47
  /** Links a container with a project licence. */
52
48
  projectLinkContainer: this.requestFunctionFactory(descriptors.aiHostingProjectLinkContainer),
49
+ /** Get ai hosting plan and usages of a project by planId. */
50
+ projectGetPlan: this.requestFunctionFactory(descriptors.aiHostingProjectGetPlan),
53
51
  };
54
52
  /** The App API allows you to manage your apps within a project, and all the system softwares that are installed as dependencies. */
55
53
  app = {
@@ -64,12 +64,6 @@ export const aiHostingCustomerUpdatePlan = {
64
64
  method: "PUT",
65
65
  operationId: "ai-hosting-customer-update-plan",
66
66
  };
67
- /** Get ai hosting plan and usages of a customer. Deprecated: use /ai-hostings/{planId} instead. */
68
- export const aiHostingCustomerGetUsage = {
69
- path: "/v2/customers/{customerId}/ai-hosting",
70
- method: "GET",
71
- operationId: "ai-hosting-customer-get-usage",
72
- };
73
67
  /** Get a list of currently active models. */
74
68
  export const aiHostingGetModels = {
75
69
  path: "/v2/ai-hosting-models",
@@ -118,12 +112,6 @@ export const aiHostingProjectGetPlans = {
118
112
  method: "GET",
119
113
  operationId: "ai-hosting-project-get-plans",
120
114
  };
121
- /** Get ai hosting plan and usages of a project. Same as the customer route, but less details. */
122
- export const aiHostingProjectGetUsage = {
123
- path: "/v2/projects/{projectId}/ai-hosting",
124
- method: "GET",
125
- operationId: "ai-hosting-project-get-usage",
126
- };
127
115
  /** Links a container with a project licence. */
128
116
  export const aiHostingProjectLinkContainer = {
129
117
  path: "/v2/projects/{projectId}/ai-hosting-keys/{keyId}/actions/link-container",
@@ -2920,3 +2908,9 @@ export const verificationVerifyCompany = {
2920
2908
  method: "POST",
2921
2909
  operationId: "verification-verify-company",
2922
2910
  };
2911
+ /** Get ai hosting plan and usages of a project by planId. */
2912
+ export const aiHostingProjectGetPlan = {
2913
+ path: "/v2/projects/{projectId}/ai-hostings/{planId}",
2914
+ method: "GET",
2915
+ operationId: "ai-hosting-project-get-plan",
2916
+ };
@@ -12,8 +12,6 @@ const buildAiHostingApi = (baseClient) => ({
12
12
  customerGetDetailedModels: new ApiCallAsyncResourceFactory(descriptors.aiHostingCustomerGetDetailedModels, baseClient.aiHosting.customerGetDetailedModels).getApiResource,
13
13
  /** Get ai hosting plan and usages of a customer by planId. */
14
14
  customerGetPlan: new ApiCallAsyncResourceFactory(descriptors.aiHostingCustomerGetPlan, baseClient.aiHosting.customerGetPlan).getApiResource,
15
- /** Get ai hosting plan and usages of a customer. Deprecated: use /ai-hostings/{planId} instead. */
16
- customerGetUsage: new ApiCallAsyncResourceFactory(descriptors.aiHostingCustomerGetUsage, baseClient.aiHosting.customerGetUsage).getApiResource,
17
15
  /** Get a list of currently active models. */
18
16
  getModels: new ApiCallAsyncResourceFactory(descriptors.aiHostingGetModels, baseClient.aiHosting.getModels).getApiResource,
19
17
  /** Get a list of keys of a project. */
@@ -24,8 +22,8 @@ const buildAiHostingApi = (baseClient) => ({
24
22
  projectGetDetailedModels: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetDetailedModels, baseClient.aiHosting.projectGetDetailedModels).getApiResource,
25
23
  /** Get all ai hosting plans and usages of a project. */
26
24
  projectGetPlans: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetPlans, baseClient.aiHosting.projectGetPlans).getApiResource,
27
- /** Get ai hosting plan and usages of a project. Same as the customer route, but less details. */
28
- projectGetUsage: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetUsage, baseClient.aiHosting.projectGetUsage).getApiResource,
25
+ /** Get ai hosting plan and usages of a project by planId. */
26
+ projectGetPlan: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetPlan, baseClient.aiHosting.projectGetPlan).getApiResource,
29
27
  });
30
28
  const buildAppApi = (baseClient) => ({
31
29
  /** Get the installed `SystemSoftware' for a specific `AppInstallation`. */
@@ -28,8 +28,6 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
28
28
  customerGetPlan: this.requestFunctionFactory(descriptors.aiHostingCustomerGetPlan),
29
29
  /** Renames an AI hosting plan. */
30
30
  customerUpdatePlan: this.requestFunctionFactory(descriptors.aiHostingCustomerUpdatePlan),
31
- /** Get ai hosting plan and usages of a customer. Deprecated: use /ai-hostings/{planId} instead. */
32
- customerGetUsage: this.requestFunctionFactory(descriptors.aiHostingCustomerGetUsage),
33
31
  /** Get a list of currently active models. */
34
32
  getModels: this.requestFunctionFactory(descriptors.aiHostingGetModels),
35
33
  /** Get a list of keys of a project. */
@@ -46,10 +44,10 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
46
44
  projectGetDetailedModels: this.requestFunctionFactory(descriptors.aiHostingProjectGetDetailedModels),
47
45
  /** Get all ai hosting plans and usages of a project. */
48
46
  projectGetPlans: this.requestFunctionFactory(descriptors.aiHostingProjectGetPlans),
49
- /** Get ai hosting plan and usages of a project. Same as the customer route, but less details. */
50
- projectGetUsage: this.requestFunctionFactory(descriptors.aiHostingProjectGetUsage),
51
47
  /** Links a container with a project licence. */
52
48
  projectLinkContainer: this.requestFunctionFactory(descriptors.aiHostingProjectLinkContainer),
49
+ /** Get ai hosting plan and usages of a project by planId. */
50
+ projectGetPlan: this.requestFunctionFactory(descriptors.aiHostingProjectGetPlan),
53
51
  };
54
52
  /** The App API allows you to manage your apps within a project, and all the system softwares that are installed as dependencies. */
55
53
  app = {
@@ -64,12 +64,6 @@ export const aiHostingCustomerUpdatePlan = {
64
64
  method: "PUT",
65
65
  operationId: "ai-hosting-customer-update-plan",
66
66
  };
67
- /** Get ai hosting plan and usages of a customer. Deprecated: use /ai-hostings/{planId} instead. */
68
- export const aiHostingCustomerGetUsage = {
69
- path: "/v3-next/customers/{customerId}/ai-hosting",
70
- method: "GET",
71
- operationId: "ai-hosting-customer-get-usage",
72
- };
73
67
  /** Get a list of currently active models. */
74
68
  export const aiHostingGetModels = {
75
69
  path: "/v3-next/ai-hosting-models",
@@ -118,12 +112,6 @@ export const aiHostingProjectGetPlans = {
118
112
  method: "GET",
119
113
  operationId: "ai-hosting-project-get-plans",
120
114
  };
121
- /** Get ai hosting plan and usages of a project. Same as the customer route, but less details. */
122
- export const aiHostingProjectGetUsage = {
123
- path: "/v3-next/projects/{projectId}/ai-hosting",
124
- method: "GET",
125
- operationId: "ai-hosting-project-get-usage",
126
- };
127
115
  /** Links a container with a project licence. */
128
116
  export const aiHostingProjectLinkContainer = {
129
117
  path: "/v3-next/projects/{projectId}/ai-hosting-keys/{keyId}/actions/link-container",
@@ -2920,3 +2908,9 @@ export const verificationVerifyCompany = {
2920
2908
  method: "POST",
2921
2909
  operationId: "verification-verify-company",
2922
2910
  };
2911
+ /** Get ai hosting plan and usages of a project by planId. */
2912
+ export const aiHostingProjectGetPlan = {
2913
+ path: "/v3-next/projects/{projectId}/ai-hostings/{planId}",
2914
+ method: "GET",
2915
+ operationId: "ai-hosting-project-get-plan",
2916
+ };
@@ -1 +1 @@
1
- export const MittwaldAPIClientVersion = '4.450.0';
1
+ export const MittwaldAPIClientVersion = '0.0.0-development-18e7c84-20260901';
@@ -72,34 +72,7 @@ declare const buildAiHostingApi: (baseClient: MittwaldAPIV2Client) => {
72
72
  keys: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingPlanUsage;
73
73
  modelTermsApprovalRequired: boolean;
74
74
  nextTokenReset: string;
75
- planId?: string | undefined;
76
- rateLimit: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingRateLimit;
77
- tokens: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingPlanUsageBig;
78
- topUsages?: {
79
- keyId?: string;
80
- name: string;
81
- projectId?: string;
82
- tokenUsed: number;
83
- }[] | undefined;
84
- }>;
85
- /** Get ai hosting plan and usages of a customer. Deprecated: use /ai-hostings/{planId} instead. */
86
- customerGetUsage: (conf: {
87
- customerId: string;
88
- headers?: {
89
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
90
- } | undefined;
91
- queryParameters?: {
92
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
93
- topUsageCount?: number | undefined;
94
- } | undefined;
95
- }) => import("@mittwald/react-use-promise").AsyncResource<{
96
- customerId: string;
97
- deletedAt?: string | undefined;
98
- description: string;
99
- keys: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingPlanUsage;
100
- modelTermsApprovalRequired: boolean;
101
- nextTokenReset: string;
102
- planId?: string | undefined;
75
+ planId: string;
103
76
  rateLimit: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingRateLimit;
104
77
  tokens: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingPlanUsageBig;
105
78
  topUsages?: {
@@ -164,21 +137,19 @@ declare const buildAiHostingApi: (baseClient: MittwaldAPIV2Client) => {
164
137
  modelTermsApprovalRequired: boolean;
165
138
  plans: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingProjectPlan[];
166
139
  }>;
167
- /** Get ai hosting plan and usages of a project. Same as the customer route, but less details. */
168
- projectGetUsage: (conf: {
140
+ /** Get ai hosting plan and usages of a project by planId. */
141
+ projectGetPlan: (conf: {
169
142
  projectId: string;
143
+ planId: string;
170
144
  headers?: {
171
145
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
172
146
  } | undefined;
173
- queryParameters?: {
174
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
175
- planId?: string | undefined;
176
- } | undefined;
177
147
  }) => import("@mittwald/react-use-promise").AsyncResource<{
178
148
  description?: string | undefined;
179
149
  keys: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingPlanUsage;
180
150
  modelTermsApprovalRequired: boolean;
181
151
  nextTokenReset?: string | undefined;
152
+ planId: string;
182
153
  projectId: string;
183
154
  }>;
184
155
  };
@@ -712,6 +683,8 @@ declare const buildContainerApi: (baseClient: MittwaldAPIV2Client) => {
712
683
  serviceId: string;
713
684
  headers?: {
714
685
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
686
+ Range?: string | undefined;
687
+ "If-Range"?: string | undefined;
715
688
  "x-access-token"?: string | undefined;
716
689
  } | undefined;
717
690
  queryParameters?: {
@@ -2361,7 +2334,7 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
2361
2334
  "x-access-token"?: string | undefined;
2362
2335
  } | undefined;
2363
2336
  }) => import("@mittwald/react-use-promise").AsyncResource<{
2364
- createdAt?: string | undefined;
2337
+ createdAt: string;
2365
2338
  failedZones: {
2366
2339
  error: string;
2367
2340
  name: string;
@@ -3857,6 +3830,8 @@ declare const buildProjectFileSystemApi: (baseClient: MittwaldAPIV2Client) => {
3857
3830
  projectId: string;
3858
3831
  headers?: {
3859
3832
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
3833
+ Range?: string | undefined;
3834
+ "If-Range"?: string | undefined;
3860
3835
  "x-access-token"?: string | undefined;
3861
3836
  } | undefined;
3862
3837
  queryParameters?: {