@mittwald/cli 1.0.0-alpha.3
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/.deps/client.tgz +0 -0
- package/.deps/commons.tgz +0 -0
- package/LICENSE +21 -0
- package/README.md +2716 -0
- package/bin/dev +17 -0
- package/bin/dev.cmd +3 -0
- package/bin/mw.cmd +3 -0
- package/bin/run.js +9 -0
- package/dist/esm/BaseCommand.d.ts +11 -0
- package/dist/esm/BaseCommand.js +44 -0
- package/dist/esm/DeleteBaseCommand.d.ts +15 -0
- package/dist/esm/DeleteBaseCommand.js +37 -0
- package/dist/esm/ExtendedBaseCommand.d.ts +7 -0
- package/dist/esm/ExtendedBaseCommand.js +16 -0
- package/dist/esm/Flags.d.ts +1 -0
- package/dist/esm/Flags.js +1 -0
- package/dist/esm/Formatter.d.ts +15 -0
- package/dist/esm/Formatter.js +28 -0
- package/dist/esm/GetBaseCommand.d.ts +17 -0
- package/dist/esm/GetBaseCommand.js +27 -0
- package/dist/esm/Helpers.d.ts +5 -0
- package/dist/esm/Helpers.js +24 -0
- package/dist/esm/ListBaseCommand.d.ts +20 -0
- package/dist/esm/ListBaseCommand.js +60 -0
- package/dist/esm/Printer.d.ts +16 -0
- package/dist/esm/Printer.js +30 -0
- package/dist/esm/Translator.d.ts +5 -0
- package/dist/esm/Translator.js +53 -0
- package/dist/esm/commands/app/delete.d.ts +12 -0
- package/dist/esm/commands/app/delete.js +45 -0
- package/dist/esm/commands/app/getApp.d.ts +3 -0
- package/dist/esm/commands/app/getApp.js +6 -0
- package/dist/esm/commands/app/getAppinstallation.d.ts +3 -0
- package/dist/esm/commands/app/getAppinstallation.js +6 -0
- package/dist/esm/commands/app/getAppversion.d.ts +3 -0
- package/dist/esm/commands/app/getAppversion.js +6 -0
- package/dist/esm/commands/app/getSystemsoftware.d.ts +3 -0
- package/dist/esm/commands/app/getSystemsoftware.js +6 -0
- package/dist/esm/commands/app/getSystemsoftwareversion.d.ts +3 -0
- package/dist/esm/commands/app/getSystemsoftwareversion.js +6 -0
- package/dist/esm/commands/app/list.d.ts +16 -0
- package/dist/esm/commands/app/list.js +64 -0
- package/dist/esm/commands/app/listAppinstallations.d.ts +9 -0
- package/dist/esm/commands/app/listAppinstallations.js +6 -0
- package/dist/esm/commands/app/listApps.d.ts +9 -0
- package/dist/esm/commands/app/listApps.js +6 -0
- package/dist/esm/commands/app/listAppversions.d.ts +9 -0
- package/dist/esm/commands/app/listAppversions.js +6 -0
- package/dist/esm/commands/app/listSystemsoftwares.d.ts +9 -0
- package/dist/esm/commands/app/listSystemsoftwares.js +6 -0
- package/dist/esm/commands/app/listSystemsoftwareversions.d.ts +9 -0
- package/dist/esm/commands/app/listSystemsoftwareversions.js +6 -0
- package/dist/esm/commands/app/retrieveStatus.d.ts +3 -0
- package/dist/esm/commands/app/retrieveStatus.js +6 -0
- package/dist/esm/commands/article/getArticle.d.ts +3 -0
- package/dist/esm/commands/article/getArticle.js +6 -0
- package/dist/esm/commands/article/listArticles.d.ts +9 -0
- package/dist/esm/commands/article/listArticles.js +6 -0
- package/dist/esm/commands/contract/getBaseItemOfContract.d.ts +3 -0
- package/dist/esm/commands/contract/getBaseItemOfContract.js +6 -0
- package/dist/esm/commands/contract/getDetailOfContract.d.ts +3 -0
- package/dist/esm/commands/contract/getDetailOfContract.js +6 -0
- package/dist/esm/commands/contract/getDetailOfContractByDomain.d.ts +3 -0
- package/dist/esm/commands/contract/getDetailOfContractByDomain.js +6 -0
- package/dist/esm/commands/contract/getDetailOfContractByProject.d.ts +3 -0
- package/dist/esm/commands/contract/getDetailOfContractByProject.js +6 -0
- package/dist/esm/commands/contract/getDetailOfContractByServer.d.ts +3 -0
- package/dist/esm/commands/contract/getDetailOfContractByServer.js +6 -0
- package/dist/esm/commands/contract/getDetailOfContractItem.d.ts +3 -0
- package/dist/esm/commands/contract/getDetailOfContractItem.js +6 -0
- package/dist/esm/commands/contract/getNextTerminationDateForItem.d.ts +3 -0
- package/dist/esm/commands/contract/getNextTerminationDateForItem.js +6 -0
- package/dist/esm/commands/contract/invoiceDetailOfInvoice.d.ts +3 -0
- package/dist/esm/commands/contract/invoiceDetailOfInvoice.js +6 -0
- package/dist/esm/commands/contract/invoiceGetDetailOfInvoiceSettings.d.ts +3 -0
- package/dist/esm/commands/contract/invoiceGetDetailOfInvoiceSettings.js +6 -0
- package/dist/esm/commands/contract/invoiceListCustomerInvoices.d.ts +9 -0
- package/dist/esm/commands/contract/invoiceListCustomerInvoices.js +6 -0
- package/dist/esm/commands/contract/listContracts.d.ts +9 -0
- package/dist/esm/commands/contract/listContracts.js +6 -0
- package/dist/esm/commands/contract/orderGetOrder.d.ts +3 -0
- package/dist/esm/commands/contract/orderGetOrder.js +6 -0
- package/dist/esm/commands/contract/orderListCustomerOrders.d.ts +9 -0
- package/dist/esm/commands/contract/orderListCustomerOrders.js +6 -0
- package/dist/esm/commands/contract/orderListProjectOrders.d.ts +9 -0
- package/dist/esm/commands/contract/orderListProjectOrders.js +6 -0
- package/dist/esm/commands/conversation/categories.d.ts +11 -0
- package/dist/esm/commands/conversation/categories.js +16 -0
- package/dist/esm/commands/conversation/close.d.ts +8 -0
- package/dist/esm/commands/conversation/close.js +24 -0
- package/dist/esm/commands/conversation/create.d.ts +13 -0
- package/dist/esm/commands/conversation/create.js +50 -0
- package/dist/esm/commands/conversation/list.d.ts +11 -0
- package/dist/esm/commands/conversation/list.js +28 -0
- package/dist/esm/commands/conversation/reply.d.ts +13 -0
- package/dist/esm/commands/conversation/reply.js +30 -0
- package/dist/esm/commands/conversation/show.d.ts +8 -0
- package/dist/esm/commands/conversation/show.js +78 -0
- package/dist/esm/commands/conversation/show2.d.ts +11 -0
- package/dist/esm/commands/conversation/show2.js +37 -0
- package/dist/esm/commands/cronjob/getCronjob.d.ts +3 -0
- package/dist/esm/commands/cronjob/getCronjob.js +6 -0
- package/dist/esm/commands/cronjob/getExecution.d.ts +3 -0
- package/dist/esm/commands/cronjob/getExecution.js +6 -0
- package/dist/esm/commands/cronjob/listCronjobs.d.ts +9 -0
- package/dist/esm/commands/cronjob/listCronjobs.js +6 -0
- package/dist/esm/commands/cronjob/listExecutions.d.ts +9 -0
- package/dist/esm/commands/cronjob/listExecutions.js +6 -0
- package/dist/esm/commands/customer/getCustomer.d.ts +3 -0
- package/dist/esm/commands/customer/getCustomer.js +6 -0
- package/dist/esm/commands/customer/getCustomerCategory.d.ts +3 -0
- package/dist/esm/commands/customer/getCustomerCategory.js +6 -0
- package/dist/esm/commands/customer/getCustomerInvite.d.ts +3 -0
- package/dist/esm/commands/customer/getCustomerInvite.js +6 -0
- package/dist/esm/commands/customer/getCustomerMembership.d.ts +3 -0
- package/dist/esm/commands/customer/getCustomerMembership.js +6 -0
- package/dist/esm/commands/customer/getCustomerTokenInvite.d.ts +3 -0
- package/dist/esm/commands/customer/getCustomerTokenInvite.js +6 -0
- package/dist/esm/commands/customer/isCustomerLegallyCompetent.d.ts +3 -0
- package/dist/esm/commands/customer/isCustomerLegallyCompetent.js +6 -0
- package/dist/esm/commands/customer/listCustomerInvites.d.ts +9 -0
- package/dist/esm/commands/customer/listCustomerInvites.js +6 -0
- package/dist/esm/commands/customer/listCustomerMemberships.d.ts +9 -0
- package/dist/esm/commands/customer/listCustomerMemberships.js +6 -0
- package/dist/esm/commands/customer/listCustomers.d.ts +9 -0
- package/dist/esm/commands/customer/listCustomers.js +6 -0
- package/dist/esm/commands/customer/listInvitesForCustomer.d.ts +9 -0
- package/dist/esm/commands/customer/listInvitesForCustomer.js +6 -0
- package/dist/esm/commands/customer/listMembershipsForCustomer.d.ts +9 -0
- package/dist/esm/commands/customer/listMembershipsForCustomer.js +6 -0
- package/dist/esm/commands/customer/listOfCustomerCategories.d.ts +9 -0
- package/dist/esm/commands/customer/listOfCustomerCategories.js +6 -0
- package/dist/esm/commands/database/mysql/charsets.d.ts +9 -0
- package/dist/esm/commands/database/mysql/charsets.js +6 -0
- package/dist/esm/commands/database/mysql/get.d.ts +3 -0
- package/dist/esm/commands/database/mysql/get.js +6 -0
- package/dist/esm/commands/database/mysql/list.d.ts +11 -0
- package/dist/esm/commands/database/mysql/list.js +54 -0
- package/dist/esm/commands/database/mysql/user/get.d.ts +3 -0
- package/dist/esm/commands/database/mysql/user/get.js +6 -0
- package/dist/esm/commands/database/mysql/user/getMysqlUserPhpMyAdminUrl.d.ts +3 -0
- package/dist/esm/commands/database/mysql/user/getMysqlUserPhpMyAdminUrl.js +7 -0
- package/dist/esm/commands/database/mysql/user/list.d.ts +9 -0
- package/dist/esm/commands/database/mysql/user/list.js +6 -0
- package/dist/esm/commands/database/mysql/versions.d.ts +9 -0
- package/dist/esm/commands/database/mysql/versions.js +6 -0
- package/dist/esm/commands/database/redis/get.d.ts +3 -0
- package/dist/esm/commands/database/redis/get.js +6 -0
- package/dist/esm/commands/database/redis/list.d.ts +9 -0
- package/dist/esm/commands/database/redis/list.js +6 -0
- package/dist/esm/commands/database/redis/versions.d.ts +9 -0
- package/dist/esm/commands/database/redis/versions.js +6 -0
- package/dist/esm/commands/domain/dnsZoneGetSpecific.d.ts +3 -0
- package/dist/esm/commands/domain/dnsZoneGetSpecific.js +6 -0
- package/dist/esm/commands/domain/dnsZonesForProject.d.ts +3 -0
- package/dist/esm/commands/domain/dnsZonesForProject.js +6 -0
- package/dist/esm/commands/domain/get.d.ts +3 -0
- package/dist/esm/commands/domain/get.js +6 -0
- package/dist/esm/commands/domain/getHandleFields.d.ts +3 -0
- package/dist/esm/commands/domain/getHandleFields.js +6 -0
- package/dist/esm/commands/domain/getSpecificDomainOwnership.d.ts +3 -0
- package/dist/esm/commands/domain/getSpecificDomainOwnership.js +6 -0
- package/dist/esm/commands/domain/list.d.ts +9 -0
- package/dist/esm/commands/domain/list.js +6 -0
- package/dist/esm/commands/domain/listDomainOwnerships.d.ts +9 -0
- package/dist/esm/commands/domain/listDomainOwnerships.js +6 -0
- package/dist/esm/commands/domain/tld/get.d.ts +3 -0
- package/dist/esm/commands/domain/tld/get.js +6 -0
- package/dist/esm/commands/domain/tld/list.d.ts +9 -0
- package/dist/esm/commands/domain/tld/list.js +6 -0
- package/dist/esm/commands/domain/virtualhost/get.d.ts +3 -0
- package/dist/esm/commands/domain/virtualhost/get.js +6 -0
- package/dist/esm/commands/domain/virtualhost/list.d.ts +20 -0
- package/dist/esm/commands/domain/virtualhost/list.js +49 -0
- package/dist/esm/commands/login/status.d.ts +5 -0
- package/dist/esm/commands/login/status.js +29 -0
- package/dist/esm/commands/login/token.d.ts +9 -0
- package/dist/esm/commands/login/token.js +39 -0
- package/dist/esm/commands/mail/address/create.d.ts +12 -0
- package/dist/esm/commands/mail/address/create.js +52 -0
- package/dist/esm/commands/mail/address/delete.d.ts +12 -0
- package/dist/esm/commands/mail/address/delete.js +22 -0
- package/dist/esm/commands/mail/address/get.d.ts +3 -0
- package/dist/esm/commands/mail/address/get.js +6 -0
- package/dist/esm/commands/mail/address/list.d.ts +12 -0
- package/dist/esm/commands/mail/address/list.js +47 -0
- package/dist/esm/commands/mail/deliverybox/get.d.ts +3 -0
- package/dist/esm/commands/mail/deliverybox/get.js +6 -0
- package/dist/esm/commands/mail/deliverybox/list.d.ts +12 -0
- package/dist/esm/commands/mail/deliverybox/list.js +25 -0
- package/dist/esm/commands/project/backup/get.d.ts +3 -0
- package/dist/esm/commands/project/backup/get.js +6 -0
- package/dist/esm/commands/project/backup/list.d.ts +12 -0
- package/dist/esm/commands/project/backup/list.js +24 -0
- package/dist/esm/commands/project/backupschedule/get.d.ts +3 -0
- package/dist/esm/commands/project/backupschedule/get.js +6 -0
- package/dist/esm/commands/project/backupschedule/list.d.ts +13 -0
- package/dist/esm/commands/project/backupschedule/list.js +21 -0
- package/dist/esm/commands/project/create.d.ts +10 -0
- package/dist/esm/commands/project/create.js +59 -0
- package/dist/esm/commands/project/delete.d.ts +13 -0
- package/dist/esm/commands/project/delete.js +26 -0
- package/dist/esm/commands/project/filesystem/directories.d.ts +3 -0
- package/dist/esm/commands/project/filesystem/directories.js +6 -0
- package/dist/esm/commands/project/filesystem/file-content.d.ts +3 -0
- package/dist/esm/commands/project/filesystem/file-content.js +6 -0
- package/dist/esm/commands/project/filesystem/files.d.ts +16 -0
- package/dist/esm/commands/project/filesystem/files.js +25 -0
- package/dist/esm/commands/project/filesystem/usage.d.ts +4 -0
- package/dist/esm/commands/project/filesystem/usage.js +11 -0
- package/dist/esm/commands/project/get.d.ts +4 -0
- package/dist/esm/commands/project/get.js +11 -0
- package/dist/esm/commands/project/invite/get.d.ts +3 -0
- package/dist/esm/commands/project/invite/get.js +6 -0
- package/dist/esm/commands/project/invite/list-own.d.ts +11 -0
- package/dist/esm/commands/project/invite/list-own.js +29 -0
- package/dist/esm/commands/project/invite/list.d.ts +12 -0
- package/dist/esm/commands/project/invite/list.js +32 -0
- package/dist/esm/commands/project/list.d.ts +12 -0
- package/dist/esm/commands/project/list.js +33 -0
- package/dist/esm/commands/project/list1.d.ts +7 -0
- package/dist/esm/commands/project/list1.js +18 -0
- package/dist/esm/commands/project/list2.d.ts +9 -0
- package/dist/esm/commands/project/list2.js +26 -0
- package/dist/esm/commands/project/membership/get-own.d.ts +4 -0
- package/dist/esm/commands/project/membership/get-own.js +11 -0
- package/dist/esm/commands/project/membership/get.d.ts +3 -0
- package/dist/esm/commands/project/membership/get.js +6 -0
- package/dist/esm/commands/project/membership/list-own.d.ts +11 -0
- package/dist/esm/commands/project/membership/list-own.js +28 -0
- package/dist/esm/commands/project/membership/list.d.ts +25 -0
- package/dist/esm/commands/project/membership/list.js +46 -0
- package/dist/esm/commands/project/sftp-user/list.d.ts +13 -0
- package/dist/esm/commands/project/sftp-user/list.js +24 -0
- package/dist/esm/commands/project/ssh-user/list.d.ts +13 -0
- package/dist/esm/commands/project/ssh-user/list.js +24 -0
- package/dist/esm/commands/project/ssh.d.ts +8 -0
- package/dist/esm/commands/project/ssh.js +31 -0
- package/dist/esm/commands/project/update.d.ts +8 -0
- package/dist/esm/commands/project/update.js +15 -0
- package/dist/esm/commands/server/get.d.ts +3 -0
- package/dist/esm/commands/server/get.js +6 -0
- package/dist/esm/commands/server/list.d.ts +11 -0
- package/dist/esm/commands/server/list.js +41 -0
- package/dist/esm/commands/user/api-token/create.d.ts +11 -0
- package/dist/esm/commands/user/api-token/create.js +46 -0
- package/dist/esm/commands/user/api-token/get.d.ts +3 -0
- package/dist/esm/commands/user/api-token/get.js +6 -0
- package/dist/esm/commands/user/api-token/list.d.ts +11 -0
- package/dist/esm/commands/user/api-token/list.js +21 -0
- package/dist/esm/commands/user/api-token/revoke.d.ts +8 -0
- package/dist/esm/commands/user/api-token/revoke.js +21 -0
- package/dist/esm/commands/user/get.d.ts +3 -0
- package/dist/esm/commands/user/get.js +6 -0
- package/dist/esm/commands/user/session/get.d.ts +3 -0
- package/dist/esm/commands/user/session/get.js +6 -0
- package/dist/esm/commands/user/session/list.d.ts +11 -0
- package/dist/esm/commands/user/session/list.js +24 -0
- package/dist/esm/commands/user/ssh-key/create.d.ts +10 -0
- package/dist/esm/commands/user/ssh-key/create.js +60 -0
- package/dist/esm/commands/user/ssh-key/delete.d.ts +12 -0
- package/dist/esm/commands/user/ssh-key/delete.js +41 -0
- package/dist/esm/commands/user/ssh-key/get.d.ts +3 -0
- package/dist/esm/commands/user/ssh-key/get.js +6 -0
- package/dist/esm/commands/user/ssh-key/list.d.ts +11 -0
- package/dist/esm/commands/user/ssh-key/list.js +21 -0
- package/dist/esm/generated/app/getApp.d.ts +16 -0
- package/dist/esm/generated/app/getApp.js +25 -0
- package/dist/esm/generated/app/getAppinstallation.d.ts +16 -0
- package/dist/esm/generated/app/getAppinstallation.js +25 -0
- package/dist/esm/generated/app/getAppversion.d.ts +16 -0
- package/dist/esm/generated/app/getAppversion.js +29 -0
- package/dist/esm/generated/app/getSystemsoftware.d.ts +16 -0
- package/dist/esm/generated/app/getSystemsoftware.js +25 -0
- package/dist/esm/generated/app/getSystemsoftwareversion.d.ts +16 -0
- package/dist/esm/generated/app/getSystemsoftwareversion.js +29 -0
- package/dist/esm/generated/app/listAppinstallations.d.ts +13 -0
- package/dist/esm/generated/app/listAppinstallations.js +24 -0
- package/dist/esm/generated/app/listApps.d.ts +13 -0
- package/dist/esm/generated/app/listApps.js +17 -0
- package/dist/esm/generated/app/listAppversions.d.ts +13 -0
- package/dist/esm/generated/app/listAppversions.js +24 -0
- package/dist/esm/generated/app/listSystemsoftwares.d.ts +13 -0
- package/dist/esm/generated/app/listSystemsoftwares.js +17 -0
- package/dist/esm/generated/app/listSystemsoftwareversions.d.ts +13 -0
- package/dist/esm/generated/app/listSystemsoftwareversions.js +24 -0
- package/dist/esm/generated/app/retrieveStatus.d.ts +14 -0
- package/dist/esm/generated/app/retrieveStatus.js +24 -0
- package/dist/esm/generated/article/getArticle.d.ts +16 -0
- package/dist/esm/generated/article/getArticle.js +25 -0
- package/dist/esm/generated/article/listArticles.d.ts +13 -0
- package/dist/esm/generated/article/listArticles.js +17 -0
- package/dist/esm/generated/backup/getProjectBackup.d.ts +16 -0
- package/dist/esm/generated/backup/getProjectBackup.js +25 -0
- package/dist/esm/generated/backup/getProjectBackupSchedule.d.ts +16 -0
- package/dist/esm/generated/backup/getProjectBackupSchedule.js +25 -0
- package/dist/esm/generated/backup/listProjectBackupSchedules.d.ts +13 -0
- package/dist/esm/generated/backup/listProjectBackupSchedules.js +24 -0
- package/dist/esm/generated/backup/listProjectBackups.d.ts +13 -0
- package/dist/esm/generated/backup/listProjectBackups.js +24 -0
- package/dist/esm/generated/contract/getBaseItemOfContract.d.ts +14 -0
- package/dist/esm/generated/contract/getBaseItemOfContract.js +24 -0
- package/dist/esm/generated/contract/getDetailOfContract.d.ts +16 -0
- package/dist/esm/generated/contract/getDetailOfContract.js +25 -0
- package/dist/esm/generated/contract/getDetailOfContractByDomain.d.ts +14 -0
- package/dist/esm/generated/contract/getDetailOfContractByDomain.js +24 -0
- package/dist/esm/generated/contract/getDetailOfContractByProject.d.ts +14 -0
- package/dist/esm/generated/contract/getDetailOfContractByProject.js +24 -0
- package/dist/esm/generated/contract/getDetailOfContractByServer.d.ts +14 -0
- package/dist/esm/generated/contract/getDetailOfContractByServer.js +24 -0
- package/dist/esm/generated/contract/getDetailOfContractItem.d.ts +16 -0
- package/dist/esm/generated/contract/getDetailOfContractItem.js +29 -0
- package/dist/esm/generated/contract/getNextTerminationDateForItem.d.ts +15 -0
- package/dist/esm/generated/contract/getNextTerminationDateForItem.js +28 -0
- package/dist/esm/generated/contract/invoiceDetailOfInvoice.d.ts +16 -0
- package/dist/esm/generated/contract/invoiceDetailOfInvoice.js +29 -0
- package/dist/esm/generated/contract/invoiceGetDetailOfInvoiceSettings.d.ts +14 -0
- package/dist/esm/generated/contract/invoiceGetDetailOfInvoiceSettings.js +24 -0
- package/dist/esm/generated/contract/invoiceListCustomerInvoices.d.ts +13 -0
- package/dist/esm/generated/contract/invoiceListCustomerInvoices.js +24 -0
- package/dist/esm/generated/contract/listContracts.d.ts +13 -0
- package/dist/esm/generated/contract/listContracts.js +24 -0
- package/dist/esm/generated/contract/orderGetOrder.d.ts +16 -0
- package/dist/esm/generated/contract/orderGetOrder.js +25 -0
- package/dist/esm/generated/contract/orderListCustomerOrders.d.ts +13 -0
- package/dist/esm/generated/contract/orderListCustomerOrders.js +24 -0
- package/dist/esm/generated/contract/orderListProjectOrders.d.ts +13 -0
- package/dist/esm/generated/contract/orderListProjectOrders.js +24 -0
- package/dist/esm/generated/conversation/getCategory.d.ts +16 -0
- package/dist/esm/generated/conversation/getCategory.js +25 -0
- package/dist/esm/generated/conversation/getConversation.d.ts +16 -0
- package/dist/esm/generated/conversation/getConversation.js +25 -0
- package/dist/esm/generated/conversation/listCategories.d.ts +13 -0
- package/dist/esm/generated/conversation/listCategories.js +17 -0
- package/dist/esm/generated/conversation/listConversations.d.ts +13 -0
- package/dist/esm/generated/conversation/listConversations.js +17 -0
- package/dist/esm/generated/conversation/listMessagesByConversation.d.ts +13 -0
- package/dist/esm/generated/conversation/listMessagesByConversation.js +24 -0
- package/dist/esm/generated/cronjob/getCronjob.d.ts +16 -0
- package/dist/esm/generated/cronjob/getCronjob.js +25 -0
- package/dist/esm/generated/cronjob/getExecution.d.ts +16 -0
- package/dist/esm/generated/cronjob/getExecution.js +29 -0
- package/dist/esm/generated/cronjob/listCronjobs.d.ts +13 -0
- package/dist/esm/generated/cronjob/listCronjobs.js +24 -0
- package/dist/esm/generated/cronjob/listExecutions.d.ts +13 -0
- package/dist/esm/generated/cronjob/listExecutions.js +24 -0
- package/dist/esm/generated/customer/getCustomer.d.ts +16 -0
- package/dist/esm/generated/customer/getCustomer.js +25 -0
- package/dist/esm/generated/customer/getCustomerCategory.d.ts +16 -0
- package/dist/esm/generated/customer/getCustomerCategory.js +25 -0
- package/dist/esm/generated/customer/getCustomerInvite.d.ts +16 -0
- package/dist/esm/generated/customer/getCustomerInvite.js +25 -0
- package/dist/esm/generated/customer/getCustomerMembership.d.ts +16 -0
- package/dist/esm/generated/customer/getCustomerMembership.js +25 -0
- package/dist/esm/generated/customer/getCustomerTokenInvite.d.ts +14 -0
- package/dist/esm/generated/customer/getCustomerTokenInvite.js +16 -0
- package/dist/esm/generated/customer/isCustomerLegallyCompetent.d.ts +14 -0
- package/dist/esm/generated/customer/isCustomerLegallyCompetent.js +24 -0
- package/dist/esm/generated/customer/listCustomerInvites.d.ts +13 -0
- package/dist/esm/generated/customer/listCustomerInvites.js +17 -0
- package/dist/esm/generated/customer/listCustomerMemberships.d.ts +13 -0
- package/dist/esm/generated/customer/listCustomerMemberships.js +17 -0
- package/dist/esm/generated/customer/listCustomers.d.ts +13 -0
- package/dist/esm/generated/customer/listCustomers.js +17 -0
- package/dist/esm/generated/customer/listInvitesForCustomer.d.ts +13 -0
- package/dist/esm/generated/customer/listInvitesForCustomer.js +24 -0
- package/dist/esm/generated/customer/listMembershipsForCustomer.d.ts +13 -0
- package/dist/esm/generated/customer/listMembershipsForCustomer.js +24 -0
- package/dist/esm/generated/customer/listOfCustomerCategories.d.ts +13 -0
- package/dist/esm/generated/customer/listOfCustomerCategories.js +17 -0
- package/dist/esm/generated/database/getMysqlDatabase.d.ts +16 -0
- package/dist/esm/generated/database/getMysqlDatabase.js +25 -0
- package/dist/esm/generated/database/getMysqlUser.d.ts +16 -0
- package/dist/esm/generated/database/getMysqlUser.js +25 -0
- package/dist/esm/generated/database/getMysqlUserPhpMyAdminUrl.d.ts +14 -0
- package/dist/esm/generated/database/getMysqlUserPhpMyAdminUrl.js +24 -0
- package/dist/esm/generated/database/getRedisDatabase.d.ts +16 -0
- package/dist/esm/generated/database/getRedisDatabase.js +25 -0
- package/dist/esm/generated/database/listMysqlCharsets.d.ts +13 -0
- package/dist/esm/generated/database/listMysqlCharsets.js +17 -0
- package/dist/esm/generated/database/listMysqlDatabases.d.ts +13 -0
- package/dist/esm/generated/database/listMysqlDatabases.js +24 -0
- package/dist/esm/generated/database/listMysqlUsers.d.ts +13 -0
- package/dist/esm/generated/database/listMysqlUsers.js +24 -0
- package/dist/esm/generated/database/listMysqlVersions.d.ts +13 -0
- package/dist/esm/generated/database/listMysqlVersions.js +17 -0
- package/dist/esm/generated/database/listRedisDatabases.d.ts +13 -0
- package/dist/esm/generated/database/listRedisDatabases.js +24 -0
- package/dist/esm/generated/database/listRedisVersions.d.ts +13 -0
- package/dist/esm/generated/database/listRedisVersions.js +17 -0
- package/dist/esm/generated/domain/dnsZoneGetSpecific.d.ts +16 -0
- package/dist/esm/generated/domain/dnsZoneGetSpecific.js +25 -0
- package/dist/esm/generated/domain/dnsZonesForProject.d.ts +14 -0
- package/dist/esm/generated/domain/dnsZonesForProject.js +24 -0
- package/dist/esm/generated/domain/getDomain.d.ts +16 -0
- package/dist/esm/generated/domain/getDomain.js +25 -0
- package/dist/esm/generated/domain/getHandleFields.d.ts +16 -0
- package/dist/esm/generated/domain/getHandleFields.js +25 -0
- package/dist/esm/generated/domain/getSpecificDomainOwnership.d.ts +16 -0
- package/dist/esm/generated/domain/getSpecificDomainOwnership.js +25 -0
- package/dist/esm/generated/domain/getToplevelDomain.d.ts +16 -0
- package/dist/esm/generated/domain/getToplevelDomain.js +25 -0
- package/dist/esm/generated/domain/ingressGetSpecific.d.ts +16 -0
- package/dist/esm/generated/domain/ingressGetSpecific.js +25 -0
- package/dist/esm/generated/domain/ingressListAccessible.d.ts +13 -0
- package/dist/esm/generated/domain/ingressListAccessible.js +17 -0
- package/dist/esm/generated/domain/ingressListForProject.d.ts +13 -0
- package/dist/esm/generated/domain/ingressListForProject.js +24 -0
- package/dist/esm/generated/domain/listDomainOwnerships.d.ts +13 -0
- package/dist/esm/generated/domain/listDomainOwnerships.js +24 -0
- package/dist/esm/generated/domain/listDomains.d.ts +13 -0
- package/dist/esm/generated/domain/listDomains.js +24 -0
- package/dist/esm/generated/domain/listToplevelDomains.d.ts +13 -0
- package/dist/esm/generated/domain/listToplevelDomains.js +17 -0
- package/dist/esm/generated/file/getFile.d.ts +16 -0
- package/dist/esm/generated/file/getFile.js +25 -0
- package/dist/esm/generated/file/getFileMeta.d.ts +14 -0
- package/dist/esm/generated/file/getFileMeta.js +24 -0
- package/dist/esm/generated/file/getFileTokenRules.d.ts +16 -0
- package/dist/esm/generated/file/getFileTokenRules.js +25 -0
- package/dist/esm/generated/file/getFileTypeRules.d.ts +16 -0
- package/dist/esm/generated/file/getFileTypeRules.js +25 -0
- package/dist/esm/generated/mail/deliveryboxGetSpecific.d.ts +16 -0
- package/dist/esm/generated/mail/deliveryboxGetSpecific.js +25 -0
- package/dist/esm/generated/mail/deliveryboxList.d.ts +13 -0
- package/dist/esm/generated/mail/deliveryboxList.js +24 -0
- package/dist/esm/generated/mail/mailaddressGetSpecific.d.ts +16 -0
- package/dist/esm/generated/mail/mailaddressGetSpecific.js +25 -0
- package/dist/esm/generated/mail/mailaddressList.d.ts +13 -0
- package/dist/esm/generated/mail/mailaddressList.js +24 -0
- package/dist/esm/generated/mail/projectsettingGetSpecific.d.ts +14 -0
- package/dist/esm/generated/mail/projectsettingGetSpecific.js +24 -0
- package/dist/esm/generated/notification/newsletterGetInfo.d.ts +14 -0
- package/dist/esm/generated/notification/newsletterGetInfo.js +16 -0
- package/dist/esm/generated/notification/scountUnreadNotifications.d.ts +14 -0
- package/dist/esm/generated/notification/scountUnreadNotifications.js +16 -0
- package/dist/esm/generated/notification/slistNotifications.d.ts +13 -0
- package/dist/esm/generated/notification/slistNotifications.js +17 -0
- package/dist/esm/generated/project/getProject.d.ts +16 -0
- package/dist/esm/generated/project/getProject.js +25 -0
- package/dist/esm/generated/project/getProjectInvite.d.ts +16 -0
- package/dist/esm/generated/project/getProjectInvite.js +25 -0
- package/dist/esm/generated/project/getProjectMembership.d.ts +16 -0
- package/dist/esm/generated/project/getProjectMembership.js +25 -0
- package/dist/esm/generated/project/getProjectTokenInvite.d.ts +14 -0
- package/dist/esm/generated/project/getProjectTokenInvite.js +16 -0
- package/dist/esm/generated/project/getSelfMembershipForProject.d.ts +14 -0
- package/dist/esm/generated/project/getSelfMembershipForProject.js +24 -0
- package/dist/esm/generated/project/getServer.d.ts +16 -0
- package/dist/esm/generated/project/getServer.js +25 -0
- package/dist/esm/generated/project/listInvitesForProject.d.ts +13 -0
- package/dist/esm/generated/project/listInvitesForProject.js +24 -0
- package/dist/esm/generated/project/listMembershipsForProject.d.ts +13 -0
- package/dist/esm/generated/project/listMembershipsForProject.js +24 -0
- package/dist/esm/generated/project/listProjectInvites.d.ts +13 -0
- package/dist/esm/generated/project/listProjectInvites.js +17 -0
- package/dist/esm/generated/project/listProjectMemberships.d.ts +13 -0
- package/dist/esm/generated/project/listProjectMemberships.js +17 -0
- package/dist/esm/generated/project/listProjects.d.ts +13 -0
- package/dist/esm/generated/project/listProjects.js +17 -0
- package/dist/esm/generated/project/listServers.d.ts +13 -0
- package/dist/esm/generated/project/listServers.js +17 -0
- package/dist/esm/generated/projectFileSystem/getDirectories.d.ts +14 -0
- package/dist/esm/generated/projectFileSystem/getDirectories.js +24 -0
- package/dist/esm/generated/projectFileSystem/getDiskUsage.d.ts +14 -0
- package/dist/esm/generated/projectFileSystem/getDiskUsage.js +24 -0
- package/dist/esm/generated/projectFileSystem/getFileContent.d.ts +14 -0
- package/dist/esm/generated/projectFileSystem/getFileContent.js +24 -0
- package/dist/esm/generated/projectFileSystem/getJwt.d.ts +14 -0
- package/dist/esm/generated/projectFileSystem/getJwt.js +24 -0
- package/dist/esm/generated/projectFileSystem/listFiles.d.ts +13 -0
- package/dist/esm/generated/projectFileSystem/listFiles.js +24 -0
- package/dist/esm/generated/sshsftpUser/sftpUserGetSftpUser.d.ts +16 -0
- package/dist/esm/generated/sshsftpUser/sftpUserGetSftpUser.js +25 -0
- package/dist/esm/generated/sshsftpUser/sftpUserListSftpUsers.d.ts +13 -0
- package/dist/esm/generated/sshsftpUser/sftpUserListSftpUsers.js +24 -0
- package/dist/esm/generated/sshsftpUser/sshUserGetSshUser.d.ts +16 -0
- package/dist/esm/generated/sshsftpUser/sshUserGetSshUser.js +25 -0
- package/dist/esm/generated/sshsftpUser/sshUserListSshUsers.d.ts +13 -0
- package/dist/esm/generated/sshsftpUser/sshUserListSshUsers.js +24 -0
- package/dist/esm/generated/user/getApiToken.d.ts +16 -0
- package/dist/esm/generated/user/getApiToken.js +25 -0
- package/dist/esm/generated/user/getEmail.d.ts +14 -0
- package/dist/esm/generated/user/getEmail.js +16 -0
- package/dist/esm/generated/user/getMfaStatus.d.ts +14 -0
- package/dist/esm/generated/user/getMfaStatus.js +16 -0
- package/dist/esm/generated/user/getOwnProfile.d.ts +14 -0
- package/dist/esm/generated/user/getOwnProfile.js +16 -0
- package/dist/esm/generated/user/getPasswordUpdatedAt.d.ts +14 -0
- package/dist/esm/generated/user/getPasswordUpdatedAt.js +16 -0
- package/dist/esm/generated/user/getPersonalizedSettings.d.ts +14 -0
- package/dist/esm/generated/user/getPersonalizedSettings.js +24 -0
- package/dist/esm/generated/user/getSession.d.ts +16 -0
- package/dist/esm/generated/user/getSession.js +25 -0
- package/dist/esm/generated/user/getSshKey.d.ts +16 -0
- package/dist/esm/generated/user/getSshKey.js +25 -0
- package/dist/esm/generated/user/getUser.d.ts +14 -0
- package/dist/esm/generated/user/getUser.js +16 -0
- package/dist/esm/generated/user/listApiTokens.d.ts +13 -0
- package/dist/esm/generated/user/listApiTokens.js +17 -0
- package/dist/esm/generated/user/listFeedback.d.ts +13 -0
- package/dist/esm/generated/user/listFeedback.js +24 -0
- package/dist/esm/generated/user/listSessions.d.ts +13 -0
- package/dist/esm/generated/user/listSessions.js +17 -0
- package/dist/esm/generated/user/listSshKeys.d.ts +13 -0
- package/dist/esm/generated/user/listSshKeys.js +17 -0
- package/dist/esm/generated/user/supportCodeRequest.d.ts +14 -0
- package/dist/esm/generated/user/supportCodeRequest.js +16 -0
- package/dist/esm/lib/conversation/message_input.d.ts +10 -0
- package/dist/esm/lib/conversation/message_input.js +49 -0
- package/dist/esm/lib/handleError.d.ts +4 -0
- package/dist/esm/lib/handleError.js +17 -0
- package/dist/esm/lib/mergeObjects.d.ts +1 -0
- package/dist/esm/lib/mergeObjects.js +6 -0
- package/dist/esm/lib/notify.d.ts +2 -0
- package/dist/esm/lib/notify.js +5 -0
- package/dist/esm/lib/viewhelpers/date.d.ts +4 -0
- package/dist/esm/lib/viewhelpers/date.js +16 -0
- package/dist/esm/lib/viewhelpers/size.d.ts +1 -0
- package/dist/esm/lib/viewhelpers/size.js +4 -0
- package/dist/esm/lib/viewhelpers/tui.d.ts +2 -0
- package/dist/esm/lib/viewhelpers/tui.js +13 -0
- package/dist/esm/rendering/oclif/components/table.d.ts +11 -0
- package/dist/esm/rendering/oclif/components/table.js +49 -0
- package/dist/esm/rendering/react/RenderBaseCommand.d.ts +7 -0
- package/dist/esm/rendering/react/RenderBaseCommand.js +13 -0
- package/dist/esm/rendering/react/components/ConversationMessage.d.ts +8 -0
- package/dist/esm/rendering/react/components/ConversationMessage.js +12 -0
- package/dist/esm/rendering/react/components/ConversationMeta.d.ts +6 -0
- package/dist/esm/rendering/react/components/ConversationMeta.js +21 -0
- package/dist/esm/rendering/react/components/ConversationStatusUpdate.d.ts +8 -0
- package/dist/esm/rendering/react/components/ConversationStatusUpdate.js +6 -0
- package/dist/esm/rendering/react/components/Header.d.ts +6 -0
- package/dist/esm/rendering/react/components/Header.js +6 -0
- package/dist/esm/rendering/react/components/Table.d.ts +7 -0
- package/dist/esm/rendering/react/components/Table.js +4 -0
- package/dist/esm/rendering/react/context.d.ts +8 -0
- package/dist/esm/rendering/react/context.js +4 -0
- package/dist/esm/rendering/react/hooks/useMyUserProfile.d.ts +2 -0
- package/dist/esm/rendering/react/hooks/useMyUserProfile.js +11 -0
- package/dist/esm/rendering/setup/FlagSupportedSetup.d.ts +13 -0
- package/dist/esm/rendering/setup/FlagSupportedSetup.js +22 -0
- package/dist/esm/rendering/setup/TableRenderSetup.d.ts +13 -0
- package/dist/esm/rendering/setup/TableRenderSetup.js +11 -0
- package/dist/esm/rendering/setup/usePromiseSetup.d.ts +11 -0
- package/dist/esm/rendering/setup/usePromiseSetup.js +11 -0
- package/dist/esm/types.d.ts +8 -0
- package/dist/esm/types.js +1 -0
- package/package.json +126 -0
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { MittwaldAPIV2, MittwaldAPIV2Client } from "@mittwald/api-client";
|
|
2
|
+
import { ListBaseCommand } from "../../ListBaseCommand.js";
|
|
3
|
+
export type PathParams = MittwaldAPIV2.Paths.V2Customers.Get.Parameters.Path;
|
|
4
|
+
export type Response = Awaited<ReturnType<MittwaldAPIV2Client["customer"]["listCustomers"]>>;
|
|
5
|
+
export declare abstract class GeneratedCustomerListCustomers<TItem extends Record<string, unknown>> extends ListBaseCommand<typeof GeneratedCustomerListCustomers, TItem, Response> {
|
|
6
|
+
static description: string;
|
|
7
|
+
static args: {};
|
|
8
|
+
static flags: {
|
|
9
|
+
[x: string]: import("@oclif/core/lib/interfaces/parser.js").CompletableFlag<any>;
|
|
10
|
+
};
|
|
11
|
+
getData(): Promise<Response>;
|
|
12
|
+
protected mapParams(input: PathParams): Promise<PathParams> | PathParams;
|
|
13
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ListBaseCommand } from "../../ListBaseCommand.js";
|
|
2
|
+
export class GeneratedCustomerListCustomers extends ListBaseCommand {
|
|
3
|
+
static description = "Get all customer profiles the authenticated user has access to.";
|
|
4
|
+
static args = {};
|
|
5
|
+
static flags = {
|
|
6
|
+
...ListBaseCommand.baseFlags,
|
|
7
|
+
};
|
|
8
|
+
async getData() {
|
|
9
|
+
const pathParams = {};
|
|
10
|
+
return await this.apiClient.customer.listCustomers({
|
|
11
|
+
pathParameters: await this.mapParams(pathParams),
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
mapParams(input) {
|
|
15
|
+
return input;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { MittwaldAPIV2, MittwaldAPIV2Client } from "@mittwald/api-client";
|
|
2
|
+
import { ListBaseCommand } from "../../ListBaseCommand.js";
|
|
3
|
+
export type PathParams = MittwaldAPIV2.Paths.V2CustomersCustomerIdInvites.Get.Parameters.Path;
|
|
4
|
+
export type Response = Awaited<ReturnType<MittwaldAPIV2Client["customer"]["listInvitesForCustomer"]>>;
|
|
5
|
+
export declare abstract class GeneratedCustomerListInvitesForCustomer<TItem extends Record<string, unknown>> extends ListBaseCommand<typeof GeneratedCustomerListInvitesForCustomer, TItem, Response> {
|
|
6
|
+
static description: string;
|
|
7
|
+
static args: {};
|
|
8
|
+
static flags: {
|
|
9
|
+
"customer-id": import("@oclif/core/lib/interfaces/parser.js").OptionFlag<string, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>;
|
|
10
|
+
};
|
|
11
|
+
getData(): Promise<Response>;
|
|
12
|
+
protected mapParams(input: PathParams): Promise<PathParams> | PathParams;
|
|
13
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { Flags } from "@oclif/core";
|
|
2
|
+
import { ListBaseCommand } from "../../ListBaseCommand.js";
|
|
3
|
+
export class GeneratedCustomerListInvitesForCustomer extends ListBaseCommand {
|
|
4
|
+
static description = "List all invites for a Customer.";
|
|
5
|
+
static args = {};
|
|
6
|
+
static flags = {
|
|
7
|
+
...ListBaseCommand.baseFlags,
|
|
8
|
+
"customer-id": Flags.string({
|
|
9
|
+
description: "ID of the Customer to list invites for.",
|
|
10
|
+
required: true,
|
|
11
|
+
}),
|
|
12
|
+
};
|
|
13
|
+
async getData() {
|
|
14
|
+
const pathParams = {
|
|
15
|
+
customerId: this.flags["customer-id"],
|
|
16
|
+
};
|
|
17
|
+
return await this.apiClient.customer.listInvitesForCustomer({
|
|
18
|
+
pathParameters: await this.mapParams(pathParams),
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
mapParams(input) {
|
|
22
|
+
return input;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { MittwaldAPIV2, MittwaldAPIV2Client } from "@mittwald/api-client";
|
|
2
|
+
import { ListBaseCommand } from "../../ListBaseCommand.js";
|
|
3
|
+
export type PathParams = MittwaldAPIV2.Paths.V2CustomersCustomerIdMemberships.Get.Parameters.Path;
|
|
4
|
+
export type Response = Awaited<ReturnType<MittwaldAPIV2Client["customer"]["listMembershipsForCustomer"]>>;
|
|
5
|
+
export declare abstract class GeneratedCustomerListMembershipsForCustomer<TItem extends Record<string, unknown>> extends ListBaseCommand<typeof GeneratedCustomerListMembershipsForCustomer, TItem, Response> {
|
|
6
|
+
static description: string;
|
|
7
|
+
static args: {};
|
|
8
|
+
static flags: {
|
|
9
|
+
"customer-id": import("@oclif/core/lib/interfaces/parser.js").OptionFlag<string, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>;
|
|
10
|
+
};
|
|
11
|
+
getData(): Promise<Response>;
|
|
12
|
+
protected mapParams(input: PathParams): Promise<PathParams> | PathParams;
|
|
13
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { Flags } from "@oclif/core";
|
|
2
|
+
import { ListBaseCommand } from "../../ListBaseCommand.js";
|
|
3
|
+
export class GeneratedCustomerListMembershipsForCustomer extends ListBaseCommand {
|
|
4
|
+
static description = "List all memberships belonging to a Customer.";
|
|
5
|
+
static args = {};
|
|
6
|
+
static flags = {
|
|
7
|
+
...ListBaseCommand.baseFlags,
|
|
8
|
+
"customer-id": Flags.string({
|
|
9
|
+
description: "Customer to list memberships for.",
|
|
10
|
+
required: true,
|
|
11
|
+
}),
|
|
12
|
+
};
|
|
13
|
+
async getData() {
|
|
14
|
+
const pathParams = {
|
|
15
|
+
customerId: this.flags["customer-id"],
|
|
16
|
+
};
|
|
17
|
+
return await this.apiClient.customer.listMembershipsForCustomer({
|
|
18
|
+
pathParameters: await this.mapParams(pathParams),
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
mapParams(input) {
|
|
22
|
+
return input;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { MittwaldAPIV2, MittwaldAPIV2Client } from "@mittwald/api-client";
|
|
2
|
+
import { ListBaseCommand } from "../../ListBaseCommand.js";
|
|
3
|
+
export type PathParams = MittwaldAPIV2.Paths.V2CustomerCategories.Get.Parameters.Path;
|
|
4
|
+
export type Response = Awaited<ReturnType<MittwaldAPIV2Client["customer"]["listOfCustomerCategories"]>>;
|
|
5
|
+
export declare abstract class GeneratedCustomerListOfCustomerCategories<TItem extends Record<string, unknown>> extends ListBaseCommand<typeof GeneratedCustomerListOfCustomerCategories, TItem, Response> {
|
|
6
|
+
static description: string;
|
|
7
|
+
static args: {};
|
|
8
|
+
static flags: {
|
|
9
|
+
[x: string]: import("@oclif/core/lib/interfaces/parser.js").CompletableFlag<any>;
|
|
10
|
+
};
|
|
11
|
+
getData(): Promise<Response>;
|
|
12
|
+
protected mapParams(input: PathParams): Promise<PathParams> | PathParams;
|
|
13
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ListBaseCommand } from "../../ListBaseCommand.js";
|
|
2
|
+
export class GeneratedCustomerListOfCustomerCategories extends ListBaseCommand {
|
|
3
|
+
static description = "Get all customer categories.";
|
|
4
|
+
static args = {};
|
|
5
|
+
static flags = {
|
|
6
|
+
...ListBaseCommand.baseFlags,
|
|
7
|
+
};
|
|
8
|
+
async getData() {
|
|
9
|
+
const pathParams = {};
|
|
10
|
+
return await this.apiClient.customer.listOfCustomerCategories({
|
|
11
|
+
pathParameters: await this.mapParams(pathParams),
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
mapParams(input) {
|
|
15
|
+
return input;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { MittwaldAPIV2, MittwaldAPIV2Client } from "@mittwald/api-client";
|
|
2
|
+
import { GetBaseCommand } from "../../GetBaseCommand.js";
|
|
3
|
+
export type PathParams = MittwaldAPIV2.Paths.V2MysqlDatabasesId.Get.Parameters.Path;
|
|
4
|
+
type APIResponse = Awaited<ReturnType<MittwaldAPIV2Client["database"]["getMysqlDatabase"]>>;
|
|
5
|
+
export declare abstract class GeneratedDatabaseGetMysqlDatabase extends GetBaseCommand<typeof GeneratedDatabaseGetMysqlDatabase, APIResponse> {
|
|
6
|
+
static description: string;
|
|
7
|
+
static flags: {
|
|
8
|
+
[x: string]: import("@oclif/core/lib/interfaces/parser.js").CompletableFlag<any>;
|
|
9
|
+
};
|
|
10
|
+
static args: {
|
|
11
|
+
id: import("@oclif/core/lib/interfaces/parser.js").Arg<string, Record<string, unknown>>;
|
|
12
|
+
};
|
|
13
|
+
protected getData(): Promise<APIResponse>;
|
|
14
|
+
protected mapParams(input: PathParams): Promise<PathParams> | PathParams;
|
|
15
|
+
}
|
|
16
|
+
export {};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
/* prettier-ignore */
|
|
3
|
+
/* This file is auto-generated with acg (@mittwald/api-code-generator) */
|
|
4
|
+
import { Args } from "@oclif/core";
|
|
5
|
+
import { GetBaseCommand } from "../../GetBaseCommand.js";
|
|
6
|
+
export class GeneratedDatabaseGetMysqlDatabase extends GetBaseCommand {
|
|
7
|
+
static description = "Get a MySQLDatabase.";
|
|
8
|
+
static flags = {
|
|
9
|
+
...GetBaseCommand.baseFlags,
|
|
10
|
+
};
|
|
11
|
+
static args = {
|
|
12
|
+
id: Args.string({
|
|
13
|
+
description: "ID of the MySQLDatabase to be retrieved.",
|
|
14
|
+
required: true,
|
|
15
|
+
}),
|
|
16
|
+
};
|
|
17
|
+
async getData() {
|
|
18
|
+
return await this.apiClient.database.getMysqlDatabase({
|
|
19
|
+
pathParameters: await this.mapParams(this.args),
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
mapParams(input) {
|
|
23
|
+
return input;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { MittwaldAPIV2, MittwaldAPIV2Client } from "@mittwald/api-client";
|
|
2
|
+
import { GetBaseCommand } from "../../GetBaseCommand.js";
|
|
3
|
+
export type PathParams = MittwaldAPIV2.Paths.V2MysqlUsersId.Get.Parameters.Path;
|
|
4
|
+
type APIResponse = Awaited<ReturnType<MittwaldAPIV2Client["database"]["getMysqlUser"]>>;
|
|
5
|
+
export declare abstract class GeneratedDatabaseGetMysqlUser extends GetBaseCommand<typeof GeneratedDatabaseGetMysqlUser, APIResponse> {
|
|
6
|
+
static description: string;
|
|
7
|
+
static flags: {
|
|
8
|
+
[x: string]: import("@oclif/core/lib/interfaces/parser.js").CompletableFlag<any>;
|
|
9
|
+
};
|
|
10
|
+
static args: {
|
|
11
|
+
id: import("@oclif/core/lib/interfaces/parser.js").Arg<string, Record<string, unknown>>;
|
|
12
|
+
};
|
|
13
|
+
protected getData(): Promise<APIResponse>;
|
|
14
|
+
protected mapParams(input: PathParams): Promise<PathParams> | PathParams;
|
|
15
|
+
}
|
|
16
|
+
export {};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
/* prettier-ignore */
|
|
3
|
+
/* This file is auto-generated with acg (@mittwald/api-code-generator) */
|
|
4
|
+
import { Args } from "@oclif/core";
|
|
5
|
+
import { GetBaseCommand } from "../../GetBaseCommand.js";
|
|
6
|
+
export class GeneratedDatabaseGetMysqlUser extends GetBaseCommand {
|
|
7
|
+
static description = "Get a MySQLUser.";
|
|
8
|
+
static flags = {
|
|
9
|
+
...GetBaseCommand.baseFlags,
|
|
10
|
+
};
|
|
11
|
+
static args = {
|
|
12
|
+
id: Args.string({
|
|
13
|
+
description: "ID of the MySQLUser to be retrieved.",
|
|
14
|
+
required: true,
|
|
15
|
+
}),
|
|
16
|
+
};
|
|
17
|
+
async getData() {
|
|
18
|
+
return await this.apiClient.database.getMysqlUser({
|
|
19
|
+
pathParameters: await this.mapParams(this.args),
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
mapParams(input) {
|
|
23
|
+
return input;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { MittwaldAPIV2, MittwaldAPIV2Client } from "@mittwald/api-client";
|
|
2
|
+
import { GetBaseCommand } from "../../GetBaseCommand.js";
|
|
3
|
+
export type PathParams = MittwaldAPIV2.Paths.V2MysqlUsersIdPhpMyAdminUrl.Get.Parameters.Path;
|
|
4
|
+
type APIResponse = Awaited<ReturnType<MittwaldAPIV2Client["database"]["getMysqlUserPhpMyAdminUrl"]>>;
|
|
5
|
+
export declare abstract class GeneratedDatabaseGetMysqlUserPhpMyAdminUrl extends GetBaseCommand<typeof GeneratedDatabaseGetMysqlUserPhpMyAdminUrl, APIResponse> {
|
|
6
|
+
static description: string;
|
|
7
|
+
static flags: {
|
|
8
|
+
id: import("@oclif/core/lib/interfaces/parser.js").OptionFlag<string, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>;
|
|
9
|
+
};
|
|
10
|
+
static args: {};
|
|
11
|
+
protected getData(): Promise<APIResponse>;
|
|
12
|
+
protected mapParams(input: PathParams): Promise<PathParams> | PathParams;
|
|
13
|
+
}
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
/* prettier-ignore */
|
|
3
|
+
/* This file is auto-generated with acg (@mittwald/api-code-generator) */
|
|
4
|
+
import { Flags } from "@oclif/core";
|
|
5
|
+
import { GetBaseCommand } from "../../GetBaseCommand.js";
|
|
6
|
+
export class GeneratedDatabaseGetMysqlUserPhpMyAdminUrl extends GetBaseCommand {
|
|
7
|
+
static description = "Get a MySQLUser's PhpMyAdmin-URL.";
|
|
8
|
+
static flags = {
|
|
9
|
+
...GetBaseCommand.baseFlags,
|
|
10
|
+
id: Flags.string({
|
|
11
|
+
description: "ID of the MySQLUser for which to get the URL for.",
|
|
12
|
+
required: true,
|
|
13
|
+
}),
|
|
14
|
+
};
|
|
15
|
+
static args = {};
|
|
16
|
+
async getData() {
|
|
17
|
+
return await this.apiClient.database.getMysqlUserPhpMyAdminUrl({
|
|
18
|
+
pathParameters: await this.mapParams(this.args),
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
mapParams(input) {
|
|
22
|
+
return input;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { MittwaldAPIV2, MittwaldAPIV2Client } from "@mittwald/api-client";
|
|
2
|
+
import { GetBaseCommand } from "../../GetBaseCommand.js";
|
|
3
|
+
export type PathParams = MittwaldAPIV2.Paths.V2RedisDatabasesId.Get.Parameters.Path;
|
|
4
|
+
type APIResponse = Awaited<ReturnType<MittwaldAPIV2Client["database"]["getRedisDatabase"]>>;
|
|
5
|
+
export declare abstract class GeneratedDatabaseGetRedisDatabase extends GetBaseCommand<typeof GeneratedDatabaseGetRedisDatabase, APIResponse> {
|
|
6
|
+
static description: string;
|
|
7
|
+
static flags: {
|
|
8
|
+
[x: string]: import("@oclif/core/lib/interfaces/parser.js").CompletableFlag<any>;
|
|
9
|
+
};
|
|
10
|
+
static args: {
|
|
11
|
+
id: import("@oclif/core/lib/interfaces/parser.js").Arg<string, Record<string, unknown>>;
|
|
12
|
+
};
|
|
13
|
+
protected getData(): Promise<APIResponse>;
|
|
14
|
+
protected mapParams(input: PathParams): Promise<PathParams> | PathParams;
|
|
15
|
+
}
|
|
16
|
+
export {};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
/* prettier-ignore */
|
|
3
|
+
/* This file is auto-generated with acg (@mittwald/api-code-generator) */
|
|
4
|
+
import { Args } from "@oclif/core";
|
|
5
|
+
import { GetBaseCommand } from "../../GetBaseCommand.js";
|
|
6
|
+
export class GeneratedDatabaseGetRedisDatabase extends GetBaseCommand {
|
|
7
|
+
static description = "Get a RedisDatabase.";
|
|
8
|
+
static flags = {
|
|
9
|
+
...GetBaseCommand.baseFlags,
|
|
10
|
+
};
|
|
11
|
+
static args = {
|
|
12
|
+
id: Args.string({
|
|
13
|
+
description: "ID of the RedisDatabase to retrieve.",
|
|
14
|
+
required: true,
|
|
15
|
+
}),
|
|
16
|
+
};
|
|
17
|
+
async getData() {
|
|
18
|
+
return await this.apiClient.database.getRedisDatabase({
|
|
19
|
+
pathParameters: await this.mapParams(this.args),
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
mapParams(input) {
|
|
23
|
+
return input;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { MittwaldAPIV2, MittwaldAPIV2Client } from "@mittwald/api-client";
|
|
2
|
+
import { ListBaseCommand } from "../../ListBaseCommand.js";
|
|
3
|
+
export type PathParams = MittwaldAPIV2.Paths.V2MysqlCharsets.Get.Parameters.Path;
|
|
4
|
+
export type Response = Awaited<ReturnType<MittwaldAPIV2Client["database"]["listMysqlCharsets"]>>;
|
|
5
|
+
export declare abstract class GeneratedDatabaseListMysqlCharsets<TItem extends Record<string, unknown>> extends ListBaseCommand<typeof GeneratedDatabaseListMysqlCharsets, TItem, Response> {
|
|
6
|
+
static description: string;
|
|
7
|
+
static args: {};
|
|
8
|
+
static flags: {
|
|
9
|
+
[x: string]: import("@oclif/core/lib/interfaces/parser.js").CompletableFlag<any>;
|
|
10
|
+
};
|
|
11
|
+
getData(): Promise<Response>;
|
|
12
|
+
protected mapParams(input: PathParams): Promise<PathParams> | PathParams;
|
|
13
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ListBaseCommand } from "../../ListBaseCommand.js";
|
|
2
|
+
export class GeneratedDatabaseListMysqlCharsets extends ListBaseCommand {
|
|
3
|
+
static description = "List available MySQL character sets and collations, optionally filtered by a MySQLVersion.";
|
|
4
|
+
static args = {};
|
|
5
|
+
static flags = {
|
|
6
|
+
...ListBaseCommand.baseFlags,
|
|
7
|
+
};
|
|
8
|
+
async getData() {
|
|
9
|
+
const pathParams = {};
|
|
10
|
+
return await this.apiClient.database.listMysqlCharsets({
|
|
11
|
+
pathParameters: await this.mapParams(pathParams),
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
mapParams(input) {
|
|
15
|
+
return input;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { MittwaldAPIV2, MittwaldAPIV2Client } from "@mittwald/api-client";
|
|
2
|
+
import { ListBaseCommand } from "../../ListBaseCommand.js";
|
|
3
|
+
export type PathParams = MittwaldAPIV2.Paths.V2ProjectsProjectIdMysqlDatabases.Get.Parameters.Path;
|
|
4
|
+
export type Response = Awaited<ReturnType<MittwaldAPIV2Client["database"]["listMysqlDatabases"]>>;
|
|
5
|
+
export declare abstract class GeneratedDatabaseListMysqlDatabases<TItem extends Record<string, unknown>> extends ListBaseCommand<typeof GeneratedDatabaseListMysqlDatabases, TItem, Response> {
|
|
6
|
+
static description: string;
|
|
7
|
+
static args: {};
|
|
8
|
+
static flags: {
|
|
9
|
+
"project-id": import("@oclif/core/lib/interfaces/parser.js").OptionFlag<string, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>;
|
|
10
|
+
};
|
|
11
|
+
getData(): Promise<Response>;
|
|
12
|
+
protected mapParams(input: PathParams): Promise<PathParams> | PathParams;
|
|
13
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { Flags } from "@oclif/core";
|
|
2
|
+
import { ListBaseCommand } from "../../ListBaseCommand.js";
|
|
3
|
+
export class GeneratedDatabaseListMysqlDatabases extends ListBaseCommand {
|
|
4
|
+
static description = "List MySQLDatabases belonging to a Project.";
|
|
5
|
+
static args = {};
|
|
6
|
+
static flags = {
|
|
7
|
+
...ListBaseCommand.baseFlags,
|
|
8
|
+
"project-id": Flags.string({
|
|
9
|
+
description: "ID of the Project to list MySQLDatabases for.",
|
|
10
|
+
required: true,
|
|
11
|
+
}),
|
|
12
|
+
};
|
|
13
|
+
async getData() {
|
|
14
|
+
const pathParams = {
|
|
15
|
+
projectId: this.flags["project-id"],
|
|
16
|
+
};
|
|
17
|
+
return await this.apiClient.database.listMysqlDatabases({
|
|
18
|
+
pathParameters: await this.mapParams(pathParams),
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
mapParams(input) {
|
|
22
|
+
return input;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { MittwaldAPIV2, MittwaldAPIV2Client } from "@mittwald/api-client";
|
|
2
|
+
import { ListBaseCommand } from "../../ListBaseCommand.js";
|
|
3
|
+
export type PathParams = MittwaldAPIV2.Paths.V2MysqlDatabasesDatabaseIdUsers.Get.Parameters.Path;
|
|
4
|
+
export type Response = Awaited<ReturnType<MittwaldAPIV2Client["database"]["listMysqlUsers"]>>;
|
|
5
|
+
export declare abstract class GeneratedDatabaseListMysqlUsers<TItem extends Record<string, unknown>> extends ListBaseCommand<typeof GeneratedDatabaseListMysqlUsers, TItem, Response> {
|
|
6
|
+
static description: string;
|
|
7
|
+
static args: {};
|
|
8
|
+
static flags: {
|
|
9
|
+
"database-id": import("@oclif/core/lib/interfaces/parser.js").OptionFlag<string, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>;
|
|
10
|
+
};
|
|
11
|
+
getData(): Promise<Response>;
|
|
12
|
+
protected mapParams(input: PathParams): Promise<PathParams> | PathParams;
|
|
13
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { Flags } from "@oclif/core";
|
|
2
|
+
import { ListBaseCommand } from "../../ListBaseCommand.js";
|
|
3
|
+
export class GeneratedDatabaseListMysqlUsers extends ListBaseCommand {
|
|
4
|
+
static description = "List MySQLUsers belonging to a database.";
|
|
5
|
+
static args = {};
|
|
6
|
+
static flags = {
|
|
7
|
+
...ListBaseCommand.baseFlags,
|
|
8
|
+
"database-id": Flags.string({
|
|
9
|
+
description: "ID of the MySQLDatabase to list Users for.",
|
|
10
|
+
required: true,
|
|
11
|
+
}),
|
|
12
|
+
};
|
|
13
|
+
async getData() {
|
|
14
|
+
const pathParams = {
|
|
15
|
+
databaseId: this.flags["database-id"],
|
|
16
|
+
};
|
|
17
|
+
return await this.apiClient.database.listMysqlUsers({
|
|
18
|
+
pathParameters: await this.mapParams(pathParams),
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
mapParams(input) {
|
|
22
|
+
return input;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { MittwaldAPIV2, MittwaldAPIV2Client } from "@mittwald/api-client";
|
|
2
|
+
import { ListBaseCommand } from "../../ListBaseCommand.js";
|
|
3
|
+
export type PathParams = MittwaldAPIV2.Paths.V2MysqlVersions.Get.Parameters.Path;
|
|
4
|
+
export type Response = Awaited<ReturnType<MittwaldAPIV2Client["database"]["listMysqlVersions"]>>;
|
|
5
|
+
export declare abstract class GeneratedDatabaseListMysqlVersions<TItem extends Record<string, unknown>> extends ListBaseCommand<typeof GeneratedDatabaseListMysqlVersions, TItem, Response> {
|
|
6
|
+
static description: string;
|
|
7
|
+
static args: {};
|
|
8
|
+
static flags: {
|
|
9
|
+
[x: string]: import("@oclif/core/lib/interfaces/parser.js").CompletableFlag<any>;
|
|
10
|
+
};
|
|
11
|
+
getData(): Promise<Response>;
|
|
12
|
+
protected mapParams(input: PathParams): Promise<PathParams> | PathParams;
|
|
13
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ListBaseCommand } from "../../ListBaseCommand.js";
|
|
2
|
+
export class GeneratedDatabaseListMysqlVersions extends ListBaseCommand {
|
|
3
|
+
static description = "List available MySQLVersions.";
|
|
4
|
+
static args = {};
|
|
5
|
+
static flags = {
|
|
6
|
+
...ListBaseCommand.baseFlags,
|
|
7
|
+
};
|
|
8
|
+
async getData() {
|
|
9
|
+
const pathParams = {};
|
|
10
|
+
return await this.apiClient.database.listMysqlVersions({
|
|
11
|
+
pathParameters: await this.mapParams(pathParams),
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
mapParams(input) {
|
|
15
|
+
return input;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { MittwaldAPIV2, MittwaldAPIV2Client } from "@mittwald/api-client";
|
|
2
|
+
import { ListBaseCommand } from "../../ListBaseCommand.js";
|
|
3
|
+
export type PathParams = MittwaldAPIV2.Paths.V2ProjectsProjectIdRedisDatabases.Get.Parameters.Path;
|
|
4
|
+
export type Response = Awaited<ReturnType<MittwaldAPIV2Client["database"]["listRedisDatabases"]>>;
|
|
5
|
+
export declare abstract class GeneratedDatabaseListRedisDatabases<TItem extends Record<string, unknown>> extends ListBaseCommand<typeof GeneratedDatabaseListRedisDatabases, TItem, Response> {
|
|
6
|
+
static description: string;
|
|
7
|
+
static args: {};
|
|
8
|
+
static flags: {
|
|
9
|
+
"project-id": import("@oclif/core/lib/interfaces/parser.js").OptionFlag<string, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>;
|
|
10
|
+
};
|
|
11
|
+
getData(): Promise<Response>;
|
|
12
|
+
protected mapParams(input: PathParams): Promise<PathParams> | PathParams;
|
|
13
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { Flags } from "@oclif/core";
|
|
2
|
+
import { ListBaseCommand } from "../../ListBaseCommand.js";
|
|
3
|
+
export class GeneratedDatabaseListRedisDatabases extends ListBaseCommand {
|
|
4
|
+
static description = "List RedisDatabases belonging to a project.";
|
|
5
|
+
static args = {};
|
|
6
|
+
static flags = {
|
|
7
|
+
...ListBaseCommand.baseFlags,
|
|
8
|
+
"project-id": Flags.string({
|
|
9
|
+
description: "ID of the Project to list RedisDatabases for.",
|
|
10
|
+
required: true,
|
|
11
|
+
}),
|
|
12
|
+
};
|
|
13
|
+
async getData() {
|
|
14
|
+
const pathParams = {
|
|
15
|
+
projectId: this.flags["project-id"],
|
|
16
|
+
};
|
|
17
|
+
return await this.apiClient.database.listRedisDatabases({
|
|
18
|
+
pathParameters: await this.mapParams(pathParams),
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
mapParams(input) {
|
|
22
|
+
return input;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { MittwaldAPIV2, MittwaldAPIV2Client } from "@mittwald/api-client";
|
|
2
|
+
import { ListBaseCommand } from "../../ListBaseCommand.js";
|
|
3
|
+
export type PathParams = MittwaldAPIV2.Paths.V2RedisVersions.Get.Parameters.Path;
|
|
4
|
+
export type Response = Awaited<ReturnType<MittwaldAPIV2Client["database"]["listRedisVersions"]>>;
|
|
5
|
+
export declare abstract class GeneratedDatabaseListRedisVersions<TItem extends Record<string, unknown>> extends ListBaseCommand<typeof GeneratedDatabaseListRedisVersions, TItem, Response> {
|
|
6
|
+
static description: string;
|
|
7
|
+
static args: {};
|
|
8
|
+
static flags: {
|
|
9
|
+
[x: string]: import("@oclif/core/lib/interfaces/parser.js").CompletableFlag<any>;
|
|
10
|
+
};
|
|
11
|
+
getData(): Promise<Response>;
|
|
12
|
+
protected mapParams(input: PathParams): Promise<PathParams> | PathParams;
|
|
13
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ListBaseCommand } from "../../ListBaseCommand.js";
|
|
2
|
+
export class GeneratedDatabaseListRedisVersions extends ListBaseCommand {
|
|
3
|
+
static description = "List available Redis versions.";
|
|
4
|
+
static args = {};
|
|
5
|
+
static flags = {
|
|
6
|
+
...ListBaseCommand.baseFlags,
|
|
7
|
+
};
|
|
8
|
+
async getData() {
|
|
9
|
+
const pathParams = {};
|
|
10
|
+
return await this.apiClient.database.listRedisVersions({
|
|
11
|
+
pathParameters: await this.mapParams(pathParams),
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
mapParams(input) {
|
|
15
|
+
return input;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { MittwaldAPIV2, MittwaldAPIV2Client } from "@mittwald/api-client";
|
|
2
|
+
import { GetBaseCommand } from "../../GetBaseCommand.js";
|
|
3
|
+
export type PathParams = MittwaldAPIV2.Paths.V2DnsZonesZoneId.Get.Parameters.Path;
|
|
4
|
+
type APIResponse = Awaited<ReturnType<MittwaldAPIV2Client["domain"]["dnsZoneGetSpecific"]>>;
|
|
5
|
+
export declare abstract class GeneratedDnsZoneGetSpecific extends GetBaseCommand<typeof GeneratedDnsZoneGetSpecific, APIResponse> {
|
|
6
|
+
static description: string;
|
|
7
|
+
static flags: {
|
|
8
|
+
[x: string]: import("@oclif/core/lib/interfaces/parser.js").CompletableFlag<any>;
|
|
9
|
+
};
|
|
10
|
+
static args: {
|
|
11
|
+
zoneId: import("@oclif/core/lib/interfaces/parser.js").Arg<string, Record<string, unknown>>;
|
|
12
|
+
};
|
|
13
|
+
protected getData(): Promise<APIResponse>;
|
|
14
|
+
protected mapParams(input: PathParams): Promise<PathParams> | PathParams;
|
|
15
|
+
}
|
|
16
|
+
export {};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
/* prettier-ignore */
|
|
3
|
+
/* This file is auto-generated with acg (@mittwald/api-code-generator) */
|
|
4
|
+
import { Args } from "@oclif/core";
|
|
5
|
+
import { GetBaseCommand } from "../../GetBaseCommand.js";
|
|
6
|
+
export class GeneratedDnsZoneGetSpecific extends GetBaseCommand {
|
|
7
|
+
static description = "gets a specific zone";
|
|
8
|
+
static flags = {
|
|
9
|
+
...GetBaseCommand.baseFlags,
|
|
10
|
+
};
|
|
11
|
+
static args = {
|
|
12
|
+
zoneId: Args.string({
|
|
13
|
+
description: "id of the zone you want to get",
|
|
14
|
+
required: true,
|
|
15
|
+
}),
|
|
16
|
+
};
|
|
17
|
+
async getData() {
|
|
18
|
+
return await this.apiClient.domain.dnsZoneGetSpecific({
|
|
19
|
+
pathParameters: await this.mapParams(this.args),
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
mapParams(input) {
|
|
23
|
+
return input;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { MittwaldAPIV2, MittwaldAPIV2Client } from "@mittwald/api-client";
|
|
2
|
+
import { GetBaseCommand } from "../../GetBaseCommand.js";
|
|
3
|
+
export type PathParams = MittwaldAPIV2.Paths.V2ProjectsProjectIdDnsZones.Get.Parameters.Path;
|
|
4
|
+
type APIResponse = Awaited<ReturnType<MittwaldAPIV2Client["domain"]["dnsZonesForProject"]>>;
|
|
5
|
+
export declare abstract class GeneratedDnsZonesForProject extends GetBaseCommand<typeof GeneratedDnsZonesForProject, APIResponse> {
|
|
6
|
+
static description: string;
|
|
7
|
+
static flags: {
|
|
8
|
+
"project-id": import("@oclif/core/lib/interfaces/parser.js").OptionFlag<string, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>;
|
|
9
|
+
};
|
|
10
|
+
static args: {};
|
|
11
|
+
protected getData(): Promise<APIResponse>;
|
|
12
|
+
protected mapParams(input: PathParams): Promise<PathParams> | PathParams;
|
|
13
|
+
}
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
/* prettier-ignore */
|
|
3
|
+
/* This file is auto-generated with acg (@mittwald/api-code-generator) */
|
|
4
|
+
import { Flags } from "@oclif/core";
|
|
5
|
+
import { GetBaseCommand } from "../../GetBaseCommand.js";
|
|
6
|
+
export class GeneratedDnsZonesForProject extends GetBaseCommand {
|
|
7
|
+
static description = "gets all dns zones by project id";
|
|
8
|
+
static flags = {
|
|
9
|
+
...GetBaseCommand.baseFlags,
|
|
10
|
+
"project-id": Flags.string({
|
|
11
|
+
description: "project you want to get the zones for",
|
|
12
|
+
required: true,
|
|
13
|
+
}),
|
|
14
|
+
};
|
|
15
|
+
static args = {};
|
|
16
|
+
async getData() {
|
|
17
|
+
return await this.apiClient.domain.dnsZonesForProject({
|
|
18
|
+
pathParameters: await this.mapParams(this.args),
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
mapParams(input) {
|
|
22
|
+
return input;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { MittwaldAPIV2, MittwaldAPIV2Client } from "@mittwald/api-client";
|
|
2
|
+
import { GetBaseCommand } from "../../GetBaseCommand.js";
|
|
3
|
+
export type PathParams = MittwaldAPIV2.Paths.V2DomainsDomainId.Get.Parameters.Path;
|
|
4
|
+
type APIResponse = Awaited<ReturnType<MittwaldAPIV2Client["domain"]["getDomain"]>>;
|
|
5
|
+
export declare abstract class GeneratedDomainGetDomain extends GetBaseCommand<typeof GeneratedDomainGetDomain, APIResponse> {
|
|
6
|
+
static description: string;
|
|
7
|
+
static flags: {
|
|
8
|
+
[x: string]: import("@oclif/core/lib/interfaces/parser.js").CompletableFlag<any>;
|
|
9
|
+
};
|
|
10
|
+
static args: {
|
|
11
|
+
domainId: import("@oclif/core/lib/interfaces/parser.js").Arg<string, Record<string, unknown>>;
|
|
12
|
+
};
|
|
13
|
+
protected getData(): Promise<APIResponse>;
|
|
14
|
+
protected mapParams(input: PathParams): Promise<PathParams> | PathParams;
|
|
15
|
+
}
|
|
16
|
+
export {};
|