@polyguard/sdk 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/sdk.js +11630 -0
- package/package.json +33 -0
- package/scripts/regenerate-client.sh +55 -0
- package/src/PolyguardClient.js +25 -0
- package/src/PolyguardWebsocketClientImpl.js +190 -0
- package/src/generated/.babelrc +33 -0
- package/src/generated/.openapi-generator/FILES +57 -0
- package/src/generated/.openapi-generator/VERSION +1 -0
- package/src/generated/.openapi-generator-ignore +23 -0
- package/src/generated/.travis.yml +5 -0
- package/src/generated/README.md +220 -0
- package/src/generated/docs/ApiControllersPslStirCallRequest.md +18 -0
- package/src/generated/docs/ApiModelsApiCallModelsCallRequest.md +12 -0
- package/src/generated/docs/AppleApi.md +88 -0
- package/src/generated/docs/AuthApi.md +1464 -0
- package/src/generated/docs/BlockingApi.md +208 -0
- package/src/generated/docs/CallsApi.md +140 -0
- package/src/generated/docs/Certainty.md +8 -0
- package/src/generated/docs/CreateLinkRequest.md +12 -0
- package/src/generated/docs/DefaultApi.md +88 -0
- package/src/generated/docs/HTTPValidationError.md +9 -0
- package/src/generated/docs/InviteRequestModel.md +10 -0
- package/src/generated/docs/JWTRequest.md +11 -0
- package/src/generated/docs/NumberVerification.md +10 -0
- package/src/generated/docs/StartAttestationRequest.md +9 -0
- package/src/generated/docs/StartMeetingRequest.md +9 -0
- package/src/generated/docs/StirApi.md +52 -0
- package/src/generated/docs/TwilioApi.md +138 -0
- package/src/generated/docs/UsersApi.md +362 -0
- package/src/generated/docs/ValidationError.md +11 -0
- package/src/generated/docs/ValidationErrorLocInner.md +8 -0
- package/src/generated/docs/VeriffApi.md +188 -0
- package/src/generated/docs/VeriffSessionRequest.md +10 -0
- package/src/generated/docs/VerifyRequest.md +10 -0
- package/src/generated/docs/ZoomApi.md +744 -0
- package/src/generated/git_push.sh +57 -0
- package/src/generated/mocha.opts +1 -0
- package/src/generated/package.json +46 -0
- package/src/generated/src/ApiClient.js +693 -0
- package/src/generated/src/api/AppleApi.js +109 -0
- package/src/generated/src/api/AuthApi.js +1512 -0
- package/src/generated/src/api/BlockingApi.js +217 -0
- package/src/generated/src/api/CallsApi.js +164 -0
- package/src/generated/src/api/DefaultApi.js +109 -0
- package/src/generated/src/api/StirApi.js +80 -0
- package/src/generated/src/api/TwilioApi.js +158 -0
- package/src/generated/src/api/UsersApi.js +375 -0
- package/src/generated/src/api/VeriffApi.js +209 -0
- package/src/generated/src/api/ZoomApi.js +715 -0
- package/src/generated/src/index.js +223 -0
- package/src/generated/src/model/ApiControllersPslStirCallRequest.js +211 -0
- package/src/generated/src/model/ApiModelsApiCallModelsCallRequest.js +119 -0
- package/src/generated/src/model/CreateLinkRequest.js +131 -0
- package/src/generated/src/model/HTTPValidationError.js +94 -0
- package/src/generated/src/model/InviteRequestModel.js +109 -0
- package/src/generated/src/model/JWTRequest.js +113 -0
- package/src/generated/src/model/NumberVerification.js +107 -0
- package/src/generated/src/model/StartAttestationRequest.js +95 -0
- package/src/generated/src/model/StartMeetingRequest.js +95 -0
- package/src/generated/src/model/ValidationError.js +130 -0
- package/src/generated/src/model/VeriffSessionRequest.js +107 -0
- package/src/generated/src/model/VerifyRequest.js +109 -0
- package/src/generated/test/api/AppleApi.spec.js +73 -0
- package/src/generated/test/api/AuthApi.spec.js +353 -0
- package/src/generated/test/api/BlockingApi.spec.js +103 -0
- package/src/generated/test/api/CallsApi.spec.js +83 -0
- package/src/generated/test/api/DefaultApi.spec.js +73 -0
- package/src/generated/test/api/StirApi.spec.js +63 -0
- package/src/generated/test/api/TwilioApi.spec.js +83 -0
- package/src/generated/test/api/UsersApi.spec.js +133 -0
- package/src/generated/test/api/VeriffApi.spec.js +93 -0
- package/src/generated/test/api/ZoomApi.spec.js +213 -0
- package/src/generated/test/model/ApiControllersPslStirCallRequest.spec.js +119 -0
- package/src/generated/test/model/ApiModelsApiCallModelsCallRequest.spec.js +83 -0
- package/src/generated/test/model/Certainty.spec.js +59 -0
- package/src/generated/test/model/CreateLinkRequest.spec.js +83 -0
- package/src/generated/test/model/HTTPValidationError.spec.js +65 -0
- package/src/generated/test/model/InviteRequestModel.spec.js +71 -0
- package/src/generated/test/model/JWTRequest.spec.js +77 -0
- package/src/generated/test/model/NumberVerification.spec.js +71 -0
- package/src/generated/test/model/StartAttestationRequest.spec.js +65 -0
- package/src/generated/test/model/StartMeetingRequest.spec.js +65 -0
- package/src/generated/test/model/ValidationError.spec.js +77 -0
- package/src/generated/test/model/ValidationErrorLocInner.spec.js +59 -0
- package/src/generated/test/model/VeriffSessionRequest.spec.js +71 -0
- package/src/generated/test/model/VerifyRequest.spec.js +71 -0
- package/src/index.js +20 -0
|
@@ -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.TwilioApi();
|
|
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('TwilioApi', function() {
|
|
51
|
+
describe('twilioCheckTwilioCheckPost', function() {
|
|
52
|
+
it('should call twilioCheckTwilioCheckPost successfully', function(done) {
|
|
53
|
+
//uncomment below and update the code to test twilioCheckTwilioCheckPost
|
|
54
|
+
//instance.twilioCheckTwilioCheckPost(function(error) {
|
|
55
|
+
// if (error) throw error;
|
|
56
|
+
//expect().to.be();
|
|
57
|
+
//});
|
|
58
|
+
done();
|
|
59
|
+
});
|
|
60
|
+
});
|
|
61
|
+
describe('twilioStartTwilioStartPost', function() {
|
|
62
|
+
it('should call twilioStartTwilioStartPost successfully', function(done) {
|
|
63
|
+
//uncomment below and update the code to test twilioStartTwilioStartPost
|
|
64
|
+
//instance.twilioStartTwilioStartPost(function(error) {
|
|
65
|
+
// if (error) throw error;
|
|
66
|
+
//expect().to.be();
|
|
67
|
+
//});
|
|
68
|
+
done();
|
|
69
|
+
});
|
|
70
|
+
});
|
|
71
|
+
describe('twilioWebhookTwilioWebhookPost', function() {
|
|
72
|
+
it('should call twilioWebhookTwilioWebhookPost successfully', function(done) {
|
|
73
|
+
//uncomment below and update the code to test twilioWebhookTwilioWebhookPost
|
|
74
|
+
//instance.twilioWebhookTwilioWebhookPost(function(error) {
|
|
75
|
+
// if (error) throw error;
|
|
76
|
+
//expect().to.be();
|
|
77
|
+
//});
|
|
78
|
+
done();
|
|
79
|
+
});
|
|
80
|
+
});
|
|
81
|
+
});
|
|
82
|
+
|
|
83
|
+
}));
|
|
@@ -0,0 +1,133 @@
|
|
|
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.UsersApi();
|
|
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('UsersApi', function() {
|
|
51
|
+
describe('beginAppAttestBeginAppAttestPost', function() {
|
|
52
|
+
it('should call beginAppAttestBeginAppAttestPost successfully', function(done) {
|
|
53
|
+
//uncomment below and update the code to test beginAppAttestBeginAppAttestPost
|
|
54
|
+
//instance.beginAppAttestBeginAppAttestPost(function(error) {
|
|
55
|
+
// if (error) throw error;
|
|
56
|
+
//expect().to.be();
|
|
57
|
+
//});
|
|
58
|
+
done();
|
|
59
|
+
});
|
|
60
|
+
});
|
|
61
|
+
describe('checkUpdateNeededCheckUpdateNeededPost', function() {
|
|
62
|
+
it('should call checkUpdateNeededCheckUpdateNeededPost successfully', function(done) {
|
|
63
|
+
//uncomment below and update the code to test checkUpdateNeededCheckUpdateNeededPost
|
|
64
|
+
//instance.checkUpdateNeededCheckUpdateNeededPost(function(error) {
|
|
65
|
+
// if (error) throw error;
|
|
66
|
+
//expect().to.be();
|
|
67
|
+
//});
|
|
68
|
+
done();
|
|
69
|
+
});
|
|
70
|
+
});
|
|
71
|
+
describe('deleteUserDeleteUserPost', function() {
|
|
72
|
+
it('should call deleteUserDeleteUserPost successfully', function(done) {
|
|
73
|
+
//uncomment below and update the code to test deleteUserDeleteUserPost
|
|
74
|
+
//instance.deleteUserDeleteUserPost(function(error) {
|
|
75
|
+
// if (error) throw error;
|
|
76
|
+
//expect().to.be();
|
|
77
|
+
//});
|
|
78
|
+
done();
|
|
79
|
+
});
|
|
80
|
+
});
|
|
81
|
+
describe('fetchRegisteredUsersFetchRegisteredUsersPost', function() {
|
|
82
|
+
it('should call fetchRegisteredUsersFetchRegisteredUsersPost successfully', function(done) {
|
|
83
|
+
//uncomment below and update the code to test fetchRegisteredUsersFetchRegisteredUsersPost
|
|
84
|
+
//instance.fetchRegisteredUsersFetchRegisteredUsersPost(function(error) {
|
|
85
|
+
// if (error) throw error;
|
|
86
|
+
//expect().to.be();
|
|
87
|
+
//});
|
|
88
|
+
done();
|
|
89
|
+
});
|
|
90
|
+
});
|
|
91
|
+
describe('inviteUserInviteUserPost', function() {
|
|
92
|
+
it('should call inviteUserInviteUserPost successfully', function(done) {
|
|
93
|
+
//uncomment below and update the code to test inviteUserInviteUserPost
|
|
94
|
+
//instance.inviteUserInviteUserPost(function(error) {
|
|
95
|
+
// if (error) throw error;
|
|
96
|
+
//expect().to.be();
|
|
97
|
+
//});
|
|
98
|
+
done();
|
|
99
|
+
});
|
|
100
|
+
});
|
|
101
|
+
describe('registerUserRegisterUserPost', function() {
|
|
102
|
+
it('should call registerUserRegisterUserPost successfully', function(done) {
|
|
103
|
+
//uncomment below and update the code to test registerUserRegisterUserPost
|
|
104
|
+
//instance.registerUserRegisterUserPost(function(error) {
|
|
105
|
+
// if (error) throw error;
|
|
106
|
+
//expect().to.be();
|
|
107
|
+
//});
|
|
108
|
+
done();
|
|
109
|
+
});
|
|
110
|
+
});
|
|
111
|
+
describe('updateUserUpdateUserPut', function() {
|
|
112
|
+
it('should call updateUserUpdateUserPut successfully', function(done) {
|
|
113
|
+
//uncomment below and update the code to test updateUserUpdateUserPut
|
|
114
|
+
//instance.updateUserUpdateUserPut(function(error) {
|
|
115
|
+
// if (error) throw error;
|
|
116
|
+
//expect().to.be();
|
|
117
|
+
//});
|
|
118
|
+
done();
|
|
119
|
+
});
|
|
120
|
+
});
|
|
121
|
+
describe('verifyAppAttestVerifyAppPost', function() {
|
|
122
|
+
it('should call verifyAppAttestVerifyAppPost successfully', function(done) {
|
|
123
|
+
//uncomment below and update the code to test verifyAppAttestVerifyAppPost
|
|
124
|
+
//instance.verifyAppAttestVerifyAppPost(function(error) {
|
|
125
|
+
// if (error) throw error;
|
|
126
|
+
//expect().to.be();
|
|
127
|
+
//});
|
|
128
|
+
done();
|
|
129
|
+
});
|
|
130
|
+
});
|
|
131
|
+
});
|
|
132
|
+
|
|
133
|
+
}));
|
|
@@ -0,0 +1,93 @@
|
|
|
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.VeriffApi();
|
|
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('VeriffApi', function() {
|
|
51
|
+
describe('createVeriffSessionVeriffSessionPost', function() {
|
|
52
|
+
it('should call createVeriffSessionVeriffSessionPost successfully', function(done) {
|
|
53
|
+
//uncomment below and update the code to test createVeriffSessionVeriffSessionPost
|
|
54
|
+
//instance.createVeriffSessionVeriffSessionPost(function(error) {
|
|
55
|
+
// if (error) throw error;
|
|
56
|
+
//expect().to.be();
|
|
57
|
+
//});
|
|
58
|
+
done();
|
|
59
|
+
});
|
|
60
|
+
});
|
|
61
|
+
describe('pollVeriffSessionVeriffPollSessionSessionIdPatch', function() {
|
|
62
|
+
it('should call pollVeriffSessionVeriffPollSessionSessionIdPatch successfully', function(done) {
|
|
63
|
+
//uncomment below and update the code to test pollVeriffSessionVeriffPollSessionSessionIdPatch
|
|
64
|
+
//instance.pollVeriffSessionVeriffPollSessionSessionIdPatch(function(error) {
|
|
65
|
+
// if (error) throw error;
|
|
66
|
+
//expect().to.be();
|
|
67
|
+
//});
|
|
68
|
+
done();
|
|
69
|
+
});
|
|
70
|
+
});
|
|
71
|
+
describe('uploadVeriffMediaVeriffUploadMediaSessionIdPost', function() {
|
|
72
|
+
it('should call uploadVeriffMediaVeriffUploadMediaSessionIdPost successfully', function(done) {
|
|
73
|
+
//uncomment below and update the code to test uploadVeriffMediaVeriffUploadMediaSessionIdPost
|
|
74
|
+
//instance.uploadVeriffMediaVeriffUploadMediaSessionIdPost(function(error) {
|
|
75
|
+
// if (error) throw error;
|
|
76
|
+
//expect().to.be();
|
|
77
|
+
//});
|
|
78
|
+
done();
|
|
79
|
+
});
|
|
80
|
+
});
|
|
81
|
+
describe('veriffWebhookVeriffWebhookPost', function() {
|
|
82
|
+
it('should call veriffWebhookVeriffWebhookPost successfully', function(done) {
|
|
83
|
+
//uncomment below and update the code to test veriffWebhookVeriffWebhookPost
|
|
84
|
+
//instance.veriffWebhookVeriffWebhookPost(function(error) {
|
|
85
|
+
// if (error) throw error;
|
|
86
|
+
//expect().to.be();
|
|
87
|
+
//});
|
|
88
|
+
done();
|
|
89
|
+
});
|
|
90
|
+
});
|
|
91
|
+
});
|
|
92
|
+
|
|
93
|
+
}));
|
|
@@ -0,0 +1,213 @@
|
|
|
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.ZoomApi();
|
|
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('ZoomApi', function() {
|
|
51
|
+
describe('cookietestCookietestGet', function() {
|
|
52
|
+
it('should call cookietestCookietestGet successfully', function(done) {
|
|
53
|
+
//uncomment below and update the code to test cookietestCookietestGet
|
|
54
|
+
//instance.cookietestCookietestGet(function(error) {
|
|
55
|
+
// if (error) throw error;
|
|
56
|
+
//expect().to.be();
|
|
57
|
+
//});
|
|
58
|
+
done();
|
|
59
|
+
});
|
|
60
|
+
});
|
|
61
|
+
describe('generateMeetingReportZoomPhoneReportsMeetingPost', function() {
|
|
62
|
+
it('should call generateMeetingReportZoomPhoneReportsMeetingPost successfully', function(done) {
|
|
63
|
+
//uncomment below and update the code to test generateMeetingReportZoomPhoneReportsMeetingPost
|
|
64
|
+
//instance.generateMeetingReportZoomPhoneReportsMeetingPost(function(error) {
|
|
65
|
+
// if (error) throw error;
|
|
66
|
+
//expect().to.be();
|
|
67
|
+
//});
|
|
68
|
+
done();
|
|
69
|
+
});
|
|
70
|
+
});
|
|
71
|
+
describe('getMeetingDetailsZoomPhoneLogsMeetingDetailsPost', function() {
|
|
72
|
+
it('should call getMeetingDetailsZoomPhoneLogsMeetingDetailsPost successfully', function(done) {
|
|
73
|
+
//uncomment below and update the code to test getMeetingDetailsZoomPhoneLogsMeetingDetailsPost
|
|
74
|
+
//instance.getMeetingDetailsZoomPhoneLogsMeetingDetailsPost(function(error) {
|
|
75
|
+
// if (error) throw error;
|
|
76
|
+
//expect().to.be();
|
|
77
|
+
//});
|
|
78
|
+
done();
|
|
79
|
+
});
|
|
80
|
+
});
|
|
81
|
+
describe('getTicketZoomPhoneTicketAccountIdPost', function() {
|
|
82
|
+
it('should call getTicketZoomPhoneTicketAccountIdPost successfully', function(done) {
|
|
83
|
+
//uncomment below and update the code to test getTicketZoomPhoneTicketAccountIdPost
|
|
84
|
+
//instance.getTicketZoomPhoneTicketAccountIdPost(function(error) {
|
|
85
|
+
// if (error) throw error;
|
|
86
|
+
//expect().to.be();
|
|
87
|
+
//});
|
|
88
|
+
done();
|
|
89
|
+
});
|
|
90
|
+
});
|
|
91
|
+
describe('getUserLogsZoomPhoneLogsPolyUserIdGet', function() {
|
|
92
|
+
it('should call getUserLogsZoomPhoneLogsPolyUserIdGet successfully', function(done) {
|
|
93
|
+
//uncomment below and update the code to test getUserLogsZoomPhoneLogsPolyUserIdGet
|
|
94
|
+
//instance.getUserLogsZoomPhoneLogsPolyUserIdGet(function(error) {
|
|
95
|
+
// if (error) throw error;
|
|
96
|
+
//expect().to.be();
|
|
97
|
+
//});
|
|
98
|
+
done();
|
|
99
|
+
});
|
|
100
|
+
});
|
|
101
|
+
describe('meetingJwtMeetingjwtPost', function() {
|
|
102
|
+
it('should call meetingJwtMeetingjwtPost successfully', function(done) {
|
|
103
|
+
//uncomment below and update the code to test meetingJwtMeetingjwtPost
|
|
104
|
+
//instance.meetingJwtMeetingjwtPost(function(error) {
|
|
105
|
+
// if (error) throw error;
|
|
106
|
+
//expect().to.be();
|
|
107
|
+
//});
|
|
108
|
+
done();
|
|
109
|
+
});
|
|
110
|
+
});
|
|
111
|
+
describe('redirectToAppStoreZoomPhoneAppStoreGet', function() {
|
|
112
|
+
it('should call redirectToAppStoreZoomPhoneAppStoreGet successfully', function(done) {
|
|
113
|
+
//uncomment below and update the code to test redirectToAppStoreZoomPhoneAppStoreGet
|
|
114
|
+
//instance.redirectToAppStoreZoomPhoneAppStoreGet(function(error) {
|
|
115
|
+
// if (error) throw error;
|
|
116
|
+
//expect().to.be();
|
|
117
|
+
//});
|
|
118
|
+
done();
|
|
119
|
+
});
|
|
120
|
+
});
|
|
121
|
+
describe('redirectToMeetingReportZoomPhoneReportsMeetingEncodedS3UrlGet', function() {
|
|
122
|
+
it('should call redirectToMeetingReportZoomPhoneReportsMeetingEncodedS3UrlGet successfully', function(done) {
|
|
123
|
+
//uncomment below and update the code to test redirectToMeetingReportZoomPhoneReportsMeetingEncodedS3UrlGet
|
|
124
|
+
//instance.redirectToMeetingReportZoomPhoneReportsMeetingEncodedS3UrlGet(function(error) {
|
|
125
|
+
// if (error) throw error;
|
|
126
|
+
//expect().to.be();
|
|
127
|
+
//});
|
|
128
|
+
done();
|
|
129
|
+
});
|
|
130
|
+
});
|
|
131
|
+
describe('testWebsocketDisconnectZoomPhoneTestDisconnectPost', function() {
|
|
132
|
+
it('should call testWebsocketDisconnectZoomPhoneTestDisconnectPost successfully', function(done) {
|
|
133
|
+
//uncomment below and update the code to test testWebsocketDisconnectZoomPhoneTestDisconnectPost
|
|
134
|
+
//instance.testWebsocketDisconnectZoomPhoneTestDisconnectPost(function(error) {
|
|
135
|
+
// if (error) throw error;
|
|
136
|
+
//expect().to.be();
|
|
137
|
+
//});
|
|
138
|
+
done();
|
|
139
|
+
});
|
|
140
|
+
});
|
|
141
|
+
describe('webhookWebhookPost', function() {
|
|
142
|
+
it('should call webhookWebhookPost successfully', function(done) {
|
|
143
|
+
//uncomment below and update the code to test webhookWebhookPost
|
|
144
|
+
//instance.webhookWebhookPost(function(error) {
|
|
145
|
+
// if (error) throw error;
|
|
146
|
+
//expect().to.be();
|
|
147
|
+
//});
|
|
148
|
+
done();
|
|
149
|
+
});
|
|
150
|
+
});
|
|
151
|
+
describe('zoomCallbackZoomCallbackPost', function() {
|
|
152
|
+
it('should call zoomCallbackZoomCallbackPost successfully', function(done) {
|
|
153
|
+
//uncomment below and update the code to test zoomCallbackZoomCallbackPost
|
|
154
|
+
//instance.zoomCallbackZoomCallbackPost(function(error) {
|
|
155
|
+
// if (error) throw error;
|
|
156
|
+
//expect().to.be();
|
|
157
|
+
//});
|
|
158
|
+
done();
|
|
159
|
+
});
|
|
160
|
+
});
|
|
161
|
+
describe('zoomInstallInstallGet', function() {
|
|
162
|
+
it('should call zoomInstallInstallGet successfully', function(done) {
|
|
163
|
+
//uncomment below and update the code to test zoomInstallInstallGet
|
|
164
|
+
//instance.zoomInstallInstallGet(function(error) {
|
|
165
|
+
// if (error) throw error;
|
|
166
|
+
//expect().to.be();
|
|
167
|
+
//});
|
|
168
|
+
done();
|
|
169
|
+
});
|
|
170
|
+
});
|
|
171
|
+
describe('zoomInstallInstallPost', function() {
|
|
172
|
+
it('should call zoomInstallInstallPost successfully', function(done) {
|
|
173
|
+
//uncomment below and update the code to test zoomInstallInstallPost
|
|
174
|
+
//instance.zoomInstallInstallPost(function(error) {
|
|
175
|
+
// if (error) throw error;
|
|
176
|
+
//expect().to.be();
|
|
177
|
+
//});
|
|
178
|
+
done();
|
|
179
|
+
});
|
|
180
|
+
});
|
|
181
|
+
describe('zoomPhoneInstallZoomPhoneInstallGet', function() {
|
|
182
|
+
it('should call zoomPhoneInstallZoomPhoneInstallGet successfully', function(done) {
|
|
183
|
+
//uncomment below and update the code to test zoomPhoneInstallZoomPhoneInstallGet
|
|
184
|
+
//instance.zoomPhoneInstallZoomPhoneInstallGet(function(error) {
|
|
185
|
+
// if (error) throw error;
|
|
186
|
+
//expect().to.be();
|
|
187
|
+
//});
|
|
188
|
+
done();
|
|
189
|
+
});
|
|
190
|
+
});
|
|
191
|
+
describe('zoomPhoneInstallZoomPhoneInstallPost', function() {
|
|
192
|
+
it('should call zoomPhoneInstallZoomPhoneInstallPost successfully', function(done) {
|
|
193
|
+
//uncomment below and update the code to test zoomPhoneInstallZoomPhoneInstallPost
|
|
194
|
+
//instance.zoomPhoneInstallZoomPhoneInstallPost(function(error) {
|
|
195
|
+
// if (error) throw error;
|
|
196
|
+
//expect().to.be();
|
|
197
|
+
//});
|
|
198
|
+
done();
|
|
199
|
+
});
|
|
200
|
+
});
|
|
201
|
+
describe('zoomWebhookZoomPhoneWebhookPost', function() {
|
|
202
|
+
it('should call zoomWebhookZoomPhoneWebhookPost successfully', function(done) {
|
|
203
|
+
//uncomment below and update the code to test zoomWebhookZoomPhoneWebhookPost
|
|
204
|
+
//instance.zoomWebhookZoomPhoneWebhookPost(function(error) {
|
|
205
|
+
// if (error) throw error;
|
|
206
|
+
//expect().to.be();
|
|
207
|
+
//});
|
|
208
|
+
done();
|
|
209
|
+
});
|
|
210
|
+
});
|
|
211
|
+
});
|
|
212
|
+
|
|
213
|
+
}));
|
|
@@ -0,0 +1,119 @@
|
|
|
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.ApiControllersPslStirCallRequest();
|
|
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('ApiControllersPslStirCallRequest', function() {
|
|
51
|
+
it('should create an instance of ApiControllersPslStirCallRequest', function() {
|
|
52
|
+
// uncomment below and update the code to test ApiControllersPslStirCallRequest
|
|
53
|
+
//var instance = new FastApi.ApiControllersPslStirCallRequest();
|
|
54
|
+
//expect(instance).to.be.a(FastApi.ApiControllersPslStirCallRequest);
|
|
55
|
+
});
|
|
56
|
+
|
|
57
|
+
it('should have the property callerName (base name: "caller_name")', function() {
|
|
58
|
+
// uncomment below and update the code to test the property callerName
|
|
59
|
+
//var instance = new FastApi.ApiControllersPslStirCallRequest();
|
|
60
|
+
//expect(instance).to.be();
|
|
61
|
+
});
|
|
62
|
+
|
|
63
|
+
it('should have the property callerNumber (base name: "caller_number")', function() {
|
|
64
|
+
// uncomment below and update the code to test the property callerNumber
|
|
65
|
+
//var instance = new FastApi.ApiControllersPslStirCallRequest();
|
|
66
|
+
//expect(instance).to.be();
|
|
67
|
+
});
|
|
68
|
+
|
|
69
|
+
it('should have the property recipientNumber (base name: "recipient_number")', function() {
|
|
70
|
+
// uncomment below and update the code to test the property recipientNumber
|
|
71
|
+
//var instance = new FastApi.ApiControllersPslStirCallRequest();
|
|
72
|
+
//expect(instance).to.be();
|
|
73
|
+
});
|
|
74
|
+
|
|
75
|
+
it('should have the property certainty (base name: "certainty")', function() {
|
|
76
|
+
// uncomment below and update the code to test the property certainty
|
|
77
|
+
//var instance = new FastApi.ApiControllersPslStirCallRequest();
|
|
78
|
+
//expect(instance).to.be();
|
|
79
|
+
});
|
|
80
|
+
|
|
81
|
+
it('should have the property e2eeStatus (base name: "e2ee_status")', function() {
|
|
82
|
+
// uncomment below and update the code to test the property e2eeStatus
|
|
83
|
+
//var instance = new FastApi.ApiControllersPslStirCallRequest();
|
|
84
|
+
//expect(instance).to.be();
|
|
85
|
+
});
|
|
86
|
+
|
|
87
|
+
it('should have the property verifiedVia (base name: "verified_via")', function() {
|
|
88
|
+
// uncomment below and update the code to test the property verifiedVia
|
|
89
|
+
//var instance = new FastApi.ApiControllersPslStirCallRequest();
|
|
90
|
+
//expect(instance).to.be();
|
|
91
|
+
});
|
|
92
|
+
|
|
93
|
+
it('should have the property verificationTime (base name: "verification_time")', function() {
|
|
94
|
+
// uncomment below and update the code to test the property verificationTime
|
|
95
|
+
//var instance = new FastApi.ApiControllersPslStirCallRequest();
|
|
96
|
+
//expect(instance).to.be();
|
|
97
|
+
});
|
|
98
|
+
|
|
99
|
+
it('should have the property lastCall (base name: "last_call")', function() {
|
|
100
|
+
// uncomment below and update the code to test the property lastCall
|
|
101
|
+
//var instance = new FastApi.ApiControllersPslStirCallRequest();
|
|
102
|
+
//expect(instance).to.be();
|
|
103
|
+
});
|
|
104
|
+
|
|
105
|
+
it('should have the property securityGrade (base name: "security_grade")', function() {
|
|
106
|
+
// uncomment below and update the code to test the property securityGrade
|
|
107
|
+
//var instance = new FastApi.ApiControllersPslStirCallRequest();
|
|
108
|
+
//expect(instance).to.be();
|
|
109
|
+
});
|
|
110
|
+
|
|
111
|
+
it('should have the property securityScore (base name: "security_score")', function() {
|
|
112
|
+
// uncomment below and update the code to test the property securityScore
|
|
113
|
+
//var instance = new FastApi.ApiControllersPslStirCallRequest();
|
|
114
|
+
//expect(instance).to.be();
|
|
115
|
+
});
|
|
116
|
+
|
|
117
|
+
});
|
|
118
|
+
|
|
119
|
+
}));
|