green_link_api 1.16.11 → 1.17.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (112) hide show
  1. package/README.md +2 -16
  2. package/dist/ApiClient.js +15 -16
  3. package/dist/api/BlockchainApi.js +15 -16
  4. package/dist/api/EnergyAssetsApi.js +15 -16
  5. package/dist/api/EnergyDataApi.js +15 -104
  6. package/dist/api/HealthCheckApi.js +15 -16
  7. package/dist/api/LicensedProductionSitesOnEpiasApi.js +15 -16
  8. package/dist/api/LocationsApi.js +15 -16
  9. package/dist/api/LogsApi.js +15 -268
  10. package/dist/api/MaintenanceCheckApi.js +15 -16
  11. package/dist/api/OrganizationprofilesApi.js +15 -16
  12. package/dist/api/OrganizationsApi.js +15 -16
  13. package/dist/api/SchemaApi.js +15 -16
  14. package/dist/api/SentryDebugApi.js +15 -16
  15. package/dist/api/UsersApi.js +15 -16
  16. package/dist/index.js +0 -42
  17. package/dist/model/Activities.js +14 -15
  18. package/dist/model/ActivitiesStatusEnum.js +14 -15
  19. package/dist/model/BlockchainTransactionTask.js +14 -15
  20. package/dist/model/Consumer.js +14 -15
  21. package/dist/model/ConsumptionDataFileList.js +14 -15
  22. package/dist/model/ConsumptionDataFromRetailerRequest.js +14 -15
  23. package/dist/model/ConsumptionDataPointCreate.js +14 -15
  24. package/dist/model/ConsumptionDataPointListOrDetail.js +14 -15
  25. package/dist/model/ConsumptionDataPointUpdate.js +14 -15
  26. package/dist/model/ConsumptionSite.js +14 -15
  27. package/dist/model/ConsumptionSiteContract.js +14 -15
  28. package/dist/model/ConsumptionSiteContractImport.js +14 -15
  29. package/dist/model/ConsumptionSiteCreate.js +14 -15
  30. package/dist/model/ConsumptionSiteFileUpload.js +37 -18
  31. package/dist/model/ConsumptionSiteListOrDetail.js +14 -15
  32. package/dist/model/ContentTypeEnum.js +14 -15
  33. package/dist/model/EacTypeEnum.js +14 -15
  34. package/dist/model/EmissionFactor.js +14 -15
  35. package/dist/model/EnergySourceEnum.js +14 -15
  36. package/dist/model/EnergySourcePreference.js +14 -15
  37. package/dist/model/EventEnum.js +14 -15
  38. package/dist/model/GetFromEpias.js +14 -15
  39. package/dist/model/GridOperator.js +14 -15
  40. package/dist/model/ImportedConsumptionDataPoint.js +14 -15
  41. package/dist/model/Issuer.js +14 -15
  42. package/dist/model/Location.js +14 -15
  43. package/dist/model/MatchTypeEnum.js +14 -15
  44. package/dist/model/MatchedDataPoint.js +14 -15
  45. package/dist/model/MatchedDataTask.js +14 -15
  46. package/dist/model/MatchingConsumerRequest.js +14 -15
  47. package/dist/model/MatchingSiteRequest.js +14 -15
  48. package/dist/model/NullEnum.js +14 -15
  49. package/dist/model/OrganizationTypeEnum.js +14 -15
  50. package/dist/model/PaginatedActivitiesList.js +14 -15
  51. package/dist/model/PaginatedConsumerList.js +14 -15
  52. package/dist/model/PaginatedConsumptionDataPointListOrDetailList.js +14 -15
  53. package/dist/model/PaginatedConsumptionSiteContractList.js +14 -15
  54. package/dist/model/PaginatedConsumptionSiteListOrDetailList.js +14 -15
  55. package/dist/model/PaginatedEmissionFactorList.js +14 -15
  56. package/dist/model/PaginatedEnergySourcePreferenceList.js +14 -15
  57. package/dist/model/PaginatedGridOperatorList.js +14 -15
  58. package/dist/model/PaginatedImportedConsumptionDataPointList.js +14 -15
  59. package/dist/model/PaginatedIssuerList.js +14 -15
  60. package/dist/model/PaginatedLocationList.js +14 -15
  61. package/dist/model/PaginatedMatchedDataPointList.js +14 -15
  62. package/dist/model/PaginatedMatchedDataTaskList.js +14 -15
  63. package/dist/model/PaginatedProducerList.js +14 -15
  64. package/dist/model/PaginatedProductionDataPointListOrDetailList.js +14 -15
  65. package/dist/model/PaginatedProductionSiteListOrDetailList.js +14 -15
  66. package/dist/model/PaginatedRetailerList.js +14 -15
  67. package/dist/model/PaginatedSmartContractList.js +14 -15
  68. package/dist/model/PaginatedUploadedCertificateListorDetailList.js +14 -15
  69. package/dist/model/PaginatedUploadedFileTaskList.js +14 -15
  70. package/dist/model/PaginatedUserList.js +14 -15
  71. package/dist/model/PatchedConsumer.js +14 -15
  72. package/dist/model/PatchedConsumptionDataPointUpdate.js +14 -15
  73. package/dist/model/PatchedConsumptionSite.js +14 -15
  74. package/dist/model/PatchedEmissionFactor.js +14 -15
  75. package/dist/model/PatchedEnergySourcePreference.js +14 -15
  76. package/dist/model/PatchedGridOperator.js +14 -15
  77. package/dist/model/PatchedIssuer.js +14 -15
  78. package/dist/model/PatchedLocation.js +14 -15
  79. package/dist/model/PatchedProducer.js +14 -15
  80. package/dist/model/PatchedProductionDataPointUpdate.js +14 -15
  81. package/dist/model/PatchedProductionSiteUpdate.js +14 -15
  82. package/dist/model/PatchedRetailer.js +14 -15
  83. package/dist/model/PatchedSmartContract.js +14 -15
  84. package/dist/model/PatchedUser.js +14 -15
  85. package/dist/model/PatchedUserDetail.js +14 -15
  86. package/dist/model/PriorityEnum.js +14 -15
  87. package/dist/model/Producer.js +14 -15
  88. package/dist/model/ProductionDataFileList.js +14 -15
  89. package/dist/model/ProductionDataPointCreate.js +14 -15
  90. package/dist/model/ProductionDataPointListOrDetail.js +14 -15
  91. package/dist/model/ProductionDataPointUpdate.js +14 -15
  92. package/dist/model/ProductionSite.js +14 -15
  93. package/dist/model/ProductionSiteFileUpload.js +14 -15
  94. package/dist/model/ProductionSiteListOrDetail.js +14 -15
  95. package/dist/model/ProductionSiteUpdate.js +14 -15
  96. package/dist/model/Register.js +14 -15
  97. package/dist/model/Retailer.js +14 -15
  98. package/dist/model/SmartContract.js +14 -15
  99. package/dist/model/Status965Enum.js +14 -15
  100. package/dist/model/TypeEnum.js +14 -15
  101. package/dist/model/UploadedCertificate.js +14 -15
  102. package/dist/model/UploadedCertificateListorDetail.js +14 -15
  103. package/dist/model/UploadedFileTask.js +14 -15
  104. package/dist/model/User.js +14 -15
  105. package/dist/model/UserDetail.js +14 -15
  106. package/package.json +1 -1
  107. package/dist/model/ConsumptionDataTask.js +0 -188
  108. package/dist/model/PaginatedConsumptionDataTaskList.js +0 -101
  109. package/dist/model/PaginatedProductionDataFromEpiasTaskList.js +0 -101
  110. package/dist/model/PaginatedUnprocessedRowList.js +0 -101
  111. package/dist/model/ProductionDataFromEpiasTask.js +0 -155
  112. package/dist/model/UnprocessedRow.js +0 -135
