@ject-4-vs-team/api-client 2026.527.6 → 2026.529.2
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/default-api.d.ts +42 -12
- package/dist/api/default-api.js +77 -15
- package/dist/models/home-vote-list-response.d.ts +1 -1
- package/dist/models/index.d.ts +1 -0
- package/dist/models/index.js +1 -0
- package/dist/models/user-image-response.d.ts +21 -0
- package/dist/models/user-image-response.js +22 -0
- package/package.json +1 -1
|
@@ -36,6 +36,7 @@ import type { UnreadCountResponse } from '../models';
|
|
|
36
36
|
import type { UpdateNotificationSettingRequest } from '../models';
|
|
37
37
|
import type { UserDeleteReq } from '../models';
|
|
38
38
|
import type { UserExtraInfo } from '../models';
|
|
39
|
+
import type { UserImageResponse } from '../models';
|
|
39
40
|
import type { UserModifyInfoRequest } from '../models';
|
|
40
41
|
import type { UserNicknameRec } from '../models';
|
|
41
42
|
import type { UserProfileDefaultResponse } from '../models';
|
|
@@ -111,6 +112,12 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
111
112
|
* @throws {RequiredError}
|
|
112
113
|
*/
|
|
113
114
|
getHotTopics: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
115
|
+
/**
|
|
116
|
+
*
|
|
117
|
+
* @param {*} [options] Override http request option.
|
|
118
|
+
* @throws {RequiredError}
|
|
119
|
+
*/
|
|
120
|
+
getImageColor: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
114
121
|
/**
|
|
115
122
|
* 알림 목록을 조회합니다. 커서 기반 페이지네이션을 지원합니다.
|
|
116
123
|
* @summary 알림 목록 조회
|
|
@@ -181,15 +188,16 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
181
188
|
*/
|
|
182
189
|
getUnreadCount: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
183
190
|
/**
|
|
184
|
-
* 전체 투표 목록을 조회합니다. 커서 기반 페이지네이션을 지원합니다.
|
|
191
|
+
* 전체 투표 목록을 조회합니다. 커서 기반 페이지네이션을 지원합니다. 종료된 투표 제외 필터를 지원합니다.
|
|
185
192
|
* @summary 전체 투표 목록 조회
|
|
186
|
-
* @param {
|
|
193
|
+
* @param {string} [cursor] 다음 페이지 조회를 위한 커서 (이전 응답의 nextCursor). 복합 커서 사용 (예: LATEST=ID, ENDING_SOON=endAtMillis:id, POPULAR=viewCount:id)
|
|
187
194
|
* @param {number} [size] 페이지 크기
|
|
188
195
|
* @param {GetVoteListSortEnum} [sort] 정렬 기준: LATEST(최신순), POPULAR(인기순), ENDING_SOON(종료임박순)
|
|
196
|
+
* @param {boolean} [excludeEnded] 종료된 투표 제외 여부 (true 시 진행 중인 투표만 반환)
|
|
189
197
|
* @param {*} [options] Override http request option.
|
|
190
198
|
* @throws {RequiredError}
|
|
191
199
|
*/
|
|
192
|
-
getVoteList: (cursor?:
|
|
200
|
+
getVoteList: (cursor?: string, size?: number, sort?: GetVoteListSortEnum, excludeEnded?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
193
201
|
/**
|
|
194
202
|
*
|
|
195
203
|
* @param {GetVoteListEndParticipatedTypeEnum} type
|
|
@@ -411,6 +419,12 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
411
419
|
* @throws {RequiredError}
|
|
412
420
|
*/
|
|
413
421
|
getHotTopics(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HomeHotTopicResponse>>;
|
|
422
|
+
/**
|
|
423
|
+
*
|
|
424
|
+
* @param {*} [options] Override http request option.
|
|
425
|
+
* @throws {RequiredError}
|
|
426
|
+
*/
|
|
427
|
+
getImageColor(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserImageResponse>>;
|
|
414
428
|
/**
|
|
415
429
|
* 알림 목록을 조회합니다. 커서 기반 페이지네이션을 지원합니다.
|
|
416
430
|
* @summary 알림 목록 조회
|
|
@@ -481,15 +495,16 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
481
495
|
*/
|
|
482
496
|
getUnreadCount(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UnreadCountResponse>>;
|
|
483
497
|
/**
|
|
484
|
-
* 전체 투표 목록을 조회합니다. 커서 기반 페이지네이션을 지원합니다.
|
|
498
|
+
* 전체 투표 목록을 조회합니다. 커서 기반 페이지네이션을 지원합니다. 종료된 투표 제외 필터를 지원합니다.
|
|
485
499
|
* @summary 전체 투표 목록 조회
|
|
486
|
-
* @param {
|
|
500
|
+
* @param {string} [cursor] 다음 페이지 조회를 위한 커서 (이전 응답의 nextCursor). 복합 커서 사용 (예: LATEST=ID, ENDING_SOON=endAtMillis:id, POPULAR=viewCount:id)
|
|
487
501
|
* @param {number} [size] 페이지 크기
|
|
488
502
|
* @param {GetVoteListSortEnum} [sort] 정렬 기준: LATEST(최신순), POPULAR(인기순), ENDING_SOON(종료임박순)
|
|
503
|
+
* @param {boolean} [excludeEnded] 종료된 투표 제외 여부 (true 시 진행 중인 투표만 반환)
|
|
489
504
|
* @param {*} [options] Override http request option.
|
|
490
505
|
* @throws {RequiredError}
|
|
491
506
|
*/
|
|
492
|
-
getVoteList(cursor?:
|
|
507
|
+
getVoteList(cursor?: string, size?: number, sort?: GetVoteListSortEnum, excludeEnded?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HomeVoteListResponse>>;
|
|
493
508
|
/**
|
|
494
509
|
*
|
|
495
510
|
* @param {GetVoteListEndParticipatedTypeEnum} type
|
|
@@ -711,6 +726,12 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
711
726
|
* @throws {RequiredError}
|
|
712
727
|
*/
|
|
713
728
|
getHotTopics(options?: RawAxiosRequestConfig): AxiosPromise<HomeHotTopicResponse>;
|
|
729
|
+
/**
|
|
730
|
+
*
|
|
731
|
+
* @param {*} [options] Override http request option.
|
|
732
|
+
* @throws {RequiredError}
|
|
733
|
+
*/
|
|
734
|
+
getImageColor(options?: RawAxiosRequestConfig): AxiosPromise<UserImageResponse>;
|
|
714
735
|
/**
|
|
715
736
|
* 알림 목록을 조회합니다. 커서 기반 페이지네이션을 지원합니다.
|
|
716
737
|
* @summary 알림 목록 조회
|
|
@@ -781,15 +802,16 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
781
802
|
*/
|
|
782
803
|
getUnreadCount(options?: RawAxiosRequestConfig): AxiosPromise<UnreadCountResponse>;
|
|
783
804
|
/**
|
|
784
|
-
* 전체 투표 목록을 조회합니다. 커서 기반 페이지네이션을 지원합니다.
|
|
805
|
+
* 전체 투표 목록을 조회합니다. 커서 기반 페이지네이션을 지원합니다. 종료된 투표 제외 필터를 지원합니다.
|
|
785
806
|
* @summary 전체 투표 목록 조회
|
|
786
|
-
* @param {
|
|
807
|
+
* @param {string} [cursor] 다음 페이지 조회를 위한 커서 (이전 응답의 nextCursor). 복합 커서 사용 (예: LATEST=ID, ENDING_SOON=endAtMillis:id, POPULAR=viewCount:id)
|
|
787
808
|
* @param {number} [size] 페이지 크기
|
|
788
809
|
* @param {GetVoteListSortEnum} [sort] 정렬 기준: LATEST(최신순), POPULAR(인기순), ENDING_SOON(종료임박순)
|
|
810
|
+
* @param {boolean} [excludeEnded] 종료된 투표 제외 여부 (true 시 진행 중인 투표만 반환)
|
|
789
811
|
* @param {*} [options] Override http request option.
|
|
790
812
|
* @throws {RequiredError}
|
|
791
813
|
*/
|
|
792
|
-
getVoteList(cursor?:
|
|
814
|
+
getVoteList(cursor?: string, size?: number, sort?: GetVoteListSortEnum, excludeEnded?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<HomeVoteListResponse>;
|
|
793
815
|
/**
|
|
794
816
|
*
|
|
795
817
|
* @param {GetVoteListEndParticipatedTypeEnum} type
|
|
@@ -1021,6 +1043,13 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
1021
1043
|
* @memberof DefaultApi
|
|
1022
1044
|
*/
|
|
1023
1045
|
getHotTopics(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<HomeHotTopicResponse, any, {}>>;
|
|
1046
|
+
/**
|
|
1047
|
+
*
|
|
1048
|
+
* @param {*} [options] Override http request option.
|
|
1049
|
+
* @throws {RequiredError}
|
|
1050
|
+
* @memberof DefaultApi
|
|
1051
|
+
*/
|
|
1052
|
+
getImageColor(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UserImageResponse, any, {}>>;
|
|
1024
1053
|
/**
|
|
1025
1054
|
* 알림 목록을 조회합니다. 커서 기반 페이지네이션을 지원합니다.
|
|
1026
1055
|
* @summary 알림 목록 조회
|
|
@@ -1100,16 +1129,17 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
1100
1129
|
*/
|
|
1101
1130
|
getUnreadCount(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UnreadCountResponse, any, {}>>;
|
|
1102
1131
|
/**
|
|
1103
|
-
* 전체 투표 목록을 조회합니다. 커서 기반 페이지네이션을 지원합니다.
|
|
1132
|
+
* 전체 투표 목록을 조회합니다. 커서 기반 페이지네이션을 지원합니다. 종료된 투표 제외 필터를 지원합니다.
|
|
1104
1133
|
* @summary 전체 투표 목록 조회
|
|
1105
|
-
* @param {
|
|
1134
|
+
* @param {string} [cursor] 다음 페이지 조회를 위한 커서 (이전 응답의 nextCursor). 복합 커서 사용 (예: LATEST=ID, ENDING_SOON=endAtMillis:id, POPULAR=viewCount:id)
|
|
1106
1135
|
* @param {number} [size] 페이지 크기
|
|
1107
1136
|
* @param {GetVoteListSortEnum} [sort] 정렬 기준: LATEST(최신순), POPULAR(인기순), ENDING_SOON(종료임박순)
|
|
1137
|
+
* @param {boolean} [excludeEnded] 종료된 투표 제외 여부 (true 시 진행 중인 투표만 반환)
|
|
1108
1138
|
* @param {*} [options] Override http request option.
|
|
1109
1139
|
* @throws {RequiredError}
|
|
1110
1140
|
* @memberof DefaultApi
|
|
1111
1141
|
*/
|
|
1112
|
-
getVoteList(cursor?:
|
|
1142
|
+
getVoteList(cursor?: string, size?: number, sort?: GetVoteListSortEnum, excludeEnded?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<HomeVoteListResponse, any, {}>>;
|
|
1113
1143
|
/**
|
|
1114
1144
|
*
|
|
1115
1145
|
* @param {GetVoteListEndParticipatedTypeEnum} type
|
package/dist/api/default-api.js
CHANGED
|
@@ -278,6 +278,33 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
278
278
|
options: localVarRequestOptions,
|
|
279
279
|
};
|
|
280
280
|
},
|
|
281
|
+
/**
|
|
282
|
+
*
|
|
283
|
+
* @param {*} [options] Override http request option.
|
|
284
|
+
* @throws {RequiredError}
|
|
285
|
+
*/
|
|
286
|
+
getImageColor: async (options = {}) => {
|
|
287
|
+
const localVarPath = `/api/users/imagecolor/suggest`;
|
|
288
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
289
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
290
|
+
let baseOptions;
|
|
291
|
+
if (configuration) {
|
|
292
|
+
baseOptions = configuration.baseOptions;
|
|
293
|
+
}
|
|
294
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
295
|
+
const localVarHeaderParameter = {};
|
|
296
|
+
const localVarQueryParameter = {};
|
|
297
|
+
// authentication bearerAuth required
|
|
298
|
+
// http bearer authentication required
|
|
299
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
300
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
301
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
302
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
303
|
+
return {
|
|
304
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
305
|
+
options: localVarRequestOptions,
|
|
306
|
+
};
|
|
307
|
+
},
|
|
281
308
|
/**
|
|
282
309
|
* 알림 목록을 조회합니다. 커서 기반 페이지네이션을 지원합니다.
|
|
283
310
|
* @summary 알림 목록 조회
|
|
@@ -555,15 +582,16 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
555
582
|
};
|
|
556
583
|
},
|
|
557
584
|
/**
|
|
558
|
-
* 전체 투표 목록을 조회합니다. 커서 기반 페이지네이션을 지원합니다.
|
|
585
|
+
* 전체 투표 목록을 조회합니다. 커서 기반 페이지네이션을 지원합니다. 종료된 투표 제외 필터를 지원합니다.
|
|
559
586
|
* @summary 전체 투표 목록 조회
|
|
560
|
-
* @param {
|
|
587
|
+
* @param {string} [cursor] 다음 페이지 조회를 위한 커서 (이전 응답의 nextCursor). 복합 커서 사용 (예: LATEST=ID, ENDING_SOON=endAtMillis:id, POPULAR=viewCount:id)
|
|
561
588
|
* @param {number} [size] 페이지 크기
|
|
562
589
|
* @param {GetVoteListSortEnum} [sort] 정렬 기준: LATEST(최신순), POPULAR(인기순), ENDING_SOON(종료임박순)
|
|
590
|
+
* @param {boolean} [excludeEnded] 종료된 투표 제외 여부 (true 시 진행 중인 투표만 반환)
|
|
563
591
|
* @param {*} [options] Override http request option.
|
|
564
592
|
* @throws {RequiredError}
|
|
565
593
|
*/
|
|
566
|
-
getVoteList: async (cursor, size, sort, options = {}) => {
|
|
594
|
+
getVoteList: async (cursor, size, sort, excludeEnded, options = {}) => {
|
|
567
595
|
const localVarPath = `/api/home/votes`;
|
|
568
596
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
569
597
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -586,6 +614,9 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
586
614
|
if (sort !== undefined) {
|
|
587
615
|
localVarQueryParameter['sort'] = sort;
|
|
588
616
|
}
|
|
617
|
+
if (excludeEnded !== undefined) {
|
|
618
|
+
localVarQueryParameter['excludeEnded'] = excludeEnded;
|
|
619
|
+
}
|
|
589
620
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
590
621
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
591
622
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -1348,6 +1379,17 @@ const DefaultApiFp = function (configuration) {
|
|
|
1348
1379
|
const localVarOperationServerBasePath = base_1.operationServerMap['DefaultApi.getHotTopics']?.[localVarOperationServerIndex]?.url;
|
|
1349
1380
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1350
1381
|
},
|
|
1382
|
+
/**
|
|
1383
|
+
*
|
|
1384
|
+
* @param {*} [options] Override http request option.
|
|
1385
|
+
* @throws {RequiredError}
|
|
1386
|
+
*/
|
|
1387
|
+
async getImageColor(options) {
|
|
1388
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getImageColor(options);
|
|
1389
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1390
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['DefaultApi.getImageColor']?.[localVarOperationServerIndex]?.url;
|
|
1391
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1392
|
+
},
|
|
1351
1393
|
/**
|
|
1352
1394
|
* 알림 목록을 조회합니다. 커서 기반 페이지네이션을 지원합니다.
|
|
1353
1395
|
* @summary 알림 목록 조회
|
|
@@ -1463,16 +1505,17 @@ const DefaultApiFp = function (configuration) {
|
|
|
1463
1505
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1464
1506
|
},
|
|
1465
1507
|
/**
|
|
1466
|
-
* 전체 투표 목록을 조회합니다. 커서 기반 페이지네이션을 지원합니다.
|
|
1508
|
+
* 전체 투표 목록을 조회합니다. 커서 기반 페이지네이션을 지원합니다. 종료된 투표 제외 필터를 지원합니다.
|
|
1467
1509
|
* @summary 전체 투표 목록 조회
|
|
1468
|
-
* @param {
|
|
1510
|
+
* @param {string} [cursor] 다음 페이지 조회를 위한 커서 (이전 응답의 nextCursor). 복합 커서 사용 (예: LATEST=ID, ENDING_SOON=endAtMillis:id, POPULAR=viewCount:id)
|
|
1469
1511
|
* @param {number} [size] 페이지 크기
|
|
1470
1512
|
* @param {GetVoteListSortEnum} [sort] 정렬 기준: LATEST(최신순), POPULAR(인기순), ENDING_SOON(종료임박순)
|
|
1513
|
+
* @param {boolean} [excludeEnded] 종료된 투표 제외 여부 (true 시 진행 중인 투표만 반환)
|
|
1471
1514
|
* @param {*} [options] Override http request option.
|
|
1472
1515
|
* @throws {RequiredError}
|
|
1473
1516
|
*/
|
|
1474
|
-
async getVoteList(cursor, size, sort, options) {
|
|
1475
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getVoteList(cursor, size, sort, options);
|
|
1517
|
+
async getVoteList(cursor, size, sort, excludeEnded, options) {
|
|
1518
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getVoteList(cursor, size, sort, excludeEnded, options);
|
|
1476
1519
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1477
1520
|
const localVarOperationServerBasePath = base_1.operationServerMap['DefaultApi.getVoteList']?.[localVarOperationServerIndex]?.url;
|
|
1478
1521
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -1818,6 +1861,14 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
1818
1861
|
getHotTopics(options) {
|
|
1819
1862
|
return localVarFp.getHotTopics(options).then((request) => request(axios, basePath));
|
|
1820
1863
|
},
|
|
1864
|
+
/**
|
|
1865
|
+
*
|
|
1866
|
+
* @param {*} [options] Override http request option.
|
|
1867
|
+
* @throws {RequiredError}
|
|
1868
|
+
*/
|
|
1869
|
+
getImageColor(options) {
|
|
1870
|
+
return localVarFp.getImageColor(options).then((request) => request(axios, basePath));
|
|
1871
|
+
},
|
|
1821
1872
|
/**
|
|
1822
1873
|
* 알림 목록을 조회합니다. 커서 기반 페이지네이션을 지원합니다.
|
|
1823
1874
|
* @summary 알림 목록 조회
|
|
@@ -1906,16 +1957,17 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
1906
1957
|
return localVarFp.getUnreadCount(options).then((request) => request(axios, basePath));
|
|
1907
1958
|
},
|
|
1908
1959
|
/**
|
|
1909
|
-
* 전체 투표 목록을 조회합니다. 커서 기반 페이지네이션을 지원합니다.
|
|
1960
|
+
* 전체 투표 목록을 조회합니다. 커서 기반 페이지네이션을 지원합니다. 종료된 투표 제외 필터를 지원합니다.
|
|
1910
1961
|
* @summary 전체 투표 목록 조회
|
|
1911
|
-
* @param {
|
|
1962
|
+
* @param {string} [cursor] 다음 페이지 조회를 위한 커서 (이전 응답의 nextCursor). 복합 커서 사용 (예: LATEST=ID, ENDING_SOON=endAtMillis:id, POPULAR=viewCount:id)
|
|
1912
1963
|
* @param {number} [size] 페이지 크기
|
|
1913
1964
|
* @param {GetVoteListSortEnum} [sort] 정렬 기준: LATEST(최신순), POPULAR(인기순), ENDING_SOON(종료임박순)
|
|
1965
|
+
* @param {boolean} [excludeEnded] 종료된 투표 제외 여부 (true 시 진행 중인 투표만 반환)
|
|
1914
1966
|
* @param {*} [options] Override http request option.
|
|
1915
1967
|
* @throws {RequiredError}
|
|
1916
1968
|
*/
|
|
1917
|
-
getVoteList(cursor, size, sort, options) {
|
|
1918
|
-
return localVarFp.getVoteList(cursor, size, sort, options).then((request) => request(axios, basePath));
|
|
1969
|
+
getVoteList(cursor, size, sort, excludeEnded, options) {
|
|
1970
|
+
return localVarFp.getVoteList(cursor, size, sort, excludeEnded, options).then((request) => request(axios, basePath));
|
|
1919
1971
|
},
|
|
1920
1972
|
/**
|
|
1921
1973
|
*
|
|
@@ -2206,6 +2258,15 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
2206
2258
|
getHotTopics(options) {
|
|
2207
2259
|
return (0, exports.DefaultApiFp)(this.configuration).getHotTopics(options).then((request) => request(this.axios, this.basePath));
|
|
2208
2260
|
}
|
|
2261
|
+
/**
|
|
2262
|
+
*
|
|
2263
|
+
* @param {*} [options] Override http request option.
|
|
2264
|
+
* @throws {RequiredError}
|
|
2265
|
+
* @memberof DefaultApi
|
|
2266
|
+
*/
|
|
2267
|
+
getImageColor(options) {
|
|
2268
|
+
return (0, exports.DefaultApiFp)(this.configuration).getImageColor(options).then((request) => request(this.axios, this.basePath));
|
|
2269
|
+
}
|
|
2209
2270
|
/**
|
|
2210
2271
|
* 알림 목록을 조회합니다. 커서 기반 페이지네이션을 지원합니다.
|
|
2211
2272
|
* @summary 알림 목록 조회
|
|
@@ -2303,17 +2364,18 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
2303
2364
|
return (0, exports.DefaultApiFp)(this.configuration).getUnreadCount(options).then((request) => request(this.axios, this.basePath));
|
|
2304
2365
|
}
|
|
2305
2366
|
/**
|
|
2306
|
-
* 전체 투표 목록을 조회합니다. 커서 기반 페이지네이션을 지원합니다.
|
|
2367
|
+
* 전체 투표 목록을 조회합니다. 커서 기반 페이지네이션을 지원합니다. 종료된 투표 제외 필터를 지원합니다.
|
|
2307
2368
|
* @summary 전체 투표 목록 조회
|
|
2308
|
-
* @param {
|
|
2369
|
+
* @param {string} [cursor] 다음 페이지 조회를 위한 커서 (이전 응답의 nextCursor). 복합 커서 사용 (예: LATEST=ID, ENDING_SOON=endAtMillis:id, POPULAR=viewCount:id)
|
|
2309
2370
|
* @param {number} [size] 페이지 크기
|
|
2310
2371
|
* @param {GetVoteListSortEnum} [sort] 정렬 기준: LATEST(최신순), POPULAR(인기순), ENDING_SOON(종료임박순)
|
|
2372
|
+
* @param {boolean} [excludeEnded] 종료된 투표 제외 여부 (true 시 진행 중인 투표만 반환)
|
|
2311
2373
|
* @param {*} [options] Override http request option.
|
|
2312
2374
|
* @throws {RequiredError}
|
|
2313
2375
|
* @memberof DefaultApi
|
|
2314
2376
|
*/
|
|
2315
|
-
getVoteList(cursor, size, sort, options) {
|
|
2316
|
-
return (0, exports.DefaultApiFp)(this.configuration).getVoteList(cursor, size, sort, options).then((request) => request(this.axios, this.basePath));
|
|
2377
|
+
getVoteList(cursor, size, sort, excludeEnded, options) {
|
|
2378
|
+
return (0, exports.DefaultApiFp)(this.configuration).getVoteList(cursor, size, sort, excludeEnded, options).then((request) => request(this.axios, this.basePath));
|
|
2317
2379
|
}
|
|
2318
2380
|
/**
|
|
2319
2381
|
*
|
package/dist/models/index.d.ts
CHANGED
|
@@ -43,6 +43,7 @@ export * from './unread-count-response';
|
|
|
43
43
|
export * from './update-notification-setting-request';
|
|
44
44
|
export * from './user-delete-req';
|
|
45
45
|
export * from './user-extra-info';
|
|
46
|
+
export * from './user-image-response';
|
|
46
47
|
export * from './user-modify-info-request';
|
|
47
48
|
export * from './user-nickname-rec';
|
|
48
49
|
export * from './user-profile-default-response';
|
package/dist/models/index.js
CHANGED
|
@@ -59,6 +59,7 @@ __exportStar(require("./unread-count-response"), exports);
|
|
|
59
59
|
__exportStar(require("./update-notification-setting-request"), exports);
|
|
60
60
|
__exportStar(require("./user-delete-req"), exports);
|
|
61
61
|
__exportStar(require("./user-extra-info"), exports);
|
|
62
|
+
__exportStar(require("./user-image-response"), exports);
|
|
62
63
|
__exportStar(require("./user-modify-info-request"), exports);
|
|
63
64
|
__exportStar(require("./user-nickname-rec"), exports);
|
|
64
65
|
__exportStar(require("./user-profile-default-response"), exports);
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* VS Server API
|
|
3
|
+
* JECT 4기 2팀 VS Server API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
export interface UserImageResponse {
|
|
13
|
+
imageColor?: UserImageResponseImageColorEnum;
|
|
14
|
+
}
|
|
15
|
+
export declare const UserImageResponseImageColorEnum: {
|
|
16
|
+
readonly Green: "GREEN";
|
|
17
|
+
readonly Red: "RED";
|
|
18
|
+
readonly Blue: "BLUE";
|
|
19
|
+
readonly Yellow: "YELLOW";
|
|
20
|
+
};
|
|
21
|
+
export type UserImageResponseImageColorEnum = typeof UserImageResponseImageColorEnum[keyof typeof UserImageResponseImageColorEnum];
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* VS Server API
|
|
6
|
+
* JECT 4기 2팀 VS Server API
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.UserImageResponseImageColorEnum = void 0;
|
|
17
|
+
exports.UserImageResponseImageColorEnum = {
|
|
18
|
+
Green: 'GREEN',
|
|
19
|
+
Red: 'RED',
|
|
20
|
+
Blue: 'BLUE',
|
|
21
|
+
Yellow: 'YELLOW'
|
|
22
|
+
};
|