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.
Files changed (296) hide show
  1. package/dist/NamirasoftCredentialServer.js +1 -1
  2. package/dist/NamirasoftCredentialServerAWS.d.ts +2 -3
  3. package/dist/NamirasoftCredentialServerAWS.js.map +1 -1
  4. package/dist/NamirasoftCredentialServerAzure.d.ts +2 -3
  5. package/dist/NamirasoftCredentialServerAzure.js.map +1 -1
  6. package/dist/NamirasoftCredentialServerBasicAuth.d.ts +2 -3
  7. package/dist/NamirasoftCredentialServerBasicAuth.js.map +1 -1
  8. package/dist/NamirasoftCredentialServerCloud.d.ts +2 -3
  9. package/dist/NamirasoftCredentialServerCloud.js.map +1 -1
  10. package/dist/NamirasoftCredentialServerCredential.d.ts +2 -3
  11. package/dist/NamirasoftCredentialServerCredential.js.map +1 -1
  12. package/dist/NamirasoftCredentialServerDatabase.d.ts +2 -3
  13. package/dist/NamirasoftCredentialServerDatabase.js.map +1 -1
  14. package/dist/NamirasoftCredentialServerGCP.d.ts +2 -3
  15. package/dist/NamirasoftCredentialServerGCP.js.map +1 -1
  16. package/dist/NamirasoftCredentialServerGitHub.d.ts +2 -3
  17. package/dist/NamirasoftCredentialServerGitHub.js.map +1 -1
  18. package/dist/NamirasoftCredentialServerGitLab.d.ts +2 -3
  19. package/dist/NamirasoftCredentialServerGitLab.js.map +1 -1
  20. package/dist/NamirasoftCredentialServerHostBasicAuth.d.ts +2 -3
  21. package/dist/NamirasoftCredentialServerHostBasicAuth.js.map +1 -1
  22. package/dist/NamirasoftCredentialServerHostTokenAuth.d.ts +2 -3
  23. package/dist/NamirasoftCredentialServerHostTokenAuth.js.map +1 -1
  24. package/dist/NamirasoftCredentialServerProtocol.d.ts +2 -3
  25. package/dist/NamirasoftCredentialServerProtocol.js.map +1 -1
  26. package/dist/NamirasoftCredentialServerSSH.d.ts +2 -3
  27. package/dist/NamirasoftCredentialServerSSH.js.map +1 -1
  28. package/dist/NamirasoftCredentialServerSourceControl.d.ts +2 -3
  29. package/dist/NamirasoftCredentialServerSourceControl.js.map +1 -1
  30. package/dist/NamirasoftCredentialServerTokenAuth.d.ts +2 -3
  31. package/dist/NamirasoftCredentialServerTokenAuth.js.map +1 -1
  32. package/dist/command/AWSCreateCommand.js +18 -0
  33. package/dist/command/AWSCreateCommand.js.map +1 -1
  34. package/dist/command/AWSUpdateCommand.js +18 -0
  35. package/dist/command/AWSUpdateCommand.js.map +1 -1
  36. package/dist/command/AzureCreateCommand.js +18 -0
  37. package/dist/command/AzureCreateCommand.js.map +1 -1
  38. package/dist/command/AzureUpdateCommand.js +18 -0
  39. package/dist/command/AzureUpdateCommand.js.map +1 -1
  40. package/dist/command/BasicAuthCreateCommand.js +18 -0
  41. package/dist/command/BasicAuthCreateCommand.js.map +1 -1
  42. package/dist/command/BasicAuthUpdateCommand.js +18 -0
  43. package/dist/command/BasicAuthUpdateCommand.js.map +1 -1
  44. package/dist/command/GCPCreateCommand.js +18 -0
  45. package/dist/command/GCPCreateCommand.js.map +1 -1
  46. package/dist/command/GCPUpdateCommand.js +18 -0
  47. package/dist/command/GCPUpdateCommand.js.map +1 -1
  48. package/dist/command/GitHubCreateCommand.js +18 -0
  49. package/dist/command/GitHubCreateCommand.js.map +1 -1
  50. package/dist/command/GitHubUpdateCommand.js +18 -0
  51. package/dist/command/GitHubUpdateCommand.js.map +1 -1
  52. package/dist/command/GitLabCreateCommand.js +18 -0
  53. package/dist/command/GitLabCreateCommand.js.map +1 -1
  54. package/dist/command/GitLabUpdateCommand.js +18 -0
  55. package/dist/command/GitLabUpdateCommand.js.map +1 -1
  56. package/dist/command/HostBasicAuthCreateCommand.js +18 -0
  57. package/dist/command/HostBasicAuthCreateCommand.js.map +1 -1
  58. package/dist/command/HostBasicAuthUpdateCommand.js +18 -0
  59. package/dist/command/HostBasicAuthUpdateCommand.js.map +1 -1
  60. package/dist/command/HostTokenAuthCreateCommand.js +18 -0
  61. package/dist/command/HostTokenAuthCreateCommand.js.map +1 -1
  62. package/dist/command/HostTokenAuthUpdateCommand.js +18 -0
  63. package/dist/command/HostTokenAuthUpdateCommand.js.map +1 -1
  64. package/dist/command/SSHCreateCommand.js +18 -0
  65. package/dist/command/SSHCreateCommand.js.map +1 -1
  66. package/dist/command/SSHUpdateCommand.js +18 -0
  67. package/dist/command/SSHUpdateCommand.js.map +1 -1
  68. package/dist/command/TokenAuthCreateCommand.js +18 -0
  69. package/dist/command/TokenAuthCreateCommand.js.map +1 -1
  70. package/dist/command/TokenAuthUpdateCommand.js +18 -0
  71. package/dist/command/TokenAuthUpdateCommand.js.map +1 -1
  72. package/dist/index.d.ts +0 -15
  73. package/dist/index.js +0 -15
  74. package/dist/index.js.map +1 -1
  75. package/dist/meta/AWSMetaTable.d.ts +6 -0
  76. package/dist/meta/AWSMetaTable.js +6 -0
  77. package/dist/meta/AWSMetaTable.js.map +1 -1
  78. package/dist/meta/AzureMetaTable.d.ts +6 -0
  79. package/dist/meta/AzureMetaTable.js +6 -0
  80. package/dist/meta/AzureMetaTable.js.map +1 -1
  81. package/dist/meta/BasicAuthMetaTable.d.ts +6 -0
  82. package/dist/meta/BasicAuthMetaTable.js +6 -0
  83. package/dist/meta/BasicAuthMetaTable.js.map +1 -1
  84. package/dist/meta/CloudMetaTable.d.ts +5 -0
  85. package/dist/meta/CloudMetaTable.js +5 -0
  86. package/dist/meta/CloudMetaTable.js.map +1 -1
  87. package/dist/meta/DatabaseMetaTable.d.ts +5 -0
  88. package/dist/meta/DatabaseMetaTable.js +5 -0
  89. package/dist/meta/DatabaseMetaTable.js.map +1 -1
  90. package/dist/meta/GCPMetaTable.d.ts +6 -0
  91. package/dist/meta/GCPMetaTable.js +6 -0
  92. package/dist/meta/GCPMetaTable.js.map +1 -1
  93. package/dist/meta/GitHubMetaTable.d.ts +6 -0
  94. package/dist/meta/GitHubMetaTable.js +6 -0
  95. package/dist/meta/GitHubMetaTable.js.map +1 -1
  96. package/dist/meta/GitLabMetaTable.d.ts +6 -0
  97. package/dist/meta/GitLabMetaTable.js +6 -0
  98. package/dist/meta/GitLabMetaTable.js.map +1 -1
  99. package/dist/meta/HostBasicAuthMetaTable.d.ts +6 -0
  100. package/dist/meta/HostBasicAuthMetaTable.js +6 -0
  101. package/dist/meta/HostBasicAuthMetaTable.js.map +1 -1
  102. package/dist/meta/HostTokenAuthMetaTable.d.ts +6 -0
  103. package/dist/meta/HostTokenAuthMetaTable.js +6 -0
  104. package/dist/meta/HostTokenAuthMetaTable.js.map +1 -1
  105. package/dist/meta/ProtocolMetaTable.d.ts +5 -0
  106. package/dist/meta/ProtocolMetaTable.js +5 -0
  107. package/dist/meta/ProtocolMetaTable.js.map +1 -1
  108. package/dist/meta/SourceControlMetaTable.d.ts +5 -0
  109. package/dist/meta/SourceControlMetaTable.js +5 -0
  110. package/dist/meta/SourceControlMetaTable.js.map +1 -1
  111. package/dist/meta/SshMetaTable.d.ts +6 -0
  112. package/dist/meta/SshMetaTable.js +6 -0
  113. package/dist/meta/SshMetaTable.js.map +1 -1
  114. package/dist/meta/TokenAuthMetaTable.d.ts +6 -0
  115. package/dist/meta/TokenAuthMetaTable.js +6 -0
  116. package/dist/meta/TokenAuthMetaTable.js.map +1 -1
  117. package/dist/row/AWSCreateRow.d.ts +2 -0
  118. package/dist/row/AWSRow.d.ts +8 -0
  119. package/dist/row/AWSUpdateRow.d.ts +2 -0
  120. package/dist/row/AzureCreateRow.d.ts +2 -0
  121. package/dist/row/AzureRow.d.ts +8 -0
  122. package/dist/row/AzureUpdateRow.d.ts +2 -0
  123. package/dist/row/BasicAuthCreateRow.d.ts +2 -0
  124. package/dist/row/BasicAuthRow.d.ts +8 -0
  125. package/dist/row/BasicAuthUpdateRow.d.ts +2 -0
  126. package/dist/row/CloudRow.d.ts +7 -0
  127. package/dist/row/DatabaseRow.d.ts +7 -0
  128. package/dist/row/GCPCreateRow.d.ts +2 -0
  129. package/dist/row/GCPRow.d.ts +8 -0
  130. package/dist/row/GCPUpdateRow.d.ts +2 -0
  131. package/dist/row/GitHubCreateRow.d.ts +2 -0
  132. package/dist/row/GitHubRow.d.ts +8 -0
  133. package/dist/row/GitHubUpdateRow.d.ts +2 -0
  134. package/dist/row/GitLabCreateRow.d.ts +2 -0
  135. package/dist/row/GitLabRow.d.ts +8 -0
  136. package/dist/row/GitLabUpdateRow.d.ts +2 -0
  137. package/dist/row/HostBasicAuthCreateRow.d.ts +2 -0
  138. package/dist/row/HostBasicAuthRow.d.ts +8 -0
  139. package/dist/row/HostBasicAuthUpdateRow.d.ts +2 -0
  140. package/dist/row/HostTokenAuthCreateRow.d.ts +2 -0
  141. package/dist/row/HostTokenAuthRow.d.ts +8 -0
  142. package/dist/row/HostTokenAuthUpdateRow.d.ts +2 -0
  143. package/dist/row/ProtocolRow.d.ts +7 -0
  144. package/dist/row/SSHCreateRow.d.ts +2 -0
  145. package/dist/row/SSHUpdateRow.d.ts +2 -0
  146. package/dist/row/SourceControlRow.d.ts +7 -0
  147. package/dist/row/SshRow.d.ts +8 -0
  148. package/dist/row/TokenAuthCreateRow.d.ts +2 -0
  149. package/dist/row/TokenAuthRow.d.ts +8 -0
  150. package/dist/row/TokenAuthUpdateRow.d.ts +2 -0
  151. package/package.json +1 -1
  152. package/src/NamirasoftCredentialServer.ts +1 -1
  153. package/src/NamirasoftCredentialServerAWS.ts +4 -5
  154. package/src/NamirasoftCredentialServerAzure.ts +4 -5
  155. package/src/NamirasoftCredentialServerBasicAuth.ts +4 -5
  156. package/src/NamirasoftCredentialServerCloud.ts +4 -5
  157. package/src/NamirasoftCredentialServerCredential.ts +4 -5
  158. package/src/NamirasoftCredentialServerDatabase.ts +4 -5
  159. package/src/NamirasoftCredentialServerGCP.ts +4 -5
  160. package/src/NamirasoftCredentialServerGitHub.ts +4 -5
  161. package/src/NamirasoftCredentialServerGitLab.ts +4 -5
  162. package/src/NamirasoftCredentialServerHostBasicAuth.ts +4 -5
  163. package/src/NamirasoftCredentialServerHostTokenAuth.ts +4 -5
  164. package/src/NamirasoftCredentialServerProtocol.ts +4 -5
  165. package/src/NamirasoftCredentialServerSSH.ts +4 -5
  166. package/src/NamirasoftCredentialServerSourceControl.ts +4 -5
  167. package/src/NamirasoftCredentialServerTokenAuth.ts +4 -5
  168. package/src/command/AWSCreateCommand.ts +18 -0
  169. package/src/command/AWSUpdateCommand.ts +18 -0
  170. package/src/command/AzureCreateCommand.ts +18 -0
  171. package/src/command/AzureUpdateCommand.ts +18 -0
  172. package/src/command/BasicAuthCreateCommand.ts +18 -0
  173. package/src/command/BasicAuthUpdateCommand.ts +18 -0
  174. package/src/command/GCPCreateCommand.ts +18 -0
  175. package/src/command/GCPUpdateCommand.ts +18 -0
  176. package/src/command/GitHubCreateCommand.ts +18 -0
  177. package/src/command/GitHubUpdateCommand.ts +18 -0
  178. package/src/command/GitLabCreateCommand.ts +18 -0
  179. package/src/command/GitLabUpdateCommand.ts +18 -0
  180. package/src/command/HostBasicAuthCreateCommand.ts +18 -0
  181. package/src/command/HostBasicAuthUpdateCommand.ts +18 -0
  182. package/src/command/HostTokenAuthCreateCommand.ts +18 -0
  183. package/src/command/HostTokenAuthUpdateCommand.ts +18 -0
  184. package/src/command/SSHCreateCommand.ts +18 -0
  185. package/src/command/SSHUpdateCommand.ts +18 -0
  186. package/src/command/TokenAuthCreateCommand.ts +18 -0
  187. package/src/command/TokenAuthUpdateCommand.ts +18 -0
  188. package/src/index.ts +0 -15
  189. package/src/meta/AWSMetaTable.ts +12 -0
  190. package/src/meta/AzureMetaTable.ts +12 -0
  191. package/src/meta/BasicAuthMetaTable.ts +12 -0
  192. package/src/meta/CloudMetaTable.ts +10 -0
  193. package/src/meta/DatabaseMetaTable.ts +10 -0
  194. package/src/meta/GCPMetaTable.ts +12 -0
  195. package/src/meta/GitHubMetaTable.ts +12 -0
  196. package/src/meta/GitLabMetaTable.ts +12 -0
  197. package/src/meta/HostBasicAuthMetaTable.ts +12 -0
  198. package/src/meta/HostTokenAuthMetaTable.ts +12 -0
  199. package/src/meta/ProtocolMetaTable.ts +10 -0
  200. package/src/meta/SourceControlMetaTable.ts +10 -0
  201. package/src/meta/SshMetaTable.ts +12 -0
  202. package/src/meta/TokenAuthMetaTable.ts +12 -0
  203. package/src/row/AWSCreateRow.ts +2 -0
  204. package/src/row/AWSRow.ts +9 -0
  205. package/src/row/AWSUpdateRow.ts +2 -0
  206. package/src/row/AzureCreateRow.ts +2 -0
  207. package/src/row/AzureRow.ts +9 -0
  208. package/src/row/AzureUpdateRow.ts +2 -0
  209. package/src/row/BasicAuthCreateRow.ts +2 -0
  210. package/src/row/BasicAuthRow.ts +9 -0
  211. package/src/row/BasicAuthUpdateRow.ts +2 -0
  212. package/src/row/CloudRow.ts +8 -0
  213. package/src/row/DatabaseRow.ts +7 -0
  214. package/src/row/GCPCreateRow.ts +2 -0
  215. package/src/row/GCPRow.ts +9 -0
  216. package/src/row/GCPUpdateRow.ts +2 -0
  217. package/src/row/GitHubCreateRow.ts +2 -0
  218. package/src/row/GitHubRow.ts +8 -0
  219. package/src/row/GitHubUpdateRow.ts +2 -0
  220. package/src/row/GitLabCreateRow.ts +2 -0
  221. package/src/row/GitLabRow.ts +8 -0
  222. package/src/row/GitLabUpdateRow.ts +2 -0
  223. package/src/row/HostBasicAuthCreateRow.ts +2 -0
  224. package/src/row/HostBasicAuthRow.ts +9 -0
  225. package/src/row/HostBasicAuthUpdateRow.ts +2 -0
  226. package/src/row/HostTokenAuthCreateRow.ts +2 -0
  227. package/src/row/HostTokenAuthRow.ts +9 -0
  228. package/src/row/HostTokenAuthUpdateRow.ts +2 -0
  229. package/src/row/ProtocolRow.ts +8 -0
  230. package/src/row/SSHCreateRow.ts +2 -0
  231. package/src/row/SSHUpdateRow.ts +2 -0
  232. package/src/row/SourceControlRow.ts +8 -0
  233. package/src/row/SshRow.ts +8 -0
  234. package/src/row/TokenAuthCreateRow.ts +2 -0
  235. package/src/row/TokenAuthRow.ts +9 -0
  236. package/src/row/TokenAuthUpdateRow.ts +2 -0
  237. package/dist/row/AWSFullRow.d.ts +0 -19
  238. package/dist/row/AWSFullRow.js +0 -3
  239. package/dist/row/AWSFullRow.js.map +0 -1
  240. package/dist/row/AzureFullRow.d.ts +0 -20
  241. package/dist/row/AzureFullRow.js +0 -3
  242. package/dist/row/AzureFullRow.js.map +0 -1
  243. package/dist/row/BasicAuthFullRow.d.ts +0 -19
  244. package/dist/row/BasicAuthFullRow.js +0 -3
  245. package/dist/row/BasicAuthFullRow.js.map +0 -1
  246. package/dist/row/CloudFullRow.d.ts +0 -11
  247. package/dist/row/CloudFullRow.js +0 -3
  248. package/dist/row/CloudFullRow.js.map +0 -1
  249. package/dist/row/CredentialFullRow.d.ts +0 -15
  250. package/dist/row/CredentialFullRow.js +0 -3
  251. package/dist/row/CredentialFullRow.js.map +0 -1
  252. package/dist/row/DatabaseFullRow.d.ts +0 -30
  253. package/dist/row/DatabaseFullRow.js +0 -3
  254. package/dist/row/DatabaseFullRow.js.map +0 -1
  255. package/dist/row/GCPFullRow.d.ts +0 -18
  256. package/dist/row/GCPFullRow.js +0 -3
  257. package/dist/row/GCPFullRow.js.map +0 -1
  258. package/dist/row/GitHubFullRow.d.ts +0 -33
  259. package/dist/row/GitHubFullRow.js +0 -3
  260. package/dist/row/GitHubFullRow.js.map +0 -1
  261. package/dist/row/GitLabFullRow.d.ts +0 -29
  262. package/dist/row/GitLabFullRow.js +0 -3
  263. package/dist/row/GitLabFullRow.js.map +0 -1
  264. package/dist/row/HostBasicAuthFullRow.d.ts +0 -20
  265. package/dist/row/HostBasicAuthFullRow.js +0 -3
  266. package/dist/row/HostBasicAuthFullRow.js.map +0 -1
  267. package/dist/row/HostTokenAuthFullRow.d.ts +0 -19
  268. package/dist/row/HostTokenAuthFullRow.js +0 -3
  269. package/dist/row/HostTokenAuthFullRow.js.map +0 -1
  270. package/dist/row/ProtocolFullRow.d.ts +0 -11
  271. package/dist/row/ProtocolFullRow.js +0 -3
  272. package/dist/row/ProtocolFullRow.js.map +0 -1
  273. package/dist/row/SSHFullRow.d.ts +0 -26
  274. package/dist/row/SSHFullRow.js +0 -3
  275. package/dist/row/SSHFullRow.js.map +0 -1
  276. package/dist/row/SourceControlFullRow.d.ts +0 -11
  277. package/dist/row/SourceControlFullRow.js +0 -3
  278. package/dist/row/SourceControlFullRow.js.map +0 -1
  279. package/dist/row/TokenAuthFullRow.d.ts +0 -18
  280. package/dist/row/TokenAuthFullRow.js +0 -3
  281. package/dist/row/TokenAuthFullRow.js.map +0 -1
  282. package/src/row/AWSFullRow.ts +0 -41
  283. package/src/row/AzureFullRow.ts +0 -42
  284. package/src/row/BasicAuthFullRow.ts +0 -41
  285. package/src/row/CloudFullRow.ts +0 -33
  286. package/src/row/CredentialFullRow.ts +0 -37
  287. package/src/row/DatabaseFullRow.ts +0 -52
  288. package/src/row/GCPFullRow.ts +0 -40
  289. package/src/row/GitHubFullRow.ts +0 -55
  290. package/src/row/GitLabFullRow.ts +0 -51
  291. package/src/row/HostBasicAuthFullRow.ts +0 -42
  292. package/src/row/HostTokenAuthFullRow.ts +0 -41
  293. package/src/row/ProtocolFullRow.ts +0 -33
  294. package/src/row/SSHFullRow.ts +0 -48
  295. package/src/row/SourceControlFullRow.ts +0 -33
  296. package/src/row/TokenAuthFullRow.ts +0 -40
