qovery-typescript-axios 1.1.926 → 1.1.928
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 +814 -45
- package/dist/api.d.ts +527 -8
- package/dist/api.js +451 -23
- package/dist/esm/api.d.ts +527 -8
- package/dist/esm/api.js +435 -11
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -124,6 +124,326 @@ export interface AccountInfoEditRequest {
|
|
|
124
124
|
*/
|
|
125
125
|
'communication_email'?: string;
|
|
126
126
|
}
|
|
127
|
+
/**
|
|
128
|
+
*
|
|
129
|
+
* @export
|
|
130
|
+
* @interface AgenticWorkflowConnector
|
|
131
|
+
*/
|
|
132
|
+
export interface AgenticWorkflowConnector {
|
|
133
|
+
/**
|
|
134
|
+
*
|
|
135
|
+
* @type {string}
|
|
136
|
+
* @memberof AgenticWorkflowConnector
|
|
137
|
+
*/
|
|
138
|
+
'name': string;
|
|
139
|
+
/**
|
|
140
|
+
*
|
|
141
|
+
* @type {string}
|
|
142
|
+
* @memberof AgenticWorkflowConnector
|
|
143
|
+
*/
|
|
144
|
+
'url': string;
|
|
145
|
+
/**
|
|
146
|
+
*
|
|
147
|
+
* @type {Array<AgenticWorkflowHeader>}
|
|
148
|
+
* @memberof AgenticWorkflowConnector
|
|
149
|
+
*/
|
|
150
|
+
'headers'?: Array<AgenticWorkflowHeader>;
|
|
151
|
+
/**
|
|
152
|
+
*
|
|
153
|
+
* @type {string}
|
|
154
|
+
* @memberof AgenticWorkflowConnector
|
|
155
|
+
*/
|
|
156
|
+
'instructions'?: string;
|
|
157
|
+
}
|
|
158
|
+
/**
|
|
159
|
+
*
|
|
160
|
+
* @export
|
|
161
|
+
* @interface AgenticWorkflowHeader
|
|
162
|
+
*/
|
|
163
|
+
export interface AgenticWorkflowHeader {
|
|
164
|
+
/**
|
|
165
|
+
*
|
|
166
|
+
* @type {string}
|
|
167
|
+
* @memberof AgenticWorkflowHeader
|
|
168
|
+
*/
|
|
169
|
+
'name': string;
|
|
170
|
+
/**
|
|
171
|
+
*
|
|
172
|
+
* @type {string}
|
|
173
|
+
* @memberof AgenticWorkflowHeader
|
|
174
|
+
*/
|
|
175
|
+
'value': string;
|
|
176
|
+
}
|
|
177
|
+
/**
|
|
178
|
+
*
|
|
179
|
+
* @export
|
|
180
|
+
* @enum {string}
|
|
181
|
+
*/
|
|
182
|
+
|
|
183
|
+
export const AgenticWorkflowModel = {
|
|
184
|
+
CLAUDE: 'CLAUDE',
|
|
185
|
+
BEDROCK: 'BEDROCK'
|
|
186
|
+
} as const;
|
|
187
|
+
|
|
188
|
+
export type AgenticWorkflowModel = typeof AgenticWorkflowModel[keyof typeof AgenticWorkflowModel];
|
|
189
|
+
|
|
190
|
+
|
|
191
|
+
/**
|
|
192
|
+
*
|
|
193
|
+
* @export
|
|
194
|
+
* @interface AgenticWorkflowOutput
|
|
195
|
+
*/
|
|
196
|
+
export interface AgenticWorkflowOutput {
|
|
197
|
+
/**
|
|
198
|
+
*
|
|
199
|
+
* @type {string}
|
|
200
|
+
* @memberof AgenticWorkflowOutput
|
|
201
|
+
*/
|
|
202
|
+
'name': string;
|
|
203
|
+
/**
|
|
204
|
+
*
|
|
205
|
+
* @type {string}
|
|
206
|
+
* @memberof AgenticWorkflowOutput
|
|
207
|
+
*/
|
|
208
|
+
'url'?: string | null;
|
|
209
|
+
/**
|
|
210
|
+
*
|
|
211
|
+
* @type {Array<AgenticWorkflowHeader>}
|
|
212
|
+
* @memberof AgenticWorkflowOutput
|
|
213
|
+
*/
|
|
214
|
+
'headers'?: Array<AgenticWorkflowHeader>;
|
|
215
|
+
/**
|
|
216
|
+
*
|
|
217
|
+
* @type {string}
|
|
218
|
+
* @memberof AgenticWorkflowOutput
|
|
219
|
+
*/
|
|
220
|
+
'instructions'?: string;
|
|
221
|
+
}
|
|
222
|
+
/**
|
|
223
|
+
*
|
|
224
|
+
* @export
|
|
225
|
+
* @interface AgenticWorkflowProjectRepository
|
|
226
|
+
*/
|
|
227
|
+
export interface AgenticWorkflowProjectRepository {
|
|
228
|
+
/**
|
|
229
|
+
*
|
|
230
|
+
* @type {string}
|
|
231
|
+
* @memberof AgenticWorkflowProjectRepository
|
|
232
|
+
*/
|
|
233
|
+
'url': string;
|
|
234
|
+
/**
|
|
235
|
+
*
|
|
236
|
+
* @type {string}
|
|
237
|
+
* @memberof AgenticWorkflowProjectRepository
|
|
238
|
+
*/
|
|
239
|
+
'branch': string;
|
|
240
|
+
/**
|
|
241
|
+
*
|
|
242
|
+
* @type {string}
|
|
243
|
+
* @memberof AgenticWorkflowProjectRepository
|
|
244
|
+
*/
|
|
245
|
+
'root_path': string;
|
|
246
|
+
/**
|
|
247
|
+
*
|
|
248
|
+
* @type {string}
|
|
249
|
+
* @memberof AgenticWorkflowProjectRepository
|
|
250
|
+
*/
|
|
251
|
+
'git_token_id': string;
|
|
252
|
+
}
|
|
253
|
+
/**
|
|
254
|
+
*
|
|
255
|
+
* @export
|
|
256
|
+
* @interface AgenticWorkflowRequest
|
|
257
|
+
*/
|
|
258
|
+
export interface AgenticWorkflowRequest {
|
|
259
|
+
/**
|
|
260
|
+
* name is case insensitive
|
|
261
|
+
* @type {string}
|
|
262
|
+
* @memberof AgenticWorkflowRequest
|
|
263
|
+
*/
|
|
264
|
+
'name': string;
|
|
265
|
+
/**
|
|
266
|
+
*
|
|
267
|
+
* @type {string}
|
|
268
|
+
* @memberof AgenticWorkflowRequest
|
|
269
|
+
*/
|
|
270
|
+
'description'?: string;
|
|
271
|
+
/**
|
|
272
|
+
* Hosts the agentic workflow is allowed to reach
|
|
273
|
+
* @type {Array<string>}
|
|
274
|
+
* @memberof AgenticWorkflowRequest
|
|
275
|
+
*/
|
|
276
|
+
'whitelist_hosts'?: Array<string>;
|
|
277
|
+
/**
|
|
278
|
+
*
|
|
279
|
+
* @type {string}
|
|
280
|
+
* @memberof AgenticWorkflowRequest
|
|
281
|
+
*/
|
|
282
|
+
'model_settings'?: string;
|
|
283
|
+
/**
|
|
284
|
+
*
|
|
285
|
+
* @type {string}
|
|
286
|
+
* @memberof AgenticWorkflowRequest
|
|
287
|
+
*/
|
|
288
|
+
'docker_fragment'?: string;
|
|
289
|
+
/**
|
|
290
|
+
*
|
|
291
|
+
* @type {boolean}
|
|
292
|
+
* @memberof AgenticWorkflowRequest
|
|
293
|
+
*/
|
|
294
|
+
'enabled'?: boolean;
|
|
295
|
+
/**
|
|
296
|
+
*
|
|
297
|
+
* @type {Array<AgenticWorkflowConnector>}
|
|
298
|
+
* @memberof AgenticWorkflowRequest
|
|
299
|
+
*/
|
|
300
|
+
'mcp_connectors'?: Array<AgenticWorkflowConnector>;
|
|
301
|
+
/**
|
|
302
|
+
*
|
|
303
|
+
* @type {Array<AgenticWorkflowOutput>}
|
|
304
|
+
* @memberof AgenticWorkflowRequest
|
|
305
|
+
*/
|
|
306
|
+
'outputs'?: Array<AgenticWorkflowOutput>;
|
|
307
|
+
/**
|
|
308
|
+
*
|
|
309
|
+
* @type {AgenticWorkflowModel}
|
|
310
|
+
* @memberof AgenticWorkflowRequest
|
|
311
|
+
*/
|
|
312
|
+
'model'?: AgenticWorkflowModel;
|
|
313
|
+
/**
|
|
314
|
+
*
|
|
315
|
+
* @type {Array<AgenticWorkflowProjectRepository>}
|
|
316
|
+
* @memberof AgenticWorkflowRequest
|
|
317
|
+
*/
|
|
318
|
+
'project_repositories'?: Array<AgenticWorkflowProjectRepository>;
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
|
|
322
|
+
/**
|
|
323
|
+
*
|
|
324
|
+
* @export
|
|
325
|
+
* @interface AgenticWorkflowResponse
|
|
326
|
+
*/
|
|
327
|
+
export interface AgenticWorkflowResponse {
|
|
328
|
+
/**
|
|
329
|
+
*
|
|
330
|
+
* @type {string}
|
|
331
|
+
* @memberof AgenticWorkflowResponse
|
|
332
|
+
*/
|
|
333
|
+
'id': string;
|
|
334
|
+
/**
|
|
335
|
+
*
|
|
336
|
+
* @type {string}
|
|
337
|
+
* @memberof AgenticWorkflowResponse
|
|
338
|
+
*/
|
|
339
|
+
'created_at': string;
|
|
340
|
+
/**
|
|
341
|
+
*
|
|
342
|
+
* @type {string}
|
|
343
|
+
* @memberof AgenticWorkflowResponse
|
|
344
|
+
*/
|
|
345
|
+
'updated_at'?: string;
|
|
346
|
+
/**
|
|
347
|
+
* name is case insensitive
|
|
348
|
+
* @type {string}
|
|
349
|
+
* @memberof AgenticWorkflowResponse
|
|
350
|
+
*/
|
|
351
|
+
'name': string;
|
|
352
|
+
/**
|
|
353
|
+
*
|
|
354
|
+
* @type {string}
|
|
355
|
+
* @memberof AgenticWorkflowResponse
|
|
356
|
+
*/
|
|
357
|
+
'description': string;
|
|
358
|
+
/**
|
|
359
|
+
* Hosts the agentic workflow is allowed to reach
|
|
360
|
+
* @type {Array<string>}
|
|
361
|
+
* @memberof AgenticWorkflowResponse
|
|
362
|
+
*/
|
|
363
|
+
'whitelist_hosts': Array<string>;
|
|
364
|
+
/**
|
|
365
|
+
*
|
|
366
|
+
* @type {string}
|
|
367
|
+
* @memberof AgenticWorkflowResponse
|
|
368
|
+
*/
|
|
369
|
+
'model_settings': string;
|
|
370
|
+
/**
|
|
371
|
+
*
|
|
372
|
+
* @type {string}
|
|
373
|
+
* @memberof AgenticWorkflowResponse
|
|
374
|
+
*/
|
|
375
|
+
'docker_fragment': string;
|
|
376
|
+
/**
|
|
377
|
+
*
|
|
378
|
+
* @type {boolean}
|
|
379
|
+
* @memberof AgenticWorkflowResponse
|
|
380
|
+
*/
|
|
381
|
+
'enabled': boolean;
|
|
382
|
+
/**
|
|
383
|
+
*
|
|
384
|
+
* @type {Array<AgenticWorkflowConnector>}
|
|
385
|
+
* @memberof AgenticWorkflowResponse
|
|
386
|
+
*/
|
|
387
|
+
'mcp_connectors': Array<AgenticWorkflowConnector>;
|
|
388
|
+
/**
|
|
389
|
+
*
|
|
390
|
+
* @type {Array<AgenticWorkflowOutput>}
|
|
391
|
+
* @memberof AgenticWorkflowResponse
|
|
392
|
+
*/
|
|
393
|
+
'outputs': Array<AgenticWorkflowOutput>;
|
|
394
|
+
/**
|
|
395
|
+
*
|
|
396
|
+
* @type {AgenticWorkflowModel}
|
|
397
|
+
* @memberof AgenticWorkflowResponse
|
|
398
|
+
*/
|
|
399
|
+
'model': AgenticWorkflowModel;
|
|
400
|
+
/**
|
|
401
|
+
*
|
|
402
|
+
* @type {Array<AgenticWorkflowProjectRepository>}
|
|
403
|
+
* @memberof AgenticWorkflowResponse
|
|
404
|
+
*/
|
|
405
|
+
'project_repositories': Array<AgenticWorkflowProjectRepository>;
|
|
406
|
+
/**
|
|
407
|
+
*
|
|
408
|
+
* @type {AgenticWorkflowWebhook}
|
|
409
|
+
* @memberof AgenticWorkflowResponse
|
|
410
|
+
*/
|
|
411
|
+
'webhook': AgenticWorkflowWebhook;
|
|
412
|
+
}
|
|
413
|
+
|
|
414
|
+
|
|
415
|
+
/**
|
|
416
|
+
*
|
|
417
|
+
* @export
|
|
418
|
+
* @interface AgenticWorkflowResponseList
|
|
419
|
+
*/
|
|
420
|
+
export interface AgenticWorkflowResponseList {
|
|
421
|
+
/**
|
|
422
|
+
*
|
|
423
|
+
* @type {Array<AgenticWorkflowResponse>}
|
|
424
|
+
* @memberof AgenticWorkflowResponseList
|
|
425
|
+
*/
|
|
426
|
+
'results'?: Array<AgenticWorkflowResponse>;
|
|
427
|
+
}
|
|
428
|
+
/**
|
|
429
|
+
*
|
|
430
|
+
* @export
|
|
431
|
+
* @interface AgenticWorkflowWebhook
|
|
432
|
+
*/
|
|
433
|
+
export interface AgenticWorkflowWebhook {
|
|
434
|
+
/**
|
|
435
|
+
*
|
|
436
|
+
* @type {string}
|
|
437
|
+
* @memberof AgenticWorkflowWebhook
|
|
438
|
+
*/
|
|
439
|
+
'url': string;
|
|
440
|
+
/**
|
|
441
|
+
*
|
|
442
|
+
* @type {string}
|
|
443
|
+
* @memberof AgenticWorkflowWebhook
|
|
444
|
+
*/
|
|
445
|
+
'secret': string;
|
|
446
|
+
}
|
|
127
447
|
/**
|
|
128
448
|
*
|
|
129
449
|
* @export
|
|
@@ -26486,20 +26806,24 @@ export class AccountInfoApi extends BaseAPI {
|
|
|
26486
26806
|
|
|
26487
26807
|
|
|
26488
26808
|
/**
|
|
26489
|
-
*
|
|
26809
|
+
* AgenticWorkflowsApi - axios parameter creator
|
|
26490
26810
|
* @export
|
|
26491
26811
|
*/
|
|
26492
|
-
export const
|
|
26812
|
+
export const AgenticWorkflowsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
26493
26813
|
return {
|
|
26494
26814
|
/**
|
|
26495
|
-
*
|
|
26496
|
-
* @summary Create
|
|
26497
|
-
* @param {
|
|
26815
|
+
*
|
|
26816
|
+
* @summary Create an agentic workflow
|
|
26817
|
+
* @param {string} environmentId Environment ID
|
|
26818
|
+
* @param {AgenticWorkflowRequest} [agenticWorkflowRequest]
|
|
26498
26819
|
* @param {*} [options] Override http request option.
|
|
26499
26820
|
* @throws {RequiredError}
|
|
26500
26821
|
*/
|
|
26501
|
-
|
|
26502
|
-
|
|
26822
|
+
createAgenticWorkflow: async (environmentId: string, agenticWorkflowRequest?: AgenticWorkflowRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
26823
|
+
// verify required parameter 'environmentId' is not null or undefined
|
|
26824
|
+
assertParamExists('createAgenticWorkflow', 'environmentId', environmentId)
|
|
26825
|
+
const localVarPath = `/environment/{environmentId}/agenticWorkflow`
|
|
26826
|
+
.replace(`{${"environmentId"}}`, encodeURIComponent(String(environmentId)));
|
|
26503
26827
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
26504
26828
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
26505
26829
|
let baseOptions;
|
|
@@ -26525,7 +26849,7 @@ export const AlertReceiversApiAxiosParamCreator = function (configuration?: Conf
|
|
|
26525
26849
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
26526
26850
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
26527
26851
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
26528
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
26852
|
+
localVarRequestOptions.data = serializeDataIfNeeded(agenticWorkflowRequest, localVarRequestOptions, configuration)
|
|
26529
26853
|
|
|
26530
26854
|
return {
|
|
26531
26855
|
url: toPathString(localVarUrlObj),
|
|
@@ -26533,17 +26857,17 @@ export const AlertReceiversApiAxiosParamCreator = function (configuration?: Conf
|
|
|
26533
26857
|
};
|
|
26534
26858
|
},
|
|
26535
26859
|
/**
|
|
26536
|
-
*
|
|
26537
|
-
* @summary Delete
|
|
26538
|
-
* @param {string}
|
|
26860
|
+
*
|
|
26861
|
+
* @summary Delete an agentic workflow
|
|
26862
|
+
* @param {string} agenticWorkflowId
|
|
26539
26863
|
* @param {*} [options] Override http request option.
|
|
26540
26864
|
* @throws {RequiredError}
|
|
26541
26865
|
*/
|
|
26542
|
-
|
|
26543
|
-
// verify required parameter '
|
|
26544
|
-
assertParamExists('
|
|
26545
|
-
const localVarPath = `/
|
|
26546
|
-
.replace(`{${"
|
|
26866
|
+
deleteAgenticWorkflow: async (agenticWorkflowId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
26867
|
+
// verify required parameter 'agenticWorkflowId' is not null or undefined
|
|
26868
|
+
assertParamExists('deleteAgenticWorkflow', 'agenticWorkflowId', agenticWorkflowId)
|
|
26869
|
+
const localVarPath = `/agenticWorkflow/{agenticWorkflowId}`
|
|
26870
|
+
.replace(`{${"agenticWorkflowId"}}`, encodeURIComponent(String(agenticWorkflowId)));
|
|
26547
26871
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
26548
26872
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
26549
26873
|
let baseOptions;
|
|
@@ -26574,18 +26898,18 @@ export const AlertReceiversApiAxiosParamCreator = function (configuration?: Conf
|
|
|
26574
26898
|
};
|
|
26575
26899
|
},
|
|
26576
26900
|
/**
|
|
26577
|
-
*
|
|
26578
|
-
* @summary
|
|
26579
|
-
* @param {string}
|
|
26580
|
-
* @param {
|
|
26901
|
+
*
|
|
26902
|
+
* @summary Edit an agentic workflow
|
|
26903
|
+
* @param {string} agenticWorkflowId
|
|
26904
|
+
* @param {AgenticWorkflowRequest} [agenticWorkflowRequest]
|
|
26581
26905
|
* @param {*} [options] Override http request option.
|
|
26582
26906
|
* @throws {RequiredError}
|
|
26583
26907
|
*/
|
|
26584
|
-
|
|
26585
|
-
// verify required parameter '
|
|
26586
|
-
assertParamExists('
|
|
26587
|
-
const localVarPath = `/
|
|
26588
|
-
.replace(`{${"
|
|
26908
|
+
editAgenticWorkflow: async (agenticWorkflowId: string, agenticWorkflowRequest?: AgenticWorkflowRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
26909
|
+
// verify required parameter 'agenticWorkflowId' is not null or undefined
|
|
26910
|
+
assertParamExists('editAgenticWorkflow', 'agenticWorkflowId', agenticWorkflowId)
|
|
26911
|
+
const localVarPath = `/agenticWorkflow/{agenticWorkflowId}`
|
|
26912
|
+
.replace(`{${"agenticWorkflowId"}}`, encodeURIComponent(String(agenticWorkflowId)));
|
|
26589
26913
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
26590
26914
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
26591
26915
|
let baseOptions;
|
|
@@ -26611,7 +26935,7 @@ export const AlertReceiversApiAxiosParamCreator = function (configuration?: Conf
|
|
|
26611
26935
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
26612
26936
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
26613
26937
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
26614
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
26938
|
+
localVarRequestOptions.data = serializeDataIfNeeded(agenticWorkflowRequest, localVarRequestOptions, configuration)
|
|
26615
26939
|
|
|
26616
26940
|
return {
|
|
26617
26941
|
url: toPathString(localVarUrlObj),
|
|
@@ -26619,17 +26943,446 @@ export const AlertReceiversApiAxiosParamCreator = function (configuration?: Conf
|
|
|
26619
26943
|
};
|
|
26620
26944
|
},
|
|
26621
26945
|
/**
|
|
26622
|
-
*
|
|
26623
|
-
* @summary Get
|
|
26624
|
-
* @param {string}
|
|
26946
|
+
*
|
|
26947
|
+
* @summary Get an agentic workflow
|
|
26948
|
+
* @param {string} agenticWorkflowId
|
|
26625
26949
|
* @param {*} [options] Override http request option.
|
|
26626
26950
|
* @throws {RequiredError}
|
|
26627
26951
|
*/
|
|
26628
|
-
|
|
26629
|
-
// verify required parameter '
|
|
26630
|
-
assertParamExists('
|
|
26631
|
-
const localVarPath = `/
|
|
26632
|
-
.replace(`{${"
|
|
26952
|
+
getAgenticWorkflow: async (agenticWorkflowId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
26953
|
+
// verify required parameter 'agenticWorkflowId' is not null or undefined
|
|
26954
|
+
assertParamExists('getAgenticWorkflow', 'agenticWorkflowId', agenticWorkflowId)
|
|
26955
|
+
const localVarPath = `/agenticWorkflow/{agenticWorkflowId}`
|
|
26956
|
+
.replace(`{${"agenticWorkflowId"}}`, encodeURIComponent(String(agenticWorkflowId)));
|
|
26957
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
26958
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
26959
|
+
let baseOptions;
|
|
26960
|
+
if (configuration) {
|
|
26961
|
+
baseOptions = configuration.baseOptions;
|
|
26962
|
+
}
|
|
26963
|
+
|
|
26964
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
26965
|
+
const localVarHeaderParameter = {} as any;
|
|
26966
|
+
const localVarQueryParameter = {} as any;
|
|
26967
|
+
|
|
26968
|
+
// authentication ApiKeyAuth required
|
|
26969
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
26970
|
+
|
|
26971
|
+
// authentication bearerAuth required
|
|
26972
|
+
// http bearer authentication required
|
|
26973
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
26974
|
+
|
|
26975
|
+
|
|
26976
|
+
|
|
26977
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
26978
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
26979
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
26980
|
+
|
|
26981
|
+
return {
|
|
26982
|
+
url: toPathString(localVarUrlObj),
|
|
26983
|
+
options: localVarRequestOptions,
|
|
26984
|
+
};
|
|
26985
|
+
},
|
|
26986
|
+
/**
|
|
26987
|
+
*
|
|
26988
|
+
* @summary List agentic workflows
|
|
26989
|
+
* @param {string} environmentId Environment ID
|
|
26990
|
+
* @param {*} [options] Override http request option.
|
|
26991
|
+
* @throws {RequiredError}
|
|
26992
|
+
*/
|
|
26993
|
+
listAgenticWorkflows: async (environmentId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
26994
|
+
// verify required parameter 'environmentId' is not null or undefined
|
|
26995
|
+
assertParamExists('listAgenticWorkflows', 'environmentId', environmentId)
|
|
26996
|
+
const localVarPath = `/environment/{environmentId}/agenticWorkflow`
|
|
26997
|
+
.replace(`{${"environmentId"}}`, encodeURIComponent(String(environmentId)));
|
|
26998
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
26999
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
27000
|
+
let baseOptions;
|
|
27001
|
+
if (configuration) {
|
|
27002
|
+
baseOptions = configuration.baseOptions;
|
|
27003
|
+
}
|
|
27004
|
+
|
|
27005
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
27006
|
+
const localVarHeaderParameter = {} as any;
|
|
27007
|
+
const localVarQueryParameter = {} as any;
|
|
27008
|
+
|
|
27009
|
+
// authentication ApiKeyAuth required
|
|
27010
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
27011
|
+
|
|
27012
|
+
// authentication bearerAuth required
|
|
27013
|
+
// http bearer authentication required
|
|
27014
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
27015
|
+
|
|
27016
|
+
|
|
27017
|
+
|
|
27018
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
27019
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
27020
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
27021
|
+
|
|
27022
|
+
return {
|
|
27023
|
+
url: toPathString(localVarUrlObj),
|
|
27024
|
+
options: localVarRequestOptions,
|
|
27025
|
+
};
|
|
27026
|
+
},
|
|
27027
|
+
}
|
|
27028
|
+
};
|
|
27029
|
+
|
|
27030
|
+
/**
|
|
27031
|
+
* AgenticWorkflowsApi - functional programming interface
|
|
27032
|
+
* @export
|
|
27033
|
+
*/
|
|
27034
|
+
export const AgenticWorkflowsApiFp = function(configuration?: Configuration) {
|
|
27035
|
+
const localVarAxiosParamCreator = AgenticWorkflowsApiAxiosParamCreator(configuration)
|
|
27036
|
+
return {
|
|
27037
|
+
/**
|
|
27038
|
+
*
|
|
27039
|
+
* @summary Create an agentic workflow
|
|
27040
|
+
* @param {string} environmentId Environment ID
|
|
27041
|
+
* @param {AgenticWorkflowRequest} [agenticWorkflowRequest]
|
|
27042
|
+
* @param {*} [options] Override http request option.
|
|
27043
|
+
* @throws {RequiredError}
|
|
27044
|
+
*/
|
|
27045
|
+
async createAgenticWorkflow(environmentId: string, agenticWorkflowRequest?: AgenticWorkflowRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AgenticWorkflowResponse>> {
|
|
27046
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createAgenticWorkflow(environmentId, agenticWorkflowRequest, options);
|
|
27047
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
27048
|
+
const localVarOperationServerBasePath = operationServerMap['AgenticWorkflowsApi.createAgenticWorkflow']?.[localVarOperationServerIndex]?.url;
|
|
27049
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
27050
|
+
},
|
|
27051
|
+
/**
|
|
27052
|
+
*
|
|
27053
|
+
* @summary Delete an agentic workflow
|
|
27054
|
+
* @param {string} agenticWorkflowId
|
|
27055
|
+
* @param {*} [options] Override http request option.
|
|
27056
|
+
* @throws {RequiredError}
|
|
27057
|
+
*/
|
|
27058
|
+
async deleteAgenticWorkflow(agenticWorkflowId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
27059
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteAgenticWorkflow(agenticWorkflowId, options);
|
|
27060
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
27061
|
+
const localVarOperationServerBasePath = operationServerMap['AgenticWorkflowsApi.deleteAgenticWorkflow']?.[localVarOperationServerIndex]?.url;
|
|
27062
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
27063
|
+
},
|
|
27064
|
+
/**
|
|
27065
|
+
*
|
|
27066
|
+
* @summary Edit an agentic workflow
|
|
27067
|
+
* @param {string} agenticWorkflowId
|
|
27068
|
+
* @param {AgenticWorkflowRequest} [agenticWorkflowRequest]
|
|
27069
|
+
* @param {*} [options] Override http request option.
|
|
27070
|
+
* @throws {RequiredError}
|
|
27071
|
+
*/
|
|
27072
|
+
async editAgenticWorkflow(agenticWorkflowId: string, agenticWorkflowRequest?: AgenticWorkflowRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AgenticWorkflowResponse>> {
|
|
27073
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.editAgenticWorkflow(agenticWorkflowId, agenticWorkflowRequest, options);
|
|
27074
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
27075
|
+
const localVarOperationServerBasePath = operationServerMap['AgenticWorkflowsApi.editAgenticWorkflow']?.[localVarOperationServerIndex]?.url;
|
|
27076
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
27077
|
+
},
|
|
27078
|
+
/**
|
|
27079
|
+
*
|
|
27080
|
+
* @summary Get an agentic workflow
|
|
27081
|
+
* @param {string} agenticWorkflowId
|
|
27082
|
+
* @param {*} [options] Override http request option.
|
|
27083
|
+
* @throws {RequiredError}
|
|
27084
|
+
*/
|
|
27085
|
+
async getAgenticWorkflow(agenticWorkflowId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AgenticWorkflowResponse>> {
|
|
27086
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getAgenticWorkflow(agenticWorkflowId, options);
|
|
27087
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
27088
|
+
const localVarOperationServerBasePath = operationServerMap['AgenticWorkflowsApi.getAgenticWorkflow']?.[localVarOperationServerIndex]?.url;
|
|
27089
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
27090
|
+
},
|
|
27091
|
+
/**
|
|
27092
|
+
*
|
|
27093
|
+
* @summary List agentic workflows
|
|
27094
|
+
* @param {string} environmentId Environment ID
|
|
27095
|
+
* @param {*} [options] Override http request option.
|
|
27096
|
+
* @throws {RequiredError}
|
|
27097
|
+
*/
|
|
27098
|
+
async listAgenticWorkflows(environmentId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AgenticWorkflowResponseList>> {
|
|
27099
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listAgenticWorkflows(environmentId, options);
|
|
27100
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
27101
|
+
const localVarOperationServerBasePath = operationServerMap['AgenticWorkflowsApi.listAgenticWorkflows']?.[localVarOperationServerIndex]?.url;
|
|
27102
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
27103
|
+
},
|
|
27104
|
+
}
|
|
27105
|
+
};
|
|
27106
|
+
|
|
27107
|
+
/**
|
|
27108
|
+
* AgenticWorkflowsApi - factory interface
|
|
27109
|
+
* @export
|
|
27110
|
+
*/
|
|
27111
|
+
export const AgenticWorkflowsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
27112
|
+
const localVarFp = AgenticWorkflowsApiFp(configuration)
|
|
27113
|
+
return {
|
|
27114
|
+
/**
|
|
27115
|
+
*
|
|
27116
|
+
* @summary Create an agentic workflow
|
|
27117
|
+
* @param {string} environmentId Environment ID
|
|
27118
|
+
* @param {AgenticWorkflowRequest} [agenticWorkflowRequest]
|
|
27119
|
+
* @param {*} [options] Override http request option.
|
|
27120
|
+
* @throws {RequiredError}
|
|
27121
|
+
*/
|
|
27122
|
+
createAgenticWorkflow(environmentId: string, agenticWorkflowRequest?: AgenticWorkflowRequest, options?: RawAxiosRequestConfig): AxiosPromise<AgenticWorkflowResponse> {
|
|
27123
|
+
return localVarFp.createAgenticWorkflow(environmentId, agenticWorkflowRequest, options).then((request) => request(axios, basePath));
|
|
27124
|
+
},
|
|
27125
|
+
/**
|
|
27126
|
+
*
|
|
27127
|
+
* @summary Delete an agentic workflow
|
|
27128
|
+
* @param {string} agenticWorkflowId
|
|
27129
|
+
* @param {*} [options] Override http request option.
|
|
27130
|
+
* @throws {RequiredError}
|
|
27131
|
+
*/
|
|
27132
|
+
deleteAgenticWorkflow(agenticWorkflowId: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
27133
|
+
return localVarFp.deleteAgenticWorkflow(agenticWorkflowId, options).then((request) => request(axios, basePath));
|
|
27134
|
+
},
|
|
27135
|
+
/**
|
|
27136
|
+
*
|
|
27137
|
+
* @summary Edit an agentic workflow
|
|
27138
|
+
* @param {string} agenticWorkflowId
|
|
27139
|
+
* @param {AgenticWorkflowRequest} [agenticWorkflowRequest]
|
|
27140
|
+
* @param {*} [options] Override http request option.
|
|
27141
|
+
* @throws {RequiredError}
|
|
27142
|
+
*/
|
|
27143
|
+
editAgenticWorkflow(agenticWorkflowId: string, agenticWorkflowRequest?: AgenticWorkflowRequest, options?: RawAxiosRequestConfig): AxiosPromise<AgenticWorkflowResponse> {
|
|
27144
|
+
return localVarFp.editAgenticWorkflow(agenticWorkflowId, agenticWorkflowRequest, options).then((request) => request(axios, basePath));
|
|
27145
|
+
},
|
|
27146
|
+
/**
|
|
27147
|
+
*
|
|
27148
|
+
* @summary Get an agentic workflow
|
|
27149
|
+
* @param {string} agenticWorkflowId
|
|
27150
|
+
* @param {*} [options] Override http request option.
|
|
27151
|
+
* @throws {RequiredError}
|
|
27152
|
+
*/
|
|
27153
|
+
getAgenticWorkflow(agenticWorkflowId: string, options?: RawAxiosRequestConfig): AxiosPromise<AgenticWorkflowResponse> {
|
|
27154
|
+
return localVarFp.getAgenticWorkflow(agenticWorkflowId, options).then((request) => request(axios, basePath));
|
|
27155
|
+
},
|
|
27156
|
+
/**
|
|
27157
|
+
*
|
|
27158
|
+
* @summary List agentic workflows
|
|
27159
|
+
* @param {string} environmentId Environment ID
|
|
27160
|
+
* @param {*} [options] Override http request option.
|
|
27161
|
+
* @throws {RequiredError}
|
|
27162
|
+
*/
|
|
27163
|
+
listAgenticWorkflows(environmentId: string, options?: RawAxiosRequestConfig): AxiosPromise<AgenticWorkflowResponseList> {
|
|
27164
|
+
return localVarFp.listAgenticWorkflows(environmentId, options).then((request) => request(axios, basePath));
|
|
27165
|
+
},
|
|
27166
|
+
};
|
|
27167
|
+
};
|
|
27168
|
+
|
|
27169
|
+
/**
|
|
27170
|
+
* AgenticWorkflowsApi - object-oriented interface
|
|
27171
|
+
* @export
|
|
27172
|
+
* @class AgenticWorkflowsApi
|
|
27173
|
+
* @extends {BaseAPI}
|
|
27174
|
+
*/
|
|
27175
|
+
export class AgenticWorkflowsApi extends BaseAPI {
|
|
27176
|
+
/**
|
|
27177
|
+
*
|
|
27178
|
+
* @summary Create an agentic workflow
|
|
27179
|
+
* @param {string} environmentId Environment ID
|
|
27180
|
+
* @param {AgenticWorkflowRequest} [agenticWorkflowRequest]
|
|
27181
|
+
* @param {*} [options] Override http request option.
|
|
27182
|
+
* @throws {RequiredError}
|
|
27183
|
+
* @memberof AgenticWorkflowsApi
|
|
27184
|
+
*/
|
|
27185
|
+
public createAgenticWorkflow(environmentId: string, agenticWorkflowRequest?: AgenticWorkflowRequest, options?: RawAxiosRequestConfig) {
|
|
27186
|
+
return AgenticWorkflowsApiFp(this.configuration).createAgenticWorkflow(environmentId, agenticWorkflowRequest, options).then((request) => request(this.axios, this.basePath));
|
|
27187
|
+
}
|
|
27188
|
+
|
|
27189
|
+
/**
|
|
27190
|
+
*
|
|
27191
|
+
* @summary Delete an agentic workflow
|
|
27192
|
+
* @param {string} agenticWorkflowId
|
|
27193
|
+
* @param {*} [options] Override http request option.
|
|
27194
|
+
* @throws {RequiredError}
|
|
27195
|
+
* @memberof AgenticWorkflowsApi
|
|
27196
|
+
*/
|
|
27197
|
+
public deleteAgenticWorkflow(agenticWorkflowId: string, options?: RawAxiosRequestConfig) {
|
|
27198
|
+
return AgenticWorkflowsApiFp(this.configuration).deleteAgenticWorkflow(agenticWorkflowId, options).then((request) => request(this.axios, this.basePath));
|
|
27199
|
+
}
|
|
27200
|
+
|
|
27201
|
+
/**
|
|
27202
|
+
*
|
|
27203
|
+
* @summary Edit an agentic workflow
|
|
27204
|
+
* @param {string} agenticWorkflowId
|
|
27205
|
+
* @param {AgenticWorkflowRequest} [agenticWorkflowRequest]
|
|
27206
|
+
* @param {*} [options] Override http request option.
|
|
27207
|
+
* @throws {RequiredError}
|
|
27208
|
+
* @memberof AgenticWorkflowsApi
|
|
27209
|
+
*/
|
|
27210
|
+
public editAgenticWorkflow(agenticWorkflowId: string, agenticWorkflowRequest?: AgenticWorkflowRequest, options?: RawAxiosRequestConfig) {
|
|
27211
|
+
return AgenticWorkflowsApiFp(this.configuration).editAgenticWorkflow(agenticWorkflowId, agenticWorkflowRequest, options).then((request) => request(this.axios, this.basePath));
|
|
27212
|
+
}
|
|
27213
|
+
|
|
27214
|
+
/**
|
|
27215
|
+
*
|
|
27216
|
+
* @summary Get an agentic workflow
|
|
27217
|
+
* @param {string} agenticWorkflowId
|
|
27218
|
+
* @param {*} [options] Override http request option.
|
|
27219
|
+
* @throws {RequiredError}
|
|
27220
|
+
* @memberof AgenticWorkflowsApi
|
|
27221
|
+
*/
|
|
27222
|
+
public getAgenticWorkflow(agenticWorkflowId: string, options?: RawAxiosRequestConfig) {
|
|
27223
|
+
return AgenticWorkflowsApiFp(this.configuration).getAgenticWorkflow(agenticWorkflowId, options).then((request) => request(this.axios, this.basePath));
|
|
27224
|
+
}
|
|
27225
|
+
|
|
27226
|
+
/**
|
|
27227
|
+
*
|
|
27228
|
+
* @summary List agentic workflows
|
|
27229
|
+
* @param {string} environmentId Environment ID
|
|
27230
|
+
* @param {*} [options] Override http request option.
|
|
27231
|
+
* @throws {RequiredError}
|
|
27232
|
+
* @memberof AgenticWorkflowsApi
|
|
27233
|
+
*/
|
|
27234
|
+
public listAgenticWorkflows(environmentId: string, options?: RawAxiosRequestConfig) {
|
|
27235
|
+
return AgenticWorkflowsApiFp(this.configuration).listAgenticWorkflows(environmentId, options).then((request) => request(this.axios, this.basePath));
|
|
27236
|
+
}
|
|
27237
|
+
}
|
|
27238
|
+
|
|
27239
|
+
|
|
27240
|
+
|
|
27241
|
+
/**
|
|
27242
|
+
* AlertReceiversApi - axios parameter creator
|
|
27243
|
+
* @export
|
|
27244
|
+
*/
|
|
27245
|
+
export const AlertReceiversApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
27246
|
+
return {
|
|
27247
|
+
/**
|
|
27248
|
+
* Create a new alert receiver
|
|
27249
|
+
* @summary Create alert receiver
|
|
27250
|
+
* @param {AlertReceiverCreationRequest} [alertReceiverCreationRequest]
|
|
27251
|
+
* @param {*} [options] Override http request option.
|
|
27252
|
+
* @throws {RequiredError}
|
|
27253
|
+
*/
|
|
27254
|
+
createAlertReceiver: async (alertReceiverCreationRequest?: AlertReceiverCreationRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
27255
|
+
const localVarPath = `/alert-receivers`;
|
|
27256
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
27257
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
27258
|
+
let baseOptions;
|
|
27259
|
+
if (configuration) {
|
|
27260
|
+
baseOptions = configuration.baseOptions;
|
|
27261
|
+
}
|
|
27262
|
+
|
|
27263
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
27264
|
+
const localVarHeaderParameter = {} as any;
|
|
27265
|
+
const localVarQueryParameter = {} as any;
|
|
27266
|
+
|
|
27267
|
+
// authentication ApiKeyAuth required
|
|
27268
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
27269
|
+
|
|
27270
|
+
// authentication bearerAuth required
|
|
27271
|
+
// http bearer authentication required
|
|
27272
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
27273
|
+
|
|
27274
|
+
|
|
27275
|
+
|
|
27276
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
27277
|
+
|
|
27278
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
27279
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
27280
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
27281
|
+
localVarRequestOptions.data = serializeDataIfNeeded(alertReceiverCreationRequest, localVarRequestOptions, configuration)
|
|
27282
|
+
|
|
27283
|
+
return {
|
|
27284
|
+
url: toPathString(localVarUrlObj),
|
|
27285
|
+
options: localVarRequestOptions,
|
|
27286
|
+
};
|
|
27287
|
+
},
|
|
27288
|
+
/**
|
|
27289
|
+
* Delete an alert receiver
|
|
27290
|
+
* @summary Delete alert receiver
|
|
27291
|
+
* @param {string} alertReceiverId Alert Receiver ID
|
|
27292
|
+
* @param {*} [options] Override http request option.
|
|
27293
|
+
* @throws {RequiredError}
|
|
27294
|
+
*/
|
|
27295
|
+
deleteAlertReceiver: async (alertReceiverId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
27296
|
+
// verify required parameter 'alertReceiverId' is not null or undefined
|
|
27297
|
+
assertParamExists('deleteAlertReceiver', 'alertReceiverId', alertReceiverId)
|
|
27298
|
+
const localVarPath = `/alert-receivers/{alertReceiverId}`
|
|
27299
|
+
.replace(`{${"alertReceiverId"}}`, encodeURIComponent(String(alertReceiverId)));
|
|
27300
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
27301
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
27302
|
+
let baseOptions;
|
|
27303
|
+
if (configuration) {
|
|
27304
|
+
baseOptions = configuration.baseOptions;
|
|
27305
|
+
}
|
|
27306
|
+
|
|
27307
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
27308
|
+
const localVarHeaderParameter = {} as any;
|
|
27309
|
+
const localVarQueryParameter = {} as any;
|
|
27310
|
+
|
|
27311
|
+
// authentication ApiKeyAuth required
|
|
27312
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
27313
|
+
|
|
27314
|
+
// authentication bearerAuth required
|
|
27315
|
+
// http bearer authentication required
|
|
27316
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
27317
|
+
|
|
27318
|
+
|
|
27319
|
+
|
|
27320
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
27321
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
27322
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
27323
|
+
|
|
27324
|
+
return {
|
|
27325
|
+
url: toPathString(localVarUrlObj),
|
|
27326
|
+
options: localVarRequestOptions,
|
|
27327
|
+
};
|
|
27328
|
+
},
|
|
27329
|
+
/**
|
|
27330
|
+
* Update an existing alert receiver
|
|
27331
|
+
* @summary Update alert receiver
|
|
27332
|
+
* @param {string} alertReceiverId Alert Receiver ID
|
|
27333
|
+
* @param {AlertReceiverEditRequest} [alertReceiverEditRequest]
|
|
27334
|
+
* @param {*} [options] Override http request option.
|
|
27335
|
+
* @throws {RequiredError}
|
|
27336
|
+
*/
|
|
27337
|
+
editAlertReceiver: async (alertReceiverId: string, alertReceiverEditRequest?: AlertReceiverEditRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
27338
|
+
// verify required parameter 'alertReceiverId' is not null or undefined
|
|
27339
|
+
assertParamExists('editAlertReceiver', 'alertReceiverId', alertReceiverId)
|
|
27340
|
+
const localVarPath = `/alert-receivers/{alertReceiverId}`
|
|
27341
|
+
.replace(`{${"alertReceiverId"}}`, encodeURIComponent(String(alertReceiverId)));
|
|
27342
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
27343
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
27344
|
+
let baseOptions;
|
|
27345
|
+
if (configuration) {
|
|
27346
|
+
baseOptions = configuration.baseOptions;
|
|
27347
|
+
}
|
|
27348
|
+
|
|
27349
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
27350
|
+
const localVarHeaderParameter = {} as any;
|
|
27351
|
+
const localVarQueryParameter = {} as any;
|
|
27352
|
+
|
|
27353
|
+
// authentication ApiKeyAuth required
|
|
27354
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
27355
|
+
|
|
27356
|
+
// authentication bearerAuth required
|
|
27357
|
+
// http bearer authentication required
|
|
27358
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
27359
|
+
|
|
27360
|
+
|
|
27361
|
+
|
|
27362
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
27363
|
+
|
|
27364
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
27365
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
27366
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
27367
|
+
localVarRequestOptions.data = serializeDataIfNeeded(alertReceiverEditRequest, localVarRequestOptions, configuration)
|
|
27368
|
+
|
|
27369
|
+
return {
|
|
27370
|
+
url: toPathString(localVarUrlObj),
|
|
27371
|
+
options: localVarRequestOptions,
|
|
27372
|
+
};
|
|
27373
|
+
},
|
|
27374
|
+
/**
|
|
27375
|
+
* Retrieve a specific alert receiver by its ID
|
|
27376
|
+
* @summary Get alert receiver
|
|
27377
|
+
* @param {string} alertReceiverId Alert Receiver ID
|
|
27378
|
+
* @param {*} [options] Override http request option.
|
|
27379
|
+
* @throws {RequiredError}
|
|
27380
|
+
*/
|
|
27381
|
+
getAlertReceiver: async (alertReceiverId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
27382
|
+
// verify required parameter 'alertReceiverId' is not null or undefined
|
|
27383
|
+
assertParamExists('getAlertReceiver', 'alertReceiverId', alertReceiverId)
|
|
27384
|
+
const localVarPath = `/alert-receivers/{alertReceiverId}`
|
|
27385
|
+
.replace(`{${"alertReceiverId"}}`, encodeURIComponent(String(alertReceiverId)));
|
|
26633
27386
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
26634
27387
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
26635
27388
|
let baseOptions;
|
|
@@ -68025,13 +68778,15 @@ export const PlatformConfigurationApiAxiosParamCreator = function (configuration
|
|
|
68025
68778
|
};
|
|
68026
68779
|
},
|
|
68027
68780
|
/**
|
|
68028
|
-
* Returns the published platform templates available to the organization. Each template contains its layers, components, and the configuration fields that the Console can render.
|
|
68781
|
+
* Returns the published platform templates available to the organization. Each template contains its layers, components, and the configuration fields that the Console can render. When clusterMode and cloudProvider are supplied together, component field constraints are narrowed to the effective choices for that cluster context.
|
|
68029
68782
|
* @summary List platform templates
|
|
68030
68783
|
* @param {string} organizationId Organization ID
|
|
68784
|
+
* @param {PlatformClusterMode} [clusterMode] Cluster management mode. Must be supplied together with cloudProvider.
|
|
68785
|
+
* @param {PlatformCloudVendor} [cloudProvider] Cluster cloud provider. Must be supplied together with clusterMode.
|
|
68031
68786
|
* @param {*} [options] Override http request option.
|
|
68032
68787
|
* @throws {RequiredError}
|
|
68033
68788
|
*/
|
|
68034
|
-
listPlatformTemplates: async (organizationId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
68789
|
+
listPlatformTemplates: async (organizationId: string, clusterMode?: PlatformClusterMode, cloudProvider?: PlatformCloudVendor, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
68035
68790
|
// verify required parameter 'organizationId' is not null or undefined
|
|
68036
68791
|
assertParamExists('listPlatformTemplates', 'organizationId', organizationId)
|
|
68037
68792
|
const localVarPath = `/organization/{organizationId}/platformTemplate`
|
|
@@ -68054,6 +68809,14 @@ export const PlatformConfigurationApiAxiosParamCreator = function (configuration
|
|
|
68054
68809
|
// http bearer authentication required
|
|
68055
68810
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
68056
68811
|
|
|
68812
|
+
if (clusterMode !== undefined) {
|
|
68813
|
+
localVarQueryParameter['clusterMode'] = clusterMode;
|
|
68814
|
+
}
|
|
68815
|
+
|
|
68816
|
+
if (cloudProvider !== undefined) {
|
|
68817
|
+
localVarQueryParameter['cloudProvider'] = cloudProvider;
|
|
68818
|
+
}
|
|
68819
|
+
|
|
68057
68820
|
|
|
68058
68821
|
|
|
68059
68822
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -68196,14 +68959,16 @@ export const PlatformConfigurationApiFp = function(configuration?: Configuration
|
|
|
68196
68959
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
68197
68960
|
},
|
|
68198
68961
|
/**
|
|
68199
|
-
* Returns the published platform templates available to the organization. Each template contains its layers, components, and the configuration fields that the Console can render.
|
|
68962
|
+
* Returns the published platform templates available to the organization. Each template contains its layers, components, and the configuration fields that the Console can render. When clusterMode and cloudProvider are supplied together, component field constraints are narrowed to the effective choices for that cluster context.
|
|
68200
68963
|
* @summary List platform templates
|
|
68201
68964
|
* @param {string} organizationId Organization ID
|
|
68965
|
+
* @param {PlatformClusterMode} [clusterMode] Cluster management mode. Must be supplied together with cloudProvider.
|
|
68966
|
+
* @param {PlatformCloudVendor} [cloudProvider] Cluster cloud provider. Must be supplied together with clusterMode.
|
|
68202
68967
|
* @param {*} [options] Override http request option.
|
|
68203
68968
|
* @throws {RequiredError}
|
|
68204
68969
|
*/
|
|
68205
|
-
async listPlatformTemplates(organizationId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlatformTemplateCatalogResponse>> {
|
|
68206
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listPlatformTemplates(organizationId, options);
|
|
68970
|
+
async listPlatformTemplates(organizationId: string, clusterMode?: PlatformClusterMode, cloudProvider?: PlatformCloudVendor, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlatformTemplateCatalogResponse>> {
|
|
68971
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listPlatformTemplates(organizationId, clusterMode, cloudProvider, options);
|
|
68207
68972
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
68208
68973
|
const localVarOperationServerBasePath = operationServerMap['PlatformConfigurationApi.listPlatformTemplates']?.[localVarOperationServerIndex]?.url;
|
|
68209
68974
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -68261,14 +69026,16 @@ export const PlatformConfigurationApiFactory = function (configuration?: Configu
|
|
|
68261
69026
|
return localVarFp.getClusterPlatformBinding(organizationId, clusterId, options).then((request) => request(axios, basePath));
|
|
68262
69027
|
},
|
|
68263
69028
|
/**
|
|
68264
|
-
* Returns the published platform templates available to the organization. Each template contains its layers, components, and the configuration fields that the Console can render.
|
|
69029
|
+
* Returns the published platform templates available to the organization. Each template contains its layers, components, and the configuration fields that the Console can render. When clusterMode and cloudProvider are supplied together, component field constraints are narrowed to the effective choices for that cluster context.
|
|
68265
69030
|
* @summary List platform templates
|
|
68266
69031
|
* @param {string} organizationId Organization ID
|
|
69032
|
+
* @param {PlatformClusterMode} [clusterMode] Cluster management mode. Must be supplied together with cloudProvider.
|
|
69033
|
+
* @param {PlatformCloudVendor} [cloudProvider] Cluster cloud provider. Must be supplied together with clusterMode.
|
|
68267
69034
|
* @param {*} [options] Override http request option.
|
|
68268
69035
|
* @throws {RequiredError}
|
|
68269
69036
|
*/
|
|
68270
|
-
listPlatformTemplates(organizationId: string, options?: RawAxiosRequestConfig): AxiosPromise<PlatformTemplateCatalogResponse> {
|
|
68271
|
-
return localVarFp.listPlatformTemplates(organizationId, options).then((request) => request(axios, basePath));
|
|
69037
|
+
listPlatformTemplates(organizationId: string, clusterMode?: PlatformClusterMode, cloudProvider?: PlatformCloudVendor, options?: RawAxiosRequestConfig): AxiosPromise<PlatformTemplateCatalogResponse> {
|
|
69038
|
+
return localVarFp.listPlatformTemplates(organizationId, clusterMode, cloudProvider, options).then((request) => request(axios, basePath));
|
|
68272
69039
|
},
|
|
68273
69040
|
/**
|
|
68274
69041
|
* Resolves the fields and runtime requirements to display for a component using the cluster context and the values currently entered in the Console. This operation is read-only.
|
|
@@ -68319,15 +69086,17 @@ export class PlatformConfigurationApi extends BaseAPI {
|
|
|
68319
69086
|
}
|
|
68320
69087
|
|
|
68321
69088
|
/**
|
|
68322
|
-
* Returns the published platform templates available to the organization. Each template contains its layers, components, and the configuration fields that the Console can render.
|
|
69089
|
+
* Returns the published platform templates available to the organization. Each template contains its layers, components, and the configuration fields that the Console can render. When clusterMode and cloudProvider are supplied together, component field constraints are narrowed to the effective choices for that cluster context.
|
|
68323
69090
|
* @summary List platform templates
|
|
68324
69091
|
* @param {string} organizationId Organization ID
|
|
69092
|
+
* @param {PlatformClusterMode} [clusterMode] Cluster management mode. Must be supplied together with cloudProvider.
|
|
69093
|
+
* @param {PlatformCloudVendor} [cloudProvider] Cluster cloud provider. Must be supplied together with clusterMode.
|
|
68325
69094
|
* @param {*} [options] Override http request option.
|
|
68326
69095
|
* @throws {RequiredError}
|
|
68327
69096
|
* @memberof PlatformConfigurationApi
|
|
68328
69097
|
*/
|
|
68329
|
-
public listPlatformTemplates(organizationId: string, options?: RawAxiosRequestConfig) {
|
|
68330
|
-
return PlatformConfigurationApiFp(this.configuration).listPlatformTemplates(organizationId, options).then((request) => request(this.axios, this.basePath));
|
|
69098
|
+
public listPlatformTemplates(organizationId: string, clusterMode?: PlatformClusterMode, cloudProvider?: PlatformCloudVendor, options?: RawAxiosRequestConfig) {
|
|
69099
|
+
return PlatformConfigurationApiFp(this.configuration).listPlatformTemplates(organizationId, clusterMode, cloudProvider, options).then((request) => request(this.axios, this.basePath));
|
|
68331
69100
|
}
|
|
68332
69101
|
|
|
68333
69102
|
/**
|