@30nama/sdk 1.8.6 → 1.8.7
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/api/index.js +81 -97
- package/dist/api/index.js.map +1 -1
- package/dist/api/request.js +56 -70
- package/dist/api/request.js.map +1 -1
- package/dist/api/services/biography.js +41 -67
- package/dist/api/services/biography.js.map +1 -1
- package/dist/api/services/index.js +7 -23
- package/dist/api/services/index.js.map +1 -1
- package/dist/api/services/news.js +41 -67
- package/dist/api/services/news.js.map +1 -1
- package/dist/api/services/operator.js +201 -281
- package/dist/api/services/operator.js.map +1 -1
- package/dist/api/services/soundtrack.js +17 -34
- package/dist/api/services/soundtrack.js.map +1 -1
- package/dist/api/services/stream.js +51 -77
- package/dist/api/services/stream.js.map +1 -1
- package/dist/api/services/support.js +41 -67
- package/dist/api/services/support.js.map +1 -1
- package/dist/api/services/videoContent.js +291 -389
- package/dist/api/services/videoContent.js.map +1 -1
- package/dist/api/types.js +1 -2
- package/dist/core.js +13 -35
- package/dist/core.js.map +1 -1
- package/dist/entities/BaseEntity.js +2 -5
- package/dist/entities/BaseEntity.js.map +1 -1
- package/dist/entities/IArticle.d.ts +0 -4
- package/dist/entities/IArticle.js +10 -6
- package/dist/entities/IArticle.js.map +1 -1
- package/dist/entities/IAttachment.js +1 -2
- package/dist/entities/IBiography.js +14 -6
- package/dist/entities/IBiography.js.map +1 -1
- package/dist/entities/IBoxOffice.js +20 -6
- package/dist/entities/IBoxOffice.js.map +1 -1
- package/dist/entities/ICollection.js +9 -6
- package/dist/entities/ICollection.js.map +1 -1
- package/dist/entities/ICollector.js +1 -2
- package/dist/entities/IOperator.js +2 -5
- package/dist/entities/IOperator.js.map +1 -1
- package/dist/entities/IPerson.js +1 -2
- package/dist/entities/IRating.js +1 -2
- package/dist/entities/ISoundTrack.js +1 -2
- package/dist/entities/IStream.js +1 -2
- package/dist/entities/ITitle.js +34 -8
- package/dist/entities/ITitle.js.map +1 -1
- package/dist/entities/IVideoContent.js +26 -6
- package/dist/entities/IVideoContent.js.map +1 -1
- package/dist/entities/index.js +12 -28
- package/dist/entities/index.js.map +1 -1
- package/dist/index.js +7 -8
- package/dist/index.js.map +1 -1
- package/dist/pattern/index.js +10 -9
- package/dist/pattern/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,296 +1,216 @@
|
|
|
1
|
-
|
|
2
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
-
});
|
|
10
|
-
};
|
|
11
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.operatorCheckIdentity = operatorCheckIdentity;
|
|
13
|
-
exports.operatorLogout = operatorLogout;
|
|
14
|
-
exports.operatorTokenRefresh = operatorTokenRefresh;
|
|
15
|
-
exports.operatorActiveSessions = operatorActiveSessions;
|
|
16
|
-
exports.operatorCheckSessionExistence = operatorCheckSessionExistence;
|
|
17
|
-
exports.operatorCheckSessionsLimit = operatorCheckSessionsLimit;
|
|
18
|
-
exports.operatorDeleteSession = operatorDeleteSession;
|
|
19
|
-
exports.operatorOTPLoginVerify = operatorOTPLoginVerify;
|
|
20
|
-
exports.operatorOTPSendLogin = operatorOTPSendLogin;
|
|
21
|
-
exports.operatorQRCodeCreate = operatorQRCodeCreate;
|
|
22
|
-
exports.operatorQRCodeVerify = operatorQRCodeVerify;
|
|
23
|
-
exports.operatorWebLogin = operatorWebLogin;
|
|
24
|
-
exports.operatorOTPSendRegister = operatorOTPSendRegister;
|
|
25
|
-
exports.operatorOTPVerifyRegister = operatorOTPVerifyRegister;
|
|
26
|
-
exports.operatorResetPasswordChange = operatorResetPasswordChange;
|
|
27
|
-
exports.operatorResetPasswordOTPSend = operatorResetPasswordOTPSend;
|
|
28
|
-
exports.operatorProfile = operatorProfile;
|
|
29
|
-
exports.operatorProfileUpdate = operatorProfileUpdate;
|
|
30
|
-
exports.operatorProfilePublicPanel = operatorProfilePublicPanel;
|
|
31
|
-
exports.operatorOnlineProfileCreate = operatorOnlineProfileCreate;
|
|
32
|
-
exports.operatorOnlineProfileDelete = operatorOnlineProfileDelete;
|
|
33
|
-
exports.operatorOnlineProfileList = operatorOnlineProfileList;
|
|
34
|
-
exports.operatorOnlineProfileUpdate = operatorOnlineProfileUpdate;
|
|
35
|
-
const request_1 = require("../request");
|
|
1
|
+
import request from '../request';
|
|
36
2
|
const servicePath = 'operator';
|
|
37
|
-
function operatorCheckIdentity(identity) {
|
|
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
|
-
const req = new request_1.default(`auth/token/refresh`, this);
|
|
64
|
-
req.withService(servicePath);
|
|
65
|
-
req.withMethod('post');
|
|
66
|
-
const response = (yield req.execute({ refresh_token }));
|
|
67
|
-
return response;
|
|
68
|
-
});
|
|
3
|
+
export async function operatorCheckIdentity(identity) {
|
|
4
|
+
const This = this;
|
|
5
|
+
This.log('info', 'Running action: operatorCheckIdentity');
|
|
6
|
+
const req = new request(`auth/check`, this);
|
|
7
|
+
req.withService(servicePath);
|
|
8
|
+
req.withMethod('get');
|
|
9
|
+
const response = (await req.execute({ identity }));
|
|
10
|
+
return response;
|
|
11
|
+
}
|
|
12
|
+
export async function operatorLogout(session_key) {
|
|
13
|
+
const This = this;
|
|
14
|
+
This.log('info', 'Running action: operatorLogout');
|
|
15
|
+
const req = new request(`auth/logout/${session_key}`, this);
|
|
16
|
+
req.withService(servicePath);
|
|
17
|
+
req.withMethod('get');
|
|
18
|
+
const response = (await req.execute());
|
|
19
|
+
return response;
|
|
20
|
+
}
|
|
21
|
+
export async function operatorTokenRefresh(refresh_token) {
|
|
22
|
+
const This = this;
|
|
23
|
+
This.log('info', 'Running action: operatorTokenRefresh');
|
|
24
|
+
const req = new request(`auth/token/refresh`, this);
|
|
25
|
+
req.withService(servicePath);
|
|
26
|
+
req.withMethod('post');
|
|
27
|
+
const response = (await req.execute({ refresh_token }));
|
|
28
|
+
return response;
|
|
69
29
|
}
|
|
70
30
|
// Common: Sessions
|
|
71
|
-
function operatorActiveSessions() {
|
|
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
|
-
return
|
|
106
|
-
const This = this;
|
|
107
|
-
This.log('info', 'Running action: operatorDeleteSession');
|
|
108
|
-
const req = new request_1.default(`auth/user/delete/session`, this);
|
|
109
|
-
req.withService(servicePath);
|
|
110
|
-
req.withMethod('post');
|
|
111
|
-
const response = (yield req.execute({ session_list }));
|
|
112
|
-
return response;
|
|
113
|
-
});
|
|
31
|
+
export async function operatorActiveSessions() {
|
|
32
|
+
const This = this;
|
|
33
|
+
This.log('info', 'Running action: operatorActiveSessions');
|
|
34
|
+
const req = new request(`auth/user/active/sessions/list`, this);
|
|
35
|
+
req.withService(servicePath);
|
|
36
|
+
req.withMethod('get');
|
|
37
|
+
const response = (await req.execute());
|
|
38
|
+
return response;
|
|
39
|
+
}
|
|
40
|
+
export async function operatorCheckSessionExistence(session_key) {
|
|
41
|
+
const This = this;
|
|
42
|
+
This.log('info', 'Running action: operatorCheckSessionExistence');
|
|
43
|
+
const req = new request(`auth/user/check/session/existence/${session_key}`, this);
|
|
44
|
+
req.withService(servicePath);
|
|
45
|
+
req.withMethod('get');
|
|
46
|
+
const response = (await req.execute());
|
|
47
|
+
return response;
|
|
48
|
+
}
|
|
49
|
+
export async function operatorCheckSessionsLimit() {
|
|
50
|
+
const This = this;
|
|
51
|
+
This.log('info', 'Running action: operatorCheckSessionsLimit');
|
|
52
|
+
const req = new request(`auth/user/check/sessions/limit`, this);
|
|
53
|
+
req.withService(servicePath);
|
|
54
|
+
req.withMethod('get');
|
|
55
|
+
const response = (await req.execute());
|
|
56
|
+
return response;
|
|
57
|
+
}
|
|
58
|
+
export async function operatorDeleteSession(session_list) {
|
|
59
|
+
const This = this;
|
|
60
|
+
This.log('info', 'Running action: operatorDeleteSession');
|
|
61
|
+
const req = new request(`auth/user/delete/session`, this);
|
|
62
|
+
req.withService(servicePath);
|
|
63
|
+
req.withMethod('post');
|
|
64
|
+
const response = (await req.execute({ session_list }));
|
|
65
|
+
return response;
|
|
114
66
|
}
|
|
115
67
|
// User: Login
|
|
116
|
-
function operatorOTPLoginVerify(identity, otp_code) {
|
|
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
|
-
|
|
150
|
-
return
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
});
|
|
159
|
-
|
|
160
|
-
function operatorWebLogin(identity, password) {
|
|
161
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
162
|
-
const This = this;
|
|
163
|
-
This.log('info', 'Running action: operatorWebLogin');
|
|
164
|
-
const req = new request_1.default(`auth/user/web-login`, this);
|
|
165
|
-
req.withService(servicePath);
|
|
166
|
-
req.withMethod('post');
|
|
167
|
-
const response = (yield req.execute({ identity, password }));
|
|
168
|
-
return response;
|
|
169
|
-
});
|
|
68
|
+
export async function operatorOTPLoginVerify(identity, otp_code) {
|
|
69
|
+
const This = this;
|
|
70
|
+
This.log('info', 'Running action: operatorOTPLoginVerify');
|
|
71
|
+
const req = new request(`auth/user/otp/login/verify`, this);
|
|
72
|
+
req.withService(servicePath);
|
|
73
|
+
req.withMethod('post');
|
|
74
|
+
const response = (await req.execute({ identity, otp_code }));
|
|
75
|
+
return response;
|
|
76
|
+
}
|
|
77
|
+
export async function operatorOTPSendLogin(identity) {
|
|
78
|
+
const This = this;
|
|
79
|
+
This.log('info', 'Running action: operatorOTPSendLogin');
|
|
80
|
+
const req = new request(`auth/user/otp/send/login`, this);
|
|
81
|
+
req.withService(servicePath);
|
|
82
|
+
req.withMethod('post');
|
|
83
|
+
const response = (await req.execute({ identity }));
|
|
84
|
+
return response;
|
|
85
|
+
}
|
|
86
|
+
export async function operatorQRCodeCreate() {
|
|
87
|
+
const This = this;
|
|
88
|
+
This.log('info', 'Running action: operatorQRCodeCreate');
|
|
89
|
+
const req = new request(`auth/user/qrcode/create`, this);
|
|
90
|
+
req.withService(servicePath);
|
|
91
|
+
req.withMethod('get');
|
|
92
|
+
const response = (await req.execute());
|
|
93
|
+
return response;
|
|
94
|
+
}
|
|
95
|
+
export async function operatorQRCodeVerify(qr_code) {
|
|
96
|
+
const This = this;
|
|
97
|
+
This.log('info', 'Running action: operatorQRCodeVerify');
|
|
98
|
+
const req = new request(`auth/user/qrcode/verify/${qr_code}`, this);
|
|
99
|
+
req.withService(servicePath);
|
|
100
|
+
req.withMethod('post');
|
|
101
|
+
const response = (await req.execute());
|
|
102
|
+
return response;
|
|
103
|
+
}
|
|
104
|
+
export async function operatorWebLogin(identity, password) {
|
|
105
|
+
const This = this;
|
|
106
|
+
This.log('info', 'Running action: operatorWebLogin');
|
|
107
|
+
const req = new request(`auth/user/web-login`, this);
|
|
108
|
+
req.withService(servicePath);
|
|
109
|
+
req.withMethod('post');
|
|
110
|
+
const response = (await req.execute({ identity, password }));
|
|
111
|
+
return response;
|
|
170
112
|
}
|
|
171
113
|
// User: Register
|
|
172
|
-
function operatorOTPSendRegister(identity) {
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
req.withMethod('post');
|
|
190
|
-
const response = (yield req.execute({ identity, otp_code }));
|
|
191
|
-
return response;
|
|
192
|
-
});
|
|
114
|
+
export async function operatorOTPSendRegister(identity) {
|
|
115
|
+
const This = this;
|
|
116
|
+
This.log('info', 'Running action: operatorOTPSendRegister');
|
|
117
|
+
const req = new request(`auth/user/otp/send/register`, this);
|
|
118
|
+
req.withService(servicePath);
|
|
119
|
+
req.withMethod('post');
|
|
120
|
+
const response = (await req.execute({ identity }));
|
|
121
|
+
return response;
|
|
122
|
+
}
|
|
123
|
+
export async function operatorOTPVerifyRegister(identity, otp_code) {
|
|
124
|
+
const This = this;
|
|
125
|
+
This.log('info', 'Running action: operatorOTPVerifyRegister');
|
|
126
|
+
const req = new request(`auth/user/otp/verify/register`, this);
|
|
127
|
+
req.withService(servicePath);
|
|
128
|
+
req.withMethod('post');
|
|
129
|
+
const response = (await req.execute({ identity, otp_code }));
|
|
130
|
+
return response;
|
|
193
131
|
}
|
|
194
132
|
// User: Reset Password
|
|
195
|
-
function operatorResetPasswordChange(password, confirm_password) {
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
req.withMethod('post');
|
|
213
|
-
const response = (yield req.execute({ identity }));
|
|
214
|
-
return response;
|
|
215
|
-
});
|
|
133
|
+
export async function operatorResetPasswordChange(password, confirm_password) {
|
|
134
|
+
const This = this;
|
|
135
|
+
This.log('info', 'Running action: operatorResetPasswordChange');
|
|
136
|
+
const req = new request(`auth/user/reset/password/change`, this);
|
|
137
|
+
req.withService(servicePath);
|
|
138
|
+
req.withMethod('post');
|
|
139
|
+
const response = (await req.execute({ password, confirm_password }));
|
|
140
|
+
return response;
|
|
141
|
+
}
|
|
142
|
+
export async function operatorResetPasswordOTPSend(identity) {
|
|
143
|
+
const This = this;
|
|
144
|
+
This.log('info', 'Running action: operatorResetPasswordOTPSend');
|
|
145
|
+
const req = new request(`auth/user/reset/password/otp/send`, this);
|
|
146
|
+
req.withService(servicePath);
|
|
147
|
+
req.withMethod('post');
|
|
148
|
+
const response = (await req.execute({ identity }));
|
|
149
|
+
return response;
|
|
216
150
|
}
|
|
217
151
|
// User: Display/Edit Profile
|
|
218
|
-
function operatorProfile() {
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
}
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
const req = new request_1.default(`auth/user/profile/user/public/panel/${user_id}`, this);
|
|
245
|
-
req.withService(servicePath);
|
|
246
|
-
req.withMethod('get');
|
|
247
|
-
const response = (yield req.execute());
|
|
248
|
-
return response;
|
|
249
|
-
});
|
|
152
|
+
export async function operatorProfile() {
|
|
153
|
+
const This = this;
|
|
154
|
+
This.log('info', 'Running action: operatorProfile');
|
|
155
|
+
const req = new request(`profile`, this);
|
|
156
|
+
req.withService(servicePath);
|
|
157
|
+
req.withMethod('get');
|
|
158
|
+
const response = (await req.execute());
|
|
159
|
+
return response;
|
|
160
|
+
}
|
|
161
|
+
export async function operatorProfileUpdate(overrides) {
|
|
162
|
+
const This = this;
|
|
163
|
+
This.log('info', 'Running action: operatorProfileUpdate');
|
|
164
|
+
const req = new request(`profile/update`, this);
|
|
165
|
+
req.withService(servicePath);
|
|
166
|
+
req.withMethod('put');
|
|
167
|
+
const response = (await req.execute(overrides));
|
|
168
|
+
return response;
|
|
169
|
+
}
|
|
170
|
+
export async function operatorProfilePublicPanel(user_id) {
|
|
171
|
+
const This = this;
|
|
172
|
+
This.log('info', 'Running action: operatorProfilePublicPanel');
|
|
173
|
+
const req = new request(`auth/user/profile/user/public/panel/${user_id}`, this);
|
|
174
|
+
req.withService(servicePath);
|
|
175
|
+
req.withMethod('get');
|
|
176
|
+
const response = (await req.execute());
|
|
177
|
+
return response;
|
|
250
178
|
}
|
|
251
179
|
// User: Online Profile
|
|
252
|
-
function operatorOnlineProfileCreate(name) {
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
return
|
|
287
|
-
const This = this;
|
|
288
|
-
This.log('info', 'Running action: operatorOnlineProfileUpdate');
|
|
289
|
-
const req = new request_1.default(`auth/user/profile/online/profile/update/${profile_id}`, this);
|
|
290
|
-
req.withService(servicePath);
|
|
291
|
-
req.withMethod('post');
|
|
292
|
-
const response = (yield req.execute({ name }));
|
|
293
|
-
return response;
|
|
294
|
-
});
|
|
180
|
+
export async function operatorOnlineProfileCreate(name) {
|
|
181
|
+
const This = this;
|
|
182
|
+
This.log('info', 'Running action: operatorOnlineProfileCreate');
|
|
183
|
+
const req = new request(`auth/user/profile/online/profile/create`, this);
|
|
184
|
+
req.withService(servicePath);
|
|
185
|
+
req.withMethod('post');
|
|
186
|
+
const response = (await req.execute({ name }));
|
|
187
|
+
return response;
|
|
188
|
+
}
|
|
189
|
+
export async function operatorOnlineProfileDelete(profile_id) {
|
|
190
|
+
const This = this;
|
|
191
|
+
This.log('info', 'Running action: operatorOnlineProfileDelete');
|
|
192
|
+
const req = new request(`auth/user/profile/online/profile/delete/${profile_id}`, this);
|
|
193
|
+
req.withService(servicePath);
|
|
194
|
+
req.withMethod('delete');
|
|
195
|
+
const response = (await req.execute());
|
|
196
|
+
return response;
|
|
197
|
+
}
|
|
198
|
+
export async function operatorOnlineProfileList() {
|
|
199
|
+
const This = this;
|
|
200
|
+
This.log('info', 'Running action: operatorOnlineProfileList');
|
|
201
|
+
const req = new request(`auth/user/profile/online/profile/list`, this);
|
|
202
|
+
req.withService(servicePath);
|
|
203
|
+
req.withMethod('get');
|
|
204
|
+
const response = (await req.execute());
|
|
205
|
+
return response;
|
|
206
|
+
}
|
|
207
|
+
export async function operatorOnlineProfileUpdate(profile_id, name) {
|
|
208
|
+
const This = this;
|
|
209
|
+
This.log('info', 'Running action: operatorOnlineProfileUpdate');
|
|
210
|
+
const req = new request(`auth/user/profile/online/profile/update/${profile_id}`, this);
|
|
211
|
+
req.withService(servicePath);
|
|
212
|
+
req.withMethod('post');
|
|
213
|
+
const response = (await req.execute({ name }));
|
|
214
|
+
return response;
|
|
295
215
|
}
|
|
296
216
|
//# sourceMappingURL=operator.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"operator.js","sourceRoot":"","sources":["../../../src/api/services/operator.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"operator.js","sourceRoot":"","sources":["../../../src/api/services/operator.ts"],"names":[],"mappings":"AACA,OAAO,OAAO,MAAM,YAAY,CAAA;AAGhC,MAAM,WAAW,GAAG,UAAU,CAAA;AAE9B,MAAM,CAAC,KAAK,UAAU,qBAAqB,CAAY,QAAgB;IACnE,MAAM,IAAI,GAAG,IAAW,CAAA;IACxB,IAAI,CAAC,GAAG,CAAC,MAAM,EAAE,uCAAuC,CAAC,CAAA;IACzD,MAAM,GAAG,GAAG,IAAI,OAAO,CAAC,YAAY,EAAE,IAAI,CAAC,CAAA;IAC3C,GAAG,CAAC,WAAW,CAAC,WAAW,CAAC,CAAA;IAC5B,GAAG,CAAC,UAAU,CAAC,KAAK,CAAC,CAAA;IAErB,MAAM,QAAQ,GAAG,CAAC,MAAM,GAAG,CAAC,OAAO,CAAC,EAAE,QAAQ,EAAE,CAAC,CAA4C,CAAA;IAC7F,OAAO,QAAQ,CAAA;AACnB,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,cAAc,CAAY,WAAmB;IAC/D,MAAM,IAAI,GAAG,IAAW,CAAA;IACxB,IA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G,CAAC,MAAM,GAAG,CAAC,OAAO,CAAC,EAAE,IAAI,EAAE,CAAC,CAAmC,CAAA;IAChF,OAAO,QAAQ,CAAA;AACnB,CAAC"}
|
|
@@ -1,38 +1,21 @@
|
|
|
1
|
-
|
|
2
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
-
});
|
|
10
|
-
};
|
|
11
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.soundtrackDetails = soundtrackDetails;
|
|
13
|
-
exports.soundtrackFile = soundtrackFile;
|
|
14
|
-
const request_1 = require("../request");
|
|
1
|
+
import request from '../request';
|
|
15
2
|
const servicePath = 'soundtrack';
|
|
16
|
-
function soundtrackDetails(video_content_id) {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
return response;
|
|
25
|
-
});
|
|
3
|
+
export async function soundtrackDetails(video_content_id) {
|
|
4
|
+
const This = this;
|
|
5
|
+
This.log('info', 'Running action: soundtrackDetails');
|
|
6
|
+
const req = new request(`soundtrack/sounds_details`, this);
|
|
7
|
+
req.withService(servicePath);
|
|
8
|
+
req.withMethod('get');
|
|
9
|
+
const response = (await req.execute({ video_content_id }));
|
|
10
|
+
return response;
|
|
26
11
|
}
|
|
27
|
-
function soundtrackFile(soundtracks_id) {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
return response;
|
|
36
|
-
});
|
|
12
|
+
export async function soundtrackFile(soundtracks_id) {
|
|
13
|
+
const This = this;
|
|
14
|
+
This.log('info', 'Running action: soundtrackFile');
|
|
15
|
+
const req = new request(`soundtrack/tracks`, this);
|
|
16
|
+
req.withService(servicePath);
|
|
17
|
+
req.withMethod('get');
|
|
18
|
+
const response = (await req.execute({ soundtracks_id }));
|
|
19
|
+
return response;
|
|
37
20
|
}
|
|
38
21
|
//# sourceMappingURL=soundtrack.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"soundtrack.js","sourceRoot":"","sources":["../../../src/api/services/soundtrack.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"soundtrack.js","sourceRoot":"","sources":["../../../src/api/services/soundtrack.ts"],"names":[],"mappings":"AACA,OAAO,OAAO,MAAM,YAAY,CAAA;AAGhC,MAAM,WAAW,GAAG,YAAY,CAAA;AAEhC,MAAM,CAAC,KAAK,UAAU,iBAAiB,CAAY,gBAAwB;IACvE,MAAM,IAAI,GAAG,IAAW,CAAA;IACxB,IAAI,CAAC,GAAG,CAAC,MAAM,EAAE,mCAAmC,CAAC,CAAA;IACrD,MAAM,GAAG,GAAG,IAAI,OAAO,CAAC,2BAA2B,EAAE,IAAI,CAAC,CAAA;IAC1D,GAAG,CAAC,WAAW,CAAC,WAAW,CAAC,CAAA;IAC5B,GAAG,CAAC,UAAU,CAAC,KAAK,CAAC,CAAA;IAErB,MAAM,QAAQ,GAAG,CAAC,MAAM,GAAG,CAAC,OAAO,CAAC,EAAE,gBAAgB,EAAE,CAAC,CAAqE,CAAA;IAC9H,OAAO,QAAQ,CAAA;AACnB,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,cAAc,CAAY,cAAsB;IAClE,MAAM,IAAI,GAAG,IAAW,CAAA;IACxB,IAAI,CAAC,GAAG,CAAC,MAAM,EAAE,gCAAgC,CAAC,CAAA;IAClD,MAAM,GAAG,GAAG,IAAI,OAAO,CAAC,mBAAmB,EAAE,IAAI,CAAC,CAAA;IAClD,GAAG,CAAC,WAAW,CAAC,WAAW,CAAC,CAAA;IAC5B,GAAG,CAAC,UAAU,CAAC,KAAK,CAAC,CAAA;IAErB,MAAM,QAAQ,GAAG,CAAC,MAAM,GAAG,CAAC,OAAO,CAAC,EAAE,cAAc,EAAE,CAAC,CAAyE,CAAA;IAChI,OAAO,QAAQ,CAAA;AACnB,CAAC"}
|