green_link_api 1.0.0 → 1.0.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 (107) hide show
  1. package/README.md +72 -33
  2. package/dist/ApiClient.js +70 -24
  3. package/dist/api/BlockchainApi.js +283 -0
  4. package/dist/api/EnergyAssetsApi.js +196 -44
  5. package/dist/api/EnergyDataApi.js +354 -46
  6. package/dist/api/HealthCheckApi.js +68 -0
  7. package/dist/api/LicensedProductionSitesOnEpiasApi.js +69 -0
  8. package/dist/api/LocationsApi.js +10 -10
  9. package/dist/api/LogsApi.js +428 -0
  10. package/dist/api/MaintenanceCheckApi.js +68 -0
  11. package/dist/api/OrganizationprofilesApi.js +8 -8
  12. package/dist/api/OrganizationsApi.js +47 -47
  13. package/dist/api/SchemaApi.js +6 -6
  14. package/dist/api/SentryDebugApi.js +68 -0
  15. package/dist/api/UsersApi.js +74 -256
  16. package/dist/index.js +267 -67
  17. package/dist/model/BlockchainTransaction.js +172 -0
  18. package/dist/model/Consumer.js +7 -7
  19. package/dist/model/ConsumptionDataFileList.js +132 -0
  20. package/dist/model/ConsumptionDataFromRetailerRequest.js +110 -0
  21. package/dist/model/{RestAuthDetail.js → ConsumptionDataFromRetailerResponse.js} +26 -21
  22. package/dist/model/ConsumptionDataPointCreate.js +12 -12
  23. package/dist/model/ConsumptionDataPointListOrDetail.js +21 -14
  24. package/dist/model/ConsumptionDataPointUpdate.js +12 -12
  25. package/dist/model/ConsumptionSite.js +20 -21
  26. package/dist/model/ConsumptionSiteCreate.js +195 -0
  27. package/dist/model/ConsumptionSiteFileUpload.js +133 -0
  28. package/dist/model/{TokenRefresh.js → ConsumptionSiteFromRetailer.js} +25 -33
  29. package/dist/model/ConsumptionSiteListOrDetail.js +15 -33
  30. package/dist/model/ConsumptionSiteMany.js +195 -0
  31. package/dist/model/ContentTypeEnum.js +54 -0
  32. package/dist/model/EmissionFactor.js +6 -8
  33. package/dist/model/EnergySourceEnum.js +1 -1
  34. package/dist/model/EnergySourcePreference.js +2 -2
  35. package/dist/model/GetFromEpias.js +98 -0
  36. package/dist/model/GridOperator.js +6 -6
  37. package/dist/model/Issuer.js +6 -6
  38. package/dist/model/Location.js +6 -8
  39. package/dist/model/Login.js +2 -2
  40. package/dist/model/MatchRequest.js +299 -0
  41. package/dist/model/{CountryEnum.js → MatchTypeEnum.js} +12 -12
  42. package/dist/model/MatchedEnergyDataPoint.js +13 -14
  43. package/dist/model/MatchingConsumerRequest.js +122 -0
  44. package/dist/model/{MatchingRequest.js → MatchingSiteRequest.js} +32 -21
  45. package/dist/model/OrganizationTypeEnum.js +1 -1
  46. package/dist/model/PaginatedConsumerList.js +2 -2
  47. package/dist/model/PaginatedConsumptionDataPointListOrDetailList.js +2 -2
  48. package/dist/model/PaginatedConsumptionSiteListOrDetailList.js +2 -2
  49. package/dist/model/PaginatedEmissionFactorList.js +2 -2
  50. package/dist/model/PaginatedEnergySourcePreferenceList.js +2 -2
  51. package/dist/model/PaginatedGridOperatorList.js +2 -2
  52. package/dist/model/PaginatedIssuerList.js +2 -2
  53. package/dist/model/PaginatedLocationList.js +2 -2
  54. package/dist/model/PaginatedMatchRequestList.js +104 -0
  55. package/dist/model/PaginatedMatchedEnergyDataPointList.js +2 -2
  56. package/dist/model/PaginatedProducerList.js +2 -2
  57. package/dist/model/PaginatedProductionDataFromEpiasRequestList.js +104 -0
  58. package/dist/model/PaginatedProductionDataPointListOrDetailList.js +2 -2
  59. package/dist/model/PaginatedProductionSiteListOrDetailList.js +2 -2
  60. package/dist/model/PaginatedRetailerList.js +2 -2
  61. package/dist/model/PaginatedSmartContractList.js +104 -0
  62. package/dist/model/PaginatedUnprocessedRowList.js +104 -0
  63. package/dist/model/PaginatedUploadedFileList.js +104 -0
  64. package/dist/model/PaginatedUserList.js +2 -2
  65. package/dist/model/PatchedConsumer.js +7 -7
  66. package/dist/model/PatchedConsumptionDataPointUpdate.js +12 -12
  67. package/dist/model/PatchedConsumptionSite.js +15 -16
  68. package/dist/model/PatchedEmissionFactor.js +5 -7
  69. package/dist/model/PatchedEnergySourcePreference.js +2 -2
  70. package/dist/model/PatchedGridOperator.js +6 -6
  71. package/dist/model/PatchedIssuer.js +6 -6
  72. package/dist/model/PatchedLocation.js +5 -7
  73. package/dist/model/PatchedProducer.js +6 -6
  74. package/dist/model/PatchedProductionDataPointUpdate.js +13 -13
  75. package/dist/model/{PatchedProductionSite.js → PatchedProductionSiteUpdate.js} +60 -45
  76. package/dist/model/PatchedRetailer.js +16 -6
  77. package/dist/model/PatchedSmartContract.js +134 -0
  78. package/dist/model/PatchedUser.js +13 -2
  79. package/dist/model/PatchedUserDetail.js +13 -2
  80. package/dist/model/PriorityEnum.js +7 -1
  81. package/dist/model/Producer.js +6 -6
  82. package/dist/model/ProductionDataFileList.js +132 -0
  83. package/dist/model/ProductionDataFromEpiasRequest.js +167 -0
  84. package/dist/model/ProductionDataPointCreate.js +13 -13
  85. package/dist/model/ProductionDataPointListOrDetail.js +24 -21
  86. package/dist/model/ProductionDataPointUpdate.js +13 -13
  87. package/dist/model/ProductionSite.js +37 -24
  88. package/dist/model/ProductionSiteFileUpload.js +177 -0
  89. package/dist/model/ProductionSiteListOrDetail.js +30 -43
  90. package/dist/model/ProductionSiteUpdate.js +245 -0
  91. package/dist/model/Register.js +18 -6
  92. package/dist/model/Retailer.js +16 -6
  93. package/dist/model/SmartContract.js +139 -0
  94. package/dist/model/StatusEnum.js +52 -0
  95. package/dist/model/{VerifyEmail.js → Token.js} +19 -18
  96. package/dist/model/TypeEnum.js +52 -0
  97. package/dist/model/UnprocessedRow.js +140 -0
  98. package/dist/model/UploadedFile.js +154 -0
  99. package/dist/model/User.js +13 -2
  100. package/dist/model/UserDetail.js +13 -2
  101. package/package.json +4 -4
  102. package/dist/model/JWT.js +0 -103
  103. package/dist/model/PasswordChange.js +0 -100
  104. package/dist/model/PasswordReset.js +0 -79
  105. package/dist/model/PasswordResetConfirm.js +0 -112
  106. package/dist/model/TechnologyOrFuelTypeEnum.js +0 -170
  107. package/dist/model/TokenVerify.js +0 -78
@@ -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); return Constructor; }
17
-
18
- /**
19
- * The TokenVerify model module.
20
- * @module model/TokenVerify
21
- * @version 1.0.0
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;