qovery-typescript-axios 1.1.957 → 1.1.959
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/api.ts +4 -106
- package/dist/api.d.ts +4 -60
- package/dist/api.js +0 -77
- package/dist/esm/api.d.ts +4 -60
- package/dist/esm/api.js +0 -77
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -319,10 +319,10 @@ export interface AgenticWorkflowRequest {
|
|
|
319
319
|
'mcp'?: string;
|
|
320
320
|
/**
|
|
321
321
|
* Organization MCP servers used by this workflow
|
|
322
|
-
* @type {
|
|
322
|
+
* @type {Array<string>}
|
|
323
323
|
* @memberof AgenticWorkflowRequest
|
|
324
324
|
*/
|
|
325
|
-
'mcp_server_ids'?:
|
|
325
|
+
'mcp_server_ids'?: Array<string>;
|
|
326
326
|
/**
|
|
327
327
|
*
|
|
328
328
|
* @type {Array<AgenticWorkflowOutput>}
|
|
@@ -471,10 +471,10 @@ export interface AgenticWorkflowResponse {
|
|
|
471
471
|
'mcp': string;
|
|
472
472
|
/**
|
|
473
473
|
* Organization MCP servers used by this workflow
|
|
474
|
-
* @type {
|
|
474
|
+
* @type {Array<string>}
|
|
475
475
|
* @memberof AgenticWorkflowResponse
|
|
476
476
|
*/
|
|
477
|
-
'mcp_server_ids':
|
|
477
|
+
'mcp_server_ids': Array<string>;
|
|
478
478
|
/**
|
|
479
479
|
*
|
|
480
480
|
* @type {Array<AgenticWorkflowOutput>}
|
|
@@ -10148,25 +10148,6 @@ export interface Credentials {
|
|
|
10148
10148
|
*/
|
|
10149
10149
|
'password': string;
|
|
10150
10150
|
}
|
|
10151
|
-
/**
|
|
10152
|
-
*
|
|
10153
|
-
* @export
|
|
10154
|
-
* @interface CredentialsRequest
|
|
10155
|
-
*/
|
|
10156
|
-
export interface CredentialsRequest {
|
|
10157
|
-
/**
|
|
10158
|
-
*
|
|
10159
|
-
* @type {string}
|
|
10160
|
-
* @memberof CredentialsRequest
|
|
10161
|
-
*/
|
|
10162
|
-
'login': string;
|
|
10163
|
-
/**
|
|
10164
|
-
*
|
|
10165
|
-
* @type {string}
|
|
10166
|
-
* @memberof CredentialsRequest
|
|
10167
|
-
*/
|
|
10168
|
-
'password': string;
|
|
10169
|
-
}
|
|
10170
10151
|
/**
|
|
10171
10152
|
*
|
|
10172
10153
|
* @export
|
|
@@ -49570,51 +49551,6 @@ export const DatabaseMainCallsApiAxiosParamCreator = function (configuration?: C
|
|
|
49570
49551
|
options: localVarRequestOptions,
|
|
49571
49552
|
};
|
|
49572
49553
|
},
|
|
49573
|
-
/**
|
|
49574
|
-
*
|
|
49575
|
-
* @summary Edit database master credentials
|
|
49576
|
-
* @param {string} databaseId Database ID
|
|
49577
|
-
* @param {CredentialsRequest} [credentialsRequest]
|
|
49578
|
-
* @param {*} [options] Override http request option.
|
|
49579
|
-
* @throws {RequiredError}
|
|
49580
|
-
*/
|
|
49581
|
-
editDatabaseCredentials: async (databaseId: string, credentialsRequest?: CredentialsRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
49582
|
-
// verify required parameter 'databaseId' is not null or undefined
|
|
49583
|
-
assertParamExists('editDatabaseCredentials', 'databaseId', databaseId)
|
|
49584
|
-
const localVarPath = `/database/{databaseId}/masterCredentials`
|
|
49585
|
-
.replace(`{${"databaseId"}}`, encodeURIComponent(String(databaseId)));
|
|
49586
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
49587
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
49588
|
-
let baseOptions;
|
|
49589
|
-
if (configuration) {
|
|
49590
|
-
baseOptions = configuration.baseOptions;
|
|
49591
|
-
}
|
|
49592
|
-
|
|
49593
|
-
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
49594
|
-
const localVarHeaderParameter = {} as any;
|
|
49595
|
-
const localVarQueryParameter = {} as any;
|
|
49596
|
-
|
|
49597
|
-
// authentication ApiKeyAuth required
|
|
49598
|
-
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
49599
|
-
|
|
49600
|
-
// authentication bearerAuth required
|
|
49601
|
-
// http bearer authentication required
|
|
49602
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
49603
|
-
|
|
49604
|
-
|
|
49605
|
-
|
|
49606
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
49607
|
-
|
|
49608
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
49609
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
49610
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
49611
|
-
localVarRequestOptions.data = serializeDataIfNeeded(credentialsRequest, localVarRequestOptions, configuration)
|
|
49612
|
-
|
|
49613
|
-
return {
|
|
49614
|
-
url: toPathString(localVarUrlObj),
|
|
49615
|
-
options: localVarRequestOptions,
|
|
49616
|
-
};
|
|
49617
|
-
},
|
|
49618
49554
|
/**
|
|
49619
49555
|
*
|
|
49620
49556
|
* @summary Get database by ID
|
|
@@ -49817,20 +49753,6 @@ export const DatabaseMainCallsApiFp = function(configuration?: Configuration) {
|
|
|
49817
49753
|
const localVarOperationServerBasePath = operationServerMap['DatabaseMainCallsApi.editDatabase']?.[localVarOperationServerIndex]?.url;
|
|
49818
49754
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
49819
49755
|
},
|
|
49820
|
-
/**
|
|
49821
|
-
*
|
|
49822
|
-
* @summary Edit database master credentials
|
|
49823
|
-
* @param {string} databaseId Database ID
|
|
49824
|
-
* @param {CredentialsRequest} [credentialsRequest]
|
|
49825
|
-
* @param {*} [options] Override http request option.
|
|
49826
|
-
* @throws {RequiredError}
|
|
49827
|
-
*/
|
|
49828
|
-
async editDatabaseCredentials(databaseId: string, credentialsRequest?: CredentialsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Credentials>> {
|
|
49829
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.editDatabaseCredentials(databaseId, credentialsRequest, options);
|
|
49830
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
49831
|
-
const localVarOperationServerBasePath = operationServerMap['DatabaseMainCallsApi.editDatabaseCredentials']?.[localVarOperationServerIndex]?.url;
|
|
49832
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
49833
|
-
},
|
|
49834
49756
|
/**
|
|
49835
49757
|
*
|
|
49836
49758
|
* @summary Get database by ID
|
|
@@ -49915,17 +49837,6 @@ export const DatabaseMainCallsApiFactory = function (configuration?: Configurati
|
|
|
49915
49837
|
editDatabase(databaseId: string, databaseEditRequest?: DatabaseEditRequest, options?: RawAxiosRequestConfig): AxiosPromise<Database> {
|
|
49916
49838
|
return localVarFp.editDatabase(databaseId, databaseEditRequest, options).then((request) => request(axios, basePath));
|
|
49917
49839
|
},
|
|
49918
|
-
/**
|
|
49919
|
-
*
|
|
49920
|
-
* @summary Edit database master credentials
|
|
49921
|
-
* @param {string} databaseId Database ID
|
|
49922
|
-
* @param {CredentialsRequest} [credentialsRequest]
|
|
49923
|
-
* @param {*} [options] Override http request option.
|
|
49924
|
-
* @throws {RequiredError}
|
|
49925
|
-
*/
|
|
49926
|
-
editDatabaseCredentials(databaseId: string, credentialsRequest?: CredentialsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Credentials> {
|
|
49927
|
-
return localVarFp.editDatabaseCredentials(databaseId, credentialsRequest, options).then((request) => request(axios, basePath));
|
|
49928
|
-
},
|
|
49929
49840
|
/**
|
|
49930
49841
|
*
|
|
49931
49842
|
* @summary Get database by ID
|
|
@@ -50002,19 +49913,6 @@ export class DatabaseMainCallsApi extends BaseAPI {
|
|
|
50002
49913
|
return DatabaseMainCallsApiFp(this.configuration).editDatabase(databaseId, databaseEditRequest, options).then((request) => request(this.axios, this.basePath));
|
|
50003
49914
|
}
|
|
50004
49915
|
|
|
50005
|
-
/**
|
|
50006
|
-
*
|
|
50007
|
-
* @summary Edit database master credentials
|
|
50008
|
-
* @param {string} databaseId Database ID
|
|
50009
|
-
* @param {CredentialsRequest} [credentialsRequest]
|
|
50010
|
-
* @param {*} [options] Override http request option.
|
|
50011
|
-
* @throws {RequiredError}
|
|
50012
|
-
* @memberof DatabaseMainCallsApi
|
|
50013
|
-
*/
|
|
50014
|
-
public editDatabaseCredentials(databaseId: string, credentialsRequest?: CredentialsRequest, options?: RawAxiosRequestConfig) {
|
|
50015
|
-
return DatabaseMainCallsApiFp(this.configuration).editDatabaseCredentials(databaseId, credentialsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
50016
|
-
}
|
|
50017
|
-
|
|
50018
49916
|
/**
|
|
50019
49917
|
*
|
|
50020
49918
|
* @summary Get database by ID
|
package/dist/api.d.ts
CHANGED
|
@@ -293,10 +293,10 @@ export interface AgenticWorkflowRequest {
|
|
|
293
293
|
'mcp'?: string;
|
|
294
294
|
/**
|
|
295
295
|
* Organization MCP servers used by this workflow
|
|
296
|
-
* @type {
|
|
296
|
+
* @type {Array<string>}
|
|
297
297
|
* @memberof AgenticWorkflowRequest
|
|
298
298
|
*/
|
|
299
|
-
'mcp_server_ids'?:
|
|
299
|
+
'mcp_server_ids'?: Array<string>;
|
|
300
300
|
/**
|
|
301
301
|
*
|
|
302
302
|
* @type {Array<AgenticWorkflowOutput>}
|
|
@@ -445,10 +445,10 @@ export interface AgenticWorkflowResponse {
|
|
|
445
445
|
'mcp': string;
|
|
446
446
|
/**
|
|
447
447
|
* Organization MCP servers used by this workflow
|
|
448
|
-
* @type {
|
|
448
|
+
* @type {Array<string>}
|
|
449
449
|
* @memberof AgenticWorkflowResponse
|
|
450
450
|
*/
|
|
451
|
-
'mcp_server_ids':
|
|
451
|
+
'mcp_server_ids': Array<string>;
|
|
452
452
|
/**
|
|
453
453
|
*
|
|
454
454
|
* @type {Array<AgenticWorkflowOutput>}
|
|
@@ -9900,25 +9900,6 @@ export interface Credentials {
|
|
|
9900
9900
|
*/
|
|
9901
9901
|
'password': string;
|
|
9902
9902
|
}
|
|
9903
|
-
/**
|
|
9904
|
-
*
|
|
9905
|
-
* @export
|
|
9906
|
-
* @interface CredentialsRequest
|
|
9907
|
-
*/
|
|
9908
|
-
export interface CredentialsRequest {
|
|
9909
|
-
/**
|
|
9910
|
-
*
|
|
9911
|
-
* @type {string}
|
|
9912
|
-
* @memberof CredentialsRequest
|
|
9913
|
-
*/
|
|
9914
|
-
'login': string;
|
|
9915
|
-
/**
|
|
9916
|
-
*
|
|
9917
|
-
* @type {string}
|
|
9918
|
-
* @memberof CredentialsRequest
|
|
9919
|
-
*/
|
|
9920
|
-
'password': string;
|
|
9921
|
-
}
|
|
9922
9903
|
/**
|
|
9923
9904
|
*
|
|
9924
9905
|
* @export
|
|
@@ -36704,15 +36685,6 @@ export declare const DatabaseMainCallsApiAxiosParamCreator: (configuration?: Con
|
|
|
36704
36685
|
* @throws {RequiredError}
|
|
36705
36686
|
*/
|
|
36706
36687
|
editDatabase: (databaseId: string, databaseEditRequest?: DatabaseEditRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
36707
|
-
/**
|
|
36708
|
-
*
|
|
36709
|
-
* @summary Edit database master credentials
|
|
36710
|
-
* @param {string} databaseId Database ID
|
|
36711
|
-
* @param {CredentialsRequest} [credentialsRequest]
|
|
36712
|
-
* @param {*} [options] Override http request option.
|
|
36713
|
-
* @throws {RequiredError}
|
|
36714
|
-
*/
|
|
36715
|
-
editDatabaseCredentials: (databaseId: string, credentialsRequest?: CredentialsRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
36716
36688
|
/**
|
|
36717
36689
|
*
|
|
36718
36690
|
* @summary Get database by ID
|
|
@@ -36769,15 +36741,6 @@ export declare const DatabaseMainCallsApiFp: (configuration?: Configuration) =>
|
|
|
36769
36741
|
* @throws {RequiredError}
|
|
36770
36742
|
*/
|
|
36771
36743
|
editDatabase(databaseId: string, databaseEditRequest?: DatabaseEditRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Database>>;
|
|
36772
|
-
/**
|
|
36773
|
-
*
|
|
36774
|
-
* @summary Edit database master credentials
|
|
36775
|
-
* @param {string} databaseId Database ID
|
|
36776
|
-
* @param {CredentialsRequest} [credentialsRequest]
|
|
36777
|
-
* @param {*} [options] Override http request option.
|
|
36778
|
-
* @throws {RequiredError}
|
|
36779
|
-
*/
|
|
36780
|
-
editDatabaseCredentials(databaseId: string, credentialsRequest?: CredentialsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Credentials>>;
|
|
36781
36744
|
/**
|
|
36782
36745
|
*
|
|
36783
36746
|
* @summary Get database by ID
|
|
@@ -36834,15 +36797,6 @@ export declare const DatabaseMainCallsApiFactory: (configuration?: Configuration
|
|
|
36834
36797
|
* @throws {RequiredError}
|
|
36835
36798
|
*/
|
|
36836
36799
|
editDatabase(databaseId: string, databaseEditRequest?: DatabaseEditRequest, options?: RawAxiosRequestConfig): AxiosPromise<Database>;
|
|
36837
|
-
/**
|
|
36838
|
-
*
|
|
36839
|
-
* @summary Edit database master credentials
|
|
36840
|
-
* @param {string} databaseId Database ID
|
|
36841
|
-
* @param {CredentialsRequest} [credentialsRequest]
|
|
36842
|
-
* @param {*} [options] Override http request option.
|
|
36843
|
-
* @throws {RequiredError}
|
|
36844
|
-
*/
|
|
36845
|
-
editDatabaseCredentials(databaseId: string, credentialsRequest?: CredentialsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Credentials>;
|
|
36846
36800
|
/**
|
|
36847
36801
|
*
|
|
36848
36802
|
* @summary Get database by ID
|
|
@@ -36903,16 +36857,6 @@ export declare class DatabaseMainCallsApi extends BaseAPI {
|
|
|
36903
36857
|
* @memberof DatabaseMainCallsApi
|
|
36904
36858
|
*/
|
|
36905
36859
|
editDatabase(databaseId: string, databaseEditRequest?: DatabaseEditRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Database, any, {}>>;
|
|
36906
|
-
/**
|
|
36907
|
-
*
|
|
36908
|
-
* @summary Edit database master credentials
|
|
36909
|
-
* @param {string} databaseId Database ID
|
|
36910
|
-
* @param {CredentialsRequest} [credentialsRequest]
|
|
36911
|
-
* @param {*} [options] Override http request option.
|
|
36912
|
-
* @throws {RequiredError}
|
|
36913
|
-
* @memberof DatabaseMainCallsApi
|
|
36914
|
-
*/
|
|
36915
|
-
editDatabaseCredentials(databaseId: string, credentialsRequest?: CredentialsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Credentials, any, {}>>;
|
|
36916
36860
|
/**
|
|
36917
36861
|
*
|
|
36918
36862
|
* @summary Get database by ID
|
package/dist/api.js
CHANGED
|
@@ -22306,43 +22306,6 @@ const DatabaseMainCallsApiAxiosParamCreator = function (configuration) {
|
|
|
22306
22306
|
options: localVarRequestOptions,
|
|
22307
22307
|
};
|
|
22308
22308
|
}),
|
|
22309
|
-
/**
|
|
22310
|
-
*
|
|
22311
|
-
* @summary Edit database master credentials
|
|
22312
|
-
* @param {string} databaseId Database ID
|
|
22313
|
-
* @param {CredentialsRequest} [credentialsRequest]
|
|
22314
|
-
* @param {*} [options] Override http request option.
|
|
22315
|
-
* @throws {RequiredError}
|
|
22316
|
-
*/
|
|
22317
|
-
editDatabaseCredentials: (databaseId_1, credentialsRequest_1, ...args_1) => __awaiter(this, [databaseId_1, credentialsRequest_1, ...args_1], void 0, function* (databaseId, credentialsRequest, options = {}) {
|
|
22318
|
-
// verify required parameter 'databaseId' is not null or undefined
|
|
22319
|
-
(0, common_1.assertParamExists)('editDatabaseCredentials', 'databaseId', databaseId);
|
|
22320
|
-
const localVarPath = `/database/{databaseId}/masterCredentials`
|
|
22321
|
-
.replace(`{${"databaseId"}}`, encodeURIComponent(String(databaseId)));
|
|
22322
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
22323
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
22324
|
-
let baseOptions;
|
|
22325
|
-
if (configuration) {
|
|
22326
|
-
baseOptions = configuration.baseOptions;
|
|
22327
|
-
}
|
|
22328
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
22329
|
-
const localVarHeaderParameter = {};
|
|
22330
|
-
const localVarQueryParameter = {};
|
|
22331
|
-
// authentication ApiKeyAuth required
|
|
22332
|
-
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
22333
|
-
// authentication bearerAuth required
|
|
22334
|
-
// http bearer authentication required
|
|
22335
|
-
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
22336
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
22337
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
22338
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
22339
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
22340
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(credentialsRequest, localVarRequestOptions, configuration);
|
|
22341
|
-
return {
|
|
22342
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
22343
|
-
options: localVarRequestOptions,
|
|
22344
|
-
};
|
|
22345
|
-
}),
|
|
22346
22309
|
/**
|
|
22347
22310
|
*
|
|
22348
22311
|
* @summary Get database by ID
|
|
@@ -22523,23 +22486,6 @@ const DatabaseMainCallsApiFp = function (configuration) {
|
|
|
22523
22486
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
22524
22487
|
});
|
|
22525
22488
|
},
|
|
22526
|
-
/**
|
|
22527
|
-
*
|
|
22528
|
-
* @summary Edit database master credentials
|
|
22529
|
-
* @param {string} databaseId Database ID
|
|
22530
|
-
* @param {CredentialsRequest} [credentialsRequest]
|
|
22531
|
-
* @param {*} [options] Override http request option.
|
|
22532
|
-
* @throws {RequiredError}
|
|
22533
|
-
*/
|
|
22534
|
-
editDatabaseCredentials(databaseId, credentialsRequest, options) {
|
|
22535
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
22536
|
-
var _a, _b, _c;
|
|
22537
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.editDatabaseCredentials(databaseId, credentialsRequest, options);
|
|
22538
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
22539
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DatabaseMainCallsApi.editDatabaseCredentials']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
22540
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
22541
|
-
});
|
|
22542
|
-
},
|
|
22543
22489
|
/**
|
|
22544
22490
|
*
|
|
22545
22491
|
* @summary Get database by ID
|
|
@@ -22636,17 +22582,6 @@ const DatabaseMainCallsApiFactory = function (configuration, basePath, axios) {
|
|
|
22636
22582
|
editDatabase(databaseId, databaseEditRequest, options) {
|
|
22637
22583
|
return localVarFp.editDatabase(databaseId, databaseEditRequest, options).then((request) => request(axios, basePath));
|
|
22638
22584
|
},
|
|
22639
|
-
/**
|
|
22640
|
-
*
|
|
22641
|
-
* @summary Edit database master credentials
|
|
22642
|
-
* @param {string} databaseId Database ID
|
|
22643
|
-
* @param {CredentialsRequest} [credentialsRequest]
|
|
22644
|
-
* @param {*} [options] Override http request option.
|
|
22645
|
-
* @throws {RequiredError}
|
|
22646
|
-
*/
|
|
22647
|
-
editDatabaseCredentials(databaseId, credentialsRequest, options) {
|
|
22648
|
-
return localVarFp.editDatabaseCredentials(databaseId, credentialsRequest, options).then((request) => request(axios, basePath));
|
|
22649
|
-
},
|
|
22650
22585
|
/**
|
|
22651
22586
|
*
|
|
22652
22587
|
* @summary Get database by ID
|
|
@@ -22721,18 +22656,6 @@ class DatabaseMainCallsApi extends base_1.BaseAPI {
|
|
|
22721
22656
|
editDatabase(databaseId, databaseEditRequest, options) {
|
|
22722
22657
|
return (0, exports.DatabaseMainCallsApiFp)(this.configuration).editDatabase(databaseId, databaseEditRequest, options).then((request) => request(this.axios, this.basePath));
|
|
22723
22658
|
}
|
|
22724
|
-
/**
|
|
22725
|
-
*
|
|
22726
|
-
* @summary Edit database master credentials
|
|
22727
|
-
* @param {string} databaseId Database ID
|
|
22728
|
-
* @param {CredentialsRequest} [credentialsRequest]
|
|
22729
|
-
* @param {*} [options] Override http request option.
|
|
22730
|
-
* @throws {RequiredError}
|
|
22731
|
-
* @memberof DatabaseMainCallsApi
|
|
22732
|
-
*/
|
|
22733
|
-
editDatabaseCredentials(databaseId, credentialsRequest, options) {
|
|
22734
|
-
return (0, exports.DatabaseMainCallsApiFp)(this.configuration).editDatabaseCredentials(databaseId, credentialsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
22735
|
-
}
|
|
22736
22659
|
/**
|
|
22737
22660
|
*
|
|
22738
22661
|
* @summary Get database by ID
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -293,10 +293,10 @@ export interface AgenticWorkflowRequest {
|
|
|
293
293
|
'mcp'?: string;
|
|
294
294
|
/**
|
|
295
295
|
* Organization MCP servers used by this workflow
|
|
296
|
-
* @type {
|
|
296
|
+
* @type {Array<string>}
|
|
297
297
|
* @memberof AgenticWorkflowRequest
|
|
298
298
|
*/
|
|
299
|
-
'mcp_server_ids'?:
|
|
299
|
+
'mcp_server_ids'?: Array<string>;
|
|
300
300
|
/**
|
|
301
301
|
*
|
|
302
302
|
* @type {Array<AgenticWorkflowOutput>}
|
|
@@ -445,10 +445,10 @@ export interface AgenticWorkflowResponse {
|
|
|
445
445
|
'mcp': string;
|
|
446
446
|
/**
|
|
447
447
|
* Organization MCP servers used by this workflow
|
|
448
|
-
* @type {
|
|
448
|
+
* @type {Array<string>}
|
|
449
449
|
* @memberof AgenticWorkflowResponse
|
|
450
450
|
*/
|
|
451
|
-
'mcp_server_ids':
|
|
451
|
+
'mcp_server_ids': Array<string>;
|
|
452
452
|
/**
|
|
453
453
|
*
|
|
454
454
|
* @type {Array<AgenticWorkflowOutput>}
|
|
@@ -9900,25 +9900,6 @@ export interface Credentials {
|
|
|
9900
9900
|
*/
|
|
9901
9901
|
'password': string;
|
|
9902
9902
|
}
|
|
9903
|
-
/**
|
|
9904
|
-
*
|
|
9905
|
-
* @export
|
|
9906
|
-
* @interface CredentialsRequest
|
|
9907
|
-
*/
|
|
9908
|
-
export interface CredentialsRequest {
|
|
9909
|
-
/**
|
|
9910
|
-
*
|
|
9911
|
-
* @type {string}
|
|
9912
|
-
* @memberof CredentialsRequest
|
|
9913
|
-
*/
|
|
9914
|
-
'login': string;
|
|
9915
|
-
/**
|
|
9916
|
-
*
|
|
9917
|
-
* @type {string}
|
|
9918
|
-
* @memberof CredentialsRequest
|
|
9919
|
-
*/
|
|
9920
|
-
'password': string;
|
|
9921
|
-
}
|
|
9922
9903
|
/**
|
|
9923
9904
|
*
|
|
9924
9905
|
* @export
|
|
@@ -36704,15 +36685,6 @@ export declare const DatabaseMainCallsApiAxiosParamCreator: (configuration?: Con
|
|
|
36704
36685
|
* @throws {RequiredError}
|
|
36705
36686
|
*/
|
|
36706
36687
|
editDatabase: (databaseId: string, databaseEditRequest?: DatabaseEditRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
36707
|
-
/**
|
|
36708
|
-
*
|
|
36709
|
-
* @summary Edit database master credentials
|
|
36710
|
-
* @param {string} databaseId Database ID
|
|
36711
|
-
* @param {CredentialsRequest} [credentialsRequest]
|
|
36712
|
-
* @param {*} [options] Override http request option.
|
|
36713
|
-
* @throws {RequiredError}
|
|
36714
|
-
*/
|
|
36715
|
-
editDatabaseCredentials: (databaseId: string, credentialsRequest?: CredentialsRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
36716
36688
|
/**
|
|
36717
36689
|
*
|
|
36718
36690
|
* @summary Get database by ID
|
|
@@ -36769,15 +36741,6 @@ export declare const DatabaseMainCallsApiFp: (configuration?: Configuration) =>
|
|
|
36769
36741
|
* @throws {RequiredError}
|
|
36770
36742
|
*/
|
|
36771
36743
|
editDatabase(databaseId: string, databaseEditRequest?: DatabaseEditRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Database>>;
|
|
36772
|
-
/**
|
|
36773
|
-
*
|
|
36774
|
-
* @summary Edit database master credentials
|
|
36775
|
-
* @param {string} databaseId Database ID
|
|
36776
|
-
* @param {CredentialsRequest} [credentialsRequest]
|
|
36777
|
-
* @param {*} [options] Override http request option.
|
|
36778
|
-
* @throws {RequiredError}
|
|
36779
|
-
*/
|
|
36780
|
-
editDatabaseCredentials(databaseId: string, credentialsRequest?: CredentialsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Credentials>>;
|
|
36781
36744
|
/**
|
|
36782
36745
|
*
|
|
36783
36746
|
* @summary Get database by ID
|
|
@@ -36834,15 +36797,6 @@ export declare const DatabaseMainCallsApiFactory: (configuration?: Configuration
|
|
|
36834
36797
|
* @throws {RequiredError}
|
|
36835
36798
|
*/
|
|
36836
36799
|
editDatabase(databaseId: string, databaseEditRequest?: DatabaseEditRequest, options?: RawAxiosRequestConfig): AxiosPromise<Database>;
|
|
36837
|
-
/**
|
|
36838
|
-
*
|
|
36839
|
-
* @summary Edit database master credentials
|
|
36840
|
-
* @param {string} databaseId Database ID
|
|
36841
|
-
* @param {CredentialsRequest} [credentialsRequest]
|
|
36842
|
-
* @param {*} [options] Override http request option.
|
|
36843
|
-
* @throws {RequiredError}
|
|
36844
|
-
*/
|
|
36845
|
-
editDatabaseCredentials(databaseId: string, credentialsRequest?: CredentialsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Credentials>;
|
|
36846
36800
|
/**
|
|
36847
36801
|
*
|
|
36848
36802
|
* @summary Get database by ID
|
|
@@ -36903,16 +36857,6 @@ export declare class DatabaseMainCallsApi extends BaseAPI {
|
|
|
36903
36857
|
* @memberof DatabaseMainCallsApi
|
|
36904
36858
|
*/
|
|
36905
36859
|
editDatabase(databaseId: string, databaseEditRequest?: DatabaseEditRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Database, any, {}>>;
|
|
36906
|
-
/**
|
|
36907
|
-
*
|
|
36908
|
-
* @summary Edit database master credentials
|
|
36909
|
-
* @param {string} databaseId Database ID
|
|
36910
|
-
* @param {CredentialsRequest} [credentialsRequest]
|
|
36911
|
-
* @param {*} [options] Override http request option.
|
|
36912
|
-
* @throws {RequiredError}
|
|
36913
|
-
* @memberof DatabaseMainCallsApi
|
|
36914
|
-
*/
|
|
36915
|
-
editDatabaseCredentials(databaseId: string, credentialsRequest?: CredentialsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Credentials, any, {}>>;
|
|
36916
36860
|
/**
|
|
36917
36861
|
*
|
|
36918
36862
|
* @summary Get database by ID
|
package/dist/esm/api.js
CHANGED
|
@@ -22148,43 +22148,6 @@ export const DatabaseMainCallsApiAxiosParamCreator = function (configuration) {
|
|
|
22148
22148
|
options: localVarRequestOptions,
|
|
22149
22149
|
};
|
|
22150
22150
|
}),
|
|
22151
|
-
/**
|
|
22152
|
-
*
|
|
22153
|
-
* @summary Edit database master credentials
|
|
22154
|
-
* @param {string} databaseId Database ID
|
|
22155
|
-
* @param {CredentialsRequest} [credentialsRequest]
|
|
22156
|
-
* @param {*} [options] Override http request option.
|
|
22157
|
-
* @throws {RequiredError}
|
|
22158
|
-
*/
|
|
22159
|
-
editDatabaseCredentials: (databaseId_1, credentialsRequest_1, ...args_1) => __awaiter(this, [databaseId_1, credentialsRequest_1, ...args_1], void 0, function* (databaseId, credentialsRequest, options = {}) {
|
|
22160
|
-
// verify required parameter 'databaseId' is not null or undefined
|
|
22161
|
-
assertParamExists('editDatabaseCredentials', 'databaseId', databaseId);
|
|
22162
|
-
const localVarPath = `/database/{databaseId}/masterCredentials`
|
|
22163
|
-
.replace(`{${"databaseId"}}`, encodeURIComponent(String(databaseId)));
|
|
22164
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
22165
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
22166
|
-
let baseOptions;
|
|
22167
|
-
if (configuration) {
|
|
22168
|
-
baseOptions = configuration.baseOptions;
|
|
22169
|
-
}
|
|
22170
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
22171
|
-
const localVarHeaderParameter = {};
|
|
22172
|
-
const localVarQueryParameter = {};
|
|
22173
|
-
// authentication ApiKeyAuth required
|
|
22174
|
-
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
22175
|
-
// authentication bearerAuth required
|
|
22176
|
-
// http bearer authentication required
|
|
22177
|
-
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
22178
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
22179
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
22180
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
22181
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
22182
|
-
localVarRequestOptions.data = serializeDataIfNeeded(credentialsRequest, localVarRequestOptions, configuration);
|
|
22183
|
-
return {
|
|
22184
|
-
url: toPathString(localVarUrlObj),
|
|
22185
|
-
options: localVarRequestOptions,
|
|
22186
|
-
};
|
|
22187
|
-
}),
|
|
22188
22151
|
/**
|
|
22189
22152
|
*
|
|
22190
22153
|
* @summary Get database by ID
|
|
@@ -22364,23 +22327,6 @@ export const DatabaseMainCallsApiFp = function (configuration) {
|
|
|
22364
22327
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
22365
22328
|
});
|
|
22366
22329
|
},
|
|
22367
|
-
/**
|
|
22368
|
-
*
|
|
22369
|
-
* @summary Edit database master credentials
|
|
22370
|
-
* @param {string} databaseId Database ID
|
|
22371
|
-
* @param {CredentialsRequest} [credentialsRequest]
|
|
22372
|
-
* @param {*} [options] Override http request option.
|
|
22373
|
-
* @throws {RequiredError}
|
|
22374
|
-
*/
|
|
22375
|
-
editDatabaseCredentials(databaseId, credentialsRequest, options) {
|
|
22376
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
22377
|
-
var _a, _b, _c;
|
|
22378
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.editDatabaseCredentials(databaseId, credentialsRequest, options);
|
|
22379
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
22380
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DatabaseMainCallsApi.editDatabaseCredentials']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
22381
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
22382
|
-
});
|
|
22383
|
-
},
|
|
22384
22330
|
/**
|
|
22385
22331
|
*
|
|
22386
22332
|
* @summary Get database by ID
|
|
@@ -22476,17 +22422,6 @@ export const DatabaseMainCallsApiFactory = function (configuration, basePath, ax
|
|
|
22476
22422
|
editDatabase(databaseId, databaseEditRequest, options) {
|
|
22477
22423
|
return localVarFp.editDatabase(databaseId, databaseEditRequest, options).then((request) => request(axios, basePath));
|
|
22478
22424
|
},
|
|
22479
|
-
/**
|
|
22480
|
-
*
|
|
22481
|
-
* @summary Edit database master credentials
|
|
22482
|
-
* @param {string} databaseId Database ID
|
|
22483
|
-
* @param {CredentialsRequest} [credentialsRequest]
|
|
22484
|
-
* @param {*} [options] Override http request option.
|
|
22485
|
-
* @throws {RequiredError}
|
|
22486
|
-
*/
|
|
22487
|
-
editDatabaseCredentials(databaseId, credentialsRequest, options) {
|
|
22488
|
-
return localVarFp.editDatabaseCredentials(databaseId, credentialsRequest, options).then((request) => request(axios, basePath));
|
|
22489
|
-
},
|
|
22490
22425
|
/**
|
|
22491
22426
|
*
|
|
22492
22427
|
* @summary Get database by ID
|
|
@@ -22560,18 +22495,6 @@ export class DatabaseMainCallsApi extends BaseAPI {
|
|
|
22560
22495
|
editDatabase(databaseId, databaseEditRequest, options) {
|
|
22561
22496
|
return DatabaseMainCallsApiFp(this.configuration).editDatabase(databaseId, databaseEditRequest, options).then((request) => request(this.axios, this.basePath));
|
|
22562
22497
|
}
|
|
22563
|
-
/**
|
|
22564
|
-
*
|
|
22565
|
-
* @summary Edit database master credentials
|
|
22566
|
-
* @param {string} databaseId Database ID
|
|
22567
|
-
* @param {CredentialsRequest} [credentialsRequest]
|
|
22568
|
-
* @param {*} [options] Override http request option.
|
|
22569
|
-
* @throws {RequiredError}
|
|
22570
|
-
* @memberof DatabaseMainCallsApi
|
|
22571
|
-
*/
|
|
22572
|
-
editDatabaseCredentials(databaseId, credentialsRequest, options) {
|
|
22573
|
-
return DatabaseMainCallsApiFp(this.configuration).editDatabaseCredentials(databaseId, credentialsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
22574
|
-
}
|
|
22575
22498
|
/**
|
|
22576
22499
|
*
|
|
22577
22500
|
* @summary Get database by ID
|