@ject-4-vs-team/api-client 2026.527.5 → 2026.529.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.
@@ -30,11 +30,13 @@ import type { ParticipateResponse } from '../models';
30
30
  import type { PromptStatusResponse } from '../models';
31
31
  import type { ReadAllResponse } from '../models';
32
32
  import type { RegisterPushTokenRequest } from '../models';
33
+ import type { SetRecommendationRequest } from '../models';
33
34
  import type { ShareLinkResponse } from '../models';
34
35
  import type { UnreadCountResponse } from '../models';
35
36
  import type { UpdateNotificationSettingRequest } from '../models';
36
37
  import type { UserDeleteReq } from '../models';
37
38
  import type { UserExtraInfo } from '../models';
39
+ import type { UserImageResponse } from '../models';
38
40
  import type { UserModifyInfoRequest } from '../models';
39
41
  import type { UserNicknameRec } from '../models';
40
42
  import type { UserProfileDefaultResponse } from '../models';
@@ -110,6 +112,12 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
110
112
  * @throws {RequiredError}
111
113
  */
112
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>;
113
121
  /**
114
122
  * 알림 목록을 조회합니다. 커서 기반 페이지네이션을 지원합니다.
115
123
  * @summary 알림 목록 조회
@@ -305,6 +313,14 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
305
313
  * @throws {RequiredError}
306
314
  */
307
315
  reissue: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
