@mittwald/api-client 4.274.0 → 4.276.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.
@@ -112,6 +112,8 @@ const buildContractApi = (baseClient) => ({
112
112
  orderListCustomerOrders: new ApiCallAsyncResourceFactory(descriptors.orderListCustomerOrders, baseClient.contract.orderListCustomerOrders).getApiResource,
113
113
  /** Get list of Orders of a Project. */
114
114
  orderListProjectOrders: new ApiCallAsyncResourceFactory(descriptors.orderListProjectOrders, baseClient.contract.orderListProjectOrders).getApiResource,
115
+ /** Return the AI Hosting Contract for the given Customer. */
116
+ getDetailOfContractByAiHosting: new ApiCallAsyncResourceFactory(descriptors.contractGetDetailOfContractByAiHosting, baseClient.contract.getDetailOfContractByAiHosting).getApiResource,
115
117
  });
116
118
  const buildMarketplaceApi = (baseClient) => ({
117
119
  /** Get a Contributor. */
@@ -312,10 +314,10 @@ const buildMailApi = (baseClient) => ({
312
314
  getMailAddress: new ApiCallAsyncResourceFactory(descriptors.mailGetMailAddress, baseClient.mail.getMailAddress).getApiResource,
313
315
  /** List backups belonging to a MailAddress. */
314
316
  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
317
  /** List MailAddresses. */
318
318
  listMailAddressesForUser: new ApiCallAsyncResourceFactory(descriptors.mailListMailAddressesForUser, baseClient.mail.listMailAddressesForUser).getApiResource,
319
+ /** List mail settings of a Project. */
320
+ listProjectMailSettings: new ApiCallAsyncResourceFactory(descriptors.mailListProjectMailSettings, baseClient.mail.listProjectMailSettings).getApiResource,
319
321
  });
320
322
  const buildMiscApi = (baseClient) => ({
321
323
  /** Get a list of currently active llm models. */
@@ -202,6 +202,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
202
202
  orderPreviewOrder: this.requestFunctionFactory(descriptors.orderPreviewOrder),
203
203
  /** Preview TariffChange. */
204
204
  orderPreviewTariffChange: this.requestFunctionFactory(descriptors.orderPreviewTariffChange),
205
+ /** Return the AI Hosting Contract for the given Customer. */
206
+ getDetailOfContractByAiHosting: this.requestFunctionFactory(descriptors.contractGetDetailOfContractByAiHosting),
205
207
  };
206
208
  /** The marketplace API allows you to manage extensions and more information regaring the marketplace. */
207
209
  marketplace = {
@@ -617,6 +619,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
617
619
  disableMailArchive: this.requestFunctionFactory(descriptors.mailDisableMailArchive),
618
620
  /** List backups belonging to a MailAddress. */
619
621
  listBackupsForMailAddress: this.requestFunctionFactory(descriptors.mailListBackupsForMailAddress),
622
+ /** List MailAddresses. */
623
+ listMailAddressesForUser: this.requestFunctionFactory(descriptors.mailListMailAddressesForUser),
620
624
  /** List mail settings of a Project. */
621
625
  listProjectMailSettings: this.requestFunctionFactory(descriptors.mailListProjectMailSettings),
622
626
  /** Recover emails for a MailAddress from a backup. */
@@ -629,8 +633,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
629
633
  updateMailAddressAddress: this.requestFunctionFactory(descriptors.mailUpdateMailAddressAddress),
630
634
  /** Update the catch-all of a MailAddress. */
631
635
  updateMailAddressCatchAll: this.requestFunctionFactory(descriptors.mailUpdateMailAddressCatchAll),
632
- /** List MailAddresses. */
633
- listMailAddressesForUser: this.requestFunctionFactory(descriptors.mailListMailAddressesForUser),
634
636
  };
635
637
  /** The notification API allows you to manage your notifications. */
636
638
  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,9 @@ 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/",
2629
+ /** Return the AI Hosting Contract for the given Customer. */
2630
+ export const contractGetDetailOfContractByAiHosting = {
2631
+ path: "/v2/customers/{customerId}/ai-hosting/contract",
2626
2632
  method: "GET",
2627
- operationId: "mail-list-mail-addresses-for-user",
2633
+ operationId: "contract-get-detail-of-contract-by-ai-hosting",
2628
2634
  };
@@ -1 +1 @@
1
- export const MittwaldAPIClientVersion = '4.273.0';
1
+ export const MittwaldAPIClientVersion = '4.275.0';
@@ -901,6 +901,21 @@ declare const buildContractApi: (baseClient: MittwaldAPIV2Client) => {
901
901
  templateNames?: string[] | undefined;
902
902
  } | undefined;
903
903
  }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.OrderCustomerOrder[]>;
904
+ /** Return the AI Hosting Contract for the given Customer. */
905
+ getDetailOfContractByAiHosting: (conf: {
906
+ customerId: string;
907
+ headers?: {
908
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
909
+ "x-access-token"?: string | undefined;
910
+ } | undefined;
911
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
912
+ additionalItems?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContractContractItem[] | undefined;
913
+ baseItem: import("./types.js").MittwaldAPIV2.Components.Schemas.ContractContractItem;
914
+ contractId: string;
915
+ contractNumber: string;
916
+ customerId: string;
917
+ termination?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContractTermination | undefined;
918
+ }>;
904
919
  };
905
920
  declare const buildMarketplaceApi: (baseClient: MittwaldAPIV2Client) => {
906
921
  /** Get a Contributor. */
@@ -2477,18 +2492,6 @@ declare const buildMailApi: (baseClient: MittwaldAPIV2Client) => {
2477
2492
  "x-access-token"?: string | undefined;
2478
2493
  } | undefined;
2479
2494
  }) => 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
2495
  /** List MailAddresses. */
2493
2496
  listMailAddressesForUser: (conf?: {
2494
2497
  headers?: {
@@ -2510,6 +2513,18 @@ declare const buildMailApi: (baseClient: MittwaldAPIV2Client) => {
2510
2513
  order?: ("asc" | "desc")[] | undefined;
2511
2514
  } | undefined;
2512
2515
  } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MailMailAddress[]>;
2516
+ /** List mail settings of a Project. */
2517
+ listProjectMailSettings: (conf: {
2518
+ projectId: string;
2519
+ headers?: {
2520
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2521
+ "x-access-token"?: string | undefined;
2522
+ } | undefined;
2523
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
2524
+ blacklist: string[];
2525
+ projectId: string;
2526
+ whitelist: string[];
2527
+ }>;
2513
2528
  };
2514
2529
  declare const buildMiscApi: (baseClient: MittwaldAPIV2Client) => {
2515
2530
  /** Get a list of currently active llm models. */
@@ -6428,6 +6428,68 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
6428
6428
  }, 422, "application/json"> | import("@mittwald/api-client-commons").Response<{
6429
6429
  [x: string]: unknown;
6430
6430
  }, 429, "application/json">>>;
6431
+ /** Return the AI Hosting Contract for the given Customer. */
6432
+ getDetailOfContractByAiHosting: (request: {
6433
+ customerId: string;
6434
+ headers?: {
6435
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
6436
+ "x-access-token"?: string | undefined;
6437
+ } | undefined;
6438
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
6439
+ headers?: Partial<{
6440
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6441
+ }>;
6442
+ } & {
6443
+ pathParameters: {
6444
+ customerId: string;
6445
+ };
6446
+ } & {
6447
+ headers: {
6448
+ "x-access-token"?: string | undefined;
6449
+ } & Partial<{
6450
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6451
+ }>;
6452
+ }, import("@mittwald/api-client-commons").Response<{
6453
+ additionalItems?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContractContractItem[] | undefined;
6454
+ baseItem: import("./types.js").MittwaldAPIV2.Components.Schemas.ContractContractItem;
6455
+ contractId: string;
6456
+ contractNumber: string;
6457
+ customerId: string;
6458
+ termination?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContractTermination | undefined;
6459
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
6460
+ [x: string]: unknown;
6461
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
6462
+ [x: string]: unknown;
6463
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
6464
+ [x: string]: unknown;
6465
+ }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
6466
+ headers?: Partial<{
6467
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6468
+ }>;
6469
+ } & {
6470
+ pathParameters: {
6471
+ customerId: string;
6472
+ };
6473
+ } & {
6474
+ headers: {
6475
+ "x-access-token"?: string | undefined;
6476
+ } & Partial<{
6477
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6478
+ }>;
6479
+ }, import("@mittwald/api-client-commons").Response<{
6480
+ additionalItems?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContractContractItem[] | undefined;
6481
+ baseItem: import("./types.js").MittwaldAPIV2.Components.Schemas.ContractContractItem;
6482
+ contractId: string;
6483
+ contractNumber: string;
6484
+ customerId: string;
6485
+ termination?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContractTermination | undefined;
6486
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
6487
+ [x: string]: unknown;
6488
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
6489
+ [x: string]: unknown;
6490
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
6491
+ [x: string]: unknown;
6492
+ }, 429, "application/json">>>;
6431
6493
  };
6432
6494
  /** The marketplace API allows you to manage extensions and more information regaring the marketplace. */
6433
6495
  readonly marketplace: {
@@ -19397,6 +19459,103 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
19397
19459
  }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
19398
19460
  [x: string]: unknown;
19399
19461
  }, 500, "application/json">>>;
19462
+ /** List MailAddresses. */
19463
+ listMailAddressesForUser: (request?: {
19464
+ headers?: {
19465
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
19466
+ "x-access-token"?: string | undefined;
19467
+ } | undefined;
19468
+ queryParameters?: {
19469
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
19470
+ projectId?: string | undefined;
19471
+ search?: string | undefined;
19472
+ forwardAddress?: boolean | undefined;
19473
+ catchAll?: boolean | undefined;
19474
+ autoResponder?: boolean | undefined;
19475
+ mailArchive?: boolean | undefined;
19476
+ limit?: number | undefined;
19477
+ skip?: number | undefined;
19478
+ page?: number | undefined;
19479
+ sort?: ("address.domain" | "address.local" | "updatedAt" | "projectId" | "mailbox.quota" | "mailbox.name" | "mailbox.storageInBytes.current" | "mailbox.storageInBytes.limit")[] | undefined;
19480
+ order?: ("asc" | "desc")[] | undefined;
19481
+ } | undefined;
19482
+ } | null | undefined, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
19483
+ headers?: Partial<{
19484
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
19485
+ }>;
19486
+ } & {
19487
+ queryParameters: {
19488
+ projectId?: string | undefined;
19489
+ search?: string | undefined;
19490
+ forwardAddress?: boolean | undefined;
19491
+ catchAll?: boolean | undefined;
19492
+ autoResponder?: boolean | undefined;
19493
+ mailArchive?: boolean | undefined;
19494
+ limit?: number | undefined;
19495
+ skip?: number | undefined;
19496
+ page?: number | undefined;
19497
+ sort?: ("address.domain" | "address.local" | "updatedAt" | "projectId" | "mailbox.quota" | "mailbox.name" | "mailbox.storageInBytes.current" | "mailbox.storageInBytes.limit")[] | undefined;
19498
+ order?: ("asc" | "desc")[] | undefined;
19499
+ } & Partial<{
19500
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
19501
+ }>;
19502
+ } & {
19503
+ headers: {
19504
+ "x-access-token"?: string | undefined;
19505
+ } & Partial<{
19506
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
19507
+ }>;
19508
+ }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.MailMailAddress[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
19509
+ [x: string]: unknown;
19510
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
19511
+ [x: string]: unknown;
19512
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
19513
+ [x: string]: unknown;
19514
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
19515
+ [x: string]: unknown;
19516
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
19517
+ [x: string]: unknown;
19518
+ }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
19519
+ [x: string]: unknown;
19520
+ }, 503, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
19521
+ headers?: Partial<{
19522
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
19523
+ }>;
19524
+ } & {
19525
+ queryParameters: {
19526
+ projectId?: string | undefined;
19527
+ search?: string | undefined;
19528
+ forwardAddress?: boolean | undefined;
19529
+ catchAll?: boolean | undefined;
19530
+ autoResponder?: boolean | undefined;
19531
+ mailArchive?: boolean | undefined;
19532
+ limit?: number | undefined;
19533
+ skip?: number | undefined;
19534
+ page?: number | undefined;
19535
+ sort?: ("address.domain" | "address.local" | "updatedAt" | "projectId" | "mailbox.quota" | "mailbox.name" | "mailbox.storageInBytes.current" | "mailbox.storageInBytes.limit")[] | undefined;
19536
+ order?: ("asc" | "desc")[] | undefined;
19537
+ } & Partial<{
19538
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
19539
+ }>;
19540
+ } & {
19541
+ headers: {
19542
+ "x-access-token"?: string | undefined;
19543
+ } & Partial<{
19544
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
19545
+ }>;
19546
+ }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.MailMailAddress[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
19547
+ [x: string]: unknown;
19548
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
19549
+ [x: string]: unknown;
19550
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
19551
+ [x: string]: unknown;
19552
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
19553
+ [x: string]: unknown;
19554
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
19555
+ [x: string]: unknown;
19556
+ }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
19557
+ [x: string]: unknown;
19558
+ }, 503, "application/json">>>;
19400
19559
  /** List mail settings of a Project. */
