@polyguard/sdk 1.5.0 → 1.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (134) hide show
  1. package/LICENSE +200 -0
  2. package/README.md +328 -0
  3. package/package.json +7 -3
  4. package/coverage/base.css +0 -224
  5. package/coverage/block-navigation.js +0 -87
  6. package/coverage/clover.xml +0 -268
  7. package/coverage/coverage-final.json +0 -8
  8. package/coverage/favicon.png +0 -0
  9. package/coverage/index.html +0 -131
  10. package/coverage/prettify.css +0 -1
  11. package/coverage/prettify.js +0 -2
  12. package/coverage/sort-arrow-sprite.png +0 -0
  13. package/coverage/sorter.js +0 -210
  14. package/coverage/src/PolyguardClient.js.html +0 -160
  15. package/coverage/src/PolyguardWebsocketClientImpl.js.html +0 -634
  16. package/coverage/src/__tests__/helpers/fixtures.js.html +0 -166
  17. package/coverage/src/__tests__/helpers/index.html +0 -131
  18. package/coverage/src/__tests__/helpers/mockWebSocket.js.html +0 -283
  19. package/coverage/src/index.html +0 -176
  20. package/coverage/src/messageHandler.js.html +0 -448
  21. package/coverage/src/ticketService.js.html +0 -157
  22. package/coverage/src/ui.js.html +0 -349
  23. package/dist/sdk.global.js +0 -11256
  24. package/scripts/regenerate-client.sh +0 -59
  25. package/src/PolyguardClient.js +0 -25
  26. package/src/PolyguardWebsocketClientImpl.js +0 -198
  27. package/src/__tests__/PolyguardClient.test.js +0 -65
  28. package/src/__tests__/PolyguardWebsocketClientImpl.test.js +0 -617
  29. package/src/__tests__/helpers/fixtures.js +0 -27
  30. package/src/__tests__/helpers/mockWebSocket.js +0 -66
  31. package/src/__tests__/server.test.js +0 -148
  32. package/src/__tests__/sidebar.test.js +0 -289
  33. package/src/browser.js +0 -9
  34. package/src/generated/.babelrc +0 -33
  35. package/src/generated/.openapi-generator/FILES +0 -63
  36. package/src/generated/.openapi-generator/VERSION +0 -1
  37. package/src/generated/.openapi-generator-ignore +0 -23
  38. package/src/generated/.travis.yml +0 -5
  39. package/src/generated/README.md +0 -211
  40. package/src/generated/docs/ApiControllersPslStirCallRequest.md +0 -18
  41. package/src/generated/docs/ApiModelsApiCallModelsCallRequest.md +0 -12
  42. package/src/generated/docs/AppId.md +0 -8
  43. package/src/generated/docs/AppleApi.md +0 -88
  44. package/src/generated/docs/AuthApi.md +0 -1464
  45. package/src/generated/docs/BlockingApi.md +0 -208
  46. package/src/generated/docs/CallsApi.md +0 -140
  47. package/src/generated/docs/Certainty.md +0 -8
  48. package/src/generated/docs/CreateLinkRequest.md +0 -12
  49. package/src/generated/docs/DefaultApi.md +0 -128
  50. package/src/generated/docs/HTTPValidationError.md +0 -9
  51. package/src/generated/docs/InviteRequestModel.md +0 -10
  52. package/src/generated/docs/JWTRequest.md +0 -11
  53. package/src/generated/docs/LinksApi.md +0 -162
  54. package/src/generated/docs/NumberVerification.md +0 -10
  55. package/src/generated/docs/SdkApi.md +0 -54
  56. package/src/generated/docs/SecureLinksApi.md +0 -614
  57. package/src/generated/docs/StartAttestationRequest.md +0 -9
  58. package/src/generated/docs/StartMeetingRequest.md +0 -9
  59. package/src/generated/docs/StirApi.md +0 -52
  60. package/src/generated/docs/TwilioApi.md +0 -138
  61. package/src/generated/docs/UsersApi.md +0 -362
  62. package/src/generated/docs/ValidationError.md +0 -11
  63. package/src/generated/docs/ValidationErrorLocInner.md +0 -8
  64. package/src/generated/docs/VeriffApi.md +0 -188
  65. package/src/generated/docs/VeriffSessionRequest.md +0 -10
  66. package/src/generated/docs/VerifyRequest.md +0 -10
  67. package/src/generated/docs/WellKnownApi.md +0 -128
  68. package/src/generated/docs/ZoomApi.md +0 -848
  69. package/src/generated/git_push.sh +0 -57
  70. package/src/generated/mocha.opts +0 -1
  71. package/src/generated/package.json +0 -46
  72. package/src/generated/src/ApiClient.js +0 -677
  73. package/src/generated/src/api/AppleApi.js +0 -109
  74. package/src/generated/src/api/AuthApi.js +0 -1512
  75. package/src/generated/src/api/BlockingApi.js +0 -217
  76. package/src/generated/src/api/CallsApi.js +0 -164
  77. package/src/generated/src/api/DefaultApi.js +0 -145
  78. package/src/generated/src/api/LinksApi.js +0 -195
  79. package/src/generated/src/api/SdkApi.js +0 -81
  80. package/src/generated/src/api/SecureLinksApi.js +0 -670
  81. package/src/generated/src/api/StirApi.js +0 -80
  82. package/src/generated/src/api/TwilioApi.js +0 -158
  83. package/src/generated/src/api/UsersApi.js +0 -375
  84. package/src/generated/src/api/VeriffApi.js +0 -209
  85. package/src/generated/src/api/WellKnownApi.js +0 -145
  86. package/src/generated/src/api/ZoomApi.js +0 -823
  87. package/src/generated/src/index.js +0 -244
  88. package/src/generated/src/model/ApiControllersPslStirCallRequest.js +0 -211
  89. package/src/generated/src/model/ApiModelsApiCallModelsCallRequest.js +0 -119
  90. package/src/generated/src/model/CreateLinkRequest.js +0 -131
  91. package/src/generated/src/model/HTTPValidationError.js +0 -94
  92. package/src/generated/src/model/InviteRequestModel.js +0 -109
  93. package/src/generated/src/model/JWTRequest.js +0 -113
  94. package/src/generated/src/model/NumberVerification.js +0 -107
  95. package/src/generated/src/model/StartAttestationRequest.js +0 -95
  96. package/src/generated/src/model/StartMeetingRequest.js +0 -95
  97. package/src/generated/src/model/ValidationError.js +0 -130
  98. package/src/generated/src/model/VeriffSessionRequest.js +0 -107
  99. package/src/generated/src/model/VerifyRequest.js +0 -109
  100. package/src/generated/test/api/AppleApi.spec.js +0 -73
  101. package/src/generated/test/api/AuthApi.spec.js +0 -353
  102. package/src/generated/test/api/BlockingApi.spec.js +0 -103
  103. package/src/generated/test/api/CallsApi.spec.js +0 -83
  104. package/src/generated/test/api/DefaultApi.spec.js +0 -73
  105. package/src/generated/test/api/LinksApi.spec.js +0 -83
  106. package/src/generated/test/api/SdkApi.spec.js +0 -63
  107. package/src/generated/test/api/SecureLinksApi.spec.js +0 -143
  108. package/src/generated/test/api/StirApi.spec.js +0 -63
  109. package/src/generated/test/api/TwilioApi.spec.js +0 -83
  110. package/src/generated/test/api/UsersApi.spec.js +0 -133
  111. package/src/generated/test/api/VeriffApi.spec.js +0 -93
  112. package/src/generated/test/api/WellKnownApi.spec.js +0 -83
  113. package/src/generated/test/api/ZoomApi.spec.js +0 -213
  114. package/src/generated/test/model/ApiControllersPslStirCallRequest.spec.js +0 -119
  115. package/src/generated/test/model/ApiModelsApiCallModelsCallRequest.spec.js +0 -83
  116. package/src/generated/test/model/AppId.spec.js +0 -59
  117. package/src/generated/test/model/Certainty.spec.js +0 -59
  118. package/src/generated/test/model/CreateLinkRequest.spec.js +0 -83
  119. package/src/generated/test/model/HTTPValidationError.spec.js +0 -65
  120. package/src/generated/test/model/InviteRequestModel.spec.js +0 -71
  121. package/src/generated/test/model/JWTRequest.spec.js +0 -77
  122. package/src/generated/test/model/NumberVerification.spec.js +0 -71
  123. package/src/generated/test/model/StartAttestationRequest.spec.js +0 -65
  124. package/src/generated/test/model/StartMeetingRequest.spec.js +0 -65
  125. package/src/generated/test/model/ValidationError.spec.js +0 -77
  126. package/src/generated/test/model/ValidationErrorLocInner.spec.js +0 -59
  127. package/src/generated/test/model/VeriffSessionRequest.spec.js +0 -71
  128. package/src/generated/test/model/VerifyRequest.spec.js +0 -71
  129. package/src/index.js +0 -16
  130. package/src/messageHandler.js +0 -121
  131. package/src/server.js +0 -91
  132. package/src/ticketService.js +0 -28
  133. package/src/ui.js +0 -88
  134. package/vitest.config.js +0 -10