316
+ /**
317
+ * 운영진이 오늘의 추천 투표를 설정합니다.
318
+ * @summary 오늘의 추천 투표 설정
319
+ * @param {SetRecommendationRequest} setRecommendationRequest
320
+ * @param {*} [options] Override http request option.
321
+ * @throws {RequiredError}
322
+ */
323
+ setTodayRecommendations: (setRecommendationRequest: SetRecommendationRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
308
324
  /**
309
325
  * 사용자 추가 정보(닉네임, 성별, 생년월일)를 설정합니다.
310
326
  * @summary 추가 정보 설정
@@ -402,6 +418,12 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
402
418
  * @throws {RequiredError}
403
419
  */
404
420
  getHotTopics(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HomeHotTopicResponse>>;
421
+ /**
422
+ *
423
+ * @param {*} [options] Override http request option.
424
+ * @throws {RequiredError}
425
+ */
426
+ getImageColor(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserImageResponse>>;
405
427
  /**
406
428
  * 알림 목록을 조회합니다. 커서 기반 페이지네이션을 지원합니다.
407
429
  * @summary 알림 목록 조회
@@ -597,6 +619,14 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
597
619
  * @throws {RequiredError}
598
620
  */
599
621
  reissue(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
622
+ /**
623
+ * 운영진이 오늘의 추천 투표를 설정합니다.
624
+ * @summary 오늘의 추천 투표 설정
625
+ * @param {SetRecommendationRequest} setRecommendationRequest
626
+ * @param {*} [options] Override http request option.
627
+ * @throws {RequiredError}
628
+ */
629
+ setTodayRecommendations(setRecommendationRequest: SetRecommendationRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
600
630
  /**
601
631
  * 사용자 추가 정보(닉네임, 성별, 생년월일)를 설정합니다.
602
632
  * @summary 추가 정보 설정
@@ -694,6 +724,12 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
694
724
  * @throws {RequiredError}
695
725
  */
696
726
  getHotTopics(options?: RawAxiosRequestConfig): AxiosPromise<HomeHotTopicResponse>;
727
+ /**
728
+ *
729
+ * @param {*} [options] Override http request option.
730
+ * @throws {RequiredError}
731
+ */
732
+ getImageColor(options?: RawAxiosRequestConfig): AxiosPromise<UserImageResponse>;
697
733
  /**
698
734
  * 알림 목록을 조회합니다. 커서 기반 페이지네이션을 지원합니다.
699
735
  * @summary 알림 목록 조회
@@ -889,6 +925,14 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
889
925
  * @throws {RequiredError}
890
926
  */
891
927
  reissue(options?: RawAxiosRequestConfig): AxiosPromise<void>;
928
+ /**
929
+ * 운영진이 오늘의 추천 투표를 설정합니다.
930
+ * @summary 오늘의 추천 투표 설정
931
+ * @param {SetRecommendationRequest} setRecommendationRequest
932
+ * @param {*} [options] Override http request option.
933
+ * @throws {RequiredError}
934
+ */
935
+ setTodayRecommendations(setRecommendationRequest: SetRecommendationRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
892
936
  /**
893
937
  * 사용자 추가 정보(닉네임, 성별, 생년월일)를 설정합니다.
894
938
  * @summary 추가 정보 설정
@@ -996,6 +1040,13 @@ export declare class DefaultApi extends BaseAPI {
996
1040
  * @memberof DefaultApi
997
1041
  */
998
1042
  getHotTopics(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<HomeHotTopicResponse, any, {}>>;
1043
+ /**
1044
+ *
1045
+ * @param {*} [options] Override http request option.
1046
+ * @throws {RequiredError}
1047
+ * @memberof DefaultApi
1048
+ */
1049
+ getImageColor(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UserImageResponse, any, {}>>;
999
1050
  /**
1000
1051
  * 알림 목록을 조회합니다. 커서 기반 페이지네이션을 지원합니다.
1001
1052
  * @summary 알림 목록 조회
@@ -1216,6 +1267,15 @@ export declare class DefaultApi extends BaseAPI {
1216
1267
  * @memberof DefaultApi
1217
1268
  */
1218
1269
  reissue(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
1270
+ /**
1271
+ * 운영진이 오늘의 추천 투표를 설정합니다.
1272
+ * @summary 오늘의 추천 투표 설정
1273
+ * @param {SetRecommendationRequest} setRecommendationRequest
1274
+ * @param {*} [options] Override http request option.
1275
+ * @throws {RequiredError}
1276
+ * @memberof DefaultApi
1277
+ */
1278
+ setTodayRecommendations(setRecommendationRequest: SetRecommendationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
1219
1279
  /**
1220
1280
  * 사용자 추가 정보(닉네임, 성별, 생년월일)를 설정합니다.
1221
1281
  * @summary 추가 정보 설정
@@ -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 알림 목록 조회
@@ -1082,6 +1109,39 @@ const DefaultApiAxiosParamCreator = function (configuration) {
1082
1109
  options: localVarRequestOptions,
1083
1110
  };
1084
1111
  },
1112
+ /**
1113
+ * 운영진이 오늘의 추천 투표를 설정합니다.
1114
+ * @summary 오늘의 추천 투표 설정
1115
+ * @param {SetRecommendationRequest} setRecommendationRequest
1116
+ * @param {*} [options] Override http request option.
1117
+ * @throws {RequiredError}
1118
+ */
1119
+ setTodayRecommendations: async (setRecommendationRequest, options = {}) => {
1120
+ // verify required parameter 'setRecommendationRequest' is not null or undefined
1121
+ (0, common_1.assertParamExists)('setTodayRecommendations', 'setRecommendationRequest', setRecommendationRequest);
1122
+ const localVarPath = `/api/recommendations`;
1123
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1124
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1125
+ let baseOptions;
1126
+ if (configuration) {
1127
+ baseOptions = configuration.baseOptions;
1128
+ }
1129
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
1130
+ const localVarHeaderParameter = {};
1131
+ const localVarQueryParameter = {};
1132
+ // authentication bearerAuth required
1133
+ // http bearer authentication required
1134
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
1135
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1136
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1137
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1138
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
1139
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(setRecommendationRequest, localVarRequestOptions, configuration);
1140
+ return {
1141
+ url: (0, common_1.toPathString)(localVarUrlObj),
1142
+ options: localVarRequestOptions,
1143
+ };
1144
+ },
1085
1145
  /**
1086
1146
  * 사용자 추가 정보(닉네임, 성별, 생년월일)를 설정합니다.
1087
1147
  * @summary 추가 정보 설정
@@ -1315,6 +1375,17 @@ const DefaultApiFp = function (configuration) {
1315
1375
  const localVarOperationServerBasePath = base_1.operationServerMap['DefaultApi.getHotTopics']?.[localVarOperationServerIndex]?.url;
1316
1376
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1317
1377
  },
1378
+ /**
1379
+ *
1380
+ * @param {*} [options] Override http request option.
1381
+ * @throws {RequiredError}
1382
+ */
1383
+ async getImageColor(options) {
1384
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getImageColor(options);
1385
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1386
+ const localVarOperationServerBasePath = base_1.operationServerMap['DefaultApi.getImageColor']?.[localVarOperationServerIndex]?.url;
1387
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1388
+ },
1318
1389
  /**
1319
1390
  * 알림 목록을 조회합니다. 커서 기반 페이지네이션을 지원합니다.
1320
1391
  * @summary 알림 목록 조회
@@ -1635,6 +1706,19 @@ const DefaultApiFp = function (configuration) {
1635
1706
  const localVarOperationServerBasePath = base_1.operationServerMap['DefaultApi.reissue']?.[localVarOperationServerIndex]?.url;
1636
1707
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1637
1708
  },
1709
+ /**
1710
+ * 운영진이 오늘의 추천 투표를 설정합니다.
1711
+ * @summary 오늘의 추천 투표 설정
1712
+ * @param {SetRecommendationRequest} setRecommendationRequest
1713
+ * @param {*} [options] Override http request option.
1714
+ * @throws {RequiredError}
1715
+ */
1716
+ async setTodayRecommendations(setRecommendationRequest, options) {
1717
+ const localVarAxiosArgs = await localVarAxiosParamCreator.setTodayRecommendations(setRecommendationRequest, options);
1718
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1719
+ const localVarOperationServerBasePath = base_1.operationServerMap['DefaultApi.setTodayRecommendations']?.[localVarOperationServerIndex]?.url;
1720
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1721
+ },
1638
1722
  /**
1639
1723
  * 사용자 추가 정보(닉네임, 성별, 생년월일)를 설정합니다.
1640
1724
  * @summary 추가 정보 설정
@@ -1772,6 +1856,14 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
1772
1856
  getHotTopics(options) {
1773
1857
  return localVarFp.getHotTopics(options).then((request) => request(axios, basePath));
1774
1858
  },
1859
+ /**
1860
+ *
1861
+ * @param {*} [options] Override http request option.
1862
+ * @throws {RequiredError}
1863
+ */
1864
+ getImageColor(options) {
1865
+ return localVarFp.getImageColor(options).then((request) => request(axios, basePath));
1866
+ },
1775
1867
  /**
1776
1868
  * 알림 목록을 조회합니다. 커서 기반 페이지네이션을 지원합니다.
1777
1869
  * @summary 알림 목록 조회
@@ -2017,6 +2109,16 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
2017
2109
  reissue(options) {
2018
2110
  return localVarFp.reissue(options).then((request) => request(axios, basePath));
2019
2111
  },
2112
+ /**
2113
+ * 운영진이 오늘의 추천 투표를 설정합니다.
2114
+ * @summary 오늘의 추천 투표 설정
2115
+ * @param {SetRecommendationRequest} setRecommendationRequest
2116
+ * @param {*} [options] Override http request option.
2117
+ * @throws {RequiredError}
2118
+ */
2119
+ setTodayRecommendations(setRecommendationRequest, options) {
2120
+ return localVarFp.setTodayRecommendations(setRecommendationRequest, options).then((request) => request(axios, basePath));
2121
+ },
2020
2122
  /**
2021
2123
  * 사용자 추가 정보(닉네임, 성별, 생년월일)를 설정합니다.
2022
2124
  * @summary 추가 정보 설정
@@ -2150,6 +2252,15 @@ class DefaultApi extends base_1.BaseAPI {
2150
2252
  getHotTopics(options) {
2151
2253
  return (0, exports.DefaultApiFp)(this.configuration).getHotTopics(options).then((request) => request(this.axios, this.basePath));
2152
2254
  }
2255
+ /**
2256
+ *
2257
+ * @param {*} [options] Override http request option.
2258
+ * @throws {RequiredError}
2259
+ * @memberof DefaultApi
2260
+ */
2261
+ getImageColor(options) {
2262
+ return (0, exports.DefaultApiFp)(this.configuration).getImageColor(options).then((request) => request(this.axios, this.basePath));
2263
+ }
2153
2264
  /**
2154
2265
  * 알림 목록을 조회합니다. 커서 기반 페이지네이션을 지원합니다.
2155
2266
  * @summary 알림 목록 조회
@@ -2420,6 +2531,17 @@ class DefaultApi extends base_1.BaseAPI {
2420
2531
  reissue(options) {
2421
2532
  return (0, exports.DefaultApiFp)(this.configuration).reissue(options).then((request) => request(this.axios, this.basePath));
2422
2533
  }
2534
+ /**
2535
+ * 운영진이 오늘의 추천 투표를 설정합니다.
2536
+ * @summary 오늘의 추천 투표 설정
2537
+ * @param {SetRecommendationRequest} setRecommendationRequest
2538
+ * @param {*} [options] Override http request option.
2539
+ * @throws {RequiredError}
2540
+ * @memberof DefaultApi
2541
+ */
2542
+ setTodayRecommendations(setRecommendationRequest, options) {
2543
+ return (0, exports.DefaultApiFp)(this.configuration).setTodayRecommendations(setRecommendationRequest, options).then((request) => request(this.axios, this.basePath));
2544
+ }
2423
2545
  /**
2424
2546
  * 사용자 추가 정보(닉네임, 성별, 생년월일)를 설정합니다.
2425
2547
  * @summary 추가 정보 설정
@@ -37,11 +37,13 @@ export * from './recommendation-item';
37
37
  export * from './register-push-token-request';
38
38
  export * from './result-options';
39
39
  export * from './send-message-request';
40
+ export * from './set-recommendation-request';
40
41
  export * from './share-link-response';
41
42
  export * from './unread-count-response';
42
43
  export * from './update-notification-setting-request';
43
44
  export * from './user-delete-req';
44
45
  export * from './user-extra-info';
46
+ export * from './user-image-response';
45
47
  export * from './user-modify-info-request';
46
48
  export * from './user-nickname-rec';
47
49
  export * from './user-profile-default-response';
@@ -53,11 +53,13 @@ __exportStar(require("./recommendation-item"), exports);
53
53
  __exportStar(require("./register-push-token-request"), exports);
54
54
  __exportStar(require("./result-options"), exports);
55
55
  __exportStar(require("./send-message-request"), exports);
56
+ __exportStar(require("./set-recommendation-request"), exports);
56
57
  __exportStar(require("./share-link-response"), exports);
57
58
  __exportStar(require("./unread-count-response"), exports);
58
59
  __exportStar(require("./update-notification-setting-request"), exports);
59
60
  __exportStar(require("./user-delete-req"), exports);
60
61
  __exportStar(require("./user-extra-info"), exports);
62
+ __exportStar(require("./user-image-response"), exports);
61
63
  __exportStar(require("./user-modify-info-request"), exports);
62
64
  __exportStar(require("./user-nickname-rec"), exports);
63
65
  __exportStar(require("./user-profile-default-response"), exports);
@@ -0,0 +1,14 @@
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 SetRecommendationRequest {
13
+ voteIds?: Array<number>;
14
+ }
@@ -0,0 +1,15 @@
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 });
@@ -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
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ject-4-vs-team/api-client",
3
- "version": "2026.0527.5",
3
+ "version": "2026.0529.1",
4
4
  "description": "VS Server API client generated from OpenAPI spec",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",