@ject-4-vs-team/api-client 2026.517.1 → 2026.525.1

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 (77) 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 +1280 -0
  4. package/dist/api/default-api.js +2490 -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 +23 -1
  24. package/dist/models/index.js +23 -1
  25. package/dist/models/my-participated-vote-response.d.ts +16 -0
  26. package/dist/models/my-participated-vote-response.js +15 -0
  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/user-delete-req.d.ts +15 -0
  51. package/dist/models/user-delete-req.js +15 -0
  52. package/dist/models/user-modify-info-request.d.ts +22 -0
  53. package/dist/models/user-modify-info-request.js +22 -0
  54. package/dist/models/vote-detail-response.d.ts +6 -6
  55. package/dist/models/vote-element.d.ts +19 -0
  56. package/dist/models/vote-element.js +15 -0
  57. package/dist/models/vote-item.d.ts +27 -0
  58. package/dist/models/vote-item.js +15 -0
  59. package/dist/models/vote-list-item.d.ts +24 -0
  60. package/dist/models/vote-list-item.js +20 -0
  61. package/dist/models/vote-result-response.d.ts +7 -3
  62. package/package.json +1 -1
  63. package/dist/api/auth-controller-api.d.ts +0 -65
  64. package/dist/api/auth-controller-api.js +0 -118
  65. package/dist/api/guest-free-vote-controller-api.d.ts +0 -70
  66. package/dist/api/guest-free-vote-controller-api.js +0 -127
  67. package/dist/api/immersive-vote-controller-api.d.ts +0 -147
  68. package/dist/api/immersive-vote-controller-api.js +0 -282
  69. package/dist/api/user-controller-api.d.ts +0 -183
  70. package/dist/api/user-controller-api.js +0 -362
  71. package/dist/api/vote-controller-api.d.ts +0 -173
  72. package/dist/api/vote-controller-api.js +0 -338
  73. package/dist/api/vote-emoji-controller-api.d.ts +0 -116
  74. package/dist/api/vote-emoji-controller-api.js +0 -221
  75. package/dist/api/vote-result-controller-api.d.ts +0 -100
  76. package/dist/api/vote-result-controller-api.js +0 -187
  77. /package/dist/models/{feed-item.js → emoji-summary.js} +0 -0
@@ -0,0 +1,15 @@
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
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,20 @@
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
+ export interface RegisterPushTokenRequest {
13
+ token?: string;
14
+ platform: RegisterPushTokenRequestPlatformEnum;
15
+ }
16
+ export declare const RegisterPushTokenRequestPlatformEnum: {
17
+ readonly Ios: "IOS";
18
+ readonly Android: "ANDROID";
19
+ };
20
+ export type RegisterPushTokenRequestPlatformEnum = typeof RegisterPushTokenRequestPlatformEnum[keyof typeof RegisterPushTokenRequestPlatformEnum];
@@ -0,0 +1,20 @@
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
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.RegisterPushTokenRequestPlatformEnum = void 0;
17
+ exports.RegisterPushTokenRequestPlatformEnum = {
18
+ Ios: 'IOS',
19
+ Android: 'ANDROID'
20
+ };
@@ -0,0 +1,15 @@
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 { OptionItem } from './option-item';
13
+ export interface ResultOptions {
14
+ options?: Array<OptionItem>;
15
+ }
@@ -0,0 +1,15 @@
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
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -10,5 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  export interface ShareLinkResponse {
13
- url?: string;
13
+ shareUrl?: string;
14
+ title?: string;
15
+ thumbnailUrl?: string;
14
16
  }
@@ -0,0 +1,14 @@
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
+ export interface UnreadCountResponse {
13
+ unreadCount?: number;
14
+ }
@@ -0,0 +1,15 @@
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
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,14 @@
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
+ export interface UpdateNotificationSettingRequest {
13
+ pushEnabled: boolean;
14
+ }
@@ -0,0 +1,15 @@
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
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,15 @@
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
+ export interface UserDeleteReq {
13
+ category?: string;
14
+ reasone?: string;
15
+ }
@@ -0,0 +1,15 @@
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
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,22 @@
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
+ export interface UserModifyInfoRequest {
13
+ nickname?: string;
14
+ imageColor?: UserModifyInfoRequestImageColorEnum;
15
+ }
16
+ export declare const UserModifyInfoRequestImageColorEnum: {
17
+ readonly Green: "GREEN";
18
+ readonly Red: "RED";
19
+ readonly Blue: "BLUE";
20
+ readonly Yellow: "YELLOW";
21
+ };
22
+ export type UserModifyInfoRequestImageColorEnum = typeof UserModifyInfoRequestImageColorEnum[keyof typeof UserModifyInfoRequestImageColorEnum];
@@ -0,0 +1,22 @@
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
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.UserModifyInfoRequestImageColorEnum = void 0;
17
+ exports.UserModifyInfoRequestImageColorEnum = {
18
+ Green: 'GREEN',
19
+ Red: 'RED',
20
+ Blue: 'BLUE',
21
+ Yellow: 'YELLOW'
22
+ };
@@ -9,21 +9,21 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import type { EmojiSummary } from './emoji-summary';
13
+ import type { MyVote } from './my-vote';
12
14
  import type { OptionItem } from './option-item';
