namirasoft-credential 1.5.0 → 1.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/NamirasoftCredentialServer.d.ts +8 -2
- package/dist/NamirasoftCredentialServer.js +9 -3
- package/dist/NamirasoftCredentialServer.js.map +1 -1
- package/dist/NamirasoftCredentialServerAWS.d.ts +3 -2
- package/dist/NamirasoftCredentialServerAWS.js.map +1 -1
- package/dist/NamirasoftCredentialServerAWSCategory.js +4 -4
- package/dist/NamirasoftCredentialServerAWSCategory.js.map +1 -1
- package/dist/NamirasoftCredentialServerAWSField.js +5 -5
- package/dist/NamirasoftCredentialServerAWSField.js.map +1 -1
- package/dist/NamirasoftCredentialServerAWSTag.js +5 -5
- package/dist/NamirasoftCredentialServerAWSTag.js.map +1 -1
- package/dist/NamirasoftCredentialServerAzure.d.ts +3 -2
- package/dist/NamirasoftCredentialServerAzure.js.map +1 -1
- package/dist/NamirasoftCredentialServerAzureCategory.js +4 -4
- package/dist/NamirasoftCredentialServerAzureCategory.js.map +1 -1
- package/dist/NamirasoftCredentialServerAzureField.js +5 -5
- package/dist/NamirasoftCredentialServerAzureField.js.map +1 -1
- package/dist/NamirasoftCredentialServerAzureTag.js +5 -5
- package/dist/NamirasoftCredentialServerAzureTag.js.map +1 -1
- package/dist/NamirasoftCredentialServerBasicAuth.d.ts +3 -2
- package/dist/NamirasoftCredentialServerBasicAuth.js.map +1 -1
- package/dist/NamirasoftCredentialServerBasicAuthCategory.js +4 -4
- package/dist/NamirasoftCredentialServerBasicAuthCategory.js.map +1 -1
- package/dist/NamirasoftCredentialServerBasicAuthField.js +5 -5
- package/dist/NamirasoftCredentialServerBasicAuthField.js.map +1 -1
- package/dist/NamirasoftCredentialServerBasicAuthTag.js +5 -5
- package/dist/NamirasoftCredentialServerBasicAuthTag.js.map +1 -1
- package/dist/NamirasoftCredentialServerCloud.d.ts +3 -2
- package/dist/NamirasoftCredentialServerCloud.js.map +1 -1
- package/dist/NamirasoftCredentialServerCredential.d.ts +3 -2
- package/dist/NamirasoftCredentialServerCredential.js.map +1 -1
- package/dist/NamirasoftCredentialServerDatabase.d.ts +21 -0
- package/dist/NamirasoftCredentialServerDatabase.js +72 -0
- package/dist/NamirasoftCredentialServerDatabase.js.map +1 -0
- package/dist/NamirasoftCredentialServerDatabaseCategory.d.ts +17 -0
- package/dist/NamirasoftCredentialServerDatabaseCategory.js +56 -0
- package/dist/NamirasoftCredentialServerDatabaseCategory.js.map +1 -0
- package/dist/NamirasoftCredentialServerDatabaseField.d.ts +18 -0
- package/dist/NamirasoftCredentialServerDatabaseField.js +64 -0
- package/dist/NamirasoftCredentialServerDatabaseField.js.map +1 -0
- package/dist/NamirasoftCredentialServerDatabaseTag.d.ts +18 -0
- package/dist/NamirasoftCredentialServerDatabaseTag.js +64 -0
- package/dist/NamirasoftCredentialServerDatabaseTag.js.map +1 -0
- package/dist/NamirasoftCredentialServerGCP.d.ts +3 -2
- package/dist/NamirasoftCredentialServerGCP.js.map +1 -1
- package/dist/NamirasoftCredentialServerGCPCategory.js +4 -4
- package/dist/NamirasoftCredentialServerGCPCategory.js.map +1 -1
- package/dist/NamirasoftCredentialServerGCPField.js +5 -5
- package/dist/NamirasoftCredentialServerGCPField.js.map +1 -1
- package/dist/NamirasoftCredentialServerGCPTag.js +5 -5
- package/dist/NamirasoftCredentialServerGCPTag.js.map +1 -1
- package/dist/NamirasoftCredentialServerGitHub.d.ts +3 -2
- package/dist/NamirasoftCredentialServerGitHub.js.map +1 -1
- package/dist/NamirasoftCredentialServerGitHubCategory.js +4 -4
- package/dist/NamirasoftCredentialServerGitHubCategory.js.map +1 -1
- package/dist/NamirasoftCredentialServerGitHubField.js +5 -5
- package/dist/NamirasoftCredentialServerGitHubField.js.map +1 -1
- package/dist/NamirasoftCredentialServerGitHubTag.js +5 -5
- package/dist/NamirasoftCredentialServerGitHubTag.js.map +1 -1
- package/dist/NamirasoftCredentialServerGitLab.d.ts +3 -2
- package/dist/NamirasoftCredentialServerGitLab.js.map +1 -1
- package/dist/NamirasoftCredentialServerGitLabCategory.js +4 -4
- package/dist/NamirasoftCredentialServerGitLabCategory.js.map +1 -1
- package/dist/NamirasoftCredentialServerGitLabField.js +5 -5
- package/dist/NamirasoftCredentialServerGitLabField.js.map +1 -1
- package/dist/NamirasoftCredentialServerGitLabTag.js +5 -5
- package/dist/NamirasoftCredentialServerGitLabTag.js.map +1 -1
- package/dist/NamirasoftCredentialServerHostBasicAuth.d.ts +3 -2
- package/dist/NamirasoftCredentialServerHostBasicAuth.js.map +1 -1
- package/dist/NamirasoftCredentialServerHostBasicAuthCategory.js +4 -4
- package/dist/NamirasoftCredentialServerHostBasicAuthCategory.js.map +1 -1
- package/dist/NamirasoftCredentialServerHostBasicAuthField.js +5 -5
- package/dist/NamirasoftCredentialServerHostBasicAuthField.js.map +1 -1
- package/dist/NamirasoftCredentialServerHostBasicAuthTag.js +5 -5
- package/dist/NamirasoftCredentialServerHostBasicAuthTag.js.map +1 -1
- package/dist/NamirasoftCredentialServerHostTokenAuth.d.ts +3 -2
- package/dist/NamirasoftCredentialServerHostTokenAuth.js.map +1 -1
- package/dist/NamirasoftCredentialServerHostTokenAuthCategory.js +4 -4
- package/dist/NamirasoftCredentialServerHostTokenAuthCategory.js.map +1 -1
- package/dist/NamirasoftCredentialServerHostTokenAuthField.js +5 -5
- package/dist/NamirasoftCredentialServerHostTokenAuthField.js.map +1 -1
- package/dist/NamirasoftCredentialServerHostTokenAuthTag.js +5 -5
- package/dist/NamirasoftCredentialServerHostTokenAuthTag.js.map +1 -1
- package/dist/NamirasoftCredentialServerProtocol.d.ts +3 -2
- package/dist/NamirasoftCredentialServerProtocol.js.map +1 -1
- package/dist/NamirasoftCredentialServerSSH.d.ts +3 -2
- package/dist/NamirasoftCredentialServerSSH.js.map +1 -1
- package/dist/NamirasoftCredentialServerSourceControl.d.ts +3 -2
- package/dist/NamirasoftCredentialServerSourceControl.js.map +1 -1
- package/dist/NamirasoftCredentialServerSshCategory.js +4 -4
- package/dist/NamirasoftCredentialServerSshCategory.js.map +1 -1
- package/dist/NamirasoftCredentialServerSshField.js +5 -5
- package/dist/NamirasoftCredentialServerSshField.js.map +1 -1
- package/dist/NamirasoftCredentialServerSshTag.js +5 -5
- package/dist/NamirasoftCredentialServerSshTag.js.map +1 -1
- package/dist/NamirasoftCredentialServerTokenAuth.d.ts +3 -2
- package/dist/NamirasoftCredentialServerTokenAuth.js.map +1 -1
- package/dist/NamirasoftCredentialServerTokenAuthCategory.js +4 -4
- package/dist/NamirasoftCredentialServerTokenAuthCategory.js.map +1 -1
- package/dist/NamirasoftCredentialServerTokenAuthField.js +5 -5
- package/dist/NamirasoftCredentialServerTokenAuthField.js.map +1 -1
- package/dist/NamirasoftCredentialServerTokenAuthTag.js +5 -5
- package/dist/NamirasoftCredentialServerTokenAuthTag.js.map +1 -1
- package/dist/command/AWSCreateCommand.js +8 -26
- package/dist/command/AWSCreateCommand.js.map +1 -1
- package/dist/command/AWSUpdateCommand.js +8 -26
- package/dist/command/AWSUpdateCommand.js.map +1 -1
- package/dist/command/AzureCreateCommand.js +9 -27
- package/dist/command/AzureCreateCommand.js.map +1 -1
- package/dist/command/AzureUpdateCommand.js +9 -27
- package/dist/command/AzureUpdateCommand.js.map +1 -1
- package/dist/command/BasicAuthCreateCommand.js +8 -26
- package/dist/command/BasicAuthCreateCommand.js.map +1 -1
- package/dist/command/BasicAuthUpdateCommand.js +8 -26
- package/dist/command/BasicAuthUpdateCommand.js.map +1 -1
- package/dist/command/DatabaseCategoryCommand.d.ts +4 -0
- package/dist/command/DatabaseCategoryCommand.js +21 -0
- package/dist/command/DatabaseCategoryCommand.js.map +1 -0
- package/dist/command/DatabaseCategoryCreateCommand.d.ts +5 -0
- package/dist/command/DatabaseCategoryCreateCommand.js +49 -0
- package/dist/command/DatabaseCategoryCreateCommand.js.map +1 -0
- package/dist/command/DatabaseCategoryDeleteCommand.d.ts +5 -0
- package/dist/command/DatabaseCategoryDeleteCommand.js +38 -0
- package/dist/command/DatabaseCategoryDeleteCommand.js.map +1 -0
- package/dist/command/DatabaseCategoryGetCommand.d.ts +5 -0
- package/dist/command/DatabaseCategoryGetCommand.js +38 -0
- package/dist/command/DatabaseCategoryGetCommand.js.map +1 -0
- package/dist/command/DatabaseCategoryListCommand.d.ts +5 -0
- package/dist/command/DatabaseCategoryListCommand.js +38 -0
- package/dist/command/DatabaseCategoryListCommand.js.map +1 -0
- package/dist/command/{HealthzCommand.d.ts → DatabaseCommand.d.ts} +1 -1
- package/dist/command/DatabaseCommand.js +25 -0
- package/dist/command/DatabaseCommand.js.map +1 -0
- package/dist/command/DatabaseCreateCommand.d.ts +5 -0
- package/dist/command/DatabaseCreateCommand.js +202 -0
- package/dist/command/DatabaseCreateCommand.js.map +1 -0
- package/dist/command/DatabaseDeleteCommand.d.ts +5 -0
- package/dist/command/DatabaseDeleteCommand.js +38 -0
- package/dist/command/DatabaseDeleteCommand.js.map +1 -0
- package/dist/command/DatabaseFieldCommand.d.ts +4 -0
- package/dist/command/DatabaseFieldCommand.js +23 -0
- package/dist/command/DatabaseFieldCommand.js.map +1 -0
- package/dist/command/DatabaseFieldCreateCommand.d.ts +5 -0
- package/dist/command/DatabaseFieldCreateCommand.js +58 -0
- package/dist/command/DatabaseFieldCreateCommand.js.map +1 -0
- package/dist/command/DatabaseFieldDeleteCommand.d.ts +5 -0
- package/dist/command/DatabaseFieldDeleteCommand.js +38 -0
- package/dist/command/DatabaseFieldDeleteCommand.js.map +1 -0
- package/dist/command/DatabaseFieldGetCommand.d.ts +5 -0
- package/dist/command/DatabaseFieldGetCommand.js +38 -0
- package/dist/command/DatabaseFieldGetCommand.js.map +1 -0
- package/dist/command/DatabaseFieldListCommand.d.ts +5 -0
- package/dist/command/DatabaseFieldListCommand.js +38 -0
- package/dist/command/DatabaseFieldListCommand.js.map +1 -0
- package/dist/command/DatabaseFieldUpdateCommand.d.ts +5 -0
- package/dist/command/DatabaseFieldUpdateCommand.js +58 -0
- package/dist/command/DatabaseFieldUpdateCommand.js.map +1 -0
- package/dist/command/{HealthzGetCommand.d.ts → DatabaseGetCommand.d.ts} +1 -1
- package/dist/command/{HealthzGetCommand.js → DatabaseGetCommand.js} +6 -6
- package/dist/command/DatabaseGetCommand.js.map +1 -0
- package/dist/command/DatabaseListCommand.d.ts +5 -0
- package/dist/command/DatabaseListCommand.js +38 -0
- package/dist/command/DatabaseListCommand.js.map +1 -0
- package/dist/command/DatabaseTagCommand.d.ts +4 -0
- package/dist/command/DatabaseTagCommand.js +23 -0
- package/dist/command/DatabaseTagCommand.js.map +1 -0
- package/dist/command/DatabaseTagCreateCommand.d.ts +5 -0
- package/dist/command/DatabaseTagCreateCommand.js +58 -0
- package/dist/command/DatabaseTagCreateCommand.js.map +1 -0
- package/dist/command/DatabaseTagDeleteCommand.d.ts +5 -0
- package/dist/command/DatabaseTagDeleteCommand.js +38 -0
- package/dist/command/DatabaseTagDeleteCommand.js.map +1 -0
- package/dist/command/DatabaseTagGetCommand.d.ts +5 -0
- package/dist/command/DatabaseTagGetCommand.js +38 -0
- package/dist/command/DatabaseTagGetCommand.js.map +1 -0
- package/dist/command/DatabaseTagListCommand.d.ts +5 -0
- package/dist/command/DatabaseTagListCommand.js +38 -0
- package/dist/command/DatabaseTagListCommand.js.map +1 -0
- package/dist/command/DatabaseTagUpdateCommand.d.ts +5 -0
- package/dist/command/DatabaseTagUpdateCommand.js +58 -0
- package/dist/command/DatabaseTagUpdateCommand.js.map +1 -0
- package/dist/command/DatabaseUpdateCommand.d.ts +5 -0
- package/dist/command/DatabaseUpdateCommand.js +193 -0
- package/dist/command/DatabaseUpdateCommand.js.map +1 -0
- package/dist/command/Database_GetForCommand.d.ts +5 -0
- package/dist/command/Database_GetForCommand.js +38 -0
- package/dist/command/Database_GetForCommand.js.map +1 -0
- package/dist/command/GCPCreateCommand.js +4 -22
- package/dist/command/GCPCreateCommand.js.map +1 -1
- package/dist/command/GCPUpdateCommand.js +4 -22
- package/dist/command/GCPUpdateCommand.js.map +1 -1
- package/dist/command/GitHubCreateCommand.js +9 -27
- package/dist/command/GitHubCreateCommand.js.map +1 -1
- package/dist/command/GitHubUpdateCommand.js +9 -27
- package/dist/command/GitHubUpdateCommand.js.map +1 -1
- package/dist/command/GitLabCreateCommand.js +9 -27
- package/dist/command/GitLabCreateCommand.js.map +1 -1
- package/dist/command/GitLabUpdateCommand.js +9 -27
- package/dist/command/GitLabUpdateCommand.js.map +1 -1
- package/dist/command/HostBasicAuthCreateCommand.js +9 -27
- package/dist/command/HostBasicAuthCreateCommand.js.map +1 -1
- package/dist/command/HostBasicAuthUpdateCommand.js +9 -27
- package/dist/command/HostBasicAuthUpdateCommand.js.map +1 -1
- package/dist/command/HostTokenAuthCreateCommand.js +8 -26
- package/dist/command/HostTokenAuthCreateCommand.js.map +1 -1
- package/dist/command/HostTokenAuthUpdateCommand.js +7 -25
- package/dist/command/HostTokenAuthUpdateCommand.js.map +1 -1
- package/dist/command/SSHCreateCommand.js +9 -27
- package/dist/command/SSHCreateCommand.js.map +1 -1
- package/dist/command/SSHUpdateCommand.js +9 -27
- package/dist/command/SSHUpdateCommand.js.map +1 -1
- package/dist/command/TokenAuthCreateCommand.js +4 -22
- package/dist/command/TokenAuthCreateCommand.js.map +1 -1
- package/dist/command/TokenAuthUpdateCommand.js +4 -22
- package/dist/command/TokenAuthUpdateCommand.js.map +1 -1
- package/dist/command/cli.js +8 -2
- package/dist/command/cli.js.map +1 -1
- package/dist/enum/DatabaseType.d.ts +7 -0
- package/dist/enum/DatabaseType.js +12 -0
- package/dist/enum/DatabaseType.js.map +1 -0
- package/dist/index.d.ts +54 -3
- package/dist/index.js +54 -3
- package/dist/index.js.map +1 -1
- package/dist/meta/AWSCategoryMetaTable.js +2 -2
- package/dist/meta/AWSCategoryMetaTable.js.map +1 -1
- package/dist/meta/AWSFieldMetaTable.js +2 -2
- package/dist/meta/AWSFieldMetaTable.js.map +1 -1
- package/dist/meta/AWSMetaTable.d.ts +2 -8
- package/dist/meta/AWSMetaTable.js +4 -10
- package/dist/meta/AWSMetaTable.js.map +1 -1
- package/dist/meta/AWSTagMetaTable.js +2 -2
- package/dist/meta/AWSTagMetaTable.js.map +1 -1
- package/dist/meta/AzureCategoryMetaTable.js +2 -2
- package/dist/meta/AzureCategoryMetaTable.js.map +1 -1
- package/dist/meta/AzureFieldMetaTable.js +2 -2
- package/dist/meta/AzureFieldMetaTable.js.map +1 -1
- package/dist/meta/AzureMetaTable.d.ts +2 -8
- package/dist/meta/AzureMetaTable.js +4 -10
- package/dist/meta/AzureMetaTable.js.map +1 -1
- package/dist/meta/AzureTagMetaTable.js +2 -2
- package/dist/meta/AzureTagMetaTable.js.map +1 -1
- package/dist/meta/BasicAuthCategoryMetaTable.js +2 -2
- package/dist/meta/BasicAuthCategoryMetaTable.js.map +1 -1
- package/dist/meta/BasicAuthFieldMetaTable.js +2 -2
- package/dist/meta/BasicAuthFieldMetaTable.js.map +1 -1
- package/dist/meta/BasicAuthMetaTable.d.ts +2 -8
- package/dist/meta/BasicAuthMetaTable.js +4 -10
- package/dist/meta/BasicAuthMetaTable.js.map +1 -1
- package/dist/meta/BasicAuthTagMetaTable.js +2 -2
- package/dist/meta/BasicAuthTagMetaTable.js.map +1 -1
- package/dist/meta/CloudMetaTable.d.ts +2 -7
- package/dist/meta/CloudMetaTable.js +4 -9
- package/dist/meta/CloudMetaTable.js.map +1 -1
- package/dist/meta/CredentialMetaTable.js +2 -2
- package/dist/meta/CredentialMetaTable.js.map +1 -1
- package/dist/meta/DatabaseCategoryMetaTable.d.ts +15 -0
- package/dist/meta/DatabaseCategoryMetaTable.js +39 -0
- package/dist/meta/DatabaseCategoryMetaTable.js.map +1 -0
- package/dist/meta/DatabaseFieldMetaTable.d.ts +16 -0
- package/dist/meta/DatabaseFieldMetaTable.js +39 -0
- package/dist/meta/DatabaseFieldMetaTable.js.map +1 -0
- package/dist/meta/DatabaseMetaTable.d.ts +28 -0
- package/dist/meta/DatabaseMetaTable.js +51 -0
- package/dist/meta/DatabaseMetaTable.js.map +1 -0
- package/dist/meta/DatabaseTagMetaTable.d.ts +16 -0
- package/dist/meta/DatabaseTagMetaTable.js +39 -0
- package/dist/meta/DatabaseTagMetaTable.js.map +1 -0
- package/dist/meta/GCPCategoryMetaTable.js +2 -2
- package/dist/meta/GCPCategoryMetaTable.js.map +1 -1
- package/dist/meta/GCPFieldMetaTable.js +2 -2
- package/dist/meta/GCPFieldMetaTable.js.map +1 -1
- package/dist/meta/GCPMetaTable.d.ts +2 -8
- package/dist/meta/GCPMetaTable.js +4 -10
- package/dist/meta/GCPMetaTable.js.map +1 -1
- package/dist/meta/GCPTagMetaTable.js +2 -2
- package/dist/meta/GCPTagMetaTable.js.map +1 -1
- package/dist/meta/GitHubCategoryMetaTable.js +2 -2
- package/dist/meta/GitHubCategoryMetaTable.js.map +1 -1
- package/dist/meta/GitHubFieldMetaTable.js +2 -2
- package/dist/meta/GitHubFieldMetaTable.js.map +1 -1
- package/dist/meta/GitHubMetaTable.d.ts +2 -8
- package/dist/meta/GitHubMetaTable.js +4 -10
- package/dist/meta/GitHubMetaTable.js.map +1 -1
- package/dist/meta/GitHubTagMetaTable.js +2 -2
- package/dist/meta/GitHubTagMetaTable.js.map +1 -1
- package/dist/meta/GitLabCategoryMetaTable.js +2 -2
- package/dist/meta/GitLabCategoryMetaTable.js.map +1 -1
- package/dist/meta/GitLabFieldMetaTable.js +2 -2
- package/dist/meta/GitLabFieldMetaTable.js.map +1 -1
- package/dist/meta/GitLabMetaTable.d.ts +2 -8
- package/dist/meta/GitLabMetaTable.js +4 -10
- package/dist/meta/GitLabMetaTable.js.map +1 -1
- package/dist/meta/GitLabTagMetaTable.js +2 -2
- package/dist/meta/GitLabTagMetaTable.js.map +1 -1
- package/dist/meta/HostBasicAuthCategoryMetaTable.js +2 -2
- package/dist/meta/HostBasicAuthCategoryMetaTable.js.map +1 -1
- package/dist/meta/HostBasicAuthFieldMetaTable.js +2 -2
- package/dist/meta/HostBasicAuthFieldMetaTable.js.map +1 -1
- package/dist/meta/HostBasicAuthMetaTable.d.ts +2 -8
- package/dist/meta/HostBasicAuthMetaTable.js +4 -10
- package/dist/meta/HostBasicAuthMetaTable.js.map +1 -1
- package/dist/meta/HostBasicAuthTagMetaTable.js +2 -2
- package/dist/meta/HostBasicAuthTagMetaTable.js.map +1 -1
- package/dist/meta/HostTokenAuthCategoryMetaTable.js +2 -2
- package/dist/meta/HostTokenAuthCategoryMetaTable.js.map +1 -1
- package/dist/meta/HostTokenAuthFieldMetaTable.js +2 -2
- package/dist/meta/HostTokenAuthFieldMetaTable.js.map +1 -1
- package/dist/meta/HostTokenAuthMetaTable.d.ts +2 -8
- package/dist/meta/HostTokenAuthMetaTable.js +4 -10
- package/dist/meta/HostTokenAuthMetaTable.js.map +1 -1
- package/dist/meta/HostTokenAuthTagMetaTable.js +2 -2
- package/dist/meta/HostTokenAuthTagMetaTable.js.map +1 -1
- package/dist/meta/NamirasoftCredentialMetaDatabase.d.ts +8 -0
- package/dist/meta/NamirasoftCredentialMetaDatabase.js +8 -0
- package/dist/meta/NamirasoftCredentialMetaDatabase.js.map +1 -1
- package/dist/meta/ProtocolMetaTable.d.ts +2 -7
- package/dist/meta/ProtocolMetaTable.js +4 -9
- package/dist/meta/ProtocolMetaTable.js.map +1 -1
- package/dist/meta/SourceControlMetaTable.d.ts +2 -7
- package/dist/meta/SourceControlMetaTable.js +4 -9
- package/dist/meta/SourceControlMetaTable.js.map +1 -1
- package/dist/meta/SshCategoryMetaTable.js +2 -2
- package/dist/meta/SshCategoryMetaTable.js.map +1 -1
- package/dist/meta/SshFieldMetaTable.js +2 -2
- package/dist/meta/SshFieldMetaTable.js.map +1 -1
- package/dist/meta/SshMetaTable.d.ts +2 -8
- package/dist/meta/SshMetaTable.js +2 -8
- package/dist/meta/SshMetaTable.js.map +1 -1
- package/dist/meta/SshTagMetaTable.js +2 -2
- package/dist/meta/SshTagMetaTable.js.map +1 -1
- package/dist/meta/TokenAuthCategoryMetaTable.js +2 -2
- package/dist/meta/TokenAuthCategoryMetaTable.js.map +1 -1
- package/dist/meta/TokenAuthFieldMetaTable.js +2 -2
- package/dist/meta/TokenAuthFieldMetaTable.js.map +1 -1
- package/dist/meta/TokenAuthMetaTable.d.ts +2 -8
- package/dist/meta/TokenAuthMetaTable.js +4 -10
- package/dist/meta/TokenAuthMetaTable.js.map +1 -1
- package/dist/meta/TokenAuthTagMetaTable.js +2 -2
- package/dist/meta/TokenAuthTagMetaTable.js.map +1 -1
- package/dist/row/AWSCreateRow.d.ts +1 -3
- package/dist/row/AWSFullRow.d.ts +19 -0
- package/dist/row/AWSFullRow.js +3 -0
- package/dist/row/AWSFullRow.js.map +1 -0
- package/dist/row/AWSRow.d.ts +2 -10
- package/dist/row/AWSUpdateRow.d.ts +1 -3
- package/dist/row/AzureCreateRow.d.ts +1 -3
- package/dist/row/AzureFullRow.d.ts +20 -0
- package/dist/row/AzureFullRow.js +3 -0
- package/dist/row/AzureFullRow.js.map +1 -0
- package/dist/row/AzureRow.d.ts +2 -10
- package/dist/row/AzureUpdateRow.d.ts +1 -3
- package/dist/row/BasicAuthCreateRow.d.ts +1 -3
- package/dist/row/BasicAuthFullRow.d.ts +19 -0
- package/dist/row/BasicAuthFullRow.js +3 -0
- package/dist/row/BasicAuthFullRow.js.map +1 -0
- package/dist/row/BasicAuthRow.d.ts +2 -10
- package/dist/row/BasicAuthUpdateRow.d.ts +1 -3
- package/dist/row/CloudFullRow.d.ts +11 -0
- package/dist/row/CloudFullRow.js +3 -0
- package/dist/row/CloudFullRow.js.map +1 -0
- package/dist/row/CloudRow.d.ts +2 -9
- package/dist/row/CredentialFullRow.d.ts +15 -0
- package/dist/row/CredentialFullRow.js +3 -0
- package/dist/row/CredentialFullRow.js.map +1 -0
- package/dist/row/DatabaseCategoryRow.d.ts +8 -0
- package/dist/row/DatabaseCategoryRow.js +3 -0
- package/dist/row/DatabaseCategoryRow.js.map +1 -0
- package/dist/row/DatabaseCreateRow.d.ts +24 -0
- package/dist/row/DatabaseCreateRow.js +3 -0
- package/dist/row/DatabaseCreateRow.js.map +1 -0
- package/dist/row/DatabaseFieldRow.d.ts +9 -0
- package/dist/row/DatabaseFieldRow.js +3 -0
- package/dist/row/DatabaseFieldRow.js.map +1 -0
- package/dist/row/DatabaseFullRow.d.ts +30 -0
- package/dist/row/DatabaseFullRow.js +3 -0
- package/dist/row/DatabaseFullRow.js.map +1 -0
- package/dist/row/DatabaseRow.d.ts +22 -0
- package/dist/row/DatabaseRow.js +3 -0
- package/dist/row/DatabaseRow.js.map +1 -0
- package/dist/row/DatabaseTagRow.d.ts +9 -0
- package/dist/row/DatabaseTagRow.js +3 -0
- package/dist/row/DatabaseTagRow.js.map +1 -0
- package/dist/row/DatabaseUpdateRow.d.ts +22 -0
- package/dist/row/DatabaseUpdateRow.js +3 -0
- package/dist/row/DatabaseUpdateRow.js.map +1 -0
- package/dist/row/GCPCreateRow.d.ts +1 -3
- package/dist/row/GCPFullRow.d.ts +18 -0
- package/dist/row/GCPFullRow.js +3 -0
- package/dist/row/GCPFullRow.js.map +1 -0
- package/dist/row/GCPRow.d.ts +2 -10
- package/dist/row/GCPUpdateRow.d.ts +1 -3
- package/dist/row/GitHubCreateRow.d.ts +1 -3
- package/dist/row/GitHubFullRow.d.ts +33 -0
- package/dist/row/GitHubFullRow.js +3 -0
- package/dist/row/GitHubFullRow.js.map +1 -0
- package/dist/row/GitHubRow.d.ts +2 -10
- package/dist/row/GitHubUpdateRow.d.ts +1 -3
- package/dist/row/GitLabCreateRow.d.ts +1 -3
- package/dist/row/GitLabFullRow.d.ts +29 -0
- package/dist/row/GitLabFullRow.js +3 -0
- package/dist/row/GitLabFullRow.js.map +1 -0
- package/dist/row/GitLabRow.d.ts +2 -10
- package/dist/row/GitLabUpdateRow.d.ts +1 -3
- package/dist/row/HostBasicAuthCreateRow.d.ts +1 -3
- package/dist/row/HostBasicAuthFullRow.d.ts +20 -0
- package/dist/row/HostBasicAuthFullRow.js +3 -0
- package/dist/row/HostBasicAuthFullRow.js.map +1 -0
- package/dist/row/HostBasicAuthRow.d.ts +2 -10
- package/dist/row/HostBasicAuthUpdateRow.d.ts +1 -3
- package/dist/row/HostTokenAuthCreateRow.d.ts +1 -3
- package/dist/row/HostTokenAuthFullRow.d.ts +19 -0
- package/dist/row/HostTokenAuthFullRow.js +3 -0
- package/dist/row/HostTokenAuthFullRow.js.map +1 -0
- package/dist/row/HostTokenAuthRow.d.ts +2 -10
- package/dist/row/HostTokenAuthUpdateRow.d.ts +1 -3
- package/dist/row/ProtocolFullRow.d.ts +11 -0
- package/dist/row/ProtocolFullRow.js +3 -0
- package/dist/row/ProtocolFullRow.js.map +1 -0
- package/dist/row/ProtocolRow.d.ts +2 -9
- package/dist/row/SSHCreateRow.d.ts +1 -3
- package/dist/row/SSHFullRow.d.ts +26 -0
- package/dist/row/SSHFullRow.js +3 -0
- package/dist/row/SSHFullRow.js.map +1 -0
- package/dist/row/SSHUpdateRow.d.ts +1 -3
- package/dist/row/SourceControlFullRow.d.ts +11 -0
- package/dist/row/SourceControlFullRow.js +3 -0
- package/dist/row/SourceControlFullRow.js.map +1 -0
- package/dist/row/SourceControlRow.d.ts +2 -9
- package/dist/row/SshRow.d.ts +2 -10
- package/dist/row/TokenAuthCreateRow.d.ts +1 -3
- package/dist/row/TokenAuthFullRow.d.ts +18 -0
- package/dist/row/TokenAuthFullRow.js +3 -0
- package/dist/row/TokenAuthFullRow.js.map +1 -0
- package/dist/row/TokenAuthRow.d.ts +2 -10
- package/dist/row/TokenAuthUpdateRow.d.ts +1 -3
- package/package.json +3 -3
- package/src/NamirasoftCredentialServer.ts +13 -4
- package/src/NamirasoftCredentialServerAWS.ts +5 -4
- package/src/NamirasoftCredentialServerAWSCategory.ts +4 -4
- package/src/NamirasoftCredentialServerAWSField.ts +5 -5
- package/src/NamirasoftCredentialServerAWSTag.ts +5 -5
- package/src/NamirasoftCredentialServerAzure.ts +5 -4
- package/src/NamirasoftCredentialServerAzureCategory.ts +4 -4
- package/src/NamirasoftCredentialServerAzureField.ts +5 -5
- package/src/NamirasoftCredentialServerAzureTag.ts +5 -5
- package/src/NamirasoftCredentialServerBasicAuth.ts +5 -4
- package/src/NamirasoftCredentialServerBasicAuthCategory.ts +4 -4
- package/src/NamirasoftCredentialServerBasicAuthField.ts +5 -5
- package/src/NamirasoftCredentialServerBasicAuthTag.ts +5 -5
- package/src/NamirasoftCredentialServerCloud.ts +5 -4
- package/src/NamirasoftCredentialServerCredential.ts +5 -4
- package/src/NamirasoftCredentialServerDatabase.ts +80 -0
- package/src/NamirasoftCredentialServerDatabaseCategory.ts +64 -0
- package/src/NamirasoftCredentialServerDatabaseField.ts +71 -0
- package/src/NamirasoftCredentialServerDatabaseTag.ts +71 -0
- package/src/NamirasoftCredentialServerGCP.ts +5 -4
- package/src/NamirasoftCredentialServerGCPCategory.ts +4 -4
- package/src/NamirasoftCredentialServerGCPField.ts +5 -5
- package/src/NamirasoftCredentialServerGCPTag.ts +5 -5
- package/src/NamirasoftCredentialServerGitHub.ts +5 -4
- package/src/NamirasoftCredentialServerGitHubCategory.ts +4 -4
- package/src/NamirasoftCredentialServerGitHubField.ts +5 -5
- package/src/NamirasoftCredentialServerGitHubTag.ts +5 -5
- package/src/NamirasoftCredentialServerGitLab.ts +5 -4
- package/src/NamirasoftCredentialServerGitLabCategory.ts +4 -4
- package/src/NamirasoftCredentialServerGitLabField.ts +5 -5
- package/src/NamirasoftCredentialServerGitLabTag.ts +5 -5
- package/src/NamirasoftCredentialServerHostBasicAuth.ts +5 -4
- package/src/NamirasoftCredentialServerHostBasicAuthCategory.ts +4 -4
- package/src/NamirasoftCredentialServerHostBasicAuthField.ts +5 -5
- package/src/NamirasoftCredentialServerHostBasicAuthTag.ts +5 -5
- package/src/NamirasoftCredentialServerHostTokenAuth.ts +5 -4
- package/src/NamirasoftCredentialServerHostTokenAuthCategory.ts +4 -4
- package/src/NamirasoftCredentialServerHostTokenAuthField.ts +5 -5
- package/src/NamirasoftCredentialServerHostTokenAuthTag.ts +5 -5
- package/src/NamirasoftCredentialServerProtocol.ts +5 -4
- package/src/NamirasoftCredentialServerSSH.ts +5 -4
- package/src/NamirasoftCredentialServerSourceControl.ts +5 -4
- package/src/NamirasoftCredentialServerSshCategory.ts +4 -4
- package/src/NamirasoftCredentialServerSshField.ts +5 -5
- package/src/NamirasoftCredentialServerSshTag.ts +5 -5
- package/src/NamirasoftCredentialServerTokenAuth.ts +5 -4
- package/src/NamirasoftCredentialServerTokenAuthCategory.ts +4 -4
- package/src/NamirasoftCredentialServerTokenAuthField.ts +5 -5
- package/src/NamirasoftCredentialServerTokenAuthTag.ts +5 -5
- package/src/command/AWSCreateCommand.ts +8 -26
- package/src/command/AWSUpdateCommand.ts +8 -26
- package/src/command/AzureCreateCommand.ts +9 -27
- package/src/command/AzureUpdateCommand.ts +9 -27
- package/src/command/BasicAuthCreateCommand.ts +8 -26
- package/src/command/BasicAuthUpdateCommand.ts +8 -26
- package/src/command/DatabaseCategoryCommand.ts +38 -0
- package/src/command/DatabaseCategoryCreateCommand.ts +56 -0
- package/src/command/DatabaseCategoryDeleteCommand.ts +45 -0
- package/src/command/DatabaseCategoryGetCommand.ts +45 -0
- package/src/command/DatabaseCategoryListCommand.ts +45 -0
- package/src/command/DatabaseCommand.ts +42 -0
- package/src/command/DatabaseCreateCommand.ts +209 -0
- package/src/command/DatabaseDeleteCommand.ts +45 -0
- package/src/command/DatabaseFieldCommand.ts +40 -0
- package/src/command/DatabaseFieldCreateCommand.ts +65 -0
- package/src/command/DatabaseFieldDeleteCommand.ts +45 -0
- package/src/command/DatabaseFieldGetCommand.ts +45 -0
- package/src/command/DatabaseFieldListCommand.ts +45 -0
- package/src/command/DatabaseFieldUpdateCommand.ts +65 -0
- package/src/command/{HealthzGetCommand.ts → DatabaseGetCommand.ts} +3 -3
- package/src/command/DatabaseListCommand.ts +45 -0
- package/src/command/DatabaseTagCommand.ts +40 -0
- package/src/command/DatabaseTagCreateCommand.ts +65 -0
- package/src/command/DatabaseTagDeleteCommand.ts +45 -0
- package/src/command/DatabaseTagGetCommand.ts +45 -0
- package/src/command/DatabaseTagListCommand.ts +45 -0
- package/src/command/DatabaseTagUpdateCommand.ts +65 -0
- package/src/command/DatabaseUpdateCommand.ts +200 -0
- package/src/command/Database_GetForCommand.ts +45 -0
- package/src/command/GCPCreateCommand.ts +4 -22
- package/src/command/GCPUpdateCommand.ts +4 -22
- package/src/command/GitHubCreateCommand.ts +9 -27
- package/src/command/GitHubUpdateCommand.ts +9 -27
- package/src/command/GitLabCreateCommand.ts +9 -27
- package/src/command/GitLabUpdateCommand.ts +9 -27
- package/src/command/HostBasicAuthCreateCommand.ts +9 -27
- package/src/command/HostBasicAuthUpdateCommand.ts +9 -27
- package/src/command/HostTokenAuthCreateCommand.ts +8 -26
- package/src/command/HostTokenAuthUpdateCommand.ts +7 -25
- package/src/command/SSHCreateCommand.ts +9 -27
- package/src/command/SSHUpdateCommand.ts +9 -27
- package/src/command/TokenAuthCreateCommand.ts +4 -22
- package/src/command/TokenAuthUpdateCommand.ts +4 -22
- package/src/command/cli.ts +8 -2
- package/src/enum/DatabaseType.ts +28 -0
- package/src/index.ts +54 -3
- package/src/meta/AWSCategoryMetaTable.ts +2 -2
- package/src/meta/AWSFieldMetaTable.ts +2 -2
- package/src/meta/AWSMetaTable.ts +6 -18
- package/src/meta/AWSTagMetaTable.ts +2 -2
- package/src/meta/AzureCategoryMetaTable.ts +2 -2
- package/src/meta/AzureFieldMetaTable.ts +2 -2
- package/src/meta/AzureMetaTable.ts +6 -18
- package/src/meta/AzureTagMetaTable.ts +2 -2
- package/src/meta/BasicAuthCategoryMetaTable.ts +2 -2
- package/src/meta/BasicAuthFieldMetaTable.ts +2 -2
- package/src/meta/BasicAuthMetaTable.ts +6 -18
- package/src/meta/BasicAuthTagMetaTable.ts +2 -2
- package/src/meta/CloudMetaTable.ts +6 -16
- package/src/meta/CredentialMetaTable.ts +2 -2
- package/src/meta/DatabaseCategoryMetaTable.ts +60 -0
- package/src/meta/DatabaseFieldMetaTable.ts +61 -0
- package/src/meta/DatabaseMetaTable.ts +85 -0
- package/src/meta/DatabaseTagMetaTable.ts +61 -0
- package/src/meta/GCPCategoryMetaTable.ts +2 -2
- package/src/meta/GCPFieldMetaTable.ts +2 -2
- package/src/meta/GCPMetaTable.ts +6 -18
- package/src/meta/GCPTagMetaTable.ts +2 -2
- package/src/meta/GitHubCategoryMetaTable.ts +2 -2
- package/src/meta/GitHubFieldMetaTable.ts +2 -2
- package/src/meta/GitHubMetaTable.ts +6 -18
- package/src/meta/GitHubTagMetaTable.ts +2 -2
- package/src/meta/GitLabCategoryMetaTable.ts +2 -2
- package/src/meta/GitLabFieldMetaTable.ts +2 -2
- package/src/meta/GitLabMetaTable.ts +6 -18
- package/src/meta/GitLabTagMetaTable.ts +2 -2
- package/src/meta/HostBasicAuthCategoryMetaTable.ts +2 -2
- package/src/meta/HostBasicAuthFieldMetaTable.ts +2 -2
- package/src/meta/HostBasicAuthMetaTable.ts +6 -18
- package/src/meta/HostBasicAuthTagMetaTable.ts +2 -2
- package/src/meta/HostTokenAuthCategoryMetaTable.ts +2 -2
- package/src/meta/HostTokenAuthFieldMetaTable.ts +2 -2
- package/src/meta/HostTokenAuthMetaTable.ts +6 -18
- package/src/meta/HostTokenAuthTagMetaTable.ts +2 -2
- package/src/meta/NamirasoftCredentialMetaDatabase.ts +12 -0
- package/src/meta/ProtocolMetaTable.ts +6 -16
- package/src/meta/SourceControlMetaTable.ts +6 -16
- package/src/meta/SshCategoryMetaTable.ts +2 -2
- package/src/meta/SshFieldMetaTable.ts +2 -2
- package/src/meta/SshMetaTable.ts +4 -16
- package/src/meta/SshTagMetaTable.ts +2 -2
- package/src/meta/TokenAuthCategoryMetaTable.ts +2 -2
- package/src/meta/TokenAuthFieldMetaTable.ts +2 -2
- package/src/meta/TokenAuthMetaTable.ts +6 -18
- package/src/meta/TokenAuthTagMetaTable.ts +2 -2
- package/src/row/AWSCreateRow.ts +1 -3
- package/src/row/AWSFullRow.ts +41 -0
- package/src/row/AWSRow.ts +2 -11
- package/src/row/AWSUpdateRow.ts +1 -3
- package/src/row/AzureCreateRow.ts +1 -3
- package/src/row/AzureFullRow.ts +42 -0
- package/src/row/AzureRow.ts +2 -11
- package/src/row/AzureUpdateRow.ts +1 -3
- package/src/row/BasicAuthCreateRow.ts +1 -3
- package/src/row/BasicAuthFullRow.ts +41 -0
- package/src/row/BasicAuthRow.ts +2 -11
- package/src/row/BasicAuthUpdateRow.ts +1 -3
- package/src/{NamirasoftCredentialServerHealthz.ts → row/CloudFullRow.ts} +11 -15
- package/src/row/CloudRow.ts +2 -10
- package/src/row/CredentialFullRow.ts +37 -0
- package/src/{command/HealthzCommand.ts → row/DatabaseCategoryRow.ts} +8 -11
- package/src/row/DatabaseCreateRow.ts +46 -0
- package/src/row/DatabaseFieldRow.ts +30 -0
- package/src/row/DatabaseFullRow.ts +52 -0
- package/src/row/DatabaseRow.ts +44 -0
- package/src/row/DatabaseTagRow.ts +30 -0
- package/src/row/DatabaseUpdateRow.ts +44 -0
- package/src/row/GCPCreateRow.ts +1 -3
- package/src/row/GCPFullRow.ts +40 -0
- package/src/row/GCPRow.ts +2 -11
- package/src/row/GCPUpdateRow.ts +1 -3
- package/src/row/GitHubCreateRow.ts +1 -3
- package/src/row/GitHubFullRow.ts +55 -0
- package/src/row/GitHubRow.ts +2 -10
- package/src/row/GitHubUpdateRow.ts +1 -3
- package/src/row/GitLabCreateRow.ts +1 -3
- package/src/row/GitLabFullRow.ts +51 -0
- package/src/row/GitLabRow.ts +2 -10
- package/src/row/GitLabUpdateRow.ts +1 -3
- package/src/row/HostBasicAuthCreateRow.ts +1 -3
- package/src/row/HostBasicAuthFullRow.ts +42 -0
- package/src/row/HostBasicAuthRow.ts +2 -11
- package/src/row/HostBasicAuthUpdateRow.ts +1 -3
- package/src/row/HostTokenAuthCreateRow.ts +1 -3
- package/src/row/HostTokenAuthFullRow.ts +41 -0
- package/src/row/HostTokenAuthRow.ts +2 -11
- package/src/row/HostTokenAuthUpdateRow.ts +1 -3
- package/src/row/ProtocolFullRow.ts +33 -0
- package/src/row/ProtocolRow.ts +2 -10
- package/src/row/SSHCreateRow.ts +1 -3
- package/src/row/SSHFullRow.ts +48 -0
- package/src/row/SSHUpdateRow.ts +1 -3
- package/src/row/SourceControlFullRow.ts +33 -0
- package/src/row/SourceControlRow.ts +2 -10
- package/src/row/SshRow.ts +2 -10
- package/src/row/TokenAuthCreateRow.ts +1 -3
- package/src/row/TokenAuthFullRow.ts +40 -0
- package/src/row/TokenAuthRow.ts +2 -11
- package/src/row/TokenAuthUpdateRow.ts +1 -3
- package/dist/NamirasoftCredentialServerHealthz.d.ts +0 -7
- package/dist/NamirasoftCredentialServerHealthz.js +0 -28
- package/dist/NamirasoftCredentialServerHealthz.js.map +0 -1
- package/dist/command/HealthzCommand.js +0 -15
- package/dist/command/HealthzCommand.js.map +0 -1
- package/dist/command/HealthzGetCommand.js.map +0 -1
|
@@ -0,0 +1,200 @@
|
|
|
1
|
+
/****************************************************************/
|
|
2
|
+
/* */
|
|
3
|
+
/* This is an Auto-Generated File */
|
|
4
|
+
/* Made By */
|
|
5
|
+
/* Namirasoft SDK Generator NPM Package */
|
|
6
|
+
/* */
|
|
7
|
+
/****************************************************************/
|
|
8
|
+
/****************************************************************/
|
|
9
|
+
/* */
|
|
10
|
+
/* Please do not make any change to this file */
|
|
11
|
+
/* If any change is required, ns-sdkg command must be used */
|
|
12
|
+
/* */
|
|
13
|
+
/****************************************************************/
|
|
14
|
+
/****************************************************************/
|
|
15
|
+
/* */
|
|
16
|
+
/* Namira Software Corporation */
|
|
17
|
+
/* https://namirasoft.com */
|
|
18
|
+
/* */
|
|
19
|
+
/****************************************************************/
|
|
20
|
+
|
|
21
|
+
import { BaseFinalCommand } from "namirasoft-node-cli";
|
|
22
|
+
import { IStorageMemoryDedicated } from "namirasoft-core";
|
|
23
|
+
import { NamirasoftCredentialServer } from "../NamirasoftCredentialServer";
|
|
24
|
+
import { TokenManager } from "namirasoft-account";
|
|
25
|
+
|
|
26
|
+
export class DatabaseUpdateCommand extends BaseFinalCommand
|
|
27
|
+
{
|
|
28
|
+
constructor(argv: string[])
|
|
29
|
+
{
|
|
30
|
+
super(argv, ["id"], [
|
|
31
|
+
{
|
|
32
|
+
name: "workspace_id",
|
|
33
|
+
short: "",
|
|
34
|
+
description: "Provides the value of 'workspace_id' in body",
|
|
35
|
+
optional: true,
|
|
36
|
+
args: ["workspace_id"],
|
|
37
|
+
defaults: [""]
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
name: "ssh_credential_id",
|
|
41
|
+
short: "",
|
|
42
|
+
description: "Provides the value of 'ssh_credential_id' in body",
|
|
43
|
+
optional: true,
|
|
44
|
+
args: ["ssh_credential_id"],
|
|
45
|
+
defaults: [""]
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
name: "host",
|
|
49
|
+
short: "",
|
|
50
|
+
description: "Provides the value of 'host' in body",
|
|
51
|
+
optional: true,
|
|
52
|
+
args: ["host"],
|
|
53
|
+
defaults: [""]
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
name: "port",
|
|
57
|
+
short: "",
|
|
58
|
+
description: "Provides the value of 'port' in body",
|
|
59
|
+
optional: true,
|
|
60
|
+
args: ["port"],
|
|
61
|
+
defaults: [""]
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
name: "database_name",
|
|
65
|
+
short: "",
|
|
66
|
+
description: "Provides the value of 'database_name' in body",
|
|
67
|
+
optional: true,
|
|
68
|
+
args: ["database_name"],
|
|
69
|
+
defaults: [""]
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
name: "username",
|
|
73
|
+
short: "",
|
|
74
|
+
description: "Provides the value of 'username' in body",
|
|
75
|
+
optional: true,
|
|
76
|
+
args: ["username"],
|
|
77
|
+
defaults: [""]
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
name: "password",
|
|
81
|
+
short: "",
|
|
82
|
+
description: "Provides the value of 'password' in body",
|
|
83
|
+
optional: true,
|
|
84
|
+
args: ["password"],
|
|
85
|
+
defaults: [""]
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
name: "connection_string",
|
|
89
|
+
short: "",
|
|
90
|
+
description: "Provides the value of 'connection_string' in body",
|
|
91
|
+
optional: true,
|
|
92
|
+
args: ["connection_string"],
|
|
93
|
+
defaults: [""]
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
name: "ssl_enable",
|
|
97
|
+
short: "",
|
|
98
|
+
description: "Provides the value of 'ssl_enable' in body",
|
|
99
|
+
optional: true,
|
|
100
|
+
args: ["ssl_enable"],
|
|
101
|
+
defaults: [""]
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
name: "ssl_ca",
|
|
105
|
+
short: "",
|
|
106
|
+
description: "Provides the value of 'ssl_ca' in body",
|
|
107
|
+
optional: true,
|
|
108
|
+
args: ["ssl_ca"],
|
|
109
|
+
defaults: [""]
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
name: "ssl_cert",
|
|
113
|
+
short: "",
|
|
114
|
+
description: "Provides the value of 'ssl_cert' in body",
|
|
115
|
+
optional: true,
|
|
116
|
+
args: ["ssl_cert"],
|
|
117
|
+
defaults: [""]
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
name: "ssl_key",
|
|
121
|
+
short: "",
|
|
122
|
+
description: "Provides the value of 'ssl_key' in body",
|
|
123
|
+
optional: true,
|
|
124
|
+
args: ["ssl_key"],
|
|
125
|
+
defaults: [""]
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
name: "name",
|
|
129
|
+
short: "",
|
|
130
|
+
description: "Provides the value of 'name' in body",
|
|
131
|
+
optional: false,
|
|
132
|
+
args: ["name"],
|
|
133
|
+
defaults: [""]
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
name: "description",
|
|
137
|
+
short: "",
|
|
138
|
+
description: "Provides the value of 'description' in body",
|
|
139
|
+
optional: true,
|
|
140
|
+
args: ["description"],
|
|
141
|
+
defaults: [""]
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
name: "database_category",
|
|
145
|
+
short: "",
|
|
146
|
+
description: "Provides the value of 'database_category' in body",
|
|
147
|
+
optional: false,
|
|
148
|
+
args: ["database_category"],
|
|
149
|
+
defaults: [""]
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
name: "database_field",
|
|
153
|
+
short: "",
|
|
154
|
+
description: "Provides the value of 'database_field' in body",
|
|
155
|
+
optional: false,
|
|
156
|
+
args: ["database_field"],
|
|
157
|
+
defaults: [""]
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
name: "database_tag",
|
|
161
|
+
short: "",
|
|
162
|
+
description: "Provides the value of 'database_tag' in body",
|
|
163
|
+
optional: false,
|
|
164
|
+
args: ["database_tag"],
|
|
165
|
+
defaults: [""]
|
|
166
|
+
}
|
|
167
|
+
]);
|
|
168
|
+
}
|
|
169
|
+
override async exec()
|
|
170
|
+
{
|
|
171
|
+
let token = this.app.storage.getNSAToken();
|
|
172
|
+
if (token == null)
|
|
173
|
+
throw new Error("Token is not available. Please login first using:\nns-credential ns-account config \nor \nns-credential ns-account login.");
|
|
174
|
+
let storage = new IStorageMemoryDedicated();
|
|
175
|
+
let token_manager = new TokenManager(storage, () => { });
|
|
176
|
+
token_manager.setValue(token, false);
|
|
177
|
+
let url = this.app.storage.getItem("ns-credential-server-url");
|
|
178
|
+
let server = new NamirasoftCredentialServer(url, token_manager, e => this.app.logger.error(e.message));
|
|
179
|
+
let ans = await server.database.Update(this.arg_values[0], {
|
|
180
|
+
workspace_id: this.option_values.workspace_id,
|
|
181
|
+
ssh_credential_id: this.option_values.ssh_credential_id,
|
|
182
|
+
host: this.option_values.host,
|
|
183
|
+
port: this.option_values.port,
|
|
184
|
+
database_name: this.option_values.database_name,
|
|
185
|
+
username: this.option_values.username,
|
|
186
|
+
password: this.option_values.password,
|
|
187
|
+
connection_string: this.option_values.connection_string,
|
|
188
|
+
ssl_enable: this.option_values.ssl_enable,
|
|
189
|
+
ssl_ca: this.option_values.ssl_ca,
|
|
190
|
+
ssl_cert: this.option_values.ssl_cert,
|
|
191
|
+
ssl_key: this.option_values.ssl_key,
|
|
192
|
+
name: this.option_values.name,
|
|
193
|
+
description: this.option_values.description,
|
|
194
|
+
database_category: this.option_values.database_category,
|
|
195
|
+
database_field: this.option_values.database_field,
|
|
196
|
+
database_tag: this.option_values.database_tag
|
|
197
|
+
});
|
|
198
|
+
this.app.logger.success(JSON.stringify(ans));
|
|
199
|
+
}
|
|
200
|
+
};
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/****************************************************************/
|
|
2
|
+
/* */
|
|
3
|
+
/* This is an Auto-Generated File */
|
|
4
|
+
/* Made By */
|
|
5
|
+
/* Namirasoft SDK Generator NPM Package */
|
|
6
|
+
/* */
|
|
7
|
+
/****************************************************************/
|
|
8
|
+
/****************************************************************/
|
|
9
|
+
/* */
|
|
10
|
+
/* Please do not make any change to this file */
|
|
11
|
+
/* If any change is required, ns-sdkg command must be used */
|
|
12
|
+
/* */
|
|
13
|
+
/****************************************************************/
|
|
14
|
+
/****************************************************************/
|
|
15
|
+
/* */
|
|
16
|
+
/* Namira Software Corporation */
|
|
17
|
+
/* https://namirasoft.com */
|
|
18
|
+
/* */
|
|
19
|
+
/****************************************************************/
|
|
20
|
+
|
|
21
|
+
import { BaseFinalCommand } from "namirasoft-node-cli";
|
|
22
|
+
import { IStorageMemoryDedicated } from "namirasoft-core";
|
|
23
|
+
import { NamirasoftCredentialServer } from "../NamirasoftCredentialServer";
|
|
24
|
+
import { TokenManager } from "namirasoft-account";
|
|
25
|
+
|
|
26
|
+
export class Database_GetForCommand extends BaseFinalCommand
|
|
27
|
+
{
|
|
28
|
+
constructor(argv: string[])
|
|
29
|
+
{
|
|
30
|
+
super(argv, ["user_id", "id"], []);
|
|
31
|
+
}
|
|
32
|
+
override async exec()
|
|
33
|
+
{
|
|
34
|
+
let token = this.app.storage.getNSAToken();
|
|
35
|
+
if (token == null)
|
|
36
|
+
throw new Error("Token is not available. Please login first using:\nns-credential ns-account config \nor \nns-credential ns-account login.");
|
|
37
|
+
let storage = new IStorageMemoryDedicated();
|
|
38
|
+
let token_manager = new TokenManager(storage, () => { });
|
|
39
|
+
token_manager.setValue(token, false);
|
|
40
|
+
let url = this.app.storage.getItem("ns-credential-server-url");
|
|
41
|
+
let server = new NamirasoftCredentialServer(url, token_manager, e => this.app.logger.error(e.message));
|
|
42
|
+
let ans = await server.database._GetFor(this.arg_values[0], this.arg_values[1]);
|
|
43
|
+
this.app.logger.success(JSON.stringify(ans));
|
|
44
|
+
}
|
|
45
|
+
};
|
|
@@ -28,14 +28,6 @@ export class GCPCreateCommand extends BaseFinalCommand
|
|
|
28
28
|
constructor(argv: string[])
|
|
29
29
|
{
|
|
30
30
|
super(argv, [], [
|
|
31
|
-
{
|
|
32
|
-
name: "credentials",
|
|
33
|
-
short: "",
|
|
34
|
-
description: "Provides the value of 'credentials' in body",
|
|
35
|
-
optional: false,
|
|
36
|
-
args: ["credentials"],
|
|
37
|
-
defaults: [""]
|
|
38
|
-
},
|
|
39
31
|
{
|
|
40
32
|
name: "workspace_id",
|
|
41
33
|
short: "",
|
|
@@ -45,19 +37,11 @@ export class GCPCreateCommand extends BaseFinalCommand
|
|
|
45
37
|
defaults: [""]
|
|
46
38
|
},
|
|
47
39
|
{
|
|
48
|
-
name: "
|
|
40
|
+
name: "credentials",
|
|
49
41
|
short: "",
|
|
50
|
-
description: "Provides the value of '
|
|
42
|
+
description: "Provides the value of 'credentials' in body",
|
|
51
43
|
optional: false,
|
|
52
|
-
args: ["
|
|
53
|
-
defaults: [""]
|
|
54
|
-
},
|
|
55
|
-
{
|
|
56
|
-
name: "description",
|
|
57
|
-
short: "",
|
|
58
|
-
description: "Provides the value of 'description' in body",
|
|
59
|
-
optional: true,
|
|
60
|
-
args: ["description"],
|
|
44
|
+
args: ["credentials"],
|
|
61
45
|
defaults: [""]
|
|
62
46
|
},
|
|
63
47
|
{
|
|
@@ -97,10 +81,8 @@ export class GCPCreateCommand extends BaseFinalCommand
|
|
|
97
81
|
let url = this.app.storage.getItem("ns-credential-server-url");
|
|
98
82
|
let server = new NamirasoftCredentialServer(url, token_manager, e => this.app.logger.error(e.message));
|
|
99
83
|
let ans = await server.gcp.Create({
|
|
100
|
-
credentials: this.option_values.credentials,
|
|
101
84
|
workspace_id: this.option_values.workspace_id,
|
|
102
|
-
|
|
103
|
-
description: this.option_values.description,
|
|
85
|
+
credentials: this.option_values.credentials,
|
|
104
86
|
gcp_category: this.option_values.gcp_category,
|
|
105
87
|
gcp_field: this.option_values.gcp_field,
|
|
106
88
|
gcp_tag: this.option_values.gcp_tag
|
|
@@ -28,14 +28,6 @@ export class GCPUpdateCommand extends BaseFinalCommand
|
|
|
28
28
|
constructor(argv: string[])
|
|
29
29
|
{
|
|
30
30
|
super(argv, ["id"], [
|
|
31
|
-
{
|
|
32
|
-
name: "credentials",
|
|
33
|
-
short: "",
|
|
34
|
-
description: "Provides the value of 'credentials' in body",
|
|
35
|
-
optional: true,
|
|
36
|
-
args: ["credentials"],
|
|
37
|
-
defaults: [""]
|
|
38
|
-
},
|
|
39
31
|
{
|
|
40
32
|
name: "workspace_id",
|
|
41
33
|
short: "",
|
|
@@ -45,19 +37,11 @@ export class GCPUpdateCommand extends BaseFinalCommand
|
|
|
45
37
|
defaults: [""]
|
|
46
38
|
},
|
|
47
39
|
{
|
|
48
|
-
name: "
|
|
49
|
-
short: "",
|
|
50
|
-
description: "Provides the value of 'name' in body",
|
|
51
|
-
optional: false,
|
|
52
|
-
args: ["name"],
|
|
53
|
-
defaults: [""]
|
|
54
|
-
},
|
|
55
|
-
{
|
|
56
|
-
name: "description",
|
|
40
|
+
name: "credentials",
|
|
57
41
|
short: "",
|
|
58
|
-
description: "Provides the value of '
|
|
42
|
+
description: "Provides the value of 'credentials' in body",
|
|
59
43
|
optional: true,
|
|
60
|
-
args: ["
|
|
44
|
+
args: ["credentials"],
|
|
61
45
|
defaults: [""]
|
|
62
46
|
},
|
|
63
47
|
{
|
|
@@ -97,10 +81,8 @@ export class GCPUpdateCommand extends BaseFinalCommand
|
|
|
97
81
|
let url = this.app.storage.getItem("ns-credential-server-url");
|
|
98
82
|
let server = new NamirasoftCredentialServer(url, token_manager, e => this.app.logger.error(e.message));
|
|
99
83
|
let ans = await server.gcp.Update(this.arg_values[0], {
|
|
100
|
-
credentials: this.option_values.credentials,
|
|
101
84
|
workspace_id: this.option_values.workspace_id,
|
|
102
|
-
|
|
103
|
-
description: this.option_values.description,
|
|
85
|
+
credentials: this.option_values.credentials,
|
|
104
86
|
gcp_category: this.option_values.gcp_category,
|
|
105
87
|
gcp_field: this.option_values.gcp_field,
|
|
106
88
|
gcp_tag: this.option_values.gcp_tag
|
|
@@ -28,6 +28,14 @@ export class GitHubCreateCommand extends BaseFinalCommand
|
|
|
28
28
|
constructor(argv: string[])
|
|
29
29
|
{
|
|
30
30
|
super(argv, [], [
|
|
31
|
+
{
|
|
32
|
+
name: "workspace_id",
|
|
33
|
+
short: "",
|
|
34
|
+
description: "Provides the value of 'workspace_id' in body",
|
|
35
|
+
optional: true,
|
|
36
|
+
args: ["workspace_id"],
|
|
37
|
+
defaults: [""]
|
|
38
|
+
},
|
|
31
39
|
{
|
|
32
40
|
name: "host",
|
|
33
41
|
short: "",
|
|
@@ -148,30 +156,6 @@ export class GitHubCreateCommand extends BaseFinalCommand
|
|
|
148
156
|
args: ["ssh_privatekey"],
|
|
149
157
|
defaults: [""]
|
|
150
158
|
},
|
|
151
|
-
{
|
|
152
|
-
name: "workspace_id",
|
|
153
|
-
short: "",
|
|
154
|
-
description: "Provides the value of 'workspace_id' in body",
|
|
155
|
-
optional: true,
|
|
156
|
-
args: ["workspace_id"],
|
|
157
|
-
defaults: [""]
|
|
158
|
-
},
|
|
159
|
-
{
|
|
160
|
-
name: "name",
|
|
161
|
-
short: "",
|
|
162
|
-
description: "Provides the value of 'name' in body",
|
|
163
|
-
optional: false,
|
|
164
|
-
args: ["name"],
|
|
165
|
-
defaults: [""]
|
|
166
|
-
},
|
|
167
|
-
{
|
|
168
|
-
name: "description",
|
|
169
|
-
short: "",
|
|
170
|
-
description: "Provides the value of 'description' in body",
|
|
171
|
-
optional: true,
|
|
172
|
-
args: ["description"],
|
|
173
|
-
defaults: [""]
|
|
174
|
-
},
|
|
175
159
|
{
|
|
176
160
|
name: "git_hub_category",
|
|
177
161
|
short: "",
|
|
@@ -209,6 +193,7 @@ export class GitHubCreateCommand extends BaseFinalCommand
|
|
|
209
193
|
let url = this.app.storage.getItem("ns-credential-server-url");
|
|
210
194
|
let server = new NamirasoftCredentialServer(url, token_manager, e => this.app.logger.error(e.message));
|
|
211
195
|
let ans = await server.git_hub.Create({
|
|
196
|
+
workspace_id: this.option_values.workspace_id,
|
|
212
197
|
host: this.option_values.host,
|
|
213
198
|
type: this.option_values.type,
|
|
214
199
|
username: this.option_values.username,
|
|
@@ -224,9 +209,6 @@ export class GitHubCreateCommand extends BaseFinalCommand
|
|
|
224
209
|
githubapp_token: this.option_values.githubapp_token,
|
|
225
210
|
ssh_publickey: this.option_values.ssh_publickey,
|
|
226
211
|
ssh_privatekey: this.option_values.ssh_privatekey,
|
|
227
|
-
workspace_id: this.option_values.workspace_id,
|
|
228
|
-
name: this.option_values.name,
|
|
229
|
-
description: this.option_values.description,
|
|
230
212
|
git_hub_category: this.option_values.git_hub_category,
|
|
231
213
|
git_hub_field: this.option_values.git_hub_field,
|
|
232
214
|
git_hub_tag: this.option_values.git_hub_tag
|
|
@@ -28,6 +28,14 @@ export class GitHubUpdateCommand extends BaseFinalCommand
|
|
|
28
28
|
constructor(argv: string[])
|
|
29
29
|
{
|
|
30
30
|
super(argv, ["id"], [
|
|
31
|
+
{
|
|
32
|
+
name: "workspace_id",
|
|
33
|
+
short: "",
|
|
34
|
+
description: "Provides the value of 'workspace_id' in body",
|
|
35
|
+
optional: true,
|
|
36
|
+
args: ["workspace_id"],
|
|
37
|
+
defaults: [""]
|
|
38
|
+
},
|
|
31
39
|
{
|
|
32
40
|
name: "host",
|
|
33
41
|
short: "",
|
|
@@ -140,30 +148,6 @@ export class GitHubUpdateCommand extends BaseFinalCommand
|
|
|
140
148
|
args: ["ssh_privatekey"],
|
|
141
149
|
defaults: [""]
|
|
142
150
|
},
|
|
143
|
-
{
|
|
144
|
-
name: "workspace_id",
|
|
145
|
-
short: "",
|
|
146
|
-
description: "Provides the value of 'workspace_id' in body",
|
|
147
|
-
optional: true,
|
|
148
|
-
args: ["workspace_id"],
|
|
149
|
-
defaults: [""]
|
|
150
|
-
},
|
|
151
|
-
{
|
|
152
|
-
name: "name",
|
|
153
|
-
short: "",
|
|
154
|
-
description: "Provides the value of 'name' in body",
|
|
155
|
-
optional: false,
|
|
156
|
-
args: ["name"],
|
|
157
|
-
defaults: [""]
|
|
158
|
-
},
|
|
159
|
-
{
|
|
160
|
-
name: "description",
|
|
161
|
-
short: "",
|
|
162
|
-
description: "Provides the value of 'description' in body",
|
|
163
|
-
optional: true,
|
|
164
|
-
args: ["description"],
|
|
165
|
-
defaults: [""]
|
|
166
|
-
},
|
|
167
151
|
{
|
|
168
152
|
name: "git_hub_category",
|
|
169
153
|
short: "",
|
|
@@ -201,6 +185,7 @@ export class GitHubUpdateCommand extends BaseFinalCommand
|
|
|
201
185
|
let url = this.app.storage.getItem("ns-credential-server-url");
|
|
202
186
|
let server = new NamirasoftCredentialServer(url, token_manager, e => this.app.logger.error(e.message));
|
|
203
187
|
let ans = await server.git_hub.Update(this.arg_values[0], {
|
|
188
|
+
workspace_id: this.option_values.workspace_id,
|
|
204
189
|
host: this.option_values.host,
|
|
205
190
|
username: this.option_values.username,
|
|
206
191
|
password: this.option_values.password,
|
|
@@ -215,9 +200,6 @@ export class GitHubUpdateCommand extends BaseFinalCommand
|
|
|
215
200
|
githubapp_token: this.option_values.githubapp_token,
|
|
216
201
|
ssh_publickey: this.option_values.ssh_publickey,
|
|
217
202
|
ssh_privatekey: this.option_values.ssh_privatekey,
|
|
218
|
-
workspace_id: this.option_values.workspace_id,
|
|
219
|
-
name: this.option_values.name,
|
|
220
|
-
description: this.option_values.description,
|
|
221
203
|
git_hub_category: this.option_values.git_hub_category,
|
|
222
204
|
git_hub_field: this.option_values.git_hub_field,
|
|
223
205
|
git_hub_tag: this.option_values.git_hub_tag
|
|
@@ -28,6 +28,14 @@ export class GitLabCreateCommand extends BaseFinalCommand
|
|
|
28
28
|
constructor(argv: string[])
|
|
29
29
|
{
|
|
30
30
|
super(argv, [], [
|
|
31
|
+
{
|
|
32
|
+
name: "workspace_id",
|
|
33
|
+
short: "",
|
|
34
|
+
description: "Provides the value of 'workspace_id' in body",
|
|
35
|
+
optional: true,
|
|
36
|
+
args: ["workspace_id"],
|
|
37
|
+
defaults: [""]
|
|
38
|
+
},
|
|
31
39
|
{
|
|
32
40
|
name: "host",
|
|
33
41
|
short: "",
|
|
@@ -116,30 +124,6 @@ export class GitLabCreateCommand extends BaseFinalCommand
|
|
|
116
124
|
args: ["ssh_privatekey"],
|
|
117
125
|
defaults: [""]
|
|
118
126
|
},
|
|
119
|
-
{
|
|
120
|
-
name: "workspace_id",
|
|
121
|
-
short: "",
|
|
122
|
-
description: "Provides the value of 'workspace_id' in body",
|
|
123
|
-
optional: true,
|
|
124
|
-
args: ["workspace_id"],
|
|
125
|
-
defaults: [""]
|
|
126
|
-
},
|
|
127
|
-
{
|
|
128
|
-
name: "name",
|
|
129
|
-
short: "",
|
|
130
|
-
description: "Provides the value of 'name' in body",
|
|
131
|
-
optional: false,
|
|
132
|
-
args: ["name"],
|
|
133
|
-
defaults: [""]
|
|
134
|
-
},
|
|
135
|
-
{
|
|
136
|
-
name: "description",
|
|
137
|
-
short: "",
|
|
138
|
-
description: "Provides the value of 'description' in body",
|
|
139
|
-
optional: true,
|
|
140
|
-
args: ["description"],
|
|
141
|
-
defaults: [""]
|
|
142
|
-
},
|
|
143
127
|
{
|
|
144
128
|
name: "git_lab_category",
|
|
145
129
|
short: "",
|
|
@@ -177,6 +161,7 @@ export class GitLabCreateCommand extends BaseFinalCommand
|
|
|
177
161
|
let url = this.app.storage.getItem("ns-credential-server-url");
|
|
178
162
|
let server = new NamirasoftCredentialServer(url, token_manager, e => this.app.logger.error(e.message));
|
|
179
163
|
let ans = await server.git_lab.Create({
|
|
164
|
+
workspace_id: this.option_values.workspace_id,
|
|
180
165
|
host: this.option_values.host,
|
|
181
166
|
type: this.option_values.type,
|
|
182
167
|
username: this.option_values.username,
|
|
@@ -188,9 +173,6 @@ export class GitLabCreateCommand extends BaseFinalCommand
|
|
|
188
173
|
oauth_access_token: this.option_values.oauth_access_token,
|
|
189
174
|
ssh_publickey: this.option_values.ssh_publickey,
|
|
190
175
|
ssh_privatekey: this.option_values.ssh_privatekey,
|
|
191
|
-
workspace_id: this.option_values.workspace_id,
|
|
192
|
-
name: this.option_values.name,
|
|
193
|
-
description: this.option_values.description,
|
|
194
176
|
git_lab_category: this.option_values.git_lab_category,
|
|
195
177
|
git_lab_field: this.option_values.git_lab_field,
|
|
196
178
|
git_lab_tag: this.option_values.git_lab_tag
|
|
@@ -28,6 +28,14 @@ export class GitLabUpdateCommand extends BaseFinalCommand
|
|
|
28
28
|
constructor(argv: string[])
|
|
29
29
|
{
|
|
30
30
|
super(argv, ["id"], [
|
|
31
|
+
{
|
|
32
|
+
name: "workspace_id",
|
|
33
|
+
short: "",
|
|
34
|
+
description: "Provides the value of 'workspace_id' in body",
|
|
35
|
+
optional: true,
|
|
36
|
+
args: ["workspace_id"],
|
|
37
|
+
defaults: [""]
|
|
38
|
+
},
|
|
31
39
|
{
|
|
32
40
|
name: "host",
|
|
33
41
|
short: "",
|
|
@@ -108,30 +116,6 @@ export class GitLabUpdateCommand extends BaseFinalCommand
|
|
|
108
116
|
args: ["ssh_privatekey"],
|
|
109
117
|
defaults: [""]
|
|
110
118
|
},
|
|
111
|
-
{
|
|
112
|
-
name: "workspace_id",
|
|
113
|
-
short: "",
|
|
114
|
-
description: "Provides the value of 'workspace_id' in body",
|
|
115
|
-
optional: true,
|
|
116
|
-
args: ["workspace_id"],
|
|
117
|
-
defaults: [""]
|
|
118
|
-
},
|
|
119
|
-
{
|
|
120
|
-
name: "name",
|
|
121
|
-
short: "",
|
|
122
|
-
description: "Provides the value of 'name' in body",
|
|
123
|
-
optional: false,
|
|
124
|
-
args: ["name"],
|
|
125
|
-
defaults: [""]
|
|
126
|
-
},
|
|
127
|
-
{
|
|
128
|
-
name: "description",
|
|
129
|
-
short: "",
|
|
130
|
-
description: "Provides the value of 'description' in body",
|
|
131
|
-
optional: true,
|
|
132
|
-
args: ["description"],
|
|
133
|
-
defaults: [""]
|
|
134
|
-
},
|
|
135
119
|
{
|
|
136
120
|
name: "git_lab_category",
|
|
137
121
|
short: "",
|
|
@@ -169,6 +153,7 @@ export class GitLabUpdateCommand extends BaseFinalCommand
|
|
|
169
153
|
let url = this.app.storage.getItem("ns-credential-server-url");
|
|
170
154
|
let server = new NamirasoftCredentialServer(url, token_manager, e => this.app.logger.error(e.message));
|
|
171
155
|
let ans = await server.git_lab.Update(this.arg_values[0], {
|
|
156
|
+
workspace_id: this.option_values.workspace_id,
|
|
172
157
|
host: this.option_values.host,
|
|
173
158
|
username: this.option_values.username,
|
|
174
159
|
password: this.option_values.password,
|
|
@@ -179,9 +164,6 @@ export class GitLabUpdateCommand extends BaseFinalCommand
|
|
|
179
164
|
oauth_access_token: this.option_values.oauth_access_token,
|
|
180
165
|
ssh_publickey: this.option_values.ssh_publickey,
|
|
181
166
|
ssh_privatekey: this.option_values.ssh_privatekey,
|
|
182
|
-
workspace_id: this.option_values.workspace_id,
|
|
183
|
-
name: this.option_values.name,
|
|
184
|
-
description: this.option_values.description,
|
|
185
167
|
git_lab_category: this.option_values.git_lab_category,
|
|
186
168
|
git_lab_field: this.option_values.git_lab_field,
|
|
187
169
|
git_lab_tag: this.option_values.git_lab_tag
|
|
@@ -28,6 +28,14 @@ export class HostBasicAuthCreateCommand extends BaseFinalCommand
|
|
|
28
28
|
constructor(argv: string[])
|
|
29
29
|
{
|
|
30
30
|
super(argv, [], [
|
|
31
|
+
{
|
|
32
|
+
name: "workspace_id",
|
|
33
|
+
short: "",
|
|
34
|
+
description: "Provides the value of 'workspace_id' in body",
|
|
35
|
+
optional: true,
|
|
36
|
+
args: ["workspace_id"],
|
|
37
|
+
defaults: [""]
|
|
38
|
+
},
|
|
31
39
|
{
|
|
32
40
|
name: "host",
|
|
33
41
|
short: "",
|
|
@@ -52,30 +60,6 @@ export class HostBasicAuthCreateCommand extends BaseFinalCommand
|
|
|
52
60
|
args: ["password"],
|
|
53
61
|
defaults: [""]
|
|
54
62
|
},
|
|
55
|
-
{
|
|
56
|
-
name: "workspace_id",
|
|
57
|
-
short: "",
|
|
58
|
-
description: "Provides the value of 'workspace_id' in body",
|
|
59
|
-
optional: true,
|
|
60
|
-
args: ["workspace_id"],
|
|
61
|
-
defaults: [""]
|
|
62
|
-
},
|
|
63
|
-
{
|
|
64
|
-
name: "name",
|
|
65
|
-
short: "",
|
|
66
|
-
description: "Provides the value of 'name' in body",
|
|
67
|
-
optional: false,
|
|
68
|
-
args: ["name"],
|
|
69
|
-
defaults: [""]
|
|
70
|
-
},
|
|
71
|
-
{
|
|
72
|
-
name: "description",
|
|
73
|
-
short: "",
|
|
74
|
-
description: "Provides the value of 'description' in body",
|
|
75
|
-
optional: true,
|
|
76
|
-
args: ["description"],
|
|
77
|
-
defaults: [""]
|
|
78
|
-
},
|
|
79
63
|
{
|
|
80
64
|
name: "host_basic_auth_category",
|
|
81
65
|
short: "",
|
|
@@ -113,12 +97,10 @@ export class HostBasicAuthCreateCommand extends BaseFinalCommand
|
|
|
113
97
|
let url = this.app.storage.getItem("ns-credential-server-url");
|
|
114
98
|
let server = new NamirasoftCredentialServer(url, token_manager, e => this.app.logger.error(e.message));
|
|
115
99
|
let ans = await server.host_basic_auth.Create({
|
|
100
|
+
workspace_id: this.option_values.workspace_id,
|
|
116
101
|
host: this.option_values.host,
|
|
117
102
|
username: this.option_values.username,
|
|
118
103
|
password: this.option_values.password,
|
|
119
|
-
workspace_id: this.option_values.workspace_id,
|
|
120
|
-
name: this.option_values.name,
|
|
121
|
-
description: this.option_values.description,
|
|
122
104
|
host_basic_auth_category: this.option_values.host_basic_auth_category,
|
|
123
105
|
host_basic_auth_field: this.option_values.host_basic_auth_field,
|
|
124
106
|
host_basic_auth_tag: this.option_values.host_basic_auth_tag
|