namirasoft-credential 1.4.2 → 1.4.5

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.
Files changed (254) hide show
  1. package/dist/NamirasoftCredentialServer.js +1 -1
  2. package/dist/NamirasoftCredentialServerAWS.d.ts +1 -0
  3. package/dist/NamirasoftCredentialServerAWS.js +8 -0
  4. package/dist/NamirasoftCredentialServerAWS.js.map +1 -1
  5. package/dist/NamirasoftCredentialServerAzure.d.ts +1 -0
  6. package/dist/NamirasoftCredentialServerAzure.js +8 -0
  7. package/dist/NamirasoftCredentialServerAzure.js.map +1 -1
  8. package/dist/NamirasoftCredentialServerGCP.d.ts +1 -0
  9. package/dist/NamirasoftCredentialServerGCP.js +8 -0
  10. package/dist/NamirasoftCredentialServerGCP.js.map +1 -1
  11. package/dist/command/AWSCategoryCreateCommand.js +1 -1
  12. package/dist/command/AWSCategoryCreateCommand.js.map +1 -1
  13. package/dist/command/AWSCategoryDeleteCommand.js +1 -1
  14. package/dist/command/AWSCategoryDeleteCommand.js.map +1 -1
  15. package/dist/command/AWSCategoryGetCommand.js +1 -1
  16. package/dist/command/AWSCategoryGetCommand.js.map +1 -1
  17. package/dist/command/AWSCategoryListCommand.js +1 -1
  18. package/dist/command/AWSCategoryListCommand.js.map +1 -1
  19. package/dist/command/AWSCommand.js +2 -0
  20. package/dist/command/AWSCommand.js.map +1 -1
  21. package/dist/command/AWSCreateCommand.js +2 -2
  22. package/dist/command/AWSCreateCommand.js.map +1 -1
  23. package/dist/command/AWSDeleteCommand.js +1 -1
  24. package/dist/command/AWSDeleteCommand.js.map +1 -1
  25. package/dist/command/AWSFieldCreateCommand.js +1 -1
  26. package/dist/command/AWSFieldCreateCommand.js.map +1 -1
  27. package/dist/command/AWSFieldDeleteCommand.js +1 -1
  28. package/dist/command/AWSFieldDeleteCommand.js.map +1 -1
  29. package/dist/command/AWSFieldGetCommand.js +1 -1
  30. package/dist/command/AWSFieldGetCommand.js.map +1 -1
  31. package/dist/command/AWSFieldListCommand.js +1 -1
  32. package/dist/command/AWSFieldListCommand.js.map +1 -1
  33. package/dist/command/AWSFieldUpdateCommand.js +1 -1
  34. package/dist/command/AWSFieldUpdateCommand.js.map +1 -1
  35. package/dist/command/AWSGetCommand.js +1 -1
  36. package/dist/command/AWSGetCommand.js.map +1 -1
  37. package/dist/command/AWSListCommand.js +1 -1
  38. package/dist/command/AWSListCommand.js.map +1 -1
  39. package/dist/command/AWSTagCreateCommand.js +1 -1
  40. package/dist/command/AWSTagCreateCommand.js.map +1 -1
  41. package/dist/command/AWSTagDeleteCommand.js +1 -1
  42. package/dist/command/AWSTagDeleteCommand.js.map +1 -1
  43. package/dist/command/AWSTagGetCommand.js +1 -1
  44. package/dist/command/AWSTagGetCommand.js.map +1 -1
  45. package/dist/command/AWSTagListCommand.js +1 -1
  46. package/dist/command/AWSTagListCommand.js.map +1 -1
  47. package/dist/command/AWSTagUpdateCommand.js +1 -1
  48. package/dist/command/AWSTagUpdateCommand.js.map +1 -1
  49. package/dist/command/AWSUpdateCommand.js +2 -2
  50. package/dist/command/AWSUpdateCommand.js.map +1 -1
  51. package/dist/command/AWS_GetForCommand.d.ts +5 -0
  52. package/dist/command/AWS_GetForCommand.js +38 -0
  53. package/dist/command/AWS_GetForCommand.js.map +1 -0
  54. package/dist/command/AzureCategoryCreateCommand.js +1 -1
  55. package/dist/command/AzureCategoryCreateCommand.js.map +1 -1
  56. package/dist/command/AzureCategoryDeleteCommand.js +1 -1
  57. package/dist/command/AzureCategoryDeleteCommand.js.map +1 -1
  58. package/dist/command/AzureCategoryGetCommand.js +1 -1
  59. package/dist/command/AzureCategoryGetCommand.js.map +1 -1
  60. package/dist/command/AzureCategoryListCommand.js +1 -1
  61. package/dist/command/AzureCategoryListCommand.js.map +1 -1
  62. package/dist/command/AzureCommand.js +2 -0
  63. package/dist/command/AzureCommand.js.map +1 -1
  64. package/dist/command/AzureCreateCommand.js +2 -2
  65. package/dist/command/AzureCreateCommand.js.map +1 -1
  66. package/dist/command/AzureDeleteCommand.js +1 -1
  67. package/dist/command/AzureDeleteCommand.js.map +1 -1
  68. package/dist/command/AzureFieldCreateCommand.js +1 -1
  69. package/dist/command/AzureFieldCreateCommand.js.map +1 -1
  70. package/dist/command/AzureFieldDeleteCommand.js +1 -1
  71. package/dist/command/AzureFieldDeleteCommand.js.map +1 -1
  72. package/dist/command/AzureFieldGetCommand.js +1 -1
  73. package/dist/command/AzureFieldGetCommand.js.map +1 -1
  74. package/dist/command/AzureFieldListCommand.js +1 -1
  75. package/dist/command/AzureFieldListCommand.js.map +1 -1
  76. package/dist/command/AzureFieldUpdateCommand.js +1 -1
  77. package/dist/command/AzureFieldUpdateCommand.js.map +1 -1
  78. package/dist/command/AzureGetCommand.js +1 -1
  79. package/dist/command/AzureGetCommand.js.map +1 -1
  80. package/dist/command/AzureListCommand.js +1 -1
  81. package/dist/command/AzureListCommand.js.map +1 -1
  82. package/dist/command/AzureTagCreateCommand.js +1 -1
  83. package/dist/command/AzureTagCreateCommand.js.map +1 -1
  84. package/dist/command/AzureTagDeleteCommand.js +1 -1
  85. package/dist/command/AzureTagDeleteCommand.js.map +1 -1
  86. package/dist/command/AzureTagGetCommand.js +1 -1
  87. package/dist/command/AzureTagGetCommand.js.map +1 -1
  88. package/dist/command/AzureTagListCommand.js +1 -1
  89. package/dist/command/AzureTagListCommand.js.map +1 -1
  90. package/dist/command/AzureTagUpdateCommand.js +1 -1
  91. package/dist/command/AzureTagUpdateCommand.js.map +1 -1
  92. package/dist/command/AzureUpdateCommand.js +2 -2
  93. package/dist/command/AzureUpdateCommand.js.map +1 -1
  94. package/dist/command/Azure_GetForCommand.d.ts +5 -0
  95. package/dist/command/Azure_GetForCommand.js +38 -0
  96. package/dist/command/Azure_GetForCommand.js.map +1 -0
  97. package/dist/command/GCPCategoryCreateCommand.js +1 -1
  98. package/dist/command/GCPCategoryCreateCommand.js.map +1 -1
  99. package/dist/command/GCPCategoryDeleteCommand.js +1 -1
  100. package/dist/command/GCPCategoryDeleteCommand.js.map +1 -1
  101. package/dist/command/GCPCategoryGetCommand.js +1 -1
  102. package/dist/command/GCPCategoryGetCommand.js.map +1 -1
  103. package/dist/command/GCPCategoryListCommand.js +1 -1
  104. package/dist/command/GCPCategoryListCommand.js.map +1 -1
  105. package/dist/command/GCPCommand.js +2 -0
  106. package/dist/command/GCPCommand.js.map +1 -1
  107. package/dist/command/GCPCreateCommand.js +2 -2
  108. package/dist/command/GCPCreateCommand.js.map +1 -1
  109. package/dist/command/GCPDeleteCommand.js +1 -1
  110. package/dist/command/GCPDeleteCommand.js.map +1 -1
  111. package/dist/command/GCPFieldCreateCommand.js +1 -1
  112. package/dist/command/GCPFieldCreateCommand.js.map +1 -1
  113. package/dist/command/GCPFieldDeleteCommand.js +1 -1
  114. package/dist/command/GCPFieldDeleteCommand.js.map +1 -1
  115. package/dist/command/GCPFieldGetCommand.js +1 -1
  116. package/dist/command/GCPFieldGetCommand.js.map +1 -1
  117. package/dist/command/GCPFieldListCommand.js +1 -1
  118. package/dist/command/GCPFieldListCommand.js.map +1 -1
  119. package/dist/command/GCPFieldUpdateCommand.js +1 -1
  120. package/dist/command/GCPFieldUpdateCommand.js.map +1 -1
  121. package/dist/command/GCPGetCommand.js +1 -1
  122. package/dist/command/GCPGetCommand.js.map +1 -1
  123. package/dist/command/GCPListCommand.js +1 -1
  124. package/dist/command/GCPListCommand.js.map +1 -1
  125. package/dist/command/GCPTagCreateCommand.js +1 -1
  126. package/dist/command/GCPTagCreateCommand.js.map +1 -1
  127. package/dist/command/GCPTagDeleteCommand.js +1 -1
  128. package/dist/command/GCPTagDeleteCommand.js.map +1 -1
  129. package/dist/command/GCPTagGetCommand.js +1 -1
  130. package/dist/command/GCPTagGetCommand.js.map +1 -1
  131. package/dist/command/GCPTagListCommand.js +1 -1
  132. package/dist/command/GCPTagListCommand.js.map +1 -1
  133. package/dist/command/GCPTagUpdateCommand.js +1 -1
  134. package/dist/command/GCPTagUpdateCommand.js.map +1 -1
  135. package/dist/command/GCPUpdateCommand.js +2 -2
  136. package/dist/command/GCPUpdateCommand.js.map +1 -1
  137. package/dist/command/GCP_GetForCommand.d.ts +5 -0
  138. package/dist/command/GCP_GetForCommand.js +38 -0
  139. package/dist/command/GCP_GetForCommand.js.map +1 -0
  140. package/dist/command/HealthzGetCommand.js +1 -1
  141. package/dist/command/HealthzGetCommand.js.map +1 -1
  142. package/dist/command/ValueListCommand.js +1 -1
  143. package/dist/command/ValueListCommand.js.map +1 -1
  144. package/dist/index.d.ts +3 -0
  145. package/dist/index.js +3 -0
  146. package/dist/index.js.map +1 -1
  147. package/dist/meta/AWSMetaTable.js +2 -2
  148. package/dist/meta/AWSMetaTable.js.map +1 -1
  149. package/dist/meta/AzureMetaTable.js +2 -2
  150. package/dist/meta/AzureMetaTable.js.map +1 -1
  151. package/dist/meta/GCPMetaTable.js +2 -2
  152. package/dist/meta/GCPMetaTable.js.map +1 -1
  153. package/dist/meta/NamirasoftCredentialMetaDatabase.js +1 -1
  154. package/dist/meta/NamirasoftCredentialMetaDatabase.js.map +1 -1
  155. package/dist/row/AWSCreateRow.d.ts +1 -1
  156. package/dist/row/AWSFullRow.d.ts +2 -2
  157. package/dist/row/AWSRow.d.ts +2 -2
  158. package/dist/row/AWSUpdateRow.d.ts +1 -1
  159. package/dist/row/AzureCreateRow.d.ts +1 -1
  160. package/dist/row/AzureFullRow.d.ts +2 -2
  161. package/dist/row/AzureRow.d.ts +2 -2
  162. package/dist/row/AzureUpdateRow.d.ts +1 -1
  163. package/dist/row/GCPCreateRow.d.ts +1 -1
  164. package/dist/row/GCPFullRow.d.ts +2 -2
  165. package/dist/row/GCPRow.d.ts +2 -2
  166. package/dist/row/GCPUpdateRow.d.ts +1 -1
  167. package/logo.png +0 -0
  168. package/package.json +5 -5
  169. package/src/NamirasoftCredentialServer.ts +1 -1
  170. package/src/NamirasoftCredentialServerAWS.ts +7 -0
  171. package/src/NamirasoftCredentialServerAzure.ts +7 -0
  172. package/src/NamirasoftCredentialServerGCP.ts +7 -0
  173. package/src/command/AWSCategoryCreateCommand.ts +2 -2
  174. package/src/command/AWSCategoryDeleteCommand.ts +2 -2
  175. package/src/command/AWSCategoryGetCommand.ts +2 -2
  176. package/src/command/AWSCategoryListCommand.ts +2 -2
  177. package/src/command/AWSCommand.ts +2 -0
  178. package/src/command/AWSCreateCommand.ts +3 -3
  179. package/src/command/AWSDeleteCommand.ts +2 -2
  180. package/src/command/AWSFieldCreateCommand.ts +2 -2
  181. package/src/command/AWSFieldDeleteCommand.ts +2 -2
  182. package/src/command/AWSFieldGetCommand.ts +2 -2
  183. package/src/command/AWSFieldListCommand.ts +2 -2
  184. package/src/command/AWSFieldUpdateCommand.ts +2 -2
  185. package/src/command/AWSGetCommand.ts +2 -2
  186. package/src/command/AWSListCommand.ts +2 -2
  187. package/src/command/AWSTagCreateCommand.ts +2 -2
  188. package/src/command/AWSTagDeleteCommand.ts +2 -2
  189. package/src/command/AWSTagGetCommand.ts +2 -2
  190. package/src/command/AWSTagListCommand.ts +2 -2
  191. package/src/command/AWSTagUpdateCommand.ts +2 -2
  192. package/src/command/AWSUpdateCommand.ts +3 -3
  193. package/src/command/AWS_GetForCommand.ts +45 -0
  194. package/src/command/AzureCategoryCreateCommand.ts +2 -2
  195. package/src/command/AzureCategoryDeleteCommand.ts +2 -2
  196. package/src/command/AzureCategoryGetCommand.ts +2 -2
  197. package/src/command/AzureCategoryListCommand.ts +2 -2
  198. package/src/command/AzureCommand.ts +2 -0
  199. package/src/command/AzureCreateCommand.ts +3 -3
  200. package/src/command/AzureDeleteCommand.ts +2 -2
  201. package/src/command/AzureFieldCreateCommand.ts +2 -2
  202. package/src/command/AzureFieldDeleteCommand.ts +2 -2
  203. package/src/command/AzureFieldGetCommand.ts +2 -2
  204. package/src/command/AzureFieldListCommand.ts +2 -2
  205. package/src/command/AzureFieldUpdateCommand.ts +2 -2
  206. package/src/command/AzureGetCommand.ts +2 -2
  207. package/src/command/AzureListCommand.ts +2 -2
  208. package/src/command/AzureTagCreateCommand.ts +2 -2
  209. package/src/command/AzureTagDeleteCommand.ts +2 -2
  210. package/src/command/AzureTagGetCommand.ts +2 -2
  211. package/src/command/AzureTagListCommand.ts +2 -2
  212. package/src/command/AzureTagUpdateCommand.ts +2 -2
  213. package/src/command/AzureUpdateCommand.ts +3 -3
  214. package/src/command/Azure_GetForCommand.ts +45 -0
  215. package/src/command/GCPCategoryCreateCommand.ts +2 -2
  216. package/src/command/GCPCategoryDeleteCommand.ts +2 -2
  217. package/src/command/GCPCategoryGetCommand.ts +2 -2
  218. package/src/command/GCPCategoryListCommand.ts +2 -2
  219. package/src/command/GCPCommand.ts +2 -0
  220. package/src/command/GCPCreateCommand.ts +3 -3
  221. package/src/command/GCPDeleteCommand.ts +2 -2
  222. package/src/command/GCPFieldCreateCommand.ts +2 -2
  223. package/src/command/GCPFieldDeleteCommand.ts +2 -2
  224. package/src/command/GCPFieldGetCommand.ts +2 -2
  225. package/src/command/GCPFieldListCommand.ts +2 -2
  226. package/src/command/GCPFieldUpdateCommand.ts +2 -2
  227. package/src/command/GCPGetCommand.ts +2 -2
  228. package/src/command/GCPListCommand.ts +2 -2
  229. package/src/command/GCPTagCreateCommand.ts +2 -2
  230. package/src/command/GCPTagDeleteCommand.ts +2 -2
  231. package/src/command/GCPTagGetCommand.ts +2 -2
  232. package/src/command/GCPTagListCommand.ts +2 -2
  233. package/src/command/GCPTagUpdateCommand.ts +2 -2
  234. package/src/command/GCPUpdateCommand.ts +3 -3
  235. package/src/command/GCP_GetForCommand.ts +45 -0
  236. package/src/command/HealthzGetCommand.ts +2 -2
  237. package/src/command/ValueListCommand.ts +2 -2
  238. package/src/index.ts +3 -0
  239. package/src/meta/AWSMetaTable.ts +2 -2
  240. package/src/meta/AzureMetaTable.ts +2 -2
  241. package/src/meta/GCPMetaTable.ts +2 -2
  242. package/src/meta/NamirasoftCredentialMetaDatabase.ts +1 -1
  243. package/src/row/AWSCreateRow.ts +1 -1
  244. package/src/row/AWSFullRow.ts +2 -2
  245. package/src/row/AWSRow.ts +2 -2
  246. package/src/row/AWSUpdateRow.ts +1 -1
  247. package/src/row/AzureCreateRow.ts +1 -1
  248. package/src/row/AzureFullRow.ts +2 -2
  249. package/src/row/AzureRow.ts +2 -2
  250. package/src/row/AzureUpdateRow.ts +1 -1
  251. package/src/row/GCPCreateRow.ts +1 -1
  252. package/src/row/GCPFullRow.ts +2 -2
  253. package/src/row/GCPRow.ts +2 -2
  254. package/src/row/GCPUpdateRow.ts +1 -1
