@mittwald/api-client 4.94.0 → 4.95.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,166 +12265,370 @@ 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<{
12331
+ data: {
12332
+ forwardAddresses: string[];
12333
+ };
12334
+ } & {
12335
+ pathParameters: {
12336
+ mailAddressId: string;
12337
+ };
12338
+ } & {
12678
12339
  headers?: Partial<{
12679
12340
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
12680
12341
  }>;
12342
+ } & {
12343
+ headers: {
12344
+ "x-access-token"?: string | undefined;
12345
+ } & Partial<{
12346
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
12347
+ }>;
12348
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
12349
+ [x: string]: unknown;
12350
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
12351
+ [x: string]: unknown;
12352
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
12353
+ [x: string]: unknown;
12354
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
12355
+ [x: string]: unknown;
12356
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
12357
+ [x: string]: unknown;
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
+ };
12681
12364
  } & {
12682
12365
  pathParameters: {
12683
- fileId: string;
12366
+ mailAddressId: string;
12684
12367
  };
12685
12368
  } & {
12686
- queryParameters: {
12687
- token?: string | undefined;
12688
- } & Partial<{
12369
+ headers?: Partial<{
12689
12370
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
12690
12371
  }>;
12691
12372
  } & {
12692
12373
  headers: {
12693
- Token?: string | undefined;
12374
+ "x-access-token"?: string | undefined;
12694
12375
  } & Partial<{
12695
12376
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
12696
12377
  }>;
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<{
12378
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
12706
12379
  [x: string]: unknown;
12707
12380
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
12708
12381
  [x: string]: unknown;
12709
- }, 401, "application/json"> | import("@mittwald/api-client-commons").Response<{
12710
- [x: string]: unknown;
12711
12382
  }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
12712
12383
  [x: string]: unknown;
12713
12384
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
12714
12385
  [x: string]: unknown;
12715
- }, 422, "application/json"> | import("@mittwald/api-client-commons").Response<{
12386
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
12387
+ [x: string]: unknown;
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;
12397
+ headers?: {
12398
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
12399
+ "x-access-token"?: string | undefined;
12400
+ } | undefined;
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
+ } & {
12410
+ headers?: Partial<{
12411
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
12412
+ }>;
12413
+ } & {
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<{
12420
+ [x: string]: unknown;
12421
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
12422
+ [x: string]: unknown;
12423
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
12424
+ [x: string]: unknown;
12425
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
12716
12426
  [x: string]: unknown;
12717
12427
  }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
12718
12428
  [x: string]: unknown;
12719
- }, 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
+ } & {
12720
12440
  headers?: Partial<{
12721
12441
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
12722
12442
  }>;
12443
+ } & {
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<{
12450
+ [x: string]: unknown;
12451
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
12452
+ [x: string]: unknown;
12453
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
12454
+ [x: string]: unknown;
12455
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
12456
+ [x: string]: unknown;
12457
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
12458
+ [x: string]: unknown;
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;
12468
+ headers?: {
12469
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
12470
+ "x-access-token"?: string | undefined;
12471
+ } | undefined;
12472
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
12473
+ data: {
12474
+ quotaInBytes: number;
12475
+ };
12723
12476
  } & {
12724
12477
  pathParameters: {
12725
- fileId: string;
12478
+ mailAddressId: string;
12726
12479
  };
12727
12480
  } & {
12728
- queryParameters: {
12729
- token?: string | undefined;
12481
+ headers?: Partial<{
12482
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
12483
+ }>;
12484
+ } & {
12485
+ headers: {
12486
+ "x-access-token"?: string | undefined;
12730
12487
  } & Partial<{
12731
12488
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
12732
12489
  }>;
12490
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
12491
+ [x: string]: unknown;
12492
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
12493
+ [x: string]: unknown;
12494
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
12495
+ [x: string]: unknown;
12496
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
12497
+ [x: string]: unknown;
12498
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
12499
+ [x: string]: unknown;
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
+ };
12506
+ } & {
12507
+ pathParameters: {
12508
+ mailAddressId: string;
12509
+ };
12510
+ } & {
12511
+ headers?: Partial<{
12512
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
12513
+ }>;
12733
12514
  } & {
12734
12515
  headers: {
12735
- Token?: string | undefined;
12516
+ "x-access-token"?: string | undefined;
12736
12517
  } & Partial<{
12737
12518
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
12738
12519
  }>;
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<{
12520
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
12748
12521
  [x: string]: unknown;
12749
12522
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
12750
12523
  [x: string]: unknown;
12751
- }, 401, "application/json"> | import("@mittwald/api-client-commons").Response<{
12524
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
12525
+ [x: string]: unknown;
12526
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
12527
+ [x: string]: unknown;
12528
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
12529
+ [x: string]: unknown;
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;
12544
+ headers?: {
12545
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
12546
+ "x-access-token"?: string | undefined;
12547
+ } | undefined;
12548
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
12549
+ data: {
12550
+ spamProtection: {
12551
+ active: boolean;
12552
+ autoDeleteSpam: boolean;
12553
+ folder: "inbox" | "spam";
12554
+ relocationMinSpamScore: number;
12555
+ };
12556
+ };
12557
+ } & {
12558
+ pathParameters: {
12559
+ mailAddressId: string;
12560
+ };
12561
+ } & {
12562
+ headers?: Partial<{
12563
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
12564
+ }>;
12565
+ } & {
12566
+ headers: {
12567
+ "x-access-token"?: string | undefined;
12568
+ } & Partial<{
12569
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
12570
+ }>;
12571
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
12572
+ [x: string]: unknown;
12573
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
12752
12574
  [x: string]: unknown;
12753
12575
  }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
12754
12576
  [x: string]: unknown;
12755
12577
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
12756
12578
  [x: string]: unknown;
12757
- }, 422, "application/json"> | import("@mittwald/api-client-commons").Response<{
12579
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
12580
+ [x: string]: unknown;
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
+ };
12592
+ } & {
12593
+ pathParameters: {
12594
+ mailAddressId: string;
12595
+ };
12596
+ } & {
12597
+ headers?: Partial<{
12598
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
12599
+ }>;
12600
+ } & {
12601
+ headers: {
12602
+ "x-access-token"?: string | undefined;
12603
+ } & Partial<{
12604
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
12605
+ }>;
12606
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
12607
+ [x: string]: unknown;
12608
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
12609
+ [x: string]: unknown;
12610
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
12611
+ [x: string]: unknown;
12612
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
12758
12613
  [x: string]: unknown;
12759
12614
  }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
12760
12615
  [x: string]: unknown;
12761
- }, 500, "application/json">>>;
12762
- /** Get a FileUploadToken's rules. */
12763
- getFileUploadTokenRules: (request: {
12764
- fileUploadToken: string;
12616
+ }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
12617
+ [x: string]: unknown;
12618
+ }, 503, "application/json">>>;
12619
+ /** List DeliveryBoxes belonging to a Project. */
12620
+ listDeliveryBoxes: (request: {
12621
+ projectId: string;
12765
12622
  headers?: {
12766
12623
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
12624
+ "x-access-token"?: string | undefined;
12625
+ } | undefined;
12626
+ queryParameters?: {
12627
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
12628
+ search?: string | undefined;
12629
+ limit?: number | undefined;
12630
+ skip?: number | undefined;
12631
+ page?: number | undefined;
12767
12632
  } | undefined;
12768
12633
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
12769
12634
  headers?: Partial<{
@@ -12771,158 +12636,162 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
12771
12636
  }>;
12772
12637
  } & {
12773
12638
  pathParameters: {
12774
- fileUploadToken: string;
12639
+ projectId: string;
12775
12640
  };
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<{
12641
+ } & {
12642
+ queryParameters: {
12643
+ search?: string | undefined;
12644
+ limit?: number | undefined;
12645
+ skip?: number | undefined;
12646
+ page?: number | undefined;
12647
+ } & Partial<{
12648
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
12649
+ }>;
12650
+ } & {
12651
+ headers: {
12652
+ "x-access-token"?: string | undefined;
12653
+ } & Partial<{
12654
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
12655
+ }>;
12656
+ }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.MailDeliverybox[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
12796
12657
  [x: string]: unknown;
12797
12658
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
12798
12659
  [x: string]: unknown;
12660
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
12661
+ [x: string]: unknown;
12799
12662
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
12800
12663
  [x: string]: unknown;
12801
12664
  }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
12802
12665
  [x: string]: unknown;
12803
- }, 500, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
12666
+ }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
12667
+ [x: string]: unknown;
12668
+ }, 503, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
12804
12669
  headers?: Partial<{
12805
12670
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
12806
12671
  }>;
