@30nama/sdk 2.0.0-rc.15 → 2.0.0-rc.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/generated/notification/api.d.ts +53 -53
- package/lib/generated/notification/api.js +4 -4
- package/lib/generated/notification/api.js.map +1 -1
- package/lib/generated/notification/models/category.d.ts +11 -0
- package/lib/generated/notification/models/category.js +7 -0
- package/lib/generated/notification/models/category.js.map +1 -0
- package/lib/generated/notification/models/errorResponse401.d.ts +16 -0
- package/lib/generated/notification/models/errorResponse401.js +3 -0
- package/lib/generated/notification/models/errorResponse401.js.map +1 -0
- package/lib/generated/notification/models/errorResponse401Data.d.ts +6 -0
- package/lib/generated/notification/models/errorResponse401Data.js +3 -0
- package/lib/generated/notification/models/errorResponse401Data.js.map +1 -0
- package/lib/generated/notification/models/errorResponse401DataAnyOf.d.ts +7 -0
- package/lib/generated/notification/models/errorResponse401DataAnyOf.js +7 -0
- package/lib/generated/notification/models/errorResponse401DataAnyOf.js.map +1 -0
- package/lib/generated/notification/models/errorResponse401Errors.d.ts +7 -0
- package/lib/generated/notification/models/errorResponse401Errors.js +7 -0
- package/lib/generated/notification/models/errorResponse401Errors.js.map +1 -0
- package/lib/generated/notification/models/errorResponse404.d.ts +16 -0
- package/lib/generated/notification/models/errorResponse404.js +3 -0
- package/lib/generated/notification/models/errorResponse404.js.map +1 -0
- package/lib/generated/notification/models/errorResponse404Data.d.ts +6 -0
- package/lib/generated/notification/models/errorResponse404Data.js +3 -0
- package/lib/generated/notification/models/errorResponse404Data.js.map +1 -0
- package/lib/generated/notification/models/errorResponse404DataAnyOf.d.ts +7 -0
- package/lib/generated/notification/models/errorResponse404DataAnyOf.js +7 -0
- package/lib/generated/notification/models/errorResponse404DataAnyOf.js.map +1 -0
- package/lib/generated/notification/models/errorResponse404Errors.d.ts +7 -0
- package/lib/generated/notification/models/errorResponse404Errors.js +7 -0
- package/lib/generated/notification/models/errorResponse404Errors.js.map +1 -0
- package/lib/generated/notification/models/errorResponse422.d.ts +16 -0
- package/lib/generated/notification/models/errorResponse422.js +3 -0
- package/lib/generated/notification/models/errorResponse422.js.map +1 -0
- package/lib/generated/notification/models/errorResponse422Data.d.ts +6 -0
- package/lib/generated/notification/models/errorResponse422Data.js +3 -0
- package/lib/generated/notification/models/errorResponse422Data.js.map +1 -0
- package/lib/generated/notification/models/errorResponse422DataAnyOf.d.ts +7 -0
- package/lib/generated/notification/models/errorResponse422DataAnyOf.js +7 -0
- package/lib/generated/notification/models/errorResponse422DataAnyOf.js.map +1 -0
- package/lib/generated/notification/models/errorResponse422Errors.d.ts +7 -0
- package/lib/generated/notification/models/errorResponse422Errors.js +7 -0
- package/lib/generated/notification/models/errorResponse422Errors.js.map +1 -0
- package/lib/generated/notification/models/getUserNotifNotificationUserReceivedGetParams.d.ts +1 -1
- package/lib/generated/notification/models/index.d.ts +27 -2
- package/lib/generated/notification/models/index.js +27 -2
- package/lib/generated/notification/models/index.js.map +1 -1
- package/lib/generated/notification/models/successResponseCategoryList.d.ts +16 -0
- package/lib/generated/notification/models/successResponseCategoryList.js +3 -0
- package/lib/generated/notification/models/successResponseCategoryList.js.map +1 -0
- package/lib/generated/notification/models/successResponseCategoryListData.d.ts +9 -0
- package/lib/generated/notification/models/successResponseCategoryListData.js +3 -0
- package/lib/generated/notification/models/successResponseCategoryListData.js.map +1 -0
- package/lib/generated/notification/models/successResponseCategoryListDataDataItem.d.ts +8 -0
- package/lib/generated/notification/models/successResponseCategoryListDataDataItem.js +7 -0
- package/lib/generated/notification/models/successResponseCategoryListDataDataItem.js.map +1 -0
- package/lib/generated/notification/models/successResponseCategoryListErrors.d.ts +7 -0
- package/lib/generated/notification/models/successResponseCategoryListErrors.js +7 -0
- package/lib/generated/notification/models/successResponseCategoryListErrors.js.map +1 -0
- package/lib/generated/notification/models/successResponseUnknown.d.ts +15 -0
- package/lib/generated/notification/models/successResponseUnknown.js +3 -0
- package/lib/generated/notification/models/successResponseUnknown.js.map +1 -0
- package/lib/generated/notification/models/successResponseUnknownErrors.d.ts +7 -0
- package/lib/generated/notification/models/successResponseUnknownErrors.js +7 -0
- package/lib/generated/notification/models/successResponseUnknownErrors.js.map +1 -0
- package/lib/generated/notification/models/successResponseUserNotifications.d.ts +16 -0
- package/lib/generated/notification/models/successResponseUserNotifications.js +3 -0
- package/lib/generated/notification/models/successResponseUserNotifications.js.map +1 -0
- package/lib/generated/notification/models/successResponseUserNotificationsData.d.ts +9 -0
- package/lib/generated/notification/models/successResponseUserNotificationsData.js +3 -0
- package/lib/generated/notification/models/successResponseUserNotificationsData.js.map +1 -0
- package/lib/generated/notification/models/successResponseUserNotificationsDataDataItem.d.ts +12 -0
- package/lib/generated/notification/models/successResponseUserNotificationsDataDataItem.js +7 -0
- package/lib/generated/notification/models/successResponseUserNotificationsDataDataItem.js.map +1 -0
- package/lib/generated/notification/models/successResponseUserNotificationsErrors.d.ts +7 -0
- package/lib/generated/notification/models/successResponseUserNotificationsErrors.js +7 -0
- package/lib/generated/notification/models/successResponseUserNotificationsErrors.js.map +1 -0
- package/lib/generated/notification/models/successResponseVideoContentNotifs.d.ts +16 -0
- package/lib/generated/notification/models/successResponseVideoContentNotifs.js +3 -0
- package/lib/generated/notification/models/successResponseVideoContentNotifs.js.map +1 -0
- package/lib/generated/notification/models/successResponseVideoContentNotifsData.d.ts +9 -0
- package/lib/generated/notification/models/successResponseVideoContentNotifsData.js +3 -0
- package/lib/generated/notification/models/successResponseVideoContentNotifsData.js.map +1 -0
- package/lib/generated/notification/models/successResponseVideoContentNotifsDataDataItem.d.ts +9 -0
- package/lib/generated/notification/models/successResponseVideoContentNotifsDataDataItem.js +7 -0
- package/lib/generated/notification/models/successResponseVideoContentNotifsDataDataItem.js.map +1 -0
- package/lib/generated/notification/models/successResponseVideoContentNotifsErrors.d.ts +7 -0
- package/lib/generated/notification/models/successResponseVideoContentNotifsErrors.js +7 -0
- package/lib/generated/notification/models/successResponseVideoContentNotifsErrors.js.map +1 -0
- package/lib/services/biography/index.d.ts +3 -3
- package/lib/services/biography/index.js.map +1 -1
- package/lib/services/comment/index.d.ts +7 -7
- package/lib/services/comment/index.js.map +1 -1
- package/lib/services/news/index.d.ts +9 -8
- package/lib/services/news/index.js.map +1 -1
- package/lib/services/notification/index.d.ts +5 -5
- package/lib/services/notification/index.js.map +1 -1
- package/lib/services/operator/index.js.map +1 -1
- package/lib/services/stream/index.d.ts +2 -1
- package/lib/services/stream/index.js.map +1 -1
- package/lib/services/supporter/index.d.ts +6 -5
- package/lib/services/supporter/index.js.map +1 -1
- package/lib/services/video-content/index.d.ts +23 -23
- package/lib/services/video-content/index.js.map +1 -1
- package/lib/services/video-data/index.d.ts +9 -9
- package/lib/services/video-data/index.js.map +1 -1
- package/lib/tsconfig.lib.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 30nama-SDK 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
*/
|
|
5
|
+
import type { SuccessResponseCategoryListData } from './successResponseCategoryListData';
|
|
6
|
+
import type { SuccessResponseCategoryListErrors } from './successResponseCategoryListErrors';
|
|
7
|
+
/**
|
|
8
|
+
* Successful response for 200 status code
|
|
9
|
+
*/
|
|
10
|
+
export interface SuccessResponseCategoryList {
|
|
11
|
+
message: string;
|
|
12
|
+
data: SuccessResponseCategoryListData;
|
|
13
|
+
success: boolean;
|
|
14
|
+
status_code: number;
|
|
15
|
+
errors?: SuccessResponseCategoryListErrors;
|
|
16
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"successResponseCategoryList.js","sourceRoot":"","sources":["../../../../src/generated/notification/models/successResponseCategoryList.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 30nama-SDK 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
*/
|
|
5
|
+
import type { SuccessResponseCategoryListDataDataItem } from './successResponseCategoryListDataDataItem';
|
|
6
|
+
export type SuccessResponseCategoryListData = {
|
|
7
|
+
count?: number;
|
|
8
|
+
data?: SuccessResponseCategoryListDataDataItem[];
|
|
9
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"successResponseCategoryListData.js","sourceRoot":"","sources":["../../../../src/generated/notification/models/successResponseCategoryListData.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"successResponseCategoryListDataDataItem.js","sourceRoot":"","sources":["../../../../src/generated/notification/models/successResponseCategoryListDataDataItem.ts"],"names":[],"mappings":";AAAA;;;GAGG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"successResponseCategoryListErrors.js","sourceRoot":"","sources":["../../../../src/generated/notification/models/successResponseCategoryListErrors.ts"],"names":[],"mappings":";AAAA;;;GAGG"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 30nama-SDK 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
*/
|
|
5
|
+
import type { SuccessResponseUnknownErrors } from './successResponseUnknownErrors';
|
|
6
|
+
/**
|
|
7
|
+
* Successful response for 200 status code
|
|
8
|
+
*/
|
|
9
|
+
export interface SuccessResponseUnknown {
|
|
10
|
+
message: string;
|
|
11
|
+
data: unknown;
|
|
12
|
+
success: boolean;
|
|
13
|
+
status_code: number;
|
|
14
|
+
errors?: SuccessResponseUnknownErrors;
|
|
15
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"successResponseUnknown.js","sourceRoot":"","sources":["../../../../src/generated/notification/models/successResponseUnknown.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"successResponseUnknownErrors.js","sourceRoot":"","sources":["../../../../src/generated/notification/models/successResponseUnknownErrors.ts"],"names":[],"mappings":";AAAA;;;GAGG"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 30nama-SDK 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
*/
|
|
5
|
+
import type { SuccessResponseUserNotificationsData } from './successResponseUserNotificationsData';
|
|
6
|
+
import type { SuccessResponseUserNotificationsErrors } from './successResponseUserNotificationsErrors';
|
|
7
|
+
/**
|
|
8
|
+
* Successful response for 200 status code
|
|
9
|
+
*/
|
|
10
|
+
export interface SuccessResponseUserNotifications {
|
|
11
|
+
message: string;
|
|
12
|
+
data: SuccessResponseUserNotificationsData;
|
|
13
|
+
success: boolean;
|
|
14
|
+
status_code: number;
|
|
15
|
+
errors?: SuccessResponseUserNotificationsErrors;
|
|
16
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"successResponseUserNotifications.js","sourceRoot":"","sources":["../../../../src/generated/notification/models/successResponseUserNotifications.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 30nama-SDK 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
*/
|
|
5
|
+
import type { SuccessResponseUserNotificationsDataDataItem } from './successResponseUserNotificationsDataDataItem';
|
|
6
|
+
export type SuccessResponseUserNotificationsData = {
|
|
7
|
+
count?: number;
|
|
8
|
+
data?: SuccessResponseUserNotificationsDataDataItem[];
|
|
9
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"successResponseUserNotificationsData.js","sourceRoot":"","sources":["../../../../src/generated/notification/models/successResponseUserNotificationsData.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"successResponseUserNotificationsDataDataItem.js","sourceRoot":"","sources":["../../../../src/generated/notification/models/successResponseUserNotificationsDataDataItem.ts"],"names":[],"mappings":";AAAA;;;GAGG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"successResponseUserNotificationsErrors.js","sourceRoot":"","sources":["../../../../src/generated/notification/models/successResponseUserNotificationsErrors.ts"],"names":[],"mappings":";AAAA;;;GAGG"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 30nama-SDK 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
*/
|
|
5
|
+
import type { SuccessResponseVideoContentNotifsData } from './successResponseVideoContentNotifsData';
|
|
6
|
+
import type { SuccessResponseVideoContentNotifsErrors } from './successResponseVideoContentNotifsErrors';
|
|
7
|
+
/**
|
|
8
|
+
* Successful response for 200 status code
|
|
9
|
+
*/
|
|
10
|
+
export interface SuccessResponseVideoContentNotifs {
|
|
11
|
+
message: string;
|
|
12
|
+
data: SuccessResponseVideoContentNotifsData;
|
|
13
|
+
success: boolean;
|
|
14
|
+
status_code: number;
|
|
15
|
+
errors?: SuccessResponseVideoContentNotifsErrors;
|
|
16
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"successResponseVideoContentNotifs.js","sourceRoot":"","sources":["../../../../src/generated/notification/models/successResponseVideoContentNotifs.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 30nama-SDK 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
*/
|
|
5
|
+
import type { SuccessResponseVideoContentNotifsDataDataItem } from './successResponseVideoContentNotifsDataDataItem';
|
|
6
|
+
export type SuccessResponseVideoContentNotifsData = {
|
|
7
|
+
count?: number;
|
|
8
|
+
data?: SuccessResponseVideoContentNotifsDataDataItem[];
|
|
9
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"successResponseVideoContentNotifsData.js","sourceRoot":"","sources":["../../../../src/generated/notification/models/successResponseVideoContentNotifsData.ts"],"names":[],"mappings":""}
|
package/lib/generated/notification/models/successResponseVideoContentNotifsDataDataItem.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"successResponseVideoContentNotifsDataDataItem.js","sourceRoot":"","sources":["../../../../src/generated/notification/models/successResponseVideoContentNotifsDataDataItem.ts"],"names":[],"mappings":";AAAA;;;GAGG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"successResponseVideoContentNotifsErrors.js","sourceRoot":"","sources":["../../../../src/generated/notification/models/successResponseVideoContentNotifsErrors.ts"],"names":[],"mappings":";AAAA;;;GAGG"}
|
|
@@ -6,7 +6,7 @@ import { BaseService } from '../../core/base-service';
|
|
|
6
6
|
import { ConfigManager } from '../../core/config';
|
|
7
7
|
import { AuthManager } from '../../core/auth';
|
|
8
8
|
import { APIResponse } from '../../core/types';
|
|
9
|
-
import { BasePersonListResponse,
|
|
9
|
+
import { BasePersonListResponse, Biography, BiographyAddtofavoritesRetrieveParams, BiographyDeletefromfavoritesRetrieveParams, BiographyFavoritesRetrieveParams, BiographyOtherUserFavoritesRetrieveParams, BiographyPersonDetailRetrieveParams, CreateFavorite, PersonFavorite, PersonsListRetrieveParams } from '../../generated/biography/models';
|
|
10
10
|
/**
|
|
11
11
|
* Biography Service class
|
|
12
12
|
* Provides methods for biography management (non-admin endpoints only)
|
|
@@ -24,7 +24,7 @@ export declare class BiographyService extends BaseService {
|
|
|
24
24
|
* @param params Parameters containing person_id
|
|
25
25
|
* @returns Promise with remove from favorites response
|
|
26
26
|
*/
|
|
27
|
-
removeFromFavorites(params: BiographyDeletefromfavoritesRetrieveParams): Promise<APIResponse<
|
|
27
|
+
removeFromFavorites(params: BiographyDeletefromfavoritesRetrieveParams): Promise<APIResponse<any>>;
|
|
28
28
|
/**
|
|
29
29
|
* Show list of user's favorite persons
|
|
30
30
|
* @param params Optional filter parameters (gender, profession, sort)
|
|
@@ -42,7 +42,7 @@ export declare class BiographyService extends BaseService {
|
|
|
42
42
|
* @param params Parameters containing person_id
|
|
43
43
|
* @returns Promise with person detail response
|
|
44
44
|
*/
|
|
45
|
-
getPersonDetail(params: BiographyPersonDetailRetrieveParams): Promise<APIResponse<
|
|
45
|
+
getPersonDetail(params: BiographyPersonDetailRetrieveParams): Promise<APIResponse<Biography>>;
|
|
46
46
|
/**
|
|
47
47
|
* Show list of persons with filtering options
|
|
48
48
|
* @param params Parameters for filtering (gender, profession, sort, page)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/services/biography/index.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAEH,0DAAqD;AAoBrD;;;GAGG;AACH,MAAa,gBAAiB,SAAQ,0BAAW;IAC/C,YAAY,aAA4B,EAAE,WAAwB;QAChE,KAAK,CAAC,WAAW,EAAE,aAAa,EAAE,WAAW,CAAC,CAAA;IAChD,CAAC;IAED,+CAA+C;IAC/C,uCAAuC;IACvC,+CAA+C;IAE/C;;;;OAIG;IACH,KAAK,CAAC,cAAc,CAAC,MAA6C;QAChE,OAAO,IAAI,CAAC,GAAG,CAAC,2BAA2B,EAAE,MAAM,CAAC,CAAA;IACtD,CAAC;IAED;;;;OAIG;IACH,KAAK,CAAC,mBAAmB,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/services/biography/index.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAEH,0DAAqD;AAoBrD;;;GAGG;AACH,MAAa,gBAAiB,SAAQ,0BAAW;IAC/C,YAAY,aAA4B,EAAE,WAAwB;QAChE,KAAK,CAAC,WAAW,EAAE,aAAa,EAAE,WAAW,CAAC,CAAA;IAChD,CAAC;IAED,+CAA+C;IAC/C,uCAAuC;IACvC,+CAA+C;IAE/C;;;;OAIG;IACH,KAAK,CAAC,cAAc,CAAC,MAA6C;QAChE,OAAO,IAAI,CAAC,GAAG,CAAC,2BAA2B,EAAE,MAAM,CAAC,CAAA;IACtD,CAAC;IAED;;;;OAIG;IACH,KAAK,CAAC,mBAAmB,CAAC,MAAkD;QAC1E,OAAO,IAAI,CAAC,GAAG,CAAC,gCAAgC,EAAE,MAAM,CAAC,CAAA;IAC3D,CAAC;IAED;;;;OAIG;IACH,KAAK,CAAC,gBAAgB,CAAC,MAAyC;QAC9D,OAAO,IAAI,CAAC,GAAG,CAAC,sBAAsB,EAAE,MAAM,CAAC,CAAA;IACjD,CAAC;IAED;;;;OAIG;IACH,KAAK,CAAC,qBAAqB,CACzB,MAAiD;QAEjD,OAAO,IAAI,CAAC,GAAG,CAAC,iCAAiC,EAAE,MAAM,CAAC,CAAA;IAC5D,CAAC;IAED,+CAA+C;IAC/C,kDAAkD;IAClD,+CAA+C;IAE/C;;;;OAIG;IACH,KAAK,CAAC,eAAe,CAAC,MAA2C;QAC/D,OAAO,IAAI,CAAC,GAAG,CAAC,0BAA0B,EAAE,MAAM,CAAC,CAAA;IACrD,CAAC;IAED;;;;OAIG;IACH,KAAK,CAAC,cAAc,CAAC,MAAiC;QACpD,OAAO,IAAI,CAAC,GAAG,CAAC,eAAe,EAAE,MAAM,CAAC,CAAA;IAC1C,CAAC;CACF;AApED,4CAoEC"}
|
|
@@ -6,7 +6,7 @@ import { BaseService } from '../../core/base-service';
|
|
|
6
6
|
import { ConfigManager } from '../../core/config';
|
|
7
7
|
import { AuthManager } from '../../core/auth';
|
|
8
8
|
import { APIResponse } from '../../core/types';
|
|
9
|
-
import type { CommentAddCommentCreateParams, CommentDisplayUserCommentsRetrieveParams, CommentDisplayUserCommentsPublicRetrieveParams, CommentLikeDislikeCreateParams, CommentMainCommentDisplayRetrieveParams, CommentTwitterCommentsRetrieveParams, QuestionDisplayQuestionNestedStructureRetrieveParams, QuestionLikeDislikeCreateParams, QuestionMainQuestionDisplayRetrieveParams, AddQuestionRequest } from '../../generated/comment/models';
|
|
9
|
+
import type { CommentAddCommentCreateParams, CommentDisplayUserCommentsRetrieveParams, CommentDisplayUserCommentsPublicRetrieveParams, CommentLikeDislikeCreateParams, CommentMainCommentDisplayRetrieveParams, CommentTwitterCommentsRetrieveParams, QuestionDisplayQuestionNestedStructureRetrieveParams, QuestionLikeDislikeCreateParams, QuestionMainQuestionDisplayRetrieveParams, AddQuestionRequest, NestedCommentResponse, CommentResponse, UserComments, BaseQuestionResponse } from '../../generated/comment/models';
|
|
10
10
|
/**
|
|
11
11
|
* Comment Service class
|
|
12
12
|
* Provides methods for comment and question management
|
|
@@ -23,13 +23,13 @@ export declare class CommentService extends BaseService {
|
|
|
23
23
|
* Display comment nested structure
|
|
24
24
|
* @param commentId Comment ID
|
|
25
25
|
*/
|
|
26
|
-
getCommentNestedStructure(commentId: string): Promise<APIResponse<
|
|
26
|
+
getCommentNestedStructure(commentId: string): Promise<APIResponse<NestedCommentResponse>>;
|
|
27
27
|
/**
|
|
28
28
|
* Get main comments display
|
|
29
29
|
* @param contentId Content ID
|
|
30
30
|
* @param params Main comment display parameters
|
|
31
31
|
*/
|
|
32
|
-
getMainComments(contentId: number, params: CommentMainCommentDisplayRetrieveParams): Promise<APIResponse<
|
|
32
|
+
getMainComments(contentId: number, params: CommentMainCommentDisplayRetrieveParams): Promise<APIResponse<CommentResponse>>;
|
|
33
33
|
/**
|
|
34
34
|
* Get next cursor-based pagination for comments
|
|
35
35
|
* @param commentId Comment ID for pagination
|
|
@@ -44,12 +44,12 @@ export declare class CommentService extends BaseService {
|
|
|
44
44
|
* Get user comments
|
|
45
45
|
* @param params User comments parameters
|
|
46
46
|
*/
|
|
47
|
-
getUserComments(params: CommentDisplayUserCommentsRetrieveParams): Promise<APIResponse<
|
|
47
|
+
getUserComments(params: CommentDisplayUserCommentsRetrieveParams): Promise<APIResponse<UserComments[]>>;
|
|
48
48
|
/**
|
|
49
49
|
* Get public user comments
|
|
50
50
|
* @param params Public user comments parameters
|
|
51
51
|
*/
|
|
52
|
-
getPublicUserComments(params: CommentDisplayUserCommentsPublicRetrieveParams): Promise<APIResponse<
|
|
52
|
+
getPublicUserComments(params: CommentDisplayUserCommentsPublicRetrieveParams): Promise<APIResponse<UserComments[]>>;
|
|
53
53
|
/**
|
|
54
54
|
* Like or dislike a comment
|
|
55
55
|
* @param commentId Comment ID
|
|
@@ -72,12 +72,12 @@ export declare class CommentService extends BaseService {
|
|
|
72
72
|
* @param questionId Question ID
|
|
73
73
|
* @param params Question nested structure parameters
|
|
74
74
|
*/
|
|
75
|
-
getQuestionNestedStructure(questionId: string, params: QuestionDisplayQuestionNestedStructureRetrieveParams): Promise<APIResponse<
|
|
75
|
+
getQuestionNestedStructure(questionId: string, params: QuestionDisplayQuestionNestedStructureRetrieveParams): Promise<APIResponse<NestedCommentResponse>>;
|
|
76
76
|
/**
|
|
77
77
|
* Get main questions display
|
|
78
78
|
* @param params Main question display parameters
|
|
79
79
|
*/
|
|
80
|
-
getMainQuestions(params: QuestionMainQuestionDisplayRetrieveParams): Promise<APIResponse<
|
|
80
|
+
getMainQuestions(params: QuestionMainQuestionDisplayRetrieveParams): Promise<APIResponse<BaseQuestionResponse>>;
|
|
81
81
|
/**
|
|
82
82
|
* Add a video question
|
|
83
83
|
* @param videoContentId Video content ID
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/services/comment/index.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAEH,0DAAqD;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/services/comment/index.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAEH,0DAAqD;AAuBrD;;;GAGG;AACH,MAAa,cAAe,SAAQ,0BAAW;IAC7C,YAAY,aAA4B,EAAE,WAAwB;QAChE,KAAK,CAAC,SAAS,EAAE,aAAa,EAAE,WAAW,CAAC,CAAA;IAC9C,CAAC;IAED,+CAA+C;IAC/C,mCAAmC;IACnC,+CAA+C;IAE/C;;;;OAIG;IACH,KAAK,CAAC,UAAU,CAAC,MAAqC;QACpD,MAAM,WAAW,GAAG,IAAI,CAAC,gBAAgB,CAAC,MAAM,CAAC,CAAA;QACjD,MAAM,GAAG,GAAG,wBAAwB,WAAW,EAAE,CAAA;QACjD,OAAO,IAAI,CAAC,IA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AI,CAAC,GAAG,CAAC,+CAA+C,UAAU,IAAI,WAAW,EAAE,EAAE,SAAS,CAAC,CAAA;IACxG,CAAC;IAED;;;OAGG;IACH,KAAK,CAAC,gBAAgB,CACpB,MAAiD;QAEjD,MAAM,WAAW,GAAG,IAAI,CAAC,gBAAgB,CAAC,MAAM,CAAC,CAAA;QACjD,OAAO,IAAI,CAAC,GAAG,CAAC,mCAAmC,WAAW,EAAE,EAAE,SAAS,CAAC,CAAA;IAC9E,CAAC;IAED;;;;OAIG;IACH,KAAK,CAAC,gBAAgB,CAAC,cAAsB,EAAE,OAA2B;QACxE,OAAO,IAAI,CAAC,IAAI,CAAC,8BAA8B,cAAc,EAAE,EAAE,OAAO,CAAC,CAAA;IAC3E,CAAC;CACF;AAvKD,wCAuKC"}
|
|
@@ -5,7 +5,8 @@
|
|
|
5
5
|
import { BaseService } from '../../core/base-service';
|
|
6
6
|
import { ConfigManager } from '../../core/config';
|
|
7
7
|
import { AuthManager } from '../../core/auth';
|
|
8
|
-
import type {
|
|
8
|
+
import type { BookMarksResponse, HomeNews, NewsAddBookmarkRetrieveParams, NewsDetailRetrieveParams, NewsDetailSeralizer, NewsListResponseSerilizer, NewsListRetrieveParams, NewsRemoveBookmarkDestroyParams, NewsVideoContentListParams, UserBookmarks } from '../../generated/news/models';
|
|
9
|
+
import { APIResponse } from 'src';
|
|
9
10
|
/**
|
|
10
11
|
* News Service class
|
|
11
12
|
* Provides methods for news and articles management (public endpoints only)
|
|
@@ -18,41 +19,41 @@ export declare class NewsService extends BaseService {
|
|
|
18
19
|
* @param params Parameters including news_id
|
|
19
20
|
* @returns Promise with bookmark addition details
|
|
20
21
|
*/
|
|
21
|
-
addBookmark(params: NewsAddBookmarkRetrieveParams): Promise<UserBookmarks
|
|
22
|
+
addBookmark(params: NewsAddBookmarkRetrieveParams): Promise<APIResponse<UserBookmarks>>;
|
|
22
23
|
/**
|
|
23
24
|
* Get user's bookmarked news
|
|
24
25
|
* Requires authentication using an API key
|
|
25
26
|
* @returns Promise with bookmarked news list
|
|
26
27
|
*/
|
|
27
|
-
getBookmarksList(): Promise<
|
|
28
|
+
getBookmarksList(): Promise<APIResponse<BookMarksResponse>>;
|
|
28
29
|
/**
|
|
29
30
|
* Remove news from bookmark
|
|
30
31
|
* Requires authentication using an API key
|
|
31
32
|
* @param params Parameters including news_id
|
|
32
33
|
* @returns Promise with removal details
|
|
33
34
|
*/
|
|
34
|
-
removeBookmark(params: NewsRemoveBookmarkDestroyParams): Promise<
|
|
35
|
+
removeBookmark(params: NewsRemoveBookmarkDestroyParams): Promise<APIResponse<any>>;
|
|
35
36
|
/**
|
|
36
37
|
* Get 5 newest news for home page
|
|
37
38
|
* @returns Promise with newest news list
|
|
38
39
|
*/
|
|
39
|
-
getBaseHome(): Promise<HomeNews
|
|
40
|
+
getBaseHome(): Promise<APIResponse<HomeNews>>;
|
|
40
41
|
/**
|
|
41
42
|
* Get news detail by ID
|
|
42
43
|
* @param params Parameters including news_id and optional with_elastic flag
|
|
43
44
|
* @returns Promise with news details
|
|
44
45
|
*/
|
|
45
|
-
getNewsDetail(params: NewsDetailRetrieveParams): Promise<NewsDetailSeralizer
|
|
46
|
+
getNewsDetail(params: NewsDetailRetrieveParams): Promise<APIResponse<NewsDetailSeralizer>>;
|
|
46
47
|
/**
|
|
47
48
|
* Get list of news with pagination and filtering
|
|
48
49
|
* @param params Optional parameters for pagination, category, and elastic search
|
|
49
50
|
* @returns Promise with news list
|
|
50
51
|
*/
|
|
51
|
-
getNewsList(params?: NewsListRetrieveParams): Promise<
|
|
52
|
+
getNewsList(params?: NewsListRetrieveParams): Promise<APIResponse<NewsListResponseSerilizer>>;
|
|
52
53
|
/**
|
|
53
54
|
* Get news for specific video content
|
|
54
55
|
* @param params Parameters including video_content_id
|
|
55
56
|
* @returns Promise with news list for video content
|
|
56
57
|
*/
|
|
57
|
-
getVideoContentNews(params: NewsVideoContentListParams): Promise<
|
|
58
|
+
getVideoContentNews(params: NewsVideoContentListParams): Promise<APIResponse<NewsListResponseSerilizer>>;
|
|
58
59
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/services/news/index.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAEH,0DAAqD;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/services/news/index.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAEH,0DAAqD;AAkBrD;;;GAGG;AACH,MAAa,WAAY,SAAQ,0BAAW;IAC1C,YAAY,aAA4B,EAAE,WAAwB;QAChE,KAAK,CAAC,MAAM,EAAE,aAAa,EAAE,WAAW,CAAC,CAAA;IAC3C,CAAC;IAED,gDAAgD;IAChD,sBAAsB;IACtB,gDAAgD;IAEhD;;;;;OAKG;IACH,KAAK,CAAC,WAAW,CAAC,MAAqC;QACrD,OAAO,IAAI,CAAC,GAAG,CAAC,oBAAoB,EAAE,MAAM,CAAC,CAAA;IAC/C,CAAC;IAED;;;;OAIG;IACH,KAAK,CAAC,gBAAgB;QACpB,OAAO,IAAI,CAAC,GAAG,CAAC,sBAAsB,EAAE,SAAS,CAAC,CAAA;IACpD,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,cAAc,CAAC,MAAuC;QAC1D,MAAM,WAAW,GAAG,IAAI,CAAC,gBAAgB,CAAC,MAAM,CAAC,CAAA;QACjD,OAAO,IAAI,CAAC,MAAM,CAAC,yBAAyB,WAAW,EAAE,CAAC,CAAA;IAC5D,CAAC;IAED,gDAAgD;IAChD,iCAAiC;IACjC,gDAAgD;IAEhD;;;OAGG;IACH,KAAK,CAAC,WAAW;QACf,OAAO,IAAI,CAAC,GAAG,CAAC,iBAAiB,EAAE,SAAS,CAAC,CAAA;IAC/C,CAAC;IAED;;;;OAIG;IACH,KAAK,CAAC,aAAa,CAAC,MAAgC;QAClD,OAAO,IAAI,CAAC,GAAG,CAAC,cAAc,EAAE,MAAM,CAAC,CAAA;IACzC,CAAC;IAED;;;;OAIG;IACH,KAAK,CAAC,WAAW,CAAC,MAA+B;QAC/C,OAAO,IAAI,CAAC,GAAG,CAAC,YAAY,EAAE,MAAM,CAAC,CAAA;IACvC,CAAC;IAED,gDAAgD;IAChD,sCAAsC;IACtC,gDAAgD;IAChD;;;;OAIG;IACH,KAAK,CAAC,mBAAmB,CAAC,MAAkC;QAC1D,OAAO,IAAI,CAAC,GAAG,CAAC,qBAAqB,EAAE,MAAM,CAAC,CAAA;IAChD,CAAC;CACF;AAhFD,kCAgFC"}
|
|
@@ -6,7 +6,7 @@ import { BaseService } from '../../core/base-service';
|
|
|
6
6
|
import { ConfigManager } from '../../core/config';
|
|
7
7
|
import { AuthManager } from '../../core/auth';
|
|
8
8
|
import { APIResponse } from '../../core/types';
|
|
9
|
-
import type { GetUserNotifNotificationUserReceivedGetParams, AllNotifToReadNotificationUserMarkAllAsReadGetParams, NotifToReadNotificationUserMarkAsReadGetParams, GetRecivedNotifNotificationVideoContentReceivedGetParams } from '../../generated/notification/models';
|
|
9
|
+
import type { GetUserNotifNotificationUserReceivedGetParams, AllNotifToReadNotificationUserMarkAllAsReadGetParams, NotifToReadNotificationUserMarkAsReadGetParams, GetRecivedNotifNotificationVideoContentReceivedGetParams, SuccessResponseVideoContentNotifsData, SuccessResponseUserNotificationsData } from '../../generated/notification/models';
|
|
10
10
|
/**
|
|
11
11
|
* Notification Service class
|
|
12
12
|
* Provides methods for user notification management
|
|
@@ -19,26 +19,26 @@ export declare class NotificationService extends BaseService {
|
|
|
19
19
|
* @param params Parameters including video_content_id
|
|
20
20
|
* @returns Promise with video content notifications
|
|
21
21
|
*/
|
|
22
|
-
getVideoContentNotifications(params?: GetRecivedNotifNotificationVideoContentReceivedGetParams): Promise<APIResponse<
|
|
22
|
+
getVideoContentNotifications(params?: GetRecivedNotifNotificationVideoContentReceivedGetParams): Promise<APIResponse<SuccessResponseVideoContentNotifsData>>;
|
|
23
23
|
/**
|
|
24
24
|
* Get user notifications
|
|
25
25
|
* Shows user's received notifications with optional filtering
|
|
26
26
|
* @param params Optional parameters to filter notifications (unread only)
|
|
27
27
|
* @returns Promise with user notifications
|
|
28
28
|
*/
|
|
29
|
-
getUserNotifications(params?: GetUserNotifNotificationUserReceivedGetParams): Promise<APIResponse<
|
|
29
|
+
getUserNotifications(params?: GetUserNotifNotificationUserReceivedGetParams): Promise<APIResponse<SuccessResponseUserNotificationsData>>;
|
|
30
30
|
/**
|
|
31
31
|
* Mark all notifications as read
|
|
32
32
|
* Marks all user notifications as read
|
|
33
33
|
* @param params Optional parameters (all_notif_to_read flag)
|
|
34
34
|
* @returns Promise with operation result
|
|
35
35
|
*/
|
|
36
|
-
markAllNotificationsAsRead(params?: AllNotifToReadNotificationUserMarkAllAsReadGetParams): Promise<APIResponse<
|
|
36
|
+
markAllNotificationsAsRead(params?: AllNotifToReadNotificationUserMarkAllAsReadGetParams): Promise<APIResponse<any>>;
|
|
37
37
|
/**
|
|
38
38
|
* Mark specific notification as read
|
|
39
39
|
* Marks a specific notification as read for the user
|
|
40
40
|
* @param params Parameters including user_notif_id and read flags
|
|
41
41
|
* @returns Promise with operation result
|
|
42
42
|
*/
|
|
43
|
-
markNotificationAsRead(params?: NotifToReadNotificationUserMarkAsReadGetParams): Promise<APIResponse<
|
|
43
|
+
markNotificationAsRead(params?: NotifToReadNotificationUserMarkAsReadGetParams): Promise<APIResponse<any>>;
|
|
44
44
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/services/notification/index.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAEH,0DAAqD;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/services/notification/index.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAEH,0DAAqD;AAiBrD;;;GAGG;AACH,MAAa,mBAAoB,SAAQ,0BAAW;IAClD,YAAY,aAA4B,EAAE,WAAwB;QAChE,KAAK,CAAC,cAAc,EAAE,aAAa,EAAE,WAAW,CAAC,CAAA;IACnD,CAAC;IAED,+CAA+C;IAC/C,yDAAyD;IACzD,+CAA+C;IAE/C;;;;;OAKG;IACH,KAAK,CAAC,4BAA4B,CAChC,MAAiE;QAEjE,MAAM,GAAG,GAAG,sCAAsC,CAAA;QAClD,OAAO,IAAI,CAAC,GAAG,CAAC,GAAG,EAAE,MAAM,CAAC,CAAA;IAC9B,CAAC;IAED,+CAA+C;IAC/C,gCAAgC;IAChC,+CAA+C;IAE/C;;;;;OAKG;IACH,KAAK,CAAC,oBAAoB,CACxB,MAAsD;QAEtD,MAAM,GAAG,GAAG,6BAA6B,CAAA;QACzC,OAAO,IAAI,CAAC,GAAG,CAAC,GAAG,EAAE,MAAM,CAAC,CAAA;IAC9B,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,0BAA0B,CAC9B,MAA6D;QAE7D,MAAM,GAAG,GAAG,qCAAqC,CAAA;QACjD,OAAO,IAAI,CAAC,GAAG,CAAC,GAAG,EAAE,MAAM,CAAC,CAAA;IAC9B,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,sBAAsB,CAAC,MAAuD;QAClF,MAAM,GAAG,GAAG,iCAAiC,CAAA;QAC7C,OAAO,IAAI,CAAC,GAAG,CAAC,GAAG,EAAE,MAAM,CAAC,CAAA;IAC9B,CAAC;CACF;AA9DD,kDA8DC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/services/operator/index.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAEH,0DAAqD;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/services/operator/index.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAEH,0DAAqD;AA4BrD;;;GAGG;AACH,MAAa,eAAgB,SAAQ,0BAAW;IAC9C,YAAY,aAA4B,EAAE,WAAwB;QAChE,KAAK,CAAC,UAAU,EAAE,aAAa,EAAE,WAAW,CAAC,CAAA;IAC/C,CAAC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AAA;IAC1D,CAAC;IAED;;;;OAIG;IACH,KAAK,CAAC,8BAA8B,CAClC,OAAe,EACf,IAAsC;QAEtC,OAAO,IAAI,CAAC,IAAI,CAAC,uCAAuC,OAAO,EAAE,EAAE,IAAI,CAAC,CAAA;IAC1E,CAAC;IAED;;;;OAIG;IACH,KAAK,CAAC,8BAA8B,CAClC,OAAe,EACf,IAAsC;QAEtC,OAAO,IAAI,CAAC,IAAI,CAAC,uCAAuC,OAAO,EAAE,EAAE,IAAI,CAAC,CAAA;IAC1E,CAAC;IAED;;;OAGG;IACH,KAAK,CAAC,oBAAoB,CAAC,MAAc;QACvC,OAAO,IAAI,CAAC,GAAG,CAAC,2BAA2B,MAAM,EAAE,CAAC,CAAA;IACtD,CAAC;IAED;;;OAGG;IACH,KAAK,CAAC,qBAAqB,CAAC,MAAc;QACxC,OAAO,IAAI,CAAC,GAAG,CAAC,4BAA4B,MAAM,EAAE,CAAC,CAAA;IACvD,CAAC;IAED;;;OAGG;IACH,KAAK,CAAC,mBAAmB,CAAC,MAAc;QACtC,OAAO,IAAI,CAAC,IAAI,CAAC,0BAA0B,MAAM,EAAE,CAAC,CAAA;IACtD,CAAC;IAED,+CAA+C;IAC/C,oCAAoC;IACpC,+CAA+C;IAE/C;;;OAGG;IACH,KAAK,CAAC,sBAAsB,CAAC,QAAgB;QAC3C,OAAO,IAAI,CAAC,GAAG,CAAC,8BAA8B,QAAQ,EAAE,CAAC,CAAA;IAC3D,CAAC;CACF;AA7SD,0CA6SC"}
|
|
@@ -6,6 +6,7 @@ import { BaseService } from '../../core/base-service';
|
|
|
6
6
|
import { ConfigManager } from '../../core/config';
|
|
7
7
|
import { AuthManager } from '../../core/auth';
|
|
8
8
|
import { APIResponse } from '../../core/types';
|
|
9
|
+
import { SeasonsEpisodesResponseSerializer } from 'src/generated/stream/models';
|
|
9
10
|
/**
|
|
10
11
|
* Interface for stream link generation parameters
|
|
11
12
|
*/
|
|
@@ -98,7 +99,7 @@ export declare class StreamService extends BaseService {
|
|
|
98
99
|
* Get stream seasons and episodes
|
|
99
100
|
* @param videoContentId Video content ID
|
|
100
101
|
*/
|
|
101
|
-
getStreamSeasonsEpisodes(videoContentId: number): Promise<APIResponse<
|
|
102
|
+
getStreamSeasonsEpisodes(videoContentId: number): Promise<APIResponse<SeasonsEpisodesResponseSerializer>>;
|
|
102
103
|
/**
|
|
103
104
|
* Get stream seasons number
|
|
104
105
|
* @param videoContentId Video content ID
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/services/stream/index.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAEH,0DAAqD;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/services/stream/index.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAEH,0DAAqD;AAqErD;;;GAGG;AACH,MAAa,aAAc,SAAQ,0BAAW;IAC5C,YAAY,aAA4B,EAAE,WAAwB;QAChE,KAAK,CAAC,QAAQ,EAAE,aAAa,EAAE,WAAW,CAAC,CAAA;IAC7C,CAAC;IAED,+CAA+C;IAC/C,2BAA2B;IAC3B,+CAA+C;IAE/C;;;OAGG;IACH,KAAK,CAAC,kBAAkB,CAAC,MAAwB;QAC/C,MAAM,WAAW,GAAG,IAAI,CAAC,gBAAgB,CAAC,MAAM,CAAC,CAAA;QACjD,MAAM,GAAG,GAAG,yBAAyB,WAAW,EAAE,CAAA;QAElD,OAAO,IAAI,CAAC,GAAG,CAAC,GAAG,EAAE,SAAS,CAAC,CAAA;IACjC,CAAC;IAED;;;OAGG;IACH,KAAK,CAAC,aAAa,CAAC,OAAsB;QACxC,OAAO,IAAI,CAAC,IAAI,CAAC,kBAAkB,EAAE,OAAO,CAAC,CAAA;IAC/C,CAAC;IAED;;;OAGG;IACH,KAAK,CAAC,eAAe,CAAC,MAIrB;QACC,MAAM,WAAW,GAAG,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC,MAAM,C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