@@ -1,3 +1,5 @@
1
+ import { CredentialEntityType } from "../enum/CredentialEntityType";
2
+ import { CredentialGroupType } from "../enum/CredentialGroupType";
1
3
  export type BasicAuthRow = {
2
4
  id: string;
3
5
  credential_id: string;
@@ -8,4 +10,10 @@ export type BasicAuthRow = {
8
10
  password_secret_id: string;
9
11
  created_at: Date;
10
12
  updated_at: Date;
13
+ entity_id: string;
14
+ group_id: string;
15
+ group_type: CredentialGroupType;
16
+ entity_type: CredentialEntityType;
17
+ name: string;
18
+ description: (string | null);
11
19
  };
@@ -5,6 +5,8 @@ export type BasicAuthUpdateRow = {
5
5
  workspace_id: (string | null);
6
6
  username: (string | null);
7
7
  password: (string | null);
8
+ name: string;
9
+ description: (string | null);
8
10
  basic_auth_category: (EntityCategoryInputRow | null)[];
9
11
  basic_auth_field: (EntityFieldInputRow | null)[];
10
12
  basic_auth_tag: (EntityTagInputRow | null)[];
@@ -1,3 +1,5 @@
1
+ import { CredentialEntityType } from "../enum/CredentialEntityType";
2
+ import { CredentialGroupType } from "../enum/CredentialGroupType";
1
3
  export type CloudRow = {
2
4
  id: string;
3
5
  credential_id: string;
@@ -6,4 +8,9 @@ export type CloudRow = {
6
8
  workspace_id: string;
7
9
  created_at: Date;
8
10
  updated_at: Date;
11
+ group_id: string;
12
+ group_type: CredentialGroupType;
13
+ entity_type: CredentialEntityType;
14
+ name: string;
15
+ description: (string | null);
9
16
  };
@@ -1,3 +1,5 @@
1
+ import { CredentialEntityType } from "../enum/CredentialEntityType";
2
+ import { CredentialGroupType } from "../enum/CredentialGroupType";
1
3
  import { DatabaseType } from "../enum/DatabaseType";
2
4
  export type DatabaseRow = {
3
5
  id: string;
@@ -19,4 +21,9 @@ export type DatabaseRow = {
19
21
  ssl_key_secret_id: (string | null);
20
22
  created_at: Date;
21
23
  updated_at: Date;
24
+ group_id: string;
25
+ group_type: CredentialGroupType;
26
+ entity_type: CredentialEntityType;
27
+ name: string;
28
+ description: (string | null);
22
29
  };
@@ -4,6 +4,8 @@ import { EntityTagInputRow } from "./EntityTagInputRow";
4
4
  export type GCPCreateRow = {
5
5
  workspace_id: (string | null);
6
6
  credentials: string;
7
+ name: string;
8
+ description: (string | null);
7
9
  gcp_category: (EntityCategoryInputRow | null)[];
8
10
  gcp_field: (EntityFieldInputRow | null)[];
9
11
  gcp_tag: (EntityTagInputRow | null)[];
@@ -1,3 +1,5 @@
1
+ import { CredentialEntityType } from "../enum/CredentialEntityType";
2
+ import { CredentialGroupType } from "../enum/CredentialGroupType";
1
3
  export type GCPRow = {
2
4
  id: string;
3
5
  credential_id: string;
@@ -7,4 +9,10 @@ export type GCPRow = {
7
9
  credentials_secret_id: string;
8
10
  created_at: Date;
9
11
  updated_at: Date;
12
+ entity_id: string;
13
+ group_id: string;
14
+ group_type: CredentialGroupType;
15
+ entity_type: CredentialEntityType;
16
+ name: string;
17
+ description: (string | null);
10
18
  };
@@ -4,6 +4,8 @@ import { EntityTagInputRow } from "./EntityTagInputRow";
4
4
  export type GCPUpdateRow = {
5
5
  workspace_id: (string | null);
6
6
  credentials: (string | null);
7
+ name: string;
8
+ description: (string | null);
7
9
  gcp_category: (EntityCategoryInputRow | null)[];
8
10
  gcp_field: (EntityFieldInputRow | null)[];
9
11
  gcp_tag: (EntityTagInputRow | null)[];
@@ -19,6 +19,8 @@ export type GitHubCreateRow = {
19
19
  githubapp_token: (string | null);
20
20
  ssh_publickey: (string | null);
21
21
  ssh_privatekey: (string | null);
22
+ name: string;
23
+ description: (string | null);
22
24
  git_hub_category: (EntityCategoryInputRow | null)[];
23
25
  git_hub_field: (EntityFieldInputRow | null)[];
24
26
  git_hub_tag: (EntityTagInputRow | null)[];
@@ -1,3 +1,5 @@
1
+ import { CredentialEntityType } from "../enum/CredentialEntityType";
2
+ import { CredentialGroupType } from "../enum/CredentialGroupType";
1
3
  import { GitHubType } from "../enum/GitHubType";
2
4
  export type GitHubRow = {
3
5
  id: string;
@@ -22,4 +24,10 @@ export type GitHubRow = {
22
24
  ssh_privatekey_secret_id: (string | null);
23
25
  created_at: Date;
24
26
  updated_at: Date;
27
+ entity_id: string;
28
+ group_id: string;
29
+ group_type: CredentialGroupType;
30
+ entity_type: CredentialEntityType;
31
+ name: string;
32
+ description: (string | null);
25
33
  };
@@ -17,6 +17,8 @@ export type GitHubUpdateRow = {
17
17
  githubapp_token: (string | null);
18
18
  ssh_publickey: (string | null);
19
19
  ssh_privatekey: (string | null);
20
+ name: string;
21
+ description: (string | null);
20
22
  git_hub_category: (EntityCategoryInputRow | null)[];
21
23
  git_hub_field: (EntityFieldInputRow | null)[];
22
24
  git_hub_tag: (EntityTagInputRow | null)[];
@@ -15,6 +15,8 @@ export type GitLabCreateRow = {
15
15
  oauth_access_token: (string | null);
16
16
  ssh_publickey: (string | null);
17
17
  ssh_privatekey: (string | null);
18
+ name: string;
19
+ description: (string | null);
18
20
  git_lab_category: (EntityCategoryInputRow | null)[];
19
21
  git_lab_field: (EntityFieldInputRow | null)[];
20
22
  git_lab_tag: (EntityTagInputRow | null)[];
@@ -1,3 +1,5 @@
1
+ import { CredentialEntityType } from "../enum/CredentialEntityType";
2
+ import { CredentialGroupType } from "../enum/CredentialGroupType";
1
3
  import { GitLabType } from "../enum/GitLabType";
2
4
  export type GitLabRow = {
3
5
  id: string;
@@ -18,4 +20,10 @@ export type GitLabRow = {
18
20
  ssh_privatekey_secret_id: (string | null);
19
21
  created_at: Date;
20
22
  updated_at: Date;
23
+ entity_id: string;
24
+ group_id: string;
25
+ group_type: CredentialGroupType;
26
+ entity_type: CredentialEntityType;
27
+ name: string;
28
+ description: (string | null);
21
29
  };
@@ -13,6 +13,8 @@ export type GitLabUpdateRow = {
13
13
  oauth_access_token: (string | null);
14
14
  ssh_publickey: (string | null);
15
15
  ssh_privatekey: (string | null);
16
+ name: string;
17
+ description: (string | null);
16
18
  git_lab_category: (EntityCategoryInputRow | null)[];
17
19
  git_lab_field: (EntityFieldInputRow | null)[];
18
20
  git_lab_tag: (EntityTagInputRow | null)[];
@@ -6,6 +6,8 @@ export type HostBasicAuthCreateRow = {
6
6
  host: string;
7
7
  username: string;
8
8
  password: string;
9
+ name: string;
10
+ description: (string | null);
9
11
  host_basic_auth_category: (EntityCategoryInputRow | null)[];
10
12
  host_basic_auth_field: (EntityFieldInputRow | null)[];
11
13
  host_basic_auth_tag: (EntityTagInputRow | null)[];
@@ -1,3 +1,5 @@
1
+ import { CredentialEntityType } from "../enum/CredentialEntityType";
2
+ import { CredentialGroupType } from "../enum/CredentialGroupType";
1
3
  export type HostBasicAuthRow = {
2
4
  id: string;
3
5
  credential_id: string;
@@ -9,4 +11,10 @@ export type HostBasicAuthRow = {
9
11
  password_secret_id: string;
10
12
  created_at: Date;
11
13
  updated_at: Date;
14
+ entity_id: string;
15
+ group_id: string;
16
+ group_type: CredentialGroupType;
17
+ entity_type: CredentialEntityType;
18
+ name: string;
19
+ description: (string | null);
12
20
  };
@@ -6,6 +6,8 @@ export type HostBasicAuthUpdateRow = {
6
6
  host: string;
7
7
  username: (string | null);
8
8
  password: (string | null);
9
+ name: string;
10
+ description: (string | null);
9
11
  host_basic_auth_category: (EntityCategoryInputRow | null)[];
10
12
  host_basic_auth_field: (EntityFieldInputRow | null)[];
11
13
  host_basic_auth_tag: (EntityTagInputRow | null)[];
@@ -5,6 +5,8 @@ export type HostTokenAuthCreateRow = {
5
5
  workspace_id: (string | null);
6
6
  host: string;
7
7
  token: string;
8
+ name: string;
9
+ description: (string | null);
8
10
  host_token_auth_category: (EntityCategoryInputRow | null)[];
9
11
  host_token_auth_field: (EntityFieldInputRow | null)[];
10
12
  host_token_auth_tag: (EntityTagInputRow | null)[];
@@ -1,3 +1,5 @@
1
+ import { CredentialEntityType } from "../enum/CredentialEntityType";
2
+ import { CredentialGroupType } from "../enum/CredentialGroupType";
1
3
  export type HostTokenAuthRow = {
2
4
  id: string;
3
5
  credential_id: string;
@@ -8,4 +10,10 @@ export type HostTokenAuthRow = {
8
10
  token_secret_id: string;
9
11
  created_at: Date;
10
12
  updated_at: Date;
13
+ entity_id: string;
14
+ group_id: string;
15
+ group_type: CredentialGroupType;
16
+ entity_type: CredentialEntityType;
17
+ name: string;
18
+ description: (string | null);
11
19
  };
@@ -5,6 +5,8 @@ export type HostTokenAuthUpdateRow = {
5
5
  workspace_id: (string | null);
6
6
  host: string;
7
7
  token: (string | null);
8
+ name: string;
9
+ description: (string | null);
8
10
  host_token_auth_category: (EntityCategoryInputRow | null)[];
9
11
  host_token_auth_field: (EntityFieldInputRow | null)[];
10
12
  host_token_auth_tag: (EntityTagInputRow | null)[];
@@ -1,3 +1,5 @@
1
+ import { CredentialEntityType } from "../enum/CredentialEntityType";
2
+ import { CredentialGroupType } from "../enum/CredentialGroupType";
1
3
  export type ProtocolRow = {
2
4
  id: string;
3
5
  credential_id: string;
@@ -6,4 +8,9 @@ export type ProtocolRow = {
6
8
  workspace_id: string;
7
9
  created_at: Date;
8
10
  updated_at: Date;
11
+ group_id: string;
12
+ group_type: CredentialGroupType;
13
+ entity_type: CredentialEntityType;
14
+ name: string;
15
+ description: (string | null);
9
16
  };
@@ -12,6 +12,8 @@ export type SSHCreateRow = {
12
12
  private_key: (string | null);
13
13
  private_key_passphrase: (string | null);
14
14
  fingerprint: (string | null);
15
+ name: string;
16
+ description: (string | null);
15
17
  ssh_category: (EntityCategoryInputRow | null)[];
16
18
  ssh_field: (EntityFieldInputRow | null)[];
17
19
  ssh_tag: (EntityTagInputRow | null)[];
@@ -10,6 +10,8 @@ export type SSHUpdateRow = {
10
10
  private_key: (string | null);
11
11
  private_key_passphrase: (string | null);
12
12
  fingerprint: (string | null);
13
+ name: string;
14
+ description: (string | null);
13
15
  ssh_category: (EntityCategoryInputRow | null)[];
14
16
  ssh_field: (EntityFieldInputRow | null)[];
15
17
  ssh_tag: (EntityTagInputRow | null)[];
@@ -1,3 +1,5 @@
1
+ import { CredentialEntityType } from "../enum/CredentialEntityType";
2
+ import { CredentialGroupType } from "../enum/CredentialGroupType";
1
3
  export type SourceControlRow = {
2
4
  id: string;
3
5
  credential_id: string;
@@ -6,4 +8,9 @@ export type SourceControlRow = {
6
8
  workspace_id: string;
7
9
  created_at: Date;
8
10
  updated_at: Date;
11
+ group_id: string;
12
+ group_type: CredentialGroupType;
13
+ entity_type: CredentialEntityType;
14
+ name: string;
15
+ description: (string | null);
9
16
  };
@@ -1,3 +1,5 @@
1
+ import { CredentialEntityType } from "../enum/CredentialEntityType";
2
+ import { CredentialGroupType } from "../enum/CredentialGroupType";
1
3
  import { SshAuthType } from "../enum/SshAuthType";
2
4
  export type SshRow = {
3
5
  id: string;
@@ -15,4 +17,10 @@ export type SshRow = {
15
17
  fingerprint_secret_id: (string | null);
16
18
  created_at: Date;
17
19
  updated_at: Date;
20
+ entity_id: string;
21
+ group_id: string;
22
+ group_type: CredentialGroupType;
23
+ entity_type: CredentialEntityType;
24
+ name: string;
25
+ description: (string | null);
18
26
  };
@@ -4,6 +4,8 @@ import { EntityTagInputRow } from "./EntityTagInputRow";
4
4
  export type TokenAuthCreateRow = {
5
5
  workspace_id: (string | null);
6
6
  token: string;
7
+ name: string;
8
+ description: (string | null);
7
9
  token_auth_category: (EntityCategoryInputRow | null)[];
8
10
  token_auth_field: (EntityFieldInputRow | null)[];
9
11
  token_auth_tag: (EntityTagInputRow | null)[];
@@ -1,3 +1,5 @@
1
+ import { CredentialEntityType } from "../enum/CredentialEntityType";
2
+ import { CredentialGroupType } from "../enum/CredentialGroupType";
1
3
  export type TokenAuthRow = {
2
4
  id: string;
3
5
  credential_id: string;
@@ -7,4 +9,10 @@ export type TokenAuthRow = {
7
9
  token_secret_id: string;
8
10
  created_at: Date;
9
11
  updated_at: Date;
12
+ entity_id: string;
13
+ group_id: string;
14
+ group_type: CredentialGroupType;
15
+ entity_type: CredentialEntityType;
16
+ name: string;
17
+ description: (string | null);
10
18
  };
@@ -4,6 +4,8 @@ import { EntityTagInputRow } from "./EntityTagInputRow";
4
4
  export type TokenAuthUpdateRow = {
5
5
  workspace_id: (string | null);
6
6
  token: (string | null);
7
+ name: string;
8
+ description: (string | null);
7
9
  token_auth_category: (EntityCategoryInputRow | null)[];
8
10
  token_auth_field: (EntityFieldInputRow | null)[];
9
11
  token_auth_tag: (EntityTagInputRow | null)[];
package/package.json CHANGED
@@ -8,7 +8,7 @@
8
8
  "framework": "npm",
9
9
  "application": "package",
10
10
  "private": false,
11
- "version": "1.5.2",
11
+ "version": "1.5.3",
12
12
  "author": "Amir Abolhasani",
13
13
  "license": "MIT",
14
14
  "main": "./dist/index.js",
@@ -127,7 +127,7 @@ export class NamirasoftCredentialServer extends NSABaseServer
127
127
  database: NamirasoftCredentialServerDatabase;
128
128
  constructor(base_url: string, token_manager: TokenManager, onError: (error: Error) => void)
129
129
  {
130
- super(base_url, `1.5.2`, token_manager, onError);
130
+ super(base_url, `1.5.3`, token_manager, onError);
131
131
  this.health = new NamirasoftCredentialServerHealth(this);
132
132
  this.metrics = new NamirasoftCredentialServerMetrics(this);
133
133
  this.value = new NamirasoftCredentialServerValue(this);
@@ -19,7 +19,6 @@
19
19
  /****************************************************************/
20
20
 
21
21
  import { AWSCreateRow } from "./row/AWSCreateRow";
22
- import { AWSFullRow } from "./row/AWSFullRow";
23
22
  import { AWSRow } from "./row/AWSRow";
24
23
  import { AWSUpdateRow } from "./row/AWSUpdateRow";
25
24
  import { BaseServerConfig } from "namirasoft-core";
@@ -40,12 +39,12 @@ export class NamirasoftCredentialServerAWS 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: AWSFullRow[], count: number }>
42
+ async List(filters: FilterItem[] | null, page: (number | null), size: (number | null), sorts: SortItem[], all_workspaces: (boolean | null), config?: BaseServerConfig<any>): Promise<{ rows: AWSRow[], 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 = `/aws/list`;
48
- let { data } = await this.server._get<{ rows: AWSFullRow[], count: number }>(path, { filters: filters_string_value, page, size, sorts: sorts_string_value, all_workspaces }, config);
47
+ let { data } = await this.server._get<{ rows: AWSRow[], 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<AWSRow>
@@ -54,10 +53,10 @@ export class NamirasoftCredentialServerAWS extends NamirasoftCredentialServerBas
54
53
  let { data } = await this.server._get<AWSRow>(path, {}, config);
55
54
  return data;
56
55
  }
57
- async Get(id: string, config?: BaseServerConfig<any>): Promise<AWSFullRow>
56
+ async Get(id: string, config?: BaseServerConfig<any>): Promise<AWSRow>
58
57
  {
59
58
  let path = `/aws/${id}`;
60
- let { data } = await this.server._get<AWSFullRow>(path, {}, config);
59
+ let { data } = await this.server._get<AWSRow>(path, {}, config);
61
60
  return data;
62
61
  }
63
62
  async Create(body: AWSCreateRow, config?: BaseServerConfig<any>): Promise<AWSRow>
@@ -19,7 +19,6 @@
19
19
  /****************************************************************/
20
20
 
21
21
  import { AzureCreateRow } from "./row/AzureCreateRow";
22
- import { AzureFullRow } from "./row/AzureFullRow";
23
22
  import { AzureRow } from "./row/AzureRow";
24
23
  import { AzureUpdateRow } from "./row/AzureUpdateRow";
25
24
  import { BaseServerConfig } from "namirasoft-core";
@@ -40,12 +39,12 @@ export class NamirasoftCredentialServerAzure extends NamirasoftCredentialServerB
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: AzureFullRow[], count: number }>
42
+ async List(filters: FilterItem[] | null, page: (number | null), size: (number | null), sorts: SortItem[], all_workspaces: (boolean | null), config?: BaseServerConfig<any>): Promise<{ rows: AzureRow[], 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 = `/azure/list`;
48
- let { data } = await this.server._get<{ rows: AzureFullRow[], count: number }>(path, { filters: filters_string_value, page, size, sorts: sorts_string_value, all_workspaces }, config);
47
+ let { data } = await this.server._get<{ rows: AzureRow[], 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<AzureRow>
@@ -54,10 +53,10 @@ export class NamirasoftCredentialServerAzure extends NamirasoftCredentialServerB
54
53
  let { data } = await this.server._get<AzureRow>(path, {}, config);
55
54
  return data;
56
55
  }
57
- async Get(id: string, config?: BaseServerConfig<any>): Promise<AzureFullRow>
56
+ async Get(id: string, config?: BaseServerConfig<any>): Promise<AzureRow>
58
57
  {
59
58
  let path = `/azure/${id}`;
60
- let { data } = await this.server._get<AzureFullRow>(path, {}, config);
59
+ let { data } = await this.server._get<AzureRow>(path, {}, config);
61
60
  return data;
62
61
  }
63
62
  async Create(body: AzureCreateRow, config?: BaseServerConfig<any>): Promise<AzureRow>
@@ -20,7 +20,6 @@
20
20
 
21
21
  import { BaseServerConfig } from "namirasoft-core";
22
22
  import { BasicAuthCreateRow } from "./row/BasicAuthCreateRow";
23
- import { BasicAuthFullRow } from "./row/BasicAuthFullRow";
24
23
  import { BasicAuthRow } from "./row/BasicAuthRow";
25
24
  import { BasicAuthUpdateRow } from "./row/BasicAuthUpdateRow";
26
25
  import { FilterItem } from "namirasoft-core";
@@ -40,12 +39,12 @@ export class NamirasoftCredentialServerBasicAuth 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: BasicAuthFullRow[], count: number }>
42
+ async List(filters: FilterItem[] | null, page: (number | null), size: (number | null), sorts: SortItem[], all_workspaces: (boolean | null), config?: BaseServerConfig<any>): Promise<{ rows: BasicAuthRow[], 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 = `/basic/auth/list`;
48
- let { data } = await this.server._get<{ rows: BasicAuthFullRow[], count: number }>(path, { filters: filters_string_value, page, size, sorts: sorts_string_value, all_workspaces }, config);
47
+ let { data } = await this.server._get<{ rows: BasicAuthRow[], 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<BasicAuthRow>
@@ -54,10 +53,10 @@ export class NamirasoftCredentialServerBasicAuth extends NamirasoftCredentialSer
54
53
  let { data } = await this.server._get<BasicAuthRow>(path, {}, config);
55
54
  return data;
56
55
  }
57
- async Get(id: string, config?: BaseServerConfig<any>): Promise<BasicAuthFullRow>
56
+ async Get(id: string, config?: BaseServerConfig<any>): Promise<BasicAuthRow>
58
57
  {
59
58
  let path = `/basic/auth/${id}`;
60
- let { data } = await this.server._get<BasicAuthFullRow>(path, {}, config);
59
+ let { data } = await this.server._get<BasicAuthRow>(path, {}, config);
61
60
  return data;
62
61
  }
63
62
  async Create(body: BasicAuthCreateRow, config?: BaseServerConfig<any>): Promise<BasicAuthRow>
@@ -19,7 +19,6 @@
19
19
  /****************************************************************/
20
20
 
21
21
  import { BaseServerConfig } from "namirasoft-core";
22
- import { CloudFullRow } from "./row/CloudFullRow";
23
22
  import { CloudRow } from "./row/CloudRow";
24
23
  import { FilterItem } from "namirasoft-core";
25
24
  import { NamirasoftCredentialServer } from "./NamirasoftCredentialServer";
@@ -35,12 +34,12 @@ export class NamirasoftCredentialServerCloud extends NamirasoftCredentialServerB
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: CloudFullRow[], count: number }>
37
+ async List(filters: FilterItem[] | null, page: (number | null), size: (number | null), sorts: SortItem[], all_workspaces: (boolean | null), config?: BaseServerConfig<any>): Promise<{ rows: CloudRow[], 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 = `/cloud/list`;
43
- let { data } = await this.server._get<{ rows: CloudFullRow[], count: number }>(path, { filters: filters_string_value, page, size, sorts: sorts_string_value, all_workspaces }, config);
42
+ let { data } = await this.server._get<{ rows: CloudRow[], 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<CloudRow>
@@ -49,10 +48,10 @@ export class NamirasoftCredentialServerCloud extends NamirasoftCredentialServerB
49
48
  let { data } = await this.server._get<CloudRow>(path, {}, config);
50
49
  return data;
51
50
  }
52
- async Get(id: string, config?: BaseServerConfig<any>): Promise<CloudFullRow>
51
+ async Get(id: string, config?: BaseServerConfig<any>): Promise<CloudRow>
53
52
  {
54
53
  let path = `/cloud/${id}`;
55
- let { data } = await this.server._get<CloudFullRow>(path, {}, config);
54
+ let { data } = await this.server._get<CloudRow>(path, {}, config);
56
55
  return data;
57
56
  }
58
57
  };
@@ -19,7 +19,6 @@
19
19
  /****************************************************************/
20
20
 
21
21
  import { BaseServerConfig } from "namirasoft-core";
22
- import { CredentialFullRow } from "./row/CredentialFullRow";
23
22
  import { CredentialRow } from "./row/CredentialRow";
24
23
  import { FilterItem } from "namirasoft-core";
25
24
  import { NamirasoftCredentialServer } from "./NamirasoftCredentialServer";
@@ -35,12 +34,12 @@ export class NamirasoftCredentialServerCredential extends NamirasoftCredentialSe
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: CredentialFullRow[], count: number }>
37
+ async List(filters: FilterItem[] | null, page: (number | null), size: (number | null), sorts: SortItem[], all_workspaces: (boolean | null), config?: BaseServerConfig<any>): Promise<{ rows: CredentialRow[], 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 = `/credential/list`;
43
- let { data } = await this.server._get<{ rows: CredentialFullRow[], count: number }>(path, { filters: filters_string_value, page, size, sorts: sorts_string_value, all_workspaces }, config);
42
+ let { data } = await this.server._get<{ rows: CredentialRow[], 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<CredentialRow>
@@ -49,10 +48,10 @@ export class NamirasoftCredentialServerCredential extends NamirasoftCredentialSe
49
48
  let { data } = await this.server._get<CredentialRow>(path, {}, config);
50
49
  return data;
51
50
  }
52
- async Get(id: string, config?: BaseServerConfig<any>): Promise<CredentialFullRow>
51
+ async Get(id: string, config?: BaseServerConfig<any>): Promise<CredentialRow>
53
52
  {
54
53
  let path = `/credential/${id}`;
55
- let { data } = await this.server._get<CredentialFullRow>(path, {}, config);
54
+ let { data } = await this.server._get<CredentialRow>(path, {}, config);
56
55
  return data;
57
56
  }
58
57
  };
@@ -20,7 +20,6 @@
20
20
 
21
21
  import { BaseServerConfig } from "namirasoft-core";
22
22
  import { DatabaseCreateRow } from "./row/DatabaseCreateRow";
23
- import { DatabaseFullRow } from "./row/DatabaseFullRow";
24
23
  import { DatabaseRow } from "./row/DatabaseRow";
25
24
  import { DatabaseUpdateRow } from "./row/DatabaseUpdateRow";
26
25
  import { FilterItem } from "namirasoft-core";
@@ -40,12 +39,12 @@ export class NamirasoftCredentialServerDatabase extends NamirasoftCredentialServ
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: DatabaseFullRow[], count: number }>
42
+ async List(filters: FilterItem[] | null, page: (number | null), size: (number | null), sorts: SortItem[], all_workspaces: (boolean | null), config?: BaseServerConfig<any>): Promise<{ rows: DatabaseRow[], 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 = `/database/list`;
48
- let { data } = await this.server._get<{ rows: DatabaseFullRow[], count: number }>(path, { filters: filters_string_value, page, size, sorts: sorts_string_value, all_workspaces }, config);
47
+ let { data } = await this.server._get<{ rows: DatabaseRow[], 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<DatabaseRow>
@@ -54,10 +53,10 @@ export class NamirasoftCredentialServerDatabase extends NamirasoftCredentialServ
54
53
  let { data } = await this.server._get<DatabaseRow>(path, {}, config);
55
54
  return data;
56
55
  }
57
- async Get(id: string, config?: BaseServerConfig<any>): Promise<DatabaseFullRow>
56
+ async Get(id: string, config?: BaseServerConfig<any>): Promise<DatabaseRow>
58
57
  {
59
58
  let path = `/database/${id}`;
60
- let { data } = await this.server._get<DatabaseFullRow>(path, {}, config);
59
+ let { data } = await this.server._get<DatabaseRow>(path, {}, config);
61
60
  return data;
62
61
  }
63
62
  async Create(body: DatabaseCreateRow, config?: BaseServerConfig<any>): Promise<DatabaseRow>
@@ -21,7 +21,6 @@
21
21
  import { BaseServerConfig } from "namirasoft-core";
22
22
  import { FilterItem } from "namirasoft-core";
23
23
  import { GCPCreateRow } from "./row/GCPCreateRow";
24
- import { GCPFullRow } from "./row/GCPFullRow";
25
24
  import { GCPRow } from "./row/GCPRow";
26
25
  import { GCPUpdateRow } from "./row/GCPUpdateRow";
27
26
  import { NamirasoftCredentialServer } from "./NamirasoftCredentialServer";
@@ -40,12 +39,12 @@ export class NamirasoftCredentialServerGCP 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: GCPFullRow[], count: number }>
42
+ async List(filters: FilterItem[] | null, page: (number | null), size: (number | null), sorts: SortItem[], all_workspaces: (boolean | null), config?: BaseServerConfig<any>): Promise<{ rows: GCPRow[], 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 = `/gcp/list`;
48
- let { data } = await this.server._get<{ rows: GCPFullRow[], count: number }>(path, { filters: filters_string_value, page, size, sorts: sorts_string_value, all_workspaces }, config);
47
+ let { data } = await this.server._get<{ rows: GCPRow[], 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<GCPRow>
@@ -54,10 +53,10 @@ export class NamirasoftCredentialServerGCP extends NamirasoftCredentialServerBas
54
53
  let { data } = await this.server._get<GCPRow>(path, {}, config);
55
54
  return data;
56
55
  }
57
- async Get(id: string, config?: BaseServerConfig<any>): Promise<GCPFullRow>
56
+ async Get(id: string, config?: BaseServerConfig<any>): Promise<GCPRow>
58
57
  {
59
58
  let path = `/gcp/${id}`;
60
- let { data } = await this.server._get<GCPFullRow>(path, {}, config);
59
+ let { data } = await this.server._get<GCPRow>(path, {}, config);
61
60
  return data;
62
61
  }
63
62
  async Create(body: GCPCreateRow, config?: BaseServerConfig<any>): Promise<GCPRow>