@itentialopensource/adapter-delinea 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 (287) 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 +4964 -0
  12. package/CHANGELOG.md +9 -0
  13. package/CODE_OF_CONDUCT.md +43 -0
  14. package/CONTRIBUTING.md +172 -0
  15. package/ENHANCE.md +69 -0
  16. package/LICENSE +201 -0
  17. package/PROPERTIES.md +641 -0
  18. package/README.md +337 -0
  19. package/SUMMARY.md +9 -0
  20. package/SYSTEMINFO.md +11 -0
  21. package/TROUBLESHOOT.md +47 -0
  22. package/adapter.js +66067 -0
  23. package/adapterBase.js +1787 -0
  24. package/entities/.generic/action.json +214 -0
  25. package/entities/.generic/schema.json +28 -0
  26. package/entities/.system/action.json +50 -0
  27. package/entities/.system/mockdatafiles/getToken-default.json +3 -0
  28. package/entities/.system/mockdatafiles/healthcheck-default.json +3 -0
  29. package/entities/.system/schema.json +19 -0
  30. package/entities/.system/schemaTokenReq.json +53 -0
  31. package/entities/.system/schemaTokenResp.json +53 -0
  32. package/entities/Activations/action.json +24 -0
  33. package/entities/Activations/schema.json +19 -0
  34. package/entities/ActiveDirectory/action.json +24 -0
  35. package/entities/ActiveDirectory/schema.json +19 -0
  36. package/entities/ApiToken/action.json +25 -0
  37. package/entities/ApiToken/schema.json +19 -0
  38. package/entities/AppClients/action.json +106 -0
  39. package/entities/AppClients/schema.json +23 -0
  40. package/entities/ApplicationAccounts/action.json +25 -0
  41. package/entities/ApplicationAccounts/schema.json +85 -0
  42. package/entities/ApplicationRequest/action.json +87 -0
  43. package/entities/ApplicationRequest/schema.json +77 -0
  44. package/entities/CategorizedLists/action.json +370 -0
  45. package/entities/CategorizedLists/schema.json +124 -0
  46. package/entities/CharacterSets/action.json +107 -0
  47. package/entities/CharacterSets/schema.json +67 -0
  48. package/entities/Configuration/action.json +1416 -0
  49. package/entities/Configuration/mockdatafiles/configurationServiceGetSiteConnectors-default.json +7 -0
  50. package/entities/Configuration/schema.json +131 -0
  51. package/entities/ConnectionManagerSettings/action.json +25 -0
  52. package/entities/ConnectionManagerSettings/schema.json +19 -0
  53. package/entities/DevOpsSecretsVaultSync/action.json +106 -0
  54. package/entities/DevOpsSecretsVaultSync/mockdatafiles/devOpsSecretsVaultSyncServiceSyncSecret-default.json +439 -0
  55. package/entities/DevOpsSecretsVaultSync/schema.json +89 -0
  56. package/entities/DevOpsSecretsVaultTenant/action.json +128 -0
  57. package/entities/DevOpsSecretsVaultTenant/schema.json +101 -0
  58. package/entities/Diagnostics/action.json +295 -0
  59. package/entities/Diagnostics/mockdatafiles/diagnosticsServiceGetBackgroundProcesses-default.json +10 -0
  60. package/entities/Diagnostics/mockdatafiles/diagnosticsServiceGetQuartzJobs-default.json +34 -0
  61. package/entities/Diagnostics/schema.json +32 -0
  62. package/entities/DiagnosticsV2/action.json +25 -0
  63. package/entities/DiagnosticsV2/schema.json +74 -0
  64. package/entities/DirectoryServices/action.json +333 -0
  65. package/entities/DirectoryServices/schema.json +122 -0
  66. package/entities/DisasterRecovery/action.json +289 -0
  67. package/entities/DisasterRecovery/schema.json +87 -0
  68. package/entities/Discovery/action.json +375 -0
  69. package/entities/Discovery/mockdatafiles/discoveryServiceGetAvailableDiscoverySourceScanners-default.json +23 -0
  70. package/entities/Discovery/mockdatafiles/discoveryServiceGetScanTypes-default.json +17 -0
  71. package/entities/Discovery/mockdatafiles/discoveryServiceSearchDiscoverySourceScannerSettings-default.json +10 -0
  72. package/entities/Discovery/mockdatafiles/discoveryServiceSearchForDomainOu-default.json +10 -0
  73. package/entities/Discovery/schema.json +124 -0
  74. package/entities/DistributedEngine/action.json +561 -0
  75. package/entities/DistributedEngine/mockdatafiles/distributedEngineServiceGetServerCapabilities-default.json +22 -0
  76. package/entities/DistributedEngine/schema.json +199 -0
  77. package/entities/DomainNameIndex/action.json +145 -0
  78. package/entities/DomainNameIndex/schema.json +91 -0
  79. package/entities/DualControls/action.json +189 -0
  80. package/entities/DualControls/mockdatafiles/dualControlsServiceGetTypes-default.json +18 -0
  81. package/entities/DualControls/schema.json +71 -0
  82. package/entities/Enterprise/action.json +45 -0
  83. package/entities/Enterprise/schema.json +20 -0
  84. package/entities/EventPipeline/action.json +189 -0
  85. package/entities/EventPipeline/mockdatafiles/eventPipelineServiceReorderPipeline-default.json +8 -0
  86. package/entities/EventPipeline/schema.json +137 -0
  87. package/entities/EventPipelineAudit/action.json +25 -0
  88. package/entities/EventPipelineAudit/schema.json +63 -0
  89. package/entities/EventPipelinePolicy/action.json +414 -0
  90. package/entities/EventPipelinePolicy/mockdatafiles/eventPipelinePolicyServiceGetChildFolderDataForPipelinePolicyFolder-default.json +22 -0
  91. package/entities/EventPipelinePolicy/mockdatafiles/eventPipelinePolicyServiceGetEventPipelinePolicyRunActivity-default.json +22 -0
  92. package/entities/EventPipelinePolicy/mockdatafiles/eventPipelinePolicyServiceGetFoldersForPipelinePolicies-default.json +20 -0
  93. package/entities/EventPipelinePolicy/mockdatafiles/eventPipelinePolicyServiceGetGroupsForPipelinePolicies-default.json +16 -0
  94. package/entities/EventPipelinePolicy/schema.json +148 -0
  95. package/entities/EventPipelineSettings/action.json +109 -0
  96. package/entities/EventPipelineSettings/mockdatafiles/eventPipelineSettingsServiceGetEventPipelineFilterSettings-default.json +294 -0
  97. package/entities/EventPipelineSettings/mockdatafiles/eventPipelineSettingsServiceGetEventPipelineTaskSettings-default.json +222 -0
  98. package/entities/EventPipelineSettings/mockdatafiles/eventPipelineSettingsServiceGetPipelineFilterOptions-default.json +29 -0
  99. package/entities/EventPipelineSettings/mockdatafiles/eventPipelineSettingsServiceGetPipelineTaskOptions-default.json +22 -0
  100. package/entities/EventPipelineSettings/schema.json +67 -0
  101. package/entities/EventPipelineTrigger/action.json +67 -0
  102. package/entities/EventPipelineTrigger/mockdatafiles/eventPipelineTriggerServiceGetEventPipelineTriggerOptions-default.json +18 -0
  103. package/entities/EventPipelineTrigger/mockdatafiles/eventPipelineTriggerServiceGetEventPipelineTriggers-default.json +26 -0
  104. package/entities/EventPipelineTrigger/schema.json +21 -0
  105. package/entities/EventSubscriptions/action.json +128 -0
  106. package/entities/EventSubscriptions/mockdatafiles/eventSubscriptionsServiceGetSubscriptionEntityTypes-default.json +348 -0
  107. package/entities/EventSubscriptions/schema.json +68 -0
  108. package/entities/ExtendedFields/action.json +25 -0
  109. package/entities/ExtendedFields/schema.json +19 -0
  110. package/entities/FolderPermissions/action.json +127 -0
  111. package/entities/FolderPermissions/schema.json +123 -0
  112. package/entities/Folders/action.json +331 -0
  113. package/entities/Folders/schema.json +122 -0
  114. package/entities/Groups/action.json +392 -0
  115. package/entities/Groups/schema.json +147 -0
  116. package/entities/HealthCheck/action.json +25 -0
  117. package/entities/HealthCheck/schema.json +19 -0
  118. package/entities/HsmConfiguration/action.json +25 -0
  119. package/entities/HsmConfiguration/schema.json +63 -0
  120. package/entities/Inbox/action.json +455 -0
  121. package/entities/Inbox/mockdatafiles/inboxServiceGetInboxMessageDataNames-default.json +14 -0
  122. package/entities/Inbox/mockdatafiles/inboxServiceGetInboxMessageTypes-default.json +22 -0
  123. package/entities/Inbox/schema.json +205 -0
  124. package/entities/InboxRules/action.json +331 -0
  125. package/entities/InboxRules/schema.json +265 -0
  126. package/entities/IpAddressRestrictions/action.json +312 -0
  127. package/entities/IpAddressRestrictions/schema.json +66 -0
  128. package/entities/JumpboxRoute/action.json +209 -0
  129. package/entities/JumpboxRoute/schema.json +94 -0
  130. package/entities/KeyManagement/action.json +169 -0
  131. package/entities/KeyManagement/mockdatafiles/keyManagementServiceGetKeyRotationAuditUsers-default.json +14 -0
  132. package/entities/KeyManagement/schema.json +103 -0
  133. package/entities/LauncherAgents/action.json +190 -0
  134. package/entities/LauncherAgents/schema.json +104 -0
  135. package/entities/Launchers/action.json +129 -0
  136. package/entities/Launchers/schema.json +90 -0
  137. package/entities/License/action.json +25 -0
  138. package/entities/License/schema.json +19 -0
  139. package/entities/Metadata/action.json +168 -0
  140. package/entities/Metadata/schema.json +125 -0
  141. package/entities/Mobile/action.json +25 -0
  142. package/entities/Mobile/schema.json +19 -0
  143. package/entities/OAuthExpiration/action.json +24 -0
  144. package/entities/OAuthExpiration/schema.json +19 -0
  145. package/entities/OneTimePasswordCode/action.json +25 -0
  146. package/entities/OneTimePasswordCode/mockdatafiles/oneTimePasswordCodeServiceGet-default.json +12 -0
  147. package/entities/OneTimePasswordCode/schema.json +19 -0
  148. package/entities/PasswordRequirements/action.json +106 -0
  149. package/entities/PasswordRequirements/schema.json +56 -0
  150. package/entities/PbaConfiguration/action.json +125 -0
  151. package/entities/PbaConfiguration/schema.json +24 -0
  152. package/entities/Proxy/action.json +476 -0
  153. package/entities/Proxy/mockdatafiles/proxyServiceGetTerminalClientOverrides-default.json +17 -0
  154. package/entities/Proxy/schema.json +140 -0
  155. package/entities/RemotePasswordChanging/action.json +187 -0
  156. package/entities/RemotePasswordChanging/schema.json +93 -0
  157. package/entities/Reports/action.json +803 -0
  158. package/entities/Reports/mockdatafiles/reportsServiceGetCategories-default.json +22 -0
  159. package/entities/Reports/mockdatafiles/reportsServiceGetChartTypes-default.json +14 -0
  160. package/entities/Reports/mockdatafiles/reportsServiceGetReportCategoryPermissionOptions-default.json +14 -0
  161. package/entities/Reports/mockdatafiles/reportsServiceGetReportPermissionOptions-default.json +10 -0
  162. package/entities/Reports/schema.json +156 -0
  163. package/entities/RoleAudit/action.json +25 -0
  164. package/entities/RoleAudit/schema.json +63 -0
  165. package/entities/RolePermissions/action.json +25 -0
  166. package/entities/RolePermissions/schema.json +19 -0
  167. package/entities/Roles/action.json +210 -0
  168. package/entities/Roles/schema.json +116 -0
  169. package/entities/Schedule/action.json +65 -0
  170. package/entities/Schedule/schema.json +21 -0
  171. package/entities/Script/action.json +66 -0
  172. package/entities/Script/schema.json +76 -0
  173. package/entities/SdkClientAccounts/action.json +147 -0
  174. package/entities/SdkClientAccounts/schema.json +91 -0
  175. package/entities/SdkClientAudits/action.json +25 -0
  176. package/entities/SdkClientAudits/schema.json +85 -0
  177. package/entities/SdkClientRules/action.json +148 -0
  178. package/entities/SdkClientRules/schema.json +91 -0
  179. package/entities/SecretAccessRequests/action.json +190 -0
  180. package/entities/SecretAccessRequests/schema.json +82 -0
  181. package/entities/SecretDependencies/action.json +251 -0
  182. package/entities/SecretDependencies/mockdatafiles/secretDependenciesServiceGetScripts-default.json +49 -0
  183. package/entities/SecretDependencies/mockdatafiles/secretDependenciesServiceGetTemplates-default.json +9 -0
  184. package/entities/SecretDependencies/schema.json +129 -0
  185. package/entities/SecretEraseRequests/action.json +170 -0
  186. package/entities/SecretEraseRequests/schema.json +114 -0
  187. package/entities/SecretExtensions/action.json +105 -0
  188. package/entities/SecretExtensions/mockdatafiles/secretExtensionsServiceGetWebSecretTemplates-default.json +706 -0
  189. package/entities/SecretExtensions/mockdatafiles/secretExtensionsServiceSearch-default.json +32 -0
  190. package/entities/SecretExtensions/mockdatafiles/secretExtensionsServiceSearchActiveDirectorySecrets-default.json +16 -0
  191. package/entities/SecretExtensions/mockdatafiles/secretExtensionsServiceSearchWindowsAccountSecrets-default.json +44 -0
  192. package/entities/SecretExtensions/schema.json +23 -0
  193. package/entities/SecretHealth/action.json +25 -0
  194. package/entities/SecretHealth/schema.json +63 -0
  195. package/entities/SecretHooks/action.json +230 -0
  196. package/entities/SecretHooks/mockdatafiles/secretHooksServiceGetHooks-default.json +54 -0
  197. package/entities/SecretHooks/mockdatafiles/secretHooksServiceGetHooksV2-default.json +54 -0
  198. package/entities/SecretHooks/schema.json +29 -0
  199. package/entities/SecretPermissions/action.json +147 -0
  200. package/entities/SecretPermissions/schema.json +124 -0
  201. package/entities/SecretPolicy/action.json +149 -0
  202. package/entities/SecretPolicy/schema.json +80 -0
  203. package/entities/SecretServerSettings/action.json +86 -0
  204. package/entities/SecretServerSettings/schema.json +22 -0
  205. package/entities/SecretSessions/action.json +150 -0
  206. package/entities/SecretSessions/schema.json +256 -0
  207. package/entities/SecretTemplatePermissions/action.json +107 -0
  208. package/entities/SecretTemplatePermissions/mockdatafiles/secretTemplatePermissionsServiceGetTemplatePermissionRoles-default.json +18 -0
  209. package/entities/SecretTemplatePermissions/schema.json +111 -0
  210. package/entities/SecretTemplates/action.json +822 -0
  211. package/entities/SecretTemplates/mockdatafiles/secretTemplatesServiceGetPasswordDictionaries-default.json +14 -0
  212. package/entities/SecretTemplates/schema.json +168 -0
  213. package/entities/Secrets/action.json +1101 -0
  214. package/entities/Secrets/mockdatafiles/secretsServiceGetFavorites-default.json +26 -0
  215. package/entities/Secrets/mockdatafiles/secretsServiceGetSecretExtendedSearchDetails-default.json +34 -0
  216. package/entities/Secrets/schema.json +391 -0
  217. package/entities/SecurityAuditLogs/action.json +25 -0
  218. package/entities/SecurityAuditLogs/schema.json +74 -0
  219. package/entities/ServerNodes/action.json +66 -0
  220. package/entities/ServerNodes/mockdatafiles/serverNodesServiceGetList-default.json +59 -0
  221. package/entities/ServerNodes/schema.json +21 -0
  222. package/entities/Sites/action.json +25 -0
  223. package/entities/Sites/mockdatafiles/sitesServiceGet-default.json +7 -0
  224. package/entities/Sites/schema.json +19 -0
  225. package/entities/Slack/action.json +106 -0
  226. package/entities/Slack/schema.json +23 -0
  227. package/entities/SshCommand/action.json +107 -0
  228. package/entities/SshCommand/schema.json +78 -0
  229. package/entities/SshCommandBlocklist/action.json +128 -0
  230. package/entities/SshCommandBlocklist/schema.json +101 -0
  231. package/entities/SshCommandMenu/action.json +149 -0
  232. package/entities/SshCommandMenu/schema.json +91 -0
  233. package/entities/Teams/action.json +251 -0
  234. package/entities/Teams/mockdatafiles/teamsServiceAddTeamMember-default.json +30 -0
  235. package/entities/Teams/mockdatafiles/teamsServiceAddTeamSite-default.json +14 -0
  236. package/entities/Teams/mockdatafiles/teamsServiceGetTeamMembers-default.json +23 -0
  237. package/entities/Teams/mockdatafiles/teamsServiceGetTeamSites-default.json +20 -0
  238. package/entities/Teams/schema.json +85 -0
  239. package/entities/TicketSystems/action.json +128 -0
  240. package/entities/TicketSystems/mockdatafiles/ticketSystemsServiceGetTicketSystems-default.json +24 -0
  241. package/entities/TicketSystems/schema.json +57 -0
  242. package/entities/Users/action.json +841 -0
  243. package/entities/Users/schema.json +202 -0
  244. package/entities/Version/action.json +25 -0
  245. package/entities/Version/schema.json +19 -0
  246. package/entities/WorkflowInstances/action.json +25 -0
  247. package/entities/WorkflowInstances/mockdatafiles/workflowInstancesServiceGetByTemplateId-default.json +47 -0
  248. package/entities/WorkflowInstances/schema.json +19 -0
  249. package/entities/WorkflowStepTemplates/action.json +127 -0
  250. package/entities/WorkflowStepTemplates/mockdatafiles/workflowStepTemplatesServiceUpdateStep-default.json +43 -0
  251. package/entities/WorkflowStepTemplates/schema.json +57 -0
  252. package/entities/WorkflowTemplates/action.json +169 -0
  253. package/entities/WorkflowTemplates/schema.json +81 -0
  254. package/error.json +190 -0
  255. package/package.json +85 -0
  256. package/pronghorn.json +47291 -0
  257. package/propertiesDecorators.json +14 -0
  258. package/propertiesSchema.json +1248 -0
  259. package/refs?service=git-upload-pack +0 -0
  260. package/report/Delinea_Swagger.json-OpenApi3Json.json +135346 -0
  261. package/report/adapterInfo.json +10 -0
  262. package/report/creationReport.json +5205 -0
  263. package/sampleProperties.json +195 -0
  264. package/test/integration/adapterTestBasicGet.js +83 -0
  265. package/test/integration/adapterTestConnectivity.js +93 -0
  266. package/test/integration/adapterTestIntegration.js +20829 -0
  267. package/test/unit/adapterBaseTestUnit.js +949 -0
  268. package/test/unit/adapterTestUnit.js +18668 -0
  269. package/utils/adapterInfo.js +206 -0
  270. package/utils/addAuth.js +94 -0
  271. package/utils/artifactize.js +146 -0
  272. package/utils/basicGet.js +50 -0
  273. package/utils/checkMigrate.js +63 -0
  274. package/utils/entitiesToDB.js +178 -0
  275. package/utils/findPath.js +74 -0
  276. package/utils/methodDocumentor.js +225 -0
  277. package/utils/modify.js +154 -0
  278. package/utils/packModificationScript.js +35 -0
  279. package/utils/patches2bundledDeps.js +90 -0
  280. package/utils/pre-commit.sh +32 -0
  281. package/utils/removeHooks.js +20 -0
  282. package/utils/setup.js +33 -0
  283. package/utils/tbScript.js +246 -0
  284. package/utils/tbUtils.js +490 -0
  285. package/utils/testRunner.js +298 -0
  286. package/utils/troubleshootingAdapter.js +195 -0
  287. package/workflows/README.md +3 -0
