@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
|
@@ -1,362 +0,0 @@
|
|
|
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
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
16
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
17
|
-
};
|
|
18
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19
|
-
exports.UserControllerApi = exports.UserControllerApiFactory = exports.UserControllerApiFp = exports.UserControllerApiAxiosParamCreator = void 0;
|
|
20
|
-
const axios_1 = __importDefault(require("axios"));
|
|
21
|
-
// Some imports not used depending on template conditions
|
|
22
|
-
// @ts-ignore
|
|
23
|
-
const common_1 = require("../common");
|
|
24
|
-
// @ts-ignore
|
|
25
|
-
const base_1 = require("../base");
|
|
26
|
-
/**
|
|
27
|
-
* UserControllerApi - axios parameter creator
|
|
28
|
-
* @export
|
|
29
|
-
*/
|
|
30
|
-
const UserControllerApiAxiosParamCreator = function (configuration) {
|
|
31
|
-
return {
|
|
32
|
-
/**
|
|
33
|
-
*
|
|
34
|
-
* @param {*} [options] Override http request option.
|
|
35
|
-
* @throws {RequiredError}
|
|
36
|
-
*/
|
|
37
|
-
getMyProfile: async (options = {}) => {
|
|
38
|
-
const localVarPath = `/api/users/me`;
|
|
39
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
40
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
41
|
-
let baseOptions;
|
|
42
|
-
if (configuration) {
|
|
43
|
-
baseOptions = configuration.baseOptions;
|
|
44
|
-
}
|
|
45
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
46
|
-
const localVarHeaderParameter = {};
|
|
47
|
-
const localVarQueryParameter = {};
|
|
48
|
-
// authentication bearerAuth required
|
|
49
|
-
// http bearer authentication required
|
|
50
|
-
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
51
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
52
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
53
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
54
|
-
return {
|
|
55
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
56
|
-
options: localVarRequestOptions,
|
|
57
|
-
};
|
|
58
|
-
},
|
|
59
|
-
/**
|
|
60
|
-
*
|
|
61
|
-
* @param {UserProfileRequest} userProfileRequest
|
|
62
|
-
* @param {*} [options] Override http request option.
|
|
63
|
-
* @throws {RequiredError}
|
|
64
|
-
*/
|
|
65
|
-
initializeDefaultProfile: async (userProfileRequest, options = {}) => {
|
|
66
|
-
// verify required parameter 'userProfileRequest' is not null or undefined
|
|
67
|
-
(0, common_1.assertParamExists)('initializeDefaultProfile', 'userProfileRequest', userProfileRequest);
|
|
68
|
-
const localVarPath = `/api/users/info`;
|
|
69
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
70
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
71
|
-
let baseOptions;
|
|
72
|
-
if (configuration) {
|
|
73
|
-
baseOptions = configuration.baseOptions;
|
|
74
|
-
}
|
|
75
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
76
|
-
const localVarHeaderParameter = {};
|
|
77
|
-
const localVarQueryParameter = {};
|
|
78
|
-
// authentication bearerAuth required
|
|
79
|
-
// http bearer authentication required
|
|
80
|
-
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
81
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
82
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
83
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
84
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
85
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(userProfileRequest, localVarRequestOptions, configuration);
|
|
86
|
-
return {
|
|
87
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
88
|
-
options: localVarRequestOptions,
|
|
89
|
-
};
|
|
90
|
-
},
|
|
91
|
-
/**
|
|
92
|
-
*
|
|
93
|
-
* @param {UserNicknameRec} userNicknameRec
|
|
94
|
-
* @param {*} [options] Override http request option.
|
|
95
|
-
* @throws {RequiredError}
|
|
96
|
-
*/
|
|
97
|
-
isUniqueNickname: async (userNicknameRec, options = {}) => {
|
|
98
|
-
// verify required parameter 'userNicknameRec' is not null or undefined
|
|
99
|
-
(0, common_1.assertParamExists)('isUniqueNickname', 'userNicknameRec', userNicknameRec);
|
|
100
|
-
const localVarPath = `/api/users/nickname/check`;
|
|
101
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
102
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
103
|
-
let baseOptions;
|
|
104
|
-
if (configuration) {
|
|
105
|
-
baseOptions = configuration.baseOptions;
|
|
106
|
-
}
|
|
107
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
108
|
-
const localVarHeaderParameter = {};
|
|
109
|
-
const localVarQueryParameter = {};
|
|
110
|
-
// authentication bearerAuth required
|
|
111
|
-
// http bearer authentication required
|
|
112
|
-
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
113
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
114
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
115
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
116
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
117
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(userNicknameRec, localVarRequestOptions, configuration);
|
|
118
|
-
return {
|
|
119
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
120
|
-
options: localVarRequestOptions,
|
|
121
|
-
};
|
|
122
|
-
},
|
|
123
|
-
/**
|
|
124
|
-
*
|
|
125
|
-
* @param {UserExtraInfo} userExtraInfo
|
|
126
|
-
* @param {*} [options] Override http request option.
|
|
127
|
-
* @throws {RequiredError}
|
|
128
|
-
*/
|
|
129
|
-
setupInfo: async (userExtraInfo, options = {}) => {
|
|
130
|
-
// verify required parameter 'userExtraInfo' is not null or undefined
|
|
131
|
-
(0, common_1.assertParamExists)('setupInfo', 'userExtraInfo', userExtraInfo);
|
|
132
|
-
const localVarPath = `/api/users/me/profile`;
|
|
133
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
134
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
135
|
-
let baseOptions;
|
|
136
|
-
if (configuration) {
|
|
137
|
-
baseOptions = configuration.baseOptions;
|
|
138
|
-
}
|
|
139
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
140
|
-
const localVarHeaderParameter = {};
|
|
141
|
-
const localVarQueryParameter = {};
|
|
142
|
-
// authentication bearerAuth required
|
|
143
|
-
// http bearer authentication required
|
|
144
|
-
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
145
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
146
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
147
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
148
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
149
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(userExtraInfo, localVarRequestOptions, configuration);
|
|
150
|
-
return {
|
|
151
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
152
|
-
options: localVarRequestOptions,
|
|
153
|
-
};
|
|
154
|
-
},
|
|
155
|
-
/**
|
|
156
|
-
*
|
|
157
|
-
* @param {*} [options] Override http request option.
|
|
158
|
-
* @throws {RequiredError}
|
|
159
|
-
*/
|
|
160
|
-
suggestNickname: async (options = {}) => {
|
|
161
|
-
const localVarPath = `/api/users/nickname/suggest`;
|
|
162
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
163
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
164
|
-
let baseOptions;
|
|
165
|
-
if (configuration) {
|
|
166
|
-
baseOptions = configuration.baseOptions;
|
|
167
|
-
}
|
|
168
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
169
|
-
const localVarHeaderParameter = {};
|
|
170
|
-
const localVarQueryParameter = {};
|
|
171
|
-
// authentication bearerAuth required
|
|
172
|
-
// http bearer authentication required
|
|
173
|
-
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
174
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
175
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
176
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
177
|
-
return {
|
|
178
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
179
|
-
options: localVarRequestOptions,
|
|
180
|
-
};
|
|
181
|
-
},
|
|
182
|
-
};
|
|
183
|
-
};
|
|
184
|
-
exports.UserControllerApiAxiosParamCreator = UserControllerApiAxiosParamCreator;
|
|
185
|
-
/**
|
|
186
|
-
* UserControllerApi - functional programming interface
|
|
187
|
-
* @export
|
|
188
|
-
*/
|
|
189
|
-
const UserControllerApiFp = function (configuration) {
|
|
190
|
-
const localVarAxiosParamCreator = (0, exports.UserControllerApiAxiosParamCreator)(configuration);
|
|
191
|
-
return {
|
|
192
|
-
/**
|
|
193
|
-
*
|
|
194
|
-
* @param {*} [options] Override http request option.
|
|
195
|
-
* @throws {RequiredError}
|
|
196
|
-
*/
|
|
197
|
-
async getMyProfile(options) {
|
|
198
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getMyProfile(options);
|
|
199
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
200
|
-
const localVarOperationServerBasePath = base_1.operationServerMap['UserControllerApi.getMyProfile']?.[localVarOperationServerIndex]?.url;
|
|
201
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
202
|
-
},
|
|
203
|
-
/**
|
|
204
|
-
*
|
|
205
|
-
* @param {UserProfileRequest} userProfileRequest
|
|
206
|
-
* @param {*} [options] Override http request option.
|
|
207
|
-
* @throws {RequiredError}
|
|
208
|
-
*/
|
|
209
|
-
async initializeDefaultProfile(userProfileRequest, options) {
|
|
210
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.initializeDefaultProfile(userProfileRequest, options);
|
|
211
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
212
|
-
const localVarOperationServerBasePath = base_1.operationServerMap['UserControllerApi.initializeDefaultProfile']?.[localVarOperationServerIndex]?.url;
|
|
213
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
214
|
-
},
|
|
215
|
-
/**
|
|
216
|
-
*
|
|
217
|
-
* @param {UserNicknameRec} userNicknameRec
|
|
218
|
-
* @param {*} [options] Override http request option.
|
|
219
|
-
* @throws {RequiredError}
|
|
220
|
-
*/
|
|
221
|
-
async isUniqueNickname(userNicknameRec, options) {
|
|
222
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.isUniqueNickname(userNicknameRec, options);
|
|
223
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
224
|
-
const localVarOperationServerBasePath = base_1.operationServerMap['UserControllerApi.isUniqueNickname']?.[localVarOperationServerIndex]?.url;
|
|
225
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
226
|
-
},
|
|
227
|
-
/**
|
|
228
|
-
*
|
|
229
|
-
* @param {UserExtraInfo} userExtraInfo
|
|
230
|
-
* @param {*} [options] Override http request option.
|
|
231
|
-
* @throws {RequiredError}
|
|
232
|
-
*/
|
|
233
|
-
async setupInfo(userExtraInfo, options) {
|
|
234
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.setupInfo(userExtraInfo, options);
|
|
235
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
236
|
-
const localVarOperationServerBasePath = base_1.operationServerMap['UserControllerApi.setupInfo']?.[localVarOperationServerIndex]?.url;
|
|
237
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
238
|
-
},
|
|
239
|
-
/**
|
|
240
|
-
*
|
|
241
|
-
* @param {*} [options] Override http request option.
|
|
242
|
-
* @throws {RequiredError}
|
|
243
|
-
*/
|
|
244
|
-
async suggestNickname(options) {
|
|
245
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.suggestNickname(options);
|
|
246
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
247
|
-
const localVarOperationServerBasePath = base_1.operationServerMap['UserControllerApi.suggestNickname']?.[localVarOperationServerIndex]?.url;
|
|
248
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
249
|
-
},
|
|
250
|
-
};
|
|
251
|
-
};
|
|
252
|
-
exports.UserControllerApiFp = UserControllerApiFp;
|
|
253
|
-
/**
|
|
254
|
-
* UserControllerApi - factory interface
|
|
255
|
-
* @export
|
|
256
|
-
*/
|
|
257
|
-
const UserControllerApiFactory = function (configuration, basePath, axios) {
|
|
258
|
-
const localVarFp = (0, exports.UserControllerApiFp)(configuration);
|
|
259
|
-
return {
|
|
260
|
-
/**
|
|
261
|
-
*
|
|
262
|
-
* @param {*} [options] Override http request option.
|
|
263
|
-
* @throws {RequiredError}
|
|
264
|
-
*/
|
|
265
|
-
getMyProfile(options) {
|
|
266
|
-
return localVarFp.getMyProfile(options).then((request) => request(axios, basePath));
|
|
267
|
-
},
|
|
268
|
-
/**
|
|
269
|
-
*
|
|
270
|
-
* @param {UserProfileRequest} userProfileRequest
|
|
271
|
-
* @param {*} [options] Override http request option.
|
|
272
|
-
* @throws {RequiredError}
|
|
273
|
-
*/
|
|
274
|
-
initializeDefaultProfile(userProfileRequest, options) {
|
|
275
|
-
return localVarFp.initializeDefaultProfile(userProfileRequest, options).then((request) => request(axios, basePath));
|
|
276
|
-
},
|
|
277
|
-
/**
|
|
278
|
-
*
|
|
279
|
-
* @param {UserNicknameRec} userNicknameRec
|
|
280
|
-
* @param {*} [options] Override http request option.
|
|
281
|
-
* @throws {RequiredError}
|
|
282
|
-
*/
|
|
283
|
-
isUniqueNickname(userNicknameRec, options) {
|
|
284
|
-
return localVarFp.isUniqueNickname(userNicknameRec, options).then((request) => request(axios, basePath));
|
|
285
|
-
},
|
|
286
|
-
/**
|
|
287
|
-
*
|
|
288
|
-
* @param {UserExtraInfo} userExtraInfo
|
|
289
|
-
* @param {*} [options] Override http request option.
|
|
290
|
-
* @throws {RequiredError}
|
|
291
|
-
*/
|
|
292
|
-
setupInfo(userExtraInfo, options) {
|
|
293
|
-
return localVarFp.setupInfo(userExtraInfo, options).then((request) => request(axios, basePath));
|
|
294
|
-
},
|
|
295
|
-
/**
|
|
296
|
-
*
|
|
297
|
-
* @param {*} [options] Override http request option.
|
|
298
|
-
* @throws {RequiredError}
|
|
299
|
-
*/
|
|
300
|
-
suggestNickname(options) {
|
|
301
|
-
return localVarFp.suggestNickname(options).then((request) => request(axios, basePath));
|
|
302
|
-
},
|
|
303
|
-
};
|
|
304
|
-
};
|
|
305
|
-
exports.UserControllerApiFactory = UserControllerApiFactory;
|
|
306
|
-
/**
|
|
307
|
-
* UserControllerApi - object-oriented interface
|
|
308
|
-
* @export
|
|
309
|
-
* @class UserControllerApi
|
|
310
|
-
* @extends {BaseAPI}
|
|
311
|
-
*/
|
|
312
|
-
class UserControllerApi extends base_1.BaseAPI {
|
|
313
|
-
/**
|
|
314
|
-
*
|
|
315
|
-
* @param {*} [options] Override http request option.
|
|
316
|
-
* @throws {RequiredError}
|
|
317
|
-
* @memberof UserControllerApi
|
|
318
|
-
*/
|
|
319
|
-
getMyProfile(options) {
|
|
320
|
-
return (0, exports.UserControllerApiFp)(this.configuration).getMyProfile(options).then((request) => request(this.axios, this.basePath));
|
|
321
|
-
}
|
|
322
|
-
/**
|
|
323
|
-
*
|
|
324
|
-
* @param {UserProfileRequest} userProfileRequest
|
|
325
|
-
* @param {*} [options] Override http request option.
|
|
326
|
-
* @throws {RequiredError}
|
|
327
|
-
* @memberof UserControllerApi
|
|
328
|
-
*/
|
|
329
|
-
initializeDefaultProfile(userProfileRequest, options) {
|
|
330
|
-
return (0, exports.UserControllerApiFp)(this.configuration).initializeDefaultProfile(userProfileRequest, options).then((request) => request(this.axios, this.basePath));
|
|
331
|
-
}
|
|
332
|
-
/**
|
|
333
|
-
*
|
|
334
|
-
* @param {UserNicknameRec} userNicknameRec
|
|
335
|
-
* @param {*} [options] Override http request option.
|
|
336
|
-
* @throws {RequiredError}
|
|
337
|
-
* @memberof UserControllerApi
|
|
338
|
-
*/
|
|
339
|
-
isUniqueNickname(userNicknameRec, options) {
|
|
340
|
-
return (0, exports.UserControllerApiFp)(this.configuration).isUniqueNickname(userNicknameRec, options).then((request) => request(this.axios, this.basePath));
|
|
341
|
-
}
|
|
342
|
-
/**
|
|
343
|
-
*
|
|
344
|
-
* @param {UserExtraInfo} userExtraInfo
|
|
345
|
-
* @param {*} [options] Override http request option.
|
|
346
|
-
* @throws {RequiredError}
|
|
347
|
-
* @memberof UserControllerApi
|
|
348
|
-
*/
|
|
349
|
-
setupInfo(userExtraInfo, options) {
|
|
350
|
-
return (0, exports.UserControllerApiFp)(this.configuration).setupInfo(userExtraInfo, options).then((request) => request(this.axios, this.basePath));
|
|
351
|
-
}
|
|
352
|
-
/**
|
|
353
|
-
*
|
|
354
|
-
* @param {*} [options] Override http request option.
|
|
355
|
-
* @throws {RequiredError}
|
|
356
|
-
* @memberof UserControllerApi
|
|
357
|
-
*/
|
|
358
|
-
suggestNickname(options) {
|
|
359
|
-
return (0, exports.UserControllerApiFp)(this.configuration).suggestNickname(options).then((request) => request(this.axios, this.basePath));
|
|
360
|
-
}
|
|
361
|
-
}
|
|
362
|
-
exports.UserControllerApi = UserControllerApi;
|
|
@@ -1,173 +0,0 @@
|
|
|
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 { ParticipateRequest } from '../models';
|
|
16
|
-
import type { ParticipateResponse } from '../models';
|
|
17
|
-
import type { VoteCreateRequest } from '../models';
|
|
18
|
-
import type { VoteCreateResponse } from '../models';
|
|
19
|
-
import type { VoteDetailResponse } from '../models';
|
|
20
|
-
/**
|
|
21
|
-
* VoteControllerApi - axios parameter creator
|
|
22
|
-
* @export
|
|
23
|
-
*/
|
|
24
|
-
export declare const VoteControllerApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* @param {number} voteId
|
|
28
|
-
* @param {*} [options] Override http request option.
|
|
29
|
-
* @throws {RequiredError}
|
|
30
|
-
*/
|
|
31
|
-
cancel: (voteId: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
32
|
-
/**
|
|
33
|
-
*
|
|
34
|
-
* @param {VoteCreateRequest} voteCreateRequest
|
|
35
|
-
* @param {*} [options] Override http request option.
|
|
36
|
-
* @throws {RequiredError}
|
|
37
|
-
*/
|
|
38
|
-
create: (voteCreateRequest: VoteCreateRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
39
|
-
/**
|
|
40
|
-
*
|
|
41
|
-
* @param {number} voteId
|
|
42
|
-
* @param {string} anonymousId
|
|
43
|
-
* @param {*} [options] Override http request option.
|
|
44
|
-
* @throws {RequiredError}
|
|
45
|
-
*/
|
|
46
|
-
getDetail: (voteId: number, anonymousId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
47
|
-
/**
|
|
48
|
-
*
|
|
49
|
-
* @param {number} voteId
|
|
50
|
-
* @param {string} anonymousId
|
|
51
|
-
* @param {ParticipateRequest} participateRequest
|
|
52
|
-
* @param {*} [options] Override http request option.
|
|
53
|
-
* @throws {RequiredError}
|
|
54
|
-
*/
|
|
55
|
-
participate: (voteId: number, anonymousId: string, participateRequest: ParticipateRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
56
|
-
};
|
|
57
|
-
/**
|
|
58
|
-
* VoteControllerApi - functional programming interface
|
|
59
|
-
* @export
|
|
60
|
-
*/
|
|
61
|
-
export declare const VoteControllerApiFp: (configuration?: Configuration) => {
|
|
62
|
-
/**
|
|
63
|
-
*
|
|
64
|
-
* @param {number} voteId
|
|
65
|
-
* @param {*} [options] Override http request option.
|
|
66
|
-
* @throws {RequiredError}
|
|
67
|
-
*/
|
|
68
|
-
cancel(voteId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
69
|
-
/**
|
|
70
|
-
*
|
|
71
|
-
* @param {VoteCreateRequest} voteCreateRequest
|
|
72
|
-
* @param {*} [options] Override http request option.
|
|
73
|
-
* @throws {RequiredError}
|
|
74
|
-
*/
|
|
75
|
-
create(voteCreateRequest: VoteCreateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VoteCreateResponse>>;
|
|
76
|
-
/**
|
|
77
|
-
*
|
|
78
|
-
* @param {number} voteId
|
|
79
|
-
* @param {string} anonymousId
|
|
80
|
-
* @param {*} [options] Override http request option.
|
|
81
|
-
* @throws {RequiredError}
|
|
82
|
-
*/
|
|
83
|
-
getDetail(voteId: number, anonymousId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VoteDetailResponse>>;
|
|
84
|
-
/**
|
|
85
|
-
*
|
|
86
|
-
* @param {number} voteId
|
|
87
|
-
* @param {string} anonymousId
|
|
88
|
-
* @param {ParticipateRequest} participateRequest
|
|
89
|
-
* @param {*} [options] Override http request option.
|
|
90
|
-
* @throws {RequiredError}
|
|
91
|
-
*/
|
|
92
|
-
participate(voteId: number, anonymousId: string, participateRequest: ParticipateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ParticipateResponse>>;
|
|
93
|
-
};
|
|
94
|
-
/**
|
|
95
|
-
* VoteControllerApi - factory interface
|
|
96
|
-
* @export
|
|
97
|
-
*/
|
|
98
|
-
export declare const VoteControllerApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
99
|
-
/**
|
|
100
|
-
*
|
|
101
|
-
* @param {number} voteId
|
|
102
|
-
* @param {*} [options] Override http request option.
|
|
103
|
-
* @throws {RequiredError}
|
|
104
|
-
*/
|
|
105
|
-
cancel(voteId: number, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
106
|
-
/**
|
|
107
|
-
*
|
|
108
|
-
* @param {VoteCreateRequest} voteCreateRequest
|
|
109
|
-
* @param {*} [options] Override http request option.
|
|
110
|
-
* @throws {RequiredError}
|
|
111
|
-
*/
|
|
112
|
-
create(voteCreateRequest: VoteCreateRequest, options?: RawAxiosRequestConfig): AxiosPromise<VoteCreateResponse>;
|
|
113
|
-
/**
|
|
114
|
-
*
|
|
115
|
-
* @param {number} voteId
|
|
116
|
-
* @param {string} anonymousId
|
|
117
|
-
* @param {*} [options] Override http request option.
|
|
118
|
-
* @throws {RequiredError}
|
|
119
|
-
*/
|
|
120
|
-
getDetail(voteId: number, anonymousId: string, options?: RawAxiosRequestConfig): AxiosPromise<VoteDetailResponse>;
|
|
121
|
-
/**
|
|
122
|
-
*
|
|
123
|
-
* @param {number} voteId
|
|
124
|
-
* @param {string} anonymousId
|
|
125
|
-
* @param {ParticipateRequest} participateRequest
|
|
126
|
-
* @param {*} [options] Override http request option.
|
|
127
|
-
* @throws {RequiredError}
|
|
128
|
-
*/
|
|
129
|
-
participate(voteId: number, anonymousId: string, participateRequest: ParticipateRequest, options?: RawAxiosRequestConfig): AxiosPromise<ParticipateResponse>;
|
|
130
|
-
};
|
|
131
|
-
/**
|
|
132
|
-
* VoteControllerApi - object-oriented interface
|
|
133
|
-
* @export
|
|
134
|
-
* @class VoteControllerApi
|
|
135
|
-
* @extends {BaseAPI}
|
|
136
|
-
*/
|
|
137
|
-
export declare class VoteControllerApi extends BaseAPI {
|
|
138
|
-
/**
|
|
139
|
-
*
|
|
140
|
-
* @param {number} voteId
|
|
141
|
-
* @param {*} [options] Override http request option.
|
|
142
|
-
* @throws {RequiredError}
|
|
143
|
-
* @memberof VoteControllerApi
|
|
144
|
-
*/
|
|
145
|
-
cancel(voteId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
146
|
-
/**
|
|
147
|
-
*
|
|
148
|
-
* @param {VoteCreateRequest} voteCreateRequest
|
|
149
|
-
* @param {*} [options] Override http request option.
|
|
150
|
-
* @throws {RequiredError}
|
|
151
|
-
* @memberof VoteControllerApi
|
|
152
|
-
*/
|
|
153
|
-
create(voteCreateRequest: VoteCreateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VoteCreateResponse, any, {}>>;
|
|
154
|
-
/**
|
|
155
|
-
*
|
|
156
|
-
* @param {number} voteId
|
|
157
|
-
* @param {string} anonymousId
|
|
158
|
-
* @param {*} [options] Override http request option.
|
|
159
|
-
* @throws {RequiredError}
|
|
160
|
-
* @memberof VoteControllerApi
|
|
161
|
-
*/
|
|
162
|
-
getDetail(voteId: number, anonymousId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VoteDetailResponse, any, {}>>;
|
|
163
|
-
/**
|
|
164
|
-
*
|
|
165
|
-
* @param {number} voteId
|
|
166
|
-
* @param {string} anonymousId
|
|
167
|
-
* @param {ParticipateRequest} participateRequest
|
|
168
|
-
* @param {*} [options] Override http request option.
|
|
169
|
-
* @throws {RequiredError}
|
|
170
|
-
* @memberof VoteControllerApi
|
|
171
|
-
*/
|
|
172
|
-
participate(voteId: number, anonymousId: string, participateRequest: ParticipateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ParticipateResponse, any, {}>>;
|
|
173
|
-
}
|