green_link_api 0.49.7 → 0.55.0

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 (103) hide show
  1. package/README.md +33 -36
  2. package/dist/ApiClient.js +3 -6
  3. package/dist/api/BlockchainApi.js +283 -0
  4. package/dist/api/EnergyAssetsApi.js +32 -30
  5. package/dist/api/EnergyDataApi.js +139 -40
  6. package/dist/api/HealthCheckApi.js +2 -2
  7. package/dist/api/LicensedProductionSitesOnEpiasApi.js +2 -2
  8. package/dist/api/LocationsApi.js +9 -9
  9. package/dist/api/MaintenanceCheckApi.js +2 -2
  10. package/dist/api/OrganizationprofilesApi.js +7 -7
  11. package/dist/api/OrganizationsApi.js +31 -31
  12. package/dist/api/SchemaApi.js +2 -2
  13. package/dist/api/SentryDebugApi.js +2 -2
  14. package/dist/api/UploadedfilesApi.js +226 -0
  15. package/dist/api/UsersApi.js +13 -230
  16. package/dist/index.js +105 -41
  17. package/dist/model/BlockchainTransaction.js +172 -0
  18. package/dist/model/Consumer.js +1 -1
  19. package/dist/model/ConsumptionDataFileList.js +1 -1
  20. package/dist/model/ConsumptionDataFromRetailer.js +1 -1
  21. package/dist/model/ConsumptionDataPointCreate.js +11 -11
  22. package/dist/model/ConsumptionDataPointListOrDetail.js +20 -13
  23. package/dist/model/ConsumptionDataPointUpdate.js +11 -11
  24. package/dist/model/ConsumptionSite.js +1 -1
  25. package/dist/model/ConsumptionSiteCreate.js +195 -0
  26. package/dist/model/ConsumptionSiteFileUpload.js +1 -1
  27. package/dist/model/ConsumptionSiteFromRetailer.js +1 -1
  28. package/dist/model/ConsumptionSiteListOrDetail.js +1 -1
  29. package/dist/model/ConsumptionSiteMany.js +1 -1
  30. package/dist/model/ContentTypeEnum.js +54 -0
  31. package/dist/model/EmissionFactor.js +1 -1
  32. package/dist/model/EnergySourcePreference.js +1 -1
  33. package/dist/model/GetFromEpias.js +1 -1
  34. package/dist/model/GridOperator.js +1 -1
  35. package/dist/model/Issuer.js +1 -1
  36. package/dist/model/Location.js +1 -1
  37. package/dist/model/Login.js +1 -1
  38. package/dist/model/MatchRequest.js +1 -1
  39. package/dist/model/MatchedEnergyDataPoint.js +12 -13
  40. package/dist/model/MatchingConsumerRequest.js +1 -1
  41. package/dist/model/MatchingSiteRequest.js +1 -1
  42. package/dist/model/PaginatedConsumerList.js +1 -1
  43. package/dist/model/PaginatedConsumptionDataPointListOrDetailList.js +1 -1
  44. package/dist/model/PaginatedConsumptionSiteListOrDetailList.js +1 -1
  45. package/dist/model/PaginatedEmissionFactorList.js +1 -1
  46. package/dist/model/PaginatedEnergySourcePreferenceList.js +1 -1
  47. package/dist/model/PaginatedGridOperatorList.js +1 -1
  48. package/dist/model/PaginatedIssuerList.js +1 -1
  49. package/dist/model/PaginatedLocationList.js +1 -1
  50. package/dist/model/PaginatedMatchRequestList.js +1 -1
  51. package/dist/model/PaginatedMatchedEnergyDataPointList.js +1 -1
  52. package/dist/model/PaginatedProducerList.js +1 -1
  53. package/dist/model/PaginatedProductionDataFromEpiasRequestList.js +104 -0
  54. package/dist/model/PaginatedProductionDataPointListOrDetailList.js +1 -1
  55. package/dist/model/PaginatedProductionSiteListOrDetailList.js +1 -1
  56. package/dist/model/PaginatedRetailerList.js +1 -1
  57. package/dist/model/PaginatedSmartContractList.js +104 -0
  58. package/dist/model/PaginatedUnprocessedRowList.js +104 -0
  59. package/dist/model/PaginatedUploadedFileList.js +104 -0
  60. package/dist/model/PaginatedUserList.js +1 -1
  61. package/dist/model/PatchedConsumer.js +1 -1
  62. package/dist/model/PatchedConsumptionDataPointUpdate.js +11 -11
  63. package/dist/model/PatchedConsumptionSite.js +1 -1
  64. package/dist/model/PatchedEmissionFactor.js +1 -1
  65. package/dist/model/PatchedEnergySourcePreference.js +1 -1
  66. package/dist/model/PatchedGridOperator.js +1 -1
  67. package/dist/model/PatchedIssuer.js +1 -1
  68. package/dist/model/PatchedLocation.js +1 -1
  69. package/dist/model/PatchedProducer.js +1 -1
  70. package/dist/model/PatchedProductionDataPointUpdate.js +12 -12
  71. package/dist/model/PatchedProductionSiteUpdate.js +2 -1
  72. package/dist/model/PatchedRetailer.js +1 -1
  73. package/dist/model/PatchedSmartContract.js +132 -0
  74. package/dist/model/PatchedUser.js +3 -1
  75. package/dist/model/PatchedUserDetail.js +3 -1
  76. package/dist/model/PriorityEnum.js +6 -0
  77. package/dist/model/Producer.js +1 -1
  78. package/dist/model/ProductionDataFileList.js +1 -1
  79. package/dist/model/ProductionDataFromEpiasRequest.js +167 -0
  80. package/dist/model/ProductionDataPointCreate.js +12 -12
  81. package/dist/model/ProductionDataPointListOrDetail.js +21 -14
  82. package/dist/model/ProductionDataPointUpdate.js +12 -12
  83. package/dist/model/ProductionSite.js +5 -6
  84. package/dist/model/ProductionSiteFileUpload.js +1 -1
  85. package/dist/model/ProductionSiteListOrDetail.js +1 -1
  86. package/dist/model/ProductionSiteUpdate.js +5 -6
  87. package/dist/model/Register.js +8 -5
  88. package/dist/model/Retailer.js +1 -1
  89. package/dist/model/SmartContract.js +137 -0
  90. package/dist/model/{VerifyEmail.js → Token.js} +18 -17
  91. package/dist/model/TypeEnum.js +52 -0
  92. package/dist/model/UnprocessedRow.js +140 -0
  93. package/dist/model/UploadedFile.js +166 -0
  94. package/dist/model/User.js +3 -1
  95. package/dist/model/UserDetail.js +3 -1
  96. package/package.json +1 -1
  97. package/dist/model/JWT.js +0 -103
  98. package/dist/model/PasswordChange.js +0 -100
  99. package/dist/model/PasswordReset.js +0 -79
  100. package/dist/model/PasswordResetConfirm.js +0 -112
  101. package/dist/model/RestAuthDetail.js +0 -75
  102. package/dist/model/TokenRefresh.js +0 -87
  103. package/dist/model/TokenVerify.js +0 -78
