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

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.
@@ -12,6 +12,7 @@
12
12
  import type { Configuration } from '../configuration';
13
13
  import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
14
14
  import { type RequestArgs, BaseAPI } from '../base';
15
+ import type { AdminPushRequest } from '../models';
15
16
  import type { EmojiRequest } from '../models';
16
17
  import type { EmojiResponse } from '../models';
17
18
  import type { FreeVotesResponse } from '../models';
@@ -30,6 +31,7 @@ import type { ParticipateResponse } from '../models';
30
31
  import type { PromptStatusResponse } from '../models';
31
32
  import type { ReadAllResponse } from '../models';
32
33
  import type { RegisterPushTokenRequest } from '../models';
34
+ import type { SendTestPushResponse } from '../models';
33
35
  import type { SetRecommendationRequest } from '../models';
34
36
  import type { ShareLinkResponse } from '../models';
35
37
  import type { UnreadCountResponse } from '../models';
@@ -315,6 +317,14 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
315
317
  * @throws {RequiredError}
316
318
  */
317
319
  reissue: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
320
+ /**
321
+ * 특정 사용자에게 테스트용 푸시 알림을 강제 발송합니다. 어드민 권한이 필요합니다.
322
+ * @summary 테스트 푸시 알림 발송
323
+ * @param {AdminPushRequest} adminPushRequest
324
+ * @param {*} [options] Override http request option.
325
+ * @throws {RequiredError}
326
+ */
327
+ sendTestPush: (adminPushRequest: AdminPushRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
318
328
  /**
319
329
  * 운영진이 오늘의 추천 투표를 설정합니다.
320
330
  * @summary 오늘의 추천 투표 설정
@@ -623,6 +633,14 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
623
633
  * @throws {RequiredError}
624
634
  */
625
635
  reissue(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
636
+ /**
637
+ * 특정 사용자에게 테스트용 푸시 알림을 강제 발송합니다. 어드민 권한이 필요합니다.
638
+ * @summary 테스트 푸시 알림 발송
639
+ * @param {AdminPushRequest} adminPushRequest
640
+ * @param {*} [options] Override http request option.
641
+ * @throws {RequiredError}
642
+ */
643
+ sendTestPush(adminPushRequest: AdminPushRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SendTestPushResponse>>;
626
644
  /**
627
645
  * 운영진이 오늘의 추천 투표를 설정합니다.
628
646
  * @summary 오늘의 추천 투표 설정
@@ -931,6 +949,14 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
931
949
  * @throws {RequiredError}
932
950
  */
933
951
  reissue(options?: RawAxiosRequestConfig): AxiosPromise<void>;
952
+ /**
953
+ * 특정 사용자에게 테스트용 푸시 알림을 강제 발송합니다. 어드민 권한이 필요합니다.
954
+ * @summary 테스트 푸시 알림 발송
955
+ * @param {AdminPushRequest} adminPushRequest
956
+ * @param {*} [options] Override http request option.
957
+ * @throws {RequiredError}
958
+ */
959
+ sendTestPush(adminPushRequest: AdminPushRequest, options?: RawAxiosRequestConfig): AxiosPromise<SendTestPushResponse>;
934
960
  /**
935
961
  * 운영진이 오늘의 추천 투표를 설정합니다.
936
962
  * @summary 오늘의 추천 투표 설정
@@ -1275,6 +1301,15 @@ export declare class DefaultApi extends BaseAPI {
1275
1301
  * @memberof DefaultApi
1276
1302
  */
1277
1303
  reissue(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
1304
+ /**
1305
+ * 특정 사용자에게 테스트용 푸시 알림을 강제 발송합니다. 어드민 권한이 필요합니다.
1306
+ * @summary 테스트 푸시 알림 발송
1307
+ * @param {AdminPushRequest} adminPushRequest
1308
+ * @param {*} [options] Override http request option.
1309
+ * @throws {RequiredError}
1310
+ * @memberof DefaultApi
1311
+ */
1312
+ sendTestPush(adminPushRequest: AdminPushRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SendTestPushResponse, any, {}>>;
1278
1313
  /**
1279
1314
  * 운영진이 오늘의 추천 투표를 설정합니다.
1280
1315
  * @summary 오늘의 추천 투표 설정
@@ -1117,6 +1117,39 @@ const DefaultApiAxiosParamCreator = function (configuration) {
1117
1117
  options: localVarRequestOptions,
1118
1118
  };
1119
1119
  },
1120
+ /**
1121
+ * 특정 사용자에게 테스트용 푸시 알림을 강제 발송합니다. 어드민 권한이 필요합니다.
1122
+ * @summary 테스트 푸시 알림 발송
1123
+ * @param {AdminPushRequest} adminPushRequest
1124
+ * @param {*} [options] Override http request option.
1125
+ * @throws {RequiredError}
1126
+ */
1127
+ sendTestPush: async (adminPushRequest, options = {}) => {
1128
+ // verify required parameter 'adminPushRequest' is not null or undefined
1129
+ (0, common_1.assertParamExists)('sendTestPush', 'adminPushRequest', adminPushRequest);
1130
+ const localVarPath = `/api/admin/push/test`;
1131
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1132
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1133
+ let baseOptions;
1134
+ if (configuration) {
1135
+ baseOptions = configuration.baseOptions;
1136
+ }
1137
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
1138
+ const localVarHeaderParameter = {};
1139
+ const localVarQueryParameter = {};
1140
+ // authentication bearerAuth required
1141
+ // http bearer authentication required
1142
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
1143
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1144
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1145
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1146
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
1147
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(adminPushRequest, localVarRequestOptions, configuration);
1148
+ return {
1149
+ url: (0, common_1.toPathString)(localVarUrlObj),
1150
+ options: localVarRequestOptions,
1151
+ };
1152
+ },
1120
1153
  /**
1121
1154
  * 운영진이 오늘의 추천 투표를 설정합니다.
1122
1155
  * @summary 오늘의 추천 투표 설정
@@ -1716,6 +1749,19 @@ const DefaultApiFp = function (configuration) {
1716
1749
  const localVarOperationServerBasePath = base_1.operationServerMap['DefaultApi.reissue']?.[localVarOperationServerIndex]?.url;
1717
1750
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1718
1751
  },
1752
+ /**
1753
+ * 특정 사용자에게 테스트용 푸시 알림을 강제 발송합니다. 어드민 권한이 필요합니다.
1754
+ * @summary 테스트 푸시 알림 발송
1755
+ * @param {AdminPushRequest} adminPushRequest
1756
+ * @param {*} [options] Override http request option.
1757
+ * @throws {RequiredError}
1758
+ */
1759
+ async sendTestPush(adminPushRequest, options) {
1760
+ const localVarAxiosArgs = await localVarAxiosParamCreator.sendTestPush(adminPushRequest, options);
1761
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1762
+ const localVarOperationServerBasePath = base_1.operationServerMap['DefaultApi.sendTestPush']?.[localVarOperationServerIndex]?.url;
1763
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1764
+ },
1719
1765
  /**
1720
1766
  * 운영진이 오늘의 추천 투표를 설정합니다.
1721
1767
  * @summary 오늘의 추천 투표 설정
@@ -2121,6 +2167,16 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
2121
2167
  reissue(options) {
2122
2168
  return localVarFp.reissue(options).then((request) => request(axios, basePath));
2123
2169
  },
2170
+ /**
2171
+ * 특정 사용자에게 테스트용 푸시 알림을 강제 발송합니다. 어드민 권한이 필요합니다.
2172
+ * @summary 테스트 푸시 알림 발송
2173
+ * @param {AdminPushRequest} adminPushRequest
2174
+ * @param {*} [options] Override http request option.
2175
+ * @throws {RequiredError}
2176
+ */
2177
+ sendTestPush(adminPushRequest, options) {
2178
+ return localVarFp.sendTestPush(adminPushRequest, options).then((request) => request(axios, basePath));
2179
+ },
2124
2180
  /**
2125
2181
  * 운영진이 오늘의 추천 투표를 설정합니다.
2126
2182
  * @summary 오늘의 추천 투표 설정
@@ -2545,6 +2601,17 @@ class DefaultApi extends base_1.BaseAPI {
2545
2601
  reissue(options) {
2546
2602
  return (0, exports.DefaultApiFp)(this.configuration).reissue(options).then((request) => request(this.axios, this.basePath));
2547
2603
  }
2604
+ /**
2605
+ * 특정 사용자에게 테스트용 푸시 알림을 강제 발송합니다. 어드민 권한이 필요합니다.
2606
+ * @summary 테스트 푸시 알림 발송
2607
+ * @param {AdminPushRequest} adminPushRequest
2608
+ * @param {*} [options] Override http request option.
2609
+ * @throws {RequiredError}
2610
+ * @memberof DefaultApi
2611
+ */
2612
+ sendTestPush(adminPushRequest, options) {
2613
+ return (0, exports.DefaultApiFp)(this.configuration).sendTestPush(adminPushRequest, options).then((request) => request(this.axios, this.basePath));
2614
+ }
2548
2615
  /**
2549
2616
  * 운영진이 오늘의 추천 투표를 설정합니다.
2550
2617
  * @summary 오늘의 추천 투표 설정
@@ -0,0 +1,36 @@
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
+ /**
13
+ * QA용 테스트 푸시 알림 발송 요청
14
+ */
15
+ export interface AdminPushRequest {
16
+ /**
17
+ * 푸시 알림을 받을 사용자 ID
18
+ */
19
+ targetUserId: number;
20
+ /**
21
+ * 알림 제목
22
+ */
23
+ title?: string;
24
+ /**
25
+ * 알림 본문
26
+ */
27
+ body?: string;
28
+ /**
29
+ * 연결할 투표 ID (선택)
30
+ */
31
+ voteId?: number;
32
+ /**
33
+ * 썸네일 URL (선택)
34
+ */
35
+ thumbnailUrl?: string;
36
+ }
@@ -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 });
@@ -1,3 +1,4 @@
1
+ export * from './admin-push-request';
1
2
  export * from './age-distribution-response';
2
3
  export * from './ai-insight-response';
3
4
  export * from './chat-list-item-response';
@@ -37,6 +38,7 @@ export * from './recommendation-item';
37
38
  export * from './register-push-token-request';
38
39
  export * from './result-options';
39
40
  export * from './send-message-request';
41
+ export * from './send-test-push-response';
40
42
  export * from './set-recommendation-request';
41
43
  export * from './share-link-response';
42
44
  export * from './unread-count-response';
@@ -14,6 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./admin-push-request"), exports);
17
18
  __exportStar(require("./age-distribution-response"), exports);
18
19
  __exportStar(require("./ai-insight-response"), exports);
19
20
  __exportStar(require("./chat-list-item-response"), exports);
@@ -53,6 +54,7 @@ __exportStar(require("./recommendation-item"), exports);
53
54
  __exportStar(require("./register-push-token-request"), exports);
54
55
  __exportStar(require("./result-options"), exports);
55
56
  __exportStar(require("./send-message-request"), exports);
57
+ __exportStar(require("./send-test-push-response"), exports);
56
58
  __exportStar(require("./set-recommendation-request"), exports);
57
59
  __exportStar(require("./share-link-response"), exports);
58
60
  __exportStar(require("./unread-count-response"), exports);
@@ -0,0 +1,15 @@
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 SendTestPushResponse {
13
+ notificationId?: number;
14
+ message?: string;
15
+ }
@@ -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.0531.3",
3
+ "version": "2026.0531.5",
4
4
  "description": "VS Server API client generated from OpenAPI spec",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",