@polyguard/sdk 1.0.1 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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.WellKnownApi();
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('WellKnownApi', function() {
51
+ describe('appleAppSiteAssociationAppleAppSiteAssociationGet', function() {
52
+ it('should call appleAppSiteAssociationAppleAppSiteAssociationGet successfully', function(done) {
53
+ //uncomment below and update the code to test appleAppSiteAssociationAppleAppSiteAssociationGet
54
+ //instance.appleAppSiteAssociationAppleAppSiteAssociationGet(function(error) {
55
+ // if (error) throw error;
56
+ //expect().to.be();
57
+ //});
58
+ done();
59
+ });
60
+ });
61
+ describe('appleAppSiteAssociationWellKnownAppleAppSiteAssociationGet', function() {
62
+ it('should call appleAppSiteAssociationWellKnownAppleAppSiteAssociationGet successfully', function(done) {
63
+ //uncomment below and update the code to test appleAppSiteAssociationWellKnownAppleAppSiteAssociationGet
64
+ //instance.appleAppSiteAssociationWellKnownAppleAppSiteAssociationGet(function(error) {
65
+ // if (error) throw error;
66
+ //expect().to.be();
67
+ //});
68
+ done();
69
+ });
70
+ });
71
+ describe('jwksWellKnownJwksJsonGet', function() {
72
+ it('should call jwksWellKnownJwksJsonGet successfully', function(done) {
73
+ //uncomment below and update the code to test jwksWellKnownJwksJsonGet
74
+ //instance.jwksWellKnownJwksJsonGet(function(error) {
75
+ // if (error) throw error;
76
+ //expect().to.be();
77
+ //});
78
+ done();
79
+ });
80
+ });
81
+ });
82
+
83
+ }));
@@ -0,0 +1,59 @@
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.AppId();
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('AppId', function() {
51
+ it('should create an instance of AppId', function() {
52
+ // uncomment below and update the code to test AppId
53
+ //var instance = new FastApi.AppId();
54
+ //expect(instance).to.be.a(FastApi.AppId);
55
+ });
56
+
57
+ });
58
+
59
+ }));