@daytonaio/api-client 0.17.0 → 0.17.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 (36) hide show
  1. package/.openapi-generator/FILES +0 -1
  2. package/api/workspace-api.ts +9 -13
  3. package/dist/api/api-keys-api.js +57 -40
  4. package/dist/api/docker-registry-api.js +93 -70
  5. package/dist/api/images-api.js +69 -50
  6. package/dist/api/nodes-api.js +45 -30
  7. package/dist/api/organizations-api.js +309 -250
  8. package/dist/api/preview-api.js +41 -26
  9. package/dist/api/toolbox-api.js +441 -360
  10. package/dist/api/users-api.js +53 -36
  11. package/dist/api/workspace-api.d.ts +8 -9
  12. package/dist/api/workspace-api.js +170 -137
  13. package/dist/common.js +34 -19
  14. package/dist/esm/api/api-keys-api.js +57 -40
  15. package/dist/esm/api/docker-registry-api.js +93 -70
  16. package/dist/esm/api/images-api.js +69 -50
  17. package/dist/esm/api/nodes-api.js +45 -30
  18. package/dist/esm/api/organizations-api.js +309 -250
  19. package/dist/esm/api/preview-api.js +41 -26
  20. package/dist/esm/api/toolbox-api.js +441 -360
  21. package/dist/esm/api/users-api.js +53 -36
  22. package/dist/esm/api/workspace-api.d.ts +8 -9
  23. package/dist/esm/api/workspace-api.js +170 -137
  24. package/dist/esm/common.js +34 -19
  25. package/dist/esm/models/index.d.ts +0 -1
  26. package/dist/esm/models/index.js +0 -1
  27. package/dist/models/index.d.ts +0 -1
  28. package/dist/models/index.js +0 -1
  29. package/models/index.ts +0 -1
  30. package/package.json +1 -1
  31. package/tsconfig.json +1 -1
  32. package/dist/esm/models/list-workspaces-labels-parameter.d.ts +0 -26
  33. package/dist/esm/models/list-workspaces-labels-parameter.js +0 -14
  34. package/dist/models/list-workspaces-labels-parameter.d.ts +0 -26
  35. package/dist/models/list-workspaces-labels-parameter.js +0 -15
  36. package/models/list-workspaces-labels-parameter.ts +0 -27
@@ -48,7 +48,6 @@ models/image-dto.ts
48
48
  models/image-state.ts
49
49
  models/index.ts
50
50
  models/list-branch-response.ts
51
- models/list-workspaces-labels-parameter.ts
52
51
  models/lsp-completion-params.ts
53
52
  models/lsp-document-request.ts
54
53
  models/lsp-location.ts
