@mittwald/api-client 4.251.0 → 4.252.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -587,6 +587,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
587
587
  updateMailAddressQuota: this.requestFunctionFactory(descriptors.mailUpdateMailAddressQuota),
588
588
  /** Update the spam protection of a MailAddress. */
589
589
  updateMailAddressSpamProtection: this.requestFunctionFactory(descriptors.mailUpdateMailAddressSpamProtection),
590
+ /** Update a mail setting of a Project. */
591
+ updateProjectMailSetting: this.requestFunctionFactory(descriptors.mailUpdateProjectMailSetting),
590
592
  /** List DeliveryBoxes belonging to a Project. */
591
593
  listDeliveryBoxes: this.requestFunctionFactory(descriptors.mailListDeliveryBoxes),
592
594
  /** Create a DeliveryBox. */
@@ -619,8 +621,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
619
621
  updateMailAddressAddress: this.requestFunctionFactory(descriptors.mailUpdateMailAddressAddress),
620
622
  /** Update the catch-all of a MailAddress. */
621
623
  updateMailAddressCatchAll: this.requestFunctionFactory(descriptors.mailUpdateMailAddressCatchAll),
622
- /** Update a mail setting of a Project. */
623
- updateProjectMailSetting: this.requestFunctionFactory(descriptors.mailUpdateProjectMailSetting),
624
624
  };
625
625
  /** The notification API allows you to manage your notifications. */
