green_link_api 1.0.0 → 1.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +72 -33
- package/dist/ApiClient.js +70 -24
- package/dist/api/BlockchainApi.js +283 -0
- package/dist/api/EnergyAssetsApi.js +196 -44
- package/dist/api/EnergyDataApi.js +354 -46
- package/dist/api/HealthCheckApi.js +68 -0
- package/dist/api/LicensedProductionSitesOnEpiasApi.js +69 -0
- package/dist/api/LocationsApi.js +10 -10
- package/dist/api/LogsApi.js +428 -0
- package/dist/api/MaintenanceCheckApi.js +68 -0
- package/dist/api/OrganizationprofilesApi.js +8 -8
- package/dist/api/OrganizationsApi.js +47 -47
- package/dist/api/SchemaApi.js +6 -6
- package/dist/api/SentryDebugApi.js +68 -0
- package/dist/api/UsersApi.js +74 -256
- package/dist/index.js +267 -67
- package/dist/model/BlockchainTransaction.js +172 -0
- package/dist/model/Consumer.js +7 -7
- package/dist/model/ConsumptionDataFileList.js +132 -0
- package/dist/model/ConsumptionDataFromRetailerRequest.js +110 -0
- package/dist/model/{RestAuthDetail.js → ConsumptionDataFromRetailerResponse.js} +26 -21
- package/dist/model/ConsumptionDataPointCreate.js +12 -12
- package/dist/model/ConsumptionDataPointListOrDetail.js +21 -14
- package/dist/model/ConsumptionDataPointUpdate.js +12 -12
- package/dist/model/ConsumptionSite.js +20 -21
- package/dist/model/ConsumptionSiteCreate.js +195 -0
- package/dist/model/ConsumptionSiteFileUpload.js +133 -0
- package/dist/model/{TokenRefresh.js → ConsumptionSiteFromRetailer.js} +25 -33
- package/dist/model/ConsumptionSiteListOrDetail.js +15 -33
- package/dist/model/ConsumptionSiteMany.js +195 -0
- package/dist/model/ContentTypeEnum.js +54 -0
- package/dist/model/EmissionFactor.js +6 -8
- package/dist/model/EnergySourceEnum.js +1 -1
- package/dist/model/EnergySourcePreference.js +2 -2
- package/dist/model/GetFromEpias.js +98 -0
- package/dist/model/GridOperator.js +6 -6
- package/dist/model/Issuer.js +6 -6
- package/dist/model/Location.js +6 -8
- package/dist/model/Login.js +2 -2
- package/dist/model/MatchRequest.js +299 -0
- package/dist/model/{CountryEnum.js → MatchTypeEnum.js} +12 -12
- package/dist/model/MatchedEnergyDataPoint.js +13 -14
- package/dist/model/MatchingConsumerRequest.js +122 -0
- package/dist/model/{MatchingRequest.js → MatchingSiteRequest.js} +32 -21
- package/dist/model/OrganizationTypeEnum.js +1 -1
- package/dist/model/PaginatedConsumerList.js +2 -2
- package/dist/model/PaginatedConsumptionDataPointListOrDetailList.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/PaginatedIssuerList.js +2 -2
- package/dist/model/PaginatedLocationList.js +2 -2
- package/dist/model/PaginatedMatchRequestList.js +104 -0
- package/dist/model/PaginatedMatchedEnergyDataPointList.js +2 -2
- package/dist/model/PaginatedProducerList.js +2 -2
- package/dist/model/PaginatedProductionDataFromEpiasRequestList.js +104 -0
- 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 +104 -0
- package/dist/model/PaginatedUnprocessedRowList.js +104 -0
- package/dist/model/PaginatedUploadedFileList.js +104 -0
- package/dist/model/PaginatedUserList.js +2 -2
- package/dist/model/PatchedConsumer.js +7 -7
- package/dist/model/PatchedConsumptionDataPointUpdate.js +12 -12
- package/dist/model/PatchedConsumptionSite.js +15 -16
- package/dist/model/PatchedEmissionFactor.js +5 -7
- package/dist/model/PatchedEnergySourcePreference.js +2 -2
- package/dist/model/PatchedGridOperator.js +6 -6
- package/dist/model/PatchedIssuer.js +6 -6
- package/dist/model/PatchedLocation.js +5 -7
- package/dist/model/PatchedProducer.js +6 -6
- package/dist/model/PatchedProductionDataPointUpdate.js +13 -13
- package/dist/model/{PatchedProductionSite.js → PatchedProductionSiteUpdate.js} +60 -45
- package/dist/model/PatchedRetailer.js +16 -6
- package/dist/model/PatchedSmartContract.js +134 -0
- package/dist/model/PatchedUser.js +13 -2
- package/dist/model/PatchedUserDetail.js +13 -2
- package/dist/model/PriorityEnum.js +7 -1
- package/dist/model/Producer.js +6 -6
- package/dist/model/ProductionDataFileList.js +132 -0
- package/dist/model/ProductionDataFromEpiasRequest.js +167 -0
- package/dist/model/ProductionDataPointCreate.js +13 -13
- package/dist/model/ProductionDataPointListOrDetail.js +24 -21
- package/dist/model/ProductionDataPointUpdate.js +13 -13
- package/dist/model/ProductionSite.js +37 -24
- package/dist/model/ProductionSiteFileUpload.js +177 -0
- package/dist/model/ProductionSiteListOrDetail.js +30 -43
- package/dist/model/ProductionSiteUpdate.js +245 -0
- package/dist/model/Register.js +18 -6
- package/dist/model/Retailer.js +16 -6
- package/dist/model/SmartContract.js +139 -0
- package/dist/model/StatusEnum.js +52 -0
- package/dist/model/{VerifyEmail.js → Token.js} +19 -18
- package/dist/model/TypeEnum.js +52 -0
- package/dist/model/UnprocessedRow.js +140 -0
- package/dist/model/UploadedFile.js +154 -0
- package/dist/model/User.js +13 -2
- package/dist/model/UserDetail.js +13 -2
- package/package.json +4 -4
- package/dist/model/JWT.js +0 -103
- package/dist/model/PasswordChange.js +0 -100
- package/dist/model/PasswordReset.js +0 -79
- package/dist/model/PasswordResetConfirm.js +0 -112
- package/dist/model/TechnologyOrFuelTypeEnum.js +0 -170
- package/dist/model/TokenVerify.js +0 -78
|
@@ -0,0 +1,283 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = void 0;
|
|
7
|
+
|
|
8
|
+
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
|
9
|
+
|
|
10
|
+
var _PaginatedSmartContractList = _interopRequireDefault(require("../model/PaginatedSmartContractList"));
|
|
11
|
+
|
|
12
|
+
var _PatchedSmartContract = _interopRequireDefault(require("../model/PatchedSmartContract"));
|
|
13
|
+
|
|
14
|
+
var _SmartContract = _interopRequireDefault(require("../model/SmartContract"));
|
|
15
|
+
|
|
16
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
17
|
+
|
|
18
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
19
|
+
|
|
20
|
+
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
|
+
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
|
+
/**
|
|
25
|
+
* Blockchain service.
|
|
26
|
+
* @module api/BlockchainApi
|
|
27
|
+
* @version 1.1.1
|
|
28
|
+
*/
|
|
29
|
+
var BlockchainApi = /*#__PURE__*/function () {
|
|
30
|
+
/**
|
|
31
|
+
* Constructs a new BlockchainApi.
|
|
32
|
+
* @alias module:api/BlockchainApi
|
|
33
|
+
* @class
|
|
34
|
+
* @param {module:ApiClient} [apiClient] Optional API client implementation to use,
|
|
35
|
+
* default to {@link module:ApiClient#instance} if unspecified.
|
|
36
|
+
*/
|
|
37
|
+
function BlockchainApi(apiClient) {
|
|
38
|
+
_classCallCheck(this, BlockchainApi);
|
|
39
|
+
|
|
40
|
+
this.apiClient = apiClient || _ApiClient["default"].instance;
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* Callback function to receive the result of the blockchainSmartContractsCreate operation.
|
|
44
|
+
* @callback module:api/BlockchainApi~blockchainSmartContractsCreateCallback
|
|
45
|
+
* @param {String} error Error message, if any.
|
|
46
|
+
* @param {module:model/SmartContract} data The data returned by the service call.
|
|
47
|
+
* @param {String} response The complete HTTP response.
|
|
48
|
+
*/
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* **Create a specific smart contract.** User should be *authenticated* and have an *active* (is_active=True) account. **Roles required**: Superuser
|
|
52
|
+
* @param {module:model/SmartContract} smartContract
|
|
53
|
+
* @param {module:api/BlockchainApi~blockchainSmartContractsCreateCallback} callback The callback function, accepting three arguments: error, data, response
|
|
54
|
+
* data is of type: {@link module:model/SmartContract}
|
|
55
|
+
*/
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
_createClass(BlockchainApi, [{
|
|
59
|
+
key: "blockchainSmartContractsCreate",
|
|
60
|
+
value: function blockchainSmartContractsCreate(smartContract, callback) {
|
|
61
|
+
var postBody = smartContract; // verify the required parameter 'smartContract' is set
|
|
62
|
+
|
|
63
|
+
if (smartContract === undefined || smartContract === null) {
|
|
64
|
+
throw new Error("Missing the required parameter 'smartContract' when calling blockchainSmartContractsCreate");
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
var pathParams = {};
|
|
68
|
+
var queryParams = {};
|
|
69
|
+
var headerParams = {};
|
|
70
|
+
var formParams = {};
|
|
71
|
+
var authNames = ['basicAuth', 'jwtAuth', 'tokenAuth'];
|
|
72
|
+
var contentTypes = ['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'];
|
|
73
|
+
var accepts = ['application/json'];
|
|
74
|
+
var returnType = _SmartContract["default"];
|
|
75
|
+
return this.apiClient.callApi('/blockchain/smart-contracts/', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* Callback function to receive the result of the blockchainSmartContractsDestroy operation.
|
|
79
|
+
* @callback module:api/BlockchainApi~blockchainSmartContractsDestroyCallback
|
|
80
|
+
* @param {String} error Error message, if any.
|
|
81
|
+
* @param data This operation does not return a value.
|
|
82
|
+
* @param {String} response The complete HTTP response.
|
|
83
|
+
*/
|
|
84
|
+
|
|
85
|
+
/**
|
|
86
|
+
* **Delete a specific smart contract.** User should be *authenticated* and have an *active* (is_active=True) account. **Roles required**: Superuser
|
|
87
|
+
* @param {String} id A UUID string identifying this smart contract.
|
|
88
|
+
* @param {module:api/BlockchainApi~blockchainSmartContractsDestroyCallback} callback The callback function, accepting three arguments: error, data, response
|
|
89
|
+
*/
|
|
90
|
+
|
|
91
|
+
}, {
|
|
92
|
+
key: "blockchainSmartContractsDestroy",
|
|
93
|
+
value: function blockchainSmartContractsDestroy(id, callback) {
|
|
94
|
+
var postBody = null; // verify the required parameter 'id' is set
|
|
95
|
+
|
|
96
|
+
if (id === undefined || id === null) {
|
|
97
|
+
throw new Error("Missing the required parameter 'id' when calling blockchainSmartContractsDestroy");
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
var pathParams = {
|
|
101
|
+
'id': id
|
|
102
|
+
};
|
|
103
|
+
var queryParams = {};
|
|
104
|
+
var headerParams = {};
|
|
105
|
+
var formParams = {};
|
|
106
|
+
var authNames = ['basicAuth', 'jwtAuth', 'tokenAuth'];
|
|
107
|
+
var contentTypes = [];
|
|
108
|
+
var accepts = [];
|
|
109
|
+
var returnType = null;
|
|
110
|
+
return this.apiClient.callApi('/blockchain/smart-contracts/{id}/', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
111
|
+
}
|
|
112
|
+
/**
|
|
113
|
+
* Callback function to receive the result of the blockchainSmartContractsList operation.
|
|
114
|
+
* @callback module:api/BlockchainApi~blockchainSmartContractsListCallback
|
|
115
|
+
* @param {String} error Error message, if any.
|
|
116
|
+
* @param {module:model/PaginatedSmartContractList} data The data returned by the service call.
|
|
117
|
+
* @param {String} response The complete HTTP response.
|
|
118
|
+
*/
|
|
119
|
+
|
|
120
|
+
/**
|
|
121
|
+
* **List all smart contracts.** User should be *authenticated* and have an *active* (is_active=True) account. **Roles required**: Superuser
|
|
122
|
+
* @param {Object} opts Optional parameters
|
|
123
|
+
* @param {String} opts.blockchainAccountAddress
|
|
124
|
+
* @param {Date} opts.createdAt
|
|
125
|
+
* @param {String} opts.id
|
|
126
|
+
* @param {Boolean} opts.isActive
|
|
127
|
+
* @param {Number} opts.limit Number of results to return per page.
|
|
128
|
+
* @param {String} opts.name
|
|
129
|
+
* @param {Number} opts.offset The initial index from which to return the results.
|
|
130
|
+
* @param {Array.<module:model/String>} opts.orderBy Ordering
|
|
131
|
+
* @param {Date} opts.updatedAt
|
|
132
|
+
* @param {module:api/BlockchainApi~blockchainSmartContractsListCallback} callback The callback function, accepting three arguments: error, data, response
|
|
133
|
+
* data is of type: {@link module:model/PaginatedSmartContractList}
|
|
134
|
+
*/
|
|
135
|
+
|
|
136
|
+
}, {
|
|
137
|
+
key: "blockchainSmartContractsList",
|
|
138
|
+
value: function blockchainSmartContractsList(opts, callback) {
|
|
139
|
+
opts = opts || {};
|
|
140
|
+
var postBody = null;
|
|
141
|
+
var pathParams = {};
|
|
142
|
+
var queryParams = {
|
|
143
|
+
'blockchain_account_address': opts['blockchainAccountAddress'],
|
|
144
|
+
'created_at': opts['createdAt'],
|
|
145
|
+
'id': opts['id'],
|
|
146
|
+
'is_active': opts['isActive'],
|
|
147
|
+
'limit': opts['limit'],
|
|
148
|
+
'name': opts['name'],
|
|
149
|
+
'offset': opts['offset'],
|
|
150
|
+
'order_by': this.apiClient.buildCollectionParam(opts['orderBy'], 'csv'),
|
|
151
|
+
'updated_at': opts['updatedAt']
|
|
152
|
+
};
|
|
153
|
+
var headerParams = {};
|
|
154
|
+
var formParams = {};
|
|
155
|
+
var authNames = ['basicAuth', 'jwtAuth', 'tokenAuth'];
|
|
156
|
+
var contentTypes = [];
|
|
157
|
+
var accepts = ['application/json'];
|
|
158
|
+
var returnType = _PaginatedSmartContractList["default"];
|
|
159
|
+
return this.apiClient.callApi('/blockchain/smart-contracts/', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
160
|
+
}
|
|
161
|
+
/**
|
|
162
|
+
* Callback function to receive the result of the blockchainSmartContractsPartialUpdate operation.
|
|
163
|
+
* @callback module:api/BlockchainApi~blockchainSmartContractsPartialUpdateCallback
|
|
164
|
+
* @param {String} error Error message, if any.
|
|
165
|
+
* @param {module:model/SmartContract} data The data returned by the service call.
|
|
166
|
+
* @param {String} response The complete HTTP response.
|
|
167
|
+
*/
|
|
168
|
+
|
|
169
|
+
/**
|
|
170
|
+
* **Update a specific smart contract.** User should be *authenticated* and have an *active* (is_active=True) account. **Roles required**: Superuser
|
|
171
|
+
* @param {String} id A UUID string identifying this smart contract.
|
|
172
|
+
* @param {Object} opts Optional parameters
|
|
173
|
+
* @param {module:model/PatchedSmartContract} opts.patchedSmartContract
|
|
174
|
+
* @param {module:api/BlockchainApi~blockchainSmartContractsPartialUpdateCallback} callback The callback function, accepting three arguments: error, data, response
|
|
175
|
+
* data is of type: {@link module:model/SmartContract}
|
|
176
|
+
*/
|
|
177
|
+
|
|
178
|
+
}, {
|
|
179
|
+
key: "blockchainSmartContractsPartialUpdate",
|
|
180
|
+
value: function blockchainSmartContractsPartialUpdate(id, opts, callback) {
|
|
181
|
+
opts = opts || {};
|
|
182
|
+
var postBody = opts['patchedSmartContract']; // verify the required parameter 'id' is set
|
|
183
|
+
|
|
184
|
+
if (id === undefined || id === null) {
|
|
185
|
+
throw new Error("Missing the required parameter 'id' when calling blockchainSmartContractsPartialUpdate");
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
var pathParams = {
|
|
189
|
+
'id': id
|
|
190
|
+
};
|
|
191
|
+
var queryParams = {};
|
|
192
|
+
var headerParams = {};
|
|
193
|
+
var formParams = {};
|
|
194
|
+
var authNames = ['basicAuth', 'jwtAuth', 'tokenAuth'];
|
|
195
|
+
var contentTypes = ['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'];
|
|
196
|
+
var accepts = ['application/json'];
|
|
197
|
+
var returnType = _SmartContract["default"];
|
|
198
|
+
return this.apiClient.callApi('/blockchain/smart-contracts/{id}/', 'PATCH', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
199
|
+
}
|
|
200
|
+
/**
|
|
201
|
+
* Callback function to receive the result of the blockchainSmartContractsRetrieve operation.
|
|
202
|
+
* @callback module:api/BlockchainApi~blockchainSmartContractsRetrieveCallback
|
|
203
|
+
* @param {String} error Error message, if any.
|
|
204
|
+
* @param {module:model/SmartContract} data The data returned by the service call.
|
|
205
|
+
* @param {String} response The complete HTTP response.
|
|
206
|
+
*/
|
|
207
|
+
|
|
208
|
+
/**
|
|
209
|
+
* **Get a specific smart contract.** User should be *authenticated* and have an *active* (is_active=True) account. **Roles required**: Superuser
|
|
210
|
+
* @param {String} id A UUID string identifying this smart contract.
|
|
211
|
+
* @param {module:api/BlockchainApi~blockchainSmartContractsRetrieveCallback} callback The callback function, accepting three arguments: error, data, response
|
|
212
|
+
* data is of type: {@link module:model/SmartContract}
|
|
213
|
+
*/
|
|
214
|
+
|
|
215
|
+
}, {
|
|
216
|
+
key: "blockchainSmartContractsRetrieve",
|
|
217
|
+
value: function blockchainSmartContractsRetrieve(id, callback) {
|
|
218
|
+
var postBody = null; // verify the required parameter 'id' is set
|
|
219
|
+
|
|
220
|
+
if (id === undefined || id === null) {
|
|
221
|
+
throw new Error("Missing the required parameter 'id' when calling blockchainSmartContractsRetrieve");
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
var pathParams = {
|
|
225
|
+
'id': id
|
|
226
|
+
};
|
|
227
|
+
var queryParams = {};
|
|
228
|
+
var headerParams = {};
|
|
229
|
+
var formParams = {};
|
|
230
|
+
var authNames = ['basicAuth', 'jwtAuth', 'tokenAuth'];
|
|
231
|
+
var contentTypes = [];
|
|
232
|
+
var accepts = ['application/json'];
|
|
233
|
+
var returnType = _SmartContract["default"];
|
|
234
|
+
return this.apiClient.callApi('/blockchain/smart-contracts/{id}/', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
235
|
+
}
|
|
236
|
+
/**
|
|
237
|
+
* Callback function to receive the result of the blockchainSmartContractsUpdate operation.
|
|
238
|
+
* @callback module:api/BlockchainApi~blockchainSmartContractsUpdateCallback
|
|
239
|
+
* @param {String} error Error message, if any.
|
|
240
|
+
* @param {module:model/SmartContract} data The data returned by the service call.
|
|
241
|
+
* @param {String} response The complete HTTP response.
|
|
242
|
+
*/
|
|
243
|
+
|
|
244
|
+
/**
|
|
245
|
+
* **Upsert a specific smart contract.** User should be *authenticated* and have an *active* (is_active=True) account. **Roles required**: Superuser
|
|
246
|
+
* @param {String} id A UUID string identifying this smart contract.
|
|
247
|
+
* @param {module:model/SmartContract} smartContract
|
|
248
|
+
* @param {module:api/BlockchainApi~blockchainSmartContractsUpdateCallback} callback The callback function, accepting three arguments: error, data, response
|
|
249
|
+
* data is of type: {@link module:model/SmartContract}
|
|
250
|
+
*/
|
|
251
|
+
|
|
252
|
+
}, {
|
|
253
|
+
key: "blockchainSmartContractsUpdate",
|
|
254
|
+
value: function blockchainSmartContractsUpdate(id, smartContract, callback) {
|
|
255
|
+
var postBody = smartContract; // verify the required parameter 'id' is set
|
|
256
|
+
|
|
257
|
+
if (id === undefined || id === null) {
|
|
258
|
+
throw new Error("Missing the required parameter 'id' when calling blockchainSmartContractsUpdate");
|
|
259
|
+
} // verify the required parameter 'smartContract' is set
|
|
260
|
+
|
|
261
|
+
|
|
262
|
+
if (smartContract === undefined || smartContract === null) {
|
|
263
|
+
throw new Error("Missing the required parameter 'smartContract' when calling blockchainSmartContractsUpdate");
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
var pathParams = {
|
|
267
|
+
'id': id
|
|
268
|
+
};
|
|
269
|
+
var queryParams = {};
|
|
270
|
+
var headerParams = {};
|
|
271
|
+
var formParams = {};
|
|
272
|
+
var authNames = ['basicAuth', 'jwtAuth', 'tokenAuth'];
|
|
273
|
+
var contentTypes = ['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'];
|
|
274
|
+
var accepts = ['application/json'];
|
|
275
|
+
var returnType = _SmartContract["default"];
|
|
276
|
+
return this.apiClient.callApi('/blockchain/smart-contracts/{id}/', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
277
|
+
}
|
|
278
|
+
}]);
|
|
279
|
+
|
|
280
|
+
return BlockchainApi;
|
|
281
|
+
}();
|
|
282
|
+
|
|
283
|
+
exports["default"] = BlockchainApi;
|