green_link_api 1.10.2 → 1.10.4

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 (112) hide show
  1. package/README.md +2 -2
  2. package/dist/ApiClient.js +51 -133
  3. package/dist/api/BlockchainApi.js +19 -38
  4. package/dist/api/EnergyAssetsApi.js +61 -106
  5. package/dist/api/EnergyDataApi.js +88 -152
  6. package/dist/api/HealthCheckApi.js +2 -12
  7. package/dist/api/LicensedProductionSitesOnEpiasApi.js +2 -12
  8. package/dist/api/LocationsApi.js +21 -40
  9. package/dist/api/LogsApi.js +36 -67
  10. package/dist/api/MaintenanceCheckApi.js +2 -12
  11. package/dist/api/OrganizationprofilesApi.js +19 -38
  12. package/dist/api/OrganizationsApi.js +91 -146
  13. package/dist/api/SchemaApi.js +2 -12
  14. package/dist/api/SentryDebugApi.js +2 -12
  15. package/dist/api/UsersApi.js +23 -47
  16. package/dist/index.js +0 -110
  17. package/dist/model/Activities.js +9 -28
  18. package/dist/model/BlockchainTransaction.js +12 -36
  19. package/dist/model/Consumer.js +13 -37
  20. package/dist/model/ConsumptionDataFileList.js +8 -26
  21. package/dist/model/ConsumptionDataFromRetailerRequest.js +5 -20
  22. package/dist/model/ConsumptionDataPointCreate.js +24 -59
  23. package/dist/model/ConsumptionDataPointListOrDetail.js +24 -64
  24. package/dist/model/ConsumptionDataPointUpdate.js +24 -59
  25. package/dist/model/ConsumptionSite.js +15 -41
  26. package/dist/model/ConsumptionSiteContract.js +9 -29
  27. package/dist/model/ConsumptionSiteContractImport.js +5 -20
  28. package/dist/model/ConsumptionSiteCreate.js +15 -41
  29. package/dist/model/ConsumptionSiteFileUpload.js +8 -26
  30. package/dist/model/ConsumptionSiteListOrDetail.js +14 -41
  31. package/dist/model/ContentTypeEnum.js +0 -15
  32. package/dist/model/EacTypeEnum.js +0 -11
  33. package/dist/model/EmissionFactor.js +9 -28
  34. package/dist/model/EnergySourceEnum.js +0 -18
  35. package/dist/model/EnergySourcePreference.js +10 -32
  36. package/dist/model/GetFromEpias.js +5 -20
  37. package/dist/model/GridOperator.js +11 -33
  38. package/dist/model/ImportRequest.js +14 -40
  39. package/dist/model/ImportRequestStatusEnum.js +0 -14
  40. package/dist/model/ImportedEnergyDataPoint.js +11 -32
  41. package/dist/model/Issuer.js +11 -33
  42. package/dist/model/Location.js +19 -48
  43. package/dist/model/Login.js +5 -20
  44. package/dist/model/MatchRequest.js +23 -63
  45. package/dist/model/MatchTypeEnum.js +0 -12
  46. package/dist/model/MatchedEnergyDataPoint.js +14 -39
  47. package/dist/model/MatchingConsumerRequest.js +7 -24
  48. package/dist/model/MatchingSiteRequest.js +7 -24
  49. package/dist/model/OrganizationTypeEnum.js +0 -16
  50. package/dist/model/PaginatedActivitiesList.js +6 -23
  51. package/dist/model/PaginatedConsumerList.js +6 -23
  52. package/dist/model/PaginatedConsumptionDataPointListOrDetailList.js +6 -23
  53. package/dist/model/PaginatedConsumptionSiteContractList.js +6 -23
  54. package/dist/model/PaginatedConsumptionSiteListOrDetailList.js +6 -23
  55. package/dist/model/PaginatedEmissionFactorList.js +6 -23
  56. package/dist/model/PaginatedEnergySourcePreferenceList.js +6 -23
  57. package/dist/model/PaginatedGridOperatorList.js +6 -23
  58. package/dist/model/PaginatedImportRequestList.js +6 -23
  59. package/dist/model/PaginatedImportedEnergyDataPointList.js +6 -23
  60. package/dist/model/PaginatedIssuerList.js +6 -23
  61. package/dist/model/PaginatedLocationList.js +6 -23
  62. package/dist/model/PaginatedMatchRequestList.js +6 -23
  63. package/dist/model/PaginatedMatchedEnergyDataPointList.js +6 -23
  64. package/dist/model/PaginatedProducerList.js +6 -23
  65. package/dist/model/PaginatedProductionDataFromEpiasRequestList.js +6 -23
  66. package/dist/model/PaginatedProductionDataPointListOrDetailList.js +6 -23
  67. package/dist/model/PaginatedProductionSiteListOrDetailList.js +6 -23
  68. package/dist/model/PaginatedRetailerList.js +6 -23
  69. package/dist/model/PaginatedSmartContractList.js +6 -23
  70. package/dist/model/PaginatedUnprocessedRowList.js +6 -23
  71. package/dist/model/PaginatedUploadedCertificateListorDetailList.js +6 -23
  72. package/dist/model/PaginatedUploadedFileList.js +6 -23
  73. package/dist/model/PaginatedUserList.js +6 -23
  74. package/dist/model/PatchedConsumer.js +13 -37
  75. package/dist/model/PatchedConsumptionDataPointUpdate.js +24 -59
  76. package/dist/model/PatchedConsumptionSite.js +15 -41
  77. package/dist/model/PatchedEmissionFactor.js +9 -28
  78. package/dist/model/PatchedEnergySourcePreference.js +10 -32
  79. package/dist/model/PatchedGridOperator.js +11 -33
  80. package/dist/model/PatchedIssuer.js +11 -33
  81. package/dist/model/PatchedLocation.js +19 -48
  82. package/dist/model/PatchedProducer.js +11 -33
  83. package/dist/model/PatchedProductionDataPointUpdate.js +18 -47
  84. package/dist/model/PatchedProductionSiteUpdate.js +20 -51
  85. package/dist/model/PatchedRetailer.js +12 -35
  86. package/dist/model/PatchedSmartContract.js +9 -28
  87. package/dist/model/PatchedUser.js +18 -47
  88. package/dist/model/PatchedUserDetail.js +18 -47
  89. package/dist/model/PriorityEnum.js +0 -18
  90. package/dist/model/Producer.js +11 -33
  91. package/dist/model/ProductionDataFileList.js +8 -26
  92. package/dist/model/ProductionDataFromEpiasRequest.js +11 -36
  93. package/dist/model/ProductionDataPointCreate.js +18 -47
  94. package/dist/model/ProductionDataPointListOrDetail.js +19 -53
  95. package/dist/model/ProductionDataPointUpdate.js +18 -47
  96. package/dist/model/ProductionSite.js +20 -51
  97. package/dist/model/ProductionSiteFileUpload.js +12 -34
  98. package/dist/model/ProductionSiteListOrDetail.js +18 -48
  99. package/dist/model/ProductionSiteUpdate.js +20 -51
  100. package/dist/model/Register.js +14 -38
  101. package/dist/model/Retailer.js +12 -35
  102. package/dist/model/SmartContract.js +9 -28
  103. package/dist/model/Status619Enum.js +0 -13
  104. package/dist/model/Token.js +3 -16
  105. package/dist/model/TypeEnum.js +0 -13
  106. package/dist/model/UnprocessedRow.js +9 -28
  107. package/dist/model/UploadedCertificate.js +12 -35
  108. package/dist/model/UploadedCertificateListorDetail.js +12 -36
  109. package/dist/model/UploadedFile.js +10 -32
  110. package/dist/model/User.js +18 -47
  111. package/dist/model/UserDetail.js +18 -47
  112. package/package.json +1 -1