12807
12672
  } & {
12808
12673
  pathParameters: {
12809
- fileUploadToken: string;
12674
+ projectId: string;
12810
12675
  };
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<{
12676
+ } & {
12677
+ queryParameters: {
12678
+ search?: string | undefined;
12679
+ limit?: number | undefined;
12680
+ skip?: number | undefined;
12681
+ page?: number | undefined;
12682
+ } & Partial<{
12683
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
12684
+ }>;
12685
+ } & {
12686
+ headers: {
12687
+ "x-access-token"?: string | undefined;
12688
+ } & Partial<{
12689
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
12690
+ }>;
12691
+ }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.MailDeliverybox[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
12831
12692
  [x: string]: unknown;
12832
12693
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
12833
12694
  [x: string]: unknown;
12695
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
12696
+ [x: string]: unknown;
12834
12697
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
12835
12698
  [x: string]: unknown;
12836
12699
  }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
12837
12700
  [x: string]: unknown;
12838
- }, 500, "application/json">>>;
12839
- /** Get a FileUploadType's rules. */
12840
- getFileUploadTypeRules: (request: {
12841
- fileUploadType: "avatar" | "conversation";
12701
+ }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
12702
+ [x: string]: unknown;
12703
+ }, 503, "application/json">>>;
12704
+ /** Create a DeliveryBox. */
12705
+ createDeliverybox: (request: {
12706
+ data: {
12707
+ description: string;
12708
+ password: string;
12709
+ };
12710
+ projectId: string;
12842
12711
  headers?: {
12843
12712
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
12713
+ "x-access-token"?: string | undefined;
12844
12714
  } | undefined;
12845
12715
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
12716
+ data: {
12717
+ description: string;
12718
+ password: string;
12719
+ };
12720
+ } & {
12721
+ pathParameters: {
12722
+ projectId: string;
12723
+ };
12724
+ } & {
12846
12725
  headers?: Partial<{
12847
12726
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
12848
12727
  }>;
12849
12728
  } & {
12850
- pathParameters: {
12851
- fileUploadType: "avatar" | "conversation";
12852
- };
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<{
12729
+ headers: {
12730
+ "x-access-token"?: string | undefined;
12731
+ } & Partial<{
12732
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
12733
+ }>;
12734
+ }, import("@mittwald/api-client-commons").Response<{
12735
+ id: string;
12736
+ }, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
12873
12737
  [x: string]: unknown;
12874
12738
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
12875
12739
  [x: string]: unknown;
12740
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
12741
+ [x: string]: unknown;
12876
12742
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
12877
12743
  [x: string]: unknown;
12878
- }, 500, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
12744
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
12745
+ [x: string]: unknown;
12746
+ }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
12747
+ [x: string]: unknown;
12748
+ }, 503, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
12749
+ data: {
12750
+ description: string;
12751
+ password: string;
12752
+ };
12753
+ } & {
12754
+ pathParameters: {
12755
+ projectId: string;
12756
+ };
12757
+ } & {
12879
12758
  headers?: Partial<{
12880
12759
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
12881
12760
  }>;
12882
12761
  } & {
12883
- pathParameters: {
12884
- fileUploadType: "avatar" | "conversation";
12885
- };
12762
+ headers: {
12763
+ "x-access-token"?: string | undefined;
12764
+ } & Partial<{
12765
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
12766
+ }>;
12886
12767
  }, 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<{
12768
+ id: string;
12769
+ }, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
12906
12770
  [x: string]: unknown;
12907
12771
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
12908
12772
  [x: string]: unknown;
12773
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
12774
+ [x: string]: unknown;
12909
12775
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
12910
12776
  [x: string]: unknown;
12911
- }, 500, "application/json">>>;
12912
- /** Get a File. */
12913
- getFile: (request: {
12914
- fileId: string;
12777
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
12778
+ [x: string]: unknown;
12779
+ }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
12780
+ [x: string]: unknown;
12781
+ }, 503, "application/json">>>;
12782
+ /** List MailAddresses belonging to a Project. */
12783
+ listMailAddresses: (request: {
12784
+ projectId: string;
12915
12785
  headers?: {
12916
12786
  [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;
12787
+ "x-access-token"?: string | undefined;
12920
12788
  } | undefined;
12921
12789
  queryParameters?: {
12922
12790
  [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;
12791
+ search?: string | undefined;
12792
+ limit?: number | undefined;
12793
+ skip?: number | undefined;
12794
+ page?: number | undefined;
12926
12795
  } | undefined;
12927
12796
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
12928
12797
  headers?: Partial<{
@@ -12930,213 +12799,215 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
12930
12799
  }>;
12931
12800
  } & {
12932
12801
  pathParameters: {
12933
- fileId: string;
12802
+ projectId: string;
12934
12803
  };
12935
12804
  } & {
12936
12805
  queryParameters: {
12937
- accept?: "application/octet-stream" | "text/plain;base64" | undefined;
12938
- "content-disposition"?: "inline" | "attachment" | undefined;
12939
- token?: string | undefined;
12806
+ search?: string | undefined;
12807
+ limit?: number | undefined;
12808
+ skip?: number | undefined;
12809
+ page?: number | undefined;
12940
12810
  } & Partial<{
12941
12811
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
12942
12812
  }>;
12943
12813
  } & {
12944
12814
  headers: {
12945
- Accept?: "application/octet-stream" | "text/plain;base64" | undefined;
12946
- "Content-Disposition"?: "inline" | "attachment" | undefined;
12947
- Token?: string | undefined;
12815
+ "x-access-token"?: string | undefined;
12948
12816
  } & Partial<{
12949
12817
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
12950
12818
  }>;
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<{
12819
+ }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.MailMailAddress[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
12952
12820
  [x: string]: unknown;
12953
12821
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
12954
12822
  [x: string]: unknown;
12955
- }, 401, "application/json"> | import("@mittwald/api-client-commons").Response<{
12956
- [x: string]: unknown;
12957
12823
  }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
12958
12824
  [x: string]: unknown;
12959
12825
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
12960
12826
  [x: string]: unknown;
12961
- }, 422, "application/json"> | import("@mittwald/api-client-commons").Response<{
12962
- [x: string]: unknown;
12963
12827
  }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
12964
12828
  [x: string]: unknown;
12965
- }, 500, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
12829
+ }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
12830
+ [x: string]: unknown;
12831
+ }, 503, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
12966
12832
  headers?: Partial<{
12967
12833
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
12968
12834
  }>;
12969
12835
  } & {
12970
12836
  pathParameters: {
12971
- fileId: string;
12837
+ projectId: string;
12972
12838
  };
12973
12839
  } & {
12974
12840
  queryParameters: {
12975
- accept?: "application/octet-stream" | "text/plain;base64" | undefined;
12976
- "content-disposition"?: "inline" | "attachment" | undefined;
12977
- token?: string | undefined;
12841
+ search?: string | undefined;
12842
+ limit?: number | undefined;
12843
+ skip?: number | undefined;
12844
+ page?: number | undefined;
12978
12845
  } & Partial<{
12979
12846
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
12980
12847
  }>;
12981
12848
  } & {
12982
12849
  headers: {
12983
- Accept?: "application/octet-stream" | "text/plain;base64" | undefined;
12984
- "Content-Disposition"?: "inline" | "attachment" | undefined;
12985
- Token?: string | undefined;
12850
+ "x-access-token"?: string | undefined;
12986
12851
  } & Partial<{
12987
12852
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
12988
12853
  }>;
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<{
12854
+ }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.MailMailAddress[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
12990
12855
  [x: string]: unknown;
12991
12856
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
12992
12857
  [x: string]: unknown;
12993
- }, 401, "application/json"> | import("@mittwald/api-client-commons").Response<{
12994
- [x: string]: unknown;
12995
12858
  }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
12996
12859
  [x: string]: unknown;
12997
12860
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
12998
12861
  [x: string]: unknown;
12999
- }, 422, "application/json"> | import("@mittwald/api-client-commons").Response<{
13000
- [x: string]: unknown;
13001
12862
  }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
13002
12863
  [x: string]: unknown;