@@ -0,0 +1,202 @@
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": "usersServiceGet",
12
+ "enum": [
13
+ "usersServiceGet",
14
+ "usersServiceUpdateUser",
15
+ "usersServiceDelete",
16
+ "usersServicePatchUser",
17
+ "usersServiceGetUserOwner",
18
+ "usersServiceDeleteUserOwner",
19
+ "usersServiceGetRoles",
20
+ "usersServiceUpdateUserRoles",
21
+ "usersServiceCreateUserRoles",
22
+ "usersServiceDeleteUserRoles",
23
+ "usersServiceGetUserGroups",
24
+ "usersServiceUpdateUserGroups",
25
+ "usersServiceAddUserToGroups",
26
+ "usersServiceRemoveUserGroups",
27
+ "usersServiceSearchUsers",
28
+ "usersServiceCreateUser",
29
+ "usersServiceGetCurrentUser",
30
+ "usersServiceLookup",
31
+ "usersServiceStub",
32
+ "usersServiceGetUserPublicSshKeys",
33
+ "usersServiceCreateUserPublicSshKey",
34
+ "usersServiceSearchUserOwners",
35
+ "usersServiceAddUserOwner",
36
+ "usersServicePatchUserOwners",
37
+ "usersServiceGetDomains",
38
+ "usersServiceGetUserRoles",
39
+ "usersServiceGetSiteAudits",
40
+ "usersServiceGetUserActionAudits",
41
+ "usersServiceGetUserTeams",
42
+ "usersServiceGetPreference",
43
+ "usersServiceUpdatePreference",
44
+ "usersServiceGetCurrentUserSessions",
45
+ "usersServiceDeactivateUserPublicSshKey",
46
+ "usersServiceChangePassword",
47
+ "usersServiceVerifyPassword",
48
+ "usersServiceResetTwoFactor",
49
+ "usersServiceResetUserPassword",
50
+ "usersServiceUserPersonalInfoDeleteCommand",
51
+ "usersServiceLockOut",
52
+ "usersServiceTerminateCurrentUserSessions",
53
+ "usersServiceSetUserDoubleLockPassword"
54
+ ],
55
+ "external_name": "ph_request_type"
56
+ },
57
+ "sortBy0Direction": {
58
+ "type": "string",
59
+ "description": "Sort direction",
60
+ "parse": false,
61
+ "encode": false,
62
+ "encrypt": {
63
+ "type": "AES",
64
+ "key": ""
65
+ },
66
+ "external_name": "sortBy[0].direction"
67
+ },
68
+ "sortBy0Name": {
69
+ "type": "string",
70
+ "description": "Sort field name",
71
+ "parse": false,
72
+ "encode": false,
73
+ "encrypt": {
74
+ "type": "AES",
75
+ "key": ""
76
+ },
77
+ "external_name": "sortBy[0].name"
78
+ },
79
+ "sortBy0Priority": {
80
+ "type": "number",
81
+ "description": "Priority index. Sorts with lower values are executed earlier",
82
+ "parse": false,
83
+ "encode": false,
84
+ "encrypt": {
85
+ "type": "AES",
86
+ "key": ""
87
+ },
88
+ "external_name": "sortBy[0].priority"
89
+ },
90
+ "filterDomainId": {
91
+ "type": "number",
92
+ "description": "If not null, filters users by Active Directory domain.",
93
+ "parse": false,
94
+ "encode": false,
95
+ "encrypt": {
96
+ "type": "AES",
97
+ "key": ""
98
+ },
99
+ "external_name": "filter.domainId"
100
+ },
101
+ "filterExcludeInboxRuleIdSubscribers": {
102
+ "type": "number",
103
+ "description": "When set all subscribers not subscribed directly to this inbox notification rule will be excluded.",
104
+ "parse": false,
105
+ "encode": false,
106
+ "encrypt": {
107
+ "type": "AES",
108
+ "key": ""
109
+ },
110
+ "external_name": "filter.excludeInboxRuleIdSubscribers"
111
+ },
112
+ "filterIncludeInactive": {
113
+ "type": "boolean",
114
+ "description": "Include Inactive",
115
+ "parse": false,
116
+ "encode": false,
117
+ "encrypt": {
118
+ "type": "AES",
119
+ "key": ""
120
+ },
121
+ "external_name": "filter.includeInactive"
122
+ },
123
+ "filterSearchFields": {
124
+ "type": "array",
125
+ "description": "User fields to search.",
126
+ "parse": false,
127
+ "encode": false,
128
+ "encrypt": {
129
+ "type": "AES",
130
+ "key": ""
131
+ },
132
+ "external_name": "filter.searchFields"
133
+ },
134
+ "filterSearchText": {
135
+ "type": "string",
136
+ "description": "Search text",
137
+ "parse": false,
138
+ "encode": false,
139
+ "encrypt": {
140
+ "type": "AES",
141
+ "key": ""
142
+ },
143
+ "external_name": "filter.searchText"
144
+ },
145
+ "filterUserIds": {
146
+ "type": "array",
147
+ "description": "User Ids to search.",
148
+ "parse": false,
149
+ "encode": false,
150
+ "encrypt": {
151
+ "type": "AES",
152
+ "key": ""
153
+ },
154
+ "external_name": "filter.userIds"
155
+ },
156
+ "filterIncludeExpired": {
157
+ "type": "boolean",
158
+ "description": "Whether to include expired user public ssh keys in the results",
159
+ "parse": false,
160
+ "encode": false,
161
+ "encrypt": {
162
+ "type": "AES",
163
+ "key": ""
164
+ },
165
+ "external_name": "filter.includeExpired"
166
+ },
167
+ "filterUserId": {
168
+ "type": "number",
169
+ "description": "An optional ID for a specific user's public ssh keys",
170
+ "parse": false,
171
+ "encode": false,
172
+ "encrypt": {
173
+ "type": "AES",
174
+ "key": ""
175
+ },
176
+ "external_name": "filter.userId"
177
+ },
178
+ "filterIncludeGroupMemberships": {
179
+ "type": "boolean",
180
+ "description": "Include Group Memberships",
181
+ "parse": false,
182
+ "encode": false,
183
+ "encrypt": {
184
+ "type": "AES",
185
+ "key": ""
186
+ },
187
+ "external_name": "filter.includeGroupMemberships"
188
+ },
189
+ "filterSearchTerm": {
190
+ "type": "string",
191
+ "description": "Search Term",
192
+ "parse": false,
193
+ "encode": false,
194
+ "encrypt": {
195
+ "type": "AES",
196
+ "key": ""
197
+ },
198
+ "external_name": "filter.searchTerm"
199
+ }
200
+ },
201
+ "definitions": {}
202
+ }
@@ -0,0 +1,25 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "versionServiceGet",
5
+ "protocol": "REST",
6
+ "method": "GET",
7
+ "entitypath": "{base_path}/{version}/v1/version?{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": "versionServiceGet",
12
+ "enum": [
13
+ "versionServiceGet"
14
+ ],
15
+ "external_name": "ph_request_type"
16
+ }
17
+ },
18
+ "definitions": {}
19
+ }
@@ -0,0 +1,25 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "workflowInstancesServiceGetByTemplateId",
5
+ "protocol": "REST",
6
+ "method": "GET",
7
+ "entitypath": "{base_path}/{version}/v1/workflows/instances/template/{pathv1}?{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": "mockdatafiles/workflowInstancesServiceGetByTemplateId-default.json"
21
+ }
22
+ ]
23
+ }
24
+ ]
25
+ }
@@ -0,0 +1,47 @@
1
+ [
2
+ {
3
+ "configurationJson": "string",
4
+ "currentState": "string",
5
+ "currentStateInfoJson": "string",
6
+ "currentStepId": 1,
7
+ "currentStepState": null,
8
+ "endTime": "string",
9
+ "entityWorkflowMapId": 1,
10
+ "expirationTime": "string",
11
+ "id": 9,
12
+ "pendingTransaction": false,
13
+ "startTime": "string",
14
+ "status": "string",
15
+ "workflowTemplateId": 10
16
+ },
17
+ {
18
+ "configurationJson": "string",
19
+ "currentState": "string",
20
+ "currentStateInfoJson": "string",
21
+ "currentStepId": 10,
22
+ "currentStepState": null,
23
+ "endTime": "string",
24
+ "entityWorkflowMapId": 5,
25
+ "expirationTime": "string",
26
+ "id": 5,
27
+ "pendingTransaction": true,
28
+ "startTime": "string",
29
+ "status": "string",
30
+ "workflowTemplateId": 6
31
+ },
32
+ {
33
+ "configurationJson": "string",
34
+ "currentState": "string",
35
+ "currentStateInfoJson": "string",
36
+ "currentStepId": 4,
37
+ "currentStepState": null,
38
+ "endTime": "string",
39
+ "entityWorkflowMapId": 2,
40
+ "expirationTime": "string",
41
+ "id": 6,
42
+ "pendingTransaction": true,
43
+ "startTime": "string",
44
+ "status": "string",
45
+ "workflowTemplateId": 3
46
+ }
47
+ ]
@@ -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": "workflowInstancesServiceGetByTemplateId",
12
+ "enum": [
13
+ "workflowInstancesServiceGetByTemplateId"
14
+ ],
15
+ "external_name": "ph_request_type"
16
+ }
17
+ },
18
+ "definitions": {}
19
+ }
@@ -0,0 +1,127 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "workflowStepTemplatesServiceGetTemplateSteps",
5
+ "protocol": "REST",
6
+ "method": "GET",
7
+ "entitypath": "{base_path}/{version}/v1/workflows/templates/{pathv1}/steps?{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": "workflowStepTemplatesServiceUpdateStep",
26
+ "protocol": "REST",
27
+ "method": "PUT",
28
+ "entitypath": "{base_path}/{version}/v1/workflows/templates/{pathv1}/steps?{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": "mockdatafiles/workflowStepTemplatesServiceUpdateStep-default.json"
41
+ }
42
+ ]
43
+ },
44
+ {
45
+ "name": "workflowStepTemplatesServiceCreateStep",
46
+ "protocol": "REST",
47
+ "method": "POST",
48
+ "entitypath": "{base_path}/{version}/v1/workflows/templates/{pathv1}/steps?{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": "workflowStepTemplatesServiceStub",
66
+ "protocol": "REST",
67
+ "method": "GET",
68
+ "entitypath": "{base_path}/{version}/v1/workflows/templates/steps/stub?{query}",
69
+ "requestSchema": "schema.json",
70
+ "responseSchema": "schema.json",
71
+ "timeout": 0,
72
+ "sendEmpty": false,
73
+ "sendGetBody": 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": "workflowStepTemplatesServiceGetTemplateStep",
87
+ "protocol": "REST",
88
+ "method": "GET",
89
+ "entitypath": "{base_path}/{version}/v1/workflows/templates/{pathv1}/steps/{pathv2}?{query}",
90
+ "requestSchema": "schema.json",
91
+ "responseSchema": "schema.json",
92
+ "timeout": 0,
93
+ "sendEmpty": false,
94
+ "sendGetBody": false,
95
+ "requestDatatype": "JSON",
96
+ "responseDatatype": "JSON",
97
+ "headers": {},
98
+ "responseObjects": [
99
+ {
100
+ "type": "default",
101
+ "key": "",
102
+ "mockFile": ""
103
+ }
104
+ ]
105
+ },
106
+ {
107
+ "name": "workflowStepTemplatesServiceUpdateStepModel",
108
+ "protocol": "REST",
109
+ "method": "PUT",
110
+ "entitypath": "{base_path}/{version}/v1/workflows/templates/{pathv1}/steps/{pathv2}?{query}",
111
+ "requestSchema": "schema.json",
112
+ "responseSchema": "schema.json",
113
+ "timeout": 0,
114
+ "sendEmpty": false,
115
+ "requestDatatype": "JSON",
116
+ "responseDatatype": "JSON",
117
+ "headers": {},
118
+ "responseObjects": [
119
+ {
120
+ "type": "default",
121
+ "key": "",
122
+ "mockFile": ""
123
+ }
124
+ ]
125
+ }
126
+ ]
127
+ }
@@ -0,0 +1,43 @@
1
+ [
2
+ {
3
+ "configuration": {
4
+ "approverGroups": [
5
+ {
6
+ "accessReviewerId": 10,
7
+ "displayName": "string",
8
+ "groupId": 6,
9
+ "isOwner": false,
10
+ "isUser": false,
11
+ "workflowStepTemplateId": 5,
12
+ "workflowTemplateId": 3
13
+ },
14
+ {
15
+ "accessReviewerId": 8,
16
+ "displayName": "string",
17
+ "groupId": 6,
18
+ "isOwner": true,
19
+ "isUser": true,
20
+ "workflowStepTemplateId": 5,
21
+ "workflowTemplateId": 6
22
+ },
23
+ {
24
+ "accessReviewerId": 8,
25
+ "displayName": "string",
26
+ "groupId": 8,
27
+ "isOwner": false,
28
+ "isUser": true,
29
+ "workflowStepTemplateId": 7,
30
+ "workflowTemplateId": 9
31
+ }
32
+ ],
33
+ "approveStep": 3,
34
+ "expireStep": 8,
35
+ "numApprovalsRequired": 7
36
+ },
37
+ "expirationMinutes": 10,
38
+ "name": "string",
39
+ "order": 4,
40
+ "workflowStepTemplateId": 5,
41
+ "workflowTemplateId": 6
42
+ }
43
+ ]
@@ -0,0 +1,57 @@
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": "workflowStepTemplatesServiceGetTemplateSteps",
12
+ "enum": [
13
+ "workflowStepTemplatesServiceGetTemplateSteps",
14
+ "workflowStepTemplatesServiceUpdateStep",
15
+ "workflowStepTemplatesServiceCreateStep",
16
+ "workflowStepTemplatesServiceStub",
17
+ "workflowStepTemplatesServiceGetTemplateStep",
18
+ "workflowStepTemplatesServiceUpdateStepModel"
19
+ ],
20
+ "external_name": "ph_request_type"
21
+ },
22
+ "sortBy0Direction": {
23
+ "type": "string",
24
+ "description": "Sort direction",
25
+ "parse": false,
26
+ "encode": false,
27
+ "encrypt": {
28
+ "type": "AES",
29
+ "key": ""
30
+ },
31
+ "external_name": "sortBy[0].direction"
32
+ },
33
+ "sortBy0Name": {
34
+ "type": "string",
35
+ "description": "Sort field name",
36
+ "parse": false,
37
+ "encode": false,
38
+ "encrypt": {
39
+ "type": "AES",
40
+ "key": ""
41
+ },
42
+ "external_name": "sortBy[0].name"
43
+ },
44
+ "sortBy0Priority": {
45
+ "type": "number",
46
+ "description": "Priority index. Sorts with lower values are executed earlier",
47
+ "parse": false,
48
+ "encode": false,
49
+ "encrypt": {
50
+ "type": "AES",
51
+ "key": ""
52
+ },
53
+ "external_name": "sortBy[0].priority"
54
+ }
55
+ },
56
+ "definitions": {}
57
+ }