@mittwald/api-client 4.94.0 → 4.96.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.
@@ -9807,72 +9807,90 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
9807
9807
  [x: string]: unknown;
9808
9808
  }, 429, "application/json">>>;
9809
9809
  };
9810
- /** The notification API allows you to manage your notifications. */
9811
- readonly notification: {
9812
- /** Subscribe a user to the mStudio newsletter. */
9813
- newsletterSubscribeUser: (request?: {
9814
- data?: {
9815
- firstName?: string | undefined;
9816
- lastName?: string | undefined;
9817
- } | undefined;
9810
+ /** The domain API allows you to manage your domains, DNS records, SSL certificates and ingress resources. */
9811
+ readonly domain: {
9812
+ /** List Domains */
9813
+ listDomains: (request?: {
9818
9814
  headers?: {
9819
9815
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
9820
9816
  "x-access-token"?: string | undefined;
9821
9817
  } | undefined;
9818
+ queryParameters?: {
9819
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
9820
+ projectId?: string | undefined;
9821
+ page?: number | undefined;
9822
+ limit?: number | undefined;
9823
+ domainSearchName?: string | undefined;
9824
+ contactHash?: string | undefined;
9825
+ } | undefined;
9822
9826
  } | null | undefined, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
9823
- data: {
9824
- firstName?: string | undefined;
9825
- lastName?: string | undefined;
9826
- };
9827
- } & {
9828
9827
  headers?: Partial<{
9829
9828
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
9830
9829
  }>;
9830
+ } & {
9831
+ queryParameters: {
9832
+ projectId?: string | undefined;
9833
+ page?: number | undefined;
9834
+ limit?: number | undefined;
9835
+ domainSearchName?: string | undefined;
9836
+ contactHash?: string | undefined;
9837
+ } & Partial<{
9838
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
9839
+ }>;
9831
9840
  } & {
9832
9841
  headers: {
9833
9842
  "x-access-token"?: string | undefined;
9834
9843
  } & Partial<{
9835
9844
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
9836
9845
  }>;
9837
- }, import("@mittwald/api-client-commons").Response<{
9838
- active: boolean;
9839
- email: string;
9840
- registered: boolean;
9841
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
9846
+ }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.DomainDomain[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
9842
9847
  [x: string]: unknown;
9843
9848
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
9844
9849
  [x: string]: unknown;
9845
9850
  }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
9846
- data: {
9847
- firstName?: string | undefined;
9848
- lastName?: string | undefined;
9849
- };
9850
- } & {
9851
9851
  headers?: Partial<{
9852
9852
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
9853
9853
  }>;
9854
+ } & {
9855
+ queryParameters: {
9856
+ projectId?: string | undefined;
9857
+ page?: number | undefined;
9858
+ limit?: number | undefined;
9859
+ domainSearchName?: string | undefined;
9860
+ contactHash?: string | undefined;
9861
+ } & Partial<{
9862
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
9863
+ }>;
9854
9864
  } & {
9855
9865
  headers: {
9856
9866
  "x-access-token"?: string | undefined;
9857
9867
  } & Partial<{
9858
9868
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
9859
9869
  }>;
9860
- }, import("@mittwald/api-client-commons").Response<{
9861
- active: boolean;
9862
- email: string;
9863
- registered: boolean;
9864
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
9870
+ }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.DomainDomain[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
9865
9871
  [x: string]: unknown;
9866
9872
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
9867
9873
  [x: string]: unknown;
9868
9874
  }, 429, "application/json">>>;
9869
- /** Getting the subscription status of the subscription. */
9870
- newsletterGetInfo: (request?: {
9875
+ /** Update the nameservers of a Domain. */
9876
+ updateDomainNameservers: (request: {
9877
+ domainId: string;
9878
+ data?: {
9879
+ nameservers?: [string, string, ...string[]] | undefined;
9880
+ } | undefined;
9871
9881
  headers?: {
9872
9882
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
9873
9883
  "x-access-token"?: string | undefined;
9874
9884
  } | undefined;
9875
- } | null | undefined, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
9885
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
9886
+ data: {
9887
+ nameservers?: [string, string, ...string[]] | undefined;
9888
+ };
9889
+ } & {
9890
+ pathParameters: {
9891
+ domainId: string;
9892
+ };
9893
+ } & {
9876
9894
  headers?: Partial<{
9877
9895
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
9878
9896
  }>;
@@ -9882,13 +9900,21 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
9882
9900
  } & Partial<{
9883
9901
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
9884
9902
  }>;
9885
- }, import("@mittwald/api-client-commons").Response<{
9886
- active: boolean;
9887
- email: string;
9888
- registered: boolean;
9889
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
9903
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
9904
+ [x: string]: unknown;
9905
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
9906
+ [x: string]: unknown;
9907
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
9890
9908
  [x: string]: unknown;
9891
9909
  }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
9910
+ data: {
9911
+ nameservers?: [string, string, ...string[]] | undefined;
9912
+ };
9913
+ } & {
9914
+ pathParameters: {
9915
+ domainId: string;
9916
+ };
9917
+ } & {
9892
9918
  headers?: Partial<{
9893
9919
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
9894
9920
  }>;
@@ -9898,20 +9924,28 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
9898
9924
  } & Partial<{
9899
9925
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
9900
9926
  }>;
9901
- }, import("@mittwald/api-client-commons").Response<{
9902
- active: boolean;
9903
- email: string;
9904
- registered: boolean;
9905
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
9927
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
9928
+ [x: string]: unknown;
9929
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
9930
+ [x: string]: unknown;
9931
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
9906
9932
  [x: string]: unknown;
9907
9933
  }, 429, "application/json">>>;
9908
- /** Unsubscribe a user from the mStudio newsletter. */
9909
- newsletterUnsubscribeUser: (request?: {
9934
+ /** Update the paths of an Ingress. */
9935
+ ingressUpdateIngressPaths: (request: {
9936
+ data: import("./types.js").MittwaldAPIV2.Components.Schemas.IngressPath[];
9937
+ ingressId: string;
9910
9938
  headers?: {
9911
9939
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
9912
9940
  "x-access-token"?: string | undefined;
9913
9941
  } | undefined;
9914
- } | null | undefined, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
9942
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
9943
+ data: import("./types.js").MittwaldAPIV2.Components.Schemas.IngressPath[];
9944
+ } & {
9945
+ pathParameters: {
9946
+ ingressId: string;
9947
+ };
9948
+ } & {
9915
9949
  headers?: Partial<{
9916
9950
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
9917
9951
  }>;
@@ -9923,7 +9957,15 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
9923
9957
  }>;
9924
9958
  }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
9925
9959
  [x: string]: unknown;
9960
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
9961
+ [x: string]: unknown;
9926
9962
  }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
9963
+ data: import("./types.js").MittwaldAPIV2.Components.Schemas.IngressPath[];
9964
+ } & {
9965
+ pathParameters: {
9966
+ ingressId: string;
9967
+ };
9968
+ } & {
9927
9969
  headers?: Partial<{
9928
9970
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
9929
9971
  }>;
@@ -9935,14 +9977,45 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
9935
9977
  }>;
9936
9978
  }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
9937
9979
  [x: string]: unknown;
9980
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
9981
+ [x: string]: unknown;
9938
9982
  }, 429, "application/json">>>;
9939
- /** Get the counts for unread notifications of the user. */
9940
- scountUnreadNotifications: (request?: {
9983
+ /** Update the tls settings of an Ingress. */
9984
+ ingressUpdateIngressTls: (request: {
9985
+ data: {
9986
+ acme: boolean;
9987
+ isCreated?: boolean | undefined;
9988
+ requestDeadline?: string | undefined;
9989
+ };
9990
+ ingressId: string;
9941
9991
  headers?: {
9942
9992
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
9943
9993
  "x-access-token"?: string | undefined;
9944
9994
  } | undefined;
9945
- } | null | undefined, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
9995
+ } | {
9996
+ data: {
9997
+ certificateId: string;
9998
+ };
9999
+ ingressId: string;
10000
+ headers?: {
10001
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
10002
+ "x-access-token"?: string | undefined;
10003
+ } | undefined;
10004
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<(({
10005
+ data: {
10006
+ acme: boolean;
10007
+ isCreated?: boolean | undefined;
10008
+ requestDeadline?: string | undefined;
10009
+ };
10010
+ } | {
10011
+ data: {
10012
+ certificateId: string;
10013
+ };
10014
+ }) & {
10015
+ pathParameters: {
10016
+ ingressId: string;
10017
+ };
10018
+ }) & {
9946
10019
  headers?: Partial<{
9947
10020
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
9948
10021
  }>;
@@ -9952,15 +10025,29 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
9952
10025
  } & Partial<{
9953
10026
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
9954
10027
  }>;
9955
- }, import("@mittwald/api-client-commons").Response<{
9956
- error: number;
9957
- info: number;
9958
- success: number;
9959
- total: number;
9960
- warning: number;
9961
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
10028
+ }, import("@mittwald/api-client-commons").Response<{}, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
9962
10029
  [x: string]: unknown;
9963
- }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
10030
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
10031
+ [x: string]: unknown;
10032
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
10033
+ [x: string]: unknown;
10034
+ }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
10035
+ [x: string]: unknown;
10036
+ }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<(({
10037
+ data: {
10038
+ acme: boolean;
10039
+ isCreated?: boolean | undefined;
10040
+ requestDeadline?: string | undefined;
10041
+ };
10042
+ } | {
10043
+ data: {
10044
+ certificateId: string;
10045
+ };
10046
+ }) & {
10047
+ pathParameters: {
10048
+ ingressId: string;
10049
+ };
10050
+ }) & {
9964
10051
  headers?: Partial<{
9965
10052
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
9966
10053
  }>;
@@ -9970,39 +10057,32 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
9970
10057
  } & Partial<{
9971
10058
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
9972
10059
  }>;
9973
- }, import("@mittwald/api-client-commons").Response<{
9974
- error: number;
9975
- info: number;
9976
- success: number;
9977
- total: number;
9978
- warning: number;
9979
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
10060
+ }, import("@mittwald/api-client-commons").Response<{}, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
10061
+ [x: string]: unknown;
10062
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
10063
+ [x: string]: unknown;
10064
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
10065
+ [x: string]: unknown;
10066
+ }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
9980
10067
  [x: string]: unknown;
9981
10068
  }, 429, "application/json">>>;