13003
- }, 500, "application/json">>>;
13004
- /** Get a File with user-friendly url. */
13005
- getFileWithName: (request: {
13006
- fileId: string;
13007
- fileName: string;
12864
+ }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
12865
+ [x: string]: unknown;
12866
+ }, 503, "application/json">>>;
12867
+ /** Create a MailAddress. */
12868
+ createMailAddress: (request: {
12869
+ data: {
12870
+ address: string;
12871
+ forwardAddresses: string[];
12872
+ };
12873
+ projectId: string;
13008
12874
  headers?: {
13009
12875
  [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;
12876
+ "x-access-token"?: string | undefined;
13013
12877
  } | undefined;
13014
- queryParameters?: {
12878
+ } | {
12879
+ data: {
12880
+ address: string;
12881
+ isCatchAll: boolean;
12882
+ mailbox: {
12883
+ enableSpamProtection: boolean;
12884
+ password: string;
12885
+ quotaInBytes: number;
12886
+ };
12887
+ };
12888
+ projectId: string;
12889
+ headers?: {
13015
12890
  [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;
12891
+ "x-access-token"?: string | undefined;
13019
12892
  } | undefined;
13020
- }, 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
- }>;
13024
- } & {
12893
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<(({
12894
+ data: {
12895
+ address: string;
12896
+ forwardAddresses: string[];
12897
+ };
12898
+ } | {
12899
+ data: {
12900
+ address: string;
12901
+ isCatchAll: boolean;
12902
+ mailbox: {
12903
+ enableSpamProtection: boolean;
12904
+ password: string;
12905
+ quotaInBytes: number;
12906
+ };
12907
+ };
12908
+ }) & {
13025
12909
  pathParameters: {
13026
- fileId: string;
13027
- fileName: string;
12910
+ projectId: string;
13028
12911
  };
13029
- } & {
13030
- queryParameters: {
13031
- accept?: "application/octet-stream" | "text/plain;base64" | undefined;
13032
- "content-disposition"?: "inline" | "attachment" | undefined;
13033
- token?: string | undefined;
13034
- } & Partial<{
12912
+ }) & {
12913
+ headers?: Partial<{
13035
12914
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13036
12915
  }>;
13037
12916
  } & {
13038
12917
  headers: {
13039
- Accept?: "application/octet-stream" | "text/plain;base64" | undefined;
13040
- "Content-Disposition"?: "inline" | "attachment" | undefined;
13041
- Token?: string | undefined;
12918
+ "x-access-token"?: string | undefined;
13042
12919
  } & Partial<{
13043
12920
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13044
12921
  }>;
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<{
12922
+ }, import("@mittwald/api-client-commons").Response<{
12923
+ id: string;
12924
+ }, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
13046
12925
  [x: string]: unknown;
13047
12926
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
13048
12927
  [x: string]: unknown;
13049
- }, 401, "application/json"> | import("@mittwald/api-client-commons").Response<{
13050
- [x: string]: unknown;
13051
12928
  }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
13052
12929
  [x: string]: unknown;
13053
12930
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
13054
12931
  [x: string]: unknown;
13055
- }, 422, "application/json"> | import("@mittwald/api-client-commons").Response<{
13056
- [x: string]: unknown;
13057
12932
  }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
13058
12933
  [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
- }>;
13063
- } & {
12934
+ }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
12935
+ [x: string]: unknown;
12936
+ }, 503, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<(({
12937
+ data: {
12938
+ address: string;
12939
+ forwardAddresses: string[];
12940
+ };
12941
+ } | {
12942
+ data: {
12943
+ address: string;
12944
+ isCatchAll: boolean;
12945
+ mailbox: {
12946
+ enableSpamProtection: boolean;
12947
+ password: string;
12948
+ quotaInBytes: number;
12949
+ };
12950
+ };
12951
+ }) & {
13064
12952
  pathParameters: {
13065
- fileId: string;
13066
- fileName: string;
12953
+ projectId: string;
13067
12954
  };
13068
- } & {
13069
- queryParameters: {
13070
- accept?: "application/octet-stream" | "text/plain;base64" | undefined;
13071
- "content-disposition"?: "inline" | "attachment" | undefined;
13072
- token?: string | undefined;
13073
- } & Partial<{
12955
+ }) & {
12956
+ headers?: Partial<{
13074
12957
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13075
12958
  }>;
13076
12959
  } & {
13077
12960
  headers: {
13078
- Accept?: "application/octet-stream" | "text/plain;base64" | undefined;
13079
- "Content-Disposition"?: "inline" | "attachment" | undefined;
13080
- Token?: string | undefined;
12961
+ "x-access-token"?: string | undefined;
13081
12962
  } & Partial<{
13082
12963
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13083
12964
  }>;
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<{
12965
+ }, import("@mittwald/api-client-commons").Response<{
12966
+ id: string;
12967
+ }, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
13085
12968
  [x: string]: unknown;
13086
12969
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
13087
12970
  [x: string]: unknown;
13088
- }, 401, "application/json"> | import("@mittwald/api-client-commons").Response<{
13089
- [x: string]: unknown;
13090
12971
  }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
13091
12972
  [x: string]: unknown;
13092
12973
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
13093
12974
  [x: string]: unknown;
13094
- }, 422, "application/json"> | import("@mittwald/api-client-commons").Response<{
13095
- [x: string]: unknown;
13096
- }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
13097
- [x: string]: unknown;
13098
- }, 500, "application/json">>>;
13099
- };
13100
- /** The mail API allows you to manage your mail accounts. */
13101
- readonly mail: {
13102
- /** List DeliveryBoxes belonging to a Project. */
13103
- listDeliveryBoxes: (request: {
13104
- projectId: string;
12975
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
12976
+ [x: string]: unknown;
12977
+ }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
12978
+ [x: string]: unknown;
12979
+ }, 503, "application/json">>>;
12980
+ /** Get a DeliveryBox. */
12981
+ getDeliveryBox: (request: {
12982
+ deliveryBoxId: string;
13105
12983
  headers?: {
13106
12984
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
13107
12985
  "x-access-token"?: string | undefined;
13108
12986
  } | undefined;
13109
- queryParameters?: {
13110
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
13111
- search?: string | undefined;
13112
- limit?: number | undefined;
13113
- skip?: number | undefined;
13114
- page?: number | undefined;
13115
- } | undefined;
13116
12987
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
13117
12988
  headers?: Partial<{
13118
12989
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13119
12990
  }>;
13120
12991
  } & {
13121
12992
  pathParameters: {
13122
- projectId: string;
12993
+ deliveryBoxId: string;
13123
12994
  };
13124
- } & {
13125
- queryParameters: {
13126
- search?: string | undefined;
13127
- limit?: number | undefined;
13128
- skip?: number | undefined;
13129
- page?: number | undefined;
13130
- } & Partial<{
13131
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13132
- }>;
13133
12995
  } & {
13134
12996
  headers: {
13135
12997
  "x-access-token"?: string | undefined;
13136
12998
  } & Partial<{
13137
12999
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13138
13000
  }>;
13139
- }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.MailDeliverybox[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
13001
+ }, import("@mittwald/api-client-commons").Response<{
13002
+ authenticationEnabled: boolean;
13003
+ description: string;
13004
+ id: string;
13005
+ name: string;
13006
+ passwordUpdatedAt: string;
13007
+ projectId: string;
13008
+ sendingEnabled: boolean;
13009
+ updatedAt: string;
13010
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
13140
13011
  [x: string]: unknown;
13141
13012
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
13142
13013
  [x: string]: unknown;
@@ -13154,24 +13025,24 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
13154
13025
  }>;
13155
13026
  } & {
13156
13027
  pathParameters: {
13157
- projectId: string;
13028
+ deliveryBoxId: string;
13158
13029
  };
13159
- } & {
13160
- queryParameters: {
13161
- search?: string | undefined;
13162
- limit?: number | undefined;
13163
- skip?: number | undefined;
13164
- page?: number | undefined;
13165
- } & Partial<{
13166
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13167
- }>;
13168
13030
  } & {
13169
13031
  headers: {
13170
13032
  "x-access-token"?: string | undefined;
13171
13033
  } & Partial<{
13172
13034
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13173
13035
  }>;
13174
- }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.MailDeliverybox[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
13036
+ }, import("@mittwald/api-client-commons").Response<{
13037
+ authenticationEnabled: boolean;
13038
+ description: string;
13039
+ id: string;
13040
+ name: string;
13041
+ passwordUpdatedAt: string;
13042
+ projectId: string;
13043
+ sendingEnabled: boolean;
13044
+ updatedAt: string;
13045
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
13175
13046
  [x: string]: unknown;
13176
13047
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
13177
13048
  [x: string]: unknown;
@@ -13184,39 +13055,28 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
13184
13055
  }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
13185
13056
  [x: string]: unknown;
13186
13057
  }, 503, "application/json">>>;
13187
- /** Create a DeliveryBox. */
13188
- createDeliverybox: (request: {
13189
- data: {
13190
- description: string;
13191
- password: string;
13192
- };
13193
- projectId: string;
13058
+ /** Delete a DeliveryBox. */
13059
+ deleteDeliveryBox: (request: {
13060
+ deliveryBoxId: string;
13194
13061
  headers?: {
13195
13062
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
13196
13063
  "x-access-token"?: string | undefined;
13197
13064
  } | undefined;
13198
13065
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
13199
- data: {
13200
- description: string;
13201
- password: string;
13202
- };
13203
- } & {
13204
- pathParameters: {
13205
- projectId: string;
13206
- };
13207
- } & {
13208
13066
  headers?: Partial<{
13209
13067
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13210
13068
  }>;
13069
+ } & {
13070
+ pathParameters: {
13071
+ deliveryBoxId: string;
13072
+ };
13211
13073
  } & {
13212
13074
  headers: {
13213
13075
  "x-access-token"?: string | undefined;
13214
13076
  } & Partial<{
13215
13077
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13216
13078
  }>;
13217
- }, import("@mittwald/api-client-commons").Response<{
13218
- id: string;
13219
- }, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
13079
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
13220
13080
  [x: string]: unknown;
13221
13081
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
13222
13082
  [x: string]: unknown;
@@ -13229,27 +13089,20 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
13229
13089
  }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
13230
13090
  [x: string]: unknown;
13231
13091
  }, 503, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
13232
- data: {
13233
- description: string;
13234
- password: string;
13235
- };
13236
- } & {
13237
- pathParameters: {
13238
- projectId: string;
13239
- };
13240
- } & {
13241
13092
  headers?: Partial<{
13242
13093
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13243
13094
  }>;
13095
+ } & {
13096
+ pathParameters: {
13097
+ deliveryBoxId: string;
13098
+ };
13244
13099
  } & {
13245
13100
  headers: {
13246
13101
  "x-access-token"?: string | undefined;
13247
13102
  } & Partial<{
13248
13103
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13249
13104
  }>;
13250
- }, import("@mittwald/api-client-commons").Response<{
13251
- id: string;
13252
- }, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
13105
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
13253
13106
  [x: string]: unknown;
13254
13107
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
13255
13108
  [x: string]: unknown;
@@ -13262,44 +13115,61 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
13262
13115
  }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
13263
13116
  [x: string]: unknown;
13264
13117
  }, 503, "application/json">>>;
