@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,823 +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 HTTPValidationError from '../model/HTTPValidationError';
17
- import JWTRequest from '../model/JWTRequest';
18
- import StartMeetingRequest from '../model/StartMeetingRequest';
19
-
20
- /**
21
- * Zoom service.
22
- * @module api/ZoomApi
23
- * @version 0.1.0
24
- */
25
- export default class ZoomApi {
26
-
27
- /**
28
- * Constructs a new ZoomApi.
29
- * @alias module:api/ZoomApi
30
- * @class
31
- * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
32
- * default to {@link module:ApiClient#instance} if unspecified.
33
- */
34
- constructor(apiClient) {
35
- this.apiClient = apiClient || ApiClient.instance;
36
- }
37
-
38
-
39
- /**
40
- * Callback function to receive the result of the cookietestCookietestGet operation.
41
- * @callback module:api/ZoomApi~cookietestCookietestGetCallback
42
- * @param {String} error Error message, if any.
43
- * @param {Object} data The data returned by the service call.
44
- * @param {String} response The complete HTTP response.
45
- */
46
-
47
- /**
48
- * Cookietest
49
- * @param {module:api/ZoomApi~cookietestCookietestGetCallback} callback The callback function, accepting three arguments: error, data, response
50
- * data is of type: {@link Object}
51
- */
52
- cookietestCookietestGet(callback) {
53
- let postBody = null;
54
-
55
- let pathParams = {
56
- };
57
- let queryParams = {
58
- };
59
- let headerParams = {
60
- };
61
- let formParams = {
62
- };
63
-
64
- let authNames = [];
65
- let contentTypes = [];
66
- let accepts = ['application/json'];
67
- let returnType = Object;
68
- return this.apiClient.callApi(
69
- '/cookietest', 'GET',
70
- pathParams, queryParams, headerParams, formParams, postBody,
71
- authNames, contentTypes, accepts, returnType, null, callback
72
- );
73
- }
74
-
75
- /**
76
- * Callback function to receive the result of the generateMeetingReportZoomPhoneReportsMeetingPost operation.
77
- * @callback module:api/ZoomApi~generateMeetingReportZoomPhoneReportsMeetingPostCallback
78
- * @param {String} error Error message, if any.
79
- * @param {Object} data The data returned by the service call.
80
- * @param {String} response The complete HTTP response.
81
- */
82
-
83
- /**
84
- * Generate Meeting Report
85
- * Generate a PDF report for a meeting by collecting event data from S3.
86
- * @param {module:api/ZoomApi~generateMeetingReportZoomPhoneReportsMeetingPostCallback} callback The callback function, accepting three arguments: error, data, response
87
- * data is of type: {@link Object}
88
- */
89
- generateMeetingReportZoomPhoneReportsMeetingPost(callback) {
90
- let postBody = null;
91
-
92
- let pathParams = {
93
- };
94
- let queryParams = {
95
- };
96
- let headerParams = {
97
- };
98
- let formParams = {
99
- };
100
-
101
- let authNames = [];
102
- let contentTypes = [];
103
- let accepts = ['application/json'];
104
- let returnType = Object;
105
- return this.apiClient.callApi(
106
- '/zoom-phone/reports/meeting', 'POST',
107
- pathParams, queryParams, headerParams, formParams, postBody,
108
- authNames, contentTypes, accepts, returnType, null, callback
109
- );
110
- }
111
-
112
- /**
113
- * Callback function to receive the result of the getMeetingDetailsZoomPhoneLogsMeetingDetailsPost operation.
114
- * @callback module:api/ZoomApi~getMeetingDetailsZoomPhoneLogsMeetingDetailsPostCallback
115
- * @param {String} error Error message, if any.
116
- * @param {Object} data The data returned by the service call.
117
- * @param {String} response The complete HTTP response.
118
- */
119
-
120
- /**
121
- * Get Meeting Details
122
- * Get detailed information about a specific meeting including participants and other metadata.
123
- * @param {module:api/ZoomApi~getMeetingDetailsZoomPhoneLogsMeetingDetailsPostCallback} callback The callback function, accepting three arguments: error, data, response
124
- * data is of type: {@link Object}
125
- */
126
- getMeetingDetailsZoomPhoneLogsMeetingDetailsPost(callback) {
127
- let postBody = null;
128
-
129
- let pathParams = {
130
- };
131
- let queryParams = {
132
- };
133
- let headerParams = {
134
- };
135
- let formParams = {
136
- };
137
-
138
- let authNames = [];
139
- let contentTypes = [];
140
- let accepts = ['application/json'];
141
- let returnType = Object;
142
- return this.apiClient.callApi(
143
- '/zoom-phone/logs/meeting/details', 'POST',
144
- pathParams, queryParams, headerParams, formParams, postBody,
145
- authNames, contentTypes, accepts, returnType, null, callback
146
- );
147
- }
148
-
149
- /**
150
- * Callback function to receive the result of the getTicketZoomPhoneTicketAccountIdPost operation.
151
- * @callback module:api/ZoomApi~getTicketZoomPhoneTicketAccountIdPostCallback
152
- * @param {String} error Error message, if any.
153
- * @param {Object} data The data returned by the service call.
154
- * @param {String} response The complete HTTP response.
155
- */
156
-
157
- /**
158
- * Get Ticket
159
- * Get a ticket for the given account ID and uid for webhook startup.
160
- * @param {String} accountId
161
- * @param {Object} opts Optional parameters
162
- * @param {String} [clientSecret = 'ARlaFJJRMWLexEnPW4AtkCmHmerOaIGc')]
163
- * @param {String} [clientId = 'qxzT5xZCRmCDnvUqbnqHtw')]
164
- * @param {module:api/ZoomApi~getTicketZoomPhoneTicketAccountIdPostCallback} callback The callback function, accepting three arguments: error, data, response
165
- * data is of type: {@link Object}
166
- */
167
- getTicketZoomPhoneTicketAccountIdPost(accountId, opts, callback) {
168
- opts = opts || {};
169
- let postBody = null;
170
- // verify the required parameter 'accountId' is set
171
- if (accountId === undefined || accountId === null) {
172
- throw new Error("Missing the required parameter 'accountId' when calling getTicketZoomPhoneTicketAccountIdPost");
173
- }
174
-
175
- let pathParams = {
176
- 'account_id': accountId
177
- };
178
- let queryParams = {
179
- 'client_secret': opts['clientSecret'],
180
- 'client_id': opts['clientId']
181
- };
182
- let headerParams = {
183
- };
184
- let formParams = {
185
- };
186
-
187
- let authNames = [];
188
- let contentTypes = [];
189
- let accepts = ['application/json'];
190
- let returnType = Object;
191
- return this.apiClient.callApi(
192
- '/zoom-phone/ticket/{account_id}', 'POST',
193
- pathParams, queryParams, headerParams, formParams, postBody,
194
- authNames, contentTypes, accepts, returnType, null, callback
195
- );
196
- }
197
-
198
- /**
199
- * Callback function to receive the result of the getUserLogsZoomPhoneLogsPolyUserIdGet operation.
200
- * @callback module:api/ZoomApi~getUserLogsZoomPhoneLogsPolyUserIdGetCallback
201
- * @param {String} error Error message, if any.
202
- * @param {Object} data The data returned by the service call.
203
- * @param {String} response The complete HTTP response.
204
- */
205
-
206
- /**
207
- * Get User Logs
208
- * Get meeting and call logs for a specific user with pagination.
209
- * @param {String} polyUserId Polyguard user ID
210
- * @param {Object} opts Optional parameters
211
- * @param {Number} [page = 1)] Page number, starting from 1
212
- * @param {Number} [pageSize = 10)] Number of records per page
213
- * @param {module:api/ZoomApi~getUserLogsZoomPhoneLogsPolyUserIdGetCallback} callback The callback function, accepting three arguments: error, data, response
214
- * data is of type: {@link Object}
215
- */
216
- getUserLogsZoomPhoneLogsPolyUserIdGet(polyUserId, opts, callback) {
217
- opts = opts || {};
218
- let postBody = null;
219
- // verify the required parameter 'polyUserId' is set
220
- if (polyUserId === undefined || polyUserId === null) {
221
- throw new Error("Missing the required parameter 'polyUserId' when calling getUserLogsZoomPhoneLogsPolyUserIdGet");
222
- }
223
-
224
- let pathParams = {
225
- 'poly_user_id': polyUserId
226
- };
227
- let queryParams = {
228
- 'page': opts['page'],
229
- 'page_size': opts['pageSize']
230
- };
231
- let headerParams = {
232
- };
233
- let formParams = {
234
- };
235
-
236
- let authNames = [];
237
- let contentTypes = [];
238
- let accepts = ['application/json'];
239
- let returnType = Object;
240
- return this.apiClient.callApi(
241
- '/zoom-phone/logs/{poly_user_id}', 'GET',
242
- pathParams, queryParams, headerParams, formParams, postBody,
243
- authNames, contentTypes, accepts, returnType, null, callback
244
- );
245
- }
246
-
247
- /**
248
- * Callback function to receive the result of the meetingJwtMeetingjwtPost operation.
249
- * @callback module:api/ZoomApi~meetingJwtMeetingjwtPostCallback
250
- * @param {String} error Error message, if any.
251
- * @param {Object} data The data returned by the service call.
252
- * @param {String} response The complete HTTP response.
253
- */
254
-
255
- /**
256
- * Meeting Jwt
257
- * @param {module:model/JWTRequest} jWTRequest
258
- * @param {module:api/ZoomApi~meetingJwtMeetingjwtPostCallback} callback The callback function, accepting three arguments: error, data, response
259
- * data is of type: {@link Object}
260
- */
261
- meetingJwtMeetingjwtPost(jWTRequest, callback) {
262
- let postBody = jWTRequest;
263
- // verify the required parameter 'jWTRequest' is set
264
- if (jWTRequest === undefined || jWTRequest === null) {
265
- throw new Error("Missing the required parameter 'jWTRequest' when calling meetingJwtMeetingjwtPost");
266
- }
267
-
268
- let pathParams = {
269
- };
270
- let queryParams = {
271
- };
272
- let headerParams = {
273
- };
274
- let formParams = {
275
- };
276
-
277
- let authNames = [];
278
- let contentTypes = ['application/json'];
279
- let accepts = ['application/json'];
280
- let returnType = Object;
281
- return this.apiClient.callApi(
282
- '/meetingjwt', 'POST',
283
- pathParams, queryParams, headerParams, formParams, postBody,
284
- authNames, contentTypes, accepts, returnType, null, callback
285
- );
286
- }
287
-
288
- /**
289
- * Callback function to receive the result of the pgGetMeetingDetailsV2ZoomMeetingMeetingUuidGet operation.
290
- * @callback module:api/ZoomApi~pgGetMeetingDetailsV2ZoomMeetingMeetingUuidGetCallback
291
- * @param {String} error Error message, if any.
292
- * @param {Object} data The data returned by the service call.
293
- * @param {String} response The complete HTTP response.
294
- */
295
-
296
- /**
297
- * Pg Get Meeting Details
298
- * @param {String} meetingUuid
299
- * @param {Object} opts Optional parameters
300
- * @param {String} [clientSecret = 'ARlaFJJRMWLexEnPW4AtkCmHmerOaIGc')]
301
- * @param {String} [clientId = 'qxzT5xZCRmCDnvUqbnqHtw')]
302
- * @param {module:api/ZoomApi~pgGetMeetingDetailsV2ZoomMeetingMeetingUuidGetCallback} callback The callback function, accepting three arguments: error, data, response
303
- * data is of type: {@link Object}
304
- */
305
- pgGetMeetingDetailsV2ZoomMeetingMeetingUuidGet(meetingUuid, opts, callback) {
306
- opts = opts || {};
307
- let postBody = null;
308
- // verify the required parameter 'meetingUuid' is set
309
- if (meetingUuid === undefined || meetingUuid === null) {
310
- throw new Error("Missing the required parameter 'meetingUuid' when calling pgGetMeetingDetailsV2ZoomMeetingMeetingUuidGet");
311
- }
312
-
313
- let pathParams = {
314
- 'meeting_uuid': meetingUuid
315
- };
316
- let queryParams = {
317
- 'client_secret': opts['clientSecret'],
318
- 'client_id': opts['clientId']
319
- };
320
- let headerParams = {
321
- };
322
- let formParams = {
323
- };
324
-
325
- let authNames = [];
326
- let contentTypes = [];
327
- let accepts = ['application/json'];
328
- let returnType = Object;
329
- return this.apiClient.callApi(
330
- '/v2/zoom/meeting/{meeting_uuid}', 'GET',
331
- pathParams, queryParams, headerParams, formParams, postBody,
332
- authNames, contentTypes, accepts, returnType, null, callback
333
- );
334
- }
335
-
336
- /**
337
- * Callback function to receive the result of the pgStartZoomMeetingV2ZoomStartAppIdLinkUuidPost operation.
338
- * @callback module:api/ZoomApi~pgStartZoomMeetingV2ZoomStartAppIdLinkUuidPostCallback
339
- * @param {String} error Error message, if any.
340
- * @param {Object} data The data returned by the service call.
341
- * @param {String} response The complete HTTP response.
342
- */
343
-
344
- /**
345
- * Pg Start Zoom Meeting
346
- * @param {String} appId
347
- * @param {String} linkUuid
348
- * @param {module:model/StartMeetingRequest} startMeetingRequest
349
- * @param {Object} opts Optional parameters
350
- * @param {String} [clientSecret = 'ARlaFJJRMWLexEnPW4AtkCmHmerOaIGc')]
351
- * @param {String} [clientId = 'qxzT5xZCRmCDnvUqbnqHtw')]
352
- * @param {module:api/ZoomApi~pgStartZoomMeetingV2ZoomStartAppIdLinkUuidPostCallback} callback The callback function, accepting three arguments: error, data, response
353
- * data is of type: {@link Object}
354
- */
355
- pgStartZoomMeetingV2ZoomStartAppIdLinkUuidPost(appId, linkUuid, startMeetingRequest, opts, callback) {
356
- opts = opts || {};
357
- let postBody = startMeetingRequest;
358
- // verify the required parameter 'appId' is set
359
- if (appId === undefined || appId === null) {
360
- throw new Error("Missing the required parameter 'appId' when calling pgStartZoomMeetingV2ZoomStartAppIdLinkUuidPost");
361
- }
362
- // verify the required parameter 'linkUuid' is set
363
- if (linkUuid === undefined || linkUuid === null) {
364
- throw new Error("Missing the required parameter 'linkUuid' when calling pgStartZoomMeetingV2ZoomStartAppIdLinkUuidPost");
365
- }
366
- // verify the required parameter 'startMeetingRequest' is set
367
- if (startMeetingRequest === undefined || startMeetingRequest === null) {
368
- throw new Error("Missing the required parameter 'startMeetingRequest' when calling pgStartZoomMeetingV2ZoomStartAppIdLinkUuidPost");
369
- }
370
-
371
- let pathParams = {
372
- 'app_id': appId,
373
- 'link_uuid': linkUuid
374
- };
375
- let queryParams = {
376
- 'client_secret': opts['clientSecret'],
377
- 'client_id': opts['clientId']
378
- };
379
- let headerParams = {
380
- };
381
- let formParams = {
382
- };
383
-
384
- let authNames = [];
385
- let contentTypes = ['application/json'];
386
- let accepts = ['application/json'];
387
- let returnType = Object;
388
- return this.apiClient.callApi(
389
- '/v2/zoom/start/{app_id}/{link_uuid}', 'POST',
390
- pathParams, queryParams, headerParams, formParams, postBody,
391
- authNames, contentTypes, accepts, returnType, null, callback
392
- );
393
- }
394
-
395
- /**
396
- * Callback function to receive the result of the redirectToAppStoreZoomPhoneAppStoreGet operation.
397
- * @callback module:api/ZoomApi~redirectToAppStoreZoomPhoneAppStoreGetCallback
398
- * @param {String} error Error message, if any.
399
- * @param {Object} data The data returned by the service call.
400
- * @param {String} response The complete HTTP response.
401
- */
402
-
403
- /**
404
- * Redirect To App Store
405
- * @param {module:api/ZoomApi~redirectToAppStoreZoomPhoneAppStoreGetCallback} callback The callback function, accepting three arguments: error, data, response
406
- * data is of type: {@link Object}
407
- */
408
- redirectToAppStoreZoomPhoneAppStoreGet(callback) {
409
- let postBody = null;
410
-
411
- let pathParams = {
412
- };
413
- let queryParams = {
414
- };
415
- let headerParams = {
416
- };
417
- let formParams = {
418
- };
419
-
420
- let authNames = [];
421
- let contentTypes = [];
422
- let accepts = ['application/json'];
423
- let returnType = Object;
424
- return this.apiClient.callApi(
425
- '/zoom-phone/app-store', 'GET',
426
- pathParams, queryParams, headerParams, formParams, postBody,
427
- authNames, contentTypes, accepts, returnType, null, callback
428
- );
429
- }
430
-
431
- /**
432
- * Callback function to receive the result of the redirectToMeetingReportZoomPhoneReportsMeetingEncodedS3UrlGet operation.
433
- * @callback module:api/ZoomApi~redirectToMeetingReportZoomPhoneReportsMeetingEncodedS3UrlGetCallback
434
- * @param {String} error Error message, if any.
435
- * @param {Object} data The data returned by the service call.
436
- * @param {String} response The complete HTTP response.
437
- */
438
-
439
- /**
440
- * Redirect To Meeting Report
441
- * @param {String} encodedS3Url
442
- * @param {module:api/ZoomApi~redirectToMeetingReportZoomPhoneReportsMeetingEncodedS3UrlGetCallback} callback The callback function, accepting three arguments: error, data, response
443
- * data is of type: {@link Object}
444
- */
445
- redirectToMeetingReportZoomPhoneReportsMeetingEncodedS3UrlGet(encodedS3Url, callback) {
446
- let postBody = null;
447
- // verify the required parameter 'encodedS3Url' is set
448
- if (encodedS3Url === undefined || encodedS3Url === null) {
449
- throw new Error("Missing the required parameter 'encodedS3Url' when calling redirectToMeetingReportZoomPhoneReportsMeetingEncodedS3UrlGet");
450
- }
451
-
452
- let pathParams = {
453
- 'encoded_s3_url': encodedS3Url
454
- };
455
- let queryParams = {
456
- };
457
- let headerParams = {
458
- };
459
- let formParams = {
460
- };
461
-
462
- let authNames = [];
463
- let contentTypes = [];
464
- let accepts = ['application/json'];
465
- let returnType = Object;
466
- return this.apiClient.callApi(
467
- '/zoom-phone/reports/meeting/{encoded_s3_url}', 'GET',
468
- pathParams, queryParams, headerParams, formParams, postBody,
469
- authNames, contentTypes, accepts, returnType, null, callback
470
- );
471
- }
472
-
473
- /**
474
- * Callback function to receive the result of the testWebsocketDisconnectZoomPhoneTestDisconnectPost operation.
475
- * @callback module:api/ZoomApi~testWebsocketDisconnectZoomPhoneTestDisconnectPostCallback
476
- * @param {String} error Error message, if any.
477
- * @param {Object} data The data returned by the service call.
478
- * @param {String} response The complete HTTP response.
479
- */
480
-
481
- /**
482
- * Test Websocket Disconnect
483
- * @param {module:api/ZoomApi~testWebsocketDisconnectZoomPhoneTestDisconnectPostCallback} callback The callback function, accepting three arguments: error, data, response
484
- * data is of type: {@link Object}
485
- */
486
- testWebsocketDisconnectZoomPhoneTestDisconnectPost(callback) {
487
- let postBody = null;
488
-
489
- let pathParams = {
490
- };
491
- let queryParams = {
492
- };
493
- let headerParams = {
494
- };
495
- let formParams = {
496
- };
497
-
498
- let authNames = [];
499
- let contentTypes = [];
500
- let accepts = ['application/json'];
501
- let returnType = Object;
502
- return this.apiClient.callApi(
503
- '/zoom-phone/test-disconnect', 'POST',
504
- pathParams, queryParams, headerParams, formParams, postBody,
505
- authNames, contentTypes, accepts, returnType, null, callback
506
- );
507
- }
508
-
509
- /**
510
- * Callback function to receive the result of the webhookWebhookPost operation.
511
- * @callback module:api/ZoomApi~webhookWebhookPostCallback
512
- * @param {String} error Error message, if any.
513
- * @param {Object} data The data returned by the service call.
514
- * @param {String} response The complete HTTP response.
515
- */
516
-
517
- /**
518
- * Webhook
519
- * @param {String} xZmSignature
520
- * @param {String} xZmRequestTimestamp
521
- * @param {module:api/ZoomApi~webhookWebhookPostCallback} callback The callback function, accepting three arguments: error, data, response
522
- * data is of type: {@link Object}
523
- */
524
- webhookWebhookPost(xZmSignature, xZmRequestTimestamp, callback) {
525
- let postBody = null;
526
- // verify the required parameter 'xZmSignature' is set
527
- if (xZmSignature === undefined || xZmSignature === null) {
528
- throw new Error("Missing the required parameter 'xZmSignature' when calling webhookWebhookPost");
529
- }
530
- // verify the required parameter 'xZmRequestTimestamp' is set
531
- if (xZmRequestTimestamp === undefined || xZmRequestTimestamp === null) {
532
- throw new Error("Missing the required parameter 'xZmRequestTimestamp' when calling webhookWebhookPost");
533
- }
534
-
535
- let pathParams = {
536
- };
537
- let queryParams = {
538
- };
539
- let headerParams = {
540
- 'x-zm-signature': xZmSignature,
541
- 'x-zm-request-timestamp': xZmRequestTimestamp
542
- };
543
- let formParams = {
544
- };
545
-
546
- let authNames = [];
547
- let contentTypes = [];
548
- let accepts = ['application/json'];
549
- let returnType = Object;
550
- return this.apiClient.callApi(
551
- '/webhook', 'POST',
552
- pathParams, queryParams, headerParams, formParams, postBody,
553
- authNames, contentTypes, accepts, returnType, null, callback
554
- );
555
- }
556
-
557
- /**
558
- * Callback function to receive the result of the zoomCallbackZoomCallbackPost operation.
559
- * @callback module:api/ZoomApi~zoomCallbackZoomCallbackPostCallback
560
- * @param {String} error Error message, if any.
561
- * @param {Object} data The data returned by the service call.
562
- * @param {String} response The complete HTTP response.
563
- */
564
-
565
- /**
566
- * Zoom Callback
567
- * @param {Object} error
568
- * @param {Object} code
569
- * @param {module:api/ZoomApi~zoomCallbackZoomCallbackPostCallback} callback The callback function, accepting three arguments: error, data, response
570
- * data is of type: {@link Object}
571
- */
572
- zoomCallbackZoomCallbackPost(error, code, callback) {
573
- let postBody = null;
574
- // verify the required parameter 'error' is set
575
- if (error === undefined || error === null) {
576
- throw new Error("Missing the required parameter 'error' when calling zoomCallbackZoomCallbackPost");
577
- }
578
- // verify the required parameter 'code' is set
579
- if (code === undefined || code === null) {
580
- throw new Error("Missing the required parameter 'code' when calling zoomCallbackZoomCallbackPost");
581
- }
582
-
583
- let pathParams = {
584
- };
585
- let queryParams = {
586
- 'error': error,
587
- 'code': code
588
- };
589
- let headerParams = {
590
- };
591
- let formParams = {
592
- };
593
-
594
- let authNames = [];
595
- let contentTypes = [];
596
- let accepts = ['application/json'];
597
- let returnType = Object;
598
- return this.apiClient.callApi(
599
- '/zoom_callback', 'POST',
600
- pathParams, queryParams, headerParams, formParams, postBody,
601
- authNames, contentTypes, accepts, returnType, null, callback
602
- );
603
- }
604
-
605
- /**
606
- * Callback function to receive the result of the zoomInstallInstallGet operation.
607
- * @callback module:api/ZoomApi~zoomInstallInstallGetCallback
608
- * @param {String} error Error message, if any.
609
- * @param {Object} data The data returned by the service call.
610
- * @param {String} response The complete HTTP response.
611
- */
612
-
613
- /**
614
- * Zoom Install
615
- * @param {Object} opts Optional parameters
616
- * @param {Object} [code]
617
- * @param {Object} [error]
618
- * @param {module:api/ZoomApi~zoomInstallInstallGetCallback} callback The callback function, accepting three arguments: error, data, response
619
- * data is of type: {@link Object}
620
- */
621
- zoomInstallInstallGet(opts, callback) {
622
- opts = opts || {};
623
- let postBody = null;
624
-
625
- let pathParams = {
626
- };
627
- let queryParams = {
628
- 'code': opts['code'],
629
- 'error': opts['error']
630
- };
631
- let headerParams = {
632
- };
633
- let formParams = {
634
- };
635
-
636
- let authNames = [];
637
- let contentTypes = [];
638
- let accepts = ['application/json'];
639
- let returnType = Object;
640
- return this.apiClient.callApi(
641
- '/install', 'GET',
642
- pathParams, queryParams, headerParams, formParams, postBody,
643
- authNames, contentTypes, accepts, returnType, null, callback
644
- );
645
- }
646
-
647
- /**
648
- * Callback function to receive the result of the zoomInstallInstallPost operation.
649
- * @callback module:api/ZoomApi~zoomInstallInstallPostCallback
650
- * @param {String} error Error message, if any.
651
- * @param {Object} data The data returned by the service call.
652
- * @param {String} response The complete HTTP response.
653
- */
654
-
655
- /**
656
- * Zoom Install
657
- * @param {Object} opts Optional parameters
658
- * @param {Object} [code]
659
- * @param {Object} [error]
660
- * @param {module:api/ZoomApi~zoomInstallInstallPostCallback} callback The callback function, accepting three arguments: error, data, response
661
- * data is of type: {@link Object}
662
- */
663
- zoomInstallInstallPost(opts, callback) {
664
- opts = opts || {};
665
- let postBody = null;
666
-
667
- let pathParams = {
668
- };
669
- let queryParams = {
670
- 'code': opts['code'],
671
- 'error': opts['error']
672
- };
673
- let headerParams = {
674
- };
675
- let formParams = {
676
- };
677
-
678
- let authNames = [];
679
- let contentTypes = [];
680
- let accepts = ['application/json'];
681
- let returnType = Object;
682
- return this.apiClient.callApi(
683
- '/install', 'POST',
684
- pathParams, queryParams, headerParams, formParams, postBody,
685
- authNames, contentTypes, accepts, returnType, null, callback
686
- );
687
- }
688
-
689
- /**
690
- * Callback function to receive the result of the zoomPhoneInstallZoomPhoneInstallGet operation.
691
- * @callback module:api/ZoomApi~zoomPhoneInstallZoomPhoneInstallGetCallback
692
- * @param {String} error Error message, if any.
693
- * @param {Object} data The data returned by the service call.
694
- * @param {String} response The complete HTTP response.
695
- */
696
-
697
- /**
698
- * Zoom Phone Install
699
- * @param {Object} opts Optional parameters
700
- * @param {Object} [code]
701
- * @param {Object} [state]
702
- * @param {Object} [error]
703
- * @param {String} [redirectUri = '')]
704
- * @param {module:api/ZoomApi~zoomPhoneInstallZoomPhoneInstallGetCallback} callback The callback function, accepting three arguments: error, data, response
705
- * data is of type: {@link Object}
706
- */
707
- zoomPhoneInstallZoomPhoneInstallGet(opts, callback) {
708
- opts = opts || {};
709
- let postBody = null;
710
-
711
- let pathParams = {
712
- };
713
- let queryParams = {
714
- 'code': opts['code'],
715
- 'state': opts['state'],
716
- 'error': opts['error'],
717
- 'redirect_uri': opts['redirectUri']
718
- };
719
- let headerParams = {
720
- };
721
- let formParams = {
722
- };
723
-
724
- let authNames = [];
725
- let contentTypes = [];
726
- let accepts = ['application/json'];
727
- let returnType = Object;
728
- return this.apiClient.callApi(
729
- '/zoom-phone/install', 'GET',
730
- pathParams, queryParams, headerParams, formParams, postBody,
731
- authNames, contentTypes, accepts, returnType, null, callback
732
- );
733
- }
734
-
735
- /**
736
- * Callback function to receive the result of the zoomPhoneInstallZoomPhoneInstallPost operation.
737
- * @callback module:api/ZoomApi~zoomPhoneInstallZoomPhoneInstallPostCallback
738
- * @param {String} error Error message, if any.
739
- * @param {Object} data The data returned by the service call.
740
- * @param {String} response The complete HTTP response.
741
- */
742
-
743
- /**
744
- * Zoom Phone Install
745
- * @param {Object} opts Optional parameters
746
- * @param {Object} [code]
747
- * @param {Object} [state]
748
- * @param {Object} [error]
749
- * @param {String} [redirectUri = '')]
750
- * @param {module:api/ZoomApi~zoomPhoneInstallZoomPhoneInstallPostCallback} callback The callback function, accepting three arguments: error, data, response
751
- * data is of type: {@link Object}
752
- */
753
- zoomPhoneInstallZoomPhoneInstallPost(opts, callback) {
754
- opts = opts || {};
755
- let postBody = null;
756
-
757
- let pathParams = {
758
- };
759
- let queryParams = {
760
- 'code': opts['code'],
761
- 'state': opts['state'],
762
- 'error': opts['error'],
763
- 'redirect_uri': opts['redirectUri']
764
- };
765
- let headerParams = {
766
- };
767
- let formParams = {
768
- };
769
-
770
- let authNames = [];
771
- let contentTypes = [];
772
- let accepts = ['application/json'];
773
- let returnType = Object;
774
- return this.apiClient.callApi(
775
- '/zoom-phone/install', 'POST',
776
- pathParams, queryParams, headerParams, formParams, postBody,
777
- authNames, contentTypes, accepts, returnType, null, callback
778
- );
779
- }
780
-
781
- /**
782
- * Callback function to receive the result of the zoomWebhookZoomPhoneWebhookPost operation.
783
- * @callback module:api/ZoomApi~zoomWebhookZoomPhoneWebhookPostCallback
784
- * @param {String} error Error message, if any.
785
- * @param {Object} data The data returned by the service call.
786
- * @param {String} response The complete HTTP response.
787
- */
788
-
789
- /**
790
- * Zoom Webhook
791
- * Handle incoming webhooks from Zoom Phone.
792
- * @param {Object} opts Optional parameters
793
- * @param {Object} [dependencies]
794
- * @param {module:api/ZoomApi~zoomWebhookZoomPhoneWebhookPostCallback} callback The callback function, accepting three arguments: error, data, response
795
- * data is of type: {@link Object}
796
- */
797
- zoomWebhookZoomPhoneWebhookPost(opts, callback) {
798
- opts = opts || {};
799
- let postBody = null;
800
-
801
- let pathParams = {
802
- };
803
- let queryParams = {
804
- 'dependencies': opts['dependencies']
805
- };
806
- let headerParams = {
807
- };
808
- let formParams = {
809
- };
810
-
811
- let authNames = [];
812
- let contentTypes = [];
813
- let accepts = ['application/json'];
814
- let returnType = Object;
815
- return this.apiClient.callApi(
816
- '/zoom-phone/webhook', 'POST',
817
- pathParams, queryParams, headerParams, formParams, postBody,
818
- authNames, contentTypes, accepts, returnType, null, callback
819
- );
820
- }
821
-
822
-
823
- }