@@ -19,7 +19,7 @@
19
19
  /****************************************************************/
20
20
 
21
21
  import { BaseFinalCommand } from "namirasoft-node-cli";
22
- import { IStorageMemory } from "namirasoft-core";
22
+ import { IStorageMemoryDedicated } from "namirasoft-core";
23
23
  import { NamirasoftCredentialServer } from "../NamirasoftCredentialServer";
24
24
  import { TokenManager } from "namirasoft-account";
25
25
 
@@ -34,7 +34,7 @@ export class GCPCategoryGetCommand extends BaseFinalCommand
34
34
  let token = this.app.storage.getNSAToken();
35
35
  if (token == null)
36
36
  throw new Error("Token is not available. Please login first using:\nns-credential account config \nor \nns-credential account login.");
37
- let storage = new IStorageMemory();
37
+ let storage = new IStorageMemoryDedicated();
38
38
  let manager = new TokenManager(storage, () => { });
39
39
  manager.setValue(token, false);
40
40
  let url = this.app.storage.getItem("ns-credential-server-url");
@@ -19,7 +19,7 @@
19
19
  /****************************************************************/
20
20
 
21
21
  import { BaseFinalCommand } from "namirasoft-node-cli";
22
- import { IStorageMemory } from "namirasoft-core";
22
+ import { IStorageMemoryDedicated } from "namirasoft-core";
23
23
  import { NamirasoftCredentialServer } from "../NamirasoftCredentialServer";
