qovery-typescript-axios 1.1.38 → 1.1.39

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 CHANGED
@@ -6143,6 +6143,156 @@ export interface EnvironmentEditRequest {
6143
6143
  */
6144
6144
  'mode'?: CreateEnvironmentModeEnum;
6145
6145
  }
6146
+ /**
6147
+ *
6148
+ * @export
6149
+ * @interface EnvironmentEnvironmentIdLogsDetails
6150
+ */
6151
+ export interface EnvironmentEnvironmentIdLogsDetails {
6152
+ /**
6153
+ *
6154
+ * @type {string}
6155
+ * @memberof EnvironmentEnvironmentIdLogsDetails
6156
+ */
6157
+ 'organization_id'?: string;
6158
+ /**
6159
+ *
6160
+ * @type {string}
6161
+ * @memberof EnvironmentEnvironmentIdLogsDetails
6162
+ */
6163
+ 'cluster_id'?: string;
6164
+ /**
6165
+ *
6166
+ * @type {string}
6167
+ * @memberof EnvironmentEnvironmentIdLogsDetails
6168
+ */
6169
+ 'execution_id'?: string;
6170
+ /**
6171
+ *
6172
+ * @type {EnvironmentEnvironmentIdLogsDetailsTransmitter}
6173
+ * @memberof EnvironmentEnvironmentIdLogsDetails
6174
+ */
6175
+ 'transmitter'?: EnvironmentEnvironmentIdLogsDetailsTransmitter;
6176
+ /**
6177
+ *
6178
+ * @type {EnvironmentEnvironmentIdLogsDetailsStage}
6179
+ * @memberof EnvironmentEnvironmentIdLogsDetails
6180
+ */
6181
+ 'stage'?: EnvironmentEnvironmentIdLogsDetailsStage;
6182
+ }
6183
+ /**
6184
+ *
6185
+ * @export
6186
+ * @interface EnvironmentEnvironmentIdLogsDetailsStage
6187
+ */
6188
+ export interface EnvironmentEnvironmentIdLogsDetailsStage {
6189
+ /**
6190
+ *
6191
+ * @type {string}
6192
+ * @memberof EnvironmentEnvironmentIdLogsDetailsStage
6193
+ */
6194
+ 'step'?: string;
6195
+ }
6196
+ /**
6197
+ *
6198
+ * @export
6199
+ * @interface EnvironmentEnvironmentIdLogsDetailsTransmitter
6200
+ */
6201
+ export interface EnvironmentEnvironmentIdLogsDetailsTransmitter {
6202
+ /**
6203
+ *
6204
+ * @type {string}
6205
+ * @memberof EnvironmentEnvironmentIdLogsDetailsTransmitter
6206
+ */
6207
+ 'id'?: string;
6208
+ /**
6209
+ *
6210
+ * @type {string}
6211
+ * @memberof EnvironmentEnvironmentIdLogsDetailsTransmitter
6212
+ */
6213
+ 'name'?: string;
6214
+ /**
6215
+ *
6216
+ * @type {string}
6217
+ * @memberof EnvironmentEnvironmentIdLogsDetailsTransmitter
6218
+ */
6219
+ 'type'?: string;
6220
+ }
6221
+ /**
6222
+ *
6223
+ * @export
6224
+ * @interface EnvironmentEnvironmentIdLogsError
6225
+ */
6226
+ export interface EnvironmentEnvironmentIdLogsError {
6227
+ /**
6228
+ *
6229
+ * @type {string}
6230
+ * @memberof EnvironmentEnvironmentIdLogsError
6231
+ */
6232
+ 'tag'?: string;
6233
+ /**
6234
+ *
6235
+ * @type {string}
6236
+ * @memberof EnvironmentEnvironmentIdLogsError
6237
+ */
6238
+ 'user_log_message'?: string;
6239
+ /**
6240
+ *
6241
+ * @type {string}
6242
+ * @memberof EnvironmentEnvironmentIdLogsError
6243
+ */
6244
+ 'link'?: string;
6245
+ /**
6246
+ *
6247
+ * @type {string}
6248
+ * @memberof EnvironmentEnvironmentIdLogsError
6249
+ */
6250
+ 'hint_message'?: string;
6251
+ /**
6252
+ *
6253
+ * @type {EnvironmentEnvironmentIdLogsErrorUnderlyingError}
6254
+ * @memberof EnvironmentEnvironmentIdLogsError
6255
+ */
6256
+ 'underlying_error'?: EnvironmentEnvironmentIdLogsErrorUnderlyingError;
6257
+ }
6258
+ /**
6259
+ *
6260
+ * @export
6261
+ * @interface EnvironmentEnvironmentIdLogsErrorUnderlyingError
6262
+ */
6263
+ export interface EnvironmentEnvironmentIdLogsErrorUnderlyingError {
6264
+ /**
6265
+ *
6266
+ * @type {string}
6267
+ * @memberof EnvironmentEnvironmentIdLogsErrorUnderlyingError
6268
+ */
6269
+ 'message'?: string;
6270
+ /**
6271
+ *
6272
+ * @type {string}
6273
+ * @memberof EnvironmentEnvironmentIdLogsErrorUnderlyingError
6274
+ */
6275
+ 'full_details'?: string;
6276
+ }
6277
+ /**
6278
+ *
6279
+ * @export
6280
+ * @interface EnvironmentEnvironmentIdLogsMessage
6281
+ */
6282
+ export interface EnvironmentEnvironmentIdLogsMessage {
6283
+ /**
6284
+ *
6285
+ * @type {string}
6286
+ * @memberof EnvironmentEnvironmentIdLogsMessage
6287
+ */
6288
+ 'safe_message'?: string;
6289
+ /**
6290
+ *
6291
+ * @type {string}
6292
+ * @memberof EnvironmentEnvironmentIdLogsMessage
6293
+ */
6294
+ 'full_details'?: string;
6295
+ }
6146
6296
  /**
6147
6297
  *
6148
6298
  * @export
@@ -6955,6 +7105,43 @@ export interface InlineObject {
6955
7105
  */
