@mittwald/api-client 4.93.1 → 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.
@@ -114,6 +114,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
114
114
  }, import("@mittwald/api-client-commons").Response<{
115
115
  appId: string;
116
116
  appVersion: import("./types.js").MittwaldAPIV2.Components.Schemas.AppVersionStatus;
117
+ createdAt: string;
117
118
  customDocumentRoot?: string | undefined;
118
119
  description: string;
119
120
  disabled: boolean;
@@ -149,6 +150,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
149
150
  }, import("@mittwald/api-client-commons").Response<{
150
151
  appId: string;
151
152
  appVersion: import("./types.js").MittwaldAPIV2.Components.Schemas.AppVersionStatus;
153
+ createdAt: string;
152
154
  customDocumentRoot?: string | undefined;
153
155
  description: string;
154
156
  disabled: boolean;
@@ -8730,6 +8732,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
8730
8732
  id: string;
8731
8733
  isReady: boolean;
8732
8734
  isShared: boolean;
8735
+ mainUser?: import("./types.js").MittwaldAPIV2.Components.Schemas.DatabaseMySqlUser | undefined;
8733
8736
  name: string;
8734
8737
  projectId: string;
8735
8738
  status: import("./types.js").MittwaldAPIV2.Components.Schemas.DatabaseDatabaseStatus;
@@ -8770,6 +8773,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
8770
8773
  id: string;
8771
8774
  isReady: boolean;
8772
8775
  isShared: boolean;
8776
+ mainUser?: import("./types.js").MittwaldAPIV2.Components.Schemas.DatabaseMySqlUser | undefined;
8773
8777
  name: string;
8774
8778
  projectId: string;
8775
8779
  status: import("./types.js").MittwaldAPIV2.Components.Schemas.DatabaseDatabaseStatus;
@@ -9803,72 +9807,90 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
9803
9807
  [x: string]: unknown;
9804
9808
  }, 429, "application/json">>>;
9805
9809
  };
9806
- /** The notification API allows you to manage your notifications. */
9807
- readonly notification: {
9808
- /** Subscribe a user to the mStudio newsletter. */
9809
- newsletterSubscribeUser: (request?: {
9810
- data?: {
9811
- firstName?: string | undefined;
9812
- lastName?: string | undefined;
9813
- } | 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?: {
9814
9814
  headers?: {
9815
9815
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
9816
9816
  "x-access-token"?: string | undefined;
9817
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;
9818
9826
  } | null | undefined, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
9819
- data: {
9820
- firstName?: string | undefined;
9821
- lastName?: string | undefined;
9822
- };
9823
- } & {
9824
9827
  headers?: Partial<{
9825
9828
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
9826
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
+ }>;
9827
9840
  } & {
9828
9841
  headers: {
9829
9842
  "x-access-token"?: string | undefined;
9830
9843
  } & Partial<{
9831
9844
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
9832
9845
  }>;
9833
- }, import("@mittwald/api-client-commons").Response<{
9834
- active: boolean;
9835
- email: string;
9836
- registered: boolean;
9837
- }, 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<{
9838
9847
  [x: string]: unknown;
9839
9848
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
9840
9849
  [x: string]: unknown;
9841
9850
  }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
9842
- data: {
9843
- firstName?: string | undefined;
9844
- lastName?: string | undefined;
9845
- };
9846
- } & {
9847
9851
  headers?: Partial<{
9848
9852
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
9849
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
+ }>;
9850
9864
  } & {
9851
9865
  headers: {
9852
9866
  "x-access-token"?: string | undefined;
9853
9867
  } & Partial<{
9854
9868
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
9855
9869
  }>;
9856
- }, import("@mittwald/api-client-commons").Response<{
9857
- active: boolean;
9858
- email: string;
9859
- registered: boolean;
9860
- }, 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<{
9861
9871
  [x: string]: unknown;
9862
9872
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
9863
9873
  [x: string]: unknown;
9864
9874
  }, 429, "application/json">>>;
9865
- /** Getting the subscription status of the subscription. */
9866
- 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;
9867
9881
  headers?: {
9868
9882
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
9869
9883
  "x-access-token"?: string | undefined;
9870
9884
  } | undefined;
9871
- } | 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
+ } & {
9872
9894
  headers?: Partial<{
9873
9895
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
9874
9896
  }>;
@@ -9878,13 +9900,21 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
9878
9900
  } & Partial<{
9879
9901
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
9880
9902
  }>;
9881
- }, import("@mittwald/api-client-commons").Response<{
9882
- active: boolean;
9883
- email: string;
9884
- registered: boolean;
9885
- }, 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<{
9886
9908
  [x: string]: unknown;
9887
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
+ } & {
9888
9918
  headers?: Partial<{
9889
9919
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
9890
9920
  }>;
@@ -9894,20 +9924,28 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
9894
9924
  } & Partial<{
9895
9925
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
9896
9926
  }>;
9897
- }, import("@mittwald/api-client-commons").Response<{
9898
- active: boolean;
9899
- email: string;
9900
- registered: boolean;
9901
- }, 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<{
9902
9932
  [x: string]: unknown;
9903
9933
  }, 429, "application/json">>>;
9904
- /** Unsubscribe a user from the mStudio newsletter. */
9905
- newsletterUnsubscribeUser: (request?: {
9934
+ /** Update the paths of an Ingress. */
9935
+ ingressUpdateIngressPaths: (request: {
9936
+ data: import("./types.js").MittwaldAPIV2.Components.Schemas.IngressPath[];
9937
+ ingressId: string;
9906
9938
  headers?: {
9907
9939
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
9908
9940
  "x-access-token"?: string | undefined;
9909
9941
  } | undefined;
9910
- } | 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
+ } & {
9911
9949
  headers?: Partial<{
9912
9950
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
9913
9951
  }>;
@@ -9919,7 +9957,15 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
9919
9957
  }>;
9920
9958
  }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
9921
9959
  [x: string]: unknown;
9960
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
9961
+ [x: string]: unknown;
9922
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
+ } & {
9923
9969
  headers?: Partial<{
9924
9970
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
9925
9971
  }>;
@@ -9931,14 +9977,45 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
9931
9977
  }>;
9932
9978
  }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
9933
9979
  [x: string]: unknown;
9980
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
9981
+ [x: string]: unknown;
9934
9982
  }, 429, "application/json">>>;
9935
- /** Get the counts for unread notifications of the user. */
9936
- 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;
9937
9991
  headers?: {
9938
9992
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
9939
9993
  "x-access-token"?: string | undefined;
9940
9994
  } | undefined;
9941
- } | 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
+ }) & {
9942
10019
  headers?: Partial<{
9943
10020
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
9944
10021
  }>;
@@ -9948,15 +10025,29 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
9948
10025
  } & Partial<{
9949
10026
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
9950
10027
  }>;
9951
- }, import("@mittwald/api-client-commons").Response<{
9952
- error: number;
9953
- info: number;
9954
- success: number;
9955
- total: number;
9956
- warning: number;
9957
- }, 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<{
9958
10029
  [x: string]: unknown;
9959
- }, 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
+ }) & {
9960
10051
  headers?: Partial<{
9961
10052
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
9962
10053
  }>;
@@ -9966,39 +10057,32 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
9966
10057
  } & Partial<{
9967
10058
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
9968
10059
  }>;
9969
- }, import("@mittwald/api-client-commons").Response<{
9970
- error: number;
9971
- info: number;
9972
- success: number;
9973
- total: number;
9974
- warning: number;
9975
- }, 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<{
9976
10067
  [x: string]: unknown;
9977
10068
  }, 429, "application/json">>>;
9978
- /** List all unread notifications. */
9979
- slistNotifications: (request?: {
10069
+ /** Create a DNSZone. */
10070
+ dnsCreateDnsZone: (request: {
10071
+ data: {
10072
+ name: string;
10073
+ parentZoneId: string;
10074
+ };
9980
10075
  headers?: {
9981
10076
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
9982
10077
  "x-access-token"?: string | undefined;
9983
10078
  } | undefined;
9984
- queryParameters?: {
9985
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
9986
- status?: "unread" | "read" | undefined;
9987
- limit?: number | undefined;
9988
- skip?: number | undefined;
9989
- page?: number | undefined;
9990
- } | undefined;
9991
- } | null | undefined, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
9992
- headers?: Partial<{
9993
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
9994
- }>;
10079
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
10080
+ data: {
10081
+ name: string;
10082
+ parentZoneId: string;
10083
+ };
9995
10084
  } & {
9996
- queryParameters: {
9997
- status?: "unread" | "read" | undefined;
9998
- limit?: number | undefined;
9999
- skip?: number | undefined;
10000
- page?: number | undefined;
10001
- } & Partial<{
10085
+ headers?: Partial<{
10002
10086
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
10003
10087
  }>;
10004
10088
  } & {
@@ -10007,195 +10091,18 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
10007
10091
  } & Partial<{
10008
10092
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
10009
10093
  }>;
10010
- }, 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<{
10011
10099
  [x: string]: unknown;
10012
10100
  }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
10013
- headers?: Partial<{
10014
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
10015
- }>;
10016
- } & {
10017
- queryParameters: {
10018
- status?: "unread" | "read" | undefined;
10019
- limit?: number | undefined;
10020
- skip?: number | undefined;
10021
- page?: number | undefined;
10022
- } & Partial<{
10023
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
10024
- }>;
10025
- } & {
10026
- headers: {
10027
- "x-access-token"?: string | undefined;
10028
- } & Partial<{
10029
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
10030
- }>;
10031
- }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.MessagingNotification[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
10032
- [x: string]: unknown;
10033
- }, 429, "application/json">>>;
10034
- /** Mark all notifications as read. */
10035
- sreadAllNotifications: (request?: {
10036
- headers?: {
10037
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
10038
- "x-access-token"?: string | undefined;
10039
- } | undefined;
10040
- queryParameters?: {
10041
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
10042
- severities?: ("success" | "info" | "warning" | "error")[] | undefined;
10043
- referenceId?: string | undefined;
10044
- referenceAggregate?: string | undefined;
10045
- referenceDomain?: string | undefined;
10046
- } | undefined;
10047
- } | null | undefined, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
10048
- headers?: Partial<{
10049
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
10050
- }>;
10051
- } & {
10052
- queryParameters: {
10053
- severities?: ("success" | "info" | "warning" | "error")[] | undefined;
10054
- referenceId?: string | undefined;
10055
- referenceAggregate?: string | undefined;
10056
- referenceDomain?: string | undefined;
10057
- } & Partial<{
10058
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
10059
- }>;
10060
- } & {
10061
- headers: {
10062
- "x-access-token"?: string | undefined;
10063
- } & Partial<{
10064
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
10065
- }>;
10066
- }, import("@mittwald/api-client-commons").Response<{
10067
- status: import("./types.js").MittwaldAPIV2.Components.Schemas.MessagingNotificationStatus;
10068
- updatedCount: number;
10069
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
10070
- [x: string]: unknown;
10071
- }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
10072
- [x: string]: unknown;
10073
- }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
10074
- headers?: Partial<{
10075
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
10076
- }>;
10077
- } & {
10078
- queryParameters: {
10079
- severities?: ("success" | "info" | "warning" | "error")[] | undefined;
10080
- referenceId?: string | undefined;
10081
- referenceAggregate?: string | undefined;
10082
- referenceDomain?: string | undefined;
10083
- } & Partial<{
10084
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
10085
- }>;
10086
- } & {
10087
- headers: {
10088
- "x-access-token"?: string | undefined;
10089
- } & Partial<{
10090
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
10091
- }>;
10092
- }, import("@mittwald/api-client-commons").Response<{
10093
- status: import("./types.js").MittwaldAPIV2.Components.Schemas.MessagingNotificationStatus;
10094
- updatedCount: number;
10095
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
10096
- [x: string]: unknown;
10097
- }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
10098
- [x: string]: unknown;
10099
- }, 429, "application/json">>>;
10100
- /** Mark notification as read. */
10101
- sreadNotification: (request: {
10102
- data: {
10103
- status: import("./types.js").MittwaldAPIV2.Components.Schemas.MessagingNotificationStatus;
10104
- };
10105
- notificationId: string;
10106
- headers?: {
10107
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
10108
- "x-access-token"?: string | undefined;
10109
- } | undefined;
10110
- }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
10111
- data: {
10112
- status: import("./types.js").MittwaldAPIV2.Components.Schemas.MessagingNotificationStatus;
10113
- };
10114
- } & {
10115
- pathParameters: {
10116
- notificationId: string;
10117
- };
10118
- } & {
10119
- headers?: Partial<{
10120
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
10121
- }>;
10122
- } & {
10123
- headers: {
10124
- "x-access-token"?: string | undefined;
10125
- } & Partial<{
10126
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
10127
- }>;
10128
- }, import("@mittwald/api-client-commons").Response<{
10129
- status: import("./types.js").MittwaldAPIV2.Components.Schemas.MessagingNotificationStatus;
10130
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
10131
- [x: string]: unknown;
10132
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
10133
- [x: string]: unknown;
10134
- }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
10135
- data: {
10136
- status: import("./types.js").MittwaldAPIV2.Components.Schemas.MessagingNotificationStatus;
10137
- };
10138
- } & {
10139
- pathParameters: {
10140
- notificationId: string;
10141
- };
10142
- } & {
10143
- headers?: Partial<{
10144
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
10145
- }>;
10146
- } & {
10147
- headers: {
10148
- "x-access-token"?: string | undefined;
10149
- } & Partial<{
10150
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
10151
- }>;
10152
- }, import("@mittwald/api-client-commons").Response<{
10153
- status: import("./types.js").MittwaldAPIV2.Components.Schemas.MessagingNotificationStatus;
10154
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
10155
- [x: string]: unknown;
10156
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
10157
- [x: string]: unknown;
10158
- }, 429, "application/json">>>;
10159
- };
10160
- /** The domain API allows you to manage your domains, DNS records, SSL certificates and ingress resources. */
10161
- readonly domain: {
10162
- /** Create a DNSZone. */
10163
- dnsCreateDnsZone: (request: {
10164
- data: {
10165
- name: string;
10166
- parentZoneId: string;
10167
- };
10168
- headers?: {
10169
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
10170
- "x-access-token"?: string | undefined;
10171
- } | undefined;
10172
- }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
10173
- data: {
10174
- name: string;
10175
- parentZoneId: string;
10176
- };
10177
- } & {
10178
- headers?: Partial<{
10179
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
10180
- }>;
10181
- } & {
10182
- headers: {
10183
- "x-access-token"?: string | undefined;
10184
- } & Partial<{
10185
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
10186
- }>;
10187
- }, import("@mittwald/api-client-commons").Response<{
10188
- id: string;
10189
- }, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
10190
- [x: string]: unknown;
10191
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
10192
- [x: string]: unknown;
10193
- }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
10194
- data: {
10195
- name: string;
10196
- parentZoneId: string;
10197
- };
10198
- } & {
10101
+ data: {
10102
+ name: string;
10103
+ parentZoneId: string;
10104
+ };
10105
+ } & {
10199
10106
  headers?: Partial<{
10200
10107
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
10201
10108
  }>;
@@ -10695,69 +10602,6 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
10695
10602
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
10696
10603
  [x: string]: unknown;
10697
10604
  }, 429, "application/json">>>;
