@mittwald/api-client 3.0.8 → 3.0.10

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.
@@ -6644,8 +6644,44 @@ export declare module MittwaldAPIV2 {
6644
6644
  namespace V2DomainsDomainIdContracts { }
6645
6645
  namespace V2ProjectsProjectIdContracts { }
6646
6646
  namespace V2ServersServerIdContracts { }
6647
- namespace V2NewsletterSubscriptionsEmail { }
6648
- namespace V2NewsletterSubscriptions { }
6647
+ namespace V2NewsletterSubscriptions {
6648
+ namespace Post {
6649
+ namespace Parameters {
6650
+ type Path = {};
6651
+ interface RequestBody {
6652
+ firstName?: string;
6653
+ lastName?: string;
6654
+ }
6655
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
6656
+ type Query = {};
6657
+ }
6658
+ namespace Responses {
6659
+ namespace $200 {
6660
+ namespace Content {
6661
+ interface ApplicationJson {
6662
+ active: boolean;
6663
+ email: string;
6664
+ registered: boolean;
6665
+ }
6666
+ }
6667
+ }
6668
+ namespace $400 {
6669
+ namespace Content {
6670
+ interface ApplicationJson {
6671
+ [k: string]: unknown;
6672
+ }
6673
+ }
6674
+ }
6675
+ namespace Default {
6676
+ namespace Content {
6677
+ interface ApplicationJson {
6678
+ [k: string]: unknown;
6679
+ }
6680
+ }
6681
+ }
6682
+ }
6683
+ }
6684
+ }
6649
6685
  namespace V2SignupEmail { }
6650
6686
  namespace V2SignupPasswordResetConfirm { }
6651
6687
  namespace V2UsersSelfIssues { }
@@ -9280,43 +9316,6 @@ export declare module MittwaldAPIV2 {
9280
9316
  }
9281
9317
  }
9282
9318
  }
