@polyguard/sdk 1.4.2 → 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.
- package/LICENSE +200 -0
- package/README.md +328 -0
- package/dist/sdk.esm.js +16 -4
- package/dist/sdk.js +16 -4
- package/dist/server.esm.js +83 -0
- package/package.json +14 -3
- package/dist/sdk.global.js +0 -11256
- package/scripts/regenerate-client.sh +0 -59
- package/src/PolyguardClient.js +0 -25
- package/src/PolyguardWebsocketClientImpl.js +0 -183
- package/src/__tests__/PolyguardClient.test.js +0 -65
- package/src/__tests__/PolyguardWebsocketClientImpl.test.js +0 -574
- package/src/__tests__/helpers/fixtures.js +0 -27
- package/src/__tests__/helpers/mockWebSocket.js +0 -66
- package/src/__tests__/sidebar.test.js +0 -289
- package/src/browser.js +0 -9
- package/src/generated/.babelrc +0 -33
- package/src/generated/.openapi-generator/FILES +0 -63
- package/src/generated/.openapi-generator/VERSION +0 -1
- package/src/generated/.openapi-generator-ignore +0 -23
- package/src/generated/.travis.yml +0 -5
- package/src/generated/README.md +0 -211
- package/src/generated/docs/ApiControllersPslStirCallRequest.md +0 -18
- package/src/generated/docs/ApiModelsApiCallModelsCallRequest.md +0 -12
- package/src/generated/docs/AppId.md +0 -8
- package/src/generated/docs/AppleApi.md +0 -88
- package/src/generated/docs/AuthApi.md +0 -1464
- package/src/generated/docs/BlockingApi.md +0 -208
- package/src/generated/docs/CallsApi.md +0 -140
- package/src/generated/docs/Certainty.md +0 -8
- package/src/generated/docs/CreateLinkRequest.md +0 -12
- package/src/generated/docs/DefaultApi.md +0 -128
- package/src/generated/docs/HTTPValidationError.md +0 -9
- package/src/generated/docs/InviteRequestModel.md +0 -10
- package/src/generated/docs/JWTRequest.md +0 -11
- package/src/generated/docs/LinksApi.md +0 -162
- package/src/generated/docs/NumberVerification.md +0 -10
- package/src/generated/docs/SdkApi.md +0 -54
- package/src/generated/docs/SecureLinksApi.md +0 -614
- package/src/generated/docs/StartAttestationRequest.md +0 -9
- package/src/generated/docs/StartMeetingRequest.md +0 -9
- package/src/generated/docs/StirApi.md +0 -52
- package/src/generated/docs/TwilioApi.md +0 -138
- package/src/generated/docs/UsersApi.md +0 -362
- package/src/generated/docs/ValidationError.md +0 -11
- package/src/generated/docs/ValidationErrorLocInner.md +0 -8
- package/src/generated/docs/VeriffApi.md +0 -188
- package/src/generated/docs/VeriffSessionRequest.md +0 -10
- package/src/generated/docs/VerifyRequest.md +0 -10
- package/src/generated/docs/WellKnownApi.md +0 -128
- package/src/generated/docs/ZoomApi.md +0 -848
- package/src/generated/git_push.sh +0 -57
- package/src/generated/mocha.opts +0 -1
- package/src/generated/package.json +0 -46
- package/src/generated/src/ApiClient.js +0 -677
- package/src/generated/src/api/AppleApi.js +0 -109
- package/src/generated/src/api/AuthApi.js +0 -1512
- package/src/generated/src/api/BlockingApi.js +0 -217
- package/src/generated/src/api/CallsApi.js +0 -164
- package/src/generated/src/api/DefaultApi.js +0 -145
- package/src/generated/src/api/LinksApi.js +0 -195
- package/src/generated/src/api/SdkApi.js +0 -81
- package/src/generated/src/api/SecureLinksApi.js +0 -670
- package/src/generated/src/api/StirApi.js +0 -80
- package/src/generated/src/api/TwilioApi.js +0 -158
- package/src/generated/src/api/UsersApi.js +0 -375
- package/src/generated/src/api/VeriffApi.js +0 -209
- package/src/generated/src/api/WellKnownApi.js +0 -145
- package/src/generated/src/api/ZoomApi.js +0 -823
- package/src/generated/src/index.js +0 -244
- package/src/generated/src/model/ApiControllersPslStirCallRequest.js +0 -211
- package/src/generated/src/model/ApiModelsApiCallModelsCallRequest.js +0 -119
- package/src/generated/src/model/CreateLinkRequest.js +0 -131
- package/src/generated/src/model/HTTPValidationError.js +0 -94
- package/src/generated/src/model/InviteRequestModel.js +0 -109
- package/src/generated/src/model/JWTRequest.js +0 -113
- package/src/generated/src/model/NumberVerification.js +0 -107
- package/src/generated/src/model/StartAttestationRequest.js +0 -95
- package/src/generated/src/model/StartMeetingRequest.js +0 -95
- package/src/generated/src/model/ValidationError.js +0 -130
- package/src/generated/src/model/VeriffSessionRequest.js +0 -107
- package/src/generated/src/model/VerifyRequest.js +0 -109
- package/src/generated/test/api/AppleApi.spec.js +0 -73
- package/src/generated/test/api/AuthApi.spec.js +0 -353
- package/src/generated/test/api/BlockingApi.spec.js +0 -103
- package/src/generated/test/api/CallsApi.spec.js +0 -83
- package/src/generated/test/api/DefaultApi.spec.js +0 -73
- package/src/generated/test/api/LinksApi.spec.js +0 -83
- package/src/generated/test/api/SdkApi.spec.js +0 -63
- package/src/generated/test/api/SecureLinksApi.spec.js +0 -143
- package/src/generated/test/api/StirApi.spec.js +0 -63
- package/src/generated/test/api/TwilioApi.spec.js +0 -83
- package/src/generated/test/api/UsersApi.spec.js +0 -133
- package/src/generated/test/api/VeriffApi.spec.js +0 -93
- package/src/generated/test/api/WellKnownApi.spec.js +0 -83
- package/src/generated/test/api/ZoomApi.spec.js +0 -213
- package/src/generated/test/model/ApiControllersPslStirCallRequest.spec.js +0 -119
- package/src/generated/test/model/ApiModelsApiCallModelsCallRequest.spec.js +0 -83
- package/src/generated/test/model/AppId.spec.js +0 -59
- package/src/generated/test/model/Certainty.spec.js +0 -59
- package/src/generated/test/model/CreateLinkRequest.spec.js +0 -83
- package/src/generated/test/model/HTTPValidationError.spec.js +0 -65
- package/src/generated/test/model/InviteRequestModel.spec.js +0 -71
- package/src/generated/test/model/JWTRequest.spec.js +0 -77
- package/src/generated/test/model/NumberVerification.spec.js +0 -71
- package/src/generated/test/model/StartAttestationRequest.spec.js +0 -65
- package/src/generated/test/model/StartMeetingRequest.spec.js +0 -65
- package/src/generated/test/model/ValidationError.spec.js +0 -77
- package/src/generated/test/model/ValidationErrorLocInner.spec.js +0 -59
- package/src/generated/test/model/VeriffSessionRequest.spec.js +0 -71
- package/src/generated/test/model/VerifyRequest.spec.js +0 -71
- package/src/index.js +0 -16
- package/src/messageHandler.js +0 -121
- package/src/ticketService.js +0 -24
- package/src/ui.js +0 -88
- 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
|
-
}
|