@itentialopensource/adapter-digicert_pki 0.1.1 → 1.1.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.
Files changed (125) hide show
  1. package/.eslintignore +0 -1
  2. package/.jshintrc +3 -0
  3. package/CALLS.md +957 -3
  4. package/CHANGELOG.md +16 -1
  5. package/CONTRIBUTING.md +1 -160
  6. package/ENHANCE.md +2 -2
  7. package/README.md +31 -22
  8. package/adapter.js +13682 -334
  9. package/adapterBase.js +538 -873
  10. package/changelogs/changelog.md +16 -0
  11. package/entities/ACME/action.json +166 -0
  12. package/entities/ACME/mockdatafiles/createAcmeAuthentication-default.json +21 -0
  13. package/entities/ACME/mockdatafiles/getAcmeAuthentication-default.json +21 -0
  14. package/entities/ACME/mockdatafiles/listAcmeAuthentication-default.json +41 -0
  15. package/entities/ACME/mockdatafiles/updateAcmeAuthentication-default.json +21 -0
  16. package/entities/ACME/schema.json +125 -0
  17. package/entities/AuthenticationCACertificates/action.json +107 -0
  18. package/entities/AuthenticationCACertificates/schema.json +155 -0
  19. package/entities/AuthenticationCATemplates/action.json +187 -0
  20. package/entities/AuthenticationCATemplates/mockdatafiles/createAuthenticationCATemplate-default.json +33 -0
  21. package/entities/AuthenticationCATemplates/mockdatafiles/getAuthenticationCATemplate-default.json +33 -0
  22. package/entities/AuthenticationCATemplates/mockdatafiles/updateAuthenticationCATemplate-default.json +33 -0
  23. package/entities/AuthenticationCATemplates/schema.json +137 -0
  24. package/entities/AuthenticationCertificates/action.json +166 -0
  25. package/entities/AuthenticationCertificates/mockdatafiles/addAuthenticationCertificate-default.json +48 -0
  26. package/entities/AuthenticationCertificates/mockdatafiles/getAuthenticationCertificateDetails-default.json +49 -0
  27. package/entities/AuthenticationCertificates/mockdatafiles/listAuthenticationCertificates-default.json +93 -0
  28. package/entities/AuthenticationCertificates/mockdatafiles/updateAuthenticationCertificate-default.json +48 -0
  29. package/entities/AuthenticationCertificates/schema.json +202 -0
  30. package/entities/BatchCertificateEnrollment/action.json +268 -0
  31. package/entities/BatchCertificateEnrollment/mockdatafiles/batchCSREnroll-default.json +22 -0
  32. package/entities/BatchCertificateEnrollment/mockdatafiles/batchEnrollWithKeyGen-default.json +22 -0
  33. package/entities/BatchCertificateEnrollment/mockdatafiles/batchEnrollWithKeyGenMac-default.json +22 -0
  34. package/entities/BatchCertificateEnrollment/mockdatafiles/downloadCertificates-default.json +18 -0
  35. package/entities/BatchCertificateEnrollment/mockdatafiles/getBatchJobSettings-default.json +22 -0
  36. package/entities/BatchCertificateEnrollment/mockdatafiles/regenerateBatchJobPasscode-default.json +22 -0
  37. package/entities/BatchCertificateEnrollment/mockdatafiles/updateBatchJobSettings-default.json +22 -0
  38. package/entities/BatchCertificateEnrollment/schema.json +284 -0
  39. package/entities/CertificateProfiles/action.json +206 -0
  40. package/entities/CertificateProfiles/mockdatafiles/listCertificateProfiles-default.json +219 -0
  41. package/entities/CertificateProfiles/schema.json +116 -0
  42. package/entities/CertificateRequests/action.json +25 -0
  43. package/entities/CertificateRequests/mockdatafiles/getRequestStatus-default.json +5 -0
  44. package/entities/CertificateRequests/schema.json +30 -0
  45. package/entities/CertificateTemplates/action.json +186 -0
  46. package/entities/CertificateTemplates/schema.json +104 -0
  47. package/entities/Certificates/action.json +312 -0
  48. package/entities/Certificates/mockdatafiles/downloadApprovedCertificate-default.json +47 -0
  49. package/entities/Certificates/mockdatafiles/renewBySerial-default.json +23 -0
  50. package/entities/Certificates/mockdatafiles/renewCertificate-default.json +31 -0
  51. package/entities/Certificates/schema.json +462 -0
  52. package/entities/DeviceProfiles/action.json +126 -0
  53. package/entities/DeviceProfiles/mockdatafiles/createDeviceProfile-default.json +28 -0
  54. package/entities/DeviceProfiles/mockdatafiles/getDeviceProfile-default.json +28 -0
  55. package/entities/DeviceProfiles/mockdatafiles/listdeviceprofiles-default.json +53 -0
  56. package/entities/DeviceProfiles/mockdatafiles/updateDeviceProfile-default.json +28 -0
  57. package/entities/DeviceProfiles/schema.json +57 -0
  58. package/entities/Devices/action.json +166 -0
  59. package/entities/Devices/mockdatafiles/archiveDevice-default.json +33 -0
  60. package/entities/Devices/mockdatafiles/disableDevice-default.json +33 -0
  61. package/entities/Devices/mockdatafiles/enableDevice-default.json +33 -0
  62. package/entities/Devices/mockdatafiles/restoreDevice-default.json +33 -0
  63. package/entities/Devices/schema.json +103 -0
  64. package/entities/DevicesV2/action.json +186 -0
  65. package/entities/DevicesV2/mockdatafiles/archiveDeviceV2-default.json +33 -0
  66. package/entities/DevicesV2/mockdatafiles/disableDeviceV2-default.json +33 -0
  67. package/entities/DevicesV2/mockdatafiles/enableDeviceV2-default.json +33 -0
  68. package/entities/DevicesV2/mockdatafiles/restoreDeviceV2-default.json +33 -0
  69. package/entities/DevicesV2/schema.json +115 -0
  70. package/entities/Divisions/action.json +288 -0
  71. package/entities/Divisions/schema.json +164 -0
  72. package/entities/EnrollmentProfilePasscodes/action.json +186 -0
  73. package/entities/EnrollmentProfilePasscodes/schema.json +181 -0
  74. package/entities/EnrollmentProfiles/action.json +191 -0
  75. package/entities/EnrollmentProfiles/mockdatafiles/getEnrollmentProfile-default.json +153 -0
  76. package/entities/EnrollmentProfiles/mockdatafiles/getEnrollmentProfileSpecification-default.json +125 -0
  77. package/entities/EnrollmentProfiles/mockdatafiles/updateEnrollmentProfile-default.json +117 -0
  78. package/entities/EnrollmentProfiles/schema.json +148 -0
  79. package/entities/ExternalBatchCertificateEnrollment/action.json +150 -0
  80. package/entities/ExternalBatchCertificateEnrollment/mockdatafiles/batchEnrollExternal-default.json +16 -0
  81. package/entities/ExternalBatchCertificateEnrollment/mockdatafiles/downloadByCertificateValue-default.json +154 -0
  82. package/entities/ExternalBatchCertificateEnrollment/mockdatafiles/downloadByCommonName-default.json +150 -0
  83. package/entities/ExternalBatchCertificateEnrollment/mockdatafiles/downloadByJobIdAndCertificateValue-default.json +36 -0
  84. package/entities/ExternalBatchCertificateEnrollment/mockdatafiles/downloadByJobIdAndCommonName-default.json +130 -0
  85. package/entities/ExternalBatchCertificateEnrollment/mockdatafiles/downloadByJobIdAndUniqueId-default.json +42 -0
  86. package/entities/ExternalBatchCertificateEnrollment/schema.json +102 -0
  87. package/entities/Gateways/action.json +187 -0
  88. package/entities/Gateways/schema.json +126 -0
  89. package/entities/ICAs/action.json +46 -0
  90. package/entities/ICAs/schema.json +163 -0
  91. package/entities/OCSPGroups/action.json +167 -0
  92. package/entities/OCSPGroups/schema.json +466 -0
  93. package/metadata.json +49 -0
  94. package/package.json +22 -25
  95. package/pronghorn.json +23155 -266
  96. package/propertiesSchema.json +455 -42
  97. package/refs?service=git-upload-pack +0 -0
  98. package/report/adapter-openapi.json +3224 -0
  99. package/report/adapter-openapi.yaml +2185 -0
  100. package/report/adapterInfo.json +8 -8
  101. package/report/updateReport1691508686598.json +120 -0
  102. package/report/updateReport1692203137726.json +120 -0
  103. package/report/updateReport1694467869659.json +120 -0
  104. package/report/updateReport1698422457936.json +120 -0
  105. package/sampleProperties.json +67 -6
  106. package/test/integration/adapterTestBasicGet.js +1 -1
  107. package/test/integration/adapterTestConnectivity.js +91 -42
  108. package/test/integration/adapterTestIntegration.js +4704 -32
  109. package/test/unit/adapterBaseTestUnit.js +388 -313
  110. package/test/unit/adapterTestUnit.js +5211 -148
  111. package/utils/adapterInfo.js +1 -1
  112. package/utils/addAuth.js +1 -1
  113. package/utils/artifactize.js +1 -1
  114. package/utils/checkMigrate.js +1 -1
  115. package/utils/entitiesToDB.js +1 -0
  116. package/utils/findPath.js +1 -1
  117. package/utils/methodDocumentor.js +71 -23
  118. package/utils/modify.js +13 -15
  119. package/utils/packModificationScript.js +1 -1
  120. package/utils/taskMover.js +309 -0
  121. package/utils/tbScript.js +3 -10
  122. package/utils/tbUtils.js +2 -3
  123. package/utils/testRunner.js +1 -1
  124. package/utils/troubleshootingAdapter.js +1 -3
  125. package/workflows/README.md +0 -3