@@ -7,27 +7,27 @@ exports["default"] = void 0;
7
7
  var _ApiClient = _interopRequireDefault(require("../ApiClient"));
8
8
  var _EacTypeEnum = _interopRequireDefault(require("./EacTypeEnum"));
9
9
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
10
- function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
10
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
11
11
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
12
12
  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, _toPropertyKey(descriptor.key), descriptor); } }
13
13
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
14
14
  function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
15
15
  function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); } /**
16
- * GreenLink API
17
- * ⚡GreenLink API documentation with interactive tools for testing API endpoints.⚡
18
- *
19
- * The version of the OpenAPI document: 1.16.11
20
- *
21
- *
22
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
23
- * https://openapi-generator.tech
24
- * Do not edit the class manually.
25
- *
26
- */
16
+ * GreenLink API
17
+ * ⚡GreenLink API documentation with interactive tools for testing API endpoints.⚡
18
+ *
19
+ * The version of the OpenAPI document: 1.17.1
20
+ *
21
+ *
22
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
23
+ * https://openapi-generator.tech
24
+ * Do not edit the class manually.
25
+ *
26
+ */
27
27
  /**
28
28
  * The UploadedCertificate model module.
29
29
  * @module model/UploadedCertificate
30
- * @version 1.16.11
30
+ * @version 1.17.1
31
31
  */