6956
7106
  'user_id': string;
6957
7107
  }
7108
+ /**
7109
+ *
7110
+ * @export
7111
+ * @interface InlineResponse200
7112
+ */
7113
+ export interface InlineResponse200 {
7114
+ /**
7115
+ *
7116
+ * @type {string}
7117
+ * @memberof InlineResponse200
7118
+ */
7119
+ 'id': string;
7120
+ /**
7121
+ *
7122
+ * @type {string}
7123
+ * @memberof InlineResponse200
7124
+ */
7125
+ 'timestamp': string;
7126
+ /**
7127
+ *
7128
+ * @type {EnvironmentEnvironmentIdLogsDetails}
7129
+ * @memberof InlineResponse200
7130
+ */
7131
+ 'details': EnvironmentEnvironmentIdLogsDetails;
7132
+ /**
7133
+ *
7134
+ * @type {EnvironmentEnvironmentIdLogsError}
7135
+ * @memberof InlineResponse200
7136
+ */
7137
+ 'error'?: EnvironmentEnvironmentIdLogsError | null;
7138
+ /**
7139
+ *
7140
+ * @type {EnvironmentEnvironmentIdLogsMessage}
7141
+ * @memberof InlineResponse200
7142
+ */
7143
+ 'message'?: EnvironmentEnvironmentIdLogsMessage | null;
7144
+ }
6958
7145
  /**
6959
7146
  *
6960
7147
  * @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<InlineResponse200>>> {
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<InlineResponse200>> {
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
@@ -6100,6 +6100,156 @@ export interface EnvironmentEditRequest {
6100
6100
  */
6101
6101
  'mode'?: CreateEnvironmentModeEnum;
6102
6102
  }
