@ject-4-vs-team/api-client 2026.322.2 → 2026.501.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.
@@ -0,0 +1,65 @@
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
+ /**
16
+ * AuthControllerApi - axios parameter creator
17
+ * @export
18
+ */
19
+ export declare const AuthControllerApiAxiosParamCreator: (configuration?: Configuration) => {
20
+ /**
21
+ *
22
+ * @param {*} [options] Override http request option.
23
+ * @throws {RequiredError}
24
+ */
25
+ reissue: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
26
+ };
27
+ /**
28
+ * AuthControllerApi - functional programming interface
29
+ * @export
30
+ */
31
+ export declare const AuthControllerApiFp: (configuration?: Configuration) => {
32
+ /**
33
+ *
34
+ * @param {*} [options] Override http request option.
35
+ * @throws {RequiredError}
36
+ */
37
+ reissue(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
38
+ };
39
+ /**
40
+ * AuthControllerApi - factory interface
41
+ * @export
42
+ */
43
+ export declare const AuthControllerApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
44
+ /**
45
+ *
46
+ * @param {*} [options] Override http request option.
47
+ * @throws {RequiredError}
48
+ */
49
+ reissue(options?: RawAxiosRequestConfig): AxiosPromise<void>;
50
+ };
51
+ /**
52
+ * AuthControllerApi - object-oriented interface
53
+ * @export
54
+ * @class AuthControllerApi
55
+ * @extends {BaseAPI}
56
+ */
57
+ export declare class AuthControllerApi extends BaseAPI {
58
+ /**
59
+ *
60
+ * @param {*} [options] Override http request option.
61
+ * @throws {RequiredError}
62
+ * @memberof AuthControllerApi
63
+ */
64
+ reissue(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
65
+ }
@@ -0,0 +1,118 @@
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.AuthControllerApi = exports.AuthControllerApiFactory = exports.AuthControllerApiFp = exports.AuthControllerApiAxiosParamCreator = 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
+ * AuthControllerApi - axios parameter creator
28
+ * @export
29
+ */
30
+ const AuthControllerApiAxiosParamCreator = function (configuration) {
31
+ return {
32
+ /**
33
+ *
34
+ * @param {*} [options] Override http request option.
35
+ * @throws {RequiredError}
36
+ */
37
+ reissue: async (options = {}) => {
38
+ const localVarPath = `/auth/reissue`;
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: 'POST', ...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
+ exports.AuthControllerApiAxiosParamCreator = AuthControllerApiAxiosParamCreator;
62
+ /**
63
+ * AuthControllerApi - functional programming interface
64
+ * @export
65
+ */
66
+ const AuthControllerApiFp = function (configuration) {
67
+ const localVarAxiosParamCreator = (0, exports.AuthControllerApiAxiosParamCreator)(configuration);
68
+ return {
69
+ /**
70
+ *
71
+ * @param {*} [options] Override http request option.
72
+ * @throws {RequiredError}
73
+ */
74
+ async reissue(options) {
75
+ const localVarAxiosArgs = await localVarAxiosParamCreator.reissue(options);
76
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
77
+ const localVarOperationServerBasePath = base_1.operationServerMap['AuthControllerApi.reissue']?.[localVarOperationServerIndex]?.url;
78
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
79
+ },
80
+ };
81
+ };
82
+ exports.AuthControllerApiFp = AuthControllerApiFp;
83
+ /**
84
+ * AuthControllerApi - factory interface
85
+ * @export
86
+ */
87
+ const AuthControllerApiFactory = function (configuration, basePath, axios) {
88
+ const localVarFp = (0, exports.AuthControllerApiFp)(configuration);
89
+ return {
90
+ /**
91
+ *
92
+ * @param {*} [options] Override http request option.
93
+ * @throws {RequiredError}
94
+ */
95
+ reissue(options) {
96
+ return localVarFp.reissue(options).then((request) => request(axios, basePath));
97
+ },
98
+ };
99
+ };
100
+ exports.AuthControllerApiFactory = AuthControllerApiFactory;
101
+ /**
102
+ * AuthControllerApi - object-oriented interface
103
+ * @export
104
+ * @class AuthControllerApi
105
+ * @extends {BaseAPI}
106
+ */
107
+ class AuthControllerApi extends base_1.BaseAPI {
108
+ /**
109
+ *
110
+ * @param {*} [options] Override http request option.
111
+ * @throws {RequiredError}
112
+ * @memberof AuthControllerApi
113
+ */
114
+ reissue(options) {
115
+ return (0, exports.AuthControllerApiFp)(this.configuration).reissue(options).then((request) => request(this.axios, this.basePath));
116
+ }
117
+ }
118
+ exports.AuthControllerApi = AuthControllerApi;
package/dist/api.d.ts CHANGED
@@ -9,4 +9,5 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ export * from './api/auth-controller-api';
12
13
  export * from './api/hello-controller-api';
package/dist/api.js CHANGED
@@ -27,4 +27,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
27
27
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
28
28
  };
29
29
  Object.defineProperty(exports, "__esModule", { value: true });
30
+ __exportStar(require("./api/auth-controller-api"), exports);
30
31
  __exportStar(require("./api/hello-controller-api"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ject-4-vs-team/api-client",
3
- "version": "2026.0322.2",
3
+ "version": "2026.0501.2",
4
4
  "description": "VS Server API client generated from OpenAPI spec",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",