@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.
@@ -214,6 +214,10 @@ export declare namespace MittwaldAPIV2 {
214
214
  type RequestData = InferredRequestData<typeof descriptors.backupDeleteProjectBackup>;
215
215
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.backupDeleteProjectBackup, TStatus>;
216
216
  }
217
+ namespace BackupUpdateProjectBackup {
218
+ type RequestData = InferredRequestData<typeof descriptors.backupUpdateProjectBackup>;
219
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.backupUpdateProjectBackup, TStatus>;
220
+ }
217
221
  namespace BackupGetProjectBackupDatabaseDumps {
218
222
  type RequestData = InferredRequestData<typeof descriptors.backupGetProjectBackupDatabaseDumps>;
219
223
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.backupGetProjectBackupDatabaseDumps, TStatus>;
@@ -1486,6 +1490,10 @@ export declare namespace MittwaldAPIV2 {
1486
1490
  type RequestData = InferredRequestData<typeof descriptors.projectDeleteProject>;
1487
1491
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.projectDeleteProject, TStatus>;
1488
1492
  }
1493
+ namespace ProjectUpdateProject {
1494
+ type RequestData = InferredRequestData<typeof descriptors.projectUpdateProject>;
1495
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.projectUpdateProject, TStatus>;
1496
+ }
1489
1497
  namespace ProjectRequestServerAvatarUpload {
1490
1498
  type RequestData = InferredRequestData<typeof descriptors.projectRequestServerAvatarUpload>;
1491
1499
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.projectRequestServerAvatarUpload, TStatus>;
@@ -1526,6 +1534,10 @@ export declare namespace MittwaldAPIV2 {
1526
1534
  type RequestData = InferredRequestData<typeof descriptors.projectGetServer>;
1527
1535
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.projectGetServer, TStatus>;
1528
1536
  }
1537
+ namespace ProjectUpdateServer {
1538
+ type RequestData = InferredRequestData<typeof descriptors.projectUpdateServer>;
1539
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.projectUpdateServer, TStatus>;
1540
+ }
1529
1541
  namespace ProjectListCustomerProjects {
1530
1542
  type RequestData = InferredRequestData<typeof descriptors.projectListCustomerProjects>;
1531
1543
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.projectListCustomerProjects, TStatus>;
@@ -1654,10 +1666,18 @@ export declare namespace MittwaldAPIV2 {
1654
1666
  type RequestData = InferredRequestData<typeof descriptors.storagespaceGetProjectStatistics>;
1655
1667
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.storagespaceGetProjectStatistics, TStatus>;
1656
1668
  }
1669
+ namespace StoragespaceUpdateProjectStatistics {
1670
+ type RequestData = InferredRequestData<typeof descriptors.storagespaceUpdateProjectStatistics>;
1671
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.storagespaceUpdateProjectStatistics, TStatus>;
1672
+ }
1657
1673
  namespace StoragespaceGetServerStatistics {
1658
1674
  type RequestData = InferredRequestData<typeof descriptors.storagespaceGetServerStatistics>;
1659
1675
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.storagespaceGetServerStatistics, TStatus>;
1660
1676
  }
1677
+ namespace StoragespaceUpdateServerStatistics {
1678
+ type RequestData = InferredRequestData<typeof descriptors.storagespaceUpdateServerStatistics>;
1679
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.storagespaceUpdateServerStatistics, TStatus>;
1680
+ }
1661
1681
  namespace StoragespaceReplaceProjectNotificationThreshold {
1662
1682
  type RequestData = InferredRequestData<typeof descriptors.storagespaceReplaceProjectNotificationThreshold>;
1663
1683
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.storagespaceReplaceProjectNotificationThreshold, TStatus>;
@@ -1886,6 +1906,10 @@ export declare namespace MittwaldAPIV2 {
1886
1906
  type RequestData = InferredRequestData<typeof descriptors.verificationVerifyCompany>;
1887
1907
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.verificationVerifyCompany, TStatus>;
1888
1908
  }
1909
+ namespace ContainerAddTemplateComponent {
1910
+ type RequestData = InferredRequestData<typeof descriptors.containerAddTemplateComponent>;
1911
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.containerAddTemplateComponent, TStatus>;
1912
+ }
1889
1913
  }
1890
1914
  namespace Components {
1891
1915
  namespace Schemas {
@@ -7001,6 +7025,18 @@ export declare namespace MittwaldAPIV2 {
7001
7025
  }
7002
7026
  type VerificationEmailOrigin = "IS_MITTWALD" | "IS_NOT_MITTWALD" | "COULD_BE_MITTWALD";
7003
7027
  type ContainerVolumeSortOrder = "nameAsc" | "nameDesc" | "storageAsc" | "storageDesc";
7028
+ interface ContainerAddTemplateComponent {
7029
+ templateConfig: {
7030
+ templateId: string;
7031
+ /**
7032
+ * Values for template user inputs. Missing optional values are filled from template defaults.
7033
+ */
7034
+ userInputs?: {
7035
+ name: string;
7036
+ value: string;
7037
+ }[];
7038
+ };
7039
+ }
7004
7040
  interface CommonsAddress {
7005
7041
  street: string;
7006
7042
  houseNumber: string;
@@ -9786,6 +9822,67 @@ export declare namespace MittwaldAPIV2 {
9786
9822
  }
9787
9823
  }
9788
9824
  }
9825
+ namespace Patch {
9826
+ namespace Parameters {
9827
+ type Path = {
9828
+ projectBackupId: string;
9829
+ };
9830
+ interface RequestBody {
9831
+ /**
9832
+ * Description of the ProjectBackup.
9833
+ */
9834
+ description?: string;
9835
+ /**
9836
+ * Time when to expire the Backup. Must be no more than one year in the future.
9837
+ */
9838
+ expirationTime?: string;
9839
+ }
9840
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
9841
+ type Query = {};
9842
+ }
9843
+ namespace Responses {
9844
+ namespace $204 {
9845
+ namespace Content {
9846
+ type Empty = unknown;
9847
+ }
9848
+ }
9849
+ namespace $400 {
9850
+ namespace Content {
9851
+ interface ApplicationJson {
9852
+ [k: string]: unknown;
9853
+ }
9854
+ }
9855
+ }
9856
+ namespace $403 {
9857
+ namespace Content {
9858
+ interface ApplicationJson {
9859
+ [k: string]: unknown;
9860
+ }
9861
+ }
9862
+ }
9863
+ namespace $404 {
9864
+ namespace Content {
9865
+ interface ApplicationJson {
9866
+ [k: string]: unknown;
9867
+ }
9868
+ }
9869
+ }
9870
+ namespace $429 {
9871
+ namespace Content {
9872
+ interface ApplicationJson {
9873
+ [k: string]: unknown;
9874
+ }
9875
+ }
9876
+ }
9877
+ namespace Default {
9878
+ namespace Content {
9879
+ interface ApplicationJson {
9880
+ [k: string]: unknown;
9881
+ }
9882
+ }
9883
+ }
9884
+ }
9885
+ }
9789
9886
  }
9790
9887
  namespace V2ProjectBackupsProjectBackupIdDatabaseDumps {
9791
9888
  namespace Get {
@@ -14589,14 +14686,14 @@ export declare namespace MittwaldAPIV2 {
14589
14686
  };
14590
14687
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
14591
14688
  type Query = {
14592
- limit?: number;
14593
- skip?: number;
14594
- page?: number;
14595
14689
  since?: string;
14596
14690
  until?: string;
14597
14691
  status?: string;
14598
14692
  triggeredByUser?: boolean;
14599
14693
  sortOrder?: MittwaldAPIV2.Components.Schemas.CronjobCronjobExecutionSortOrder;
14694
+ limit?: number;
14695
+ skip?: number;
14696
+ page?: number;
14600
14697
  };
14601
14698
  }
14602
14699
  namespace Responses {
@@ -14827,9 +14924,7 @@ export declare namespace MittwaldAPIV2 {
14827
14924
  executionId: string;
14828
14925
  cronjobId: string;
14829
14926
  };
14830
- type Header = {
14831
- "Accept-Language"?: "de" | "en";
14832
- } & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
14927
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
14833
14928
  type Query = {};
14834
14929
  }
14835
14930
  namespace Responses {
@@ -26617,6 +26712,53 @@ export declare namespace MittwaldAPIV2 {
26617
26712
  }
26618
26713
  }
26619
26714
  }
26715
+ namespace Patch {
26716
+ namespace Parameters {
26717
+ type Path = {
26718
+ projectId: string;
26719
+ };
26720
+ interface RequestBody {
26721
+ description?: string;
26722
+ }
26723
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
26724
+ type Query = {};
26725
+ }
26726
+ namespace Responses {
26727
+ namespace $204 {
26728
+ namespace Content {
26729
+ type Empty = unknown;
26730
+ }
26731
+ }
26732
+ namespace $400 {
26733
+ namespace Content {
26734
+ interface ApplicationJson {
26735
+ [k: string]: unknown;
26736
+ }
26737
+ }
26738
+ }
26739
+ namespace $403 {
26740
+ namespace Content {
26741
+ interface ApplicationJson {
26742
+ [k: string]: unknown;
26743
+ }
26744
+ }
26745
+ }
26746
+ namespace $429 {
26747
+ namespace Content {
26748
+ interface ApplicationJson {
26749
+ [k: string]: unknown;
26750
+ }
26751
+ }
26752
+ }
26753
+ namespace Default {
26754
+ namespace Content {
26755
+ interface ApplicationJson {
26756
+ [k: string]: unknown;
26757
+ }
26758
+ }
26759
+ }
26760
+ }
26761
+ }
26620
26762
  }
26621
26763
  namespace V2ServersServerIdAvatar {
26622
26764
  namespace Post {
@@ -27159,6 +27301,53 @@ export declare namespace MittwaldAPIV2 {
27159
27301
  }
27160
27302
  }
27161
27303
  }
27304
+ namespace Patch {
27305
+ namespace Parameters {
27306
+ type Path = {
27307
+ serverId: string;
27308
+ };
27309
+ interface RequestBody {
27310
+ description?: string;
27311
+ }
27312
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
27313
+ type Query = {};
27314
+ }
27315
+ namespace Responses {
27316
+ namespace $204 {
27317
+ namespace Content {
27318
+ type Empty = unknown;
27319
+ }
27320
+ }
27321
+ namespace $400 {
27322
+ namespace Content {
27323
+ interface ApplicationJson {
27324
+ [k: string]: unknown;
27325
+ }
27326
+ }
27327
+ }
27328
+ namespace $403 {
27329
+ namespace Content {
27330
+ interface ApplicationJson {
27331
+ [k: string]: unknown;
27332
+ }
27333
+ }
27334
+ }
27335
+ namespace $429 {
27336
+ namespace Content {
27337
+ interface ApplicationJson {
27338
+ [k: string]: unknown;
27339
+ }
27340
+ }
27341
+ }
27342
+ namespace Default {
27343
+ namespace Content {
27344
+ interface ApplicationJson {
27345
+ [k: string]: unknown;
27346
+ }
27347
+ }
27348
+ }
27349
+ }
27350
+ }
27162
27351
  }
27163
27352
  namespace V2CustomersCustomerIdProjects {
27164
27353
  namespace Get {
@@ -28731,6 +28920,53 @@ export declare namespace MittwaldAPIV2 {
28731
28920
  }
28732
28921
  }
28733
28922
  }
28923
+ namespace Patch {
28924
+ namespace Parameters {
28925
+ type Path = {
28926
+ projectId: string;
28927
+ };
28928
+ interface RequestBody {
28929
+ notificationThresholdInBytes?: number;
28930
+ }
28931
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
28932
+ type Query = {};
28933
+ }
28934
+ namespace Responses {
28935
+ namespace $204 {
28936
+ namespace Content {
28937
+ type Empty = unknown;
28938
+ }
28939
+ }
28940
+ namespace $403 {
28941
+ namespace Content {
28942
+ interface ApplicationJson {
28943
+ [k: string]: unknown;
28944
+ }
28945
+ }
28946
+ }
28947
+ namespace $429 {
28948
+ namespace Content {
28949
+ interface ApplicationJson {
28950
+ [k: string]: unknown;
28951
+ }
28952
+ }
28953
+ }
28954
+ namespace $500 {
28955
+ namespace Content {
28956
+ interface ApplicationJson {
28957
+ [k: string]: unknown;
28958
+ }
28959
+ }
28960
+ }
28961
+ namespace Default {
28962
+ namespace Content {
28963
+ interface ApplicationJson {
28964
+ [k: string]: unknown;
28965
+ }
28966
+ }
28967
+ }
28968
+ }
28969
+ }
28734
28970
  }
