tango-app-api-client 3.6.3 → 3.6.4
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/package.json
CHANGED
|
@@ -1,46 +1,46 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "tango-app-api-client",
|
|
3
|
-
"version": "3.6.
|
|
4
|
-
"description": "client",
|
|
5
|
-
"main": "index.js",
|
|
6
|
-
"type": "module",
|
|
7
|
-
"scripts": {
|
|
8
|
-
"start": "nodemon --exec \"eslint --fix . && node
|
|
9
|
-
"build:patch": "node build.js patch && npm publish",
|
|
10
|
-
"build:minor": "node build.js minor && npm publish",
|
|
11
|
-
"build:major": "node build.js major && npm publish"
|
|
12
|
-
},
|
|
13
|
-
"engines": {
|
|
14
|
-
"node": ">=18.10.0"
|
|
15
|
-
},
|
|
16
|
-
"author": "praveenraj",
|
|
17
|
-
"license": "ISC",
|
|
18
|
-
"dependencies": {
|
|
19
|
-
"aws-sdk": "^2.1560.0",
|
|
20
|
-
"cors": "^2.8.5",
|
|
21
|
-
"dotenv": "^16.4.4",
|
|
22
|
-
"express": "^4.18.2",
|
|
23
|
-
"express-fileupload": "^1.4.3",
|
|
24
|
-
"handlebars": "^4.7.8",
|
|
25
|
-
"joi": "^17.12.1",
|
|
26
|
-
"joi-to-swagger": "^6.2.0",
|
|
27
|
-
"lodash": "^4.17.21",
|
|
28
|
-
"mongodb": "^6.7.0",
|
|
29
|
-
"nodemon": "^3.0.3",
|
|
30
|
-
"npm": "^10.9.1",
|
|
31
|
-
"sharp": "^0.34.3",
|
|
32
|
-
"swagger-ui-express": "^5.0.0",
|
|
33
|
-
"tango-api-schema": "^2.4.
|
|
34
|
-
"tango-app-api-middleware": "^3.6.0",
|
|
35
|
-
"winston": "^3.11.0",
|
|
36
|
-
"winston-daily-rotate-file": "^5.0.0"
|
|
37
|
-
},
|
|
38
|
-
"devDependencies": {
|
|
39
|
-
"eslint": "^8.56.0",
|
|
40
|
-
"eslint-config-google": "^0.14.0",
|
|
41
|
-
"eslint-config-semistandard": "^17.0.0",
|
|
42
|
-
"eslint-config-standard": "^17.1.0",
|
|
43
|
-
"eslint-plugin-import": "^2.29.1",
|
|
44
|
-
"eslint-plugin-promise": "^6.1.1"
|
|
45
|
-
}
|
|
46
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "tango-app-api-client",
|
|
3
|
+
"version": "3.6.4",
|
|
4
|
+
"description": "client",
|
|
5
|
+
"main": "index.js",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"scripts": {
|
|
8
|
+
"start": "nodemon --exec \"eslint --fix . && node index.js\"",
|
|
9
|
+
"build:patch": "node build.js patch && npm publish",
|
|
10
|
+
"build:minor": "node build.js minor && npm publish",
|
|
11
|
+
"build:major": "node build.js major && npm publish"
|
|
12
|
+
},
|
|
13
|
+
"engines": {
|
|
14
|
+
"node": ">=18.10.0"
|
|
15
|
+
},
|
|
16
|
+
"author": "praveenraj",
|
|
17
|
+
"license": "ISC",
|
|
18
|
+
"dependencies": {
|
|
19
|
+
"aws-sdk": "^2.1560.0",
|
|
20
|
+
"cors": "^2.8.5",
|
|
21
|
+
"dotenv": "^16.4.4",
|
|
22
|
+
"express": "^4.18.2",
|
|
23
|
+
"express-fileupload": "^1.4.3",
|
|
24
|
+
"handlebars": "^4.7.8",
|
|
25
|
+
"joi": "^17.12.1",
|
|
26
|
+
"joi-to-swagger": "^6.2.0",
|
|
27
|
+
"lodash": "^4.17.21",
|
|
28
|
+
"mongodb": "^6.7.0",
|
|
29
|
+
"nodemon": "^3.0.3",
|
|
30
|
+
"npm": "^10.9.1",
|
|
31
|
+
"sharp": "^0.34.3",
|
|
32
|
+
"swagger-ui-express": "^5.0.0",
|
|
33
|
+
"tango-api-schema": "^2.4.12",
|
|
34
|
+
"tango-app-api-middleware": "^3.6.0",
|
|
35
|
+
"winston": "^3.11.0",
|
|
36
|
+
"winston-daily-rotate-file": "^5.0.0"
|
|
37
|
+
},
|
|
38
|
+
"devDependencies": {
|
|
39
|
+
"eslint": "^8.56.0",
|
|
40
|
+
"eslint-config-google": "^0.14.0",
|
|
41
|
+
"eslint-config-semistandard": "^17.0.0",
|
|
42
|
+
"eslint-config-standard": "^17.1.0",
|
|
43
|
+
"eslint-plugin-import": "^2.29.1",
|
|
44
|
+
"eslint-plugin-promise": "^6.1.1"
|
|
45
|
+
}
|
|
46
|
+
}
|
|
@@ -1162,6 +1162,7 @@ export async function updateFeatureConfiguration( req, res ) {
|
|
|
1162
1162
|
AIManager: previousData?.featureConfigs?.isAIManager == true ? 'Enabled' : 'Disabled',
|
|
1163
1163
|
AIManagerAccessControl: previousData?.featureConfigs?.isAIManagerAccessControl == true ? 'Enabled' : 'Disabled',
|
|
1164
1164
|
CameraEdit: previousData?.featureConfigs?.isCameraEdit == true ? 'Enabled' : 'Disabled',
|
|
1165
|
+
SSOlogin: previousData?.featureConfigs?.loginSSO == true ? 'Enabled' : 'Disabled',
|
|
1165
1166
|
};
|
|
1166
1167
|
|
|
1167
1168
|
// Map and rename keys from current client info for UI display and logging
|
|
@@ -1203,6 +1204,7 @@ export async function updateFeatureConfiguration( req, res ) {
|
|
|
1203
1204
|
AIManager: previousData?.featureConfigs?.isAIManager == true ? 'Enabled' : 'Disabled',
|
|
1204
1205
|
AIManagerAccessControl: previousData?.featureConfigs?.isAIManagerAccessControl == true ? 'Enabled' : 'Disabled',
|
|
1205
1206
|
CameraEdit: previousData?.featureConfigs?.isCameraEdit == true ? 'Enabled' : 'Disabled',
|
|
1207
|
+
SSOlogin: previousData?.featureConfigs?.loginSSO == true ? 'Enabled' : 'Disabled',
|
|
1206
1208
|
};
|
|
1207
1209
|
|
|
1208
1210
|
// Prepare activity log object with all relevant details for OpenSearch logging
|
package/src/dtos/client.dtos.js
CHANGED
|
@@ -170,6 +170,7 @@ export function featureConfigurationUpdate( query, inputData ) {
|
|
|
170
170
|
'featureConfigs.isAIManager': inputData?.isAIManager,
|
|
171
171
|
'featureConfigs.isAIManagerAccessControl': inputData?.isAIManagerAccessControl,
|
|
172
172
|
'featureConfigs.isCameraEdit': inputData?.isCameraEdit,
|
|
173
|
+
'featureConfigs.loginSSO': inputData?.loginSSO,
|
|
173
174
|
},
|
|
174
175
|
} );
|
|
175
176
|
}
|