@mittwald/api-client 3.1.15 → 3.1.16

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.
@@ -1090,6 +1090,20 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
1090
1090
  projectId: string;
1091
1091
  txtRecord: string;
1092
1092
  }>;
1093
+ /** Get the latest screenshot's FileReference belonging to a Domain. */
1094
+ getLatestScreenshot: (conf: {
1095
+ data: {
1096
+ domainName: string;
1097
+ path: string;
1098
+ };
1099
+ domainId: string;
1100
+ headers?: {
1101
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1102
+ "x-access-token"?: string | undefined;
1103
+ } | undefined;
1104
+ }) => import("@mittwald/react-use-promise/types").AsyncResource<{
1105
+ reference?: string | undefined;
1106
+ }>;
1093
1107
  /** List the DomainOwnerships of a project. */
1094
1108
  listDomainOwnerships: (conf: {
1095
1109
  projectId: string;
@@ -1159,20 +1173,6 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
1159
1173
  projectId: string;
1160
1174
  tls: import("./types.js").MittwaldAPIV2.Components.Schemas.IngressTlsAcme | import("./types.js").MittwaldAPIV2.Components.Schemas.IngressTlsCertificate;
1161
1175
  }>;
1162
- /** Get the latest screenshot's FileReference belonging to a Domain. */
1163
- getLatestScreenshot: (conf: {
1164
- data: {
1165
- domainName: string;
1166
- path: string;
1167
- };
1168
- domainId: string;
1169
- headers?: {
1170
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1171
- "x-access-token"?: string | undefined;
1172
- } | undefined;
1173
- }) => import("@mittwald/react-use-promise/types").AsyncResource<{
1174
- reference?: string | undefined;
1175
- }>;
1176
1176
  };
1177
1177
  declare const buildFileApi: (baseClient: MittwaldAPIV2Client) => {
1178
1178
  /** Get a File's meta. */
@@ -1244,22 +1244,6 @@ declare const buildFileApi: (baseClient: MittwaldAPIV2Client) => {
1244
1244
  }>;
1245
1245
  };
