@mittwald/cli 1.0.0-alpha.4 → 1.0.0-alpha.41
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/README.md +3869 -1268
- package/bin/dev.cmd +1 -1
- package/bin/dev.js +5 -0
- package/bin/run.js +1 -1
- package/dist/BaseCommand.d.ts +7 -0
- package/dist/BaseCommand.js +23 -0
- package/dist/DeleteBaseCommand.d.ts +12 -0
- package/dist/DeleteBaseCommand.js +43 -0
- package/dist/ExtendedBaseCommand.d.ts +11 -0
- package/dist/ExtendedBaseCommand.js +28 -0
- package/dist/Formatter.d.ts +28 -0
- package/dist/Formatter.js +57 -0
- package/dist/GetBaseCommand.d.ts +16 -0
- package/dist/GetBaseCommand.js +25 -0
- package/dist/ListBaseCommand.d.ts +44 -0
- package/dist/ListBaseCommand.js +66 -0
- package/dist/Printer.d.ts +15 -0
- package/dist/Printer.js +30 -0
- package/dist/commands/app/copy.d.ts +18 -0
- package/dist/commands/app/copy.js +40 -0
- package/dist/commands/app/create/node.d.ts +12 -0
- package/dist/commands/app/create/node.js +17 -0
- package/dist/commands/app/create/php.d.ts +12 -0
- package/dist/commands/app/create/php.js +13 -0
- package/dist/commands/app/create/python.d.ts +12 -0
- package/dist/commands/app/create/python.js +13 -0
- package/dist/commands/app/create/static.d.ts +12 -0
- package/dist/commands/app/create/static.js +13 -0
- package/dist/commands/app/dependency/list.d.ts +39 -0
- package/dist/commands/app/dependency/list.js +27 -0
- package/dist/commands/app/dependency/update.d.ts +20 -0
- package/dist/commands/app/dependency/update.js +104 -0
- package/dist/commands/app/dependency/versions.d.ts +41 -0
- package/dist/commands/app/dependency/versions.js +39 -0
- package/dist/commands/app/download.d.ts +17 -0
- package/dist/commands/app/download.js +69 -0
- package/dist/commands/app/get.d.ts +12 -0
- package/dist/commands/app/get.js +21 -0
- package/dist/commands/app/install/contao.d.ts +11 -0
- package/dist/commands/app/install/contao.js +24 -0
- package/dist/commands/app/install/drupal.d.ts +12 -0
- package/dist/commands/app/install/drupal.js +21 -0
- package/dist/commands/app/install/grav.d.ts +11 -0
- package/dist/commands/app/install/grav.js +22 -0
- package/dist/commands/app/install/joomla.d.ts +11 -0
- package/dist/commands/app/install/joomla.js +23 -0
- package/dist/commands/app/install/matomo.d.ts +11 -0
- package/dist/commands/app/install/matomo.js +21 -0
- package/dist/commands/app/install/moodle.d.ts +12 -0
- package/dist/commands/app/install/moodle.js +21 -0
- package/dist/commands/app/install/neos.d.ts +12 -0
- package/dist/commands/app/install/neos.js +21 -0
- package/dist/commands/app/install/nextcloud.d.ts +11 -0
- package/dist/commands/app/install/nextcloud.js +21 -0
- package/dist/commands/app/install/prestashop.d.ts +12 -0
- package/dist/commands/app/install/prestashop.js +23 -0
- package/dist/commands/app/install/shopware5.d.ts +11 -0
- package/dist/commands/app/install/shopware5.js +26 -0
- package/dist/commands/app/install/shopware6.d.ts +12 -0
- package/dist/commands/app/install/shopware6.js +26 -0
- package/dist/commands/app/install/typo3.d.ts +12 -0
- package/dist/commands/app/install/typo3.js +22 -0
- package/dist/commands/app/install/wordpress.d.ts +12 -0
- package/dist/commands/app/install/wordpress.js +21 -0
- package/dist/commands/app/list.d.ts +46 -0
- package/dist/commands/app/list.js +76 -0
- package/dist/commands/app/ssh.d.ts +14 -0
- package/dist/commands/app/ssh.js +49 -0
- package/dist/commands/app/uninstall.d.ts +9 -0
- package/dist/commands/app/uninstall.js +17 -0
- package/dist/commands/app/versions.d.ts +12 -0
- package/dist/commands/app/versions.js +53 -0
- package/dist/commands/backup/create.d.ts +21 -0
- package/dist/commands/backup/create.js +61 -0
- package/dist/commands/backup/delete.d.ts +15 -0
- package/dist/commands/backup/delete.js +23 -0
- package/dist/commands/backup/download.d.ts +29 -0
- package/dist/commands/backup/download.js +179 -0
- package/dist/commands/backup/get.d.ts +14 -0
- package/dist/commands/backup/get.js +29 -0
- package/dist/commands/backup/list.d.ts +43 -0
- package/dist/commands/backup/list.js +36 -0
- package/dist/commands/backup/schedule/list.d.ts +43 -0
- package/dist/commands/backup/schedule/list.js +31 -0
- package/dist/commands/context/get.d.ts +10 -0
- package/dist/commands/context/get.js +74 -0
- package/dist/commands/context/reset.d.ts +6 -0
- package/dist/commands/context/reset.js +9 -0
- package/dist/commands/context/set.d.ts +12 -0
- package/dist/commands/context/set.js +47 -0
- package/dist/commands/conversation/categories.d.ts +39 -0
- package/dist/commands/conversation/categories.js +24 -0
- package/dist/commands/conversation/close.d.ts +8 -0
- package/dist/commands/conversation/close.js +24 -0
- package/dist/commands/conversation/create.d.ts +13 -0
- package/dist/commands/conversation/create.js +50 -0
- package/dist/commands/conversation/list.d.ts +39 -0
- package/dist/commands/conversation/list.js +36 -0
- package/dist/commands/conversation/reply.d.ts +13 -0
- package/dist/commands/conversation/reply.js +30 -0
- package/dist/commands/conversation/show.d.ts +9 -0
- package/dist/commands/conversation/show.js +103 -0
- package/dist/commands/conversation/show.test.js +72 -0
- package/dist/commands/conversation/show2.js +38 -0
- package/dist/commands/cronjob/create.d.ts +22 -0
- package/dist/commands/cronjob/create.js +97 -0
- package/dist/commands/cronjob/delete.d.ts +13 -0
- package/dist/commands/cronjob/delete.js +21 -0
- package/dist/commands/cronjob/execute.d.ts +17 -0
- package/dist/commands/cronjob/execute.js +42 -0
- package/dist/commands/cronjob/execution/abort.d.ts +18 -0
- package/dist/commands/cronjob/execution/abort.js +41 -0
- package/dist/commands/cronjob/execution/get.d.ts +17 -0
- package/dist/commands/cronjob/execution/get.js +26 -0
- package/dist/commands/cronjob/execution/list.d.ts +42 -0
- package/dist/commands/cronjob/execution/list.js +41 -0
- package/dist/commands/cronjob/execution/logs.d.ts +17 -0
- package/dist/commands/cronjob/execution/logs.js +77 -0
- package/dist/commands/cronjob/get.d.ts +14 -0
- package/dist/commands/cronjob/get.js +30 -0
- package/dist/commands/cronjob/list.d.ts +43 -0
- package/dist/commands/cronjob/list.js +43 -0
- package/dist/commands/database/mysql/charsets.d.ts +39 -0
- package/dist/commands/database/mysql/charsets.js +23 -0
- package/dist/commands/database/mysql/create.d.ts +25 -0
- package/dist/commands/database/mysql/create.js +108 -0
- package/dist/commands/database/mysql/create.test.d.ts +1 -0
- package/dist/commands/database/mysql/create.test.js +100 -0
- package/dist/commands/database/mysql/delete.d.ts +14 -0
- package/dist/commands/database/mysql/delete.js +20 -0
- package/dist/commands/database/mysql/dump.d.ts +20 -0
- package/dist/commands/database/mysql/dump.js +107 -0
- package/dist/commands/database/mysql/get.d.ts +15 -0
- package/dist/commands/database/mysql/get.js +15 -0
- package/dist/commands/database/mysql/list.d.ts +40 -0
- package/dist/commands/database/mysql/list.js +57 -0
- package/dist/commands/database/mysql/phpmyadmin.d.ts +8 -0
- package/dist/commands/database/mysql/phpmyadmin.js +25 -0
- package/dist/commands/database/mysql/port-forward.d.ts +15 -0
- package/dist/commands/database/mysql/port-forward.js +46 -0
- package/dist/commands/database/mysql/shell.d.ts +14 -0
- package/dist/commands/database/mysql/shell.js +39 -0
- package/dist/commands/database/mysql/user/delete.d.ts +13 -0
- package/dist/commands/database/mysql/user/delete.js +21 -0
- package/dist/commands/database/mysql/user/get.d.ts +14 -0
- package/dist/commands/database/mysql/user/get.js +19 -0
- package/dist/commands/database/mysql/user/list.d.ts +40 -0
- package/dist/commands/database/mysql/user/list.js +41 -0
- package/dist/commands/database/mysql/versions.d.ts +39 -0
- package/dist/commands/database/mysql/versions.js +21 -0
- package/dist/commands/database/redis/create.d.ts +20 -0
- package/dist/commands/database/redis/create.js +83 -0
- package/dist/commands/database/redis/get.d.ts +14 -0
- package/dist/commands/database/redis/get.js +19 -0
- package/dist/commands/database/redis/list.d.ts +40 -0
- package/dist/commands/database/redis/list.js +30 -0
- package/dist/commands/database/redis/shell.d.ts +13 -0
- package/dist/commands/database/redis/shell.js +26 -0
- package/dist/commands/database/redis/versions.d.ts +40 -0
- package/dist/commands/database/redis/versions.js +26 -0
- package/dist/commands/ddev/init.d.ts +34 -0
- package/dist/commands/ddev/init.js +177 -0
- package/dist/commands/ddev/render-config.d.ts +14 -0
- package/dist/commands/ddev/render-config.js +25 -0
- package/dist/commands/domain/dnszone/get.d.ts +17 -0
- package/dist/commands/domain/dnszone/get.js +32 -0
- package/dist/commands/domain/dnszone/list.d.ts +40 -0
- package/dist/commands/domain/dnszone/list.js +71 -0
- package/dist/commands/domain/dnszone/update.d.ts +28 -0
- package/dist/commands/domain/dnszone/update.js +176 -0
- package/dist/commands/domain/get.d.ts +17 -0
- package/dist/commands/domain/get.js +32 -0
- package/dist/commands/domain/list.d.ts +40 -0
- package/dist/commands/domain/list.js +43 -0
- package/dist/commands/domain/virtualhost/create.d.ts +25 -0
- package/dist/commands/domain/virtualhost/create.js +106 -0
- package/dist/commands/domain/virtualhost/delete.d.ts +13 -0
- package/dist/commands/domain/virtualhost/delete.js +21 -0
- package/dist/commands/domain/virtualhost/get.d.ts +14 -0
- package/dist/commands/domain/virtualhost/get.js +74 -0
- package/dist/commands/domain/virtualhost/list.d.ts +41 -0
- package/dist/commands/domain/virtualhost/list.js +68 -0
- package/dist/commands/login/reset.d.ts +12 -0
- package/dist/commands/login/reset.js +42 -0
- package/dist/commands/login/status.d.ts +5 -0
- package/dist/commands/login/status.js +30 -0
- package/dist/commands/login/token.d.ts +10 -0
- package/dist/commands/login/token.js +43 -0
- package/dist/commands/mail/address/create.d.ts +33 -0
- package/dist/commands/mail/address/create.js +157 -0
- package/dist/commands/mail/address/delete.d.ts +13 -0
- package/dist/commands/mail/address/delete.js +22 -0
- package/dist/commands/mail/address/get.d.ts +16 -0
- package/dist/commands/mail/address/get.js +22 -0
- package/dist/commands/mail/address/list.d.ts +40 -0
- package/dist/commands/mail/address/list.js +53 -0
- package/dist/commands/mail/deliverybox/get.d.ts +16 -0
- package/dist/commands/mail/deliverybox/get.js +22 -0
- package/dist/commands/mail/deliverybox/list.d.ts +41 -0
- package/dist/commands/mail/deliverybox/list.js +30 -0
- package/dist/commands/org/delete.d.ts +13 -0
- package/dist/commands/org/delete.js +16 -0
- package/dist/commands/org/get.d.ts +14 -0
- package/dist/commands/org/get.js +52 -0
- package/dist/commands/org/invite/list-own.d.ts +73 -0
- package/dist/commands/org/invite/list-own.js +39 -0
- package/dist/commands/org/invite/list.d.ts +41 -0
- package/dist/commands/org/invite/list.js +35 -0
- package/dist/commands/org/invite/revoke.d.ts +17 -0
- package/dist/commands/org/invite/revoke.js +39 -0
- package/dist/commands/org/invite.d.ts +21 -0
- package/dist/commands/org/invite.js +53 -0
- package/dist/commands/org/list.d.ts +41 -0
- package/dist/commands/org/list.js +44 -0
- package/dist/commands/org/membership/list-own.d.ts +73 -0
- package/dist/commands/org/membership/list-own.js +40 -0
- package/dist/commands/org/membership/list.d.ts +67 -0
- package/dist/commands/org/membership/list.js +45 -0
- package/dist/commands/org/membership/revoke.d.ts +17 -0
- package/dist/commands/org/membership/revoke.js +43 -0
- package/dist/commands/project/create.d.ts +21 -0
- package/dist/commands/project/create.js +66 -0
- package/dist/commands/project/delete.d.ts +13 -0
- package/dist/commands/project/delete.js +16 -0
- package/dist/commands/project/filesystem/usage.d.ts +14 -0
- package/dist/commands/project/filesystem/usage.js +53 -0
- package/dist/commands/project/get.d.ts +14 -0
- package/dist/commands/project/get.js +82 -0
- package/dist/commands/project/invite/get.d.ts +14 -0
- package/dist/commands/project/invite/get.js +19 -0
- package/dist/commands/project/invite/list-own.d.ts +39 -0
- package/dist/commands/project/invite/list-own.js +37 -0
- package/dist/commands/project/invite/list.d.ts +40 -0
- package/dist/commands/project/invite/list.js +38 -0
- package/dist/commands/project/list.d.ts +40 -0
- package/dist/commands/project/list.js +38 -0
- package/dist/commands/project/membership/get-own.d.ts +12 -0
- package/dist/commands/project/membership/get-own.js +16 -0
- package/dist/commands/project/membership/get.d.ts +14 -0
- package/dist/commands/project/membership/get.js +19 -0
- package/dist/commands/project/membership/list-own.d.ts +39 -0
- package/dist/commands/project/membership/list-own.js +36 -0
- package/dist/commands/project/membership/list.d.ts +55 -0
- package/dist/commands/project/membership/list.js +54 -0
- package/dist/commands/project/ssh.d.ts +8 -0
- package/dist/commands/project/ssh.js +23 -0
- package/dist/commands/project/update.d.ts +8 -0
- package/dist/commands/project/update.js +11 -0
- package/dist/commands/server/get.d.ts +14 -0
- package/dist/commands/server/get.js +15 -0
- package/dist/commands/server/list.d.ts +39 -0
- package/dist/commands/server/list.js +49 -0
- package/dist/commands/sftp-user/delete.d.ts +13 -0
- package/dist/commands/sftp-user/delete.js +21 -0
- package/dist/commands/sftp-user/list.d.ts +43 -0
- package/dist/commands/sftp-user/list.js +33 -0
- package/dist/commands/ssh-user/delete.d.ts +13 -0
- package/dist/commands/ssh-user/delete.js +21 -0
- package/dist/commands/ssh-user/list.d.ts +43 -0
- package/dist/commands/ssh-user/list.js +31 -0
- package/dist/commands/user/api-token/create.d.ts +17 -0
- package/dist/commands/user/api-token/create.js +64 -0
- package/dist/commands/user/api-token/get.d.ts +14 -0
- package/dist/commands/user/api-token/get.js +19 -0
- package/dist/commands/user/api-token/list.d.ts +39 -0
- package/dist/commands/user/api-token/list.js +30 -0
- package/dist/commands/user/api-token/revoke.d.ts +13 -0
- package/dist/commands/user/api-token/revoke.js +21 -0
- package/dist/commands/user/get.d.ts +15 -0
- package/dist/commands/user/get.js +20 -0
- package/dist/commands/user/session/get.d.ts +14 -0
- package/dist/commands/user/session/get.js +19 -0
- package/dist/commands/user/session/list.d.ts +39 -0
- package/dist/commands/user/session/list.js +34 -0
- package/dist/commands/user/ssh-key/create.d.ts +14 -0
- package/dist/commands/user/ssh-key/create.js +69 -0
- package/dist/commands/user/ssh-key/delete.d.ts +13 -0
- package/dist/commands/user/ssh-key/delete.js +22 -0
- package/dist/commands/user/ssh-key/get.d.ts +14 -0
- package/dist/commands/user/ssh-key/get.js +19 -0
- package/dist/commands/user/ssh-key/import.d.ts +11 -0
- package/dist/commands/user/ssh-key/import.js +56 -0
- package/dist/commands/user/ssh-key/list.d.ts +39 -0
- package/dist/commands/user/ssh-key/list.js +26 -0
- package/dist/lib/api_consistency.d.ts +2 -0
- package/dist/lib/api_consistency.js +27 -0
- package/dist/lib/api_retry.d.ts +2 -0
- package/dist/lib/api_retry.js +43 -0
- package/dist/lib/app/Installer.d.ts +22 -0
- package/dist/lib/app/Installer.js +54 -0
- package/dist/lib/app/flags.d.ts +28 -0
- package/dist/lib/app/flags.js +214 -0
- package/dist/lib/app/hooks.d.ts +12 -0
- package/dist/lib/app/hooks.js +43 -0
- package/dist/lib/app/install.d.ts +5 -0
- package/dist/lib/app/install.js +42 -0
- package/dist/lib/app/uuid.d.ts +41 -0
- package/dist/lib/app/uuid.js +77 -0
- package/dist/lib/app/versions.d.ts +7 -0
- package/dist/lib/app/versions.js +49 -0
- package/dist/lib/app/wait.d.ts +3 -0
- package/dist/lib/app/wait.js +17 -0
- package/dist/lib/assert_success.d.ts +3 -0
- package/dist/lib/assert_success.js +7 -0
- package/dist/lib/auth/token.d.ts +13 -0
- package/dist/lib/auth/token.js +44 -0
- package/dist/lib/bytes.d.ts +1 -0
- package/dist/lib/bytes.js +16 -0
- package/dist/lib/context.d.ts +40 -0
- package/dist/lib/context.js +58 -0
- package/dist/lib/context_ddev.d.ts +20 -0
- package/dist/lib/context_ddev.js +81 -0
- package/dist/lib/context_flags.d.ts +47 -0
- package/dist/lib/context_flags.js +75 -0
- package/dist/lib/context_terraform.d.ts +6 -0
- package/dist/lib/context_terraform.js +55 -0
- package/dist/lib/context_user.d.ts +11 -0
- package/dist/lib/context_user.js +56 -0
- package/dist/lib/database/common.d.ts +9 -0
- package/dist/lib/database/common.js +17 -0
- package/dist/lib/database/mysql/connect.d.ts +23 -0
- package/dist/lib/database/mysql/connect.js +53 -0
- package/dist/lib/database/mysql/flags.d.ts +9 -0
- package/dist/lib/database/mysql/flags.js +38 -0
- package/dist/lib/database/redis/connect.d.ts +8 -0
- package/dist/lib/database/redis/connect.js +22 -0
- package/dist/lib/database/redis/flags.d.ts +7 -0
- package/dist/lib/database/redis/flags.js +35 -0
- package/dist/lib/ddev/config.d.ts +41 -0
- package/dist/lib/ddev/config.js +28 -0
- package/dist/lib/ddev/config_builder.d.ts +19 -0
- package/dist/lib/ddev/config_builder.js +159 -0
- package/dist/lib/ddev/config_loader.d.ts +2 -0
- package/dist/lib/ddev/config_loader.js +13 -0
- package/dist/lib/ddev/config_render.d.ts +2 -0
- package/dist/lib/ddev/config_render.js +6 -0
- package/dist/lib/ddev/flags.d.ts +12 -0
- package/dist/lib/ddev/flags.js +27 -0
- package/dist/lib/ddev/init_assert.d.ts +3 -0
- package/dist/lib/ddev/init_assert.js +22 -0
- package/dist/lib/ddev/init_database.d.ts +19 -0
- package/dist/lib/ddev/init_database.js +59 -0
- package/dist/lib/domain/dnszone/flags.d.ts +1 -0
- package/dist/lib/domain/dnszone/flags.js +19 -0
- package/dist/lib/domain/dnszone/records.d.ts +18 -0
- package/dist/lib/domain/dnszone/records.js +18 -0
- package/dist/lib/domain/flags.d.ts +1 -0
- package/dist/lib/domain/flags.js +20 -0
- package/dist/lib/error/InteractiveInputRequiredError.d.ts +7 -0
- package/dist/lib/error/InteractiveInputRequiredError.js +11 -0
- package/dist/lib/expires.d.ts +11 -0
- package/dist/lib/expires.js +31 -0
- package/dist/lib/fsutil.d.ts +2 -0
- package/dist/lib/fsutil.js +16 -0
- package/dist/lib/handleError.d.ts +12 -0
- package/dist/lib/handleError.js +22 -0
- package/dist/lib/hasbin.d.ts +1 -0
- package/dist/lib/hasbin.js +17 -0
- package/dist/lib/org/flags.d.ts +1 -0
- package/dist/lib/org/flags.js +3 -0
- package/dist/lib/password.d.ts +2 -0
- package/dist/lib/password.js +20 -0
- package/dist/lib/project/flags.d.ts +15 -0
- package/dist/lib/project/flags.js +64 -0
- package/dist/lib/project/hooks.d.ts +4 -0
- package/dist/lib/project/hooks.js +11 -0
- package/dist/lib/project/ingress.d.ts +2 -0
- package/dist/lib/project/ingress.js +18 -0
- package/dist/lib/project/shortId.d.ts +2 -0
- package/dist/lib/project/shortId.js +11 -0
- package/dist/lib/projectbackup/hooks.d.ts +6 -0
- package/dist/lib/projectbackup/hooks.js +19 -0
- package/dist/lib/server/flags.d.ts +1 -0
- package/dist/lib/server/flags.js +3 -0
- package/dist/lib/ssh/appinstall.d.ts +3 -0
- package/dist/lib/ssh/appinstall.js +28 -0
- package/dist/lib/ssh/exec.d.ts +14 -0
- package/dist/lib/ssh/exec.js +49 -0
- package/dist/lib/ssh/flags.d.ts +3 -0
- package/dist/lib/ssh/flags.js +13 -0
- package/dist/lib/ssh/project.d.ts +3 -0
- package/dist/lib/ssh/project.js +18 -0
- package/dist/lib/ssh/types.d.ts +5 -0
- package/dist/lib/ssh/types.js +1 -0
- package/dist/lib/viewhelpers/date.d.ts +7 -0
- package/dist/lib/viewhelpers/date.js +47 -0
- package/dist/lib/viewhelpers/list_column_date.d.ts +14 -0
- package/dist/lib/viewhelpers/list_column_date.js +21 -0
- package/dist/lib/viewhelpers/removeLineBreaks.d.ts +1 -0
- package/dist/lib/viewhelpers/removeLineBreaks.js +1 -0
- package/dist/lib/viewhelpers/size.d.ts +2 -0
- package/dist/lib/viewhelpers/size.js +4 -0
- package/dist/lib/viewhelpers/tui.d.ts +2 -0
- package/dist/lib/viewhelpers/tui.js +13 -0
- package/dist/lib/wait.d.ts +5 -0
- package/dist/lib/wait.js +23 -0
- package/dist/normalize_id.d.ts +7 -0
- package/dist/normalize_id.js +34 -0
- package/dist/rendering/lib/getTerminalWidth.d.ts +1 -0
- package/dist/rendering/lib/getTerminalWidth.js +2 -0
- package/dist/rendering/process/components/InteractiveInputDisabled.d.ts +1 -0
- package/dist/rendering/process/components/InteractiveInputDisabled.js +3 -0
- package/dist/rendering/process/components/ProcessConfirmation.d.ts +6 -0
- package/dist/rendering/process/components/ProcessConfirmation.js +12 -0
- package/dist/rendering/process/components/ProcessConfirmationStateSummary.d.ts +5 -0
- package/dist/rendering/process/components/ProcessConfirmationStateSummary.js +18 -0
- package/dist/rendering/process/components/ProcessError.d.ts +4 -0
- package/dist/rendering/process/components/ProcessError.js +10 -0
- package/dist/rendering/process/components/ProcessInput.d.ts +6 -0
- package/dist/rendering/process/components/ProcessInput.js +15 -0
- package/dist/rendering/process/components/ProcessInputStateSummary.d.ts +5 -0
- package/dist/rendering/process/components/ProcessInputStateSummary.js +13 -0
- package/dist/rendering/process/components/ProcessSelect.d.ts +6 -0
- package/dist/rendering/process/components/ProcessSelect.js +61 -0
- package/dist/rendering/process/components/ProcessSelectStateSummary.d.ts +4 -0
- package/dist/rendering/process/components/ProcessSelectStateSummary.js +10 -0
- package/dist/rendering/process/components/ProcessState.d.ts +5 -0
- package/dist/rendering/process/components/ProcessState.js +8 -0
- package/dist/rendering/process/components/ProcessStateIcon.d.ts +5 -0
- package/dist/rendering/process/components/ProcessStateIcon.js +24 -0
- package/dist/rendering/process/components/ProcessStateSummary.d.ts +5 -0
- package/dist/rendering/process/components/ProcessStateSummary.js +34 -0
- package/dist/rendering/process/components/ProcessValidationErrors.d.ts +8 -0
- package/dist/rendering/process/components/ProcessValidationErrors.js +17 -0
- package/dist/rendering/process/process.d.ts +68 -0
- package/dist/rendering/process/process.js +49 -0
- package/dist/rendering/process/process_exec.d.ts +3 -0
- package/dist/rendering/process/process_exec.js +27 -0
- package/dist/rendering/process/process_fancy.d.ts +24 -0
- package/dist/rendering/process/process_fancy.js +166 -0
- package/dist/rendering/process/process_flags.d.ts +20 -0
- package/dist/rendering/process/process_flags.js +29 -0
- package/dist/rendering/process/process_quiet.d.ts +16 -0
- package/dist/rendering/process/process_quiet.js +43 -0
- package/dist/rendering/react/ComponentPrinter.d.ts +7 -0
- package/dist/rendering/react/ComponentPrinter.js +13 -0
- package/dist/rendering/react/ExecRenderBaseCommand.d.ts +8 -0
- package/dist/rendering/react/ExecRenderBaseCommand.js +25 -0
- package/dist/rendering/react/RenderBaseCommand.d.ts +22 -0
- package/dist/rendering/react/RenderBaseCommand.js +56 -0
- package/dist/rendering/react/components/AppInstallation/AppInstallationDetails.d.ts +9 -0
- package/dist/rendering/react/components/AppInstallation/AppInstallationDetails.js +49 -0
- package/dist/rendering/react/components/AppInstallation/AppInstallationStatus.d.ts +10 -0
- package/dist/rendering/react/components/AppInstallation/AppInstallationStatus.js +12 -0
- package/dist/rendering/react/components/AppInstallation/AppSystemSoftware.d.ts +7 -0
- package/dist/rendering/react/components/AppInstallation/AppSystemSoftware.js +18 -0
- package/dist/rendering/react/components/BooleanValue.d.ts +4 -0
- package/dist/rendering/react/components/BooleanValue.js +9 -0
- package/dist/rendering/react/components/ByteFormat.d.ts +4 -0
- package/dist/rendering/react/components/ByteFormat.js +12 -0
- package/dist/rendering/react/components/Conversation/ConversationMessage.d.ts +8 -0
- package/dist/rendering/react/components/Conversation/ConversationMessage.js +12 -0
- package/dist/rendering/react/components/Conversation/ConversationMessages.d.ts +8 -0
- package/dist/rendering/react/components/Conversation/ConversationMessages.js +13 -0
- package/dist/rendering/react/components/Conversation/ConversationMeta.js +23 -0
- package/dist/rendering/react/components/Conversation/ConversationStatusUpdate.d.ts +8 -0
- package/dist/rendering/react/components/CreatedAt.d.ts +8 -0
- package/dist/rendering/react/components/CreatedAt.js +10 -0
- package/dist/rendering/react/components/CronJob/CronJobDetails.d.ts +8 -0
- package/dist/rendering/react/components/CronJob/CronJobDetails.js +48 -0
- package/dist/rendering/react/components/DDEV/DDEVInitSuccess.d.ts +1 -0
- package/dist/rendering/react/components/DDEV/DDEVInitSuccess.js +9 -0
- package/dist/rendering/react/components/DnsZone/DnsZoneDetails.d.ts +7 -0
- package/dist/rendering/react/components/DnsZone/DnsZoneDetails.js +12 -0
- package/dist/rendering/react/components/DnsZone/DnsZoneRecords.d.ts +7 -0
- package/dist/rendering/react/components/DnsZone/DnsZoneRecords.js +17 -0
- package/dist/rendering/react/components/DnsZone/DnsZoneRecordsA.d.ts +5 -0
- package/dist/rendering/react/components/DnsZone/DnsZoneRecordsA.js +14 -0
- package/dist/rendering/react/components/DnsZone/DnsZoneRecordsAAAA.d.ts +5 -0
- package/dist/rendering/react/components/DnsZone/DnsZoneRecordsAAAA.js +14 -0
- package/dist/rendering/react/components/DnsZone/DnsZoneRecordsMX.d.ts +5 -0
- package/dist/rendering/react/components/DnsZone/DnsZoneRecordsMX.js +13 -0
- package/dist/rendering/react/components/DnsZone/DnsZoneRecordsSRV.d.ts +5 -0
- package/dist/rendering/react/components/DnsZone/DnsZoneRecordsSRV.js +9 -0
- package/dist/rendering/react/components/DnsZone/DnsZoneRecordsTXT.d.ts +5 -0
- package/dist/rendering/react/components/DnsZone/DnsZoneRecordsTXT.js +9 -0
- package/dist/rendering/react/components/DnsZone/RecordComponent.d.ts +4 -0
- package/dist/rendering/react/components/DnsZone/RecordComponent.js +1 -0
- package/dist/rendering/react/components/DnsZone/RecordSetManagedByMittwald.d.ts +1 -0
- package/dist/rendering/react/components/DnsZone/RecordSetManagedByMittwald.js +3 -0
- package/dist/rendering/react/components/DnsZone/RecordSetValues.d.ts +4 -0
- package/dist/rendering/react/components/DnsZone/RecordSetValues.js +5 -0
- package/dist/rendering/react/components/Domain/DomainBaseDetails.d.ts +7 -0
- package/dist/rendering/react/components/Domain/DomainBaseDetails.js +13 -0
- package/dist/rendering/react/components/Domain/DomainDetails.d.ts +7 -0
- package/dist/rendering/react/components/Domain/DomainDetails.js +7 -0
- package/dist/rendering/react/components/Domain/DomainHandle.d.ts +8 -0
- package/dist/rendering/react/components/Domain/DomainHandle.js +24 -0
- package/dist/rendering/react/components/ErrorBox.d.ts +11 -0
- package/dist/rendering/react/components/ErrorBox.js +74 -0
- package/dist/rendering/react/components/Filename.d.ts +4 -0
- package/dist/rendering/react/components/Filename.js +5 -0
- package/dist/rendering/react/components/FormattedDate.d.ts +8 -0
- package/dist/rendering/react/components/FormattedDate.js +16 -0
- package/dist/rendering/react/components/Header.d.ts +6 -0
- package/dist/rendering/react/components/IDAndShortID.d.ts +7 -0
- package/dist/rendering/react/components/IDAndShortID.js +6 -0
- package/dist/rendering/react/components/Ingress/DnsValidationErrors.d.ts +8 -0
- package/dist/rendering/react/components/Ingress/DnsValidationErrors.js +17 -0
- package/dist/rendering/react/components/JSONView.d.ts +7 -0
- package/dist/rendering/react/components/JSONView.js +3 -0
- package/dist/rendering/react/components/ListItem.d.ts +3 -0
- package/dist/rendering/react/components/ListItem.js +5 -0
- package/dist/rendering/react/components/LocalFilename.d.ts +5 -0
- package/dist/rendering/react/components/LocalFilename.js +14 -0
- package/dist/rendering/react/components/Note.d.ts +10 -0
- package/dist/rendering/react/components/Note.js +8 -0
- package/dist/rendering/react/components/Organization/CustomerIDAndNumber.d.ts +7 -0
- package/dist/rendering/react/components/Organization/CustomerIDAndNumber.js +6 -0
- package/dist/rendering/react/components/Organization/OrganizationOrderEligibility.d.ts +6 -0
- package/dist/rendering/react/components/Organization/OrganizationOrderEligibility.js +9 -0
- package/dist/rendering/react/components/Organization/OrganizationOwner.d.ts +7 -0
- package/dist/rendering/react/components/Organization/OrganizationOwner.js +14 -0
- package/dist/rendering/react/components/Project/ProjectEnabled.d.ts +6 -0
- package/dist/rendering/react/components/Project/ProjectEnabled.js +9 -0
- package/dist/rendering/react/components/Project/ProjectSimpleStatus.d.ts +7 -0
- package/dist/rendering/react/components/Project/ProjectSimpleStatus.js +19 -0
- package/dist/rendering/react/components/Project/ProjectStatus.d.ts +18 -0
- package/dist/rendering/react/components/Project/ProjectStatus.js +8 -0
- package/dist/rendering/react/components/ProjectBackup/ProjectBackupDetails.d.ts +7 -0
- package/dist/rendering/react/components/ProjectBackup/ProjectBackupDetails.js +29 -0
- package/dist/rendering/react/components/ProjectBackup/ProjectBackupStatus.d.ts +7 -0
- package/dist/rendering/react/components/ProjectBackup/ProjectBackupStatus.js +8 -0
- package/dist/rendering/react/components/Render.d.ts +6 -0
- package/dist/rendering/react/components/Render.js +5 -0
- package/dist/rendering/react/components/SingleResult.d.ts +10 -0
- package/dist/rendering/react/components/SingleResult.js +15 -0
- package/dist/rendering/react/components/Success.d.ts +10 -0
- package/dist/rendering/react/components/Success.js +8 -0
- package/dist/rendering/react/components/Table/BodyCell.d.ts +7 -0
- package/dist/rendering/react/components/Table/BodyCell.js +7 -0
- package/dist/rendering/react/components/Table/BodyRow.d.ts +7 -0
- package/dist/rendering/react/components/Table/BodyRow.js +7 -0
- package/dist/rendering/react/components/Table/BodyRows.d.ts +7 -0
- package/dist/rendering/react/components/Table/BodyRows.js +6 -0
- package/dist/rendering/react/components/Table/CellData.d.ts +6 -0
- package/dist/rendering/react/components/Table/CellData.js +32 -0
- package/dist/rendering/react/components/Table/CellLayout.d.ts +8 -0
- package/dist/rendering/react/components/Table/CellLayout.js +17 -0
- package/dist/rendering/react/components/Table/HeaderCell.d.ts +7 -0
- package/dist/rendering/react/components/Table/HeaderCell.js +7 -0
- package/dist/rendering/react/components/Table/HeaderRow.d.ts +8 -0
- package/dist/rendering/react/components/Table/HeaderRow.js +7 -0
- package/dist/rendering/react/components/Table/RowLayout.d.ts +5 -0
- package/dist/rendering/react/components/Table/RowLayout.js +3 -0
- package/dist/rendering/react/components/Table/Table.d.ts +10 -0
- package/dist/rendering/react/components/Table/Table.js +21 -0
- package/dist/rendering/react/components/Table/context.d.ts +9 -0
- package/dist/rendering/react/components/Table/context.js +7 -0
- package/dist/rendering/react/components/Table/index.d.ts +1 -0
- package/dist/rendering/react/components/Table/index.js +1 -0
- package/dist/rendering/react/components/Table/model/Cell.d.ts +19 -0
- package/dist/rendering/react/components/Table/model/Cell.js +24 -0
- package/dist/rendering/react/components/Table/model/Column.d.ts +16 -0
- package/dist/rendering/react/components/Table/model/Column.js +38 -0
- package/dist/rendering/react/components/Table/model/ColumnName.d.ts +7 -0
- package/dist/rendering/react/components/Table/model/ColumnName.js +17 -0
- package/dist/rendering/react/components/Table/model/ColumnOptions.d.ts +25 -0
- package/dist/rendering/react/components/Table/model/ColumnOptions.js +41 -0
- package/dist/rendering/react/components/Table/model/Row.d.ts +14 -0
- package/dist/rendering/react/components/Table/model/Row.js +37 -0
- package/dist/rendering/react/components/Table/model/Table.d.ts +19 -0
- package/dist/rendering/react/components/Table/model/Table.js +48 -0
- package/dist/rendering/react/components/Table/model/index.d.ts +5 -0
- package/dist/rendering/react/components/Table/model/index.js +5 -0
- package/dist/rendering/react/components/Value.d.ts +5 -0
- package/dist/rendering/react/components/Value.js +8 -0
- package/dist/rendering/react/components/Warning.d.ts +4 -0
- package/dist/rendering/react/components/Warning.js +7 -0
- package/dist/rendering/react/components/WithoutLineBreaks.d.ts +2 -0
- package/dist/rendering/react/components/WithoutLineBreaks.js +7 -0
- package/dist/rendering/react/context.d.ts +9 -0
- package/dist/rendering/react/context.js +7 -0
- package/dist/rendering/react/error.d.ts +7 -0
- package/dist/rendering/react/error.js +12 -0
- package/dist/rendering/react/hooks/useIncreaseInkStdoutColumns.d.ts +1 -0
- package/dist/rendering/react/hooks/useIncreaseInkStdoutColumns.js +9 -0
- package/dist/rendering/react/hooks/useMyUserProfile.d.ts +2 -0
- package/dist/rendering/react/hooks/useMyUserProfile.js +15 -0
- package/dist/rendering/react/json/JsonCollectionProvider.d.ts +2 -0
- package/dist/rendering/react/json/JsonCollectionProvider.js +10 -0
- package/dist/rendering/react/json/JsonRenderer.d.ts +2 -0
- package/dist/rendering/react/json/JsonRenderer.js +14 -0
- package/dist/rendering/react/json/RenderJson.d.ts +7 -0
- package/dist/rendering/react/json/RenderJson.js +19 -0
- package/dist/rendering/react/json/context.d.ts +5 -0
- package/dist/rendering/react/json/context.js +4 -0
- package/dist/rendering/react/json/lib/unpackJsonData.d.ts +1 -0
- package/dist/rendering/react/json/lib/unpackJsonData.js +5 -0
- package/dist/rendering/react/lib/observable-value/ObservableValue.d.ts +10 -0
- package/dist/rendering/react/lib/observable-value/ObservableValue.js +25 -0
- package/dist/rendering/react/lib/observable-value/types.d.ts +2 -0
- package/dist/rendering/react/lib/observable-value/types.js +1 -0
- package/dist/rendering/react/lib/observable-value/useWatchObservableValue.d.ts +2 -0
- package/dist/rendering/react/lib/observable-value/useWatchObservableValue.js +9 -0
- package/dist/rendering/react/measure/MeasureChildren.d.ts +8 -0
- package/dist/rendering/react/measure/MeasureChildren.js +19 -0
- package/dist/rendering/react/measure/MeasureContextProvider.d.ts +2 -0
- package/dist/rendering/react/measure/MeasureContextProvider.js +14 -0
- package/dist/rendering/react/measure/MeasureRenderer.d.ts +2 -0
- package/dist/rendering/react/measure/MeasureRenderer.js +22 -0
- package/dist/rendering/react/measure/context.d.ts +18 -0
- package/dist/rendering/react/measure/context.js +48 -0
- package/dist/rendering/setup/FlagSupportedSetup.d.ts +15 -0
- package/dist/rendering/setup/TableRenderSetup.d.ts +11 -0
- package/dist/rendering/setup/TableRenderSetup.js +24 -0
- package/dist/rendering/setup/usePromiseSetup.d.ts +12 -0
- package/dist/types.js +1 -0
- package/package.json +141 -50
- package/.deps/client.tgz +0 -0
- package/.deps/commons.tgz +0 -0
- package/bin/dev +0 -17
- package/dist/esm/BaseCommand.d.ts +0 -11
- package/dist/esm/BaseCommand.js +0 -44
- package/dist/esm/DeleteBaseCommand.d.ts +0 -15
- package/dist/esm/DeleteBaseCommand.js +0 -37
- package/dist/esm/ExtendedBaseCommand.d.ts +0 -7
- package/dist/esm/ExtendedBaseCommand.js +0 -16
- package/dist/esm/Formatter.d.ts +0 -15
- package/dist/esm/Formatter.js +0 -28
- package/dist/esm/GetBaseCommand.d.ts +0 -17
- package/dist/esm/GetBaseCommand.js +0 -27
- package/dist/esm/Helpers.d.ts +0 -5
- package/dist/esm/Helpers.js +0 -24
- package/dist/esm/ListBaseCommand.d.ts +0 -20
- package/dist/esm/ListBaseCommand.js +0 -60
- package/dist/esm/Printer.d.ts +0 -16
- package/dist/esm/Printer.js +0 -30
- package/dist/esm/Translator.d.ts +0 -5
- package/dist/esm/Translator.js +0 -53
- package/dist/esm/commands/app/delete.d.ts +0 -12
- package/dist/esm/commands/app/delete.js +0 -45
- package/dist/esm/commands/app/dependency/getSystemsoftware.d.ts +0 -3
- package/dist/esm/commands/app/dependency/getSystemsoftware.js +0 -6
- package/dist/esm/commands/app/dependency/getSystemsoftwareversion.d.ts +0 -3
- package/dist/esm/commands/app/dependency/getSystemsoftwareversion.js +0 -6
- package/dist/esm/commands/app/dependency/listSystemsoftwares.d.ts +0 -9
- package/dist/esm/commands/app/dependency/listSystemsoftwares.js +0 -6
- package/dist/esm/commands/app/dependency/listSystemsoftwareversions.d.ts +0 -9
- package/dist/esm/commands/app/dependency/listSystemsoftwareversions.js +0 -6
- package/dist/esm/commands/app/get.d.ts +0 -3
- package/dist/esm/commands/app/get.js +0 -6
- package/dist/esm/commands/app/install/wordpress.d.ts +0 -15
- package/dist/esm/commands/app/install/wordpress.js +0 -80
- package/dist/esm/commands/app/list.d.ts +0 -16
- package/dist/esm/commands/app/list.js +0 -64
- package/dist/esm/commands/app/versions.d.ts +0 -12
- package/dist/esm/commands/app/versions.js +0 -53
- package/dist/esm/commands/article/get.d.ts +0 -3
- package/dist/esm/commands/article/get.js +0 -6
- package/dist/esm/commands/article/list.d.ts +0 -9
- package/dist/esm/commands/article/list.js +0 -6
- package/dist/esm/commands/contract/getBaseItemOfContract.d.ts +0 -3
- package/dist/esm/commands/contract/getBaseItemOfContract.js +0 -6
- package/dist/esm/commands/contract/getDetailOfContract.d.ts +0 -3
- package/dist/esm/commands/contract/getDetailOfContract.js +0 -6
- package/dist/esm/commands/contract/getDetailOfContractByDomain.d.ts +0 -3
- package/dist/esm/commands/contract/getDetailOfContractByDomain.js +0 -6
- package/dist/esm/commands/contract/getDetailOfContractByProject.d.ts +0 -3
- package/dist/esm/commands/contract/getDetailOfContractByProject.js +0 -6
- package/dist/esm/commands/contract/getDetailOfContractByServer.d.ts +0 -3
- package/dist/esm/commands/contract/getDetailOfContractByServer.js +0 -6
- package/dist/esm/commands/contract/getDetailOfContractItem.d.ts +0 -3
- package/dist/esm/commands/contract/getDetailOfContractItem.js +0 -6
- package/dist/esm/commands/contract/getNextTerminationDateForItem.d.ts +0 -3
- package/dist/esm/commands/contract/getNextTerminationDateForItem.js +0 -6
- package/dist/esm/commands/contract/invoiceDetailOfInvoice.d.ts +0 -3
- package/dist/esm/commands/contract/invoiceDetailOfInvoice.js +0 -6
- package/dist/esm/commands/contract/invoiceGetDetailOfInvoiceSettings.d.ts +0 -3
- package/dist/esm/commands/contract/invoiceGetDetailOfInvoiceSettings.js +0 -6
- package/dist/esm/commands/contract/invoiceListCustomerInvoices.d.ts +0 -9
- package/dist/esm/commands/contract/invoiceListCustomerInvoices.js +0 -6
- package/dist/esm/commands/contract/listContracts.d.ts +0 -9
- package/dist/esm/commands/contract/listContracts.js +0 -6
- package/dist/esm/commands/contract/orderGetOrder.d.ts +0 -3
- package/dist/esm/commands/contract/orderGetOrder.js +0 -6
- package/dist/esm/commands/contract/orderListCustomerOrders.d.ts +0 -9
- package/dist/esm/commands/contract/orderListCustomerOrders.js +0 -6
- package/dist/esm/commands/contract/orderListProjectOrders.d.ts +0 -9
- package/dist/esm/commands/contract/orderListProjectOrders.js +0 -6
- package/dist/esm/commands/conversation/categories.d.ts +0 -11
- package/dist/esm/commands/conversation/categories.js +0 -16
- package/dist/esm/commands/conversation/close.d.ts +0 -8
- package/dist/esm/commands/conversation/close.js +0 -24
- package/dist/esm/commands/conversation/create.d.ts +0 -13
- package/dist/esm/commands/conversation/create.js +0 -50
- package/dist/esm/commands/conversation/list.d.ts +0 -11
- package/dist/esm/commands/conversation/list.js +0 -28
- package/dist/esm/commands/conversation/reply.d.ts +0 -13
- package/dist/esm/commands/conversation/reply.js +0 -30
- package/dist/esm/commands/conversation/show.d.ts +0 -8
- package/dist/esm/commands/conversation/show.js +0 -78
- package/dist/esm/commands/conversation/show2.js +0 -37
- package/dist/esm/commands/database/mysql/charsets.d.ts +0 -9
- package/dist/esm/commands/database/mysql/charsets.js +0 -6
- package/dist/esm/commands/database/mysql/get.d.ts +0 -3
- package/dist/esm/commands/database/mysql/get.js +0 -6
- package/dist/esm/commands/database/mysql/list.d.ts +0 -11
- package/dist/esm/commands/database/mysql/list.js +0 -54
- package/dist/esm/commands/database/mysql/user/get.d.ts +0 -3
- package/dist/esm/commands/database/mysql/user/get.js +0 -6
- package/dist/esm/commands/database/mysql/user/getMysqlUserPhpMyAdminUrl.d.ts +0 -3
- package/dist/esm/commands/database/mysql/user/getMysqlUserPhpMyAdminUrl.js +0 -7
- package/dist/esm/commands/database/mysql/user/list.d.ts +0 -9
- package/dist/esm/commands/database/mysql/user/list.js +0 -6
- package/dist/esm/commands/database/mysql/versions.d.ts +0 -9
- package/dist/esm/commands/database/mysql/versions.js +0 -6
- package/dist/esm/commands/database/redis/get.d.ts +0 -3
- package/dist/esm/commands/database/redis/get.js +0 -6
- package/dist/esm/commands/database/redis/list.d.ts +0 -9
- package/dist/esm/commands/database/redis/list.js +0 -6
- package/dist/esm/commands/database/redis/versions.d.ts +0 -9
- package/dist/esm/commands/database/redis/versions.js +0 -6
- package/dist/esm/commands/domain/dnszone/get.d.ts +0 -3
- package/dist/esm/commands/domain/dnszone/get.js +0 -6
- package/dist/esm/commands/domain/dnszone/list.d.ts +0 -3
- package/dist/esm/commands/domain/dnszone/list.js +0 -6
- package/dist/esm/commands/domain/get-handle.d.ts +0 -3
- package/dist/esm/commands/domain/get-handle.js +0 -6
- package/dist/esm/commands/domain/get.d.ts +0 -3
- package/dist/esm/commands/domain/get.js +0 -6
- package/dist/esm/commands/domain/list.d.ts +0 -9
- package/dist/esm/commands/domain/list.js +0 -6
- package/dist/esm/commands/domain/ownership/get.d.ts +0 -3
- package/dist/esm/commands/domain/ownership/get.js +0 -6
- package/dist/esm/commands/domain/ownership/list.d.ts +0 -9
- package/dist/esm/commands/domain/ownership/list.js +0 -6
- package/dist/esm/commands/domain/tld/get.d.ts +0 -3
- package/dist/esm/commands/domain/tld/get.js +0 -6
- package/dist/esm/commands/domain/tld/list.d.ts +0 -9
- package/dist/esm/commands/domain/tld/list.js +0 -6
- package/dist/esm/commands/domain/virtualhost/get.d.ts +0 -3
- package/dist/esm/commands/domain/virtualhost/get.js +0 -6
- package/dist/esm/commands/domain/virtualhost/list.d.ts +0 -20
- package/dist/esm/commands/domain/virtualhost/list.js +0 -49
- package/dist/esm/commands/login/status.d.ts +0 -5
- package/dist/esm/commands/login/status.js +0 -29
- package/dist/esm/commands/login/token.d.ts +0 -9
- package/dist/esm/commands/login/token.js +0 -39
- package/dist/esm/commands/mail/address/create.d.ts +0 -12
- package/dist/esm/commands/mail/address/create.js +0 -52
- package/dist/esm/commands/mail/address/delete.d.ts +0 -12
- package/dist/esm/commands/mail/address/delete.js +0 -22
- package/dist/esm/commands/mail/address/get.d.ts +0 -3
- package/dist/esm/commands/mail/address/get.js +0 -6
- package/dist/esm/commands/mail/address/list.d.ts +0 -12
- package/dist/esm/commands/mail/address/list.js +0 -47
- package/dist/esm/commands/mail/deliverybox/get.d.ts +0 -3
- package/dist/esm/commands/mail/deliverybox/get.js +0 -6
- package/dist/esm/commands/mail/deliverybox/list.d.ts +0 -12
- package/dist/esm/commands/mail/deliverybox/list.js +0 -25
- package/dist/esm/commands/org/can-order.d.ts +0 -3
- package/dist/esm/commands/org/can-order.js +0 -6
- package/dist/esm/commands/org/get.d.ts +0 -3
- package/dist/esm/commands/org/get.js +0 -6
- package/dist/esm/commands/org/invite/get.d.ts +0 -3
- package/dist/esm/commands/org/invite/get.js +0 -6
- package/dist/esm/commands/org/invite/list-own.d.ts +0 -9
- package/dist/esm/commands/org/invite/list-own.js +0 -6
- package/dist/esm/commands/org/invite/list.d.ts +0 -9
- package/dist/esm/commands/org/invite/list.js +0 -6
- package/dist/esm/commands/org/list.d.ts +0 -11
- package/dist/esm/commands/org/list.js +0 -28
- package/dist/esm/commands/org/membership/get.d.ts +0 -3
- package/dist/esm/commands/org/membership/get.js +0 -6
- package/dist/esm/commands/org/membership/list-own.d.ts +0 -9
- package/dist/esm/commands/org/membership/list-own.js +0 -6
- package/dist/esm/commands/org/membership/list.d.ts +0 -9
- package/dist/esm/commands/org/membership/list.js +0 -6
- package/dist/esm/commands/project/backup/get.d.ts +0 -3
- package/dist/esm/commands/project/backup/get.js +0 -6
- package/dist/esm/commands/project/backup/list.d.ts +0 -12
- package/dist/esm/commands/project/backup/list.js +0 -24
- package/dist/esm/commands/project/backupschedule/get.d.ts +0 -3
- package/dist/esm/commands/project/backupschedule/get.js +0 -6
- package/dist/esm/commands/project/backupschedule/list.d.ts +0 -13
- package/dist/esm/commands/project/backupschedule/list.js +0 -21
- package/dist/esm/commands/project/create.d.ts +0 -10
- package/dist/esm/commands/project/create.js +0 -59
- package/dist/esm/commands/project/cronjob/execution/get.d.ts +0 -3
- package/dist/esm/commands/project/cronjob/execution/get.js +0 -6
- package/dist/esm/commands/project/cronjob/execution/list.d.ts +0 -11
- package/dist/esm/commands/project/cronjob/execution/list.js +0 -22
- package/dist/esm/commands/project/cronjob/get.d.ts +0 -3
- package/dist/esm/commands/project/cronjob/get.js +0 -6
- package/dist/esm/commands/project/cronjob/list.d.ts +0 -11
- package/dist/esm/commands/project/cronjob/list.js +0 -26
- package/dist/esm/commands/project/delete.d.ts +0 -13
- package/dist/esm/commands/project/delete.js +0 -26
- package/dist/esm/commands/project/filesystem/directories.d.ts +0 -3
- package/dist/esm/commands/project/filesystem/directories.js +0 -6
- package/dist/esm/commands/project/filesystem/file-content.d.ts +0 -3
- package/dist/esm/commands/project/filesystem/file-content.js +0 -6
- package/dist/esm/commands/project/filesystem/files.d.ts +0 -16
- package/dist/esm/commands/project/filesystem/files.js +0 -25
- package/dist/esm/commands/project/filesystem/usage.d.ts +0 -4
- package/dist/esm/commands/project/filesystem/usage.js +0 -11
- package/dist/esm/commands/project/get.d.ts +0 -4
- package/dist/esm/commands/project/get.js +0 -11
- package/dist/esm/commands/project/invite/get.d.ts +0 -3
- package/dist/esm/commands/project/invite/get.js +0 -6
- package/dist/esm/commands/project/invite/list-own.d.ts +0 -11
- package/dist/esm/commands/project/invite/list-own.js +0 -29
- package/dist/esm/commands/project/invite/list.d.ts +0 -12
- package/dist/esm/commands/project/invite/list.js +0 -32
- package/dist/esm/commands/project/list.d.ts +0 -12
- package/dist/esm/commands/project/list.js +0 -33
- package/dist/esm/commands/project/list1.d.ts +0 -7
- package/dist/esm/commands/project/list1.js +0 -18
- package/dist/esm/commands/project/list2.d.ts +0 -9
- package/dist/esm/commands/project/list2.js +0 -26
- package/dist/esm/commands/project/membership/get-own.d.ts +0 -4
- package/dist/esm/commands/project/membership/get-own.js +0 -11
- package/dist/esm/commands/project/membership/get.d.ts +0 -3
- package/dist/esm/commands/project/membership/get.js +0 -6
- package/dist/esm/commands/project/membership/list-own.d.ts +0 -11
- package/dist/esm/commands/project/membership/list-own.js +0 -28
- package/dist/esm/commands/project/membership/list.d.ts +0 -25
- package/dist/esm/commands/project/membership/list.js +0 -46
- package/dist/esm/commands/project/sftp-user/list.d.ts +0 -13
- package/dist/esm/commands/project/sftp-user/list.js +0 -24
- package/dist/esm/commands/project/ssh-user/list.d.ts +0 -13
- package/dist/esm/commands/project/ssh-user/list.js +0 -24
- package/dist/esm/commands/project/ssh.d.ts +0 -8
- package/dist/esm/commands/project/ssh.js +0 -31
- package/dist/esm/commands/project/update.d.ts +0 -8
- package/dist/esm/commands/project/update.js +0 -15
- package/dist/esm/commands/server/get.d.ts +0 -3
- package/dist/esm/commands/server/get.js +0 -6
- package/dist/esm/commands/server/list.d.ts +0 -11
- package/dist/esm/commands/server/list.js +0 -41
- package/dist/esm/commands/user/api-token/create.d.ts +0 -11
- package/dist/esm/commands/user/api-token/create.js +0 -46
- package/dist/esm/commands/user/api-token/get.d.ts +0 -3
- package/dist/esm/commands/user/api-token/get.js +0 -6
- package/dist/esm/commands/user/api-token/list.d.ts +0 -11
- package/dist/esm/commands/user/api-token/list.js +0 -21
- package/dist/esm/commands/user/api-token/revoke.d.ts +0 -8
- package/dist/esm/commands/user/api-token/revoke.js +0 -21
- package/dist/esm/commands/user/get.d.ts +0 -3
- package/dist/esm/commands/user/get.js +0 -6
- package/dist/esm/commands/user/session/get.d.ts +0 -3
- package/dist/esm/commands/user/session/get.js +0 -6
- package/dist/esm/commands/user/session/list.d.ts +0 -11
- package/dist/esm/commands/user/session/list.js +0 -24
- package/dist/esm/commands/user/ssh-key/create.d.ts +0 -10
- package/dist/esm/commands/user/ssh-key/create.js +0 -60
- package/dist/esm/commands/user/ssh-key/delete.d.ts +0 -12
- package/dist/esm/commands/user/ssh-key/delete.js +0 -41
- package/dist/esm/commands/user/ssh-key/get.d.ts +0 -3
- package/dist/esm/commands/user/ssh-key/get.js +0 -6
- package/dist/esm/commands/user/ssh-key/list.d.ts +0 -11
- package/dist/esm/commands/user/ssh-key/list.js +0 -21
- package/dist/esm/generated/app/getApp.d.ts +0 -16
- package/dist/esm/generated/app/getApp.js +0 -25
- package/dist/esm/generated/app/getAppinstallation.d.ts +0 -16
- package/dist/esm/generated/app/getAppinstallation.js +0 -25
- package/dist/esm/generated/app/getAppversion.d.ts +0 -16
- package/dist/esm/generated/app/getAppversion.js +0 -29
- package/dist/esm/generated/app/getSystemsoftware.d.ts +0 -16
- package/dist/esm/generated/app/getSystemsoftware.js +0 -25
- package/dist/esm/generated/app/getSystemsoftwareversion.d.ts +0 -16
- package/dist/esm/generated/app/getSystemsoftwareversion.js +0 -29
- package/dist/esm/generated/app/listAppinstallations.d.ts +0 -13
- package/dist/esm/generated/app/listAppinstallations.js +0 -24
- package/dist/esm/generated/app/listApps.d.ts +0 -13
- package/dist/esm/generated/app/listApps.js +0 -17
- package/dist/esm/generated/app/listAppversions.d.ts +0 -13
- package/dist/esm/generated/app/listAppversions.js +0 -24
- package/dist/esm/generated/app/listSystemsoftwares.d.ts +0 -13
- package/dist/esm/generated/app/listSystemsoftwares.js +0 -17
- package/dist/esm/generated/app/listSystemsoftwareversions.d.ts +0 -13
- package/dist/esm/generated/app/listSystemsoftwareversions.js +0 -24
- package/dist/esm/generated/app/retrieveStatus.d.ts +0 -14
- package/dist/esm/generated/app/retrieveStatus.js +0 -24
- package/dist/esm/generated/article/getArticle.d.ts +0 -16
- package/dist/esm/generated/article/getArticle.js +0 -25
- package/dist/esm/generated/article/listArticles.d.ts +0 -13
- package/dist/esm/generated/article/listArticles.js +0 -17
- package/dist/esm/generated/backup/getProjectBackup.d.ts +0 -16
- package/dist/esm/generated/backup/getProjectBackup.js +0 -25
- package/dist/esm/generated/backup/getProjectBackupSchedule.d.ts +0 -16
- package/dist/esm/generated/backup/getProjectBackupSchedule.js +0 -25
- package/dist/esm/generated/backup/listProjectBackupSchedules.d.ts +0 -13
- package/dist/esm/generated/backup/listProjectBackupSchedules.js +0 -24
- package/dist/esm/generated/backup/listProjectBackups.d.ts +0 -13
- package/dist/esm/generated/backup/listProjectBackups.js +0 -24
- package/dist/esm/generated/contract/getBaseItemOfContract.d.ts +0 -14
- package/dist/esm/generated/contract/getBaseItemOfContract.js +0 -24
- package/dist/esm/generated/contract/getDetailOfContract.d.ts +0 -16
- package/dist/esm/generated/contract/getDetailOfContract.js +0 -25
- package/dist/esm/generated/contract/getDetailOfContractByDomain.d.ts +0 -14
- package/dist/esm/generated/contract/getDetailOfContractByDomain.js +0 -24
- package/dist/esm/generated/contract/getDetailOfContractByProject.d.ts +0 -14
- package/dist/esm/generated/contract/getDetailOfContractByProject.js +0 -24
- package/dist/esm/generated/contract/getDetailOfContractByServer.d.ts +0 -14
- package/dist/esm/generated/contract/getDetailOfContractByServer.js +0 -24
- package/dist/esm/generated/contract/getDetailOfContractItem.d.ts +0 -16
- package/dist/esm/generated/contract/getDetailOfContractItem.js +0 -29
- package/dist/esm/generated/contract/getNextTerminationDateForItem.d.ts +0 -15
- package/dist/esm/generated/contract/getNextTerminationDateForItem.js +0 -28
- package/dist/esm/generated/contract/invoiceDetailOfInvoice.d.ts +0 -16
- package/dist/esm/generated/contract/invoiceDetailOfInvoice.js +0 -29
- package/dist/esm/generated/contract/invoiceGetDetailOfInvoiceSettings.d.ts +0 -14
- package/dist/esm/generated/contract/invoiceGetDetailOfInvoiceSettings.js +0 -24
- package/dist/esm/generated/contract/invoiceListCustomerInvoices.d.ts +0 -13
- package/dist/esm/generated/contract/invoiceListCustomerInvoices.js +0 -24
- package/dist/esm/generated/contract/listContracts.d.ts +0 -13
- package/dist/esm/generated/contract/listContracts.js +0 -24
- package/dist/esm/generated/contract/orderGetOrder.d.ts +0 -16
- package/dist/esm/generated/contract/orderGetOrder.js +0 -25
- package/dist/esm/generated/contract/orderListCustomerOrders.d.ts +0 -13
- package/dist/esm/generated/contract/orderListCustomerOrders.js +0 -24
- package/dist/esm/generated/contract/orderListProjectOrders.d.ts +0 -13
- package/dist/esm/generated/contract/orderListProjectOrders.js +0 -24
- package/dist/esm/generated/conversation/getCategory.d.ts +0 -16
- package/dist/esm/generated/conversation/getCategory.js +0 -25
- package/dist/esm/generated/conversation/getConversation.d.ts +0 -16
- package/dist/esm/generated/conversation/getConversation.js +0 -25
- package/dist/esm/generated/conversation/listCategories.d.ts +0 -13
- package/dist/esm/generated/conversation/listCategories.js +0 -17
- package/dist/esm/generated/conversation/listConversations.d.ts +0 -13
- package/dist/esm/generated/conversation/listConversations.js +0 -17
- package/dist/esm/generated/conversation/listMessagesByConversation.d.ts +0 -13
- package/dist/esm/generated/conversation/listMessagesByConversation.js +0 -24
- package/dist/esm/generated/cronjob/getCronjob.d.ts +0 -16
- package/dist/esm/generated/cronjob/getCronjob.js +0 -25
- package/dist/esm/generated/cronjob/getExecution.d.ts +0 -16
- package/dist/esm/generated/cronjob/getExecution.js +0 -29
- package/dist/esm/generated/cronjob/listCronjobs.d.ts +0 -13
- package/dist/esm/generated/cronjob/listCronjobs.js +0 -24
- package/dist/esm/generated/cronjob/listExecutions.d.ts +0 -13
- package/dist/esm/generated/cronjob/listExecutions.js +0 -24
- package/dist/esm/generated/customer/getCustomer.d.ts +0 -16
- package/dist/esm/generated/customer/getCustomer.js +0 -25
- package/dist/esm/generated/customer/getCustomerCategory.d.ts +0 -16
- package/dist/esm/generated/customer/getCustomerCategory.js +0 -25
- package/dist/esm/generated/customer/getCustomerInvite.d.ts +0 -16
- package/dist/esm/generated/customer/getCustomerInvite.js +0 -25
- package/dist/esm/generated/customer/getCustomerMembership.d.ts +0 -16
- package/dist/esm/generated/customer/getCustomerMembership.js +0 -25
- package/dist/esm/generated/customer/getCustomerTokenInvite.d.ts +0 -14
- package/dist/esm/generated/customer/getCustomerTokenInvite.js +0 -16
- package/dist/esm/generated/customer/isCustomerLegallyCompetent.d.ts +0 -14
- package/dist/esm/generated/customer/isCustomerLegallyCompetent.js +0 -24
- package/dist/esm/generated/customer/listCustomerInvites.d.ts +0 -13
- package/dist/esm/generated/customer/listCustomerInvites.js +0 -17
- package/dist/esm/generated/customer/listCustomerMemberships.d.ts +0 -13
- package/dist/esm/generated/customer/listCustomerMemberships.js +0 -17
- package/dist/esm/generated/customer/listCustomers.d.ts +0 -13
- package/dist/esm/generated/customer/listCustomers.js +0 -17
- package/dist/esm/generated/customer/listInvitesForCustomer.d.ts +0 -13
- package/dist/esm/generated/customer/listInvitesForCustomer.js +0 -24
- package/dist/esm/generated/customer/listMembershipsForCustomer.d.ts +0 -13
- package/dist/esm/generated/customer/listMembershipsForCustomer.js +0 -24
- package/dist/esm/generated/customer/listOfCustomerCategories.d.ts +0 -13
- package/dist/esm/generated/customer/listOfCustomerCategories.js +0 -17
- package/dist/esm/generated/database/getMysqlDatabase.d.ts +0 -16
- package/dist/esm/generated/database/getMysqlDatabase.js +0 -25
- package/dist/esm/generated/database/getMysqlUser.d.ts +0 -16
- package/dist/esm/generated/database/getMysqlUser.js +0 -25
- package/dist/esm/generated/database/getMysqlUserPhpMyAdminUrl.d.ts +0 -14
- package/dist/esm/generated/database/getMysqlUserPhpMyAdminUrl.js +0 -24
- package/dist/esm/generated/database/getRedisDatabase.d.ts +0 -16
- package/dist/esm/generated/database/getRedisDatabase.js +0 -25
- package/dist/esm/generated/database/listMysqlCharsets.d.ts +0 -13
- package/dist/esm/generated/database/listMysqlCharsets.js +0 -17
- package/dist/esm/generated/database/listMysqlDatabases.d.ts +0 -13
- package/dist/esm/generated/database/listMysqlDatabases.js +0 -24
- package/dist/esm/generated/database/listMysqlUsers.d.ts +0 -13
- package/dist/esm/generated/database/listMysqlUsers.js +0 -24
- package/dist/esm/generated/database/listMysqlVersions.d.ts +0 -13
- package/dist/esm/generated/database/listMysqlVersions.js +0 -17
- package/dist/esm/generated/database/listRedisDatabases.d.ts +0 -13
- package/dist/esm/generated/database/listRedisDatabases.js +0 -24
- package/dist/esm/generated/database/listRedisVersions.d.ts +0 -13
- package/dist/esm/generated/database/listRedisVersions.js +0 -17
- package/dist/esm/generated/domain/dnsZoneGetSpecific.d.ts +0 -16
- package/dist/esm/generated/domain/dnsZoneGetSpecific.js +0 -25
- package/dist/esm/generated/domain/dnsZonesForProject.d.ts +0 -14
- package/dist/esm/generated/domain/dnsZonesForProject.js +0 -24
- package/dist/esm/generated/domain/getDomain.d.ts +0 -16
- package/dist/esm/generated/domain/getDomain.js +0 -25
- package/dist/esm/generated/domain/getHandleFields.d.ts +0 -16
- package/dist/esm/generated/domain/getHandleFields.js +0 -25
- package/dist/esm/generated/domain/getSpecificDomainOwnership.d.ts +0 -16
- package/dist/esm/generated/domain/getSpecificDomainOwnership.js +0 -25
- package/dist/esm/generated/domain/getToplevelDomain.d.ts +0 -16
- package/dist/esm/generated/domain/getToplevelDomain.js +0 -25
- package/dist/esm/generated/domain/ingressGetSpecific.d.ts +0 -16
- package/dist/esm/generated/domain/ingressGetSpecific.js +0 -25
- package/dist/esm/generated/domain/ingressListAccessible.d.ts +0 -13
- package/dist/esm/generated/domain/ingressListAccessible.js +0 -17
- package/dist/esm/generated/domain/ingressListForProject.d.ts +0 -13
- package/dist/esm/generated/domain/ingressListForProject.js +0 -24
- package/dist/esm/generated/domain/listDomainOwnerships.d.ts +0 -13
- package/dist/esm/generated/domain/listDomainOwnerships.js +0 -24
- package/dist/esm/generated/domain/listDomains.d.ts +0 -13
- package/dist/esm/generated/domain/listDomains.js +0 -24
- package/dist/esm/generated/domain/listToplevelDomains.d.ts +0 -13
- package/dist/esm/generated/domain/listToplevelDomains.js +0 -17
- package/dist/esm/generated/file/getFile.d.ts +0 -16
- package/dist/esm/generated/file/getFile.js +0 -25
- package/dist/esm/generated/file/getFileMeta.d.ts +0 -14
- package/dist/esm/generated/file/getFileMeta.js +0 -24
- package/dist/esm/generated/file/getFileTokenRules.d.ts +0 -16
- package/dist/esm/generated/file/getFileTokenRules.js +0 -25
- package/dist/esm/generated/file/getFileTypeRules.d.ts +0 -16
- package/dist/esm/generated/file/getFileTypeRules.js +0 -25
- package/dist/esm/generated/mail/deliveryboxGetSpecific.d.ts +0 -16
- package/dist/esm/generated/mail/deliveryboxGetSpecific.js +0 -25
- package/dist/esm/generated/mail/deliveryboxList.d.ts +0 -13
- package/dist/esm/generated/mail/deliveryboxList.js +0 -24
- package/dist/esm/generated/mail/mailaddressGetSpecific.d.ts +0 -16
- package/dist/esm/generated/mail/mailaddressGetSpecific.js +0 -25
- package/dist/esm/generated/mail/mailaddressList.d.ts +0 -13
- package/dist/esm/generated/mail/mailaddressList.js +0 -24
- package/dist/esm/generated/mail/projectsettingGetSpecific.d.ts +0 -14
- package/dist/esm/generated/mail/projectsettingGetSpecific.js +0 -24
- package/dist/esm/generated/notification/newsletterGetInfo.d.ts +0 -14
- package/dist/esm/generated/notification/newsletterGetInfo.js +0 -16
- package/dist/esm/generated/notification/scountUnreadNotifications.d.ts +0 -14
- package/dist/esm/generated/notification/scountUnreadNotifications.js +0 -16
- package/dist/esm/generated/notification/slistNotifications.d.ts +0 -13
- package/dist/esm/generated/notification/slistNotifications.js +0 -17
- package/dist/esm/generated/project/getProject.d.ts +0 -16
- package/dist/esm/generated/project/getProject.js +0 -25
- package/dist/esm/generated/project/getProjectInvite.d.ts +0 -16
- package/dist/esm/generated/project/getProjectInvite.js +0 -25
- package/dist/esm/generated/project/getProjectMembership.d.ts +0 -16
- package/dist/esm/generated/project/getProjectMembership.js +0 -25
- package/dist/esm/generated/project/getProjectTokenInvite.d.ts +0 -14
- package/dist/esm/generated/project/getProjectTokenInvite.js +0 -16
- package/dist/esm/generated/project/getSelfMembershipForProject.d.ts +0 -14
- package/dist/esm/generated/project/getSelfMembershipForProject.js +0 -24
- package/dist/esm/generated/project/getServer.d.ts +0 -16
- package/dist/esm/generated/project/getServer.js +0 -25
- package/dist/esm/generated/project/listInvitesForProject.d.ts +0 -13
- package/dist/esm/generated/project/listInvitesForProject.js +0 -24
- package/dist/esm/generated/project/listMembershipsForProject.d.ts +0 -13
- package/dist/esm/generated/project/listMembershipsForProject.js +0 -24
- package/dist/esm/generated/project/listProjectInvites.d.ts +0 -13
- package/dist/esm/generated/project/listProjectInvites.js +0 -17
- package/dist/esm/generated/project/listProjectMemberships.d.ts +0 -13
- package/dist/esm/generated/project/listProjectMemberships.js +0 -17
- package/dist/esm/generated/project/listProjects.d.ts +0 -13
- package/dist/esm/generated/project/listProjects.js +0 -17
- package/dist/esm/generated/project/listServers.d.ts +0 -13
- package/dist/esm/generated/project/listServers.js +0 -17
- package/dist/esm/generated/projectFileSystem/getDirectories.d.ts +0 -14
- package/dist/esm/generated/projectFileSystem/getDirectories.js +0 -24
- package/dist/esm/generated/projectFileSystem/getDiskUsage.d.ts +0 -14
- package/dist/esm/generated/projectFileSystem/getDiskUsage.js +0 -24
- package/dist/esm/generated/projectFileSystem/getFileContent.d.ts +0 -14
- package/dist/esm/generated/projectFileSystem/getFileContent.js +0 -24
- package/dist/esm/generated/projectFileSystem/getJwt.d.ts +0 -14
- package/dist/esm/generated/projectFileSystem/getJwt.js +0 -24
- package/dist/esm/generated/projectFileSystem/listFiles.d.ts +0 -13
- package/dist/esm/generated/projectFileSystem/listFiles.js +0 -24
- package/dist/esm/generated/sshsftpUser/sftpUserGetSftpUser.d.ts +0 -16
- package/dist/esm/generated/sshsftpUser/sftpUserGetSftpUser.js +0 -25
- package/dist/esm/generated/sshsftpUser/sftpUserListSftpUsers.d.ts +0 -13
- package/dist/esm/generated/sshsftpUser/sftpUserListSftpUsers.js +0 -24
- package/dist/esm/generated/sshsftpUser/sshUserGetSshUser.d.ts +0 -16
- package/dist/esm/generated/sshsftpUser/sshUserGetSshUser.js +0 -25
- package/dist/esm/generated/sshsftpUser/sshUserListSshUsers.d.ts +0 -13
- package/dist/esm/generated/sshsftpUser/sshUserListSshUsers.js +0 -24
- package/dist/esm/generated/user/getApiToken.d.ts +0 -16
- package/dist/esm/generated/user/getApiToken.js +0 -25
- package/dist/esm/generated/user/getEmail.d.ts +0 -14
- package/dist/esm/generated/user/getEmail.js +0 -16
- package/dist/esm/generated/user/getMfaStatus.d.ts +0 -14
- package/dist/esm/generated/user/getMfaStatus.js +0 -16
- package/dist/esm/generated/user/getOwnProfile.d.ts +0 -14
- package/dist/esm/generated/user/getOwnProfile.js +0 -16
- package/dist/esm/generated/user/getPasswordUpdatedAt.d.ts +0 -14
- package/dist/esm/generated/user/getPasswordUpdatedAt.js +0 -16
- package/dist/esm/generated/user/getPersonalizedSettings.d.ts +0 -14
- package/dist/esm/generated/user/getPersonalizedSettings.js +0 -24
- package/dist/esm/generated/user/getSession.d.ts +0 -16
- package/dist/esm/generated/user/getSession.js +0 -25
- package/dist/esm/generated/user/getSshKey.d.ts +0 -16
- package/dist/esm/generated/user/getSshKey.js +0 -25
- package/dist/esm/generated/user/getUser.d.ts +0 -14
- package/dist/esm/generated/user/getUser.js +0 -16
- package/dist/esm/generated/user/listApiTokens.d.ts +0 -13
- package/dist/esm/generated/user/listApiTokens.js +0 -17
- package/dist/esm/generated/user/listFeedback.d.ts +0 -13
- package/dist/esm/generated/user/listFeedback.js +0 -24
- package/dist/esm/generated/user/listSessions.d.ts +0 -13
- package/dist/esm/generated/user/listSessions.js +0 -17
- package/dist/esm/generated/user/listSshKeys.d.ts +0 -13
- package/dist/esm/generated/user/listSshKeys.js +0 -17
- package/dist/esm/generated/user/supportCodeRequest.d.ts +0 -14
- package/dist/esm/generated/user/supportCodeRequest.js +0 -16
- package/dist/esm/lib/app/appHelpers.d.ts +0 -4
- package/dist/esm/lib/app/appHelpers.js +0 -43
- package/dist/esm/lib/app/appVersionHelpers.d.ts +0 -5
- package/dist/esm/lib/app/appVersionHelpers.js +0 -35
- package/dist/esm/lib/handleError.d.ts +0 -4
- package/dist/esm/lib/handleError.js +0 -17
- package/dist/esm/lib/viewhelpers/date.d.ts +0 -4
- package/dist/esm/lib/viewhelpers/date.js +0 -16
- package/dist/esm/lib/viewhelpers/size.d.ts +0 -1
- package/dist/esm/lib/viewhelpers/size.js +0 -4
- package/dist/esm/lib/viewhelpers/tui.d.ts +0 -2
- package/dist/esm/lib/viewhelpers/tui.js +0 -13
- package/dist/esm/rendering/oclif/components/table.d.ts +0 -11
- package/dist/esm/rendering/oclif/components/table.js +0 -49
- package/dist/esm/rendering/react/RenderBaseCommand.d.ts +0 -7
- package/dist/esm/rendering/react/RenderBaseCommand.js +0 -13
- package/dist/esm/rendering/react/components/ConversationMessage.d.ts +0 -8
- package/dist/esm/rendering/react/components/ConversationMessage.js +0 -12
- package/dist/esm/rendering/react/components/ConversationMeta.js +0 -21
- package/dist/esm/rendering/react/components/ConversationStatusUpdate.d.ts +0 -8
- package/dist/esm/rendering/react/components/Header.d.ts +0 -6
- package/dist/esm/rendering/react/components/Table.d.ts +0 -7
- package/dist/esm/rendering/react/components/Table.js +0 -4
- package/dist/esm/rendering/react/context.d.ts +0 -8
- package/dist/esm/rendering/react/context.js +0 -4
- package/dist/esm/rendering/react/hooks/useMyUserProfile.d.ts +0 -2
- package/dist/esm/rendering/react/hooks/useMyUserProfile.js +0 -11
- package/dist/esm/rendering/setup/FlagSupportedSetup.d.ts +0 -13
- package/dist/esm/rendering/setup/TableRenderSetup.d.ts +0 -13
- package/dist/esm/rendering/setup/TableRenderSetup.js +0 -11
- package/dist/esm/rendering/setup/usePromiseSetup.d.ts +0 -11
- /package/bin/{mw.cmd → run.cmd} +0 -0
- /package/dist/{esm/Flags.d.ts → Flags.d.ts} +0 -0
- /package/dist/{esm/Flags.js → Flags.js} +0 -0
- /package/dist/{esm/types.js → commands/conversation/show.test.d.ts} +0 -0
- /package/dist/{esm/commands → commands}/conversation/show2.d.ts +0 -0
- /package/dist/{esm/lib → lib}/conversation/message_input.d.ts +0 -0
- /package/dist/{esm/lib → lib}/conversation/message_input.js +0 -0
- /package/dist/{esm/lib → lib}/mergeObjects.d.ts +0 -0
- /package/dist/{esm/lib → lib}/mergeObjects.js +0 -0
- /package/dist/{esm/lib → lib}/notify.d.ts +0 -0
- /package/dist/{esm/lib → lib}/notify.js +0 -0
- /package/dist/{esm/rendering/react/components → rendering/react/components/Conversation}/ConversationMeta.d.ts +0 -0
- /package/dist/{esm/rendering/react/components → rendering/react/components/Conversation}/ConversationStatusUpdate.js +0 -0
- /package/dist/{esm/rendering → rendering}/react/components/Header.js +0 -0
- /package/dist/{esm/rendering → rendering}/setup/FlagSupportedSetup.js +0 -0
- /package/dist/{esm/rendering → rendering}/setup/usePromiseSetup.js +0 -0
- /package/dist/{esm/types.d.ts → types.d.ts} +0 -0
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { Flags } from "@oclif/core";
|
|
3
|
+
import { assertStatus } from "@mittwald/api-client-commons";
|
|
4
|
+
import parseDuration from "parse-duration";
|
|
5
|
+
import { ExecRenderBaseCommand } from "../../../rendering/react/ExecRenderBaseCommand.js";
|
|
6
|
+
import { makeProcessRenderer, processFlags, } from "../../../rendering/process/process_flags.js";
|
|
7
|
+
import { Success } from "../../../rendering/react/components/Success.js";
|
|
8
|
+
import { Newline, Text } from "ink";
|
|
9
|
+
import { Value } from "../../../rendering/react/components/Value.js";
|
|
10
|
+
export default class Create extends ExecRenderBaseCommand {
|
|
11
|
+
static description = "Create a new API token";
|
|
12
|
+
static flags = {
|
|
13
|
+
...processFlags,
|
|
14
|
+
description: Flags.string({
|
|
15
|
+
description: "Description of the API token",
|
|
16
|
+
required: true,
|
|
17
|
+
}),
|
|
18
|
+
"expires-in": Flags.string({
|
|
19
|
+
description: "Expiration interval of the API token (example: 30d)",
|
|
20
|
+
}),
|
|
21
|
+
roles: Flags.string({
|
|
22
|
+
description: "Roles of the API token",
|
|
23
|
+
required: true,
|
|
24
|
+
multiple: true,
|
|
25
|
+
options: ["api_read", "api_write"],
|
|
26
|
+
}),
|
|
27
|
+
};
|
|
28
|
+
determineExpiration(input) {
|
|
29
|
+
if (input === undefined) {
|
|
30
|
+
return undefined;
|
|
31
|
+
}
|
|
32
|
+
const duration = parseDuration(input);
|
|
33
|
+
if (duration === undefined) {
|
|
34
|
+
throw new Error(`Could not parse duration ${input}`);
|
|
35
|
+
}
|
|
36
|
+
return new Date(Date.now() + duration);
|
|
37
|
+
}
|
|
38
|
+
async exec() {
|
|
39
|
+
const { flags } = await this.parse(Create);
|
|
40
|
+
const process = makeProcessRenderer(flags, "Creating an API token");
|
|
41
|
+
const expiresAt = this.determineExpiration(flags["expires-in"]);
|
|
42
|
+
const step = process.addStep("creating API token");
|
|
43
|
+
try {
|
|
44
|
+
const response = await this.apiClient.user.createApiToken({
|
|
45
|
+
data: {
|
|
46
|
+
description: flags.description,
|
|
47
|
+
expiresAt: expiresAt?.toJSON(),
|
|
48
|
+
roles: flags.roles,
|
|
49
|
+
},
|
|
50
|
+
});
|
|
51
|
+
step.complete();
|
|
52
|
+
assertStatus(response, 201);
|
|
53
|
+
process.complete(_jsx(Success, { width: 100, children: _jsxs(Text, { children: ["API token successfully created. Have fun. \uD83E\uDD73", _jsx(Newline, { count: 2 }), "This is your API token; make sure to store it somewhere safe:", _jsx(Newline, { count: 1 }), _jsx(Value, { children: response.data.token })] }) }));
|
|
54
|
+
return { token: response.data.token };
|
|
55
|
+
}
|
|
56
|
+
catch (e) {
|
|
57
|
+
process.error(e);
|
|
58
|
+
throw e;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
render() {
|
|
62
|
+
return null;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { MittwaldAPIV2Client } from "@mittwald/api-client";
|
|
2
|
+
import { GetBaseCommand } from "../../../GetBaseCommand.js";
|
|
3
|
+
type APIResponse = Awaited<ReturnType<MittwaldAPIV2Client["user"]["getApiToken"]>>;
|
|
4
|
+
export default class Get extends GetBaseCommand<typeof Get, APIResponse> {
|
|
5
|
+
static description: string;
|
|
6
|
+
static flags: {
|
|
7
|
+
[x: string]: import("@oclif/core/lib/interfaces/parser.js").Flag<any>;
|
|
8
|
+
};
|
|
9
|
+
static args: {
|
|
10
|
+
"token-id": import("@oclif/core/lib/interfaces/parser.js").Arg<string, Record<string, unknown>>;
|
|
11
|
+
};
|
|
12
|
+
protected getData(): Promise<APIResponse>;
|
|
13
|
+
}
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Args } from "@oclif/core";
|
|
2
|
+
import { GetBaseCommand } from "../../../GetBaseCommand.js";
|
|
3
|
+
export default class Get extends GetBaseCommand {
|
|
4
|
+
static description = "Get a specific API token";
|
|
5
|
+
static flags = {
|
|
6
|
+
...GetBaseCommand.baseFlags,
|
|
7
|
+
};
|
|
8
|
+
static args = {
|
|
9
|
+
"token-id": Args.string({
|
|
10
|
+
description: "The ID of an API token",
|
|
11
|
+
required: true,
|
|
12
|
+
}),
|
|
13
|
+
};
|
|
14
|
+
async getData() {
|
|
15
|
+
return await this.apiClient.user.getApiToken({
|
|
16
|
+
apiTokenId: this.args["token-id"],
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { Simplify } from "@mittwald/api-client-commons";
|
|
2
|
+
import { MittwaldAPIV2, MittwaldAPIV2Client } from "@mittwald/api-client";
|
|
3
|
+
import { SuccessfulResponse } from "../../../types.js";
|
|
4
|
+
import { ListColumns } from "../../../Formatter.js";
|
|
5
|
+
import { ListBaseCommand } from "../../../ListBaseCommand.js";
|
|
6
|
+
type ResponseItem = Simplify<MittwaldAPIV2.Paths.V2UsersSelfApiTokens.Get.Responses.$200.Content.ApplicationJson[number]>;
|
|
7
|
+
type Response = Awaited<ReturnType<MittwaldAPIV2Client["user"]["listApiTokens"]>>;
|
|
8
|
+
export default class List extends ListBaseCommand<typeof List, ResponseItem, Response> {
|
|
9
|
+
static description: string;
|
|
10
|
+
static args: {};
|
|
11
|
+
static flags: {
|
|
12
|
+
columns?: import("@oclif/core/lib/interfaces/parser.js").OptionFlag<string | undefined> | undefined;
|
|
13
|
+
csv?: import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<boolean> | undefined;
|
|
14
|
+
extended?: import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<boolean> | undefined;
|
|
15
|
+
filter?: import("@oclif/core/lib/interfaces/parser.js").OptionFlag<string | undefined> | undefined;
|
|
16
|
+
'no-header'?: import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<boolean> | undefined;
|
|
17
|
+
'no-truncate'?: import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<boolean> | undefined;
|
|
18
|
+
output: import("@oclif/core/lib/interfaces/parser.js").FlagProps & {
|
|
19
|
+
type: "option";
|
|
20
|
+
helpValue?: string | undefined;
|
|
21
|
+
options?: readonly string[] | undefined;
|
|
22
|
+
multiple?: boolean | undefined;
|
|
23
|
+
multipleNonGreedy?: boolean | undefined;
|
|
24
|
+
delimiter?: "," | undefined;
|
|
25
|
+
allowStdin?: boolean | "only" | undefined;
|
|
26
|
+
} & {
|
|
27
|
+
parse: import("@oclif/core/lib/interfaces/parser.js").FlagParser<string | undefined, string, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>;
|
|
28
|
+
defaultHelp?: import("@oclif/core/lib/interfaces/parser.js").FlagDefaultHelp<string | undefined, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>;
|
|
29
|
+
input: string[];
|
|
30
|
+
default?: import("@oclif/core/lib/interfaces/parser.js").FlagDefault<string | undefined, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>;
|
|
31
|
+
};
|
|
32
|
+
sort?: import("@oclif/core/lib/interfaces/parser.js").OptionFlag<string | undefined> | undefined;
|
|
33
|
+
"no-relative-dates": import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<boolean>;
|
|
34
|
+
};
|
|
35
|
+
getData(): Promise<Response>;
|
|
36
|
+
protected mapData(data: SuccessfulResponse<Response, 200>["data"]): MittwaldAPIV2.Components.Schemas.SignupApiToken[];
|
|
37
|
+
protected getColumns(): ListColumns<ResponseItem>;
|
|
38
|
+
}
|
|
39
|
+
export {};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { formatRelativeDate } from "../../../lib/viewhelpers/date.js";
|
|
2
|
+
import { ListBaseCommand } from "../../../ListBaseCommand.js";
|
|
3
|
+
import { buildCreatedAtColumn } from "../../../lib/viewhelpers/list_column_date.js";
|
|
4
|
+
export default class List extends ListBaseCommand {
|
|
5
|
+
static description = "List all API tokens of the user";
|
|
6
|
+
static args = {};
|
|
7
|
+
static flags = {
|
|
8
|
+
...ListBaseCommand.baseFlags,
|
|
9
|
+
};
|
|
10
|
+
async getData() {
|
|
11
|
+
return await this.apiClient.user.listApiTokens();
|
|
12
|
+
}
|
|
13
|
+
mapData(data) {
|
|
14
|
+
return data;
|
|
15
|
+
}
|
|
16
|
+
getColumns() {
|
|
17
|
+
const createdAt = buildCreatedAtColumn(this.flags);
|
|
18
|
+
return {
|
|
19
|
+
apiTokenId: { header: "ID", minWidth: 36 },
|
|
20
|
+
description: {},
|
|
21
|
+
createdAt,
|
|
22
|
+
expiresAt: {
|
|
23
|
+
header: "Expires at",
|
|
24
|
+
get: (r) => r.expiresAt
|
|
25
|
+
? formatRelativeDate(new Date(`${r.expiresAt}`))
|
|
26
|
+
: "never",
|
|
27
|
+
},
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { DeleteBaseCommand } from "../../../DeleteBaseCommand.js";
|
|
2
|
+
export default class Revoke extends DeleteBaseCommand<typeof Revoke> {
|
|
3
|
+
static description: string;
|
|
4
|
+
static resource: string;
|
|
5
|
+
static args: {
|
|
6
|
+
id: import("@oclif/core/lib/interfaces/parser.js").Arg<string, Record<string, unknown>>;
|
|
7
|
+
};
|
|
8
|
+
static flags: {
|
|
9
|
+
force: import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<boolean>;
|
|
10
|
+
quiet: import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<boolean>;
|
|
11
|
+
};
|
|
12
|
+
protected deleteResource(): Promise<void>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { Args } from "@oclif/core";
|
|
2
|
+
import { assertStatus } from "@mittwald/api-client-commons";
|
|
3
|
+
import { DeleteBaseCommand } from "../../../DeleteBaseCommand.js";
|
|
4
|
+
export default class Revoke extends DeleteBaseCommand {
|
|
5
|
+
static description = "Revoke an API token";
|
|
6
|
+
static resource = "API token";
|
|
7
|
+
static args = {
|
|
8
|
+
id: Args.string({
|
|
9
|
+
description: "ID of the API token to revoke",
|
|
10
|
+
required: true,
|
|
11
|
+
}),
|
|
12
|
+
};
|
|
13
|
+
static flags = { ...DeleteBaseCommand.baseFlags };
|
|
14
|
+
async deleteResource() {
|
|
15
|
+
const { args } = await this.parse(Revoke);
|
|
16
|
+
const response = await this.apiClient.user.deleteApiToken({
|
|
17
|
+
apiTokenId: args.id,
|
|
18
|
+
});
|
|
19
|
+
assertStatus(response, 204);
|
|
20
|
+
}
|
|
21
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { MittwaldAPIV2, MittwaldAPIV2Client } from "@mittwald/api-client";
|
|
2
|
+
import { GetBaseCommand } from "../../GetBaseCommand.js";
|
|
3
|
+
export type PathParams = MittwaldAPIV2.Paths.V2UsersUserId.Get.Parameters.Path;
|
|
4
|
+
type APIResponse = Awaited<ReturnType<MittwaldAPIV2Client["user"]["getUser"]>>;
|
|
5
|
+
export default class Get extends GetBaseCommand<typeof Get, APIResponse> {
|
|
6
|
+
static description: string;
|
|
7
|
+
static flags: {
|
|
8
|
+
[x: string]: import("@oclif/core/lib/interfaces/parser.js").Flag<any>;
|
|
9
|
+
};
|
|
10
|
+
static args: {
|
|
11
|
+
"user-id": import("@oclif/core/lib/interfaces/parser.js").Arg<string, Record<string, unknown>>;
|
|
12
|
+
};
|
|
13
|
+
protected getData(): Promise<APIResponse>;
|
|
14
|
+
}
|
|
15
|
+
export {};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { GetBaseCommand } from "../../GetBaseCommand.js";
|
|
2
|
+
import { Args } from "@oclif/core";
|
|
3
|
+
export default class Get extends GetBaseCommand {
|
|
4
|
+
static description = "Get profile information for a user.";
|
|
5
|
+
static flags = {
|
|
6
|
+
...GetBaseCommand.baseFlags,
|
|
7
|
+
};
|
|
8
|
+
static args = {
|
|
9
|
+
"user-id": Args.string({
|
|
10
|
+
description: "The user ID to get information for; defaults to the special value 'self', which references to the currently authenticated user.",
|
|
11
|
+
default: "self",
|
|
12
|
+
required: true,
|
|
13
|
+
}),
|
|
14
|
+
};
|
|
15
|
+
async getData() {
|
|
16
|
+
return await this.apiClient.user.getUser({
|
|
17
|
+
userId: this.args["user-id"],
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { MittwaldAPIV2Client } from "@mittwald/api-client";
|
|
2
|
+
import { GetBaseCommand } from "../../../GetBaseCommand.js";
|
|
3
|
+
type APIResponse = Awaited<ReturnType<MittwaldAPIV2Client["user"]["getSession"]>>;
|
|
4
|
+
export default class Get extends GetBaseCommand<typeof Get, APIResponse> {
|
|
5
|
+
static description: string;
|
|
6
|
+
static flags: {
|
|
7
|
+
[x: string]: import("@oclif/core/lib/interfaces/parser.js").Flag<any>;
|
|
8
|
+
};
|
|
9
|
+
static args: {
|
|
10
|
+
"token-id": import("@oclif/core/lib/interfaces/parser.js").Arg<string, Record<string, unknown>>;
|
|
11
|
+
};
|
|
12
|
+
protected getData(): Promise<APIResponse>;
|
|
13
|
+
}
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Args } from "@oclif/core";
|
|
2
|
+
import { GetBaseCommand } from "../../../GetBaseCommand.js";
|
|
3
|
+
export default class Get extends GetBaseCommand {
|
|
4
|
+
static description = "Get a specific session";
|
|
5
|
+
static flags = {
|
|
6
|
+
...GetBaseCommand.baseFlags,
|
|
7
|
+
};
|
|
8
|
+
static args = {
|
|
9
|
+
"token-id": Args.string({
|
|
10
|
+
description: "Token ID to identify the specific session",
|
|
11
|
+
required: true,
|
|
12
|
+
}),
|
|
13
|
+
};
|
|
14
|
+
async getData() {
|
|
15
|
+
return await this.apiClient.user.getSession({
|
|
16
|
+
tokenId: this.args["token-id"],
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { Simplify } from "@mittwald/api-client-commons";
|
|
2
|
+
import { MittwaldAPIV2, MittwaldAPIV2Client } from "@mittwald/api-client";
|
|
3
|
+
import { SuccessfulResponse } from "../../../types.js";
|
|
4
|
+
import { ListColumns } from "../../../Formatter.js";
|
|
5
|
+
import { ListBaseCommand } from "../../../ListBaseCommand.js";
|
|
6
|
+
type ResponseItem = Simplify<MittwaldAPIV2.Paths.V2UsersSelfSessions.Get.Responses.$200.Content.ApplicationJson[number]>;
|
|
7
|
+
type Response = Awaited<ReturnType<MittwaldAPIV2Client["user"]["listSessions"]>>;
|
|
8
|
+
export default class List extends ListBaseCommand<typeof List, ResponseItem, Response> {
|
|
9
|
+
static description: string;
|
|
10
|
+
static args: {};
|
|
11
|
+
static flags: {
|
|
12
|
+
columns?: import("@oclif/core/lib/interfaces/parser.js").OptionFlag<string | undefined> | undefined;
|
|
13
|
+
csv?: import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<boolean> | undefined;
|
|
14
|
+
extended?: import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<boolean> | undefined;
|
|
15
|
+
filter?: import("@oclif/core/lib/interfaces/parser.js").OptionFlag<string | undefined> | undefined;
|
|
16
|
+
'no-header'?: import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<boolean> | undefined;
|
|
17
|
+
'no-truncate'?: import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<boolean> | undefined;
|
|
18
|
+
output: import("@oclif/core/lib/interfaces/parser.js").FlagProps & {
|
|
19
|
+
type: "option";
|
|
20
|
+
helpValue?: string | undefined;
|
|
21
|
+
options?: readonly string[] | undefined;
|
|
22
|
+
multiple?: boolean | undefined;
|
|
23
|
+
multipleNonGreedy?: boolean | undefined;
|
|
24
|
+
delimiter?: "," | undefined;
|
|
25
|
+
allowStdin?: boolean | "only" | undefined;
|
|
26
|
+
} & {
|
|
27
|
+
parse: import("@oclif/core/lib/interfaces/parser.js").FlagParser<string | undefined, string, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>;
|
|
28
|
+
defaultHelp?: import("@oclif/core/lib/interfaces/parser.js").FlagDefaultHelp<string | undefined, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>;
|
|
29
|
+
input: string[];
|
|
30
|
+
default?: import("@oclif/core/lib/interfaces/parser.js").FlagDefault<string | undefined, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>;
|
|
31
|
+
};
|
|
32
|
+
sort?: import("@oclif/core/lib/interfaces/parser.js").OptionFlag<string | undefined> | undefined;
|
|
33
|
+
"no-relative-dates": import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<boolean>;
|
|
34
|
+
};
|
|
35
|
+
getData(): Promise<Response>;
|
|
36
|
+
protected mapData(data: SuccessfulResponse<Response, 200>["data"]): MittwaldAPIV2.Components.Schemas.SignupUserSession[];
|
|
37
|
+
protected getColumns(): ListColumns<ResponseItem>;
|
|
38
|
+
}
|
|
39
|
+
export {};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { formatRelativeDate } from "../../../lib/viewhelpers/date.js";
|
|
2
|
+
import { ListBaseCommand } from "../../../ListBaseCommand.js";
|
|
3
|
+
export default class List extends ListBaseCommand {
|
|
4
|
+
static description = "List all active sessions";
|
|
5
|
+
static args = {};
|
|
6
|
+
static flags = {
|
|
7
|
+
...ListBaseCommand.baseFlags,
|
|
8
|
+
};
|
|
9
|
+
async getData() {
|
|
10
|
+
return await this.apiClient.user.listSessions();
|
|
11
|
+
}
|
|
12
|
+
mapData(data) {
|
|
13
|
+
return data;
|
|
14
|
+
}
|
|
15
|
+
getColumns() {
|
|
16
|
+
return {
|
|
17
|
+
tokenId: { header: "ID", minWidth: 36 },
|
|
18
|
+
device: {
|
|
19
|
+
header: "Device",
|
|
20
|
+
get: (row) => `${row.device.browser} on ${row.device.os}`,
|
|
21
|
+
},
|
|
22
|
+
location: {
|
|
23
|
+
header: "Location",
|
|
24
|
+
get: (row) => row.location?.country,
|
|
25
|
+
},
|
|
26
|
+
lastAccess: {
|
|
27
|
+
header: "Last Access",
|
|
28
|
+
get: (row) => row.lastAccess
|
|
29
|
+
? formatRelativeDate(new Date(`${row.lastAccess}`))
|
|
30
|
+
: "never",
|
|
31
|
+
},
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ExecRenderBaseCommand } from "../../../rendering/react/ExecRenderBaseCommand.js";
|
|
2
|
+
export default class Create extends ExecRenderBaseCommand<typeof Create, undefined> {
|
|
3
|
+
static description: string;
|
|
4
|
+
static flags: {
|
|
5
|
+
output: import("@oclif/core/lib/interfaces/parser.js").OptionFlag<string, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>;
|
|
6
|
+
"no-passphrase": import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<boolean>;
|
|
7
|
+
comment: import("@oclif/core/lib/interfaces/parser.js").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>;
|
|
8
|
+
expires: import("@oclif/core/lib/interfaces/parser.js").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>;
|
|
9
|
+
quiet: import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<boolean>;
|
|
10
|
+
};
|
|
11
|
+
protected exec(): Promise<undefined>;
|
|
12
|
+
protected render(): null;
|
|
13
|
+
private getPassphrase;
|
|
14
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { Flags } from "@oclif/core";
|
|
3
|
+
import { assertStatus } from "@mittwald/api-client-commons";
|
|
4
|
+
import * as path from "path";
|
|
5
|
+
import * as os from "os";
|
|
6
|
+
import * as fs from "fs/promises";
|
|
7
|
+
import { ExecRenderBaseCommand } from "../../../rendering/react/ExecRenderBaseCommand.js";
|
|
8
|
+
import { makeProcessRenderer, processFlags, } from "../../../rendering/process/process_flags.js";
|
|
9
|
+
import { Success } from "../../../rendering/react/components/Success.js";
|
|
10
|
+
import { Filename } from "../../../rendering/react/components/Filename.js";
|
|
11
|
+
import { Text } from "ink";
|
|
12
|
+
import { expirationDateFromFlagsOptional, expireFlags, } from "../../../lib/expires.js";
|
|
13
|
+
import { spawnInProcess } from "../../../rendering/process/process_exec.js";
|
|
14
|
+
export default class Create extends ExecRenderBaseCommand {
|
|
15
|
+
static description = "Create and import a new SSH key";
|
|
16
|
+
static flags = {
|
|
17
|
+
...processFlags,
|
|
18
|
+
...expireFlags("SSH key"),
|
|
19
|
+
output: Flags.string({
|
|
20
|
+
description: "A filename in your ~/.ssh directory to write the SSH key to.",
|
|
21
|
+
default: "mstudio-cli",
|
|
22
|
+
}),
|
|
23
|
+
"no-passphrase": Flags.boolean({
|
|
24
|
+
description: "Use this flag to not set a passphrase for the SSH key.",
|
|
25
|
+
}),
|
|
26
|
+
comment: Flags.string({
|
|
27
|
+
description: "A comment for the SSH key.",
|
|
28
|
+
}),
|
|
29
|
+
};
|
|
30
|
+
async exec() {
|
|
31
|
+
const cmd = "ssh-keygen";
|
|
32
|
+
const outputFile = path.join(os.homedir(), ".ssh", this.flags.output);
|
|
33
|
+
const r = makeProcessRenderer(this.flags, "Creating a new SSH key");
|
|
34
|
+
const expiresAt = expirationDateFromFlagsOptional(this.flags);
|
|
35
|
+
const passphrase = await this.getPassphrase(r);
|
|
36
|
+
const args = ["-t", "rsa", "-f", outputFile, "-N", passphrase];
|
|
37
|
+
if (this.flags.comment) {
|
|
38
|
+
args.push("-C", this.flags.comment);
|
|
39
|
+
}
|
|
40
|
+
await spawnInProcess(r, "generating SSH key using ssh-keygen", cmd, args);
|
|
41
|
+
const publicKey = await fs.readFile(outputFile + ".pub", "utf-8");
|
|
42
|
+
r.addInfo(_jsx(InfoSSHKeySaved, { filename: outputFile }));
|
|
43
|
+
await r.runStep("importing SSH key", async () => {
|
|
44
|
+
const response = await this.apiClient.user.createSshKey({
|
|
45
|
+
data: {
|
|
46
|
+
publicKey,
|
|
47
|
+
expiresAt: expiresAt?.toJSON(),
|
|
48
|
+
},
|
|
49
|
+
});
|
|
50
|
+
assertStatus(response, 201);
|
|
51
|
+
});
|
|
52
|
+
await r.complete(_jsx(SSHKeySuccess, {}));
|
|
53
|
+
}
|
|
54
|
+
render() {
|
|
55
|
+
return null;
|
|
56
|
+
}
|
|
57
|
+
async getPassphrase(r) {
|
|
58
|
+
if (this.flags["no-passphrase"]) {
|
|
59
|
+
return "";
|
|
60
|
+
}
|
|
61
|
+
return await r.addInput(_jsx(Text, { children: "enter passphrase for SSH key" }), true);
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
function SSHKeySuccess() {
|
|
65
|
+
return (_jsx(Success, { children: "Your SSH key was successfully created and imported to your user profile." }));
|
|
66
|
+
}
|
|
67
|
+
function InfoSSHKeySaved({ filename }) {
|
|
68
|
+
return (_jsxs(Text, { children: ["ssh key saved to ", _jsx(Filename, { filename: filename }), "."] }));
|
|
69
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { DeleteBaseCommand } from "../../../DeleteBaseCommand.js";
|
|
2
|
+
export default class Delete extends DeleteBaseCommand<typeof Delete> {
|
|
3
|
+
static description: string;
|
|
4
|
+
static resourceName: string;
|
|
5
|
+
static args: {
|
|
6
|
+
id: import("@oclif/core/lib/interfaces/parser.js").Arg<string, Record<string, unknown>>;
|
|
7
|
+
};
|
|
8
|
+
static flags: {
|
|
9
|
+
force: import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<boolean>;
|
|
10
|
+
quiet: import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<boolean>;
|
|
11
|
+
};
|
|
12
|
+
protected deleteResource(): Promise<void>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { Args } from "@oclif/core";
|
|
2
|
+
import { assertStatus } from "@mittwald/api-client-commons";
|
|
3
|
+
import { DeleteBaseCommand } from "../../../DeleteBaseCommand.js";
|
|
4
|
+
export default class Delete extends DeleteBaseCommand {
|
|
5
|
+
static description = "Delete an SSH key";
|
|
6
|
+
static resourceName = "SSH key";
|
|
7
|
+
static args = {
|
|
8
|
+
id: Args.string({
|
|
9
|
+
required: true,
|
|
10
|
+
description: "ID of the SSH key to be deleted.",
|
|
11
|
+
}),
|
|
12
|
+
};
|
|
13
|
+
static flags = { ...DeleteBaseCommand.baseFlags };
|
|
14
|
+
async deleteResource() {
|
|
15
|
+
const { args } = await this.parse(Delete);
|
|
16
|
+
const { id } = args;
|
|
17
|
+
const response = await this.apiClient.user.deleteSshKey({
|
|
18
|
+
sshKeyId: id,
|
|
19
|
+
});
|
|
20
|
+
assertStatus(response, 204);
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { MittwaldAPIV2Client } from "@mittwald/api-client";
|
|
2
|
+
import { GetBaseCommand } from "../../../GetBaseCommand.js";
|
|
3
|
+
type APIResponse = Awaited<ReturnType<MittwaldAPIV2Client["user"]["getSshKey"]>>;
|
|
4
|
+
export default class Get extends GetBaseCommand<typeof Get, APIResponse> {
|
|
5
|
+
static description: string;
|
|
6
|
+
static flags: {
|
|
7
|
+
[x: string]: import("@oclif/core/lib/interfaces/parser.js").Flag<any>;
|
|
8
|
+
};
|
|
9
|
+
static args: {
|
|
10
|
+
"key-id": import("@oclif/core/lib/interfaces/parser.js").Arg<string, Record<string, unknown>>;
|
|
11
|
+
};
|
|
12
|
+
protected getData(): Promise<APIResponse>;
|
|
13
|
+
}
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Args } from "@oclif/core";
|
|
2
|
+
import { GetBaseCommand } from "../../../GetBaseCommand.js";
|
|
3
|
+
export default class Get extends GetBaseCommand {
|
|
4
|
+
static description = "Get a specific SSH key";
|
|
5
|
+
static flags = {
|
|
6
|
+
...GetBaseCommand.baseFlags,
|
|
7
|
+
};
|
|
8
|
+
static args = {
|
|
9
|
+
"key-id": Args.string({
|
|
10
|
+
description: "The ID of an SSH key",
|
|
11
|
+
required: true,
|
|
12
|
+
}),
|
|
13
|
+
};
|
|
14
|
+
async getData() {
|
|
15
|
+
return await this.apiClient.user.getSshKey({
|
|
16
|
+
sshKeyId: this.args["key-id"],
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ExecRenderBaseCommand } from "../../../rendering/react/ExecRenderBaseCommand.js";
|
|
2
|
+
export default class Import extends ExecRenderBaseCommand<typeof Import, undefined> {
|
|
3
|
+
static description: string;
|
|
4
|
+
static flags: {
|
|
5
|
+
input: import("@oclif/core/lib/interfaces/parser.js").OptionFlag<string, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>;
|
|
6
|
+
expires: import("@oclif/core/lib/interfaces/parser.js").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>;
|
|
7
|
+
quiet: import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<boolean>;
|
|
8
|
+
};
|
|
9
|
+
protected exec(): Promise<undefined>;
|
|
10
|
+
protected render(): null;
|
|
11
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { Flags } from "@oclif/core";
|
|
3
|
+
import { assertStatus } from "@mittwald/api-client-commons";
|
|
4
|
+
import * as path from "path";
|
|
5
|
+
import * as os from "os";
|
|
6
|
+
import * as fs from "fs/promises";
|
|
7
|
+
import { ExecRenderBaseCommand } from "../../../rendering/react/ExecRenderBaseCommand.js";
|
|
8
|
+
import { makeProcessRenderer, processFlags, } from "../../../rendering/process/process_flags.js";
|
|
9
|
+
import { Success } from "../../../rendering/react/components/Success.js";
|
|
10
|
+
import { Filename } from "../../../rendering/react/components/Filename.js";
|
|
11
|
+
import { expirationDateFromFlagsOptional, expireFlags, } from "../../../lib/expires.js";
|
|
12
|
+
export default class Import extends ExecRenderBaseCommand {
|
|
13
|
+
static description = "Import an existing (local) SSH key";
|
|
14
|
+
static flags = {
|
|
15
|
+
...processFlags,
|
|
16
|
+
...expireFlags("SSH key"),
|
|
17
|
+
input: Flags.string({
|
|
18
|
+
description: "A filename in your ~/.ssh directory containing the key to import.",
|
|
19
|
+
default: "id_rsa.pub",
|
|
20
|
+
}),
|
|
21
|
+
};
|
|
22
|
+
async exec() {
|
|
23
|
+
const inputFile = path.join(os.homedir(), ".ssh", this.flags.input);
|
|
24
|
+
const r = makeProcessRenderer(this.flags, "Importing an SSH key");
|
|
25
|
+
const expiresAt = expirationDateFromFlagsOptional(this.flags);
|
|
26
|
+
const publicKey = await fs.readFile(inputFile, "utf-8");
|
|
27
|
+
const publicKeyParts = publicKey.split(" ");
|
|
28
|
+
const keys = await r.runStep("retrieving existing SSH keys", async () => {
|
|
29
|
+
const response = await this.apiClient.user.listSshKeys();
|
|
30
|
+
assertStatus(response, 200);
|
|
31
|
+
return response.data;
|
|
32
|
+
});
|
|
33
|
+
const keyAlreadyExists = (keys.sshKeys ?? []).some(({ key }) => publicKeyParts.includes(key));
|
|
34
|
+
if (keyAlreadyExists) {
|
|
35
|
+
r.addInfo(_jsxs(_Fragment, { children: ["the SSH key ", _jsx(Filename, { filename: inputFile }), " is already imported."] }));
|
|
36
|
+
await r.complete(_jsx(SSHKeySuccess, {}));
|
|
37
|
+
return;
|
|
38
|
+
}
|
|
39
|
+
await r.runStep("importing SSH key", async () => {
|
|
40
|
+
const response = await this.apiClient.user.createSshKey({
|
|
41
|
+
data: {
|
|
42
|
+
publicKey,
|
|
43
|
+
expiresAt: expiresAt?.toJSON(),
|
|
44
|
+
},
|
|
45
|
+
});
|
|
46
|
+
assertStatus(response, 201);
|
|
47
|
+
});
|
|
48
|
+
await r.complete(_jsx(SSHKeySuccess, {}));
|
|
49
|
+
}
|
|
50
|
+
render() {
|
|
51
|
+
return null;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
function SSHKeySuccess() {
|
|
55
|
+
return (_jsx(Success, { children: "Your SSH key was successfully read and imported to your user profile." }));
|
|
56
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { Simplify } from "@mittwald/api-client-commons";
|
|
2
|
+
import { MittwaldAPIV2, MittwaldAPIV2Client } from "@mittwald/api-client";
|
|
3
|
+
import { SuccessfulResponse } from "../../../types.js";
|
|
4
|
+
import { ListColumns } from "../../../Formatter.js";
|
|
5
|
+
import { ListBaseCommand } from "../../../ListBaseCommand.js";
|
|
6
|
+
type ResponseItem = Simplify<Required<MittwaldAPIV2.Paths.V2UsersSelfSshKeys.Get.Responses.$200.Content.ApplicationJson>["sshKeys"][number]>;
|
|
7
|
+
type Response = Awaited<ReturnType<MittwaldAPIV2Client["user"]["listSshKeys"]>>;
|
|
8
|
+
export default class List extends ListBaseCommand<typeof List, ResponseItem, Response> {
|
|
9
|
+
static description: string;
|
|
10
|
+
static args: {};
|
|
11
|
+
static flags: {
|
|
12
|
+
columns?: import("@oclif/core/lib/interfaces/parser.js").OptionFlag<string | undefined> | undefined;
|
|
13
|
+
csv?: import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<boolean> | undefined;
|
|
14
|
+
extended?: import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<boolean> | undefined;
|
|
15
|
+
filter?: import("@oclif/core/lib/interfaces/parser.js").OptionFlag<string | undefined> | undefined;
|
|
16
|
+
'no-header'?: import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<boolean> | undefined;
|
|
17
|
+
'no-truncate'?: import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<boolean> | undefined;
|
|
18
|
+
output: import("@oclif/core/lib/interfaces/parser.js").FlagProps & {
|
|
19
|
+
type: "option";
|
|
20
|
+
helpValue?: string | undefined;
|
|
21
|
+
options?: readonly string[] | undefined;
|
|
22
|
+
multiple?: boolean | undefined;
|
|
23
|
+
multipleNonGreedy?: boolean | undefined;
|
|
24
|
+
delimiter?: "," | undefined;
|
|
25
|
+
allowStdin?: boolean | "only" | undefined;
|
|
26
|
+
} & {
|
|
27
|
+
parse: import("@oclif/core/lib/interfaces/parser.js").FlagParser<string | undefined, string, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>;
|
|
28
|
+
defaultHelp?: import("@oclif/core/lib/interfaces/parser.js").FlagDefaultHelp<string | undefined, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>;
|
|
29
|
+
input: string[];
|
|
30
|
+
default?: import("@oclif/core/lib/interfaces/parser.js").FlagDefault<string | undefined, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>;
|
|
31
|
+
};
|
|
32
|
+
sort?: import("@oclif/core/lib/interfaces/parser.js").OptionFlag<string | undefined> | undefined;
|
|
33
|
+
"no-relative-dates": import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<boolean>;
|
|
34
|
+
};
|
|
35
|
+
getData(): Promise<Response>;
|
|
36
|
+
protected mapData(data: SuccessfulResponse<Response, 200>["data"]): MittwaldAPIV2.Components.Schemas.SignupSshKey[];
|
|
37
|
+
protected getColumns(): ListColumns<ResponseItem>;
|
|
38
|
+
}
|
|
39
|
+
export {};
|