qovery-typescript-axios 1.1.811 → 1.1.812

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
@@ -192,42 +192,60 @@ export interface AlertPresentationResponse {
192
192
  */
193
193
  'runbook_url'?: string | null;
194
194
  }
195
+ /**
196
+ * @type AlertReceiverCreationRequest
197
+ * @export
198
+ */
199
+ export type AlertReceiverCreationRequest = { type: 'EMAIL' } & EmailAlertReceiverCreationRequest | { type: 'SLACK' } & SlackAlertReceiverCreationRequest;
200
+
195
201
  /**
196
202
  *
197
203
  * @export
198
- * @interface AlertReceiverCreationRequest
204
+ * @interface AlertReceiverCreationRequestBase
199
205
  */
200
- export interface AlertReceiverCreationRequest {
206
+ export interface AlertReceiverCreationRequestBase {
201
207
  /**
202
208
  *
203
209
  * @type {string}
204
- * @memberof AlertReceiverCreationRequest
210
+ * @memberof AlertReceiverCreationRequestBase
205
211
  */
206
212
  'organization_id': string;
207
213
  /**
208
214
  *
209
215
  * @type {string}
210
- * @memberof AlertReceiverCreationRequest
216
+ * @memberof AlertReceiverCreationRequestBase
211
217
  */
212
218
  'name': string;
213
219
  /**
214
220
  *
215
221
  * @type {string}
216
- * @memberof AlertReceiverCreationRequest
222
+ * @memberof AlertReceiverCreationRequestBase
217
223
  */
218
224
  'description': string;
219
225
  /**
220
226
  *
221
227
  * @type {AlertReceiverType}
222
- * @memberof AlertReceiverCreationRequest
228
+ * @memberof AlertReceiverCreationRequestBase
223
229
  */
224
230
  'type': AlertReceiverType;
225
231
  /**
226
232
  *
227
233
  * @type {boolean}
228
- * @memberof AlertReceiverCreationRequest
234
+ * @memberof AlertReceiverCreationRequestBase
229
235
  */
230
236
  'send_resolved': boolean;
237
+ /**
238
+ *
239
+ * @type {string}
240
+ * @memberof AlertReceiverCreationRequestBase
241
+ */
242
+ 'owner'?: string | null;
243
+ /**
244
+ *
245
+ * @type {string}
246
+ * @memberof AlertReceiverCreationRequestBase
247
+ */
248
+ 'severity'?: string | null;
231
249
  }
232
250
 
233
251
 
@@ -250,36 +268,54 @@ export interface AlertReceiverCreationValidationRequest {
250
268
  */
251
269
  'message'?: string;
252
270
  }
271
+ /**
272
+ * @type AlertReceiverEditRequest
273
+ * @export
274
+ */
275
+ export type AlertReceiverEditRequest = { type: 'EMAIL' } & EmailAlertReceiverEditRequest | { type: 'SLACK' } & SlackAlertReceiverEditRequest;
276
+
253
277
  /**
254
278
  *
255
279
  * @export
256
- * @interface AlertReceiverEditRequest
280
+ * @interface AlertReceiverEditRequestBase
257
281
  */
258
- export interface AlertReceiverEditRequest {
282
+ export interface AlertReceiverEditRequestBase {
259
283
  /**
260
284
  *
261
285
  * @type {string}
262
- * @memberof AlertReceiverEditRequest
286
+ * @memberof AlertReceiverEditRequestBase
263
287
  */
264
288
  'name': string;
265
289
  /**
266
290
  *
267
291
  * @type {string}
268
- * @memberof AlertReceiverEditRequest
292
+ * @memberof AlertReceiverEditRequestBase
269
293
  */
270
294
  'description': string;
271
295
  /**
272
296
  *
273
297
  * @type {AlertReceiverType}
274
- * @memberof AlertReceiverEditRequest
298
+ * @memberof AlertReceiverEditRequestBase
275
299
  */
276
300
  'type': AlertReceiverType;
277
301
  /**
278
302
  *
279
303
  * @type {boolean}
280
- * @memberof AlertReceiverEditRequest
304
+ * @memberof AlertReceiverEditRequestBase
281
305
  */
282
306
  'send_resolved': boolean;
307
+ /**
308
+ *
309
+ * @type {string}
310
+ * @memberof AlertReceiverEditRequestBase
311
+ */
312
+ 'owner'?: string | null;
313
+ /**
314
+ *
315
+ * @type {string}
316
+ * @memberof AlertReceiverEditRequestBase
317
+ */
318
+ 'severity'?: string | null;
283
319
  }
284
320
 
285
321
 
@@ -297,55 +333,10 @@ export interface AlertReceiverList {
297
333
  'results': Array<AlertReceiverResponse>;
298
334
  }
299
335
  /**
300
- *
336
+ * @type AlertReceiverResponse
301
337
  * @export
302
- * @interface AlertReceiverResponse
303
338
  */
304
- export interface AlertReceiverResponse {
305
- /**
306
- *
307
- * @type {string}
308
- * @memberof AlertReceiverResponse
309
- */
310
- 'id': string;
311
- /**
312
- *
313
- * @type {string}
314
- * @memberof AlertReceiverResponse
315
- */
316
- 'created_at': string;
317
- /**
318
- *
319
- * @type {string}
320
- * @memberof AlertReceiverResponse
321
- */
322
- 'updated_at'?: string;
323
- /**
324
- *
325
- * @type {string}
326
- * @memberof AlertReceiverResponse
327
- */
328
- 'name': string;
329
- /**
330
- *
331
- * @type {string}
332
- * @memberof AlertReceiverResponse
333
- */
334
- 'description': string;
335
- /**
336
- *
337
- * @type {AlertReceiverType}
338
- * @memberof AlertReceiverResponse
339
- */
340
- 'type': AlertReceiverType;
341
- /**
342
- *
343
- * @type {boolean}
344
- * @memberof AlertReceiverResponse
345
- */
346
- 'send_resolved': boolean;
347
- }
348
-
339
+ export type AlertReceiverResponse = { type: 'EMAIL' } & EmailAlertReceiverResponse | { type: 'SLACK' } & SlackAlertReceiverResponse;
349
340
 
350
341
  /**
351
342
  *
@@ -354,7 +345,8 @@ export interface AlertReceiverResponse {
354
345
  */
355
346
 
356
347
  export const AlertReceiverType = {
357
- SLACK: 'SLACK'
348
+ SLACK: 'SLACK',
349
+ EMAIL: 'EMAIL'
358
350
  } as const;
359
351
 
360
352
  export type AlertReceiverType = typeof AlertReceiverType[keyof typeof AlertReceiverType];
@@ -8626,6 +8618,267 @@ export const EksInfrastructureOutputsKindEnum = {
8626
8618
 
8627
8619
  export type EksInfrastructureOutputsKindEnum = typeof EksInfrastructureOutputsKindEnum[keyof typeof EksInfrastructureOutputsKindEnum];
8628
8620
 
8621
+ /**
8622
+ *
8623
+ * @export
8624
+ * @interface EmailAlertReceiverCreationRequest
8625
+ */
8626
+ export interface EmailAlertReceiverCreationRequest {
8627
+ /**
8628
+ *
8629
+ * @type {string}
8630
+ * @memberof EmailAlertReceiverCreationRequest
8631
+ */
8632
+ 'organization_id': string;
8633
+ /**
8634
+ *
8635
+ * @type {string}
8636
+ * @memberof EmailAlertReceiverCreationRequest
8637
+ */
8638
+ 'name': string;
8639
+ /**
8640
+ *
8641
+ * @type {string}
8642
+ * @memberof EmailAlertReceiverCreationRequest
8643
+ */
8644
+ 'description': string;
8645
+ /**
8646
+ *
8647
+ * @type {AlertReceiverType}
8648
+ * @memberof EmailAlertReceiverCreationRequest
8649
+ */
8650
+ 'type': AlertReceiverType;
8651
+ /**
8652
+ *
8653
+ * @type {boolean}
8654
+ * @memberof EmailAlertReceiverCreationRequest
8655
+ */
8656
+ 'send_resolved': boolean;
8657
+ /**
8658
+ *
8659
+ * @type {string}
8660
+ * @memberof EmailAlertReceiverCreationRequest
8661
+ */
8662
+ 'owner'?: string | null;
8663
+ /**
8664
+ *
8665
+ * @type {string}
8666
+ * @memberof EmailAlertReceiverCreationRequest
8667
+ */
8668
+ 'severity'?: string | null;
8669
+ /**
8670
+ * Recipient email address
8671
+ * @type {string}
8672
+ * @memberof EmailAlertReceiverCreationRequest
8673
+ */
8674
+ 'to': string;
8675
+ /**
8676
+ * Sender email address
8677
+ * @type {string}
8678
+ * @memberof EmailAlertReceiverCreationRequest
8679
+ */
8680
+ 'from': string;
8681
+ /**
8682
+ * SMTP server in format \'host:port\'
8683
+ * @type {string}
8684
+ * @memberof EmailAlertReceiverCreationRequest
8685
+ */
8686
+ 'smarthost': string;
8687
+ /**
8688
+ * SMTP authentication username. Defaults to \'from\' if not provided.
8689
+ * @type {string}
8690
+ * @memberof EmailAlertReceiverCreationRequest
8691
+ */
8692
+ 'auth_username'?: string | null;
8693
+ /**
8694
+ * SMTP authentication password
8695
+ * @type {string}
8696
+ * @memberof EmailAlertReceiverCreationRequest
8697
+ */
8698
+ 'auth_password': string;
8699
+ /**
8700
+ * Whether to require TLS for SMTP connection
8701
+ * @type {boolean}
8702
+ * @memberof EmailAlertReceiverCreationRequest
8703
+ */
8704
+ 'require_tls': boolean;
8705
+ }
8706
+
8707
+
8708
+ /**
8709
+ *
8710
+ * @export
8711
+ * @interface EmailAlertReceiverEditRequest
8712
+ */
8713
+ export interface EmailAlertReceiverEditRequest {
8714
+ /**
8715
+ *
8716
+ * @type {string}
8717
+ * @memberof EmailAlertReceiverEditRequest
8718
+ */
8719
+ 'name': string;
8720
+ /**
8721
+ *
8722
+ * @type {string}
8723
+ * @memberof EmailAlertReceiverEditRequest
8724
+ */
8725
+ 'description': string;
8726
+ /**
8727
+ *
8728
+ * @type {AlertReceiverType}
8729
+ * @memberof EmailAlertReceiverEditRequest
8730
+ */
8731
+ 'type': AlertReceiverType;
8732
+ /**
8733
+ *
8734
+ * @type {boolean}
8735
+ * @memberof EmailAlertReceiverEditRequest
8736
+ */
8737
+ 'send_resolved': boolean;
8738
+ /**
8739
+ *
8740
+ * @type {string}
8741
+ * @memberof EmailAlertReceiverEditRequest
8742
+ */
8743
+ 'owner'?: string | null;
8744
+ /**
8745
+ *
8746
+ * @type {string}
8747
+ * @memberof EmailAlertReceiverEditRequest
8748
+ */
8749
+ 'severity'?: string | null;
8750
+ /**
8751
+ *
8752
+ * @type {string}
8753
+ * @memberof EmailAlertReceiverEditRequest
8754
+ */
8755
+ 'to': string;
8756
+ /**
8757
+ *
8758
+ * @type {string}
8759
+ * @memberof EmailAlertReceiverEditRequest
8760
+ */
8761
+ 'from': string;
8762
+ /**
8763
+ * SMTP server in format \'host:port\'
8764
+ * @type {string}
8765
+ * @memberof EmailAlertReceiverEditRequest
8766
+ */
8767
+ 'smarthost': string;
8768
+ /**
8769
+ *
8770
+ * @type {string}
8771
+ * @memberof EmailAlertReceiverEditRequest
8772
+ */
8773
+ 'auth_username'?: string | null;
8774
+ /**
8775
+ * SMTP password. If null, keeps existing password.
8776
+ * @type {string}
8777
+ * @memberof EmailAlertReceiverEditRequest
8778
+ */
8779
+ 'auth_password'?: string | null;
8780
+ /**
8781
+ *
8782
+ * @type {boolean}
8783
+ * @memberof EmailAlertReceiverEditRequest
8784
+ */
8785
+ 'require_tls': boolean;
8786
+ }
8787
+
8788
+
8789
+ /**
8790
+ *
8791
+ * @export
8792
+ * @interface EmailAlertReceiverResponse
8793
+ */
8794
+ export interface EmailAlertReceiverResponse {
8795
+ /**
8796
+ *
8797
+ * @type {string}
8798
+ * @memberof EmailAlertReceiverResponse
8799
+ */
8800
+ 'id': string;
8801
+ /**
8802
+ *
8803
+ * @type {string}
8804
+ * @memberof EmailAlertReceiverResponse
8805
+ */
8806
+ 'created_at': string;
8807
+ /**
8808
+ *
8809
+ * @type {string}
8810
+ * @memberof EmailAlertReceiverResponse
8811
+ */
8812
+ 'updated_at'?: string;
8813
+ /**
8814
+ *
8815
+ * @type {string}
8816
+ * @memberof EmailAlertReceiverResponse
8817
+ */
8818
+ 'name': string;
8819
+ /**
8820
+ *
8821
+ * @type {string}
8822
+ * @memberof EmailAlertReceiverResponse
8823
+ */
8824
+ 'description': string;
8825
+ /**
8826
+ *
8827
+ * @type {AlertReceiverType}
8828
+ * @memberof EmailAlertReceiverResponse
8829
+ */
8830
+ 'type': AlertReceiverType;
8831
+ /**
8832
+ *
8833
+ * @type {boolean}
8834
+ * @memberof EmailAlertReceiverResponse
8835
+ */
8836
+ 'send_resolved': boolean;
8837
+ /**
8838
+ *
8839
+ * @type {string}
8840
+ * @memberof EmailAlertReceiverResponse
8841
+ */
8842
+ 'to': string;
8843
+ /**
8844
+ *
8845
+ * @type {string}
8846
+ * @memberof EmailAlertReceiverResponse
8847
+ */
8848
+ 'from': string;
8849
+ /**
8850
+ *
8851
+ * @type {string}
8852
+ * @memberof EmailAlertReceiverResponse
8853
+ */
8854
+ 'smarthost': string;
8855
+ /**
8856
+ *
8857
+ * @type {string}
8858
+ * @memberof EmailAlertReceiverResponse
8859
+ */
8860
+ 'auth_username': string | null;
8861
+ /**
8862
+ *
8863
+ * @type {boolean}
8864
+ * @memberof EmailAlertReceiverResponse
8865
+ */
8866
+ 'require_tls': boolean;
8867
+ /**
8868
+ *
8869
+ * @type {string}
8870
+ * @memberof EmailAlertReceiverResponse
8871
+ */
8872
+ 'owner'?: string | null;
8873
+ /**
8874
+ *
8875
+ * @type {string}
8876
+ * @memberof EmailAlertReceiverResponse
8877
+ */
8878
+ 'severity'?: string | null;
8879
+ }
8880
+
8881
+
8629
8882
  /**
8630
8883
  *
8631
8884
  * @export
@@ -18904,7 +19157,49 @@ export interface SignUpRequest {
18904
19157
  * @export
18905
19158
  * @interface SlackAlertReceiverCreationRequest
18906
19159
  */
18907
- export interface SlackAlertReceiverCreationRequest extends AlertReceiverCreationRequest {
19160
+ export interface SlackAlertReceiverCreationRequest {
19161
+ /**
19162
+ *
19163
+ * @type {string}
19164
+ * @memberof SlackAlertReceiverCreationRequest
19165
+ */
19166
+ 'organization_id': string;
19167
+ /**
19168
+ *
19169
+ * @type {string}
19170
+ * @memberof SlackAlertReceiverCreationRequest
19171
+ */
19172
+ 'name': string;
19173
+ /**
19174
+ *
19175
+ * @type {string}
19176
+ * @memberof SlackAlertReceiverCreationRequest
19177
+ */
19178
+ 'description': string;
19179
+ /**
19180
+ *
19181
+ * @type {AlertReceiverType}
19182
+ * @memberof SlackAlertReceiverCreationRequest
19183
+ */
19184
+ 'type': AlertReceiverType;
19185
+ /**
19186
+ *
19187
+ * @type {boolean}
19188
+ * @memberof SlackAlertReceiverCreationRequest
19189
+ */
19190
+ 'send_resolved': boolean;
19191
+ /**
19192
+ *
19193
+ * @type {string}
19194
+ * @memberof SlackAlertReceiverCreationRequest
19195
+ */
19196
+ 'owner'?: string | null;
19197
+ /**
19198
+ *
19199
+ * @type {string}
19200
+ * @memberof SlackAlertReceiverCreationRequest
19201
+ */
19202
+ 'severity'?: string | null;
18908
19203
  /**
18909
19204
  *
18910
19205
  * @type {string}
@@ -18919,16 +19214,115 @@ export interface SlackAlertReceiverCreationRequest extends AlertReceiverCreation
18919
19214
  * @export
18920
19215
  * @interface SlackAlertReceiverEditRequest
18921
19216
  */
18922
- export interface SlackAlertReceiverEditRequest extends AlertReceiverEditRequest {
19217
+ export interface SlackAlertReceiverEditRequest {
19218
+ /**
19219
+ *
19220
+ * @type {string}
19221
+ * @memberof SlackAlertReceiverEditRequest
19222
+ */
19223
+ 'name': string;
18923
19224
  /**
18924
19225
  *
18925
19226
  * @type {string}
18926
19227
  * @memberof SlackAlertReceiverEditRequest
18927
19228
  */
19229
+ 'description': string;
19230
+ /**
19231
+ *
19232
+ * @type {AlertReceiverType}
19233
+ * @memberof SlackAlertReceiverEditRequest
19234
+ */
19235
+ 'type': AlertReceiverType;
19236
+ /**
19237
+ *
19238
+ * @type {boolean}
19239
+ * @memberof SlackAlertReceiverEditRequest
19240
+ */
19241
+ 'send_resolved': boolean;
19242
+ /**
19243
+ *
19244
+ * @type {string}
19245
+ * @memberof SlackAlertReceiverEditRequest
19246
+ */
19247
+ 'owner'?: string | null;
19248
+ /**
19249
+ *
19250
+ * @type {string}
19251
+ * @memberof SlackAlertReceiverEditRequest
19252
+ */
19253
+ 'severity'?: string | null;
19254
+ /**
19255
+ * Update webhook URL. If null, keeps existing value.
19256
+ * @type {string}
19257
+ * @memberof SlackAlertReceiverEditRequest
19258
+ */
18928
19259
  'webhook_url'?: string | null;
18929
19260
  }
18930
19261
 
18931
19262
 
19263
+ /**
19264
+ *
19265
+ * @export
19266
+ * @interface SlackAlertReceiverResponse
19267
+ */
19268
+ export interface SlackAlertReceiverResponse {
19269
+ /**
19270
+ *
19271
+ * @type {string}
19272
+ * @memberof SlackAlertReceiverResponse
19273
+ */
19274
+ 'id': string;
19275
+ /**
19276
+ *
19277
+ * @type {string}
19278
+ * @memberof SlackAlertReceiverResponse
19279
+ */
19280
+ 'created_at': string;
19281
+ /**
19282
+ *
19283
+ * @type {string}
19284
+ * @memberof SlackAlertReceiverResponse
19285
+ */
19286
+ 'updated_at'?: string;
19287
+ /**
19288
+ *
19289
+ * @type {string}
19290
+ * @memberof SlackAlertReceiverResponse
19291
+ */
19292
+ 'name': string;
19293
+ /**
19294
+ *
19295
+ * @type {string}
19296
+ * @memberof SlackAlertReceiverResponse
19297
+ */
19298
+ 'description': string;
19299
+ /**
19300
+ *
19301
+ * @type {AlertReceiverType}
19302
+ * @memberof SlackAlertReceiverResponse
19303
+ */
19304
+ 'type': AlertReceiverType;
19305
+ /**
19306
+ *
19307
+ * @type {boolean}
19308
+ * @memberof SlackAlertReceiverResponse
19309
+ */
19310
+ 'send_resolved': boolean;
19311
+ /**
19312
+ *
19313
+ * @type {string}
19314
+ * @memberof SlackAlertReceiverResponse
19315
+ */
19316
+ 'owner'?: string | null;
19317
+ /**
19318
+ *
19319
+ * @type {string}
19320
+ * @memberof SlackAlertReceiverResponse
19321
+ */
19322
+ 'severity'?: string | null;
19323
+ }
19324
+
19325
+
18932
19326
  /**
18933
19327
  *
18934
19328
  * @export