@mittwald/api-client 3.1.20 → 3.1.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.
@@ -66,6 +66,8 @@ const buildContractApi = (baseClient) => ({
66
66
  invoiceDetailOfInvoice: new ApiCallAsyncResourceFactory(descriptors.invoiceDetailOfInvoice, baseClient.contract.invoiceDetailOfInvoice).getApiResource,
67
67
  /** Get InvoiceSettings of a Customer. */
68
68
  invoiceGetDetailOfInvoiceSettings: new ApiCallAsyncResourceFactory(descriptors.invoiceGetDetailOfInvoiceSettings, baseClient.contract.invoiceGetDetailOfInvoiceSettings).getApiResource,
69
+ /** Request an Access Token for the Invoice file. */
70
+ invoiceGetFileAccessToken: new ApiCallAsyncResourceFactory(descriptors.invoiceGetFileAccessToken, baseClient.contract.invoiceGetFileAccessToken).getApiResource,
69
71
  /** List Invoices of a Customer. */
70
72
  invoiceListCustomerInvoices: new ApiCallAsyncResourceFactory(descriptors.invoiceListCustomerInvoices, baseClient.contract.invoiceListCustomerInvoices).getApiResource,
71
73
  /** Get Order for Customer. */
@@ -74,8 +76,6 @@ const buildContractApi = (baseClient) => ({
74
76
  orderListCustomerOrders: new ApiCallAsyncResourceFactory(descriptors.orderListCustomerOrders, baseClient.contract.orderListCustomerOrders).getApiResource,
75
77
  /** Get list of Orders of a Project. */
76
78
  orderListProjectOrders: new ApiCallAsyncResourceFactory(descriptors.orderListProjectOrders, baseClient.contract.orderListProjectOrders).getApiResource,
77
- /** Request an Access Token for the Invoice file. */
78
- invoiceGetFileAccessToken: new ApiCallAsyncResourceFactory(descriptors.invoiceGetFileAccessToken, baseClient.contract.invoiceGetFileAccessToken).getApiResource,
79
79
  });
80
80
  const buildConversationApi = (baseClient) => ({
81
81
  /** Get all conversation the authenticated user has created or has access to. */
@@ -84,14 +84,14 @@ const buildConversationApi = (baseClient) => ({
84
84
  listMessagesByConversation: new ApiCallAsyncResourceFactory(descriptors.conversationListMessagesByConversation, baseClient.conversation.listMessagesByConversation).getApiResource,
85
85
  /** Get a specific conversation category. */
86
86
  getCategory: new ApiCallAsyncResourceFactory(descriptors.conversationGetCategory, baseClient.conversation.getCategory).getApiResource,
87
+ /** Get members of a support conversation. */
88
+ getConversationMembers: new ApiCallAsyncResourceFactory(descriptors.conversationGetConversationMembers, baseClient.conversation.getConversationMembers).getApiResource,
87
89
  /** Get a support conversation. */
88
90
  getConversation: new ApiCallAsyncResourceFactory(descriptors.conversationGetConversation, baseClient.conversation.getConversation).getApiResource,
89
91
  /** Request an access token for the File belonging to the Conversation. */
90
92
  getFileAccessToken: new ApiCallAsyncResourceFactory(descriptors.conversationGetFileAccessToken, baseClient.conversation.getFileAccessToken).getApiResource,
91
93
  /** Get all conversation categories. */
92
94
  listCategories: new ApiCallAsyncResourceFactory(descriptors.conversationListCategories, baseClient.conversation.listCategories).getApiResource,
93
- /** Get members of a support conversation. */
94
- getConversationMembers: new ApiCallAsyncResourceFactory(descriptors.conversationGetConversationMembers, baseClient.conversation.getConversationMembers).getApiResource,
95
95
  });
96
96
  const buildCronjobApi = (baseClient) => ({
97
97
  /** List Cronjobs belonging to a Project. */
@@ -186,14 +186,14 @@ const buildFileApi = (baseClient) => ({
186
186
  getFile: new ApiCallAsyncResourceFactory(descriptors.fileGetFile, baseClient.file.getFile).getApiResource,
187
187
  });
188
188
  const buildMailApi = (baseClient) => ({
189
- /** Get a DeliveryBox. */
190
- getDeliveryBox: new ApiCallAsyncResourceFactory(descriptors.mailGetDeliveryBox, baseClient.mail.getDeliveryBox).getApiResource,
191
- /** Get a MailAddress. */
192
- getMailAddress: new ApiCallAsyncResourceFactory(descriptors.mailGetMailAddress, baseClient.mail.getMailAddress).getApiResource,
193
189
  /** List DeliveryBoxes belonging to a Project. */
194
190
  listDeliveryBoxes: new ApiCallAsyncResourceFactory(descriptors.mailListDeliveryBoxes, baseClient.mail.listDeliveryBoxes).getApiResource,
195
191
  /** List MailAddresses belonging to a Project. */
196
192
  listMailAddresses: new ApiCallAsyncResourceFactory(descriptors.mailListMailAddresses, baseClient.mail.listMailAddresses).getApiResource,
193
+ /** Get a DeliveryBox. */
194
+ getDeliveryBox: new ApiCallAsyncResourceFactory(descriptors.mailGetDeliveryBox, baseClient.mail.getDeliveryBox).getApiResource,
195
+ /** Get a MailAddress. */
196
+ getMailAddress: new ApiCallAsyncResourceFactory(descriptors.mailGetMailAddress, baseClient.mail.getMailAddress).getApiResource,
197
197
  /** List mail settings of a Project. */
198
198
  listProjectMailSettings: new ApiCallAsyncResourceFactory(descriptors.mailListProjectMailSettings, baseClient.mail.listProjectMailSettings).getApiResource,
199
199
  });
@@ -1802,6 +1802,37 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
1802
1802
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
1803
1803
  [x: string]: unknown;
1804
1804
  }, 404, "application/json">>>;
1805
+ /** Request an Access Token for the Invoice file. */
1806
+ invoiceGetFileAccessToken: (request: {
1807
+ customerId: string;
1808
+ invoiceId: string;
1809
+ headers?: {
1810
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1811
+ "x-access-token"?: string | undefined;
1812
+ } | undefined;
1813
+ }) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
1814
+ headers?: Partial<{
1815
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
1816
+ }> | undefined;
1817
+ } & {
1818
+ pathParameters: {
1819
+ customerId: string;
1820
+ invoiceId: string;
1821
+ };
1822
+ } & {
1823
+ headers: {
1824
+ "x-access-token"?: string | undefined;
1825
+ } & Partial<{
1826
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
1827
+ }>;
1828
+ }, import("@mittwald/api-client-commons").Response<{
1829
+ accessToken: string;
1830
+ expiresAt: string;
1831
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
1832
+ [x: string]: unknown;
1833
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
1834
+ [x: string]: unknown;
1835
+ }, 404, "application/json">>>;
1805
1836
  /** List Invoices of a Customer. */
1806
1837
  invoiceListCustomerInvoices: (request: {
1807
1838
  customerId: string;
@@ -2147,37 +2178,6 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
2147
2178
  }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
2148
2179
  [x: string]: unknown;
2149
2180
  }, 400, "application/json">>>;
2150
- /** Request an Access Token for the Invoice file. */
2151
- invoiceGetFileAccessToken: (request: {
2152
- customerId: string;
2153
- invoiceId: string;
2154
- headers?: {
2155
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2156
- "x-access-token"?: string | undefined;
2157
- } | undefined;
2158
- }) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
2159
- headers?: Partial<{
2160
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
2161
- }> | undefined;
2162
- } & {
2163
- pathParameters: {
2164
- customerId: string;
2165
- invoiceId: string;
2166
- };
2167
- } & {
2168
- headers: {
2169
- "x-access-token"?: string | undefined;
2170
- } & Partial<{
2171
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
2172
- }>;
2173
- }, import("@mittwald/api-client-commons").Response<{
2174
- accessToken: string;
2175
- expiresAt: string;
2176
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
2177
- [x: string]: unknown;
2178
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
2179
- [x: string]: unknown;
2180
- }, 404, "application/json">>>;
2181
2181
  };
2182
2182
  /** The conversation API allows you to manage your support conversations. */
2183
2183
  readonly conversation: {
@@ -2315,6 +2315,29 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
2315
2315
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
2316
2316
  [x: string]: unknown;
2317
2317
  }, 404, "application/json">>>;
2318
+ /** Get members of a support conversation. */
2319
+ getConversationMembers: (request: {
2320
+ conversationId: string;
2321
+ headers?: {
2322
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2323
+ } | undefined;
2324
+ }) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
2325
+ headers?: Partial<{
2326
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
2327
+ }> | undefined;
2328
+ } & {
2329
+ pathParameters: {
2330
+ conversationId: string;
2331
+ };
2332
+ }, import("@mittwald/api-client-commons").Response<(import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationUser & {
2333
+ active: boolean;
2334
+ })[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
2335
+ [x: string]: unknown;
2336
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
2337
+ [x: string]: unknown;
2338
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
2339
+ [x: string]: unknown;
2340
+ }, 404, "application/json">>>;
2318
2341
  /** Get a support conversation. */
2319
2342
  getConversation: (request: {
2320
2343
  conversationId: string;
@@ -2521,29 +2544,6 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
2521
2544
  }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
2522
2545
  [x: string]: unknown;
2523
2546
  }, 404, "application/json">>>;
2524
- /** Get members of a support conversation. */
2525
- getConversationMembers: (request: {
2526
- conversationId: string;
2527
- headers?: {
2528
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2529
- } | undefined;
2530
- }) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
2531
- headers?: Partial<{
2532
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
2533
- }> | undefined;
2534
- } & {
2535
- pathParameters: {
2536
- conversationId: string;
2537
- };
2538
- }, import("@mittwald/api-client-commons").Response<(import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationUser & {
2539
- active: boolean;
2540
- })[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
2541
- [x: string]: unknown;
2542
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
2543
- [x: string]: unknown;
2544
- }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
2545
- [x: string]: unknown;
2546
- }, 404, "application/json">>>;
2547
2547
  };
