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
@@ -9,29 +9,29 @@ var _Location = _interopRequireDefault(require("../model/Location"));
9
9
  var _PaginatedLocationList = _interopRequireDefault(require("../model/PaginatedLocationList"));
10
10
  var _PatchedLocation = _interopRequireDefault(require("../model/PatchedLocation"));
11
11
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
12
- 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 _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); }
13
13
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
14
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, _toPropertyKey(descriptor.key), descriptor); } }
15
15
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
16
16
  function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
17
17
  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); } /**
18
- * GreenLink API
19
- * ⚡GreenLink API documentation with interactive tools for testing API endpoints.⚡
20
- *
21
- * The version of the OpenAPI document: 1.16.11
22
- *
23
- *
24
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
25
- * https://openapi-generator.tech
26
- * Do not edit the class manually.
27
- *
28
- */
18
+ * GreenLink API
19
+ * ⚡GreenLink API documentation with interactive tools for testing API endpoints.⚡
20
+ *
21
+ * The version of the OpenAPI document: 1.17.1
22
+ *
23
+ *
24
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
25
+ * https://openapi-generator.tech
26
+ * Do not edit the class manually.
27
+ *
28
+ */
29
29
  /**
30
30
  * Locations service.
31
31
  * @module api/LocationsApi
32
- * @version 1.16.11
32
+ * @version 1.17.1
33
33
  */
34
- var LocationsApi = /*#__PURE__*/function () {
34
+ var LocationsApi = exports["default"] = /*#__PURE__*/function () {
35
35
  /**
36
36
  * Constructs a new LocationsApi.
37
37
  * @alias module:api/LocationsApi
@@ -350,5 +350,4 @@ var LocationsApi = /*#__PURE__*/function () {
350
350
  }
351
351
  }]);
352
352
  return LocationsApi;
353
- }();
354
- exports["default"] = LocationsApi;
353
+ }();
@@ -7,39 +7,35 @@ exports["default"] = void 0;
7
7
  var _ApiClient = _interopRequireDefault(require("../ApiClient"));
8
8
  var _Activities = _interopRequireDefault(require("../model/Activities"));
9
9
  var _PaginatedActivitiesList = _interopRequireDefault(require("../model/PaginatedActivitiesList"));
10
- var _PaginatedProductionDataFromEpiasTaskList = _interopRequireDefault(require("../model/PaginatedProductionDataFromEpiasTaskList"));
11
- var _PaginatedUnprocessedRowList = _interopRequireDefault(require("../model/PaginatedUnprocessedRowList"));
12
10
  var _PaginatedUploadedCertificateListorDetailList = _interopRequireDefault(require("../model/PaginatedUploadedCertificateListorDetailList"));
13
11
  var _PaginatedUploadedFileTaskList = _interopRequireDefault(require("../model/PaginatedUploadedFileTaskList"));
14
- var _ProductionDataFromEpiasTask = _interopRequireDefault(require("../model/ProductionDataFromEpiasTask"));
15
- var _UnprocessedRow = _interopRequireDefault(require("../model/UnprocessedRow"));
16
12
  var _UploadedCertificate = _interopRequireDefault(require("../model/UploadedCertificate"));
17
13
  var _UploadedCertificateListorDetail = _interopRequireDefault(require("../model/UploadedCertificateListorDetail"));
18
14
  var _UploadedFileTask = _interopRequireDefault(require("../model/UploadedFileTask"));
19
15
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
20
- 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); }
16
+ 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); }
21
17
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
22
18
  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); } }
23
19
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
24
20
  function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
25
21
  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); } /**
26
- * GreenLink API
27
- * ⚡GreenLink API documentation with interactive tools for testing API endpoints.⚡
28
- *
29
- * The version of the OpenAPI document: 1.16.11
30
- *
31
- *
32
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
33
- * https://openapi-generator.tech
34
- * Do not edit the class manually.
35
- *
36
- */
22
+ * GreenLink API
23
+ * ⚡GreenLink API documentation with interactive tools for testing API endpoints.⚡
24
+ *
25
+ * The version of the OpenAPI document: 1.17.1
26
+ *
27
+ *
28
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
29
+ * https://openapi-generator.tech
30
+ * Do not edit the class manually.
31
+ *
32
+ */
37
33
  /**
38
34
  * Logs service.
39
35
  * @module api/LogsApi
40
- * @version 1.16.11
36
+ * @version 1.17.1
41
37
  */
