qovery-typescript-axios 1.1.811 → 1.1.813
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 +614 -63
- package/dist/api.d.ts +555 -61
- package/dist/api.js +131 -10
- package/dist/esm/api.d.ts +555 -61
- package/dist/esm/api.js +118 -1
- package/package.json +1 -1
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
|
|
204
|
+
* @interface AlertReceiverCreationRequestBase
|
|
199
205
|
*/
|
|
200
|
-
export interface
|
|
206
|
+
export interface AlertReceiverCreationRequestBase {
|
|
201
207
|
/**
|
|
202
208
|
*
|
|
203
209
|
* @type {string}
|
|
204
|
-
* @memberof
|
|
210
|
+
* @memberof AlertReceiverCreationRequestBase
|
|
205
211
|
*/
|
|
206
212
|
'organization_id': string;
|
|
207
213
|
/**
|
|
208
214
|
*
|
|
209
215
|
* @type {string}
|
|
210
|
-
* @memberof
|
|
216
|
+
* @memberof AlertReceiverCreationRequestBase
|
|
211
217
|
*/
|
|
212
218
|
'name': string;
|
|
213
219
|
/**
|
|
214
220
|
*
|
|
215
221
|
* @type {string}
|
|
216
|
-
* @memberof
|
|
222
|
+
* @memberof AlertReceiverCreationRequestBase
|
|
217
223
|
*/
|
|
218
224
|
'description': string;
|
|
219
225
|
/**
|
|
220
226
|
*
|
|
221
227
|
* @type {AlertReceiverType}
|
|
222
|
-
* @memberof
|
|
228
|
+
* @memberof AlertReceiverCreationRequestBase
|
|
223
229
|
*/
|
|
224
230
|
'type': AlertReceiverType;
|
|
225
231
|
/**
|
|
226
232
|
*
|
|
227
233
|
* @type {boolean}
|
|
228
|
-
* @memberof
|
|
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
|
|
280
|
+
* @interface AlertReceiverEditRequestBase
|
|
257
281
|
*/
|
|
258
|
-
export interface
|
|
282
|
+
export interface AlertReceiverEditRequestBase {
|
|
259
283
|
/**
|
|
260
284
|
*
|
|
261
285
|
* @type {string}
|
|
262
|
-
* @memberof
|
|
286
|
+
* @memberof AlertReceiverEditRequestBase
|
|
263
287
|
*/
|
|
264
288
|
'name': string;
|
|
265
289
|
/**
|
|
266
290
|
*
|
|
267
291
|
* @type {string}
|
|
268
|
-
* @memberof
|
|
292
|
+
* @memberof AlertReceiverEditRequestBase
|
|
269
293
|
*/
|
|
270
294
|
'description': string;
|
|
271
295
|
/**
|
|
272
296
|
*
|
|
273
297
|
* @type {AlertReceiverType}
|
|
274
|
-
* @memberof
|
|
298
|
+
* @memberof AlertReceiverEditRequestBase
|
|
275
299
|
*/
|
|
276
300
|
'type': AlertReceiverType;
|
|
277
301
|
/**
|
|
278
302
|
*
|
|
279
303
|
* @type {boolean}
|
|
280
|
-
* @memberof
|
|
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
|
|
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
|
|
@@ -10566,6 +10819,48 @@ export interface GitTokenResponseList {
|
|
|
10566
10819
|
*/
|
|
10567
10820
|
'results'?: Array<GitTokenResponse>;
|
|
10568
10821
|
}
|
|
10822
|
+
/**
|
|
10823
|
+
*
|
|
10824
|
+
* @export
|
|
10825
|
+
* @interface GitWebhookStatusResponse
|
|
10826
|
+
*/
|
|
10827
|
+
export interface GitWebhookStatusResponse {
|
|
10828
|
+
/**
|
|
10829
|
+
* The webhook configuration status: - ACTIVE: Webhook is properly configured with all required events - NOT_CONFIGURED: No Qovery webhook found on the git rep - MISCONFIGURED: Webhook exists but is missing required events - UNABLE_TO_VERIFY: Could not check webhook status (auth error, rate limit, etc.)
|
|
10830
|
+
* @type {string}
|
|
10831
|
+
* @memberof GitWebhookStatusResponse
|
|
10832
|
+
*/
|
|
10833
|
+
'status': GitWebhookStatusResponseStatusEnum;
|
|
10834
|
+
/**
|
|
10835
|
+
* The git provider where the webhook is configured
|
|
10836
|
+
* @type {string}
|
|
10837
|
+
* @memberof GitWebhookStatusResponse
|
|
10838
|
+
*/
|
|
10839
|
+
'provider': GitWebhookStatusResponseProviderEnum;
|
|
10840
|
+
/**
|
|
10841
|
+
* List of required events that are missing from the webhook configuration (only present when status is MISCONFIGURED)
|
|
10842
|
+
* @type {Array<string>}
|
|
10843
|
+
* @memberof GitWebhookStatusResponse
|
|
10844
|
+
*/
|
|
10845
|
+
'missing_events'?: Array<string>;
|
|
10846
|
+
}
|
|
10847
|
+
|
|
10848
|
+
export const GitWebhookStatusResponseStatusEnum = {
|
|
10849
|
+
ACTIVE: 'ACTIVE',
|
|
10850
|
+
NOT_CONFIGURED: 'NOT_CONFIGURED',
|
|
10851
|
+
MISCONFIGURED: 'MISCONFIGURED',
|
|
10852
|
+
UNABLE_TO_VERIFY: 'UNABLE_TO_VERIFY'
|
|
10853
|
+
} as const;
|
|
10854
|
+
|
|
10855
|
+
export type GitWebhookStatusResponseStatusEnum = typeof GitWebhookStatusResponseStatusEnum[keyof typeof GitWebhookStatusResponseStatusEnum];
|
|
10856
|
+
export const GitWebhookStatusResponseProviderEnum = {
|
|
10857
|
+
GITHUB: 'GITHUB',
|
|
10858
|
+
GITLAB: 'GITLAB',
|
|
10859
|
+
BITBUCKET: 'BITBUCKET'
|
|
10860
|
+
} as const;
|
|
10861
|
+
|
|
10862
|
+
export type GitWebhookStatusResponseProviderEnum = typeof GitWebhookStatusResponseProviderEnum[keyof typeof GitWebhookStatusResponseProviderEnum];
|
|
10863
|
+
|
|
10569
10864
|
/**
|
|
10570
10865
|
*
|
|
10571
10866
|
* @export
|
|
@@ -18904,7 +19199,49 @@ export interface SignUpRequest {
|
|
|
18904
19199
|
* @export
|
|
18905
19200
|
* @interface SlackAlertReceiverCreationRequest
|
|
18906
19201
|
*/
|
|
18907
|
-
export interface SlackAlertReceiverCreationRequest
|
|
19202
|
+
export interface SlackAlertReceiverCreationRequest {
|
|
19203
|
+
/**
|
|
19204
|
+
*
|
|
19205
|
+
* @type {string}
|
|
19206
|
+
* @memberof SlackAlertReceiverCreationRequest
|
|
19207
|
+
*/
|
|
19208
|
+
'organization_id': string;
|
|
19209
|
+
/**
|
|
19210
|
+
*
|
|
19211
|
+
* @type {string}
|
|
19212
|
+
* @memberof SlackAlertReceiverCreationRequest
|
|
19213
|
+
*/
|
|
19214
|
+
'name': string;
|
|
19215
|
+
/**
|
|
19216
|
+
*
|
|
19217
|
+
* @type {string}
|
|
19218
|
+
* @memberof SlackAlertReceiverCreationRequest
|
|
19219
|
+
*/
|
|
19220
|
+
'description': string;
|
|
19221
|
+
/**
|
|
19222
|
+
*
|
|
19223
|
+
* @type {AlertReceiverType}
|
|
19224
|
+
* @memberof SlackAlertReceiverCreationRequest
|
|
19225
|
+
*/
|
|
19226
|
+
'type': AlertReceiverType;
|
|
19227
|
+
/**
|
|
19228
|
+
*
|
|
19229
|
+
* @type {boolean}
|
|
19230
|
+
* @memberof SlackAlertReceiverCreationRequest
|
|
19231
|
+
*/
|
|
19232
|
+
'send_resolved': boolean;
|
|
19233
|
+
/**
|
|
19234
|
+
*
|
|
19235
|
+
* @type {string}
|
|
19236
|
+
* @memberof SlackAlertReceiverCreationRequest
|
|
19237
|
+
*/
|
|
19238
|
+
'owner'?: string | null;
|
|
19239
|
+
/**
|
|
19240
|
+
*
|
|
19241
|
+
* @type {string}
|
|
19242
|
+
* @memberof SlackAlertReceiverCreationRequest
|
|
19243
|
+
*/
|
|
19244
|
+
'severity'?: string | null;
|
|
18908
19245
|
/**
|
|
18909
19246
|
*
|
|
18910
19247
|
* @type {string}
|
|
@@ -18919,9 +19256,45 @@ export interface SlackAlertReceiverCreationRequest extends AlertReceiverCreation
|
|
|
18919
19256
|
* @export
|
|
18920
19257
|
* @interface SlackAlertReceiverEditRequest
|
|
18921
19258
|
*/
|
|
18922
|
-
export interface SlackAlertReceiverEditRequest
|
|
19259
|
+
export interface SlackAlertReceiverEditRequest {
|
|
19260
|
+
/**
|
|
19261
|
+
*
|
|
19262
|
+
* @type {string}
|
|
19263
|
+
* @memberof SlackAlertReceiverEditRequest
|
|
19264
|
+
*/
|
|
19265
|
+
'name': string;
|
|
19266
|
+
/**
|
|
19267
|
+
*
|
|
19268
|
+
* @type {string}
|
|
19269
|
+
* @memberof SlackAlertReceiverEditRequest
|
|
19270
|
+
*/
|
|
19271
|
+
'description': string;
|
|
19272
|
+
/**
|
|
19273
|
+
*
|
|
19274
|
+
* @type {AlertReceiverType}
|
|
19275
|
+
* @memberof SlackAlertReceiverEditRequest
|
|
19276
|
+
*/
|
|
19277
|
+
'type': AlertReceiverType;
|
|
18923
19278
|
/**
|
|
18924
19279
|
*
|
|
19280
|
+
* @type {boolean}
|
|
19281
|
+
* @memberof SlackAlertReceiverEditRequest
|
|
19282
|
+
*/
|
|
19283
|
+
'send_resolved': boolean;
|
|
19284
|
+
/**
|
|
19285
|
+
*
|
|
19286
|
+
* @type {string}
|
|
19287
|
+
* @memberof SlackAlertReceiverEditRequest
|
|
19288
|
+
*/
|
|
19289
|
+
'owner'?: string | null;
|
|
19290
|
+
/**
|
|
19291
|
+
*
|
|
19292
|
+
* @type {string}
|
|
19293
|
+
* @memberof SlackAlertReceiverEditRequest
|
|
19294
|
+
*/
|
|
19295
|
+
'severity'?: string | null;
|
|
19296
|
+
/**
|
|
19297
|
+
* Update webhook URL. If null, keeps existing value.
|
|
18925
19298
|
* @type {string}
|
|
18926
19299
|
* @memberof SlackAlertReceiverEditRequest
|
|
18927
19300
|
*/
|
|
@@ -18929,6 +19302,69 @@ export interface SlackAlertReceiverEditRequest extends AlertReceiverEditRequest
|
|
|
18929
19302
|
}
|
|
18930
19303
|
|
|
18931
19304
|
|
|
19305
|
+
/**
|
|
19306
|
+
*
|
|
19307
|
+
* @export
|
|
19308
|
+
* @interface SlackAlertReceiverResponse
|
|
19309
|
+
*/
|
|
19310
|
+
export interface SlackAlertReceiverResponse {
|
|
19311
|
+
/**
|
|
19312
|
+
*
|
|
19313
|
+
* @type {string}
|
|
19314
|
+
* @memberof SlackAlertReceiverResponse
|
|
19315
|
+
*/
|
|
19316
|
+
'id': string;
|
|
19317
|
+
/**
|
|
19318
|
+
*
|
|
19319
|
+
* @type {string}
|
|
19320
|
+
* @memberof SlackAlertReceiverResponse
|
|
19321
|
+
*/
|
|
19322
|
+
'created_at': string;
|
|
19323
|
+
/**
|
|
19324
|
+
*
|
|
19325
|
+
* @type {string}
|
|
19326
|
+
* @memberof SlackAlertReceiverResponse
|
|
19327
|
+
*/
|
|
19328
|
+
'updated_at'?: string;
|
|
19329
|
+
/**
|
|
19330
|
+
*
|
|
19331
|
+
* @type {string}
|
|
19332
|
+
* @memberof SlackAlertReceiverResponse
|
|
19333
|
+
*/
|
|
19334
|
+
'name': string;
|
|
19335
|
+
/**
|
|
19336
|
+
*
|
|
19337
|
+
* @type {string}
|
|
19338
|
+
* @memberof SlackAlertReceiverResponse
|
|
19339
|
+
*/
|
|
19340
|
+
'description': string;
|
|
19341
|
+
/**
|
|
19342
|
+
*
|
|
19343
|
+
* @type {AlertReceiverType}
|
|
19344
|
+
* @memberof SlackAlertReceiverResponse
|
|
19345
|
+
*/
|
|
19346
|
+
'type': AlertReceiverType;
|
|
19347
|
+
/**
|
|
19348
|
+
*
|
|
19349
|
+
* @type {boolean}
|
|
19350
|
+
* @memberof SlackAlertReceiverResponse
|
|
19351
|
+
*/
|
|
19352
|
+
'send_resolved': boolean;
|
|
19353
|
+
/**
|
|
19354
|
+
*
|
|
19355
|
+
* @type {string}
|
|
19356
|
+
* @memberof SlackAlertReceiverResponse
|
|
19357
|
+
*/
|
|
19358
|
+
'owner'?: string | null;
|
|
19359
|
+
/**
|
|
19360
|
+
*
|
|
19361
|
+
* @type {string}
|
|
19362
|
+
* @memberof SlackAlertReceiverResponse
|
|
19363
|
+
*/
|
|
19364
|
+
'severity'?: string | null;
|
|
19365
|
+
}
|
|
19366
|
+
|
|
19367
|
+
|
|
18932
19368
|
/**
|
|
18933
19369
|
*
|
|
18934
19370
|
* @export
|
|
@@ -62218,6 +62654,121 @@ export class ReferralRewardsApi extends BaseAPI {
|
|
|
62218
62654
|
|
|
62219
62655
|
|
|
62220
62656
|
|
|
62657
|
+
/**
|
|
62658
|
+
* ServiceMainCallsApi - axios parameter creator
|
|
62659
|
+
* @export
|
|
62660
|
+
*/
|
|
62661
|
+
export const ServiceMainCallsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
62662
|
+
return {
|
|
62663
|
+
/**
|
|
62664
|
+
* Returns the webhook status for a git-based service. Checks if the Qovery webhook is correctly configured on the git provider (GitHub, GitLab, or Bitbucket).
|
|
62665
|
+
* @summary Get git webhook status for a service
|
|
62666
|
+
* @param {string} serviceId Service ID of an application/job/container/database
|
|
62667
|
+
* @param {*} [options] Override http request option.
|
|
62668
|
+
* @throws {RequiredError}
|
|
62669
|
+
*/
|
|
62670
|
+
getServiceGitWebhookStatus: async (serviceId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
62671
|
+
// verify required parameter 'serviceId' is not null or undefined
|
|
62672
|
+
assertParamExists('getServiceGitWebhookStatus', 'serviceId', serviceId)
|
|
62673
|
+
const localVarPath = `/service/{serviceId}/gitWebhookStatus`
|
|
62674
|
+
.replace(`{${"serviceId"}}`, encodeURIComponent(String(serviceId)));
|
|
62675
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
62676
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
62677
|
+
let baseOptions;
|
|
62678
|
+
if (configuration) {
|
|
62679
|
+
baseOptions = configuration.baseOptions;
|
|
62680
|
+
}
|
|
62681
|
+
|
|
62682
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
62683
|
+
const localVarHeaderParameter = {} as any;
|
|
62684
|
+
const localVarQueryParameter = {} as any;
|
|
62685
|
+
|
|
62686
|
+
// authentication ApiKeyAuth required
|
|
62687
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
62688
|
+
|
|
62689
|
+
// authentication bearerAuth required
|
|
62690
|
+
// http bearer authentication required
|
|
62691
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
62692
|
+
|
|
62693
|
+
|
|
62694
|
+
|
|
62695
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
62696
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
62697
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
62698
|
+
|
|
62699
|
+
return {
|
|
62700
|
+
url: toPathString(localVarUrlObj),
|
|
62701
|
+
options: localVarRequestOptions,
|
|
62702
|
+
};
|
|
62703
|
+
},
|
|
62704
|
+
}
|
|
62705
|
+
};
|
|
62706
|
+
|
|
62707
|
+
/**
|
|
62708
|
+
* ServiceMainCallsApi - functional programming interface
|
|
62709
|
+
* @export
|
|
62710
|
+
*/
|
|
62711
|
+
export const ServiceMainCallsApiFp = function(configuration?: Configuration) {
|
|
62712
|
+
const localVarAxiosParamCreator = ServiceMainCallsApiAxiosParamCreator(configuration)
|
|
62713
|
+
return {
|
|
62714
|
+
/**
|
|
62715
|
+
* Returns the webhook status for a git-based service. Checks if the Qovery webhook is correctly configured on the git provider (GitHub, GitLab, or Bitbucket).
|
|
62716
|
+
* @summary Get git webhook status for a service
|
|
62717
|
+
* @param {string} serviceId Service ID of an application/job/container/database
|
|
62718
|
+
* @param {*} [options] Override http request option.
|
|
62719
|
+
* @throws {RequiredError}
|
|
62720
|
+
*/
|
|
62721
|
+
async getServiceGitWebhookStatus(serviceId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GitWebhookStatusResponse>> {
|
|
62722
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getServiceGitWebhookStatus(serviceId, options);
|
|
62723
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
62724
|
+
const localVarOperationServerBasePath = operationServerMap['ServiceMainCallsApi.getServiceGitWebhookStatus']?.[localVarOperationServerIndex]?.url;
|
|
62725
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
62726
|
+
},
|
|
62727
|
+
}
|
|
62728
|
+
};
|
|
62729
|
+
|
|
62730
|
+
/**
|
|
62731
|
+
* ServiceMainCallsApi - factory interface
|
|
62732
|
+
* @export
|
|
62733
|
+
*/
|
|
62734
|
+
export const ServiceMainCallsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
62735
|
+
const localVarFp = ServiceMainCallsApiFp(configuration)
|
|
62736
|
+
return {
|
|
62737
|
+
/**
|
|
62738
|
+
* Returns the webhook status for a git-based service. Checks if the Qovery webhook is correctly configured on the git provider (GitHub, GitLab, or Bitbucket).
|
|
62739
|
+
* @summary Get git webhook status for a service
|
|
62740
|
+
* @param {string} serviceId Service ID of an application/job/container/database
|
|
62741
|
+
* @param {*} [options] Override http request option.
|
|
62742
|
+
* @throws {RequiredError}
|
|
62743
|
+
*/
|
|
62744
|
+
getServiceGitWebhookStatus(serviceId: string, options?: RawAxiosRequestConfig): AxiosPromise<GitWebhookStatusResponse> {
|
|
62745
|
+
return localVarFp.getServiceGitWebhookStatus(serviceId, options).then((request) => request(axios, basePath));
|
|
62746
|
+
},
|
|
62747
|
+
};
|
|
62748
|
+
};
|
|
62749
|
+
|
|
62750
|
+
/**
|
|
62751
|
+
* ServiceMainCallsApi - object-oriented interface
|
|
62752
|
+
* @export
|
|
62753
|
+
* @class ServiceMainCallsApi
|
|
62754
|
+
* @extends {BaseAPI}
|
|
62755
|
+
*/
|
|
62756
|
+
export class ServiceMainCallsApi extends BaseAPI {
|
|
62757
|
+
/**
|
|
62758
|
+
* Returns the webhook status for a git-based service. Checks if the Qovery webhook is correctly configured on the git provider (GitHub, GitLab, or Bitbucket).
|
|
62759
|
+
* @summary Get git webhook status for a service
|
|
62760
|
+
* @param {string} serviceId Service ID of an application/job/container/database
|
|
62761
|
+
* @param {*} [options] Override http request option.
|
|
62762
|
+
* @throws {RequiredError}
|
|
62763
|
+
* @memberof ServiceMainCallsApi
|
|
62764
|
+
*/
|
|
62765
|
+
public getServiceGitWebhookStatus(serviceId: string, options?: RawAxiosRequestConfig) {
|
|
62766
|
+
return ServiceMainCallsApiFp(this.configuration).getServiceGitWebhookStatus(serviceId, options).then((request) => request(this.axios, this.basePath));
|
|
62767
|
+
}
|
|
62768
|
+
}
|
|
62769
|
+
|
|
62770
|
+
|
|
62771
|
+
|
|
62221
62772
|
/**
|
|
62222
62773
|
* ServiceStatusApi - axios parameter creator
|
|
62223
62774
|
* @export
|