@mittwald/api-client 3.0.21 → 3.0.22

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.
@@ -6152,8 +6152,8 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
6152
6152
  };
6153
6153
  /** The mail API allows you to manage your mail accounts. */
6154
6154
  readonly mail: {
6155
- /** Get all deliveryboxes by project ID */
6156
- deliveryboxList: (request: {
6155
+ /** List DeliveryBoxes belonging to a Project. */
6156
+ listDeliveryBoxes: (request: {
6157
6157
  projectId: string;
6158
6158
  headers?: {
6159
6159
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
@@ -6173,9 +6173,19 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
6173
6173
  } & Partial<{
6174
6174
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6175
6175
  }>;
6176
- }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.MailDeliverybox[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{}, 403, "empty"> | import("@mittwald/api-client-commons").Response<{}, 404, "empty"> | import("@mittwald/api-client-commons").Response<{}, 500, "empty"> | import("@mittwald/api-client-commons").Response<{}, 503, "empty">>>;
6177
- /** Create a new deliverybox */
6178
- deliveryboxCreate: (request: {
6176
+ }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.MailDeliverybox[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
6177
+ [x: string]: unknown;
6178
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
6179
+ [x: string]: unknown;
6180
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
6181
+ [x: string]: unknown;
6182
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
6183
+ [x: string]: unknown;
6184
+ }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
6185
+ [x: string]: unknown;
6186
+ }, 503, "application/json">>>;
6187
+ /** Create a DeliveryBox. */
6188
+ createDeliverybox: (request: {
6179
6189
  data: {
6180
6190
  description: string;
6181
6191
  password: string;
@@ -6204,122 +6214,21 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
6204
6214
  } & Partial<{
6205
6215
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6206
6216
  }>;
6207
- }, import("@mittwald/api-client-commons").Response<{}, 403, "empty"> | import("@mittwald/api-client-commons").Response<{}, 404, "empty"> | import("@mittwald/api-client-commons").Response<{}, 500, "empty"> | import("@mittwald/api-client-commons").Response<{}, 503, "empty"> | import("@mittwald/api-client-commons").Response<{
6208
- id: string;
6209
- }, 201, "application/json">>>;
6210
- /** Get a specific deliverybox */
6211
- deliveryboxGetSpecific: (request: {
6212
- id: string;
6213
- headers?: {
6214
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
6215
- "x-access-token"?: string | undefined;
6216
- } | undefined;
6217
- }) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
6218
- headers?: Partial<{
6219
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6220
- }> | undefined;
6221
- } & {
6222
- pathParameters: {
6223
- id: string;
6224
- };
6225
- } & {
6226
- headers: {
6227
- "x-access-token"?: string | undefined;
6228
- } & Partial<{
6229
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6230
- }>;
6231
- }, import("@mittwald/api-client-commons").Response<{}, 403, "empty"> | import("@mittwald/api-client-commons").Response<{}, 404, "empty"> | import("@mittwald/api-client-commons").Response<{}, 500, "empty"> | import("@mittwald/api-client-commons").Response<{}, 503, "empty"> | import("@mittwald/api-client-commons").Response<{
6232
- authenticationEnabled: boolean;
6233
- description: string;
6234
- id: string;
6235
- name: string;
6236
- passwordUpdatedAt: string;
6237
- projectId: string;
6238
- sendingEnabled: boolean;
6239
- updatedAt: string;
6240
- }, 200, "application/json">>>;
6241
- /** Delete a specific deliverybox */
6242
- deliveryboxDelete: (request: {
6243
- id: string;
6244
- headers?: {
6245
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
6246
- "x-access-token"?: string | undefined;
6247
- } | undefined;
6248
- }) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
6249
- headers?: Partial<{
6250
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6251
- }> | undefined;
6252
- } & {
6253
- pathParameters: {
6254
- id: string;
6255
- };
6256
- } & {
6257
- headers: {
6258
- "x-access-token"?: string | undefined;
6259
- } & Partial<{
6260
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6261
- }>;
6262
- }, import("@mittwald/api-client-commons").Response<{}, 200, "empty"> | import("@mittwald/api-client-commons").Response<{}, 403, "empty"> | import("@mittwald/api-client-commons").Response<{}, 404, "empty"> | import("@mittwald/api-client-commons").Response<{}, 500, "empty"> | import("@mittwald/api-client-commons").Response<{}, 503, "empty">>>;
6263
- /** Update the description of an deliverybox */
6264
- deliveryboxUpdateDescription: (request: {
6265
- data: {
6266
- description: string;
6267
- };
6268
- id: string;
6269
- headers?: {
6270
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
6271
- "x-access-token"?: string | undefined;
6272
- } | undefined;
6273
- }) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
6274
- data: {
6275
- description: string;
6276
- };
6277
- } & {
6278
- pathParameters: {
6279
- id: string;
6280
- };
6281
- } & {
6282
- headers?: Partial<{
6283
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6284
- }> | undefined;
6285
- } & {
6286
- headers: {
6287
- "x-access-token"?: string | undefined;
6288
- } & Partial<{
6289
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6290
- }>;
6291
- }, import("@mittwald/api-client-commons").Response<{}, 200, "empty"> | import("@mittwald/api-client-commons").Response<{}, 403, "empty"> | import("@mittwald/api-client-commons").Response<{}, 404, "empty"> | import("@mittwald/api-client-commons").Response<{}, 500, "empty"> | import("@mittwald/api-client-commons").Response<{}, 503, "empty">>>;
6292
- /** Update the password for a specific deliverybox */
6293
- deliveryboxUpdatePassword: (request: {
6294
- data: {
6295
- password: string;
6296
- };
6217
+ }, import("@mittwald/api-client-commons").Response<{
6297
6218
  id: string;
6298
- headers?: {
6299
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
6300
- "x-access-token"?: string | undefined;
6301
- } | undefined;
6302
- }) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
6303
- data: {
6304
- password: string;
6305
- };
6306
- } & {
6307
- pathParameters: {
6308
- id: string;
6309
- };
6310
- } & {
6311
- headers?: Partial<{
6312
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6313
- }> | undefined;
6314
- } & {
6315
- headers: {
6316
- "x-access-token"?: string | undefined;
6317
- } & Partial<{
6318
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6319
- }>;
6320
- }, import("@mittwald/api-client-commons").Response<{}, 200, "empty"> | import("@mittwald/api-client-commons").Response<{}, 403, "empty"> | import("@mittwald/api-client-commons").Response<{}, 404, "empty"> | import("@mittwald/api-client-commons").Response<{}, 500, "empty"> | import("@mittwald/api-client-commons").Response<{}, 503, "empty">>>;
6321
- /** Get all mail addresses for a project ID */
6322
- mailaddressList: (request: {
6219
+ }, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
6220
+ [x: string]: unknown;
6221
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
6222
+ [x: string]: unknown;
6223
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
6224
+ [x: string]: unknown;
6225
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
6226
+ [x: string]: unknown;
6227
+ }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
6228
+ [x: string]: unknown;
6229
+ }, 503, "application/json">>>;
6230
+ /** List MailAddresses belonging to a Project. */
6231
+ listMailAddresses: (request: {
6323
6232
  projectId: string;
6324
6233
  headers?: {
6325
6234
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
@@ -6339,9 +6248,19 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
6339
6248
  } & Partial<{
6340
6249
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6341
6250
  }>;
6342
- }, import("@mittwald/api-client-commons").Response<{}, 403, "empty"> | import("@mittwald/api-client-commons").Response<{}, 404, "empty"> | import("@mittwald/api-client-commons").Response<{}, 500, "empty"> | import("@mittwald/api-client-commons").Response<{}, 503, "empty"> | import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.MailMailAddress[], 200, "application/json">>>;
6343
- /** Create a new mail address */
6344
- mailaddressCreate: (request: {
6251
+ }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.MailMailAddress[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
6252
+ [x: string]: unknown;
6253
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
6254
+ [x: string]: unknown;
6255
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
6256
+ [x: string]: unknown;
6257
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
6258
+ [x: string]: unknown;
6259
+ }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
6260
+ [x: string]: unknown;
6261
+ }, 503, "application/json">>>;
6262
+ /** Create a MailAddress. */
6263
+ createMailAddress: (request: {
6345
6264
  data: {
6346
6265
  address: string;
6347
6266
  forwardAddresses: string[];
@@ -6395,14 +6314,63 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
6395
6314
  } & Partial<{
6396
6315
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6397
6316
  }>;
6398
- }, import("@mittwald/api-client-commons").Response<{}, 403, "empty"> | import("@mittwald/api-client-commons").Response<{}, 404, "empty"> | import("@mittwald/api-client-commons").Response<{}, 500, "empty"> | import("@mittwald/api-client-commons").Response<{}, 503, "empty"> | import("@mittwald/api-client-commons").Response<{
6317
+ }, import("@mittwald/api-client-commons").Response<{
6399
6318
  id: string;
6400
6319
  }, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
6401
6320
  [x: string]: unknown;
6402
- }, 400, "application/json">>>;
6403
- /** Get a specific mail address */
6404
- mailaddressGetSpecific: (request: {
6321
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
6322
+ [x: string]: unknown;
6323
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
6324
+ [x: string]: unknown;
6325
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
6326
+ [x: string]: unknown;
6327
+ }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
6328
+ [x: string]: unknown;
6329
+ }, 503, "application/json">>>;
6330
+ /** Get a DeliveryBox. */
6331
+ getDeliveryBox: (request: {
6332
+ deliveryBoxId: string;
6333
+ headers?: {
6334
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
6335
+ "x-access-token"?: string | undefined;
6336
+ } | undefined;
6337
+ }) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
6338
+ headers?: Partial<{
6339
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6340
+ }> | undefined;
6341
+ } & {
6342
+ pathParameters: {
6343
+ deliveryBoxId: string;
6344
+ };
6345
+ } & {
6346
+ headers: {
6347
+ "x-access-token"?: string | undefined;
6348
+ } & Partial<{
6349
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6350
+ }>;
6351
+ }, import("@mittwald/api-client-commons").Response<{
6352
+ authenticationEnabled: boolean;
6353
+ description: string;
6405
6354
  id: string;
6355
+ name: string;
6356
+ passwordUpdatedAt: string;
6357
+ projectId: string;
6358
+ sendingEnabled: boolean;
6359
+ updatedAt: string;
6360
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
6361
+ [x: string]: unknown;
6362
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
6363
+ [x: string]: unknown;
6364
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
6365
+ [x: string]: unknown;
6366
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
6367
+ [x: string]: unknown;
6368
+ }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
6369
+ [x: string]: unknown;
6370
+ }, 503, "application/json">>>;
6371
+ /** Delete a DeliveryBox. */
6372
+ deleteDeliveryBox: (request: {
6373
+ deliveryBoxId: string;
6406
6374
  headers?: {
6407
6375
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
6408
6376
  "x-access-token"?: string | undefined;
@@ -6413,7 +6381,39 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
6413
6381
  }> | undefined;
6414
6382
  } & {
6415
6383
  pathParameters: {
6416
- id: string;
6384
+ deliveryBoxId: string;
6385
+ };
6386
+ } & {
6387
+ headers: {
6388
+ "x-access-token"?: string | undefined;
6389
+ } & Partial<{
6390
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6391
+ }>;
6392
+ }, import("@mittwald/api-client-commons").Response<{}, 200, "empty"> | import("@mittwald/api-client-commons").Response<{
6393
+ [x: string]: unknown;
6394
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
6395
+ [x: string]: unknown;
6396
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
6397
+ [x: string]: unknown;
6398
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
6399
+ [x: string]: unknown;
6400
+ }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
6401
+ [x: string]: unknown;
6402
+ }, 503, "application/json">>>;
6403
+ /** Get a MailAddress. */
6404
+ getMailAddress: (request: {
6405
+ mailAddressId: string;
6406
+ headers?: {
6407
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
6408
+ "x-access-token"?: string | undefined;
6409
+ } | undefined;
6410
+ }) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
6411
+ headers?: Partial<{
6412
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6413
+ }> | undefined;
6414
+ } & {
6415
+ pathParameters: {
6416
+ mailAddressId: string;
6417
6417
  };
6418
6418
  } & {
6419
6419
  headers: {
@@ -6421,7 +6421,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
6421
6421
  } & Partial<{
6422
6422
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6423
6423
  }>;
6424
- }, import("@mittwald/api-client-commons").Response<{}, 403, "empty"> | import("@mittwald/api-client-commons").Response<{}, 404, "empty"> | import("@mittwald/api-client-commons").Response<{}, 500, "empty"> | import("@mittwald/api-client-commons").Response<{}, 503, "empty"> | import("@mittwald/api-client-commons").Response<{
6424
+ }, import("@mittwald/api-client-commons").Response<{
6425
6425
  address: string;
6426
6426
  autoResponder: {
6427
6427
  active: boolean;
@@ -6453,10 +6453,20 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
6453
6453
  projectId: string;
6454
6454
  receivingDisabled: boolean;
6455
6455
  updatedAt: string;
6456
- }, 200, "application/json">>>;
6457
- /** Delete a specific mail address */
6458
- mailaddressDelete: (request: {
6459
- id: string;
6456
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
6457
+ [x: string]: unknown;
6458
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
6459
+ [x: string]: unknown;
6460
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
6461
+ [x: string]: unknown;
6462
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
6463
+ [x: string]: unknown;
6464
+ }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
6465
+ [x: string]: unknown;
6466
+ }, 503, "application/json">>>;
6467
+ /** Delete a MailAddress. */
6468
+ deleteMailAddress: (request: {
6469
+ mailAddressId: string;
6460
6470
  headers?: {
6461
6471
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
6462
6472
  "x-access-token"?: string | undefined;
@@ -6467,21 +6477,145 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
6467
6477
  }> | undefined;
6468
6478
  } & {
6469
6479
  pathParameters: {
6470
- id: string;
6480
+ mailAddressId: string;
6481
+ };
6482
+ } & {
6483
+ headers: {
6484
+ "x-access-token"?: string | undefined;
6485
+ } & Partial<{
6486
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6487
+ }>;
6488
+ }, import("@mittwald/api-client-commons").Response<{}, 200, "empty"> | import("@mittwald/api-client-commons").Response<{
6489
+ [x: string]: unknown;
6490
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
6491
+ [x: string]: unknown;
6492
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
6493
+ [x: string]: unknown;
6494
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
6495
+ [x: string]: unknown;
6496
+ }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
6497
+ [x: string]: unknown;
6498
+ }, 503, "application/json">>>;
6499
+ /** List mail settings of a Project. */
6500
+ listProjectMailSettings: (request: {
6501
+ projectId: string;
6502
+ headers?: {
6503
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
6504
+ "x-access-token"?: string | undefined;
6505
+ } | undefined;
6506
+ }) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
6507
+ headers?: Partial<{
6508
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6509
+ }> | undefined;
6510
+ } & {
6511
+ pathParameters: {
6512
+ projectId: string;
6513
+ };
6514
+ } & {
6515
+ headers: {
6516
+ "x-access-token"?: string | undefined;
6517
+ } & Partial<{
6518
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6519
+ }>;
6520
+ }, import("@mittwald/api-client-commons").Response<{
6521
+ blacklist: string[];
6522
+ projectId: string;
6523
+ whitelist: string[];
6524
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
6525
+ [x: string]: unknown;
6526
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
6527
+ [x: string]: unknown;
6528
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
6529
+ [x: string]: unknown;
6530
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
6531
+ [x: string]: unknown;
6532
+ }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
6533
+ [x: string]: unknown;
6534
+ }, 503, "application/json">>>;
6535
+ /** Update the description of a DeliveryBox. */
6536
+ updateDeliveryBoxDescription: (request: {
6537
+ data: {
6538
+ description: string;
6539
+ };
6540
+ deliveryBoxId: string;
6541
+ headers?: {
6542
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
6543
+ "x-access-token"?: string | undefined;
6544
+ } | undefined;
6545
+ }) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
6546
+ data: {
6547
+ description: string;
6548
+ };
6549
+ } & {
6550
+ pathParameters: {
6551
+ deliveryBoxId: string;
6471
6552
  };
6553
+ } & {
6554
+ headers?: Partial<{
6555
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6556
+ }> | undefined;
6472
6557
  } & {
6473
6558
  headers: {
6474
6559
  "x-access-token"?: string | undefined;
6475
6560
  } & Partial<{
6476
6561
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6477
6562
  }>;
6478
- }, import("@mittwald/api-client-commons").Response<{}, 200, "empty"> | import("@mittwald/api-client-commons").Response<{}, 403, "empty"> | import("@mittwald/api-client-commons").Response<{}, 404, "empty"> | import("@mittwald/api-client-commons").Response<{}, 500, "empty"> | import("@mittwald/api-client-commons").Response<{}, 503, "empty">>>;
6479
- /** Update mail-address */
6480
- mailaddressUpdateAddress: (request: {
6563
+ }, import("@mittwald/api-client-commons").Response<{}, 200, "empty"> | import("@mittwald/api-client-commons").Response<{
6564
+ [x: string]: unknown;
6565
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
6566
+ [x: string]: unknown;
6567
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
6568
+ [x: string]: unknown;
6569
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
6570
+ [x: string]: unknown;
6571
+ }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
6572
+ [x: string]: unknown;
6573
+ }, 503, "application/json">>>;
6574
+ /** Update the password of a DeliveryBox. */
6575
+ updateDeliveryBoxPassword: (request: {
6576
+ data: {
6577
+ password: string;
6578
+ };
6579
+ deliveryBoxId: string;
6580
+ headers?: {
6581
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
6582
+ "x-access-token"?: string | undefined;
6583
+ } | undefined;
6584
+ }) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
6585
+ data: {
6586
+ password: string;
6587
+ };
6588
+ } & {
6589
+ pathParameters: {
6590
+ deliveryBoxId: string;
6591
+ };
6592
+ } & {
6593
+ headers?: Partial<{
6594
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6595
+ }> | undefined;
6596
+ } & {
6597
+ headers: {
6598
+ "x-access-token"?: string | undefined;
6599
+ } & Partial<{
6600
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6601
+ }>;
6602
+ }, import("@mittwald/api-client-commons").Response<{}, 200, "empty"> | import("@mittwald/api-client-commons").Response<{
6603
+ [x: string]: unknown;
6604
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
6605
+ [x: string]: unknown;
6606
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
6607
+ [x: string]: unknown;
6608
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
6609
+ [x: string]: unknown;
6610
+ }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
6611
+ [x: string]: unknown;
6612
+ }, 503, "application/json">>>;
6613
+ /** Update a MailAddress. */
6614
+ updateMailAddressAddress: (request: {
6481
6615
  data: {
6482
6616
  address: string;
6483
6617
  };
6484
- id: string;
6618
+ mailAddressId: string;
6485
6619
  headers?: {
6486
6620
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
6487
6621
  "x-access-token"?: string | undefined;
@@ -6492,7 +6626,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
6492
6626
  };
6493
6627
  } & {
6494
6628
  pathParameters: {
6495
- id: string;
6629
+ mailAddressId: string;
6496
6630
  };
6497
6631
  } & {
6498
6632
  headers?: Partial<{
@@ -6504,9 +6638,19 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
6504
6638
  } & Partial<{
6505
6639
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6506
6640
  }>;
6507
- }, import("@mittwald/api-client-commons").Response<{}, 200, "empty"> | import("@mittwald/api-client-commons").Response<{}, 403, "empty"> | import("@mittwald/api-client-commons").Response<{}, 404, "empty"> | import("@mittwald/api-client-commons").Response<{}, 500, "empty"> | import("@mittwald/api-client-commons").Response<{}, 503, "empty">>>;
6508
- /** Update the auto responder of a mail address */
6509
- mailaddressUpdateAutoresponder: (request: {
6641
+ }, import("@mittwald/api-client-commons").Response<{}, 200, "empty"> | import("@mittwald/api-client-commons").Response<{
6642
+ [x: string]: unknown;
6643
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
6644
+ [x: string]: unknown;
6645
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
6646
+ [x: string]: unknown;
6647
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
6648
+ [x: string]: unknown;
6649
+ }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
6650
+ [x: string]: unknown;
6651
+ }, 503, "application/json">>>;
6652
+ /** Update the autoresponder of a MailAddress. */
6653
+ updateMailAddressAutoresponder: (request: {
6510
6654
  data: {
6511
6655
  autoResponder: {
6512
6656
  active: boolean;
@@ -6515,7 +6659,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
6515
6659
  startsAt?: string | undefined;
6516
6660
  };
6517
6661
  };
6518
- id: string;
6662
+ mailAddressId: string;
6519
6663
  headers?: {
6520
6664
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
6521
6665
  "x-access-token"?: string | undefined;
@@ -6531,7 +6675,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
6531
6675
  };
6532
6676
  } & {
6533
6677
  pathParameters: {
6534
- id: string;
6678
+ mailAddressId: string;
6535
6679
  };
6536
6680
  } & {
6537
6681
  headers?: Partial<{
@@ -6543,13 +6687,23 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
6543
6687
  } & Partial<{
6544
6688
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6545
6689
  }>;
6546
- }, import("@mittwald/api-client-commons").Response<{}, 200, "empty"> | import("@mittwald/api-client-commons").Response<{}, 403, "empty"> | import("@mittwald/api-client-commons").Response<{}, 404, "empty"> | import("@mittwald/api-client-commons").Response<{}, 500, "empty"> | import("@mittwald/api-client-commons").Response<{}, 503, "empty">>>;
6547
- /** Enable or disable the catchAll flag for a specific mail address */
6548
- mailaddressUpdateCatchall: (request: {
6690
+ }, import("@mittwald/api-client-commons").Response<{}, 200, "empty"> | import("@mittwald/api-client-commons").Response<{
6691
+ [x: string]: unknown;
6692
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
6693
+ [x: string]: unknown;
6694
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
6695
+ [x: string]: unknown;
6696
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
6697
+ [x: string]: unknown;
6698
+ }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
6699
+ [x: string]: unknown;
6700
+ }, 503, "application/json">>>;
6701
+ /** Update the catchall of a MailAddress. */
6702
+ updateMailAddressCatchall: (request: {
6549
6703
  data: {
6550
6704
  active: boolean;
6551
6705
  };
6552
- id: string;
6706
+ mailAddressId: string;
6553
6707
  headers?: {
6554
6708
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
6555
6709
  "x-access-token"?: string | undefined;
@@ -6560,7 +6714,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
6560
6714
  };
6561
6715
  } & {
6562
6716
  pathParameters: {
6563
- id: string;
6717
+ mailAddressId: string;
6564
6718
  };
6565
6719
  } & {
6566
6720
  headers?: Partial<{
@@ -6572,15 +6726,23 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
6572
6726
  } & Partial<{
6573
6727
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6574
6728
  }>;
6575
- }, import("@mittwald/api-client-commons").Response<{}, 200, "empty"> | import("@mittwald/api-client-commons").Response<{}, 403, "empty"> | import("@mittwald/api-client-commons").Response<{}, 404, "empty"> | import("@mittwald/api-client-commons").Response<{}, 500, "empty"> | import("@mittwald/api-client-commons").Response<{}, 503, "empty"> | import("@mittwald/api-client-commons").Response<{
6729
+ }, import("@mittwald/api-client-commons").Response<{}, 200, "empty"> | import("@mittwald/api-client-commons").Response<{
6576
6730
  [x: string]: unknown;
6577
- }, 400, "application/json">>>;
6578
- /** Update the addresses an email is forwarded to */
6579
- mailaddressUpdateForwardaddresses: (request: {
6731
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
6732
+ [x: string]: unknown;
6733
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
6734
+ [x: string]: unknown;
6735
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
6736
+ [x: string]: unknown;
6737
+ }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
6738
+ [x: string]: unknown;
6739
+ }, 503, "application/json">>>;
6740
+ /** Update the forward addresses of a MailAddresses. */
6741
+ updateMailAddressForwardAddresses: (request: {
6580
6742
  data: {
6581
6743
  forwardAddresses: string[];
6582
6744
  };
6583
- id: string;
6745
+ mailAddressId: string;
6584
6746
  headers?: {
6585
6747
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
6586
6748
  "x-access-token"?: string | undefined;
@@ -6591,7 +6753,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
6591
6753
  };
6592
6754
  } & {
6593
6755
  pathParameters: {
6594
- id: string;
6756
+ mailAddressId: string;
6595
6757
  };
6596
6758
  } & {
6597
6759
  headers?: Partial<{
@@ -6603,13 +6765,23 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
6603
6765
  } & Partial<{
6604
6766
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6605
6767
  }>;
6606
- }, import("@mittwald/api-client-commons").Response<{}, 200, "empty"> | import("@mittwald/api-client-commons").Response<{}, 403, "empty"> | import("@mittwald/api-client-commons").Response<{}, 404, "empty"> | import("@mittwald/api-client-commons").Response<{}, 500, "empty"> | import("@mittwald/api-client-commons").Response<{}, 503, "empty">>>;
6607
- /** Update the password for a specific mail address */
6608
- mailaddressUpdatePassword: (request: {
6768
+ }, import("@mittwald/api-client-commons").Response<{}, 200, "empty"> | import("@mittwald/api-client-commons").Response<{
6769
+ [x: string]: unknown;
6770
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
6771
+ [x: string]: unknown;
6772
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
6773
+ [x: string]: unknown;
6774
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
6775
+ [x: string]: unknown;
6776
+ }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
6777
+ [x: string]: unknown;
6778
+ }, 503, "application/json">>>;
6779
+ /** Update the password for a MailAddress. */
6780
+ updateMailAddressPassword: (request: {
6609
6781
  data: {
6610
6782
  password: string;
6611
6783
  };
6612
- id: string;
6784
+ mailAddressId: string;
6613
6785
  headers?: {
6614
6786
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
6615
6787
  "x-access-token"?: string | undefined;
@@ -6620,7 +6792,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
6620
6792
  };
6621
6793
  } & {
6622
6794
  pathParameters: {
6623
- id: string;
6795
+ mailAddressId: string;
6624
6796
  };
6625
6797
  } & {
6626
6798
  headers?: Partial<{
@@ -6632,13 +6804,23 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
6632
6804
  } & Partial<{
6633
6805
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6634
6806
  }>;
6635
- }, import("@mittwald/api-client-commons").Response<{}, 200, "empty"> | import("@mittwald/api-client-commons").Response<{}, 403, "empty"> | import("@mittwald/api-client-commons").Response<{}, 404, "empty"> | import("@mittwald/api-client-commons").Response<{}, 500, "empty"> | import("@mittwald/api-client-commons").Response<{}, 503, "empty">>>;
6636
- /** Update the quota of a mailbox */
6637
- mailaddressUpdateQuota: (request: {
6807
+ }, import("@mittwald/api-client-commons").Response<{}, 200, "empty"> | import("@mittwald/api-client-commons").Response<{
6808
+ [x: string]: unknown;
6809
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
6810
+ [x: string]: unknown;
6811
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
6812
+ [x: string]: unknown;
6813
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
6814
+ [x: string]: unknown;
6815
+ }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
6816
+ [x: string]: unknown;
6817
+ }, 503, "application/json">>>;
6818
+ /** Update the quota of a MailAddress. */
6819
+ updateMailAddressQuota: (request: {
6638
6820
  data: {
6639
6821
  quotaInBytes: number;
6640
6822
  };
6641
- id: string;
6823
+ mailAddressId: string;
6642
6824
  headers?: {
6643
6825
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
6644
6826
  "x-access-token"?: string | undefined;
@@ -6649,7 +6831,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
6649
6831
  };
6650
6832
  } & {
6651
6833
  pathParameters: {
6652
- id: string;
6834
+ mailAddressId: string;
6653
6835
  };
6654
6836
  } & {
6655
6837
  headers?: Partial<{
@@ -6661,9 +6843,19 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
6661
6843
  } & Partial<{
6662
6844
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6663
6845
  }>;
6664
- }, import("@mittwald/api-client-commons").Response<{}, 200, "empty"> | import("@mittwald/api-client-commons").Response<{}, 403, "empty"> | import("@mittwald/api-client-commons").Response<{}, 404, "empty"> | import("@mittwald/api-client-commons").Response<{}, 500, "empty"> | import("@mittwald/api-client-commons").Response<{}, 503, "empty">>>;
6665
- /** Update the spamprotection of a mailbox */
6666
- mailaddressUpdateSpamprotection: (request: {
6846
+ }, import("@mittwald/api-client-commons").Response<{}, 200, "empty"> | import("@mittwald/api-client-commons").Response<{
6847
+ [x: string]: unknown;
6848
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
6849
+ [x: string]: unknown;
6850
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
6851
+ [x: string]: unknown;
6852
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
6853
+ [x: string]: unknown;
6854
+ }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
6855
+ [x: string]: unknown;
6856
+ }, 503, "application/json">>>;
6857
+ /** Update the spam protection of a MailAddress. */
6858
+ updateMailAddressSpamProtection: (request: {
6667
6859
  data: {
6668
6860
  spamProtection: {
6669
6861
  active: boolean;
@@ -6672,7 +6864,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
6672
6864
  relocationMinSpamScore: number;
6673
6865
  };
6674
6866
  };
6675
- id: string;
6867
+ mailAddressId: string;
6676
6868
  headers?: {
6677
6869
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
6678
6870
  "x-access-token"?: string | undefined;
@@ -6688,7 +6880,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
6688
6880
  };
6689
6881
  } & {
6690
6882
  pathParameters: {
6691
- id: string;
6883
+ mailAddressId: string;
6692
6884
  };
6693
6885
  } & {
6694
6886
  headers?: Partial<{
@@ -6700,79 +6892,50 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
6700
6892
  } & Partial<{
6701
6893
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6702
6894
  }>;
6703
- }, import("@mittwald/api-client-commons").Response<{}, 200, "empty"> | import("@mittwald/api-client-commons").Response<{}, 403, "empty"> | import("@mittwald/api-client-commons").Response<{}, 404, "empty"> | import("@mittwald/api-client-commons").Response<{}, 500, "empty"> | import("@mittwald/api-client-commons").Response<{}, 503, "empty">>>;
6704
- /** Get settings for a given project ID */
6705
- projectsettingGetSpecific: (request: {
6706
- projectId: string;
6707
- headers?: {
6708
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
6709
- "x-access-token"?: string | undefined;
6710
- } | undefined;
6711
- }) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
6712
- headers?: Partial<{
6713
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6714
- }> | undefined;
6715
- } & {
6716
- pathParameters: {
6717
- projectId: string;
6718
- };
6719
- } & {
6720
- headers: {
6721
- "x-access-token"?: string | undefined;
6722
- } & Partial<{
6723
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6724
- }>;
6725
- }, import("@mittwald/api-client-commons").Response<{}, 403, "empty"> | import("@mittwald/api-client-commons").Response<{}, 404, "empty"> | import("@mittwald/api-client-commons").Response<{}, 500, "empty"> | import("@mittwald/api-client-commons").Response<{}, 503, "empty"> | import("@mittwald/api-client-commons").Response<{
6726
- blacklist: string[];
6727
- projectId: string;
6728
- whitelist: string[];
6729
- }, 200, "application/json">>>;
6730
- /** Update blacklist for a given project ID */
6731
- projectsettingUpdateBlacklist: (request: {
6895
+ }, import("@mittwald/api-client-commons").Response<{}, 200, "empty"> | import("@mittwald/api-client-commons").Response<{
6896
+ [x: string]: unknown;
6897
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
6898
+ [x: string]: unknown;
6899
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
6900
+ [x: string]: unknown;
6901
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
6902
+ [x: string]: unknown;
6903
+ }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
6904
+ [x: string]: unknown;
6905
+ }, 503, "application/json">>>;
6906
+ /** Update a mail setting of a Project. */
6907
+ updateProjectMailSetting: (request: {
6732
6908
  data: {
6733
6909
  blacklist: string[];
6734
6910
  };
6735
6911
  projectId: string;
6912
+ setting: "blacklist" | "whitelist";
6736
6913
  headers?: {
6737
6914
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
6738
6915
  "x-access-token"?: string | undefined;
6739
6916
  } | undefined;
6740
- }) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
6741
- data: {
6742
- blacklist: string[];
6743
- };
6744
- } & {
6745
- pathParameters: {
6746
- projectId: string;
6747
- };
6748
- } & {
6749
- headers?: Partial<{
6750
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6751
- }> | undefined;
6752
- } & {
6753
- headers: {
6754
- "x-access-token"?: string | undefined;
6755
- } & Partial<{
6756
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6757
- }>;
6758
- }, import("@mittwald/api-client-commons").Response<{}, 200, "empty"> | import("@mittwald/api-client-commons").Response<{}, 403, "empty"> | import("@mittwald/api-client-commons").Response<{}, 404, "empty"> | import("@mittwald/api-client-commons").Response<{}, 500, "empty"> | import("@mittwald/api-client-commons").Response<{}, 503, "empty">>>;
6759
- /** Update whitelist for a given project ID */
6760
- projectsettingUpdateWhitelist: (request: {
6917
+ } | {
6761
6918
  data: {
6762
6919
  whitelist: string[];
6763
6920
  };
6764
6921
  projectId: string;
6922
+ setting: "blacklist" | "whitelist";
6765
6923
  headers?: {
6766
6924
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
6767
6925
  "x-access-token"?: string | undefined;
6768
6926
  } | undefined;
6769
- }) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
6927
+ }) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<({
6928
+ data: {
6929
+ blacklist: string[];
6930
+ };
6931
+ } | {
6770
6932
  data: {
6771
6933
  whitelist: string[];
6772
6934
  };
6773
- } & {
6935
+ }) & {
6774
6936
  pathParameters: {
6775
6937
  projectId: string;
6938
+ setting: "blacklist" | "whitelist";
6776
6939
  };
6777
6940
  } & {
6778
6941
  headers?: Partial<{
@@ -6784,7 +6947,17 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
6784
6947
  } & Partial<{
6785
6948
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6786
6949
  }>;
6787
- }, import("@mittwald/api-client-commons").Response<{}, 200, "empty"> | import("@mittwald/api-client-commons").Response<{}, 403, "empty"> | import("@mittwald/api-client-commons").Response<{}, 404, "empty"> | import("@mittwald/api-client-commons").Response<{}, 500, "empty"> | import("@mittwald/api-client-commons").Response<{}, 503, "empty">>>;
6950
+ }, import("@mittwald/api-client-commons").Response<{}, 200, "empty"> | import("@mittwald/api-client-commons").Response<{
6951
+ [x: string]: unknown;
6952
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
6953
+ [x: string]: unknown;
6954
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
6955
+ [x: string]: unknown;
6956
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
6957
+ [x: string]: unknown;
6958
+ }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
6959
+ [x: string]: unknown;
6960
+ }, 503, "application/json">>>;
6788
6961
  };
6789
6962
  /** The project API allows you to manage your projects, and also any kinds of user memberships concerning these projects. */
6790
6963
  readonly project: {