qovery-typescript-axios 1.1.164 → 1.1.166
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 +572 -36
- package/dist/api.d.ts +340 -38
- package/dist/api.js +410 -0
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -1789,6 +1789,82 @@ export enum BuildPackLanguageEnum {
|
|
|
1789
1789
|
SCALA = 'SCALA'
|
|
1790
1790
|
}
|
|
1791
1791
|
|
|
1792
|
+
/**
|
|
1793
|
+
*
|
|
1794
|
+
* @export
|
|
1795
|
+
* @interface CloneApplicationRequest
|
|
1796
|
+
*/
|
|
1797
|
+
export interface CloneApplicationRequest {
|
|
1798
|
+
/**
|
|
1799
|
+
*
|
|
1800
|
+
* @type {string}
|
|
1801
|
+
* @memberof CloneApplicationRequest
|
|
1802
|
+
*/
|
|
1803
|
+
'name': string;
|
|
1804
|
+
/**
|
|
1805
|
+
*
|
|
1806
|
+
* @type {string}
|
|
1807
|
+
* @memberof CloneApplicationRequest
|
|
1808
|
+
*/
|
|
1809
|
+
'environment_id': string;
|
|
1810
|
+
}
|
|
1811
|
+
/**
|
|
1812
|
+
*
|
|
1813
|
+
* @export
|
|
1814
|
+
* @interface CloneContainerRequest
|
|
1815
|
+
*/
|
|
1816
|
+
export interface CloneContainerRequest {
|
|
1817
|
+
/**
|
|
1818
|
+
*
|
|
1819
|
+
* @type {string}
|
|
1820
|
+
* @memberof CloneContainerRequest
|
|
1821
|
+
*/
|
|
1822
|
+
'name': string;
|
|
1823
|
+
/**
|
|
1824
|
+
*
|
|
1825
|
+
* @type {string}
|
|
1826
|
+
* @memberof CloneContainerRequest
|
|
1827
|
+
*/
|
|
1828
|
+
'environment_id': string;
|
|
1829
|
+
}
|
|
1830
|
+
/**
|
|
1831
|
+
*
|
|
1832
|
+
* @export
|
|
1833
|
+
* @interface CloneDatabaseRequest
|
|
1834
|
+
*/
|
|
1835
|
+
export interface CloneDatabaseRequest {
|
|
1836
|
+
/**
|
|
1837
|
+
*
|
|
1838
|
+
* @type {string}
|
|
1839
|
+
* @memberof CloneDatabaseRequest
|
|
1840
|
+
*/
|
|
1841
|
+
'name': string;
|
|
1842
|
+
/**
|
|
1843
|
+
*
|
|
1844
|
+
* @type {string}
|
|
1845
|
+
* @memberof CloneDatabaseRequest
|
|
1846
|
+
*/
|
|
1847
|
+
'environment_id': string;
|
|
1848
|
+
}
|
|
1849
|
+
/**
|
|
1850
|
+
*
|
|
1851
|
+
* @export
|
|
1852
|
+
* @interface CloneJobRequest
|
|
1853
|
+
*/
|
|
1854
|
+
export interface CloneJobRequest {
|
|
1855
|
+
/**
|
|
1856
|
+
*
|
|
1857
|
+
* @type {string}
|
|
1858
|
+
* @memberof CloneJobRequest
|
|
1859
|
+
*/
|
|
1860
|
+
'name': string;
|
|
1861
|
+
/**
|
|
1862
|
+
*
|
|
1863
|
+
* @type {string}
|
|
1864
|
+
* @memberof CloneJobRequest
|
|
1865
|
+
*/
|
|
1866
|
+
'environment_id': string;
|
|
1867
|
+
}
|
|
1792
1868
|
/**
|
|
1793
1869
|
*
|
|
1794
1870
|
* @export
|
|
@@ -2276,10 +2352,10 @@ export interface ClusterCloudProviderInfo {
|
|
|
2276
2352
|
'cloud_provider'?: CloudProviderEnum;
|
|
2277
2353
|
/**
|
|
2278
2354
|
*
|
|
2279
|
-
* @type {
|
|
2355
|
+
* @type {InlineResponse200Targets}
|
|
2280
2356
|
* @memberof ClusterCloudProviderInfo
|
|
2281
2357
|
*/
|
|
2282
|
-
'credentials'?:
|
|
2358
|
+
'credentials'?: InlineResponse200Targets;
|
|
2283
2359
|
/**
|
|
2284
2360
|
*
|
|
2285
2361
|
* @type {string}
|
|
@@ -2287,25 +2363,6 @@ export interface ClusterCloudProviderInfo {
|
|
|
2287
2363
|
*/
|
|
2288
2364
|
'region'?: string;
|
|
2289
2365
|
}
|
|
2290
|
-
/**
|
|
2291
|
-
*
|
|
2292
|
-
* @export
|
|
2293
|
-
* @interface ClusterCloudProviderInfoCredentials
|
|
2294
|
-
*/
|
|
2295
|
-
export interface ClusterCloudProviderInfoCredentials {
|
|
2296
|
-
/**
|
|
2297
|
-
*
|
|
2298
|
-
* @type {string}
|
|
2299
|
-
* @memberof ClusterCloudProviderInfoCredentials
|
|
2300
|
-
*/
|
|
2301
|
-
'id'?: string;
|
|
2302
|
-
/**
|
|
2303
|
-
*
|
|
2304
|
-
* @type {string}
|
|
2305
|
-
* @memberof ClusterCloudProviderInfoCredentials
|
|
2306
|
-
*/
|
|
2307
|
-
'name'?: string;
|
|
2308
|
-
}
|
|
2309
2366
|
/**
|
|
2310
2367
|
*
|
|
2311
2368
|
* @export
|
|
@@ -2320,10 +2377,10 @@ export interface ClusterCloudProviderInfoRequest {
|
|
|
2320
2377
|
'cloud_provider'?: CloudProviderEnum;
|
|
2321
2378
|
/**
|
|
2322
2379
|
*
|
|
2323
|
-
* @type {
|
|
2380
|
+
* @type {InlineResponse200Targets}
|
|
2324
2381
|
* @memberof ClusterCloudProviderInfoRequest
|
|
2325
2382
|
*/
|
|
2326
|
-
'credentials'?:
|
|
2383
|
+
'credentials'?: InlineResponse200Targets;
|
|
2327
2384
|
/**
|
|
2328
2385
|
*
|
|
2329
2386
|
* @type {string}
|
|
@@ -8061,54 +8118,86 @@ export interface InlineObject {
|
|
|
8061
8118
|
export interface InlineResponse200 {
|
|
8062
8119
|
/**
|
|
8063
8120
|
*
|
|
8064
|
-
* @type {
|
|
8121
|
+
* @type {Array<InlineResponse200Targets>}
|
|
8065
8122
|
* @memberof InlineResponse200
|
|
8066
8123
|
*/
|
|
8124
|
+
'targets'?: Array<InlineResponse200Targets>;
|
|
8125
|
+
}
|
|
8126
|
+
/**
|
|
8127
|
+
*
|
|
8128
|
+
* @export
|
|
8129
|
+
* @interface InlineResponse2001
|
|
8130
|
+
*/
|
|
8131
|
+
export interface InlineResponse2001 {
|
|
8132
|
+
/**
|
|
8133
|
+
*
|
|
8134
|
+
* @type {EnvironmentStatus}
|
|
8135
|
+
* @memberof InlineResponse2001
|
|
8136
|
+
*/
|
|
8067
8137
|
'environment'?: EnvironmentStatus;
|
|
8068
8138
|
/**
|
|
8069
8139
|
*
|
|
8070
8140
|
* @type {Array<Status>}
|
|
8071
|
-
* @memberof
|
|
8141
|
+
* @memberof InlineResponse2001
|
|
8072
8142
|
*/
|
|
8073
8143
|
'applications'?: Array<Status>;
|
|
8074
8144
|
/**
|
|
8075
8145
|
*
|
|
8076
8146
|
* @type {Array<Status>}
|
|
8077
|
-
* @memberof
|
|
8147
|
+
* @memberof InlineResponse2001
|
|
8078
8148
|
*/
|
|
8079
8149
|
'containers'?: Array<Status>;
|
|
8080
8150
|
/**
|
|
8081
8151
|
*
|
|
8082
8152
|
* @type {Array<Status>}
|
|
8083
|
-
* @memberof
|
|
8153
|
+
* @memberof InlineResponse2001
|
|
8084
8154
|
*/
|
|
8085
8155
|
'jobs'?: Array<Status>;
|
|
8086
8156
|
/**
|
|
8087
8157
|
*
|
|
8088
8158
|
* @type {Array<Status>}
|
|
8089
|
-
* @memberof
|
|
8159
|
+
* @memberof InlineResponse2001
|
|
8090
8160
|
*/
|
|
8091
8161
|
'databases'?: Array<Status>;
|
|
8092
8162
|
}
|
|
8093
8163
|
/**
|
|
8094
8164
|
*
|
|
8095
8165
|
* @export
|
|
8096
|
-
* @interface
|
|
8166
|
+
* @interface InlineResponse2002
|
|
8097
8167
|
*/
|
|
8098
|
-
export interface
|
|
8168
|
+
export interface InlineResponse2002 {
|
|
8099
8169
|
/**
|
|
8100
8170
|
*
|
|
8101
8171
|
* @type {EnvironmentStatus}
|
|
8102
|
-
* @memberof
|
|
8172
|
+
* @memberof InlineResponse2002
|
|
8103
8173
|
*/
|
|
8104
8174
|
'environment'?: EnvironmentStatus;
|
|
8105
8175
|
/**
|
|
8106
8176
|
*
|
|
8107
8177
|
* @type {DeploymentStageWithServiceStatusesList}
|
|
8108
|
-
* @memberof
|
|
8178
|
+
* @memberof InlineResponse2002
|
|
8109
8179
|
*/
|
|
8110
8180
|
'stages'?: DeploymentStageWithServiceStatusesList;
|
|
8111
8181
|
}
|
|
8182
|
+
/**
|
|
8183
|
+
*
|
|
8184
|
+
* @export
|
|
8185
|
+
* @interface InlineResponse200Targets
|
|
8186
|
+
*/
|
|
8187
|
+
export interface InlineResponse200Targets {
|
|
8188
|
+
/**
|
|
8189
|
+
*
|
|
8190
|
+
* @type {string}
|
|
8191
|
+
* @memberof InlineResponse200Targets
|
|
8192
|
+
*/
|
|
8193
|
+
'id'?: string;
|
|
8194
|
+
/**
|
|
8195
|
+
*
|
|
8196
|
+
* @type {string}
|
|
8197
|
+
* @memberof InlineResponse200Targets
|
|
8198
|
+
*/
|
|
8199
|
+
'name'?: string;
|
|
8200
|
+
}
|
|
8112
8201
|
/**
|
|
8113
8202
|
*
|
|
8114
8203
|
* @export
|
|
@@ -17482,6 +17571,48 @@ export class ApplicationSecretApi extends BaseAPI {
|
|
|
17482
17571
|
*/
|
|
17483
17572
|
export const ApplicationsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
17484
17573
|
return {
|
|
17574
|
+
/**
|
|
17575
|
+
* This will create a new application with the same configuration on the targeted environment Id.
|
|
17576
|
+
* @summary Clone application
|
|
17577
|
+
* @param {string} applicationId Application ID
|
|
17578
|
+
* @param {CloneApplicationRequest} [cloneApplicationRequest]
|
|
17579
|
+
* @param {*} [options] Override http request option.
|
|
17580
|
+
* @throws {RequiredError}
|
|
17581
|
+
*/
|
|
17582
|
+
cloneApplication: async (applicationId: string, cloneApplicationRequest?: CloneApplicationRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
17583
|
+
// verify required parameter 'applicationId' is not null or undefined
|
|
17584
|
+
assertParamExists('cloneApplication', 'applicationId', applicationId)
|
|
17585
|
+
const localVarPath = `/application/{applicationId}/clone`
|
|
17586
|
+
.replace(`{${"applicationId"}}`, encodeURIComponent(String(applicationId)));
|
|
17587
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17588
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
17589
|
+
let baseOptions;
|
|
17590
|
+
if (configuration) {
|
|
17591
|
+
baseOptions = configuration.baseOptions;
|
|
17592
|
+
}
|
|
17593
|
+
|
|
17594
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
17595
|
+
const localVarHeaderParameter = {} as any;
|
|
17596
|
+
const localVarQueryParameter = {} as any;
|
|
17597
|
+
|
|
17598
|
+
// authentication bearerAuth required
|
|
17599
|
+
// http bearer authentication required
|
|
17600
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
17601
|
+
|
|
17602
|
+
|
|
17603
|
+
|
|
17604
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
17605
|
+
|
|
17606
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
17607
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
17608
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
17609
|
+
localVarRequestOptions.data = serializeDataIfNeeded(cloneApplicationRequest, localVarRequestOptions, configuration)
|
|
17610
|
+
|
|
17611
|
+
return {
|
|
17612
|
+
url: toPathString(localVarUrlObj),
|
|
17613
|
+
options: localVarRequestOptions,
|
|
17614
|
+
};
|
|
17615
|
+
},
|
|
17485
17616
|
/**
|
|
17486
17617
|
*
|
|
17487
17618
|
* @summary Create an application
|
|
@@ -17758,6 +17889,18 @@ export const ApplicationsApiAxiosParamCreator = function (configuration?: Config
|
|
|
17758
17889
|
export const ApplicationsApiFp = function(configuration?: Configuration) {
|
|
17759
17890
|
const localVarAxiosParamCreator = ApplicationsApiAxiosParamCreator(configuration)
|
|
17760
17891
|
return {
|
|
17892
|
+
/**
|
|
17893
|
+
* This will create a new application with the same configuration on the targeted environment Id.
|
|
17894
|
+
* @summary Clone application
|
|
17895
|
+
* @param {string} applicationId Application ID
|
|
17896
|
+
* @param {CloneApplicationRequest} [cloneApplicationRequest]
|
|
17897
|
+
* @param {*} [options] Override http request option.
|
|
17898
|
+
* @throws {RequiredError}
|
|
17899
|
+
*/
|
|
17900
|
+
async cloneApplication(applicationId: string, cloneApplicationRequest?: CloneApplicationRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Application>> {
|
|
17901
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.cloneApplication(applicationId, cloneApplicationRequest, options);
|
|
17902
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
17903
|
+
},
|
|
17761
17904
|
/**
|
|
17762
17905
|
*
|
|
17763
17906
|
* @summary Create an application
|
|
@@ -17845,6 +17988,17 @@ export const ApplicationsApiFp = function(configuration?: Configuration) {
|
|
|
17845
17988
|
export const ApplicationsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
17846
17989
|
const localVarFp = ApplicationsApiFp(configuration)
|
|
17847
17990
|
return {
|
|
17991
|
+
/**
|
|
17992
|
+
* This will create a new application with the same configuration on the targeted environment Id.
|
|
17993
|
+
* @summary Clone application
|
|
17994
|
+
* @param {string} applicationId Application ID
|
|
17995
|
+
* @param {CloneApplicationRequest} [cloneApplicationRequest]
|
|
17996
|
+
* @param {*} [options] Override http request option.
|
|
17997
|
+
* @throws {RequiredError}
|
|
17998
|
+
*/
|
|
17999
|
+
cloneApplication(applicationId: string, cloneApplicationRequest?: CloneApplicationRequest, options?: any): AxiosPromise<Application> {
|
|
18000
|
+
return localVarFp.cloneApplication(applicationId, cloneApplicationRequest, options).then((request) => request(axios, basePath));
|
|
18001
|
+
},
|
|
17848
18002
|
/**
|
|
17849
18003
|
*
|
|
17850
18004
|
* @summary Create an application
|
|
@@ -17925,6 +18079,19 @@ export const ApplicationsApiFactory = function (configuration?: Configuration, b
|
|
|
17925
18079
|
* @extends {BaseAPI}
|
|
17926
18080
|
*/
|
|
17927
18081
|
export class ApplicationsApi extends BaseAPI {
|
|
18082
|
+
/**
|
|
18083
|
+
* This will create a new application with the same configuration on the targeted environment Id.
|
|
18084
|
+
* @summary Clone application
|
|
18085
|
+
* @param {string} applicationId Application ID
|
|
18086
|
+
* @param {CloneApplicationRequest} [cloneApplicationRequest]
|
|
18087
|
+
* @param {*} [options] Override http request option.
|
|
18088
|
+
* @throws {RequiredError}
|
|
18089
|
+
* @memberof ApplicationsApi
|
|
18090
|
+
*/
|
|
18091
|
+
public cloneApplication(applicationId: string, cloneApplicationRequest?: CloneApplicationRequest, options?: AxiosRequestConfig) {
|
|
18092
|
+
return ApplicationsApiFp(this.configuration).cloneApplication(applicationId, cloneApplicationRequest, options).then((request) => request(this.axios, this.basePath));
|
|
18093
|
+
}
|
|
18094
|
+
|
|
17928
18095
|
/**
|
|
17929
18096
|
*
|
|
17930
18097
|
* @summary Create an application
|
|
@@ -26949,6 +27116,48 @@ export const ContainersApiAxiosParamCreator = function (configuration?: Configur
|
|
|
26949
27116
|
options: localVarRequestOptions,
|
|
26950
27117
|
};
|
|
26951
27118
|
},
|
|
27119
|
+
/**
|
|
27120
|
+
* This will create a new container with the same configuration on the targeted environment Id.
|
|
27121
|
+
* @summary Clone container
|
|
27122
|
+
* @param {string} containerId Container ID
|
|
27123
|
+
* @param {CloneContainerRequest} [cloneContainerRequest]
|
|
27124
|
+
* @param {*} [options] Override http request option.
|
|
27125
|
+
* @throws {RequiredError}
|
|
27126
|
+
*/
|
|
27127
|
+
cloneContainer: async (containerId: string, cloneContainerRequest?: CloneContainerRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
27128
|
+
// verify required parameter 'containerId' is not null or undefined
|
|
27129
|
+
assertParamExists('cloneContainer', 'containerId', containerId)
|
|
27130
|
+
const localVarPath = `/container/{containerId}/clone`
|
|
27131
|
+
.replace(`{${"containerId"}}`, encodeURIComponent(String(containerId)));
|
|
27132
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
27133
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
27134
|
+
let baseOptions;
|
|
27135
|
+
if (configuration) {
|
|
27136
|
+
baseOptions = configuration.baseOptions;
|
|
27137
|
+
}
|
|
27138
|
+
|
|
27139
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
27140
|
+
const localVarHeaderParameter = {} as any;
|
|
27141
|
+
const localVarQueryParameter = {} as any;
|
|
27142
|
+
|
|
27143
|
+
// authentication bearerAuth required
|
|
27144
|
+
// http bearer authentication required
|
|
27145
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
27146
|
+
|
|
27147
|
+
|
|
27148
|
+
|
|
27149
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
27150
|
+
|
|
27151
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
27152
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
27153
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
27154
|
+
localVarRequestOptions.data = serializeDataIfNeeded(cloneContainerRequest, localVarRequestOptions, configuration)
|
|
27155
|
+
|
|
27156
|
+
return {
|
|
27157
|
+
url: toPathString(localVarUrlObj),
|
|
27158
|
+
options: localVarRequestOptions,
|
|
27159
|
+
};
|
|
27160
|
+
},
|
|
26952
27161
|
/**
|
|
26953
27162
|
*
|
|
26954
27163
|
* @summary Create a container
|
|
@@ -27283,6 +27492,18 @@ export const ContainersApiFp = function(configuration?: Configuration) {
|
|
|
27283
27492
|
const localVarAxiosArgs = await localVarAxiosParamCreator.autoDeployContainerEnvironments(organizationId, organizationContainerAutoDeployRequest, options);
|
|
27284
27493
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
27285
27494
|
},
|
|
27495
|
+
/**
|
|
27496
|
+
* This will create a new container with the same configuration on the targeted environment Id.
|
|
27497
|
+
* @summary Clone container
|
|
27498
|
+
* @param {string} containerId Container ID
|
|
27499
|
+
* @param {CloneContainerRequest} [cloneContainerRequest]
|
|
27500
|
+
* @param {*} [options] Override http request option.
|
|
27501
|
+
* @throws {RequiredError}
|
|
27502
|
+
*/
|
|
27503
|
+
async cloneContainer(containerId: string, cloneContainerRequest?: CloneContainerRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContainerResponse>> {
|
|
27504
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.cloneContainer(containerId, cloneContainerRequest, options);
|
|
27505
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
27506
|
+
},
|
|
27286
27507
|
/**
|
|
27287
27508
|
*
|
|
27288
27509
|
* @summary Create a container
|
|
@@ -27394,6 +27615,17 @@ export const ContainersApiFactory = function (configuration?: Configuration, bas
|
|
|
27394
27615
|
autoDeployContainerEnvironments(organizationId: string, organizationContainerAutoDeployRequest?: OrganizationContainerAutoDeployRequest, options?: any): AxiosPromise<Status> {
|
|
27395
27616
|
return localVarFp.autoDeployContainerEnvironments(organizationId, organizationContainerAutoDeployRequest, options).then((request) => request(axios, basePath));
|
|
27396
27617
|
},
|
|
27618
|
+
/**
|
|
27619
|
+
* This will create a new container with the same configuration on the targeted environment Id.
|
|
27620
|
+
* @summary Clone container
|
|
27621
|
+
* @param {string} containerId Container ID
|
|
27622
|
+
* @param {CloneContainerRequest} [cloneContainerRequest]
|
|
27623
|
+
* @param {*} [options] Override http request option.
|
|
27624
|
+
* @throws {RequiredError}
|
|
27625
|
+
*/
|
|
27626
|
+
cloneContainer(containerId: string, cloneContainerRequest?: CloneContainerRequest, options?: any): AxiosPromise<ContainerResponse> {
|
|
27627
|
+
return localVarFp.cloneContainer(containerId, cloneContainerRequest, options).then((request) => request(axios, basePath));
|
|
27628
|
+
},
|
|
27397
27629
|
/**
|
|
27398
27630
|
*
|
|
27399
27631
|
* @summary Create a container
|
|
@@ -27499,6 +27731,19 @@ export class ContainersApi extends BaseAPI {
|
|
|
27499
27731
|
return ContainersApiFp(this.configuration).autoDeployContainerEnvironments(organizationId, organizationContainerAutoDeployRequest, options).then((request) => request(this.axios, this.basePath));
|
|
27500
27732
|
}
|
|
27501
27733
|
|
|
27734
|
+
/**
|
|
27735
|
+
* This will create a new container with the same configuration on the targeted environment Id.
|
|
27736
|
+
* @summary Clone container
|
|
27737
|
+
* @param {string} containerId Container ID
|
|
27738
|
+
* @param {CloneContainerRequest} [cloneContainerRequest]
|
|
27739
|
+
* @param {*} [options] Override http request option.
|
|
27740
|
+
* @throws {RequiredError}
|
|
27741
|
+
* @memberof ContainersApi
|
|
27742
|
+
*/
|
|
27743
|
+
public cloneContainer(containerId: string, cloneContainerRequest?: CloneContainerRequest, options?: AxiosRequestConfig) {
|
|
27744
|
+
return ContainersApiFp(this.configuration).cloneContainer(containerId, cloneContainerRequest, options).then((request) => request(this.axios, this.basePath));
|
|
27745
|
+
}
|
|
27746
|
+
|
|
27502
27747
|
/**
|
|
27503
27748
|
*
|
|
27504
27749
|
* @summary Create a container
|
|
@@ -29829,6 +30074,48 @@ export class DatabaseMetricsApi extends BaseAPI {
|
|
|
29829
30074
|
*/
|
|
29830
30075
|
export const DatabasesApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
29831
30076
|
return {
|
|
30077
|
+
/**
|
|
30078
|
+
* This will create a new database with the same configuration on the targeted environment Id.
|
|
30079
|
+
* @summary Clone database
|
|
30080
|
+
* @param {string} databaseId Database ID
|
|
30081
|
+
* @param {CloneDatabaseRequest} [cloneDatabaseRequest]
|
|
30082
|
+
* @param {*} [options] Override http request option.
|
|
30083
|
+
* @throws {RequiredError}
|
|
30084
|
+
*/
|
|
30085
|
+
cloneDatabase: async (databaseId: string, cloneDatabaseRequest?: CloneDatabaseRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
30086
|
+
// verify required parameter 'databaseId' is not null or undefined
|
|
30087
|
+
assertParamExists('cloneDatabase', 'databaseId', databaseId)
|
|
30088
|
+
const localVarPath = `/database/{databaseId}/clone`
|
|
30089
|
+
.replace(`{${"databaseId"}}`, encodeURIComponent(String(databaseId)));
|
|
30090
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
30091
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
30092
|
+
let baseOptions;
|
|
30093
|
+
if (configuration) {
|
|
30094
|
+
baseOptions = configuration.baseOptions;
|
|
30095
|
+
}
|
|
30096
|
+
|
|
30097
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
30098
|
+
const localVarHeaderParameter = {} as any;
|
|
30099
|
+
const localVarQueryParameter = {} as any;
|
|
30100
|
+
|
|
30101
|
+
// authentication bearerAuth required
|
|
30102
|
+
// http bearer authentication required
|
|
30103
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
30104
|
+
|
|
30105
|
+
|
|
30106
|
+
|
|
30107
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
30108
|
+
|
|
30109
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
30110
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
30111
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
30112
|
+
localVarRequestOptions.data = serializeDataIfNeeded(cloneDatabaseRequest, localVarRequestOptions, configuration)
|
|
30113
|
+
|
|
30114
|
+
return {
|
|
30115
|
+
url: toPathString(localVarUrlObj),
|
|
30116
|
+
options: localVarRequestOptions,
|
|
30117
|
+
};
|
|
30118
|
+
},
|
|
29832
30119
|
/**
|
|
29833
30120
|
*
|
|
29834
30121
|
* @summary Create a database
|
|
@@ -30033,6 +30320,18 @@ export const DatabasesApiAxiosParamCreator = function (configuration?: Configura
|
|
|
30033
30320
|
export const DatabasesApiFp = function(configuration?: Configuration) {
|
|
30034
30321
|
const localVarAxiosParamCreator = DatabasesApiAxiosParamCreator(configuration)
|
|
30035
30322
|
return {
|
|
30323
|
+
/**
|
|
30324
|
+
* This will create a new database with the same configuration on the targeted environment Id.
|
|
30325
|
+
* @summary Clone database
|
|
30326
|
+
* @param {string} databaseId Database ID
|
|
30327
|
+
* @param {CloneDatabaseRequest} [cloneDatabaseRequest]
|
|
30328
|
+
* @param {*} [options] Override http request option.
|
|
30329
|
+
* @throws {RequiredError}
|
|
30330
|
+
*/
|
|
30331
|
+
async cloneDatabase(databaseId: string, cloneDatabaseRequest?: CloneDatabaseRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Database>> {
|
|
30332
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.cloneDatabase(databaseId, cloneDatabaseRequest, options);
|
|
30333
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
30334
|
+
},
|
|
30036
30335
|
/**
|
|
30037
30336
|
*
|
|
30038
30337
|
* @summary Create a database
|
|
@@ -30099,6 +30398,17 @@ export const DatabasesApiFp = function(configuration?: Configuration) {
|
|
|
30099
30398
|
export const DatabasesApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
30100
30399
|
const localVarFp = DatabasesApiFp(configuration)
|
|
30101
30400
|
return {
|
|
30401
|
+
/**
|
|
30402
|
+
* This will create a new database with the same configuration on the targeted environment Id.
|
|
30403
|
+
* @summary Clone database
|
|
30404
|
+
* @param {string} databaseId Database ID
|
|
30405
|
+
* @param {CloneDatabaseRequest} [cloneDatabaseRequest]
|
|
30406
|
+
* @param {*} [options] Override http request option.
|
|
30407
|
+
* @throws {RequiredError}
|
|
30408
|
+
*/
|
|
30409
|
+
cloneDatabase(databaseId: string, cloneDatabaseRequest?: CloneDatabaseRequest, options?: any): AxiosPromise<Database> {
|
|
30410
|
+
return localVarFp.cloneDatabase(databaseId, cloneDatabaseRequest, options).then((request) => request(axios, basePath));
|
|
30411
|
+
},
|
|
30102
30412
|
/**
|
|
30103
30413
|
*
|
|
30104
30414
|
* @summary Create a database
|
|
@@ -30160,6 +30470,19 @@ export const DatabasesApiFactory = function (configuration?: Configuration, base
|
|
|
30160
30470
|
* @extends {BaseAPI}
|
|
30161
30471
|
*/
|
|
30162
30472
|
export class DatabasesApi extends BaseAPI {
|
|
30473
|
+
/**
|
|
30474
|
+
* This will create a new database with the same configuration on the targeted environment Id.
|
|
30475
|
+
* @summary Clone database
|
|
30476
|
+
* @param {string} databaseId Database ID
|
|
30477
|
+
* @param {CloneDatabaseRequest} [cloneDatabaseRequest]
|
|
30478
|
+
* @param {*} [options] Override http request option.
|
|
30479
|
+
* @throws {RequiredError}
|
|
30480
|
+
* @memberof DatabasesApi
|
|
30481
|
+
*/
|
|
30482
|
+
public cloneDatabase(databaseId: string, cloneDatabaseRequest?: CloneDatabaseRequest, options?: AxiosRequestConfig) {
|
|
30483
|
+
return DatabasesApiFp(this.configuration).cloneDatabase(databaseId, cloneDatabaseRequest, options).then((request) => request(this.axios, this.basePath));
|
|
30484
|
+
}
|
|
30485
|
+
|
|
30163
30486
|
/**
|
|
30164
30487
|
*
|
|
30165
30488
|
* @summary Create a database
|
|
@@ -32594,7 +32917,7 @@ export const EnvironmentMainCallsApiFp = function(configuration?: Configuration)
|
|
|
32594
32917
|
* @param {*} [options] Override http request option.
|
|
32595
32918
|
* @throws {RequiredError}
|
|
32596
32919
|
*/
|
|
32597
|
-
async getEnvironmentStatuses(environmentId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
32920
|
+
async getEnvironmentStatuses(environmentId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InlineResponse2001>> {
|
|
32598
32921
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getEnvironmentStatuses(environmentId, options);
|
|
32599
32922
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
32600
32923
|
},
|
|
@@ -32605,7 +32928,7 @@ export const EnvironmentMainCallsApiFp = function(configuration?: Configuration)
|
|
|
32605
32928
|
* @param {*} [options] Override http request option.
|
|
32606
32929
|
* @throws {RequiredError}
|
|
32607
32930
|
*/
|
|
32608
|
-
async getEnvironmentStatusesWithStages(environmentId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
32931
|
+
async getEnvironmentStatusesWithStages(environmentId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InlineResponse2002>> {
|
|
32609
32932
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getEnvironmentStatusesWithStages(environmentId, options);
|
|
32610
32933
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
32611
32934
|
},
|
|
@@ -32667,7 +32990,7 @@ export const EnvironmentMainCallsApiFactory = function (configuration?: Configur
|
|
|
32667
32990
|
* @param {*} [options] Override http request option.
|
|
32668
32991
|
* @throws {RequiredError}
|
|
32669
32992
|
*/
|
|
32670
|
-
getEnvironmentStatuses(environmentId: string, options?: any): AxiosPromise<
|
|
32993
|
+
getEnvironmentStatuses(environmentId: string, options?: any): AxiosPromise<InlineResponse2001> {
|
|
32671
32994
|
return localVarFp.getEnvironmentStatuses(environmentId, options).then((request) => request(axios, basePath));
|
|
32672
32995
|
},
|
|
32673
32996
|
/**
|
|
@@ -32677,7 +33000,7 @@ export const EnvironmentMainCallsApiFactory = function (configuration?: Configur
|
|
|
32677
33000
|
* @param {*} [options] Override http request option.
|
|
32678
33001
|
* @throws {RequiredError}
|
|
32679
33002
|
*/
|
|
32680
|
-
getEnvironmentStatusesWithStages(environmentId: string, options?: any): AxiosPromise<
|
|
33003
|
+
getEnvironmentStatusesWithStages(environmentId: string, options?: any): AxiosPromise<InlineResponse2002> {
|
|
32681
33004
|
return localVarFp.getEnvironmentStatusesWithStages(environmentId, options).then((request) => request(axios, basePath));
|
|
32682
33005
|
},
|
|
32683
33006
|
};
|
|
@@ -37173,6 +37496,48 @@ export class JobSecretApi extends BaseAPI {
|
|
|
37173
37496
|
*/
|
|
37174
37497
|
export const JobsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
37175
37498
|
return {
|
|
37499
|
+
/**
|
|
37500
|
+
* This will create a new job with the same configuration on the targeted environment Id.
|
|
37501
|
+
* @summary Clone job
|
|
37502
|
+
* @param {string} jobId Job ID
|
|
37503
|
+
* @param {CloneJobRequest} [cloneJobRequest]
|
|
37504
|
+
* @param {*} [options] Override http request option.
|
|
37505
|
+
* @throws {RequiredError}
|
|
37506
|
+
*/
|
|
37507
|
+
cloneJob: async (jobId: string, cloneJobRequest?: CloneJobRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
37508
|
+
// verify required parameter 'jobId' is not null or undefined
|
|
37509
|
+
assertParamExists('cloneJob', 'jobId', jobId)
|
|
37510
|
+
const localVarPath = `/job/{jobId}/clone`
|
|
37511
|
+
.replace(`{${"jobId"}}`, encodeURIComponent(String(jobId)));
|
|
37512
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
37513
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
37514
|
+
let baseOptions;
|
|
37515
|
+
if (configuration) {
|
|
37516
|
+
baseOptions = configuration.baseOptions;
|
|
37517
|
+
}
|
|
37518
|
+
|
|
37519
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
37520
|
+
const localVarHeaderParameter = {} as any;
|
|
37521
|
+
const localVarQueryParameter = {} as any;
|
|
37522
|
+
|
|
37523
|
+
// authentication bearerAuth required
|
|
37524
|
+
// http bearer authentication required
|
|
37525
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
37526
|
+
|
|
37527
|
+
|
|
37528
|
+
|
|
37529
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
37530
|
+
|
|
37531
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
37532
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
37533
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
37534
|
+
localVarRequestOptions.data = serializeDataIfNeeded(cloneJobRequest, localVarRequestOptions, configuration)
|
|
37535
|
+
|
|
37536
|
+
return {
|
|
37537
|
+
url: toPathString(localVarUrlObj),
|
|
37538
|
+
options: localVarRequestOptions,
|
|
37539
|
+
};
|
|
37540
|
+
},
|
|
37176
37541
|
/**
|
|
37177
37542
|
*
|
|
37178
37543
|
* @summary Create a job
|
|
@@ -37340,6 +37705,18 @@ export const JobsApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
37340
37705
|
export const JobsApiFp = function(configuration?: Configuration) {
|
|
37341
37706
|
const localVarAxiosParamCreator = JobsApiAxiosParamCreator(configuration)
|
|
37342
37707
|
return {
|
|
37708
|
+
/**
|
|
37709
|
+
* This will create a new job with the same configuration on the targeted environment Id.
|
|
37710
|
+
* @summary Clone job
|
|
37711
|
+
* @param {string} jobId Job ID
|
|
37712
|
+
* @param {CloneJobRequest} [cloneJobRequest]
|
|
37713
|
+
* @param {*} [options] Override http request option.
|
|
37714
|
+
* @throws {RequiredError}
|
|
37715
|
+
*/
|
|
37716
|
+
async cloneJob(jobId: string, cloneJobRequest?: CloneJobRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JobResponse>> {
|
|
37717
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.cloneJob(jobId, cloneJobRequest, options);
|
|
37718
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
37719
|
+
},
|
|
37343
37720
|
/**
|
|
37344
37721
|
*
|
|
37345
37722
|
* @summary Create a job
|
|
@@ -37395,6 +37772,17 @@ export const JobsApiFp = function(configuration?: Configuration) {
|
|
|
37395
37772
|
export const JobsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
37396
37773
|
const localVarFp = JobsApiFp(configuration)
|
|
37397
37774
|
return {
|
|
37775
|
+
/**
|
|
37776
|
+
* This will create a new job with the same configuration on the targeted environment Id.
|
|
37777
|
+
* @summary Clone job
|
|
37778
|
+
* @param {string} jobId Job ID
|
|
37779
|
+
* @param {CloneJobRequest} [cloneJobRequest]
|
|
37780
|
+
* @param {*} [options] Override http request option.
|
|
37781
|
+
* @throws {RequiredError}
|
|
37782
|
+
*/
|
|
37783
|
+
cloneJob(jobId: string, cloneJobRequest?: CloneJobRequest, options?: any): AxiosPromise<JobResponse> {
|
|
37784
|
+
return localVarFp.cloneJob(jobId, cloneJobRequest, options).then((request) => request(axios, basePath));
|
|
37785
|
+
},
|
|
37398
37786
|
/**
|
|
37399
37787
|
*
|
|
37400
37788
|
* @summary Create a job
|
|
@@ -37446,6 +37834,19 @@ export const JobsApiFactory = function (configuration?: Configuration, basePath?
|
|
|
37446
37834
|
* @extends {BaseAPI}
|
|
37447
37835
|
*/
|
|
37448
37836
|
export class JobsApi extends BaseAPI {
|
|
37837
|
+
/**
|
|
37838
|
+
* This will create a new job with the same configuration on the targeted environment Id.
|
|
37839
|
+
* @summary Clone job
|
|
37840
|
+
* @param {string} jobId Job ID
|
|
37841
|
+
* @param {CloneJobRequest} [cloneJobRequest]
|
|
37842
|
+
* @param {*} [options] Override http request option.
|
|
37843
|
+
* @throws {RequiredError}
|
|
37844
|
+
* @memberof JobsApi
|
|
37845
|
+
*/
|
|
37846
|
+
public cloneJob(jobId: string, cloneJobRequest?: CloneJobRequest, options?: AxiosRequestConfig) {
|
|
37847
|
+
return JobsApiFp(this.configuration).cloneJob(jobId, cloneJobRequest, options).then((request) => request(this.axios, this.basePath));
|
|
37848
|
+
}
|
|
37849
|
+
|
|
37449
37850
|
/**
|
|
37450
37851
|
*
|
|
37451
37852
|
* @summary Create a job
|
|
@@ -39481,6 +39882,84 @@ export class OrganizationCustomRoleApi extends BaseAPI {
|
|
|
39481
39882
|
*/
|
|
39482
39883
|
export const OrganizationEventApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
39483
39884
|
return {
|
|
39885
|
+
/**
|
|
39886
|
+
* Get available event targets to filter events
|
|
39887
|
+
* @summary Get available event targets to filter events
|
|
39888
|
+
* @param {string} organizationId Organization ID
|
|
39889
|
+
* @param {string} [fromTimestamp] Display targets available since this timestamp. A range of date can be specified by using `from-timestamp` with `to-timestamp` The format is a timestamp with nano precision
|
|
39890
|
+
* @param {string} [toTimestamp] Display targets triggered before this timestamp. A range of date can be specified by using `to-timestamp` with `from-timestamp` The format is a timestamp with nano precision
|
|
39891
|
+
* @param {OrganizationEventType} [eventType]
|
|
39892
|
+
* @param {OrganizationEventTargetType} [targetType]
|
|
39893
|
+
* @param {string} [triggeredBy] Information about the owner of the event (user name / apitoken / automatic action)
|
|
39894
|
+
* @param {OrganizationEventOrigin} [origin]
|
|
39895
|
+
* @param {string} [projectId] Mandatory when requesting an environment or a service
|
|
39896
|
+
* @param {string} [environmentId] Mandatory when requesting a service
|
|
39897
|
+
* @param {*} [options] Override http request option.
|
|
39898
|
+
* @throws {RequiredError}
|
|
39899
|
+
*/
|
|
39900
|
+
getOrganizationEventTargets: async (organizationId: string, fromTimestamp?: string, toTimestamp?: string, eventType?: OrganizationEventType, targetType?: OrganizationEventTargetType, triggeredBy?: string, origin?: OrganizationEventOrigin, projectId?: string, environmentId?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
39901
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
39902
|
+
assertParamExists('getOrganizationEventTargets', 'organizationId', organizationId)
|
|
39903
|
+
const localVarPath = `/organization/{organizationId}/targets`
|
|
39904
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
|
|
39905
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
39906
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
39907
|
+
let baseOptions;
|
|
39908
|
+
if (configuration) {
|
|
39909
|
+
baseOptions = configuration.baseOptions;
|
|
39910
|
+
}
|
|
39911
|
+
|
|
39912
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
39913
|
+
const localVarHeaderParameter = {} as any;
|
|
39914
|
+
const localVarQueryParameter = {} as any;
|
|
39915
|
+
|
|
39916
|
+
// authentication bearerAuth required
|
|
39917
|
+
// http bearer authentication required
|
|
39918
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
39919
|
+
|
|
39920
|
+
if (fromTimestamp !== undefined) {
|
|
39921
|
+
localVarQueryParameter['fromTimestamp'] = fromTimestamp;
|
|
39922
|
+
}
|
|
39923
|
+
|
|
39924
|
+
if (toTimestamp !== undefined) {
|
|
39925
|
+
localVarQueryParameter['toTimestamp'] = toTimestamp;
|
|
39926
|
+
}
|
|
39927
|
+
|
|
39928
|
+
if (eventType !== undefined) {
|
|
39929
|
+
localVarQueryParameter['eventType'] = eventType;
|
|
39930
|
+
}
|
|
39931
|
+
|
|
39932
|
+
if (targetType !== undefined) {
|
|
39933
|
+
localVarQueryParameter['targetType'] = targetType;
|
|
39934
|
+
}
|
|
39935
|
+
|
|
39936
|
+
if (triggeredBy !== undefined) {
|
|
39937
|
+
localVarQueryParameter['triggeredBy'] = triggeredBy;
|
|
39938
|
+
}
|
|
39939
|
+
|
|
39940
|
+
if (origin !== undefined) {
|
|
39941
|
+
localVarQueryParameter['origin'] = origin;
|
|
39942
|
+
}
|
|
39943
|
+
|
|
39944
|
+
if (projectId !== undefined) {
|
|
39945
|
+
localVarQueryParameter['projectId'] = projectId;
|
|
39946
|
+
}
|
|
39947
|
+
|
|
39948
|
+
if (environmentId !== undefined) {
|
|
39949
|
+
localVarQueryParameter['environmentId'] = environmentId;
|
|
39950
|
+
}
|
|
39951
|
+
|
|
39952
|
+
|
|
39953
|
+
|
|
39954
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
39955
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
39956
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
39957
|
+
|
|
39958
|
+
return {
|
|
39959
|
+
url: toPathString(localVarUrlObj),
|
|
39960
|
+
options: localVarRequestOptions,
|
|
39961
|
+
};
|
|
39962
|
+
},
|
|
39484
39963
|
/**
|
|
39485
39964
|
* Get all events inside the organization
|
|
39486
39965
|
* @summary Get all events inside the organization
|
|
@@ -39584,6 +40063,25 @@ export const OrganizationEventApiAxiosParamCreator = function (configuration?: C
|
|
|
39584
40063
|
export const OrganizationEventApiFp = function(configuration?: Configuration) {
|
|
39585
40064
|
const localVarAxiosParamCreator = OrganizationEventApiAxiosParamCreator(configuration)
|
|
39586
40065
|
return {
|
|
40066
|
+
/**
|
|
40067
|
+
* Get available event targets to filter events
|
|
40068
|
+
* @summary Get available event targets to filter events
|
|
40069
|
+
* @param {string} organizationId Organization ID
|
|
40070
|
+
* @param {string} [fromTimestamp] Display targets available since this timestamp. A range of date can be specified by using `from-timestamp` with `to-timestamp` The format is a timestamp with nano precision
|
|
40071
|
+
* @param {string} [toTimestamp] Display targets triggered before this timestamp. A range of date can be specified by using `to-timestamp` with `from-timestamp` The format is a timestamp with nano precision
|
|
40072
|
+
* @param {OrganizationEventType} [eventType]
|
|
40073
|
+
* @param {OrganizationEventTargetType} [targetType]
|
|
40074
|
+
* @param {string} [triggeredBy] Information about the owner of the event (user name / apitoken / automatic action)
|
|
40075
|
+
* @param {OrganizationEventOrigin} [origin]
|
|
40076
|
+
* @param {string} [projectId] Mandatory when requesting an environment or a service
|
|
40077
|
+
* @param {string} [environmentId] Mandatory when requesting a service
|
|
40078
|
+
* @param {*} [options] Override http request option.
|
|
40079
|
+
* @throws {RequiredError}
|
|
40080
|
+
*/
|
|
40081
|
+
async getOrganizationEventTargets(organizationId: string, fromTimestamp?: string, toTimestamp?: string, eventType?: OrganizationEventType, targetType?: OrganizationEventTargetType, triggeredBy?: string, origin?: OrganizationEventOrigin, projectId?: string, environmentId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InlineResponse200>> {
|
|
40082
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getOrganizationEventTargets(organizationId, fromTimestamp, toTimestamp, eventType, targetType, triggeredBy, origin, projectId, environmentId, options);
|
|
40083
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
40084
|
+
},
|
|
39587
40085
|
/**
|
|
39588
40086
|
* Get all events inside the organization
|
|
39589
40087
|
* @summary Get all events inside the organization
|
|
@@ -39616,6 +40114,24 @@ export const OrganizationEventApiFp = function(configuration?: Configuration) {
|
|
|
39616
40114
|
export const OrganizationEventApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
39617
40115
|
const localVarFp = OrganizationEventApiFp(configuration)
|
|
39618
40116
|
return {
|
|
40117
|
+
/**
|
|
40118
|
+
* Get available event targets to filter events
|
|
40119
|
+
* @summary Get available event targets to filter events
|
|
40120
|
+
* @param {string} organizationId Organization ID
|
|
40121
|
+
* @param {string} [fromTimestamp] Display targets available since this timestamp. A range of date can be specified by using `from-timestamp` with `to-timestamp` The format is a timestamp with nano precision
|
|
40122
|
+
* @param {string} [toTimestamp] Display targets triggered before this timestamp. A range of date can be specified by using `to-timestamp` with `from-timestamp` The format is a timestamp with nano precision
|
|
40123
|
+
* @param {OrganizationEventType} [eventType]
|
|
40124
|
+
* @param {OrganizationEventTargetType} [targetType]
|
|
40125
|
+
* @param {string} [triggeredBy] Information about the owner of the event (user name / apitoken / automatic action)
|
|
40126
|
+
* @param {OrganizationEventOrigin} [origin]
|
|
40127
|
+
* @param {string} [projectId] Mandatory when requesting an environment or a service
|
|
40128
|
+
* @param {string} [environmentId] Mandatory when requesting a service
|
|
40129
|
+
* @param {*} [options] Override http request option.
|
|
40130
|
+
* @throws {RequiredError}
|
|
40131
|
+
*/
|
|
40132
|
+
getOrganizationEventTargets(organizationId: string, fromTimestamp?: string, toTimestamp?: string, eventType?: OrganizationEventType, targetType?: OrganizationEventTargetType, triggeredBy?: string, origin?: OrganizationEventOrigin, projectId?: string, environmentId?: string, options?: any): AxiosPromise<InlineResponse200> {
|
|
40133
|
+
return localVarFp.getOrganizationEventTargets(organizationId, fromTimestamp, toTimestamp, eventType, targetType, triggeredBy, origin, projectId, environmentId, options).then((request) => request(axios, basePath));
|
|
40134
|
+
},
|
|
39619
40135
|
/**
|
|
39620
40136
|
* Get all events inside the organization
|
|
39621
40137
|
* @summary Get all events inside the organization
|
|
@@ -39647,6 +40163,26 @@ export const OrganizationEventApiFactory = function (configuration?: Configurati
|
|
|
39647
40163
|
* @extends {BaseAPI}
|
|
39648
40164
|
*/
|
|
39649
40165
|
export class OrganizationEventApi extends BaseAPI {
|
|
40166
|
+
/**
|
|
40167
|
+
* Get available event targets to filter events
|
|
40168
|
+
* @summary Get available event targets to filter events
|
|
40169
|
+
* @param {string} organizationId Organization ID
|
|
40170
|
+
* @param {string} [fromTimestamp] Display targets available since this timestamp. A range of date can be specified by using `from-timestamp` with `to-timestamp` The format is a timestamp with nano precision
|
|
40171
|
+
* @param {string} [toTimestamp] Display targets triggered before this timestamp. A range of date can be specified by using `to-timestamp` with `from-timestamp` The format is a timestamp with nano precision
|
|
40172
|
+
* @param {OrganizationEventType} [eventType]
|
|
40173
|
+
* @param {OrganizationEventTargetType} [targetType]
|
|
40174
|
+
* @param {string} [triggeredBy] Information about the owner of the event (user name / apitoken / automatic action)
|
|
40175
|
+
* @param {OrganizationEventOrigin} [origin]
|
|
40176
|
+
* @param {string} [projectId] Mandatory when requesting an environment or a service
|
|
40177
|
+
* @param {string} [environmentId] Mandatory when requesting a service
|
|
40178
|
+
* @param {*} [options] Override http request option.
|
|
40179
|
+
* @throws {RequiredError}
|
|
40180
|
+
* @memberof OrganizationEventApi
|
|
40181
|
+
*/
|
|
40182
|
+
public getOrganizationEventTargets(organizationId: string, fromTimestamp?: string, toTimestamp?: string, eventType?: OrganizationEventType, targetType?: OrganizationEventTargetType, triggeredBy?: string, origin?: OrganizationEventOrigin, projectId?: string, environmentId?: string, options?: AxiosRequestConfig) {
|
|
40183
|
+
return OrganizationEventApiFp(this.configuration).getOrganizationEventTargets(organizationId, fromTimestamp, toTimestamp, eventType, targetType, triggeredBy, origin, projectId, environmentId, options).then((request) => request(this.axios, this.basePath));
|
|
40184
|
+
}
|
|
40185
|
+
|
|
39650
40186
|
/**
|
|
39651
40187
|
* Get all events inside the organization
|
|
39652
40188
|
* @summary Get all events inside the organization
|