@mittwald/api-client 4.422.0 → 4.425.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.
- package/dist/esm/generated/v2/client.js +12 -0
- package/dist/esm/generated/v2/descriptors.js +36 -0
- package/dist/esm/generated/v3-next/client.js +12 -0
- package/dist/esm/generated/v3-next/descriptors.js +36 -0
- package/dist/esm/version.js +1 -1
- package/dist/types/generated/v2/client-react.d.ts +3 -4
- package/dist/types/generated/v2/client.d.ts +404 -12
- package/dist/types/generated/v2/descriptors.d.ts +12 -0
- package/dist/types/generated/v2/types.d.ts +364 -6
- package/dist/types/generated/v3-next/client-react.d.ts +3 -4
- package/dist/types/generated/v3-next/client.d.ts +404 -12
- package/dist/types/generated/v3-next/descriptors.d.ts +12 -0
- package/dist/types/generated/v3-next/types.d.ts +364 -6
- package/dist/types/version.d.ts +1 -1
- package/package.json +4 -4
|
@@ -121,6 +121,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
121
121
|
getProjectBackup: this.requestFunctionFactory(descriptors.backupGetProjectBackup),
|
|
122
122
|
/** Delete a ProjectBackup. */
|
|
123
123
|
deleteProjectBackup: this.requestFunctionFactory(descriptors.backupDeleteProjectBackup),
|
|
124
|
+
/** Update a ProjectBackup. */
|
|
125
|
+
updateProjectBackup: this.requestFunctionFactory(descriptors.backupUpdateProjectBackup),
|
|
124
126
|
/** List database dump's for a ProjectBackup. */
|
|
125
127
|
getProjectBackupDatabaseDumps: this.requestFunctionFactory(descriptors.backupGetProjectBackupDatabaseDumps),
|
|
126
128
|
/** List paths for a ProjectBackup. */
|
|
@@ -196,6 +198,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
196
198
|
startService: this.requestFunctionFactory(descriptors.containerStartService),
|
|
197
199
|
/** Stop a started Service. */
|
|
198
200
|
stopService: this.requestFunctionFactory(descriptors.containerStopService),
|
|
201
|
+
/** Add a template component to a Stack. */
|
|
202
|
+
addTemplateComponent: this.requestFunctionFactory(descriptors.containerAddTemplateComponent),
|
|
199
203
|
};
|
|
200
204
|
/** The contract API allows you to manage your contracts and orders */
|
|
201
205
|
contract = {
|
|
@@ -936,6 +940,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
936
940
|
getProject: this.requestFunctionFactory(descriptors.projectGetProject),
|
|
937
941
|
/** Delete a Project. */
|
|
938
942
|
deleteProject: this.requestFunctionFactory(descriptors.projectDeleteProject),
|
|
943
|
+
/** Update a Project. */
|
|
944
|
+
updateProject: this.requestFunctionFactory(descriptors.projectUpdateProject),
|
|
939
945
|
/** Request a Server avatar upload. */
|
|
940
946
|
requestServerAvatarUpload: this.requestFunctionFactory(descriptors.projectRequestServerAvatarUpload),
|
|
941
947
|
/** Delete a Server's avatar. */
|
|
@@ -946,6 +952,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
946
952
|
getSelfMembershipForProject: this.requestFunctionFactory(descriptors.projectGetSelfMembershipForProject),
|
|
947
953
|
/** Get a Server. */
|
|
948
954
|
getServer: this.requestFunctionFactory(descriptors.projectGetServer),
|
|
955
|
+
/** Update a Server. */
|
|
956
|
+
updateServer: this.requestFunctionFactory(descriptors.projectUpdateServer),
|
|
949
957
|
/** List Projects belonging to a Customer. */
|
|
950
958
|
listCustomerProjects: this.requestFunctionFactory(descriptors.projectListCustomerProjects),
|
|
951
959
|
/** List Memberships belonging to a Project. */
|
|
@@ -968,8 +976,12 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
968
976
|
updateServerDescription: this.requestFunctionFactory(descriptors.projectUpdateServerDescription),
|
|
969
977
|
/** Get storage space Statistics belonging to a Project. */
|
|
970
978
|
storagespaceGetProjectStatistics: this.requestFunctionFactory(descriptors.storagespaceGetProjectStatistics),
|
|
979
|
+
/** Update a Project's storage space statistics. */
|
|
980
|
+
storagespaceUpdateProjectStatistics: this.requestFunctionFactory(descriptors.storagespaceUpdateProjectStatistics),
|
|
971
981
|
/** Get storage space Statistics belonging to a Server. */
|
|
972
982
|
storagespaceGetServerStatistics: this.requestFunctionFactory(descriptors.storagespaceGetServerStatistics),
|
|
983
|
+
/** Update a Server's storage space statistics. */
|
|
984
|
+
storagespaceUpdateServerStatistics: this.requestFunctionFactory(descriptors.storagespaceUpdateServerStatistics),
|
|
973
985
|
/** Update a Project's storage space notification threshold. */
|
|
974
986
|
storagespaceReplaceProjectNotificationThreshold: this.requestFunctionFactory(descriptors.storagespaceReplaceProjectNotificationThreshold),
|
|
975
987
|
/** Update a Server's storage space notification threshold. */
|
|
@@ -316,6 +316,12 @@ export const backupDeleteProjectBackup = {
|
|
|
316
316
|
method: "DELETE",
|
|
317
317
|
operationId: "backup-delete-project-backup",
|
|
318
318
|
};
|
|
319
|
+
/** Update a ProjectBackup. */
|
|
320
|
+
export const backupUpdateProjectBackup = {
|
|
321
|
+
path: "/v2/project-backups/{projectBackupId}",
|
|
322
|
+
method: "PATCH",
|
|
323
|
+
operationId: "backup-update-project-backup",
|
|
324
|
+
};
|
|
319
325
|
/** List database dump's for a ProjectBackup. */
|
|
320
326
|
export const backupGetProjectBackupDatabaseDumps = {
|
|
321
327
|
path: "/v2/project-backups/{projectBackupId}/database-dumps",
|
|
@@ -2224,6 +2230,12 @@ export const projectDeleteProject = {
|
|
|
2224
2230
|
method: "DELETE",
|
|
2225
2231
|
operationId: "project-delete-project",
|
|
2226
2232
|
};
|
|
2233
|
+
/** Update a Project. */
|
|
2234
|
+
export const projectUpdateProject = {
|
|
2235
|
+
path: "/v2/projects/{projectId}",
|
|
2236
|
+
method: "PATCH",
|
|
2237
|
+
operationId: "project-update-project",
|
|
2238
|
+
};
|
|
2227
2239
|
/** Request a Server avatar upload. */
|
|
2228
2240
|
export const projectRequestServerAvatarUpload = {
|
|
2229
2241
|
path: "/v2/servers/{serverId}/avatar",
|
|
@@ -2284,6 +2296,12 @@ export const projectGetServer = {
|
|
|
2284
2296
|
method: "GET",
|
|
2285
2297
|
operationId: "project-get-server",
|
|
2286
2298
|
};
|
|
2299
|
+
/** Update a Server. */
|
|
2300
|
+
export const projectUpdateServer = {
|
|
2301
|
+
path: "/v2/servers/{serverId}",
|
|
2302
|
+
method: "PATCH",
|
|
2303
|
+
operationId: "project-update-server",
|
|
2304
|
+
};
|
|
2287
2305
|
/** List Projects belonging to a Customer. */
|
|
2288
2306
|
export const projectListCustomerProjects = {
|
|
2289
2307
|
path: "/v2/customers/{customerId}/projects",
|
|
@@ -2476,12 +2494,24 @@ export const storagespaceGetProjectStatistics = {
|
|
|
2476
2494
|
method: "GET",
|
|
2477
2495
|
operationId: "storagespace-get-project-statistics",
|
|
2478
2496
|
};
|
|
2497
|
+
/** Update a Project's storage space statistics. */
|
|
2498
|
+
export const storagespaceUpdateProjectStatistics = {
|
|
2499
|
+
path: "/v2/projects/{projectId}/storage-space-statistics",
|
|
2500
|
+
method: "PATCH",
|
|
2501
|
+
operationId: "storagespace-update-project-statistics",
|
|
2502
|
+
};
|
|
2479
2503
|
/** Get storage space Statistics belonging to a Server. */
|
|
2480
2504
|
export const storagespaceGetServerStatistics = {
|
|
2481
2505
|
path: "/v2/servers/{serverId}/storage-space-statistics",
|
|
2482
2506
|
method: "GET",
|
|
2483
2507
|
operationId: "storagespace-get-server-statistics",
|
|
2484
2508
|
};
|
|
2509
|
+
/** Update a Server's storage space statistics. */
|
|
2510
|
+
export const storagespaceUpdateServerStatistics = {
|
|
2511
|
+
path: "/v2/servers/{serverId}/storage-space-statistics",
|
|
2512
|
+
method: "PATCH",
|
|
2513
|
+
operationId: "storagespace-update-server-statistics",
|
|
2514
|
+
};
|
|
2485
2515
|
/** Update a Project's storage space notification threshold. */
|
|
2486
2516
|
export const storagespaceReplaceProjectNotificationThreshold = {
|
|
2487
2517
|
path: "/v2/projects/{projectId}/storage-space-notification-threshold",
|
|
@@ -2824,3 +2854,9 @@ export const verificationVerifyCompany = {
|
|
|
2824
2854
|
method: "POST",
|
|
2825
2855
|
operationId: "verification-verify-company",
|
|
2826
2856
|
};
|
|
2857
|
+
/** Add a template component to a Stack. */
|
|
2858
|
+
export const containerAddTemplateComponent = {
|
|
2859
|
+
path: "/v2/stacks/{stackId}/actions/add-template-component",
|
|
2860
|
+
method: "POST",
|
|
2861
|
+
operationId: "container-add-template-component",
|
|
2862
|
+
};
|
|
@@ -121,6 +121,8 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
121
121
|
getProjectBackup: this.requestFunctionFactory(descriptors.backupGetProjectBackup),
|
|
122
122
|
/** Delete a ProjectBackup. */
|
|
123
123
|
deleteProjectBackup: this.requestFunctionFactory(descriptors.backupDeleteProjectBackup),
|
|
124
|
+
/** Update a ProjectBackup. */
|
|
125
|
+
updateProjectBackup: this.requestFunctionFactory(descriptors.backupUpdateProjectBackup),
|
|
124
126
|
/** List database dump's for a ProjectBackup. */
|
|
125
127
|
getProjectBackupDatabaseDumps: this.requestFunctionFactory(descriptors.backupGetProjectBackupDatabaseDumps),
|
|
126
128
|
/** List paths for a ProjectBackup. */
|
|
@@ -196,6 +198,8 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
196
198
|
startService: this.requestFunctionFactory(descriptors.containerStartService),
|
|
197
199
|
/** Stop a started Service. */
|
|
198
200
|
stopService: this.requestFunctionFactory(descriptors.containerStopService),
|
|
201
|
+
/** Add a template component to a Stack. */
|
|
202
|
+
addTemplateComponent: this.requestFunctionFactory(descriptors.containerAddTemplateComponent),
|
|
199
203
|
};
|
|
200
204
|
/** The contract API allows you to manage your contracts and orders */
|
|
201
205
|
contract = {
|
|
@@ -936,6 +940,8 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
936
940
|
getProject: this.requestFunctionFactory(descriptors.projectGetProject),
|
|
937
941
|
/** Delete a Project. */
|
|
938
942
|
deleteProject: this.requestFunctionFactory(descriptors.projectDeleteProject),
|
|
943
|
+
/** Update a Project. */
|
|
944
|
+
updateProject: this.requestFunctionFactory(descriptors.projectUpdateProject),
|
|
939
945
|
/** Request a Server avatar upload. */
|
|
940
946
|
requestServerAvatarUpload: this.requestFunctionFactory(descriptors.projectRequestServerAvatarUpload),
|
|
941
947
|
/** Delete a Server's avatar. */
|
|
@@ -946,6 +952,8 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
946
952
|
getSelfMembershipForProject: this.requestFunctionFactory(descriptors.projectGetSelfMembershipForProject),
|
|
947
953
|
/** Get a Server. */
|
|
948
954
|
getServer: this.requestFunctionFactory(descriptors.projectGetServer),
|
|
955
|
+
/** Update a Server. */
|
|
956
|
+
updateServer: this.requestFunctionFactory(descriptors.projectUpdateServer),
|
|
949
957
|
/** List Projects belonging to a Customer. */
|
|
950
958
|
listCustomerProjects: this.requestFunctionFactory(descriptors.projectListCustomerProjects),
|
|
951
959
|
/** List Memberships belonging to a Project. */
|
|
@@ -968,8 +976,12 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
968
976
|
updateServerDescription: this.requestFunctionFactory(descriptors.projectUpdateServerDescription),
|
|
969
977
|
/** Get storage space Statistics belonging to a Project. */
|
|
970
978
|
storagespaceGetProjectStatistics: this.requestFunctionFactory(descriptors.storagespaceGetProjectStatistics),
|
|
979
|
+
/** Update a Project's storage space statistics. */
|
|
980
|
+
storagespaceUpdateProjectStatistics: this.requestFunctionFactory(descriptors.storagespaceUpdateProjectStatistics),
|
|
971
981
|
/** Get storage space Statistics belonging to a Server. */
|
|
972
982
|
storagespaceGetServerStatistics: this.requestFunctionFactory(descriptors.storagespaceGetServerStatistics),
|
|
983
|
+
/** Update a Server's storage space statistics. */
|
|
984
|
+
storagespaceUpdateServerStatistics: this.requestFunctionFactory(descriptors.storagespaceUpdateServerStatistics),
|
|
973
985
|
/** Update a Project's storage space notification threshold. */
|
|
974
986
|
storagespaceReplaceProjectNotificationThreshold: this.requestFunctionFactory(descriptors.storagespaceReplaceProjectNotificationThreshold),
|
|
975
987
|
/** Update a Server's storage space notification threshold. */
|
|
@@ -316,6 +316,12 @@ export const backupDeleteProjectBackup = {
|
|
|
316
316
|
method: "DELETE",
|
|
317
317
|
operationId: "backup-delete-project-backup",
|
|
318
318
|
};
|
|
319
|
+
/** Update a ProjectBackup. */
|
|
320
|
+
export const backupUpdateProjectBackup = {
|
|
321
|
+
path: "/v3-next/project-backups/{projectBackupId}",
|
|
322
|
+
method: "PATCH",
|
|
323
|
+
operationId: "backup-update-project-backup",
|
|
324
|
+
};
|
|
319
325
|
/** List database dump's for a ProjectBackup. */
|
|
320
326
|
export const backupGetProjectBackupDatabaseDumps = {
|
|
321
327
|
path: "/v3-next/project-backups/{projectBackupId}/database-dumps",
|
|
@@ -2224,6 +2230,12 @@ export const projectDeleteProject = {
|
|
|
2224
2230
|
method: "DELETE",
|
|
2225
2231
|
operationId: "project-delete-project",
|
|
2226
2232
|
};
|
|
2233
|
+
/** Update a Project. */
|
|
2234
|
+
export const projectUpdateProject = {
|
|
2235
|
+
path: "/v3-next/projects/{projectId}",
|
|
2236
|
+
method: "PATCH",
|
|
2237
|
+
operationId: "project-update-project",
|
|
2238
|
+
};
|
|
2227
2239
|
/** Request a Server avatar upload. */
|
|
2228
2240
|
export const projectRequestServerAvatarUpload = {
|
|
2229
2241
|
path: "/v3-next/servers/{serverId}/avatar",
|
|
@@ -2284,6 +2296,12 @@ export const projectGetServer = {
|
|
|
2284
2296
|
method: "GET",
|
|
2285
2297
|
operationId: "project-get-server",
|
|
2286
2298
|
};
|
|
2299
|
+
/** Update a Server. */
|
|
2300
|
+
export const projectUpdateServer = {
|
|
2301
|
+
path: "/v3-next/servers/{serverId}",
|
|
2302
|
+
method: "PATCH",
|
|
2303
|
+
operationId: "project-update-server",
|
|
2304
|
+
};
|
|
2287
2305
|
/** List Projects belonging to a Customer. */
|
|
2288
2306
|
export const projectListCustomerProjects = {
|
|
2289
2307
|
path: "/v3-next/customers/{customerId}/projects",
|
|
@@ -2476,12 +2494,24 @@ export const storagespaceGetProjectStatistics = {
|
|
|
2476
2494
|
method: "GET",
|
|
2477
2495
|
operationId: "storagespace-get-project-statistics",
|
|
2478
2496
|
};
|
|
2497
|
+
/** Update a Project's storage space statistics. */
|
|
2498
|
+
export const storagespaceUpdateProjectStatistics = {
|
|
2499
|
+
path: "/v3-next/projects/{projectId}/storage-space-statistics",
|
|
2500
|
+
method: "PATCH",
|
|
2501
|
+
operationId: "storagespace-update-project-statistics",
|
|
2502
|
+
};
|
|
2479
2503
|
/** Get storage space Statistics belonging to a Server. */
|
|
2480
2504
|
export const storagespaceGetServerStatistics = {
|
|
2481
2505
|
path: "/v3-next/servers/{serverId}/storage-space-statistics",
|
|
2482
2506
|
method: "GET",
|
|
2483
2507
|
operationId: "storagespace-get-server-statistics",
|
|
2484
2508
|
};
|
|
2509
|
+
/** Update a Server's storage space statistics. */
|
|
2510
|
+
export const storagespaceUpdateServerStatistics = {
|
|
2511
|
+
path: "/v3-next/servers/{serverId}/storage-space-statistics",
|
|
2512
|
+
method: "PATCH",
|
|
2513
|
+
operationId: "storagespace-update-server-statistics",
|
|
2514
|
+
};
|
|
2485
2515
|
/** Update a Project's storage space notification threshold. */
|
|
2486
2516
|
export const storagespaceReplaceProjectNotificationThreshold = {
|
|
2487
2517
|
path: "/v3-next/projects/{projectId}/storage-space-notification-threshold",
|
|
@@ -2824,3 +2854,9 @@ export const verificationVerifyCompany = {
|
|
|
2824
2854
|
method: "POST",
|
|
2825
2855
|
operationId: "verification-verify-company",
|
|
2826
2856
|
};
|
|
2857
|
+
/** Add a template component to a Stack. */
|
|
2858
|
+
export const containerAddTemplateComponent = {
|
|
2859
|
+
path: "/v3-next/stacks/{stackId}/actions/add-template-component",
|
|
2860
|
+
method: "POST",
|
|
2861
|
+
operationId: "container-add-template-component",
|
|
2862
|
+
};
|
package/dist/esm/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const MittwaldAPIClientVersion = '4.
|
|
1
|
+
export const MittwaldAPIClientVersion = '4.424.0';
|
|
@@ -1777,14 +1777,14 @@ declare const buildCronjobApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1777
1777
|
} | undefined;
|
|
1778
1778
|
queryParameters?: {
|
|
1779
1779
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1780
|
-
limit?: number | undefined;
|
|
1781
|
-
skip?: number | undefined;
|
|
1782
|
-
page?: number | undefined;
|
|
1783
1780
|
since?: string | undefined;
|
|
1784
1781
|
until?: string | undefined;
|
|
1785
1782
|
status?: string | undefined;
|
|
1786
1783
|
triggeredByUser?: boolean | undefined;
|
|
1787
1784
|
sortOrder?: import("./types.js").MittwaldAPIV2.Components.Schemas.CronjobCronjobExecutionSortOrder | undefined;
|
|
1785
|
+
limit?: number | undefined;
|
|
1786
|
+
skip?: number | undefined;
|
|
1787
|
+
page?: number | undefined;
|
|
1788
1788
|
} | undefined;
|
|
1789
1789
|
}) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.CronjobCronjobExecution[]>;
|
|
1790
1790
|
/** Get a Cronjob. */
|
|
@@ -1821,7 +1821,6 @@ declare const buildCronjobApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1821
1821
|
cronjobId: string;
|
|
1822
1822
|
headers?: {
|
|
1823
1823
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1824
|
-
"Accept-Language"?: "de" | "en" | undefined;
|
|
1825
1824
|
"x-access-token"?: string | undefined;
|
|
1826
1825
|
} | undefined;
|
|
1827
1826
|
}) => import("@mittwald/react-use-promise").AsyncResource<{
|