green_link_api 1.10.2 → 1.10.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (112) hide show
  1. package/README.md +2 -2
  2. package/dist/ApiClient.js +51 -133
  3. package/dist/api/BlockchainApi.js +19 -38
  4. package/dist/api/EnergyAssetsApi.js +61 -106
  5. package/dist/api/EnergyDataApi.js +88 -152
  6. package/dist/api/HealthCheckApi.js +2 -12
  7. package/dist/api/LicensedProductionSitesOnEpiasApi.js +2 -12
  8. package/dist/api/LocationsApi.js +21 -40
  9. package/dist/api/LogsApi.js +36 -67
  10. package/dist/api/MaintenanceCheckApi.js +2 -12
  11. package/dist/api/OrganizationprofilesApi.js +19 -38
  12. package/dist/api/OrganizationsApi.js +91 -146
  13. package/dist/api/SchemaApi.js +2 -12
  14. package/dist/api/SentryDebugApi.js +2 -12
  15. package/dist/api/UsersApi.js +23 -47
  16. package/dist/index.js +0 -110
  17. package/dist/model/Activities.js +9 -28
  18. package/dist/model/BlockchainTransaction.js +12 -36
  19. package/dist/model/Consumer.js +13 -37
  20. package/dist/model/ConsumptionDataFileList.js +8 -26
  21. package/dist/model/ConsumptionDataFromRetailerRequest.js +5 -20
  22. package/dist/model/ConsumptionDataPointCreate.js +24 -59
  23. package/dist/model/ConsumptionDataPointListOrDetail.js +24 -64
  24. package/dist/model/ConsumptionDataPointUpdate.js +24 -59
  25. package/dist/model/ConsumptionSite.js +15 -41
  26. package/dist/model/ConsumptionSiteContract.js +9 -29
  27. package/dist/model/ConsumptionSiteContractImport.js +5 -20
  28. package/dist/model/ConsumptionSiteCreate.js +15 -41
  29. package/dist/model/ConsumptionSiteFileUpload.js +8 -26
  30. package/dist/model/ConsumptionSiteListOrDetail.js +14 -41
  31. package/dist/model/ContentTypeEnum.js +0 -15
  32. package/dist/model/EacTypeEnum.js +0 -11
  33. package/dist/model/EmissionFactor.js +9 -28
  34. package/dist/model/EnergySourceEnum.js +0 -18
  35. package/dist/model/EnergySourcePreference.js +10 -32
  36. package/dist/model/GetFromEpias.js +5 -20
  37. package/dist/model/GridOperator.js +11 -33
  38. package/dist/model/ImportRequest.js +14 -40
  39. package/dist/model/ImportRequestStatusEnum.js +0 -14
  40. package/dist/model/ImportedEnergyDataPoint.js +11 -32
  41. package/dist/model/Issuer.js +11 -33
  42. package/dist/model/Location.js +19 -48
  43. package/dist/model/Login.js +5 -20
  44. package/dist/model/MatchRequest.js +23 -63
  45. package/dist/model/MatchTypeEnum.js +0 -12
  46. package/dist/model/MatchedEnergyDataPoint.js +14 -39
  47. package/dist/model/MatchingConsumerRequest.js +7 -24
  48. package/dist/model/MatchingSiteRequest.js +7 -24
  49. package/dist/model/OrganizationTypeEnum.js +0 -16
  50. package/dist/model/PaginatedActivitiesList.js +6 -23
  51. package/dist/model/PaginatedConsumerList.js +6 -23
  52. package/dist/model/PaginatedConsumptionDataPointListOrDetailList.js +6 -23
  53. package/dist/model/PaginatedConsumptionSiteContractList.js +6 -23
  54. package/dist/model/PaginatedConsumptionSiteListOrDetailList.js +6 -23
  55. package/dist/model/PaginatedEmissionFactorList.js +6 -23
  56. package/dist/model/PaginatedEnergySourcePreferenceList.js +6 -23
  57. package/dist/model/PaginatedGridOperatorList.js +6 -23
  58. package/dist/model/PaginatedImportRequestList.js +6 -23
  59. package/dist/model/PaginatedImportedEnergyDataPointList.js +6 -23
  60. package/dist/model/PaginatedIssuerList.js +6 -23
  61. package/dist/model/PaginatedLocationList.js +6 -23
  62. package/dist/model/PaginatedMatchRequestList.js +6 -23
  63. package/dist/model/PaginatedMatchedEnergyDataPointList.js +6 -23
  64. package/dist/model/PaginatedProducerList.js +6 -23
  65. package/dist/model/PaginatedProductionDataFromEpiasRequestList.js +6 -23
  66. package/dist/model/PaginatedProductionDataPointListOrDetailList.js +6 -23
  67. package/dist/model/PaginatedProductionSiteListOrDetailList.js +6 -23
  68. package/dist/model/PaginatedRetailerList.js +6 -23
  69. package/dist/model/PaginatedSmartContractList.js +6 -23
  70. package/dist/model/PaginatedUnprocessedRowList.js +6 -23
  71. package/dist/model/PaginatedUploadedCertificateListorDetailList.js +6 -23
  72. package/dist/model/PaginatedUploadedFileList.js +6 -23
  73. package/dist/model/PaginatedUserList.js +6 -23
  74. package/dist/model/PatchedConsumer.js +13 -37
  75. package/dist/model/PatchedConsumptionDataPointUpdate.js +24 -59
  76. package/dist/model/PatchedConsumptionSite.js +15 -41
  77. package/dist/model/PatchedEmissionFactor.js +9 -28
  78. package/dist/model/PatchedEnergySourcePreference.js +10 -32
  79. package/dist/model/PatchedGridOperator.js +11 -33
  80. package/dist/model/PatchedIssuer.js +11 -33
  81. package/dist/model/PatchedLocation.js +19 -48
  82. package/dist/model/PatchedProducer.js +11 -33
  83. package/dist/model/PatchedProductionDataPointUpdate.js +18 -47
  84. package/dist/model/PatchedProductionSiteUpdate.js +20 -51
  85. package/dist/model/PatchedRetailer.js +12 -35
  86. package/dist/model/PatchedSmartContract.js +9 -28
  87. package/dist/model/PatchedUser.js +18 -47
  88. package/dist/model/PatchedUserDetail.js +18 -47
  89. package/dist/model/PriorityEnum.js +0 -18
  90. package/dist/model/Producer.js +11 -33
  91. package/dist/model/ProductionDataFileList.js +8 -26
  92. package/dist/model/ProductionDataFromEpiasRequest.js +11 -36
  93. package/dist/model/ProductionDataPointCreate.js +18 -47
  94. package/dist/model/ProductionDataPointListOrDetail.js +19 -53
  95. package/dist/model/ProductionDataPointUpdate.js +18 -47
  96. package/dist/model/ProductionSite.js +20 -51
  97. package/dist/model/ProductionSiteFileUpload.js +12 -34
  98. package/dist/model/ProductionSiteListOrDetail.js +18 -48
  99. package/dist/model/ProductionSiteUpdate.js +20 -51
  100. package/dist/model/Register.js +14 -38
  101. package/dist/model/Retailer.js +12 -35
  102. package/dist/model/SmartContract.js +9 -28
  103. package/dist/model/Status619Enum.js +0 -13
  104. package/dist/model/Token.js +3 -16
  105. package/dist/model/TypeEnum.js +0 -13
  106. package/dist/model/UnprocessedRow.js +9 -28
  107. package/dist/model/UploadedCertificate.js +12 -35
  108. package/dist/model/UploadedCertificateListorDetail.js +12 -36
  109. package/dist/model/UploadedFile.js +10 -32
  110. package/dist/model/User.js +18 -47
  111. package/dist/model/UserDetail.js +18 -47
  112. package/package.json +1 -1
