"use strict";
(self["webpackChunkskote"] = self["webpackChunkskote"] || []).push([["src_app_core_services_plataformas_meli-configuracion-usuario_service_ts"],{

/***/ 4355:
/*!*********************************************************************************!*\
  !*** ./src/app/core/services/plataformas/meli-configuracion-usuario.service.ts ***!
  \*********************************************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   MeliConfiguracionUsuarioService: () => (/* binding */ MeliConfiguracionUsuarioService)
/* harmony export */ });
/* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/common/http */ 69862);
/* harmony import */ var _config_service__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../config.service */ 56375);
/* harmony import */ var _auth_service__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../auth.service */ 90304);
/* harmony import */ var _core_api_base_service__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../core/api-base.service */ 78169);
/* harmony import */ var _recursos_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../recursos.service */ 50657);
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/core */ 65879);






class MeliConfiguracionUsuarioService extends _core_api_base_service__WEBPACK_IMPORTED_MODULE_2__.ApiBaseService {
  constructor(http, configService, recursosService, authService) {
    super(http, configService, recursosService, authService);
    this.endpoint = this.url + this.plataformas.MELI_CONFIGURACION_USUARIO.VERSION + this.plataformas.MELI_CONFIGURACION_USUARIO.PATH_BASE;
  }
  getUserId(params, context) {
    let path = this.urlIntegra + this.integra.MELI.GET_USER_ID.VERSION + this.integra.MELI.PATH_BASE + this.integra.MELI.GET_USER_ID.PATH_REL;
    return this.fetch(params, path, context);
  }
  solicitarAutorizacion(params, context) {
    let path = this.urlIntegra + this.integra.MELI.AUTORIZACION.VERSION + this.integra.MELI.PATH_BASE + this.integra.MELI.AUTORIZACION.PATH_REL;
    return this.fetch(params, path, context);
  }
  generarToken(params, context) {
    let path = this.urlIntegra + this.integra.MELI.TOKEN.VERSION + this.integra.MELI.PATH_BASE + this.integra.MELI.TOKEN.PATH_REL;
    return this.nuevo(params, path, context);
  }
  static #_ = this.ɵfac = function MeliConfiguracionUsuarioService_Factory(t) {
    return new (t || MeliConfiguracionUsuarioService)(_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵinject"](_angular_common_http__WEBPACK_IMPORTED_MODULE_5__.HttpClient), _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵinject"](_config_service__WEBPACK_IMPORTED_MODULE_0__.ConfigService), _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵinject"](_recursos_service__WEBPACK_IMPORTED_MODULE_3__.RecursosService), _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵinject"](_auth_service__WEBPACK_IMPORTED_MODULE_1__.AuthService));
  };
  static #_2 = this.ɵprov = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdefineInjectable"]({
    token: MeliConfiguracionUsuarioService,
    factory: MeliConfiguracionUsuarioService.ɵfac,
    providedIn: 'root'
  });
}

/***/ })

}]);