qovery-typescript-axios 1.1.1 → 1.1.4
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 +149 -169
- package/dist/api.d.ts +99 -167
- package/dist/api.js +112 -19
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -2011,17 +2011,17 @@ export interface Cluster {
|
|
|
2011
2011
|
*/
|
|
2012
2012
|
'production'?: boolean;
|
|
2013
2013
|
/**
|
|
2014
|
-
*
|
|
2015
|
-
* @type {
|
|
2014
|
+
* Indicate your public ssh_key to remotely connect to your EC2 instance.
|
|
2015
|
+
* @type {Array<string>}
|
|
2016
2016
|
* @memberof Cluster
|
|
2017
2017
|
*/
|
|
2018
|
-
'ssh_keys'?:
|
|
2018
|
+
'ssh_keys'?: Array<string>;
|
|
2019
2019
|
/**
|
|
2020
2020
|
*
|
|
2021
|
-
* @type {Array<
|
|
2021
|
+
* @type {Array<ClusterFeature>}
|
|
2022
2022
|
* @memberof Cluster
|
|
2023
2023
|
*/
|
|
2024
|
-
'features'?: Array<
|
|
2024
|
+
'features'?: Array<ClusterFeature>;
|
|
2025
2025
|
}
|
|
2026
2026
|
/**
|
|
2027
2027
|
*
|
|
@@ -2132,100 +2132,17 @@ export interface ClusterAllOf {
|
|
|
2132
2132
|
*/
|
|
2133
2133
|
'production'?: boolean;
|
|
2134
2134
|
/**
|
|
2135
|
-
*
|
|
2136
|
-
* @type {
|
|
2135
|
+
* Indicate your public ssh_key to remotely connect to your EC2 instance.
|
|
2136
|
+
* @type {Array<string>}
|
|
2137
2137
|
* @memberof ClusterAllOf
|
|
2138
2138
|
*/
|
|
2139
|
-
'ssh_keys'?:
|
|
2139
|
+
'ssh_keys'?: Array<string>;
|
|
2140
2140
|
/**
|
|
2141
2141
|
*
|
|
2142
|
-
* @type {Array<
|
|
2142
|
+
* @type {Array<ClusterFeature>}
|
|
2143
2143
|
* @memberof ClusterAllOf
|
|
2144
2144
|
*/
|
|
2145
|
-
'features'?: Array<
|
|
2146
|
-
}
|
|
2147
|
-
/**
|
|
2148
|
-
*
|
|
2149
|
-
* @export
|
|
2150
|
-
* @interface ClusterAllOfFeatures
|
|
2151
|
-
*/
|
|
2152
|
-
export interface ClusterAllOfFeatures {
|
|
2153
|
-
/**
|
|
2154
|
-
*
|
|
2155
|
-
* @type {string}
|
|
2156
|
-
* @memberof ClusterAllOfFeatures
|
|
2157
|
-
*/
|
|
2158
|
-
'id'?: string;
|
|
2159
|
-
/**
|
|
2160
|
-
*
|
|
2161
|
-
* @type {string}
|
|
2162
|
-
* @memberof ClusterAllOfFeatures
|
|
2163
|
-
*/
|
|
2164
|
-
'title'?: string;
|
|
2165
|
-
/**
|
|
2166
|
-
*
|
|
2167
|
-
* @type {string}
|
|
2168
|
-
* @memberof ClusterAllOfFeatures
|
|
2169
|
-
*/
|
|
2170
|
-
'description'?: string | null;
|
|
2171
|
-
/**
|
|
2172
|
-
*
|
|
2173
|
-
* @type {number}
|
|
2174
|
-
* @memberof ClusterAllOfFeatures
|
|
2175
|
-
*/
|
|
2176
|
-
'cost_per_month_in_cents'?: number | null;
|
|
2177
|
-
/**
|
|
2178
|
-
*
|
|
2179
|
-
* @type {number}
|
|
2180
|
-
* @memberof ClusterAllOfFeatures
|
|
2181
|
-
*/
|
|
2182
|
-
'cost_per_month'?: number | null;
|
|
2183
|
-
/**
|
|
2184
|
-
*
|
|
2185
|
-
* @type {string}
|
|
2186
|
-
* @memberof ClusterAllOfFeatures
|
|
2187
|
-
*/
|
|
2188
|
-
'value_type'?: ClusterAllOfFeaturesValueTypeEnum;
|
|
2189
|
-
/**
|
|
2190
|
-
*
|
|
2191
|
-
* @type {string | boolean}
|
|
2192
|
-
* @memberof ClusterAllOfFeatures
|
|
2193
|
-
*/
|
|
2194
|
-
'value'?: string | boolean | null;
|
|
2195
|
-
/**
|
|
2196
|
-
*
|
|
2197
|
-
* @type {boolean}
|
|
2198
|
-
* @memberof ClusterAllOfFeatures
|
|
2199
|
-
*/
|
|
2200
|
-
'is_value_updatable'?: boolean;
|
|
2201
|
-
/**
|
|
2202
|
-
*
|
|
2203
|
-
* @type {Array<string | boolean>}
|
|
2204
|
-
* @memberof ClusterAllOfFeatures
|
|
2205
|
-
*/
|
|
2206
|
-
'accepted_values'?: Array<string | boolean>;
|
|
2207
|
-
}
|
|
2208
|
-
|
|
2209
|
-
/**
|
|
2210
|
-
* @export
|
|
2211
|
-
* @enum {string}
|
|
2212
|
-
*/
|
|
2213
|
-
export enum ClusterAllOfFeaturesValueTypeEnum {
|
|
2214
|
-
BOOLEAN = 'BOOLEAN'
|
|
2215
|
-
}
|
|
2216
|
-
|
|
2217
|
-
/**
|
|
2218
|
-
* Indicate your public ssh_key to remotely connect to your EC2 instance.
|
|
2219
|
-
* @export
|
|
2220
|
-
* @interface ClusterAllOfSshKeys
|
|
2221
|
-
*/
|
|
2222
|
-
export interface ClusterAllOfSshKeys {
|
|
2223
|
-
/**
|
|
2224
|
-
*
|
|
2225
|
-
* @type {Array<string>}
|
|
2226
|
-
* @memberof ClusterAllOfSshKeys
|
|
2227
|
-
*/
|
|
2228
|
-
'results'?: Array<string>;
|
|
2145
|
+
'features'?: Array<ClusterFeature>;
|
|
2229
2146
|
}
|
|
2230
2147
|
/**
|
|
2231
2148
|
*
|
|
@@ -2795,11 +2712,11 @@ export interface ClusterRequest {
|
|
|
2795
2712
|
*/
|
|
2796
2713
|
'production'?: boolean;
|
|
2797
2714
|
/**
|
|
2798
|
-
*
|
|
2799
|
-
* @type {
|
|
2715
|
+
* Indicate your public ssh_key to remotely connect to your EC2 instance.
|
|
2716
|
+
* @type {Array<string>}
|
|
2800
2717
|
* @memberof ClusterRequest
|
|
2801
2718
|
*/
|
|
2802
|
-
'ssh_keys'?:
|
|
2719
|
+
'ssh_keys'?: Array<string>;
|
|
2803
2720
|
/**
|
|
2804
2721
|
*
|
|
2805
2722
|
* @type {ClusterRequestFeatures}
|
|
@@ -4544,10 +4461,7 @@ export interface CustomDomainResponseList {
|
|
|
4544
4461
|
*/
|
|
4545
4462
|
|
|
4546
4463
|
export enum CustomDomainStatusEnum {
|
|
4547
|
-
|
|
4548
|
-
CHECKING = 'checking',
|
|
4549
|
-
READY = 'ready',
|
|
4550
|
-
ERROR = 'error'
|
|
4464
|
+
VALIDATION_PENDING = 'VALIDATION_PENDING'
|
|
4551
4465
|
}
|
|
4552
4466
|
|
|
4553
4467
|
/**
|
|
@@ -5122,6 +5036,12 @@ export interface DeploymentHistory {
|
|
|
5122
5036
|
* @memberof DeploymentHistory
|
|
5123
5037
|
*/
|
|
5124
5038
|
'updated_at'?: string;
|
|
5039
|
+
/**
|
|
5040
|
+
* name of the service
|
|
5041
|
+
* @type {string}
|
|
5042
|
+
* @memberof DeploymentHistory
|
|
5043
|
+
*/
|
|
5044
|
+
'name'?: string;
|
|
5125
5045
|
/**
|
|
5126
5046
|
*
|
|
5127
5047
|
* @type {Commit}
|
|
@@ -5141,6 +5061,12 @@ export interface DeploymentHistory {
|
|
|
5141
5061
|
* @interface DeploymentHistoryAllOf
|
|
5142
5062
|
*/
|
|
5143
5063
|
export interface DeploymentHistoryAllOf {
|
|
5064
|
+
/**
|
|
5065
|
+
* name of the service
|
|
5066
|
+
* @type {string}
|
|
5067
|
+
* @memberof DeploymentHistoryAllOf
|
|
5068
|
+
*/
|
|
5069
|
+
'name'?: string;
|
|
5144
5070
|
/**
|
|
5145
5071
|
*
|
|
5146
5072
|
* @type {Commit}
|
|
@@ -5247,17 +5173,17 @@ export interface DeploymentHistoryDatabase {
|
|
|
5247
5173
|
*/
|
|
5248
5174
|
'updated_at'?: string;
|
|
5249
5175
|
/**
|
|
5250
|
-
*
|
|
5176
|
+
* name of the service
|
|
5251
5177
|
* @type {string}
|
|
5252
5178
|
* @memberof DeploymentHistoryDatabase
|
|
5253
5179
|
*/
|
|
5254
5180
|
'name'?: string;
|
|
5255
5181
|
/**
|
|
5256
5182
|
*
|
|
5257
|
-
* @type {
|
|
5183
|
+
* @type {DeploymentHistoryStatusEnum}
|
|
5258
5184
|
* @memberof DeploymentHistoryDatabase
|
|
5259
5185
|
*/
|
|
5260
|
-
'status'?:
|
|
5186
|
+
'status'?: DeploymentHistoryStatusEnum;
|
|
5261
5187
|
}
|
|
5262
5188
|
/**
|
|
5263
5189
|
*
|
|
@@ -5266,17 +5192,17 @@ export interface DeploymentHistoryDatabase {
|
|
|
5266
5192
|
*/
|
|
5267
5193
|
export interface DeploymentHistoryDatabaseAllOf {
|
|
5268
5194
|
/**
|
|
5269
|
-
*
|
|
5195
|
+
* name of the service
|
|
5270
5196
|
* @type {string}
|
|
5271
5197
|
* @memberof DeploymentHistoryDatabaseAllOf
|
|
5272
5198
|
*/
|
|
5273
5199
|
'name'?: string;
|
|
5274
5200
|
/**
|
|
5275
5201
|
*
|
|
5276
|
-
* @type {
|
|
5202
|
+
* @type {DeploymentHistoryStatusEnum}
|
|
5277
5203
|
* @memberof DeploymentHistoryDatabaseAllOf
|
|
5278
5204
|
*/
|
|
5279
|
-
'status'?:
|
|
5205
|
+
'status'?: DeploymentHistoryStatusEnum;
|
|
5280
5206
|
}
|
|
5281
5207
|
/**
|
|
5282
5208
|
*
|
|
@@ -8745,11 +8671,11 @@ export interface OrganizationWebhookCreateRequest {
|
|
|
8745
8671
|
*/
|
|
8746
8672
|
'events': Array<OrganizationWebhookEventEnum>;
|
|
8747
8673
|
/**
|
|
8748
|
-
*
|
|
8674
|
+
* Specify the project names you want to filter to. This webhook will be triggered only if the event is coming from the specified Project IDs. Notes: 1. Wildcard is accepted E.g. `product*`. 2. Name is case insensitive.
|
|
8749
8675
|
* @type {Array<string>}
|
|
8750
8676
|
* @memberof OrganizationWebhookCreateRequest
|
|
8751
8677
|
*/
|
|
8752
|
-
'
|
|
8678
|
+
'project_names_filter'?: Array<string>;
|
|
8753
8679
|
/**
|
|
8754
8680
|
* Specify the environment modes you want to filter to. This webhook will be triggered only if the event is coming from an environment with the specified mode.
|
|
8755
8681
|
* @type {Array<EnvironmentModeEnum>}
|
|
@@ -8818,11 +8744,11 @@ export interface OrganizationWebhookCreateResponse {
|
|
|
8818
8744
|
*/
|
|
8819
8745
|
'events'?: Array<OrganizationWebhookEventEnum>;
|
|
8820
8746
|
/**
|
|
8821
|
-
*
|
|
8747
|
+
* Specify the project names you want to filter to. This webhook will be triggered only if the event is coming from the specified Project IDs. Notes: 1. Wildcard is accepted E.g. `product*`. 2. Name is case insensitive.
|
|
8822
8748
|
* @type {Array<string>}
|
|
8823
8749
|
* @memberof OrganizationWebhookCreateResponse
|
|
8824
8750
|
*/
|
|
8825
|
-
'
|
|
8751
|
+
'project_names_filter'?: Array<string>;
|
|
8826
8752
|
/**
|
|
8827
8753
|
* Specify the environment modes you want to filter to. This webhook will be triggered only if the event is coming from an environment with the specified mode.
|
|
8828
8754
|
* @type {Array<EnvironmentModeEnum>}
|
|
@@ -8873,11 +8799,11 @@ export interface OrganizationWebhookCreateResponseAllOf {
|
|
|
8873
8799
|
*/
|
|
8874
8800
|
'events'?: Array<OrganizationWebhookEventEnum>;
|
|
8875
8801
|
/**
|
|
8876
|
-
*
|
|
8802
|
+
* Specify the project names you want to filter to. This webhook will be triggered only if the event is coming from the specified Project IDs. Notes: 1. Wildcard is accepted E.g. `product*`. 2. Name is case insensitive.
|
|
8877
8803
|
* @type {Array<string>}
|
|
8878
8804
|
* @memberof OrganizationWebhookCreateResponseAllOf
|
|
8879
8805
|
*/
|
|
8880
|
-
'
|
|
8806
|
+
'project_names_filter'?: Array<string>;
|
|
8881
8807
|
/**
|
|
8882
8808
|
* Specify the environment modes you want to filter to. This webhook will be triggered only if the event is coming from an environment with the specified mode.
|
|
8883
8809
|
* @type {Array<EnvironmentModeEnum>}
|
|
@@ -8970,11 +8896,11 @@ export interface OrganizationWebhookResponse {
|
|
|
8970
8896
|
*/
|
|
8971
8897
|
'events'?: Array<OrganizationWebhookEventEnum>;
|
|
8972
8898
|
/**
|
|
8973
|
-
*
|
|
8899
|
+
* Specify the project names you want to filter to. This webhook will be triggered only if the event is coming from the specified Project IDs. Notes: 1. Wildcard is accepted E.g. `product*`. 2. Name is case insensitive.
|
|
8974
8900
|
* @type {Array<string>}
|
|
8975
8901
|
* @memberof OrganizationWebhookResponse
|
|
8976
8902
|
*/
|
|
8977
|
-
'
|
|
8903
|
+
'project_names_filter'?: Array<string>;
|
|
8978
8904
|
/**
|
|
8979
8905
|
* Specify the environment modes you want to filter to. This webhook will be triggered only if the event is coming from an environment with the specified mode.
|
|
8980
8906
|
* @type {Array<EnvironmentModeEnum>}
|
|
@@ -8982,61 +8908,6 @@ export interface OrganizationWebhookResponse {
|
|
|
8982
8908
|
*/
|
|
8983
8909
|
'environment_types_filter'?: Array<EnvironmentModeEnum>;
|
|
8984
8910
|
}
|
|
8985
|
-
/**
|
|
8986
|
-
*
|
|
8987
|
-
* @export
|
|
8988
|
-
* @interface OrganizationWebhookResponseAllOf
|
|
8989
|
-
*/
|
|
8990
|
-
export interface OrganizationWebhookResponseAllOf {
|
|
8991
|
-
/**
|
|
8992
|
-
*
|
|
8993
|
-
* @type {OrganizationWebhookKindEnum}
|
|
8994
|
-
* @memberof OrganizationWebhookResponseAllOf
|
|
8995
|
-
*/
|
|
8996
|
-
'kind'?: OrganizationWebhookKindEnum;
|
|
8997
|
-
/**
|
|
8998
|
-
* Set the public HTTP or HTTPS endpoint that will receive the specified events. The target URL must starts with `http://` or `https://`
|
|
8999
|
-
* @type {string}
|
|
9000
|
-
* @memberof OrganizationWebhookResponseAllOf
|
|
9001
|
-
*/
|
|
9002
|
-
'target_url'?: string;
|
|
9003
|
-
/**
|
|
9004
|
-
*
|
|
9005
|
-
* @type {boolean}
|
|
9006
|
-
* @memberof OrganizationWebhookResponseAllOf
|
|
9007
|
-
*/
|
|
9008
|
-
'target_secret_set'?: boolean;
|
|
9009
|
-
/**
|
|
9010
|
-
*
|
|
9011
|
-
* @type {string}
|
|
9012
|
-
* @memberof OrganizationWebhookResponseAllOf
|
|
9013
|
-
*/
|
|
9014
|
-
'description'?: string;
|
|
9015
|
-
/**
|
|
9016
|
-
* Turn on or off your endpoint.
|
|
9017
|
-
* @type {boolean}
|
|
9018
|
-
* @memberof OrganizationWebhookResponseAllOf
|
|
9019
|
-
*/
|
|
9020
|
-
'enabled'?: boolean;
|
|
9021
|
-
/**
|
|
9022
|
-
*
|
|
9023
|
-
* @type {Array<OrganizationWebhookEventEnum>}
|
|
9024
|
-
* @memberof OrganizationWebhookResponseAllOf
|
|
9025
|
-
*/
|
|
9026
|
-
'events'?: Array<OrganizationWebhookEventEnum>;
|
|
9027
|
-
/**
|
|
9028
|
-
*
|
|
9029
|
-
* @type {Array<string>}
|
|
9030
|
-
* @memberof OrganizationWebhookResponseAllOf
|
|
9031
|
-
*/
|
|
9032
|
-
'project_id_filter'?: Array<string>;
|
|
9033
|
-
/**
|
|
9034
|
-
* Specify the environment modes you want to filter to. This webhook will be triggered only if the event is coming from an environment with the specified mode.
|
|
9035
|
-
* @type {Array<EnvironmentModeEnum>}
|
|
9036
|
-
* @memberof OrganizationWebhookResponseAllOf
|
|
9037
|
-
*/
|
|
9038
|
-
'environment_types_filter'?: Array<EnvironmentModeEnum>;
|
|
9039
|
-
}
|
|
9040
8911
|
/**
|
|
9041
8912
|
*
|
|
9042
8913
|
* @export
|
|
@@ -26934,6 +26805,115 @@ export class DatabaseContainerApi extends BaseAPI {
|
|
|
26934
26805
|
}
|
|
26935
26806
|
|
|
26936
26807
|
|
|
26808
|
+
/**
|
|
26809
|
+
* DatabaseDeploymentHistoryApi - axios parameter creator
|
|
26810
|
+
* @export
|
|
26811
|
+
*/
|
|
26812
|
+
export const DatabaseDeploymentHistoryApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
26813
|
+
return {
|
|
26814
|
+
/**
|
|
26815
|
+
* By default it returns the 20 last results. The response is paginated.
|
|
26816
|
+
* @summary List database deploys
|
|
26817
|
+
* @param {string} databaseId Database ID
|
|
26818
|
+
* @param {*} [options] Override http request option.
|
|
26819
|
+
* @throws {RequiredError}
|
|
26820
|
+
*/
|
|
26821
|
+
listDatabaseDeploymentHistory: async (databaseId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
26822
|
+
// verify required parameter 'databaseId' is not null or undefined
|
|
26823
|
+
assertParamExists('listDatabaseDeploymentHistory', 'databaseId', databaseId)
|
|
26824
|
+
const localVarPath = `/database/{databaseId}/deploymentHistory`
|
|
26825
|
+
.replace(`{${"databaseId"}}`, encodeURIComponent(String(databaseId)));
|
|
26826
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
26827
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
26828
|
+
let baseOptions;
|
|
26829
|
+
if (configuration) {
|
|
26830
|
+
baseOptions = configuration.baseOptions;
|
|
26831
|
+
}
|
|
26832
|
+
|
|
26833
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
26834
|
+
const localVarHeaderParameter = {} as any;
|
|
26835
|
+
const localVarQueryParameter = {} as any;
|
|
26836
|
+
|
|
26837
|
+
// authentication bearerAuth required
|
|
26838
|
+
// http bearer authentication required
|
|
26839
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
26840
|
+
|
|
26841
|
+
|
|
26842
|
+
|
|
26843
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
26844
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
26845
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
26846
|
+
|
|
26847
|
+
return {
|
|
26848
|
+
url: toPathString(localVarUrlObj),
|
|
26849
|
+
options: localVarRequestOptions,
|
|
26850
|
+
};
|
|
26851
|
+
},
|
|
26852
|
+
}
|
|
26853
|
+
};
|
|
26854
|
+
|
|
26855
|
+
/**
|
|
26856
|
+
* DatabaseDeploymentHistoryApi - functional programming interface
|
|
26857
|
+
* @export
|
|
26858
|
+
*/
|
|
26859
|
+
export const DatabaseDeploymentHistoryApiFp = function(configuration?: Configuration) {
|
|
26860
|
+
const localVarAxiosParamCreator = DatabaseDeploymentHistoryApiAxiosParamCreator(configuration)
|
|
26861
|
+
return {
|
|
26862
|
+
/**
|
|
26863
|
+
* By default it returns the 20 last results. The response is paginated.
|
|
26864
|
+
* @summary List database deploys
|
|
26865
|
+
* @param {string} databaseId Database ID
|
|
26866
|
+
* @param {*} [options] Override http request option.
|
|
26867
|
+
* @throws {RequiredError}
|
|
26868
|
+
*/
|
|
26869
|
+
async listDatabaseDeploymentHistory(databaseId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaginationData & object>> {
|
|
26870
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listDatabaseDeploymentHistory(databaseId, options);
|
|
26871
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
26872
|
+
},
|
|
26873
|
+
}
|
|
26874
|
+
};
|
|
26875
|
+
|
|
26876
|
+
/**
|
|
26877
|
+
* DatabaseDeploymentHistoryApi - factory interface
|
|
26878
|
+
* @export
|
|
26879
|
+
*/
|
|
26880
|
+
export const DatabaseDeploymentHistoryApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
26881
|
+
const localVarFp = DatabaseDeploymentHistoryApiFp(configuration)
|
|
26882
|
+
return {
|
|
26883
|
+
/**
|
|
26884
|
+
* By default it returns the 20 last results. The response is paginated.
|
|
26885
|
+
* @summary List database deploys
|
|
26886
|
+
* @param {string} databaseId Database ID
|
|
26887
|
+
* @param {*} [options] Override http request option.
|
|
26888
|
+
* @throws {RequiredError}
|
|
26889
|
+
*/
|
|
26890
|
+
listDatabaseDeploymentHistory(databaseId: string, options?: any): AxiosPromise<PaginationData & object> {
|
|
26891
|
+
return localVarFp.listDatabaseDeploymentHistory(databaseId, options).then((request) => request(axios, basePath));
|
|
26892
|
+
},
|
|
26893
|
+
};
|
|
26894
|
+
};
|
|
26895
|
+
|
|
26896
|
+
/**
|
|
26897
|
+
* DatabaseDeploymentHistoryApi - object-oriented interface
|
|
26898
|
+
* @export
|
|
26899
|
+
* @class DatabaseDeploymentHistoryApi
|
|
26900
|
+
* @extends {BaseAPI}
|
|
26901
|
+
*/
|
|
26902
|
+
export class DatabaseDeploymentHistoryApi extends BaseAPI {
|
|
26903
|
+
/**
|
|
26904
|
+
* By default it returns the 20 last results. The response is paginated.
|
|
26905
|
+
* @summary List database deploys
|
|
26906
|
+
* @param {string} databaseId Database ID
|
|
26907
|
+
* @param {*} [options] Override http request option.
|
|
26908
|
+
* @throws {RequiredError}
|
|
26909
|
+
* @memberof DatabaseDeploymentHistoryApi
|
|
26910
|
+
*/
|
|
26911
|
+
public listDatabaseDeploymentHistory(databaseId: string, options?: AxiosRequestConfig) {
|
|
26912
|
+
return DatabaseDeploymentHistoryApiFp(this.configuration).listDatabaseDeploymentHistory(databaseId, options).then((request) => request(this.axios, this.basePath));
|
|
26913
|
+
}
|
|
26914
|
+
}
|
|
26915
|
+
|
|
26916
|
+
|
|
26937
26917
|
/**
|
|
26938
26918
|
* DatabaseEventApi - axios parameter creator
|
|
26939
26919
|
* @export
|
package/dist/api.d.ts
CHANGED
|
@@ -1996,17 +1996,17 @@ export interface Cluster {
|
|
|
1996
1996
|
*/
|
|
1997
1997
|
'production'?: boolean;
|
|
1998
1998
|
/**
|
|
1999
|
-
*
|
|
2000
|
-
* @type {
|
|
1999
|
+
* Indicate your public ssh_key to remotely connect to your EC2 instance.
|
|
2000
|
+
* @type {Array<string>}
|
|
2001
2001
|
* @memberof Cluster
|
|
2002
2002
|
*/
|
|
2003
|
-
'ssh_keys'?:
|
|
2003
|
+
'ssh_keys'?: Array<string>;
|
|
2004
2004
|
/**
|
|
2005
2005
|
*
|
|
2006
|
-
* @type {Array<
|
|
2006
|
+
* @type {Array<ClusterFeature>}
|
|
2007
2007
|
* @memberof Cluster
|
|
2008
2008
|
*/
|
|
2009
|
-
'features'?: Array<
|
|
2009
|
+
'features'?: Array<ClusterFeature>;
|
|
2010
2010
|
}
|
|
2011
2011
|
/**
|
|
2012
2012
|
*
|
|
@@ -2117,98 +2117,17 @@ export interface ClusterAllOf {
|
|
|
2117
2117
|
*/
|
|
2118
2118
|
'production'?: boolean;
|
|
2119
2119
|
/**
|
|
2120
|
-
*
|
|
2121
|
-
* @type {
|
|
2120
|
+
* Indicate your public ssh_key to remotely connect to your EC2 instance.
|
|
2121
|
+
* @type {Array<string>}
|
|
2122
2122
|
* @memberof ClusterAllOf
|
|
2123
2123
|
*/
|
|
2124
|
-
'ssh_keys'?:
|
|
2124
|
+
'ssh_keys'?: Array<string>;
|
|
2125
2125
|
/**
|
|
2126
2126
|
*
|
|
2127
|
-
* @type {Array<
|
|
2127
|
+
* @type {Array<ClusterFeature>}
|
|
2128
2128
|
* @memberof ClusterAllOf
|
|
2129
2129
|
*/
|
|
2130
|
-
'features'?: Array<
|
|
2131
|
-
}
|
|
2132
|
-
/**
|
|
2133
|
-
*
|
|
2134
|
-
* @export
|
|
2135
|
-
* @interface ClusterAllOfFeatures
|
|
2136
|
-
*/
|
|
2137
|
-
export interface ClusterAllOfFeatures {
|
|
2138
|
-
/**
|
|
2139
|
-
*
|
|
2140
|
-
* @type {string}
|
|
2141
|
-
* @memberof ClusterAllOfFeatures
|
|
2142
|
-
*/
|
|
2143
|
-
'id'?: string;
|
|
2144
|
-
/**
|
|
2145
|
-
*
|
|
2146
|
-
* @type {string}
|
|
2147
|
-
* @memberof ClusterAllOfFeatures
|
|
2148
|
-
*/
|
|
2149
|
-
'title'?: string;
|
|
2150
|
-
/**
|
|
2151
|
-
*
|
|
2152
|
-
* @type {string}
|
|
2153
|
-
* @memberof ClusterAllOfFeatures
|
|
2154
|
-
*/
|
|
2155
|
-
'description'?: string | null;
|
|
2156
|
-
/**
|
|
2157
|
-
*
|
|
2158
|
-
* @type {number}
|
|
2159
|
-
* @memberof ClusterAllOfFeatures
|
|
2160
|
-
*/
|
|
2161
|
-
'cost_per_month_in_cents'?: number | null;
|
|
2162
|
-
/**
|
|
2163
|
-
*
|
|
2164
|
-
* @type {number}
|
|
2165
|
-
* @memberof ClusterAllOfFeatures
|
|
2166
|
-
*/
|
|
2167
|
-
'cost_per_month'?: number | null;
|
|
2168
|
-
/**
|
|
2169
|
-
*
|
|
2170
|
-
* @type {string}
|
|
2171
|
-
* @memberof ClusterAllOfFeatures
|
|
2172
|
-
*/
|
|
2173
|
-
'value_type'?: ClusterAllOfFeaturesValueTypeEnum;
|
|
2174
|
-
/**
|
|
2175
|
-
*
|
|
2176
|
-
* @type {string | boolean}
|
|
2177
|
-
* @memberof ClusterAllOfFeatures
|
|
2178
|
-
*/
|
|
2179
|
-
'value'?: string | boolean | null;
|
|
2180
|
-
/**
|
|
2181
|
-
*
|
|
2182
|
-
* @type {boolean}
|
|
2183
|
-
* @memberof ClusterAllOfFeatures
|
|
2184
|
-
*/
|
|
2185
|
-
'is_value_updatable'?: boolean;
|
|
2186
|
-
/**
|
|
2187
|
-
*
|
|
2188
|
-
* @type {Array<string | boolean>}
|
|
2189
|
-
* @memberof ClusterAllOfFeatures
|
|
2190
|
-
*/
|
|
2191
|
-
'accepted_values'?: Array<string | boolean>;
|
|
2192
|
-
}
|
|
2193
|
-
/**
|
|
2194
|
-
* @export
|
|
2195
|
-
* @enum {string}
|
|
2196
|
-
*/
|
|
2197
|
-
export declare enum ClusterAllOfFeaturesValueTypeEnum {
|
|
2198
|
-
BOOLEAN = "BOOLEAN"
|
|
2199
|
-
}
|
|
2200
|
-
/**
|
|
2201
|
-
* Indicate your public ssh_key to remotely connect to your EC2 instance.
|
|
2202
|
-
* @export
|
|
2203
|
-
* @interface ClusterAllOfSshKeys
|
|
2204
|
-
*/
|
|
2205
|
-
export interface ClusterAllOfSshKeys {
|
|
2206
|
-
/**
|
|
2207
|
-
*
|
|
2208
|
-
* @type {Array<string>}
|
|
2209
|
-
* @memberof ClusterAllOfSshKeys
|
|
2210
|
-
*/
|
|
2211
|
-
'results'?: Array<string>;
|
|
2130
|
+
'features'?: Array<ClusterFeature>;
|
|
2212
2131
|
}
|
|
2213
2132
|
/**
|
|
2214
2133
|
*
|
|
@@ -2774,11 +2693,11 @@ export interface ClusterRequest {
|
|
|
2774
2693
|
*/
|
|
2775
2694
|
'production'?: boolean;
|
|
2776
2695
|
/**
|
|
2777
|
-
*
|
|
2778
|
-
* @type {
|
|
2696
|
+
* Indicate your public ssh_key to remotely connect to your EC2 instance.
|
|
2697
|
+
* @type {Array<string>}
|
|
2779
2698
|
* @memberof ClusterRequest
|
|
2780
2699
|
*/
|
|
2781
|
-
'ssh_keys'?:
|
|
2700
|
+
'ssh_keys'?: Array<string>;
|
|
2782
2701
|
/**
|
|
2783
2702
|
*
|
|
2784
2703
|
* @type {ClusterRequestFeatures}
|
|
@@ -4516,10 +4435,7 @@ export interface CustomDomainResponseList {
|
|
|
4516
4435
|
* @enum {string}
|
|
4517
4436
|
*/
|
|
4518
4437
|
export declare enum CustomDomainStatusEnum {
|
|
4519
|
-
|
|
4520
|
-
CHECKING = "checking",
|
|
4521
|
-
READY = "ready",
|
|
4522
|
-
ERROR = "error"
|
|
4438
|
+
VALIDATION_PENDING = "VALIDATION_PENDING"
|
|
4523
4439
|
}
|
|
4524
4440
|
/**
|
|
4525
4441
|
*
|
|
@@ -5087,6 +5003,12 @@ export interface DeploymentHistory {
|
|
|
5087
5003
|
* @memberof DeploymentHistory
|
|
5088
5004
|
*/
|
|
5089
5005
|
'updated_at'?: string;
|
|
5006
|
+
/**
|
|
5007
|
+
* name of the service
|
|
5008
|
+
* @type {string}
|
|
5009
|
+
* @memberof DeploymentHistory
|
|
5010
|
+
*/
|
|
5011
|
+
'name'?: string;
|
|
5090
5012
|
/**
|
|
5091
5013
|
*
|
|
5092
5014
|
* @type {Commit}
|
|
@@ -5106,6 +5028,12 @@ export interface DeploymentHistory {
|
|
|
5106
5028
|
* @interface DeploymentHistoryAllOf
|
|
5107
5029
|
*/
|
|
5108
5030
|
export interface DeploymentHistoryAllOf {
|
|
5031
|
+
/**
|
|
5032
|
+
* name of the service
|
|
5033
|
+
* @type {string}
|
|
5034
|
+
* @memberof DeploymentHistoryAllOf
|
|
5035
|
+
*/
|
|
5036
|
+
'name'?: string;
|
|
5109
5037
|
/**
|
|
5110
5038
|
*
|
|
5111
5039
|
* @type {Commit}
|
|
@@ -5212,17 +5140,17 @@ export interface DeploymentHistoryDatabase {
|
|
|
5212
5140
|
*/
|
|
5213
5141
|
'updated_at'?: string;
|
|
5214
5142
|
/**
|
|
5215
|
-
*
|
|
5143
|
+
* name of the service
|
|
5216
5144
|
* @type {string}
|
|
5217
5145
|
* @memberof DeploymentHistoryDatabase
|
|
5218
5146
|
*/
|
|
5219
5147
|
'name'?: string;
|
|
5220
5148
|
/**
|
|
5221
5149
|
*
|
|
5222
|
-
* @type {
|
|
5150
|
+
* @type {DeploymentHistoryStatusEnum}
|
|
5223
5151
|
* @memberof DeploymentHistoryDatabase
|
|
5224
5152
|
*/
|
|
5225
|
-
'status'?:
|
|
5153
|
+
'status'?: DeploymentHistoryStatusEnum;
|
|
5226
5154
|
}
|
|
5227
5155
|
/**
|
|
5228
5156
|
*
|
|
@@ -5231,17 +5159,17 @@ export interface DeploymentHistoryDatabase {
|
|
|
5231
5159
|
*/
|
|
5232
5160
|
export interface DeploymentHistoryDatabaseAllOf {
|
|
5233
5161
|
/**
|
|
5234
|
-
*
|
|
5162
|
+
* name of the service
|
|
5235
5163
|
* @type {string}
|
|
5236
5164
|
* @memberof DeploymentHistoryDatabaseAllOf
|
|
5237
5165
|
*/
|
|
5238
5166
|
'name'?: string;
|
|
5239
5167
|
/**
|
|
5240
5168
|
*
|
|
5241
|
-
* @type {
|
|
5169
|
+
* @type {DeploymentHistoryStatusEnum}
|
|
5242
5170
|
* @memberof DeploymentHistoryDatabaseAllOf
|
|
5243
5171
|
*/
|
|
5244
|
-
'status'?:
|
|
5172
|
+
'status'?: DeploymentHistoryStatusEnum;
|
|
5245
5173
|
}
|
|
5246
5174
|
/**
|
|
5247
5175
|
*
|
|
@@ -8684,11 +8612,11 @@ export interface OrganizationWebhookCreateRequest {
|
|
|
8684
8612
|
*/
|
|
8685
8613
|
'events': Array<OrganizationWebhookEventEnum>;
|
|
8686
8614
|
/**
|
|
8687
|
-
*
|
|
8615
|
+
* Specify the project names you want to filter to. This webhook will be triggered only if the event is coming from the specified Project IDs. Notes: 1. Wildcard is accepted E.g. `product*`. 2. Name is case insensitive.
|
|
8688
8616
|
* @type {Array<string>}
|
|
8689
8617
|
* @memberof OrganizationWebhookCreateRequest
|
|
8690
8618
|
*/
|
|
8691
|
-
'
|
|
8619
|
+
'project_names_filter'?: Array<string>;
|
|
8692
8620
|
/**
|
|
8693
8621
|
* Specify the environment modes you want to filter to. This webhook will be triggered only if the event is coming from an environment with the specified mode.
|
|
8694
8622
|
* @type {Array<EnvironmentModeEnum>}
|
|
@@ -8757,11 +8685,11 @@ export interface OrganizationWebhookCreateResponse {
|
|
|
8757
8685
|
*/
|
|
8758
8686
|
'events'?: Array<OrganizationWebhookEventEnum>;
|
|
8759
8687
|
/**
|
|
8760
|
-
*
|
|
8688
|
+
* Specify the project names you want to filter to. This webhook will be triggered only if the event is coming from the specified Project IDs. Notes: 1. Wildcard is accepted E.g. `product*`. 2. Name is case insensitive.
|
|
8761
8689
|
* @type {Array<string>}
|
|
8762
8690
|
* @memberof OrganizationWebhookCreateResponse
|
|
8763
8691
|
*/
|
|
8764
|
-
'
|
|
8692
|
+
'project_names_filter'?: Array<string>;
|
|
8765
8693
|
/**
|
|
8766
8694
|
* Specify the environment modes you want to filter to. This webhook will be triggered only if the event is coming from an environment with the specified mode.
|
|
8767
8695
|
* @type {Array<EnvironmentModeEnum>}
|
|
@@ -8812,11 +8740,11 @@ export interface OrganizationWebhookCreateResponseAllOf {
|
|
|
8812
8740
|
*/
|
|
8813
8741
|
'events'?: Array<OrganizationWebhookEventEnum>;
|
|
8814
8742
|
/**
|
|
8815
|
-
*
|
|
8743
|
+
* Specify the project names you want to filter to. This webhook will be triggered only if the event is coming from the specified Project IDs. Notes: 1. Wildcard is accepted E.g. `product*`. 2. Name is case insensitive.
|
|
8816
8744
|
* @type {Array<string>}
|
|
8817
8745
|
* @memberof OrganizationWebhookCreateResponseAllOf
|
|
8818
8746
|
*/
|
|
8819
|
-
'
|
|
8747
|
+
'project_names_filter'?: Array<string>;
|
|
8820
8748
|
/**
|
|
8821
8749
|
* Specify the environment modes you want to filter to. This webhook will be triggered only if the event is coming from an environment with the specified mode.
|
|
8822
8750
|
* @type {Array<EnvironmentModeEnum>}
|
|
@@ -8905,11 +8833,11 @@ export interface OrganizationWebhookResponse {
|
|
|
8905
8833
|
*/
|
|
8906
8834
|
'events'?: Array<OrganizationWebhookEventEnum>;
|
|
8907
8835
|
/**
|
|
8908
|
-
*
|
|
8836
|
+
* Specify the project names you want to filter to. This webhook will be triggered only if the event is coming from the specified Project IDs. Notes: 1. Wildcard is accepted E.g. `product*`. 2. Name is case insensitive.
|
|
8909
8837
|
* @type {Array<string>}
|
|
8910
8838
|
* @memberof OrganizationWebhookResponse
|
|
8911
8839
|
*/
|
|
8912
|
-
'
|
|
8840
|
+
'project_names_filter'?: Array<string>;
|
|
8913
8841
|
/**
|
|
8914
8842
|
* Specify the environment modes you want to filter to. This webhook will be triggered only if the event is coming from an environment with the specified mode.
|
|
8915
8843
|
* @type {Array<EnvironmentModeEnum>}
|
|
@@ -8917,61 +8845,6 @@ export interface OrganizationWebhookResponse {
|
|
|
8917
8845
|
*/
|
|
8918
8846
|
'environment_types_filter'?: Array<EnvironmentModeEnum>;
|
|
8919
8847
|
}
|
|
8920
|
-
/**
|
|
8921
|
-
*
|
|
8922
|
-
* @export
|
|
8923
|
-
* @interface OrganizationWebhookResponseAllOf
|
|
8924
|
-
*/
|
|
8925
|
-
export interface OrganizationWebhookResponseAllOf {
|
|
8926
|
-
/**
|
|
8927
|
-
*
|
|
8928
|
-
* @type {OrganizationWebhookKindEnum}
|
|
8929
|
-
* @memberof OrganizationWebhookResponseAllOf
|
|
8930
|
-
*/
|
|
8931
|
-
'kind'?: OrganizationWebhookKindEnum;
|
|
8932
|
-
/**
|
|
8933
|
-
* Set the public HTTP or HTTPS endpoint that will receive the specified events. The target URL must starts with `http://` or `https://`
|
|
8934
|
-
* @type {string}
|
|
8935
|
-
* @memberof OrganizationWebhookResponseAllOf
|
|
8936
|
-
*/
|
|
8937
|
-
'target_url'?: string;
|
|
8938
|
-
/**
|
|
8939
|
-
*
|
|
8940
|
-
* @type {boolean}
|
|
8941
|
-
* @memberof OrganizationWebhookResponseAllOf
|
|
8942
|
-
*/
|
|
8943
|
-
'target_secret_set'?: boolean;
|
|
8944
|
-
/**
|
|
8945
|
-
*
|
|
8946
|
-
* @type {string}
|
|
8947
|
-
* @memberof OrganizationWebhookResponseAllOf
|
|
8948
|
-
*/
|
|
8949
|
-
'description'?: string;
|
|
8950
|
-
/**
|
|
8951
|
-
* Turn on or off your endpoint.
|
|
8952
|
-
* @type {boolean}
|
|
8953
|
-
* @memberof OrganizationWebhookResponseAllOf
|
|
8954
|
-
*/
|
|
8955
|
-
'enabled'?: boolean;
|
|
8956
|
-
/**
|
|
8957
|
-
*
|
|
8958
|
-
* @type {Array<OrganizationWebhookEventEnum>}
|
|
8959
|
-
* @memberof OrganizationWebhookResponseAllOf
|
|
8960
|
-
*/
|
|
8961
|
-
'events'?: Array<OrganizationWebhookEventEnum>;
|
|
8962
|
-
/**
|
|
8963
|
-
*
|
|
8964
|
-
* @type {Array<string>}
|
|
8965
|
-
* @memberof OrganizationWebhookResponseAllOf
|
|
8966
|
-
*/
|
|
8967
|
-
'project_id_filter'?: Array<string>;
|
|
8968
|
-
/**
|
|
8969
|
-
* Specify the environment modes you want to filter to. This webhook will be triggered only if the event is coming from an environment with the specified mode.
|
|
8970
|
-
* @type {Array<EnvironmentModeEnum>}
|
|
8971
|
-
* @memberof OrganizationWebhookResponseAllOf
|
|
8972
|
-
*/
|
|
8973
|
-
'environment_types_filter'?: Array<EnvironmentModeEnum>;
|
|
8974
|
-
}
|
|
8975
8848
|
/**
|
|
8976
8849
|
*
|
|
8977
8850
|
* @export
|
|
@@ -18543,6 +18416,65 @@ export declare class DatabaseContainerApi extends BaseAPI {
|
|
|
18543
18416
|
*/
|
|
18544
18417
|
removeContainerFromDatabase(databaseId: string, targetContainerId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void>>;
|
|
18545
18418
|
}
|
|
18419
|
+
/**
|
|
18420
|
+
* DatabaseDeploymentHistoryApi - axios parameter creator
|
|
18421
|
+
* @export
|
|
18422
|
+
*/
|
|
18423
|
+
export declare const DatabaseDeploymentHistoryApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
18424
|
+
/**
|
|
18425
|
+
* By default it returns the 20 last results. The response is paginated.
|
|
18426
|
+
* @summary List database deploys
|
|
18427
|
+
* @param {string} databaseId Database ID
|
|
18428
|
+
* @param {*} [options] Override http request option.
|
|
18429
|
+
* @throws {RequiredError}
|
|
18430
|
+
*/
|
|
18431
|
+
listDatabaseDeploymentHistory: (databaseId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
18432
|
+
};
|
|
18433
|
+
/**
|
|
18434
|
+
* DatabaseDeploymentHistoryApi - functional programming interface
|
|
18435
|
+
* @export
|
|
18436
|
+
*/
|
|
18437
|
+
export declare const DatabaseDeploymentHistoryApiFp: (configuration?: Configuration) => {
|
|
18438
|
+
/**
|
|
18439
|
+
* By default it returns the 20 last results. The response is paginated.
|
|
18440
|
+
* @summary List database deploys
|
|
18441
|
+
* @param {string} databaseId Database ID
|
|
18442
|
+
* @param {*} [options] Override http request option.
|
|
18443
|
+
* @throws {RequiredError}
|
|
18444
|
+
*/
|
|
18445
|
+
listDatabaseDeploymentHistory(databaseId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaginationData & object>>;
|
|
18446
|
+
};
|
|
18447
|
+
/**
|
|
18448
|
+
* DatabaseDeploymentHistoryApi - factory interface
|
|
18449
|
+
* @export
|
|
18450
|
+
*/
|
|
18451
|
+
export declare const DatabaseDeploymentHistoryApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
18452
|
+
/**
|
|
18453
|
+
* By default it returns the 20 last results. The response is paginated.
|
|
18454
|
+
* @summary List database deploys
|
|
18455
|
+
* @param {string} databaseId Database ID
|
|
18456
|
+
* @param {*} [options] Override http request option.
|
|
18457
|
+
* @throws {RequiredError}
|
|
18458
|
+
*/
|
|
18459
|
+
listDatabaseDeploymentHistory(databaseId: string, options?: any): AxiosPromise<PaginationData & object>;
|
|
18460
|
+
};
|
|
18461
|
+
/**
|
|
18462
|
+
* DatabaseDeploymentHistoryApi - object-oriented interface
|
|
18463
|
+
* @export
|
|
18464
|
+
* @class DatabaseDeploymentHistoryApi
|
|
18465
|
+
* @extends {BaseAPI}
|
|
18466
|
+
*/
|
|
18467
|
+
export declare class DatabaseDeploymentHistoryApi extends BaseAPI {
|
|
18468
|
+
/**
|
|
18469
|
+
* By default it returns the 20 last results. The response is paginated.
|
|
18470
|
+
* @summary List database deploys
|
|
18471
|
+
* @param {string} databaseId Database ID
|
|
18472
|
+
* @param {*} [options] Override http request option.
|
|
18473
|
+
* @throws {RequiredError}
|
|
18474
|
+
* @memberof DatabaseDeploymentHistoryApi
|
|
18475
|
+
*/
|
|
18476
|
+
listDatabaseDeploymentHistory(databaseId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PaginationData & object>>;
|
|
18477
|
+
}
|
|
18546
18478
|
/**
|
|
18547
18479
|
* DatabaseEventApi - axios parameter creator
|
|
18548
18480
|
* @export
|
package/dist/api.js
CHANGED
|
@@ -22,13 +22,13 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
22
22
|
});
|
|
23
23
|
};
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
exports.ApplicationActionsApiFp = exports.ApplicationActionsApiAxiosParamCreator = exports.AccountInfoApi = exports.AccountInfoApiFactory = exports.AccountInfoApiFp = exports.AccountInfoApiAxiosParamCreator = exports.WeekdayEnum = exports.TypeOfUseEnum = exports.ThresholdMetricStatusEnum = exports.StorageTypeEnum = exports.StatusKindEnum = exports.StateEnum = exports.ServiceTypeEnum = exports.ServiceDeploymentStatusEnum = exports.RewardClaimTypeEnum = exports.PortProtocolEnum = exports.PlanEnum = exports.OrganizationWebhookKindEnum = exports.OrganizationWebhookEventEnum = exports.OrganizationApiTokenScope = exports.KubernetesEnum = exports.InvoiceStatusEnum = exports.InviteStatusEnum = exports.InviteMemberRoleEnum = exports.HealthcheckProtocolEnum = exports.GitProviderEnum = exports.EnvironmentVariableScopeEnum = exports.EnvironmentModeEnum = exports.EnvironmentLogTypeEnum = exports.DeploymentRestrictionTypeEnum = exports.DeploymentRestrictionModeEnum = exports.DeploymentHistoryStatusEnum = exports.DatabaseTypeEnum = exports.DatabaseModeEnum = exports.DatabaseAccessibilityEnum = exports.CustomDomainStatusEnum = exports.ContainerRegistryKindEnum = exports.ContainerAdvancedSettingsResponseLivenessProbeTypeEnum = exports.ContainerAdvancedSettingsResponseReadinessProbeTypeEnum = exports.ContainerAdvancedSettingsLivenessProbeTypeEnum = exports.ContainerAdvancedSettingsReadinessProbeTypeEnum = exports.CompanySizeEnum = exports.ClusterLogsStepEnum = exports.ClusterFeatureValueTypeEnum = exports.
|
|
26
|
-
exports.BackupsApi = exports.BackupsApiFactory = exports.BackupsApiFp = exports.BackupsApiAxiosParamCreator = exports.ApplicationsApi = exports.ApplicationsApiFactory = exports.ApplicationsApiFp = exports.ApplicationsApiAxiosParamCreator = exports.ApplicationSecretApi = exports.ApplicationSecretApiFactory = exports.ApplicationSecretApiFp = exports.ApplicationSecretApiAxiosParamCreator = exports.ApplicationMetricsApi = exports.ApplicationMetricsApiFactory = exports.ApplicationMetricsApiFp = exports.ApplicationMetricsApiAxiosParamCreator = exports.ApplicationMainCallsApi = exports.ApplicationMainCallsApiFactory = exports.ApplicationMainCallsApiFp = exports.ApplicationMainCallsApiAxiosParamCreator = exports.ApplicationLogsApi = exports.ApplicationLogsApiFactory = exports.ApplicationLogsApiFp = exports.ApplicationLogsApiAxiosParamCreator = exports.ApplicationEventApi = exports.ApplicationEventApiFactory = exports.ApplicationEventApiFp = exports.ApplicationEventApiAxiosParamCreator = exports.ApplicationEnvironmentVariableApi = exports.ApplicationEnvironmentVariableApiFactory = exports.ApplicationEnvironmentVariableApiFp = exports.ApplicationEnvironmentVariableApiAxiosParamCreator = exports.ApplicationDeploymentRestrictionApi = exports.ApplicationDeploymentRestrictionApiFactory = exports.ApplicationDeploymentRestrictionApiFp = exports.ApplicationDeploymentRestrictionApiAxiosParamCreator = exports.ApplicationDeploymentHistoryApi = exports.ApplicationDeploymentHistoryApiFactory = exports.ApplicationDeploymentHistoryApiFp = exports.ApplicationDeploymentHistoryApiAxiosParamCreator = exports.ApplicationDatabaseApi = exports.ApplicationDatabaseApiFactory = exports.ApplicationDatabaseApiFp = exports.ApplicationDatabaseApiAxiosParamCreator = exports.ApplicationConfigurationApi = exports.ApplicationConfigurationApiFactory = exports.ApplicationConfigurationApiFp = exports.ApplicationConfigurationApiAxiosParamCreator = exports.ApplicationActionsApi =
|
|
27
|
-
exports.ContainerLogsApiFp = exports.ContainerLogsApiAxiosParamCreator = exports.ContainerEventApi = exports.ContainerEventApiFactory = exports.ContainerEventApiFp = exports.ContainerEventApiAxiosParamCreator = exports.ContainerEnvironmentVariableApi = exports.ContainerEnvironmentVariableApiFactory = exports.ContainerEnvironmentVariableApiFp = exports.ContainerEnvironmentVariableApiAxiosParamCreator = exports.ContainerDeploymentRestrictionApi = exports.ContainerDeploymentRestrictionApiFactory = exports.ContainerDeploymentRestrictionApiFp = exports.ContainerDeploymentRestrictionApiAxiosParamCreator = exports.ContainerDependencyApi = exports.ContainerDependencyApiFactory = exports.ContainerDependencyApiFp = exports.ContainerDependencyApiAxiosParamCreator = exports.ContainerDatabaseApi = exports.ContainerDatabaseApiFactory = exports.ContainerDatabaseApiFp = exports.ContainerDatabaseApiAxiosParamCreator = exports.ContainerCustomDomainApi = exports.ContainerCustomDomainApiFactory = exports.ContainerCustomDomainApiFp = exports.ContainerCustomDomainApiAxiosParamCreator = exports.ContainerConfigurationApi = exports.ContainerConfigurationApiFactory = exports.ContainerConfigurationApiFp = exports.ContainerConfigurationApiAxiosParamCreator = exports.ContainerActionsApi = exports.ContainerActionsApiFactory = exports.ContainerActionsApiFp = exports.ContainerActionsApiAxiosParamCreator = exports.ClustersApi = exports.ClustersApiFactory = exports.ClustersApiFp = exports.ClustersApiAxiosParamCreator = exports.CloudProviderCredentialsApi = exports.CloudProviderCredentialsApiFactory = exports.CloudProviderCredentialsApiFp = exports.CloudProviderCredentialsApiAxiosParamCreator = exports.CloudProviderApi = exports.CloudProviderApiFactory = exports.CloudProviderApiFp = exports.CloudProviderApiAxiosParamCreator = exports.BillingApi = exports.BillingApiFactory = exports.BillingApiFp =
|
|
28
|
-
exports.
|
|
29
|
-
exports.
|
|
30
|
-
exports.
|
|
31
|
-
exports.UserSignUpApi = exports.UserSignUpApiFactory = exports.UserSignUpApiFp = exports.UserSignUpApiAxiosParamCreator = void 0;
|
|
25
|
+
exports.ApplicationActionsApiFactory = exports.ApplicationActionsApiFp = exports.ApplicationActionsApiAxiosParamCreator = exports.AccountInfoApi = exports.AccountInfoApiFactory = exports.AccountInfoApiFp = exports.AccountInfoApiAxiosParamCreator = exports.WeekdayEnum = exports.TypeOfUseEnum = exports.ThresholdMetricStatusEnum = exports.StorageTypeEnum = exports.StatusKindEnum = exports.StateEnum = exports.ServiceTypeEnum = exports.ServiceDeploymentStatusEnum = exports.RewardClaimTypeEnum = exports.PortProtocolEnum = exports.PlanEnum = exports.OrganizationWebhookKindEnum = exports.OrganizationWebhookEventEnum = exports.OrganizationApiTokenScope = exports.KubernetesEnum = exports.InvoiceStatusEnum = exports.InviteStatusEnum = exports.InviteMemberRoleEnum = exports.HealthcheckProtocolEnum = exports.GitProviderEnum = exports.EnvironmentVariableScopeEnum = exports.EnvironmentModeEnum = exports.EnvironmentLogTypeEnum = exports.DeploymentRestrictionTypeEnum = exports.DeploymentRestrictionModeEnum = exports.DeploymentHistoryStatusEnum = exports.DatabaseTypeEnum = exports.DatabaseModeEnum = exports.DatabaseAccessibilityEnum = exports.CustomDomainStatusEnum = exports.ContainerRegistryKindEnum = exports.ContainerAdvancedSettingsResponseLivenessProbeTypeEnum = exports.ContainerAdvancedSettingsResponseReadinessProbeTypeEnum = exports.ContainerAdvancedSettingsLivenessProbeTypeEnum = exports.ContainerAdvancedSettingsReadinessProbeTypeEnum = exports.CompanySizeEnum = exports.ClusterLogsStepEnum = exports.ClusterFeatureValueTypeEnum = exports.CloudProviderEnum = exports.BuildPackLanguageEnum = exports.BuildModeEnum = exports.ApplicationAdvancedSettingsLivenessProbeTypeEnum = exports.ApplicationAdvancedSettingsReadinessProbeTypeEnum = void 0;
|
|
26
|
+
exports.BillingApiAxiosParamCreator = exports.BackupsApi = exports.BackupsApiFactory = exports.BackupsApiFp = exports.BackupsApiAxiosParamCreator = exports.ApplicationsApi = exports.ApplicationsApiFactory = exports.ApplicationsApiFp = exports.ApplicationsApiAxiosParamCreator = exports.ApplicationSecretApi = exports.ApplicationSecretApiFactory = exports.ApplicationSecretApiFp = exports.ApplicationSecretApiAxiosParamCreator = exports.ApplicationMetricsApi = exports.ApplicationMetricsApiFactory = exports.ApplicationMetricsApiFp = exports.ApplicationMetricsApiAxiosParamCreator = exports.ApplicationMainCallsApi = exports.ApplicationMainCallsApiFactory = exports.ApplicationMainCallsApiFp = exports.ApplicationMainCallsApiAxiosParamCreator = exports.ApplicationLogsApi = exports.ApplicationLogsApiFactory = exports.ApplicationLogsApiFp = exports.ApplicationLogsApiAxiosParamCreator = exports.ApplicationEventApi = exports.ApplicationEventApiFactory = exports.ApplicationEventApiFp = exports.ApplicationEventApiAxiosParamCreator = exports.ApplicationEnvironmentVariableApi = exports.ApplicationEnvironmentVariableApiFactory = exports.ApplicationEnvironmentVariableApiFp = exports.ApplicationEnvironmentVariableApiAxiosParamCreator = exports.ApplicationDeploymentRestrictionApi = exports.ApplicationDeploymentRestrictionApiFactory = exports.ApplicationDeploymentRestrictionApiFp = exports.ApplicationDeploymentRestrictionApiAxiosParamCreator = exports.ApplicationDeploymentHistoryApi = exports.ApplicationDeploymentHistoryApiFactory = exports.ApplicationDeploymentHistoryApiFp = exports.ApplicationDeploymentHistoryApiAxiosParamCreator = exports.ApplicationDatabaseApi = exports.ApplicationDatabaseApiFactory = exports.ApplicationDatabaseApiFp = exports.ApplicationDatabaseApiAxiosParamCreator = exports.ApplicationConfigurationApi = exports.ApplicationConfigurationApiFactory = exports.ApplicationConfigurationApiFp = exports.ApplicationConfigurationApiAxiosParamCreator = exports.ApplicationActionsApi = void 0;
|
|
27
|
+
exports.ContainerLogsApiFactory = exports.ContainerLogsApiFp = exports.ContainerLogsApiAxiosParamCreator = exports.ContainerEventApi = exports.ContainerEventApiFactory = exports.ContainerEventApiFp = exports.ContainerEventApiAxiosParamCreator = exports.ContainerEnvironmentVariableApi = exports.ContainerEnvironmentVariableApiFactory = exports.ContainerEnvironmentVariableApiFp = exports.ContainerEnvironmentVariableApiAxiosParamCreator = exports.ContainerDeploymentRestrictionApi = exports.ContainerDeploymentRestrictionApiFactory = exports.ContainerDeploymentRestrictionApiFp = exports.ContainerDeploymentRestrictionApiAxiosParamCreator = exports.ContainerDependencyApi = exports.ContainerDependencyApiFactory = exports.ContainerDependencyApiFp = exports.ContainerDependencyApiAxiosParamCreator = exports.ContainerDatabaseApi = exports.ContainerDatabaseApiFactory = exports.ContainerDatabaseApiFp = exports.ContainerDatabaseApiAxiosParamCreator = exports.ContainerCustomDomainApi = exports.ContainerCustomDomainApiFactory = exports.ContainerCustomDomainApiFp = exports.ContainerCustomDomainApiAxiosParamCreator = exports.ContainerConfigurationApi = exports.ContainerConfigurationApiFactory = exports.ContainerConfigurationApiFp = exports.ContainerConfigurationApiAxiosParamCreator = exports.ContainerActionsApi = exports.ContainerActionsApiFactory = exports.ContainerActionsApiFp = exports.ContainerActionsApiAxiosParamCreator = exports.ClustersApi = exports.ClustersApiFactory = exports.ClustersApiFp = exports.ClustersApiAxiosParamCreator = exports.CloudProviderCredentialsApi = exports.CloudProviderCredentialsApiFactory = exports.CloudProviderCredentialsApiFp = exports.CloudProviderCredentialsApiAxiosParamCreator = exports.CloudProviderApi = exports.CloudProviderApiFactory = exports.CloudProviderApiFp = exports.CloudProviderApiAxiosParamCreator = exports.BillingApi = exports.BillingApiFactory = exports.BillingApiFp = void 0;
|
|
28
|
+
exports.DatabaseMainCallsApiAxiosParamCreator = exports.DatabaseEventApi = exports.DatabaseEventApiFactory = exports.DatabaseEventApiFp = exports.DatabaseEventApiAxiosParamCreator = exports.DatabaseDeploymentHistoryApi = exports.DatabaseDeploymentHistoryApiFactory = exports.DatabaseDeploymentHistoryApiFp = exports.DatabaseDeploymentHistoryApiAxiosParamCreator = exports.DatabaseContainerApi = exports.DatabaseContainerApiFactory = exports.DatabaseContainerApiFp = exports.DatabaseContainerApiAxiosParamCreator = exports.DatabaseApplicationApi = exports.DatabaseApplicationApiFactory = exports.DatabaseApplicationApiFp = exports.DatabaseApplicationApiAxiosParamCreator = exports.DatabaseActionsApi = exports.DatabaseActionsApiFactory = exports.DatabaseActionsApiFp = exports.DatabaseActionsApiAxiosParamCreator = exports.CustomDomainApi = exports.CustomDomainApiFactory = exports.CustomDomainApiFp = exports.CustomDomainApiAxiosParamCreator = exports.ContainersApi = exports.ContainersApiFactory = exports.ContainersApiFp = exports.ContainersApiAxiosParamCreator = exports.ContainerSecretApi = exports.ContainerSecretApiFactory = exports.ContainerSecretApiFp = exports.ContainerSecretApiAxiosParamCreator = exports.ContainerRegistryApi = exports.ContainerRegistryApiFactory = exports.ContainerRegistryApiFp = exports.ContainerRegistryApiAxiosParamCreator = exports.ContainerRegistriesApi = exports.ContainerRegistriesApiFactory = exports.ContainerRegistriesApiFp = exports.ContainerRegistriesApiAxiosParamCreator = exports.ContainerMetricsApi = exports.ContainerMetricsApiFactory = exports.ContainerMetricsApiFp = exports.ContainerMetricsApiAxiosParamCreator = exports.ContainerMainCallsApi = exports.ContainerMainCallsApiFactory = exports.ContainerMainCallsApiFp = exports.ContainerMainCallsApiAxiosParamCreator = exports.ContainerLogsApi = void 0;
|
|
29
|
+
exports.GitRepositoriesApiFactory = exports.GitRepositoriesApiFp = exports.GitRepositoriesApiAxiosParamCreator = exports.EnvironmentsApi = exports.EnvironmentsApiFactory = exports.EnvironmentsApiFp = exports.EnvironmentsApiAxiosParamCreator = exports.EnvironmentVariableApi = exports.EnvironmentVariableApiFactory = exports.EnvironmentVariableApiFp = exports.EnvironmentVariableApiAxiosParamCreator = exports.EnvironmentSecretApi = exports.EnvironmentSecretApiFactory = exports.EnvironmentSecretApiFp = exports.EnvironmentSecretApiAxiosParamCreator = exports.EnvironmentMainCallsApi = exports.EnvironmentMainCallsApiFactory = exports.EnvironmentMainCallsApiFp = exports.EnvironmentMainCallsApiAxiosParamCreator = exports.EnvironmentLogsApi = exports.EnvironmentLogsApiFactory = exports.EnvironmentLogsApiFp = exports.EnvironmentLogsApiAxiosParamCreator = exports.EnvironmentDeploymentRuleApi = exports.EnvironmentDeploymentRuleApiFactory = exports.EnvironmentDeploymentRuleApiFp = exports.EnvironmentDeploymentRuleApiAxiosParamCreator = exports.EnvironmentDeploymentHistoryApi = exports.EnvironmentDeploymentHistoryApiFactory = exports.EnvironmentDeploymentHistoryApiFp = exports.EnvironmentDeploymentHistoryApiAxiosParamCreator = exports.EnvironmentActionsApi = exports.EnvironmentActionsApiFactory = exports.EnvironmentActionsApiFp = exports.EnvironmentActionsApiAxiosParamCreator = exports.DependencyApi = exports.DependencyApiFactory = exports.DependencyApiFp = exports.DependencyApiAxiosParamCreator = exports.DatabasesApi = exports.DatabasesApiFactory = exports.DatabasesApiFp = exports.DatabasesApiAxiosParamCreator = exports.DatabaseMetricsApi = exports.DatabaseMetricsApiFactory = exports.DatabaseMetricsApiFp = exports.DatabaseMetricsApiAxiosParamCreator = exports.DatabaseMainCallsApi = exports.DatabaseMainCallsApiFactory = exports.DatabaseMainCallsApiFp = void 0;
|
|
30
|
+
exports.ReferralRewardsApiAxiosParamCreator = exports.ProjectsApi = exports.ProjectsApiFactory = exports.ProjectsApiFp = exports.ProjectsApiAxiosParamCreator = exports.ProjectSecretApi = exports.ProjectSecretApiFactory = exports.ProjectSecretApiFp = exports.ProjectSecretApiAxiosParamCreator = exports.ProjectMainCallsApi = exports.ProjectMainCallsApiFactory = exports.ProjectMainCallsApiFp = exports.ProjectMainCallsApiAxiosParamCreator = exports.ProjectEnvironmentVariableApi = exports.ProjectEnvironmentVariableApiFactory = exports.ProjectEnvironmentVariableApiFp = exports.ProjectEnvironmentVariableApiAxiosParamCreator = exports.ProjectDeploymentRuleApi = exports.ProjectDeploymentRuleApiFactory = exports.ProjectDeploymentRuleApiFp = exports.ProjectDeploymentRuleApiAxiosParamCreator = exports.OrganizationWebhookApi = exports.OrganizationWebhookApiFactory = exports.OrganizationWebhookApiFp = exports.OrganizationWebhookApiAxiosParamCreator = exports.OrganizationMainCallsApi = exports.OrganizationMainCallsApiFactory = exports.OrganizationMainCallsApiFp = exports.OrganizationMainCallsApiAxiosParamCreator = exports.OrganizationApiTokenApi = exports.OrganizationApiTokenApiFactory = exports.OrganizationApiTokenApiFp = exports.OrganizationApiTokenApiAxiosParamCreator = exports.OrganizationAccountGitRepositoriesApi = exports.OrganizationAccountGitRepositoriesApiFactory = exports.OrganizationAccountGitRepositoriesApiFp = exports.OrganizationAccountGitRepositoriesApiAxiosParamCreator = exports.MembersApi = exports.MembersApiFactory = exports.MembersApiFp = exports.MembersApiAxiosParamCreator = exports.LogicalDatabaseApi = exports.LogicalDatabaseApiFactory = exports.LogicalDatabaseApiFp = exports.LogicalDatabaseApiAxiosParamCreator = exports.GithubAppApi = exports.GithubAppApiFactory = exports.GithubAppApiFp = exports.GithubAppApiAxiosParamCreator = exports.GitRepositoriesApi = void 0;
|
|
31
|
+
exports.UserSignUpApi = exports.UserSignUpApiFactory = exports.UserSignUpApiFp = exports.UserSignUpApiAxiosParamCreator = exports.ReferralRewardsApi = exports.ReferralRewardsApiFactory = exports.ReferralRewardsApiFp = void 0;
|
|
32
32
|
const axios_1 = require("axios");
|
|
33
33
|
// Some imports not used depending on template conditions
|
|
34
34
|
// @ts-ignore
|
|
@@ -95,14 +95,6 @@ var CloudProviderEnum;
|
|
|
95
95
|
CloudProviderEnum["DIGITAL_OCEAN"] = "DIGITAL_OCEAN";
|
|
96
96
|
CloudProviderEnum["SCALEWAY"] = "SCALEWAY";
|
|
97
97
|
})(CloudProviderEnum = exports.CloudProviderEnum || (exports.CloudProviderEnum = {}));
|
|
98
|
-
/**
|
|
99
|
-
* @export
|
|
100
|
-
* @enum {string}
|
|
101
|
-
*/
|
|
102
|
-
var ClusterAllOfFeaturesValueTypeEnum;
|
|
103
|
-
(function (ClusterAllOfFeaturesValueTypeEnum) {
|
|
104
|
-
ClusterAllOfFeaturesValueTypeEnum["BOOLEAN"] = "BOOLEAN";
|
|
105
|
-
})(ClusterAllOfFeaturesValueTypeEnum = exports.ClusterAllOfFeaturesValueTypeEnum || (exports.ClusterAllOfFeaturesValueTypeEnum = {}));
|
|
106
98
|
/**
|
|
107
99
|
* @export
|
|
108
100
|
* @enum {string}
|
|
@@ -206,10 +198,7 @@ var ContainerRegistryKindEnum;
|
|
|
206
198
|
*/
|
|
207
199
|
var CustomDomainStatusEnum;
|
|
208
200
|
(function (CustomDomainStatusEnum) {
|
|
209
|
-
CustomDomainStatusEnum["
|
|
210
|
-
CustomDomainStatusEnum["CHECKING"] = "checking";
|
|
211
|
-
CustomDomainStatusEnum["READY"] = "ready";
|
|
212
|
-
CustomDomainStatusEnum["ERROR"] = "error";
|
|
201
|
+
CustomDomainStatusEnum["VALIDATION_PENDING"] = "VALIDATION_PENDING";
|
|
213
202
|
})(CustomDomainStatusEnum = exports.CustomDomainStatusEnum || (exports.CustomDomainStatusEnum = {}));
|
|
214
203
|
/**
|
|
215
204
|
*
|
|
@@ -15720,6 +15709,110 @@ class DatabaseContainerApi extends base_1.BaseAPI {
|
|
|
15720
15709
|
}
|
|
15721
15710
|
}
|
|
15722
15711
|
exports.DatabaseContainerApi = DatabaseContainerApi;
|
|
15712
|
+
/**
|
|
15713
|
+
* DatabaseDeploymentHistoryApi - axios parameter creator
|
|
15714
|
+
* @export
|
|
15715
|
+
*/
|
|
15716
|
+
const DatabaseDeploymentHistoryApiAxiosParamCreator = function (configuration) {
|
|
15717
|
+
return {
|
|
15718
|
+
/**
|
|
15719
|
+
* By default it returns the 20 last results. The response is paginated.
|
|
15720
|
+
* @summary List database deploys
|
|
15721
|
+
* @param {string} databaseId Database ID
|
|
15722
|
+
* @param {*} [options] Override http request option.
|
|
15723
|
+
* @throws {RequiredError}
|
|
15724
|
+
*/
|
|
15725
|
+
listDatabaseDeploymentHistory: (databaseId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
15726
|
+
// verify required parameter 'databaseId' is not null or undefined
|
|
15727
|
+
(0, common_1.assertParamExists)('listDatabaseDeploymentHistory', 'databaseId', databaseId);
|
|
15728
|
+
const localVarPath = `/database/{databaseId}/deploymentHistory`
|
|
15729
|
+
.replace(`{${"databaseId"}}`, encodeURIComponent(String(databaseId)));
|
|
15730
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15731
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
15732
|
+
let baseOptions;
|
|
15733
|
+
if (configuration) {
|
|
15734
|
+
baseOptions = configuration.baseOptions;
|
|
15735
|
+
}
|
|
15736
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
15737
|
+
const localVarHeaderParameter = {};
|
|
15738
|
+
const localVarQueryParameter = {};
|
|
15739
|
+
// authentication bearerAuth required
|
|
15740
|
+
// http bearer authentication required
|
|
15741
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
15742
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
15743
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15744
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
15745
|
+
return {
|
|
15746
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
15747
|
+
options: localVarRequestOptions,
|
|
15748
|
+
};
|
|
15749
|
+
}),
|
|
15750
|
+
};
|
|
15751
|
+
};
|
|
15752
|
+
exports.DatabaseDeploymentHistoryApiAxiosParamCreator = DatabaseDeploymentHistoryApiAxiosParamCreator;
|
|
15753
|
+
/**
|
|
15754
|
+
* DatabaseDeploymentHistoryApi - functional programming interface
|
|
15755
|
+
* @export
|
|
15756
|
+
*/
|
|
15757
|
+
const DatabaseDeploymentHistoryApiFp = function (configuration) {
|
|
15758
|
+
const localVarAxiosParamCreator = (0, exports.DatabaseDeploymentHistoryApiAxiosParamCreator)(configuration);
|
|
15759
|
+
return {
|
|
15760
|
+
/**
|
|
15761
|
+
* By default it returns the 20 last results. The response is paginated.
|
|
15762
|
+
* @summary List database deploys
|
|
15763
|
+
* @param {string} databaseId Database ID
|
|
15764
|
+
* @param {*} [options] Override http request option.
|
|
15765
|
+
* @throws {RequiredError}
|
|
15766
|
+
*/
|
|
15767
|
+
listDatabaseDeploymentHistory(databaseId, options) {
|
|
15768
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
15769
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listDatabaseDeploymentHistory(databaseId, options);
|
|
15770
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
15771
|
+
});
|
|
15772
|
+
},
|
|
15773
|
+
};
|
|
15774
|
+
};
|
|
15775
|
+
exports.DatabaseDeploymentHistoryApiFp = DatabaseDeploymentHistoryApiFp;
|
|
15776
|
+
/**
|
|
15777
|
+
* DatabaseDeploymentHistoryApi - factory interface
|
|
15778
|
+
* @export
|
|
15779
|
+
*/
|
|
15780
|
+
const DatabaseDeploymentHistoryApiFactory = function (configuration, basePath, axios) {
|
|
15781
|
+
const localVarFp = (0, exports.DatabaseDeploymentHistoryApiFp)(configuration);
|
|
15782
|
+
return {
|
|
15783
|
+
/**
|
|
15784
|
+
* By default it returns the 20 last results. The response is paginated.
|
|
15785
|
+
* @summary List database deploys
|
|
15786
|
+
* @param {string} databaseId Database ID
|
|
15787
|
+
* @param {*} [options] Override http request option.
|
|
15788
|
+
* @throws {RequiredError}
|
|
15789
|
+
*/
|
|
15790
|
+
listDatabaseDeploymentHistory(databaseId, options) {
|
|
15791
|
+
return localVarFp.listDatabaseDeploymentHistory(databaseId, options).then((request) => request(axios, basePath));
|
|
15792
|
+
},
|
|
15793
|
+
};
|
|
15794
|
+
};
|
|
15795
|
+
exports.DatabaseDeploymentHistoryApiFactory = DatabaseDeploymentHistoryApiFactory;
|
|
15796
|
+
/**
|
|
15797
|
+
* DatabaseDeploymentHistoryApi - object-oriented interface
|
|
15798
|
+
* @export
|
|
15799
|
+
* @class DatabaseDeploymentHistoryApi
|
|
15800
|
+
* @extends {BaseAPI}
|
|
15801
|
+
*/
|
|
15802
|
+
class DatabaseDeploymentHistoryApi extends base_1.BaseAPI {
|
|
15803
|
+
/**
|
|
15804
|
+
* By default it returns the 20 last results. The response is paginated.
|
|
15805
|
+
* @summary List database deploys
|
|
15806
|
+
* @param {string} databaseId Database ID
|
|
15807
|
+
* @param {*} [options] Override http request option.
|
|
15808
|
+
* @throws {RequiredError}
|
|
15809
|
+
* @memberof DatabaseDeploymentHistoryApi
|
|
15810
|
+
*/
|
|
15811
|
+
listDatabaseDeploymentHistory(databaseId, options) {
|
|
15812
|
+
return (0, exports.DatabaseDeploymentHistoryApiFp)(this.configuration).listDatabaseDeploymentHistory(databaseId, options).then((request) => request(this.axios, this.basePath));
|
|
15813
|
+
}
|
|
15814
|
+
}
|
|
15815
|
+
exports.DatabaseDeploymentHistoryApi = DatabaseDeploymentHistoryApi;
|
|
15723
15816
|
/**
|
|
15724
15817
|
* DatabaseEventApi - axios parameter creator
|
|
15725
15818
|
* @export
|