@ject-4-vs-team/api-client 2026.516.2 → 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 (71) 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/message-response.d.ts +9 -2
  26. package/dist/models/message-response.js +7 -1
  27. package/dist/models/my-vote.d.ts +15 -0
  28. package/dist/models/my-vote.js +15 -0
  29. package/dist/models/notification-item.d.ts +25 -0
  30. package/dist/models/notification-item.js +19 -0
  31. package/dist/models/notification-list-response.d.ts +17 -0
  32. package/dist/models/notification-list-response.js +15 -0
  33. package/dist/models/notification-setting-response.d.ts +16 -0
  34. package/dist/models/notification-setting-response.js +15 -0
  35. package/dist/models/prompt-status-response.d.ts +15 -0
  36. package/dist/models/prompt-status-response.js +15 -0
  37. package/dist/models/read-all-response.d.ts +14 -0
  38. package/dist/models/read-all-response.js +15 -0
  39. package/dist/models/recommendation-item.d.ts +18 -0
  40. package/dist/models/recommendation-item.js +15 -0
  41. package/dist/models/register-push-token-request.d.ts +20 -0
  42. package/dist/models/register-push-token-request.js +20 -0
  43. package/dist/models/result-options.d.ts +15 -0
  44. package/dist/models/result-options.js +15 -0
  45. package/dist/models/share-link-response.d.ts +3 -1
  46. package/dist/models/unread-count-response.d.ts +14 -0
  47. package/dist/models/unread-count-response.js +15 -0
  48. package/dist/models/update-notification-setting-request.d.ts +14 -0
  49. package/dist/models/update-notification-setting-request.js +15 -0
  50. package/dist/models/vote-detail-response.d.ts +6 -6
  51. package/dist/models/vote-item.d.ts +27 -0
  52. package/dist/models/vote-item.js +15 -0
  53. package/dist/models/vote-list-item.d.ts +24 -0
  54. package/dist/models/vote-list-item.js +20 -0
  55. package/dist/models/vote-result-response.d.ts +7 -3
  56. package/package.json +1 -1
  57. package/dist/api/auth-controller-api.d.ts +0 -65
  58. package/dist/api/auth-controller-api.js +0 -118
  59. package/dist/api/guest-free-vote-controller-api.d.ts +0 -70
  60. package/dist/api/guest-free-vote-controller-api.js +0 -127
  61. package/dist/api/immersive-vote-controller-api.d.ts +0 -147
  62. package/dist/api/immersive-vote-controller-api.js +0 -282
  63. package/dist/api/user-controller-api.d.ts +0 -183
  64. package/dist/api/user-controller-api.js +0 -362
  65. package/dist/api/vote-controller-api.d.ts +0 -173
  66. package/dist/api/vote-controller-api.js +0 -338
  67. package/dist/api/vote-emoji-controller-api.d.ts +0 -116
  68. package/dist/api/vote-emoji-controller-api.js +0 -221
  69. package/dist/api/vote-result-controller-api.d.ts +0 -100
  70. package/dist/api/vote-result-controller-api.js +0 -187
  71. /package/dist/models/{feed-item.js → emoji-summary.js} +0 -0