9982
- /** List all unread notifications. */
9983
- slistNotifications: (request?: {
10069
+ /** Create a DNSZone. */
10070
+ dnsCreateDnsZone: (request: {
10071
+ data: {
10072
+ name: string;
10073
+ parentZoneId: string;
10074
+ };
9984
10075
  headers?: {
9985
10076
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
9986
10077
  "x-access-token"?: string | undefined;
9987
10078
  } | undefined;
9988
- queryParameters?: {
9989
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
9990
- status?: "unread" | "read" | undefined;
9991
- limit?: number | undefined;
9992
- skip?: number | undefined;
9993
- page?: number | undefined;
9994
- } | undefined;
9995
- } | null | undefined, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
9996
- headers?: Partial<{
9997
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
9998
- }>;
10079
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
10080
+ data: {
10081
+ name: string;
10082
+ parentZoneId: string;
10083
+ };
9999
10084
  } & {
10000
- queryParameters: {
10001
- status?: "unread" | "read" | undefined;
10002
- limit?: number | undefined;
10003
- skip?: number | undefined;
10004
- page?: number | undefined;
10005
- } & Partial<{
10085
+ headers?: Partial<{
10006
10086
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
10007
10087
  }>;
10008
10088
  } & {
@@ -10011,195 +10091,18 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
10011
10091
  } & Partial<{
10012
10092
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
10013
10093
  }>;
10014
- }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.MessagingNotification[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
10094
+ }, import("@mittwald/api-client-commons").Response<{
10095
+ id: string;
10096
+ }, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
10097
+ [x: string]: unknown;
10098
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
10015
10099
  [x: string]: unknown;
10016
10100
  }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
10017
- headers?: Partial<{
10018
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
10019
- }>;
10020
- } & {
10021
- queryParameters: {
10022
- status?: "unread" | "read" | undefined;
10023
- limit?: number | undefined;
10024
- skip?: number | undefined;
10025
- page?: number | undefined;
10026
- } & Partial<{
10027
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
10028
- }>;
10029
- } & {
10030
- headers: {
10031
- "x-access-token"?: string | undefined;
10032
- } & Partial<{
10033
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
10034
- }>;
10035
- }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.MessagingNotification[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
10036
- [x: string]: unknown;
10037
- }, 429, "application/json">>>;
10038
- /** Mark all notifications as read. */
10039
- sreadAllNotifications: (request?: {
10040
- headers?: {
10041
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
10042
- "x-access-token"?: string | undefined;
10043
- } | undefined;
10044
- queryParameters?: {
10045
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
10046
- severities?: ("success" | "info" | "warning" | "error")[] | undefined;
10047
- referenceId?: string | undefined;
10048
- referenceAggregate?: string | undefined;
10049
- referenceDomain?: string | undefined;
10050
- } | undefined;
10051
- } | null | undefined, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
10052
- headers?: Partial<{
10053
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
10054
- }>;
10055
- } & {
10056
- queryParameters: {
10057
- severities?: ("success" | "info" | "warning" | "error")[] | undefined;
10058
- referenceId?: string | undefined;
10059
- referenceAggregate?: string | undefined;
10060
- referenceDomain?: string | undefined;
10061
- } & Partial<{
10062
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
10063
- }>;
10064
- } & {
10065
- headers: {
10066
- "x-access-token"?: string | undefined;
10067
- } & Partial<{
10068
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
10069
- }>;
10070
- }, import("@mittwald/api-client-commons").Response<{
10071
- status: import("./types.js").MittwaldAPIV2.Components.Schemas.MessagingNotificationStatus;
10072
- updatedCount: number;
10073
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
10074
- [x: string]: unknown;
10075
- }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
10076
- [x: string]: unknown;
10077
- }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
10078
- headers?: Partial<{
10079
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
10080
- }>;
10081
- } & {
10082
- queryParameters: {
10083
- severities?: ("success" | "info" | "warning" | "error")[] | undefined;
10084
- referenceId?: string | undefined;
10085
- referenceAggregate?: string | undefined;
10086
- referenceDomain?: string | undefined;
10087
- } & Partial<{
10088
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
10089
- }>;
10090
- } & {
10091
- headers: {
10092
- "x-access-token"?: string | undefined;
10093
- } & Partial<{
10094
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
10095
- }>;
10096
- }, import("@mittwald/api-client-commons").Response<{
10097
- status: import("./types.js").MittwaldAPIV2.Components.Schemas.MessagingNotificationStatus;
10098
- updatedCount: number;
10099
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
10100
- [x: string]: unknown;
10101
- }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
10102
- [x: string]: unknown;
10103
- }, 429, "application/json">>>;
10104
- /** Mark notification as read. */
10105
- sreadNotification: (request: {
10106
- data: {
10107
- status: import("./types.js").MittwaldAPIV2.Components.Schemas.MessagingNotificationStatus;
10108
- };
10109
- notificationId: string;
10110
- headers?: {
10111
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
10112
- "x-access-token"?: string | undefined;
10113
- } | undefined;
10114
- }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
10115
- data: {
10116
- status: import("./types.js").MittwaldAPIV2.Components.Schemas.MessagingNotificationStatus;
10117
- };
10118
- } & {
10119
- pathParameters: {
10120
- notificationId: string;
10121
- };
10122
- } & {
10123
- headers?: Partial<{
10124
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
10125
- }>;
10126
- } & {
10127
- headers: {
10128
- "x-access-token"?: string | undefined;
10129
- } & Partial<{
10130
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
10131
- }>;
10132
- }, import("@mittwald/api-client-commons").Response<{
10133
- status: import("./types.js").MittwaldAPIV2.Components.Schemas.MessagingNotificationStatus;
10134
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
10135
- [x: string]: unknown;
10136
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
10137
- [x: string]: unknown;
10138
- }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
10139
- data: {
10140
- status: import("./types.js").MittwaldAPIV2.Components.Schemas.MessagingNotificationStatus;
10141
- };
10142
- } & {
10143
- pathParameters: {
10144
- notificationId: string;
10145
- };
10146
- } & {
10147
- headers?: Partial<{
10148
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
10149
- }>;
10150
- } & {
10151
- headers: {
10152
- "x-access-token"?: string | undefined;
10153
- } & Partial<{
10154
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
10155
- }>;
10156
- }, import("@mittwald/api-client-commons").Response<{
10157
- status: import("./types.js").MittwaldAPIV2.Components.Schemas.MessagingNotificationStatus;
10158
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
10159
- [x: string]: unknown;
10160
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
10161
- [x: string]: unknown;
10162
- }, 429, "application/json">>>;
10163
- };
10164
- /** The domain API allows you to manage your domains, DNS records, SSL certificates and ingress resources. */
10165
- readonly domain: {
10166
- /** Create a DNSZone. */
10167
- dnsCreateDnsZone: (request: {
10168
- data: {
10169
- name: string;
10170
- parentZoneId: string;
10171
- };
10172
- headers?: {
10173
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
10174
- "x-access-token"?: string | undefined;
10175
- } | undefined;
10176
- }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
10177
- data: {
10178
- name: string;
10179
- parentZoneId: string;
10180
- };
10181
- } & {
10182
- headers?: Partial<{
10183
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
10184
- }>;
10185
- } & {
10186
- headers: {
10187
- "x-access-token"?: string | undefined;
10188
- } & Partial<{
10189
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
10190
- }>;
10191
- }, import("@mittwald/api-client-commons").Response<{
10192
- id: string;
10193
- }, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
10194
- [x: string]: unknown;
10195
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
10196
- [x: string]: unknown;
10197
- }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
10198
- data: {
10199
- name: string;
10200
- parentZoneId: string;
10201
- };
10202
- } & {
10101
+ data: {
10102
+ name: string;
10103
+ parentZoneId: string;
10104
+ };
10105
+ } & {
10203
10106
  headers?: Partial<{
10204
10107
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
10205
10108
  }>;
@@ -11007,69 +10910,6 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
11007
10910
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
11008
10911
  [x: string]: unknown;
11009
10912
  }, 429, "application/json">>>;
11010
- /** List Domains */
11011
- listDomains: (request?: {
11012
- headers?: {
11013
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
11014
- "x-access-token"?: string | undefined;
11015
- } | undefined;
11016
- queryParameters?: {
11017
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
11018
- projectId?: string | undefined;
11019
- page?: number | undefined;
11020
- limit?: number | undefined;
11021
- domainSearchName?: string | undefined;
11022
- contactHash?: string | undefined;
11023
- } | undefined;
11024
- } | null | undefined, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
11025
- headers?: Partial<{
11026
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
11027
- }>;
11028
- } & {
11029
- queryParameters: {
11030
- projectId?: string | undefined;
11031
- page?: number | undefined;
11032
- limit?: number | undefined;
11033
- domainSearchName?: string | undefined;
11034
- contactHash?: string | undefined;
11035
- } & Partial<{
11036
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
11037
- }>;
11038
- } & {
11039
- headers: {
11040
- "x-access-token"?: string | undefined;
11041
- } & Partial<{
11042
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
11043
- }>;
11044
- }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.DomainDomain[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
11045
- [x: string]: unknown;
11046
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
11047
- [x: string]: unknown;
11048
- }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
11049
- headers?: Partial<{
11050
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
11051
- }>;
11052
- } & {
11053
- queryParameters: {
11054
- projectId?: string | undefined;
11055
- page?: number | undefined;
11056
- limit?: number | undefined;
11057
- domainSearchName?: string | undefined;
11058
- contactHash?: string | undefined;
11059
- } & Partial<{
11060
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
11061
- }>;
11062
- } & {
11063
- headers: {
11064
- "x-access-token"?: string | undefined;
11065
- } & Partial<{
11066
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
11067
- }>;
11068
- }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.DomainDomain[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
11069
- [x: string]: unknown;
11070
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
11071
- [x: string]: unknown;
11072
- }, 429, "application/json">>>;
11073
10913
  /** List the contact schemas for a TLD. */
11074
10914
  listTldContactSchemas: (request: {
11075
10915
  tld: string;
@@ -11367,11 +11207,11 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
11367
11207
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
11368
11208
  [x: string]: unknown;
11369
11209
  }, 429, "application/json">>>;
11370
- /** Update the nameservers of a Domain. */
11371
- updateDomainNameservers: (request: {
11210
+ /** Update a Domain's project id. */
11211
+ updateDomainProjectId: (request: {
11372
11212
  domainId: string;
11373
11213
  data?: {
11374
- nameservers?: [string, string, ...string[]] | undefined;
11214
+ projectId?: string | undefined;
11375
11215
  } | undefined;
11376
11216
  headers?: {
11377
11217
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
@@ -11379,7 +11219,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
11379
11219
  } | undefined;
11380
11220
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
11381
11221
  data: {
11382
- nameservers?: [string, string, ...string[]] | undefined;
11222
+ projectId?: string | undefined;
11383
11223
  };
11384
11224
  } & {
11385
11225
  pathParameters: {
@@ -11403,66 +11243,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
11403
11243
  [x: string]: unknown;
11404
11244
  }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
11405
11245
  data: {
11406
- nameservers?: [string, string, ...string[]] | undefined;
11407
- };
11408
- } & {
11409
- pathParameters: {
11410
- domainId: string;
11411
- };
11412
- } & {
11413
- headers?: Partial<{
11414
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
11415
- }>;
11416
- } & {
11417
- headers: {
11418
- "x-access-token"?: string | undefined;
11419
- } & Partial<{
11420
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
11421
- }>;
11422
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
11423
- [x: string]: unknown;
11424
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
11425
- [x: string]: unknown;
11426
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
11427
- [x: string]: unknown;
11428
- }, 429, "application/json">>>;
11429
- /** Update a Domain's project id. */
11430
- updateDomainProjectId: (request: {
11431
- domainId: string;
11432
- data?: {
11433
- projectId?: string | undefined;
11434
- } | undefined;
11435
- headers?: {
11436
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
11437
- "x-access-token"?: string | undefined;
11438
- } | undefined;
11439
- }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
11440
- data: {
11441
- projectId?: string | undefined;
11442
- };
11443
- } & {
11444
- pathParameters: {
11445
- domainId: string;
11446
- };
11447
- } & {
11448
- headers?: Partial<{
11449
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
11450
- }>;
11451
- } & {
11452
- headers: {
11453
- "x-access-token"?: string | undefined;
11454
- } & Partial<{
11455
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
11456
- }>;
11457
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
11458
- [x: string]: unknown;
11459
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
11460
- [x: string]: unknown;
11461
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
11462
- [x: string]: unknown;
11463
- }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
11464
- data: {
11465
- projectId?: string | undefined;
11246
+ projectId?: string | undefined;
11466
11247
  };
11467
11248
  } & {
11468
11249
  pathParameters: {
@@ -11827,55 +11608,6 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
11827
11608
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
11828
11609
  [x: string]: unknown;
11829
11610
  }, 429, "application/json">>>;
11830
- /** Update the paths of an Ingress. */
11831
- ingressUpdateIngressPaths: (request: {
11832
- data: import("./types.js").MittwaldAPIV2.Components.Schemas.IngressPath[];
11833
- ingressId: string;
11834
- headers?: {
11835
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
11836
- "x-access-token"?: string | undefined;
11837
- } | undefined;
11838
- }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
11839
- data: import("./types.js").MittwaldAPIV2.Components.Schemas.IngressPath[];
11840
- } & {
11841
- pathParameters: {
11842
- ingressId: string;
11843
- };
11844
- } & {
11845
- headers?: Partial<{
11846
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
11847
- }>;
11848
- } & {
11849
- headers: {
11850
- "x-access-token"?: string | undefined;
11851
- } & Partial<{
11852
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
11853
- }>;
11854
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
11855
- [x: string]: unknown;
11856
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
11857
- [x: string]: unknown;
11858
- }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
11859
- data: import("./types.js").MittwaldAPIV2.Components.Schemas.IngressPath[];
11860
- } & {
11861
- pathParameters: {
11862
- ingressId: string;
11863
- };
11864
- } & {
11865
- headers?: Partial<{
11866
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
11867
- }>;
11868
- } & {
11869
- headers: {
11870
- "x-access-token"?: string | undefined;
11871
- } & Partial<{
11872
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
11873
- }>;
11874
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
11875
- [x: string]: unknown;
11876
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
11877
- [x: string]: unknown;
11878
- }, 429, "application/json">>>;
11879
11611
  /** Request the ACME certificate issuance of an Ingress. */
11880
11612
  ingressRequestIngressAcmeCertificateIssuance: (request: {
11881
11613
  ingressId: string;
@@ -11924,92 +11656,6 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
11924
11656
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
11925
11657
  [x: string]: unknown;
11926
11658
  }, 429, "application/json">>>;
11927
- /** Update the tls settings of an Ingress. */
11928
- ingressUpdateIngressTls: (request: {
11929
- data: {
11930
- acme: boolean;
11931
- isCreated?: boolean | undefined;
11932
- requestDeadline?: string | undefined;
11933
- };
11934
- ingressId: string;
11935
- headers?: {
11936
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
11937
- "x-access-token"?: string | undefined;
11938
- } | undefined;
11939
- } | {
11940
- data: {
11941
- certificateId: string;
11942
- };
11943
- ingressId: string;
11944
- headers?: {
11945
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
11946
- "x-access-token"?: string | undefined;
11947
- } | undefined;
11948
- }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<(({
11949
- data: {
11950
- acme: boolean;
11951
- isCreated?: boolean | undefined;
11952
- requestDeadline?: string | undefined;
11953
- };
11954
- } | {
11955
- data: {
11956
- certificateId: string;
11957
- };
11958
- }) & {
11959
- pathParameters: {
11960
- ingressId: string;
11961
- };
11962
- }) & {
11963
- headers?: Partial<{
11964
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
11965
- }>;
11966
- } & {
11967
- headers: {
11968
- "x-access-token"?: string | undefined;
11969
- } & Partial<{
11970
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
11971
- }>;
11972
- }, import("@mittwald/api-client-commons").Response<{}, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
11973
- [x: string]: unknown;
11974
- }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
11975
- [x: string]: unknown;
11976
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
11977
- [x: string]: unknown;
11978
- }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
11979
- [x: string]: unknown;
11980
- }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<(({
11981
- data: {
11982
- acme: boolean;
11983
- isCreated?: boolean | undefined;
11984
- requestDeadline?: string | undefined;
11985
- };
11986
- } | {
11987
- data: {
11988
- certificateId: string;
11989
- };
11990
- }) & {
11991
- pathParameters: {
11992
- ingressId: string;
11993
- };
11994
- }) & {
11995
- headers?: Partial<{
11996
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
11997
- }>;
11998
- } & {
11999
- headers: {
12000
- "x-access-token"?: string | undefined;
12001
- } & Partial<{
12002
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
12003
- }>;
12004
- }, import("@mittwald/api-client-commons").Response<{}, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
12005
- [x: string]: unknown;
12006
- }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
12007
- [x: string]: unknown;
12008
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
12009
- [x: string]: unknown;
12010
- }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
12011
- [x: string]: unknown;
12012
- }, 429, "application/json">>>;
12013
11659
  /** Check the replacement of a Certificate. */