@@ -4,43 +4,26 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports["default"] = void 0;
7
-
8
7
  var _ApiClient = _interopRequireDefault(require("../ApiClient"));
9
-
10
8
  var _Activities = _interopRequireDefault(require("../model/Activities"));
11
-
12
9
  var _PaginatedActivitiesList = _interopRequireDefault(require("../model/PaginatedActivitiesList"));
13
-
14
10
  var _PaginatedProductionDataFromEpiasRequestList = _interopRequireDefault(require("../model/PaginatedProductionDataFromEpiasRequestList"));
15
-
16
11
  var _PaginatedUnprocessedRowList = _interopRequireDefault(require("../model/PaginatedUnprocessedRowList"));
17
-
18
12
  var _PaginatedUploadedCertificateListorDetailList = _interopRequireDefault(require("../model/PaginatedUploadedCertificateListorDetailList"));
19
-
20
13
  var _PaginatedUploadedFileList = _interopRequireDefault(require("../model/PaginatedUploadedFileList"));
21
-
22
14
  var _ProductionDataFromEpiasRequest = _interopRequireDefault(require("../model/ProductionDataFromEpiasRequest"));
23
-
24
15
  var _UnprocessedRow = _interopRequireDefault(require("../model/UnprocessedRow"));
25
-
26
16
  var _UploadedCertificate = _interopRequireDefault(require("../model/UploadedCertificate"));
27
-
28
17
  var _UploadedCertificateListorDetail = _interopRequireDefault(require("../model/UploadedCertificateListorDetail"));
29
-
30
18
  var _UploadedFile = _interopRequireDefault(require("../model/UploadedFile"));
31
-
32
19
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
33
-
34
20
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
35
-
36
21
  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); } }
37
-
38
22
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
39
-
40
23
  /**
41
24
  * Logs service.
42
25
  * @module api/LogsApi
43
- * @version 1.10.2
26
+ * @version 1.10.4
44
27
  */