@@ -0,0 +1,288 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "listDivisions",
5
+ "protocol": "REST",
6
+ "method": "GET",
7
+ "entitypath": "{base_path}/{version}/api/v1/division/?{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": "createDivision",
26
+ "protocol": "REST",
27
+ "method": "POST",
28
+ "entitypath": "{base_path}/{version}/api/v1/division/?{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": "getDivision",
46
+ "protocol": "REST",
47
+ "method": "GET",
48
+ "entitypath": "{base_path}/{version}/api/v1/division/{pathv1}?{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": "updateDivision",
67
+ "protocol": "REST",
68
+ "method": "PUT",
69
+ "entitypath": "{base_path}/{version}/api/v1/division/{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": "disableDivision",
87
+ "protocol": "REST",
88
+ "method": "PUT",
89
+ "entitypath": "{base_path}/{version}/api/v1/division/{pathv1}/disable?{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
+ "name": "enableDivision",
107
+ "protocol": "REST",
108
+ "method": "PUT",
109
+ "entitypath": "{base_path}/{version}/api/v1/division/{pathv1}/enable?{query}",
110
+ "requestSchema": "schema.json",
111
+ "responseSchema": "schema.json",
112
+ "timeout": 0,
113
+ "sendEmpty": false,
114
+ "requestDatatype": "JSON",
115
+ "responseDatatype": "JSON",
116
+ "headers": {},
117
+ "responseObjects": [
118
+ {
119
+ "type": "default",
120
+ "key": "",
121
+ "mockFile": ""
122
+ }
123
+ ]
124
+ },
125
+ {
126
+ "name": "deleteDivision",
127
+ "protocol": "REST",
128
+ "method": "PUT",
129
+ "entitypath": "{base_path}/{version}/api/v1/division/{pathv1}/delete?{query}",
130
+ "requestSchema": "schema.json",
131
+ "responseSchema": "schema.json",
132
+ "timeout": 0,
133
+ "sendEmpty": false,
134
+ "requestDatatype": "JSON",
135
+ "responseDatatype": "JSON",
136
+ "headers": {},
137
+ "responseObjects": [
138
+ {
139
+ "type": "default",
140
+ "key": "",
141
+ "mockFile": ""
142
+ }
143
+ ]
144
+ },
145
+ {
146
+ "name": "restoreDivision",
147
+ "protocol": "REST",
148
+ "method": "PUT",
149
+ "entitypath": "{base_path}/{version}/api/v1/division/{pathv1}/undelete?{query}",
150
+ "requestSchema": "schema.json",
151
+ "responseSchema": "schema.json",
152
+ "timeout": 0,
153
+ "sendEmpty": false,
154
+ "requestDatatype": "JSON",
155
+ "responseDatatype": "JSON",
156
+ "headers": {},
157
+ "responseObjects": [
158
+ {
159
+ "type": "default",
160
+ "key": "",
161
+ "mockFile": ""
162
+ }
163
+ ]
164
+ },
165
+ {
166
+ "name": "assignDivisionUsers",
167
+ "protocol": "REST",
168
+ "method": "PUT",
169
+ "entitypath": "{base_path}/{version}/api/v1/division/{pathv1}/users/assign?{query}",
170
+ "requestSchema": "schema.json",
171
+ "responseSchema": "schema.json",
172
+ "timeout": 0,
173
+ "sendEmpty": false,
174
+ "requestDatatype": "JSON",
175
+ "responseDatatype": "JSON",
176
+ "headers": {},
177
+ "responseObjects": [
178
+ {
179
+ "type": "default",
180
+ "key": "",
181
+ "mockFile": ""
182
+ }
183
+ ]
184
+ },
185
+ {
186
+ "name": "listDivisionUsers",
187
+ "protocol": "REST",
188
+ "method": "GET",
189
+ "entitypath": "{base_path}/{version}/api/v1/division/{pathv1}/users?{query}",
190
+ "requestSchema": "schema.json",
191
+ "responseSchema": "schema.json",
192
+ "timeout": 0,
193
+ "sendEmpty": false,
194
+ "sendGetBody": false,
195
+ "requestDatatype": "JSON",
196
+ "responseDatatype": "JSON",
197
+ "headers": {},
198
+ "responseObjects": [
199
+ {
200
+ "type": "default",
201
+ "key": "",
202
+ "mockFile": ""
203
+ }
204
+ ]
205
+ },
206
+ {
207
+ "name": "removeDivisionUsers",
208
+ "protocol": "REST",
209
+ "method": "PUT",
210
+ "entitypath": "{base_path}/{version}/api/v1/division/{pathv1}/users/remove?{query}",
211
+ "requestSchema": "schema.json",
212
+ "responseSchema": "schema.json",
213
+ "timeout": 0,
214
+ "sendEmpty": false,
215
+ "requestDatatype": "JSON",
216
+ "responseDatatype": "JSON",
217
+ "headers": {},
218
+ "responseObjects": [
219
+ {
220
+ "type": "default",
221
+ "key": "",
222
+ "mockFile": ""
223
+ }
224
+ ]
225
+ },
226
+ {
227
+ "name": "assignICAstodivision",
228
+ "protocol": "REST",
229
+ "method": "PUT",
230
+ "entitypath": "{base_path}/{version}/api/v1/division/{pathv1}/ica/assign?{query}",
231
+ "requestSchema": "schema.json",
232
+ "responseSchema": "schema.json",
233
+ "timeout": 0,
234
+ "sendEmpty": false,
235
+ "requestDatatype": "JSON",
236
+ "responseDatatype": "JSON",
237
+ "headers": {},
238
+ "responseObjects": [
239
+ {
240
+ "type": "default",
241
+ "key": "",
242
+ "mockFile": ""
243
+ }
244
+ ]
245
+ },
246
+ {
247
+ "name": "removeICAsfromdivision",
248
+ "protocol": "REST",
249
+ "method": "PUT",
250
+ "entitypath": "{base_path}/{version}/api/v1/division/{pathv1}/ica/remove?{query}",
251
+ "requestSchema": "schema.json",
252
+ "responseSchema": "schema.json",
253
+ "timeout": 0,
254
+ "sendEmpty": false,
255
+ "requestDatatype": "JSON",
256
+ "responseDatatype": "JSON",
257
+ "headers": {},
258
+ "responseObjects": [
259
+ {
260
+ "type": "default",
261
+ "key": "",
262
+ "mockFile": ""
263
+ }
264
+ ]
265
+ },
266
+ {
267
+ "name": "listdivisionICAassignments",
268
+ "protocol": "REST",
269
+ "method": "GET",
270
+ "entitypath": "{base_path}/{version}/api/v1/division/{pathv1}/ica?{query}",
271
+ "requestSchema": "schema.json",
272
+ "responseSchema": "schema.json",
273
+ "timeout": 0,
274
+ "sendEmpty": false,
275
+ "sendGetBody": false,
276
+ "requestDatatype": "JSON",
277
+ "responseDatatype": "JSON",
278
+ "headers": {},
279
+ "responseObjects": [
280
+ {
281
+ "type": "default",
282
+ "key": "",
283
+ "mockFile": ""
284
+ }
285
+ ]
286
+ }
287
+ ]
288
+ }
@@ -0,0 +1,164 @@
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": "",
12
+ "enum": [
13
+ "listDivisions",
14
+ "createDivision",
15
+ "getDivision",
16
+ "updateDivision",
17
+ "disableDivision",
18
+ "enableDivision",
19
+ "deleteDivision",
20
+ "restoreDivision",
21
+ "assignDivisionUsers",
22
+ "listDivisionUsers",
23
+ "removeDivisionUsers",
24
+ "assignICAstodivision",
25
+ "removeICAsfromdivision",
26
+ "listdivisionICAassignments"
27
+ ],
28
+ "external_name": "ph_request_type"
29
+ },
30
+ "accountId": {
31
+ "type": "string",
32
+ "description": "Limits results to divisions assigned to an account ID that is an exact match for the given ID.",
33
+ "parse": false,
34
+ "encode": false,
35
+ "encrypt": {
36
+ "type": "AES",
37
+ "key": ""
38
+ },
39
+ "external_name": "account_id"
40
+ },
41
+ "sortBy": {
42
+ "type": "string",
43
+ "description": "Sorts results by the given property. Case-insensitive. Default `sort_by` property is `created_at`.",
44
+ "parse": false,
45
+ "encode": false,
46
+ "encrypt": {
47
+ "type": "AES",
48
+ "key": ""
49
+ },
50
+ "external_name": "sort_by"
51
+ },
52
+ "sortDirection": {
53
+ "type": "",
54
+ "description": "Sorts results in ascending or descending order by the value of the `sort_by` property. Case-insensitive. Default `sort_direction` value is `DESC`.",
55
+ "parse": false,
56
+ "encode": false,
57
+ "encrypt": {
58
+ "type": "AES",
59
+ "key": ""
60
+ },
61
+ "external_name": "sort_direction"
62
+ },
63
+ "divisionId": {
64
+ "type": "string",
65
+ "description": "Division ID (UUID).",
66
+ "parse": false,
67
+ "encode": false,
68
+ "encrypt": {
69
+ "type": "AES",
70
+ "key": ""
71
+ },
72
+ "external_name": "division_id"
73
+ },
74
+ "commonName": {
75
+ "type": "string",
76
+ "description": "Limits results to ICAs with the given common name.",
77
+ "parse": false,
78
+ "encode": false,
79
+ "encrypt": {
80
+ "type": "AES",
81
+ "key": ""
82
+ },
83
+ "external_name": "common_name"
84
+ },
85
+ "issuerCommonName": {
86
+ "type": "string",
87
+ "description": "Limits results to ICAs issued by the given CA certificate.",
88
+ "parse": false,
89
+ "encode": false,
90
+ "encrypt": {
91
+ "type": "AES",
92
+ "key": ""
93
+ },
94
+ "external_name": "issuer_common_name"
95
+ },
96
+ "serialNumber": {
97
+ "type": "string",
98
+ "description": "Limits results to ICAs with the given serial number.",
99
+ "parse": false,
100
+ "encode": false,
101
+ "encrypt": {
102
+ "type": "AES",
103
+ "key": ""
104
+ },
105
+ "external_name": "serial_number"
106
+ },
107
+ "enrollmentProfileId": {
108
+ "type": "string",
109
+ "description": "Limits results to ICAs used in the given enrollment profile (UUID).",
110
+ "parse": false,
111
+ "encode": false,
112
+ "encrypt": {
113
+ "type": "AES",
114
+ "key": ""
115
+ },
116
+ "external_name": "enrollment_profile_id"
117
+ },
118
+ "validFromFrom": {
119
+ "type": "string",
120
+ "description": "Limits results to ICAs with a `valid_from` value on or after the given date or date-time. Use with `valid_from_to` to search for ICAs with a `valid_from` date in a specif...(description truncated)",
121
+ "parse": false,
122
+ "encode": false,
123
+ "encrypt": {
124
+ "type": "AES",
125
+ "key": ""
126
+ },
127
+ "external_name": "valid_from_from"
128
+ },
129
+ "validFromTo": {
130
+ "type": "string",
131
+ "description": "Limits results to ICAs with a `valid_from` value on or before the given date or date-time. Use with `valid_from_from` to search for ICAs with a `valid_from` date in a spe...(description truncated)",
132
+ "parse": false,
133
+ "encode": false,
134
+ "encrypt": {
135
+ "type": "AES",
136
+ "key": ""
137
+ },
138
+ "external_name": "valid_from_to"
139
+ },
140
+ "validToFrom": {
141
+ "type": "string",
142
+ "description": "Limits results to ICAs with a `valid_to` value on or after the given date or date-time. Use with `valid_to_to` to search for ICAs with a `valid_to` date in a specific ran...(description truncated)",
143
+ "parse": false,
144
+ "encode": false,
145
+ "encrypt": {
146
+ "type": "AES",
147
+ "key": ""
148
+ },
149
+ "external_name": "valid_to_from"
150
+ },
151
+ "validToTo": {
152
+ "type": "string",
153
+ "description": "Limits results to ICAs with a `valid_to` value on or before the given date or date-time. Use with `valid_to_from` to search for ICAs with a `valid_to` date in a specific ...(description truncated)",
154
+ "parse": false,
155
+ "encode": false,
156
+ "encrypt": {
157
+ "type": "AES",
158
+ "key": ""
159
+ },
160
+ "external_name": "valid_to_to"
161
+ }
162
+ },
163
+ "definitions": {}
164
+ }
@@ -0,0 +1,186 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "listEnrollmentPasscodes",
5
+ "protocol": "REST",
6
+ "method": "GET",
7
+ "entitypath": "{base_path}/{version}/api/v1/passcode?{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": "createEnrollmentPasscode",
26
+ "protocol": "REST",
27
+ "method": "POST",
28
+ "entitypath": "{base_path}/{version}/api/v1/enrollment-profile/{pathv1}/passcode?{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": "getEnrollmentPasscodeDetails",
46
+ "protocol": "REST",
47
+ "method": "GET",
48
+ "entitypath": "{base_path}/{version}/api/v1/enrollment-profile/{pathv1}/passcode/{pathv2}?{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": "updateEnrollmentPasscode",
67
+ "protocol": "REST",
68
+ "method": "PUT",
69
+ "entitypath": "{base_path}/{version}/api/v1/enrollment-profile/{pathv1}/passcode/{pathv2}?{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": "deleteEnrollmentPasscode",
87
+ "protocol": "REST",
88
+ "method": "DELETE",
89
+ "entitypath": "{base_path}/{version}/api/v1/enrollment-profile/{pathv1}/passcode/{pathv2}?{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
+ "name": "restoreEnrollmentPasscode",
107
+ "protocol": "REST",
108
+ "method": "PUT",
109
+ "entitypath": "{base_path}/{version}/api/v1/enrollment-profile/{pathv1}/passcode/{pathv2}/undelete?{query}",
110
+ "requestSchema": "schema.json",
111
+ "responseSchema": "schema.json",
112
+ "timeout": 0,
113
+ "sendEmpty": false,
114
+ "requestDatatype": "JSON",
115
+ "responseDatatype": "JSON",
116
+ "headers": {},
117
+ "responseObjects": [
118
+ {
119
+ "type": "default",
120
+ "key": "",
121
+ "mockFile": ""
122
+ }
123
+ ]
124
+ },
125
+ {
126
+ "name": "disableEnrollmentPasscode",
127
+ "protocol": "REST",
128
+ "method": "PUT",
129
+ "entitypath": "{base_path}/{version}/api/v1/enrollment-profile/{pathv1}/passcode/{pathv2}/disable?{query}",
130
+ "requestSchema": "schema.json",
131
+ "responseSchema": "schema.json",
132
+ "timeout": 0,
133
+ "sendEmpty": false,
134
+ "requestDatatype": "JSON",
135
+ "responseDatatype": "JSON",
136
+ "headers": {},
137
+ "responseObjects": [
138
+ {
139
+ "type": "default",
140
+ "key": "",
141
+ "mockFile": ""
142
+ }
143
+ ]
144
+ },
145
+ {
146
+ "name": "enableEnrollmentPasscode",
147
+ "protocol": "REST",
148
+ "method": "PUT",
149
+ "entitypath": "{base_path}/{version}/api/v1/enrollment-profile/{pathv1}/passcode/{pathv2}/enable?{query}",
150
+ "requestSchema": "schema.json",
151
+ "responseSchema": "schema.json",
152
+ "timeout": 0,
153
+ "sendEmpty": false,
154
+ "requestDatatype": "JSON",
155
+ "responseDatatype": "JSON",
156
+ "headers": {},
157
+ "responseObjects": [
158
+ {
159
+ "type": "default",
160
+ "key": "",
161
+ "mockFile": ""
162
+ }
163
+ ]
164
+ },
165
+ {
166
+ "name": "regenerateEnrollmentPasscode",
167
+ "protocol": "REST",
168
+ "method": "PUT",
169
+ "entitypath": "{base_path}/{version}/api/v1/enrollment-profile/{pathv1}/passcode/{pathv2}/regenerate?{query}",
170
+ "requestSchema": "schema.json",
171
+ "responseSchema": "schema.json",
172
+ "timeout": 0,
173
+ "sendEmpty": false,
174
+ "requestDatatype": "JSON",
175
+ "responseDatatype": "JSON",
176
+ "headers": {},
177
+ "responseObjects": [
178
+ {
179
+ "type": "default",
180
+ "key": "",
181
+ "mockFile": ""
182
+ }
183
+ ]
184
+ }
185
+ ]
186
+ }