9283
- namespace V2NewsletterSubscriptions {
9284
- namespace Post {
9285
- namespace Parameters {
9286
- type Path = {};
9287
- interface RequestBody {
9288
- email: string;
9289
- }
9290
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
9291
- type Query = {};
9292
- }
9293
- namespace Responses {
9294
- namespace $200 {
9295
- namespace Content {
9296
- interface ApplicationJson {
9297
- active: boolean;
9298
- email: string;
9299
- registered: boolean;
9300
- }
9301
- }
9302
- }
9303
- namespace $400 {
9304
- namespace Content {
9305
- interface ApplicationJson {
9306
- [k: string]: unknown;
9307
- }
9308
- }
9309
- }
9310
- namespace Default {
9311
- namespace Content {
9312
- interface ApplicationJson {
9313
- [k: string]: unknown;
9314
- }
9315
- }
9316
- }
9317
- }
9318
- }
9319
- }
9320
9319
  namespace V2NotificationsUnreadCounts {
9321
9320
  namespace Get {
9322
9321
  namespace Parameters {
@@ -4633,6 +4633,183 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
4633
4633
  [x: string]: unknown;
4634
4634
  }, 404, "application/json">>>;
4635
4635
  };
4636
+ /** The notification API allows you to manage your notifications. */
4637
+ readonly notification: {
4638
+ /** Subscribe a user to the mStudio newsletter. */
4639
+ newsletterSubscribeUser: (request?: {
4640
+ data?: {
4641
+ firstName?: string | undefined;
4642
+ lastName?: string | undefined;
4643
+ } | undefined;
4644
+ headers?: {
4645
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
4646
+ "x-access-token"?: string | undefined;
4647
+ } | undefined;
4648
+ } | null | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
4649
+ data: {
4650
+ firstName?: string | undefined;
4651
+ lastName?: string | undefined;
4652
+ };
4653
+ } & {
4654
+ headers?: Partial<{
4655
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
4656
+ }> | undefined;
4657
+ } & {
4658
+ headers: {
4659
+ "x-access-token"?: string | undefined;
4660
+ } & Partial<{
4661
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
4662
+ }>;
4663
+ }, import("@mittwald/api-client-commons").Response<{
4664
+ active: boolean;
4665
+ email: string;
4666
+ registered: boolean;
4667
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
4668
+ [x: string]: unknown;
4669
+ }, 400, "application/json">>>;
4670
+ /** Getting the subscription status of the subscription. */
4671
+ newsletterGetInfo: (request?: {
4672
+ headers?: {
4673
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
4674
+ "x-access-token"?: string | undefined;
4675
+ } | undefined;
4676
+ } | null | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
4677
+ headers?: Partial<{
4678
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
4679
+ }> | undefined;
4680
+ } & {
4681
+ headers: {
4682
+ "x-access-token"?: string | undefined;
4683
+ } & Partial<{
4684
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
4685
+ }>;
4686
+ }, import("@mittwald/api-client-commons").Response<{
4687
+ active: boolean;
4688
+ email: string;
4689
+ registered: boolean;
4690
+ }, 200, "application/json">>>;
4691
+ /** Unsubscribe a user from the mStudio newsletter. */
4692
+ newsletterUnsubscribeUser: (request?: {
4693
+ headers?: {
4694
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
4695
+ "x-access-token"?: string | undefined;
4696
+ } | undefined;
4697
+ } | null | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
4698
+ headers?: Partial<{
4699
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
4700
+ }> | undefined;
4701
+ } & {
4702
+ headers: {
4703
+ "x-access-token"?: string | undefined;
4704
+ } & Partial<{
4705
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
4706
+ }>;
4707
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty">>>;
4708
+ /** Get the counts for unread notifications of the user. */
4709
+ scountUnreadNotifications: (request?: {
4710
+ headers?: {
4711
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
4712
+ "x-access-token"?: string | undefined;
4713
+ } | undefined;
4714
+ } | null | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
4715
+ headers?: Partial<{
4716
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
4717
+ }> | undefined;
4718
+ } & {
4719
+ headers: {
4720
+ "x-access-token"?: string | undefined;
4721
+ } & Partial<{
4722
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
4723
+ }>;
4724
+ }, import("@mittwald/api-client-commons").Response<{
4725
+ error: number;
4726
+ info: number;
4727
+ success: number;
4728
+ total: number;
4729
+ warning: number;
4730
+ }, 200, "application/json">>>;
4731
+ /** List all unread notifications */
4732
+ slistNotifications: (request?: {
4733
+ headers?: {
4734
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
4735
+ "x-access-token"?: string | undefined;
4736
+ } | undefined;
4737
+ queryParameters?: {
4738
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
4739
+ status?: "read" | "unread" | undefined;
4740
+ } | undefined;
4741
+ } | null | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
4742
+ headers?: Partial<{
4743
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
4744
+ }> | undefined;
4745
+ } & {
4746
+ queryParameters: {
4747
+ status?: "read" | "unread" | undefined;
4748
+ } & Partial<{
4749
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
4750
+ }>;
4751
+ } & {
4752
+ headers: {
4753
+ "x-access-token"?: string | undefined;
4754
+ } & Partial<{
4755
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
4756
+ }>;
4757
+ }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.MessagingNotification[], 200, "application/json">>>;
4758
+ /** Mark all notifications as read. */
4759
+ sreadAllNotifications: (request?: {
4760
+ headers?: {
4761
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
4762
+ "x-access-token"?: string | undefined;
4763
+ } | undefined;
4764
+ } | null | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
4765
+ headers?: Partial<{
4766
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
4767
+ }> | undefined;
4768
+ } & {
4769
+ headers: {
4770
+ "x-access-token"?: string | undefined;
4771
+ } & Partial<{
4772
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
4773
+ }>;
4774
+ }, import("@mittwald/api-client-commons").Response<{
4775
+ status: "read";
4776
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
4777
+ [x: string]: unknown;
4778
+ }, 403, "application/json">>>;
4779
+ /** Mark notification as read. */
4780
+ sreadNotification: (request: {
4781
+ data: {
4782
+ status: "read";
4783
+ };
4784
+ messageId: string;
4785
+ headers?: {
4786
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
4787
+ "x-access-token"?: string | undefined;
4788
+ } | undefined;
4789
+ }) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
4790
+ data: {
4791
+ status: "read";
4792
+ };
4793
+ } & {
4794
+ pathParameters: {
4795
+ messageId: string;
4796
+ };
4797
+ } & {
4798
+ headers?: Partial<{
4799
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
4800
+ }> | undefined;
4801
+ } & {
4802
+ headers: {
4803
+ "x-access-token"?: string | undefined;
4804
+ } & Partial<{
4805
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
4806
+ }>;
4807
+ }, import("@mittwald/api-client-commons").Response<{
4808
+ status: "read";
4809
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
4810
+ [x: string]: unknown;
4811
+ }, 404, "application/json">>>;
4812
+ };
4636
4813
  /** The domain API allows you to manage your domains, DNS records and ingress resources. */
4637
4814
  readonly domain: {
4638
4815
  /** updates a-records for a specific zone */
@@ -5046,7 +5223,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
5046
5223
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
5047
5224
  [x: string]: unknown;
5048
5225
  }, 404, "application/json">>>;
5049
- /** Change the ownerC of a domain. */
5226
+ /** Change the owner contact of a domain. */
5050
5227
  changeOwnercOfDomain: (request: {
5051
5228
  data: {
5052
5229
  ownerC: [import("./types.js").MittwaldAPIV2.Components.Schemas.DomainHandleField, ...import("./types.js").MittwaldAPIV2.Components.Schemas.DomainHandleField[]];
@@ -5336,7 +5513,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
5336
5513
  domainId: string;
5337
5514
  handles: {
5338
5515
  adminC?: import("./types.js").MittwaldAPIV2.Components.Schemas.DomainHandleReadable | undefined;
5339
- ownerC: import("./types.js").MittwaldAPIV2.Components.Schemas.DomainHandleReadable; /** Mark all notifications as read. */
5516
+ ownerC: import("./types.js").MittwaldAPIV2.Components.Schemas.DomainHandleReadable;
5340
5517
  };
5341
5518
  hasAuthCode: boolean;
5342
5519
  nameservers: [string, string, ...string[]];
@@ -5908,7 +6085,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
5908
6085
  imageDimensions?: {
5909
6086
  max?: {
5910
6087
  height?: number | undefined;
5911
- width?: number | undefined;
6088
+ width?: number | undefined; /** Request a Server avatar upload. */
5912
6089
  } | undefined;
5913
6090
  min?: {
5914
6091
  height?: number | undefined;
@@ -5942,7 +6119,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
5942
6119
  imageDimensions?: {
5943
6120
  max?: {
5944
6121
  height?: number | undefined;
5945
- width?: number | undefined;
6122
+ width?: number | undefined; /** Request a Server avatar upload. */
5946
6123
  } | undefined;
5947
6124
  min?: {
5948
6125
  height?: number | undefined;
@@ -6208,7 +6385,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
6208
6385
  isCatchAll: boolean;
6209
6386
  mailbox: {
6210
6387
  enableSpamProtection: boolean;
6211
- password: string; /** Confirm password reset. */
6388
+ password: string;
6212
6389
  quotaInBytes: number;
6213
6390
  };
6214
6391
  };
@@ -6262,7 +6439,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
6262
6439
  autoResponder: {
6263
6440
  active: boolean;
6264
6441
  expiresAt?: string | undefined;
6265
- message: string;
6442
+ message: string; /** Get a specific ApiToken. */
6266
6443
  startsAt?: string | undefined;
6267
6444
  };
6268
6445
  forwardAddresses: string[];
@@ -6274,7 +6451,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
6274
6451
  sendingEnabled: boolean;
6275
6452
  spamProtection: {
6276
6453
  active: boolean;
6277
- autoDeleteSpam: boolean;
6454
+ autoDeleteSpam: boolean; /** Get a specific stored ssh-key. */
6278
6455
  folder: "spam" | "inbox";
6279
6456
  relocationMinSpamScore: number;
6280
6457
  };
@@ -6282,7 +6459,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
6282
6459
  current: {
6283
6460
  updatedAt: string;
6284
6461
  value: number;
6285
- };
6462
+ }; /** Remove a ssh-key. */
6286
6463
  limit: number;
6287
6464
  };
6288
6465
  } | undefined;
@@ -6622,181 +6799,6 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
6622
6799
  }>;
6623
6800
  }, 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">>>;
6624
6801
  };
6625
- /** The notification API allows you to manage your notifications. */
6626
- readonly notification: {
6627
- /** Getting the subscription status of the subscription. */
6628
- newsletterGetInfo: (request?: {
6629
- headers?: {
6630
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
6631
- "x-access-token"?: string | undefined;
6632
- } | undefined;
6633
- } | null | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
6634
- headers?: Partial<{
6635
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6636
- }> | undefined;
6637
- } & {
6638
- headers: {
6639
- "x-access-token"?: string | undefined;
6640
- } & Partial<{
6641
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6642
- }>;
6643
- }, import("@mittwald/api-client-commons").Response<{
6644
- active: boolean;
6645
- email: string;
6646
- registered: boolean;
6647
- }, 200, "application/json">>>;
6648
- /** Unsubscribe a user from the mStudio newsletter. */
6649
- newsletterUnsubscribeUser: (request?: {
6650
- headers?: {
6651
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
6652
- "x-access-token"?: string | undefined;
6653
- } | undefined;
6654
- } | null | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
6655
- headers?: Partial<{
6656
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6657
- }> | undefined;
6658
- } & {
6659
- headers: {
6660
- "x-access-token"?: string | undefined;
6661
- } & Partial<{
6662
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6663
- }>;
6664
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty">>>;
6665
- /** Subscribe a user to the mStudio newsletter. */
6666
- newsletterSubscribeUser: (request: {
6667
- data: {
6668
- email: string;
6669
- };
6670
- headers?: {
6671
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
6672
- "x-access-token"?: string | undefined;
6673
- } | undefined;
6674
- }) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
6675
- data: {
6676
- email: string;
6677
- };
6678
- } & {
6679
- headers?: Partial<{
6680
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6681
- }> | undefined;
6682
- } & {
6683
- headers: {
6684
- "x-access-token"?: string | undefined;
6685
- } & Partial<{
6686
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6687
- }>;
6688
- }, import("@mittwald/api-client-commons").Response<{
6689
- active: boolean;
6690
- email: string;
6691
- registered: boolean;
6692
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
6693
- [x: string]: unknown;
6694
- }, 400, "application/json">>>;
6695
- /** Get the counts for unread notifications of the user. */
6696
- scountUnreadNotifications: (request?: {
6697
- headers?: {
6698
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
6699
- "x-access-token"?: string | undefined;
6700
- } | undefined;
6701
- } | null | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
6702
- headers?: Partial<{
6703
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6704
- }> | undefined;
6705
- } & {
6706
- headers: {
6707
- "x-access-token"?: string | undefined;
6708
- } & Partial<{
6709
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6710
- }>;
6711
- }, import("@mittwald/api-client-commons").Response<{
6712
- error: number;
6713
- info: number;
6714
- success: number;
6715
- total: number;
6716
- warning: number;
6717
- }, 200, "application/json">>>;
6718
- /** List all unread notifications */
6719
- slistNotifications: (request?: {
6720
- headers?: {
6721
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
6722
- "x-access-token"?: string | undefined;
6723
- } | undefined;
6724
- queryParameters?: {
6725
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
6726
- status?: "read" | "unread" | undefined;
6727
- } | undefined;
6728
- } | null | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
6729
- headers?: Partial<{
6730
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6731
- }> | undefined;
6732
- } & {
6733
- queryParameters: {
6734
- status?: "read" | "unread" | undefined;
6735
- } & Partial<{
6736
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6737
- }>;
6738
- } & {
6739
- headers: {
6740
- "x-access-token"?: string | undefined;
6741
- } & Partial<{
6742
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6743
- }>;
6744
- }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.MessagingNotification[], 200, "application/json">>>;
6745
- /** Mark all notifications as read. */
6746
- sreadAllNotifications: (request?: {
6747
- headers?: {
6748
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
6749
- "x-access-token"?: string | undefined;
6750
- } | undefined;
6751
- } | null | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
6752
- headers?: Partial<{
6753
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6754
- }> | undefined;
6755
- } & {
6756
- headers: {
6757
- "x-access-token"?: string | undefined;
6758
- } & Partial<{
6759
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6760
- }>;
6761
- }, import("@mittwald/api-client-commons").Response<{
6762
- status: "read";
6763
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
6764
- [x: string]: unknown;
6765
- }, 403, "application/json">>>;
6766
- /** Mark notification as read. */
6767
- sreadNotification: (request: {
6768
- data: {
6769
- status: "read";
6770
- };
6771
- messageId: string;
6772
- headers?: {
6773
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
6774
- "x-access-token"?: string | undefined;
6775
- } | undefined;
6776
- }) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
6777
- data: {
6778
- status: "read";
6779
- };
6780
- } & {
6781
- pathParameters: {
6782
- messageId: string;
6783
- };
6784
- } & {
6785
- headers?: Partial<{
6786
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6787
- }> | undefined;
6788
- } & {
6789
- headers: {
6790
- "x-access-token"?: string | undefined;
6791
- } & Partial<{
6792
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6793
- }>;
6794
- }, import("@mittwald/api-client-commons").Response<{
6795
- status: "read";
6796
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
6797
- [x: string]: unknown;
6798
- }, 404, "application/json">>>;
6799
- };
6800
6802
  /** The project API allows you to manage your projects, and also any kinds of user memberships concerning these projects. */