24
24
  import { TokenManager } from "namirasoft-account";
25
25
 
@@ -34,7 +34,7 @@ export class GCPCategoryListCommand extends BaseFinalCommand
34
34
  let token = this.app.storage.getNSAToken();
35
35
  if (token == null)
36
36
  throw new Error("Token is not available. Please login first using:\nns-credential account config \nor \nns-credential account login.");
37
- let storage = new IStorageMemory();
37
+ let storage = new IStorageMemoryDedicated();
38
38
  let manager = new TokenManager(storage, () => { });
39
39
  manager.setValue(token, false);
40
40
  let url = this.app.storage.getItem("ns-credential-server-url");
@@ -24,6 +24,7 @@ import { GCPDeleteCommand } from "./GCPDeleteCommand";
24
24
  import { GCPGetCommand } from "./GCPGetCommand";
25
25
  import { GCPListCommand } from "./GCPListCommand";
26
26
  import { GCPUpdateCommand } from "./GCPUpdateCommand";
27
+ import { GCP_GetForCommand } from "./GCP_GetForCommand";
27
28
 
28
29
  export class GCPCommand extends BaseNavigatorCommand
29
30
  {
@@ -31,6 +32,7 @@ export class GCPCommand extends BaseNavigatorCommand
31
32
  {
32
33
  super(argv, {
33
34
  "list": GCPListCommand,
35
+ "_getfor": GCP_GetForCommand,
34
36
  "get": GCPGetCommand,
35
37
  "create": GCPCreateCommand,
36
38
  "update": GCPUpdateCommand,
@@ -19,7 +19,7 @@
19
19
  /****************************************************************/
20
20
 
21
21
  import { BaseFinalCommand } from "namirasoft-node-cli";
22
- import { IStorageMemory } from "namirasoft-core";
22
+ import { IStorageMemoryDedicated } from "namirasoft-core";
23
23
  import { NamirasoftCredentialServer } from "../NamirasoftCredentialServer";
24
24
  import { TokenManager } from "namirasoft-account";
25
25
 
@@ -56,7 +56,7 @@ export class GCPCreateCommand extends BaseFinalCommand
56
56
  name: "description",
57
57
  short: "",
58
58
  description: "Provides the value of 'description' in body",
59
- optional: false,
59
+ optional: true,
60
60
  args: ["description"],
61
61
  defaults: [""]
62
62
  },
@@ -91,7 +91,7 @@ export class GCPCreateCommand extends BaseFinalCommand
91
91
  let token = this.app.storage.getNSAToken();
92
92
  if (token == null)
93
93
  throw new Error("Token is not available. Please login first using:\nns-credential account config \nor \nns-credential account login.");
94
- let storage = new IStorageMemory();
94
+ let storage = new IStorageMemoryDedicated();
95
95
  let manager = new TokenManager(storage, () => { });
96
96
  manager.setValue(token, false);
97
97
  let url = this.app.storage.getItem("ns-credential-server-url");
@@ -19,7 +19,7 @@
19
19
  /****************************************************************/
20
20
 
21
21
  import { BaseFinalCommand } from "namirasoft-node-cli";
22
- import { IStorageMemory } from "namirasoft-core";
22
+ import { IStorageMemoryDedicated } from "namirasoft-core";
23
23
  import { NamirasoftCredentialServer } from "../NamirasoftCredentialServer";
24
24
  import { TokenManager } from "namirasoft-account";
25
25
 
@@ -34,7 +34,7 @@ export class GCPDeleteCommand extends BaseFinalCommand
34
34
  let token = this.app.storage.getNSAToken();
35
35
  if (token == null)
36
36
  throw new Error("Token is not available. Please login first using:\nns-credential account config \nor \nns-credential account login.");
37
- let storage = new IStorageMemory();
37
+ let storage = new IStorageMemoryDedicated();
38
38
  let manager = new TokenManager(storage, () => { });
39
39
  manager.setValue(token, false);
40
40
  let url = this.app.storage.getItem("ns-credential-server-url");
@@ -19,7 +19,7 @@
19
19
  /****************************************************************/
20
20
 
21
21
  import { BaseFinalCommand } from "namirasoft-node-cli";
22
- import { IStorageMemory } from "namirasoft-core";
22
+ import { IStorageMemoryDedicated } from "namirasoft-core";
23
23
  import { NamirasoftCredentialServer } from "../NamirasoftCredentialServer";
24
24
  import { TokenManager } from "namirasoft-account";
25
25
 
@@ -51,7 +51,7 @@ export class GCPFieldCreateCommand extends BaseFinalCommand
51
51
  let token = this.app.storage.getNSAToken();
52
52
  if (token == null)
53
53
  throw new Error("Token is not available. Please login first using:\nns-credential account config \nor \nns-credential account login.");
54
- let storage = new IStorageMemory();
54
+ let storage = new IStorageMemoryDedicated();
55
55
  let manager = new TokenManager(storage, () => { });
56
56
  manager.setValue(token, false);
57
57
  let url = this.app.storage.getItem("ns-credential-server-url");
@@ -19,7 +19,7 @@
19
19
  /****************************************************************/
20
20
 
21
21
  import { BaseFinalCommand } from "namirasoft-node-cli";
22
- import { IStorageMemory } from "namirasoft-core";
22
+ import { IStorageMemoryDedicated } from "namirasoft-core";
23
23
  import { NamirasoftCredentialServer } from "../NamirasoftCredentialServer";
24
24
  import { TokenManager } from "namirasoft-account";
25
25
 
@@ -34,7 +34,7 @@ export class GCPFieldDeleteCommand extends BaseFinalCommand
34
34
  let token = this.app.storage.getNSAToken();
35
35
  if (token == null)
36
36
  throw new Error("Token is not available. Please login first using:\nns-credential account config \nor \nns-credential account login.");
37
- let storage = new IStorageMemory();
37
+ let storage = new IStorageMemoryDedicated();
38
38
  let manager = new TokenManager(storage, () => { });
39
39
  manager.setValue(token, false);
40
40
  let url = this.app.storage.getItem("ns-credential-server-url");
@@ -19,7 +19,7 @@
19
19
  /****************************************************************/
20
20
 
21
21
  import { BaseFinalCommand } from "namirasoft-node-cli";
22
- import { IStorageMemory } from "namirasoft-core";
22
+ import { IStorageMemoryDedicated } from "namirasoft-core";
23
23
  import { NamirasoftCredentialServer } from "../NamirasoftCredentialServer";
24
24
  import { TokenManager } from "namirasoft-account";
25
25
 
@@ -34,7 +34,7 @@ export class GCPFieldGetCommand extends BaseFinalCommand
34
34
  let token = this.app.storage.getNSAToken();
35
35
  if (token == null)
36
36
  throw new Error("Token is not available. Please login first using:\nns-credential account config \nor \nns-credential account login.");
37
- let storage = new IStorageMemory();
37
+ let storage = new IStorageMemoryDedicated();
38
38
  let manager = new TokenManager(storage, () => { });
39
39
  manager.setValue(token, false);
40
40
  let url = this.app.storage.getItem("ns-credential-server-url");
@@ -19,7 +19,7 @@
19
19
  /****************************************************************/
20
20
 
21
21
  import { BaseFinalCommand } from "namirasoft-node-cli";
22
- import { IStorageMemory } from "namirasoft-core";
22
+ import { IStorageMemoryDedicated } from "namirasoft-core";
23
23
  import { NamirasoftCredentialServer } from "../NamirasoftCredentialServer";
24
24
  import { TokenManager } from "namirasoft-account";
25
25
 
@@ -34,7 +34,7 @@ export class GCPFieldListCommand extends BaseFinalCommand
34
34
  let token = this.app.storage.getNSAToken();
35
35
  if (token == null)
36
36
  throw new Error("Token is not available. Please login first using:\nns-credential account config \nor \nns-credential account login.");
37
- let storage = new IStorageMemory();
37
+ let storage = new IStorageMemoryDedicated();
38
38
  let manager = new TokenManager(storage, () => { });
39
39
  manager.setValue(token, false);
40
40
  let url = this.app.storage.getItem("ns-credential-server-url");
@@ -19,7 +19,7 @@
19
19
  /****************************************************************/
20
20
 
21
21
  import { BaseFinalCommand } from "namirasoft-node-cli";
22
- import { IStorageMemory } from "namirasoft-core";
22
+ import { IStorageMemoryDedicated } from "namirasoft-core";
23
23
  import { NamirasoftCredentialServer } from "../NamirasoftCredentialServer";
24
24
  import { TokenManager } from "namirasoft-account";
25
25
 
@@ -51,7 +51,7 @@ export class GCPFieldUpdateCommand extends BaseFinalCommand
51
51
  let token = this.app.storage.getNSAToken();
52
52
  if (token == null)
53
53
  throw new Error("Token is not available. Please login first using:\nns-credential account config \nor \nns-credential account login.");
54
- let storage = new IStorageMemory();
54
+ let storage = new IStorageMemoryDedicated();
55
55
  let manager = new TokenManager(storage, () => { });
56
56
  manager.setValue(token, false);
57
57
  let url = this.app.storage.getItem("ns-credential-server-url");
@@ -19,7 +19,7 @@
19
19
  /****************************************************************/
20
20
 
21
21
  import { BaseFinalCommand } from "namirasoft-node-cli";
22
- import { IStorageMemory } from "namirasoft-core";
22
+ import { IStorageMemoryDedicated } from "namirasoft-core";
23
23
  import { NamirasoftCredentialServer } from "../NamirasoftCredentialServer";
24
24
  import { TokenManager } from "namirasoft-account";
25
25
 
@@ -34,7 +34,7 @@ export class GCPGetCommand extends BaseFinalCommand
34
34
  let token = this.app.storage.getNSAToken();
35
35
  if (token == null)
36
36
  throw new Error("Token is not available. Please login first using:\nns-credential account config \nor \nns-credential account login.");
37
- let storage = new IStorageMemory();
37
+ let storage = new IStorageMemoryDedicated();
38
38
  let manager = new TokenManager(storage, () => { });
39
39
  manager.setValue(token, false);
40
40
  let url = this.app.storage.getItem("ns-credential-server-url");
@@ -19,7 +19,7 @@
19
19
  /****************************************************************/
20
20
 
21
21
  import { BaseFinalCommand } from "namirasoft-node-cli";
22
- import { IStorageMemory } from "namirasoft-core";
22
+ import { IStorageMemoryDedicated } from "namirasoft-core";
23
23
  import { NamirasoftCredentialServer } from "../NamirasoftCredentialServer";
24
24
  import { TokenManager } from "namirasoft-account";
25
25
 
@@ -34,7 +34,7 @@ export class GCPListCommand extends BaseFinalCommand
34
34
  let token = this.app.storage.getNSAToken();
35
35
  if (token == null)
36
36
  throw new Error("Token is not available. Please login first using:\nns-credential account config \nor \nns-credential account login.");
37
- let storage = new IStorageMemory();
37
+ let storage = new IStorageMemoryDedicated();
38
38
  let manager = new TokenManager(storage, () => { });
39
39
  manager.setValue(token, false);
40
40
  let url = this.app.storage.getItem("ns-credential-server-url");
@@ -19,7 +19,7 @@
19
19
  /****************************************************************/
20
20
 
21
21
  import { BaseFinalCommand } from "namirasoft-node-cli";
22
- import { IStorageMemory } from "namirasoft-core";
22
+ import { IStorageMemoryDedicated } from "namirasoft-core";
23
23
  import { NamirasoftCredentialServer } from "../NamirasoftCredentialServer";
24
24
  import { TokenManager } from "namirasoft-account";
25
25
 
@@ -51,7 +51,7 @@ export class GCPTagCreateCommand extends BaseFinalCommand
51
51
  let token = this.app.storage.getNSAToken();
52
52
  if (token == null)
53
53
  throw new Error("Token is not available. Please login first using:\nns-credential account config \nor \nns-credential account login.");
54
- let storage = new IStorageMemory();
54
+ let storage = new IStorageMemoryDedicated();
55
55
  let manager = new TokenManager(storage, () => { });
56
56
  manager.setValue(token, false);
57
57
  let url = this.app.storage.getItem("ns-credential-server-url");
@@ -19,7 +19,7 @@
19
19
  /****************************************************************/
20
20
 
21
21
  import { BaseFinalCommand } from "namirasoft-node-cli";
22
- import { IStorageMemory } from "namirasoft-core";
22
+ import { IStorageMemoryDedicated } from "namirasoft-core";
23
23
  import { NamirasoftCredentialServer } from "../NamirasoftCredentialServer";
24
24
  import { TokenManager } from "namirasoft-account";
25
25
 
@@ -34,7 +34,7 @@ export class GCPTagDeleteCommand extends BaseFinalCommand
34
34
  let token = this.app.storage.getNSAToken();
35
35
  if (token == null)
36
36
  throw new Error("Token is not available. Please login first using:\nns-credential account config \nor \nns-credential account login.");
37
- let storage = new IStorageMemory();
37
+ let storage = new IStorageMemoryDedicated();
38
38
  let manager = new TokenManager(storage, () => { });
39
39
  manager.setValue(token, false);
40
40
  let url = this.app.storage.getItem("ns-credential-server-url");
@@ -19,7 +19,7 @@
19
19
  /****************************************************************/
20
20
 
21
21
  import { BaseFinalCommand } from "namirasoft-node-cli";
22
- import { IStorageMemory } from "namirasoft-core";
22
+ import { IStorageMemoryDedicated } from "namirasoft-core";
23
23
  import { NamirasoftCredentialServer } from "../NamirasoftCredentialServer";
24
24
  import { TokenManager } from "namirasoft-account";
25
25
 
@@ -34,7 +34,7 @@ export class GCPTagGetCommand extends BaseFinalCommand
34
34
  let token = this.app.storage.getNSAToken();
35
35
  if (token == null)
36
36
  throw new Error("Token is not available. Please login first using:\nns-credential account config \nor \nns-credential account login.");
37
- let storage = new IStorageMemory();
37
+ let storage = new IStorageMemoryDedicated();
38
38
  let manager = new TokenManager(storage, () => { });
39
39
  manager.setValue(token, false);
40
40
  let url = this.app.storage.getItem("ns-credential-server-url");
@@ -19,7 +19,7 @@
19
19
  /****************************************************************/
20
20
 
21
21
  import { BaseFinalCommand } from "namirasoft-node-cli";
22
- import { IStorageMemory } from "namirasoft-core";
22
+ import { IStorageMemoryDedicated } from "namirasoft-core";
23
23
  import { NamirasoftCredentialServer } from "../NamirasoftCredentialServer";
24
24
  import { TokenManager } from "namirasoft-account";
25
25
 
@@ -34,7 +34,7 @@ export class GCPTagListCommand extends BaseFinalCommand
34
34
  let token = this.app.storage.getNSAToken();
35
35
  if (token == null)
36
36
  throw new Error("Token is not available. Please login first using:\nns-credential account config \nor \nns-credential account login.");
37
- let storage = new IStorageMemory();
37
+ let storage = new IStorageMemoryDedicated();
38
38
  let manager = new TokenManager(storage, () => { });
39
39
  manager.setValue(token, false);
40
40
  let url = this.app.storage.getItem("ns-credential-server-url");
@@ -19,7 +19,7 @@
19
19
  /****************************************************************/
20
20
 
21
21
  import { BaseFinalCommand } from "namirasoft-node-cli";
22
- import { IStorageMemory } from "namirasoft-core";
22
+ import { IStorageMemoryDedicated } from "namirasoft-core";
23
23
  import { NamirasoftCredentialServer } from "../NamirasoftCredentialServer";
24
24
  import { TokenManager } from "namirasoft-account";
25
25
 
@@ -51,7 +51,7 @@ export class GCPTagUpdateCommand extends BaseFinalCommand
51
51
  let token = this.app.storage.getNSAToken();
52
52
  if (token == null)
53
53
  throw new Error("Token is not available. Please login first using:\nns-credential account config \nor \nns-credential account login.");
54
- let storage = new IStorageMemory();
54
+ let storage = new IStorageMemoryDedicated();
55
55
  let manager = new TokenManager(storage, () => { });
56
56
  manager.setValue(token, false);
57
57
  let url = this.app.storage.getItem("ns-credential-server-url");
@@ -19,7 +19,7 @@
19
19
  /****************************************************************/
20
20
 
21
21
  import { BaseFinalCommand } from "namirasoft-node-cli";
22
- import { IStorageMemory } from "namirasoft-core";
22
+ import { IStorageMemoryDedicated } from "namirasoft-core";
23
23
  import { NamirasoftCredentialServer } from "../NamirasoftCredentialServer";
24
24
  import { TokenManager } from "namirasoft-account";
25
25
 
@@ -56,7 +56,7 @@ export class GCPUpdateCommand extends BaseFinalCommand
56
56
  name: "description",
57
57
  short: "",
58
58
  description: "Provides the value of 'description' in body",
59
- optional: false,
59
+ optional: true,
60
60
  args: ["description"],
61
61
  defaults: [""]
62
62
  },
@@ -91,7 +91,7 @@ export class GCPUpdateCommand extends BaseFinalCommand
91
91
  let token = this.app.storage.getNSAToken();
92
92
  if (token == null)
93
93
  throw new Error("Token is not available. Please login first using:\nns-credential account config \nor \nns-credential account login.");
94
- let storage = new IStorageMemory();
94
+ let storage = new IStorageMemoryDedicated();
95
95
  let manager = new TokenManager(storage, () => { });
96
96
  manager.setValue(token, false);
97
97
  let url = this.app.storage.getItem("ns-credential-server-url");
@@ -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 GCP_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 account config \nor \nns-credential account login.");
37
+ let storage = new IStorageMemoryDedicated();
38
+ let manager = new TokenManager(storage, () => { });
39
+ manager.setValue(token, false);
40
+ let url = this.app.storage.getItem("ns-credential-server-url");
41
+ let server = new NamirasoftCredentialServer(url, manager, e => this.app.logger.error(e.message));
42
+ let ans = await server.gcp._GetFor(this.arg_values[0], this.arg_values[1]);
43
+ this.app.logger.success(JSON.stringify(ans));
44
+ }
45
+ };
@@ -19,7 +19,7 @@
19
19
  /****************************************************************/