13265
- /** List MailAddresses belonging to a Project. */
13266
- listMailAddresses: (request: {
13267
- projectId: string;
13118
+ /** Get a MailAddress. */
13119
+ getMailAddress: (request: {
13120
+ mailAddressId: string;
13268
13121
  headers?: {
13269
13122
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
13270
13123
  "x-access-token"?: string | undefined;
13271
13124
  } | undefined;
13272
- queryParameters?: {
13273
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
13274
- search?: string | undefined;
13275
- limit?: number | undefined;
13276
- skip?: number | undefined;
13277
- page?: number | undefined;
13278
- } | undefined;
13279
13125
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
13280
13126
  headers?: Partial<{
13281
13127
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13282
13128
  }>;
13283
13129
  } & {
13284
13130
  pathParameters: {
13285
- projectId: string;
13131
+ mailAddressId: string;
13286
13132
  };
13287
- } & {
13288
- queryParameters: {
13289
- search?: string | undefined;
13290
- limit?: number | undefined;
13291
- skip?: number | undefined;
13292
- page?: number | undefined;
13293
- } & Partial<{
13294
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13295
- }>;
13296
13133
  } & {
13297
13134
  headers: {
13298
13135
  "x-access-token"?: string | undefined;
13299
13136
  } & Partial<{
13300
13137
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13301
13138
  }>;
13302
- }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.MailMailAddress[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
13139
+ }, import("@mittwald/api-client-commons").Response<{
13140
+ address: string;
13141
+ autoResponder: {
13142
+ active: boolean;
13143
+ expiresAt?: string;
13144
+ message?: string;
13145
+ startsAt?: string;
13146
+ };
13147
+ forwardAddresses: string[];
13148
+ id: string;
13149
+ isArchived: boolean;
13150
+ isCatchAll: boolean;
13151
+ mailbox?: {
13152
+ name: string;
13153
+ passwordUpdatedAt: string;
13154
+ sendingEnabled: boolean;
13155
+ spamProtection: {
13156
+ active: boolean;
13157
+ autoDeleteSpam: boolean;
13158
+ folder: "spam" | "inbox";
13159
+ relocationMinSpamScore: number;
13160
+ };
13161
+ storageInBytes: {
13162
+ current: {
13163
+ updatedAt: string;
13164
+ value: number;
13165
+ };
13166
+ limit: number;
13167
+ };
13168
+ } | undefined;
13169
+ projectId: string;
13170
+ receivingDisabled: boolean;
13171
+ updatedAt: string;
13172
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
13303
13173
  [x: string]: unknown;
13304
13174
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
13305
13175
  [x: string]: unknown;
@@ -13317,24 +13187,48 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
13317
13187
  }>;
13318
13188
  } & {
13319
13189
  pathParameters: {
13320
- projectId: string;
13190
+ mailAddressId: string;
13321
13191
  };
13322
- } & {
13323
- queryParameters: {
13324
- search?: string | undefined;
13325
- limit?: number | undefined;
13326
- skip?: number | undefined;
13327
- page?: number | undefined;
13328
- } & Partial<{
13329
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13330
- }>;
13331
13192
  } & {
13332
13193
  headers: {
13333
13194
  "x-access-token"?: string | undefined;
13334
13195
  } & Partial<{
13335
13196
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13336
13197
  }>;
13337
- }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.MailMailAddress[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
13198
+ }, import("@mittwald/api-client-commons").Response<{
13199
+ address: string;
13200
+ autoResponder: {
13201
+ active: boolean;
13202
+ expiresAt?: string;
13203
+ message?: string;
13204
+ startsAt?: string;
13205
+ };
13206
+ forwardAddresses: string[];
13207
+ id: string;
13208
+ isArchived: boolean;
13209
+ isCatchAll: boolean;
13210
+ mailbox?: {
13211
+ name: string;
13212
+ passwordUpdatedAt: string;
13213
+ sendingEnabled: boolean;
13214
+ spamProtection: {
13215
+ active: boolean;
13216
+ autoDeleteSpam: boolean;
13217
+ folder: "spam" | "inbox";
13218
+ relocationMinSpamScore: number;
13219
+ };
13220
+ storageInBytes: {
13221
+ current: {
13222
+ updatedAt: string;
13223
+ value: number;
13224
+ };
13225
+ limit: number;
13226
+ };
13227
+ } | undefined;
13228
+ projectId: string;
13229
+ receivingDisabled: boolean;
13230
+ updatedAt: string;
13231
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
13338
13232
  [x: string]: unknown;
13339
13233
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
13340
13234
  [x: string]: unknown;
@@ -13347,64 +13241,28 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
13347
13241
  }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
13348
13242
  [x: string]: unknown;
13349
13243
  }, 503, "application/json">>>;
13350
- /** Create a MailAddress. */
13351
- createMailAddress: (request: {
13352
- data: {
13353
- address: string;
13354
- forwardAddresses: string[];
13355
- };
13356
- projectId: string;
13357
- headers?: {
13358
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
13359
- "x-access-token"?: string | undefined;
13360
- } | undefined;
13361
- } | {
13362
- data: {
13363
- address: string;
13364
- isCatchAll: boolean;
13365
- mailbox: {
13366
- enableSpamProtection: boolean;
13367
- password: string;
13368
- quotaInBytes: number;
13369
- };
13370
- };
13371
- projectId: string;
13244
+ /** Delete a MailAddress. */
13245
+ deleteMailAddress: (request: {
13246
+ mailAddressId: string;
13372
13247
  headers?: {
13373
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
13374
- "x-access-token"?: string | undefined;
13375
- } | undefined;
13376
- }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<(({
13377
- data: {
13378
- address: string;
13379
- forwardAddresses: string[];
13380
- };
13381
- } | {
13382
- data: {
13383
- address: string;
13384
- isCatchAll: boolean;
13385
- mailbox: {
13386
- enableSpamProtection: boolean;
13387
- password: string;
13388
- quotaInBytes: number;
13389
- };
13390
- };
13391
- }) & {
13392
- pathParameters: {
13393
- projectId: string;
13394
- };
13395
- }) & {
13248
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
13249
+ "x-access-token"?: string | undefined;
13250
+ } | undefined;
13251
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
13396
13252
  headers?: Partial<{
13397
13253
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13398
13254
  }>;
13255
+ } & {
13256
+ pathParameters: {
13257
+ mailAddressId: string;
13258
+ };
13399
13259
  } & {
13400
13260
  headers: {
13401
13261
  "x-access-token"?: string | undefined;
13402
13262
  } & Partial<{
13403
13263
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13404
13264
  }>;
13405
- }, import("@mittwald/api-client-commons").Response<{
13406
- id: string;
13407
- }, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
13265
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
13408
13266
  [x: string]: unknown;
13409
13267
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
13410
13268
  [x: string]: unknown;
@@ -13416,38 +13274,21 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
13416
13274
  [x: string]: unknown;
13417
13275
  }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
13418
13276
  [x: string]: unknown;
13419
- }, 503, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<(({
13420
- data: {
13421
- address: string;
13422
- forwardAddresses: string[];
13423
- };
13424
- } | {
13425
- data: {
13426
- address: string;
13427
- isCatchAll: boolean;
13428
- mailbox: {
13429
- enableSpamProtection: boolean;
13430
- password: string;
13431
- quotaInBytes: number;
13432
- };
13433
- };
13434
- }) & {
13435
- pathParameters: {
13436
- projectId: string;
13437
- };
13438
- }) & {
13277
+ }, 503, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
13439
13278
  headers?: Partial<{
13440
13279
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13441
13280
  }>;
13281
+ } & {
13282
+ pathParameters: {
13283
+ mailAddressId: string;
13284
+ };
13442
13285
  } & {
13443
13286
  headers: {
13444
13287
  "x-access-token"?: string | undefined;
13445
13288
  } & Partial<{
13446
13289
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13447
13290
  }>;
13448
- }, import("@mittwald/api-client-commons").Response<{
13449
- id: string;
13450
- }, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
13291
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
13451
13292
  [x: string]: unknown;
13452
13293
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
13453
13294
  [x: string]: unknown;
@@ -13460,9 +13301,9 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
13460
13301
  }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
13461
13302
  [x: string]: unknown;
13462
13303
  }, 503, "application/json">>>;
13463
- /** Get a DeliveryBox. */
13464
- getDeliveryBox: (request: {
13465
- deliveryBoxId: string;
13304
+ /** List mail settings of a Project. */
13305
+ listProjectMailSettings: (request: {
13306
+ projectId: string;
13466
13307
  headers?: {
13467
13308
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
13468
13309
  "x-access-token"?: string | undefined;
@@ -13473,7 +13314,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
13473
13314
  }>;
13474
13315
  } & {
13475
13316
  pathParameters: {
13476
- deliveryBoxId: string;
13317
+ projectId: string;
13477
13318
  };
13478
13319
  } & {
13479
13320
  headers: {
@@ -13482,14 +13323,9 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
13482
13323
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13483
13324
  }>;
13484
13325
  }, import("@mittwald/api-client-commons").Response<{
13485
- authenticationEnabled: boolean;
13486
- description: string;
13487
- id: string;
13488
- name: string;
13489
- passwordUpdatedAt: string;
13326
+ blacklist: string[];
13490
13327
  projectId: string;
13491
- sendingEnabled: boolean;
13492
- updatedAt: string;
13328
+ whitelist: string[];
13493
13329
  }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
13494
13330
  [x: string]: unknown;
13495
13331
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
@@ -13508,7 +13344,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
13508
13344
  }>;
13509
13345
  } & {
13510
13346
  pathParameters: {
13511
- deliveryBoxId: string;
13347
+ projectId: string;
13512
13348
  };
13513
13349
  } & {
13514
13350
  headers: {
@@ -13517,14 +13353,9 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
13517
13353
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13518
13354
  }>;
13519
13355
  }, import("@mittwald/api-client-commons").Response<{
13520
- authenticationEnabled: boolean;
13521
- description: string;
13522
- id: string;
13523
- name: string;
13524
- passwordUpdatedAt: string;
13356
+ blacklist: string[];
13525
13357
  projectId: string;
13526
- sendingEnabled: boolean;
13527
- updatedAt: string;
13358
+ whitelist: string[];
13528
13359
  }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
13529
13360
  [x: string]: unknown;
13530
13361
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
@@ -13538,21 +13369,58 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
13538
13369
  }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