@@ -4,51 +4,30 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports["default"] = void 0;
7
-
8
7
  var _ApiClient = _interopRequireDefault(require("../ApiClient"));
9
-
10
8
  var _Consumer = _interopRequireDefault(require("../model/Consumer"));
11
-
12
9
  var _GridOperator = _interopRequireDefault(require("../model/GridOperator"));
13
-
14
10
  var _Issuer = _interopRequireDefault(require("../model/Issuer"));
15
-
16
11
  var _PaginatedConsumerList = _interopRequireDefault(require("../model/PaginatedConsumerList"));
17
-
18
12
  var _PaginatedGridOperatorList = _interopRequireDefault(require("../model/PaginatedGridOperatorList"));
19
-
20
13
  var _PaginatedIssuerList = _interopRequireDefault(require("../model/PaginatedIssuerList"));
21
-
22
14
  var _PaginatedProducerList = _interopRequireDefault(require("../model/PaginatedProducerList"));
23
-
24
15
  var _PaginatedRetailerList = _interopRequireDefault(require("../model/PaginatedRetailerList"));
25
-
26
16
  var _PatchedConsumer = _interopRequireDefault(require("../model/PatchedConsumer"));
27
-
28
17
  var _PatchedGridOperator = _interopRequireDefault(require("../model/PatchedGridOperator"));
29
-
30
18
  var _PatchedIssuer = _interopRequireDefault(require("../model/PatchedIssuer"));
31
-
32
19
  var _PatchedProducer = _interopRequireDefault(require("../model/PatchedProducer"));
33
-
34
20
  var _PatchedRetailer = _interopRequireDefault(require("../model/PatchedRetailer"));
35
-
36
21
  var _Producer = _interopRequireDefault(require("../model/Producer"));
37
-
38
22
  var _Retailer = _interopRequireDefault(require("../model/Retailer"));
39
-
40
23
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
41
-
42
24
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
43
-
44
25
  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); } }
45
-
46
26
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
47
-
48
27
  /**
49
28
  * Organizations service.
50
29
  * @module api/OrganizationsApi
51
- * @version 1.10.2
30
+ * @version 1.10.3
52
31
  */
