@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,100 +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 { ShareLinkResponse } from '../models';
|
|
16
|
-
import type { VoteResultResponse } from '../models';
|
|
17
|
-
/**
|
|
18
|
-
* VoteResultControllerApi - axios parameter creator
|
|
19
|
-
* @export
|
|
20
|
-
*/
|
|
21
|
-
export declare const VoteResultControllerApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @param {number} voteId
|
|
25
|
-
* @param {*} [options] Override http request option.
|
|
26
|
-
* @throws {RequiredError}
|
|
27
|
-
*/
|
|
28
|
-
getResult: (voteId: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
29
|
-
/**
|
|
30
|
-
*
|
|
31
|
-
* @param {number} voteId
|
|
32
|
-
* @param {*} [options] Override http request option.
|
|
33
|
-
* @throws {RequiredError}
|
|
34
|
-
*/
|
|
35
|
-
getShareLink: (voteId: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
36
|
-
};
|
|
37
|
-
/**
|
|
38
|
-
* VoteResultControllerApi - functional programming interface
|
|
39
|
-
* @export
|
|
40
|
-
*/
|
|
41
|
-
export declare const VoteResultControllerApiFp: (configuration?: Configuration) => {
|
|
42
|
-
/**
|
|
43
|
-
*
|
|
44
|
-
* @param {number} voteId
|
|
45
|
-
* @param {*} [options] Override http request option.
|
|
46
|
-
* @throws {RequiredError}
|
|
47
|
-
*/
|
|
48
|
-
getResult(voteId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VoteResultResponse>>;
|
|
49
|
-
/**
|
|
50
|
-
*
|
|
51
|
-
* @param {number} voteId
|
|
52
|
-
* @param {*} [options] Override http request option.
|
|
53
|
-
* @throws {RequiredError}
|
|
54
|
-
*/
|
|
55
|
-
getShareLink(voteId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShareLinkResponse>>;
|
|
56
|
-
};
|
|
57
|
-
/**
|
|
58
|
-
* VoteResultControllerApi - factory interface
|
|
59
|
-
* @export
|
|
60
|
-
*/
|
|
61
|
-
export declare const VoteResultControllerApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
62
|
-
/**
|
|
63
|
-
*
|
|
64
|
-
* @param {number} voteId
|
|
65
|
-
* @param {*} [options] Override http request option.
|
|
66
|
-
* @throws {RequiredError}
|
|
67
|
-
*/
|
|
68
|
-
getResult(voteId: number, options?: RawAxiosRequestConfig): AxiosPromise<VoteResultResponse>;
|
|
69
|
-
/**
|
|
70
|
-
*
|
|
71
|
-
* @param {number} voteId
|
|
72
|
-
* @param {*} [options] Override http request option.
|
|
73
|
-
* @throws {RequiredError}
|
|
74
|
-
*/
|
|
75
|
-
getShareLink(voteId: number, options?: RawAxiosRequestConfig): AxiosPromise<ShareLinkResponse>;
|
|
76
|
-
};
|
|
77
|
-
/**
|
|
78
|
-
* VoteResultControllerApi - object-oriented interface
|
|
79
|
-
* @export
|
|
80
|
-
* @class VoteResultControllerApi
|
|
81
|
-
* @extends {BaseAPI}
|
|
82
|
-
*/
|
|
83
|
-
export declare class VoteResultControllerApi extends BaseAPI {
|
|
84
|
-
/**
|
|
85
|
-
*
|
|
86
|
-
* @param {number} voteId
|
|
87
|
-
* @param {*} [options] Override http request option.
|
|
88
|
-
* @throws {RequiredError}
|
|
89
|
-
* @memberof VoteResultControllerApi
|
|
90
|
-
*/
|
|
91
|
-
getResult(voteId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VoteResultResponse, any, {}>>;
|
|
92
|
-
/**
|
|
93
|
-
*
|
|
94
|
-
* @param {number} voteId
|
|
95
|
-
* @param {*} [options] Override http request option.
|
|
96
|
-
* @throws {RequiredError}
|
|
97
|
-
* @memberof VoteResultControllerApi
|
|
98
|
-
*/
|
|
99
|
-
getShareLink(voteId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ShareLinkResponse, any, {}>>;
|
|
100
|
-
}
|
|
@@ -1,187 +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.VoteResultControllerApi = exports.VoteResultControllerApiFactory = exports.VoteResultControllerApiFp = exports.VoteResultControllerApiAxiosParamCreator = 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
|
-
* VoteResultControllerApi - axios parameter creator
|
|
28
|
-
* @export
|
|
29
|
-
*/
|
|
30
|
-
const VoteResultControllerApiAxiosParamCreator = function (configuration) {
|
|
31
|
-
return {
|
|
32
|
-
/**
|
|
33
|
-
*
|
|
34
|
-
* @param {number} voteId
|
|
35
|
-
* @param {*} [options] Override http request option.
|
|
36
|
-
* @throws {RequiredError}
|
|
37
|
-
*/
|
|
38
|
-
getResult: async (voteId, options = {}) => {
|
|
39
|
-
// verify required parameter 'voteId' is not null or undefined
|
|
40
|
-
(0, common_1.assertParamExists)('getResult', 'voteId', voteId);
|
|
41
|
-
const localVarPath = `/api/votes/{voteId}/result`
|
|
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: 'GET', ...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 {number} voteId
|
|
66
|
-
* @param {*} [options] Override http request option.
|
|
67
|
-
* @throws {RequiredError}
|
|
68
|
-
*/
|
|
69
|
-
getShareLink: async (voteId, options = {}) => {
|
|
70
|
-
// verify required parameter 'voteId' is not null or undefined
|
|
71
|
-
(0, common_1.assertParamExists)('getShareLink', 'voteId', voteId);
|
|
72
|
-
const localVarPath = `/api/votes/{voteId}/share`
|
|
73
|
-
.replace(`{${"voteId"}}`, encodeURIComponent(String(voteId)));
|
|
74
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
75
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
76
|
-
let baseOptions;
|
|
77
|
-
if (configuration) {
|
|
78
|
-
baseOptions = configuration.baseOptions;
|
|
79
|
-
}
|
|
80
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
81
|
-
const localVarHeaderParameter = {};
|
|
82
|
-
const localVarQueryParameter = {};
|
|
83
|
-
// authentication bearerAuth required
|
|
84
|
-
// http bearer authentication required
|
|
85
|
-
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
86
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
87
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
88
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
89
|
-
return {
|
|
90
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
91
|
-
options: localVarRequestOptions,
|
|
92
|
-
};
|
|
93
|
-
},
|
|
94
|
-
};
|
|
95
|
-
};
|
|
96
|
-
exports.VoteResultControllerApiAxiosParamCreator = VoteResultControllerApiAxiosParamCreator;
|
|
97
|
-
/**
|
|
98
|
-
* VoteResultControllerApi - functional programming interface
|
|
99
|
-
* @export
|
|
100
|
-
*/
|
|
101
|
-
const VoteResultControllerApiFp = function (configuration) {
|
|
102
|
-
const localVarAxiosParamCreator = (0, exports.VoteResultControllerApiAxiosParamCreator)(configuration);
|
|
103
|
-
return {
|
|
104
|
-
/**
|
|
105
|
-
*
|
|
106
|
-
* @param {number} voteId
|
|
107
|
-
* @param {*} [options] Override http request option.
|
|
108
|
-
* @throws {RequiredError}
|
|
109
|
-
*/
|
|
110
|
-
async getResult(voteId, options) {
|
|
111
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getResult(voteId, options);
|
|
112
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
113
|
-
const localVarOperationServerBasePath = base_1.operationServerMap['VoteResultControllerApi.getResult']?.[localVarOperationServerIndex]?.url;
|
|
114
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
115
|
-
},
|
|
116
|
-
/**
|
|
117
|
-
*
|
|
118
|
-
* @param {number} voteId
|
|
119
|
-
* @param {*} [options] Override http request option.
|
|
120
|
-
* @throws {RequiredError}
|
|
121
|
-
*/
|
|
122
|
-
async getShareLink(voteId, options) {
|
|
123
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getShareLink(voteId, options);
|
|
124
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
125
|
-
const localVarOperationServerBasePath = base_1.operationServerMap['VoteResultControllerApi.getShareLink']?.[localVarOperationServerIndex]?.url;
|
|
126
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
127
|
-
},
|
|
128
|
-
};
|
|
129
|
-
};
|
|
130
|
-
exports.VoteResultControllerApiFp = VoteResultControllerApiFp;
|
|
131
|
-
/**
|
|
132
|
-
* VoteResultControllerApi - factory interface
|
|
133
|
-
* @export
|
|
134
|
-
*/
|
|
135
|
-
const VoteResultControllerApiFactory = function (configuration, basePath, axios) {
|
|
136
|
-
const localVarFp = (0, exports.VoteResultControllerApiFp)(configuration);
|
|
137
|
-
return {
|
|
138
|
-
/**
|
|
139
|
-
*
|
|
140
|
-
* @param {number} voteId
|
|
141
|
-
* @param {*} [options] Override http request option.
|
|
142
|
-
* @throws {RequiredError}
|
|
143
|
-
*/
|
|
144
|
-
getResult(voteId, options) {
|
|
145
|
-
return localVarFp.getResult(voteId, options).then((request) => request(axios, basePath));
|
|
146
|
-
},
|
|
147
|
-
/**
|
|
148
|
-
*
|
|
149
|
-
* @param {number} voteId
|
|
150
|
-
* @param {*} [options] Override http request option.
|
|
151
|
-
* @throws {RequiredError}
|
|
152
|
-
*/
|
|
153
|
-
getShareLink(voteId, options) {
|
|
154
|
-
return localVarFp.getShareLink(voteId, options).then((request) => request(axios, basePath));
|
|
155
|
-
},
|
|
156
|
-
};
|
|
157
|
-
};
|
|
158
|
-
exports.VoteResultControllerApiFactory = VoteResultControllerApiFactory;
|
|
159
|
-
/**
|
|
160
|
-
* VoteResultControllerApi - object-oriented interface
|
|
161
|
-
* @export
|
|
162
|
-
* @class VoteResultControllerApi
|
|
163
|
-
* @extends {BaseAPI}
|
|
164
|
-
*/
|
|
165
|
-
class VoteResultControllerApi extends base_1.BaseAPI {
|
|
166
|
-
/**
|
|
167
|
-
*
|
|
168
|
-
* @param {number} voteId
|
|
169
|
-
* @param {*} [options] Override http request option.
|
|
170
|
-
* @throws {RequiredError}
|
|
171
|
-
* @memberof VoteResultControllerApi
|
|
172
|
-
*/
|
|
173
|
-
getResult(voteId, options) {
|
|
174
|
-
return (0, exports.VoteResultControllerApiFp)(this.configuration).getResult(voteId, options).then((request) => request(this.axios, this.basePath));
|
|
175
|
-
}
|
|
176
|
-
/**
|
|
177
|
-
*
|
|
178
|
-
* @param {number} voteId
|
|
179
|
-
* @param {*} [options] Override http request option.
|
|
180
|
-
* @throws {RequiredError}
|
|
181
|
-
* @memberof VoteResultControllerApi
|
|
182
|
-
*/
|
|
183
|
-
getShareLink(voteId, options) {
|
|
184
|
-
return (0, exports.VoteResultControllerApiFp)(this.configuration).getShareLink(voteId, options).then((request) => request(this.axios, this.basePath));
|
|
185
|
-
}
|
|
186
|
-
}
|
|
187
|
-
exports.VoteResultControllerApi = VoteResultControllerApi;
|
|
File without changes
|