42
- var LogsApi = /*#__PURE__*/function () {
38
+ var LogsApi = exports["default"] = /*#__PURE__*/function () {
43
39
  /**
44
40
  * Constructs a new LogsApi.
45
41
  * @alias module:api/LogsApi
@@ -330,254 +326,6 @@ var LogsApi = /*#__PURE__*/function () {
330
326
  return this.apiClient.callApi('/logs/certificates/{id}/', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
331
327
  }
332
328
 
333
- /**
334
- * Callback function to receive the result of the logsProductionEpiasDestroy operation.
335
- * @callback module:api/LogsApi~logsProductionEpiasDestroyCallback
336
- * @param {String} error Error message, if any.
337
- * @param data This operation does not return a value.
338
- * @param {String} response The complete HTTP response.
339
- */
340
-
341
- /**
342
- * This class manages the EPIAS requests related to the user's organization. The following operations are supported: - List all the EPIAS requests: Users must be authenticated and have an active (is_active=True) account. The roles required for this operation are Staff and/or Admin. - Get specific EPIAS request details: Users must be authenticated and have an active (is_active=True) account. The roles required for this operation are Staff and/or Admin. **Please note:** When users request for the list of EPIAS requests or for specific EPIAS request details, an event is captured using PostHog with the respective details and user's organization name.
343
- * @param {String} id A UUID string identifying this production data from epias task.
344
- * @param {module:api/LogsApi~logsProductionEpiasDestroyCallback} callback The callback function, accepting three arguments: error, data, response
345
- */
346
- }, {
347
- key: "logsProductionEpiasDestroy",
348
- value: function logsProductionEpiasDestroy(id, callback) {
349
- var postBody = null;
350
- // verify the required parameter 'id' is set
351
- if (id === undefined || id === null) {
352
- throw new Error("Missing the required parameter 'id' when calling logsProductionEpiasDestroy");
353
- }
354
- var pathParams = {
355
- 'id': id
356
- };
357
- var queryParams = {};
358
- var headerParams = {};
359
- var formParams = {};
360
- var authNames = [];
361
- var contentTypes = [];
362
- var accepts = [];
363
- var returnType = null;
364
- return this.apiClient.callApi('/logs/production-epias/{id}/', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
365
- }
366
-
367
- /**
368
- * Callback function to receive the result of the logsProductionEpiasList operation.
369
- * @callback module:api/LogsApi~logsProductionEpiasListCallback
370
- * @param {String} error Error message, if any.
371
- * @param {module:model/PaginatedProductionDataFromEpiasTaskList} data The data returned by the service call.
372
- * @param {String} response The complete HTTP response.
373
- */
374
-
375
- /**
376
- * This class manages the EPIAS requests related to the user's organization. The following operations are supported: - List all the EPIAS requests: Users must be authenticated and have an active (is_active=True) account. The roles required for this operation are Staff and/or Admin. - Get specific EPIAS request details: Users must be authenticated and have an active (is_active=True) account. The roles required for this operation are Staff and/or Admin. **Please note:** When users request for the list of EPIAS requests or for specific EPIAS request details, an event is captured using PostHog with the respective details and user's organization name.
377
- * @param {Object} opts Optional parameters
378
- * @param {Date} opts.createdAt
379
- * @param {Date} opts.endTime
380
- * @param {String} opts.id
381
- * @param {Number} opts.limit Number of results to return per page.
382
- * @param {Number} opts.offset The initial index from which to return the results.
383
- * @param {Array.<module:model/String>} opts.orderBy Ordering * `time` - Time * `-time` - Time (descending) * `status` - Status * `-status` - Status (descending) * `created_at` - Created at * `-created_at` - Created at (descending) * `retailer` - Retailer * `-retailer` - Retailer (descending) * `production_site` - Production site * `-production_site` - Production site (descending)
384
- * @param {String} opts.producer
385
- * @param {String} opts.productionSite
386
- * @param {String} opts.retailer
387
- * @param {Date} opts.startAfter Filter start time after a given ISO 8601 formatted date (e.g: 2020-01-01T03:00:00+03:00)
388
- * @param {Date} opts.startBefore Filter start time before a given ISO 8601 formatted date (e.g: 2020-01-02T03:00:00+03:00)
389
- * @param {Date} opts.startTime
390
- * @param {module:model/String} opts.status * `started` - started * `failed` - failed * `finished` - finished * `unstarted` - unstarted
391
- * @param {Date} opts.updatedAt
392
- * @param {module:api/LogsApi~logsProductionEpiasListCallback} callback The callback function, accepting three arguments: error, data, response
393
- * data is of type: {@link module:model/PaginatedProductionDataFromEpiasTaskList}
394
- */
395
- }, {
396
- key: "logsProductionEpiasList",
397
- value: function logsProductionEpiasList(opts, callback) {
398
- opts = opts || {};
399
- var postBody = null;
400
- var pathParams = {};
401
- var queryParams = {
402
- 'created_at': opts['createdAt'],
403
- 'end_time': opts['endTime'],
404
- 'id': opts['id'],
405
- 'limit': opts['limit'],
406
- 'offset': opts['offset'],
407
- 'order_by': this.apiClient.buildCollectionParam(opts['orderBy'], 'csv'),
408
- 'producer': opts['producer'],
409
- 'production_site': opts['productionSite'],
410
- 'retailer': opts['retailer'],
411
- 'start_after': opts['startAfter'],
412
- 'start_before': opts['startBefore'],
413
- 'start_time': opts['startTime'],
414
- 'status': opts['status'],
415
- 'updated_at': opts['updatedAt']
416
- };
417
- var headerParams = {};
418
- var formParams = {};
419
- var authNames = [];
420
- var contentTypes = [];
421
- var accepts = ['application/json'];
422
- var returnType = _PaginatedProductionDataFromEpiasTaskList["default"];
423
- return this.apiClient.callApi('/logs/production-epias/', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
424
- }
425
-
426
- /**
427
- * Callback function to receive the result of the logsProductionEpiasRetrieve operation.
428
- * @callback module:api/LogsApi~logsProductionEpiasRetrieveCallback
429
- * @param {String} error Error message, if any.
430
- * @param {module:model/ProductionDataFromEpiasTask} data The data returned by the service call.
431
- * @param {String} response The complete HTTP response.
432
- */
433
-
434
- /**
435
- * This class manages the EPIAS requests related to the user's organization. The following operations are supported: - List all the EPIAS requests: Users must be authenticated and have an active (is_active=True) account. The roles required for this operation are Staff and/or Admin. - Get specific EPIAS request details: Users must be authenticated and have an active (is_active=True) account. The roles required for this operation are Staff and/or Admin. **Please note:** When users request for the list of EPIAS requests or for specific EPIAS request details, an event is captured using PostHog with the respective details and user's organization name.
436
- * @param {String} id A UUID string identifying this production data from epias task.
437
- * @param {module:api/LogsApi~logsProductionEpiasRetrieveCallback} callback The callback function, accepting three arguments: error, data, response
438
- * data is of type: {@link module:model/ProductionDataFromEpiasTask}
439
- */
440
- }, {
441
- key: "logsProductionEpiasRetrieve",
442
- value: function logsProductionEpiasRetrieve(id, callback) {
443
- var postBody = null;
444
- // verify the required parameter 'id' is set
445
- if (id === undefined || id === null) {
446
- throw new Error("Missing the required parameter 'id' when calling logsProductionEpiasRetrieve");
447
- }
448
- var pathParams = {
449
- 'id': id
450
- };
451
- var queryParams = {};
452
- var headerParams = {};
453
- var formParams = {};
454
- var authNames = [];
455
- var contentTypes = [];
456
- var accepts = ['application/json'];
457
- var returnType = _ProductionDataFromEpiasTask["default"];
458
- return this.apiClient.callApi('/logs/production-epias/{id}/', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
459
- }
460
-
461
- /**
462
- * Callback function to receive the result of the logsUnprocessedRowDestroy operation.
463
- * @callback module:api/LogsApi~logsUnprocessedRowDestroyCallback
464
- * @param {String} error Error message, if any.
465
- * @param data This operation does not return a value.
466
- * @param {String} response The complete HTTP response.
467
- */
468
-
469
- /**
470
- * This class manages the unprocessed rows of the uploaded files by the user's organization. The following operations are supported: - List all the information of unprocessed rows: Users must be authenticated and have an active (is_active=True) account. The roles required for this operation are Staff and/or Admin. - Get specific unprocessed row information: Users must be authenticated and have an active (is_active=True) account. The roles required for this operation are Staff and/or Admin. - Delete a specific file: Users must be authenticated and have an active (is_active=True) account. In addition, the object should be owned by the user's organization. The roles required for this operation are Admin, and the user should be employed by an active allowed organization (Consumer or Retailer). **Please note:** When users request for the list of unprocessed rows or for specific unprocessed row details, an event is captured using PostHog with the respective details and user's organization ID.
471
- * @param {String} id A UUID string identifying this unprocessed row.
472
- * @param {module:api/LogsApi~logsUnprocessedRowDestroyCallback} callback The callback function, accepting three arguments: error, data, response
473
- */
474
- }, {
475
- key: "logsUnprocessedRowDestroy",
476
- value: function logsUnprocessedRowDestroy(id, callback) {
477
- var postBody = null;
478
- // verify the required parameter 'id' is set
479
- if (id === undefined || id === null) {
480
- throw new Error("Missing the required parameter 'id' when calling logsUnprocessedRowDestroy");
481
- }
482
- var pathParams = {
483
- 'id': id
484
- };
485
- var queryParams = {};
486
- var headerParams = {};
487
- var formParams = {};
488
- var authNames = [];
489
- var contentTypes = [];
490
- var accepts = [];
491
- var returnType = null;
492
- return this.apiClient.callApi('/logs/unprocessed-row/{id}/', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
493
- }
494
-
495
- /**
496
- * Callback function to receive the result of the logsUnprocessedRowList operation.
497
- * @callback module:api/LogsApi~logsUnprocessedRowListCallback
498
- * @param {String} error Error message, if any.
499
- * @param {module:model/PaginatedUnprocessedRowList} data The data returned by the service call.
500
- * @param {String} response The complete HTTP response.
501
- */
502
-
503
- /**
504
- * This class manages the unprocessed rows of the uploaded files by the user's organization. The following operations are supported: - List all the information of unprocessed rows: Users must be authenticated and have an active (is_active=True) account. The roles required for this operation are Staff and/or Admin. - Get specific unprocessed row information: Users must be authenticated and have an active (is_active=True) account. The roles required for this operation are Staff and/or Admin. - Delete a specific file: Users must be authenticated and have an active (is_active=True) account. In addition, the object should be owned by the user's organization. The roles required for this operation are Admin, and the user should be employed by an active allowed organization (Consumer or Retailer). **Please note:** When users request for the list of unprocessed rows or for specific unprocessed row details, an event is captured using PostHog with the respective details and user's organization ID.
505
- * @param {Object} opts Optional parameters
506
- * @param {Date} opts.createdAt
507
- * @param {String} opts.errorMessage
508
- * @param {String} opts.id
509
- * @param {Number} opts.limit Number of results to return per page.
510
- * @param {Number} opts.offset The initial index from which to return the results.
511
- * @param {Array.<module:model/String>} opts.orderBy Ordering * `row_number` - Row number * `-row_number` - Row number (descending) * `error_message` - Error message * `-error_message` - Error message (descending) * `uploaded_file` - Uploaded file * `-uploaded_file` - Uploaded file (descending)
512
- * @param {String} opts.owner
513
- * @param {Number} opts.rowNumber
514
- * @param {Date} opts.updatedAt
515
- * @param {String} opts.uploadedFile
516
- * @param {module:api/LogsApi~logsUnprocessedRowListCallback} callback The callback function, accepting three arguments: error, data, response
517
- * data is of type: {@link module:model/PaginatedUnprocessedRowList}
518
- */
519
- }, {
520
- key: "logsUnprocessedRowList",
521
- value: function logsUnprocessedRowList(opts, callback) {
522
- opts = opts || {};
523
- var postBody = null;
524
- var pathParams = {};
525
- var queryParams = {
526
- 'created_at': opts['createdAt'],
527
- 'error_message': opts['errorMessage'],
528
- 'id': opts['id'],
529
- 'limit': opts['limit'],
530
- 'offset': opts['offset'],
531
- 'order_by': this.apiClient.buildCollectionParam(opts['orderBy'], 'csv'),
532
- 'owner': opts['owner'],
533
- 'row_number': opts['rowNumber'],
534
- 'updated_at': opts['updatedAt'],
535
- 'uploaded_file': opts['uploadedFile']
536
- };
537
- var headerParams = {};
538
- var formParams = {};
539
- var authNames = [];
540
- var contentTypes = [];
541
- var accepts = ['application/json'];
542
- var returnType = _PaginatedUnprocessedRowList["default"];
543
- return this.apiClient.callApi('/logs/unprocessed-row/', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
544
- }
545
-
546
- /**
547
- * Callback function to receive the result of the logsUnprocessedRowRetrieve operation.
548
- * @callback module:api/LogsApi~logsUnprocessedRowRetrieveCallback
549
- * @param {String} error Error message, if any.
550
- * @param {module:model/UnprocessedRow} data The data returned by the service call.
551
- * @param {String} response The complete HTTP response.
552
- */
553
-
554
- /**
555
- * This class manages the unprocessed rows of the uploaded files by the user's organization. The following operations are supported: - List all the information of unprocessed rows: Users must be authenticated and have an active (is_active=True) account. The roles required for this operation are Staff and/or Admin. - Get specific unprocessed row information: Users must be authenticated and have an active (is_active=True) account. The roles required for this operation are Staff and/or Admin. - Delete a specific file: Users must be authenticated and have an active (is_active=True) account. In addition, the object should be owned by the user's organization. The roles required for this operation are Admin, and the user should be employed by an active allowed organization (Consumer or Retailer). **Please note:** When users request for the list of unprocessed rows or for specific unprocessed row details, an event is captured using PostHog with the respective details and user's organization ID.
556
- * @param {String} id A UUID string identifying this unprocessed row.
557
- * @param {module:api/LogsApi~logsUnprocessedRowRetrieveCallback} callback The callback function, accepting three arguments: error, data, response
558
- * data is of type: {@link module:model/UnprocessedRow}
559
- */
560
- }, {
561
- key: "logsUnprocessedRowRetrieve",
562
- value: function logsUnprocessedRowRetrieve(id, callback) {
563
- var postBody = null;
564
- // verify the required parameter 'id' is set
565
- if (id === undefined || id === null) {
566
- throw new Error("Missing the required parameter 'id' when calling logsUnprocessedRowRetrieve");
567
- }
568
- var pathParams = {
569
- 'id': id
570
- };
571
- var queryParams = {};
572
- var headerParams = {};
573
- var formParams = {};
574
- var authNames = [];
575
- var contentTypes = [];
576
- var accepts = ['application/json'];
577
- var returnType = _UnprocessedRow["default"];
578
- return this.apiClient.callApi('/logs/unprocessed-row/{id}/', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
579
- }
580
-
581
329
  /**
582
330
  * Callback function to receive the result of the logsUploadFileDestroy operation.
583
331
  * @callback module:api/LogsApi~logsUploadFileDestroyCallback
@@ -699,5 +447,4 @@ var LogsApi = /*#__PURE__*/function () {
699
447
  }
700
448
  }]);
701
449
  return LogsApi;
702
- }();
703
- exports["default"] = LogsApi;
450
+ }();
@@ -6,29 +6,29 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports["default"] = void 0;
7
7
  var _ApiClient = _interopRequireDefault(require("../ApiClient"));
8
8
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
9
- 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); }
9
+ 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); }
10
10
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
11
11
  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); } }
