opengate-js 14.7.2 → 14.8.1
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/bower.json +1 -1
- package/dist/{opengate-api-bower-14.7.2.js → opengate-api-bower-14.8.1.js} +9 -12
- package/dist/opengate-api-bower-14.8.1.js.map +1 -0
- package/dist/{opengate-api-bower-14.7.2.min.js → opengate-api-bower-14.8.1.min.js} +2 -2
- package/dist/{opengate-api-bower-14.7.2.min.js.map → opengate-api-bower-14.8.1.min.js.map} +1 -1
- package/dist/src/searching/StaticSearch.js +0 -3
- package/dist/src/searching/StaticSearch.js.map +1 -1
- package/dist/src/timeseries/Timeseries.js +4 -4
- package/dist/src/timeseries/Timeseries.js.map +1 -1
- package/docs/ast/source/searching/StaticSearch.js.json +31292 -31687
- package/docs/ast/source/timeseries/Timeseries.js.json +835 -1443
- package/docs/dump.json +2 -2
- package/docs/file/src/searching/StaticSearch.js.html +0 -4
- package/docs/file/src/timeseries/Timeseries.js.html +4 -4
- package/docs/package.json +1 -1
- package/docs/source.html +235 -235
- package/package.json +1 -1
- package/src/searching/StaticSearch.js +0 -4
- package/src/timeseries/Timeseries.js +4 -4
- package/dist/opengate-api-bower-14.7.2.js.map +0 -1
package/docs/dump.json
CHANGED
|
@@ -54977,7 +54977,7 @@
|
|
|
54977
54977
|
"__docId__": 2047,
|
|
54978
54978
|
"kind": "file",
|
|
54979
54979
|
"name": "src/searching/StaticSearch.js",
|
|
54980
|
-
"content": "'use strict';\n\nimport Search from './Search';\nimport q from 'q';\n\n\n/**\n * This extends Search and it allow make request to any available resource into static resources for Opengate North API\n */\nexport default class StaticSearch extends Search {\n\n /**\n * @param {!InternalOpenGateAPI} ogapi - this is configuration about Opengate North API.\n * @param {!string} url - this define a specific resource to make the search\n * @param {object} filter - this is the filter\n */\n constructor(ogapi, url, filter, timeout, contentType, customFilters) {\n super(ogapi, '/catalog' + url, filter, null, null, timeout);\n this._contentType = contentType;\n this._customFilters = customFilters;\n }\n\n\n /**\n * This invoke a dummy request to OpenGate North API and the callback is managed by promises\n * @return {Promise}\n * @property {function (result:object, statusCode:number)} then - When request it is OK\n * @property {function (error:string)} catch - When request it is NOK\n */\n execute() {\n var _this = this;\n var finalContent = [];\n\n var ENTITY_TYPE = 'entityType';\n var TYPE = 'type';\n\n var defered = q.defer();\n var promise = defered.promise;\n\n //recuperamos el catalogo pedido\n var content = _this._content(_this._contentType);\n //algunos catalogos van en función del tipo de entidad. Recuperamos la entidad por la que filtrar\n var entityType = _this._customFilters && _this._customFilters[ENTITY_TYPE];\n\n //A parte del tipo de entidad, recuperamos el resto de filtros\n var count_filters = Object.keys(_this._customFilters).length;\n var isFilter = count_filters > 1 || (count_filters === 1 && !entityType);\n\n //Objeto donde se guardaran los objetos recuperados del primer prefiltro - por tipo de entidad\n var collection = {};\n if (entityType) {\n collection[entityType] = content[entityType];\n } else {\n collection = content;\n }\n\n\n switch (_this._contentType) {\n case 'operationalStatus':\n for (var contentTmp in collection) {\n collection[contentTmp].forEach(function(finalValue) {\n if (!_this._customFilters.id || (_this._customFilters.id && _this._customFilters.id === finalValue)) {\n finalContent.push({\n 'entityType': contentTmp,\n 'id': finalValue\n });\n }\n });\n }\n break;\n case 'administrativeState':\n var createAndAddFileObj = function(obj) {\n var finalObj = obj;\n finalObj[ENTITY_TYPE] = entityTypeTmp;\n finalContent.push(finalObj);\n };\n for (var entityTypeTmp in collection) {\n var typeTmp = collection[entityTypeTmp];\n for (var dataTmp in typeTmp) {\n if (isFilter) {\n for (var filterTmp in _this._customFilters) {\n if (typeTmp[dataTmp][filterTmp] === _this._customFilters[filterTmp]) {\n createAndAddFileObj(typeTmp[dataTmp]);\n break;\n }\n }\n } else {\n createAndAddFileObj(typeTmp[dataTmp]);\n }\n }\n }\n break;\n case 'fieldsDefinition':\n case 'communicationsModuleType':\n //Solo filtramos por tipo de modulo de comunicaciones o tipo de field\n var filter = isFilter && _this._customFilters[TYPE];\n if (typeof filter === 'undefined') {\n defered.resolve({\n error: 'Filters not allowed',\n statusCode: 400\n });\n break;\n }\n var result = filter ? collection[filter] : collection;\n finalContent = result;\n break;\n case 'userProfile':\n for (var profileTmp in collection) {\n if (!_this._customFilters.id || (_this._customFilters.id && _this._customFilters.id === profileTmp)) {\n if (collection[profileTmp].length > 0) {\n finalContent.push({\n 'id': profileTmp,\n 'managed': collection[profileTmp]\n });\n }\n }\n }\n break;\n case 'serviceGroups':\n if (entityType) {\n finalContent = collection[entityType];\n }\n break;\n case 'allowedResourceType':\n for (var resourceTypeIdx in collection) {\n if (!_this._customFilters.type || (_this._customFilters.type && collection[resourceTypeIdx].types.indexOf(_this._customFilters.type) > -1)) {\n finalContent.push(collection[resourceTypeIdx].resourceType);\n }\n }\n break;\n case 'ticketSeverity':\n case 'ticketPriority':\n case 'ticketStatus':\n case 'ruleConfigurationSeverity':\n case 'ruleMode':\n case 'ruleType':\n case 'ioTDatastreamPeriod':\n case 'ioTDatastreamAccess':\n case 'resourceType':\n case 'countryCodes':\n case 'timezones':\n case 'userLanguages':\n case 'ioTDatastreamStoragePeriod':\n {\n if (filter) {\n defered.resolve({\n error: 'Filters not supported',\n statuscode: 400\n });\n break;\n }\n finalContent = finalContent.concat(collection);\n break;\n }\n default:\n //No existe el catalogo\n defered.resolve({\n data: {},\n statusCode: 400\n });\n }\n if (finalContent && Object.keys(finalContent).length > 0) {\n var resultContent = {};\n resultContent[_this._contentType] = finalContent;\n defered.resolve({\n data: resultContent,\n statusCode: 200\n });\n } else {\n //Existe el catalogo pero no hay datos\n defered.resolve({\n data: {},\n statusCode: 204\n });\n }\n\n return promise;\n }\n\n _content(contentType) {\n return {\n 'ticketSeverity': [\n 'CRITICAL', 'URGENT', 'WARNING', 'NORMAL'\n ],\n 'ticketPriority': [\n 'MAJOR', 'MINOR', 'CRITICAL', 'BLOCKER'\n ],\n 'ticketStatus': [\n 'CREATED',\n 'ASSIGNED',\n 'ANSWERED',\n 'RESTORED',\n 'RESOLVED',\n 'CLOSED'\n ],\n 'serviceGroups': {\n 'ASSET': ['noUpdate',\n 'emptyServiceGroup',\n 'emptyServiceGroup_onSession',\n 'emptyServiceGroup_onDemand',\n 'level1SecurityServiceGroup',\n 'level2SecurityServiceGroup',\n 'level3SecurityServiceGroup',\n 'trustedNoneSecurityServiceGroup',\n 'trustedNoneSecurityServiceGroup_onDemand',\n 'trustedLevel1SecurityServiceGroup',\n 'trustedLevel2SecurityServiceGroup',\n 'trustedLevel3SecurityServiceGroup'\n ],\n 'SUBSCRIBER': ['emptyServiceGroup'],\n 'SUBSCRIPTION': ['emptyServiceGroup'],\n 'GATEWAY': ['noUpdate',\n 'emptyServiceGroup',\n 'emptyServiceGroup_onSession',\n 'emptyServiceGroup_onDemand',\n 'level1SecurityServiceGroup',\n 'level2SecurityServiceGroup',\n 'level3SecurityServiceGroup',\n 'trustedNoneSecurityServiceGroup',\n 'trustedNoneSecurityServiceGroup_onDemand',\n 'trustedLevel1SecurityServiceGroup',\n 'trustedLevel2SecurityServiceGroup',\n 'trustedLevel3SecurityServiceGroup'\n ]\n },\n 'administrativeState': {\n 'ASSET': [{\n 'id': 'BANNED',\n 'description': 'Asset banned, It means that received information of this asset is not going to be collected'\n }, {\n 'id': 'DELETED',\n 'description': 'Asset removed from available stock'\n }, {\n 'id': 'IN_MAINTENANCE',\n 'description': 'Asset in maintenance'\n }, {\n 'id': 'IN_STOCK',\n 'description': 'Asset in stock'\n }, {\n 'id': 'IN_TRANSIT',\n 'description': 'Asset in transit'\n }, {\n 'id': 'IN_USE',\n 'description': 'Asset in use'\n }, {\n 'id': 'MISSING',\n 'description': 'Asset missing'\n }, {\n 'id': 'ORDERED',\n 'description': 'Asset ordered'\n }, {\n 'id': 'READY',\n 'description': 'Asset ready for installation'\n }, {\n 'id': 'RETIRED',\n 'description': 'Field entity withdrawal'\n }],\n 'GATEWAY': [{\n 'id': 'REQUESTED',\n 'description': 'Entity requested to the supplier'\n }, {\n 'id': 'READY',\n 'description': 'Entity ready for installation'\n }, {\n 'id': 'REPAIR',\n 'description': 'Entity under repair'\n }, {\n 'id': 'TESTING',\n 'description': 'Entity in tests'\n }, {\n 'id': 'ACTIVE',\n 'description': 'Field deployed entity'\n }, {\n 'id': 'SUSPENDED',\n 'description': 'Suspended its operation'\n }, {\n 'id': 'DELETED',\n 'description': 'Entity removed from available stock'\n }, {\n 'id': 'RETIRED',\n 'description': 'Field entity withdrawal'\n }, {\n 'id': 'BANNED',\n 'description': 'Entity banned, It means that received information of this entity is not going to be collected'\n }],\n 'COMMUNICATIONS_MODULE': [{\n 'id': 'REQUESTED',\n 'description': 'Entity requested to the supplier'\n }, {\n 'id': 'READY',\n 'description': 'Entity ready for installation'\n }, {\n 'id': 'REPAIR',\n 'description': 'Entity under repair'\n }, {\n 'id': 'TESTING',\n 'description': 'Entity in tests'\n }, {\n 'id': 'ACTIVE',\n 'description': 'Field deployed entity'\n }, {\n 'id': 'SUSPENDED',\n 'description': 'Suspended its operation'\n }, {\n 'id': 'DELETED',\n 'description': 'Entity removed from available stock'\n }, {\n 'id': 'RETIRED',\n 'description': 'Field entity withdrawal'\n }, {\n 'id': 'BANNED',\n 'description': 'Entity banned, It means that received information of this entity is not going to be collected'\n }],\n 'SUBSCRIBER': [{\n 'id': 'REQUESTED',\n 'description': 'Entity requested to the supplier'\n }, {\n 'id': 'READY',\n 'description': 'Entity ready for installation'\n }, {\n 'id': 'REPAIR',\n 'description': 'Entity under repair'\n }, {\n 'id': 'TESTING',\n 'description': 'Entity in tests'\n }, {\n 'id': 'ACTIVE',\n 'description': 'Field deployed entity'\n }, {\n 'id': 'SUSPENDED',\n 'description': 'Suspended its operation'\n }, {\n 'id': 'DELETED',\n 'description': 'Entity removed from available stock'\n }, {\n 'id': 'RETIRED',\n 'description': 'Field entity withdrawal'\n }, {\n 'id': 'BANNED',\n 'description': 'Entity banned, It means that received information of this entity is not going to be collected'\n }],\n 'SUBSCRIPTION': [{\n 'id': 'REQUESTED',\n 'description': 'Entity requested to the supplier'\n }, {\n 'id': 'READY',\n 'description': 'Entity ready for installation'\n }, {\n 'id': 'REPAIR',\n 'description': 'Entity under repair'\n }, {\n 'id': 'TESTING',\n 'description': 'Entity in tests'\n }, {\n 'id': 'ACTIVE',\n 'description': 'Field deployed entity'\n }, {\n 'id': 'SUSPENDED',\n 'description': 'Suspended its operation'\n }, {\n 'id': 'DELETED',\n 'description': 'Entity removed from available stock'\n }, {\n 'id': 'RETIRED',\n 'description': 'Field entity withdrawal'\n }, {\n 'id': 'BANNED',\n 'description': 'Entity banned, It means that received information of this entity is not going to be collected'\n }],\n 'CERTIFICATE': [{\n 'id': 'NOT_ACTIVE',\n 'description': 'NOT_ACTIVE'\n }, {\n 'id': 'ACTIVE',\n 'description': 'ACTIVE'\n }, {\n 'id': 'REVOKED',\n 'description': 'REVOKED'\n }, {\n 'id': 'EXPIRED',\n 'description': 'EXPIRED'\n }]\n },\n 'operationalStatus': {\n 'ASSET': ['UNKNOWN', 'NORMAL', 'ALARM', 'DOWN', 'SAFE_MODE', 'TAMPER', 'TEST'],\n 'GATEWAY': ['UNKNOWN', 'NORMAL', 'ALARM', 'DOWN', 'SAFE_MODE', 'TAMPER', 'TEST'],\n 'COMMUNICATIONS_MODULE': ['UNKNOWN', 'STOPPED', 'STARTING', 'RUNNING', 'STOPPING', 'ERROR']\n },\n 'communicationsModuleType': {\n 'ADSL': {\n 'COMMUNICATIONS_MODULE': {\n 'mandatory': ['generatedEntityKey'],\n 'optional': ['IMEI', 'HARDWARE', 'SOFTWARE']\n },\n 'SUBSCRIPTION': {\n 'mandatory': [],\n 'optional': ['generatedEntityKey', 'subscriptionName', 'administrativeState', 'description', 'ADDRESS', 'HOME_OPERATOR', 'LOCATION']\n }\n },\n 'CAN': {\n 'COMMUNICATIONS_MODULE': {\n 'mandatory': ['entityKey'],\n 'optional': []\n }\n },\n 'ETH': {\n 'COMMUNICATIONS_MODULE': {\n 'mandatory': ['generatedEntityKey'],\n 'optional': ['HARDWARE', 'SOFTWARE']\n },\n 'SUBSCRIPTION': {\n 'mandatory': ['generatedEntityKey'],\n 'optional': ['subscriptionName', 'description', 'administrativeState', 'ADDRESS']\n }\n },\n 'GENERIC': {\n 'COMMUNICATIONS_MODULE': {\n 'mandatory': ['generatedEntityKey'],\n 'optional': ['IMEI', 'HARDWARE', 'SOFTWARE']\n },\n 'SUBSCRIPTION': {\n 'mandatory': [],\n 'optional': ['generatedEntityKey', 'subscriptionName', 'description', 'administrativeState', 'IMSI', 'ADDRESS', 'HOME_OPERATOR', 'REGISTER_OPERATOR', 'MSISDN', 'LOCATION']\n },\n 'SUBSCRIBER': {\n 'mandatory': [],\n 'optional': ['generatedEntityKey', 'subscriberName', 'description', 'administrativeState', 'ICC', 'SERIAL_NUMBER']\n }\n },\n 'GSM': {\n 'COMMUNICATIONS_MODULE': {\n 'mandatory': ['generatedEntityKey'],\n 'optional': ['IMEI', 'HARDWARE', 'SOFTWARE']\n },\n 'SUBSCRIPTION': {\n 'mandatory': [],\n 'optional': ['generatedEntityKey', 'subscriptionName', 'description', 'administrativeState', 'IMSI', 'ADDRESS', 'HOME_OPERATOR', 'REGISTER_OPERATOR', 'MSISDN', 'LOCATION']\n },\n 'SUBSCRIBER': {\n 'mandatory': [],\n 'optional': ['generatedEntityKey', 'subscriberName', 'description', 'administrativeState', 'ICC']\n }\n },\n 'HAN': {\n 'COMMUNICATIONS_MODULE': {\n 'mandatory': ['entityKey'],\n 'optional': []\n }\n },\n 'I2C': {\n 'COMMUNICATIONS_MODULE': {\n 'mandatory': ['entityKey'],\n 'optional': []\n }\n },\n 'LOWPAN': {\n 'COMMUNICATIONS_MODULE': {\n 'mandatory': ['generatedEntityKey'],\n 'optional': ['HARDWARE', 'SOFTWARE']\n },\n 'SUBSCRIPTION': {\n 'mandatory': ['generatedEntityKey'],\n 'optional': ['administrativeState', 'subscriptionName', 'description']\n }\n },\n 'LTE_M': {\n 'COMMUNICATIONS_MODULE': {\n 'mandatory': ['generatedEntityKey'],\n 'optional': ['IMEI', 'HARDWARE', 'SOFTWARE']\n },\n 'SUBSCRIPTION': {\n 'mandatory': [],\n 'optional': ['generatedEntityKey', 'subscriptionName', 'administrativeState', 'description', 'IMSI', 'ADDRESS', 'HOME_OPERATOR', 'REGISTER_OPERATOR', 'MSISDN', 'LOCATION', 'RADIUS_USERNAME', 'RADIUS_PASSWORD', 'RADIUS_FRAMED_IP_NETMASK', 'MSISDN_VOICE']\n },\n 'SUBSCRIBER': {\n 'mandatory': [],\n 'optional': ['generatedEntityKey', 'subscriberName', 'administrativeState', 'description', 'ICC']\n }\n },\n 'MESH': {\n 'COMMUNICATIONS_MODULE': {\n 'mandatory': ['generatedEntityKey'],\n 'optional': ['HARDWARE', 'SOFTWARE']\n }\n },\n 'MOBILE': {\n 'COMMUNICATIONS_MODULE': {\n 'mandatory': ['generatedEntityKey'],\n 'optional': ['IMEI', 'HARDWARE', 'SOFTWARE']\n },\n 'SUBSCRIPTION': {\n 'mandatory': [],\n 'optional': ['generatedEntityKey', 'subscriptionName', 'administrativeState', 'description', 'IMSI', 'ADDRESS', 'HOME_OPERATOR', 'REGISTER_OPERATOR', 'MSISDN', 'LOCATION', 'RADIUS_USERNAME', 'RADIUS_PASSWORD', 'RADIUS_FRAMED_IP_NETMASK', 'MSISDN_VOICE', 'SUBSCRIPTION_ICC']\n },\n 'SUBSCRIBER': {\n 'mandatory': [],\n 'optional': ['generatedEntityKey', 'subscriberName', 'administrativeState', 'description', 'ICC']\n }\n },\n 'MULTIMOBILE': {\n 'COMMUNICATIONS_MODULE': {\n 'mandatory': ['generatedEntityKey'],\n 'optional': ['IMEI', 'HARDWARE', 'SOFTWARE']\n },\n 'SUBSCRIPTION': {\n 'mandatory': [],\n 'optional': ['generatedEntityKey', 'subscriptionName', 'administrativeState', 'description', 'IMSI', 'ADDRESS', 'HOME_OPERATOR', 'REGISTER_OPERATOR', 'MSISDN', 'LOCATION', 'RADIUS_USERNAME', 'RADIUS_PASSWORD', 'RADIUS_FRAMED_IP_NETMASK', 'MSISDN_VOICE', 'SUBSCRIPTION_ICC']\n },\n 'SUBSCRIBER': {\n 'mandatory': [],\n 'optional': ['generatedEntityKey', 'subscriberName', 'administrativeState', 'description', 'ICC']\n }\n },\n 'NARROWBAND': {\n 'COMMUNICATIONS_MODULE': {\n 'mandatory': ['generatedEntityKey'],\n 'optional': ['IMEI', 'HARDWARE', 'SOFTWARE']\n },\n 'SUBSCRIPTION': {\n 'mandatory': [],\n 'optional': ['generatedEntityKey', 'administrativeState', 'subscriptionName', 'description', 'IMSI', 'ADDRESS', 'HOME_OPERATOR', 'REGISTER_OPERATOR', 'LOCATION']\n },\n 'SUBSCRIBER': {\n 'mandatory': [],\n 'optional': ['generatedEntityKey', 'administrativeState', 'subscriberName', 'description', 'ICC']\n }\n },\n 'PLC': {\n 'COMMUNICATIONS_MODULE': {\n 'mandatory': ['generatedEntityKey'],\n 'optional': ['HARDWARE', 'SOFTWARE']\n },\n 'SUBSCRIPTION': {\n 'mandatory': ['generatedEntityKey'],\n 'optional': ['administrativeState', 'subscriptionName', 'description']\n }\n },\n 'RS232': {\n 'COMMUNICATIONS_MODULE': {\n 'mandatory': ['entityKey'],\n 'optional': []\n }\n },\n 'RS422': {\n 'COMMUNICATIONS_MODULE': {\n 'mandatory': ['entityKey'],\n 'optional': []\n }\n },\n 'RS485': {\n 'COMMUNICATIONS_MODULE': {\n 'mandatory': ['entityKey'],\n 'optional': []\n }\n },\n 'SIGFOX': {\n 'COMMUNICATIONS_MODULE': {\n 'mandatory': ['entityKey'],\n 'optional': ['PAC']\n },\n 'SUBSCRIPTION': {\n 'mandatory': ['generatedEntityKey', 'subscriptionName', 'HOME_OPERATOR', 'administrativeState', 'description', 'SIGFOX_DEVICE_TYPE']\n }\n },\n 'ZIGBEE': {\n 'COMMUNICATIONS_MODULE': {\n 'mandatory': ['generatedEntityKey'],\n 'optional': ['HARDWARE', 'SOFTWARE']\n },\n 'SUBSCRIPTION': {\n 'mandatory': ['generatedEntityKey'],\n 'optional': ['administrativeState', 'subscriptionName', 'description']\n }\n }\n },\n 'ruleMode': [\n 'EASY',\n 'ADVANCED'\n ],\n 'ruleType': [\n 'DATASTREAM',\n 'OPERATION',\n 'EVENT'\n ],\n 'ruleConfigurationSeverity': [\n 'INFORMATIVE',\n 'URGENT',\n 'CRITICAL'\n ],\n 'userProfile': {\n 'root': ['admin_domain', 'admin', 'advanced', 'viewer', 'super_admin_domain'],\n 'super_admin_domain': ['admin_domain', 'admin', 'advanced', 'viewer'],\n 'admin_domain': ['admin_domain', 'admin', 'advanced', 'viewer'],\n 'admin': ['admin', 'advanced', 'viewer'],\n 'advanced': [],\n 'viewer': []\n },\n 'ioTDatastreamAccess': [\n 'READ',\n 'WRITE'\n ],\n 'ioTDatastreamStoragePeriod': [\n 'SECONDS', 'MINUTES', 'HOURS', 'DAYS', 'MONTHS', 'YEARS', 'NEVER'\n ],\n 'ioTDatastreamPeriod': [\n 'PULSE',\n 'CUMULATIVE',\n 'INSTANT'\n ],\n 'resourceType': [{\n identifier: 'entity.asset'\n }, {\n identifier: 'entity.device'\n },\n {\n identifier: 'entity.subscriber',\n },\n {\n identifier: 'entity.subscription',\n },\n {\n identifier: 'ticket'\n }],\n 'allowedResourceType': [{\n resourceType: 'entity.asset',\n types: ['entity', 'asset']\n },\n {\n resourceType: 'entity.device',\n types: ['entity', 'device']\n },\n {\n resourceType: 'entity.subscriber',\n types: ['entity', 'subscriber']\n },\n {\n resourceType: 'entity.subscription',\n types: ['entity', 'subscription']\n },\n {\n resourceType: 'ticket',\n types: ['ticket']\n },\n {\n resourceType: 'organization',\n types: ['organization']\n },\n {\n resourceType: 'channel',\n types: ['channel']\n }\n ],\n 'fieldsDefinition': {\n 'string': {\n 'description': 'Text based value',\n 'subtype': ['text', 'password']\n },\n 'boolean': {\n 'description': 'Boolean based value',\n 'subtype': []\n },\n 'calendar': {\n 'description': 'Format is described in the ISO 8601 or in http://www.w3.org/TR/NOTE-datetime',\n 'subtype': ['datetime', 'date', 'time']\n },\n 'address': {\n 'description': 'Network address value',\n 'subtype': ['ip', 'ipv4', 'ipv6', 'mac48']\n },\n 'number': {\n 'description': 'Numeric value',\n 'subtype': ['integer', 'float', 'percentage']\n },\n 'enumeration': {\n 'description': 'Choice list values',\n 'subtype': ['string', 'number']\n },\n 'array': {\n 'description': 'Array of values',\n 'subtype': ['string', 'number']\n },\n 'coordinates': {\n 'description': 'Object indicating coordinates and timestamp in geotime subtype',\n 'subtype': ['geo', 'geotime', 'geojson']\n },\n 'topology': {\n 'description': 'Object indicating relations',\n 'subtype': ['path', 'tree (not supported yet)']\n },\n 'object': {\n 'description': 'Not yet supported. For future uses only',\n 'subtype': []\n }\n },\n 'userLanguages': [{\n 'code': 'es',\n 'language': 'Español/Spanish'\n },\n {\n 'code': 'en',\n 'language': 'Inglés/English'\n },\n {\n 'code': 'pt',\n 'language': 'Portugués/Portuguese'\n }\n ],\n 'countryCodes': [{\n 'code': 'AD',\n 'country': 'Andorra',\n 'zone': 'Europe/Andorra'\n },\n {\n 'code': 'AE',\n 'country': 'United Arab Emirates',\n 'zone': 'Asia/Dubai'\n },\n {\n 'code': 'AF',\n 'country': 'Afghanistan',\n 'zone': 'Asia/Kabul'\n },\n {\n 'code': 'AG',\n 'country': 'Antigua and Barbuda',\n 'zone': 'America/Antigua'\n },\n {\n 'code': 'AI',\n 'country': 'Anguilla',\n 'zone': 'America/Anguilla'\n },\n {\n 'code': 'AL',\n 'country': 'Albania',\n 'zone': 'Europe/Tirane'\n },\n {\n 'code': 'AM',\n 'country': 'Armenia',\n 'zone': 'Asia/Yerevan'\n },\n {\n 'code': 'AN',\n 'country': 'Netherlands Antilles',\n 'zone': 'Netherlands Antilles'\n },\n {\n 'code': 'AO',\n 'country': 'Angola',\n 'zone': 'Africa/Luanda'\n },\n {\n 'code': 'AQ',\n 'country': 'Antarctica',\n 'zone': 'Antarctica/McMurdo'\n },\n {\n 'code': 'AR',\n 'country': 'Argentina',\n 'zone': 'America/Argentina/Buenos_Aires'\n },\n {\n 'code': 'AS',\n 'country': 'American Samoa',\n 'zone': 'Pacific/Pago_Pago'\n },\n {\n 'code': 'AT',\n 'country': 'Austria',\n 'zone': 'Europe/Vienna'\n },\n {\n 'code': 'AU',\n 'country': 'Australia',\n 'zone': 'Australia/Lord_Howe'\n },\n {\n 'code': 'AW',\n 'country': 'Aruba',\n 'zone': 'America/Aruba'\n },\n {\n 'code': 'AX',\n 'country': 'Aland Islands',\n 'zone': 'Europe/Mariehamn'\n },\n {\n 'code': 'AZ',\n 'country': 'Azerbaijan',\n 'zone': 'Asia/Baku'\n },\n {\n 'code': 'BA',\n 'country': 'Bosnia and Herzegovina',\n 'zone': 'Europe/Sarajevo'\n },\n {\n 'code': 'BB',\n 'country': 'Barbados',\n 'zone': 'America/Barbados'\n },\n {\n 'code': 'BD',\n 'country': 'Bangladesh',\n 'zone': 'Asia/Dhaka'\n },\n {\n 'code': 'BE',\n 'country': 'Belgium',\n 'zone': 'Europe/Brussels'\n },\n {\n 'code': 'BF',\n 'country': 'Burkina Faso',\n 'zone': 'Africa/Ouagadougou'\n },\n {\n 'code': 'BG',\n 'country': 'Bulgaria',\n 'zone': 'Europe/Sofia'\n },\n {\n 'code': 'BH',\n 'country': 'Bahrain',\n 'zone': 'Asia/Bahrain'\n },\n {\n 'code': 'BI',\n 'country': 'Burundi',\n 'zone': 'Africa/Bujumbura'\n },\n {\n 'code': 'BJ',\n 'country': 'Benin',\n 'zone': 'Africa/Porto-Novo'\n },\n {\n 'code': 'BL',\n 'country': 'Saint Barthélemy',\n 'zone': 'America/St_Barthelemy'\n },\n {\n 'code': 'BM',\n 'country': 'Bermuda',\n 'zone': 'Atlantic/Bermuda'\n },\n {\n 'code': 'BN',\n 'country': 'Brunei',\n 'zone': 'Asia/Brunei'\n },\n {\n 'code': 'BO',\n 'country': 'Bolivia',\n 'zone': 'America/La_Paz'\n },\n {\n 'code': 'BQ',\n 'country': 'Bonaire, Saint Eustatius and Saba',\n 'zone': 'America/Kralendijk'\n },\n {\n 'code': 'BR',\n 'country': 'Brazil',\n 'zone': 'America/Noronha'\n },\n {\n 'code': 'BS',\n 'country': 'Bahamas',\n 'zone': 'America/Nassau'\n },\n {\n 'code': 'BT',\n 'country': 'Bhutan',\n 'zone': 'Asia/Thimphu'\n },\n {\n 'code': 'BV',\n 'country': 'Bouvet Island',\n 'zone': 'Bouvet Island'\n },\n {\n 'code': 'BW',\n 'country': 'Botswana',\n 'zone': 'Africa/Gaborone'\n },\n {\n 'code': 'BY',\n 'country': 'Belarus',\n 'zone': 'Europe/Minsk'\n },\n {\n 'code': 'BZ',\n 'country': 'Belize',\n 'zone': 'America/Belize'\n },\n {\n 'code': 'CA',\n 'country': 'Canada',\n 'zone': 'America/St_Johns'\n },\n {\n 'code': 'CC',\n 'country': 'Cocos Islands',\n 'zone': 'Indian/Cocos'\n },\n {\n 'code': 'CD',\n 'country': 'Democratic Republic of the Congo',\n 'zone': 'Africa/Kinshasa'\n },\n {\n 'code': 'CF',\n 'country': 'Central African Republic',\n 'zone': 'Africa/Bangui'\n },\n {\n 'code': 'CG',\n 'country': 'Republic of the Congo',\n 'zone': 'Africa/Brazzaville'\n },\n {\n 'code': 'CH',\n 'country': 'Switzerland',\n 'zone': 'Europe/Zurich'\n },\n {\n 'code': 'CI',\n 'country': 'Ivory Coast',\n 'zone': 'Africa/Abidjan'\n },\n {\n 'code': 'CK',\n 'country': 'Cook Islands',\n 'zone': 'Pacific/Rarotonga'\n },\n {\n 'code': 'CL',\n 'country': 'Chile',\n 'zone': 'America/Santiago'\n },\n {\n 'code': 'CM',\n 'country': 'Cameroon',\n 'zone': 'Africa/Douala'\n },\n {\n 'code': 'CN',\n 'country': 'China',\n 'zone': 'Asia/Shanghai'\n },\n {\n 'code': 'CO',\n 'country': 'Colombia',\n 'zone': 'America/Bogota'\n },\n {\n 'code': 'CR',\n 'country': 'Costa Rica',\n 'zone': 'America/Costa_Rica'\n },\n {\n 'code': 'CS',\n 'country': 'Serbia and Montenegro',\n 'zone': 'Serbia and Montenegro'\n },\n {\n 'code': 'CU',\n 'country': 'Cuba',\n 'zone': 'America/Havana'\n },\n {\n 'code': 'CV',\n 'country': 'Cape Verde',\n 'zone': 'Atlantic/Cape_Verde'\n },\n {\n 'code': 'CW',\n 'country': 'Curaçao',\n 'zone': 'America/Curacao'\n },\n {\n 'code': 'CX',\n 'country': 'Christmas Island',\n 'zone': 'Indian/Christmas'\n },\n {\n 'code': 'CY',\n 'country': 'Cyprus',\n 'zone': 'Asia/Nicosia'\n },\n {\n 'code': 'CZ',\n 'country': 'Czech Republic',\n 'zone': 'Europe/Prague'\n },\n {\n 'code': 'DE',\n 'country': 'Germany',\n 'zone': 'Europe/Berlin'\n },\n {\n 'code': 'DJ',\n 'country': 'Djibouti',\n 'zone': 'Africa/Djibouti'\n },\n {\n 'code': 'DK',\n 'country': 'Denmark',\n 'zone': 'Europe/Copenhagen'\n },\n {\n 'code': 'DM',\n 'country': 'Dominica',\n 'zone': 'America/Dominica'\n },\n {\n 'code': 'DO',\n 'country': 'Dominican Republic',\n 'zone': 'America/Santo_Domingo'\n },\n {\n 'code': 'DZ',\n 'country': 'Algeria',\n 'zone': 'Africa/Algiers'\n },\n {\n 'code': 'EC',\n 'country': 'Ecuador',\n 'zone': 'America/Guayaquil'\n },\n {\n 'code': 'EE',\n 'country': 'Estonia',\n 'zone': 'Europe/Tallinn'\n },\n {\n 'code': 'EG',\n 'country': 'Egypt',\n 'zone': 'Africa/Cairo'\n },\n {\n 'code': 'EH',\n 'country': 'Western Sahara',\n 'zone': 'Africa/El_Aaiun'\n },\n {\n 'code': 'ER',\n 'country': 'Eritrea',\n 'zone': 'Africa/Asmara'\n },\n {\n 'code': 'ES',\n 'country': 'Spain',\n 'zone': 'Europe/Madrid'\n },\n {\n 'code': 'ET',\n 'country': 'Ethiopia',\n 'zone': 'Africa/Addis_Ababa'\n },\n {\n 'code': 'FI',\n 'country': 'Finland',\n 'zone': 'Europe/Helsinki'\n },\n {\n 'code': 'FJ',\n 'country': 'Fiji',\n 'zone': 'Pacific/Fiji'\n },\n {\n 'code': 'FK',\n 'country': 'Falkland Islands',\n 'zone': 'Atlantic/Stanley'\n },\n {\n 'code': 'FM',\n 'country': 'Micronesia',\n 'zone': 'Pacific/Chuuk'\n },\n {\n 'code': 'FO',\n 'country': 'Faroe Islands',\n 'zone': 'Atlantic/Faroe'\n },\n {\n 'code': 'FR',\n 'country': 'France',\n 'zone': 'Europe/Paris'\n },\n {\n 'code': 'GA',\n 'country': 'Gabon',\n 'zone': 'Africa/Libreville'\n },\n {\n 'code': 'GB',\n 'country': 'United Kingdom',\n 'zone': 'Europe/London'\n },\n {\n 'code': 'GD',\n 'country': 'Grenada',\n 'zone': 'America/Grenada'\n },\n {\n 'code': 'GE',\n 'country': 'Georgia',\n 'zone': 'Asia/Tbilisi'\n },\n {\n 'code': 'GF',\n 'country': 'French Guiana',\n 'zone': 'America/Cayenne'\n },\n {\n 'code': 'GG',\n 'country': 'Guernsey',\n 'zone': 'Europe/Guernsey'\n },\n {\n 'code': 'GH',\n 'country': 'Ghana',\n 'zone': 'Africa/Accra'\n },\n {\n 'code': 'GI',\n 'country': 'Gibraltar',\n 'zone': 'Europe/Gibraltar'\n },\n {\n 'code': 'GL',\n 'country': 'Greenland',\n 'zone': 'America/Godthab'\n },\n {\n 'code': 'GM',\n 'country': 'Gambia',\n 'zone': 'Africa/Banjul'\n },\n {\n 'code': 'GN',\n 'country': 'Guinea',\n 'zone': 'Africa/Conakry'\n },\n {\n 'code': 'GP',\n 'country': 'Guadeloupe',\n 'zone': 'America/Guadeloupe'\n },\n {\n 'code': 'GQ',\n 'country': 'Equatorial Guinea',\n 'zone': 'Africa/Malabo'\n },\n {\n 'code': 'GR',\n 'country': 'Greece',\n 'zone': 'Europe/Athens'\n },\n {\n 'code': 'GS',\n 'country': 'South Georgia and the South Sandwich Islands',\n 'zone': 'Atlantic/South_Georgia'\n },\n {\n 'code': 'GT',\n 'country': 'Guatemala',\n 'zone': 'America/Guatemala'\n },\n {\n 'code': 'GU',\n 'country': 'Guam',\n 'zone': 'Pacific/Guam'\n },\n {\n 'code': 'GW',\n 'country': 'Guinea-Bissau',\n 'zone': 'Africa/Bissau'\n },\n {\n 'code': 'GY',\n 'country': 'Guyana',\n 'zone': 'America/Guyana'\n },\n {\n 'code': 'HK',\n 'country': 'Hong Kong',\n 'zone': 'Asia/Hong_Kong'\n },\n {\n 'code': 'HM',\n 'country': 'Heard Island and McDonald Islands',\n 'zone': 'Heard Island and McDonald Islands'\n },\n {\n 'code': 'HN',\n 'country': 'Honduras',\n 'zone': 'America/Tegucigalpa'\n },\n {\n 'code': 'HR',\n 'country': 'Croatia',\n 'zone': 'Europe/Zagreb'\n },\n {\n 'code': 'HT',\n 'country': 'Haiti',\n 'zone': 'America/Port-au-Prince'\n },\n {\n 'code': 'HU',\n 'country': 'Hungary',\n 'zone': 'Europe/Budapest'\n },\n {\n 'code': 'ID',\n 'country': 'Indonesia',\n 'zone': 'Asia/Jakarta'\n },\n {\n 'code': 'IE',\n 'country': 'Ireland',\n 'zone': 'Europe/Dublin'\n },\n {\n 'code': 'IL',\n 'country': 'Israel',\n 'zone': 'Asia/Jerusalem'\n },\n {\n 'code': 'IM',\n 'country': 'Isle of Man',\n 'zone': 'Europe/Isle_of_Man'\n },\n {\n 'code': 'IN',\n 'country': 'India',\n 'zone': 'Asia/Kolkata'\n },\n {\n 'code': 'IO',\n 'country': 'British Indian Ocean Territory',\n 'zone': 'Indian/Chagos'\n },\n {\n 'code': 'IQ',\n 'country': 'Iraq',\n 'zone': 'Asia/Baghdad'\n },\n {\n 'code': 'IR',\n 'country': 'Iran',\n 'zone': 'Asia/Tehran'\n },\n {\n 'code': 'IS',\n 'country': 'Iceland',\n 'zone': 'Atlantic/Reykjavik'\n },\n {\n 'code': 'IT',\n 'country': 'Italy',\n 'zone': 'Europe/Rome'\n },\n {\n 'code': 'JE',\n 'country': 'Jersey',\n 'zone': 'Europe/Jersey'\n },\n {\n 'code': 'JM',\n 'country': 'Jamaica',\n 'zone': 'America/Jamaica'\n },\n {\n 'code': 'JO',\n 'country': 'Jordan',\n 'zone': 'Asia/Amman'\n },\n {\n 'code': 'JP',\n 'country': 'Japan',\n 'zone': 'Asia/Tokyo'\n },\n {\n 'code': 'KE',\n 'country': 'Kenya',\n 'zone': 'Africa/Nairobi'\n },\n {\n 'code': 'KG',\n 'country': 'Kyrgyzstan',\n 'zone': 'Asia/Bishkek'\n },\n {\n 'code': 'KH',\n 'country': 'Cambodia',\n 'zone': 'Asia/Phnom_Penh'\n },\n {\n 'code': 'KI',\n 'country': 'Kiribati',\n 'zone': 'Pacific/Tarawa'\n },\n {\n 'code': 'KM',\n 'country': 'Comoros',\n 'zone': 'Indian/Comoro'\n },\n {\n 'code': 'KN',\n 'country': 'Saint Kitts and Nevis',\n 'zone': 'America/St_Kitts'\n },\n {\n 'code': 'KP',\n 'country': 'North Korea',\n 'zone': 'Asia/Pyongyang'\n },\n {\n 'code': 'KR',\n 'country': 'South Korea',\n 'zone': 'Asia/Seoul'\n },\n {\n 'code': 'KW',\n 'country': 'Kuwait',\n 'zone': 'Asia/Kuwait'\n },\n {\n 'code': 'KY',\n 'country': 'Cayman Islands',\n 'zone': 'America/Cayman'\n },\n {\n 'code': 'KZ',\n 'country': 'Kazakhstan',\n 'zone': 'Asia/Almaty'\n },\n {\n 'code': 'LA',\n 'country': 'Laos',\n 'zone': 'Asia/Vientiane'\n },\n {\n 'code': 'LB',\n 'country': 'Lebanon',\n 'zone': 'Asia/Beirut'\n },\n {\n 'code': 'LC',\n 'country': 'Saint Lucia',\n 'zone': 'America/St_Lucia'\n },\n {\n 'code': 'LI',\n 'country': 'Liechtenstein',\n 'zone': 'Europe/Vaduz'\n },\n {\n 'code': 'LK',\n 'country': 'Sri Lanka',\n 'zone': 'Asia/Colombo'\n },\n {\n 'code': 'LR',\n 'country': 'Liberia',\n 'zone': 'Africa/Monrovia'\n },\n {\n 'code': 'LS',\n 'country': 'Lesotho',\n 'zone': 'Africa/Maseru'\n },\n {\n 'code': 'LT',\n 'country': 'Lithuania',\n 'zone': 'Europe/Vilnius'\n },\n {\n 'code': 'LU',\n 'country': 'Luxembourg',\n 'zone': 'Europe/Luxembourg'\n },\n {\n 'code': 'LV',\n 'country': 'Latvia',\n 'zone': 'Europe/Riga'\n },\n {\n 'code': 'LY',\n 'country': 'Libya',\n 'zone': 'Africa/Tripoli'\n },\n {\n 'code': 'MA',\n 'country': 'Morocco',\n 'zone': 'Africa/Casablanca'\n },\n {\n 'code': 'MC',\n 'country': 'Monaco',\n 'zone': 'Europe/Monaco'\n },\n {\n 'code': 'MD',\n 'country': 'Moldova',\n 'zone': 'Europe/Chisinau'\n },\n {\n 'code': 'ME',\n 'country': 'Montenegro',\n 'zone': 'Europe/Podgorica'\n },\n {\n 'code': 'MF',\n 'country': 'Saint Martin',\n 'zone': 'America/Marigot'\n },\n {\n 'code': 'MG',\n 'country': 'Madagascar',\n 'zone': 'Indian/Antananarivo'\n },\n {\n 'code': 'MH',\n 'country': 'Marshall Islands',\n 'zone': 'Pacific/Majuro'\n },\n {\n 'code': 'MK',\n 'country': 'Macedonia',\n 'zone': 'Europe/Skopje'\n },\n {\n 'code': 'ML',\n 'country': 'Mali',\n 'zone': 'Africa/Bamako'\n },\n {\n 'code': 'MM',\n 'country': 'Myanmar',\n 'zone': 'Asia/Yangon'\n },\n {\n 'code': 'MN',\n 'country': 'Mongolia',\n 'zone': 'Asia/Ulaanbaatar'\n },\n {\n 'code': 'MO',\n 'country': 'Macao',\n 'zone': 'Asia/Macau'\n },\n {\n 'code': 'MP',\n 'country': 'Northern Mariana Islands',\n 'zone': 'Pacific/Saipan'\n },\n {\n 'code': 'MQ',\n 'country': 'Martinique',\n 'zone': 'America/Martinique'\n },\n {\n 'code': 'MR',\n 'country': 'Mauritania',\n 'zone': 'Africa/Nouakchott'\n },\n {\n 'code': 'MS',\n 'country': 'Montserrat',\n 'zone': 'America/Montserrat'\n },\n {\n 'code': 'MT',\n 'country': 'Malta',\n 'zone': 'Europe/Malta'\n },\n {\n 'code': 'MU',\n 'country': 'Mauritius',\n 'zone': 'Indian/Mauritius'\n },\n {\n 'code': 'MV',\n 'country': 'Maldives',\n 'zone': 'Indian/Maldives'\n },\n {\n 'code': 'MW',\n 'country': 'Malawi',\n 'zone': 'Africa/Blantyre'\n },\n {\n 'code': 'MX',\n 'country': 'Mexico',\n 'zone': 'America/Mexico_City'\n },\n {\n 'code': 'MY',\n 'country': 'Malaysia',\n 'zone': 'Asia/Kuala_Lumpur'\n },\n {\n 'code': 'MZ',\n 'country': 'Mozambique',\n 'zone': 'Africa/Maputo'\n },\n {\n 'code': 'NA',\n 'country': 'Namibia',\n 'zone': 'Africa/Windhoek'\n },\n {\n 'code': 'NC',\n 'country': 'New Caledonia',\n 'zone': 'Pacific/Noumea'\n },\n {\n 'code': 'NE',\n 'country': 'Niger',\n 'zone': 'Africa/Niamey'\n },\n {\n 'code': 'NF',\n 'country': 'Norfolk Island',\n 'zone': 'Pacific/Norfolk'\n },\n {\n 'code': 'NG',\n 'country': 'Nigeria',\n 'zone': 'Africa/Lagos'\n },\n {\n 'code': 'NI',\n 'country': 'Nicaragua',\n 'zone': 'America/Managua'\n },\n {\n 'code': 'NL',\n 'country': 'Netherlands',\n 'zone': 'Europe/Amsterdam'\n },\n {\n 'code': 'NO',\n 'country': 'Norway',\n 'zone': 'Europe/Oslo'\n },\n {\n 'code': 'NP',\n 'country': 'Nepal',\n 'zone': 'Asia/Kathmandu'\n },\n {\n 'code': 'NR',\n 'country': 'Nauru',\n 'zone': 'Pacific/Nauru'\n },\n {\n 'code': 'NU',\n 'country': 'Niue',\n 'zone': 'Pacific/Niue'\n },\n {\n 'code': 'NZ',\n 'country': 'New Zealand',\n 'zone': 'Pacific/Auckland'\n },\n {\n 'code': 'OM',\n 'country': 'Oman',\n 'zone': 'Asia/Muscat'\n },\n {\n 'code': 'PA',\n 'country': 'Panama',\n 'zone': 'America/Panama'\n },\n {\n 'code': 'PE',\n 'country': 'Peru',\n 'zone': 'America/Lima'\n },\n {\n 'code': 'PF',\n 'country': 'French Polynesia',\n 'zone': 'Pacific/Tahiti'\n },\n {\n 'code': 'PG',\n 'country': 'Papua New Guinea',\n 'zone': 'Pacific/Port_Moresby'\n },\n {\n 'code': 'PH',\n 'country': 'Philippines',\n 'zone': 'Asia/Manila'\n },\n {\n 'code': 'PK',\n 'country': 'Pakistan',\n 'zone': 'Asia/Karachi'\n },\n {\n 'code': 'PL',\n 'country': 'Poland',\n 'zone': 'Europe/Warsaw'\n },\n {\n 'code': 'PM',\n 'country': 'Saint Pierre and Miquelon',\n 'zone': 'America/Miquelon'\n },\n {\n 'code': 'PN',\n 'country': 'Pitcairn',\n 'zone': 'Pacific/Pitcairn'\n },\n {\n 'code': 'PR',\n 'country': 'Puerto Rico',\n 'zone': 'America/Puerto_Rico'\n },\n {\n 'code': 'PS',\n 'country': 'Palestinian Territory',\n 'zone': 'Asia/Gaza'\n },\n {\n 'code': 'PT',\n 'country': 'Portugal',\n 'zone': 'Europe/Lisbon'\n },\n {\n 'code': 'PW',\n 'country': 'Palau',\n 'zone': 'Pacific/Palau'\n },\n {\n 'code': 'PY',\n 'country': 'Paraguay',\n 'zone': 'America/Asuncion'\n },\n {\n 'code': 'QA',\n 'country': 'Qatar',\n 'zone': 'Asia/Qatar'\n },\n {\n 'code': 'RE',\n 'country': 'Reunion',\n 'zone': 'Indian/Reunion'\n },\n {\n 'code': 'RO',\n 'country': 'Romania',\n 'zone': 'Europe/Bucharest'\n },\n {\n 'code': 'RS',\n 'country': 'Serbia',\n 'zone': 'Europe/Belgrade'\n },\n {\n 'code': 'RU',\n 'country': 'Russia',\n 'zone': 'Europe/Kaliningrad'\n },\n {\n 'code': 'RW',\n 'country': 'Rwanda',\n 'zone': 'Africa/Kigali'\n },\n {\n 'code': 'SA',\n 'country': 'Saudi Arabia',\n 'zone': 'Asia/Riyadh'\n },\n {\n 'code': 'SB',\n 'country': 'Solomon Islands',\n 'zone': 'Pacific/Guadalcanal'\n },\n {\n 'code': 'SC',\n 'country': 'Seychelles',\n 'zone': 'Indian/Mahe'\n },\n {\n 'code': 'SD',\n 'country': 'Sudan',\n 'zone': 'Africa/Khartoum'\n },\n {\n 'code': 'SE',\n 'country': 'Sweden',\n 'zone': 'Europe/Stockholm'\n },\n {\n 'code': 'SG',\n 'country': 'Singapore',\n 'zone': 'Asia/Singapore'\n },\n {\n 'code': 'SH',\n 'country': 'Saint Helena',\n 'zone': 'Atlantic/St_Helena'\n },\n {\n 'code': 'SI',\n 'country': 'Slovenia',\n 'zone': 'Europe/Ljubljana'\n },\n {\n 'code': 'SJ',\n 'country': 'Svalbard and Jan Mayen',\n 'zone': 'Arctic/Longyearbyen'\n },\n {\n 'code': 'SK',\n 'country': 'Slovakia',\n 'zone': 'Europe/Bratislava'\n },\n {\n 'code': 'SL',\n 'country': 'Sierra Leone',\n 'zone': 'Africa/Freetown'\n },\n {\n 'code': 'SM',\n 'country': 'San Marino',\n 'zone': 'Europe/San_Marino'\n },\n {\n 'code': 'SN',\n 'country': 'Senegal',\n 'zone': 'Africa/Dakar'\n },\n {\n 'code': 'SO',\n 'country': 'Somalia',\n 'zone': 'Africa/Mogadishu'\n },\n {\n 'code': 'SR',\n 'country': 'Suriname',\n 'zone': 'America/Paramaribo'\n },\n {\n 'code': 'SS',\n 'country': 'South Sudan',\n 'zone': 'Africa/Juba'\n },\n {\n 'code': 'ST',\n 'country': 'Sao Tome and Principe',\n 'zone': 'Africa/Sao_Tome'\n },\n {\n 'code': 'SV',\n 'country': 'El Salvador',\n 'zone': 'America/El_Salvador'\n },\n {\n 'code': 'SX',\n 'country': 'Sint Maarten',\n 'zone': 'America/Lower_Princes'\n },\n {\n 'code': 'SY',\n 'country': 'Syria',\n 'zone': 'Asia/Damascus'\n },\n {\n 'code': 'SZ',\n 'country': 'Swaziland',\n 'zone': 'Africa/Mbabane'\n },\n {\n 'code': 'TC',\n 'country': 'Turks and Caicos Islands',\n 'zone': 'America/Grand_Turk'\n },\n {\n 'code': 'TD',\n 'country': 'Chad',\n 'zone': 'Africa/Ndjamena'\n },\n {\n 'code': 'TF',\n 'country': 'French Southern Territories',\n 'zone': 'Indian/Kerguelen'\n },\n {\n 'code': 'TG',\n 'country': 'Togo',\n 'zone': 'Africa/Lome'\n },\n {\n 'code': 'TH',\n 'country': 'Thailand',\n 'zone': 'Asia/Bangkok'\n },\n {\n 'code': 'TJ',\n 'country': 'Tajikistan',\n 'zone': 'Asia/Dushanbe'\n },\n {\n 'code': 'TK',\n 'country': 'Tokelau',\n 'zone': 'Pacific/Fakaofo'\n },\n {\n 'code': 'TL',\n 'country': 'East Timor',\n 'zone': 'Asia/Dili'\n },\n {\n 'code': 'TM',\n 'country': 'Turkmenistan',\n 'zone': 'Asia/Ashgabat'\n },\n {\n 'code': 'TN',\n 'country': 'Tunisia',\n 'zone': 'Africa/Tunis'\n },\n {\n 'code': 'TO',\n 'country': 'Tonga',\n 'zone': 'Pacific/Tongatapu'\n },\n {\n 'code': 'TR',\n 'country': 'Turkey',\n 'zone': 'Europe/Istanbul'\n },\n {\n 'code': 'TT',\n 'country': 'Trinidad and Tobago',\n 'zone': 'America/Port_of_Spain'\n },\n {\n 'code': 'TV',\n 'country': 'Tuvalu',\n 'zone': 'Pacific/Funafuti'\n },\n {\n 'code': 'TW',\n 'country': 'Taiwan',\n 'zone': 'Asia/Taipei'\n },\n {\n 'code': 'TZ',\n 'country': 'Tanzania',\n 'zone': 'Africa/Dar_es_Salaam'\n },\n {\n 'code': 'UA',\n 'country': 'Ukraine',\n 'zone': 'Europe/Kiev'\n },\n {\n 'code': 'UG',\n 'country': 'Uganda',\n 'zone': 'Africa/Kampala'\n },\n {\n 'code': 'UM',\n 'country': 'United States Minor Outlying Islands',\n 'zone': 'Pacific/Midway'\n },\n {\n 'code': 'US',\n 'country': 'United States',\n 'zone': 'America/New_York'\n },\n {\n 'code': 'UY',\n 'country': 'Uruguay',\n 'zone': 'America/Montevideo'\n },\n {\n 'code': 'UZ',\n 'country': 'Uzbekistan',\n 'zone': 'Asia/Samarkand'\n },\n {\n 'code': 'VA',\n 'country': 'Vatican',\n 'zone': 'Europe/Vatican'\n },\n {\n 'code': 'VC',\n 'country': 'Saint Vincent and the Grenadines',\n 'zone': 'America/St_Vincent'\n },\n {\n 'code': 'VE',\n 'country': 'Venezuela',\n 'zone': 'America/Caracas'\n },\n {\n 'code': 'VG',\n 'country': 'British Virgin Islands',\n 'zone': 'America/Tortola'\n },\n {\n 'code': 'VI',\n 'country': 'U.S. Virgin Islands',\n 'zone': 'America/St_Thomas'\n },\n {\n 'code': 'VN',\n 'country': 'Vietnam',\n 'zone': 'Asia/Ho_Chi_Minh'\n },\n {\n 'code': 'VU',\n 'country': 'Vanuatu',\n 'zone': 'Pacific/Efate'\n },\n {\n 'code': 'WF',\n 'country': 'Wallis and Futuna',\n 'zone': 'Pacific/Wallis'\n },\n {\n 'code': 'WS',\n 'country': 'Samoa',\n 'zone': 'Pacific/Apia'\n },\n {\n 'code': 'XK',\n 'country': 'Kosovo',\n 'zone': 'Kosovo'\n },\n {\n 'code': 'YE',\n 'country': 'Yemen',\n 'zone': 'Asia/Aden'\n },\n {\n 'code': 'YT',\n 'country': 'Mayotte',\n 'zone': 'Indian/Mayotte'\n },\n {\n 'code': 'ZA',\n 'country': 'South Africa',\n 'zone': 'Africa/Johannesburg'\n },\n {\n 'code': 'ZM',\n 'country': 'Zambia',\n 'zone': 'Africa/Lusaka'\n },\n {\n 'code': 'ZW',\n 'country': 'Zimbabwe',\n 'zone': 'Africa/Harare'\n }\n ],\n 'timezones': [\n 'ACT',\n 'AET',\n 'Africa/Abidjan',\n 'Africa/Accra',\n 'Africa/Addis_Ababa',\n 'Africa/Algiers',\n 'Africa/Asmara',\n 'Africa/Asmera',\n 'Africa/Bamako',\n 'Africa/Bangui',\n 'Africa/Banjul',\n 'Africa/Bissau',\n 'Africa/Blantyre',\n 'Africa/Brazzaville',\n 'Africa/Bujumbura',\n 'Africa/Cairo',\n 'Africa/Casablanca',\n 'Africa/Ceuta',\n 'Africa/Conakry',\n 'Africa/Dakar',\n 'Africa/Dar_es_Salaam',\n 'Africa/Djibouti',\n 'Africa/Douala',\n 'Africa/El_Aaiun',\n 'Africa/Freetown',\n 'Africa/Gaborone',\n 'Africa/Harare',\n 'Africa/Johannesburg',\n 'Africa/Juba',\n 'Africa/Kampala',\n 'Africa/Khartoum',\n 'Africa/Kigali',\n 'Africa/Kinshasa',\n 'Africa/Lagos',\n 'Africa/Libreville',\n 'Africa/Lome',\n 'Africa/Luanda',\n 'Africa/Lubumbashi',\n 'Africa/Lusaka',\n 'Africa/Malabo',\n 'Africa/Maputo',\n 'Africa/Maseru',\n 'Africa/Mbabane',\n 'Africa/Mogadishu',\n 'Africa/Monrovia',\n 'Africa/Nairobi',\n 'Africa/Ndjamena',\n 'Africa/Niamey',\n 'Africa/Nouakchott',\n 'Africa/Ouagadougou',\n 'Africa/Porto-Novo',\n 'Africa/Sao_Tome',\n 'Africa/Timbuktu',\n 'Africa/Tripoli',\n 'Africa/Tunis',\n 'Africa/Windhoek',\n 'AGT',\n 'America/Adak',\n 'America/Anchorage',\n 'America/Anguilla',\n 'America/Antigua',\n 'America/Araguaina',\n 'America/Argentina/Buenos_Aires',\n 'America/Argentina/Catamarca',\n 'America/Argentina/ComodRivadavia',\n 'America/Argentina/Cordoba',\n 'America/Argentina/Jujuy',\n 'America/Argentina/La_Rioja',\n 'America/Argentina/Mendoza',\n 'America/Argentina/Rio_Gallegos',\n 'America/Argentina/Salta',\n 'America/Argentina/San_Juan',\n 'America/Argentina/San_Luis',\n 'America/Argentina/Tucuman',\n 'America/Argentina/Ushuaia',\n 'America/Aruba',\n 'America/Asuncion',\n 'America/Atikokan',\n 'America/Atka',\n 'America/Bahia',\n 'America/Bahia_Banderas',\n 'America/Barbados',\n 'America/Belem',\n 'America/Belize',\n 'America/Blanc-Sablon',\n 'America/Boa_Vista',\n 'America/Bogota',\n 'America/Boise',\n 'America/Buenos_Aires',\n 'America/Cambridge_Bay',\n 'America/Campo_Grande',\n 'America/Cancun',\n 'America/Caracas',\n 'America/Catamarca',\n 'America/Cayenne',\n 'America/Cayman',\n 'America/Chicago',\n 'America/Chihuahua',\n 'America/Coral_Harbour',\n 'America/Cordoba',\n 'America/Costa_Rica',\n 'America/Creston',\n 'America/Cuiaba',\n 'America/Curacao',\n 'America/Danmarkshavn',\n 'America/Dawson',\n 'America/Dawson_Creek',\n 'America/Denver',\n 'America/Detroit',\n 'America/Dominica',\n 'America/Edmonton',\n 'America/Eirunepe',\n 'America/El_Salvador',\n 'America/Ensenada',\n 'America/Fort_Nelson',\n 'America/Fort_Wayne',\n 'America/Fortaleza',\n 'America/Glace_Bay',\n 'America/Godthab',\n 'America/Goose_Bay',\n 'America/Grand_Turk',\n 'America/Grenada',\n 'America/Guadeloupe',\n 'America/Guatemala',\n 'America/Guayaquil',\n 'America/Guyana',\n 'America/Halifax',\n 'America/Havana',\n 'America/Hermosillo',\n 'America/Indiana/Indianapolis',\n 'America/Indiana/Knox',\n 'America/Indiana/Marengo',\n 'America/Indiana/Petersburg',\n 'America/Indiana/Tell_City',\n 'America/Indiana/Vevay',\n 'America/Indiana/Vincennes',\n 'America/Indiana/Winamac',\n 'America/Indianapolis',\n 'America/Inuvik',\n 'America/Iqaluit',\n 'America/Jamaica',\n 'America/Jujuy',\n 'America/Juneau',\n 'America/Kentucky/Louisville',\n 'America/Kentucky/Monticello',\n 'America/Knox_IN',\n 'America/Kralendijk',\n 'America/La_Paz',\n 'America/Lima',\n 'America/Los_Angeles',\n 'America/Louisville',\n 'America/Lower_Princes',\n 'America/Maceio',\n 'America/Managua',\n 'America/Manaus',\n 'America/Marigot',\n 'America/Martinique',\n 'America/Matamoros',\n 'America/Mazatlan',\n 'America/Mendoza',\n 'America/Menominee',\n 'America/Merida',\n 'America/Metlakatla',\n 'America/Mexico_City',\n 'America/Miquelon',\n 'America/Moncton',\n 'America/Monterrey',\n 'America/Montevideo',\n 'America/Montreal',\n 'America/Montserrat',\n 'America/Nassau',\n 'America/New_York',\n 'America/Nipigon',\n 'America/Nome',\n 'America/Noronha',\n 'America/North_Dakota/Beulah',\n 'America/North_Dakota/Center',\n 'America/North_Dakota/New_Salem',\n 'America/Ojinaga',\n 'America/Panama',\n 'America/Pangnirtung',\n 'America/Paramaribo',\n 'America/Phoenix',\n 'America/Port_of_Spain',\n 'America/Port-au-Prince',\n 'America/Porto_Acre',\n 'America/Porto_Velho',\n 'America/Puerto_Rico',\n 'America/Rainy_River',\n 'America/Rankin_Inlet',\n 'America/Recife',\n 'America/Regina',\n 'America/Resolute',\n 'America/Rio_Branco',\n 'America/Rosario',\n 'America/Santa_Isabel',\n 'America/Santarem',\n 'America/Santiago',\n 'America/Santo_Domingo',\n 'America/Sao_Paulo',\n 'America/Scoresbysund',\n 'America/Shiprock',\n 'America/Sitka',\n 'America/St_Barthelemy',\n 'America/St_Johns',\n 'America/St_Kitts',\n 'America/St_Lucia',\n 'America/St_Thomas',\n 'America/St_Vincent',\n 'America/Swift_Current',\n 'America/Tegucigalpa',\n 'America/Thule',\n 'America/Thunder_Bay',\n 'America/Tijuana',\n 'America/Toronto',\n 'America/Tortola',\n 'America/Vancouver',\n 'America/Virgin',\n 'America/Whitehorse',\n 'America/Winnipeg',\n 'America/Yakutat',\n 'America/Yellowknife',\n 'Antarctica/Casey',\n 'Antarctica/Davis',\n 'Antarctica/DumontDUrville',\n 'Antarctica/Macquarie',\n 'Antarctica/Mawson',\n 'Antarctica/McMurdo',\n 'Antarctica/Palmer',\n 'Antarctica/Rothera',\n 'Antarctica/South_Pole',\n 'Antarctica/Syowa',\n 'Antarctica/Troll',\n 'Antarctica/Vostok',\n 'Arctic/Longyearbyen',\n 'ART',\n 'Asia/Aden',\n 'Asia/Almaty',\n 'Asia/Amman',\n 'Asia/Anadyr',\n 'Asia/Aqtau',\n 'Asia/Aqtobe',\n 'Asia/Ashgabat',\n 'Asia/Ashkhabad',\n 'Asia/Baghdad',\n 'Asia/Bahrain',\n 'Asia/Baku',\n 'Asia/Bangkok',\n 'Asia/Barnaul',\n 'Asia/Beirut',\n 'Asia/Bishkek',\n 'Asia/Brunei',\n 'Asia/Calcutta',\n 'Asia/Chita',\n 'Asia/Choibalsan',\n 'Asia/Chongqing',\n 'Asia/Chungking',\n 'Asia/Colombo',\n 'Asia/Dacca',\n 'Asia/Damascus',\n 'Asia/Dhaka',\n 'Asia/Dili',\n 'Asia/Dubai',\n 'Asia/Dushanbe',\n 'Asia/Gaza',\n 'Asia/Harbin',\n 'Asia/Hebron',\n 'Asia/Ho_Chi_Minh',\n 'Asia/Hong_Kong',\n 'Asia/Hovd',\n 'Asia/Irkutsk',\n 'Asia/Istanbul',\n 'Asia/Jakarta',\n 'Asia/Jayapura',\n 'Asia/Jerusalem',\n 'Asia/Kabul',\n 'Asia/Kamchatka',\n 'Asia/Karachi',\n 'Asia/Kashgar',\n 'Asia/Kathmandu',\n 'Asia/Katmandu',\n 'Asia/Khandyga',\n 'Asia/Kolkata',\n 'Asia/Krasnoyarsk',\n 'Asia/Kuala_Lumpur',\n 'Asia/Kuching',\n 'Asia/Kuwait',\n 'Asia/Macao',\n 'Asia/Macau',\n 'Asia/Magadan',\n 'Asia/Makassar',\n 'Asia/Manila',\n 'Asia/Muscat',\n 'Asia/Nicosia',\n 'Asia/Novokuznetsk',\n 'Asia/Novosibirsk',\n 'Asia/Omsk',\n 'Asia/Oral',\n 'Asia/Phnom_Penh',\n 'Asia/Pontianak',\n 'Asia/Pyongyang',\n 'Asia/Qatar',\n 'Asia/Qyzylorda',\n 'Asia/Rangoon',\n 'Asia/Riyadh',\n 'Asia/Saigon',\n 'Asia/Sakhalin',\n 'Asia/Samarkand',\n 'Asia/Seoul',\n 'Asia/Shanghai',\n 'Asia/Singapore',\n 'Asia/Srednekolymsk',\n 'Asia/Taipei',\n 'Asia/Tashkent',\n 'Asia/Tbilisi',\n 'Asia/Tehran',\n 'Asia/Tel_Aviv',\n 'Asia/Thimbu',\n 'Asia/Thimphu',\n 'Asia/Tokyo',\n 'Asia/Tomsk',\n 'Asia/Ujung_Pandang',\n 'Asia/Ulaanbaatar',\n 'Asia/Ulan_Bator',\n 'Asia/Urumqi',\n 'Asia/Ust-Nera',\n 'Asia/Vientiane',\n 'Asia/Vladivostok',\n 'Asia/Yakutsk',\n 'Asia/Yekaterinburg',\n 'Asia/Yerevan',\n 'AST',\n 'Atlantic/Azores',\n 'Atlantic/Bermuda',\n 'Atlantic/Canary',\n 'Atlantic/Cape_Verde',\n 'Atlantic/Faeroe',\n 'Atlantic/Faroe',\n 'Atlantic/Jan_Mayen',\n 'Atlantic/Madeira',\n 'Atlantic/Reykjavik',\n 'Atlantic/South_Georgia',\n 'Atlantic/St_Helena',\n 'Atlantic/Stanley',\n 'Australia/ACT',\n 'Australia/Adelaide',\n 'Australia/Brisbane',\n 'Australia/Broken_Hill',\n 'Australia/Canberra',\n 'Australia/Currie',\n 'Australia/Darwin',\n 'Australia/Eucla',\n 'Australia/Hobart',\n 'Australia/LHI',\n 'Australia/Lindeman',\n 'Australia/Lord_Howe',\n 'Australia/Melbourne',\n 'Australia/North',\n 'Australia/NSW',\n 'Australia/Perth',\n 'Australia/Queensland',\n 'Australia/South',\n 'Australia/Sydney',\n 'Australia/Tasmania',\n 'Australia/Victoria',\n 'Australia/West',\n 'Australia/Yancowinna',\n 'BET',\n 'Brazil/Acre',\n 'Brazil/DeNoronha',\n 'Brazil/East',\n 'Brazil/West',\n 'BST',\n 'Canada/Atlantic',\n 'Canada/Central',\n 'Canada/East-Saskatchewan',\n 'Canada/Eastern',\n 'Canada/Mountain',\n 'Canada/Newfoundland',\n 'Canada/Pacific',\n 'Canada/Saskatchewan',\n 'Canada/Yukon',\n 'CAT',\n 'CET',\n 'Chile/Continental',\n 'Chile/EasterIsland',\n 'CNT',\n 'CST',\n 'CST6CDT',\n 'CTT',\n 'Cuba',\n 'EAT',\n 'ECT',\n 'EET',\n 'Egypt',\n 'Eire',\n 'EST',\n 'EST5EDT',\n 'Europe/Amsterdam',\n 'Europe/Andorra',\n 'Europe/Astrakhan',\n 'Europe/Athens',\n 'Europe/Belfast',\n 'Europe/Belgrade',\n 'Europe/Berlin',\n 'Europe/Bratislava',\n 'Europe/Brussels',\n 'Europe/Bucharest',\n 'Europe/Budapest',\n 'Europe/Busingen',\n 'Europe/Chisinau',\n 'Europe/Copenhagen',\n 'Europe/Dublin',\n 'Europe/Gibraltar',\n 'Europe/Guernsey',\n 'Europe/Helsinki',\n 'Europe/Isle_of_Man',\n 'Europe/Istanbul',\n 'Europe/Jersey',\n 'Europe/Kaliningrad',\n 'Europe/Kiev',\n 'Europe/Kirov',\n 'Europe/Lisbon',\n 'Europe/Ljubljana',\n 'Europe/London',\n 'Europe/Luxembourg',\n 'Europe/Madrid',\n 'Europe/Malta',\n 'Europe/Mariehamn',\n 'Europe/Minsk',\n 'Europe/Monaco',\n 'Europe/Moscow',\n 'Europe/Nicosia',\n 'Europe/Oslo',\n 'Europe/Paris',\n 'Europe/Podgorica',\n 'Europe/Prague',\n 'Europe/Riga',\n 'Europe/Rome',\n 'Europe/Samara',\n 'Europe/San_Marino',\n 'Europe/Sarajevo',\n 'Europe/Simferopol',\n 'Europe/Skopje',\n 'Europe/Sofia',\n 'Europe/Stockholm',\n 'Europe/Tallinn',\n 'Europe/Tirane',\n 'Europe/Tiraspol',\n 'Europe/Ulyanovsk',\n 'Europe/Uzhgorod',\n 'Europe/Vaduz',\n 'Europe/Vatican',\n 'Europe/Vienna',\n 'Europe/Vilnius',\n 'Europe/Volgograd',\n 'Europe/Warsaw',\n 'Europe/Zagreb',\n 'Europe/Zaporozhye',\n 'Europe/Zurich',\n 'GB',\n 'GB-Eire',\n 'GMT',\n 'GMT0',\n 'Greenwich',\n 'Hongkong',\n 'HST',\n 'Iceland',\n 'IET',\n 'Indian/Antananarivo',\n 'Indian/Chagos',\n 'Indian/Christmas',\n 'Indian/Cocos',\n 'Indian/Comoro',\n 'Indian/Kerguelen',\n 'Indian/Mahe',\n 'Indian/Maldives',\n 'Indian/Mauritius',\n 'Indian/Mayotte',\n 'Indian/Reunion',\n 'Iran',\n 'Israel',\n 'IST',\n 'Jamaica',\n 'Japan',\n 'JST',\n 'Kwajalein',\n 'Libya',\n 'MET',\n 'Mexico/BajaNorte',\n 'Mexico/BajaSur',\n 'Mexico/General',\n 'MIT',\n 'MST',\n 'MST7MDT',\n 'Navajo',\n 'NET',\n 'NST',\n 'NZ',\n 'NZ-CHAT',\n 'Pacific/Apia',\n 'Pacific/Auckland',\n 'Pacific/Bougainville',\n 'Pacific/Chatham',\n 'Pacific/Chuuk',\n 'Pacific/Easter',\n 'Pacific/Efate',\n 'Pacific/Enderbury',\n 'Pacific/Fakaofo',\n 'Pacific/Fiji',\n 'Pacific/Funafuti',\n 'Pacific/Galapagos',\n 'Pacific/Gambier',\n 'Pacific/Guadalcanal',\n 'Pacific/Guam',\n 'Pacific/Honolulu',\n 'Pacific/Johnston',\n 'Pacific/Kiritimati',\n 'Pacific/Kosrae',\n 'Pacific/Kwajalein',\n 'Pacific/Majuro',\n 'Pacific/Marquesas',\n 'Pacific/Midway',\n 'Pacific/Nauru',\n 'Pacific/Niue',\n 'Pacific/Norfolk',\n 'Pacific/Noumea',\n 'Pacific/Pago_Pago',\n 'Pacific/Palau',\n 'Pacific/Pitcairn',\n 'Pacific/Pohnpei',\n 'Pacific/Ponape',\n 'Pacific/Port_Moresby',\n 'Pacific/Rarotonga',\n 'Pacific/Saipan',\n 'Pacific/Samoa',\n 'Pacific/Tahiti',\n 'Pacific/Tarawa',\n 'Pacific/Tongatapu',\n 'Pacific/Truk',\n 'Pacific/Wake',\n 'Pacific/Wallis',\n 'Pacific/Yap',\n 'PLT',\n 'PNT',\n 'Poland',\n 'Portugal',\n 'PRC',\n 'PRT',\n 'PST',\n 'PST8PDT',\n 'ROK',\n 'Singapore',\n 'SST',\n 'SystemV/AST4',\n 'SystemV/AST4ADT',\n 'SystemV/CST6',\n 'SystemV/CST6CDT',\n 'SystemV/EST5',\n 'SystemV/EST5EDT',\n 'SystemV/HST10',\n 'SystemV/MST7',\n 'SystemV/MST7MDT',\n 'SystemV/PST8',\n 'SystemV/PST8PDT',\n 'SystemV/YST9',\n 'SystemV/YST9YDT',\n 'Turkey',\n 'UCT',\n 'Universal',\n 'US/Alaska',\n 'US/Aleutian',\n 'US/Arizona',\n 'US/Central',\n 'US/East-Indiana',\n 'US/Eastern',\n 'US/Hawaii',\n 'US/Indiana-Starke',\n 'US/Michigan',\n 'US/Mountain',\n 'US/Pacific',\n 'US/Pacific-New',\n 'US/Samoa',\n 'UTC',\n 'VST',\n 'W-SU',\n 'WET',\n 'Zulu'\n ]\n\n }[contentType];\n }\n}",
|
|
54980
|
+
"content": "'use strict';\n\nimport Search from './Search';\nimport q from 'q';\n\n\n/**\n * This extends Search and it allow make request to any available resource into static resources for Opengate North API\n */\nexport default class StaticSearch extends Search {\n\n /**\n * @param {!InternalOpenGateAPI} ogapi - this is configuration about Opengate North API.\n * @param {!string} url - this define a specific resource to make the search\n * @param {object} filter - this is the filter\n */\n constructor(ogapi, url, filter, timeout, contentType, customFilters) {\n super(ogapi, '/catalog' + url, filter, null, null, timeout);\n this._contentType = contentType;\n this._customFilters = customFilters;\n }\n\n\n /**\n * This invoke a dummy request to OpenGate North API and the callback is managed by promises\n * @return {Promise}\n * @property {function (result:object, statusCode:number)} then - When request it is OK\n * @property {function (error:string)} catch - When request it is NOK\n */\n execute() {\n var _this = this;\n var finalContent = [];\n\n var ENTITY_TYPE = 'entityType';\n var TYPE = 'type';\n\n var defered = q.defer();\n var promise = defered.promise;\n\n //recuperamos el catalogo pedido\n var content = _this._content(_this._contentType);\n //algunos catalogos van en función del tipo de entidad. Recuperamos la entidad por la que filtrar\n var entityType = _this._customFilters && _this._customFilters[ENTITY_TYPE];\n\n //A parte del tipo de entidad, recuperamos el resto de filtros\n var count_filters = Object.keys(_this._customFilters).length;\n var isFilter = count_filters > 1 || (count_filters === 1 && !entityType);\n\n //Objeto donde se guardaran los objetos recuperados del primer prefiltro - por tipo de entidad\n var collection = {};\n if (entityType) {\n collection[entityType] = content[entityType];\n } else {\n collection = content;\n }\n\n\n switch (_this._contentType) {\n case 'operationalStatus':\n for (var contentTmp in collection) {\n collection[contentTmp].forEach(function(finalValue) {\n if (!_this._customFilters.id || (_this._customFilters.id && _this._customFilters.id === finalValue)) {\n finalContent.push({\n 'entityType': contentTmp,\n 'id': finalValue\n });\n }\n });\n }\n break;\n case 'administrativeState':\n var createAndAddFileObj = function(obj) {\n var finalObj = obj;\n finalObj[ENTITY_TYPE] = entityTypeTmp;\n finalContent.push(finalObj);\n };\n for (var entityTypeTmp in collection) {\n var typeTmp = collection[entityTypeTmp];\n for (var dataTmp in typeTmp) {\n if (isFilter) {\n for (var filterTmp in _this._customFilters) {\n if (typeTmp[dataTmp][filterTmp] === _this._customFilters[filterTmp]) {\n createAndAddFileObj(typeTmp[dataTmp]);\n break;\n }\n }\n } else {\n createAndAddFileObj(typeTmp[dataTmp]);\n }\n }\n }\n break;\n case 'fieldsDefinition':\n case 'communicationsModuleType':\n //Solo filtramos por tipo de modulo de comunicaciones o tipo de field\n var filter = isFilter && _this._customFilters[TYPE];\n if (typeof filter === 'undefined') {\n defered.resolve({\n error: 'Filters not allowed',\n statusCode: 400\n });\n break;\n }\n var result = filter ? collection[filter] : collection;\n finalContent = result;\n break;\n case 'userProfile':\n for (var profileTmp in collection) {\n if (!_this._customFilters.id || (_this._customFilters.id && _this._customFilters.id === profileTmp)) {\n if (collection[profileTmp].length > 0) {\n finalContent.push({\n 'id': profileTmp,\n 'managed': collection[profileTmp]\n });\n }\n }\n }\n break;\n case 'serviceGroups':\n if (entityType) {\n finalContent = collection[entityType];\n }\n break;\n case 'allowedResourceType':\n for (var resourceTypeIdx in collection) {\n if (!_this._customFilters.type || (_this._customFilters.type && collection[resourceTypeIdx].types.indexOf(_this._customFilters.type) > -1)) {\n finalContent.push(collection[resourceTypeIdx].resourceType);\n }\n }\n break;\n case 'ticketSeverity':\n case 'ticketPriority':\n case 'ticketStatus':\n case 'ruleConfigurationSeverity':\n case 'ruleMode':\n case 'ruleType':\n case 'ioTDatastreamPeriod':\n case 'ioTDatastreamAccess':\n case 'resourceType':\n case 'countryCodes':\n case 'timezones':\n case 'userLanguages':\n case 'ioTDatastreamStoragePeriod':\n {\n if (filter) {\n defered.resolve({\n error: 'Filters not supported',\n statuscode: 400\n });\n break;\n }\n finalContent = finalContent.concat(collection);\n break;\n }\n default:\n //No existe el catalogo\n defered.resolve({\n data: {},\n statusCode: 400\n });\n }\n if (finalContent && Object.keys(finalContent).length > 0) {\n var resultContent = {};\n resultContent[_this._contentType] = finalContent;\n defered.resolve({\n data: resultContent,\n statusCode: 200\n });\n } else {\n //Existe el catalogo pero no hay datos\n defered.resolve({\n data: {},\n statusCode: 204\n });\n }\n\n return promise;\n }\n\n _content(contentType) {\n return {\n 'ticketSeverity': [\n 'CRITICAL', 'URGENT', 'WARNING', 'NORMAL'\n ],\n 'ticketPriority': [\n 'MAJOR', 'MINOR', 'CRITICAL', 'BLOCKER'\n ],\n 'ticketStatus': [\n 'CREATED',\n 'ASSIGNED',\n 'ANSWERED',\n 'RESTORED',\n 'RESOLVED',\n 'CLOSED'\n ],\n 'serviceGroups': {\n 'ASSET': ['noUpdate',\n 'emptyServiceGroup',\n 'emptyServiceGroup_onSession',\n 'emptyServiceGroup_onDemand',\n 'level1SecurityServiceGroup',\n 'level2SecurityServiceGroup',\n 'level3SecurityServiceGroup',\n 'trustedNoneSecurityServiceGroup',\n 'trustedNoneSecurityServiceGroup_onDemand',\n 'trustedLevel1SecurityServiceGroup',\n 'trustedLevel2SecurityServiceGroup',\n 'trustedLevel3SecurityServiceGroup'\n ],\n 'SUBSCRIBER': ['emptyServiceGroup'],\n 'SUBSCRIPTION': ['emptyServiceGroup'],\n 'GATEWAY': ['noUpdate',\n 'emptyServiceGroup',\n 'emptyServiceGroup_onSession',\n 'emptyServiceGroup_onDemand',\n 'level1SecurityServiceGroup',\n 'level2SecurityServiceGroup',\n 'level3SecurityServiceGroup',\n 'trustedNoneSecurityServiceGroup',\n 'trustedNoneSecurityServiceGroup_onDemand',\n 'trustedLevel1SecurityServiceGroup',\n 'trustedLevel2SecurityServiceGroup',\n 'trustedLevel3SecurityServiceGroup'\n ]\n },\n 'administrativeState': {\n 'ASSET': [{\n 'id': 'BANNED',\n 'description': 'Asset banned, It means that received information of this asset is not going to be collected'\n }, {\n 'id': 'DELETED',\n 'description': 'Asset removed from available stock'\n }, {\n 'id': 'IN_MAINTENANCE',\n 'description': 'Asset in maintenance'\n }, {\n 'id': 'IN_STOCK',\n 'description': 'Asset in stock'\n }, {\n 'id': 'IN_TRANSIT',\n 'description': 'Asset in transit'\n }, {\n 'id': 'IN_USE',\n 'description': 'Asset in use'\n }, {\n 'id': 'MISSING',\n 'description': 'Asset missing'\n }, {\n 'id': 'ORDERED',\n 'description': 'Asset ordered'\n }, {\n 'id': 'READY',\n 'description': 'Asset ready for installation'\n }, {\n 'id': 'RETIRED',\n 'description': 'Field entity withdrawal'\n }],\n 'GATEWAY': [{\n 'id': 'REQUESTED',\n 'description': 'Entity requested to the supplier'\n }, {\n 'id': 'READY',\n 'description': 'Entity ready for installation'\n }, {\n 'id': 'REPAIR',\n 'description': 'Entity under repair'\n }, {\n 'id': 'TESTING',\n 'description': 'Entity in tests'\n }, {\n 'id': 'ACTIVE',\n 'description': 'Field deployed entity'\n }, {\n 'id': 'SUSPENDED',\n 'description': 'Suspended its operation'\n }, {\n 'id': 'DELETED',\n 'description': 'Entity removed from available stock'\n }, {\n 'id': 'RETIRED',\n 'description': 'Field entity withdrawal'\n }, {\n 'id': 'BANNED',\n 'description': 'Entity banned, It means that received information of this entity is not going to be collected'\n }],\n 'COMMUNICATIONS_MODULE': [{\n 'id': 'REQUESTED',\n 'description': 'Entity requested to the supplier'\n }, {\n 'id': 'READY',\n 'description': 'Entity ready for installation'\n }, {\n 'id': 'REPAIR',\n 'description': 'Entity under repair'\n }, {\n 'id': 'TESTING',\n 'description': 'Entity in tests'\n }, {\n 'id': 'ACTIVE',\n 'description': 'Field deployed entity'\n }, {\n 'id': 'SUSPENDED',\n 'description': 'Suspended its operation'\n }, {\n 'id': 'DELETED',\n 'description': 'Entity removed from available stock'\n }, {\n 'id': 'RETIRED',\n 'description': 'Field entity withdrawal'\n }, {\n 'id': 'BANNED',\n 'description': 'Entity banned, It means that received information of this entity is not going to be collected'\n }],\n 'SUBSCRIBER': [{\n 'id': 'REQUESTED',\n 'description': 'Entity requested to the supplier'\n }, {\n 'id': 'READY',\n 'description': 'Entity ready for installation'\n }, {\n 'id': 'REPAIR',\n 'description': 'Entity under repair'\n }, {\n 'id': 'TESTING',\n 'description': 'Entity in tests'\n }, {\n 'id': 'ACTIVE',\n 'description': 'Field deployed entity'\n }, {\n 'id': 'SUSPENDED',\n 'description': 'Suspended its operation'\n }, {\n 'id': 'DELETED',\n 'description': 'Entity removed from available stock'\n }, {\n 'id': 'RETIRED',\n 'description': 'Field entity withdrawal'\n }, {\n 'id': 'BANNED',\n 'description': 'Entity banned, It means that received information of this entity is not going to be collected'\n }],\n 'SUBSCRIPTION': [{\n 'id': 'REQUESTED',\n 'description': 'Entity requested to the supplier'\n }, {\n 'id': 'READY',\n 'description': 'Entity ready for installation'\n }, {\n 'id': 'REPAIR',\n 'description': 'Entity under repair'\n }, {\n 'id': 'TESTING',\n 'description': 'Entity in tests'\n }, {\n 'id': 'ACTIVE',\n 'description': 'Field deployed entity'\n }, {\n 'id': 'SUSPENDED',\n 'description': 'Suspended its operation'\n }, {\n 'id': 'DELETED',\n 'description': 'Entity removed from available stock'\n }, {\n 'id': 'RETIRED',\n 'description': 'Field entity withdrawal'\n }, {\n 'id': 'BANNED',\n 'description': 'Entity banned, It means that received information of this entity is not going to be collected'\n }],\n 'CERTIFICATE': [{\n 'id': 'NOT_ACTIVE',\n 'description': 'NOT_ACTIVE'\n }, {\n 'id': 'ACTIVE',\n 'description': 'ACTIVE'\n }, {\n 'id': 'REVOKED',\n 'description': 'REVOKED'\n }, {\n 'id': 'EXPIRED',\n 'description': 'EXPIRED'\n }]\n },\n 'operationalStatus': {\n 'ASSET': ['UNKNOWN', 'NORMAL', 'ALARM', 'DOWN', 'SAFE_MODE', 'TAMPER', 'TEST'],\n 'GATEWAY': ['UNKNOWN', 'NORMAL', 'ALARM', 'DOWN', 'SAFE_MODE', 'TAMPER', 'TEST'],\n 'COMMUNICATIONS_MODULE': ['UNKNOWN', 'STOPPED', 'STARTING', 'RUNNING', 'STOPPING', 'ERROR']\n },\n 'communicationsModuleType': {\n 'ADSL': {\n 'COMMUNICATIONS_MODULE': {\n 'mandatory': ['generatedEntityKey'],\n 'optional': ['IMEI', 'HARDWARE', 'SOFTWARE']\n },\n 'SUBSCRIPTION': {\n 'mandatory': [],\n 'optional': ['generatedEntityKey', 'subscriptionName', 'administrativeState', 'description', 'ADDRESS', 'HOME_OPERATOR', 'LOCATION']\n }\n },\n 'CAN': {\n 'COMMUNICATIONS_MODULE': {\n 'mandatory': ['entityKey'],\n 'optional': []\n }\n },\n 'ETH': {\n 'COMMUNICATIONS_MODULE': {\n 'mandatory': ['generatedEntityKey'],\n 'optional': ['HARDWARE', 'SOFTWARE']\n },\n 'SUBSCRIPTION': {\n 'mandatory': ['generatedEntityKey'],\n 'optional': ['subscriptionName', 'description', 'administrativeState', 'ADDRESS']\n }\n },\n 'GENERIC': {\n 'COMMUNICATIONS_MODULE': {\n 'mandatory': ['generatedEntityKey'],\n 'optional': ['IMEI', 'HARDWARE', 'SOFTWARE']\n },\n 'SUBSCRIPTION': {\n 'mandatory': [],\n 'optional': ['generatedEntityKey', 'subscriptionName', 'description', 'administrativeState', 'IMSI', 'ADDRESS', 'HOME_OPERATOR', 'REGISTER_OPERATOR', 'MSISDN', 'LOCATION']\n },\n 'SUBSCRIBER': {\n 'mandatory': [],\n 'optional': ['generatedEntityKey', 'subscriberName', 'description', 'administrativeState', 'ICC', 'SERIAL_NUMBER']\n }\n },\n 'GSM': {\n 'COMMUNICATIONS_MODULE': {\n 'mandatory': ['generatedEntityKey'],\n 'optional': ['IMEI', 'HARDWARE', 'SOFTWARE']\n },\n 'SUBSCRIPTION': {\n 'mandatory': [],\n 'optional': ['generatedEntityKey', 'subscriptionName', 'description', 'administrativeState', 'IMSI', 'ADDRESS', 'HOME_OPERATOR', 'REGISTER_OPERATOR', 'MSISDN', 'LOCATION']\n },\n 'SUBSCRIBER': {\n 'mandatory': [],\n 'optional': ['generatedEntityKey', 'subscriberName', 'description', 'administrativeState', 'ICC']\n }\n },\n 'HAN': {\n 'COMMUNICATIONS_MODULE': {\n 'mandatory': ['entityKey'],\n 'optional': []\n }\n },\n 'I2C': {\n 'COMMUNICATIONS_MODULE': {\n 'mandatory': ['entityKey'],\n 'optional': []\n }\n },\n 'LOWPAN': {\n 'COMMUNICATIONS_MODULE': {\n 'mandatory': ['generatedEntityKey'],\n 'optional': ['HARDWARE', 'SOFTWARE']\n },\n 'SUBSCRIPTION': {\n 'mandatory': ['generatedEntityKey'],\n 'optional': ['administrativeState', 'subscriptionName', 'description']\n }\n },\n 'LTE_M': {\n 'COMMUNICATIONS_MODULE': {\n 'mandatory': ['generatedEntityKey'],\n 'optional': ['IMEI', 'HARDWARE', 'SOFTWARE']\n },\n 'SUBSCRIPTION': {\n 'mandatory': [],\n 'optional': ['generatedEntityKey', 'subscriptionName', 'administrativeState', 'description', 'IMSI', 'ADDRESS', 'HOME_OPERATOR', 'REGISTER_OPERATOR', 'MSISDN', 'LOCATION', 'RADIUS_USERNAME', 'RADIUS_PASSWORD', 'RADIUS_FRAMED_IP_NETMASK', 'MSISDN_VOICE']\n },\n 'SUBSCRIBER': {\n 'mandatory': [],\n 'optional': ['generatedEntityKey', 'subscriberName', 'administrativeState', 'description', 'ICC']\n }\n },\n 'MESH': {\n 'COMMUNICATIONS_MODULE': {\n 'mandatory': ['generatedEntityKey'],\n 'optional': ['HARDWARE', 'SOFTWARE']\n }\n },\n 'MOBILE': {\n 'COMMUNICATIONS_MODULE': {\n 'mandatory': ['generatedEntityKey'],\n 'optional': ['IMEI', 'HARDWARE', 'SOFTWARE']\n },\n 'SUBSCRIPTION': {\n 'mandatory': [],\n 'optional': ['generatedEntityKey', 'subscriptionName', 'administrativeState', 'description', 'IMSI', 'ADDRESS', 'HOME_OPERATOR', 'REGISTER_OPERATOR', 'MSISDN', 'LOCATION', 'RADIUS_USERNAME', 'RADIUS_PASSWORD', 'RADIUS_FRAMED_IP_NETMASK', 'MSISDN_VOICE', 'SUBSCRIPTION_ICC']\n },\n 'SUBSCRIBER': {\n 'mandatory': [],\n 'optional': ['generatedEntityKey', 'subscriberName', 'administrativeState', 'description', 'ICC']\n }\n },\n 'MULTIMOBILE': {\n 'COMMUNICATIONS_MODULE': {\n 'mandatory': ['generatedEntityKey'],\n 'optional': ['IMEI', 'HARDWARE', 'SOFTWARE']\n },\n 'SUBSCRIPTION': {\n 'mandatory': [],\n 'optional': ['generatedEntityKey', 'subscriptionName', 'administrativeState', 'description', 'IMSI', 'ADDRESS', 'HOME_OPERATOR', 'REGISTER_OPERATOR', 'MSISDN', 'LOCATION', 'RADIUS_USERNAME', 'RADIUS_PASSWORD', 'RADIUS_FRAMED_IP_NETMASK', 'MSISDN_VOICE', 'SUBSCRIPTION_ICC']\n },\n 'SUBSCRIBER': {\n 'mandatory': [],\n 'optional': ['generatedEntityKey', 'subscriberName', 'administrativeState', 'description', 'ICC']\n }\n },\n 'NARROWBAND': {\n 'COMMUNICATIONS_MODULE': {\n 'mandatory': ['generatedEntityKey'],\n 'optional': ['IMEI', 'HARDWARE', 'SOFTWARE']\n },\n 'SUBSCRIPTION': {\n 'mandatory': [],\n 'optional': ['generatedEntityKey', 'administrativeState', 'subscriptionName', 'description', 'IMSI', 'ADDRESS', 'HOME_OPERATOR', 'REGISTER_OPERATOR', 'LOCATION']\n },\n 'SUBSCRIBER': {\n 'mandatory': [],\n 'optional': ['generatedEntityKey', 'administrativeState', 'subscriberName', 'description', 'ICC']\n }\n },\n 'PLC': {\n 'COMMUNICATIONS_MODULE': {\n 'mandatory': ['generatedEntityKey'],\n 'optional': ['HARDWARE', 'SOFTWARE']\n },\n 'SUBSCRIPTION': {\n 'mandatory': ['generatedEntityKey'],\n 'optional': ['administrativeState', 'subscriptionName', 'description']\n }\n },\n 'RS232': {\n 'COMMUNICATIONS_MODULE': {\n 'mandatory': ['entityKey'],\n 'optional': []\n }\n },\n 'RS422': {\n 'COMMUNICATIONS_MODULE': {\n 'mandatory': ['entityKey'],\n 'optional': []\n }\n },\n 'RS485': {\n 'COMMUNICATIONS_MODULE': {\n 'mandatory': ['entityKey'],\n 'optional': []\n }\n },\n 'SIGFOX': {\n 'COMMUNICATIONS_MODULE': {\n 'mandatory': ['entityKey'],\n 'optional': ['PAC']\n },\n 'SUBSCRIPTION': {\n 'mandatory': ['generatedEntityKey', 'subscriptionName', 'HOME_OPERATOR', 'administrativeState', 'description', 'SIGFOX_DEVICE_TYPE']\n }\n },\n 'ZIGBEE': {\n 'COMMUNICATIONS_MODULE': {\n 'mandatory': ['generatedEntityKey'],\n 'optional': ['HARDWARE', 'SOFTWARE']\n },\n 'SUBSCRIPTION': {\n 'mandatory': ['generatedEntityKey'],\n 'optional': ['administrativeState', 'subscriptionName', 'description']\n }\n }\n },\n 'ruleMode': [\n 'EASY',\n 'ADVANCED'\n ],\n 'ruleType': [\n 'DATASTREAM',\n 'OPERATION',\n 'EVENT'\n ],\n 'ruleConfigurationSeverity': [\n 'INFORMATIVE',\n 'URGENT',\n 'CRITICAL'\n ],\n 'userProfile': {\n 'root': ['admin_domain', 'admin', 'advanced', 'viewer', 'super_admin_domain'],\n 'super_admin_domain': ['admin_domain', 'admin', 'advanced', 'viewer'],\n 'admin_domain': ['admin_domain', 'admin', 'advanced', 'viewer'],\n 'admin': ['admin', 'advanced', 'viewer'],\n 'advanced': [],\n 'viewer': []\n },\n 'ioTDatastreamAccess': [\n 'READ',\n 'WRITE'\n ],\n 'ioTDatastreamStoragePeriod': [\n 'SECONDS', 'MINUTES', 'HOURS', 'DAYS', 'MONTHS', 'YEARS', 'NEVER'\n ],\n 'ioTDatastreamPeriod': [\n 'PULSE',\n 'CUMULATIVE',\n 'INSTANT'\n ],\n 'resourceType': [{\n identifier: 'entity.asset'\n }, {\n identifier: 'entity.device'\n },\n {\n identifier: 'entity.subscriber',\n },\n {\n identifier: 'entity.subscription',\n },\n {\n identifier: 'ticket'\n }],\n 'allowedResourceType': [{\n resourceType: 'entity.asset',\n types: ['entity', 'asset']\n },\n {\n resourceType: 'entity.device',\n types: ['entity', 'device']\n },\n {\n resourceType: 'entity.subscriber',\n types: ['entity', 'subscriber']\n },\n {\n resourceType: 'entity.subscription',\n types: ['entity', 'subscription']\n },\n {\n resourceType: 'ticket',\n types: ['ticket']\n },\n {\n resourceType: 'organization',\n types: ['organization']\n },\n {\n resourceType: 'channel',\n types: ['channel']\n }\n ],\n 'fieldsDefinition': {\n 'string': {\n 'description': 'Text based value',\n 'subtype': ['text', 'password']\n },\n 'boolean': {\n 'description': 'Boolean based value',\n 'subtype': []\n },\n 'calendar': {\n 'description': 'Format is described in the ISO 8601 or in http://www.w3.org/TR/NOTE-datetime',\n 'subtype': ['datetime', 'date', 'time']\n },\n 'address': {\n 'description': 'Network address value',\n 'subtype': ['ip', 'ipv4', 'ipv6', 'mac48']\n },\n 'number': {\n 'description': 'Numeric value',\n 'subtype': ['integer', 'float', 'percentage']\n },\n 'enumeration': {\n 'description': 'Choice list values',\n 'subtype': ['string', 'number']\n },\n 'array': {\n 'description': 'Array of values',\n 'subtype': ['string', 'number']\n },\n 'coordinates': {\n 'description': 'Object indicating coordinates and timestamp in geotime subtype',\n 'subtype': ['geo', 'geotime', 'geojson']\n },\n 'topology': {\n 'description': 'Object indicating relations',\n 'subtype': ['path', 'tree (not supported yet)']\n },\n 'object': {\n 'description': 'Not yet supported. For future uses only',\n 'subtype': []\n }\n },\n 'userLanguages': [{\n 'code': 'es',\n 'language': 'Español/Spanish'\n },\n {\n 'code': 'en',\n 'language': 'Inglés/English'\n }\n ],\n 'countryCodes': [{\n 'code': 'AD',\n 'country': 'Andorra',\n 'zone': 'Europe/Andorra'\n },\n {\n 'code': 'AE',\n 'country': 'United Arab Emirates',\n 'zone': 'Asia/Dubai'\n },\n {\n 'code': 'AF',\n 'country': 'Afghanistan',\n 'zone': 'Asia/Kabul'\n },\n {\n 'code': 'AG',\n 'country': 'Antigua and Barbuda',\n 'zone': 'America/Antigua'\n },\n {\n 'code': 'AI',\n 'country': 'Anguilla',\n 'zone': 'America/Anguilla'\n },\n {\n 'code': 'AL',\n 'country': 'Albania',\n 'zone': 'Europe/Tirane'\n },\n {\n 'code': 'AM',\n 'country': 'Armenia',\n 'zone': 'Asia/Yerevan'\n },\n {\n 'code': 'AN',\n 'country': 'Netherlands Antilles',\n 'zone': 'Netherlands Antilles'\n },\n {\n 'code': 'AO',\n 'country': 'Angola',\n 'zone': 'Africa/Luanda'\n },\n {\n 'code': 'AQ',\n 'country': 'Antarctica',\n 'zone': 'Antarctica/McMurdo'\n },\n {\n 'code': 'AR',\n 'country': 'Argentina',\n 'zone': 'America/Argentina/Buenos_Aires'\n },\n {\n 'code': 'AS',\n 'country': 'American Samoa',\n 'zone': 'Pacific/Pago_Pago'\n },\n {\n 'code': 'AT',\n 'country': 'Austria',\n 'zone': 'Europe/Vienna'\n },\n {\n 'code': 'AU',\n 'country': 'Australia',\n 'zone': 'Australia/Lord_Howe'\n },\n {\n 'code': 'AW',\n 'country': 'Aruba',\n 'zone': 'America/Aruba'\n },\n {\n 'code': 'AX',\n 'country': 'Aland Islands',\n 'zone': 'Europe/Mariehamn'\n },\n {\n 'code': 'AZ',\n 'country': 'Azerbaijan',\n 'zone': 'Asia/Baku'\n },\n {\n 'code': 'BA',\n 'country': 'Bosnia and Herzegovina',\n 'zone': 'Europe/Sarajevo'\n },\n {\n 'code': 'BB',\n 'country': 'Barbados',\n 'zone': 'America/Barbados'\n },\n {\n 'code': 'BD',\n 'country': 'Bangladesh',\n 'zone': 'Asia/Dhaka'\n },\n {\n 'code': 'BE',\n 'country': 'Belgium',\n 'zone': 'Europe/Brussels'\n },\n {\n 'code': 'BF',\n 'country': 'Burkina Faso',\n 'zone': 'Africa/Ouagadougou'\n },\n {\n 'code': 'BG',\n 'country': 'Bulgaria',\n 'zone': 'Europe/Sofia'\n },\n {\n 'code': 'BH',\n 'country': 'Bahrain',\n 'zone': 'Asia/Bahrain'\n },\n {\n 'code': 'BI',\n 'country': 'Burundi',\n 'zone': 'Africa/Bujumbura'\n },\n {\n 'code': 'BJ',\n 'country': 'Benin',\n 'zone': 'Africa/Porto-Novo'\n },\n {\n 'code': 'BL',\n 'country': 'Saint Barthélemy',\n 'zone': 'America/St_Barthelemy'\n },\n {\n 'code': 'BM',\n 'country': 'Bermuda',\n 'zone': 'Atlantic/Bermuda'\n },\n {\n 'code': 'BN',\n 'country': 'Brunei',\n 'zone': 'Asia/Brunei'\n },\n {\n 'code': 'BO',\n 'country': 'Bolivia',\n 'zone': 'America/La_Paz'\n },\n {\n 'code': 'BQ',\n 'country': 'Bonaire, Saint Eustatius and Saba',\n 'zone': 'America/Kralendijk'\n },\n {\n 'code': 'BR',\n 'country': 'Brazil',\n 'zone': 'America/Noronha'\n },\n {\n 'code': 'BS',\n 'country': 'Bahamas',\n 'zone': 'America/Nassau'\n },\n {\n 'code': 'BT',\n 'country': 'Bhutan',\n 'zone': 'Asia/Thimphu'\n },\n {\n 'code': 'BV',\n 'country': 'Bouvet Island',\n 'zone': 'Bouvet Island'\n },\n {\n 'code': 'BW',\n 'country': 'Botswana',\n 'zone': 'Africa/Gaborone'\n },\n {\n 'code': 'BY',\n 'country': 'Belarus',\n 'zone': 'Europe/Minsk'\n },\n {\n 'code': 'BZ',\n 'country': 'Belize',\n 'zone': 'America/Belize'\n },\n {\n 'code': 'CA',\n 'country': 'Canada',\n 'zone': 'America/St_Johns'\n },\n {\n 'code': 'CC',\n 'country': 'Cocos Islands',\n 'zone': 'Indian/Cocos'\n },\n {\n 'code': 'CD',\n 'country': 'Democratic Republic of the Congo',\n 'zone': 'Africa/Kinshasa'\n },\n {\n 'code': 'CF',\n 'country': 'Central African Republic',\n 'zone': 'Africa/Bangui'\n },\n {\n 'code': 'CG',\n 'country': 'Republic of the Congo',\n 'zone': 'Africa/Brazzaville'\n },\n {\n 'code': 'CH',\n 'country': 'Switzerland',\n 'zone': 'Europe/Zurich'\n },\n {\n 'code': 'CI',\n 'country': 'Ivory Coast',\n 'zone': 'Africa/Abidjan'\n },\n {\n 'code': 'CK',\n 'country': 'Cook Islands',\n 'zone': 'Pacific/Rarotonga'\n },\n {\n 'code': 'CL',\n 'country': 'Chile',\n 'zone': 'America/Santiago'\n },\n {\n 'code': 'CM',\n 'country': 'Cameroon',\n 'zone': 'Africa/Douala'\n },\n {\n 'code': 'CN',\n 'country': 'China',\n 'zone': 'Asia/Shanghai'\n },\n {\n 'code': 'CO',\n 'country': 'Colombia',\n 'zone': 'America/Bogota'\n },\n {\n 'code': 'CR',\n 'country': 'Costa Rica',\n 'zone': 'America/Costa_Rica'\n },\n {\n 'code': 'CS',\n 'country': 'Serbia and Montenegro',\n 'zone': 'Serbia and Montenegro'\n },\n {\n 'code': 'CU',\n 'country': 'Cuba',\n 'zone': 'America/Havana'\n },\n {\n 'code': 'CV',\n 'country': 'Cape Verde',\n 'zone': 'Atlantic/Cape_Verde'\n },\n {\n 'code': 'CW',\n 'country': 'Curaçao',\n 'zone': 'America/Curacao'\n },\n {\n 'code': 'CX',\n 'country': 'Christmas Island',\n 'zone': 'Indian/Christmas'\n },\n {\n 'code': 'CY',\n 'country': 'Cyprus',\n 'zone': 'Asia/Nicosia'\n },\n {\n 'code': 'CZ',\n 'country': 'Czech Republic',\n 'zone': 'Europe/Prague'\n },\n {\n 'code': 'DE',\n 'country': 'Germany',\n 'zone': 'Europe/Berlin'\n },\n {\n 'code': 'DJ',\n 'country': 'Djibouti',\n 'zone': 'Africa/Djibouti'\n },\n {\n 'code': 'DK',\n 'country': 'Denmark',\n 'zone': 'Europe/Copenhagen'\n },\n {\n 'code': 'DM',\n 'country': 'Dominica',\n 'zone': 'America/Dominica'\n },\n {\n 'code': 'DO',\n 'country': 'Dominican Republic',\n 'zone': 'America/Santo_Domingo'\n },\n {\n 'code': 'DZ',\n 'country': 'Algeria',\n 'zone': 'Africa/Algiers'\n },\n {\n 'code': 'EC',\n 'country': 'Ecuador',\n 'zone': 'America/Guayaquil'\n },\n {\n 'code': 'EE',\n 'country': 'Estonia',\n 'zone': 'Europe/Tallinn'\n },\n {\n 'code': 'EG',\n 'country': 'Egypt',\n 'zone': 'Africa/Cairo'\n },\n {\n 'code': 'EH',\n 'country': 'Western Sahara',\n 'zone': 'Africa/El_Aaiun'\n },\n {\n 'code': 'ER',\n 'country': 'Eritrea',\n 'zone': 'Africa/Asmara'\n },\n {\n 'code': 'ES',\n 'country': 'Spain',\n 'zone': 'Europe/Madrid'\n },\n {\n 'code': 'ET',\n 'country': 'Ethiopia',\n 'zone': 'Africa/Addis_Ababa'\n },\n {\n 'code': 'FI',\n 'country': 'Finland',\n 'zone': 'Europe/Helsinki'\n },\n {\n 'code': 'FJ',\n 'country': 'Fiji',\n 'zone': 'Pacific/Fiji'\n },\n {\n 'code': 'FK',\n 'country': 'Falkland Islands',\n 'zone': 'Atlantic/Stanley'\n },\n {\n 'code': 'FM',\n 'country': 'Micronesia',\n 'zone': 'Pacific/Chuuk'\n },\n {\n 'code': 'FO',\n 'country': 'Faroe Islands',\n 'zone': 'Atlantic/Faroe'\n },\n {\n 'code': 'FR',\n 'country': 'France',\n 'zone': 'Europe/Paris'\n },\n {\n 'code': 'GA',\n 'country': 'Gabon',\n 'zone': 'Africa/Libreville'\n },\n {\n 'code': 'GB',\n 'country': 'United Kingdom',\n 'zone': 'Europe/London'\n },\n {\n 'code': 'GD',\n 'country': 'Grenada',\n 'zone': 'America/Grenada'\n },\n {\n 'code': 'GE',\n 'country': 'Georgia',\n 'zone': 'Asia/Tbilisi'\n },\n {\n 'code': 'GF',\n 'country': 'French Guiana',\n 'zone': 'America/Cayenne'\n },\n {\n 'code': 'GG',\n 'country': 'Guernsey',\n 'zone': 'Europe/Guernsey'\n },\n {\n 'code': 'GH',\n 'country': 'Ghana',\n 'zone': 'Africa/Accra'\n },\n {\n 'code': 'GI',\n 'country': 'Gibraltar',\n 'zone': 'Europe/Gibraltar'\n },\n {\n 'code': 'GL',\n 'country': 'Greenland',\n 'zone': 'America/Godthab'\n },\n {\n 'code': 'GM',\n 'country': 'Gambia',\n 'zone': 'Africa/Banjul'\n },\n {\n 'code': 'GN',\n 'country': 'Guinea',\n 'zone': 'Africa/Conakry'\n },\n {\n 'code': 'GP',\n 'country': 'Guadeloupe',\n 'zone': 'America/Guadeloupe'\n },\n {\n 'code': 'GQ',\n 'country': 'Equatorial Guinea',\n 'zone': 'Africa/Malabo'\n },\n {\n 'code': 'GR',\n 'country': 'Greece',\n 'zone': 'Europe/Athens'\n },\n {\n 'code': 'GS',\n 'country': 'South Georgia and the South Sandwich Islands',\n 'zone': 'Atlantic/South_Georgia'\n },\n {\n 'code': 'GT',\n 'country': 'Guatemala',\n 'zone': 'America/Guatemala'\n },\n {\n 'code': 'GU',\n 'country': 'Guam',\n 'zone': 'Pacific/Guam'\n },\n {\n 'code': 'GW',\n 'country': 'Guinea-Bissau',\n 'zone': 'Africa/Bissau'\n },\n {\n 'code': 'GY',\n 'country': 'Guyana',\n 'zone': 'America/Guyana'\n },\n {\n 'code': 'HK',\n 'country': 'Hong Kong',\n 'zone': 'Asia/Hong_Kong'\n },\n {\n 'code': 'HM',\n 'country': 'Heard Island and McDonald Islands',\n 'zone': 'Heard Island and McDonald Islands'\n },\n {\n 'code': 'HN',\n 'country': 'Honduras',\n 'zone': 'America/Tegucigalpa'\n },\n {\n 'code': 'HR',\n 'country': 'Croatia',\n 'zone': 'Europe/Zagreb'\n },\n {\n 'code': 'HT',\n 'country': 'Haiti',\n 'zone': 'America/Port-au-Prince'\n },\n {\n 'code': 'HU',\n 'country': 'Hungary',\n 'zone': 'Europe/Budapest'\n },\n {\n 'code': 'ID',\n 'country': 'Indonesia',\n 'zone': 'Asia/Jakarta'\n },\n {\n 'code': 'IE',\n 'country': 'Ireland',\n 'zone': 'Europe/Dublin'\n },\n {\n 'code': 'IL',\n 'country': 'Israel',\n 'zone': 'Asia/Jerusalem'\n },\n {\n 'code': 'IM',\n 'country': 'Isle of Man',\n 'zone': 'Europe/Isle_of_Man'\n },\n {\n 'code': 'IN',\n 'country': 'India',\n 'zone': 'Asia/Kolkata'\n },\n {\n 'code': 'IO',\n 'country': 'British Indian Ocean Territory',\n 'zone': 'Indian/Chagos'\n },\n {\n 'code': 'IQ',\n 'country': 'Iraq',\n 'zone': 'Asia/Baghdad'\n },\n {\n 'code': 'IR',\n 'country': 'Iran',\n 'zone': 'Asia/Tehran'\n },\n {\n 'code': 'IS',\n 'country': 'Iceland',\n 'zone': 'Atlantic/Reykjavik'\n },\n {\n 'code': 'IT',\n 'country': 'Italy',\n 'zone': 'Europe/Rome'\n },\n {\n 'code': 'JE',\n 'country': 'Jersey',\n 'zone': 'Europe/Jersey'\n },\n {\n 'code': 'JM',\n 'country': 'Jamaica',\n 'zone': 'America/Jamaica'\n },\n {\n 'code': 'JO',\n 'country': 'Jordan',\n 'zone': 'Asia/Amman'\n },\n {\n 'code': 'JP',\n 'country': 'Japan',\n 'zone': 'Asia/Tokyo'\n },\n {\n 'code': 'KE',\n 'country': 'Kenya',\n 'zone': 'Africa/Nairobi'\n },\n {\n 'code': 'KG',\n 'country': 'Kyrgyzstan',\n 'zone': 'Asia/Bishkek'\n },\n {\n 'code': 'KH',\n 'country': 'Cambodia',\n 'zone': 'Asia/Phnom_Penh'\n },\n {\n 'code': 'KI',\n 'country': 'Kiribati',\n 'zone': 'Pacific/Tarawa'\n },\n {\n 'code': 'KM',\n 'country': 'Comoros',\n 'zone': 'Indian/Comoro'\n },\n {\n 'code': 'KN',\n 'country': 'Saint Kitts and Nevis',\n 'zone': 'America/St_Kitts'\n },\n {\n 'code': 'KP',\n 'country': 'North Korea',\n 'zone': 'Asia/Pyongyang'\n },\n {\n 'code': 'KR',\n 'country': 'South Korea',\n 'zone': 'Asia/Seoul'\n },\n {\n 'code': 'KW',\n 'country': 'Kuwait',\n 'zone': 'Asia/Kuwait'\n },\n {\n 'code': 'KY',\n 'country': 'Cayman Islands',\n 'zone': 'America/Cayman'\n },\n {\n 'code': 'KZ',\n 'country': 'Kazakhstan',\n 'zone': 'Asia/Almaty'\n },\n {\n 'code': 'LA',\n 'country': 'Laos',\n 'zone': 'Asia/Vientiane'\n },\n {\n 'code': 'LB',\n 'country': 'Lebanon',\n 'zone': 'Asia/Beirut'\n },\n {\n 'code': 'LC',\n 'country': 'Saint Lucia',\n 'zone': 'America/St_Lucia'\n },\n {\n 'code': 'LI',\n 'country': 'Liechtenstein',\n 'zone': 'Europe/Vaduz'\n },\n {\n 'code': 'LK',\n 'country': 'Sri Lanka',\n 'zone': 'Asia/Colombo'\n },\n {\n 'code': 'LR',\n 'country': 'Liberia',\n 'zone': 'Africa/Monrovia'\n },\n {\n 'code': 'LS',\n 'country': 'Lesotho',\n 'zone': 'Africa/Maseru'\n },\n {\n 'code': 'LT',\n 'country': 'Lithuania',\n 'zone': 'Europe/Vilnius'\n },\n {\n 'code': 'LU',\n 'country': 'Luxembourg',\n 'zone': 'Europe/Luxembourg'\n },\n {\n 'code': 'LV',\n 'country': 'Latvia',\n 'zone': 'Europe/Riga'\n },\n {\n 'code': 'LY',\n 'country': 'Libya',\n 'zone': 'Africa/Tripoli'\n },\n {\n 'code': 'MA',\n 'country': 'Morocco',\n 'zone': 'Africa/Casablanca'\n },\n {\n 'code': 'MC',\n 'country': 'Monaco',\n 'zone': 'Europe/Monaco'\n },\n {\n 'code': 'MD',\n 'country': 'Moldova',\n 'zone': 'Europe/Chisinau'\n },\n {\n 'code': 'ME',\n 'country': 'Montenegro',\n 'zone': 'Europe/Podgorica'\n },\n {\n 'code': 'MF',\n 'country': 'Saint Martin',\n 'zone': 'America/Marigot'\n },\n {\n 'code': 'MG',\n 'country': 'Madagascar',\n 'zone': 'Indian/Antananarivo'\n },\n {\n 'code': 'MH',\n 'country': 'Marshall Islands',\n 'zone': 'Pacific/Majuro'\n },\n {\n 'code': 'MK',\n 'country': 'Macedonia',\n 'zone': 'Europe/Skopje'\n },\n {\n 'code': 'ML',\n 'country': 'Mali',\n 'zone': 'Africa/Bamako'\n },\n {\n 'code': 'MM',\n 'country': 'Myanmar',\n 'zone': 'Asia/Yangon'\n },\n {\n 'code': 'MN',\n 'country': 'Mongolia',\n 'zone': 'Asia/Ulaanbaatar'\n },\n {\n 'code': 'MO',\n 'country': 'Macao',\n 'zone': 'Asia/Macau'\n },\n {\n 'code': 'MP',\n 'country': 'Northern Mariana Islands',\n 'zone': 'Pacific/Saipan'\n },\n {\n 'code': 'MQ',\n 'country': 'Martinique',\n 'zone': 'America/Martinique'\n },\n {\n 'code': 'MR',\n 'country': 'Mauritania',\n 'zone': 'Africa/Nouakchott'\n },\n {\n 'code': 'MS',\n 'country': 'Montserrat',\n 'zone': 'America/Montserrat'\n },\n {\n 'code': 'MT',\n 'country': 'Malta',\n 'zone': 'Europe/Malta'\n },\n {\n 'code': 'MU',\n 'country': 'Mauritius',\n 'zone': 'Indian/Mauritius'\n },\n {\n 'code': 'MV',\n 'country': 'Maldives',\n 'zone': 'Indian/Maldives'\n },\n {\n 'code': 'MW',\n 'country': 'Malawi',\n 'zone': 'Africa/Blantyre'\n },\n {\n 'code': 'MX',\n 'country': 'Mexico',\n 'zone': 'America/Mexico_City'\n },\n {\n 'code': 'MY',\n 'country': 'Malaysia',\n 'zone': 'Asia/Kuala_Lumpur'\n },\n {\n 'code': 'MZ',\n 'country': 'Mozambique',\n 'zone': 'Africa/Maputo'\n },\n {\n 'code': 'NA',\n 'country': 'Namibia',\n 'zone': 'Africa/Windhoek'\n },\n {\n 'code': 'NC',\n 'country': 'New Caledonia',\n 'zone': 'Pacific/Noumea'\n },\n {\n 'code': 'NE',\n 'country': 'Niger',\n 'zone': 'Africa/Niamey'\n },\n {\n 'code': 'NF',\n 'country': 'Norfolk Island',\n 'zone': 'Pacific/Norfolk'\n },\n {\n 'code': 'NG',\n 'country': 'Nigeria',\n 'zone': 'Africa/Lagos'\n },\n {\n 'code': 'NI',\n 'country': 'Nicaragua',\n 'zone': 'America/Managua'\n },\n {\n 'code': 'NL',\n 'country': 'Netherlands',\n 'zone': 'Europe/Amsterdam'\n },\n {\n 'code': 'NO',\n 'country': 'Norway',\n 'zone': 'Europe/Oslo'\n },\n {\n 'code': 'NP',\n 'country': 'Nepal',\n 'zone': 'Asia/Kathmandu'\n },\n {\n 'code': 'NR',\n 'country': 'Nauru',\n 'zone': 'Pacific/Nauru'\n },\n {\n 'code': 'NU',\n 'country': 'Niue',\n 'zone': 'Pacific/Niue'\n },\n {\n 'code': 'NZ',\n 'country': 'New Zealand',\n 'zone': 'Pacific/Auckland'\n },\n {\n 'code': 'OM',\n 'country': 'Oman',\n 'zone': 'Asia/Muscat'\n },\n {\n 'code': 'PA',\n 'country': 'Panama',\n 'zone': 'America/Panama'\n },\n {\n 'code': 'PE',\n 'country': 'Peru',\n 'zone': 'America/Lima'\n },\n {\n 'code': 'PF',\n 'country': 'French Polynesia',\n 'zone': 'Pacific/Tahiti'\n },\n {\n 'code': 'PG',\n 'country': 'Papua New Guinea',\n 'zone': 'Pacific/Port_Moresby'\n },\n {\n 'code': 'PH',\n 'country': 'Philippines',\n 'zone': 'Asia/Manila'\n },\n {\n 'code': 'PK',\n 'country': 'Pakistan',\n 'zone': 'Asia/Karachi'\n },\n {\n 'code': 'PL',\n 'country': 'Poland',\n 'zone': 'Europe/Warsaw'\n },\n {\n 'code': 'PM',\n 'country': 'Saint Pierre and Miquelon',\n 'zone': 'America/Miquelon'\n },\n {\n 'code': 'PN',\n 'country': 'Pitcairn',\n 'zone': 'Pacific/Pitcairn'\n },\n {\n 'code': 'PR',\n 'country': 'Puerto Rico',\n 'zone': 'America/Puerto_Rico'\n },\n {\n 'code': 'PS',\n 'country': 'Palestinian Territory',\n 'zone': 'Asia/Gaza'\n },\n {\n 'code': 'PT',\n 'country': 'Portugal',\n 'zone': 'Europe/Lisbon'\n },\n {\n 'code': 'PW',\n 'country': 'Palau',\n 'zone': 'Pacific/Palau'\n },\n {\n 'code': 'PY',\n 'country': 'Paraguay',\n 'zone': 'America/Asuncion'\n },\n {\n 'code': 'QA',\n 'country': 'Qatar',\n 'zone': 'Asia/Qatar'\n },\n {\n 'code': 'RE',\n 'country': 'Reunion',\n 'zone': 'Indian/Reunion'\n },\n {\n 'code': 'RO',\n 'country': 'Romania',\n 'zone': 'Europe/Bucharest'\n },\n {\n 'code': 'RS',\n 'country': 'Serbia',\n 'zone': 'Europe/Belgrade'\n },\n {\n 'code': 'RU',\n 'country': 'Russia',\n 'zone': 'Europe/Kaliningrad'\n },\n {\n 'code': 'RW',\n 'country': 'Rwanda',\n 'zone': 'Africa/Kigali'\n },\n {\n 'code': 'SA',\n 'country': 'Saudi Arabia',\n 'zone': 'Asia/Riyadh'\n },\n {\n 'code': 'SB',\n 'country': 'Solomon Islands',\n 'zone': 'Pacific/Guadalcanal'\n },\n {\n 'code': 'SC',\n 'country': 'Seychelles',\n 'zone': 'Indian/Mahe'\n },\n {\n 'code': 'SD',\n 'country': 'Sudan',\n 'zone': 'Africa/Khartoum'\n },\n {\n 'code': 'SE',\n 'country': 'Sweden',\n 'zone': 'Europe/Stockholm'\n },\n {\n 'code': 'SG',\n 'country': 'Singapore',\n 'zone': 'Asia/Singapore'\n },\n {\n 'code': 'SH',\n 'country': 'Saint Helena',\n 'zone': 'Atlantic/St_Helena'\n },\n {\n 'code': 'SI',\n 'country': 'Slovenia',\n 'zone': 'Europe/Ljubljana'\n },\n {\n 'code': 'SJ',\n 'country': 'Svalbard and Jan Mayen',\n 'zone': 'Arctic/Longyearbyen'\n },\n {\n 'code': 'SK',\n 'country': 'Slovakia',\n 'zone': 'Europe/Bratislava'\n },\n {\n 'code': 'SL',\n 'country': 'Sierra Leone',\n 'zone': 'Africa/Freetown'\n },\n {\n 'code': 'SM',\n 'country': 'San Marino',\n 'zone': 'Europe/San_Marino'\n },\n {\n 'code': 'SN',\n 'country': 'Senegal',\n 'zone': 'Africa/Dakar'\n },\n {\n 'code': 'SO',\n 'country': 'Somalia',\n 'zone': 'Africa/Mogadishu'\n },\n {\n 'code': 'SR',\n 'country': 'Suriname',\n 'zone': 'America/Paramaribo'\n },\n {\n 'code': 'SS',\n 'country': 'South Sudan',\n 'zone': 'Africa/Juba'\n },\n {\n 'code': 'ST',\n 'country': 'Sao Tome and Principe',\n 'zone': 'Africa/Sao_Tome'\n },\n {\n 'code': 'SV',\n 'country': 'El Salvador',\n 'zone': 'America/El_Salvador'\n },\n {\n 'code': 'SX',\n 'country': 'Sint Maarten',\n 'zone': 'America/Lower_Princes'\n },\n {\n 'code': 'SY',\n 'country': 'Syria',\n 'zone': 'Asia/Damascus'\n },\n {\n 'code': 'SZ',\n 'country': 'Swaziland',\n 'zone': 'Africa/Mbabane'\n },\n {\n 'code': 'TC',\n 'country': 'Turks and Caicos Islands',\n 'zone': 'America/Grand_Turk'\n },\n {\n 'code': 'TD',\n 'country': 'Chad',\n 'zone': 'Africa/Ndjamena'\n },\n {\n 'code': 'TF',\n 'country': 'French Southern Territories',\n 'zone': 'Indian/Kerguelen'\n },\n {\n 'code': 'TG',\n 'country': 'Togo',\n 'zone': 'Africa/Lome'\n },\n {\n 'code': 'TH',\n 'country': 'Thailand',\n 'zone': 'Asia/Bangkok'\n },\n {\n 'code': 'TJ',\n 'country': 'Tajikistan',\n 'zone': 'Asia/Dushanbe'\n },\n {\n 'code': 'TK',\n 'country': 'Tokelau',\n 'zone': 'Pacific/Fakaofo'\n },\n {\n 'code': 'TL',\n 'country': 'East Timor',\n 'zone': 'Asia/Dili'\n },\n {\n 'code': 'TM',\n 'country': 'Turkmenistan',\n 'zone': 'Asia/Ashgabat'\n },\n {\n 'code': 'TN',\n 'country': 'Tunisia',\n 'zone': 'Africa/Tunis'\n },\n {\n 'code': 'TO',\n 'country': 'Tonga',\n 'zone': 'Pacific/Tongatapu'\n },\n {\n 'code': 'TR',\n 'country': 'Turkey',\n 'zone': 'Europe/Istanbul'\n },\n {\n 'code': 'TT',\n 'country': 'Trinidad and Tobago',\n 'zone': 'America/Port_of_Spain'\n },\n {\n 'code': 'TV',\n 'country': 'Tuvalu',\n 'zone': 'Pacific/Funafuti'\n },\n {\n 'code': 'TW',\n 'country': 'Taiwan',\n 'zone': 'Asia/Taipei'\n },\n {\n 'code': 'TZ',\n 'country': 'Tanzania',\n 'zone': 'Africa/Dar_es_Salaam'\n },\n {\n 'code': 'UA',\n 'country': 'Ukraine',\n 'zone': 'Europe/Kiev'\n },\n {\n 'code': 'UG',\n 'country': 'Uganda',\n 'zone': 'Africa/Kampala'\n },\n {\n 'code': 'UM',\n 'country': 'United States Minor Outlying Islands',\n 'zone': 'Pacific/Midway'\n },\n {\n 'code': 'US',\n 'country': 'United States',\n 'zone': 'America/New_York'\n },\n {\n 'code': 'UY',\n 'country': 'Uruguay',\n 'zone': 'America/Montevideo'\n },\n {\n 'code': 'UZ',\n 'country': 'Uzbekistan',\n 'zone': 'Asia/Samarkand'\n },\n {\n 'code': 'VA',\n 'country': 'Vatican',\n 'zone': 'Europe/Vatican'\n },\n {\n 'code': 'VC',\n 'country': 'Saint Vincent and the Grenadines',\n 'zone': 'America/St_Vincent'\n },\n {\n 'code': 'VE',\n 'country': 'Venezuela',\n 'zone': 'America/Caracas'\n },\n {\n 'code': 'VG',\n 'country': 'British Virgin Islands',\n 'zone': 'America/Tortola'\n },\n {\n 'code': 'VI',\n 'country': 'U.S. Virgin Islands',\n 'zone': 'America/St_Thomas'\n },\n {\n 'code': 'VN',\n 'country': 'Vietnam',\n 'zone': 'Asia/Ho_Chi_Minh'\n },\n {\n 'code': 'VU',\n 'country': 'Vanuatu',\n 'zone': 'Pacific/Efate'\n },\n {\n 'code': 'WF',\n 'country': 'Wallis and Futuna',\n 'zone': 'Pacific/Wallis'\n },\n {\n 'code': 'WS',\n 'country': 'Samoa',\n 'zone': 'Pacific/Apia'\n },\n {\n 'code': 'XK',\n 'country': 'Kosovo',\n 'zone': 'Kosovo'\n },\n {\n 'code': 'YE',\n 'country': 'Yemen',\n 'zone': 'Asia/Aden'\n },\n {\n 'code': 'YT',\n 'country': 'Mayotte',\n 'zone': 'Indian/Mayotte'\n },\n {\n 'code': 'ZA',\n 'country': 'South Africa',\n 'zone': 'Africa/Johannesburg'\n },\n {\n 'code': 'ZM',\n 'country': 'Zambia',\n 'zone': 'Africa/Lusaka'\n },\n {\n 'code': 'ZW',\n 'country': 'Zimbabwe',\n 'zone': 'Africa/Harare'\n }\n ],\n 'timezones': [\n 'ACT',\n 'AET',\n 'Africa/Abidjan',\n 'Africa/Accra',\n 'Africa/Addis_Ababa',\n 'Africa/Algiers',\n 'Africa/Asmara',\n 'Africa/Asmera',\n 'Africa/Bamako',\n 'Africa/Bangui',\n 'Africa/Banjul',\n 'Africa/Bissau',\n 'Africa/Blantyre',\n 'Africa/Brazzaville',\n 'Africa/Bujumbura',\n 'Africa/Cairo',\n 'Africa/Casablanca',\n 'Africa/Ceuta',\n 'Africa/Conakry',\n 'Africa/Dakar',\n 'Africa/Dar_es_Salaam',\n 'Africa/Djibouti',\n 'Africa/Douala',\n 'Africa/El_Aaiun',\n 'Africa/Freetown',\n 'Africa/Gaborone',\n 'Africa/Harare',\n 'Africa/Johannesburg',\n 'Africa/Juba',\n 'Africa/Kampala',\n 'Africa/Khartoum',\n 'Africa/Kigali',\n 'Africa/Kinshasa',\n 'Africa/Lagos',\n 'Africa/Libreville',\n 'Africa/Lome',\n 'Africa/Luanda',\n 'Africa/Lubumbashi',\n 'Africa/Lusaka',\n 'Africa/Malabo',\n 'Africa/Maputo',\n 'Africa/Maseru',\n 'Africa/Mbabane',\n 'Africa/Mogadishu',\n 'Africa/Monrovia',\n 'Africa/Nairobi',\n 'Africa/Ndjamena',\n 'Africa/Niamey',\n 'Africa/Nouakchott',\n 'Africa/Ouagadougou',\n 'Africa/Porto-Novo',\n 'Africa/Sao_Tome',\n 'Africa/Timbuktu',\n 'Africa/Tripoli',\n 'Africa/Tunis',\n 'Africa/Windhoek',\n 'AGT',\n 'America/Adak',\n 'America/Anchorage',\n 'America/Anguilla',\n 'America/Antigua',\n 'America/Araguaina',\n 'America/Argentina/Buenos_Aires',\n 'America/Argentina/Catamarca',\n 'America/Argentina/ComodRivadavia',\n 'America/Argentina/Cordoba',\n 'America/Argentina/Jujuy',\n 'America/Argentina/La_Rioja',\n 'America/Argentina/Mendoza',\n 'America/Argentina/Rio_Gallegos',\n 'America/Argentina/Salta',\n 'America/Argentina/San_Juan',\n 'America/Argentina/San_Luis',\n 'America/Argentina/Tucuman',\n 'America/Argentina/Ushuaia',\n 'America/Aruba',\n 'America/Asuncion',\n 'America/Atikokan',\n 'America/Atka',\n 'America/Bahia',\n 'America/Bahia_Banderas',\n 'America/Barbados',\n 'America/Belem',\n 'America/Belize',\n 'America/Blanc-Sablon',\n 'America/Boa_Vista',\n 'America/Bogota',\n 'America/Boise',\n 'America/Buenos_Aires',\n 'America/Cambridge_Bay',\n 'America/Campo_Grande',\n 'America/Cancun',\n 'America/Caracas',\n 'America/Catamarca',\n 'America/Cayenne',\n 'America/Cayman',\n 'America/Chicago',\n 'America/Chihuahua',\n 'America/Coral_Harbour',\n 'America/Cordoba',\n 'America/Costa_Rica',\n 'America/Creston',\n 'America/Cuiaba',\n 'America/Curacao',\n 'America/Danmarkshavn',\n 'America/Dawson',\n 'America/Dawson_Creek',\n 'America/Denver',\n 'America/Detroit',\n 'America/Dominica',\n 'America/Edmonton',\n 'America/Eirunepe',\n 'America/El_Salvador',\n 'America/Ensenada',\n 'America/Fort_Nelson',\n 'America/Fort_Wayne',\n 'America/Fortaleza',\n 'America/Glace_Bay',\n 'America/Godthab',\n 'America/Goose_Bay',\n 'America/Grand_Turk',\n 'America/Grenada',\n 'America/Guadeloupe',\n 'America/Guatemala',\n 'America/Guayaquil',\n 'America/Guyana',\n 'America/Halifax',\n 'America/Havana',\n 'America/Hermosillo',\n 'America/Indiana/Indianapolis',\n 'America/Indiana/Knox',\n 'America/Indiana/Marengo',\n 'America/Indiana/Petersburg',\n 'America/Indiana/Tell_City',\n 'America/Indiana/Vevay',\n 'America/Indiana/Vincennes',\n 'America/Indiana/Winamac',\n 'America/Indianapolis',\n 'America/Inuvik',\n 'America/Iqaluit',\n 'America/Jamaica',\n 'America/Jujuy',\n 'America/Juneau',\n 'America/Kentucky/Louisville',\n 'America/Kentucky/Monticello',\n 'America/Knox_IN',\n 'America/Kralendijk',\n 'America/La_Paz',\n 'America/Lima',\n 'America/Los_Angeles',\n 'America/Louisville',\n 'America/Lower_Princes',\n 'America/Maceio',\n 'America/Managua',\n 'America/Manaus',\n 'America/Marigot',\n 'America/Martinique',\n 'America/Matamoros',\n 'America/Mazatlan',\n 'America/Mendoza',\n 'America/Menominee',\n 'America/Merida',\n 'America/Metlakatla',\n 'America/Mexico_City',\n 'America/Miquelon',\n 'America/Moncton',\n 'America/Monterrey',\n 'America/Montevideo',\n 'America/Montreal',\n 'America/Montserrat',\n 'America/Nassau',\n 'America/New_York',\n 'America/Nipigon',\n 'America/Nome',\n 'America/Noronha',\n 'America/North_Dakota/Beulah',\n 'America/North_Dakota/Center',\n 'America/North_Dakota/New_Salem',\n 'America/Ojinaga',\n 'America/Panama',\n 'America/Pangnirtung',\n 'America/Paramaribo',\n 'America/Phoenix',\n 'America/Port_of_Spain',\n 'America/Port-au-Prince',\n 'America/Porto_Acre',\n 'America/Porto_Velho',\n 'America/Puerto_Rico',\n 'America/Rainy_River',\n 'America/Rankin_Inlet',\n 'America/Recife',\n 'America/Regina',\n 'America/Resolute',\n 'America/Rio_Branco',\n 'America/Rosario',\n 'America/Santa_Isabel',\n 'America/Santarem',\n 'America/Santiago',\n 'America/Santo_Domingo',\n 'America/Sao_Paulo',\n 'America/Scoresbysund',\n 'America/Shiprock',\n 'America/Sitka',\n 'America/St_Barthelemy',\n 'America/St_Johns',\n 'America/St_Kitts',\n 'America/St_Lucia',\n 'America/St_Thomas',\n 'America/St_Vincent',\n 'America/Swift_Current',\n 'America/Tegucigalpa',\n 'America/Thule',\n 'America/Thunder_Bay',\n 'America/Tijuana',\n 'America/Toronto',\n 'America/Tortola',\n 'America/Vancouver',\n 'America/Virgin',\n 'America/Whitehorse',\n 'America/Winnipeg',\n 'America/Yakutat',\n 'America/Yellowknife',\n 'Antarctica/Casey',\n 'Antarctica/Davis',\n 'Antarctica/DumontDUrville',\n 'Antarctica/Macquarie',\n 'Antarctica/Mawson',\n 'Antarctica/McMurdo',\n 'Antarctica/Palmer',\n 'Antarctica/Rothera',\n 'Antarctica/South_Pole',\n 'Antarctica/Syowa',\n 'Antarctica/Troll',\n 'Antarctica/Vostok',\n 'Arctic/Longyearbyen',\n 'ART',\n 'Asia/Aden',\n 'Asia/Almaty',\n 'Asia/Amman',\n 'Asia/Anadyr',\n 'Asia/Aqtau',\n 'Asia/Aqtobe',\n 'Asia/Ashgabat',\n 'Asia/Ashkhabad',\n 'Asia/Baghdad',\n 'Asia/Bahrain',\n 'Asia/Baku',\n 'Asia/Bangkok',\n 'Asia/Barnaul',\n 'Asia/Beirut',\n 'Asia/Bishkek',\n 'Asia/Brunei',\n 'Asia/Calcutta',\n 'Asia/Chita',\n 'Asia/Choibalsan',\n 'Asia/Chongqing',\n 'Asia/Chungking',\n 'Asia/Colombo',\n 'Asia/Dacca',\n 'Asia/Damascus',\n 'Asia/Dhaka',\n 'Asia/Dili',\n 'Asia/Dubai',\n 'Asia/Dushanbe',\n 'Asia/Gaza',\n 'Asia/Harbin',\n 'Asia/Hebron',\n 'Asia/Ho_Chi_Minh',\n 'Asia/Hong_Kong',\n 'Asia/Hovd',\n 'Asia/Irkutsk',\n 'Asia/Istanbul',\n 'Asia/Jakarta',\n 'Asia/Jayapura',\n 'Asia/Jerusalem',\n 'Asia/Kabul',\n 'Asia/Kamchatka',\n 'Asia/Karachi',\n 'Asia/Kashgar',\n 'Asia/Kathmandu',\n 'Asia/Katmandu',\n 'Asia/Khandyga',\n 'Asia/Kolkata',\n 'Asia/Krasnoyarsk',\n 'Asia/Kuala_Lumpur',\n 'Asia/Kuching',\n 'Asia/Kuwait',\n 'Asia/Macao',\n 'Asia/Macau',\n 'Asia/Magadan',\n 'Asia/Makassar',\n 'Asia/Manila',\n 'Asia/Muscat',\n 'Asia/Nicosia',\n 'Asia/Novokuznetsk',\n 'Asia/Novosibirsk',\n 'Asia/Omsk',\n 'Asia/Oral',\n 'Asia/Phnom_Penh',\n 'Asia/Pontianak',\n 'Asia/Pyongyang',\n 'Asia/Qatar',\n 'Asia/Qyzylorda',\n 'Asia/Rangoon',\n 'Asia/Riyadh',\n 'Asia/Saigon',\n 'Asia/Sakhalin',\n 'Asia/Samarkand',\n 'Asia/Seoul',\n 'Asia/Shanghai',\n 'Asia/Singapore',\n 'Asia/Srednekolymsk',\n 'Asia/Taipei',\n 'Asia/Tashkent',\n 'Asia/Tbilisi',\n 'Asia/Tehran',\n 'Asia/Tel_Aviv',\n 'Asia/Thimbu',\n 'Asia/Thimphu',\n 'Asia/Tokyo',\n 'Asia/Tomsk',\n 'Asia/Ujung_Pandang',\n 'Asia/Ulaanbaatar',\n 'Asia/Ulan_Bator',\n 'Asia/Urumqi',\n 'Asia/Ust-Nera',\n 'Asia/Vientiane',\n 'Asia/Vladivostok',\n 'Asia/Yakutsk',\n 'Asia/Yekaterinburg',\n 'Asia/Yerevan',\n 'AST',\n 'Atlantic/Azores',\n 'Atlantic/Bermuda',\n 'Atlantic/Canary',\n 'Atlantic/Cape_Verde',\n 'Atlantic/Faeroe',\n 'Atlantic/Faroe',\n 'Atlantic/Jan_Mayen',\n 'Atlantic/Madeira',\n 'Atlantic/Reykjavik',\n 'Atlantic/South_Georgia',\n 'Atlantic/St_Helena',\n 'Atlantic/Stanley',\n 'Australia/ACT',\n 'Australia/Adelaide',\n 'Australia/Brisbane',\n 'Australia/Broken_Hill',\n 'Australia/Canberra',\n 'Australia/Currie',\n 'Australia/Darwin',\n 'Australia/Eucla',\n 'Australia/Hobart',\n 'Australia/LHI',\n 'Australia/Lindeman',\n 'Australia/Lord_Howe',\n 'Australia/Melbourne',\n 'Australia/North',\n 'Australia/NSW',\n 'Australia/Perth',\n 'Australia/Queensland',\n 'Australia/South',\n 'Australia/Sydney',\n 'Australia/Tasmania',\n 'Australia/Victoria',\n 'Australia/West',\n 'Australia/Yancowinna',\n 'BET',\n 'Brazil/Acre',\n 'Brazil/DeNoronha',\n 'Brazil/East',\n 'Brazil/West',\n 'BST',\n 'Canada/Atlantic',\n 'Canada/Central',\n 'Canada/East-Saskatchewan',\n 'Canada/Eastern',\n 'Canada/Mountain',\n 'Canada/Newfoundland',\n 'Canada/Pacific',\n 'Canada/Saskatchewan',\n 'Canada/Yukon',\n 'CAT',\n 'CET',\n 'Chile/Continental',\n 'Chile/EasterIsland',\n 'CNT',\n 'CST',\n 'CST6CDT',\n 'CTT',\n 'Cuba',\n 'EAT',\n 'ECT',\n 'EET',\n 'Egypt',\n 'Eire',\n 'EST',\n 'EST5EDT',\n 'Europe/Amsterdam',\n 'Europe/Andorra',\n 'Europe/Astrakhan',\n 'Europe/Athens',\n 'Europe/Belfast',\n 'Europe/Belgrade',\n 'Europe/Berlin',\n 'Europe/Bratislava',\n 'Europe/Brussels',\n 'Europe/Bucharest',\n 'Europe/Budapest',\n 'Europe/Busingen',\n 'Europe/Chisinau',\n 'Europe/Copenhagen',\n 'Europe/Dublin',\n 'Europe/Gibraltar',\n 'Europe/Guernsey',\n 'Europe/Helsinki',\n 'Europe/Isle_of_Man',\n 'Europe/Istanbul',\n 'Europe/Jersey',\n 'Europe/Kaliningrad',\n 'Europe/Kiev',\n 'Europe/Kirov',\n 'Europe/Lisbon',\n 'Europe/Ljubljana',\n 'Europe/London',\n 'Europe/Luxembourg',\n 'Europe/Madrid',\n 'Europe/Malta',\n 'Europe/Mariehamn',\n 'Europe/Minsk',\n 'Europe/Monaco',\n 'Europe/Moscow',\n 'Europe/Nicosia',\n 'Europe/Oslo',\n 'Europe/Paris',\n 'Europe/Podgorica',\n 'Europe/Prague',\n 'Europe/Riga',\n 'Europe/Rome',\n 'Europe/Samara',\n 'Europe/San_Marino',\n 'Europe/Sarajevo',\n 'Europe/Simferopol',\n 'Europe/Skopje',\n 'Europe/Sofia',\n 'Europe/Stockholm',\n 'Europe/Tallinn',\n 'Europe/Tirane',\n 'Europe/Tiraspol',\n 'Europe/Ulyanovsk',\n 'Europe/Uzhgorod',\n 'Europe/Vaduz',\n 'Europe/Vatican',\n 'Europe/Vienna',\n 'Europe/Vilnius',\n 'Europe/Volgograd',\n 'Europe/Warsaw',\n 'Europe/Zagreb',\n 'Europe/Zaporozhye',\n 'Europe/Zurich',\n 'GB',\n 'GB-Eire',\n 'GMT',\n 'GMT0',\n 'Greenwich',\n 'Hongkong',\n 'HST',\n 'Iceland',\n 'IET',\n 'Indian/Antananarivo',\n 'Indian/Chagos',\n 'Indian/Christmas',\n 'Indian/Cocos',\n 'Indian/Comoro',\n 'Indian/Kerguelen',\n 'Indian/Mahe',\n 'Indian/Maldives',\n 'Indian/Mauritius',\n 'Indian/Mayotte',\n 'Indian/Reunion',\n 'Iran',\n 'Israel',\n 'IST',\n 'Jamaica',\n 'Japan',\n 'JST',\n 'Kwajalein',\n 'Libya',\n 'MET',\n 'Mexico/BajaNorte',\n 'Mexico/BajaSur',\n 'Mexico/General',\n 'MIT',\n 'MST',\n 'MST7MDT',\n 'Navajo',\n 'NET',\n 'NST',\n 'NZ',\n 'NZ-CHAT',\n 'Pacific/Apia',\n 'Pacific/Auckland',\n 'Pacific/Bougainville',\n 'Pacific/Chatham',\n 'Pacific/Chuuk',\n 'Pacific/Easter',\n 'Pacific/Efate',\n 'Pacific/Enderbury',\n 'Pacific/Fakaofo',\n 'Pacific/Fiji',\n 'Pacific/Funafuti',\n 'Pacific/Galapagos',\n 'Pacific/Gambier',\n 'Pacific/Guadalcanal',\n 'Pacific/Guam',\n 'Pacific/Honolulu',\n 'Pacific/Johnston',\n 'Pacific/Kiritimati',\n 'Pacific/Kosrae',\n 'Pacific/Kwajalein',\n 'Pacific/Majuro',\n 'Pacific/Marquesas',\n 'Pacific/Midway',\n 'Pacific/Nauru',\n 'Pacific/Niue',\n 'Pacific/Norfolk',\n 'Pacific/Noumea',\n 'Pacific/Pago_Pago',\n 'Pacific/Palau',\n 'Pacific/Pitcairn',\n 'Pacific/Pohnpei',\n 'Pacific/Ponape',\n 'Pacific/Port_Moresby',\n 'Pacific/Rarotonga',\n 'Pacific/Saipan',\n 'Pacific/Samoa',\n 'Pacific/Tahiti',\n 'Pacific/Tarawa',\n 'Pacific/Tongatapu',\n 'Pacific/Truk',\n 'Pacific/Wake',\n 'Pacific/Wallis',\n 'Pacific/Yap',\n 'PLT',\n 'PNT',\n 'Poland',\n 'Portugal',\n 'PRC',\n 'PRT',\n 'PST',\n 'PST8PDT',\n 'ROK',\n 'Singapore',\n 'SST',\n 'SystemV/AST4',\n 'SystemV/AST4ADT',\n 'SystemV/CST6',\n 'SystemV/CST6CDT',\n 'SystemV/EST5',\n 'SystemV/EST5EDT',\n 'SystemV/HST10',\n 'SystemV/MST7',\n 'SystemV/MST7MDT',\n 'SystemV/PST8',\n 'SystemV/PST8PDT',\n 'SystemV/YST9',\n 'SystemV/YST9YDT',\n 'Turkey',\n 'UCT',\n 'Universal',\n 'US/Alaska',\n 'US/Aleutian',\n 'US/Arizona',\n 'US/Central',\n 'US/East-Indiana',\n 'US/Eastern',\n 'US/Hawaii',\n 'US/Indiana-Starke',\n 'US/Michigan',\n 'US/Mountain',\n 'US/Pacific',\n 'US/Pacific-New',\n 'US/Samoa',\n 'UTC',\n 'VST',\n 'W-SU',\n 'WET',\n 'Zulu'\n ]\n\n }[contentType];\n }\n}",
|
|
54981
54981
|
"static": true,
|
|
54982
54982
|
"longname": "src/searching/StaticSearch.js",
|
|
54983
54983
|
"access": null,
|
|
@@ -69123,7 +69123,7 @@
|
|
|
69123
69123
|
"__docId__": 2613,
|
|
69124
69124
|
"kind": "file",
|
|
69125
69125
|
"name": "src/timeseries/Timeseries.js",
|
|
69126
|
-
"content": "'use strict';\n\nimport BaseProvision from '../provision/BaseProvision';\nimport checkType from '../util/formats/check_types'\nexport const URL = 'timeseries/provision/organizations/';\n/**\n * This is a base object that contains all you can do about Timeseries.\n */\n\nexport default class Timeseries extends BaseProvision {\n\n /** \n * @param {InternalOpenGateAPI} Reference to the API object.\n */\n constructor(ogapi) {\n super(ogapi, '/organizations/', undefined, ['name', 'organization', \"timeBucket\", 'identifierColumn']);\n }\n\n _buildURL() {\n let url = URL + this._organization + '/' + this._identifier;\n\n if (this._onlyPlan) {\n url += '?onlyPlan=true'\n }\n\n return url;\n }\n\n /**\n * Set the organization attribute\n * @param {string} organization - required field\n * @return {Timeseries}\n */\n withOrganization(organization) {\n checkType._checkStringAndLength(organization, 50, 'organization');\n this._organization = organization;\n return this;\n }\n\n /**\n * Set the identifier attribute\n * @param {string} identifier - required field\n * @return {Timeseries}\n */\n withIdentifier(identifier) {\n checkType._checkString(identifier, 'identifier');\n this._identifier = identifier;\n return this;\n }\n\n /**\n * Name which will be unique in each organization\n * @param {string} name - required field\n * @return {Timeseries}\n */\n withName(name) {\n checkType._checkStringAndPattern(name, \"^[a-zA-Z0-9_@.-]*$\", 'name');\n this._name = name;\n return this;\n }\n\n /**\n * Set the identifierColumn attribute\n * @param {string} identifierColumn - required field\n * @return {Datasets}\n */\n withIdentifierColumn(identifierColumn) {\n checkType._checkString(identifierColumn, 'identifierColumn');\n this._identifierColumn = identifierColumn;\n return this;\n }\n\n /**\n * Duration of buckets in seconds.\n * @param {integer} timeBucket - required field\n * @return {Timeseries}\n */\n withTimeBucket(timeBucket) {\n checkType._checkNumber(timeBucket, 'timeBucket');\n this._timeBucket = timeBucket;\n return this;\n }\n\n /**\n * Long text to explain timeserie definition\n * @param {string} description\n * @return {Timeseries}\n */\n withDescription(description) {\n if (description) {\n checkType._checkString(description, 'description');\n }\n \n this._description = description;\n return this;\n }\n /**\n * List of data that is needed for each entity.\n * @param {array} columns - required field\n * @return {Timeseries}\n */\n withColumns(columns) {\n checkType._checkArray(columns, 'columns');\n this._columns = columns;\n return this;\n }\n\n /**\n * Name of generated column with bucket date.Required if timeBucket > 0.\n * @param {string} bucketColumn - pattern: ^[a-zA-Z0-9 _-]*$\n * @return {Timeseries}\n */\n withBucketColumn(bucketColumn) {\n checkType._checkStringAndPattern(bucketColumn, \"^[a-zA-Z0-9 _-]*$\", 'bucketColumn');\n this._bucketColumn = bucketColumn;\n return this;\n }\n\n\n /**\n * Name of generated column with bucket init date.\n * @param {string} bucketInitColumn - pattern: ^[a-zA-Z0-9 _-]*$\n * @return {Timeseries}\n */\n withBucketInitColumn(bucketInitColumn) {\n checkType._checkStringAndPattern(bucketInitColumn, \"^[a-zA-Z0-9 _-]*$\", 'bucketInitColumn');\n this._bucketInitColumn = bucketInitColumn;\n return this;\n }\n\n /**\n * Time that a row is stored to be got in searching. Default value is 1 month\n * @param {number} retention\n * @return {Timeseries}\n */\n withRetention(retention) {\n checkType._checkNumber(retention, 'retention');\n this._retention = retention;\n return this;\n }\n\n /** \n * Initial date to first bucket with ISO date time format. Next bucket will be calcullated from this date. Default value is created date with time equals 00:00:00.000Z\n * @param {string} origin\n * @return {Timeseries}\n */\n withOrigin(origin) {\n checkType._checkISODateTime(origin, 'origin');\n this._origin = origin;\n return this;\n }\n\n /**\n * List of data that is needed for each entity.\n * @param {array} context\n * @return {Timeseries}\n */\n withContext(context) {\n checkType._checkArray(context, 'context');\n this._context = context;\n return this;\n }\n\n _composeElement() {\n this._resource = URL + this._organization;\n if(this._timeBucket > 0){\n checkType._checkStringAndPattern(this._bucketColumn, \"^[a-zA-Z0-9 _-]*$\", 'bucketColumn');\n\n if (this._bucketInitColumn) {\n checkType._checkStringAndPattern(this._bucketInitColumn, \"^[a-zA-Z0-9 _-]*$\", 'bucketInitColumn'); \n } \n }\n const timeserie = {\n name: this._name,\n description: this._description,\n timeBucket: this._timeBucket,\n bucketColumn: this.
|
|
69126
|
+
"content": "'use strict';\n\nimport BaseProvision from '../provision/BaseProvision';\nimport checkType from '../util/formats/check_types'\nexport const URL = 'timeseries/provision/organizations/';\n/**\n * This is a base object that contains all you can do about Timeseries.\n */\n\nexport default class Timeseries extends BaseProvision {\n\n /** \n * @param {InternalOpenGateAPI} Reference to the API object.\n */\n constructor(ogapi) {\n super(ogapi, '/organizations/', undefined, ['name', 'organization', \"timeBucket\", 'identifierColumn']);\n }\n\n _buildURL() {\n let url = URL + this._organization + '/' + this._identifier;\n\n if (this._onlyPlan) {\n url += '?onlyPlan=true'\n }\n\n return url;\n }\n\n /**\n * Set the organization attribute\n * @param {string} organization - required field\n * @return {Timeseries}\n */\n withOrganization(organization) {\n checkType._checkStringAndLength(organization, 50, 'organization');\n this._organization = organization;\n return this;\n }\n\n /**\n * Set the identifier attribute\n * @param {string} identifier - required field\n * @return {Timeseries}\n */\n withIdentifier(identifier) {\n checkType._checkString(identifier, 'identifier');\n this._identifier = identifier;\n return this;\n }\n\n /**\n * Name which will be unique in each organization\n * @param {string} name - required field\n * @return {Timeseries}\n */\n withName(name) {\n checkType._checkStringAndPattern(name, \"^[a-zA-Z0-9_@.-]*$\", 'name');\n this._name = name;\n return this;\n }\n\n /**\n * Set the identifierColumn attribute\n * @param {string} identifierColumn - required field\n * @return {Datasets}\n */\n withIdentifierColumn(identifierColumn) {\n checkType._checkString(identifierColumn, 'identifierColumn');\n this._identifierColumn = identifierColumn;\n return this;\n }\n\n /**\n * Duration of buckets in seconds.\n * @param {integer} timeBucket - required field\n * @return {Timeseries}\n */\n withTimeBucket(timeBucket) {\n checkType._checkNumber(timeBucket, 'timeBucket');\n this._timeBucket = timeBucket;\n return this;\n }\n\n /**\n * Long text to explain timeserie definition\n * @param {string} description\n * @return {Timeseries}\n */\n withDescription(description) {\n if (description) {\n checkType._checkString(description, 'description');\n }\n \n this._description = description;\n return this;\n }\n /**\n * List of data that is needed for each entity.\n * @param {array} columns - required field\n * @return {Timeseries}\n */\n withColumns(columns) {\n checkType._checkArray(columns, 'columns');\n this._columns = columns;\n return this;\n }\n\n /**\n * Name of generated column with bucket date.Required if timeBucket > 0.\n * @param {string} bucketColumn - pattern: ^[a-zA-Z0-9 _-]*$\n * @return {Timeseries}\n */\n withBucketColumn(bucketColumn) {\n checkType._checkStringAndPattern(bucketColumn, \"^[a-zA-Z0-9 _-]*$\", 'bucketColumn');\n this._bucketColumn = bucketColumn;\n return this;\n }\n\n\n /**\n * Name of generated column with bucket init date.\n * @param {string} bucketInitColumn - pattern: ^[a-zA-Z0-9 _-]*$\n * @return {Timeseries}\n */\n withBucketInitColumn(bucketInitColumn) {\n checkType._checkStringAndPattern(bucketInitColumn, \"^[a-zA-Z0-9 _-]*$\", 'bucketInitColumn');\n this._bucketInitColumn = bucketInitColumn;\n return this;\n }\n\n /**\n * Time that a row is stored to be got in searching. Default value is 1 month\n * @param {number} retention\n * @return {Timeseries}\n */\n withRetention(retention) {\n checkType._checkNumber(retention, 'retention');\n this._retention = retention;\n return this;\n }\n\n /** \n * Initial date to first bucket with ISO date time format. Next bucket will be calcullated from this date. Default value is created date with time equals 00:00:00.000Z\n * @param {string} origin\n * @return {Timeseries}\n */\n withOrigin(origin) {\n checkType._checkISODateTime(origin, 'origin');\n this._origin = origin;\n return this;\n }\n\n /**\n * List of data that is needed for each entity.\n * @param {array} context\n * @return {Timeseries}\n */\n withContext(context) {\n checkType._checkArray(context, 'context');\n this._context = context;\n return this;\n }\n\n _composeElement() {\n this._resource = URL + this._organization;\n if(this._timeBucket > 0){\n checkType._checkStringAndPattern(this._bucketColumn, \"^[a-zA-Z0-9 _-]*$\", 'bucketColumn');\n\n if (this._bucketInitColumn) {\n checkType._checkStringAndPattern(this._bucketInitColumn, \"^[a-zA-Z0-9 _-]*$\", 'bucketInitColumn'); \n } \n }\n const timeserie = {\n name: this._name,\n description: this._description,\n timeBucket: this._timeBucket,\n bucketColumn: this._bucketColumn || undefined,\n bucketInitColumn: this._bucketInitColumn || undefined,\n retention: this._retention,\n origin: this._origin,\n context: this._context || [],\n identifierColumn: this._identifierColumn,\n columns: this._columns || []\n };\n return timeserie;\n }\n\n _composeUpdateElement() {\n if(this._timeBucket > 0){\n checkType._checkStringAndPattern(this._bucketColumn, \"^[a-zA-Z0-9 _-]*$\", 'bucketColumn');\n\n if (this._bucketInitColumn) {\n checkType._checkStringAndPattern(this._bucketInitColumn, \"^[a-zA-Z0-9 _-]*$\", 'bucketInitColumn'); \n } \n }\n const timeserie = {\n name: this._name,\n description: this._description,\n timeBucket: this._timeBucket,\n bucketColumn: this._bucketColumn || undefined,\n bucketInitColumn: this._bucketInitColumn || undefined,\n retention: this._retention,\n origin: this._origin,\n context: this._context || [],\n identifierColumn: this._identifierColumn,\n columns: this._columns || []\n };\n return timeserie;\n }\n\n onlyPlan() {\n this._onlyPlan = true;\n return this;\n }\n\n /**\n * This method invalidates the update option\n * @throws {Allways} Timeseries cannot be updated.\n */\n // update() {\n // throw new Error(\"OGAPI_TIMESERIES_NOT_UPDATED\");\n // }\n}",
|
|
69127
69127
|
"static": true,
|
|
69128
69128
|
"longname": "src/timeseries/Timeseries.js",
|
|
69129
69129
|
"access": null,
|