zocrmsdkmiblu 0.2.5 → 0.2.6

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.
@@ -1,46 +1,46 @@
1
- var util = require('../util');
2
-
3
- var settings = function settings()
4
- {
5
-
6
- return {
7
- getFields : function (input)
8
- {
9
- return util.promiseResponse(util.constructRequestDetails(input, "settings/fields/{id}", HTTP_METHODS.GET, true));//No I18N
10
- },
11
- getLayouts : function (input)
12
- {
13
- return util.promiseResponse(util.constructRequestDetails(input, "settings/layouts/{id}", HTTP_METHODS.GET, true));//No I18N
14
- },
15
- getCustomViews : function (input)
16
- {
17
- return util.promiseResponse(util.constructRequestDetails(input, "settings/custom_views/{id}", HTTP_METHODS.GET, true));//No I18N
18
- },
19
- updateCustomViews : function (input)
20
- {
21
- return util.promiseResponse(util.constructRequestDetails(input, "settings/custom_views/{id}", HTTP_METHODS.PUT, true));//No I18N
22
- },
23
- getModules : function (input)
24
- {
25
- return util.promiseResponse(util.constructRequestDetails(input, "settings/modules" + ((input && input.module) ? "/" + input.module : ""), HTTP_METHODS.GET, false));//No I18N
26
- },
27
- getRoles : function (input)
28
- {
29
- return util.promiseResponse(util.constructRequestDetails(input, "settings/roles/{id}", HTTP_METHODS.GET, true));//No I18N
30
- },
31
- getProfiles : function (input)
32
- {
33
- return util.promiseResponse(util.constructRequestDetails(input, "settings/profiles/{id}", HTTP_METHODS.GET, true));//No I18N
34
- },
35
- getRelatedLists : function (input)
36
- {
37
- return util.promiseResponse(util.constructRequestDetails(input, "settings/related_lists/{id}", HTTP_METHODS.GET, true));//No I18N
38
- },
39
- getInventoryTemplates : function (input)
40
- {
41
- return util.promiseResponse(util.constructRequestDetails(input, "settings/inventory_templates/{id}", HTTP_METHODS.GET, false));//No I18N
42
- }
43
- }
44
- }
45
-
1
+ var util = require('../util');
2
+
3
+ var settings = function settings()
4
+ {
5
+
6
+ return {
7
+ getFields : function (input)
8
+ {
9
+ return util.promiseResponse(util.constructRequestDetails(input, "settings/fields/{id}", HTTP_METHODS.GET, true));//No I18N
10
+ },
11
+ getLayouts : function (input)
12
+ {
13
+ return util.promiseResponse(util.constructRequestDetails(input, "settings/layouts/{id}", HTTP_METHODS.GET, true));//No I18N
14
+ },
15
+ getCustomViews : function (input)
16
+ {
17
+ return util.promiseResponse(util.constructRequestDetails(input, "settings/custom_views/{id}", HTTP_METHODS.GET, true));//No I18N
18
+ },
19
+ updateCustomViews : function (input)
20
+ {
21
+ return util.promiseResponse(util.constructRequestDetails(input, "settings/custom_views/{id}", HTTP_METHODS.PUT, true));//No I18N
22
+ },
23
+ getModules : function (input)
24
+ {
25
+ return util.promiseResponse(util.constructRequestDetails(input, "settings/modules" + ((input && input.module) ? "/" + input.module : ""), HTTP_METHODS.GET, false));//No I18N
26
+ },
27
+ getRoles : function (input)
28
+ {
29
+ return util.promiseResponse(util.constructRequestDetails(input, "settings/roles/{id}", HTTP_METHODS.GET, true));//No I18N
30
+ },
31
+ getProfiles : function (input)
32
+ {
33
+ return util.promiseResponse(util.constructRequestDetails(input, "settings/profiles/{id}", HTTP_METHODS.GET, true));//No I18N
34
+ },
35
+ getRelatedLists : function (input)
36
+ {
37
+ return util.promiseResponse(util.constructRequestDetails(input, "settings/related_lists/{id}", HTTP_METHODS.GET, true));//No I18N
38
+ },
39
+ getInventoryTemplates : function (input)
40
+ {
41
+ return util.promiseResponse(util.constructRequestDetails(input, "settings/inventory_templates/{id}", HTTP_METHODS.GET, false));//No I18N
42
+ }
43
+ }
44
+ }
45
+
46
46
  module.exports = settings;
@@ -1,19 +1,19 @@
1
- var util = require('../util');
2
-
3
- var users = function users()
4
- {
5
-
6
- return {
7
- get : function (input)
8
- {
9
- return util.promiseResponse(util.constructRequestDetails(input, "users/{id}", HTTP_METHODS.GET, true));//No I18N
10
- },
11
- getUsersType : function (input)
12
- {
13
- return util.promiseResponse(util.constructRequestDetails(input, "users", HTTP_METHODS.GET, true));//No I18N
14
- },
15
- }
16
- }
17
-
18
-
1
+ var util = require('../util');
2
+
3
+ var users = function users()
4
+ {
5
+
6
+ return {
7
+ get : function (input)
8
+ {
9
+ return util.promiseResponse(util.constructRequestDetails(input, "users/{id}", HTTP_METHODS.GET, true));//No I18N
10
+ },
11
+ getUsersType : function (input)
12
+ {
13
+ return util.promiseResponse(util.constructRequestDetails(input, "users", HTTP_METHODS.GET, true));//No I18N
14
+ },
15
+ }
16
+ }
17
+
18
+
19
19
  module.exports = users;