@@ -34,8 +34,6 @@ import { BASE_PATH, COLLECTION_FORMATS, type RequestArgs, BaseAPI, RequiredError
34
34
  // @ts-ignore
35
35
  import type { CreateWorkspace } from '../models'
36
36
  // @ts-ignore
37
- import type { ListWorkspacesLabelsParameter } from '../models'
38
- // @ts-ignore
39
37
  import type { PortPreviewUrl } from '../models'
40
38
  // @ts-ignore
41
39
  import type { Workspace } from '../models'
@@ -369,14 +367,14 @@ export const WorkspaceApiAxiosParamCreator = function (configuration?: Configura
369
367
  * @summary List all workspaces
370
368
  * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
371
369
  * @param {boolean} [verbose] Include verbose output
372
- * @param {ListWorkspacesLabelsParameter} [labels] Filter workspaces by labels
370
+ * @param {string} [labels] JSON encoded labels to filter by
373
371
  * @param {*} [options] Override http request option.
374
372
  * @throws {RequiredError}
375
373
  */
376
374
  listWorkspaces: async (
377
375
  xDaytonaOrganizationID?: string,
378
376
  verbose?: boolean,
379
- labels?: ListWorkspacesLabelsParameter,
377
+ labels?: string,
380
378
  options: RawAxiosRequestConfig = {},
381
379
  ): Promise<RequestArgs> => {
382
380
  const localVarPath = `/workspace`
@@ -404,9 +402,7 @@ export const WorkspaceApiAxiosParamCreator = function (configuration?: Configura
404
402
  }
405
403
 
406
404
  if (labels !== undefined) {
407
- for (const [key, value] of Object.entries(labels)) {
408
- localVarQueryParameter[key] = value
409
- }
405
+ localVarQueryParameter['labels'] = labels
410
406
  }
411
407
 
412
408
  if (xDaytonaOrganizationID != null) {
@@ -939,14 +935,14 @@ export const WorkspaceApiFp = function (configuration?: Configuration) {
939
935
  * @summary List all workspaces
940
936
  * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
941
937
  * @param {boolean} [verbose] Include verbose output
942
- * @param {ListWorkspacesLabelsParameter} [labels] Filter workspaces by labels
938
+ * @param {string} [labels] JSON encoded labels to filter by
943
939
  * @param {*} [options] Override http request option.
944
940
  * @throws {RequiredError}
945
941
  */
946
942
  async listWorkspaces(
947
943
  xDaytonaOrganizationID?: string,
948
944
  verbose?: boolean,
949
- labels?: ListWorkspacesLabelsParameter,
945
+ labels?: string,
950
946
  options?: RawAxiosRequestConfig,
951
947
  ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Workspace>>> {
952
948
  const localVarAxiosArgs = await localVarAxiosParamCreator.listWorkspaces(
@@ -1275,14 +1271,14 @@ export const WorkspaceApiFactory = function (configuration?: Configuration, base
1275
1271
  * @summary List all workspaces
1276
1272
  * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
1277
1273
  * @param {boolean} [verbose] Include verbose output
1278
- * @param {ListWorkspacesLabelsParameter} [labels] Filter workspaces by labels
1274
+ * @param {string} [labels] JSON encoded labels to filter by
1279
1275
  * @param {*} [options] Override http request option.
1280
1276
  * @throws {RequiredError}
1281
1277
  */
1282
1278
  listWorkspaces(
1283
1279
  xDaytonaOrganizationID?: string,
1284
1280
  verbose?: boolean,
1285
- labels?: ListWorkspacesLabelsParameter,
1281
+ labels?: string,
1286
1282
  options?: RawAxiosRequestConfig,
1287
1283
  ): AxiosPromise<Array<Workspace>> {
1288
1284
  return localVarFp
@@ -1526,7 +1522,7 @@ export class WorkspaceApi extends BaseAPI {
1526
1522
  * @summary List all workspaces
1527
1523
  * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
1528
1524
  * @param {boolean} [verbose] Include verbose output
1529
- * @param {ListWorkspacesLabelsParameter} [labels] Filter workspaces by labels
1525
+ * @param {string} [labels] JSON encoded labels to filter by
1530
1526
  * @param {*} [options] Override http request option.
1531
1527
  * @throws {RequiredError}
1532
1528
  * @memberof WorkspaceApi
@@ -1534,7 +1530,7 @@ export class WorkspaceApi extends BaseAPI {
1534
1530
  public listWorkspaces(
1535
1531
  xDaytonaOrganizationID?: string,
1536
1532
  verbose?: boolean,
1537
- labels?: ListWorkspacesLabelsParameter,
1533
+ labels?: string,
1538
1534
  options?: RawAxiosRequestConfig,
1539
1535
  ) {
1540
1536
  return WorkspaceApiFp(this.configuration)
@@ -12,6 +12,15 @@
12
12
  * https://openapi-generator.tech
13
13
  * Do not edit the class manually.
14
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
+ };
15
24
  Object.defineProperty(exports, "__esModule", { value: true });
16
25
  exports.ApiKeysApi = exports.ApiKeysApiFactory = exports.ApiKeysApiFp = exports.ApiKeysApiAxiosParamCreator = void 0;
17
26
  const axios_1 = require("axios");
@@ -34,7 +43,7 @@ const ApiKeysApiAxiosParamCreator = function (configuration) {
34
43
  * @param {*} [options] Override http request option.
35
44
  * @throws {RequiredError}
36
45
  */
37
- createApiKey: async (createApiKey, xDaytonaOrganizationID, options = {}) => {
46
+ createApiKey: (createApiKey_1, xDaytonaOrganizationID_1, ...args_1) => __awaiter(this, [createApiKey_1, xDaytonaOrganizationID_1, ...args_1], void 0, function* (createApiKey, xDaytonaOrganizationID, options = {}) {
38
47
  // verify required parameter 'createApiKey' is not null or undefined
39
48
  (0, common_1.assertParamExists)('createApiKey', 'createApiKey', createApiKey);
40
49
  const localVarPath = `/api-keys`;
@@ -49,10 +58,10 @@ const ApiKeysApiAxiosParamCreator = function (configuration) {
49
58
  const localVarQueryParameter = {};
50
59
  // authentication bearer required
51
60
  // http bearer authentication required
52
- await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
61
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
53
62
  // authentication oauth2 required
54
63
  // oauth required
55
- await (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
64
+ yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
56
65
  localVarHeaderParameter['Content-Type'] = 'application/json';
57
66
  if (xDaytonaOrganizationID != null) {
58
67
  localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
@@ -65,7 +74,7 @@ const ApiKeysApiAxiosParamCreator = function (configuration) {
65
74
  url: (0, common_1.toPathString)(localVarUrlObj),
66
75
  options: localVarRequestOptions,
67
76
  };
68
- },
77
+ }),
69
78
  /**
70
79
  *
71
80
  * @summary Delete API key
@@ -74,7 +83,7 @@ const ApiKeysApiAxiosParamCreator = function (configuration) {
74
83
  * @param {*} [options] Override http request option.
75
84
  * @throws {RequiredError}
76
85
  */
77
- deleteApiKey: async (name, xDaytonaOrganizationID, options = {}) => {
86
+ deleteApiKey: (name_1, xDaytonaOrganizationID_1, ...args_1) => __awaiter(this, [name_1, xDaytonaOrganizationID_1, ...args_1], void 0, function* (name, xDaytonaOrganizationID, options = {}) {
78
87
  // verify required parameter 'name' is not null or undefined
79
88
  (0, common_1.assertParamExists)('deleteApiKey', 'name', name);
80
89
  const localVarPath = `/api-keys/{name}`.replace(`{${'name'}}`, encodeURIComponent(String(name)));
@@ -89,10 +98,10 @@ const ApiKeysApiAxiosParamCreator = function (configuration) {
89
98
  const localVarQueryParameter = {};
90
99
  // authentication bearer required
91
100
  // http bearer authentication required
92
- await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
101
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
93
102
  // authentication oauth2 required
94
103
  // oauth required
95
- await (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
104
+ yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
96
105
  if (xDaytonaOrganizationID != null) {
97
106
  localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
98
107
  }
@@ -103,7 +112,7 @@ const ApiKeysApiAxiosParamCreator = function (configuration) {
103
112
  url: (0, common_1.toPathString)(localVarUrlObj),
104
113
  options: localVarRequestOptions,
105
114
  };
106
- },
115
+ }),
107
116
  /**
108
117
  *
109
118
  * @summary Get API key
@@ -112,7 +121,7 @@ const ApiKeysApiAxiosParamCreator = function (configuration) {
112
121
  * @param {*} [options] Override http request option.
113
122
  * @throws {RequiredError}
114
123
  */
115
- getApiKey: async (name, xDaytonaOrganizationID, options = {}) => {
124
+ getApiKey: (name_1, xDaytonaOrganizationID_1, ...args_1) => __awaiter(this, [name_1, xDaytonaOrganizationID_1, ...args_1], void 0, function* (name, xDaytonaOrganizationID, options = {}) {
116
125
  // verify required parameter 'name' is not null or undefined
117
126
  (0, common_1.assertParamExists)('getApiKey', 'name', name);
118
127
  const localVarPath = `/api-keys/{name}`.replace(`{${'name'}}`, encodeURIComponent(String(name)));
@@ -127,10 +136,10 @@ const ApiKeysApiAxiosParamCreator = function (configuration) {
127
136
  const localVarQueryParameter = {};
128
137
  // authentication bearer required
129
138
  // http bearer authentication required
130
- await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
139
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
131
140
  // authentication oauth2 required
132
141
  // oauth required
133
- await (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
142
+ yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
134
143
  if (xDaytonaOrganizationID != null) {
135
144
  localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
136
145
  }
@@ -141,7 +150,7 @@ const ApiKeysApiAxiosParamCreator = function (configuration) {
141
150
  url: (0, common_1.toPathString)(localVarUrlObj),
142
151
  options: localVarRequestOptions,
143
152
  };
144
- },
153
+ }),
145
154
  /**
146
155
  *
147
156
  * @summary List API keys
@@ -149,7 +158,7 @@ const ApiKeysApiAxiosParamCreator = function (configuration) {
149
158
  * @param {*} [options] Override http request option.
150
159
  * @throws {RequiredError}
151
160
  */
152
- listApiKeys: async (xDaytonaOrganizationID, options = {}) => {
161
+ listApiKeys: (xDaytonaOrganizationID_1, ...args_1) => __awaiter(this, [xDaytonaOrganizationID_1, ...args_1], void 0, function* (xDaytonaOrganizationID, options = {}) {
153
162
  const localVarPath = `/api-keys`;
154
163
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
155
164
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -162,10 +171,10 @@ const ApiKeysApiAxiosParamCreator = function (configuration) {
162
171
  const localVarQueryParameter = {};
163
172
  // authentication bearer required
164
173
  // http bearer authentication required
165
- await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
174
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
166
175
  // authentication oauth2 required
167
176
  // oauth required
168
- await (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
177
+ yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
169
178
  if (xDaytonaOrganizationID != null) {
170
179
  localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
171
180
  }
@@ -176,7 +185,7 @@ const ApiKeysApiAxiosParamCreator = function (configuration) {
176
185
  url: (0, common_1.toPathString)(localVarUrlObj),
177
186
  options: localVarRequestOptions,
178
187
  };
179
- },
188
+ }),
180
189
  };
181
190
  };
182
191
  exports.ApiKeysApiAxiosParamCreator = ApiKeysApiAxiosParamCreator;
@@ -195,12 +204,14 @@ const ApiKeysApiFp = function (configuration) {
195
204
  * @param {*} [options] Override http request option.
196
205
  * @throws {RequiredError}
197
206
  */
198
- async createApiKey(createApiKey, xDaytonaOrganizationID, options) {
199
- var _a, _b, _c;
200
- const localVarAxiosArgs = await localVarAxiosParamCreator.createApiKey(createApiKey, xDaytonaOrganizationID, options);
201
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
202
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ApiKeysApi.createApiKey']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
203
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
207
+ createApiKey(createApiKey, xDaytonaOrganizationID, options) {
208
+ return __awaiter(this, void 0, void 0, function* () {
209
+ var _a, _b, _c;
210
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.createApiKey(createApiKey, xDaytonaOrganizationID, options);
211
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
212
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ApiKeysApi.createApiKey']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
213
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
214
+ });
204
215
  },
205
216
  /**
206
217
  *
@@ -210,12 +221,14 @@ const ApiKeysApiFp = function (configuration) {
210
221
  * @param {*} [options] Override http request option.
211
222
  * @throws {RequiredError}
212
223
  */
213
- async deleteApiKey(name, xDaytonaOrganizationID, options) {
214
- var _a, _b, _c;
215
- const localVarAxiosArgs = await localVarAxiosParamCreator.deleteApiKey(name, xDaytonaOrganizationID, options);
216
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
217
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ApiKeysApi.deleteApiKey']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
218
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
224
+ deleteApiKey(name, xDaytonaOrganizationID, options) {
225
+ return __awaiter(this, void 0, void 0, function* () {
226
+ var _a, _b, _c;
227
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteApiKey(name, xDaytonaOrganizationID, options);
228
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
229
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ApiKeysApi.deleteApiKey']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
230
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
231
+ });
219
232
  },
220
233
  /**
221
234
  *
@@ -225,12 +238,14 @@ const ApiKeysApiFp = function (configuration) {
225
238
  * @param {*} [options] Override http request option.
226
239
  * @throws {RequiredError}
227
240
  */
228
- async getApiKey(name, xDaytonaOrganizationID, options) {
229
- var _a, _b, _c;
230
- const localVarAxiosArgs = await localVarAxiosParamCreator.getApiKey(name, xDaytonaOrganizationID, options);
231
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
232
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ApiKeysApi.getApiKey']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
233
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
241
+ getApiKey(name, xDaytonaOrganizationID, options) {
242
+ return __awaiter(this, void 0, void 0, function* () {
243
+ var _a, _b, _c;
244
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getApiKey(name, xDaytonaOrganizationID, options);
245
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
246
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ApiKeysApi.getApiKey']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
247
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
248
+ });
234
249
  },
235
250
  /**
236
251
  *
@@ -239,12 +254,14 @@ const ApiKeysApiFp = function (configuration) {
239
254
  * @param {*} [options] Override http request option.
240
255
  * @throws {RequiredError}
241
256
  */
242
- async listApiKeys(xDaytonaOrganizationID, options) {
243
- var _a, _b, _c;
244
- const localVarAxiosArgs = await localVarAxiosParamCreator.listApiKeys(xDaytonaOrganizationID, options);
245
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
246
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ApiKeysApi.listApiKeys']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
247
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
257
+ listApiKeys(xDaytonaOrganizationID, options) {
258
+ return __awaiter(this, void 0, void 0, function* () {
259
+ var _a, _b, _c;
260
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listApiKeys(xDaytonaOrganizationID, options);
261
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
262
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ApiKeysApi.listApiKeys']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
263
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
264
+ });
248
265
  },
249
266
  };
250
267
  };