@daytonaio/api-client 0.7.0 → 0.8.0

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 (63) hide show
  1. package/.openapi-generator/FILES +6 -1
  2. package/README.md +2 -2
  3. package/api/toolbox-api.ts +419 -0
  4. package/api/users-api.ts +68 -0
  5. package/api/workspace-api.ts +78 -0
  6. package/api.ts +0 -1
  7. package/dist/api/toolbox-api.d.ts +193 -0
  8. package/dist/api/toolbox-api.js +389 -0
  9. package/dist/api/users-api.d.ts +30 -0
  10. package/dist/api/users-api.js +62 -0
  11. package/dist/api/workspace-api.d.ts +33 -0
  12. package/dist/api/workspace-api.js +73 -0
  13. package/dist/api.d.ts +0 -1
  14. package/dist/api.js +0 -1
  15. package/dist/esm/api/toolbox-api.d.ts +193 -0
  16. package/dist/esm/api/toolbox-api.js +389 -0
  17. package/dist/esm/api/users-api.d.ts +30 -0
  18. package/dist/esm/api/users-api.js +62 -0
  19. package/dist/esm/api/workspace-api.d.ts +33 -0
  20. package/dist/esm/api/workspace-api.js +73 -0
  21. package/dist/esm/api.d.ts +0 -1
  22. package/dist/esm/api.js +0 -1
  23. package/dist/esm/models/command.d.ts +42 -0
  24. package/dist/esm/models/command.js +14 -0
  25. package/dist/esm/models/create-session-request.d.ts +24 -0
  26. package/dist/esm/models/create-session-request.js +14 -0
  27. package/dist/esm/models/index.d.ts +6 -0
  28. package/dist/esm/models/index.js +6 -0
  29. package/dist/esm/models/session-execute-request.d.ts +30 -0
  30. package/dist/esm/models/session-execute-request.js +14 -0
  31. package/dist/esm/models/session-execute-response.d.ts +36 -0
  32. package/dist/esm/models/session-execute-response.js +14 -0
  33. package/dist/esm/models/session.d.ts +31 -0
  34. package/dist/esm/models/session.js +14 -0
  35. package/dist/esm/models/usage-overview.d.ts +84 -0
  36. package/dist/esm/models/usage-overview.js +14 -0
  37. package/dist/models/command.d.ts +42 -0
  38. package/dist/models/command.js +15 -0
  39. package/dist/models/create-session-request.d.ts +24 -0
  40. package/dist/models/create-session-request.js +15 -0
  41. package/dist/models/index.d.ts +6 -0
  42. package/dist/models/index.js +6 -0
  43. package/dist/models/session-execute-request.d.ts +30 -0
  44. package/dist/models/session-execute-request.js +15 -0
  45. package/dist/models/session-execute-response.d.ts +36 -0
  46. package/dist/models/session-execute-response.js +15 -0
  47. package/dist/models/session.d.ts +31 -0
  48. package/dist/models/session.js +15 -0
  49. package/dist/models/usage-overview.d.ts +84 -0
  50. package/dist/models/usage-overview.js +15 -0
  51. package/models/command.ts +48 -0
  52. package/models/create-session-request.ts +30 -0
  53. package/models/index.ts +6 -0
  54. package/models/session-execute-request.ts +36 -0
  55. package/models/session-execute-response.ts +42 -0
  56. package/models/session.ts +39 -0
  57. package/models/usage-overview.ts +90 -0
  58. package/package.json +1 -1
  59. package/api/app-api.ts +0 -118
  60. package/dist/api/app-api.d.ts +0 -65
  61. package/dist/api/app-api.js +0 -124
  62. package/dist/esm/api/app-api.d.ts +0 -65
  63. package/dist/esm/api/app-api.js +0 -117
