@mittwald/api-client 4.269.0 → 4.270.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 +12 -16
- package/dist/esm/generated/v2/descriptors.js +66 -78
- 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 +398 -486
- package/dist/types/generated/v2/descriptors.d.ts +22 -26
- package/dist/types/generated/v2/types.d.ts +1324 -1410
- 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,
|
|
265
263
|
/** List CertificateRequests belonging to a Project or an Ingress. */
|
|
266
264
|
sslListCertificateRequests: new ApiCallAsyncResourceFactory(descriptors.sslListCertificateRequests, baseClient.domain.sslListCertificateRequests).getApiResource,
|
|
267
265
|
/** Get a CertificateRequest. */
|
|
268
266
|
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
|
});
|
|
@@ -247,6 +247,10 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
247
247
|
extensionScheduleExtensionTermination: this.requestFunctionFactory(descriptors.extensionScheduleExtensionTermination),
|
|
248
248
|
/** Cancel an Extension Instance Termination. */
|
|
249
249
|
extensionCancelExtensionTermination: this.requestFunctionFactory(descriptors.extensionCancelExtensionTermination),
|
|
250
|
+
/** Schedule an Extension Instance Variant change for the next possible date. */
|
|
251
|
+
extensionScheduleExtensionVariantChange: this.requestFunctionFactory(descriptors.extensionScheduleExtensionVariantChange),
|
|
252
|
+
/** Cancel an Extension Instance Variant Change. */
|
|
253
|
+
extensionCancelExtensionVariantChange: this.requestFunctionFactory(descriptors.extensionCancelExtensionVariantChange),
|
|
250
254
|
/** Change the context of an Extension. */
|
|
251
255
|
extensionChangeContext: this.requestFunctionFactory(descriptors.extensionChangeContext),
|
|
252
256
|
/** Consent to extension scopes. */
|
|
@@ -327,14 +331,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
327
331
|
customerGetPaymentMethod: this.requestFunctionFactory(descriptors.marketplaceCustomerGetPaymentMethod),
|
|
328
332
|
/** Get the link to update the marketplace payment method */
|
|
329
333
|
customerUpdatePaymentMethod: this.requestFunctionFactory(descriptors.marketplaceCustomerUpdatePaymentMethod),
|
|
330
|
-
/** Reject a contributor verification request. */
|
|
331
|
-
contributorRejectContributorInternal: this.requestFunctionFactory(descriptors.contributorRejectContributorInternal),
|
|
332
|
-
/** Accept a contributor verification request */
|
|
333
|
-
contributorVerifyContributorInternal: this.requestFunctionFactory(descriptors.contributorVerifyContributorInternal),
|
|
334
|
-
/** Schedule an Extension Instance Variant change for the next possible date. */
|
|
335
|
-
extensionScheduleExtensionVariantChange: this.requestFunctionFactory(descriptors.extensionScheduleExtensionVariantChange),
|
|
336
|
-
/** Cancel an Extension Instance Variant Change. */
|
|
337
|
-
extensionCancelExtensionVariantChange: this.requestFunctionFactory(descriptors.extensionCancelExtensionVariantChange),
|
|
338
334
|
};
|
|
339
335
|
/** The conversation API allows you to manage your support conversations. */
|
|
340
336
|
conversation = {
|
|
@@ -570,22 +566,22 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
570
566
|
ingressRequestIngressAcmeCertificateIssuance: this.requestFunctionFactory(descriptors.ingressRequestIngressAcmeCertificateIssuance),
|
|
571
567
|
/** Check the replacement of a Certificate. */
|
|
572
568
|
sslCheckReplaceCertificate: this.requestFunctionFactory(descriptors.sslCheckReplaceCertificate),
|
|
573
|
-
/** Get a Certificate. */
|
|
574
|
-
sslGetCertificate: this.requestFunctionFactory(descriptors.sslGetCertificate),
|
|
575
|
-
/** Update a Certificate. */
|
|
576
|
-
sslReplaceCertificate: this.requestFunctionFactory(descriptors.sslReplaceCertificate),
|
|
577
569
|
/** List CertificateRequests belonging to a Project or an Ingress. */
|
|
578
570
|
sslListCertificateRequests: this.requestFunctionFactory(descriptors.sslListCertificateRequests),
|
|
579
571
|
/** Create a CertificateRequest. */
|
|
580
572
|
sslCreateCertificateRequest: this.requestFunctionFactory(descriptors.sslCreateCertificateRequest),
|
|
581
|
-
/** Get a CertificateRequest. */
|
|
582
|
-
sslGetCertificateRequest: this.requestFunctionFactory(descriptors.sslGetCertificateRequest),
|
|
583
|
-
/** List Certificates belonging to a Project or an Ingress. */
|
|
584
|
-
sslListCertificates: this.requestFunctionFactory(descriptors.sslListCertificates),
|
|
585
573
|
/** Delete a CertificateRequest. */
|
|
586
574
|
sslDeleteCertificateRequest: this.requestFunctionFactory(descriptors.sslDeleteCertificateRequest),
|
|
587
575
|
/** Delete a Certificate. */
|
|
588
576
|
sslDeleteCertificate: this.requestFunctionFactory(descriptors.sslDeleteCertificate),
|
|
577
|
+
/** Get a CertificateRequest. */
|
|
578
|
+
sslGetCertificateRequest: this.requestFunctionFactory(descriptors.sslGetCertificateRequest),
|
|
579
|
+
/** Get a Certificate. */
|
|
580
|
+
sslGetCertificate: this.requestFunctionFactory(descriptors.sslGetCertificate),
|
|
581
|
+
/** Update a Certificate. */
|
|
582
|
+
sslReplaceCertificate: this.requestFunctionFactory(descriptors.sslReplaceCertificate),
|
|
583
|
+
/** List Certificates belonging to a Project or an Ingress. */
|
|
584
|
+
sslListCertificates: this.requestFunctionFactory(descriptors.sslListCertificates),
|
|
589
585
|
};
|
|
590
586
|
/** The mail API allows you to manage your mail accounts. */
|
|
591
587
|
mail = {
|
|
@@ -1258,6 +1258,18 @@ export const extensionCancelExtensionTermination = {
|
|
|
1258
1258
|
method: "DELETE",
|
|
1259
1259
|
operationId: "extension-cancel-extension-termination",
|
|
1260
1260
|
};
|
|
1261
|
+
/** Schedule an Extension Instance Variant change for the next possible date. */
|
|
1262
|
+
export const extensionScheduleExtensionVariantChange = {
|
|
1263
|
+
path: "/v2/extension-instances/{extensionInstanceId}/contract/variant-change",
|
|
1264
|
+
method: "POST",
|
|
1265
|
+
operationId: "extension-schedule-extension-variant-change",
|
|
1266
|
+
};
|
|
1267
|
+
/** Cancel an Extension Instance Variant Change. */
|
|
1268
|
+
export const extensionCancelExtensionVariantChange = {
|
|
1269
|
+
path: "/v2/extension-instances/{extensionInstanceId}/contract/variant-change",
|
|
1270
|
+
method: "DELETE",
|
|
1271
|
+
operationId: "extension-cancel-extension-variant-change",
|
|
1272
|
+
};
|
|
1261
1273
|
/** Change the context of an Extension. */
|
|
1262
1274
|
export const extensionChangeContext = {
|
|
1263
1275
|
path: "/v2/contributors/{contributorId}/extensions/{extensionId}/context",
|
|
@@ -2200,6 +2212,60 @@ export const sshUserUpdateSshUser = {
|
|
|
2200
2212
|
method: "PATCH",
|
|
2201
2213
|
operationId: "ssh-user-update-ssh-user",
|
|
2202
2214
|
};
|
|
2215
|
+
/** Check the replacement of a Certificate. */
|
|
2216
|
+
export const sslCheckReplaceCertificate = {
|
|
2217
|
+
path: "/v2/certificates/{certificateId}/actions/check-replace-certificate",
|
|
2218
|
+
method: "POST",
|
|
2219
|
+
operationId: "ssl-check-replace-certificate",
|
|
2220
|
+
};
|
|
2221
|
+
/** List CertificateRequests belonging to a Project or an Ingress. */
|
|
2222
|
+
export const sslListCertificateRequests = {
|
|
2223
|
+
path: "/v2/certificate-requests",
|
|
2224
|
+
method: "GET",
|
|
2225
|
+
operationId: "ssl-list-certificate-requests",
|
|
2226
|
+
};
|
|
2227
|
+
/** Create a CertificateRequest. */
|
|
2228
|
+
export const sslCreateCertificateRequest = {
|
|
2229
|
+
path: "/v2/certificate-requests",
|
|
2230
|
+
method: "POST",
|
|
2231
|
+
operationId: "ssl-create-certificate-request",
|
|
2232
|
+
};
|
|
2233
|
+
/** Delete a CertificateRequest. */
|
|
2234
|
+
export const sslDeleteCertificateRequest = {
|
|
2235
|
+
path: "/v2/certificate-request/{certificateRequestId}",
|
|
2236
|
+
method: "DELETE",
|
|
2237
|
+
operationId: "ssl-delete-certificate-request",
|
|
2238
|
+
};
|
|
2239
|
+
/** Delete a Certificate. */
|
|
2240
|
+
export const sslDeleteCertificate = {
|
|
2241
|
+
path: "/v2/certificate/{certificateId}",
|
|
2242
|
+
method: "DELETE",
|
|
2243
|
+
operationId: "ssl-delete-certificate",
|
|
2244
|
+
};
|
|
2245
|
+
/** Get a CertificateRequest. */
|
|
2246
|
+
export const sslGetCertificateRequest = {
|
|
2247
|
+
path: "/v2/certificate-requests/{certificateRequestId}",
|
|
2248
|
+
method: "GET",
|
|
2249
|
+
operationId: "ssl-get-certificate-request",
|
|
2250
|
+
};
|
|
2251
|
+
/** Get a Certificate. */
|
|
2252
|
+
export const sslGetCertificate = {
|
|
2253
|
+
path: "/v2/certificates/{certificateId}",
|
|
2254
|
+
method: "GET",
|
|
2255
|
+
operationId: "ssl-get-certificate",
|
|
2256
|
+
};
|
|
2257
|
+
/** Update a Certificate. */
|
|
2258
|
+
export const sslReplaceCertificate = {
|
|
2259
|
+
path: "/v2/certificates/{certificateId}",
|
|
2260
|
+
method: "PUT",
|
|
2261
|
+
operationId: "ssl-replace-certificate",
|
|
2262
|
+
};
|
|
2263
|
+
/** List Certificates belonging to a Project or an Ingress. */
|
|
2264
|
+
export const sslListCertificates = {
|
|
2265
|
+
path: "/v2/certificates",
|
|
2266
|
+
method: "GET",
|
|
2267
|
+
operationId: "ssl-list-certificates",
|
|
2268
|
+
};
|
|
2203
2269
|
/** Get storage space Statistics belonging to a Project. */
|
|
2204
2270
|
export const storagespaceGetProjectStatistics = {
|
|
2205
2271
|
path: "/v2/projects/{projectId}/storage-space-statistics",
|
|
@@ -2554,81 +2620,3 @@ export const verificationVerifyCompany = {
|
|
|
2554
2620
|
method: "POST",
|
|
2555
2621
|
operationId: "verification-verify-company",
|
|
2556
2622
|
};
|
|
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
|
-
};
|
|
2611
|
-
/** Reject a contributor verification request. */
|
|
2612
|
-
export const contributorRejectContributorInternal = {
|
|
2613
|
-
path: "/internal-v2/contributors/{contributorId}/actions/reject",
|
|
2614
|
-
method: "POST",
|
|
2615
|
-
operationId: "contributor-reject-contributor-internal",
|
|
2616
|
-
};
|
|
2617
|
-
/** Accept a contributor verification request */
|
|
2618
|
-
export const contributorVerifyContributorInternal = {
|
|
2619
|
-
path: "/internal-v2/contributors/{contributorId}/actions/verify",
|
|
2620
|
-
method: "POST",
|
|
2621
|
-
operationId: "contributor-verify-contributor-internal",
|
|
2622
|
-
};
|
|
2623
|
-
/** Schedule an Extension Instance Variant change for the next possible date. */
|
|
2624
|
-
export const extensionScheduleExtensionVariantChange = {
|
|
2625
|
-
path: "/v2/extension-instances/{extensionInstanceId}/contract/variant-change",
|
|
2626
|
-
method: "POST",
|
|
2627
|
-
operationId: "extension-schedule-extension-variant-change",
|
|
2628
|
-
};
|
|
2629
|
-
/** Cancel an Extension Instance Variant Change. */
|
|
2630
|
-
export const extensionCancelExtensionVariantChange = {
|
|
2631
|
-
path: "/v2/extension-instances/{extensionInstanceId}/contract/variant-change",
|
|
2632
|
-
method: "DELETE",
|
|
2633
|
-
operationId: "extension-cancel-extension-variant-change",
|
|
2634
|
-
};
|
package/dist/esm/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const MittwaldAPIClientVersion = '4.
|
|
1
|
+
export const MittwaldAPIClientVersion = '4.269.0';
|
|
@@ -1990,30 +1990,6 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1990
1990
|
projectId: string;
|
|
1991
1991
|
tls: import("./types.js").MittwaldAPIV2.Components.Schemas.IngressTlsAcme | import("./types.js").MittwaldAPIV2.Components.Schemas.IngressTlsCertificate;
|
|
1992
1992
|
}>;
|
|
1993
|
-
/** Get a Certificate. */
|
|
1994
|
-
sslGetCertificate: (conf: {
|
|
1995
|
-
certificateId: string;
|
|
1996
|
-
headers?: {
|
|
1997
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1998
|
-
"x-access-token"?: string | undefined;
|
|
1999
|
-
} | undefined;
|
|
2000
|
-
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
2001
|
-
caBundle?: string | undefined;
|
|
2002
|
-
certificate: string;
|
|
2003
|
-
certificateOrderId?: string | undefined;
|
|
2004
|
-
certificateRequestId: string;
|
|
2005
|
-
certificateType: import("./types.js").MittwaldAPIV2.Components.Schemas.SslCertificateType;
|
|
2006
|
-
commonName?: string | undefined;
|
|
2007
|
-
contact?: import("./types.js").MittwaldAPIV2.Components.Schemas.SslContact | undefined;
|
|
2008
|
-
dnsNames?: string[] | undefined;
|
|
2009
|
-
id: string;
|
|
2010
|
-
isExpired: boolean;
|
|
2011
|
-
issuer?: string | undefined;
|
|
2012
|
-
lastExpirationThresholdHit: number;
|
|
2013
|
-
projectId: string;
|
|
2014
|
-
validFrom: string;
|
|
2015
|
-
validTo: string;
|
|
2016
|
-
}>;
|
|
2017
1993
|
/** List CertificateRequests belonging to a Project or an Ingress. */
|
|
2018
1994
|
sslListCertificateRequests: (conf?: {
|
|
2019
1995
|
headers?: {
|
|
@@ -2047,6 +2023,30 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
2047
2023
|
validFrom?: string | undefined;
|
|
2048
2024
|
validTo?: string | undefined;
|
|
2049
2025
|
}>;
|
|
2026
|
+
/** Get a Certificate. */
|
|
2027
|
+
sslGetCertificate: (conf: {
|
|
2028
|
+
certificateId: string;
|
|
2029
|
+
headers?: {
|
|
2030
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
2031
|
+
"x-access-token"?: string | undefined;
|
|
2032
|
+
} | undefined;
|
|
2033
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
2034
|
+
caBundle?: string | undefined;
|
|
2035
|
+
certificate: string;
|
|
2036
|
+
certificateOrderId?: string | undefined;
|
|
2037
|
+
certificateRequestId: string;
|
|
2038
|
+
certificateType: import("./types.js").MittwaldAPIV2.Components.Schemas.SslCertificateType;
|
|
2039
|
+
commonName?: string | undefined;
|
|
2040
|
+
contact?: import("./types.js").MittwaldAPIV2.Components.Schemas.SslContact | undefined;
|
|
2041
|
+
dnsNames?: string[] | undefined;
|
|
2042
|
+
id: string;
|
|
2043
|
+
isExpired: boolean;
|
|
2044
|
+
issuer?: string | undefined;
|
|
2045
|
+
lastExpirationThresholdHit: number;
|
|
2046
|
+
projectId: string;
|
|
2047
|
+
validFrom: string;
|
|
2048
|
+
validTo: string;
|
|
2049
|
+
}>;
|
|
2050
2050
|
/** List Certificates belonging to a Project or an Ingress. */
|
|
2051
2051
|
sslListCertificates: (conf?: {
|
|
2052
2052
|
headers?: {
|