20
20
 
21
21
  import { BaseFinalCommand } from "namirasoft-node-cli";
22
- import { IStorageMemory } from "namirasoft-core";
22
+ import { IStorageMemoryDedicated } from "namirasoft-core";
23
23
  import { NamirasoftCredentialServer } from "../NamirasoftCredentialServer";
24
24
  import { TokenManager } from "namirasoft-account";
25
25
 
@@ -34,7 +34,7 @@ export class HealthzGetCommand extends BaseFinalCommand
34
34
  let token = this.app.storage.getNSAToken();
35
35
  if (token == null)
36
36
  throw new Error("Token is not available. Please login first using:\nns-credential account config \nor \nns-credential account login.");
37
- let storage = new IStorageMemory();
37
+ let storage = new IStorageMemoryDedicated();
38
38
  let manager = new TokenManager(storage, () => { });
39
39
  manager.setValue(token, false);
40
40
  let url = this.app.storage.getItem("ns-credential-server-url");
@@ -19,7 +19,7 @@
19
19
  /****************************************************************/
20
20
 
21
21
  import { BaseFinalCommand } from "namirasoft-node-cli";
22
- import { IStorageMemory } from "namirasoft-core";
22
+ import { IStorageMemoryDedicated } from "namirasoft-core";
23
23
  import { NamirasoftCredentialServer } from "../NamirasoftCredentialServer";