12
12
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
13
13
  function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
14
14
  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); } /**
15
- * GreenLink API
16
- * ⚡GreenLink API documentation with interactive tools for testing API endpoints.⚡
17
- *
18
- * The version of the OpenAPI document: 1.16.11
19
- *
20
- *
21
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
22
- * https://openapi-generator.tech
23
- * Do not edit the class manually.
24
- *
25
- */
15
+ * GreenLink API
16
+ * ⚡GreenLink API documentation with interactive tools for testing API endpoints.⚡
17
+ *
18
+ * The version of the OpenAPI document: 1.17.1
19
+ *
20
+ *
21
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
22
+ * https://openapi-generator.tech
23
+ * Do not edit the class manually.
24
+ *
25
+ */
26
26
  /**
27
27
  * MaintenanceCheck service.
28
28
  * @module api/MaintenanceCheckApi
29
- * @version 1.16.11
29
+ * @version 1.17.1
30
30
  */
31
- var MaintenanceCheckApi = /*#__PURE__*/function () {
31
+ var MaintenanceCheckApi = exports["default"] = /*#__PURE__*/function () {
32
32
  /**
33
33
  * Constructs a new MaintenanceCheckApi.
34
34
  * @alias module:api/MaintenanceCheckApi
@@ -68,5 +68,4 @@ var MaintenanceCheckApi = /*#__PURE__*/function () {
68
68
  }
69
69
  }]);
