@itentialopensource/adapter-digicert_pki 0.1.1 → 1.0.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 (92) hide show
  1. package/CALLS.md +1245 -0
  2. package/CHANGELOG.md +8 -1
  3. package/adapter.js +13519 -0
  4. package/entities/ACME/action.json +166 -0
  5. package/entities/ACME/mockdatafiles/createAcmeAuthentication-default.json +21 -0
  6. package/entities/ACME/mockdatafiles/getAcmeAuthentication-default.json +21 -0
  7. package/entities/ACME/mockdatafiles/listAcmeAuthentication-default.json +41 -0
  8. package/entities/ACME/mockdatafiles/updateAcmeAuthentication-default.json +21 -0
  9. package/entities/ACME/schema.json +125 -0
  10. package/entities/AuthenticationCACertificates/action.json +107 -0
  11. package/entities/AuthenticationCACertificates/schema.json +155 -0
  12. package/entities/AuthenticationCATemplates/action.json +187 -0
  13. package/entities/AuthenticationCATemplates/mockdatafiles/createAuthenticationCATemplate-default.json +33 -0
  14. package/entities/AuthenticationCATemplates/mockdatafiles/getAuthenticationCATemplate-default.json +33 -0
  15. package/entities/AuthenticationCATemplates/mockdatafiles/updateAuthenticationCATemplate-default.json +33 -0
  16. package/entities/AuthenticationCATemplates/schema.json +137 -0
  17. package/entities/AuthenticationCertificates/action.json +166 -0
  18. package/entities/AuthenticationCertificates/mockdatafiles/addAuthenticationCertificate-default.json +48 -0
  19. package/entities/AuthenticationCertificates/mockdatafiles/getAuthenticationCertificateDetails-default.json +49 -0
  20. package/entities/AuthenticationCertificates/mockdatafiles/listAuthenticationCertificates-default.json +93 -0
  21. package/entities/AuthenticationCertificates/mockdatafiles/updateAuthenticationCertificate-default.json +48 -0
  22. package/entities/AuthenticationCertificates/schema.json +202 -0
  23. package/entities/BatchCertificateEnrollment/action.json +268 -0
  24. package/entities/BatchCertificateEnrollment/mockdatafiles/batchCSREnroll-default.json +22 -0
  25. package/entities/BatchCertificateEnrollment/mockdatafiles/batchEnrollWithKeyGen-default.json +22 -0
  26. package/entities/BatchCertificateEnrollment/mockdatafiles/batchEnrollWithKeyGenMac-default.json +22 -0
  27. package/entities/BatchCertificateEnrollment/mockdatafiles/downloadCertificates-default.json +18 -0
  28. package/entities/BatchCertificateEnrollment/mockdatafiles/getBatchJobSettings-default.json +22 -0
  29. package/entities/BatchCertificateEnrollment/mockdatafiles/regenerateBatchJobPasscode-default.json +22 -0
  30. package/entities/BatchCertificateEnrollment/mockdatafiles/updateBatchJobSettings-default.json +22 -0
  31. package/entities/BatchCertificateEnrollment/schema.json +284 -0
  32. package/entities/CertificateProfiles/action.json +206 -0
  33. package/entities/CertificateProfiles/mockdatafiles/listCertificateProfiles-default.json +219 -0
  34. package/entities/CertificateProfiles/schema.json +116 -0
  35. package/entities/CertificateRequests/action.json +25 -0
  36. package/entities/CertificateRequests/mockdatafiles/getRequestStatus-default.json +5 -0
  37. package/entities/CertificateRequests/schema.json +30 -0
  38. package/entities/CertificateTemplates/action.json +186 -0
  39. package/entities/CertificateTemplates/schema.json +104 -0
  40. package/entities/Certificates/action.json +312 -0
  41. package/entities/Certificates/mockdatafiles/downloadApprovedCertificate-default.json +47 -0
  42. package/entities/Certificates/mockdatafiles/renewBySerial-default.json +23 -0
  43. package/entities/Certificates/mockdatafiles/renewCertificate-default.json +31 -0
  44. package/entities/Certificates/schema.json +462 -0
  45. package/entities/DeviceProfiles/action.json +126 -0
  46. package/entities/DeviceProfiles/mockdatafiles/createDeviceProfile-default.json +28 -0
  47. package/entities/DeviceProfiles/mockdatafiles/getDeviceProfile-default.json +28 -0
  48. package/entities/DeviceProfiles/mockdatafiles/listdeviceprofiles-default.json +53 -0
  49. package/entities/DeviceProfiles/mockdatafiles/updateDeviceProfile-default.json +28 -0
  50. package/entities/DeviceProfiles/schema.json +57 -0
  51. package/entities/Devices/action.json +166 -0
  52. package/entities/Devices/mockdatafiles/archiveDevice-default.json +33 -0
  53. package/entities/Devices/mockdatafiles/disableDevice-default.json +33 -0
  54. package/entities/Devices/mockdatafiles/enableDevice-default.json +33 -0
  55. package/entities/Devices/mockdatafiles/restoreDevice-default.json +33 -0
  56. package/entities/Devices/schema.json +103 -0
  57. package/entities/DevicesV2/action.json +186 -0
  58. package/entities/DevicesV2/mockdatafiles/archiveDeviceV2-default.json +33 -0
  59. package/entities/DevicesV2/mockdatafiles/disableDeviceV2-default.json +33 -0
  60. package/entities/DevicesV2/mockdatafiles/enableDeviceV2-default.json +33 -0
  61. package/entities/DevicesV2/mockdatafiles/restoreDeviceV2-default.json +33 -0
  62. package/entities/DevicesV2/schema.json +115 -0
  63. package/entities/Divisions/action.json +288 -0
  64. package/entities/Divisions/schema.json +164 -0
  65. package/entities/EnrollmentProfilePasscodes/action.json +186 -0
  66. package/entities/EnrollmentProfilePasscodes/schema.json +181 -0
  67. package/entities/EnrollmentProfiles/action.json +191 -0
  68. package/entities/EnrollmentProfiles/mockdatafiles/getEnrollmentProfile-default.json +153 -0
  69. package/entities/EnrollmentProfiles/mockdatafiles/getEnrollmentProfileSpecification-default.json +125 -0
  70. package/entities/EnrollmentProfiles/mockdatafiles/updateEnrollmentProfile-default.json +117 -0
  71. package/entities/EnrollmentProfiles/schema.json +148 -0
  72. package/entities/ExternalBatchCertificateEnrollment/action.json +150 -0
  73. package/entities/ExternalBatchCertificateEnrollment/mockdatafiles/batchEnrollExternal-default.json +16 -0
  74. package/entities/ExternalBatchCertificateEnrollment/mockdatafiles/downloadByCertificateValue-default.json +154 -0
  75. package/entities/ExternalBatchCertificateEnrollment/mockdatafiles/downloadByCommonName-default.json +150 -0
  76. package/entities/ExternalBatchCertificateEnrollment/mockdatafiles/downloadByJobIdAndCertificateValue-default.json +36 -0
  77. package/entities/ExternalBatchCertificateEnrollment/mockdatafiles/downloadByJobIdAndCommonName-default.json +130 -0
  78. package/entities/ExternalBatchCertificateEnrollment/mockdatafiles/downloadByJobIdAndUniqueId-default.json +42 -0
  79. package/entities/ExternalBatchCertificateEnrollment/schema.json +102 -0
  80. package/entities/Gateways/action.json +187 -0
  81. package/entities/Gateways/schema.json +126 -0
  82. package/entities/ICAs/action.json +46 -0
  83. package/entities/ICAs/schema.json +163 -0
  84. package/entities/OCSPGroups/action.json +167 -0
  85. package/entities/OCSPGroups/schema.json +466 -0
  86. package/package.json +1 -1
  87. package/pronghorn.json +22589 -32
  88. package/refs?service=git-upload-pack +0 -0
  89. package/report/adapterInfo.json +7 -7
  90. package/sampleProperties.json +3 -3
  91. package/test/integration/adapterTestIntegration.js +4544 -0
  92. package/test/unit/adapterTestUnit.js +4866 -0
