@mittwald/api-client 4.223.0 → 4.224.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.
@@ -605,6 +605,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
605
605
  updateMailAddressCatchAll: this.requestFunctionFactory(descriptors.mailUpdateMailAddressCatchAll),
606
606
  /** Update a mail setting of a Project. */
607
607
  updateProjectMailSetting: this.requestFunctionFactory(descriptors.mailUpdateProjectMailSetting),
608
+ /** Disable the mail-archive of a MailAddress. */
609
+ disableMailArchive: this.requestFunctionFactory(descriptors.mailDisableMailArchive),
608
610
  };
609
611
  /** The notification API allows you to manage your notifications. */
610
612
  notification = {
@@ -2536,3 +2536,9 @@ export const verificationVerifyCompany = {
2536
2536
  method: "POST",
2537
2537
  operationId: "verification-verify-company",
2538
2538
  };
2539
+ /** Disable the mail-archive of a MailAddress. */
2540
+ export const mailDisableMailArchive = {
2541
+ path: "/v2/mail-addresses/{mailAddressId}/mail-archive",
2542
+ method: "DELETE",
2543
+ operationId: "mail-disable-mail-archive",
2544
+ };
@@ -1 +1 @@
1
- export const MittwaldAPIClientVersion = '4.222.0';
1
+ export const MittwaldAPIClientVersion = '4.223.0';
@@ -2307,6 +2307,7 @@ declare const buildMailApi: (baseClient: MittwaldAPIV2Client) => {
2307
2307
  forwardAddress?: boolean | undefined;
2308
2308
  catchAll?: boolean | undefined;
2309
2309
  autoResponder?: boolean | undefined;
2310
+ mailArchive?: boolean | undefined;
2310
2311
  limit?: number | undefined;
2311
2312
  skip?: number | undefined;
2312
2313
  page?: number | undefined;
@@ -2340,6 +2341,11 @@ declare const buildMailApi: (baseClient: MittwaldAPIV2Client) => {
2340
2341
  } | undefined;
2341
2342
  }) => import("@mittwald/react-use-promise").AsyncResource<{
2342
2343
  address: string;
2344
+ archive: {
2345
+ active: boolean;
2346
+ quota: number;
2347
+ usedBytes: number;
2348
+ };
2343
2349
  autoResponder: {
2344
2350
  active: boolean;
2345
2351
  expiresAt?: string;
@@ -17789,6 +17789,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
17789
17789
  forwardAddress?: boolean | undefined;
17790
17790
  catchAll?: boolean | undefined;
17791
17791
  autoResponder?: boolean | undefined;
17792
+ mailArchive?: boolean | undefined;
17792
17793
  limit?: number | undefined;
17793
17794
  skip?: number | undefined;
17794
17795
  page?: number | undefined;
@@ -17809,6 +17810,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
17809
17810
  forwardAddress?: boolean | undefined;
17810
17811
  catchAll?: boolean | undefined;
17811
17812
  autoResponder?: boolean | undefined;
17813
+ mailArchive?: boolean | undefined;
17812
17814
  limit?: number | undefined;
17813
17815
  skip?: number | undefined;
17814
17816
  page?: number | undefined;
@@ -17849,6 +17851,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
17849
17851
  forwardAddress?: boolean | undefined;
17850
17852
  catchAll?: boolean | undefined;
17851
17853
  autoResponder?: boolean | undefined;
17854
+ mailArchive?: boolean | undefined;
17852
17855
  limit?: number | undefined;
17853
17856
  skip?: number | undefined;
17854
17857
  page?: number | undefined;
@@ -18153,6 +18156,11 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
18153
18156
  }>;
18154
18157
  }, import("@mittwald/api-client-commons").Response<{
18155
18158
  address: string;
18159
+ archive: {
18160
+ active: boolean;
18161
+ quota: number;
18162
+ usedBytes: number;
18163
+ };
18156
18164
  autoResponder: {
18157
18165
  active: boolean;
18158
18166
  expiresAt?: string;
@@ -18213,6 +18221,11 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
18213
18221
  }>;
18214
18222
  }, import("@mittwald/api-client-commons").Response<{
18215
18223
  address: string;
18224
+ archive: {
18225
+ active: boolean;
18226
+ quota: number;
18227
+ usedBytes: number;
18228
+ };
18216
18229
  autoResponder: {
18217
18230
  active: boolean;
18218
18231
  expiresAt?: string;
@@ -18869,6 +18882,66 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
18869
18882
  }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
18870
18883
  [x: string]: unknown;
18871
18884
  }, 503, "application/json">>>;
