@polyguard/sdk 1.5.0 → 1.5.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 (134) hide show
  1. package/LICENSE +200 -0
  2. package/README.md +328 -0
  3. package/package.json +7 -3
  4. package/coverage/base.css +0 -224
  5. package/coverage/block-navigation.js +0 -87
  6. package/coverage/clover.xml +0 -268
  7. package/coverage/coverage-final.json +0 -8
  8. package/coverage/favicon.png +0 -0
  9. package/coverage/index.html +0 -131
  10. package/coverage/prettify.css +0 -1
  11. package/coverage/prettify.js +0 -2
  12. package/coverage/sort-arrow-sprite.png +0 -0
  13. package/coverage/sorter.js +0 -210
  14. package/coverage/src/PolyguardClient.js.html +0 -160
  15. package/coverage/src/PolyguardWebsocketClientImpl.js.html +0 -634
  16. package/coverage/src/__tests__/helpers/fixtures.js.html +0 -166
  17. package/coverage/src/__tests__/helpers/index.html +0 -131
  18. package/coverage/src/__tests__/helpers/mockWebSocket.js.html +0 -283
  19. package/coverage/src/index.html +0 -176
  20. package/coverage/src/messageHandler.js.html +0 -448
  21. package/coverage/src/ticketService.js.html +0 -157
  22. package/coverage/src/ui.js.html +0 -349
  23. package/dist/sdk.global.js +0 -11256
  24. package/scripts/regenerate-client.sh +0 -59
  25. package/src/PolyguardClient.js +0 -25
  26. package/src/PolyguardWebsocketClientImpl.js +0 -198
  27. package/src/__tests__/PolyguardClient.test.js +0 -65
  28. package/src/__tests__/PolyguardWebsocketClientImpl.test.js +0 -617
  29. package/src/__tests__/helpers/fixtures.js +0 -27
  30. package/src/__tests__/helpers/mockWebSocket.js +0 -66
  31. package/src/__tests__/server.test.js +0 -148
  32. package/src/__tests__/sidebar.test.js +0 -289
  33. package/src/browser.js +0 -9
  34. package/src/generated/.babelrc +0 -33
  35. package/src/generated/.openapi-generator/FILES +0 -63
  36. package/src/generated/.openapi-generator/VERSION +0 -1
  37. package/src/generated/.openapi-generator-ignore +0 -23
  38. package/src/generated/.travis.yml +0 -5
  39. package/src/generated/README.md +0 -211
  40. package/src/generated/docs/ApiControllersPslStirCallRequest.md +0 -18
  41. package/src/generated/docs/ApiModelsApiCallModelsCallRequest.md +0 -12
  42. package/src/generated/docs/AppId.md +0 -8
  43. package/src/generated/docs/AppleApi.md +0 -88
  44. package/src/generated/docs/AuthApi.md +0 -1464
  45. package/src/generated/docs/BlockingApi.md +0 -208
  46. package/src/generated/docs/CallsApi.md +0 -140
  47. package/src/generated/docs/Certainty.md +0 -8
  48. package/src/generated/docs/CreateLinkRequest.md +0 -12
  49. package/src/generated/docs/DefaultApi.md +0 -128
  50. package/src/generated/docs/HTTPValidationError.md +0 -9
  51. package/src/generated/docs/InviteRequestModel.md +0 -10
  52. package/src/generated/docs/JWTRequest.md +0 -11
  53. package/src/generated/docs/LinksApi.md +0 -162
  54. package/src/generated/docs/NumberVerification.md +0 -10
  55. package/src/generated/docs/SdkApi.md +0 -54
  56. package/src/generated/docs/SecureLinksApi.md +0 -614
  57. package/src/generated/docs/StartAttestationRequest.md +0 -9
  58. package/src/generated/docs/StartMeetingRequest.md +0 -9
  59. package/src/generated/docs/StirApi.md +0 -52
  60. package/src/generated/docs/TwilioApi.md +0 -138
  61. package/src/generated/docs/UsersApi.md +0 -362
  62. package/src/generated/docs/ValidationError.md +0 -11
  63. package/src/generated/docs/ValidationErrorLocInner.md +0 -8
  64. package/src/generated/docs/VeriffApi.md +0 -188
  65. package/src/generated/docs/VeriffSessionRequest.md +0 -10
  66. package/src/generated/docs/VerifyRequest.md +0 -10
  67. package/src/generated/docs/WellKnownApi.md +0 -128
  68. package/src/generated/docs/ZoomApi.md +0 -848
  69. package/src/generated/git_push.sh +0 -57
  70. package/src/generated/mocha.opts +0 -1
  71. package/src/generated/package.json +0 -46
  72. package/src/generated/src/ApiClient.js +0 -677
  73. package/src/generated/src/api/AppleApi.js +0 -109
  74. package/src/generated/src/api/AuthApi.js +0 -1512
  75. package/src/generated/src/api/BlockingApi.js +0 -217
  76. package/src/generated/src/api/CallsApi.js +0 -164
  77. package/src/generated/src/api/DefaultApi.js +0 -145
  78. package/src/generated/src/api/LinksApi.js +0 -195
  79. package/src/generated/src/api/SdkApi.js +0 -81
  80. package/src/generated/src/api/SecureLinksApi.js +0 -670
  81. package/src/generated/src/api/StirApi.js +0 -80
  82. package/src/generated/src/api/TwilioApi.js +0 -158
  83. package/src/generated/src/api/UsersApi.js +0 -375
  84. package/src/generated/src/api/VeriffApi.js +0 -209
  85. package/src/generated/src/api/WellKnownApi.js +0 -145
  86. package/src/generated/src/api/ZoomApi.js +0 -823
  87. package/src/generated/src/index.js +0 -244
  88. package/src/generated/src/model/ApiControllersPslStirCallRequest.js +0 -211
  89. package/src/generated/src/model/ApiModelsApiCallModelsCallRequest.js +0 -119
  90. package/src/generated/src/model/CreateLinkRequest.js +0 -131
  91. package/src/generated/src/model/HTTPValidationError.js +0 -94
  92. package/src/generated/src/model/InviteRequestModel.js +0 -109
  93. package/src/generated/src/model/JWTRequest.js +0 -113
  94. package/src/generated/src/model/NumberVerification.js +0 -107
  95. package/src/generated/src/model/StartAttestationRequest.js +0 -95
  96. package/src/generated/src/model/StartMeetingRequest.js +0 -95
  97. package/src/generated/src/model/ValidationError.js +0 -130
  98. package/src/generated/src/model/VeriffSessionRequest.js +0 -107
  99. package/src/generated/src/model/VerifyRequest.js +0 -109
  100. package/src/generated/test/api/AppleApi.spec.js +0 -73
  101. package/src/generated/test/api/AuthApi.spec.js +0 -353
  102. package/src/generated/test/api/BlockingApi.spec.js +0 -103
  103. package/src/generated/test/api/CallsApi.spec.js +0 -83
  104. package/src/generated/test/api/DefaultApi.spec.js +0 -73
  105. package/src/generated/test/api/LinksApi.spec.js +0 -83
  106. package/src/generated/test/api/SdkApi.spec.js +0 -63
  107. package/src/generated/test/api/SecureLinksApi.spec.js +0 -143
  108. package/src/generated/test/api/StirApi.spec.js +0 -63
  109. package/src/generated/test/api/TwilioApi.spec.js +0 -83
  110. package/src/generated/test/api/UsersApi.spec.js +0 -133
  111. package/src/generated/test/api/VeriffApi.spec.js +0 -93
  112. package/src/generated/test/api/WellKnownApi.spec.js +0 -83
  113. package/src/generated/test/api/ZoomApi.spec.js +0 -213
  114. package/src/generated/test/model/ApiControllersPslStirCallRequest.spec.js +0 -119
  115. package/src/generated/test/model/ApiModelsApiCallModelsCallRequest.spec.js +0 -83
  116. package/src/generated/test/model/AppId.spec.js +0 -59
  117. package/src/generated/test/model/Certainty.spec.js +0 -59
  118. package/src/generated/test/model/CreateLinkRequest.spec.js +0 -83
  119. package/src/generated/test/model/HTTPValidationError.spec.js +0 -65
  120. package/src/generated/test/model/InviteRequestModel.spec.js +0 -71
  121. package/src/generated/test/model/JWTRequest.spec.js +0 -77
  122. package/src/generated/test/model/NumberVerification.spec.js +0 -71
  123. package/src/generated/test/model/StartAttestationRequest.spec.js +0 -65
  124. package/src/generated/test/model/StartMeetingRequest.spec.js +0 -65
  125. package/src/generated/test/model/ValidationError.spec.js +0 -77
  126. package/src/generated/test/model/ValidationErrorLocInner.spec.js +0 -59
  127. package/src/generated/test/model/VeriffSessionRequest.spec.js +0 -71
  128. package/src/generated/test/model/VerifyRequest.spec.js +0 -71
  129. package/src/index.js +0 -16
  130. package/src/messageHandler.js +0 -121
  131. package/src/server.js +0 -91
  132. package/src/ticketService.js +0 -28
  133. package/src/ui.js +0 -88
  134. package/vitest.config.js +0 -10
