@mittwald/api-client 0.0.0-development-daa7fa3-20260924 → 0.0.0-development-6fa6c8f-20260928
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.js +2 -2
- package/dist/esm/generated/v2/descriptors.js +2 -2
- package/dist/esm/generated/v3-next/client.js +2 -2
- package/dist/esm/generated/v3-next/descriptors.js +2 -2
- package/dist/esm/version.js +1 -1
- package/dist/types/generated/v2/client.d.ts +5 -2
- package/dist/types/generated/v2/descriptors.d.ts +2 -2
- package/dist/types/generated/v2/types.d.ts +60 -1
- package/dist/types/generated/v3-next/client.d.ts +5 -2
- package/dist/types/generated/v3-next/descriptors.d.ts +2 -2
- package/dist/types/generated/v3-next/types.d.ts +60 -1
- package/dist/types/version.d.ts +1 -1
- package/package.json +4 -4
|
@@ -583,7 +583,7 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
583
583
|
dnsCreateDnsZoneFileImport: this.requestFunctionFactory(descriptors.dnsCreateDnsZoneFileImport),
|
|
584
584
|
/** List DNSZones belonging to a Project. */
|
|
585
585
|
dnsListDnsZones: this.requestFunctionFactory(descriptors.dnsListDnsZones),
|
|
586
|
-
/** Create a DNSZone for a
|
|
586
|
+
/** Create a DNSZone for a verified Ingress in a Project. */
|
|
587
587
|
dnsCreateProjectDnsZone: this.requestFunctionFactory(descriptors.dnsCreateProjectDnsZone),
|
|
588
588
|
/** Get a DNSZone. */
|
|
589
589
|
dnsGetDnsZone: this.requestFunctionFactory(descriptors.dnsGetDnsZone),
|
|
@@ -854,7 +854,7 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
854
854
|
logout: this.requestFunctionFactory(descriptors.userLogout),
|
|
855
855
|
/** Obtain authorization from the resource owner. */
|
|
856
856
|
oauthGetAuthorization: this.requestFunctionFactory(descriptors.userOauthGetAuthorization),
|
|
857
|
-
/** Retrieve
|
|
857
|
+
/** Retrieve an OAuth access token. */
|
|
858
858
|
oauthRetrieveAccessToken: this.requestFunctionFactory(descriptors.userOauthRetrieveAccessToken),
|
|
859
859
|
/** Register with email and password. */
|
|
860
860
|
register: this.requestFunctionFactory(descriptors.userRegister),
|
|
@@ -1306,7 +1306,7 @@ export const dnsListDnsZones = {
|
|
|
1306
1306
|
method: "GET",
|
|
1307
1307
|
operationId: "dns-list-dns-zones",
|
|
1308
1308
|
};
|
|
1309
|
-
/** Create a DNSZone for a
|
|
1309
|
+
/** Create a DNSZone for a verified Ingress in a Project. */
|
|
1310
1310
|
export const dnsCreateProjectDnsZone = {
|
|
1311
1311
|
path: "/v2/projects/{projectId}/dns-zones",
|
|
1312
1312
|
method: "POST",
|
|
@@ -2890,7 +2890,7 @@ export const userOauthGetAuthorization = {
|
|
|
2890
2890
|
method: "GET",
|
|
2891
2891
|
operationId: "user-oauth-get-authorization",
|
|
2892
2892
|
};
|
|
2893
|
-
/** Retrieve
|
|
2893
|
+
/** Retrieve an OAuth access token. */
|
|
2894
2894
|
export const userOauthRetrieveAccessToken = {
|
|
2895
2895
|
path: "/v2/oauth2/token",
|
|
2896
2896
|
method: "POST",
|
|
@@ -583,7 +583,7 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
583
583
|
dnsCreateDnsZoneFileImport: this.requestFunctionFactory(descriptors.dnsCreateDnsZoneFileImport),
|
|
584
584
|
/** List DNSZones belonging to a Project. */
|
|
585
585
|
dnsListDnsZones: this.requestFunctionFactory(descriptors.dnsListDnsZones),
|
|
586
|
-
/** Create a DNSZone for a
|
|
586
|
+
/** Create a DNSZone for a verified Ingress in a Project. */
|
|
587
587
|
dnsCreateProjectDnsZone: this.requestFunctionFactory(descriptors.dnsCreateProjectDnsZone),
|
|
588
588
|
/** Get a DNSZone. */
|
|
589
589
|
dnsGetDnsZone: this.requestFunctionFactory(descriptors.dnsGetDnsZone),
|
|
@@ -854,7 +854,7 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
854
854
|
logout: this.requestFunctionFactory(descriptors.userLogout),
|
|
855
855
|
/** Obtain authorization from the resource owner. */
|
|
856
856
|
oauthGetAuthorization: this.requestFunctionFactory(descriptors.userOauthGetAuthorization),
|
|
857
|
-
/** Retrieve
|
|
857
|
+
/** Retrieve an OAuth access token. */
|
|
858
858
|
oauthRetrieveAccessToken: this.requestFunctionFactory(descriptors.userOauthRetrieveAccessToken),
|
|
859
859
|
/** Register with email and password. */
|
|
860
860
|
register: this.requestFunctionFactory(descriptors.userRegister),
|
|
@@ -1306,7 +1306,7 @@ export const dnsListDnsZones = {
|
|
|
1306
1306
|
method: "GET",
|
|
1307
1307
|
operationId: "dns-list-dns-zones",
|
|
1308
1308
|
};
|
|
1309
|
-
/** Create a DNSZone for a
|
|
1309
|
+
/** Create a DNSZone for a verified Ingress in a Project. */
|
|
1310
1310
|
export const dnsCreateProjectDnsZone = {
|
|
1311
1311
|
path: "/v3-next/projects/{projectId}/dns-zones",
|
|
1312
1312
|
method: "POST",
|
|
@@ -2890,7 +2890,7 @@ export const userOauthGetAuthorization = {
|
|
|
2890
2890
|
method: "GET",
|
|
2891
2891
|
operationId: "user-oauth-get-authorization",
|
|
2892
2892
|
};
|
|
2893
|
-
/** Retrieve
|
|
2893
|
+
/** Retrieve an OAuth access token. */
|
|
2894
2894
|
export const userOauthRetrieveAccessToken = {
|
|
2895
2895
|
path: "/v3-next/oauth2/token",
|
|
2896
2896
|
method: "POST",
|
package/dist/esm/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const MittwaldAPIClientVersion = '4.
|
|
1
|
+
export const MittwaldAPIClientVersion = '4.475.0';
|
|
@@ -18731,7 +18731,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
18731
18731
|
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
18732
18732
|
[x: string]: unknown;
|
|
18733
18733
|
}, 429, "application/json">>>;
|
|
18734
|
-
/** Create a DNSZone for a
|
|
18734
|
+
/** Create a DNSZone for a verified Ingress in a Project. */
|
|
18735
18735
|
dnsCreateProjectDnsZone: (request: {
|
|
18736
18736
|
data: {
|
|
18737
18737
|
name: string;
|
|
@@ -19497,6 +19497,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
19497
19497
|
data: {
|
|
19498
19498
|
domain: string;
|
|
19499
19499
|
authCode?: string | undefined;
|
|
19500
|
+
projectId?: string | undefined;
|
|
19500
19501
|
};
|
|
19501
19502
|
headers?: {
|
|
19502
19503
|
[x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
|
|
@@ -19505,6 +19506,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
19505
19506
|
data: {
|
|
19506
19507
|
authCode?: string | undefined;
|
|
19507
19508
|
domain: string;
|
|
19509
|
+
projectId?: string | undefined;
|
|
19508
19510
|
};
|
|
19509
19511
|
} & {
|
|
19510
19512
|
headers?: Partial<{
|
|
@@ -19522,6 +19524,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
19522
19524
|
data: {
|
|
19523
19525
|
authCode?: string | undefined;
|
|
19524
19526
|
domain: string;
|
|
19527
|
+
projectId?: string | undefined;
|
|
19525
19528
|
};
|
|
19526
19529
|
} & {
|
|
19527
19530
|
headers?: Partial<{
|
|
@@ -26674,7 +26677,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
26674
26677
|
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
26675
26678
|
[x: string]: unknown;
|
|
26676
26679
|
}, 429, "application/json">>>;
|
|
26677
|
-
/** Retrieve
|
|
26680
|
+
/** Retrieve an OAuth access token. */
|
|
26678
26681
|
oauthRetrieveAccessToken: (request?: {
|
|
26679
26682
|
data?: {
|
|
26680
26683
|
[x: string]: unknown;
|
|
@@ -439,7 +439,7 @@ export declare const dnsListDnsZoneFileImports: OpenAPIOperation<RequestType<Sim
|
|
|
439
439
|
export declare const dnsCreateDnsZoneFileImport: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdDnsZoneImports.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdDnsZoneImports.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdDnsZoneImports.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdDnsZoneImports.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdDnsZoneImports.Post.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdDnsZoneImports.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdDnsZoneImports.Post.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdDnsZoneImports.Post.Responses.$412.Content.ApplicationJson>, 412, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdDnsZoneImports.Post.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdDnsZoneImports.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
440
440
|
/** List DNSZones belonging to a Project. */
|
|
441
441
|
export declare const dnsListDnsZones: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdDnsZones.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdDnsZones.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdDnsZones.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdDnsZones.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdDnsZones.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdDnsZones.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdDnsZones.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
442
|
-
/** Create a DNSZone for a
|
|
442
|
+
/** Create a DNSZone for a verified Ingress in a Project. */
|
|
443
443
|
export declare const dnsCreateProjectDnsZone: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdDnsZones.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdDnsZones.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdDnsZones.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdDnsZones.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdDnsZones.Post.Responses.$201.Content.ApplicationJson>, 201, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdDnsZones.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdDnsZones.Post.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdDnsZones.Post.Responses.$409.Content.ApplicationJson>, 409, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdDnsZones.Post.Responses.$412.Content.ApplicationJson>, 412, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdDnsZones.Post.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdDnsZones.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
444
444
|
/** Get a DNSZone. */
|
|
445
445
|
export declare const dnsGetDnsZone: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2DnsZonesDnsZoneId.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2DnsZonesDnsZoneId.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2DnsZonesDnsZoneId.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2DnsZonesDnsZoneId.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2DnsZonesDnsZoneId.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2DnsZonesDnsZoneId.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2DnsZonesDnsZoneId.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
@@ -967,7 +967,7 @@ export declare const userTerminateAllSessions: OpenAPIOperation<RequestType<Simp
|
|
|
967
967
|
export declare const userLogout: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2Logout.Put.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2Logout.Put.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2Logout.Put.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2Logout.Put.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2Logout.Put.Responses.$204.Content.Empty>, 204, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2Logout.Put.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2Logout.Put.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2Logout.Put.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
968
968
|
/** Obtain authorization from the resource owner. */
|
|
969
969
|
export declare const userOauthGetAuthorization: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2Oauth2Authorize.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2Oauth2Authorize.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2Oauth2Authorize.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2Oauth2Authorize.Get.Responses.$302.Content.Empty>, 302, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2Oauth2Authorize.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2Oauth2Authorize.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2Oauth2Authorize.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
970
|
-
/** Retrieve
|
|
970
|
+
/** Retrieve an OAuth access token. */
|
|
971
971
|
export declare const userOauthRetrieveAccessToken: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2Oauth2Token.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2Oauth2Token.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2Oauth2Token.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2Oauth2Token.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2Oauth2Token.Post.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2Oauth2Token.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2Oauth2Token.Post.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2Oauth2Token.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
972
972
|
/** Register with email and password. */
|
|
973
973
|
export declare const userRegister: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2Register.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2Register.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2Register.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2Register.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2Register.Post.Responses.$201.Content.ApplicationJson>, 201, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2Register.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2Register.Post.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2Register.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
@@ -4047,15 +4047,27 @@ export declare namespace MittwaldAPIV2 {
|
|
|
4047
4047
|
number: string;
|
|
4048
4048
|
}
|
|
4049
4049
|
interface DnsCreateZoneFileImportResponse {
|
|
4050
|
+
/**
|
|
4051
|
+
* Everything that will not be imported (invalid records, unsupported record types, CNAME conflicts, placement problems, parse errors). Empty on a real import, since any conflict rejects the whole import with 412 (all-or-nothing).
|
|
4052
|
+
*/
|
|
4050
4053
|
conflicts: MittwaldAPIV2.Components.Schemas.DnsImportConflict[];
|
|
4051
4054
|
/**
|
|
4052
4055
|
* ID of the started import job. Absent on a dry-run (dryRun=true), which creates no job.
|
|
4053
4056
|
*/
|
|
4054
4057
|
id?: string;
|
|
4058
|
+
/**
|
|
4059
|
+
* The importable target zones (one per distinct owner name), each with the record sets that would be set. On a dry-run this is the preview; on a real import it is the plan that was applied.
|
|
4060
|
+
*/
|
|
4055
4061
|
zones: MittwaldAPIV2.Components.Schemas.DnsZoneImportPreview[];
|
|
4056
4062
|
}
|
|
4057
4063
|
interface DnsImportConflict {
|
|
4064
|
+
/**
|
|
4065
|
+
* Machine-readable conflict kind: parseError (a zone-file line could not be parsed), invalidRecord (a record failed the same schema validation the write commands apply), invalidZoneName (the owner name is not a valid zone name, e.g. a wildcard *.example.com), unsupportedRecordType (an RR type dns-service does not import), cnameConflict (a CNAME shares a name with other record types), foreignCustomerIngress (the zone's enabled ingress belongs to another organization), rootZoneUnavailable (a subzone whose root zone is neither importable nor already existing).
|
|
4066
|
+
*/
|
|
4058
4067
|
code: "parseError" | "invalidRecord" | "invalidZoneName" | "unsupportedRecordType" | "cnameConflict" | "foreignCustomerIngress" | "rootZoneUnavailable";
|
|
4068
|
+
/**
|
|
4069
|
+
* Human-readable explanation of the conflict, suitable for surfacing to the user.
|
|
4070
|
+
*/
|
|
4059
4071
|
message: string;
|
|
4060
4072
|
/**
|
|
4061
4073
|
* Offending record/owner name. Empty for a file-level parse error, where sourceLine locates the bad line.
|
|
@@ -4069,20 +4081,53 @@ export declare namespace MittwaldAPIV2 {
|
|
|
4069
4081
|
* Only on an invalidRecord conflict: the offending record's set type.
|
|
4070
4082
|
*/
|
|
4071
4083
|
recordSetType?: "a" | "mx" | "txt" | "cname" | "srv" | "caa";
|
|
4084
|
+
/**
|
|
4085
|
+
* 1-based line number in the uploaded zone file, set for a file-level parse error (code parseError); 0 otherwise.
|
|
4086
|
+
*/
|
|
4072
4087
|
sourceLine?: number;
|
|
4073
4088
|
}
|
|
4074
4089
|
interface DnsImportRecord {
|
|
4090
|
+
/**
|
|
4091
|
+
* CAA flags. Only set for CAA records.
|
|
4092
|
+
*/
|
|
4075
4093
|
flags?: number;
|
|
4094
|
+
/**
|
|
4095
|
+
* SRV port. Only set for SRV records.
|
|
4096
|
+
*/
|
|
4076
4097
|
port?: number;
|
|
4098
|
+
/**
|
|
4099
|
+
* MX preference / SRV priority. Only set for MX and SRV records.
|
|
4100
|
+
*/
|
|
4077
4101
|
priority?: number;
|
|
4102
|
+
/**
|
|
4103
|
+
* CAA tag (e.g. issue, issuewild, iodef). Only set for CAA records.
|
|
4104
|
+
*/
|
|
4078
4105
|
tag?: string;
|
|
4106
|
+
/**
|
|
4107
|
+
* The record's value: an IP address for A/AAAA, the target FQDN for MX/CNAME/SRV, the text for TXT, the value for CAA.
|
|
4108
|
+
*/
|
|
4079
4109
|
value: string;
|
|
4110
|
+
/**
|
|
4111
|
+
* SRV weight. Only set for SRV records.
|
|
4112
|
+
*/
|
|
4080
4113
|
weight?: number;
|
|
4081
4114
|
}
|
|
4082
4115
|
interface DnsImportRecordSet {
|
|
4116
|
+
/**
|
|
4117
|
+
* The individual records in the set.
|
|
4118
|
+
*/
|
|
4083
4119
|
records: MittwaldAPIV2.Components.Schemas.DnsImportRecord[];
|
|
4120
|
+
/**
|
|
4121
|
+
* True when the source TTLs had to be normalized to ttlSeconds — because they diverged within the set or fell below the 60s minimum. Informational; the import still uses ttlSeconds.
|
|
4122
|
+
*/
|
|
4084
4123
|
ttlNormalized: boolean;
|
|
4124
|
+
/**
|
|
4125
|
+
* TTL applied to the whole set, in seconds. Collapsed to a single value across the set: the minimum of the source TTLs, floored to the 60s minimum.
|
|
4126
|
+
*/
|
|
4085
4127
|
ttlSeconds: number;
|
|
4128
|
+
/**
|
|
4129
|
+
* Record-set type.
|
|
4130
|
+
*/
|
|
4086
4131
|
type: "a" | "mx" | "txt" | "cname" | "srv" | "caa";
|
|
4087
4132
|
}
|
|
4088
4133
|
type DnsRecordCAA = MittwaldAPIV2.Components.Schemas.DnsRecordUnset | MittwaldAPIV2.Components.Schemas.DnsRecordCAAComponent;
|
|
@@ -4210,16 +4255,22 @@ export declare namespace MittwaldAPIV2 {
|
|
|
4210
4255
|
status: "running" | "succeeded" | "completedWithErrors";
|
|
4211
4256
|
}
|
|
4212
4257
|
interface DnsZoneImportPreview {
|
|
4258
|
+
/**
|
|
4259
|
+
* Whether a zone with this name already exists. On import its record sets are overwritten rather than the import failing.
|
|
4260
|
+
*/
|
|
4213
4261
|
alreadyExists: boolean;
|
|
4214
4262
|
/**
|
|
4215
4263
|
* Fully-qualified name of the target zone. Every distinct owner name becomes its own zone. Only importable zones are listed; a zone named by a conflict is omitted.
|
|
4216
4264
|
*/
|
|
4217
4265
|
name: string;
|
|
4266
|
+
/**
|
|
4267
|
+
* The record sets that would be set on the zone — one per record type present for this owner name.
|
|
4268
|
+
*/
|
|
4218
4269
|
recordSets: MittwaldAPIV2.Components.Schemas.DnsImportRecordSet[];
|
|
4219
4270
|
/**
|
|
4220
4271
|
* Project the zone would be created in. Always set, since only importable zones are listed.
|
|
4221
4272
|
*/
|
|
4222
|
-
targetProjectId
|
|
4273
|
+
targetProjectId: string;
|
|
4223
4274
|
}
|
|
4224
4275
|
interface DomainAuthCode {
|
|
4225
4276
|
expires?: string;
|
|
@@ -8065,6 +8116,10 @@ export declare namespace MittwaldAPIV2 {
|
|
|
8065
8116
|
reasons: {
|
|
8066
8117
|
domainAgeTooSmall: boolean;
|
|
8067
8118
|
domainDoesNotExist: boolean;
|
|
8119
|
+
/**
|
|
8120
|
+
* An enabled ingress for this domain already exists in a project other than the given projectId. Delete that ingress or transfer the domain into that project.
|
|
8121
|
+
*/
|
|
8122
|
+
enabledIngressInOtherProject: boolean;
|
|
8068
8123
|
inRedemptionPeriod: boolean;
|
|
8069
8124
|
transferLock: boolean;
|
|
8070
8125
|
wrongAuthCode: boolean;
|
|
@@ -20217,6 +20272,10 @@ export declare namespace MittwaldAPIV2 {
|
|
|
20217
20272
|
interface RequestBody {
|
|
20218
20273
|
authCode?: string;
|
|
20219
20274
|
domain: string;
|
|
20275
|
+
/**
|
|
20276
|
+
* Target project of the transfer. If given, the domain is reported as not transferable (reason enabledIngressInOtherProject) when an enabled ingress for it already exists in another project.
|
|
20277
|
+
*/
|
|
20278
|
+
projectId?: string;
|
|
20220
20279
|
}
|
|
20221
20280
|
type Header = {};
|
|
20222
20281
|
type Query = {};
|
|
@@ -18738,7 +18738,7 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
18738
18738
|
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
18739
18739
|
[x: string]: unknown;
|
|
18740
18740
|
}, 429, "application/json">>>;
|
|
18741
|
-
/** Create a DNSZone for a
|
|
18741
|
+
/** Create a DNSZone for a verified Ingress in a Project. */
|
|
18742
18742
|
dnsCreateProjectDnsZone: (request: {
|
|
18743
18743
|
data: {
|
|
18744
18744
|
name: string;
|
|
@@ -19504,6 +19504,7 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
19504
19504
|
data: {
|
|
19505
19505
|
domain: string;
|
|
19506
19506
|
authCode?: string | undefined;
|
|
19507
|
+
projectId?: string | undefined;
|
|
19507
19508
|
};
|
|
19508
19509
|
headers?: {
|
|
19509
19510
|
[x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
|
|
@@ -19512,6 +19513,7 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
19512
19513
|
data: {
|
|
19513
19514
|
authCode?: string | undefined;
|
|
19514
19515
|
domain: string;
|
|
19516
|
+
projectId?: string | undefined;
|
|
19515
19517
|
};
|
|
19516
19518
|
} & {
|
|
19517
19519
|
headers?: Partial<{
|
|
@@ -19529,6 +19531,7 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
19529
19531
|
data: {
|
|
19530
19532
|
authCode?: string | undefined;
|
|
19531
19533
|
domain: string;
|
|
19534
|
+
projectId?: string | undefined;
|
|
19532
19535
|
};
|
|
19533
19536
|
} & {
|
|
19534
19537
|
headers?: Partial<{
|
|
@@ -26673,7 +26676,7 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
26673
26676
|
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
26674
26677
|
[x: string]: unknown;
|
|
26675
26678
|
}, 429, "application/json">>>;
|
|
26676
|
-
/** Retrieve
|
|
26679
|
+
/** Retrieve an OAuth access token. */
|
|
26677
26680
|
oauthRetrieveAccessToken: (request?: {
|
|
26678
26681
|
data?: {
|
|
26679
26682
|
[x: string]: unknown;
|
|
@@ -439,7 +439,7 @@ export declare const dnsListDnsZoneFileImports: OpenAPIOperation<RequestType<Sim
|
|
|
439
439
|
export declare const dnsCreateDnsZoneFileImport: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV3Next.Paths.V3NextProjectsProjectIdDnsZoneImports.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV3Next.Paths.V3NextProjectsProjectIdDnsZoneImports.Post.Parameters.Path>, Simplify<MittwaldAPIV3Next.Paths.V3NextProjectsProjectIdDnsZoneImports.Post.Parameters.Query>, Simplify<MittwaldAPIV3Next.Paths.V3NextProjectsProjectIdDnsZoneImports.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV3Next.Paths.V3NextProjectsProjectIdDnsZoneImports.Post.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV3Next.Paths.V3NextProjectsProjectIdDnsZoneImports.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV3Next.Paths.V3NextProjectsProjectIdDnsZoneImports.Post.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV3Next.Paths.V3NextProjectsProjectIdDnsZoneImports.Post.Responses.$412.Content.ApplicationJson>, 412, "application/json"> | Response<Simplify<MittwaldAPIV3Next.Paths.V3NextProjectsProjectIdDnsZoneImports.Post.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV3Next.Paths.V3NextProjectsProjectIdDnsZoneImports.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
440
440
|
/** List DNSZones belonging to a Project. */
|
|
441
441
|
export declare const dnsListDnsZones: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV3Next.Paths.V3NextProjectsProjectIdDnsZones.Get.Parameters.Path>, Simplify<MittwaldAPIV3Next.Paths.V3NextProjectsProjectIdDnsZones.Get.Parameters.Query>, Simplify<MittwaldAPIV3Next.Paths.V3NextProjectsProjectIdDnsZones.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV3Next.Paths.V3NextProjectsProjectIdDnsZones.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV3Next.Paths.V3NextProjectsProjectIdDnsZones.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV3Next.Paths.V3NextProjectsProjectIdDnsZones.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV3Next.Paths.V3NextProjectsProjectIdDnsZones.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
442
|
-
/** Create a DNSZone for a
|
|
442
|
+
/** Create a DNSZone for a verified Ingress in a Project. */
|
|
443
443
|
export declare const dnsCreateProjectDnsZone: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV3Next.Paths.V3NextProjectsProjectIdDnsZones.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV3Next.Paths.V3NextProjectsProjectIdDnsZones.Post.Parameters.Path>, Simplify<MittwaldAPIV3Next.Paths.V3NextProjectsProjectIdDnsZones.Post.Parameters.Query>, Simplify<MittwaldAPIV3Next.Paths.V3NextProjectsProjectIdDnsZones.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV3Next.Paths.V3NextProjectsProjectIdDnsZones.Post.Responses.$201.Content.ApplicationJson>, 201, "application/json"> | Response<Simplify<MittwaldAPIV3Next.Paths.V3NextProjectsProjectIdDnsZones.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV3Next.Paths.V3NextProjectsProjectIdDnsZones.Post.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV3Next.Paths.V3NextProjectsProjectIdDnsZones.Post.Responses.$409.Content.ApplicationJson>, 409, "application/json"> | Response<Simplify<MittwaldAPIV3Next.Paths.V3NextProjectsProjectIdDnsZones.Post.Responses.$412.Content.ApplicationJson>, 412, "application/json"> | Response<Simplify<MittwaldAPIV3Next.Paths.V3NextProjectsProjectIdDnsZones.Post.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV3Next.Paths.V3NextProjectsProjectIdDnsZones.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
444
444
|
/** Get a DNSZone. */
|
|
445
445
|
export declare const dnsGetDnsZone: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV3Next.Paths.V3NextDnsZonesDnsZoneId.Get.Parameters.Path>, Simplify<MittwaldAPIV3Next.Paths.V3NextDnsZonesDnsZoneId.Get.Parameters.Query>, Simplify<MittwaldAPIV3Next.Paths.V3NextDnsZonesDnsZoneId.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV3Next.Paths.V3NextDnsZonesDnsZoneId.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV3Next.Paths.V3NextDnsZonesDnsZoneId.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV3Next.Paths.V3NextDnsZonesDnsZoneId.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV3Next.Paths.V3NextDnsZonesDnsZoneId.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
@@ -967,7 +967,7 @@ export declare const userTerminateAllSessions: OpenAPIOperation<RequestType<Simp
|
|
|
967
967
|
export declare const userLogout: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV3Next.Paths.V3NextLogout.Put.Parameters.RequestBody>, Simplify<MittwaldAPIV3Next.Paths.V3NextLogout.Put.Parameters.Path>, Simplify<MittwaldAPIV3Next.Paths.V3NextLogout.Put.Parameters.Query>, Simplify<MittwaldAPIV3Next.Paths.V3NextLogout.Put.Parameters.Header>>, Response<Simplify<MittwaldAPIV3Next.Paths.V3NextLogout.Put.Responses.$204.Content.Empty>, 204, "empty"> | Response<Simplify<MittwaldAPIV3Next.Paths.V3NextLogout.Put.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV3Next.Paths.V3NextLogout.Put.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV3Next.Paths.V3NextLogout.Put.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
968
968
|
/** Obtain authorization from the resource owner. */
|
|
969
969
|
export declare const userOauthGetAuthorization: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV3Next.Paths.V3NextOauth2Authorize.Get.Parameters.Path>, Simplify<MittwaldAPIV3Next.Paths.V3NextOauth2Authorize.Get.Parameters.Query>, Simplify<MittwaldAPIV3Next.Paths.V3NextOauth2Authorize.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV3Next.Paths.V3NextOauth2Authorize.Get.Responses.$302.Content.Empty>, 302, "empty"> | Response<Simplify<MittwaldAPIV3Next.Paths.V3NextOauth2Authorize.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV3Next.Paths.V3NextOauth2Authorize.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV3Next.Paths.V3NextOauth2Authorize.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
970
|
-
/** Retrieve
|
|
970
|
+
/** Retrieve an OAuth access token. */
|
|
971
971
|
export declare const userOauthRetrieveAccessToken: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV3Next.Paths.V3NextOauth2Token.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV3Next.Paths.V3NextOauth2Token.Post.Parameters.Path>, Simplify<MittwaldAPIV3Next.Paths.V3NextOauth2Token.Post.Parameters.Query>, Simplify<MittwaldAPIV3Next.Paths.V3NextOauth2Token.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV3Next.Paths.V3NextOauth2Token.Post.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV3Next.Paths.V3NextOauth2Token.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV3Next.Paths.V3NextOauth2Token.Post.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV3Next.Paths.V3NextOauth2Token.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
972
972
|
/** Register with email and password. */
|
|
973
973
|
export declare const userRegister: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV3Next.Paths.V3NextRegister.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV3Next.Paths.V3NextRegister.Post.Parameters.Path>, Simplify<MittwaldAPIV3Next.Paths.V3NextRegister.Post.Parameters.Query>, Simplify<MittwaldAPIV3Next.Paths.V3NextRegister.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV3Next.Paths.V3NextRegister.Post.Responses.$201.Content.ApplicationJson>, 201, "application/json"> | Response<Simplify<MittwaldAPIV3Next.Paths.V3NextRegister.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV3Next.Paths.V3NextRegister.Post.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV3Next.Paths.V3NextRegister.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
@@ -4047,15 +4047,27 @@ export declare namespace MittwaldAPIV3Next {
|
|
|
4047
4047
|
number: string;
|
|
4048
4048
|
}
|
|
4049
4049
|
interface DeMittwaldDnsCreateZoneFileImportResponse {
|
|
4050
|
+
/**
|
|
4051
|
+
* Everything that will not be imported (invalid records, unsupported record types, CNAME conflicts, placement problems, parse errors). Empty on a real import, since any conflict rejects the whole import with 412 (all-or-nothing).
|
|
4052
|
+
*/
|
|
4050
4053
|
conflicts: MittwaldAPIV3Next.Components.Schemas.DeMittwaldDnsImportConflict[];
|
|
4051
4054
|
/**
|
|
4052
4055
|
* ID of the started import job. Absent on a dry-run (dryRun=true), which creates no job.
|
|
4053
4056
|
*/
|
|
4054
4057
|
id?: string;
|
|
4058
|
+
/**
|
|
4059
|
+
* The importable target zones (one per distinct owner name), each with the record sets that would be set. On a dry-run this is the preview; on a real import it is the plan that was applied.
|
|
4060
|
+
*/
|
|
4055
4061
|
zones: MittwaldAPIV3Next.Components.Schemas.DeMittwaldDnsZoneImportPreview[];
|
|
4056
4062
|
}
|
|
4057
4063
|
interface DeMittwaldDnsImportConflict {
|
|
4064
|
+
/**
|
|
4065
|
+
* Machine-readable conflict kind: parseError (a zone-file line could not be parsed), invalidRecord (a record failed the same schema validation the write commands apply), invalidZoneName (the owner name is not a valid zone name, e.g. a wildcard *.example.com), unsupportedRecordType (an RR type dns-service does not import), cnameConflict (a CNAME shares a name with other record types), foreignCustomerIngress (the zone's enabled ingress belongs to another organization), rootZoneUnavailable (a subzone whose root zone is neither importable nor already existing).
|
|
4066
|
+
*/
|
|
4058
4067
|
code: "parseError" | "invalidRecord" | "invalidZoneName" | "unsupportedRecordType" | "cnameConflict" | "foreignCustomerIngress" | "rootZoneUnavailable";
|
|
4068
|
+
/**
|
|
4069
|
+
* Human-readable explanation of the conflict, suitable for surfacing to the user.
|
|
4070
|
+
*/
|
|
4059
4071
|
message: string;
|
|
4060
4072
|
/**
|
|
4061
4073
|
* Offending record/owner name. Empty for a file-level parse error, where sourceLine locates the bad line.
|
|
@@ -4069,20 +4081,53 @@ export declare namespace MittwaldAPIV3Next {
|
|
|
4069
4081
|
* Only on an invalidRecord conflict: the offending record's set type.
|
|
4070
4082
|
*/
|
|
4071
4083
|
recordSetType?: "a" | "mx" | "txt" | "cname" | "srv" | "caa";
|
|
4084
|
+
/**
|
|
4085
|
+
* 1-based line number in the uploaded zone file, set for a file-level parse error (code parseError); 0 otherwise.
|
|
4086
|
+
*/
|
|
4072
4087
|
sourceLine?: number;
|
|
4073
4088
|
}
|
|
4074
4089
|
interface DeMittwaldDnsImportRecord {
|
|
4090
|
+
/**
|
|
4091
|
+
* CAA flags. Only set for CAA records.
|
|
4092
|
+
*/
|
|
4075
4093
|
flags?: number;
|
|
4094
|
+
/**
|
|
4095
|
+
* SRV port. Only set for SRV records.
|
|
4096
|
+
*/
|
|
4076
4097
|
port?: number;
|
|
4098
|
+
/**
|
|
4099
|
+
* MX preference / SRV priority. Only set for MX and SRV records.
|
|
4100
|
+
*/
|
|
4077
4101
|
priority?: number;
|
|
4102
|
+
/**
|
|
4103
|
+
* CAA tag (e.g. issue, issuewild, iodef). Only set for CAA records.
|
|
4104
|
+
*/
|
|
4078
4105
|
tag?: string;
|
|
4106
|
+
/**
|
|
4107
|
+
* The record's value: an IP address for A/AAAA, the target FQDN for MX/CNAME/SRV, the text for TXT, the value for CAA.
|
|
4108
|
+
*/
|
|
4079
4109
|
value: string;
|
|
4110
|
+
/**
|
|
4111
|
+
* SRV weight. Only set for SRV records.
|
|
4112
|
+
*/
|
|
4080
4113
|
weight?: number;
|
|
4081
4114
|
}
|
|
4082
4115
|
interface DeMittwaldDnsImportRecordSet {
|
|
4116
|
+
/**
|
|
4117
|
+
* The individual records in the set.
|
|
4118
|
+
*/
|
|
4083
4119
|
records: MittwaldAPIV3Next.Components.Schemas.DeMittwaldDnsImportRecord[];
|
|
4120
|
+
/**
|
|
4121
|
+
* True when the source TTLs had to be normalized to ttlSeconds — because they diverged within the set or fell below the 60s minimum. Informational; the import still uses ttlSeconds.
|
|
4122
|
+
*/
|
|
4084
4123
|
ttlNormalized: boolean;
|
|
4124
|
+
/**
|
|
4125
|
+
* TTL applied to the whole set, in seconds. Collapsed to a single value across the set: the minimum of the source TTLs, floored to the 60s minimum.
|
|
4126
|
+
*/
|
|
4085
4127
|
ttlSeconds: number;
|
|
4128
|
+
/**
|
|
4129
|
+
* Record-set type.
|
|
4130
|
+
*/
|
|
4086
4131
|
type: "a" | "mx" | "txt" | "cname" | "srv" | "caa";
|
|
4087
4132
|
}
|
|
4088
4133
|
type DeMittwaldDnsRecordCAA = MittwaldAPIV3Next.Components.Schemas.DeMittwaldDnsRecordUnset | MittwaldAPIV3Next.Components.Schemas.DeMittwaldDnsRecordCAAComponent;
|
|
@@ -4210,16 +4255,22 @@ export declare namespace MittwaldAPIV3Next {
|
|
|
4210
4255
|
status: "running" | "succeeded" | "completedWithErrors";
|
|
4211
4256
|
}
|
|
4212
4257
|
interface DeMittwaldDnsZoneImportPreview {
|
|
4258
|
+
/**
|
|
4259
|
+
* Whether a zone with this name already exists. On import its record sets are overwritten rather than the import failing.
|
|
4260
|
+
*/
|
|
4213
4261
|
alreadyExists: boolean;
|
|
4214
4262
|
/**
|
|
4215
4263
|
* Fully-qualified name of the target zone. Every distinct owner name becomes its own zone. Only importable zones are listed; a zone named by a conflict is omitted.
|
|
4216
4264
|
*/
|
|
4217
4265
|
name: string;
|
|
4266
|
+
/**
|
|
4267
|
+
* The record sets that would be set on the zone — one per record type present for this owner name.
|
|
4268
|
+
*/
|
|
4218
4269
|
recordSets: MittwaldAPIV3Next.Components.Schemas.DeMittwaldDnsImportRecordSet[];
|
|
4219
4270
|
/**
|
|
4220
4271
|
* Project the zone would be created in. Always set, since only importable zones are listed.
|
|
4221
4272
|
*/
|
|
4222
|
-
targetProjectId
|
|
4273
|
+
targetProjectId: string;
|
|
4223
4274
|
}
|
|
4224
4275
|
interface DeMittwaldDomainAuthCode {
|
|
4225
4276
|
expires?: string;
|
|
@@ -8069,6 +8120,10 @@ export declare namespace MittwaldAPIV3Next {
|
|
|
8069
8120
|
reasons: {
|
|
8070
8121
|
domainAgeTooSmall: boolean;
|
|
8071
8122
|
domainDoesNotExist: boolean;
|
|
8123
|
+
/**
|
|
8124
|
+
* An enabled ingress for this domain already exists in a project other than the given projectId. Delete that ingress or transfer the domain into that project.
|
|
8125
|
+
*/
|
|
8126
|
+
enabledIngressInOtherProject: boolean;
|
|
8072
8127
|
inRedemptionPeriod: boolean;
|
|
8073
8128
|
transferLock: boolean;
|
|
8074
8129
|
wrongAuthCode: boolean;
|
|
@@ -20229,6 +20284,10 @@ export declare namespace MittwaldAPIV3Next {
|
|
|
20229
20284
|
interface RequestBody {
|
|
20230
20285
|
authCode?: string;
|
|
20231
20286
|
domain: string;
|
|
20287
|
+
/**
|
|
20288
|
+
* Target project of the transfer. If given, the domain is reported as not transferable (reason enabledIngressInOtherProject) when an enabled ingress for it already exists in another project.
|
|
20289
|
+
*/
|
|
20290
|
+
projectId?: string;
|
|
20232
20291
|
}
|
|
20233
20292
|
type Header = {};
|
|
20234
20293
|
type Query = {};
|
package/dist/types/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const MittwaldAPIClientVersion = '4.
|
|
1
|
+
export declare const MittwaldAPIClientVersion = '4.475.0';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mittwald/api-client",
|
|
3
|
-
"version": "0.0.0-development-
|
|
3
|
+
"version": "0.0.0-development-6fa6c8f-20260928",
|
|
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",
|
|
@@ -72,11 +72,11 @@
|
|
|
72
72
|
"test:compile": "run tsc --noEmit"
|
|
73
73
|
},
|
|
74
74
|
"dependencies": {
|
|
75
|
-
"@mittwald/api-client-commons": "^0.0.0-development-
|
|
75
|
+
"@mittwald/api-client-commons": "^0.0.0-development-6fa6c8f-20260928",
|
|
76
76
|
"browser-or-node": "^3.0.0"
|
|
77
77
|
},
|
|
78
78
|
"devDependencies": {
|
|
79
|
-
"@mittwald/api-code-generator": "^0.0.0-development-
|
|
79
|
+
"@mittwald/api-code-generator": "^0.0.0-development-6fa6c8f-20260928",
|
|
80
80
|
"@mittwald/react-use-promise": "^4.2.3",
|
|
81
81
|
"@types/node": "^22.18.11",
|
|
82
82
|
"@types/react": "^18.3.26",
|
|
@@ -106,5 +106,5 @@
|
|
|
106
106
|
"optional": true
|
|
107
107
|
}
|
|
108
108
|
},
|
|
109
|
-
"gitHead": "
|
|
109
|
+
"gitHead": "781da99cd73436f5ee5c50aa2c08084768140066"
|
|
110
110
|
}
|