@mittwald/api-client 3.0.23 → 3.0.24

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.
@@ -306,6 +306,7 @@ declare const buildContractApi: (baseClient: MittwaldAPIV2Client) => {
306
306
  articles: import("./types.js").MittwaldAPIV2.Components.Schemas.ContractArticle[];
307
307
  contractPeriod: number;
308
308
  description: string;
309
+ freeTrialDays: number;
309
310
  groupByProjectId?: string | undefined;
310
311
  invoicingPeriod: number;
311
312
  isActivated: boolean;
@@ -391,6 +392,7 @@ declare const buildContractApi: (baseClient: MittwaldAPIV2Client) => {
391
392
  articles: import("./types.js").MittwaldAPIV2.Components.Schemas.ContractArticle[];
392
393
  contractPeriod: number;
393
394
  description: string;
395
+ freeTrialDays: number;
394
396
  groupByProjectId?: string | undefined;
395
397
  invoicingPeriod: number;
396
398
  isActivated: boolean;
@@ -1078,7 +1080,20 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
1078
1080
  }) => import("@mittwald/react-use-promise/types").AsyncResource<{
1079
1081
  references?: string[] | undefined;
1080
1082
  }>;
1081
- /** List all domain ownerships of a project. */
1083
+ /** Get a DomainOwnership. */
1084
+ getDomainOwnership: (conf: {
1085
+ domainOwnershipId: string;
1086
+ headers?: {
1087
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1088
+ "x-access-token"?: string | undefined;
1089
+ } | undefined;
1090
+ }) => import("@mittwald/react-use-promise/types").AsyncResource<{
1091
+ domain: string;
1092
+ id: string;
1093
+ projectId: string;
1094
+ txtRecord: string;
1095
+ }>;
1096
+ /** List the DomainOwnerships of a project. */
1082
1097
  listDomainOwnerships: (conf: {
1083
1098
  projectId: string;
1084
1099
  headers?: {
@@ -1100,19 +1115,6 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
1100
1115
  domainSearchName?: string | undefined;
1101
1116
  } | undefined;
1102
1117
  }) => import("@mittwald/react-use-promise/types").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.DomainDomain[]>;
1103
- /** Get a domain ownership. */
1104
- getSpecificDomainOwnership: (conf: {
1105
- domainOwnershipId: string;
1106
- headers?: {
1107
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1108
- "x-access-token"?: string | undefined;
1109
- } | undefined;
1110
- }) => import("@mittwald/react-use-promise/types").AsyncResource<{
1111
- domain: string;
1112
- id: string;
1113
- projectId: string;
1114
- txtRecord: string;
1115
- }>;
1116
1118
  /** Get an Ingress. */
1117
1119
  ingressGetSpecific: (conf: {
1118
1120
  ingressId: string;
@@ -1148,9 +1150,15 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
1148
1150
  "x-access-token"?: string | undefined;
1149
1151
  } | undefined;
1150
1152
  }) => import("@mittwald/react-use-promise/types").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.IngressIngress[]>;
