namirasoft-credential 1.5.2 → 1.5.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/NamirasoftCredentialServer.js +1 -1
- package/dist/NamirasoftCredentialServerAWS.d.ts +2 -3
- package/dist/NamirasoftCredentialServerAWS.js.map +1 -1
- package/dist/NamirasoftCredentialServerAzure.d.ts +2 -3
- package/dist/NamirasoftCredentialServerAzure.js.map +1 -1
- package/dist/NamirasoftCredentialServerBasicAuth.d.ts +2 -3
- package/dist/NamirasoftCredentialServerBasicAuth.js.map +1 -1
- package/dist/NamirasoftCredentialServerCloud.d.ts +2 -3
- package/dist/NamirasoftCredentialServerCloud.js.map +1 -1
- package/dist/NamirasoftCredentialServerCredential.d.ts +2 -3
- package/dist/NamirasoftCredentialServerCredential.js.map +1 -1
- package/dist/NamirasoftCredentialServerDatabase.d.ts +2 -3
- package/dist/NamirasoftCredentialServerDatabase.js.map +1 -1
- package/dist/NamirasoftCredentialServerGCP.d.ts +2 -3
- package/dist/NamirasoftCredentialServerGCP.js.map +1 -1
- package/dist/NamirasoftCredentialServerGitHub.d.ts +2 -3
- package/dist/NamirasoftCredentialServerGitHub.js.map +1 -1
- package/dist/NamirasoftCredentialServerGitLab.d.ts +2 -3
- package/dist/NamirasoftCredentialServerGitLab.js.map +1 -1
- package/dist/NamirasoftCredentialServerHostBasicAuth.d.ts +2 -3
- package/dist/NamirasoftCredentialServerHostBasicAuth.js.map +1 -1
- package/dist/NamirasoftCredentialServerHostTokenAuth.d.ts +2 -3
- package/dist/NamirasoftCredentialServerHostTokenAuth.js.map +1 -1
- package/dist/NamirasoftCredentialServerProtocol.d.ts +2 -3
- package/dist/NamirasoftCredentialServerProtocol.js.map +1 -1
- package/dist/NamirasoftCredentialServerSSH.d.ts +2 -3
- package/dist/NamirasoftCredentialServerSSH.js.map +1 -1
- package/dist/NamirasoftCredentialServerSourceControl.d.ts +2 -3
- package/dist/NamirasoftCredentialServerSourceControl.js.map +1 -1
- package/dist/NamirasoftCredentialServerTokenAuth.d.ts +2 -3
- package/dist/NamirasoftCredentialServerTokenAuth.js.map +1 -1
- package/dist/command/AWSCreateCommand.js +18 -0
- package/dist/command/AWSCreateCommand.js.map +1 -1
- package/dist/command/AWSUpdateCommand.js +18 -0
- package/dist/command/AWSUpdateCommand.js.map +1 -1
- package/dist/command/AzureCreateCommand.js +18 -0
- package/dist/command/AzureCreateCommand.js.map +1 -1
- package/dist/command/AzureUpdateCommand.js +18 -0
- package/dist/command/AzureUpdateCommand.js.map +1 -1
- package/dist/command/BasicAuthCreateCommand.js +18 -0
- package/dist/command/BasicAuthCreateCommand.js.map +1 -1
- package/dist/command/BasicAuthUpdateCommand.js +18 -0
- package/dist/command/BasicAuthUpdateCommand.js.map +1 -1
- package/dist/command/GCPCreateCommand.js +18 -0
- package/dist/command/GCPCreateCommand.js.map +1 -1
- package/dist/command/GCPUpdateCommand.js +18 -0
- package/dist/command/GCPUpdateCommand.js.map +1 -1
- package/dist/command/GitHubCreateCommand.js +18 -0
- package/dist/command/GitHubCreateCommand.js.map +1 -1
- package/dist/command/GitHubUpdateCommand.js +18 -0
- package/dist/command/GitHubUpdateCommand.js.map +1 -1
- package/dist/command/GitLabCreateCommand.js +18 -0
- package/dist/command/GitLabCreateCommand.js.map +1 -1
- package/dist/command/GitLabUpdateCommand.js +18 -0
- package/dist/command/GitLabUpdateCommand.js.map +1 -1
- package/dist/command/HostBasicAuthCreateCommand.js +18 -0
- package/dist/command/HostBasicAuthCreateCommand.js.map +1 -1
- package/dist/command/HostBasicAuthUpdateCommand.js +18 -0
- package/dist/command/HostBasicAuthUpdateCommand.js.map +1 -1
- package/dist/command/HostTokenAuthCreateCommand.js +18 -0
- package/dist/command/HostTokenAuthCreateCommand.js.map +1 -1
- package/dist/command/HostTokenAuthUpdateCommand.js +18 -0
- package/dist/command/HostTokenAuthUpdateCommand.js.map +1 -1
- package/dist/command/SSHCreateCommand.js +18 -0
- package/dist/command/SSHCreateCommand.js.map +1 -1
- package/dist/command/SSHUpdateCommand.js +18 -0
- package/dist/command/SSHUpdateCommand.js.map +1 -1
- package/dist/command/TokenAuthCreateCommand.js +18 -0
- package/dist/command/TokenAuthCreateCommand.js.map +1 -1
- package/dist/command/TokenAuthUpdateCommand.js +18 -0
- package/dist/command/TokenAuthUpdateCommand.js.map +1 -1
- package/dist/index.d.ts +0 -15
- package/dist/index.js +0 -15
- package/dist/index.js.map +1 -1
- package/dist/meta/AWSMetaTable.d.ts +6 -0
- package/dist/meta/AWSMetaTable.js +6 -0
- package/dist/meta/AWSMetaTable.js.map +1 -1
- package/dist/meta/AzureMetaTable.d.ts +6 -0
- package/dist/meta/AzureMetaTable.js +6 -0
- package/dist/meta/AzureMetaTable.js.map +1 -1
- package/dist/meta/BasicAuthMetaTable.d.ts +6 -0
- package/dist/meta/BasicAuthMetaTable.js +6 -0
- package/dist/meta/BasicAuthMetaTable.js.map +1 -1
- package/dist/meta/CloudMetaTable.d.ts +5 -0
- package/dist/meta/CloudMetaTable.js +5 -0
- package/dist/meta/CloudMetaTable.js.map +1 -1
- package/dist/meta/DatabaseMetaTable.d.ts +5 -0
- package/dist/meta/DatabaseMetaTable.js +5 -0
- package/dist/meta/DatabaseMetaTable.js.map +1 -1
- package/dist/meta/GCPMetaTable.d.ts +6 -0
- package/dist/meta/GCPMetaTable.js +6 -0
- package/dist/meta/GCPMetaTable.js.map +1 -1
- package/dist/meta/GitHubMetaTable.d.ts +6 -0
- package/dist/meta/GitHubMetaTable.js +6 -0
- package/dist/meta/GitHubMetaTable.js.map +1 -1
- package/dist/meta/GitLabMetaTable.d.ts +6 -0
- package/dist/meta/GitLabMetaTable.js +6 -0
- package/dist/meta/GitLabMetaTable.js.map +1 -1
- package/dist/meta/HostBasicAuthMetaTable.d.ts +6 -0
- package/dist/meta/HostBasicAuthMetaTable.js +6 -0
- package/dist/meta/HostBasicAuthMetaTable.js.map +1 -1
- package/dist/meta/HostTokenAuthMetaTable.d.ts +6 -0
- package/dist/meta/HostTokenAuthMetaTable.js +6 -0
- package/dist/meta/HostTokenAuthMetaTable.js.map +1 -1
- package/dist/meta/ProtocolMetaTable.d.ts +5 -0
- package/dist/meta/ProtocolMetaTable.js +5 -0
- package/dist/meta/ProtocolMetaTable.js.map +1 -1
- package/dist/meta/SourceControlMetaTable.d.ts +5 -0
- package/dist/meta/SourceControlMetaTable.js +5 -0
- package/dist/meta/SourceControlMetaTable.js.map +1 -1
- package/dist/meta/SshMetaTable.d.ts +6 -0
- package/dist/meta/SshMetaTable.js +6 -0
- package/dist/meta/SshMetaTable.js.map +1 -1
- package/dist/meta/TokenAuthMetaTable.d.ts +6 -0
- package/dist/meta/TokenAuthMetaTable.js +6 -0
- package/dist/meta/TokenAuthMetaTable.js.map +1 -1
- package/dist/row/AWSCreateRow.d.ts +2 -0
- package/dist/row/AWSRow.d.ts +8 -0
- package/dist/row/AWSUpdateRow.d.ts +2 -0
- package/dist/row/AzureCreateRow.d.ts +2 -0
- package/dist/row/AzureRow.d.ts +8 -0
- package/dist/row/AzureUpdateRow.d.ts +2 -0
- package/dist/row/BasicAuthCreateRow.d.ts +2 -0
- package/dist/row/BasicAuthRow.d.ts +8 -0
- package/dist/row/BasicAuthUpdateRow.d.ts +2 -0
- package/dist/row/CloudRow.d.ts +7 -0
- package/dist/row/DatabaseRow.d.ts +7 -0
- package/dist/row/GCPCreateRow.d.ts +2 -0
- package/dist/row/GCPRow.d.ts +8 -0
- package/dist/row/GCPUpdateRow.d.ts +2 -0
- package/dist/row/GitHubCreateRow.d.ts +2 -0
- package/dist/row/GitHubRow.d.ts +8 -0
- package/dist/row/GitHubUpdateRow.d.ts +2 -0
- package/dist/row/GitLabCreateRow.d.ts +2 -0
- package/dist/row/GitLabRow.d.ts +8 -0
- package/dist/row/GitLabUpdateRow.d.ts +2 -0
- package/dist/row/HostBasicAuthCreateRow.d.ts +2 -0
- package/dist/row/HostBasicAuthRow.d.ts +8 -0
- package/dist/row/HostBasicAuthUpdateRow.d.ts +2 -0
- package/dist/row/HostTokenAuthCreateRow.d.ts +2 -0
- package/dist/row/HostTokenAuthRow.d.ts +8 -0
- package/dist/row/HostTokenAuthUpdateRow.d.ts +2 -0
- package/dist/row/ProtocolRow.d.ts +7 -0
- package/dist/row/SSHCreateRow.d.ts +2 -0
- package/dist/row/SSHUpdateRow.d.ts +2 -0
- package/dist/row/SourceControlRow.d.ts +7 -0
- package/dist/row/SshRow.d.ts +8 -0
- package/dist/row/TokenAuthCreateRow.d.ts +2 -0
- package/dist/row/TokenAuthRow.d.ts +8 -0
- package/dist/row/TokenAuthUpdateRow.d.ts +2 -0
- package/package.json +1 -1
- package/src/NamirasoftCredentialServer.ts +1 -1
- package/src/NamirasoftCredentialServerAWS.ts +4 -5
- package/src/NamirasoftCredentialServerAzure.ts +4 -5
- package/src/NamirasoftCredentialServerBasicAuth.ts +4 -5
- package/src/NamirasoftCredentialServerCloud.ts +4 -5
- package/src/NamirasoftCredentialServerCredential.ts +4 -5
- package/src/NamirasoftCredentialServerDatabase.ts +4 -5
- package/src/NamirasoftCredentialServerGCP.ts +4 -5
- package/src/NamirasoftCredentialServerGitHub.ts +4 -5
- package/src/NamirasoftCredentialServerGitLab.ts +4 -5
- package/src/NamirasoftCredentialServerHostBasicAuth.ts +4 -5
- package/src/NamirasoftCredentialServerHostTokenAuth.ts +4 -5
- package/src/NamirasoftCredentialServerProtocol.ts +4 -5
- package/src/NamirasoftCredentialServerSSH.ts +4 -5
- package/src/NamirasoftCredentialServerSourceControl.ts +4 -5
- package/src/NamirasoftCredentialServerTokenAuth.ts +4 -5
- package/src/command/AWSCreateCommand.ts +18 -0
- package/src/command/AWSUpdateCommand.ts +18 -0
- package/src/command/AzureCreateCommand.ts +18 -0
- package/src/command/AzureUpdateCommand.ts +18 -0
- package/src/command/BasicAuthCreateCommand.ts +18 -0
- package/src/command/BasicAuthUpdateCommand.ts +18 -0
- package/src/command/GCPCreateCommand.ts +18 -0
- package/src/command/GCPUpdateCommand.ts +18 -0
- package/src/command/GitHubCreateCommand.ts +18 -0
- package/src/command/GitHubUpdateCommand.ts +18 -0
- package/src/command/GitLabCreateCommand.ts +18 -0
- package/src/command/GitLabUpdateCommand.ts +18 -0
- package/src/command/HostBasicAuthCreateCommand.ts +18 -0
- package/src/command/HostBasicAuthUpdateCommand.ts +18 -0
- package/src/command/HostTokenAuthCreateCommand.ts +18 -0
- package/src/command/HostTokenAuthUpdateCommand.ts +18 -0
- package/src/command/SSHCreateCommand.ts +18 -0
- package/src/command/SSHUpdateCommand.ts +18 -0
- package/src/command/TokenAuthCreateCommand.ts +18 -0
- package/src/command/TokenAuthUpdateCommand.ts +18 -0
- package/src/index.ts +0 -15
- package/src/meta/AWSMetaTable.ts +12 -0
- package/src/meta/AzureMetaTable.ts +12 -0
- package/src/meta/BasicAuthMetaTable.ts +12 -0
- package/src/meta/CloudMetaTable.ts +10 -0
- package/src/meta/DatabaseMetaTable.ts +10 -0
- package/src/meta/GCPMetaTable.ts +12 -0
- package/src/meta/GitHubMetaTable.ts +12 -0
- package/src/meta/GitLabMetaTable.ts +12 -0
- package/src/meta/HostBasicAuthMetaTable.ts +12 -0
- package/src/meta/HostTokenAuthMetaTable.ts +12 -0
- package/src/meta/ProtocolMetaTable.ts +10 -0
- package/src/meta/SourceControlMetaTable.ts +10 -0
- package/src/meta/SshMetaTable.ts +12 -0
- package/src/meta/TokenAuthMetaTable.ts +12 -0
- package/src/row/AWSCreateRow.ts +2 -0
- package/src/row/AWSRow.ts +9 -0
- package/src/row/AWSUpdateRow.ts +2 -0
- package/src/row/AzureCreateRow.ts +2 -0
- package/src/row/AzureRow.ts +9 -0
- package/src/row/AzureUpdateRow.ts +2 -0
- package/src/row/BasicAuthCreateRow.ts +2 -0
- package/src/row/BasicAuthRow.ts +9 -0
- package/src/row/BasicAuthUpdateRow.ts +2 -0
- package/src/row/CloudRow.ts +8 -0
- package/src/row/DatabaseRow.ts +7 -0
- package/src/row/GCPCreateRow.ts +2 -0
- package/src/row/GCPRow.ts +9 -0
- package/src/row/GCPUpdateRow.ts +2 -0
- package/src/row/GitHubCreateRow.ts +2 -0
- package/src/row/GitHubRow.ts +8 -0
- package/src/row/GitHubUpdateRow.ts +2 -0
- package/src/row/GitLabCreateRow.ts +2 -0
- package/src/row/GitLabRow.ts +8 -0
- package/src/row/GitLabUpdateRow.ts +2 -0
- package/src/row/HostBasicAuthCreateRow.ts +2 -0
- package/src/row/HostBasicAuthRow.ts +9 -0
- package/src/row/HostBasicAuthUpdateRow.ts +2 -0
- package/src/row/HostTokenAuthCreateRow.ts +2 -0
- package/src/row/HostTokenAuthRow.ts +9 -0
- package/src/row/HostTokenAuthUpdateRow.ts +2 -0
- package/src/row/ProtocolRow.ts +8 -0
- package/src/row/SSHCreateRow.ts +2 -0
- package/src/row/SSHUpdateRow.ts +2 -0
- package/src/row/SourceControlRow.ts +8 -0
- package/src/row/SshRow.ts +8 -0
- package/src/row/TokenAuthCreateRow.ts +2 -0
- package/src/row/TokenAuthRow.ts +9 -0
- package/src/row/TokenAuthUpdateRow.ts +2 -0
- package/dist/row/AWSFullRow.d.ts +0 -19
- package/dist/row/AWSFullRow.js +0 -3
- package/dist/row/AWSFullRow.js.map +0 -1
- package/dist/row/AzureFullRow.d.ts +0 -20
- package/dist/row/AzureFullRow.js +0 -3
- package/dist/row/AzureFullRow.js.map +0 -1
- package/dist/row/BasicAuthFullRow.d.ts +0 -19
- package/dist/row/BasicAuthFullRow.js +0 -3
- package/dist/row/BasicAuthFullRow.js.map +0 -1
- package/dist/row/CloudFullRow.d.ts +0 -11
- package/dist/row/CloudFullRow.js +0 -3
- package/dist/row/CloudFullRow.js.map +0 -1
- package/dist/row/CredentialFullRow.d.ts +0 -15
- package/dist/row/CredentialFullRow.js +0 -3
- package/dist/row/CredentialFullRow.js.map +0 -1
- package/dist/row/DatabaseFullRow.d.ts +0 -30
- package/dist/row/DatabaseFullRow.js +0 -3
- package/dist/row/DatabaseFullRow.js.map +0 -1
- package/dist/row/GCPFullRow.d.ts +0 -18
- package/dist/row/GCPFullRow.js +0 -3
- package/dist/row/GCPFullRow.js.map +0 -1
- package/dist/row/GitHubFullRow.d.ts +0 -33
- package/dist/row/GitHubFullRow.js +0 -3
- package/dist/row/GitHubFullRow.js.map +0 -1
- package/dist/row/GitLabFullRow.d.ts +0 -29
- package/dist/row/GitLabFullRow.js +0 -3
- package/dist/row/GitLabFullRow.js.map +0 -1
- package/dist/row/HostBasicAuthFullRow.d.ts +0 -20
- package/dist/row/HostBasicAuthFullRow.js +0 -3
- package/dist/row/HostBasicAuthFullRow.js.map +0 -1
- package/dist/row/HostTokenAuthFullRow.d.ts +0 -19
- package/dist/row/HostTokenAuthFullRow.js +0 -3
- package/dist/row/HostTokenAuthFullRow.js.map +0 -1
- package/dist/row/ProtocolFullRow.d.ts +0 -11
- package/dist/row/ProtocolFullRow.js +0 -3
- package/dist/row/ProtocolFullRow.js.map +0 -1
- package/dist/row/SSHFullRow.d.ts +0 -26
- package/dist/row/SSHFullRow.js +0 -3
- package/dist/row/SSHFullRow.js.map +0 -1
- package/dist/row/SourceControlFullRow.d.ts +0 -11
- package/dist/row/SourceControlFullRow.js +0 -3
- package/dist/row/SourceControlFullRow.js.map +0 -1
- package/dist/row/TokenAuthFullRow.d.ts +0 -18
- package/dist/row/TokenAuthFullRow.js +0 -3
- package/dist/row/TokenAuthFullRow.js.map +0 -1
- package/src/row/AWSFullRow.ts +0 -41
- package/src/row/AzureFullRow.ts +0 -42
- package/src/row/BasicAuthFullRow.ts +0 -41
- package/src/row/CloudFullRow.ts +0 -33
- package/src/row/CredentialFullRow.ts +0 -37
- package/src/row/DatabaseFullRow.ts +0 -52
- package/src/row/GCPFullRow.ts +0 -40
- package/src/row/GitHubFullRow.ts +0 -55
- package/src/row/GitLabFullRow.ts +0 -51
- package/src/row/HostBasicAuthFullRow.ts +0 -42
- package/src/row/HostTokenAuthFullRow.ts +0 -41
- package/src/row/ProtocolFullRow.ts +0 -33
- package/src/row/SSHFullRow.ts +0 -48
- package/src/row/SourceControlFullRow.ts +0 -33
- package/src/row/TokenAuthFullRow.ts +0 -40
|
@@ -21,7 +21,6 @@
|
|
|
21
21
|
import { BaseServerConfig } from "namirasoft-core";
|
|
22
22
|
import { FilterItem } from "namirasoft-core";
|
|
23
23
|
import { GitHubCreateRow } from "./row/GitHubCreateRow";
|
|
24
|
-
import { GitHubFullRow } from "./row/GitHubFullRow";
|
|
25
24
|
import { GitHubRow } from "./row/GitHubRow";
|
|
26
25
|
import { GitHubUpdateRow } from "./row/GitHubUpdateRow";
|
|
27
26
|
import { NamirasoftCredentialServer } from "./NamirasoftCredentialServer";
|
|
@@ -40,12 +39,12 @@ export class NamirasoftCredentialServerGitHub extends NamirasoftCredentialServer
|
|
|
40
39
|
this.Update = this.Update.bind(this);
|
|
41
40
|
this.Delete = this.Delete.bind(this);
|
|
42
41
|
}
|
|
43
|
-
async List(filters: FilterItem[] | null, page: (number | null), size: (number | null), sorts: SortItem[], all_workspaces: (boolean | null), config?: BaseServerConfig<any>): Promise<{ rows:
|
|
42
|
+
async List(filters: FilterItem[] | null, page: (number | null), size: (number | null), sorts: SortItem[], all_workspaces: (boolean | null), config?: BaseServerConfig<any>): Promise<{ rows: GitHubRow[], count: number }>
|
|
44
43
|
{
|
|
45
44
|
let filters_string_value: string = FilterItem.stringify(filters);
|
|
46
45
|
let sorts_string_value: string = SortItem.stringify(sorts);
|
|
47
46
|
let path = `/git/hub/list`;
|
|
48
|
-
let { data } = await this.server._get<{ rows:
|
|
47
|
+
let { data } = await this.server._get<{ rows: GitHubRow[], count: number }>(path, { filters: filters_string_value, page, size, sorts: sorts_string_value, all_workspaces }, config);
|
|
49
48
|
return data;
|
|
50
49
|
}
|
|
51
50
|
async _GetFor(user_id: string, id: string, config?: BaseServerConfig<any>): Promise<GitHubRow>
|
|
@@ -54,10 +53,10 @@ export class NamirasoftCredentialServerGitHub extends NamirasoftCredentialServer
|
|
|
54
53
|
let { data } = await this.server._get<GitHubRow>(path, {}, config);
|
|
55
54
|
return data;
|
|
56
55
|
}
|
|
57
|
-
async Get(id: string, config?: BaseServerConfig<any>): Promise<
|
|
56
|
+
async Get(id: string, config?: BaseServerConfig<any>): Promise<GitHubRow>
|
|
58
57
|
{
|
|
59
58
|
let path = `/git/hub/${id}`;
|
|
60
|
-
let { data } = await this.server._get<
|
|
59
|
+
let { data } = await this.server._get<GitHubRow>(path, {}, config);
|
|
61
60
|
return data;
|
|
62
61
|
}
|
|
63
62
|
async Create(body: GitHubCreateRow, config?: BaseServerConfig<any>): Promise<GitHubRow>
|
|
@@ -21,7 +21,6 @@
|
|
|
21
21
|
import { BaseServerConfig } from "namirasoft-core";
|
|
22
22
|
import { FilterItem } from "namirasoft-core";
|
|
23
23
|
import { GitLabCreateRow } from "./row/GitLabCreateRow";
|
|
24
|
-
import { GitLabFullRow } from "./row/GitLabFullRow";
|
|
25
24
|
import { GitLabRow } from "./row/GitLabRow";
|
|
26
25
|
import { GitLabUpdateRow } from "./row/GitLabUpdateRow";
|
|
27
26
|
import { NamirasoftCredentialServer } from "./NamirasoftCredentialServer";
|
|
@@ -40,12 +39,12 @@ export class NamirasoftCredentialServerGitLab extends NamirasoftCredentialServer
|
|
|
40
39
|
this.Update = this.Update.bind(this);
|
|
41
40
|
this.Delete = this.Delete.bind(this);
|
|
42
41
|
}
|
|
43
|
-
async List(filters: FilterItem[] | null, page: (number | null), size: (number | null), sorts: SortItem[], all_workspaces: (boolean | null), config?: BaseServerConfig<any>): Promise<{ rows:
|
|
42
|
+
async List(filters: FilterItem[] | null, page: (number | null), size: (number | null), sorts: SortItem[], all_workspaces: (boolean | null), config?: BaseServerConfig<any>): Promise<{ rows: GitLabRow[], count: number }>
|
|
44
43
|
{
|
|
45
44
|
let filters_string_value: string = FilterItem.stringify(filters);
|
|
46
45
|
let sorts_string_value: string = SortItem.stringify(sorts);
|
|
47
46
|
let path = `/git/lab/list`;
|
|
48
|
-
let { data } = await this.server._get<{ rows:
|
|
47
|
+
let { data } = await this.server._get<{ rows: GitLabRow[], count: number }>(path, { filters: filters_string_value, page, size, sorts: sorts_string_value, all_workspaces }, config);
|
|
49
48
|
return data;
|
|
50
49
|
}
|
|
51
50
|
async _GetFor(user_id: string, id: string, config?: BaseServerConfig<any>): Promise<GitLabRow>
|
|
@@ -54,10 +53,10 @@ export class NamirasoftCredentialServerGitLab extends NamirasoftCredentialServer
|
|
|
54
53
|
let { data } = await this.server._get<GitLabRow>(path, {}, config);
|
|
55
54
|
return data;
|
|
56
55
|
}
|
|
57
|
-
async Get(id: string, config?: BaseServerConfig<any>): Promise<
|
|
56
|
+
async Get(id: string, config?: BaseServerConfig<any>): Promise<GitLabRow>
|
|
58
57
|
{
|
|
59
58
|
let path = `/git/lab/${id}`;
|
|
60
|
-
let { data } = await this.server._get<
|
|
59
|
+
let { data } = await this.server._get<GitLabRow>(path, {}, config);
|
|
61
60
|
return data;
|
|
62
61
|
}
|
|
63
62
|
async Create(body: GitLabCreateRow, config?: BaseServerConfig<any>): Promise<GitLabRow>
|
|
@@ -21,7 +21,6 @@
|
|
|
21
21
|
import { BaseServerConfig } from "namirasoft-core";
|
|
22
22
|
import { FilterItem } from "namirasoft-core";
|
|
23
23
|
import { HostBasicAuthCreateRow } from "./row/HostBasicAuthCreateRow";
|
|
24
|
-
import { HostBasicAuthFullRow } from "./row/HostBasicAuthFullRow";
|
|
25
24
|
import { HostBasicAuthRow } from "./row/HostBasicAuthRow";
|
|
26
25
|
import { HostBasicAuthUpdateRow } from "./row/HostBasicAuthUpdateRow";
|
|
27
26
|
import { NamirasoftCredentialServer } from "./NamirasoftCredentialServer";
|
|
@@ -40,12 +39,12 @@ export class NamirasoftCredentialServerHostBasicAuth extends NamirasoftCredentia
|
|
|
40
39
|
this.Update = this.Update.bind(this);
|
|
41
40
|
this.Delete = this.Delete.bind(this);
|
|
42
41
|
}
|
|
43
|
-
async List(filters: FilterItem[] | null, page: (number | null), size: (number | null), sorts: SortItem[], all_workspaces: (boolean | null), config?: BaseServerConfig<any>): Promise<{ rows:
|
|
42
|
+
async List(filters: FilterItem[] | null, page: (number | null), size: (number | null), sorts: SortItem[], all_workspaces: (boolean | null), config?: BaseServerConfig<any>): Promise<{ rows: HostBasicAuthRow[], count: number }>
|
|
44
43
|
{
|
|
45
44
|
let filters_string_value: string = FilterItem.stringify(filters);
|
|
46
45
|
let sorts_string_value: string = SortItem.stringify(sorts);
|
|
47
46
|
let path = `/host/basic/auth/list`;
|
|
48
|
-
let { data } = await this.server._get<{ rows:
|
|
47
|
+
let { data } = await this.server._get<{ rows: HostBasicAuthRow[], count: number }>(path, { filters: filters_string_value, page, size, sorts: sorts_string_value, all_workspaces }, config);
|
|
49
48
|
return data;
|
|
50
49
|
}
|
|
51
50
|
async _GetFor(user_id: string, id: string, config?: BaseServerConfig<any>): Promise<HostBasicAuthRow>
|
|
@@ -54,10 +53,10 @@ export class NamirasoftCredentialServerHostBasicAuth extends NamirasoftCredentia
|
|
|
54
53
|
let { data } = await this.server._get<HostBasicAuthRow>(path, {}, config);
|
|
55
54
|
return data;
|
|
56
55
|
}
|
|
57
|
-
async Get(id: string, config?: BaseServerConfig<any>): Promise<
|
|
56
|
+
async Get(id: string, config?: BaseServerConfig<any>): Promise<HostBasicAuthRow>
|
|
58
57
|
{
|
|
59
58
|
let path = `/host/basic/auth/${id}`;
|
|
60
|
-
let { data } = await this.server._get<
|
|
59
|
+
let { data } = await this.server._get<HostBasicAuthRow>(path, {}, config);
|
|
61
60
|
return data;
|
|
62
61
|
}
|
|
63
62
|
async Create(body: HostBasicAuthCreateRow, config?: BaseServerConfig<any>): Promise<HostBasicAuthRow>
|
|
@@ -21,7 +21,6 @@
|
|
|
21
21
|
import { BaseServerConfig } from "namirasoft-core";
|
|
22
22
|
import { FilterItem } from "namirasoft-core";
|
|
23
23
|
import { HostTokenAuthCreateRow } from "./row/HostTokenAuthCreateRow";
|
|
24
|
-
import { HostTokenAuthFullRow } from "./row/HostTokenAuthFullRow";
|
|
25
24
|
import { HostTokenAuthRow } from "./row/HostTokenAuthRow";
|
|
26
25
|
import { HostTokenAuthUpdateRow } from "./row/HostTokenAuthUpdateRow";
|
|
27
26
|
import { NamirasoftCredentialServer } from "./NamirasoftCredentialServer";
|
|
@@ -40,12 +39,12 @@ export class NamirasoftCredentialServerHostTokenAuth extends NamirasoftCredentia
|
|
|
40
39
|
this.Update = this.Update.bind(this);
|
|
41
40
|
this.Delete = this.Delete.bind(this);
|
|
42
41
|
}
|
|
43
|
-
async List(filters: FilterItem[] | null, page: (number | null), size: (number | null), sorts: SortItem[], all_workspaces: (boolean | null), config?: BaseServerConfig<any>): Promise<{ rows:
|
|
42
|
+
async List(filters: FilterItem[] | null, page: (number | null), size: (number | null), sorts: SortItem[], all_workspaces: (boolean | null), config?: BaseServerConfig<any>): Promise<{ rows: HostTokenAuthRow[], count: number }>
|
|
44
43
|
{
|
|
45
44
|
let filters_string_value: string = FilterItem.stringify(filters);
|
|
46
45
|
let sorts_string_value: string = SortItem.stringify(sorts);
|
|
47
46
|
let path = `/host/token/auth/list`;
|
|
48
|
-
let { data } = await this.server._get<{ rows:
|
|
47
|
+
let { data } = await this.server._get<{ rows: HostTokenAuthRow[], count: number }>(path, { filters: filters_string_value, page, size, sorts: sorts_string_value, all_workspaces }, config);
|
|
49
48
|
return data;
|
|
50
49
|
}
|
|
51
50
|
async _GetFor(user_id: string, id: string, config?: BaseServerConfig<any>): Promise<HostTokenAuthRow>
|
|
@@ -54,10 +53,10 @@ export class NamirasoftCredentialServerHostTokenAuth extends NamirasoftCredentia
|
|
|
54
53
|
let { data } = await this.server._get<HostTokenAuthRow>(path, {}, config);
|
|
55
54
|
return data;
|
|
56
55
|
}
|
|
57
|
-
async Get(id: string, config?: BaseServerConfig<any>): Promise<
|
|
56
|
+
async Get(id: string, config?: BaseServerConfig<any>): Promise<HostTokenAuthRow>
|
|
58
57
|
{
|
|
59
58
|
let path = `/host/token/auth/${id}`;
|
|
60
|
-
let { data } = await this.server._get<
|
|
59
|
+
let { data } = await this.server._get<HostTokenAuthRow>(path, {}, config);
|
|
61
60
|
return data;
|
|
62
61
|
}
|
|
63
62
|
async Create(body: HostTokenAuthCreateRow, config?: BaseServerConfig<any>): Promise<HostTokenAuthRow>
|
|
@@ -22,7 +22,6 @@ import { BaseServerConfig } from "namirasoft-core";
|
|
|
22
22
|
import { FilterItem } from "namirasoft-core";
|
|
23
23
|
import { NamirasoftCredentialServer } from "./NamirasoftCredentialServer";
|
|
24
24
|
import { NamirasoftCredentialServerBase } from "./NamirasoftCredentialServerBase";
|
|
25
|
-
import { ProtocolFullRow } from "./row/ProtocolFullRow";
|
|
26
25
|
import { ProtocolRow } from "./row/ProtocolRow";
|
|
27
26
|
import { SortItem } from "namirasoft-core";
|
|
28
27
|
|
|
@@ -35,12 +34,12 @@ export class NamirasoftCredentialServerProtocol extends NamirasoftCredentialServ
|
|
|
35
34
|
this._GetFor = this._GetFor.bind(this);
|
|
36
35
|
this.Get = this.Get.bind(this);
|
|
37
36
|
}
|
|
38
|
-
async List(filters: FilterItem[] | null, page: (number | null), size: (number | null), sorts: SortItem[], all_workspaces: (boolean | null), config?: BaseServerConfig<any>): Promise<{ rows:
|
|
37
|
+
async List(filters: FilterItem[] | null, page: (number | null), size: (number | null), sorts: SortItem[], all_workspaces: (boolean | null), config?: BaseServerConfig<any>): Promise<{ rows: ProtocolRow[], count: number }>
|
|
39
38
|
{
|
|
40
39
|
let filters_string_value: string = FilterItem.stringify(filters);
|
|
41
40
|
let sorts_string_value: string = SortItem.stringify(sorts);
|
|
42
41
|
let path = `/protocol/list`;
|
|
43
|
-
let { data } = await this.server._get<{ rows:
|
|
42
|
+
let { data } = await this.server._get<{ rows: ProtocolRow[], count: number }>(path, { filters: filters_string_value, page, size, sorts: sorts_string_value, all_workspaces }, config);
|
|
44
43
|
return data;
|
|
45
44
|
}
|
|
46
45
|
async _GetFor(user_id: string, id: string, config?: BaseServerConfig<any>): Promise<ProtocolRow>
|
|
@@ -49,10 +48,10 @@ export class NamirasoftCredentialServerProtocol extends NamirasoftCredentialServ
|
|
|
49
48
|
let { data } = await this.server._get<ProtocolRow>(path, {}, config);
|
|
50
49
|
return data;
|
|
51
50
|
}
|
|
52
|
-
async Get(id: string, config?: BaseServerConfig<any>): Promise<
|
|
51
|
+
async Get(id: string, config?: BaseServerConfig<any>): Promise<ProtocolRow>
|
|
53
52
|
{
|
|
54
53
|
let path = `/protocol/${id}`;
|
|
55
|
-
let { data } = await this.server._get<
|
|
54
|
+
let { data } = await this.server._get<ProtocolRow>(path, {}, config);
|
|
56
55
|
return data;
|
|
57
56
|
}
|
|
58
57
|
};
|
|
@@ -23,7 +23,6 @@ import { FilterItem } from "namirasoft-core";
|
|
|
23
23
|
import { NamirasoftCredentialServer } from "./NamirasoftCredentialServer";
|
|
24
24
|
import { NamirasoftCredentialServerBase } from "./NamirasoftCredentialServerBase";
|
|
25
25
|
import { SSHCreateRow } from "./row/SSHCreateRow";
|
|
26
|
-
import { SSHFullRow } from "./row/SSHFullRow";
|
|
27
26
|
import { SSHUpdateRow } from "./row/SSHUpdateRow";
|
|
28
27
|
import { SortItem } from "namirasoft-core";
|
|
29
28
|
import { SshRow } from "./row/SshRow";
|
|
@@ -40,12 +39,12 @@ export class NamirasoftCredentialServerSSH extends NamirasoftCredentialServerBas
|
|
|
40
39
|
this.Update = this.Update.bind(this);
|
|
41
40
|
this.Delete = this.Delete.bind(this);
|
|
42
41
|
}
|
|
43
|
-
async List(filters: FilterItem[] | null, page: (number | null), size: (number | null), sorts: SortItem[], all_workspaces: (boolean | null), config?: BaseServerConfig<any>): Promise<{ rows:
|
|
42
|
+
async List(filters: FilterItem[] | null, page: (number | null), size: (number | null), sorts: SortItem[], all_workspaces: (boolean | null), config?: BaseServerConfig<any>): Promise<{ rows: SshRow[], count: number }>
|
|
44
43
|
{
|
|
45
44
|
let filters_string_value: string = FilterItem.stringify(filters);
|
|
46
45
|
let sorts_string_value: string = SortItem.stringify(sorts);
|
|
47
46
|
let path = `/ssh/list`;
|
|
48
|
-
let { data } = await this.server._get<{ rows:
|
|
47
|
+
let { data } = await this.server._get<{ rows: SshRow[], count: number }>(path, { filters: filters_string_value, page, size, sorts: sorts_string_value, all_workspaces }, config);
|
|
49
48
|
return data;
|
|
50
49
|
}
|
|
51
50
|
async _GetFor(user_id: string, id: string, config?: BaseServerConfig<any>): Promise<SshRow>
|
|
@@ -54,10 +53,10 @@ export class NamirasoftCredentialServerSSH extends NamirasoftCredentialServerBas
|
|
|
54
53
|
let { data } = await this.server._get<SshRow>(path, {}, config);
|
|
55
54
|
return data;
|
|
56
55
|
}
|
|
57
|
-
async Get(id: string, config?: BaseServerConfig<any>): Promise<
|
|
56
|
+
async Get(id: string, config?: BaseServerConfig<any>): Promise<SshRow>
|
|
58
57
|
{
|
|
59
58
|
let path = `/ssh/${id}`;
|
|
60
|
-
let { data } = await this.server._get<
|
|
59
|
+
let { data } = await this.server._get<SshRow>(path, {}, config);
|
|
61
60
|
return data;
|
|
62
61
|
}
|
|
63
62
|
async Create(body: SSHCreateRow, config?: BaseServerConfig<any>): Promise<SshRow>
|
|
@@ -23,7 +23,6 @@ import { FilterItem } from "namirasoft-core";
|
|
|
23
23
|
import { NamirasoftCredentialServer } from "./NamirasoftCredentialServer";
|
|
24
24
|
import { NamirasoftCredentialServerBase } from "./NamirasoftCredentialServerBase";
|
|
25
25
|
import { SortItem } from "namirasoft-core";
|
|
26
|
-
import { SourceControlFullRow } from "./row/SourceControlFullRow";
|
|
27
26
|
import { SourceControlRow } from "./row/SourceControlRow";
|
|
28
27
|
|
|
29
28
|
export class NamirasoftCredentialServerSourceControl extends NamirasoftCredentialServerBase
|
|
@@ -35,12 +34,12 @@ export class NamirasoftCredentialServerSourceControl extends NamirasoftCredentia
|
|
|
35
34
|
this._GetFor = this._GetFor.bind(this);
|
|
36
35
|
this.Get = this.Get.bind(this);
|
|
37
36
|
}
|
|
38
|
-
async List(filters: FilterItem[] | null, page: (number | null), size: (number | null), sorts: SortItem[], all_workspaces: (boolean | null), config?: BaseServerConfig<any>): Promise<{ rows:
|
|
37
|
+
async List(filters: FilterItem[] | null, page: (number | null), size: (number | null), sorts: SortItem[], all_workspaces: (boolean | null), config?: BaseServerConfig<any>): Promise<{ rows: SourceControlRow[], count: number }>
|
|
39
38
|
{
|
|
40
39
|
let filters_string_value: string = FilterItem.stringify(filters);
|
|
41
40
|
let sorts_string_value: string = SortItem.stringify(sorts);
|
|
42
41
|
let path = `/source/control/list`;
|
|
43
|
-
let { data } = await this.server._get<{ rows:
|
|
42
|
+
let { data } = await this.server._get<{ rows: SourceControlRow[], count: number }>(path, { filters: filters_string_value, page, size, sorts: sorts_string_value, all_workspaces }, config);
|
|
44
43
|
return data;
|
|
45
44
|
}
|
|
46
45
|
async _GetFor(user_id: string, id: string, config?: BaseServerConfig<any>): Promise<SourceControlRow>
|
|
@@ -49,10 +48,10 @@ export class NamirasoftCredentialServerSourceControl extends NamirasoftCredentia
|
|
|
49
48
|
let { data } = await this.server._get<SourceControlRow>(path, {}, config);
|
|
50
49
|
return data;
|
|
51
50
|
}
|
|
52
|
-
async Get(id: string, config?: BaseServerConfig<any>): Promise<
|
|
51
|
+
async Get(id: string, config?: BaseServerConfig<any>): Promise<SourceControlRow>
|
|
53
52
|
{
|
|
54
53
|
let path = `/source/control/${id}`;
|
|
55
|
-
let { data } = await this.server._get<
|
|
54
|
+
let { data } = await this.server._get<SourceControlRow>(path, {}, config);
|
|
56
55
|
return data;
|
|
57
56
|
}
|
|
58
57
|
};
|
|
@@ -24,7 +24,6 @@ import { NamirasoftCredentialServer } from "./NamirasoftCredentialServer";
|
|
|
24
24
|
import { NamirasoftCredentialServerBase } from "./NamirasoftCredentialServerBase";
|
|
25
25
|
import { SortItem } from "namirasoft-core";
|
|
26
26
|
import { TokenAuthCreateRow } from "./row/TokenAuthCreateRow";
|
|
27
|
-
import { TokenAuthFullRow } from "./row/TokenAuthFullRow";
|
|
28
27
|
import { TokenAuthRow } from "./row/TokenAuthRow";
|
|
29
28
|
import { TokenAuthUpdateRow } from "./row/TokenAuthUpdateRow";
|
|
30
29
|
|
|
@@ -40,12 +39,12 @@ export class NamirasoftCredentialServerTokenAuth extends NamirasoftCredentialSer
|
|
|
40
39
|
this.Update = this.Update.bind(this);
|
|
41
40
|
this.Delete = this.Delete.bind(this);
|
|
42
41
|
}
|
|
43
|
-
async List(filters: FilterItem[] | null, page: (number | null), size: (number | null), sorts: SortItem[], all_workspaces: (boolean | null), config?: BaseServerConfig<any>): Promise<{ rows:
|
|
42
|
+
async List(filters: FilterItem[] | null, page: (number | null), size: (number | null), sorts: SortItem[], all_workspaces: (boolean | null), config?: BaseServerConfig<any>): Promise<{ rows: TokenAuthRow[], count: number }>
|
|
44
43
|
{
|
|
45
44
|
let filters_string_value: string = FilterItem.stringify(filters);
|
|
46
45
|
let sorts_string_value: string = SortItem.stringify(sorts);
|
|
47
46
|
let path = `/token/auth/list`;
|
|
48
|
-
let { data } = await this.server._get<{ rows:
|
|
47
|
+
let { data } = await this.server._get<{ rows: TokenAuthRow[], count: number }>(path, { filters: filters_string_value, page, size, sorts: sorts_string_value, all_workspaces }, config);
|
|
49
48
|
return data;
|
|
50
49
|
}
|
|
51
50
|
async _GetFor(user_id: string, id: string, config?: BaseServerConfig<any>): Promise<TokenAuthRow>
|
|
@@ -54,10 +53,10 @@ export class NamirasoftCredentialServerTokenAuth extends NamirasoftCredentialSer
|
|
|
54
53
|
let { data } = await this.server._get<TokenAuthRow>(path, {}, config);
|
|
55
54
|
return data;
|
|
56
55
|
}
|
|
57
|
-
async Get(id: string, config?: BaseServerConfig<any>): Promise<
|
|
56
|
+
async Get(id: string, config?: BaseServerConfig<any>): Promise<TokenAuthRow>
|
|
58
57
|
{
|
|
59
58
|
let path = `/token/auth/${id}`;
|
|
60
|
-
let { data } = await this.server._get<
|
|
59
|
+
let { data } = await this.server._get<TokenAuthRow>(path, {}, config);
|
|
61
60
|
return data;
|
|
62
61
|
}
|
|
63
62
|
async Create(body: TokenAuthCreateRow, config?: BaseServerConfig<any>): Promise<TokenAuthRow>
|
|
@@ -52,6 +52,22 @@ export class AWSCreateCommand extends BaseFinalCommand
|
|
|
52
52
|
args: ["secret_key"],
|
|
53
53
|
defaults: [""]
|
|
54
54
|
},
|
|
55
|
+
{
|
|
56
|
+
name: "name",
|
|
57
|
+
short: "",
|
|
58
|
+
description: "Provides the value of 'name' in body",
|
|
59
|
+
optional: false,
|
|
60
|
+
args: ["name"],
|
|
61
|
+
defaults: [""]
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
name: "description",
|
|
65
|
+
short: "",
|
|
66
|
+
description: "Provides the value of 'description' in body",
|
|
67
|
+
optional: true,
|
|
68
|
+
args: ["description"],
|
|
69
|
+
defaults: [""]
|
|
70
|
+
},
|
|
55
71
|
{
|
|
56
72
|
name: "aws_category",
|
|
57
73
|
short: "",
|
|
@@ -92,6 +108,8 @@ export class AWSCreateCommand extends BaseFinalCommand
|
|
|
92
108
|
workspace_id: this.option_values.workspace_id,
|
|
93
109
|
access_key: this.option_values.access_key,
|
|
94
110
|
secret_key: this.option_values.secret_key,
|
|
111
|
+
name: this.option_values.name,
|
|
112
|
+
description: this.option_values.description,
|
|
95
113
|
aws_category: this.option_values.aws_category,
|
|
96
114
|
aws_field: this.option_values.aws_field,
|
|
97
115
|
aws_tag: this.option_values.aws_tag
|
|
@@ -52,6 +52,22 @@ export class AWSUpdateCommand extends BaseFinalCommand
|
|
|
52
52
|
args: ["secret_key"],
|
|
53
53
|
defaults: [""]
|
|
54
54
|
},
|
|
55
|
+
{
|
|
56
|
+
name: "name",
|
|
57
|
+
short: "",
|
|
58
|
+
description: "Provides the value of 'name' in body",
|
|
59
|
+
optional: false,
|
|
60
|
+
args: ["name"],
|
|
61
|
+
defaults: [""]
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
name: "description",
|
|
65
|
+
short: "",
|
|
66
|
+
description: "Provides the value of 'description' in body",
|
|
67
|
+
optional: true,
|
|
68
|
+
args: ["description"],
|
|
69
|
+
defaults: [""]
|
|
70
|
+
},
|
|
55
71
|
{
|
|
56
72
|
name: "aws_category",
|
|
57
73
|
short: "",
|
|
@@ -92,6 +108,8 @@ export class AWSUpdateCommand extends BaseFinalCommand
|
|
|
92
108
|
workspace_id: this.option_values.workspace_id,
|
|
93
109
|
access_key: this.option_values.access_key,
|
|
94
110
|
secret_key: this.option_values.secret_key,
|
|
111
|
+
name: this.option_values.name,
|
|
112
|
+
description: this.option_values.description,
|
|
95
113
|
aws_category: this.option_values.aws_category,
|
|
96
114
|
aws_field: this.option_values.aws_field,
|
|
97
115
|
aws_tag: this.option_values.aws_tag
|
|
@@ -60,6 +60,22 @@ export class AzureCreateCommand extends BaseFinalCommand
|
|
|
60
60
|
args: ["client_secret"],
|
|
61
61
|
defaults: [""]
|
|
62
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
|
+
},
|
|
63
79
|
{
|
|
64
80
|
name: "azure_category",
|
|
65
81
|
short: "",
|
|
@@ -101,6 +117,8 @@ export class AzureCreateCommand extends BaseFinalCommand
|
|
|
101
117
|
tenant_id: this.option_values.tenant_id,
|
|
102
118
|
client_id: this.option_values.client_id,
|
|
103
119
|
client_secret: this.option_values.client_secret,
|
|
120
|
+
name: this.option_values.name,
|
|
121
|
+
description: this.option_values.description,
|
|
104
122
|
azure_category: this.option_values.azure_category,
|
|
105
123
|
azure_field: this.option_values.azure_field,
|
|
106
124
|
azure_tag: this.option_values.azure_tag
|
|
@@ -60,6 +60,22 @@ export class AzureUpdateCommand extends BaseFinalCommand
|
|
|
60
60
|
args: ["client_secret"],
|
|
61
61
|
defaults: [""]
|
|
62
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
|
+
},
|
|
63
79
|
{
|
|
64
80
|
name: "azure_category",
|
|
65
81
|
short: "",
|
|
@@ -101,6 +117,8 @@ export class AzureUpdateCommand extends BaseFinalCommand
|
|
|
101
117
|
tenant_id: this.option_values.tenant_id,
|
|
102
118
|
client_id: this.option_values.client_id,
|
|
103
119
|
client_secret: this.option_values.client_secret,
|
|
120
|
+
name: this.option_values.name,
|
|
121
|
+
description: this.option_values.description,
|
|
104
122
|
azure_category: this.option_values.azure_category,
|
|
105
123
|
azure_field: this.option_values.azure_field,
|
|
106
124
|
azure_tag: this.option_values.azure_tag
|
|
@@ -52,6 +52,22 @@ export class BasicAuthCreateCommand extends BaseFinalCommand
|
|
|
52
52
|
args: ["password"],
|
|
53
53
|
defaults: [""]
|
|
54
54
|
},
|
|
55
|
+
{
|
|
56
|
+
name: "name",
|
|
57
|
+
short: "",
|
|
58
|
+
description: "Provides the value of 'name' in body",
|
|
59
|
+
optional: false,
|
|
60
|
+
args: ["name"],
|
|
61
|
+
defaults: [""]
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
name: "description",
|
|
65
|
+
short: "",
|
|
66
|
+
description: "Provides the value of 'description' in body",
|
|
67
|
+
optional: true,
|
|
68
|
+
args: ["description"],
|
|
69
|
+
defaults: [""]
|
|
70
|
+
},
|
|
55
71
|
{
|
|
56
72
|
name: "basic_auth_category",
|
|
57
73
|
short: "",
|
|
@@ -92,6 +108,8 @@ export class BasicAuthCreateCommand extends BaseFinalCommand
|
|
|
92
108
|
workspace_id: this.option_values.workspace_id,
|
|
93
109
|
username: this.option_values.username,
|
|
94
110
|
password: this.option_values.password,
|
|
111
|
+
name: this.option_values.name,
|
|
112
|
+
description: this.option_values.description,
|
|
95
113
|
basic_auth_category: this.option_values.basic_auth_category,
|
|
96
114
|
basic_auth_field: this.option_values.basic_auth_field,
|
|
97
115
|
basic_auth_tag: this.option_values.basic_auth_tag
|
|
@@ -52,6 +52,22 @@ export class BasicAuthUpdateCommand extends BaseFinalCommand
|
|
|
52
52
|
args: ["password"],
|
|
53
53
|
defaults: [""]
|
|
54
54
|
},
|
|
55
|
+
{
|
|
56
|
+
name: "name",
|
|
57
|
+
short: "",
|
|
58
|
+
description: "Provides the value of 'name' in body",
|
|
59
|
+
optional: false,
|
|
60
|
+
args: ["name"],
|
|
61
|
+
defaults: [""]
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
name: "description",
|
|
65
|
+
short: "",
|
|
66
|
+
description: "Provides the value of 'description' in body",
|
|
67
|
+
optional: true,
|
|
68
|
+
args: ["description"],
|
|
69
|
+
defaults: [""]
|
|
70
|
+
},
|
|
55
71
|
{
|
|
56
72
|
name: "basic_auth_category",
|
|
57
73
|
short: "",
|
|
@@ -92,6 +108,8 @@ export class BasicAuthUpdateCommand extends BaseFinalCommand
|
|
|
92
108
|
workspace_id: this.option_values.workspace_id,
|
|
93
109
|
username: this.option_values.username,
|
|
94
110
|
password: this.option_values.password,
|
|
111
|
+
name: this.option_values.name,
|
|
112
|
+
description: this.option_values.description,
|
|
95
113
|
basic_auth_category: this.option_values.basic_auth_category,
|
|
96
114
|
basic_auth_field: this.option_values.basic_auth_field,
|
|
97
115
|
basic_auth_tag: this.option_values.basic_auth_tag
|
|
@@ -44,6 +44,22 @@ export class GCPCreateCommand extends BaseFinalCommand
|
|
|
44
44
|
args: ["credentials"],
|
|
45
45
|
defaults: [""]
|
|
46
46
|
},
|
|
47
|
+
{
|
|
48
|
+
name: "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",
|
|
57
|
+
short: "",
|
|
58
|
+
description: "Provides the value of 'description' in body",
|
|
59
|
+
optional: true,
|
|
60
|
+
args: ["description"],
|
|
61
|
+
defaults: [""]
|
|
62
|
+
},
|
|
47
63
|
{
|
|
48
64
|
name: "gcp_category",
|
|
49
65
|
short: "",
|
|
@@ -83,6 +99,8 @@ export class GCPCreateCommand extends BaseFinalCommand
|
|
|
83
99
|
let ans = await server.gcp.Create({
|
|
84
100
|
workspace_id: this.option_values.workspace_id,
|
|
85
101
|
credentials: this.option_values.credentials,
|
|
102
|
+
name: this.option_values.name,
|
|
103
|
+
description: this.option_values.description,
|
|
86
104
|
gcp_category: this.option_values.gcp_category,
|
|
87
105
|
gcp_field: this.option_values.gcp_field,
|
|
88
106
|
gcp_tag: this.option_values.gcp_tag
|
|
@@ -44,6 +44,22 @@ export class GCPUpdateCommand extends BaseFinalCommand
|
|
|
44
44
|
args: ["credentials"],
|
|
45
45
|
defaults: [""]
|
|
46
46
|
},
|
|
47
|
+
{
|
|
48
|
+
name: "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",
|
|
57
|
+
short: "",
|
|
58
|
+
description: "Provides the value of 'description' in body",
|
|
59
|
+
optional: true,
|
|
60
|
+
args: ["description"],
|
|
61
|
+
defaults: [""]
|
|
62
|
+
},
|
|
47
63
|
{
|
|
48
64
|
name: "gcp_category",
|
|
49
65
|
short: "",
|
|
@@ -83,6 +99,8 @@ export class GCPUpdateCommand extends BaseFinalCommand
|
|
|
83
99
|
let ans = await server.gcp.Update(this.arg_values[0], {
|
|
84
100
|
workspace_id: this.option_values.workspace_id,
|
|
85
101
|
credentials: this.option_values.credentials,
|
|
102
|
+
name: this.option_values.name,
|
|
103
|
+
description: this.option_values.description,
|
|
86
104
|
gcp_category: this.option_values.gcp_category,
|
|
87
105
|
gcp_field: this.option_values.gcp_field,
|
|
88
106
|
gcp_tag: this.option_values.gcp_tag
|
|
@@ -156,6 +156,22 @@ export class GitHubCreateCommand extends BaseFinalCommand
|
|
|
156
156
|
args: ["ssh_privatekey"],
|
|
157
157
|
defaults: [""]
|
|
158
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
|
+
},
|
|
159
175
|
{
|
|
160
176
|
name: "git_hub_category",
|
|
161
177
|
short: "",
|
|
@@ -209,6 +225,8 @@ export class GitHubCreateCommand extends BaseFinalCommand
|
|
|
209
225
|
githubapp_token: this.option_values.githubapp_token,
|
|
210
226
|
ssh_publickey: this.option_values.ssh_publickey,
|
|
211
227
|
ssh_privatekey: this.option_values.ssh_privatekey,
|
|
228
|
+
name: this.option_values.name,
|
|
229
|
+
description: this.option_values.description,
|
|
212
230
|
git_hub_category: this.option_values.git_hub_category,
|
|
213
231
|
git_hub_field: this.option_values.git_hub_field,
|
|
214
232
|
git_hub_tag: this.option_values.git_hub_tag
|
|
@@ -148,6 +148,22 @@ export class GitHubUpdateCommand extends BaseFinalCommand
|
|
|
148
148
|
args: ["ssh_privatekey"],
|
|
149
149
|
defaults: [""]
|
|
150
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
|
+
},
|
|
151
167
|
{
|
|
152
168
|
name: "git_hub_category",
|
|
153
169
|
short: "",
|
|
@@ -200,6 +216,8 @@ export class GitHubUpdateCommand extends BaseFinalCommand
|
|
|
200
216
|
githubapp_token: this.option_values.githubapp_token,
|
|
201
217
|
ssh_publickey: this.option_values.ssh_publickey,
|
|
202
218
|
ssh_privatekey: this.option_values.ssh_privatekey,
|
|
219
|
+
name: this.option_values.name,
|
|
220
|
+
description: this.option_values.description,
|
|
203
221
|
git_hub_category: this.option_values.git_hub_category,
|
|
204
222
|
git_hub_field: this.option_values.git_hub_field,
|
|
205
223
|
git_hub_tag: this.option_values.git_hub_tag
|