10698
- /** List Domains */
10699
- listDomains: (request?: {
10700
- headers?: {
10701
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
10702
- "x-access-token"?: string | undefined;
10703
- } | undefined;
10704
- queryParameters?: {
10705
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
10706
- projectId?: string | undefined;
10707
- page?: number | undefined;
10708
- limit?: number | undefined;
10709
- domainSearchName?: string | undefined;
10710
- contactHash?: string | undefined;
10711
- } | undefined;
10712
- } | null | undefined, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
10713
- headers?: Partial<{
10714
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
10715
- }>;
10716
- } & {
10717
- queryParameters: {
10718
- projectId?: string | undefined;
10719
- page?: number | undefined;
10720
- limit?: number | undefined;
10721
- domainSearchName?: string | undefined;
10722
- contactHash?: string | undefined;
10723
- } & Partial<{
10724
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
10725
- }>;
10726
- } & {
10727
- headers: {
10728
- "x-access-token"?: string | undefined;
10729
- } & Partial<{
10730
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
10731
- }>;
10732
- }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.DomainDomain[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
10733
- [x: string]: unknown;
10734
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
10735
- [x: string]: unknown;
10736
- }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
10737
- headers?: Partial<{
10738
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
10739
- }>;
10740
- } & {
10741
- queryParameters: {
10742
- projectId?: string | undefined;
10743
- page?: number | undefined;
10744
- limit?: number | undefined;
10745
- domainSearchName?: string | undefined;
10746
- contactHash?: string | undefined;
10747
- } & Partial<{
10748
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
10749
- }>;
10750
- } & {
10751
- headers: {
10752
- "x-access-token"?: string | undefined;
10753
- } & Partial<{
10754
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
10755
- }>;
10756
- }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.DomainDomain[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
10757
- [x: string]: unknown;
10758
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
10759
- [x: string]: unknown;
10760
- }, 429, "application/json">>>;
10761
10605
  /** Check if a Domain is available to transfer. */
10762
10606
  checkDomainTransferability: (request: {
10763
10607
  data: {
@@ -10850,67 +10694,8 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
10850
10694
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
10851
10695
  [x: string]: unknown;
10852
10696
  }, 429, "application/json">>>;
10853
- /** Update the nameservers of a Domain. */
10854
- updateDomainNameservers: (request: {
10855
- domainId: string;
10856
- data?: {
10857
- nameservers?: [string, string, ...string[]] | undefined;
10858
- } | undefined;
10859
- headers?: {
10860
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
10861
- "x-access-token"?: string | undefined;
10862
- } | undefined;
10863
- }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
10864
- data: {
10865
- nameservers?: [string, string, ...string[]] | undefined;
10866
- };
10867
- } & {
10868
- pathParameters: {
10869
- domainId: string;
10870
- };
10871
- } & {
10872
- headers?: Partial<{
10873
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
10874
- }>;
10875
- } & {
10876
- headers: {
10877
- "x-access-token"?: string | undefined;
10878
- } & Partial<{
10879
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
10880
- }>;
10881
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
10882
- [x: string]: unknown;
10883
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
10884
- [x: string]: unknown;
10885
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
10886
- [x: string]: unknown;
10887
- }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
10888
- data: {
10889
- nameservers?: [string, string, ...string[]] | undefined;
10890
- };
10891
- } & {
10892
- pathParameters: {
10893
- domainId: string;
10894
- };
10895
- } & {
10896
- headers?: Partial<{
10897
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
10898
- }>;
10899
- } & {
10900
- headers: {
10901
- "x-access-token"?: string | undefined;
10902
- } & Partial<{
10903
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
10904
- }>;
10905
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
10906
- [x: string]: unknown;
10907
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
10908
- [x: string]: unknown;
10909
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
10910
- [x: string]: unknown;
10911
- }, 429, "application/json">>>;
10912
- /** Get a Domain. */
10913
- getDomain: (request: {
10697
+ /** Get a Domain. */
10698
+ getDomain: (request: {
10914
10699
  domainId: string;
10915
10700
  headers?: {
10916
10701
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
@@ -11823,55 +11608,6 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
11823
11608
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
11824
11609
  [x: string]: unknown;
11825
11610
  }, 429, "application/json">>>;
11826
- /** Update the paths of an Ingress. */
11827
- ingressUpdateIngressPaths: (request: {
11828
- data: import("./types.js").MittwaldAPIV2.Components.Schemas.IngressPath[];
11829
- ingressId: string;
11830
- headers?: {
11831
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
11832
- "x-access-token"?: string | undefined;
11833
- } | undefined;
11834
- }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
11835
- data: import("./types.js").MittwaldAPIV2.Components.Schemas.IngressPath[];
11836
- } & {
11837
- pathParameters: {
11838
- ingressId: string;
11839
- };
11840
- } & {
11841
- headers?: Partial<{
11842
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
11843
- }>;
11844
- } & {
11845
- headers: {
11846
- "x-access-token"?: string | undefined;
11847
- } & Partial<{
11848
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
11849
- }>;
11850
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
11851
- [x: string]: unknown;
11852
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
11853
- [x: string]: unknown;
11854
- }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
11855
- data: import("./types.js").MittwaldAPIV2.Components.Schemas.IngressPath[];
11856
- } & {
11857
- pathParameters: {
11858
- ingressId: string;
11859
- };
11860
- } & {
11861
- headers?: Partial<{
11862
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
11863
- }>;
11864
- } & {
11865
- headers: {
11866
- "x-access-token"?: string | undefined;
11867
- } & Partial<{
11868
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
11869
- }>;
11870
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
11871
- [x: string]: unknown;
11872
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
11873
- [x: string]: unknown;
11874
- }, 429, "application/json">>>;
11875
11611
  /** Request the ACME certificate issuance of an Ingress. */
11876
11612
  ingressRequestIngressAcmeCertificateIssuance: (request: {
11877
11613
  ingressId: string;
@@ -11920,92 +11656,6 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
11920
11656
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
11921
11657
  [x: string]: unknown;
11922
11658
  }, 429, "application/json">>>;
11923
- /** Update the tls settings of an Ingress. */
11924
- ingressUpdateIngressTls: (request: {
11925
- data: {
11926
- acme: boolean;
11927
- isCreated?: boolean | undefined;
11928
- requestDeadline?: string | undefined;
11929
- };
11930
- ingressId: string;
11931
- headers?: {
11932
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
11933
- "x-access-token"?: string | undefined;
11934
- } | undefined;
11935
- } | {
11936
- data: {
11937
- certificateId: string;
11938
- };
11939
- ingressId: string;
11940
- headers?: {
11941
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
11942
- "x-access-token"?: string | undefined;
11943
- } | undefined;
11944
- }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<(({
11945
- data: {
11946
- acme: boolean;
11947
- isCreated?: boolean | undefined;
11948
- requestDeadline?: string | undefined;
11949
- };
11950
- } | {
11951
- data: {
11952
- certificateId: string;
11953
- };
11954
- }) & {
11955
- pathParameters: {
11956
- ingressId: string;
11957
- };
11958
- }) & {
11959
- headers?: Partial<{
11960
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
11961
- }>;
11962
- } & {
11963
- headers: {
11964
- "x-access-token"?: string | undefined;
11965
- } & Partial<{
11966
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
11967
- }>;
11968
- }, import("@mittwald/api-client-commons").Response<{}, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
11969
- [x: string]: unknown;
11970
- }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
11971
- [x: string]: unknown;
11972
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
11973
- [x: string]: unknown;
11974
- }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
11975
- [x: string]: unknown;
11976
- }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<(({
11977
- data: {
11978
- acme: boolean;
11979
- isCreated?: boolean | undefined;
11980
- requestDeadline?: string | undefined;
11981
- };
11982
- } | {
11983
- data: {
11984
- certificateId: string;
11985
- };
11986
- }) & {
11987
- pathParameters: {
11988
- ingressId: string;
11989
- };
11990
- }) & {
11991
- headers?: Partial<{
11992
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
11993
- }>;
11994
- } & {
11995
- headers: {
11996
- "x-access-token"?: string | undefined;
11997
- } & Partial<{
11998
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
11999
- }>;
12000
- }, import("@mittwald/api-client-commons").Response<{}, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
12001
- [x: string]: unknown;
12002
- }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
12003
- [x: string]: unknown;
12004
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
12005
- [x: string]: unknown;
12006
- }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
12007
- [x: string]: unknown;
12008
- }, 429, "application/json">>>;
12009
11659
  /** Check the replacement of a Certificate. */