@@ -0,0 +1,90 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Daytona Workspaces
5
+ * Daytona Workspaces API Docs
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+
17
+ /**
18
+ *
19
+ * @export
20
+ * @interface UsageOverview
21
+ */
22
+ export interface UsageOverview {
23
+ /**
24
+ *
25
+ * @type {number}
26
+ * @memberof UsageOverview
27
+ */
28
+ 'totalCpuQuota': number;
29
+ /**
30
+ *
31
+ * @type {number}
32
+ * @memberof UsageOverview
33
+ */
34
+ 'totalGpuQuota': number;
35
+ /**
36
+ *
37
+ * @type {number}
38
+ * @memberof UsageOverview
39
+ */
40
+ 'totalMemoryQuota': number;
41
+ /**
42
+ *
43
+ * @type {number}
44
+ * @memberof UsageOverview
45
+ */
46
+ 'totalDiskQuota': number;
47
+ /**
48
+ *
49
+ * @type {number}
50
+ * @memberof UsageOverview
51
+ */
52
+ 'totalWorkspaceQuota': number;
53
+ /**
54
+ *
55
+ * @type {number}
56
+ * @memberof UsageOverview
57
+ */
58
+ 'concurrentWorkspaceQuota': number;
59
+ /**
60
+ *
61
+ * @type {number}
62
+ * @memberof UsageOverview
63
+ */
64
+ 'currentCpuUsage': number;
65
+ /**
66
+ *
67
+ * @type {number}
68
+ * @memberof UsageOverview
69
+ */
70
+ 'currentMemoryUsage': number;
71
+ /**
72
+ *
73
+ * @type {number}
74
+ * @memberof UsageOverview
75
+ */
76
+ 'currentDiskUsage': number;
77
+ /**
78
+ *
79
+ * @type {number}
80
+ * @memberof UsageOverview
81
+ */
82
+ 'currentWorkspaces': number;
83
+ /**
84
+ *
85
+ * @type {number}
86
+ * @memberof UsageOverview
87
+ */
88
+ 'concurrentWorkspaces': number;
89
+ }
90
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@daytonaio/api-client",
3
- "version": "0.7.0",
3
+ "version": "0.8.0",
4
4
  "description": "OpenAPI client for @daytonaio/api-client",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {
package/api/app-api.ts DELETED
@@ -1,118 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Daytona Workspaces
5
- * Daytona Workspaces API Docs
6
- *
7
- * The version of the OpenAPI document: 1.0
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
-
16
- import type { Configuration } from '../configuration';
17
- import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
18
- import globalAxios from 'axios';
19
- // Some imports not used depending on template conditions
20
- // @ts-ignore
21
- import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
22
- // @ts-ignore
23
- import { BASE_PATH, COLLECTION_FORMATS, type RequestArgs, BaseAPI, RequiredError, operationServerMap } from '../base';
24
- /**
25
- * AppApi - axios parameter creator
26
- * @export
27
- */
28
- export const AppApiAxiosParamCreator = function (configuration?: Configuration) {
29
- return {
30
- /**
31
- *
32
- * @param {*} [options] Override http request option.
33
- * @throws {RequiredError}
34
- */
35
- appControllerGetHello: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
36
- const localVarPath = `/`;
37
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
38
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
39
- let baseOptions;
40
- if (configuration) {
41
- baseOptions = configuration.baseOptions;
42
- }
43
-
44
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
45
- const localVarHeaderParameter = {} as any;
46
- const localVarQueryParameter = {} as any;
47
-
48
-
49
-
50
- setSearchParams(localVarUrlObj, localVarQueryParameter);
51
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
52
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
53
-
54
- return {
55
- url: toPathString(localVarUrlObj),
56
- options: localVarRequestOptions,
57
- };
58
- },
59
- }
60
- };
61
-
62
- /**
63
- * AppApi - functional programming interface
64
- * @export
65
- */
66
- export const AppApiFp = function(configuration?: Configuration) {
67
- const localVarAxiosParamCreator = AppApiAxiosParamCreator(configuration)
68
- return {
69
- /**
70
- *
71
- * @param {*} [options] Override http request option.
72
- * @throws {RequiredError}
73
- */
74
- async appControllerGetHello(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
75
- const localVarAxiosArgs = await localVarAxiosParamCreator.appControllerGetHello(options);
76
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
77
- const localVarOperationServerBasePath = operationServerMap['AppApi.appControllerGetHello']?.[localVarOperationServerIndex]?.url;
78
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
79
- },
80
- }
81
- };
82
-
83
- /**
84
- * AppApi - factory interface
85
- * @export
86
- */
87
- export const AppApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
88
- const localVarFp = AppApiFp(configuration)
89
- return {
90
- /**
91
- *
92
- * @param {*} [options] Override http request option.
93
- * @throws {RequiredError}
94
- */
95
- appControllerGetHello(options?: RawAxiosRequestConfig): AxiosPromise<void> {
96
- return localVarFp.appControllerGetHello(options).then((request) => request(axios, basePath));
97
- },
98
- };
99
- };
100
-
101
- /**
102
- * AppApi - object-oriented interface
103
- * @export
104
- * @class AppApi
105
- * @extends {BaseAPI}
106
- */
107
- export class AppApi extends BaseAPI {
108
- /**
109
- *
110
- * @param {*} [options] Override http request option.
111
- * @throws {RequiredError}
112
- * @memberof AppApi
113
- */
114
- public appControllerGetHello(options?: RawAxiosRequestConfig) {
115
- return AppApiFp(this.configuration).appControllerGetHello(options).then((request) => request(this.axios, this.basePath));
116
- }
117
- }
118
-
@@ -1,65 +0,0 @@
1
- /**
2
- * Daytona Workspaces
3
- * Daytona Workspaces API Docs
4
- *
5
- * The version of the OpenAPI document: 1.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
- * AppApi - axios parameter creator
17
- * @export
18
- */
19
- export declare const AppApiAxiosParamCreator: (configuration?: Configuration) => {
20
- /**
21
- *
22
- * @param {*} [options] Override http request option.
23
- * @throws {RequiredError}
24
- */
25
- appControllerGetHello: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
26
- };
27
- /**
28
- * AppApi - functional programming interface
29
- * @export
30
- */
31
- export declare const AppApiFp: (configuration?: Configuration) => {
32
- /**
33
- *
34
- * @param {*} [options] Override http request option.
35
- * @throws {RequiredError}
36
- */
37
- appControllerGetHello(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
38
- };
39
- /**
40
- * AppApi - factory interface
41
- * @export
42
- */
43
- export declare const AppApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
44
- /**
45
- *
46
- * @param {*} [options] Override http request option.
47
- * @throws {RequiredError}
48
- */
49
- appControllerGetHello(options?: RawAxiosRequestConfig): AxiosPromise<void>;
50
- };
51
- /**
52
- * AppApi - object-oriented interface
53
- * @export
54
- * @class AppApi
55
- * @extends {BaseAPI}
56
- */
57
- export declare class AppApi extends BaseAPI {
58
- /**
59
- *
60
- * @param {*} [options] Override http request option.
61
- * @throws {RequiredError}
62
- * @memberof AppApi
63
- */
64
- appControllerGetHello(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
65
- }
@@ -1,124 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * Daytona Workspaces
6
- * Daytona Workspaces API Docs
7
- *
8
- * The version of the OpenAPI document: 1.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 __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
16
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
17
- return new (P || (P = Promise))(function (resolve, reject) {
18
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
19
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
20
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
21
- step((generator = generator.apply(thisArg, _arguments || [])).next());
22
- });
23
- };
24
- Object.defineProperty(exports, "__esModule", { value: true });
25
- exports.AppApi = exports.AppApiFactory = exports.AppApiFp = exports.AppApiAxiosParamCreator = void 0;
26
- const axios_1 = require("axios");
27
- // Some imports not used depending on template conditions
28
- // @ts-ignore
29
- const common_1 = require("../common");
30
- // @ts-ignore
31
- const base_1 = require("../base");
32
- /**
33
- * AppApi - axios parameter creator
34
- * @export
35
- */
36
- const AppApiAxiosParamCreator = function (configuration) {
37
- return {
38
- /**
39
- *
40
- * @param {*} [options] Override http request option.
41
- * @throws {RequiredError}
42
- */
43
- appControllerGetHello: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
44
- const localVarPath = `/`;
45
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
46
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
47
- let baseOptions;
48
- if (configuration) {
49
- baseOptions = configuration.baseOptions;
50
- }
51
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
52
- const localVarHeaderParameter = {};
53
- const localVarQueryParameter = {};
54
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
55
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
56
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
57
- return {
58
- url: (0, common_1.toPathString)(localVarUrlObj),
59
- options: localVarRequestOptions,
60
- };
61
- }),
62
- };
63
- };
64
- exports.AppApiAxiosParamCreator = AppApiAxiosParamCreator;
65
- /**
66
- * AppApi - functional programming interface
67
- * @export
68
- */
69
- const AppApiFp = function (configuration) {
70
- const localVarAxiosParamCreator = (0, exports.AppApiAxiosParamCreator)(configuration);
71
- return {
72
- /**
73
- *
74
- * @param {*} [options] Override http request option.
75
- * @throws {RequiredError}
76
- */
77
- appControllerGetHello(options) {
78
- return __awaiter(this, void 0, void 0, function* () {
79
- var _a, _b, _c;
80
- const localVarAxiosArgs = yield localVarAxiosParamCreator.appControllerGetHello(options);
81
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
82
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AppApi.appControllerGetHello']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
83
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
84
- });
85
- },
86
- };
87
- };
88
- exports.AppApiFp = AppApiFp;
89
- /**
90
- * AppApi - factory interface
91
- * @export
92
- */
93
- const AppApiFactory = function (configuration, basePath, axios) {
94
- const localVarFp = (0, exports.AppApiFp)(configuration);
95
- return {
96
- /**
97
- *
98
- * @param {*} [options] Override http request option.
99
- * @throws {RequiredError}
100
- */
101
- appControllerGetHello(options) {
102
- return localVarFp.appControllerGetHello(options).then((request) => request(axios, basePath));
103
- },
104
- };
105
- };
106
- exports.AppApiFactory = AppApiFactory;
107
- /**
108
- * AppApi - object-oriented interface
109
- * @export
110
- * @class AppApi
111
- * @extends {BaseAPI}
112
- */
113
- class AppApi extends base_1.BaseAPI {
114
- /**
115
- *
116
- * @param {*} [options] Override http request option.
117
- * @throws {RequiredError}
118
- * @memberof AppApi
119
- */
120
- appControllerGetHello(options) {
121
- return (0, exports.AppApiFp)(this.configuration).appControllerGetHello(options).then((request) => request(this.axios, this.basePath));
122
- }
123
- }
124
- exports.AppApi = AppApi;
@@ -1,65 +0,0 @@
1
- /**
2
- * Daytona Workspaces
3
- * Daytona Workspaces API Docs
4
- *
5
- * The version of the OpenAPI document: 1.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
- * AppApi - axios parameter creator
17
- * @export
18
- */
19
- export declare const AppApiAxiosParamCreator: (configuration?: Configuration) => {
20
- /**
21
- *
22
- * @param {*} [options] Override http request option.
23
- * @throws {RequiredError}
24
- */
25
- appControllerGetHello: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
26
- };
27
- /**
28
- * AppApi - functional programming interface
29
- * @export
30
- */
31
- export declare const AppApiFp: (configuration?: Configuration) => {
32
- /**
33
- *
34
- * @param {*} [options] Override http request option.
35
- * @throws {RequiredError}
36
- */
37
- appControllerGetHello(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
38
- };
39
- /**
40
- * AppApi - factory interface
41
- * @export
42
- */
43
- export declare const AppApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
44
- /**
45
- *
46
- * @param {*} [options] Override http request option.
47
- * @throws {RequiredError}
48
- */
49
- appControllerGetHello(options?: RawAxiosRequestConfig): AxiosPromise<void>;
50
- };
51
- /**
52
- * AppApi - object-oriented interface
53
- * @export
54
- * @class AppApi
55
- * @extends {BaseAPI}
56
- */
57
- export declare class AppApi extends BaseAPI {
58
- /**
59
- *
60
- * @param {*} [options] Override http request option.
61
- * @throws {RequiredError}
62
- * @memberof AppApi
63
- */
64
- appControllerGetHello(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
65
- }
@@ -1,117 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Daytona Workspaces
5
- * Daytona Workspaces API Docs
6
- *
7
- * The version of the OpenAPI document: 1.0
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
15
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
16
- return new (P || (P = Promise))(function (resolve, reject) {
17
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
18
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
19
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
20
- step((generator = generator.apply(thisArg, _arguments || [])).next());
21
- });
22
- };
23
- import globalAxios from 'axios';
24
- // Some imports not used depending on template conditions
25
- // @ts-ignore
26
- import { DUMMY_BASE_URL, setSearchParams, toPathString, createRequestFunction } from '../common';
27
- // @ts-ignore
28
- import { BASE_PATH, BaseAPI, operationServerMap } from '../base';
29
- /**
30
- * AppApi - axios parameter creator
31
- * @export
32
- */
33
- export const AppApiAxiosParamCreator = function (configuration) {
34
- return {
35
- /**
36
- *
37
- * @param {*} [options] Override http request option.
38
- * @throws {RequiredError}
39
- */
40
- appControllerGetHello: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
41
- const localVarPath = `/`;
42
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
43
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
44
- let baseOptions;
45
- if (configuration) {
46
- baseOptions = configuration.baseOptions;
47
- }
48
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
49
- const localVarHeaderParameter = {};
50
- const localVarQueryParameter = {};
51
- setSearchParams(localVarUrlObj, localVarQueryParameter);
52
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
53
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
54
- return {
55
- url: toPathString(localVarUrlObj),
56
- options: localVarRequestOptions,
57
- };
58
- }),
59
- };
60
- };
61
- /**
62
- * AppApi - functional programming interface
63
- * @export
64
- */
65
- export const AppApiFp = function (configuration) {
66
- const localVarAxiosParamCreator = AppApiAxiosParamCreator(configuration);
67
- return {
68
- /**
69
- *
70
- * @param {*} [options] Override http request option.
71
- * @throws {RequiredError}
72
- */
73
- appControllerGetHello(options) {
74
- return __awaiter(this, void 0, void 0, function* () {
75
- var _a, _b, _c;
76
- const localVarAxiosArgs = yield localVarAxiosParamCreator.appControllerGetHello(options);
77
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
78
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AppApi.appControllerGetHello']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
79
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
80
- });
81
- },
82
- };
83
- };
84
- /**
85
- * AppApi - factory interface
86
- * @export
87
- */
88
- export const AppApiFactory = function (configuration, basePath, axios) {
89
- const localVarFp = AppApiFp(configuration);
90
- return {
91
- /**
92
- *
93
- * @param {*} [options] Override http request option.
94
- * @throws {RequiredError}
95
- */
96
- appControllerGetHello(options) {
97
- return localVarFp.appControllerGetHello(options).then((request) => request(axios, basePath));
98
- },
99
- };
100
- };
101
- /**
102
- * AppApi - object-oriented interface
103
- * @export
104
- * @class AppApi
105
- * @extends {BaseAPI}
106
- */
107
- export class AppApi extends BaseAPI {
108
- /**
109
- *
110
- * @param {*} [options] Override http request option.
111
- * @throws {RequiredError}
112
- * @memberof AppApi
113
- */
114
- appControllerGetHello(options) {
115
- return AppApiFp(this.configuration).appControllerGetHello(options).then((request) => request(this.axios, this.basePath));
116
- }
117
- }