12014
11660
  sslCheckReplaceCertificate: (request: {
12015
11661
  data: {
@@ -12583,20 +12229,35 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
12583
12229
  [x: string]: unknown;
12584
12230
  }, 429, "application/json">>>;
12585
12231
  };
12586
- /** The file API allows you to manage your files, for example for conversations attachments and avatar uploads. */
12587
- readonly file: {
12588
- /** Create a File. */
12589
- createFile: (request: {
12590
- headers: {
12591
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
12592
- Token: string;
12232
+ /** The mail API allows you to manage your mail accounts. */
12233
+ readonly mail: {
12234
+ /** Update the autoresponder of a MailAddress. */
12235
+ updateMailAddressAutoresponder: (request: {
12236
+ data: {
12237
+ autoResponder: {
12238
+ active: boolean;
12239
+ message: string;
12240
+ expiresAt?: string | undefined;
12241
+ startsAt?: string | undefined;
12242
+ };
12593
12243
  };
12594
- data?: {
12595
- [x: string]: unknown;
12244
+ mailAddressId: string;
12245
+ headers?: {
12246
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
12247
+ "x-access-token"?: string | undefined;
12596
12248
  } | undefined;
12597
12249
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
12598
12250
  data: {
12599
- [x: string]: unknown;
12251
+ autoResponder: {
12252
+ active: boolean;
12253
+ expiresAt?: string;
12254
+ message: string;
12255
+ startsAt?: string;
12256
+ };
12257
+ };
12258
+ } & {
12259
+ pathParameters: {
12260
+ mailAddressId: string;
12600
12261
  };
12601
12262
  } & {
12602
12263
  headers?: Partial<{
@@ -12604,501 +12265,357 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
12604
12265
  }>;
12605
12266
  } & {
12606
12267
  headers: {
12607
- Token: string;
12268
+ "x-access-token"?: string | undefined;
12608
12269
  } & Partial<{
12609
12270
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
12610
12271
  }>;
12611
- }, import("@mittwald/api-client-commons").Response<{
12612
- friendlyURL: string;
12613
- friendlyUrl: string;
12614
- id: string;
12615
- mimeType: string;
12616
- name: string;
12617
- sizeInBytes: number;
12618
- type: string;
12619
- }, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
12272
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
12620
12273
  [x: string]: unknown;
12621
12274
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
12622
12275
  [x: string]: unknown;
12623
- }, 401, "application/json"> | import("@mittwald/api-client-commons").Response<{
12624
- [x: string]: unknown;
12625
- }, 406, "application/json"> | import("@mittwald/api-client-commons").Response<{
12276
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
12626
12277
  [x: string]: unknown;
12627
- }, 422, "application/json"> | import("@mittwald/api-client-commons").Response<{
12278
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
12628
12279
  [x: string]: unknown;
12629
12280
  }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
12630
12281
  [x: string]: unknown;
12631
- }, 500, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
12282
+ }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
12283
+ [x: string]: unknown;
12284
+ }, 503, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
12632
12285
  data: {
12633
- [x: string]: unknown;
12634
- };
12635
- } & {
12636
- headers?: Partial<{
12637
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
12286
+ autoResponder: {
12287
+ active: boolean;
12288
+ expiresAt?: string;
12289
+ message: string;
12290
+ startsAt?: string;
12291
+ };
12292
+ };
12293
+ } & {
12294
+ pathParameters: {
12295
+ mailAddressId: string;
12296
+ };
12297
+ } & {
12298
+ headers?: Partial<{
12299
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
12638
12300
  }>;
12639
12301
  } & {
12640
12302
  headers: {
12641
- Token: string;
12303
+ "x-access-token"?: string | undefined;
12642
12304
  } & Partial<{
12643
12305
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
12644
12306
  }>;
12645
- }, import("@mittwald/api-client-commons").Response<{
12646
- friendlyURL: string;
12647
- friendlyUrl: string;
12648
- id: string;
12649
- mimeType: string;
12650
- name: string;
12651
- sizeInBytes: number;
12652
- type: string;
12653
- }, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
12307
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
12654
12308
  [x: string]: unknown;
12655
12309
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
12656
12310
  [x: string]: unknown;
12657
- }, 401, "application/json"> | import("@mittwald/api-client-commons").Response<{
12658
- [x: string]: unknown;
12659
- }, 406, "application/json"> | import("@mittwald/api-client-commons").Response<{
12311
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
12660
12312
  [x: string]: unknown;
12661
- }, 422, "application/json"> | import("@mittwald/api-client-commons").Response<{
12313
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
12662
12314
  [x: string]: unknown;
12663
12315
  }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
12664
12316
  [x: string]: unknown;
12665
- }, 500, "application/json">>>;
12666
- /** Get a File's meta. */
12667
- getFileMeta: (request: {
12668
- fileId: string;
12317
+ }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
12318
+ [x: string]: unknown;
12319
+ }, 503, "application/json">>>;
12320
+ /** Update the forward addresses of a MailAddresses. */
12321
+ updateMailAddressForwardAddresses: (request: {
12322
+ data: {
12323
+ forwardAddresses: string[];
12324
+ };
12325
+ mailAddressId: string;
12669
12326
  headers?: {
12670
12327
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
12671
- Token?: string | undefined;
12672
- } | undefined;
12673
- queryParameters?: {
12674
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
12675
- token?: string | undefined;
12328
+ "x-access-token"?: string | undefined;
12676
12329
  } | undefined;
12677
12330
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
12678
- headers?: Partial<{
12679
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
12680
- }>;
12331
+ data: {
12332
+ forwardAddresses: string[];
12333
+ };
12681
12334
  } & {
12682
12335
  pathParameters: {
12683
- fileId: string;
12336
+ mailAddressId: string;
12684
12337
  };
12685
12338
  } & {
12686
- queryParameters: {
12687
- token?: string | undefined;
12688
- } & Partial<{
12339
+ headers?: Partial<{
12689
12340
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
12690
12341
  }>;
12691
12342
  } & {
12692
12343
  headers: {
12693
- Token?: string | undefined;
12344
+ "x-access-token"?: string | undefined;
12694
12345
  } & Partial<{
12695
12346
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
12696
12347
  }>;
12697
- }, import("@mittwald/api-client-commons").Response<{
12698
- friendlyURL: string;
12699
- friendlyUrl: string;
12700
- id: string;
12701
- mimeType: string;
12702
- name: string;
12703
- sizeInBytes: number;
12704
- type: string;
12705
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
12348
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
12706
12349
  [x: string]: unknown;
12707
12350
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
12708
12351
  [x: string]: unknown;
12709
- }, 401, "application/json"> | import("@mittwald/api-client-commons").Response<{
12710
- [x: string]: unknown;
12711
12352
  }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
12712
12353
  [x: string]: unknown;
12713
12354
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
12714
12355
  [x: string]: unknown;
12715
- }, 422, "application/json"> | import("@mittwald/api-client-commons").Response<{
12716
- [x: string]: unknown;
12717
12356
  }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
12718
12357
  [x: string]: unknown;
12719
- }, 500, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
12720
- headers?: Partial<{
12721
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
12722
- }>;
12358
+ }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
12359
+ [x: string]: unknown;
12360
+ }, 503, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
12361
+ data: {
12362
+ forwardAddresses: string[];
12363
+ };
12723
12364
  } & {
12724
12365
  pathParameters: {
12725
- fileId: string;
12366
+ mailAddressId: string;
12726
12367
  };
12727
12368
  } & {
12728
- queryParameters: {
12729
- token?: string | undefined;
12730
- } & Partial<{
12369
+ headers?: Partial<{
12731
12370
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
12732
12371
  }>;
12733
12372
  } & {
12734
12373
  headers: {
12735
- Token?: string | undefined;
12374
+ "x-access-token"?: string | undefined;
12736
12375
  } & Partial<{
12737
12376
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
12738
12377
  }>;
12739
- }, import("@mittwald/api-client-commons").Response<{
12740
- friendlyURL: string;
12741
- friendlyUrl: string;
12742
- id: string;
12743
- mimeType: string;
12744
- name: string;
12745
- sizeInBytes: number;
12746
- type: string;
12747
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
12378
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
12748
12379
  [x: string]: unknown;
12749
12380
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
12750
12381
  [x: string]: unknown;
12751
- }, 401, "application/json"> | import("@mittwald/api-client-commons").Response<{
12752
- [x: string]: unknown;
12753
12382
  }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
12754
12383
  [x: string]: unknown;
12755
12384
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
12756
12385
  [x: string]: unknown;
12757
- }, 422, "application/json"> | import("@mittwald/api-client-commons").Response<{
12758
- [x: string]: unknown;
12759
12386
  }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
12760
12387
  [x: string]: unknown;