12010
11660
  sslCheckReplaceCertificate: (request: {
12011
11661
  data: {
@@ -12579,20 +12229,35 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
12579
12229
  [x: string]: unknown;
12580
12230
  }, 429, "application/json">>>;
12581
12231
  };
12582
- /** The file API allows you to manage your files, for example for conversations attachments and avatar uploads. */
12583
- readonly file: {
12584
- /** Create a File. */
12585
- createFile: (request: {
12586
- headers: {
12587
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
12588
- 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
+ };
12589
12243
  };
12590
- data?: {
12591
- [x: string]: unknown;
12244
+ mailAddressId: string;
12245
+ headers?: {
12246
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
12247
+ "x-access-token"?: string | undefined;
12592
12248
  } | undefined;
12593
12249
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
12594
12250
  data: {
12595
- [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;
12596
12261
  };
12597
12262
  } & {
12598
12263
  headers?: Partial<{
@@ -12600,166 +12265,370 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
12600
12265
  }>;
12601
12266
  } & {
12602
12267
  headers: {
12603
- Token: string;
12268
+ "x-access-token"?: string | undefined;
12604
12269
  } & Partial<{
12605
12270
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
12606
12271
  }>;
12607
- }, import("@mittwald/api-client-commons").Response<{
12608
- friendlyURL: string;
12609
- friendlyUrl: string;
12610
- id: string;
12611
- mimeType: string;
12612
- name: string;
12613
- sizeInBytes: number;
12614
- type: string;
12615
- }, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
12272
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
12616
12273
  [x: string]: unknown;
12617
12274
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
12618
12275
  [x: string]: unknown;
12619
- }, 401, "application/json"> | import("@mittwald/api-client-commons").Response<{
12620
- [x: string]: unknown;
12621
- }, 406, "application/json"> | import("@mittwald/api-client-commons").Response<{
12276
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
12622
12277
  [x: string]: unknown;
12623
- }, 422, "application/json"> | import("@mittwald/api-client-commons").Response<{
12278
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
12624
12279
  [x: string]: unknown;
12625
12280
  }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
12626
12281
  [x: string]: unknown;
12627
- }, 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<{
12628
12285
  data: {
12629
- [x: string]: unknown;
12286
+ autoResponder: {
12287
+ active: boolean;
12288
+ expiresAt?: string;
12289
+ message: string;
12290
+ startsAt?: string;
12291
+ };
12630
12292
  };
12631
12293
  } & {
12632
- headers?: Partial<{
12633
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
12294
+ pathParameters: {
12295
+ mailAddressId: string;
12296
+ };
12297
+ } & {
12298
+ headers?: Partial<{
12299
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
12634
12300
  }>;
12635
12301
  } & {
12636
12302
  headers: {
12637
- Token: string;
12303
+ "x-access-token"?: string | undefined;
12638
12304
  } & Partial<{
12639
12305
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
12640
12306
  }>;
12641
- }, import("@mittwald/api-client-commons").Response<{
12642
- friendlyURL: string;
12643
- friendlyUrl: string;
12644
- id: string;
12645
- mimeType: string;
12646
- name: string;
12647
- sizeInBytes: number;
12648
- type: string;
12649
- }, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
12307
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
12650
12308
  [x: string]: unknown;
12651
12309
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
12652
12310
  [x: string]: unknown;
12653
- }, 401, "application/json"> | import("@mittwald/api-client-commons").Response<{
12654
- [x: string]: unknown;
12655
- }, 406, "application/json"> | import("@mittwald/api-client-commons").Response<{
12311
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
12656
12312
  [x: string]: unknown;
12657
- }, 422, "application/json"> | import("@mittwald/api-client-commons").Response<{
12313
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
12658
12314
  [x: string]: unknown;
12659
12315
  }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
12660
12316
  [x: string]: unknown;
12661
- }, 500, "application/json">>>;
12662
- /** Get a File's meta. */
12663
- getFileMeta: (request: {
12664
- 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;
12665
12326
  headers?: {
12666
12327
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
12667
- Token?: string | undefined;
12668
- } | undefined;
12669
- queryParameters?: {
12670
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
12671
- token?: string | undefined;
12328
+ "x-access-token"?: string | undefined;
12672
12329
  } | undefined;
12673
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
+ } & {
12674
12339
  headers?: Partial<{
12675
12340
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
12676
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
+ };
12677
12364
  } & {
12678
12365
  pathParameters: {
12679
- fileId: string;
12366
+ mailAddressId: string;
12680
12367
  };
12681
12368
  } & {
12682
- queryParameters: {
12683
- token?: string | undefined;
12684
- } & Partial<{
12369
+ headers?: Partial<{
12685
12370
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
12686
12371
  }>;
12687
12372
  } & {
12688
12373
  headers: {
12689
- Token?: string | undefined;
12374
+ "x-access-token"?: string | undefined;
12690
12375
  } & Partial<{
12691
12376
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
12692
12377
  }>;
12693
- }, import("@mittwald/api-client-commons").Response<{
12694
- friendlyURL: string;
12695
- friendlyUrl: string;
12696
- id: string;
12697
- mimeType: string;
12698
- name: string;
12699
- sizeInBytes: number;
12700
- type: string;
12701
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
12378
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
12702
12379
  [x: string]: unknown;
12703
12380
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
12704
12381
  [x: string]: unknown;
12705
- }, 401, "application/json"> | import("@mittwald/api-client-commons").Response<{
12706
- [x: string]: unknown;
12707
12382
  }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
12708
12383
  [x: string]: unknown;
12709
12384
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
12710
12385
  [x: string]: unknown;
12711
- }, 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<{
12712
12426
  [x: string]: unknown;
12713
12427
  }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
12714
12428
  [x: string]: unknown;
12715
- }, 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
+ } & {
12716
12440
  headers?: Partial<{
12717
12441
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
12718
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
+ };
12719
12476
  } & {
12720
12477
  pathParameters: {
12721
- fileId: string;
12478
+ mailAddressId: string;
12722
12479
  };
12723
12480
  } & {
12724
- queryParameters: {
12725
- 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;
12726
12487
  } & Partial<{
12727
12488
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
12728
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
+ }>;
12729
12514
  } & {
12730
12515
  headers: {
12731
- Token?: string | undefined;
12516
+ "x-access-token"?: string | undefined;
12732
12517
  } & Partial<{
12733
12518
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
12734
12519
  }>;
12735
- }, import("@mittwald/api-client-commons").Response<{
12736
- friendlyURL: string;
12737
- friendlyUrl: string;
12738
- id: string;
12739
- mimeType: string;
12740
- name: string;
12741
- sizeInBytes: number;
12742
- type: string;
12743
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
12520
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
12744
12521
  [x: string]: unknown;
12745
12522
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
12746
12523
  [x: string]: unknown;
12747
- }, 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<{
12748
12574
  [x: string]: unknown;
12749
12575
  }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
12750
12576
  [x: string]: unknown;
12751
12577
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
12752
12578
  [x: string]: unknown;
12753
- }, 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<{
12754
12613
  [x: string]: unknown;
12755
12614
  }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
12756
12615
  [x: string]: unknown;
12757
- }, 500, "application/json">>>;
12758
- /** Get a FileUploadToken's rules. */
12759
- getFileUploadTokenRules: (request: {
12760
- 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;
12761
12622
  headers?: {
12762
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;
12763
12632
  } | undefined;
12764
12633
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
12765
12634
  headers?: Partial<{
@@ -12767,158 +12636,162 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
12767
12636
  }>;
12768
12637
  } & {
12769
12638
  pathParameters: {
12770
- fileUploadToken: string;
12639
+ projectId: string;
12771
12640
  };
12772
- }, import("@mittwald/api-client-commons").Response<{
12773
- extensions: string[];
12774
- fileTypes: import("./types.js").MittwaldAPIV2.Components.Schemas.FileFileType[];
12775
- maxSizeInBytes: number;
12776
- maxSizeInKB: number;
12777
- maxSizeInKb: number;
12778
- mimeTypes: string[];
12779
- properties?: {
12780
- imageDimensions?: {
12781
- max?: {
12782
- height?: number;
12783
- width?: number;
12784
- };
12785
- min?: {
12786
- height?: number;
12787
- width?: number;
12788
- };
12789
- };
12790
- } | undefined;
12791
- }, 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<{
12792
12657
  [x: string]: unknown;
12793
12658
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
12794
12659
  [x: string]: unknown;
12660
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
12661
+ [x: string]: unknown;
12795
12662
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
12796
12663
  [x: string]: unknown;
12797
12664
  }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
12798
12665
  [x: string]: unknown;
12799
- }, 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<{
12800
12669
  headers?: Partial<{
12801
12670
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
12802
12671
  }>;
12803
12672
  } & {
12804
12673
  pathParameters: {
12805
- fileUploadToken: string;
12674
+ projectId: string;
12806
12675
  };
12807
- }, import("@mittwald/api-client-commons").Response<{
12808
- extensions: string[];
12809
- fileTypes: import("./types.js").MittwaldAPIV2.Components.Schemas.FileFileType[];
12810
- maxSizeInBytes: number;
12811
- maxSizeInKB: number;
12812
- maxSizeInKb: number;
12813
- mimeTypes: string[];
12814
- properties?: {
12815
- imageDimensions?: {
12816
- max?: {
12817
- height?: number;
12818
- width?: number;
12819
- };
12820
- min?: {
12821
- height?: number;
12822
- width?: number;
12823
- };
12824
- };
12825
- } | undefined;
12826
- }, 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<{
12827
12692
  [x: string]: unknown;
12828
12693
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
12829
12694
  [x: string]: unknown;
12695
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
12696
+ [x: string]: unknown;
12830
12697
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
12831
12698
  [x: string]: unknown;
12832
12699
  }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
12833
12700
  [x: string]: unknown;
12834
- }, 500, "application/json">>>;
12835
- /** Get a FileUploadType's rules. */
12836
- getFileUploadTypeRules: (request: {
12837
- 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;
12838
12711
  headers?: {
12839
12712
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
12713
+ "x-access-token"?: string | undefined;
12840
12714
  } | undefined;
12841
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
+ } & {
12842
12725
  headers?: Partial<{
12843
12726
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
12844
12727
  }>;
12845
12728
  } & {
12846
- pathParameters: {
12847
- fileUploadType: "avatar" | "conversation";
12848
- };
12849
- }, import("@mittwald/api-client-commons").Response<{
12850
- extensions: string[];
12851
- fileTypes: import("./types.js").MittwaldAPIV2.Components.Schemas.FileFileType[];
12852
- maxSizeInBytes: number;
12853
- maxSizeInKB: number;
12854
- maxSizeInKb: number;
12855
- mimeTypes: string[];
12856
- properties?: {
12857
- imageDimensions?: {
12858
- max?: {
12859
- height?: number;
12860
- width?: number;
12861
- };
12862
- min?: {
12863
- height?: number;
12864
- width?: number;
12865
- };
12866
- };
12867
- } | undefined;
12868
- }, 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<{
12869
12737
  [x: string]: unknown;
12870
12738
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
12871
12739
  [x: string]: unknown;
12740
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
12741
+ [x: string]: unknown;
12872
12742
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
12873
12743
  [x: string]: unknown;
12874
- }, 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
+ } & {
12875
12758
  headers?: Partial<{
12876
12759
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
12877
12760
  }>;
12878
12761
  } & {
12879
- pathParameters: {
12880
- fileUploadType: "avatar" | "conversation";
12881
- };
12762
+ headers: {
12763
+ "x-access-token"?: string | undefined;
12764
+ } & Partial<{
12765
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
12766
+ }>;
12882
12767
  }, import("@mittwald/api-client-commons").Response<{
12883
- extensions: string[];
12884
- fileTypes: import("./types.js").MittwaldAPIV2.Components.Schemas.FileFileType[];
12885
- maxSizeInBytes: number;
12886
- maxSizeInKB: number;
12887
- maxSizeInKb: number;
12888
- mimeTypes: string[];
12889
- properties?: {
12890
- imageDimensions?: {
12891
- max?: {
12892
- height?: number;
12893
- width?: number;
12894
- };
12895
- min?: {
12896
- height?: number;
12897
- width?: number;
12898
- };
12899
- };
12900
- } | undefined;
12901
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
12768
+ id: string;
12769
+ }, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
12902
12770
  [x: string]: unknown;
12903
12771
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
12904
12772
  [x: string]: unknown;
12773
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
12774
+ [x: string]: unknown;
12905
12775
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
12906
12776
  [x: string]: unknown;
