@mittwald/api-client 4.270.0 → 4.272.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.
@@ -314,6 +314,8 @@ const buildMailApi = (baseClient) => ({
314
314
  listBackupsForMailAddress: new ApiCallAsyncResourceFactory(descriptors.mailListBackupsForMailAddress, baseClient.mail.listBackupsForMailAddress).getApiResource,
315
315
  /** List mail settings of a Project. */
316
316
  listProjectMailSettings: new ApiCallAsyncResourceFactory(descriptors.mailListProjectMailSettings, baseClient.mail.listProjectMailSettings).getApiResource,
317
+ /** List MailAddresses. */
318
+ listMailAddressesForUser: new ApiCallAsyncResourceFactory(descriptors.mailListMailAddressesForUser, baseClient.mail.listMailAddressesForUser).getApiResource,
317
319
  });
318
320
  const buildMiscApi = (baseClient) => ({
319
321
  /** Get a list of currently active llm models. */
@@ -629,6 +629,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
629
629
  updateMailAddressAddress: this.requestFunctionFactory(descriptors.mailUpdateMailAddressAddress),
630
630
  /** Update the catch-all of a MailAddress. */
631
631
  updateMailAddressCatchAll: this.requestFunctionFactory(descriptors.mailUpdateMailAddressCatchAll),
632
+ /** List MailAddresses. */
633
+ listMailAddressesForUser: this.requestFunctionFactory(descriptors.mailListMailAddressesForUser),
632
634
  };
633
635
  /** The notification API allows you to manage your notifications. */
634
636
  notification = {
@@ -2620,3 +2620,9 @@ export const verificationVerifyCompany = {
2620
2620
  method: "POST",
2621
2621
  operationId: "verification-verify-company",
2622
2622
  };
2623
+ /** List MailAddresses. */
2624
+ export const mailListMailAddressesForUser = {
2625
+ path: "/v2/mail-addresses/",
2626
+ method: "GET",
2627
+ operationId: "mail-list-mail-addresses-for-user",
2628
+ };
@@ -1 +1 @@
1
- export const MittwaldAPIClientVersion = '4.269.0';
1
+ export const MittwaldAPIClientVersion = '4.271.0';
@@ -2490,6 +2490,27 @@ declare const buildMailApi: (baseClient: MittwaldAPIV2Client) => {
2490
2490
  projectId: string;
2491
2491
  whitelist: string[];
2492
2492
  }>;
2493
+ /** List MailAddresses. */
2494
+ listMailAddressesForUser: (conf?: {
2495
+ headers?: {
2496
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2497
+ "x-access-token"?: string | undefined;
2498
+ } | undefined;
2499
+ queryParameters?: {
2500
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2501
+ projectId?: string | undefined;
2502
+ search?: string | undefined;
2503
+ forwardAddress?: boolean | undefined;
2504
+ catchAll?: boolean | undefined;
2505
+ autoResponder?: boolean | undefined;
2506
+ mailArchive?: boolean | undefined;
2507
+ limit?: number | undefined;
2508
+ skip?: number | undefined;
2509
+ page?: number | undefined;
2510
+ sort?: ("address.domain" | "address.local" | "updatedAt" | "projectId" | "mailbox.quota" | "mailbox.name" | "mailbox.storageInBytes.current" | "mailbox.storageInBytes.limit")[] | undefined;
2511
+ order?: ("asc" | "desc")[] | undefined;
2512
+ } | undefined;
2513
+ } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MailMailAddress[]>;
2493
2514
  };
2494
2515
  declare const buildMiscApi: (baseClient: MittwaldAPIV2Client) => {
2495
2516
  /** Get a list of currently active llm models. */
@@ -16619,6 +16619,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
16619
16619
  queryParameters?: {
16620
16620
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
16621
16621
  transit?: boolean | undefined;
16622
+ deleteIngresses?: boolean | undefined;
16622
16623
  } | undefined;
16623
16624
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
16624
16625
  headers?: Partial<{
@@ -16631,6 +16632,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
16631
16632
  } & {
16632
16633
  queryParameters: {
16633
16634
  transit?: boolean | undefined;
16635
+ deleteIngresses?: boolean | undefined;
16634
16636
  } & Partial<{
16635
16637
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
16636
16638
  }>;
@@ -16661,6 +16663,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
16661
16663
  } & {
16662
16664
  queryParameters: {
16663
16665
  transit?: boolean | undefined;
16666
+ deleteIngresses?: boolean | undefined;
16664
16667
  } & Partial<{
16665
16668
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
16666
16669
  }>;
@@ -19807,6 +19810,103 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
19807
19810
  }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
19808
19811
  [x: string]: unknown;
19809
19812
  }, 503, "application/json">>>;
19813
+ /** List MailAddresses. */
19814
+ listMailAddressesForUser: (request?: {
19815
+ headers?: {
19816
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
19817
+ "x-access-token"?: string | undefined;
19818
+ } | undefined;
19819
+ queryParameters?: {
19820
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
19821
+ projectId?: string | undefined;
19822
+ search?: string | undefined;
19823
+ forwardAddress?: boolean | undefined;
19824
+ catchAll?: boolean | undefined;
19825
+ autoResponder?: boolean | undefined;
19826
+ mailArchive?: boolean | undefined;
19827
+ limit?: number | undefined;
19828
+ skip?: number | undefined;
19829
+ page?: number | undefined;
19830
+ sort?: ("address.domain" | "address.local" | "updatedAt" | "projectId" | "mailbox.quota" | "mailbox.name" | "mailbox.storageInBytes.current" | "mailbox.storageInBytes.limit")[] | undefined;
19831
+ order?: ("asc" | "desc")[] | undefined;
19832
+ } | undefined;
19833
+ } | null | undefined, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
19834
+ headers?: Partial<{
19835
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
19836
+ }>;
19837
+ } & {
19838
+ queryParameters: {
19839
+ projectId?: string | undefined;
19840
+ search?: string | undefined;
19841
+ forwardAddress?: boolean | undefined;
19842
+ catchAll?: boolean | undefined;
19843
+ autoResponder?: boolean | undefined;
19844
+ mailArchive?: boolean | undefined;
19845
+ limit?: number | undefined;
19846
+ skip?: number | undefined;
19847
+ page?: number | undefined;
19848
+ sort?: ("address.domain" | "address.local" | "updatedAt" | "projectId" | "mailbox.quota" | "mailbox.name" | "mailbox.storageInBytes.current" | "mailbox.storageInBytes.limit")[] | undefined;
19849
+ order?: ("asc" | "desc")[] | undefined;
19850
+ } & Partial<{
19851
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
19852
+ }>;
19853
+ } & {
19854
+ headers: {
19855
+ "x-access-token"?: string | undefined;
19856
+ } & Partial<{
19857
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
19858
+ }>;
19859
+ }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.MailMailAddress[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
19860
+ [x: string]: unknown;
19861
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
19862
+ [x: string]: unknown;
19863
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
19864
+ [x: string]: unknown;
19865
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
19866
+ [x: string]: unknown;
19867
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
19868
+ [x: string]: unknown;
19869
+ }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
19870
+ [x: string]: unknown;
19871
+ }, 503, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
19872
+ headers?: Partial<{
19873
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
19874
+ }>;
19875
+ } & {
19876
+ queryParameters: {
19877
+ projectId?: string | undefined;
19878
+ search?: string | undefined;
19879
+ forwardAddress?: boolean | undefined;
19880
+ catchAll?: boolean | undefined;
19881
+ autoResponder?: boolean | undefined;
19882
+ mailArchive?: boolean | undefined;
19883
+ limit?: number | undefined;
19884
+ skip?: number | undefined;
19885
+ page?: number | undefined;
19886
+ sort?: ("address.domain" | "address.local" | "updatedAt" | "projectId" | "mailbox.quota" | "mailbox.name" | "mailbox.storageInBytes.current" | "mailbox.storageInBytes.limit")[] | undefined;
19887
+ order?: ("asc" | "desc")[] | undefined;
19888
+ } & Partial<{
19889
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
19890
+ }>;
19891
+ } & {
19892
+ headers: {
19893
+ "x-access-token"?: string | undefined;
19894
+ } & Partial<{
19895
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
19896
+ }>;
19897
+ }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.MailMailAddress[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
19898
+ [x: string]: unknown;
19899
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
19900
+ [x: string]: unknown;
19901
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
19902
+ [x: string]: unknown;
19903
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
19904
+ [x: string]: unknown;
19905
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
19906
+ [x: string]: unknown;
19907
+ }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
19908
+ [x: string]: unknown;
19909
+ }, 503, "application/json">>>;
19810
19910
  };
