green_link_api 1.12.0 → 1.13.0
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +2 -2
- package/dist/ApiClient.js +3 -3
- package/dist/api/BlockchainApi.js +8 -8
- package/dist/api/EnergyAssetsApi.js +2 -2
- package/dist/api/EnergyDataApi.js +29 -29
- package/dist/api/HealthCheckApi.js +2 -2
- package/dist/api/LicensedProductionSitesOnEpiasApi.js +2 -2
- package/dist/api/LocationsApi.js +8 -8
- package/dist/api/LogsApi.js +11 -11
- package/dist/api/MaintenanceCheckApi.js +2 -2
- package/dist/api/OrganizationprofilesApi.js +8 -8
- package/dist/api/OrganizationsApi.js +36 -32
- package/dist/api/SchemaApi.js +2 -2
- package/dist/api/SentryDebugApi.js +2 -2
- package/dist/api/UsersApi.js +2 -2
- package/dist/model/Activities.js +2 -2
- package/dist/model/BlockchainTransaction.js +2 -2
- package/dist/model/Consumer.js +2 -2
- package/dist/model/ConsumptionDataFileList.js +2 -2
- package/dist/model/ConsumptionDataFromRetailerRequest.js +2 -2
- package/dist/model/ConsumptionDataPointCreate.js +2 -2
- package/dist/model/ConsumptionDataPointListOrDetail.js +2 -2
- package/dist/model/ConsumptionDataPointUpdate.js +2 -2
- package/dist/model/ConsumptionSite.js +2 -2
- package/dist/model/ConsumptionSiteContract.js +2 -2
- package/dist/model/ConsumptionSiteContractImport.js +2 -2
- package/dist/model/ConsumptionSiteCreate.js +2 -2
- package/dist/model/ConsumptionSiteFileUpload.js +2 -2
- package/dist/model/ConsumptionSiteListOrDetail.js +2 -2
- package/dist/model/ContentTypeEnum.js +1 -1
- package/dist/model/EacTypeEnum.js +1 -1
- package/dist/model/EmissionFactor.js +2 -2
- package/dist/model/EnergySourceEnum.js +1 -1
- package/dist/model/EnergySourcePreference.js +37 -28
- package/dist/model/GetFromEpias.js +2 -2
- package/dist/model/GridOperator.js +2 -2
- package/dist/model/ImportRequest.js +2 -2
- package/dist/model/ImportRequestRaw.js +2 -2
- package/dist/model/ImportRequestStatusEnum.js +1 -1
- package/dist/model/ImportedEnergyDataPoint.js +2 -2
- package/dist/model/Issuer.js +2 -2
- package/dist/model/Location.js +33 -16
- package/dist/model/Login.js +2 -2
- package/dist/model/MatchRequest.js +2 -2
- package/dist/model/MatchTypeEnum.js +1 -1
- package/dist/model/MatchedEnergyDataPoint.js +2 -2
- package/dist/model/MatchingConsumerRequest.js +2 -2
- package/dist/model/MatchingSiteRequest.js +2 -2
- package/dist/model/OrganizationTypeEnum.js +1 -1
- package/dist/model/PaginatedActivitiesList.js +2 -2
- package/dist/model/PaginatedConsumerList.js +2 -2
- package/dist/model/PaginatedConsumptionDataPointListOrDetailList.js +2 -2
- package/dist/model/PaginatedConsumptionSiteContractList.js +2 -2
- package/dist/model/PaginatedConsumptionSiteListOrDetailList.js +2 -2
- package/dist/model/PaginatedEmissionFactorList.js +2 -2
- package/dist/model/PaginatedEnergySourcePreferenceList.js +2 -2
- package/dist/model/PaginatedGridOperatorList.js +2 -2
- package/dist/model/PaginatedImportRequestList.js +2 -2
- package/dist/model/PaginatedImportRequestRawList.js +2 -2
- package/dist/model/PaginatedImportedEnergyDataPointList.js +2 -2
- package/dist/model/PaginatedIssuerList.js +2 -2
- package/dist/model/PaginatedLocationList.js +2 -2
- package/dist/model/PaginatedMatchRequestList.js +2 -2
- package/dist/model/PaginatedMatchedEnergyDataPointList.js +2 -2
- package/dist/model/PaginatedProducerList.js +2 -2
- package/dist/model/PaginatedProductionDataFromEpiasRequestList.js +2 -2
- package/dist/model/PaginatedProductionDataPointListOrDetailList.js +2 -2
- package/dist/model/PaginatedProductionSiteListOrDetailList.js +2 -2
- package/dist/model/PaginatedRetailerList.js +2 -2
- package/dist/model/PaginatedSmartContractList.js +2 -2
- package/dist/model/PaginatedUnprocessedRowList.js +2 -2
- package/dist/model/PaginatedUploadedCertificateListorDetailList.js +2 -2
- package/dist/model/PaginatedUploadedFileList.js +2 -2
- package/dist/model/PaginatedUserList.js +2 -2
- package/dist/model/PatchedConsumer.js +2 -2
- package/dist/model/PatchedConsumptionDataPointUpdate.js +2 -2
- package/dist/model/PatchedConsumptionSite.js +2 -2
- package/dist/model/PatchedEmissionFactor.js +2 -2
- package/dist/model/PatchedEnergySourcePreference.js +32 -23
- package/dist/model/PatchedGridOperator.js +2 -2
- package/dist/model/PatchedIssuer.js +2 -2
- package/dist/model/PatchedLocation.js +28 -11
- package/dist/model/PatchedProducer.js +2 -2
- package/dist/model/PatchedProductionDataPointUpdate.js +2 -2
- package/dist/model/PatchedProductionSiteUpdate.js +2 -2
- package/dist/model/PatchedRetailer.js +2 -2
- package/dist/model/PatchedSmartContract.js +2 -2
- package/dist/model/PatchedUser.js +2 -2
- package/dist/model/PatchedUserDetail.js +2 -2
- package/dist/model/PriorityEnum.js +1 -1
- package/dist/model/Producer.js +2 -2
- package/dist/model/ProductionDataFileList.js +2 -2
- package/dist/model/ProductionDataFromEpiasRequest.js +2 -2
- package/dist/model/ProductionDataPointCreate.js +2 -2
- package/dist/model/ProductionDataPointListOrDetail.js +2 -2
- package/dist/model/ProductionDataPointUpdate.js +2 -2
- package/dist/model/ProductionSite.js +2 -2
- package/dist/model/ProductionSiteFileUpload.js +2 -2
- package/dist/model/ProductionSiteListOrDetail.js +2 -2
- package/dist/model/ProductionSiteUpdate.js +2 -2
- package/dist/model/Register.js +2 -2
- package/dist/model/Retailer.js +2 -2
- package/dist/model/SmartContract.js +2 -2
- package/dist/model/Status619Enum.js +1 -1
- package/dist/model/Token.js +2 -2
- package/dist/model/TypeEnum.js +1 -1
- package/dist/model/UnprocessedRow.js +2 -2
- package/dist/model/UploadedCertificate.js +2 -2
- package/dist/model/UploadedCertificateListorDetail.js +2 -2
- package/dist/model/UploadedFile.js +2 -2
- package/dist/model/User.js +2 -2
- package/dist/model/UserDetail.js +2 -2
- package/package.json +1 -1
@@ -30,7 +30,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
30
30
|
* GreenLink API
|
31
31
|
* ⚡GreenLink API documentation with interactive tools for testing API endpoints.⚡
|
32
32
|
*
|
33
|
-
* The version of the OpenAPI document: 1.
|
33
|
+
* The version of the OpenAPI document: 1.13.0
|
34
34
|
*
|
35
35
|
*
|
36
36
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
@@ -41,7 +41,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
41
41
|
/**
|
42
42
|
* Organizations service.
|
43
43
|
* @module api/OrganizationsApi
|
44
|
-
* @version 1.
|
44
|
+
* @version 1.13.0
|
45
45
|
*/
|
46
46
|
var OrganizationsApi = /*#__PURE__*/function () {
|
47
47
|
/**
|
@@ -65,7 +65,7 @@ var OrganizationsApi = /*#__PURE__*/function () {
|
|
65
65
|
*/
|
66
66
|
|
67
67
|
/**
|
68
|
-
*
|
68
|
+
* A ViewSet for managing consumers. All actions require an authenticated and active user. **Roles required and User employment:** - list, retrieve: Staff/Admin, (Consumer or Retailer) - create: Staff/Admin, Retailer - update, partial_update, destroy: Admin, (Consumer or Retailer) Note: For update, partial_update, and destroy, the consumer should be owned by the user's organization.
|
69
69
|
* @param {module:model/Consumer} consumer
|
70
70
|
* @param {module:api/OrganizationsApi~organizationsConsumersCreateCallback} callback The callback function, accepting three arguments: error, data, response
|
71
71
|
* data is of type: {@link module:model/Consumer}
|
@@ -98,7 +98,7 @@ var OrganizationsApi = /*#__PURE__*/function () {
|
|
98
98
|
*/
|
99
99
|
|
100
100
|
/**
|
101
|
-
*
|
101
|
+
* A ViewSet for managing consumers. All actions require an authenticated and active user. **Roles required and User employment:** - list, retrieve: Staff/Admin, (Consumer or Retailer) - create: Staff/Admin, Retailer - update, partial_update, destroy: Admin, (Consumer or Retailer) Note: For update, partial_update, and destroy, the consumer should be owned by the user's organization.
|
102
102
|
* @param {String} id A UUID string identifying this consumer.
|
103
103
|
* @param {module:api/OrganizationsApi~organizationsConsumersDestroyCallback} callback The callback function, accepting three arguments: error, data, response
|
104
104
|
*/
|
@@ -132,7 +132,7 @@ var OrganizationsApi = /*#__PURE__*/function () {
|
|
132
132
|
*/
|
133
133
|
|
134
134
|
/**
|
135
|
-
*
|
135
|
+
* A ViewSet for managing consumers. All actions require an authenticated and active user. **Roles required and User employment:** - list, retrieve: Staff/Admin, (Consumer or Retailer) - create: Staff/Admin, Retailer - update, partial_update, destroy: Admin, (Consumer or Retailer) Note: For update, partial_update, and destroy, the consumer should be owned by the user's organization.
|
136
136
|
* @param {Object} opts Optional parameters
|
137
137
|
* @param {String} opts.blockchainAccountAddress
|
138
138
|
* @param {String} opts.city
|
@@ -191,7 +191,7 @@ var OrganizationsApi = /*#__PURE__*/function () {
|
|
191
191
|
*/
|
192
192
|
|
193
193
|
/**
|
194
|
-
*
|
194
|
+
* A ViewSet for managing consumers. All actions require an authenticated and active user. **Roles required and User employment:** - list, retrieve: Staff/Admin, (Consumer or Retailer) - create: Staff/Admin, Retailer - update, partial_update, destroy: Admin, (Consumer or Retailer) Note: For update, partial_update, and destroy, the consumer should be owned by the user's organization.
|
195
195
|
* @param {String} id A UUID string identifying this consumer.
|
196
196
|
* @param {Object} opts Optional parameters
|
197
197
|
* @param {module:model/PatchedConsumer} opts.patchedConsumer
|
@@ -229,7 +229,7 @@ var OrganizationsApi = /*#__PURE__*/function () {
|
|
229
229
|
*/
|
230
230
|
|
231
231
|
/**
|
232
|
-
*
|
232
|
+
* A ViewSet for managing consumers. All actions require an authenticated and active user. **Roles required and User employment:** - list, retrieve: Staff/Admin, (Consumer or Retailer) - create: Staff/Admin, Retailer - update, partial_update, destroy: Admin, (Consumer or Retailer) Note: For update, partial_update, and destroy, the consumer should be owned by the user's organization.
|
233
233
|
* @param {String} id A UUID string identifying this consumer.
|
234
234
|
* @param {module:api/OrganizationsApi~organizationsConsumersRetrieveCallback} callback The callback function, accepting three arguments: error, data, response
|
235
235
|
* data is of type: {@link module:model/Consumer}
|
@@ -264,7 +264,7 @@ var OrganizationsApi = /*#__PURE__*/function () {
|
|
264
264
|
*/
|
265
265
|
|
266
266
|
/**
|
267
|
-
*
|
267
|
+
* A ViewSet for managing consumers. All actions require an authenticated and active user. **Roles required and User employment:** - list, retrieve: Staff/Admin, (Consumer or Retailer) - create: Staff/Admin, Retailer - update, partial_update, destroy: Admin, (Consumer or Retailer) Note: For update, partial_update, and destroy, the consumer should be owned by the user's organization.
|
268
268
|
* @param {String} id A UUID string identifying this consumer.
|
269
269
|
* @param {module:model/Consumer} consumer
|
270
270
|
* @param {module:api/OrganizationsApi~organizationsConsumersUpdateCallback} callback The callback function, accepting three arguments: error, data, response
|
@@ -304,7 +304,7 @@ var OrganizationsApi = /*#__PURE__*/function () {
|
|
304
304
|
*/
|
305
305
|
|
306
306
|
/**
|
307
|
-
*
|
307
|
+
* A ViewSet for managing grid operators. All actions require an authenticated and active user. **Roles required:** - list, retrieve: Staff/Admin - create, destroy: Superuser - update, partial_update: Admin, GridOperator Note: For update, partial_update, and destroy, the grid operator should be owned by the user's organization.
|
308
308
|
* @param {module:model/GridOperator} gridOperator
|
309
309
|
* @param {module:api/OrganizationsApi~organizationsGridoperatorsCreateCallback} callback The callback function, accepting three arguments: error, data, response
|
310
310
|
* data is of type: {@link module:model/GridOperator}
|
@@ -337,7 +337,7 @@ var OrganizationsApi = /*#__PURE__*/function () {
|
|
337
337
|
*/
|
338
338
|
|
339
339
|
/**
|
340
|
-
*
|
340
|
+
* A ViewSet for managing grid operators. All actions require an authenticated and active user. **Roles required:** - list, retrieve: Staff/Admin - create, destroy: Superuser - update, partial_update: Admin, GridOperator Note: For update, partial_update, and destroy, the grid operator should be owned by the user's organization.
|
341
341
|
* @param {String} id A UUID string identifying this grid operator.
|
342
342
|
* @param {module:api/OrganizationsApi~organizationsGridoperatorsDestroyCallback} callback The callback function, accepting three arguments: error, data, response
|
343
343
|
*/
|
@@ -371,7 +371,7 @@ var OrganizationsApi = /*#__PURE__*/function () {
|
|
371
371
|
*/
|
372
372
|
|
373
373
|
/**
|
374
|
-
*
|
374
|
+
* A ViewSet for managing grid operators. All actions require an authenticated and active user. **Roles required:** - list, retrieve: Staff/Admin - create, destroy: Superuser - update, partial_update: Admin, GridOperator Note: For update, partial_update, and destroy, the grid operator should be owned by the user's organization.
|
375
375
|
* @param {Object} opts Optional parameters
|
376
376
|
* @param {String} opts.blockchainAccountAddress
|
377
377
|
* @param {String} opts.city
|
@@ -384,6 +384,7 @@ var OrganizationsApi = /*#__PURE__*/function () {
|
|
384
384
|
* @param {String} opts.location
|
385
385
|
* @param {String} opts.name
|
386
386
|
* @param {Number} opts.offset The initial index from which to return the results.
|
387
|
+
* @param {String} opts.ordering Which field to use when ordering the results.
|
387
388
|
* @param {Date} opts.updatedAt
|
388
389
|
* @param {String} opts.websiteUrl
|
389
390
|
* @param {module:api/OrganizationsApi~organizationsGridoperatorsListCallback} callback The callback function, accepting three arguments: error, data, response
|
@@ -407,6 +408,7 @@ var OrganizationsApi = /*#__PURE__*/function () {
|
|
407
408
|
'location': opts['location'],
|
408
409
|
'name': opts['name'],
|
409
410
|
'offset': opts['offset'],
|
411
|
+
'ordering': opts['ordering'],
|
410
412
|
'updated_at': opts['updatedAt'],
|
411
413
|
'website_url': opts['websiteUrl']
|
412
414
|
};
|
@@ -428,7 +430,7 @@ var OrganizationsApi = /*#__PURE__*/function () {
|
|
428
430
|
*/
|
429
431
|
|
430
432
|
/**
|
431
|
-
*
|
433
|
+
* A ViewSet for managing grid operators. All actions require an authenticated and active user. **Roles required:** - list, retrieve: Staff/Admin - create, destroy: Superuser - update, partial_update: Admin, GridOperator Note: For update, partial_update, and destroy, the grid operator should be owned by the user's organization.
|
432
434
|
* @param {String} id A UUID string identifying this grid operator.
|
433
435
|
* @param {Object} opts Optional parameters
|
434
436
|
* @param {module:model/PatchedGridOperator} opts.patchedGridOperator
|
@@ -466,7 +468,7 @@ var OrganizationsApi = /*#__PURE__*/function () {
|
|
466
468
|
*/
|
467
469
|
|
468
470
|
/**
|
469
|
-
*
|
471
|
+
* A ViewSet for managing grid operators. All actions require an authenticated and active user. **Roles required:** - list, retrieve: Staff/Admin - create, destroy: Superuser - update, partial_update: Admin, GridOperator Note: For update, partial_update, and destroy, the grid operator should be owned by the user's organization.
|
470
472
|
* @param {String} id A UUID string identifying this grid operator.
|
471
473
|
* @param {module:api/OrganizationsApi~organizationsGridoperatorsRetrieveCallback} callback The callback function, accepting three arguments: error, data, response
|
472
474
|
* data is of type: {@link module:model/GridOperator}
|
@@ -501,7 +503,7 @@ var OrganizationsApi = /*#__PURE__*/function () {
|
|
501
503
|
*/
|
502
504
|
|
503
505
|
/**
|
504
|
-
*
|
506
|
+
* A ViewSet for managing grid operators. All actions require an authenticated and active user. **Roles required:** - list, retrieve: Staff/Admin - create, destroy: Superuser - update, partial_update: Admin, GridOperator Note: For update, partial_update, and destroy, the grid operator should be owned by the user's organization.
|
505
507
|
* @param {String} id A UUID string identifying this grid operator.
|
506
508
|
* @param {module:model/GridOperator} gridOperator
|
507
509
|
* @param {module:api/OrganizationsApi~organizationsGridoperatorsUpdateCallback} callback The callback function, accepting three arguments: error, data, response
|
@@ -541,7 +543,7 @@ var OrganizationsApi = /*#__PURE__*/function () {
|
|
541
543
|
*/
|
542
544
|
|
543
545
|
/**
|
544
|
-
*
|
546
|
+
* A ViewSet for managing issuers. Available actions include list, retrieve, create, update, partial_update, and destroy. All actions require an authenticated and active user. **Roles required:** - list, retrieve: Staff/Admin - create, destroy: Superuser - update, partial_update: Admin, Issuer Note: For update, partial_update and destroy, the issuer should be owned by the user's organization.
|
545
547
|
* @param {module:model/Issuer} issuer
|
546
548
|
* @param {module:api/OrganizationsApi~organizationsIssuersCreateCallback} callback The callback function, accepting three arguments: error, data, response
|
547
549
|
* data is of type: {@link module:model/Issuer}
|
@@ -574,7 +576,7 @@ var OrganizationsApi = /*#__PURE__*/function () {
|
|
574
576
|
*/
|
575
577
|
|
576
578
|
/**
|
577
|
-
*
|
579
|
+
* A ViewSet for managing issuers. Available actions include list, retrieve, create, update, partial_update, and destroy. All actions require an authenticated and active user. **Roles required:** - list, retrieve: Staff/Admin - create, destroy: Superuser - update, partial_update: Admin, Issuer Note: For update, partial_update and destroy, the issuer should be owned by the user's organization.
|
578
580
|
* @param {String} id A UUID string identifying this issuer.
|
579
581
|
* @param {module:api/OrganizationsApi~organizationsIssuersDestroyCallback} callback The callback function, accepting three arguments: error, data, response
|
580
582
|
*/
|
@@ -608,7 +610,7 @@ var OrganizationsApi = /*#__PURE__*/function () {
|
|
608
610
|
*/
|
609
611
|
|
610
612
|
/**
|
611
|
-
*
|
613
|
+
* A ViewSet for managing issuers. Available actions include list, retrieve, create, update, partial_update, and destroy. All actions require an authenticated and active user. **Roles required:** - list, retrieve: Staff/Admin - create, destroy: Superuser - update, partial_update: Admin, Issuer Note: For update, partial_update and destroy, the issuer should be owned by the user's organization.
|
612
614
|
* @param {Object} opts Optional parameters
|
613
615
|
* @param {String} opts.blockchainAccountAddress
|
614
616
|
* @param {String} opts.city
|
@@ -621,6 +623,7 @@ var OrganizationsApi = /*#__PURE__*/function () {
|
|
621
623
|
* @param {String} opts.location
|
622
624
|
* @param {String} opts.name
|
623
625
|
* @param {Number} opts.offset The initial index from which to return the results.
|
626
|
+
* @param {String} opts.ordering Which field to use when ordering the results.
|
624
627
|
* @param {Date} opts.updatedAt
|
625
628
|
* @param {String} opts.websiteUrl
|
626
629
|
* @param {module:api/OrganizationsApi~organizationsIssuersListCallback} callback The callback function, accepting three arguments: error, data, response
|
@@ -644,6 +647,7 @@ var OrganizationsApi = /*#__PURE__*/function () {
|
|
644
647
|
'location': opts['location'],
|
645
648
|
'name': opts['name'],
|
646
649
|
'offset': opts['offset'],
|
650
|
+
'ordering': opts['ordering'],
|
647
651
|
'updated_at': opts['updatedAt'],
|
648
652
|
'website_url': opts['websiteUrl']
|
649
653
|
};
|
@@ -665,7 +669,7 @@ var OrganizationsApi = /*#__PURE__*/function () {
|
|
665
669
|
*/
|
666
670
|
|
667
671
|
/**
|
668
|
-
*
|
672
|
+
* A ViewSet for managing issuers. Available actions include list, retrieve, create, update, partial_update, and destroy. All actions require an authenticated and active user. **Roles required:** - list, retrieve: Staff/Admin - create, destroy: Superuser - update, partial_update: Admin, Issuer Note: For update, partial_update and destroy, the issuer should be owned by the user's organization.
|
669
673
|
* @param {String} id A UUID string identifying this issuer.
|
670
674
|
* @param {Object} opts Optional parameters
|
671
675
|
* @param {module:model/PatchedIssuer} opts.patchedIssuer
|
@@ -703,7 +707,7 @@ var OrganizationsApi = /*#__PURE__*/function () {
|
|
703
707
|
*/
|
704
708
|
|
705
709
|
/**
|
706
|
-
*
|
710
|
+
* A ViewSet for managing issuers. Available actions include list, retrieve, create, update, partial_update, and destroy. All actions require an authenticated and active user. **Roles required:** - list, retrieve: Staff/Admin - create, destroy: Superuser - update, partial_update: Admin, Issuer Note: For update, partial_update and destroy, the issuer should be owned by the user's organization.
|
707
711
|
* @param {String} id A UUID string identifying this issuer.
|
708
712
|
* @param {module:api/OrganizationsApi~organizationsIssuersRetrieveCallback} callback The callback function, accepting three arguments: error, data, response
|
709
713
|
* data is of type: {@link module:model/Issuer}
|
@@ -738,7 +742,7 @@ var OrganizationsApi = /*#__PURE__*/function () {
|
|
738
742
|
*/
|
739
743
|
|
740
744
|
/**
|
741
|
-
*
|
745
|
+
* A ViewSet for managing issuers. Available actions include list, retrieve, create, update, partial_update, and destroy. All actions require an authenticated and active user. **Roles required:** - list, retrieve: Staff/Admin - create, destroy: Superuser - update, partial_update: Admin, Issuer Note: For update, partial_update and destroy, the issuer should be owned by the user's organization.
|
742
746
|
* @param {String} id A UUID string identifying this issuer.
|
743
747
|
* @param {module:model/Issuer} issuer
|
744
748
|
* @param {module:api/OrganizationsApi~organizationsIssuersUpdateCallback} callback The callback function, accepting three arguments: error, data, response
|
@@ -778,7 +782,7 @@ var OrganizationsApi = /*#__PURE__*/function () {
|
|
778
782
|
*/
|
779
783
|
|
780
784
|
/**
|
781
|
-
*
|
785
|
+
* A ViewSet for managing producers. All actions require an authenticated and active user. **Roles required and User employment:** - list, retrieve: Staff/Admin, (Producer, Consumer, or Retailer) - create: Staff/Admin, Retailer - update, partial_update: Admin, (Producer or Retailer) - destroy: Admin, Retailer Note: For update, partial_update, and destroy, the producer should be owned by the user's organization.
|
782
786
|
* @param {module:model/Producer} producer
|
783
787
|
* @param {module:api/OrganizationsApi~organizationsProducersCreateCallback} callback The callback function, accepting three arguments: error, data, response
|
784
788
|
* data is of type: {@link module:model/Producer}
|
@@ -811,7 +815,7 @@ var OrganizationsApi = /*#__PURE__*/function () {
|
|
811
815
|
*/
|
812
816
|
|
813
817
|
/**
|
814
|
-
*
|
818
|
+
* A ViewSet for managing producers. All actions require an authenticated and active user. **Roles required and User employment:** - list, retrieve: Staff/Admin, (Producer, Consumer, or Retailer) - create: Staff/Admin, Retailer - update, partial_update: Admin, (Producer or Retailer) - destroy: Admin, Retailer Note: For update, partial_update, and destroy, the producer should be owned by the user's organization.
|
815
819
|
* @param {String} id A UUID string identifying this producer.
|
816
820
|
* @param {module:api/OrganizationsApi~organizationsProducersDestroyCallback} callback The callback function, accepting three arguments: error, data, response
|
817
821
|
*/
|
@@ -845,7 +849,7 @@ var OrganizationsApi = /*#__PURE__*/function () {
|
|
845
849
|
*/
|
846
850
|
|
847
851
|
/**
|
848
|
-
*
|
852
|
+
* A ViewSet for managing producers. All actions require an authenticated and active user. **Roles required and User employment:** - list, retrieve: Staff/Admin, (Producer, Consumer, or Retailer) - create: Staff/Admin, Retailer - update, partial_update: Admin, (Producer or Retailer) - destroy: Admin, Retailer Note: For update, partial_update, and destroy, the producer should be owned by the user's organization.
|
849
853
|
* @param {Object} opts Optional parameters
|
850
854
|
* @param {String} opts.blockchainAccountAddress
|
851
855
|
* @param {String} opts.city
|
@@ -902,7 +906,7 @@ var OrganizationsApi = /*#__PURE__*/function () {
|
|
902
906
|
*/
|
903
907
|
|
904
908
|
/**
|
905
|
-
*
|
909
|
+
* A ViewSet for managing producers. All actions require an authenticated and active user. **Roles required and User employment:** - list, retrieve: Staff/Admin, (Producer, Consumer, or Retailer) - create: Staff/Admin, Retailer - update, partial_update: Admin, (Producer or Retailer) - destroy: Admin, Retailer Note: For update, partial_update, and destroy, the producer should be owned by the user's organization.
|
906
910
|
* @param {String} id A UUID string identifying this producer.
|
907
911
|
* @param {Object} opts Optional parameters
|
908
912
|
* @param {module:model/PatchedProducer} opts.patchedProducer
|
@@ -940,7 +944,7 @@ var OrganizationsApi = /*#__PURE__*/function () {
|
|
940
944
|
*/
|
941
945
|
|
942
946
|
/**
|
943
|
-
*
|
947
|
+
* A ViewSet for managing producers. All actions require an authenticated and active user. **Roles required and User employment:** - list, retrieve: Staff/Admin, (Producer, Consumer, or Retailer) - create: Staff/Admin, Retailer - update, partial_update: Admin, (Producer or Retailer) - destroy: Admin, Retailer Note: For update, partial_update, and destroy, the producer should be owned by the user's organization.
|
944
948
|
* @param {String} id A UUID string identifying this producer.
|
945
949
|
* @param {module:api/OrganizationsApi~organizationsProducersRetrieveCallback} callback The callback function, accepting three arguments: error, data, response
|
946
950
|
* data is of type: {@link module:model/Producer}
|
@@ -975,7 +979,7 @@ var OrganizationsApi = /*#__PURE__*/function () {
|
|
975
979
|
*/
|
976
980
|
|
977
981
|
/**
|
978
|
-
*
|
982
|
+
* A ViewSet for managing producers. All actions require an authenticated and active user. **Roles required and User employment:** - list, retrieve: Staff/Admin, (Producer, Consumer, or Retailer) - create: Staff/Admin, Retailer - update, partial_update: Admin, (Producer or Retailer) - destroy: Admin, Retailer Note: For update, partial_update, and destroy, the producer should be owned by the user's organization.
|
979
983
|
* @param {String} id A UUID string identifying this producer.
|
980
984
|
* @param {module:model/Producer} producer
|
981
985
|
* @param {module:api/OrganizationsApi~organizationsProducersUpdateCallback} callback The callback function, accepting three arguments: error, data, response
|
@@ -1015,7 +1019,7 @@ var OrganizationsApi = /*#__PURE__*/function () {
|
|
1015
1019
|
*/
|
1016
1020
|
|
1017
1021
|
/**
|
1018
|
-
*
|
1022
|
+
* A ViewSet for managing retailers. All actions require an authenticated and active user. **Roles required and User employment:** - list, create: Superuser - retrieve, update, partial_update, destroy: Staff/Admin, Retailer Note: For update, partial_update, and destroy, the retailer should be owned by the user's organization.
|
1019
1023
|
* @param {module:model/Retailer} retailer
|
1020
1024
|
* @param {module:api/OrganizationsApi~organizationsRetailersCreateCallback} callback The callback function, accepting three arguments: error, data, response
|
1021
1025
|
* data is of type: {@link module:model/Retailer}
|
@@ -1048,7 +1052,7 @@ var OrganizationsApi = /*#__PURE__*/function () {
|
|
1048
1052
|
*/
|
1049
1053
|
|
1050
1054
|
/**
|
1051
|
-
*
|
1055
|
+
* A ViewSet for managing retailers. All actions require an authenticated and active user. **Roles required and User employment:** - list, create: Superuser - retrieve, update, partial_update, destroy: Staff/Admin, Retailer Note: For update, partial_update, and destroy, the retailer should be owned by the user's organization.
|
1052
1056
|
* @param {String} id A UUID string identifying this retailer.
|
1053
1057
|
* @param {module:api/OrganizationsApi~organizationsRetailersDestroyCallback} callback The callback function, accepting three arguments: error, data, response
|
1054
1058
|
*/
|
@@ -1082,7 +1086,7 @@ var OrganizationsApi = /*#__PURE__*/function () {
|
|
1082
1086
|
*/
|
1083
1087
|
|
1084
1088
|
/**
|
1085
|
-
*
|
1089
|
+
* A ViewSet for managing retailers. All actions require an authenticated and active user. **Roles required and User employment:** - list, create: Superuser - retrieve, update, partial_update, destroy: Staff/Admin, Retailer Note: For update, partial_update, and destroy, the retailer should be owned by the user's organization.
|
1086
1090
|
* @param {Object} opts Optional parameters
|
1087
1091
|
* @param {String} opts.blockchainAccountAddress
|
1088
1092
|
* @param {String} opts.city
|
@@ -1139,7 +1143,7 @@ var OrganizationsApi = /*#__PURE__*/function () {
|
|
1139
1143
|
*/
|
1140
1144
|
|
1141
1145
|
/**
|
1142
|
-
*
|
1146
|
+
* A ViewSet for managing retailers. All actions require an authenticated and active user. **Roles required and User employment:** - list, create: Superuser - retrieve, update, partial_update, destroy: Staff/Admin, Retailer Note: For update, partial_update, and destroy, the retailer should be owned by the user's organization.
|
1143
1147
|
* @param {String} id A UUID string identifying this retailer.
|
1144
1148
|
* @param {Object} opts Optional parameters
|
1145
1149
|
* @param {module:model/PatchedRetailer} opts.patchedRetailer
|
@@ -1177,7 +1181,7 @@ var OrganizationsApi = /*#__PURE__*/function () {
|
|
1177
1181
|
*/
|
1178
1182
|
|
1179
1183
|
/**
|
1180
|
-
*
|
1184
|
+
* A ViewSet for managing retailers. All actions require an authenticated and active user. **Roles required and User employment:** - list, create: Superuser - retrieve, update, partial_update, destroy: Staff/Admin, Retailer Note: For update, partial_update, and destroy, the retailer should be owned by the user's organization.
|
1181
1185
|
* @param {String} id A UUID string identifying this retailer.
|
1182
1186
|
* @param {module:api/OrganizationsApi~organizationsRetailersRetrieveCallback} callback The callback function, accepting three arguments: error, data, response
|
1183
1187
|
* data is of type: {@link module:model/Retailer}
|
@@ -1212,7 +1216,7 @@ var OrganizationsApi = /*#__PURE__*/function () {
|
|
1212
1216
|
*/
|
1213
1217
|
|
1214
1218
|
/**
|
1215
|
-
*
|
1219
|
+
* A ViewSet for managing retailers. All actions require an authenticated and active user. **Roles required and User employment:** - list, create: Superuser - retrieve, update, partial_update, destroy: Staff/Admin, Retailer Note: For update, partial_update, and destroy, the retailer should be owned by the user's organization.
|
1216
1220
|
* @param {String} id A UUID string identifying this retailer.
|
1217
1221
|
* @param {module:model/Retailer} retailer
|
1218
1222
|
* @param {module:api/OrganizationsApi~organizationsRetailersUpdateCallback} callback The callback function, accepting three arguments: error, data, response
|
package/dist/api/SchemaApi.js
CHANGED
@@ -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.
|
18
|
+
* The version of the OpenAPI document: 1.13.0
|
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
|
* Schema service.
|
28
28
|
* @module api/SchemaApi
|
29
|
-
* @version 1.
|
29
|
+
* @version 1.13.0
|
30
30
|
*/
|
31
31
|
var SchemaApi = /*#__PURE__*/function () {
|
32
32
|
/**
|
@@ -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.
|
18
|
+
* The version of the OpenAPI document: 1.13.0
|
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
|
* SentryDebug service.
|
28
28
|
* @module api/SentryDebugApi
|
29
|
-
* @version 1.
|
29
|
+
* @version 1.13.0
|
30
30
|
*/
|
31
31
|
var SentryDebugApi = /*#__PURE__*/function () {
|
32
32
|
/**
|
package/dist/api/UsersApi.js
CHANGED
@@ -23,7 +23,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
23
23
|
* GreenLink API
|
24
24
|
* ⚡GreenLink API documentation with interactive tools for testing API endpoints.⚡
|
25
25
|
*
|
26
|
-
* The version of the OpenAPI document: 1.
|
26
|
+
* The version of the OpenAPI document: 1.13.0
|
27
27
|
*
|
28
28
|
*
|
29
29
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
@@ -34,7 +34,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
34
34
|
/**
|
35
35
|
* Users service.
|
36
36
|
* @module api/UsersApi
|
37
|
-
* @version 1.
|
37
|
+
* @version 1.13.0
|
38
38
|
*/
|
39
39
|
var UsersApi = /*#__PURE__*/function () {
|
40
40
|
/**
|
package/dist/model/Activities.js
CHANGED
@@ -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.
|
18
|
+
* The version of the OpenAPI document: 1.13.0
|
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 Activities model module.
|
28
28
|
* @module model/Activities
|
29
|
-
* @version 1.
|
29
|
+
* @version 1.13.0
|
30
30
|
*/
|
31
31
|
var Activities = /*#__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.
|
20
|
+
* The version of the OpenAPI document: 1.13.0
|
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 BlockchainTransaction model module.
|
30
30
|
* @module model/BlockchainTransaction
|
31
|
-
* @version 1.
|
31
|
+
* @version 1.13.0
|
32
32
|
*/
|
33
33
|
var BlockchainTransaction = /*#__PURE__*/function () {
|
34
34
|
/**
|
package/dist/model/Consumer.js
CHANGED
@@ -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.
|
19
|
+
* The version of the OpenAPI document: 1.13.0
|
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 Consumer model module.
|
29
29
|
* @module model/Consumer
|
30
|
-
* @version 1.
|
30
|
+
* @version 1.13.0
|
31
31
|
*/
|
32
32
|
var Consumer = /*#__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.
|
18
|
+
* The version of the OpenAPI document: 1.13.0
|
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 ConsumptionDataFileList model module.
|
28
28
|
* @module model/ConsumptionDataFileList
|
29
|
-
* @version 1.
|
29
|
+
* @version 1.13.0
|
30
30
|
*/
|
31
31
|
var ConsumptionDataFileList = /*#__PURE__*/function () {
|
32
32
|
/**
|
@@ -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.
|
18
|
+
* The version of the OpenAPI document: 1.13.0
|
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 ConsumptionDataFromRetailerRequest model module.
|
28
28
|
* @module model/ConsumptionDataFromRetailerRequest
|
29
|
-
* @version 1.
|
29
|
+
* @version 1.13.0
|
30
30
|
*/
|
31
31
|
var ConsumptionDataFromRetailerRequest = /*#__PURE__*/function () {
|
32
32
|
/**
|
@@ -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.
|
19
|
+
* The version of the OpenAPI document: 1.13.0
|
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 ConsumptionDataPointCreate model module.
|
29
29
|
* @module model/ConsumptionDataPointCreate
|
30
|
-
* @version 1.
|
30
|
+
* @version 1.13.0
|
31
31
|
*/
|
32
32
|
var ConsumptionDataPointCreate = /*#__PURE__*/function () {
|
33
33
|
/**
|
@@ -21,7 +21,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
21
21
|
* GreenLink API
|
22
22
|
* ⚡GreenLink API documentation with interactive tools for testing API endpoints.⚡
|
23
23
|
*
|
24
|
-
* The version of the OpenAPI document: 1.
|
24
|
+
* The version of the OpenAPI document: 1.13.0
|
25
25
|
*
|
26
26
|
*
|
27
27
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
@@ -32,7 +32,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
32
32
|
/**
|
33
33
|
* The ConsumptionDataPointListOrDetail model module.
|
34
34
|
* @module model/ConsumptionDataPointListOrDetail
|
35
|
-
* @version 1.
|
35
|
+
* @version 1.13.0
|
36
36
|
*/
|
37
37
|
var ConsumptionDataPointListOrDetail = /*#__PURE__*/function () {
|
38
38
|
/**
|