32
32
  var UploadedCertificate = /*#__PURE__*/function () {
33
33
  /**
@@ -163,5 +163,4 @@ UploadedCertificate.prototype['period_end'] = undefined;
163
163
  * @member {Date} created_at
164
164
  */
165
165
  UploadedCertificate.prototype['created_at'] = undefined;
166
- var _default = UploadedCertificate;
167
- exports["default"] = _default;
166
+ var _default = exports["default"] = UploadedCertificate;
@@ -8,27 +8,27 @@ var _ApiClient = _interopRequireDefault(require("../ApiClient"));
8
8
  var _EacTypeEnum = _interopRequireDefault(require("./EacTypeEnum"));
9
9
  var _Producer = _interopRequireDefault(require("./Producer"));
10
10
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
11
- function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
11
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
12
12
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
13
13
  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, _toPropertyKey(descriptor.key), descriptor); } }
14
14
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
15
15
  function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
16
16
  function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); } /**
17
- * GreenLink API
18
- * ⚡GreenLink API documentation with interactive tools for testing API endpoints.⚡
19
- *
20
- * The version of the OpenAPI document: 1.16.11
21
- *
22
- *
23
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
24
- * https://openapi-generator.tech
25
- * Do not edit the class manually.
26
- *
27
- */
17
+ * GreenLink API
18
+ * ⚡GreenLink API documentation with interactive tools for testing API endpoints.⚡
19
+ *
20
+ * The version of the OpenAPI document: 1.17.1
21
+ *
22
+ *
23
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
24
+ * https://openapi-generator.tech
25
+ * Do not edit the class manually.
26
+ *
27
+ */
28
28
  /**
29
29
  * The UploadedCertificateListorDetail model module.
30
30
  * @module model/UploadedCertificateListorDetail
31
- * @version 1.16.11
31
+ * @version 1.17.1
32
32
  */
33
33
  var UploadedCertificateListorDetail = /*#__PURE__*/function () {
34
34
  /**
@@ -164,5 +164,4 @@ UploadedCertificateListorDetail.prototype['period_end'] = undefined;
164
164
  * @member {Date} created_at
165
165
  */
166
166
  UploadedCertificateListorDetail.prototype['created_at'] = undefined;
167
- var _default = UploadedCertificateListorDetail;
168
- exports["default"] = _default;
167
+ var _default = exports["default"] = UploadedCertificateListorDetail;
@@ -8,27 +8,27 @@ var _ApiClient = _interopRequireDefault(require("../ApiClient"));
8
8
  var _ContentTypeEnum = _interopRequireDefault(require("./ContentTypeEnum"));
9
9
  var _Status965Enum = _interopRequireDefault(require("./Status965Enum"));
10
10
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
11
- function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
11
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
12
12
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
13
13
  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, _toPropertyKey(descriptor.key), descriptor); } }
14
14
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
15
15
  function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
