namirasoft-credential 1.4.28 → 1.4.29
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/command/GitHubCreateCommand.js +60 -60
- package/dist/command/GitHubCreateCommand.js.map +1 -1
- package/dist/command/GitHubUpdateCommand.js +60 -60
- package/dist/command/GitHubUpdateCommand.js.map +1 -1
- package/dist/row/GitHubCreateRow.d.ts +12 -12
- package/dist/row/GitHubUpdateRow.d.ts +12 -12
- package/package.json +1 -1
- package/src/NamirasoftCredentialServer.ts +1 -1
- package/src/command/GitHubCreateCommand.ts +60 -60
- package/src/command/GitHubUpdateCommand.ts +60 -60
- package/src/row/GitHubCreateRow.ts +12 -12
- package/src/row/GitHubUpdateRow.ts +12 -12
|
@@ -62,7 +62,7 @@ const NamirasoftCredentialServerTokenAuthTag_1 = require("./NamirasoftCredential
|
|
|
62
62
|
const NamirasoftCredentialServerValue_1 = require("./NamirasoftCredentialServerValue");
|
|
63
63
|
class NamirasoftCredentialServer extends namirasoft_account_1.NSABaseServer {
|
|
64
64
|
constructor(base_url, token_manager, onError) {
|
|
65
|
-
super(base_url, `1.4.
|
|
65
|
+
super(base_url, `1.4.29`, token_manager, onError);
|
|
66
66
|
this.healthz = new NamirasoftCredentialServerHealthz_1.NamirasoftCredentialServerHealthz(this);
|
|
67
67
|
this.health = new NamirasoftCredentialServerHealth_1.NamirasoftCredentialServerHealth(this);
|
|
68
68
|
this.metrics = new NamirasoftCredentialServerMetrics_1.NamirasoftCredentialServerMetrics(this);
|
|
@@ -42,99 +42,99 @@ class GitHubCreateCommand extends namirasoft_node_cli_1.BaseFinalCommand {
|
|
|
42
42
|
defaults: [""]
|
|
43
43
|
},
|
|
44
44
|
{
|
|
45
|
-
name: "
|
|
45
|
+
name: "password_secret_id",
|
|
46
46
|
short: "",
|
|
47
|
-
description: "Provides the value of '
|
|
48
|
-
optional:
|
|
49
|
-
args: ["
|
|
47
|
+
description: "Provides the value of 'password_secret_id' in body",
|
|
48
|
+
optional: true,
|
|
49
|
+
args: ["password_secret_id"],
|
|
50
50
|
defaults: [""]
|
|
51
51
|
},
|
|
52
52
|
{
|
|
53
|
-
name: "
|
|
53
|
+
name: "pat_classic_token_secret_id",
|
|
54
54
|
short: "",
|
|
55
|
-
description: "Provides the value of '
|
|
56
|
-
optional:
|
|
57
|
-
args: ["
|
|
55
|
+
description: "Provides the value of 'pat_classic_token_secret_id' in body",
|
|
56
|
+
optional: true,
|
|
57
|
+
args: ["pat_classic_token_secret_id"],
|
|
58
58
|
defaults: [""]
|
|
59
59
|
},
|
|
60
60
|
{
|
|
61
|
-
name: "
|
|
61
|
+
name: "pat_finegraned_token_secret_id",
|
|
62
62
|
short: "",
|
|
63
|
-
description: "Provides the value of '
|
|
64
|
-
optional:
|
|
65
|
-
args: ["
|
|
63
|
+
description: "Provides the value of 'pat_finegraned_token_secret_id' in body",
|
|
64
|
+
optional: true,
|
|
65
|
+
args: ["pat_finegraned_token_secret_id"],
|
|
66
66
|
defaults: [""]
|
|
67
67
|
},
|
|
68
68
|
{
|
|
69
|
-
name: "
|
|
69
|
+
name: "oauthapp_client_id_secret_id",
|
|
70
70
|
short: "",
|
|
71
|
-
description: "Provides the value of '
|
|
72
|
-
optional:
|
|
73
|
-
args: ["
|
|
71
|
+
description: "Provides the value of 'oauthapp_client_id_secret_id' in body",
|
|
72
|
+
optional: true,
|
|
73
|
+
args: ["oauthapp_client_id_secret_id"],
|
|
74
74
|
defaults: [""]
|
|
75
75
|
},
|
|
76
76
|
{
|
|
77
|
-
name: "
|
|
77
|
+
name: "oauthapp_client_secret_secret_id",
|
|
78
78
|
short: "",
|
|
79
|
-
description: "Provides the value of '
|
|
80
|
-
optional:
|
|
81
|
-
args: ["
|
|
79
|
+
description: "Provides the value of 'oauthapp_client_secret_secret_id' in body",
|
|
80
|
+
optional: true,
|
|
81
|
+
args: ["oauthapp_client_secret_secret_id"],
|
|
82
82
|
defaults: [""]
|
|
83
83
|
},
|
|
84
84
|
{
|
|
85
|
-
name: "
|
|
85
|
+
name: "oauthapp_refresh_token_secret_id",
|
|
86
86
|
short: "",
|
|
87
|
-
description: "Provides the value of '
|
|
88
|
-
optional:
|
|
89
|
-
args: ["
|
|
87
|
+
description: "Provides the value of 'oauthapp_refresh_token_secret_id' in body",
|
|
88
|
+
optional: true,
|
|
89
|
+
args: ["oauthapp_refresh_token_secret_id"],
|
|
90
90
|
defaults: [""]
|
|
91
91
|
},
|
|
92
92
|
{
|
|
93
|
-
name: "
|
|
93
|
+
name: "oauthapp_access_token_secret_id",
|
|
94
94
|
short: "",
|
|
95
|
-
description: "Provides the value of '
|
|
96
|
-
optional:
|
|
97
|
-
args: ["
|
|
95
|
+
description: "Provides the value of 'oauthapp_access_token_secret_id' in body",
|
|
96
|
+
optional: true,
|
|
97
|
+
args: ["oauthapp_access_token_secret_id"],
|
|
98
98
|
defaults: [""]
|
|
99
99
|
},
|
|
100
100
|
{
|
|
101
|
-
name: "
|
|
101
|
+
name: "githubapp_installation_id_secret_id",
|
|
102
102
|
short: "",
|
|
103
|
-
description: "Provides the value of '
|
|
104
|
-
optional:
|
|
105
|
-
args: ["
|
|
103
|
+
description: "Provides the value of 'githubapp_installation_id_secret_id' in body",
|
|
104
|
+
optional: true,
|
|
105
|
+
args: ["githubapp_installation_id_secret_id"],
|
|
106
106
|
defaults: [""]
|
|
107
107
|
},
|
|
108
108
|
{
|
|
109
|
-
name: "
|
|
109
|
+
name: "githubapp_jwt_secret_id",
|
|
110
110
|
short: "",
|
|
111
|
-
description: "Provides the value of '
|
|
112
|
-
optional:
|
|
113
|
-
args: ["
|
|
111
|
+
description: "Provides the value of 'githubapp_jwt_secret_id' in body",
|
|
112
|
+
optional: true,
|
|
113
|
+
args: ["githubapp_jwt_secret_id"],
|
|
114
114
|
defaults: [""]
|
|
115
115
|
},
|
|
116
116
|
{
|
|
117
|
-
name: "
|
|
117
|
+
name: "githubapp_token_secret_id",
|
|
118
118
|
short: "",
|
|
119
|
-
description: "Provides the value of '
|
|
120
|
-
optional:
|
|
121
|
-
args: ["
|
|
119
|
+
description: "Provides the value of 'githubapp_token_secret_id' in body",
|
|
120
|
+
optional: true,
|
|
121
|
+
args: ["githubapp_token_secret_id"],
|
|
122
122
|
defaults: [""]
|
|
123
123
|
},
|
|
124
124
|
{
|
|
125
|
-
name: "
|
|
125
|
+
name: "ssh_publickey_secret_id",
|
|
126
126
|
short: "",
|
|
127
|
-
description: "Provides the value of '
|
|
128
|
-
optional:
|
|
129
|
-
args: ["
|
|
127
|
+
description: "Provides the value of 'ssh_publickey_secret_id' in body",
|
|
128
|
+
optional: true,
|
|
129
|
+
args: ["ssh_publickey_secret_id"],
|
|
130
130
|
defaults: [""]
|
|
131
131
|
},
|
|
132
132
|
{
|
|
133
|
-
name: "
|
|
133
|
+
name: "ssh_privatekey_secret_id",
|
|
134
134
|
short: "",
|
|
135
|
-
description: "Provides the value of '
|
|
136
|
-
optional:
|
|
137
|
-
args: ["
|
|
135
|
+
description: "Provides the value of 'ssh_privatekey_secret_id' in body",
|
|
136
|
+
optional: true,
|
|
137
|
+
args: ["ssh_privatekey_secret_id"],
|
|
138
138
|
defaults: [""]
|
|
139
139
|
},
|
|
140
140
|
{
|
|
@@ -209,18 +209,18 @@ class GitHubCreateCommand extends namirasoft_node_cli_1.BaseFinalCommand {
|
|
|
209
209
|
host: this.option_values.host,
|
|
210
210
|
type: this.option_values.type,
|
|
211
211
|
username: this.option_values.username,
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
212
|
+
password_secret_id: this.option_values.password_secret_id,
|
|
213
|
+
pat_classic_token_secret_id: this.option_values.pat_classic_token_secret_id,
|
|
214
|
+
pat_finegraned_token_secret_id: this.option_values.pat_finegraned_token_secret_id,
|
|
215
|
+
oauthapp_client_id_secret_id: this.option_values.oauthapp_client_id_secret_id,
|
|
216
|
+
oauthapp_client_secret_secret_id: this.option_values.oauthapp_client_secret_secret_id,
|
|
217
|
+
oauthapp_refresh_token_secret_id: this.option_values.oauthapp_refresh_token_secret_id,
|
|
218
|
+
oauthapp_access_token_secret_id: this.option_values.oauthapp_access_token_secret_id,
|
|
219
|
+
githubapp_installation_id_secret_id: this.option_values.githubapp_installation_id_secret_id,
|
|
220
|
+
githubapp_jwt_secret_id: this.option_values.githubapp_jwt_secret_id,
|
|
221
|
+
githubapp_token_secret_id: this.option_values.githubapp_token_secret_id,
|
|
222
|
+
ssh_publickey_secret_id: this.option_values.ssh_publickey_secret_id,
|
|
223
|
+
ssh_privatekey_secret_id: this.option_values.ssh_privatekey_secret_id,
|
|
224
224
|
rotator_id: this.option_values.rotator_id,
|
|
225
225
|
workspace_id: this.option_values.workspace_id,
|
|
226
226
|
name: this.option_values.name,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GitHubCreateCommand.js","sourceRoot":"","sources":["../../src/command/GitHubCreateCommand.ts"],"names":[],"mappings":";;;;;;;;;;;;AAoBA,6DAAuD;AACvD,qDAA0D;AAC1D,8EAA2E;AAC3E,2DAAkD;AAElD,MAAa,mBAAoB,SAAQ,sCAAgB;IAErD,YAAY,IAAc;QAEtB,KAAK,CAAC,IAAI,EAAE,EAAE,EAAE;YACZ;gBACI,IAAI,EAAE,MAAM;gBACZ,KAAK,EAAE,EAAE;gBACT,WAAW,EAAE,sCAAsC;gBACnD,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,CAAC,MAAM,CAAC;gBACd,QAAQ,EAAE,CAAC,EAAE,CAAC;aACjB;YACD;gBACI,IAAI,EAAE,MAAM;gBACZ,KAAK,EAAE,EAAE;gBACT,WAAW,EAAE,sCAAsC;gBACnD,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,CAAC,MAAM,CAAC;gBACd,QAAQ,EAAE,CAAC,E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uB,EAAE,IAAI,CAAC,aAAa,CAAC,uBAAuB;gBACnE,wBAAwB,EAAE,IAAI,CAAC,aAAa,CAAC,wBAAwB;gBACrE,UAAU,EAAE,IAAI,CAAC,aAAa,CAAC,UAAU;gBACzC,YAAY,EAAE,IAAI,CAAC,aAAa,CAAC,YAAY;gBAC7C,IAAI,EAAE,IAAI,CAAC,aAAa,CAAC,IAAI;gBAC7B,WAAW,EAAE,IAAI,CAAC,aAAa,CAAC,WAAW;gBAC3C,gBAAgB,EAAE,IAAI,CAAC,aAAa,CAAC,gBAAgB;gBACrD,aAAa,EAAE,IAAI,CAAC,aAAa,CAAC,aAAa;gBAC/C,WAAW,EAAE,IAAI,CAAC,aAAa,CAAC,WAAW;aAC9C,CAAC,CAAC;YACH,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,CAAC;QACjD,CAAC;KAAA;CACJ;AA3ND,kDA2NC;AAAA,CAAC"}
|
|
@@ -34,99 +34,99 @@ class GitHubUpdateCommand extends namirasoft_node_cli_1.BaseFinalCommand {
|
|
|
34
34
|
defaults: [""]
|
|
35
35
|
},
|
|
36
36
|
{
|
|
37
|
-
name: "
|
|
37
|
+
name: "password_secret_id",
|
|
38
38
|
short: "",
|
|
39
|
-
description: "Provides the value of '
|
|
40
|
-
optional:
|
|
41
|
-
args: ["
|
|
39
|
+
description: "Provides the value of 'password_secret_id' in body",
|
|
40
|
+
optional: true,
|
|
41
|
+
args: ["password_secret_id"],
|
|
42
42
|
defaults: [""]
|
|
43
43
|
},
|
|
44
44
|
{
|
|
45
|
-
name: "
|
|
45
|
+
name: "pat_classic_token_secret_id",
|
|
46
46
|
short: "",
|
|
47
|
-
description: "Provides the value of '
|
|
48
|
-
optional:
|
|
49
|
-
args: ["
|
|
47
|
+
description: "Provides the value of 'pat_classic_token_secret_id' in body",
|
|
48
|
+
optional: true,
|
|
49
|
+
args: ["pat_classic_token_secret_id"],
|
|
50
50
|
defaults: [""]
|
|
51
51
|
},
|
|
52
52
|
{
|
|
53
|
-
name: "
|
|
53
|
+
name: "pat_finegraned_token_secret_id",
|
|
54
54
|
short: "",
|
|
55
|
-
description: "Provides the value of '
|
|
56
|
-
optional:
|
|
57
|
-
args: ["
|
|
55
|
+
description: "Provides the value of 'pat_finegraned_token_secret_id' in body",
|
|
56
|
+
optional: true,
|
|
57
|
+
args: ["pat_finegraned_token_secret_id"],
|
|
58
58
|
defaults: [""]
|
|
59
59
|
},
|
|
60
60
|
{
|
|
61
|
-
name: "
|
|
61
|
+
name: "oauthapp_client_id_secret_id",
|
|
62
62
|
short: "",
|
|
63
|
-
description: "Provides the value of '
|
|
64
|
-
optional:
|
|
65
|
-
args: ["
|
|
63
|
+
description: "Provides the value of 'oauthapp_client_id_secret_id' in body",
|
|
64
|
+
optional: true,
|
|
65
|
+
args: ["oauthapp_client_id_secret_id"],
|
|
66
66
|
defaults: [""]
|
|
67
67
|
},
|
|
68
68
|
{
|
|
69
|
-
name: "
|
|
69
|
+
name: "oauthapp_client_secret_secret_id",
|
|
70
70
|
short: "",
|
|
71
|
-
description: "Provides the value of '
|
|
72
|
-
optional:
|
|
73
|
-
args: ["
|
|
71
|
+
description: "Provides the value of 'oauthapp_client_secret_secret_id' in body",
|
|
72
|
+
optional: true,
|
|
73
|
+
args: ["oauthapp_client_secret_secret_id"],
|
|
74
74
|
defaults: [""]
|
|
75
75
|
},
|
|
76
76
|
{
|
|
77
|
-
name: "
|
|
77
|
+
name: "oauthapp_refresh_token_secret_id",
|
|
78
78
|
short: "",
|
|
79
|
-
description: "Provides the value of '
|
|
80
|
-
optional:
|
|
81
|
-
args: ["
|
|
79
|
+
description: "Provides the value of 'oauthapp_refresh_token_secret_id' in body",
|
|
80
|
+
optional: true,
|
|
81
|
+
args: ["oauthapp_refresh_token_secret_id"],
|
|
82
82
|
defaults: [""]
|
|
83
83
|
},
|
|
84
84
|
{
|
|
85
|
-
name: "
|
|
85
|
+
name: "oauthapp_access_token_secret_id",
|
|
86
86
|
short: "",
|
|
87
|
-
description: "Provides the value of '
|
|
88
|
-
optional:
|
|
89
|
-
args: ["
|
|
87
|
+
description: "Provides the value of 'oauthapp_access_token_secret_id' in body",
|
|
88
|
+
optional: true,
|
|
89
|
+
args: ["oauthapp_access_token_secret_id"],
|
|
90
90
|
defaults: [""]
|
|
91
91
|
},
|
|
92
92
|
{
|
|
93
|
-
name: "
|
|
93
|
+
name: "githubapp_installation_id_secret_id",
|
|
94
94
|
short: "",
|
|
95
|
-
description: "Provides the value of '
|
|
96
|
-
optional:
|
|
97
|
-
args: ["
|
|
95
|
+
description: "Provides the value of 'githubapp_installation_id_secret_id' in body",
|
|
96
|
+
optional: true,
|
|
97
|
+
args: ["githubapp_installation_id_secret_id"],
|
|
98
98
|
defaults: [""]
|
|
99
99
|
},
|
|
100
100
|
{
|
|
101
|
-
name: "
|
|
101
|
+
name: "githubapp_jwt_secret_id",
|
|
102
102
|
short: "",
|
|
103
|
-
description: "Provides the value of '
|
|
104
|
-
optional:
|
|
105
|
-
args: ["
|
|
103
|
+
description: "Provides the value of 'githubapp_jwt_secret_id' in body",
|
|
104
|
+
optional: true,
|
|
105
|
+
args: ["githubapp_jwt_secret_id"],
|
|
106
106
|
defaults: [""]
|
|
107
107
|
},
|
|
108
108
|
{
|
|
109
|
-
name: "
|
|
109
|
+
name: "githubapp_token_secret_id",
|
|
110
110
|
short: "",
|
|
111
|
-
description: "Provides the value of '
|
|
112
|
-
optional:
|
|
113
|
-
args: ["
|
|
111
|
+
description: "Provides the value of 'githubapp_token_secret_id' in body",
|
|
112
|
+
optional: true,
|
|
113
|
+
args: ["githubapp_token_secret_id"],
|
|
114
114
|
defaults: [""]
|
|
115
115
|
},
|
|
116
116
|
{
|
|
117
|
-
name: "
|
|
117
|
+
name: "ssh_publickey_secret_id",
|
|
118
118
|
short: "",
|
|
119
|
-
description: "Provides the value of '
|
|
120
|
-
optional:
|
|
121
|
-
args: ["
|
|
119
|
+
description: "Provides the value of 'ssh_publickey_secret_id' in body",
|
|
120
|
+
optional: true,
|
|
121
|
+
args: ["ssh_publickey_secret_id"],
|
|
122
122
|
defaults: [""]
|
|
123
123
|
},
|
|
124
124
|
{
|
|
125
|
-
name: "
|
|
125
|
+
name: "ssh_privatekey_secret_id",
|
|
126
126
|
short: "",
|
|
127
|
-
description: "Provides the value of '
|
|
128
|
-
optional:
|
|
129
|
-
args: ["
|
|
127
|
+
description: "Provides the value of 'ssh_privatekey_secret_id' in body",
|
|
128
|
+
optional: true,
|
|
129
|
+
args: ["ssh_privatekey_secret_id"],
|
|
130
130
|
defaults: [""]
|
|
131
131
|
},
|
|
132
132
|
{
|
|
@@ -200,18 +200,18 @@ class GitHubUpdateCommand extends namirasoft_node_cli_1.BaseFinalCommand {
|
|
|
200
200
|
let ans = yield server.git_hub.Update(this.arg_values[0], {
|
|
201
201
|
host: this.option_values.host,
|
|
202
202
|
username: this.option_values.username,
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
203
|
+
password_secret_id: this.option_values.password_secret_id,
|
|
204
|
+
pat_classic_token_secret_id: this.option_values.pat_classic_token_secret_id,
|
|
205
|
+
pat_finegraned_token_secret_id: this.option_values.pat_finegraned_token_secret_id,
|
|
206
|
+
oauthapp_client_id_secret_id: this.option_values.oauthapp_client_id_secret_id,
|
|
207
|
+
oauthapp_client_secret_secret_id: this.option_values.oauthapp_client_secret_secret_id,
|
|
208
|
+
oauthapp_refresh_token_secret_id: this.option_values.oauthapp_refresh_token_secret_id,
|
|
209
|
+
oauthapp_access_token_secret_id: this.option_values.oauthapp_access_token_secret_id,
|
|
210
|
+
githubapp_installation_id_secret_id: this.option_values.githubapp_installation_id_secret_id,
|
|
211
|
+
githubapp_jwt_secret_id: this.option_values.githubapp_jwt_secret_id,
|
|
212
|
+
githubapp_token_secret_id: this.option_values.githubapp_token_secret_id,
|
|
213
|
+
ssh_publickey_secret_id: this.option_values.ssh_publickey_secret_id,
|
|
214
|
+
ssh_privatekey_secret_id: this.option_values.ssh_privatekey_secret_id,
|
|
215
215
|
rotator_id: this.option_values.rotator_id,
|
|
216
216
|
workspace_id: this.option_values.workspace_id,
|
|
217
217
|
name: this.option_values.name,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GitHubUpdateCommand.js","sourceRoot":"","sources":["../../src/command/GitHubUpdateCommand.ts"],"names":[],"mappings":";;;;;;;;;;;;AAoBA,6DAAuD;AACvD,qDAA0D;AAC1D,8EAA2E;AAC3E,2DAAkD;AAElD,MAAa,mBAAoB,SAAQ,sCAAgB;IAErD,YAAY,IAAc;QAEtB,KAAK,CAAC,IAAI,EAAE,CAAC,IAAI,CAAC,EAAE;YAChB;gBACI,IAAI,EAAE,MAAM;gBACZ,KAAK,EAAE,EAAE;gBACT,WAAW,EAAE,sCAAsC;gBACnD,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,CAAC,MAAM,CAAC;gBACd,QAAQ,EAAE,CAAC,EAAE,CAAC;aACjB;YACD;gBACI,IAAI,EAAE,UAAU;gBAChB,KAAK,EAAE,EAAE;gBACT,WAAW,EAAE,0CAA0C;gBACvD,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,CAAC,UAAU,CAAC;gBAClB,QAAQ,EAAE,CAAC,EAAE,CAAC;aACjB;YACD;gBACI,IAAI,EAAE,
|
|
1
|
+
{"version":3,"file":"GitHubUpdateCommand.js","sourceRoot":"","sources":["../../src/command/GitHubUpdateCommand.ts"],"names":[],"mappings":";;;;;;;;;;;;AAoBA,6DAAuD;AACvD,qDAA0D;AAC1D,8EAA2E;AAC3E,2DAAkD;AAElD,MAAa,mBAAoB,SAAQ,sCAAgB;IAErD,YAAY,IAAc;QAEtB,KAAK,CAAC,IAAI,EAAE,CAAC,IAAI,CAAC,EAAE;YAChB;g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
type: GitHubType;
|
|
8
8
|
username: string;
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
9
|
+
password_secret_id: (string | null);
|
|
10
|
+
pat_classic_token_secret_id: (string | null);
|
|
11
|
+
pat_finegraned_token_secret_id: (string | null);
|
|
12
|
+
oauthapp_client_id_secret_id: (string | null);
|
|
13
|
+
oauthapp_client_secret_secret_id: (string | null);
|
|
14
|
+
oauthapp_refresh_token_secret_id: (string | null);
|
|
15
|
+
oauthapp_access_token_secret_id: (string | null);
|
|
16
|
+
githubapp_installation_id_secret_id: (string | null);
|
|
17
|
+
githubapp_jwt_secret_id: (string | null);
|
|
18
|
+
githubapp_token_secret_id: (string | null);
|
|
19
|
+
ssh_publickey_secret_id: (string | null);
|
|
20
|
+
ssh_privatekey_secret_id: (string | null);
|
|
21
21
|
rotator_id: (string | null);
|
|
22
22
|
workspace_id: string;
|
|
23
23
|
name: string;
|
|
@@ -4,18 +4,18 @@ import { EntityTagInputRow } from "./EntityTagInputRow";
|
|
|
4
4
|
export type GitHubUpdateRow = {
|
|
5
5
|
host: string;
|
|
6
6
|
username: string;
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
7
|
+
password_secret_id: (string | null);
|
|
8
|
+
pat_classic_token_secret_id: (string | null);
|
|
9
|
+
pat_finegraned_token_secret_id: (string | null);
|
|
10
|
+
oauthapp_client_id_secret_id: (string | null);
|
|
11
|
+
oauthapp_client_secret_secret_id: (string | null);
|
|
12
|
+
oauthapp_refresh_token_secret_id: (string | null);
|
|
13
|
+
oauthapp_access_token_secret_id: (string | null);
|
|
14
|
+
githubapp_installation_id_secret_id: (string | null);
|
|
15
|
+
githubapp_jwt_secret_id: (string | null);
|
|
16
|
+
githubapp_token_secret_id: (string | null);
|
|
17
|
+
ssh_publickey_secret_id: (string | null);
|
|
18
|
+
ssh_privatekey_secret_id: (string | null);
|
|
19
19
|
rotator_id: (string | null);
|
|
20
20
|
workspace_id: string;
|
|
21
21
|
name: string;
|
package/package.json
CHANGED
|
@@ -141,7 +141,7 @@ export class NamirasoftCredentialServer extends NSABaseServer
|
|
|
141
141
|
rotator: NamirasoftCredentialServerRotator;
|
|
142
142
|
constructor(base_url: string, token_manager: TokenManager, onError: (error: Error) => void)
|
|
143
143
|
{
|
|
144
|
-
super(base_url, `1.4.
|
|
144
|
+
super(base_url, `1.4.29`, token_manager, onError);
|
|
145
145
|
this.healthz = new NamirasoftCredentialServerHealthz(this);
|
|
146
146
|
this.health = new NamirasoftCredentialServerHealth(this);
|
|
147
147
|
this.metrics = new NamirasoftCredentialServerMetrics(this);
|
|
@@ -53,99 +53,99 @@ export class GitHubCreateCommand extends BaseFinalCommand
|
|
|
53
53
|
defaults: [""]
|
|
54
54
|
},
|
|
55
55
|
{
|
|
56
|
-
name: "
|
|
56
|
+
name: "password_secret_id",
|
|
57
57
|
short: "",
|
|
58
|
-
description: "Provides the value of '
|
|
59
|
-
optional:
|
|
60
|
-
args: ["
|
|
58
|
+
description: "Provides the value of 'password_secret_id' in body",
|
|
59
|
+
optional: true,
|
|
60
|
+
args: ["password_secret_id"],
|
|
61
61
|
defaults: [""]
|
|
62
62
|
},
|
|
63
63
|
{
|
|
64
|
-
name: "
|
|
64
|
+
name: "pat_classic_token_secret_id",
|
|
65
65
|
short: "",
|
|
66
|
-
description: "Provides the value of '
|
|
67
|
-
optional:
|
|
68
|
-
args: ["
|
|
66
|
+
description: "Provides the value of 'pat_classic_token_secret_id' in body",
|
|
67
|
+
optional: true,
|
|
68
|
+
args: ["pat_classic_token_secret_id"],
|
|
69
69
|
defaults: [""]
|
|
70
70
|
},
|
|
71
71
|
{
|
|
72
|
-
name: "
|
|
72
|
+
name: "pat_finegraned_token_secret_id",
|
|
73
73
|
short: "",
|
|
74
|
-
description: "Provides the value of '
|
|
75
|
-
optional:
|
|
76
|
-
args: ["
|
|
74
|
+
description: "Provides the value of 'pat_finegraned_token_secret_id' in body",
|
|
75
|
+
optional: true,
|
|
76
|
+
args: ["pat_finegraned_token_secret_id"],
|
|
77
77
|
defaults: [""]
|
|
78
78
|
},
|
|
79
79
|
{
|
|
80
|
-
name: "
|
|
80
|
+
name: "oauthapp_client_id_secret_id",
|
|
81
81
|
short: "",
|
|
82
|
-
description: "Provides the value of '
|
|
83
|
-
optional:
|
|
84
|
-
args: ["
|
|
82
|
+
description: "Provides the value of 'oauthapp_client_id_secret_id' in body",
|
|
83
|
+
optional: true,
|
|
84
|
+
args: ["oauthapp_client_id_secret_id"],
|
|
85
85
|
defaults: [""]
|
|
86
86
|
},
|
|
87
87
|
{
|
|
88
|
-
name: "
|
|
88
|
+
name: "oauthapp_client_secret_secret_id",
|
|
89
89
|
short: "",
|
|
90
|
-
description: "Provides the value of '
|
|
91
|
-
optional:
|
|
92
|
-
args: ["
|
|
90
|
+
description: "Provides the value of 'oauthapp_client_secret_secret_id' in body",
|
|
91
|
+
optional: true,
|
|
92
|
+
args: ["oauthapp_client_secret_secret_id"],
|
|
93
93
|
defaults: [""]
|
|
94
94
|
},
|
|
95
95
|
{
|
|
96
|
-
name: "
|
|
96
|
+
name: "oauthapp_refresh_token_secret_id",
|
|
97
97
|
short: "",
|
|
98
|
-
description: "Provides the value of '
|
|
99
|
-
optional:
|
|
100
|
-
args: ["
|
|
98
|
+
description: "Provides the value of 'oauthapp_refresh_token_secret_id' in body",
|
|
99
|
+
optional: true,
|
|
100
|
+
args: ["oauthapp_refresh_token_secret_id"],
|
|
101
101
|
defaults: [""]
|
|
102
102
|
},
|
|
103
103
|
{
|
|
104
|
-
name: "
|
|
104
|
+
name: "oauthapp_access_token_secret_id",
|
|
105
105
|
short: "",
|
|
106
|
-
description: "Provides the value of '
|
|
107
|
-
optional:
|
|
108
|
-
args: ["
|
|
106
|
+
description: "Provides the value of 'oauthapp_access_token_secret_id' in body",
|
|
107
|
+
optional: true,
|
|
108
|
+
args: ["oauthapp_access_token_secret_id"],
|
|
109
109
|
defaults: [""]
|
|
110
110
|
},
|
|
111
111
|
{
|
|
112
|
-
name: "
|
|
112
|
+
name: "githubapp_installation_id_secret_id",
|
|
113
113
|
short: "",
|
|
114
|
-
description: "Provides the value of '
|
|
115
|
-
optional:
|
|
116
|
-
args: ["
|
|
114
|
+
description: "Provides the value of 'githubapp_installation_id_secret_id' in body",
|
|
115
|
+
optional: true,
|
|
116
|
+
args: ["githubapp_installation_id_secret_id"],
|
|
117
117
|
defaults: [""]
|
|
118
118
|
},
|
|
119
119
|
{
|
|
120
|
-
name: "
|
|
120
|
+
name: "githubapp_jwt_secret_id",
|
|
121
121
|
short: "",
|
|
122
|
-
description: "Provides the value of '
|
|
123
|
-
optional:
|
|
124
|
-
args: ["
|
|
122
|
+
description: "Provides the value of 'githubapp_jwt_secret_id' in body",
|
|
123
|
+
optional: true,
|
|
124
|
+
args: ["githubapp_jwt_secret_id"],
|
|
125
125
|
defaults: [""]
|
|
126
126
|
},
|
|
127
127
|
{
|
|
128
|
-
name: "
|
|
128
|
+
name: "githubapp_token_secret_id",
|
|
129
129
|
short: "",
|
|
130
|
-
description: "Provides the value of '
|
|
131
|
-
optional:
|
|
132
|
-
args: ["
|
|
130
|
+
description: "Provides the value of 'githubapp_token_secret_id' in body",
|
|
131
|
+
optional: true,
|
|
132
|
+
args: ["githubapp_token_secret_id"],
|
|
133
133
|
defaults: [""]
|
|
134
134
|
},
|
|
135
135
|
{
|
|
136
|
-
name: "
|
|
136
|
+
name: "ssh_publickey_secret_id",
|
|
137
137
|
short: "",
|
|
138
|
-
description: "Provides the value of '
|
|
139
|
-
optional:
|
|
140
|
-
args: ["
|
|
138
|
+
description: "Provides the value of 'ssh_publickey_secret_id' in body",
|
|
139
|
+
optional: true,
|
|
140
|
+
args: ["ssh_publickey_secret_id"],
|
|
141
141
|
defaults: [""]
|
|
142
142
|
},
|
|
143
143
|
{
|
|
144
|
-
name: "
|
|
144
|
+
name: "ssh_privatekey_secret_id",
|
|
145
145
|
short: "",
|
|
146
|
-
description: "Provides the value of '
|
|
147
|
-
optional:
|
|
148
|
-
args: ["
|
|
146
|
+
description: "Provides the value of 'ssh_privatekey_secret_id' in body",
|
|
147
|
+
optional: true,
|
|
148
|
+
args: ["ssh_privatekey_secret_id"],
|
|
149
149
|
defaults: [""]
|
|
150
150
|
},
|
|
151
151
|
{
|
|
@@ -220,18 +220,18 @@ export class GitHubCreateCommand extends BaseFinalCommand
|
|
|
220
220
|
host: this.option_values.host,
|
|
221
221
|
type: this.option_values.type,
|
|
222
222
|
username: this.option_values.username,
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
223
|
+
password_secret_id: this.option_values.password_secret_id,
|
|
224
|
+
pat_classic_token_secret_id: this.option_values.pat_classic_token_secret_id,
|
|
225
|
+
pat_finegraned_token_secret_id: this.option_values.pat_finegraned_token_secret_id,
|
|
226
|
+
oauthapp_client_id_secret_id: this.option_values.oauthapp_client_id_secret_id,
|
|
227
|
+
oauthapp_client_secret_secret_id: this.option_values.oauthapp_client_secret_secret_id,
|
|
228
|
+
oauthapp_refresh_token_secret_id: this.option_values.oauthapp_refresh_token_secret_id,
|
|
229
|
+
oauthapp_access_token_secret_id: this.option_values.oauthapp_access_token_secret_id,
|
|
230
|
+
githubapp_installation_id_secret_id: this.option_values.githubapp_installation_id_secret_id,
|
|
231
|
+
githubapp_jwt_secret_id: this.option_values.githubapp_jwt_secret_id,
|
|
232
|
+
githubapp_token_secret_id: this.option_values.githubapp_token_secret_id,
|
|
233
|
+
ssh_publickey_secret_id: this.option_values.ssh_publickey_secret_id,
|
|
234
|
+
ssh_privatekey_secret_id: this.option_values.ssh_privatekey_secret_id,
|
|
235
235
|
rotator_id: this.option_values.rotator_id,
|
|
236
236
|
workspace_id: this.option_values.workspace_id,
|
|
237
237
|
name: this.option_values.name,
|
|
@@ -45,99 +45,99 @@ export class GitHubUpdateCommand extends BaseFinalCommand
|
|
|
45
45
|
defaults: [""]
|
|
46
46
|
},
|
|
47
47
|
{
|
|
48
|
-
name: "
|
|
48
|
+
name: "password_secret_id",
|
|
49
49
|
short: "",
|
|
50
|
-
description: "Provides the value of '
|
|
51
|
-
optional:
|
|
52
|
-
args: ["
|
|
50
|
+
description: "Provides the value of 'password_secret_id' in body",
|
|
51
|
+
optional: true,
|
|
52
|
+
args: ["password_secret_id"],
|
|
53
53
|
defaults: [""]
|
|
54
54
|
},
|
|
55
55
|
{
|
|
56
|
-
name: "
|
|
56
|
+
name: "pat_classic_token_secret_id",
|
|
57
57
|
short: "",
|
|
58
|
-
description: "Provides the value of '
|
|
59
|
-
optional:
|
|
60
|
-
args: ["
|
|
58
|
+
description: "Provides the value of 'pat_classic_token_secret_id' in body",
|
|
59
|
+
optional: true,
|
|
60
|
+
args: ["pat_classic_token_secret_id"],
|
|
61
61
|
defaults: [""]
|
|
62
62
|
},
|
|
63
63
|
{
|
|
64
|
-
name: "
|
|
64
|
+
name: "pat_finegraned_token_secret_id",
|
|
65
65
|
short: "",
|
|
66
|
-
description: "Provides the value of '
|
|
67
|
-
optional:
|
|
68
|
-
args: ["
|
|
66
|
+
description: "Provides the value of 'pat_finegraned_token_secret_id' in body",
|
|
67
|
+
optional: true,
|
|
68
|
+
args: ["pat_finegraned_token_secret_id"],
|
|
69
69
|
defaults: [""]
|
|
70
70
|
},
|
|
71
71
|
{
|
|
72
|
-
name: "
|
|
72
|
+
name: "oauthapp_client_id_secret_id",
|
|
73
73
|
short: "",
|
|
74
|
-
description: "Provides the value of '
|
|
75
|
-
optional:
|
|
76
|
-
args: ["
|
|
74
|
+
description: "Provides the value of 'oauthapp_client_id_secret_id' in body",
|
|
75
|
+
optional: true,
|
|
76
|
+
args: ["oauthapp_client_id_secret_id"],
|
|
77
77
|
defaults: [""]
|
|
78
78
|
},
|
|
79
79
|
{
|
|
80
|
-
name: "
|
|
80
|
+
name: "oauthapp_client_secret_secret_id",
|
|
81
81
|
short: "",
|
|
82
|
-
description: "Provides the value of '
|
|
83
|
-
optional:
|
|
84
|
-
args: ["
|
|
82
|
+
description: "Provides the value of 'oauthapp_client_secret_secret_id' in body",
|
|
83
|
+
optional: true,
|
|
84
|
+
args: ["oauthapp_client_secret_secret_id"],
|
|
85
85
|
defaults: [""]
|
|
86
86
|
},
|
|
87
87
|
{
|
|
88
|
-
name: "
|
|
88
|
+
name: "oauthapp_refresh_token_secret_id",
|
|
89
89
|
short: "",
|
|
90
|
-
description: "Provides the value of '
|
|
91
|
-
optional:
|
|
92
|
-
args: ["
|
|
90
|
+
description: "Provides the value of 'oauthapp_refresh_token_secret_id' in body",
|
|
91
|
+
optional: true,
|
|
92
|
+
args: ["oauthapp_refresh_token_secret_id"],
|
|
93
93
|
defaults: [""]
|
|
94
94
|
},
|
|
95
95
|
{
|
|
96
|
-
name: "
|
|
96
|
+
name: "oauthapp_access_token_secret_id",
|
|
97
97
|
short: "",
|
|
98
|
-
description: "Provides the value of '
|
|
99
|
-
optional:
|
|
100
|
-
args: ["
|
|
98
|
+
description: "Provides the value of 'oauthapp_access_token_secret_id' in body",
|
|
99
|
+
optional: true,
|
|
100
|
+
args: ["oauthapp_access_token_secret_id"],
|
|
101
101
|
defaults: [""]
|
|
102
102
|
},
|
|
103
103
|
{
|
|
104
|
-
name: "
|
|
104
|
+
name: "githubapp_installation_id_secret_id",
|
|
105
105
|
short: "",
|
|
106
|
-
description: "Provides the value of '
|
|
107
|
-
optional:
|
|
108
|
-
args: ["
|
|
106
|
+
description: "Provides the value of 'githubapp_installation_id_secret_id' in body",
|
|
107
|
+
optional: true,
|
|
108
|
+
args: ["githubapp_installation_id_secret_id"],
|
|
109
109
|
defaults: [""]
|
|
110
110
|
},
|
|
111
111
|
{
|
|
112
|
-
name: "
|
|
112
|
+
name: "githubapp_jwt_secret_id",
|
|
113
113
|
short: "",
|
|
114
|
-
description: "Provides the value of '
|
|
115
|
-
optional:
|
|
116
|
-
args: ["
|
|
114
|
+
description: "Provides the value of 'githubapp_jwt_secret_id' in body",
|
|
115
|
+
optional: true,
|
|
116
|
+
args: ["githubapp_jwt_secret_id"],
|
|
117
117
|
defaults: [""]
|
|
118
118
|
},
|
|
119
119
|
{
|
|
120
|
-
name: "
|
|
120
|
+
name: "githubapp_token_secret_id",
|
|
121
121
|
short: "",
|
|
122
|
-
description: "Provides the value of '
|
|
123
|
-
optional:
|
|
124
|
-
args: ["
|
|
122
|
+
description: "Provides the value of 'githubapp_token_secret_id' in body",
|
|
123
|
+
optional: true,
|
|
124
|
+
args: ["githubapp_token_secret_id"],
|
|
125
125
|
defaults: [""]
|
|
126
126
|
},
|
|
127
127
|
{
|
|
128
|
-
name: "
|
|
128
|
+
name: "ssh_publickey_secret_id",
|
|
129
129
|
short: "",
|
|
130
|
-
description: "Provides the value of '
|
|
131
|
-
optional:
|
|
132
|
-
args: ["
|
|
130
|
+
description: "Provides the value of 'ssh_publickey_secret_id' in body",
|
|
131
|
+
optional: true,
|
|
132
|
+
args: ["ssh_publickey_secret_id"],
|
|
133
133
|
defaults: [""]
|
|
134
134
|
},
|
|
135
135
|
{
|
|
136
|
-
name: "
|
|
136
|
+
name: "ssh_privatekey_secret_id",
|
|
137
137
|
short: "",
|
|
138
|
-
description: "Provides the value of '
|
|
139
|
-
optional:
|
|
140
|
-
args: ["
|
|
138
|
+
description: "Provides the value of 'ssh_privatekey_secret_id' in body",
|
|
139
|
+
optional: true,
|
|
140
|
+
args: ["ssh_privatekey_secret_id"],
|
|
141
141
|
defaults: [""]
|
|
142
142
|
},
|
|
143
143
|
{
|
|
@@ -211,18 +211,18 @@ export class GitHubUpdateCommand extends BaseFinalCommand
|
|
|
211
211
|
let ans = await server.git_hub.Update(this.arg_values[0], {
|
|
212
212
|
host: this.option_values.host,
|
|
213
213
|
username: this.option_values.username,
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
214
|
+
password_secret_id: this.option_values.password_secret_id,
|
|
215
|
+
pat_classic_token_secret_id: this.option_values.pat_classic_token_secret_id,
|
|
216
|
+
pat_finegraned_token_secret_id: this.option_values.pat_finegraned_token_secret_id,
|
|
217
|
+
oauthapp_client_id_secret_id: this.option_values.oauthapp_client_id_secret_id,
|
|
218
|
+
oauthapp_client_secret_secret_id: this.option_values.oauthapp_client_secret_secret_id,
|
|
219
|
+
oauthapp_refresh_token_secret_id: this.option_values.oauthapp_refresh_token_secret_id,
|
|
220
|
+
oauthapp_access_token_secret_id: this.option_values.oauthapp_access_token_secret_id,
|
|
221
|
+
githubapp_installation_id_secret_id: this.option_values.githubapp_installation_id_secret_id,
|
|
222
|
+
githubapp_jwt_secret_id: this.option_values.githubapp_jwt_secret_id,
|
|
223
|
+
githubapp_token_secret_id: this.option_values.githubapp_token_secret_id,
|
|
224
|
+
ssh_publickey_secret_id: this.option_values.ssh_publickey_secret_id,
|
|
225
|
+
ssh_privatekey_secret_id: this.option_values.ssh_privatekey_secret_id,
|
|
226
226
|
rotator_id: this.option_values.rotator_id,
|
|
227
227
|
workspace_id: this.option_values.workspace_id,
|
|
228
228
|
name: this.option_values.name,
|
|
@@ -28,18 +28,18 @@ export type GitHubCreateRow =
|
|
|
28
28
|
host: string;
|
|
29
29
|
type: GitHubType;
|
|
30
30
|
username: string;
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
31
|
+
password_secret_id: (string | null);
|
|
32
|
+
pat_classic_token_secret_id: (string | null);
|
|
33
|
+
pat_finegraned_token_secret_id: (string | null);
|
|
34
|
+
oauthapp_client_id_secret_id: (string | null);
|
|
35
|
+
oauthapp_client_secret_secret_id: (string | null);
|
|
36
|
+
oauthapp_refresh_token_secret_id: (string | null);
|
|
37
|
+
oauthapp_access_token_secret_id: (string | null);
|
|
38
|
+
githubapp_installation_id_secret_id: (string | null);
|
|
39
|
+
githubapp_jwt_secret_id: (string | null);
|
|
40
|
+
githubapp_token_secret_id: (string | null);
|
|
41
|
+
ssh_publickey_secret_id: (string | null);
|
|
42
|
+
ssh_privatekey_secret_id: (string | null);
|
|
43
43
|
rotator_id: (string | null);
|
|
44
44
|
workspace_id: string;
|
|
45
45
|
name: string;
|
|
@@ -26,18 +26,18 @@ export type GitHubUpdateRow =
|
|
|
26
26
|
{
|
|
27
27
|
host: string;
|
|
28
28
|
username: string;
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
29
|
+
password_secret_id: (string | null);
|
|
30
|
+
pat_classic_token_secret_id: (string | null);
|
|
31
|
+
pat_finegraned_token_secret_id: (string | null);
|
|
32
|
+
oauthapp_client_id_secret_id: (string | null);
|
|
33
|
+
oauthapp_client_secret_secret_id: (string | null);
|
|
34
|
+
oauthapp_refresh_token_secret_id: (string | null);
|
|
35
|
+
oauthapp_access_token_secret_id: (string | null);
|
|
36
|
+
githubapp_installation_id_secret_id: (string | null);
|
|
37
|
+
githubapp_jwt_secret_id: (string | null);
|
|
38
|
+
githubapp_token_secret_id: (string | null);
|
|
39
|
+
ssh_publickey_secret_id: (string | null);
|
|
40
|
+
ssh_privatekey_secret_id: (string | null);
|
|
41
41
|
rotator_id: (string | null);
|
|
42
42
|
workspace_id: string;
|
|
43
43
|
name: string;
|