6801
6803
  readonly project: {
6802
6804
  /** Accept a ProjectInvite. */
@@ -294,6 +294,23 @@ export class MittwaldAPIV2Client extends ApiClientBase {
294
294
  /** Update a RedisDatabase's description. */
295
295
  updateRedisDatabaseDescription: this.requestFunctionFactory(descriptors.databaseUpdateRedisDatabaseDescription),
296
296
  };
297
+ /** The notification API allows you to manage your notifications. */
298
+ notification = {
299
+ /** Subscribe a user to the mStudio newsletter. */
300
+ newsletterSubscribeUser: this.requestFunctionFactory(descriptors.newsletterSubscribeUser),
301
+ /** Getting the subscription status of the subscription. */
302
+ newsletterGetInfo: this.requestFunctionFactory(descriptors.newsletterGetInfo),
303
+ /** Unsubscribe a user from the mStudio newsletter. */
304
+ newsletterUnsubscribeUser: this.requestFunctionFactory(descriptors.newsletterUnsubscribeUser),
305
+ /** Get the counts for unread notifications of the user. */
306
+ scountUnreadNotifications: this.requestFunctionFactory(descriptors.notificationsCountUnreadNotifications),
307
+ /** List all unread notifications */
308
+ slistNotifications: this.requestFunctionFactory(descriptors.notificationsListNotifications),
309
+ /** Mark all notifications as read. */
310
+ sreadAllNotifications: this.requestFunctionFactory(descriptors.notificationsReadAllNotifications),
311
+ /** Mark notification as read. */
312
+ sreadNotification: this.requestFunctionFactory(descriptors.notificationsReadNotification),
313
+ };
297
314
  /** The domain API allows you to manage your domains, DNS records and ingress resources. */
298
315
  domain = {
299
316
  /** updates a-records for a specific zone */
@@ -318,7 +335,7 @@ export class MittwaldAPIV2Client extends ApiClientBase {
318
335
  dnsZonesForProject: this.requestFunctionFactory(descriptors.dnsZonesForProject),
319
336
  /** Abort a declare process. */
320
337
  abortDeclareProcess: this.requestFunctionFactory(descriptors.domainAbortDeclareProcess),
321
- /** Change the ownerC of a domain. */
338
+ /** Change the owner contact of a domain. */
322
339
  changeOwnercOfDomain: this.requestFunctionFactory(descriptors.domainChangeOwnercOfDomain),
323
340
  /** Change the Project relation of a Domain. */
324
341
  changeProjectOfDomain: this.requestFunctionFactory(descriptors.domainChangeProjectOfDomain),
@@ -425,23 +442,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
425
442
  /** Update whitelist for a given project ID */
426
443
  projectsettingUpdateWhitelist: this.requestFunctionFactory(descriptors.mailProjectsettingUpdateWhitelist),
427
444
  };
428
- /** The notification API allows you to manage your notifications. */
429
- notification = {
430
- /** Getting the subscription status of the subscription. */
431
- newsletterGetInfo: this.requestFunctionFactory(descriptors.newsletterGetInfo),
432
- /** Unsubscribe a user from the mStudio newsletter. */
433
- newsletterUnsubscribeUser: this.requestFunctionFactory(descriptors.newsletterUnsubscribeUser),
434
- /** Subscribe a user to the mStudio newsletter. */
435
- newsletterSubscribeUser: this.requestFunctionFactory(descriptors.newsletterSubscribeUser),
436
- /** Get the counts for unread notifications of the user. */
437
- scountUnreadNotifications: this.requestFunctionFactory(descriptors.notificationsCountUnreadNotifications),
438
- /** List all unread notifications */
439
- slistNotifications: this.requestFunctionFactory(descriptors.notificationsListNotifications),
440
- /** Mark all notifications as read. */
441
- sreadAllNotifications: this.requestFunctionFactory(descriptors.notificationsReadAllNotifications),
442
- /** Mark notification as read. */
443
- sreadNotification: this.requestFunctionFactory(descriptors.notificationsReadNotification),
444
- };
445
445
  /** The project API allows you to manage your projects, and also any kinds of user memberships concerning these projects. */
446
446
  project = {
447
447
  /** Accept a ProjectInvite. */
@@ -247,6 +247,8 @@ export declare const databaseUpdateMysqlUserPassword: OpenAPIOperation<RequestTy
247
247
  export declare const databaseUpdateRedisDatabaseConfiguration: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2RedisDatabasesIdConfiguration.Patch.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2RedisDatabasesIdConfiguration.Patch.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2RedisDatabasesIdConfiguration.Patch.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2RedisDatabasesIdConfiguration.Patch.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2RedisDatabasesIdConfiguration.Patch.Responses.$200.Content.Empty>, 200, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2RedisDatabasesIdConfiguration.Patch.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2RedisDatabasesIdConfiguration.Patch.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2RedisDatabasesIdConfiguration.Patch.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
248
248
  /** Update a RedisDatabase's description. */
249
249
  export declare const databaseUpdateRedisDatabaseDescription: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2RedisDatabasesIdDescription.Patch.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2RedisDatabasesIdDescription.Patch.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2RedisDatabasesIdDescription.Patch.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2RedisDatabasesIdDescription.Patch.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2RedisDatabasesIdDescription.Patch.Responses.$200.Content.Empty>, 200, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2RedisDatabasesIdDescription.Patch.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2RedisDatabasesIdDescription.Patch.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2RedisDatabasesIdDescription.Patch.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
250
+ /** Subscribe a user to the mStudio newsletter. */
251
+ 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.Default.Content.ApplicationJson>, "default", "application/json">>;
250
252
  /** updates a-records for a specific zone */
251
253
  export declare const dnsRecordAsetCustom: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2DnsZonesZoneIdRecordsetAcombinedCustom.Put.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2DnsZonesZoneIdRecordsetAcombinedCustom.Put.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2DnsZonesZoneIdRecordsetAcombinedCustom.Put.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2DnsZonesZoneIdRecordsetAcombinedCustom.Put.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2DnsZonesZoneIdRecordsetAcombinedCustom.Put.Responses.$204.Content.Empty>, 204, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2DnsZonesZoneIdRecordsetAcombinedCustom.Put.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2DnsZonesZoneIdRecordsetAcombinedCustom.Put.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
252
254
  /** set a-records managed by ingress for a specific zone */
@@ -269,7 +271,7 @@ export declare const dnsZoneGetSpecific: OpenAPIOperation<RequestType<Simplify<n
269
271
  export declare const dnsZonesForProject: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdDnsZones.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdDnsZones.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdDnsZones.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdDnsZones.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdDnsZones.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdDnsZones.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
270
272
  /** Abort a declare process. */
271
273
  export declare const domainAbortDeclareProcess: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2DomainsDomainIdDeclarations.Delete.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2DomainsDomainIdDeclarations.Delete.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2DomainsDomainIdDeclarations.Delete.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2DomainsDomainIdDeclarations.Delete.Responses.$204.Content.Empty>, 204, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2DomainsDomainIdDeclarations.Delete.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2DomainsDomainIdDeclarations.Delete.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2DomainsDomainIdDeclarations.Delete.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
272
- /** Change the ownerC of a domain. */
274
+ /** Change the owner contact of a domain. */
273
275
  export declare const domainChangeOwnercOfDomain: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2DomainsDomainIdHandlesOwnerc.Put.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2DomainsDomainIdHandlesOwnerc.Put.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2DomainsDomainIdHandlesOwnerc.Put.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2DomainsDomainIdHandlesOwnerc.Put.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2DomainsDomainIdHandlesOwnerc.Put.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2DomainsDomainIdHandlesOwnerc.Put.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2DomainsDomainIdHandlesOwnerc.Put.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2DomainsDomainIdHandlesOwnerc.Put.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
274
276
  /** Change the Project relation of a Domain. */
275
277
  export declare const domainChangeProjectOfDomain: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2DomainsDomainIdProjectId.Put.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2DomainsDomainIdProjectId.Put.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2DomainsDomainIdProjectId.Put.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2DomainsDomainIdProjectId.Put.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2DomainsDomainIdProjectId.Put.Responses.$204.Content.Empty>, 204, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2DomainsDomainIdProjectId.Put.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2DomainsDomainIdProjectId.Put.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2DomainsDomainIdProjectId.Put.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
@@ -383,8 +385,6 @@ export declare const metricsListMetricsInternal: OpenAPIOperation<RequestType<Si
383
385
  export declare const newsletterGetInfo: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2NewsletterSubscriptionsSelf.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2NewsletterSubscriptionsSelf.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2NewsletterSubscriptionsSelf.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2NewsletterSubscriptionsSelf.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2NewsletterSubscriptionsSelf.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
384
386
  /** Unsubscribe a user from the mStudio newsletter. */
385
387
  export declare const newsletterUnsubscribeUser: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2NewsletterSubscriptionsSelf.Delete.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2NewsletterSubscriptionsSelf.Delete.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2NewsletterSubscriptionsSelf.Delete.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2NewsletterSubscriptionsSelf.Delete.Responses.$204.Content.Empty>, 204, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2NewsletterSubscriptionsSelf.Delete.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
386
- /** Subscribe a user to the mStudio newsletter. */
387
- 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.Default.Content.ApplicationJson>, "default", "application/json">>;
388
388
  /** Get the counts for unread notifications of the user. */
389
389
  export declare const notificationsCountUnreadNotifications: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2NotificationsUnreadCounts.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2NotificationsUnreadCounts.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2NotificationsUnreadCounts.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2NotificationsUnreadCounts.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2NotificationsUnreadCounts.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
390
390
  /** List all unread notifications */
@@ -730,6 +730,12 @@ export const databaseUpdateRedisDatabaseDescription = {
730
730
  method: "PATCH",
731
731
  operationId: "database-update-redis-database-description",
732
732
  };
733
+ /** Subscribe a user to the mStudio newsletter. */
734
+ export const newsletterSubscribeUser = {
735
+ path: "/v2/newsletter-subscriptions",
736
+ method: "POST",
737
+ operationId: "newsletter-subscribe-user",
738
+ };
733
739
  /** updates a-records for a specific zone */
734
740
  export const dnsRecordAsetCustom = {
735
741
  path: "/v2/dns/zones/{zoneId}/recordset/acombined/custom",
@@ -796,7 +802,7 @@ export const domainAbortDeclareProcess = {
796
802
  method: "DELETE",
797
803
  operationId: "domain-abort-declare-process",
798
804
  };
799
- /** Change the ownerC of a domain. */
805
+ /** Change the owner contact of a domain. */
800
806
  export const domainChangeOwnercOfDomain = {
801
807
  path: "/v2/domains/{domainId}/handles/ownerc",
802
808
  method: "PUT",
@@ -1138,12 +1144,6 @@ export const newsletterUnsubscribeUser = {
1138
1144
  method: "DELETE",
1139
1145
  operationId: "newsletter-unsubscribe-user",
1140
1146
  };
1141
- /** Subscribe a user to the mStudio newsletter. */
1142
- export const newsletterSubscribeUser = {
1143
- path: "/v2/newsletter-subscriptions",
1144
- method: "POST",
1145
- operationId: "newsletter-subscribe-user",
1146
- };
1147
1147
  /** Get the counts for unread notifications of the user. */
1148
1148
  export const notificationsCountUnreadNotifications = {
1149
1149
  path: "/v2/notifications/unread-counts",