45
28
  var LogsApi = /*#__PURE__*/function () {
46
29
  /**
@@ -52,9 +35,9 @@ var LogsApi = /*#__PURE__*/function () {
52
35
  */
53
36
  function LogsApi(apiClient) {
54
37
  _classCallCheck(this, LogsApi);
55
-
56
38
  this.apiClient = apiClient || _ApiClient["default"].instance;
57
39
  }
40
+
58
41
  /**
59
42
  * Callback function to receive the result of the logsActivitiesList operation.
60
43
  * @callback module:api/LogsApi~logsActivitiesListCallback
@@ -77,8 +60,6 @@ var LogsApi = /*#__PURE__*/function () {
77
60
  * @param {module:api/LogsApi~logsActivitiesListCallback} callback The callback function, accepting three arguments: error, data, response
78
61
  * data is of type: {@link module:model/PaginatedActivitiesList}
79
62
  */
80
-
81
-
82
63
  _createClass(LogsApi, [{
83
64
  key: "logsActivitiesList",
84
65
  value: function logsActivitiesList(opts, callback) {
@@ -103,6 +84,7 @@ var LogsApi = /*#__PURE__*/function () {
103
84
  var returnType = _PaginatedActivitiesList["default"];
104
85
  return this.apiClient.callApi('/logs/activities/', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
105
86
  }
87
+
106
88
  /**
107
89
  * Callback function to receive the result of the logsActivitiesRetrieve operation.
108
90
  * @callback module:api/LogsApi~logsActivitiesRetrieveCallback
@@ -117,16 +99,14 @@ var LogsApi = /*#__PURE__*/function () {
117
99
  * @param {module:api/LogsApi~logsActivitiesRetrieveCallback} callback The callback function, accepting three arguments: error, data, response
118
100
  * data is of type: {@link module:model/Activities}
119
101
  */
120
-
121
102
  }, {
122
103
  key: "logsActivitiesRetrieve",
123
104
  value: function logsActivitiesRetrieve(id, callback) {
124
- var postBody = null; // verify the required parameter 'id' is set
125
-
105
+ var postBody = null;
106
+ // verify the required parameter 'id' is set
126
107
  if (id === undefined || id === null) {
127
108
  throw new Error("Missing the required parameter 'id' when calling logsActivitiesRetrieve");
128
109
  }
129
-
130
110
  var pathParams = {
131
111
  'id': id
132
112
  };
@@ -139,6 +119,7 @@ var LogsApi = /*#__PURE__*/function () {
139
119
  var returnType = _Activities["default"];
140
120
  return this.apiClient.callApi('/logs/activities/{id}/', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
141
121
  }
122
+
142
123
  /**
143
124
  * Callback function to receive the result of the logsCertificatesCreate operation.
144
125
  * @callback module:api/LogsApi~logsCertificatesCreateCallback
@@ -153,16 +134,14 @@ var LogsApi = /*#__PURE__*/function () {
153
134
  * @param {module:api/LogsApi~logsCertificatesCreateCallback} callback The callback function, accepting three arguments: error, data, response
154
135
  * data is of type: {@link module:model/UploadedCertificate}
155
136
  */
156
-
157
137
  }, {
158
138
  key: "logsCertificatesCreate",
159
139
  value: function logsCertificatesCreate(uploadedCertificate, callback) {
160
- var postBody = uploadedCertificate; // verify the required parameter 'uploadedCertificate' is set
161
-
140
+ var postBody = uploadedCertificate;
141
+ // verify the required parameter 'uploadedCertificate' is set
162
142
  if (uploadedCertificate === undefined || uploadedCertificate === null) {
163
143
  throw new Error("Missing the required parameter 'uploadedCertificate' when calling logsCertificatesCreate");
164
144
  }
165
-
166
145
  var pathParams = {};
167
146
  var queryParams = {};
168
147
  var headerParams = {};
@@ -173,6 +152,7 @@ var LogsApi = /*#__PURE__*/function () {
173
152
  var returnType = _UploadedCertificate["default"];
174
153
  return this.apiClient.callApi('/logs/certificates/', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
175
154
  }
155
+
176
156
  /**
177
157
  * Callback function to receive the result of the logsCertificatesDestroy operation.
178
158
  * @callback module:api/LogsApi~logsCertificatesDestroyCallback
@@ -186,16 +166,14 @@ var LogsApi = /*#__PURE__*/function () {
186
166
  * @param {String} id A UUID string identifying this uploaded certificate file.
187
167
  * @param {module:api/LogsApi~logsCertificatesDestroyCallback} callback The callback function, accepting three arguments: error, data, response
188
168
  */
189
-
190
169
  }, {
191
170
  key: "logsCertificatesDestroy",
192
171
  value: function logsCertificatesDestroy(id, callback) {
193
- var postBody = null; // verify the required parameter 'id' is set
194
-
172
+ var postBody = null;
173
+ // verify the required parameter 'id' is set
195
174
  if (id === undefined || id === null) {
196
175
  throw new Error("Missing the required parameter 'id' when calling logsCertificatesDestroy");
197
176
  }
198
-
199
177
  var pathParams = {
200
178
  'id': id
201
179
  };
@@ -208,6 +186,7 @@ var LogsApi = /*#__PURE__*/function () {
208
186
  var returnType = null;
209
187
  return this.apiClient.callApi('/logs/certificates/{id}/', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
210
188
  }
189
+
211
190
  /**
212
191
  * Callback function to receive the result of the logsCertificatesList operation.
213
192
  * @callback module:api/LogsApi~logsCertificatesListCallback
@@ -233,7 +212,6 @@ var LogsApi = /*#__PURE__*/function () {
233
212
  * @param {module:api/LogsApi~logsCertificatesListCallback} callback The callback function, accepting three arguments: error, data, response
234
213
  * data is of type: {@link module:model/PaginatedUploadedCertificateListorDetailList}
235
214
  */
236
-
237
215
  }, {
238
216
  key: "logsCertificatesList",
239
217
  value: function logsCertificatesList(opts, callback) {
@@ -261,6 +239,7 @@ var LogsApi = /*#__PURE__*/function () {
261
239
  var returnType = _PaginatedUploadedCertificateListorDetailList["default"];
262
240
  return this.apiClient.callApi('/logs/certificates/', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
263
241
  }
242
+
264
243
  /**
265
244
  * Callback function to receive the result of the logsCertificatesRetrieve operation.
266
245
  * @callback module:api/LogsApi~logsCertificatesRetrieveCallback
@@ -275,16 +254,14 @@ var LogsApi = /*#__PURE__*/function () {
275
254
  * @param {module:api/LogsApi~logsCertificatesRetrieveCallback} callback The callback function, accepting three arguments: error, data, response
276
255
  * data is of type: {@link module:model/UploadedCertificateListorDetail}
277
256
  */
278
-
279
257
  }, {
280
258
  key: "logsCertificatesRetrieve",
281
259
  value: function logsCertificatesRetrieve(id, callback) {
282
- var postBody = null; // verify the required parameter 'id' is set
283
-
260
+ var postBody = null;
261
+ // verify the required parameter 'id' is set
284
262
  if (id === undefined || id === null) {
285
263
  throw new Error("Missing the required parameter 'id' when calling logsCertificatesRetrieve");
286
264
  }
287
-
288
265
  var pathParams = {
289
266
  'id': id
290
267
  };
@@ -297,6 +274,7 @@ var LogsApi = /*#__PURE__*/function () {
297
274
  var returnType = _UploadedCertificateListorDetail["default"];
298
275
  return this.apiClient.callApi('/logs/certificates/{id}/', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
299
276
  }
277
+
300
278
  /**
301
279
  * Callback function to receive the result of the logsProductionEpiasDestroy operation.
302
280
  * @callback module:api/LogsApi~logsProductionEpiasDestroyCallback
@@ -310,16 +288,14 @@ var LogsApi = /*#__PURE__*/function () {
310
288
  * @param {String} id A UUID string identifying this production data from epias request.
311
289
  * @param {module:api/LogsApi~logsProductionEpiasDestroyCallback} callback The callback function, accepting three arguments: error, data, response
312
290
  */
313
-
314
291
  }, {
315
292
  key: "logsProductionEpiasDestroy",
316
293
  value: function logsProductionEpiasDestroy(id, callback) {
317
- var postBody = null; // verify the required parameter 'id' is set
318
-
294
+ var postBody = null;
295
+ // verify the required parameter 'id' is set
319
296
  if (id === undefined || id === null) {
320
297
  throw new Error("Missing the required parameter 'id' when calling logsProductionEpiasDestroy");
321
298
  }
322
-
323
299
  var pathParams = {
324
300
  'id': id
325
301
  };
@@ -332,6 +308,7 @@ var LogsApi = /*#__PURE__*/function () {
332
308
  var returnType = null;
333
309
  return this.apiClient.callApi('/logs/production-epias/{id}/', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
334
310
  }
311
+
335
312
  /**
336
313
  * Callback function to receive the result of the logsProductionEpiasList operation.
337
314
  * @callback module:api/LogsApi~logsProductionEpiasListCallback
@@ -360,7 +337,6 @@ var LogsApi = /*#__PURE__*/function () {
360
337
  * @param {module:api/LogsApi~logsProductionEpiasListCallback} callback The callback function, accepting three arguments: error, data, response
361
338
  * data is of type: {@link module:model/PaginatedProductionDataFromEpiasRequestList}
362
339
  */
363
-
364
340
  }, {
365
341
  key: "logsProductionEpiasList",
366
342
  value: function logsProductionEpiasList(opts, callback) {
@@ -391,6 +367,7 @@ var LogsApi = /*#__PURE__*/function () {
391
367
  var returnType = _PaginatedProductionDataFromEpiasRequestList["default"];
392
368
  return this.apiClient.callApi('/logs/production-epias/', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
393
369
  }
370
+
394
371
  /**
395
372
  * Callback function to receive the result of the logsProductionEpiasRetrieve operation.
396
373
  * @callback module:api/LogsApi~logsProductionEpiasRetrieveCallback
@@ -405,16 +382,14 @@ var LogsApi = /*#__PURE__*/function () {
405
382
  * @param {module:api/LogsApi~logsProductionEpiasRetrieveCallback} callback The callback function, accepting three arguments: error, data, response
406
383
  * data is of type: {@link module:model/ProductionDataFromEpiasRequest}
407
384
  */
408
-
409
385
  }, {
410
386
  key: "logsProductionEpiasRetrieve",
411
387
  value: function logsProductionEpiasRetrieve(id, callback) {
412
- var postBody = null; // verify the required parameter 'id' is set
413
-
388
+ var postBody = null;
389
+ // verify the required parameter 'id' is set
414
390
  if (id === undefined || id === null) {
415
391
  throw new Error("Missing the required parameter 'id' when calling logsProductionEpiasRetrieve");
416
392
  }
417
-
418
393
  var pathParams = {
419
394
  'id': id
420
395
  };
@@ -427,6 +402,7 @@ var LogsApi = /*#__PURE__*/function () {
427
402
  var returnType = _ProductionDataFromEpiasRequest["default"];
428
403
  return this.apiClient.callApi('/logs/production-epias/{id}/', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
429
404
  }
405
+
430
406
  /**
431
407
  * Callback function to receive the result of the logsUnprocessedRowDestroy operation.
432
408
  * @callback module:api/LogsApi~logsUnprocessedRowDestroyCallback
@@ -440,16 +416,14 @@ var LogsApi = /*#__PURE__*/function () {
440
416
  * @param {String} id A UUID string identifying this unprocessed row.
441
417
  * @param {module:api/LogsApi~logsUnprocessedRowDestroyCallback} callback The callback function, accepting three arguments: error, data, response
442
418
  */
443
-
444
419
  }, {
445
420
  key: "logsUnprocessedRowDestroy",
446
421
  value: function logsUnprocessedRowDestroy(id, callback) {
447
- var postBody = null; // verify the required parameter 'id' is set
448
-
422
+ var postBody = null;
423
+ // verify the required parameter 'id' is set
449
424
  if (id === undefined || id === null) {
450
425
  throw new Error("Missing the required parameter 'id' when calling logsUnprocessedRowDestroy");
451
426
  }
452
-
453
427
  var pathParams = {
454
428
  'id': id
455
429
  };
@@ -462,6 +436,7 @@ var LogsApi = /*#__PURE__*/function () {
462
436
  var returnType = null;
463
437
  return this.apiClient.callApi('/logs/unprocessed-row/{id}/', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
464
438
  }
439
+
465
440
  /**
466
441
  * Callback function to receive the result of the logsUnprocessedRowList operation.
467
442
  * @callback module:api/LogsApi~logsUnprocessedRowListCallback
@@ -486,7 +461,6 @@ var LogsApi = /*#__PURE__*/function () {
486
461
  * @param {module:api/LogsApi~logsUnprocessedRowListCallback} callback The callback function, accepting three arguments: error, data, response
487
462
  * data is of type: {@link module:model/PaginatedUnprocessedRowList}
488
463
  */
489
-
490
464
  }, {
491
465
  key: "logsUnprocessedRowList",
492
466
  value: function logsUnprocessedRowList(opts, callback) {
@@ -513,6 +487,7 @@ var LogsApi = /*#__PURE__*/function () {
513
487
  var returnType = _PaginatedUnprocessedRowList["default"];
514
488
  return this.apiClient.callApi('/logs/unprocessed-row/', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
515
489
  }
490
+
516
491
  /**
517
492
  * Callback function to receive the result of the logsUnprocessedRowRetrieve operation.
518
493
  * @callback module:api/LogsApi~logsUnprocessedRowRetrieveCallback
@@ -527,16 +502,14 @@ var LogsApi = /*#__PURE__*/function () {
527
502
  * @param {module:api/LogsApi~logsUnprocessedRowRetrieveCallback} callback The callback function, accepting three arguments: error, data, response
528
503
  * data is of type: {@link module:model/UnprocessedRow}
529
504
  */
530
-
531
505
  }, {
532
506
  key: "logsUnprocessedRowRetrieve",
533
507
  value: function logsUnprocessedRowRetrieve(id, callback) {
534
- var postBody = null; // verify the required parameter 'id' is set
535
-
508
+ var postBody = null;
509
+ // verify the required parameter 'id' is set
536
510
  if (id === undefined || id === null) {
537
511
  throw new Error("Missing the required parameter 'id' when calling logsUnprocessedRowRetrieve");
538
512
  }
539
-
540
513
  var pathParams = {
541
514
  'id': id
542
515
  };
@@ -549,6 +522,7 @@ var LogsApi = /*#__PURE__*/function () {
549
522
  var returnType = _UnprocessedRow["default"];
550
523
  return this.apiClient.callApi('/logs/unprocessed-row/{id}/', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
551
524
  }
525
+
552
526
  /**
553
527
  * Callback function to receive the result of the logsUploadFileDestroy operation.
554
528
  * @callback module:api/LogsApi~logsUploadFileDestroyCallback
@@ -562,16 +536,14 @@ var LogsApi = /*#__PURE__*/function () {
562
536
  * @param {String} id A UUID string identifying this uploaded file.
563
537
  * @param {module:api/LogsApi~logsUploadFileDestroyCallback} callback The callback function, accepting three arguments: error, data, response
564
538
  */
565
-
566
539
  }, {
567
540
  key: "logsUploadFileDestroy",
568
541
  value: function logsUploadFileDestroy(id, callback) {
569
- var postBody = null; // verify the required parameter 'id' is set
570
-
542
+ var postBody = null;
543
+ // verify the required parameter 'id' is set
571
544
  if (id === undefined || id === null) {
572
545
  throw new Error("Missing the required parameter 'id' when calling logsUploadFileDestroy");
573
546
  }
574
-
575
547
  var pathParams = {
576
548
  'id': id
577
549
  };
@@ -584,6 +556,7 @@ var LogsApi = /*#__PURE__*/function () {
584
556
  var returnType = null;
585
557
  return this.apiClient.callApi('/logs/upload-file/{id}/', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
586
558
  }
559
+
587
560
  /**
588
561
  * Callback function to receive the result of the logsUploadFileList operation.
589
562
  * @callback module:api/LogsApi~logsUploadFileListCallback
@@ -608,7 +581,6 @@ var LogsApi = /*#__PURE__*/function () {
608
581
  * @param {module:api/LogsApi~logsUploadFileListCallback} callback The callback function, accepting three arguments: error, data, response
609
582
  * data is of type: {@link module:model/PaginatedUploadedFileList}
610
583
  */
611
-
612
584
  }, {
613
585
  key: "logsUploadFileList",
614
586
  value: function logsUploadFileList(opts, callback) {
@@ -635,6 +607,7 @@ var LogsApi = /*#__PURE__*/function () {
635
607
  var returnType = _PaginatedUploadedFileList["default"];
636
608
  return this.apiClient.callApi('/logs/upload-file/', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
637
609
  }
610
+
638
611
  /**
639
612
  * Callback function to receive the result of the logsUploadFileRetrieve operation.
640
613
  * @callback module:api/LogsApi~logsUploadFileRetrieveCallback
@@ -649,16 +622,14 @@ var LogsApi = /*#__PURE__*/function () {
649
622
  * @param {module:api/LogsApi~logsUploadFileRetrieveCallback} callback The callback function, accepting three arguments: error, data, response
650
623
  * data is of type: {@link module:model/UploadedFile}
651
624
  */
652
-
653
625
  }, {
654
626
  key: "logsUploadFileRetrieve",
655
627
  value: function logsUploadFileRetrieve(id, callback) {
656
- var postBody = null; // verify the required parameter 'id' is set
657
-
628
+ var postBody = null;
629
+ // verify the required parameter 'id' is set
658
630
  if (id === undefined || id === null) {
659
631
  throw new Error("Missing the required parameter 'id' when calling logsUploadFileRetrieve");
660
632
  }
661
-
662
633
  var pathParams = {
663
634
  'id': id
664
635
  };
@@ -672,8 +643,6 @@ var LogsApi = /*#__PURE__*/function () {
672
643
  return this.apiClient.callApi('/logs/upload-file/{id}/', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
673
644
  }
674
645
  }]);
675
-
676
646
  return LogsApi;
677
647
  }();
678
-
679
648
  exports["default"] = LogsApi;
@@ -4,21 +4,15 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports["default"] = void 0;
7
-
8
7
  var _ApiClient = _interopRequireDefault(require("../ApiClient"));
9
-
10
8
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
11
-
12
9
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
13
-
14
10
  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
11
  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
12
  /**
19
13
  * MaintenanceCheck service.
20
14
  * @module api/MaintenanceCheckApi
21
- * @version 1.10.2
15
+ * @version 1.10.4
22
16
  */
23
17
  var MaintenanceCheckApi = /*#__PURE__*/function () {
24
18
  /**
@@ -30,9 +24,9 @@ var MaintenanceCheckApi = /*#__PURE__*/function () {
30
24
  */
31
25
  function MaintenanceCheckApi(apiClient) {
32
26
  _classCallCheck(this, MaintenanceCheckApi);
33
-
34
27
  this.apiClient = apiClient || _ApiClient["default"].instance;
35
28
  }
29
+
36
30
  /**
37
31
  * Callback function to receive the result of the maintenanceCheckRetrieve operation.
38
32
  * @callback module:api/MaintenanceCheckApi~maintenanceCheckRetrieveCallback
@@ -44,8 +38,6 @@ var MaintenanceCheckApi = /*#__PURE__*/function () {
44
38
  /**
45
39
  * @param {module:api/MaintenanceCheckApi~maintenanceCheckRetrieveCallback} callback The callback function, accepting three arguments: error, data, response
46
40
  */
47
-
48
-
49
41
  _createClass(MaintenanceCheckApi, [{
50
42
  key: "maintenanceCheckRetrieve",
51
43
  value: function maintenanceCheckRetrieve(callback) {
@@ -61,8 +53,6 @@ var MaintenanceCheckApi = /*#__PURE__*/function () {
61
53
  return this.apiClient.callApi('/maintenance-check/', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
62
54
  }
63
55
  }]);
64
-
65
56
  return MaintenanceCheckApi;
66
57
  }();
67
-
68
58
  exports["default"] = MaintenanceCheckApi;
@@ -4,27 +4,18 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports["default"] = void 0;
7
-
8
7
  var _ApiClient = _interopRequireDefault(require("../ApiClient"));
9
-
10
8
  var _EnergySourcePreference = _interopRequireDefault(require("../model/EnergySourcePreference"));
11
-
12
9
  var _PaginatedEnergySourcePreferenceList = _interopRequireDefault(require("../model/PaginatedEnergySourcePreferenceList"));
13
-
14
10
  var _PatchedEnergySourcePreference = _interopRequireDefault(require("../model/PatchedEnergySourcePreference"));
15
-
16
11
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
17
-
18
12
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
19
-
20
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, descriptor.key, descriptor); } }
21
-
22
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; }
23
-
24
15
  /**
25
16
  * Organizationprofiles service.
26
17
  * @module api/OrganizationprofilesApi
27
- * @version 1.10.2
18
+ * @version 1.10.4
28
19
  */
29
20
  var OrganizationprofilesApi = /*#__PURE__*/function () {
30
21
  /**
@@ -36,9 +27,9 @@ var OrganizationprofilesApi = /*#__PURE__*/function () {
36
27
  */
37
28
  function OrganizationprofilesApi(apiClient) {
38
29
  _classCallCheck(this, OrganizationprofilesApi);
39
-
40
30
  this.apiClient = apiClient || _ApiClient["default"].instance;
41
31
  }
32
+
42
33
  /**
43
34
  * Callback function to receive the result of the organizationprofilesEnergySourcePreferenceCreate operation.
44
35
  * @callback module:api/OrganizationprofilesApi~organizationprofilesEnergySourcePreferenceCreateCallback
@@ -53,17 +44,14 @@ var OrganizationprofilesApi = /*#__PURE__*/function () {
53
44
  * @param {module:api/OrganizationprofilesApi~organizationprofilesEnergySourcePreferenceCreateCallback} callback The callback function, accepting three arguments: error, data, response
54
45
  * data is of type: {@link module:model/EnergySourcePreference}
55
46
  */
56
-
57
-
58
47
  _createClass(OrganizationprofilesApi, [{
59
48
  key: "organizationprofilesEnergySourcePreferenceCreate",
60
49
  value: function organizationprofilesEnergySourcePreferenceCreate(energySourcePreference, callback) {
61
- var postBody = energySourcePreference; // verify the required parameter 'energySourcePreference' is set
62
-
50
+ var postBody = energySourcePreference;
51
+ // verify the required parameter 'energySourcePreference' is set
63
52
  if (energySourcePreference === undefined || energySourcePreference === null) {
64
53
  throw new Error("Missing the required parameter 'energySourcePreference' when calling organizationprofilesEnergySourcePreferenceCreate");
65
54
  }
66
-
67
55
  var pathParams = {};
68
56
  var queryParams = {};
69
57
  var headerParams = {};
@@ -74,6 +62,7 @@ var OrganizationprofilesApi = /*#__PURE__*/function () {
74
62
  var returnType = _EnergySourcePreference["default"];
75
63
  return this.apiClient.callApi('/organizationprofiles/energy-source-preference/', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
76
64
  }
65
+
77
66
  /**
78
67
  * Callback function to receive the result of the organizationprofilesEnergySourcePreferenceDestroy operation.
79
68
  * @callback module:api/OrganizationprofilesApi~organizationprofilesEnergySourcePreferenceDestroyCallback
@@ -87,16 +76,14 @@ var OrganizationprofilesApi = /*#__PURE__*/function () {
87
76
  * @param {String} id A UUID string identifying this energy source preference.
88
77
  * @param {module:api/OrganizationprofilesApi~organizationprofilesEnergySourcePreferenceDestroyCallback} callback The callback function, accepting three arguments: error, data, response
89
78
  */
90
-
91
79
  }, {
92
80
  key: "organizationprofilesEnergySourcePreferenceDestroy",
93
81
  value: function organizationprofilesEnergySourcePreferenceDestroy(id, callback) {
94
- var postBody = null; // verify the required parameter 'id' is set
95
-
82
+ var postBody = null;
83
+ // verify the required parameter 'id' is set
96
84
  if (id === undefined || id === null) {
97
85
  throw new Error("Missing the required parameter 'id' when calling organizationprofilesEnergySourcePreferenceDestroy");
98
86
  }
99
-
100
87
  var pathParams = {
101
88
  'id': id
102
89
  };
@@ -109,6 +96,7 @@ var OrganizationprofilesApi = /*#__PURE__*/function () {
109
96
  var returnType = null;
110
97
  return this.apiClient.callApi('/organizationprofiles/energy-source-preference/{id}/', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
111
98
  }
99
+
112
100
  /**
113
101
  * Callback function to receive the result of the organizationprofilesEnergySourcePreferenceList operation.
114
102
  * @callback module:api/OrganizationprofilesApi~organizationprofilesEnergySourcePreferenceListCallback
@@ -133,7 +121,6 @@ var OrganizationprofilesApi = /*#__PURE__*/function () {
133
121
  * @param {module:api/OrganizationprofilesApi~organizationprofilesEnergySourcePreferenceListCallback} callback The callback function, accepting three arguments: error, data, response
134
122
  * data is of type: {@link module:model/PaginatedEnergySourcePreferenceList}
135
123
  */
136
-
137
124
  }, {
138
125
  key: "organizationprofilesEnergySourcePreferenceList",
139
126
  value: function organizationprofilesEnergySourcePreferenceList(opts, callback) {
@@ -160,6 +147,7 @@ var OrganizationprofilesApi = /*#__PURE__*/function () {
160
147
  var returnType = _PaginatedEnergySourcePreferenceList["default"];
161
148
  return this.apiClient.callApi('/organizationprofiles/energy-source-preference/', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
162
149
  }
150
+
163
151
  /**
164
152
  * Callback function to receive the result of the organizationprofilesEnergySourcePreferencePartialUpdate operation.
165
153
  * @callback module:api/OrganizationprofilesApi~organizationprofilesEnergySourcePreferencePartialUpdateCallback
@@ -176,17 +164,15 @@ var OrganizationprofilesApi = /*#__PURE__*/function () {
176
164
  * @param {module:api/OrganizationprofilesApi~organizationprofilesEnergySourcePreferencePartialUpdateCallback} callback The callback function, accepting three arguments: error, data, response
177
165
  * data is of type: {@link module:model/EnergySourcePreference}
178
166
  */
179
-
180
167
  }, {
181
168
  key: "organizationprofilesEnergySourcePreferencePartialUpdate",
182
169
  value: function organizationprofilesEnergySourcePreferencePartialUpdate(id, opts, callback) {
183
170
  opts = opts || {};
184
- var postBody = opts['patchedEnergySourcePreference']; // verify the required parameter 'id' is set
185
-
171
+ var postBody = opts['patchedEnergySourcePreference'];
172
+ // verify the required parameter 'id' is set
186
173
  if (id === undefined || id === null) {
187
174
  throw new Error("Missing the required parameter 'id' when calling organizationprofilesEnergySourcePreferencePartialUpdate");
188
175
  }
189
-
190
176
  var pathParams = {
191
177
  'id': id
192
178
  };
@@ -199,6 +185,7 @@ var OrganizationprofilesApi = /*#__PURE__*/function () {
199
185
  var returnType = _EnergySourcePreference["default"];
200
186
  return this.apiClient.callApi('/organizationprofiles/energy-source-preference/{id}/', 'PATCH', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
201
187
  }
188
+
202
189
  /**
203
190
  * Callback function to receive the result of the organizationprofilesEnergySourcePreferenceRetrieve operation.
204
191
  * @callback module:api/OrganizationprofilesApi~organizationprofilesEnergySourcePreferenceRetrieveCallback
@@ -213,16 +200,14 @@ var OrganizationprofilesApi = /*#__PURE__*/function () {
213
200
  * @param {module:api/OrganizationprofilesApi~organizationprofilesEnergySourcePreferenceRetrieveCallback} callback The callback function, accepting three arguments: error, data, response
214
201
  * data is of type: {@link module:model/EnergySourcePreference}
215
202
  */
216
-
217
203
  }, {
218
204
  key: "organizationprofilesEnergySourcePreferenceRetrieve",
219
205
  value: function organizationprofilesEnergySourcePreferenceRetrieve(id, callback) {
220
- var postBody = null; // verify the required parameter 'id' is set
221
-
206
+ var postBody = null;
207
+ // verify the required parameter 'id' is set
222
208
  if (id === undefined || id === null) {
223
209
  throw new Error("Missing the required parameter 'id' when calling organizationprofilesEnergySourcePreferenceRetrieve");
224
210
  }
225
-
226
211
  var pathParams = {
227
212
  'id': id
228
213
  };
@@ -235,6 +220,7 @@ var OrganizationprofilesApi = /*#__PURE__*/function () {
235
220
  var returnType = _EnergySourcePreference["default"];
236
221
  return this.apiClient.callApi('/organizationprofiles/energy-source-preference/{id}/', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
237
222
  }
223
+
238
224
  /**
239
225
  * Callback function to receive the result of the organizationprofilesEnergySourcePreferenceUpdate operation.
240
226
  * @callback module:api/OrganizationprofilesApi~organizationprofilesEnergySourcePreferenceUpdateCallback
@@ -250,21 +236,18 @@ var OrganizationprofilesApi = /*#__PURE__*/function () {
250
236
  * @param {module:api/OrganizationprofilesApi~organizationprofilesEnergySourcePreferenceUpdateCallback} callback The callback function, accepting three arguments: error, data, response
251
237
  * data is of type: {@link module:model/EnergySourcePreference}
252
238
  */
253
-
254
239
  }, {
255
240
  key: "organizationprofilesEnergySourcePreferenceUpdate",
256
241
  value: function organizationprofilesEnergySourcePreferenceUpdate(id, energySourcePreference, callback) {
257
- var postBody = energySourcePreference; // verify the required parameter 'id' is set
258
-
242
+ var postBody = energySourcePreference;
243
+ // verify the required parameter 'id' is set
259
244
  if (id === undefined || id === null) {
260
245
  throw new Error("Missing the required parameter 'id' when calling organizationprofilesEnergySourcePreferenceUpdate");
261
- } // verify the required parameter 'energySourcePreference' is set
262
-
263
-
246
+ }
247
+ // verify the required parameter 'energySourcePreference' is set
264
248
  if (energySourcePreference === undefined || energySourcePreference === null) {
265
249
  throw new Error("Missing the required parameter 'energySourcePreference' when calling organizationprofilesEnergySourcePreferenceUpdate");
266
250
  }
267
-
268
251
  var pathParams = {
269
252
  'id': id
270
253
  };
@@ -278,8 +261,6 @@ var OrganizationprofilesApi = /*#__PURE__*/function () {
278
261
  return this.apiClient.callApi('/organizationprofiles/energy-source-preference/{id}/', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
279
262
  }
280
263
  }]);
281
-
282
264
  return OrganizationprofilesApi;
283
265
  }();
284
-
285
266
  exports["default"] = OrganizationprofilesApi;