@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.
Files changed (69) hide show
  1. package/dist/api/chat-api.d.ts +4 -4
  2. package/dist/api/chat-api.js +10 -10
  3. package/dist/api/default-api.d.ts +1118 -0
  4. package/dist/api/default-api.js +2165 -0
  5. package/dist/api.d.ts +1 -7
  6. package/dist/api.js +1 -7
  7. package/dist/models/emoji-response.d.ts +2 -4
  8. package/dist/models/emoji-summary.d.ts +18 -0
  9. package/dist/models/free-votes-response.d.ts +2 -1
  10. package/dist/models/gender-detail.d.ts +15 -0
  11. package/dist/models/gender-detail.js +15 -0
  12. package/dist/models/gender-distribution-response.d.ts +5 -2
  13. package/dist/models/home-hot-topic-response.d.ts +15 -0
  14. package/dist/models/home-hot-topic-response.js +15 -0
  15. package/dist/models/home-recommendation-response.d.ts +15 -0
  16. package/dist/models/home-recommendation-response.js +15 -0
  17. package/dist/models/home-vote-list-response.d.ts +17 -0
  18. package/dist/models/home-vote-list-response.js +15 -0
  19. package/dist/models/{feed-item.d.ts → hot-topic-item.d.ts} +5 -6
  20. package/dist/models/hot-topic-item.js +15 -0
  21. package/dist/models/immersive-feed-response.d.ts +2 -2
  22. package/dist/models/immersive-live-response.d.ts +3 -4
  23. package/dist/models/index.d.ts +19 -1
  24. package/dist/models/index.js +19 -1
  25. package/dist/models/my-vote.d.ts +15 -0
  26. package/dist/models/my-vote.js +15 -0
  27. package/dist/models/notification-item.d.ts +25 -0
  28. package/dist/models/notification-item.js +19 -0
  29. package/dist/models/notification-list-response.d.ts +17 -0
  30. package/dist/models/notification-list-response.js +15 -0
  31. package/dist/models/notification-setting-response.d.ts +16 -0
  32. package/dist/models/notification-setting-response.js +15 -0
  33. package/dist/models/prompt-status-response.d.ts +15 -0
  34. package/dist/models/prompt-status-response.js +15 -0
  35. package/dist/models/read-all-response.d.ts +14 -0
  36. package/dist/models/read-all-response.js +15 -0
  37. package/dist/models/recommendation-item.d.ts +18 -0
  38. package/dist/models/recommendation-item.js +15 -0
  39. package/dist/models/register-push-token-request.d.ts +20 -0
  40. package/dist/models/register-push-token-request.js +20 -0
  41. package/dist/models/result-options.d.ts +15 -0
  42. package/dist/models/result-options.js +15 -0
  43. package/dist/models/share-link-response.d.ts +3 -1
  44. package/dist/models/unread-count-response.d.ts +14 -0
  45. package/dist/models/unread-count-response.js +15 -0
  46. package/dist/models/update-notification-setting-request.d.ts +14 -0
  47. package/dist/models/update-notification-setting-request.js +15 -0
  48. package/dist/models/vote-detail-response.d.ts +6 -6
  49. package/dist/models/vote-item.d.ts +27 -0
  50. package/dist/models/vote-item.js +15 -0
  51. package/dist/models/vote-list-item.d.ts +24 -0
  52. package/dist/models/vote-list-item.js +20 -0
  53. package/dist/models/vote-result-response.d.ts +7 -3
  54. package/package.json +1 -1
  55. package/dist/api/auth-controller-api.d.ts +0 -65
  56. package/dist/api/auth-controller-api.js +0 -118
  57. package/dist/api/guest-free-vote-controller-api.d.ts +0 -70
  58. package/dist/api/guest-free-vote-controller-api.js +0 -127
  59. package/dist/api/immersive-vote-controller-api.d.ts +0 -147
  60. package/dist/api/immersive-vote-controller-api.js +0 -282
  61. package/dist/api/user-controller-api.d.ts +0 -183
  62. package/dist/api/user-controller-api.js +0 -362
  63. package/dist/api/vote-controller-api.d.ts +0 -173
  64. package/dist/api/vote-controller-api.js +0 -338
  65. package/dist/api/vote-emoji-controller-api.d.ts +0 -116
  66. package/dist/api/vote-emoji-controller-api.js +0 -221
  67. package/dist/api/vote-result-controller-api.d.ts +0 -100
  68. package/dist/api/vote-result-controller-api.js +0 -187
  69. /package/dist/models/{feed-item.js → emoji-summary.js} +0 -0