13539
13370
  [x: string]: unknown;
13540
13371
  }, 503, "application/json">>>;
13541
- /** Delete a DeliveryBox. */
13542
- deleteDeliveryBox: (request: {
13372
+ /** Update the description of a DeliveryBox. */
13373
+ updateDeliveryBoxDescription: (request: {
13374
+ data: {
13375
+ description: string;
13376
+ };
13543
13377
  deliveryBoxId: string;
13544
13378
  headers?: {
13545
13379
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
13546
13380
  "x-access-token"?: string | undefined;
13547
13381
  } | undefined;
13548
13382
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
13383
+ data: {
13384
+ description: string;
13385
+ };
13386
+ } & {
13387
+ pathParameters: {
13388
+ deliveryBoxId: string;
13389
+ };
13390
+ } & {
13549
13391
  headers?: Partial<{
13550
13392
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13551
13393
  }>;
13394
+ } & {
13395
+ headers: {
13396
+ "x-access-token"?: string | undefined;
13397
+ } & Partial<{
13398
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13399
+ }>;
13400
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
13401
+ [x: string]: unknown;
13402
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
13403
+ [x: string]: unknown;
13404
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
13405
+ [x: string]: unknown;
13406
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
13407
+ [x: string]: unknown;
13408
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
13409
+ [x: string]: unknown;
13410
+ }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
13411
+ [x: string]: unknown;
13412
+ }, 503, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
13413
+ data: {
13414
+ description: string;
13415
+ };
13552
13416
  } & {
13553
13417
  pathParameters: {
13554
13418
  deliveryBoxId: string;
13555
13419
  };
13420
+ } & {
13421
+ headers?: Partial<{
13422
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13423
+ }>;
13556
13424
  } & {
13557
13425
  headers: {
13558
13426
  "x-access-token"?: string | undefined;
@@ -13571,14 +13439,59 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
13571
13439
  [x: string]: unknown;
13572
13440
  }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
13573
13441
  [x: string]: unknown;
13574
- }, 503, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
13442
+ }, 503, "application/json">>>;
13443
+ /** Update the password of a DeliveryBox. */
13444
+ updateDeliveryBoxPassword: (request: {
13445
+ data: {
13446
+ password: string;
13447
+ };
13448
+ deliveryBoxId: string;
13449
+ headers?: {
13450
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
13451
+ "x-access-token"?: string | undefined;
13452
+ } | undefined;
13453
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
13454
+ data: {
13455
+ password: string;
13456
+ };
13457
+ } & {
13458
+ pathParameters: {
13459
+ deliveryBoxId: string;
13460
+ };
13461
+ } & {
13575
13462
  headers?: Partial<{
13576
13463
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13577
13464
  }>;
13465
+ } & {
13466
+ headers: {
13467
+ "x-access-token"?: string | undefined;
13468
+ } & Partial<{
13469
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13470
+ }>;
13471
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
13472
+ [x: string]: unknown;
13473
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
13474
+ [x: string]: unknown;
13475
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
13476
+ [x: string]: unknown;
13477
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
13478
+ [x: string]: unknown;
13479
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
13480
+ [x: string]: unknown;
13481
+ }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
13482
+ [x: string]: unknown;
13483
+ }, 503, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
13484
+ data: {
13485
+ password: string;
13486
+ };
13578
13487
  } & {
13579
13488
  pathParameters: {
13580
13489
  deliveryBoxId: string;
13581
13490
  };
13491
+ } & {
13492
+ headers?: Partial<{
13493
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13494
+ }>;
13582
13495
  } & {
13583
13496
  headers: {
13584
13497
  "x-access-token"?: string | undefined;
@@ -13598,61 +13511,35 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
13598
13511
  }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
13599
13512
  [x: string]: unknown;
13600
13513
  }, 503, "application/json">>>;
13601
- /** Get a MailAddress. */
13602
- getMailAddress: (request: {
13514
+ /** Update a MailAddress. */
13515
+ updateMailAddressAddress: (request: {
13516
+ data: {
13517
+ address: string;
13518
+ };
13603
13519
  mailAddressId: string;
13604
13520
  headers?: {
13605
13521
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
13606
13522
  "x-access-token"?: string | undefined;
13607
13523
  } | undefined;
13608
13524
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
13609
- headers?: Partial<{
13610
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13611
- }>;
13525
+ data: {
13526
+ address: string;
13527
+ };
13612
13528
  } & {
13613
13529
  pathParameters: {
13614
13530
  mailAddressId: string;
13615
13531
  };
13532
+ } & {
13533
+ headers?: Partial<{
13534
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13535
+ }>;
13616
13536
  } & {
13617
13537
  headers: {
13618
13538
  "x-access-token"?: string | undefined;
13619
13539
  } & Partial<{
13620
13540
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13621
13541
  }>;
13622
- }, import("@mittwald/api-client-commons").Response<{
13623
- address: string;
13624
- autoResponder: {
13625
- active: boolean;
13626
- expiresAt?: string;
13627
- message?: string;
13628
- startsAt?: string;
13629
- };
13630
- forwardAddresses: string[];
13631
- id: string;
13632
- isArchived: boolean;
13633
- isCatchAll: boolean;
13634
- mailbox?: {
13635
- name: string;
13636
- passwordUpdatedAt: string;
13637
- sendingEnabled: boolean;
13638
- spamProtection: {
13639
- active: boolean;
13640
- autoDeleteSpam: boolean;
13641
- folder: "spam" | "inbox";
13642
- relocationMinSpamScore: number;
13643
- };
13644
- storageInBytes: {
13645
- current: {
13646
- updatedAt: string;
13647
- value: number;
13648
- };
13649
- limit: number;
13650
- };
13651
- } | undefined;
13652
- projectId: string;
13653
- receivingDisabled: boolean;
13654
- updatedAt: string;
13655
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
13542
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
13656
13543
  [x: string]: unknown;
13657
13544
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
13658
13545
  [x: string]: unknown;
@@ -13665,53 +13552,24 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
13665
13552
  }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
13666
13553
  [x: string]: unknown;
13667
13554
  }, 503, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
13668
- headers?: Partial<{
13669
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13670
- }>;
13555
+ data: {
13556
+ address: string;
13557
+ };
13671
13558
  } & {
13672
13559
  pathParameters: {
13673
13560
  mailAddressId: string;
13674
13561
  };
13562
+ } & {
13563
+ headers?: Partial<{
13564
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13565
+ }>;
13675
13566
  } & {
13676
13567
  headers: {
13677
13568
  "x-access-token"?: string | undefined;
13678
13569
  } & Partial<{
13679
13570
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13680
13571
  }>;
13681
- }, import("@mittwald/api-client-commons").Response<{
13682
- address: string;
13683
- autoResponder: {
13684
- active: boolean;
13685
- expiresAt?: string;
13686
- message?: string;
13687
- startsAt?: string;
13688
- };
13689
- forwardAddresses: string[];
13690
- id: string;
13691
- isArchived: boolean;
13692
- isCatchAll: boolean;
13693
- mailbox?: {
13694
- name: string;
13695
- passwordUpdatedAt: string;
13696
- sendingEnabled: boolean;
13697
- spamProtection: {
13698
- active: boolean;
13699
- autoDeleteSpam: boolean;
13700
- folder: "spam" | "inbox";
13701
- relocationMinSpamScore: number;
13702
- };
13703
- storageInBytes: {
13704
- current: {
13705
- updatedAt: string;
13706
- value: number;
13707
- };
13708
- limit: number;
13709
- };
13710
- } | undefined;
13711
- projectId: string;
13712
- receivingDisabled: boolean;
13713
- updatedAt: string;
13714
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
13572
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
13715
13573
  [x: string]: unknown;
13716
13574
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
13717
13575
  [x: string]: unknown;
@@ -13724,21 +13582,28 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
13724
13582
  }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
13725
13583
  [x: string]: unknown;
13726
13584
  }, 503, "application/json">>>;