12907
- }, 500, "application/json">>>;
12908
- /** Get a File. */
12909
- getFile: (request: {
12910
- 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;
12911
12785
  headers?: {
12912
12786
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
12913
- Accept?: "application/octet-stream" | "text/plain;base64" | undefined;
12914
- "Content-Disposition"?: "inline" | "attachment" | undefined;
12915
- Token?: string | undefined;
12787
+ "x-access-token"?: string | undefined;
12916
12788
  } | undefined;
12917
12789
  queryParameters?: {
12918
12790
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
12919
- accept?: "application/octet-stream" | "text/plain;base64" | undefined;
12920
- "content-disposition"?: "inline" | "attachment" | undefined;
12921
- token?: string | undefined;
12791
+ search?: string | undefined;
12792
+ limit?: number | undefined;
12793
+ skip?: number | undefined;
12794
+ page?: number | undefined;
12922
12795
  } | undefined;
12923
12796
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
12924
12797
  headers?: Partial<{
@@ -12926,213 +12799,215 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
12926
12799
  }>;
12927
12800
  } & {
12928
12801
  pathParameters: {
12929
- fileId: string;
12802
+ projectId: string;
12930
12803
  };
12931
12804
  } & {
12932
12805
  queryParameters: {
12933
- accept?: "application/octet-stream" | "text/plain;base64" | undefined;
12934
- "content-disposition"?: "inline" | "attachment" | undefined;
12935
- token?: string | undefined;
12806
+ search?: string | undefined;
12807
+ limit?: number | undefined;
12808
+ skip?: number | undefined;
12809
+ page?: number | undefined;
12936
12810
  } & Partial<{
12937
12811
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
12938
12812
  }>;
12939
12813
  } & {
12940
12814
  headers: {
12941
- Accept?: "application/octet-stream" | "text/plain;base64" | undefined;
12942
- "Content-Disposition"?: "inline" | "attachment" | undefined;
12943
- Token?: string | undefined;
12815
+ "x-access-token"?: string | undefined;
12944
12816
  } & Partial<{
12945
12817
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
12946
12818
  }>;
12947
- }, 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<{
12948
12820
  [x: string]: unknown;
12949
12821
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
12950
12822
  [x: string]: unknown;
12951
- }, 401, "application/json"> | import("@mittwald/api-client-commons").Response<{
12952
- [x: string]: unknown;
12953
12823
  }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
12954
12824
  [x: string]: unknown;
12955
12825
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
12956
12826
  [x: string]: unknown;
12957
- }, 422, "application/json"> | import("@mittwald/api-client-commons").Response<{
12958
- [x: string]: unknown;
12959
12827
  }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
12960
12828
  [x: string]: unknown;
12961
- }, 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<{
12962
12832
  headers?: Partial<{
12963
12833
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
12964
12834
  }>;
12965
12835
  } & {
12966
12836
  pathParameters: {
12967
- fileId: string;
12837
+ projectId: string;
12968
12838
  };
12969
12839
  } & {
12970
12840
  queryParameters: {
12971
- accept?: "application/octet-stream" | "text/plain;base64" | undefined;
12972
- "content-disposition"?: "inline" | "attachment" | undefined;
12973
- token?: string | undefined;
12841
+ search?: string | undefined;
12842
+ limit?: number | undefined;
12843
+ skip?: number | undefined;
12844
+ page?: number | undefined;
12974
12845
  } & Partial<{
12975
12846
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
12976
12847
  }>;
12977
12848
  } & {
12978
12849
  headers: {
12979
- Accept?: "application/octet-stream" | "text/plain;base64" | undefined;
12980
- "Content-Disposition"?: "inline" | "attachment" | undefined;
12981
- Token?: string | undefined;
12850
+ "x-access-token"?: string | undefined;
12982
12851
  } & Partial<{
12983
12852
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
12984
12853
  }>;
12985
- }, 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<{
12986
12855
  [x: string]: unknown;
12987
12856
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
12988
12857
  [x: string]: unknown;
12989
- }, 401, "application/json"> | import("@mittwald/api-client-commons").Response<{
12990
- [x: string]: unknown;
12991
12858
  }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
12992
12859
  [x: string]: unknown;
12993
12860
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
12994
12861
  [x: string]: unknown;
12995
- }, 422, "application/json"> | import("@mittwald/api-client-commons").Response<{
12996
- [x: string]: unknown;
12997
12862
  }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
12998
12863
  [x: string]: unknown;
12999
- }, 500, "application/json">>>;
13000
- /** Get a File with user-friendly url. */
13001
- getFileWithName: (request: {
13002
- fileId: string;
13003
- 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;
13004
12874
  headers?: {
13005
12875
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
13006
- Accept?: "application/octet-stream" | "text/plain;base64" | undefined;
13007
- "Content-Disposition"?: "inline" | "attachment" | undefined;
13008
- Token?: string | undefined;
12876
+ "x-access-token"?: string | undefined;
13009
12877
  } | undefined;
13010
- 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?: {
13011
12890
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
13012
- accept?: "application/octet-stream" | "text/plain;base64" | undefined;
13013
- "content-disposition"?: "inline" | "attachment" | undefined;
13014
- token?: string | undefined;
12891
+ "x-access-token"?: string | undefined;
13015
12892
  } | undefined;
13016
- }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
13017
- headers?: Partial<{
13018
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13019
- }>;
13020
- } & {
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
+ }) & {
13021
12909
  pathParameters: {
13022
- fileId: string;
13023
- fileName: string;
12910
+ projectId: string;
13024
12911
  };
13025
- } & {
13026
- queryParameters: {
13027
- accept?: "application/octet-stream" | "text/plain;base64" | undefined;
13028
- "content-disposition"?: "inline" | "attachment" | undefined;
13029
- token?: string | undefined;
13030
- } & Partial<{
12912
+ }) & {
12913
+ headers?: Partial<{
13031
12914
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13032
12915
  }>;
13033
12916
  } & {
13034
12917
  headers: {
13035
- Accept?: "application/octet-stream" | "text/plain;base64" | undefined;
13036
- "Content-Disposition"?: "inline" | "attachment" | undefined;
13037
- Token?: string | undefined;
12918
+ "x-access-token"?: string | undefined;
13038
12919
  } & Partial<{
13039
12920
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13040
12921
  }>;
13041
- }, 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<{
13042
12925
  [x: string]: unknown;
13043
12926
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
13044
12927
  [x: string]: unknown;
13045
- }, 401, "application/json"> | import("@mittwald/api-client-commons").Response<{
13046
- [x: string]: unknown;
13047
12928
  }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
13048
12929
  [x: string]: unknown;
13049
12930
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
13050
12931
  [x: string]: unknown;
13051
- }, 422, "application/json"> | import("@mittwald/api-client-commons").Response<{
13052
- [x: string]: unknown;
13053
12932
  }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
13054
12933
  [x: string]: unknown;
13055
- }, 500, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
13056
- headers?: Partial<{
13057
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13058
- }>;
13059
- } & {
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
+ }) & {
13060
12952
  pathParameters: {
13061
- fileId: string;
13062
- fileName: string;
12953
+ projectId: string;
13063
12954
  };
13064
- } & {
13065
- queryParameters: {
13066
- accept?: "application/octet-stream" | "text/plain;base64" | undefined;
13067
- "content-disposition"?: "inline" | "attachment" | undefined;
13068
- token?: string | undefined;
13069
- } & Partial<{
12955
+ }) & {
12956
+ headers?: Partial<{
13070
12957
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13071
12958
  }>;
13072
12959
  } & {
13073
12960
  headers: {
13074
- Accept?: "application/octet-stream" | "text/plain;base64" | undefined;
13075
- "Content-Disposition"?: "inline" | "attachment" | undefined;
13076
- Token?: string | undefined;
12961
+ "x-access-token"?: string | undefined;
13077
12962
  } & Partial<{
13078
12963
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13079
12964
  }>;
13080
- }, 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<{
13081
12968
  [x: string]: unknown;
13082
12969
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
13083
12970
  [x: string]: unknown;
13084
- }, 401, "application/json"> | import("@mittwald/api-client-commons").Response<{
13085
- [x: string]: unknown;
13086
12971
  }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
13087
12972
  [x: string]: unknown;
13088
12973
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
13089
12974
  [x: string]: unknown;
13090
- }, 422, "application/json"> | import("@mittwald/api-client-commons").Response<{
13091
- [x: string]: unknown;
13092
- }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
13093
- [x: string]: unknown;
13094
- }, 500, "application/json">>>;
13095
- };
13096
- /** The mail API allows you to manage your mail accounts. */
13097
- readonly mail: {
13098
- /** List DeliveryBoxes belonging to a Project. */
13099
- listDeliveryBoxes: (request: {
13100
- 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;
13101
12983
  headers?: {
13102
12984
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
13103
12985
  "x-access-token"?: string | undefined;
13104
12986
  } | undefined;
13105
- queryParameters?: {
13106
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
13107
- search?: string | undefined;
13108
- limit?: number | undefined;
13109
- skip?: number | undefined;
13110
- page?: number | undefined;
13111
- } | undefined;
13112
12987
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
13113
12988
  headers?: Partial<{
13114
12989
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13115
12990
  }>;
13116
12991
  } & {
13117
12992
  pathParameters: {
13118
- projectId: string;
12993
+ deliveryBoxId: string;
13119
12994
  };
13120
- } & {
13121
- queryParameters: {
13122
- search?: string | undefined;
13123
- limit?: number | undefined;
13124
- skip?: number | undefined;
13125
- page?: number | undefined;
13126
- } & Partial<{
13127
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13128
- }>;
13129
12995
  } & {
13130
12996
  headers: {
13131
12997
  "x-access-token"?: string | undefined;
13132
12998
  } & Partial<{
13133
12999
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13134
13000
  }>;
13135
- }, 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<{
13136
13011
  [x: string]: unknown;
13137
13012
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
13138
13013
  [x: string]: unknown;
@@ -13150,24 +13025,24 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
13150
13025
  }>;
13151
13026
  } & {
13152
13027
  pathParameters: {
13153
- projectId: string;
13028
+ deliveryBoxId: string;
13154
13029
  };
13155
- } & {
13156
- queryParameters: {
13157
- search?: string | undefined;
13158
- limit?: number | undefined;
13159
- skip?: number | undefined;
13160
- page?: number | undefined;
13161
- } & Partial<{
13162
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13163
- }>;
13164
13030
  } & {
13165
13031
  headers: {
13166
13032
  "x-access-token"?: string | undefined;
13167
13033
  } & Partial<{
13168
13034
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13169
13035
  }>;
13170
- }, 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<{
13171
13046
  [x: string]: unknown;
13172
13047
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
13173
13048
  [x: string]: unknown;
@@ -13180,39 +13055,28 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
13180
13055
  }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
13181
13056
  [x: string]: unknown;
13182
13057
  }, 503, "application/json">>>;
13183
- /** Create a DeliveryBox. */
13184
- createDeliverybox: (request: {
13185
- data: {
13186
- description: string;
13187
- password: string;
13188
- };
13189
- projectId: string;
13058
+ /** Delete a DeliveryBox. */
13059
+ deleteDeliveryBox: (request: {
13060
+ deliveryBoxId: string;
13190
13061
  headers?: {
13191
13062
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
13192
13063
  "x-access-token"?: string | undefined;
13193
13064
  } | undefined;
13194
13065
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
13195
- data: {
13196
- description: string;
13197
- password: string;
13198
- };
13199
- } & {
13200
- pathParameters: {
13201
- projectId: string;
13202
- };
13203
- } & {
13204
13066
  headers?: Partial<{
13205
13067
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13206
13068
  }>;
13069
+ } & {
13070
+ pathParameters: {
13071
+ deliveryBoxId: string;
13072
+ };
13207
13073
  } & {
13208
13074
  headers: {
13209
13075
  "x-access-token"?: string | undefined;
13210
13076
  } & Partial<{
13211
13077
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13212
13078
  }>;
13213
- }, import("@mittwald/api-client-commons").Response<{
13214
- id: string;
13215
- }, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
13079
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
13216
13080
  [x: string]: unknown;
13217
13081
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
13218
13082
  [x: string]: unknown;
@@ -13225,27 +13089,20 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
13225
13089
  }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
13226
13090
  [x: string]: unknown;
13227
13091
  }, 503, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
13228
- data: {
13229
- description: string;
13230
- password: string;
13231
- };
13232
- } & {
13233
- pathParameters: {
13234
- projectId: string;
13235
- };
13236
- } & {
13237
13092
  headers?: Partial<{
13238
13093
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13239
13094
  }>;
13095
+ } & {
13096
+ pathParameters: {
13097
+ deliveryBoxId: string;
13098
+ };
13240
13099
  } & {
13241
13100
  headers: {
13242
13101
  "x-access-token"?: string | undefined;
13243
13102
  } & Partial<{
13244
13103
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13245
13104
  }>;
13246
- }, import("@mittwald/api-client-commons").Response<{
13247
- id: string;
13248
- }, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
13105
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
13249
13106
  [x: string]: unknown;
