@mittwald/api-client 4.268.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 -12
- package/dist/esm/generated/v2/descriptors.js +66 -66
- package/dist/esm/version.js +1 -1
- package/dist/types/generated/v2/client-react.d.ts +29 -24
- package/dist/types/generated/v2/client.d.ts +331 -290
- package/dist/types/generated/v2/descriptors.d.ts +22 -22
- package/dist/types/generated/v2/types.d.ts +1294 -1250
- 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,10 +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
334
|
};
|
|
335
335
|
/** The conversation API allows you to manage your support conversations. */
|
|
336
336
|
conversation = {
|
|
@@ -566,22 +566,22 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
566
566
|
ingressRequestIngressAcmeCertificateIssuance: this.requestFunctionFactory(descriptors.ingressRequestIngressAcmeCertificateIssuance),
|
|
567
567
|
/** Check the replacement of a Certificate. */
|
|
568
568
|
sslCheckReplaceCertificate: this.requestFunctionFactory(descriptors.sslCheckReplaceCertificate),
|
|
569
|
-
/** Get a Certificate. */
|
|
570
|
-
sslGetCertificate: this.requestFunctionFactory(descriptors.sslGetCertificate),
|
|
571
|
-
/** Update a Certificate. */
|
|
572
|
-
sslReplaceCertificate: this.requestFunctionFactory(descriptors.sslReplaceCertificate),
|
|
573
569
|
/** List CertificateRequests belonging to a Project or an Ingress. */
|
|
574
570
|
sslListCertificateRequests: this.requestFunctionFactory(descriptors.sslListCertificateRequests),
|
|
575
571
|
/** Create a CertificateRequest. */
|
|
576
572
|
sslCreateCertificateRequest: this.requestFunctionFactory(descriptors.sslCreateCertificateRequest),
|
|
577
|
-
/** Get a CertificateRequest. */
|
|
578
|
-
sslGetCertificateRequest: this.requestFunctionFactory(descriptors.sslGetCertificateRequest),
|
|
579
|
-
/** List Certificates belonging to a Project or an Ingress. */
|
|
580
|
-
sslListCertificates: this.requestFunctionFactory(descriptors.sslListCertificates),
|
|
581
573
|
/** Delete a CertificateRequest. */
|
|
582
574
|
sslDeleteCertificateRequest: this.requestFunctionFactory(descriptors.sslDeleteCertificateRequest),
|
|
583
575
|
/** Delete a Certificate. */
|
|
584
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),
|
|
585
585
|
};
|
|
586
586
|
/** The mail API allows you to manage your mail accounts. */
|
|
587
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,69 +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
|
-
};
|
package/dist/esm/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const MittwaldAPIClientVersion = '4.
|
|
1
|
+
export const MittwaldAPIClientVersion = '4.269.0';
|
|
@@ -1132,9 +1132,14 @@ declare const buildMarketplaceApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1132
1132
|
"x-access-token"?: string | undefined;
|
|
1133
1133
|
} | undefined;
|
|
1134
1134
|
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
1135
|
+
contractPeriodEndDate?: string | undefined;
|
|
1135
1136
|
currentPrice?: number | undefined;
|
|
1136
1137
|
interactionDeadline?: string | undefined;
|
|
1137
1138
|
interactionRequired: boolean;
|
|
1139
|
+
pendingVariantChange?: {
|
|
1140
|
+
effectiveDate: string;
|
|
1141
|
+
targetVariantKey: string;
|
|
1142
|
+
} | undefined;
|
|
1138
1143
|
status: "notStarted" | "pending" | "active" | "terminationPending";
|
|
1139
1144
|
terminationTargetDate?: string | undefined;
|
|
1140
1145
|
variantDescription?: string | undefined;
|
|
@@ -1985,30 +1990,6 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1985
1990
|
projectId: string;
|
|
1986
1991
|
tls: import("./types.js").MittwaldAPIV2.Components.Schemas.IngressTlsAcme | import("./types.js").MittwaldAPIV2.Components.Schemas.IngressTlsCertificate;
|
|
1987
1992
|
}>;
|
|
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
|
-
}>;
|
|
2012
1993
|
/** List CertificateRequests belonging to a Project or an Ingress. */
|
|
2013
1994
|
sslListCertificateRequests: (conf?: {
|
|
2014
1995
|
headers?: {
|
|
@@ -2042,6 +2023,30 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
2042
2023
|
validFrom?: string | undefined;
|
|
2043
2024
|
validTo?: string | undefined;
|
|
2044
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
|
+
}>;
|
|
2045
2050
|
/** List Certificates belonging to a Project or an Ingress. */
|
|
2046
2051
|
sslListCertificates: (conf?: {
|
|
2047
2052
|
headers?: {
|