13727
- /** Delete a MailAddress. */
13728
- deleteMailAddress: (request: {
13585
+ /** Update the catchall of a MailAddress. */
13586
+ updateMailAddressCatchAll: (request: {
13587
+ data: {
13588
+ active: boolean;
13589
+ };
13729
13590
  mailAddressId: string;
13730
13591
  headers?: {
13731
13592
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
13732
13593
  "x-access-token"?: string | undefined;
13733
13594
  } | undefined;
13734
13595
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
13735
- headers?: Partial<{
13736
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13737
- }>;
13596
+ data: {
13597
+ active: boolean;
13598
+ };
13738
13599
  } & {
13739
13600
  pathParameters: {
13740
13601
  mailAddressId: string;
13741
13602
  };
13603
+ } & {
13604
+ headers?: Partial<{
13605
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13606
+ }>;
13742
13607
  } & {
13743
13608
  headers: {
13744
13609
  "x-access-token"?: string | undefined;
@@ -13758,13 +13623,17 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
13758
13623
  }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
13759
13624
  [x: string]: unknown;
13760
13625
  }, 503, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
13761
- headers?: Partial<{
13762
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13763
- }>;
13626
+ data: {
13627
+ active: boolean;
13628
+ };
13764
13629
  } & {
13765
13630
  pathParameters: {
13766
13631
  mailAddressId: string;
13767
13632
  };
13633
+ } & {
13634
+ headers?: Partial<{
13635
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13636
+ }>;
13768
13637
  } & {
13769
13638
  headers: {
13770
13639
  "x-access-token"?: string | undefined;
@@ -13784,32 +13653,51 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
13784
13653
  }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
13785
13654
  [x: string]: unknown;
13786
13655
  }, 503, "application/json">>>;
13787
- /** List mail settings of a Project. */
13788
- listProjectMailSettings: (request: {
13656
+ /** Update a mail setting of a Project. */
13657
+ updateProjectMailSetting: (request: {
13658
+ data: {
13659
+ blacklist: string[];
13660
+ };
13789
13661
  projectId: string;
13662
+ mailSetting: "blacklist" | "whitelist";
13790
13663
  headers?: {
13791
13664
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
13792
13665
  "x-access-token"?: string | undefined;
13793
13666
  } | undefined;
13794
- }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
13795
- headers?: Partial<{
13796
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13797
- }>;
13798
- } & {
13667
+ } | {
13668
+ data: {
13669
+ whitelist: string[];
13670
+ };
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
+ }) & {
13799
13686
  pathParameters: {
13800
13687
  projectId: string;
13688
+ mailSetting: "blacklist" | "whitelist";
13801
13689
  };
13690
+ }) & {
13691
+ headers?: Partial<{
13692
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13693
+ }>;
13802
13694
  } & {
13803
13695
  headers: {
13804
13696
  "x-access-token"?: string | undefined;
13805
13697
  } & Partial<{
13806
13698
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13807
13699
  }>;
13808
- }, import("@mittwald/api-client-commons").Response<{
13809
- blacklist: string[];
13810
- projectId: string;
13811
- whitelist: string[];
13812
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
13700
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
13813
13701
  [x: string]: unknown;
13814
13702
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
13815
13703
  [x: string]: unknown;
@@ -13821,25 +13709,30 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
13821
13709
  [x: string]: unknown;
13822
13710
  }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
13823
13711
  [x: string]: unknown;
13824
- }, 503, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
13825
- headers?: Partial<{
13826
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13827
- }>;
13828
- } & {
13712
+ }, 503, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<(({
13713
+ data: {
13714
+ blacklist: string[];
13715
+ };
13716
+ } | {
13717
+ data: {
13718
+ whitelist: string[];
13719
+ };
13720
+ }) & {
13829
13721
  pathParameters: {
13830
13722
  projectId: string;
13723
+ mailSetting: "blacklist" | "whitelist";
13831
13724
  };
13725
+ }) & {
13726
+ headers?: Partial<{
13727
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13728
+ }>;
13832
13729
  } & {
13833
13730
  headers: {
13834
13731
  "x-access-token"?: string | undefined;
13835
13732
  } & Partial<{
13836
13733
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13837
13734
  }>;
13838
- }, import("@mittwald/api-client-commons").Response<{
13839
- blacklist: string[];
13840
- projectId: string;
13841
- whitelist: string[];
13842
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
13735
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
13843
13736
  [x: string]: unknown;
13844
13737
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
13845
13738
  [x: string]: unknown;
@@ -13852,23 +13745,23 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
13852
13745
  }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
13853
13746
  [x: string]: unknown;
13854
13747
  }, 503, "application/json">>>;
13855
- /** Update the description of a DeliveryBox. */
13856
- updateDeliveryBoxDescription: (request: {
13857
- data: {
13858
- description: string;
13859
- };
13860
- deliveryBoxId: 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;
13861
13757
  headers?: {
13862
13758
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
13863
13759
  "x-access-token"?: string | undefined;
13864
13760
  } | undefined;
13865
- }, 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<{
13866
13762
  data: {
13867
- description: string;
13868
- };
13869
- } & {
13870
- pathParameters: {
13871
- deliveryBoxId: string;
13763
+ firstName?: string | undefined;
13764
+ lastName?: string | undefined;
13872
13765
  };
13873
13766
  } & {
13874
13767
  headers?: Partial<{
@@ -13880,25 +13773,18 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
13880
13773
  } & Partial<{
13881
13774
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13882
13775
  }>;
13883
- }, 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<{
13884
13781
  [x: string]: unknown;
13885
13782
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
13886
13783
  [x: string]: unknown;
13887
- }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
13888
- [x: string]: unknown;
13889
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
13890
- [x: string]: unknown;
13891
- }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
13892
- [x: string]: unknown;
13893
- }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
13894
- [x: string]: unknown;
13895
- }, 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<{
13896
13785
  data: {
13897
- description: string;
13898
- };
13899
- } & {
13900
- pathParameters: {
13901
- deliveryBoxId: string;
13786
+ firstName?: string | undefined;
13787
+ lastName?: string | undefined;
13902
13788
  };
13903
13789
  } & {
13904
13790
  headers?: Partial<{
@@ -13910,188 +13796,267 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
13910
13796
  } & Partial<{
13911
13797
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13912
13798
  }>;
13913
- }, 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<{
13914
13804
  [x: string]: unknown;
13915
13805
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
13916
13806
  [x: string]: unknown;
13917
- }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
13807
+ }, 429, "application/json">>>;
13808
+ /** Getting the subscription status of the subscription. */
13809
+ newsletterGetInfo: (request?: {
13810
+ headers?: {
13811
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
13812
+ "x-access-token"?: string | undefined;
13813
+ } | undefined;
13814
+ } | null | undefined, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
13815
+ headers?: Partial<{
13816
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13817
+ }>;
13818
+ } & {
13819
+ headers: {
13820
+ "x-access-token"?: string | undefined;
13821
+ } & Partial<{
13822
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13823
+ }>;
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<{
13918
13829
  [x: string]: unknown;
13919
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
13830
+ }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
13831
+ headers?: Partial<{
13832
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13833
+ }>;
13834
+ } & {
13835
+ headers: {
13836
+ "x-access-token"?: string | undefined;
13837
+ } & Partial<{
13838
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13839
+ }>;
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<{
13920
13845
  [x: string]: unknown;
13921
- }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
13846
+ }, 429, "application/json">>>;
13847
+ /** Unsubscribe a user from the mStudio newsletter. */
13848
+ newsletterUnsubscribeUser: (request?: {
13849
+ headers?: {
13850
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
13851
+ "x-access-token"?: string | undefined;
13852
+ } | undefined;
13853
+ } | null | undefined, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
13854
+ headers?: Partial<{
13855
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13856
+ }>;
13857
+ } & {
13858
+ headers: {
13859
+ "x-access-token"?: string | undefined;
13860
+ } & Partial<{
13861
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13862
+ }>;
13863
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
13922
13864
  [x: string]: unknown;
13923
- }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
13865
+ }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
13866
+ headers?: Partial<{
13867
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13868
+ }>;
13869
+ } & {
13870
+ headers: {
13871
+ "x-access-token"?: string | undefined;
13872
+ } & Partial<{
13873
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13874
+ }>;
13875
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
13876
+ [x: string]: unknown;
13877
+ }, 429, "application/json">>>;
13878
+ /** Get the counts for unread notifications of the user. */
13879
+ scountUnreadNotifications: (request?: {
13880
+ headers?: {
13881
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
13882
+ "x-access-token"?: string | undefined;
13883
+ } | undefined;
13884
+ } | null | undefined, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
13885
+ headers?: Partial<{
13886
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13887
+ }>;
13888
+ } & {
13889
+ headers: {
13890
+ "x-access-token"?: string | undefined;
13891
+ } & Partial<{
13892
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13893
+ }>;
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<{
13901
+ [x: string]: unknown;
13902
+ }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
13903
+ headers?: Partial<{
13904
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13905
+ }>;
13906
+ } & {
13907
+ headers: {
13908
+ "x-access-token"?: string | undefined;
13909
+ } & Partial<{
13910
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13911
+ }>;
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<{
13924
13919
  [x: string]: unknown;
13925
- }, 503, "application/json">>>;
13926
- /** Update the password of a DeliveryBox. */
13927
- updateDeliveryBoxPassword: (request: {
13928
- data: {
13929
- password: string;
13930
- };
13931
- deliveryBoxId: string;
13920
+ }, 429, "application/json">>>;
13921
+ /** List all unread notifications. */
13922
+ slistNotifications: (request?: {
13932
13923
  headers?: {
13933
13924
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
13934
13925
  "x-access-token"?: string | undefined;
13935
13926
  } | undefined;
13936
- }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
13937
- data: {
13938
- password: string;
13939
- };
13940
- } & {
13941
- pathParameters: {
13942
- deliveryBoxId: string;
13943
- };
13944
- } & {
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<{
13945
13935
  headers?: Partial<{
13946
13936
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13947
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
+ }>;
13948
13947
  } & {
13949
13948
  headers: {
13950
13949
  "x-access-token"?: string | undefined;
13951
13950
  } & Partial<{
13952
13951
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13953
13952
  }>;
13954
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
13955
- [x: string]: unknown;
13956
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
13957
- [x: string]: unknown;
13958
- }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
13959
- [x: string]: unknown;
13960
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
13961
- [x: string]: unknown;
13962
- }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
13963
- [x: string]: unknown;
13964
- }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
13953
+ }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.MessagingNotification[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
13965
13954
  [x: string]: unknown;
13966
- }, 503, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
13967
- data: {
13968
- password: string;
13969
- };
13970
- } & {
13971
- pathParameters: {
13972
- deliveryBoxId: string;
13973
- };
13974
- } & {
13955
+ }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
13975
13956
  headers?: Partial<{
13976
13957
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13977
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
+ }>;
13978
13968
  } & {
13979
13969
  headers: {
13980
13970
  "x-access-token"?: string | undefined;
13981
13971
  } & Partial<{
13982
13972
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13983
13973
  }>;
13984
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
13985
- [x: string]: unknown;
13986
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
13987
- [x: string]: unknown;
13988
- }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
13989
- [x: string]: unknown;
13990
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
13991
- [x: string]: unknown;
13992
- }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
13993
- [x: string]: unknown;
13994
- }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
13974
+ }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.MessagingNotification[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
13995
13975
  [x: string]: unknown;
13996
- }, 503, "application/json">>>;
13997
- /** Update a MailAddress. */
13998
- updateMailAddressAddress: (request: {
13999
- data: {
14000
- address: string;
14001
- };
14002
- mailAddressId: string;
13976
+ }, 429, "application/json">>>;
13977
+ /** Mark all notifications as read. */
13978
+ sreadAllNotifications: (request?: {
14003
13979
  headers?: {
14004
13980
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
14005
13981
  "x-access-token"?: string | undefined;
14006
13982
  } | undefined;
14007
- }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
14008
- data: {
14009
- address: string;
14010
- };
14011
- } & {
14012
- pathParameters: {
14013
- mailAddressId: string;
14014
- };
14015
- } & {
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<{
14016
13991
  headers?: Partial<{
14017
13992
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14018
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
+ }>;
14019
14003
  } & {
14020
14004
  headers: {
14021
14005
  "x-access-token"?: string | undefined;
14022
14006
  } & Partial<{
14023
14007
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14024
14008
  }>;
14025
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
14026
- [x: string]: unknown;
14027
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
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<{
14028
14013
  [x: string]: unknown;
14029
14014
  }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
14030
14015
  [x: string]: unknown;
14031
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
14032
- [x: string]: unknown;
14033
- }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
14034
- [x: string]: unknown;
14035
- }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
14036
- [x: string]: unknown;
14037
- }, 503, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
14038
- data: {
14039
- address: string;
14040
- };
14041
- } & {
14042
- pathParameters: {
14043
- mailAddressId: string;
14044
- };
14045
- } & {
14016
+ }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
14046
14017
  headers?: Partial<{
14047
14018
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14048
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
+ }>;
14049
14029
  } & {
14050
14030
  headers: {
14051
14031
  "x-access-token"?: string | undefined;
14052
14032
  } & Partial<{
14053
14033
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14054
14034
  }>;
14055
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
14056
- [x: string]: unknown;
14057
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
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<{
14058
14039
  [x: string]: unknown;
14059
14040
  }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
14060
14041
  [x: string]: unknown;
14061
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
14062
- [x: string]: unknown;
14063
- }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
14064
- [x: string]: unknown;
14065
- }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
14066
- [x: string]: unknown;
14067
- }, 503, "application/json">>>;
14068
- /** Update the autoresponder of a MailAddress. */
14069
- updateMailAddressAutoresponder: (request: {
14042
+ }, 429, "application/json">>>;
14043
+ /** Mark notification as read. */
14044
+ sreadNotification: (request: {
14070
14045
  data: {
14071
- autoResponder: {
14072
- active: boolean;
14073
- message: string;
14074
- expiresAt?: string | undefined;
14075
- startsAt?: string | undefined;
14076
- };
14046
+ status: import("./types.js").MittwaldAPIV2.Components.Schemas.MessagingNotificationStatus;
14077
14047
  };
14078
- mailAddressId: string;
14048
+ notificationId: string;
14079
14049
  headers?: {
14080
14050
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
14081
14051
  "x-access-token"?: string | undefined;
14082
14052
  } | undefined;
14083
14053
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
14084
14054
  data: {
14085
- autoResponder: {
14086
- active: boolean;
14087
- expiresAt?: string;
14088
- message: string;
14089
- startsAt?: string;
14090
- };
14055
+ status: import("./types.js").MittwaldAPIV2.Components.Schemas.MessagingNotificationStatus;
14091
14056
  };
14092
14057
  } & {
14093
14058
  pathParameters: {
14094
- mailAddressId: string;
14059
+ notificationId: string;
14095
14060
  };
14096
14061
  } & {
14097
14062
  headers?: Partial<{
@@ -14103,30 +14068,19 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
14103
14068
  } & Partial<{
14104
14069
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14105
14070
  }>;
14106
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
14107
- [x: string]: unknown;
14108
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
14109
- [x: string]: unknown;
14110
- }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
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<{
14111
14074
  [x: string]: unknown;
14112
14075
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
14113
14076
  [x: string]: unknown;
14114
- }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
14115
- [x: string]: unknown;
14116
- }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
14117
- [x: string]: unknown;
14118
- }, 503, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
14077
+ }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
14119
14078
  data: {
14120
- autoResponder: {
14121
- active: boolean;
14122
- expiresAt?: string;
14123
- message: string;
14124
- startsAt?: string;
14125
- };
14079
+ status: import("./types.js").MittwaldAPIV2.Components.Schemas.MessagingNotificationStatus;
14126
14080
  };
