@ject-4-vs-team/api-client 2026.521.2 → 2026.525.3
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 +162 -0
- package/dist/api/default-api.js +326 -1
- package/dist/models/index.d.ts +4 -0
- package/dist/models/index.js +4 -0
- package/dist/models/my-participated-vote-response.d.ts +16 -0
- package/dist/models/my-participated-vote-response.js +15 -0
- package/dist/models/user-delete-req.d.ts +15 -0
- package/dist/models/user-delete-req.js +15 -0
- package/dist/models/user-modify-info-request.d.ts +22 -0
- package/dist/models/user-modify-info-request.js +22 -0
- package/dist/models/vote-element.d.ts +19 -0
- package/dist/models/vote-element.js +15 -0
- package/package.json +1 -1
|
@@ -21,6 +21,7 @@ import type { HomeVoteListResponse } from '../models';
|
|
|
21
21
|
import type { ImmersiveFeedResponse } from '../models';
|
|
22
22
|
import type { ImmersiveLiveResponse } from '../models';
|
|
23
23
|
import type { ImmersiveParticipateResponse } from '../models';
|
|
24
|
+
import type { MyParticipatedVoteResponse } from '../models';
|
|
24
25
|
import type { NicknameCheckResponse } from '../models';
|
|
25
26
|
import type { NotificationListResponse } from '../models';
|
|
26
27
|
import type { NotificationSettingResponse } from '../models';
|
|
@@ -32,7 +33,9 @@ import type { RegisterPushTokenRequest } from '../models';
|
|
|
32
33
|
import type { ShareLinkResponse } from '../models';
|
|
33
34
|
import type { UnreadCountResponse } from '../models';
|
|
34
35
|
import type { UpdateNotificationSettingRequest } from '../models';
|
|
36
|
+
import type { UserDeleteReq } from '../models';
|
|
35
37
|
import type { UserExtraInfo } from '../models';
|
|
38
|
+
import type { UserModifyInfoRequest } from '../models';
|
|
36
39
|
import type { UserNicknameRec } from '../models';
|
|
37
40
|
import type { UserProfileDefaultResponse } from '../models';
|
|
38
41
|
import type { UserProfileRequest } from '../models';
|
|
@@ -62,6 +65,13 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
62
65
|
* @throws {RequiredError}
|
|
63
66
|
*/
|
|
64
67
|
create: (voteCreateRequest: VoteCreateRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
68
|
+
/**
|
|
69
|
+
*
|
|
70
|
+
* @param {UserDeleteReq} userDeleteReq
|
|
71
|
+
* @param {*} [options] Override http request option.
|
|
72
|
+
* @throws {RequiredError}
|
|
73
|
+
*/
|
|
74
|
+
deleteAccount: (userDeleteReq: UserDeleteReq, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
65
75
|
/**
|
|
66
76
|
* 현재 알림 설정 상태를 조회합니다.
|
|
67
77
|
* @summary 알림 설정 조회
|
|
@@ -179,6 +189,20 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
179
189
|
* @throws {RequiredError}
|
|
180
190
|
*/
|
|
181
191
|
getVoteList: (cursor?: number, size?: number, sort?: GetVoteListSortEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
192
|
+
/**
|
|
193
|
+
*
|
|
194
|
+
* @param {GetVoteListEndParticipatedTypeEnum} type
|
|
195
|
+
* @param {*} [options] Override http request option.
|
|
196
|
+
* @throws {RequiredError}
|
|
197
|
+
*/
|
|
198
|
+
getVoteListEndParticipated: (type: GetVoteListEndParticipatedTypeEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
199
|
+
/**
|
|
200
|
+
*
|
|
201
|
+
* @param {GetVoteListParticipatedTypeEnum} type
|
|
202
|
+
* @param {*} [options] Override http request option.
|
|
203
|
+
* @throws {RequiredError}
|
|
204
|
+
*/
|
|
205
|
+
getVoteListParticipated: (type: GetVoteListParticipatedTypeEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
182
206
|
/**
|
|
183
207
|
* 사용자 기본 프로필 정보를 초기화합니다.
|
|
184
208
|
* @summary 기본 프로필 초기화
|
|
@@ -195,6 +219,12 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
195
219
|
* @throws {RequiredError}
|
|
196
220
|
*/
|
|
197
221
|
isUniqueNickname: (userNicknameRec: UserNicknameRec, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
222
|
+
/**
|
|
223
|
+
*
|
|
224
|
+
* @param {*} [options] Override http request option.
|
|
225
|
+
* @throws {RequiredError}
|
|
226
|
+
*/
|
|
227
|
+
logout: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
198
228
|
/**
|
|
199
229
|
* 모든 알림을 읽음 처리합니다.
|
|
200
230
|
* @summary 모든 알림 읽음 처리
|
|
@@ -210,6 +240,13 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
210
240
|
* @throws {RequiredError}
|
|
211
241
|
*/
|
|
212
242
|
markAsRead: (notificationId: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
243
|
+
/**
|
|
244
|
+
*
|
|
245
|
+
* @param {UserModifyInfoRequest} userModifyInfoRequest
|
|
246
|
+
* @param {*} [options] Override http request option.
|
|
247
|
+
* @throws {RequiredError}
|
|
248
|
+
*/
|
|
249
|
+
modifyNickname: (userModifyInfoRequest: UserModifyInfoRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
213
250
|
/**
|
|
214
251
|
* 투표에 참여합니다. 비회원은 5회까지 무료 투표 가능합니다.
|
|
215
252
|
* @summary 투표 참여
|
|
@@ -320,6 +357,13 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
320
357
|
* @throws {RequiredError}
|
|
321
358
|
*/
|
|
322
359
|
create(voteCreateRequest: VoteCreateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VoteCreateResponse>>;
|
|
360
|
+
/**
|
|
361
|
+
*
|
|
362
|
+
* @param {UserDeleteReq} userDeleteReq
|
|
363
|
+
* @param {*} [options] Override http request option.
|
|
364
|
+
* @throws {RequiredError}
|
|
365
|
+
*/
|
|
366
|
+
deleteAccount(userDeleteReq: UserDeleteReq, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
323
367
|
/**
|
|
324
368
|
* 현재 알림 설정 상태를 조회합니다.
|
|
325
369
|
* @summary 알림 설정 조회
|
|
@@ -437,6 +481,20 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
437
481
|
* @throws {RequiredError}
|
|
438
482
|
*/
|
|
439
483
|
getVoteList(cursor?: number, size?: number, sort?: GetVoteListSortEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HomeVoteListResponse>>;
|
|
484
|
+
/**
|
|
485
|
+
*
|
|
486
|
+
* @param {GetVoteListEndParticipatedTypeEnum} type
|
|
487
|
+
* @param {*} [options] Override http request option.
|
|
488
|
+
* @throws {RequiredError}
|
|
489
|
+
*/
|
|
490
|
+
getVoteListEndParticipated(type: GetVoteListEndParticipatedTypeEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MyParticipatedVoteResponse>>;
|
|
491
|
+
/**
|
|
492
|
+
*
|
|
493
|
+
* @param {GetVoteListParticipatedTypeEnum} type
|
|
494
|
+
* @param {*} [options] Override http request option.
|
|
495
|
+
* @throws {RequiredError}
|
|
496
|
+
*/
|
|
497
|
+
getVoteListParticipated(type: GetVoteListParticipatedTypeEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MyParticipatedVoteResponse>>;
|
|
440
498
|
/**
|
|
441
499
|
* 사용자 기본 프로필 정보를 초기화합니다.
|
|
442
500
|
* @summary 기본 프로필 초기화
|
|
@@ -453,6 +511,12 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
453
511
|
* @throws {RequiredError}
|
|
454
512
|
*/
|
|
455
513
|
isUniqueNickname(userNicknameRec: UserNicknameRec, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<NicknameCheckResponse>>;
|
|
514
|
+
/**
|
|
515
|
+
*
|
|
516
|
+
* @param {*} [options] Override http request option.
|
|
517
|
+
* @throws {RequiredError}
|
|
518
|
+
*/
|
|
519
|
+
logout(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
456
520
|
/**
|
|
457
521
|
* 모든 알림을 읽음 처리합니다.
|
|
458
522
|
* @summary 모든 알림 읽음 처리
|
|
@@ -468,6 +532,13 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
468
532
|
* @throws {RequiredError}
|
|
469
533
|
*/
|
|
470
534
|
markAsRead(notificationId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
535
|
+
/**
|
|
536
|
+
*
|
|
537
|
+
* @param {UserModifyInfoRequest} userModifyInfoRequest
|
|
538
|
+
* @param {*} [options] Override http request option.
|
|
539
|
+
* @throws {RequiredError}
|
|
540
|
+
*/
|
|
541
|
+
modifyNickname(userModifyInfoRequest: UserModifyInfoRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
|
|
471
542
|
/**
|
|
472
543
|
* 투표에 참여합니다. 비회원은 5회까지 무료 투표 가능합니다.
|
|
473
544
|
* @summary 투표 참여
|
|
@@ -578,6 +649,13 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
578
649
|
* @throws {RequiredError}
|
|
579
650
|
*/
|
|
580
651
|
create(voteCreateRequest: VoteCreateRequest, options?: RawAxiosRequestConfig): AxiosPromise<VoteCreateResponse>;
|
|
652
|
+
/**
|
|
653
|
+
*
|
|
654
|
+
* @param {UserDeleteReq} userDeleteReq
|
|
655
|
+
* @param {*} [options] Override http request option.
|
|
656
|
+
* @throws {RequiredError}
|
|
657
|
+
*/
|
|
658
|
+
deleteAccount(userDeleteReq: UserDeleteReq, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
581
659
|
/**
|
|
582
660
|
* 현재 알림 설정 상태를 조회합니다.
|
|
583
661
|
* @summary 알림 설정 조회
|
|
@@ -695,6 +773,20 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
695
773
|
* @throws {RequiredError}
|
|
696
774
|
*/
|
|
697
775
|
getVoteList(cursor?: number, size?: number, sort?: GetVoteListSortEnum, options?: RawAxiosRequestConfig): AxiosPromise<HomeVoteListResponse>;
|
|
776
|
+
/**
|
|
777
|
+
*
|
|
778
|
+
* @param {GetVoteListEndParticipatedTypeEnum} type
|
|
779
|
+
* @param {*} [options] Override http request option.
|
|
780
|
+
* @throws {RequiredError}
|
|
781
|
+
*/
|
|
782
|
+
getVoteListEndParticipated(type: GetVoteListEndParticipatedTypeEnum, options?: RawAxiosRequestConfig): AxiosPromise<MyParticipatedVoteResponse>;
|
|
783
|
+
/**
|
|
784
|
+
*
|
|
785
|
+
* @param {GetVoteListParticipatedTypeEnum} type
|
|
786
|
+
* @param {*} [options] Override http request option.
|
|
787
|
+
* @throws {RequiredError}
|
|
788
|
+
*/
|
|
789
|
+
getVoteListParticipated(type: GetVoteListParticipatedTypeEnum, options?: RawAxiosRequestConfig): AxiosPromise<MyParticipatedVoteResponse>;
|
|
698
790
|
/**
|
|
699
791
|
* 사용자 기본 프로필 정보를 초기화합니다.
|
|
700
792
|
* @summary 기본 프로필 초기화
|
|
@@ -711,6 +803,12 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
711
803
|
* @throws {RequiredError}
|
|
712
804
|
*/
|
|
713
805
|
isUniqueNickname(userNicknameRec: UserNicknameRec, options?: RawAxiosRequestConfig): AxiosPromise<NicknameCheckResponse>;
|
|
806
|
+
/**
|
|
807
|
+
*
|
|
808
|
+
* @param {*} [options] Override http request option.
|
|
809
|
+
* @throws {RequiredError}
|
|
810
|
+
*/
|
|
811
|
+
logout(options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
714
812
|
/**
|
|
715
813
|
* 모든 알림을 읽음 처리합니다.
|
|
716
814
|
* @summary 모든 알림 읽음 처리
|
|
@@ -726,6 +824,13 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
726
824
|
* @throws {RequiredError}
|
|
727
825
|
*/
|
|
728
826
|
markAsRead(notificationId: number, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
827
|
+
/**
|
|
828
|
+
*
|
|
829
|
+
* @param {UserModifyInfoRequest} userModifyInfoRequest
|
|
830
|
+
* @param {*} [options] Override http request option.
|
|
831
|
+
* @throws {RequiredError}
|
|
832
|
+
*/
|
|
833
|
+
modifyNickname(userModifyInfoRequest: UserModifyInfoRequest, options?: RawAxiosRequestConfig): AxiosPromise<object>;
|
|
729
834
|
/**
|
|
730
835
|
* 투표에 참여합니다. 비회원은 5회까지 무료 투표 가능합니다.
|
|
731
836
|
* @summary 투표 참여
|
|
@@ -840,6 +945,14 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
840
945
|
* @memberof DefaultApi
|
|
841
946
|
*/
|
|
842
947
|
create(voteCreateRequest: VoteCreateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VoteCreateResponse, any, {}>>;
|
|
948
|
+
/**
|
|
949
|
+
*
|
|
950
|
+
* @param {UserDeleteReq} userDeleteReq
|
|
951
|
+
* @param {*} [options] Override http request option.
|
|
952
|
+
* @throws {RequiredError}
|
|
953
|
+
* @memberof DefaultApi
|
|
954
|
+
*/
|
|
955
|
+
deleteAccount(userDeleteReq: UserDeleteReq, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
843
956
|
/**
|
|
844
957
|
* 현재 알림 설정 상태를 조회합니다.
|
|
845
958
|
* @summary 알림 설정 조회
|
|
@@ -972,6 +1085,22 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
972
1085
|
* @memberof DefaultApi
|
|
973
1086
|
*/
|
|
974
1087
|
getVoteList(cursor?: number, size?: number, sort?: GetVoteListSortEnum, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<HomeVoteListResponse, any, {}>>;
|
|
1088
|
+
/**
|
|
1089
|
+
*
|
|
1090
|
+
* @param {GetVoteListEndParticipatedTypeEnum} type
|
|
1091
|
+
* @param {*} [options] Override http request option.
|
|
1092
|
+
* @throws {RequiredError}
|
|
1093
|
+
* @memberof DefaultApi
|
|
1094
|
+
*/
|
|
1095
|
+
getVoteListEndParticipated(type: GetVoteListEndParticipatedTypeEnum, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<MyParticipatedVoteResponse, any, {}>>;
|
|
1096
|
+
/**
|
|
1097
|
+
*
|
|
1098
|
+
* @param {GetVoteListParticipatedTypeEnum} type
|
|
1099
|
+
* @param {*} [options] Override http request option.
|
|
1100
|
+
* @throws {RequiredError}
|
|
1101
|
+
* @memberof DefaultApi
|
|
1102
|
+
*/
|
|
1103
|
+
getVoteListParticipated(type: GetVoteListParticipatedTypeEnum, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<MyParticipatedVoteResponse, any, {}>>;
|
|
975
1104
|
/**
|
|
976
1105
|
* 사용자 기본 프로필 정보를 초기화합니다.
|
|
977
1106
|
* @summary 기본 프로필 초기화
|
|
@@ -990,6 +1119,13 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
990
1119
|
* @memberof DefaultApi
|
|
991
1120
|
*/
|
|
992
1121
|
isUniqueNickname(userNicknameRec: UserNicknameRec, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<NicknameCheckResponse, any, {}>>;
|
|
1122
|
+
/**
|
|
1123
|
+
*
|
|
1124
|
+
* @param {*} [options] Override http request option.
|
|
1125
|
+
* @throws {RequiredError}
|
|
1126
|
+
* @memberof DefaultApi
|
|
1127
|
+
*/
|
|
1128
|
+
logout(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
993
1129
|
/**
|
|
994
1130
|
* 모든 알림을 읽음 처리합니다.
|
|
995
1131
|
* @summary 모든 알림 읽음 처리
|
|
@@ -1007,6 +1143,14 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
1007
1143
|
* @memberof DefaultApi
|
|
1008
1144
|
*/
|
|
1009
1145
|
markAsRead(notificationId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
1146
|
+
/**
|
|
1147
|
+
*
|
|
1148
|
+
* @param {UserModifyInfoRequest} userModifyInfoRequest
|
|
1149
|
+
* @param {*} [options] Override http request option.
|
|
1150
|
+
* @throws {RequiredError}
|
|
1151
|
+
* @memberof DefaultApi
|
|
1152
|
+
*/
|
|
1153
|
+
modifyNickname(userModifyInfoRequest: UserModifyInfoRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any, {}>>;
|
|
1010
1154
|
/**
|
|
1011
1155
|
* 투표에 참여합니다. 비회원은 5회까지 무료 투표 가능합니다.
|
|
1012
1156
|
* @summary 투표 참여
|
|
@@ -1116,3 +1260,21 @@ export declare const GetVoteListSortEnum: {
|
|
|
1116
1260
|
readonly EndingSoon: "ENDING_SOON";
|
|
1117
1261
|
};
|
|
1118
1262
|
export type GetVoteListSortEnum = typeof GetVoteListSortEnum[keyof typeof GetVoteListSortEnum];
|
|
1263
|
+
/**
|
|
1264
|
+
* @export
|
|
1265
|
+
*/
|
|
1266
|
+
export declare const GetVoteListEndParticipatedTypeEnum: {
|
|
1267
|
+
readonly Latest: "LATEST";
|
|
1268
|
+
readonly EndAt: "END_AT";
|
|
1269
|
+
readonly Popular: "POPULAR";
|
|
1270
|
+
};
|
|
1271
|
+
export type GetVoteListEndParticipatedTypeEnum = typeof GetVoteListEndParticipatedTypeEnum[keyof typeof GetVoteListEndParticipatedTypeEnum];
|
|
1272
|
+
/**
|
|
1273
|
+
* @export
|
|
1274
|
+
*/
|
|
1275
|
+
export declare const GetVoteListParticipatedTypeEnum: {
|
|
1276
|
+
readonly Latest: "LATEST";
|
|
1277
|
+
readonly EndAt: "END_AT";
|
|
1278
|
+
readonly Popular: "POPULAR";
|
|
1279
|
+
};
|
|
1280
|
+
export type GetVoteListParticipatedTypeEnum = typeof GetVoteListParticipatedTypeEnum[keyof typeof GetVoteListParticipatedTypeEnum];
|
package/dist/api/default-api.js
CHANGED
|
@@ -16,7 +16,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
16
16
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
17
17
|
};
|
|
18
18
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19
|
-
exports.GetVoteListSortEnum = exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = void 0;
|
|
19
|
+
exports.GetVoteListParticipatedTypeEnum = exports.GetVoteListEndParticipatedTypeEnum = exports.GetVoteListSortEnum = exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = void 0;
|
|
20
20
|
const axios_1 = __importDefault(require("axios"));
|
|
21
21
|
// Some imports not used depending on template conditions
|
|
22
22
|
// @ts-ignore
|
|
@@ -94,6 +94,38 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
94
94
|
options: localVarRequestOptions,
|
|
95
95
|
};
|
|
96
96
|
},
|
|
97
|
+
/**
|
|
98
|
+
*
|
|
99
|
+
* @param {UserDeleteReq} userDeleteReq
|
|
100
|
+
* @param {*} [options] Override http request option.
|
|
101
|
+
* @throws {RequiredError}
|
|
102
|
+
*/
|
|
103
|
+
deleteAccount: async (userDeleteReq, options = {}) => {
|
|
104
|
+
// verify required parameter 'userDeleteReq' is not null or undefined
|
|
105
|
+
(0, common_1.assertParamExists)('deleteAccount', 'userDeleteReq', userDeleteReq);
|
|
106
|
+
const localVarPath = `/api/users/profile/delete`;
|
|
107
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
108
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
109
|
+
let baseOptions;
|
|
110
|
+
if (configuration) {
|
|
111
|
+
baseOptions = configuration.baseOptions;
|
|
112
|
+
}
|
|
113
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
114
|
+
const localVarHeaderParameter = {};
|
|
115
|
+
const localVarQueryParameter = {};
|
|
116
|
+
// authentication bearerAuth required
|
|
117
|
+
// http bearer authentication required
|
|
118
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
119
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
120
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
121
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
122
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
123
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(userDeleteReq, localVarRequestOptions, configuration);
|
|
124
|
+
return {
|
|
125
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
126
|
+
options: localVarRequestOptions,
|
|
127
|
+
};
|
|
128
|
+
},
|
|
97
129
|
/**
|
|
98
130
|
* 현재 알림 설정 상태를 조회합니다.
|
|
99
131
|
* @summary 알림 설정 조회
|
|
@@ -562,6 +594,72 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
562
594
|
options: localVarRequestOptions,
|
|
563
595
|
};
|
|
564
596
|
},
|
|
597
|
+
/**
|
|
598
|
+
*
|
|
599
|
+
* @param {GetVoteListEndParticipatedTypeEnum} type
|
|
600
|
+
* @param {*} [options] Override http request option.
|
|
601
|
+
* @throws {RequiredError}
|
|
602
|
+
*/
|
|
603
|
+
getVoteListEndParticipated: async (type, options = {}) => {
|
|
604
|
+
// verify required parameter 'type' is not null or undefined
|
|
605
|
+
(0, common_1.assertParamExists)('getVoteListEndParticipated', 'type', type);
|
|
606
|
+
const localVarPath = `/api/votes/me/participated/end`;
|
|
607
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
608
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
609
|
+
let baseOptions;
|
|
610
|
+
if (configuration) {
|
|
611
|
+
baseOptions = configuration.baseOptions;
|
|
612
|
+
}
|
|
613
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
614
|
+
const localVarHeaderParameter = {};
|
|
615
|
+
const localVarQueryParameter = {};
|
|
616
|
+
// authentication bearerAuth required
|
|
617
|
+
// http bearer authentication required
|
|
618
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
619
|
+
if (type !== undefined) {
|
|
620
|
+
localVarQueryParameter['type'] = type;
|
|
621
|
+
}
|
|
622
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
623
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
624
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
625
|
+
return {
|
|
626
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
627
|
+
options: localVarRequestOptions,
|
|
628
|
+
};
|
|
629
|
+
},
|
|
630
|
+
/**
|
|
631
|
+
*
|
|
632
|
+
* @param {GetVoteListParticipatedTypeEnum} type
|
|
633
|
+
* @param {*} [options] Override http request option.
|
|
634
|
+
* @throws {RequiredError}
|
|
635
|
+
*/
|
|
636
|
+
getVoteListParticipated: async (type, options = {}) => {
|
|
637
|
+
// verify required parameter 'type' is not null or undefined
|
|
638
|
+
(0, common_1.assertParamExists)('getVoteListParticipated', 'type', type);
|
|
639
|
+
const localVarPath = `/api/votes/me/participated`;
|
|
640
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
641
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
642
|
+
let baseOptions;
|
|
643
|
+
if (configuration) {
|
|
644
|
+
baseOptions = configuration.baseOptions;
|
|
645
|
+
}
|
|
646
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
647
|
+
const localVarHeaderParameter = {};
|
|
648
|
+
const localVarQueryParameter = {};
|
|
649
|
+
// authentication bearerAuth required
|
|
650
|
+
// http bearer authentication required
|
|
651
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
652
|
+
if (type !== undefined) {
|
|
653
|
+
localVarQueryParameter['type'] = type;
|
|
654
|
+
}
|
|
655
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
656
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
657
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
658
|
+
return {
|
|
659
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
660
|
+
options: localVarRequestOptions,
|
|
661
|
+
};
|
|
662
|
+
},
|
|
565
663
|
/**
|
|
566
664
|
* 사용자 기본 프로필 정보를 초기화합니다.
|
|
567
665
|
* @summary 기본 프로필 초기화
|
|
@@ -628,6 +726,33 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
628
726
|
options: localVarRequestOptions,
|
|
629
727
|
};
|
|
630
728
|
},
|
|
729
|
+
/**
|
|
730
|
+
*
|
|
731
|
+
* @param {*} [options] Override http request option.
|
|
732
|
+
* @throws {RequiredError}
|
|
733
|
+
*/
|
|
734
|
+
logout: async (options = {}) => {
|
|
735
|
+
const localVarPath = `/api/users/logout`;
|
|
736
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
737
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
738
|
+
let baseOptions;
|
|
739
|
+
if (configuration) {
|
|
740
|
+
baseOptions = configuration.baseOptions;
|
|
741
|
+
}
|
|
742
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
743
|
+
const localVarHeaderParameter = {};
|
|
744
|
+
const localVarQueryParameter = {};
|
|
745
|
+
// authentication bearerAuth required
|
|
746
|
+
// http bearer authentication required
|
|
747
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
748
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
749
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
750
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
751
|
+
return {
|
|
752
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
753
|
+
options: localVarRequestOptions,
|
|
754
|
+
};
|
|
755
|
+
},
|
|
631
756
|
/**
|
|
632
757
|
* 모든 알림을 읽음 처리합니다.
|
|
633
758
|
* @summary 모든 알림 읽음 처리
|
|
@@ -688,6 +813,38 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
688
813
|
options: localVarRequestOptions,
|
|
689
814
|
};
|
|
690
815
|
},
|
|
816
|
+
/**
|
|
817
|
+
*
|
|
818
|
+
* @param {UserModifyInfoRequest} userModifyInfoRequest
|
|
819
|
+
* @param {*} [options] Override http request option.
|
|
820
|
+
* @throws {RequiredError}
|
|
821
|
+
*/
|
|
822
|
+
modifyNickname: async (userModifyInfoRequest, options = {}) => {
|
|
823
|
+
// verify required parameter 'userModifyInfoRequest' is not null or undefined
|
|
824
|
+
(0, common_1.assertParamExists)('modifyNickname', 'userModifyInfoRequest', userModifyInfoRequest);
|
|
825
|
+
const localVarPath = `/api/users/change/info`;
|
|
826
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
827
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
828
|
+
let baseOptions;
|
|
829
|
+
if (configuration) {
|
|
830
|
+
baseOptions = configuration.baseOptions;
|
|
831
|
+
}
|
|
832
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options };
|
|
833
|
+
const localVarHeaderParameter = {};
|
|
834
|
+
const localVarQueryParameter = {};
|
|
835
|
+
// authentication bearerAuth required
|
|
836
|
+
// http bearer authentication required
|
|
837
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
838
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
839
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
840
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
841
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
842
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(userModifyInfoRequest, localVarRequestOptions, configuration);
|
|
843
|
+
return {
|
|
844
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
845
|
+
options: localVarRequestOptions,
|
|
846
|
+
};
|
|
847
|
+
},
|
|
691
848
|
/**
|
|
692
849
|
* 투표에 참여합니다. 비회원은 5회까지 무료 투표 가능합니다.
|
|
693
850
|
* @summary 투표 참여
|
|
@@ -1083,6 +1240,18 @@ const DefaultApiFp = function (configuration) {
|
|
|
1083
1240
|
const localVarOperationServerBasePath = base_1.operationServerMap['DefaultApi.create']?.[localVarOperationServerIndex]?.url;
|
|
1084
1241
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1085
1242
|
},
|
|
1243
|
+
/**
|
|
1244
|
+
*
|
|
1245
|
+
* @param {UserDeleteReq} userDeleteReq
|
|
1246
|
+
* @param {*} [options] Override http request option.
|
|
1247
|
+
* @throws {RequiredError}
|
|
1248
|
+
*/
|
|
1249
|
+
async deleteAccount(userDeleteReq, options) {
|
|
1250
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteAccount(userDeleteReq, options);
|
|
1251
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1252
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['DefaultApi.deleteAccount']?.[localVarOperationServerIndex]?.url;
|
|
1253
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1254
|
+
},
|
|
1086
1255
|
/**
|
|
1087
1256
|
* 현재 알림 설정 상태를 조회합니다.
|
|
1088
1257
|
* @summary 알림 설정 조회
|
|
@@ -1275,6 +1444,30 @@ const DefaultApiFp = function (configuration) {
|
|
|
1275
1444
|
const localVarOperationServerBasePath = base_1.operationServerMap['DefaultApi.getVoteList']?.[localVarOperationServerIndex]?.url;
|
|
1276
1445
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1277
1446
|
},
|
|
1447
|
+
/**
|
|
1448
|
+
*
|
|
1449
|
+
* @param {GetVoteListEndParticipatedTypeEnum} type
|
|
1450
|
+
* @param {*} [options] Override http request option.
|
|
1451
|
+
* @throws {RequiredError}
|
|
1452
|
+
*/
|
|
1453
|
+
async getVoteListEndParticipated(type, options) {
|
|
1454
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getVoteListEndParticipated(type, options);
|
|
1455
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1456
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['DefaultApi.getVoteListEndParticipated']?.[localVarOperationServerIndex]?.url;
|
|
1457
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1458
|
+
},
|
|
1459
|
+
/**
|
|
1460
|
+
*
|
|
1461
|
+
* @param {GetVoteListParticipatedTypeEnum} type
|
|
1462
|
+
* @param {*} [options] Override http request option.
|
|
1463
|
+
* @throws {RequiredError}
|
|
1464
|
+
*/
|
|
1465
|
+
async getVoteListParticipated(type, options) {
|
|
1466
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getVoteListParticipated(type, options);
|
|
1467
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1468
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['DefaultApi.getVoteListParticipated']?.[localVarOperationServerIndex]?.url;
|
|
1469
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1470
|
+
},
|
|
1278
1471
|
/**
|
|
1279
1472
|
* 사용자 기본 프로필 정보를 초기화합니다.
|
|
1280
1473
|
* @summary 기본 프로필 초기화
|
|
@@ -1301,6 +1494,17 @@ const DefaultApiFp = function (configuration) {
|
|
|
1301
1494
|
const localVarOperationServerBasePath = base_1.operationServerMap['DefaultApi.isUniqueNickname']?.[localVarOperationServerIndex]?.url;
|
|
1302
1495
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1303
1496
|
},
|
|
1497
|
+
/**
|
|
1498
|
+
*
|
|
1499
|
+
* @param {*} [options] Override http request option.
|
|
1500
|
+
* @throws {RequiredError}
|
|
1501
|
+
*/
|
|
1502
|
+
async logout(options) {
|
|
1503
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.logout(options);
|
|
1504
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1505
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['DefaultApi.logout']?.[localVarOperationServerIndex]?.url;
|
|
1506
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1507
|
+
},
|
|
1304
1508
|
/**
|
|
1305
1509
|
* 모든 알림을 읽음 처리합니다.
|
|
1306
1510
|
* @summary 모든 알림 읽음 처리
|
|
@@ -1326,6 +1530,18 @@ const DefaultApiFp = function (configuration) {
|
|
|
1326
1530
|
const localVarOperationServerBasePath = base_1.operationServerMap['DefaultApi.markAsRead']?.[localVarOperationServerIndex]?.url;
|
|
1327
1531
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1328
1532
|
},
|
|
1533
|
+
/**
|
|
1534
|
+
*
|
|
1535
|
+
* @param {UserModifyInfoRequest} userModifyInfoRequest
|
|
1536
|
+
* @param {*} [options] Override http request option.
|
|
1537
|
+
* @throws {RequiredError}
|
|
1538
|
+
*/
|
|
1539
|
+
async modifyNickname(userModifyInfoRequest, options) {
|
|
1540
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.modifyNickname(userModifyInfoRequest, options);
|
|
1541
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1542
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['DefaultApi.modifyNickname']?.[localVarOperationServerIndex]?.url;
|
|
1543
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1544
|
+
},
|
|
1329
1545
|
/**
|
|
1330
1546
|
* 투표에 참여합니다. 비회원은 5회까지 무료 투표 가능합니다.
|
|
1331
1547
|
* @summary 투표 참여
|
|
@@ -1499,6 +1715,15 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
1499
1715
|
create(voteCreateRequest, options) {
|
|
1500
1716
|
return localVarFp.create(voteCreateRequest, options).then((request) => request(axios, basePath));
|
|
1501
1717
|
},
|
|
1718
|
+
/**
|
|
1719
|
+
*
|
|
1720
|
+
* @param {UserDeleteReq} userDeleteReq
|
|
1721
|
+
* @param {*} [options] Override http request option.
|
|
1722
|
+
* @throws {RequiredError}
|
|
1723
|
+
*/
|
|
1724
|
+
deleteAccount(userDeleteReq, options) {
|
|
1725
|
+
return localVarFp.deleteAccount(userDeleteReq, options).then((request) => request(axios, basePath));
|
|
1726
|
+
},
|
|
1502
1727
|
/**
|
|
1503
1728
|
* 현재 알림 설정 상태를 조회합니다.
|
|
1504
1729
|
* @summary 알림 설정 조회
|
|
@@ -1646,6 +1871,24 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
1646
1871
|
getVoteList(cursor, size, sort, options) {
|
|
1647
1872
|
return localVarFp.getVoteList(cursor, size, sort, options).then((request) => request(axios, basePath));
|
|
1648
1873
|
},
|
|
1874
|
+
/**
|
|
1875
|
+
*
|
|
1876
|
+
* @param {GetVoteListEndParticipatedTypeEnum} type
|
|
1877
|
+
* @param {*} [options] Override http request option.
|
|
1878
|
+
* @throws {RequiredError}
|
|
1879
|
+
*/
|
|
1880
|
+
getVoteListEndParticipated(type, options) {
|
|
1881
|
+
return localVarFp.getVoteListEndParticipated(type, options).then((request) => request(axios, basePath));
|
|
1882
|
+
},
|
|
1883
|
+
/**
|
|
1884
|
+
*
|
|
1885
|
+
* @param {GetVoteListParticipatedTypeEnum} type
|
|
1886
|
+
* @param {*} [options] Override http request option.
|
|
1887
|
+
* @throws {RequiredError}
|
|
1888
|
+
*/
|
|
1889
|
+
getVoteListParticipated(type, options) {
|
|
1890
|
+
return localVarFp.getVoteListParticipated(type, options).then((request) => request(axios, basePath));
|
|
1891
|
+
},
|
|
1649
1892
|
/**
|
|
1650
1893
|
* 사용자 기본 프로필 정보를 초기화합니다.
|
|
1651
1894
|
* @summary 기본 프로필 초기화
|
|
@@ -1666,6 +1909,14 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
1666
1909
|
isUniqueNickname(userNicknameRec, options) {
|
|
1667
1910
|
return localVarFp.isUniqueNickname(userNicknameRec, options).then((request) => request(axios, basePath));
|
|
1668
1911
|
},
|
|
1912
|
+
/**
|
|
1913
|
+
*
|
|
1914
|
+
* @param {*} [options] Override http request option.
|
|
1915
|
+
* @throws {RequiredError}
|
|
1916
|
+
*/
|
|
1917
|
+
logout(options) {
|
|
1918
|
+
return localVarFp.logout(options).then((request) => request(axios, basePath));
|
|
1919
|
+
},
|
|
1669
1920
|
/**
|
|
1670
1921
|
* 모든 알림을 읽음 처리합니다.
|
|
1671
1922
|
* @summary 모든 알림 읽음 처리
|
|
@@ -1685,6 +1936,15 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
1685
1936
|
markAsRead(notificationId, options) {
|
|
1686
1937
|
return localVarFp.markAsRead(notificationId, options).then((request) => request(axios, basePath));
|
|
1687
1938
|
},
|
|
1939
|
+
/**
|
|
1940
|
+
*
|
|
1941
|
+
* @param {UserModifyInfoRequest} userModifyInfoRequest
|
|
1942
|
+
* @param {*} [options] Override http request option.
|
|
1943
|
+
* @throws {RequiredError}
|
|
1944
|
+
*/
|
|
1945
|
+
modifyNickname(userModifyInfoRequest, options) {
|
|
1946
|
+
return localVarFp.modifyNickname(userModifyInfoRequest, options).then((request) => request(axios, basePath));
|
|
1947
|
+
},
|
|
1688
1948
|
/**
|
|
1689
1949
|
* 투표에 참여합니다. 비회원은 5회까지 무료 투표 가능합니다.
|
|
1690
1950
|
* @summary 투표 참여
|
|
@@ -1827,6 +2087,16 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
1827
2087
|
create(voteCreateRequest, options) {
|
|
1828
2088
|
return (0, exports.DefaultApiFp)(this.configuration).create(voteCreateRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1829
2089
|
}
|
|
2090
|
+
/**
|
|
2091
|
+
*
|
|
2092
|
+
* @param {UserDeleteReq} userDeleteReq
|
|
2093
|
+
* @param {*} [options] Override http request option.
|
|
2094
|
+
* @throws {RequiredError}
|
|
2095
|
+
* @memberof DefaultApi
|
|
2096
|
+
*/
|
|
2097
|
+
deleteAccount(userDeleteReq, options) {
|
|
2098
|
+
return (0, exports.DefaultApiFp)(this.configuration).deleteAccount(userDeleteReq, options).then((request) => request(this.axios, this.basePath));
|
|
2099
|
+
}
|
|
1830
2100
|
/**
|
|
1831
2101
|
* 현재 알림 설정 상태를 조회합니다.
|
|
1832
2102
|
* @summary 알림 설정 조회
|
|
@@ -1989,6 +2259,26 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
1989
2259
|
getVoteList(cursor, size, sort, options) {
|
|
1990
2260
|
return (0, exports.DefaultApiFp)(this.configuration).getVoteList(cursor, size, sort, options).then((request) => request(this.axios, this.basePath));
|
|
1991
2261
|
}
|
|
2262
|
+
/**
|
|
2263
|
+
*
|
|
2264
|
+
* @param {GetVoteListEndParticipatedTypeEnum} type
|
|
2265
|
+
* @param {*} [options] Override http request option.
|
|
2266
|
+
* @throws {RequiredError}
|
|
2267
|
+
* @memberof DefaultApi
|
|
2268
|
+
*/
|
|
2269
|
+
getVoteListEndParticipated(type, options) {
|
|
2270
|
+
return (0, exports.DefaultApiFp)(this.configuration).getVoteListEndParticipated(type, options).then((request) => request(this.axios, this.basePath));
|
|
2271
|
+
}
|
|
2272
|
+
/**
|
|
2273
|
+
*
|
|
2274
|
+
* @param {GetVoteListParticipatedTypeEnum} type
|
|
2275
|
+
* @param {*} [options] Override http request option.
|
|
2276
|
+
* @throws {RequiredError}
|
|
2277
|
+
* @memberof DefaultApi
|
|
2278
|
+
*/
|
|
2279
|
+
getVoteListParticipated(type, options) {
|
|
2280
|
+
return (0, exports.DefaultApiFp)(this.configuration).getVoteListParticipated(type, options).then((request) => request(this.axios, this.basePath));
|
|
2281
|
+
}
|
|
1992
2282
|
/**
|
|
1993
2283
|
* 사용자 기본 프로필 정보를 초기화합니다.
|
|
1994
2284
|
* @summary 기본 프로필 초기화
|
|
@@ -2011,6 +2301,15 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
2011
2301
|
isUniqueNickname(userNicknameRec, options) {
|
|
2012
2302
|
return (0, exports.DefaultApiFp)(this.configuration).isUniqueNickname(userNicknameRec, options).then((request) => request(this.axios, this.basePath));
|
|
2013
2303
|
}
|
|
2304
|
+
/**
|
|
2305
|
+
*
|
|
2306
|
+
* @param {*} [options] Override http request option.
|
|
2307
|
+
* @throws {RequiredError}
|
|
2308
|
+
* @memberof DefaultApi
|
|
2309
|
+
*/
|
|
2310
|
+
logout(options) {
|
|
2311
|
+
return (0, exports.DefaultApiFp)(this.configuration).logout(options).then((request) => request(this.axios, this.basePath));
|
|
2312
|
+
}
|
|
2014
2313
|
/**
|
|
2015
2314
|
* 모든 알림을 읽음 처리합니다.
|
|
2016
2315
|
* @summary 모든 알림 읽음 처리
|
|
@@ -2032,6 +2331,16 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
2032
2331
|
markAsRead(notificationId, options) {
|
|
2033
2332
|
return (0, exports.DefaultApiFp)(this.configuration).markAsRead(notificationId, options).then((request) => request(this.axios, this.basePath));
|
|
2034
2333
|
}
|
|
2334
|
+
/**
|
|
2335
|
+
*
|
|
2336
|
+
* @param {UserModifyInfoRequest} userModifyInfoRequest
|
|
2337
|
+
* @param {*} [options] Override http request option.
|
|
2338
|
+
* @throws {RequiredError}
|
|
2339
|
+
* @memberof DefaultApi
|
|
2340
|
+
*/
|
|
2341
|
+
modifyNickname(userModifyInfoRequest, options) {
|
|
2342
|
+
return (0, exports.DefaultApiFp)(this.configuration).modifyNickname(userModifyInfoRequest, options).then((request) => request(this.axios, this.basePath));
|
|
2343
|
+
}
|
|
2035
2344
|
/**
|
|
2036
2345
|
* 투표에 참여합니다. 비회원은 5회까지 무료 투표 가능합니다.
|
|
2037
2346
|
* @summary 투표 참여
|
|
@@ -2163,3 +2472,19 @@ exports.GetVoteListSortEnum = {
|
|
|
2163
2472
|
Popular: 'POPULAR',
|
|
2164
2473
|
EndingSoon: 'ENDING_SOON'
|
|
2165
2474
|
};
|
|
2475
|
+
/**
|
|
2476
|
+
* @export
|
|
2477
|
+
*/
|
|
2478
|
+
exports.GetVoteListEndParticipatedTypeEnum = {
|
|
2479
|
+
Latest: 'LATEST',
|
|
2480
|
+
EndAt: 'END_AT',
|
|
2481
|
+
Popular: 'POPULAR'
|
|
2482
|
+
};
|
|
2483
|
+
/**
|
|
2484
|
+
* @export
|
|
2485
|
+
*/
|
|
2486
|
+
exports.GetVoteListParticipatedTypeEnum = {
|
|
2487
|
+
Latest: 'LATEST',
|
|
2488
|
+
EndAt: 'END_AT',
|
|
2489
|
+
Popular: 'POPULAR'
|
|
2490
|
+
};
|
package/dist/models/index.d.ts
CHANGED
|
@@ -22,6 +22,7 @@ export * from './insight-response';
|
|
|
22
22
|
export * from './mark-as-read-request';
|
|
23
23
|
export * from './message-page-response';
|
|
24
24
|
export * from './message-response';
|
|
25
|
+
export * from './my-participated-vote-response';
|
|
25
26
|
export * from './my-vote';
|
|
26
27
|
export * from './nickname-check-response';
|
|
27
28
|
export * from './notification-item';
|
|
@@ -39,7 +40,9 @@ export * from './send-message-request';
|
|
|
39
40
|
export * from './share-link-response';
|
|
40
41
|
export * from './unread-count-response';
|
|
41
42
|
export * from './update-notification-setting-request';
|
|
43
|
+
export * from './user-delete-req';
|
|
42
44
|
export * from './user-extra-info';
|
|
45
|
+
export * from './user-modify-info-request';
|
|
43
46
|
export * from './user-nickname-rec';
|
|
44
47
|
export * from './user-profile-default-response';
|
|
45
48
|
export * from './user-profile-request';
|
|
@@ -47,6 +50,7 @@ export * from './user-profile-response';
|
|
|
47
50
|
export * from './vote-create-request';
|
|
48
51
|
export * from './vote-create-response';
|
|
49
52
|
export * from './vote-detail-response';
|
|
53
|
+
export * from './vote-element';
|
|
50
54
|
export * from './vote-item';
|
|
51
55
|
export * from './vote-list-item';
|
|
52
56
|
export * from './vote-result-response';
|
package/dist/models/index.js
CHANGED
|
@@ -38,6 +38,7 @@ __exportStar(require("./insight-response"), exports);
|
|
|
38
38
|
__exportStar(require("./mark-as-read-request"), exports);
|
|
39
39
|
__exportStar(require("./message-page-response"), exports);
|
|
40
40
|
__exportStar(require("./message-response"), exports);
|
|
41
|
+
__exportStar(require("./my-participated-vote-response"), exports);
|
|
41
42
|
__exportStar(require("./my-vote"), exports);
|
|
42
43
|
__exportStar(require("./nickname-check-response"), exports);
|
|
43
44
|
__exportStar(require("./notification-item"), exports);
|
|
@@ -55,7 +56,9 @@ __exportStar(require("./send-message-request"), exports);
|
|
|
55
56
|
__exportStar(require("./share-link-response"), exports);
|
|
56
57
|
__exportStar(require("./unread-count-response"), exports);
|
|
57
58
|
__exportStar(require("./update-notification-setting-request"), exports);
|
|
59
|
+
__exportStar(require("./user-delete-req"), exports);
|
|
58
60
|
__exportStar(require("./user-extra-info"), exports);
|
|
61
|
+
__exportStar(require("./user-modify-info-request"), exports);
|
|
59
62
|
__exportStar(require("./user-nickname-rec"), exports);
|
|
60
63
|
__exportStar(require("./user-profile-default-response"), exports);
|
|
61
64
|
__exportStar(require("./user-profile-request"), exports);
|
|
@@ -63,6 +66,7 @@ __exportStar(require("./user-profile-response"), exports);
|
|
|
63
66
|
__exportStar(require("./vote-create-request"), exports);
|
|
64
67
|
__exportStar(require("./vote-create-response"), exports);
|
|
65
68
|
__exportStar(require("./vote-detail-response"), exports);
|
|
69
|
+
__exportStar(require("./vote-element"), exports);
|
|
66
70
|
__exportStar(require("./vote-item"), exports);
|
|
67
71
|
__exportStar(require("./vote-list-item"), exports);
|
|
68
72
|
__exportStar(require("./vote-result-response"), exports);
|
|
@@ -0,0 +1,16 @@
|
|
|
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 { VoteElement } from './vote-element';
|
|
13
|
+
export interface MyParticipatedVoteResponse {
|
|
14
|
+
count?: number;
|
|
15
|
+
voteList?: Array<VoteElement>;
|
|
16
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* VS Server API
|
|
6
|
+
* JECT 4기 2팀 VS Server API
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,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 UserDeleteReq {
|
|
13
|
+
category?: string;
|
|
14
|
+
reasone?: 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 });
|
|
@@ -0,0 +1,22 @@
|
|
|
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 UserModifyInfoRequest {
|
|
13
|
+
nickname?: string;
|
|
14
|
+
imageColor?: UserModifyInfoRequestImageColorEnum;
|
|
15
|
+
}
|
|
16
|
+
export declare const UserModifyInfoRequestImageColorEnum: {
|
|
17
|
+
readonly Green: "GREEN";
|
|
18
|
+
readonly Red: "RED";
|
|
19
|
+
readonly Blue: "BLUE";
|
|
20
|
+
readonly Yellow: "YELLOW";
|
|
21
|
+
};
|
|
22
|
+
export type UserModifyInfoRequestImageColorEnum = typeof UserModifyInfoRequestImageColorEnum[keyof typeof UserModifyInfoRequestImageColorEnum];
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* VS Server API
|
|
6
|
+
* JECT 4기 2팀 VS Server API
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.UserModifyInfoRequestImageColorEnum = void 0;
|
|
17
|
+
exports.UserModifyInfoRequestImageColorEnum = {
|
|
18
|
+
Green: 'GREEN',
|
|
19
|
+
Red: 'RED',
|
|
20
|
+
Blue: 'BLUE',
|
|
21
|
+
Yellow: 'YELLOW'
|
|
22
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
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 VoteElement {
|
|
13
|
+
id?: number;
|
|
14
|
+
title?: string;
|
|
15
|
+
content?: string;
|
|
16
|
+
thumbnailUrl?: string;
|
|
17
|
+
localDate?: string;
|
|
18
|
+
endAt?: string;
|
|
19
|
+
}
|
|
@@ -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 });
|