1151
- /** Get a HandleSchema. */
1152
- getHandleFields: (conf: {
1153
- domainName: string;
1153
+ /** List TLDs. */
1154
+ listTlds: (conf?: {
1155
+ headers?: {
1156
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1157
+ } | undefined;
1158
+ } | null | undefined) => import("@mittwald/react-use-promise/types").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.DomainTopLevel[]>;
1159
+ /** List the contact schemas for a TLD. */
1160
+ listTldContactSchemas: (conf: {
1161
+ tld: string;
1154
1162
  headers?: {
1155
1163
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1156
1164
  } | undefined;
@@ -1158,12 +1166,6 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
1158
1166
  jsonSchemaAdminC?: {} | undefined;
1159
1167
  jsonSchemaOwnerC: {};
1160
1168
  }>;
1161
- /** List all supported top level domains. */
1162
- getSupportedTlds: (conf?: {
1163
- headers?: {
1164
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1165
- } | undefined;
1166
- } | null | undefined) => import("@mittwald/react-use-promise/types").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.DomainTopLevel[]>;
1167
1169
  };
1168
1170
  declare const buildFileApi: (baseClient: MittwaldAPIV2Client) => {
1169
1171
  /** Get a File's meta. */
@@ -154,22 +154,22 @@ const buildDomainApi = (baseClient) => ({
154
154
  getDomain: new ApiCallAsyncResourceFactory(descriptors.domainGetDomain, baseClient.domain.getDomain).getApiResource,
155
155
  /** Get File Service Reference for a Screenshot of a domain. */
156
156
  getScreenshotForDomain: new ApiCallAsyncResourceFactory(descriptors.domainGetScreenshotForDomain, baseClient.domain.getScreenshotForDomain).getApiResource,
157
- /** List all domain ownerships of a project. */
157
+ /** Get a DomainOwnership. */
158
+ getDomainOwnership: new ApiCallAsyncResourceFactory(descriptors.domainGetDomainOwnership, baseClient.domain.getDomainOwnership).getApiResource,
159
+ /** List the DomainOwnerships of a project. */
158
160
  listDomainOwnerships: new ApiCallAsyncResourceFactory(descriptors.domainListDomainOwnerships, baseClient.domain.listDomainOwnerships).getApiResource,
159
161
  /** List Domains belonging to a Project. */
160
162
  listDomains: new ApiCallAsyncResourceFactory(descriptors.domainListDomains, baseClient.domain.listDomains).getApiResource,
161
- /** Get a domain ownership. */
162
- getSpecificDomainOwnership: new ApiCallAsyncResourceFactory(descriptors.domainGetSpecificDomainOwnership, baseClient.domain.getSpecificDomainOwnership).getApiResource,
163
163
  /** Get an Ingress. */
164
164
  ingressGetSpecific: new ApiCallAsyncResourceFactory(descriptors.ingressGetSpecific, baseClient.domain.ingressGetSpecific).getApiResource,
165
165
  /** List Ingresses the user has access to. */
166
166
  ingressListAccessible: new ApiCallAsyncResourceFactory(descriptors.ingressListAccessible, baseClient.domain.ingressListAccessible).getApiResource,
167
167
  /** List Ingresses belonging to a project. */
168
168
  ingressListForProject: new ApiCallAsyncResourceFactory(descriptors.ingressListForProject, baseClient.domain.ingressListForProject).getApiResource,
169
- /** Get a HandleSchema. */
170
- getHandleFields: new ApiCallAsyncResourceFactory(descriptors.domainGetHandleFields, baseClient.domain.getHandleFields).getApiResource,
171
- /** List all supported top level domains. */
172
- getSupportedTlds: new ApiCallAsyncResourceFactory(descriptors.domainGetSupportedTlds, baseClient.domain.getSupportedTlds).getApiResource,
169
+ /** List TLDs. */
170
+ listTlds: new ApiCallAsyncResourceFactory(descriptors.domainListTlds, baseClient.domain.listTlds).getApiResource,
171
+ /** List the contact schemas for a TLD. */
172
+ listTldContactSchemas: new ApiCallAsyncResourceFactory(descriptors.domainListTldContactSchemas, baseClient.domain.listTldContactSchemas).getApiResource,
173
173
  });
174
174
  const buildFileApi = (baseClient) => ({
175
175
  /** Get a File's meta. */
@@ -1346,6 +1346,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
1346
1346
  articles: import("./types.js").MittwaldAPIV2.Components.Schemas.ContractArticle[];
1347
1347
  contractPeriod: number;
1348
1348
  description: string;
1349
+ freeTrialDays: number;
1349
1350
  groupByProjectId?: string | undefined;
1350
1351
  invoicingPeriod: number;
1351
1352
  isActivated: boolean;
@@ -1504,6 +1505,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
1504
1505
  articles: import("./types.js").MittwaldAPIV2.Components.Schemas.ContractArticle[];
1505
1506
  contractPeriod: number;
1506
1507
  description: string;
1508
+ freeTrialDays: number;
1507
1509
  groupByProjectId?: string | undefined;
1508
1510
  invoicingPeriod: number;
1509
1511
  isActivated: boolean;
@@ -5174,6 +5176,39 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
5174
5176
  }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.DnsZone[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
5175
5177
  [x: string]: unknown;
5176
5178
  }, 400, "application/json">>>;
5179
+ /** Update the nameservers of a Domain. */
5180
+ updateDomainNameservers: (request: {
5181
+ domainId: string;
5182
+ data?: {
5183
+ nameservers?: [string, string, ...string[]] | undefined;
5184
+ } | undefined;
5185
+ headers?: {
5186
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
5187
+ "x-access-token"?: string | undefined;
5188
+ } | undefined;
5189
+ }) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
5190
+ data: {
5191
+ nameservers?: [string, string, ...string[]] | undefined;
5192
+ };
5193
+ } & {
5194
+ pathParameters: {
5195
+ domainId: string;
5196
+ };
5197
+ } & {
5198
+ headers?: Partial<{
5199
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5200
+ }> | undefined;
5201
+ } & {
5202
+ headers: {
5203
+ "x-access-token"?: string | undefined;
5204
+ } & Partial<{
5205
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5206
+ }>;
5207
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
5208
+ [x: string]: unknown;
5209
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
5210
+ [x: string]: unknown;
5211
+ }, 404, "application/json">>>;
5177
5212
  /** Get a Domain. */
5178
5213
  getDomain: (request: {
5179
5214
  domainId: string;
@@ -5287,7 +5322,38 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
5287
5322
  }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
5288
5323
  [x: string]: unknown;
5289
5324
  }, 404, "application/json">>>;
5290
- /** List all domain ownerships of a project. */
5325
+ /** Get a DomainOwnership. */
5326
+ getDomainOwnership: (request: {
5327
+ domainOwnershipId: string;
5328
+ headers?: {
5329
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
5330
+ "x-access-token"?: string | undefined;
5331
+ } | undefined;
5332
+ }) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
5333
+ headers?: Partial<{
5334
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5335
+ }> | undefined;
5336
+ } & {
5337
+ pathParameters: {
5338
+ domainOwnershipId: string;
5339
+ };
5340
+ } & {
5341
+ headers: {
5342
+ "x-access-token"?: string | undefined;
5343
+ } & Partial<{
5344
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5345
+ }>;
5346
+ }, import("@mittwald/api-client-commons").Response<{
5347
+ domain: string;
5348
+ id: string;
5349
+ projectId: string;
5350
+ txtRecord: string;
5351
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
5352
+ [x: string]: unknown;
5353
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
5354
+ [x: string]: unknown;
5355
+ }, 404, "application/json">>>;
5356
+ /** List the DomainOwnerships of a project. */
5291
5357
  listDomainOwnerships: (request: {
5292
5358
  projectId: string;
5293
5359
  headers?: {
@@ -5349,7 +5415,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
5349
5415
  }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.DomainDomain[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
5350
5416
  [x: string]: unknown;
5351
5417
  }, 400, "application/json">>>;
5352
- /** Resend a domain email. */
5418
+ /** Resend a Domain email. */
5353
5419
  resendDomainEmail: (request: {
5354
5420
  domainId: string;
5355
5421
  data?: {
@@ -5382,38 +5448,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
5382
5448
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
5383
5449
  [x: string]: unknown;
5384
5450
  }, 404, "application/json">>>;
5385
- /** Get a domain ownership. */
5386
- getSpecificDomainOwnership: (request: {
5387
- domainOwnershipId: string;
5388
- headers?: {
5389
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
5390
- "x-access-token"?: string | undefined;
5391
- } | undefined;
5392
- }) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
5393
- headers?: Partial<{
5394
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5395
- }> | undefined;
5396
- } & {
5397
- pathParameters: {
5398
- domainOwnershipId: string;
5399
- };
5400
- } & {
5401
- headers: {
5402
- "x-access-token"?: string | undefined;
5403
- } & Partial<{
5404
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5405
- }>;
5406
- }, import("@mittwald/api-client-commons").Response<{
5407
- domain: string;
5408
- id: string;
5409
- projectId: string;
5410
- txtRecord: string;
5411
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
5412
- [x: string]: unknown;
5413
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
5414
- [x: string]: unknown;
5415
- }, 404, "application/json">>>;
5416
- /** Verify a domain ownership. */
5451
+ /** Verify a DomainOwnership. */
5417
5452
  verifyDomainOwnership: (request: {
5418
5453
  domainOwnershipId: string;
5419
5454
  data?: {
@@ -5678,8 +5713,8 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
5678
5713
  }, import("@mittwald/api-client-commons").Response<{}, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
5679
5714
  [x: string]: unknown;
5680
5715
  }, 404, "application/json">>>;
5681
- /** Abort a declare process. */
5682
- abortDeclareProcess: (request: {
5716
+ /** Abort a Domain declaration. */
5717
+ abortDomainDeclaration: (request: {
5683
5718
  domainId: string;
5684
5719
  headers?: {
5685
5720
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
@@ -5704,26 +5739,8 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
5704
5739
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
5705
5740
  [x: string]: unknown;
5706
5741
  }, 404, "application/json">>>;
5707
- /** Get a HandleSchema. */
5708
- getHandleFields: (request: {
5709
- domainName: string;
5710
- headers?: {
5711
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
5712
- } | undefined;
5713
- }) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
5714
- headers?: Partial<{
5715
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5716
- }> | undefined;
5717
- } & {
5718
- pathParameters: {
5719
- domainName: string;
5720
- };
5721
- }, import("@mittwald/api-client-commons").Response<{
5722
- jsonSchemaAdminC?: {} | undefined;
5723
- jsonSchemaOwnerC: {};
5724
- }, 200, "application/json">>>;
5725
- /** List all supported top level domains. */
5726
- getSupportedTlds: (request?: {
5742
+ /** List TLDs. */
5743
+ listTlds: (request?: {
5727
5744
  headers?: {
5728
5745
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
5729
5746
  } | undefined;
@@ -5732,75 +5749,37 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
5732
5749
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5733
5750
  }> | undefined;
5734
5751
  }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.DomainTopLevel[], 200, "application/json">>>;
5735
- /** Check if a Domain is available to register. */
5736
- checkDomainAvailability: (request: {
5737
- data: {
5738
- domain: string;
5739
- };
5752
+ /** List the contact schemas for a TLD. */
5753
+ listTldContactSchemas: (request: {
5754
+ tld: string;
5740
5755
  headers?: {
5741
5756
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
5742
5757
  } | undefined;
5743
5758
  }) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
5744
- data: {
5745
- domain: string;
5746
- };
5747
- } & {
5748
5759
  headers?: Partial<{
5749
5760
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5750
5761
  }> | undefined;
5751
- }, import("@mittwald/api-client-commons").Response<{
5752
- available: boolean;
5753
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
5754
- [x: string]: unknown;
5755
- }, 400, "application/json">>>;
5756
- /** Create an AuthCode for a Domains transfer out process. */
5757
- createAuthcodeForDomain: (request: {
5758
- domainId: string;
5759
- data?: {
5760
- [x: string]: unknown;
5761
- } | undefined;
5762
- headers?: {
5763
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
5764
- "x-access-token"?: string | undefined;
5765
- } | undefined;
5766
- }) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
5767
- data: {
5768
- [x: string]: unknown;
5769
- };
5770
5762
  } & {
5771
5763
  pathParameters: {
5772
- domainId: string;
5764
+ tld: string;
5773
5765
  };
5774
- } & {
5775
- headers?: Partial<{
5776
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5777
- }> | undefined;
5778
- } & {
5779
- headers: {
5780
- "x-access-token"?: string | undefined;
5781
- } & Partial<{
5782
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5783
- }>;
5784
5766
  }, import("@mittwald/api-client-commons").Response<{
5785
- authCode: string;
5786
- }, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
5787
- [x: string]: unknown;
5788
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
5789
- [x: string]: unknown;
5790
- }, 404, "application/json">>>;
5791
- /** Create an AuthCode2. */
5792
- createAuthcode2ForDomain: (request: {
5767
+ jsonSchemaAdminC?: {} | undefined;
5768
+ jsonSchemaOwnerC: {};
5769
+ }, 200, "application/json">>>;
5770
+ /** Update the auth code of a Domain. */
5771
+ updateDomainAuthCode: (request: {
5772
+ data: {
5773
+ authCode: string;
5774
+ };
5793
5775
  domainId: string;
5794
- data?: {
5795
- [x: string]: unknown;
5796
- } | undefined;
5797
5776
  headers?: {
5798
5777
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
5799
5778
  "x-access-token"?: string | undefined;
5800
5779
  } | undefined;
5801
5780
  }) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
5802
5781
  data: {
5803
- [x: string]: unknown;
5782
+ authCode: string;
5804
5783
  };
5805
5784
  } & {
5806
5785
  pathParameters: {
@@ -5816,28 +5795,32 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
5816
5795
  } & Partial<{
5817
5796
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5818
5797
  }>;
5819
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
5798
+ }, import("@mittwald/api-client-commons").Response<{
5799
+ [x: string]: unknown;
5800
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
5820
5801
  [x: string]: unknown;
5821
5802
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
5822
5803
  [x: string]: unknown;
5823
5804
  }, 404, "application/json">>>;
5824
- /** Update an AuthCode. */
5825
- declareProcessChangeAuthcode: (request: {
5805
+ /** Update a contact of a Domain. */
5806
+ updateDomainContact: (request: {
5826
5807
  data: {
5827
- authCode: string;
5808
+ contact: [import("./types.js").MittwaldAPIV2.Components.Schemas.DomainHandleField, ...import("./types.js").MittwaldAPIV2.Components.Schemas.DomainHandleField[]];
5828
5809
  };
5829
5810
  domainId: string;
5811
+ contact: "owner";
5830
5812
  headers?: {
5831
5813
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
5832
5814
  "x-access-token"?: string | undefined;
5833
5815
  } | undefined;
5834
5816
  }) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
5835
5817
  data: {
5836
- authCode: string;
5818
+ contact: [import("./types.js").MittwaldAPIV2.Components.Schemas.DomainHandleField, ...import("./types.js").MittwaldAPIV2.Components.Schemas.DomainHandleField[]];
5837
5819
  };
5838
5820
  } & {
5839
5821
  pathParameters: {
5840
5822
  domainId: string;
5823
+ contact: "owner";
5841
5824
  };
5842
5825
  } & {
5843
5826
  headers?: Partial<{
@@ -5856,19 +5839,19 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
5856
5839
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
5857
5840
  [x: string]: unknown;
5858
5841
  }, 404, "application/json">>>;
5859
- /** Update a Domain's OwnerC handle. */
5860
- declareProcessChangeHandles: (request: {
5861
- data: {
5862
- ownerC: [import("./types.js").MittwaldAPIV2.Components.Schemas.DomainHandleField, ...import("./types.js").MittwaldAPIV2.Components.Schemas.DomainHandleField[]];
5863
- };
5842
+ /** Update a Domain's project id. */
5843
+ updateDomainProjectId: (request: {
5864
5844
  domainId: string;
5845
+ data?: {
5846
+ projectId?: string | undefined;
5847
+ } | undefined;
5865
5848
  headers?: {
5866
5849
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
5867
5850
  "x-access-token"?: string | undefined;
5868
5851
  } | undefined;
5869
5852
  }) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
5870
5853
  data: {
5871
- ownerC: [import("./types.js").MittwaldAPIV2.Components.Schemas.DomainHandleField, ...import("./types.js").MittwaldAPIV2.Components.Schemas.DomainHandleField[]];
5854
+ projectId?: string | undefined;
5872
5855
  };
5873
5856
  } & {
5874
5857
  pathParameters: {
@@ -5884,26 +5867,24 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
5884
5867
  } & Partial<{
5885
5868
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5886
5869
  }>;
5887
- }, import("@mittwald/api-client-commons").Response<{
5888
- [x: string]: unknown;
5889
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
5870
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
5890
5871
  [x: string]: unknown;
5891
5872
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
5892
5873
  [x: string]: unknown;
5893
5874
  }, 404, "application/json">>>;
5894
- /** Change the owner contact of a domain. */
5895
- changeOwnercOfDomain: (request: {
5896
- data: {
5897
- ownerC: [import("./types.js").MittwaldAPIV2.Components.Schemas.DomainHandleField, ...import("./types.js").MittwaldAPIV2.Components.Schemas.DomainHandleField[]];
5898
- };
5875
+ /** Create an auth code for a Domains transfer-out process. */
5876
+ createDomainAuthCode: (request: {
5899
5877
  domainId: string;
5878
+ data?: {
5879
+ [x: string]: unknown;
5880
+ } | undefined;
5900
5881
  headers?: {
5901
5882
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
5902
5883
  "x-access-token"?: string | undefined;
5903
5884
  } | undefined;
5904
5885
  }) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
5905
5886
  data: {
5906
- ownerC: [import("./types.js").MittwaldAPIV2.Components.Schemas.DomainHandleField, ...import("./types.js").MittwaldAPIV2.Components.Schemas.DomainHandleField[]];
5887
+ [x: string]: unknown;
5907
5888
  };
5908
5889
  } & {
5909
5890
  pathParameters: {
@@ -5920,17 +5901,17 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
5920
5901
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5921
5902
  }>;
5922
5903
  }, import("@mittwald/api-client-commons").Response<{
5923
- [x: string]: unknown;
5924
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
5904
+ authCode: string;
5905
+ }, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
5925
5906
  [x: string]: unknown;
5926
5907
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
5927
5908
  [x: string]: unknown;
5928
5909
  }, 404, "application/json">>>;
5929
- /** Change the Project relation of a Domain. */
5930
- changeProjectOfDomain: (request: {
5910
+ /** Create an auth code 2. */
5911
+ createDomainAuthCode2: (request: {
5931
5912
  domainId: string;
5932
5913
  data?: {
5933
- projectId?: string | undefined;
5914
+ [x: string]: unknown;
5934
5915
  } | undefined;
5935
5916
  headers?: {
5936
5917
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
@@ -5938,7 +5919,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
5938
5919
  } | undefined;
5939
5920
  }) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
5940
5921
  data: {
5941
- projectId?: string | undefined;
5922
+ [x: string]: unknown;
5942
5923
  };
5943
5924
  } & {
5944
5925
  pathParameters: {
@@ -5959,39 +5940,48 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
5959
5940
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
5960
5941
  [x: string]: unknown;
5961
5942
  }, 404, "application/json">>>;
5962
- /** Change all nameservers of a Domain. */
5963
- declareNameservers: (request: {
5964
- domainId: string;
5965
- data?: {
5966
- nameservers?: [string, string, ...string[]] | undefined;
5967
- } | undefined;
5943
+ /** Check if a Domain is available to register. */
5944
+ checkDomainRegistrability: (request: {
5945
+ data: {
5946
+ domain: string;
5947
+ };
5968
5948
  headers?: {
5969
5949
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
5970
- "x-access-token"?: string | undefined;
5971
5950
  } | undefined;
5972
5951
  }) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
5973
5952
  data: {
5974
- nameservers?: [string, string, ...string[]] | undefined;
5975
- };
5976
- } & {
5977
- pathParameters: {
5978
- domainId: string;
5953
+ domain: string;
5979
5954
  };
5980
5955
  } & {
5981
5956
  headers?: Partial<{
5982
5957
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5983
5958
  }> | undefined;
5959
+ }, import("@mittwald/api-client-commons").Response<{
5960
+ registrable: boolean;
5961
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
5962
+ [x: string]: unknown;
5963
+ }, 400, "application/json">>>;
5964
+ /** Check if a Domain is available to register. */
5965
+ checkDomainRegistrabilityV2Deprecated: (request: {
5966
+ data: {
5967
+ domain: string;
5968
+ };
5969
+ headers?: {
5970
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
5971
+ } | undefined;
5972
+ }) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
5973
+ data: {
5974
+ domain: string;
5975
+ };
5984
5976
  } & {
5985
- headers: {
5986
- "x-access-token"?: string | undefined;
5987
- } & Partial<{
5977
+ headers?: Partial<{
5988
5978
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5989
- }>;
5990
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
5991
- [x: string]: unknown;
5992
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
5979
+ }> | undefined;
5980
+ }, import("@mittwald/api-client-commons").Response<{
5981
+ available: boolean;
5982
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
5993
5983
  [x: string]: unknown;
5994
- }, 404, "application/json">>>;
5984
+ }, 400, "application/json">>>;
5995
5985
  };
5996
5986
  /** The file API allows you to manage your files, for example for conversations attachments and avatar uploads. */
5997
5987
  readonly file: {