626
626
  notification = {
@@ -1066,6 +1066,12 @@ export const mailUpdateMailAddressSpamProtection = {
1066
1066
  method: "PATCH",
1067
1067
  operationId: "mail-update-mail-address-spam-protection",
1068
1068
  };
1069
+ /** Update a mail setting of a Project. */
1070
+ export const mailUpdateProjectMailSetting = {
1071
+ path: "/v2/projects/{projectId}/mail-settings/{mailSetting}",
1072
+ method: "PATCH",
1073
+ operationId: "mail-update-project-mail-setting",
1074
+ };
1069
1075
  /** Subscribe a user to the mStudio newsletter. */
1070
1076
  export const newsletterSubscribeUser = {
1071
1077
  path: "/v2/newsletter-subscriptions",
@@ -1756,12 +1762,6 @@ export const mailUpdateMailAddressCatchAll = {
1756
1762
  method: "PATCH",
1757
1763
  operationId: "mail-update-mail-address-catch-all",
1758
1764
  };
1759
- /** Update a mail setting of a Project. */
1760
- export const mailUpdateProjectMailSetting = {
1761
- path: "/v2/projects/{projectId}/mail-settings/{mailSetting}",
1762
- method: "PATCH",
1763
- operationId: "mail-update-project-mail-setting",
1764
- };
1765
1765
  /** Get payment method details */
1766
1766
  export const marketplaceCustomerGetPaymentMethod = {
1767
1767
  path: "/v2/customers/{customerId}/payment-method",
@@ -1 +1 @@
1
- export const MittwaldAPIClientVersion = '4.250.0';
1
+ export const MittwaldAPIClientVersion = '4.251.1';
@@ -18154,6 +18154,98 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
18154
18154
  }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
18155
18155
  [x: string]: unknown;
18156
18156
  }, 503, "application/json">>>;
18157
+ /** Update a mail setting of a Project. */
18158
+ updateProjectMailSetting: (request: {
18159
+ data: {
18160
+ blacklist: string[];
18161
+ };
18162
+ projectId: string;
18163
+ mailSetting: "blacklist" | "whitelist";
18164
+ headers?: {
18165
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
18166
+ "x-access-token"?: string | undefined;
18167
+ } | undefined;
18168
+ } | {
18169
+ data: {
18170
+ whitelist: string[];
18171
+ };
18172
+ projectId: string;
18173
+ mailSetting: "blacklist" | "whitelist";
18174
+ headers?: {
18175
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
18176
+ "x-access-token"?: string | undefined;
18177
+ } | undefined;
18178
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<(({
18179
+ data: {
18180
+ blacklist: string[];
18181
+ };
18182
+ } | {
18183
+ data: {
18184
+ whitelist: string[];
18185
+ };
18186
+ }) & {
18187
+ pathParameters: {
18188
+ projectId: string;
18189
+ mailSetting: "blacklist" | "whitelist";
18190
+ };
18191
+ }) & {
18192
+ headers?: Partial<{
18193
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
18194
+ }>;
18195
+ } & {
18196
+ headers: {
18197
+ "x-access-token"?: string | undefined;
18198
+ } & Partial<{
18199
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
18200
+ }>;
18201
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
18202
+ [x: string]: unknown;
18203
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
18204
+ [x: string]: unknown;
18205
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
18206
+ [x: string]: unknown;
18207
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
18208
+ [x: string]: unknown;
18209
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
18210
+ [x: string]: unknown;
18211
+ }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
18212
+ [x: string]: unknown;
18213
+ }, 503, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<(({
18214
+ data: {
18215
+ blacklist: string[];
18216
+ };
18217
+ } | {
18218
+ data: {
18219
+ whitelist: string[];
18220
+ };
18221
+ }) & {
18222
+ pathParameters: {
18223
+ projectId: string;
18224
+ mailSetting: "blacklist" | "whitelist";
18225
+ };
18226
+ }) & {
18227
+ headers?: Partial<{
18228
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
18229
+ }>;
18230
+ } & {
18231
+ headers: {
18232
+ "x-access-token"?: string | undefined;
18233
+ } & Partial<{
18234
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
18235
+ }>;
18236
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
18237
+ [x: string]: unknown;
18238
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
18239
+ [x: string]: unknown;
18240
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
18241
+ [x: string]: unknown;
18242
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
18243
+ [x: string]: unknown;
18244
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
18245
+ [x: string]: unknown;
18246
+ }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
18247
+ [x: string]: unknown;
18248
+ }, 503, "application/json">>>;
18157
18249
  /** List DeliveryBoxes belonging to a Project. */
18158
18250
  listDeliveryBoxes: (request: {
18159
18251
  projectId: string;
@@ -19391,98 +19483,6 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
19391
19483
  }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
19392
19484
  [x: string]: unknown;
19393
19485
  }, 503, "application/json">>>;
19394
- /** Update a mail setting of a Project. */
19395
- updateProjectMailSetting: (request: {
19396
- data: {
19397
- blacklist: string[];
19398
- };
19399
- projectId: string;
19400
- mailSetting: "blacklist" | "whitelist";
19401
- headers?: {
19402
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
19403
- "x-access-token"?: string | undefined;
19404
- } | undefined;
19405
- } | {
19406
- data: {
19407
- whitelist: string[];
19408
- };
19409
- projectId: string;
19410
- mailSetting: "blacklist" | "whitelist";
19411
- headers?: {
19412
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
19413
- "x-access-token"?: string | undefined;
19414
- } | undefined;
19415
- }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<(({
19416
- data: {
19417
- blacklist: string[];
19418
- };
19419
- } | {
19420
- data: {
19421
- whitelist: string[];
19422
- };
19423
- }) & {
19424
- pathParameters: {
19425
- projectId: string;
19426
- mailSetting: "blacklist" | "whitelist";
19427
- };
19428
- }) & {
19429
- headers?: Partial<{
19430
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
19431
- }>;
19432
- } & {
19433
- headers: {
19434
- "x-access-token"?: string | undefined;
19435
- } & Partial<{
19436
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
19437
- }>;
19438
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
19439
- [x: string]: unknown;
19440
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
19441
- [x: string]: unknown;
19442
- }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
19443
- [x: string]: unknown;
19444
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
19445
- [x: string]: unknown;
19446
- }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
19447
- [x: string]: unknown;
19448
- }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
19449
- [x: string]: unknown;
19450
- }, 503, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<(({
19451
- data: {
19452
- blacklist: string[];
19453
- };
19454
- } | {
19455
- data: {
19456
- whitelist: string[];
19457
- };
19458
- }) & {
19459
- pathParameters: {
19460
- projectId: string;
19461
- mailSetting: "blacklist" | "whitelist";
19462
- };
19463
- }) & {
19464
- headers?: Partial<{
19465
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
19466
- }>;
19467
- } & {
19468
- headers: {
19469
- "x-access-token"?: string | undefined;
19470
- } & Partial<{
19471
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
19472
- }>;
19473
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
19474
- [x: string]: unknown;
19475
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
19476
- [x: string]: unknown;
19477
- }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
19478
- [x: string]: unknown;
19479
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
19480
- [x: string]: unknown;
19481
- }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
19482
- [x: string]: unknown;
19483
- }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
19484
- [x: string]: unknown;
19485
- }, 503, "application/json">>>;
19486
19486
  };
