green_link_api 1.12.0 → 1.13.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (113) hide show
  1. package/README.md +2 -2
  2. package/dist/ApiClient.js +3 -3
  3. package/dist/api/BlockchainApi.js +8 -8
  4. package/dist/api/EnergyAssetsApi.js +2 -2
  5. package/dist/api/EnergyDataApi.js +29 -29
  6. package/dist/api/HealthCheckApi.js +2 -2
  7. package/dist/api/LicensedProductionSitesOnEpiasApi.js +2 -2
  8. package/dist/api/LocationsApi.js +8 -8
  9. package/dist/api/LogsApi.js +11 -11
  10. package/dist/api/MaintenanceCheckApi.js +2 -2
  11. package/dist/api/OrganizationprofilesApi.js +8 -8
  12. package/dist/api/OrganizationsApi.js +36 -32
  13. package/dist/api/SchemaApi.js +2 -2
  14. package/dist/api/SentryDebugApi.js +2 -2
  15. package/dist/api/UsersApi.js +2 -2
  16. package/dist/model/Activities.js +2 -2
  17. package/dist/model/BlockchainTransaction.js +2 -2
  18. package/dist/model/Consumer.js +2 -2
  19. package/dist/model/ConsumptionDataFileList.js +2 -2
  20. package/dist/model/ConsumptionDataFromRetailerRequest.js +2 -2
  21. package/dist/model/ConsumptionDataPointCreate.js +2 -2
  22. package/dist/model/ConsumptionDataPointListOrDetail.js +2 -2
  23. package/dist/model/ConsumptionDataPointUpdate.js +2 -2
  24. package/dist/model/ConsumptionSite.js +2 -2
  25. package/dist/model/ConsumptionSiteContract.js +2 -2
  26. package/dist/model/ConsumptionSiteContractImport.js +2 -2
  27. package/dist/model/ConsumptionSiteCreate.js +2 -2
  28. package/dist/model/ConsumptionSiteFileUpload.js +2 -2
  29. package/dist/model/ConsumptionSiteListOrDetail.js +2 -2
  30. package/dist/model/ContentTypeEnum.js +1 -1
  31. package/dist/model/EacTypeEnum.js +1 -1
  32. package/dist/model/EmissionFactor.js +2 -2
  33. package/dist/model/EnergySourceEnum.js +1 -1
  34. package/dist/model/EnergySourcePreference.js +37 -28
  35. package/dist/model/GetFromEpias.js +2 -2
  36. package/dist/model/GridOperator.js +2 -2
  37. package/dist/model/ImportRequest.js +2 -2
  38. package/dist/model/ImportRequestRaw.js +2 -2
  39. package/dist/model/ImportRequestStatusEnum.js +1 -1
  40. package/dist/model/ImportedEnergyDataPoint.js +2 -2
  41. package/dist/model/Issuer.js +2 -2
  42. package/dist/model/Location.js +33 -16
  43. package/dist/model/Login.js +2 -2
  44. package/dist/model/MatchRequest.js +2 -2
  45. package/dist/model/MatchTypeEnum.js +1 -1
  46. package/dist/model/MatchedEnergyDataPoint.js +2 -2
  47. package/dist/model/MatchingConsumerRequest.js +2 -2
  48. package/dist/model/MatchingSiteRequest.js +2 -2
  49. package/dist/model/OrganizationTypeEnum.js +1 -1
  50. package/dist/model/PaginatedActivitiesList.js +2 -2
  51. package/dist/model/PaginatedConsumerList.js +2 -2
  52. package/dist/model/PaginatedConsumptionDataPointListOrDetailList.js +2 -2
  53. package/dist/model/PaginatedConsumptionSiteContractList.js +2 -2
  54. package/dist/model/PaginatedConsumptionSiteListOrDetailList.js +2 -2
  55. package/dist/model/PaginatedEmissionFactorList.js +2 -2
  56. package/dist/model/PaginatedEnergySourcePreferenceList.js +2 -2
  57. package/dist/model/PaginatedGridOperatorList.js +2 -2
  58. package/dist/model/PaginatedImportRequestList.js +2 -2
  59. package/dist/model/PaginatedImportRequestRawList.js +2 -2
  60. package/dist/model/PaginatedImportedEnergyDataPointList.js +2 -2
  61. package/dist/model/PaginatedIssuerList.js +2 -2
  62. package/dist/model/PaginatedLocationList.js +2 -2
  63. package/dist/model/PaginatedMatchRequestList.js +2 -2
  64. package/dist/model/PaginatedMatchedEnergyDataPointList.js +2 -2
  65. package/dist/model/PaginatedProducerList.js +2 -2
  66. package/dist/model/PaginatedProductionDataFromEpiasRequestList.js +2 -2
  67. package/dist/model/PaginatedProductionDataPointListOrDetailList.js +2 -2
  68. package/dist/model/PaginatedProductionSiteListOrDetailList.js +2 -2
  69. package/dist/model/PaginatedRetailerList.js +2 -2
  70. package/dist/model/PaginatedSmartContractList.js +2 -2
  71. package/dist/model/PaginatedUnprocessedRowList.js +2 -2
  72. package/dist/model/PaginatedUploadedCertificateListorDetailList.js +2 -2
  73. package/dist/model/PaginatedUploadedFileList.js +2 -2
  74. package/dist/model/PaginatedUserList.js +2 -2
  75. package/dist/model/PatchedConsumer.js +2 -2
  76. package/dist/model/PatchedConsumptionDataPointUpdate.js +2 -2
  77. package/dist/model/PatchedConsumptionSite.js +2 -2
  78. package/dist/model/PatchedEmissionFactor.js +2 -2
  79. package/dist/model/PatchedEnergySourcePreference.js +32 -23
  80. package/dist/model/PatchedGridOperator.js +2 -2
  81. package/dist/model/PatchedIssuer.js +2 -2
  82. package/dist/model/PatchedLocation.js +28 -11
  83. package/dist/model/PatchedProducer.js +2 -2
  84. package/dist/model/PatchedProductionDataPointUpdate.js +2 -2
  85. package/dist/model/PatchedProductionSiteUpdate.js +2 -2
  86. package/dist/model/PatchedRetailer.js +2 -2
  87. package/dist/model/PatchedSmartContract.js +2 -2
  88. package/dist/model/PatchedUser.js +2 -2
  89. package/dist/model/PatchedUserDetail.js +2 -2
  90. package/dist/model/PriorityEnum.js +1 -1
  91. package/dist/model/Producer.js +2 -2
  92. package/dist/model/ProductionDataFileList.js +2 -2
  93. package/dist/model/ProductionDataFromEpiasRequest.js +2 -2
  94. package/dist/model/ProductionDataPointCreate.js +2 -2
  95. package/dist/model/ProductionDataPointListOrDetail.js +2 -2
  96. package/dist/model/ProductionDataPointUpdate.js +2 -2
  97. package/dist/model/ProductionSite.js +2 -2
  98. package/dist/model/ProductionSiteFileUpload.js +2 -2
  99. package/dist/model/ProductionSiteListOrDetail.js +2 -2
  100. package/dist/model/ProductionSiteUpdate.js +2 -2
  101. package/dist/model/Register.js +2 -2
  102. package/dist/model/Retailer.js +2 -2
  103. package/dist/model/SmartContract.js +2 -2
  104. package/dist/model/Status619Enum.js +1 -1
  105. package/dist/model/Token.js +2 -2
  106. package/dist/model/TypeEnum.js +1 -1
  107. package/dist/model/UnprocessedRow.js +2 -2
  108. package/dist/model/UploadedCertificate.js +2 -2
  109. package/dist/model/UploadedCertificateListorDetail.js +2 -2
  110. package/dist/model/UploadedFile.js +2 -2
  111. package/dist/model/User.js +2 -2
  112. package/dist/model/UserDetail.js +2 -2
  113. package/package.json +1 -1