@@ -0,0 +1,49 @@
1
+ {
2
+ "template_id": "<template_id>",
3
+ "id": "<authentication_certificate_id>",
4
+ "name": "Example Name",
5
+ "enrollment_profile": {
6
+ "id": "<enrollment_profile_id>",
7
+ "name": "<enrollment_profile_name>"
8
+ },
9
+ "start_date": "2021-05-20T00:00:00Z",
10
+ "end_date": "2022-05-20T00:00:00Z",
11
+ "usage_limit": "0",
12
+ "registered_values": [
13
+ {
14
+ "certificate_field": "subject.common_name",
15
+ "matcher": "equals",
16
+ "value": "common name",
17
+ "multiple": false
18
+ },
19
+ {
20
+ "certificate_field": "subject.organization_unit",
21
+ "matcher": "equals",
22
+ "value": [
23
+ "Unit 1",
24
+ "Unit 2"
25
+ ],
26
+ "multiple": true
27
+ }
28
+ ],
29
+ "number_of_usage": "0",
30
+ "status": "ACTIVE",
31
+ "created_at": "2021-05-13T21:05:43.273689Z",
32
+ "certificate_issuer_common_name": "Issuing CA Name",
33
+ "use_passcode": false,
34
+ "generation_option": "string",
35
+ "passcode": "ExamplePasscode123",
36
+ "passcode_length": 20,
37
+ "certificate": {
38
+ "id": "<certificate_id>",
39
+ "name": "Certificate Name"
40
+ },
41
+ "pem": "<pem>",
42
+ "certificate_expires_on": "2022-04-30T17:38:58Z",
43
+ "certificate_serial_number": "<certificate_serial_number>",
44
+ "certificate_status": "ISSUED",
45
+ "certificate_thumbprint": "<certificate_thumbprint>",
46
+ "certificate_organization": "Example Organization",
47
+ "certificate_organization_units": [],
48
+ "certificate_attributes": []
49
+ }
@@ -0,0 +1,93 @@
1
+ {
2
+ "limit": 20,
3
+ "offset": 0,
4
+ "pagination": true,
5
+ "next": false,
6
+ "total": 1,
7
+ "records": [
8
+ {
9
+ "start_date": "2021-05-20T00:00:00Z",
10
+ "end_date": "2022-05-20T00:00:00Z",
11
+ "registered_values": [
12
+ {
13
+ "certificate_field": "subject.common_name",
14
+ "matcher": "equals",
15
+ "value": "common name",
16
+ "multiple": false
17
+ },
18
+ {
19
+ "certificate_field": "subject.organization_unit",
20
+ "matcher": "equals",
21
+ "value": [
22
+ "Unit 1",
23
+ "Unit 2"
24
+ ],
25
+ "multiple": true
26
+ }
27
+ ],
28
+ "id": "<authentication_certificate_id>",
29
+ "certificate": {
30
+ "id": "<certificate_id>",
31
+ "name": "Certificate Name"
32
+ },
33
+ "enrollment_profile": {
34
+ "id": "<enrollment_profile_id>",
35
+ "name": "<enrollment_profile_name>"
36
+ },
37
+ "number_of_usage": "0",
38
+ "status": "ACTIVE",
39
+ "created_at": "2021-05-13T21:05:43.273689Z",
40
+ "pem": "<pem>",
41
+ "certificate_expires_on": "2022-04-30T17:38:58Z",
42
+ "certificate_serial_number": "<certificate_serial_number>",
43
+ "certificate_issuer_common_name": "Issuing CA Name",
44
+ "certificate_status": "ISSUED",
45
+ "certificate_thumbprint": "<certificate_thumbprint>",
46
+ "certificate_organization": "Example Organization",
47
+ "certificate_organization_units": [],
48
+ "certificate_attributes": [],
49
+ "template_id": "<template_id>",
50
+ "use_passcode": false
51
+ },
52
+ {
53
+ "start_date": "2021-05-20T00:00:00Z",
54
+ "end_date": "2022-05-20T00:00:00Z",
55
+ "registered_values": [
56
+ {
57
+ "certificate_field": "subject.common_name",
58
+ "matcher": "equals",
59
+ "value": "common name",
60
+ "multiple": false
61
+ },
62
+ {
63
+ "certificate_field": "subject.organization_unit",
64
+ "matcher": "equals",
65
+ "value": [
66
+ "Unit 1",
67
+ "Unit 2"
68
+ ],
69
+ "multiple": true
70
+ }
71
+ ],
72
+ "id": "<authentication_certificate_id>",
73
+ "certificate": {},
74
+ "enrollment_profile": {
75
+ "id": "<enrollment_profile_id>",
76
+ "name": "<enrollment_profile_name>"
77
+ },
78
+ "number_of_usage": "0",
79
+ "status": "ACTIVE",
80
+ "created_at": "2021-05-13T21:05:43.273689Z",
81
+ "certificate_issuer_common_name": "Issuing CA Name",
82
+ "certificate_attributes": [
83
+ {
84
+ "certificate_attribute": "subject.common_name",
85
+ "value": "common name",
86
+ "multiple": false
87
+ }
88
+ ],
89
+ "template_id": "<template_id>",
90
+ "use_passcode": false
91
+ }
92
+ ]
93
+ }
@@ -0,0 +1,48 @@
1
+ {
2
+ "template_id": "<template_id>",
3
+ "id": "<authentication_certificate_id>",
4
+ "name": "Example Name",
5
+ "enrollment_profile": {
6
+ "id": "<enrollment_profile_id>",
7
+ "name": "<enrollment_profile_name>"
8
+ },
9
+ "start_date": "2021-05-20T00:00:00Z",
10
+ "end_date": "2022-05-20T00:00:00Z",
11
+ "usage_limit": "0",
12
+ "registered_values": [
13
+ {
14
+ "certificate_field": "subject.common_name",
15
+ "matcher": "equals",
16
+ "value": "common name",
17
+ "multiple": false
18
+ },
19
+ {
20
+ "certificate_field": "subject.organization_unit",
21
+ "matcher": "equals",
22
+ "value": [
23
+ "Unit 1",
24
+ "Unit 2"
25
+ ],
26
+ "multiple": true
27
+ }
28
+ ],
29
+ "number_of_usage": "0",
30
+ "status": "ACTIVE",
31
+ "created_at": "2021-05-13T21:05:43.273689Z",
32
+ "certificate_issuer_common_name": "Issuing CA Name",
33
+ "use_passcode": false,
34
+ "generation_option": "string",
35
+ "passcode": "ExamplePasscode123",
36
+ "passcode_length": 20,
37
+ "certificate": {
38
+ "id": "<certificate_id>",
39
+ "name": "Certificate Name"
40
+ },
41
+ "pem": "<pem>",
42
+ "certificate_expires_on": "2022-04-30T17:38:58Z",
43
+ "certificate_serial_number": "<certificate_serial_number>",
44
+ "certificate_status": "ISSUED",
45
+ "certificate_thumbprint": "<certificate_thumbprint>",
46
+ "certificate_organization": "Example Organization",
47
+ "certificate_organization_units": []
48
+ }
@@ -0,0 +1,202 @@
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
+ "addAuthenticationCertificate",
14
+ "listAuthenticationCertificates",
15
+ "getAuthenticationCertificateDetails",
16
+ "updateAuthenticationCertificate",
17
+ "disableAuthenticationCertificate",
18
+ "enableAuthenticationCertificate",
19
+ "deleteAuthenticationCertificate",
20
+ "restoreAuthenticationCertificate"
21
+ ],
22
+ "external_name": "ph_request_type"
23
+ },
24
+ "accountId": {
25
+ "type": "string",
26
+ "description": "Limits results to authentication certificates for the account with the given ID.",
27
+ "parse": false,
28
+ "encode": false,
29
+ "encrypt": {
30
+ "type": "AES",
31
+ "key": ""
32
+ },
33
+ "external_name": "account_id"
34
+ },
35
+ "divisionId": {
36
+ "type": "string",
37
+ "description": "Limits results to authentication certificates for the division with the given ID.",
38
+ "parse": false,
39
+ "encode": false,
40
+ "encrypt": {
41
+ "type": "AES",
42
+ "key": ""
43
+ },
44
+ "external_name": "division_id"
45
+ },
46
+ "authenticationCaCommonName": {
47
+ "type": "string",
48
+ "description": "Limits results to authentication certificates associated with authentication CA certificates that have a common name value containing the given string. Case-insensitive.",
49
+ "parse": false,
50
+ "encode": false,
51
+ "encrypt": {
52
+ "type": "AES",
53
+ "key": ""
54
+ },
55
+ "external_name": "authentication_ca_common_name"
56
+ },
57
+ "templateId": {
58
+ "type": "string",
59
+ "description": "Limits results to authentication certificates created from the authentication CA template with the given ID.",
60
+ "parse": false,
61
+ "encode": false,
62
+ "encrypt": {
63
+ "type": "AES",
64
+ "key": ""
65
+ },
66
+ "external_name": "template_id"
67
+ },
68
+ "authenticationCaId": {
69
+ "type": "string",
70
+ "description": "Limits results to authentication certificates associated with the authentication CA certificate with the given ID.",
71
+ "parse": false,
72
+ "encode": false,
73
+ "encrypt": {
74
+ "type": "AES",
75
+ "key": ""
76
+ },
77
+ "external_name": "authentication_ca_id"
78
+ },
79
+ "enrollmentProfileId": {
80
+ "type": "string",
81
+ "description": "Limits results to authentication certificates assigned to the enrollment profile with the given ID.",
82
+ "parse": false,
83
+ "encode": false,
84
+ "encrypt": {
85
+ "type": "AES",
86
+ "key": ""
87
+ },
88
+ "external_name": "enrollment_profile_id"
89
+ },
90
+ "enrollmentProfileName": {
91
+ "type": "string",
92
+ "description": "Limits results to authentication certificates assigned to enrollment profiles with a name that contains the given string. Case-insensitive.",
93
+ "parse": false,
94
+ "encode": false,
95
+ "encrypt": {
96
+ "type": "AES",
97
+ "key": ""
98
+ },
99
+ "external_name": "enrollment_profile_name"
100
+ },
101
+ "createdFrom": {
102
+ "type": "string",
103
+ "description": "Limits results to authentication certificates created after the given date. Format: `YYYY-MM-DD`",
104
+ "parse": false,
105
+ "encode": false,
106
+ "encrypt": {
107
+ "type": "AES",
108
+ "key": ""
109
+ },
110
+ "external_name": "created_from"
111
+ },
112
+ "createdTo": {
113
+ "type": "string",
114
+ "description": "Limits results to authentication certificates created before the given date. Format: `YYYY-MM-DD`",
115
+ "parse": false,
116
+ "encode": false,
117
+ "encrypt": {
118
+ "type": "AES",
119
+ "key": ""
120
+ },
121
+ "external_name": "created_to"
122
+ },
123
+ "usageLimitFrom": {
124
+ "type": "number",
125
+ "description": "Limits results to authentication certificates with a usage limit higher than the given number. Inclusive.",
126
+ "parse": false,
127
+ "encode": false,
128
+ "encrypt": {
129
+ "type": "AES",
130
+ "key": ""
131
+ },
132
+ "external_name": "usage_limit_from"
133
+ },
134
+ "usageLimitTo": {
135
+ "type": "number",
136
+ "description": "Limits results to authentication certificates with a usage limit lower than the given number. Inclusive.",
137
+ "parse": false,
138
+ "encode": false,
139
+ "encrypt": {
140
+ "type": "AES",
141
+ "key": ""
142
+ },
143
+ "external_name": "usage_limit_to"
144
+ },
145
+ "expiresFrom": {
146
+ "type": "string",
147
+ "description": "Limits results to authentication certificates that expire after the given date. Format: `YYYY-MM-DD`",
148
+ "parse": false,
149
+ "encode": false,
150
+ "encrypt": {
151
+ "type": "AES",
152
+ "key": ""
153
+ },
154
+ "external_name": "expires_from"
155
+ },
156
+ "expiresTo": {
157
+ "type": "string",
158
+ "description": "Limits results to authentication certificates that expire before the given date Format: `YYYY-MM-DD`",
159
+ "parse": false,
160
+ "encode": false,
161
+ "encrypt": {
162
+ "type": "AES",
163
+ "key": ""
164
+ },
165
+ "external_name": "expires_to"
166
+ },
167
+ "sortBy": {
168
+ "type": "",
169
+ "description": "Sorts results by the given property. Case-insensitive.",
170
+ "parse": false,
171
+ "encode": false,
172
+ "encrypt": {
173
+ "type": "AES",
174
+ "key": ""
175
+ },
176
+ "external_name": "sort_by"
177
+ },
178
+ "sortDirection": {
179
+ "type": "",
180
+ "description": "Sorts results in ascending (`ASC`) or descending (`DESC`) order by the value of the `sort_by` property. Case-insensitive.",
181
+ "parse": false,
182
+ "encode": false,
183
+ "encrypt": {
184
+ "type": "AES",
185
+ "key": ""
186
+ },
187
+ "external_name": "sort_direction"
188
+ },
189
+ "authenticationCertificateId": {
190
+ "type": "string",
191
+ "description": "ID of the authentication certificate.",
192
+ "parse": false,
193
+ "encode": false,
194
+ "encrypt": {
195
+ "type": "AES",
196
+ "key": ""
197
+ },
198
+ "external_name": "authentication_certificate_id"
199
+ }
200
+ },
201
+ "definitions": {}
202
+ }
@@ -0,0 +1,268 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "batchCSREnroll",
5
+ "protocol": "REST",
6
+ "method": "POST",
7
+ "entitypath": "{base_path}/{version}/api/v1/enrollment-profile/{pathv1}/batch-enroll?{query}",
8
+ "requestSchema": "schema.json",
9
+ "responseSchema": "schema.json",
10
+ "timeout": 0,
11
+ "sendEmpty": false,
12
+ "requestDatatype": "FORM",
13
+ "responseDatatype": "JSON",
14
+ "headers": {},
15
+ "responseObjects": [
16
+ {
17
+ "type": "default",
18
+ "key": "",
19
+ "mockFile": "mockdatafiles/batchCSREnroll-default.json"
20
+ }
21
+ ]
22
+ },
23
+ {
24
+ "name": "batchEnrollWithKeyGen",
25
+ "protocol": "REST",
26
+ "method": "POST",
27
+ "entitypath": "{base_path}/{version}/api/v1/enrollment-profile/{pathv1}/batch-enroll-key-gen?{query}",
28
+ "requestSchema": "schema.json",
29
+ "responseSchema": "schema.json",
30
+ "timeout": 0,
31
+ "sendEmpty": false,
32
+ "requestDatatype": "FORM",
33
+ "responseDatatype": "JSON",
34
+ "headers": {},
35
+ "responseObjects": [
36
+ {
37
+ "type": "default",
38
+ "key": "",
39
+ "mockFile": "mockdatafiles/batchEnrollWithKeyGen-default.json"
40
+ }
41
+ ]
42
+ },
43
+ {
44
+ "name": "batchEnrollWithKeyGenMac",
45
+ "protocol": "REST",
46
+ "method": "POST",
47
+ "entitypath": "{base_path}/{version}/api/v1/enrollment-profile/{pathv1}/batch-enroll-key-gen-mac?{query}",
48
+ "requestSchema": "schema.json",
49
+ "responseSchema": "schema.json",
50
+ "timeout": 0,
51
+ "sendEmpty": false,
52
+ "requestDatatype": "FORM",
53
+ "responseDatatype": "JSON",
54
+ "headers": {},
55
+ "responseObjects": [
56
+ {
57
+ "type": "default",
58
+ "key": "",
59
+ "mockFile": "mockdatafiles/batchEnrollWithKeyGenMac-default.json"
60
+ }
61
+ ]
62
+ },
63
+ {
64
+ "name": "listBatchJobs",
65
+ "protocol": "REST",
66
+ "method": "GET",
67
+ "entitypath": "{base_path}/{version}/api/v1/batch-enroll?{query}",
68
+ "requestSchema": "schema.json",
69
+ "responseSchema": "schema.json",
70
+ "timeout": 0,
71
+ "sendEmpty": false,
72
+ "sendGetBody": false,
73
+ "requestDatatype": "JSON",
74
+ "responseDatatype": "JSON",
75
+ "headers": {},
76
+ "responseObjects": [
77
+ {
78
+ "type": "default",
79
+ "key": "",
80
+ "mockFile": ""
81
+ }
82
+ ]
83
+ },
84
+ {
85
+ "name": "getBatchJobSettings",
86
+ "protocol": "REST",
87
+ "method": "GET",
88
+ "entitypath": "{base_path}/{version}/api/v1/batch-enroll/{pathv1}?{query}",
89
+ "requestSchema": "schema.json",
90
+ "responseSchema": "schema.json",
91
+ "timeout": 0,
92
+ "sendEmpty": false,
93
+ "sendGetBody": false,
94
+ "requestDatatype": "JSON",
95
+ "responseDatatype": "JSON",
96
+ "headers": {},
97
+ "responseObjects": [
98
+ {
99
+ "type": "default",
100
+ "key": "",
101
+ "mockFile": "mockdatafiles/getBatchJobSettings-default.json"
102
+ }
103
+ ]
104
+ },
105
+ {
106
+ "name": "updateBatchJobSettings",
107
+ "protocol": "REST",
108
+ "method": "PUT",
109
+ "entitypath": "{base_path}/{version}/api/v1/batch-enroll/{pathv1}?{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": "mockdatafiles/updateBatchJobSettings-default.json"
122
+ }
123
+ ]
124
+ },
125
+ {
126
+ "name": "regenerateBatchJobPasscode",
127
+ "protocol": "REST",
128
+ "method": "PUT",
129
+ "entitypath": "{base_path}/{version}/api/v1/batch-enroll/{pathv1}/regenerate-passcode?{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": "mockdatafiles/regenerateBatchJobPasscode-default.json"
142
+ }
143
+ ]
144
+ },
145
+ {
146
+ "name": "approveJob",
147
+ "protocol": "REST",
148
+ "method": "PUT",
149
+ "entitypath": "{base_path}/{version}/api/v1/batch-enroll/{pathv1}/approve?{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": "rejectJob",
167
+ "protocol": "REST",
168
+ "method": "PUT",
169
+ "entitypath": "{base_path}/{version}/api/v1/batch-enroll/{pathv1}/reject?{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": "downloadReport",
187
+ "protocol": "REST",
188
+ "method": "GET",
189
+ "entitypath": "{base_path}/{version}/api/v1/batch-enroll/{pathv1}/download-report?{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": "downloadCertificates",
208
+ "protocol": "REST",
209
+ "method": "GET",
210
+ "entitypath": "{base_path}/{version}/api/v1/batch-enroll/{pathv1}/download-certificates?{query}",
211
+ "requestSchema": "schema.json",
212
+ "responseSchema": "schema.json",
213
+ "timeout": 0,
214
+ "sendEmpty": false,
215
+ "sendGetBody": false,
216
+ "requestDatatype": "JSON",
217
+ "responseDatatype": "JSON",
218
+ "headers": {},
219
+ "responseObjects": [
220
+ {
221
+ "type": "default",
222
+ "key": "",
223
+ "mockFile": "mockdatafiles/downloadCertificates-default.json"
224
+ }
225
+ ]
226
+ },
227
+ {
228
+ "name": "deleteDownloadUrls",
229
+ "protocol": "REST",
230
+ "method": "PUT",
231
+ "entitypath": "{base_path}/{version}/api/v1/batch-enroll/{pathv1}/delete-download-urls?{query}",
232
+ "requestSchema": "schema.json",
233
+ "responseSchema": "schema.json",
234
+ "timeout": 0,
235
+ "sendEmpty": false,
236
+ "requestDatatype": "JSON",
237
+ "responseDatatype": "JSON",
238
+ "headers": {},
239
+ "responseObjects": [
240
+ {
241
+ "type": "default",
242
+ "key": "",
243
+ "mockFile": ""
244
+ }
245
+ ]
246
+ },
247
+ {
248
+ "name": "resendDownloadUrls",
249
+ "protocol": "REST",
250
+ "method": "PUT",
251
+ "entitypath": "{base_path}/{version}/api/v1/batch-enroll/{pathv1}/resend-download-urls?{query}",
252
+ "requestSchema": "schema.json",
253
+ "responseSchema": "schema.json",
254
+ "timeout": 0,
255
+ "sendEmpty": false,
256
+ "requestDatatype": "JSON",
257
+ "responseDatatype": "JSON",
258
+ "headers": {},
259
+ "responseObjects": [
260
+ {
261
+ "type": "default",
262
+ "key": "",
263
+ "mockFile": ""
264
+ }
265
+ ]
266
+ }
267
+ ]
268
+ }
@@ -0,0 +1,22 @@
1
+ {
2
+ "id": "da342f63-dead-4bae-a065-eb8822948148",
3
+ "name": "Example batch job",
4
+ "status": null,
5
+ "total_items": 10,
6
+ "failed_items": 6,
7
+ "processing_time": 900,
8
+ "job_type": null,
9
+ "passcode": "string",
10
+ "passcode_generation_option": null,
11
+ "description": "Example description.",
12
+ "certificate_format": null,
13
+ "emails": [
14
+ "bob@example.com",
15
+ "alice@example.com"
16
+ ],
17
+ "external_emails": [
18
+ "john@example.com",
19
+ "jane@example.com"
20
+ ],
21
+ "data_available": false
22
+ }