@mittwald/api-client 4.419.0 → 4.420.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.
@@ -92,8 +92,6 @@ const buildContainerApi = (baseClient) => ({
92
92
  getServiceLogs: new ApiCallAsyncResourceFactory(descriptors.containerGetServiceLogs, baseClient.container.getServiceLogs).getApiResource,
93
93
  /** Get a Service belonging to a Stack. */
94
94
  getService: new ApiCallAsyncResourceFactory(descriptors.containerGetService, baseClient.container.getService).getApiResource,
95
- /** Get a Container Template asset. */
96
- getTemplateAsset: new ApiCallAsyncResourceFactory(descriptors.containerGetTemplateAsset, baseClient.container.getTemplateAsset).getApiResource,
97
95
  /** Get a Container Template by ID. */
98
96
  getTemplate: new ApiCallAsyncResourceFactory(descriptors.containerGetTemplate, baseClient.container.getTemplate).getApiResource,
99
97
  /** List Stacks belonging to the executing user. */
@@ -106,6 +104,8 @@ const buildContainerApi = (baseClient) => ({
106
104
  listTemplates: new ApiCallAsyncResourceFactory(descriptors.containerListTemplates, baseClient.container.listTemplates).getApiResource,
107
105
  /** List Volumes belonging to a Project. */
108
106
  listVolumes: new ApiCallAsyncResourceFactory(descriptors.containerListVolumes, baseClient.container.listVolumes).getApiResource,
107
+ /** Get a Container Template asset. */
108
+ getTemplateAsset: new ApiCallAsyncResourceFactory(descriptors.containerGetTemplateAsset, baseClient.container.getTemplateAsset).getApiResource,
109
109
  });
110
110
  const buildContractApi = (baseClient) => ({
111
111
  /** Return the BaseItem of the Contract with the given ID. */
@@ -362,16 +362,16 @@ const buildMailApi = (baseClient) => ({
362
362
  getDeliveryBox: new ApiCallAsyncResourceFactory(descriptors.mailGetDeliveryBox, baseClient.mail.getDeliveryBox).getApiResource,
363
363
  /** Get a MailAddress. */
364
364
  getMailAddress: new ApiCallAsyncResourceFactory(descriptors.mailGetMailAddress, baseClient.mail.getMailAddress).getApiResource,
365
- /** Get a Mail RateLimit. */
366
- getMailRateLimit: new ApiCallAsyncResourceFactory(descriptors.mailGetMailRateLimit, baseClient.mail.getMailRateLimit).getApiResource,
367
365
  /** List backups belonging to a MailAddress. */
368
366
  listBackupsForMailAddress: new ApiCallAsyncResourceFactory(descriptors.mailListBackupsForMailAddress, baseClient.mail.listBackupsForMailAddress).getApiResource,
369
367
  /** List MailAddresses. */
370
368
  listMailAddressesForUser: new ApiCallAsyncResourceFactory(descriptors.mailListMailAddressesForUser, baseClient.mail.listMailAddressesForUser).getApiResource,
371
- /** List Mail RateLimits. */
372
- listMailRateLimits: new ApiCallAsyncResourceFactory(descriptors.mailListMailRateLimits, baseClient.mail.listMailRateLimits).getApiResource,
373
369
  /** List mail settings of a Project. */
374
370
  listProjectMailSettings: new ApiCallAsyncResourceFactory(descriptors.mailListProjectMailSettings, baseClient.mail.listProjectMailSettings).getApiResource,
371
+ /** Get a Mail RateLimit. */
372
+ getMailRateLimit: new ApiCallAsyncResourceFactory(descriptors.mailGetMailRateLimit, baseClient.mail.getMailRateLimit).getApiResource,
373
+ /** List Mail RateLimits. */
374
+ listMailRateLimits: new ApiCallAsyncResourceFactory(descriptors.mailListMailRateLimits, baseClient.mail.listMailRateLimits).getApiResource,
375
375
  });
376
376
  const buildMiscApi = (baseClient) => ({
377
377
  /** List valid time zones. */
@@ -168,8 +168,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
168
168
  getServiceLogs: this.requestFunctionFactory(descriptors.containerGetServiceLogs),
169
169
  /** Get a Service belonging to a Stack. */
170
170
  getService: this.requestFunctionFactory(descriptors.containerGetService),
171
- /** Get a Container Template asset. */
172
- getTemplateAsset: this.requestFunctionFactory(descriptors.containerGetTemplateAsset),
173
171
  /** Get a Container Template by ID. */
174
172
  getTemplate: this.requestFunctionFactory(descriptors.containerGetTemplate),
175
173
  /** List Stacks belonging to the executing user. */
@@ -196,6 +194,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
196
194
  startService: this.requestFunctionFactory(descriptors.containerStartService),
197
195
  /** Stop a started Service. */
198
196
  stopService: this.requestFunctionFactory(descriptors.containerStopService),
197
+ /** Get a Container Template asset. */
198
+ getTemplateAsset: this.requestFunctionFactory(descriptors.containerGetTemplateAsset),
199
199
  };
200
200
  /** The contract API allows you to manage your contracts and orders */
201
201
  contract = {
@@ -524,8 +524,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
524
524
  patchMysqlDatabase: this.requestFunctionFactory(descriptors.databasePatchMysqlDatabase),
525
525
  /** Get a MySQLUser. */
526
526
  getMysqlUser: this.requestFunctionFactory(descriptors.databaseGetMysqlUser),
527
- /** Update a MySQLUser. */
528
- replaceMysqlUser: this.requestFunctionFactory(descriptors.databaseReplaceMysqlUser),
529
527
  /** Delete a MySQLUser. */
530
528
  deleteMysqlUser: this.requestFunctionFactory(descriptors.databaseDeleteMysqlUser),
531
529
  /** Update a MySQLUser. */
@@ -548,8 +546,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
548
546
  listMysqlVersions: this.requestFunctionFactory(descriptors.databaseListMysqlVersions),
549
547
  /** List RedisVersions. */
550
548
  listRedisVersions: this.requestFunctionFactory(descriptors.databaseListRedisVersions),
551
- /** Update a MySQLUser's password. */
552
- updateMysqlUserPassword: this.requestFunctionFactory(descriptors.databaseUpdateMysqlUserPassword),
553
549
  };
554
550
  /** The domain API allows you to manage your domains, DNS records, SSL certificates and ingress resources. */
555
551
  domain = {
@@ -680,20 +676,14 @@ export class MittwaldAPIV2Client extends ApiClientBase {
680
676
  deleteMailAddress: this.requestFunctionFactory(descriptors.mailDeleteMailAddress),
681
677
  /** Disable the mail-archive of a MailAddress. */
682
678
  disableMailArchive: this.requestFunctionFactory(descriptors.mailDisableMailArchive),
683
- /** Get a Mail RateLimit. */
684
- getMailRateLimit: this.requestFunctionFactory(descriptors.mailGetMailRateLimit),
685
679
  /** List backups belonging to a MailAddress. */
686
680
  listBackupsForMailAddress: this.requestFunctionFactory(descriptors.mailListBackupsForMailAddress),
687
681
  /** List MailAddresses. */
688
682
  listMailAddressesForUser: this.requestFunctionFactory(descriptors.mailListMailAddressesForUser),
689
- /** List Mail RateLimits. */
690
- listMailRateLimits: this.requestFunctionFactory(descriptors.mailListMailRateLimits),
691
683
  /** List mail settings of a Project. */
692
684
  listProjectMailSettings: this.requestFunctionFactory(descriptors.mailListProjectMailSettings),
693
685
  /** Recover emails for a MailAddress from a backup. */
694
686
  recoverMailAddressEmails: this.requestFunctionFactory(descriptors.mailRecoverMailAddressEmails),
695
- /** Request a rate limit change for a MailAddress. */
696
- requestMailAddressRateLimitChange: this.requestFunctionFactory(descriptors.mailRequestMailAddressRateLimitChange),
697
687
  /** Update the description of a DeliveryBox. */
698
688
  updateDeliveryBoxDescription: this.requestFunctionFactory(descriptors.mailUpdateDeliveryBoxDescription),
699
689
  /** Update the password of a DeliveryBox. */
@@ -702,6 +692,12 @@ export class MittwaldAPIV2Client extends ApiClientBase {
702
692
  updateMailAddressAddress: this.requestFunctionFactory(descriptors.mailUpdateMailAddressAddress),
703
693
  /** Update the catch-all of a MailAddress. */
704
694
  updateMailAddressCatchAll: this.requestFunctionFactory(descriptors.mailUpdateMailAddressCatchAll),
695
+ /** Get a Mail RateLimit. */
696
+ getMailRateLimit: this.requestFunctionFactory(descriptors.mailGetMailRateLimit),
697
+ /** List Mail RateLimits. */
698
+ listMailRateLimits: this.requestFunctionFactory(descriptors.mailListMailRateLimits),
699
+ /** Request a rate limit change for a MailAddress. */
700
+ requestMailAddressRateLimitChange: this.requestFunctionFactory(descriptors.mailRequestMailAddressRateLimitChange),
705
701
  };
706
702
  /** The notification API allows you to manage your notifications. */
707
703
  notification = {
@@ -448,12 +448,6 @@ export const containerGetService = {
448
448
  method: "GET",
449
449
  operationId: "container-get-service",
450
450
  };
451
- /** Get a Container Template asset. */
452
- export const containerGetTemplateAsset = {
453
- path: "/v2/container-templates/{templateId}/assets/{assetPath}",
454
- method: "GET",
455
- operationId: "container-get-template-asset",
456
- };
457
451
  /** Get a Container Template by ID. */
458
452
  export const containerGetTemplate = {
459
453
  path: "/v2/container-templates/{templateId}",
@@ -1096,12 +1090,6 @@ export const databaseGetMysqlUser = {
1096
1090
  method: "GET",
1097
1091
  operationId: "database-get-mysql-user",
1098
1092
  };
1099
- /** Update a MySQLUser. */
1100
- export const databaseReplaceMysqlUser = {
1101
- path: "/v2/mysql-users/{mysqlUserId}",
1102
- method: "PUT",
1103
- operationId: "database-replace-mysql-user",
1104
- };
1105
1093
  /** Delete a MySQLUser. */
1106
1094
  export const databaseDeleteMysqlUser = {
1107
1095
  path: "/v2/mysql-users/{mysqlUserId}",
@@ -1168,12 +1156,6 @@ export const databaseListRedisVersions = {
1168
1156
  method: "GET",
1169
1157
  operationId: "database-list-redis-versions",
1170
1158
  };
1171
- /** Update a MySQLUser's password. */
1172
- export const databaseUpdateMysqlUserPassword = {
1173
- path: "/v2/mysql-users/{mysqlUserId}/password",
1174
- method: "PATCH",
1175
- operationId: "database-update-mysql-user-password",
1176
- };
1177
1159
  /** List Domains */
1178
1160
  export const domainListDomains = {
1179
1161
  path: "/v2/domains",
@@ -1954,12 +1936,6 @@ export const mailDisableMailArchive = {
1954
1936
  method: "DELETE",
1955
1937
  operationId: "mail-disable-mail-archive",
1956
1938
  };
1957
- /** Get a Mail RateLimit. */
1958
- export const mailGetMailRateLimit = {
1959
- path: "/v2/mail-rate-limits/{mailRateLimitId}",
1960
- method: "GET",
1961
- operationId: "mail-get-mail-rate-limit",
1962
- };
1963
1939
  /** List backups belonging to a MailAddress. */
1964
1940
  export const mailListBackupsForMailAddress = {
1965
1941
  path: "/v2/mail-addresses/{mailAddressId}/backups",
@@ -1972,12 +1948,6 @@ export const mailListMailAddressesForUser = {
1972
1948
  method: "GET",
1973
1949
  operationId: "mail-list-mail-addresses-for-user",
1974
1950
  };
1975
- /** List Mail RateLimits. */
1976
- export const mailListMailRateLimits = {
1977
- path: "/v2/mail-rate-limits",
1978
- method: "GET",
1979
- operationId: "mail-list-mail-rate-limits",
1980
- };
1981
1951
  /** List mail settings of a Project. */
1982
1952
  export const mailListProjectMailSettings = {
1983
1953
  path: "/v2/projects/{projectId}/mail-settings",
@@ -1990,12 +1960,6 @@ export const mailRecoverMailAddressEmails = {
1990
1960
  method: "POST",
1991
1961
  operationId: "mail-recover-mail-address-emails",
1992
1962
  };
1993
- /** Request a rate limit change for a MailAddress. */
1994
- export const mailRequestMailAddressRateLimitChange = {
1995
- path: "/v2/mail-addresses/{mailAddressId}/actions/request-rate-limit-change",
1996
- method: "POST",
1997
- operationId: "mail-request-mail-address-rate-limit-change",
1998
- };
1999
1963
  /** Update the description of a DeliveryBox. */
2000
1964
  export const mailUpdateDeliveryBoxDescription = {
2001
1965
  path: "/v2/delivery-boxes/{deliveryBoxId}/description",
@@ -2836,3 +2800,27 @@ export const verificationVerifyCompany = {
2836
2800
  method: "POST",
2837
2801
  operationId: "verification-verify-company",
2838
2802
  };
2803
+ /** Get a Mail RateLimit. */
2804
+ export const mailGetMailRateLimit = {
2805
+ path: "/v2/mail-rate-limits/{mailRateLimitId}",
2806
+ method: "GET",
2807
+ operationId: "mail-get-mail-rate-limit",
2808
+ };
2809
+ /** List Mail RateLimits. */
2810
+ export const mailListMailRateLimits = {
2811
+ path: "/v2/mail-rate-limits",
2812
+ method: "GET",
2813
+ operationId: "mail-list-mail-rate-limits",
2814
+ };
2815
+ /** Request a rate limit change for a MailAddress. */
2816
+ export const mailRequestMailAddressRateLimitChange = {
2817
+ path: "/v2/mail-addresses/{mailAddressId}/actions/request-rate-limit-change",
2818
+ method: "POST",
2819
+ operationId: "mail-request-mail-address-rate-limit-change",
2820
+ };
2821
+ /** Get a Container Template asset. */
2822
+ export const containerGetTemplateAsset = {
2823
+ path: "/v2/container-templates/{templateId}/assets/{assetPath}",
2824
+ method: "GET",
2825
+ operationId: "container-get-template-asset",
2826
+ };
@@ -524,8 +524,6 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
524
524
  patchMysqlDatabase: this.requestFunctionFactory(descriptors.databasePatchMysqlDatabase),
525
525
  /** Get a MySQLUser. */
526
526
  getMysqlUser: this.requestFunctionFactory(descriptors.databaseGetMysqlUser),
527
- /** Update a MySQLUser. */
528
- replaceMysqlUser: this.requestFunctionFactory(descriptors.databaseReplaceMysqlUser),
529
527
  /** Delete a MySQLUser. */
530
528
  deleteMysqlUser: this.requestFunctionFactory(descriptors.databaseDeleteMysqlUser),
531
529
  /** Update a MySQLUser. */
@@ -548,8 +546,6 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
548
546
  listMysqlVersions: this.requestFunctionFactory(descriptors.databaseListMysqlVersions),
549
547
  /** List RedisVersions. */
550
548
  listRedisVersions: this.requestFunctionFactory(descriptors.databaseListRedisVersions),
551
- /** Update a MySQLUser's password. */
552
- updateMysqlUserPassword: this.requestFunctionFactory(descriptors.databaseUpdateMysqlUserPassword),
553
549
  };
554
550
  /** The domain API allows you to manage your domains, DNS records, SSL certificates and ingress resources. */
555
551
  domain = {
@@ -1090,12 +1090,6 @@ export const databaseGetMysqlUser = {
1090
1090
  method: "GET",
1091
1091
  operationId: "database-get-mysql-user",
1092
1092
  };
1093
- /** Update a MySQLUser. */
1094
- export const databaseReplaceMysqlUser = {
1095
- path: "/v3-next/mysql-users/{mysqlUserId}",
1096
- method: "PUT",
1097
- operationId: "database-replace-mysql-user",
1098
- };
1099
1093
  /** Delete a MySQLUser. */
1100
1094
  export const databaseDeleteMysqlUser = {
1101
1095
  path: "/v3-next/mysql-users/{mysqlUserId}",
@@ -1162,12 +1156,6 @@ export const databaseListRedisVersions = {
1162
1156
  method: "GET",
1163
1157
  operationId: "database-list-redis-versions",
1164
1158
  };
1165
- /** Update a MySQLUser's password. */
1166
- export const databaseUpdateMysqlUserPassword = {
1167
- path: "/v3-next/mysql-users/{mysqlUserId}/password",
1168
- method: "PATCH",
1169
- operationId: "database-update-mysql-user-password",
1170
- };
1171
1159
  /** List Domains */
1172
1160
  export const domainListDomains = {
1173
1161
  path: "/v3-next/domains",
@@ -1 +1 @@
1
- export const MittwaldAPIClientVersion = '4.418.0';
1
+ export const MittwaldAPIClientVersion = '4.419.0';
@@ -669,14 +669,6 @@ declare const buildContainerApi: (baseClient: MittwaldAPIV2Client) => {
669
669
  status: import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerServiceStatus;
670
670
  statusSetAt: string;
671
671
  }>;
672
- /** Get a Container Template asset. */
673
- getTemplateAsset: (conf: {
674
- templateId: string;
675
- assetPath: string;
676
- headers?: {
677
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
678
- } | undefined;
679
- }) => import("@mittwald/react-use-promise").AsyncResource<string>;
680
672
  /** Get a Container Template by ID. */
681
673
  getTemplate: (conf: {
682
674
  templateId: string;
@@ -815,6 +807,14 @@ declare const buildContainerApi: (baseClient: MittwaldAPIV2Client) => {
815
807
  page?: number | undefined;
816
808
  } | undefined;
817
809
  }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerVolumeResponse[]>;
810
+ /** Get a Container Template asset. */
811
+ getTemplateAsset: (conf: {
812
+ templateId: string;
813
+ assetPath: string;
814
+ headers?: {
815
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
816
+ } | undefined;
817
+ }) => import("@mittwald/react-use-promise").AsyncResource<string>;
818
818
  };
819
819
  declare const buildContractApi: (baseClient: MittwaldAPIV2Client) => {
820
820
  /** Return the BaseItem of the Contract with the given ID. */
@@ -2898,17 +2898,6 @@ declare const buildMailApi: (baseClient: MittwaldAPIV2Client) => {
2898
2898
  receivingDisabled: boolean;
2899
2899
  updatedAt: string;
2900
2900
  }>;
2901
- /** Get a Mail RateLimit. */
2902
- getMailRateLimit: (conf: {
2903
- mailRateLimitId: string;
2904
- headers?: {
2905
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2906
- "x-access-token"?: string | undefined;
2907
- } | undefined;
2908
- }) => import("@mittwald/react-use-promise").AsyncResource<{
2909
- id: string;
2910
- rateLimit: number;
2911
- }>;
2912
2901
  /** List backups belonging to a MailAddress. */
2913
2902
  listBackupsForMailAddress: (conf: {
2914
2903
  mailAddressId: string;
@@ -2938,13 +2927,6 @@ declare const buildMailApi: (baseClient: MittwaldAPIV2Client) => {
2938
2927
  order?: ("asc" | "desc")[] | undefined;
2939
2928
  } | undefined;
2940
2929
  } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MailMailAddress[]>;
2941
- /** List Mail RateLimits. */
2942
- listMailRateLimits: (conf?: {
2943
- headers?: {
2944
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2945
- "x-access-token"?: string | undefined;
2946
- } | undefined;
2947
- } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MailsystemRateLimit[]>;
2948
2930
  /** List mail settings of a Project. */
2949
2931
  listProjectMailSettings: (conf: {
2950
2932
  projectId: string;
@@ -2957,6 +2939,24 @@ declare const buildMailApi: (baseClient: MittwaldAPIV2Client) => {
2957
2939
  projectId: string;
2958
2940
  whitelist: string[];
2959
2941
  }>;
2942
+ /** Get a Mail RateLimit. */
2943
+ getMailRateLimit: (conf: {
2944
+ mailRateLimitId: string;
2945
+ headers?: {
2946
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2947
+ "x-access-token"?: string | undefined;
2948
+ } | undefined;
2949
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
2950
+ id: string;
2951
+ rateLimit: number;
2952
+ }>;
2953
+ /** List Mail RateLimits. */
2954
+ listMailRateLimits: (conf?: {
2955
+ headers?: {
2956
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2957
+ "x-access-token"?: string | undefined;
2958
+ } | undefined;
2959
+ } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MailsystemRateLimit[]>;
2960
2960
  };
2961
2961
  declare const buildMiscApi: (baseClient: MittwaldAPIV2Client) => {
2962
2962
  /** List valid time zones. */