19487
19487
  /** The notification API allows you to manage your notifications. */
19488
19488
  readonly notification: {
@@ -359,6 +359,8 @@ export declare const mailUpdateMailAddressPassword: OpenAPIOperation<RequestType
359
359
  export declare const mailUpdateMailAddressQuota: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdQuota.Patch.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdQuota.Patch.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdQuota.Patch.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdQuota.Patch.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdQuota.Patch.Responses.$204.Content.Empty>, 204, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdQuota.Patch.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdQuota.Patch.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdQuota.Patch.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdQuota.Patch.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdQuota.Patch.Responses.$500.Content.ApplicationJson>, 500, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdQuota.Patch.Responses.$503.Content.ApplicationJson>, 503, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdQuota.Patch.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
360
360
  /** Update the spam protection of a MailAddress. */
361
361
  export declare const mailUpdateMailAddressSpamProtection: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdSpamProtection.Patch.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdSpamProtection.Patch.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdSpamProtection.Patch.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdSpamProtection.Patch.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdSpamProtection.Patch.Responses.$204.Content.Empty>, 204, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdSpamProtection.Patch.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdSpamProtection.Patch.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdSpamProtection.Patch.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdSpamProtection.Patch.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdSpamProtection.Patch.Responses.$500.Content.ApplicationJson>, 500, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdSpamProtection.Patch.Responses.$503.Content.ApplicationJson>, 503, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdSpamProtection.Patch.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
362
+ /** Update a mail setting of a Project. */
363
+ export declare const mailUpdateProjectMailSetting: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMailSettingsMailSetting.Patch.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMailSettingsMailSetting.Patch.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMailSettingsMailSetting.Patch.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMailSettingsMailSetting.Patch.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMailSettingsMailSetting.Patch.Responses.$204.Content.Empty>, 204, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMailSettingsMailSetting.Patch.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMailSettingsMailSetting.Patch.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMailSettingsMailSetting.Patch.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMailSettingsMailSetting.Patch.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMailSettingsMailSetting.Patch.Responses.$500.Content.ApplicationJson>, 500, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMailSettingsMailSetting.Patch.Responses.$503.Content.ApplicationJson>, 503, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMailSettingsMailSetting.Patch.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
362
364
  /** Subscribe a user to the mStudio newsletter. */
363
365
  export declare const newsletterSubscribeUser: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2NewsletterSubscriptions.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2NewsletterSubscriptions.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2NewsletterSubscriptions.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2NewsletterSubscriptions.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2NewsletterSubscriptions.Post.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2NewsletterSubscriptions.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2NewsletterSubscriptions.Post.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2NewsletterSubscriptions.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
364
366
  /** Update your account information. */
@@ -589,8 +591,6 @@ export declare const mailUpdateDeliveryBoxPassword: OpenAPIOperation<RequestType
589
591
  export declare const mailUpdateMailAddressAddress: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdAddress.Patch.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdAddress.Patch.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdAddress.Patch.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdAddress.Patch.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdAddress.Patch.Responses.$204.Content.Empty>, 204, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdAddress.Patch.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdAddress.Patch.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdAddress.Patch.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdAddress.Patch.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdAddress.Patch.Responses.$500.Content.ApplicationJson>, 500, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdAddress.Patch.Responses.$503.Content.ApplicationJson>, 503, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdAddress.Patch.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
590
592
  /** Update the catch-all of a MailAddress. */
591
593
  export declare const mailUpdateMailAddressCatchAll: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdCatchAll.Patch.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdCatchAll.Patch.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdCatchAll.Patch.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdCatchAll.Patch.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdCatchAll.Patch.Responses.$204.Content.Empty>, 204, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdCatchAll.Patch.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdCatchAll.Patch.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdCatchAll.Patch.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdCatchAll.Patch.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdCatchAll.Patch.Responses.$500.Content.ApplicationJson>, 500, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdCatchAll.Patch.Responses.$503.Content.ApplicationJson>, 503, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdCatchAll.Patch.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
592
- /** Update a mail setting of a Project. */
593
- export declare const mailUpdateProjectMailSetting: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMailSettingsMailSetting.Patch.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMailSettingsMailSetting.Patch.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMailSettingsMailSetting.Patch.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMailSettingsMailSetting.Patch.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMailSettingsMailSetting.Patch.Responses.$204.Content.Empty>, 204, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMailSettingsMailSetting.Patch.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMailSettingsMailSetting.Patch.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMailSettingsMailSetting.Patch.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMailSettingsMailSetting.Patch.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMailSettingsMailSetting.Patch.Responses.$500.Content.ApplicationJson>, 500, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMailSettingsMailSetting.Patch.Responses.$503.Content.ApplicationJson>, 503, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMailSettingsMailSetting.Patch.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
594
594
  /** Get payment method details */
595
595
  export declare const marketplaceCustomerGetPaymentMethod: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdPaymentMethod.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdPaymentMethod.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdPaymentMethod.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdPaymentMethod.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdPaymentMethod.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdPaymentMethod.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdPaymentMethod.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdPaymentMethod.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
596
596
  /** Get the link to update the marketplace payment method */
@@ -714,6 +714,10 @@ export declare namespace MittwaldAPIV2 {
714
714
  type RequestData = InferredRequestData<typeof descriptors.mailUpdateMailAddressSpamProtection>;
715
715
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.mailUpdateMailAddressSpamProtection, TStatus>;
716
716
  }
717
+ namespace MailUpdateProjectMailSetting {
718
+ type RequestData = InferredRequestData<typeof descriptors.mailUpdateProjectMailSetting>;
719
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.mailUpdateProjectMailSetting, TStatus>;
720
+ }
717
721
  namespace NewsletterSubscribeUser {
718
722
  type RequestData = InferredRequestData<typeof descriptors.newsletterSubscribeUser>;
719
723
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.newsletterSubscribeUser, TStatus>;
@@ -1174,10 +1178,6 @@ export declare namespace MittwaldAPIV2 {
1174
1178
  type RequestData = InferredRequestData<typeof descriptors.mailUpdateMailAddressCatchAll>;
1175
1179
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.mailUpdateMailAddressCatchAll, TStatus>;
1176
1180
  }
1177
- namespace MailUpdateProjectMailSetting {
1178
- type RequestData = InferredRequestData<typeof descriptors.mailUpdateProjectMailSetting>;
1179
- type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.mailUpdateProjectMailSetting, TStatus>;
1180
- }
1181
1181
  namespace MarketplaceCustomerGetPaymentMethod {
1182
1182
  type RequestData = InferredRequestData<typeof descriptors.marketplaceCustomerGetPaymentMethod>;
1183
1183
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.marketplaceCustomerGetPaymentMethod, TStatus>;
@@ -14672,7 +14672,79 @@ export declare namespace MittwaldAPIV2 {
14672
14672
  }
14673
14673
  }
14674
14674
  }
14675
- namespace V2ProjectsProjectIdMailSettingsSetting { }
14675
+ namespace V2ProjectsProjectIdMailSettingsMailSetting {
14676
+ namespace Patch {
14677
+ namespace Parameters {
14678
+ type Path = {
14679
+ projectId: string;
14680
+ mailSetting: "blacklist" | "whitelist";
14681
+ };
14682
+ type RequestBody = {
14683
+ blacklist: string[];
14684
+ } | {
14685
+ whitelist: string[];
14686
+ };
14687
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
14688
+ type Query = {};
14689
+ }
14690
+ namespace Responses {
14691
+ namespace $204 {
14692
+ namespace Content {
14693
+ type Empty = unknown;
14694
+ }
14695
+ }
14696
+ namespace $400 {
14697
+ namespace Content {
14698
+ interface ApplicationJson {
14699
+ [k: string]: unknown;
14700
+ }
14701
+ }
14702
+ }
14703
+ namespace $403 {
14704
+ namespace Content {
14705
+ interface ApplicationJson {
14706
+ [k: string]: unknown;
14707
+ }
14708
+ }
14709
+ }
14710
+ namespace $404 {
14711
+ namespace Content {
14712
+ interface ApplicationJson {
14713
+ [k: string]: unknown;
14714
+ }
14715
+ }
14716
+ }
14717
+ namespace $429 {
14718
+ namespace Content {
14719
+ interface ApplicationJson {
14720
+ [k: string]: unknown;
14721
+ }
14722
+ }
14723
+ }
14724
+ namespace $500 {
14725
+ namespace Content {
14726
+ interface ApplicationJson {
14727
+ [k: string]: unknown;
14728
+ }
14729
+ }
14730
+ }
14731
+ namespace $503 {
14732
+ namespace Content {
14733
+ interface ApplicationJson {
14734
+ [k: string]: unknown;
14735
+ }
14736
+ }
14737
+ }
14738
+ namespace Default {
14739
+ namespace Content {
14740
+ interface ApplicationJson {
14741
+ [k: string]: unknown;
14742
+ }
14743
+ }
14744
+ }
14745
+ }
14746
+ }
14747
+ }
14676
14748
  namespace V2NewsletterSubscriptions {
14677
14749
  namespace Post {
14678
14750
  namespace Parameters {
@@ -20876,79 +20948,6 @@ export declare namespace MittwaldAPIV2 {
20876
20948
  }
20877
20949
  }
20878
20950
  }
20879
- namespace V2ProjectsProjectIdMailSettingsMailSetting {
20880
- namespace Patch {
20881
- namespace Parameters {
20882
- type Path = {
20883
- projectId: string;
20884
- mailSetting: "blacklist" | "whitelist";
20885
- };
20886
- type RequestBody = {
20887
- blacklist: string[];
20888
- } | {
20889
- whitelist: string[];
20890
- };
20891
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
20892
- type Query = {};
20893
- }
20894
- namespace Responses {
20895
- namespace $204 {
20896
- namespace Content {
20897
- type Empty = unknown;
20898
- }
20899
- }
20900
- namespace $400 {
20901
- namespace Content {
20902
- interface ApplicationJson {
20903
- [k: string]: unknown;
20904
- }
20905
- }
20906
- }
20907
- namespace $403 {
20908
- namespace Content {
20909
- interface ApplicationJson {
20910
- [k: string]: unknown;
20911
- }
20912
- }
20913
- }
20914
- namespace $404 {
20915
- namespace Content {
20916
- interface ApplicationJson {
20917
- [k: string]: unknown;
20918
- }
20919
- }
20920
- }
20921
- namespace $429 {
20922
- namespace Content {
20923
- interface ApplicationJson {
20924
- [k: string]: unknown;
20925
- }
20926
- }
20927
- }
20928
- namespace $500 {
20929
- namespace Content {
20930
- interface ApplicationJson {
20931
- [k: string]: unknown;
20932
- }
20933
- }
20934
- }
20935
- namespace $503 {
20936
- namespace Content {
20937
- interface ApplicationJson {
20938
- [k: string]: unknown;
20939
- }
20940
- }
20941
- }
20942
- namespace Default {
20943
- namespace Content {
20944
- interface ApplicationJson {
20945
- [k: string]: unknown;
20946
- }
20947
- }
20948
- }
20949
- }
20950
- }
20951
- }
20952
20951
  namespace V2CustomersCustomerIdPaymentMethod {
20953
20952
  namespace Get {
20954
20953
  namespace Parameters {
@@ -1 +1 @@
1
- export declare const MittwaldAPIClientVersion = '4.250.0';
1
+ export declare const MittwaldAPIClientVersion = '4.251.1';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mittwald/api-client",
3
- "version": "4.251.0",
3
+ "version": "4.252.0",
4
4
  "author": "Mittwald CM Service GmbH & Co. KG <opensource@mittwald.de>",
5
5
  "type": "module",
6
6
  "description": "Auto-generated client for the mittwald API",
@@ -46,11 +46,11 @@
46
46
  "test:compile": "run tsc --noEmit"
47
47
  },
48
48
  "dependencies": {
49
- "@mittwald/api-client-commons": "^4.251.0",
49
+ "@mittwald/api-client-commons": "^4.252.0",
50
50
  "browser-or-node": "^3.0.0"
51
51
  },
52
52
  "devDependencies": {
53
- "@mittwald/api-code-generator": "^4.251.0",
53
+ "@mittwald/api-code-generator": "^4.252.0",
54
54
  "@mittwald/react-use-promise": "^2.6.2",
55
55
  "@types/node": "^22.18.11",
56
56
  "@types/react": "^18.3.26",
@@ -80,5 +80,5 @@
80
80
  "optional": true
81
81
  }
82
82
  },
83
- "gitHead": "35b79304ec4e1e60c3764a8dce64ba907ac613e5"
83
+ "gitHead": "6315ce53708d25489029f102ebf016765ef0db44"
84
84
  }