qovery-typescript-axios 1.1.968 → 1.1.970
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 +421 -8
- package/dist/api.d.ts +295 -7
- package/dist/api.js +243 -17
- package/dist/esm/api.d.ts +295 -7
- package/dist/esm/api.js +227 -5
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -332,7 +332,7 @@ export interface AgenticWorkflowRequest {
|
|
|
332
332
|
*/
|
|
333
333
|
'mcp'?: string;
|
|
334
334
|
/**
|
|
335
|
-
*
|
|
335
|
+
* MCP connectors attached to this workflow. May include a USER-scoped connector, which only its owner can attach or keep attached when saving.
|
|
336
336
|
* @type {Array<string>}
|
|
337
337
|
* @memberof AgenticWorkflowRequest
|
|
338
338
|
*/
|
|
@@ -498,7 +498,7 @@ export interface AgenticWorkflowResponse {
|
|
|
498
498
|
*/
|
|
499
499
|
'mcp': string;
|
|
500
500
|
/**
|
|
501
|
-
*
|
|
501
|
+
* MCP connectors attached to this workflow. May include a USER-scoped connector, which only its owner can attach or keep attached when saving.
|
|
502
502
|
* @type {Array<string>}
|
|
503
503
|
* @memberof AgenticWorkflowResponse
|
|
504
504
|
*/
|
|
@@ -6625,6 +6625,146 @@ export const ClusterDeleteMode = {
|
|
|
6625
6625
|
export type ClusterDeleteMode = typeof ClusterDeleteMode[keyof typeof ClusterDeleteMode];
|
|
6626
6626
|
|
|
6627
6627
|
|
|
6628
|
+
/**
|
|
6629
|
+
*
|
|
6630
|
+
* @export
|
|
6631
|
+
* @interface ClusterDeploymentHistory
|
|
6632
|
+
*/
|
|
6633
|
+
export interface ClusterDeploymentHistory {
|
|
6634
|
+
/**
|
|
6635
|
+
*
|
|
6636
|
+
* @type {ClusterDeploymentHistoryIdentifier}
|
|
6637
|
+
* @memberof ClusterDeploymentHistory
|
|
6638
|
+
*/
|
|
6639
|
+
'identifier': ClusterDeploymentHistoryIdentifier;
|
|
6640
|
+
/**
|
|
6641
|
+
*
|
|
6642
|
+
* @type {ClusterDeploymentHistoryAuditingData}
|
|
6643
|
+
* @memberof ClusterDeploymentHistory
|
|
6644
|
+
*/
|
|
6645
|
+
'auditing_data': ClusterDeploymentHistoryAuditingData;
|
|
6646
|
+
/**
|
|
6647
|
+
*
|
|
6648
|
+
* @type {StateEnum}
|
|
6649
|
+
* @memberof ClusterDeploymentHistory
|
|
6650
|
+
*/
|
|
6651
|
+
'status': StateEnum;
|
|
6652
|
+
/**
|
|
6653
|
+
*
|
|
6654
|
+
* @type {DeploymentHistoryActionStatus}
|
|
6655
|
+
* @memberof ClusterDeploymentHistory
|
|
6656
|
+
*/
|
|
6657
|
+
'action_status': DeploymentHistoryActionStatus;
|
|
6658
|
+
/**
|
|
6659
|
+
*
|
|
6660
|
+
* @type {DeploymentHistoryTriggerAction}
|
|
6661
|
+
* @memberof ClusterDeploymentHistory
|
|
6662
|
+
*/
|
|
6663
|
+
'trigger_action': DeploymentHistoryTriggerAction;
|
|
6664
|
+
/**
|
|
6665
|
+
*
|
|
6666
|
+
* @type {string}
|
|
6667
|
+
* @memberof ClusterDeploymentHistory
|
|
6668
|
+
*/
|
|
6669
|
+
'reason': ClusterDeploymentHistoryReasonEnum;
|
|
6670
|
+
/**
|
|
6671
|
+
*
|
|
6672
|
+
* @type {string}
|
|
6673
|
+
* @memberof ClusterDeploymentHistory
|
|
6674
|
+
*/
|
|
6675
|
+
'total_duration'?: string | null;
|
|
6676
|
+
}
|
|
6677
|
+
|
|
6678
|
+
export const ClusterDeploymentHistoryReasonEnum = {
|
|
6679
|
+
UNSPECIFIED: 'UNSPECIFIED',
|
|
6680
|
+
MAINTENANCE: 'MAINTENANCE'
|
|
6681
|
+
} as const;
|
|
6682
|
+
|
|
6683
|
+
export type ClusterDeploymentHistoryReasonEnum = typeof ClusterDeploymentHistoryReasonEnum[keyof typeof ClusterDeploymentHistoryReasonEnum];
|
|
6684
|
+
|
|
6685
|
+
/**
|
|
6686
|
+
*
|
|
6687
|
+
* @export
|
|
6688
|
+
* @interface ClusterDeploymentHistoryAuditingData
|
|
6689
|
+
*/
|
|
6690
|
+
export interface ClusterDeploymentHistoryAuditingData {
|
|
6691
|
+
/**
|
|
6692
|
+
*
|
|
6693
|
+
* @type {string}
|
|
6694
|
+
* @memberof ClusterDeploymentHistoryAuditingData
|
|
6695
|
+
*/
|
|
6696
|
+
'created_at': string;
|
|
6697
|
+
/**
|
|
6698
|
+
*
|
|
6699
|
+
* @type {string}
|
|
6700
|
+
* @memberof ClusterDeploymentHistoryAuditingData
|
|
6701
|
+
*/
|
|
6702
|
+
'updated_at': string;
|
|
6703
|
+
/**
|
|
6704
|
+
*
|
|
6705
|
+
* @type {OrganizationEventOrigin}
|
|
6706
|
+
* @memberof ClusterDeploymentHistoryAuditingData
|
|
6707
|
+
*/
|
|
6708
|
+
'origin'?: OrganizationEventOrigin | null;
|
|
6709
|
+
/**
|
|
6710
|
+
* Who triggered the deployment. Null for deployments created before this metadata was recorded
|
|
6711
|
+
* @type {string}
|
|
6712
|
+
* @memberof ClusterDeploymentHistoryAuditingData
|
|
6713
|
+
*/
|
|
6714
|
+
'triggered_by'?: string | null;
|
|
6715
|
+
}
|
|
6716
|
+
|
|
6717
|
+
|
|
6718
|
+
/**
|
|
6719
|
+
*
|
|
6720
|
+
* @export
|
|
6721
|
+
* @interface ClusterDeploymentHistoryIdentifier
|
|
6722
|
+
*/
|
|
6723
|
+
export interface ClusterDeploymentHistoryIdentifier {
|
|
6724
|
+
/**
|
|
6725
|
+
*
|
|
6726
|
+
* @type {string}
|
|
6727
|
+
* @memberof ClusterDeploymentHistoryIdentifier
|
|
6728
|
+
*/
|
|
6729
|
+
'deployment_id': string;
|
|
6730
|
+
/**
|
|
6731
|
+
*
|
|
6732
|
+
* @type {string}
|
|
6733
|
+
* @memberof ClusterDeploymentHistoryIdentifier
|
|
6734
|
+
*/
|
|
6735
|
+
'execution_id'?: string | null;
|
|
6736
|
+
/**
|
|
6737
|
+
*
|
|
6738
|
+
* @type {string}
|
|
6739
|
+
* @memberof ClusterDeploymentHistoryIdentifier
|
|
6740
|
+
*/
|
|
6741
|
+
'cluster_id': string;
|
|
6742
|
+
}
|
|
6743
|
+
/**
|
|
6744
|
+
*
|
|
6745
|
+
* @export
|
|
6746
|
+
* @interface ClusterDeploymentHistoryPaginatedResponseListV2
|
|
6747
|
+
*/
|
|
6748
|
+
export interface ClusterDeploymentHistoryPaginatedResponseListV2 {
|
|
6749
|
+
/**
|
|
6750
|
+
*
|
|
6751
|
+
* @type {number}
|
|
6752
|
+
* @memberof ClusterDeploymentHistoryPaginatedResponseListV2
|
|
6753
|
+
*/
|
|
6754
|
+
'page': number;
|
|
6755
|
+
/**
|
|
6756
|
+
*
|
|
6757
|
+
* @type {number}
|
|
6758
|
+
* @memberof ClusterDeploymentHistoryPaginatedResponseListV2
|
|
6759
|
+
*/
|
|
6760
|
+
'page_size': number;
|
|
6761
|
+
/**
|
|
6762
|
+
*
|
|
6763
|
+
* @type {Array<ClusterDeploymentHistory>}
|
|
6764
|
+
* @memberof ClusterDeploymentHistoryPaginatedResponseListV2
|
|
6765
|
+
*/
|
|
6766
|
+
'results'?: Array<ClusterDeploymentHistory>;
|
|
6767
|
+
}
|
|
6628
6768
|
/**
|
|
6629
6769
|
*
|
|
6630
6770
|
* @export
|
|
@@ -11572,7 +11712,8 @@ export const DeploymentHistoryActionStatus = {
|
|
|
11572
11712
|
ERROR: 'ERROR',
|
|
11573
11713
|
CANCELED: 'CANCELED',
|
|
11574
11714
|
CANCELING: 'CANCELING',
|
|
11575
|
-
NEVER: 'NEVER'
|
|
11715
|
+
NEVER: 'NEVER',
|
|
11716
|
+
EXECUTING: 'EXECUTING'
|
|
11576
11717
|
} as const;
|
|
11577
11718
|
|
|
11578
11719
|
export type DeploymentHistoryActionStatus = typeof DeploymentHistoryActionStatus[keyof typeof DeploymentHistoryActionStatus];
|
|
@@ -19907,7 +20048,7 @@ export interface ManagedDatabaseTypeResponseList {
|
|
|
19907
20048
|
*/
|
|
19908
20049
|
export interface McpServerRequest {
|
|
19909
20050
|
/**
|
|
19910
|
-
*
|
|
20051
|
+
* MCP server name, unique per scope owner within the organization
|
|
19911
20052
|
* @type {string}
|
|
19912
20053
|
* @memberof McpServerRequest
|
|
19913
20054
|
*/
|
|
@@ -19930,7 +20071,15 @@ export interface McpServerRequest {
|
|
|
19930
20071
|
* @memberof McpServerRequest
|
|
19931
20072
|
*/
|
|
19932
20073
|
'headers'?: { [key: string]: string; };
|
|
20074
|
+
/**
|
|
20075
|
+
* Cannot be changed after creation. On create, omitting it means ORGANIZATION, which requires the MANAGE_INFRASTRUCTURE permission; creating a USER connector requires CREATE_PROJECT. On edit, omitting it leaves the connector\'s scope unchanged, and stating a scope that differs from the connector\'s is refused with 400.
|
|
20076
|
+
* @type {McpServerScope}
|
|
20077
|
+
* @memberof McpServerRequest
|
|
20078
|
+
*/
|
|
20079
|
+
'scope'?: McpServerScope;
|
|
19933
20080
|
}
|
|
20081
|
+
|
|
20082
|
+
|
|
19934
20083
|
/**
|
|
19935
20084
|
*
|
|
19936
20085
|
* @export
|
|
@@ -19979,7 +20128,33 @@ export interface McpServerResponse {
|
|
|
19979
20128
|
* @memberof McpServerResponse
|
|
19980
20129
|
*/
|
|
19981
20130
|
'header_names': Set<string>;
|
|
20131
|
+
/**
|
|
20132
|
+
*
|
|
20133
|
+
* @type {McpServerScope}
|
|
20134
|
+
* @memberof McpServerResponse
|
|
20135
|
+
*/
|
|
20136
|
+
'scope': McpServerScope;
|
|
20137
|
+
/**
|
|
20138
|
+
* Identity of the owning member. Null for an ORGANIZATION connector.
|
|
20139
|
+
* @type {string}
|
|
20140
|
+
* @memberof McpServerResponse
|
|
20141
|
+
*/
|
|
20142
|
+
'owner_user_sub'?: string | null;
|
|
20143
|
+
/**
|
|
20144
|
+
* Display name of the owning member. Null for an ORGANIZATION connector.
|
|
20145
|
+
* @type {string}
|
|
20146
|
+
* @memberof McpServerResponse
|
|
20147
|
+
*/
|
|
20148
|
+
'owner_name'?: string | null;
|
|
20149
|
+
/**
|
|
20150
|
+
* Whether the member making this request may attach the connector to an agentic workflow. Computed per caller: an organization admin sees every USER connector but can attach none of them, so a picker must use this rather than scope alone.
|
|
20151
|
+
* @type {boolean}
|
|
20152
|
+
* @memberof McpServerResponse
|
|
20153
|
+
*/
|
|
20154
|
+
'attachable': boolean;
|
|
19982
20155
|
}
|
|
20156
|
+
|
|
20157
|
+
|
|
19983
20158
|
/**
|
|
19984
20159
|
*
|
|
19985
20160
|
* @export
|
|
@@ -19993,6 +20168,20 @@ export interface McpServerResponseList {
|
|
|
19993
20168
|
*/
|
|
19994
20169
|
'results': Array<McpServerResponse>;
|
|
19995
20170
|
}
|
|
20171
|
+
/**
|
|
20172
|
+
* ORGANIZATION: usable by every member who can edit an agentic workflow. USER: personal to the member who created it; only that member can attach or edit it.
|
|
20173
|
+
* @export
|
|
20174
|
+
* @enum {string}
|
|
20175
|
+
*/
|
|
20176
|
+
|
|
20177
|
+
export const McpServerScope = {
|
|
20178
|
+
ORGANIZATION: 'ORGANIZATION',
|
|
20179
|
+
USER: 'USER'
|
|
20180
|
+
} as const;
|
|
20181
|
+
|
|
20182
|
+
export type McpServerScope = typeof McpServerScope[keyof typeof McpServerScope];
|
|
20183
|
+
|
|
20184
|
+
|
|
19996
20185
|
/**
|
|
19997
20186
|
*
|
|
19998
20187
|
* @export
|
|
@@ -40673,6 +40862,226 @@ export class CloudProviderCredentialsApi extends BaseAPI {
|
|
|
40673
40862
|
|
|
40674
40863
|
|
|
40675
40864
|
|
|
40865
|
+
/**
|
|
40866
|
+
* ClusterDeploymentHistoryApi - axios parameter creator
|
|
40867
|
+
* @export
|
|
40868
|
+
*/
|
|
40869
|
+
export const ClusterDeploymentHistoryApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
40870
|
+
return {
|
|
40871
|
+
/**
|
|
40872
|
+
* List previous and current cluster deployments. It returns actual deployments only: dry-runs and stop/delete operations are excluded. By default it returns the 20 last results. Use the pageSize query parameter to adjust the number of returned results
|
|
40873
|
+
* @summary List cluster deployments
|
|
40874
|
+
* @param {string} organizationId Organization ID
|
|
40875
|
+
* @param {string} clusterId Cluster ID
|
|
40876
|
+
* @param {number | null} [pageSize] The number of deployments to return in the current page. Must be greater than or equal to 1
|
|
40877
|
+
* @param {*} [options] Override http request option.
|
|
40878
|
+
* @throws {RequiredError}
|
|
40879
|
+
*/
|
|
40880
|
+
listClusterDeploymentHistoryV2: async (organizationId: string, clusterId: string, pageSize?: number | null, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
40881
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
40882
|
+
assertParamExists('listClusterDeploymentHistoryV2', 'organizationId', organizationId)
|
|
40883
|
+
// verify required parameter 'clusterId' is not null or undefined
|
|
40884
|
+
assertParamExists('listClusterDeploymentHistoryV2', 'clusterId', clusterId)
|
|
40885
|
+
const localVarPath = `/organization/{organizationId}/cluster/{clusterId}/deploymentHistoryV2`
|
|
40886
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
|
|
40887
|
+
.replace(`{${"clusterId"}}`, encodeURIComponent(String(clusterId)));
|
|
40888
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
40889
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
40890
|
+
let baseOptions;
|
|
40891
|
+
if (configuration) {
|
|
40892
|
+
baseOptions = configuration.baseOptions;
|
|
40893
|
+
}
|
|
40894
|
+
|
|
40895
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
40896
|
+
const localVarHeaderParameter = {} as any;
|
|
40897
|
+
const localVarQueryParameter = {} as any;
|
|
40898
|
+
|
|
40899
|
+
// authentication ApiKeyAuth required
|
|
40900
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
40901
|
+
|
|
40902
|
+
// authentication bearerAuth required
|
|
40903
|
+
// http bearer authentication required
|
|
40904
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
40905
|
+
|
|
40906
|
+
if (pageSize !== undefined) {
|
|
40907
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
40908
|
+
}
|
|
40909
|
+
|
|
40910
|
+
|
|
40911
|
+
|
|
40912
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
40913
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
40914
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
40915
|
+
|
|
40916
|
+
return {
|
|
40917
|
+
url: toPathString(localVarUrlObj),
|
|
40918
|
+
options: localVarRequestOptions,
|
|
40919
|
+
};
|
|
40920
|
+
},
|
|
40921
|
+
/**
|
|
40922
|
+
* List the logs of a specific cluster deployment
|
|
40923
|
+
* @summary List logs for a specific cluster deployment
|
|
40924
|
+
* @param {string} organizationId Organization ID
|
|
40925
|
+
* @param {string} clusterId Cluster ID
|
|
40926
|
+
* @param {string} deploymentId Deployment ID
|
|
40927
|
+
* @param {*} [options] Override http request option.
|
|
40928
|
+
* @throws {RequiredError}
|
|
40929
|
+
*/
|
|
40930
|
+
listClusterDeploymentLogs: async (organizationId: string, clusterId: string, deploymentId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
40931
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
40932
|
+
assertParamExists('listClusterDeploymentLogs', 'organizationId', organizationId)
|
|
40933
|
+
// verify required parameter 'clusterId' is not null or undefined
|
|
40934
|
+
assertParamExists('listClusterDeploymentLogs', 'clusterId', clusterId)
|
|
40935
|
+
// verify required parameter 'deploymentId' is not null or undefined
|
|
40936
|
+
assertParamExists('listClusterDeploymentLogs', 'deploymentId', deploymentId)
|
|
40937
|
+
const localVarPath = `/organization/{organizationId}/cluster/{clusterId}/deployment/{deploymentId}/logs`
|
|
40938
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
|
|
40939
|
+
.replace(`{${"clusterId"}}`, encodeURIComponent(String(clusterId)))
|
|
40940
|
+
.replace(`{${"deploymentId"}}`, encodeURIComponent(String(deploymentId)));
|
|
40941
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
40942
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
40943
|
+
let baseOptions;
|
|
40944
|
+
if (configuration) {
|
|
40945
|
+
baseOptions = configuration.baseOptions;
|
|
40946
|
+
}
|
|
40947
|
+
|
|
40948
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
40949
|
+
const localVarHeaderParameter = {} as any;
|
|
40950
|
+
const localVarQueryParameter = {} as any;
|
|
40951
|
+
|
|
40952
|
+
// authentication ApiKeyAuth required
|
|
40953
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
40954
|
+
|
|
40955
|
+
// authentication bearerAuth required
|
|
40956
|
+
// http bearer authentication required
|
|
40957
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
40958
|
+
|
|
40959
|
+
|
|
40960
|
+
|
|
40961
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
40962
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
40963
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
40964
|
+
|
|
40965
|
+
return {
|
|
40966
|
+
url: toPathString(localVarUrlObj),
|
|
40967
|
+
options: localVarRequestOptions,
|
|
40968
|
+
};
|
|
40969
|
+
},
|
|
40970
|
+
}
|
|
40971
|
+
};
|
|
40972
|
+
|
|
40973
|
+
/**
|
|
40974
|
+
* ClusterDeploymentHistoryApi - functional programming interface
|
|
40975
|
+
* @export
|
|
40976
|
+
*/
|
|
40977
|
+
export const ClusterDeploymentHistoryApiFp = function(configuration?: Configuration) {
|
|
40978
|
+
const localVarAxiosParamCreator = ClusterDeploymentHistoryApiAxiosParamCreator(configuration)
|
|
40979
|
+
return {
|
|
40980
|
+
/**
|
|
40981
|
+
* List previous and current cluster deployments. It returns actual deployments only: dry-runs and stop/delete operations are excluded. By default it returns the 20 last results. Use the pageSize query parameter to adjust the number of returned results
|
|
40982
|
+
* @summary List cluster deployments
|
|
40983
|
+
* @param {string} organizationId Organization ID
|
|
40984
|
+
* @param {string} clusterId Cluster ID
|
|
40985
|
+
* @param {number | null} [pageSize] The number of deployments to return in the current page. Must be greater than or equal to 1
|
|
40986
|
+
* @param {*} [options] Override http request option.
|
|
40987
|
+
* @throws {RequiredError}
|
|
40988
|
+
*/
|
|
40989
|
+
async listClusterDeploymentHistoryV2(organizationId: string, clusterId: string, pageSize?: number | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterDeploymentHistoryPaginatedResponseListV2>> {
|
|
40990
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listClusterDeploymentHistoryV2(organizationId, clusterId, pageSize, options);
|
|
40991
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
40992
|
+
const localVarOperationServerBasePath = operationServerMap['ClusterDeploymentHistoryApi.listClusterDeploymentHistoryV2']?.[localVarOperationServerIndex]?.url;
|
|
40993
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
40994
|
+
},
|
|
40995
|
+
/**
|
|
40996
|
+
* List the logs of a specific cluster deployment
|
|
40997
|
+
* @summary List logs for a specific cluster deployment
|
|
40998
|
+
* @param {string} organizationId Organization ID
|
|
40999
|
+
* @param {string} clusterId Cluster ID
|
|
41000
|
+
* @param {string} deploymentId Deployment ID
|
|
41001
|
+
* @param {*} [options] Override http request option.
|
|
41002
|
+
* @throws {RequiredError}
|
|
41003
|
+
*/
|
|
41004
|
+
async listClusterDeploymentLogs(organizationId: string, clusterId: string, deploymentId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterLogsResponseList>> {
|
|
41005
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listClusterDeploymentLogs(organizationId, clusterId, deploymentId, options);
|
|
41006
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
41007
|
+
const localVarOperationServerBasePath = operationServerMap['ClusterDeploymentHistoryApi.listClusterDeploymentLogs']?.[localVarOperationServerIndex]?.url;
|
|
41008
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
41009
|
+
},
|
|
41010
|
+
}
|
|
41011
|
+
};
|
|
41012
|
+
|
|
41013
|
+
/**
|
|
41014
|
+
* ClusterDeploymentHistoryApi - factory interface
|
|
41015
|
+
* @export
|
|
41016
|
+
*/
|
|
41017
|
+
export const ClusterDeploymentHistoryApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
41018
|
+
const localVarFp = ClusterDeploymentHistoryApiFp(configuration)
|
|
41019
|
+
return {
|
|
41020
|
+
/**
|
|
41021
|
+
* List previous and current cluster deployments. It returns actual deployments only: dry-runs and stop/delete operations are excluded. By default it returns the 20 last results. Use the pageSize query parameter to adjust the number of returned results
|
|
41022
|
+
* @summary List cluster deployments
|
|
41023
|
+
* @param {string} organizationId Organization ID
|
|
41024
|
+
* @param {string} clusterId Cluster ID
|
|
41025
|
+
* @param {number | null} [pageSize] The number of deployments to return in the current page. Must be greater than or equal to 1
|
|
41026
|
+
* @param {*} [options] Override http request option.
|
|
41027
|
+
* @throws {RequiredError}
|
|
41028
|
+
*/
|
|
41029
|
+
listClusterDeploymentHistoryV2(organizationId: string, clusterId: string, pageSize?: number | null, options?: RawAxiosRequestConfig): AxiosPromise<ClusterDeploymentHistoryPaginatedResponseListV2> {
|
|
41030
|
+
return localVarFp.listClusterDeploymentHistoryV2(organizationId, clusterId, pageSize, options).then((request) => request(axios, basePath));
|
|
41031
|
+
},
|
|
41032
|
+
/**
|
|
41033
|
+
* List the logs of a specific cluster deployment
|
|
41034
|
+
* @summary List logs for a specific cluster deployment
|
|
41035
|
+
* @param {string} organizationId Organization ID
|
|
41036
|
+
* @param {string} clusterId Cluster ID
|
|
41037
|
+
* @param {string} deploymentId Deployment ID
|
|
41038
|
+
* @param {*} [options] Override http request option.
|
|
41039
|
+
* @throws {RequiredError}
|
|
41040
|
+
*/
|
|
41041
|
+
listClusterDeploymentLogs(organizationId: string, clusterId: string, deploymentId: string, options?: RawAxiosRequestConfig): AxiosPromise<ClusterLogsResponseList> {
|
|
41042
|
+
return localVarFp.listClusterDeploymentLogs(organizationId, clusterId, deploymentId, options).then((request) => request(axios, basePath));
|
|
41043
|
+
},
|
|
41044
|
+
};
|
|
41045
|
+
};
|
|
41046
|
+
|
|
41047
|
+
/**
|
|
41048
|
+
* ClusterDeploymentHistoryApi - object-oriented interface
|
|
41049
|
+
* @export
|
|
41050
|
+
* @class ClusterDeploymentHistoryApi
|
|
41051
|
+
* @extends {BaseAPI}
|
|
41052
|
+
*/
|
|
41053
|
+
export class ClusterDeploymentHistoryApi extends BaseAPI {
|
|
41054
|
+
/**
|
|
41055
|
+
* List previous and current cluster deployments. It returns actual deployments only: dry-runs and stop/delete operations are excluded. By default it returns the 20 last results. Use the pageSize query parameter to adjust the number of returned results
|
|
41056
|
+
* @summary List cluster deployments
|
|
41057
|
+
* @param {string} organizationId Organization ID
|
|
41058
|
+
* @param {string} clusterId Cluster ID
|
|
41059
|
+
* @param {number | null} [pageSize] The number of deployments to return in the current page. Must be greater than or equal to 1
|
|
41060
|
+
* @param {*} [options] Override http request option.
|
|
41061
|
+
* @throws {RequiredError}
|
|
41062
|
+
* @memberof ClusterDeploymentHistoryApi
|
|
41063
|
+
*/
|
|
41064
|
+
public listClusterDeploymentHistoryV2(organizationId: string, clusterId: string, pageSize?: number | null, options?: RawAxiosRequestConfig) {
|
|
41065
|
+
return ClusterDeploymentHistoryApiFp(this.configuration).listClusterDeploymentHistoryV2(organizationId, clusterId, pageSize, options).then((request) => request(this.axios, this.basePath));
|
|
41066
|
+
}
|
|
41067
|
+
|
|
41068
|
+
/**
|
|
41069
|
+
* List the logs of a specific cluster deployment
|
|
41070
|
+
* @summary List logs for a specific cluster deployment
|
|
41071
|
+
* @param {string} organizationId Organization ID
|
|
41072
|
+
* @param {string} clusterId Cluster ID
|
|
41073
|
+
* @param {string} deploymentId Deployment ID
|
|
41074
|
+
* @param {*} [options] Override http request option.
|
|
41075
|
+
* @throws {RequiredError}
|
|
41076
|
+
* @memberof ClusterDeploymentHistoryApi
|
|
41077
|
+
*/
|
|
41078
|
+
public listClusterDeploymentLogs(organizationId: string, clusterId: string, deploymentId: string, options?: RawAxiosRequestConfig) {
|
|
41079
|
+
return ClusterDeploymentHistoryApiFp(this.configuration).listClusterDeploymentLogs(organizationId, clusterId, deploymentId, options).then((request) => request(this.axios, this.basePath));
|
|
41080
|
+
}
|
|
41081
|
+
}
|
|
41082
|
+
|
|
41083
|
+
|
|
41084
|
+
|
|
40676
41085
|
/**
|
|
40677
41086
|
* ClusterOperatorApi - axios parameter creator
|
|
40678
41087
|
* @export
|
|
@@ -42473,11 +42882,12 @@ export const ClustersApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
42473
42882
|
};
|
|
42474
42883
|
},
|
|
42475
42884
|
/**
|
|
42476
|
-
* List Cluster Logs
|
|
42885
|
+
* List Cluster Logs. Deprecated: use listClusterDeploymentLogs instead to fetch the logs of a specific cluster deployment.
|
|
42477
42886
|
* @summary List Cluster Logs
|
|
42478
42887
|
* @param {string} organizationId Organization ID
|
|
42479
42888
|
* @param {string} clusterId Cluster ID
|
|
42480
42889
|
* @param {*} [options] Override http request option.
|
|
42890
|
+
* @deprecated
|
|
42481
42891
|
* @throws {RequiredError}
|
|
42482
42892
|
*/
|
|
42483
42893
|
listClusterLogs: async (organizationId: string, clusterId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
@@ -43377,11 +43787,12 @@ export const ClustersApiFp = function(configuration?: Configuration) {
|
|
|
43377
43787
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
43378
43788
|
},
|
|
43379
43789
|
/**
|
|
43380
|
-
* List Cluster Logs
|
|
43790
|
+
* List Cluster Logs. Deprecated: use listClusterDeploymentLogs instead to fetch the logs of a specific cluster deployment.
|
|
43381
43791
|
* @summary List Cluster Logs
|
|
43382
43792
|
* @param {string} organizationId Organization ID
|
|
43383
43793
|
* @param {string} clusterId Cluster ID
|
|
43384
43794
|
* @param {*} [options] Override http request option.
|
|
43795
|
+
* @deprecated
|
|
43385
43796
|
* @throws {RequiredError}
|
|
43386
43797
|
*/
|
|
43387
43798
|
async listClusterLogs(organizationId: string, clusterId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterLogsResponseList>> {
|
|
@@ -43858,11 +44269,12 @@ export const ClustersApiFactory = function (configuration?: Configuration, baseP
|
|
|
43858
44269
|
return localVarFp.listClusterAnalysisLogs(clusterId, analysisId, options).then((request) => request(axios, basePath));
|
|
43859
44270
|
},
|
|
43860
44271
|
/**
|
|
43861
|
-
* List Cluster Logs
|
|
44272
|
+
* List Cluster Logs. Deprecated: use listClusterDeploymentLogs instead to fetch the logs of a specific cluster deployment.
|
|
43862
44273
|
* @summary List Cluster Logs
|
|
43863
44274
|
* @param {string} organizationId Organization ID
|
|
43864
44275
|
* @param {string} clusterId Cluster ID
|
|
43865
44276
|
* @param {*} [options] Override http request option.
|
|
44277
|
+
* @deprecated
|
|
43866
44278
|
* @throws {RequiredError}
|
|
43867
44279
|
*/
|
|
43868
44280
|
listClusterLogs(organizationId: string, clusterId: string, options?: RawAxiosRequestConfig): AxiosPromise<ClusterLogsResponseList> {
|
|
@@ -44358,11 +44770,12 @@ export class ClustersApi extends BaseAPI {
|
|
|
44358
44770
|
}
|
|
44359
44771
|
|
|
44360
44772
|
/**
|
|
44361
|
-
* List Cluster Logs
|
|
44773
|
+
* List Cluster Logs. Deprecated: use listClusterDeploymentLogs instead to fetch the logs of a specific cluster deployment.
|
|
44362
44774
|
* @summary List Cluster Logs
|
|
44363
44775
|
* @param {string} organizationId Organization ID
|
|
44364
44776
|
* @param {string} clusterId Cluster ID
|
|
44365
44777
|
* @param {*} [options] Override http request option.
|
|
44778
|
+
* @deprecated
|
|
44366
44779
|
* @throws {RequiredError}
|
|
44367
44780
|
* @memberof ClustersApi
|
|
44368
44781
|
*/
|