1246
1246
  declare const buildMailApi: (baseClient: MittwaldAPIV2Client) => {
1247
- /** List DeliveryBoxes belonging to a Project. */
1248
- listDeliveryBoxes: (conf: {
1249
- projectId: string;
1250
- headers?: {
1251
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1252
- "x-access-token"?: string | undefined;
1253
- } | undefined;
1254
- }) => import("@mittwald/react-use-promise/types").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MailDeliverybox[]>;
1255
- /** List MailAddresses belonging to a Project. */
1256
- listMailAddresses: (conf: {
1257
- projectId: string;
1258
- headers?: {
1259
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1260
- "x-access-token"?: string | undefined;
1261
- } | undefined;
1262
- }) => import("@mittwald/react-use-promise/types").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MailMailAddress[]>;
1263
1247
  /** Get a DeliveryBox. */
1264
1248
  getDeliveryBox: (conf: {
1265
1249
  deliveryBoxId: string;
@@ -1317,6 +1301,22 @@ declare const buildMailApi: (baseClient: MittwaldAPIV2Client) => {
1317
1301
  receivingDisabled: boolean;
1318
1302
  updatedAt: string;
1319
1303
  }>;
1304
+ /** List DeliveryBoxes belonging to a Project. */
1305
+ listDeliveryBoxes: (conf: {
1306
+ projectId: string;
1307
+ headers?: {
1308
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1309
+ "x-access-token"?: string | undefined;
1310
+ } | undefined;
1311
+ }) => import("@mittwald/react-use-promise/types").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MailDeliverybox[]>;
1312
+ /** List MailAddresses belonging to a Project. */
1313
+ listMailAddresses: (conf: {
1314
+ projectId: string;
1315
+ headers?: {
1316
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1317
+ "x-access-token"?: string | undefined;
1318
+ } | undefined;
1319
+ }) => import("@mittwald/react-use-promise/types").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MailMailAddress[]>;
1320
1320
  /** List mail settings of a Project. */
1321
1321
  listProjectMailSettings: (conf: {
1322
1322
  projectId: string;
@@ -156,6 +156,8 @@ const buildDomainApi = (baseClient) => ({
156
156
  getDomain: new ApiCallAsyncResourceFactory(descriptors.domainGetDomain, baseClient.domain.getDomain).getApiResource,
157
157
  /** Get a DomainOwnership. */
158
158
  getDomainOwnership: new ApiCallAsyncResourceFactory(descriptors.domainGetDomainOwnership, baseClient.domain.getDomainOwnership).getApiResource,
159
+ /** Get the latest screenshot's FileReference belonging to a Domain. */
160
+ getLatestScreenshot: new ApiCallAsyncResourceFactory(descriptors.domainGetLatestScreenshot, baseClient.domain.getLatestScreenshot).getApiResource,
159
161
  /** List the DomainOwnerships of a project. */
160
162
  listDomainOwnerships: new ApiCallAsyncResourceFactory(descriptors.domainListDomainOwnerships, baseClient.domain.listDomainOwnerships).getApiResource,
161
163
  /** List Domains belonging to a Project. */
@@ -168,8 +170,6 @@ const buildDomainApi = (baseClient) => ({
168
170
  ingressListIngresses: new ApiCallAsyncResourceFactory(descriptors.ingressListIngresses, baseClient.domain.ingressListIngresses).getApiResource,
169
171
  /** Get an Ingress. */
170
172
  ingressGetIngress: new ApiCallAsyncResourceFactory(descriptors.ingressGetIngress, baseClient.domain.ingressGetIngress).getApiResource,
171
- /** Get the latest screenshot's FileReference belonging to a Domain. */
172
- getLatestScreenshot: new ApiCallAsyncResourceFactory(descriptors.domainGetLatestScreenshot, baseClient.domain.getLatestScreenshot).getApiResource,
173
173
  });
174
174
  const buildFileApi = (baseClient) => ({
175
175
  /** Get a File's meta. */
@@ -182,14 +182,14 @@ const buildFileApi = (baseClient) => ({
182
182
  getFileUploadTypeRules: new ApiCallAsyncResourceFactory(descriptors.fileGetFileUploadTypeRules, baseClient.file.getFileUploadTypeRules).getApiResource,
183
183
  });
184
184
  const buildMailApi = (baseClient) => ({
185
- /** List DeliveryBoxes belonging to a Project. */
186
- listDeliveryBoxes: new ApiCallAsyncResourceFactory(descriptors.mailListDeliveryBoxes, baseClient.mail.listDeliveryBoxes).getApiResource,
187
- /** List MailAddresses belonging to a Project. */
188
- listMailAddresses: new ApiCallAsyncResourceFactory(descriptors.mailListMailAddresses, baseClient.mail.listMailAddresses).getApiResource,
189
185
  /** Get a DeliveryBox. */
190
186
  getDeliveryBox: new ApiCallAsyncResourceFactory(descriptors.mailGetDeliveryBox, baseClient.mail.getDeliveryBox).getApiResource,
191
187
  /** Get a MailAddress. */
192
188
  getMailAddress: new ApiCallAsyncResourceFactory(descriptors.mailGetMailAddress, baseClient.mail.getMailAddress).getApiResource,
189
+ /** List DeliveryBoxes belonging to a Project. */
190
+ listDeliveryBoxes: new ApiCallAsyncResourceFactory(descriptors.mailListDeliveryBoxes, baseClient.mail.listDeliveryBoxes).getApiResource,
191
+ /** List MailAddresses belonging to a Project. */
192
+ listMailAddresses: new ApiCallAsyncResourceFactory(descriptors.mailListMailAddresses, baseClient.mail.listMailAddresses).getApiResource,
193
193
  /** List mail settings of a Project. */
194
194
  listProjectMailSettings: new ApiCallAsyncResourceFactory(descriptors.mailListProjectMailSettings, baseClient.mail.listProjectMailSettings).getApiResource,
195
195
  });
@@ -5356,6 +5356,41 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
5356
5356
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
5357
5357
  [x: string]: unknown;
5358
5358
  }, 404, "application/json">>>;
5359
+ /** Get the latest screenshot's FileReference belonging to a Domain. */
5360
+ getLatestScreenshot: (request: {
5361
+ data: {
5362
+ domainName: string;
5363
+ path: string;
5364
+ };
5365
+ domainId: string;
5366
+ headers?: {
5367
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
5368
+ "x-access-token"?: string | undefined;
5369
+ } | undefined;
5370
+ }) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
5371
+ data: {
5372
+ domainName: string;
5373
+ path: string;
5374
+ };
5375
+ } & {
5376
+ pathParameters: {
5377
+ domainId: string;
5378
+ };
5379
+ } & {
5380
+ headers?: Partial<{
5381
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5382
+ }> | undefined;
5383
+ } & {
5384
+ headers: {
5385
+ "x-access-token"?: string | undefined;
5386
+ } & Partial<{
5387
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5388
+ }>;
5389
+ }, import("@mittwald/api-client-commons").Response<{
5390
+ reference?: string | undefined;
5391
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
5392
+ [x: string]: unknown;
5393
+ }, 404, "application/json">>>;
5359
5394
  /** List the DomainOwnerships of a project. */
5360
5395
  listDomainOwnerships: (request: {
5361
5396
  projectId: string;
@@ -5835,41 +5870,6 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
5835
5870
  }, import("@mittwald/api-client-commons").Response<{}, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
5836
5871
  [x: string]: unknown;
5837
5872
  }, 404, "application/json">>>;
5838
- /** Get the latest screenshot's FileReference belonging to a Domain. */
5839
- getLatestScreenshot: (request: {
5840
- data: {
5841
- domainName: string;
5842
- path: string;
5843
- };
5844
- domainId: string;
5845
- headers?: {
5846
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
5847
- "x-access-token"?: string | undefined;
5848
- } | undefined;
5849
- }) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
5850
- data: {
5851
- domainName: string;
5852
- path: string;
5853
- };
5854
- } & {
5855
- pathParameters: {
5856
- domainId: string;
5857
- };
5858
- } & {
5859
- headers?: Partial<{
5860
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5861
- }> | undefined;
5862
- } & {
5863
- headers: {
5864
- "x-access-token"?: string | undefined;
5865
- } & Partial<{
5866
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5867
- }>;
5868
- }, import("@mittwald/api-client-commons").Response<{
5869
- reference?: string | undefined;
5870
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
5871
- [x: string]: unknown;
5872
- }, 404, "application/json">>>;
5873
5873
  };
5874
5874
  /** The file API allows you to manage your files, for example for conversations attachments and avatar uploads. */
5875
5875
  readonly file: {
@@ -6032,9 +6032,9 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
6032
6032
  };
6033
6033
  /** The mail API allows you to manage your mail accounts. */
6034
6034
  readonly mail: {
6035
- /** List DeliveryBoxes belonging to a Project. */
6036
- listDeliveryBoxes: (request: {
6037
- projectId: string;
6035
+ /** Get a DeliveryBox. */
6036
+ getDeliveryBox: (request: {
6037
+ deliveryBoxId: string;
6038
6038
  headers?: {
6039
6039
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
6040
6040
  "x-access-token"?: string | undefined;
@@ -6045,49 +6045,8 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
6045
6045
  }> | undefined;
6046
6046
  } & {
6047
6047
  pathParameters: {
6048
- projectId: string;
6049
- };
6050
- } & {
6051
- headers: {
6052
- "x-access-token"?: string | undefined;
6053
- } & Partial<{
6054
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6055
- }>;
6056
- }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.MailDeliverybox[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
6057
- [x: string]: unknown;
6058
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
6059
- [x: string]: unknown;
6060
- }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
6061
- [x: string]: unknown;
6062
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
6063
- [x: string]: unknown;
6064
- }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
6065
- [x: string]: unknown;
6066
- }, 503, "application/json">>>;
6067
- /** Create a DeliveryBox. */
6068
- createDeliverybox: (request: {
6069
- data: {
6070
- description: string;
6071
- password: string;
6072
- };
6073
- projectId: string;
6074
- headers?: {
6075
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
6076
- "x-access-token"?: string | undefined;
6077
- } | undefined;
6078
- }) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
6079
- data: {
6080
- description: string;
6081
- password: string;
6082
- };
6083
- } & {
6084
- pathParameters: {
6085
- projectId: string;
6048
+ deliveryBoxId: string;
6086
6049
  };
6087
- } & {
6088
- headers?: Partial<{
6089
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6090
- }> | undefined;
6091
6050
  } & {
6092
6051
  headers: {
6093
6052
  "x-access-token"?: string | undefined;
@@ -6095,8 +6054,15 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
6095
6054
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6096
6055
  }>;
6097
6056
  }, import("@mittwald/api-client-commons").Response<{
6057
+ authenticationEnabled: boolean;
6058
+ description: string;
6098
6059
  id: string;
6099
- }, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
6060
+ name: string;
6061
+ passwordUpdatedAt: string;
6062
+ projectId: string;
6063
+ sendingEnabled: boolean;
6064
+ updatedAt: string;
6065
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
6100
6066
  [x: string]: unknown;
6101
6067
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
6102
6068
  [x: string]: unknown;
@@ -6107,9 +6073,9 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
6107
6073
  }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
6108
6074
  [x: string]: unknown;
6109
6075
  }, 503, "application/json">>>;
6110
- /** List MailAddresses belonging to a Project. */
6111
- listMailAddresses: (request: {
6112
- projectId: string;
6076
+ /** Delete a DeliveryBox. */
6077
+ deleteDeliveryBox: (request: {
6078
+ deliveryBoxId: string;
6113
6079
  headers?: {
6114
6080
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
6115
6081
  "x-access-token"?: string | undefined;
@@ -6120,83 +6086,15 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
6120
6086
  }> | undefined;
6121
6087
  } & {
6122
6088
  pathParameters: {
6123
- projectId: string;
6124
- };
6125
- } & {
6126
- headers: {
6127
- "x-access-token"?: string | undefined;
6128
- } & Partial<{
6129
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6130
- }>;
6131
- }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.MailMailAddress[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
6132
- [x: string]: unknown;
6133
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
6134
- [x: string]: unknown;
6135
- }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
6136
- [x: string]: unknown;
6137
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
6138
- [x: string]: unknown;
6139
- }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
6140
- [x: string]: unknown;
6141
- }, 503, "application/json">>>;
6142
- /** Create a MailAddress. */
6143
- createMailAddress: (request: {
6144
- data: {
6145
- address: string;
6146
- forwardAddresses: string[];
6147
- };
6148
- projectId: string;
6149
- headers?: {
6150
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
6151
- "x-access-token"?: string | undefined;
6152
- } | undefined;
6153
- } | {
6154
- data: {
6155
- address: string;
6156
- isCatchAll: boolean;
6157
- mailbox: {
6158
- enableSpamProtection: boolean;
6159
- password: string;
6160
- quotaInBytes: number;
6161
- };
6162
- };
6163
- projectId: string;
6164
- headers?: {
6165
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
6166
- "x-access-token"?: string | undefined;
6167
- } | undefined;
6168
- }) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<({
6169
- data: {
6170
- address: string;
6171
- forwardAddresses: string[];
6172
- };
6173
- } | {
6174
- data: {
6175
- address: string;
6176
- isCatchAll: boolean;
6177
- mailbox: {
6178
- enableSpamProtection: boolean;
6179
- password: string;
6180
- quotaInBytes: number;
6181
- };
6182
- };
6183
- }) & {
6184
- pathParameters: {
6185
- projectId: string;
6089
+ deliveryBoxId: string;
6186
6090
  };
6187
- } & {
6188
- headers?: Partial<{
6189
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6190
- }> | undefined;
6191
6091
  } & {
6192
6092
  headers: {
6193
6093
  "x-access-token"?: string | undefined;
6194
6094
  } & Partial<{
6195
6095
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6196
6096
  }>;
6197
- }, import("@mittwald/api-client-commons").Response<{
6198
- id: string;
6199
- }, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
6097
+ }, import("@mittwald/api-client-commons").Response<{}, 200, "empty"> | import("@mittwald/api-client-commons").Response<{
6200
6098
  [x: string]: unknown;
6201
6099
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
6202
6100
  [x: string]: unknown;
@@ -6207,9 +6105,9 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
6207
6105
  }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
6208
6106
  [x: string]: unknown;
6209
6107
  }, 503, "application/json">>>;
6210
- /** Get a DeliveryBox. */
6211
- getDeliveryBox: (request: {
6212
- deliveryBoxId: string;
6108
+ /** Get a MailAddress. */
6109
+ getMailAddress: (request: {
6110
+ mailAddressId: string;
6213
6111
  headers?: {
6214
6112
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
6215
6113
  "x-access-token"?: string | undefined;
@@ -6220,7 +6118,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
6220
6118
  }> | undefined;
6221
6119
  } & {
6222
6120
  pathParameters: {
6223
- deliveryBoxId: string;
6121
+ mailAddressId: string;
6224
6122
  };
6225
6123
  } & {
6226
6124
  headers: {
@@ -6229,13 +6127,36 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
6229
6127
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6230
6128
  }>;
6231
6129
  }, import("@mittwald/api-client-commons").Response<{
6232
- authenticationEnabled: boolean;
6233
- description: string;
6130
+ address: string;
6131
+ autoResponder: {
6132
+ active: boolean;
6133
+ expiresAt?: string | undefined;
6134
+ message: string;
6135
+ startsAt?: string | undefined;
6136
+ };
6137
+ forwardAddresses: string[];
6234
6138
  id: string;
6235
- name: string;
6236
- passwordUpdatedAt: string;
6139
+ isArchived: boolean;
6140
+ isCatchAll: boolean;
6141
+ mailbox?: {
6142
+ passwordUpdatedAt: string;
6143
+ sendingEnabled: boolean;
6144
+ spamProtection: {
6145
+ active: boolean;
6146
+ autoDeleteSpam: boolean;
6147
+ folder: "spam" | "inbox";
6148
+ relocationMinSpamScore: number;
6149
+ };
6150
+ storageInBytes: {
6151
+ current: {
6152
+ updatedAt: string;
6153
+ value: number;
6154
+ };
6155
+ limit: number;
6156
+ };
6157
+ } | undefined;
6237
6158
  projectId: string;
6238
- sendingEnabled: boolean;
6159
+ receivingDisabled: boolean;
6239
6160
  updatedAt: string;
6240
6161
  }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
6241
6162
  [x: string]: unknown;
@@ -6248,9 +6169,9 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
6248
6169
  }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
6249
6170
  [x: string]: unknown;
6250
6171
  }, 503, "application/json">>>;
6251
- /** Delete a DeliveryBox. */
6252
- deleteDeliveryBox: (request: {
6253
- deliveryBoxId: string;
6172
+ /** Delete a MailAddress. */
6173
+ deleteMailAddress: (request: {
6174
+ mailAddressId: string;
6254
6175
  headers?: {
6255
6176
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
6256
6177
  "x-access-token"?: string | undefined;
@@ -6261,7 +6182,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
6261
6182
  }> | undefined;
6262
6183
  } & {
6263
6184
  pathParameters: {
6264
- deliveryBoxId: string;
6185
+ mailAddressId: string;
6265
6186
  };
6266
6187
  } & {
6267
6188
  headers: {
@@ -6280,9 +6201,9 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
6280
6201
  }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
6281
6202
  [x: string]: unknown;
6282
6203
  }, 503, "application/json">>>;
6283
- /** Get a MailAddress. */
6284
- getMailAddress: (request: {
6285
- mailAddressId: string;
6204
+ /** List DeliveryBoxes belonging to a Project. */
6205
+ listDeliveryBoxes: (request: {
6206
+ projectId: string;
6286
6207
  headers?: {
6287
6208
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
6288
6209
  "x-access-token"?: string | undefined;
@@ -6293,7 +6214,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
6293
6214
  }> | undefined;
6294
6215
  } & {
6295
6216
  pathParameters: {
6296
- mailAddressId: string;
6217
+ projectId: string;
6297
6218
  };
6298
6219
  } & {
6299
6220
  headers: {
@@ -6301,39 +6222,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
6301
6222
  } & Partial<{
6302
6223
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6303
6224
  }>;
6304
- }, import("@mittwald/api-client-commons").Response<{
6305
- address: string;
6306
- autoResponder: {
6307
- active: boolean;
6308
- expiresAt?: string | undefined;
6309
- message: string;
6310
- startsAt?: string | undefined;
6311
- };
6312
- forwardAddresses: string[];
6313
- id: string;
6314
- isArchived: boolean;
6315
- isCatchAll: boolean;
6316
- mailbox?: {
6317
- passwordUpdatedAt: string;
6318
- sendingEnabled: boolean;
6319
- spamProtection: {
6320
- active: boolean;
6321
- autoDeleteSpam: boolean;
6322
- folder: "spam" | "inbox";
6323
- relocationMinSpamScore: number;
6324
- };
6325
- storageInBytes: {
6326
- current: {
6327
- updatedAt: string;
6328
- value: number;
6329
- };
6330
- limit: number;
6331
- };
6332
- } | undefined;
6333
- projectId: string;
6334
- receivingDisabled: boolean;
6335
- updatedAt: string;
6336
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
6225
+ }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.MailDeliverybox[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
6337
6226
  [x: string]: unknown;
6338
6227
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
6339
6228
  [x: string]: unknown;
@@ -6344,9 +6233,9 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
6344
6233
  }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
6345
6234
  [x: string]: unknown;
6346
6235
  }, 503, "application/json">>>;
6347
- /** Delete a MailAddress. */
6348
- deleteMailAddress: (request: {
6349
- mailAddressId: string;
6236
+ /** List MailAddresses belonging to a Project. */
6237
+ listMailAddresses: (request: {
6238
+ projectId: string;
6350
6239
  headers?: {
6351
6240
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
6352
6241
  "x-access-token"?: string | undefined;
@@ -6357,7 +6246,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
6357
6246
  }> | undefined;
6358
6247
  } & {
6359
6248
  pathParameters: {
6360
- mailAddressId: string;
6249
+ projectId: string;
6361
6250
  };
6362
6251
  } & {
6363
6252
  headers: {
@@ -6365,7 +6254,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
6365
6254
  } & Partial<{
6366
6255
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6367
6256
  }>;
6368
- }, import("@mittwald/api-client-commons").Response<{}, 200, "empty"> | import("@mittwald/api-client-commons").Response<{
6257
+ }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.MailMailAddress[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
6369
6258
  [x: string]: unknown;
6370
6259
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
6371
6260
  [x: string]: unknown;
@@ -341,6 +341,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
341
341
  deleteDomain: this.requestFunctionFactory(descriptors.domainDeleteDomain),
342
342
  /** Get a DomainOwnership. */
343
343
  getDomainOwnership: this.requestFunctionFactory(descriptors.domainGetDomainOwnership),
344
+ /** Get the latest screenshot's FileReference belonging to a Domain. */
345
+ getLatestScreenshot: this.requestFunctionFactory(descriptors.domainGetLatestScreenshot),
344
346
  /** List the DomainOwnerships of a project. */
345
347
  listDomainOwnerships: this.requestFunctionFactory(descriptors.domainListDomainOwnerships),
346
348
  /** List Domains belonging to a Project. */
@@ -373,8 +375,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
373
375
  ingressRequestIngressAcmeCertificateIssuance: this.requestFunctionFactory(descriptors.ingressRequestIngressAcmeCertificateIssuance),
374
376
  /** Update the tls settings of an Ingress. */
375
377
  ingressUpdateIngressTls: this.requestFunctionFactory(descriptors.ingressUpdateIngressTls),
376
- /** Get the latest screenshot's FileReference belonging to a Domain. */
377
- getLatestScreenshot: this.requestFunctionFactory(descriptors.domainGetLatestScreenshot),
378
378
  };
379
379
  /** The file API allows you to manage your files, for example for conversations attachments and avatar uploads. */
380
380
  file = {
@@ -391,14 +391,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
391
391
  };
392
392
  /** The mail API allows you to manage your mail accounts. */
393
393
  mail = {
394
- /** List DeliveryBoxes belonging to a Project. */
395
- listDeliveryBoxes: this.requestFunctionFactory(descriptors.mailListDeliveryBoxes),
396
- /** Create a DeliveryBox. */
397
- createDeliverybox: this.requestFunctionFactory(descriptors.mailCreateDeliverybox),
398
- /** List MailAddresses belonging to a Project. */
399
- listMailAddresses: this.requestFunctionFactory(descriptors.mailListMailAddresses),
400
- /** Create a MailAddress. */
401
- createMailAddress: this.requestFunctionFactory(descriptors.mailCreateMailAddress),
402
394
  /** Get a DeliveryBox. */
403
395
  getDeliveryBox: this.requestFunctionFactory(descriptors.mailGetDeliveryBox),
404
396
  /** Delete a DeliveryBox. */
@@ -407,6 +399,10 @@ export class MittwaldAPIV2Client extends ApiClientBase {
407
399
  getMailAddress: this.requestFunctionFactory(descriptors.mailGetMailAddress),
408
400
  /** Delete a MailAddress. */
409
401
  deleteMailAddress: this.requestFunctionFactory(descriptors.mailDeleteMailAddress),
402
+ /** List DeliveryBoxes belonging to a Project. */
403
+ listDeliveryBoxes: this.requestFunctionFactory(descriptors.mailListDeliveryBoxes),
404
+ /** List MailAddresses belonging to a Project. */
405
+ listMailAddresses: this.requestFunctionFactory(descriptors.mailListMailAddresses),
410
406
  /** List mail settings of a Project. */
411
407
  listProjectMailSettings: this.requestFunctionFactory(descriptors.mailListProjectMailSettings),
412
408
  /** Update the description of a DeliveryBox. */