podverse-external-services 5.1.1-alpha.14 → 5.1.1-alpha.16
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/services/google/fcm.d.ts +3 -1
- package/dist/services/google/fcm.d.ts.map +1 -1
- package/dist/services/google/fcm.js +3 -1
- package/dist/services/notifications/index.d.ts +2 -1
- package/dist/services/notifications/index.d.ts.map +1 -1
- package/dist/services/notifications/index.js +2 -1
- package/dist/services/paypal/index.js +4 -2
- package/dist/services/podcast-index/index.d.ts +14 -2
- package/dist/services/podcast-index/index.d.ts.map +1 -1
- package/dist/services/podcast-index/index.js +44 -2
- package/package.json +15 -15
- package/dist/services/podcast-index/types/podcastByGuid.d.ts +0 -73
- package/dist/services/podcast-index/types/podcastByGuid.d.ts.map +0 -1
- package/dist/services/podcast-index/types/podcastByGuid.js +0 -2
- package/dist/services/podcast-index/types/podcastsByTag.d.ts +0 -68
- package/dist/services/podcast-index/types/podcastsByTag.d.ts.map +0 -1
- package/dist/services/podcast-index/types/podcastsByTag.js +0 -2
- package/dist/services/podcast-index/types/valueBatchByEpisodeGuid.d.ts +0 -37
- package/dist/services/podcast-index/types/valueBatchByEpisodeGuid.d.ts.map +0 -1
- package/dist/services/podcast-index/types/valueBatchByEpisodeGuid.js +0 -2
- package/dist/services/podcast-index/types/valueByEpisodeGuid.d.ts +0 -32
- package/dist/services/podcast-index/types/valueByEpisodeGuid.d.ts.map +0 -1
- package/dist/services/podcast-index/types/valueByEpisodeGuid.js +0 -2
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
import { LoggerService } from 'podverse-helpers/dist/lib/backend/logger';
|
|
2
2
|
import { SendNotificationOptions } from '@external-services/services/notifications';
|
|
3
3
|
type GoogleFCMServiceParams = {
|
|
4
|
+
userAgent: string;
|
|
4
5
|
authToken: string;
|
|
5
6
|
firebaseProjectId: string;
|
|
6
7
|
loggerService: LoggerService;
|
|
7
8
|
};
|
|
8
9
|
export declare class GoogleFCMService {
|
|
10
|
+
private userAgent;
|
|
9
11
|
private authToken;
|
|
10
12
|
private firebaseProjectId;
|
|
11
13
|
private loggerService;
|
|
12
|
-
constructor({ authToken, firebaseProjectId, loggerService }: GoogleFCMServiceParams);
|
|
14
|
+
constructor({ userAgent, authToken, firebaseProjectId, loggerService }: GoogleFCMServiceParams);
|
|
13
15
|
private getFcmGoogleApiPath;
|
|
14
16
|
sendFcmNewItemDetectedNotification: (account_fcm_tokens: string[], options: SendNotificationOptions) => Promise<void>;
|
|
15
17
|
sendFcmLiveItemLiveDetectedNotification: (account_fcm_tokens: string[], options: SendNotificationOptions) => Promise<void>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fcm.d.ts","sourceRoot":"","sources":["../../../src/services/google/fcm.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,0CAA0C,CAAC;AACzE,OAAO,EAAE,uBAAuB,EAAE,MAAM,2CAA2C,CAAC;AAEpF,KAAK,sBAAsB,GAAG;IAC5B,SAAS,EAAE,MAAM,CAAC;IAClB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,aAAa,EAAE,aAAa,CAAC;CAC9B,CAAC;AAEF,qBAAa,gBAAgB;IAC3B,OAAO,CAAC,SAAS,CAAS;IAC1B,OAAO,CAAC,iBAAiB,CAAS;IAClC,OAAO,CAAC,aAAa,CAAgB;gBAEzB,EAAE,SAAS,EAAE,iBAAiB,EAAE,aAAa,EAAE,EAAE,sBAAsB;
|
|
1
|
+
{"version":3,"file":"fcm.d.ts","sourceRoot":"","sources":["../../../src/services/google/fcm.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,0CAA0C,CAAC;AACzE,OAAO,EAAE,uBAAuB,EAAE,MAAM,2CAA2C,CAAC;AAEpF,KAAK,sBAAsB,GAAG;IAC5B,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,aAAa,EAAE,aAAa,CAAC;CAC9B,CAAC;AAEF,qBAAa,gBAAgB;IAC3B,OAAO,CAAC,SAAS,CAAS;IAC1B,OAAO,CAAC,SAAS,CAAS;IAC1B,OAAO,CAAC,iBAAiB,CAAS;IAClC,OAAO,CAAC,aAAa,CAAgB;gBAEzB,EAAE,SAAS,EAAE,SAAS,EAAE,iBAAiB,EAAE,aAAa,EAAE,EAAE,sBAAsB;IAO9F,OAAO,CAAC,mBAAmB;IAI3B,kCAAkC,GAAU,oBAAoB,MAAM,EAAE,EAAE,SAAS,uBAAuB,mBAsBxG;IAEF,uCAAuC,GAAU,oBAAoB,MAAM,EAAE,EAAE,SAAS,uBAAuB,mBAsB7G;IAEF,4BAA4B,GAC1B,WAAW,MAAM,EAAE,EACnB,OAAO,MAAM,EACb,MAAM,MAAM,EACZ,eAAe,MAAM,EACrB,kBAAkB,MAAM,GAAG,UAAU,EACrC,cAAc,MAAM,EACpB,WAAW,MAAM,EACjB,eAAe,MAAM,GAAG,IAAI,EAC5B,YAAY,MAAM,GAAG,IAAI,EACzB,aAAa,MAAM,mBAuEnB;CACH"}
|
|
@@ -12,7 +12,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
12
12
|
exports.GoogleFCMService = void 0;
|
|
13
13
|
const podverse_helpers_1 = require("podverse-helpers");
|
|
14
14
|
class GoogleFCMService {
|
|
15
|
-
constructor({ authToken, firebaseProjectId, loggerService }) {
|
|
15
|
+
constructor({ userAgent, authToken, firebaseProjectId, loggerService }) {
|
|
16
16
|
this.sendFcmNewItemDetectedNotification = (account_fcm_tokens, options) => __awaiter(this, void 0, void 0, function* () {
|
|
17
17
|
const { channelIdText, channelFullImageUrl, itemFullImageUrl, itemIdText } = options;
|
|
18
18
|
const channelTitle = options.channelTitle || 'Untitled';
|
|
@@ -50,6 +50,7 @@ class GoogleFCMService {
|
|
|
50
50
|
yield (0, podverse_helpers_1.request)(fcmGoogleApiPath, {
|
|
51
51
|
method: 'POST',
|
|
52
52
|
headers: {
|
|
53
|
+
'User-Agent': this.userAgent,
|
|
53
54
|
Authorization: `Bearer ${this.authToken}`,
|
|
54
55
|
'Content-Type': 'application/json'
|
|
55
56
|
},
|
|
@@ -101,6 +102,7 @@ class GoogleFCMService {
|
|
|
101
102
|
}
|
|
102
103
|
}
|
|
103
104
|
});
|
|
105
|
+
this.userAgent = userAgent;
|
|
104
106
|
this.authToken = authToken;
|
|
105
107
|
this.firebaseProjectId = firebaseProjectId;
|
|
106
108
|
this.loggerService = loggerService;
|
|
@@ -10,13 +10,14 @@ export interface SendNotificationOptions {
|
|
|
10
10
|
channelTitle?: string | null;
|
|
11
11
|
}
|
|
12
12
|
type Constructor = {
|
|
13
|
+
userAgent: string;
|
|
13
14
|
googleAuthToken: string;
|
|
14
15
|
firebaseProjectId: string;
|
|
15
16
|
loggerService: LoggerService;
|
|
16
17
|
};
|
|
17
18
|
export declare class NotificationsService {
|
|
18
19
|
GoogleFCMService: GoogleFCMService;
|
|
19
|
-
constructor({ googleAuthToken, firebaseProjectId, loggerService }: Constructor);
|
|
20
|
+
constructor({ userAgent, googleAuthToken, firebaseProjectId, loggerService }: Constructor);
|
|
20
21
|
sendNewItemDetectedNotifications: (account_fcm_tokens: string[], options: SendNotificationOptions) => Promise<void>;
|
|
21
22
|
sendLiveItemLiveDetectedNotifications: (account_fcm_tokens: string[], options: SendNotificationOptions) => Promise<void>;
|
|
22
23
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/services/notifications/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,wCAAwC,CAAA;AACzE,OAAO,EAAE,aAAa,EAAE,MAAM,0CAA0C,CAAC;AAEzE,MAAM,WAAW,uBAAuB;IACtC,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAChC,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACx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AAS,EAAE,eAAe,EAAE,iBAAiB,EAAE,aAAa,EAAE,EAAE,WAAW;IAW1F,gCAAgC,GAAU,oBAAoB,MAAM,EAAE,EAAE,SAAS,uBAAuB,KAAG,OAAO,CAAC,IAAI,CAAC,CAKvH;IAED,qCAAqC,GAAU,oBAAoB,MAAM,EAAE,EAAE,SAAS,uBAAuB,KAAG,OAAO,CAAC,IAAI,CAAC,CAK5H;CACF"}
|
|
@@ -13,7 +13,7 @@ exports.NotificationsService = void 0;
|
|
|
13
13
|
const fcm_1 = require("@external-services/services/google/fcm");
|
|
14
14
|
class NotificationsService {
|
|
15
15
|
// declare UnifiedPushService: UnifiedPushService
|
|
16
|
-
constructor({ googleAuthToken, firebaseProjectId, loggerService }) {
|
|
16
|
+
constructor({ userAgent, googleAuthToken, firebaseProjectId, loggerService }) {
|
|
17
17
|
this.sendNewItemDetectedNotifications = (account_fcm_tokens, options) => __awaiter(this, void 0, void 0, function* () {
|
|
18
18
|
yield Promise.all([
|
|
19
19
|
this.GoogleFCMService.sendFcmNewItemDetectedNotification(account_fcm_tokens, options),
|
|
@@ -27,6 +27,7 @@ class NotificationsService {
|
|
|
27
27
|
]);
|
|
28
28
|
});
|
|
29
29
|
this.GoogleFCMService = new fcm_1.GoogleFCMService({
|
|
30
|
+
userAgent,
|
|
30
31
|
authToken: googleAuthToken,
|
|
31
32
|
firebaseProjectId,
|
|
32
33
|
loggerService
|
|
@@ -29,16 +29,18 @@ class PayPalService {
|
|
|
29
29
|
}
|
|
30
30
|
getPaymentInfo(paymentId) {
|
|
31
31
|
return __awaiter(this, void 0, void 0, function* () {
|
|
32
|
+
var _a;
|
|
32
33
|
const request = new payments.PaymentGetRequest(paymentId);
|
|
33
34
|
const response = yield this.client.execute(request);
|
|
34
|
-
return response.result;
|
|
35
|
+
return (_a = response === null || response === void 0 ? void 0 : response.data) === null || _a === void 0 ? void 0 : _a.result;
|
|
35
36
|
});
|
|
36
37
|
}
|
|
37
38
|
getCaptureInfo(paymentId) {
|
|
38
39
|
return __awaiter(this, void 0, void 0, function* () {
|
|
40
|
+
var _a;
|
|
39
41
|
const request = new payments.CaptureGetRequest(paymentId);
|
|
40
42
|
const response = yield this.client.execute(request);
|
|
41
|
-
return response.result;
|
|
43
|
+
return (_a = response === null || response === void 0 ? void 0 : response.data) === null || _a === void 0 ? void 0 : _a.result;
|
|
42
44
|
});
|
|
43
45
|
}
|
|
44
46
|
}
|
|
@@ -1,17 +1,19 @@
|
|
|
1
|
+
import type { PodcastByGuidResponse, PodcastIndexSearchPodcastsResponse } from 'podverse-helpers';
|
|
1
2
|
import { LoggerService } from 'podverse-helpers/dist/lib/backend/logger';
|
|
2
|
-
import { PodcastByGuidResponse } from './types/podcastByGuid';
|
|
3
3
|
type Constructor = {
|
|
4
|
+
userAgent: string;
|
|
4
5
|
authKey: string;
|
|
5
6
|
baseUrl: string;
|
|
6
7
|
secretKey: string;
|
|
7
8
|
loggerService: LoggerService;
|
|
8
9
|
};
|
|
9
10
|
export declare class PodcastIndexService {
|
|
11
|
+
userAgent: string;
|
|
10
12
|
authKey: string;
|
|
11
13
|
baseUrl: string;
|
|
12
14
|
secretKey: string;
|
|
13
15
|
loggerService: LoggerService;
|
|
14
|
-
constructor({ authKey, baseUrl, secretKey, loggerService }: Constructor);
|
|
16
|
+
constructor({ userAgent, authKey, baseUrl, secretKey, loggerService }: Constructor);
|
|
15
17
|
podcastIndexAPIRequest: (url: string, config?: any) => Promise<any>;
|
|
16
18
|
deadFeedsDownloadAndExtractCSV: (resolveHandler: (row: string[]) => void) => Promise<void>;
|
|
17
19
|
deadFeedsExtractRow: (row: string[]) => {
|
|
@@ -20,7 +22,17 @@ export declare class PodcastIndexService {
|
|
|
20
22
|
};
|
|
21
23
|
podcastGetById: (podcastIndexId: number) => Promise<any | null>;
|
|
22
24
|
podcastGetByGuid: (podcastGuid: string) => Promise<PodcastByGuidResponse | null>;
|
|
25
|
+
podcastsByMedium: (medium: string, max?: number) => Promise<any>;
|
|
23
26
|
recentGetData: (sinceRange: number) => Promise<any[]>;
|
|
27
|
+
searchPodcasts: (term: string, options?: {
|
|
28
|
+
max?: number;
|
|
29
|
+
val?: "any" | "lightning" | "hive" | "webmonetization";
|
|
30
|
+
aponly?: boolean;
|
|
31
|
+
clean?: boolean;
|
|
32
|
+
similar?: boolean;
|
|
33
|
+
fulltext?: boolean;
|
|
34
|
+
pretty?: boolean;
|
|
35
|
+
}) => Promise<PodcastIndexSearchPodcastsResponse | null>;
|
|
24
36
|
trendingGetPodcasts: (max?: number, since?: number, lang?: string, cat?: string) => Promise<{
|
|
25
37
|
feeds: any[];
|
|
26
38
|
nextSince?: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/services/podcast-index/index.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/services/podcast-index/index.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,qBAAqB,EAAE,kCAAkC,EAC9C,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,aAAa,EAAE,MAAM,0CAA0C,CAAC;AAEzE,KAAK,WAAW,GAAG;IACjB,SAAS,EAAE,MAAM,CAAA;IACjB,OAAO,EAAE,MAAM,CAAA;IACf,OAAO,EAAE,MAAM,CAAA;IACf,SAAS,EAAE,MAAM,CAAA;IACjB,aAAa,EAAE,aAAa,CAAA;CAC7B,CAAA;AASD,qBAAa,mBAAmB;IACtB,SAAS,EAAE,MAAM,CAAA;IACjB,OAAO,EAAE,MAAM,CAAA;IACf,OAAO,EAAE,MAAM,CAAA;IACf,SAAS,EAAE,MAAM,CAAA;IACjB,aAAa,EAAE,aAAa,CAAC;gBAExB,EAAE,SAAS,EAAE,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,EAAE,WAAW;IAUnF,sBAAsB,GAAU,KAAK,MAAM,EAAE,SAAS,GAAG,kBAgCx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again before sending the request to PI API.
|
|
27
27
|
*/
|
|
28
28
|
class PodcastIndexService {
|
|
29
|
-
constructor({ authKey, baseUrl, secretKey, loggerService }) {
|
|
29
|
+
constructor({ userAgent, authKey, baseUrl, secretKey, loggerService }) {
|
|
30
30
|
// Request handler
|
|
31
31
|
this.podcastIndexAPIRequest = (url, config) => __awaiter(this, void 0, void 0, function* () {
|
|
32
32
|
var _a, _b, _c;
|
|
@@ -37,12 +37,13 @@ class PodcastIndexService {
|
|
|
37
37
|
try {
|
|
38
38
|
const response = yield (0, podverse_helpers_1.request)(url, Object.assign(Object.assign({}, (shouldPreventHeaders ? {} : {
|
|
39
39
|
headers: {
|
|
40
|
+
'User-Agent': this.userAgent,
|
|
40
41
|
'X-Auth-Key': this.authKey,
|
|
41
42
|
'X-Auth-Date': apiHeaderTime,
|
|
42
43
|
Authorization: hash
|
|
43
44
|
}
|
|
44
45
|
})), config));
|
|
45
|
-
return response;
|
|
46
|
+
return response === null || response === void 0 ? void 0 : response.data;
|
|
46
47
|
}
|
|
47
48
|
catch (error) {
|
|
48
49
|
this.loggerService.logError('[PodcastIndex] Request failed', {
|
|
@@ -121,6 +122,12 @@ class PodcastIndexService {
|
|
|
121
122
|
}
|
|
122
123
|
return podcastIndexPodcast || null;
|
|
123
124
|
});
|
|
125
|
+
this.podcastsByMedium = (medium_1, ...args_1) => __awaiter(this, [medium_1, ...args_1], void 0, function* (medium, max = 100) {
|
|
126
|
+
const safeMax = Math.min(max, 1000);
|
|
127
|
+
const url = `${this.baseUrl}/podcasts/bymedium?medium=${encodeURIComponent(medium)}&max=${safeMax}`;
|
|
128
|
+
const response = yield this.podcastIndexAPIRequest(url);
|
|
129
|
+
return response.feeds || [];
|
|
130
|
+
});
|
|
124
131
|
// Recent
|
|
125
132
|
this.recentGetData = (sinceRange) => __awaiter(this, void 0, void 0, function* () {
|
|
126
133
|
this.loggerService.info('recentGetData beginning...');
|
|
@@ -146,6 +153,40 @@ class PodcastIndexService {
|
|
|
146
153
|
});
|
|
147
154
|
return fetchData(sinceTimeInSeconds);
|
|
148
155
|
});
|
|
156
|
+
// Search
|
|
157
|
+
this.searchPodcasts = (term_1, ...args_1) => __awaiter(this, [term_1, ...args_1], void 0, function* (term, options = {}) {
|
|
158
|
+
const { max = 25, val, aponly, clean, similar, fulltext, pretty } = options;
|
|
159
|
+
const safeMax = Math.min(Math.max(max, 1), 1000);
|
|
160
|
+
const params = [
|
|
161
|
+
`q=${encodeURIComponent(term)}`,
|
|
162
|
+
`max=${safeMax}`
|
|
163
|
+
];
|
|
164
|
+
if (val) {
|
|
165
|
+
params.push(`val=${encodeURIComponent(val)}`);
|
|
166
|
+
}
|
|
167
|
+
// Boolean flags: if true, include param name without value per Podcast Index docs
|
|
168
|
+
if (aponly)
|
|
169
|
+
params.push('aponly');
|
|
170
|
+
if (clean)
|
|
171
|
+
params.push('clean');
|
|
172
|
+
if (similar)
|
|
173
|
+
params.push('similar');
|
|
174
|
+
if (fulltext)
|
|
175
|
+
params.push('fulltext');
|
|
176
|
+
if (pretty)
|
|
177
|
+
params.push('pretty');
|
|
178
|
+
const query = params.join('&');
|
|
179
|
+
const url = `${this.baseUrl}/search/byterm?${query}`;
|
|
180
|
+
this.loggerService.info(`[PodcastIndex] Searching podcasts: term="${term}" max=${safeMax} val=${val || 'none'} flags=${[aponly && 'aponly', clean && 'clean', similar && 'similar', fulltext && 'fulltext', pretty && 'pretty'].filter(Boolean).join(',')}`);
|
|
181
|
+
try {
|
|
182
|
+
const response = yield this.podcastIndexAPIRequest(url);
|
|
183
|
+
return response || [];
|
|
184
|
+
}
|
|
185
|
+
catch (error) {
|
|
186
|
+
this.loggerService.logError('[PodcastIndex] searchPodcasts failed', { term, error });
|
|
187
|
+
return null;
|
|
188
|
+
}
|
|
189
|
+
});
|
|
149
190
|
// Trending
|
|
150
191
|
this.trendingGetPodcasts = (...args_1) => __awaiter(this, [...args_1], void 0, function* (max = 25, since, lang, cat) {
|
|
151
192
|
const safeMax = Math.min(max, 1000);
|
|
@@ -184,6 +225,7 @@ class PodcastIndexService {
|
|
|
184
225
|
}
|
|
185
226
|
return accumulatedPodcastIndexIds;
|
|
186
227
|
});
|
|
228
|
+
this.userAgent = userAgent;
|
|
187
229
|
this.authKey = authKey;
|
|
188
230
|
this.baseUrl = baseUrl;
|
|
189
231
|
this.secretKey = secretKey;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "podverse-external-services",
|
|
3
|
-
"version": "5.1.1-alpha.
|
|
3
|
+
"version": "5.1.1-alpha.16",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -16,25 +16,25 @@
|
|
|
16
16
|
"author": "",
|
|
17
17
|
"license": "AGPLv3",
|
|
18
18
|
"devDependencies": {
|
|
19
|
-
"@types/crypto-js": "^4.2.
|
|
20
|
-
"@types/http-errors": "^2.0.
|
|
21
|
-
"@types/node": "^
|
|
22
|
-
"@types/web-push": "^3.
|
|
23
|
-
"@typescript-eslint/eslint-plugin": "^
|
|
24
|
-
"@typescript-eslint/parser": "^
|
|
25
|
-
"eslint": "^
|
|
26
|
-
"nodemon": "^3.
|
|
27
|
-
"typescript": "^5.
|
|
19
|
+
"@types/crypto-js": "^4.2.2",
|
|
20
|
+
"@types/http-errors": "^2.0.5",
|
|
21
|
+
"@types/node": "^24.4.0",
|
|
22
|
+
"@types/web-push": "^3.6.4",
|
|
23
|
+
"@typescript-eslint/eslint-plugin": "^8.44.0",
|
|
24
|
+
"@typescript-eslint/parser": "^8.44.0",
|
|
25
|
+
"eslint": "^9.35.0",
|
|
26
|
+
"nodemon": "^3.1.10",
|
|
27
|
+
"typescript": "^5.9.2"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"crypto-js": "^4.2.0",
|
|
31
31
|
"csv-parser": "^3.2.0",
|
|
32
|
-
"firebase-admin": "^13.
|
|
33
|
-
"http-errors": "
|
|
32
|
+
"firebase-admin": "^13.5.0",
|
|
33
|
+
"http-errors": "2.0.0",
|
|
34
34
|
"module-alias": "^2.2.3",
|
|
35
35
|
"paypal-rest-sdk": "2.0.0-rc.2",
|
|
36
|
-
"podcast-partytime": "^4.
|
|
37
|
-
"podverse-helpers": "^5.1.2-alpha.
|
|
38
|
-
"web-push": "^3.6.
|
|
36
|
+
"podcast-partytime": "^4.9.1",
|
|
37
|
+
"podverse-helpers": "^5.1.2-alpha.9",
|
|
38
|
+
"web-push": "^3.6.7"
|
|
39
39
|
}
|
|
40
40
|
}
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
type Query = {
|
|
2
|
-
guid: string;
|
|
3
|
-
id: string;
|
|
4
|
-
};
|
|
5
|
-
type Model = {
|
|
6
|
-
type: string;
|
|
7
|
-
method: string;
|
|
8
|
-
suggested: string;
|
|
9
|
-
};
|
|
10
|
-
type Destination = {
|
|
11
|
-
name: string;
|
|
12
|
-
address: string;
|
|
13
|
-
type: string;
|
|
14
|
-
split: number;
|
|
15
|
-
fee: boolean;
|
|
16
|
-
customKey: string;
|
|
17
|
-
customValue: string;
|
|
18
|
-
};
|
|
19
|
-
type Value = {
|
|
20
|
-
model: Model;
|
|
21
|
-
destinations: Destination[];
|
|
22
|
-
};
|
|
23
|
-
type Funding = {
|
|
24
|
-
url: string;
|
|
25
|
-
message: string;
|
|
26
|
-
};
|
|
27
|
-
type Categories = {
|
|
28
|
-
[key: string]: string;
|
|
29
|
-
};
|
|
30
|
-
type Feed = {
|
|
31
|
-
id: number;
|
|
32
|
-
podcastGuid: string;
|
|
33
|
-
title: string;
|
|
34
|
-
url: string;
|
|
35
|
-
originalUrl: string;
|
|
36
|
-
link: string;
|
|
37
|
-
description: string;
|
|
38
|
-
author: string;
|
|
39
|
-
ownerName: string;
|
|
40
|
-
image: string;
|
|
41
|
-
artwork: string;
|
|
42
|
-
lastUpdateTime: number;
|
|
43
|
-
lastCrawlTime: number;
|
|
44
|
-
lastParseTime: number;
|
|
45
|
-
lastGoodHttpStatusTime: number;
|
|
46
|
-
lastHttpStatus: number;
|
|
47
|
-
contentType: string;
|
|
48
|
-
itunesId: number;
|
|
49
|
-
itunesType: string;
|
|
50
|
-
generator: string;
|
|
51
|
-
language: string;
|
|
52
|
-
explicit: boolean;
|
|
53
|
-
type: number;
|
|
54
|
-
medium: string;
|
|
55
|
-
dead: number;
|
|
56
|
-
chash: string;
|
|
57
|
-
episodeCount: number;
|
|
58
|
-
crawlErrors: number;
|
|
59
|
-
parseErrors: number;
|
|
60
|
-
categories: Categories;
|
|
61
|
-
locked: number;
|
|
62
|
-
imageUrlHash: number;
|
|
63
|
-
value: Value;
|
|
64
|
-
funding: Funding;
|
|
65
|
-
};
|
|
66
|
-
export type PodcastByGuidResponse = {
|
|
67
|
-
status: string;
|
|
68
|
-
query: Query;
|
|
69
|
-
feed: Feed;
|
|
70
|
-
description: string;
|
|
71
|
-
};
|
|
72
|
-
export {};
|
|
73
|
-
//# sourceMappingURL=podcastByGuid.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"podcastByGuid.d.ts","sourceRoot":"","sources":["../../../../src/services/podcast-index/types/podcastByGuid.ts"],"names":[],"mappings":"AAAA,KAAK,KAAK,GAAG;IACX,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC;AAEF,KAAK,KAAK,GAAG;IACX,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,OAAO,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,KAA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,EAAE,MAAM,CAAC;IACrB,KAAK,EAAE,KAAK,CAAC;IACb,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG;IAClC,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,KAAK,CAAC;IACb,IAAI,EAAE,IAAI,CAAC;IACX,WAAW,EAAE,MAAM,CAAC;CACrB,CAAC"}
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
type Model = {
|
|
2
|
-
type: string;
|
|
3
|
-
method: string;
|
|
4
|
-
suggested: string;
|
|
5
|
-
};
|
|
6
|
-
type Destination = {
|
|
7
|
-
name: string;
|
|
8
|
-
address: string;
|
|
9
|
-
type: string;
|
|
10
|
-
split: number;
|
|
11
|
-
fee: boolean;
|
|
12
|
-
customKey: string;
|
|
13
|
-
customValue: string;
|
|
14
|
-
};
|
|
15
|
-
type Value = {
|
|
16
|
-
model: Model;
|
|
17
|
-
destinations: Destination[];
|
|
18
|
-
};
|
|
19
|
-
type Funding = {
|
|
20
|
-
url: string;
|
|
21
|
-
message: string;
|
|
22
|
-
};
|
|
23
|
-
type Categories = {
|
|
24
|
-
[key: string]: string;
|
|
25
|
-
};
|
|
26
|
-
type Feed = {
|
|
27
|
-
id: number;
|
|
28
|
-
title: string;
|
|
29
|
-
url: string;
|
|
30
|
-
originalUrl: string;
|
|
31
|
-
link: string;
|
|
32
|
-
description: string;
|
|
33
|
-
author: string;
|
|
34
|
-
ownerName: string;
|
|
35
|
-
image: string;
|
|
36
|
-
artwork: string;
|
|
37
|
-
lastUpdateTime: number;
|
|
38
|
-
lastCrawlTime: number;
|
|
39
|
-
lastParseTime: number;
|
|
40
|
-
lastGoodHttpStatusTime: number;
|
|
41
|
-
lastHttpStatus: number;
|
|
42
|
-
contentType: string;
|
|
43
|
-
itunesId: number;
|
|
44
|
-
generator: string;
|
|
45
|
-
language: string;
|
|
46
|
-
type: number;
|
|
47
|
-
dead: number;
|
|
48
|
-
crawlErrors: number;
|
|
49
|
-
parseErrors: number;
|
|
50
|
-
categories: Categories;
|
|
51
|
-
locked: number;
|
|
52
|
-
popularity: number;
|
|
53
|
-
imageUrlHash: number;
|
|
54
|
-
value: Value;
|
|
55
|
-
funding: Funding;
|
|
56
|
-
podcastGuid: string;
|
|
57
|
-
valueCreatedOn: number;
|
|
58
|
-
};
|
|
59
|
-
export type PodcastsByTagResponse = {
|
|
60
|
-
status: string;
|
|
61
|
-
feeds: Feed[];
|
|
62
|
-
count: number;
|
|
63
|
-
total: number;
|
|
64
|
-
nextStartAt: number;
|
|
65
|
-
description: string;
|
|
66
|
-
};
|
|
67
|
-
export {};
|
|
68
|
-
//# sourceMappingURL=podcastsByTag.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"podcastsByTag.d.ts","sourceRoot":"","sources":["../../../../src/services/podcast-index/types/podcastsByTag.ts"],"names":[],"mappings":"AAAA,KAAK,KAAK,GAAG;IACX,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,OAAO,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,KAAK,KAAK,GAAG;IACX,KAAK,EAAE,KAAK,CAAC;IACb,YAAY,EAAE,WAAW,EAAE,CAAC;CAC7B,CAAC;AAEF,KAAK,OAAO,GAAG;IACb,GAAG,EAAE,MAAM,CAAC;IACZ,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,KAAK,UAAU,GAAG;IAChB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;CACvB,CAAC;AAEF,KAAK,IAAI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|
-
[key: string]: string[];
|
|
3
|
-
};
|
|
4
|
-
type Model = {
|
|
5
|
-
type: string;
|
|
6
|
-
method: string;
|
|
7
|
-
suggested: string;
|
|
8
|
-
};
|
|
9
|
-
type Destination = {
|
|
10
|
-
name: string;
|
|
11
|
-
address: string;
|
|
12
|
-
type: string;
|
|
13
|
-
split: number;
|
|
14
|
-
fee: boolean;
|
|
15
|
-
customKey: string;
|
|
16
|
-
customValue: string;
|
|
17
|
-
};
|
|
18
|
-
type ValueItem = {
|
|
19
|
-
podcastGUID: string;
|
|
20
|
-
guid: string;
|
|
21
|
-
title: string;
|
|
22
|
-
feedTitle: string;
|
|
23
|
-
model: Model;
|
|
24
|
-
destinations: Destination[];
|
|
25
|
-
};
|
|
26
|
-
export type ValueBatchByEpisodeGuidResponse = {
|
|
27
|
-
status: string;
|
|
28
|
-
query: {
|
|
29
|
-
guids: QueryGuids;
|
|
30
|
-
};
|
|
31
|
-
value: ValueItem[];
|
|
32
|
-
description: string;
|
|
33
|
-
allFound: boolean;
|
|
34
|
-
found: number;
|
|
35
|
-
};
|
|
36
|
-
export {};
|
|
37
|
-
//# sourceMappingURL=valueBatchByEpisodeGuid.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"valueBatchByEpisodeGuid.d.ts","sourceRoot":"","sources":["../../../../src/services/podcast-index/types/valueBatchByEpisodeGuid.ts"],"names":[],"mappings":"AAAA,KAAK,UAAU,GAAG;IAChB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;CACzB,CAAC;AAEF,KAAK,KAAK,GAAG;IACX,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,OAAO,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,KAAK,SAAS,GAAG;IACf,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,KAAK,CAAC;IACb,YAAY,EAAE,WAAW,EAAE,CAAC;CAC7B,CAAC;AAEF,MAAM,MAAM,+BAA+B,GAAG;IAC5C,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE;QACL,KAAK,EAAE,UAAU,CAAC;KACnB,CAAC;IACF,KAAK,EAAE,SAAS,EAAE,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,OAAO,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;CACf,CAAC"}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
type Query = {
|
|
2
|
-
podcastguid: string;
|
|
3
|
-
episodeguid: string;
|
|
4
|
-
};
|
|
5
|
-
type Model = {
|
|
6
|
-
type: string;
|
|
7
|
-
method: string;
|
|
8
|
-
suggested: string;
|
|
9
|
-
};
|
|
10
|
-
type Destination = {
|
|
11
|
-
name: string;
|
|
12
|
-
address: string;
|
|
13
|
-
type: string;
|
|
14
|
-
split: number;
|
|
15
|
-
fee: boolean;
|
|
16
|
-
customKey: string;
|
|
17
|
-
customValue: string;
|
|
18
|
-
};
|
|
19
|
-
type Value = {
|
|
20
|
-
model: Model;
|
|
21
|
-
destinations: Destination[];
|
|
22
|
-
title: string;
|
|
23
|
-
feedTitle: string;
|
|
24
|
-
};
|
|
25
|
-
export type ValueByEpisodeGuidResponse = {
|
|
26
|
-
status: string;
|
|
27
|
-
query: Query;
|
|
28
|
-
value: Value;
|
|
29
|
-
description: string;
|
|
30
|
-
};
|
|
31
|
-
export {};
|
|
32
|
-
//# sourceMappingURL=valueByEpisodeGuid.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"valueByEpisodeGuid.d.ts","sourceRoot":"","sources":["../../../../src/services/podcast-index/types/valueByEpisodeGuid.ts"],"names":[],"mappings":"AAAA,KAAK,KAAK,GAAG;IACX,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,KAAK,KAAK,GAAG;IACX,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,OAAO,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,KAAK,KAAK,GAAG;IACX,KAAK,EAAE,KAAK,CAAC;IACb,YAAY,EAAE,WAAW,EAAE,CAAC;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,MAAM,MAAM,0BAA0B,GAAG;IACvC,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,KAAK,CAAC;IACb,KAAK,EAAE,KAAK,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;CACrB,CAAC"}
|