12761
- }, 500, "application/json">>>;
12762
- /** Get a FileUploadToken's rules. */
12763
- getFileUploadTokenRules: (request: {
12764
- fileUploadToken: string;
12388
+ }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
12389
+ [x: string]: unknown;
12390
+ }, 503, "application/json">>>;
12391
+ /** Update the password for a MailAddress. */
12392
+ updateMailAddressPassword: (request: {
12393
+ data: {
12394
+ password: string;
12395
+ };
12396
+ mailAddressId: string;
12765
12397
  headers?: {
12766
12398
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
12399
+ "x-access-token"?: string | undefined;
12767
12400
  } | undefined;
12768
12401
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
12402
+ data: {
12403
+ password: string;
12404
+ };
12405
+ } & {
12406
+ pathParameters: {
12407
+ mailAddressId: string;
12408
+ };
12409
+ } & {
12769
12410
  headers?: Partial<{
12770
12411
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
12771
12412
  }>;
12772
12413
  } & {
12773
- pathParameters: {
12774
- fileUploadToken: string;
12775
- };
12776
- }, import("@mittwald/api-client-commons").Response<{
12777
- extensions: string[];
12778
- fileTypes: import("./types.js").MittwaldAPIV2.Components.Schemas.FileFileType[];
12779
- maxSizeInBytes: number;
12780
- maxSizeInKB: number;
12781
- maxSizeInKb: number;
12782
- mimeTypes: string[];
12783
- properties?: {
12784
- imageDimensions?: {
12785
- max?: {
12786
- height?: number;
12787
- width?: number;
12788
- };
12789
- min?: {
12790
- height?: number;
12791
- width?: number;
12792
- };
12793
- };
12794
- } | undefined;
12795
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
12414
+ headers: {
12415
+ "x-access-token"?: string | undefined;
12416
+ } & Partial<{
12417
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
12418
+ }>;
12419
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
12796
12420
  [x: string]: unknown;
12797
12421
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
12798
12422
  [x: string]: unknown;
12423
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
12424
+ [x: string]: unknown;
12799
12425
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
12800
12426
  [x: string]: unknown;
12801
12427
  }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
12802
12428
  [x: string]: unknown;
12803
- }, 500, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
12429
+ }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
12430
+ [x: string]: unknown;
12431
+ }, 503, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
12432
+ data: {
12433
+ password: string;
12434
+ };
12435
+ } & {
12436
+ pathParameters: {
12437
+ mailAddressId: string;
12438
+ };
12439
+ } & {
12804
12440
  headers?: Partial<{
12805
12441
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
12806
12442
  }>;
12807
12443
  } & {
12808
- pathParameters: {
12809
- fileUploadToken: string;
12810
- };
12811
- }, import("@mittwald/api-client-commons").Response<{
12812
- extensions: string[];
12813
- fileTypes: import("./types.js").MittwaldAPIV2.Components.Schemas.FileFileType[];
12814
- maxSizeInBytes: number;
12815
- maxSizeInKB: number;
12816
- maxSizeInKb: number;
12817
- mimeTypes: string[];
12818
- properties?: {
12819
- imageDimensions?: {
12820
- max?: {
12821
- height?: number;
12822
- width?: number;
12823
- };
12824
- min?: {
12825
- height?: number;
12826
- width?: number;
12827
- };
12828
- };
12829
- } | undefined;
12830
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
12444
+ headers: {
12445
+ "x-access-token"?: string | undefined;
12446
+ } & Partial<{
12447
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
12448
+ }>;
12449
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
12831
12450
  [x: string]: unknown;
12832
12451
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
12833
12452
  [x: string]: unknown;
12453
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
12454
+ [x: string]: unknown;
12834
12455
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
12835
12456
  [x: string]: unknown;
12836
12457
  }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
12837
12458
  [x: string]: unknown;
12838
- }, 500, "application/json">>>;
12839
- /** Get a FileUploadType's rules. */
12840
- getFileUploadTypeRules: (request: {
12841
- fileUploadType: "avatar" | "conversation";
12459
+ }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
12460
+ [x: string]: unknown;
12461
+ }, 503, "application/json">>>;
12462
+ /** Update the quota of a MailAddress. */
12463
+ updateMailAddressQuota: (request: {
12464
+ data: {
12465
+ quotaInBytes: number;
12466
+ };
12467
+ mailAddressId: string;
12842
12468
  headers?: {
12843
12469
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
12470
+ "x-access-token"?: string | undefined;
12844
12471
  } | undefined;
12845
12472
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
12846
- headers?: Partial<{
12847
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
12848
- }>;
12473
+ data: {
12474
+ quotaInBytes: number;
12475
+ };
12849
12476
  } & {
12850
12477
  pathParameters: {
12851
- fileUploadType: "avatar" | "conversation";
12478
+ mailAddressId: string;
12852
12479
  };
12853
- }, import("@mittwald/api-client-commons").Response<{
12854
- extensions: string[];
12855
- fileTypes: import("./types.js").MittwaldAPIV2.Components.Schemas.FileFileType[];
12856
- maxSizeInBytes: number;
12857
- maxSizeInKB: number;
12858
- maxSizeInKb: number;
12859
- mimeTypes: string[];
12860
- properties?: {
12861
- imageDimensions?: {
12862
- max?: {
12863
- height?: number;
12864
- width?: number;
12865
- };
12866
- min?: {
12867
- height?: number;
12868
- width?: number;
12869
- };
12870
- };
12871
- } | undefined;
12872
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
12873
- [x: string]: unknown;
12874
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
12875
- [x: string]: unknown;
12876
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
12877
- [x: string]: unknown;
12878
- }, 500, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
12480
+ } & {
12879
12481
  headers?: Partial<{
12880
12482
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
12881
12483
  }>;
12882
- } & {
12883
- pathParameters: {
12884
- fileUploadType: "avatar" | "conversation";
12885
- };
12886
- }, import("@mittwald/api-client-commons").Response<{
12887
- extensions: string[];
12888
- fileTypes: import("./types.js").MittwaldAPIV2.Components.Schemas.FileFileType[];
12889
- maxSizeInBytes: number;
12890
- maxSizeInKB: number;
12891
- maxSizeInKb: number;
12892
- mimeTypes: string[];
12893
- properties?: {
12894
- imageDimensions?: {
12895
- max?: {
12896
- height?: number;
12897
- width?: number;
12898
- };
12899
- min?: {
12900
- height?: number;
12901
- width?: number;
12902
- };
12903
- };
12904
- } | undefined;
12905
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
12906
- [x: string]: unknown;
12907
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
12908
- [x: string]: unknown;
12909
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
12910
- [x: string]: unknown;
12911
- }, 500, "application/json">>>;
12912
- /** Get a File. */
12913
- getFile: (request: {
12914
- fileId: string;
12915
- headers?: {
12916
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
12917
- Accept?: "application/octet-stream" | "text/plain;base64" | undefined;
12918
- "Content-Disposition"?: "inline" | "attachment" | undefined;
12919
- Token?: string | undefined;
12920
- } | undefined;
12921
- queryParameters?: {
12922
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
12923
- accept?: "application/octet-stream" | "text/plain;base64" | undefined;
12924
- "content-disposition"?: "inline" | "attachment" | undefined;
12925
- token?: string | undefined;
12926
- } | undefined;
12927
- }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
12928
- headers?: Partial<{
12929
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
12930
- }>;
12931
- } & {
12932
- pathParameters: {
12933
- fileId: string;
12934
- };
12935
- } & {
12936
- queryParameters: {
12937
- accept?: "application/octet-stream" | "text/plain;base64" | undefined;
12938
- "content-disposition"?: "inline" | "attachment" | undefined;
12939
- token?: string | undefined;
12940
- } & Partial<{
12941
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
12942
- }>;
12943
12484
  } & {
12944
12485
  headers: {
12945
- Accept?: "application/octet-stream" | "text/plain;base64" | undefined;
12946
- "Content-Disposition"?: "inline" | "attachment" | undefined;
12947
- Token?: string | undefined;
12486
+ "x-access-token"?: string | undefined;
12948
12487
  } & Partial<{
12949
12488
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
12950
12489
  }>;
12951
- }, import("@mittwald/api-client-commons").Response<string, 200, "application/octet-stream"> | import("@mittwald/api-client-commons").Response<string, 200, "text/plain;base64"> | import("@mittwald/api-client-commons").Response<{
12490
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
12952
12491
  [x: string]: unknown;
12953
12492
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
12954
12493
  [x: string]: unknown;
12955
- }, 401, "application/json"> | import("@mittwald/api-client-commons").Response<{
12956
- [x: string]: unknown;
12957
12494
  }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
12958
12495
  [x: string]: unknown;
12959
12496
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
12960
12497
  [x: string]: unknown;
12961
- }, 422, "application/json"> | import("@mittwald/api-client-commons").Response<{
12962
- [x: string]: unknown;
12963
12498
  }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
12964
12499
  [x: string]: unknown;
12965
- }, 500, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
12966
- headers?: Partial<{
12967
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
12968
- }>;
12500
+ }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
12501
+ [x: string]: unknown;
12502
+ }, 503, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
12503
+ data: {
12504
+ quotaInBytes: number;
12505
+ };
12969
12506
  } & {
12970
12507
  pathParameters: {
12971
- fileId: string;
12508
+ mailAddressId: string;
12972
12509
  };
12973
12510
  } & {
12974
- queryParameters: {
12975
- accept?: "application/octet-stream" | "text/plain;base64" | undefined;
12976
- "content-disposition"?: "inline" | "attachment" | undefined;
12977
- token?: string | undefined;
12978
- } & Partial<{
12511
+ headers?: Partial<{
12979
12512
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
12980
12513
  }>;
12981
12514
  } & {
12982
12515
  headers: {
12983
- Accept?: "application/octet-stream" | "text/plain;base64" | undefined;
12984
- "Content-Disposition"?: "inline" | "attachment" | undefined;
12985
- Token?: string | undefined;
12516
+ "x-access-token"?: string | undefined;
12986
12517
  } & Partial<{
12987
12518
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
12988
12519
  }>;
12989
- }, import("@mittwald/api-client-commons").Response<string, 200, "application/octet-stream"> | import("@mittwald/api-client-commons").Response<string, 200, "text/plain;base64"> | import("@mittwald/api-client-commons").Response<{
12520
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
12990
12521
  [x: string]: unknown;
12991
12522
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
12992
12523
  [x: string]: unknown;
12993
- }, 401, "application/json"> | import("@mittwald/api-client-commons").Response<{
12994
- [x: string]: unknown;
12995
12524
  }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
12996
12525
  [x: string]: unknown;
12997
12526
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
12998
12527
  [x: string]: unknown;
12999
- }, 422, "application/json"> | import("@mittwald/api-client-commons").Response<{
13000
- [x: string]: unknown;
13001
12528
  }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
13002
12529
  [x: string]: unknown;
13003
- }, 500, "application/json">>>;
13004
- /** Get a File with user-friendly url. */
13005
- getFileWithName: (request: {
13006
- fileId: string;
13007
- fileName: string;
12530
+ }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
12531
+ [x: string]: unknown;
12532
+ }, 503, "application/json">>>;
12533
+ /** Update the spam protection of a MailAddress. */
12534
+ updateMailAddressSpamProtection: (request: {
12535
+ data: {
12536
+ spamProtection: {
12537
+ active: boolean;
12538
+ autoDeleteSpam: boolean;
12539
+ folder: "inbox" | "spam";
12540
+ relocationMinSpamScore: number;
12541
+ };
12542
+ };
12543
+ mailAddressId: string;
13008
12544
  headers?: {
13009
12545
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
13010
- Accept?: "application/octet-stream" | "text/plain;base64" | undefined;
13011
- "Content-Disposition"?: "inline" | "attachment" | undefined;
13012
- Token?: string | undefined;
13013
- } | undefined;
13014
- queryParameters?: {
13015
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
13016
- accept?: "application/octet-stream" | "text/plain;base64" | undefined;
13017
- "content-disposition"?: "inline" | "attachment" | undefined;
13018
- token?: string | undefined;
12546
+ "x-access-token"?: string | undefined;
13019
12547
  } | undefined;
13020
12548
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
13021
- headers?: Partial<{
13022
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13023
- }>;
12549
+ data: {
12550
+ spamProtection: {
12551
+ active: boolean;
12552
+ autoDeleteSpam: boolean;
12553
+ folder: "inbox" | "spam";
12554
+ relocationMinSpamScore: number;
12555
+ };
12556
+ };
13024
12557
  } & {
13025
12558
  pathParameters: {
13026
- fileId: string;
13027
- fileName: string;
12559
+ mailAddressId: string;
13028
12560
  };
13029
12561
  } & {
13030
- queryParameters: {
13031
- accept?: "application/octet-stream" | "text/plain;base64" | undefined;
13032
- "content-disposition"?: "inline" | "attachment" | undefined;
13033
- token?: string | undefined;
13034
- } & Partial<{
12562
+ headers?: Partial<{
13035
12563
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13036
12564
  }>;
13037
12565
  } & {
13038
12566
  headers: {
13039
- Accept?: "application/octet-stream" | "text/plain;base64" | undefined;
13040
- "Content-Disposition"?: "inline" | "attachment" | undefined;
13041
- Token?: string | undefined;
12567
+ "x-access-token"?: string | undefined;
13042
12568
  } & Partial<{
13043
12569
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13044
12570
  }>;
13045
- }, import("@mittwald/api-client-commons").Response<string, 200, "application/octet-stream"> | import("@mittwald/api-client-commons").Response<string, 200, "text/plain;base64"> | import("@mittwald/api-client-commons").Response<{
12571
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
13046
12572
  [x: string]: unknown;
13047
12573
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
13048
12574
  [x: string]: unknown;
13049
- }, 401, "application/json"> | import("@mittwald/api-client-commons").Response<{
13050
- [x: string]: unknown;
13051
12575
  }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
13052
12576
  [x: string]: unknown;
13053
12577
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
13054
12578
  [x: string]: unknown;
13055
- }, 422, "application/json"> | import("@mittwald/api-client-commons").Response<{
13056
- [x: string]: unknown;
13057
12579
  }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
13058
12580
  [x: string]: unknown;
13059
- }, 500, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
13060
- headers?: Partial<{
13061
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13062
- }>;
12581
+ }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
12582
+ [x: string]: unknown;
12583
+ }, 503, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
12584
+ data: {
12585
+ spamProtection: {
12586
+ active: boolean;
12587
+ autoDeleteSpam: boolean;
12588
+ folder: "inbox" | "spam";
12589
+ relocationMinSpamScore: number;
12590
+ };
12591
+ };
13063
12592
  } & {
13064
12593
  pathParameters: {
13065
- fileId: string;
13066
- fileName: string;
12594
+ mailAddressId: string;
13067
12595
  };
13068
12596
  } & {
13069
- queryParameters: {
13070
- accept?: "application/octet-stream" | "text/plain;base64" | undefined;
13071
- "content-disposition"?: "inline" | "attachment" | undefined;
13072
- token?: string | undefined;
13073
- } & Partial<{
12597
+ headers?: Partial<{
13074
12598
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13075
12599
  }>;
13076
12600
  } & {
13077
12601
  headers: {
13078
- Accept?: "application/octet-stream" | "text/plain;base64" | undefined;
13079
- "Content-Disposition"?: "inline" | "attachment" | undefined;
13080
- Token?: string | undefined;
12602
+ "x-access-token"?: string | undefined;
13081
12603
  } & Partial<{
13082
12604
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13083
12605
  }>;
13084
- }, import("@mittwald/api-client-commons").Response<string, 200, "application/octet-stream"> | import("@mittwald/api-client-commons").Response<string, 200, "text/plain;base64"> | import("@mittwald/api-client-commons").Response<{
12606
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
13085
12607
  [x: string]: unknown;
13086
12608
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
13087
12609
  [x: string]: unknown;
13088
- }, 401, "application/json"> | import("@mittwald/api-client-commons").Response<{
13089
- [x: string]: unknown;
13090
12610
  }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
13091
12611
  [x: string]: unknown;
13092
12612
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
13093
12613
  [x: string]: unknown;
13094
- }, 422, "application/json"> | import("@mittwald/api-client-commons").Response<{
13095
- [x: string]: unknown;
13096
12614
  }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
