@polyguard/sdk 1.0.1 → 1.0.2
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/dist/sdk.js +703 -1153
- package/package.json +1 -1
- package/scripts/regenerate-client.sh +4 -0
- package/src/PolyguardWebsocketClientImpl.js +2 -2
- package/src/generated/.openapi-generator/FILES +10 -4
- package/src/generated/README.md +25 -34
- package/src/generated/docs/AppId.md +8 -0
- package/src/generated/docs/DefaultApi.md +40 -0
- package/src/generated/docs/LinksApi.md +162 -0
- package/src/generated/docs/SdkApi.md +54 -0
- package/src/generated/docs/SecureLinksApi.md +614 -0
- package/src/generated/docs/WellKnownApi.md +128 -0
- package/src/generated/docs/ZoomApi.md +108 -4
- package/src/generated/src/api/DefaultApi.js +36 -0
- package/src/generated/src/api/LinksApi.js +195 -0
- package/src/generated/src/api/SdkApi.js +81 -0
- package/src/generated/src/api/SecureLinksApi.js +670 -0
- package/src/generated/src/api/WellKnownApi.js +145 -0
- package/src/generated/src/api/ZoomApi.js +110 -2
- package/src/generated/src/index.js +35 -14
- package/src/generated/test/api/LinksApi.spec.js +83 -0
- package/src/generated/test/api/SdkApi.spec.js +63 -0
- package/src/generated/test/api/SecureLinksApi.spec.js +143 -0
- package/src/generated/test/api/WellKnownApi.spec.js +83 -0
- package/src/generated/test/model/AppId.spec.js +59 -0
|
@@ -0,0 +1,145 @@
|
|
|
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
|
+
* WellKnown service.
|
|
19
|
+
* @module api/WellKnownApi
|
|
20
|
+
* @version 0.1.0
|
|
21
|
+
*/
|
|
22
|
+
export default class WellKnownApi {
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* Constructs a new WellKnownApi.
|
|
26
|
+
* @alias module:api/WellKnownApi
|
|
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 appleAppSiteAssociationAppleAppSiteAssociationGet operation.
|
|
38
|
+
* @callback module:api/WellKnownApi~appleAppSiteAssociationAppleAppSiteAssociationGetCallback
|
|
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
|
+
* Apple App Site Association
|
|
46
|
+
* @param {module:api/WellKnownApi~appleAppSiteAssociationAppleAppSiteAssociationGetCallback} callback The callback function, accepting three arguments: error, data, response
|
|
47
|
+
* data is of type: {@link Object}
|
|
48
|
+
*/
|
|
49
|
+
appleAppSiteAssociationAppleAppSiteAssociationGet(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
|
+
'/apple-app-site-association', '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 appleAppSiteAssociationWellKnownAppleAppSiteAssociationGet operation.
|
|
74
|
+
* @callback module:api/WellKnownApi~appleAppSiteAssociationWellKnownAppleAppSiteAssociationGetCallback
|
|
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
|
+
* Apple App Site Association
|
|
82
|
+
* @param {module:api/WellKnownApi~appleAppSiteAssociationWellKnownAppleAppSiteAssociationGetCallback} callback The callback function, accepting three arguments: error, data, response
|
|
83
|
+
* data is of type: {@link Object}
|
|
84
|
+
*/
|
|
85
|
+
appleAppSiteAssociationWellKnownAppleAppSiteAssociationGet(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
|
+
'/.well-known/apple-app-site-association', '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 jwksWellKnownJwksJsonGet operation.
|
|
110
|
+
* @callback module:api/WellKnownApi~jwksWellKnownJwksJsonGetCallback
|
|
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
|
+
* Jwks
|
|
118
|
+
* @param {module:api/WellKnownApi~jwksWellKnownJwksJsonGetCallback} callback The callback function, accepting three arguments: error, data, response
|
|
119
|
+
* data is of type: {@link Object}
|
|
120
|
+
*/
|
|
121
|
+
jwksWellKnownJwksJsonGet(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
|
+
'/.well-known/jwks.json', 'GET',
|
|
139
|
+
pathParams, queryParams, headerParams, formParams, postBody,
|
|
140
|
+
authNames, contentTypes, accepts, returnType, null, callback
|
|
141
|
+
);
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
}
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
import ApiClient from "../ApiClient";
|
|
16
16
|
import HTTPValidationError from '../model/HTTPValidationError';
|
|
17
17
|
import JWTRequest from '../model/JWTRequest';
|
|
18
|
+
import StartMeetingRequest from '../model/StartMeetingRequest';
|
|
18
19
|
|
|
19
20
|
/**
|
|
20
21
|
* Zoom service.
|
|
@@ -158,8 +159,8 @@ export default class ZoomApi {
|
|
|
158
159
|
* Get a ticket for the given account ID and uid for webhook startup.
|
|
159
160
|
* @param {String} accountId
|
|
160
161
|
* @param {Object} opts Optional parameters
|
|
161
|
-
* @param {String} [clientSecret = '
|
|
162
|
-
* @param {String} [clientId = '
|
|
162
|
+
* @param {String} [clientSecret = 'ARlaFJJRMWLexEnPW4AtkCmHmerOaIGc')]
|
|
163
|
+
* @param {String} [clientId = 'qxzT5xZCRmCDnvUqbnqHtw')]
|
|
163
164
|
* @param {module:api/ZoomApi~getTicketZoomPhoneTicketAccountIdPostCallback} callback The callback function, accepting three arguments: error, data, response
|
|
164
165
|
* data is of type: {@link Object}
|
|
165
166
|
*/
|
|
@@ -284,6 +285,113 @@ export default class ZoomApi {
|
|
|
284
285
|
);
|
|
285
286
|
}
|
|
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
|
+
|
|
287
395
|
/**
|
|
288
396
|
* Callback function to receive the result of the redirectToAppStoreZoomPhoneAppStoreGet operation.
|
|
289
397
|
* @callback module:api/ZoomApi~redirectToAppStoreZoomPhoneAppStoreGetCallback
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
import ApiClient from './ApiClient';
|
|
16
16
|
import ApiControllersPslStirCallRequest from './model/ApiControllersPslStirCallRequest';
|
|
17
17
|
import ApiModelsApiCallModelsCallRequest from './model/ApiModelsApiCallModelsCallRequest';
|
|
18
|
+
// import AppId from './model/AppId';
|
|
18
19
|
// import Certainty from './model/Certainty';
|
|
19
20
|
import CreateLinkRequest from './model/CreateLinkRequest';
|
|
20
21
|
import HTTPValidationError from './model/HTTPValidationError';
|
|
@@ -27,15 +28,17 @@ import ValidationError from './model/ValidationError';
|
|
|
27
28
|
// import ValidationErrorLocInner from './model/ValidationErrorLocInner';
|
|
28
29
|
import VeriffSessionRequest from './model/VeriffSessionRequest';
|
|
29
30
|
import VerifyRequest from './model/VerifyRequest';
|
|
30
|
-
import AppleApi from './api/AppleApi';
|
|
31
|
-
import AuthApi from './api/AuthApi';
|
|
32
31
|
import BlockingApi from './api/BlockingApi';
|
|
33
32
|
import CallsApi from './api/CallsApi';
|
|
34
33
|
import DefaultApi from './api/DefaultApi';
|
|
34
|
+
import LinksApi from './api/LinksApi';
|
|
35
|
+
import SdkApi from './api/SdkApi';
|
|
36
|
+
import SecureLinksApi from './api/SecureLinksApi';
|
|
35
37
|
import StirApi from './api/StirApi';
|
|
36
38
|
import TwilioApi from './api/TwilioApi';
|
|
37
39
|
import UsersApi from './api/UsersApi';
|
|
38
40
|
import VeriffApi from './api/VeriffApi';
|
|
41
|
+
import WellKnownApi from './api/WellKnownApi';
|
|
39
42
|
import ZoomApi from './api/ZoomApi';
|
|
40
43
|
|
|
41
44
|
|
|
@@ -89,6 +92,12 @@ export {
|
|
|
89
92
|
*/
|
|
90
93
|
ApiModelsApiCallModelsCallRequest,
|
|
91
94
|
|
|
95
|
+
/**
|
|
96
|
+
* The AppId model constructor.
|
|
97
|
+
* @property {module:model/AppId}
|
|
98
|
+
*/
|
|
99
|
+
// AppId,
|
|
100
|
+
|
|
92
101
|
/**
|
|
93
102
|
* The Certainty model constructor.
|
|
94
103
|
* @property {module:model/Certainty}
|
|
@@ -161,18 +170,6 @@ export {
|
|
|
161
170
|
*/
|
|
162
171
|
VerifyRequest,
|
|
163
172
|
|
|
164
|
-
/**
|
|
165
|
-
* The AppleApi service constructor.
|
|
166
|
-
* @property {module:api/AppleApi}
|
|
167
|
-
*/
|
|
168
|
-
AppleApi,
|
|
169
|
-
|
|
170
|
-
/**
|
|
171
|
-
* The AuthApi service constructor.
|
|
172
|
-
* @property {module:api/AuthApi}
|
|
173
|
-
*/
|
|
174
|
-
AuthApi,
|
|
175
|
-
|
|
176
173
|
/**
|
|
177
174
|
* The BlockingApi service constructor.
|
|
178
175
|
* @property {module:api/BlockingApi}
|
|
@@ -191,6 +188,24 @@ export {
|
|
|
191
188
|
*/
|
|
192
189
|
DefaultApi,
|
|
193
190
|
|
|
191
|
+
/**
|
|
192
|
+
* The LinksApi service constructor.
|
|
193
|
+
* @property {module:api/LinksApi}
|
|
194
|
+
*/
|
|
195
|
+
LinksApi,
|
|
196
|
+
|
|
197
|
+
/**
|
|
198
|
+
* The SdkApi service constructor.
|
|
199
|
+
* @property {module:api/SdkApi}
|
|
200
|
+
*/
|
|
201
|
+
SdkApi,
|
|
202
|
+
|
|
203
|
+
/**
|
|
204
|
+
* The SecureLinksApi service constructor.
|
|
205
|
+
* @property {module:api/SecureLinksApi}
|
|
206
|
+
*/
|
|
207
|
+
SecureLinksApi,
|
|
208
|
+
|
|
194
209
|
/**
|
|
195
210
|
* The StirApi service constructor.
|
|
196
211
|
* @property {module:api/StirApi}
|
|
@@ -215,6 +230,12 @@ export {
|
|
|
215
230
|
*/
|
|
216
231
|
VeriffApi,
|
|
217
232
|
|
|
233
|
+
/**
|
|
234
|
+
* The WellKnownApi service constructor.
|
|
235
|
+
* @property {module:api/WellKnownApi}
|
|
236
|
+
*/
|
|
237
|
+
WellKnownApi,
|
|
238
|
+
|
|
218
239
|
/**
|
|
219
240
|
* The ZoomApi service constructor.
|
|
220
241
|
* @property {module:api/ZoomApi}
|
|
@@ -0,0 +1,83 @@
|
|
|
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
|
+
(function(root, factory) {
|
|
15
|
+
if (typeof define === 'function' && define.amd) {
|
|
16
|
+
// AMD.
|
|
17
|
+
define(['expect.js', process.cwd()+'/src/index'], factory);
|
|
18
|
+
} else if (typeof module === 'object' && module.exports) {
|
|
19
|
+
// CommonJS-like environments that support module.exports, like Node.
|
|
20
|
+
factory(require('expect.js'), require(process.cwd()+'/src/index'));
|
|
21
|
+
} else {
|
|
22
|
+
// Browser globals (root is window)
|
|
23
|
+
factory(root.expect, root.FastApi);
|
|
24
|
+
}
|
|
25
|
+
}(this, function(expect, FastApi) {
|
|
26
|
+
'use strict';
|
|
27
|
+
|
|
28
|
+
var instance;
|
|
29
|
+
|
|
30
|
+
beforeEach(function() {
|
|
31
|
+
instance = new FastApi.LinksApi();
|
|
32
|
+
});
|
|
33
|
+
|
|
34
|
+
var getProperty = function(object, getter, property) {
|
|
35
|
+
// Use getter method if present; otherwise, get the property directly.
|
|
36
|
+
if (typeof object[getter] === 'function')
|
|
37
|
+
return object[getter]();
|
|
38
|
+
else
|
|
39
|
+
return object[property];
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
var setProperty = function(object, setter, property, value) {
|
|
43
|
+
// Use setter method if present; otherwise, set the property directly.
|
|
44
|
+
if (typeof object[setter] === 'function')
|
|
45
|
+
object[setter](value);
|
|
46
|
+
else
|
|
47
|
+
object[property] = value;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
describe('LinksApi', function() {
|
|
51
|
+
describe('pgCreateLinkAuthLinkAppIdPut', function() {
|
|
52
|
+
it('should call pgCreateLinkAuthLinkAppIdPut successfully', function(done) {
|
|
53
|
+
//uncomment below and update the code to test pgCreateLinkAuthLinkAppIdPut
|
|
54
|
+
//instance.pgCreateLinkAuthLinkAppIdPut(function(error) {
|
|
55
|
+
// if (error) throw error;
|
|
56
|
+
//expect().to.be();
|
|
57
|
+
//});
|
|
58
|
+
done();
|
|
59
|
+
});
|
|
60
|
+
});
|
|
61
|
+
describe('pgDeleteLinkAuthLinkAppIdLinkUuidDelete', function() {
|
|
62
|
+
it('should call pgDeleteLinkAuthLinkAppIdLinkUuidDelete successfully', function(done) {
|
|
63
|
+
//uncomment below and update the code to test pgDeleteLinkAuthLinkAppIdLinkUuidDelete
|
|
64
|
+
//instance.pgDeleteLinkAuthLinkAppIdLinkUuidDelete(function(error) {
|
|
65
|
+
// if (error) throw error;
|
|
66
|
+
//expect().to.be();
|
|
67
|
+
//});
|
|
68
|
+
done();
|
|
69
|
+
});
|
|
70
|
+
});
|
|
71
|
+
describe('pgListMeetingLinksAuthListlinksAccountIdGet', function() {
|
|
72
|
+
it('should call pgListMeetingLinksAuthListlinksAccountIdGet successfully', function(done) {
|
|
73
|
+
//uncomment below and update the code to test pgListMeetingLinksAuthListlinksAccountIdGet
|
|
74
|
+
//instance.pgListMeetingLinksAuthListlinksAccountIdGet(function(error) {
|
|
75
|
+
// if (error) throw error;
|
|
76
|
+
//expect().to.be();
|
|
77
|
+
//});
|
|
78
|
+
done();
|
|
79
|
+
});
|
|
80
|
+
});
|
|
81
|
+
});
|
|
82
|
+
|
|
83
|
+
}));
|
|
@@ -0,0 +1,63 @@
|
|
|
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
|
+
(function(root, factory) {
|
|
15
|
+
if (typeof define === 'function' && define.amd) {
|
|
16
|
+
// AMD.
|
|
17
|
+
define(['expect.js', process.cwd()+'/src/index'], factory);
|
|
18
|
+
} else if (typeof module === 'object' && module.exports) {
|
|
19
|
+
// CommonJS-like environments that support module.exports, like Node.
|
|
20
|
+
factory(require('expect.js'), require(process.cwd()+'/src/index'));
|
|
21
|
+
} else {
|
|
22
|
+
// Browser globals (root is window)
|
|
23
|
+
factory(root.expect, root.FastApi);
|
|
24
|
+
}
|
|
25
|
+
}(this, function(expect, FastApi) {
|
|
26
|
+
'use strict';
|
|
27
|
+
|
|
28
|
+
var instance;
|
|
29
|
+
|
|
30
|
+
beforeEach(function() {
|
|
31
|
+
instance = new FastApi.SdkApi();
|
|
32
|
+
});
|
|
33
|
+
|
|
34
|
+
var getProperty = function(object, getter, property) {
|
|
35
|
+
// Use getter method if present; otherwise, get the property directly.
|
|
36
|
+
if (typeof object[getter] === 'function')
|
|
37
|
+
return object[getter]();
|
|
38
|
+
else
|
|
39
|
+
return object[property];
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
var setProperty = function(object, setter, property, value) {
|
|
43
|
+
// Use setter method if present; otherwise, set the property directly.
|
|
44
|
+
if (typeof object[setter] === 'function')
|
|
45
|
+
object[setter](value);
|
|
46
|
+
else
|
|
47
|
+
object[property] = value;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
describe('SdkApi', function() {
|
|
51
|
+
describe('createTicketAuthTicketAppIdPost', function() {
|
|
52
|
+
it('should call createTicketAuthTicketAppIdPost successfully', function(done) {
|
|
53
|
+
//uncomment below and update the code to test createTicketAuthTicketAppIdPost
|
|
54
|
+
//instance.createTicketAuthTicketAppIdPost(function(error) {
|
|
55
|
+
// if (error) throw error;
|
|
56
|
+
//expect().to.be();
|
|
57
|
+
//});
|
|
58
|
+
done();
|
|
59
|
+
});
|
|
60
|
+
});
|
|
61
|
+
});
|
|
62
|
+
|
|
63
|
+
}));
|
|
@@ -0,0 +1,143 @@
|
|
|
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
|
+
(function(root, factory) {
|
|
15
|
+
if (typeof define === 'function' && define.amd) {
|
|
16
|
+
// AMD.
|
|
17
|
+
define(['expect.js', process.cwd()+'/src/index'], factory);
|
|
18
|
+
} else if (typeof module === 'object' && module.exports) {
|
|
19
|
+
// CommonJS-like environments that support module.exports, like Node.
|
|
20
|
+
factory(require('expect.js'), require(process.cwd()+'/src/index'));
|
|
21
|
+
} else {
|
|
22
|
+
// Browser globals (root is window)
|
|
23
|
+
factory(root.expect, root.FastApi);
|
|
24
|
+
}
|
|
25
|
+
}(this, function(expect, FastApi) {
|
|
26
|
+
'use strict';
|
|
27
|
+
|
|
28
|
+
var instance;
|
|
29
|
+
|
|
30
|
+
beforeEach(function() {
|
|
31
|
+
instance = new FastApi.SecureLinksApi();
|
|
32
|
+
});
|
|
33
|
+
|
|
34
|
+
var getProperty = function(object, getter, property) {
|
|
35
|
+
// Use getter method if present; otherwise, get the property directly.
|
|
36
|
+
if (typeof object[getter] === 'function')
|
|
37
|
+
return object[getter]();
|
|
38
|
+
else
|
|
39
|
+
return object[property];
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
var setProperty = function(object, setter, property, value) {
|
|
43
|
+
// Use setter method if present; otherwise, set the property directly.
|
|
44
|
+
if (typeof object[setter] === 'function')
|
|
45
|
+
object[setter](value);
|
|
46
|
+
else
|
|
47
|
+
object[property] = value;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
describe('SecureLinksApi', function() {
|
|
51
|
+
describe('getLegacyRedirectInfoAuthRedirectAppIdLinkUuidGet', function() {
|
|
52
|
+
it('should call getLegacyRedirectInfoAuthRedirectAppIdLinkUuidGet successfully', function(done) {
|
|
53
|
+
//uncomment below and update the code to test getLegacyRedirectInfoAuthRedirectAppIdLinkUuidGet
|
|
54
|
+
//instance.getLegacyRedirectInfoAuthRedirectAppIdLinkUuidGet(function(error) {
|
|
55
|
+
// if (error) throw error;
|
|
56
|
+
//expect().to.be();
|
|
57
|
+
//});
|
|
58
|
+
done();
|
|
59
|
+
});
|
|
60
|
+
});
|
|
61
|
+
describe('getRedirectInfoAuthPreviewAppIdLinkUuidGet', function() {
|
|
62
|
+
it('should call getRedirectInfoAuthPreviewAppIdLinkUuidGet successfully', function(done) {
|
|
63
|
+
//uncomment below and update the code to test getRedirectInfoAuthPreviewAppIdLinkUuidGet
|
|
64
|
+
//instance.getRedirectInfoAuthPreviewAppIdLinkUuidGet(function(error) {
|
|
65
|
+
// if (error) throw error;
|
|
66
|
+
//expect().to.be();
|
|
67
|
+
//});
|
|
68
|
+
done();
|
|
69
|
+
});
|
|
70
|
+
});
|
|
71
|
+
describe('getSvgResponseAuthScanAppIdLinkUuidGet', function() {
|
|
72
|
+
it('should call getSvgResponseAuthScanAppIdLinkUuidGet successfully', function(done) {
|
|
73
|
+
//uncomment below and update the code to test getSvgResponseAuthScanAppIdLinkUuidGet
|
|
74
|
+
//instance.getSvgResponseAuthScanAppIdLinkUuidGet(function(error) {
|
|
75
|
+
// if (error) throw error;
|
|
76
|
+
//expect().to.be();
|
|
77
|
+
//});
|
|
78
|
+
done();
|
|
79
|
+
});
|
|
80
|
+
});
|
|
81
|
+
describe('pgCompleteRedirectAuthRedirectAppIdLinkUuidPost', function() {
|
|
82
|
+
it('should call pgCompleteRedirectAuthRedirectAppIdLinkUuidPost successfully', function(done) {
|
|
83
|
+
//uncomment below and update the code to test pgCompleteRedirectAuthRedirectAppIdLinkUuidPost
|
|
84
|
+
//instance.pgCompleteRedirectAuthRedirectAppIdLinkUuidPost(function(error) {
|
|
85
|
+
// if (error) throw error;
|
|
86
|
+
//expect().to.be();
|
|
87
|
+
//});
|
|
88
|
+
done();
|
|
89
|
+
});
|
|
90
|
+
});
|
|
91
|
+
describe('pgLoginAuthLinkAppIdLinkUuidGet', function() {
|
|
92
|
+
it('should call pgLoginAuthLinkAppIdLinkUuidGet successfully', function(done) {
|
|
93
|
+
//uncomment below and update the code to test pgLoginAuthLinkAppIdLinkUuidGet
|
|
94
|
+
//instance.pgLoginAuthLinkAppIdLinkUuidGet(function(error) {
|
|
95
|
+
// if (error) throw error;
|
|
96
|
+
//expect().to.be();
|
|
97
|
+
//});
|
|
98
|
+
done();
|
|
99
|
+
});
|
|
100
|
+
});
|
|
101
|
+
describe('pgLoginMLinkUuidGet', function() {
|
|
102
|
+
it('should call pgLoginMLinkUuidGet successfully', function(done) {
|
|
103
|
+
//uncomment below and update the code to test pgLoginMLinkUuidGet
|
|
104
|
+
//instance.pgLoginMLinkUuidGet(function(error) {
|
|
105
|
+
// if (error) throw error;
|
|
106
|
+
//expect().to.be();
|
|
107
|
+
//});
|
|
108
|
+
done();
|
|
109
|
+
});
|
|
110
|
+
});
|
|
111
|
+
describe('pgMobileRedirectMobileLinkUuidGet', function() {
|
|
112
|
+
it('should call pgMobileRedirectMobileLinkUuidGet successfully', function(done) {
|
|
113
|
+
//uncomment below and update the code to test pgMobileRedirectMobileLinkUuidGet
|
|
114
|
+
//instance.pgMobileRedirectMobileLinkUuidGet(function(error) {
|
|
115
|
+
// if (error) throw error;
|
|
116
|
+
//expect().to.be();
|
|
117
|
+
//});
|
|
118
|
+
done();
|
|
119
|
+
});
|
|
120
|
+
});
|
|
121
|
+
describe('pgPollAuthPollPcreGet', function() {
|
|
122
|
+
it('should call pgPollAuthPollPcreGet successfully', function(done) {
|
|
123
|
+
//uncomment below and update the code to test pgPollAuthPollPcreGet
|
|
124
|
+
//instance.pgPollAuthPollPcreGet(function(error) {
|
|
125
|
+
// if (error) throw error;
|
|
126
|
+
//expect().to.be();
|
|
127
|
+
//});
|
|
128
|
+
done();
|
|
129
|
+
});
|
|
130
|
+
});
|
|
131
|
+
describe('pgPreviewAuthRedirectAppIdLinkUuidHead', function() {
|
|
132
|
+
it('should call pgPreviewAuthRedirectAppIdLinkUuidHead successfully', function(done) {
|
|
133
|
+
//uncomment below and update the code to test pgPreviewAuthRedirectAppIdLinkUuidHead
|
|
134
|
+
//instance.pgPreviewAuthRedirectAppIdLinkUuidHead(function(error) {
|
|
135
|
+
// if (error) throw error;
|
|
136
|
+
//expect().to.be();
|
|
137
|
+
//});
|
|
138
|
+
done();
|
|
139
|
+
});
|
|
140
|
+
});
|
|
141
|
+
});
|
|
142
|
+
|
|
143
|
+
}));
|