70
70
  return MaintenanceCheckApi;
71
- }();
72
- exports["default"] = MaintenanceCheckApi;
71
+ }();
@@ -9,29 +9,29 @@ var _EnergySourcePreference = _interopRequireDefault(require("../model/EnergySou
9
9
  var _PaginatedEnergySourcePreferenceList = _interopRequireDefault(require("../model/PaginatedEnergySourcePreferenceList"));
10
10
  var _PatchedEnergySourcePreference = _interopRequireDefault(require("../model/PatchedEnergySourcePreference"));
11
11
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
12
- 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 _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); }
13
13
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
14
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, _toPropertyKey(descriptor.key), descriptor); } }
15
15
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
16
16
  function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
17
17
  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); } /**
18
- * GreenLink API
19
- * ⚡GreenLink API documentation with interactive tools for testing API endpoints.⚡
20
- *
21
- * The version of the OpenAPI document: 1.16.11
22
- *
23
- *
24
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
25
- * https://openapi-generator.tech
26
- * Do not edit the class manually.
27
- *
28
- */
18
+ * GreenLink API
19
+ * ⚡GreenLink API documentation with interactive tools for testing API endpoints.⚡
20
+ *
21
+ * The version of the OpenAPI document: 1.17.1
22
+ *
23
+ *
24
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
25
+ * https://openapi-generator.tech
26
+ * Do not edit the class manually.
27
+ *
28
+ */
29
29
  /**
30
30
  * Organizationprofiles service.
31
31
  * @module api/OrganizationprofilesApi
32
- * @version 1.16.11
32
+ * @version 1.17.1
33
33
  */