13097
12615
  [x: string]: unknown;
13098
- }, 500, "application/json">>>;
13099
- };
13100
- /** The mail API allows you to manage your mail accounts. */
13101
- readonly mail: {
12616
+ }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
12617
+ [x: string]: unknown;
12618
+ }, 503, "application/json">>>;
13102
12619
  /** List DeliveryBoxes belonging to a Project. */
13103
12620
  listDeliveryBoxes: (request: {
13104
12621
  projectId: string;
@@ -14065,15 +13582,10 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
14065
13582
  }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
14066
13583
  [x: string]: unknown;
14067
13584
  }, 503, "application/json">>>;
14068
- /** Update the autoresponder of a MailAddress. */
14069
- updateMailAddressAutoresponder: (request: {
13585
+ /** Update the catchall of a MailAddress. */
13586
+ updateMailAddressCatchAll: (request: {
14070
13587
  data: {
14071
- autoResponder: {
14072
- active: boolean;
14073
- message: string;
14074
- expiresAt?: string | undefined;
14075
- startsAt?: string | undefined;
14076
- };
13588
+ active: boolean;
14077
13589
  };
14078
13590
  mailAddressId: string;
14079
13591
  headers?: {
@@ -14082,12 +13594,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
14082
13594
  } | undefined;
14083
13595
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
14084
13596
  data: {
14085
- autoResponder: {
14086
- active: boolean;
14087
- expiresAt?: string;
14088
- message: string;
14089
- startsAt?: string;
14090
- };
13597
+ active: boolean;
14091
13598
  };
14092
13599
  } & {
14093
13600
  pathParameters: {
@@ -14117,12 +13624,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
14117
13624
  [x: string]: unknown;
14118
13625
  }, 503, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
14119
13626
  data: {
14120
- autoResponder: {
14121
- active: boolean;
14122
- expiresAt?: string;
14123
- message: string;
14124
- startsAt?: string;
14125
- };
13627
+ active: boolean;
14126
13628
  };
14127
13629
  } & {
14128
13630
  pathParameters: {
@@ -14151,25 +13653,41 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
14151
13653
  }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
14152
13654
  [x: string]: unknown;
14153
13655
  }, 503, "application/json">>>;
14154
- /** Update the catchall of a MailAddress. */
14155
- updateMailAddressCatchAll: (request: {
13656
+ /** Update a mail setting of a Project. */
13657
+ updateProjectMailSetting: (request: {
14156
13658
  data: {
14157
- active: boolean;
13659
+ blacklist: string[];
14158
13660
  };
14159
- mailAddressId: string;
13661
+ projectId: string;
13662
+ mailSetting: "blacklist" | "whitelist";
14160
13663
  headers?: {
14161
13664
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
14162
13665
  "x-access-token"?: string | undefined;
14163
13666
  } | undefined;
14164
- }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
13667
+ } | {
14165
13668
  data: {
14166
- active: boolean;
13669
+ whitelist: string[];
14167
13670
  };
14168
- } & {
13671
+ projectId: string;
13672
+ mailSetting: "blacklist" | "whitelist";
13673
+ headers?: {
13674
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
13675
+ "x-access-token"?: string | undefined;
13676
+ } | undefined;
13677
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<(({
13678
+ data: {
13679
+ blacklist: string[];
13680
+ };
13681
+ } | {
13682
+ data: {
13683
+ whitelist: string[];
13684
+ };
13685
+ }) & {
14169
13686
  pathParameters: {
14170
- mailAddressId: string;
13687
+ projectId: string;
13688
+ mailSetting: "blacklist" | "whitelist";
14171
13689
  };
14172
- } & {
13690
+ }) & {
14173
13691
  headers?: Partial<{
14174
13692
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14175
13693
  }>;
@@ -14191,15 +13709,20 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
14191
13709
  [x: string]: unknown;
14192
13710
  }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
14193
13711
  [x: string]: unknown;
14194
- }, 503, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
13712
+ }, 503, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<(({
14195
13713
  data: {
14196
- active: boolean;
13714
+ blacklist: string[];
14197
13715
  };
14198
- } & {
13716
+ } | {
13717
+ data: {
13718
+ whitelist: string[];
13719
+ };
13720
+ }) & {
14199
13721
  pathParameters: {
14200
- mailAddressId: string;
13722
+ projectId: string;
13723
+ mailSetting: "blacklist" | "whitelist";
14201
13724
  };
14202
- } & {
13725
+ }) & {
14203
13726
  headers?: Partial<{
14204
13727
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14205
13728
  }>;
@@ -14222,23 +13745,23 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
14222
13745
  }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
14223
13746
  [x: string]: unknown;
14224
13747
  }, 503, "application/json">>>;
14225
- /** Update the forward addresses of a MailAddresses. */
14226
- updateMailAddressForwardAddresses: (request: {
14227
- data: {
14228
- forwardAddresses: string[];
14229
- };
14230
- mailAddressId: string;
13748
+ };
13749
+ /** The notification API allows you to manage your notifications. */
13750
+ readonly notification: {
13751
+ /** Subscribe a user to the mStudio newsletter. */
13752
+ newsletterSubscribeUser: (request?: {
13753
+ data?: {
13754
+ firstName?: string | undefined;
13755
+ lastName?: string | undefined;
13756
+ } | undefined;
14231
13757
  headers?: {
14232
13758
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
14233
13759
  "x-access-token"?: string | undefined;
14234
13760
  } | undefined;
14235
- }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
13761
+ } | null | undefined, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
14236
13762
  data: {
14237
- forwardAddresses: string[];
14238
- };
14239
- } & {
14240
- pathParameters: {
14241
- mailAddressId: string;
13763
+ firstName?: string | undefined;
13764
+ lastName?: string | undefined;
14242
13765
  };
14243
13766
  } & {
14244
13767
  headers?: Partial<{
@@ -14250,25 +13773,18 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
14250
13773
  } & Partial<{
14251
13774
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14252
13775
  }>;
14253
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
13776
+ }, import("@mittwald/api-client-commons").Response<{
13777
+ active: boolean;
13778
+ email: string;
13779
+ registered: boolean;
13780
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
14254
13781
  [x: string]: unknown;
14255
13782
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
14256
13783
  [x: string]: unknown;
14257
- }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
14258
- [x: string]: unknown;
14259
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
14260
- [x: string]: unknown;
14261
- }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
14262
- [x: string]: unknown;
14263
- }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
14264
- [x: string]: unknown;
14265
- }, 503, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
13784
+ }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
14266
13785
  data: {
14267
- forwardAddresses: string[];
14268
- };
14269
- } & {
14270
- pathParameters: {
14271
- mailAddressId: string;
13786
+ firstName?: string | undefined;
13787
+ lastName?: string | undefined;
14272
13788
  };
14273
13789
  } & {
14274
13790
  headers?: Partial<{
@@ -14280,38 +13796,22 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
14280
13796
  } & Partial<{
14281
13797
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14282
13798
  }>;
14283
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
13799
+ }, import("@mittwald/api-client-commons").Response<{
13800
+ active: boolean;
13801
+ email: string;
13802
+ registered: boolean;
13803
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
14284
13804
  [x: string]: unknown;
14285
13805
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
14286
13806
  [x: string]: unknown;
14287
- }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
14288
- [x: string]: unknown;
14289
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
14290
- [x: string]: unknown;
14291
- }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
14292
- [x: string]: unknown;
14293
- }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
14294
- [x: string]: unknown;
14295
- }, 503, "application/json">>>;
14296
- /** Update the password for a MailAddress. */
14297
- updateMailAddressPassword: (request: {
14298
- data: {
14299
- password: string;
14300
- };
14301
- mailAddressId: string;
13807
+ }, 429, "application/json">>>;
13808
+ /** Getting the subscription status of the subscription. */
13809
+ newsletterGetInfo: (request?: {
14302
13810
  headers?: {
14303
13811
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
14304
13812
  "x-access-token"?: string | undefined;
14305
13813
  } | undefined;
14306
- }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
14307
- data: {
14308
- password: string;
14309
- };
14310
- } & {
14311
- pathParameters: {
14312
- mailAddressId: string;
14313
- };
14314
- } & {
13814
+ } | null | undefined, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
14315
13815
  headers?: Partial<{
14316
13816
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14317
13817
  }>;
@@ -14321,27 +13821,13 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
14321
13821
  } & Partial<{
14322
13822
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14323
13823
  }>;
14324
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
14325
- [x: string]: unknown;
14326
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
14327
- [x: string]: unknown;
14328
- }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
14329
- [x: string]: unknown;
14330
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
14331
- [x: string]: unknown;
14332
- }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
14333
- [x: string]: unknown;
14334
- }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
13824
+ }, import("@mittwald/api-client-commons").Response<{
13825
+ active: boolean;
13826
+ email: string;
13827
+ registered: boolean;
13828
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
14335
13829
  [x: string]: unknown;
14336
- }, 503, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
14337
- data: {
14338
- password: string;
14339
- };
14340
- } & {
14341
- pathParameters: {
14342
- mailAddressId: string;
14343
- };
14344
- } & {
13830
+ }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
14345
13831
  headers?: Partial<{
14346
13832
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14347
13833
  }>;
@@ -14351,38 +13837,20 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
14351
13837
  } & Partial<{
14352
13838
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14353
13839
  }>;