@@ -1,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.CreateLinkRequest();
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('CreateLinkRequest', function() {
51
- it('should create an instance of CreateLinkRequest', function() {
52
- // uncomment below and update the code to test CreateLinkRequest
53
- //var instance = new FastApi.CreateLinkRequest();
54
- //expect(instance).to.be.a(FastApi.CreateLinkRequest);
55
- });
56
-
57
- it('should have the property accountId (base name: "accountId")', function() {
58
- // uncomment below and update the code to test the property accountId
59
- //var instance = new FastApi.CreateLinkRequest();
60
- //expect(instance).to.be();
61
- });
62
-
63
- it('should have the property title (base name: "title")', function() {
64
- // uncomment below and update the code to test the property title
65
- //var instance = new FastApi.CreateLinkRequest();
66
- //expect(instance).to.be();
67
- });
68
-
69
- it('should have the property requiredProofs (base name: "requiredProofs")', function() {
70
- // uncomment below and update the code to test the property requiredProofs
71
- //var instance = new FastApi.CreateLinkRequest();
72
- //expect(instance).to.be();
73
- });
74
-
75
- it('should have the property e2ee (base name: "e2ee")', function() {
76
- // uncomment below and update the code to test the property e2ee
77
- //var instance = new FastApi.CreateLinkRequest();
78
- //expect(instance).to.be();
79
- });
80
-
81
- });
82
-
83
- }));
@@ -1,65 +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.HTTPValidationError();
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('HTTPValidationError', function() {
51
- it('should create an instance of HTTPValidationError', function() {
52
- // uncomment below and update the code to test HTTPValidationError
53
- //var instance = new FastApi.HTTPValidationError();
54
- //expect(instance).to.be.a(FastApi.HTTPValidationError);
55
- });
56
-
57
- it('should have the property detail (base name: "detail")', function() {
58
- // uncomment below and update the code to test the property detail
59
- //var instance = new FastApi.HTTPValidationError();
60
- //expect(instance).to.be();
61
- });
62
-
63
- });
64
-
65
- }));
@@ -1,71 +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.InviteRequestModel();
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('InviteRequestModel', function() {
51
- it('should create an instance of InviteRequestModel', function() {
52
- // uncomment below and update the code to test InviteRequestModel
53
- //var instance = new FastApi.InviteRequestModel();
54
- //expect(instance).to.be.a(FastApi.InviteRequestModel);
55
- });
56
-
57
- it('should have the property polyUserId (base name: "poly_user_id")', function() {
58
- // uncomment below and update the code to test the property polyUserId
59
- //var instance = new FastApi.InviteRequestModel();
60
- //expect(instance).to.be();
61
- });
62
-
63
- it('should have the property phoneNumber (base name: "phone_number")', function() {
64
- // uncomment below and update the code to test the property phoneNumber
65
- //var instance = new FastApi.InviteRequestModel();
66
- //expect(instance).to.be();
67
- });
68
-
69
- });
70
-
71
- }));
@@ -1,77 +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.JWTRequest();
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('JWTRequest', function() {
51
- it('should create an instance of JWTRequest', function() {
52
- // uncomment below and update the code to test JWTRequest
53
- //var instance = new FastApi.JWTRequest();
54
- //expect(instance).to.be.a(FastApi.JWTRequest);
55
- });
56
-
57
- it('should have the property meetingNumber (base name: "meetingNumber")', function() {
58
- // uncomment below and update the code to test the property meetingNumber
59
- //var instance = new FastApi.JWTRequest();
60
- //expect(instance).to.be();
61
- });
62
-
63
- it('should have the property role (base name: "role")', function() {
64
- // uncomment below and update the code to test the property role
65
- //var instance = new FastApi.JWTRequest();
66
- //expect(instance).to.be();
67
- });
68
-
69
- it('should have the property expirationSeconds (base name: "expirationSeconds")', function() {
70
- // uncomment below and update the code to test the property expirationSeconds
71
- //var instance = new FastApi.JWTRequest();
72
- //expect(instance).to.be();
73
- });
74
-
75
- });
76
-
77
- }));
@@ -1,71 +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.NumberVerification();
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('NumberVerification', function() {
51
- it('should create an instance of NumberVerification', function() {
52
- // uncomment below and update the code to test NumberVerification
53
- //var instance = new FastApi.NumberVerification();
54
- //expect(instance).to.be.a(FastApi.NumberVerification);
55
- });
56
-
57
- it('should have the property phoneNumber (base name: "phone_number")', function() {
58
- // uncomment below and update the code to test the property phoneNumber
59
- //var instance = new FastApi.NumberVerification();
60
- //expect(instance).to.be();
61
- });
62
-
63
- it('should have the property verificationCode (base name: "verification_code")', function() {
64
- // uncomment below and update the code to test the property verificationCode
65
- //var instance = new FastApi.NumberVerification();
66
- //expect(instance).to.be();
67
- });
68
-
69
- });
70
-
71
- }));
@@ -1,65 +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.StartAttestationRequest();
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('StartAttestationRequest', function() {
51
- it('should create an instance of StartAttestationRequest', function() {
52
- // uncomment below and update the code to test StartAttestationRequest
53
- //var instance = new FastApi.StartAttestationRequest();
54
- //expect(instance).to.be.a(FastApi.StartAttestationRequest);
55
- });
56
-
57
- it('should have the property keyId (base name: "keyId")', function() {
58
- // uncomment below and update the code to test the property keyId
59
- //var instance = new FastApi.StartAttestationRequest();
60
- //expect(instance).to.be();
61
- });
62
-
63
- });
64
-
65
- }));
@@ -1,65 +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.StartMeetingRequest();
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('StartMeetingRequest', function() {
51
- it('should create an instance of StartMeetingRequest', function() {
52
- // uncomment below and update the code to test StartMeetingRequest
53
- //var instance = new FastApi.StartMeetingRequest();
54
- //expect(instance).to.be.a(FastApi.StartMeetingRequest);
55
- });
56
-
57
- it('should have the property jwtBlob (base name: "jwtBlob")', function() {
58
- // uncomment below and update the code to test the property jwtBlob
59
- //var instance = new FastApi.StartMeetingRequest();
60
- //expect(instance).to.be();
61
- });
62
-
63
- });
64
-
65
- }));
@@ -1,77 +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.ValidationError();
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('ValidationError', function() {
51
- it('should create an instance of ValidationError', function() {
52
- // uncomment below and update the code to test ValidationError
53
- //var instance = new FastApi.ValidationError();
54
- //expect(instance).to.be.a(FastApi.ValidationError);
55
- });
56
-
57
- it('should have the property loc (base name: "loc")', function() {
58
- // uncomment below and update the code to test the property loc
59
- //var instance = new FastApi.ValidationError();
60
- //expect(instance).to.be();
61
- });
62
-
63
- it('should have the property msg (base name: "msg")', function() {
64
- // uncomment below and update the code to test the property msg
65
- //var instance = new FastApi.ValidationError();
66
- //expect(instance).to.be();
67
- });
68
-
69
- it('should have the property type (base name: "type")', function() {
70
- // uncomment below and update the code to test the property type
71
- //var instance = new FastApi.ValidationError();
72
- //expect(instance).to.be();
73
- });
74
-
75
- });
76
-
77
- }));
@@ -1,59 +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.ValidationErrorLocInner();
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('ValidationErrorLocInner', function() {
51
- it('should create an instance of ValidationErrorLocInner', function() {
52
- // uncomment below and update the code to test ValidationErrorLocInner
53
- //var instance = new FastApi.ValidationErrorLocInner();
54
- //expect(instance).to.be.a(FastApi.ValidationErrorLocInner);
55
- });
56
-
57
- });
58
-
59
- }));