@itentialopensource/adapter-zero_networks 0.1.1

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 (183) hide show
  1. package/.eslintignore +6 -0
  2. package/.eslintrc.js +18 -0
  3. package/.gitlab/.gitkeep +0 -0
  4. package/.gitlab/issue_templates/.gitkeep +0 -0
  5. package/.gitlab/issue_templates/Default.md +17 -0
  6. package/.gitlab/issue_templates/bugReportTemplate.md +76 -0
  7. package/.gitlab/issue_templates/featureRequestTemplate.md +14 -0
  8. package/.jshintrc +0 -0
  9. package/AUTH.md +39 -0
  10. package/BROKER.md +199 -0
  11. package/CALLS.md +5576 -0
  12. package/CHANGELOG.md +9 -0
  13. package/CODE_OF_CONDUCT.md +43 -0
  14. package/CONTRIBUTING.md +13 -0
  15. package/ENHANCE.md +69 -0
  16. package/LICENSE +201 -0
  17. package/PROPERTIES.md +641 -0
  18. package/README.md +346 -0
  19. package/SUMMARY.md +9 -0
  20. package/SYSTEMINFO.md +11 -0
  21. package/TAB1.md +5 -0
  22. package/TAB2.md +6798 -0
  23. package/TROUBLESHOOT.md +47 -0
  24. package/adapter.js +78448 -0
  25. package/adapterBase.js +1452 -0
  26. package/entities/.generic/action.json +214 -0
  27. package/entities/.generic/schema.json +28 -0
  28. package/entities/.system/action.json +50 -0
  29. package/entities/.system/mockdatafiles/getToken-default.json +3 -0
  30. package/entities/.system/mockdatafiles/healthcheck-default.json +3 -0
  31. package/entities/.system/schema.json +19 -0
  32. package/entities/.system/schemaTokenReq.json +53 -0
  33. package/entities/.system/schemaTokenResp.json +53 -0
  34. package/entities/Activities/action.json +295 -0
  35. package/entities/Activities/mockdatafiles/rPCActivitiesInterfaceCandidatesFiltersList-default.json +126 -0
  36. package/entities/Activities/mockdatafiles/rPCActivitiesOperationFiltersList-default.json +24 -0
  37. package/entities/Activities/schema.json +87 -0
  38. package/entities/Asset/action.json +3528 -0
  39. package/entities/Asset/mockdatafiles/assetRPCActivitiesInterfaceCandidatesFiltersList-default.json +52 -0
  40. package/entities/Asset/mockdatafiles/assetRPCActivitiesOperationFiltersList-default.json +78 -0
  41. package/entities/Asset/schema.json +288 -0
  42. package/entities/AssetOTIoT/action.json +3206 -0
  43. package/entities/AssetOTIoT/mockdatafiles/assetOTRPCActivitiesInterfaceCandidatesFiltersList-default.json +32 -0
  44. package/entities/AssetOTIoT/mockdatafiles/assetOTRPCActivitiesOperationFiltersList-default.json +46 -0
  45. package/entities/AssetOTIoT/schema.json +272 -0
  46. package/entities/Assets/action.json +1336 -0
  47. package/entities/Assets/mockdatafiles/assetsStatisticsGet-default.json +39 -0
  48. package/entities/Assets/schema.json +138 -0
  49. package/entities/AssetsOTIoT/action.json +106 -0
  50. package/entities/AssetsOTIoT/schema.json +78 -0
  51. package/entities/Audit/action.json +87 -0
  52. package/entities/Audit/schema.json +77 -0
  53. package/entities/Auth/action.json +64 -0
  54. package/entities/Auth/schema.json +21 -0
  55. package/entities/Entity/action.json +67 -0
  56. package/entities/Entity/schema.json +21 -0
  57. package/entities/Group/action.json +2565 -0
  58. package/entities/Group/schema.json +241 -0
  59. package/entities/Groups/action.json +378 -0
  60. package/entities/Groups/schema.json +124 -0
  61. package/entities/GroupsActiveDirectory/action.json +66 -0
  62. package/entities/GroupsActiveDirectory/schema.json +21 -0
  63. package/entities/GroupsCustom/action.json +125 -0
  64. package/entities/GroupsCustom/schema.json +68 -0
  65. package/entities/GroupsTags/action.json +24 -0
  66. package/entities/GroupsTags/schema.json +19 -0
  67. package/entities/MFA/action.json +46 -0
  68. package/entities/MFA/schema.json +20 -0
  69. package/entities/MFAInbound/action.json +379 -0
  70. package/entities/MFAInbound/schema.json +113 -0
  71. package/entities/MFAOutbound/action.json +379 -0
  72. package/entities/MFAOutbound/schema.json +102 -0
  73. package/entities/Profile/action.json +46 -0
  74. package/entities/Profile/schema.json +20 -0
  75. package/entities/Rules/action.json +227 -0
  76. package/entities/Rules/schema.json +29 -0
  77. package/entities/RulesIdentity/action.json +273 -0
  78. package/entities/RulesIdentity/schema.json +119 -0
  79. package/entities/RulesInboundAllow/action.json +293 -0
  80. package/entities/RulesInboundAllow/schema.json +120 -0
  81. package/entities/RulesInboundBlock/action.json +293 -0
  82. package/entities/RulesInboundBlock/schema.json +120 -0
  83. package/entities/RulesOutboundAllow/action.json +314 -0
  84. package/entities/RulesOutboundAllow/schema.json +121 -0
  85. package/entities/RulesOutboundBlock/action.json +293 -0
  86. package/entities/RulesOutboundBlock/schema.json +120 -0
  87. package/entities/RulesRPC/action.json +315 -0
  88. package/entities/RulesRPC/schema.json +121 -0
  89. package/entities/Sessions/action.json +66 -0
  90. package/entities/Sessions/schema.json +54 -0
  91. package/entities/Settings/action.json +66 -0
  92. package/entities/Settings/schema.json +21 -0
  93. package/entities/SettingsAI/action.json +189 -0
  94. package/entities/SettingsAI/schema.json +60 -0
  95. package/entities/SettingsAIRulesReview/action.json +45 -0
  96. package/entities/SettingsAIRulesReview/schema.json +20 -0
  97. package/entities/SettingsAccessTokens/action.json +85 -0
  98. package/entities/SettingsAccessTokens/schema.json +22 -0
  99. package/entities/SettingsActivities/action.json +45 -0
  100. package/entities/SettingsActivities/schema.json +20 -0
  101. package/entities/SettingsAssetManagement/action.json +533 -0
  102. package/entities/SettingsAssetManagement/schema.json +88 -0
  103. package/entities/SettingsAssetManagers/action.json +65 -0
  104. package/entities/SettingsAssetManagers/schema.json +43 -0
  105. package/entities/SettingsBreakGlass/action.json +45 -0
  106. package/entities/SettingsBreakGlass/schema.json +20 -0
  107. package/entities/SettingsCloudConnector/action.json +85 -0
  108. package/entities/SettingsCloudConnector/mockdatafiles/cloudConnectorAccessTokensCreate-default.json +9 -0
  109. package/entities/SettingsCloudConnector/mockdatafiles/cloudConnectorAccessTokensRegenerate-default.json +9 -0
  110. package/entities/SettingsCloudConnector/schema.json +22 -0
  111. package/entities/SettingsConnect/action.json +395 -0
  112. package/entities/SettingsConnect/schema.json +81 -0
  113. package/entities/SettingsFirewall/action.json +168 -0
  114. package/entities/SettingsFirewall/schema.json +26 -0
  115. package/entities/SettingsIdentityProviders/action.json +126 -0
  116. package/entities/SettingsIdentityProviders/schema.json +24 -0
  117. package/entities/SettingsInternalSubnets/action.json +86 -0
  118. package/entities/SettingsInternalSubnets/schema.json +22 -0
  119. package/entities/SettingsLearning/action.json +45 -0
  120. package/entities/SettingsLearning/schema.json +20 -0
  121. package/entities/SettingsMFA/action.json +86 -0
  122. package/entities/SettingsMFA/schema.json +22 -0
  123. package/entities/SettingsMailNotifications/action.json +45 -0
  124. package/entities/SettingsMailNotifications/schema.json +20 -0
  125. package/entities/SettingsPortalSecurity/action.json +45 -0
  126. package/entities/SettingsPortalSecurity/schema.json +20 -0
  127. package/entities/SettingsPrivilegedPorts/action.json +25 -0
  128. package/entities/SettingsPrivilegedPorts/schema.json +19 -0
  129. package/entities/SettingsProtectionPolicies/action.json +106 -0
  130. package/entities/SettingsProtectionPolicies/schema.json +56 -0
  131. package/entities/SettingsPushNotifications/action.json +85 -0
  132. package/entities/SettingsPushNotifications/schema.json +22 -0
  133. package/entities/SettingsRoles/action.json +86 -0
  134. package/entities/SettingsRoles/schema.json +55 -0
  135. package/entities/SettingsSegementServers/action.json +25 -0
  136. package/entities/SettingsSegementServers/schema.json +19 -0
  137. package/entities/SettingsServiceNow/action.json +85 -0
  138. package/entities/SettingsServiceNow/mockdatafiles/serviceNowAccessTokensCreate-default.json +9 -0
  139. package/entities/SettingsServiceNow/mockdatafiles/serviceNowAccessTokensRegenerate-default.json +9 -0
  140. package/entities/SettingsServiceNow/schema.json +22 -0
  141. package/entities/SettingsTrustedInternet/action.json +229 -0
  142. package/entities/SettingsTrustedInternet/schema.json +29 -0
  143. package/entities/SettingsZPA/action.json +45 -0
  144. package/entities/SettingsZPA/schema.json +20 -0
  145. package/entities/User/action.json +688 -0
  146. package/entities/User/schema.json +150 -0
  147. package/entities/Users/action.json +479 -0
  148. package/entities/Users/schema.json +107 -0
  149. package/error.json +190 -0
  150. package/metadata.json +56 -0
  151. package/package.json +83 -0
  152. package/pronghorn.json +55566 -0
  153. package/propertiesDecorators.json +14 -0
  154. package/propertiesSchema.json +1569 -0
  155. package/refs?service=git-upload-pack +0 -0
  156. package/report/ZeroNetworks-openapi (1).yaml-OpenApi3Json.json +94523 -0
  157. package/report/adapterInfo.json +10 -0
  158. package/report/creationReport.json +5425 -0
  159. package/sampleProperties.json +256 -0
  160. package/test/integration/adapterTestBasicGet.js +83 -0
  161. package/test/integration/adapterTestConnectivity.js +142 -0
  162. package/test/integration/adapterTestIntegration.js +23777 -0
  163. package/test/unit/adapterBaseTestUnit.js +1024 -0
  164. package/test/unit/adapterTestUnit.js +35451 -0
  165. package/utils/adapterInfo.js +206 -0
  166. package/utils/addAuth.js +94 -0
  167. package/utils/artifactize.js +146 -0
  168. package/utils/basicGet.js +50 -0
  169. package/utils/checkMigrate.js +63 -0
  170. package/utils/entitiesToDB.js +179 -0
  171. package/utils/findPath.js +74 -0
  172. package/utils/methodDocumentor.js +273 -0
  173. package/utils/modify.js +152 -0
  174. package/utils/packModificationScript.js +35 -0
  175. package/utils/patches2bundledDeps.js +90 -0
  176. package/utils/pre-commit.sh +32 -0
  177. package/utils/removeHooks.js +20 -0
  178. package/utils/setup.js +33 -0
  179. package/utils/taskMover.js +309 -0
  180. package/utils/tbScript.js +239 -0
  181. package/utils/tbUtils.js +489 -0
  182. package/utils/testRunner.js +298 -0
  183. package/utils/troubleshootingAdapter.js +193 -0