14354
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
14355
- [x: string]: unknown;
14356
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
14357
- [x: string]: unknown;
14358
- }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
14359
- [x: string]: unknown;
14360
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
14361
- [x: string]: unknown;
14362
- }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
14363
- [x: string]: unknown;
14364
- }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
13840
+ }, import("@mittwald/api-client-commons").Response<{
13841
+ active: boolean;
13842
+ email: string;
13843
+ registered: boolean;
13844
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
14365
13845
  [x: string]: unknown;
14366
- }, 503, "application/json">>>;
14367
- /** Update the quota of a MailAddress. */
14368
- updateMailAddressQuota: (request: {
14369
- data: {
14370
- quotaInBytes: number;
14371
- };
14372
- mailAddressId: string;
13846
+ }, 429, "application/json">>>;
13847
+ /** Unsubscribe a user from the mStudio newsletter. */
13848
+ newsletterUnsubscribeUser: (request?: {
14373
13849
  headers?: {
14374
13850
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
14375
13851
  "x-access-token"?: string | undefined;
14376
13852
  } | undefined;
14377
- }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
14378
- data: {
14379
- quotaInBytes: number;
14380
- };
14381
- } & {
14382
- pathParameters: {
14383
- mailAddressId: string;
14384
- };
14385
- } & {
13853
+ } | null | undefined, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
14386
13854
  headers?: Partial<{
14387
13855
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14388
13856
  }>;
@@ -14394,25 +13862,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
14394
13862
  }>;
14395
13863
  }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
14396
13864
  [x: string]: unknown;
14397
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
14398
- [x: string]: unknown;
14399
- }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
14400
- [x: string]: unknown;
14401
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
14402
- [x: string]: unknown;
14403
- }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
14404
- [x: string]: unknown;
14405
- }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
14406
- [x: string]: unknown;
14407
- }, 503, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
14408
- data: {
14409
- quotaInBytes: number;
14410
- };
14411
- } & {
14412
- pathParameters: {
14413
- mailAddressId: string;
14414
- };
14415
- } & {
13865
+ }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
14416
13866
  headers?: Partial<{
14417
13867
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14418
13868
  }>;
@@ -14424,46 +13874,14 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
14424
13874
  }>;
14425
13875
  }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
14426
13876
  [x: string]: unknown;
14427
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
14428
- [x: string]: unknown;
14429
- }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
14430
- [x: string]: unknown;
14431
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
14432
- [x: string]: unknown;
14433
- }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
14434
- [x: string]: unknown;
14435
- }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
14436
- [x: string]: unknown;
14437
- }, 503, "application/json">>>;
14438
- /** Update the spam protection of a MailAddress. */
14439
- updateMailAddressSpamProtection: (request: {
14440
- data: {
14441
- spamProtection: {
14442
- active: boolean;
14443
- autoDeleteSpam: boolean;
14444
- folder: "inbox" | "spam";
14445
- relocationMinSpamScore: number;
14446
- };
14447
- };
14448
- mailAddressId: string;
13877
+ }, 429, "application/json">>>;
13878
+ /** Get the counts for unread notifications of the user. */
13879
+ scountUnreadNotifications: (request?: {
14449
13880
  headers?: {
14450
13881
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
14451
13882
  "x-access-token"?: string | undefined;
14452
13883
  } | undefined;
14453
- }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
14454
- data: {
14455
- spamProtection: {
14456
- active: boolean;
14457
- autoDeleteSpam: boolean;
14458
- folder: "inbox" | "spam";
14459
- relocationMinSpamScore: number;
14460
- };
14461
- };
14462
- } & {
14463
- pathParameters: {
14464
- mailAddressId: string;
14465
- };
14466
- } & {
13884
+ } | null | undefined, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
14467
13885
  headers?: Partial<{
14468
13886
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14469
13887
  }>;
@@ -14473,32 +13891,15 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
14473
13891
  } & Partial<{
14474
13892
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14475
13893
  }>;
14476
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
14477
- [x: string]: unknown;
14478
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
14479
- [x: string]: unknown;
14480
- }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
14481
- [x: string]: unknown;
14482
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
14483
- [x: string]: unknown;
14484
- }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
14485
- [x: string]: unknown;
14486
- }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
13894
+ }, import("@mittwald/api-client-commons").Response<{
13895
+ error: number;
13896
+ info: number;
13897
+ success: number;
13898
+ total: number;
13899
+ warning: number;
13900
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
14487
13901
  [x: string]: unknown;
14488
- }, 503, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
14489
- data: {
14490
- spamProtection: {
14491
- active: boolean;
14492
- autoDeleteSpam: boolean;
14493
- folder: "inbox" | "spam";
14494
- relocationMinSpamScore: number;
14495
- };
14496
- };
14497
- } & {
14498
- pathParameters: {
14499
- mailAddressId: string;
14500
- };
14501
- } & {
13902
+ }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
14502
13903
  headers?: Partial<{
14503
13904
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14504
13905
  }>;
@@ -14508,111 +13909,710 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
14508
13909
  } & Partial<{
14509
13910
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14510
13911
  }>;