19811
19911
  /** The notification API allows you to manage your notifications. */
19812
19912
  readonly notification: {
@@ -877,3 +877,5 @@ export declare const verificationDetectPhishingEmail: OpenAPIOperation<RequestTy
877
877
  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">>;
878
878
  /** Check if a company exists. */
879
879
  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">>;
880
+ /** List MailAddresses. */
881
+ export declare const mailListMailAddressesForUser: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2MailAddresses.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2MailAddresses.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2MailAddresses.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2MailAddresses.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2MailAddresses.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2MailAddresses.Get.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2MailAddresses.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2MailAddresses.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2MailAddresses.Get.Responses.$500.Content.ApplicationJson>, 500, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2MailAddresses.Get.Responses.$503.Content.ApplicationJson>, 503, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2MailAddresses.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
@@ -1750,6 +1750,10 @@ export declare namespace MittwaldAPIV2 {
1750
1750
  type RequestData = InferredRequestData<typeof descriptors.verificationVerifyCompany>;
1751
1751
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.verificationVerifyCompany, TStatus>;
1752
1752
  }
1753
+ namespace MailListMailAddressesForUser {
1754
+ type RequestData = InferredRequestData<typeof descriptors.mailListMailAddressesForUser>;
1755
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.mailListMailAddressesForUser, TStatus>;
1756
+ }
1753
1757
  }
1754
1758
  namespace Components {
1755
1759
  namespace Schemas {
@@ -15673,6 +15677,7 @@ export declare namespace MittwaldAPIV2 {
15673
15677
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
15674
15678
  type Query = {
15675
15679
  transit?: boolean;
15680
+ deleteIngresses?: boolean;
15676
15681
  };
15677
15682
  }
15678
15683
  namespace Responses {
@@ -27885,5 +27890,82 @@ export declare namespace MittwaldAPIV2 {
27885
27890
  }
27886
27891
  }
27887
27892
  }
27893
+ namespace V2MailAddresses {
27894
+ namespace Get {
27895
+ namespace Parameters {
27896
+ type Path = {};
27897
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
27898
+ type Query = {
27899
+ projectId?: string;
27900
+ search?: string;
27901
+ forwardAddress?: boolean;
27902
+ catchAll?: boolean;
27903
+ autoResponder?: boolean;
27904
+ mailArchive?: boolean;
27905
+ limit?: number;
27906
+ skip?: number;
27907
+ page?: number;
27908
+ sort?: ("address.domain" | "address.local" | "updatedAt" | "projectId" | "mailbox.quota" | "mailbox.name" | "mailbox.storageInBytes.current" | "mailbox.storageInBytes.limit")[];
27909
+ order?: ("asc" | "desc")[];
27910
+ };
27911
+ }
27912
+ namespace Responses {
27913
+ namespace $200 {
27914
+ namespace Content {
27915
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.MailMailAddress[];
27916
+ }
27917
+ }
27918
+ namespace $400 {
27919
+ namespace Content {
27920
+ interface ApplicationJson {
27921
+ [k: string]: unknown;
27922
+ }
27923
+ }
27924
+ }
27925
+ namespace $403 {
27926
+ namespace Content {
27927
+ interface ApplicationJson {
27928
+ [k: string]: unknown;
27929
+ }
27930
+ }
27931
+ }
27932
+ namespace $404 {
27933
+ namespace Content {
27934
+ interface ApplicationJson {
27935
+ [k: string]: unknown;
27936
+ }
27937
+ }
27938
+ }
27939
+ namespace $429 {
27940
+ namespace Content {
27941
+ interface ApplicationJson {
27942
+ [k: string]: unknown;
27943
+ }
27944
+ }
27945
+ }
27946
+ namespace $500 {
27947
+ namespace Content {
27948
+ interface ApplicationJson {
27949
+ [k: string]: unknown;
27950
+ }
27951
+ }
27952
+ }
27953
+ namespace $503 {
27954
+ namespace Content {
27955
+ interface ApplicationJson {
27956
+ [k: string]: unknown;
27957
+ }
27958
+ }
27959
+ }
27960
+ namespace Default {
27961
+ namespace Content {
27962
+ interface ApplicationJson {
27963
+ [k: string]: unknown;
27964
+ }
27965
+ }
27966
+ }
27967
+ }
27968
+ }
27969
+ }
27888
27970
  }
27889
27971
  }
@@ -1 +1 @@
1
- export declare const MittwaldAPIClientVersion = '4.269.0';
1
+ export declare const MittwaldAPIClientVersion = '4.271.0';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mittwald/api-client",
3
- "version": "4.270.0",
3
+ "version": "4.272.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",
@@ -46,11 +46,11 @@
46
46
  "test:compile": "run tsc --noEmit"
47
47
  },
48
48
  "dependencies": {
49
- "@mittwald/api-client-commons": "^4.270.0",
49
+ "@mittwald/api-client-commons": "^4.272.0",
50
50
  "browser-or-node": "^3.0.0"
51
51
  },
52
52
  "devDependencies": {
53
- "@mittwald/api-code-generator": "^4.270.0",
53
+ "@mittwald/api-code-generator": "^4.272.0",
54
54
  "@mittwald/react-use-promise": "^2.6.2",
55
55
  "@types/node": "^22.18.11",
56
56
  "@types/react": "^18.3.26",
@@ -80,5 +80,5 @@
80
80
  "optional": true
81
81
  }
82
82
  },
83
- "gitHead": "57691426e0ecc92d2b4f436669ca199fcf7fb3d7"
83
+ "gitHead": "528fd91ab03034fd92e2b05e2fa2c4e46c1f6377"
84
84
  }