18885
+ /** Disable the mail-archive of a MailAddress. */
18886
+ disableMailArchive: (request: {
18887
+ mailAddressId: string;
18888
+ headers?: {
18889
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
18890
+ "x-access-token"?: string | undefined;
18891
+ } | undefined;
18892
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
18893
+ headers?: Partial<{
18894
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
18895
+ }>;
18896
+ } & {
18897
+ pathParameters: {
18898
+ mailAddressId: string;
18899
+ };
18900
+ } & {
18901
+ headers: {
18902
+ "x-access-token"?: string | undefined;
18903
+ } & Partial<{
18904
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
18905
+ }>;
18906
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
18907
+ [x: string]: unknown;
18908
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
18909
+ [x: string]: unknown;
18910
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
18911
+ [x: string]: unknown;
18912
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
18913
+ [x: string]: unknown;
18914
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
18915
+ [x: string]: unknown;
18916
+ }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
18917
+ [x: string]: unknown;
18918
+ }, 503, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
18919
+ headers?: Partial<{
18920
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
18921
+ }>;
18922
+ } & {
18923
+ pathParameters: {
18924
+ mailAddressId: string;
18925
+ };
18926
+ } & {
18927
+ headers: {
18928
+ "x-access-token"?: string | undefined;
18929
+ } & Partial<{
18930
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
18931
+ }>;
18932
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
18933
+ [x: string]: unknown;
18934
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
18935
+ [x: string]: unknown;
18936
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
18937
+ [x: string]: unknown;
18938
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
18939
+ [x: string]: unknown;
18940
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
18941
+ [x: string]: unknown;
18942
+ }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
18943
+ [x: string]: unknown;
18944
+ }, 503, "application/json">>>;
18872
18945
  };
18873
18946
  /** The notification API allows you to manage your notifications. */
18874
18947
  readonly notification: {
@@ -849,3 +849,5 @@ export declare const verificationDetectPhishingEmail: OpenAPIOperation<RequestTy
849
849
  export declare const verificationVerifyAddress: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyAddress.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyAddress.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyAddress.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyAddress.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyAddress.Post.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyAddress.Post.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyAddress.Post.Responses.$500.Content.Empty>, 500, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyAddress.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
850
850
  /** Check if a company exists. */
851
851
  export declare const verificationVerifyCompany: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyCompany.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyCompany.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyCompany.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyCompany.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyCompany.Post.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyCompany.Post.Responses.$412.Content.Empty>, 412, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyCompany.Post.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyCompany.Post.Responses.$500.Content.Empty>, 500, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyCompany.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
852
+ /** Disable the mail-archive of a MailAddress. */
853
+ export declare const mailDisableMailArchive: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdMailArchive.Delete.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdMailArchive.Delete.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdMailArchive.Delete.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdMailArchive.Delete.Responses.$204.Content.Empty>, 204, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdMailArchive.Delete.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdMailArchive.Delete.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdMailArchive.Delete.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdMailArchive.Delete.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdMailArchive.Delete.Responses.$500.Content.ApplicationJson>, 500, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdMailArchive.Delete.Responses.$503.Content.ApplicationJson>, 503, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdMailArchive.Delete.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
@@ -1694,6 +1694,10 @@ export declare namespace MittwaldAPIV2 {
1694
1694
  type RequestData = InferredRequestData<typeof descriptors.verificationVerifyCompany>;
1695
1695
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.verificationVerifyCompany, TStatus>;
1696
1696
  }
1697
+ namespace MailDisableMailArchive {
1698
+ type RequestData = InferredRequestData<typeof descriptors.mailDisableMailArchive>;
1699
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.mailDisableMailArchive, TStatus>;
1700
+ }
1697
1701
  }