6103
+ /**
6104
+ *
6105
+ * @export
6106
+ * @interface EnvironmentEnvironmentIdLogsDetails
6107
+ */
6108
+ export interface EnvironmentEnvironmentIdLogsDetails {
6109
+ /**
6110
+ *
6111
+ * @type {string}
6112
+ * @memberof EnvironmentEnvironmentIdLogsDetails
6113
+ */
6114
+ 'organization_id'?: string;
6115
+ /**
6116
+ *
6117
+ * @type {string}
6118
+ * @memberof EnvironmentEnvironmentIdLogsDetails
6119
+ */
6120
+ 'cluster_id'?: string;
6121
+ /**
6122
+ *
6123
+ * @type {string}
6124
+ * @memberof EnvironmentEnvironmentIdLogsDetails
6125
+ */
6126
+ 'execution_id'?: string;
6127
+ /**
6128
+ *
6129
+ * @type {EnvironmentEnvironmentIdLogsDetailsTransmitter}
6130
+ * @memberof EnvironmentEnvironmentIdLogsDetails
6131
+ */
6132
+ 'transmitter'?: EnvironmentEnvironmentIdLogsDetailsTransmitter;
6133
+ /**
6134
+ *
6135
+ * @type {EnvironmentEnvironmentIdLogsDetailsStage}
6136
+ * @memberof EnvironmentEnvironmentIdLogsDetails
6137
+ */
6138
+ 'stage'?: EnvironmentEnvironmentIdLogsDetailsStage;
6139
+ }
6140
+ /**
6141
+ *
6142
+ * @export
6143
+ * @interface EnvironmentEnvironmentIdLogsDetailsStage
6144
+ */
6145
+ export interface EnvironmentEnvironmentIdLogsDetailsStage {
6146
+ /**
6147
+ *
6148
+ * @type {string}
6149
+ * @memberof EnvironmentEnvironmentIdLogsDetailsStage
6150
+ */
6151
+ 'step'?: string;
6152
+ }
6153
+ /**
6154
+ *
6155
+ * @export
6156
+ * @interface EnvironmentEnvironmentIdLogsDetailsTransmitter
6157
+ */
6158
+ export interface EnvironmentEnvironmentIdLogsDetailsTransmitter {
6159
+ /**
6160
+ *
6161
+ * @type {string}
6162
+ * @memberof EnvironmentEnvironmentIdLogsDetailsTransmitter
6163
+ */
6164
+ 'id'?: string;
6165
+ /**
6166
+ *
6167
+ * @type {string}
6168
+ * @memberof EnvironmentEnvironmentIdLogsDetailsTransmitter
6169
+ */
6170
+ 'name'?: string;
6171
+ /**
6172
+ *
6173
+ * @type {string}
6174
+ * @memberof EnvironmentEnvironmentIdLogsDetailsTransmitter
6175
+ */
6176
+ 'type'?: string;
6177
+ }
6178
+ /**
6179
+ *
6180
+ * @export
6181
+ * @interface EnvironmentEnvironmentIdLogsError
6182
+ */
6183
+ export interface EnvironmentEnvironmentIdLogsError {
6184
+ /**
6185
+ *
6186
+ * @type {string}
6187
+ * @memberof EnvironmentEnvironmentIdLogsError
6188
+ */
6189
+ 'tag'?: string;
6190
+ /**
6191
+ *
6192
+ * @type {string}
6193
+ * @memberof EnvironmentEnvironmentIdLogsError
6194
+ */
6195
+ 'user_log_message'?: string;
6196
+ /**
6197
+ *
6198
+ * @type {string}
6199
+ * @memberof EnvironmentEnvironmentIdLogsError
6200
+ */
6201
+ 'link'?: string;
6202
+ /**
6203
+ *
6204
+ * @type {string}
6205
+ * @memberof EnvironmentEnvironmentIdLogsError
6206
+ */
6207
+ 'hint_message'?: string;
6208
+ /**
6209
+ *
6210
+ * @type {EnvironmentEnvironmentIdLogsErrorUnderlyingError}
6211
+ * @memberof EnvironmentEnvironmentIdLogsError
6212
+ */
6213
+ 'underlying_error'?: EnvironmentEnvironmentIdLogsErrorUnderlyingError;
6214
+ }
6215
+ /**
6216
+ *
6217
+ * @export
6218
+ * @interface EnvironmentEnvironmentIdLogsErrorUnderlyingError
6219
+ */
6220
+ export interface EnvironmentEnvironmentIdLogsErrorUnderlyingError {
6221
+ /**
6222
+ *
6223
+ * @type {string}
6224
+ * @memberof EnvironmentEnvironmentIdLogsErrorUnderlyingError
6225
+ */
6226
+ 'message'?: string;
6227
+ /**
6228
+ *
6229
+ * @type {string}
6230
+ * @memberof EnvironmentEnvironmentIdLogsErrorUnderlyingError
6231
+ */
6232
+ 'full_details'?: string;
6233
+ }
6234
+ /**
6235
+ *
6236
+ * @export
6237
+ * @interface EnvironmentEnvironmentIdLogsMessage
6238
+ */
6239
+ export interface EnvironmentEnvironmentIdLogsMessage {
6240
+ /**
6241
+ *
6242
+ * @type {string}
6243
+ * @memberof EnvironmentEnvironmentIdLogsMessage
6244
+ */
6245
+ 'safe_message'?: string;
6246
+ /**
6247
+ *
6248
+ * @type {string}
6249
+ * @memberof EnvironmentEnvironmentIdLogsMessage
6250
+ */
6251
+ 'full_details'?: string;
6252
+ }
6103
6253
  /**
6104
6254
  *
6105
6255
  * @export
@@ -6904,6 +7054,43 @@ export interface InlineObject {
6904
7054
  */
6905
7055
  'user_id': string;
6906
7056
  }
7057
+ /**
7058
+ *
7059
+ * @export
7060
+ * @interface InlineResponse200
7061
+ */
7062
+ export interface InlineResponse200 {
7063
+ /**
7064
+ *
7065
+ * @type {string}
7066
+ * @memberof InlineResponse200
7067
+ */
7068
+ 'id': string;
7069
+ /**
7070
+ *
7071
+ * @type {string}
7072
+ * @memberof InlineResponse200
7073
+ */
7074
+ 'timestamp': string;
7075
+ /**
7076
+ *
7077
+ * @type {EnvironmentEnvironmentIdLogsDetails}
7078
+ * @memberof InlineResponse200
7079
+ */
7080
+ 'details': EnvironmentEnvironmentIdLogsDetails;
7081
+ /**
7082
+ *
7083
+ * @type {EnvironmentEnvironmentIdLogsError}
7084
+ * @memberof InlineResponse200
7085
+ */
7086
+ 'error'?: EnvironmentEnvironmentIdLogsError | null;
7087
+ /**
7088
+ *
7089
+ * @type {EnvironmentEnvironmentIdLogsMessage}
7090
+ * @memberof InlineResponse200
7091
+ */
7092
+ 'message'?: EnvironmentEnvironmentIdLogsMessage | null;
7093
+ }
6907
7094
  /**
6908
7095
  *
6909
7096
  * @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<InlineResponse200>>>;
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<InlineResponse200>>;
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<InlineResponse200[]>>;
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
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "qovery-typescript-axios",
3
- "version": "v1.1.38",
3
+ "version": "v1.1.39",
4
4
  "description": "OpenAPI client for qovery-typescript-axios",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [