@mittwald/api-client 4.270.0 → 4.271.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.
- package/dist/esm/generated/v2/client-react.js +2 -0
- package/dist/esm/generated/v2/client.js +2 -0
- package/dist/esm/generated/v2/descriptors.js +6 -0
- package/dist/esm/version.js +1 -1
- package/dist/types/generated/v2/client-react.d.ts +21 -0
- package/dist/types/generated/v2/client.d.ts +97 -0
- package/dist/types/generated/v2/descriptors.d.ts +2 -0
- package/dist/types/generated/v2/types.d.ts +81 -0
- package/dist/types/version.d.ts +1 -1
- package/package.json +4 -4
|
@@ -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
|
+
};
|
package/dist/esm/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const MittwaldAPIClientVersion = '4.
|
|
1
|
+
export const MittwaldAPIClientVersion = '4.270.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. */
|
|
@@ -19807,6 +19807,103 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
19807
19807
|
}, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
19808
19808
|
[x: string]: unknown;
|
|
19809
19809
|
}, 503, "application/json">>>;
|
|
19810
|
+
/** List MailAddresses. */
|
|
19811
|
+
listMailAddressesForUser: (request?: {
|
|
19812
|
+
headers?: {
|
|
19813
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
19814
|
+
"x-access-token"?: string | undefined;
|
|
19815
|
+
} | undefined;
|
|
19816
|
+
queryParameters?: {
|
|
19817
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
19818
|
+
projectId?: string | undefined;
|
|
19819
|
+
search?: string | undefined;
|
|
19820
|
+
forwardAddress?: boolean | undefined;
|
|
19821
|
+
catchAll?: boolean | undefined;
|
|
19822
|
+
autoResponder?: boolean | undefined;
|
|
19823
|
+
mailArchive?: boolean | undefined;
|
|
19824
|
+
limit?: number | undefined;
|
|
19825
|
+
skip?: number | undefined;
|
|
19826
|
+
page?: number | undefined;
|
|
19827
|
+
sort?: ("address.domain" | "address.local" | "updatedAt" | "projectId" | "mailbox.quota" | "mailbox.name" | "mailbox.storageInBytes.current" | "mailbox.storageInBytes.limit")[] | undefined;
|
|
19828
|
+
order?: ("asc" | "desc")[] | undefined;
|
|
19829
|
+
} | undefined;
|
|
19830
|
+
} | null | undefined, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
19831
|
+
headers?: Partial<{
|
|
19832
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
19833
|
+
}>;
|
|
19834
|
+
} & {
|
|
19835
|
+
queryParameters: {
|
|
19836
|
+
projectId?: string | undefined;
|
|
19837
|
+
search?: string | undefined;
|
|
19838
|
+
forwardAddress?: boolean | undefined;
|
|
19839
|
+
catchAll?: boolean | undefined;
|
|
19840
|
+
autoResponder?: boolean | undefined;
|
|
19841
|
+
mailArchive?: boolean | undefined;
|
|
19842
|
+
limit?: number | undefined;
|
|
19843
|
+
skip?: number | undefined;
|
|
19844
|
+
page?: number | undefined;
|
|
19845
|
+
sort?: ("address.domain" | "address.local" | "updatedAt" | "projectId" | "mailbox.quota" | "mailbox.name" | "mailbox.storageInBytes.current" | "mailbox.storageInBytes.limit")[] | undefined;
|
|
19846
|
+
order?: ("asc" | "desc")[] | undefined;
|
|
19847
|
+
} & Partial<{
|
|
19848
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
19849
|
+
}>;
|
|
19850
|
+
} & {
|
|
19851
|
+
headers: {
|
|
19852
|
+
"x-access-token"?: string | undefined;
|
|
19853
|
+
} & Partial<{
|
|
19854
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
19855
|
+
}>;
|
|
19856
|
+
}, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.MailMailAddress[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
19857
|
+
[x: string]: unknown;
|
|
19858
|
+
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
19859
|
+
[x: string]: unknown;
|
|
19860
|
+
}, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
19861
|
+
[x: string]: unknown;
|
|
19862
|
+
}, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
19863
|
+
[x: string]: unknown;
|
|
19864
|
+
}, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
19865
|
+
[x: string]: unknown;
|
|
19866
|
+
}, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
19867
|
+
[x: string]: unknown;
|
|
19868
|
+
}, 503, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
19869
|
+
headers?: Partial<{
|
|
19870
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
19871
|
+
}>;
|
|
19872
|
+
} & {
|
|
19873
|
+
queryParameters: {
|
|
19874
|
+
projectId?: string | undefined;
|
|
19875
|
+
search?: string | undefined;
|
|
19876
|
+
forwardAddress?: boolean | undefined;
|
|
19877
|
+
catchAll?: boolean | undefined;
|
|
19878
|
+
autoResponder?: boolean | undefined;
|
|
19879
|
+
mailArchive?: boolean | undefined;
|
|
19880
|
+
limit?: number | undefined;
|
|
19881
|
+
skip?: number | undefined;
|
|
19882
|
+
page?: number | undefined;
|
|
19883
|
+
sort?: ("address.domain" | "address.local" | "updatedAt" | "projectId" | "mailbox.quota" | "mailbox.name" | "mailbox.storageInBytes.current" | "mailbox.storageInBytes.limit")[] | undefined;
|
|
19884
|
+
order?: ("asc" | "desc")[] | undefined;
|
|
19885
|
+
} & Partial<{
|
|
19886
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
19887
|
+
}>;
|
|
19888
|
+
} & {
|
|
19889
|
+
headers: {
|
|
19890
|
+
"x-access-token"?: string | undefined;
|
|
19891
|
+
} & Partial<{
|
|
19892
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
19893
|
+
}>;
|
|
19894
|
+
}, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.MailMailAddress[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
19895
|
+
[x: string]: unknown;
|
|
19896
|
+
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
19897
|
+
[x: string]: unknown;
|
|
19898
|
+
}, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
19899
|
+
[x: string]: unknown;
|
|
19900
|
+
}, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
19901
|
+
[x: string]: unknown;
|
|
19902
|
+
}, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
19903
|
+
[x: string]: unknown;
|
|
19904
|
+
}, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
19905
|
+
[x: string]: unknown;
|
|
19906
|
+
}, 503, "application/json">>>;
|
|
19810
19907
|
};
|
|
19811
19908
|
/** The notification API allows you to manage your notifications. */
|
|
19812
19909
|
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 {
|
|
@@ -27885,5 +27889,82 @@ export declare namespace MittwaldAPIV2 {
|
|
|
27885
27889
|
}
|
|
27886
27890
|
}
|
|
27887
27891
|
}
|
|
27892
|
+
namespace V2MailAddresses {
|
|
27893
|
+
namespace Get {
|
|
27894
|
+
namespace Parameters {
|
|
27895
|
+
type Path = {};
|
|
27896
|
+
type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
|
|
27897
|
+
type Query = {
|
|
27898
|
+
projectId?: string;
|
|
27899
|
+
search?: string;
|
|
27900
|
+
forwardAddress?: boolean;
|
|
27901
|
+
catchAll?: boolean;
|
|
27902
|
+
autoResponder?: boolean;
|
|
27903
|
+
mailArchive?: boolean;
|
|
27904
|
+
limit?: number;
|
|
27905
|
+
skip?: number;
|
|
27906
|
+
page?: number;
|
|
27907
|
+
sort?: ("address.domain" | "address.local" | "updatedAt" | "projectId" | "mailbox.quota" | "mailbox.name" | "mailbox.storageInBytes.current" | "mailbox.storageInBytes.limit")[];
|
|
27908
|
+
order?: ("asc" | "desc")[];
|
|
27909
|
+
};
|
|
27910
|
+
}
|
|
27911
|
+
namespace Responses {
|
|
27912
|
+
namespace $200 {
|
|
27913
|
+
namespace Content {
|
|
27914
|
+
type ApplicationJson = MittwaldAPIV2.Components.Schemas.MailMailAddress[];
|
|
27915
|
+
}
|
|
27916
|
+
}
|
|
27917
|
+
namespace $400 {
|
|
27918
|
+
namespace Content {
|
|
27919
|
+
interface ApplicationJson {
|
|
27920
|
+
[k: string]: unknown;
|
|
27921
|
+
}
|
|
27922
|
+
}
|
|
27923
|
+
}
|
|
27924
|
+
namespace $403 {
|
|
27925
|
+
namespace Content {
|
|
27926
|
+
interface ApplicationJson {
|
|
27927
|
+
[k: string]: unknown;
|
|
27928
|
+
}
|
|
27929
|
+
}
|
|
27930
|
+
}
|
|
27931
|
+
namespace $404 {
|
|
27932
|
+
namespace Content {
|
|
27933
|
+
interface ApplicationJson {
|
|
27934
|
+
[k: string]: unknown;
|
|
27935
|
+
}
|
|
27936
|
+
}
|
|
27937
|
+
}
|
|
27938
|
+
namespace $429 {
|
|
27939
|
+
namespace Content {
|
|
27940
|
+
interface ApplicationJson {
|
|
27941
|
+
[k: string]: unknown;
|
|
27942
|
+
}
|
|
27943
|
+
}
|
|
27944
|
+
}
|
|
27945
|
+
namespace $500 {
|
|
27946
|
+
namespace Content {
|
|
27947
|
+
interface ApplicationJson {
|
|
27948
|
+
[k: string]: unknown;
|
|
27949
|
+
}
|
|
27950
|
+
}
|
|
27951
|
+
}
|
|
27952
|
+
namespace $503 {
|
|
27953
|
+
namespace Content {
|
|
27954
|
+
interface ApplicationJson {
|
|
27955
|
+
[k: string]: unknown;
|
|
27956
|
+
}
|
|
27957
|
+
}
|
|
27958
|
+
}
|
|
27959
|
+
namespace Default {
|
|
27960
|
+
namespace Content {
|
|
27961
|
+
interface ApplicationJson {
|
|
27962
|
+
[k: string]: unknown;
|
|
27963
|
+
}
|
|
27964
|
+
}
|
|
27965
|
+
}
|
|
27966
|
+
}
|
|
27967
|
+
}
|
|
27968
|
+
}
|
|
27888
27969
|
}
|
|
27889
27970
|
}
|
package/dist/types/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const MittwaldAPIClientVersion = '4.
|
|
1
|
+
export declare const MittwaldAPIClientVersion = '4.270.0';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mittwald/api-client",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.271.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.
|
|
49
|
+
"@mittwald/api-client-commons": "^4.271.0",
|
|
50
50
|
"browser-or-node": "^3.0.0"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
|
-
"@mittwald/api-code-generator": "^4.
|
|
53
|
+
"@mittwald/api-code-generator": "^4.271.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": "
|
|
83
|
+
"gitHead": "d0df84eddeec644a0a724b41761aebed23965bd9"
|
|
84
84
|
}
|