14127
14081
  } & {
14128
14082
  pathParameters: {
14129
- mailAddressId: string;
14083
+ notificationId: string;
14130
14084
  };
14131
14085
  } & {
14132
14086
  headers?: Partial<{
@@ -14138,36 +14092,28 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
14138
14092
  } & Partial<{
14139
14093
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14140
14094
  }>;
14141
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
14142
- [x: string]: unknown;
14143
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
14144
- [x: string]: unknown;
14145
- }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
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<{
14146
14098
  [x: string]: unknown;
14147
14099
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
14148
14100
  [x: string]: unknown;
14149
- }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
14150
- [x: string]: unknown;
14151
- }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
14152
- [x: string]: unknown;
14153
- }, 503, "application/json">>>;
14154
- /** Update the catchall of a MailAddress. */
14155
- updateMailAddressCatchAll: (request: {
14156
- data: {
14157
- active: boolean;
14158
- };
14159
- mailAddressId: string;
14160
- headers?: {
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: {
14161
14108
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
14162
- "x-access-token"?: string | undefined;
14109
+ Token: string;
14110
+ };
14111
+ data?: {
14112
+ [x: string]: unknown;
14163
14113
  } | undefined;
14164
14114
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
14165
14115
  data: {
14166
- active: boolean;
14167
- };
14168
- } & {
14169
- pathParameters: {
14170
- mailAddressId: string;
14116
+ [x: string]: unknown;
14171
14117
  };
14172
14118
  } & {
14173
14119
  headers?: Partial<{
@@ -14175,29 +14121,33 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
14175
14121
  }>;
14176
14122
  } & {
14177
14123
  headers: {
14178
- "x-access-token"?: string | undefined;
14124
+ Token: string;
14179
14125
  } & Partial<{
14180
14126
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14181
14127
  }>;
14182
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
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<{
14183
14137
  [x: string]: unknown;
14184
14138
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
14185
14139
  [x: string]: unknown;
14186
- }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
14140
+ }, 401, "application/json"> | import("@mittwald/api-client-commons").Response<{
14187
14141
  [x: string]: unknown;
14188
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
14142
+ }, 406, "application/json"> | import("@mittwald/api-client-commons").Response<{
14189
14143
  [x: string]: unknown;
14190
- }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
14144
+ }, 422, "application/json"> | import("@mittwald/api-client-commons").Response<{
14191
14145
  [x: string]: unknown;
14192
- }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
14146
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
14193
14147
  [x: string]: unknown;
14194
- }, 503, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
14148
+ }, 500, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
14195
14149
  data: {
14196
- active: boolean;
14197
- };
14198
- } & {
14199
- pathParameters: {
14200
- mailAddressId: string;
14150
+ [x: string]: unknown;
14201
14151
  };
14202
14152
  } & {
14203
14153
  headers?: Partial<{
@@ -14205,414 +14155,464 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
14205
14155
  }>;
14206
14156
  } & {
14207
14157
  headers: {
14208
- "x-access-token"?: string | undefined;
14158
+ Token: string;
14209
14159
  } & Partial<{
14210
14160
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14211
14161
  }>;
14212
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
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<{
14213
14171
  [x: string]: unknown;
14214
14172
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
14215
14173
  [x: string]: unknown;
14216
- }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
14174
+ }, 401, "application/json"> | import("@mittwald/api-client-commons").Response<{
14217
14175
  [x: string]: unknown;
14218
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
14176
+ }, 406, "application/json"> | import("@mittwald/api-client-commons").Response<{
14219
14177
  [x: string]: unknown;
14220
- }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
14178
+ }, 422, "application/json"> | import("@mittwald/api-client-commons").Response<{
14221
14179
  [x: string]: unknown;
14222
- }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
14180
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
14223
14181
  [x: string]: unknown;