24
24
  import { TokenManager } from "namirasoft-account";
25
25
 
@@ -34,7 +34,7 @@ export class ValueListCommand extends BaseFinalCommand
34
34
  let token = this.app.storage.getNSAToken();
35
35
  if (token == null)
36
36
  throw new Error("Token is not available. Please login first using:\nns-credential account config \nor \nns-credential account login.");
37
- let storage = new IStorageMemory();
37
+ let storage = new IStorageMemoryDedicated();
38
38
  let manager = new TokenManager(storage, () => { });
39
39
  manager.setValue(token, false);
40
40
  let url = this.app.storage.getItem("ns-credential-server-url");
package/src/index.ts CHANGED
@@ -57,6 +57,7 @@ export * from "./command/AWSTagGetCommand";
57
57
  export * from "./command/AWSTagListCommand";
58
58
  export * from "./command/AWSTagUpdateCommand";
59
59
  export * from "./command/AWSUpdateCommand";
60
+ export * from "./command/AWS_GetForCommand";
60
61
  export * from "./command/AzureCategoryCommand";
61
62
  export * from "./command/AzureCategoryCreateCommand";
62
63
  export * from "./command/AzureCategoryDeleteCommand";
@@ -80,6 +81,7 @@ export * from "./command/AzureTagGetCommand";
80
81
  export * from "./command/AzureTagListCommand";
