@ject-4-vs-team/api-client 2026.517.1 → 2026.521.2
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/chat-api.d.ts +4 -4
- package/dist/api/chat-api.js +10 -10
- package/dist/api/default-api.d.ts +1118 -0
- package/dist/api/default-api.js +2165 -0
- package/dist/api.d.ts +1 -7
- package/dist/api.js +1 -7
- package/dist/models/emoji-response.d.ts +2 -4
- package/dist/models/emoji-summary.d.ts +18 -0
- package/dist/models/free-votes-response.d.ts +2 -1
- package/dist/models/gender-detail.d.ts +15 -0
- package/dist/models/gender-detail.js +15 -0
- package/dist/models/gender-distribution-response.d.ts +5 -2
- package/dist/models/home-hot-topic-response.d.ts +15 -0
- package/dist/models/home-hot-topic-response.js +15 -0
- package/dist/models/home-recommendation-response.d.ts +15 -0
- package/dist/models/home-recommendation-response.js +15 -0
- package/dist/models/home-vote-list-response.d.ts +17 -0
- package/dist/models/home-vote-list-response.js +15 -0
- package/dist/models/{feed-item.d.ts → hot-topic-item.d.ts} +5 -6
- package/dist/models/hot-topic-item.js +15 -0
- package/dist/models/immersive-feed-response.d.ts +2 -2
- package/dist/models/immersive-live-response.d.ts +3 -4
- package/dist/models/index.d.ts +19 -1
- package/dist/models/index.js +19 -1
- package/dist/models/my-vote.d.ts +15 -0
- package/dist/models/my-vote.js +15 -0
- package/dist/models/notification-item.d.ts +25 -0
- package/dist/models/notification-item.js +19 -0
- package/dist/models/notification-list-response.d.ts +17 -0
- package/dist/models/notification-list-response.js +15 -0
- package/dist/models/notification-setting-response.d.ts +16 -0
- package/dist/models/notification-setting-response.js +15 -0
- package/dist/models/prompt-status-response.d.ts +15 -0
- package/dist/models/prompt-status-response.js +15 -0
- package/dist/models/read-all-response.d.ts +14 -0
- package/dist/models/read-all-response.js +15 -0
- package/dist/models/recommendation-item.d.ts +18 -0
- package/dist/models/recommendation-item.js +15 -0
- package/dist/models/register-push-token-request.d.ts +20 -0
- package/dist/models/register-push-token-request.js +20 -0
- package/dist/models/result-options.d.ts +15 -0
- package/dist/models/result-options.js +15 -0
- package/dist/models/share-link-response.d.ts +3 -1
- package/dist/models/unread-count-response.d.ts +14 -0
- package/dist/models/unread-count-response.js +15 -0
- package/dist/models/update-notification-setting-request.d.ts +14 -0
- package/dist/models/update-notification-setting-request.js +15 -0
- package/dist/models/vote-detail-response.d.ts +6 -6
- package/dist/models/vote-item.d.ts +27 -0
- package/dist/models/vote-item.js +15 -0
- package/dist/models/vote-list-item.d.ts +24 -0
- package/dist/models/vote-list-item.js +20 -0
- package/dist/models/vote-result-response.d.ts +7 -3
- package/package.json +1 -1
- package/dist/api/auth-controller-api.d.ts +0 -65
- package/dist/api/auth-controller-api.js +0 -118
- package/dist/api/guest-free-vote-controller-api.d.ts +0 -70
- package/dist/api/guest-free-vote-controller-api.js +0 -127
- package/dist/api/immersive-vote-controller-api.d.ts +0 -147
- package/dist/api/immersive-vote-controller-api.js +0 -282
- package/dist/api/user-controller-api.d.ts +0 -183
- package/dist/api/user-controller-api.js +0 -362
- package/dist/api/vote-controller-api.d.ts +0 -173
- package/dist/api/vote-controller-api.js +0 -338
- package/dist/api/vote-emoji-controller-api.d.ts +0 -116
- package/dist/api/vote-emoji-controller-api.js +0 -221
- package/dist/api/vote-result-controller-api.d.ts +0 -100
- package/dist/api/vote-result-controller-api.js +0 -187
- /package/dist/models/{feed-item.js → emoji-summary.js} +0 -0
|
@@ -0,0 +1,1118 @@
|
|
|
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
|
+
import type { Configuration } from '../configuration';
|
|
13
|
+
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
|
+
import { type RequestArgs, BaseAPI } from '../base';
|
|
15
|
+
import type { EmojiRequest } from '../models';
|
|
16
|
+
import type { EmojiResponse } from '../models';
|
|
17
|
+
import type { FreeVotesResponse } from '../models';
|
|
18
|
+
import type { HomeHotTopicResponse } from '../models';
|
|
19
|
+
import type { HomeRecommendationResponse } from '../models';
|
|
20
|
+
import type { HomeVoteListResponse } from '../models';
|
|
21
|
+
import type { ImmersiveFeedResponse } from '../models';
|
|
22
|
+
import type { ImmersiveLiveResponse } from '../models';
|
|
23
|
+
import type { ImmersiveParticipateResponse } from '../models';
|
|
24
|
+
import type { NicknameCheckResponse } from '../models';
|
|
25
|
+
import type { NotificationListResponse } from '../models';
|
|
26
|
+
import type { NotificationSettingResponse } from '../models';
|
|
27
|
+
import type { ParticipateRequest } from '../models';
|
|
28
|
+
import type { ParticipateResponse } from '../models';
|
|
29
|
+
import type { PromptStatusResponse } from '../models';
|
|
30
|
+
import type { ReadAllResponse } from '../models';
|
|
31
|
+
import type { RegisterPushTokenRequest } from '../models';
|
|
32
|
+
import type { ShareLinkResponse } from '../models';
|
|
33
|
+
import type { UnreadCountResponse } from '../models';
|
|
34
|
+
import type { UpdateNotificationSettingRequest } from '../models';
|
|
35
|
+
import type { UserExtraInfo } from '../models';
|
|
36
|
+
import type { UserNicknameRec } from '../models';
|
|
37
|
+
import type { UserProfileDefaultResponse } from '../models';
|
|
38
|
+
import type { UserProfileRequest } from '../models';
|
|
39
|
+
import type { UserProfileResponse } from '../models';
|
|
40
|
+
import type { VoteCreateRequest } from '../models';
|
|
41
|
+
import type { VoteCreateResponse } from '../models';
|
|
42
|
+
import type { VoteDetailResponse } from '../models';
|
|
43
|
+
import type { VoteResultResponse } from '../models';
|
|
44
|
+
/**
|
|
45
|
+
* DefaultApi - axios parameter creator
|
|
46
|
+
* @export
|
|
47
|
+
*/
|
|
48
|
+
export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
49
|
+
/**
|
|
50
|
+
* 투표를 취소합니다. 회원만 가능합니다.
|
|
51
|
+
* @summary 다시 투표하기
|
|
52
|
+
* @param {number} voteId
|
|
53
|
+
* @param {*} [options] Override http request option.
|
|
54
|
+
* @throws {RequiredError}
|
|
55
|
+
*/
|
|
56
|
+
cancel: (voteId: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
57
|
+
/**
|
|
58
|
+
* 새로운 투표를 생성합니다. 회원만 가능합니다.
|
|
59
|
+
* @summary 투표 생성
|
|
60
|
+
* @param {VoteCreateRequest} voteCreateRequest
|
|
61
|
+
* @param {*} [options] Override http request option.
|
|
62
|
+
* @throws {RequiredError}
|
|
63
|
+
*/
|
|
64
|
+
create: (voteCreateRequest: VoteCreateRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
65
|
+
/**
|
|
66
|
+
* 현재 알림 설정 상태를 조회합니다.
|
|
67
|
+
* @summary 알림 설정 조회
|
|
68
|
+
* @param {*} [options] Override http request option.
|
|
69
|
+
* @throws {RequiredError}
|
|
70
|
+
*/
|
|
71
|
+
get: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
72
|
+
/**
|
|
73
|
+
* 투표 상세 정보를 조회합니다. 투표 전에는 결과(voteCount/ratio)가 null로 응답됩니다.
|
|
74
|
+
* @summary 투표 상세 조회
|
|
75
|
+
* @param {number} voteId
|
|
76
|
+
* @param {*} [options] Override http request option.
|
|
77
|
+
* @throws {RequiredError}
|
|
78
|
+
*/
|
|
79
|
+
getDetail: (voteId: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
80
|
+
/**
|
|
81
|
+
* 스와이프 형식의 몰입형 투표 피드를 조회합니다. 커서 기반 페이지네이션을 지원합니다.
|
|
82
|
+
* @summary 몰입형 투표 피드 조회
|
|
83
|
+
* @param {number} [cursor]
|
|
84
|
+
* @param {number} [size]
|
|
85
|
+
* @param {*} [options] Override http request option.
|
|
86
|
+
* @throws {RequiredError}
|
|
87
|
+
*/
|
|
88
|
+
getFeed: (cursor?: number, size?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
89
|
+
/**
|
|
90
|
+
* 비회원의 잔여 무료 투표권 수를 조회합니다. 회원은 remainingFreeVotes가 null로 응답됩니다.
|
|
91
|
+
* @summary 잔여 무료 투표권 조회
|
|
92
|
+
* @param {*} [options] Override http request option.
|
|
93
|
+
* @throws {RequiredError}
|
|
94
|
+
*/
|
|
95
|
+
getFreeVotes: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
96
|
+
/**
|
|
97
|
+
* 인기 점수 기준 상위 3개 투표를 조회합니다. 인기 점수 = (참여 수 × 0.7) + (조회 수 × 0.3)
|
|
98
|
+
* @summary 핫토픽 TOP 3 조회
|
|
99
|
+
* @param {*} [options] Override http request option.
|
|
100
|
+
* @throws {RequiredError}
|
|
101
|
+
*/
|
|
102
|
+
getHotTopics: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
103
|
+
/**
|
|
104
|
+
* 알림 목록을 조회합니다. 커서 기반 페이지네이션을 지원합니다.
|
|
105
|
+
* @summary 알림 목록 조회
|
|
106
|
+
* @param {number} [cursor]
|
|
107
|
+
* @param {number} [size]
|
|
108
|
+
* @param {*} [options] Override http request option.
|
|
109
|
+
* @throws {RequiredError}
|
|
110
|
+
*/
|
|
111
|
+
getList: (cursor?: number, size?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
112
|
+
/**
|
|
113
|
+
* 투표 후 실시간 비율 갱신을 위한 폴링 API입니다.
|
|
114
|
+
* @summary 실시간 투표 현황 조회
|
|
115
|
+
* @param {number} voteId
|
|
116
|
+
* @param {*} [options] Override http request option.
|
|
117
|
+
* @throws {RequiredError}
|
|
118
|
+
*/
|
|
119
|
+
getLive: (voteId: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
120
|
+
/**
|
|
121
|
+
* 로그인한 사용자의 프로필 정보를 조회합니다.
|
|
122
|
+
* @summary 내 프로필 조회
|
|
123
|
+
* @param {*} [options] Override http request option.
|
|
124
|
+
* @throws {RequiredError}
|
|
125
|
+
*/
|
|
126
|
+
getMyProfile: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
127
|
+
/**
|
|
128
|
+
* 운영진이 선정한 오늘의 추천 투표 목록을 조회합니다.
|
|
129
|
+
* @summary 오늘의 추천 조회
|
|
130
|
+
* @param {*} [options] Override http request option.
|
|
131
|
+
* @throws {RequiredError}
|
|
132
|
+
*/
|
|
133
|
+
getRecommendations: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
134
|
+
/**
|
|
135
|
+
* 마감된 투표의 결과를 조회합니다. 진행 중 투표는 403 응답합니다. 비회원은 insight가 잠금 상태로 응답됩니다.
|
|
136
|
+
* @summary 투표 결과 조회
|
|
137
|
+
* @param {number} voteId
|
|
138
|
+
* @param {*} [options] Override http request option.
|
|
139
|
+
* @throws {RequiredError}
|
|
140
|
+
*/
|
|
141
|
+
getResult: (voteId: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
142
|
+
/**
|
|
143
|
+
* 투표 공유를 위한 링크를 생성합니다.
|
|
144
|
+
* @summary 공유 링크 생성
|
|
145
|
+
* @param {number} voteId
|
|
146
|
+
* @param {*} [options] Override http request option.
|
|
147
|
+
* @throws {RequiredError}
|
|
148
|
+
*/
|
|
149
|
+
getShareLink: (voteId: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
150
|
+
/**
|
|
151
|
+
* 투표 공유를 위한 링크를 생성합니다.
|
|
152
|
+
* @summary 공유 링크 생성
|
|
153
|
+
* @param {number} voteId
|
|
154
|
+
* @param {*} [options] Override http request option.
|
|
155
|
+
* @throws {RequiredError}
|
|
156
|
+
*/
|
|
157
|
+
getShareLink1: (voteId: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
158
|
+
/**
|
|
159
|
+
* 알림 권한 요청 프롬프트를 표시해야 하는지 여부를 조회합니다.
|
|
160
|
+
* @summary 프롬프트 표시 여부 조회
|
|
161
|
+
* @param {*} [options] Override http request option.
|
|
162
|
+
* @throws {RequiredError}
|
|
163
|
+
*/
|
|
164
|
+
getStatus: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
165
|
+
/**
|
|
166
|
+
* 읽지 않은 알림의 개수를 조회합니다.
|
|
167
|
+
* @summary 읽지 않은 알림 수 조회
|
|
168
|
+
* @param {*} [options] Override http request option.
|
|
169
|
+
* @throws {RequiredError}
|
|
170
|
+
*/
|
|
171
|
+
getUnreadCount: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
172
|
+
/**
|
|
173
|
+
* 전체 투표 목록을 조회합니다. 커서 기반 페이지네이션을 지원합니다.
|
|
174
|
+
* @summary 전체 투표 목록 조회
|
|
175
|
+
* @param {number} [cursor] 다음 페이지 조회를 위한 커서 (이전 응답의 nextCursor)
|
|
176
|
+
* @param {number} [size] 페이지 크기
|
|
177
|
+
* @param {GetVoteListSortEnum} [sort] 정렬 기준: LATEST(최신순), POPULAR(인기순), ENDING_SOON(종료임박순)
|
|
178
|
+
* @param {*} [options] Override http request option.
|
|
179
|
+
* @throws {RequiredError}
|
|
180
|
+
*/
|
|
181
|
+
getVoteList: (cursor?: number, size?: number, sort?: GetVoteListSortEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
182
|
+
/**
|
|
183
|
+
* 사용자 기본 프로필 정보를 초기화합니다.
|
|
184
|
+
* @summary 기본 프로필 초기화
|
|
185
|
+
* @param {UserProfileRequest} userProfileRequest
|
|
186
|
+
* @param {*} [options] Override http request option.
|
|
187
|
+
* @throws {RequiredError}
|
|
188
|
+
*/
|
|
189
|
+
initializeDefaultProfile: (userProfileRequest: UserProfileRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
190
|
+
/**
|
|
191
|
+
* 닉네임 사용 가능 여부를 확인합니다.
|
|
192
|
+
* @summary 닉네임 중복 확인
|
|
193
|
+
* @param {UserNicknameRec} userNicknameRec
|
|
194
|
+
* @param {*} [options] Override http request option.
|
|
195
|
+
* @throws {RequiredError}
|
|
196
|
+
*/
|
|
197
|
+
isUniqueNickname: (userNicknameRec: UserNicknameRec, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
198
|
+
/**
|
|
199
|
+
* 모든 알림을 읽음 처리합니다.
|
|
200
|
+
* @summary 모든 알림 읽음 처리
|
|
201
|
+
* @param {*} [options] Override http request option.
|
|
202
|
+
* @throws {RequiredError}
|
|
203
|
+
*/
|
|
204
|
+
markAllAsRead: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
205
|
+
/**
|
|
206
|
+
* 특정 알림을 읽음 처리합니다.
|
|
207
|
+
* @summary 알림 읽음 처리
|
|
208
|
+
* @param {number} notificationId
|
|
209
|
+
* @param {*} [options] Override http request option.
|
|
210
|
+
* @throws {RequiredError}
|
|
211
|
+
*/
|
|
212
|
+
markAsRead: (notificationId: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
213
|
+
/**
|
|
214
|
+
* 투표에 참여합니다. 비회원은 5회까지 무료 투표 가능합니다.
|
|
215
|
+
* @summary 투표 참여
|
|
216
|
+
* @param {number} voteId
|
|
217
|
+
* @param {ParticipateRequest} participateRequest
|
|
218
|
+
* @param {*} [options] Override http request option.
|
|
219
|
+
* @throws {RequiredError}
|
|
220
|
+
*/
|
|
221
|
+
participate: (voteId: number, participateRequest: ParticipateRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
222
|
+
/**
|
|
223
|
+
* 투표에 참여하거나 같은 옵션 재클릭 시 취소합니다. 비회원은 5회까지 무료 투표 가능합니다.
|
|
224
|
+
* @summary 투표 참여/취소
|
|
225
|
+
* @param {number} voteId
|
|
226
|
+
* @param {ParticipateRequest} participateRequest
|
|
227
|
+
* @param {*} [options] Override http request option.
|
|
228
|
+
* @throws {RequiredError}
|
|
229
|
+
*/
|
|
230
|
+
participateOrCancel: (voteId: number, participateRequest: ParticipateRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
231
|
+
/**
|
|
232
|
+
* 이모지 반응을 추가/변경/취소합니다. 같은 이모지 재선택 또는 null 전송 시 취소됩니다.
|
|
233
|
+
* @summary 몰입형 투표 이모지 반응
|
|
234
|
+
* @param {number} voteId
|
|
235
|
+
* @param {EmojiRequest} emojiRequest
|
|
236
|
+
* @param {*} [options] Override http request option.
|
|
237
|
+
* @throws {RequiredError}
|
|
238
|
+
*/
|
|
239
|
+
reactOnImmersiveVote: (voteId: number, emojiRequest: EmojiRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
240
|
+
/**
|
|
241
|
+
* 이모지 반응을 추가/변경/취소합니��. 같은 이모지 재선택 또는 null 전송 시 취소됩니다.
|
|
242
|
+
* @summary 일반형 투표 이모지 반응
|
|
243
|
+
* @param {number} voteId
|
|
244
|
+
* @param {EmojiRequest} emojiRequest
|
|
245
|
+
* @param {*} [options] Override http request option.
|
|
246
|
+
* @throws {RequiredError}
|
|
247
|
+
*/
|
|
248
|
+
reactOnVote: (voteId: number, emojiRequest: EmojiRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
249
|
+
/**
|
|
250
|
+
* 사용자가 알림 권한 프롬프트를 거절했음을 기록합니다.
|
|
251
|
+
* @summary 프롬프트 거절 기록
|
|
252
|
+
* @param {*} [options] Override http request option.
|
|
253
|
+
* @throws {RequiredError}
|
|
254
|
+
*/
|
|
255
|
+
recordDismissed: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
256
|
+
/**
|
|
257
|
+
* FCM/APNs 디바이스 토큰을 등록합니다. 투표 종료 시 푸시 알림 발송에 사용됩니다.
|
|
258
|
+
* @summary 푸시 토큰 등록
|
|
259
|
+
* @param {RegisterPushTokenRequest} registerPushTokenRequest
|
|
260
|
+
* @param {*} [options] Override http request option.
|
|
261
|
+
* @throws {RequiredError}
|
|
262
|
+
*/
|
|
263
|
+
register: (registerPushTokenRequest: RegisterPushTokenRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
264
|
+
/**
|
|
265
|
+
* Refresh Token으로 Access Token을 재발급합니다.
|
|
266
|
+
* @summary 토큰 재발급
|
|
267
|
+
* @param {*} [options] Override http request option.
|
|
268
|
+
* @throws {RequiredError}
|
|
269
|
+
*/
|
|
270
|
+
reissue: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
271
|
+
/**
|
|
272
|
+
* 사용자 추가 정보(닉네임, 성별, 생년월일)를 설정합니다.
|
|
273
|
+
* @summary 추가 정보 설정
|
|
274
|
+
* @param {UserExtraInfo} userExtraInfo
|
|
275
|
+
* @param {*} [options] Override http request option.
|
|
276
|
+
* @throws {RequiredError}
|
|
277
|
+
*/
|
|
278
|
+
setupInfo: (userExtraInfo: UserExtraInfo, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
279
|
+
/**
|
|
280
|
+
* 사용 가능한 랜덤 닉네임을 추천합니다.
|
|
281
|
+
* @summary 닉네임 추천
|
|
282
|
+
* @param {*} [options] Override http request option.
|
|
283
|
+
* @throws {RequiredError}
|
|
284
|
+
*/
|
|
285
|
+
suggestNickname: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
286
|
+
/**
|
|
287
|
+
* 등록된 모든 푸시 토큰을 해제합니다.
|
|
288
|
+
* @summary 푸시 토큰 해제
|
|
289
|
+
* @param {*} [options] Override http request option.
|
|
290
|
+
* @throws {RequiredError}
|
|
291
|
+
*/
|
|
292
|
+
unregisterAll: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
293
|
+
/**
|
|
294
|
+
* 푸시 알림 ON/OFF 설정을 변경합니다.
|
|
295
|
+
* @summary 알림 설정 변경
|
|
296
|
+
* @param {UpdateNotificationSettingRequest} updateNotificationSettingRequest
|
|
297
|
+
* @param {*} [options] Override http request option.
|
|
298
|
+
* @throws {RequiredError}
|
|
299
|
+
*/
|
|
300
|
+
update: (updateNotificationSettingRequest: UpdateNotificationSettingRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
301
|
+
};
|
|
302
|
+
/**
|
|
303
|
+
* DefaultApi - functional programming interface
|
|
304
|
+
* @export
|
|
305
|
+
*/
|
|
306
|
+
export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
307
|
+
/**
|
|
308
|
+
* 투표를 취소합니다. 회원만 가능합니다.
|
|
309
|
+
* @summary 다시 투표하기
|
|
310
|
+
* @param {number} voteId
|
|
311
|
+
* @param {*} [options] Override http request option.
|
|
312
|
+
* @throws {RequiredError}
|
|
313
|
+
*/
|
|
314
|
+
cancel(voteId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
315
|
+
/**
|
|
316
|
+
* 새로운 투표를 생성합니다. 회원만 가능합니다.
|
|
317
|
+
* @summary 투표 생성
|
|
318
|
+
* @param {VoteCreateRequest} voteCreateRequest
|
|
319
|
+
* @param {*} [options] Override http request option.
|
|
320
|
+
* @throws {RequiredError}
|
|
321
|
+
*/
|
|
322
|
+
create(voteCreateRequest: VoteCreateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VoteCreateResponse>>;
|
|
323
|
+
/**
|
|
324
|
+
* 현재 알림 설정 상태를 조회합니다.
|
|
325
|
+
* @summary 알림 설정 조회
|
|
326
|
+
* @param {*} [options] Override http request option.
|
|
327
|
+
* @throws {RequiredError}
|
|
328
|
+
*/
|
|
329
|
+
get(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<NotificationSettingResponse>>;
|
|
330
|
+
/**
|
|
331
|
+
* 투표 상세 정보를 조회합니다. 투표 전에는 결과(voteCount/ratio)가 null로 응답됩니다.
|
|
332
|
+
* @summary 투표 상세 조회
|
|
333
|
+
* @param {number} voteId
|
|
334
|
+
* @param {*} [options] Override http request option.
|
|
335
|
+
* @throws {RequiredError}
|
|
336
|
+
*/
|
|
337
|
+
getDetail(voteId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VoteDetailResponse>>;
|
|
338
|
+
/**
|
|
339
|
+
* 스와이프 형식의 몰입형 투표 피드를 조회합니다. 커서 기반 페이지네이션을 지원합니다.
|
|
340
|
+
* @summary 몰입형 투표 피드 조회
|
|
341
|
+
* @param {number} [cursor]
|
|
342
|
+
* @param {number} [size]
|
|
343
|
+
* @param {*} [options] Override http request option.
|
|
344
|
+
* @throws {RequiredError}
|
|
345
|
+
*/
|
|
346
|
+
getFeed(cursor?: number, size?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ImmersiveFeedResponse>>;
|
|
347
|
+
/**
|
|
348
|
+
* 비회원의 잔여 무료 투표권 수를 조회합니다. 회원은 remainingFreeVotes가 null로 응답됩니다.
|
|
349
|
+
* @summary 잔여 무료 투표권 조회
|
|
350
|
+
* @param {*} [options] Override http request option.
|
|
351
|
+
* @throws {RequiredError}
|
|
352
|
+
*/
|
|
353
|
+
getFreeVotes(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FreeVotesResponse>>;
|
|
354
|
+
/**
|
|
355
|
+
* 인기 점수 기준 상위 3개 투표를 조회합니다. 인기 점수 = (참여 수 × 0.7) + (조회 수 × 0.3)
|
|
356
|
+
* @summary 핫토픽 TOP 3 조회
|
|
357
|
+
* @param {*} [options] Override http request option.
|
|
358
|
+
* @throws {RequiredError}
|
|
359
|
+
*/
|
|
360
|
+
getHotTopics(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HomeHotTopicResponse>>;
|
|
361
|
+
/**
|
|
362
|
+
* 알림 목록을 조회합니다. 커서 기반 페이지네이션을 지원합니다.
|
|
363
|
+
* @summary 알림 목록 조회
|
|
364
|
+
* @param {number} [cursor]
|
|
365
|
+
* @param {number} [size]
|
|
366
|
+
* @param {*} [options] Override http request option.
|
|
367
|
+
* @throws {RequiredError}
|
|
368
|
+
*/
|
|
369
|
+
getList(cursor?: number, size?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<NotificationListResponse>>;
|
|
370
|
+
/**
|
|
371
|
+
* 투표 후 실시간 비율 갱신을 위한 폴링 API입니다.
|
|
372
|
+
* @summary 실시간 투표 현황 조회
|
|
373
|
+
* @param {number} voteId
|
|
374
|
+
* @param {*} [options] Override http request option.
|
|
375
|
+
* @throws {RequiredError}
|
|
376
|
+
*/
|
|
377
|
+
getLive(voteId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ImmersiveLiveResponse>>;
|
|
378
|
+
/**
|
|
379
|
+
* 로그인한 사용자의 프로필 정보를 조회합니다.
|
|
380
|
+
* @summary 내 프로필 조회
|
|
381
|
+
* @param {*} [options] Override http request option.
|
|
382
|
+
* @throws {RequiredError}
|
|
383
|
+
*/
|
|
384
|
+
getMyProfile(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserProfileResponse>>;
|
|
385
|
+
/**
|
|
386
|
+
* 운영진이 선정한 오늘의 추천 투표 목록을 조회합니다.
|
|
387
|
+
* @summary 오늘의 추천 조회
|
|
388
|
+
* @param {*} [options] Override http request option.
|
|
389
|
+
* @throws {RequiredError}
|
|
390
|
+
*/
|
|
391
|
+
getRecommendations(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HomeRecommendationResponse>>;
|
|
392
|
+
/**
|
|
393
|
+
* 마감된 투표의 결과를 조회합니다. 진행 중 투표는 403 응답합니다. 비회원은 insight가 잠금 상태로 응답됩니다.
|
|
394
|
+
* @summary 투표 결과 조회
|
|
395
|
+
* @param {number} voteId
|
|
396
|
+
* @param {*} [options] Override http request option.
|
|
397
|
+
* @throws {RequiredError}
|
|
398
|
+
*/
|
|
399
|
+
getResult(voteId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VoteResultResponse>>;
|
|
400
|
+
/**
|
|
401
|
+
* 투표 공유를 위한 링크를 생성합니다.
|
|
402
|
+
* @summary 공유 링크 생성
|
|
403
|
+
* @param {number} voteId
|
|
404
|
+
* @param {*} [options] Override http request option.
|
|
405
|
+
* @throws {RequiredError}
|
|
406
|
+
*/
|
|
407
|
+
getShareLink(voteId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShareLinkResponse>>;
|
|
408
|
+
/**
|
|
409
|
+
* 투표 공유를 위한 링크를 생성합니다.
|
|
410
|
+
* @summary 공유 링크 생성
|
|
411
|
+
* @param {number} voteId
|
|
412
|
+
* @param {*} [options] Override http request option.
|
|
413
|
+
* @throws {RequiredError}
|
|
414
|
+
*/
|
|
415
|
+
getShareLink1(voteId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShareLinkResponse>>;
|
|
416
|
+
/**
|
|
417
|
+
* 알림 권한 요청 프롬프트를 표시해야 하는지 여부를 조회합니다.
|
|
418
|
+
* @summary 프롬프트 표시 여부 조회
|
|
419
|
+
* @param {*} [options] Override http request option.
|
|
420
|
+
* @throws {RequiredError}
|
|
421
|
+
*/
|
|
422
|
+
getStatus(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PromptStatusResponse>>;
|
|
423
|
+
/**
|
|
424
|
+
* 읽지 않은 알림의 개수를 조회합니다.
|
|
425
|
+
* @summary 읽지 않은 알림 수 조회
|
|
426
|
+
* @param {*} [options] Override http request option.
|
|
427
|
+
* @throws {RequiredError}
|
|
428
|
+
*/
|
|
429
|
+
getUnreadCount(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UnreadCountResponse>>;
|
|
430
|
+
/**
|
|
431
|
+
* 전체 투표 목록을 조회합니다. 커서 기반 페이지네이션을 지원합니다.
|
|
432
|
+
* @summary 전체 투표 목록 조회
|
|
433
|
+
* @param {number} [cursor] 다음 페이지 조회를 위한 커서 (이전 응답의 nextCursor)
|
|
434
|
+
* @param {number} [size] 페이지 크기
|
|
435
|
+
* @param {GetVoteListSortEnum} [sort] 정렬 기준: LATEST(최신순), POPULAR(인기순), ENDING_SOON(종료임박순)
|
|
436
|
+
* @param {*} [options] Override http request option.
|
|
437
|
+
* @throws {RequiredError}
|
|
438
|
+
*/
|
|
439
|
+
getVoteList(cursor?: number, size?: number, sort?: GetVoteListSortEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HomeVoteListResponse>>;
|
|
440
|
+
/**
|
|
441
|
+
* 사용자 기본 프로필 정보를 초기화합니다.
|
|
442
|
+
* @summary 기본 프로필 초기화
|
|
443
|
+
* @param {UserProfileRequest} userProfileRequest
|
|
444
|
+
* @param {*} [options] Override http request option.
|
|
445
|
+
* @throws {RequiredError}
|
|
446
|
+
*/
|
|
447
|
+
initializeDefaultProfile(userProfileRequest: UserProfileRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserProfileDefaultResponse>>;
|
|
448
|
+
/**
|
|
449
|
+
* 닉네임 사용 가능 여부를 확인합니다.
|
|
450
|
+
* @summary 닉네임 중복 확인
|
|
451
|
+
* @param {UserNicknameRec} userNicknameRec
|
|
452
|
+
* @param {*} [options] Override http request option.
|
|
453
|
+
* @throws {RequiredError}
|
|
454
|
+
*/
|
|
455
|
+
isUniqueNickname(userNicknameRec: UserNicknameRec, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<NicknameCheckResponse>>;
|
|
456
|
+
/**
|
|
457
|
+
* 모든 알림을 읽음 처리합니다.
|
|
458
|
+
* @summary 모든 알림 읽음 처리
|
|
459
|
+
* @param {*} [options] Override http request option.
|
|
460
|
+
* @throws {RequiredError}
|
|
461
|
+
*/
|
|
462
|
+
markAllAsRead(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReadAllResponse>>;
|
|
463
|
+
/**
|
|
464
|
+
* 특정 알림을 읽음 처리합니다.
|
|
465
|
+
* @summary 알림 읽음 처리
|
|
466
|
+
* @param {number} notificationId
|
|
467
|
+
* @param {*} [options] Override http request option.
|
|
468
|
+
* @throws {RequiredError}
|
|
469
|
+
*/
|
|
470
|
+
markAsRead(notificationId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
471
|
+
/**
|
|
472
|
+
* 투표에 참여합니다. 비회원은 5회까지 무료 투표 가능합니다.
|
|
473
|
+
* @summary 투표 참여
|
|
474
|
+
* @param {number} voteId
|
|
475
|
+
* @param {ParticipateRequest} participateRequest
|
|
476
|
+
* @param {*} [options] Override http request option.
|
|
477
|
+
* @throws {RequiredError}
|
|
478
|
+
*/
|
|
479
|
+
participate(voteId: number, participateRequest: ParticipateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ParticipateResponse>>;
|
|
480
|
+
/**
|
|
481
|
+
* 투표에 참여하거나 같은 옵션 재클릭 시 취소합니다. 비회원은 5회까지 무료 투표 가능합니다.
|
|
482
|
+
* @summary 투표 참여/취소
|
|
483
|
+
* @param {number} voteId
|
|
484
|
+
* @param {ParticipateRequest} participateRequest
|
|
485
|
+
* @param {*} [options] Override http request option.
|
|
486
|
+
* @throws {RequiredError}
|
|
487
|
+
*/
|
|
488
|
+
participateOrCancel(voteId: number, participateRequest: ParticipateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ImmersiveParticipateResponse>>;
|
|
489
|
+
/**
|
|
490
|
+
* 이모지 반응을 추가/변경/취소합니다. 같은 이모지 재선택 또는 null 전송 시 취소됩니다.
|
|
491
|
+
* @summary 몰입형 투표 이모지 반응
|
|
492
|
+
* @param {number} voteId
|
|
493
|
+
* @param {EmojiRequest} emojiRequest
|
|
494
|
+
* @param {*} [options] Override http request option.
|
|
495
|
+
* @throws {RequiredError}
|
|
496
|
+
*/
|
|
497
|
+
reactOnImmersiveVote(voteId: number, emojiRequest: EmojiRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EmojiResponse>>;
|
|
498
|
+
/**
|
|
499
|
+
* 이모지 반응을 추가/변경/취소합니��. 같은 이모지 재선택 또는 null 전송 시 취소됩니다.
|
|
500
|
+
* @summary 일반형 투표 이모지 반응
|
|
501
|
+
* @param {number} voteId
|
|
502
|
+
* @param {EmojiRequest} emojiRequest
|
|
503
|
+
* @param {*} [options] Override http request option.
|
|
504
|
+
* @throws {RequiredError}
|
|
505
|
+
*/
|
|
506
|
+
reactOnVote(voteId: number, emojiRequest: EmojiRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EmojiResponse>>;
|
|
507
|
+
/**
|
|
508
|
+
* 사용자가 알림 권한 프롬프트를 거절했음을 기록합니다.
|
|
509
|
+
* @summary 프롬프트 거절 기록
|
|
510
|
+
* @param {*} [options] Override http request option.
|
|
511
|
+
* @throws {RequiredError}
|
|
512
|
+
*/
|
|
513
|
+
recordDismissed(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
514
|
+
/**
|
|
515
|
+
* FCM/APNs 디바이스 토큰을 등록합니다. 투표 종료 시 푸시 알림 발송에 사용됩니다.
|
|
516
|
+
* @summary 푸시 토큰 등록
|
|
517
|
+
* @param {RegisterPushTokenRequest} registerPushTokenRequest
|
|
518
|
+
* @param {*} [options] Override http request option.
|
|
519
|
+
* @throws {RequiredError}
|
|
520
|
+
*/
|
|
521
|
+
register(registerPushTokenRequest: RegisterPushTokenRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
522
|
+
/**
|
|
523
|
+
* Refresh Token으로 Access Token을 재발급합니다.
|
|
524
|
+
* @summary 토큰 재발급
|
|
525
|
+
* @param {*} [options] Override http request option.
|
|
526
|
+
* @throws {RequiredError}
|
|
527
|
+
*/
|
|
528
|
+
reissue(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
529
|
+
/**
|
|
530
|
+
* 사용자 추가 정보(닉네임, 성별, 생년월일)를 설정합니다.
|
|
531
|
+
* @summary 추가 정보 설정
|
|
532
|
+
* @param {UserExtraInfo} userExtraInfo
|
|
533
|
+
* @param {*} [options] Override http request option.
|
|
534
|
+
* @throws {RequiredError}
|
|
535
|
+
*/
|
|
536
|
+
setupInfo(userExtraInfo: UserExtraInfo, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserProfileResponse>>;
|
|
537
|
+
/**
|
|
538
|
+
* 사용 가능한 랜덤 닉네임을 추천합니다.
|
|
539
|
+
* @summary 닉네임 추천
|
|
540
|
+
* @param {*} [options] Override http request option.
|
|
541
|
+
* @throws {RequiredError}
|
|
542
|
+
*/
|
|
543
|
+
suggestNickname(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserNicknameRec>>;
|
|
544
|
+
/**
|
|
545
|
+
* 등록된 모든 푸시 토큰을 해제합니다.
|
|
546
|
+
* @summary 푸시 토큰 해제
|
|
547
|
+
* @param {*} [options] Override http request option.
|
|
548
|
+
* @throws {RequiredError}
|
|
549
|
+
*/
|
|
550
|
+
unregisterAll(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
551
|
+
/**
|
|
552
|
+
* 푸시 알림 ON/OFF 설정을 변경합니다.
|
|
553
|
+
* @summary 알림 설정 변경
|
|
554
|
+
* @param {UpdateNotificationSettingRequest} updateNotificationSettingRequest
|
|
555
|
+
* @param {*} [options] Override http request option.
|
|
556
|
+
* @throws {RequiredError}
|
|
557
|
+
*/
|
|
558
|
+
update(updateNotificationSettingRequest: UpdateNotificationSettingRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<NotificationSettingResponse>>;
|
|
559
|
+
};
|
|
560
|
+
/**
|
|
561
|
+
* DefaultApi - factory interface
|
|
562
|
+
* @export
|
|
563
|
+
*/
|
|
564
|
+
export declare const DefaultApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
565
|
+
/**
|
|
566
|
+
* 투표를 취소합니다. 회원만 가능합니다.
|
|
567
|
+
* @summary 다시 투표하기
|
|
568
|
+
* @param {number} voteId
|
|
569
|
+
* @param {*} [options] Override http request option.
|
|
570
|
+
* @throws {RequiredError}
|
|
571
|
+
*/
|
|
572
|
+
cancel(voteId: number, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
573
|
+
/**
|
|
574
|
+
* 새로운 투표를 생성합니다. 회원만 가능합니다.
|
|
575
|
+
* @summary 투표 생성
|
|
576
|
+
* @param {VoteCreateRequest} voteCreateRequest
|
|
577
|
+
* @param {*} [options] Override http request option.
|
|
578
|
+
* @throws {RequiredError}
|
|
579
|
+
*/
|
|
580
|
+
create(voteCreateRequest: VoteCreateRequest, options?: RawAxiosRequestConfig): AxiosPromise<VoteCreateResponse>;
|
|
581
|
+
/**
|
|
582
|
+
* 현재 알림 설정 상태를 조회합니다.
|
|
583
|
+
* @summary 알림 설정 조회
|
|
584
|
+
* @param {*} [options] Override http request option.
|
|
585
|
+
* @throws {RequiredError}
|
|
586
|
+
*/
|
|
587
|
+
get(options?: RawAxiosRequestConfig): AxiosPromise<NotificationSettingResponse>;
|
|
588
|
+
/**
|
|
589
|
+
* 투표 상세 정보를 조회합니다. 투표 전에는 결과(voteCount/ratio)가 null로 응답됩니다.
|
|
590
|
+
* @summary 투표 상세 조회
|
|
591
|
+
* @param {number} voteId
|
|
592
|
+
* @param {*} [options] Override http request option.
|
|
593
|
+
* @throws {RequiredError}
|
|
594
|
+
*/
|
|
595
|
+
getDetail(voteId: number, options?: RawAxiosRequestConfig): AxiosPromise<VoteDetailResponse>;
|
|
596
|
+
/**
|
|
597
|
+
* 스와이프 형식의 몰입형 투표 피드를 조회합니다. 커서 기반 페이지네이션을 지원합니다.
|
|
598
|
+
* @summary 몰입형 투표 피드 조회
|
|
599
|
+
* @param {number} [cursor]
|
|
600
|
+
* @param {number} [size]
|
|
601
|
+
* @param {*} [options] Override http request option.
|
|
602
|
+
* @throws {RequiredError}
|
|
603
|
+
*/
|
|
604
|
+
getFeed(cursor?: number, size?: number, options?: RawAxiosRequestConfig): AxiosPromise<ImmersiveFeedResponse>;
|
|
605
|
+
/**
|
|
606
|
+
* 비회원의 잔여 무료 투표권 수를 조회합니다. 회원은 remainingFreeVotes가 null로 응답됩니다.
|
|
607
|
+
* @summary 잔여 무료 투표권 조회
|
|
608
|
+
* @param {*} [options] Override http request option.
|
|
609
|
+
* @throws {RequiredError}
|
|
610
|
+
*/
|
|
611
|
+
getFreeVotes(options?: RawAxiosRequestConfig): AxiosPromise<FreeVotesResponse>;
|
|
612
|
+
/**
|
|
613
|
+
* 인기 점수 기준 상위 3개 투표를 조회합니다. 인기 점수 = (참여 수 × 0.7) + (조회 수 × 0.3)
|
|
614
|
+
* @summary 핫토픽 TOP 3 조회
|
|
615
|
+
* @param {*} [options] Override http request option.
|
|
616
|
+
* @throws {RequiredError}
|
|
617
|
+
*/
|
|
618
|
+
getHotTopics(options?: RawAxiosRequestConfig): AxiosPromise<HomeHotTopicResponse>;
|
|
619
|
+
/**
|
|
620
|
+
* 알림 목록을 조회합니다. 커서 기반 페이지네이션을 지원합니다.
|
|
621
|
+
* @summary 알림 목록 조회
|
|
622
|
+
* @param {number} [cursor]
|
|
623
|
+
* @param {number} [size]
|
|
624
|
+
* @param {*} [options] Override http request option.
|
|
625
|
+
* @throws {RequiredError}
|
|
626
|
+
*/
|
|
627
|
+
getList(cursor?: number, size?: number, options?: RawAxiosRequestConfig): AxiosPromise<NotificationListResponse>;
|
|
628
|
+
/**
|
|
629
|
+
* 투표 후 실시간 비율 갱신을 위한 폴링 API입니다.
|
|
630
|
+
* @summary 실시간 투표 현황 조회
|
|
631
|
+
* @param {number} voteId
|
|
632
|
+
* @param {*} [options] Override http request option.
|
|
633
|
+
* @throws {RequiredError}
|
|
634
|
+
*/
|
|
635
|
+
getLive(voteId: number, options?: RawAxiosRequestConfig): AxiosPromise<ImmersiveLiveResponse>;
|
|
636
|
+
/**
|
|
637
|
+
* 로그인한 사용자의 프로필 정보를 조회합니다.
|
|
638
|
+
* @summary 내 프로필 조회
|
|
639
|
+
* @param {*} [options] Override http request option.
|
|
640
|
+
* @throws {RequiredError}
|
|
641
|
+
*/
|
|
642
|
+
getMyProfile(options?: RawAxiosRequestConfig): AxiosPromise<UserProfileResponse>;
|
|
643
|
+
/**
|
|
644
|
+
* 운영진이 선정한 오늘의 추천 투표 목록을 조회합니다.
|
|
645
|
+
* @summary 오늘의 추천 조회
|
|
646
|
+
* @param {*} [options] Override http request option.
|
|
647
|
+
* @throws {RequiredError}
|
|
648
|
+
*/
|
|
649
|
+
getRecommendations(options?: RawAxiosRequestConfig): AxiosPromise<HomeRecommendationResponse>;
|
|
650
|
+
/**
|
|
651
|
+
* 마감된 투표의 결과를 조회합니다. 진행 중 투표는 403 응답합니다. 비회원은 insight가 잠금 상태로 응답됩니다.
|
|
652
|
+
* @summary 투표 결과 조회
|
|
653
|
+
* @param {number} voteId
|
|
654
|
+
* @param {*} [options] Override http request option.
|
|
655
|
+
* @throws {RequiredError}
|
|
656
|
+
*/
|
|
657
|
+
getResult(voteId: number, options?: RawAxiosRequestConfig): AxiosPromise<VoteResultResponse>;
|
|
658
|
+
/**
|
|
659
|
+
* 투표 공유를 위한 링크를 생성합니다.
|
|
660
|
+
* @summary 공유 링크 생성
|
|
661
|
+
* @param {number} voteId
|
|
662
|
+
* @param {*} [options] Override http request option.
|
|
663
|
+
* @throws {RequiredError}
|
|
664
|
+
*/
|
|
665
|
+
getShareLink(voteId: number, options?: RawAxiosRequestConfig): AxiosPromise<ShareLinkResponse>;
|
|
666
|
+
/**
|
|
667
|
+
* 투표 공유를 위한 링크를 생성합니다.
|
|
668
|
+
* @summary 공유 링크 생성
|
|
669
|
+
* @param {number} voteId
|
|
670
|
+
* @param {*} [options] Override http request option.
|
|
671
|
+
* @throws {RequiredError}
|
|
672
|
+
*/
|
|
673
|
+
getShareLink1(voteId: number, options?: RawAxiosRequestConfig): AxiosPromise<ShareLinkResponse>;
|
|
674
|
+
/**
|
|
675
|
+
* 알림 권한 요청 프롬프트를 표시해야 하는지 여부를 조회합니다.
|
|
676
|
+
* @summary 프롬프트 표시 여부 조회
|
|
677
|
+
* @param {*} [options] Override http request option.
|
|
678
|
+
* @throws {RequiredError}
|
|
679
|
+
*/
|
|
680
|
+
getStatus(options?: RawAxiosRequestConfig): AxiosPromise<PromptStatusResponse>;
|
|
681
|
+
/**
|
|
682
|
+
* 읽지 않은 알림의 개수를 조회합니다.
|
|
683
|
+
* @summary 읽지 않은 알림 수 조회
|
|
684
|
+
* @param {*} [options] Override http request option.
|
|
685
|
+
* @throws {RequiredError}
|
|
686
|
+
*/
|
|
687
|
+
getUnreadCount(options?: RawAxiosRequestConfig): AxiosPromise<UnreadCountResponse>;
|
|
688
|
+
/**
|
|
689
|
+
* 전체 투표 목록을 조회합니다. 커서 기반 페이지네이션을 지원합니다.
|
|
690
|
+
* @summary 전체 투표 목록 조회
|
|
691
|
+
* @param {number} [cursor] 다음 페이지 조회를 위한 커서 (이전 응답의 nextCursor)
|
|
692
|
+
* @param {number} [size] 페이지 크기
|
|
693
|
+
* @param {GetVoteListSortEnum} [sort] 정렬 기준: LATEST(최신순), POPULAR(인기순), ENDING_SOON(종료임박순)
|
|
694
|
+
* @param {*} [options] Override http request option.
|
|
695
|
+
* @throws {RequiredError}
|
|
696
|
+
*/
|
|
697
|
+
getVoteList(cursor?: number, size?: number, sort?: GetVoteListSortEnum, options?: RawAxiosRequestConfig): AxiosPromise<HomeVoteListResponse>;
|
|
698
|
+
/**
|
|
699
|
+
* 사용자 기본 프로필 정보를 초기화합니다.
|
|
700
|
+
* @summary 기본 프로필 초기화
|
|
701
|
+
* @param {UserProfileRequest} userProfileRequest
|
|
702
|
+
* @param {*} [options] Override http request option.
|
|
703
|
+
* @throws {RequiredError}
|
|
704
|
+
*/
|
|
705
|
+
initializeDefaultProfile(userProfileRequest: UserProfileRequest, options?: RawAxiosRequestConfig): AxiosPromise<UserProfileDefaultResponse>;
|
|
706
|
+
/**
|
|
707
|
+
* 닉네임 사용 가능 여부를 확인합니다.
|
|
708
|
+
* @summary 닉네임 중복 확인
|
|
709
|
+
* @param {UserNicknameRec} userNicknameRec
|
|
710
|
+
* @param {*} [options] Override http request option.
|
|
711
|
+
* @throws {RequiredError}
|
|
712
|
+
*/
|
|
713
|
+
isUniqueNickname(userNicknameRec: UserNicknameRec, options?: RawAxiosRequestConfig): AxiosPromise<NicknameCheckResponse>;
|
|
714
|
+
/**
|
|
715
|
+
* 모든 알림을 읽음 처리합니다.
|
|
716
|
+
* @summary 모든 알림 읽음 처리
|
|
717
|
+
* @param {*} [options] Override http request option.
|
|
718
|
+
* @throws {RequiredError}
|
|
719
|
+
*/
|
|
720
|
+
markAllAsRead(options?: RawAxiosRequestConfig): AxiosPromise<ReadAllResponse>;
|
|
721
|
+
/**
|
|
722
|
+
* 특정 알림을 읽음 처리합니다.
|
|
723
|
+
* @summary 알림 읽음 처리
|
|
724
|
+
* @param {number} notificationId
|
|
725
|
+
* @param {*} [options] Override http request option.
|
|
726
|
+
* @throws {RequiredError}
|
|
727
|
+
*/
|
|
728
|
+
markAsRead(notificationId: number, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
729
|
+
/**
|
|
730
|
+
* 투표에 참여합니다. 비회원은 5회까지 무료 투표 가능합니다.
|
|
731
|
+
* @summary 투표 참여
|
|
732
|
+
* @param {number} voteId
|
|
733
|
+
* @param {ParticipateRequest} participateRequest
|
|
734
|
+
* @param {*} [options] Override http request option.
|
|
735
|
+
* @throws {RequiredError}
|
|
736
|
+
*/
|
|
737
|
+
participate(voteId: number, participateRequest: ParticipateRequest, options?: RawAxiosRequestConfig): AxiosPromise<ParticipateResponse>;
|
|
738
|
+
/**
|
|
739
|
+
* 투표에 참여하거나 같은 옵션 재클릭 시 취소합니다. 비회원은 5회까지 무료 투표 가능합니다.
|
|
740
|
+
* @summary 투표 참여/취소
|
|
741
|
+
* @param {number} voteId
|
|
742
|
+
* @param {ParticipateRequest} participateRequest
|
|
743
|
+
* @param {*} [options] Override http request option.
|
|
744
|
+
* @throws {RequiredError}
|
|
745
|
+
*/
|
|
746
|
+
participateOrCancel(voteId: number, participateRequest: ParticipateRequest, options?: RawAxiosRequestConfig): AxiosPromise<ImmersiveParticipateResponse>;
|
|
747
|
+
/**
|
|
748
|
+
* 이모지 반응을 추가/변경/취소합니다. 같은 이모지 재선택 또는 null 전송 시 취소됩니다.
|
|
749
|
+
* @summary 몰입형 투표 이모지 반응
|
|
750
|
+
* @param {number} voteId
|
|
751
|
+
* @param {EmojiRequest} emojiRequest
|
|
752
|
+
* @param {*} [options] Override http request option.
|
|
753
|
+
* @throws {RequiredError}
|
|
754
|
+
*/
|
|
755
|
+
reactOnImmersiveVote(voteId: number, emojiRequest: EmojiRequest, options?: RawAxiosRequestConfig): AxiosPromise<EmojiResponse>;
|
|
756
|
+
/**
|
|
757
|
+
* 이모지 반응을 추가/변경/취소합니��. 같은 이모지 재선택 또는 null 전송 시 취소됩니다.
|
|
758
|
+
* @summary 일반형 투표 이모지 반응
|
|
759
|
+
* @param {number} voteId
|
|
760
|
+
* @param {EmojiRequest} emojiRequest
|
|
761
|
+
* @param {*} [options] Override http request option.
|
|
762
|
+
* @throws {RequiredError}
|
|
763
|
+
*/
|
|
764
|
+
reactOnVote(voteId: number, emojiRequest: EmojiRequest, options?: RawAxiosRequestConfig): AxiosPromise<EmojiResponse>;
|
|
765
|
+
/**
|
|
766
|
+
* 사용자가 알림 권한 프롬프트를 거절했음을 기록합니다.
|
|
767
|
+
* @summary 프롬프트 거절 기록
|
|
768
|
+
* @param {*} [options] Override http request option.
|
|
769
|
+
* @throws {RequiredError}
|
|
770
|
+
*/
|
|
771
|
+
recordDismissed(options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
772
|
+
/**
|
|
773
|
+
* FCM/APNs 디바이스 토큰을 등록합니다. 투표 종료 시 푸시 알림 발송에 사용됩니다.
|
|
774
|
+
* @summary 푸시 토큰 등록
|
|
775
|
+
* @param {RegisterPushTokenRequest} registerPushTokenRequest
|
|
776
|
+
* @param {*} [options] Override http request option.
|
|
777
|
+
* @throws {RequiredError}
|
|
778
|
+
*/
|
|
779
|
+
register(registerPushTokenRequest: RegisterPushTokenRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
780
|
+
/**
|
|
781
|
+
* Refresh Token으로 Access Token을 재발급합니다.
|
|
782
|
+
* @summary 토큰 재발급
|
|
783
|
+
* @param {*} [options] Override http request option.
|
|
784
|
+
* @throws {RequiredError}
|
|
785
|
+
*/
|
|
786
|
+
reissue(options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
787
|
+
/**
|
|
788
|
+
* 사용자 추가 정보(닉네임, 성별, 생년월일)를 설정합니다.
|
|
789
|
+
* @summary 추가 정보 설정
|
|
790
|
+
* @param {UserExtraInfo} userExtraInfo
|
|
791
|
+
* @param {*} [options] Override http request option.
|
|
792
|
+
* @throws {RequiredError}
|
|
793
|
+
*/
|
|
794
|
+
setupInfo(userExtraInfo: UserExtraInfo, options?: RawAxiosRequestConfig): AxiosPromise<UserProfileResponse>;
|
|
795
|
+
/**
|
|
796
|
+
* 사용 가능한 랜덤 닉네임을 추천합니다.
|
|
797
|
+
* @summary 닉네임 추천
|
|
798
|
+
* @param {*} [options] Override http request option.
|
|
799
|
+
* @throws {RequiredError}
|
|
800
|
+
*/
|
|
801
|
+
suggestNickname(options?: RawAxiosRequestConfig): AxiosPromise<UserNicknameRec>;
|
|
802
|
+
/**
|
|
803
|
+
* 등록된 모든 푸시 토큰을 해제합니다.
|
|
804
|
+
* @summary 푸시 토큰 해제
|
|
805
|
+
* @param {*} [options] Override http request option.
|
|
806
|
+
* @throws {RequiredError}
|
|
807
|
+
*/
|
|
808
|
+
unregisterAll(options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
809
|
+
/**
|
|
810
|
+
* 푸시 알림 ON/OFF 설정을 변경합니다.
|
|
811
|
+
* @summary 알림 설정 변경
|
|
812
|
+
* @param {UpdateNotificationSettingRequest} updateNotificationSettingRequest
|
|
813
|
+
* @param {*} [options] Override http request option.
|
|
814
|
+
* @throws {RequiredError}
|
|
815
|
+
*/
|
|
816
|
+
update(updateNotificationSettingRequest: UpdateNotificationSettingRequest, options?: RawAxiosRequestConfig): AxiosPromise<NotificationSettingResponse>;
|
|
817
|
+
};
|
|
818
|
+
/**
|
|
819
|
+
* DefaultApi - object-oriented interface
|
|
820
|
+
* @export
|
|
821
|
+
* @class DefaultApi
|
|
822
|
+
* @extends {BaseAPI}
|
|
823
|
+
*/
|
|
824
|
+
export declare class DefaultApi extends BaseAPI {
|
|
825
|
+
/**
|
|
826
|
+
* 투표를 취소합니다. 회원만 가능합니다.
|
|
827
|
+
* @summary 다시 투표하기
|
|
828
|
+
* @param {number} voteId
|
|
829
|
+
* @param {*} [options] Override http request option.
|
|
830
|
+
* @throws {RequiredError}
|
|
831
|
+
* @memberof DefaultApi
|
|
832
|
+
*/
|
|
833
|
+
cancel(voteId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
834
|
+
/**
|
|
835
|
+
* 새로운 투표를 생성합니다. 회원만 가능합니다.
|
|
836
|
+
* @summary 투표 생성
|
|
837
|
+
* @param {VoteCreateRequest} voteCreateRequest
|
|
838
|
+
* @param {*} [options] Override http request option.
|
|
839
|
+
* @throws {RequiredError}
|
|
840
|
+
* @memberof DefaultApi
|
|
841
|
+
*/
|
|
842
|
+
create(voteCreateRequest: VoteCreateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VoteCreateResponse, any, {}>>;
|
|
843
|
+
/**
|
|
844
|
+
* 현재 알림 설정 상태를 조회합니다.
|
|
845
|
+
* @summary 알림 설정 조회
|
|
846
|
+
* @param {*} [options] Override http request option.
|
|
847
|
+
* @throws {RequiredError}
|
|
848
|
+
* @memberof DefaultApi
|
|
849
|
+
*/
|
|
850
|
+
get(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<NotificationSettingResponse, any, {}>>;
|
|
851
|
+
/**
|
|
852
|
+
* 투표 상세 정보를 조회합니다. 투표 전에는 결과(voteCount/ratio)가 null로 응답됩니다.
|
|
853
|
+
* @summary 투표 상세 조회
|
|
854
|
+
* @param {number} voteId
|
|
855
|
+
* @param {*} [options] Override http request option.
|
|
856
|
+
* @throws {RequiredError}
|
|
857
|
+
* @memberof DefaultApi
|
|
858
|
+
*/
|
|
859
|
+
getDetail(voteId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VoteDetailResponse, any, {}>>;
|
|
860
|
+
/**
|
|
861
|
+
* 스와이프 형식의 몰입형 투표 피드를 조회합니다. 커서 기반 페이지네이션을 지원합니다.
|
|
862
|
+
* @summary 몰입형 투표 피드 조회
|
|
863
|
+
* @param {number} [cursor]
|
|
864
|
+
* @param {number} [size]
|
|
865
|
+
* @param {*} [options] Override http request option.
|
|
866
|
+
* @throws {RequiredError}
|
|
867
|
+
* @memberof DefaultApi
|
|
868
|
+
*/
|
|
869
|
+
getFeed(cursor?: number, size?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ImmersiveFeedResponse, any, {}>>;
|
|
870
|
+
/**
|
|
871
|
+
* 비회원의 잔여 무료 투표권 수를 조회합니다. 회원은 remainingFreeVotes가 null로 응답됩니다.
|
|
872
|
+
* @summary 잔여 무료 투표권 조회
|
|
873
|
+
* @param {*} [options] Override http request option.
|
|
874
|
+
* @throws {RequiredError}
|
|
875
|
+
* @memberof DefaultApi
|
|
876
|
+
*/
|
|
877
|
+
getFreeVotes(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<FreeVotesResponse, any, {}>>;
|
|
878
|
+
/**
|
|
879
|
+
* 인기 점수 기준 상위 3개 투표를 조회합니다. 인기 점수 = (참여 수 × 0.7) + (조회 수 × 0.3)
|
|
880
|
+
* @summary 핫토픽 TOP 3 조회
|
|
881
|
+
* @param {*} [options] Override http request option.
|
|
882
|
+
* @throws {RequiredError}
|
|
883
|
+
* @memberof DefaultApi
|
|
884
|
+
*/
|
|
885
|
+
getHotTopics(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<HomeHotTopicResponse, any, {}>>;
|
|
886
|
+
/**
|
|
887
|
+
* 알림 목록을 조회합니다. 커서 기반 페이지네이션을 지원합니다.
|
|
888
|
+
* @summary 알림 목록 조회
|
|
889
|
+
* @param {number} [cursor]
|
|
890
|
+
* @param {number} [size]
|
|
891
|
+
* @param {*} [options] Override http request option.
|
|
892
|
+
* @throws {RequiredError}
|
|
893
|
+
* @memberof DefaultApi
|
|
894
|
+
*/
|
|
895
|
+
getList(cursor?: number, size?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<NotificationListResponse, any, {}>>;
|
|
896
|
+
/**
|
|
897
|
+
* 투표 후 실시간 비율 갱신을 위한 폴링 API입니다.
|
|
898
|
+
* @summary 실시간 투표 현황 조회
|
|
899
|
+
* @param {number} voteId
|
|
900
|
+
* @param {*} [options] Override http request option.
|
|
901
|
+
* @throws {RequiredError}
|
|
902
|
+
* @memberof DefaultApi
|
|
903
|
+
*/
|
|
904
|
+
getLive(voteId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ImmersiveLiveResponse, any, {}>>;
|
|
905
|
+
/**
|
|
906
|
+
* 로그인한 사용자의 프로필 정보를 조회합니다.
|
|
907
|
+
* @summary 내 프로필 조회
|
|
908
|
+
* @param {*} [options] Override http request option.
|
|
909
|
+
* @throws {RequiredError}
|
|
910
|
+
* @memberof DefaultApi
|
|
911
|
+
*/
|
|
912
|
+
getMyProfile(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UserProfileResponse, any, {}>>;
|
|
913
|
+
/**
|
|
914
|
+
* 운영진이 선정한 오늘의 추천 투표 목록을 조회합니다.
|
|
915
|
+
* @summary 오늘의 추천 조회
|
|
916
|
+
* @param {*} [options] Override http request option.
|
|
917
|
+
* @throws {RequiredError}
|
|
918
|
+
* @memberof DefaultApi
|
|
919
|
+
*/
|
|
920
|
+
getRecommendations(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<HomeRecommendationResponse, any, {}>>;
|
|
921
|
+
/**
|
|
922
|
+
* 마감된 투표의 결과를 조회합니다. 진행 중 투표는 403 응답합니다. 비회원은 insight가 잠금 상태로 응답됩니다.
|
|
923
|
+
* @summary 투표 결과 조회
|
|
924
|
+
* @param {number} voteId
|
|
925
|
+
* @param {*} [options] Override http request option.
|
|
926
|
+
* @throws {RequiredError}
|
|
927
|
+
* @memberof DefaultApi
|
|
928
|
+
*/
|
|
929
|
+
getResult(voteId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VoteResultResponse, any, {}>>;
|
|
930
|
+
/**
|
|
931
|
+
* 투표 공유를 위한 링크를 생성합니다.
|
|
932
|
+
* @summary 공유 링크 생성
|
|
933
|
+
* @param {number} voteId
|
|
934
|
+
* @param {*} [options] Override http request option.
|
|
935
|
+
* @throws {RequiredError}
|
|
936
|
+
* @memberof DefaultApi
|
|
937
|
+
*/
|
|
938
|
+
getShareLink(voteId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ShareLinkResponse, any, {}>>;
|
|
939
|
+
/**
|
|
940
|
+
* 투표 공유를 위한 링크를 생성합니다.
|
|
941
|
+
* @summary 공유 링크 생성
|
|
942
|
+
* @param {number} voteId
|
|
943
|
+
* @param {*} [options] Override http request option.
|
|
944
|
+
* @throws {RequiredError}
|
|
945
|
+
* @memberof DefaultApi
|
|
946
|
+
*/
|
|
947
|
+
getShareLink1(voteId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ShareLinkResponse, any, {}>>;
|
|
948
|
+
/**
|
|
949
|
+
* 알림 권한 요청 프롬프트를 표시해야 하는지 여부를 조회합니다.
|
|
950
|
+
* @summary 프롬프트 표시 여부 조회
|
|
951
|
+
* @param {*} [options] Override http request option.
|
|
952
|
+
* @throws {RequiredError}
|
|
953
|
+
* @memberof DefaultApi
|
|
954
|
+
*/
|
|
955
|
+
getStatus(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PromptStatusResponse, any, {}>>;
|
|
956
|
+
/**
|
|
957
|
+
* 읽지 않은 알림의 개수를 조회합니다.
|
|
958
|
+
* @summary 읽지 않은 알림 수 조회
|
|
959
|
+
* @param {*} [options] Override http request option.
|
|
960
|
+
* @throws {RequiredError}
|
|
961
|
+
* @memberof DefaultApi
|
|
962
|
+
*/
|
|
963
|
+
getUnreadCount(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UnreadCountResponse, any, {}>>;
|
|
964
|
+
/**
|
|
965
|
+
* 전체 투표 목록을 조회합니다. 커서 기반 페이지네이션을 지원합니다.
|
|
966
|
+
* @summary 전체 투표 목록 조회
|
|
967
|
+
* @param {number} [cursor] 다음 페이지 조회를 위한 커서 (이전 응답의 nextCursor)
|
|
968
|
+
* @param {number} [size] 페이지 크기
|
|
969
|
+
* @param {GetVoteListSortEnum} [sort] 정렬 기준: LATEST(최신순), POPULAR(인기순), ENDING_SOON(종료임박순)
|
|
970
|
+
* @param {*} [options] Override http request option.
|
|
971
|
+
* @throws {RequiredError}
|
|
972
|
+
* @memberof DefaultApi
|
|
973
|
+
*/
|
|
974
|
+
getVoteList(cursor?: number, size?: number, sort?: GetVoteListSortEnum, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<HomeVoteListResponse, any, {}>>;
|
|
975
|
+
/**
|
|
976
|
+
* 사용자 기본 프로필 정보를 초기화합니다.
|
|
977
|
+
* @summary 기본 프로필 초기화
|
|
978
|
+
* @param {UserProfileRequest} userProfileRequest
|
|
979
|
+
* @param {*} [options] Override http request option.
|
|
980
|
+
* @throws {RequiredError}
|
|
981
|
+
* @memberof DefaultApi
|
|
982
|
+
*/
|
|
983
|
+
initializeDefaultProfile(userProfileRequest: UserProfileRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UserProfileDefaultResponse, any, {}>>;
|
|
984
|
+
/**
|
|
985
|
+
* 닉네임 사용 가능 여부를 확인합니다.
|
|
986
|
+
* @summary 닉네임 중복 확인
|
|
987
|
+
* @param {UserNicknameRec} userNicknameRec
|
|
988
|
+
* @param {*} [options] Override http request option.
|
|
989
|
+
* @throws {RequiredError}
|
|
990
|
+
* @memberof DefaultApi
|
|
991
|
+
*/
|
|
992
|
+
isUniqueNickname(userNicknameRec: UserNicknameRec, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<NicknameCheckResponse, any, {}>>;
|
|
993
|
+
/**
|
|
994
|
+
* 모든 알림을 읽음 처리합니다.
|
|
995
|
+
* @summary 모든 알림 읽음 처리
|
|
996
|
+
* @param {*} [options] Override http request option.
|
|
997
|
+
* @throws {RequiredError}
|
|
998
|
+
* @memberof DefaultApi
|
|
999
|
+
*/
|
|
1000
|
+
markAllAsRead(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ReadAllResponse, any, {}>>;
|
|
1001
|
+
/**
|
|
1002
|
+
* 특정 알림을 읽음 처리합니다.
|
|
1003
|
+
* @summary 알림 읽음 처리
|
|
1004
|
+
* @param {number} notificationId
|
|
1005
|
+
* @param {*} [options] Override http request option.
|
|
1006
|
+
* @throws {RequiredError}
|
|
1007
|
+
* @memberof DefaultApi
|
|
1008
|
+
*/
|
|
1009
|
+
markAsRead(notificationId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
1010
|
+
/**
|
|
1011
|
+
* 투표에 참여합니다. 비회원은 5회까지 무료 투표 가능합니다.
|
|
1012
|
+
* @summary 투표 참여
|
|
1013
|
+
* @param {number} voteId
|
|
1014
|
+
* @param {ParticipateRequest} participateRequest
|
|
1015
|
+
* @param {*} [options] Override http request option.
|
|
1016
|
+
* @throws {RequiredError}
|
|
1017
|
+
* @memberof DefaultApi
|
|
1018
|
+
*/
|
|
1019
|
+
participate(voteId: number, participateRequest: ParticipateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ParticipateResponse, any, {}>>;
|
|
1020
|
+
/**
|
|
1021
|
+
* 투표에 참여하거나 같은 옵션 재클릭 시 취소합니다. 비회원은 5회까지 무료 투표 가능합니다.
|
|
1022
|
+
* @summary 투표 참여/취소
|
|
1023
|
+
* @param {number} voteId
|
|
1024
|
+
* @param {ParticipateRequest} participateRequest
|
|
1025
|
+
* @param {*} [options] Override http request option.
|
|
1026
|
+
* @throws {RequiredError}
|
|
1027
|
+
* @memberof DefaultApi
|
|
1028
|
+
*/
|
|
1029
|
+
participateOrCancel(voteId: number, participateRequest: ParticipateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ImmersiveParticipateResponse, any, {}>>;
|
|
1030
|
+
/**
|
|
1031
|
+
* 이모지 반응을 추가/변경/취소합니다. 같은 이모지 재선택 또는 null 전송 시 취소됩니다.
|
|
1032
|
+
* @summary 몰입형 투표 이모지 반응
|
|
1033
|
+
* @param {number} voteId
|
|
1034
|
+
* @param {EmojiRequest} emojiRequest
|
|
1035
|
+
* @param {*} [options] Override http request option.
|
|
1036
|
+
* @throws {RequiredError}
|
|
1037
|
+
* @memberof DefaultApi
|
|
1038
|
+
*/
|
|
1039
|
+
reactOnImmersiveVote(voteId: number, emojiRequest: EmojiRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EmojiResponse, any, {}>>;
|
|
1040
|
+
/**
|
|
1041
|
+
* 이모지 반응을 추가/변경/취소합니��. 같은 이모지 재선택 또는 null 전송 시 취소됩니다.
|
|
1042
|
+
* @summary 일반형 투표 이모지 반응
|
|
1043
|
+
* @param {number} voteId
|
|
1044
|
+
* @param {EmojiRequest} emojiRequest
|
|
1045
|
+
* @param {*} [options] Override http request option.
|
|
1046
|
+
* @throws {RequiredError}
|
|
1047
|
+
* @memberof DefaultApi
|
|
1048
|
+
*/
|
|
1049
|
+
reactOnVote(voteId: number, emojiRequest: EmojiRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EmojiResponse, any, {}>>;
|
|
1050
|
+
/**
|
|
1051
|
+
* 사용자가 알림 권한 프롬프트를 거절했음을 기록합니다.
|
|
1052
|
+
* @summary 프롬프트 거절 기록
|
|
1053
|
+
* @param {*} [options] Override http request option.
|
|
1054
|
+
* @throws {RequiredError}
|
|
1055
|
+
* @memberof DefaultApi
|
|
1056
|
+
*/
|
|
1057
|
+
recordDismissed(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
1058
|
+
/**
|
|
1059
|
+
* FCM/APNs 디바이스 토큰을 등록합니다. 투표 종료 시 푸시 알림 발송에 사용됩니다.
|
|
1060
|
+
* @summary 푸시 토큰 등록
|
|
1061
|
+
* @param {RegisterPushTokenRequest} registerPushTokenRequest
|
|
1062
|
+
* @param {*} [options] Override http request option.
|
|
1063
|
+
* @throws {RequiredError}
|
|
1064
|
+
* @memberof DefaultApi
|
|
1065
|
+
*/
|
|
1066
|
+
register(registerPushTokenRequest: RegisterPushTokenRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
1067
|
+
/**
|
|
1068
|
+
* Refresh Token으로 Access Token을 재발급합니다.
|
|
1069
|
+
* @summary 토큰 재발급
|
|
1070
|
+
* @param {*} [options] Override http request option.
|
|
1071
|
+
* @throws {RequiredError}
|
|
1072
|
+
* @memberof DefaultApi
|
|
1073
|
+
*/
|
|
1074
|
+
reissue(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
1075
|
+
/**
|
|
1076
|
+
* 사용자 추가 정보(닉네임, 성별, 생년월일)를 설정합니다.
|
|
1077
|
+
* @summary 추가 정보 설정
|
|
1078
|
+
* @param {UserExtraInfo} userExtraInfo
|
|
1079
|
+
* @param {*} [options] Override http request option.
|
|
1080
|
+
* @throws {RequiredError}
|
|
1081
|
+
* @memberof DefaultApi
|
|
1082
|
+
*/
|
|
1083
|
+
setupInfo(userExtraInfo: UserExtraInfo, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UserProfileResponse, any, {}>>;
|
|
1084
|
+
/**
|
|
1085
|
+
* 사용 가능한 랜덤 닉네임을 추천합니다.
|
|
1086
|
+
* @summary 닉네임 추천
|
|
1087
|
+
* @param {*} [options] Override http request option.
|
|
1088
|
+
* @throws {RequiredError}
|
|
1089
|
+
* @memberof DefaultApi
|
|
1090
|
+
*/
|
|
1091
|
+
suggestNickname(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UserNicknameRec, any, {}>>;
|
|
1092
|
+
/**
|
|
1093
|
+
* 등록된 모든 푸시 토큰을 해제합니다.
|
|
1094
|
+
* @summary 푸시 토큰 해제
|
|
1095
|
+
* @param {*} [options] Override http request option.
|
|
1096
|
+
* @throws {RequiredError}
|
|
1097
|
+
* @memberof DefaultApi
|
|
1098
|
+
*/
|
|
1099
|
+
unregisterAll(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
1100
|
+
/**
|
|
1101
|
+
* 푸시 알림 ON/OFF 설정을 변경합니다.
|
|
1102
|
+
* @summary 알림 설정 변경
|
|
1103
|
+
* @param {UpdateNotificationSettingRequest} updateNotificationSettingRequest
|
|
1104
|
+
* @param {*} [options] Override http request option.
|
|
1105
|
+
* @throws {RequiredError}
|
|
1106
|
+
* @memberof DefaultApi
|
|
1107
|
+
*/
|
|
1108
|
+
update(updateNotificationSettingRequest: UpdateNotificationSettingRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<NotificationSettingResponse, any, {}>>;
|
|
1109
|
+
}
|
|
1110
|
+
/**
|
|
1111
|
+
* @export
|
|
1112
|
+
*/
|
|
1113
|
+
export declare const GetVoteListSortEnum: {
|
|
1114
|
+
readonly Latest: "LATEST";
|
|
1115
|
+
readonly Popular: "POPULAR";
|
|
1116
|
+
readonly EndingSoon: "ENDING_SOON";
|
|
1117
|
+
};
|
|
1118
|
+
export type GetVoteListSortEnum = typeof GetVoteListSortEnum[keyof typeof GetVoteListSortEnum];
|