2548
2548
  /** The cronjob API allows you to manage cronjobs within a project. */
2549
2549
  readonly cronjob: {
@@ -6105,9 +6105,9 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
6105
6105
  };
6106
6106
  /** The mail API allows you to manage your mail accounts. */
6107
6107
  readonly mail: {
6108
- /** Get a DeliveryBox. */
6109
- getDeliveryBox: (request: {
6110
- deliveryBoxId: string;
6108
+ /** List DeliveryBoxes belonging to a Project. */
6109
+ listDeliveryBoxes: (request: {
6110
+ projectId: string;
6111
6111
  headers?: {
6112
6112
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
6113
6113
  "x-access-token"?: string | undefined;
@@ -6118,7 +6118,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
6118
6118
  }> | undefined;
6119
6119
  } & {
6120
6120
  pathParameters: {
6121
- deliveryBoxId: string;
6121
+ projectId: string;
6122
6122
  };
6123
6123
  } & {
6124
6124
  headers: {
@@ -6126,16 +6126,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
6126
6126
  } & Partial<{
6127
6127
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6128
6128
  }>;
6129
- }, import("@mittwald/api-client-commons").Response<{
6130
- authenticationEnabled: boolean;
6131
- description: string;
6132
- id: string;
6133
- name: string;
6134
- passwordUpdatedAt: string;
6135
- projectId: string;
6136
- sendingEnabled: boolean;
6137
- updatedAt: string;
6138
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
6129
+ }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.MailDeliverybox[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
6139
6130
  [x: string]: unknown;
6140
6131
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
6141
6132
  [x: string]: unknown;
@@ -6146,28 +6137,39 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
6146
6137
  }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
6147
6138
  [x: string]: unknown;
6148
6139
  }, 503, "application/json">>>;
6149
- /** Delete a DeliveryBox. */
6150
- deleteDeliveryBox: (request: {
6151
- deliveryBoxId: string;
6140
+ /** Create a DeliveryBox. */
6141
+ createDeliverybox: (request: {
6142
+ data: {
6143
+ description: string;
6144
+ password: string;
6145
+ };
6146
+ projectId: string;
6152
6147
  headers?: {
6153
6148
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
6154
6149
  "x-access-token"?: string | undefined;
6155
6150
  } | undefined;
6156
6151
  }) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
6157
- headers?: Partial<{
6158
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6159
- }> | undefined;
6152
+ data: {
6153
+ description: string;
6154
+ password: string;
6155
+ };
6160
6156
  } & {
6161
6157
  pathParameters: {
6162
- deliveryBoxId: string;
6158
+ projectId: string;
6163
6159
  };
6160
+ } & {
6161
+ headers?: Partial<{
6162
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6163
+ }> | undefined;
6164
6164
  } & {
6165
6165
  headers: {
6166
6166
  "x-access-token"?: string | undefined;
6167
6167
  } & Partial<{
6168
6168
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6169
6169
  }>;
6170
- }, import("@mittwald/api-client-commons").Response<{}, 200, "empty"> | import("@mittwald/api-client-commons").Response<{
6170
+ }, import("@mittwald/api-client-commons").Response<{
6171
+ id: string;
6172
+ }, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
6171
6173
  [x: string]: unknown;
6172
6174
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
6173
6175
  [x: string]: unknown;
@@ -6178,9 +6180,9 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
6178
6180
  }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
6179
6181
  [x: string]: unknown;
6180
6182
  }, 503, "application/json">>>;
6181
- /** Get a MailAddress. */
6182
- getMailAddress: (request: {
6183
- mailAddressId: string;
6183
+ /** List MailAddresses belonging to a Project. */
6184
+ listMailAddresses: (request: {
6185
+ projectId: string;
6184
6186
  headers?: {
6185
6187
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
6186
6188
  "x-access-token"?: string | undefined;
@@ -6191,7 +6193,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
6191
6193
  }> | undefined;
6192
6194
  } & {
6193
6195
  pathParameters: {
6194
- mailAddressId: string;
6196
+ projectId: string;
6195
6197
  };
6196
6198
  } & {
6197
6199
  headers: {
@@ -6199,39 +6201,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
6199
6201
  } & Partial<{
6200
6202
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6201
6203
  }>;
6202
- }, import("@mittwald/api-client-commons").Response<{
6203
- address: string;
6204
- autoResponder: {
6205
- active: boolean;
6206
- expiresAt?: string | undefined;
6207
- message: string;
6208
- startsAt?: string | undefined;
6209
- };
6210
- forwardAddresses: string[];
6211
- id: string;
6212
- isArchived: boolean;
6213
- isCatchAll: boolean;
6214
- mailbox?: {
6215
- passwordUpdatedAt: string;
6216
- sendingEnabled: boolean;
6217
- spamProtection: {
6218
- active: boolean;
6219
- autoDeleteSpam: boolean;
6220
- folder: "spam" | "inbox";
6221
- relocationMinSpamScore: number;
6222
- };
6223
- storageInBytes: {
6224
- current: {
6225
- updatedAt: string;
6226
- value: number;
6227
- };
6228
- limit: number;
6229
- };
6230
- } | undefined;
6231
- projectId: string;
6232
- receivingDisabled: boolean;
6233
- updatedAt: string;
6234
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
6204
+ }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.MailMailAddress[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
6235
6205
  [x: string]: unknown;
6236
6206
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
6237
6207
  [x: string]: unknown;
@@ -6242,28 +6212,64 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
6242
6212
  }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
6243
6213
  [x: string]: unknown;
6244
6214
  }, 503, "application/json">>>;
6245
- /** Delete a MailAddress. */
6246
- deleteMailAddress: (request: {
6247
- mailAddressId: string;
6215
+ /** Create a MailAddress. */
6216
+ createMailAddress: (request: {
6217
+ data: {
6218
+ address: string;
6219
+ forwardAddresses: string[];
6220
+ };
6221
+ projectId: string;
6248
6222
  headers?: {
6249
6223
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
6250
6224
  "x-access-token"?: string | undefined;
6251
6225
  } | undefined;
6252
- }) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
6226
+ } | {
6227
+ data: {
6228
+ address: string;
6229
+ isCatchAll: boolean;
6230
+ mailbox: {
6231
+ enableSpamProtection: boolean;
6232
+ password: string;
6233
+ quotaInBytes: number;
6234
+ };
6235
+ };
6236
+ projectId: string;
6237
+ headers?: {
6238
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
6239
+ "x-access-token"?: string | undefined;
6240
+ } | undefined;
6241
+ }) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<({
6242
+ data: {
6243
+ address: string;
6244
+ forwardAddresses: string[];
6245
+ };
6246
+ } | {
6247
+ data: {
6248
+ address: string;
6249
+ isCatchAll: boolean;
6250
+ mailbox: {
6251
+ enableSpamProtection: boolean;
6252
+ password: string;
6253
+ quotaInBytes: number;
6254
+ };
6255
+ };
6256
+ }) & {
6257
+ pathParameters: {
6258
+ projectId: string;
6259
+ };
6260
+ } & {
6253
6261
  headers?: Partial<{
6254
6262
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6255
6263
  }> | undefined;
6256
- } & {
6257
- pathParameters: {
6258
- mailAddressId: string;
6259
- };
6260
6264
  } & {
6261
6265
  headers: {
6262
6266
  "x-access-token"?: string | undefined;
6263
6267
  } & Partial<{
6264
6268
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6265
6269
  }>;
6266
- }, import("@mittwald/api-client-commons").Response<{}, 200, "empty"> | import("@mittwald/api-client-commons").Response<{
6270
+ }, import("@mittwald/api-client-commons").Response<{
6271
+ id: string;
6272
+ }, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
6267
6273
  [x: string]: unknown;
6268
6274
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
6269
6275
  [x: string]: unknown;
@@ -6274,9 +6280,9 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
6274
6280
  }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
6275
6281
  [x: string]: unknown;
6276
6282
  }, 503, "application/json">>>;
6277
- /** List DeliveryBoxes belonging to a Project. */
6278
- listDeliveryBoxes: (request: {
6279
- projectId: string;
6283
+ /** Get a DeliveryBox. */
6284
+ getDeliveryBox: (request: {
6285
+ deliveryBoxId: string;
6280
6286
  headers?: {
6281
6287
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
6282
6288
  "x-access-token"?: string | undefined;
@@ -6287,7 +6293,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
6287
6293
  }> | undefined;
6288
6294
  } & {
6289
6295
  pathParameters: {
6290
- projectId: string;
6296
+ deliveryBoxId: string;
6291
6297
  };
6292
6298
  } & {
6293
6299
  headers: {
@@ -6295,7 +6301,16 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
6295
6301
  } & Partial<{
6296
6302
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6297
6303
  }>;
6298
- }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.MailDeliverybox[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
6304
+ }, import("@mittwald/api-client-commons").Response<{
6305
+ authenticationEnabled: boolean;
6306
+ description: string;
6307
+ id: string;
6308
+ name: string;
6309
+ passwordUpdatedAt: string;
6310
+ projectId: string;
6311
+ sendingEnabled: boolean;
6312
+ updatedAt: string;
6313
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
6299
6314
  [x: string]: unknown;
6300
6315
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
6301
6316
  [x: string]: unknown;
@@ -6306,39 +6321,28 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
6306
6321
  }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
6307
6322
  [x: string]: unknown;
6308
6323
  }, 503, "application/json">>>;
6309
- /** Create a DeliveryBox. */
6310
- createDeliverybox: (request: {
6311
- data: {
6312
- description: string;
6313
- password: string;
6314
- };
6315
- projectId: string;
6324
+ /** Delete a DeliveryBox. */
6325
+ deleteDeliveryBox: (request: {
6326
+ deliveryBoxId: string;
6316
6327
  headers?: {
6317
6328
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
6318
6329
  "x-access-token"?: string | undefined;
6319
6330
  } | undefined;
6320
6331
  }) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
6321
- data: {
6322
- description: string;
6323
- password: string;
6324
- };
6325
- } & {
6326
- pathParameters: {
6327
- projectId: string;
6328
- };
6329
- } & {
6330
6332
  headers?: Partial<{
6331
6333
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6332
6334
  }> | undefined;
6335
+ } & {
6336
+ pathParameters: {
6337
+ deliveryBoxId: string;
6338
+ };
6333
6339
  } & {
6334
6340
  headers: {
6335
6341
  "x-access-token"?: string | undefined;
6336
6342
  } & Partial<{
6337
6343
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6338
6344
  }>;
6339
- }, import("@mittwald/api-client-commons").Response<{
6340
- id: string;
6341
- }, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
6345
+ }, import("@mittwald/api-client-commons").Response<{}, 200, "empty"> | import("@mittwald/api-client-commons").Response<{
6342
6346
  [x: string]: unknown;
6343
6347
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
6344
6348
  [x: string]: unknown;
@@ -6349,9 +6353,9 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
6349
6353
  }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
6350
6354
  [x: string]: unknown;
6351
6355
  }, 503, "application/json">>>;
6352
- /** List MailAddresses belonging to a Project. */
6353
- listMailAddresses: (request: {
6354
- projectId: string;
6356
+ /** Get a MailAddress. */
6357
+ getMailAddress: (request: {
6358
+ mailAddressId: string;
6355
6359
  headers?: {
6356
6360
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
6357
6361
  "x-access-token"?: string | undefined;
@@ -6362,7 +6366,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
6362
6366
  }> | undefined;
6363
6367
  } & {
6364
6368
  pathParameters: {
6365
- projectId: string;
6369
+ mailAddressId: string;
6366
6370
  };
6367
6371
  } & {
6368
6372
  headers: {
@@ -6370,7 +6374,39 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
6370
6374
  } & Partial<{
6371
6375
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6372
6376
  }>;
6373
- }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.MailMailAddress[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
6377
+ }, import("@mittwald/api-client-commons").Response<{
6378
+ address: string;
6379
+ autoResponder: {
6380
+ active: boolean;
6381
+ expiresAt?: string | undefined;
6382
+ message: string;
6383
+ startsAt?: string | undefined;
6384
+ };
6385
+ forwardAddresses: string[];
6386
+ id: string;
6387
+ isArchived: boolean;
6388
+ isCatchAll: boolean;
6389
+ mailbox?: {
6390
+ passwordUpdatedAt: string;
6391
+ sendingEnabled: boolean;
6392
+ spamProtection: {
6393
+ active: boolean;
6394
+ autoDeleteSpam: boolean;
6395
+ folder: "spam" | "inbox";
6396
+ relocationMinSpamScore: number;
6397
+ };
6398
+ storageInBytes: {
6399
+ current: {
6400
+ updatedAt: string;
6401
+ value: number;
6402
+ };
6403
+ limit: number;
6404
+ };
6405
+ } | undefined;
6406
+ projectId: string;
6407
+ receivingDisabled: boolean;
6408
+ updatedAt: string;
6409
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
6374
6410
  [x: string]: unknown;
6375
6411
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
6376
6412
  [x: string]: unknown;
@@ -6381,64 +6417,28 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
6381
6417
  }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
6382
6418
  [x: string]: unknown;
6383
6419
  }, 503, "application/json">>>;
6384
- /** Create a MailAddress. */
6385
- createMailAddress: (request: {
6386
- data: {
6387
- address: string;
6388
- forwardAddresses: string[];
6389
- };
6390
- projectId: string;
6391
- headers?: {
6392
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
6393
- "x-access-token"?: string | undefined;
6394
- } | undefined;
6395
- } | {
6396
- data: {
6397
- address: string;
6398
- isCatchAll: boolean;
6399
- mailbox: {
6400
- enableSpamProtection: boolean;
6401
- password: string;
6402
- quotaInBytes: number;
6403
- };
6404
- };
6405
- projectId: string;
6420
+ /** Delete a MailAddress. */
6421
+ deleteMailAddress: (request: {
6422
+ mailAddressId: string;
6406
6423
  headers?: {
6407
6424
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
6408
6425
  "x-access-token"?: string | undefined;
6409
6426
  } | undefined;
6410
- }) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<({
6411
- data: {
6412
- address: string;
6413
- forwardAddresses: string[];
6414
- };
6415
- } | {
6416
- data: {
6417
- address: string;
6418
- isCatchAll: boolean;
6419
- mailbox: {
6420
- enableSpamProtection: boolean;
6421
- password: string;
6422
- quotaInBytes: number;
6423
- };
6424
- };
6425
- }) & {
6426
- pathParameters: {
6427
- projectId: string;
6428
- };
6429
- } & {
6427
+ }) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
6430
6428
  headers?: Partial<{
6431
6429
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6432
6430
  }> | undefined;
6431
+ } & {
6432
+ pathParameters: {
6433
+ mailAddressId: string;
6434
+ };
6433
6435
  } & {
6434
6436
  headers: {
6435
6437
  "x-access-token"?: string | undefined;
6436
6438
  } & Partial<{
6437
6439
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6438
6440
  }>;
6439
- }, import("@mittwald/api-client-commons").Response<{
6440
- id: string;
6441
- }, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
6441
+ }, import("@mittwald/api-client-commons").Response<{}, 200, "empty"> | import("@mittwald/api-client-commons").Response<{
6442
6442
  [x: string]: unknown;
6443
6443
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
6444
6444
  [x: string]: unknown;