@30nama/sdk 2.0.0-rc.13 → 2.0.0-rc.15
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/lib/core/client.js +2 -1
- package/lib/core/client.js.map +1 -1
- package/lib/core/types.d.ts +1 -0
- package/lib/generated/notification/api.d.ts +2 -2
- package/lib/generated/notification/api.js +20 -14
- package/lib/generated/notification/api.js.map +1 -1
- package/lib/generated/notification/models/addNotification.d.ts +4 -1
- package/lib/generated/notification/models/description.d.ts +10 -0
- package/lib/generated/notification/models/description.js +7 -0
- package/lib/generated/notification/models/description.js.map +1 -0
- package/lib/generated/notification/models/getCategoryaListNotificationCategoryListGetParams.d.ts +8 -0
- package/lib/generated/notification/models/getCategoryaListNotificationCategoryListGetParams.js +7 -0
- package/lib/generated/notification/models/getCategoryaListNotificationCategoryListGetParams.js.map +1 -0
- package/lib/generated/notification/models/getNotificationNotificationSystemNotificationListGetParams.d.ts +1 -0
- package/lib/generated/notification/models/getSendedNotifNotificationVideoContentSendedGetParams.d.ts +5 -2
- package/lib/generated/notification/models/getSendedNotifNotificationVideoContentSendedGetParams.js +0 -4
- package/lib/generated/notification/models/getSendedNotifNotificationVideoContentSendedGetParams.js.map +1 -1
- package/lib/generated/notification/models/index.d.ts +3 -0
- package/lib/generated/notification/models/index.js +3 -0
- package/lib/generated/notification/models/index.js.map +1 -1
- package/lib/generated/notification/models/sendManualNotif.d.ts +1 -1
- package/lib/generated/notification/models/sortOrder.d.ts +9 -0
- package/lib/generated/notification/models/sortOrder.js +13 -0
- package/lib/generated/notification/models/sortOrder.js.map +1 -0
- package/lib/generated/notification/models/videoContentSend.d.ts +2 -0
- package/lib/generated/notification/models/videoContentSend.js +0 -4
- package/lib/generated/notification/models/videoContentSend.js.map +1 -1
- package/lib/generated/video-data/api.d.ts +6 -6
- package/lib/generated/video-data/api.js +23 -15
- package/lib/generated/video-data/api.js.map +1 -1
- package/lib/generated/video-data/models/baseEncoderResponse.d.ts +17 -0
- package/lib/generated/video-data/models/baseEncoderResponse.js +3 -0
- package/lib/generated/video-data/models/baseEncoderResponse.js.map +1 -0
- package/lib/generated/video-data/models/baseEncoderResponseErrors.d.ts +7 -0
- package/lib/generated/video-data/models/baseEncoderResponseErrors.js +7 -0
- package/lib/generated/video-data/models/baseEncoderResponseErrors.js.map +1 -0
- package/lib/generated/video-data/models/baseEncoderResponseSEO.d.ts +10 -0
- package/lib/generated/video-data/models/baseEncoderResponseSEO.js +7 -0
- package/lib/generated/video-data/models/baseEncoderResponseSEO.js.map +1 -0
- package/lib/generated/video-data/models/baseResponse.d.ts +18 -0
- package/lib/generated/video-data/models/baseResponse.js +3 -0
- package/lib/generated/video-data/models/baseResponse.js.map +1 -0
- package/lib/generated/video-data/models/baseResponseData.d.ts +10 -0
- package/lib/generated/video-data/models/baseResponseData.js +7 -0
- package/lib/generated/video-data/models/baseResponseData.js.map +1 -0
- package/lib/generated/video-data/models/baseResponseErrors.d.ts +7 -0
- package/lib/generated/video-data/models/baseResponseErrors.js +7 -0
- package/lib/generated/video-data/models/baseResponseErrors.js.map +1 -0
- package/lib/generated/video-data/models/baseResponseSEO.d.ts +10 -0
- package/lib/generated/video-data/models/baseResponseSEO.js +7 -0
- package/lib/generated/video-data/models/baseResponseSEO.js.map +1 -0
- package/lib/generated/video-data/models/createSubseasonNoteUpdateLanguageCode.d.ts +9 -0
- package/lib/generated/video-data/models/createSubseasonNoteUpdateLanguageCode.js +13 -0
- package/lib/generated/video-data/models/createSubseasonNoteUpdateLanguageCode.js.map +1 -0
- package/lib/generated/video-data/models/createSubseasonNoteUpdateParams.d.ts +3 -3
- package/lib/generated/video-data/models/deleteSeasonNameDestroyLanguageCode.d.ts +9 -0
- package/lib/generated/video-data/models/deleteSeasonNameDestroyLanguageCode.js +13 -0
- package/lib/generated/video-data/models/deleteSeasonNameDestroyLanguageCode.js.map +1 -0
- package/lib/generated/video-data/models/deleteSeasonNameDestroyParams.d.ts +2 -2
- package/lib/generated/video-data/models/editSeasonNameUpdateLanguageCode.d.ts +9 -0
- package/lib/generated/video-data/models/editSeasonNameUpdateLanguageCode.js +13 -0
- package/lib/generated/video-data/models/editSeasonNameUpdateLanguageCode.js.map +1 -0
- package/lib/generated/video-data/models/editSeasonNameUpdateParams.d.ts +2 -2
- package/lib/generated/video-data/models/encoder.d.ts +9 -0
- package/lib/generated/video-data/models/encoder.js +7 -0
- package/lib/generated/video-data/models/encoder.js.map +1 -0
- package/lib/generated/video-data/models/encoderResponse.d.ts +9 -0
- package/lib/generated/video-data/models/encoderResponse.js +3 -0
- package/lib/generated/video-data/models/encoderResponse.js.map +1 -0
- package/lib/generated/video-data/models/index.d.ts +13 -8
- package/lib/generated/video-data/models/index.js +13 -8
- package/lib/generated/video-data/models/index.js.map +1 -1
- package/lib/generated/video-data/models/showEncoderRetrieveParams.d.ts +4 -0
- package/lib/generated/video-data/models/singleUploadeMovieRequest.d.ts +26 -0
- package/lib/generated/video-data/models/singleUploadeMovieRequest.js +7 -0
- package/lib/generated/video-data/models/singleUploadeMovieRequest.js.map +1 -0
- package/lib/services/operator/index.d.ts +2 -2
- package/lib/services/operator/index.js +5 -1
- package/lib/services/operator/index.js.map +1 -1
- package/lib/services/video-data/index.d.ts +3 -3
- package/lib/services/video-data/index.js.map +1 -1
- package/lib/tsconfig.lib.tsbuildinfo +1 -1
- package/package.json +1 -1
package/lib/core/client.js
CHANGED
|
@@ -141,7 +141,8 @@ class SDKHttpClient {
|
|
|
141
141
|
async executeRequest(method, url, data, params, config) {
|
|
142
142
|
// Get authentication headers for this specific request
|
|
143
143
|
const authHeader = await this.authManager.getAuthHeader();
|
|
144
|
-
const
|
|
144
|
+
const headers = Object.assign(Object.assign({}, authHeader), config === null || config === void 0 ? void 0 : config.headers);
|
|
145
|
+
const requestOptions = Object.assign({ timeout: (config === null || config === void 0 ? void 0 : config.timeout) || this.config.timeout }, (Object.keys(headers).length > 0 && { headers }));
|
|
145
146
|
switch (method) {
|
|
146
147
|
case 'GET':
|
|
147
148
|
return this.client.get(url, params, requestOptions);
|
package/lib/core/client.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.js","sourceRoot":"","sources":["../../src/core/client.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAEH,uCAAgE;AAGhE,yCAA4C;AAE5C;;;GAGG;AACH,MAAa,aAAa;IAMxB,YAAY,MAAqB,EAAE,WAAwB,EAAE,WAAmB;QAC9E,IAAI,CAAC,MAAM,GAAG,MAAM,CAAA;QACpB,IAAI,CAAC,WAAW,GAAG,WAAW,CAAA;QAC9B,IAAI,CAAC,WAAW,GAAG,WAAW,CAAA;QAE9B,2BAA2B;QAC3B,IAAI,CAAC,MAAM,GAAG,IAAA,iBAAM,EAAC;YACnB,OAAO,EAAE,MAAM,CAAC,OAAO;YACvB,OAAO,EAAE,MAAM,CAAC,OAAO;YACvB,OAAO,EAAE;gBACP,cAAc,EAAE,kBAAkB;gBAClC,MAAM,EAAE,kBAAkB;aAC3B;SACF,CAAC,CAAA;QAEF,IAAI,CAAC,iBAAiB,EAAE,CAAA;IAC1B,CAAC;IAED;;OAEG;IACK,iBAAiB;QACvB,mDAAmD;QACnD,kEAAkE;QAClE,+DAA+D;QAC/D,IAAI,CAAC,MAAM,CAAC,mBAAmB,CAAC,OAAO,CAAC,EAAE;YACxC,IAAI,CAAC;gBACH,+BAA+B;gBAC/B,IAAI,CAAC,OAAO,CAAC,OAAO,EAAE,CAAC;oBACrB,OAAO,CAAC,OAAO,GAAG,EAAE,CAAA;gBACtB,CAAC;gBAED,iDAAiD;gBACjD,IAAI,IAAI,CAAC,MAAM,CAAC,QAAQ,EAAE,CAAC;oBACzB,OAAO,CAAC,OAAO,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAA;gBACtD,CAAC;gBAED,sDAAsD;gBACtD,qDAAqD;YACvD,CAAC;YAAC,OAAO,KAAK,EAAE,CAAC;gBACf,uCAAuC;gBACvC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CAAC,OAAe;QACxB,IAAI,CAAC,MAAM,CAAC,UAAU,CAAC,OAAO,CAAC,CAAA;QAC/B,IAAI,CAAC,MAAM,CAAC,OAAO,GAAG,OAAO,CAAA;IAC/B,CAAC;IAED;;OAEG;IACH,YAAY,CAAC,SAAiC;QAC5C,IAAI,CAAC,MAAM,mCAAQ,IAAI,CAAC,MAAM,GAAK,SAAS,CAAE,CAAA;QAE9C,IAAI,SAAS,CAAC,OAAO,EAAE,CAAC;YACtB,IAAI,CAAC,MAAM,CAAC,UAAU,CAAC,SAAS,CAAC,OAAO,CAAC,CAAA;QAC3C,CAAC;IACH,CAAC;IAED;;OAEG;IACK,KAAK,CAAC,EAAU;QACtB,OAAO,IAAI,OAAO,CAAC,OAAO,CAAC,EAAE,CAAC,UAAU,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC,CAAA;IACxD,CAAC;IAED;;OAEG;IACH,cAAc;QACZ,OAAO,IAAI,CAAC,WAAW,CAAA;IACzB,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,aAAa;QAIjB,OAAO;YACL,OAAO,EAAE,MAAM,IAAI,CAAC,WAAW,CAAC,iBAAiB,EAAE;YACnD,OAAO,EAAE,IAAI,CAAC,WAAW;SAC1B,CAAA;IACH,CAAC;CACF;AAvPD,sCAuPC"}
|
package/lib/core/types.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { AxiosRequestConfig, AxiosResponse } from 'axios';
|
|
2
|
-
import type { AddNotification, AllNotifToReadNotificationUserMarkAllAsReadGetParams, DeleteCategoryNotificationCategoryDeleteDeleteParams, DeleteGroupNotificationUserGroupDeleteDeleteParams, DeleteNotificationNotificationSystemNotificationDeleteDeleteParams, EditCategory, EditGroup, EditNotification, GetNotificationNotificationSystemNotificationListGetParams, GetRecivedNotifNotificationVideoContentReceivedGetParams, GetSendedNotifNotificationSendListGetParams, GetSendedNotifNotificationVideoContentSendedGetParams, GetUserNotifNotificationUserReceivedGetParams, NotifToReadNotificationUserMarkAsReadGetParams, NotificationCategory, NotificationSetting, SendManualNotif, SendNotification, UserGroupAdd, VideoContentSend } from './models';
|
|
2
|
+
import type { AddNotification, AllNotifToReadNotificationUserMarkAllAsReadGetParams, DeleteCategoryNotificationCategoryDeleteDeleteParams, DeleteGroupNotificationUserGroupDeleteDeleteParams, DeleteNotificationNotificationSystemNotificationDeleteDeleteParams, EditCategory, EditGroup, EditNotification, GetCategoryaListNotificationCategoryListGetParams, GetNotificationNotificationSystemNotificationListGetParams, GetRecivedNotifNotificationVideoContentReceivedGetParams, GetSendedNotifNotificationSendListGetParams, GetSendedNotifNotificationVideoContentSendedGetParams, GetUserNotifNotificationUserReceivedGetParams, NotifToReadNotificationUserMarkAsReadGetParams, NotificationCategory, NotificationSetting, SendManualNotif, SendNotification, UserGroupAdd, VideoContentSend } from './models';
|
|
3
3
|
export declare const getNotificationMicroserviceAPI: () => {
|
|
4
4
|
createCategoryNotificationCategoryAddPost: <TData = AxiosResponse<unknown, any>>(notificationCategory: NotificationCategory, options?: AxiosRequestConfig) => Promise<TData>;
|
|
5
|
-
getCategoryaListNotificationCategoryListGet: <TData = AxiosResponse<unknown, any>>(options?: AxiosRequestConfig) => Promise<TData>;
|
|
5
|
+
getCategoryaListNotificationCategoryListGet: <TData = AxiosResponse<unknown, any>>(params?: GetCategoryaListNotificationCategoryListGetParams, options?: AxiosRequestConfig) => Promise<TData>;
|
|
6
6
|
editCategoryNotificationCategoryEditPut: <TData = AxiosResponse<unknown, any>>(editCategory: EditCategory, options?: AxiosRequestConfig) => Promise<TData>;
|
|
7
7
|
deleteCategoryNotificationCategoryDeleteDelete: <TData = AxiosResponse<unknown, any>>(params?: DeleteCategoryNotificationCategoryDeleteDeleteParams, options?: AxiosRequestConfig) => Promise<TData>;
|
|
8
8
|
addNotificationNotificationSystemNotificationAddPost: <TData = AxiosResponse<unknown, any>>(addNotification: AddNotification, options?: AxiosRequestConfig) => Promise<TData>;
|
|
@@ -53,8 +53,8 @@ const getNotificationMicroserviceAPI = () => {
|
|
|
53
53
|
+ 401: Unauthorized access.
|
|
54
54
|
* @summary Get all notfication category.
|
|
55
55
|
*/
|
|
56
|
-
const getCategoryaListNotificationCategoryListGet = (options) => {
|
|
57
|
-
return axios_1.default.get(`/notification/category/list`, options);
|
|
56
|
+
const getCategoryaListNotificationCategoryListGet = (params, options) => {
|
|
57
|
+
return axios_1.default.get(`/notification/category/list`, Object.assign(Object.assign({}, options), { params: Object.assign(Object.assign({}, params), options === null || options === void 0 ? void 0 : options.params) }));
|
|
58
58
|
};
|
|
59
59
|
/**
|
|
60
60
|
* **Last Version Update: 1.0.0**
|
|
@@ -108,13 +108,13 @@ const getNotificationMicroserviceAPI = () => {
|
|
|
108
108
|
return axios_1.default.delete(`/notification/category/delete`, Object.assign(Object.assign({}, options), { params: Object.assign(Object.assign({}, params), options === null || options === void 0 ? void 0 : options.params) }));
|
|
109
109
|
};
|
|
110
110
|
/**
|
|
111
|
-
* **Last Version Update:
|
|
111
|
+
* **Last Version Update: 2.0.0**
|
|
112
112
|
|
|
113
113
|
Codes:A2.4.1N1
|
|
114
114
|
|
|
115
115
|
**Change Log:**
|
|
116
116
|
|
|
117
|
-
|
|
117
|
+
languge_id change to language code
|
|
118
118
|
|
|
119
119
|
* __Description:__ Create new system notfication.
|
|
120
120
|
* __Security:__ Requires authentication using an API key.
|
|
@@ -124,7 +124,7 @@ const getNotificationMicroserviceAPI = () => {
|
|
|
124
124
|
{
|
|
125
125
|
"category_id": "65ccf570e8aade8fd48b8625",
|
|
126
126
|
"content": "some content'",
|
|
127
|
-
"
|
|
127
|
+
"language_code": "en",
|
|
128
128
|
"redirect_url": "http//...",
|
|
129
129
|
"redirect_url_caption": "caption",
|
|
130
130
|
"title": "title"
|
|
@@ -234,13 +234,13 @@ const getNotificationMicroserviceAPI = () => {
|
|
|
234
234
|
return axios_1.default.get(`/notification/video_content/list`, options);
|
|
235
235
|
};
|
|
236
236
|
/**
|
|
237
|
-
* **Last Version Update:
|
|
237
|
+
* **Last Version Update: 2.0.0**
|
|
238
238
|
|
|
239
239
|
Codes:A2.4.2N2,A2.4.2N3
|
|
240
240
|
|
|
241
241
|
**Change Log:**
|
|
242
242
|
|
|
243
|
-
|
|
243
|
+
change response body
|
|
244
244
|
|
|
245
245
|
* __Description:__ Show list of sended videocontent Notifications.
|
|
246
246
|
* __Security:__ Requires authentication using an API key.
|
|
@@ -259,13 +259,13 @@ const getNotificationMicroserviceAPI = () => {
|
|
|
259
259
|
return axios_1.default.get(`/notification/video_content/sended`, Object.assign(Object.assign({}, options), { params: Object.assign(Object.assign({}, params), options === null || options === void 0 ? void 0 : options.params) }));
|
|
260
260
|
};
|
|
261
261
|
/**
|
|
262
|
-
* **Last Version Update:
|
|
262
|
+
* **Last Version Update: 2.0.0**
|
|
263
263
|
|
|
264
264
|
Codes:A2.4.4N4
|
|
265
265
|
|
|
266
266
|
**Change Log:**
|
|
267
267
|
|
|
268
|
-
|
|
268
|
+
change requests body
|
|
269
269
|
|
|
270
270
|
* __Description:__ Send video content notification.
|
|
271
271
|
* __Security:__ Requires authentication using an API key.
|
|
@@ -273,8 +273,14 @@ const getNotificationMicroserviceAPI = () => {
|
|
|
273
273
|
+ __sample input:__ Send notification with given information like below.
|
|
274
274
|
+ ```
|
|
275
275
|
{
|
|
276
|
+
"descriptions": [
|
|
277
|
+
{
|
|
278
|
+
"description": "قسمت ۲ از فصل ۲",
|
|
279
|
+
"language_code": "fa"
|
|
280
|
+
}
|
|
281
|
+
],
|
|
276
282
|
"notification_id": "65ccf570e8aade8fd48b8625",
|
|
277
|
-
"video_content_id":
|
|
283
|
+
"video_content_id": 354353
|
|
278
284
|
}
|
|
279
285
|
```
|
|
280
286
|
* __Response:__
|
|
@@ -418,9 +424,9 @@ const getNotificationMicroserviceAPI = () => {
|
|
|
418
424
|
+ ```
|
|
419
425
|
{
|
|
420
426
|
"content": "content",
|
|
421
|
-
"group_id": ["65ccf570e8aade8fd48b8625"],
|
|
427
|
+
"group_id": ["65ccf570e8aade8fd48b8625","65ccf570e8aade8fd48b8625"],
|
|
422
428
|
"ids_list": [1,2,3],
|
|
423
|
-
"
|
|
429
|
+
"language_code": "en",
|
|
424
430
|
"title": "title"
|
|
425
431
|
}
|
|
426
432
|
```
|
|
@@ -515,13 +521,13 @@ const getNotificationMicroserviceAPI = () => {
|
|
|
515
521
|
return axios_1.default.get(`/notification/send/list`, Object.assign(Object.assign({}, options), { params: Object.assign(Object.assign({}, params), options === null || options === void 0 ? void 0 : options.params) }));
|
|
516
522
|
};
|
|
517
523
|
/**
|
|
518
|
-
* **Last Version Update:
|
|
524
|
+
* **Last Version Update: 2.0.0**
|
|
519
525
|
|
|
520
526
|
Codes:U1.1.11N1
|
|
521
527
|
|
|
522
528
|
**Change Log:**
|
|
523
529
|
|
|
524
|
-
|
|
530
|
+
change response body
|
|
525
531
|
|
|
526
532
|
* __Description:__ Show notification for each videocontent.
|
|
527
533
|
* __Quary Parameter:__
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api.js","sourceRoot":"","sources":["../../../src/generated/notification/api.ts"],"names":[],"mappings":";;;;;;AAAA;;;GAGG;AACH,kDAAyB;
|
|
1
|
+
{"version":3,"file":"api.js","sourceRoot":"","sources":["../../../src/generated/notification/api.ts"],"names":[],"mappings":";;;;;;AAAA;;;GAGG;AACH,kDAAyB;AA2BlB,MAAM,8BAA8B,GAAG,GAAG,EAAE;IACjD;;;;;;;;;;;;;;;;;;;;;;;KAuBC;IACD,MAAM,yCAAyC,GAAG,CAChD,oBAA0C,EAC1C,OAA4B,EACZ,EAAE;QAClB,OAAO,eAAK,CAAC,IAAI,CAAC,4BAA4B,EAAE,oBAAoB,EAAE,OAAO,CAAC,CAAA;IAChF,CAAC,CAAA;IAED;;;;;;;;;;;;;;;KAeC;IACD,MAAM,2CAA2C,GAAG,CAClD,MAA0D,EAC1D,OAA4B,EACZ,EAAE;QAClB,OAAO,eAAK,CAAC,GAAG,CAAC,6BAA6B,kCACzC,OAA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AG,CAAC,iCAAiC,kCAC7C,OAAO,KACV,MAAM,kCAAO,MAAM,GAAK,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,MAAM,KACvC,CAAA;IACJ,CAAC,CAAA;IAED;;;;;;;;;;;;;;;;;;;;;;;KAuBC;IACD,MAAM,yCAAyC,GAAG,CAChD,mBAAwC,EACxC,OAA4B,EACZ,EAAE;QAClB,OAAO,eAAK,CAAC,GAAG,CAAC,8BAA8B,EAAE,mBAAmB,EAAE,OAAO,CAAC,CAAA;IAChF,CAAC,CAAA;IAED;;;;;;;;;;;;;;;KAeC;IACD,MAAM,oCAAoC,GAAG,CAC3C,OAA4B,EACZ,EAAE;QAClB,OAAO,eAAK,CAAC,GAAG,CAAC,mCAAmC,EAAE,OAAO,CAAC,CAAA;IAChE,CAAC,CAAA;IAED,OAAO;QACL,yCAAyC;QACzC,2CAA2C;QAC3C,uCAAuC;QACvC,8CAA8C;QAC9C,oDAAoD;QACpD,oDAAoD;QACpD,qDAAqD;QACrD,4DAA4D;QAC5D,0DAA0D;QAC1D,+CAA+C;QAC/C,yCAAyC;QACzC,oCAAoC;QACpC,qCAAqC;QACrC,qCAAqC;QACrC,4CAA4C;QAC5C,sCAAsC;QACtC,gDAAgD;QAChD,2CAA2C;QAC3C,yCAAyC;QACzC,qCAAqC;QACrC,kDAAkD;QAClD,uCAAuC;QACvC,8CAA8C;QAC9C,wCAAwC;QACxC,yCAAyC;QACzC,oCAAoC;KACrC,CAAA;AACH,CAAC,CAAA;AAlyBY,QAAA,8BAA8B,kCAkyB1C"}
|
|
@@ -5,10 +5,13 @@
|
|
|
5
5
|
import type { AddNotificationRedirectUrl } from './addNotificationRedirectUrl';
|
|
6
6
|
import type { AddNotificationRedirectUrlCaption } from './addNotificationRedirectUrlCaption';
|
|
7
7
|
export interface AddNotification {
|
|
8
|
+
/** @minLength 1 */
|
|
8
9
|
title: string;
|
|
10
|
+
/** @minLength 1 */
|
|
9
11
|
content: string;
|
|
10
12
|
redirect_url?: AddNotificationRedirectUrl;
|
|
11
13
|
redirect_url_caption?: AddNotificationRedirectUrlCaption;
|
|
12
14
|
category_id: string;
|
|
13
|
-
|
|
15
|
+
/** @minLength 1 */
|
|
16
|
+
language_code: string;
|
|
14
17
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"description.js","sourceRoot":"","sources":["../../../../src/generated/notification/models/description.ts"],"names":[],"mappings":";AAAA;;;GAGG"}
|
package/lib/generated/notification/models/getCategoryaListNotificationCategoryListGetParams.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getCategoryaListNotificationCategoryListGetParams.js","sourceRoot":"","sources":["../../../../src/generated/notification/models/getCategoryaListNotificationCategoryListGetParams.ts"],"names":[],"mappings":";AAAA;;;GAGG"}
|
package/lib/generated/notification/models/getSendedNotifNotificationVideoContentSendedGetParams.d.ts
CHANGED
|
@@ -2,9 +2,12 @@
|
|
|
2
2
|
* 30nama-SDK 🍺
|
|
3
3
|
* Do not edit manually.
|
|
4
4
|
*/
|
|
5
|
+
import type { SortOrder } from './sortOrder';
|
|
5
6
|
export type GetSendedNotifNotificationVideoContentSendedGetParams = {
|
|
6
|
-
|
|
7
|
-
|
|
7
|
+
start_date?: string;
|
|
8
|
+
end_date?: string;
|
|
9
|
+
video_content_id?: string[];
|
|
8
10
|
search?: string;
|
|
11
|
+
sort_by?: SortOrder;
|
|
9
12
|
page_number?: number;
|
|
10
13
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getSendedNotifNotificationVideoContentSendedGetParams.js","sourceRoot":"","sources":["../../../../src/generated/notification/models/getSendedNotifNotificationVideoContentSendedGetParams.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"getSendedNotifNotificationVideoContentSendedGetParams.js","sourceRoot":"","sources":["../../../../src/generated/notification/models/getSendedNotifNotificationVideoContentSendedGetParams.ts"],"names":[],"mappings":""}
|
|
@@ -9,6 +9,7 @@ export * from './allNotifToReadNotificationUserMarkAllAsReadGetParams';
|
|
|
9
9
|
export * from './deleteCategoryNotificationCategoryDeleteDeleteParams';
|
|
10
10
|
export * from './deleteGroupNotificationUserGroupDeleteDeleteParams';
|
|
11
11
|
export * from './deleteNotificationNotificationSystemNotificationDeleteDeleteParams';
|
|
12
|
+
export * from './description';
|
|
12
13
|
export * from './editCategory';
|
|
13
14
|
export * from './editGroup';
|
|
14
15
|
export * from './editGroupAddIds';
|
|
@@ -18,6 +19,7 @@ export * from './editNotification';
|
|
|
18
19
|
export * from './editNotificationCategoryId';
|
|
19
20
|
export * from './editNotificationContent';
|
|
20
21
|
export * from './editNotificationTitle';
|
|
22
|
+
export * from './getCategoryaListNotificationCategoryListGetParams';
|
|
21
23
|
export * from './getNotificationNotificationSystemNotificationListGetParams';
|
|
22
24
|
export * from './getRecivedNotifNotificationVideoContentReceivedGetParams';
|
|
23
25
|
export * from './getSendedNotifNotificationSendListGetParams';
|
|
@@ -35,6 +37,7 @@ export * from './sendManualNotifIdsList';
|
|
|
35
37
|
export * from './sendNotification';
|
|
36
38
|
export * from './sendNotificationGroupId';
|
|
37
39
|
export * from './sendNotificationIdsList';
|
|
40
|
+
export * from './sortOrder';
|
|
38
41
|
export * from './userGroupAdd';
|
|
39
42
|
export * from './validationError';
|
|
40
43
|
export * from './validationErrorLocItem';
|
|
@@ -25,6 +25,7 @@ __exportStar(require("./allNotifToReadNotificationUserMarkAllAsReadGetParams"),
|
|
|
25
25
|
__exportStar(require("./deleteCategoryNotificationCategoryDeleteDeleteParams"), exports);
|
|
26
26
|
__exportStar(require("./deleteGroupNotificationUserGroupDeleteDeleteParams"), exports);
|
|
27
27
|
__exportStar(require("./deleteNotificationNotificationSystemNotificationDeleteDeleteParams"), exports);
|
|
28
|
+
__exportStar(require("./description"), exports);
|
|
28
29
|
__exportStar(require("./editCategory"), exports);
|
|
29
30
|
__exportStar(require("./editGroup"), exports);
|
|
30
31
|
__exportStar(require("./editGroupAddIds"), exports);
|
|
@@ -34,6 +35,7 @@ __exportStar(require("./editNotification"), exports);
|
|
|
34
35
|
__exportStar(require("./editNotificationCategoryId"), exports);
|
|
35
36
|
__exportStar(require("./editNotificationContent"), exports);
|
|
36
37
|
__exportStar(require("./editNotificationTitle"), exports);
|
|
38
|
+
__exportStar(require("./getCategoryaListNotificationCategoryListGetParams"), exports);
|
|
37
39
|
__exportStar(require("./getNotificationNotificationSystemNotificationListGetParams"), exports);
|
|
38
40
|
__exportStar(require("./getRecivedNotifNotificationVideoContentReceivedGetParams"), exports);
|
|
39
41
|
__exportStar(require("./getSendedNotifNotificationSendListGetParams"), exports);
|
|
@@ -51,6 +53,7 @@ __exportStar(require("./sendManualNotifIdsList"), exports);
|
|
|
51
53
|
__exportStar(require("./sendNotification"), exports);
|
|
52
54
|
__exportStar(require("./sendNotificationGroupId"), exports);
|
|
53
55
|
__exportStar(require("./sendNotificationIdsList"), exports);
|
|
56
|
+
__exportStar(require("./sortOrder"), exports);
|
|
54
57
|
__exportStar(require("./userGroupAdd"), exports);
|
|
55
58
|
__exportStar(require("./validationError"), exports);
|
|
56
59
|
__exportStar(require("./validationErrorLocItem"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/generated/notification/models/index.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;;;;;;;;;;;;;;AAEH,oDAAiC;AACjC,+DAA4C;AAC5C,sEAAmD;AACnD,yFAAsE;AACtE,yFAAsE;AACtE,uFAAoE;AACpE,uGAAoF;AACpF,iDAA8B;AAC9B,8CAA2B;AAC3B,oDAAiC;AACjC,uDAAoC;AACpC,kDAA+B;AAC/B,qDAAkC;AAClC,+DAA4C;AAC5C,4DAAyC;AACzC,0DAAuC;AACvC,+FAA4E;AAC5E,6FAA0E;AAC1E,gFAA6D;AAC7D,0FAAuE;AACvE,kFAA+D;AAC/D,wDAAqC;AACrC,mFAAgE;AAChE,yDAAsC;AACtC,wDAAqC;AACrC,wEAAqD;AACrD,0EAAuD;AACvD,oDAAiC;AACjC,2DAAwC;AACxC,2DAAwC;AACxC,qDAAkC;AAClC,4DAAyC;AACzC,4DAAyC;AACzC,iDAA8B;AAC9B,oDAAiC;AACjC,2DAAwC;AACxC,qDAAkC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/generated/notification/models/index.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;;;;;;;;;;;;;;AAEH,oDAAiC;AACjC,+DAA4C;AAC5C,sEAAmD;AACnD,yFAAsE;AACtE,yFAAsE;AACtE,uFAAoE;AACpE,uGAAoF;AACpF,gDAA6B;AAC7B,iDAA8B;AAC9B,8CAA2B;AAC3B,oDAAiC;AACjC,uDAAoC;AACpC,kDAA+B;AAC/B,qDAAkC;AAClC,+DAA4C;AAC5C,4DAAyC;AACzC,0DAAuC;AACvC,sFAAmE;AACnE,+FAA4E;AAC5E,6FAA0E;AAC1E,gFAA6D;AAC7D,0FAAuE;AACvE,kFAA+D;AAC/D,wDAAqC;AACrC,mFAAgE;AAChE,yDAAsC;AACtC,wDAAqC;AACrC,wEAAqD;AACrD,0EAAuD;AACvD,oDAAiC;AACjC,2DAAwC;AACxC,2DAAwC;AACxC,qDAAkC;AAClC,4DAAyC;AACzC,4DAAyC;AACzC,8CAA2B;AAC3B,iDAA8B;AAC9B,oDAAiC;AACjC,2DAAwC;AACxC,qDAAkC"}
|
|
@@ -7,7 +7,7 @@ import type { SendManualNotifGroupId } from './sendManualNotifGroupId';
|
|
|
7
7
|
export interface SendManualNotif {
|
|
8
8
|
title: string;
|
|
9
9
|
content: string;
|
|
10
|
-
|
|
10
|
+
language_code: string;
|
|
11
11
|
ids_list?: SendManualNotifIdsList;
|
|
12
12
|
group_id?: SendManualNotifGroupId;
|
|
13
13
|
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* 30nama-SDK 🍺
|
|
4
|
+
* Do not edit manually.
|
|
5
|
+
*/
|
|
6
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
+
exports.SortOrder = void 0;
|
|
8
|
+
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
9
|
+
exports.SortOrder = {
|
|
10
|
+
asc: 'asc',
|
|
11
|
+
desc: 'desc'
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=sortOrder.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sortOrder.js","sourceRoot":"","sources":["../../../../src/generated/notification/models/sortOrder.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAIH,2DAA2D;AAC9C,QAAA,SAAS,GAAG;IACvB,GAAG,EAAE,KAAK;IACV,IAAI,EAAE,MAAM;CACJ,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"videoContentSend.js","sourceRoot":"","sources":["../../../../src/generated/notification/models/videoContentSend.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"videoContentSend.js","sourceRoot":"","sources":["../../../../src/generated/notification/models/videoContentSend.ts"],"names":[],"mappings":""}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { AxiosRequestConfig, AxiosResponse } from 'axios';
|
|
2
|
-
import type { CreateSeasonCreate200, CreateSeasonCreateParams, CreateSubseasonCreate200, CreateSubseasonCreateParams, CreateSubseasonNoteUpdate201, CreateSubseasonNoteUpdateParams, DeleteEpisodeDestroy200, DeleteEpisodeDestroyParams, DeleteEpisodeFromFileServerDestroy200, DeleteEpisodeFromFileServerDestroyParams, DeleteMovieSubsetFromFileServerDestroy200, DeleteMovieSubsetFromFileServerDestroyParams, DeleteMoviesubsetDestroy200, DeleteMoviesubsetDestroyParams, DeleteSeasonDestroy200, DeleteSeasonDestroyParams, DeleteSeasonForMergeDestroy202, DeleteSeasonForMergeDestroyParams, DeleteSeasonNameDestroyParams, DeleteSubseasonDestroy200, DeleteSubseasonDestroyParams, DeleteSubseasonForMergeDestroy200, DeleteSubseasonForMergeDestroyParams, DownloadApiRetrieveParams, EditEncoderMoviesubsetUpdate200, EditEncoderMoviesubsetUpdateParams, EditEpisodeUpdate200, EditEpisodeUpdateParams, EditSeasonNameUpdateParams, EditSubseasonUpdate202, EditSubseasonUpdateParams, EpisodeInputRequest, EpisodesDownloadDetailsRetrieveParams, GenerateAllDownloadLinksRetrieve200, GenerateAllDownloadLinksRetrieveParams, GenerateDownloadLinksRetrieve200, GenerateDownloadLinksRetrieveParams, GenerateInternalSubtitleLinksRetrieve200, GenerateInternalSubtitleLinksRetrieveParams, GetStaffIdEpisodeRetrieve200, GetStaffIdMovieSubsetRetrieve200, InputRequest, MoveEpisodeUpdate200, MoveEpisodeUpdateParams, MoveSeasonUpdate200, MoveSeasonUpdateParams, MoveSubseasonUpdate200, MoveSubseasonUpdateParams, MovieSeriesBaseInfoRetrieve200, MovieSeriesBaseInfoRetrieveParams, MovieSeriesDownloadDetailsRetrieveParams, MovieSubset, MultiUploadEpisodeCreate200, MultiUploadEpisodeCreateBody, RestoreDeletedEpisodeUpdate200, RestoreDeletedEpisodeUpdateParams, RestoreDeletedMoviesubsetUpdate200, RestoreDeletedMoviesubsetUpdateParams, RestoreDeletedSeasonUpdate200, RestoreDeletedSeasonUpdateParams, RestoreDeletedSubseasonUpdate200, RestoreDeletedSubseasonUpdateParams, SeasonBaseInfoRetrieve200, SeasonBaseInfoRetrieveParams, ShowCodecRetrieve200, ShowContentStatisticsEpisodeRetrieve200, ShowContentStatisticsEpisodeRetrieveParams, ShowContentStatisticsMoviesubsetRetrieve200, ShowContentStatisticsMoviesubsetRetrieveParams, ShowDeletedEpisodeCreate200, ShowDeletedEpisodeIdRetrieve200, ShowDeletedEpisodeIdRetrieveParams, ShowDeletedMoviesubsetRetrieve200, ShowDeletedMoviesubsetRetrieveParams, ShowDeletedSeasonRetrieve200, ShowDeletedSeasonRetrieveParams, ShowDeletedSubseasonCreate200, ShowDeletedSubseasonIdRetrieve200, ShowDeletedSubseasonIdRetrieveParams, ShowEditEpisodeRetrieve200, ShowEditEpisodeRetrieveParams, ShowEditMovieSubsetRetrieveParams, ShowEditionRetrieve200,
|
|
2
|
+
import type { BaseEncoderResponse, CreateSeasonCreate200, CreateSeasonCreateParams, CreateSubseasonCreate200, CreateSubseasonCreateParams, CreateSubseasonNoteUpdate201, CreateSubseasonNoteUpdateParams, DeleteEpisodeDestroy200, DeleteEpisodeDestroyParams, DeleteEpisodeFromFileServerDestroy200, DeleteEpisodeFromFileServerDestroyParams, DeleteMovieSubsetFromFileServerDestroy200, DeleteMovieSubsetFromFileServerDestroyParams, DeleteMoviesubsetDestroy200, DeleteMoviesubsetDestroyParams, DeleteSeasonDestroy200, DeleteSeasonDestroyParams, DeleteSeasonForMergeDestroy202, DeleteSeasonForMergeDestroyParams, DeleteSeasonNameDestroyParams, DeleteSubseasonDestroy200, DeleteSubseasonDestroyParams, DeleteSubseasonForMergeDestroy200, DeleteSubseasonForMergeDestroyParams, DownloadApiRetrieveParams, EditEncoderMoviesubsetUpdate200, EditEncoderMoviesubsetUpdateParams, EditEpisodeUpdate200, EditEpisodeUpdateParams, EditSeasonNameUpdateParams, EditSubseasonUpdate202, EditSubseasonUpdateParams, EpisodeInputRequest, EpisodesDownloadDetailsRetrieveParams, GenerateAllDownloadLinksRetrieve200, GenerateAllDownloadLinksRetrieveParams, GenerateDownloadLinksRetrieve200, GenerateDownloadLinksRetrieveParams, GenerateInternalSubtitleLinksRetrieve200, GenerateInternalSubtitleLinksRetrieveParams, GetStaffIdEpisodeRetrieve200, GetStaffIdMovieSubsetRetrieve200, InputRequest, MoveEpisodeUpdate200, MoveEpisodeUpdateParams, MoveSeasonUpdate200, MoveSeasonUpdateParams, MoveSubseasonUpdate200, MoveSubseasonUpdateParams, MovieSeriesBaseInfoRetrieve200, MovieSeriesBaseInfoRetrieveParams, MovieSeriesDownloadDetailsRetrieveParams, MovieSubset, MultiUploadEpisodeCreate200, MultiUploadEpisodeCreateBody, RestoreDeletedEpisodeUpdate200, RestoreDeletedEpisodeUpdateParams, RestoreDeletedMoviesubsetUpdate200, RestoreDeletedMoviesubsetUpdateParams, RestoreDeletedSeasonUpdate200, RestoreDeletedSeasonUpdateParams, RestoreDeletedSubseasonUpdate200, RestoreDeletedSubseasonUpdateParams, SeasonBaseInfoRetrieve200, SeasonBaseInfoRetrieveParams, ShowCodecRetrieve200, ShowContentStatisticsEpisodeRetrieve200, ShowContentStatisticsEpisodeRetrieveParams, ShowContentStatisticsMoviesubsetRetrieve200, ShowContentStatisticsMoviesubsetRetrieveParams, ShowDeletedEpisodeCreate200, ShowDeletedEpisodeIdRetrieve200, ShowDeletedEpisodeIdRetrieveParams, ShowDeletedMoviesubsetRetrieve200, ShowDeletedMoviesubsetRetrieveParams, ShowDeletedSeasonRetrieve200, ShowDeletedSeasonRetrieveParams, ShowDeletedSubseasonCreate200, ShowDeletedSubseasonIdRetrieve200, ShowDeletedSubseasonIdRetrieveParams, ShowEditEpisodeRetrieve200, ShowEditEpisodeRetrieveParams, ShowEditMovieSubsetRetrieveParams, ShowEditionRetrieve200, ShowEncoderRetrieveParams, ShowEncoderWithoutPaginationRetrieve200, ShowEncoderWithoutPaginationRetrieveParams, ShowEpisodeRetrieve200, ShowEpisodeRetrieveParams, ShowExternalSubtitleRetrieve200, ShowExternalSubtitleRetrieveParams, ShowMovieSubsetRetrieveParams, ShowP2pRetrieve200, ShowPerformanceUploadTeamEpisodeRetrieve200, ShowPerformanceUploadTeamEpisodeRetrieveParams, ShowPerformanceUploadTeamMoviesubsetRetrieve200, ShowPerformanceUploadTeamMoviesubsetRetrieveParams, ShowQualityRetrieve200, ShowQualityRetrieveParams, ShowResolutionRetrieve200, ShowScreenShotMediaInfoLinkEpisodeRetrieve200, ShowScreenShotMediaInfoLinkEpisodeRetrieveParams, ShowScreenShotMediaInfoLinkMovieSubsetRetrieveParams, ShowSubseasonRetrieve200, ShowSubseasonRetrieveParams, ShowTagsRetrieve200, ShowVoiceQualityRetrieve200, SingleUploadEpisodeCreate200, SingleUploadEpisodeCreateParams, SingleUploadMoviesubsetCreate200, SingleUploadeMovieRequest, UpdateMovieIdMovieSubsetUpdate200, UpdateMovieIdMovieSubsetUpdateParams, ValidatingLinkRetrieve200, ValidatingLinkRetrieveParams } from './models';
|
|
3
3
|
export declare const getVideoDataMicroserviceAPI: () => {
|
|
4
4
|
downloadApiRetrieve: <TData = AxiosResponse<null, any>>(params: DownloadApiRetrieveParams, options?: AxiosRequestConfig) => Promise<TData>;
|
|
5
5
|
editEncoderMoviesubsetUpdate: <TData = AxiosResponse<EditEncoderMoviesubsetUpdate200, any>>(params: EditEncoderMoviesubsetUpdateParams, options?: AxiosRequestConfig) => Promise<TData>;
|
|
@@ -48,7 +48,7 @@ export declare const getVideoDataMicroserviceAPI: () => {
|
|
|
48
48
|
showEditEpisodeRetrieve: <TData = AxiosResponse<ShowEditEpisodeRetrieve200, any>>(params: ShowEditEpisodeRetrieveParams, options?: AxiosRequestConfig) => Promise<TData>;
|
|
49
49
|
showEditMovieSubsetRetrieve: <TData = AxiosResponse<null, any>>(params: ShowEditMovieSubsetRetrieveParams, options?: AxiosRequestConfig) => Promise<TData>;
|
|
50
50
|
showEditionRetrieve: <TData = AxiosResponse<ShowEditionRetrieve200, any>>(options?: AxiosRequestConfig) => Promise<TData>;
|
|
51
|
-
showEncoderRetrieve: <TData = AxiosResponse<
|
|
51
|
+
showEncoderRetrieve: <TData = AxiosResponse<BaseEncoderResponse, any>>(params: ShowEncoderRetrieveParams, options?: AxiosRequestConfig) => Promise<TData>;
|
|
52
52
|
showEncoderWithoutPaginationRetrieve: <TData = AxiosResponse<ShowEncoderWithoutPaginationRetrieve200, any>>(params?: ShowEncoderWithoutPaginationRetrieveParams, options?: AxiosRequestConfig) => Promise<TData>;
|
|
53
53
|
showEpisodeRetrieve: <TData = AxiosResponse<ShowEpisodeRetrieve200, any>>(params: ShowEpisodeRetrieveParams, options?: AxiosRequestConfig) => Promise<TData>;
|
|
54
54
|
showExternalSubtitleRetrieve: <TData = AxiosResponse<ShowExternalSubtitleRetrieve200, any>>(params?: ShowExternalSubtitleRetrieveParams, options?: AxiosRequestConfig) => Promise<TData>;
|
|
@@ -59,11 +59,11 @@ export declare const getVideoDataMicroserviceAPI: () => {
|
|
|
59
59
|
showQualityRetrieve: <TData = AxiosResponse<ShowQualityRetrieve200, any>>(params?: ShowQualityRetrieveParams, options?: AxiosRequestConfig) => Promise<TData>;
|
|
60
60
|
showResolutionRetrieve: <TData = AxiosResponse<ShowResolutionRetrieve200, any>>(options?: AxiosRequestConfig) => Promise<TData>;
|
|
61
61
|
showScreenShotMediaInfoLinkEpisodeRetrieve: <TData = AxiosResponse<ShowScreenShotMediaInfoLinkEpisodeRetrieve200, any>>(params?: ShowScreenShotMediaInfoLinkEpisodeRetrieveParams, options?: AxiosRequestConfig) => Promise<TData>;
|
|
62
|
-
showScreenShotMediaInfoLinkMovieSubsetRetrieve: <TData = AxiosResponse<
|
|
62
|
+
showScreenShotMediaInfoLinkMovieSubsetRetrieve: <TData = AxiosResponse<null, any>>(params?: ShowScreenShotMediaInfoLinkMovieSubsetRetrieveParams, options?: AxiosRequestConfig) => Promise<TData>;
|
|
63
63
|
showTagsRetrieve: <TData = AxiosResponse<ShowTagsRetrieve200, any>>(options?: AxiosRequestConfig) => Promise<TData>;
|
|
64
64
|
showVoiceQualityRetrieve: <TData = AxiosResponse<ShowVoiceQualityRetrieve200, any>>(options?: AxiosRequestConfig) => Promise<TData>;
|
|
65
65
|
singleUploadEpisodeCreate: <TData = AxiosResponse<SingleUploadEpisodeCreate200, any>>(params: SingleUploadEpisodeCreateParams, options?: AxiosRequestConfig) => Promise<TData>;
|
|
66
|
-
singleUploadMoviesubsetCreate: <TData = AxiosResponse<SingleUploadMoviesubsetCreate200, any>>(
|
|
66
|
+
singleUploadMoviesubsetCreate: <TData = AxiosResponse<SingleUploadMoviesubsetCreate200, any>>(singleUploadeMovieRequest: SingleUploadeMovieRequest, options?: AxiosRequestConfig) => Promise<TData>;
|
|
67
67
|
updateMovieIdMovieSubsetUpdate: <TData = AxiosResponse<UpdateMovieIdMovieSubsetUpdate200, any>>(params: UpdateMovieIdMovieSubsetUpdateParams, options?: AxiosRequestConfig) => Promise<TData>;
|
|
68
68
|
validatingLinkRetrieve: <TData = AxiosResponse<ValidatingLinkRetrieve200, any>>(params?: ValidatingLinkRetrieveParams, options?: AxiosRequestConfig) => Promise<TData>;
|
|
69
69
|
};
|
|
@@ -114,7 +114,7 @@ export type ShowDeletedSubseasonIdRetrieveResult = AxiosResponse<ShowDeletedSubs
|
|
|
114
114
|
export type ShowEditEpisodeRetrieveResult = AxiosResponse<ShowEditEpisodeRetrieve200>;
|
|
115
115
|
export type ShowEditMovieSubsetRetrieveResult = AxiosResponse<null>;
|
|
116
116
|
export type ShowEditionRetrieveResult = AxiosResponse<ShowEditionRetrieve200>;
|
|
117
|
-
export type ShowEncoderRetrieveResult = AxiosResponse<
|
|
117
|
+
export type ShowEncoderRetrieveResult = AxiosResponse<BaseEncoderResponse>;
|
|
118
118
|
export type ShowEncoderWithoutPaginationRetrieveResult = AxiosResponse<ShowEncoderWithoutPaginationRetrieve200>;
|
|
119
119
|
export type ShowEpisodeRetrieveResult = AxiosResponse<ShowEpisodeRetrieve200>;
|
|
120
120
|
export type ShowExternalSubtitleRetrieveResult = AxiosResponse<ShowExternalSubtitleRetrieve200>;
|
|
@@ -125,7 +125,7 @@ export type ShowPerformanceUploadTeamMoviesubsetRetrieveResult = AxiosResponse<S
|
|
|
125
125
|
export type ShowQualityRetrieveResult = AxiosResponse<ShowQualityRetrieve200>;
|
|
126
126
|
export type ShowResolutionRetrieveResult = AxiosResponse<ShowResolutionRetrieve200>;
|
|
127
127
|
export type ShowScreenShotMediaInfoLinkEpisodeRetrieveResult = AxiosResponse<ShowScreenShotMediaInfoLinkEpisodeRetrieve200>;
|
|
128
|
-
export type ShowScreenShotMediaInfoLinkMovieSubsetRetrieveResult = AxiosResponse<
|
|
128
|
+
export type ShowScreenShotMediaInfoLinkMovieSubsetRetrieveResult = AxiosResponse<null>;
|
|
129
129
|
export type ShowTagsRetrieveResult = AxiosResponse<ShowTagsRetrieve200>;
|
|
130
130
|
export type ShowVoiceQualityRetrieveResult = AxiosResponse<ShowVoiceQualityRetrieve200>;
|
|
131
131
|
export type SingleUploadEpisodeCreateResult = AxiosResponse<SingleUploadEpisodeCreate200>;
|
|
@@ -1302,11 +1302,12 @@ const getVideoDataMicroserviceAPI = () => {
|
|
|
1302
1302
|
};
|
|
1303
1303
|
/**
|
|
1304
1304
|
*
|
|
1305
|
-
**Last Version Update:** 1.
|
|
1305
|
+
**Last Version Update:** 1.8.0
|
|
1306
1306
|
|
|
1307
1307
|
**Codes:** A2.5.18N4 , A2.5.18N5
|
|
1308
1308
|
|
|
1309
1309
|
**Change Log:**
|
|
1310
|
+
[V1.8.0, change response format and schema]
|
|
1310
1311
|
[V1.3.3, change response format ]
|
|
1311
1312
|
|
|
1312
1313
|
**Description:** Returns a list of all available Encoders.
|
|
@@ -1637,7 +1638,13 @@ const getVideoDataMicroserviceAPI = () => {
|
|
|
1637
1638
|
* @summary Show Screenshot and Media Info Link for Movie SubSet
|
|
1638
1639
|
*/
|
|
1639
1640
|
const showScreenShotMediaInfoLinkMovieSubsetRetrieve = (params, options) => {
|
|
1640
|
-
return axios_1.default
|
|
1641
|
+
return axios_1.default
|
|
1642
|
+
.get(`/show-screen-shot-media-info-link-movie-subset`, Object.assign(Object.assign({}, options), { params: Object.assign(Object.assign({}, params), options === null || options === void 0 ? void 0 : options.params) }))
|
|
1643
|
+
.then(res => {
|
|
1644
|
+
if (res.data === '')
|
|
1645
|
+
res.data = null;
|
|
1646
|
+
return res;
|
|
1647
|
+
});
|
|
1641
1648
|
};
|
|
1642
1649
|
/**
|
|
1643
1650
|
*
|
|
@@ -1724,31 +1731,32 @@ const getVideoDataMicroserviceAPI = () => {
|
|
|
1724
1731
|
};
|
|
1725
1732
|
/**
|
|
1726
1733
|
*
|
|
1727
|
-
**Last Version Update:** 1.
|
|
1734
|
+
**Last Version Update:** 1.7.0
|
|
1728
1735
|
|
|
1729
1736
|
**Codes:** A2.6.2N1 , A2.5.18E1 , A2.6.1E1
|
|
1730
1737
|
|
|
1731
1738
|
**Change Log:**
|
|
1732
|
-
|
|
1739
|
+
parameters change to body json you should send json body not path parameters.
|
|
1740
|
+
and some parameter name change to id like enoder_name -> encoder_id
|
|
1733
1741
|
|
|
1734
1742
|
**Description:** This API endpoint facilitates the upload of a movie subset to the file server using a specified URL.
|
|
1735
1743
|
|
|
1736
|
-
**
|
|
1744
|
+
**Body Parameter:**
|
|
1737
1745
|
* **file_url:** The URL of the file to upload (required).
|
|
1738
1746
|
* **video_content_id:** The unique identifier for the video content (required).
|
|
1739
1747
|
* **file_name:** The name of the file to be saved (optional).
|
|
1740
|
-
* **
|
|
1741
|
-
* **
|
|
1742
|
-
* **
|
|
1743
|
-
* **
|
|
1744
|
-
* **
|
|
1745
|
-
* **
|
|
1748
|
+
* **quality_id:** The name of the quality of the movie (optional).
|
|
1749
|
+
* **resolution_id:** The resolution of the movie (optional).
|
|
1750
|
+
* **encoder_id:** The name of the encoder (optional).
|
|
1751
|
+
* **p2p_id:** The name of the P2P group (optional).
|
|
1752
|
+
* **codec_id:** The codec used for the movie (optional).
|
|
1753
|
+
* **voice_quality_id:** The voice quality name (optional).
|
|
1746
1754
|
* **part_number:** The part number of the movie subset (optional).
|
|
1747
1755
|
* **source_file:** The source file path (optional).
|
|
1748
1756
|
* **english_moviesubset_note:** A note in English related to the movie subset (optional).
|
|
1749
1757
|
* **persian_moviesubset_note:** A note in Persian related to the movie subset (optional).
|
|
1750
|
-
* **
|
|
1751
|
-
* **
|
|
1758
|
+
* **tags_id:** An array of tags associated with the movie subset (optional).
|
|
1759
|
+
* **edition_id:** The name of the edition (optional).
|
|
1752
1760
|
|
|
1753
1761
|
**Response:**
|
|
1754
1762
|
* **200:** File uploaded successfully.
|
|
@@ -1759,8 +1767,8 @@ const getVideoDataMicroserviceAPI = () => {
|
|
|
1759
1767
|
|
|
1760
1768
|
* @summary Upload one MovieSubset From Link to File Server
|
|
1761
1769
|
*/
|
|
1762
|
-
const singleUploadMoviesubsetCreate = (
|
|
1763
|
-
return axios_1.default.post(`/single-upload-moviesubset`,
|
|
1770
|
+
const singleUploadMoviesubsetCreate = (singleUploadeMovieRequest, options) => {
|
|
1771
|
+
return axios_1.default.post(`/single-upload-moviesubset`, singleUploadeMovieRequest, options);
|
|
1764
1772
|
};
|
|
1765
1773
|
/**
|
|
1766
1774
|
*
|