@mittwald/api-client 0.0.0-development-f311f07-20240822 → 0.0.0-development-e096ee7-20240924
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 +14 -6
- package/dist/esm/generated/v2/client.js +65 -49
- package/dist/esm/generated/v2/descriptors.js +97 -49
- package/dist/esm/index.js +2 -1
- package/dist/esm/version.js +1 -1
- package/dist/types/generated/v2/client-react.d.ts +166 -26
- package/dist/types/generated/v2/client.d.ts +14171 -3985
- package/dist/types/generated/v2/descriptors.d.ts +368 -352
- package/dist/types/generated/v2/types.d.ts +3838 -655
- package/dist/types/index.d.ts +2 -1
- package/dist/types/version.d.ts +1 -1
- package/package.json +6 -6
|
@@ -74,6 +74,8 @@ const buildContainerApi = (baseClient) => ({
|
|
|
74
74
|
const buildContractApi = (baseClient) => ({
|
|
75
75
|
/** Return the BaseItem of the Contract with the given ID. */
|
|
76
76
|
getBaseItemOfContract: new ApiCallAsyncResourceFactory(descriptors.contractGetBaseItemOfContract, baseClient.contract.getBaseItemOfContract).getApiResource,
|
|
77
|
+
/** Return the Contract for the given Certificate. */
|
|
78
|
+
getDetailOfContractByCertificate: new ApiCallAsyncResourceFactory(descriptors.contractGetDetailOfContractByCertificate, baseClient.contract.getDetailOfContractByCertificate).getApiResource,
|
|
77
79
|
/** Return the Contract for the given Domain. */
|
|
78
80
|
getDetailOfContractByDomain: new ApiCallAsyncResourceFactory(descriptors.contractGetDetailOfContractByDomain, baseClient.contract.getDetailOfContractByDomain).getApiResource,
|
|
79
81
|
/** Return the Contract for the given Project. */
|
|
@@ -134,12 +136,8 @@ const buildCronjobApi = (baseClient) => ({
|
|
|
134
136
|
getExecution: new ApiCallAsyncResourceFactory(descriptors.cronjobGetExecution, baseClient.cronjob.getExecution).getApiResource,
|
|
135
137
|
});
|
|
136
138
|
const buildCustomerApi = (baseClient) => ({
|
|
137
|
-
/** Get all customer categories. */
|
|
138
|
-
listOfCustomerCategories: new ApiCallAsyncResourceFactory(descriptors.customerListOfCustomerCategories, baseClient.customer.listOfCustomerCategories).getApiResource,
|
|
139
139
|
/** Get all customer profiles the authenticated user has access to. */
|
|
140
140
|
listCustomers: new ApiCallAsyncResourceFactory(descriptors.customerListCustomers, baseClient.customer.listCustomers).getApiResource,
|
|
141
|
-
/** Get a customer category. */
|
|
142
|
-
getCustomerCategory: new ApiCallAsyncResourceFactory(descriptors.customerGetCustomerCategory, baseClient.customer.getCustomerCategory).getApiResource,
|
|
143
141
|
/** Get a CustomerInvite. */
|
|
144
142
|
getCustomerInvite: new ApiCallAsyncResourceFactory(descriptors.customerGetCustomerInvite, baseClient.customer.getCustomerInvite).getApiResource,
|
|
145
143
|
/** Get a CustomerMembership. */
|
|
@@ -196,10 +194,20 @@ const buildDomainApi = (baseClient) => ({
|
|
|
196
194
|
listTldContactSchemas: new ApiCallAsyncResourceFactory(descriptors.domainListTldContactSchemas, baseClient.domain.listTldContactSchemas).getApiResource,
|
|
197
195
|
/** List TLDs. */
|
|
198
196
|
listTlds: new ApiCallAsyncResourceFactory(descriptors.domainListTlds, baseClient.domain.listTlds).getApiResource,
|
|
197
|
+
/** Suggest a list of domains based on a prompt using AI. */
|
|
198
|
+
suggest: new ApiCallAsyncResourceFactory(descriptors.domainSuggest, baseClient.domain.suggest).getApiResource,
|
|
199
199
|
/** List Ingresses. */
|
|
200
200
|
ingressListIngresses: new ApiCallAsyncResourceFactory(descriptors.ingressListIngresses, baseClient.domain.ingressListIngresses).getApiResource,
|
|
201
201
|
/** Get an Ingress. */
|
|
202
202
|
ingressGetIngress: new ApiCallAsyncResourceFactory(descriptors.ingressGetIngress, baseClient.domain.ingressGetIngress).getApiResource,
|
|
203
|
+
/** List CertificateRequests belonging to a Project or an Ingress. */
|
|
204
|
+
sslListCertificateRequests: new ApiCallAsyncResourceFactory(descriptors.sslListCertificateRequests, baseClient.domain.sslListCertificateRequests).getApiResource,
|
|
205
|
+
/** Get a CertificateRequest. */
|
|
206
|
+
sslGetCertificateRequest: new ApiCallAsyncResourceFactory(descriptors.sslGetCertificateRequest, baseClient.domain.sslGetCertificateRequest).getApiResource,
|
|
207
|
+
/** Get a Certificate. */
|
|
208
|
+
sslGetCertificate: new ApiCallAsyncResourceFactory(descriptors.sslGetCertificate, baseClient.domain.sslGetCertificate).getApiResource,
|
|
209
|
+
/** List Certificates belonging to a Project or an Ingress. */
|
|
210
|
+
sslListCertificates: new ApiCallAsyncResourceFactory(descriptors.sslListCertificates, baseClient.domain.sslListCertificates).getApiResource,
|
|
203
211
|
});
|
|
204
212
|
const buildMarketplaceApi = (baseClient) => ({
|
|
205
213
|
/** List ExtensionInstances. */
|
|
@@ -226,7 +234,7 @@ const buildFileApi = (baseClient) => ({
|
|
|
226
234
|
getFileUploadTypeRules: new ApiCallAsyncResourceFactory(descriptors.fileGetFileUploadTypeRules, baseClient.file.getFileUploadTypeRules).getApiResource,
|
|
227
235
|
/** Get a File. */
|
|
228
236
|
getFile: new ApiCallAsyncResourceFactory(descriptors.fileGetFile, baseClient.file.getFile).getApiResource,
|
|
229
|
-
/** Get a File. */
|
|
237
|
+
/** Get a File with user-friendly url. */
|
|
230
238
|
getFileWithName: new ApiCallAsyncResourceFactory(descriptors.fileGetFileWithName, baseClient.file.getFileWithName).getApiResource,
|
|
231
239
|
});
|
|
232
240
|
const buildMailApi = (baseClient) => ({
|
|
@@ -362,7 +370,7 @@ export class MittwaldAPIV2ClientReact {
|
|
|
362
370
|
customer;
|
|
363
371
|
/** The database API allows you to manage your databases, like MySQL and Redis databases. */
|
|
364
372
|
database;
|
|
365
|
-
/** The domain API allows you to manage your domains, DNS records and ingress resources. */
|
|
373
|
+
/** The domain API allows you to manage your domains, DNS records, SSL certificates and ingress resources. */
|
|
366
374
|
domain;
|
|
367
375
|
/** The marketplace API allows you to manage extensions and more information regaring the marketplace. */
|
|
368
376
|
marketplace;
|
|
@@ -44,6 +44,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
44
44
|
listSystemsoftwareversions: this.requestFunctionFactory(descriptors.appListSystemsoftwareversions),
|
|
45
45
|
/** List update candidates belonging to an AppVersion. */
|
|
46
46
|
listUpdateCandidatesForAppversion: this.requestFunctionFactory(descriptors.appListUpdateCandidatesForAppversion),
|
|
47
|
+
/** Replace a MySQL Database with another MySQL Database. */
|
|
48
|
+
replaceDatabase: this.requestFunctionFactory(descriptors.appReplaceDatabase),
|
|
47
49
|
/** Request a copy of an AppInstallation. */
|
|
48
50
|
requestAppinstallationCopy: this.requestFunctionFactory(descriptors.appRequestAppinstallationCopy),
|
|
49
51
|
/** Get runtime status belonging to an AppInstallation. */
|
|
@@ -148,6 +150,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
148
150
|
cancelContractTermination: this.requestFunctionFactory(descriptors.contractCancelContractTermination),
|
|
149
151
|
/** Return the BaseItem of the Contract with the given ID. */
|
|
150
152
|
getBaseItemOfContract: this.requestFunctionFactory(descriptors.contractGetBaseItemOfContract),
|
|
153
|
+
/** Return the Contract for the given Certificate. */
|
|
154
|
+
getDetailOfContractByCertificate: this.requestFunctionFactory(descriptors.contractGetDetailOfContractByCertificate),
|
|
151
155
|
/** Return the Contract for the given Domain. */
|
|
152
156
|
getDetailOfContractByDomain: this.requestFunctionFactory(descriptors.contractGetDetailOfContractByDomain),
|
|
153
157
|
/** Return the Contract for the given Project. */
|
|
@@ -189,6 +193,41 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
189
193
|
/** Preview TariffChange. */
|
|
190
194
|
orderPreviewTariffChange: this.requestFunctionFactory(descriptors.orderPreviewTariffChange),
|
|
191
195
|
};
|
|
196
|
+
/** The marketplace API allows you to manage extensions and more information regaring the marketplace. */
|
|
197
|
+
marketplace = {
|
|
198
|
+
/** Rotate the secret for an extension instance. */
|
|
199
|
+
contributorRotateSecretForExtensionInstance: this.requestFunctionFactory(descriptors.contributorRotateSecretForExtensionInstance),
|
|
200
|
+
/** Authenticate your external application using the extensionInstanceSecret. */
|
|
201
|
+
extensionAuthenticateInstance: this.requestFunctionFactory(descriptors.extensionAuthenticateInstance),
|
|
202
|
+
/** Consent to extension scopes. */
|
|
203
|
+
extensionConsentToExtensionScopes: this.requestFunctionFactory(descriptors.extensionConsentToExtensionScopes),
|
|
204
|
+
/** List ExtensionInstances. */
|
|
205
|
+
extensionListExtensionInstances: this.requestFunctionFactory(descriptors.extensionListExtensionInstances),
|
|
206
|
+
/** Create an ExtensionInstance. */
|
|
207
|
+
extensionCreateExtensionInstance: this.requestFunctionFactory(descriptors.extensionCreateExtensionInstance),
|
|
208
|
+
/** Create an access token retrieval key for an extension instance. */
|
|
209
|
+
extensionCreateRetrievalKey: this.requestFunctionFactory(descriptors.extensionCreateRetrievalKey),
|
|
210
|
+
/** Get an ExtensionInstance. */
|
|
211
|
+
extensionGetExtensionInstance: this.requestFunctionFactory(descriptors.extensionGetExtensionInstance),
|
|
212
|
+
/** Delete an ExtensionInstance. */
|
|
213
|
+
extensionDeleteExtensionInstance: this.requestFunctionFactory(descriptors.extensionDeleteExtensionInstance),
|
|
214
|
+
/** Disable an ExtensionInstance. */
|
|
215
|
+
extensionDisableExtensionInstance: this.requestFunctionFactory(descriptors.extensionDisableExtensionInstance),
|
|
216
|
+
/** Dry run a webhook with random or given values. */
|
|
217
|
+
extensionDryRunWebhook: this.requestFunctionFactory(descriptors.extensionDryRunWebhook),
|
|
218
|
+
/** Enable an ExtensionInstance. */
|
|
219
|
+
extensionEnableExtensionInstance: this.requestFunctionFactory(descriptors.extensionEnableExtensionInstance),
|
|
220
|
+
/** Get a Contributor. */
|
|
221
|
+
extensionGetContributor: this.requestFunctionFactory(descriptors.extensionGetContributor),
|
|
222
|
+
/** Get an Extension. */
|
|
223
|
+
extensionGetExtension: this.requestFunctionFactory(descriptors.extensionGetExtension),
|
|
224
|
+
/** Get the public key to verify the webhook signature. */
|
|
225
|
+
extensionGetPublicKey: this.requestFunctionFactory(descriptors.extensionGetPublicKey),
|
|
226
|
+
/** List Contributors. */
|
|
227
|
+
extensionListContributors: this.requestFunctionFactory(descriptors.extensionListContributors),
|
|
228
|
+
/** List Extensions. */
|
|
229
|
+
extensionListExtensions: this.requestFunctionFactory(descriptors.extensionListExtensions),
|
|
230
|
+
};
|
|
192
231
|
/** The conversation API allows you to manage your support conversations. */
|
|
193
232
|
conversation = {
|
|
194
233
|
/** Get all conversation the authenticated user has created or has access to. */
|
|
@@ -247,10 +286,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
247
286
|
customer = {
|
|
248
287
|
/** Accept a CustomerInvite. */
|
|
249
288
|
acceptCustomerInvite: this.requestFunctionFactory(descriptors.customerAcceptCustomerInvite),
|
|
250
|
-
/** Get all customer categories. */
|
|
251
|
-
listOfCustomerCategories: this.requestFunctionFactory(descriptors.customerListOfCustomerCategories),
|
|
252
|
-
/** Create a new customer category. */
|
|
253
|
-
createCategory: this.requestFunctionFactory(descriptors.customerCreateCategory),
|
|
254
289
|
/** Create a CustomerInvite. */
|
|
255
290
|
createCustomerInvite: this.requestFunctionFactory(descriptors.customerCreateCustomerInvite),
|
|
256
291
|
/** Get all customer profiles the authenticated user has access to. */
|
|
@@ -259,12 +294,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
259
294
|
createCustomer: this.requestFunctionFactory(descriptors.customerCreateCustomer),
|
|
260
295
|
/** Decline a CustomerInvite. */
|
|
261
296
|
declineCustomerInvite: this.requestFunctionFactory(descriptors.customerDeclineCustomerInvite),
|
|
262
|
-
/** Get a customer category. */
|
|
263
|
-
getCustomerCategory: this.requestFunctionFactory(descriptors.customerGetCustomerCategory),
|
|
264
|
-
/** Update a customer category. */
|
|
265
|
-
updateCategory: this.requestFunctionFactory(descriptors.customerUpdateCategory),
|
|
266
|
-
/** Delete a customer category. */
|
|
267
|
-
deleteCategory: this.requestFunctionFactory(descriptors.customerDeleteCategory),
|
|
268
297
|
/** Get a CustomerInvite. */
|
|
269
298
|
getCustomerInvite: this.requestFunctionFactory(descriptors.customerGetCustomerInvite),
|
|
270
299
|
/** Delete a CustomerInvite. */
|
|
@@ -370,7 +399,7 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
370
399
|
/** Mark notification as read. */
|
|
371
400
|
sreadNotification: this.requestFunctionFactory(descriptors.notificationsReadNotification),
|
|
372
401
|
};
|
|
373
|
-
/** The domain API allows you to manage your domains, DNS records and ingress resources. */
|
|
402
|
+
/** The domain API allows you to manage your domains, DNS records, SSL certificates and ingress resources. */
|
|
374
403
|
domain = {
|
|
375
404
|
/** Create a DNSZone. */
|
|
376
405
|
dnsCreateDnsZone: this.requestFunctionFactory(descriptors.dnsCreateDnsZone),
|
|
@@ -400,10 +429,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
400
429
|
getDomain: this.requestFunctionFactory(descriptors.domainGetDomain),
|
|
401
430
|
/** Delete a Domain. */
|
|
402
431
|
deleteDomain: this.requestFunctionFactory(descriptors.domainDeleteDomain),
|
|
403
|
-
/** Generate a list of domains from an input using AI. */
|
|
404
|
-
generateFromInput: this.requestFunctionFactory(descriptors.domainGenerateFromInput),
|
|
405
|
-
/** Generate a list of domains from an input using AI, based on previously generated Domains and a context modification. */
|
|
406
|
-
generateInContext: this.requestFunctionFactory(descriptors.domainGenerateInContext),
|
|
407
432
|
/** Get the latest screenshot's FileReference belonging to a Domain. */
|
|
408
433
|
getLatestScreenshot: this.requestFunctionFactory(descriptors.domainGetLatestScreenshot),
|
|
409
434
|
/** List the contact schemas for a TLD. */
|
|
@@ -412,6 +437,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
412
437
|
listTlds: this.requestFunctionFactory(descriptors.domainListTlds),
|
|
413
438
|
/** Resend a Domain email. */
|
|
414
439
|
resendDomainEmail: this.requestFunctionFactory(descriptors.domainResendDomainEmail),
|
|
440
|
+
/** Suggest a list of domains based on a prompt using AI. */
|
|
441
|
+
suggest: this.requestFunctionFactory(descriptors.domainSuggest),
|
|
415
442
|
/** Update the auth code of a Domain. */
|
|
416
443
|
updateDomainAuthCode: this.requestFunctionFactory(descriptors.domainUpdateDomainAuthCode),
|
|
417
444
|
/** Update a contact of a Domain. */
|
|
@@ -428,45 +455,34 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
428
455
|
ingressDeleteIngress: this.requestFunctionFactory(descriptors.ingressDeleteIngress),
|
|
429
456
|
/** Verifiy the ownership of an Ingress. */
|
|
430
457
|
ingressIngressVerifyOwnership: this.requestFunctionFactory(descriptors.ingressIngressVerifyOwnership),
|
|
458
|
+
/** List Ingresses compatible with a certificate. */
|
|
459
|
+
ingressListIngressesCompatibleWithCertificate: this.requestFunctionFactory(descriptors.ingressListIngressesCompatibleWithCertificate),
|
|
431
460
|
/** Update the paths of an Ingress. */
|
|
432
461
|
ingressUpdateIngressPaths: this.requestFunctionFactory(descriptors.ingressUpdateIngressPaths),
|
|
433
462
|
/** Request the ACME certificate issuance of an Ingress. */
|
|
434
463
|
ingressRequestIngressAcmeCertificateIssuance: this.requestFunctionFactory(descriptors.ingressRequestIngressAcmeCertificateIssuance),
|
|
435
464
|
/** Update the tls settings of an Ingress. */
|
|
436
465
|
ingressUpdateIngressTls: this.requestFunctionFactory(descriptors.ingressUpdateIngressTls),
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
extensionEnableExtensionInstance: this.requestFunctionFactory(descriptors.extensionEnableExtensionInstance),
|
|
458
|
-
/** Get a Contributor. */
|
|
459
|
-
extensionGetContributor: this.requestFunctionFactory(descriptors.extensionGetContributor),
|
|
460
|
-
/** Get an Extension. */
|
|
461
|
-
extensionGetExtension: this.requestFunctionFactory(descriptors.extensionGetExtension),
|
|
462
|
-
/** Get the public key to verify the webhook signature. */
|
|
463
|
-
extensionGetPublicKey: this.requestFunctionFactory(descriptors.extensionGetPublicKey),
|
|
464
|
-
/** List Contributors. */
|
|
465
|
-
extensionListContributors: this.requestFunctionFactory(descriptors.extensionListContributors),
|
|
466
|
-
/** List Extensions. */
|
|
467
|
-
extensionListExtensions: this.requestFunctionFactory(descriptors.extensionListExtensions),
|
|
468
|
-
/** Rotate the secret for an extension instance. */
|
|
469
|
-
contributorRotateSecretForExtensionInstance: this.requestFunctionFactory(descriptors.contributorRotateSecretForExtensionInstance),
|
|
466
|
+
/** Check the replacement of a Certificate. */
|
|
467
|
+
sslCheckReplaceCertificate: this.requestFunctionFactory(descriptors.sslCheckReplaceCertificate),
|
|
468
|
+
/** List CertificateRequests belonging to a Project or an Ingress. */
|
|
469
|
+
sslListCertificateRequests: this.requestFunctionFactory(descriptors.sslListCertificateRequests),
|
|
470
|
+
/** Create a CertificateRequest. */
|
|
471
|
+
sslCreateCertificateRequest: this.requestFunctionFactory(descriptors.sslCreateCertificateRequest),
|
|
472
|
+
/** Delete a CertificateRequest. */
|
|
473
|
+
sslDeleteCertificateRequest: this.requestFunctionFactory(descriptors.sslDeleteCertificateRequest),
|
|
474
|
+
/** Delete a Certificate. */
|
|
475
|
+
sslDeleteCertificate: this.requestFunctionFactory(descriptors.sslDeleteCertificate),
|
|
476
|
+
/** Get a CertificateRequest. */
|
|
477
|
+
sslGetCertificateRequest: this.requestFunctionFactory(descriptors.sslGetCertificateRequest),
|
|
478
|
+
/** Get a Certificate. */
|
|
479
|
+
sslGetCertificate: this.requestFunctionFactory(descriptors.sslGetCertificate),
|
|
480
|
+
/** Update a Certificate. */
|
|
481
|
+
sslReplaceCertificate: this.requestFunctionFactory(descriptors.sslReplaceCertificate),
|
|
482
|
+
/** List Certificates belonging to a Project or an Ingress. */
|
|
483
|
+
sslListCertificates: this.requestFunctionFactory(descriptors.sslListCertificates),
|
|
484
|
+
/** Update the certificate of a CertificateRequest. */
|
|
485
|
+
sslSetCertificateRequestCertificate: this.requestFunctionFactory(descriptors.sslSetCertificateRequestCertificate),
|
|
470
486
|
};
|
|
471
487
|
/** The file API allows you to manage your files, for example for conversations attachments and avatar uploads. */
|
|
472
488
|
file = {
|
|
@@ -480,7 +496,7 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
480
496
|
getFileUploadTypeRules: this.requestFunctionFactory(descriptors.fileGetFileUploadTypeRules),
|
|
481
497
|
/** Get a File. */
|
|
482
498
|
getFile: this.requestFunctionFactory(descriptors.fileGetFile),
|
|
483
|
-
/** Get a File. */
|
|
499
|
+
/** Get a File with user-friendly url. */
|
|
484
500
|
getFileWithName: this.requestFunctionFactory(descriptors.fileGetFileWithName),
|
|
485
501
|
};
|
|
486
502
|
/** The mail API allows you to manage your mail accounts. */
|
|
@@ -112,6 +112,12 @@ export const appListUpdateCandidatesForAppversion = {
|
|
|
112
112
|
method: "GET",
|
|
113
113
|
operationId: "app-list-update-candidates-for-appversion",
|
|
114
114
|
};
|
|
115
|
+
/** Replace a MySQL Database with another MySQL Database. */
|
|
116
|
+
export const appReplaceDatabase = {
|
|
117
|
+
path: "/v2/app-installations/{appInstallationId}/database/replace",
|
|
118
|
+
method: "PATCH",
|
|
119
|
+
operationId: "app-replace-database",
|
|
120
|
+
};
|
|
115
121
|
/** Request a copy of an AppInstallation. */
|
|
116
122
|
export const appRequestAppinstallationCopy = {
|
|
117
123
|
path: "/v2/app-installations/{appInstallationId}/actions/copy",
|
|
@@ -388,6 +394,12 @@ export const contractGetBaseItemOfContract = {
|
|
|
388
394
|
method: "GET",
|
|
389
395
|
operationId: "contract-get-base-item-of-contract",
|
|
390
396
|
};
|
|
397
|
+
/** Return the Contract for the given Certificate. */
|
|
398
|
+
export const contractGetDetailOfContractByCertificate = {
|
|
399
|
+
path: "/v2/certificates/{certificateId}/contract",
|
|
400
|
+
method: "GET",
|
|
401
|
+
operationId: "contract-get-detail-of-contract-by-certificate",
|
|
402
|
+
};
|
|
391
403
|
/** Return the Contract for the given Domain. */
|
|
392
404
|
export const contractGetDetailOfContractByDomain = {
|
|
393
405
|
path: "/v2/domains/{domainId}/contract",
|
|
@@ -430,6 +442,12 @@ export const contractListContracts = {
|
|
|
430
442
|
method: "GET",
|
|
431
443
|
operationId: "contract-list-contracts",
|
|
432
444
|
};
|
|
445
|
+
/** Rotate the secret for an extension instance. */
|
|
446
|
+
export const contributorRotateSecretForExtensionInstance = {
|
|
447
|
+
path: "/v2/contributors/{contributorId}/extensions/{extensionId}/extension-instances/{extensionInstanceId}/secret",
|
|
448
|
+
method: "PUT",
|
|
449
|
+
operationId: "contributor-rotate-secret-for-extension-instance",
|
|
450
|
+
};
|
|
433
451
|
/** Get all conversation the authenticated user has created or has access to. */
|
|
434
452
|
export const conversationListConversations = {
|
|
435
453
|
path: "/v2/conversations",
|
|
@@ -580,18 +598,6 @@ export const customerAcceptCustomerInvite = {
|
|
|
580
598
|
method: "POST",
|
|
581
599
|
operationId: "customer-accept-customer-invite",
|
|
582
600
|
};
|
|
583
|
-
/** Get all customer categories. */
|
|
584
|
-
export const customerListOfCustomerCategories = {
|
|
585
|
-
path: "/v2/customer-categories",
|
|
586
|
-
method: "GET",
|
|
587
|
-
operationId: "customer-list-of-customer-categories",
|
|
588
|
-
};
|
|
589
|
-
/** Create a new customer category. */
|
|
590
|
-
export const customerCreateCategory = {
|
|
591
|
-
path: "/v2/customer-categories",
|
|
592
|
-
method: "POST",
|
|
593
|
-
operationId: "customer-create-category",
|
|
594
|
-
};
|
|
595
601
|
/** Create a CustomerInvite. */
|
|
596
602
|
export const customerCreateCustomerInvite = {
|
|
597
603
|
path: "/v2/customer/{customerId}/invites",
|
|
@@ -616,24 +622,6 @@ export const customerDeclineCustomerInvite = {
|
|
|
616
622
|
method: "POST",
|
|
617
623
|
operationId: "customer-decline-customer-invite",
|
|
618
624
|
};
|
|
619
|
-
/** Get a customer category. */
|
|
620
|
-
export const customerGetCustomerCategory = {
|
|
621
|
-
path: "/v2/customer-categories/{categoryId}",
|
|
622
|
-
method: "GET",
|
|
623
|
-
operationId: "customer-get-customer-category",
|
|
624
|
-
};
|
|
625
|
-
/** Update a customer category. */
|
|
626
|
-
export const customerUpdateCategory = {
|
|
627
|
-
path: "/v2/customer-categories/{categoryId}",
|
|
628
|
-
method: "PUT",
|
|
629
|
-
operationId: "customer-update-category",
|
|
630
|
-
};
|
|
631
|
-
/** Delete a customer category. */
|
|
632
|
-
export const customerDeleteCategory = {
|
|
633
|
-
path: "/v2/customer-categories/{categoryId}",
|
|
634
|
-
method: "DELETE",
|
|
635
|
-
operationId: "customer-delete-category",
|
|
636
|
-
};
|
|
637
625
|
/** Get a CustomerInvite. */
|
|
638
626
|
export const customerGetCustomerInvite = {
|
|
639
627
|
path: "/v2/customer-invites/{customerInviteId}",
|
|
@@ -976,18 +964,6 @@ export const domainDeleteDomain = {
|
|
|
976
964
|
method: "DELETE",
|
|
977
965
|
operationId: "domain-delete-domain",
|
|
978
966
|
};
|
|
979
|
-
/** Generate a list of domains from an input using AI. */
|
|
980
|
-
export const domainGenerateFromInput = {
|
|
981
|
-
path: "/v2/domains-generate",
|
|
982
|
-
method: "POST",
|
|
983
|
-
operationId: "domain-generate-from-input",
|
|
984
|
-
};
|
|
985
|
-
/** Generate a list of domains from an input using AI, based on previously generated Domains and a context modification. */
|
|
986
|
-
export const domainGenerateInContext = {
|
|
987
|
-
path: "/v2/domains-generate-in-context",
|
|
988
|
-
method: "POST",
|
|
989
|
-
operationId: "domain-generate-in-context",
|
|
990
|
-
};
|
|
991
967
|
/** Get the latest screenshot's FileReference belonging to a Domain. */
|
|
992
968
|
export const domainGetLatestScreenshot = {
|
|
993
969
|
path: "/v2/domains/{domainId}/latest-screenshot",
|
|
@@ -1012,6 +988,12 @@ export const domainResendDomainEmail = {
|
|
|
1012
988
|
method: "POST",
|
|
1013
989
|
operationId: "domain-resend-domain-email",
|
|
1014
990
|
};
|
|
991
|
+
/** Suggest a list of domains based on a prompt using AI. */
|
|
992
|
+
export const domainSuggest = {
|
|
993
|
+
path: "/v2/domain-suggestions",
|
|
994
|
+
method: "GET",
|
|
995
|
+
operationId: "domain-suggest",
|
|
996
|
+
};
|
|
1015
997
|
/** Update the auth code of a Domain. */
|
|
1016
998
|
export const domainUpdateDomainAuthCode = {
|
|
1017
999
|
path: "/v2/domains/{domainId}/auth-code",
|
|
@@ -1078,6 +1060,12 @@ export const extensionDisableExtensionInstance = {
|
|
|
1078
1060
|
method: "POST",
|
|
1079
1061
|
operationId: "extension-disable-extension-instance",
|
|
1080
1062
|
};
|
|
1063
|
+
/** Dry run a webhook with random or given values. */
|
|
1064
|
+
export const extensionDryRunWebhook = {
|
|
1065
|
+
path: "/v2/contributors/{contributorId}/extensions/{extensionId}/extension-instances/{extensionInstanceId}/actions/dry-run/{webhookKind}",
|
|
1066
|
+
method: "POST",
|
|
1067
|
+
operationId: "extension-dry-run-webhook",
|
|
1068
|
+
};
|
|
1081
1069
|
/** Enable an ExtensionInstance. */
|
|
1082
1070
|
export const extensionEnableExtensionInstance = {
|
|
1083
1071
|
path: "/v2/extension-instances/{extensionInstanceId}/actions/enable",
|
|
@@ -1144,7 +1132,7 @@ export const fileGetFile = {
|
|
|
1144
1132
|
method: "GET",
|
|
1145
1133
|
operationId: "file-get-file",
|
|
1146
1134
|
};
|
|
1147
|
-
/** Get a File. */
|
|
1135
|
+
/** Get a File with user-friendly url. */
|
|
1148
1136
|
export const fileGetFileWithName = {
|
|
1149
1137
|
path: "/v2/files/{fileId}/{fileName}",
|
|
1150
1138
|
method: "GET",
|
|
@@ -1180,6 +1168,12 @@ export const ingressIngressVerifyOwnership = {
|
|
|
1180
1168
|
method: "POST",
|
|
1181
1169
|
operationId: "ingress-ingress-verify-ownership",
|
|
1182
1170
|
};
|
|
1171
|
+
/** List Ingresses compatible with a certificate. */
|
|
1172
|
+
export const ingressListIngressesCompatibleWithCertificate = {
|
|
1173
|
+
path: "/v2/actions/list-ingresses-compatible-with-certificate",
|
|
1174
|
+
method: "POST",
|
|
1175
|
+
operationId: "ingress-list-ingresses-compatible-with-certificate",
|
|
1176
|
+
};
|
|
1183
1177
|
/** Update the paths of an Ingress. */
|
|
1184
1178
|
export const ingressUpdateIngressPaths = {
|
|
1185
1179
|
path: "/v2/ingresses/{ingressId}/paths",
|
|
@@ -1744,6 +1738,66 @@ export const sshUserUpdateSshUser = {
|
|
|
1744
1738
|
method: "PATCH",
|
|
1745
1739
|
operationId: "ssh-user-update-ssh-user",
|
|
1746
1740
|
};
|
|
1741
|
+
/** Check the replacement of a Certificate. */
|
|
1742
|
+
export const sslCheckReplaceCertificate = {
|
|
1743
|
+
path: "/v2/certificates/{certificateId}/actions/check-replace-certificate",
|
|
1744
|
+
method: "POST",
|
|
1745
|
+
operationId: "ssl-check-replace-certificate",
|
|
1746
|
+
};
|
|
1747
|
+
/** List CertificateRequests belonging to a Project or an Ingress. */
|
|
1748
|
+
export const sslListCertificateRequests = {
|
|
1749
|
+
path: "/v2/certificate-requests",
|
|
1750
|
+
method: "GET",
|
|
1751
|
+
operationId: "ssl-list-certificate-requests",
|
|
1752
|
+
};
|
|
1753
|
+
/** Create a CertificateRequest. */
|
|
1754
|
+
export const sslCreateCertificateRequest = {
|
|
1755
|
+
path: "/v2/certificate-requests",
|
|
1756
|
+
method: "POST",
|
|
1757
|
+
operationId: "ssl-create-certificate-request",
|
|
1758
|
+
};
|
|
1759
|
+
/** Delete a CertificateRequest. */
|
|
1760
|
+
export const sslDeleteCertificateRequest = {
|
|
1761
|
+
path: "/v2/certificate-request/{certificateRequestId}",
|
|
1762
|
+
method: "DELETE",
|
|
1763
|
+
operationId: "ssl-delete-certificate-request",
|
|
1764
|
+
};
|
|
1765
|
+
/** Delete a Certificate. */
|
|
1766
|
+
export const sslDeleteCertificate = {
|
|
1767
|
+
path: "/v2/certificate/{certificateId}",
|
|
1768
|
+
method: "DELETE",
|
|
1769
|
+
operationId: "ssl-delete-certificate",
|
|
1770
|
+
};
|
|
1771
|
+
/** Get a CertificateRequest. */
|
|
1772
|
+
export const sslGetCertificateRequest = {
|
|
1773
|
+
path: "/v2/certificate-requests/{certificateRequestId}",
|
|
1774
|
+
method: "GET",
|
|
1775
|
+
operationId: "ssl-get-certificate-request",
|
|
1776
|
+
};
|
|
1777
|
+
/** Get a Certificate. */
|
|
1778
|
+
export const sslGetCertificate = {
|
|
1779
|
+
path: "/v2/certificates/{certificateId}",
|
|
1780
|
+
method: "GET",
|
|
1781
|
+
operationId: "ssl-get-certificate",
|
|
1782
|
+
};
|
|
1783
|
+
/** Update a Certificate. */
|
|
1784
|
+
export const sslReplaceCertificate = {
|
|
1785
|
+
path: "/v2/certificates/{certificateId}",
|
|
1786
|
+
method: "PUT",
|
|
1787
|
+
operationId: "ssl-replace-certificate",
|
|
1788
|
+
};
|
|
1789
|
+
/** List Certificates belonging to a Project or an Ingress. */
|
|
1790
|
+
export const sslListCertificates = {
|
|
1791
|
+
path: "/v2/certificates",
|
|
1792
|
+
method: "GET",
|
|
1793
|
+
operationId: "ssl-list-certificates",
|
|
1794
|
+
};
|
|
1795
|
+
/** Update the certificate of a CertificateRequest. */
|
|
1796
|
+
export const sslSetCertificateRequestCertificate = {
|
|
1797
|
+
path: "/v2/certificate-requests/{certificateRequestId}/certificate",
|
|
1798
|
+
method: "PATCH",
|
|
1799
|
+
operationId: "ssl-set-certificate-request-certificate",
|
|
1800
|
+
};
|
|
1747
1801
|
/** Add phone number and start verification process. */
|
|
1748
1802
|
export const userAddPhoneNumber = {
|
|
1749
1803
|
path: "/v2/users/{userId}/phone",
|
|
@@ -2068,9 +2122,3 @@ export const userVerifyRegistration = {
|
|
|
2068
2122
|
method: "POST",
|
|
2069
2123
|
operationId: "user-verify-registration",
|
|
2070
2124
|
};
|
|
2071
|
-
/** Rotate the secret for an extension instance. */
|
|
2072
|
-
export const contributorRotateSecretForExtensionInstance = {
|
|
2073
|
-
path: "/v2/contributors/{contributorId}/extensions/{extensionId}/extension-instances/{extensionInstanceId}/secret",
|
|
2074
|
-
method: "PUT",
|
|
2075
|
-
operationId: "contributor-rotate-secret-for-extension-instance",
|
|
2076
|
-
};
|
package/dist/esm/index.js
CHANGED
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
export { assertStatus, assertOneOfStatus } from "@mittwald/api-client-commons";
|
|
1
|
+
export { assertStatus, assertOneOfStatus, extractTotalCountHeader, } from "@mittwald/api-client-commons";
|
|
2
|
+
export * as Commons from "@mittwald/api-client-commons";
|
|
2
3
|
export { MittwaldAPIClient as MittwaldAPIV2Client } from "./v2/default.js";
|
package/dist/esm/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const MittwaldAPIClientVersion = '4.
|
|
1
|
+
export const MittwaldAPIClientVersion = '4.61.1';
|