13250
13107
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
13251
13108
  [x: string]: unknown;
@@ -13258,44 +13115,61 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
13258
13115
  }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
13259
13116
  [x: string]: unknown;
13260
13117
  }, 503, "application/json">>>;
13261
- /** List MailAddresses belonging to a Project. */
13262
- listMailAddresses: (request: {
13263
- projectId: string;
13118
+ /** Get a MailAddress. */
13119
+ getMailAddress: (request: {
13120
+ mailAddressId: string;
13264
13121
  headers?: {
13265
13122
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
13266
13123
  "x-access-token"?: string | undefined;
13267
13124
  } | undefined;
13268
- queryParameters?: {
13269
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
13270
- search?: string | undefined;
13271
- limit?: number | undefined;
13272
- skip?: number | undefined;
13273
- page?: number | undefined;
13274
- } | undefined;
13275
13125
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
13276
13126
  headers?: Partial<{
13277
13127
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13278
13128
  }>;
13279
13129
  } & {
13280
13130
  pathParameters: {
13281
- projectId: string;
13131
+ mailAddressId: string;
13282
13132
  };
13283
- } & {
13284
- queryParameters: {
13285
- search?: string | undefined;
13286
- limit?: number | undefined;
13287
- skip?: number | undefined;
13288
- page?: number | undefined;
13289
- } & Partial<{
13290
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13291
- }>;
13292
13133
  } & {
13293
13134
  headers: {
13294
13135
  "x-access-token"?: string | undefined;
13295
13136
  } & Partial<{
13296
13137
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13297
13138
  }>;
13298
- }, 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<{
13299
13173
  [x: string]: unknown;
13300
13174
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
13301
13175
  [x: string]: unknown;
@@ -13313,24 +13187,48 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
13313
13187
  }>;
13314
13188
  } & {
13315
13189
  pathParameters: {
13316
- projectId: string;
13190
+ mailAddressId: string;
13317
13191
  };
13318
- } & {
13319
- queryParameters: {
13320
- search?: string | undefined;
13321
- limit?: number | undefined;
13322
- skip?: number | undefined;
13323
- page?: number | undefined;
13324
- } & Partial<{
13325
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13326
- }>;
13327
13192
  } & {
13328
13193
  headers: {
13329
13194
  "x-access-token"?: string | undefined;
13330
13195
  } & Partial<{
13331
13196
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13332
13197
  }>;
13333
- }, 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<{
13334
13232
  [x: string]: unknown;
13335
13233
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
13336
13234
  [x: string]: unknown;
@@ -13343,64 +13241,28 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
13343
13241
  }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
13344
13242
  [x: string]: unknown;
13345
13243
  }, 503, "application/json">>>;
13346
- /** Create a MailAddress. */
13347
- createMailAddress: (request: {
13348
- data: {
13349
- address: string;
13350
- forwardAddresses: string[];
13351
- };
13352
- projectId: string;
13353
- headers?: {
13354
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
13355
- "x-access-token"?: string | undefined;
13356
- } | undefined;
13357
- } | {
13358
- data: {
13359
- address: string;
13360
- isCatchAll: boolean;
13361
- mailbox: {
13362
- enableSpamProtection: boolean;
13363
- password: string;
13364
- quotaInBytes: number;
13365
- };
13366
- };
13367
- projectId: string;
13244
+ /** Delete a MailAddress. */
13245
+ deleteMailAddress: (request: {
13246
+ mailAddressId: string;
13368
13247
  headers?: {
13369
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
13370
- "x-access-token"?: string | undefined;
13371
- } | undefined;
13372
- }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<(({
13373
- data: {
13374
- address: string;
13375
- forwardAddresses: string[];
13376
- };
13377
- } | {
13378
- data: {
13379
- address: string;
13380
- isCatchAll: boolean;
13381
- mailbox: {
13382
- enableSpamProtection: boolean;
13383
- password: string;
13384
- quotaInBytes: number;
13385
- };
13386
- };
13387
- }) & {
13388
- pathParameters: {
13389
- projectId: string;
13390
- };
13391
- }) & {
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<{
13392
13252
  headers?: Partial<{
13393
13253
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13394
13254
  }>;
13255
+ } & {
13256
+ pathParameters: {
13257
+ mailAddressId: string;
13258
+ };
13395
13259
  } & {
13396
13260
  headers: {
13397
13261
  "x-access-token"?: string | undefined;
13398
13262
  } & Partial<{
13399
13263
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13400
13264
  }>;
13401
- }, import("@mittwald/api-client-commons").Response<{
13402
- id: string;
13403
- }, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
13265
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
13404
13266
  [x: string]: unknown;
13405
13267
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
13406
13268
  [x: string]: unknown;
@@ -13412,38 +13274,21 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
13412
13274
  [x: string]: unknown;
13413
13275
  }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
13414
13276
  [x: string]: unknown;
13415
- }, 503, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<(({
13416
- data: {
13417
- address: string;
13418
- forwardAddresses: string[];
13419
- };
13420
- } | {
13421
- data: {
13422
- address: string;
13423
- isCatchAll: boolean;
13424
- mailbox: {
13425
- enableSpamProtection: boolean;
13426
- password: string;
13427
- quotaInBytes: number;
13428
- };
13429
- };
13430
- }) & {
13431
- pathParameters: {
13432
- projectId: string;
13433
- };
13434
- }) & {
13277
+ }, 503, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
13435
13278
  headers?: Partial<{
13436
13279
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13437
13280
  }>;
13281
+ } & {
13282
+ pathParameters: {
13283
+ mailAddressId: string;
13284
+ };
13438
13285
  } & {
13439
13286
  headers: {
13440
13287
  "x-access-token"?: string | undefined;
13441
13288
  } & Partial<{
13442
13289
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13443
13290
  }>;
13444
- }, import("@mittwald/api-client-commons").Response<{
13445
- id: string;
13446
- }, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
13291
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
13447
13292
  [x: string]: unknown;
13448
13293
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
13449
13294
  [x: string]: unknown;
@@ -13456,9 +13301,9 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
13456
13301
  }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
13457
13302
  [x: string]: unknown;
13458
13303
  }, 503, "application/json">>>;
13459
- /** Get a DeliveryBox. */
13460
- getDeliveryBox: (request: {
13461
- deliveryBoxId: string;
13304
+ /** List mail settings of a Project. */
13305
+ listProjectMailSettings: (request: {
13306
+ projectId: string;
13462
13307
  headers?: {
13463
13308
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
13464
13309
  "x-access-token"?: string | undefined;
@@ -13469,7 +13314,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
13469
13314
  }>;
13470
13315
  } & {
13471
13316
  pathParameters: {
13472
- deliveryBoxId: string;
13317
+ projectId: string;
13473
13318
  };
13474
13319
  } & {
13475
13320
  headers: {
@@ -13478,14 +13323,9 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
13478
13323
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13479
13324
  }>;
13480
13325
  }, import("@mittwald/api-client-commons").Response<{
13481
- authenticationEnabled: boolean;
13482
- description: string;
13483
- id: string;
13484
- name: string;
13485
- passwordUpdatedAt: string;
13326
+ blacklist: string[];
13486
13327
  projectId: string;
13487
- sendingEnabled: boolean;
13488
- updatedAt: string;
13328
+ whitelist: string[];
13489
13329
  }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
13490
13330
  [x: string]: unknown;
13491
13331
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
@@ -13504,7 +13344,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
13504
13344
  }>;
13505
13345
  } & {
13506
13346
  pathParameters: {
13507
- deliveryBoxId: string;
13347
+ projectId: string;
13508
13348
  };
13509
13349
  } & {
13510
13350
  headers: {
@@ -13513,14 +13353,9 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
13513
13353
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13514
13354
  }>;
13515
13355
  }, import("@mittwald/api-client-commons").Response<{
13516
- authenticationEnabled: boolean;
13517
- description: string;
13518
- id: string;
13519
- name: string;
13520
- passwordUpdatedAt: string;
13356
+ blacklist: string[];
13521
13357
  projectId: string;
13522
- sendingEnabled: boolean;
13523
- updatedAt: string;
13358
+ whitelist: string[];
13524
13359
  }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
13525
13360
  [x: string]: unknown;
13526
13361
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
@@ -13534,21 +13369,58 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
13534
13369
  }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
13535
13370
  [x: string]: unknown;
13536
13371
  }, 503, "application/json">>>;
