@polyguard/sdk 1.4.2 → 1.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +200 -0
- package/README.md +328 -0
- package/dist/sdk.esm.js +16 -4
- package/dist/sdk.js +16 -4
- package/dist/server.esm.js +83 -0
- package/package.json +14 -3
- package/dist/sdk.global.js +0 -11256
- package/scripts/regenerate-client.sh +0 -59
- package/src/PolyguardClient.js +0 -25
- package/src/PolyguardWebsocketClientImpl.js +0 -183
- package/src/__tests__/PolyguardClient.test.js +0 -65
- package/src/__tests__/PolyguardWebsocketClientImpl.test.js +0 -574
- package/src/__tests__/helpers/fixtures.js +0 -27
- package/src/__tests__/helpers/mockWebSocket.js +0 -66
- package/src/__tests__/sidebar.test.js +0 -289
- package/src/browser.js +0 -9
- package/src/generated/.babelrc +0 -33
- package/src/generated/.openapi-generator/FILES +0 -63
- package/src/generated/.openapi-generator/VERSION +0 -1
- package/src/generated/.openapi-generator-ignore +0 -23
- package/src/generated/.travis.yml +0 -5
- package/src/generated/README.md +0 -211
- package/src/generated/docs/ApiControllersPslStirCallRequest.md +0 -18
- package/src/generated/docs/ApiModelsApiCallModelsCallRequest.md +0 -12
- package/src/generated/docs/AppId.md +0 -8
- package/src/generated/docs/AppleApi.md +0 -88
- package/src/generated/docs/AuthApi.md +0 -1464
- package/src/generated/docs/BlockingApi.md +0 -208
- package/src/generated/docs/CallsApi.md +0 -140
- package/src/generated/docs/Certainty.md +0 -8
- package/src/generated/docs/CreateLinkRequest.md +0 -12
- package/src/generated/docs/DefaultApi.md +0 -128
- package/src/generated/docs/HTTPValidationError.md +0 -9
- package/src/generated/docs/InviteRequestModel.md +0 -10
- package/src/generated/docs/JWTRequest.md +0 -11
- package/src/generated/docs/LinksApi.md +0 -162
- package/src/generated/docs/NumberVerification.md +0 -10
- package/src/generated/docs/SdkApi.md +0 -54
- package/src/generated/docs/SecureLinksApi.md +0 -614
- package/src/generated/docs/StartAttestationRequest.md +0 -9
- package/src/generated/docs/StartMeetingRequest.md +0 -9
- package/src/generated/docs/StirApi.md +0 -52
- package/src/generated/docs/TwilioApi.md +0 -138
- package/src/generated/docs/UsersApi.md +0 -362
- package/src/generated/docs/ValidationError.md +0 -11
- package/src/generated/docs/ValidationErrorLocInner.md +0 -8
- package/src/generated/docs/VeriffApi.md +0 -188
- package/src/generated/docs/VeriffSessionRequest.md +0 -10
- package/src/generated/docs/VerifyRequest.md +0 -10
- package/src/generated/docs/WellKnownApi.md +0 -128
- package/src/generated/docs/ZoomApi.md +0 -848
- package/src/generated/git_push.sh +0 -57
- package/src/generated/mocha.opts +0 -1
- package/src/generated/package.json +0 -46
- package/src/generated/src/ApiClient.js +0 -677
- package/src/generated/src/api/AppleApi.js +0 -109
- package/src/generated/src/api/AuthApi.js +0 -1512
- package/src/generated/src/api/BlockingApi.js +0 -217
- package/src/generated/src/api/CallsApi.js +0 -164
- package/src/generated/src/api/DefaultApi.js +0 -145
- package/src/generated/src/api/LinksApi.js +0 -195
- package/src/generated/src/api/SdkApi.js +0 -81
- package/src/generated/src/api/SecureLinksApi.js +0 -670
- package/src/generated/src/api/StirApi.js +0 -80
- package/src/generated/src/api/TwilioApi.js +0 -158
- package/src/generated/src/api/UsersApi.js +0 -375
- package/src/generated/src/api/VeriffApi.js +0 -209
- package/src/generated/src/api/WellKnownApi.js +0 -145
- package/src/generated/src/api/ZoomApi.js +0 -823
- package/src/generated/src/index.js +0 -244
- package/src/generated/src/model/ApiControllersPslStirCallRequest.js +0 -211
- package/src/generated/src/model/ApiModelsApiCallModelsCallRequest.js +0 -119
- package/src/generated/src/model/CreateLinkRequest.js +0 -131
- package/src/generated/src/model/HTTPValidationError.js +0 -94
- package/src/generated/src/model/InviteRequestModel.js +0 -109
- package/src/generated/src/model/JWTRequest.js +0 -113
- package/src/generated/src/model/NumberVerification.js +0 -107
- package/src/generated/src/model/StartAttestationRequest.js +0 -95
- package/src/generated/src/model/StartMeetingRequest.js +0 -95
- package/src/generated/src/model/ValidationError.js +0 -130
- package/src/generated/src/model/VeriffSessionRequest.js +0 -107
- package/src/generated/src/model/VerifyRequest.js +0 -109
- package/src/generated/test/api/AppleApi.spec.js +0 -73
- package/src/generated/test/api/AuthApi.spec.js +0 -353
- package/src/generated/test/api/BlockingApi.spec.js +0 -103
- package/src/generated/test/api/CallsApi.spec.js +0 -83
- package/src/generated/test/api/DefaultApi.spec.js +0 -73
- package/src/generated/test/api/LinksApi.spec.js +0 -83
- package/src/generated/test/api/SdkApi.spec.js +0 -63
- package/src/generated/test/api/SecureLinksApi.spec.js +0 -143
- package/src/generated/test/api/StirApi.spec.js +0 -63
- package/src/generated/test/api/TwilioApi.spec.js +0 -83
- package/src/generated/test/api/UsersApi.spec.js +0 -133
- package/src/generated/test/api/VeriffApi.spec.js +0 -93
- package/src/generated/test/api/WellKnownApi.spec.js +0 -83
- package/src/generated/test/api/ZoomApi.spec.js +0 -213
- package/src/generated/test/model/ApiControllersPslStirCallRequest.spec.js +0 -119
- package/src/generated/test/model/ApiModelsApiCallModelsCallRequest.spec.js +0 -83
- package/src/generated/test/model/AppId.spec.js +0 -59
- package/src/generated/test/model/Certainty.spec.js +0 -59
- package/src/generated/test/model/CreateLinkRequest.spec.js +0 -83
- package/src/generated/test/model/HTTPValidationError.spec.js +0 -65
- package/src/generated/test/model/InviteRequestModel.spec.js +0 -71
- package/src/generated/test/model/JWTRequest.spec.js +0 -77
- package/src/generated/test/model/NumberVerification.spec.js +0 -71
- package/src/generated/test/model/StartAttestationRequest.spec.js +0 -65
- package/src/generated/test/model/StartMeetingRequest.spec.js +0 -65
- package/src/generated/test/model/ValidationError.spec.js +0 -77
- package/src/generated/test/model/ValidationErrorLocInner.spec.js +0 -59
- package/src/generated/test/model/VeriffSessionRequest.spec.js +0 -71
- package/src/generated/test/model/VerifyRequest.spec.js +0 -71
- package/src/index.js +0 -16
- package/src/messageHandler.js +0 -121
- package/src/ticketService.js +0 -24
- package/src/ui.js +0 -88
- package/vitest.config.js +0 -10
|
@@ -1,83 +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
|
-
(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
|
-
}));
|
|
@@ -1,63 +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
|
-
(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
|
-
}));
|
|
@@ -1,143 +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
|
-
(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
|
-
}));
|
|
@@ -1,63 +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
|
-
(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.StirApi();
|
|
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('StirApi', function() {
|
|
51
|
-
describe('callInitiationStirCallInitiationPost', function() {
|
|
52
|
-
it('should call callInitiationStirCallInitiationPost successfully', function(done) {
|
|
53
|
-
//uncomment below and update the code to test callInitiationStirCallInitiationPost
|
|
54
|
-
//instance.callInitiationStirCallInitiationPost(function(error) {
|
|
55
|
-
// if (error) throw error;
|
|
56
|
-
//expect().to.be();
|
|
57
|
-
//});
|
|
58
|
-
done();
|
|
59
|
-
});
|
|
60
|
-
});
|
|
61
|
-
});
|
|
62
|
-
|
|
63
|
-
}));
|
|
@@ -1,83 +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
|
-
(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
|
-
}));
|
|
@@ -1,133 +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
|
-
(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
|
-
}));
|
|
@@ -1,93 +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
|
-
(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
|
-
}));
|