16
16
  function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); } /**
17
- * GreenLink API
18
- * ⚡GreenLink API documentation with interactive tools for testing API endpoints.⚡
19
- *
20
- * The version of the OpenAPI document: 1.16.11
21
- *
22
- *
23
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
24
- * https://openapi-generator.tech
25
- * Do not edit the class manually.
26
- *
27
- */
17
+ * GreenLink API
18
+ * ⚡GreenLink API documentation with interactive tools for testing API endpoints.⚡
19
+ *
20
+ * The version of the OpenAPI document: 1.17.1
21
+ *
22
+ *
23
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
24
+ * https://openapi-generator.tech
25
+ * Do not edit the class manually.
26
+ *
27
+ */
28
28
  /**
29
29
  * The UploadedFileTask model module.
30
30
  * @module model/UploadedFileTask
31
- * @version 1.16.11
31
+ * @version 1.17.1
32
32
  */
33
33
  var UploadedFileTask = /*#__PURE__*/function () {
34
34
  /**
@@ -141,5 +141,4 @@ UploadedFileTask.prototype['created_at'] = undefined;
141
141
  * @member {Date} updated_at
142
142
  */
143
143
  UploadedFileTask.prototype['updated_at'] = undefined;
144
- var _default = UploadedFileTask;
145
- exports["default"] = _default;
144
+ var _default = exports["default"] = UploadedFileTask;
@@ -7,27 +7,27 @@ exports["default"] = void 0;
7
7
  var _ApiClient = _interopRequireDefault(require("../ApiClient"));
8
8
  var _OrganizationTypeEnum = _interopRequireDefault(require("./OrganizationTypeEnum"));
9
9
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
10
- function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
10
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
11
11
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
12
12
  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, _toPropertyKey(descriptor.key), descriptor); } }
13
13
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
14
14
  function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
15
15
  function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); } /**
16
- * GreenLink API
17
- * ⚡GreenLink API documentation with interactive tools for testing API endpoints.⚡
18
- *
19
- * The version of the OpenAPI document: 1.16.11
20
- *
21
- *
22
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
23
- * https://openapi-generator.tech
24
- * Do not edit the class manually.
25
- *
26
- */
16
+ * GreenLink API
17
+ * ⚡GreenLink API documentation with interactive tools for testing API endpoints.⚡
18
+ *
19
+ * The version of the OpenAPI document: 1.17.1
20
+ *
21
+ *
22
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
23
+ * https://openapi-generator.tech
24
+ * Do not edit the class manually.
25
+ *
26
+ */
27
27
  /**
28
28
  * The User model module.
29
29
  * @module model/User
30
- * @version 1.16.11
30
+ * @version 1.17.1
31
31
  */
32
32
  var User = /*#__PURE__*/function () {
33
33
  /**
@@ -204,5 +204,4 @@ User.prototype['created_at'] = undefined;
204
204
  * @member {Date} updated_at
205
205
  */
206
206
  User.prototype['updated_at'] = undefined;
207
- var _default = User;
208
- exports["default"] = _default;
207
+ var _default = exports["default"] = User;
@@ -7,27 +7,27 @@ exports["default"] = void 0;
7
7
  var _ApiClient = _interopRequireDefault(require("../ApiClient"));
8
8
  var _OrganizationTypeEnum = _interopRequireDefault(require("./OrganizationTypeEnum"));
9
9
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
10
- function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
10
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
11
11
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
12
12
  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, _toPropertyKey(descriptor.key), descriptor); } }
13
13
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
14
14
  function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
15
15
  function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); } /**
16
- * GreenLink API
17
- * ⚡GreenLink API documentation with interactive tools for testing API endpoints.⚡
18
- *
19
- * The version of the OpenAPI document: 1.16.11
20
- *
21
- *
22
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
23
- * https://openapi-generator.tech
24
- * Do not edit the class manually.
25
- *
26
- */
16
+ * GreenLink API
17
+ * ⚡GreenLink API documentation with interactive tools for testing API endpoints.⚡
18
+ *
19
+ * The version of the OpenAPI document: 1.17.1
20
+ *
21
+ *
22
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
23
+ * https://openapi-generator.tech
24
+ * Do not edit the class manually.
25
+ *
26
+ */
27
27
  /**
28
28
  * The UserDetail model module.
29
29
  * @module model/UserDetail
30
- * @version 1.16.11
30
+ * @version 1.17.1
31
31
  */
