@mittwald/cli 1.0.0-alpha.10
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/LICENSE +21 -0
- package/README.md +2469 -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 +12 -0
- package/dist/esm/DeleteBaseCommand.js +43 -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 +18 -0
- package/dist/esm/Formatter.js +33 -0
- package/dist/esm/GetBaseCommand.d.ts +17 -0
- package/dist/esm/GetBaseCommand.js +27 -0
- package/dist/esm/Helpers.d.ts +6 -0
- package/dist/esm/Helpers.js +30 -0
- package/dist/esm/ListBaseCommand.d.ts +20 -0
- package/dist/esm/ListBaseCommand.js +60 -0
- package/dist/esm/Printer.d.ts +15 -0
- package/dist/esm/Printer.js +30 -0
- package/dist/esm/Translator.d.ts +6 -0
- package/dist/esm/Translator.js +64 -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/dependency/getSystemsoftware.d.ts +3 -0
- package/dist/esm/commands/app/dependency/getSystemsoftware.js +6 -0
- package/dist/esm/commands/app/dependency/getSystemsoftwareversion.d.ts +3 -0
- package/dist/esm/commands/app/dependency/getSystemsoftwareversion.js +6 -0
- package/dist/esm/commands/app/dependency/listSystemsoftwares.d.ts +9 -0
- package/dist/esm/commands/app/dependency/listSystemsoftwares.js +6 -0
- package/dist/esm/commands/app/dependency/listSystemsoftwareversions.d.ts +9 -0
- package/dist/esm/commands/app/dependency/listSystemsoftwareversions.js +6 -0
- package/dist/esm/commands/app/get.d.ts +3 -0
- package/dist/esm/commands/app/get.js +6 -0
- package/dist/esm/commands/app/install/wordpress.d.ts +23 -0
- package/dist/esm/commands/app/install/wordpress.js +112 -0
- package/dist/esm/commands/app/list.d.ts +15 -0
- package/dist/esm/commands/app/list.js +58 -0
- package/dist/esm/commands/app/versions.d.ts +12 -0
- package/dist/esm/commands/app/versions.js +53 -0
- package/dist/esm/commands/article/get.d.ts +3 -0
- package/dist/esm/commands/article/get.js +6 -0
- package/dist/esm/commands/article/list.d.ts +9 -0
- package/dist/esm/commands/article/list.js +6 -0
- package/dist/esm/commands/context/get.d.ts +10 -0
- package/dist/esm/commands/context/get.js +39 -0
- package/dist/esm/commands/context/set.d.ts +11 -0
- package/dist/esm/commands/context/set.js +37 -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 +40 -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/dnszone/get.d.ts +3 -0
- package/dist/esm/commands/domain/dnszone/get.js +6 -0
- package/dist/esm/commands/domain/dnszone/list.d.ts +3 -0
- package/dist/esm/commands/domain/dnszone/list.js +6 -0
- package/dist/esm/commands/domain/get-handle.d.ts +3 -0
- package/dist/esm/commands/domain/get-handle.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/list.d.ts +17 -0
- package/dist/esm/commands/domain/list.js +20 -0
- package/dist/esm/commands/domain/ownership/get.d.ts +3 -0
- package/dist/esm/commands/domain/ownership/get.js +6 -0
- package/dist/esm/commands/domain/ownership/list.d.ts +9 -0
- package/dist/esm/commands/domain/ownership/list.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 +52 -0
- package/dist/esm/commands/login/reset.d.ts +12 -0
- package/dist/esm/commands/login/reset.js +39 -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 +10 -0
- package/dist/esm/commands/login/token.js +40 -0
- package/dist/esm/commands/mail/address/create.d.ts +20 -0
- package/dist/esm/commands/mail/address/create.js +61 -0
- package/dist/esm/commands/mail/address/delete.d.ts +13 -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 +20 -0
- package/dist/esm/commands/mail/address/list.js +63 -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/org/get.d.ts +14 -0
- package/dist/esm/commands/org/get.js +52 -0
- package/dist/esm/commands/org/invite/get.d.ts +3 -0
- package/dist/esm/commands/org/invite/get.js +6 -0
- package/dist/esm/commands/org/invite/list-own.d.ts +9 -0
- package/dist/esm/commands/org/invite/list-own.js +6 -0
- package/dist/esm/commands/org/invite/list.d.ts +9 -0
- package/dist/esm/commands/org/invite/list.js +6 -0
- package/dist/esm/commands/org/list.d.ts +11 -0
- package/dist/esm/commands/org/list.js +28 -0
- package/dist/esm/commands/org/membership/get.d.ts +3 -0
- package/dist/esm/commands/org/membership/get.js +6 -0
- package/dist/esm/commands/org/membership/list-own.d.ts +9 -0
- package/dist/esm/commands/org/membership/list-own.js +6 -0
- package/dist/esm/commands/org/membership/list.d.ts +9 -0
- package/dist/esm/commands/org/membership/list.js +6 -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 +19 -0
- package/dist/esm/commands/project/backup/list.js +32 -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 +19 -0
- package/dist/esm/commands/project/create.js +71 -0
- package/dist/esm/commands/project/cronjob/execution/get.d.ts +16 -0
- package/dist/esm/commands/project/cronjob/execution/get.js +27 -0
- package/dist/esm/commands/project/cronjob/execution/list.d.ts +18 -0
- package/dist/esm/commands/project/cronjob/execution/list.js +42 -0
- package/dist/esm/commands/project/cronjob/execution/logs.d.ts +15 -0
- package/dist/esm/commands/project/cronjob/execution/logs.js +74 -0
- package/dist/esm/commands/project/cronjob/get.d.ts +3 -0
- package/dist/esm/commands/project/cronjob/get.js +6 -0
- package/dist/esm/commands/project/cronjob/list.d.ts +19 -0
- package/dist/esm/commands/project/cronjob/list.js +45 -0
- package/dist/esm/commands/project/delete.d.ts +14 -0
- package/dist/esm/commands/project/delete.js +20 -0
- package/dist/esm/commands/project/filesystem/usage.d.ts +14 -0
- package/dist/esm/commands/project/filesystem/usage.js +53 -0
- package/dist/esm/commands/project/get.d.ts +14 -0
- package/dist/esm/commands/project/get.js +78 -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-react.d.ts +11 -0
- package/dist/esm/commands/project/list-react.js +42 -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/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 +24 -0
- package/dist/esm/commands/project/update.d.ts +8 -0
- package/dist/esm/commands/project/update.js +12 -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 +17 -0
- package/dist/esm/commands/user/api-token/create.js +64 -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 +23 -0
- package/dist/esm/commands/user/api-token/revoke.d.ts +13 -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 +26 -0
- package/dist/esm/commands/user/ssh-key/create.d.ts +13 -0
- package/dist/esm/commands/user/ssh-key/create.js +77 -0
- package/dist/esm/commands/user/ssh-key/delete.d.ts +13 -0
- package/dist/esm/commands/user/ssh-key/delete.js +22 -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/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/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/listDomainOwnerships.d.ts +13 -0
- package/dist/esm/generated/domain/listDomainOwnerships.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/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/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/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/lib/app/appHelpers.d.ts +4 -0
- package/dist/esm/lib/app/appHelpers.js +43 -0
- package/dist/esm/lib/app/appVersionHelpers.d.ts +5 -0
- package/dist/esm/lib/app/appVersionHelpers.js +35 -0
- package/dist/esm/lib/bytes.d.ts +1 -0
- package/dist/esm/lib/bytes.js +16 -0
- package/dist/esm/lib/context.d.ts +16 -0
- package/dist/esm/lib/context.js +42 -0
- package/dist/esm/lib/context_flags.d.ts +18 -0
- package/dist/esm/lib/context_flags.js +42 -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 +11 -0
- package/dist/esm/lib/handleError.js +28 -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/org/flags.d.ts +5 -0
- package/dist/esm/lib/org/flags.js +2 -0
- package/dist/esm/lib/project/flags.d.ts +5 -0
- package/dist/esm/lib/project/flags.js +3 -0
- package/dist/esm/lib/server/flags.d.ts +5 -0
- package/dist/esm/lib/server/flags.js +3 -0
- package/dist/esm/lib/viewhelpers/date.d.ts +5 -0
- package/dist/esm/lib/viewhelpers/date.js +23 -0
- package/dist/esm/lib/viewhelpers/removeLineBreaks.d.ts +1 -0
- package/dist/esm/lib/viewhelpers/removeLineBreaks.js +1 -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/lib/wait.d.ts +1 -0
- package/dist/esm/lib/wait.js +12 -0
- package/dist/esm/rendering/lib/getTerminalWidth.d.ts +1 -0
- package/dist/esm/rendering/lib/getTerminalWidth.js +2 -0
- package/dist/esm/rendering/react/ComponentPrinter.d.ts +7 -0
- package/dist/esm/rendering/react/ComponentPrinter.js +13 -0
- package/dist/esm/rendering/react/ExecRenderBaseCommand.d.ts +8 -0
- package/dist/esm/rendering/react/ExecRenderBaseCommand.js +15 -0
- package/dist/esm/rendering/react/RenderBaseCommand.d.ts +19 -0
- package/dist/esm/rendering/react/RenderBaseCommand.js +45 -0
- package/dist/esm/rendering/react/components/ByteFormat.d.ts +4 -0
- package/dist/esm/rendering/react/components/ByteFormat.js +12 -0
- package/dist/esm/rendering/react/components/Conversation/ConversationMessage.d.ts +8 -0
- package/dist/esm/rendering/react/components/Conversation/ConversationMessage.js +12 -0
- package/dist/esm/rendering/react/components/Conversation/ConversationMessages.d.ts +8 -0
- package/dist/esm/rendering/react/components/Conversation/ConversationMessages.js +13 -0
- package/dist/esm/rendering/react/components/Conversation/ConversationMeta.d.ts +6 -0
- package/dist/esm/rendering/react/components/Conversation/ConversationMeta.js +25 -0
- package/dist/esm/rendering/react/components/Conversation/ConversationStatusUpdate.d.ts +8 -0
- package/dist/esm/rendering/react/components/Conversation/ConversationStatusUpdate.js +6 -0
- package/dist/esm/rendering/react/components/CreatedAt.d.ts +8 -0
- package/dist/esm/rendering/react/components/CreatedAt.js +10 -0
- package/dist/esm/rendering/react/components/Filename.d.ts +4 -0
- package/dist/esm/rendering/react/components/Filename.js +5 -0
- package/dist/esm/rendering/react/components/FormattedDate.d.ts +8 -0
- package/dist/esm/rendering/react/components/FormattedDate.js +16 -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/IDAndShortID.d.ts +7 -0
- package/dist/esm/rendering/react/components/IDAndShortID.js +6 -0
- package/dist/esm/rendering/react/components/JSONView.d.ts +7 -0
- package/dist/esm/rendering/react/components/JSONView.js +3 -0
- package/dist/esm/rendering/react/components/ListItem.d.ts +3 -0
- package/dist/esm/rendering/react/components/ListItem.js +5 -0
- package/dist/esm/rendering/react/components/Note.d.ts +10 -0
- package/dist/esm/rendering/react/components/Note.js +8 -0
- package/dist/esm/rendering/react/components/Organization/CustomerIDAndNumber.d.ts +7 -0
- package/dist/esm/rendering/react/components/Organization/CustomerIDAndNumber.js +6 -0
- package/dist/esm/rendering/react/components/Organization/OrganizationOrderEligibility.d.ts +6 -0
- package/dist/esm/rendering/react/components/Organization/OrganizationOrderEligibility.js +9 -0
- package/dist/esm/rendering/react/components/Organization/OrganizationOwner.d.ts +6 -0
- package/dist/esm/rendering/react/components/Organization/OrganizationOwner.js +14 -0
- package/dist/esm/rendering/react/components/ProjectEnabled.d.ts +6 -0
- package/dist/esm/rendering/react/components/ProjectEnabled.js +9 -0
- package/dist/esm/rendering/react/components/ProjectReadiness.d.ts +7 -0
- package/dist/esm/rendering/react/components/ProjectReadiness.js +16 -0
- package/dist/esm/rendering/react/components/ProjectStatus.d.ts +7 -0
- package/dist/esm/rendering/react/components/ProjectStatus.js +8 -0
- package/dist/esm/rendering/react/components/Render.d.ts +6 -0
- package/dist/esm/rendering/react/components/Render.js +5 -0
- package/dist/esm/rendering/react/components/SingleResult.d.ts +10 -0
- package/dist/esm/rendering/react/components/SingleResult.js +15 -0
- package/dist/esm/rendering/react/components/Success.d.ts +9 -0
- package/dist/esm/rendering/react/components/Success.js +6 -0
- package/dist/esm/rendering/react/components/Table/BodyCell.d.ts +7 -0
- package/dist/esm/rendering/react/components/Table/BodyCell.js +7 -0
- package/dist/esm/rendering/react/components/Table/BodyRow.d.ts +7 -0
- package/dist/esm/rendering/react/components/Table/BodyRow.js +7 -0
- package/dist/esm/rendering/react/components/Table/BodyRows.d.ts +7 -0
- package/dist/esm/rendering/react/components/Table/BodyRows.js +6 -0
- package/dist/esm/rendering/react/components/Table/CellData.d.ts +6 -0
- package/dist/esm/rendering/react/components/Table/CellData.js +32 -0
- package/dist/esm/rendering/react/components/Table/CellLayout.d.ts +8 -0
- package/dist/esm/rendering/react/components/Table/CellLayout.js +17 -0
- package/dist/esm/rendering/react/components/Table/HeaderCell.d.ts +7 -0
- package/dist/esm/rendering/react/components/Table/HeaderCell.js +7 -0
- package/dist/esm/rendering/react/components/Table/HeaderRow.d.ts +8 -0
- package/dist/esm/rendering/react/components/Table/HeaderRow.js +7 -0
- package/dist/esm/rendering/react/components/Table/RowLayout.d.ts +5 -0
- package/dist/esm/rendering/react/components/Table/RowLayout.js +3 -0
- package/dist/esm/rendering/react/components/Table/Table.d.ts +10 -0
- package/dist/esm/rendering/react/components/Table/Table.js +21 -0
- package/dist/esm/rendering/react/components/Table/context.d.ts +9 -0
- package/dist/esm/rendering/react/components/Table/context.js +7 -0
- package/dist/esm/rendering/react/components/Table/index.d.ts +1 -0
- package/dist/esm/rendering/react/components/Table/index.js +1 -0
- package/dist/esm/rendering/react/components/Table/model/Cell.d.ts +19 -0
- package/dist/esm/rendering/react/components/Table/model/Cell.js +24 -0
- package/dist/esm/rendering/react/components/Table/model/Column.d.ts +16 -0
- package/dist/esm/rendering/react/components/Table/model/Column.js +35 -0
- package/dist/esm/rendering/react/components/Table/model/ColumnName.d.ts +7 -0
- package/dist/esm/rendering/react/components/Table/model/ColumnName.js +17 -0
- package/dist/esm/rendering/react/components/Table/model/ColumnOptions.d.ts +25 -0
- package/dist/esm/rendering/react/components/Table/model/ColumnOptions.js +41 -0
- package/dist/esm/rendering/react/components/Table/model/Row.d.ts +14 -0
- package/dist/esm/rendering/react/components/Table/model/Row.js +37 -0
- package/dist/esm/rendering/react/components/Table/model/Table.d.ts +19 -0
- package/dist/esm/rendering/react/components/Table/model/Table.js +48 -0
- package/dist/esm/rendering/react/components/Table/model/index.d.ts +5 -0
- package/dist/esm/rendering/react/components/Table/model/index.js +5 -0
- package/dist/esm/rendering/react/components/Value.d.ts +5 -0
- package/dist/esm/rendering/react/components/Value.js +8 -0
- package/dist/esm/rendering/react/components/WithoutLineBreaks.d.ts +2 -0
- package/dist/esm/rendering/react/components/WithoutLineBreaks.js +7 -0
- package/dist/esm/rendering/react/context.d.ts +9 -0
- package/dist/esm/rendering/react/context.js +7 -0
- package/dist/esm/rendering/react/hooks/useMyUserProfile.d.ts +2 -0
- package/dist/esm/rendering/react/hooks/useMyUserProfile.js +17 -0
- package/dist/esm/rendering/react/json/JsonCollectionProvider.d.ts +2 -0
- package/dist/esm/rendering/react/json/JsonCollectionProvider.js +10 -0
- package/dist/esm/rendering/react/json/JsonRenderer.d.ts +2 -0
- package/dist/esm/rendering/react/json/JsonRenderer.js +14 -0
- package/dist/esm/rendering/react/json/RenderJson.d.ts +7 -0
- package/dist/esm/rendering/react/json/RenderJson.js +19 -0
- package/dist/esm/rendering/react/json/context.d.ts +5 -0
- package/dist/esm/rendering/react/json/context.js +4 -0
- package/dist/esm/rendering/react/json/lib/unpackJsonData.d.ts +1 -0
- package/dist/esm/rendering/react/json/lib/unpackJsonData.js +5 -0
- package/dist/esm/rendering/react/lib/observable-value/ObservableValue.d.ts +10 -0
- package/dist/esm/rendering/react/lib/observable-value/ObservableValue.js +25 -0
- package/dist/esm/rendering/react/lib/observable-value/types.d.ts +2 -0
- package/dist/esm/rendering/react/lib/observable-value/types.js +1 -0
- package/dist/esm/rendering/react/lib/observable-value/useWatchObservableValue.d.ts +2 -0
- package/dist/esm/rendering/react/lib/observable-value/useWatchObservableValue.js +9 -0
- package/dist/esm/rendering/react/measure/MeasureChildren.d.ts +8 -0
- package/dist/esm/rendering/react/measure/MeasureChildren.js +19 -0
- package/dist/esm/rendering/react/measure/MeasureContextProvider.d.ts +2 -0
- package/dist/esm/rendering/react/measure/MeasureContextProvider.js +10 -0
- package/dist/esm/rendering/react/measure/MeasureRenderer.d.ts +2 -0
- package/dist/esm/rendering/react/measure/MeasureRenderer.js +22 -0
- package/dist/esm/rendering/react/measure/context.d.ts +18 -0
- package/dist/esm/rendering/react/measure/context.js +48 -0
- package/dist/esm/rendering/react/process.d.ts +42 -0
- package/dist/esm/rendering/react/process.js +24 -0
- package/dist/esm/rendering/react/process_fancy.d.ts +28 -0
- package/dist/esm/rendering/react/process_fancy.js +221 -0
- package/dist/esm/rendering/react/process_flags.d.ts +9 -0
- package/dist/esm/rendering/react/process_flags.js +15 -0
- package/dist/esm/rendering/react/process_quiet.d.ts +12 -0
- package/dist/esm/rendering/react/process_quiet.js +29 -0
- package/dist/esm/rendering/setup/FlagSupportedSetup.d.ts +15 -0
- package/dist/esm/rendering/setup/FlagSupportedSetup.js +22 -0
- package/dist/esm/rendering/setup/TableRenderSetup.d.ts +11 -0
- package/dist/esm/rendering/setup/TableRenderSetup.js +24 -0
- package/dist/esm/rendering/setup/usePromiseSetup.d.ts +12 -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 +159 -0
|
@@ -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 GeneratedProjectGetProjectInvite extends GetBaseCommand {
|
|
7
|
+
static description = "Get a ProjectInvite.";
|
|
8
|
+
static flags = {
|
|
9
|
+
...GetBaseCommand.baseFlags,
|
|
10
|
+
};
|
|
11
|
+
static args = {
|
|
12
|
+
inviteId: Args.string({
|
|
13
|
+
description: "ID of the ProjectInvite to be retrieved.",
|
|
14
|
+
required: true,
|
|
15
|
+
}),
|
|
16
|
+
};
|
|
17
|
+
async getData() {
|
|
18
|
+
return await this.apiClient.project.getProjectInvite({
|
|
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.V2ProjectMembershipsMembershipId.Get.Parameters.Path;
|
|
4
|
+
type APIResponse = Awaited<ReturnType<MittwaldAPIV2Client["project"]["getProjectMembership"]>>;
|
|
5
|
+
export declare abstract class GeneratedProjectGetProjectMembership extends GetBaseCommand<typeof GeneratedProjectGetProjectMembership, 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
|
+
membershipId: 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 GeneratedProjectGetProjectMembership extends GetBaseCommand {
|
|
7
|
+
static description = "Get a ProjectMembership";
|
|
8
|
+
static flags = {
|
|
9
|
+
...GetBaseCommand.baseFlags,
|
|
10
|
+
};
|
|
11
|
+
static args = {
|
|
12
|
+
membershipId: Args.string({
|
|
13
|
+
description: "ID of the ProjectMembership to be retrieved.",
|
|
14
|
+
required: true,
|
|
15
|
+
}),
|
|
16
|
+
};
|
|
17
|
+
async getData() {
|
|
18
|
+
return await this.apiClient.project.getProjectMembership({
|
|
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.V2ProjectsProjectIdMembershipsSelf.Get.Parameters.Path;
|
|
4
|
+
type APIResponse = Awaited<ReturnType<MittwaldAPIV2Client["project"]["getSelfMembershipForProject"]>>;
|
|
5
|
+
export declare abstract class GeneratedProjectGetSelfMembershipForProject extends GetBaseCommand<typeof GeneratedProjectGetSelfMembershipForProject, 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 GeneratedProjectGetSelfMembershipForProject extends GetBaseCommand {
|
|
7
|
+
static description = "Get the executing user's membership in a Project.";
|
|
8
|
+
static flags = {
|
|
9
|
+
...GetBaseCommand.baseFlags,
|
|
10
|
+
"project-id": Flags.string({
|
|
11
|
+
description: "ID of the Project to get the membership for.",
|
|
12
|
+
required: true,
|
|
13
|
+
}),
|
|
14
|
+
};
|
|
15
|
+
static args = {};
|
|
16
|
+
async getData() {
|
|
17
|
+
return await this.apiClient.project.getSelfMembershipForProject({
|
|
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.V2ServersServerId.Get.Parameters.Path;
|
|
4
|
+
type APIResponse = Awaited<ReturnType<MittwaldAPIV2Client["project"]["getServer"]>>;
|
|
5
|
+
export declare abstract class GeneratedProjectGetServer extends GetBaseCommand<typeof GeneratedProjectGetServer, 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
|
+
serverId: 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 GeneratedProjectGetServer extends GetBaseCommand {
|
|
7
|
+
static description = "Get a Server.";
|
|
8
|
+
static flags = {
|
|
9
|
+
...GetBaseCommand.baseFlags,
|
|
10
|
+
};
|
|
11
|
+
static args = {
|
|
12
|
+
serverId: Args.string({
|
|
13
|
+
description: "ID of the Server to be retrieved.",
|
|
14
|
+
required: true,
|
|
15
|
+
}),
|
|
16
|
+
};
|
|
17
|
+
async getData() {
|
|
18
|
+
return await this.apiClient.project.getServer({
|
|
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.V2ProjectsProjectIdInvites.Get.Parameters.Path;
|
|
4
|
+
export type Response = Awaited<ReturnType<MittwaldAPIV2Client["project"]["listInvitesForProject"]>>;
|
|
5
|
+
export declare abstract class GeneratedProjectListInvitesForProject<TItem extends Record<string, unknown>> extends ListBaseCommand<typeof GeneratedProjectListInvitesForProject, 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 GeneratedProjectListInvitesForProject extends ListBaseCommand {
|
|
4
|
+
static description = "List all invites 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 invites for.",
|
|
10
|
+
required: true,
|
|
11
|
+
}),
|
|
12
|
+
};
|
|
13
|
+
async getData() {
|
|
14
|
+
const pathParams = {
|
|
15
|
+
projectId: this.flags["project-id"],
|
|
16
|
+
};
|
|
17
|
+
return await this.apiClient.project.listInvitesForProject({
|
|
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.V2ProjectsProjectIdMemberships.Get.Parameters.Path;
|
|
4
|
+
export type Response = Awaited<ReturnType<MittwaldAPIV2Client["project"]["listMembershipsForProject"]>>;
|
|
5
|
+
export declare abstract class GeneratedProjectListMembershipsForProject<TItem extends Record<string, unknown>> extends ListBaseCommand<typeof GeneratedProjectListMembershipsForProject, 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 GeneratedProjectListMembershipsForProject extends ListBaseCommand {
|
|
4
|
+
static description = "List all memberships for a Project.";
|
|
5
|
+
static args = {};
|
|
6
|
+
static flags = {
|
|
7
|
+
...ListBaseCommand.baseFlags,
|
|
8
|
+
"project-id": Flags.string({
|
|
9
|
+
description: "ID of the Project to list memberships for.",
|
|
10
|
+
required: true,
|
|
11
|
+
}),
|
|
12
|
+
};
|
|
13
|
+
async getData() {
|
|
14
|
+
const pathParams = {
|
|
15
|
+
projectId: this.flags["project-id"],
|
|
16
|
+
};
|
|
17
|
+
return await this.apiClient.project.listMembershipsForProject({
|
|
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.V2ProjectInvites.Get.Parameters.Path;
|
|
4
|
+
export type Response = Awaited<ReturnType<MittwaldAPIV2Client["project"]["listProjectInvites"]>>;
|
|
5
|
+
export declare abstract class GeneratedProjectListProjectInvites<TItem extends Record<string, unknown>> extends ListBaseCommand<typeof GeneratedProjectListProjectInvites, 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 GeneratedProjectListProjectInvites extends ListBaseCommand {
|
|
3
|
+
static description = "List all ProjectInvites for the executing user.";
|
|
4
|
+
static args = {};
|
|
5
|
+
static flags = {
|
|
6
|
+
...ListBaseCommand.baseFlags,
|
|
7
|
+
};
|
|
8
|
+
async getData() {
|
|
9
|
+
const pathParams = {};
|
|
10
|
+
return await this.apiClient.project.listProjectInvites({
|
|
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.V2ProjectMemberships.Get.Parameters.Path;
|
|
4
|
+
export type Response = Awaited<ReturnType<MittwaldAPIV2Client["project"]["listProjectMemberships"]>>;
|
|
5
|
+
export declare abstract class GeneratedProjectListProjectMemberships<TItem extends Record<string, unknown>> extends ListBaseCommand<typeof GeneratedProjectListProjectMemberships, 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 GeneratedProjectListProjectMemberships extends ListBaseCommand {
|
|
3
|
+
static description = "List ProjectMemberships belonging to the executing user.";
|
|
4
|
+
static args = {};
|
|
5
|
+
static flags = {
|
|
6
|
+
...ListBaseCommand.baseFlags,
|
|
7
|
+
};
|
|
8
|
+
async getData() {
|
|
9
|
+
const pathParams = {};
|
|
10
|
+
return await this.apiClient.project.listProjectMemberships({
|
|
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.V2Projects.Get.Parameters.Path;
|
|
4
|
+
export type Response = Awaited<ReturnType<MittwaldAPIV2Client["project"]["listProjects"]>>;
|
|
5
|
+
export declare abstract class GeneratedProjectListProjects<TItem extends Record<string, unknown>> extends ListBaseCommand<typeof GeneratedProjectListProjects, 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 GeneratedProjectListProjects extends ListBaseCommand {
|
|
3
|
+
static description = "List Project's for an Organization or Server.";
|
|
4
|
+
static args = {};
|
|
5
|
+
static flags = {
|
|
6
|
+
...ListBaseCommand.baseFlags,
|
|
7
|
+
};
|
|
8
|
+
async getData() {
|
|
9
|
+
const pathParams = {};
|
|
10
|
+
return await this.apiClient.project.listProjects({
|
|
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.V2Servers.Get.Parameters.Path;
|
|
4
|
+
export type Response = Awaited<ReturnType<MittwaldAPIV2Client["project"]["listServers"]>>;
|
|
5
|
+
export declare abstract class GeneratedProjectListServers<TItem extends Record<string, unknown>> extends ListBaseCommand<typeof GeneratedProjectListServers, 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 GeneratedProjectListServers extends ListBaseCommand {
|
|
3
|
+
static description = "List Servers for an Organization or User.";
|
|
4
|
+
static args = {};
|
|
5
|
+
static flags = {
|
|
6
|
+
...ListBaseCommand.baseFlags,
|
|
7
|
+
};
|
|
8
|
+
async getData() {
|
|
9
|
+
const pathParams = {};
|
|
10
|
+
return await this.apiClient.project.listServers({
|
|
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.V2SftpUsersSftpUserId.Get.Parameters.Path;
|
|
4
|
+
type APIResponse = Awaited<ReturnType<MittwaldAPIV2Client["sshsftpUser"]["sftpUserGetSftpUser"]>>;
|
|
5
|
+
export declare abstract class GeneratedSftpUserGetSftpUser extends GetBaseCommand<typeof GeneratedSftpUserGetSftpUser, 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
|
+
sftpUserId: 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 GeneratedSftpUserGetSftpUser extends GetBaseCommand {
|
|
7
|
+
static description = "Get an SFTPUser.";
|
|
8
|
+
static flags = {
|
|
9
|
+
...GetBaseCommand.baseFlags,
|
|
10
|
+
};
|
|
11
|
+
static args = {
|
|
12
|
+
sftpUserId: Args.string({
|
|
13
|
+
description: "ID of the SFTPUser to get.",
|
|
14
|
+
required: true,
|
|
15
|
+
}),
|
|
16
|
+
};
|
|
17
|
+
async getData() {
|
|
18
|
+
return await this.apiClient.sshsftpUser.sftpUserGetSftpUser({
|
|
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.V2ProjectsProjectIdSftpUsers.Get.Parameters.Path;
|
|
4
|
+
export type Response = Awaited<ReturnType<MittwaldAPIV2Client["sshsftpUser"]["sftpUserListSftpUsers"]>>;
|
|
5
|
+
export declare abstract class GeneratedSftpUserListSftpUsers<TItem extends Record<string, unknown>> extends ListBaseCommand<typeof GeneratedSftpUserListSftpUsers, 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 GeneratedSftpUserListSftpUsers extends ListBaseCommand {
|
|
4
|
+
static description = "Get all SFTPUsers for a Project.";
|
|
5
|
+
static args = {};
|
|
6
|
+
static flags = {
|
|
7
|
+
...ListBaseCommand.baseFlags,
|
|
8
|
+
"project-id": Flags.string({
|
|
9
|
+
description: "ID of the Project to request SFTPUsers for.",
|
|
10
|
+
required: true,
|
|
11
|
+
}),
|
|
12
|
+
};
|
|
13
|
+
async getData() {
|
|
14
|
+
const pathParams = {
|
|
15
|
+
projectId: this.flags["project-id"],
|
|
16
|
+
};
|
|
17
|
+
return await this.apiClient.sshsftpUser.sftpUserListSftpUsers({
|
|
18
|
+
pathParameters: await this.mapParams(pathParams),
|
|
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.V2SshUsersSshUserId.Get.Parameters.Path;
|
|
4
|
+
type APIResponse = Awaited<ReturnType<MittwaldAPIV2Client["sshsftpUser"]["sshUserGetSshUser"]>>;
|
|
5
|
+
export declare abstract class GeneratedSshUserGetSshUser extends GetBaseCommand<typeof GeneratedSshUserGetSshUser, 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
|
+
sshUserId: 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 GeneratedSshUserGetSshUser extends GetBaseCommand {
|
|
7
|
+
static description = "Get an SSHUser.";
|
|
8
|
+
static flags = {
|
|
9
|
+
...GetBaseCommand.baseFlags,
|
|
10
|
+
};
|
|
11
|
+
static args = {
|
|
12
|
+
sshUserId: Args.string({
|
|
13
|
+
description: "ID of the SSHUser to be retrieved.",
|
|
14
|
+
required: true,
|
|
15
|
+
}),
|
|
16
|
+
};
|
|
17
|
+
async getData() {
|
|
18
|
+
return await this.apiClient.sshsftpUser.sshUserGetSshUser({
|
|
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.V2ProjectsProjectIdSshUsers.Get.Parameters.Path;
|
|
4
|
+
export type Response = Awaited<ReturnType<MittwaldAPIV2Client["sshsftpUser"]["sshUserListSshUsers"]>>;
|
|
5
|
+
export declare abstract class GeneratedSshUserListSshUsers<TItem extends Record<string, unknown>> extends ListBaseCommand<typeof GeneratedSshUserListSshUsers, 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 GeneratedSshUserListSshUsers extends ListBaseCommand {
|
|
4
|
+
static description = "Get all SSHUsers for a Project.";
|
|
5
|
+
static args = {};
|
|
6
|
+
static flags = {
|
|
7
|
+
...ListBaseCommand.baseFlags,
|
|
8
|
+
"project-id": Flags.string({
|
|
9
|
+
description: "ID of the Project to retrieve SSHUsers for.",
|
|
10
|
+
required: true,
|
|
11
|
+
}),
|
|
12
|
+
};
|
|
13
|
+
async getData() {
|
|
14
|
+
const pathParams = {
|
|
15
|
+
projectId: this.flags["project-id"],
|
|
16
|
+
};
|
|
17
|
+
return await this.apiClient.sshsftpUser.sshUserListSshUsers({
|
|
18
|
+
pathParameters: await this.mapParams(pathParams),
|
|
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.V2UsersSelfApiTokens.Get.Parameters.Path;
|
|
4
|
+
type APIResponse = Awaited<ReturnType<MittwaldAPIV2Client["user"]["getApiToken"]>>;
|
|
5
|
+
export declare abstract class GeneratedUserGetApiToken extends GetBaseCommand<typeof GeneratedUserGetApiToken, 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
|
+
apiTokenId: 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 GeneratedUserGetApiToken extends GetBaseCommand {
|
|
7
|
+
static description = "Get a specific ApiToken";
|
|
8
|
+
static flags = {
|
|
9
|
+
...GetBaseCommand.baseFlags,
|
|
10
|
+
};
|
|
11
|
+
static args = {
|
|
12
|
+
apiTokenId: Args.string({
|
|
13
|
+
description: "The uuid of an ApiToken",
|
|
14
|
+
required: true,
|
|
15
|
+
}),
|
|
16
|
+
};
|
|
17
|
+
async getData() {
|
|
18
|
+
return await this.apiClient.user.getApiToken({
|
|
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.V2UsersUserIdSettings.Get.Parameters.Path;
|
|
4
|
+
type APIResponse = Awaited<ReturnType<MittwaldAPIV2Client["user"]["getPersonalizedSettings"]>>;
|
|
5
|
+
export declare abstract class GeneratedUserGetPersonalizedSettings extends GetBaseCommand<typeof GeneratedUserGetPersonalizedSettings, APIResponse> {
|
|
6
|
+
static description: string;
|
|
7
|
+
static flags: {
|
|
8
|
+
"user-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 GeneratedUserGetPersonalizedSettings extends GetBaseCommand {
|
|
7
|
+
static description = "Get personalized settings.";
|
|
8
|
+
static flags = {
|
|
9
|
+
...GetBaseCommand.baseFlags,
|
|
10
|
+
"user-id": Flags.string({
|
|
11
|
+
description: "`self` or the id of a user.",
|
|
12
|
+
required: true,
|
|
13
|
+
}),
|
|
14
|
+
};
|
|
15
|
+
static args = {};
|
|
16
|
+
async getData() {
|
|
17
|
+
return await this.apiClient.user.getPersonalizedSettings({
|
|
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.V2UsersSelfSessions.Get.Parameters.Path;
|
|
4
|
+
type APIResponse = Awaited<ReturnType<MittwaldAPIV2Client["user"]["getSession"]>>;
|
|
5
|
+
export declare abstract class GeneratedUserGetSession extends GetBaseCommand<typeof GeneratedUserGetSession, 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
|
+
tokenId: 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 {};
|