@ject-4-vs-team/api-client 2026.531.1 → 2026.531.3

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.
@@ -90,14 +90,15 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
90
90
  */
91
91
  getDetail: (voteId: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
92
92
  /**
93
- * 스와이프 형식의 몰입형 투표 피드를 조회합니다. 커서 기반 페이지네이션을 지원합니다.
93
+ * 스와이프 형식의 몰입형 투표 피드를 조회합니다. 커서 기반 페이지네이션을 지원합니다. startVoteId를 지정하면 해당 투표부터 피드가 시작됩니다.
94
94
  * @summary 몰입형 투표 피드 조회
95
95
  * @param {number} [cursor]
96
+ * @param {number} [startVoteId]
96
97
  * @param {number} [size]
97
98
  * @param {*} [options] Override http request option.
98
99
  * @throws {RequiredError}
99
100
  */
100
- getFeed: (cursor?: number, size?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
101
+ getFeed: (cursor?: number, startVoteId?: number, size?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
101
102
  /**
102
103
  * 비회원의 잔여 무료 투표권 수를 조회합니다. 회원은 remainingFreeVotes가 null로 응답됩니다.
103
104
  * @summary 잔여 무료 투표권 조회
@@ -397,14 +398,15 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
397
398
  */
398
399
  getDetail(voteId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VoteDetailResponse>>;
399
400
  /**
400
- * 스와이프 형식의 몰입형 투표 피드를 조회합니다. 커서 기반 페이지네이션을 지원합니다.
401
+ * 스와이프 형식의 몰입형 투표 피드를 조회합니다. 커서 기반 페이지네이션을 지원합니다. startVoteId를 지정하면 해당 투표부터 피드가 시작됩니다.
401
402
  * @summary 몰입형 투표 피드 조회
402
403
  * @param {number} [cursor]
404
+ * @param {number} [startVoteId]
403
405
  * @param {number} [size]
404
406
  * @param {*} [options] Override http request option.
405
407
  * @throws {RequiredError}
406
408
  */
407
- getFeed(cursor?: number, size?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ImmersiveFeedResponse>>;
409
+ getFeed(cursor?: number, startVoteId?: number, size?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ImmersiveFeedResponse>>;
408
410
  /**
409
411
  * 비회원의 잔여 무료 투표권 수를 조회합니다. 회원은 remainingFreeVotes가 null로 응답됩니다.
410
412
  * @summary 잔여 무료 투표권 조회
@@ -704,14 +706,15 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
704
706
  */
705
707
  getDetail(voteId: number, options?: RawAxiosRequestConfig): AxiosPromise<VoteDetailResponse>;
706
708
  /**
707
- * 스와이프 형식의 몰입형 투표 피드를 조회합니다. 커서 기반 페이지네이션을 지원합니다.
709
+ * 스와이프 형식의 몰입형 투표 피드를 조회합니다. 커서 기반 페이지네이션을 지원합니다. startVoteId를 지정하면 해당 투표부터 피드가 시작됩니다.
708
710
  * @summary 몰입형 투표 피드 조회
709
711
  * @param {number} [cursor]
712
+ * @param {number} [startVoteId]
710
713
  * @param {number} [size]
711
714
  * @param {*} [options] Override http request option.
712
715
  * @throws {RequiredError}
713
716
  */
714
- getFeed(cursor?: number, size?: number, options?: RawAxiosRequestConfig): AxiosPromise<ImmersiveFeedResponse>;
717
+ getFeed(cursor?: number, startVoteId?: number, size?: number, options?: RawAxiosRequestConfig): AxiosPromise<ImmersiveFeedResponse>;
715
718
  /**
716
719
  * 비회원의 잔여 무료 투표권 수를 조회합니다. 회원은 remainingFreeVotes가 null로 응답됩니다.
717
720
  * @summary 잔여 무료 투표권 조회
@@ -1018,15 +1021,16 @@ export declare class DefaultApi extends BaseAPI {
1018
1021
  */
1019
1022
  getDetail(voteId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VoteDetailResponse, any, {}>>;
1020
1023
  /**
1021
- * 스와이프 형식의 몰입형 투표 피드를 조회합니다. 커서 기반 페이지네이션을 지원합니다.
1024
+ * 스와이프 형식의 몰입형 투표 피드를 조회합니다. 커서 기반 페이지네이션을 지원합니다. startVoteId를 지정하면 해당 투표부터 피드가 시작됩니다.
1022
1025
  * @summary 몰입형 투표 피드 조회
1023
1026
  * @param {number} [cursor]
1027
+ * @param {number} [startVoteId]
1024
1028
  * @param {number} [size]
1025
1029
  * @param {*} [options] Override http request option.
1026
1030
  * @throws {RequiredError}
1027
1031
  * @memberof DefaultApi
1028
1032
  */
1029
- getFeed(cursor?: number, size?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ImmersiveFeedResponse, any, {}>>;
1033
+ getFeed(cursor?: number, startVoteId?: number, size?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ImmersiveFeedResponse, any, {}>>;
1030
1034
  /**
1031
1035
  * 비회원의 잔여 무료 투표권 수를 조회합니다. 회원은 remainingFreeVotes가 null로 응답됩니다.
1032
1036
  * @summary 잔여 무료 투표권 조회
@@ -187,14 +187,15 @@ const DefaultApiAxiosParamCreator = function (configuration) {
187
187
  };
188
188
  },
189
189
  /**
190
- * 스와이프 형식의 몰입형 투표 피드를 조회합니다. 커서 기반 페이지네이션을 지원합니다.
190
+ * 스와이프 형식의 몰입형 투표 피드를 조회합니다. 커서 기반 페이지네이션을 지원합니다. startVoteId를 지정하면 해당 투표부터 피드가 시작됩니다.
191
191
  * @summary 몰입형 투표 피드 조회
192
192
  * @param {number} [cursor]
193
+ * @param {number} [startVoteId]
193
194
  * @param {number} [size]
194
195
  * @param {*} [options] Override http request option.
195
196
  * @throws {RequiredError}
196
197
  */
197
- getFeed: async (cursor, size, options = {}) => {
198
+ getFeed: async (cursor, startVoteId, size, options = {}) => {
198
199
  const localVarPath = `/api/immersive-votes`;
199
200
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
200
201
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -211,6 +212,9 @@ const DefaultApiAxiosParamCreator = function (configuration) {
211
212
  if (cursor !== undefined) {
212
213
  localVarQueryParameter['cursor'] = cursor;
213
214
  }
215
+ if (startVoteId !== undefined) {
216
+ localVarQueryParameter['startVoteId'] = startVoteId;
217
+ }
214
218
  if (size !== undefined) {
215
219
  localVarQueryParameter['size'] = size;
216
220
  }
@@ -1342,15 +1346,16 @@ const DefaultApiFp = function (configuration) {
1342
1346
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1343
1347
  },
1344
1348
  /**
1345
- * 스와이프 형식의 몰입형 투표 피드를 조회합니다. 커서 기반 페이지네이션을 지원합니다.
1349
+ * 스와이프 형식의 몰입형 투표 피드를 조회합니다. 커서 기반 페이지네이션을 지원합니다. startVoteId를 지정하면 해당 투표부터 피드가 시작됩니다.
1346
1350
  * @summary 몰입형 투표 피드 조회
1347
1351
  * @param {number} [cursor]
1352
+ * @param {number} [startVoteId]
1348
1353
  * @param {number} [size]
1349
1354
  * @param {*} [options] Override http request option.
1350
1355
  * @throws {RequiredError}
1351
1356
  */
1352
- async getFeed(cursor, size, options) {
1353
- const localVarAxiosArgs = await localVarAxiosParamCreator.getFeed(cursor, size, options);
1357
+ async getFeed(cursor, startVoteId, size, options) {
1358
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getFeed(cursor, startVoteId, size, options);
1354
1359
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1355
1360
  const localVarOperationServerBasePath = base_1.operationServerMap['DefaultApi.getFeed']?.[localVarOperationServerIndex]?.url;
1356
1361
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -1833,15 +1838,16 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
1833
1838
  return localVarFp.getDetail(voteId, options).then((request) => request(axios, basePath));
1834
1839
  },
1835
1840
  /**
1836
- * 스와이프 형식의 몰입형 투표 피드를 조회합니다. 커서 기반 페이지네이션을 지원합니다.
1841
+ * 스와이프 형식의 몰입형 투표 피드를 조회합니다. 커서 기반 페이지네이션을 지원합니다. startVoteId를 지정하면 해당 투표부터 피드가 시작됩니다.
1837
1842
  * @summary 몰입형 투표 피드 조회
1838
1843
  * @param {number} [cursor]
1844
+ * @param {number} [startVoteId]
1839
1845
  * @param {number} [size]
1840
1846
  * @param {*} [options] Override http request option.
1841
1847
  * @throws {RequiredError}
1842
1848
  */
1843
- getFeed(cursor, size, options) {
1844
- return localVarFp.getFeed(cursor, size, options).then((request) => request(axios, basePath));
1849
+ getFeed(cursor, startVoteId, size, options) {
1850
+ return localVarFp.getFeed(cursor, startVoteId, size, options).then((request) => request(axios, basePath));
1845
1851
  },
1846
1852
  /**
1847
1853
  * 비회원의 잔여 무료 투표권 수를 조회합니다. 회원은 remainingFreeVotes가 null로 응답됩니다.
@@ -2227,16 +2233,17 @@ class DefaultApi extends base_1.BaseAPI {
2227
2233
  return (0, exports.DefaultApiFp)(this.configuration).getDetail(voteId, options).then((request) => request(this.axios, this.basePath));
2228
2234
  }
2229
2235
  /**
2230
- * 스와이프 형식의 몰입형 투표 피드를 조회합니다. 커서 기반 페이지네이션을 지원합니다.
2236
+ * 스와이프 형식의 몰입형 투표 피드를 조회합니다. 커서 기반 페이지네이션을 지원합니다. startVoteId를 지정하면 해당 투표부터 피드가 시작됩니다.
2231
2237
  * @summary 몰입형 투표 피드 조회
2232
2238
  * @param {number} [cursor]
2239
+ * @param {number} [startVoteId]
2233
2240
  * @param {number} [size]
2234
2241
  * @param {*} [options] Override http request option.
2235
2242
  * @throws {RequiredError}
2236
2243
  * @memberof DefaultApi
2237
2244
  */
2238
- getFeed(cursor, size, options) {
2239
- return (0, exports.DefaultApiFp)(this.configuration).getFeed(cursor, size, options).then((request) => request(this.axios, this.basePath));
2245
+ getFeed(cursor, startVoteId, size, options) {
2246
+ return (0, exports.DefaultApiFp)(this.configuration).getFeed(cursor, startVoteId, size, options).then((request) => request(this.axios, this.basePath));
2240
2247
  }
2241
2248
  /**
2242
2249
  * 비회원의 잔여 무료 투표권 수를 조회합니다. 회원은 remainingFreeVotes가 null로 응답됩니다.
@@ -13,8 +13,14 @@ export interface HotTopicItem {
13
13
  rank?: number;
14
14
  voteId?: number;
15
15
  thumbnailUrl?: string;
16
+ voteType?: HotTopicItemVoteTypeEnum;
16
17
  title?: string;
17
18
  content?: string;
18
19
  participantCount?: number;
19
20
  endAt?: string;
20
21
  }
22
+ export declare const HotTopicItemVoteTypeEnum: {
23
+ readonly General: "GENERAL";
24
+ readonly Immersive: "IMMERSIVE";
25
+ };
26
+ export type HotTopicItemVoteTypeEnum = typeof HotTopicItemVoteTypeEnum[keyof typeof HotTopicItemVoteTypeEnum];
@@ -13,3 +13,8 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.HotTopicItemVoteTypeEnum = void 0;
17
+ exports.HotTopicItemVoteTypeEnum = {
18
+ General: 'GENERAL',
19
+ Immersive: 'IMMERSIVE'
20
+ };
@@ -12,7 +12,13 @@
12
12
  export interface RecommendationItem {
13
13
  voteId?: number;
14
14
  thumbnailUrl?: string;
15
+ voteType?: RecommendationItemVoteTypeEnum;
15
16
  title?: string;
16
17
  content?: string;
17
18
  endAt?: string;
18
19
  }
20
+ export declare const RecommendationItemVoteTypeEnum: {
21
+ readonly General: "GENERAL";
22
+ readonly Immersive: "IMMERSIVE";
23
+ };
24
+ export type RecommendationItemVoteTypeEnum = typeof RecommendationItemVoteTypeEnum[keyof typeof RecommendationItemVoteTypeEnum];
@@ -13,3 +13,8 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.RecommendationItemVoteTypeEnum = void 0;
17
+ exports.RecommendationItemVoteTypeEnum = {
18
+ General: 'GENERAL',
19
+ Immersive: 'IMMERSIVE'
20
+ };
@@ -10,6 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  export interface UserProfileResponse {
13
+ email?: string;
13
14
  birthDate?: string;
14
15
  gender?: UserProfileResponseGenderEnum;
15
16
  nickname?: string;
@@ -14,6 +14,7 @@ import type { MyVote } from './my-vote';
14
14
  import type { OptionItem } from './option-item';
15
15
  export interface VoteDetailResponse {
16
16
  voteId?: number;
17
+ voteType?: VoteDetailResponseVoteTypeEnum;
17
18
  title?: string;
18
19
  createdAt?: string;
19
20
  content?: string;
@@ -27,3 +28,8 @@ export interface VoteDetailResponse {
27
28
  myEmoji?: string;
28
29
  commentCount?: number;
29
30
  }
31
+ export declare const VoteDetailResponseVoteTypeEnum: {
32
+ readonly General: "GENERAL";
33
+ readonly Immersive: "IMMERSIVE";
34
+ };
35
+ export type VoteDetailResponseVoteTypeEnum = typeof VoteDetailResponseVoteTypeEnum[keyof typeof VoteDetailResponseVoteTypeEnum];
@@ -13,3 +13,8 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.VoteDetailResponseVoteTypeEnum = void 0;
17
+ exports.VoteDetailResponseVoteTypeEnum = {
18
+ General: 'GENERAL',
19
+ Immersive: 'IMMERSIVE'
20
+ };
@@ -11,9 +11,15 @@
11
11
  */
12
12
  export interface VoteElement {
13
13
  id?: number;
14
+ voteType?: VoteElementVoteTypeEnum;
14
15
  title?: string;
15
16
  content?: string;
16
17
  thumbnailUrl?: string;
17
18
  localDate?: string;
18
19
  endAt?: string;
19
20
  }
21
+ export declare const VoteElementVoteTypeEnum: {
22
+ readonly General: "GENERAL";
23
+ readonly Immersive: "IMMERSIVE";
24
+ };
25
+ export type VoteElementVoteTypeEnum = typeof VoteElementVoteTypeEnum[keyof typeof VoteElementVoteTypeEnum];
@@ -13,3 +13,8 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.VoteElementVoteTypeEnum = void 0;
17
+ exports.VoteElementVoteTypeEnum = {
18
+ General: 'GENERAL',
19
+ Immersive: 'IMMERSIVE'
20
+ };
@@ -13,6 +13,7 @@ export interface VoteListItem {
13
13
  voteId?: number;
14
14
  thumbnailUrl?: string;
15
15
  status?: VoteListItemStatusEnum;
16
+ voteType?: VoteListItemVoteTypeEnum;
16
17
  title?: string;
17
18
  content?: string;
18
19
  endAt?: string;
@@ -22,3 +23,8 @@ export declare const VoteListItemStatusEnum: {
22
23
  readonly Ended: "ENDED";
23
24
  };
24
25
  export type VoteListItemStatusEnum = typeof VoteListItemStatusEnum[keyof typeof VoteListItemStatusEnum];
26
+ export declare const VoteListItemVoteTypeEnum: {
27
+ readonly General: "GENERAL";
28
+ readonly Immersive: "IMMERSIVE";
29
+ };
30
+ export type VoteListItemVoteTypeEnum = typeof VoteListItemVoteTypeEnum[keyof typeof VoteListItemVoteTypeEnum];
@@ -13,8 +13,12 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.VoteListItemStatusEnum = void 0;
16
+ exports.VoteListItemVoteTypeEnum = exports.VoteListItemStatusEnum = void 0;
17
17
  exports.VoteListItemStatusEnum = {
18
18
  Ongoing: 'ONGOING',
19
19
  Ended: 'ENDED'
20
20
  };
21
+ exports.VoteListItemVoteTypeEnum = {
22
+ General: 'GENERAL',
23
+ Immersive: 'IMMERSIVE'
24
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ject-4-vs-team/api-client",
3
- "version": "2026.0531.1",
3
+ "version": "2026.0531.3",
4
4
  "description": "VS Server API client generated from OpenAPI spec",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",