32
32
  var UserDetail = /*#__PURE__*/function () {
33
33
  /**
@@ -204,5 +204,4 @@ UserDetail.prototype['created_at'] = undefined;
204
204
  * @member {Date} updated_at
205
205
  */
206
206
  UserDetail.prototype['updated_at'] = undefined;
207
- var _default = UserDetail;
208
- exports["default"] = _default;
207
+ var _default = exports["default"] = UserDetail;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "green_link_api",
3
- "version": "1.16.11",
3
+ "version": "1.17.1",
4
4
  "description": "GreenLink_API_documentation_with_interactive_tools_for_testing_API_endpoints_",
5
5
  "license": "Unlicense",
6
6
  "main": "dist/index.js",
@@ -1,188 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports["default"] = void 0;
7
- var _ApiClient = _interopRequireDefault(require("../ApiClient"));
8
- var _Consumer = _interopRequireDefault(require("./Consumer"));
9
- var _Status965Enum = _interopRequireDefault(require("./Status965Enum"));
10
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
11
- function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
12
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
13
- 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, _toPropertyKey(descriptor.key), descriptor); } }
14
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
15
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
16
- function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); } /**
17
- * GreenLink API
18
- * ⚡GreenLink API documentation with interactive tools for testing API endpoints.⚡
19
- *
20
- * The version of the OpenAPI document: 1.16.11
21
- *
22
- *
23
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
24
- * https://openapi-generator.tech
25
- * Do not edit the class manually.
26
- *
27
- */
28
- /**
29
- * The ConsumptionDataTask model module.
30
- * @module model/ConsumptionDataTask
31
- * @version 1.16.11
32
- */
33
- var ConsumptionDataTask = /*#__PURE__*/function () {
34
- /**
35
- * Constructs a new <code>ConsumptionDataTask</code>.
36
- * @alias module:model/ConsumptionDataTask
37
- * @param consumptionStart {Date}
38
- * @param consumptionEnd {Date}
39
- * @param consumer {module:model/Consumer}
40
- * @param username {String}
41
- */
42
- function ConsumptionDataTask(consumptionStart, consumptionEnd, consumer, username) {
43
- _classCallCheck(this, ConsumptionDataTask);
44
- ConsumptionDataTask.initialize(this, consumptionStart, consumptionEnd, consumer, username);
45
- }
46
-
47
- /**
48
- * Initializes the fields of this object.
49
- * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
50
- * Only for internal use.
51
- */
52
- _createClass(ConsumptionDataTask, null, [{
53
- key: "initialize",
54
- value: function initialize(obj, consumptionStart, consumptionEnd, consumer, username) {
55
- obj['consumption_start'] = consumptionStart;
56
- obj['consumption_end'] = consumptionEnd;
57
- obj['consumer'] = consumer;
58
- obj['username'] = username;
59
- }
60
-
61
- /**
62
- * Constructs a <code>ConsumptionDataTask</code> from a plain JavaScript object, optionally creating a new instance.
63
- * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
64
- * @param {Object} data The plain JavaScript object bearing properties of interest.
65
- * @param {module:model/ConsumptionDataTask} obj Optional instance to populate.
66
- * @return {module:model/ConsumptionDataTask} The populated <code>ConsumptionDataTask</code> instance.
67
- */
68
- }, {
69
- key: "constructFromObject",
70
- value: function constructFromObject(data, obj) {
71
- if (data) {
72
- obj = obj || new ConsumptionDataTask();
73
- if (data.hasOwnProperty('id')) {
74
- obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
75
- }
76
- if (data.hasOwnProperty('consumption_start')) {
77
- obj['consumption_start'] = _ApiClient["default"].convertToType(data['consumption_start'], 'Date');
78
- }
79
- if (data.hasOwnProperty('consumption_end')) {
80
- obj['consumption_end'] = _ApiClient["default"].convertToType(data['consumption_end'], 'Date');
81
- }
82
- if (data.hasOwnProperty('consumer')) {
83
- obj['consumer'] = _Consumer["default"].constructFromObject(data['consumer']);
84
- }
85
- if (data.hasOwnProperty('status')) {
86
- obj['status'] = _ApiClient["default"].convertToType(data['status'], _Status965Enum["default"]);
87
- }
88
- if (data.hasOwnProperty('username')) {
89
- obj['username'] = _ApiClient["default"].convertToType(data['username'], 'String');
90
- }
91
- if (data.hasOwnProperty('total_amount_consumed')) {
92
- obj['total_amount_consumed'] = _ApiClient["default"].convertToType(data['total_amount_consumed'], 'Number');
93
- }
94
- if (data.hasOwnProperty('no_of_attempts')) {
95
- obj['no_of_attempts'] = _ApiClient["default"].convertToType(data['no_of_attempts'], 'Number');
96
- }
97
- if (data.hasOwnProperty('no_of_sites_requested')) {
98
- obj['no_of_sites_requested'] = _ApiClient["default"].convertToType(data['no_of_sites_requested'], 'Number');
99
- }
100
- if (data.hasOwnProperty('no_of_sites_completed')) {
101
- obj['no_of_sites_completed'] = _ApiClient["default"].convertToType(data['no_of_sites_completed'], 'Number');
102
- }
103
- if (data.hasOwnProperty('percentage_of_completion')) {
104
- obj['percentage_of_completion'] = _ApiClient["default"].convertToType(data['percentage_of_completion'], 'Number');
105
- }
106
- if (data.hasOwnProperty('created_at')) {
107
- obj['created_at'] = _ApiClient["default"].convertToType(data['created_at'], 'Date');
108
- }
109
- if (data.hasOwnProperty('updated_at')) {
110
- obj['updated_at'] = _ApiClient["default"].convertToType(data['updated_at'], 'Date');
111
- }
112
- }
113
- return obj;
114
- }
115
- }]);
116
- return ConsumptionDataTask;
117
- }();
118
- /**
119
- * @member {String} id
120
- */
121
- ConsumptionDataTask.prototype['id'] = undefined;
122
-
123
- /**
124
- * @member {Date} consumption_start
125
- */
126
- ConsumptionDataTask.prototype['consumption_start'] = undefined;
127
-
128
- /**
129
- * @member {Date} consumption_end
130
- */
131
- ConsumptionDataTask.prototype['consumption_end'] = undefined;
132
-
133
- /**
134
- * @member {module:model/Consumer} consumer
135
- */
136
- ConsumptionDataTask.prototype['consumer'] = undefined;
137
-
138
- /**
139
- * @member {module:model/Status965Enum} status
140
- */
141
- ConsumptionDataTask.prototype['status'] = undefined;
142
-
143
- /**
144
- * @member {String} username
145
- */
146
- ConsumptionDataTask.prototype['username'] = undefined;
147
-
148
- /**
149
- * value should be in Watt.
150
- * @member {Number} total_amount_consumed
151
- */
152
- ConsumptionDataTask.prototype['total_amount_consumed'] = undefined;
153
-
154
- /**
155
- * number of retries for failed requests
156
- * @member {Number} no_of_attempts
157
- */
158
- ConsumptionDataTask.prototype['no_of_attempts'] = undefined;
159
-
160
- /**
161
- * number of consumption sites in request
162
- * @member {Number} no_of_sites_requested
163
- */
164
- ConsumptionDataTask.prototype['no_of_sites_requested'] = undefined;
165
-
166
- /**
167
- * number of consumptions sites completed
168
- * @member {Number} no_of_sites_completed
169
- */
170
- ConsumptionDataTask.prototype['no_of_sites_completed'] = undefined;
171
-
172
- /**
173
- * percentage of completion
174
- * @member {Number} percentage_of_completion
175
- */
176
- ConsumptionDataTask.prototype['percentage_of_completion'] = undefined;
177
-
178
- /**
179
- * @member {Date} created_at
180
- */
181
- ConsumptionDataTask.prototype['created_at'] = undefined;
182
-
183
- /**
184
- * @member {Date} updated_at
185
- */
186
- ConsumptionDataTask.prototype['updated_at'] = undefined;
187
- var _default = ConsumptionDataTask;
188
- exports["default"] = _default;
@@ -1,101 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports["default"] = void 0;
7
- var _ApiClient = _interopRequireDefault(require("../ApiClient"));
8
- var _ConsumptionDataTask = _interopRequireDefault(require("./ConsumptionDataTask"));
9
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
10
- function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
11
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
12
- 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, _toPropertyKey(descriptor.key), descriptor); } }
13
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
14
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
15
- function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); } /**
16
- * GreenLink API
17
- * ⚡GreenLink API documentation with interactive tools for testing API endpoints.⚡
18
- *
19
- * The version of the OpenAPI document: 1.16.11
20
- *
21
- *
22
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
23
- * https://openapi-generator.tech
24
- * Do not edit the class manually.
25
- *
26
- */
27
- /**
28
- * The PaginatedConsumptionDataTaskList model module.
29
- * @module model/PaginatedConsumptionDataTaskList
30
- * @version 1.16.11
31
- */
32
- var PaginatedConsumptionDataTaskList = /*#__PURE__*/function () {
33
- /**
34
- * Constructs a new <code>PaginatedConsumptionDataTaskList</code>.
35
- * @alias module:model/PaginatedConsumptionDataTaskList
36
- */
37
- function PaginatedConsumptionDataTaskList() {
38
- _classCallCheck(this, PaginatedConsumptionDataTaskList);
39
- PaginatedConsumptionDataTaskList.initialize(this);
40
- }
41
-
42
- /**
43
- * Initializes the fields of this object.
44
- * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
45
- * Only for internal use.
46
- */
47
- _createClass(PaginatedConsumptionDataTaskList, null, [{
48
- key: "initialize",
49
- value: function initialize(obj) {}
50
-
51
- /**
52
- * Constructs a <code>PaginatedConsumptionDataTaskList</code> from a plain JavaScript object, optionally creating a new instance.
53
- * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
54
- * @param {Object} data The plain JavaScript object bearing properties of interest.
55
- * @param {module:model/PaginatedConsumptionDataTaskList} obj Optional instance to populate.
56
- * @return {module:model/PaginatedConsumptionDataTaskList} The populated <code>PaginatedConsumptionDataTaskList</code> instance.
57
- */
58
- }, {
59
- key: "constructFromObject",
60
- value: function constructFromObject(data, obj) {
61
- if (data) {
62
- obj = obj || new PaginatedConsumptionDataTaskList();
63
- if (data.hasOwnProperty('count')) {
64
- obj['count'] = _ApiClient["default"].convertToType(data['count'], 'Number');
65
- }
66
- if (data.hasOwnProperty('next')) {
67
- obj['next'] = _ApiClient["default"].convertToType(data['next'], 'String');
68
- }
69
- if (data.hasOwnProperty('previous')) {
70
- obj['previous'] = _ApiClient["default"].convertToType(data['previous'], 'String');
71
- }
72
- if (data.hasOwnProperty('results')) {
73
- obj['results'] = _ApiClient["default"].convertToType(data['results'], [_ConsumptionDataTask["default"]]);
74
- }
75
- }
76
- return obj;
77
- }
78
- }]);
79
- return PaginatedConsumptionDataTaskList;
80
- }();
81
- /**
82
- * @member {Number} count
83
- */
84
- PaginatedConsumptionDataTaskList.prototype['count'] = undefined;
85
-
86
- /**
87
- * @member {String} next
88
- */
89
- PaginatedConsumptionDataTaskList.prototype['next'] = undefined;
90
-
91
- /**
92
- * @member {String} previous
93
- */
94
- PaginatedConsumptionDataTaskList.prototype['previous'] = undefined;
95
-
96
- /**
97
- * @member {Array.<module:model/ConsumptionDataTask>} results
98
- */
99
- PaginatedConsumptionDataTaskList.prototype['results'] = undefined;
100
- var _default = PaginatedConsumptionDataTaskList;
101
- exports["default"] = _default;