14511
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
14512
- [x: string]: unknown;
14513
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
13912
+ }, import("@mittwald/api-client-commons").Response<{
13913
+ error: number;
13914
+ info: number;
13915
+ success: number;
13916
+ total: number;
13917
+ warning: number;
13918
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
13919
+ [x: string]: unknown;
13920
+ }, 429, "application/json">>>;
13921
+ /** List all unread notifications. */
13922
+ slistNotifications: (request?: {
13923
+ headers?: {
13924
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
13925
+ "x-access-token"?: string | undefined;
13926
+ } | undefined;
13927
+ queryParameters?: {
13928
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
13929
+ status?: "unread" | "read" | undefined;
13930
+ limit?: number | undefined;
13931
+ skip?: number | undefined;
13932
+ page?: number | undefined;
13933
+ } | undefined;
13934
+ } | null | undefined, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
13935
+ headers?: Partial<{
13936
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13937
+ }>;
13938
+ } & {
13939
+ queryParameters: {
13940
+ status?: "unread" | "read" | undefined;
13941
+ limit?: number | undefined;
13942
+ skip?: number | undefined;
13943
+ page?: number | undefined;
13944
+ } & Partial<{
13945
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13946
+ }>;
13947
+ } & {
13948
+ headers: {
13949
+ "x-access-token"?: string | undefined;
13950
+ } & Partial<{
13951
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13952
+ }>;
13953
+ }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.MessagingNotification[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
13954
+ [x: string]: unknown;
13955
+ }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
13956
+ headers?: Partial<{
13957
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13958
+ }>;
13959
+ } & {
13960
+ queryParameters: {
13961
+ status?: "unread" | "read" | undefined;
13962
+ limit?: number | undefined;
13963
+ skip?: number | undefined;
13964
+ page?: number | undefined;
13965
+ } & Partial<{
13966
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13967
+ }>;
13968
+ } & {
13969
+ headers: {
13970
+ "x-access-token"?: string | undefined;
13971
+ } & Partial<{
13972
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13973
+ }>;
13974
+ }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.MessagingNotification[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
13975
+ [x: string]: unknown;
13976
+ }, 429, "application/json">>>;
13977
+ /** Mark all notifications as read. */
13978
+ sreadAllNotifications: (request?: {
13979
+ headers?: {
13980
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
13981
+ "x-access-token"?: string | undefined;
13982
+ } | undefined;
13983
+ queryParameters?: {
13984
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
13985
+ severities?: ("success" | "info" | "warning" | "error")[] | undefined;
13986
+ referenceId?: string | undefined;
13987
+ referenceAggregate?: string | undefined;
13988
+ referenceDomain?: string | undefined;
13989
+ } | undefined;
13990
+ } | null | undefined, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
13991
+ headers?: Partial<{
13992
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13993
+ }>;
13994
+ } & {
13995
+ queryParameters: {
13996
+ severities?: ("success" | "info" | "warning" | "error")[] | undefined;
13997
+ referenceId?: string | undefined;
13998
+ referenceAggregate?: string | undefined;
13999
+ referenceDomain?: string | undefined;
14000
+ } & Partial<{
14001
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14002
+ }>;
14003
+ } & {
14004
+ headers: {
14005
+ "x-access-token"?: string | undefined;
14006
+ } & Partial<{
14007
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14008
+ }>;
14009
+ }, import("@mittwald/api-client-commons").Response<{
14010
+ status: import("./types.js").MittwaldAPIV2.Components.Schemas.MessagingNotificationStatus;
14011
+ updatedCount: number;
14012
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
14013
+ [x: string]: unknown;
14014
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
14015
+ [x: string]: unknown;
14016
+ }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
14017
+ headers?: Partial<{
14018
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14019
+ }>;
14020
+ } & {
14021
+ queryParameters: {
14022
+ severities?: ("success" | "info" | "warning" | "error")[] | undefined;
14023
+ referenceId?: string | undefined;
14024
+ referenceAggregate?: string | undefined;
14025
+ referenceDomain?: string | undefined;
14026
+ } & Partial<{
14027
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14028
+ }>;
14029
+ } & {
14030
+ headers: {
14031
+ "x-access-token"?: string | undefined;
14032
+ } & Partial<{
14033
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14034
+ }>;
14035
+ }, import("@mittwald/api-client-commons").Response<{
14036
+ status: import("./types.js").MittwaldAPIV2.Components.Schemas.MessagingNotificationStatus;
14037
+ updatedCount: number;
14038
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
14039
+ [x: string]: unknown;
14040
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
14041
+ [x: string]: unknown;
14042
+ }, 429, "application/json">>>;
14043
+ /** Mark notification as read. */
14044
+ sreadNotification: (request: {
14045
+ data: {
14046
+ status: import("./types.js").MittwaldAPIV2.Components.Schemas.MessagingNotificationStatus;
14047
+ };
14048
+ notificationId: string;
14049
+ headers?: {
14050
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
14051
+ "x-access-token"?: string | undefined;
14052
+ } | undefined;
14053
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
14054
+ data: {
14055
+ status: import("./types.js").MittwaldAPIV2.Components.Schemas.MessagingNotificationStatus;
14056
+ };
14057
+ } & {
14058
+ pathParameters: {
14059
+ notificationId: string;
14060
+ };
14061
+ } & {
14062
+ headers?: Partial<{
14063
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14064
+ }>;
14065
+ } & {
14066
+ headers: {
14067
+ "x-access-token"?: string | undefined;
14068
+ } & Partial<{
14069
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14070
+ }>;
14071
+ }, import("@mittwald/api-client-commons").Response<{
14072
+ status: import("./types.js").MittwaldAPIV2.Components.Schemas.MessagingNotificationStatus;
14073
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
14074
+ [x: string]: unknown;
14075
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
14076
+ [x: string]: unknown;
14077
+ }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
14078
+ data: {
14079
+ status: import("./types.js").MittwaldAPIV2.Components.Schemas.MessagingNotificationStatus;
14080
+ };
14081
+ } & {
14082
+ pathParameters: {
14083
+ notificationId: string;
14084
+ };
14085
+ } & {
14086
+ headers?: Partial<{
14087
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14088
+ }>;
14089
+ } & {
14090
+ headers: {
14091
+ "x-access-token"?: string | undefined;
14092
+ } & Partial<{
14093
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14094
+ }>;
14095
+ }, import("@mittwald/api-client-commons").Response<{
14096
+ status: import("./types.js").MittwaldAPIV2.Components.Schemas.MessagingNotificationStatus;
14097
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
14098
+ [x: string]: unknown;
14099
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
14100
+ [x: string]: unknown;
14101
+ }, 429, "application/json">>>;
14102
+ };
14103
+ /** The file API allows you to manage your files, for example for conversations attachments and avatar uploads. */
14104
+ readonly file: {
14105
+ /** Create a File. */
14106
+ createFile: (request: {
14107
+ headers: {
14108
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
14109
+ Token: string;
14110
+ };
14111
+ data?: {
14112
+ [x: string]: unknown;
14113
+ } | undefined;
14114
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
14115
+ data: {
14116
+ [x: string]: unknown;
14117
+ };
14118
+ } & {
14119
+ headers?: Partial<{
14120
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14121
+ }>;
14122
+ } & {
14123
+ headers: {
14124
+ Token: string;
14125
+ } & Partial<{
14126
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14127
+ }>;
14128
+ }, import("@mittwald/api-client-commons").Response<{
14129
+ friendlyURL: string;
14130
+ friendlyUrl: string;
14131
+ id: string;
14132
+ mimeType: string;
14133
+ name: string;
14134
+ sizeInBytes: number;
14135
+ type: string;
14136
+ }, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
14137
+ [x: string]: unknown;
14138
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
14139
+ [x: string]: unknown;
14140
+ }, 401, "application/json"> | import("@mittwald/api-client-commons").Response<{
14141
+ [x: string]: unknown;
14142
+ }, 406, "application/json"> | import("@mittwald/api-client-commons").Response<{
14143
+ [x: string]: unknown;
14144
+ }, 422, "application/json"> | import("@mittwald/api-client-commons").Response<{
14145
+ [x: string]: unknown;
14146
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
14147
+ [x: string]: unknown;
14148
+ }, 500, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
14149
+ data: {
14150
+ [x: string]: unknown;
14151
+ };
14152
+ } & {
14153
+ headers?: Partial<{
14154
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14155
+ }>;
14156
+ } & {
14157
+ headers: {
14158
+ Token: string;
14159
+ } & Partial<{
14160
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14161
+ }>;
14162
+ }, import("@mittwald/api-client-commons").Response<{
14163
+ friendlyURL: string;
14164
+ friendlyUrl: string;
14165
+ id: string;
14166
+ mimeType: string;
14167
+ name: string;
14168
+ sizeInBytes: number;
14169
+ type: string;
14170
+ }, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
14171
+ [x: string]: unknown;
14172
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
14173
+ [x: string]: unknown;
14174
+ }, 401, "application/json"> | import("@mittwald/api-client-commons").Response<{
14175
+ [x: string]: unknown;
14176
+ }, 406, "application/json"> | import("@mittwald/api-client-commons").Response<{
14177
+ [x: string]: unknown;
14178
+ }, 422, "application/json"> | import("@mittwald/api-client-commons").Response<{
14179
+ [x: string]: unknown;
14180
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
14181
+ [x: string]: unknown;
14182
+ }, 500, "application/json">>>;
14183
+ /** Get a File's meta. */
14184
+ getFileMeta: (request: {
14185
+ fileId: string;
14186
+ headers?: {
14187
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
14188
+ Token?: string | undefined;
14189
+ } | undefined;
14190
+ queryParameters?: {
14191
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
14192
+ token?: string | undefined;
14193
+ } | undefined;
14194
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
14195
+ headers?: Partial<{
14196
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14197
+ }>;
14198
+ } & {
14199
+ pathParameters: {
14200
+ fileId: string;
14201
+ };
14202
+ } & {
14203
+ queryParameters: {
14204
+ token?: string | undefined;
14205
+ } & Partial<{
14206
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14207
+ }>;
14208
+ } & {
14209
+ headers: {
14210
+ Token?: string | undefined;
14211
+ } & Partial<{
14212
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14213
+ }>;
14214
+ }, import("@mittwald/api-client-commons").Response<{
14215
+ friendlyURL: string;
14216
+ friendlyUrl: string;
14217
+ id: string;
14218
+ mimeType: string;
14219
+ name: string;
14220
+ sizeInBytes: number;
14221
+ type: string;
14222
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
14223
+ [x: string]: unknown;
14224
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
14225
+ [x: string]: unknown;
14226
+ }, 401, "application/json"> | import("@mittwald/api-client-commons").Response<{
14227
+ [x: string]: unknown;
14228
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
14229
+ [x: string]: unknown;
14230
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
14231
+ [x: string]: unknown;
14232
+ }, 422, "application/json"> | import("@mittwald/api-client-commons").Response<{
14233
+ [x: string]: unknown;
14234
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
14235
+ [x: string]: unknown;
14236
+ }, 500, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
14237
+ headers?: Partial<{
14238
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14239
+ }>;
14240
+ } & {
14241
+ pathParameters: {
14242
+ fileId: string;
14243
+ };
14244
+ } & {
14245
+ queryParameters: {
14246
+ token?: string | undefined;
14247
+ } & Partial<{
14248
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14249
+ }>;
14250
+ } & {
14251
+ headers: {
14252
+ Token?: string | undefined;
14253
+ } & Partial<{
14254
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14255
+ }>;
14256
+ }, import("@mittwald/api-client-commons").Response<{
14257
+ friendlyURL: string;
14258
+ friendlyUrl: string;
14259
+ id: string;
14260
+ mimeType: string;
14261
+ name: string;
14262
+ sizeInBytes: number;
14263
+ type: string;
14264
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
14265
+ [x: string]: unknown;
14266
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
14267
+ [x: string]: unknown;
14268
+ }, 401, "application/json"> | import("@mittwald/api-client-commons").Response<{
14269
+ [x: string]: unknown;
14270
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
14271
+ [x: string]: unknown;
14272
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
14273
+ [x: string]: unknown;
14274
+ }, 422, "application/json"> | import("@mittwald/api-client-commons").Response<{
14275
+ [x: string]: unknown;
14276
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
14277
+ [x: string]: unknown;
14278
+ }, 500, "application/json">>>;
14279
+ /** Get a FileUploadToken's rules. */
14280
+ getFileUploadTokenRules: (request: {
14281
+ fileUploadToken: string;
14282
+ headers?: {
14283
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
14284
+ } | undefined;
14285
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
14286
+ headers?: Partial<{
14287
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14288
+ }>;
14289
+ } & {
14290
+ pathParameters: {
14291
+ fileUploadToken: string;
14292
+ };
14293
+ }, import("@mittwald/api-client-commons").Response<{
14294
+ extensions: string[];
14295
+ fileTypes: import("./types.js").MittwaldAPIV2.Components.Schemas.FileFileType[];
14296
+ maxSizeInBytes: number;
14297
+ maxSizeInKB: number;
14298
+ maxSizeInKb: number;
14299
+ mimeTypes: string[];
14300
+ properties?: {
14301
+ imageDimensions?: {
14302
+ max?: {
14303
+ height?: number;
14304
+ width?: number;
14305
+ };
14306
+ min?: {
14307
+ height?: number;
14308
+ width?: number;
14309
+ };
14310
+ };
14311
+ } | undefined;
14312
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
14313
+ [x: string]: unknown;
14314
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
14315
+ [x: string]: unknown;
14316
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
14317
+ [x: string]: unknown;
14318
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
14319
+ [x: string]: unknown;
14320
+ }, 500, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
14321
+ headers?: Partial<{
14322
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14323
+ }>;
14324
+ } & {
14325
+ pathParameters: {
14326
+ fileUploadToken: string;
14327
+ };
14328
+ }, import("@mittwald/api-client-commons").Response<{
14329
+ extensions: string[];
14330
+ fileTypes: import("./types.js").MittwaldAPIV2.Components.Schemas.FileFileType[];
14331
+ maxSizeInBytes: number;
14332
+ maxSizeInKB: number;
14333
+ maxSizeInKb: number;
14334
+ mimeTypes: string[];
14335
+ properties?: {
14336
+ imageDimensions?: {
14337
+ max?: {
14338
+ height?: number;
14339
+ width?: number;
14340
+ };
14341
+ min?: {
14342
+ height?: number;
14343
+ width?: number;
14344
+ };
14345
+ };
14346
+ } | undefined;
14347
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
14348
+ [x: string]: unknown;
14349
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
14350
+ [x: string]: unknown;
14351
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
14352
+ [x: string]: unknown;
14353
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
14354
+ [x: string]: unknown;
14355
+ }, 500, "application/json">>>;
14356
+ /** Get a FileUploadType's rules. */
14357
+ getFileUploadTypeRules: (request: {
14358
+ fileUploadType: "avatar" | "conversation";
14359
+ headers?: {
14360
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
14361
+ } | undefined;
14362
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
14363
+ headers?: Partial<{
14364
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14365
+ }>;
14366
+ } & {
14367
+ pathParameters: {
14368
+ fileUploadType: "avatar" | "conversation";
14369
+ };
14370
+ }, import("@mittwald/api-client-commons").Response<{
14371
+ extensions: string[];
14372
+ fileTypes: import("./types.js").MittwaldAPIV2.Components.Schemas.FileFileType[];
14373
+ maxSizeInBytes: number;
14374
+ maxSizeInKB: number;
14375
+ maxSizeInKb: number;
14376
+ mimeTypes: string[];
14377
+ properties?: {
14378
+ imageDimensions?: {
14379
+ max?: {
14380
+ height?: number;
14381
+ width?: number;
14382
+ };
14383
+ min?: {
14384
+ height?: number;
14385
+ width?: number;
14386
+ };
14387
+ };
14388
+ } | undefined;
14389
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
14390
+ [x: string]: unknown;
14391
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
14392
+ [x: string]: unknown;
14393
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
14394
+ [x: string]: unknown;
14395
+ }, 500, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
14396
+ headers?: Partial<{
14397
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14398
+ }>;
14399
+ } & {
14400
+ pathParameters: {
14401
+ fileUploadType: "avatar" | "conversation";
14402
+ };
14403
+ }, import("@mittwald/api-client-commons").Response<{
14404
+ extensions: string[];
14405
+ fileTypes: import("./types.js").MittwaldAPIV2.Components.Schemas.FileFileType[];
14406
+ maxSizeInBytes: number;
14407
+ maxSizeInKB: number;
14408
+ maxSizeInKb: number;
14409
+ mimeTypes: string[];
14410
+ properties?: {
14411
+ imageDimensions?: {
14412
+ max?: {
14413
+ height?: number;
14414
+ width?: number;
14415
+ };
14416
+ min?: {
14417
+ height?: number;
14418
+ width?: number;
14419
+ };
14420
+ };
14421
+ } | undefined;
14422
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
14423
+ [x: string]: unknown;
14424
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
14425
+ [x: string]: unknown;
14426
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
14427
+ [x: string]: unknown;
14428
+ }, 500, "application/json">>>;
14429
+ /** Get a File. */
14430
+ getFile: (request: {
14431
+ fileId: string;
14432
+ headers?: {
14433
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
14434
+ Accept?: "application/octet-stream" | "text/plain;base64" | undefined;
14435
+ "Content-Disposition"?: "inline" | "attachment" | undefined;
14436
+ Token?: string | undefined;
14437
+ } | undefined;
14438
+ queryParameters?: {
14439
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
14440
+ accept?: "application/octet-stream" | "text/plain;base64" | undefined;
14441
+ "content-disposition"?: "inline" | "attachment" | undefined;
14442
+ token?: string | undefined;
14443
+ } | undefined;
14444
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
14445
+ headers?: Partial<{
14446
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14447
+ }>;
14448
+ } & {
14449
+ pathParameters: {
14450
+ fileId: string;
14451
+ };
14452
+ } & {
14453
+ queryParameters: {
14454
+ accept?: "application/octet-stream" | "text/plain;base64" | undefined;
14455
+ "content-disposition"?: "inline" | "attachment" | undefined;
14456
+ token?: string | undefined;
14457
+ } & Partial<{
14458
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14459
+ }>;
14460
+ } & {
14461
+ headers: {
14462
+ Accept?: "application/octet-stream" | "text/plain;base64" | undefined;
14463
+ "Content-Disposition"?: "inline" | "attachment" | undefined;
14464
+ Token?: string | undefined;
14465
+ } & Partial<{
14466
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14467
+ }>;
14468
+ }, import("@mittwald/api-client-commons").Response<string, 200, "application/octet-stream"> | import("@mittwald/api-client-commons").Response<string, 200, "text/plain;base64"> | import("@mittwald/api-client-commons").Response<{
14469
+ [x: string]: unknown;
14470
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
14471
+ [x: string]: unknown;
14472
+ }, 401, "application/json"> | import("@mittwald/api-client-commons").Response<{
14473
+ [x: string]: unknown;
14474
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
14475
+ [x: string]: unknown;
14476
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
14477
+ [x: string]: unknown;
14478
+ }, 422, "application/json"> | import("@mittwald/api-client-commons").Response<{
14479
+ [x: string]: unknown;
14480
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
14481
+ [x: string]: unknown;
14482
+ }, 500, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
14483
+ headers?: Partial<{
14484
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14485
+ }>;
14486
+ } & {
14487
+ pathParameters: {
14488
+ fileId: string;
14489
+ };
14490
+ } & {
14491
+ queryParameters: {
14492
+ accept?: "application/octet-stream" | "text/plain;base64" | undefined;
14493
+ "content-disposition"?: "inline" | "attachment" | undefined;
14494
+ token?: string | undefined;
14495
+ } & Partial<{
14496
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14497
+ }>;
14498
+ } & {
14499
+ headers: {
14500
+ Accept?: "application/octet-stream" | "text/plain;base64" | undefined;
14501
+ "Content-Disposition"?: "inline" | "attachment" | undefined;
14502
+ Token?: string | undefined;
14503
+ } & Partial<{
14504
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14505
+ }>;
14506
+ }, import("@mittwald/api-client-commons").Response<string, 200, "application/octet-stream"> | import("@mittwald/api-client-commons").Response<string, 200, "text/plain;base64"> | import("@mittwald/api-client-commons").Response<{
14507
+ [x: string]: unknown;
14508
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
14509
+ [x: string]: unknown;
14510
+ }, 401, "application/json"> | import("@mittwald/api-client-commons").Response<{
14514
14511
  [x: string]: unknown;
14515
14512
  }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