1698
1702
  namespace Components {
1699
1703
  namespace Schemas {
@@ -3959,6 +3963,20 @@ export declare namespace MittwaldAPIV2 {
3959
3963
  }
3960
3964
  interface MailMailAddress {
3961
3965
  address: string;
3966
+ archive: {
3967
+ /**
3968
+ * shows if the mail-archive is enabled
3969
+ */
3970
+ active: boolean;
3971
+ /**
3972
+ * maximum available mail-archive storage in bytes
3973
+ */
3974
+ quota: number;
3975
+ /**
3976
+ * current mail-archive usage in bytes
3977
+ */
3978
+ usedBytes: number;
3979
+ };
3962
3980
  autoResponder: {
3963
3981
  active: boolean;
3964
3982
  expiresAt?: string;
@@ -19258,6 +19276,7 @@ export declare namespace MittwaldAPIV2 {
19258
19276
  forwardAddress?: boolean;
19259
19277
  catchAll?: boolean;
19260
19278
  autoResponder?: boolean;
19279
+ mailArchive?: boolean;
19261
19280
  limit?: number;
19262
19281
  skip?: number;
19263
19282
  page?: number;
@@ -26789,5 +26808,72 @@ export declare namespace MittwaldAPIV2 {
26789
26808
  }
26790
26809
  }
26791
26810
  }
26811
+ namespace V2MailAddressesMailAddressIdMailArchive {
26812
+ namespace Delete {
26813
+ namespace Parameters {
26814
+ type Path = {
26815
+ mailAddressId: string;
26816
+ };
26817
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
26818
+ type Query = {};
26819
+ }
26820
+ namespace Responses {
26821
+ namespace $204 {
26822
+ namespace Content {
26823
+ type Empty = unknown;
26824
+ }
26825
+ }
26826
+ namespace $400 {
26827
+ namespace Content {
26828
+ interface ApplicationJson {
26829
+ [k: string]: unknown;
26830
+ }
26831
+ }
26832
+ }
26833
+ namespace $403 {
26834
+ namespace Content {
26835
+ interface ApplicationJson {
26836
+ [k: string]: unknown;
26837
+ }
26838
+ }
26839
+ }
26840
+ namespace $404 {
26841
+ namespace Content {
26842
+ interface ApplicationJson {
26843
+ [k: string]: unknown;
26844
+ }
26845
+ }
26846
+ }
26847
+ namespace $429 {
26848
+ namespace Content {
26849
+ interface ApplicationJson {
26850
+ [k: string]: unknown;
26851
+ }
26852
+ }
26853
+ }
26854
+ namespace $500 {
26855
+ namespace Content {
26856
+ interface ApplicationJson {
26857
+ [k: string]: unknown;
26858
+ }
26859
+ }
26860
+ }
26861
+ namespace $503 {
26862
+ namespace Content {
26863
+ interface ApplicationJson {
26864
+ [k: string]: unknown;
26865
+ }
26866
+ }
26867
+ }
26868
+ namespace Default {
26869
+ namespace Content {
26870
+ interface ApplicationJson {
26871
+ [k: string]: unknown;
26872
+ }
26873
+ }
26874
+ }
26875
+ }
26876
+ }
26877
+ }
26792
26878
  }
26793
26879
  }
@@ -1 +1 @@
1
- export declare const MittwaldAPIClientVersion = '4.222.0';
1
+ export declare const MittwaldAPIClientVersion = '4.223.0';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mittwald/api-client",
3
- "version": "4.223.0",
3
+ "version": "4.224.0",
4
4
  "author": "Mittwald CM Service GmbH & Co. KG <opensource@mittwald.de>",
5
5
  "type": "module",
6
6
  "description": "Auto-generated client for the mittwald API",
@@ -80,5 +80,5 @@
80
80
  "optional": true
81
81
  }
82
82
  },
83
- "gitHead": "9c911c8ed79bb8b809ae73b5fc89d71969713fa5"
83
+ "gitHead": "7c3d2857206173edb6c290f70d6455935c9de32e"
84
84
  }