@daytonaio/api-client 0.5.2 → 0.6.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.
- package/.openapi-generator/FILES +20 -18
- package/README.md +2 -2
- package/api/api-keys-api.ts +21 -21
- package/api/{default-api.ts → app-api.ts} +14 -14
- package/api/docker-registry-api.ts +30 -30
- package/api/nodes-api.ts +16 -14
- package/api/toolbox-api.ts +120 -120
- package/api/users-api.ts +16 -14
- package/api/workspace-api.ts +37 -37
- package/api.ts +1 -1
- package/dist/api/api-keys-api.d.ts +17 -17
- package/dist/api/api-keys-api.js +17 -17
- package/dist/api/{default-api.d.ts → app-api.d.ts} +10 -10
- package/dist/api/{default-api.js → app-api.js} +19 -19
- package/dist/api/docker-registry-api.d.ts +18 -18
- package/dist/api/docker-registry-api.js +33 -33
- package/dist/api/nodes-api.d.ts +9 -8
- package/dist/api/nodes-api.js +16 -16
- package/dist/api/toolbox-api.d.ts +72 -72
- package/dist/api/toolbox-api.js +125 -125
- package/dist/api/users-api.d.ts +9 -8
- package/dist/api/users-api.js +16 -16
- package/dist/api/workspace-api.d.ts +28 -28
- package/dist/api/workspace-api.js +34 -34
- package/dist/api.d.ts +1 -1
- package/dist/api.js +1 -1
- package/dist/esm/api/api-keys-api.d.ts +17 -17
- package/dist/esm/api/api-keys-api.js +17 -17
- package/dist/esm/api/{default-api.d.ts → app-api.d.ts} +10 -10
- package/dist/esm/api/{default-api.js → app-api.js} +14 -14
- package/dist/esm/api/docker-registry-api.d.ts +18 -18
- package/dist/esm/api/docker-registry-api.js +33 -33
- package/dist/esm/api/nodes-api.d.ts +9 -8
- package/dist/esm/api/nodes-api.js +16 -16
- package/dist/esm/api/toolbox-api.d.ts +72 -72
- package/dist/esm/api/toolbox-api.js +125 -125
- package/dist/esm/api/users-api.d.ts +9 -8
- package/dist/esm/api/users-api.js +16 -16
- package/dist/esm/api/workspace-api.d.ts +28 -28
- package/dist/esm/api/workspace-api.js +34 -34
- package/dist/esm/api.d.ts +1 -1
- package/dist/esm/api.js +1 -1
- package/dist/esm/models/{api-key-list-dto.d.ts → api-key-list.d.ts} +5 -5
- package/dist/esm/models/{api-key-response-dto.d.ts → api-key-response.d.ts} +5 -5
- package/dist/{models/create-api-key-dto.d.ts → esm/models/create-api-key.d.ts} +3 -3
- package/dist/{models/create-docker-registry-dto.d.ts → esm/models/create-docker-registry.d.ts} +8 -8
- package/dist/esm/models/create-node.d.ts +24 -0
- package/dist/esm/models/create-user.d.ts +30 -0
- package/dist/{models/create-workspace-dto.d.ts → esm/models/create-workspace.d.ts} +21 -21
- package/dist/esm/models/{create-workspace-dto.js → create-workspace.js} +2 -2
- package/dist/{models/execute-request-dto.d.ts → esm/models/execute-request.d.ts} +4 -4
- package/dist/{models/execute-response-dto.d.ts → esm/models/execute-response.d.ts} +5 -5
- package/dist/esm/models/{git-add-request-dto.d.ts → git-add-request.d.ts} +4 -4
- package/dist/{models/git-branch-request-dto.d.ts → esm/models/git-branch-request.d.ts} +4 -4
- package/dist/esm/models/{git-clone-request-dto.d.ts → git-clone-request.d.ts} +8 -8
- package/dist/{models/git-commit-request-dto.d.ts → esm/models/git-commit-request.d.ts} +6 -6
- package/dist/esm/models/{git-repo-request-dto.d.ts → git-repo-request.d.ts} +5 -5
- package/dist/esm/models/index.d.ts +19 -17
- package/dist/esm/models/index.js +19 -17
- package/dist/esm/models/{replace-request-dto.d.ts → replace-request.d.ts} +5 -5
- package/dist/esm/models/{update-docker-registry-dto.d.ts → update-docker-registry.d.ts} +8 -8
- package/dist/{models/workspace-info-dto.d.ts → esm/models/workspace-info.d.ts} +5 -5
- package/dist/{models/workspace-labels-dto.d.ts → esm/models/workspace-labels.d.ts} +3 -3
- package/dist/esm/models/workspace-labels.js +14 -0
- package/dist/{models/workspace-dto.d.ts → esm/models/workspace.d.ts} +18 -18
- package/dist/esm/models/workspace.js +14 -0
- package/dist/models/{api-key-list-dto.d.ts → api-key-list.d.ts} +5 -5
- package/dist/models/{api-key-response-dto.d.ts → api-key-response.d.ts} +5 -5
- package/dist/{esm/models/create-api-key-dto.d.ts → models/create-api-key.d.ts} +3 -3
- package/dist/{esm/models/create-docker-registry-dto.d.ts → models/create-docker-registry.d.ts} +8 -8
- package/dist/models/create-node.d.ts +24 -0
- package/dist/models/create-user.d.ts +30 -0
- package/dist/{esm/models/create-workspace-dto.d.ts → models/create-workspace.d.ts} +21 -21
- package/dist/models/{create-workspace-dto.js → create-workspace.js} +3 -3
- package/dist/{esm/models/execute-request-dto.d.ts → models/execute-request.d.ts} +4 -4
- package/dist/{esm/models/execute-response-dto.d.ts → models/execute-response.d.ts} +5 -5
- package/dist/models/{git-add-request-dto.d.ts → git-add-request.d.ts} +4 -4
- package/dist/{esm/models/git-branch-request-dto.d.ts → models/git-branch-request.d.ts} +4 -4
- package/dist/models/{git-clone-request-dto.d.ts → git-clone-request.d.ts} +8 -8
- package/dist/{esm/models/git-commit-request-dto.d.ts → models/git-commit-request.d.ts} +6 -6
- package/dist/models/{git-repo-request-dto.d.ts → git-repo-request.d.ts} +5 -5
- package/dist/models/index.d.ts +19 -17
- package/dist/models/index.js +19 -17
- package/dist/models/{replace-request-dto.d.ts → replace-request.d.ts} +5 -5
- package/dist/models/{update-docker-registry-dto.d.ts → update-docker-registry.d.ts} +8 -8
- package/dist/{esm/models/workspace-info-dto.d.ts → models/workspace-info.d.ts} +5 -5
- package/dist/{esm/models/workspace-labels-dto.d.ts → models/workspace-labels.d.ts} +3 -3
- package/dist/models/workspace-labels.js +15 -0
- package/dist/{esm/models/workspace-dto.d.ts → models/workspace.d.ts} +18 -18
- package/dist/models/workspace.js +15 -0
- package/models/{api-key-list-dto.ts → api-key-list.ts} +5 -5
- package/models/{api-key-response-dto.ts → api-key-response.ts} +5 -5
- package/models/{create-api-key-dto.ts → create-api-key.ts} +3 -3
- package/models/{create-docker-registry-dto.ts → create-docker-registry.ts} +8 -8
- package/models/create-node.ts +30 -0
- package/models/create-user.ts +36 -0
- package/models/{create-workspace-dto.ts → create-workspace.ts} +21 -21
- package/models/{execute-request-dto.ts → execute-request.ts} +4 -4
- package/models/{execute-response-dto.ts → execute-response.ts} +5 -5
- package/models/{git-add-request-dto.ts → git-add-request.ts} +4 -4
- package/models/{git-branch-request-dto.ts → git-branch-request.ts} +4 -4
- package/models/{git-clone-request-dto.ts → git-clone-request.ts} +8 -8
- package/models/{git-commit-request-dto.ts → git-commit-request.ts} +6 -6
- package/models/{git-repo-request-dto.ts → git-repo-request.ts} +5 -5
- package/models/index.ts +19 -17
- package/models/{replace-request-dto.ts → replace-request.ts} +5 -5
- package/models/{update-docker-registry-dto.ts → update-docker-registry.ts} +8 -8
- package/models/{workspace-info-dto.ts → workspace-info.ts} +5 -5
- package/models/{workspace-labels-dto.ts → workspace-labels.ts} +3 -3
- package/models/{workspace-dto.ts → workspace.ts} +18 -18
- package/package.json +1 -1
- /package/dist/esm/models/{api-key-list-dto.js → api-key-list.js} +0 -0
- /package/dist/esm/models/{api-key-response-dto.js → api-key-response.js} +0 -0
- /package/dist/esm/models/{create-api-key-dto.js → create-api-key.js} +0 -0
- /package/dist/esm/models/{create-docker-registry-dto.js → create-docker-registry.js} +0 -0
- /package/dist/esm/models/{execute-request-dto.js → create-node.js} +0 -0
- /package/dist/esm/models/{execute-response-dto.js → create-user.js} +0 -0
- /package/dist/esm/models/{git-add-request-dto.js → execute-request.js} +0 -0
- /package/dist/esm/models/{git-branch-request-dto.js → execute-response.js} +0 -0
- /package/dist/esm/models/{git-clone-request-dto.js → git-add-request.js} +0 -0
- /package/dist/esm/models/{git-commit-request-dto.js → git-branch-request.js} +0 -0
- /package/dist/esm/models/{git-repo-request-dto.js → git-clone-request.js} +0 -0
- /package/dist/esm/models/{replace-request-dto.js → git-commit-request.js} +0 -0
- /package/dist/esm/models/{update-docker-registry-dto.js → git-repo-request.js} +0 -0
- /package/dist/esm/models/{workspace-dto.js → replace-request.js} +0 -0
- /package/dist/esm/models/{workspace-info-dto.js → update-docker-registry.js} +0 -0
- /package/dist/esm/models/{workspace-labels-dto.js → workspace-info.js} +0 -0
- /package/dist/models/{api-key-list-dto.js → api-key-list.js} +0 -0
- /package/dist/models/{api-key-response-dto.js → api-key-response.js} +0 -0
- /package/dist/models/{create-api-key-dto.js → create-api-key.js} +0 -0
- /package/dist/models/{create-docker-registry-dto.js → create-docker-registry.js} +0 -0
- /package/dist/models/{execute-request-dto.js → create-node.js} +0 -0
- /package/dist/models/{execute-response-dto.js → create-user.js} +0 -0
- /package/dist/models/{git-add-request-dto.js → execute-request.js} +0 -0
- /package/dist/models/{git-branch-request-dto.js → execute-response.js} +0 -0
- /package/dist/models/{git-clone-request-dto.js → git-add-request.js} +0 -0
- /package/dist/models/{git-commit-request-dto.js → git-branch-request.js} +0 -0
- /package/dist/models/{git-repo-request-dto.js → git-clone-request.js} +0 -0
- /package/dist/models/{replace-request-dto.js → git-commit-request.js} +0 -0
- /package/dist/models/{update-docker-registry-dto.js → git-repo-request.js} +0 -0
- /package/dist/models/{workspace-dto.js → replace-request.js} +0 -0
- /package/dist/models/{workspace-info-dto.js → update-docker-registry.js} +0 -0
- /package/dist/models/{workspace-labels-dto.js → workspace-info.js} +0 -0
|
@@ -12,9 +12,9 @@
|
|
|
12
12
|
import type { Configuration } from '../configuration';
|
|
13
13
|
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
14
|
import { type RequestArgs, BaseAPI } from '../base';
|
|
15
|
-
import type {
|
|
16
|
-
import type {
|
|
17
|
-
import type {
|
|
15
|
+
import type { ApiKeyList } from '../models';
|
|
16
|
+
import type { ApiKeyResponse } from '../models';
|
|
17
|
+
import type { CreateApiKey } from '../models';
|
|
18
18
|
/**
|
|
19
19
|
* ApiKeysApi - axios parameter creator
|
|
20
20
|
* @export
|
|
@@ -23,11 +23,11 @@ export declare const ApiKeysApiAxiosParamCreator: (configuration?: Configuration
|
|
|
23
23
|
/**
|
|
24
24
|
*
|
|
25
25
|
* @summary Create API key
|
|
26
|
-
* @param {
|
|
26
|
+
* @param {CreateApiKey} createApiKey
|
|
27
27
|
* @param {*} [options] Override http request option.
|
|
28
28
|
* @throws {RequiredError}
|
|
29
29
|
*/
|
|
30
|
-
createApiKey: (
|
|
30
|
+
createApiKey: (createApiKey: CreateApiKey, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
31
31
|
/**
|
|
32
32
|
*
|
|
33
33
|
* @summary Delete API key
|
|
@@ -60,11 +60,11 @@ export declare const ApiKeysApiFp: (configuration?: Configuration) => {
|
|
|
60
60
|
/**
|
|
61
61
|
*
|
|
62
62
|
* @summary Create API key
|
|
63
|
-
* @param {
|
|
63
|
+
* @param {CreateApiKey} createApiKey
|
|
64
64
|
* @param {*} [options] Override http request option.
|
|
65
65
|
* @throws {RequiredError}
|
|
66
66
|
*/
|
|
67
|
-
createApiKey(
|
|
67
|
+
createApiKey(createApiKey: CreateApiKey, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ApiKeyResponse>>;
|
|
68
68
|
/**
|
|
69
69
|
*
|
|
70
70
|
* @summary Delete API key
|
|
@@ -80,14 +80,14 @@ export declare const ApiKeysApiFp: (configuration?: Configuration) => {
|
|
|
80
80
|
* @param {*} [options] Override http request option.
|
|
81
81
|
* @throws {RequiredError}
|
|
82
82
|
*/
|
|
83
|
-
getApiKey(name: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
83
|
+
getApiKey(name: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ApiKeyList>>;
|
|
84
84
|
/**
|
|
85
85
|
*
|
|
86
86
|
* @summary List API keys
|
|
87
87
|
* @param {*} [options] Override http request option.
|
|
88
88
|
* @throws {RequiredError}
|
|
89
89
|
*/
|
|
90
|
-
listApiKeys(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<
|
|
90
|
+
listApiKeys(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ApiKeyList>>>;
|
|
91
91
|
};
|
|
92
92
|
/**
|
|
93
93
|
* ApiKeysApi - factory interface
|
|
@@ -97,11 +97,11 @@ export declare const ApiKeysApiFactory: (configuration?: Configuration, basePath
|
|
|
97
97
|
/**
|
|
98
98
|
*
|
|
99
99
|
* @summary Create API key
|
|
100
|
-
* @param {
|
|
100
|
+
* @param {CreateApiKey} createApiKey
|
|
101
101
|
* @param {*} [options] Override http request option.
|
|
102
102
|
* @throws {RequiredError}
|
|
103
103
|
*/
|
|
104
|
-
createApiKey(
|
|
104
|
+
createApiKey(createApiKey: CreateApiKey, options?: RawAxiosRequestConfig): AxiosPromise<ApiKeyResponse>;
|
|
105
105
|
/**
|
|
106
106
|
*
|
|
107
107
|
* @summary Delete API key
|
|
@@ -117,14 +117,14 @@ export declare const ApiKeysApiFactory: (configuration?: Configuration, basePath
|
|
|
117
117
|
* @param {*} [options] Override http request option.
|
|
118
118
|
* @throws {RequiredError}
|
|
119
119
|
*/
|
|
120
|
-
getApiKey(name: string, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
120
|
+
getApiKey(name: string, options?: RawAxiosRequestConfig): AxiosPromise<ApiKeyList>;
|
|
121
121
|
/**
|
|
122
122
|
*
|
|
123
123
|
* @summary List API keys
|
|
124
124
|
* @param {*} [options] Override http request option.
|
|
125
125
|
* @throws {RequiredError}
|
|
126
126
|
*/
|
|
127
|
-
listApiKeys(options?: RawAxiosRequestConfig): AxiosPromise<Array<
|
|
127
|
+
listApiKeys(options?: RawAxiosRequestConfig): AxiosPromise<Array<ApiKeyList>>;
|
|
128
128
|
};
|
|
129
129
|
/**
|
|
130
130
|
* ApiKeysApi - object-oriented interface
|
|
@@ -136,12 +136,12 @@ export declare class ApiKeysApi extends BaseAPI {
|
|
|
136
136
|
/**
|
|
137
137
|
*
|
|
138
138
|
* @summary Create API key
|
|
139
|
-
* @param {
|
|
139
|
+
* @param {CreateApiKey} createApiKey
|
|
140
140
|
* @param {*} [options] Override http request option.
|
|
141
141
|
* @throws {RequiredError}
|
|
142
142
|
* @memberof ApiKeysApi
|
|
143
143
|
*/
|
|
144
|
-
createApiKey(
|
|
144
|
+
createApiKey(createApiKey: CreateApiKey, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ApiKeyResponse, any>>;
|
|
145
145
|
/**
|
|
146
146
|
*
|
|
147
147
|
* @summary Delete API key
|
|
@@ -159,7 +159,7 @@ export declare class ApiKeysApi extends BaseAPI {
|
|
|
159
159
|
* @throws {RequiredError}
|
|
160
160
|
* @memberof ApiKeysApi
|
|
161
161
|
*/
|
|
162
|
-
getApiKey(name: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
162
|
+
getApiKey(name: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ApiKeyList, any>>;
|
|
163
163
|
/**
|
|
164
164
|
*
|
|
165
165
|
* @summary List API keys
|
|
@@ -167,5 +167,5 @@ export declare class ApiKeysApi extends BaseAPI {
|
|
|
167
167
|
* @throws {RequiredError}
|
|
168
168
|
* @memberof ApiKeysApi
|
|
169
169
|
*/
|
|
170
|
-
listApiKeys(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
170
|
+
listApiKeys(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ApiKeyList[], any>>;
|
|
171
171
|
}
|
|
@@ -35,13 +35,13 @@ export const ApiKeysApiAxiosParamCreator = function (configuration) {
|
|
|
35
35
|
/**
|
|
36
36
|
*
|
|
37
37
|
* @summary Create API key
|
|
38
|
-
* @param {
|
|
38
|
+
* @param {CreateApiKey} createApiKey
|
|
39
39
|
* @param {*} [options] Override http request option.
|
|
40
40
|
* @throws {RequiredError}
|
|
41
41
|
*/
|
|
42
|
-
createApiKey: (
|
|
43
|
-
// verify required parameter '
|
|
44
|
-
assertParamExists('createApiKey', '
|
|
42
|
+
createApiKey: (createApiKey_1, ...args_1) => __awaiter(this, [createApiKey_1, ...args_1], void 0, function* (createApiKey, options = {}) {
|
|
43
|
+
// verify required parameter 'createApiKey' is not null or undefined
|
|
44
|
+
assertParamExists('createApiKey', 'createApiKey', createApiKey);
|
|
45
45
|
const localVarPath = `/api-keys`;
|
|
46
46
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
47
47
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -59,7 +59,7 @@ export const ApiKeysApiAxiosParamCreator = function (configuration) {
|
|
|
59
59
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
60
60
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
61
61
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
62
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
62
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createApiKey, localVarRequestOptions, configuration);
|
|
63
63
|
return {
|
|
64
64
|
url: toPathString(localVarUrlObj),
|
|
65
65
|
options: localVarRequestOptions,
|
|
@@ -72,7 +72,7 @@ export const ApiKeysApiAxiosParamCreator = function (configuration) {
|
|
|
72
72
|
* @param {*} [options] Override http request option.
|
|
73
73
|
* @throws {RequiredError}
|
|
74
74
|
*/
|
|
75
|
-
deleteApiKey: (name_1, ...
|
|
75
|
+
deleteApiKey: (name_1, ...args_1) => __awaiter(this, [name_1, ...args_1], void 0, function* (name, options = {}) {
|
|
76
76
|
// verify required parameter 'name' is not null or undefined
|
|
77
77
|
assertParamExists('deleteApiKey', 'name', name);
|
|
78
78
|
const localVarPath = `/api-keys/{name}`
|
|
@@ -104,7 +104,7 @@ export const ApiKeysApiAxiosParamCreator = function (configuration) {
|
|
|
104
104
|
* @param {*} [options] Override http request option.
|
|
105
105
|
* @throws {RequiredError}
|
|
106
106
|
*/
|
|
107
|
-
getApiKey: (
|
|
107
|
+
getApiKey: (name_1, ...args_1) => __awaiter(this, [name_1, ...args_1], void 0, function* (name, options = {}) {
|
|
108
108
|
// verify required parameter 'name' is not null or undefined
|
|
109
109
|
assertParamExists('getApiKey', 'name', name);
|
|
110
110
|
const localVarPath = `/api-keys/{name}`
|
|
@@ -135,7 +135,7 @@ export const ApiKeysApiAxiosParamCreator = function (configuration) {
|
|
|
135
135
|
* @param {*} [options] Override http request option.
|
|
136
136
|
* @throws {RequiredError}
|
|
137
137
|
*/
|
|
138
|
-
listApiKeys: (...
|
|
138
|
+
listApiKeys: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
139
139
|
const localVarPath = `/api-keys`;
|
|
140
140
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
141
141
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -169,14 +169,14 @@ export const ApiKeysApiFp = function (configuration) {
|
|
|
169
169
|
/**
|
|
170
170
|
*
|
|
171
171
|
* @summary Create API key
|
|
172
|
-
* @param {
|
|
172
|
+
* @param {CreateApiKey} createApiKey
|
|
173
173
|
* @param {*} [options] Override http request option.
|
|
174
174
|
* @throws {RequiredError}
|
|
175
175
|
*/
|
|
176
|
-
createApiKey(
|
|
176
|
+
createApiKey(createApiKey, options) {
|
|
177
177
|
return __awaiter(this, void 0, void 0, function* () {
|
|
178
178
|
var _a, _b, _c;
|
|
179
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.createApiKey(
|
|
179
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.createApiKey(createApiKey, options);
|
|
180
180
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
181
181
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ApiKeysApi.createApiKey']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
182
182
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -241,12 +241,12 @@ export const ApiKeysApiFactory = function (configuration, basePath, axios) {
|
|
|
241
241
|
/**
|
|
242
242
|
*
|
|
243
243
|
* @summary Create API key
|
|
244
|
-
* @param {
|
|
244
|
+
* @param {CreateApiKey} createApiKey
|
|
245
245
|
* @param {*} [options] Override http request option.
|
|
246
246
|
* @throws {RequiredError}
|
|
247
247
|
*/
|
|
248
|
-
createApiKey(
|
|
249
|
-
return localVarFp.createApiKey(
|
|
248
|
+
createApiKey(createApiKey, options) {
|
|
249
|
+
return localVarFp.createApiKey(createApiKey, options).then((request) => request(axios, basePath));
|
|
250
250
|
},
|
|
251
251
|
/**
|
|
252
252
|
*
|
|
@@ -289,13 +289,13 @@ export class ApiKeysApi extends BaseAPI {
|
|
|
289
289
|
/**
|
|
290
290
|
*
|
|
291
291
|
* @summary Create API key
|
|
292
|
-
* @param {
|
|
292
|
+
* @param {CreateApiKey} createApiKey
|
|
293
293
|
* @param {*} [options] Override http request option.
|
|
294
294
|
* @throws {RequiredError}
|
|
295
295
|
* @memberof ApiKeysApi
|
|
296
296
|
*/
|
|
297
|
-
createApiKey(
|
|
298
|
-
return ApiKeysApiFp(this.configuration).createApiKey(
|
|
297
|
+
createApiKey(createApiKey, options) {
|
|
298
|
+
return ApiKeysApiFp(this.configuration).createApiKey(createApiKey, options).then((request) => request(this.axios, this.basePath));
|
|
299
299
|
}
|
|
300
300
|
/**
|
|
301
301
|
*
|
|
@@ -13,10 +13,10 @@ import type { Configuration } from '../configuration';
|
|
|
13
13
|
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
14
|
import { type RequestArgs, BaseAPI } from '../base';
|
|
15
15
|
/**
|
|
16
|
-
*
|
|
16
|
+
* AppApi - axios parameter creator
|
|
17
17
|
* @export
|
|
18
18
|
*/
|
|
19
|
-
export declare const
|
|
19
|
+
export declare const AppApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
20
20
|
/**
|
|
21
21
|
*
|
|
22
22
|
* @param {*} [options] Override http request option.
|
|
@@ -25,10 +25,10 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
25
25
|
appControllerGetHello: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
26
26
|
};
|
|
27
27
|
/**
|
|
28
|
-
*
|
|
28
|
+
* AppApi - functional programming interface
|
|
29
29
|
* @export
|
|
30
30
|
*/
|
|
31
|
-
export declare const
|
|
31
|
+
export declare const AppApiFp: (configuration?: Configuration) => {
|
|
32
32
|
/**
|
|
33
33
|
*
|
|
34
34
|
* @param {*} [options] Override http request option.
|
|
@@ -37,10 +37,10 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
37
37
|
appControllerGetHello(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
38
38
|
};
|
|
39
39
|
/**
|
|
40
|
-
*
|
|
40
|
+
* AppApi - factory interface
|
|
41
41
|
* @export
|
|
42
42
|
*/
|
|
43
|
-
export declare const
|
|
43
|
+
export declare const AppApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
44
44
|
/**
|
|
45
45
|
*
|
|
46
46
|
* @param {*} [options] Override http request option.
|
|
@@ -49,17 +49,17 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
49
49
|
appControllerGetHello(options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
50
50
|
};
|
|
51
51
|
/**
|
|
52
|
-
*
|
|
52
|
+
* AppApi - object-oriented interface
|
|
53
53
|
* @export
|
|
54
|
-
* @class
|
|
54
|
+
* @class AppApi
|
|
55
55
|
* @extends {BaseAPI}
|
|
56
56
|
*/
|
|
57
|
-
export declare class
|
|
57
|
+
export declare class AppApi extends BaseAPI {
|
|
58
58
|
/**
|
|
59
59
|
*
|
|
60
60
|
* @param {*} [options] Override http request option.
|
|
61
61
|
* @throws {RequiredError}
|
|
62
|
-
* @memberof
|
|
62
|
+
* @memberof AppApi
|
|
63
63
|
*/
|
|
64
64
|
appControllerGetHello(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
65
65
|
}
|
|
@@ -27,10 +27,10 @@ import { DUMMY_BASE_URL, setSearchParams, toPathString, createRequestFunction }
|
|
|
27
27
|
// @ts-ignore
|
|
28
28
|
import { BASE_PATH, BaseAPI, operationServerMap } from '../base';
|
|
29
29
|
/**
|
|
30
|
-
*
|
|
30
|
+
* AppApi - axios parameter creator
|
|
31
31
|
* @export
|
|
32
32
|
*/
|
|
33
|
-
export const
|
|
33
|
+
export const AppApiAxiosParamCreator = function (configuration) {
|
|
34
34
|
return {
|
|
35
35
|
/**
|
|
36
36
|
*
|
|
@@ -59,11 +59,11 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
59
59
|
};
|
|
60
60
|
};
|
|
61
61
|
/**
|
|
62
|
-
*
|
|
62
|
+
* AppApi - functional programming interface
|
|
63
63
|
* @export
|
|
64
64
|
*/
|
|
65
|
-
export const
|
|
66
|
-
const localVarAxiosParamCreator =
|
|
65
|
+
export const AppApiFp = function (configuration) {
|
|
66
|
+
const localVarAxiosParamCreator = AppApiAxiosParamCreator(configuration);
|
|
67
67
|
return {
|
|
68
68
|
/**
|
|
69
69
|
*
|
|
@@ -75,18 +75,18 @@ export const DefaultApiFp = function (configuration) {
|
|
|
75
75
|
var _a, _b, _c;
|
|
76
76
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.appControllerGetHello(options);
|
|
77
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['
|
|
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
79
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
80
80
|
});
|
|
81
81
|
},
|
|
82
82
|
};
|
|
83
83
|
};
|
|
84
84
|
/**
|
|
85
|
-
*
|
|
85
|
+
* AppApi - factory interface
|
|
86
86
|
* @export
|
|
87
87
|
*/
|
|
88
|
-
export const
|
|
89
|
-
const localVarFp =
|
|
88
|
+
export const AppApiFactory = function (configuration, basePath, axios) {
|
|
89
|
+
const localVarFp = AppApiFp(configuration);
|
|
90
90
|
return {
|
|
91
91
|
/**
|
|
92
92
|
*
|
|
@@ -99,19 +99,19 @@ export const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
99
99
|
};
|
|
100
100
|
};
|
|
101
101
|
/**
|
|
102
|
-
*
|
|
102
|
+
* AppApi - object-oriented interface
|
|
103
103
|
* @export
|
|
104
|
-
* @class
|
|
104
|
+
* @class AppApi
|
|
105
105
|
* @extends {BaseAPI}
|
|
106
106
|
*/
|
|
107
|
-
export class
|
|
107
|
+
export class AppApi extends BaseAPI {
|
|
108
108
|
/**
|
|
109
109
|
*
|
|
110
110
|
* @param {*} [options] Override http request option.
|
|
111
111
|
* @throws {RequiredError}
|
|
112
|
-
* @memberof
|
|
112
|
+
* @memberof AppApi
|
|
113
113
|
*/
|
|
114
114
|
appControllerGetHello(options) {
|
|
115
|
-
return
|
|
115
|
+
return AppApiFp(this.configuration).appControllerGetHello(options).then((request) => request(this.axios, this.basePath));
|
|
116
116
|
}
|
|
117
117
|
}
|
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
import type { Configuration } from '../configuration';
|
|
13
13
|
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
14
|
import { type RequestArgs, BaseAPI } from '../base';
|
|
15
|
-
import type {
|
|
16
|
-
import type {
|
|
15
|
+
import type { CreateDockerRegistry } from '../models';
|
|
16
|
+
import type { UpdateDockerRegistry } from '../models';
|
|
17
17
|
/**
|
|
18
18
|
* DockerRegistryApi - axios parameter creator
|
|
19
19
|
* @export
|
|
@@ -22,11 +22,11 @@ export declare const DockerRegistryApiAxiosParamCreator: (configuration?: Config
|
|
|
22
22
|
/**
|
|
23
23
|
*
|
|
24
24
|
* @summary Create registry
|
|
25
|
-
* @param {
|
|
25
|
+
* @param {CreateDockerRegistry} createDockerRegistry
|
|
26
26
|
* @param {*} [options] Override http request option.
|
|
27
27
|
* @throws {RequiredError}
|
|
28
28
|
*/
|
|
29
|
-
createRegistry: (
|
|
29
|
+
createRegistry: (createDockerRegistry: CreateDockerRegistry, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
30
30
|
/**
|
|
31
31
|
*
|
|
32
32
|
* @summary Delete registry
|
|
@@ -69,11 +69,11 @@ export declare const DockerRegistryApiAxiosParamCreator: (configuration?: Config
|
|
|
69
69
|
*
|
|
70
70
|
* @summary Update registry
|
|
71
71
|
* @param {string} id
|
|
72
|
-
* @param {
|
|
72
|
+
* @param {UpdateDockerRegistry} updateDockerRegistry
|
|
73
73
|
* @param {*} [options] Override http request option.
|
|
74
74
|
* @throws {RequiredError}
|
|
75
75
|
*/
|
|
76
|
-
updateRegistry: (id: string,
|
|
76
|
+
updateRegistry: (id: string, updateDockerRegistry: UpdateDockerRegistry, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
77
77
|
};
|
|
78
78
|
/**
|
|
79
79
|
* DockerRegistryApi - functional programming interface
|
|
@@ -83,11 +83,11 @@ export declare const DockerRegistryApiFp: (configuration?: Configuration) => {
|
|
|
83
83
|
/**
|
|
84
84
|
*
|
|
85
85
|
* @summary Create registry
|
|
86
|
-
* @param {
|
|
86
|
+
* @param {CreateDockerRegistry} createDockerRegistry
|
|
87
87
|
* @param {*} [options] Override http request option.
|
|
88
88
|
* @throws {RequiredError}
|
|
89
89
|
*/
|
|
90
|
-
createRegistry(
|
|
90
|
+
createRegistry(createDockerRegistry: CreateDockerRegistry, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
|
|
91
91
|
/**
|
|
92
92
|
*
|
|
93
93
|
* @summary Delete registry
|
|
@@ -130,11 +130,11 @@ export declare const DockerRegistryApiFp: (configuration?: Configuration) => {
|
|
|
130
130
|
*
|
|
131
131
|
* @summary Update registry
|
|
132
132
|
* @param {string} id
|
|
133
|
-
* @param {
|
|
133
|
+
* @param {UpdateDockerRegistry} updateDockerRegistry
|
|
134
134
|
* @param {*} [options] Override http request option.
|
|
135
135
|
* @throws {RequiredError}
|
|
136
136
|
*/
|
|
137
|
-
updateRegistry(id: string,
|
|
137
|
+
updateRegistry(id: string, updateDockerRegistry: UpdateDockerRegistry, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
|
|
138
138
|
};
|
|
139
139
|
/**
|
|
140
140
|
* DockerRegistryApi - factory interface
|
|
@@ -144,11 +144,11 @@ export declare const DockerRegistryApiFactory: (configuration?: Configuration, b
|
|
|
144
144
|
/**
|
|
145
145
|
*
|
|
146
146
|
* @summary Create registry
|
|
147
|
-
* @param {
|
|
147
|
+
* @param {CreateDockerRegistry} createDockerRegistry
|
|
148
148
|
* @param {*} [options] Override http request option.
|
|
149
149
|
* @throws {RequiredError}
|
|
150
150
|
*/
|
|
151
|
-
createRegistry(
|
|
151
|
+
createRegistry(createDockerRegistry: CreateDockerRegistry, options?: RawAxiosRequestConfig): AxiosPromise<object>;
|
|
152
152
|
/**
|
|
153
153
|
*
|
|
154
154
|
* @summary Delete registry
|
|
@@ -191,11 +191,11 @@ export declare const DockerRegistryApiFactory: (configuration?: Configuration, b
|
|
|
191
191
|
*
|
|
192
192
|
* @summary Update registry
|
|
193
193
|
* @param {string} id
|
|
194
|
-
* @param {
|
|
194
|
+
* @param {UpdateDockerRegistry} updateDockerRegistry
|
|
195
195
|
* @param {*} [options] Override http request option.
|
|
196
196
|
* @throws {RequiredError}
|
|
197
197
|
*/
|
|
198
|
-
updateRegistry(id: string,
|
|
198
|
+
updateRegistry(id: string, updateDockerRegistry: UpdateDockerRegistry, options?: RawAxiosRequestConfig): AxiosPromise<object>;
|
|
199
199
|
};
|
|
200
200
|
/**
|
|
201
201
|
* DockerRegistryApi - object-oriented interface
|
|
@@ -207,12 +207,12 @@ export declare class DockerRegistryApi extends BaseAPI {
|
|
|
207
207
|
/**
|
|
208
208
|
*
|
|
209
209
|
* @summary Create registry
|
|
210
|
-
* @param {
|
|
210
|
+
* @param {CreateDockerRegistry} createDockerRegistry
|
|
211
211
|
* @param {*} [options] Override http request option.
|
|
212
212
|
* @throws {RequiredError}
|
|
213
213
|
* @memberof DockerRegistryApi
|
|
214
214
|
*/
|
|
215
|
-
createRegistry(
|
|
215
|
+
createRegistry(createDockerRegistry: CreateDockerRegistry, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
|
|
216
216
|
/**
|
|
217
217
|
*
|
|
218
218
|
* @summary Delete registry
|
|
@@ -260,10 +260,10 @@ export declare class DockerRegistryApi extends BaseAPI {
|
|
|
260
260
|
*
|
|
261
261
|
* @summary Update registry
|
|
262
262
|
* @param {string} id
|
|
263
|
-
* @param {
|
|
263
|
+
* @param {UpdateDockerRegistry} updateDockerRegistry
|
|
264
264
|
* @param {*} [options] Override http request option.
|
|
265
265
|
* @throws {RequiredError}
|
|
266
266
|
* @memberof DockerRegistryApi
|
|
267
267
|
*/
|
|
268
|
-
updateRegistry(id: string,
|
|
268
|
+
updateRegistry(id: string, updateDockerRegistry: UpdateDockerRegistry, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
|
|
269
269
|
}
|