@@ -7,36 +7,22 @@ exports["default"] = void 0;
7
7
 
8
8
  var _ApiClient = _interopRequireDefault(require("../ApiClient"));
9
9
 
10
- var _JWT = _interopRequireDefault(require("../model/JWT"));
11
-
12
10
  var _Login = _interopRequireDefault(require("../model/Login"));
13
11
 
14
12
  var _PaginatedUserList = _interopRequireDefault(require("../model/PaginatedUserList"));
15
13
 
16
- var _PasswordChange = _interopRequireDefault(require("../model/PasswordChange"));
17
-
18
- var _PasswordReset = _interopRequireDefault(require("../model/PasswordReset"));
19
-
20
- var _PasswordResetConfirm = _interopRequireDefault(require("../model/PasswordResetConfirm"));
21
-
22
14
  var _PatchedUser = _interopRequireDefault(require("../model/PatchedUser"));
23
15
 
24
16
  var _PatchedUserDetail = _interopRequireDefault(require("../model/PatchedUserDetail"));
25
17
 
26
18
  var _Register = _interopRequireDefault(require("../model/Register"));
27
19
 
28
- var _RestAuthDetail = _interopRequireDefault(require("../model/RestAuthDetail"));
29
-
30
- var _TokenRefresh = _interopRequireDefault(require("../model/TokenRefresh"));
31
-
32
- var _TokenVerify = _interopRequireDefault(require("../model/TokenVerify"));
20
+ var _Token = _interopRequireDefault(require("../model/Token"));
33
21
 