13537
- /** Delete a DeliveryBox. */
13538
- deleteDeliveryBox: (request: {
13372
+ /** Update the description of a DeliveryBox. */
13373
+ updateDeliveryBoxDescription: (request: {
13374
+ data: {
13375
+ description: string;
13376
+ };
13539
13377
  deliveryBoxId: string;
13540
13378
  headers?: {
13541
13379
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
13542
13380
  "x-access-token"?: string | undefined;
13543
13381
  } | undefined;
13544
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
+ } & {
13545
13391
  headers?: Partial<{
13546
13392
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13547
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
+ };
13548
13416
  } & {
13549
13417
  pathParameters: {
13550
13418
  deliveryBoxId: string;
13551
13419
  };
13420
+ } & {
13421
+ headers?: Partial<{
13422
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13423
+ }>;
13552
13424
  } & {
13553
13425
  headers: {
13554
13426
  "x-access-token"?: string | undefined;
@@ -13567,14 +13439,59 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
13567
13439
  [x: string]: unknown;
13568
13440
  }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
13569
13441
  [x: string]: unknown;
13570
- }, 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
+ } & {
13571
13462
  headers?: Partial<{
13572
13463
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13573
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
+ };
13574
13487
  } & {
13575
13488
  pathParameters: {
13576
13489
  deliveryBoxId: string;
13577
13490
  };
13491
+ } & {
13492
+ headers?: Partial<{
13493
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13494
+ }>;
13578
13495
  } & {
13579
13496
  headers: {
13580
13497
  "x-access-token"?: string | undefined;
@@ -13594,61 +13511,35 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
13594
13511
  }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
13595
13512
  [x: string]: unknown;
13596
13513
  }, 503, "application/json">>>;
13597
- /** Get a MailAddress. */
13598
- getMailAddress: (request: {
13514
+ /** Update a MailAddress. */
13515
+ updateMailAddressAddress: (request: {
13516
+ data: {
13517
+ address: string;
13518
+ };
13599
13519
  mailAddressId: string;
13600
13520
  headers?: {
13601
13521
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
13602
13522
  "x-access-token"?: string | undefined;
13603
13523
  } | undefined;
13604
13524
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
13605
- headers?: Partial<{
13606
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13607
- }>;
13525
+ data: {
13526
+ address: string;
13527
+ };
13608
13528
  } & {
13609
13529
  pathParameters: {
13610
13530
  mailAddressId: string;
13611
13531
  };
13532
+ } & {
13533
+ headers?: Partial<{
13534
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13535
+ }>;
13612
13536
  } & {
13613
13537
  headers: {
13614
13538
  "x-access-token"?: string | undefined;
13615
13539
  } & Partial<{
13616
13540
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13617
13541
  }>;
13618
- }, import("@mittwald/api-client-commons").Response<{
13619
- address: string;
13620
- autoResponder: {
13621
- active: boolean;
13622
- expiresAt?: string;
13623
- message?: string;
13624
- startsAt?: string;
13625
- };
13626
- forwardAddresses: string[];
13627
- id: string;
13628
- isArchived: boolean;
13629
- isCatchAll: boolean;
13630
- mailbox?: {
13631
- name: string;
13632
- passwordUpdatedAt: string;
13633
- sendingEnabled: boolean;
13634
- spamProtection: {
13635
- active: boolean;
13636
- autoDeleteSpam: boolean;
13637
- folder: "spam" | "inbox";
13638
- relocationMinSpamScore: number;
13639
- };
13640
- storageInBytes: {
13641
- current: {
13642
- updatedAt: string;
13643
- value: number;
13644
- };
13645
- limit: number;
13646
- };
13647
- } | undefined;
13648
- projectId: string;
13649
- receivingDisabled: boolean;
13650
- updatedAt: string;
13651
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
13542
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
13652
13543
  [x: string]: unknown;
13653
13544
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
13654
13545
  [x: string]: unknown;
@@ -13661,53 +13552,24 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
13661
13552
  }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
13662
13553
  [x: string]: unknown;
13663
13554
  }, 503, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
13664
- headers?: Partial<{
13665
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13666
- }>;
13555
+ data: {
13556
+ address: string;
13557
+ };
13667
13558
  } & {
13668
13559
  pathParameters: {
13669
13560
  mailAddressId: string;
13670
13561
  };
13562
+ } & {
13563
+ headers?: Partial<{
13564
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13565
+ }>;
13671
13566
  } & {
13672
13567
  headers: {
13673
13568
  "x-access-token"?: string | undefined;
13674
13569
  } & Partial<{
13675
13570
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13676
13571
  }>;
13677
- }, import("@mittwald/api-client-commons").Response<{
13678
- address: string;
13679
- autoResponder: {
13680
- active: boolean;
13681
- expiresAt?: string;
13682
- message?: string;
13683
- startsAt?: string;
13684
- };
13685
- forwardAddresses: string[];
13686
- id: string;
13687
- isArchived: boolean;
13688
- isCatchAll: boolean;
13689
- mailbox?: {
13690
- name: string;
13691
- passwordUpdatedAt: string;
13692
- sendingEnabled: boolean;
13693
- spamProtection: {
13694
- active: boolean;
13695
- autoDeleteSpam: boolean;
13696
- folder: "spam" | "inbox";
13697
- relocationMinSpamScore: number;
13698
- };
13699
- storageInBytes: {
13700
- current: {
13701
- updatedAt: string;
13702
- value: number;
13703
- };
13704
- limit: number;
13705
- };
13706
- } | undefined;
13707
- projectId: string;
13708
- receivingDisabled: boolean;
13709
- updatedAt: string;
13710
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
13572
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
13711
13573
  [x: string]: unknown;
13712
13574
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
13713
13575
  [x: string]: unknown;
@@ -13720,21 +13582,28 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
13720
13582
  }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
13721
13583
  [x: string]: unknown;
13722
13584
  }, 503, "application/json">>>;
13723
- /** Delete a MailAddress. */
13724
- deleteMailAddress: (request: {
13585
+ /** Update the catchall of a MailAddress. */
13586
+ updateMailAddressCatchAll: (request: {
13587
+ data: {
13588
+ active: boolean;
13589
+ };
13725
13590
  mailAddressId: string;
13726
13591
  headers?: {
13727
13592
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
13728
13593
  "x-access-token"?: string | undefined;
13729
13594
  } | undefined;
13730
13595
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
13731
- headers?: Partial<{
13732
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13733
- }>;
13596
+ data: {
13597
+ active: boolean;
13598
+ };
13734
13599
  } & {
13735
13600
  pathParameters: {
13736
13601
  mailAddressId: string;
13737
13602
  };
13603
+ } & {
13604
+ headers?: Partial<{
13605
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13606
+ }>;
13738
13607
  } & {
13739
13608
  headers: {
13740
13609
  "x-access-token"?: string | undefined;
@@ -13754,13 +13623,17 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
13754
13623
  }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
13755
13624
  [x: string]: unknown;
13756
13625
  }, 503, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
13757
- headers?: Partial<{
13758
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13759
- }>;
13626
+ data: {
13627
+ active: boolean;
13628
+ };
13760
13629
  } & {
13761
13630
  pathParameters: {
13762
13631
  mailAddressId: string;
13763
13632
  };
13633
+ } & {
13634
+ headers?: Partial<{
13635
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13636
+ }>;
13764
13637
  } & {
13765
13638
  headers: {
13766
13639
  "x-access-token"?: string | undefined;
@@ -13780,32 +13653,51 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
13780
13653
  }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
13781
13654
  [x: string]: unknown;
13782
13655
  }, 503, "application/json">>>;
13783
- /** List mail settings of a Project. */
13784
- listProjectMailSettings: (request: {
13656
+ /** Update a mail setting of a Project. */
13657
+ updateProjectMailSetting: (request: {
13658
+ data: {
13659
+ blacklist: string[];
13660
+ };
13785
13661
  projectId: string;
13662
+ mailSetting: "blacklist" | "whitelist";
13786
13663
  headers?: {
13787
13664
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
13788
13665
  "x-access-token"?: string | undefined;
13789
13666
  } | undefined;
13790
- }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
13791
- headers?: Partial<{
13792
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13793
- }>;
13794
- } & {
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
+ }) & {
13795
13686
  pathParameters: {
13796
13687
  projectId: string;
13688
+ mailSetting: "blacklist" | "whitelist";
13797
13689
  };
13690
+ }) & {
13691
+ headers?: Partial<{
13692
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13693
+ }>;
13798
13694
  } & {
13799
13695
  headers: {
13800
13696
  "x-access-token"?: string | undefined;
13801
13697
  } & Partial<{
13802
13698
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13803
13699
  }>;
13804
- }, import("@mittwald/api-client-commons").Response<{
13805
- blacklist: string[];
13806
- projectId: string;
13807
- whitelist: string[];
13808
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
13700
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
13809
13701
  [x: string]: unknown;
13810
13702
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
13811
13703
  [x: string]: unknown;
@@ -13817,25 +13709,30 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
13817
13709
  [x: string]: unknown;
13818
13710
  }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
13819
13711
  [x: string]: unknown;
13820
- }, 503, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
13821
- headers?: Partial<{
13822
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13823
- }>;
13824
- } & {
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
+ }) & {
13825
13721
  pathParameters: {
13826
13722
  projectId: string;
13723
+ mailSetting: "blacklist" | "whitelist";
13827
13724
  };
13725
+ }) & {
13726
+ headers?: Partial<{
13727
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13728
+ }>;
13828
13729
  } & {
13829
13730
  headers: {
13830
13731
  "x-access-token"?: string | undefined;
13831
13732
  } & Partial<{
13832
13733
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13833
13734
  }>;
13834
- }, import("@mittwald/api-client-commons").Response<{
13835
- blacklist: string[];
13836
- projectId: string;
13837
- whitelist: string[];
13838
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
13735
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
13839
13736
  [x: string]: unknown;
13840
13737
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
13841
13738
  [x: string]: unknown;
@@ -13848,23 +13745,23 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
13848
13745
  }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
13849
13746
  [x: string]: unknown;
13850
13747
  }, 503, "application/json">>>;
13851
- /** Update the description of a DeliveryBox. */
13852
- updateDeliveryBoxDescription: (request: {
13853
- data: {
13854
- description: string;
13855
- };
13856
- 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;
13857
13757
  headers?: {
13858
13758
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
13859
13759
  "x-access-token"?: string | undefined;
13860
13760
  } | undefined;
13861
- }, 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<{
13862
13762
  data: {
13863
- description: string;
13864
- };
13865
- } & {
13866
- pathParameters: {
13867
- deliveryBoxId: string;
13763
+ firstName?: string | undefined;
13764
+ lastName?: string | undefined;
13868
13765
  };
13869
13766
  } & {
13870
13767
  headers?: Partial<{
@@ -13876,25 +13773,18 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
13876
13773
  } & Partial<{
13877
13774
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13878
13775
  }>;
13879
- }, 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<{
13880
13781
  [x: string]: unknown;
13881
13782
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
13882
13783
  [x: string]: unknown;
13883
- }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
13884
- [x: string]: unknown;
13885
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
13886
- [x: string]: unknown;
13887
- }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
13888
- [x: string]: unknown;
13889
- }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
13890
- [x: string]: unknown;
13891
- }, 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<{
13892
13785
  data: {
13893
- description: string;
13894
- };
13895
- } & {
13896
- pathParameters: {
13897
- deliveryBoxId: string;
13786
+ firstName?: string | undefined;
13787
+ lastName?: string | undefined;
13898
13788
  };
13899
13789
  } & {
13900
13790
  headers?: Partial<{
@@ -13906,188 +13796,267 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
13906
13796
  } & Partial<{
13907
13797
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13908
13798
  }>;
13909
- }, 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<{
13910
13804
  [x: string]: unknown;
13911
13805
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
13912
13806
  [x: string]: unknown;
13913
- }, 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<{
13914
13829
  [x: string]: unknown;
13915
- }, 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<{
13916
13845
  [x: string]: unknown;
13917
- }, 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<{
13918
13864
  [x: string]: unknown;
13919
- }, 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<{
13920
13919
  [x: string]: unknown;
13921
- }, 503, "application/json">>>;
13922
- /** Update the password of a DeliveryBox. */
13923
- updateDeliveryBoxPassword: (request: {
13924
- data: {
13925
- password: string;
13926
- };
13927
- deliveryBoxId: string;
13920
+ }, 429, "application/json">>>;
13921
+ /** List all unread notifications. */
13922
+ slistNotifications: (request?: {
13928
13923
  headers?: {
13929
13924
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
13930
13925
  "x-access-token"?: string | undefined;
13931
13926
  } | undefined;
13932
- }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
13933
- data: {
13934
- password: string;
13935
- };
13936
- } & {
13937
- pathParameters: {
13938
- deliveryBoxId: string;
13939
- };
13940
- } & {
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<{
13941
13935
  headers?: Partial<{
13942
13936
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13943
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
+ }>;
13944
13947
  } & {
13945
13948
  headers: {
13946
13949
  "x-access-token"?: string | undefined;
13947
13950
  } & Partial<{
13948
13951
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13949
13952
  }>;
13950
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
13951
- [x: string]: unknown;
13952
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
13953
- [x: string]: unknown;
13954
- }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
13955
- [x: string]: unknown;
13956
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
13957
- [x: string]: unknown;
13958
- }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
13959
- [x: string]: unknown;
13960
- }, 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<{
13961
13954
  [x: string]: unknown;
13962
- }, 503, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
13963
- data: {
13964
- password: string;
13965
- };
13966
- } & {
13967
- pathParameters: {
13968
- deliveryBoxId: string;
13969
- };
13970
- } & {
13955
+ }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
13971
13956
  headers?: Partial<{
13972
13957
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13973
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
+ }>;
13974
13968
  } & {
13975
13969
  headers: {
13976
13970
  "x-access-token"?: string | undefined;
13977
13971
  } & Partial<{
13978
13972
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
13979
13973
  }>;
13980
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
13981
- [x: string]: unknown;
13982
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
13983
- [x: string]: unknown;
13984
- }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
13985
- [x: string]: unknown;
13986
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
13987
- [x: string]: unknown;
13988
- }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
13989
- [x: string]: unknown;
13990
- }, 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<{
13991
13975
  [x: string]: unknown;
13992
- }, 503, "application/json">>>;
13993
- /** Update a MailAddress. */
13994
- updateMailAddressAddress: (request: {
13995
- data: {
13996
- address: string;
13997
- };
13998
- mailAddressId: string;
13976
+ }, 429, "application/json">>>;
13977
+ /** Mark all notifications as read. */
13978
+ sreadAllNotifications: (request?: {
13999
13979
  headers?: {
14000
13980
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
14001
13981
  "x-access-token"?: string | undefined;
14002
13982
  } | undefined;
14003
- }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
14004
- data: {
14005
- address: string;
14006
- };
14007
- } & {
14008
- pathParameters: {
14009
- mailAddressId: string;
14010
- };
14011
- } & {
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<{
14012
13991
  headers?: Partial<{
14013
13992
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14014
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
+ }>;
14015
14003
  } & {
14016
14004
  headers: {
14017
14005
  "x-access-token"?: string | undefined;
14018
14006
  } & Partial<{
14019
14007
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14020
14008
  }>;
14021
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
14022
- [x: string]: unknown;
14023
- }, 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<{
14024
14013
  [x: string]: unknown;
14025
14014
  }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
14026
14015
  [x: string]: unknown;
14027
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
14028
- [x: string]: unknown;
14029
- }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
14030
- [x: string]: unknown;
14031
- }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
14032
- [x: string]: unknown;
14033
- }, 503, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
14034
- data: {
14035
- address: string;
14036
- };
14037
- } & {
14038
- pathParameters: {
14039
- mailAddressId: string;
14040
- };
14041
- } & {
14016
+ }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
14042
14017
  headers?: Partial<{
14043
14018
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14044
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
+ }>;
14045
14029
  } & {
14046
14030
  headers: {
14047
14031
  "x-access-token"?: string | undefined;
14048
14032
  } & Partial<{
14049
14033
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14050
14034
  }>;
14051
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
14052
- [x: string]: unknown;
14053
- }, 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<{
14054
14039
  [x: string]: unknown;
14055
14040
  }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