28735
28971
  namespace V2ServersServerIdStorageSpaceStatistics {
28736
28972
  namespace Get {
@@ -28791,6 +29027,53 @@ export declare namespace MittwaldAPIV2 {
28791
29027
  }
28792
29028
  }
28793
29029
  }
29030
+ namespace Patch {
29031
+ namespace Parameters {
29032
+ type Path = {
29033
+ serverId: string;
29034
+ };
29035
+ interface RequestBody {
29036
+ notificationThresholdInBytes?: number;
29037
+ }
29038
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
29039
+ type Query = {};
29040
+ }
29041
+ namespace Responses {
29042
+ namespace $204 {
29043
+ namespace Content {
29044
+ type Empty = unknown;
29045
+ }
29046
+ }
29047
+ namespace $403 {
29048
+ namespace Content {
29049
+ interface ApplicationJson {
29050
+ [k: string]: unknown;
29051
+ }
29052
+ }
29053
+ }
29054
+ namespace $429 {
29055
+ namespace Content {
29056
+ interface ApplicationJson {
29057
+ [k: string]: unknown;
29058
+ }
29059
+ }
29060
+ }
29061
+ namespace $500 {
29062
+ namespace Content {
29063
+ interface ApplicationJson {
29064
+ [k: string]: unknown;
29065
+ }
29066
+ }
29067
+ }
29068
+ namespace Default {
29069
+ namespace Content {
29070
+ interface ApplicationJson {
29071
+ [k: string]: unknown;
29072
+ }
29073
+ }
29074
+ }
29075
+ }
29076
+ }
28794
29077
  }