@@ -16,7 +16,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
16
16
  * GreenLink API
17
17
  * ⚡GreenLink API documentation with interactive tools for testing API endpoints.⚡
18
18
  *
19
- * The version of the OpenAPI document: 1.12.0
19
+ * The version of the OpenAPI document: 1.13.1
20
20
  *
21
21
  *
22
22
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -27,7 +27,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
27
27
  /**
28
28
  * The PaginatedMatchedEnergyDataPointList model module.
29
29
  * @module model/PaginatedMatchedEnergyDataPointList
30
- * @version 1.12.0
30
+ * @version 1.13.1
31
31
  */
32
32
  var PaginatedMatchedEnergyDataPointList = /*#__PURE__*/function () {
33
33
  /**
@@ -16,7 +16,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
16
16
  * GreenLink API
17
17
  * ⚡GreenLink API documentation with interactive tools for testing API endpoints.⚡
18
18
  *
19
- * The version of the OpenAPI document: 1.12.0
19
+ * The version of the OpenAPI document: 1.13.1
20
20
  *
21
21
  *
22
22
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -27,7 +27,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
27
27
  /**
28
28
  * The PaginatedProducerList model module.
29
29
  * @module model/PaginatedProducerList
30
- * @version 1.12.0
30
+ * @version 1.13.1
31
31
  */
32
32
  var PaginatedProducerList = /*#__PURE__*/function () {
33
33
  /**
@@ -16,7 +16,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
16
16
  * GreenLink API
17
17
  * ⚡GreenLink API documentation with interactive tools for testing API endpoints.⚡
18
18
  *
19
- * The version of the OpenAPI document: 1.12.0
19
+ * The version of the OpenAPI document: 1.13.1
20
20
  *
21
21
  *
22
22
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -27,7 +27,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
27
27
  /**
28
28
  * The PaginatedProductionDataFromEpiasRequestList model module.
29
29
  * @module model/PaginatedProductionDataFromEpiasRequestList
30
- * @version 1.12.0
30
+ * @version 1.13.1
31
31
  */
32
32
  var PaginatedProductionDataFromEpiasRequestList = /*#__PURE__*/function () {
33
33
  /**
@@ -16,7 +16,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
16
16
  * GreenLink API
17
17
  * ⚡GreenLink API documentation with interactive tools for testing API endpoints.⚡
18
18
  *
19
- * The version of the OpenAPI document: 1.12.0
19
+ * The version of the OpenAPI document: 1.13.1
20
20
  *
21
21
  *
22
22
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -27,7 +27,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
27
27
  /**
28
28
  * The PaginatedProductionDataPointListOrDetailList model module.
29
29
  * @module model/PaginatedProductionDataPointListOrDetailList
30
- * @version 1.12.0
30
+ * @version 1.13.1
31
31
  */
32
32
  var PaginatedProductionDataPointListOrDetailList = /*#__PURE__*/function () {
33
33
  /**
@@ -16,7 +16,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
16
16
  * GreenLink API
17
17
  * ⚡GreenLink API documentation with interactive tools for testing API endpoints.⚡
18
18
  *
19
- * The version of the OpenAPI document: 1.12.0
19
+ * The version of the OpenAPI document: 1.13.1
20
20
  *
21
21
  *
22
22
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -27,7 +27,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
27
27
  /**
28
28
  * The PaginatedProductionSiteListOrDetailList model module.
29
29
  * @module model/PaginatedProductionSiteListOrDetailList
30
- * @version 1.12.0
30
+ * @version 1.13.1
31
31
  */
32
32
  var PaginatedProductionSiteListOrDetailList = /*#__PURE__*/function () {
33
33
  /**
@@ -16,7 +16,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
16
16
  * GreenLink API
17
17
  * ⚡GreenLink API documentation with interactive tools for testing API endpoints.⚡
18
18
  *
19
- * The version of the OpenAPI document: 1.12.0
19
+ * The version of the OpenAPI document: 1.13.1
20
20
  *
21
21
  *
22
22
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -27,7 +27,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
27
27
  /**
28
28
  * The PaginatedRetailerList model module.
29
29
  * @module model/PaginatedRetailerList
30
- * @version 1.12.0
30
+ * @version 1.13.1
31
31
  */
32
32
  var PaginatedRetailerList = /*#__PURE__*/function () {
33
33
  /**
@@ -16,7 +16,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
16
16
  * GreenLink API
17
17
  * ⚡GreenLink API documentation with interactive tools for testing API endpoints.⚡
18
18
  *
19
- * The version of the OpenAPI document: 1.12.0
19
+ * The version of the OpenAPI document: 1.13.1
20
20
  *
21
21
  *
22
22
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -27,7 +27,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
27
27
  /**
28
28
  * The PaginatedSmartContractList model module.
29
29
  * @module model/PaginatedSmartContractList
30
- * @version 1.12.0
30
+ * @version 1.13.1
31
31
  */
32
32
  var PaginatedSmartContractList = /*#__PURE__*/function () {
33
33
  /**
@@ -16,7 +16,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
16
16
  * GreenLink API
17
17
  * ⚡GreenLink API documentation with interactive tools for testing API endpoints.⚡
18
18
  *
19
- * The version of the OpenAPI document: 1.12.0
19
+ * The version of the OpenAPI document: 1.13.1
20
20
  *
21
21
  *
22
22
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -27,7 +27,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
27
27
  /**
28
28
  * The PaginatedUnprocessedRowList model module.
29
29
  * @module model/PaginatedUnprocessedRowList
30
- * @version 1.12.0
30
+ * @version 1.13.1
31
31
  */
32
32
  var PaginatedUnprocessedRowList = /*#__PURE__*/function () {
33
33
  /**
@@ -16,7 +16,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
16
16
  * GreenLink API
17
17
  * ⚡GreenLink API documentation with interactive tools for testing API endpoints.⚡
18
18
  *
19
- * The version of the OpenAPI document: 1.12.0
19
+ * The version of the OpenAPI document: 1.13.1
20
20
  *
21
21
  *
22
22
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -27,7 +27,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
27
27
  /**
28
28
  * The PaginatedUploadedCertificateListorDetailList model module.
29
29
  * @module model/PaginatedUploadedCertificateListorDetailList
30
- * @version 1.12.0
30
+ * @version 1.13.1
31
31
  */
32
32
  var PaginatedUploadedCertificateListorDetailList = /*#__PURE__*/function () {
33
33
  /**
@@ -16,7 +16,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
16
16
  * GreenLink API
17
17
  * ⚡GreenLink API documentation with interactive tools for testing API endpoints.⚡
18
18
  *
19
- * The version of the OpenAPI document: 1.12.0
19
+ * The version of the OpenAPI document: 1.13.1
20
20
  *
21
21
  *
22
22
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -27,7 +27,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
27
27
  /**
28
28
  * The PaginatedUploadedFileList model module.
29
29
  * @module model/PaginatedUploadedFileList
30
- * @version 1.12.0
30
+ * @version 1.13.1
31
31
  */
32
32
  var PaginatedUploadedFileList = /*#__PURE__*/function () {
33
33
  /**
@@ -16,7 +16,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
16
16
  * GreenLink API
17
17
  * ⚡GreenLink API documentation with interactive tools for testing API endpoints.⚡
18
18
  *
19
- * The version of the OpenAPI document: 1.12.0
19
+ * The version of the OpenAPI document: 1.13.1
20
20
  *
21
21
  *
22
22
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -27,7 +27,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
27
27
  /**
28
28
  * The PaginatedUserList model module.
29
29
  * @module model/PaginatedUserList
30
- * @version 1.12.0
30
+ * @version 1.13.1
31
31
  */
32
32
  var PaginatedUserList = /*#__PURE__*/function () {
33
33
  /**
@@ -16,7 +16,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
16
16
  * GreenLink API
17
17
  * ⚡GreenLink API documentation with interactive tools for testing API endpoints.⚡
18
18
  *
19
- * The version of the OpenAPI document: 1.12.0
19
+ * The version of the OpenAPI document: 1.13.1
20
20
  *
21
21
  *
22
22
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -27,7 +27,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
27
27
  /**
28
28
  * The PatchedConsumer model module.
29
29
  * @module model/PatchedConsumer
30
- * @version 1.12.0
30
+ * @version 1.13.1
31
31
  */
32
32
  var PatchedConsumer = /*#__PURE__*/function () {
33
33
  /**
@@ -16,7 +16,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
16
16
  * GreenLink API
17
17
  * ⚡GreenLink API documentation with interactive tools for testing API endpoints.⚡
18
18
  *
19
- * The version of the OpenAPI document: 1.12.0
19
+ * The version of the OpenAPI document: 1.13.1
20
20
  *
21
21
  *
22
22
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -27,7 +27,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
27
27
  /**
28
28
  * The PatchedConsumptionDataPointUpdate model module.
29
29
  * @module model/PatchedConsumptionDataPointUpdate
30
- * @version 1.12.0
30
+ * @version 1.13.1
31
31
  */
32
32
  var PatchedConsumptionDataPointUpdate = /*#__PURE__*/function () {
33
33
  /**
@@ -16,7 +16,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
16
16
  * GreenLink API
17
17
  * ⚡GreenLink API documentation with interactive tools for testing API endpoints.⚡
18
18
  *
19
- * The version of the OpenAPI document: 1.12.0
19
+ * The version of the OpenAPI document: 1.13.1
20
20
  *
21
21
  *
22
22
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -27,7 +27,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
27
27
  /**
28
28
  * The PatchedConsumptionSite model module.
29
29
  * @module model/PatchedConsumptionSite
30
- * @version 1.12.0
30
+ * @version 1.13.1
31
31
  */
32
32
  var PatchedConsumptionSite = /*#__PURE__*/function () {
33
33
  /**
@@ -15,7 +15,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
15
15
  * GreenLink API
16
16
  * ⚡GreenLink API documentation with interactive tools for testing API endpoints.⚡
17
17
  *
18
- * The version of the OpenAPI document: 1.12.0
18
+ * The version of the OpenAPI document: 1.13.1
19
19
  *
20
20
  *
21
21
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -26,7 +26,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
26
26
  /**
27
27
  * The PatchedEmissionFactor model module.
28
28
  * @module model/PatchedEmissionFactor
29
- * @version 1.12.0
29
+ * @version 1.13.1
30
30
  */
31
31
  var PatchedEmissionFactor = /*#__PURE__*/function () {
32
32
  /**
@@ -17,7 +17,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
17
17
  * GreenLink API
18
18
  * ⚡GreenLink API documentation with interactive tools for testing API endpoints.⚡
19
19
  *
20
- * The version of the OpenAPI document: 1.12.0
20
+ * The version of the OpenAPI document: 1.13.1
21
21
  *
22
22
  *
23
23
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -28,7 +28,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
28
28
  /**
29
29
  * The PatchedEnergySourcePreference model module.
30
30
  * @module model/PatchedEnergySourcePreference
31
- * @version 1.12.0
31
+ * @version 1.13.1
32
32
  */
33
33
  var PatchedEnergySourcePreference = /*#__PURE__*/function () {
34
34
  /**
@@ -64,14 +64,8 @@ var PatchedEnergySourcePreference = /*#__PURE__*/function () {
64
64
  if (data.hasOwnProperty('id')) {
65
65
  obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
66
66
  }
67
- if (data.hasOwnProperty('owner')) {
68
- obj['owner'] = _ApiClient["default"].convertToType(data['owner'], 'String');
69
- }
70
- if (data.hasOwnProperty('consumer')) {
71
- obj['consumer'] = _ApiClient["default"].convertToType(data['consumer'], 'String');
72
- }
73
- if (data.hasOwnProperty('retailer')) {
74
- obj['retailer'] = _ApiClient["default"].convertToType(data['retailer'], 'String');
67
+ if (data.hasOwnProperty('version')) {
68
+ obj['version'] = _ApiClient["default"].convertToType(data['version'], 'Number');
75
69
  }
76
70
  if (data.hasOwnProperty('energy_source')) {
77
71
  obj['energy_source'] = _EnergySourceEnum["default"].constructFromObject(data['energy_source']);
@@ -85,6 +79,15 @@ var PatchedEnergySourcePreference = /*#__PURE__*/function () {
85
79
  if (data.hasOwnProperty('updated_at')) {
86
80
  obj['updated_at'] = _ApiClient["default"].convertToType(data['updated_at'], 'Date');
87
81
  }
82
+ if (data.hasOwnProperty('owner')) {
83
+ obj['owner'] = _ApiClient["default"].convertToType(data['owner'], 'String');
84
+ }
85
+ if (data.hasOwnProperty('consumer')) {
86
+ obj['consumer'] = _ApiClient["default"].convertToType(data['consumer'], 'String');
87
+ }
88
+ if (data.hasOwnProperty('retailer')) {
89
+ obj['retailer'] = _ApiClient["default"].convertToType(data['retailer'], 'String');
90
+ }
88
91
  }
89
92
  return obj;
90
93
  }
@@ -97,20 +100,10 @@ var PatchedEnergySourcePreference = /*#__PURE__*/function () {
97
100
  PatchedEnergySourcePreference.prototype['id'] = undefined;
98
101
 
99
102
  /**
100
- * Owner Organization
101
- * @member {String} owner
102
- */
103
- PatchedEnergySourcePreference.prototype['owner'] = undefined;
104
-
105
- /**
106
- * @member {String} consumer
107
- */
108
- PatchedEnergySourcePreference.prototype['consumer'] = undefined;
109
-
110
- /**
111
- * @member {String} retailer
103
+ * record revision number
104
+ * @member {Number} version
112
105
  */
113
- PatchedEnergySourcePreference.prototype['retailer'] = undefined;
106
+ PatchedEnergySourcePreference.prototype['version'] = undefined;
114
107
 
115
108
  /**
116
109
  * @member {module:model/EnergySourceEnum} energy_source
@@ -132,5 +125,21 @@ PatchedEnergySourcePreference.prototype['created_at'] = undefined;
132
125
  * @member {Date} updated_at
133
126
  */
134
127
  PatchedEnergySourcePreference.prototype['updated_at'] = undefined;
128
+
129
+ /**
130
+ * Owner Organization
131
+ * @member {String} owner
132
+ */
133
+ PatchedEnergySourcePreference.prototype['owner'] = undefined;
134
+
135
+ /**
136
+ * @member {String} consumer
137
+ */
138
+ PatchedEnergySourcePreference.prototype['consumer'] = undefined;
139
+
140
+ /**
141
+ * @member {String} retailer
142
+ */
143
+ PatchedEnergySourcePreference.prototype['retailer'] = undefined;
135
144
  var _default = PatchedEnergySourcePreference;
136
145
  exports["default"] = _default;
@@ -16,7 +16,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
16
16
  * GreenLink API
17
17
  * ⚡GreenLink API documentation with interactive tools for testing API endpoints.⚡
18
18
  *
19
- * The version of the OpenAPI document: 1.12.0
19
+ * The version of the OpenAPI document: 1.13.1
20
20
  *
21
21
  *
22
22
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -27,7 +27,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
27
27
  /**
28
28
  * The PatchedGridOperator model module.
29
29
  * @module model/PatchedGridOperator
30
- * @version 1.12.0
30
+ * @version 1.13.1
31
31
  */
32
32
  var PatchedGridOperator = /*#__PURE__*/function () {
33
33
  /**
@@ -16,7 +16,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
16
16
  * GreenLink API
17
17
  * ⚡GreenLink API documentation with interactive tools for testing API endpoints.⚡
18
18
  *
19
- * The version of the OpenAPI document: 1.12.0
19
+ * The version of the OpenAPI document: 1.13.1
20
20
  *
21
21
  *
22
22
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -27,7 +27,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
27
27
  /**
28
28
  * The PatchedIssuer model module.
29
29
  * @module model/PatchedIssuer
30
- * @version 1.12.0
30
+ * @version 1.13.1
31
31
  */
32
32
  var PatchedIssuer = /*#__PURE__*/function () {
33
33
  /**
@@ -15,7 +15,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
15
15
  * GreenLink API
16
16
  * ⚡GreenLink API documentation with interactive tools for testing API endpoints.⚡
17
17
  *
18
- * The version of the OpenAPI document: 1.12.0
18
+ * The version of the OpenAPI document: 1.13.1
19
19
  *
20
20
  *
21
21
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -26,7 +26,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
26
26
  /**
27
27
  * The PatchedLocation model module.
28
28
  * @module model/PatchedLocation
29
- * @version 1.12.0
29
+ * @version 1.13.1
30
30
  */
31
31
  var PatchedLocation = /*#__PURE__*/function () {
32
32
  /**
@@ -62,15 +62,21 @@ var PatchedLocation = /*#__PURE__*/function () {
62
62
  if (data.hasOwnProperty('id')) {
63
63
  obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
64
64
  }
65
+ if (data.hasOwnProperty('country')) {
66
+ obj['country'] = _ApiClient["default"].convertToType(data['country'], 'String');
67
+ }
68
+ if (data.hasOwnProperty('deleted')) {
69
+ obj['deleted'] = _ApiClient["default"].convertToType(data['deleted'], 'Date');
70
+ }
71
+ if (data.hasOwnProperty('version')) {
72
+ obj['version'] = _ApiClient["default"].convertToType(data['version'], 'Number');
73
+ }
65
74
  if (data.hasOwnProperty('latitude')) {
66
75
  obj['latitude'] = _ApiClient["default"].convertToType(data['latitude'], 'Number');
67
76
  }
68
77
  if (data.hasOwnProperty('longitude')) {
69
78
  obj['longitude'] = _ApiClient["default"].convertToType(data['longitude'], 'Number');
70
79
  }
71
- if (data.hasOwnProperty('country')) {
72
- obj['country'] = _ApiClient["default"].convertToType(data['country'], 'String');
73
- }
74
80
  if (data.hasOwnProperty('city')) {
75
81
  obj['city'] = _ApiClient["default"].convertToType(data['city'], 'String');
76
82
  }
@@ -121,6 +127,23 @@ var PatchedLocation = /*#__PURE__*/function () {
121
127
  */
122
128
  PatchedLocation.prototype['id'] = undefined;
123
129
 
130
+ /**
131
+ * Required. 150 characters or fewer.
132
+ * @member {String} country
133
+ */
134
+ PatchedLocation.prototype['country'] = undefined;
135
+
136
+ /**
137
+ * @member {Date} deleted
138
+ */
139
+ PatchedLocation.prototype['deleted'] = undefined;
140
+
141
+ /**
142
+ * record revision number
143
+ * @member {Number} version
144
+ */
145
+ PatchedLocation.prototype['version'] = undefined;
146
+
124
147
  /**
125
148
  * @member {Number} latitude
126
149
  */
@@ -131,12 +154,6 @@ PatchedLocation.prototype['latitude'] = undefined;
131
154
  */
132
155
  PatchedLocation.prototype['longitude'] = undefined;
133
156
 
134
- /**
135
- * Required. 150 characters or fewer.
136
- * @member {String} country
137
- */
138
- PatchedLocation.prototype['country'] = undefined;
139
-
140
157
  /**
141
158
  * Not required. 150 characters or fewer.
142
159
  * @member {String} city