14056
14041
  [x: string]: unknown;
14057
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
14058
- [x: string]: unknown;
14059
- }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
14060
- [x: string]: unknown;
14061
- }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
14062
- [x: string]: unknown;
14063
- }, 503, "application/json">>>;
14064
- /** Update the autoresponder of a MailAddress. */
14065
- updateMailAddressAutoresponder: (request: {
14042
+ }, 429, "application/json">>>;
14043
+ /** Mark notification as read. */
14044
+ sreadNotification: (request: {
14066
14045
  data: {
14067
- autoResponder: {
14068
- active: boolean;
14069
- message: string;
14070
- expiresAt?: string | undefined;
14071
- startsAt?: string | undefined;
14072
- };
14046
+ status: import("./types.js").MittwaldAPIV2.Components.Schemas.MessagingNotificationStatus;
14073
14047
  };
14074
- mailAddressId: string;
14048
+ notificationId: string;
14075
14049
  headers?: {
14076
14050
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
14077
14051
  "x-access-token"?: string | undefined;
14078
14052
  } | undefined;
14079
14053
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
14080
14054
  data: {
14081
- autoResponder: {
14082
- active: boolean;
14083
- expiresAt?: string;
14084
- message: string;
14085
- startsAt?: string;
14086
- };
14055
+ status: import("./types.js").MittwaldAPIV2.Components.Schemas.MessagingNotificationStatus;
14087
14056
  };
14088
14057
  } & {
14089
14058
  pathParameters: {
14090
- mailAddressId: string;
14059
+ notificationId: string;
14091
14060
  };
14092
14061
  } & {
14093
14062
  headers?: Partial<{
@@ -14099,30 +14068,19 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
14099
14068
  } & Partial<{
14100
14069
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14101
14070
  }>;
14102
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
14103
- [x: string]: unknown;
14104
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
14105
- [x: string]: unknown;
14106
- }, 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<{
14107
14074
  [x: string]: unknown;
14108
14075
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
14109
14076
  [x: string]: unknown;
14110
- }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
14111
- [x: string]: unknown;
14112
- }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
14113
- [x: string]: unknown;
14114
- }, 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<{
14115
14078
  data: {
14116
- autoResponder: {
14117
- active: boolean;
14118
- expiresAt?: string;
14119
- message: string;
14120
- startsAt?: string;
14121
- };
14079
+ status: import("./types.js").MittwaldAPIV2.Components.Schemas.MessagingNotificationStatus;
14122
14080
  };
14123
14081
  } & {
14124
14082
  pathParameters: {
14125
- mailAddressId: string;
14083
+ notificationId: string;
14126
14084
  };
14127
14085
  } & {
14128
14086
  headers?: Partial<{
@@ -14134,36 +14092,28 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
14134
14092
  } & Partial<{
14135
14093
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14136
14094
  }>;
14137
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
14138
- [x: string]: unknown;
14139
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
14140
- [x: string]: unknown;
14141
- }, 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<{
14142
14098
  [x: string]: unknown;
14143
14099
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
14144
14100
  [x: string]: unknown;
14145
- }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
14146
- [x: string]: unknown;
14147
- }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
14148
- [x: string]: unknown;
14149
- }, 503, "application/json">>>;
14150
- /** Update the catchall of a MailAddress. */
14151
- updateMailAddressCatchAll: (request: {
14152
- data: {
14153
- active: boolean;
14154
- };
14155
- mailAddressId: string;
14156
- 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: {
14157
14108
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
14158
- "x-access-token"?: string | undefined;
14109
+ Token: string;
14110
+ };
14111
+ data?: {
14112
+ [x: string]: unknown;
14159
14113
  } | undefined;
14160
14114
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
14161
14115
  data: {
14162
- active: boolean;
14163
- };
14164
- } & {
14165
- pathParameters: {
14166
- mailAddressId: string;
14116
+ [x: string]: unknown;
14167
14117
  };
14168
14118
  } & {
14169
14119
  headers?: Partial<{
@@ -14171,29 +14121,33 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
14171
14121
  }>;
14172
14122
  } & {
14173
14123
  headers: {
14174
- "x-access-token"?: string | undefined;
14124
+ Token: string;
14175
14125
  } & Partial<{
14176
14126
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14177
14127
  }>;
14178
- }, 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<{
14179
14137
  [x: string]: unknown;
14180
14138
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
14181
14139
  [x: string]: unknown;
14182
- }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
14140
+ }, 401, "application/json"> | import("@mittwald/api-client-commons").Response<{
14183
14141
  [x: string]: unknown;
14184
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
14142
+ }, 406, "application/json"> | import("@mittwald/api-client-commons").Response<{
14185
14143
  [x: string]: unknown;
14186
- }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
14144
+ }, 422, "application/json"> | import("@mittwald/api-client-commons").Response<{
14187
14145
  [x: string]: unknown;
14188
- }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
14146
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
14189
14147
  [x: string]: unknown;
14190
- }, 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<{
14191
14149
  data: {
14192
- active: boolean;
14193
- };
14194
- } & {
14195
- pathParameters: {
14196
- mailAddressId: string;
14150
+ [x: string]: unknown;
14197
14151
  };
14198
14152
  } & {
14199
14153
  headers?: Partial<{
@@ -14201,414 +14155,464 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
14201
14155
  }>;
14202
14156
  } & {
14203
14157
  headers: {
14204
- "x-access-token"?: string | undefined;
14158
+ Token: string;
14205
14159
  } & Partial<{
14206
14160
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14207
14161
  }>;
14208
- }, 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<{
14209
14171
  [x: string]: unknown;
14210
14172
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
14211
14173
  [x: string]: unknown;
14212
- }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
14174
+ }, 401, "application/json"> | import("@mittwald/api-client-commons").Response<{
14213
14175
  [x: string]: unknown;
14214
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
14176
+ }, 406, "application/json"> | import("@mittwald/api-client-commons").Response<{
14215
14177
  [x: string]: unknown;
14216
- }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
14178
+ }, 422, "application/json"> | import("@mittwald/api-client-commons").Response<{
14217
14179
  [x: string]: unknown;
14218
- }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
14180
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
14219
14181
  [x: string]: unknown;
14220
- }, 503, "application/json">>>;
14221
- /** Update the forward addresses of a MailAddresses. */
14222
- updateMailAddressForwardAddresses: (request: {
14223
- data: {
14224
- forwardAddresses: string[];
14225
- };
14226
- mailAddressId: string;
14182
+ }, 500, "application/json">>>;
14183
+ /** Get a File's meta. */
14184
+ getFileMeta: (request: {
14185
+ fileId: string;
14227
14186
  headers?: {
14228
14187
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
14229
- "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;
14230
14193
  } | undefined;
14231
14194
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
14232
- data: {
14233
- forwardAddresses: string[];
14234
- };
14195
+ headers?: Partial<{
14196
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14197
+ }>;
14235
14198
  } & {
14236
14199
  pathParameters: {
14237
- mailAddressId: string;
14200
+ fileId: string;
14238
14201
  };
14239
14202
  } & {
14240
- headers?: Partial<{
14203
+ queryParameters: {
14204
+ token?: string | undefined;
14205
+ } & Partial<{
14241
14206
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14242
14207
  }>;
14243
14208
  } & {
14244
14209
  headers: {
14245
- "x-access-token"?: string | undefined;
14210
+ Token?: string | undefined;
14246
14211
  } & Partial<{
14247
14212
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14248
14213
  }>;
14249
- }, 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<{
14250
14223
  [x: string]: unknown;
14251
14224
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
14252
14225
  [x: string]: unknown;
14226
+ }, 401, "application/json"> | import("@mittwald/api-client-commons").Response<{
14227
+ [x: string]: unknown;
14253
14228
  }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
14254
14229
  [x: string]: unknown;
14255
14230
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
14256
14231
  [x: string]: unknown;
14257
- }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
14232
+ }, 422, "application/json"> | import("@mittwald/api-client-commons").Response<{
14258
14233
  [x: string]: unknown;
14259
- }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
14234
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
14260
14235
  [x: string]: unknown;
14261
- }, 503, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
14262
- data: {
14263
- forwardAddresses: string[];
14264
- };
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
+ }>;
14265
14240
  } & {
14266
14241
  pathParameters: {
14267
- mailAddressId: string;
14242
+ fileId: string;
14268
14243
  };
14269
14244
  } & {
14270
- headers?: Partial<{
14245
+ queryParameters: {
14246
+ token?: string | undefined;
14247
+ } & Partial<{
14271
14248
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14272
14249
  }>;
14273
14250
  } & {
14274
14251
  headers: {
14275
- "x-access-token"?: string | undefined;
14252
+ Token?: string | undefined;
14276
14253
  } & Partial<{
14277
14254
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14278
14255
  }>;
14279
- }, 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<{
14280
14265
  [x: string]: unknown;
14281
14266
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
14282
14267
  [x: string]: unknown;
14268
+ }, 401, "application/json"> | import("@mittwald/api-client-commons").Response<{
14269
+ [x: string]: unknown;
14283
14270
  }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
14284
14271
  [x: string]: unknown;
14285
14272
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
14286
14273
  [x: string]: unknown;
14287
- }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
14274
+ }, 422, "application/json"> | import("@mittwald/api-client-commons").Response<{
14288
14275
  [x: string]: unknown;
14289
- }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
14276
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
14290
14277
  [x: string]: unknown;
14291
- }, 503, "application/json">>>;
14292
- /** Update the password for a MailAddress. */
14293
- updateMailAddressPassword: (request: {
14294
- data: {
14295
- password: string;
14296
- };
14297
- mailAddressId: string;
14278
+ }, 500, "application/json">>>;
14279
+ /** Get a FileUploadToken's rules. */
14280
+ getFileUploadTokenRules: (request: {
14281
+ fileUploadToken: string;
14298
14282
  headers?: {
14299
14283
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
14300
- "x-access-token"?: string | undefined;
14301
14284
  } | undefined;
14302
14285
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
14303
- data: {
14304
- password: string;
14305
- };
14306
- } & {
14307
- pathParameters: {
14308
- mailAddressId: string;
14309
- };
14310
- } & {
14311
14286
  headers?: Partial<{
14312
14287
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14313
14288
  }>;
14314
14289
  } & {
14315
- headers: {
14316
- "x-access-token"?: string | undefined;
14317
- } & Partial<{
14318
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14319
- }>;
14320
- }, 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<{
14321
14313
  [x: string]: unknown;
14322
14314
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
14323
14315
  [x: string]: unknown;
14324
- }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
14325
- [x: string]: unknown;
14326
14316
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
14327
14317
  [x: string]: unknown;
14328
14318
  }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
14329
14319
  [x: string]: unknown;
14330
- }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
14331
- [x: string]: unknown;
14332
- }, 503, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
14333
- data: {
14334
- password: string;
14335
- };
14336
- } & {
14337
- pathParameters: {
14338
- mailAddressId: string;
14339
- };
14340
- } & {
14320
+ }, 500, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
14341
14321
  headers?: Partial<{
14342
14322
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14343
14323
  }>;
