@mittwald/api-client 4.216.0 → 4.217.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/generated/v2/client-react.js +2 -0
- package/dist/esm/generated/v2/client.js +2 -0
- package/dist/esm/generated/v2/descriptors.js +6 -0
- package/dist/esm/version.js +1 -1
- package/dist/types/generated/v2/client-react.d.ts +9 -0
- package/dist/types/generated/v2/client.d.ts +47 -0
- package/dist/types/generated/v2/descriptors.d.ts +2 -0
- package/dist/types/generated/v2/types.d.ts +44 -0
- package/dist/types/version.d.ts +1 -1
- package/package.json +2 -2
|
@@ -236,6 +236,8 @@ const buildDomainApi = (baseClient) => ({
|
|
|
236
236
|
listDomains: new ApiCallAsyncResourceFactory(descriptors.domainListDomains, baseClient.domain.listDomains).getApiResource,
|
|
237
237
|
/** Get a DNSZone. */
|
|
238
238
|
dnsGetDnsZone: new ApiCallAsyncResourceFactory(descriptors.dnsGetDnsZone, baseClient.domain.dnsGetDnsZone).getApiResource,
|
|
239
|
+
/** Get a zone file for a DNSZone. */
|
|
240
|
+
dnsGetZoneFile: new ApiCallAsyncResourceFactory(descriptors.dnsGetZoneFile, baseClient.domain.dnsGetZoneFile).getApiResource,
|
|
239
241
|
/** List DNSZones belonging to a Project. */
|
|
240
242
|
dnsListDnsZones: new ApiCallAsyncResourceFactory(descriptors.dnsListDnsZones, baseClient.domain.dnsListDnsZones).getApiResource,
|
|
241
243
|
/** Get a Domain. */
|
|
@@ -492,6 +492,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
492
492
|
dnsGetDnsZone: this.requestFunctionFactory(descriptors.dnsGetDnsZone),
|
|
493
493
|
/** Delete a DNSZone. */
|
|
494
494
|
dnsDeleteDnsZone: this.requestFunctionFactory(descriptors.dnsDeleteDnsZone),
|
|
495
|
+
/** Get a zone file for a DNSZone. */
|
|
496
|
+
dnsGetZoneFile: this.requestFunctionFactory(descriptors.dnsGetZoneFile),
|
|
495
497
|
/** List DNSZones belonging to a Project. */
|
|
496
498
|
dnsListDnsZones: this.requestFunctionFactory(descriptors.dnsListDnsZones),
|
|
497
499
|
/** Set a record set on a DNSZone to managed. */
|
|
@@ -1066,6 +1066,12 @@ export const dnsDeleteDnsZone = {
|
|
|
1066
1066
|
method: "DELETE",
|
|
1067
1067
|
operationId: "dns-delete-dns-zone",
|
|
1068
1068
|
};
|
|
1069
|
+
/** Get a zone file for a DNSZone. */
|
|
1070
|
+
export const dnsGetZoneFile = {
|
|
1071
|
+
path: "/v2/dns-zones/{dnsZoneId}/zone-file",
|
|
1072
|
+
method: "GET",
|
|
1073
|
+
operationId: "dns-get-zone-file",
|
|
1074
|
+
};
|
|
1069
1075
|
/** List DNSZones belonging to a Project. */
|
|
1070
1076
|
export const dnsListDnsZones = {
|
|
1071
1077
|
path: "/v2/projects/{projectId}/dns-zones",
|
package/dist/esm/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const MittwaldAPIClientVersion = '4.
|
|
1
|
+
export const MittwaldAPIClientVersion = '4.216.0';
|
|
@@ -777,6 +777,7 @@ declare const buildContractApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
777
777
|
queryParameters?: {
|
|
778
778
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
779
779
|
invoiceTypes?: ("REGULAR" | "REISSUE" | "CORRECTION" | "CANCELLATION")[] | undefined;
|
|
780
|
+
status?: ("CONFIRMED" | "PAID" | "PARTIALLY_PAID" | "OVERPAID")[] | undefined;
|
|
780
781
|
search?: string | undefined;
|
|
781
782
|
limit?: number | undefined;
|
|
782
783
|
skip?: number | undefined;
|
|
@@ -1779,6 +1780,14 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1779
1780
|
txt: import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordTXT;
|
|
1780
1781
|
};
|
|
1781
1782
|
}>;
|
|
1783
|
+
/** Get a zone file for a DNSZone. */
|
|
1784
|
+
dnsGetZoneFile: (conf: {
|
|
1785
|
+
dnsZoneId: string;
|
|
1786
|
+
headers?: {
|
|
1787
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1788
|
+
"x-access-token"?: string | undefined;
|
|
1789
|
+
} | undefined;
|
|
1790
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<string>;
|
|
1782
1791
|
/** List DNSZones belonging to a Project. */
|
|
1783
1792
|
dnsListDnsZones: (conf: {
|
|
1784
1793
|
projectId: string;
|
|
@@ -5485,6 +5485,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
5485
5485
|
queryParameters?: {
|
|
5486
5486
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
5487
5487
|
invoiceTypes?: ("REGULAR" | "REISSUE" | "CORRECTION" | "CANCELLATION")[] | undefined;
|
|
5488
|
+
status?: ("CONFIRMED" | "PAID" | "PARTIALLY_PAID" | "OVERPAID")[] | undefined;
|
|
5488
5489
|
search?: string | undefined;
|
|
5489
5490
|
limit?: number | undefined;
|
|
5490
5491
|
skip?: number | undefined;
|
|
@@ -5503,6 +5504,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
5503
5504
|
} & {
|
|
5504
5505
|
queryParameters: {
|
|
5505
5506
|
invoiceTypes?: ("REGULAR" | "REISSUE" | "CORRECTION" | "CANCELLATION")[] | undefined;
|
|
5507
|
+
status?: ("CONFIRMED" | "PAID" | "PARTIALLY_PAID" | "OVERPAID")[] | undefined;
|
|
5506
5508
|
search?: string | undefined;
|
|
5507
5509
|
limit?: number | undefined;
|
|
5508
5510
|
skip?: number | undefined;
|
|
@@ -5535,6 +5537,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
5535
5537
|
} & {
|
|
5536
5538
|
queryParameters: {
|
|
5537
5539
|
invoiceTypes?: ("REGULAR" | "REISSUE" | "CORRECTION" | "CANCELLATION")[] | undefined;
|
|
5540
|
+
status?: ("CONFIRMED" | "PAID" | "PARTIALLY_PAID" | "OVERPAID")[] | undefined;
|
|
5538
5541
|
search?: string | undefined;
|
|
5539
5542
|
limit?: number | undefined;
|
|
5540
5543
|
skip?: number | undefined;
|
|
@@ -15109,6 +15112,50 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
15109
15112
|
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
15110
15113
|
[x: string]: unknown;
|
|
15111
15114
|
}, 429, "application/json">>>;
|
|
15115
|
+
/** Get a zone file for a DNSZone. */
|
|
15116
|
+
dnsGetZoneFile: (request: {
|
|
15117
|
+
dnsZoneId: string;
|
|
15118
|
+
headers?: {
|
|
15119
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
15120
|
+
"x-access-token"?: string | undefined;
|
|
15121
|
+
} | undefined;
|
|
15122
|
+
}, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
15123
|
+
headers?: Partial<{
|
|
15124
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
15125
|
+
}>;
|
|
15126
|
+
} & {
|
|
15127
|
+
pathParameters: {
|
|
15128
|
+
dnsZoneId: string;
|
|
15129
|
+
};
|
|
15130
|
+
} & {
|
|
15131
|
+
headers: {
|
|
15132
|
+
"x-access-token"?: string | undefined;
|
|
15133
|
+
} & Partial<{
|
|
15134
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
15135
|
+
}>;
|
|
15136
|
+
}, import("@mittwald/api-client-commons").Response<string, 200, "text/plain"> | import("@mittwald/api-client-commons").Response<{
|
|
15137
|
+
[x: string]: unknown;
|
|
15138
|
+
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
15139
|
+
[x: string]: unknown;
|
|
15140
|
+
}, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
15141
|
+
headers?: Partial<{
|
|
15142
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
15143
|
+
}>;
|
|
15144
|
+
} & {
|
|
15145
|
+
pathParameters: {
|
|
15146
|
+
dnsZoneId: string;
|
|
15147
|
+
};
|
|
15148
|
+
} & {
|
|
15149
|
+
headers: {
|
|
15150
|
+
"x-access-token"?: string | undefined;
|
|
15151
|
+
} & Partial<{
|
|
15152
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
15153
|
+
}>;
|
|
15154
|
+
}, import("@mittwald/api-client-commons").Response<string, 200, "text/plain"> | import("@mittwald/api-client-commons").Response<{
|
|
15155
|
+
[x: string]: unknown;
|
|
15156
|
+
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
15157
|
+
[x: string]: unknown;
|
|
15158
|
+
}, 429, "application/json">>>;
|
|
15112
15159
|
/** List DNSZones belonging to a Project. */
|
|
15113
15160
|
dnsListDnsZones: (request: {
|
|
15114
15161
|
projectId: string;
|
|
@@ -359,6 +359,8 @@ export declare const dnsCreateDnsZone: OpenAPIOperation<RequestType<Simplify<Mit
|
|
|
359
359
|
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">>;
|
|
360
360
|
/** Delete a DNSZone. */
|
|
361
361
|
export declare const dnsDeleteDnsZone: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2DnsZonesDnsZoneId.Delete.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2DnsZonesDnsZoneId.Delete.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2DnsZonesDnsZoneId.Delete.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2DnsZonesDnsZoneId.Delete.Responses.$204.Content.Empty>, 204, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2DnsZonesDnsZoneId.Delete.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2DnsZonesDnsZoneId.Delete.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2DnsZonesDnsZoneId.Delete.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
362
|
+
/** Get a zone file for a DNSZone. */
|
|
363
|
+
export declare const dnsGetZoneFile: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2DnsZonesDnsZoneIdZoneFile.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2DnsZonesDnsZoneIdZoneFile.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2DnsZonesDnsZoneIdZoneFile.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2DnsZonesDnsZoneIdZoneFile.Get.Responses.$200.Content.TextPlain>, 200, "text/plain"> | Response<Simplify<MittwaldAPIV2.Paths.V2DnsZonesDnsZoneIdZoneFile.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2DnsZonesDnsZoneIdZoneFile.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2DnsZonesDnsZoneIdZoneFile.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
362
364
|
/** List DNSZones belonging to a Project. */
|
|
363
365
|
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">>;
|
|
364
366
|
/** Set a record set on a DNSZone to managed. */
|
|
@@ -714,6 +714,10 @@ export declare namespace MittwaldAPIV2 {
|
|
|
714
714
|
type RequestData = InferredRequestData<typeof descriptors.dnsDeleteDnsZone>;
|
|
715
715
|
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.dnsDeleteDnsZone, TStatus>;
|
|
716
716
|
}
|
|
717
|
+
namespace DnsGetZoneFile {
|
|
718
|
+
type RequestData = InferredRequestData<typeof descriptors.dnsGetZoneFile>;
|
|
719
|
+
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.dnsGetZoneFile, TStatus>;
|
|
720
|
+
}
|
|
717
721
|
namespace DnsListDnsZones {
|
|
718
722
|
type RequestData = InferredRequestData<typeof descriptors.dnsListDnsZones>;
|
|
719
723
|
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.dnsListDnsZones, TStatus>;
|
|
@@ -14422,6 +14426,45 @@ export declare namespace MittwaldAPIV2 {
|
|
|
14422
14426
|
}
|
|
14423
14427
|
}
|
|
14424
14428
|
}
|
|
14429
|
+
namespace V2DnsZonesDnsZoneIdZoneFile {
|
|
14430
|
+
namespace Get {
|
|
14431
|
+
namespace Parameters {
|
|
14432
|
+
type Path = {
|
|
14433
|
+
dnsZoneId: string;
|
|
14434
|
+
};
|
|
14435
|
+
type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
|
|
14436
|
+
type Query = {};
|
|
14437
|
+
}
|
|
14438
|
+
namespace Responses {
|
|
14439
|
+
namespace $200 {
|
|
14440
|
+
namespace Content {
|
|
14441
|
+
type TextPlain = string;
|
|
14442
|
+
}
|
|
14443
|
+
}
|
|
14444
|
+
namespace $400 {
|
|
14445
|
+
namespace Content {
|
|
14446
|
+
interface ApplicationJson {
|
|
14447
|
+
[k: string]: unknown;
|
|
14448
|
+
}
|
|
14449
|
+
}
|
|
14450
|
+
}
|
|
14451
|
+
namespace $429 {
|
|
14452
|
+
namespace Content {
|
|
14453
|
+
interface ApplicationJson {
|
|
14454
|
+
[k: string]: unknown;
|
|
14455
|
+
}
|
|
14456
|
+
}
|
|
14457
|
+
}
|
|
14458
|
+
namespace Default {
|
|
14459
|
+
namespace Content {
|
|
14460
|
+
interface ApplicationJson {
|
|
14461
|
+
[k: string]: unknown;
|
|
14462
|
+
}
|
|
14463
|
+
}
|
|
14464
|
+
}
|
|
14465
|
+
}
|
|
14466
|
+
}
|
|
14467
|
+
}
|
|
14425
14468
|
namespace V2ProjectsProjectIdDnsZones { }
|
|
14426
14469
|
namespace V2ProjectsProjectIdDnsZones {
|
|
14427
14470
|
namespace Get {
|
|
@@ -18249,6 +18292,7 @@ export declare namespace MittwaldAPIV2 {
|
|
|
18249
18292
|
type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
|
|
18250
18293
|
type Query = {
|
|
18251
18294
|
invoiceTypes?: ("REGULAR" | "REISSUE" | "CORRECTION" | "CANCELLATION")[];
|
|
18295
|
+
status?: ("CONFIRMED" | "PAID" | "PARTIALLY_PAID" | "OVERPAID")[];
|
|
18252
18296
|
search?: string;
|
|
18253
18297
|
limit?: number;
|
|
18254
18298
|
skip?: number;
|
package/dist/types/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const MittwaldAPIClientVersion = '4.
|
|
1
|
+
export declare const MittwaldAPIClientVersion = '4.216.0';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mittwald/api-client",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.217.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",
|
|
@@ -80,5 +80,5 @@
|
|
|
80
80
|
"optional": true
|
|
81
81
|
}
|
|
82
82
|
},
|
|
83
|
-
"gitHead": "
|
|
83
|
+
"gitHead": "198ad83d177d9fa57a944f5723e32eddba4db023"
|
|
84
84
|
}
|