eventregistry 8.11.1 → 9.1.0
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/dist/analytics.d.ts +82 -82
- package/dist/analytics.js +336 -330
- package/dist/analytics.js.map +1 -1
- package/dist/base.d.ts +82 -81
- package/dist/base.js +261 -219
- package/dist/base.js.map +1 -1
- package/dist/counts.d.ts +81 -81
- package/dist/counts.js +162 -149
- package/dist/counts.js.map +1 -1
- package/dist/dailyShares.d.ts +10 -10
- package/dist/dailyShares.js +90 -77
- package/dist/dailyShares.js.map +1 -1
- package/dist/data.d.ts +269 -268
- package/dist/data.js +3 -3
- package/dist/eventForText.d.ts +48 -48
- package/dist/eventForText.js +126 -123
- package/dist/eventForText.js.map +1 -1
- package/dist/eventRegistry.d.ts +244 -224
- package/dist/eventRegistry.js +1098 -1018
- package/dist/eventRegistry.js.map +1 -1
- package/dist/index.d.ts +21 -20
- package/dist/index.js +128 -122
- package/dist/index.js.map +1 -1
- package/dist/info.d.ts +61 -61
- package/dist/info.js +171 -158
- package/dist/info.js.map +1 -1
- package/dist/logger.d.ts +44 -0
- package/dist/logger.js +144 -0
- package/dist/logger.js.map +1 -0
- package/dist/query.d.ts +53 -53
- package/dist/query.js +333 -290
- package/dist/query.js.map +1 -1
- package/dist/queryArticle.d.ts +61 -61
- package/dist/queryArticle.js +183 -168
- package/dist/queryArticle.js.map +1 -1
- package/dist/queryArticles.d.ts +144 -160
- package/dist/queryArticles.js +729 -701
- package/dist/queryArticles.js.map +1 -1
- package/dist/queryEvent.d.ts +140 -140
- package/dist/queryEvent.js +587 -569
- package/dist/queryEvent.js.map +1 -1
- package/dist/queryEvents.d.ts +210 -210
- package/dist/queryEvents.js +825 -798
- package/dist/queryEvents.js.map +1 -1
- package/dist/queryMentions.d.ts +96 -96
- package/dist/queryMentions.js +637 -600
- package/dist/queryMentions.js.map +1 -1
- package/dist/queryStory.d.ts +58 -58
- package/dist/queryStory.js +194 -174
- package/dist/queryStory.js.map +1 -1
- package/dist/recent.d.ts +23 -23
- package/dist/recent.js +199 -179
- package/dist/recent.js.map +1 -1
- package/dist/returnInfo.d.ts +68 -66
- package/dist/returnInfo.js +332 -304
- package/dist/returnInfo.js.map +1 -1
- package/dist/topicPage.d.ts +157 -157
- package/dist/topicPage.js +599 -604
- package/dist/topicPage.js.map +1 -1
- package/dist/trends.d.ts +35 -35
- package/dist/trends.js +115 -102
- package/dist/trends.js.map +1 -1
- package/dist/types.d.ts +2453 -2155
- package/dist/types.js +2 -2
- package/package.json +13 -13
package/dist/counts.d.ts
CHANGED
|
@@ -1,81 +1,81 @@
|
|
|
1
|
-
import { QueryParamsBase } from "./base";
|
|
2
|
-
import {
|
|
3
|
-
export declare abstract class CountsBase extends QueryParamsBase {
|
|
4
|
-
|
|
5
|
-
}
|
|
6
|
-
/**
|
|
7
|
-
* @class GetCounts
|
|
8
|
-
* Obtain information about how frequently a concept or category is mentioned in the articles on particular dates
|
|
9
|
-
* by specifying source="custom" one can obtain counts for custom concepts, such as stocks, macroeconomic indicators, etc. The uri
|
|
10
|
-
* for these can be found using EventRegistry.getCustomConceptUri() method.
|
|
11
|
-
* Usage example:
|
|
12
|
-
*
|
|
13
|
-
* q = GetCounts([er.getConceptUri("Obama"), er.getConceptUri("ebola")])
|
|
14
|
-
* ret = er.execQuery(q)
|
|
15
|
-
*
|
|
16
|
-
* Return object:
|
|
17
|
-
*
|
|
18
|
-
* {
|
|
19
|
-
* "http://en.wikipedia.org/wiki/Barack_Obama": [
|
|
20
|
-
* {
|
|
21
|
-
* "count": 1,
|
|
22
|
-
* "date": "2015-05-07"
|
|
23
|
-
* },
|
|
24
|
-
* {
|
|
25
|
-
* "count": 4,
|
|
26
|
-
* "date": "2015-05-08"
|
|
27
|
-
* },
|
|
28
|
-
* ...
|
|
29
|
-
* ],
|
|
30
|
-
* "http://en.wikipedia.org/wiki/Ebola_virus_disease": [
|
|
31
|
-
* {
|
|
32
|
-
* "count": 0,
|
|
33
|
-
* "date": "2015-05-07"
|
|
34
|
-
* },
|
|
35
|
-
* ...
|
|
36
|
-
* ]
|
|
37
|
-
* }
|
|
38
|
-
*
|
|
39
|
-
* @param uriOrUriList: concept/category uri or a list of uris
|
|
40
|
-
* @param args Object which contains a host of optional parameters
|
|
41
|
-
*/
|
|
42
|
-
export declare class GetCounts extends CountsBase {
|
|
43
|
-
constructor(uriOrUriList: string | string[], args?:
|
|
44
|
-
}
|
|
45
|
-
/**
|
|
46
|
-
* @class GetCountsEx
|
|
47
|
-
* Obtain information about how frequently a concept or category is mentioned in the articles on particular dates
|
|
48
|
-
* Similar to GetCounts, but the output is more friendly for a larger set of provided uris/ids at once
|
|
49
|
-
* Usage example:
|
|
50
|
-
* q = GetCountsEx(type = "category")
|
|
51
|
-
* q.queryById(range(10)) # return trends of first 10 categories
|
|
52
|
-
* ret = er.execQuery(q)
|
|
53
|
-
* Return object:
|
|
54
|
-
* {
|
|
55
|
-
* "categoryInfo": [
|
|
56
|
-
* {
|
|
57
|
-
* "id": 0,
|
|
58
|
-
* "label": "Root",
|
|
59
|
-
* "uri": "http://www.dmoz.org"
|
|
60
|
-
* },
|
|
61
|
-
* {
|
|
62
|
-
* "id": 1,
|
|
63
|
-
* "label": "Recreation",
|
|
64
|
-
* "uri": "http://www.dmoz.org/Recreation"
|
|
65
|
-
* },
|
|
66
|
-
* ...
|
|
67
|
-
* ],
|
|
68
|
-
* "counts": [
|
|
69
|
-
* {
|
|
70
|
-
* "0": 23, "1": 42, "2": 52, "3": 32, "4": 21, "5": 65, "6": 32, "7": 654, "8": 1, "9": 34,
|
|
71
|
-
* "date": "2015-05-07"
|
|
72
|
-
* },
|
|
73
|
-
* ...
|
|
74
|
-
* ]
|
|
75
|
-
* }
|
|
76
|
-
* @param uriOrUriList: concept/category uri or a list of uris
|
|
77
|
-
* @param args Object which contains a host of optional parameters
|
|
78
|
-
*/
|
|
79
|
-
export declare class GetCountsEx extends CountsBase {
|
|
80
|
-
constructor(uriOrUriList: string | string[], args?:
|
|
81
|
-
}
|
|
1
|
+
import { QueryParamsBase } from "./base";
|
|
2
|
+
import { ER } from "./types";
|
|
3
|
+
export declare abstract class CountsBase extends QueryParamsBase {
|
|
4
|
+
get path(): string;
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* @class GetCounts
|
|
8
|
+
* Obtain information about how frequently a concept or category is mentioned in the articles on particular dates
|
|
9
|
+
* by specifying source="custom" one can obtain counts for custom concepts, such as stocks, macroeconomic indicators, etc. The uri
|
|
10
|
+
* for these can be found using EventRegistry.getCustomConceptUri() method.
|
|
11
|
+
* Usage example:
|
|
12
|
+
*
|
|
13
|
+
* q = GetCounts([er.getConceptUri("Obama"), er.getConceptUri("ebola")])
|
|
14
|
+
* ret = er.execQuery(q)
|
|
15
|
+
*
|
|
16
|
+
* Return object:
|
|
17
|
+
*
|
|
18
|
+
* {
|
|
19
|
+
* "http://en.wikipedia.org/wiki/Barack_Obama": [
|
|
20
|
+
* {
|
|
21
|
+
* "count": 1,
|
|
22
|
+
* "date": "2015-05-07"
|
|
23
|
+
* },
|
|
24
|
+
* {
|
|
25
|
+
* "count": 4,
|
|
26
|
+
* "date": "2015-05-08"
|
|
27
|
+
* },
|
|
28
|
+
* ...
|
|
29
|
+
* ],
|
|
30
|
+
* "http://en.wikipedia.org/wiki/Ebola_virus_disease": [
|
|
31
|
+
* {
|
|
32
|
+
* "count": 0,
|
|
33
|
+
* "date": "2015-05-07"
|
|
34
|
+
* },
|
|
35
|
+
* ...a
|
|
36
|
+
* ]
|
|
37
|
+
* }
|
|
38
|
+
*
|
|
39
|
+
* @param uriOrUriList: concept/category uri or a list of uris
|
|
40
|
+
* @param args Object which contains a host of optional parameters
|
|
41
|
+
*/
|
|
42
|
+
export declare class GetCounts extends CountsBase {
|
|
43
|
+
constructor(uriOrUriList: string | string[], args?: ER.Counts.Arguments);
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* @class GetCountsEx
|
|
47
|
+
* Obtain information about how frequently a concept or category is mentioned in the articles on particular dates
|
|
48
|
+
* Similar to GetCounts, but the output is more friendly for a larger set of provided uris/ids at once
|
|
49
|
+
* Usage example:
|
|
50
|
+
* q = GetCountsEx(type = "category")
|
|
51
|
+
* q.queryById(range(10)) # return trends of first 10 categories
|
|
52
|
+
* ret = er.execQuery(q)
|
|
53
|
+
* Return object:
|
|
54
|
+
* {
|
|
55
|
+
* "categoryInfo": [
|
|
56
|
+
* {
|
|
57
|
+
* "id": 0,
|
|
58
|
+
* "label": "Root",
|
|
59
|
+
* "uri": "http://www.dmoz.org"
|
|
60
|
+
* },
|
|
61
|
+
* {
|
|
62
|
+
* "id": 1,
|
|
63
|
+
* "label": "Recreation",
|
|
64
|
+
* "uri": "http://www.dmoz.org/Recreation"
|
|
65
|
+
* },
|
|
66
|
+
* ...
|
|
67
|
+
* ],
|
|
68
|
+
* "counts": [
|
|
69
|
+
* {
|
|
70
|
+
* "0": 23, "1": 42, "2": 52, "3": 32, "4": 21, "5": 65, "6": 32, "7": 654, "8": 1, "9": 34,
|
|
71
|
+
* "date": "2015-05-07"
|
|
72
|
+
* },
|
|
73
|
+
* ...
|
|
74
|
+
* ]
|
|
75
|
+
* }
|
|
76
|
+
* @param uriOrUriList: concept/category uri or a list of uris
|
|
77
|
+
* @param args Object which contains a host of optional parameters
|
|
78
|
+
*/
|
|
79
|
+
export declare class GetCountsEx extends CountsBase {
|
|
80
|
+
constructor(uriOrUriList: string | string[], args?: ER.Counts.Arguments);
|
|
81
|
+
}
|
package/dist/counts.js
CHANGED
|
@@ -1,150 +1,163 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __extends = (this && this.__extends) || (function () {
|
|
3
|
-
var extendStatics = function (d, b) {
|
|
4
|
-
extendStatics = Object.setPrototypeOf ||
|
|
5
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
-
function (d, b) { for (var p in b) if (
|
|
7
|
-
return extendStatics(d, b);
|
|
8
|
-
}
|
|
9
|
-
return function (d, b) {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
d
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
var
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
var
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
return
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
*
|
|
51
|
-
*
|
|
52
|
-
*
|
|
53
|
-
*
|
|
54
|
-
*
|
|
55
|
-
*
|
|
56
|
-
*
|
|
57
|
-
*
|
|
58
|
-
*
|
|
59
|
-
*
|
|
60
|
-
*
|
|
61
|
-
*
|
|
62
|
-
*
|
|
63
|
-
*
|
|
64
|
-
*
|
|
65
|
-
*
|
|
66
|
-
*
|
|
67
|
-
*
|
|
68
|
-
*
|
|
69
|
-
*
|
|
70
|
-
*
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
*
|
|
109
|
-
*
|
|
110
|
-
*
|
|
111
|
-
*
|
|
112
|
-
*
|
|
113
|
-
*
|
|
114
|
-
*
|
|
115
|
-
*
|
|
116
|
-
*
|
|
117
|
-
* "
|
|
118
|
-
* {
|
|
119
|
-
* "
|
|
120
|
-
* "
|
|
121
|
-
*
|
|
122
|
-
*
|
|
123
|
-
*
|
|
124
|
-
*
|
|
125
|
-
*
|
|
126
|
-
*
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
var __extends = (this && this.__extends) || (function () {
|
|
3
|
+
var extendStatics = function (d, b) {
|
|
4
|
+
extendStatics = Object.setPrototypeOf ||
|
|
5
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
+
return extendStatics(d, b);
|
|
8
|
+
};
|
|
9
|
+
return function (d, b) {
|
|
10
|
+
if (typeof b !== "function" && b !== null)
|
|
11
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
+
extendStatics(d, b);
|
|
13
|
+
function __() { this.constructor = d; }
|
|
14
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
+
};
|
|
16
|
+
})();
|
|
17
|
+
var __assign = (this && this.__assign) || function () {
|
|
18
|
+
__assign = Object.assign || function(t) {
|
|
19
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
20
|
+
s = arguments[i];
|
|
21
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
22
|
+
t[p] = s[p];
|
|
23
|
+
}
|
|
24
|
+
return t;
|
|
25
|
+
};
|
|
26
|
+
return __assign.apply(this, arguments);
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.GetCountsEx = exports.GetCounts = exports.CountsBase = void 0;
|
|
30
|
+
var base_1 = require("./base");
|
|
31
|
+
var returnInfo_1 = require("./returnInfo");
|
|
32
|
+
// provides classes for obtaining information about how frequently individual concepts or categories
|
|
33
|
+
// have been mentioned in news articles (if source == "news") of in social media (if source == "social")
|
|
34
|
+
var CountsBase = /** @class */ (function (_super) {
|
|
35
|
+
__extends(CountsBase, _super);
|
|
36
|
+
function CountsBase() {
|
|
37
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
38
|
+
}
|
|
39
|
+
Object.defineProperty(CountsBase.prototype, "path", {
|
|
40
|
+
get: function () {
|
|
41
|
+
return "/api/v1/counters";
|
|
42
|
+
},
|
|
43
|
+
enumerable: false,
|
|
44
|
+
configurable: true
|
|
45
|
+
});
|
|
46
|
+
return CountsBase;
|
|
47
|
+
}(base_1.QueryParamsBase));
|
|
48
|
+
exports.CountsBase = CountsBase;
|
|
49
|
+
/**
|
|
50
|
+
* @class GetCounts
|
|
51
|
+
* Obtain information about how frequently a concept or category is mentioned in the articles on particular dates
|
|
52
|
+
* by specifying source="custom" one can obtain counts for custom concepts, such as stocks, macroeconomic indicators, etc. The uri
|
|
53
|
+
* for these can be found using EventRegistry.getCustomConceptUri() method.
|
|
54
|
+
* Usage example:
|
|
55
|
+
*
|
|
56
|
+
* q = GetCounts([er.getConceptUri("Obama"), er.getConceptUri("ebola")])
|
|
57
|
+
* ret = er.execQuery(q)
|
|
58
|
+
*
|
|
59
|
+
* Return object:
|
|
60
|
+
*
|
|
61
|
+
* {
|
|
62
|
+
* "http://en.wikipedia.org/wiki/Barack_Obama": [
|
|
63
|
+
* {
|
|
64
|
+
* "count": 1,
|
|
65
|
+
* "date": "2015-05-07"
|
|
66
|
+
* },
|
|
67
|
+
* {
|
|
68
|
+
* "count": 4,
|
|
69
|
+
* "date": "2015-05-08"
|
|
70
|
+
* },
|
|
71
|
+
* ...
|
|
72
|
+
* ],
|
|
73
|
+
* "http://en.wikipedia.org/wiki/Ebola_virus_disease": [
|
|
74
|
+
* {
|
|
75
|
+
* "count": 0,
|
|
76
|
+
* "date": "2015-05-07"
|
|
77
|
+
* },
|
|
78
|
+
* ...a
|
|
79
|
+
* ]
|
|
80
|
+
* }
|
|
81
|
+
*
|
|
82
|
+
* @param uriOrUriList: concept/category uri or a list of uris
|
|
83
|
+
* @param args Object which contains a host of optional parameters
|
|
84
|
+
*/
|
|
85
|
+
var GetCounts = /** @class */ (function (_super) {
|
|
86
|
+
__extends(GetCounts, _super);
|
|
87
|
+
function GetCounts(uriOrUriList, args) {
|
|
88
|
+
if (args === void 0) { args = {}; }
|
|
89
|
+
var _this = _super.call(this) || this;
|
|
90
|
+
var _a = args.source, source = _a === void 0 ? "news" : _a, _b = args.type, type = _b === void 0 ? "concept" : _b, _c = args.dateStart, dateStart = _c === void 0 ? undefined : _c, _d = args.dateEnd, dateEnd = _d === void 0 ? undefined : _d, _e = args.returnInfo, returnInfo = _e === void 0 ? new returnInfo_1.ReturnInfo() : _e;
|
|
91
|
+
_this.setVal("action", "getCounts");
|
|
92
|
+
_this.setVal("source", source);
|
|
93
|
+
_this.setVal("type", type);
|
|
94
|
+
_this.setVal("uri", uriOrUriList);
|
|
95
|
+
if (dateStart !== undefined) {
|
|
96
|
+
_this.setDateVal("dateStart", dateStart);
|
|
97
|
+
}
|
|
98
|
+
if (dateEnd !== undefined) {
|
|
99
|
+
_this.setDateVal("dateEnd", dateEnd);
|
|
100
|
+
}
|
|
101
|
+
_this.params = __assign(__assign({}, _this.params), returnInfo.getParams());
|
|
102
|
+
return _this;
|
|
103
|
+
}
|
|
104
|
+
return GetCounts;
|
|
105
|
+
}(CountsBase));
|
|
106
|
+
exports.GetCounts = GetCounts;
|
|
107
|
+
/**
|
|
108
|
+
* @class GetCountsEx
|
|
109
|
+
* Obtain information about how frequently a concept or category is mentioned in the articles on particular dates
|
|
110
|
+
* Similar to GetCounts, but the output is more friendly for a larger set of provided uris/ids at once
|
|
111
|
+
* Usage example:
|
|
112
|
+
* q = GetCountsEx(type = "category")
|
|
113
|
+
* q.queryById(range(10)) # return trends of first 10 categories
|
|
114
|
+
* ret = er.execQuery(q)
|
|
115
|
+
* Return object:
|
|
116
|
+
* {
|
|
117
|
+
* "categoryInfo": [
|
|
118
|
+
* {
|
|
119
|
+
* "id": 0,
|
|
120
|
+
* "label": "Root",
|
|
121
|
+
* "uri": "http://www.dmoz.org"
|
|
122
|
+
* },
|
|
123
|
+
* {
|
|
124
|
+
* "id": 1,
|
|
125
|
+
* "label": "Recreation",
|
|
126
|
+
* "uri": "http://www.dmoz.org/Recreation"
|
|
127
|
+
* },
|
|
128
|
+
* ...
|
|
129
|
+
* ],
|
|
130
|
+
* "counts": [
|
|
131
|
+
* {
|
|
132
|
+
* "0": 23, "1": 42, "2": 52, "3": 32, "4": 21, "5": 65, "6": 32, "7": 654, "8": 1, "9": 34,
|
|
133
|
+
* "date": "2015-05-07"
|
|
134
|
+
* },
|
|
135
|
+
* ...
|
|
136
|
+
* ]
|
|
137
|
+
* }
|
|
138
|
+
* @param uriOrUriList: concept/category uri or a list of uris
|
|
139
|
+
* @param args Object which contains a host of optional parameters
|
|
140
|
+
*/
|
|
141
|
+
var GetCountsEx = /** @class */ (function (_super) {
|
|
142
|
+
__extends(GetCountsEx, _super);
|
|
143
|
+
function GetCountsEx(uriOrUriList, args) {
|
|
144
|
+
if (args === void 0) { args = {}; }
|
|
145
|
+
var _this = _super.call(this) || this;
|
|
146
|
+
var _a = args.source, source = _a === void 0 ? "news" : _a, _b = args.type, type = _b === void 0 ? "concept" : _b, _c = args.dateStart, dateStart = _c === void 0 ? undefined : _c, _d = args.dateEnd, dateEnd = _d === void 0 ? undefined : _d, _e = args.returnInfo, returnInfo = _e === void 0 ? new returnInfo_1.ReturnInfo() : _e;
|
|
147
|
+
_this.setVal("action", "GetCountsEx");
|
|
148
|
+
_this.setVal("source", source);
|
|
149
|
+
_this.setVal("type", type);
|
|
150
|
+
_this.setVal("uri", uriOrUriList);
|
|
151
|
+
if (dateStart !== undefined) {
|
|
152
|
+
_this.setDateVal("dateStart", dateStart);
|
|
153
|
+
}
|
|
154
|
+
if (dateEnd !== undefined) {
|
|
155
|
+
_this.setDateVal("dateEnd", dateEnd);
|
|
156
|
+
}
|
|
157
|
+
_this.params = __assign(__assign({}, _this.params), returnInfo.getParams());
|
|
158
|
+
return _this;
|
|
159
|
+
}
|
|
160
|
+
return GetCountsEx;
|
|
161
|
+
}(CountsBase));
|
|
162
|
+
exports.GetCountsEx = GetCountsEx;
|
|
150
163
|
//# sourceMappingURL=counts.js.map
|
package/dist/counts.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"counts.js","sourceRoot":"","sources":["../src/counts.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"counts.js","sourceRoot":"","sources":["../src/counts.ts"],"names":[],"mappings":"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"}
|
package/dist/dailyShares.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { QueryParamsBase } from "./base";
|
|
2
|
-
import {
|
|
3
|
-
export declare class GetTopSharedArticles extends QueryParamsBase {
|
|
4
|
-
constructor(args?:
|
|
5
|
-
|
|
6
|
-
}
|
|
7
|
-
export declare class GetTopSharedEvents extends QueryParamsBase {
|
|
8
|
-
constructor(args?:
|
|
9
|
-
|
|
10
|
-
}
|
|
1
|
+
import { QueryParamsBase } from "./base";
|
|
2
|
+
import { ER } from "./types";
|
|
3
|
+
export declare class GetTopSharedArticles extends QueryParamsBase {
|
|
4
|
+
constructor(args?: ER.DailyShares.Arguments);
|
|
5
|
+
get path(): string;
|
|
6
|
+
}
|
|
7
|
+
export declare class GetTopSharedEvents extends QueryParamsBase {
|
|
8
|
+
constructor(args?: ER.DailyShares.Arguments);
|
|
9
|
+
get path(): string;
|
|
10
|
+
}
|