@ject-4-vs-team/api-client 2026.531.4 → 2026.531.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.
- package/dist/api/default-api.d.ts +35 -0
- package/dist/api/default-api.js +67 -0
- package/dist/models/admin-push-request.d.ts +36 -0
- package/dist/models/admin-push-request.js +15 -0
- package/dist/models/gauge-response.d.ts +4 -0
- package/dist/models/hot-topic-item.d.ts +0 -6
- package/dist/models/hot-topic-item.js +0 -5
- package/dist/models/index.d.ts +2 -0
- package/dist/models/index.js +2 -0
- package/dist/models/recommendation-item.d.ts +0 -6
- package/dist/models/recommendation-item.js +0 -5
- package/dist/models/send-test-push-response.d.ts +15 -0
- package/dist/models/send-test-push-response.js +15 -0
- package/dist/models/vote-create-request.d.ts +0 -6
- package/dist/models/vote-create-request.js +1 -5
- package/dist/models/vote-detail-response.d.ts +0 -6
- package/dist/models/vote-detail-response.js +0 -5
- package/dist/models/vote-element.d.ts +0 -6
- package/dist/models/vote-element.js +0 -5
- package/dist/models/vote-list-item.d.ts +0 -6
- package/dist/models/vote-list-item.js +1 -5
- package/package.json +1 -1
|
@@ -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 오늘의 추천 투표 설정
|
package/dist/api/default-api.js
CHANGED
|
@@ -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 });
|
|
@@ -13,14 +13,8 @@ export interface HotTopicItem {
|
|
|
13
13
|
rank?: number;
|
|
14
14
|
voteId?: number;
|
|
15
15
|
thumbnailUrl?: string;
|
|
16
|
-
voteType?: HotTopicItemVoteTypeEnum;
|
|
17
16
|
title?: string;
|
|
18
17
|
content?: string;
|
|
19
18
|
participantCount?: number;
|
|
20
19
|
endAt?: string;
|
|
21
20
|
}
|
|
22
|
-
export declare const HotTopicItemVoteTypeEnum: {
|
|
23
|
-
readonly General: "GENERAL";
|
|
24
|
-
readonly Immersive: "IMMERSIVE";
|
|
25
|
-
};
|
|
26
|
-
export type HotTopicItemVoteTypeEnum = typeof HotTopicItemVoteTypeEnum[keyof typeof HotTopicItemVoteTypeEnum];
|
package/dist/models/index.d.ts
CHANGED
|
@@ -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';
|
package/dist/models/index.js
CHANGED
|
@@ -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);
|
|
@@ -12,13 +12,7 @@
|
|
|
12
12
|
export interface RecommendationItem {
|
|
13
13
|
voteId?: number;
|
|
14
14
|
thumbnailUrl?: string;
|
|
15
|
-
voteType?: RecommendationItemVoteTypeEnum;
|
|
16
15
|
title?: string;
|
|
17
16
|
content?: string;
|
|
18
17
|
endAt?: string;
|
|
19
18
|
}
|
|
20
|
-
export declare const RecommendationItemVoteTypeEnum: {
|
|
21
|
-
readonly General: "GENERAL";
|
|
22
|
-
readonly Immersive: "IMMERSIVE";
|
|
23
|
-
};
|
|
24
|
-
export type RecommendationItemVoteTypeEnum = typeof RecommendationItemVoteTypeEnum[keyof typeof RecommendationItemVoteTypeEnum];
|
|
@@ -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 });
|
|
@@ -10,7 +10,6 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
export interface VoteCreateRequest {
|
|
13
|
-
type: VoteCreateRequestTypeEnum;
|
|
14
13
|
title?: string;
|
|
15
14
|
content?: string;
|
|
16
15
|
thumbnailUrl?: string;
|
|
@@ -19,11 +18,6 @@ export interface VoteCreateRequest {
|
|
|
19
18
|
optionA?: string;
|
|
20
19
|
optionB?: string;
|
|
21
20
|
}
|
|
22
|
-
export declare const VoteCreateRequestTypeEnum: {
|
|
23
|
-
readonly General: "GENERAL";
|
|
24
|
-
readonly Immersive: "IMMERSIVE";
|
|
25
|
-
};
|
|
26
|
-
export type VoteCreateRequestTypeEnum = typeof VoteCreateRequestTypeEnum[keyof typeof VoteCreateRequestTypeEnum];
|
|
27
21
|
export declare const VoteCreateRequestDurationEnum: {
|
|
28
22
|
readonly Hours12: "HOURS_12";
|
|
29
23
|
readonly Hours24: "HOURS_24";
|
|
@@ -13,11 +13,7 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.VoteCreateRequestDurationEnum =
|
|
17
|
-
exports.VoteCreateRequestTypeEnum = {
|
|
18
|
-
General: 'GENERAL',
|
|
19
|
-
Immersive: 'IMMERSIVE'
|
|
20
|
-
};
|
|
16
|
+
exports.VoteCreateRequestDurationEnum = void 0;
|
|
21
17
|
exports.VoteCreateRequestDurationEnum = {
|
|
22
18
|
Hours12: 'HOURS_12',
|
|
23
19
|
Hours24: 'HOURS_24'
|
|
@@ -14,7 +14,6 @@ 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;
|
|
18
17
|
title?: string;
|
|
19
18
|
createdAt?: string;
|
|
20
19
|
content?: string;
|
|
@@ -28,8 +27,3 @@ export interface VoteDetailResponse {
|
|
|
28
27
|
myEmoji?: string;
|
|
29
28
|
commentCount?: number;
|
|
30
29
|
}
|
|
31
|
-
export declare const VoteDetailResponseVoteTypeEnum: {
|
|
32
|
-
readonly General: "GENERAL";
|
|
33
|
-
readonly Immersive: "IMMERSIVE";
|
|
34
|
-
};
|
|
35
|
-
export type VoteDetailResponseVoteTypeEnum = typeof VoteDetailResponseVoteTypeEnum[keyof typeof VoteDetailResponseVoteTypeEnum];
|
|
@@ -11,15 +11,9 @@
|
|
|
11
11
|
*/
|
|
12
12
|
export interface VoteElement {
|
|
13
13
|
id?: number;
|
|
14
|
-
voteType?: VoteElementVoteTypeEnum;
|
|
15
14
|
title?: string;
|
|
16
15
|
content?: string;
|
|
17
16
|
thumbnailUrl?: string;
|
|
18
17
|
localDate?: string;
|
|
19
18
|
endAt?: string;
|
|
20
19
|
}
|
|
21
|
-
export declare const VoteElementVoteTypeEnum: {
|
|
22
|
-
readonly General: "GENERAL";
|
|
23
|
-
readonly Immersive: "IMMERSIVE";
|
|
24
|
-
};
|
|
25
|
-
export type VoteElementVoteTypeEnum = typeof VoteElementVoteTypeEnum[keyof typeof VoteElementVoteTypeEnum];
|
|
@@ -13,7 +13,6 @@ export interface VoteListItem {
|
|
|
13
13
|
voteId?: number;
|
|
14
14
|
thumbnailUrl?: string;
|
|
15
15
|
status?: VoteListItemStatusEnum;
|
|
16
|
-
voteType?: VoteListItemVoteTypeEnum;
|
|
17
16
|
title?: string;
|
|
18
17
|
content?: string;
|
|
19
18
|
endAt?: string;
|
|
@@ -23,8 +22,3 @@ export declare const VoteListItemStatusEnum: {
|
|
|
23
22
|
readonly Ended: "ENDED";
|
|
24
23
|
};
|
|
25
24
|
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,12 +13,8 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.
|
|
16
|
+
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
|
-
};
|