green_link_api 0.49.7 → 0.51.3

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 (87) hide show
  1. package/README.md +6 -34
  2. package/dist/ApiClient.js +3 -6
  3. package/dist/api/EnergyAssetsApi.js +22 -22
  4. package/dist/api/EnergyDataApi.js +30 -30
  5. package/dist/api/HealthCheckApi.js +2 -2
  6. package/dist/api/LicensedProductionSitesOnEpiasApi.js +2 -2
  7. package/dist/api/LocationsApi.js +9 -9
  8. package/dist/api/MaintenanceCheckApi.js +2 -2
  9. package/dist/api/OrganizationprofilesApi.js +7 -7
  10. package/dist/api/OrganizationsApi.js +31 -31
  11. package/dist/api/SchemaApi.js +2 -2
  12. package/dist/api/SentryDebugApi.js +2 -2
  13. package/dist/api/UsersApi.js +13 -230
  14. package/dist/index.js +3 -59
  15. package/dist/model/Consumer.js +1 -1
  16. package/dist/model/ConsumptionDataFileList.js +1 -1
  17. package/dist/model/ConsumptionDataFromRetailer.js +1 -1
  18. package/dist/model/ConsumptionDataPointCreate.js +1 -1
  19. package/dist/model/ConsumptionDataPointListOrDetail.js +1 -1
  20. package/dist/model/ConsumptionDataPointUpdate.js +1 -1
  21. package/dist/model/ConsumptionSite.js +1 -1
  22. package/dist/model/ConsumptionSiteFileUpload.js +1 -1
  23. package/dist/model/ConsumptionSiteFromRetailer.js +1 -1
  24. package/dist/model/ConsumptionSiteListOrDetail.js +1 -1
  25. package/dist/model/ConsumptionSiteMany.js +1 -1
  26. package/dist/model/EmissionFactor.js +1 -1
  27. package/dist/model/EnergySourcePreference.js +1 -1
  28. package/dist/model/GetFromEpias.js +1 -1
  29. package/dist/model/GridOperator.js +1 -1
  30. package/dist/model/Issuer.js +1 -1
  31. package/dist/model/Location.js +1 -1
  32. package/dist/model/Login.js +1 -1
  33. package/dist/model/MatchRequest.js +1 -1
  34. package/dist/model/MatchedEnergyDataPoint.js +1 -1
  35. package/dist/model/MatchingConsumerRequest.js +1 -1
  36. package/dist/model/MatchingSiteRequest.js +1 -1
  37. package/dist/model/PaginatedConsumerList.js +1 -1
  38. package/dist/model/PaginatedConsumptionDataPointListOrDetailList.js +1 -1
  39. package/dist/model/PaginatedConsumptionSiteListOrDetailList.js +1 -1
  40. package/dist/model/PaginatedEmissionFactorList.js +1 -1
  41. package/dist/model/PaginatedEnergySourcePreferenceList.js +1 -1
  42. package/dist/model/PaginatedGridOperatorList.js +1 -1
  43. package/dist/model/PaginatedIssuerList.js +1 -1
  44. package/dist/model/PaginatedLocationList.js +1 -1
  45. package/dist/model/PaginatedMatchRequestList.js +1 -1
  46. package/dist/model/PaginatedMatchedEnergyDataPointList.js +1 -1
  47. package/dist/model/PaginatedProducerList.js +1 -1
  48. package/dist/model/PaginatedProductionDataPointListOrDetailList.js +1 -1
  49. package/dist/model/PaginatedProductionSiteListOrDetailList.js +1 -1
  50. package/dist/model/PaginatedRetailerList.js +1 -1
  51. package/dist/model/PaginatedUserList.js +1 -1
  52. package/dist/model/PatchedConsumer.js +1 -1
  53. package/dist/model/PatchedConsumptionDataPointUpdate.js +1 -1
  54. package/dist/model/PatchedConsumptionSite.js +1 -1
  55. package/dist/model/PatchedEmissionFactor.js +1 -1
  56. package/dist/model/PatchedEnergySourcePreference.js +1 -1
  57. package/dist/model/PatchedGridOperator.js +1 -1
  58. package/dist/model/PatchedIssuer.js +1 -1
  59. package/dist/model/PatchedLocation.js +1 -1
  60. package/dist/model/PatchedProducer.js +1 -1
  61. package/dist/model/PatchedProductionDataPointUpdate.js +1 -1
  62. package/dist/model/PatchedProductionSiteUpdate.js +1 -1
  63. package/dist/model/PatchedRetailer.js +1 -1
  64. package/dist/model/PatchedUser.js +3 -1
  65. package/dist/model/PatchedUserDetail.js +3 -1
  66. package/dist/model/Producer.js +1 -1
  67. package/dist/model/ProductionDataFileList.js +1 -1
  68. package/dist/model/ProductionDataPointCreate.js +1 -1
  69. package/dist/model/ProductionDataPointListOrDetail.js +1 -1
  70. package/dist/model/ProductionDataPointUpdate.js +1 -1
  71. package/dist/model/ProductionSite.js +1 -1
  72. package/dist/model/ProductionSiteFileUpload.js +1 -1
  73. package/dist/model/ProductionSiteListOrDetail.js +1 -1
  74. package/dist/model/ProductionSiteUpdate.js +1 -1
  75. package/dist/model/Register.js +8 -5
  76. package/dist/model/Retailer.js +1 -1
  77. package/dist/model/{VerifyEmail.js → Token.js} +18 -17
  78. package/dist/model/User.js +3 -1
  79. package/dist/model/UserDetail.js +3 -1
  80. package/package.json +1 -1
  81. package/dist/model/JWT.js +0 -103
  82. package/dist/model/PasswordChange.js +0 -100
  83. package/dist/model/PasswordReset.js +0 -79
  84. package/dist/model/PasswordResetConfirm.js +0 -112
  85. package/dist/model/RestAuthDetail.js +0 -75
  86. package/dist/model/TokenRefresh.js +0 -87
  87. package/dist/model/TokenVerify.js +0 -78