@@ -1,217 +0,0 @@
1
- /**
2
- * FastAPI
3
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
- *
5
- * The version of the OpenAPI document: 0.1.0
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- *
12
- */
13
-
14
-
15
- import ApiClient from "../ApiClient";
16
-
17
- /**
18
- * Blocking service.
19
- * @module api/BlockingApi
20
- * @version 0.1.0
21
- */
22
- export default class BlockingApi {
23
-
24
- /**
25
- * Constructs a new BlockingApi.
26
- * @alias module:api/BlockingApi
27
- * @class
28
- * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
29
- * default to {@link module:ApiClient#instance} if unspecified.
30
- */
31
- constructor(apiClient) {
32
- this.apiClient = apiClient || ApiClient.instance;
33
- }
34
-
35
-
36
- /**
37
- * Callback function to receive the result of the ftcDeleteBlockingFtcDelete operation.
38
- * @callback module:api/BlockingApi~ftcDeleteBlockingFtcDeleteCallback
39
- * @param {String} error Error message, if any.
40
- * @param {Object} data The data returned by the service call.
41
- * @param {String} response The complete HTTP response.
42
- */
43
-
44
- /**
45
- * Ftc Delete
46
- * @param {module:api/BlockingApi~ftcDeleteBlockingFtcDeleteCallback} callback The callback function, accepting three arguments: error, data, response
47
- * data is of type: {@link Object}
48
- */
49
- ftcDeleteBlockingFtcDelete(callback) {
50
- let postBody = null;
51
-
52
- let pathParams = {
53
- };
54
- let queryParams = {
55
- };
56
- let headerParams = {
57
- };
58
- let formParams = {
59
- };
60
-
61
- let authNames = [];
62
- let contentTypes = [];
63
- let accepts = ['application/json'];
64
- let returnType = Object;
65
- return this.apiClient.callApi(
66
- '/blocking/ftc', 'DELETE',
67
- pathParams, queryParams, headerParams, formParams, postBody,
68
- authNames, contentTypes, accepts, returnType, null, callback
69
- );
70
- }
71
-
72
- /**
73
- * Callback function to receive the result of the ftcPullBlockingFtcpullPost operation.
74
- * @callback module:api/BlockingApi~ftcPullBlockingFtcpullPostCallback
75
- * @param {String} error Error message, if any.
76
- * @param {Object} data The data returned by the service call.
77
- * @param {String} response The complete HTTP response.
78
- */
79
-
80
- /**
81
- * Ftc Pull
82
- * @param {module:api/BlockingApi~ftcPullBlockingFtcpullPostCallback} callback The callback function, accepting three arguments: error, data, response
83
- * data is of type: {@link Object}
84
- */
85
- ftcPullBlockingFtcpullPost(callback) {
86
- let postBody = null;
87
-
88
- let pathParams = {
89
- };
90
- let queryParams = {
91
- };
92
- let headerParams = {
93
- };
94
- let formParams = {
95
- };
96
-
97
- let authNames = [];
98
- let contentTypes = [];
99
- let accepts = ['application/json'];
100
- let returnType = Object;
101
- return this.apiClient.callApi(
102
- '/blocking/ftcpull', 'POST',
103
- pathParams, queryParams, headerParams, formParams, postBody,
104
- authNames, contentTypes, accepts, returnType, null, callback
105
- );
106
- }
107
-
108
- /**
109
- * Callback function to receive the result of the fullReportBlockingFullreportGet operation.
110
- * @callback module:api/BlockingApi~fullReportBlockingFullreportGetCallback
111
- * @param {String} error Error message, if any.
112
- * @param {Object} data The data returned by the service call.
113
- * @param {String} response The complete HTTP response.
114
- */
115
-
116
- /**
117
- * Full Report
118
- * @param {module:api/BlockingApi~fullReportBlockingFullreportGetCallback} callback The callback function, accepting three arguments: error, data, response
119
- * data is of type: {@link Object}
120
- */
121
- fullReportBlockingFullreportGet(callback) {
122
- let postBody = null;
123
-
124
- let pathParams = {
125
- };
126
- let queryParams = {
127
- };
128
- let headerParams = {
129
- };
130
- let formParams = {
131
- };
132
-
133
- let authNames = [];
134
- let contentTypes = [];
135
- let accepts = ['application/json'];
136
- let returnType = Object;
137
- return this.apiClient.callApi(
138
- '/blocking/fullreport', 'GET',
139
- pathParams, queryParams, headerParams, formParams, postBody,
140
- authNames, contentTypes, accepts, returnType, null, callback
141
- );
142
- }
143
-
144
- /**
145
- * Callback function to receive the result of the fullReportBlockingFullreportPost operation.
146
- * @callback module:api/BlockingApi~fullReportBlockingFullreportPostCallback
147
- * @param {String} error Error message, if any.
148
- * @param {Object} data The data returned by the service call.
149
- * @param {String} response The complete HTTP response.
150
- */
151
-
152
- /**
153
- * Full Report
154
- * @param {module:api/BlockingApi~fullReportBlockingFullreportPostCallback} callback The callback function, accepting three arguments: error, data, response
155
- * data is of type: {@link Object}
156
- */
157
- fullReportBlockingFullreportPost(callback) {
158
- let postBody = null;
159
-
160
- let pathParams = {
161
- };
162
- let queryParams = {
163
- };
164
- let headerParams = {
165
- };
166
- let formParams = {
167
- };
168
-
169
- let authNames = [];
170
- let contentTypes = [];
171
- let accepts = ['application/json'];
172
- let returnType = Object;
173
- return this.apiClient.callApi(
174
- '/blocking/fullreport', 'POST',
175
- pathParams, queryParams, headerParams, formParams, postBody,
176
- authNames, contentTypes, accepts, returnType, null, callback
177
- );
178
- }
179
-
180
- /**
181
- * Callback function to receive the result of the fullReportHeadBlockingFullreportHead operation.
182
- * @callback module:api/BlockingApi~fullReportHeadBlockingFullreportHeadCallback
183
- * @param {String} error Error message, if any.
184
- * @param {Object} data The data returned by the service call.
185
- * @param {String} response The complete HTTP response.
186
- */
187
-
188
- /**
189
- * Full Report Head
190
- * @param {module:api/BlockingApi~fullReportHeadBlockingFullreportHeadCallback} callback The callback function, accepting three arguments: error, data, response
191
- * data is of type: {@link Object}
192
- */
193
- fullReportHeadBlockingFullreportHead(callback) {
194
- let postBody = null;
195
-
196
- let pathParams = {
197
- };
198
- let queryParams = {
199
- };
200
- let headerParams = {
201
- };
202
- let formParams = {
203
- };
204
-
205
- let authNames = [];
206
- let contentTypes = [];
207
- let accepts = ['application/json'];
208
- let returnType = Object;
209
- return this.apiClient.callApi(
210
- '/blocking/fullreport', 'HEAD',
211
- pathParams, queryParams, headerParams, formParams, postBody,
212
- authNames, contentTypes, accepts, returnType, null, callback
213
- );
214
- }
215
-
216
-
217
- }
@@ -1,164 +0,0 @@
1
- /**
2
- * FastAPI
3
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
- *
5
- * The version of the OpenAPI document: 0.1.0
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- *
12
- */
13
-
14
-
15
- import ApiClient from "../ApiClient";
16
- import ApiModelsApiCallModelsCallRequest from '../model/ApiModelsApiCallModelsCallRequest';
17
- import HTTPValidationError from '../model/HTTPValidationError';
18
-
19
- /**
20
- * Calls service.
21
- * @module api/CallsApi
22
- * @version 0.1.0
23
- */
24
- export default class CallsApi {
25
-
26
- /**
27
- * Constructs a new CallsApi.
28
- * @alias module:api/CallsApi
29
- * @class
30
- * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
31
- * default to {@link module:ApiClient#instance} if unspecified.
32
- */
33
- constructor(apiClient) {
34
- this.apiClient = apiClient || ApiClient.instance;
35
- }
36
-
37
-
38
- /**
39
- * Callback function to receive the result of the cancelCallCancelCallCallIdPost operation.
40
- * @callback module:api/CallsApi~cancelCallCancelCallCallIdPostCallback
41
- * @param {String} error Error message, if any.
42
- * @param {Object} data The data returned by the service call.
43
- * @param {String} response The complete HTTP response.
44
- */
45
-
46
- /**
47
- * Cancel Call
48
- * @param {String} callId
49
- * @param {module:api/CallsApi~cancelCallCancelCallCallIdPostCallback} callback The callback function, accepting three arguments: error, data, response
50
- * data is of type: {@link Object}
51
- */
52
- cancelCallCancelCallCallIdPost(callId, callback) {
53
- let postBody = null;
54
- // verify the required parameter 'callId' is set
55
- if (callId === undefined || callId === null) {
56
- throw new Error("Missing the required parameter 'callId' when calling cancelCallCancelCallCallIdPost");
57
- }
58
-
59
- let pathParams = {
60
- 'call_id': callId
61
- };
62
- let queryParams = {
63
- };
64
- let headerParams = {
65
- };
66
- let formParams = {
67
- };
68
-
69
- let authNames = [];
70
- let contentTypes = [];
71
- let accepts = ['application/json'];
72
- let returnType = Object;
73
- return this.apiClient.callApi(
74
- '/cancel_call/{call_id}', 'POST',
75
- pathParams, queryParams, headerParams, formParams, postBody,
76
- authNames, contentTypes, accepts, returnType, null, callback
77
- );
78
- }
79
-
80
- /**
81
- * Callback function to receive the result of the joinCallJoinCallCallIdPost operation.
82
- * @callback module:api/CallsApi~joinCallJoinCallCallIdPostCallback
83
- * @param {String} error Error message, if any.
84
- * @param {Object} data The data returned by the service call.
85
- * @param {String} response The complete HTTP response.
86
- */
87
-
88
- /**
89
- * Join Call
90
- * @param {String} callId
91
- * @param {module:api/CallsApi~joinCallJoinCallCallIdPostCallback} callback The callback function, accepting three arguments: error, data, response
92
- * data is of type: {@link Object}
93
- */
94
- joinCallJoinCallCallIdPost(callId, callback) {
95
- let postBody = null;
96
- // verify the required parameter 'callId' is set
97
- if (callId === undefined || callId === null) {
98
- throw new Error("Missing the required parameter 'callId' when calling joinCallJoinCallCallIdPost");
99
- }
100
-
101
- let pathParams = {
102
- 'call_id': callId
103
- };
104
- let queryParams = {
105
- };
106
- let headerParams = {
107
- };
108
- let formParams = {
109
- };
110
-
111
- let authNames = [];
112
- let contentTypes = [];
113
- let accepts = ['application/json'];
114
- let returnType = Object;
115
- return this.apiClient.callApi(
116
- '/join_call/{call_id}', 'POST',
117
- pathParams, queryParams, headerParams, formParams, postBody,
118
- authNames, contentTypes, accepts, returnType, null, callback
119
- );
120
- }
121
-
122
- /**
123
- * Callback function to receive the result of the startCallStartCallPost operation.
124
- * @callback module:api/CallsApi~startCallStartCallPostCallback
125
- * @param {String} error Error message, if any.
126
- * @param {Object} data The data returned by the service call.
127
- * @param {String} response The complete HTTP response.
128
- */
129
-
130
- /**
131
- * Start Call
132
- * @param {module:model/ApiModelsApiCallModelsCallRequest} apiModelsApiCallModelsCallRequest
133
- * @param {module:api/CallsApi~startCallStartCallPostCallback} callback The callback function, accepting three arguments: error, data, response
134
- * data is of type: {@link Object}
135
- */
136
- startCallStartCallPost(apiModelsApiCallModelsCallRequest, callback) {
137
- let postBody = apiModelsApiCallModelsCallRequest;
138
- // verify the required parameter 'apiModelsApiCallModelsCallRequest' is set
139
- if (apiModelsApiCallModelsCallRequest === undefined || apiModelsApiCallModelsCallRequest === null) {
140
- throw new Error("Missing the required parameter 'apiModelsApiCallModelsCallRequest' when calling startCallStartCallPost");
141
- }
142
-
143
- let pathParams = {
144
- };
145
- let queryParams = {
146
- };
147
- let headerParams = {
148
- };
149
- let formParams = {
150
- };
151
-
152
- let authNames = [];
153
- let contentTypes = ['application/json'];
154
- let accepts = ['application/json'];
155
- let returnType = Object;
156
- return this.apiClient.callApi(
157
- '/start_call/', 'POST',
158
- pathParams, queryParams, headerParams, formParams, postBody,
159
- authNames, contentTypes, accepts, returnType, null, callback
160
- );
161
- }
162
-
163
-
164
- }
@@ -1,145 +0,0 @@
1
- /**
2
- * FastAPI
3
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
- *
5
- * The version of the OpenAPI document: 0.1.0
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- *
12
- */
13
-
14
-
15
- import ApiClient from "../ApiClient";
16
-
17
- /**
18
- * Default service.
19
- * @module api/DefaultApi
20
- * @version 0.1.0
21
- */
22
- export default class DefaultApi {
23
-
24
- /**
25
- * Constructs a new DefaultApi.
26
- * @alias module:api/DefaultApi
27
- * @class
28
- * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
29
- * default to {@link module:ApiClient#instance} if unspecified.
30
- */
31
- constructor(apiClient) {
32
- this.apiClient = apiClient || ApiClient.instance;
33
- }
34
-
35
-
36
- /**
37
- * Callback function to receive the result of the getApplicationsApplicationsGet operation.
38
- * @callback module:api/DefaultApi~getApplicationsApplicationsGetCallback
39
- * @param {String} error Error message, if any.
40
- * @param {Object} data The data returned by the service call.
41
- * @param {String} response The complete HTTP response.
42
- */
43
-
44
- /**
45
- * Get Applications
46
- * @param {module:api/DefaultApi~getApplicationsApplicationsGetCallback} callback The callback function, accepting three arguments: error, data, response
47
- * data is of type: {@link Object}
48
- */
49
- getApplicationsApplicationsGet(callback) {
50
- let postBody = null;
51
-
52
- let pathParams = {
53
- };
54
- let queryParams = {
55
- };
56
- let headerParams = {
57
- };
58
- let formParams = {
59
- };
60
-
61
- let authNames = [];
62
- let contentTypes = [];
63
- let accepts = ['application/json'];
64
- let returnType = Object;
65
- return this.apiClient.callApi(
66
- '/applications', 'GET',
67
- pathParams, queryParams, headerParams, formParams, postBody,
68
- authNames, contentTypes, accepts, returnType, null, callback
69
- );
70
- }
71
-
72
- /**
73
- * Callback function to receive the result of the rootGet operation.
74
- * @callback module:api/DefaultApi~rootGetCallback
75
- * @param {String} error Error message, if any.
76
- * @param {Object} data The data returned by the service call.
77
- * @param {String} response The complete HTTP response.
78
- */
79
-
80
- /**
81
- * Root
82
- * @param {module:api/DefaultApi~rootGetCallback} callback The callback function, accepting three arguments: error, data, response
83
- * data is of type: {@link Object}
84
- */
85
- rootGet(callback) {
86
- let postBody = null;
87
-
88
- let pathParams = {
89
- };
90
- let queryParams = {
91
- };
92
- let headerParams = {
93
- };
94
- let formParams = {
95
- };
96
-
97
- let authNames = [];
98
- let contentTypes = [];
99
- let accepts = ['application/json'];
100
- let returnType = Object;
101
- return this.apiClient.callApi(
102
- '/', 'GET',
103
- pathParams, queryParams, headerParams, formParams, postBody,
104
- authNames, contentTypes, accepts, returnType, null, callback
105
- );
106
- }
107
-
108
- /**
109
- * Callback function to receive the result of the rootHealthGet operation.
110
- * @callback module:api/DefaultApi~rootHealthGetCallback
111
- * @param {String} error Error message, if any.
112
- * @param {Object} data The data returned by the service call.
113
- * @param {String} response The complete HTTP response.
114
- */
115
-
116
- /**
117
- * Root
118
- * @param {module:api/DefaultApi~rootHealthGetCallback} callback The callback function, accepting three arguments: error, data, response
119
- * data is of type: {@link Object}
120
- */
121
- rootHealthGet(callback) {
122
- let postBody = null;
123
-
124
- let pathParams = {
125
- };
126
- let queryParams = {
127
- };
128
- let headerParams = {
129
- };
130
- let formParams = {
131
- };
132
-
133
- let authNames = [];
134
- let contentTypes = [];
135
- let accepts = ['application/json'];
136
- let returnType = Object;
137
- return this.apiClient.callApi(
138
- '/health', 'GET',
139
- pathParams, queryParams, headerParams, formParams, postBody,
140
- authNames, contentTypes, accepts, returnType, null, callback
141
- );
142
- }
143
-
144
-
145
- }