@@ -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
- }
@@ -1,338 +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.VoteControllerApi = exports.VoteControllerApiFactory = exports.VoteControllerApiFp = exports.VoteControllerApiAxiosParamCreator = 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
- * VoteControllerApi - axios parameter creator
28
- * @export
29
- */
30
- const VoteControllerApiAxiosParamCreator = function (configuration) {
31
- return {
32
- /**
33
- *
34
- * @param {number} voteId
35
- * @param {*} [options] Override http request option.
36
- * @throws {RequiredError}
37
- */
38
- cancel: async (voteId, options = {}) => {
39
- // verify required parameter 'voteId' is not null or undefined
40
- (0, common_1.assertParamExists)('cancel', 'voteId', voteId);
41
- const localVarPath = `/api/votes/{voteId}/participate`
42
- .replace(`{${"voteId"}}`, encodeURIComponent(String(voteId)));
43
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
44
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
45
- let baseOptions;
46
- if (configuration) {
47
- baseOptions = configuration.baseOptions;
48
- }
49
- const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
50
- const localVarHeaderParameter = {};
51
- const localVarQueryParameter = {};
52
- // authentication bearerAuth required
53
- // http bearer authentication required
54
- await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
55
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
56
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
57
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
58
- return {
59
- url: (0, common_1.toPathString)(localVarUrlObj),
60
- options: localVarRequestOptions,
61
- };
62
- },
63
- /**
64
- *
65
- * @param {VoteCreateRequest} voteCreateRequest
66
- * @param {*} [options] Override http request option.
67
- * @throws {RequiredError}
68
- */
69
- create: async (voteCreateRequest, options = {}) => {
70
- // verify required parameter 'voteCreateRequest' is not null or undefined
71
- (0, common_1.assertParamExists)('create', 'voteCreateRequest', voteCreateRequest);
72
- const localVarPath = `/api/votes`;
73
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
74
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
75
- let baseOptions;
76
- if (configuration) {
77
- baseOptions = configuration.baseOptions;
78
- }
79
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
80
- const localVarHeaderParameter = {};
81
- const localVarQueryParameter = {};
82
- // authentication bearerAuth required
83
- // http bearer authentication required
84
- await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
85
- localVarHeaderParameter['Content-Type'] = 'application/json';
86
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
87
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
88
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
89
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(voteCreateRequest, localVarRequestOptions, configuration);
90
- return {
91
- url: (0, common_1.toPathString)(localVarUrlObj),
92
- options: localVarRequestOptions,
93
- };
94
- },
95
- /**
96
- *
97
- * @param {number} voteId
98
- * @param {string} anonymousId
99
- * @param {*} [options] Override http request option.
100
- * @throws {RequiredError}
101
- */
102
- getDetail: async (voteId, anonymousId, options = {}) => {
103
- // verify required parameter 'voteId' is not null or undefined
104
- (0, common_1.assertParamExists)('getDetail', 'voteId', voteId);
105
- // verify required parameter 'anonymousId' is not null or undefined
106
- (0, common_1.assertParamExists)('getDetail', 'anonymousId', anonymousId);
107
- const localVarPath = `/api/votes/{voteId}`
108
- .replace(`{${"voteId"}}`, encodeURIComponent(String(voteId)));
109
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
110
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
111
- let baseOptions;
112
- if (configuration) {
113
- baseOptions = configuration.baseOptions;
114
- }
115
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
116
- const localVarHeaderParameter = {};
117
- const localVarQueryParameter = {};
118
- // authentication bearerAuth required
119
- // http bearer authentication required
120
- await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
121
- if (anonymousId !== undefined) {
122
- localVarQueryParameter['anonymousId'] = anonymousId;
123
- }
124
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
125
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
126
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
127
- return {
128
- url: (0, common_1.toPathString)(localVarUrlObj),
129
- options: localVarRequestOptions,
130
- };
131
- },
132
- /**
133
- *
134
- * @param {number} voteId
135
- * @param {string} anonymousId
136
- * @param {ParticipateRequest} participateRequest
137
- * @param {*} [options] Override http request option.
138
- * @throws {RequiredError}
139
- */
140
- participate: async (voteId, anonymousId, participateRequest, options = {}) => {
141
- // verify required parameter 'voteId' is not null or undefined
142
- (0, common_1.assertParamExists)('participate', 'voteId', voteId);
143
- // verify required parameter 'anonymousId' is not null or undefined
144
- (0, common_1.assertParamExists)('participate', 'anonymousId', anonymousId);
145
- // verify required parameter 'participateRequest' is not null or undefined
146
- (0, common_1.assertParamExists)('participate', 'participateRequest', participateRequest);
147
- const localVarPath = `/api/votes/{voteId}/participate`
148
- .replace(`{${"voteId"}}`, encodeURIComponent(String(voteId)));
149
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
150
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
151
- let baseOptions;
152
- if (configuration) {
153
- baseOptions = configuration.baseOptions;
154
- }
155
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
156
- const localVarHeaderParameter = {};
157
- const localVarQueryParameter = {};
158
- // authentication bearerAuth required
159
- // http bearer authentication required
160
- await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
161
- if (anonymousId !== undefined) {
162
- localVarQueryParameter['anonymousId'] = anonymousId;
163
- }
164
- localVarHeaderParameter['Content-Type'] = 'application/json';
165
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
166
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
167
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
168
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(participateRequest, localVarRequestOptions, configuration);
169
- return {
170
- url: (0, common_1.toPathString)(localVarUrlObj),
171
- options: localVarRequestOptions,
172
- };
173
- },
174
- };
175
- };
176
- exports.VoteControllerApiAxiosParamCreator = VoteControllerApiAxiosParamCreator;
177
- /**
178
- * VoteControllerApi - functional programming interface
179
- * @export
180
- */
181
- const VoteControllerApiFp = function (configuration) {
182
- const localVarAxiosParamCreator = (0, exports.VoteControllerApiAxiosParamCreator)(configuration);
183
- return {
184
- /**
185
- *
186
- * @param {number} voteId
187
- * @param {*} [options] Override http request option.
188
- * @throws {RequiredError}
189
- */
190
- async cancel(voteId, options) {
191
- const localVarAxiosArgs = await localVarAxiosParamCreator.cancel(voteId, options);
192
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
193
- const localVarOperationServerBasePath = base_1.operationServerMap['VoteControllerApi.cancel']?.[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
- * @param {VoteCreateRequest} voteCreateRequest
199
- * @param {*} [options] Override http request option.
200
- * @throws {RequiredError}
201
- */
202
- async create(voteCreateRequest, options) {
203
- const localVarAxiosArgs = await localVarAxiosParamCreator.create(voteCreateRequest, options);
204
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
205
- const localVarOperationServerBasePath = base_1.operationServerMap['VoteControllerApi.create']?.[localVarOperationServerIndex]?.url;
206
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
207
- },
208
- /**
209
- *
210
- * @param {number} voteId
211
- * @param {string} anonymousId
212
- * @param {*} [options] Override http request option.
213
- * @throws {RequiredError}
214
- */
215
- async getDetail(voteId, anonymousId, options) {
216
- const localVarAxiosArgs = await localVarAxiosParamCreator.getDetail(voteId, anonymousId, options);
217
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
218
- const localVarOperationServerBasePath = base_1.operationServerMap['VoteControllerApi.getDetail']?.[localVarOperationServerIndex]?.url;
219
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
220
- },
221
- /**
222
- *
223
- * @param {number} voteId
224
- * @param {string} anonymousId
225
- * @param {ParticipateRequest} participateRequest
226
- * @param {*} [options] Override http request option.
227
- * @throws {RequiredError}
228
- */
229
- async participate(voteId, anonymousId, participateRequest, options) {
230
- const localVarAxiosArgs = await localVarAxiosParamCreator.participate(voteId, anonymousId, participateRequest, options);
231
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
232
- const localVarOperationServerBasePath = base_1.operationServerMap['VoteControllerApi.participate']?.[localVarOperationServerIndex]?.url;
233
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
234
- },
235
- };
236
- };
237
- exports.VoteControllerApiFp = VoteControllerApiFp;
238
- /**
239
- * VoteControllerApi - factory interface
240
- * @export
241
- */
242
- const VoteControllerApiFactory = function (configuration, basePath, axios) {
243
- const localVarFp = (0, exports.VoteControllerApiFp)(configuration);
244
- return {
245
- /**
246
- *
247
- * @param {number} voteId
248
- * @param {*} [options] Override http request option.
249
- * @throws {RequiredError}
250
- */
251
- cancel(voteId, options) {
252
- return localVarFp.cancel(voteId, options).then((request) => request(axios, basePath));
253
- },
254
- /**
255
- *
256
- * @param {VoteCreateRequest} voteCreateRequest
257
- * @param {*} [options] Override http request option.
258
- * @throws {RequiredError}
259
- */
260
- create(voteCreateRequest, options) {
261
- return localVarFp.create(voteCreateRequest, options).then((request) => request(axios, basePath));
262
- },
263
- /**
264
- *
265
- * @param {number} voteId
266
- * @param {string} anonymousId
267
- * @param {*} [options] Override http request option.
268
- * @throws {RequiredError}
269
- */
270
- getDetail(voteId, anonymousId, options) {
271
- return localVarFp.getDetail(voteId, anonymousId, options).then((request) => request(axios, basePath));
272
- },
273
- /**
274
- *
275
- * @param {number} voteId
276
- * @param {string} anonymousId
277
- * @param {ParticipateRequest} participateRequest
278
- * @param {*} [options] Override http request option.
279
- * @throws {RequiredError}
280
- */
281
- participate(voteId, anonymousId, participateRequest, options) {
282
- return localVarFp.participate(voteId, anonymousId, participateRequest, options).then((request) => request(axios, basePath));
283
- },
284
- };
285
- };
286
- exports.VoteControllerApiFactory = VoteControllerApiFactory;
287
- /**
288
- * VoteControllerApi - object-oriented interface
289
- * @export
290
- * @class VoteControllerApi
291
- * @extends {BaseAPI}
292
- */
293
- class VoteControllerApi extends base_1.BaseAPI {
294
- /**
295
- *
296
- * @param {number} voteId
297
- * @param {*} [options] Override http request option.
298
- * @throws {RequiredError}
299
- * @memberof VoteControllerApi
300
- */
301
- cancel(voteId, options) {
302
- return (0, exports.VoteControllerApiFp)(this.configuration).cancel(voteId, options).then((request) => request(this.axios, this.basePath));
303
- }
304
- /**
305
- *
306
- * @param {VoteCreateRequest} voteCreateRequest
307
- * @param {*} [options] Override http request option.
308
- * @throws {RequiredError}
309
- * @memberof VoteControllerApi
310
- */
311
- create(voteCreateRequest, options) {
312
- return (0, exports.VoteControllerApiFp)(this.configuration).create(voteCreateRequest, options).then((request) => request(this.axios, this.basePath));
313
- }
314
- /**
315
- *
316
- * @param {number} voteId
317
- * @param {string} anonymousId
318
- * @param {*} [options] Override http request option.
319
- * @throws {RequiredError}
320
- * @memberof VoteControllerApi
321
- */
322
- getDetail(voteId, anonymousId, options) {
323
- return (0, exports.VoteControllerApiFp)(this.configuration).getDetail(voteId, anonymousId, options).then((request) => request(this.axios, this.basePath));
324
- }
325
- /**
326
- *
327
- * @param {number} voteId
328
- * @param {string} anonymousId
329
- * @param {ParticipateRequest} participateRequest
330
- * @param {*} [options] Override http request option.
331
- * @throws {RequiredError}
332
- * @memberof VoteControllerApi
333
- */
334
- participate(voteId, anonymousId, participateRequest, options) {
335
- return (0, exports.VoteControllerApiFp)(this.configuration).participate(voteId, anonymousId, participateRequest, options).then((request) => request(this.axios, this.basePath));
336
- }
337
- }
338
- exports.VoteControllerApi = VoteControllerApi;
@@ -1,116 +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 { EmojiRequest } from '../models';
16
- import type { EmojiResponse } from '../models';
17
- /**
18
- * VoteEmojiControllerApi - axios parameter creator
19
- * @export
20
- */
21
- export declare const VoteEmojiControllerApiAxiosParamCreator: (configuration?: Configuration) => {
22
- /**
23
- *
24
- * @param {number} voteId
25
- * @param {string} anonymousId
26
- * @param {EmojiRequest} emojiRequest
27
- * @param {*} [options] Override http request option.
28
- * @throws {RequiredError}
29
- */
30
- reactOnImmersiveVote: (voteId: number, anonymousId: string, emojiRequest: EmojiRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
31
- /**
32
- *
33
- * @param {number} voteId
34
- * @param {string} anonymousId
35
- * @param {EmojiRequest} emojiRequest
36
- * @param {*} [options] Override http request option.
37
- * @throws {RequiredError}
38
- */
39
- reactOnVote: (voteId: number, anonymousId: string, emojiRequest: EmojiRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
40
- };
41
- /**
42
- * VoteEmojiControllerApi - functional programming interface
43
- * @export
44
- */
45
- export declare const VoteEmojiControllerApiFp: (configuration?: Configuration) => {
46
- /**
47
- *
48
- * @param {number} voteId
49
- * @param {string} anonymousId
50
- * @param {EmojiRequest} emojiRequest
51
- * @param {*} [options] Override http request option.
52
- * @throws {RequiredError}
53
- */
54
- reactOnImmersiveVote(voteId: number, anonymousId: string, emojiRequest: EmojiRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EmojiResponse>>;
55
- /**
56
- *
57
- * @param {number} voteId
58
- * @param {string} anonymousId
59
- * @param {EmojiRequest} emojiRequest
60
- * @param {*} [options] Override http request option.
61
- * @throws {RequiredError}
62
- */
63
- reactOnVote(voteId: number, anonymousId: string, emojiRequest: EmojiRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EmojiResponse>>;
64
- };
65
- /**
66
- * VoteEmojiControllerApi - factory interface
67
- * @export
68
- */
69
- export declare const VoteEmojiControllerApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
70
- /**
71
- *
72
- * @param {number} voteId
73
- * @param {string} anonymousId
74
- * @param {EmojiRequest} emojiRequest
75
- * @param {*} [options] Override http request option.
76
- * @throws {RequiredError}
77
- */
78
- reactOnImmersiveVote(voteId: number, anonymousId: string, emojiRequest: EmojiRequest, options?: RawAxiosRequestConfig): AxiosPromise<EmojiResponse>;
79
- /**
80
- *
81
- * @param {number} voteId
82
- * @param {string} anonymousId
83
- * @param {EmojiRequest} emojiRequest
84
- * @param {*} [options] Override http request option.
85
- * @throws {RequiredError}
86
- */
87
- reactOnVote(voteId: number, anonymousId: string, emojiRequest: EmojiRequest, options?: RawAxiosRequestConfig): AxiosPromise<EmojiResponse>;
88
- };
89
- /**
90
- * VoteEmojiControllerApi - object-oriented interface
91
- * @export
92
- * @class VoteEmojiControllerApi
93
- * @extends {BaseAPI}
94
- */
95
- export declare class VoteEmojiControllerApi extends BaseAPI {
96
- /**
97
- *
98
- * @param {number} voteId
99
- * @param {string} anonymousId
100
- * @param {EmojiRequest} emojiRequest
101
- * @param {*} [options] Override http request option.
102
- * @throws {RequiredError}
103
- * @memberof VoteEmojiControllerApi
104
- */
105
- reactOnImmersiveVote(voteId: number, anonymousId: string, emojiRequest: EmojiRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EmojiResponse, any, {}>>;
106
- /**
107
- *
108
- * @param {number} voteId
109
- * @param {string} anonymousId
110
- * @param {EmojiRequest} emojiRequest
111
- * @param {*} [options] Override http request option.
112
- * @throws {RequiredError}
113
- * @memberof VoteEmojiControllerApi
114
- */
115
- reactOnVote(voteId: number, anonymousId: string, emojiRequest: EmojiRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EmojiResponse, any, {}>>;
116
- }