81
82
  export * from "./command/AzureTagUpdateCommand";
82
83
  export * from "./command/AzureUpdateCommand";
84
+ export * from "./command/Azure_GetForCommand";
83
85
  export * from "./command/GCPCategoryCommand";
84
86
  export * from "./command/GCPCategoryCreateCommand";
85
87
  export * from "./command/GCPCategoryDeleteCommand";
@@ -103,6 +105,7 @@ export * from "./command/GCPTagGetCommand";
103
105
  export * from "./command/GCPTagListCommand";
104
106
  export * from "./command/GCPTagUpdateCommand";
105
107
  export * from "./command/GCPUpdateCommand";
108
+ export * from "./command/GCP_GetForCommand";
106
109
  export * from "./command/HealthzCommand";
107
110
  export * from "./command/HealthzGetCommand";
108
111
  export * from "./command/ValueCommand";
@@ -41,12 +41,12 @@ export class AWSMetaTable extends NSBaseMetaTable<NamirasoftCredentialServer, AW
41
41
  super(database, "aws", "AWS", new BaseUUID("crd-aws"));
42
42
  this.columns = {
43
43
  id: new BaseMetaColumn(this, "id", "ID", "String", true),
44
- user_id: new BaseMetaColumn(this, "user_id", "User ID", "Integer", true),
44
+ user_id: new BaseMetaColumn(this, "user_id", "User ID", "String", true),
45
45
  workspace_id: new BaseMetaColumn(this, "workspace_id", "Workspace ID", "String", true),
46
46
  name: new BaseMetaColumn(this, "name", "Name", "String", true),
47
47
  access_key: new BaseMetaColumn(this, "access_key", "Access Key", "String", true),
48
48
  secret_key: new BaseMetaColumn(this, "secret_key", "Secret Key", "String", true),
49
- description: new BaseMetaColumn(this, "description", "Description", "String", true),
49
+ description: new BaseMetaColumn(this, "description", "Description", "String", false),
50
50
  created_at: new BaseMetaColumn(this, "created_at", "Created At", "DateTime", true),
51
51
  updated_at: new BaseMetaColumn(this, "updated_at", "Updated At", "DateTime", true),
52
52
  };
