@serptech/api 1.0.23 → 1.0.24
Sign up to get free protection for your applications and to get access to all the features.
package/package.json
CHANGED
@@ -1035,7 +1035,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) *
|
|
1035
1035
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
1036
1036
|
|
1037
1037
|
"use strict";
|
1038
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Entries\", function() { return Entries; });\n/* harmony import */ var _base_api__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../base/api */ \"./src/base/api.ts\");\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _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); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }\n\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\n\nfunction _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\n\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } else if (call !== void 0) { throw new TypeError(\"Derived constructors may only return object or undefined\"); } return _assertThisInitialized(self); }\n\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }\n\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\n\n\nvar Entries = /*#__PURE__*/function (_Api) {\n _inherits(Entries, _Api);\n\n var _super = _createSuper(Entries);\n\n function Entries(settings) {\n var _this;\n\n _classCallCheck(this, Entries);\n\n _this = _super.call(this, settings);\n _this.getEntries = _this.getEntries.bind(_assertThisInitialized(_this));\n _this.getEntriesStatsByPersonId = _this.getEntriesStatsByPersonId.bind(_assertThisInitialized(_this));\n _this.deleteEntry = _this.deleteEntry.bind(_assertThisInitialized(_this));\n return _this;\n }\n\n _createClass(Entries, [{\n key: \"getEntries\",\n value: function getEntries() {\n var filters = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n\n var getFiltersData = function getFiltersData(_ref) {\n var pid = _ref.pid,\n person_ids = _ref.person_ids,\n spaces_ids = _ref.spaces_ids,\n origin_ids = _ref.origin_ids,\n conf = _ref.conf,\n liveness = _ref.liveness,\n id_from = _ref.id_from,\n date_from = _ref.date_from,\n date_to = _ref.date_to,\n limit = _ref.limit,\n offset = _ref.offset,\n sex = _ref.sex,\n mood = _ref.mood,\n age_from = _ref.age_from,\n age_to = _ref.age_to;\n return {\n pid: pid,\n person_ids: person_ids,\n spaces_ids: spaces_ids,\n origin_ids: origin_ids,\n conf: conf,\n liveness: liveness,\n id_from: id_from,\n date_from: date_from,\n date_to: date_to,\n limit: limit,\n offset: offset,\n sex: sex,\n mood: mood,\n age_from: age_from,\n age_to: age_to\n };\n };\n\n return this.httpClient.get(Entries.apiEndpoint, getFiltersData(filters));\n }\n }, {\n key: \"getEntriesStatsByPersonId\",\n value: function getEntriesStatsByPersonId(person_id) {\n return this.httpClient.get(\"\".concat(Entries.apiEndpoint, \"stats?person_id=\").concat(person_id));\n }\n }, {\n key: \"deleteEntry\",\n value: function deleteEntry(entryId) {\n return this.httpClient[\"delete\"](\"\".concat(Entries.apiEndpoint).concat(entryId
|
1038
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Entries\", function() { return Entries; });\n/* harmony import */ var _base_api__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../base/api */ \"./src/base/api.ts\");\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _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); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }\n\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\n\nfunction _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\n\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } else if (call !== void 0) { throw new TypeError(\"Derived constructors may only return object or undefined\"); } return _assertThisInitialized(self); }\n\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }\n\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\n\n\nvar Entries = /*#__PURE__*/function (_Api) {\n _inherits(Entries, _Api);\n\n var _super = _createSuper(Entries);\n\n function Entries(settings) {\n var _this;\n\n _classCallCheck(this, Entries);\n\n _this = _super.call(this, settings);\n _this.getEntries = _this.getEntries.bind(_assertThisInitialized(_this));\n _this.getEntriesStatsByPersonId = _this.getEntriesStatsByPersonId.bind(_assertThisInitialized(_this));\n _this.deleteEntry = _this.deleteEntry.bind(_assertThisInitialized(_this));\n return _this;\n }\n\n _createClass(Entries, [{\n key: \"getEntries\",\n value: function getEntries() {\n var filters = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n\n var getFiltersData = function getFiltersData(_ref) {\n var pid = _ref.pid,\n person_ids = _ref.person_ids,\n spaces_ids = _ref.spaces_ids,\n origin_ids = _ref.origin_ids,\n conf = _ref.conf,\n liveness = _ref.liveness,\n id_from = _ref.id_from,\n date_from = _ref.date_from,\n date_to = _ref.date_to,\n limit = _ref.limit,\n offset = _ref.offset,\n sex = _ref.sex,\n mood = _ref.mood,\n age_from = _ref.age_from,\n age_to = _ref.age_to;\n return {\n pid: pid,\n person_ids: person_ids,\n spaces_ids: spaces_ids,\n origin_ids: origin_ids,\n conf: conf,\n liveness: liveness,\n id_from: id_from,\n date_from: date_from,\n date_to: date_to,\n limit: limit,\n offset: offset,\n sex: sex,\n mood: mood,\n age_from: age_from,\n age_to: age_to\n };\n };\n\n return this.httpClient.get(Entries.apiEndpoint, getFiltersData(filters));\n }\n }, {\n key: \"getEntriesStatsByPersonId\",\n value: function getEntriesStatsByPersonId(person_id) {\n return this.httpClient.get(\"\".concat(Entries.apiEndpoint, \"stats?person_id=\").concat(person_id));\n }\n }, {\n key: \"deleteEntry\",\n value: function deleteEntry(entryId) {\n return this.httpClient[\"delete\"](\"\".concat(Entries.apiEndpoint).concat(entryId));\n }\n }]);\n\n return Entries;\n}(_base_api__WEBPACK_IMPORTED_MODULE_0__[\"Api\"]);\n\n_defineProperty(Entries, \"apiEndpoint\", \"entries/\");\n\n\n\n//# sourceURL=webpack://SerpREST/./src/serp-rest-api/features/entries/v1/index.ts?");
|
1039
1039
|
|
1040
1040
|
/***/ }),
|
1041
1041
|
|
@@ -791,7 +791,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) *
|
|
791
791
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
792
792
|
|
793
793
|
"use strict";
|
794
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Entries\", function() { return Entries; });\n/* harmony import */ var _base_api__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../base/api */ \"./src/base/api.ts\");\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _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); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }\n\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\n\nfunction _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\n\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } else if (call !== void 0) { throw new TypeError(\"Derived constructors may only return object or undefined\"); } return _assertThisInitialized(self); }\n\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }\n\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\n\n\nvar Entries = /*#__PURE__*/function (_Api) {\n _inherits(Entries, _Api);\n\n var _super = _createSuper(Entries);\n\n function Entries(settings) {\n var _this;\n\n _classCallCheck(this, Entries);\n\n _this = _super.call(this, settings);\n _this.getEntries = _this.getEntries.bind(_assertThisInitialized(_this));\n _this.getEntriesStatsByPersonId = _this.getEntriesStatsByPersonId.bind(_assertThisInitialized(_this));\n _this.deleteEntry = _this.deleteEntry.bind(_assertThisInitialized(_this));\n return _this;\n }\n\n _createClass(Entries, [{\n key: \"getEntries\",\n value: function getEntries() {\n var filters = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n\n var getFiltersData = function getFiltersData(_ref) {\n var pid = _ref.pid,\n person_ids = _ref.person_ids,\n spaces_ids = _ref.spaces_ids,\n origin_ids = _ref.origin_ids,\n conf = _ref.conf,\n liveness = _ref.liveness,\n id_from = _ref.id_from,\n date_from = _ref.date_from,\n date_to = _ref.date_to,\n limit = _ref.limit,\n offset = _ref.offset,\n sex = _ref.sex,\n mood = _ref.mood,\n age_from = _ref.age_from,\n age_to = _ref.age_to;\n return {\n pid: pid,\n person_ids: person_ids,\n spaces_ids: spaces_ids,\n origin_ids: origin_ids,\n conf: conf,\n liveness: liveness,\n id_from: id_from,\n date_from: date_from,\n date_to: date_to,\n limit: limit,\n offset: offset,\n sex: sex,\n mood: mood,\n age_from: age_from,\n age_to: age_to\n };\n };\n\n return this.httpClient.get(Entries.apiEndpoint, getFiltersData(filters));\n }\n }, {\n key: \"getEntriesStatsByPersonId\",\n value: function getEntriesStatsByPersonId(person_id) {\n return this.httpClient.get(\"\".concat(Entries.apiEndpoint, \"stats?person_id=\").concat(person_id));\n }\n }, {\n key: \"deleteEntry\",\n value: function deleteEntry(entryId) {\n return this.httpClient.delete(\"\".concat(Entries.apiEndpoint).concat(entryId
|
794
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Entries\", function() { return Entries; });\n/* harmony import */ var _base_api__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../base/api */ \"./src/base/api.ts\");\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _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); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }\n\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\n\nfunction _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\n\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } else if (call !== void 0) { throw new TypeError(\"Derived constructors may only return object or undefined\"); } return _assertThisInitialized(self); }\n\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }\n\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\n\n\nvar Entries = /*#__PURE__*/function (_Api) {\n _inherits(Entries, _Api);\n\n var _super = _createSuper(Entries);\n\n function Entries(settings) {\n var _this;\n\n _classCallCheck(this, Entries);\n\n _this = _super.call(this, settings);\n _this.getEntries = _this.getEntries.bind(_assertThisInitialized(_this));\n _this.getEntriesStatsByPersonId = _this.getEntriesStatsByPersonId.bind(_assertThisInitialized(_this));\n _this.deleteEntry = _this.deleteEntry.bind(_assertThisInitialized(_this));\n return _this;\n }\n\n _createClass(Entries, [{\n key: \"getEntries\",\n value: function getEntries() {\n var filters = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n\n var getFiltersData = function getFiltersData(_ref) {\n var pid = _ref.pid,\n person_ids = _ref.person_ids,\n spaces_ids = _ref.spaces_ids,\n origin_ids = _ref.origin_ids,\n conf = _ref.conf,\n liveness = _ref.liveness,\n id_from = _ref.id_from,\n date_from = _ref.date_from,\n date_to = _ref.date_to,\n limit = _ref.limit,\n offset = _ref.offset,\n sex = _ref.sex,\n mood = _ref.mood,\n age_from = _ref.age_from,\n age_to = _ref.age_to;\n return {\n pid: pid,\n person_ids: person_ids,\n spaces_ids: spaces_ids,\n origin_ids: origin_ids,\n conf: conf,\n liveness: liveness,\n id_from: id_from,\n date_from: date_from,\n date_to: date_to,\n limit: limit,\n offset: offset,\n sex: sex,\n mood: mood,\n age_from: age_from,\n age_to: age_to\n };\n };\n\n return this.httpClient.get(Entries.apiEndpoint, getFiltersData(filters));\n }\n }, {\n key: \"getEntriesStatsByPersonId\",\n value: function getEntriesStatsByPersonId(person_id) {\n return this.httpClient.get(\"\".concat(Entries.apiEndpoint, \"stats?person_id=\").concat(person_id));\n }\n }, {\n key: \"deleteEntry\",\n value: function deleteEntry(entryId) {\n return this.httpClient.delete(\"\".concat(Entries.apiEndpoint).concat(entryId));\n }\n }]);\n\n return Entries;\n}(_base_api__WEBPACK_IMPORTED_MODULE_0__[\"Api\"]);\n\n_defineProperty(Entries, \"apiEndpoint\", \"entries/\");\n\n\n\n//# sourceURL=webpack://SerpREST/./src/serp-rest-api/features/entries/v1/index.ts?");
|
795
795
|
|
796
796
|
/***/ }),
|
797
797
|
|
@@ -63,7 +63,7 @@ class Entries extends Api implements EntriesInterface {
|
|
63
63
|
}
|
64
64
|
|
65
65
|
deleteEntry(entryId: id): Promise<null> {
|
66
|
-
return this.httpClient.delete(`${Entries.apiEndpoint}${entryId}
|
66
|
+
return this.httpClient.delete(`${Entries.apiEndpoint}${entryId}`);
|
67
67
|
}
|
68
68
|
}
|
69
69
|
|