@mittwald/api-client 4.417.0 → 4.419.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,6 +92,8 @@ 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,
95
97
  /** Get a Container Template by ID. */
96
98
  getTemplate: new ApiCallAsyncResourceFactory(descriptors.containerGetTemplate, baseClient.container.getTemplate).getApiResource,
97
99
  /** List Stacks belonging to the executing user. */
@@ -104,8 +106,6 @@ const buildContainerApi = (baseClient) => ({
104
106
  listTemplates: new ApiCallAsyncResourceFactory(descriptors.containerListTemplates, baseClient.container.listTemplates).getApiResource,
105
107
  /** List Volumes belonging to a Project. */
106
108
  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,
365
367
  /** List backups belonging to a MailAddress. */
366
368
  listBackupsForMailAddress: new ApiCallAsyncResourceFactory(descriptors.mailListBackupsForMailAddress, baseClient.mail.listBackupsForMailAddress).getApiResource,
367
369
  /** List MailAddresses. */
368
370
  listMailAddressesForUser: new ApiCallAsyncResourceFactory(descriptors.mailListMailAddressesForUser, baseClient.mail.listMailAddressesForUser).getApiResource,
369
- /** List mail settings of a Project. */
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
371
  /** List Mail RateLimits. */
374
372
  listMailRateLimits: new ApiCallAsyncResourceFactory(descriptors.mailListMailRateLimits, baseClient.mail.listMailRateLimits).getApiResource,
373
+ /** List mail settings of a Project. */
374
+ listProjectMailSettings: new ApiCallAsyncResourceFactory(descriptors.mailListProjectMailSettings, baseClient.mail.listProjectMailSettings).getApiResource,
375
375
  });