@@ -42,13 +42,13 @@ export class AzureMetaTable extends NSBaseMetaTable<NamirasoftCredentialServer,
42
42
  super(database, "azure", "Azure", new BaseUUID("crd-azr"));
43
43
  this.columns = {
44
44
  id: new BaseMetaColumn(this, "id", "ID", "String", true),
45
- user_id: new BaseMetaColumn(this, "user_id", "User ID", "Integer", true),
45
+ user_id: new BaseMetaColumn(this, "user_id", "User ID", "String", true),
46
46
  workspace_id: new BaseMetaColumn(this, "workspace_id", "Workspace ID", "String", true),
47
47
  name: new BaseMetaColumn(this, "name", "Name", "String", true),
48
48
  tenant_id: new BaseMetaColumn(this, "tenant_id", "Tenant ID", "String", true),
49
49
  client_id: new BaseMetaColumn(this, "client_id", "Client ID", "String", true),
50
50
  client_secret: new BaseMetaColumn(this, "client_secret", "Client Secret", "String", true),
51
- description: new BaseMetaColumn(this, "description", "Description", "String", true),
51
+ description: new BaseMetaColumn(this, "description", "Description", "String", false),
52
52
  created_at: new BaseMetaColumn(this, "created_at", "Created At", "DateTime", true),
53
53
  updated_at: new BaseMetaColumn(this, "updated_at", "Updated At", "DateTime", true),
54
54
  };