13
15
  export interface VoteDetailResponse {
14
16
  voteId?: number;
15
- type?: string;
16
17
  title?: string;
18
+ createdAt?: string;
17
19
  content?: string;
18
20
  thumbnailUrl?: string;
19
- imageUrl?: string;
20
21
  status?: string;
21
22
  endAt?: string;
22
23
  participantCount?: number;
23
24
  options?: Array<OptionItem>;
24
- mySelectedOptionId?: number;
25
- emojiSummary?: {
26
- [key: string]: number;
27
- };
25
+ myVote?: MyVote;
26
+ emojiSummary?: EmojiSummary;
28
27
  myEmoji?: string;
28
+ commentCount?: number;
29
29
  }
@@ -0,0 +1,19 @@
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
+ export interface VoteElement {
13
+ id?: number;
14
+ title?: string;
15
+ content?: string;
16
+ thumbnailUrl?: string;
17
+ localDate?: string;
18
+ endAt?: string;
19
+ }
@@ -0,0 +1,15 @@
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
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,27 @@
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 { EmojiSummary } from './emoji-summary';
13
+ import type { MyVote } from './my-vote';
14
+ import type { OptionItem } from './option-item';
15
+ export interface VoteItem {
16
+ voteId?: number;
17
+ title?: string;
18
+ content?: string;
19
+ imageUrl?: string;
20
+ endAt?: string;
21
+ options?: Array<OptionItem>;
22
+ myVote?: MyVote;
23
+ emojiSummary?: EmojiSummary;
24
+ myEmoji?: string;
25
+ commentCount?: number;
26
+ currentViewerCount?: number;
27
+ }
@@ -0,0 +1,15 @@
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
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,24 @@
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
+ export interface VoteListItem {
13
+ voteId?: number;
14
+ thumbnailUrl?: string;
15
+ status?: VoteListItemStatusEnum;
16
+ title?: string;
17
+ content?: string;
18
+ endAt?: string;
19
+ }
20
+ export declare const VoteListItemStatusEnum: {
21
+ readonly Ongoing: "ONGOING";
22
+ readonly Ended: "ENDED";
23
+ };
24
+ export type VoteListItemStatusEnum = typeof VoteListItemStatusEnum[keyof typeof VoteListItemStatusEnum];
@@ -0,0 +1,20 @@
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
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.VoteListItemStatusEnum = void 0;
17
+ exports.VoteListItemStatusEnum = {
18
+ Ongoing: 'ONGOING',
19
+ Ended: 'ENDED'
20
+ };
@@ -11,15 +11,19 @@
11
11
  */
12
12
  import type { AiInsightResponse } from './ai-insight-response';
13
13
  import type { InsightResponse } from './insight-response';
14
- import type { OptionItem } from './option-item';
14
+ import type { MyVote } from './my-vote';
15
+ import type { ResultOptions } from './result-options';
15
16
  export interface VoteResultResponse {
16
17
  voteId?: number;
17
18
  title?: string;
19
+ createdAt?: string;
20
+ content?: string;
21
+ thumbnailUrl?: string;
18
22
  status?: string;
19
23
  endAt?: string;
20
24
  participantCount?: number;
21
- options?: Array<OptionItem>;
22
- mySelectedOptionId?: number;
25
+ result?: ResultOptions;
26
+ myVote?: MyVote;
23
27
  insight?: InsightResponse;
24
28
  aiInsight?: AiInsightResponse;
25
29
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ject-4-vs-team/api-client",
3
- "version": "2026.0517.1",
3
+ "version": "2026.0525.1",
4
4
  "description": "VS Server API client generated from OpenAPI spec",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -1,65 +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
- /**
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
- }
@@ -1,118 +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.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;