53
32
  var OrganizationsApi = /*#__PURE__*/function () {
54
33
  /**
@@ -60,9 +39,9 @@ var OrganizationsApi = /*#__PURE__*/function () {
60
39
  */
61
40
  function OrganizationsApi(apiClient) {
62
41
  _classCallCheck(this, OrganizationsApi);
63
-
64
42
  this.apiClient = apiClient || _ApiClient["default"].instance;
65
43
  }
44
+
66
45
  /**
67
46
  * Callback function to receive the result of the organizationsConsumersCreate operation.
68
47
  * @callback module:api/OrganizationsApi~organizationsConsumersCreateCallback
@@ -77,17 +56,14 @@ var OrganizationsApi = /*#__PURE__*/function () {
77
56
  * @param {module:api/OrganizationsApi~organizationsConsumersCreateCallback} callback The callback function, accepting three arguments: error, data, response
78
57
  * data is of type: {@link module:model/Consumer}
79
58
  */
80
-
81
-
82
59
  _createClass(OrganizationsApi, [{
83
60
  key: "organizationsConsumersCreate",
84
61
  value: function organizationsConsumersCreate(consumer, callback) {
85
- var postBody = consumer; // verify the required parameter 'consumer' is set
86
-
62
+ var postBody = consumer;
63
+ // verify the required parameter 'consumer' is set
87
64
  if (consumer === undefined || consumer === null) {
88
65
  throw new Error("Missing the required parameter 'consumer' when calling organizationsConsumersCreate");
89
66
  }
90
-
91
67
  var pathParams = {};
92
68
  var queryParams = {};
93
69
  var headerParams = {};
@@ -98,6 +74,7 @@ var OrganizationsApi = /*#__PURE__*/function () {
98
74
  var returnType = _Consumer["default"];
99
75
  return this.apiClient.callApi('/organizations/consumers/', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
100
76
  }
77
+
101
78
  /**
102
79
  * Callback function to receive the result of the organizationsConsumersDestroy operation.
103
80
  * @callback module:api/OrganizationsApi~organizationsConsumersDestroyCallback
@@ -111,16 +88,14 @@ var OrganizationsApi = /*#__PURE__*/function () {
111
88
  * @param {String} id A UUID string identifying this consumer.
112
89
  * @param {module:api/OrganizationsApi~organizationsConsumersDestroyCallback} callback The callback function, accepting three arguments: error, data, response
113
90
  */
114
-
115
91
  }, {
116
92
  key: "organizationsConsumersDestroy",
117
93
  value: function organizationsConsumersDestroy(id, callback) {
118
- var postBody = null; // verify the required parameter 'id' is set
119
-
94
+ var postBody = null;
95
+ // verify the required parameter 'id' is set
120
96
  if (id === undefined || id === null) {
121
97
  throw new Error("Missing the required parameter 'id' when calling organizationsConsumersDestroy");
122
98
  }
123
-
124
99
  var pathParams = {
125
100
  'id': id
126
101
  };
@@ -133,6 +108,7 @@ var OrganizationsApi = /*#__PURE__*/function () {
133
108
  var returnType = null;
134
109
  return this.apiClient.callApi('/organizations/consumers/{id}/', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
135
110
  }
111
+
136
112
  /**
137
113
  * Callback function to receive the result of the organizationsConsumersList operation.
138
114
  * @callback module:api/OrganizationsApi~organizationsConsumersListCallback
@@ -161,7 +137,6 @@ var OrganizationsApi = /*#__PURE__*/function () {
161
137
  * @param {module:api/OrganizationsApi~organizationsConsumersListCallback} callback The callback function, accepting three arguments: error, data, response
162
138
  * data is of type: {@link module:model/PaginatedConsumerList}
163
139
  */
164
-
165
140
  }, {
166
141
  key: "organizationsConsumersList",
167
142
  value: function organizationsConsumersList(opts, callback) {
@@ -192,6 +167,7 @@ var OrganizationsApi = /*#__PURE__*/function () {
192
167
  var returnType = _PaginatedConsumerList["default"];
193
168
  return this.apiClient.callApi('/organizations/consumers/', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
194
169
  }
170
+
195
171
  /**
196
172
  * Callback function to receive the result of the organizationsConsumersPartialUpdate operation.
197
173
  * @callback module:api/OrganizationsApi~organizationsConsumersPartialUpdateCallback
@@ -208,17 +184,15 @@ var OrganizationsApi = /*#__PURE__*/function () {
208
184
  * @param {module:api/OrganizationsApi~organizationsConsumersPartialUpdateCallback} callback The callback function, accepting three arguments: error, data, response
209
185
  * data is of type: {@link module:model/Consumer}
210
186
  */
211
-
212
187
  }, {
213
188
  key: "organizationsConsumersPartialUpdate",
214
189
  value: function organizationsConsumersPartialUpdate(id, opts, callback) {
215
190
  opts = opts || {};
216
- var postBody = opts['patchedConsumer']; // verify the required parameter 'id' is set
217
-
191
+ var postBody = opts['patchedConsumer'];
192
+ // verify the required parameter 'id' is set
218
193
  if (id === undefined || id === null) {
219
194
  throw new Error("Missing the required parameter 'id' when calling organizationsConsumersPartialUpdate");
220
195
  }
221
-
222
196
  var pathParams = {
223
197
  'id': id
224
198
  };
@@ -231,6 +205,7 @@ var OrganizationsApi = /*#__PURE__*/function () {
231
205
  var returnType = _Consumer["default"];
232
206
  return this.apiClient.callApi('/organizations/consumers/{id}/', 'PATCH', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
233
207
  }
208
+
234
209
  /**
235
210
  * Callback function to receive the result of the organizationsConsumersRetrieve operation.
236
211
  * @callback module:api/OrganizationsApi~organizationsConsumersRetrieveCallback
@@ -245,16 +220,14 @@ var OrganizationsApi = /*#__PURE__*/function () {
245
220
  * @param {module:api/OrganizationsApi~organizationsConsumersRetrieveCallback} callback The callback function, accepting three arguments: error, data, response
246
221
  * data is of type: {@link module:model/Consumer}
247
222
  */
248
-
249
223
  }, {
250
224
  key: "organizationsConsumersRetrieve",
251
225
  value: function organizationsConsumersRetrieve(id, callback) {
252
- var postBody = null; // verify the required parameter 'id' is set
253
-
226
+ var postBody = null;
227
+ // verify the required parameter 'id' is set
254
228
  if (id === undefined || id === null) {
255
229
  throw new Error("Missing the required parameter 'id' when calling organizationsConsumersRetrieve");
256
230
  }
257
-
258
231
  var pathParams = {
259
232
  'id': id
260
233
  };
@@ -267,6 +240,7 @@ var OrganizationsApi = /*#__PURE__*/function () {
267
240
  var returnType = _Consumer["default"];
268
241
  return this.apiClient.callApi('/organizations/consumers/{id}/', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
269
242
  }
243
+
270
244
  /**
271
245
  * Callback function to receive the result of the organizationsConsumersUpdate operation.
272
246
  * @callback module:api/OrganizationsApi~organizationsConsumersUpdateCallback
@@ -282,21 +256,18 @@ var OrganizationsApi = /*#__PURE__*/function () {
282
256
  * @param {module:api/OrganizationsApi~organizationsConsumersUpdateCallback} callback The callback function, accepting three arguments: error, data, response
283
257
  * data is of type: {@link module:model/Consumer}
284
258
  */
285
-
286
259
  }, {
287
260
  key: "organizationsConsumersUpdate",
288
261
  value: function organizationsConsumersUpdate(id, consumer, callback) {
289
- var postBody = consumer; // verify the required parameter 'id' is set
290
-
262
+ var postBody = consumer;
263
+ // verify the required parameter 'id' is set
291
264
  if (id === undefined || id === null) {
292
265
  throw new Error("Missing the required parameter 'id' when calling organizationsConsumersUpdate");
293
- } // verify the required parameter 'consumer' is set
294
-
295
-
266
+ }
267
+ // verify the required parameter 'consumer' is set
296
268
  if (consumer === undefined || consumer === null) {
297
269
  throw new Error("Missing the required parameter 'consumer' when calling organizationsConsumersUpdate");
298
270
  }
299
-
300
271
  var pathParams = {
301
272
  'id': id
302
273
  };
@@ -309,6 +280,7 @@ var OrganizationsApi = /*#__PURE__*/function () {
309
280
  var returnType = _Consumer["default"];
310
281
  return this.apiClient.callApi('/organizations/consumers/{id}/', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
311
282
  }
283
+
312
284
  /**
313
285
  * Callback function to receive the result of the organizationsGridoperatorsCreate operation.
314
286
  * @callback module:api/OrganizationsApi~organizationsGridoperatorsCreateCallback
@@ -323,16 +295,14 @@ var OrganizationsApi = /*#__PURE__*/function () {
323
295
  * @param {module:api/OrganizationsApi~organizationsGridoperatorsCreateCallback} callback The callback function, accepting three arguments: error, data, response
324
296
  * data is of type: {@link module:model/GridOperator}
325
297
  */
326
-
327
298
  }, {
328
299
  key: "organizationsGridoperatorsCreate",
329
300
  value: function organizationsGridoperatorsCreate(gridOperator, callback) {
330
- var postBody = gridOperator; // verify the required parameter 'gridOperator' is set
331
-
301
+ var postBody = gridOperator;
302
+ // verify the required parameter 'gridOperator' is set
332
303
  if (gridOperator === undefined || gridOperator === null) {
333
304
  throw new Error("Missing the required parameter 'gridOperator' when calling organizationsGridoperatorsCreate");
334
305
  }
335
-
336
306
  var pathParams = {};
337
307
  var queryParams = {};
338
308
  var headerParams = {};
@@ -343,6 +313,7 @@ var OrganizationsApi = /*#__PURE__*/function () {
343
313
  var returnType = _GridOperator["default"];
344
314
  return this.apiClient.callApi('/organizations/gridoperators/', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
345
315
  }
316
+
346
317
  /**
347
318
  * Callback function to receive the result of the organizationsGridoperatorsDestroy operation.
348
319
  * @callback module:api/OrganizationsApi~organizationsGridoperatorsDestroyCallback
@@ -356,16 +327,14 @@ var OrganizationsApi = /*#__PURE__*/function () {
356
327
  * @param {String} id A UUID string identifying this grid operator.
357
328
  * @param {module:api/OrganizationsApi~organizationsGridoperatorsDestroyCallback} callback The callback function, accepting three arguments: error, data, response
358
329
  */
359
-
360
330
  }, {
361
331
  key: "organizationsGridoperatorsDestroy",
362
332
  value: function organizationsGridoperatorsDestroy(id, callback) {
363
- var postBody = null; // verify the required parameter 'id' is set
364
-
333
+ var postBody = null;
334
+ // verify the required parameter 'id' is set
365
335
  if (id === undefined || id === null) {
366
336
  throw new Error("Missing the required parameter 'id' when calling organizationsGridoperatorsDestroy");
367
337
  }
368
-
369
338
  var pathParams = {
370
339
  'id': id
371
340
  };
@@ -378,6 +347,7 @@ var OrganizationsApi = /*#__PURE__*/function () {
378
347
  var returnType = null;
379
348
  return this.apiClient.callApi('/organizations/gridoperators/{id}/', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
380
349
  }
350
+
381
351
  /**
382
352
  * Callback function to receive the result of the organizationsGridoperatorsList operation.
383
353
  * @callback module:api/OrganizationsApi~organizationsGridoperatorsListCallback
@@ -405,7 +375,6 @@ var OrganizationsApi = /*#__PURE__*/function () {
405
375
  * @param {module:api/OrganizationsApi~organizationsGridoperatorsListCallback} callback The callback function, accepting three arguments: error, data, response
406
376
  * data is of type: {@link module:model/PaginatedGridOperatorList}
407
377
  */
408
-
409
378
  }, {
410
379
  key: "organizationsGridoperatorsList",
411
380
  value: function organizationsGridoperatorsList(opts, callback) {
@@ -435,6 +404,7 @@ var OrganizationsApi = /*#__PURE__*/function () {
435
404
  var returnType = _PaginatedGridOperatorList["default"];
436
405
  return this.apiClient.callApi('/organizations/gridoperators/', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
437
406
  }
407
+
438
408
  /**
439
409
  * Callback function to receive the result of the organizationsGridoperatorsPartialUpdate operation.
440
410
  * @callback module:api/OrganizationsApi~organizationsGridoperatorsPartialUpdateCallback
@@ -451,17 +421,15 @@ var OrganizationsApi = /*#__PURE__*/function () {
451
421
  * @param {module:api/OrganizationsApi~organizationsGridoperatorsPartialUpdateCallback} callback The callback function, accepting three arguments: error, data, response
452
422
  * data is of type: {@link module:model/GridOperator}
453
423
  */
454
-
455
424
  }, {
456
425
  key: "organizationsGridoperatorsPartialUpdate",
457
426
  value: function organizationsGridoperatorsPartialUpdate(id, opts, callback) {
458
427
  opts = opts || {};
459
- var postBody = opts['patchedGridOperator']; // verify the required parameter 'id' is set
460
-
428
+ var postBody = opts['patchedGridOperator'];
429
+ // verify the required parameter 'id' is set
461
430
  if (id === undefined || id === null) {
462
431
  throw new Error("Missing the required parameter 'id' when calling organizationsGridoperatorsPartialUpdate");
463
432
  }
464
-
465
433
  var pathParams = {
466
434
  'id': id
467
435
  };
@@ -474,6 +442,7 @@ var OrganizationsApi = /*#__PURE__*/function () {
474
442
  var returnType = _GridOperator["default"];
475
443
  return this.apiClient.callApi('/organizations/gridoperators/{id}/', 'PATCH', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
476
444
  }
445
+
477
446
  /**
478
447
  * Callback function to receive the result of the organizationsGridoperatorsRetrieve operation.
479
448
  * @callback module:api/OrganizationsApi~organizationsGridoperatorsRetrieveCallback
@@ -488,16 +457,14 @@ var OrganizationsApi = /*#__PURE__*/function () {
488
457
  * @param {module:api/OrganizationsApi~organizationsGridoperatorsRetrieveCallback} callback The callback function, accepting three arguments: error, data, response
489
458
  * data is of type: {@link module:model/GridOperator}
490
459
  */
491
-
492
460
  }, {
493
461
  key: "organizationsGridoperatorsRetrieve",
494
462
  value: function organizationsGridoperatorsRetrieve(id, callback) {
495
- var postBody = null; // verify the required parameter 'id' is set
496
-
463
+ var postBody = null;
464
+ // verify the required parameter 'id' is set
497
465
  if (id === undefined || id === null) {
498
466
  throw new Error("Missing the required parameter 'id' when calling organizationsGridoperatorsRetrieve");
499
467
  }
500
-
501
468
  var pathParams = {
502
469
  'id': id
503
470
  };
@@ -510,6 +477,7 @@ var OrganizationsApi = /*#__PURE__*/function () {
510
477
  var returnType = _GridOperator["default"];
511
478
  return this.apiClient.callApi('/organizations/gridoperators/{id}/', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
512
479
  }
480
+
513
481
  /**
514
482
  * Callback function to receive the result of the organizationsGridoperatorsUpdate operation.
515
483
  * @callback module:api/OrganizationsApi~organizationsGridoperatorsUpdateCallback
@@ -525,21 +493,18 @@ var OrganizationsApi = /*#__PURE__*/function () {
525
493
  * @param {module:api/OrganizationsApi~organizationsGridoperatorsUpdateCallback} callback The callback function, accepting three arguments: error, data, response
526
494
  * data is of type: {@link module:model/GridOperator}
527
495
  */
528
-
529
496
  }, {
530
497
  key: "organizationsGridoperatorsUpdate",
531
498
  value: function organizationsGridoperatorsUpdate(id, gridOperator, callback) {
532
- var postBody = gridOperator; // verify the required parameter 'id' is set
533
-
499
+ var postBody = gridOperator;
500
+ // verify the required parameter 'id' is set
534
501
  if (id === undefined || id === null) {
535
502
  throw new Error("Missing the required parameter 'id' when calling organizationsGridoperatorsUpdate");
536
- } // verify the required parameter 'gridOperator' is set
537
-
538
-
503
+ }
504
+ // verify the required parameter 'gridOperator' is set
539
505
  if (gridOperator === undefined || gridOperator === null) {
540
506
  throw new Error("Missing the required parameter 'gridOperator' when calling organizationsGridoperatorsUpdate");
541
507
  }
542
-
543
508
  var pathParams = {
544
509
  'id': id
545
510
  };
@@ -552,6 +517,7 @@ var OrganizationsApi = /*#__PURE__*/function () {
552
517
  var returnType = _GridOperator["default"];
553
518
  return this.apiClient.callApi('/organizations/gridoperators/{id}/', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
554
519
  }
520
+
555
521
  /**
556
522
  * Callback function to receive the result of the organizationsIssuersCreate operation.
557
523
  * @callback module:api/OrganizationsApi~organizationsIssuersCreateCallback
@@ -566,16 +532,14 @@ var OrganizationsApi = /*#__PURE__*/function () {
566
532
  * @param {module:api/OrganizationsApi~organizationsIssuersCreateCallback} callback The callback function, accepting three arguments: error, data, response
567
533
  * data is of type: {@link module:model/Issuer}
568
534
  */
569
-
570
535
  }, {
571
536
  key: "organizationsIssuersCreate",
572
537
  value: function organizationsIssuersCreate(issuer, callback) {
573
- var postBody = issuer; // verify the required parameter 'issuer' is set
574
-
538
+ var postBody = issuer;
539
+ // verify the required parameter 'issuer' is set
575
540
  if (issuer === undefined || issuer === null) {
576
541
  throw new Error("Missing the required parameter 'issuer' when calling organizationsIssuersCreate");
577
542
  }
578
-
579
543
  var pathParams = {};
580
544
  var queryParams = {};
581
545
  var headerParams = {};
@@ -586,6 +550,7 @@ var OrganizationsApi = /*#__PURE__*/function () {
586
550
  var returnType = _Issuer["default"];
587
551
  return this.apiClient.callApi('/organizations/issuers/', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
588
552
  }
553
+
589
554
  /**
590
555
  * Callback function to receive the result of the organizationsIssuersDestroy operation.
591
556
  * @callback module:api/OrganizationsApi~organizationsIssuersDestroyCallback
@@ -599,16 +564,14 @@ var OrganizationsApi = /*#__PURE__*/function () {
599
564
  * @param {String} id A UUID string identifying this issuer.
600
565
  * @param {module:api/OrganizationsApi~organizationsIssuersDestroyCallback} callback The callback function, accepting three arguments: error, data, response
601
566
  */
602
-
603
567
  }, {
604
568
  key: "organizationsIssuersDestroy",
605
569
  value: function organizationsIssuersDestroy(id, callback) {
606
- var postBody = null; // verify the required parameter 'id' is set
607
-
570
+ var postBody = null;
571
+ // verify the required parameter 'id' is set
608
572
  if (id === undefined || id === null) {
609
573
  throw new Error("Missing the required parameter 'id' when calling organizationsIssuersDestroy");
610
574
  }
611
-
612
575
  var pathParams = {
613
576
  'id': id
614
577
  };
@@ -621,6 +584,7 @@ var OrganizationsApi = /*#__PURE__*/function () {
621
584
  var returnType = null;
622
585
  return this.apiClient.callApi('/organizations/issuers/{id}/', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
623
586
  }
587
+
624
588
  /**
625
589
  * Callback function to receive the result of the organizationsIssuersList operation.
626
590
  * @callback module:api/OrganizationsApi~organizationsIssuersListCallback
@@ -648,7 +612,6 @@ var OrganizationsApi = /*#__PURE__*/function () {
648
612
  * @param {module:api/OrganizationsApi~organizationsIssuersListCallback} callback The callback function, accepting three arguments: error, data, response
649
613
  * data is of type: {@link module:model/PaginatedIssuerList}
650
614
  */
651
-
652
615
  }, {
653
616
  key: "organizationsIssuersList",
654
617
  value: function organizationsIssuersList(opts, callback) {
@@ -678,6 +641,7 @@ var OrganizationsApi = /*#__PURE__*/function () {
678
641
  var returnType = _PaginatedIssuerList["default"];
679
642
  return this.apiClient.callApi('/organizations/issuers/', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
680
643
  }
644
+
681
645
  /**
682
646
  * Callback function to receive the result of the organizationsIssuersPartialUpdate operation.
683
647
  * @callback module:api/OrganizationsApi~organizationsIssuersPartialUpdateCallback
@@ -694,17 +658,15 @@ var OrganizationsApi = /*#__PURE__*/function () {
694
658
  * @param {module:api/OrganizationsApi~organizationsIssuersPartialUpdateCallback} callback The callback function, accepting three arguments: error, data, response
695
659
  * data is of type: {@link module:model/Issuer}
696
660
  */
697
-
698
661
  }, {
699
662
  key: "organizationsIssuersPartialUpdate",
700
663
  value: function organizationsIssuersPartialUpdate(id, opts, callback) {
701
664
  opts = opts || {};
702
- var postBody = opts['patchedIssuer']; // verify the required parameter 'id' is set
703
-
665
+ var postBody = opts['patchedIssuer'];
666
+ // verify the required parameter 'id' is set
704
667
  if (id === undefined || id === null) {
705
668
  throw new Error("Missing the required parameter 'id' when calling organizationsIssuersPartialUpdate");
706
669
  }
707
-
708
670
  var pathParams = {
709
671
  'id': id
710
672
  };
@@ -717,6 +679,7 @@ var OrganizationsApi = /*#__PURE__*/function () {
717
679
  var returnType = _Issuer["default"];
718
680
  return this.apiClient.callApi('/organizations/issuers/{id}/', 'PATCH', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
719
681
  }
682
+
720
683
  /**
721
684
  * Callback function to receive the result of the organizationsIssuersRetrieve operation.
722
685
  * @callback module:api/OrganizationsApi~organizationsIssuersRetrieveCallback
@@ -731,16 +694,14 @@ var OrganizationsApi = /*#__PURE__*/function () {
731
694
  * @param {module:api/OrganizationsApi~organizationsIssuersRetrieveCallback} callback The callback function, accepting three arguments: error, data, response
732
695
  * data is of type: {@link module:model/Issuer}
733
696
  */
734
-
735
697
  }, {
736
698
  key: "organizationsIssuersRetrieve",
737
699
  value: function organizationsIssuersRetrieve(id, callback) {
738
- var postBody = null; // verify the required parameter 'id' is set
739
-
700
+ var postBody = null;
701
+ // verify the required parameter 'id' is set
740
702
  if (id === undefined || id === null) {
741
703
  throw new Error("Missing the required parameter 'id' when calling organizationsIssuersRetrieve");
742
704
  }
743
-
744
705
  var pathParams = {
745
706
  'id': id
746
707
  };
@@ -753,6 +714,7 @@ var OrganizationsApi = /*#__PURE__*/function () {
753
714
  var returnType = _Issuer["default"];
754
715
  return this.apiClient.callApi('/organizations/issuers/{id}/', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
755
716
  }
717
+
756
718
  /**
757
719
  * Callback function to receive the result of the organizationsIssuersUpdate operation.
758
720
  * @callback module:api/OrganizationsApi~organizationsIssuersUpdateCallback
@@ -768,21 +730,18 @@ var OrganizationsApi = /*#__PURE__*/function () {
768
730
  * @param {module:api/OrganizationsApi~organizationsIssuersUpdateCallback} callback The callback function, accepting three arguments: error, data, response
769
731
  * data is of type: {@link module:model/Issuer}
770
732
  */
771
-
772
733
  }, {
773
734
  key: "organizationsIssuersUpdate",
774
735
  value: function organizationsIssuersUpdate(id, issuer, callback) {
775
- var postBody = issuer; // verify the required parameter 'id' is set
776
-
736
+ var postBody = issuer;
737
+ // verify the required parameter 'id' is set
777
738
  if (id === undefined || id === null) {
778
739
  throw new Error("Missing the required parameter 'id' when calling organizationsIssuersUpdate");
779
- } // verify the required parameter 'issuer' is set
780
-
781
-
740
+ }
741
+ // verify the required parameter 'issuer' is set
782
742
  if (issuer === undefined || issuer === null) {
783
743
  throw new Error("Missing the required parameter 'issuer' when calling organizationsIssuersUpdate");
784
744
  }
785
-
786
745
  var pathParams = {
787
746
  'id': id
788
747
  };
@@ -795,6 +754,7 @@ var OrganizationsApi = /*#__PURE__*/function () {
795
754
  var returnType = _Issuer["default"];
796
755
  return this.apiClient.callApi('/organizations/issuers/{id}/', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
797
756
  }
757
+
798
758
  /**
799
759
  * Callback function to receive the result of the organizationsProducersCreate operation.
800
760
  * @callback module:api/OrganizationsApi~organizationsProducersCreateCallback
@@ -809,16 +769,14 @@ var OrganizationsApi = /*#__PURE__*/function () {
809
769
  * @param {module:api/OrganizationsApi~organizationsProducersCreateCallback} callback The callback function, accepting three arguments: error, data, response
810
770
  * data is of type: {@link module:model/Producer}
811
771
  */
812
-
813
772
  }, {
814
773
  key: "organizationsProducersCreate",
815
774
  value: function organizationsProducersCreate(producer, callback) {
816
- var postBody = producer; // verify the required parameter 'producer' is set
817
-
775
+ var postBody = producer;
776
+ // verify the required parameter 'producer' is set
818
777
  if (producer === undefined || producer === null) {
819
778
  throw new Error("Missing the required parameter 'producer' when calling organizationsProducersCreate");
820
779
  }
821
-
822
780
  var pathParams = {};
823
781
  var queryParams = {};
824
782
  var headerParams = {};
@@ -829,6 +787,7 @@ var OrganizationsApi = /*#__PURE__*/function () {
829
787
  var returnType = _Producer["default"];
830
788
  return this.apiClient.callApi('/organizations/producers/', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
831
789
  }
790
+
832
791
  /**
833
792
  * Callback function to receive the result of the organizationsProducersDestroy operation.
834
793
  * @callback module:api/OrganizationsApi~organizationsProducersDestroyCallback
@@ -842,16 +801,14 @@ var OrganizationsApi = /*#__PURE__*/function () {
842
801
  * @param {String} id A UUID string identifying this producer.
843
802
  * @param {module:api/OrganizationsApi~organizationsProducersDestroyCallback} callback The callback function, accepting three arguments: error, data, response
844
803
  */
845
-
846
804
  }, {
847
805
  key: "organizationsProducersDestroy",
848
806
  value: function organizationsProducersDestroy(id, callback) {
849
- var postBody = null; // verify the required parameter 'id' is set
850
-
807
+ var postBody = null;
808
+ // verify the required parameter 'id' is set
851
809
  if (id === undefined || id === null) {
852
810
  throw new Error("Missing the required parameter 'id' when calling organizationsProducersDestroy");
853
811
  }
854
-
855
812
  var pathParams = {
856
813
  'id': id
857
814
  };
@@ -864,6 +821,7 @@ var OrganizationsApi = /*#__PURE__*/function () {
864
821
  var returnType = null;
865
822
  return this.apiClient.callApi('/organizations/producers/{id}/', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
866
823
  }
824
+
867
825
  /**
868
826
  * Callback function to receive the result of the organizationsProducersList operation.
869
827
  * @callback module:api/OrganizationsApi~organizationsProducersListCallback
@@ -891,7 +849,6 @@ var OrganizationsApi = /*#__PURE__*/function () {
891
849
  * @param {module:api/OrganizationsApi~organizationsProducersListCallback} callback The callback function, accepting three arguments: error, data, response
892
850
  * data is of type: {@link module:model/PaginatedProducerList}
893
851
  */
894
-
895
852
  }, {
896
853
  key: "organizationsProducersList",
897
854
  value: function organizationsProducersList(opts, callback) {
@@ -921,6 +878,7 @@ var OrganizationsApi = /*#__PURE__*/function () {
921
878
  var returnType = _PaginatedProducerList["default"];
922
879
  return this.apiClient.callApi('/organizations/producers/', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
923
880
  }
881
+
924
882
  /**
925
883
  * Callback function to receive the result of the organizationsProducersPartialUpdate operation.
926
884
  * @callback module:api/OrganizationsApi~organizationsProducersPartialUpdateCallback
@@ -937,17 +895,15 @@ var OrganizationsApi = /*#__PURE__*/function () {
937
895
  * @param {module:api/OrganizationsApi~organizationsProducersPartialUpdateCallback} callback The callback function, accepting three arguments: error, data, response
938
896
  * data is of type: {@link module:model/Producer}
939
897
  */
940
-
941
898
  }, {
942
899
  key: "organizationsProducersPartialUpdate",
943
900
  value: function organizationsProducersPartialUpdate(id, opts, callback) {
944
901
  opts = opts || {};
945
- var postBody = opts['patchedProducer']; // verify the required parameter 'id' is set
946
-
902
+ var postBody = opts['patchedProducer'];
903
+ // verify the required parameter 'id' is set
947
904
  if (id === undefined || id === null) {
948
905
  throw new Error("Missing the required parameter 'id' when calling organizationsProducersPartialUpdate");
949
906
  }
950
-
951
907
  var pathParams = {
952
908
  'id': id
953
909
  };
@@ -960,6 +916,7 @@ var OrganizationsApi = /*#__PURE__*/function () {
960
916
  var returnType = _Producer["default"];
961
917
  return this.apiClient.callApi('/organizations/producers/{id}/', 'PATCH', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
962
918
  }
919
+
963
920
  /**
964
921
  * Callback function to receive the result of the organizationsProducersRetrieve operation.
965
922
  * @callback module:api/OrganizationsApi~organizationsProducersRetrieveCallback
@@ -974,16 +931,14 @@ var OrganizationsApi = /*#__PURE__*/function () {
974
931
  * @param {module:api/OrganizationsApi~organizationsProducersRetrieveCallback} callback The callback function, accepting three arguments: error, data, response
975
932
  * data is of type: {@link module:model/Producer}
976
933
  */
977
-
978
934
  }, {
979
935
  key: "organizationsProducersRetrieve",
980
936
  value: function organizationsProducersRetrieve(id, callback) {
981
- var postBody = null; // verify the required parameter 'id' is set
982
-
937
+ var postBody = null;
938
+ // verify the required parameter 'id' is set
983
939
  if (id === undefined || id === null) {
984
940
  throw new Error("Missing the required parameter 'id' when calling organizationsProducersRetrieve");
985
941
  }
986
-
987
942
  var pathParams = {
988
943
  'id': id
989
944
  };
@@ -996,6 +951,7 @@ var OrganizationsApi = /*#__PURE__*/function () {
996
951
  var returnType = _Producer["default"];
997
952
  return this.apiClient.callApi('/organizations/producers/{id}/', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
998
953
  }
954
+
999
955
  /**
1000
956
  * Callback function to receive the result of the organizationsProducersUpdate operation.
1001
957
  * @callback module:api/OrganizationsApi~organizationsProducersUpdateCallback
@@ -1011,21 +967,18 @@ var OrganizationsApi = /*#__PURE__*/function () {
1011
967
  * @param {module:api/OrganizationsApi~organizationsProducersUpdateCallback} callback The callback function, accepting three arguments: error, data, response
1012
968
  * data is of type: {@link module:model/Producer}
1013
969
  */
1014
-
1015
970
  }, {
1016
971
  key: "organizationsProducersUpdate",
1017
972
  value: function organizationsProducersUpdate(id, producer, callback) {
1018
- var postBody = producer; // verify the required parameter 'id' is set
1019
-
973
+ var postBody = producer;
974
+ // verify the required parameter 'id' is set
1020
975
  if (id === undefined || id === null) {
1021
976
  throw new Error("Missing the required parameter 'id' when calling organizationsProducersUpdate");
1022
- } // verify the required parameter 'producer' is set
1023
-
1024
-
977
+ }
978
+ // verify the required parameter 'producer' is set
1025
979
  if (producer === undefined || producer === null) {
1026
980
  throw new Error("Missing the required parameter 'producer' when calling organizationsProducersUpdate");
1027
981
  }
1028
-
1029
982
  var pathParams = {
1030
983
  'id': id
1031
984
  };
@@ -1038,6 +991,7 @@ var OrganizationsApi = /*#__PURE__*/function () {
1038
991
  var returnType = _Producer["default"];
1039
992
  return this.apiClient.callApi('/organizations/producers/{id}/', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
1040
993
  }
994
+
1041
995
  /**
1042
996
  * Callback function to receive the result of the organizationsRetailersCreate operation.
1043
997
  * @callback module:api/OrganizationsApi~organizationsRetailersCreateCallback
@@ -1052,16 +1006,14 @@ var OrganizationsApi = /*#__PURE__*/function () {
1052
1006
  * @param {module:api/OrganizationsApi~organizationsRetailersCreateCallback} callback The callback function, accepting three arguments: error, data, response
1053
1007
  * data is of type: {@link module:model/Retailer}
1054
1008
  */
1055
-
1056
1009
  }, {
1057
1010
  key: "organizationsRetailersCreate",
1058
1011
  value: function organizationsRetailersCreate(retailer, callback) {
1059
- var postBody = retailer; // verify the required parameter 'retailer' is set
1060
-
1012
+ var postBody = retailer;
1013
+ // verify the required parameter 'retailer' is set
1061
1014
  if (retailer === undefined || retailer === null) {
1062
1015
  throw new Error("Missing the required parameter 'retailer' when calling organizationsRetailersCreate");
1063
1016
  }
1064
-
1065
1017
  var pathParams = {};
1066
1018
  var queryParams = {};
1067
1019
  var headerParams = {};
@@ -1072,6 +1024,7 @@ var OrganizationsApi = /*#__PURE__*/function () {
1072
1024
  var returnType = _Retailer["default"];
1073
1025
  return this.apiClient.callApi('/organizations/retailers/', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
1074
1026
  }
1027
+
1075
1028
  /**
1076
1029
  * Callback function to receive the result of the organizationsRetailersDestroy operation.
1077
1030
  * @callback module:api/OrganizationsApi~organizationsRetailersDestroyCallback
@@ -1085,16 +1038,14 @@ var OrganizationsApi = /*#__PURE__*/function () {
1085
1038
  * @param {String} id A UUID string identifying this retailer.
1086
1039
  * @param {module:api/OrganizationsApi~organizationsRetailersDestroyCallback} callback The callback function, accepting three arguments: error, data, response
1087
1040
  */
1088
-
1089
1041
  }, {
1090
1042
  key: "organizationsRetailersDestroy",
1091
1043
  value: function organizationsRetailersDestroy(id, callback) {
1092
- var postBody = null; // verify the required parameter 'id' is set
1093
-
1044
+ var postBody = null;
1045
+ // verify the required parameter 'id' is set
1094
1046
  if (id === undefined || id === null) {
1095
1047
  throw new Error("Missing the required parameter 'id' when calling organizationsRetailersDestroy");
1096
1048
  }
1097
-
1098
1049
  var pathParams = {
1099
1050
  'id': id
1100
1051
  };
@@ -1107,6 +1058,7 @@ var OrganizationsApi = /*#__PURE__*/function () {
1107
1058
  var returnType = null;
1108
1059
  return this.apiClient.callApi('/organizations/retailers/{id}/', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
1109
1060
  }
1061
+
1110
1062
  /**
1111
1063
  * Callback function to receive the result of the organizationsRetailersList operation.
1112
1064
  * @callback module:api/OrganizationsApi~organizationsRetailersListCallback
@@ -1134,7 +1086,6 @@ var OrganizationsApi = /*#__PURE__*/function () {
1134
1086
  * @param {module:api/OrganizationsApi~organizationsRetailersListCallback} callback The callback function, accepting three arguments: error, data, response
1135
1087
  * data is of type: {@link module:model/PaginatedRetailerList}
1136
1088
  */
1137
-
1138
1089
  }, {
1139
1090
  key: "organizationsRetailersList",
1140
1091
  value: function organizationsRetailersList(opts, callback) {
@@ -1164,6 +1115,7 @@ var OrganizationsApi = /*#__PURE__*/function () {
1164
1115
  var returnType = _PaginatedRetailerList["default"];
1165
1116
  return this.apiClient.callApi('/organizations/retailers/', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
1166
1117
  }
1118
+
1167
1119
  /**
1168
1120
  * Callback function to receive the result of the organizationsRetailersPartialUpdate operation.
1169
1121
  * @callback module:api/OrganizationsApi~organizationsRetailersPartialUpdateCallback
@@ -1180,17 +1132,15 @@ var OrganizationsApi = /*#__PURE__*/function () {
1180
1132
  * @param {module:api/OrganizationsApi~organizationsRetailersPartialUpdateCallback} callback The callback function, accepting three arguments: error, data, response
1181
1133
  * data is of type: {@link module:model/Retailer}
1182
1134
  */
1183
-
1184
1135
  }, {
1185
1136
  key: "organizationsRetailersPartialUpdate",
1186
1137
  value: function organizationsRetailersPartialUpdate(id, opts, callback) {
1187
1138
  opts = opts || {};
1188
- var postBody = opts['patchedRetailer']; // verify the required parameter 'id' is set
1189
-
1139
+ var postBody = opts['patchedRetailer'];
1140
+ // verify the required parameter 'id' is set
1190
1141
  if (id === undefined || id === null) {
1191
1142
  throw new Error("Missing the required parameter 'id' when calling organizationsRetailersPartialUpdate");
1192
1143
  }
1193
-
1194
1144
  var pathParams = {
1195
1145
  'id': id
1196
1146
  };
@@ -1203,6 +1153,7 @@ var OrganizationsApi = /*#__PURE__*/function () {
1203
1153
  var returnType = _Retailer["default"];
1204
1154
  return this.apiClient.callApi('/organizations/retailers/{id}/', 'PATCH', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
1205
1155
  }
1156
+
1206
1157
  /**
1207
1158
  * Callback function to receive the result of the organizationsRetailersRetrieve operation.
1208
1159
  * @callback module:api/OrganizationsApi~organizationsRetailersRetrieveCallback
@@ -1217,16 +1168,14 @@ var OrganizationsApi = /*#__PURE__*/function () {
1217
1168
  * @param {module:api/OrganizationsApi~organizationsRetailersRetrieveCallback} callback The callback function, accepting three arguments: error, data, response
1218
1169
  * data is of type: {@link module:model/Retailer}
1219
1170
  */
1220
-
1221
1171
  }, {
1222
1172
  key: "organizationsRetailersRetrieve",
1223
1173
  value: function organizationsRetailersRetrieve(id, callback) {
1224
- var postBody = null; // verify the required parameter 'id' is set
1225
-
1174
+ var postBody = null;
1175
+ // verify the required parameter 'id' is set
1226
1176
  if (id === undefined || id === null) {
1227
1177
  throw new Error("Missing the required parameter 'id' when calling organizationsRetailersRetrieve");
1228
1178
  }
1229
-
1230
1179
  var pathParams = {
1231
1180
  'id': id
1232
1181
  };
@@ -1239,6 +1188,7 @@ var OrganizationsApi = /*#__PURE__*/function () {
1239
1188
  var returnType = _Retailer["default"];
1240
1189
  return this.apiClient.callApi('/organizations/retailers/{id}/', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
1241
1190
  }
1191
+
1242
1192
  /**
1243
1193
  * Callback function to receive the result of the organizationsRetailersUpdate operation.
1244
1194
  * @callback module:api/OrganizationsApi~organizationsRetailersUpdateCallback
@@ -1254,21 +1204,18 @@ var OrganizationsApi = /*#__PURE__*/function () {
1254
1204
  * @param {module:api/OrganizationsApi~organizationsRetailersUpdateCallback} callback The callback function, accepting three arguments: error, data, response
1255
1205
  * data is of type: {@link module:model/Retailer}
1256
1206
  */
1257
-
1258
1207
  }, {
1259
1208
  key: "organizationsRetailersUpdate",
1260
1209
  value: function organizationsRetailersUpdate(id, retailer, callback) {
1261
- var postBody = retailer; // verify the required parameter 'id' is set
1262
-
1210
+ var postBody = retailer;
1211
+ // verify the required parameter 'id' is set
1263
1212
  if (id === undefined || id === null) {
1264
1213
  throw new Error("Missing the required parameter 'id' when calling organizationsRetailersUpdate");
1265
- } // verify the required parameter 'retailer' is set
1266
-
1267
-
1214
+ }
1215
+ // verify the required parameter 'retailer' is set
1268
1216
  if (retailer === undefined || retailer === null) {
1269
1217
  throw new Error("Missing the required parameter 'retailer' when calling organizationsRetailersUpdate");
1270
1218
  }
1271
-
1272
1219
  var pathParams = {
1273
1220
  'id': id
1274
1221
  };
@@ -1282,8 +1229,6 @@ var OrganizationsApi = /*#__PURE__*/function () {
1282
1229
  return this.apiClient.callApi('/organizations/retailers/{id}/', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
1283
1230
  }
1284
1231
  }]);
1285
-
1286
1232
  return OrganizationsApi;
1287
1233
  }();
1288
-
1289
1234
  exports["default"] = OrganizationsApi;