@mittwald/api-client 0.0.0-development-18e7c84-20260901 → 0.0.0-development-4653f36-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 = {
@@ -567,7 +565,7 @@ export class MittwaldAPIV2Client extends ApiClientBase {
567
565
  ingressUpdateIngressTls: this.requestFunctionFactory(descriptors.ingressUpdateIngressTls),
568
566
  /** List DNS zone-file import jobs belonging to a Project. */
569
567
  dnsListDnsZoneFileImports: this.requestFunctionFactory(descriptors.dnsListDnsZoneFileImports),
570
- /** Start a server-side DNS zone-file import for a Project. */
568
+ /** Import a DNS zone file into a Project, or preview it with dry-run. */
571
569
  dnsCreateDnsZoneFileImport: this.requestFunctionFactory(descriptors.dnsCreateDnsZoneFileImport),
572
570
  /** List DNSZones belonging to a Project. */
573
571
  dnsListDnsZones: this.requestFunctionFactory(descriptors.dnsListDnsZones),
@@ -581,8 +579,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
581
579
  dnsGetDnsZoneFileImport: this.requestFunctionFactory(descriptors.dnsGetDnsZoneFileImport),
582
580
  /** Get a zone file for a DNSZone. */
583
581
  dnsGetZoneFile: this.requestFunctionFactory(descriptors.dnsGetZoneFile),
584
- /** Preview a DNS zone-file import for a Project. */
585
- dnsPreviewProjectDnsZoneFileImport: this.requestFunctionFactory(descriptors.dnsPreviewProjectDnsZoneFileImport),
586
582
  /** Set a record set on a DNSZone to managed. */
587
583
  dnsSetRecordSetManaged: this.requestFunctionFactory(descriptors.dnsSetRecordSetManaged),
588
584
  /** Update a record set on a DNSZone. */
@@ -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",
@@ -1264,7 +1252,7 @@ export const dnsListDnsZoneFileImports = {
1264
1252
  method: "GET",
1265
1253
  operationId: "dns-list-dns-zone-file-imports",
1266
1254
  };
1267
- /** Start a server-side DNS zone-file import for a Project. */
1255
+ /** Import a DNS zone file into a Project, or preview it with dry-run. */
1268
1256
  export const dnsCreateDnsZoneFileImport = {
1269
1257
  path: "/v2/projects/{projectId}/dns-zone-imports",
1270
1258
  method: "POST",
@@ -1306,12 +1294,6 @@ export const dnsGetZoneFile = {
1306
1294
  method: "GET",
1307
1295
  operationId: "dns-get-zone-file",
1308
1296
  };
1309
- /** Preview a DNS zone-file import for a Project. */
1310
- export const dnsPreviewProjectDnsZoneFileImport = {
1311
- path: "/v2/projects/{projectId}/dns-zones/actions/import-preview",
1312
- method: "POST",
1313
- operationId: "dns-preview-project-dns-zone-file-import",
1314
- };
1315
1297
  /** Set a record set on a DNSZone to managed. */
1316
1298
  export const dnsSetRecordSetManaged = {
1317
1299
  path: "/v2/dns-zones/{dnsZoneId}/record-sets/{recordSet}/actions/set-managed",
@@ -2920,3 +2902,9 @@ export const verificationVerifyCompany = {
2920
2902
  method: "POST",
2921
2903
  operationId: "verification-verify-company",
2922
2904
  };
2905
+ /** Get ai hosting plan and usages of a project by planId. */
2906
+ export const aiHostingProjectGetPlan = {
2907
+ path: "/v2/projects/{projectId}/ai-hostings/{planId}",
2908
+ method: "GET",
2909
+ operationId: "ai-hosting-project-get-plan",
2910
+ };
@@ -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 = {
@@ -567,7 +565,7 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
567
565
  ingressUpdateIngressTls: this.requestFunctionFactory(descriptors.ingressUpdateIngressTls),
568
566
  /** List DNS zone-file import jobs belonging to a Project. */
569
567
  dnsListDnsZoneFileImports: this.requestFunctionFactory(descriptors.dnsListDnsZoneFileImports),
570
- /** Start a server-side DNS zone-file import for a Project. */
568
+ /** Import a DNS zone file into a Project, or preview it with dry-run. */
571
569
  dnsCreateDnsZoneFileImport: this.requestFunctionFactory(descriptors.dnsCreateDnsZoneFileImport),
572
570
  /** List DNSZones belonging to a Project. */
573
571
  dnsListDnsZones: this.requestFunctionFactory(descriptors.dnsListDnsZones),
@@ -581,8 +579,6 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
581
579
  dnsGetDnsZoneFileImport: this.requestFunctionFactory(descriptors.dnsGetDnsZoneFileImport),
582
580
  /** Get a zone file for a DNSZone. */
583
581
  dnsGetZoneFile: this.requestFunctionFactory(descriptors.dnsGetZoneFile),
584
- /** Preview a DNS zone-file import for a Project. */
585
- dnsPreviewProjectDnsZoneFileImport: this.requestFunctionFactory(descriptors.dnsPreviewProjectDnsZoneFileImport),
586
582
  /** Set a record set on a DNSZone to managed. */
587
583
  dnsSetRecordSetManaged: this.requestFunctionFactory(descriptors.dnsSetRecordSetManaged),
588
584
  /** Update a record set on a DNSZone. */
@@ -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",
@@ -1264,7 +1252,7 @@ export const dnsListDnsZoneFileImports = {
1264
1252
  method: "GET",
1265
1253
  operationId: "dns-list-dns-zone-file-imports",
1266
1254
  };
1267
- /** Start a server-side DNS zone-file import for a Project. */
1255
+ /** Import a DNS zone file into a Project, or preview it with dry-run. */
1268
1256
  export const dnsCreateDnsZoneFileImport = {
1269
1257
  path: "/v3-next/projects/{projectId}/dns-zone-imports",
1270
1258
  method: "POST",
@@ -1306,12 +1294,6 @@ export const dnsGetZoneFile = {
1306
1294
  method: "GET",
1307
1295
  operationId: "dns-get-zone-file",
1308
1296
  };
1309
- /** Preview a DNS zone-file import for a Project. */
1310
- export const dnsPreviewProjectDnsZoneFileImport = {
1311
- path: "/v3-next/projects/{projectId}/dns-zones/actions/import-preview",
1312
- method: "POST",
1313
- operationId: "dns-preview-project-dns-zone-file-import",
1314
- };
1315
1297
  /** Set a record set on a DNSZone to managed. */
1316
1298
  export const dnsSetRecordSetManaged = {
1317
1299
  path: "/v3-next/dns-zones/{dnsZoneId}/record-sets/{recordSet}/actions/set-managed",
@@ -2920,3 +2902,9 @@ export const verificationVerifyCompany = {
2920
2902
  method: "POST",
2921
2903
  operationId: "verification-verify-company",
2922
2904
  };
2905
+ /** Get ai hosting plan and usages of a project by planId. */
2906
+ export const aiHostingProjectGetPlan = {
2907
+ path: "/v3-next/projects/{projectId}/ai-hostings/{planId}",
2908
+ method: "GET",
2909
+ operationId: "ai-hosting-project-get-plan",
2910
+ };
@@ -1 +1 @@
1
- export const MittwaldAPIClientVersion = '4.451.0';
1
+ export const MittwaldAPIClientVersion = '0.0.0-development-bf8b0ba-20260902';
@@ -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
  };
@@ -220,6 +191,7 @@ declare const buildAppApi: (baseClient: MittwaldAPIV2Client) => {
220
191
  appId: string;
221
192
  appName: string;
222
193
  appVersion: import("./types.js").MittwaldAPIV2.Components.Schemas.AppVersionStatus;
194
+ autoUpdatesActivated?: boolean | undefined;
223
195
  createdAt: string;
224
196
  customDocumentRoot?: string | undefined;
225
197
  deletionRequested?: boolean | undefined;
@@ -712,6 +684,8 @@ declare const buildContainerApi: (baseClient: MittwaldAPIV2Client) => {
712
684
  serviceId: string;
713
685
  headers?: {
714
686
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
687
+ Range?: string | undefined;
688
+ "If-Range"?: string | undefined;
715
689
  "x-access-token"?: string | undefined;
716
690
  } | undefined;
717
691
  queryParameters?: {
@@ -1123,9 +1097,13 @@ declare const buildContractApi: (baseClient: MittwaldAPIV2Client) => {
1123
1097
  } | undefined;
1124
1098
  queryParameters?: {
1125
1099
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1100
+ search?: string | undefined;
1101
+ baseArticleNames?: string[] | undefined;
1126
1102
  limit?: number | undefined;
1127
1103
  skip?: number | undefined;
1128
1104
  page?: number | undefined;
1105
+ sort?: "description" | "contractNumber" | undefined;
1106
+ order?: "asc" | "desc" | undefined;
1129
1107
  } | undefined;
1130
1108
  }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.ContractContract[]>;
1131
1109
  /** Get details of an Invoice. */
@@ -1934,6 +1912,7 @@ declare const buildCronjobApi: (baseClient: MittwaldAPIV2Client) => {
1934
1912
  } | undefined;
1935
1913
  }) => import("@mittwald/react-use-promise").AsyncResource<{
1936
1914
  message: string;
1915
+ recommendation?: string | undefined;
1937
1916
  }>;
1938
1917
  /** Get a CronjobExecution. */
1939
1918
  getExecution: (conf: {
@@ -3857,6 +3836,8 @@ declare const buildProjectFileSystemApi: (baseClient: MittwaldAPIV2Client) => {
3857
3836
  projectId: string;
3858
3837
  headers?: {
3859
3838
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
3839
+ Range?: string | undefined;
3840
+ "If-Range"?: string | undefined;
3860
3841
  "x-access-token"?: string | undefined;
3861
3842
  } | undefined;
3862
3843
  queryParameters?: {