@mittwald/api-client 3.1.19 → 3.1.21

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,6 +84,8 @@ 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. */
@@ -184,14 +186,14 @@ const buildFileApi = (baseClient) => ({
184
186
  getFile: new ApiCallAsyncResourceFactory(descriptors.fileGetFile, baseClient.file.getFile).getApiResource,
185
187
  });
186
188
  const buildMailApi = (baseClient) => ({
187
- /** Get a DeliveryBox. */
188
- getDeliveryBox: new ApiCallAsyncResourceFactory(descriptors.mailGetDeliveryBox, baseClient.mail.getDeliveryBox).getApiResource,
189
- /** Get a MailAddress. */
190
- getMailAddress: new ApiCallAsyncResourceFactory(descriptors.mailGetMailAddress, baseClient.mail.getMailAddress).getApiResource,
191
189
  /** List DeliveryBoxes belonging to a Project. */
192
190
  listDeliveryBoxes: new ApiCallAsyncResourceFactory(descriptors.mailListDeliveryBoxes, baseClient.mail.listDeliveryBoxes).getApiResource,
193
191
  /** List MailAddresses belonging to a Project. */
194
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,
195
197
  /** List mail settings of a Project. */
196
198
  listProjectMailSettings: new ApiCallAsyncResourceFactory(descriptors.mailListProjectMailSettings, baseClient.mail.listProjectMailSettings).getApiResource,
197
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: {
@@ -2195,14 +2195,27 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
2195
2195
  createConversation: (request?: {
2196
2196
  data?: {
2197
2197
  categoryId?: string | undefined;
2198
+ mainUserId?: string | undefined;
2198
2199
  relatedTo?: {
2199
2200
  aggregate: string;
2200
2201
  domain: string;
2201
2202
  id: string;
2202
2203
  } | undefined;
2203
2204
  sharedWith?: {
2204
- aggregate: string;
2205
- domain: string;
2205
+ aggregate: "user";
2206
+ domain: "user";
2207
+ id: string;
2208
+ } | {
2209
+ aggregate: "customer";
2210
+ domain: "customer";
2211
+ id: string;
2212
+ } | {
2213
+ aggregate: "project";
2214
+ domain: "project";
2215
+ id: string;
2216
+ } | {
2217
+ aggregate: "placementgroup";
2218
+ domain: "project";
2206
2219
  id: string;
2207
2220
  } | undefined;
2208
2221
  title?: string | undefined;
@@ -2213,8 +2226,9 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
2213
2226
  } | null | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
2214
2227
  data: {
2215
2228
  categoryId?: string | undefined;
2229
+ mainUserId?: string | undefined;
2216
2230
  relatedTo?: import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationAggregateReference | undefined;
2217
- sharedWith?: import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationAggregateReference | undefined;
2231
+ sharedWith?: import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationShareableAggregateReference | undefined;
2218
2232
  title?: string | undefined;
2219
2233
  };
2220
2234
  } & {
@@ -2301,6 +2315,29 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
2301
2315
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
2302
2316
  [x: string]: unknown;
2303
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">>>;
2304
2341
  /** Get a support conversation. */
2305
2342
  getConversation: (request: {
2306
2343
  conversationId: string;
@@ -2322,12 +2359,14 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
2322
2359
  createdBy?: import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationUser | undefined;
2323
2360
  lastMessageAt?: string | undefined;
2324
2361
  lastMessageBy?: import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationUser | undefined;
2362
+ mainUser: import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationUser;
2325
2363
  relatedTo?: import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationAggregateReference | undefined;
2326
2364
  relations?: import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationAggregateReference[] | undefined;
2327
2365
  sharedWith?: import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationAggregateReference | undefined;
2328
2366
  shortId: string;
2329
2367
  status: "open" | "answered" | "closed";
2330
2368
  title: string;
2369
+ visibility: "shared" | "private";
2331
2370
  }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
2332
2371
  [x: string]: unknown;
2333
2372
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
@@ -6066,9 +6105,9 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
6066
6105
  };
6067
6106
  /** The mail API allows you to manage your mail accounts. */
6068
6107
  readonly mail: {
6069
- /** Get a DeliveryBox. */
6070
- getDeliveryBox: (request: {
6071
- deliveryBoxId: string;
6108
+ /** List DeliveryBoxes belonging to a Project. */
6109
+ listDeliveryBoxes: (request: {
6110
+ projectId: string;
6072
6111
  headers?: {
6073
6112
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
6074
6113
  "x-access-token"?: string | undefined;
@@ -6079,7 +6118,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
6079
6118
  }> | undefined;
6080
6119
  } & {
6081
6120
  pathParameters: {
6082
- deliveryBoxId: string;
6121
+ projectId: string;
6083
6122
  };
6084
6123
  } & {
6085
6124
  headers: {
@@ -6087,16 +6126,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
6087
6126
  } & Partial<{
6088
6127
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6089
6128
  }>;
6090
- }, import("@mittwald/api-client-commons").Response<{
6091
- authenticationEnabled: boolean;
6092
- description: string;
6093
- id: string;
6094
- name: string;
6095
- passwordUpdatedAt: string;
6096
- projectId: string;
6097
- sendingEnabled: boolean;
6098
- updatedAt: string;
6099
- }, 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<{
6100
6130
  [x: string]: unknown;
6101
6131
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
6102
6132
  [x: string]: unknown;
@@ -6107,28 +6137,39 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
6107
6137
  }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
6108
6138
  [x: string]: unknown;
6109
6139
  }, 503, "application/json">>>;
6110
- /** Delete a DeliveryBox. */
6111
- deleteDeliveryBox: (request: {
6112
- deliveryBoxId: string;
6140
+ /** Create a DeliveryBox. */
6141
+ createDeliverybox: (request: {
6142
+ data: {
6143
+ description: string;
6144
+ password: string;
6145
+ };
6146
+ projectId: string;
6113
6147
  headers?: {
6114
6148
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
6115
6149
  "x-access-token"?: string | undefined;
6116
6150
  } | undefined;
6117
6151
  }) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
6118
- headers?: Partial<{
6119
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6120
- }> | undefined;
6152
+ data: {
6153
+ description: string;
6154
+ password: string;
6155
+ };
6121
6156
  } & {
6122
6157
  pathParameters: {
6123
- deliveryBoxId: string;
6158
+ projectId: string;
6124
6159
  };
6160
+ } & {
6161
+ headers?: Partial<{
6162
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6163
+ }> | undefined;
6125
6164
  } & {
6126
6165
  headers: {
6127
6166
  "x-access-token"?: string | undefined;
6128
6167
  } & Partial<{
6129
6168
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6130
6169
  }>;
6131
- }, 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<{
6132
6173
  [x: string]: unknown;
6133
6174
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
6134
6175
  [x: string]: unknown;
@@ -6139,9 +6180,9 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
6139
6180
  }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
6140
6181
  [x: string]: unknown;
6141
6182
  }, 503, "application/json">>>;
6142
- /** Get a MailAddress. */
6143
- getMailAddress: (request: {
6144
- mailAddressId: string;
6183
+ /** List MailAddresses belonging to a Project. */
6184
+ listMailAddresses: (request: {
6185
+ projectId: string;
6145
6186
  headers?: {
6146
6187
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
6147
6188
  "x-access-token"?: string | undefined;
@@ -6152,7 +6193,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
6152
6193
  }> | undefined;
6153
6194
  } & {
6154
6195
  pathParameters: {
6155
- mailAddressId: string;
6196
+ projectId: string;
6156
6197
  };
6157
6198
  } & {
6158
6199
  headers: {
@@ -6160,39 +6201,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
6160
6201
  } & Partial<{
6161
6202
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6162
6203
  }>;
6163
- }, import("@mittwald/api-client-commons").Response<{
6164
- address: string;
6165
- autoResponder: {
6166
- active: boolean;
6167
- expiresAt?: string | undefined;
6168
- message: string;
6169
- startsAt?: string | undefined;
6170
- };
6171
- forwardAddresses: string[];
6172
- id: string;
6173
- isArchived: boolean;
6174
- isCatchAll: boolean;
6175
- mailbox?: {
6176
- passwordUpdatedAt: string;
6177
- sendingEnabled: boolean;
6178
- spamProtection: {
6179
- active: boolean;
6180
- autoDeleteSpam: boolean;
6181
- folder: "spam" | "inbox";
6182
- relocationMinSpamScore: number;
6183
- };
6184
- storageInBytes: {
6185
- current: {
6186
- updatedAt: string;
6187
- value: number;
6188
- };
6189
- limit: number;
6190
- };
6191
- } | undefined;
6192
- projectId: string;
6193
- receivingDisabled: boolean;
6194
- updatedAt: string;
6195
- }, 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<{
6196
6205
  [x: string]: unknown;
6197
6206
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
6198
6207
  [x: string]: unknown;
@@ -6203,28 +6212,64 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
6203
6212
  }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
6204
6213
  [x: string]: unknown;
6205
6214
  }, 503, "application/json">>>;
6206
- /** Delete a MailAddress. */
6207
- deleteMailAddress: (request: {
6208
- mailAddressId: string;
6215
+ /** Create a MailAddress. */
6216
+ createMailAddress: (request: {
6217
+ data: {
6218
+ address: string;
6219
+ forwardAddresses: string[];
6220
+ };
6221
+ projectId: string;
6209
6222
  headers?: {
6210
6223
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
6211
6224
  "x-access-token"?: string | undefined;
6212
6225
  } | undefined;
6213
- }) => 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
+ } & {
6214
6261
  headers?: Partial<{
6215
6262
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6216
6263
  }> | undefined;
6217
- } & {
6218
- pathParameters: {
6219
- mailAddressId: string;
6220
- };
6221
6264
  } & {
6222
6265
  headers: {
6223
6266
  "x-access-token"?: string | undefined;
6224
6267
  } & Partial<{
6225
6268
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6226
6269
  }>;
6227
- }, 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<{
6228
6273
  [x: string]: unknown;
6229
6274
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
6230
6275
  [x: string]: unknown;
@@ -6235,9 +6280,9 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
6235
6280
  }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
6236
6281
  [x: string]: unknown;
6237
6282
  }, 503, "application/json">>>;
6238
- /** List DeliveryBoxes belonging to a Project. */
6239
- listDeliveryBoxes: (request: {
6240
- projectId: string;
6283
+ /** Get a DeliveryBox. */
6284
+ getDeliveryBox: (request: {
6285
+ deliveryBoxId: string;
6241
6286
  headers?: {
6242
6287
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
6243
6288
  "x-access-token"?: string | undefined;
@@ -6248,7 +6293,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
6248
6293
  }> | undefined;
6249
6294
  } & {
6250
6295
  pathParameters: {
6251
- projectId: string;
6296
+ deliveryBoxId: string;
6252
6297
  };
6253
6298
  } & {
6254
6299
  headers: {
@@ -6256,7 +6301,16 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
6256
6301
  } & Partial<{
6257
6302
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6258
6303
  }>;
6259
- }, 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<{
6260
6314
  [x: string]: unknown;
6261
6315
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
6262
6316
  [x: string]: unknown;
@@ -6267,39 +6321,28 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
6267
6321
  }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
6268
6322
  [x: string]: unknown;
6269
6323
  }, 503, "application/json">>>;
6270
- /** Create a DeliveryBox. */
6271
- createDeliverybox: (request: {
6272
- data: {
6273
- description: string;
6274
- password: string;
6275
- };
6276
- projectId: string;
6324
+ /** Delete a DeliveryBox. */
6325
+ deleteDeliveryBox: (request: {
6326
+ deliveryBoxId: string;
6277
6327
  headers?: {
6278
6328
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
6279
6329
  "x-access-token"?: string | undefined;
6280
6330
  } | undefined;
6281
6331
  }) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
6282
- data: {
6283
- description: string;
6284
- password: string;
6285
- };
6286
- } & {
6287
- pathParameters: {
6288
- projectId: string;
6289
- };
6290
- } & {
6291
6332
  headers?: Partial<{
6292
6333
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6293
6334
  }> | undefined;
6335
+ } & {
6336
+ pathParameters: {
6337
+ deliveryBoxId: string;
6338
+ };
6294
6339
  } & {
6295
6340
  headers: {
6296
6341
  "x-access-token"?: string | undefined;
6297
6342
  } & Partial<{
6298
6343
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6299
6344
  }>;
6300
- }, import("@mittwald/api-client-commons").Response<{
6301
- id: string;
6302
- }, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
6345
+ }, import("@mittwald/api-client-commons").Response<{}, 200, "empty"> | import("@mittwald/api-client-commons").Response<{
6303
6346
  [x: string]: unknown;
6304
6347
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
6305
6348
  [x: string]: unknown;
@@ -6310,9 +6353,9 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
6310
6353
  }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
6311
6354
  [x: string]: unknown;
6312
6355
  }, 503, "application/json">>>;
6313
- /** List MailAddresses belonging to a Project. */
6314
- listMailAddresses: (request: {
6315
- projectId: string;
6356
+ /** Get a MailAddress. */
6357
+ getMailAddress: (request: {
6358
+ mailAddressId: string;
6316
6359
  headers?: {
6317
6360
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
6318
6361
  "x-access-token"?: string | undefined;
@@ -6323,7 +6366,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
6323
6366
  }> | undefined;
6324
6367
  } & {
6325
6368
  pathParameters: {
6326
- projectId: string;
6369
+ mailAddressId: string;
6327
6370
  };
6328
6371
  } & {
6329
6372
  headers: {
@@ -6331,7 +6374,39 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
6331
6374
  } & Partial<{
6332
6375
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6333
6376
  }>;
6334
- }, 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<{
6335
6410
  [x: string]: unknown;
6336
6411
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
6337
6412
  [x: string]: unknown;
@@ -6342,64 +6417,28 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
6342
6417
  }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
6343
6418
  [x: string]: unknown;
6344
6419
  }, 503, "application/json">>>;
6345
- /** Create a MailAddress. */
6346
- createMailAddress: (request: {
6347
- data: {
6348
- address: string;
6349
- forwardAddresses: string[];
6350
- };
6351
- projectId: string;
6352
- headers?: {
6353
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
6354
- "x-access-token"?: string | undefined;
6355
- } | undefined;
6356
- } | {
6357
- data: {
6358
- address: string;
6359
- isCatchAll: boolean;
6360
- mailbox: {
6361
- enableSpamProtection: boolean;
6362
- password: string;
6363
- quotaInBytes: number;
6364
- };
6365
- };
6366
- projectId: string;
6420
+ /** Delete a MailAddress. */
6421
+ deleteMailAddress: (request: {
6422
+ mailAddressId: string;
6367
6423
  headers?: {
6368
6424
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
6369
6425
  "x-access-token"?: string | undefined;
6370
6426
  } | undefined;
6371
- }) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<({
6372
- data: {
6373
- address: string;
6374
- forwardAddresses: string[];
6375
- };
6376
- } | {
6377
- data: {
6378
- address: string;
6379
- isCatchAll: boolean;
6380
- mailbox: {
6381
- enableSpamProtection: boolean;
6382
- password: string;
6383
- quotaInBytes: number;
6384
- };
6385
- };
6386
- }) & {
6387
- pathParameters: {
6388
- projectId: string;
6389
- };
6390
- } & {
6427
+ }) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
6391
6428
  headers?: Partial<{
6392
6429
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6393
6430
  }> | undefined;
6431
+ } & {
6432
+ pathParameters: {
6433
+ mailAddressId: string;
6434
+ };
6394
6435
  } & {
6395
6436
  headers: {
6396
6437
  "x-access-token"?: string | undefined;
6397
6438
  } & Partial<{
6398
6439
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6399
6440
  }>;
6400
- }, import("@mittwald/api-client-commons").Response<{
6401
- id: string;
6402
- }, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
6441
+ }, import("@mittwald/api-client-commons").Response<{}, 200, "empty"> | import("@mittwald/api-client-commons").Response<{
6403
6442
  [x: string]: unknown;
6404
6443
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
6405
6444
  [x: string]: unknown;