@@ -1,147 +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 { ImmersiveFeedResponse } from '../models';
16
- import type { ImmersiveLiveResponse } from '../models';
17
- import type { ImmersiveParticipateResponse } from '../models';
18
- import type { ParticipateRequest } from '../models';
19
- /**
20
- * ImmersiveVoteControllerApi - axios parameter creator
21
- * @export
22
- */
23
- export declare const ImmersiveVoteControllerApiAxiosParamCreator: (configuration?: Configuration) => {
24
- /**
25
- *
26
- * @param {string} anonymousId
27
- * @param {number} [cursor]
28
- * @param {number} [size]
29
- * @param {*} [options] Override http request option.
30
- * @throws {RequiredError}
31
- */
32
- getFeed: (anonymousId: string, cursor?: number, size?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
33
- /**
34
- *
35
- * @param {number} voteId
36
- * @param {*} [options] Override http request option.
37
- * @throws {RequiredError}
38
- */
39
- getLive: (voteId: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
40
- /**
41
- *
42
- * @param {number} voteId
43
- * @param {string} anonymousId
44
- * @param {ParticipateRequest} participateRequest
45
- * @param {*} [options] Override http request option.
46
- * @throws {RequiredError}
47
- */
48
- participateOrCancel: (voteId: number, anonymousId: string, participateRequest: ParticipateRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
49
- };
50
- /**
51
- * ImmersiveVoteControllerApi - functional programming interface
52
- * @export
53
- */
54
- export declare const ImmersiveVoteControllerApiFp: (configuration?: Configuration) => {
55
- /**
56
- *
57
- * @param {string} anonymousId
58
- * @param {number} [cursor]
59
- * @param {number} [size]
60
- * @param {*} [options] Override http request option.
61
- * @throws {RequiredError}
62
- */
63
- getFeed(anonymousId: string, cursor?: number, size?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ImmersiveFeedResponse>>;
64
- /**
65
- *
66
- * @param {number} voteId
67
- * @param {*} [options] Override http request option.
68
- * @throws {RequiredError}
69
- */
70
- getLive(voteId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ImmersiveLiveResponse>>;
71
- /**
72
- *
73
- * @param {number} voteId
74
- * @param {string} anonymousId
75
- * @param {ParticipateRequest} participateRequest
76
- * @param {*} [options] Override http request option.
77
- * @throws {RequiredError}
78
- */
79
- participateOrCancel(voteId: number, anonymousId: string, participateRequest: ParticipateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ImmersiveParticipateResponse>>;
80
- };
81
- /**
82
- * ImmersiveVoteControllerApi - factory interface
83
- * @export
84
- */
85
- export declare const ImmersiveVoteControllerApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
86
- /**
87
- *
88
- * @param {string} anonymousId
89
- * @param {number} [cursor]
90
- * @param {number} [size]
91
- * @param {*} [options] Override http request option.
92
- * @throws {RequiredError}
93
- */
94
- getFeed(anonymousId: string, cursor?: number, size?: number, options?: RawAxiosRequestConfig): AxiosPromise<ImmersiveFeedResponse>;
95
- /**
96
- *
97
- * @param {number} voteId
98
- * @param {*} [options] Override http request option.
99
- * @throws {RequiredError}
100
- */
101
- getLive(voteId: number, options?: RawAxiosRequestConfig): AxiosPromise<ImmersiveLiveResponse>;
102
- /**
103
- *
104
- * @param {number} voteId
105
- * @param {string} anonymousId
106
- * @param {ParticipateRequest} participateRequest
107
- * @param {*} [options] Override http request option.
108
- * @throws {RequiredError}
109
- */
110
- participateOrCancel(voteId: number, anonymousId: string, participateRequest: ParticipateRequest, options?: RawAxiosRequestConfig): AxiosPromise<ImmersiveParticipateResponse>;
111
- };
112
- /**
113
- * ImmersiveVoteControllerApi - object-oriented interface
114
- * @export
115
- * @class ImmersiveVoteControllerApi
116
- * @extends {BaseAPI}
117
- */
118
- export declare class ImmersiveVoteControllerApi extends BaseAPI {
119
- /**
120
- *
121
- * @param {string} anonymousId
122
- * @param {number} [cursor]
123
- * @param {number} [size]
124
- * @param {*} [options] Override http request option.
125
- * @throws {RequiredError}
126
- * @memberof ImmersiveVoteControllerApi
127
- */
128
- getFeed(anonymousId: string, cursor?: number, size?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ImmersiveFeedResponse, any, {}>>;
129
- /**
130
- *
131
- * @param {number} voteId
132
- * @param {*} [options] Override http request option.
133
- * @throws {RequiredError}
134
- * @memberof ImmersiveVoteControllerApi
135
- */
136
- getLive(voteId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ImmersiveLiveResponse, any, {}>>;
137
- /**
138
- *
139
- * @param {number} voteId
140
- * @param {string} anonymousId
141
- * @param {ParticipateRequest} participateRequest
142
- * @param {*} [options] Override http request option.
143
- * @throws {RequiredError}
144
- * @memberof ImmersiveVoteControllerApi
145
- */
146
- participateOrCancel(voteId: number, anonymousId: string, participateRequest: ParticipateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ImmersiveParticipateResponse, any, {}>>;
147
- }
@@ -1,282 +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.ImmersiveVoteControllerApi = exports.ImmersiveVoteControllerApiFactory = exports.ImmersiveVoteControllerApiFp = exports.ImmersiveVoteControllerApiAxiosParamCreator = 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
- * ImmersiveVoteControllerApi - axios parameter creator
28
- * @export
29
- */
30
- const ImmersiveVoteControllerApiAxiosParamCreator = function (configuration) {
31
- return {
32
- /**
33
- *
34
- * @param {string} anonymousId
35
- * @param {number} [cursor]
36
- * @param {number} [size]
37
- * @param {*} [options] Override http request option.
38
- * @throws {RequiredError}
39
- */
40
- getFeed: async (anonymousId, cursor, size, options = {}) => {
41
- // verify required parameter 'anonymousId' is not null or undefined
42
- (0, common_1.assertParamExists)('getFeed', 'anonymousId', anonymousId);
43
- const localVarPath = `/api/immersive-votes`;
44
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
45
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
46
- let baseOptions;
47
- if (configuration) {
48
- baseOptions = configuration.baseOptions;
49
- }
50
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
51
- const localVarHeaderParameter = {};
52
- const localVarQueryParameter = {};
53
- // authentication bearerAuth required
54
- // http bearer authentication required
55
- await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
56
- if (cursor !== undefined) {
57
- localVarQueryParameter['cursor'] = cursor;
58
- }
59
- if (size !== undefined) {
60
- localVarQueryParameter['size'] = size;
61
- }
62
- if (anonymousId !== undefined) {
63
- localVarQueryParameter['anonymousId'] = anonymousId;
64
- }
65
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
66
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
67
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
68
- return {
69
- url: (0, common_1.toPathString)(localVarUrlObj),
70
- options: localVarRequestOptions,
71
- };
72
- },
73
- /**
74
- *
75
- * @param {number} voteId
76
- * @param {*} [options] Override http request option.
77
- * @throws {RequiredError}
78
- */
79
- getLive: async (voteId, options = {}) => {
80
- // verify required parameter 'voteId' is not null or undefined
81
- (0, common_1.assertParamExists)('getLive', 'voteId', voteId);
82
- const localVarPath = `/api/immersive-votes/{voteId}/live`
83
- .replace(`{${"voteId"}}`, encodeURIComponent(String(voteId)));
84
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
85
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
86
- let baseOptions;
87
- if (configuration) {
88
- baseOptions = configuration.baseOptions;
89
- }
90
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
91
- const localVarHeaderParameter = {};
92
- const localVarQueryParameter = {};
93
- // authentication bearerAuth required
94
- // http bearer authentication required
95
- await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
96
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
97
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
98
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
99
- return {
100
- url: (0, common_1.toPathString)(localVarUrlObj),
101
- options: localVarRequestOptions,
102
- };
103
- },
104
- /**
105
- *
106
- * @param {number} voteId
107
- * @param {string} anonymousId
108
- * @param {ParticipateRequest} participateRequest
109
- * @param {*} [options] Override http request option.
110
- * @throws {RequiredError}
111
- */
112
- participateOrCancel: async (voteId, anonymousId, participateRequest, options = {}) => {
113
- // verify required parameter 'voteId' is not null or undefined
114
- (0, common_1.assertParamExists)('participateOrCancel', 'voteId', voteId);
115
- // verify required parameter 'anonymousId' is not null or undefined
116
- (0, common_1.assertParamExists)('participateOrCancel', 'anonymousId', anonymousId);
117
- // verify required parameter 'participateRequest' is not null or undefined
118
- (0, common_1.assertParamExists)('participateOrCancel', 'participateRequest', participateRequest);
119
- const localVarPath = `/api/immersive-votes/{voteId}/participate`
120
- .replace(`{${"voteId"}}`, encodeURIComponent(String(voteId)));
121
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
122
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
123
- let baseOptions;
124
- if (configuration) {
125
- baseOptions = configuration.baseOptions;
126
- }
127
- const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
128
- const localVarHeaderParameter = {};
129
- const localVarQueryParameter = {};
130
- // authentication bearerAuth required
131
- // http bearer authentication required
132
- await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
133
- if (anonymousId !== undefined) {
134
- localVarQueryParameter['anonymousId'] = anonymousId;
135
- }
136
- localVarHeaderParameter['Content-Type'] = 'application/json';
137
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
138
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
139
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
140
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(participateRequest, localVarRequestOptions, configuration);
141
- return {
142
- url: (0, common_1.toPathString)(localVarUrlObj),
143
- options: localVarRequestOptions,
144
- };
145
- },
146
- };
147
- };
148
- exports.ImmersiveVoteControllerApiAxiosParamCreator = ImmersiveVoteControllerApiAxiosParamCreator;
149
- /**
150
- * ImmersiveVoteControllerApi - functional programming interface
151
- * @export
152
- */
153
- const ImmersiveVoteControllerApiFp = function (configuration) {
154
- const localVarAxiosParamCreator = (0, exports.ImmersiveVoteControllerApiAxiosParamCreator)(configuration);
155
- return {
156
- /**
157
- *
158
- * @param {string} anonymousId
159
- * @param {number} [cursor]
160
- * @param {number} [size]
161
- * @param {*} [options] Override http request option.
162
- * @throws {RequiredError}
163
- */
164
- async getFeed(anonymousId, cursor, size, options) {
165
- const localVarAxiosArgs = await localVarAxiosParamCreator.getFeed(anonymousId, cursor, size, options);
166
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
167
- const localVarOperationServerBasePath = base_1.operationServerMap['ImmersiveVoteControllerApi.getFeed']?.[localVarOperationServerIndex]?.url;
168
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
169
- },
170
- /**
171
- *
172
- * @param {number} voteId
173
- * @param {*} [options] Override http request option.
174
- * @throws {RequiredError}
175
- */
176
- async getLive(voteId, options) {
177
- const localVarAxiosArgs = await localVarAxiosParamCreator.getLive(voteId, options);
178
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
179
- const localVarOperationServerBasePath = base_1.operationServerMap['ImmersiveVoteControllerApi.getLive']?.[localVarOperationServerIndex]?.url;
180
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
181
- },
182
- /**
183
- *
184
- * @param {number} voteId
185
- * @param {string} anonymousId
186
- * @param {ParticipateRequest} participateRequest
187
- * @param {*} [options] Override http request option.
188
- * @throws {RequiredError}
189
- */
190
- async participateOrCancel(voteId, anonymousId, participateRequest, options) {
191
- const localVarAxiosArgs = await localVarAxiosParamCreator.participateOrCancel(voteId, anonymousId, participateRequest, options);
192
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
193
- const localVarOperationServerBasePath = base_1.operationServerMap['ImmersiveVoteControllerApi.participateOrCancel']?.[localVarOperationServerIndex]?.url;
194
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
195
- },
196
- };
197
- };
198
- exports.ImmersiveVoteControllerApiFp = ImmersiveVoteControllerApiFp;
199
- /**
200
- * ImmersiveVoteControllerApi - factory interface
201
- * @export
202
- */
203
- const ImmersiveVoteControllerApiFactory = function (configuration, basePath, axios) {
204
- const localVarFp = (0, exports.ImmersiveVoteControllerApiFp)(configuration);
205
- return {
206
- /**
207
- *
208
- * @param {string} anonymousId
209
- * @param {number} [cursor]
210
- * @param {number} [size]
211
- * @param {*} [options] Override http request option.
212
- * @throws {RequiredError}
213
- */
214
- getFeed(anonymousId, cursor, size, options) {
215
- return localVarFp.getFeed(anonymousId, cursor, size, options).then((request) => request(axios, basePath));
216
- },
217
- /**
218
- *
219
- * @param {number} voteId
220
- * @param {*} [options] Override http request option.
221
- * @throws {RequiredError}
222
- */
223
- getLive(voteId, options) {
224
- return localVarFp.getLive(voteId, options).then((request) => request(axios, basePath));
225
- },
226
- /**
227
- *
228
- * @param {number} voteId
229
- * @param {string} anonymousId
230
- * @param {ParticipateRequest} participateRequest
231
- * @param {*} [options] Override http request option.
232
- * @throws {RequiredError}
233
- */
234
- participateOrCancel(voteId, anonymousId, participateRequest, options) {
235
- return localVarFp.participateOrCancel(voteId, anonymousId, participateRequest, options).then((request) => request(axios, basePath));
236
- },
237
- };
238
- };
239
- exports.ImmersiveVoteControllerApiFactory = ImmersiveVoteControllerApiFactory;
240
- /**
241
- * ImmersiveVoteControllerApi - object-oriented interface
242
- * @export
243
- * @class ImmersiveVoteControllerApi
244
- * @extends {BaseAPI}
245
- */
246
- class ImmersiveVoteControllerApi extends base_1.BaseAPI {
247
- /**
248
- *
249
- * @param {string} anonymousId
250
- * @param {number} [cursor]
251
- * @param {number} [size]
252
- * @param {*} [options] Override http request option.
253
- * @throws {RequiredError}
254
- * @memberof ImmersiveVoteControllerApi
255
- */
256
- getFeed(anonymousId, cursor, size, options) {
257
- return (0, exports.ImmersiveVoteControllerApiFp)(this.configuration).getFeed(anonymousId, cursor, size, options).then((request) => request(this.axios, this.basePath));
258
- }
259
- /**
260
- *
261
- * @param {number} voteId
262
- * @param {*} [options] Override http request option.
263
- * @throws {RequiredError}
264
- * @memberof ImmersiveVoteControllerApi
265
- */
266
- getLive(voteId, options) {
267
- return (0, exports.ImmersiveVoteControllerApiFp)(this.configuration).getLive(voteId, options).then((request) => request(this.axios, this.basePath));
268
- }
269
- /**
270
- *
271
- * @param {number} voteId
272
- * @param {string} anonymousId
273
- * @param {ParticipateRequest} participateRequest
274
- * @param {*} [options] Override http request option.
275
- * @throws {RequiredError}
276
- * @memberof ImmersiveVoteControllerApi
277
- */
278
- participateOrCancel(voteId, anonymousId, participateRequest, options) {
279
- return (0, exports.ImmersiveVoteControllerApiFp)(this.configuration).participateOrCancel(voteId, anonymousId, participateRequest, options).then((request) => request(this.axios, this.basePath));
280
- }
281
- }
282
- exports.ImmersiveVoteControllerApi = ImmersiveVoteControllerApi;
@@ -1,183 +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 { NicknameCheckResponse } from '../models';
16
- import type { UserExtraInfo } from '../models';
17
- import type { UserNicknameRec } from '../models';
18
- import type { UserProfileDefaultResponse } from '../models';
19
- import type { UserProfileRequest } from '../models';
20
- import type { UserProfileResponse } from '../models';
21
- /**
22
- * UserControllerApi - axios parameter creator
23
- * @export
24
- */
25
- export declare const UserControllerApiAxiosParamCreator: (configuration?: Configuration) => {
26
- /**
27
- *
28
- * @param {*} [options] Override http request option.
29
- * @throws {RequiredError}
30
- */
31
- getMyProfile: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
32
- /**
33
- *
34
- * @param {UserProfileRequest} userProfileRequest
35
- * @param {*} [options] Override http request option.
36
- * @throws {RequiredError}
37
- */
38
- initializeDefaultProfile: (userProfileRequest: UserProfileRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
39
- /**
40
- *
41
- * @param {UserNicknameRec} userNicknameRec
42
- * @param {*} [options] Override http request option.
43
- * @throws {RequiredError}
44
- */
45
- isUniqueNickname: (userNicknameRec: UserNicknameRec, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
46
- /**
47
- *
48
- * @param {UserExtraInfo} userExtraInfo
49
- * @param {*} [options] Override http request option.
50
- * @throws {RequiredError}
51
- */
52
- setupInfo: (userExtraInfo: UserExtraInfo, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
53
- /**
54
- *
55
- * @param {*} [options] Override http request option.
56
- * @throws {RequiredError}
57
- */
58
- suggestNickname: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
59
- };
60
- /**
61
- * UserControllerApi - functional programming interface
62
- * @export
63
- */
64
- export declare const UserControllerApiFp: (configuration?: Configuration) => {
65
- /**
66
- *
67
- * @param {*} [options] Override http request option.
68
- * @throws {RequiredError}
69
- */
70
- getMyProfile(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserProfileResponse>>;
71
- /**
72
- *
73
- * @param {UserProfileRequest} userProfileRequest
74
- * @param {*} [options] Override http request option.
75
- * @throws {RequiredError}
76
- */
77
- initializeDefaultProfile(userProfileRequest: UserProfileRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserProfileDefaultResponse>>;
78
- /**
79
- *
80
- * @param {UserNicknameRec} userNicknameRec
81
- * @param {*} [options] Override http request option.
82
- * @throws {RequiredError}
83
- */
84
- isUniqueNickname(userNicknameRec: UserNicknameRec, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<NicknameCheckResponse>>;
85
- /**
86
- *
87
- * @param {UserExtraInfo} userExtraInfo
88
- * @param {*} [options] Override http request option.
89
- * @throws {RequiredError}
90
- */
91
- setupInfo(userExtraInfo: UserExtraInfo, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserProfileResponse>>;
92
- /**
93
- *
94
- * @param {*} [options] Override http request option.
95
- * @throws {RequiredError}
96
- */
97
- suggestNickname(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserNicknameRec>>;
98
- };
99
- /**
100
- * UserControllerApi - factory interface
101
- * @export
102
- */
103
- export declare const UserControllerApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
104
- /**
105
- *
106
- * @param {*} [options] Override http request option.
107
- * @throws {RequiredError}
108
- */
109
- getMyProfile(options?: RawAxiosRequestConfig): AxiosPromise<UserProfileResponse>;
110
- /**
111
- *
112
- * @param {UserProfileRequest} userProfileRequest
113
- * @param {*} [options] Override http request option.
114
- * @throws {RequiredError}
115
- */
116
- initializeDefaultProfile(userProfileRequest: UserProfileRequest, options?: RawAxiosRequestConfig): AxiosPromise<UserProfileDefaultResponse>;
117
- /**
118
- *
119
- * @param {UserNicknameRec} userNicknameRec
120
- * @param {*} [options] Override http request option.
121
- * @throws {RequiredError}
122
- */
123
- isUniqueNickname(userNicknameRec: UserNicknameRec, options?: RawAxiosRequestConfig): AxiosPromise<NicknameCheckResponse>;
124
- /**
125
- *
126
- * @param {UserExtraInfo} userExtraInfo
127
- * @param {*} [options] Override http request option.
128
- * @throws {RequiredError}
129
- */
130
- setupInfo(userExtraInfo: UserExtraInfo, options?: RawAxiosRequestConfig): AxiosPromise<UserProfileResponse>;
131
- /**
132
- *
133
- * @param {*} [options] Override http request option.
134
- * @throws {RequiredError}
135
- */
136
- suggestNickname(options?: RawAxiosRequestConfig): AxiosPromise<UserNicknameRec>;
137
- };
138
- /**
139
- * UserControllerApi - object-oriented interface
140
- * @export
141
- * @class UserControllerApi
142
- * @extends {BaseAPI}
143
- */
144
- export declare class UserControllerApi extends BaseAPI {
145
- /**
146
- *
147
- * @param {*} [options] Override http request option.
148
- * @throws {RequiredError}
149
- * @memberof UserControllerApi
150
- */
151
- getMyProfile(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UserProfileResponse, any, {}>>;
152
- /**
153
- *
154
- * @param {UserProfileRequest} userProfileRequest
155
- * @param {*} [options] Override http request option.
156
- * @throws {RequiredError}
157
- * @memberof UserControllerApi
158
- */
159
- initializeDefaultProfile(userProfileRequest: UserProfileRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UserProfileDefaultResponse, any, {}>>;
160
- /**
161
- *
162
- * @param {UserNicknameRec} userNicknameRec
163
- * @param {*} [options] Override http request option.
164
- * @throws {RequiredError}
165
- * @memberof UserControllerApi
166
- */
167
- isUniqueNickname(userNicknameRec: UserNicknameRec, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<NicknameCheckResponse, any, {}>>;
168
- /**
169
- *
170
- * @param {UserExtraInfo} userExtraInfo
171
- * @param {*} [options] Override http request option.
172
- * @throws {RequiredError}
173
- * @memberof UserControllerApi
174
- */
175
- setupInfo(userExtraInfo: UserExtraInfo, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UserProfileResponse, any, {}>>;
176
- /**
177
- *
178
- * @param {*} [options] Override http request option.
179
- * @throws {RequiredError}
180
- * @memberof UserControllerApi
181
- */
182
- suggestNickname(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UserNicknameRec, any, {}>>;
183
- }