@ject-4-vs-team/api-client 2026.527.5 → 2026.527.6

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,6 +30,7 @@ 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';
@@ -305,6 +306,14 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
305
306
  * @throws {RequiredError}
306
307
  */
307
308
  reissue: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
309
+ /**
310
+ * 운영진이 오늘의 추천 투표를 설정합니다.
311
+ * @summary 오늘의 추천 투표 설정
312
+ * @param {SetRecommendationRequest} setRecommendationRequest
313
+ * @param {*} [options] Override http request option.
314
+ * @throws {RequiredError}
315
+ */
316
+ setTodayRecommendations: (setRecommendationRequest: SetRecommendationRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
308
317
  /**
309
318
  * 사용자 추가 정보(닉네임, 성별, 생년월일)를 설정합니다.
310
319
  * @summary 추가 정보 설정
@@ -597,6 +606,14 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
597
606
  * @throws {RequiredError}
598
607
  */
599
608
  reissue(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
609
+ /**
610
+ * 운영진이 오늘의 추천 투표를 설정합니다.
611
+ * @summary 오늘의 추천 투표 설정
612
+ * @param {SetRecommendationRequest} setRecommendationRequest
613
+ * @param {*} [options] Override http request option.
614
+ * @throws {RequiredError}
615
+ */
616
+ setTodayRecommendations(setRecommendationRequest: SetRecommendationRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
600
617
  /**
601
618
  * 사용자 추가 정보(닉네임, 성별, 생년월일)를 설정합니다.
602
619
  * @summary 추가 정보 설정
@@ -889,6 +906,14 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
889
906
  * @throws {RequiredError}
890
907
  */
891
908
  reissue(options?: RawAxiosRequestConfig): AxiosPromise<void>;
909
+ /**
910
+ * 운영진이 오늘의 추천 투표를 설정합니다.
911
+ * @summary 오늘의 추천 투표 설정
912
+ * @param {SetRecommendationRequest} setRecommendationRequest
913
+ * @param {*} [options] Override http request option.
914
+ * @throws {RequiredError}
915
+ */
916
+ setTodayRecommendations(setRecommendationRequest: SetRecommendationRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
892
917
  /**
893
918
  * 사용자 추가 정보(닉네임, 성별, 생년월일)를 설정합니다.
894
919
  * @summary 추가 정보 설정
@@ -1216,6 +1241,15 @@ export declare class DefaultApi extends BaseAPI {
1216
1241
  * @memberof DefaultApi
1217
1242
  */
1218
1243
  reissue(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
1244
+ /**
1245
+ * 운영진이 오늘의 추천 투표를 설정합니다.
1246
+ * @summary 오늘의 추천 투표 설정
1247
+ * @param {SetRecommendationRequest} setRecommendationRequest
1248
+ * @param {*} [options] Override http request option.
1249
+ * @throws {RequiredError}
1250
+ * @memberof DefaultApi
1251
+ */
1252
+ setTodayRecommendations(setRecommendationRequest: SetRecommendationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
1219
1253
  /**
1220
1254
  * 사용자 추가 정보(닉네임, 성별, 생년월일)를 설정합니다.
1221
1255
  * @summary 추가 정보 설정
@@ -1082,6 +1082,39 @@ const DefaultApiAxiosParamCreator = function (configuration) {
1082
1082
  options: localVarRequestOptions,
1083
1083
  };
1084
1084
  },
1085
+ /**
1086
+ * 운영진이 오늘의 추천 투표를 설정합니다.
1087
+ * @summary 오늘의 추천 투표 설정
1088
+ * @param {SetRecommendationRequest} setRecommendationRequest
1089
+ * @param {*} [options] Override http request option.
1090
+ * @throws {RequiredError}
1091
+ */
1092
+ setTodayRecommendations: async (setRecommendationRequest, options = {}) => {
1093
+ // verify required parameter 'setRecommendationRequest' is not null or undefined
1094
+ (0, common_1.assertParamExists)('setTodayRecommendations', 'setRecommendationRequest', setRecommendationRequest);
1095
+ const localVarPath = `/api/recommendations`;
1096
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1097
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1098
+ let baseOptions;
1099
+ if (configuration) {
1100
+ baseOptions = configuration.baseOptions;
1101
+ }
1102
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
1103
+ const localVarHeaderParameter = {};
1104
+ const localVarQueryParameter = {};
1105
+ // authentication bearerAuth required
1106
+ // http bearer authentication required
1107
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
1108
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1109
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1110
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1111
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
1112
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(setRecommendationRequest, localVarRequestOptions, configuration);
1113
+ return {
1114
+ url: (0, common_1.toPathString)(localVarUrlObj),
1115
+ options: localVarRequestOptions,
1116
+ };
1117
+ },
1085
1118
  /**
1086
1119
  * 사용자 추가 정보(닉네임, 성별, 생년월일)를 설정합니다.
1087
1120
  * @summary 추가 정보 설정
@@ -1635,6 +1668,19 @@ const DefaultApiFp = function (configuration) {
1635
1668
  const localVarOperationServerBasePath = base_1.operationServerMap['DefaultApi.reissue']?.[localVarOperationServerIndex]?.url;
1636
1669
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1637
1670
  },
1671
+ /**
1672
+ * 운영진이 오늘의 추천 투표를 설정합니다.
1673
+ * @summary 오늘의 추천 투표 설정
1674
+ * @param {SetRecommendationRequest} setRecommendationRequest
1675
+ * @param {*} [options] Override http request option.
1676
+ * @throws {RequiredError}
1677
+ */
1678
+ async setTodayRecommendations(setRecommendationRequest, options) {
1679
+ const localVarAxiosArgs = await localVarAxiosParamCreator.setTodayRecommendations(setRecommendationRequest, options);
1680
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1681
+ const localVarOperationServerBasePath = base_1.operationServerMap['DefaultApi.setTodayRecommendations']?.[localVarOperationServerIndex]?.url;
1682
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1683
+ },
1638
1684
  /**
1639
1685
  * 사용자 추가 정보(닉네임, 성별, 생년월일)를 설정합니다.
1640
1686
  * @summary 추가 정보 설정
@@ -2017,6 +2063,16 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
2017
2063
  reissue(options) {
2018
2064
  return localVarFp.reissue(options).then((request) => request(axios, basePath));
2019
2065
  },
2066
+ /**
2067
+ * 운영진이 오늘의 추천 투표를 설정합니다.
2068
+ * @summary 오늘의 추천 투표 설정
2069
+ * @param {SetRecommendationRequest} setRecommendationRequest
2070
+ * @param {*} [options] Override http request option.
2071
+ * @throws {RequiredError}
2072
+ */
2073
+ setTodayRecommendations(setRecommendationRequest, options) {
2074
+ return localVarFp.setTodayRecommendations(setRecommendationRequest, options).then((request) => request(axios, basePath));
2075
+ },
2020
2076
  /**
2021
2077
  * 사용자 추가 정보(닉네임, 성별, 생년월일)를 설정합니다.
2022
2078
  * @summary 추가 정보 설정
@@ -2420,6 +2476,17 @@ class DefaultApi extends base_1.BaseAPI {
2420
2476
  reissue(options) {
2421
2477
  return (0, exports.DefaultApiFp)(this.configuration).reissue(options).then((request) => request(this.axios, this.basePath));
2422
2478
  }
2479
+ /**
2480
+ * 운영진이 오늘의 추천 투표를 설정합니다.
2481
+ * @summary 오늘의 추천 투표 설정
2482
+ * @param {SetRecommendationRequest} setRecommendationRequest
2483
+ * @param {*} [options] Override http request option.
2484
+ * @throws {RequiredError}
2485
+ * @memberof DefaultApi
2486
+ */
2487
+ setTodayRecommendations(setRecommendationRequest, options) {
2488
+ return (0, exports.DefaultApiFp)(this.configuration).setTodayRecommendations(setRecommendationRequest, options).then((request) => request(this.axios, this.basePath));
2489
+ }
2423
2490
  /**
2424
2491
  * 사용자 추가 정보(닉네임, 성별, 생년월일)를 설정합니다.
2425
2492
  * @summary 추가 정보 설정
@@ -37,6 +37,7 @@ 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';
@@ -53,6 +53,7 @@ __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);
@@ -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 });
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.0527.6",
4
4
  "description": "VS Server API client generated from OpenAPI spec",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",