@mittwald/api-client 4.261.0 → 4.263.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 -2
- package/dist/esm/generated/v2/client.js +8 -8
- package/dist/esm/generated/v2/descriptors.js +54 -54
- package/dist/esm/version.js +1 -1
- package/dist/types/generated/v2/client-react.d.ts +24 -24
- package/dist/types/generated/v2/client.d.ts +191 -183
- package/dist/types/generated/v2/descriptors.d.ts +20 -20
- package/dist/types/generated/v2/types.d.ts +1241 -1227
- package/dist/types/version.d.ts +1 -1
- package/package.json +4 -4
|
@@ -260,12 +260,12 @@ const buildDomainApi = (baseClient) => ({
|
|
|
260
260
|
ingressListIngresses: new ApiCallAsyncResourceFactory(descriptors.ingressListIngresses, baseClient.domain.ingressListIngresses).getApiResource,
|
|
261
261
|
/** Get an Ingress. */
|
|
262
262
|
ingressGetIngress: new ApiCallAsyncResourceFactory(descriptors.ingressGetIngress, baseClient.domain.ingressGetIngress).getApiResource,
|
|
263
|
+
/** Get a Certificate. */
|
|
264
|
+
sslGetCertificate: new ApiCallAsyncResourceFactory(descriptors.sslGetCertificate, baseClient.domain.sslGetCertificate).getApiResource,
|
|
263
265
|
/** List CertificateRequests belonging to a Project or an Ingress. */
|
|
264
266
|
sslListCertificateRequests: new ApiCallAsyncResourceFactory(descriptors.sslListCertificateRequests, baseClient.domain.sslListCertificateRequests).getApiResource,
|
|
265
267
|
/** Get a CertificateRequest. */
|
|
266
268
|
sslGetCertificateRequest: new ApiCallAsyncResourceFactory(descriptors.sslGetCertificateRequest, baseClient.domain.sslGetCertificateRequest).getApiResource,
|
|
267
|
-
/** Get a Certificate. */
|
|
268
|
-
sslGetCertificate: new ApiCallAsyncResourceFactory(descriptors.sslGetCertificate, baseClient.domain.sslGetCertificate).getApiResource,
|
|
269
269
|
/** List Certificates belonging to a Project or an Ingress. */
|
|
270
270
|
sslListCertificates: new ApiCallAsyncResourceFactory(descriptors.sslListCertificates, baseClient.domain.sslListCertificates).getApiResource,
|
|
271
271
|
});
|
|
@@ -562,22 +562,22 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
562
562
|
ingressRequestIngressAcmeCertificateIssuance: this.requestFunctionFactory(descriptors.ingressRequestIngressAcmeCertificateIssuance),
|
|
563
563
|
/** Check the replacement of a Certificate. */
|
|
564
564
|
sslCheckReplaceCertificate: this.requestFunctionFactory(descriptors.sslCheckReplaceCertificate),
|
|
565
|
+
/** Get a Certificate. */
|
|
566
|
+
sslGetCertificate: this.requestFunctionFactory(descriptors.sslGetCertificate),
|
|
567
|
+
/** Update a Certificate. */
|
|
568
|
+
sslReplaceCertificate: this.requestFunctionFactory(descriptors.sslReplaceCertificate),
|
|
565
569
|
/** List CertificateRequests belonging to a Project or an Ingress. */
|
|
566
570
|
sslListCertificateRequests: this.requestFunctionFactory(descriptors.sslListCertificateRequests),
|
|
567
571
|
/** Create a CertificateRequest. */
|
|
568
572
|
sslCreateCertificateRequest: this.requestFunctionFactory(descriptors.sslCreateCertificateRequest),
|
|
569
|
-
/** Delete a CertificateRequest. */
|
|
570
|
-
sslDeleteCertificateRequest: this.requestFunctionFactory(descriptors.sslDeleteCertificateRequest),
|
|
571
|
-
/** Delete a Certificate. */
|
|
572
|
-
sslDeleteCertificate: this.requestFunctionFactory(descriptors.sslDeleteCertificate),
|
|
573
573
|
/** Get a CertificateRequest. */
|
|
574
574
|
sslGetCertificateRequest: this.requestFunctionFactory(descriptors.sslGetCertificateRequest),
|
|
575
|
-
/** Get a Certificate. */
|
|
576
|
-
sslGetCertificate: this.requestFunctionFactory(descriptors.sslGetCertificate),
|
|
577
|
-
/** Update a Certificate. */
|
|
578
|
-
sslReplaceCertificate: this.requestFunctionFactory(descriptors.sslReplaceCertificate),
|
|
579
575
|
/** List Certificates belonging to a Project or an Ingress. */
|
|
580
576
|
sslListCertificates: this.requestFunctionFactory(descriptors.sslListCertificates),
|
|
577
|
+
/** Delete a CertificateRequest. */
|
|
578
|
+
sslDeleteCertificateRequest: this.requestFunctionFactory(descriptors.sslDeleteCertificateRequest),
|
|
579
|
+
/** Delete a Certificate. */
|
|
580
|
+
sslDeleteCertificate: this.requestFunctionFactory(descriptors.sslDeleteCertificate),
|
|
581
581
|
};
|
|
582
582
|
/** The mail API allows you to manage your mail accounts. */
|
|
583
583
|
mail = {
|
|
@@ -2200,60 +2200,6 @@ export const sshUserUpdateSshUser = {
|
|
|
2200
2200
|
method: "PATCH",
|
|
2201
2201
|
operationId: "ssh-user-update-ssh-user",
|
|
2202
2202
|
};
|
|
2203
|
-
/** Check the replacement of a Certificate. */
|
|
2204
|
-
export const sslCheckReplaceCertificate = {
|
|
2205
|
-
path: "/v2/certificates/{certificateId}/actions/check-replace-certificate",
|
|
2206
|
-
method: "POST",
|
|
2207
|
-
operationId: "ssl-check-replace-certificate",
|
|
2208
|
-
};
|
|
2209
|
-
/** List CertificateRequests belonging to a Project or an Ingress. */
|
|
2210
|
-
export const sslListCertificateRequests = {
|
|
2211
|
-
path: "/v2/certificate-requests",
|
|
2212
|
-
method: "GET",
|
|
2213
|
-
operationId: "ssl-list-certificate-requests",
|
|
2214
|
-
};
|
|
2215
|
-
/** Create a CertificateRequest. */
|
|
2216
|
-
export const sslCreateCertificateRequest = {
|
|
2217
|
-
path: "/v2/certificate-requests",
|
|
2218
|
-
method: "POST",
|
|
2219
|
-
operationId: "ssl-create-certificate-request",
|
|
2220
|
-
};
|
|
2221
|
-
/** Delete a CertificateRequest. */
|
|
2222
|
-
export const sslDeleteCertificateRequest = {
|
|
2223
|
-
path: "/v2/certificate-request/{certificateRequestId}",
|
|
2224
|
-
method: "DELETE",
|
|
2225
|
-
operationId: "ssl-delete-certificate-request",
|
|
2226
|
-
};
|
|
2227
|
-
/** Delete a Certificate. */
|
|
2228
|
-
export const sslDeleteCertificate = {
|
|
2229
|
-
path: "/v2/certificate/{certificateId}",
|
|
2230
|
-
method: "DELETE",
|
|
2231
|
-
operationId: "ssl-delete-certificate",
|
|
2232
|
-
};
|
|
2233
|
-
/** Get a CertificateRequest. */
|
|
2234
|
-
export const sslGetCertificateRequest = {
|
|
2235
|
-
path: "/v2/certificate-requests/{certificateRequestId}",
|
|
2236
|
-
method: "GET",
|
|
2237
|
-
operationId: "ssl-get-certificate-request",
|
|
2238
|
-
};
|
|
2239
|
-
/** Get a Certificate. */
|
|
2240
|
-
export const sslGetCertificate = {
|
|
2241
|
-
path: "/v2/certificates/{certificateId}",
|
|
2242
|
-
method: "GET",
|
|
2243
|
-
operationId: "ssl-get-certificate",
|
|
2244
|
-
};
|
|
2245
|
-
/** Update a Certificate. */
|
|
2246
|
-
export const sslReplaceCertificate = {
|
|
2247
|
-
path: "/v2/certificates/{certificateId}",
|
|
2248
|
-
method: "PUT",
|
|
2249
|
-
operationId: "ssl-replace-certificate",
|
|
2250
|
-
};
|
|
2251
|
-
/** List Certificates belonging to a Project or an Ingress. */
|
|
2252
|
-
export const sslListCertificates = {
|
|
2253
|
-
path: "/v2/certificates",
|
|
2254
|
-
method: "GET",
|
|
2255
|
-
operationId: "ssl-list-certificates",
|
|
2256
|
-
};
|
|
2257
2203
|
/** Get storage space Statistics belonging to a Project. */
|
|
2258
2204
|
export const storagespaceGetProjectStatistics = {
|
|
2259
2205
|
path: "/v2/projects/{projectId}/storage-space-statistics",
|
|
@@ -2608,3 +2554,57 @@ export const verificationVerifyCompany = {
|
|
|
2608
2554
|
method: "POST",
|
|
2609
2555
|
operationId: "verification-verify-company",
|
|
2610
2556
|
};
|
|
2557
|
+
/** Check the replacement of a Certificate. */
|
|
2558
|
+
export const sslCheckReplaceCertificate = {
|
|
2559
|
+
path: "/v2/certificates/{certificateId}/actions/check-replace-certificate",
|
|
2560
|
+
method: "POST",
|
|
2561
|
+
operationId: "ssl-check-replace-certificate",
|
|
2562
|
+
};
|
|
2563
|
+
/** Get a Certificate. */
|
|
2564
|
+
export const sslGetCertificate = {
|
|
2565
|
+
path: "/v2/certificates/{certificateId}",
|
|
2566
|
+
method: "GET",
|
|
2567
|
+
operationId: "ssl-get-certificate",
|
|
2568
|
+
};
|
|
2569
|
+
/** Update a Certificate. */
|
|
2570
|
+
export const sslReplaceCertificate = {
|
|
2571
|
+
path: "/v2/certificates/{certificateId}",
|
|
2572
|
+
method: "PUT",
|
|
2573
|
+
operationId: "ssl-replace-certificate",
|
|
2574
|
+
};
|
|
2575
|
+
/** List CertificateRequests belonging to a Project or an Ingress. */
|
|
2576
|
+
export const sslListCertificateRequests = {
|
|
2577
|
+
path: "/v2/certificate-requests",
|
|
2578
|
+
method: "GET",
|
|
2579
|
+
operationId: "ssl-list-certificate-requests",
|
|
2580
|
+
};
|
|
2581
|
+
/** Create a CertificateRequest. */
|
|
2582
|
+
export const sslCreateCertificateRequest = {
|
|
2583
|
+
path: "/v2/certificate-requests",
|
|
2584
|
+
method: "POST",
|
|
2585
|
+
operationId: "ssl-create-certificate-request",
|
|
2586
|
+
};
|
|
2587
|
+
/** Get a CertificateRequest. */
|
|
2588
|
+
export const sslGetCertificateRequest = {
|
|
2589
|
+
path: "/v2/certificate-requests/{certificateRequestId}",
|
|
2590
|
+
method: "GET",
|
|
2591
|
+
operationId: "ssl-get-certificate-request",
|
|
2592
|
+
};
|
|
2593
|
+
/** List Certificates belonging to a Project or an Ingress. */
|
|
2594
|
+
export const sslListCertificates = {
|
|
2595
|
+
path: "/v2/certificates",
|
|
2596
|
+
method: "GET",
|
|
2597
|
+
operationId: "ssl-list-certificates",
|
|
2598
|
+
};
|
|
2599
|
+
/** Delete a CertificateRequest. */
|
|
2600
|
+
export const sslDeleteCertificateRequest = {
|
|
2601
|
+
path: "/v2/certificate-request/{certificateRequestId}",
|
|
2602
|
+
method: "DELETE",
|
|
2603
|
+
operationId: "ssl-delete-certificate-request",
|
|
2604
|
+
};
|
|
2605
|
+
/** Delete a Certificate. */
|
|
2606
|
+
export const sslDeleteCertificate = {
|
|
2607
|
+
path: "/v2/certificate/{certificateId}",
|
|
2608
|
+
method: "DELETE",
|
|
2609
|
+
operationId: "ssl-delete-certificate",
|
|
2610
|
+
};
|
package/dist/esm/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const MittwaldAPIClientVersion = '4.
|
|
1
|
+
export const MittwaldAPIClientVersion = '4.262.0';
|
|
@@ -1985,6 +1985,30 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1985
1985
|
projectId: string;
|
|
1986
1986
|
tls: import("./types.js").MittwaldAPIV2.Components.Schemas.IngressTlsAcme | import("./types.js").MittwaldAPIV2.Components.Schemas.IngressTlsCertificate;
|
|
1987
1987
|
}>;
|
|
1988
|
+
/** Get a Certificate. */
|
|
1989
|
+
sslGetCertificate: (conf: {
|
|
1990
|
+
certificateId: string;
|
|
1991
|
+
headers?: {
|
|
1992
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1993
|
+
"x-access-token"?: string | undefined;
|
|
1994
|
+
} | undefined;
|
|
1995
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
1996
|
+
caBundle?: string | undefined;
|
|
1997
|
+
certificate: string;
|
|
1998
|
+
certificateOrderId?: string | undefined;
|
|
1999
|
+
certificateRequestId: string;
|
|
2000
|
+
certificateType: import("./types.js").MittwaldAPIV2.Components.Schemas.SslCertificateType;
|
|
2001
|
+
commonName?: string | undefined;
|
|
2002
|
+
contact?: import("./types.js").MittwaldAPIV2.Components.Schemas.SslContact | undefined;
|
|
2003
|
+
dnsNames?: string[] | undefined;
|
|
2004
|
+
id: string;
|
|
2005
|
+
isExpired: boolean;
|
|
2006
|
+
issuer?: string | undefined;
|
|
2007
|
+
lastExpirationThresholdHit: number;
|
|
2008
|
+
projectId: string;
|
|
2009
|
+
validFrom: string;
|
|
2010
|
+
validTo: string;
|
|
2011
|
+
}>;
|
|
1988
2012
|
/** List CertificateRequests belonging to a Project or an Ingress. */
|
|
1989
2013
|
sslListCertificateRequests: (conf?: {
|
|
1990
2014
|
headers?: {
|
|
@@ -2018,30 +2042,6 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
2018
2042
|
validFrom?: string | undefined;
|
|
2019
2043
|
validTo?: string | undefined;
|
|
2020
2044
|
}>;
|
|
2021
|
-
/** Get a Certificate. */
|
|
2022
|
-
sslGetCertificate: (conf: {
|
|
2023
|
-
certificateId: string;
|
|
2024
|
-
headers?: {
|
|
2025
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
2026
|
-
"x-access-token"?: string | undefined;
|
|
2027
|
-
} | undefined;
|
|
2028
|
-
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
2029
|
-
caBundle?: string | undefined;
|
|
2030
|
-
certificate: string;
|
|
2031
|
-
certificateOrderId?: string | undefined;
|
|
2032
|
-
certificateRequestId: string;
|
|
2033
|
-
certificateType: import("./types.js").MittwaldAPIV2.Components.Schemas.SslCertificateType;
|
|
2034
|
-
commonName?: string | undefined;
|
|
2035
|
-
contact?: import("./types.js").MittwaldAPIV2.Components.Schemas.SslContact | undefined;
|
|
2036
|
-
dnsNames?: string[] | undefined;
|
|
2037
|
-
id: string;
|
|
2038
|
-
isExpired: boolean;
|
|
2039
|
-
issuer?: string | undefined;
|
|
2040
|
-
lastExpirationThresholdHit: number;
|
|
2041
|
-
projectId: string;
|
|
2042
|
-
validFrom: string;
|
|
2043
|
-
validTo: string;
|
|
2044
|
-
}>;
|
|
2045
2045
|
/** List Certificates belonging to a Project or an Ingress. */
|
|
2046
2046
|
sslListCertificates: (conf?: {
|
|
2047
2047
|
headers?: {
|