jd_platform_sdk 0.0.8 → 0.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/index.js +44 -28
- package/dist/sdk/configs/jdConfig.js +5 -1
- package/dist/sdk/jdConnector.js +63 -72
- package/dist/sdk/jdSdk.js +5 -1
- package/dist/sdk/models/jdApplication.d.ts +10 -4
- package/dist/sdk/models/jdApplication.d.ts.map +1 -1
- package/dist/sdk/models/jdApplication.js +76 -50
- package/dist/sdk/models/jdResource.d.ts +44 -1
- package/dist/sdk/models/jdResource.d.ts.map +1 -1
- package/dist/sdk/models/jdResource.js +131 -103
- package/dist/sdk/models/modules/dashboard/jdDashboardCombinations.js +31 -15
- package/dist/sdk/models/modules/geolocation/jdCity.d.ts +8 -4
- package/dist/sdk/models/modules/geolocation/jdCity.d.ts.map +1 -1
- package/dist/sdk/models/modules/geolocation/jdCity.js +61 -41
- package/dist/sdk/models/modules/geolocation/jdCountry.d.ts +7 -18
- package/dist/sdk/models/modules/geolocation/jdCountry.d.ts.map +1 -1
- package/dist/sdk/models/modules/geolocation/jdCountry.js +53 -49
- package/dist/sdk/models/modules/geolocation/jdDistrict.d.ts +7 -3
- package/dist/sdk/models/modules/geolocation/jdDistrict.d.ts.map +1 -1
- package/dist/sdk/models/modules/geolocation/jdDistrict.js +57 -35
- package/dist/sdk/models/modules/geolocation/jdState.d.ts +8 -4
- package/dist/sdk/models/modules/geolocation/jdState.d.ts.map +1 -1
- package/dist/sdk/models/modules/geolocation/jdState.js +61 -41
- package/dist/sdk/models/modules/karaoke/jdKtvShop.d.ts +10 -16
- package/dist/sdk/models/modules/karaoke/jdKtvShop.d.ts.map +1 -1
- package/dist/sdk/models/modules/karaoke/jdKtvShop.js +89 -78
- package/dist/sdk/models/modules/music/jdAlbum.d.ts +8 -50
- package/dist/sdk/models/modules/music/jdAlbum.d.ts.map +1 -1
- package/dist/sdk/models/modules/music/jdAlbum.js +102 -117
- package/dist/sdk/models/modules/music/jdArtist.d.ts +9 -47
- package/dist/sdk/models/modules/music/jdArtist.d.ts.map +1 -1
- package/dist/sdk/models/modules/music/jdArtist.js +90 -99
- package/dist/sdk/models/modules/music/jdComposer.d.ts +9 -49
- package/dist/sdk/models/modules/music/jdComposer.d.ts.map +1 -1
- package/dist/sdk/models/modules/music/jdComposer.js +87 -99
- package/dist/sdk/models/modules/music/jdMusicCombinations.js +31 -15
- package/dist/sdk/models/modules/music/jdSong.d.ts +11 -51
- package/dist/sdk/models/modules/music/jdSong.d.ts.map +1 -1
- package/dist/sdk/models/modules/music/jdSong.js +113 -131
- package/dist/sdk/models/modules/radio_station/jdRadioStation.d.ts +10 -16
- package/dist/sdk/models/modules/radio_station/jdRadioStation.d.ts.map +1 -1
- package/dist/sdk/models/modules/radio_station/jdRadioStation.js +89 -78
- package/dist/sdk/models/modules/user/jdPermission.d.ts +7 -33
- package/dist/sdk/models/modules/user/jdPermission.d.ts.map +1 -1
- package/dist/sdk/models/modules/user/jdPermission.js +63 -74
- package/dist/sdk/models/modules/user/jdPermissionGroup.d.ts +11 -39
- package/dist/sdk/models/modules/user/jdPermissionGroup.d.ts.map +1 -1
- package/dist/sdk/models/modules/user/jdPermissionGroup.js +57 -51
- package/dist/sdk/models/modules/user/jdSessionUser.d.ts +15 -2
- package/dist/sdk/models/modules/user/jdSessionUser.d.ts.map +1 -1
- package/dist/sdk/models/modules/user/jdSessionUser.js +78 -50
- package/dist/sdk/models/modules/user/jdUser.d.ts +7 -17
- package/dist/sdk/models/modules/user/jdUser.d.ts.map +1 -1
- package/dist/sdk/models/modules/user/jdUser.js +76 -73
- package/dist/sdk/models/modules/user/jdUserRole.d.ts +7 -43
- package/dist/sdk/models/modules/user/jdUserRole.d.ts.map +1 -1
- package/dist/sdk/models/modules/user/jdUserRole.js +55 -57
- package/dist/sdk/utilities/browserUtils.js +24 -31
- package/dist/sdk/utilities/cryptoUtils.js +13 -6
- package/dist/sdk/utilities/dateUtils.js +5 -1
- package/dist/sdk/utilities/globalEventHandler.js +5 -4
- package/dist/sdk/utilities/stringUtils.js +6 -2
- package/dist/sdk/utilities/utils.js +22 -19
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import JDResource, { ConnectorInfo } from "../../jdResource";
|
|
1
|
+
import JDResource, { ConnectorInfo, defaultSortParams, defaultUpdateFields, PaginateParams } from "../../jdResource";
|
|
2
2
|
export declare class JDSong extends JDResource {
|
|
3
3
|
albumId: string;
|
|
4
4
|
mainArtistId: string;
|
|
@@ -29,60 +29,20 @@ export declare class JDSong extends JDResource {
|
|
|
29
29
|
bandIds: any[];
|
|
30
30
|
constructor(data?: Record<string, any>, connectorInfo?: ConnectorInfo);
|
|
31
31
|
setData(data: Record<string, any>): void;
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
published?: string | undefined;
|
|
36
|
-
recommended?: string | undefined;
|
|
37
|
-
downloadable?: string | undefined;
|
|
38
|
-
hasLyrics?: string | undefined;
|
|
39
|
-
hasKaraoke?: string | undefined;
|
|
40
|
-
languageId?: string | undefined;
|
|
41
|
-
year?: string | undefined;
|
|
42
|
-
orderBy?: string | undefined;
|
|
43
|
-
order?: string | undefined;
|
|
44
|
-
pageIndex?: number | undefined;
|
|
45
|
-
countPerPage?: number | undefined;
|
|
46
|
-
fields?: string | undefined;
|
|
47
|
-
}): Promise<import("../../../jdConnector").SimpleResponse>;
|
|
48
|
-
paginateSongs({ titleEN, titleMM, keywordsEN, keywordsMM, published, recommended, downloadable, hasLyrics, hasKaraoke, wrongTracks, languageId, year, note, orderBy, order, pageIndex, countPerPage, fields }: {
|
|
49
|
-
titleEN?: string | null;
|
|
50
|
-
titleMM?: string | null;
|
|
51
|
-
keywordsEN?: string | null;
|
|
52
|
-
keywordsMM?: string | null;
|
|
53
|
-
published?: boolean | null;
|
|
32
|
+
getContents(params?: Partial<typeof defaultSortParams>): Promise<import("../../../jdConnector").SimpleResponse>;
|
|
33
|
+
paginateContents(params?: PaginateParams & {
|
|
34
|
+
languageId?: string | null;
|
|
54
35
|
recommended?: boolean | null;
|
|
55
36
|
downloadable?: boolean | null;
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
year?: number | null;
|
|
61
|
-
note?: string | null;
|
|
62
|
-
orderBy?: string | null;
|
|
63
|
-
order?: string | null;
|
|
64
|
-
pageIndex?: number | null;
|
|
65
|
-
countPerPage?: number | null;
|
|
66
|
-
fields?: string | null;
|
|
37
|
+
has_lyrics?: boolean | null;
|
|
38
|
+
has_karaoke?: boolean | null;
|
|
39
|
+
wrong_tracks?: boolean | null;
|
|
40
|
+
released_year?: number | null;
|
|
67
41
|
}): Promise<import("../../../jdConnector").SimpleResponse>;
|
|
68
|
-
|
|
69
|
-
title?: string
|
|
70
|
-
published?: string | undefined;
|
|
71
|
-
orderBy?: string | undefined;
|
|
72
|
-
order?: string | undefined;
|
|
73
|
-
pageIndex?: number | undefined;
|
|
74
|
-
countPerPage?: number | undefined;
|
|
75
|
-
fields?: string | undefined;
|
|
42
|
+
findContents(params?: PaginateParams & {
|
|
43
|
+
title?: string;
|
|
76
44
|
}): Promise<import("../../../jdConnector").SimpleResponse>;
|
|
77
45
|
getInfo(id: string): Promise<import("../../../jdConnector").SimpleResponse>;
|
|
78
|
-
|
|
79
|
-
publish(id: string, val: boolean): Promise<import("../../../jdConnector").SimpleResponse>;
|
|
80
|
-
updateSingleFields(id: string, { published, has_karaoke, has_lyrics, recommended, note }: {
|
|
81
|
-
published?: boolean | null;
|
|
82
|
-
has_karaoke?: boolean | null;
|
|
83
|
-
has_lyrics?: boolean | null;
|
|
84
|
-
recommended?: boolean | null;
|
|
85
|
-
note?: string | null;
|
|
86
|
-
}): Promise<import("../../../jdConnector").SimpleResponse>;
|
|
46
|
+
updateFields(id: string, body?: Partial<typeof defaultUpdateFields>): Promise<import("../../../jdConnector").SimpleResponse>;
|
|
87
47
|
}
|
|
88
48
|
//# sourceMappingURL=jdSong.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"jdSong.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/models/modules/music/jdSong.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,EAAE,EAAC,aAAa,EAAC,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"jdSong.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/models/modules/music/jdSong.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,EAAE,EAAC,aAAa,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,cAAc,EAAC,MAAM,kBAAkB,CAAC;AAEnH,qBAAa,MAAO,SAAQ,UAAU;IACrC,OAAO,EAAC,MAAM,CAAM;IACpB,YAAY,EAAC,MAAM,CAAM;IACzB,UAAU,EAAC,MAAM,CAAM;IACvB,QAAQ,EAAC,MAAM,CAAM;IACrB,IAAI,EAAC,MAAM,CAAM;IAEjB,SAAS,EAAC,OAAO,CAAS;IAC1B,UAAU,EAAC,OAAO,CAAS;IAC3B,WAAW,EAAC,OAAO,CAAS;IAC5B,QAAQ,EAAC,OAAO,CAAS;IACzB,YAAY,EAAC,OAAO,CAAS;IAE7B,eAAe,EAAC,MAAM,CAAK;IAC3B,aAAa,EAAC,MAAM,CAAK;IACzB,WAAW,EAAC,MAAM,CAAK;IACvB,YAAY,EAAC,MAAM,CAAK;IAExB,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAM;IACnC,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAM;IACrC,cAAc,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAM;IACzC,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAM;IAChC,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAM;IACrC,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAM;IACnC,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAM;IAEpC,OAAO,EAAE,GAAG,EAAE,CAAM;IACpB,SAAS,EAAE,GAAG,EAAE,CAAM;IACtB,KAAK,EAAE,GAAG,EAAE,CAAM;IAElB,SAAS,EAAE,GAAG,EAAE,CAAM;IACtB,WAAW,EAAE,GAAG,EAAE,CAAM;IACxB,OAAO,EAAE,GAAG,EAAE,CAAM;gBAER,IAAI,GAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAM,EAAE,aAAa,GAAE,aAAyC;IAKpG,OAAO,CAAC,IAAI,EAAC,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;IAoC1B,WAAW,CAAC,MAAM,GAAE,OAAO,CAAC,OAAO,iBAAiB,CAAM;IAK1D,gBAAgB,CAAC,MAAM,GAAE,cAAc,GAAG;QAAE,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;QAAC,WAAW,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;QAAC,YAAY,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;QAAC,UAAU,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;QAAC,WAAW,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;QAAC,YAAY,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;QAAC,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;KAAO;IAapQ,YAAY,CAAC,MAAM,GAAE,cAAc,GAAG;QAAE,KAAK,CAAC,EAAE,MAAM,CAAC;KAAO;IAM9D,OAAO,CAAC,EAAE,EAAC,MAAM;IAIjB,YAAY,CAAC,EAAE,EAAC,MAAM,EAAE,IAAI,GAAE,OAAO,CAAC,OAAO,mBAAmB,CAAM;CAG5E"}
|
|
@@ -1,144 +1,126 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
9
24
|
};
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
25
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
+
exports.JDSong = void 0;
|
|
27
|
+
const jdResource_1 = __importStar(require("../../jdResource"));
|
|
28
|
+
const utils_1 = require("../../../utilities/utils");
|
|
29
|
+
class JDSong extends jdResource_1.default {
|
|
30
|
+
albumId = "";
|
|
31
|
+
mainArtistId = "";
|
|
32
|
+
languageId = "";
|
|
33
|
+
isrcCode = "";
|
|
34
|
+
note = "";
|
|
35
|
+
hasLyrics = false;
|
|
36
|
+
hasKaraoke = false;
|
|
37
|
+
recommended = false;
|
|
38
|
+
promoted = false;
|
|
39
|
+
downloadable = false;
|
|
40
|
+
durationSeconds = 0;
|
|
41
|
+
channelsCount = 0;
|
|
42
|
+
tracksCount = 0;
|
|
43
|
+
releasedYear = 0;
|
|
44
|
+
keywords = {};
|
|
45
|
+
cdnStorage = {};
|
|
46
|
+
songValidation = {};
|
|
47
|
+
album = {};
|
|
48
|
+
mainArtist = {};
|
|
49
|
+
language = {};
|
|
50
|
+
checksums = {};
|
|
51
|
+
artists = [];
|
|
52
|
+
composers = [];
|
|
53
|
+
bands = [];
|
|
54
|
+
artistIds = [];
|
|
55
|
+
composerIds = [];
|
|
56
|
+
bandIds = [];
|
|
57
|
+
constructor(data = {}, connectorInfo = new jdResource_1.ConnectorInfo("", "")) {
|
|
14
58
|
super(connectorInfo);
|
|
15
|
-
this.albumId = "";
|
|
16
|
-
this.mainArtistId = "";
|
|
17
|
-
this.languageId = "";
|
|
18
|
-
this.isrcCode = "";
|
|
19
|
-
this.note = "";
|
|
20
|
-
this.hasLyrics = false;
|
|
21
|
-
this.hasKaraoke = false;
|
|
22
|
-
this.recommended = false;
|
|
23
|
-
this.promoted = false;
|
|
24
|
-
this.downloadable = false;
|
|
25
|
-
this.durationSeconds = 0;
|
|
26
|
-
this.channelsCount = 0;
|
|
27
|
-
this.tracksCount = 0;
|
|
28
|
-
this.releasedYear = 0;
|
|
29
|
-
this.keywords = {};
|
|
30
|
-
this.cdnStorage = {};
|
|
31
|
-
this.songValidation = {};
|
|
32
|
-
this.album = {};
|
|
33
|
-
this.mainArtist = {};
|
|
34
|
-
this.language = {};
|
|
35
|
-
this.checksums = {};
|
|
36
|
-
this.artists = [];
|
|
37
|
-
this.composers = [];
|
|
38
|
-
this.bands = [];
|
|
39
|
-
this.artistIds = [];
|
|
40
|
-
this.composerIds = [];
|
|
41
|
-
this.bandIds = [];
|
|
42
59
|
this.setData(data);
|
|
43
60
|
}
|
|
44
61
|
setData(data) {
|
|
45
62
|
super.setData(data);
|
|
46
|
-
this.albumId = Utils.getString(data, "album_id");
|
|
47
|
-
this.mainArtistId = Utils.getString(data, "main_artist_id");
|
|
48
|
-
this.languageId = Utils.getString(data, "language_id");
|
|
49
|
-
this.isrcCode = Utils.getString(data, "isrc_code");
|
|
50
|
-
this.note = Utils.getString(data, "note");
|
|
51
|
-
this.hasLyrics = Utils.getBoolean(data, "has_lyrics");
|
|
52
|
-
this.hasKaraoke = Utils.getBoolean(data, "has_karaoke");
|
|
53
|
-
this.recommended = Utils.getBoolean(data, "recommended");
|
|
54
|
-
this.promoted = Utils.getBoolean(data, "promoted");
|
|
55
|
-
this.downloadable = Utils.getBoolean(data, "downloadable");
|
|
56
|
-
this.durationSeconds = Utils.getInteger(data, "duration_seconds");
|
|
57
|
-
this.channelsCount = Utils.getInteger(data, "channels_count");
|
|
58
|
-
this.tracksCount = Utils.getInteger(data, "tracks_count");
|
|
59
|
-
this.releasedYear = Utils.getInteger(data, "released_year");
|
|
60
|
-
this.keywords = Utils.getObject(data, "keywords");
|
|
61
|
-
this.cdnStorage = Utils.getObject(data, "cdn_storage");
|
|
62
|
-
this.songValidation = Utils.getObject(data, "song_validation");
|
|
63
|
-
this.album = Utils.getObject(data, "album");
|
|
64
|
-
this.mainArtist = Utils.getObject(data, "main_artist");
|
|
65
|
-
this.language = Utils.getObject(data, "language");
|
|
66
|
-
this.checksums = Utils.getObject(data, "checksums");
|
|
67
|
-
this.artists = Utils.getArray(data, "artists");
|
|
68
|
-
this.composers = Utils.getArray(data, "composers");
|
|
69
|
-
this.bands = Utils.getArray(data, "bands");
|
|
70
|
-
this.artistIds = Utils.getArray(data, "artist_ids");
|
|
71
|
-
this.composerIds = Utils.getArray(data, "composer_ids");
|
|
72
|
-
this.bandIds = Utils.getArray(data, "band_ids");
|
|
73
|
-
}
|
|
74
|
-
// Filter songs
|
|
75
|
-
getSongs(_a) {
|
|
76
|
-
return __awaiter(this, arguments, void 0, function* ({ titleEn = "", keywordEn = "", published = "", recommended = "", downloadable = "", hasLyrics = "", hasKaraoke = "", languageId = "", year = "", orderBy = 'updated_at', order = 'desc', pageIndex = 0, countPerPage = 20, fields = '' }) {
|
|
77
|
-
const params = this.getSortParameters(orderBy, order, pageIndex, countPerPage, fields);
|
|
78
|
-
//Addon filters
|
|
79
|
-
params['title.en'] = titleEn;
|
|
80
|
-
params['keyword.en'] = keywordEn;
|
|
81
|
-
params['published'] = published;
|
|
82
|
-
params['recommended'] = recommended;
|
|
83
|
-
params['downloadable'] = downloadable;
|
|
84
|
-
params['has_lyrics'] = hasLyrics;
|
|
85
|
-
params['has_karaoke'] = hasKaraoke;
|
|
86
|
-
params['language_id'] = languageId;
|
|
87
|
-
params['year'] = year;
|
|
88
|
-
return yield this.getRelative('/modules/music/songs', params);
|
|
89
|
-
});
|
|
90
|
-
}
|
|
91
|
-
paginateSongs(_a) {
|
|
92
|
-
return __awaiter(this, arguments, void 0, function* ({ titleEN = "", titleMM = "", keywordsEN = "", keywordsMM = "", published = null, recommended = null, downloadable = null, hasLyrics = null, hasKaraoke = null, wrongTracks = null, languageId = "", year = null, note = "", orderBy = 'updated_at', order = 'desc', pageIndex = 0, countPerPage = 20, fields = '' }) {
|
|
93
|
-
const params = this.getSortParameters(orderBy, order, pageIndex, countPerPage, fields);
|
|
94
|
-
//Addon filters
|
|
95
|
-
params['title.en'] = titleEN;
|
|
96
|
-
params['title.mm'] = titleMM;
|
|
97
|
-
params['keywords.en'] = keywordsEN;
|
|
98
|
-
params['keywords.mm'] = keywordsMM;
|
|
99
|
-
params['published'] = published === null ? '' : published ? 'true' : 'false';
|
|
100
|
-
params['recommended'] = recommended === null ? '' : recommended ? 'true' : 'false';
|
|
101
|
-
params['downloadable'] = downloadable === null ? '' : downloadable ? 'true' : 'false';
|
|
102
|
-
params['has_lyrics'] = hasLyrics === null ? '' : hasLyrics ? 'true' : 'false';
|
|
103
|
-
params['has_karaoke'] = hasKaraoke === null ? '' : hasKaraoke ? 'true' : 'false';
|
|
104
|
-
params['wrong_tracks'] = wrongTracks === null ? '' : wrongTracks ? 'true' : 'false';
|
|
105
|
-
params['language_id'] = languageId;
|
|
106
|
-
params['note'] = note;
|
|
107
|
-
params['year'] = year === null ? '' : year;
|
|
108
|
-
// console.log('paginateSongs')
|
|
109
|
-
// console.log(params);
|
|
110
|
-
return yield this.getRelative('/modules/music/songs/paginate', params);
|
|
111
|
-
});
|
|
63
|
+
this.albumId = utils_1.Utils.getString(data, "album_id");
|
|
64
|
+
this.mainArtistId = utils_1.Utils.getString(data, "main_artist_id");
|
|
65
|
+
this.languageId = utils_1.Utils.getString(data, "language_id");
|
|
66
|
+
this.isrcCode = utils_1.Utils.getString(data, "isrc_code");
|
|
67
|
+
this.note = utils_1.Utils.getString(data, "note");
|
|
68
|
+
this.hasLyrics = utils_1.Utils.getBoolean(data, "has_lyrics");
|
|
69
|
+
this.hasKaraoke = utils_1.Utils.getBoolean(data, "has_karaoke");
|
|
70
|
+
this.recommended = utils_1.Utils.getBoolean(data, "recommended");
|
|
71
|
+
this.promoted = utils_1.Utils.getBoolean(data, "promoted");
|
|
72
|
+
this.downloadable = utils_1.Utils.getBoolean(data, "downloadable");
|
|
73
|
+
this.durationSeconds = utils_1.Utils.getInteger(data, "duration_seconds");
|
|
74
|
+
this.channelsCount = utils_1.Utils.getInteger(data, "channels_count");
|
|
75
|
+
this.tracksCount = utils_1.Utils.getInteger(data, "tracks_count");
|
|
76
|
+
this.releasedYear = utils_1.Utils.getInteger(data, "released_year");
|
|
77
|
+
this.keywords = utils_1.Utils.getObject(data, "keywords");
|
|
78
|
+
this.cdnStorage = utils_1.Utils.getObject(data, "cdn_storage");
|
|
79
|
+
this.songValidation = utils_1.Utils.getObject(data, "song_validation");
|
|
80
|
+
this.album = utils_1.Utils.getObject(data, "album");
|
|
81
|
+
this.mainArtist = utils_1.Utils.getObject(data, "main_artist");
|
|
82
|
+
this.language = utils_1.Utils.getObject(data, "language");
|
|
83
|
+
this.checksums = utils_1.Utils.getObject(data, "checksums");
|
|
84
|
+
this.artists = utils_1.Utils.getArray(data, "artists");
|
|
85
|
+
this.composers = utils_1.Utils.getArray(data, "composers");
|
|
86
|
+
this.bands = utils_1.Utils.getArray(data, "bands");
|
|
87
|
+
this.artistIds = utils_1.Utils.getArray(data, "artist_ids");
|
|
88
|
+
this.composerIds = utils_1.Utils.getArray(data, "composer_ids");
|
|
89
|
+
this.bandIds = utils_1.Utils.getArray(data, "band_ids");
|
|
112
90
|
}
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
//Addon filters
|
|
117
|
-
params['title'] = title;
|
|
118
|
-
params['published'] = published;
|
|
119
|
-
return yield this.getRelative('/modules/music/songs/find', params);
|
|
120
|
-
});
|
|
91
|
+
async getContents(params = {}) {
|
|
92
|
+
const queryParams = this.getSortParameters(params);
|
|
93
|
+
return await this.getRelative('/modules/music/songs', queryParams);
|
|
121
94
|
}
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
95
|
+
async paginateContents(params = {}) {
|
|
96
|
+
const queryParams = this.getSortParameters(params);
|
|
97
|
+
if (params.languageId)
|
|
98
|
+
queryParams['language_id'] = params.languageId;
|
|
99
|
+
if (params.recommended)
|
|
100
|
+
queryParams['recommended'] = params.recommended;
|
|
101
|
+
if (params.downloadable)
|
|
102
|
+
queryParams['downloadable'] = params.downloadable;
|
|
103
|
+
if (params.has_lyrics)
|
|
104
|
+
queryParams['has_lyrics'] = params.has_lyrics;
|
|
105
|
+
if (params.has_karaoke)
|
|
106
|
+
queryParams['has_karaoke'] = params.has_karaoke;
|
|
107
|
+
if (params.wrong_tracks)
|
|
108
|
+
queryParams['wrong_tracks'] = params.wrong_tracks;
|
|
109
|
+
if (params.released_year)
|
|
110
|
+
queryParams['released_year'] = params.released_year;
|
|
111
|
+
return await this.getRelative('/modules/music/songs/paginate', queryParams);
|
|
126
112
|
}
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
113
|
+
async findContents(params = {}) {
|
|
114
|
+
const queryParams = this.getSortParameters(params);
|
|
115
|
+
if (params.title)
|
|
116
|
+
queryParams['name'] = params.title;
|
|
117
|
+
return await this.getRelative('/modules/music/songs/find', queryParams);
|
|
131
118
|
}
|
|
132
|
-
|
|
133
|
-
return
|
|
134
|
-
const body = { published: val ? 'true' : 'false' };
|
|
135
|
-
return yield this.postRelative(`/modules/music/songs/${id}/publish`, body);
|
|
136
|
-
});
|
|
119
|
+
async getInfo(id) {
|
|
120
|
+
return await this.getRelative(`/modules/music/songs/${id}`, {});
|
|
137
121
|
}
|
|
138
|
-
|
|
139
|
-
return
|
|
140
|
-
const body = { published, has_karaoke, has_lyrics, recommended, note };
|
|
141
|
-
return yield this.postRelative(`/modules/music/songs/${id}/update/single_fields`, body);
|
|
142
|
-
});
|
|
122
|
+
async updateFields(id, body = {}) {
|
|
123
|
+
return await this.postRelative(`/modules/music/composers/${id}/update/single_fields`, body);
|
|
143
124
|
}
|
|
144
125
|
}
|
|
126
|
+
exports.JDSong = JDSong;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import JDResource, { ConnectorInfo } from "../../jdResource";
|
|
1
|
+
import JDResource, { ConnectorInfo, defaultSortParams, PaginateParams, UpdateFields } from "../../jdResource";
|
|
2
2
|
export declare class JdRadioStation extends JDResource {
|
|
3
3
|
licenseKey: string;
|
|
4
4
|
activationsCount: number;
|
|
@@ -24,25 +24,19 @@ export declare class JdRadioStation extends JDResource {
|
|
|
24
24
|
expiryDate: Date;
|
|
25
25
|
constructor(data?: Record<string, any>, connectorInfo?: ConnectorInfo);
|
|
26
26
|
setData(data: Record<string, any>): void;
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
published?:
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
order?: string | null;
|
|
36
|
-
pageIndex?: number | null;
|
|
37
|
-
countPerPage?: number | null;
|
|
38
|
-
fields?: string | null;
|
|
27
|
+
getContents(params?: Partial<typeof defaultSortParams>): Promise<import("../../../jdConnector").SimpleResponse>;
|
|
28
|
+
paginateContents(params?: PaginateParams & {
|
|
29
|
+
name?: string;
|
|
30
|
+
guardName?: string;
|
|
31
|
+
published?: string;
|
|
32
|
+
}): Promise<import("../../../jdConnector").SimpleResponse>;
|
|
33
|
+
findContents(params?: PaginateParams & {
|
|
34
|
+
name?: string;
|
|
39
35
|
}): Promise<import("../../../jdConnector").SimpleResponse>;
|
|
40
36
|
getInfo(id: string): Promise<import("../../../jdConnector").SimpleResponse>;
|
|
41
37
|
updateInfo(id: string, title: Record<string, string>, slug: string, expiryDate: Date): Promise<import("../../../jdConnector").SimpleResponse>;
|
|
42
|
-
|
|
43
|
-
published?: boolean | null;
|
|
38
|
+
updateFields(id: string, body?: UpdateFields & {
|
|
44
39
|
recommended?: boolean | null;
|
|
45
|
-
note?: string | null;
|
|
46
40
|
}): Promise<import("../../../jdConnector").SimpleResponse>;
|
|
47
41
|
}
|
|
48
42
|
//# sourceMappingURL=jdRadioStation.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"jdRadioStation.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/models/modules/radio_station/jdRadioStation.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,EAAE,EAAC,aAAa,EAAC,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"jdRadioStation.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/models/modules/radio_station/jdRadioStation.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,EAAE,EAAC,aAAa,EAAE,iBAAiB,EAAE,cAAc,EAAE,YAAY,EAAC,MAAM,kBAAkB,CAAC;AAE5G,qBAAa,cAAe,SAAQ,UAAU;IAC7C,UAAU,EAAC,MAAM,CAAM;IACvB,gBAAgB,EAAC,MAAM,CAAK;IAC5B,mBAAmB,EAAC,MAAM,CAAK;IAE/B,SAAS,EAAC,MAAM,CAAM;IACtB,OAAO,EAAC,MAAM,CAAM;IACpB,MAAM,EAAC,MAAM,CAAM;IACnB,UAAU,EAAC,MAAM,CAAM;IAEvB,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAM;IAClC,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAM;IAClC,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAM;IAChC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAM;IAC/B,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAM;IAEnC,IAAI,gBAAgB,IAAG,MAAM,CAG5B;IAED,IAAI,cAAc,IAAG,MAAM,CAAyE;IACpG,IAAI,cAAc,IAAG,MAAM,CAAyE;IAEpG,IAAI,YAAY,IAAG,MAAM,CAAuE;IAChG,IAAI,YAAY,IAAG,MAAM,CAAuE;IAEhG,IAAI,WAAW,IAAG,MAAM,CAAsE;IAC9F,IAAI,WAAW,IAAG,MAAM,CAAsE;IAE9F,IAAI,eAAe,IAAG,MAAM,CAA0E;IACtG,IAAI,eAAe,IAAG,MAAM,CAA0E;IAEtG,UAAU,EAAC,IAAI,CAAc;gBAEjB,IAAI,GAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAM,EAAE,aAAa,GAAE,aAAyC;IAKpG,OAAO,CAAC,IAAI,EAAC,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;IAqB1B,WAAW,CAAC,MAAM,GAAE,OAAO,CAAC,OAAO,iBAAiB,CAAM;IAK1D,gBAAgB,CAAC,MAAM,GAAE,cAAc,GAAG;QAAE,IAAI,CAAC,EAAE,MAAM,CAAC;QAAC,SAAS,CAAC,EAAE,MAAM,CAAC;QAAC,SAAS,CAAC,EAAE,MAAM,CAAC;KAAO;IAWzG,YAAY,CAAC,MAAM,GAAE,cAAc,GAAG;QAAE,IAAI,CAAC,EAAE,MAAM,CAAC;KAAO;IAM7D,OAAO,CAAC,EAAE,EAAC,MAAM;IAIjB,UAAU,CAAC,EAAE,EAAC,MAAM,EAAE,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,UAAU,EAAC,IAAI;IAIlF,YAAY,CAAC,EAAE,EAAC,MAAM,EAAE,IAAI,GAAE,YAAY,GAAI;QAAE,WAAW,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;KAAM;CAGzF"}
|
|
@@ -1,95 +1,106 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
9
24
|
};
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
25
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
+
exports.JdRadioStation = void 0;
|
|
27
|
+
const jdResource_1 = __importStar(require("../../jdResource"));
|
|
28
|
+
const utils_1 = require("../../../utilities/utils");
|
|
29
|
+
class JdRadioStation extends jdResource_1.default {
|
|
30
|
+
licenseKey = "";
|
|
31
|
+
activationsCount = 0;
|
|
32
|
+
maxActivationsCount = 0;
|
|
33
|
+
countryId = "";
|
|
34
|
+
stateId = "";
|
|
35
|
+
cityId = "";
|
|
36
|
+
districtId = "";
|
|
37
|
+
address = {};
|
|
38
|
+
country = {};
|
|
39
|
+
state = {};
|
|
40
|
+
city = {};
|
|
41
|
+
district = {};
|
|
13
42
|
get localisedAddress() {
|
|
14
43
|
return globalThis.language != 'en' ? `${this.districtTitleMM}, ${this.stateTitleMM}, ${this.cityTitleMM}, ${this.countryTitleMM},` :
|
|
15
44
|
`${this.districtTitleEN}, ${this.stateTitleEN}, ${this.cityTitleEN}, ${this.countryTitleEN},`;
|
|
16
45
|
}
|
|
17
|
-
get countryTitleEN() { return Utils.getString(Utils.getObject(this.country, 'title'), 'en'); }
|
|
18
|
-
get countryTitleMM() { return Utils.getString(Utils.getObject(this.country, 'title'), 'mm'); }
|
|
19
|
-
get stateTitleEN() { return Utils.getString(Utils.getObject(this.state, 'title'), 'en'); }
|
|
20
|
-
get stateTitleMM() { return Utils.getString(Utils.getObject(this.state, 'title'), 'mm'); }
|
|
21
|
-
get cityTitleEN() { return Utils.getString(Utils.getObject(this.city, 'title'), 'en'); }
|
|
22
|
-
get cityTitleMM() { return Utils.getString(Utils.getObject(this.city, 'title'), 'mm'); }
|
|
23
|
-
get districtTitleEN() { return Utils.getString(Utils.getObject(this.district, 'title'), 'en'); }
|
|
24
|
-
get districtTitleMM() { return Utils.getString(Utils.getObject(this.district, 'title'), 'mm'); }
|
|
25
|
-
|
|
46
|
+
get countryTitleEN() { return utils_1.Utils.getString(utils_1.Utils.getObject(this.country, 'title'), 'en'); }
|
|
47
|
+
get countryTitleMM() { return utils_1.Utils.getString(utils_1.Utils.getObject(this.country, 'title'), 'mm'); }
|
|
48
|
+
get stateTitleEN() { return utils_1.Utils.getString(utils_1.Utils.getObject(this.state, 'title'), 'en'); }
|
|
49
|
+
get stateTitleMM() { return utils_1.Utils.getString(utils_1.Utils.getObject(this.state, 'title'), 'mm'); }
|
|
50
|
+
get cityTitleEN() { return utils_1.Utils.getString(utils_1.Utils.getObject(this.city, 'title'), 'en'); }
|
|
51
|
+
get cityTitleMM() { return utils_1.Utils.getString(utils_1.Utils.getObject(this.city, 'title'), 'mm'); }
|
|
52
|
+
get districtTitleEN() { return utils_1.Utils.getString(utils_1.Utils.getObject(this.district, 'title'), 'en'); }
|
|
53
|
+
get districtTitleMM() { return utils_1.Utils.getString(utils_1.Utils.getObject(this.district, 'title'), 'mm'); }
|
|
54
|
+
expiryDate = new Date();
|
|
55
|
+
constructor(data = {}, connectorInfo = new jdResource_1.ConnectorInfo("", "")) {
|
|
26
56
|
super(connectorInfo);
|
|
27
|
-
this.licenseKey = "";
|
|
28
|
-
this.activationsCount = 0;
|
|
29
|
-
this.maxActivationsCount = 0;
|
|
30
|
-
this.countryId = "";
|
|
31
|
-
this.stateId = "";
|
|
32
|
-
this.cityId = "";
|
|
33
|
-
this.districtId = "";
|
|
34
|
-
this.address = {};
|
|
35
|
-
this.country = {};
|
|
36
|
-
this.state = {};
|
|
37
|
-
this.city = {};
|
|
38
|
-
this.district = {};
|
|
39
|
-
this.expiryDate = new Date();
|
|
40
57
|
this.setData(data);
|
|
41
58
|
}
|
|
42
59
|
setData(data) {
|
|
43
60
|
super.setData(data);
|
|
44
|
-
this.licenseKey = Utils.getString(data, "license_key");
|
|
45
|
-
this.activationsCount = Utils.getInteger(data, "activations_count");
|
|
46
|
-
this.maxActivationsCount = Utils.getInteger(data, "max_activations_count");
|
|
47
|
-
this.countryId = Utils.getString(data, "country_id");
|
|
48
|
-
this.stateId = Utils.getString(data, "state_id");
|
|
49
|
-
this.cityId = Utils.getString(data, "city_id");
|
|
50
|
-
this.districtId = Utils.getString(data, "district_id");
|
|
51
|
-
this.address = Utils.getObject(data, "address");
|
|
52
|
-
this.country = Utils.getObject(data, "country");
|
|
53
|
-
this.state = Utils.getObject(data, "state");
|
|
54
|
-
this.city = Utils.getObject(data, "city");
|
|
55
|
-
this.district = Utils.getObject(data, "district");
|
|
56
|
-
this.expiryDate = Utils.getDate(data, "expiry_date");
|
|
61
|
+
this.licenseKey = utils_1.Utils.getString(data, "license_key");
|
|
62
|
+
this.activationsCount = utils_1.Utils.getInteger(data, "activations_count");
|
|
63
|
+
this.maxActivationsCount = utils_1.Utils.getInteger(data, "max_activations_count");
|
|
64
|
+
this.countryId = utils_1.Utils.getString(data, "country_id");
|
|
65
|
+
this.stateId = utils_1.Utils.getString(data, "state_id");
|
|
66
|
+
this.cityId = utils_1.Utils.getString(data, "city_id");
|
|
67
|
+
this.districtId = utils_1.Utils.getString(data, "district_id");
|
|
68
|
+
this.address = utils_1.Utils.getObject(data, "address");
|
|
69
|
+
this.country = utils_1.Utils.getObject(data, "country");
|
|
70
|
+
this.state = utils_1.Utils.getObject(data, "state");
|
|
71
|
+
this.city = utils_1.Utils.getObject(data, "city");
|
|
72
|
+
this.district = utils_1.Utils.getObject(data, "district");
|
|
73
|
+
this.expiryDate = utils_1.Utils.getDate(data, "expiry_date");
|
|
74
|
+
}
|
|
75
|
+
async getContents(params = {}) {
|
|
76
|
+
const queryParams = this.getSortParameters(params);
|
|
77
|
+
return await this.getRelative(`/modules/radio_station/radio_stations`, queryParams);
|
|
57
78
|
}
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
79
|
+
async paginateContents(params = {}) {
|
|
80
|
+
const queryParams = this.getSortParameters(params);
|
|
81
|
+
// Add custom filters
|
|
82
|
+
if (params.name)
|
|
83
|
+
queryParams['name'] = params.name;
|
|
84
|
+
if (params.guardName)
|
|
85
|
+
queryParams['guard_name'] = params.guardName;
|
|
86
|
+
if (params.published)
|
|
87
|
+
queryParams['published'] = params.published;
|
|
88
|
+
return await this.getRelative('/modules/radio_station/radio_stations/paginate', queryParams);
|
|
66
89
|
}
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
params['title.mm'] = titleMM;
|
|
73
|
-
params['published'] = published === null ? '' : published ? 'true' : 'false';
|
|
74
|
-
params['recommended'] = recommended === null ? '' : recommended ? 'true' : 'false';
|
|
75
|
-
params['note'] = note;
|
|
76
|
-
return yield this.getRelative('/modules/radio_station/radio_stations/paginate', params);
|
|
77
|
-
});
|
|
90
|
+
async findContents(params = {}) {
|
|
91
|
+
const queryParams = this.getSortParameters(params);
|
|
92
|
+
if (params.name)
|
|
93
|
+
queryParams['name'] = params.name;
|
|
94
|
+
return await this.getRelative('/modules/radio_station/radio_stations/find', queryParams);
|
|
78
95
|
}
|
|
79
|
-
getInfo(id) {
|
|
80
|
-
return
|
|
81
|
-
return yield this.getRelative(`/modules/radio_station/radio_stations/${id}`, {});
|
|
82
|
-
});
|
|
96
|
+
async getInfo(id) {
|
|
97
|
+
return await this.getRelative(`/modules/radio_station/radio_stations/${id}`, {});
|
|
83
98
|
}
|
|
84
|
-
updateInfo(id, title, slug, expiryDate) {
|
|
85
|
-
return
|
|
86
|
-
return yield this.getRelative(`/modules/radio_station/radio_stations/${id}`, {});
|
|
87
|
-
});
|
|
99
|
+
async updateInfo(id, title, slug, expiryDate) {
|
|
100
|
+
return await this.getRelative(`/modules/radio_station/radio_stations/${id}`, {});
|
|
88
101
|
}
|
|
89
|
-
|
|
90
|
-
return
|
|
91
|
-
const body = { published, recommended, note };
|
|
92
|
-
return yield this.postRelative(`/modules/radio_station/radio_stations/${id}/update/single_fields`, body);
|
|
93
|
-
});
|
|
102
|
+
async updateFields(id, body = {}) {
|
|
103
|
+
return await this.postRelative(`/modules/radio_station/radio_stations/${id}/update/single_fields`, body);
|
|
94
104
|
}
|
|
95
105
|
}
|
|
106
|
+
exports.JdRadioStation = JdRadioStation;
|