@@ -40,11 +40,11 @@ export class GCPMetaTable extends NSBaseMetaTable<NamirasoftCredentialServer, GC
40
40
  super(database, "gcp", "GCP", new BaseUUID("crd-gcp"));
41
41
  this.columns = {
42
42
  id: new BaseMetaColumn(this, "id", "ID", "String", true),
43
- user_id: new BaseMetaColumn(this, "user_id", "User ID", "Integer", true),
43
+ user_id: new BaseMetaColumn(this, "user_id", "User ID", "String", true),
44
44
  workspace_id: new BaseMetaColumn(this, "workspace_id", "Workspace ID", "String", true),
45
45
  name: new BaseMetaColumn(this, "name", "Name", "String", true),
46
46
  credentials: new BaseMetaColumn(this, "credentials", "Credentials", "String", true),
47
- description: new BaseMetaColumn(this, "description", "Description", "String", true),
47
+ description: new BaseMetaColumn(this, "description", "Description", "String", false),
48
48
  created_at: new BaseMetaColumn(this, "created_at", "Created At", "DateTime", true),
49
49
  updated_at: new BaseMetaColumn(this, "updated_at", "Updated At", "DateTime", true),
50
50
  };
@@ -55,7 +55,7 @@ export class NamirasoftCredentialMetaDatabase extends NSBaseMetaDatabase<Namiras
55
55
  };
56
56
  constructor(manager?: TokenManager, onError?: (error: Error) => void)
57
57
  {
58
- super({ id: "prd-986059d99192405b", name: "Namirasoft Credential", headline: "Credentail Service", description: "Ensure code integrity with Code Verify. Perform security checks, validate code, and maintain high standards for your software.", logo: "https://static.namirasoft.com/image/namirasoft/credential/logo/base.png", link: "https://credential.namirasoft.com" });
58
+ super({ id: "prd-986059d99192405b", name: "Namirasoft Credential", headline: "Secure Credential Management", description: "Grant Namirasoft secure access to your payment credentials, allowing us to take controlled actions on your behalf.", logo: "https://static.namirasoft.com/image/namirasoft/credential/logo/base.png", link: "https://credential.namirasoft.com" });
59
59
  this.manager = manager;
60
60
  this.onError = onError;
61
61
  this.tables = {
@@ -28,7 +28,7 @@ export type AWSCreateRow =
28
28
  name: string;
29
29
  access_key: string;
30
30
  secret_key: string;
31
- description: string;
31
+ description: (string | null);
32
32
  aws_category: (EntityCategoryInputRow | null)[];
33
33
  aws_field: (EntityFieldInputRow | null)[];
34
34
  aws_tag: (EntityTagInputRow | null)[];
@@ -25,12 +25,12 @@ import { EntityTagInputRow } from "./EntityTagInputRow";
25
25
  export type AWSFullRow =
26
26
  {
27
27
  id: string;
28
- user_id: number;
28
+ user_id: string;
29
29
  workspace_id: string;
30
30
  name: string;
31
31
  access_key: string;
32
32
  secret_key: string;
33
- description: string;
33
+ description: (string | null);
34
34
  created_at: Date;
35
35
  updated_at: Date;
36
36
  aws_category: (EntityCategoryInputRow | null)[];
package/src/row/AWSRow.ts CHANGED
@@ -21,12 +21,12 @@
21
21
  export type AWSRow =
22
22
  {
23
23
  id: string;
24
- user_id: number;
24
+ user_id: string;
25
25
  workspace_id: string;
26
26
  name: string;
27
27
  access_key: string;
28
28
  secret_key: string;
29
- description: string;
29
+ description: (string | null);
30
30
  created_at: Date;
31
31
  updated_at: Date;
32
32
  }
@@ -28,7 +28,7 @@ export type AWSUpdateRow =
28
28
  name: string;
29
29
  access_key: (string | null);
30
30
  secret_key: (string | null);
31
- description: string;
31
+ description: (string | null);
32
32
  aws_category: (EntityCategoryInputRow | null)[];
33
33
  aws_field: (EntityFieldInputRow | null)[];
34
34
  aws_tag: (EntityTagInputRow | null)[];
@@ -29,7 +29,7 @@ export type AzureCreateRow =
29
29
  tenant_id: string;
30
30
  client_id: string;
31
31
  client_secret: string;
32
- description: string;
32
+ description: (string | null);
33
33
  azure_category: (EntityCategoryInputRow | null)[];
34
34
  azure_field: (EntityFieldInputRow | null)[];
35
35
  azure_tag: (EntityTagInputRow | null)[];
@@ -25,13 +25,13 @@ import { EntityTagInputRow } from "./EntityTagInputRow";
25
25
  export type AzureFullRow =
26
26
  {
27
27
  id: string;
28
- user_id: number;
28
+ user_id: string;
29
29
  workspace_id: string;
30
30
  name: string;
31
31
  tenant_id: string;
32
32
  client_id: string;
33
33
  client_secret: string;
34
- description: string;
34
+ description: (string | null);
35
35
  created_at: Date;
36
36
  updated_at: Date;
37
37
  azure_category: (EntityCategoryInputRow | null)[];
@@ -21,13 +21,13 @@
21
21
  export type AzureRow =
22
22
  {
23
23
  id: string;
24
- user_id: number;
24
+ user_id: string;
25
25
  workspace_id: string;
26
26
  name: string;
27
27
  tenant_id: string;
28
28
  client_id: string;
29
29
  client_secret: string;
30
- description: string;
30
+ description: (string | null);
31
31
  created_at: Date;
32
32
  updated_at: Date;
33
33
  }
@@ -29,7 +29,7 @@ export type AzureUpdateRow =
29
29
  tenant_id: (string | null);
30
30
  client_id: (string | null);
31
31
  client_secret: (string | null);
32
- description: string;
32
+ description: (string | null);
33
33
  azure_category: (EntityCategoryInputRow | null)[];
34
34
  azure_field: (EntityFieldInputRow | null)[];
35
35
  azure_tag: (EntityTagInputRow | null)[];