376
376
  const buildMiscApi = (baseClient) => ({
377
377
  /** List valid time zones. */
@@ -168,6 +168,8 @@ 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),
171
173
  /** Get a Container Template by ID. */
172
174
  getTemplate: this.requestFunctionFactory(descriptors.containerGetTemplate),
173
175
  /** List Stacks belonging to the executing user. */
@@ -194,8 +196,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
194
196
  startService: this.requestFunctionFactory(descriptors.containerStartService),
195
197
  /** Stop a started Service. */
196
198
  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 = {
@@ -525,9 +525,11 @@ export class MittwaldAPIV2Client extends ApiClientBase {
525
525
  /** Get a MySQLUser. */
526
526
  getMysqlUser: this.requestFunctionFactory(descriptors.databaseGetMysqlUser),
527
527
  /** Update a MySQLUser. */
528
- updateMysqlUser: this.requestFunctionFactory(descriptors.databaseUpdateMysqlUser),
528
+ replaceMysqlUser: this.requestFunctionFactory(descriptors.databaseReplaceMysqlUser),
529
529
  /** Delete a MySQLUser. */
530
530
  deleteMysqlUser: this.requestFunctionFactory(descriptors.databaseDeleteMysqlUser),
531
+ /** Update a MySQLUser. */
532
+ updateMysqlUser: this.requestFunctionFactory(descriptors.databaseUpdateMysqlUser),
531
533
  /** Get a RedisDatabase. */
532
534
  getRedisDatabase: this.requestFunctionFactory(descriptors.databaseGetRedisDatabase),
533
535
  /** Delete a RedisDatabase. */
@@ -546,16 +548,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
546
548
  listMysqlVersions: this.requestFunctionFactory(descriptors.databaseListMysqlVersions),
547
549
  /** List RedisVersions. */
548
550
  listRedisVersions: this.requestFunctionFactory(descriptors.databaseListRedisVersions),
549
- /** Update a MySQLDatabase's default character settings. */
550
- updateMysqlDatabaseDefaultCharset: this.requestFunctionFactory(descriptors.databaseUpdateMysqlDatabaseDefaultCharset),
551
- /** Update a MySQLDatabase's description. */
552
- updateMysqlDatabaseDescription: this.requestFunctionFactory(descriptors.databaseUpdateMysqlDatabaseDescription),
553
551
  /** Update a MySQLUser's password. */
554
552
  updateMysqlUserPassword: this.requestFunctionFactory(descriptors.databaseUpdateMysqlUserPassword),
555
- /** Update a RedisDatabase's configuration. */
556
- updateRedisDatabaseConfiguration: this.requestFunctionFactory(descriptors.databaseUpdateRedisDatabaseConfiguration),
557
- /** Update a RedisDatabase's description. */
558
- updateRedisDatabaseDescription: this.requestFunctionFactory(descriptors.databaseUpdateRedisDatabaseDescription),
559
553
  };
560
554
  /** The domain API allows you to manage your domains, DNS records, SSL certificates and ingress resources. */
561
555
  domain = {
@@ -686,14 +680,20 @@ export class MittwaldAPIV2Client extends ApiClientBase {
686
680
  deleteMailAddress: this.requestFunctionFactory(descriptors.mailDeleteMailAddress),
687
681
  /** Disable the mail-archive of a MailAddress. */
688
682
  disableMailArchive: this.requestFunctionFactory(descriptors.mailDisableMailArchive),
683
+ /** Get a Mail RateLimit. */
684
+ getMailRateLimit: this.requestFunctionFactory(descriptors.mailGetMailRateLimit),
689
685
  /** List backups belonging to a MailAddress. */
690
686
  listBackupsForMailAddress: this.requestFunctionFactory(descriptors.mailListBackupsForMailAddress),
691
687
  /** List MailAddresses. */
692
688
  listMailAddressesForUser: this.requestFunctionFactory(descriptors.mailListMailAddressesForUser),
689
+ /** List Mail RateLimits. */
690
+ listMailRateLimits: this.requestFunctionFactory(descriptors.mailListMailRateLimits),
693
691
  /** List mail settings of a Project. */
694
692
  listProjectMailSettings: this.requestFunctionFactory(descriptors.mailListProjectMailSettings),
695
693
  /** Recover emails for a MailAddress from a backup. */
696
694
  recoverMailAddressEmails: this.requestFunctionFactory(descriptors.mailRecoverMailAddressEmails),
695
+ /** Request a rate limit change for a MailAddress. */
696
+ requestMailAddressRateLimitChange: this.requestFunctionFactory(descriptors.mailRequestMailAddressRateLimitChange),
697
697
  /** Update the description of a DeliveryBox. */
698
698
  updateDeliveryBoxDescription: this.requestFunctionFactory(descriptors.mailUpdateDeliveryBoxDescription),
699
699
  /** Update the password of a DeliveryBox. */
@@ -702,12 +702,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
702
702
  updateMailAddressAddress: this.requestFunctionFactory(descriptors.mailUpdateMailAddressAddress),
703
703
  /** Update the catch-all of a MailAddress. */
704
704
  updateMailAddressCatchAll: this.requestFunctionFactory(descriptors.mailUpdateMailAddressCatchAll),
705
- /** Get a Mail RateLimit. */
706
- getMailRateLimit: this.requestFunctionFactory(descriptors.mailGetMailRateLimit),
707
- /** List Mail RateLimits. */
708
- listMailRateLimits: this.requestFunctionFactory(descriptors.mailListMailRateLimits),
709
- /** Request a rate limit change for a MailAddress. */
710
- requestMailAddressRateLimitChange: this.requestFunctionFactory(descriptors.mailRequestMailAddressRateLimitChange),
711
705
  };
712
706
  /** The notification API allows you to manage your notifications. */
713
707
  notification = {
@@ -448,6 +448,12 @@ 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
+ };
451
457
  /** Get a Container Template by ID. */
452
458
  export const containerGetTemplate = {
453
459
  path: "/v2/container-templates/{templateId}",
@@ -1091,10 +1097,10 @@ export const databaseGetMysqlUser = {
1091
1097
  operationId: "database-get-mysql-user",
1092
1098
  };
1093
1099
  /** Update a MySQLUser. */
1094
- export const databaseUpdateMysqlUser = {
1100
+ export const databaseReplaceMysqlUser = {
1095
1101
  path: "/v2/mysql-users/{mysqlUserId}",
1096
1102
  method: "PUT",
1097
- operationId: "database-update-mysql-user",
1103
+ operationId: "database-replace-mysql-user",
1098
1104
  };
1099
1105
  /** Delete a MySQLUser. */
1100
1106
  export const databaseDeleteMysqlUser = {
@@ -1102,6 +1108,12 @@ export const databaseDeleteMysqlUser = {
1102
1108
  method: "DELETE",
1103
1109
  operationId: "database-delete-mysql-user",
1104
1110
  };
1111
+ /** Update a MySQLUser. */
1112
+ export const databaseUpdateMysqlUser = {
1113
+ path: "/v2/mysql-users/{mysqlUserId}",
1114
+ method: "PATCH",
1115
+ operationId: "database-update-mysql-user",
1116
+ };
1105
1117
  /** Get a RedisDatabase. */
1106
1118
  export const databaseGetRedisDatabase = {
1107
1119
  path: "/v2/redis-databases/{redisDatabaseId}",
@@ -1156,36 +1168,12 @@ export const databaseListRedisVersions = {
1156
1168
  method: "GET",
1157
1169
  operationId: "database-list-redis-versions",
1158
1170
  };
1159
- /** Update a MySQLDatabase's default character settings. */
1160
- export const databaseUpdateMysqlDatabaseDefaultCharset = {
1161
- path: "/v2/mysql-databases/{mysqlDatabaseId}/default-charset",
1162
- method: "PATCH",
1163
- operationId: "database-update-mysql-database-default-charset",
1164
- };
1165
- /** Update a MySQLDatabase's description. */
1166
- export const databaseUpdateMysqlDatabaseDescription = {
1167
- path: "/v2/mysql-databases/{mysqlDatabaseId}/description",
1168
- method: "PATCH",
1169
- operationId: "database-update-mysql-database-description",
1170
- };
1171
1171
  /** Update a MySQLUser's password. */
1172
1172
  export const databaseUpdateMysqlUserPassword = {
1173
1173
  path: "/v2/mysql-users/{mysqlUserId}/password",
1174
1174
  method: "PATCH",
1175
1175
  operationId: "database-update-mysql-user-password",
1176
1176
  };
1177
- /** Update a RedisDatabase's configuration. */
1178
- export const databaseUpdateRedisDatabaseConfiguration = {
1179
- path: "/v2/redis-databases/{redisDatabaseId}/configuration",
1180
- method: "PATCH",
1181
- operationId: "database-update-redis-database-configuration",
1182
- };
1183
- /** Update a RedisDatabase's description. */
1184
- export const databaseUpdateRedisDatabaseDescription = {
1185
- path: "/v2/redis-databases/{redisDatabaseId}/description",
1186
- method: "PATCH",
1187
- operationId: "database-update-redis-database-description",
1188
- };
1189
1177
  /** List Domains */
1190
1178
  export const domainListDomains = {
1191
1179
  path: "/v2/domains",
@@ -1966,6 +1954,12 @@ export const mailDisableMailArchive = {
1966
1954
  method: "DELETE",
1967
1955
  operationId: "mail-disable-mail-archive",
1968
1956
  };
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
+ };
1969
1963
  /** List backups belonging to a MailAddress. */
1970
1964
  export const mailListBackupsForMailAddress = {
1971
1965
  path: "/v2/mail-addresses/{mailAddressId}/backups",
@@ -1978,6 +1972,12 @@ export const mailListMailAddressesForUser = {
1978
1972
  method: "GET",
1979
1973
  operationId: "mail-list-mail-addresses-for-user",
1980
1974
  };
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
1981
  /** List mail settings of a Project. */
1982
1982
  export const mailListProjectMailSettings = {
1983
1983
  path: "/v2/projects/{projectId}/mail-settings",
@@ -1990,6 +1990,12 @@ export const mailRecoverMailAddressEmails = {
1990
1990
  method: "POST",
1991
1991
  operationId: "mail-recover-mail-address-emails",
1992
1992
  };
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
+ };
1993
1999
  /** Update the description of a DeliveryBox. */
1994
2000
  export const mailUpdateDeliveryBoxDescription = {
1995
2001
  path: "/v2/delivery-boxes/{deliveryBoxId}/description",
@@ -2830,27 +2836,3 @@ export const verificationVerifyCompany = {
2830
2836
  method: "POST",
2831
2837
  operationId: "verification-verify-company",
2832
2838
  };
2833
- /** Get a Mail RateLimit. */
2834
- export const mailGetMailRateLimit = {
2835
- path: "/v2/mail-rate-limits/{mailRateLimitId}",
2836
- method: "GET",
2837
- operationId: "mail-get-mail-rate-limit",
2838
- };
2839
- /** List Mail RateLimits. */
2840
- export const mailListMailRateLimits = {
2841
- path: "/v2/mail-rate-limits",
2842
- method: "GET",
2843
- operationId: "mail-list-mail-rate-limits",
2844
- };
2845
- /** Request a rate limit change for a MailAddress. */
2846
- export const mailRequestMailAddressRateLimitChange = {
2847
- path: "/v2/mail-addresses/{mailAddressId}/actions/request-rate-limit-change",
2848
- method: "POST",
2849
- operationId: "mail-request-mail-address-rate-limit-change",
2850
- };
2851
- /** Get a Container Template asset. */
2852
- export const containerGetTemplateAsset = {
2853
- path: "/v2/container-templates/{templateId}/assets/{assetPath}",
2854
- method: "GET",
2855
- operationId: "container-get-template-asset",
2856
- };
@@ -525,9 +525,11 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
525
525
  /** Get a MySQLUser. */
526
526
  getMysqlUser: this.requestFunctionFactory(descriptors.databaseGetMysqlUser),
527
527
  /** Update a MySQLUser. */
528
- updateMysqlUser: this.requestFunctionFactory(descriptors.databaseUpdateMysqlUser),
528
+ replaceMysqlUser: this.requestFunctionFactory(descriptors.databaseReplaceMysqlUser),
529
529
  /** Delete a MySQLUser. */
530
530
  deleteMysqlUser: this.requestFunctionFactory(descriptors.databaseDeleteMysqlUser),
531
+ /** Update a MySQLUser. */
532
+ updateMysqlUser: this.requestFunctionFactory(descriptors.databaseUpdateMysqlUser),
531
533
  /** Get a RedisDatabase. */
532
534
  getRedisDatabase: this.requestFunctionFactory(descriptors.databaseGetRedisDatabase),
533
535
  /** Delete a RedisDatabase. */
@@ -546,16 +548,8 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
546
548
  listMysqlVersions: this.requestFunctionFactory(descriptors.databaseListMysqlVersions),
547
549
  /** List RedisVersions. */
548
550
  listRedisVersions: this.requestFunctionFactory(descriptors.databaseListRedisVersions),
549
- /** Update a MySQLDatabase's default character settings. */
550
- updateMysqlDatabaseDefaultCharset: this.requestFunctionFactory(descriptors.databaseUpdateMysqlDatabaseDefaultCharset),
551
- /** Update a MySQLDatabase's description. */
552
- updateMysqlDatabaseDescription: this.requestFunctionFactory(descriptors.databaseUpdateMysqlDatabaseDescription),
553
551
  /** Update a MySQLUser's password. */
554
552
  updateMysqlUserPassword: this.requestFunctionFactory(descriptors.databaseUpdateMysqlUserPassword),
555
- /** Update a RedisDatabase's configuration. */
556
- updateRedisDatabaseConfiguration: this.requestFunctionFactory(descriptors.databaseUpdateRedisDatabaseConfiguration),
557
- /** Update a RedisDatabase's description. */
558
- updateRedisDatabaseDescription: this.requestFunctionFactory(descriptors.databaseUpdateRedisDatabaseDescription),
559
553
  };
560
554
  /** The domain API allows you to manage your domains, DNS records, SSL certificates and ingress resources. */
561
555
  domain = {
@@ -1091,10 +1091,10 @@ export const databaseGetMysqlUser = {
1091
1091
  operationId: "database-get-mysql-user",
1092
1092
  };
1093
1093
  /** Update a MySQLUser. */
1094
- export const databaseUpdateMysqlUser = {
1094
+ export const databaseReplaceMysqlUser = {
1095
1095
  path: "/v3-next/mysql-users/{mysqlUserId}",
1096
1096
  method: "PUT",
1097
- operationId: "database-update-mysql-user",
1097
+ operationId: "database-replace-mysql-user",
1098
1098
  };
1099
1099
  /** Delete a MySQLUser. */
1100
1100
  export const databaseDeleteMysqlUser = {
@@ -1102,6 +1102,12 @@ export const databaseDeleteMysqlUser = {
1102
1102
  method: "DELETE",
1103
1103
  operationId: "database-delete-mysql-user",
1104
1104
  };
1105
+ /** Update a MySQLUser. */
1106
+ export const databaseUpdateMysqlUser = {
1107
+ path: "/v3-next/mysql-users/{mysqlUserId}",
1108
+ method: "PATCH",
1109
+ operationId: "database-update-mysql-user",
1110
+ };
1105
1111
  /** Get a RedisDatabase. */
1106
1112
  export const databaseGetRedisDatabase = {
1107
1113
  path: "/v3-next/redis-databases/{redisDatabaseId}",
@@ -1156,36 +1162,12 @@ export const databaseListRedisVersions = {
1156
1162
  method: "GET",
1157
1163
  operationId: "database-list-redis-versions",
1158
1164
  };
1159
- /** Update a MySQLDatabase's default character settings. */
1160
- export const databaseUpdateMysqlDatabaseDefaultCharset = {
1161
- path: "/v3-next/mysql-databases/{mysqlDatabaseId}/default-charset",
1162
- method: "PATCH",
1163
- operationId: "database-update-mysql-database-default-charset",
1164
- };
1165
- /** Update a MySQLDatabase's description. */
1166
- export const databaseUpdateMysqlDatabaseDescription = {
1167
- path: "/v3-next/mysql-databases/{mysqlDatabaseId}/description",
1168
- method: "PATCH",
1169
- operationId: "database-update-mysql-database-description",
1170
- };
1171
1165
  /** Update a MySQLUser's password. */
1172
1166
  export const databaseUpdateMysqlUserPassword = {
1173
1167
  path: "/v3-next/mysql-users/{mysqlUserId}/password",
1174
1168
  method: "PATCH",
1175
1169
  operationId: "database-update-mysql-user-password",
1176
1170
  };
1177
- /** Update a RedisDatabase's configuration. */
1178
- export const databaseUpdateRedisDatabaseConfiguration = {
1179
- path: "/v3-next/redis-databases/{redisDatabaseId}/configuration",
1180
- method: "PATCH",
1181
- operationId: "database-update-redis-database-configuration",
1182
- };
1183
- /** Update a RedisDatabase's description. */
1184
- export const databaseUpdateRedisDatabaseDescription = {
1185
- path: "/v3-next/redis-databases/{redisDatabaseId}/description",
1186
- method: "PATCH",
1187
- operationId: "database-update-redis-database-description",
1188
- };
1189
1171
  /** List Domains */
1190
1172
  export const domainListDomains = {
1191
1173
  path: "/v3-next/domains",
@@ -1 +1 @@
1
- export const MittwaldAPIClientVersion = '4.416.0';
1
+ export const MittwaldAPIClientVersion = '4.418.0';
@@ -669,6 +669,14 @@ 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>;
672
680
  /** Get a Container Template by ID. */
673
681
  getTemplate: (conf: {
674
682
  templateId: string;
@@ -807,14 +815,6 @@ declare const buildContainerApi: (baseClient: MittwaldAPIV2Client) => {
807
815
  page?: number | undefined;
808
816
  } | undefined;
809
817
  }) => 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,6 +2898,17 @@ 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
+ }>;
2901
2912
  /** List backups belonging to a MailAddress. */
2902
2913
  listBackupsForMailAddress: (conf: {
2903
2914
  mailAddressId: string;
@@ -2927,6 +2938,13 @@ declare const buildMailApi: (baseClient: MittwaldAPIV2Client) => {
2927
2938
  order?: ("asc" | "desc")[] | undefined;
2928
2939
  } | undefined;
2929
2940
  } | 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[]>;
2930
2948
  /** List mail settings of a Project. */
2931
2949
  listProjectMailSettings: (conf: {
2932
2950
  projectId: string;
@@ -2939,24 +2957,6 @@ declare const buildMailApi: (baseClient: MittwaldAPIV2Client) => {
2939
2957
  projectId: string;
2940
2958
  whitelist: string[];
2941
2959
  }>;
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. */