@@ -0,0 +1,22 @@
1
+ {
2
+ "$id": "schema.json",
3
+ "type": "object",
4
+ "schema": "http://json-schema.org/draft-07/schema#",
5
+ "translate": false,
6
+ "dynamicfields": true,
7
+ "properties": {
8
+ "ph_request_type": {
9
+ "type": "string",
10
+ "description": "type of request (internal to adapter)",
11
+ "default": "settingsMFADetectionGet",
12
+ "enum": [
13
+ "settingsMFADetectionGet",
14
+ "settingsMFADetectionUpdate",
15
+ "settingsMFAAuthenticationGet",
16
+ "settingsMFAAuthenticationUpdate"
17
+ ],
18
+ "external_name": "ph_request_type"
19
+ }
20
+ },
21
+ "definitions": {}
22
+ }
@@ -0,0 +1,45 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "settingsNotificationGet",
5
+ "protocol": "REST",
6
+ "method": "GET",
7
+ "entitypath": "{base_path}/{version}/settings/notification?{query}",
8
+ "requestSchema": "schema.json",
9
+ "responseSchema": "schema.json",
10
+ "timeout": 0,
11
+ "sendEmpty": false,
12
+ "sendGetBody": false,
13
+ "requestDatatype": "JSON",
14
+ "responseDatatype": "JSON",
15
+ "headers": {},
16
+ "responseObjects": [
17
+ {
18
+ "type": "default",
19
+ "key": "",
20
+ "mockFile": ""
21
+ }
22
+ ]
23
+ },
24
+ {
25
+ "name": "settingsNotificationUpdate",
26
+ "protocol": "REST",
27
+ "method": "PUT",
28
+ "entitypath": "{base_path}/{version}/settings/notification?{query}",
29
+ "requestSchema": "schema.json",
30
+ "responseSchema": "schema.json",
31
+ "timeout": 0,
32
+ "sendEmpty": false,
33
+ "requestDatatype": "JSON",
34
+ "responseDatatype": "JSON",
35
+ "headers": {},
36
+ "responseObjects": [
37
+ {
38
+ "type": "default",
39
+ "key": "",
40
+ "mockFile": ""
41
+ }
42
+ ]
43
+ }
44
+ ]
45
+ }
@@ -0,0 +1,20 @@
1
+ {
2
+ "$id": "schema.json",
3
+ "type": "object",
4
+ "schema": "http://json-schema.org/draft-07/schema#",
5
+ "translate": false,
6
+ "dynamicfields": true,
7
+ "properties": {
8
+ "ph_request_type": {
9
+ "type": "string",
10
+ "description": "type of request (internal to adapter)",
11
+ "default": "settingsNotificationGet",
12
+ "enum": [
13
+ "settingsNotificationGet",
14
+ "settingsNotificationUpdate"
15
+ ],
16
+ "external_name": "ph_request_type"
17
+ }
18
+ },
19
+ "definitions": {}
20
+ }
@@ -0,0 +1,45 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "settingsAuthGet",
5
+ "protocol": "REST",
6
+ "method": "GET",
7
+ "entitypath": "{base_path}/{version}/settings/auth?{query}",
8
+ "requestSchema": "schema.json",
9
+ "responseSchema": "schema.json",
10
+ "timeout": 0,
11
+ "sendEmpty": false,
12
+ "sendGetBody": false,
13
+ "requestDatatype": "JSON",
14
+ "responseDatatype": "JSON",
15
+ "headers": {},
16
+ "responseObjects": [
17
+ {
18
+ "type": "default",
19
+ "key": "",
20
+ "mockFile": ""
21
+ }
22
+ ]
23
+ },
24
+ {
25
+ "name": "settingsAuthUpdate",
26
+ "protocol": "REST",
27
+ "method": "PUT",
28
+ "entitypath": "{base_path}/{version}/settings/auth?{query}",
29
+ "requestSchema": "schema.json",
30
+ "responseSchema": "schema.json",
31
+ "timeout": 0,
32
+ "sendEmpty": false,
33
+ "requestDatatype": "JSON",
34
+ "responseDatatype": "JSON",
35
+ "headers": {},
36
+ "responseObjects": [
37
+ {
38
+ "type": "default",
39
+ "key": "",
40
+ "mockFile": ""
41
+ }
42
+ ]
43
+ }
44
+ ]
45
+ }
@@ -0,0 +1,20 @@
1
+ {
2
+ "$id": "schema.json",
3
+ "type": "object",
4
+ "schema": "http://json-schema.org/draft-07/schema#",
5
+ "translate": false,
6
+ "dynamicfields": true,
7
+ "properties": {
8
+ "ph_request_type": {
9
+ "type": "string",
10
+ "description": "type of request (internal to adapter)",
11
+ "default": "settingsAuthGet",
12
+ "enum": [
13
+ "settingsAuthGet",
14
+ "settingsAuthUpdate"
15
+ ],
16
+ "external_name": "ph_request_type"
17
+ }
18
+ },
19
+ "definitions": {}
20
+ }
@@ -0,0 +1,25 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "settingsPrivilegedPortsGet",
5
+ "protocol": "REST",
6
+ "method": "GET",
7
+ "entitypath": "{base_path}/{version}/settings/inbound/privileged-ports?{query}",
8
+ "requestSchema": "schema.json",
9
+ "responseSchema": "schema.json",
10
+ "timeout": 0,
11
+ "sendEmpty": false,
12
+ "sendGetBody": false,
13
+ "requestDatatype": "JSON",
14
+ "responseDatatype": "JSON",
15
+ "headers": {},
16
+ "responseObjects": [
17
+ {
18
+ "type": "default",
19
+ "key": "",
20
+ "mockFile": ""
21
+ }
22
+ ]
23
+ }
24
+ ]
25
+ }
@@ -0,0 +1,19 @@
1
+ {
2
+ "$id": "schema.json",
3
+ "type": "object",
4
+ "schema": "http://json-schema.org/draft-07/schema#",
5
+ "translate": false,
6
+ "dynamicfields": true,
7
+ "properties": {
8
+ "ph_request_type": {
9
+ "type": "string",
10
+ "description": "type of request (internal to adapter)",
11
+ "default": "settingsPrivilegedPortsGet",
12
+ "enum": [
13
+ "settingsPrivilegedPortsGet"
14
+ ],
15
+ "external_name": "ph_request_type"
16
+ }
17
+ },
18
+ "definitions": {}
19
+ }
@@ -0,0 +1,106 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "protectionPoliciesList",
5
+ "protocol": "REST",
6
+ "method": "GET",
7
+ "entitypath": "{base_path}/{version}/settings/protection-policies?{query}",
8
+ "requestSchema": "schema.json",
9
+ "responseSchema": "schema.json",
10
+ "timeout": 0,
11
+ "sendEmpty": false,
12
+ "sendGetBody": false,
13
+ "requestDatatype": "JSON",
14
+ "responseDatatype": "JSON",
15
+ "headers": {},
16
+ "responseObjects": [
17
+ {
18
+ "type": "default",
19
+ "key": "",
20
+ "mockFile": ""
21
+ }
22
+ ]
23
+ },
24
+ {
25
+ "name": "protectionPoliciesCreate",
26
+ "protocol": "REST",
27
+ "method": "POST",
28
+ "entitypath": "{base_path}/{version}/settings/protection-policies?{query}",
29
+ "requestSchema": "schema.json",
30
+ "responseSchema": "schema.json",
31
+ "timeout": 0,
32
+ "sendEmpty": false,
33
+ "requestDatatype": "JSON",
34
+ "responseDatatype": "JSON",
35
+ "headers": {},
36
+ "responseObjects": [
37
+ {
38
+ "type": "default",
39
+ "key": "",
40
+ "mockFile": ""
41
+ }
42
+ ]
43
+ },
44
+ {
45
+ "name": "protectionPoliciesGroupCandidatesList",
46
+ "protocol": "REST",
47
+ "method": "GET",
48
+ "entitypath": "{base_path}/{version}/settings/protection-policies/group-candidates?{query}",
49
+ "requestSchema": "schema.json",
50
+ "responseSchema": "schema.json",
51
+ "timeout": 0,
52
+ "sendEmpty": false,
53
+ "sendGetBody": false,
54
+ "requestDatatype": "JSON",
55
+ "responseDatatype": "JSON",
56
+ "headers": {},
57
+ "responseObjects": [
58
+ {
59
+ "type": "default",
60
+ "key": "",
61
+ "mockFile": ""
62
+ }
63
+ ]
64
+ },
65
+ {
66
+ "name": "protectionPoliciesDelete",
67
+ "protocol": "REST",
68
+ "method": "DELETE",
69
+ "entitypath": "{base_path}/{version}/settings/protection-policies/{pathv1}?{query}",
70
+ "requestSchema": "schema.json",
71
+ "responseSchema": "schema.json",
72
+ "timeout": 0,
73
+ "sendEmpty": false,
74
+ "requestDatatype": "JSON",
75
+ "responseDatatype": "JSON",
76
+ "headers": {},
77
+ "responseObjects": [
78
+ {
79
+ "type": "default",
80
+ "key": "",
81
+ "mockFile": ""
82
+ }
83
+ ]
84
+ },
85
+ {
86
+ "name": "protectionPoliciesUpdate",
87
+ "protocol": "REST",
88
+ "method": "PUT",
89
+ "entitypath": "{base_path}/{version}/settings/protection-policies/{pathv1}?{query}",
90
+ "requestSchema": "schema.json",
91
+ "responseSchema": "schema.json",
92
+ "timeout": 0,
93
+ "sendEmpty": false,
94
+ "requestDatatype": "JSON",
95
+ "responseDatatype": "JSON",
96
+ "headers": {},
97
+ "responseObjects": [
98
+ {
99
+ "type": "default",
100
+ "key": "",
101
+ "mockFile": ""
102
+ }
103
+ ]
104
+ }
105
+ ]
106
+ }
@@ -0,0 +1,56 @@
1
+ {
2
+ "$id": "schema.json",
3
+ "type": "object",
4
+ "schema": "http://json-schema.org/draft-07/schema#",
5
+ "translate": true,
6
+ "dynamicfields": true,
7
+ "properties": {
8
+ "ph_request_type": {
9
+ "type": "string",
10
+ "description": "type of request (internal to adapter)",
11
+ "default": "protectionPoliciesList",
12
+ "enum": [
13
+ "protectionPoliciesList",
14
+ "protectionPoliciesCreate",
15
+ "protectionPoliciesGroupCandidatesList",
16
+ "protectionPoliciesDelete",
17
+ "protectionPoliciesUpdate"
18
+ ],
19
+ "external_name": "ph_request_type"
20
+ },
21
+ "limit": {
22
+ "type": "number",
23
+ "description": "Limit the return results",
24
+ "parse": false,
25
+ "encode": false,
26
+ "encrypt": {
27
+ "type": "AES",
28
+ "key": ""
29
+ },
30
+ "external_name": "_limit"
31
+ },
32
+ "offset": {
33
+ "type": "number",
34
+ "description": "Used to page through results",
35
+ "parse": false,
36
+ "encode": false,
37
+ "encrypt": {
38
+ "type": "AES",
39
+ "key": ""
40
+ },
41
+ "external_name": "_offset"
42
+ },
43
+ "search": {
44
+ "type": "string",
45
+ "description": "Test to search for",
46
+ "parse": false,
47
+ "encode": false,
48
+ "encrypt": {
49
+ "type": "AES",
50
+ "key": ""
51
+ },
52
+ "external_name": "_search"
53
+ }
54
+ },
55
+ "definitions": {}
56
+ }
@@ -0,0 +1,85 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "settingsPushNotificationsGet",
5
+ "protocol": "REST",
6
+ "method": "GET",
7
+ "entitypath": "{base_path}/{version}/settings/ext-auth?{query}",
8
+ "requestSchema": "schema.json",
9
+ "responseSchema": "schema.json",
10
+ "timeout": 0,
11
+ "sendEmpty": false,
12
+ "sendGetBody": false,
13
+ "requestDatatype": "JSON",
14
+ "responseDatatype": "JSON",
15
+ "headers": {},
16
+ "responseObjects": [
17
+ {
18
+ "type": "default",
19
+ "key": "",
20
+ "mockFile": ""
21
+ }
22
+ ]
23
+ },
24
+ {
25
+ "name": "settingsPushNotificationsCreate",
26
+ "protocol": "REST",
27
+ "method": "POST",
28
+ "entitypath": "{base_path}/{version}/settings/ext-auth/{pathv1}?{query}",
29
+ "requestSchema": "schema.json",
30
+ "responseSchema": "schema.json",
31
+ "timeout": 0,
32
+ "sendEmpty": false,
33
+ "requestDatatype": "JSON",
34
+ "responseDatatype": "JSON",
35
+ "headers": {},
36
+ "responseObjects": [
37
+ {
38
+ "type": "default",
39
+ "key": "",
40
+ "mockFile": ""
41
+ }
42
+ ]
43
+ },
44
+ {
45
+ "name": "settingsPushNotificationsUpdate",
46
+ "protocol": "REST",
47
+ "method": "PUT",
48
+ "entitypath": "{base_path}/{version}/settings/ext-auth/{pathv1}?{query}",
49
+ "requestSchema": "schema.json",
50
+ "responseSchema": "schema.json",
51
+ "timeout": 0,
52
+ "sendEmpty": false,
53
+ "requestDatatype": "JSON",
54
+ "responseDatatype": "JSON",
55
+ "headers": {},
56
+ "responseObjects": [
57
+ {
58
+ "type": "default",
59
+ "key": "",
60
+ "mockFile": ""
61
+ }
62
+ ]
63
+ },
64
+ {
65
+ "name": "settingsPushNotificationsDelete",
66
+ "protocol": "REST",
67
+ "method": "DELETE",
68
+ "entitypath": "{base_path}/{version}/settings/ext-auth/{pathv1}?{query}",
69
+ "requestSchema": "schema.json",
70
+ "responseSchema": "schema.json",
71
+ "timeout": 0,
72
+ "sendEmpty": false,
73
+ "requestDatatype": "JSON",
74
+ "responseDatatype": "JSON",
75
+ "headers": {},
76
+ "responseObjects": [
77
+ {
78
+ "type": "default",
79
+ "key": "",
80
+ "mockFile": ""
81
+ }
82
+ ]
83
+ }
84
+ ]
85
+ }
@@ -0,0 +1,22 @@
1
+ {
2
+ "$id": "schema.json",
3
+ "type": "object",
4
+ "schema": "http://json-schema.org/draft-07/schema#",
5
+ "translate": false,
6
+ "dynamicfields": true,
7
+ "properties": {
8
+ "ph_request_type": {
9
+ "type": "string",
10
+ "description": "type of request (internal to adapter)",
11
+ "default": "settingsPushNotificationsGet",
12
+ "enum": [
13
+ "settingsPushNotificationsGet",
14
+ "settingsPushNotificationsCreate",
15
+ "settingsPushNotificationsUpdate",
16
+ "settingsPushNotificationsDelete"
17
+ ],
18
+ "external_name": "ph_request_type"
19
+ }
20
+ },
21
+ "definitions": {}
22
+ }
@@ -0,0 +1,86 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "rolesList",
5
+ "protocol": "REST",
6
+ "method": "GET",
7
+ "entitypath": "{base_path}/{version}/settings/roles?{query}",
8
+ "requestSchema": "schema.json",
9
+ "responseSchema": "schema.json",
10
+ "timeout": 0,
11
+ "sendEmpty": false,
12
+ "sendGetBody": false,
13
+ "requestDatatype": "JSON",
14
+ "responseDatatype": "JSON",
15
+ "headers": {},
16
+ "responseObjects": [
17
+ {
18
+ "type": "default",
19
+ "key": "",
20
+ "mockFile": ""
21
+ }
22
+ ]
23
+ },
24
+ {
25
+ "name": "rolesCandidatesList",
26
+ "protocol": "REST",
27
+ "method": "GET",
28
+ "entitypath": "{base_path}/{version}/settings/roles/candidates?{query}",
29
+ "requestSchema": "schema.json",
30
+ "responseSchema": "schema.json",
31
+ "timeout": 0,
32
+ "sendEmpty": false,
33
+ "sendGetBody": false,
34
+ "requestDatatype": "JSON",
35
+ "responseDatatype": "JSON",
36
+ "headers": {},
37
+ "responseObjects": [
38
+ {
39
+ "type": "default",
40
+ "key": "",
41
+ "mockFile": ""
42
+ }
43
+ ]
44
+ },
45
+ {
46
+ "name": "rolesCreate",
47
+ "protocol": "REST",
48
+ "method": "POST",
49
+ "entitypath": "{base_path}/{version}/settings/roles/{pathv1}?{query}",
50
+ "requestSchema": "schema.json",
51
+ "responseSchema": "schema.json",
52
+ "timeout": 0,
53
+ "sendEmpty": false,
54
+ "requestDatatype": "JSON",
55
+ "responseDatatype": "JSON",
56
+ "headers": {},
57
+ "responseObjects": [
58
+ {
59
+ "type": "default",
60
+ "key": "",
61
+ "mockFile": ""
62
+ }
63
+ ]
64
+ },
65
+ {
66
+ "name": "rolesDelete",
67
+ "protocol": "REST",
68
+ "method": "DELETE",
69
+ "entitypath": "{base_path}/{version}/settings/roles/{pathv1}?{query}",
70
+ "requestSchema": "schema.json",
71
+ "responseSchema": "schema.json",
72
+ "timeout": 0,
73
+ "sendEmpty": false,
74
+ "requestDatatype": "JSON",
75
+ "responseDatatype": "JSON",
76
+ "headers": {},
77
+ "responseObjects": [
78
+ {
79
+ "type": "default",
80
+ "key": "",
81
+ "mockFile": ""
82
+ }
83
+ ]
84
+ }
85
+ ]
86
+ }
@@ -0,0 +1,55 @@
1
+ {
2
+ "$id": "schema.json",
3
+ "type": "object",
4
+ "schema": "http://json-schema.org/draft-07/schema#",
5
+ "translate": true,
6
+ "dynamicfields": true,
7
+ "properties": {
8
+ "ph_request_type": {
9
+ "type": "string",
10
+ "description": "type of request (internal to adapter)",
11
+ "default": "rolesList",
12
+ "enum": [
13
+ "rolesList",
14
+ "rolesCandidatesList",
15
+ "rolesCreate",
16
+ "rolesDelete"
17
+ ],
18
+ "external_name": "ph_request_type"
19
+ },
20
+ "search": {
21
+ "type": "string",
22
+ "description": "Test to search for",
23
+ "parse": false,
24
+ "encode": false,
25
+ "encrypt": {
26
+ "type": "AES",
27
+ "key": ""
28
+ },
29
+ "external_name": "_search"
30
+ },
31
+ "limit": {
32
+ "type": "number",
33
+ "description": "Limit the return results",
34
+ "parse": false,
35
+ "encode": false,
36
+ "encrypt": {
37
+ "type": "AES",
38
+ "key": ""
39
+ },
40
+ "external_name": "_limit"
41
+ },
42
+ "cursor": {
43
+ "type": "number",
44
+ "description": "cursor position to start at",
45
+ "parse": false,
46
+ "encode": false,
47
+ "encrypt": {
48
+ "type": "AES",
49
+ "key": ""
50
+ },
51
+ "external_name": "_cursor"
52
+ }
53
+ },
54
+ "definitions": {}
55
+ }
@@ -0,0 +1,25 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "segmentServersList",
5
+ "protocol": "REST",
6
+ "method": "GET",
7
+ "entitypath": "{base_path}/{version}/environments/deployments?{query}",
8
+ "requestSchema": "schema.json",
9
+ "responseSchema": "schema.json",
10
+ "timeout": 0,
11
+ "sendEmpty": false,
12
+ "sendGetBody": false,
13
+ "requestDatatype": "JSON",
14
+ "responseDatatype": "JSON",
15
+ "headers": {},
16
+ "responseObjects": [
17
+ {
18
+ "type": "default",
19
+ "key": "",
20
+ "mockFile": ""
21
+ }
22
+ ]
23
+ }
24
+ ]
25
+ }
@@ -0,0 +1,19 @@
1
+ {
2
+ "$id": "schema.json",
3
+ "type": "object",
4
+ "schema": "http://json-schema.org/draft-07/schema#",
5
+ "translate": false,
6
+ "dynamicfields": true,
7
+ "properties": {
8
+ "ph_request_type": {
9
+ "type": "string",
10
+ "description": "type of request (internal to adapter)",
11
+ "default": "segmentServersList",
12
+ "enum": [
13
+ "segmentServersList"
14
+ ],
15
+ "external_name": "ph_request_type"
16
+ }
17
+ },
18
+ "definitions": {}
19
+ }