@mittwald/api-client 4.216.0 → 4.218.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 +10 -0
- package/dist/types/generated/v2/client.d.ts +50 -0
- package/dist/types/generated/v2/descriptors.d.ts +2 -0
- package/dist/types/generated/v2/types.d.ts +45 -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.217.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;
|
|
@@ -920,6 +921,7 @@ declare const buildMarketplaceApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
920
921
|
} | undefined;
|
|
921
922
|
queryParameters?: {
|
|
922
923
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
924
|
+
search?: string | undefined;
|
|
923
925
|
limit?: number | undefined;
|
|
924
926
|
skip?: number | undefined;
|
|
925
927
|
page?: number | undefined;
|
|
@@ -1779,6 +1781,14 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1779
1781
|
txt: import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordTXT;
|
|
1780
1782
|
};
|
|
1781
1783
|
}>;
|
|
1784
|
+
/** Get a zone file for a DNSZone. */
|
|
1785
|
+
dnsGetZoneFile: (conf: {
|
|
1786
|
+
dnsZoneId: string;
|
|
1787
|
+
headers?: {
|
|
1788
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1789
|
+
"x-access-token"?: string | undefined;
|
|
1790
|
+
} | undefined;
|
|
1791
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<string>;
|
|
1782
1792
|
/** List DNSZones belonging to a Project. */
|
|
1783
1793
|
dnsListDnsZones: (conf: {
|
|
1784
1794
|
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;
|
|
@@ -6748,6 +6751,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
6748
6751
|
} | undefined;
|
|
6749
6752
|
queryParameters?: {
|
|
6750
6753
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
6754
|
+
search?: string | undefined;
|
|
6751
6755
|
limit?: number | undefined;
|
|
6752
6756
|
skip?: number | undefined;
|
|
6753
6757
|
page?: number | undefined;
|
|
@@ -6764,6 +6768,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
6764
6768
|
};
|
|
6765
6769
|
} & {
|
|
6766
6770
|
queryParameters: {
|
|
6771
|
+
search?: string | undefined;
|
|
6767
6772
|
limit?: number | undefined;
|
|
6768
6773
|
skip?: number | undefined;
|
|
6769
6774
|
page?: number | undefined;
|
|
@@ -6806,6 +6811,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
6806
6811
|
};
|
|
6807
6812
|
} & {
|
|
6808
6813
|
queryParameters: {
|
|
6814
|
+
search?: string | undefined;
|
|
6809
6815
|
limit?: number | undefined;
|
|
6810
6816
|
skip?: number | undefined;
|
|
6811
6817
|
page?: number | undefined;
|
|
@@ -15109,6 +15115,50 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
15109
15115
|
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
15110
15116
|
[x: string]: unknown;
|
|
15111
15117
|
}, 429, "application/json">>>;
|
|
15118
|
+
/** Get a zone file for a DNSZone. */
|
|
15119
|
+
dnsGetZoneFile: (request: {
|
|
15120
|
+
dnsZoneId: string;
|
|
15121
|
+
headers?: {
|
|
15122
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
15123
|
+
"x-access-token"?: string | undefined;
|
|
15124
|
+
} | undefined;
|
|
15125
|
+
}, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
15126
|
+
headers?: Partial<{
|
|
15127
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
15128
|
+
}>;
|
|
15129
|
+
} & {
|
|
15130
|
+
pathParameters: {
|
|
15131
|
+
dnsZoneId: string;
|
|
15132
|
+
};
|
|
15133
|
+
} & {
|
|
15134
|
+
headers: {
|
|
15135
|
+
"x-access-token"?: string | undefined;
|
|
15136
|
+
} & Partial<{
|
|
15137
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
15138
|
+
}>;
|
|
15139
|
+
}, import("@mittwald/api-client-commons").Response<string, 200, "text/plain"> | import("@mittwald/api-client-commons").Response<{
|
|
15140
|
+
[x: string]: unknown;
|
|
15141
|
+
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
15142
|
+
[x: string]: unknown;
|
|
15143
|
+
}, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
15144
|
+
headers?: Partial<{
|
|
15145
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
15146
|
+
}>;
|
|
15147
|
+
} & {
|
|
15148
|
+
pathParameters: {
|
|
15149
|
+
dnsZoneId: string;
|
|
15150
|
+
};
|
|
15151
|
+
} & {
|
|
15152
|
+
headers: {
|
|
15153
|
+
"x-access-token"?: string | undefined;
|
|
15154
|
+
} & Partial<{
|
|
15155
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
15156
|
+
}>;
|
|
15157
|
+
}, import("@mittwald/api-client-commons").Response<string, 200, "text/plain"> | import("@mittwald/api-client-commons").Response<{
|
|
15158
|
+
[x: string]: unknown;
|
|
15159
|
+
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
15160
|
+
[x: string]: unknown;
|
|
15161
|
+
}, 429, "application/json">>>;
|
|
15112
15162
|
/** List DNSZones belonging to a Project. */
|
|
15113
15163
|
dnsListDnsZones: (request: {
|
|
15114
15164
|
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>;
|
|
@@ -9767,6 +9771,7 @@ export declare namespace MittwaldAPIV2 {
|
|
|
9767
9771
|
};
|
|
9768
9772
|
type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
|
|
9769
9773
|
type Query = {
|
|
9774
|
+
search?: string;
|
|
9770
9775
|
limit?: number;
|
|
9771
9776
|
skip?: number;
|
|
9772
9777
|
page?: number;
|
|
@@ -14422,6 +14427,45 @@ export declare namespace MittwaldAPIV2 {
|
|
|
14422
14427
|
}
|
|
14423
14428
|
}
|
|
14424
14429
|
}
|
|
14430
|
+
namespace V2DnsZonesDnsZoneIdZoneFile {
|
|
14431
|
+
namespace Get {
|
|
14432
|
+
namespace Parameters {
|
|
14433
|
+
type Path = {
|
|
14434
|
+
dnsZoneId: string;
|
|
14435
|
+
};
|
|
14436
|
+
type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
|
|
14437
|
+
type Query = {};
|
|
14438
|
+
}
|
|
14439
|
+
namespace Responses {
|
|
14440
|
+
namespace $200 {
|
|
14441
|
+
namespace Content {
|
|
14442
|
+
type TextPlain = string;
|
|
14443
|
+
}
|
|
14444
|
+
}
|
|
14445
|
+
namespace $400 {
|
|
14446
|
+
namespace Content {
|
|
14447
|
+
interface ApplicationJson {
|
|
14448
|
+
[k: string]: unknown;
|
|
14449
|
+
}
|
|
14450
|
+
}
|
|
14451
|
+
}
|
|
14452
|
+
namespace $429 {
|
|
14453
|
+
namespace Content {
|
|
14454
|
+
interface ApplicationJson {
|
|
14455
|
+
[k: string]: unknown;
|
|
14456
|
+
}
|
|
14457
|
+
}
|
|
14458
|
+
}
|
|
14459
|
+
namespace Default {
|
|
14460
|
+
namespace Content {
|
|
14461
|
+
interface ApplicationJson {
|
|
14462
|
+
[k: string]: unknown;
|
|
14463
|
+
}
|
|
14464
|
+
}
|
|
14465
|
+
}
|
|
14466
|
+
}
|
|
14467
|
+
}
|
|
14468
|
+
}
|
|
14425
14469
|
namespace V2ProjectsProjectIdDnsZones { }
|
|
14426
14470
|
namespace V2ProjectsProjectIdDnsZones {
|
|
14427
14471
|
namespace Get {
|
|
@@ -18249,6 +18293,7 @@ export declare namespace MittwaldAPIV2 {
|
|
|
18249
18293
|
type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
|
|
18250
18294
|
type Query = {
|
|
18251
18295
|
invoiceTypes?: ("REGULAR" | "REISSUE" | "CORRECTION" | "CANCELLATION")[];
|
|
18296
|
+
status?: ("CONFIRMED" | "PAID" | "PARTIALLY_PAID" | "OVERPAID")[];
|
|
18252
18297
|
search?: string;
|
|
18253
18298
|
limit?: number;
|
|
18254
18299
|
skip?: number;
|
package/dist/types/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const MittwaldAPIClientVersion = '4.
|
|
1
|
+
export declare const MittwaldAPIClientVersion = '4.217.0';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mittwald/api-client",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.218.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": "d10cf3aff287ba0a301ea91ffb1d1ffd679dbac9"
|
|
84
84
|
}
|