@mittwald/api-client 4.304.0 → 4.306.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.
@@ -104,6 +104,8 @@ const buildContractApi = (baseClient) => ({
104
104
  getDetailOfContractByDomain: new ApiCallAsyncResourceFactory(descriptors.contractGetDetailOfContractByDomain, baseClient.contract.getDetailOfContractByDomain).getApiResource,
105
105
  /** Return the Contract for the given LeadFyndrProfile. */
106
106
  getDetailOfContractByLeadFyndr: new ApiCallAsyncResourceFactory(descriptors.contractGetDetailOfContractByLeadFyndr, baseClient.contract.getDetailOfContractByLeadFyndr).getApiResource,
107
+ /** Return the Contract for the given License. */
108
+ getDetailOfContractByLicense: new ApiCallAsyncResourceFactory(descriptors.contractGetDetailOfContractByLicense, baseClient.contract.getDetailOfContractByLicense).getApiResource,
107
109
  /** Return the Contract for the given Mail Address. */
108
110
  getDetailOfContractByMailAddress: new ApiCallAsyncResourceFactory(descriptors.contractGetDetailOfContractByMailAddress, baseClient.contract.getDetailOfContractByMailAddress).getApiResource,
109
111
  /** Return the Contract for the given Project. */
@@ -197,6 +197,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
197
197
  getDetailOfContractByDomain: this.requestFunctionFactory(descriptors.contractGetDetailOfContractByDomain),
198
198
  /** Return the Contract for the given LeadFyndrProfile. */
199
199
  getDetailOfContractByLeadFyndr: this.requestFunctionFactory(descriptors.contractGetDetailOfContractByLeadFyndr),
200
+ /** Return the Contract for the given License. */
201
+ getDetailOfContractByLicense: this.requestFunctionFactory(descriptors.contractGetDetailOfContractByLicense),
200
202
  /** Return the Contract for the given Mail Address. */
201
203
  getDetailOfContractByMailAddress: this.requestFunctionFactory(descriptors.contractGetDetailOfContractByMailAddress),
202
204
  /** Return the Contract for the given Project. */
@@ -526,6 +526,12 @@ export const contractGetDetailOfContractByLeadFyndr = {
526
526
  method: "GET",
527
527
  operationId: "contract-get-detail-of-contract-by-lead-fyndr",
528
528
  };
529
+ /** Return the Contract for the given License. */
530
+ export const contractGetDetailOfContractByLicense = {
531
+ path: "/v2/licenses/{licenseId}/contract",
532
+ method: "GET",
533
+ operationId: "contract-get-detail-of-contract-by-license",
534
+ };
529
535
  /** Return the Contract for the given Mail Address. */
530
536
  export const contractGetDetailOfContractByMailAddress = {
531
537
  path: "/v2/mail-addresses/{mailAddressId}/contract",
@@ -1 +1 @@
1
- export const MittwaldAPIClientVersion = '4.303.0';
1
+ export const MittwaldAPIClientVersion = '4.305.0';
@@ -764,6 +764,21 @@ declare const buildContractApi: (baseClient: MittwaldAPIV2Client) => {
764
764
  customerId: string;
765
765
  termination?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContractTermination | undefined;
766
766
  }>;
767
+ /** Return the Contract for the given License. */
768
+ getDetailOfContractByLicense: (conf: {
769
+ licenseId: string;
770
+ headers?: {
771
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
772
+ "x-access-token"?: string | undefined;
773
+ } | undefined;
774
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
775
+ additionalItems?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContractContractItem[] | undefined;
776
+ baseItem: import("./types.js").MittwaldAPIV2.Components.Schemas.ContractContractItem;
777
+ contractId: string;
778
+ contractNumber: string;
779
+ customerId: string;
780
+ termination?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContractTermination | undefined;
781
+ }>;
767
782
  /** Return the Contract for the given Mail Address. */
768
783
  getDetailOfContractByMailAddress: (conf: {
769
784
  mailAddressId: string;
@@ -5945,6 +5945,68 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
5945
5945
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
5946
5946
  [x: string]: unknown;
5947
5947
  }, 429, "application/json">>>;
5948
+ /** Return the Contract for the given License. */
5949
+ getDetailOfContractByLicense: (request: {
5950
+ licenseId: string;
5951
+ headers?: {
5952
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
5953
+ "x-access-token"?: string | undefined;
5954
+ } | undefined;
5955
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
5956
+ headers?: Partial<{
5957
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5958
+ }>;
5959
+ } & {
5960
+ pathParameters: {
5961
+ licenseId: string;
5962
+ };
5963
+ } & {
5964
+ headers: {
5965
+ "x-access-token"?: string | undefined;
5966
+ } & Partial<{
5967
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5968
+ }>;
5969
+ }, import("@mittwald/api-client-commons").Response<{
5970
+ additionalItems?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContractContractItem[] | undefined;
5971
+ baseItem: import("./types.js").MittwaldAPIV2.Components.Schemas.ContractContractItem;
5972
+ contractId: string;
5973
+ contractNumber: string;
5974
+ customerId: string;
5975
+ termination?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContractTermination | undefined;
5976
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
5977
+ [x: string]: unknown;
5978
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
5979
+ [x: string]: unknown;
5980
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
5981
+ [x: string]: unknown;
5982
+ }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
5983
+ headers?: Partial<{
5984
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5985
+ }>;
5986
+ } & {
5987
+ pathParameters: {
5988
+ licenseId: string;
5989
+ };
5990
+ } & {
5991
+ headers: {
5992
+ "x-access-token"?: string | undefined;
5993
+ } & Partial<{
5994
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5995
+ }>;
5996
+ }, import("@mittwald/api-client-commons").Response<{
5997
+ additionalItems?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContractContractItem[] | undefined;
5998
+ baseItem: import("./types.js").MittwaldAPIV2.Components.Schemas.ContractContractItem;
5999
+ contractId: string;
6000
+ contractNumber: string;
6001
+ customerId: string;
6002
+ termination?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContractTermination | undefined;
6003
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
6004
+ [x: string]: unknown;
6005
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
6006
+ [x: string]: unknown;
6007
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
6008
+ [x: string]: unknown;
6009
+ }, 429, "application/json">>>;
5948
6010
  /** Return the Contract for the given Mail Address. */
5949
6011
  getDetailOfContractByMailAddress: (request: {
5950
6012
  mailAddressId: string;
@@ -17994,6 +18056,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
17994
18056
  updateDomainContact: (request: {
17995
18057
  data: {
17996
18058
  contact: [import("./types.js").MittwaldAPIV2.Components.Schemas.DomainHandleField, ...import("./types.js").MittwaldAPIV2.Components.Schemas.DomainHandleField[]];
18059
+ avoidEmailConfirmation?: boolean | undefined;
17997
18060
  };
17998
18061
  domainId: string;
17999
18062
  contact: "owner";
@@ -18003,6 +18066,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
18003
18066
  } | undefined;
18004
18067
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
18005
18068
  data: {
18069
+ avoidEmailConfirmation?: boolean | undefined;
18006
18070
  contact: [import("./types.js").MittwaldAPIV2.Components.Schemas.DomainHandleField, ...import("./types.js").MittwaldAPIV2.Components.Schemas.DomainHandleField[]];
18007
18071
  };
18008
18072
  } & {
@@ -18030,6 +18094,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
18030
18094
  [x: string]: unknown;
18031
18095
  }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
18032
18096
  data: {
18097
+ avoidEmailConfirmation?: boolean | undefined;
18033
18098
  contact: [import("./types.js").MittwaldAPIV2.Components.Schemas.DomainHandleField, ...import("./types.js").MittwaldAPIV2.Components.Schemas.DomainHandleField[]];
18034
18099
  };
18035
18100
  } & {
@@ -179,6 +179,8 @@ export declare const contractGetDetailOfContractByCertificate: OpenAPIOperation<
179
179
  export declare const contractGetDetailOfContractByDomain: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2DomainsDomainIdContract.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2DomainsDomainIdContract.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2DomainsDomainIdContract.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2DomainsDomainIdContract.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2DomainsDomainIdContract.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2DomainsDomainIdContract.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2DomainsDomainIdContract.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2DomainsDomainIdContract.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
180
180
  /** Return the Contract for the given LeadFyndrProfile. */
181
181
  export declare const contractGetDetailOfContractByLeadFyndr: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdLeadFyndrProfileContract.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdLeadFyndrProfileContract.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdLeadFyndrProfileContract.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdLeadFyndrProfileContract.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdLeadFyndrProfileContract.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdLeadFyndrProfileContract.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdLeadFyndrProfileContract.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdLeadFyndrProfileContract.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
182
+ /** Return the Contract for the given License. */
183
+ export declare const contractGetDetailOfContractByLicense: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2LicensesLicenseIdContract.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2LicensesLicenseIdContract.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2LicensesLicenseIdContract.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2LicensesLicenseIdContract.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2LicensesLicenseIdContract.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2LicensesLicenseIdContract.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2LicensesLicenseIdContract.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2LicensesLicenseIdContract.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
182
184
  /** Return the Contract for the given Mail Address. */
183
185
  export declare const contractGetDetailOfContractByMailAddress: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdContract.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdContract.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdContract.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdContract.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdContract.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdContract.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdContract.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdContract.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
184
186
  /** Return the Contract for the given Project. */
@@ -354,6 +354,10 @@ export declare namespace MittwaldAPIV2 {
354
354
  type RequestData = InferredRequestData<typeof descriptors.contractGetDetailOfContractByLeadFyndr>;
355
355
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.contractGetDetailOfContractByLeadFyndr, TStatus>;
356
356
  }
357
+ namespace ContractGetDetailOfContractByLicense {
358
+ type RequestData = InferredRequestData<typeof descriptors.contractGetDetailOfContractByLicense>;
359
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.contractGetDetailOfContractByLicense, TStatus>;
360
+ }
357
361
  namespace ContractGetDetailOfContractByMailAddress {
358
362
  type RequestData = InferredRequestData<typeof descriptors.contractGetDetailOfContractByMailAddress>;
359
363
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.contractGetDetailOfContractByMailAddress, TStatus>;
@@ -5806,11 +5810,11 @@ export declare namespace MittwaldAPIV2 {
5806
5810
  result: MittwaldAPIV2.Components.Schemas.VerificationEmailOrigin;
5807
5811
  }
5808
5812
  type VerificationEmailOrigin = "IS_MITTWALD" | "IS_NOT_MITTWALD" | "COULD_BE_MITTWALD";
5809
- type ContainerVolumeSortOrder = "nameAsc" | "nameDesc" | "storageAsc" | "storageDesc";
5813
+ type VerificationVerifyAddressConfidence = "EXISTS" | "UNSURE" | "NON_EXISTENT";
5810
5814
  interface VerificationVerifyAddressResponse {
5811
5815
  exists: boolean;
5812
5816
  }
5813
- type VerificationVerifyAddressConfidence = "EXISTS" | "UNSURE" | "NON_EXISTENT";
5817
+ type ContainerVolumeSortOrder = "nameAsc" | "nameDesc" | "storageAsc" | "storageDesc";
5814
5818
  interface CommonsAddress {
5815
5819
  street: string;
5816
5820
  houseNumber: string;
@@ -10726,6 +10730,52 @@ export declare namespace MittwaldAPIV2 {
10726
10730
  }
10727
10731
  }
10728
10732
  }
10733
+ namespace V2LicensesLicenseIdContract {
10734
+ namespace Get {
10735
+ namespace Parameters {
10736
+ type Path = {
10737
+ licenseId: string;
10738
+ };
10739
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
10740
+ type Query = {};
10741
+ }
10742
+ namespace Responses {
10743
+ namespace $200 {
10744
+ namespace Content {
10745
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.ContractContract;
10746
+ }
10747
+ }
10748
+ namespace $400 {
10749
+ namespace Content {
10750
+ interface ApplicationJson {
10751
+ [k: string]: unknown;
10752
+ }
10753
+ }
10754
+ }
10755
+ namespace $404 {
10756
+ namespace Content {
10757
+ interface ApplicationJson {
10758
+ [k: string]: unknown;
10759
+ }
10760
+ }
10761
+ }
10762
+ namespace $429 {
10763
+ namespace Content {
10764
+ interface ApplicationJson {
10765
+ [k: string]: unknown;
10766
+ }
10767
+ }
10768
+ }
10769
+ namespace Default {
10770
+ namespace Content {
10771
+ interface ApplicationJson {
10772
+ [k: string]: unknown;
10773
+ }
10774
+ }
10775
+ }
10776
+ }
10777
+ }
10778
+ }
10729
10779
  namespace V2MailAddressesMailAddressIdContract {
10730
10780
  namespace Get {
10731
10781
  namespace Parameters {
@@ -15439,7 +15489,6 @@ export declare namespace MittwaldAPIV2 {
15439
15489
  }
15440
15490
  namespace V2AppinstallationsAppInstallationIdDatabases { }
15441
15491
  namespace V2ContractsContractIdItemsContractItemIdNextTerminationDates { }
15442
- namespace V2CronjobsCronjobIdExecutionsExecutionIdActionsAbort { }
15443
15492
  namespace V2CustomerCustomerIdActionsLeave { }
15444
15493
  namespace V2CustomersCustomerIdActionsLeave { }
15445
15494
  namespace V2DnsZonesZoneIdRecordsetAcombinedCustom { }
@@ -17167,6 +17216,10 @@ export declare namespace MittwaldAPIV2 {
17167
17216
  contact: "owner";
17168
17217
  };
17169
17218
  interface RequestBody {
17219
+ /**
17220
+ * Whether to avoid the email confirmation if possible. If set to true, a transfer lock of 60 days might be applied to the domain.
17221
+ */
17222
+ avoidEmailConfirmation?: boolean;
17170
17223
  /**
17171
17224
  * @minItems 1
17172
17225
  */
@@ -1 +1 @@
1
- export declare const MittwaldAPIClientVersion = '4.303.0';
1
+ export declare const MittwaldAPIClientVersion = '4.305.0';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mittwald/api-client",
3
- "version": "4.304.0",
3
+ "version": "4.306.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.304.0",
49
+ "@mittwald/api-client-commons": "^4.306.0",
50
50
  "browser-or-node": "^3.0.0"
51
51
  },
52
52
  "devDependencies": {
53
- "@mittwald/api-code-generator": "^4.304.0",
53
+ "@mittwald/api-code-generator": "^4.306.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": "8a30e7af88e936384954b3b7ccffe7257efefa8b"
83
+ "gitHead": "bb410c17fe39c31dffa1c513baa163bd8236f4e7"
84
84
  }