namirasoft-credential 1.4.0

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 (207) hide show
  1. package/dist/NamirasoftCredentialServer.d.ts +17 -0
  2. package/dist/NamirasoftCredentialServer.js +24 -0
  3. package/dist/NamirasoftCredentialServer.js.map +1 -0
  4. package/dist/NamirasoftCredentialServerAWS.d.ts +18 -0
  5. package/dist/NamirasoftCredentialServerAWS.js +64 -0
  6. package/dist/NamirasoftCredentialServerAWS.js.map +1 -0
  7. package/dist/NamirasoftCredentialServerAWSCategory.d.ts +16 -0
  8. package/dist/NamirasoftCredentialServerAWSCategory.js +56 -0
  9. package/dist/NamirasoftCredentialServerAWSCategory.js.map +1 -0
  10. package/dist/NamirasoftCredentialServerAWSField.d.ts +17 -0
  11. package/dist/NamirasoftCredentialServerAWSField.js +64 -0
  12. package/dist/NamirasoftCredentialServerAWSField.js.map +1 -0
  13. package/dist/NamirasoftCredentialServerAWSTag.d.ts +17 -0
  14. package/dist/NamirasoftCredentialServerAWSTag.js +64 -0
  15. package/dist/NamirasoftCredentialServerAWSTag.js.map +1 -0
  16. package/dist/NamirasoftCredentialServerBase.d.ts +5 -0
  17. package/dist/NamirasoftCredentialServerBase.js +11 -0
  18. package/dist/NamirasoftCredentialServerBase.js.map +1 -0
  19. package/dist/NamirasoftCredentialServerHealthz.d.ts +6 -0
  20. package/dist/NamirasoftCredentialServerHealthz.js +28 -0
  21. package/dist/NamirasoftCredentialServerHealthz.js.map +1 -0
  22. package/dist/NamirasoftCredentialServerValue.d.ts +6 -0
  23. package/dist/NamirasoftCredentialServerValue.js +29 -0
  24. package/dist/NamirasoftCredentialServerValue.js.map +1 -0
  25. package/dist/command/AWSCategoryCommand.d.ts +4 -0
  26. package/dist/command/AWSCategoryCommand.js +21 -0
  27. package/dist/command/AWSCategoryCommand.js.map +1 -0
  28. package/dist/command/AWSCategoryCreateCommand.d.ts +5 -0
  29. package/dist/command/AWSCategoryCreateCommand.js +49 -0
  30. package/dist/command/AWSCategoryCreateCommand.js.map +1 -0
  31. package/dist/command/AWSCategoryDeleteCommand.d.ts +5 -0
  32. package/dist/command/AWSCategoryDeleteCommand.js +38 -0
  33. package/dist/command/AWSCategoryDeleteCommand.js.map +1 -0
  34. package/dist/command/AWSCategoryGetCommand.d.ts +5 -0
  35. package/dist/command/AWSCategoryGetCommand.js +38 -0
  36. package/dist/command/AWSCategoryGetCommand.js.map +1 -0
  37. package/dist/command/AWSCategoryListCommand.d.ts +5 -0
  38. package/dist/command/AWSCategoryListCommand.js +38 -0
  39. package/dist/command/AWSCategoryListCommand.js.map +1 -0
  40. package/dist/command/AWSCommand.d.ts +4 -0
  41. package/dist/command/AWSCommand.js +23 -0
  42. package/dist/command/AWSCommand.js.map +1 -0
  43. package/dist/command/AWSCreateCommand.d.ts +5 -0
  44. package/dist/command/AWSCreateCommand.js +112 -0
  45. package/dist/command/AWSCreateCommand.js.map +1 -0
  46. package/dist/command/AWSDeleteCommand.d.ts +5 -0
  47. package/dist/command/AWSDeleteCommand.js +38 -0
  48. package/dist/command/AWSDeleteCommand.js.map +1 -0
  49. package/dist/command/AWSFieldCommand.d.ts +4 -0
  50. package/dist/command/AWSFieldCommand.js +23 -0
  51. package/dist/command/AWSFieldCommand.js.map +1 -0
  52. package/dist/command/AWSFieldCreateCommand.d.ts +5 -0
  53. package/dist/command/AWSFieldCreateCommand.js +58 -0
  54. package/dist/command/AWSFieldCreateCommand.js.map +1 -0
  55. package/dist/command/AWSFieldDeleteCommand.d.ts +5 -0
  56. package/dist/command/AWSFieldDeleteCommand.js +38 -0
  57. package/dist/command/AWSFieldDeleteCommand.js.map +1 -0
  58. package/dist/command/AWSFieldGetCommand.d.ts +5 -0
  59. package/dist/command/AWSFieldGetCommand.js +38 -0
  60. package/dist/command/AWSFieldGetCommand.js.map +1 -0
  61. package/dist/command/AWSFieldListCommand.d.ts +5 -0
  62. package/dist/command/AWSFieldListCommand.js +38 -0
  63. package/dist/command/AWSFieldListCommand.js.map +1 -0
  64. package/dist/command/AWSFieldUpdateCommand.d.ts +5 -0
  65. package/dist/command/AWSFieldUpdateCommand.js +58 -0
  66. package/dist/command/AWSFieldUpdateCommand.js.map +1 -0
  67. package/dist/command/AWSGetCommand.d.ts +5 -0
  68. package/dist/command/AWSGetCommand.js +38 -0
  69. package/dist/command/AWSGetCommand.js.map +1 -0
  70. package/dist/command/AWSListCommand.d.ts +5 -0
  71. package/dist/command/AWSListCommand.js +38 -0
  72. package/dist/command/AWSListCommand.js.map +1 -0
  73. package/dist/command/AWSTagCommand.d.ts +4 -0
  74. package/dist/command/AWSTagCommand.js +23 -0
  75. package/dist/command/AWSTagCommand.js.map +1 -0
  76. package/dist/command/AWSTagCreateCommand.d.ts +5 -0
  77. package/dist/command/AWSTagCreateCommand.js +58 -0
  78. package/dist/command/AWSTagCreateCommand.js.map +1 -0
  79. package/dist/command/AWSTagDeleteCommand.d.ts +5 -0
  80. package/dist/command/AWSTagDeleteCommand.js +38 -0
  81. package/dist/command/AWSTagDeleteCommand.js.map +1 -0
  82. package/dist/command/AWSTagGetCommand.d.ts +5 -0
  83. package/dist/command/AWSTagGetCommand.js +38 -0
  84. package/dist/command/AWSTagGetCommand.js.map +1 -0
  85. package/dist/command/AWSTagListCommand.d.ts +5 -0
  86. package/dist/command/AWSTagListCommand.js +38 -0
  87. package/dist/command/AWSTagListCommand.js.map +1 -0
  88. package/dist/command/AWSTagUpdateCommand.d.ts +5 -0
  89. package/dist/command/AWSTagUpdateCommand.js +58 -0
  90. package/dist/command/AWSTagUpdateCommand.js.map +1 -0
  91. package/dist/command/AWSUpdateCommand.d.ts +5 -0
  92. package/dist/command/AWSUpdateCommand.js +112 -0
  93. package/dist/command/AWSUpdateCommand.js.map +1 -0
  94. package/dist/command/HealthzCommand.d.ts +4 -0
  95. package/dist/command/HealthzCommand.js +15 -0
  96. package/dist/command/HealthzCommand.js.map +1 -0
  97. package/dist/command/HealthzGetCommand.d.ts +5 -0
  98. package/dist/command/HealthzGetCommand.js +38 -0
  99. package/dist/command/HealthzGetCommand.js.map +1 -0
  100. package/dist/command/ValueCommand.d.ts +4 -0
  101. package/dist/command/ValueCommand.js +15 -0
  102. package/dist/command/ValueCommand.js.map +1 -0
  103. package/dist/command/ValueListCommand.d.ts +5 -0
  104. package/dist/command/ValueListCommand.js +38 -0
  105. package/dist/command/ValueListCommand.js.map +1 -0
  106. package/dist/command/cli.d.ts +2 -0
  107. package/dist/command/cli.js +24 -0
  108. package/dist/command/cli.js.map +1 -0
  109. package/dist/index.d.ts +49 -0
  110. package/dist/index.js +66 -0
  111. package/dist/index.js.map +1 -0
  112. package/dist/meta/AWSCategoryMetaTable.d.ts +15 -0
  113. package/dist/meta/AWSCategoryMetaTable.js +38 -0
  114. package/dist/meta/AWSCategoryMetaTable.js.map +1 -0
  115. package/dist/meta/AWSFieldMetaTable.d.ts +16 -0
  116. package/dist/meta/AWSFieldMetaTable.js +39 -0
  117. package/dist/meta/AWSFieldMetaTable.js.map +1 -0
  118. package/dist/meta/AWSMetaTable.d.ts +18 -0
  119. package/dist/meta/AWSMetaTable.js +41 -0
  120. package/dist/meta/AWSMetaTable.js.map +1 -0
  121. package/dist/meta/AWSTagMetaTable.d.ts +16 -0
  122. package/dist/meta/AWSTagMetaTable.js +39 -0
  123. package/dist/meta/AWSTagMetaTable.js.map +1 -0
  124. package/dist/meta/NamirasoftCredentialMetaDatabase.d.ts +19 -0
  125. package/dist/meta/NamirasoftCredentialMetaDatabase.js +33 -0
  126. package/dist/meta/NamirasoftCredentialMetaDatabase.js.map +1 -0
  127. package/dist/row/AWSCategoryRow.d.ts +8 -0
  128. package/dist/row/AWSCategoryRow.js +3 -0
  129. package/dist/row/AWSCategoryRow.js.map +1 -0
  130. package/dist/row/AWSFieldRow.d.ts +9 -0
  131. package/dist/row/AWSFieldRow.js +3 -0
  132. package/dist/row/AWSFieldRow.js.map +1 -0
  133. package/dist/row/AWSFullRow.d.ts +17 -0
  134. package/dist/row/AWSFullRow.js +3 -0
  135. package/dist/row/AWSFullRow.js.map +1 -0
  136. package/dist/row/AWSInputRow.d.ts +13 -0
  137. package/dist/row/AWSInputRow.js +3 -0
  138. package/dist/row/AWSInputRow.js.map +1 -0
  139. package/dist/row/AWSRow.d.ts +11 -0
  140. package/dist/row/AWSRow.js +3 -0
  141. package/dist/row/AWSRow.js.map +1 -0
  142. package/dist/row/AWSTagRow.d.ts +9 -0
  143. package/dist/row/AWSTagRow.js +3 -0
  144. package/dist/row/AWSTagRow.js.map +1 -0
  145. package/dist/row/EntityCategoryInputRow.d.ts +3 -0
  146. package/dist/row/EntityCategoryInputRow.js +3 -0
  147. package/dist/row/EntityCategoryInputRow.js.map +1 -0
  148. package/dist/row/EntityFieldInputRow.d.ts +4 -0
  149. package/dist/row/EntityFieldInputRow.js +3 -0
  150. package/dist/row/EntityFieldInputRow.js.map +1 -0
  151. package/dist/row/EntityTagInputRow.d.ts +4 -0
  152. package/dist/row/EntityTagInputRow.js +3 -0
  153. package/dist/row/EntityTagInputRow.js.map +1 -0
  154. package/logo.png +0 -0
  155. package/package.json +28 -0
  156. package/src/NamirasoftCredentialServer.ts +48 -0
  157. package/src/NamirasoftCredentialServerAWS.ts +71 -0
  158. package/src/NamirasoftCredentialServerAWSCategory.ts +63 -0
  159. package/src/NamirasoftCredentialServerAWSField.ts +70 -0
  160. package/src/NamirasoftCredentialServerAWSTag.ts +70 -0
  161. package/src/NamirasoftCredentialServerBase.ts +30 -0
  162. package/src/NamirasoftCredentialServerHealthz.ts +36 -0
  163. package/src/NamirasoftCredentialServerValue.ts +37 -0
  164. package/src/command/AWSCategoryCommand.ts +38 -0
  165. package/src/command/AWSCategoryCreateCommand.ts +56 -0
  166. package/src/command/AWSCategoryDeleteCommand.ts +45 -0
  167. package/src/command/AWSCategoryGetCommand.ts +45 -0
  168. package/src/command/AWSCategoryListCommand.ts +45 -0
  169. package/src/command/AWSCommand.ts +40 -0
  170. package/src/command/AWSCreateCommand.ts +119 -0
  171. package/src/command/AWSDeleteCommand.ts +45 -0
  172. package/src/command/AWSFieldCommand.ts +40 -0
  173. package/src/command/AWSFieldCreateCommand.ts +65 -0
  174. package/src/command/AWSFieldDeleteCommand.ts +45 -0
  175. package/src/command/AWSFieldGetCommand.ts +45 -0
  176. package/src/command/AWSFieldListCommand.ts +45 -0
  177. package/src/command/AWSFieldUpdateCommand.ts +65 -0
  178. package/src/command/AWSGetCommand.ts +45 -0
  179. package/src/command/AWSListCommand.ts +45 -0
  180. package/src/command/AWSTagCommand.ts +40 -0
  181. package/src/command/AWSTagCreateCommand.ts +65 -0
  182. package/src/command/AWSTagDeleteCommand.ts +45 -0
  183. package/src/command/AWSTagGetCommand.ts +45 -0
  184. package/src/command/AWSTagListCommand.ts +45 -0
  185. package/src/command/AWSTagUpdateCommand.ts +65 -0
  186. package/src/command/AWSUpdateCommand.ts +119 -0
  187. package/src/command/HealthzCommand.ts +32 -0
  188. package/src/command/HealthzGetCommand.ts +45 -0
  189. package/src/command/ValueCommand.ts +32 -0
  190. package/src/command/ValueListCommand.ts +45 -0
  191. package/src/command/cli.ts +43 -0
  192. package/src/index.ts +69 -0
  193. package/src/meta/AWSCategoryMetaTable.ts +58 -0
  194. package/src/meta/AWSFieldMetaTable.ts +60 -0
  195. package/src/meta/AWSMetaTable.ts +64 -0
  196. package/src/meta/AWSTagMetaTable.ts +60 -0
  197. package/src/meta/NamirasoftCredentialMetaDatabase.ts +60 -0
  198. package/src/row/AWSCategoryRow.ts +29 -0
  199. package/src/row/AWSFieldRow.ts +30 -0
  200. package/src/row/AWSFullRow.ts +39 -0
  201. package/src/row/AWSInputRow.ts +35 -0
  202. package/src/row/AWSRow.ts +32 -0
  203. package/src/row/AWSTagRow.ts +30 -0
  204. package/src/row/EntityCategoryInputRow.ts +24 -0
  205. package/src/row/EntityFieldInputRow.ts +25 -0
  206. package/src/row/EntityTagInputRow.ts +25 -0
  207. package/tsconfig.json +42 -0