19401
19560
  listProjectMailSettings: (request: {
19402
19561
  projectId: string;
@@ -19800,103 +19959,6 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
19800
19959
  }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
19801
19960
  [x: string]: unknown;
19802
19961
  }, 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
19962
  };
19901
19963
  /** The notification API allows you to manage your notifications. */
19902
19964
  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,5 @@ 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">>;
882
+ /** Return the AI Hosting Contract for the given Customer. */
883
+ export declare const contractGetDetailOfContractByAiHosting: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdAiHostingContract.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdAiHostingContract.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdAiHostingContract.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdAiHostingContract.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdAiHostingContract.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdAiHostingContract.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdAiHostingContract.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdAiHostingContract.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,9 +1754,9 @@ 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>;
1757
+ namespace ContractGetDetailOfContractByAiHosting {
1758
+ type RequestData = InferredRequestData<typeof descriptors.contractGetDetailOfContractByAiHosting>;
1759
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.contractGetDetailOfContractByAiHosting, TStatus>;
1756
1760
  }
1757
1761
  }
1758
1762
  namespace Components {
@@ -20888,6 +20892,83 @@ export declare namespace MittwaldAPIV2 {
20888
20892
  }
20889
20893
  }
20890
20894
  }
20895
+ namespace V2MailAddresses {
20896
+ namespace Get {
20897
+ namespace Parameters {
20898
+ type Path = {};
20899
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
20900
+ type Query = {
20901
+ projectId?: string;
20902
+ search?: string;
20903
+ forwardAddress?: boolean;
20904
+ catchAll?: boolean;
20905
+ autoResponder?: boolean;
20906
+ mailArchive?: boolean;
20907
+ limit?: number;
20908
+ skip?: number;
20909
+ page?: number;
20910
+ sort?: ("address.domain" | "address.local" | "updatedAt" | "projectId" | "mailbox.quota" | "mailbox.name" | "mailbox.storageInBytes.current" | "mailbox.storageInBytes.limit")[];
20911
+ order?: ("asc" | "desc")[];
20912
+ };
20913
+ }
20914
+ namespace Responses {
20915
+ namespace $200 {
20916
+ namespace Content {
20917
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.MailMailAddress[];
20918
+ }
20919
+ }
20920
+ namespace $400 {
20921
+ namespace Content {
20922
+ interface ApplicationJson {
20923
+ [k: string]: unknown;
20924
+ }
20925
+ }
20926
+ }
20927
+ namespace $403 {
20928
+ namespace Content {
20929
+ interface ApplicationJson {
20930
+ [k: string]: unknown;
20931
+ }
20932
+ }
20933
+ }
20934
+ namespace $404 {
20935
+ namespace Content {
20936
+ interface ApplicationJson {
20937
+ [k: string]: unknown;
20938
+ }
20939
+ }
20940
+ }
20941
+ namespace $429 {
20942
+ namespace Content {
20943
+ interface ApplicationJson {
20944
+ [k: string]: unknown;
20945
+ }
20946
+ }
20947
+ }
20948
+ namespace $500 {
20949
+ namespace Content {
20950
+ interface ApplicationJson {
20951
+ [k: string]: unknown;
20952
+ }
20953
+ }
20954
+ }
20955
+ namespace $503 {
20956
+ namespace Content {
20957
+ interface ApplicationJson {
20958
+ [k: string]: unknown;
20959
+ }
20960
+ }
20961
+ }
20962
+ namespace Default {
20963
+ namespace Content {
20964
+ interface ApplicationJson {
20965
+ [k: string]: unknown;
20966
+ }
20967
+ }
20968
+ }
20969
+ }
20970
+ }
20971
+ }
20891
20972
  namespace V2ProjectsProjectIdMailsettings { }
