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.
- package/dist/NamirasoftCredentialServer.d.ts +17 -0
- package/dist/NamirasoftCredentialServer.js +24 -0
- package/dist/NamirasoftCredentialServer.js.map +1 -0
- package/dist/NamirasoftCredentialServerAWS.d.ts +18 -0
- package/dist/NamirasoftCredentialServerAWS.js +64 -0
- package/dist/NamirasoftCredentialServerAWS.js.map +1 -0
- package/dist/NamirasoftCredentialServerAWSCategory.d.ts +16 -0
- package/dist/NamirasoftCredentialServerAWSCategory.js +56 -0
- package/dist/NamirasoftCredentialServerAWSCategory.js.map +1 -0
- package/dist/NamirasoftCredentialServerAWSField.d.ts +17 -0
- package/dist/NamirasoftCredentialServerAWSField.js +64 -0
- package/dist/NamirasoftCredentialServerAWSField.js.map +1 -0
- package/dist/NamirasoftCredentialServerAWSTag.d.ts +17 -0
- package/dist/NamirasoftCredentialServerAWSTag.js +64 -0
- package/dist/NamirasoftCredentialServerAWSTag.js.map +1 -0
- package/dist/NamirasoftCredentialServerBase.d.ts +5 -0
- package/dist/NamirasoftCredentialServerBase.js +11 -0
- package/dist/NamirasoftCredentialServerBase.js.map +1 -0
- package/dist/NamirasoftCredentialServerHealthz.d.ts +6 -0
- package/dist/NamirasoftCredentialServerHealthz.js +28 -0
- package/dist/NamirasoftCredentialServerHealthz.js.map +1 -0
- package/dist/NamirasoftCredentialServerValue.d.ts +6 -0
- package/dist/NamirasoftCredentialServerValue.js +29 -0
- package/dist/NamirasoftCredentialServerValue.js.map +1 -0
- package/dist/command/AWSCategoryCommand.d.ts +4 -0
- package/dist/command/AWSCategoryCommand.js +21 -0
- package/dist/command/AWSCategoryCommand.js.map +1 -0
- package/dist/command/AWSCategoryCreateCommand.d.ts +5 -0
- package/dist/command/AWSCategoryCreateCommand.js +49 -0
- package/dist/command/AWSCategoryCreateCommand.js.map +1 -0
- package/dist/command/AWSCategoryDeleteCommand.d.ts +5 -0
- package/dist/command/AWSCategoryDeleteCommand.js +38 -0
- package/dist/command/AWSCategoryDeleteCommand.js.map +1 -0
- package/dist/command/AWSCategoryGetCommand.d.ts +5 -0
- package/dist/command/AWSCategoryGetCommand.js +38 -0
- package/dist/command/AWSCategoryGetCommand.js.map +1 -0
- package/dist/command/AWSCategoryListCommand.d.ts +5 -0
- package/dist/command/AWSCategoryListCommand.js +38 -0
- package/dist/command/AWSCategoryListCommand.js.map +1 -0
- package/dist/command/AWSCommand.d.ts +4 -0
- package/dist/command/AWSCommand.js +23 -0
- package/dist/command/AWSCommand.js.map +1 -0
- package/dist/command/AWSCreateCommand.d.ts +5 -0
- package/dist/command/AWSCreateCommand.js +112 -0
- package/dist/command/AWSCreateCommand.js.map +1 -0
- package/dist/command/AWSDeleteCommand.d.ts +5 -0
- package/dist/command/AWSDeleteCommand.js +38 -0
- package/dist/command/AWSDeleteCommand.js.map +1 -0
- package/dist/command/AWSFieldCommand.d.ts +4 -0
- package/dist/command/AWSFieldCommand.js +23 -0
- package/dist/command/AWSFieldCommand.js.map +1 -0
- package/dist/command/AWSFieldCreateCommand.d.ts +5 -0
- package/dist/command/AWSFieldCreateCommand.js +58 -0
- package/dist/command/AWSFieldCreateCommand.js.map +1 -0
- package/dist/command/AWSFieldDeleteCommand.d.ts +5 -0
- package/dist/command/AWSFieldDeleteCommand.js +38 -0
- package/dist/command/AWSFieldDeleteCommand.js.map +1 -0
- package/dist/command/AWSFieldGetCommand.d.ts +5 -0
- package/dist/command/AWSFieldGetCommand.js +38 -0
- package/dist/command/AWSFieldGetCommand.js.map +1 -0
- package/dist/command/AWSFieldListCommand.d.ts +5 -0
- package/dist/command/AWSFieldListCommand.js +38 -0
- package/dist/command/AWSFieldListCommand.js.map +1 -0
- package/dist/command/AWSFieldUpdateCommand.d.ts +5 -0
- package/dist/command/AWSFieldUpdateCommand.js +58 -0
- package/dist/command/AWSFieldUpdateCommand.js.map +1 -0
- package/dist/command/AWSGetCommand.d.ts +5 -0
- package/dist/command/AWSGetCommand.js +38 -0
- package/dist/command/AWSGetCommand.js.map +1 -0
- package/dist/command/AWSListCommand.d.ts +5 -0
- package/dist/command/AWSListCommand.js +38 -0
- package/dist/command/AWSListCommand.js.map +1 -0
- package/dist/command/AWSTagCommand.d.ts +4 -0
- package/dist/command/AWSTagCommand.js +23 -0
- package/dist/command/AWSTagCommand.js.map +1 -0
- package/dist/command/AWSTagCreateCommand.d.ts +5 -0
- package/dist/command/AWSTagCreateCommand.js +58 -0
- package/dist/command/AWSTagCreateCommand.js.map +1 -0
- package/dist/command/AWSTagDeleteCommand.d.ts +5 -0
- package/dist/command/AWSTagDeleteCommand.js +38 -0
- package/dist/command/AWSTagDeleteCommand.js.map +1 -0
- package/dist/command/AWSTagGetCommand.d.ts +5 -0
- package/dist/command/AWSTagGetCommand.js +38 -0
- package/dist/command/AWSTagGetCommand.js.map +1 -0
- package/dist/command/AWSTagListCommand.d.ts +5 -0
- package/dist/command/AWSTagListCommand.js +38 -0
- package/dist/command/AWSTagListCommand.js.map +1 -0
- package/dist/command/AWSTagUpdateCommand.d.ts +5 -0
- package/dist/command/AWSTagUpdateCommand.js +58 -0
- package/dist/command/AWSTagUpdateCommand.js.map +1 -0
- package/dist/command/AWSUpdateCommand.d.ts +5 -0
- package/dist/command/AWSUpdateCommand.js +112 -0
- package/dist/command/AWSUpdateCommand.js.map +1 -0
- package/dist/command/HealthzCommand.d.ts +4 -0
- package/dist/command/HealthzCommand.js +15 -0
- package/dist/command/HealthzCommand.js.map +1 -0
- package/dist/command/HealthzGetCommand.d.ts +5 -0
- package/dist/command/HealthzGetCommand.js +38 -0
- package/dist/command/HealthzGetCommand.js.map +1 -0
- package/dist/command/ValueCommand.d.ts +4 -0
- package/dist/command/ValueCommand.js +15 -0
- package/dist/command/ValueCommand.js.map +1 -0
- package/dist/command/ValueListCommand.d.ts +5 -0
- package/dist/command/ValueListCommand.js +38 -0
- package/dist/command/ValueListCommand.js.map +1 -0
- package/dist/command/cli.d.ts +2 -0
- package/dist/command/cli.js +24 -0
- package/dist/command/cli.js.map +1 -0
- package/dist/index.d.ts +49 -0
- package/dist/index.js +66 -0
- package/dist/index.js.map +1 -0
- package/dist/meta/AWSCategoryMetaTable.d.ts +15 -0
- package/dist/meta/AWSCategoryMetaTable.js +38 -0
- package/dist/meta/AWSCategoryMetaTable.js.map +1 -0
- package/dist/meta/AWSFieldMetaTable.d.ts +16 -0
- package/dist/meta/AWSFieldMetaTable.js +39 -0
- package/dist/meta/AWSFieldMetaTable.js.map +1 -0
- package/dist/meta/AWSMetaTable.d.ts +18 -0
- package/dist/meta/AWSMetaTable.js +41 -0
- package/dist/meta/AWSMetaTable.js.map +1 -0
- package/dist/meta/AWSTagMetaTable.d.ts +16 -0
- package/dist/meta/AWSTagMetaTable.js +39 -0
- package/dist/meta/AWSTagMetaTable.js.map +1 -0
- package/dist/meta/NamirasoftCredentialMetaDatabase.d.ts +19 -0
- package/dist/meta/NamirasoftCredentialMetaDatabase.js +33 -0
- package/dist/meta/NamirasoftCredentialMetaDatabase.js.map +1 -0
- package/dist/row/AWSCategoryRow.d.ts +8 -0
- package/dist/row/AWSCategoryRow.js +3 -0
- package/dist/row/AWSCategoryRow.js.map +1 -0
- package/dist/row/AWSFieldRow.d.ts +9 -0
- package/dist/row/AWSFieldRow.js +3 -0
- package/dist/row/AWSFieldRow.js.map +1 -0
- package/dist/row/AWSFullRow.d.ts +17 -0
- package/dist/row/AWSFullRow.js +3 -0
- package/dist/row/AWSFullRow.js.map +1 -0
- package/dist/row/AWSInputRow.d.ts +13 -0
- package/dist/row/AWSInputRow.js +3 -0
- package/dist/row/AWSInputRow.js.map +1 -0
- package/dist/row/AWSRow.d.ts +11 -0
- package/dist/row/AWSRow.js +3 -0
- package/dist/row/AWSRow.js.map +1 -0
- package/dist/row/AWSTagRow.d.ts +9 -0
- package/dist/row/AWSTagRow.js +3 -0
- package/dist/row/AWSTagRow.js.map +1 -0
- package/dist/row/EntityCategoryInputRow.d.ts +3 -0
- package/dist/row/EntityCategoryInputRow.js +3 -0
- package/dist/row/EntityCategoryInputRow.js.map +1 -0
- package/dist/row/EntityFieldInputRow.d.ts +4 -0
- package/dist/row/EntityFieldInputRow.js +3 -0
- package/dist/row/EntityFieldInputRow.js.map +1 -0
- package/dist/row/EntityTagInputRow.d.ts +4 -0
- package/dist/row/EntityTagInputRow.js +3 -0
- package/dist/row/EntityTagInputRow.js.map +1 -0
- package/logo.png +0 -0
- package/package.json +28 -0
- package/src/NamirasoftCredentialServer.ts +48 -0
- package/src/NamirasoftCredentialServerAWS.ts +71 -0
- package/src/NamirasoftCredentialServerAWSCategory.ts +63 -0
- package/src/NamirasoftCredentialServerAWSField.ts +70 -0
- package/src/NamirasoftCredentialServerAWSTag.ts +70 -0
- package/src/NamirasoftCredentialServerBase.ts +30 -0
- package/src/NamirasoftCredentialServerHealthz.ts +36 -0
- package/src/NamirasoftCredentialServerValue.ts +37 -0
- package/src/command/AWSCategoryCommand.ts +38 -0
- package/src/command/AWSCategoryCreateCommand.ts +56 -0
- package/src/command/AWSCategoryDeleteCommand.ts +45 -0
- package/src/command/AWSCategoryGetCommand.ts +45 -0
- package/src/command/AWSCategoryListCommand.ts +45 -0
- package/src/command/AWSCommand.ts +40 -0
- package/src/command/AWSCreateCommand.ts +119 -0
- package/src/command/AWSDeleteCommand.ts +45 -0
- package/src/command/AWSFieldCommand.ts +40 -0
- package/src/command/AWSFieldCreateCommand.ts +65 -0
- package/src/command/AWSFieldDeleteCommand.ts +45 -0
- package/src/command/AWSFieldGetCommand.ts +45 -0
- package/src/command/AWSFieldListCommand.ts +45 -0
- package/src/command/AWSFieldUpdateCommand.ts +65 -0
- package/src/command/AWSGetCommand.ts +45 -0
- package/src/command/AWSListCommand.ts +45 -0
- package/src/command/AWSTagCommand.ts +40 -0
- package/src/command/AWSTagCreateCommand.ts +65 -0
- package/src/command/AWSTagDeleteCommand.ts +45 -0
- package/src/command/AWSTagGetCommand.ts +45 -0
- package/src/command/AWSTagListCommand.ts +45 -0
- package/src/command/AWSTagUpdateCommand.ts +65 -0
- package/src/command/AWSUpdateCommand.ts +119 -0
- package/src/command/HealthzCommand.ts +32 -0
- package/src/command/HealthzGetCommand.ts +45 -0
- package/src/command/ValueCommand.ts +32 -0
- package/src/command/ValueListCommand.ts +45 -0
- package/src/command/cli.ts +43 -0
- package/src/index.ts +69 -0
- package/src/meta/AWSCategoryMetaTable.ts +58 -0
- package/src/meta/AWSFieldMetaTable.ts +60 -0
- package/src/meta/AWSMetaTable.ts +64 -0
- package/src/meta/AWSTagMetaTable.ts +60 -0
- package/src/meta/NamirasoftCredentialMetaDatabase.ts +60 -0
- package/src/row/AWSCategoryRow.ts +29 -0
- package/src/row/AWSFieldRow.ts +30 -0
- package/src/row/AWSFullRow.ts +39 -0
- package/src/row/AWSInputRow.ts +35 -0
- package/src/row/AWSRow.ts +32 -0
- package/src/row/AWSTagRow.ts +30 -0
- package/src/row/EntityCategoryInputRow.ts +24 -0
- package/src/row/EntityFieldInputRow.ts +25 -0
- package/src/row/EntityTagInputRow.ts +25 -0
- package/tsconfig.json +42 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AWSCategoryRow.js","sourceRoot":"","sources":["../../src/row/AWSCategoryRow.ts"],"names":[],"mappings":""}
|
|
@@ -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 @@
|
|
|
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 @@
|
|
|
1
|
+
{"version":3,"file":"AWSInputRow.js","sourceRoot":"","sources":["../../src/row/AWSInputRow.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AWSRow.js","sourceRoot":"","sources":["../../src/row/AWSRow.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AWSTagRow.js","sourceRoot":"","sources":["../../src/row/AWSTagRow.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EntityCategoryInputRow.js","sourceRoot":"","sources":["../../src/row/EntityCategoryInputRow.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EntityFieldInputRow.js","sourceRoot":"","sources":["../../src/row/EntityFieldInputRow.ts"],"names":[],"mappings":""}
|
|
@@ -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
|
+
};
|