ws-voice-infinity-global-module 1.0.56 → 1.0.57
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
|
@@ -1328,6 +1328,7 @@ interface IOrganizationRequestDTO extends t.TypeOf<typeof OrganizationRequestTyp
|
|
|
1328
1328
|
|
|
1329
1329
|
declare const VotingEvaluationType: t.TypeC<{
|
|
1330
1330
|
acceptClaim: t.UnionC<[t.BooleanC, t.UndefinedC]>;
|
|
1331
|
+
disableShowOnMap: t.UnionC<[t.BooleanC, t.UndefinedC]>;
|
|
1331
1332
|
id: t.StringC;
|
|
1332
1333
|
name: t.StringC;
|
|
1333
1334
|
description: t.UnionC<[t.StringC, t.NullC]>;
|
|
@@ -1340,6 +1341,7 @@ declare const VotingEvaluationType: t.TypeC<{
|
|
|
1340
1341
|
|
|
1341
1342
|
declare class VotingEvaluation {
|
|
1342
1343
|
acceptClaim: boolean;
|
|
1344
|
+
disableShowOnMap: boolean;
|
|
1343
1345
|
id: string;
|
|
1344
1346
|
name: string;
|
|
1345
1347
|
description: string | null;
|
|
@@ -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 _getRequireWildcardCache(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,i=new WeakMap;return(_getRequireWildcardCache=function(t){return t?i:e})(t)}function _interopRequireWildcard(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==_typeof(t)&&"function"!=typeof t)return{"default":t};var i=_getRequireWildcardCache(e);if(i&&i.has(t))return i.get(t);var n={},
|
|
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 _getRequireWildcardCache(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,i=new WeakMap;return(_getRequireWildcardCache=function(t){return t?i:e})(t)}function _interopRequireWildcard(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==_typeof(t)&&"function"!=typeof t)return{"default":t};var i=_getRequireWildcardCache(e);if(i&&i.has(t))return i.get(t);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in t)if("default"!==r&&Object.prototype.hasOwnProperty.call(t,r)){var a=o?Object.getOwnPropertyDescriptor(t,r):null;a&&(a.get||a.set)?Object.defineProperty(n,r,a):n[r]=t[r]}return n["default"]=t,i&&i.set(t,n),n}function _defineProperties(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,_toPropertyKey(n.key),n)}}function _createClass(t,e,i){return e&&_defineProperties(t.prototype,e),i&&_defineProperties(t,i),Object.defineProperty(t,"prototype",{writable:!1}),t}function _toPropertyKey(t){var e=_toPrimitive(t,"string");return"symbol"===_typeof(e)?e:String(e)}function _toPrimitive(t,e){if("object"!==_typeof(t)||null===t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var n=i.call(t,e||"default");if("object"!==_typeof(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}function _classCallCheck(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(exports,"__esModule",{value:!0}),exports["default"]=exports.VotingEvaluationType=void 0;var t=_interopRequireWildcard(require("io-ts")),_iconStore=_interopRequireWildcard(require("../enums/iconStore")),_votingEvaluationStatus=_interopRequireWildcard(require("../enums/votingEvaluationStatus")),_votingEvaluationType=_interopRequireWildcard(require("../enums/votingEvaluationType")),VotingEvaluationType=t["interface"]({acceptClaim:t.union([t["boolean"],t.undefined]),disableShowOnMap:t.union([t["boolean"],t.undefined]),id:t.string,name:t.string,description:t.union([t.string,t["null"]]),type:_votingEvaluationType.VotingEvaluationTypeEnumType,status:_votingEvaluationStatus.VotingEvaluationStatusEnumType,available:t["boolean"],imageId:t.union([t.string,t["null"]]),icon:t.union([_iconStore.IconStoreEnumType,t["null"]])});exports.VotingEvaluationType=VotingEvaluationType;var VotingEvaluation=_createClass(function e(t){_classCallCheck(this,e),this.acceptClaim=!!t.acceptClaim&&t.acceptClaim,this.disableShowOnMap=!!t.disableShowOnMap&&t.disableShowOnMap,this.id=t.id,this.name=t.name,this.description=t.description,this.type=_votingEvaluationType["default"][t.type],this.status=_votingEvaluationStatus["default"][t.status],this.available=t.available,this.imageId=t.imageId,this.icon=t.icon?_iconStore["default"][t.icon]:null}),_default=VotingEvaluation;exports["default"]=_default;
|