@@ -20,7 +20,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
20
20
  /**
21
21
  * The UserDetail model module.
22
22
  * @module model/UserDetail
23
- * @version 0.49.7
23
+ * @version 0.51.3
24
24
  */
25
25
  var UserDetail = /*#__PURE__*/function () {
26
26
  /**
@@ -152,11 +152,13 @@ UserDetail.prototype['first_name'] = undefined;
152
152
 
153
153
  UserDetail.prototype['last_name'] = undefined;
154
154
  /**
155
+ * Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only. Default is the user's email.
155
156
  * @member {String} username
156
157
  */
157
158
 
158
159
  UserDetail.prototype['username'] = undefined;
159
160
  /**
161
+ * Required.
160
162
  * @member {String} email
161
163
  */
162
164
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "green_link_api",
3
- "version": "0.49.7",
3
+ "version": "0.51.3",
4
4
  "description": "GreenLink_API_documentation_with_interactive_tools_for_testing_API_endpoints_",
5
5
  "license": "Unlicense",
6
6
  "main": "dist/index.js",
package/dist/model/JWT.js DELETED
@@ -1,103 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports["default"] = void 0;
7
-
8
- var _ApiClient = _interopRequireDefault(require("../ApiClient"));
9
-
10
- var _User = _interopRequireDefault(require("./User"));
11
-
12
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
13
-
14
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
15
-
16
- function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
17
-
18
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
19
-
20
- /**
21
- * The JWT model module.
22
- * @module model/JWT
23
- * @version 0.49.7
24
- */
25
- var JWT = /*#__PURE__*/function () {
26
- /**
27
- * Constructs a new <code>JWT</code>.
28
- * Serializer for JWT authentication.
29
- * @alias module:model/JWT
30
- * @param accessToken {String}
31
- * @param refreshToken {String}
32
- * @param user {module:model/User}
33
- */
34
- function JWT(accessToken, refreshToken, user) {
35
- _classCallCheck(this, JWT);
36
-
37
- JWT.initialize(this, accessToken, refreshToken, user);
38
- }
39
- /**
40
- * Initializes the fields of this object.
41
- * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
42
- * Only for internal use.
43
- */
44
-
45
-
46
- _createClass(JWT, null, [{
47
- key: "initialize",
48
- value: function initialize(obj, accessToken, refreshToken, user) {
49
- obj['access_token'] = accessToken;
50
- obj['refresh_token'] = refreshToken;
51
- obj['user'] = user;
52
- }
53
- /**
54
- * Constructs a <code>JWT</code> from a plain JavaScript object, optionally creating a new instance.
55
- * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
56
- * @param {Object} data The plain JavaScript object bearing properties of interest.
57
- * @param {module:model/JWT} obj Optional instance to populate.
58
- * @return {module:model/JWT} The populated <code>JWT</code> instance.
59
- */
60
-
61
- }, {
62
- key: "constructFromObject",
63
- value: function constructFromObject(data, obj) {
64
- if (data) {
65
- obj = obj || new JWT();
66
-
67
- if (data.hasOwnProperty('access_token')) {
68
- obj['access_token'] = _ApiClient["default"].convertToType(data['access_token'], 'String');
69
- }
70
-
71
- if (data.hasOwnProperty('refresh_token')) {
72
- obj['refresh_token'] = _ApiClient["default"].convertToType(data['refresh_token'], 'String');
73
- }
74
-
75
- if (data.hasOwnProperty('user')) {
76
- obj['user'] = _User["default"].constructFromObject(data['user']);
77
- }
78
- }
79
-
80
- return obj;
81
- }
82
- }]);
83
-
84
- return JWT;
85
- }();
86
- /**
87
- * @member {String} access_token
88
- */
89
-
90
-
91
- JWT.prototype['access_token'] = undefined;
92
- /**
93
- * @member {String} refresh_token
94
- */
95
-
96
- JWT.prototype['refresh_token'] = undefined;
97
- /**
98
- * @member {module:model/User} user
99
- */
100
-
101
- JWT.prototype['user'] = undefined;
102
- var _default = JWT;
103
- exports["default"] = _default;
@@ -1,100 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports["default"] = void 0;
7
-
8
- var _ApiClient = _interopRequireDefault(require("../ApiClient"));
9
-
10
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
11
-
12
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
13
-
14
- function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
15
-
16
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
17
-
18
- /**
19
- * The PasswordChange model module.
20
- * @module model/PasswordChange
21
- * @version 0.49.7
22
- */
23
- var PasswordChange = /*#__PURE__*/function () {
24
- /**
25
- * Constructs a new <code>PasswordChange</code>.
26
- * @alias module:model/PasswordChange
27
- * @param oldPassword {String}
28
- * @param newPassword1 {String}
29
- * @param newPassword2 {String}
30
- */
31
- function PasswordChange(oldPassword, newPassword1, newPassword2) {
32
- _classCallCheck(this, PasswordChange);
33
-
34
- PasswordChange.initialize(this, oldPassword, newPassword1, newPassword2);
35
- }
36
- /**
37
- * Initializes the fields of this object.
38
- * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
39
- * Only for internal use.
40
- */
41
-
42
-
43
- _createClass(PasswordChange, null, [{
44
- key: "initialize",
45
- value: function initialize(obj, oldPassword, newPassword1, newPassword2) {
46
- obj['old_password'] = oldPassword;
47
- obj['new_password1'] = newPassword1;
48
- obj['new_password2'] = newPassword2;
49
- }
50
- /**
51
- * Constructs a <code>PasswordChange</code> from a plain JavaScript object, optionally creating a new instance.
52
- * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
53
- * @param {Object} data The plain JavaScript object bearing properties of interest.
54
- * @param {module:model/PasswordChange} obj Optional instance to populate.
55
- * @return {module:model/PasswordChange} The populated <code>PasswordChange</code> instance.
56
- */
57
-
58
- }, {
59
- key: "constructFromObject",
60
- value: function constructFromObject(data, obj) {
61
- if (data) {
62
- obj = obj || new PasswordChange();
63
-
64
- if (data.hasOwnProperty('old_password')) {
65
- obj['old_password'] = _ApiClient["default"].convertToType(data['old_password'], 'String');
66
- }
67
-
68
- if (data.hasOwnProperty('new_password1')) {
69
- obj['new_password1'] = _ApiClient["default"].convertToType(data['new_password1'], 'String');
70
- }
71
-
72
- if (data.hasOwnProperty('new_password2')) {
73
- obj['new_password2'] = _ApiClient["default"].convertToType(data['new_password2'], 'String');
74
- }
75
- }
76
-
77
- return obj;
78
- }
79
- }]);
80
-
81
- return PasswordChange;
82
- }();
83
- /**
84
- * @member {String} old_password
85
- */
86
-
87
-
88
- PasswordChange.prototype['old_password'] = undefined;
89
- /**
90
- * @member {String} new_password1
91
- */
92
-
93
- PasswordChange.prototype['new_password1'] = undefined;
94
- /**
95
- * @member {String} new_password2
96
- */
97
-
98
- PasswordChange.prototype['new_password2'] = undefined;
99
- var _default = PasswordChange;
100
- exports["default"] = _default;
@@ -1,79 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports["default"] = void 0;
7
-
8
- var _ApiClient = _interopRequireDefault(require("../ApiClient"));
9
-
10
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
11
-
12
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
13
-
14
- function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
15
-
16
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
17
-
18
- /**
19
- * The PasswordReset model module.
20
- * @module model/PasswordReset
21
- * @version 0.49.7
22
- */
23
- var PasswordReset = /*#__PURE__*/function () {
24
- /**
25
- * Constructs a new <code>PasswordReset</code>.
26
- * Serializer for requesting a password reset e-mail.
27
- * @alias module:model/PasswordReset
28
- * @param email {String}
29
- */
30
- function PasswordReset(email) {
31
- _classCallCheck(this, PasswordReset);
32
-
33
- PasswordReset.initialize(this, email);
34
- }
35
- /**
36
- * Initializes the fields of this object.
37
- * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
38
- * Only for internal use.
39
- */
40
-
41
-
42
- _createClass(PasswordReset, null, [{
43
- key: "initialize",
44
- value: function initialize(obj, email) {
45
- obj['email'] = email;
46
- }
47
- /**
48
- * Constructs a <code>PasswordReset</code> from a plain JavaScript object, optionally creating a new instance.
49
- * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
50
- * @param {Object} data The plain JavaScript object bearing properties of interest.
51
- * @param {module:model/PasswordReset} obj Optional instance to populate.
52
- * @return {module:model/PasswordReset} The populated <code>PasswordReset</code> instance.
53
- */
54
-
55
- }, {
56
- key: "constructFromObject",
57
- value: function constructFromObject(data, obj) {
58
- if (data) {
59
- obj = obj || new PasswordReset();
60
-
61
- if (data.hasOwnProperty('email')) {
62
- obj['email'] = _ApiClient["default"].convertToType(data['email'], 'String');
63
- }
64
- }
65
-
66
- return obj;
67
- }
68
- }]);
69
-
70
- return PasswordReset;
71
- }();
72
- /**
73
- * @member {String} email
74
- */
75
-
76
-
77
- PasswordReset.prototype['email'] = undefined;
78
- var _default = PasswordReset;
79
- exports["default"] = _default;
@@ -1,112 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports["default"] = void 0;
7
-
8
- var _ApiClient = _interopRequireDefault(require("../ApiClient"));
9
-
10
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
11
-
12
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
13
-
14
- function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
15
-
16
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
17
-
18
- /**
19
- * The PasswordResetConfirm model module.
20
- * @module model/PasswordResetConfirm
21
- * @version 0.49.7
22
- */
23
- var PasswordResetConfirm = /*#__PURE__*/function () {
24
- /**
25
- * Constructs a new <code>PasswordResetConfirm</code>.
26
- * Serializer for confirming a password reset attempt.
27
- * @alias module:model/PasswordResetConfirm
28
- * @param newPassword1 {String}
29
- * @param newPassword2 {String}
30
- * @param uid {String}
31
- * @param token {String}
32
- */
33
- function PasswordResetConfirm(newPassword1, newPassword2, uid, token) {
34
- _classCallCheck(this, PasswordResetConfirm);
35
-
36
- PasswordResetConfirm.initialize(this, newPassword1, newPassword2, uid, token);
37
- }
38
- /**
39
- * Initializes the fields of this object.
40
- * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
41
- * Only for internal use.
42
- */
43
-
44
-
45
- _createClass(PasswordResetConfirm, null, [{
46
- key: "initialize",
47
- value: function initialize(obj, newPassword1, newPassword2, uid, token) {
48
- obj['new_password1'] = newPassword1;
49
- obj['new_password2'] = newPassword2;
50
- obj['uid'] = uid;
51
- obj['token'] = token;
52
- }
53
- /**
54
- * Constructs a <code>PasswordResetConfirm</code> from a plain JavaScript object, optionally creating a new instance.
55
- * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
56
- * @param {Object} data The plain JavaScript object bearing properties of interest.
57
- * @param {module:model/PasswordResetConfirm} obj Optional instance to populate.
58
- * @return {module:model/PasswordResetConfirm} The populated <code>PasswordResetConfirm</code> instance.
59
- */
60
-
61
- }, {
62
- key: "constructFromObject",
63
- value: function constructFromObject(data, obj) {
64
- if (data) {
65
- obj = obj || new PasswordResetConfirm();
66
-
67
- if (data.hasOwnProperty('new_password1')) {
68
- obj['new_password1'] = _ApiClient["default"].convertToType(data['new_password1'], 'String');
69
- }
70
-
71
- if (data.hasOwnProperty('new_password2')) {
72
- obj['new_password2'] = _ApiClient["default"].convertToType(data['new_password2'], 'String');
73
- }
74
-
75
- if (data.hasOwnProperty('uid')) {
76
- obj['uid'] = _ApiClient["default"].convertToType(data['uid'], 'String');
77
- }
78
-
79
- if (data.hasOwnProperty('token')) {
80
- obj['token'] = _ApiClient["default"].convertToType(data['token'], 'String');
81
- }
82
- }
83
-
84
- return obj;
85
- }
86
- }]);
87
-
88
- return PasswordResetConfirm;
89
- }();
90
- /**
91
- * @member {String} new_password1
92
- */
93
-
94
-
95
- PasswordResetConfirm.prototype['new_password1'] = undefined;
96
- /**
97
- * @member {String} new_password2
98
- */
99
-
100
- PasswordResetConfirm.prototype['new_password2'] = undefined;
101
- /**
102
- * @member {String} uid
103
- */
104
-
105
- PasswordResetConfirm.prototype['uid'] = undefined;
106
- /**
107
- * @member {String} token
108
- */
109
-
110
- PasswordResetConfirm.prototype['token'] = undefined;
111
- var _default = PasswordResetConfirm;
112
- exports["default"] = _default;
@@ -1,75 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports["default"] = void 0;
7
-
8
- var _ApiClient = _interopRequireDefault(require("../ApiClient"));
9
-
10
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
11
-
12
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
13
-
14
- function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
15
-
16
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
17
-
18
- /**
19
- * The RestAuthDetail model module.
20
- * @module model/RestAuthDetail
21
- * @version 0.49.7
22
- */
23
- var RestAuthDetail = /*#__PURE__*/function () {
24
- /**
25
- * Constructs a new <code>RestAuthDetail</code>.
26
- * @alias module:model/RestAuthDetail
27
- */
28
- function RestAuthDetail() {
29
- _classCallCheck(this, RestAuthDetail);
30
-
31
- RestAuthDetail.initialize(this);
32
- }
33
- /**
34
- * Initializes the fields of this object.
35
- * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
36
- * Only for internal use.
37
- */
38
-
39
-
40
- _createClass(RestAuthDetail, null, [{
41
- key: "initialize",
42
- value: function initialize(obj) {}
43
- /**
44
- * Constructs a <code>RestAuthDetail</code> from a plain JavaScript object, optionally creating a new instance.
45
- * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
46
- * @param {Object} data The plain JavaScript object bearing properties of interest.
47
- * @param {module:model/RestAuthDetail} obj Optional instance to populate.
48
- * @return {module:model/RestAuthDetail} The populated <code>RestAuthDetail</code> instance.
49
- */
50
-
51
- }, {
52
- key: "constructFromObject",
53
- value: function constructFromObject(data, obj) {
54
- if (data) {
55
- obj = obj || new RestAuthDetail();
56
-
57
- if (data.hasOwnProperty('detail')) {
58
- obj['detail'] = _ApiClient["default"].convertToType(data['detail'], 'String');
59
- }
60
- }
61
-
62
- return obj;
63
- }
64
- }]);
65
-
66
- return RestAuthDetail;
67
- }();
68
- /**
69
- * @member {String} detail
70
- */
71
-
72
-
73
- RestAuthDetail.prototype['detail'] = undefined;
74
- var _default = RestAuthDetail;
75
- exports["default"] = _default;
@@ -1,87 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports["default"] = void 0;
7
-
8
- var _ApiClient = _interopRequireDefault(require("../ApiClient"));
9
-
10
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
11
-
12
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
13
-
14
- function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
15
-
16
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
17
-
18
- /**
19
- * The TokenRefresh model module.
20
- * @module model/TokenRefresh
21
- * @version 0.49.7
22
- */
23
- var TokenRefresh = /*#__PURE__*/function () {
24
- /**
25
- * Constructs a new <code>TokenRefresh</code>.
26
- * @alias module:model/TokenRefresh
27
- * @param refresh {String}
28
- */
29
- function TokenRefresh(refresh) {
30
- _classCallCheck(this, TokenRefresh);
31
-
32
- TokenRefresh.initialize(this, refresh);
33
- }
34
- /**
35
- * Initializes the fields of this object.
36
- * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
37
- * Only for internal use.
38
- */
39
-
40
-
41
- _createClass(TokenRefresh, null, [{
42
- key: "initialize",
43
- value: function initialize(obj, refresh) {
44
- obj['refresh'] = refresh;
45
- }
46
- /**
47
- * Constructs a <code>TokenRefresh</code> from a plain JavaScript object, optionally creating a new instance.
48
- * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
49
- * @param {Object} data The plain JavaScript object bearing properties of interest.
50
- * @param {module:model/TokenRefresh} obj Optional instance to populate.
51
- * @return {module:model/TokenRefresh} The populated <code>TokenRefresh</code> instance.
52
- */
53
-
54
- }, {
55
- key: "constructFromObject",
56
- value: function constructFromObject(data, obj) {
57
- if (data) {
58
- obj = obj || new TokenRefresh();
59
-
60
- if (data.hasOwnProperty('access')) {
61
- obj['access'] = _ApiClient["default"].convertToType(data['access'], 'String');
62
- }
63
-
64
- if (data.hasOwnProperty('refresh')) {
65
- obj['refresh'] = _ApiClient["default"].convertToType(data['refresh'], 'String');
66
- }
67
- }
68
-
69
- return obj;
70
- }
71
- }]);
72
-
73
- return TokenRefresh;
74
- }();
75
- /**
76
- * @member {String} access
77
- */
78
-
79
-
80
- TokenRefresh.prototype['access'] = undefined;
81
- /**
82
- * @member {String} refresh
83
- */
84
-
85
- TokenRefresh.prototype['refresh'] = undefined;
86
- var _default = TokenRefresh;
87
- exports["default"] = _default;
@@ -1,78 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports["default"] = void 0;
7
-
8
- var _ApiClient = _interopRequireDefault(require("../ApiClient"));
9
-
10
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
11
-
12
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
13
-
14
- function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
15
-
16
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
17
-
18
- /**
19
- * The TokenVerify model module.
20
- * @module model/TokenVerify
21
- * @version 0.49.7
22
- */
23
- var TokenVerify = /*#__PURE__*/function () {
24
- /**
25
- * Constructs a new <code>TokenVerify</code>.
26
- * @alias module:model/TokenVerify
27
- * @param token {String}
28
- */
29
- function TokenVerify(token) {
30
- _classCallCheck(this, TokenVerify);
31
-
32
- TokenVerify.initialize(this, token);
33
- }
34
- /**
35
- * Initializes the fields of this object.
36
- * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
37
- * Only for internal use.
38
- */
39
-
40
-
41
- _createClass(TokenVerify, null, [{
42
- key: "initialize",
43
- value: function initialize(obj, token) {
44
- obj['token'] = token;
45
- }
46
- /**
47
- * Constructs a <code>TokenVerify</code> from a plain JavaScript object, optionally creating a new instance.
48
- * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
49
- * @param {Object} data The plain JavaScript object bearing properties of interest.
50
- * @param {module:model/TokenVerify} obj Optional instance to populate.
51
- * @return {module:model/TokenVerify} The populated <code>TokenVerify</code> instance.
52
- */
53
-
54
- }, {
55
- key: "constructFromObject",
56
- value: function constructFromObject(data, obj) {
57
- if (data) {
58
- obj = obj || new TokenVerify();
59
-
60
- if (data.hasOwnProperty('token')) {
61
- obj['token'] = _ApiClient["default"].convertToType(data['token'], 'String');
62
- }
63
- }
64
-
65
- return obj;
66
- }
67
- }]);
68
-
69
- return TokenVerify;
70
- }();
71
- /**
72
- * @member {String} token
73
- */
74
-
75
-
76
- TokenVerify.prototype['token'] = undefined;
77
- var _default = TokenVerify;
78
- exports["default"] = _default;