14516
14513
  [x: string]: unknown;
14517
14514
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
14518
14515
  [x: string]: unknown;
14519
- }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
14516
+ }, 422, "application/json"> | import("@mittwald/api-client-commons").Response<{
14520
14517
  [x: string]: unknown;
14521
- }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
14518
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
14522
14519
  [x: string]: unknown;
14523
- }, 503, "application/json">>>;
14524
- /** Update a mail setting of a Project. */
14525
- updateProjectMailSetting: (request: {
14526
- data: {
14527
- blacklist: string[];
14528
- };
14529
- projectId: string;
14530
- mailSetting: "blacklist" | "whitelist";
14520
+ }, 500, "application/json">>>;
14521
+ /** Get a File with user-friendly url. */
14522
+ getFileWithName: (request: {
14523
+ fileId: string;
14524
+ fileName: string;
14531
14525
  headers?: {
14532
14526
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
14533
- "x-access-token"?: string | undefined;
14527
+ Accept?: "application/octet-stream" | "text/plain;base64" | undefined;
14528
+ "Content-Disposition"?: "inline" | "attachment" | undefined;
14529
+ Token?: string | undefined;
14534
14530
  } | undefined;
14535
- } | {
14536
- data: {
14537
- whitelist: string[];
14538
- };
14539
- projectId: string;
14540
- mailSetting: "blacklist" | "whitelist";
14541
- headers?: {
14531
+ queryParameters?: {
14542
14532
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
14543
- "x-access-token"?: string | undefined;
14533
+ accept?: "application/octet-stream" | "text/plain;base64" | undefined;
14534
+ "content-disposition"?: "inline" | "attachment" | undefined;
14535
+ token?: string | undefined;
14544
14536
  } | undefined;
14545
- }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<(({
14546
- data: {
14547
- blacklist: string[];
14548
- };
14549
- } | {
14550
- data: {
14551
- whitelist: string[];
14552
- };
14553
- }) & {
14537
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
14538
+ headers?: Partial<{
14539
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14540
+ }>;
14541
+ } & {
14554
14542
  pathParameters: {
14555
- projectId: string;
14556
- mailSetting: "blacklist" | "whitelist";
14543
+ fileId: string;
14544
+ fileName: string;
14557
14545
  };
14558
- }) & {
14559
- headers?: Partial<{
14546
+ } & {
14547
+ queryParameters: {
14548
+ accept?: "application/octet-stream" | "text/plain;base64" | undefined;
14549
+ "content-disposition"?: "inline" | "attachment" | undefined;
14550
+ token?: string | undefined;
14551
+ } & Partial<{
14560
14552
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14561
14553
  }>;
14562
14554
  } & {
14563
14555
  headers: {
14564
- "x-access-token"?: string | undefined;
14556
+ Accept?: "application/octet-stream" | "text/plain;base64" | undefined;
14557
+ "Content-Disposition"?: "inline" | "attachment" | undefined;
14558
+ Token?: string | undefined;
14565
14559
  } & Partial<{
14566
14560
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14567
14561
  }>;
14568
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
14562
+ }, import("@mittwald/api-client-commons").Response<string, 200, "application/octet-stream"> | import("@mittwald/api-client-commons").Response<string, 200, "text/plain;base64"> | import("@mittwald/api-client-commons").Response<{
14569
14563
  [x: string]: unknown;
14570
14564
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
14571
14565
  [x: string]: unknown;
14566
+ }, 401, "application/json"> | import("@mittwald/api-client-commons").Response<{
14567
+ [x: string]: unknown;
14572
14568
  }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
14573
14569
  [x: string]: unknown;
14574
14570
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
14575
14571
  [x: string]: unknown;
14576
- }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
14572
+ }, 422, "application/json"> | import("@mittwald/api-client-commons").Response<{
14577
14573
  [x: string]: unknown;
14578
- }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
14574
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
14579
14575
  [x: string]: unknown;
14580
- }, 503, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<(({
14581
- data: {
14582
- blacklist: string[];
14583
- };
14584
- } | {
14585
- data: {
14586
- whitelist: string[];
14587
- };
14588
- }) & {
14576
+ }, 500, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
14577
+ headers?: Partial<{
14578
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14579
+ }>;
14580
+ } & {
14589
14581
  pathParameters: {
14590
- projectId: string;
14591
- mailSetting: "blacklist" | "whitelist";
14582
+ fileId: string;
14583
+ fileName: string;
14592
14584
  };
14593
- }) & {
14594
- headers?: Partial<{
14585
+ } & {
14586
+ queryParameters: {
14587
+ accept?: "application/octet-stream" | "text/plain;base64" | undefined;
14588
+ "content-disposition"?: "inline" | "attachment" | undefined;
14589
+ token?: string | undefined;
14590
+ } & Partial<{
14595
14591
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14596
14592
  }>;
14597
14593
  } & {
14598
14594
  headers: {
14599
- "x-access-token"?: string | undefined;
14595
+ Accept?: "application/octet-stream" | "text/plain;base64" | undefined;
14596
+ "Content-Disposition"?: "inline" | "attachment" | undefined;
14597
+ Token?: string | undefined;
14600
14598
  } & Partial<{
14601
14599
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14602
14600
  }>;
14603
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
14601
+ }, import("@mittwald/api-client-commons").Response<string, 200, "application/octet-stream"> | import("@mittwald/api-client-commons").Response<string, 200, "text/plain;base64"> | import("@mittwald/api-client-commons").Response<{
14604
14602
  [x: string]: unknown;
14605
14603
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
14606
14604
  [x: string]: unknown;
14605
+ }, 401, "application/json"> | import("@mittwald/api-client-commons").Response<{
14606
+ [x: string]: unknown;
14607
14607
  }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
14608
14608
  [x: string]: unknown;
14609
14609
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
14610
14610
  [x: string]: unknown;
14611
- }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
14611
+ }, 422, "application/json"> | import("@mittwald/api-client-commons").Response<{
14612
14612
  [x: string]: unknown;
14613
- }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
14613
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
14614
14614
  [x: string]: unknown;
14615
- }, 503, "application/json">>>;
14615
+ }, 500, "application/json">>>;
14616
14616
  };
14617
14617
  /** The page insights API allows you to get page insights information. */
14618
14618
  readonly pageInsights: {
@@ -16235,109 +16235,6 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
16235
16235
  }, 409, "application/json"> | import("@mittwald/api-client-commons").Response<{
16236
16236
  [x: string]: unknown;
16237
16237
  }, 429, "application/json">>>;
16238
- /** Get your account information. */
16239
- getOwnAccount: (request?: {
16240
- headers?: {
16241
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
16242
- "x-access-token"?: string | undefined;
16243
- } | undefined;
16244
- } | null | undefined, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
16245
- headers?: Partial<{
16246
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
16247
- }>;
16248
- } & {
16249
- headers: {
16250
- "x-access-token"?: string | undefined;
16251
- } & Partial<{
16252
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
16253
- }>;
16254
- }, import("@mittwald/api-client-commons").Response<{
16255
- email?: string | undefined;
16256
- mfaDetails?: {
16257
- mfaConfirmed?: boolean;
16258
- mfaInitialized?: boolean;
16259
- } | undefined;
16260
- passwordUpdatedAt?: string | undefined;
16261
- person?: import("./types.js").MittwaldAPIV2.Components.Schemas.CommonsPerson | undefined;
16262
- userId?: string | undefined;
16263
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
16264
- [x: string]: unknown;
16265
- }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
16266
- headers?: Partial<{
16267
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
16268
- }>;
16269
- } & {
16270
- headers: {
16271
- "x-access-token"?: string | undefined;
16272
- } & Partial<{
16273
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
16274
- }>;
16275
- }, import("@mittwald/api-client-commons").Response<{
16276
- email?: string | undefined;
16277
- mfaDetails?: {
16278
- mfaConfirmed?: boolean;
16279
- mfaInitialized?: boolean;
16280
- } | undefined;
16281
- passwordUpdatedAt?: string | undefined;
16282
- person?: import("./types.js").MittwaldAPIV2.Components.Schemas.CommonsPerson | undefined;
16283
- userId?: string | undefined;
16284
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
16285
- [x: string]: unknown;
16286
- }, 429, "application/json">>>;
16287
- /** Update your account information. */
16288
- updateAccount: (request: {
16289
- data: {
16290
- person: {
16291
- firstName: string;
16292
- lastName: string;
16293
- title?: import("./types.js").MittwaldAPIV2.Components.Schemas.CommonsSalutation | undefined;
16294
- };
16295
- };
16296
- headers?: {
16297
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
16298
- "x-access-token"?: string | undefined;
16299
- } | undefined;
16300
- }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
16301
- data: {
16302
- person: import("./types.js").MittwaldAPIV2.Components.Schemas.CommonsPerson;
16303
- };
16304
- } & {
16305
- headers?: Partial<{
16306
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
16307
- }>;
16308
- } & {
16309
- headers: {
16310
- "x-access-token"?: string | undefined;
16311
- } & Partial<{
16312
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
16313
- }>;
16314
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
16315
- type: "ValidationError";
16316
- message?: string | undefined;
16317
- validationErrors: import("./types.js").MittwaldAPIV2.Components.Schemas.CommonsValidationErrorSchema[];
16318
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
16319
- [x: string]: unknown;
16320
- }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
16321
- data: {
16322
- person: import("./types.js").MittwaldAPIV2.Components.Schemas.CommonsPerson;
16323
- };
16324
- } & {
16325
- headers?: Partial<{
16326
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
16327
- }>;
16328
- } & {
16329
- headers: {
16330
- "x-access-token"?: string | undefined;
16331
- } & Partial<{
16332
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
16333
- }>;
16334
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
16335
- type: "ValidationError";
16336
- message?: string | undefined;
16337
- validationErrors: import("./types.js").MittwaldAPIV2.Components.Schemas.CommonsValidationErrorSchema[];
16338
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
16339
- [x: string]: unknown;
16340
- }, 429, "application/json">>>;
16341
16238
  /** The timestamp of your latest password change. */
16342
16239
  getPasswordUpdatedAt: (request?: {
16343
16240
  headers?: {
@@ -17522,6 +17419,60 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
17522
17419
  }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
17523
17420
  [x: string]: unknown;
17524
17421
  }, 429, "application/json">>>;
17422
+ /** Update your account information. */
17423
+ updateAccount: (request: {
17424
+ data: {
17425
+ person: {
17426
+ firstName: string;
17427
+ lastName: string;
17428
+ title?: import("./types.js").MittwaldAPIV2.Components.Schemas.CommonsSalutation | undefined;
17429
+ };
17430
+ };
17431
+ headers?: {
17432
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
17433
+ "x-access-token"?: string | undefined;
17434
+ } | undefined;
17435
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
17436
+ data: {
17437
+ person: import("./types.js").MittwaldAPIV2.Components.Schemas.CommonsPerson;
17438
+ };
17439
+ } & {
17440
+ headers?: Partial<{
17441
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
17442
+ }>;
17443
+ } & {
17444
+ headers: {
17445
+ "x-access-token"?: string | undefined;
17446
+ } & Partial<{
17447
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
17448
+ }>;
17449
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
17450
+ type: "ValidationError";
17451
+ message?: string | undefined;
17452
+ validationErrors: import("./types.js").MittwaldAPIV2.Components.Schemas.CommonsValidationErrorSchema[];
17453
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
17454
+ [x: string]: unknown;
17455
+ }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
17456
+ data: {
17457
+ person: import("./types.js").MittwaldAPIV2.Components.Schemas.CommonsPerson;
17458
+ };
17459
+ } & {
17460
+ headers?: Partial<{
17461
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
17462
+ }>;
17463
+ } & {
17464
+ headers: {
17465
+ "x-access-token"?: string | undefined;
17466
+ } & Partial<{
17467
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
17468
+ }>;
17469
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
17470
+ type: "ValidationError";
17471
+ message?: string | undefined;
17472
+ validationErrors: import("./types.js").MittwaldAPIV2.Components.Schemas.CommonsValidationErrorSchema[];
17473
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
17474
+ [x: string]: unknown;
17475
+ }, 429, "application/json">>>;
17525
17476
  /** Verify an added Email-Address. */
17526
17477
  verifyEmail: (request: {
17527
17478
  data: {