28795
29078
  namespace V2ProjectsProjectIdStorageSpaceNotificationThreshold {
28796
29079
  namespace Put {
@@ -31463,5 +31746,80 @@ export declare namespace MittwaldAPIV2 {
31463
31746
  }
31464
31747
  }
31465
31748
  }
31749
+ namespace V2StacksStackIdActionsAddTemplateComponent {
31750
+ namespace Post {
31751
+ namespace Parameters {
31752
+ type Path = {
31753
+ stackId: string;
31754
+ };
31755
+ type RequestBody = MittwaldAPIV2.Components.Schemas.ContainerAddTemplateComponent;
31756
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
31757
+ type Query = {};
31758
+ }
31759
+ namespace Responses {
31760
+ namespace $204 {
31761
+ namespace Content {
31762
+ type Empty = unknown;
31763
+ }
31764
+ }
31765
+ namespace $400 {
31766
+ namespace Content {
31767
+ interface ApplicationJson {
31768
+ [k: string]: unknown;
31769
+ }
31770
+ }
31771
+ }
31772
+ namespace $403 {
31773
+ namespace Content {
31774
+ interface ApplicationJson {
31775
+ [k: string]: unknown;
31776
+ }
31777
+ }
31778
+ }
31779
+ namespace $404 {
31780
+ namespace Content {
31781
+ interface ApplicationJson {
31782
+ [k: string]: unknown;
31783
+ }
31784
+ }
31785
+ }
31786
+ namespace $409 {
31787
+ namespace Content {
31788
+ interface ApplicationJson {
31789
+ [k: string]: unknown;
31790
+ }
31791
+ }
31792
+ }
31793
+ namespace $412 {
31794
+ namespace Content {
31795
+ interface ApplicationJson {
31796
+ [k: string]: unknown;
31797
+ }
31798
+ }
31799
+ }
31800
+ namespace $429 {
31801
+ namespace Content {
31802
+ interface ApplicationJson {
31803
+ [k: string]: unknown;
31804
+ }
31805
+ }
31806
+ }
31807
+ namespace $500 {
31808
+ namespace Content {
31809
+ interface ApplicationJson {
31810
+ [k: string]: unknown;
31811
+ }
31812
+ }
31813
+ }
31814
+ namespace Default {
31815
+ namespace Content {
31816
+ interface ApplicationJson {
31817
+ [k: string]: unknown;
31818
+ }
31819
+ }
31820
+ }
31821
+ }
31822
+ }
31823
+ }
31466
31824
  }
31467
31825
  }
@@ -1777,14 +1777,14 @@ declare const buildCronjobApi: (baseClient: MittwaldAPIV3NextClient) => {
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").MittwaldAPIV3Next.Components.Schemas.DeMittwaldCronjobCronjobExecutionSortOrder | 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").MittwaldAPIV3Next.Components.Schemas.DeMittwaldCronjobCronjobExecution[]>;
1790
1790
  /** Get a Cronjob. */
@@ -1821,7 +1821,6 @@ declare const buildCronjobApi: (baseClient: MittwaldAPIV3NextClient) => {
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<{