qovery-typescript-axios 1.1.38 → 1.1.40
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 +258 -0
- package/dist/api.d.ts +220 -0
- package/dist/api.js +66 -0
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -6280,6 +6280,193 @@ export enum EnvironmentLogTypeEnum {
|
|
|
6280
6280
|
ENVIRONMENT = 'ENVIRONMENT'
|
|
6281
6281
|
}
|
|
6282
6282
|
|
|
6283
|
+
/**
|
|
6284
|
+
*
|
|
6285
|
+
* @export
|
|
6286
|
+
* @interface EnvironmentLogs
|
|
6287
|
+
*/
|
|
6288
|
+
export interface EnvironmentLogs {
|
|
6289
|
+
/**
|
|
6290
|
+
*
|
|
6291
|
+
* @type {string}
|
|
6292
|
+
* @memberof EnvironmentLogs
|
|
6293
|
+
*/
|
|
6294
|
+
'id': string;
|
|
6295
|
+
/**
|
|
6296
|
+
*
|
|
6297
|
+
* @type {string}
|
|
6298
|
+
* @memberof EnvironmentLogs
|
|
6299
|
+
*/
|
|
6300
|
+
'timestamp': string;
|
|
6301
|
+
/**
|
|
6302
|
+
*
|
|
6303
|
+
* @type {EnvironmentLogsDetails}
|
|
6304
|
+
* @memberof EnvironmentLogs
|
|
6305
|
+
*/
|
|
6306
|
+
'details': EnvironmentLogsDetails;
|
|
6307
|
+
/**
|
|
6308
|
+
*
|
|
6309
|
+
* @type {EnvironmentLogsError}
|
|
6310
|
+
* @memberof EnvironmentLogs
|
|
6311
|
+
*/
|
|
6312
|
+
'error'?: EnvironmentLogsError | null;
|
|
6313
|
+
/**
|
|
6314
|
+
*
|
|
6315
|
+
* @type {EnvironmentLogsMessage}
|
|
6316
|
+
* @memberof EnvironmentLogs
|
|
6317
|
+
*/
|
|
6318
|
+
'message'?: EnvironmentLogsMessage | null;
|
|
6319
|
+
}
|
|
6320
|
+
/**
|
|
6321
|
+
*
|
|
6322
|
+
* @export
|
|
6323
|
+
* @interface EnvironmentLogsDetails
|
|
6324
|
+
*/
|
|
6325
|
+
export interface EnvironmentLogsDetails {
|
|
6326
|
+
/**
|
|
6327
|
+
*
|
|
6328
|
+
* @type {string}
|
|
6329
|
+
* @memberof EnvironmentLogsDetails
|
|
6330
|
+
*/
|
|
6331
|
+
'organization_id'?: string;
|
|
6332
|
+
/**
|
|
6333
|
+
*
|
|
6334
|
+
* @type {string}
|
|
6335
|
+
* @memberof EnvironmentLogsDetails
|
|
6336
|
+
*/
|
|
6337
|
+
'cluster_id'?: string;
|
|
6338
|
+
/**
|
|
6339
|
+
*
|
|
6340
|
+
* @type {string}
|
|
6341
|
+
* @memberof EnvironmentLogsDetails
|
|
6342
|
+
*/
|
|
6343
|
+
'execution_id'?: string;
|
|
6344
|
+
/**
|
|
6345
|
+
*
|
|
6346
|
+
* @type {EnvironmentLogsDetailsTransmitter}
|
|
6347
|
+
* @memberof EnvironmentLogsDetails
|
|
6348
|
+
*/
|
|
6349
|
+
'transmitter'?: EnvironmentLogsDetailsTransmitter;
|
|
6350
|
+
/**
|
|
6351
|
+
*
|
|
6352
|
+
* @type {EnvironmentLogsDetailsStage}
|
|
6353
|
+
* @memberof EnvironmentLogsDetails
|
|
6354
|
+
*/
|
|
6355
|
+
'stage'?: EnvironmentLogsDetailsStage;
|
|
6356
|
+
}
|
|
6357
|
+
/**
|
|
6358
|
+
*
|
|
6359
|
+
* @export
|
|
6360
|
+
* @interface EnvironmentLogsDetailsStage
|
|
6361
|
+
*/
|
|
6362
|
+
export interface EnvironmentLogsDetailsStage {
|
|
6363
|
+
/**
|
|
6364
|
+
*
|
|
6365
|
+
* @type {string}
|
|
6366
|
+
* @memberof EnvironmentLogsDetailsStage
|
|
6367
|
+
*/
|
|
6368
|
+
'step'?: string;
|
|
6369
|
+
}
|
|
6370
|
+
/**
|
|
6371
|
+
*
|
|
6372
|
+
* @export
|
|
6373
|
+
* @interface EnvironmentLogsDetailsTransmitter
|
|
6374
|
+
*/
|
|
6375
|
+
export interface EnvironmentLogsDetailsTransmitter {
|
|
6376
|
+
/**
|
|
6377
|
+
*
|
|
6378
|
+
* @type {string}
|
|
6379
|
+
* @memberof EnvironmentLogsDetailsTransmitter
|
|
6380
|
+
*/
|
|
6381
|
+
'id'?: string;
|
|
6382
|
+
/**
|
|
6383
|
+
*
|
|
6384
|
+
* @type {string}
|
|
6385
|
+
* @memberof EnvironmentLogsDetailsTransmitter
|
|
6386
|
+
*/
|
|
6387
|
+
'name'?: string;
|
|
6388
|
+
/**
|
|
6389
|
+
*
|
|
6390
|
+
* @type {string}
|
|
6391
|
+
* @memberof EnvironmentLogsDetailsTransmitter
|
|
6392
|
+
*/
|
|
6393
|
+
'type'?: string;
|
|
6394
|
+
}
|
|
6395
|
+
/**
|
|
6396
|
+
*
|
|
6397
|
+
* @export
|
|
6398
|
+
* @interface EnvironmentLogsError
|
|
6399
|
+
*/
|
|
6400
|
+
export interface EnvironmentLogsError {
|
|
6401
|
+
/**
|
|
6402
|
+
*
|
|
6403
|
+
* @type {string}
|
|
6404
|
+
* @memberof EnvironmentLogsError
|
|
6405
|
+
*/
|
|
6406
|
+
'tag'?: string;
|
|
6407
|
+
/**
|
|
6408
|
+
*
|
|
6409
|
+
* @type {string}
|
|
6410
|
+
* @memberof EnvironmentLogsError
|
|
6411
|
+
*/
|
|
6412
|
+
'user_log_message'?: string;
|
|
6413
|
+
/**
|
|
6414
|
+
*
|
|
6415
|
+
* @type {string}
|
|
6416
|
+
* @memberof EnvironmentLogsError
|
|
6417
|
+
*/
|
|
6418
|
+
'link'?: string;
|
|
6419
|
+
/**
|
|
6420
|
+
*
|
|
6421
|
+
* @type {string}
|
|
6422
|
+
* @memberof EnvironmentLogsError
|
|
6423
|
+
*/
|
|
6424
|
+
'hint_message'?: string;
|
|
6425
|
+
/**
|
|
6426
|
+
*
|
|
6427
|
+
* @type {EnvironmentLogsErrorUnderlyingError}
|
|
6428
|
+
* @memberof EnvironmentLogsError
|
|
6429
|
+
*/
|
|
6430
|
+
'underlying_error'?: EnvironmentLogsErrorUnderlyingError;
|
|
6431
|
+
}
|
|
6432
|
+
/**
|
|
6433
|
+
*
|
|
6434
|
+
* @export
|
|
6435
|
+
* @interface EnvironmentLogsErrorUnderlyingError
|
|
6436
|
+
*/
|
|
6437
|
+
export interface EnvironmentLogsErrorUnderlyingError {
|
|
6438
|
+
/**
|
|
6439
|
+
*
|
|
6440
|
+
* @type {string}
|
|
6441
|
+
* @memberof EnvironmentLogsErrorUnderlyingError
|
|
6442
|
+
*/
|
|
6443
|
+
'message'?: string;
|
|
6444
|
+
/**
|
|
6445
|
+
*
|
|
6446
|
+
* @type {string}
|
|
6447
|
+
* @memberof EnvironmentLogsErrorUnderlyingError
|
|
6448
|
+
*/
|
|
6449
|
+
'full_details'?: string;
|
|
6450
|
+
}
|
|
6451
|
+
/**
|
|
6452
|
+
*
|
|
6453
|
+
* @export
|
|
6454
|
+
* @interface EnvironmentLogsMessage
|
|
6455
|
+
*/
|
|
6456
|
+
export interface EnvironmentLogsMessage {
|
|
6457
|
+
/**
|
|
6458
|
+
*
|
|
6459
|
+
* @type {string}
|
|
6460
|
+
* @memberof EnvironmentLogsMessage
|
|
6461
|
+
*/
|
|
6462
|
+
'safe_message'?: string;
|
|
6463
|
+
/**
|
|
6464
|
+
*
|
|
6465
|
+
* @type {string}
|
|
6466
|
+
* @memberof EnvironmentLogsMessage
|
|
6467
|
+
*/
|
|
6468
|
+
'full_details'?: string;
|
|
6469
|
+
}
|
|
6283
6470
|
/**
|
|
6284
6471
|
*
|
|
6285
6472
|
* @export
|
|
@@ -28577,6 +28764,44 @@ export const EnvironmentLogsApiAxiosParamCreator = function (configuration?: Con
|
|
|
28577
28764
|
|
|
28578
28765
|
|
|
28579
28766
|
|
|
28767
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
28768
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
28769
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
28770
|
+
|
|
28771
|
+
return {
|
|
28772
|
+
url: toPathString(localVarUrlObj),
|
|
28773
|
+
options: localVarRequestOptions,
|
|
28774
|
+
};
|
|
28775
|
+
},
|
|
28776
|
+
/**
|
|
28777
|
+
* This returns the last 1000 environment deployment logs v2
|
|
28778
|
+
* @summary List environment deployment logs v2
|
|
28779
|
+
* @param {string} environmentId Environment ID
|
|
28780
|
+
* @param {*} [options] Override http request option.
|
|
28781
|
+
* @throws {RequiredError}
|
|
28782
|
+
*/
|
|
28783
|
+
listEnvironmentLogs: async (environmentId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
28784
|
+
// verify required parameter 'environmentId' is not null or undefined
|
|
28785
|
+
assertParamExists('listEnvironmentLogs', 'environmentId', environmentId)
|
|
28786
|
+
const localVarPath = `/environment/{environmentId}/logs`
|
|
28787
|
+
.replace(`{${"environmentId"}}`, encodeURIComponent(String(environmentId)));
|
|
28788
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
28789
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
28790
|
+
let baseOptions;
|
|
28791
|
+
if (configuration) {
|
|
28792
|
+
baseOptions = configuration.baseOptions;
|
|
28793
|
+
}
|
|
28794
|
+
|
|
28795
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
28796
|
+
const localVarHeaderParameter = {} as any;
|
|
28797
|
+
const localVarQueryParameter = {} as any;
|
|
28798
|
+
|
|
28799
|
+
// authentication bearerAuth required
|
|
28800
|
+
// http bearer authentication required
|
|
28801
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
28802
|
+
|
|
28803
|
+
|
|
28804
|
+
|
|
28580
28805
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
28581
28806
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
28582
28807
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -28607,6 +28832,17 @@ export const EnvironmentLogsApiFp = function(configuration?: Configuration) {
|
|
|
28607
28832
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listEnvironmentLog(environmentId, options);
|
|
28608
28833
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
28609
28834
|
},
|
|
28835
|
+
/**
|
|
28836
|
+
* This returns the last 1000 environment deployment logs v2
|
|
28837
|
+
* @summary List environment deployment logs v2
|
|
28838
|
+
* @param {string} environmentId Environment ID
|
|
28839
|
+
* @param {*} [options] Override http request option.
|
|
28840
|
+
* @throws {RequiredError}
|
|
28841
|
+
*/
|
|
28842
|
+
async listEnvironmentLogs(environmentId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<EnvironmentLogs>>> {
|
|
28843
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listEnvironmentLogs(environmentId, options);
|
|
28844
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
28845
|
+
},
|
|
28610
28846
|
}
|
|
28611
28847
|
};
|
|
28612
28848
|
|
|
@@ -28627,6 +28863,16 @@ export const EnvironmentLogsApiFactory = function (configuration?: Configuration
|
|
|
28627
28863
|
listEnvironmentLog(environmentId: string, options?: any): AxiosPromise<EnvironmentLogResponseList> {
|
|
28628
28864
|
return localVarFp.listEnvironmentLog(environmentId, options).then((request) => request(axios, basePath));
|
|
28629
28865
|
},
|
|
28866
|
+
/**
|
|
28867
|
+
* This returns the last 1000 environment deployment logs v2
|
|
28868
|
+
* @summary List environment deployment logs v2
|
|
28869
|
+
* @param {string} environmentId Environment ID
|
|
28870
|
+
* @param {*} [options] Override http request option.
|
|
28871
|
+
* @throws {RequiredError}
|
|
28872
|
+
*/
|
|
28873
|
+
listEnvironmentLogs(environmentId: string, options?: any): AxiosPromise<Array<EnvironmentLogs>> {
|
|
28874
|
+
return localVarFp.listEnvironmentLogs(environmentId, options).then((request) => request(axios, basePath));
|
|
28875
|
+
},
|
|
28630
28876
|
};
|
|
28631
28877
|
};
|
|
28632
28878
|
|
|
@@ -28648,6 +28894,18 @@ export class EnvironmentLogsApi extends BaseAPI {
|
|
|
28648
28894
|
public listEnvironmentLog(environmentId: string, options?: AxiosRequestConfig) {
|
|
28649
28895
|
return EnvironmentLogsApiFp(this.configuration).listEnvironmentLog(environmentId, options).then((request) => request(this.axios, this.basePath));
|
|
28650
28896
|
}
|
|
28897
|
+
|
|
28898
|
+
/**
|
|
28899
|
+
* This returns the last 1000 environment deployment logs v2
|
|
28900
|
+
* @summary List environment deployment logs v2
|
|
28901
|
+
* @param {string} environmentId Environment ID
|
|
28902
|
+
* @param {*} [options] Override http request option.
|
|
28903
|
+
* @throws {RequiredError}
|
|
28904
|
+
* @memberof EnvironmentLogsApi
|
|
28905
|
+
*/
|
|
28906
|
+
public listEnvironmentLogs(environmentId: string, options?: AxiosRequestConfig) {
|
|
28907
|
+
return EnvironmentLogsApiFp(this.configuration).listEnvironmentLogs(environmentId, options).then((request) => request(this.axios, this.basePath));
|
|
28908
|
+
}
|
|
28651
28909
|
}
|
|
28652
28910
|
|
|
28653
28911
|
|
package/dist/api.d.ts
CHANGED
|
@@ -6235,6 +6235,193 @@ export declare enum EnvironmentLogTypeEnum {
|
|
|
6235
6235
|
DATABASE = "DATABASE",
|
|
6236
6236
|
ENVIRONMENT = "ENVIRONMENT"
|
|
6237
6237
|
}
|
|
6238
|
+
/**
|
|
6239
|
+
*
|
|
6240
|
+
* @export
|
|
6241
|
+
* @interface EnvironmentLogs
|
|
6242
|
+
*/
|
|
6243
|
+
export interface EnvironmentLogs {
|
|
6244
|
+
/**
|
|
6245
|
+
*
|
|
6246
|
+
* @type {string}
|
|
6247
|
+
* @memberof EnvironmentLogs
|
|
6248
|
+
*/
|
|
6249
|
+
'id': string;
|
|
6250
|
+
/**
|
|
6251
|
+
*
|
|
6252
|
+
* @type {string}
|
|
6253
|
+
* @memberof EnvironmentLogs
|
|
6254
|
+
*/
|
|
6255
|
+
'timestamp': string;
|
|
6256
|
+
/**
|
|
6257
|
+
*
|
|
6258
|
+
* @type {EnvironmentLogsDetails}
|
|
6259
|
+
* @memberof EnvironmentLogs
|
|
6260
|
+
*/
|
|
6261
|
+
'details': EnvironmentLogsDetails;
|
|
6262
|
+
/**
|
|
6263
|
+
*
|
|
6264
|
+
* @type {EnvironmentLogsError}
|
|
6265
|
+
* @memberof EnvironmentLogs
|
|
6266
|
+
*/
|
|
6267
|
+
'error'?: EnvironmentLogsError | null;
|
|
6268
|
+
/**
|
|
6269
|
+
*
|
|
6270
|
+
* @type {EnvironmentLogsMessage}
|
|
6271
|
+
* @memberof EnvironmentLogs
|
|
6272
|
+
*/
|
|
6273
|
+
'message'?: EnvironmentLogsMessage | null;
|
|
6274
|
+
}
|
|
6275
|
+
/**
|
|
6276
|
+
*
|
|
6277
|
+
* @export
|
|
6278
|
+
* @interface EnvironmentLogsDetails
|
|
6279
|
+
*/
|
|
6280
|
+
export interface EnvironmentLogsDetails {
|
|
6281
|
+
/**
|
|
6282
|
+
*
|
|
6283
|
+
* @type {string}
|
|
6284
|
+
* @memberof EnvironmentLogsDetails
|
|
6285
|
+
*/
|
|
6286
|
+
'organization_id'?: string;
|
|
6287
|
+
/**
|
|
6288
|
+
*
|
|
6289
|
+
* @type {string}
|
|
6290
|
+
* @memberof EnvironmentLogsDetails
|
|
6291
|
+
*/
|
|
6292
|
+
'cluster_id'?: string;
|
|
6293
|
+
/**
|
|
6294
|
+
*
|
|
6295
|
+
* @type {string}
|
|
6296
|
+
* @memberof EnvironmentLogsDetails
|
|
6297
|
+
*/
|
|
6298
|
+
'execution_id'?: string;
|
|
6299
|
+
/**
|
|
6300
|
+
*
|
|
6301
|
+
* @type {EnvironmentLogsDetailsTransmitter}
|
|
6302
|
+
* @memberof EnvironmentLogsDetails
|
|
6303
|
+
*/
|
|
6304
|
+
'transmitter'?: EnvironmentLogsDetailsTransmitter;
|
|
6305
|
+
/**
|
|
6306
|
+
*
|
|
6307
|
+
* @type {EnvironmentLogsDetailsStage}
|
|
6308
|
+
* @memberof EnvironmentLogsDetails
|
|
6309
|
+
*/
|
|
6310
|
+
'stage'?: EnvironmentLogsDetailsStage;
|
|
6311
|
+
}
|
|
6312
|
+
/**
|
|
6313
|
+
*
|
|
6314
|
+
* @export
|
|
6315
|
+
* @interface EnvironmentLogsDetailsStage
|
|
6316
|
+
*/
|
|
6317
|
+
export interface EnvironmentLogsDetailsStage {
|
|
6318
|
+
/**
|
|
6319
|
+
*
|
|
6320
|
+
* @type {string}
|
|
6321
|
+
* @memberof EnvironmentLogsDetailsStage
|
|
6322
|
+
*/
|
|
6323
|
+
'step'?: string;
|
|
6324
|
+
}
|
|
6325
|
+
/**
|
|
6326
|
+
*
|
|
6327
|
+
* @export
|
|
6328
|
+
* @interface EnvironmentLogsDetailsTransmitter
|
|
6329
|
+
*/
|
|
6330
|
+
export interface EnvironmentLogsDetailsTransmitter {
|
|
6331
|
+
/**
|
|
6332
|
+
*
|
|
6333
|
+
* @type {string}
|
|
6334
|
+
* @memberof EnvironmentLogsDetailsTransmitter
|
|
6335
|
+
*/
|
|
6336
|
+
'id'?: string;
|
|
6337
|
+
/**
|
|
6338
|
+
*
|
|
6339
|
+
* @type {string}
|
|
6340
|
+
* @memberof EnvironmentLogsDetailsTransmitter
|
|
6341
|
+
*/
|
|
6342
|
+
'name'?: string;
|
|
6343
|
+
/**
|
|
6344
|
+
*
|
|
6345
|
+
* @type {string}
|
|
6346
|
+
* @memberof EnvironmentLogsDetailsTransmitter
|
|
6347
|
+
*/
|
|
6348
|
+
'type'?: string;
|
|
6349
|
+
}
|
|
6350
|
+
/**
|
|
6351
|
+
*
|
|
6352
|
+
* @export
|
|
6353
|
+
* @interface EnvironmentLogsError
|
|
6354
|
+
*/
|
|
6355
|
+
export interface EnvironmentLogsError {
|
|
6356
|
+
/**
|
|
6357
|
+
*
|
|
6358
|
+
* @type {string}
|
|
6359
|
+
* @memberof EnvironmentLogsError
|
|
6360
|
+
*/
|
|
6361
|
+
'tag'?: string;
|
|
6362
|
+
/**
|
|
6363
|
+
*
|
|
6364
|
+
* @type {string}
|
|
6365
|
+
* @memberof EnvironmentLogsError
|
|
6366
|
+
*/
|
|
6367
|
+
'user_log_message'?: string;
|
|
6368
|
+
/**
|
|
6369
|
+
*
|
|
6370
|
+
* @type {string}
|
|
6371
|
+
* @memberof EnvironmentLogsError
|
|
6372
|
+
*/
|
|
6373
|
+
'link'?: string;
|
|
6374
|
+
/**
|
|
6375
|
+
*
|
|
6376
|
+
* @type {string}
|
|
6377
|
+
* @memberof EnvironmentLogsError
|
|
6378
|
+
*/
|
|
6379
|
+
'hint_message'?: string;
|
|
6380
|
+
/**
|
|
6381
|
+
*
|
|
6382
|
+
* @type {EnvironmentLogsErrorUnderlyingError}
|
|
6383
|
+
* @memberof EnvironmentLogsError
|
|
6384
|
+
*/
|
|
6385
|
+
'underlying_error'?: EnvironmentLogsErrorUnderlyingError;
|
|
6386
|
+
}
|
|
6387
|
+
/**
|
|
6388
|
+
*
|
|
6389
|
+
* @export
|
|
6390
|
+
* @interface EnvironmentLogsErrorUnderlyingError
|
|
6391
|
+
*/
|
|
6392
|
+
export interface EnvironmentLogsErrorUnderlyingError {
|
|
6393
|
+
/**
|
|
6394
|
+
*
|
|
6395
|
+
* @type {string}
|
|
6396
|
+
* @memberof EnvironmentLogsErrorUnderlyingError
|
|
6397
|
+
*/
|
|
6398
|
+
'message'?: string;
|
|
6399
|
+
/**
|
|
6400
|
+
*
|
|
6401
|
+
* @type {string}
|
|
6402
|
+
* @memberof EnvironmentLogsErrorUnderlyingError
|
|
6403
|
+
*/
|
|
6404
|
+
'full_details'?: string;
|
|
6405
|
+
}
|
|
6406
|
+
/**
|
|
6407
|
+
*
|
|
6408
|
+
* @export
|
|
6409
|
+
* @interface EnvironmentLogsMessage
|
|
6410
|
+
*/
|
|
6411
|
+
export interface EnvironmentLogsMessage {
|
|
6412
|
+
/**
|
|
6413
|
+
*
|
|
6414
|
+
* @type {string}
|
|
6415
|
+
* @memberof EnvironmentLogsMessage
|
|
6416
|
+
*/
|
|
6417
|
+
'safe_message'?: string;
|
|
6418
|
+
/**
|
|
6419
|
+
*
|
|
6420
|
+
* @type {string}
|
|
6421
|
+
* @memberof EnvironmentLogsMessage
|
|
6422
|
+
*/
|
|
6423
|
+
'full_details'?: string;
|
|
6424
|
+
}
|
|
6238
6425
|
/**
|
|
6239
6426
|
*
|
|
6240
6427
|
* @export
|
|
@@ -19543,6 +19730,14 @@ export declare const EnvironmentLogsApiAxiosParamCreator: (configuration?: Confi
|
|
|
19543
19730
|
* @throws {RequiredError}
|
|
19544
19731
|
*/
|
|
19545
19732
|
listEnvironmentLog: (environmentId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
19733
|
+
/**
|
|
19734
|
+
* This returns the last 1000 environment deployment logs v2
|
|
19735
|
+
* @summary List environment deployment logs v2
|
|
19736
|
+
* @param {string} environmentId Environment ID
|
|
19737
|
+
* @param {*} [options] Override http request option.
|
|
19738
|
+
* @throws {RequiredError}
|
|
19739
|
+
*/
|
|
19740
|
+
listEnvironmentLogs: (environmentId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
19546
19741
|
};
|
|
19547
19742
|
/**
|
|
19548
19743
|
* EnvironmentLogsApi - functional programming interface
|
|
@@ -19557,6 +19752,14 @@ export declare const EnvironmentLogsApiFp: (configuration?: Configuration) => {
|
|
|
19557
19752
|
* @throws {RequiredError}
|
|
19558
19753
|
*/
|
|
19559
19754
|
listEnvironmentLog(environmentId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EnvironmentLogResponseList>>;
|
|
19755
|
+
/**
|
|
19756
|
+
* This returns the last 1000 environment deployment logs v2
|
|
19757
|
+
* @summary List environment deployment logs v2
|
|
19758
|
+
* @param {string} environmentId Environment ID
|
|
19759
|
+
* @param {*} [options] Override http request option.
|
|
19760
|
+
* @throws {RequiredError}
|
|
19761
|
+
*/
|
|
19762
|
+
listEnvironmentLogs(environmentId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<EnvironmentLogs>>>;
|
|
19560
19763
|
};
|
|
19561
19764
|
/**
|
|
19562
19765
|
* EnvironmentLogsApi - factory interface
|
|
@@ -19571,6 +19774,14 @@ export declare const EnvironmentLogsApiFactory: (configuration?: Configuration,
|
|
|
19571
19774
|
* @throws {RequiredError}
|
|
19572
19775
|
*/
|
|
19573
19776
|
listEnvironmentLog(environmentId: string, options?: any): AxiosPromise<EnvironmentLogResponseList>;
|
|
19777
|
+
/**
|
|
19778
|
+
* This returns the last 1000 environment deployment logs v2
|
|
19779
|
+
* @summary List environment deployment logs v2
|
|
19780
|
+
* @param {string} environmentId Environment ID
|
|
19781
|
+
* @param {*} [options] Override http request option.
|
|
19782
|
+
* @throws {RequiredError}
|
|
19783
|
+
*/
|
|
19784
|
+
listEnvironmentLogs(environmentId: string, options?: any): AxiosPromise<Array<EnvironmentLogs>>;
|
|
19574
19785
|
};
|
|
19575
19786
|
/**
|
|
19576
19787
|
* EnvironmentLogsApi - object-oriented interface
|
|
@@ -19588,6 +19799,15 @@ export declare class EnvironmentLogsApi extends BaseAPI {
|
|
|
19588
19799
|
* @memberof EnvironmentLogsApi
|
|
19589
19800
|
*/
|
|
19590
19801
|
listEnvironmentLog(environmentId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<EnvironmentLogResponseList>>;
|
|
19802
|
+
/**
|
|
19803
|
+
* This returns the last 1000 environment deployment logs v2
|
|
19804
|
+
* @summary List environment deployment logs v2
|
|
19805
|
+
* @param {string} environmentId Environment ID
|
|
19806
|
+
* @param {*} [options] Override http request option.
|
|
19807
|
+
* @throws {RequiredError}
|
|
19808
|
+
* @memberof EnvironmentLogsApi
|
|
19809
|
+
*/
|
|
19810
|
+
listEnvironmentLogs(environmentId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<EnvironmentLogs[]>>;
|
|
19591
19811
|
}
|
|
19592
19812
|
/**
|
|
19593
19813
|
* EnvironmentMainCallsApi - axios parameter creator
|
package/dist/api.js
CHANGED
|
@@ -16928,6 +16928,38 @@ const EnvironmentLogsApiAxiosParamCreator = function (configuration) {
|
|
|
16928
16928
|
options: localVarRequestOptions,
|
|
16929
16929
|
};
|
|
16930
16930
|
}),
|
|
16931
|
+
/**
|
|
16932
|
+
* This returns the last 1000 environment deployment logs v2
|
|
16933
|
+
* @summary List environment deployment logs v2
|
|
16934
|
+
* @param {string} environmentId Environment ID
|
|
16935
|
+
* @param {*} [options] Override http request option.
|
|
16936
|
+
* @throws {RequiredError}
|
|
16937
|
+
*/
|
|
16938
|
+
listEnvironmentLogs: (environmentId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
16939
|
+
// verify required parameter 'environmentId' is not null or undefined
|
|
16940
|
+
(0, common_1.assertParamExists)('listEnvironmentLogs', 'environmentId', environmentId);
|
|
16941
|
+
const localVarPath = `/environment/{environmentId}/logs`
|
|
16942
|
+
.replace(`{${"environmentId"}}`, encodeURIComponent(String(environmentId)));
|
|
16943
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16944
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
16945
|
+
let baseOptions;
|
|
16946
|
+
if (configuration) {
|
|
16947
|
+
baseOptions = configuration.baseOptions;
|
|
16948
|
+
}
|
|
16949
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
16950
|
+
const localVarHeaderParameter = {};
|
|
16951
|
+
const localVarQueryParameter = {};
|
|
16952
|
+
// authentication bearerAuth required
|
|
16953
|
+
// http bearer authentication required
|
|
16954
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
16955
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
16956
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16957
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
16958
|
+
return {
|
|
16959
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
16960
|
+
options: localVarRequestOptions,
|
|
16961
|
+
};
|
|
16962
|
+
}),
|
|
16931
16963
|
};
|
|
16932
16964
|
};
|
|
16933
16965
|
exports.EnvironmentLogsApiAxiosParamCreator = EnvironmentLogsApiAxiosParamCreator;
|
|
@@ -16951,6 +16983,19 @@ const EnvironmentLogsApiFp = function (configuration) {
|
|
|
16951
16983
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
16952
16984
|
});
|
|
16953
16985
|
},
|
|
16986
|
+
/**
|
|
16987
|
+
* This returns the last 1000 environment deployment logs v2
|
|
16988
|
+
* @summary List environment deployment logs v2
|
|
16989
|
+
* @param {string} environmentId Environment ID
|
|
16990
|
+
* @param {*} [options] Override http request option.
|
|
16991
|
+
* @throws {RequiredError}
|
|
16992
|
+
*/
|
|
16993
|
+
listEnvironmentLogs(environmentId, options) {
|
|
16994
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
16995
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listEnvironmentLogs(environmentId, options);
|
|
16996
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
16997
|
+
});
|
|
16998
|
+
},
|
|
16954
16999
|
};
|
|
16955
17000
|
};
|
|
16956
17001
|
exports.EnvironmentLogsApiFp = EnvironmentLogsApiFp;
|
|
@@ -16971,6 +17016,16 @@ const EnvironmentLogsApiFactory = function (configuration, basePath, axios) {
|
|
|
16971
17016
|
listEnvironmentLog(environmentId, options) {
|
|
16972
17017
|
return localVarFp.listEnvironmentLog(environmentId, options).then((request) => request(axios, basePath));
|
|
16973
17018
|
},
|
|
17019
|
+
/**
|
|
17020
|
+
* This returns the last 1000 environment deployment logs v2
|
|
17021
|
+
* @summary List environment deployment logs v2
|
|
17022
|
+
* @param {string} environmentId Environment ID
|
|
17023
|
+
* @param {*} [options] Override http request option.
|
|
17024
|
+
* @throws {RequiredError}
|
|
17025
|
+
*/
|
|
17026
|
+
listEnvironmentLogs(environmentId, options) {
|
|
17027
|
+
return localVarFp.listEnvironmentLogs(environmentId, options).then((request) => request(axios, basePath));
|
|
17028
|
+
},
|
|
16974
17029
|
};
|
|
16975
17030
|
};
|
|
16976
17031
|
exports.EnvironmentLogsApiFactory = EnvironmentLogsApiFactory;
|
|
@@ -16992,6 +17047,17 @@ class EnvironmentLogsApi extends base_1.BaseAPI {
|
|
|
16992
17047
|
listEnvironmentLog(environmentId, options) {
|
|
16993
17048
|
return (0, exports.EnvironmentLogsApiFp)(this.configuration).listEnvironmentLog(environmentId, options).then((request) => request(this.axios, this.basePath));
|
|
16994
17049
|
}
|
|
17050
|
+
/**
|
|
17051
|
+
* This returns the last 1000 environment deployment logs v2
|
|
17052
|
+
* @summary List environment deployment logs v2
|
|
17053
|
+
* @param {string} environmentId Environment ID
|
|
17054
|
+
* @param {*} [options] Override http request option.
|
|
17055
|
+
* @throws {RequiredError}
|
|
17056
|
+
* @memberof EnvironmentLogsApi
|
|
17057
|
+
*/
|
|
17058
|
+
listEnvironmentLogs(environmentId, options) {
|
|
17059
|
+
return (0, exports.EnvironmentLogsApiFp)(this.configuration).listEnvironmentLogs(environmentId, options).then((request) => request(this.axios, this.basePath));
|
|
17060
|
+
}
|
|
16995
17061
|
}
|
|
16996
17062
|
exports.EnvironmentLogsApi = EnvironmentLogsApi;
|
|
16997
17063
|
/**
|