@thomas-labs/scrape-service-lib 1.1.38 → 1.1.40
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/AppClient.js
CHANGED
|
@@ -20,7 +20,7 @@ class AppClient {
|
|
|
20
20
|
constructor(config, HttpRequest = FetchHttpRequest_1.FetchHttpRequest) {
|
|
21
21
|
this.request = new HttpRequest({
|
|
22
22
|
BASE: config?.BASE ?? '/api',
|
|
23
|
-
VERSION: config?.VERSION ?? '1.0.
|
|
23
|
+
VERSION: config?.VERSION ?? '1.0.41',
|
|
24
24
|
WITH_CREDENTIALS: config?.WITH_CREDENTIALS ?? false,
|
|
25
25
|
CREDENTIALS: config?.CREDENTIALS ?? 'include',
|
|
26
26
|
TOKEN: config?.TOKEN,
|
package/dist/core/OpenAPI.js
CHANGED
|
@@ -67,25 +67,35 @@ export declare class StatsService {
|
|
|
67
67
|
terms(year?: number, month?: number, date?: string): CancelablePromise<any>;
|
|
68
68
|
/**
|
|
69
69
|
* @param year
|
|
70
|
+
* @param month
|
|
70
71
|
* @returns any Ok
|
|
71
72
|
* @throws ApiError
|
|
72
73
|
*/
|
|
73
|
-
adminUserGrowth(year?: number): CancelablePromise<any>;
|
|
74
|
+
adminUserGrowth(year?: number, month?: number): CancelablePromise<any>;
|
|
74
75
|
/**
|
|
76
|
+
* @param year
|
|
77
|
+
* @param month
|
|
78
|
+
* @param day
|
|
75
79
|
* @returns any Ok
|
|
76
80
|
* @throws ApiError
|
|
77
81
|
*/
|
|
78
|
-
adminActiveUsers(): CancelablePromise<any>;
|
|
82
|
+
adminActiveUsers(year?: number, month?: number, day?: number): CancelablePromise<any>;
|
|
79
83
|
/**
|
|
80
84
|
* @param days
|
|
85
|
+
* @param year
|
|
86
|
+
* @param month
|
|
87
|
+
* @param day
|
|
81
88
|
* @returns any Ok
|
|
82
89
|
* @throws ApiError
|
|
83
90
|
*/
|
|
84
|
-
adminActivationFunnel(days?: number): CancelablePromise<any>;
|
|
91
|
+
adminActivationFunnel(days?: number, year?: number, month?: number, day?: number): CancelablePromise<any>;
|
|
85
92
|
/**
|
|
86
93
|
* @param days
|
|
94
|
+
* @param year
|
|
95
|
+
* @param month
|
|
96
|
+
* @param day
|
|
87
97
|
* @returns any Ok
|
|
88
98
|
* @throws ApiError
|
|
89
99
|
*/
|
|
90
|
-
adminReportTicketsDaily(days?: number): CancelablePromise<any>;
|
|
100
|
+
adminReportTicketsDaily(days?: number, year?: number, month?: number, day?: number): CancelablePromise<any>;
|
|
91
101
|
}
|
|
@@ -143,53 +143,75 @@ class StatsService {
|
|
|
143
143
|
}
|
|
144
144
|
/**
|
|
145
145
|
* @param year
|
|
146
|
+
* @param month
|
|
146
147
|
* @returns any Ok
|
|
147
148
|
* @throws ApiError
|
|
148
149
|
*/
|
|
149
|
-
adminUserGrowth(year) {
|
|
150
|
+
adminUserGrowth(year, month) {
|
|
150
151
|
return this.httpRequest.request({
|
|
151
152
|
method: 'GET',
|
|
152
153
|
url: '/stats/admin/user-growth',
|
|
153
154
|
query: {
|
|
154
155
|
'year': year,
|
|
156
|
+
'month': month,
|
|
155
157
|
},
|
|
156
158
|
});
|
|
157
159
|
}
|
|
158
160
|
/**
|
|
161
|
+
* @param year
|
|
162
|
+
* @param month
|
|
163
|
+
* @param day
|
|
159
164
|
* @returns any Ok
|
|
160
165
|
* @throws ApiError
|
|
161
166
|
*/
|
|
162
|
-
adminActiveUsers() {
|
|
167
|
+
adminActiveUsers(year, month, day) {
|
|
163
168
|
return this.httpRequest.request({
|
|
164
169
|
method: 'GET',
|
|
165
170
|
url: '/stats/admin/active-users',
|
|
171
|
+
query: {
|
|
172
|
+
'year': year,
|
|
173
|
+
'month': month,
|
|
174
|
+
'day': day,
|
|
175
|
+
},
|
|
166
176
|
});
|
|
167
177
|
}
|
|
168
178
|
/**
|
|
169
179
|
* @param days
|
|
180
|
+
* @param year
|
|
181
|
+
* @param month
|
|
182
|
+
* @param day
|
|
170
183
|
* @returns any Ok
|
|
171
184
|
* @throws ApiError
|
|
172
185
|
*/
|
|
173
|
-
adminActivationFunnel(days) {
|
|
186
|
+
adminActivationFunnel(days, year, month, day) {
|
|
174
187
|
return this.httpRequest.request({
|
|
175
188
|
method: 'GET',
|
|
176
189
|
url: '/stats/admin/activation-funnel',
|
|
177
190
|
query: {
|
|
178
191
|
'days': days,
|
|
192
|
+
'year': year,
|
|
193
|
+
'month': month,
|
|
194
|
+
'day': day,
|
|
179
195
|
},
|
|
180
196
|
});
|
|
181
197
|
}
|
|
182
198
|
/**
|
|
183
199
|
* @param days
|
|
200
|
+
* @param year
|
|
201
|
+
* @param month
|
|
202
|
+
* @param day
|
|
184
203
|
* @returns any Ok
|
|
185
204
|
* @throws ApiError
|
|
186
205
|
*/
|
|
187
|
-
adminReportTicketsDaily(days) {
|
|
206
|
+
adminReportTicketsDaily(days, year, month, day) {
|
|
188
207
|
return this.httpRequest.request({
|
|
189
208
|
method: 'GET',
|
|
190
209
|
url: '/stats/admin/report-tickets-daily',
|
|
191
210
|
query: {
|
|
192
211
|
'days': days,
|
|
212
|
+
'year': year,
|
|
213
|
+
'month': month,
|
|
214
|
+
'day': day,
|
|
193
215
|
},
|
|
194
216
|
});
|
|
195
217
|
}
|