Skip to content

Commit

Permalink
update dist
Browse files Browse the repository at this point in the history
  • Loading branch information
hampsterx committed Sep 10, 2017
1 parent 58545f7 commit 9d798d3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions dist/predicthq.js
Original file line number Diff line number Diff line change
Expand Up @@ -22486,8 +22486,8 @@ var Events = function (_BaseEndpoint) {
var _this5 = _possibleConstructorReturn(this, (Events.__proto__ || Object.getPrototypeOf(Events)).call(this, client));

_this5.schema = _schemas.EventSchema;
_this5.arrayOptions = ['category', 'sort', 'top_events.sort', 'rank_level', 'label', 'country', 'place.scope', 'place.exact'];
_this5.integerOptions = ['limit', 'offset', 'rank_level'];
_this5.arrayOptions = ['category', 'sort', 'top_events.sort', 'rank_level', 'label', 'country', 'place.scope', 'place.exact', 'state'];
_this5.integerOptions = ['limit', 'offset', 'rank_level', 'signal.significance'];

_this5.accountId = accountId;

Expand Down Expand Up @@ -22665,9 +22665,9 @@ Object.defineProperty(exports, "__esModule", {
// Must use require (using import breaks brfs)


var EventSchema = JSON.parse("{\n \"$schema\": \"http://json-schema.org/draft-04/schema#\",\n \"title\": \"Event Search Schema\",\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"properties\": {\n \"q\": {\n \"type\": \"string\"\n },\n \"id\": {\n \"type\": \"string\"\n },\n \"like\": {\n \"type\": \"string\"\n },\n \"label\": {\n \"type\": \"array\"\n },\n \"label.op\": {\n \"items\": {\n \"enum\": [\n \"all\",\n \"any\"\n ]\n },\n \"type\": \"array\"\n },\n \"within\": {\n \"type\": \"string\",\n \"pattern\": \"(\\\\d+(mm|cm|m|km|in|yd|ft|mi|nmi))@([\\\\-\\\\+]?\\\\d+(\\\\.\\\\d+)?),([\\\\-\\\\+]?\\\\d+(\\\\.\\\\d+)?)\"\n },\n \"country\": {\n \"type\": \"array\"\n },\n \"start.tz\": {\n \"type\": \"string\"\n },\n \"start.gt\": {\n \"type\": \"string\",\n \"pattern\": \"^([0-9]{4})-[0-9]{2}-[0-9]{2}$\"\n },\n \"start.gte\": {\n \"type\": \"string\",\n \"pattern\": \"^([0-9]{4})-[0-9]{2}-[0-9]{2}$\"\n },\n \"start.lt\": {\n \"type\": \"string\",\n \"pattern\": \"^([0-9]{4})-[0-9]{2}-[0-9]{2}$\"\n },\n \"start.lte\": {\n \"type\": \"string\",\n \"pattern\": \"^([0-9]{4})-[0-9]{2}-[0-9]{2}$\"\n },\n \"end.tz\": {\n \"type\": \"string\"\n },\n \"end.gt\": {\n \"type\": \"string\",\n \"pattern\": \"^([0-9]{4})-[0-9]{2}-[0-9]{2}$\"\n },\n \"end.gte\": {\n \"type\": \"string\",\n \"pattern\": \"^([0-9]{4})-[0-9]{2}-[0-9]{2}$\"\n },\n \"end.lt\": {\n \"type\": \"string\",\n \"pattern\": \"^([0-9]{4})-[0-9]{2}-[0-9]{2}$\"\n },\n \"end.lte\": {\n \"type\": \"string\",\n \"pattern\": \"^([0-9]{4})-[0-9]{2}-[0-9]{2}$\"\n },\n \"active.tz\": {\n \"type\": \"string\"\n },\n \"active.gt\": {\n \"type\": \"string\",\n \"pattern\": \"^([0-9]{4})-[0-9]{2}-[0-9]{2}$\"\n },\n \"active.gte\": {\n \"type\": \"string\",\n \"pattern\": \"^([0-9]{4})-[0-9]{2}-[0-9]{2}$\"\n },\n \"active.lt\": {\n \"type\": \"string\",\n \"pattern\": \"^([0-9]{4})-[0-9]{2}-[0-9]{2}$\"\n },\n \"active.lte\": {\n \"type\": \"string\",\n \"pattern\": \"^([0-9]{4})-[0-9]{2}-[0-9]{2}$\"\n },\n \"place.scope\": {\n \"type\": \"array\"\n },\n \"place.exact\": {\n \"type\": \"array\"\n },\n \"limit\": {\n \"type\": \"integer\",\n \"minimum\": 1\n },\n \"top_events.limit\": {\n \"type\": \"integer\",\n \"minimum\": 1,\n \"maximum\": 10\n },\n \"offset\": {\n \"type\": \"integer\",\n \"minimum\": 0\n },\n \"rank_level\": {\n \"items\": {\n \"enum\": [\n 1,\n 2,\n 3,\n 4,\n 5\n ]\n },\n \"type\": \"array\"\n },\n \"sort\": {\n \"items\": {\n \"enum\": [\n \"id\",\n \"title\",\n \"start\",\n \"end\",\n \"updated\",\n \"rank\",\n \"category\",\n \"duration\",\n \"country\",\n \"labels\",\n \"relevance\",\n \"-id\",\n \"-title\",\n \"-start\",\n \"-end\",\n \"-updated\",\n \"-rank\",\n \"-category\",\n \"-duration\",\n \"-country\",\n \"-labels\",\n \"-relevance\"\n ]\n },\n \"type\": \"array\"\n },\n \"top_events.sort\": {\n \"items\": {\n \"enum\": [\n \"id\",\n \"title\",\n \"start\",\n \"end\",\n \"rank\",\n \"category\",\n \"duration\",\n \"country\",\n \"labels\",\n \"-id\",\n \"-title\",\n \"-start\",\n \"-end\",\n \"-rank\",\n \"-category\",\n \"-duration\",\n \"-country\",\n \"-labels\"\n ]\n },\n \"type\": \"array\"\n },\n \"category\": {\n \"items\": {\n \"enum\": [\n \"school-holidays\",\n \"public-holidays\",\n \"observances\",\n \"concerts\",\n \"conferences\",\n \"expos\",\n \"festivals\",\n \"performing-arts\",\n \"sports\",\n \"daylight-savings\",\n \"airport-delays\",\n \"severe-weather\",\n \"disasters\",\n \"community\",\n \"terror\"\n ]\n },\n \"type\": \"array\"\n }\n },\n \"required\": [\n\n ]\n}");
var EventSchema = JSON.parse("{\n \"$schema\": \"http://json-schema.org/draft-04/schema#\",\n \"title\": \"Event Search Schema\",\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"properties\": {\n \"q\": {\n \"type\": \"string\"\n },\n \"id\": {\n \"type\": \"string\"\n },\n \"like\": {\n \"type\": \"string\"\n },\n \"label\": {\n \"type\": \"array\"\n },\n \"label.op\": {\n \"items\": {\n \"enum\": [\n \"all\",\n \"any\"\n ]\n },\n \"type\": \"array\"\n },\n \"within\": {\n \"type\": \"string\",\n \"pattern\": \"(\\\\d+(mm|cm|m|km|in|yd|ft|mi|nmi))@([\\\\-\\\\+]?\\\\d+(\\\\.\\\\d+)?),([\\\\-\\\\+]?\\\\d+(\\\\.\\\\d+)?)\"\n },\n \"country\": {\n \"type\": \"array\"\n },\n \"state\": {\n \"items\": {\n \"enum\": [\n \"active\",\n \"deleted\"\n ]\n },\n \"type\": \"array\"\n },\n \"signal.id\": {\n \"type\": \"string\"\n },\n \"signal.analysis_from\": {\n \"type\": \"string\",\n \"pattern\": \"^([0-9]{4})-[0-9]{2}-[0-9]{2}$\"\n },\n \"signal.analysis_to\": {\n \"type\": \"string\",\n \"pattern\": \"^([0-9]{4})-[0-9]{2}-[0-9]{2}$\"\n },\n \"signal.analysis_tz\": {\n \"type\": \"string\"\n },\n \"signal.significance\": {\n \"type\": \"integer\",\n \"minimum\": 0,\n \"maximum\": 100\n },\n \"signal.metric\": {\n \"type\": \"string\",\n \"pattern\": \"^(demand|lead|span)$\"\n },\n \"signal.explain\": {\n \"type\": \"string\",\n \"pattern\": \"^([0-9]{4})-[0-9]{2}-[0-9]{2}$\"\n },\n \"start.tz\": {\n \"type\": \"string\"\n },\n \"start.gt\": {\n \"type\": \"string\",\n \"pattern\": \"^([0-9]{4})-[0-9]{2}-[0-9]{2}$\"\n },\n \"start.gte\": {\n \"type\": \"string\",\n \"pattern\": \"^([0-9]{4})-[0-9]{2}-[0-9]{2}$\"\n },\n \"start.lt\": {\n \"type\": \"string\",\n \"pattern\": \"^([0-9]{4})-[0-9]{2}-[0-9]{2}$\"\n },\n \"start.lte\": {\n \"type\": \"string\",\n \"pattern\": \"^([0-9]{4})-[0-9]{2}-[0-9]{2}$\"\n },\n \"end.tz\": {\n \"type\": \"string\"\n },\n \"end.gt\": {\n \"type\": \"string\",\n \"pattern\": \"^([0-9]{4})-[0-9]{2}-[0-9]{2}$\"\n },\n \"end.gte\": {\n \"type\": \"string\",\n \"pattern\": \"^([0-9]{4})-[0-9]{2}-[0-9]{2}$\"\n },\n \"end.lt\": {\n \"type\": \"string\",\n \"pattern\": \"^([0-9]{4})-[0-9]{2}-[0-9]{2}$\"\n },\n \"end.lte\": {\n \"type\": \"string\",\n \"pattern\": \"^([0-9]{4})-[0-9]{2}-[0-9]{2}$\"\n },\n \"updated.tz\": {\n \"type\": \"string\"\n },\n \"updated.gt\": {\n \"type\": \"string\",\n \"pattern\": \"^([0-9]{4})-[0-9]{2}-[0-9]{2}$\"\n },\n \"updated.gte\": {\n \"type\": \"string\",\n \"pattern\": \"^([0-9]{4})-[0-9]{2}-[0-9]{2}$\"\n },\n \"updated.lt\": {\n \"type\": \"string\",\n \"pattern\": \"^([0-9]{4})-[0-9]{2}-[0-9]{2}$\"\n },\n \"updated.lte\": {\n \"type\": \"string\",\n \"pattern\": \"^([0-9]{4})-[0-9]{2}-[0-9]{2}$\"\n },\n \"active.tz\": {\n \"type\": \"string\"\n },\n \"active.gt\": {\n \"type\": \"string\",\n \"pattern\": \"^([0-9]{4})-[0-9]{2}-[0-9]{2}$\"\n },\n \"active.gte\": {\n \"type\": \"string\",\n \"pattern\": \"^([0-9]{4})-[0-9]{2}-[0-9]{2}$\"\n },\n \"active.lt\": {\n \"type\": \"string\",\n \"pattern\": \"^([0-9]{4})-[0-9]{2}-[0-9]{2}$\"\n },\n \"active.lte\": {\n \"type\": \"string\",\n \"pattern\": \"^([0-9]{4})-[0-9]{2}-[0-9]{2}$\"\n },\n \"place.scope\": {\n \"type\": \"array\"\n },\n \"place.exact\": {\n \"type\": \"array\"\n },\n \"limit\": {\n \"type\": \"integer\",\n \"minimum\": 1\n },\n \"top_events.limit\": {\n \"type\": \"integer\",\n \"minimum\": 1,\n \"maximum\": 10\n },\n \"offset\": {\n \"type\": \"integer\",\n \"minimum\": 0\n },\n \"rank_level\": {\n \"items\": {\n \"enum\": [\n 1,\n 2,\n 3,\n 4,\n 5\n ]\n },\n \"type\": \"array\"\n },\n \"sort\": {\n \"items\": {\n \"enum\": [\n \"id\",\n \"title\",\n \"start\",\n \"end\",\n \"updated\",\n \"rank\",\n \"category\",\n \"duration\",\n \"country\",\n \"labels\",\n \"relevance\",\n \"-id\",\n \"-title\",\n \"-start\",\n \"-end\",\n \"-updated\",\n \"-rank\",\n \"-category\",\n \"-duration\",\n \"-country\",\n \"-labels\",\n \"-relevance\"\n ]\n },\n \"type\": \"array\"\n },\n \"top_events.sort\": {\n \"items\": {\n \"enum\": [\n \"id\",\n \"title\",\n \"start\",\n \"end\",\n \"rank\",\n \"category\",\n \"duration\",\n \"country\",\n \"labels\",\n \"-id\",\n \"-title\",\n \"-start\",\n \"-end\",\n \"-rank\",\n \"-category\",\n \"-duration\",\n \"-country\",\n \"-labels\"\n ]\n },\n \"type\": \"array\"\n },\n \"category\": {\n \"items\": {\n \"enum\": [\n \"school-holidays\",\n \"public-holidays\",\n \"observances\",\n \"concerts\",\n \"conferences\",\n \"expos\",\n \"festivals\",\n \"performing-arts\",\n \"sports\",\n \"daylight-savings\",\n \"airport-delays\",\n \"severe-weather\",\n \"disasters\",\n \"community\",\n \"terror\"\n ]\n },\n \"type\": \"array\"\n }\n },\n \"required\": [\n\n ]\n}");

var PlaceSchema = JSON.parse("{\n \"$schema\": \"http://json-schema.org/draft-04/schema#\",\n \"title\": \"Place Search Schema\",\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"properties\": {\n \"q\": {\n \"type\": \"string\"\n },\n \"id\": {\n \"type\": \"array\"\n },\n \"country\": {\n \"type\": \"array\"\n },\n \"limit\": {\n \"type\": \"integer\",\n \"minimum\": 1,\n \"maximum\": 200\n },\n \"type\": {\n \"items\": {\n \"enum\": [\n \"neighbourhood\",\n \"locality\",\n \"localadmin\",\n \"county\",\n \"region\",\n \"country\",\n \"continent\",\n \"country\",\n \"planet\",\n \"local\",\n \"metro\",\n \"major\"\n ]\n },\n \"type\": \"array\"\n }\n },\n \"required\": [\n\n ]\n}");
var PlaceSchema = JSON.parse("{\n \"$schema\": \"http://json-schema.org/draft-04/schema#\",\n \"title\": \"Place Search Schema\",\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"properties\": {\n \"q\": {\n \"type\": \"string\"\n },\n \"id\": {\n \"type\": \"array\"\n },\n \"country\": {\n \"type\": \"array\"\n },\n \"limit\": {\n \"type\": \"integer\",\n \"minimum\": 1,\n \"maximum\": 200\n },\n \"location\": {\n \"type\": \"string\",\n \"pattern\": \"@([\\\\-\\\\+]?\\\\d+(\\\\.\\\\d+)?),([\\\\-\\\\+]?\\\\d+(\\\\.\\\\d+)?)\"\n },\n \"type\": {\n \"items\": {\n \"enum\": [\n \"neighbourhood\",\n \"locality\",\n \"localadmin\",\n \"county\",\n \"region\",\n \"country\",\n \"continent\",\n \"country\",\n \"planet\",\n \"local\",\n \"metro\",\n \"major\"\n ]\n },\n \"type\": \"array\"\n }\n },\n \"required\": [\n\n ]\n}");

exports.EventSchema = EventSchema;
exports.PlaceSchema = PlaceSchema;
Expand Down
Loading

0 comments on commit 9d798d3

Please sign in to comment.