@mittwald/api-client 4.274.0 → 4.275.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 -2
- package/dist/esm/generated/v2/client.js +2 -2
- package/dist/esm/generated/v2/descriptors.js +6 -6
- package/dist/esm/version.js +1 -1
- package/dist/types/generated/v2/client-react.d.ts +12 -12
- package/dist/types/generated/v2/client.d.ts +97 -97
- package/dist/types/generated/v2/descriptors.d.ts +2 -2
- package/dist/types/generated/v2/types.d.ts +81 -81
- package/dist/types/version.d.ts +1 -1
- package/package.json +4 -4
|
@@ -312,10 +312,10 @@ const buildMailApi = (baseClient) => ({
|
|
|
312
312
|
getMailAddress: new ApiCallAsyncResourceFactory(descriptors.mailGetMailAddress, baseClient.mail.getMailAddress).getApiResource,
|
|
313
313
|
/** List backups belonging to a MailAddress. */
|
|
314
314
|
listBackupsForMailAddress: new ApiCallAsyncResourceFactory(descriptors.mailListBackupsForMailAddress, baseClient.mail.listBackupsForMailAddress).getApiResource,
|
|
315
|
-
/** List mail settings of a Project. */
|
|
316
|
-
listProjectMailSettings: new ApiCallAsyncResourceFactory(descriptors.mailListProjectMailSettings, baseClient.mail.listProjectMailSettings).getApiResource,
|
|
317
315
|
/** List MailAddresses. */
|
|
318
316
|
listMailAddressesForUser: new ApiCallAsyncResourceFactory(descriptors.mailListMailAddressesForUser, baseClient.mail.listMailAddressesForUser).getApiResource,
|
|
317
|
+
/** List mail settings of a Project. */
|
|
318
|
+
listProjectMailSettings: new ApiCallAsyncResourceFactory(descriptors.mailListProjectMailSettings, baseClient.mail.listProjectMailSettings).getApiResource,
|
|
319
319
|
});
|
|
320
320
|
const buildMiscApi = (baseClient) => ({
|
|
321
321
|
/** Get a list of currently active llm models. */
|
|
@@ -617,6 +617,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
617
617
|
disableMailArchive: this.requestFunctionFactory(descriptors.mailDisableMailArchive),
|
|
618
618
|
/** List backups belonging to a MailAddress. */
|
|
619
619
|
listBackupsForMailAddress: this.requestFunctionFactory(descriptors.mailListBackupsForMailAddress),
|
|
620
|
+
/** List MailAddresses. */
|
|
621
|
+
listMailAddressesForUser: this.requestFunctionFactory(descriptors.mailListMailAddressesForUser),
|
|
620
622
|
/** List mail settings of a Project. */
|
|
621
623
|
listProjectMailSettings: this.requestFunctionFactory(descriptors.mailListProjectMailSettings),
|
|
622
624
|
/** Recover emails for a MailAddress from a backup. */
|
|
@@ -629,8 +631,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
629
631
|
updateMailAddressAddress: this.requestFunctionFactory(descriptors.mailUpdateMailAddressAddress),
|
|
630
632
|
/** Update the catch-all of a MailAddress. */
|
|
631
633
|
updateMailAddressCatchAll: this.requestFunctionFactory(descriptors.mailUpdateMailAddressCatchAll),
|
|
632
|
-
/** List MailAddresses. */
|
|
633
|
-
listMailAddressesForUser: this.requestFunctionFactory(descriptors.mailListMailAddressesForUser),
|
|
634
634
|
};
|
|
635
635
|
/** The notification API allows you to manage your notifications. */
|
|
636
636
|
notification = {
|
|
@@ -1750,6 +1750,12 @@ export const mailListBackupsForMailAddress = {
|
|
|
1750
1750
|
method: "GET",
|
|
1751
1751
|
operationId: "mail-list-backups-for-mail-address",
|
|
1752
1752
|
};
|
|
1753
|
+
/** List MailAddresses. */
|
|
1754
|
+
export const mailListMailAddressesForUser = {
|
|
1755
|
+
path: "/v2/mail-addresses/",
|
|
1756
|
+
method: "GET",
|
|
1757
|
+
operationId: "mail-list-mail-addresses-for-user",
|
|
1758
|
+
};
|
|
1753
1759
|
/** List mail settings of a Project. */
|
|
1754
1760
|
export const mailListProjectMailSettings = {
|
|
1755
1761
|
path: "/v2/projects/{projectId}/mail-settings",
|
|
@@ -2620,9 +2626,3 @@ export const verificationVerifyCompany = {
|
|
|
2620
2626
|
method: "POST",
|
|
2621
2627
|
operationId: "verification-verify-company",
|
|
2622
2628
|
};
|
|
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.274.0';
|
|
@@ -2477,18 +2477,6 @@ declare const buildMailApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
2477
2477
|
"x-access-token"?: string | undefined;
|
|
2478
2478
|
} | undefined;
|
|
2479
2479
|
}) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MailMailAddressBackup[]>;
|
|
2480
|
-
/** List mail settings of a Project. */
|
|
2481
|
-
listProjectMailSettings: (conf: {
|
|
2482
|
-
projectId: string;
|
|
2483
|
-
headers?: {
|
|
2484
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
2485
|
-
"x-access-token"?: string | undefined;
|
|
2486
|
-
} | undefined;
|
|
2487
|
-
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
2488
|
-
blacklist: string[];
|
|
2489
|
-
projectId: string;
|
|
2490
|
-
whitelist: string[];
|
|
2491
|
-
}>;
|
|
2492
2480
|
/** List MailAddresses. */
|
|
2493
2481
|
listMailAddressesForUser: (conf?: {
|
|
2494
2482
|
headers?: {
|
|
@@ -2510,6 +2498,18 @@ declare const buildMailApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
2510
2498
|
order?: ("asc" | "desc")[] | undefined;
|
|
2511
2499
|
} | undefined;
|
|
2512
2500
|
} | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MailMailAddress[]>;
|
|
2501
|
+
/** List mail settings of a Project. */
|
|
2502
|
+
listProjectMailSettings: (conf: {
|
|
2503
|
+
projectId: string;
|
|
2504
|
+
headers?: {
|
|
2505
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
2506
|
+
"x-access-token"?: string | undefined;
|
|
2507
|
+
} | undefined;
|
|
2508
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
2509
|
+
blacklist: string[];
|
|
2510
|
+
projectId: string;
|
|
2511
|
+
whitelist: string[];
|
|
2512
|
+
}>;
|
|
2513
2513
|
};
|
|
2514
2514
|
declare const buildMiscApi: (baseClient: MittwaldAPIV2Client) => {
|
|
2515
2515
|
/** Get a list of currently active llm models. */
|
|
@@ -19397,6 +19397,103 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
19397
19397
|
}, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
19398
19398
|
[x: string]: unknown;
|
|
19399
19399
|
}, 500, "application/json">>>;
|
|
19400
|
+
/** List MailAddresses. */
|
|
19401
|
+
listMailAddressesForUser: (request?: {
|
|
19402
|
+
headers?: {
|
|
19403
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
19404
|
+
"x-access-token"?: string | undefined;
|
|
19405
|
+
} | undefined;
|
|
19406
|
+
queryParameters?: {
|
|
19407
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
19408
|
+
projectId?: string | undefined;
|
|
19409
|
+
search?: string | undefined;
|
|
19410
|
+
forwardAddress?: boolean | undefined;
|
|
19411
|
+
catchAll?: boolean | undefined;
|
|
19412
|
+
autoResponder?: boolean | undefined;
|
|
19413
|
+
mailArchive?: boolean | undefined;
|
|
19414
|
+
limit?: number | undefined;
|
|
19415
|
+
skip?: number | undefined;
|
|
19416
|
+
page?: number | undefined;
|
|
19417
|
+
sort?: ("address.domain" | "address.local" | "updatedAt" | "projectId" | "mailbox.quota" | "mailbox.name" | "mailbox.storageInBytes.current" | "mailbox.storageInBytes.limit")[] | undefined;
|
|
19418
|
+
order?: ("asc" | "desc")[] | undefined;
|
|
19419
|
+
} | undefined;
|
|
19420
|
+
} | null | undefined, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
19421
|
+
headers?: Partial<{
|
|
19422
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
19423
|
+
}>;
|
|
19424
|
+
} & {
|
|
19425
|
+
queryParameters: {
|
|
19426
|
+
projectId?: string | undefined;
|
|
19427
|
+
search?: string | undefined;
|
|
19428
|
+
forwardAddress?: boolean | undefined;
|
|
19429
|
+
catchAll?: boolean | undefined;
|
|
19430
|
+
autoResponder?: boolean | undefined;
|
|
19431
|
+
mailArchive?: boolean | undefined;
|
|
19432
|
+
limit?: number | undefined;
|
|
19433
|
+
skip?: number | undefined;
|
|
19434
|
+
page?: number | undefined;
|
|
19435
|
+
sort?: ("address.domain" | "address.local" | "updatedAt" | "projectId" | "mailbox.quota" | "mailbox.name" | "mailbox.storageInBytes.current" | "mailbox.storageInBytes.limit")[] | undefined;
|
|
19436
|
+
order?: ("asc" | "desc")[] | undefined;
|
|
19437
|
+
} & Partial<{
|
|
19438
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
19439
|
+
}>;
|
|
19440
|
+
} & {
|
|
19441
|
+
headers: {
|
|
19442
|
+
"x-access-token"?: string | undefined;
|
|
19443
|
+
} & Partial<{
|
|
19444
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
19445
|
+
}>;
|
|
19446
|
+
}, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.MailMailAddress[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
19447
|
+
[x: string]: unknown;
|
|
19448
|
+
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
19449
|
+
[x: string]: unknown;
|
|
19450
|
+
}, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
19451
|
+
[x: string]: unknown;
|
|
19452
|
+
}, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
19453
|
+
[x: string]: unknown;
|
|
19454
|
+
}, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
19455
|
+
[x: string]: unknown;
|
|
19456
|
+
}, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
19457
|
+
[x: string]: unknown;
|
|
19458
|
+
}, 503, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
19459
|
+
headers?: Partial<{
|
|
19460
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
19461
|
+
}>;
|
|
19462
|
+
} & {
|
|
19463
|
+
queryParameters: {
|
|
19464
|
+
projectId?: string | undefined;
|
|
19465
|
+
search?: string | undefined;
|
|
19466
|
+
forwardAddress?: boolean | undefined;
|
|
19467
|
+
catchAll?: boolean | undefined;
|
|
19468
|
+
autoResponder?: boolean | undefined;
|
|
19469
|
+
mailArchive?: boolean | undefined;
|
|
19470
|
+
limit?: number | undefined;
|
|
19471
|
+
skip?: number | undefined;
|
|
19472
|
+
page?: number | undefined;
|
|
19473
|
+
sort?: ("address.domain" | "address.local" | "updatedAt" | "projectId" | "mailbox.quota" | "mailbox.name" | "mailbox.storageInBytes.current" | "mailbox.storageInBytes.limit")[] | undefined;
|
|
19474
|
+
order?: ("asc" | "desc")[] | undefined;
|
|
19475
|
+
} & Partial<{
|
|
19476
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
19477
|
+
}>;
|
|
19478
|
+
} & {
|
|
19479
|
+
headers: {
|
|
19480
|
+
"x-access-token"?: string | undefined;
|
|
19481
|
+
} & Partial<{
|
|
19482
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
19483
|
+
}>;
|
|
19484
|
+
}, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.MailMailAddress[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
19485
|
+
[x: string]: unknown;
|
|
19486
|
+
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
19487
|
+
[x: string]: unknown;
|
|
19488
|
+
}, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
19489
|
+
[x: string]: unknown;
|
|
19490
|
+
}, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
19491
|
+
[x: string]: unknown;
|
|
19492
|
+
}, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
19493
|
+
[x: string]: unknown;
|
|
19494
|
+
}, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
19495
|
+
[x: string]: unknown;
|
|
19496
|
+
}, 503, "application/json">>>;
|
|
19400
19497
|
/** List mail settings of a Project. */
|
|
19401
19498
|
listProjectMailSettings: (request: {
|
|
19402
19499
|
projectId: string;
|
|
@@ -19800,103 +19897,6 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
19800
19897
|
}, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
19801
19898
|
[x: string]: unknown;
|
|
19802
19899
|
}, 503, "application/json">>>;
|
|
19803
|
-
/** List MailAddresses. */
|
|
19804
|
-
listMailAddressesForUser: (request?: {
|
|
19805
|
-
headers?: {
|
|
19806
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
19807
|
-
"x-access-token"?: string | undefined;
|
|
19808
|
-
} | undefined;
|
|
19809
|
-
queryParameters?: {
|
|
19810
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
19811
|
-
projectId?: string | undefined;
|
|
19812
|
-
search?: string | undefined;
|
|
19813
|
-
forwardAddress?: boolean | undefined;
|
|
19814
|
-
catchAll?: boolean | undefined;
|
|
19815
|
-
autoResponder?: boolean | undefined;
|
|
19816
|
-
mailArchive?: boolean | undefined;
|
|
19817
|
-
limit?: number | undefined;
|
|
19818
|
-
skip?: number | undefined;
|
|
19819
|
-
page?: number | undefined;
|
|
19820
|
-
sort?: ("address.domain" | "address.local" | "updatedAt" | "projectId" | "mailbox.quota" | "mailbox.name" | "mailbox.storageInBytes.current" | "mailbox.storageInBytes.limit")[] | undefined;
|
|
19821
|
-
order?: ("asc" | "desc")[] | undefined;
|
|
19822
|
-
} | undefined;
|
|
19823
|
-
} | null | undefined, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
19824
|
-
headers?: Partial<{
|
|
19825
|
-
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
19826
|
-
}>;
|
|
19827
|
-
} & {
|
|
19828
|
-
queryParameters: {
|
|
19829
|
-
projectId?: string | undefined;
|
|
19830
|
-
search?: string | undefined;
|
|
19831
|
-
forwardAddress?: boolean | undefined;
|
|
19832
|
-
catchAll?: boolean | undefined;
|
|
19833
|
-
autoResponder?: boolean | undefined;
|
|
19834
|
-
mailArchive?: boolean | undefined;
|
|
19835
|
-
limit?: number | undefined;
|
|
19836
|
-
skip?: number | undefined;
|
|
19837
|
-
page?: number | undefined;
|
|
19838
|
-
sort?: ("address.domain" | "address.local" | "updatedAt" | "projectId" | "mailbox.quota" | "mailbox.name" | "mailbox.storageInBytes.current" | "mailbox.storageInBytes.limit")[] | undefined;
|
|
19839
|
-
order?: ("asc" | "desc")[] | undefined;
|
|
19840
|
-
} & Partial<{
|
|
19841
|
-
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
19842
|
-
}>;
|
|
19843
|
-
} & {
|
|
19844
|
-
headers: {
|
|
19845
|
-
"x-access-token"?: string | undefined;
|
|
19846
|
-
} & Partial<{
|
|
19847
|
-
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
19848
|
-
}>;
|
|
19849
|
-
}, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.MailMailAddress[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
19850
|
-
[x: string]: unknown;
|
|
19851
|
-
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
19852
|
-
[x: string]: unknown;
|
|
19853
|
-
}, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
19854
|
-
[x: string]: unknown;
|
|
19855
|
-
}, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
19856
|
-
[x: string]: unknown;
|
|
19857
|
-
}, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
19858
|
-
[x: string]: unknown;
|
|
19859
|
-
}, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
19860
|
-
[x: string]: unknown;
|
|
19861
|
-
}, 503, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
19862
|
-
headers?: Partial<{
|
|
19863
|
-
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
19864
|
-
}>;
|
|
19865
|
-
} & {
|
|
19866
|
-
queryParameters: {
|
|
19867
|
-
projectId?: string | undefined;
|
|
19868
|
-
search?: string | undefined;
|
|
19869
|
-
forwardAddress?: boolean | undefined;
|
|
19870
|
-
catchAll?: boolean | undefined;
|
|
19871
|
-
autoResponder?: boolean | undefined;
|
|
19872
|
-
mailArchive?: boolean | undefined;
|
|
19873
|
-
limit?: number | undefined;
|
|
19874
|
-
skip?: number | undefined;
|
|
19875
|
-
page?: number | undefined;
|
|
19876
|
-
sort?: ("address.domain" | "address.local" | "updatedAt" | "projectId" | "mailbox.quota" | "mailbox.name" | "mailbox.storageInBytes.current" | "mailbox.storageInBytes.limit")[] | undefined;
|
|
19877
|
-
order?: ("asc" | "desc")[] | undefined;
|
|
19878
|
-
} & Partial<{
|
|
19879
|
-
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
19880
|
-
}>;
|
|
19881
|
-
} & {
|
|
19882
|
-
headers: {
|
|
19883
|
-
"x-access-token"?: string | undefined;
|
|
19884
|
-
} & Partial<{
|
|
19885
|
-
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
19886
|
-
}>;
|
|
19887
|
-
}, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.MailMailAddress[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
19888
|
-
[x: string]: unknown;
|
|
19889
|
-
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
19890
|
-
[x: string]: unknown;
|
|
19891
|
-
}, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
19892
|
-
[x: string]: unknown;
|
|
19893
|
-
}, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
19894
|
-
[x: string]: unknown;
|
|
19895
|
-
}, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
19896
|
-
[x: string]: unknown;
|
|
19897
|
-
}, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
19898
|
-
[x: string]: unknown;
|
|
19899
|
-
}, 503, "application/json">>>;
|
|
19900
19900
|
};
|
|
19901
19901
|
/** The notification API allows you to manage your notifications. */
|
|
19902
19902
|
readonly notification: {
|
|
@@ -587,6 +587,8 @@ export declare const mailDeleteMailAddress: OpenAPIOperation<RequestType<Simplif
|
|
|
587
587
|
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">>;
|
|
588
588
|
/** List backups belonging to a MailAddress. */
|
|
589
589
|
export declare const mailListBackupsForMailAddress: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdBackups.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdBackups.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdBackups.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdBackups.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdBackups.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdBackups.Get.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdBackups.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdBackups.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdBackups.Get.Responses.$500.Content.ApplicationJson>, 500, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdBackups.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
590
|
+
/** List MailAddresses. */
|
|
591
|
+
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">>;
|
|
590
592
|
/** List mail settings of a Project. */
|
|
591
593
|
export declare const mailListProjectMailSettings: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMailSettings.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMailSettings.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMailSettings.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMailSettings.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMailSettings.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMailSettings.Get.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMailSettings.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMailSettings.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMailSettings.Get.Responses.$500.Content.ApplicationJson>, 500, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMailSettings.Get.Responses.$503.Content.ApplicationJson>, 503, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMailSettings.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
592
594
|
/** Recover emails for a MailAddress from a backup. */
|
|
@@ -877,5 +879,3 @@ export declare const verificationDetectPhishingEmail: OpenAPIOperation<RequestTy
|
|
|
877
879
|
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
880
|
/** Check if a company exists. */
|
|
879
881
|
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">>;
|
|
@@ -1170,6 +1170,10 @@ export declare namespace MittwaldAPIV2 {
|
|
|
1170
1170
|
type RequestData = InferredRequestData<typeof descriptors.mailListBackupsForMailAddress>;
|
|
1171
1171
|
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.mailListBackupsForMailAddress, TStatus>;
|
|
1172
1172
|
}
|
|
1173
|
+
namespace MailListMailAddressesForUser {
|
|
1174
|
+
type RequestData = InferredRequestData<typeof descriptors.mailListMailAddressesForUser>;
|
|
1175
|
+
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.mailListMailAddressesForUser, TStatus>;
|
|
1176
|
+
}
|
|
1173
1177
|
namespace MailListProjectMailSettings {
|
|
1174
1178
|
type RequestData = InferredRequestData<typeof descriptors.mailListProjectMailSettings>;
|
|
1175
1179
|
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.mailListProjectMailSettings, TStatus>;
|
|
@@ -1750,10 +1754,6 @@ export declare namespace MittwaldAPIV2 {
|
|
|
1750
1754
|
type RequestData = InferredRequestData<typeof descriptors.verificationVerifyCompany>;
|
|
1751
1755
|
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.verificationVerifyCompany, TStatus>;
|
|
1752
1756
|
}
|
|
1753
|
-
namespace MailListMailAddressesForUser {
|
|
1754
|
-
type RequestData = InferredRequestData<typeof descriptors.mailListMailAddressesForUser>;
|
|
1755
|
-
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.mailListMailAddressesForUser, TStatus>;
|
|
1756
|
-
}
|
|
1757
1757
|
}
|
|
1758
1758
|
namespace Components {
|
|
1759
1759
|
namespace Schemas {
|
|
@@ -20888,6 +20888,83 @@ export declare namespace MittwaldAPIV2 {
|
|
|
20888
20888
|
}
|
|
20889
20889
|
}
|
|
20890
20890
|
}
|
|
20891
|
+
namespace V2MailAddresses {
|
|
20892
|
+
namespace Get {
|
|
20893
|
+
namespace Parameters {
|
|
20894
|
+
type Path = {};
|
|
20895
|
+
type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
|
|
20896
|
+
type Query = {
|
|
20897
|
+
projectId?: string;
|
|
20898
|
+
search?: string;
|
|
20899
|
+
forwardAddress?: boolean;
|
|
20900
|
+
catchAll?: boolean;
|
|
20901
|
+
autoResponder?: boolean;
|
|
20902
|
+
mailArchive?: boolean;
|
|
20903
|
+
limit?: number;
|
|
20904
|
+
skip?: number;
|
|
20905
|
+
page?: number;
|
|
20906
|
+
sort?: ("address.domain" | "address.local" | "updatedAt" | "projectId" | "mailbox.quota" | "mailbox.name" | "mailbox.storageInBytes.current" | "mailbox.storageInBytes.limit")[];
|
|
20907
|
+
order?: ("asc" | "desc")[];
|
|
20908
|
+
};
|
|
20909
|
+
}
|
|
20910
|
+
namespace Responses {
|
|
20911
|
+
namespace $200 {
|
|
20912
|
+
namespace Content {
|
|
20913
|
+
type ApplicationJson = MittwaldAPIV2.Components.Schemas.MailMailAddress[];
|
|
20914
|
+
}
|
|
20915
|
+
}
|
|
20916
|
+
namespace $400 {
|
|
20917
|
+
namespace Content {
|
|
20918
|
+
interface ApplicationJson {
|
|
20919
|
+
[k: string]: unknown;
|
|
20920
|
+
}
|
|
20921
|
+
}
|
|
20922
|
+
}
|
|
20923
|
+
namespace $403 {
|
|
20924
|
+
namespace Content {
|
|
20925
|
+
interface ApplicationJson {
|
|
20926
|
+
[k: string]: unknown;
|
|
20927
|
+
}
|
|
20928
|
+
}
|
|
20929
|
+
}
|
|
20930
|
+
namespace $404 {
|
|
20931
|
+
namespace Content {
|
|
20932
|
+
interface ApplicationJson {
|
|
20933
|
+
[k: string]: unknown;
|
|
20934
|
+
}
|
|
20935
|
+
}
|
|
20936
|
+
}
|
|
20937
|
+
namespace $429 {
|
|
20938
|
+
namespace Content {
|
|
20939
|
+
interface ApplicationJson {
|
|
20940
|
+
[k: string]: unknown;
|
|
20941
|
+
}
|
|
20942
|
+
}
|
|
20943
|
+
}
|
|
20944
|
+
namespace $500 {
|
|
20945
|
+
namespace Content {
|
|
20946
|
+
interface ApplicationJson {
|
|
20947
|
+
[k: string]: unknown;
|
|
20948
|
+
}
|
|
20949
|
+
}
|
|
20950
|
+
}
|
|
20951
|
+
namespace $503 {
|
|
20952
|
+
namespace Content {
|
|
20953
|
+
interface ApplicationJson {
|
|
20954
|
+
[k: string]: unknown;
|
|
20955
|
+
}
|
|
20956
|
+
}
|
|
20957
|
+
}
|
|
20958
|
+
namespace Default {
|
|
20959
|
+
namespace Content {
|
|
20960
|
+
interface ApplicationJson {
|
|
20961
|
+
[k: string]: unknown;
|
|
20962
|
+
}
|
|
20963
|
+
}
|
|
20964
|
+
}
|
|
20965
|
+
}
|
|
20966
|
+
}
|
|
20967
|
+
}
|
|
20891
20968
|
namespace V2ProjectsProjectIdMailsettings { }
|
|
20892
20969
|
namespace V2ProjectsProjectIdMailSettings {
|
|
20893
20970
|
namespace Get {
|
|
@@ -27894,82 +27971,5 @@ export declare namespace MittwaldAPIV2 {
|
|
|
27894
27971
|
}
|
|
27895
27972
|
}
|
|
27896
27973
|
}
|
|
27897
|
-
namespace V2MailAddresses {
|
|
27898
|
-
namespace Get {
|
|
27899
|
-
namespace Parameters {
|
|
27900
|
-
type Path = {};
|
|
27901
|
-
type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
|
|
27902
|
-
type Query = {
|
|
27903
|
-
projectId?: string;
|
|
27904
|
-
search?: string;
|
|
27905
|
-
forwardAddress?: boolean;
|
|
27906
|
-
catchAll?: boolean;
|
|
27907
|
-
autoResponder?: boolean;
|
|
27908
|
-
mailArchive?: boolean;
|
|
27909
|
-
limit?: number;
|
|
27910
|
-
skip?: number;
|
|
27911
|
-
page?: number;
|
|
27912
|
-
sort?: ("address.domain" | "address.local" | "updatedAt" | "projectId" | "mailbox.quota" | "mailbox.name" | "mailbox.storageInBytes.current" | "mailbox.storageInBytes.limit")[];
|
|
27913
|
-
order?: ("asc" | "desc")[];
|
|
27914
|
-
};
|
|
27915
|
-
}
|
|
27916
|
-
namespace Responses {
|
|
27917
|
-
namespace $200 {
|
|
27918
|
-
namespace Content {
|
|
27919
|
-
type ApplicationJson = MittwaldAPIV2.Components.Schemas.MailMailAddress[];
|
|
27920
|
-
}
|
|
27921
|
-
}
|
|
27922
|
-
namespace $400 {
|
|
27923
|
-
namespace Content {
|
|
27924
|
-
interface ApplicationJson {
|
|
27925
|
-
[k: string]: unknown;
|
|
27926
|
-
}
|
|
27927
|
-
}
|
|
27928
|
-
}
|
|
27929
|
-
namespace $403 {
|
|
27930
|
-
namespace Content {
|
|
27931
|
-
interface ApplicationJson {
|
|
27932
|
-
[k: string]: unknown;
|
|
27933
|
-
}
|
|
27934
|
-
}
|
|
27935
|
-
}
|
|
27936
|
-
namespace $404 {
|
|
27937
|
-
namespace Content {
|
|
27938
|
-
interface ApplicationJson {
|
|
27939
|
-
[k: string]: unknown;
|
|
27940
|
-
}
|
|
27941
|
-
}
|
|
27942
|
-
}
|
|
27943
|
-
namespace $429 {
|
|
27944
|
-
namespace Content {
|
|
27945
|
-
interface ApplicationJson {
|
|
27946
|
-
[k: string]: unknown;
|
|
27947
|
-
}
|
|
27948
|
-
}
|
|
27949
|
-
}
|
|
27950
|
-
namespace $500 {
|
|
27951
|
-
namespace Content {
|
|
27952
|
-
interface ApplicationJson {
|
|
27953
|
-
[k: string]: unknown;
|
|
27954
|
-
}
|
|
27955
|
-
}
|
|
27956
|
-
}
|
|
27957
|
-
namespace $503 {
|
|
27958
|
-
namespace Content {
|
|
27959
|
-
interface ApplicationJson {
|
|
27960
|
-
[k: string]: unknown;
|
|
27961
|
-
}
|
|
27962
|
-
}
|
|
27963
|
-
}
|
|
27964
|
-
namespace Default {
|
|
27965
|
-
namespace Content {
|
|
27966
|
-
interface ApplicationJson {
|
|
27967
|
-
[k: string]: unknown;
|
|
27968
|
-
}
|
|
27969
|
-
}
|
|
27970
|
-
}
|
|
27971
|
-
}
|
|
27972
|
-
}
|
|
27973
|
-
}
|
|
27974
27974
|
}
|
|
27975
27975
|
}
|
package/dist/types/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const MittwaldAPIClientVersion = '4.
|
|
1
|
+
export declare const MittwaldAPIClientVersion = '4.274.0';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mittwald/api-client",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.275.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.275.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.275.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": "cb71d8ac7d06c2df84a65c3b1062f649dd1d18d9"
|
|
84
84
|
}
|