ws-voice-infinity-global-module 1.0.17 → 1.0.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/models.d.ts CHANGED
@@ -135,7 +135,7 @@ interface OktmoDTO extends t.TypeOf<typeof OktmoType> {
135
135
  }
136
136
 
137
137
  declare const ObjectMinType: t.TypeC<{
138
- id: t.StringC;
138
+ id: t.UnionC<[t.StringC, t.NullC]>;
139
139
  name: t.StringC;
140
140
  }>;
141
141
 
@@ -217,7 +217,7 @@ interface MessageStationDTO extends t.TypeOf<typeof MessageStationType> {
217
217
  }
218
218
 
219
219
  declare const DictionaryEntryType: t.TypeC<{
220
- id: t.StringC;
220
+ id: t.UnionC<[t.StringC, t.NullC]>;
221
221
  name: t.StringC;
222
222
  status: t.UnionC<[t.Type<BaseStatusEnum, BaseStatusEnum, unknown>, t.UndefinedC]>;
223
223
  }>;
@@ -1 +1 @@
1
- "use strict";function _typeof(t){"@babel/helpers - typeof";return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function _defineProperties(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function _createClass(t,e,n){return e&&_defineProperties(t.prototype,e),n&&_defineProperties(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function _classCallCheck(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _inherits(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&_setPrototypeOf(t,e)}function _setPrototypeOf(t,e){return(_setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function _createSuper(t){var e=_isNativeReflectConstruct();return function(){var n,o=_getPrototypeOf(t);if(e){var r=_getPrototypeOf(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return _possibleConstructorReturn(this,n)}}function _possibleConstructorReturn(t,e){if(e&&("object"===_typeof(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return _assertThisInitialized(t)}function _assertThisInitialized(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function _getPrototypeOf(t){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function listByIds(t){return MessageStationInternalActions.API_RESOURCE("list/by-ids",_wsReactBaseComponents.WsReactBaseService.GET_METHOD,{ids:t}).then(function(t){return{items:t.items.map(function(t){return _typeService.TypeService.checkElement(_messageStation.MessageStationType,_messageStation.MessageStation,MessageStationInternalActions.ENTITY_CLASS,t)}).filter(function(t){return!!t}),totalCount:t.totalCount}})}function list(t){return MessageStationInternalActions.API_RESOURCE("list",_wsReactBaseComponents.WsReactBaseService.GET_METHOD,t).then(function(t){return{items:t.items.map(function(t){return _typeService.TypeService.checkElement(_messageStation.MessageStationType,_messageStation.MessageStation,MessageStationInternalActions.ENTITY_CLASS,t)}).filter(function(t){return!!t}),totalCount:t.totalCount}})}function listAll(t){return MessageStationInternalActions.API_RESOURCE("list/all",_wsReactBaseComponents.WsReactBaseService.GET_METHOD,t).then(function(t){return{items:t.items.map(function(t){return _typeService.TypeService.checkElement(_messageStation.MessageStationType,_messageStation.MessageStation,MessageStationInternalActions.ENTITY_CLASS,t)}).filter(function(t){return!!t}),totalCount:t.totalCount}})}Object.defineProperty(exports,"__esModule",{value:!0}),exports.MessageStationInternalActions=void 0,exports.list=list,exports.listAll=listAll,exports.listByIds=listByIds;var _wsReactBaseComponents=require("ws-react-base-components"),_globalConfig=require("../config/globalConfig"),_messageStation=require("../models/messageStation"),_typeService=require("../services/typeService"),_baseActions=require("./baseActions"),MessageStationInternalActions=function(t){function e(){return _classCallCheck(this,e),n.apply(this,arguments)}_inherits(e,t);var n=_createSuper(e);return _createClass(e)}(_baseActions.BaseActions);exports.MessageStationInternalActions=MessageStationInternalActions,MessageStationInternalActions.DEFAULT_URL="".concat(_globalConfig.globalConfig.api,"/message-station-service/internal/message-stations/"),MessageStationInternalActions.ENTITY_CLASS="Message Station";
1
+ "use strict";function _typeof(e){"@babel/helpers - typeof";return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function _defineProperties(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function _createClass(e,t,n){return t&&_defineProperties(e.prototype,t),n&&_defineProperties(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _inherits(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&_setPrototypeOf(e,t)}function _setPrototypeOf(e,t){return(_setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function _createSuper(e){var t=_isNativeReflectConstruct();return function(){var n,o=_getPrototypeOf(e);if(t){var r=_getPrototypeOf(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return _possibleConstructorReturn(this,n)}}function _possibleConstructorReturn(e,t){if(t&&("object"===_typeof(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return _assertThisInitialized(e)}function _assertThisInitialized(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _getPrototypeOf(e){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function listByIds(e){return MessageStationInternalActions.HAS_POS_INTEGRATION?Promise.reject():MessageStationInternalActions.API_RESOURCE("list/by-ids",_wsReactBaseComponents.WsReactBaseService.GET_METHOD,{ids:e}).then(function(e){return{items:e.items.map(function(e){return _typeService.TypeService.checkElement(_messageStation.MessageStationType,_messageStation.MessageStation,MessageStationInternalActions.ENTITY_CLASS,e)}).filter(function(e){return!!e}),totalCount:e.totalCount}})}function list(e){return MessageStationInternalActions.HAS_POS_INTEGRATION?Promise.reject():MessageStationInternalActions.API_RESOURCE("list",_wsReactBaseComponents.WsReactBaseService.GET_METHOD,e).then(function(e){return{items:e.items.map(function(e){return _typeService.TypeService.checkElement(_messageStation.MessageStationType,_messageStation.MessageStation,MessageStationInternalActions.ENTITY_CLASS,e)}).filter(function(e){return!!e}),totalCount:e.totalCount}})}function listAll(e){return MessageStationInternalActions.HAS_POS_INTEGRATION?Promise.reject():MessageStationInternalActions.API_RESOURCE("list/all",_wsReactBaseComponents.WsReactBaseService.GET_METHOD,e).then(function(e){return{items:e.items.map(function(e){return _typeService.TypeService.checkElement(_messageStation.MessageStationType,_messageStation.MessageStation,MessageStationInternalActions.ENTITY_CLASS,e)}).filter(function(e){return!!e}),totalCount:e.totalCount}})}Object.defineProperty(exports,"__esModule",{value:!0}),exports.MessageStationInternalActions=void 0,exports.list=list,exports.listAll=listAll,exports.listByIds=listByIds;var _wsReactBaseComponents=require("ws-react-base-components"),_globalConfig=require("../config/globalConfig"),_messageStation=require("../models/messageStation"),_typeService=require("../services/typeService"),_utilService=require("../services/utilService"),_baseActions=require("./baseActions"),MessageStationInternalActions=function(e){function t(){return _classCallCheck(this,t),n.apply(this,arguments)}_inherits(t,e);var n=_createSuper(t);return _createClass(t)}(_baseActions.BaseActions);exports.MessageStationInternalActions=MessageStationInternalActions,MessageStationInternalActions.DEFAULT_URL="".concat(_globalConfig.globalConfig.api,"/message-station-service/internal/message-stations/"),MessageStationInternalActions.ENTITY_CLASS="Message Station",MessageStationInternalActions.HAS_POS_INTEGRATION=_utilService.UtilService.hasPosComplaintIntegration();
@@ -1 +1 @@
1
- "use strict";function _typeof(e){"@babel/helpers - typeof";return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function _getRequireWildcardCache(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(_getRequireWildcardCache=function(e){return e?r:t})(e)}function _interopRequireWildcard(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==_typeof(e)&&"function"!=typeof e)return{"default":e};var r=_getRequireWildcardCache(t);if(r&&r.has(e))return r.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(n,o,a):n[o]=e[o]}return n["default"]=e,r&&r.set(e,n),n}function _defineProperties(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function _createClass(e,t,r){return t&&_defineProperties(e.prototype,t),r&&_defineProperties(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(exports,"__esModule",{value:!0}),exports.DictionaryEntryType=exports.DictionaryEntry=void 0;var t=_interopRequireWildcard(require("io-ts")),_baseStatus=_interopRequireWildcard(require("../enums/baseStatus")),DictionaryEntryType=t["interface"]({id:t.string,name:t.string,status:t.union([_baseStatus.BaseStatusEnumType,t.undefined])});exports.DictionaryEntryType=DictionaryEntryType;var DictionaryEntry=_createClass(function e(t){_classCallCheck(this,e),this.id=t.id,this.name=t.name,t.status&&(this.status=_baseStatus["default"][t.status])});exports.DictionaryEntry=DictionaryEntry;
1
+ "use strict";function _typeof(e){"@babel/helpers - typeof";return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function _getRequireWildcardCache(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(_getRequireWildcardCache=function(e){return e?r:t})(e)}function _interopRequireWildcard(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==_typeof(e)&&"function"!=typeof e)return{"default":e};var r=_getRequireWildcardCache(t);if(r&&r.has(e))return r.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(n,o,a):n[o]=e[o]}return n["default"]=e,r&&r.set(e,n),n}function _defineProperties(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function _createClass(e,t,r){return t&&_defineProperties(e.prototype,t),r&&_defineProperties(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(exports,"__esModule",{value:!0}),exports.DictionaryEntryType=exports.DictionaryEntry=void 0;var t=_interopRequireWildcard(require("io-ts")),_baseStatus=_interopRequireWildcard(require("../enums/baseStatus")),DictionaryEntryType=t["interface"]({id:t.union([t.string,t["null"]]),name:t.string,status:t.union([_baseStatus.BaseStatusEnumType,t.undefined])});exports.DictionaryEntryType=DictionaryEntryType;var DictionaryEntry=_createClass(function e(t){_classCallCheck(this,e),this.id=t.id||"",this.name=t.name,t.status&&(this.status=_baseStatus["default"][t.status])});exports.DictionaryEntry=DictionaryEntry;
@@ -1 +1 @@
1
- "use strict";function _typeof(e){"@babel/helpers - typeof";return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function _getRequireWildcardCache(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(_getRequireWildcardCache=function(e){return e?r:t})(e)}function _interopRequireWildcard(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==_typeof(e)&&"function"!=typeof e)return{"default":e};var r=_getRequireWildcardCache(t);if(r&&r.has(e))return r.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n["default"]=e,r&&r.set(e,n),n}function _defineProperties(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function _createClass(e,t,r){return t&&_defineProperties(e.prototype,t),r&&_defineProperties(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(exports,"__esModule",{value:!0}),exports.ObjectMinType=exports.ObjectMin=void 0;var t=_interopRequireWildcard(require("io-ts")),ObjectMinType=t["interface"]({id:t.string,name:t.string});exports.ObjectMinType=ObjectMinType;var ObjectMin=_createClass(function e(t){_classCallCheck(this,e),this.id=t.id,this.name=t.name});exports.ObjectMin=ObjectMin;
1
+ "use strict";function _typeof(e){"@babel/helpers - typeof";return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function _getRequireWildcardCache(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(_getRequireWildcardCache=function(e){return e?r:t})(e)}function _interopRequireWildcard(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==_typeof(e)&&"function"!=typeof e)return{"default":e};var r=_getRequireWildcardCache(t);if(r&&r.has(e))return r.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n["default"]=e,r&&r.set(e,n),n}function _defineProperties(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function _createClass(e,t,r){return t&&_defineProperties(e.prototype,t),r&&_defineProperties(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(exports,"__esModule",{value:!0}),exports.ObjectMinType=exports.ObjectMin=void 0;var t=_interopRequireWildcard(require("io-ts")),ObjectMinType=t["interface"]({id:t.union([t.string,t["null"]]),name:t.string});exports.ObjectMinType=ObjectMinType;var ObjectMin=_createClass(function e(t){_classCallCheck(this,e),this.id=t.id||"",this.name=t.name});exports.ObjectMin=ObjectMin;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ws-voice-infinity-global-module",
3
- "version": "1.0.17",
3
+ "version": "1.0.18",
4
4
  "description": "ws-voice-infinity-global-module",
5
5
  "repository": {
6
6
  "type": "git",