@@ -0,0 +1,8 @@
1
+ export type AWSCategoryRow = {
2
+ id: number;
3
+ user_id: string;
4
+ entity_id: string;
5
+ category_id: string;
6
+ created_at: Date;
7
+ updated_at: Date;
8
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=AWSCategoryRow.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AWSCategoryRow.js","sourceRoot":"","sources":["../../src/row/AWSCategoryRow.ts"],"names":[],"mappings":""}
@@ -0,0 +1,9 @@
1
+ export type AWSFieldRow = {
2
+ id: number;
3
+ user_id: string;
4
+ entity_id: string;
5
+ field_id: string;
6
+ value: (any | null);
7
+ created_at: Date;
8
+ updated_at: Date;
9
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=AWSFieldRow.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AWSFieldRow.js","sourceRoot":"","sources":["../../src/row/AWSFieldRow.ts"],"names":[],"mappings":""}
@@ -0,0 +1,17 @@
1
+ import { EntityCategoryInputRow } from "./EntityCategoryInputRow";
2
+ import { EntityFieldInputRow } from "./EntityFieldInputRow";
3
+ import { EntityTagInputRow } from "./EntityTagInputRow";
4
+ export type AWSFullRow = {
5
+ id: string;
6
+ user_id: number;
7
+ workspace_id: string;
8
+ name: string;
9
+ access_key: string;
10
+ secret_key: string;
11
+ description: string;
12
+ created_at: Date;
13
+ updated_at: Date;
14
+ aws_category: (EntityCategoryInputRow | null)[];
15
+ aws_field: (EntityFieldInputRow | null)[];
16
+ aws_tag: (EntityTagInputRow | null)[];
17
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=AWSFullRow.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AWSFullRow.js","sourceRoot":"","sources":["../../src/row/AWSFullRow.ts"],"names":[],"mappings":""}
@@ -0,0 +1,13 @@
1
+ import { EntityCategoryInputRow } from "./EntityCategoryInputRow";
2
+ import { EntityFieldInputRow } from "./EntityFieldInputRow";
3
+ import { EntityTagInputRow } from "./EntityTagInputRow";
4
+ export type AWSInputRow = {
5
+ workspace_id: (string | null);
6
+ name: string;
7
+ access_key: string;
8
+ secret_key: string;
9
+ description: string;
10
+ aws_category: (EntityCategoryInputRow | null)[];
11
+ aws_field: (EntityFieldInputRow | null)[];
12
+ aws_tag: (EntityTagInputRow | null)[];
13
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=AWSInputRow.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AWSInputRow.js","sourceRoot":"","sources":["../../src/row/AWSInputRow.ts"],"names":[],"mappings":""}
@@ -0,0 +1,11 @@
1
+ export type AWSRow = {
2
+ id: string;
3
+ user_id: number;
4
+ workspace_id: string;
5
+ name: string;
6
+ access_key: string;
7
+ secret_key: string;
8
+ description: string;
9
+ created_at: Date;
10
+ updated_at: Date;
11
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=AWSRow.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AWSRow.js","sourceRoot":"","sources":["../../src/row/AWSRow.ts"],"names":[],"mappings":""}
@@ -0,0 +1,9 @@
1
+ export type AWSTagRow = {
2
+ id: number;
3
+ user_id: string;
4
+ entity_id: string;
5
+ name: string;
6
+ value: (string | null);
7
+ created_at: Date;
8
+ updated_at: Date;
9
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=AWSTagRow.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AWSTagRow.js","sourceRoot":"","sources":["../../src/row/AWSTagRow.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ export type EntityCategoryInputRow = {
2
+ category_id: string;
3
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=EntityCategoryInputRow.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EntityCategoryInputRow.js","sourceRoot":"","sources":["../../src/row/EntityCategoryInputRow.ts"],"names":[],"mappings":""}
@@ -0,0 +1,4 @@
1
+ export type EntityFieldInputRow = {
2
+ field_id: string;
3
+ value: (any | null);
4
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=EntityFieldInputRow.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EntityFieldInputRow.js","sourceRoot":"","sources":["../../src/row/EntityFieldInputRow.ts"],"names":[],"mappings":""}
@@ -0,0 +1,4 @@
1
+ export type EntityTagInputRow = {
2
+ name: string;
3
+ value: (string | null);
4
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=EntityTagInputRow.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EntityTagInputRow.js","sourceRoot":"","sources":["../../src/row/EntityTagInputRow.ts"],"names":[],"mappings":""}
package/logo.png ADDED
Binary file
package/package.json ADDED
@@ -0,0 +1,28 @@
1
+ {
2
+ "name": "namirasoft-credential",
3
+ "title": "Namirasoft Credential NPM Package",
4
+ "description": "Namira Software Corporation Credential NPM Package",
5
+ "icon": "logo.png",
6
+ "logo": "https://static.namirasoft.com/image/namirasoft/credential/logo/base.png",
7
+ "language": "ts",
8
+ "framework": "npm",
9
+ "application": "package",
10
+ "private": false,
11
+ "version": "1.4.0",
12
+ "author": "Amir Abolhasani",
13
+ "license": "MIT",
14
+ "main": "./dist/index.js",
15
+ "types": "./dist/index.d.ts",
16
+ "scripts": {
17
+ "build": ""
18
+ },
19
+ "dependencies": {
20
+ "namirasoft-core": "^1.4.62",
21
+ "namirasoft-site": "^1.4.27",
22
+ "namirasoft-node-cli": "^1.4.5",
23
+ "namirasoft-account": "^1.4.69"
24
+ },
25
+ "bin": {
26
+ "ns-credential": "./dist/command/cli.js"
27
+ }
28
+ }
@@ -0,0 +1,48 @@
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 { NSABaseServer } from "namirasoft-account";
22
+ import { NamirasoftCredentialServerAWS } from "./NamirasoftCredentialServerAWS";
23
+ import { NamirasoftCredentialServerAWSCategory } from "./NamirasoftCredentialServerAWSCategory";
24
+ import { NamirasoftCredentialServerAWSField } from "./NamirasoftCredentialServerAWSField";
25
+ import { NamirasoftCredentialServerAWSTag } from "./NamirasoftCredentialServerAWSTag";
26
+ import { NamirasoftCredentialServerHealthz } from "./NamirasoftCredentialServerHealthz";
27
+ import { NamirasoftCredentialServerValue } from "./NamirasoftCredentialServerValue";
28
+ import { TokenManager } from "namirasoft-account";
29
+
30
+ export class NamirasoftCredentialServer extends NSABaseServer
31
+ {
32
+ healthz: NamirasoftCredentialServerHealthz;
33
+ value: NamirasoftCredentialServerValue;
34
+ a_w_s_category: NamirasoftCredentialServerAWSCategory;
35
+ a_w_s_field: NamirasoftCredentialServerAWSField;
36
+ a_w_s_tag: NamirasoftCredentialServerAWSTag;
37
+ aws: NamirasoftCredentialServerAWS;
38
+ constructor(base_url: string, manager: TokenManager, onError: (error: Error) => void)
39
+ {
40
+ super(base_url, `1.4.0`, manager, onError);
41
+ this.healthz = new NamirasoftCredentialServerHealthz(this);
42
+ this.value = new NamirasoftCredentialServerValue(this);
43
+ this.a_w_s_category = new NamirasoftCredentialServerAWSCategory(this);
44
+ this.a_w_s_field = new NamirasoftCredentialServerAWSField(this);
45
+ this.a_w_s_tag = new NamirasoftCredentialServerAWSTag(this);
46
+ this.aws = new NamirasoftCredentialServerAWS(this);
47
+ }
48
+ };
@@ -0,0 +1,71 @@
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 { AWSFullRow } from "./row/AWSFullRow";
22
+ import { AWSInputRow } from "./row/AWSInputRow";
23
+ import { AWSRow } from "./row/AWSRow";
24
+ import { FilterItem } from "namirasoft-core";
25
+ import { NamirasoftCredentialServer } from "./NamirasoftCredentialServer";
26
+ import { NamirasoftCredentialServerBase } from "./NamirasoftCredentialServerBase";
27
+ import { SortItem } from "namirasoft-core";
28
+
29
+ export class NamirasoftCredentialServerAWS extends NamirasoftCredentialServerBase
30
+ {
31
+ constructor(server: NamirasoftCredentialServer)
32
+ {
33
+ super(server);
34
+ this.List = this.List.bind(this);
35
+ this.Get = this.Get.bind(this);
36
+ this.Create = this.Create.bind(this);
37
+ this.Update = this.Update.bind(this);
38
+ this.Delete = this.Delete.bind(this);
39
+ }
40
+ async List(filters: FilterItem[] | null, page: (number | null), size: (number | null), sorts: SortItem[]): Promise<{ rows: AWSRow[], count: number }>
41
+ {
42
+ let filters_string_value: string = FilterItem.stringify(filters);
43
+ let sorts_string_value: string = SortItem.stringify(sorts);
44
+ let path = `/aws/list`;
45
+ let { data } = await this.server._get<{ rows: AWSRow[], count: number }>(path, { filters: filters_string_value, page, size, sorts: sorts_string_value });
46
+ return data;
47
+ }
48
+ async Get(id: string): Promise<AWSFullRow>
49
+ {
50
+ let path = `/aws/${id}`;
51
+ let { data } = await this.server._get<AWSFullRow>(path, {});
52
+ return data;
53
+ }
54
+ async Create(body: AWSInputRow): Promise<AWSRow>
55
+ {
56
+ let path = `/aws`;
57
+ let { data } = await this.server._post<AWSRow>(path, {}, body);
58
+ return data;
59
+ }
60
+ async Update(id: string, body: AWSInputRow): Promise<AWSRow>
61
+ {
62
+ let path = `/aws/${id}`;
63
+ let { data } = await this.server._put<AWSRow>(path, {}, body);
64
+ return data;
65
+ }
66
+ async Delete(id: string): Promise<void>
67
+ {
68
+ let path = `/aws/${id}`;
69
+ await this.server._delete<void>(path, {});
70
+ }
71
+ };
@@ -0,0 +1,63 @@
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 { AWSCategoryRow } from "./row/AWSCategoryRow";
22
+ import { EntityCategoryInputRow } from "./row/EntityCategoryInputRow";
23
+ import { FilterItem } from "namirasoft-core";
24
+ import { NamirasoftCredentialServer } from "./NamirasoftCredentialServer";
25
+ import { NamirasoftCredentialServerBase } from "./NamirasoftCredentialServerBase";
26
+ import { SortItem } from "namirasoft-core";
27
+
28
+ export class NamirasoftCredentialServerAWSCategory extends NamirasoftCredentialServerBase
29
+ {
30
+ constructor(server: NamirasoftCredentialServer)
31
+ {
32
+ super(server);
33
+ this.List = this.List.bind(this);
34
+ this.Get = this.Get.bind(this);
35
+ this.Create = this.Create.bind(this);
36
+ this.Delete = this.Delete.bind(this);
37
+ }
38
+ async List(filters: FilterItem[] | null, page: (number | null), size: (number | null), sorts: SortItem[]): Promise<{ rows: AWSCategoryRow[], count: number }>
39
+ {
40
+ let filters_string_value: string = FilterItem.stringify(filters);
41
+ let sorts_string_value: string = SortItem.stringify(sorts);
42
+ let path = `aws/category/list`;
43
+ let { data } = await this.server._get<{ rows: AWSCategoryRow[], count: number }>(path, { filters: filters_string_value, page, size, sorts: sorts_string_value });
44
+ return data;
45
+ }
46
+ async Get(id: string): Promise<AWSCategoryRow>
47
+ {
48
+ let path = `aws/category/${id}`;
49
+ let { data } = await this.server._get<AWSCategoryRow>(path, {});
50
+ return data;
51
+ }
52
+ async Create(entity_id: string, body: EntityCategoryInputRow): Promise<AWSCategoryRow>
53
+ {
54
+ let path = `aws/category/${entity_id}`;
55
+ let { data } = await this.server._post<AWSCategoryRow>(path, {}, body);
56
+ return data;
57
+ }
58
+ async Delete(entity_id: string, id: number): Promise<void>
59
+ {
60
+ let path = `aws/category/${entity_id}/${id}`;
61
+ await this.server._delete<void>(path, {});
62
+ }
63
+ };
@@ -0,0 +1,70 @@
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 { AWSFieldRow } from "./row/AWSFieldRow";
22
+ import { EntityFieldInputRow } from "./row/EntityFieldInputRow";
23
+ import { FilterItem } from "namirasoft-core";
24
+ import { NamirasoftCredentialServer } from "./NamirasoftCredentialServer";
25
+ import { NamirasoftCredentialServerBase } from "./NamirasoftCredentialServerBase";
26
+ import { SortItem } from "namirasoft-core";
27
+
28
+ export class NamirasoftCredentialServerAWSField extends NamirasoftCredentialServerBase
29
+ {
30
+ constructor(server: NamirasoftCredentialServer)
31
+ {
32
+ super(server);
33
+ this.List = this.List.bind(this);
34
+ this.Get = this.Get.bind(this);
35
+ this.Create = this.Create.bind(this);
36
+ this.Update = this.Update.bind(this);
37
+ this.Delete = this.Delete.bind(this);
38
+ }
39
+ async List(filters: FilterItem[] | null, page: (number | null), size: (number | null), sorts: SortItem[]): Promise<{ rows: AWSFieldRow[], count: number }>
40
+ {
41
+ let filters_string_value: string = FilterItem.stringify(filters);
42
+ let sorts_string_value: string = SortItem.stringify(sorts);
43
+ let path = `aws/field/list`;
44
+ let { data } = await this.server._get<{ rows: AWSFieldRow[], count: number }>(path, { filters: filters_string_value, page, size, sorts: sorts_string_value });
45
+ return data;
46
+ }
47
+ async Get(id: string): Promise<AWSFieldRow>
48
+ {
49
+ let path = `aws/field/${id}`;
50
+ let { data } = await this.server._get<AWSFieldRow>(path, {});
51
+ return data;
52
+ }
53
+ async Create(entity_id: string, body: EntityFieldInputRow): Promise<AWSFieldRow>
54
+ {
55
+ let path = `aws/field/${entity_id}`;
56
+ let { data } = await this.server._post<AWSFieldRow>(path, {}, body);
57
+ return data;
58
+ }
59
+ async Update(entity_id: string, id: number, body: EntityFieldInputRow): Promise<AWSFieldRow>
60
+ {
61
+ let path = `aws/field/${entity_id}/${id}`;
62
+ let { data } = await this.server._put<AWSFieldRow>(path, {}, body);
63
+ return data;
64
+ }
65
+ async Delete(entity_id: string, id: number): Promise<void>
66
+ {
67
+ let path = `aws/field/${entity_id}/${id}`;
68
+ await this.server._delete<void>(path, {});
69
+ }
70
+ };
@@ -0,0 +1,70 @@
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 { AWSTagRow } from "./row/AWSTagRow";
22
+ import { EntityTagInputRow } from "./row/EntityTagInputRow";
23
+ import { FilterItem } from "namirasoft-core";
24
+ import { NamirasoftCredentialServer } from "./NamirasoftCredentialServer";
25
+ import { NamirasoftCredentialServerBase } from "./NamirasoftCredentialServerBase";
26
+ import { SortItem } from "namirasoft-core";
27
+
28
+ export class NamirasoftCredentialServerAWSTag extends NamirasoftCredentialServerBase
29
+ {
30
+ constructor(server: NamirasoftCredentialServer)
31
+ {
32
+ super(server);
33
+ this.List = this.List.bind(this);
34
+ this.Get = this.Get.bind(this);
35
+ this.Create = this.Create.bind(this);
36
+ this.Update = this.Update.bind(this);
37
+ this.Delete = this.Delete.bind(this);
38
+ }
39
+ async List(filters: FilterItem[] | null, page: (number | null), size: (number | null), sorts: SortItem[]): Promise<{ rows: AWSTagRow[], count: number }>
40
+ {
41
+ let filters_string_value: string = FilterItem.stringify(filters);
42
+ let sorts_string_value: string = SortItem.stringify(sorts);
43
+ let path = `aws/tag/list`;
44
+ let { data } = await this.server._get<{ rows: AWSTagRow[], count: number }>(path, { filters: filters_string_value, page, size, sorts: sorts_string_value });
45
+ return data;
46
+ }
47
+ async Get(id: string): Promise<AWSTagRow>
48
+ {
49
+ let path = `aws/tag/${id}`;
50
+ let { data } = await this.server._get<AWSTagRow>(path, {});
51
+ return data;
52
+ }
53
+ async Create(entity_id: string, body: EntityTagInputRow): Promise<AWSTagRow>
54
+ {
55
+ let path = `aws/tag/${entity_id}`;
56
+ let { data } = await this.server._post<AWSTagRow>(path, {}, body);
57
+ return data;
58
+ }
59
+ async Update(entity_id: string, id: number, body: EntityTagInputRow): Promise<AWSTagRow>
60
+ {
61
+ let path = `aws/tag/${entity_id}/${id}`;
62
+ let { data } = await this.server._put<AWSTagRow>(path, {}, body);
63
+ return data;
64
+ }
65
+ async Delete(entity_id: string, id: number): Promise<void>
66
+ {
67
+ let path = `aws/tag/${entity_id}/${id}`;
68
+ await this.server._delete<void>(path, {});
69
+ }
70
+ };
@@ -0,0 +1,30 @@
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 { NamirasoftCredentialServer } from "./NamirasoftCredentialServer";
22
+
23
+ export class NamirasoftCredentialServerBase
24
+ {
25
+ public server: NamirasoftCredentialServer;
26
+ constructor(server: NamirasoftCredentialServer)
27
+ {
28
+ this.server = server;
29
+ }
30
+ };
@@ -0,0 +1,36 @@
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 { NamirasoftCredentialServer } from "./NamirasoftCredentialServer";
22
+ import { NamirasoftCredentialServerBase } from "./NamirasoftCredentialServerBase";
23
+
24
+ export class NamirasoftCredentialServerHealthz extends NamirasoftCredentialServerBase
25
+ {
26
+ constructor(server: NamirasoftCredentialServer)
27
+ {
28
+ super(server);
29
+ this.Get = this.Get.bind(this);
30
+ }
31
+ async Get(): Promise<void>
32
+ {
33
+ let path = `/healthz`;
34
+ await this.server._get<void>(path, {});
35
+ }
36
+ };
@@ -0,0 +1,37 @@
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 { NamirasoftCredentialServer } from "./NamirasoftCredentialServer";
22
+ import { NamirasoftCredentialServerBase } from "./NamirasoftCredentialServerBase";
23
+
24
+ export class NamirasoftCredentialServerValue extends NamirasoftCredentialServerBase
25
+ {
26
+ constructor(server: NamirasoftCredentialServer)
27
+ {
28
+ super(server);
29
+ this.List = this.List.bind(this);
30
+ }
31
+ async List(table: string, column: string, search: (string | null), field_id: (string | null), limit: (number | null)): Promise<string[]>
32
+ {
33
+ let path = `/value/list/${table}/${column}`;
34
+ let { data } = await this.server._get<string[]>(path, { search, field_id, limit });
35
+ return data;
36
+ }
37
+ };