@ject-4-vs-team/api-client 2026.529.1 → 2026.530.1
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.
|
@@ -188,15 +188,16 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
188
188
|
*/
|
|
189
189
|
getUnreadCount: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
190
190
|
/**
|
|
191
|
-
* 전체 투표 목록을 조회합니다. 커서 기반 페이지네이션을 지원합니다.
|
|
191
|
+
* 전체 투표 목록을 조회합니다. 커서 기반 페이지네이션을 지원합니다. 종료된 투표 제외 필터를 지원합니다.
|
|
192
192
|
* @summary 전체 투표 목록 조회
|
|
193
|
-
* @param {
|
|
193
|
+
* @param {string} [cursor] 다음 페이지 조회를 위한 커서 (이전 응답의 nextCursor). 복합 커서 사용 (예: LATEST=ID, ENDING_SOON=endAtMillis:id, POPULAR=viewCount:id)
|
|
194
194
|
* @param {number} [size] 페이지 크기
|
|
195
195
|
* @param {GetVoteListSortEnum} [sort] 정렬 기준: LATEST(최신순), POPULAR(인기순), ENDING_SOON(종료임박순)
|
|
196
|
+
* @param {boolean} [excludeEnded] 종료된 투표 제외 여부 (true 시 진행 중인 투표만 반환)
|
|
196
197
|
* @param {*} [options] Override http request option.
|
|
197
198
|
* @throws {RequiredError}
|
|
198
199
|
*/
|
|
199
|
-
getVoteList: (cursor?:
|
|
200
|
+
getVoteList: (cursor?: string, size?: number, sort?: GetVoteListSortEnum, excludeEnded?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
200
201
|
/**
|
|
201
202
|
*
|
|
202
203
|
* @param {GetVoteListEndParticipatedTypeEnum} type
|
|
@@ -494,15 +495,16 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
494
495
|
*/
|
|
495
496
|
getUnreadCount(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UnreadCountResponse>>;
|
|
496
497
|
/**
|
|
497
|
-
* 전체 투표 목록을 조회합니다. 커서 기반 페이지네이션을 지원합니다.
|
|
498
|
+
* 전체 투표 목록을 조회합니다. 커서 기반 페이지네이션을 지원합니다. 종료된 투표 제외 필터를 지원합니다.
|
|
498
499
|
* @summary 전체 투표 목록 조회
|
|
499
|
-
* @param {
|
|
500
|
+
* @param {string} [cursor] 다음 페이지 조회를 위한 커서 (이전 응답의 nextCursor). 복합 커서 사용 (예: LATEST=ID, ENDING_SOON=endAtMillis:id, POPULAR=viewCount:id)
|
|
500
501
|
* @param {number} [size] 페이지 크기
|
|
501
502
|
* @param {GetVoteListSortEnum} [sort] 정렬 기준: LATEST(최신순), POPULAR(인기순), ENDING_SOON(종료임박순)
|
|
503
|
+
* @param {boolean} [excludeEnded] 종료된 투표 제외 여부 (true 시 진행 중인 투표만 반환)
|
|
502
504
|
* @param {*} [options] Override http request option.
|
|
503
505
|
* @throws {RequiredError}
|
|
504
506
|
*/
|
|
505
|
-
getVoteList(cursor?:
|
|
507
|
+
getVoteList(cursor?: string, size?: number, sort?: GetVoteListSortEnum, excludeEnded?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HomeVoteListResponse>>;
|
|
506
508
|
/**
|
|
507
509
|
*
|
|
508
510
|
* @param {GetVoteListEndParticipatedTypeEnum} type
|
|
@@ -800,15 +802,16 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
800
802
|
*/
|
|
801
803
|
getUnreadCount(options?: RawAxiosRequestConfig): AxiosPromise<UnreadCountResponse>;
|
|
802
804
|
/**
|
|
803
|
-
* 전체 투표 목록을 조회합니다. 커서 기반 페이지네이션을 지원합니다.
|
|
805
|
+
* 전체 투표 목록을 조회합니다. 커서 기반 페이지네이션을 지원합니다. 종료된 투표 제외 필터를 지원합니다.
|
|
804
806
|
* @summary 전체 투표 목록 조회
|
|
805
|
-
* @param {
|
|
807
|
+
* @param {string} [cursor] 다음 페이지 조회를 위한 커서 (이전 응답의 nextCursor). 복합 커서 사용 (예: LATEST=ID, ENDING_SOON=endAtMillis:id, POPULAR=viewCount:id)
|
|
806
808
|
* @param {number} [size] 페이지 크기
|
|
807
809
|
* @param {GetVoteListSortEnum} [sort] 정렬 기준: LATEST(최신순), POPULAR(인기순), ENDING_SOON(종료임박순)
|
|
810
|
+
* @param {boolean} [excludeEnded] 종료된 투표 제외 여부 (true 시 진행 중인 투표만 반환)
|
|
808
811
|
* @param {*} [options] Override http request option.
|
|
809
812
|
* @throws {RequiredError}
|
|
810
813
|
*/
|
|
811
|
-
getVoteList(cursor?:
|
|
814
|
+
getVoteList(cursor?: string, size?: number, sort?: GetVoteListSortEnum, excludeEnded?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<HomeVoteListResponse>;
|
|
812
815
|
/**
|
|
813
816
|
*
|
|
814
817
|
* @param {GetVoteListEndParticipatedTypeEnum} type
|
|
@@ -1126,16 +1129,17 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
1126
1129
|
*/
|
|
1127
1130
|
getUnreadCount(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UnreadCountResponse, any, {}>>;
|
|
1128
1131
|
/**
|
|
1129
|
-
* 전체 투표 목록을 조회합니다. 커서 기반 페이지네이션을 지원합니다.
|
|
1132
|
+
* 전체 투표 목록을 조회합니다. 커서 기반 페이지네이션을 지원합니다. 종료된 투표 제외 필터를 지원합니다.
|
|
1130
1133
|
* @summary 전체 투표 목록 조회
|
|
1131
|
-
* @param {
|
|
1134
|
+
* @param {string} [cursor] 다음 페이지 조회를 위한 커서 (이전 응답의 nextCursor). 복합 커서 사용 (예: LATEST=ID, ENDING_SOON=endAtMillis:id, POPULAR=viewCount:id)
|
|
1132
1135
|
* @param {number} [size] 페이지 크기
|
|
1133
1136
|
* @param {GetVoteListSortEnum} [sort] 정렬 기준: LATEST(최신순), POPULAR(인기순), ENDING_SOON(종료임박순)
|
|
1137
|
+
* @param {boolean} [excludeEnded] 종료된 투표 제외 여부 (true 시 진행 중인 투표만 반환)
|
|
1134
1138
|
* @param {*} [options] Override http request option.
|
|
1135
1139
|
* @throws {RequiredError}
|
|
1136
1140
|
* @memberof DefaultApi
|
|
1137
1141
|
*/
|
|
1138
|
-
getVoteList(cursor?:
|
|
1142
|
+
getVoteList(cursor?: string, size?: number, sort?: GetVoteListSortEnum, excludeEnded?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<HomeVoteListResponse, any, {}>>;
|
|
1139
1143
|
/**
|
|
1140
1144
|
*
|
|
1141
1145
|
* @param {GetVoteListEndParticipatedTypeEnum} type
|
package/dist/api/default-api.js
CHANGED
|
@@ -582,15 +582,16 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
582
582
|
};
|
|
583
583
|
},
|
|
584
584
|
/**
|
|
585
|
-
* 전체 투표 목록을 조회합니다. 커서 기반 페이지네이션을 지원합니다.
|
|
585
|
+
* 전체 투표 목록을 조회합니다. 커서 기반 페이지네이션을 지원합니다. 종료된 투표 제외 필터를 지원합니다.
|
|
586
586
|
* @summary 전체 투표 목록 조회
|
|
587
|
-
* @param {
|
|
587
|
+
* @param {string} [cursor] 다음 페이지 조회를 위한 커서 (이전 응답의 nextCursor). 복합 커서 사용 (예: LATEST=ID, ENDING_SOON=endAtMillis:id, POPULAR=viewCount:id)
|
|
588
588
|
* @param {number} [size] 페이지 크기
|
|
589
589
|
* @param {GetVoteListSortEnum} [sort] 정렬 기준: LATEST(최신순), POPULAR(인기순), ENDING_SOON(종료임박순)
|
|
590
|
+
* @param {boolean} [excludeEnded] 종료된 투표 제외 여부 (true 시 진행 중인 투표만 반환)
|
|
590
591
|
* @param {*} [options] Override http request option.
|
|
591
592
|
* @throws {RequiredError}
|
|
592
593
|
*/
|
|
593
|
-
getVoteList: async (cursor, size, sort, options = {}) => {
|
|
594
|
+
getVoteList: async (cursor, size, sort, excludeEnded, options = {}) => {
|
|
594
595
|
const localVarPath = `/api/home/votes`;
|
|
595
596
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
596
597
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -613,6 +614,9 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
613
614
|
if (sort !== undefined) {
|
|
614
615
|
localVarQueryParameter['sort'] = sort;
|
|
615
616
|
}
|
|
617
|
+
if (excludeEnded !== undefined) {
|
|
618
|
+
localVarQueryParameter['excludeEnded'] = excludeEnded;
|
|
619
|
+
}
|
|
616
620
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
617
621
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
618
622
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -1501,16 +1505,17 @@ const DefaultApiFp = function (configuration) {
|
|
|
1501
1505
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1502
1506
|
},
|
|
1503
1507
|
/**
|
|
1504
|
-
* 전체 투표 목록을 조회합니다. 커서 기반 페이지네이션을 지원합니다.
|
|
1508
|
+
* 전체 투표 목록을 조회합니다. 커서 기반 페이지네이션을 지원합니다. 종료된 투표 제외 필터를 지원합니다.
|
|
1505
1509
|
* @summary 전체 투표 목록 조회
|
|
1506
|
-
* @param {
|
|
1510
|
+
* @param {string} [cursor] 다음 페이지 조회를 위한 커서 (이전 응답의 nextCursor). 복합 커서 사용 (예: LATEST=ID, ENDING_SOON=endAtMillis:id, POPULAR=viewCount:id)
|
|
1507
1511
|
* @param {number} [size] 페이지 크기
|
|
1508
1512
|
* @param {GetVoteListSortEnum} [sort] 정렬 기준: LATEST(최신순), POPULAR(인기순), ENDING_SOON(종료임박순)
|
|
1513
|
+
* @param {boolean} [excludeEnded] 종료된 투표 제외 여부 (true 시 진행 중인 투표만 반환)
|
|
1509
1514
|
* @param {*} [options] Override http request option.
|
|
1510
1515
|
* @throws {RequiredError}
|
|
1511
1516
|
*/
|
|
1512
|
-
async getVoteList(cursor, size, sort, options) {
|
|
1513
|
-
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);
|
|
1514
1519
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1515
1520
|
const localVarOperationServerBasePath = base_1.operationServerMap['DefaultApi.getVoteList']?.[localVarOperationServerIndex]?.url;
|
|
1516
1521
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -1952,16 +1957,17 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
1952
1957
|
return localVarFp.getUnreadCount(options).then((request) => request(axios, basePath));
|
|
1953
1958
|
},
|
|
1954
1959
|
/**
|
|
1955
|
-
* 전체 투표 목록을 조회합니다. 커서 기반 페이지네이션을 지원합니다.
|
|
1960
|
+
* 전체 투표 목록을 조회합니다. 커서 기반 페이지네이션을 지원합니다. 종료된 투표 제외 필터를 지원합니다.
|
|
1956
1961
|
* @summary 전체 투표 목록 조회
|
|
1957
|
-
* @param {
|
|
1962
|
+
* @param {string} [cursor] 다음 페이지 조회를 위한 커서 (이전 응답의 nextCursor). 복합 커서 사용 (예: LATEST=ID, ENDING_SOON=endAtMillis:id, POPULAR=viewCount:id)
|
|
1958
1963
|
* @param {number} [size] 페이지 크기
|
|
1959
1964
|
* @param {GetVoteListSortEnum} [sort] 정렬 기준: LATEST(최신순), POPULAR(인기순), ENDING_SOON(종료임박순)
|
|
1965
|
+
* @param {boolean} [excludeEnded] 종료된 투표 제외 여부 (true 시 진행 중인 투표만 반환)
|
|
1960
1966
|
* @param {*} [options] Override http request option.
|
|
1961
1967
|
* @throws {RequiredError}
|
|
1962
1968
|
*/
|
|
1963
|
-
getVoteList(cursor, size, sort, options) {
|
|
1964
|
-
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));
|
|
1965
1971
|
},
|
|
1966
1972
|
/**
|
|
1967
1973
|
*
|
|
@@ -2358,17 +2364,18 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
2358
2364
|
return (0, exports.DefaultApiFp)(this.configuration).getUnreadCount(options).then((request) => request(this.axios, this.basePath));
|
|
2359
2365
|
}
|
|
2360
2366
|
/**
|
|
2361
|
-
* 전체 투표 목록을 조회합니다. 커서 기반 페이지네이션을 지원합니다.
|
|
2367
|
+
* 전체 투표 목록을 조회합니다. 커서 기반 페이지네이션을 지원합니다. 종료된 투표 제외 필터를 지원합니다.
|
|
2362
2368
|
* @summary 전체 투표 목록 조회
|
|
2363
|
-
* @param {
|
|
2369
|
+
* @param {string} [cursor] 다음 페이지 조회를 위한 커서 (이전 응답의 nextCursor). 복합 커서 사용 (예: LATEST=ID, ENDING_SOON=endAtMillis:id, POPULAR=viewCount:id)
|
|
2364
2370
|
* @param {number} [size] 페이지 크기
|
|
2365
2371
|
* @param {GetVoteListSortEnum} [sort] 정렬 기준: LATEST(최신순), POPULAR(인기순), ENDING_SOON(종료임박순)
|
|
2372
|
+
* @param {boolean} [excludeEnded] 종료된 투표 제외 여부 (true 시 진행 중인 투표만 반환)
|
|
2366
2373
|
* @param {*} [options] Override http request option.
|
|
2367
2374
|
* @throws {RequiredError}
|
|
2368
2375
|
* @memberof DefaultApi
|
|
2369
2376
|
*/
|
|
2370
|
-
getVoteList(cursor, size, sort, options) {
|
|
2371
|
-
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));
|
|
2372
2379
|
}
|
|
2373
2380
|
/**
|
|
2374
2381
|
*
|