34
- var OrganizationprofilesApi = /*#__PURE__*/function () {
34
+ var OrganizationprofilesApi = exports["default"] = /*#__PURE__*/function () {
35
35
  /**
36
36
  * Constructs a new OrganizationprofilesApi.
37
37
  * @alias module:api/OrganizationprofilesApi
@@ -276,5 +276,4 @@ var OrganizationprofilesApi = /*#__PURE__*/function () {
276
276
  }
277
277
  }]);
278
278
  return OrganizationprofilesApi;
279
- }();
280
- exports["default"] = OrganizationprofilesApi;
279
+ }();
@@ -21,29 +21,29 @@ var _PatchedRetailer = _interopRequireDefault(require("../model/PatchedRetailer"
21
21
  var _Producer = _interopRequireDefault(require("../model/Producer"));
22
22
  var _Retailer = _interopRequireDefault(require("../model/Retailer"));
23
23
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
24
- 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); }
24
+ 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); }
25
25
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
26
26
  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); } }
27
27
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
28
28
  function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
29
29
  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); } /**
30
- * GreenLink API
31
- * ⚡GreenLink API documentation with interactive tools for testing API endpoints.⚡
32
- *
33
- * The version of the OpenAPI document: 1.16.11
34
- *
35
- *
36
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
37
- * https://openapi-generator.tech
38
- * Do not edit the class manually.
39
- *
40
- */
30
+ * GreenLink API
31
+ * ⚡GreenLink API documentation with interactive tools for testing API endpoints.⚡
32
+ *
33
+ * The version of the OpenAPI document: 1.17.1
34
+ *
35
+ *
36
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
37
+ * https://openapi-generator.tech
38
+ * Do not edit the class manually.
39
+ *
40
+ */
41
41
  /**
42
42
  * Organizations service.
43
43
  * @module api/OrganizationsApi
44
- * @version 1.16.11
44
+ * @version 1.17.1
45
45
  */
46
- var OrganizationsApi = /*#__PURE__*/function () {
46
+ var OrganizationsApi = exports["default"] = /*#__PURE__*/function () {
47
47
  /**
48
48
  * Constructs a new OrganizationsApi.
49
49
  * @alias module:api/OrganizationsApi
@@ -1248,5 +1248,4 @@ var OrganizationsApi = /*#__PURE__*/function () {
1248
1248
  }
1249
1249
  }]);
1250
1250
  return OrganizationsApi;
1251
- }();
1252
- exports["default"] = OrganizationsApi;
1251
+ }();