14224
- }, 503, "application/json">>>;
14225
- /** Update the forward addresses of a MailAddresses. */
14226
- updateMailAddressForwardAddresses: (request: {
14227
- data: {
14228
- forwardAddresses: string[];
14229
- };
14230
- mailAddressId: string;
14182
+ }, 500, "application/json">>>;
14183
+ /** Get a File's meta. */
14184
+ getFileMeta: (request: {
14185
+ fileId: string;
14231
14186
  headers?: {
14232
14187
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
14233
- "x-access-token"?: string | undefined;
14188
+ Token?: string | undefined;
14189
+ } | undefined;
14190
+ queryParameters?: {
14191
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
14192
+ token?: string | undefined;
14234
14193
  } | undefined;
14235
14194
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
14236
- data: {
14237
- forwardAddresses: string[];
14238
- };
14195
+ headers?: Partial<{
14196
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14197
+ }>;
14239
14198
  } & {
14240
14199
  pathParameters: {
14241
- mailAddressId: string;
14200
+ fileId: string;
14242
14201
  };
14243
14202
  } & {
14244
- headers?: Partial<{
14203
+ queryParameters: {
14204
+ token?: string | undefined;
14205
+ } & Partial<{
14245
14206
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14246
14207
  }>;
14247
14208
  } & {
14248
14209
  headers: {
14249
- "x-access-token"?: string | undefined;
14210
+ Token?: string | undefined;
14250
14211
  } & Partial<{
14251
14212
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14252
14213
  }>;
14253
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
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<{
14254
14223
  [x: string]: unknown;
14255
14224
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
14256
14225
  [x: string]: unknown;
14226
+ }, 401, "application/json"> | import("@mittwald/api-client-commons").Response<{
14227
+ [x: string]: unknown;
14257
14228
  }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
14258
14229
  [x: string]: unknown;
14259
14230
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
14260
14231
  [x: string]: unknown;
14261
- }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
14232
+ }, 422, "application/json"> | import("@mittwald/api-client-commons").Response<{
14262
14233
  [x: string]: unknown;
14263
- }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
14234
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
14264
14235
  [x: string]: unknown;
14265
- }, 503, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
14266
- data: {
14267
- forwardAddresses: string[];
14268
- };
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
+ }>;
14269
14240
  } & {
14270
14241
  pathParameters: {
14271
- mailAddressId: string;
14242
+ fileId: string;
14272
14243
  };
14273
14244
  } & {
14274
- headers?: Partial<{
14245
+ queryParameters: {
14246
+ token?: string | undefined;
14247
+ } & Partial<{
14275
14248
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14276
14249
  }>;
14277
14250
  } & {
14278
14251
  headers: {
14279
- "x-access-token"?: string | undefined;
14252
+ Token?: string | undefined;
14280
14253
  } & Partial<{
14281
14254
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14282
14255
  }>;
14283
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
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<{
14284
14265
  [x: string]: unknown;
14285
14266
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
14286
14267
  [x: string]: unknown;
14268
+ }, 401, "application/json"> | import("@mittwald/api-client-commons").Response<{
14269
+ [x: string]: unknown;
14287
14270
  }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
14288
14271
  [x: string]: unknown;
14289
14272
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
14290
14273
  [x: string]: unknown;
14291
- }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
14274
+ }, 422, "application/json"> | import("@mittwald/api-client-commons").Response<{
14292
14275
  [x: string]: unknown;
14293
- }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
14276
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
14294
14277
  [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;
14278
+ }, 500, "application/json">>>;
14279
+ /** Get a FileUploadToken's rules. */
14280
+ getFileUploadTokenRules: (request: {
14281
+ fileUploadToken: string;
14302
14282
  headers?: {
14303
14283
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
14304
- "x-access-token"?: string | undefined;
14305
14284
  } | undefined;
14306
14285
  }, 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
- } & {
14315
14286
  headers?: Partial<{
14316
14287
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14317
14288
  }>;
14318
14289
  } & {
14319
- headers: {
14320
- "x-access-token"?: string | undefined;
14321
- } & Partial<{
14322
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14323
- }>;
14324
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
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<{
14325
14313
  [x: string]: unknown;
14326
14314
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
14327
14315
  [x: string]: unknown;
14328
- }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
14329
- [x: string]: unknown;
14330
14316
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
14331
14317
  [x: string]: unknown;
14332
14318
  }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
14333
14319
  [x: string]: unknown;
14334
- }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
14335
- [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
- } & {
14320
+ }, 500, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
14345
14321
  headers?: Partial<{
14346
14322
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14347
14323
  }>;
14348
14324
  } & {
14349
- headers: {
14350
- "x-access-token"?: string | undefined;
14351
- } & Partial<{
14352
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14353
- }>;
14354
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
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<{
14355
14348
  [x: string]: unknown;
14356
14349
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
14357
14350
  [x: string]: unknown;
14358
- }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
14359
- [x: string]: unknown;
14360
14351
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
14361
14352
  [x: string]: unknown;
14362
14353
  }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
14363
14354
  [x: string]: unknown;
14364
- }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
14365
- [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;
14355
+ }, 500, "application/json">>>;
14356
+ /** Get a FileUploadType's rules. */
14357
+ getFileUploadTypeRules: (request: {
14358
+ fileUploadType: "avatar" | "conversation";
14373
14359
  headers?: {
14374
14360
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
14375
- "x-access-token"?: string | undefined;
14376
14361
  } | undefined;
14377
14362
  }, 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
- } & {
14386
14363
  headers?: Partial<{
14387
14364
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14388
14365
  }>;
14389
14366
  } & {
14390
- headers: {
14391
- "x-access-token"?: string | undefined;
14392
- } & Partial<{
14393
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14394
- }>;
14395
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
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<{
14396
14390
  [x: string]: unknown;
14397
14391
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
14398
14392
  [x: string]: unknown;
14399
- }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
14400
- [x: string]: unknown;
14401
14393
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
14402
14394
  [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
- } & {
14395
+ }, 500, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
14416
14396
  headers?: Partial<{
14417
14397
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14418
14398
  }>;
14419
14399
  } & {
14420
- headers: {
14421
- "x-access-token"?: string | undefined;
14422
- } & Partial<{
14423
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14424
- }>;
14425
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
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<{
14426
14423
  [x: string]: unknown;
14427
14424
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
14428
14425
  [x: string]: unknown;
14429
- }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
14430
- [x: string]: unknown;
14431
14426
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
14432
14427
  [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;
14428
+ }, 500, "application/json">>>;
14429
+ /** Get a File. */
14430
+ getFile: (request: {
14431
+ fileId: string;
14449
14432
  headers?: {
14450
14433
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
14451
- "x-access-token"?: string | 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;
14452
14443
  } | undefined;
14453
14444
  }, 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
- };
14445
+ headers?: Partial<{
14446
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14447
+ }>;
14462
14448
  } & {
14463
14449
  pathParameters: {
14464
- mailAddressId: string;
14450
+ fileId: string;
14465
14451
  };
14466
14452
  } & {
14467
- headers?: Partial<{
14453
+ queryParameters: {
14454
+ accept?: "application/octet-stream" | "text/plain;base64" | undefined;
14455
+ "content-disposition"?: "inline" | "attachment" | undefined;
14456
+ token?: string | undefined;
14457
+ } & Partial<{
14468
14458
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14469
14459
  }>;
14470
14460
  } & {
14471
14461
  headers: {
14472
- "x-access-token"?: string | undefined;
14462
+ Accept?: "application/octet-stream" | "text/plain;base64" | undefined;
14463
+ "Content-Disposition"?: "inline" | "attachment" | undefined;
14464
+ Token?: string | undefined;
14473
14465
  } & Partial<{
14474
14466
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14475
14467
  }>;
14476
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
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<{
14477
14469
  [x: string]: unknown;
14478
14470
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
14479
14471
  [x: string]: unknown;
14472
+ }, 401, "application/json"> | import("@mittwald/api-client-commons").Response<{
14473
+ [x: string]: unknown;
14480
14474
  }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
14481
14475
  [x: string]: unknown;
14482
14476
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
14483
14477
  [x: string]: unknown;
14484
- }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
14478
+ }, 422, "application/json"> | import("@mittwald/api-client-commons").Response<{
14485
14479
  [x: string]: unknown;
14486
- }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
14480
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
14487
14481
  [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
- };
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
+ }>;
14497
14486
  } & {
14498
14487
  pathParameters: {
14499
- mailAddressId: string;
14488
+ fileId: string;
14500
14489
  };
14501
14490
  } & {
14502
- headers?: Partial<{
14491
+ queryParameters: {
14492
+ accept?: "application/octet-stream" | "text/plain;base64" | undefined;
14493
+ "content-disposition"?: "inline" | "attachment" | undefined;
14494
+ token?: string | undefined;
14495
+ } & Partial<{
14503
14496
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14504
14497
  }>;
14505
14498
  } & {
14506
14499
  headers: {
14507
- "x-access-token"?: string | undefined;
14500
+ Accept?: "application/octet-stream" | "text/plain;base64" | undefined;
14501
+ "Content-Disposition"?: "inline" | "attachment" | undefined;
14502
+ Token?: string | undefined;
14508
14503
  } & Partial<{
14509
14504
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14510
14505
  }>;
14511
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
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<{
14512
14507
  [x: string]: unknown;
14513
14508
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
14514
14509
  [x: string]: unknown;
14510
+ }, 401, "application/json"> | import("@mittwald/api-client-commons").Response<{
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: {