34
22
  var _User = _interopRequireDefault(require("../model/User"));
35
23
 
36
24
  var _UserDetail = _interopRequireDefault(require("../model/UserDetail"));
37
25
 
38
- var _VerifyEmail = _interopRequireDefault(require("../model/VerifyEmail"));
39
-
40
26
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
41
27
 
42
28
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
@@ -48,7 +34,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
48
34
  /**
49
35
  * Users service.
50
36
  * @module api/UsersApi
51
- * @version 0.49.7
37
+ * @version 0.55.0
52
38
  */
53
39
  var UsersApi = /*#__PURE__*/function () {
54
40
  /**
@@ -93,7 +79,7 @@ var UsersApi = /*#__PURE__*/function () {
93
79
  var queryParams = {};
94
80
  var headerParams = {};
95
81
  var formParams = {};
96
- var authNames = ['basicAuth', 'cookieAuth', 'jwtAuth', 'tokenAuth'];
82
+ var authNames = ['jwtAuth', 'tokenAuth'];
97
83
  var contentTypes = [];
98
84
  var accepts = [];
99
85
  var returnType = null;
@@ -158,7 +144,7 @@ var UsersApi = /*#__PURE__*/function () {
158
144
  };
159
145
  var headerParams = {};
160
146
  var formParams = {};
161
- var authNames = ['basicAuth', 'cookieAuth', 'jwtAuth', 'tokenAuth'];
147
+ var authNames = ['jwtAuth', 'tokenAuth'];
162
148
  var contentTypes = [];
163
149
  var accepts = ['application/json'];
164
150
  var returnType = _PaginatedUserList["default"];
@@ -168,7 +154,7 @@ var UsersApi = /*#__PURE__*/function () {
168
154
  * Callback function to receive the result of the usersLoginCreate operation.
169
155
  * @callback module:api/UsersApi~usersLoginCreateCallback
170
156
  * @param {String} error Error message, if any.
171
- * @param {module:model/JWT} data The data returned by the service call.
157
+ * @param {module:model/Token} data The data returned by the service call.
172
158
  * @param {String} response The complete HTTP response.
173
159
  */
174
160
 
@@ -176,7 +162,7 @@ var UsersApi = /*#__PURE__*/function () {
176
162
  * Check the credentials and return the REST Token if the credentials are valid and authenticated. Calls Django Auth login method to register User ID in Django session framework Accept the following POST parameters: username, email, password Note: username can accept both username or email fields Return the REST Framework Token Object's key.
177
163
  * @param {module:model/Login} login
178
164
  * @param {module:api/UsersApi~usersLoginCreateCallback} callback The callback function, accepting three arguments: error, data, response
179
- * data is of type: {@link module:model/JWT}
165
+ * data is of type: {@link module:model/Token}
180
166
  */
181
167
 
182
168
  }, {
@@ -195,7 +181,7 @@ var UsersApi = /*#__PURE__*/function () {
195
181
  var authNames = ['cookieAuth', 'tokenAuth'];
196
182
  var contentTypes = ['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'];
197
183
  var accepts = ['application/json'];
198
- var returnType = _JWT["default"];
184
+ var returnType = _Token["default"];
199
185
  return this.apiClient.callApi('/users/login/', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
200
186
  }
201
187
  /**
@@ -258,114 +244,12 @@ var UsersApi = /*#__PURE__*/function () {
258
244
  var queryParams = {};
259
245
  var headerParams = {};
260
246
  var formParams = {};
261
- var authNames = ['basicAuth', 'cookieAuth', 'jwtAuth', 'tokenAuth'];
247
+ var authNames = ['jwtAuth', 'tokenAuth'];
262
248
  var contentTypes = ['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'];
263
249
  var accepts = ['application/json'];
264
250
  var returnType = _User["default"];
265
251
  return this.apiClient.callApi('/users/{id}/', 'PATCH', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
266
252
  }
267
- /**
268
- * Callback function to receive the result of the usersPasswordChangeCreate operation.
269
- * @callback module:api/UsersApi~usersPasswordChangeCreateCallback
270
- * @param {String} error Error message, if any.
271
- * @param {module:model/RestAuthDetail} data The data returned by the service call.
272
- * @param {String} response The complete HTTP response.
273
- */
274
-
275
- /**
276
- * Calls Django Auth SetPasswordForm save method. Accepts the following POST parameters: new_password1, new_password2 Returns the success/fail message.
277
- * @param {module:model/PasswordChange} passwordChange
278
- * @param {module:api/UsersApi~usersPasswordChangeCreateCallback} callback The callback function, accepting three arguments: error, data, response
279
- * data is of type: {@link module:model/RestAuthDetail}
280
- */
281
-
282
- }, {
283
- key: "usersPasswordChangeCreate",
284
- value: function usersPasswordChangeCreate(passwordChange, callback) {
285
- var postBody = passwordChange; // verify the required parameter 'passwordChange' is set
286
-
287
- if (passwordChange === undefined || passwordChange === null) {
288
- throw new Error("Missing the required parameter 'passwordChange' when calling usersPasswordChangeCreate");
289
- }
290
-
291
- var pathParams = {};
292
- var queryParams = {};
293
- var headerParams = {};
294
- var formParams = {};
295
- var authNames = ['basicAuth', 'cookieAuth', 'jwtAuth', 'tokenAuth'];
296
- var contentTypes = ['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'];
297
- var accepts = ['application/json'];
298
- var returnType = _RestAuthDetail["default"];
299
- return this.apiClient.callApi('/users/password/change/', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
300
- }
301
- /**
302
- * Callback function to receive the result of the usersPasswordResetConfirmCreate operation.
303
- * @callback module:api/UsersApi~usersPasswordResetConfirmCreateCallback
304
- * @param {String} error Error message, if any.
305
- * @param {module:model/RestAuthDetail} data The data returned by the service call.
306
- * @param {String} response The complete HTTP response.
307
- */
308
-
309
- /**
310
- * Password reset e-mail link is confirmed, therefore this resets the user's password. Accepts the following POST parameters: token, uid, new_password1, new_password2 Returns the success/fail message.
311
- * @param {module:model/PasswordResetConfirm} passwordResetConfirm
312
- * @param {module:api/UsersApi~usersPasswordResetConfirmCreateCallback} callback The callback function, accepting three arguments: error, data, response
313
- * data is of type: {@link module:model/RestAuthDetail}
314
- */
315
-
316
- }, {
317
- key: "usersPasswordResetConfirmCreate",
318
- value: function usersPasswordResetConfirmCreate(passwordResetConfirm, callback) {
319
- var postBody = passwordResetConfirm; // verify the required parameter 'passwordResetConfirm' is set
320
-
321
- if (passwordResetConfirm === undefined || passwordResetConfirm === null) {
322
- throw new Error("Missing the required parameter 'passwordResetConfirm' when calling usersPasswordResetConfirmCreate");
323
- }
324
-
325
- var pathParams = {};
326
- var queryParams = {};
327
- var headerParams = {};
328
- var formParams = {};
329
- var authNames = ['basicAuth', 'cookieAuth', 'jwtAuth', 'tokenAuth'];
330
- var contentTypes = ['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'];
331
- var accepts = ['application/json'];
332
- var returnType = _RestAuthDetail["default"];
333
- return this.apiClient.callApi('/users/password/reset/confirm/', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
334
- }
335
- /**
336
- * Callback function to receive the result of the usersPasswordResetCreate operation.
337
- * @callback module:api/UsersApi~usersPasswordResetCreateCallback
338
- * @param {String} error Error message, if any.
339
- * @param {module:model/RestAuthDetail} data The data returned by the service call.
340
- * @param {String} response The complete HTTP response.
341
- */
342
-
343
- /**
344
- * Calls Django Auth PasswordResetForm save method. Accepts the following POST parameters: email Returns the success/fail message.
345
- * @param {module:model/PasswordReset} passwordReset
346
- * @param {module:api/UsersApi~usersPasswordResetCreateCallback} callback The callback function, accepting three arguments: error, data, response
347
- * data is of type: {@link module:model/RestAuthDetail}
348
- */
349
-
350
- }, {
351
- key: "usersPasswordResetCreate",
352
- value: function usersPasswordResetCreate(passwordReset, callback) {
353
- var postBody = passwordReset; // verify the required parameter 'passwordReset' is set
354
-
355
- if (passwordReset === undefined || passwordReset === null) {
356
- throw new Error("Missing the required parameter 'passwordReset' when calling usersPasswordResetCreate");
357
- }
358
-
359
- var pathParams = {};
360
- var queryParams = {};
361
- var headerParams = {};
362
- var formParams = {};
363
- var authNames = ['basicAuth', 'cookieAuth', 'jwtAuth', 'tokenAuth'];
364
- var contentTypes = ['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'];
365
- var accepts = ['application/json'];
366
- var returnType = _RestAuthDetail["default"];
367
- return this.apiClient.callApi('/users/password/reset/', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
368
- }
369
253
  /**
370
254
  * Callback function to receive the result of the usersRegistrationCreate operation.
371
255
  * @callback module:api/UsersApi~usersRegistrationCreateCallback
@@ -394,7 +278,7 @@ var UsersApi = /*#__PURE__*/function () {
394
278
  var queryParams = {};
395
279
  var headerParams = {};
396
280
  var formParams = {};
397
- var authNames = ['basicAuth', 'cookieAuth', 'jwtAuth', 'tokenAuth'];
281
+ var authNames = ['jwtAuth', 'tokenAuth'];
398
282
  var contentTypes = ['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'];
399
283
  var accepts = ['application/json'];
400
284
  var returnType = _Register["default"];
@@ -430,80 +314,12 @@ var UsersApi = /*#__PURE__*/function () {
430
314
  var queryParams = {};
431
315
  var headerParams = {};
432
316
  var formParams = {};
433
- var authNames = ['basicAuth', 'cookieAuth', 'jwtAuth', 'tokenAuth'];
317
+ var authNames = ['jwtAuth', 'tokenAuth'];
434
318
  var contentTypes = [];
435
319
  var accepts = ['application/json'];
436
320
  var returnType = _User["default"];
437
321
  return this.apiClient.callApi('/users/{id}/', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
438
322
  }
439
- /**
440
- * Callback function to receive the result of the usersTokenRefreshCreate operation.
441
- * @callback module:api/UsersApi~usersTokenRefreshCreateCallback
442
- * @param {String} error Error message, if any.
443
- * @param {module:model/TokenRefresh} data The data returned by the service call.
444
- * @param {String} response The complete HTTP response.
445
- */
446
-
447
- /**
448
- * Takes a refresh type JSON web token and returns an access type JSON web token if the refresh token is valid.
449
- * @param {module:model/TokenRefresh} tokenRefresh
450
- * @param {module:api/UsersApi~usersTokenRefreshCreateCallback} callback The callback function, accepting three arguments: error, data, response
451
- * data is of type: {@link module:model/TokenRefresh}
452
- */
453
-
454
- }, {
455
- key: "usersTokenRefreshCreate",
456
- value: function usersTokenRefreshCreate(tokenRefresh, callback) {
457
- var postBody = tokenRefresh; // verify the required parameter 'tokenRefresh' is set
458
-
459
- if (tokenRefresh === undefined || tokenRefresh === null) {
460
- throw new Error("Missing the required parameter 'tokenRefresh' when calling usersTokenRefreshCreate");
461
- }
462
-
463
- var pathParams = {};
464
- var queryParams = {};
465
- var headerParams = {};
466
- var formParams = {};
467
- var authNames = [];
468
- var contentTypes = ['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'];
469
- var accepts = ['application/json'];
470
- var returnType = _TokenRefresh["default"];
471
- return this.apiClient.callApi('/users/token/refresh/', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
472
- }
473
- /**
474
- * Callback function to receive the result of the usersTokenVerifyCreate operation.
475
- * @callback module:api/UsersApi~usersTokenVerifyCreateCallback
476
- * @param {String} error Error message, if any.
477
- * @param {module:model/TokenVerify} data The data returned by the service call.
478
- * @param {String} response The complete HTTP response.
479
- */
480
-
481
- /**
482
- * Takes a token and indicates if it is valid. This view provides no information about a token's fitness for a particular use.
483
- * @param {module:model/TokenVerify} tokenVerify
484
- * @param {module:api/UsersApi~usersTokenVerifyCreateCallback} callback The callback function, accepting three arguments: error, data, response
485
- * data is of type: {@link module:model/TokenVerify}
486
- */
487
-
488
- }, {
489
- key: "usersTokenVerifyCreate",
490
- value: function usersTokenVerifyCreate(tokenVerify, callback) {
491
- var postBody = tokenVerify; // verify the required parameter 'tokenVerify' is set
492
-
493
- if (tokenVerify === undefined || tokenVerify === null) {
494
- throw new Error("Missing the required parameter 'tokenVerify' when calling usersTokenVerifyCreate");
495
- }
496
-
497
- var pathParams = {};
498
- var queryParams = {};
499
- var headerParams = {};
500
- var formParams = {};
501
- var authNames = [];
502
- var contentTypes = ['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'];
503
- var accepts = ['application/json'];
504
- var returnType = _TokenVerify["default"];
505
- return this.apiClient.callApi('/users/token/verify/', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
506
- }
507
323
  /**
508
324
  * Callback function to receive the result of the usersUserDetailsPartialUpdate operation.
509
325
  * @callback module:api/UsersApi~usersUserDetailsPartialUpdateCallback
@@ -529,7 +345,7 @@ var UsersApi = /*#__PURE__*/function () {
529
345
  var queryParams = {};
530
346
  var headerParams = {};
531
347
  var formParams = {};
532
- var authNames = ['basicAuth', 'cookieAuth', 'jwtAuth', 'tokenAuth'];
348
+ var authNames = ['jwtAuth', 'tokenAuth'];
533
349
  var contentTypes = ['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'];
534
350
  var accepts = ['application/json'];
535
351
  var returnType = _UserDetail["default"];
@@ -557,7 +373,7 @@ var UsersApi = /*#__PURE__*/function () {
557
373
  var queryParams = {};
558
374
  var headerParams = {};
559
375
  var formParams = {};
560
- var authNames = ['basicAuth', 'cookieAuth', 'jwtAuth', 'tokenAuth'];
376
+ var authNames = ['jwtAuth', 'tokenAuth'];
561
377
  var contentTypes = [];
562
378
  var accepts = ['application/json'];
563
379
  var returnType = _UserDetail["default"];
@@ -591,45 +407,12 @@ var UsersApi = /*#__PURE__*/function () {
591
407
  var queryParams = {};
592
408
  var headerParams = {};
593
409
  var formParams = {};
594
- var authNames = ['basicAuth', 'cookieAuth', 'jwtAuth', 'tokenAuth'];
410
+ var authNames = ['jwtAuth', 'tokenAuth'];
595
411
  var contentTypes = ['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'];
596
412
  var accepts = ['application/json'];
597
413
  var returnType = _UserDetail["default"];
598
414
  return this.apiClient.callApi('/users/user-details/', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
599
415
  }
600
- /**
601
- * Callback function to receive the result of the usersVerifyEmailCreate operation.
602
- * @callback module:api/UsersApi~usersVerifyEmailCreateCallback
603
- * @param {String} error Error message, if any.
604
- * @param {module:model/VerifyEmail} data The data returned by the service call.
605
- * @param {String} response The complete HTTP response.
606
- */
607
-
608
- /**
609
- * @param {module:model/VerifyEmail} verifyEmail
610
- * @param {module:api/UsersApi~usersVerifyEmailCreateCallback} callback The callback function, accepting three arguments: error, data, response
611
- * data is of type: {@link module:model/VerifyEmail}
612
- */
613
-
614
- }, {
615
- key: "usersVerifyEmailCreate",
616
- value: function usersVerifyEmailCreate(verifyEmail, callback) {
617
- var postBody = verifyEmail; // verify the required parameter 'verifyEmail' is set
618
-
619
- if (verifyEmail === undefined || verifyEmail === null) {
620
- throw new Error("Missing the required parameter 'verifyEmail' when calling usersVerifyEmailCreate");
621
- }
622
-
623
- var pathParams = {};
624
- var queryParams = {};
625
- var headerParams = {};
626
- var formParams = {};
627
- var authNames = ['basicAuth', 'cookieAuth', 'jwtAuth', 'tokenAuth'];
628
- var contentTypes = ['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'];
629
- var accepts = ['application/json'];
630
- var returnType = _VerifyEmail["default"];
631
- return this.apiClient.callApi('/users/verify-email/', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
632
- }
633
416
  }]);
634
417
 
635
418
  return UsersApi;