14344
14324
  } & {
14345
- headers: {
14346
- "x-access-token"?: string | undefined;
14347
- } & Partial<{
14348
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14349
- }>;
14350
- }, 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<{
14351
14348
  [x: string]: unknown;
14352
14349
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
14353
14350
  [x: string]: unknown;
14354
- }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
14355
- [x: string]: unknown;
14356
14351
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
14357
14352
  [x: string]: unknown;
14358
14353
  }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
14359
14354
  [x: string]: unknown;
14360
- }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
14361
- [x: string]: unknown;
14362
- }, 503, "application/json">>>;
14363
- /** Update the quota of a MailAddress. */
14364
- updateMailAddressQuota: (request: {
14365
- data: {
14366
- quotaInBytes: number;
14367
- };
14368
- mailAddressId: string;
14355
+ }, 500, "application/json">>>;
14356
+ /** Get a FileUploadType's rules. */
14357
+ getFileUploadTypeRules: (request: {
14358
+ fileUploadType: "avatar" | "conversation";
14369
14359
  headers?: {
14370
14360
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
14371
- "x-access-token"?: string | undefined;
14372
14361
  } | undefined;
14373
14362
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
14374
- data: {
14375
- quotaInBytes: number;
14376
- };
14377
- } & {
14378
- pathParameters: {
14379
- mailAddressId: string;
14380
- };
14381
- } & {
14382
14363
  headers?: Partial<{
14383
14364
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14384
14365
  }>;
14385
14366
  } & {
14386
- headers: {
14387
- "x-access-token"?: string | undefined;
14388
- } & Partial<{
14389
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14390
- }>;
14391
- }, 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<{
14392
14390
  [x: string]: unknown;
14393
14391
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
14394
14392
  [x: string]: unknown;
14395
- }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
14396
- [x: string]: unknown;
14397
14393
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
14398
14394
  [x: string]: unknown;
14399
- }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
14400
- [x: string]: unknown;
14401
- }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
14402
- [x: string]: unknown;
14403
- }, 503, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
14404
- data: {
14405
- quotaInBytes: number;
14406
- };
14407
- } & {
14408
- pathParameters: {
14409
- mailAddressId: string;
14410
- };
14411
- } & {
14395
+ }, 500, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
14412
14396
  headers?: Partial<{
14413
14397
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14414
14398
  }>;
14415
14399
  } & {
14416
- headers: {
14417
- "x-access-token"?: string | undefined;
14418
- } & Partial<{
14419
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14420
- }>;
14421
- }, 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<{
14422
14423
  [x: string]: unknown;
14423
14424
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
14424
14425
  [x: string]: unknown;
14425
- }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
14426
- [x: string]: unknown;
14427
14426
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
14428
14427
  [x: string]: unknown;
14429
- }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
14430
- [x: string]: unknown;
14431
- }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
14432
- [x: string]: unknown;
14433
- }, 503, "application/json">>>;
14434
- /** Update the spam protection of a MailAddress. */
14435
- updateMailAddressSpamProtection: (request: {
14436
- data: {
14437
- spamProtection: {
14438
- active: boolean;
14439
- autoDeleteSpam: boolean;
14440
- folder: "inbox" | "spam";
14441
- relocationMinSpamScore: number;
14442
- };
14443
- };
14444
- mailAddressId: string;
14428
+ }, 500, "application/json">>>;
14429
+ /** Get a File. */
14430
+ getFile: (request: {
14431
+ fileId: string;
14445
14432
  headers?: {
14446
14433
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
14447
- "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;
14448
14443
  } | undefined;
14449
14444
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
14450
- data: {
14451
- spamProtection: {
14452
- active: boolean;
14453
- autoDeleteSpam: boolean;
14454
- folder: "inbox" | "spam";
14455
- relocationMinSpamScore: number;
14456
- };
14457
- };
14445
+ headers?: Partial<{
14446
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14447
+ }>;
14458
14448
  } & {
14459
14449
  pathParameters: {
14460
- mailAddressId: string;
14450
+ fileId: string;
14461
14451
  };
14462
14452
  } & {
14463
- 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<{
14464
14458
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14465
14459
  }>;
14466
14460
  } & {
14467
14461
  headers: {
14468
- "x-access-token"?: string | undefined;
14462
+ Accept?: "application/octet-stream" | "text/plain;base64" | undefined;
14463
+ "Content-Disposition"?: "inline" | "attachment" | undefined;
14464
+ Token?: string | undefined;
14469
14465
  } & Partial<{
14470
14466
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14471
14467
  }>;
14472
- }, 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<{
14473
14469
  [x: string]: unknown;
14474
14470
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
14475
14471
  [x: string]: unknown;
14472
+ }, 401, "application/json"> | import("@mittwald/api-client-commons").Response<{
14473
+ [x: string]: unknown;
14476
14474
  }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
14477
14475
  [x: string]: unknown;
14478
14476
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
14479
14477
  [x: string]: unknown;
14480
- }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
14478
+ }, 422, "application/json"> | import("@mittwald/api-client-commons").Response<{
14481
14479
  [x: string]: unknown;
14482
- }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
14480
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
14483
14481
  [x: string]: unknown;
14484
- }, 503, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
14485
- data: {
14486
- spamProtection: {
14487
- active: boolean;
14488
- autoDeleteSpam: boolean;
14489
- folder: "inbox" | "spam";
14490
- relocationMinSpamScore: number;
14491
- };
14492
- };
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
+ }>;
14493
14486
  } & {
14494
14487
  pathParameters: {
14495
- mailAddressId: string;
14488
+ fileId: string;
14496
14489
  };
14497
14490
  } & {
14498
- 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<{
14499
14496
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14500
14497
  }>;
14501
14498
  } & {
14502
14499
  headers: {
14503
- "x-access-token"?: string | undefined;
14500
+ Accept?: "application/octet-stream" | "text/plain;base64" | undefined;
14501
+ "Content-Disposition"?: "inline" | "attachment" | undefined;
14502
+ Token?: string | undefined;
14504
14503
  } & Partial<{
14505
14504
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14506
14505
  }>;
14507
- }, 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<{
14508
14507
  [x: string]: unknown;
14509
14508
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
14510
14509
  [x: string]: unknown;
14510
+ }, 401, "application/json"> | import("@mittwald/api-client-commons").Response<{
14511
+ [x: string]: unknown;
14511
14512
  }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
14512
14513
  [x: string]: unknown;
14513
14514
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
14514
14515
  [x: string]: unknown;
14515
- }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
14516
+ }, 422, "application/json"> | import("@mittwald/api-client-commons").Response<{
14516
14517
  [x: string]: unknown;
14517
- }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
14518
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
14518
14519
  [x: string]: unknown;
14519
- }, 503, "application/json">>>;
14520
- /** Update a mail setting of a Project. */
14521
- updateProjectMailSetting: (request: {
14522
- data: {
14523
- blacklist: string[];
14524
- };
14525
- projectId: string;
14526
- mailSetting: "blacklist" | "whitelist";
14520
+ }, 500, "application/json">>>;
14521
+ /** Get a File with user-friendly url. */
14522
+ getFileWithName: (request: {
14523
+ fileId: string;
14524
+ fileName: string;
14527
14525
  headers?: {
14528
14526
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
14529
- "x-access-token"?: string | undefined;
14527
+ Accept?: "application/octet-stream" | "text/plain;base64" | undefined;
14528
+ "Content-Disposition"?: "inline" | "attachment" | undefined;
14529
+ Token?: string | undefined;
14530
14530
  } | undefined;
14531
- } | {
14532
- data: {
14533
- whitelist: string[];
14534
- };
14535
- projectId: string;
14536
- mailSetting: "blacklist" | "whitelist";
14537
- headers?: {
14531
+ queryParameters?: {
14538
14532
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
14539
- "x-access-token"?: string | undefined;
14533
+ accept?: "application/octet-stream" | "text/plain;base64" | undefined;
14534
+ "content-disposition"?: "inline" | "attachment" | undefined;
14535
+ token?: string | undefined;
14540
14536
  } | undefined;
14541
- }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<(({
14542
- data: {
14543
- blacklist: string[];
14544
- };
14545
- } | {
14546
- data: {
14547
- whitelist: string[];
14548
- };
14549
- }) & {
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
+ } & {
14550
14542
  pathParameters: {
14551
- projectId: string;
14552
- mailSetting: "blacklist" | "whitelist";
14543
+ fileId: string;
14544
+ fileName: string;
14553
14545
  };
14554
- }) & {
14555
- 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<{
14556
14552
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14557
14553
  }>;
14558
14554
  } & {
14559
14555
  headers: {
14560
- "x-access-token"?: string | undefined;
14556
+ Accept?: "application/octet-stream" | "text/plain;base64" | undefined;
14557
+ "Content-Disposition"?: "inline" | "attachment" | undefined;
14558
+ Token?: string | undefined;
14561
14559
  } & Partial<{
14562
14560
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14563
14561
  }>;
14564
- }, 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<{
14565
14563
  [x: string]: unknown;
14566
14564
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
14567
14565
  [x: string]: unknown;
14566
+ }, 401, "application/json"> | import("@mittwald/api-client-commons").Response<{
14567
+ [x: string]: unknown;
14568
14568
  }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
14569
14569
  [x: string]: unknown;
14570
14570
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
14571
14571
  [x: string]: unknown;
14572
- }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
14572
+ }, 422, "application/json"> | import("@mittwald/api-client-commons").Response<{
14573
14573
  [x: string]: unknown;
14574
- }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
14574
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
14575
14575
  [x: string]: unknown;
14576
- }, 503, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<(({
14577
- data: {
14578
- blacklist: string[];
14579
- };
14580
- } | {
14581
- data: {
14582
- whitelist: string[];
14583
- };
14584
- }) & {
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
+ } & {
14585
14581
  pathParameters: {
14586
- projectId: string;
14587
- mailSetting: "blacklist" | "whitelist";
14582
+ fileId: string;
14583
+ fileName: string;
14588
14584
  };
14589
- }) & {
14590
- 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<{
14591
14591
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14592
14592
  }>;
14593
14593
  } & {
14594
14594
  headers: {
14595
- "x-access-token"?: string | undefined;
14595
+ Accept?: "application/octet-stream" | "text/plain;base64" | undefined;
14596
+ "Content-Disposition"?: "inline" | "attachment" | undefined;
14597
+ Token?: string | undefined;
14596
14598
  } & Partial<{
14597
14599
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
14598
14600
  }>;
14599
- }, 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<{
14600
14602
  [x: string]: unknown;
14601
14603
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
14602
14604
  [x: string]: unknown;
14605
+ }, 401, "application/json"> | import("@mittwald/api-client-commons").Response<{
14606
+ [x: string]: unknown;
14603
14607
  }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
14604
14608
  [x: string]: unknown;
14605
14609
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
14606
14610
  [x: string]: unknown;
14607
- }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
14611
+ }, 422, "application/json"> | import("@mittwald/api-client-commons").Response<{
14608
14612
  [x: string]: unknown;
14609
- }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
14613
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
14610
14614
  [x: string]: unknown;
14611
- }, 503, "application/json">>>;
14615
+ }, 500, "application/json">>>;
14612
14616
  };
14613
14617
  /** The page insights API allows you to get page insights information. */
14614
14618
  readonly pageInsights: {
@@ -17323,6 +17327,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
17323
17327
  }, import("@mittwald/api-client-commons").Response<{
17324
17328
  refId: string;
17325
17329
  rules: {
17330
+ maxSizeInBytes: number;
17326
17331
  maxSizeInKB: number;
17327
17332
  mimeTypes: string[];
17328
17333
  properties?: {
@@ -17359,6 +17364,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
17359
17364
  }, import("@mittwald/api-client-commons").Response<{
17360
17365
  refId: string;
17361
17366
  rules: {
17367
+ maxSizeInBytes: number;
17362
17368
  maxSizeInKB: number;
17363
17369
  mimeTypes: string[];
17364
17370
  properties?: {