20892
20973
  namespace V2ProjectsProjectIdMailSettings {
20893
20974
  namespace Get {
@@ -27894,29 +27975,19 @@ export declare namespace MittwaldAPIV2 {
27894
27975
  }
27895
27976
  }
27896
27977
  }
27897
- namespace V2MailAddresses {
27978
+ namespace V2CustomersCustomerIdAiHostingContract {
27898
27979
  namespace Get {
27899
27980
  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")[];
27981
+ type Path = {
27982
+ customerId: string;
27914
27983
  };
27984
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
27985
+ type Query = {};
27915
27986
  }
27916
27987
  namespace Responses {
27917
27988
  namespace $200 {
27918
27989
  namespace Content {
27919
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.MailMailAddress[];
27990
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.ContractContract;
27920
27991
  }
27921
27992
  }
27922
27993
  namespace $400 {
@@ -27926,13 +27997,6 @@ export declare namespace MittwaldAPIV2 {
27926
27997
  }
27927
27998
  }
27928
27999
  }
27929
- namespace $403 {
27930
- namespace Content {
27931
- interface ApplicationJson {
27932
- [k: string]: unknown;
27933
- }
27934
- }
27935
- }
27936
28000
  namespace $404 {
27937
28001
  namespace Content {
27938
28002
  interface ApplicationJson {
@@ -27947,20 +28011,6 @@ export declare namespace MittwaldAPIV2 {
27947
28011
  }
27948
28012
  }
27949
28013
  }
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
28014
  namespace Default {
27965
28015
  namespace Content {
27966
28016
  interface ApplicationJson {
@@ -1 +1 @@
1
- export declare const MittwaldAPIClientVersion = '4.273.0';
1
+ export declare const MittwaldAPIClientVersion = '4.275.0';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mittwald/api-client",
3
- "version": "4.274.0",
3
+ "version": "4.276.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.274.0",
49
+ "@mittwald/api-client-commons": "^4.276.0",
50
50
  "browser-or-node": "^3.0.0"
51
51
  },
52
52
  "devDependencies": {
53
- "@mittwald/api-code-generator": "^4.274.0",
53
+ "@mittwald/api-code-generator": "^4.276.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": "6e7c997b4311eea70b782a0b52bd359ffe9997f3"
83
+ "gitHead": "cb04ba04edecb918f3b680c9d3f452499b1e671a"
84
84
  }