qovery-typescript-axios 1.1.927 → 1.1.929
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 +923 -7
- package/dist/api.d.ts +605 -0
- package/dist/api.js +544 -12
- package/dist/esm/api.d.ts +605 -0
- package/dist/esm/api.js +528 -0
- 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
|
|
@@ -21220,6 +21540,43 @@ export const PlatformComponentConfigurationRequirementStatus = {
|
|
|
21220
21540
|
export type PlatformComponentConfigurationRequirementStatus = typeof PlatformComponentConfigurationRequirementStatus[keyof typeof PlatformComponentConfigurationRequirementStatus];
|
|
21221
21541
|
|
|
21222
21542
|
|
|
21543
|
+
/**
|
|
21544
|
+
* Component configuration resolved from an explicit template and cluster context before an actual cluster exists.
|
|
21545
|
+
* @export
|
|
21546
|
+
* @interface PlatformComponentConfigurationResolutionResponse
|
|
21547
|
+
*/
|
|
21548
|
+
export interface PlatformComponentConfigurationResolutionResponse {
|
|
21549
|
+
/**
|
|
21550
|
+
*
|
|
21551
|
+
* @type {string}
|
|
21552
|
+
* @memberof PlatformComponentConfigurationResolutionResponse
|
|
21553
|
+
*/
|
|
21554
|
+
'componentKey': string;
|
|
21555
|
+
/**
|
|
21556
|
+
*
|
|
21557
|
+
* @type {Array<FieldSchemaResponse>}
|
|
21558
|
+
* @memberof PlatformComponentConfigurationResolutionResponse
|
|
21559
|
+
*/
|
|
21560
|
+
'fields': Array<FieldSchemaResponse>;
|
|
21561
|
+
/**
|
|
21562
|
+
*
|
|
21563
|
+
* @type {Array<PlatformComponentInputRequirementResponse>}
|
|
21564
|
+
* @memberof PlatformComponentConfigurationResolutionResponse
|
|
21565
|
+
*/
|
|
21566
|
+
'requirements': Array<PlatformComponentInputRequirementResponse>;
|
|
21567
|
+
/**
|
|
21568
|
+
*
|
|
21569
|
+
* @type {Array<PlatformComponentOutputBindingResponse>}
|
|
21570
|
+
* @memberof PlatformComponentConfigurationResolutionResponse
|
|
21571
|
+
*/
|
|
21572
|
+
'componentBindings': Array<PlatformComponentOutputBindingResponse>;
|
|
21573
|
+
/**
|
|
21574
|
+
*
|
|
21575
|
+
* @type {Array<PlatformComponentConfigurationViolationResponse>}
|
|
21576
|
+
* @memberof PlatformComponentConfigurationResolutionResponse
|
|
21577
|
+
*/
|
|
21578
|
+
'violations': Array<PlatformComponentConfigurationViolationResponse>;
|
|
21579
|
+
}
|
|
21223
21580
|
/**
|
|
21224
21581
|
*
|
|
21225
21582
|
* @export
|
|
@@ -26486,20 +26843,453 @@ export class AccountInfoApi extends BaseAPI {
|
|
|
26486
26843
|
|
|
26487
26844
|
|
|
26488
26845
|
/**
|
|
26489
|
-
*
|
|
26846
|
+
* AgenticWorkflowsApi - axios parameter creator
|
|
26490
26847
|
* @export
|
|
26491
26848
|
*/
|
|
26492
|
-
export const
|
|
26849
|
+
export const AgenticWorkflowsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
26493
26850
|
return {
|
|
26494
26851
|
/**
|
|
26495
|
-
*
|
|
26496
|
-
* @summary Create
|
|
26497
|
-
* @param {
|
|
26852
|
+
*
|
|
26853
|
+
* @summary Create an agentic workflow
|
|
26854
|
+
* @param {string} environmentId Environment ID
|
|
26855
|
+
* @param {AgenticWorkflowRequest} [agenticWorkflowRequest]
|
|
26498
26856
|
* @param {*} [options] Override http request option.
|
|
26499
26857
|
* @throws {RequiredError}
|
|
26500
26858
|
*/
|
|
26501
|
-
|
|
26502
|
-
|
|
26859
|
+
createAgenticWorkflow: async (environmentId: string, agenticWorkflowRequest?: AgenticWorkflowRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
26860
|
+
// verify required parameter 'environmentId' is not null or undefined
|
|
26861
|
+
assertParamExists('createAgenticWorkflow', 'environmentId', environmentId)
|
|
26862
|
+
const localVarPath = `/environment/{environmentId}/agenticWorkflow`
|
|
26863
|
+
.replace(`{${"environmentId"}}`, encodeURIComponent(String(environmentId)));
|
|
26864
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
26865
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
26866
|
+
let baseOptions;
|
|
26867
|
+
if (configuration) {
|
|
26868
|
+
baseOptions = configuration.baseOptions;
|
|
26869
|
+
}
|
|
26870
|
+
|
|
26871
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
26872
|
+
const localVarHeaderParameter = {} as any;
|
|
26873
|
+
const localVarQueryParameter = {} as any;
|
|
26874
|
+
|
|
26875
|
+
// authentication ApiKeyAuth required
|
|
26876
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
26877
|
+
|
|
26878
|
+
// authentication bearerAuth required
|
|
26879
|
+
// http bearer authentication required
|
|
26880
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
26881
|
+
|
|
26882
|
+
|
|
26883
|
+
|
|
26884
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
26885
|
+
|
|
26886
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
26887
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
26888
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
26889
|
+
localVarRequestOptions.data = serializeDataIfNeeded(agenticWorkflowRequest, localVarRequestOptions, configuration)
|
|
26890
|
+
|
|
26891
|
+
return {
|
|
26892
|
+
url: toPathString(localVarUrlObj),
|
|
26893
|
+
options: localVarRequestOptions,
|
|
26894
|
+
};
|
|
26895
|
+
},
|
|
26896
|
+
/**
|
|
26897
|
+
*
|
|
26898
|
+
* @summary Delete an agentic workflow
|
|
26899
|
+
* @param {string} agenticWorkflowId
|
|
26900
|
+
* @param {*} [options] Override http request option.
|
|
26901
|
+
* @throws {RequiredError}
|
|
26902
|
+
*/
|
|
26903
|
+
deleteAgenticWorkflow: async (agenticWorkflowId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
26904
|
+
// verify required parameter 'agenticWorkflowId' is not null or undefined
|
|
26905
|
+
assertParamExists('deleteAgenticWorkflow', 'agenticWorkflowId', agenticWorkflowId)
|
|
26906
|
+
const localVarPath = `/agenticWorkflow/{agenticWorkflowId}`
|
|
26907
|
+
.replace(`{${"agenticWorkflowId"}}`, encodeURIComponent(String(agenticWorkflowId)));
|
|
26908
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
26909
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
26910
|
+
let baseOptions;
|
|
26911
|
+
if (configuration) {
|
|
26912
|
+
baseOptions = configuration.baseOptions;
|
|
26913
|
+
}
|
|
26914
|
+
|
|
26915
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
26916
|
+
const localVarHeaderParameter = {} as any;
|
|
26917
|
+
const localVarQueryParameter = {} as any;
|
|
26918
|
+
|
|
26919
|
+
// authentication ApiKeyAuth required
|
|
26920
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
26921
|
+
|
|
26922
|
+
// authentication bearerAuth required
|
|
26923
|
+
// http bearer authentication required
|
|
26924
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
26925
|
+
|
|
26926
|
+
|
|
26927
|
+
|
|
26928
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
26929
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
26930
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
26931
|
+
|
|
26932
|
+
return {
|
|
26933
|
+
url: toPathString(localVarUrlObj),
|
|
26934
|
+
options: localVarRequestOptions,
|
|
26935
|
+
};
|
|
26936
|
+
},
|
|
26937
|
+
/**
|
|
26938
|
+
*
|
|
26939
|
+
* @summary Edit an agentic workflow
|
|
26940
|
+
* @param {string} agenticWorkflowId
|
|
26941
|
+
* @param {AgenticWorkflowRequest} [agenticWorkflowRequest]
|
|
26942
|
+
* @param {*} [options] Override http request option.
|
|
26943
|
+
* @throws {RequiredError}
|
|
26944
|
+
*/
|
|
26945
|
+
editAgenticWorkflow: async (agenticWorkflowId: string, agenticWorkflowRequest?: AgenticWorkflowRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
26946
|
+
// verify required parameter 'agenticWorkflowId' is not null or undefined
|
|
26947
|
+
assertParamExists('editAgenticWorkflow', 'agenticWorkflowId', agenticWorkflowId)
|
|
26948
|
+
const localVarPath = `/agenticWorkflow/{agenticWorkflowId}`
|
|
26949
|
+
.replace(`{${"agenticWorkflowId"}}`, encodeURIComponent(String(agenticWorkflowId)));
|
|
26950
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
26951
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
26952
|
+
let baseOptions;
|
|
26953
|
+
if (configuration) {
|
|
26954
|
+
baseOptions = configuration.baseOptions;
|
|
26955
|
+
}
|
|
26956
|
+
|
|
26957
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
26958
|
+
const localVarHeaderParameter = {} as any;
|
|
26959
|
+
const localVarQueryParameter = {} as any;
|
|
26960
|
+
|
|
26961
|
+
// authentication ApiKeyAuth required
|
|
26962
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
26963
|
+
|
|
26964
|
+
// authentication bearerAuth required
|
|
26965
|
+
// http bearer authentication required
|
|
26966
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
26967
|
+
|
|
26968
|
+
|
|
26969
|
+
|
|
26970
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
26971
|
+
|
|
26972
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
26973
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
26974
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
26975
|
+
localVarRequestOptions.data = serializeDataIfNeeded(agenticWorkflowRequest, localVarRequestOptions, configuration)
|
|
26976
|
+
|
|
26977
|
+
return {
|
|
26978
|
+
url: toPathString(localVarUrlObj),
|
|
26979
|
+
options: localVarRequestOptions,
|
|
26980
|
+
};
|
|
26981
|
+
},
|
|
26982
|
+
/**
|
|
26983
|
+
*
|
|
26984
|
+
* @summary Get an agentic workflow
|
|
26985
|
+
* @param {string} agenticWorkflowId
|
|
26986
|
+
* @param {*} [options] Override http request option.
|
|
26987
|
+
* @throws {RequiredError}
|
|
26988
|
+
*/
|
|
26989
|
+
getAgenticWorkflow: async (agenticWorkflowId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
26990
|
+
// verify required parameter 'agenticWorkflowId' is not null or undefined
|
|
26991
|
+
assertParamExists('getAgenticWorkflow', 'agenticWorkflowId', agenticWorkflowId)
|
|
26992
|
+
const localVarPath = `/agenticWorkflow/{agenticWorkflowId}`
|
|
26993
|
+
.replace(`{${"agenticWorkflowId"}}`, encodeURIComponent(String(agenticWorkflowId)));
|
|
26994
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
26995
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
26996
|
+
let baseOptions;
|
|
26997
|
+
if (configuration) {
|
|
26998
|
+
baseOptions = configuration.baseOptions;
|
|
26999
|
+
}
|
|
27000
|
+
|
|
27001
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
27002
|
+
const localVarHeaderParameter = {} as any;
|
|
27003
|
+
const localVarQueryParameter = {} as any;
|
|
27004
|
+
|
|
27005
|
+
// authentication ApiKeyAuth required
|
|
27006
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
27007
|
+
|
|
27008
|
+
// authentication bearerAuth required
|
|
27009
|
+
// http bearer authentication required
|
|
27010
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
27011
|
+
|
|
27012
|
+
|
|
27013
|
+
|
|
27014
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
27015
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
27016
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
27017
|
+
|
|
27018
|
+
return {
|
|
27019
|
+
url: toPathString(localVarUrlObj),
|
|
27020
|
+
options: localVarRequestOptions,
|
|
27021
|
+
};
|
|
27022
|
+
},
|
|
27023
|
+
/**
|
|
27024
|
+
*
|
|
27025
|
+
* @summary List agentic workflows
|
|
27026
|
+
* @param {string} environmentId Environment ID
|
|
27027
|
+
* @param {*} [options] Override http request option.
|
|
27028
|
+
* @throws {RequiredError}
|
|
27029
|
+
*/
|
|
27030
|
+
listAgenticWorkflows: async (environmentId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
27031
|
+
// verify required parameter 'environmentId' is not null or undefined
|
|
27032
|
+
assertParamExists('listAgenticWorkflows', 'environmentId', environmentId)
|
|
27033
|
+
const localVarPath = `/environment/{environmentId}/agenticWorkflow`
|
|
27034
|
+
.replace(`{${"environmentId"}}`, encodeURIComponent(String(environmentId)));
|
|
27035
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
27036
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
27037
|
+
let baseOptions;
|
|
27038
|
+
if (configuration) {
|
|
27039
|
+
baseOptions = configuration.baseOptions;
|
|
27040
|
+
}
|
|
27041
|
+
|
|
27042
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
27043
|
+
const localVarHeaderParameter = {} as any;
|
|
27044
|
+
const localVarQueryParameter = {} as any;
|
|
27045
|
+
|
|
27046
|
+
// authentication ApiKeyAuth required
|
|
27047
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
27048
|
+
|
|
27049
|
+
// authentication bearerAuth required
|
|
27050
|
+
// http bearer authentication required
|
|
27051
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
27052
|
+
|
|
27053
|
+
|
|
27054
|
+
|
|
27055
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
27056
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
27057
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
27058
|
+
|
|
27059
|
+
return {
|
|
27060
|
+
url: toPathString(localVarUrlObj),
|
|
27061
|
+
options: localVarRequestOptions,
|
|
27062
|
+
};
|
|
27063
|
+
},
|
|
27064
|
+
}
|
|
27065
|
+
};
|
|
27066
|
+
|
|
27067
|
+
/**
|
|
27068
|
+
* AgenticWorkflowsApi - functional programming interface
|
|
27069
|
+
* @export
|
|
27070
|
+
*/
|
|
27071
|
+
export const AgenticWorkflowsApiFp = function(configuration?: Configuration) {
|
|
27072
|
+
const localVarAxiosParamCreator = AgenticWorkflowsApiAxiosParamCreator(configuration)
|
|
27073
|
+
return {
|
|
27074
|
+
/**
|
|
27075
|
+
*
|
|
27076
|
+
* @summary Create an agentic workflow
|
|
27077
|
+
* @param {string} environmentId Environment ID
|
|
27078
|
+
* @param {AgenticWorkflowRequest} [agenticWorkflowRequest]
|
|
27079
|
+
* @param {*} [options] Override http request option.
|
|
27080
|
+
* @throws {RequiredError}
|
|
27081
|
+
*/
|
|
27082
|
+
async createAgenticWorkflow(environmentId: string, agenticWorkflowRequest?: AgenticWorkflowRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AgenticWorkflowResponse>> {
|
|
27083
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createAgenticWorkflow(environmentId, agenticWorkflowRequest, options);
|
|
27084
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
27085
|
+
const localVarOperationServerBasePath = operationServerMap['AgenticWorkflowsApi.createAgenticWorkflow']?.[localVarOperationServerIndex]?.url;
|
|
27086
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
27087
|
+
},
|
|
27088
|
+
/**
|
|
27089
|
+
*
|
|
27090
|
+
* @summary Delete an agentic workflow
|
|
27091
|
+
* @param {string} agenticWorkflowId
|
|
27092
|
+
* @param {*} [options] Override http request option.
|
|
27093
|
+
* @throws {RequiredError}
|
|
27094
|
+
*/
|
|
27095
|
+
async deleteAgenticWorkflow(agenticWorkflowId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
27096
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteAgenticWorkflow(agenticWorkflowId, options);
|
|
27097
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
27098
|
+
const localVarOperationServerBasePath = operationServerMap['AgenticWorkflowsApi.deleteAgenticWorkflow']?.[localVarOperationServerIndex]?.url;
|
|
27099
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
27100
|
+
},
|
|
27101
|
+
/**
|
|
27102
|
+
*
|
|
27103
|
+
* @summary Edit an agentic workflow
|
|
27104
|
+
* @param {string} agenticWorkflowId
|
|
27105
|
+
* @param {AgenticWorkflowRequest} [agenticWorkflowRequest]
|
|
27106
|
+
* @param {*} [options] Override http request option.
|
|
27107
|
+
* @throws {RequiredError}
|
|
27108
|
+
*/
|
|
27109
|
+
async editAgenticWorkflow(agenticWorkflowId: string, agenticWorkflowRequest?: AgenticWorkflowRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AgenticWorkflowResponse>> {
|
|
27110
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.editAgenticWorkflow(agenticWorkflowId, agenticWorkflowRequest, options);
|
|
27111
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
27112
|
+
const localVarOperationServerBasePath = operationServerMap['AgenticWorkflowsApi.editAgenticWorkflow']?.[localVarOperationServerIndex]?.url;
|
|
27113
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
27114
|
+
},
|
|
27115
|
+
/**
|
|
27116
|
+
*
|
|
27117
|
+
* @summary Get an agentic workflow
|
|
27118
|
+
* @param {string} agenticWorkflowId
|
|
27119
|
+
* @param {*} [options] Override http request option.
|
|
27120
|
+
* @throws {RequiredError}
|
|
27121
|
+
*/
|
|
27122
|
+
async getAgenticWorkflow(agenticWorkflowId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AgenticWorkflowResponse>> {
|
|
27123
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getAgenticWorkflow(agenticWorkflowId, options);
|
|
27124
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
27125
|
+
const localVarOperationServerBasePath = operationServerMap['AgenticWorkflowsApi.getAgenticWorkflow']?.[localVarOperationServerIndex]?.url;
|
|
27126
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
27127
|
+
},
|
|
27128
|
+
/**
|
|
27129
|
+
*
|
|
27130
|
+
* @summary List agentic workflows
|
|
27131
|
+
* @param {string} environmentId Environment ID
|
|
27132
|
+
* @param {*} [options] Override http request option.
|
|
27133
|
+
* @throws {RequiredError}
|
|
27134
|
+
*/
|
|
27135
|
+
async listAgenticWorkflows(environmentId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AgenticWorkflowResponseList>> {
|
|
27136
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listAgenticWorkflows(environmentId, options);
|
|
27137
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
27138
|
+
const localVarOperationServerBasePath = operationServerMap['AgenticWorkflowsApi.listAgenticWorkflows']?.[localVarOperationServerIndex]?.url;
|
|
27139
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
27140
|
+
},
|
|
27141
|
+
}
|
|
27142
|
+
};
|
|
27143
|
+
|
|
27144
|
+
/**
|
|
27145
|
+
* AgenticWorkflowsApi - factory interface
|
|
27146
|
+
* @export
|
|
27147
|
+
*/
|
|
27148
|
+
export const AgenticWorkflowsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
27149
|
+
const localVarFp = AgenticWorkflowsApiFp(configuration)
|
|
27150
|
+
return {
|
|
27151
|
+
/**
|
|
27152
|
+
*
|
|
27153
|
+
* @summary Create an agentic workflow
|
|
27154
|
+
* @param {string} environmentId Environment ID
|
|
27155
|
+
* @param {AgenticWorkflowRequest} [agenticWorkflowRequest]
|
|
27156
|
+
* @param {*} [options] Override http request option.
|
|
27157
|
+
* @throws {RequiredError}
|
|
27158
|
+
*/
|
|
27159
|
+
createAgenticWorkflow(environmentId: string, agenticWorkflowRequest?: AgenticWorkflowRequest, options?: RawAxiosRequestConfig): AxiosPromise<AgenticWorkflowResponse> {
|
|
27160
|
+
return localVarFp.createAgenticWorkflow(environmentId, agenticWorkflowRequest, options).then((request) => request(axios, basePath));
|
|
27161
|
+
},
|
|
27162
|
+
/**
|
|
27163
|
+
*
|
|
27164
|
+
* @summary Delete an agentic workflow
|
|
27165
|
+
* @param {string} agenticWorkflowId
|
|
27166
|
+
* @param {*} [options] Override http request option.
|
|
27167
|
+
* @throws {RequiredError}
|
|
27168
|
+
*/
|
|
27169
|
+
deleteAgenticWorkflow(agenticWorkflowId: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
27170
|
+
return localVarFp.deleteAgenticWorkflow(agenticWorkflowId, options).then((request) => request(axios, basePath));
|
|
27171
|
+
},
|
|
27172
|
+
/**
|
|
27173
|
+
*
|
|
27174
|
+
* @summary Edit an agentic workflow
|
|
27175
|
+
* @param {string} agenticWorkflowId
|
|
27176
|
+
* @param {AgenticWorkflowRequest} [agenticWorkflowRequest]
|
|
27177
|
+
* @param {*} [options] Override http request option.
|
|
27178
|
+
* @throws {RequiredError}
|
|
27179
|
+
*/
|
|
27180
|
+
editAgenticWorkflow(agenticWorkflowId: string, agenticWorkflowRequest?: AgenticWorkflowRequest, options?: RawAxiosRequestConfig): AxiosPromise<AgenticWorkflowResponse> {
|
|
27181
|
+
return localVarFp.editAgenticWorkflow(agenticWorkflowId, agenticWorkflowRequest, options).then((request) => request(axios, basePath));
|
|
27182
|
+
},
|
|
27183
|
+
/**
|
|
27184
|
+
*
|
|
27185
|
+
* @summary Get an agentic workflow
|
|
27186
|
+
* @param {string} agenticWorkflowId
|
|
27187
|
+
* @param {*} [options] Override http request option.
|
|
27188
|
+
* @throws {RequiredError}
|
|
27189
|
+
*/
|
|
27190
|
+
getAgenticWorkflow(agenticWorkflowId: string, options?: RawAxiosRequestConfig): AxiosPromise<AgenticWorkflowResponse> {
|
|
27191
|
+
return localVarFp.getAgenticWorkflow(agenticWorkflowId, options).then((request) => request(axios, basePath));
|
|
27192
|
+
},
|
|
27193
|
+
/**
|
|
27194
|
+
*
|
|
27195
|
+
* @summary List agentic workflows
|
|
27196
|
+
* @param {string} environmentId Environment ID
|
|
27197
|
+
* @param {*} [options] Override http request option.
|
|
27198
|
+
* @throws {RequiredError}
|
|
27199
|
+
*/
|
|
27200
|
+
listAgenticWorkflows(environmentId: string, options?: RawAxiosRequestConfig): AxiosPromise<AgenticWorkflowResponseList> {
|
|
27201
|
+
return localVarFp.listAgenticWorkflows(environmentId, options).then((request) => request(axios, basePath));
|
|
27202
|
+
},
|
|
27203
|
+
};
|
|
27204
|
+
};
|
|
27205
|
+
|
|
27206
|
+
/**
|
|
27207
|
+
* AgenticWorkflowsApi - object-oriented interface
|
|
27208
|
+
* @export
|
|
27209
|
+
* @class AgenticWorkflowsApi
|
|
27210
|
+
* @extends {BaseAPI}
|
|
27211
|
+
*/
|
|
27212
|
+
export class AgenticWorkflowsApi extends BaseAPI {
|
|
27213
|
+
/**
|
|
27214
|
+
*
|
|
27215
|
+
* @summary Create an agentic workflow
|
|
27216
|
+
* @param {string} environmentId Environment ID
|
|
27217
|
+
* @param {AgenticWorkflowRequest} [agenticWorkflowRequest]
|
|
27218
|
+
* @param {*} [options] Override http request option.
|
|
27219
|
+
* @throws {RequiredError}
|
|
27220
|
+
* @memberof AgenticWorkflowsApi
|
|
27221
|
+
*/
|
|
27222
|
+
public createAgenticWorkflow(environmentId: string, agenticWorkflowRequest?: AgenticWorkflowRequest, options?: RawAxiosRequestConfig) {
|
|
27223
|
+
return AgenticWorkflowsApiFp(this.configuration).createAgenticWorkflow(environmentId, agenticWorkflowRequest, options).then((request) => request(this.axios, this.basePath));
|
|
27224
|
+
}
|
|
27225
|
+
|
|
27226
|
+
/**
|
|
27227
|
+
*
|
|
27228
|
+
* @summary Delete an agentic workflow
|
|
27229
|
+
* @param {string} agenticWorkflowId
|
|
27230
|
+
* @param {*} [options] Override http request option.
|
|
27231
|
+
* @throws {RequiredError}
|
|
27232
|
+
* @memberof AgenticWorkflowsApi
|
|
27233
|
+
*/
|
|
27234
|
+
public deleteAgenticWorkflow(agenticWorkflowId: string, options?: RawAxiosRequestConfig) {
|
|
27235
|
+
return AgenticWorkflowsApiFp(this.configuration).deleteAgenticWorkflow(agenticWorkflowId, options).then((request) => request(this.axios, this.basePath));
|
|
27236
|
+
}
|
|
27237
|
+
|
|
27238
|
+
/**
|
|
27239
|
+
*
|
|
27240
|
+
* @summary Edit an agentic workflow
|
|
27241
|
+
* @param {string} agenticWorkflowId
|
|
27242
|
+
* @param {AgenticWorkflowRequest} [agenticWorkflowRequest]
|
|
27243
|
+
* @param {*} [options] Override http request option.
|
|
27244
|
+
* @throws {RequiredError}
|
|
27245
|
+
* @memberof AgenticWorkflowsApi
|
|
27246
|
+
*/
|
|
27247
|
+
public editAgenticWorkflow(agenticWorkflowId: string, agenticWorkflowRequest?: AgenticWorkflowRequest, options?: RawAxiosRequestConfig) {
|
|
27248
|
+
return AgenticWorkflowsApiFp(this.configuration).editAgenticWorkflow(agenticWorkflowId, agenticWorkflowRequest, options).then((request) => request(this.axios, this.basePath));
|
|
27249
|
+
}
|
|
27250
|
+
|
|
27251
|
+
/**
|
|
27252
|
+
*
|
|
27253
|
+
* @summary Get an agentic workflow
|
|
27254
|
+
* @param {string} agenticWorkflowId
|
|
27255
|
+
* @param {*} [options] Override http request option.
|
|
27256
|
+
* @throws {RequiredError}
|
|
27257
|
+
* @memberof AgenticWorkflowsApi
|
|
27258
|
+
*/
|
|
27259
|
+
public getAgenticWorkflow(agenticWorkflowId: string, options?: RawAxiosRequestConfig) {
|
|
27260
|
+
return AgenticWorkflowsApiFp(this.configuration).getAgenticWorkflow(agenticWorkflowId, options).then((request) => request(this.axios, this.basePath));
|
|
27261
|
+
}
|
|
27262
|
+
|
|
27263
|
+
/**
|
|
27264
|
+
*
|
|
27265
|
+
* @summary List agentic workflows
|
|
27266
|
+
* @param {string} environmentId Environment ID
|
|
27267
|
+
* @param {*} [options] Override http request option.
|
|
27268
|
+
* @throws {RequiredError}
|
|
27269
|
+
* @memberof AgenticWorkflowsApi
|
|
27270
|
+
*/
|
|
27271
|
+
public listAgenticWorkflows(environmentId: string, options?: RawAxiosRequestConfig) {
|
|
27272
|
+
return AgenticWorkflowsApiFp(this.configuration).listAgenticWorkflows(environmentId, options).then((request) => request(this.axios, this.basePath));
|
|
27273
|
+
}
|
|
27274
|
+
}
|
|
27275
|
+
|
|
27276
|
+
|
|
27277
|
+
|
|
27278
|
+
/**
|
|
27279
|
+
* AlertReceiversApi - axios parameter creator
|
|
27280
|
+
* @export
|
|
27281
|
+
*/
|
|
27282
|
+
export const AlertReceiversApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
27283
|
+
return {
|
|
27284
|
+
/**
|
|
27285
|
+
* Create a new alert receiver
|
|
27286
|
+
* @summary Create alert receiver
|
|
27287
|
+
* @param {AlertReceiverCreationRequest} [alertReceiverCreationRequest]
|
|
27288
|
+
* @param {*} [options] Override http request option.
|
|
27289
|
+
* @throws {RequiredError}
|
|
27290
|
+
*/
|
|
27291
|
+
createAlertReceiver: async (alertReceiverCreationRequest?: AlertReceiverCreationRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
27292
|
+
const localVarPath = `/alert-receivers`;
|
|
26503
27293
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
26504
27294
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
26505
27295
|
let baseOptions;
|
|
@@ -68118,6 +68908,79 @@ export const PlatformConfigurationApiAxiosParamCreator = function (configuration
|
|
|
68118
68908
|
|
|
68119
68909
|
|
|
68120
68910
|
|
|
68911
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
68912
|
+
|
|
68913
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
68914
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
68915
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
68916
|
+
localVarRequestOptions.data = serializeDataIfNeeded(platformComponentConfigurationPreviewRequest, localVarRequestOptions, configuration)
|
|
68917
|
+
|
|
68918
|
+
return {
|
|
68919
|
+
url: toPathString(localVarUrlObj),
|
|
68920
|
+
options: localVarRequestOptions,
|
|
68921
|
+
};
|
|
68922
|
+
},
|
|
68923
|
+
/**
|
|
68924
|
+
* Resolves the fields and runtime requirements to display for a component using an explicit cluster context and the values currently entered in the Console. This operation is read-only and does not require an existing cluster or platform binding.
|
|
68925
|
+
* @summary Resolve a platform component configuration before cluster creation
|
|
68926
|
+
* @param {string} organizationId Organization ID
|
|
68927
|
+
* @param {string} templateKey Platform template key
|
|
68928
|
+
* @param {string} templateVersion Platform template version
|
|
68929
|
+
* @param {string} componentKey Platform component key
|
|
68930
|
+
* @param {PlatformClusterMode} clusterMode Cluster management mode used to resolve component applicability
|
|
68931
|
+
* @param {PlatformCloudVendor} cloudProvider Cluster cloud provider used to resolve component applicability
|
|
68932
|
+
* @param {PlatformComponentConfigurationPreviewRequest} platformComponentConfigurationPreviewRequest
|
|
68933
|
+
* @param {*} [options] Override http request option.
|
|
68934
|
+
* @throws {RequiredError}
|
|
68935
|
+
*/
|
|
68936
|
+
resolvePlatformTemplateComponentConfiguration: async (organizationId: string, templateKey: string, templateVersion: string, componentKey: string, clusterMode: PlatformClusterMode, cloudProvider: PlatformCloudVendor, platformComponentConfigurationPreviewRequest: PlatformComponentConfigurationPreviewRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
68937
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
68938
|
+
assertParamExists('resolvePlatformTemplateComponentConfiguration', 'organizationId', organizationId)
|
|
68939
|
+
// verify required parameter 'templateKey' is not null or undefined
|
|
68940
|
+
assertParamExists('resolvePlatformTemplateComponentConfiguration', 'templateKey', templateKey)
|
|
68941
|
+
// verify required parameter 'templateVersion' is not null or undefined
|
|
68942
|
+
assertParamExists('resolvePlatformTemplateComponentConfiguration', 'templateVersion', templateVersion)
|
|
68943
|
+
// verify required parameter 'componentKey' is not null or undefined
|
|
68944
|
+
assertParamExists('resolvePlatformTemplateComponentConfiguration', 'componentKey', componentKey)
|
|
68945
|
+
// verify required parameter 'clusterMode' is not null or undefined
|
|
68946
|
+
assertParamExists('resolvePlatformTemplateComponentConfiguration', 'clusterMode', clusterMode)
|
|
68947
|
+
// verify required parameter 'cloudProvider' is not null or undefined
|
|
68948
|
+
assertParamExists('resolvePlatformTemplateComponentConfiguration', 'cloudProvider', cloudProvider)
|
|
68949
|
+
// verify required parameter 'platformComponentConfigurationPreviewRequest' is not null or undefined
|
|
68950
|
+
assertParamExists('resolvePlatformTemplateComponentConfiguration', 'platformComponentConfigurationPreviewRequest', platformComponentConfigurationPreviewRequest)
|
|
68951
|
+
const localVarPath = `/organization/{organizationId}/platformTemplate/{templateKey}/{templateVersion}/component/{componentKey}/resolve`
|
|
68952
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
|
|
68953
|
+
.replace(`{${"templateKey"}}`, encodeURIComponent(String(templateKey)))
|
|
68954
|
+
.replace(`{${"templateVersion"}}`, encodeURIComponent(String(templateVersion)))
|
|
68955
|
+
.replace(`{${"componentKey"}}`, encodeURIComponent(String(componentKey)));
|
|
68956
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
68957
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
68958
|
+
let baseOptions;
|
|
68959
|
+
if (configuration) {
|
|
68960
|
+
baseOptions = configuration.baseOptions;
|
|
68961
|
+
}
|
|
68962
|
+
|
|
68963
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
68964
|
+
const localVarHeaderParameter = {} as any;
|
|
68965
|
+
const localVarQueryParameter = {} as any;
|
|
68966
|
+
|
|
68967
|
+
// authentication ApiKeyAuth required
|
|
68968
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
68969
|
+
|
|
68970
|
+
// authentication bearerAuth required
|
|
68971
|
+
// http bearer authentication required
|
|
68972
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
68973
|
+
|
|
68974
|
+
if (clusterMode !== undefined) {
|
|
68975
|
+
localVarQueryParameter['clusterMode'] = clusterMode;
|
|
68976
|
+
}
|
|
68977
|
+
|
|
68978
|
+
if (cloudProvider !== undefined) {
|
|
68979
|
+
localVarQueryParameter['cloudProvider'] = cloudProvider;
|
|
68980
|
+
}
|
|
68981
|
+
|
|
68982
|
+
|
|
68983
|
+
|
|
68121
68984
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
68122
68985
|
|
|
68123
68986
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -68236,6 +69099,25 @@ export const PlatformConfigurationApiFp = function(configuration?: Configuration
|
|
|
68236
69099
|
const localVarOperationServerBasePath = operationServerMap['PlatformConfigurationApi.resolvePlatformComponentConfiguration']?.[localVarOperationServerIndex]?.url;
|
|
68237
69100
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
68238
69101
|
},
|
|
69102
|
+
/**
|
|
69103
|
+
* Resolves the fields and runtime requirements to display for a component using an explicit cluster context and the values currently entered in the Console. This operation is read-only and does not require an existing cluster or platform binding.
|
|
69104
|
+
* @summary Resolve a platform component configuration before cluster creation
|
|
69105
|
+
* @param {string} organizationId Organization ID
|
|
69106
|
+
* @param {string} templateKey Platform template key
|
|
69107
|
+
* @param {string} templateVersion Platform template version
|
|
69108
|
+
* @param {string} componentKey Platform component key
|
|
69109
|
+
* @param {PlatformClusterMode} clusterMode Cluster management mode used to resolve component applicability
|
|
69110
|
+
* @param {PlatformCloudVendor} cloudProvider Cluster cloud provider used to resolve component applicability
|
|
69111
|
+
* @param {PlatformComponentConfigurationPreviewRequest} platformComponentConfigurationPreviewRequest
|
|
69112
|
+
* @param {*} [options] Override http request option.
|
|
69113
|
+
* @throws {RequiredError}
|
|
69114
|
+
*/
|
|
69115
|
+
async resolvePlatformTemplateComponentConfiguration(organizationId: string, templateKey: string, templateVersion: string, componentKey: string, clusterMode: PlatformClusterMode, cloudProvider: PlatformCloudVendor, platformComponentConfigurationPreviewRequest: PlatformComponentConfigurationPreviewRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlatformComponentConfigurationResolutionResponse>> {
|
|
69116
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.resolvePlatformTemplateComponentConfiguration(organizationId, templateKey, templateVersion, componentKey, clusterMode, cloudProvider, platformComponentConfigurationPreviewRequest, options);
|
|
69117
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
69118
|
+
const localVarOperationServerBasePath = operationServerMap['PlatformConfigurationApi.resolvePlatformTemplateComponentConfiguration']?.[localVarOperationServerIndex]?.url;
|
|
69119
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
69120
|
+
},
|
|
68239
69121
|
/**
|
|
68240
69122
|
* Selects a platform template and stores layer selections, component profile values, and customer-provided runtime inputs for the cluster.
|
|
68241
69123
|
* @summary Update the cluster platform binding
|
|
@@ -68297,6 +69179,22 @@ export const PlatformConfigurationApiFactory = function (configuration?: Configu
|
|
|
68297
69179
|
resolvePlatformComponentConfiguration(organizationId: string, clusterId: string, componentKey: string, platformComponentConfigurationPreviewRequest: PlatformComponentConfigurationPreviewRequest, options?: RawAxiosRequestConfig): AxiosPromise<PlatformComponentConfigurationPreviewResponse> {
|
|
68298
69180
|
return localVarFp.resolvePlatformComponentConfiguration(organizationId, clusterId, componentKey, platformComponentConfigurationPreviewRequest, options).then((request) => request(axios, basePath));
|
|
68299
69181
|
},
|
|
69182
|
+
/**
|
|
69183
|
+
* Resolves the fields and runtime requirements to display for a component using an explicit cluster context and the values currently entered in the Console. This operation is read-only and does not require an existing cluster or platform binding.
|
|
69184
|
+
* @summary Resolve a platform component configuration before cluster creation
|
|
69185
|
+
* @param {string} organizationId Organization ID
|
|
69186
|
+
* @param {string} templateKey Platform template key
|
|
69187
|
+
* @param {string} templateVersion Platform template version
|
|
69188
|
+
* @param {string} componentKey Platform component key
|
|
69189
|
+
* @param {PlatformClusterMode} clusterMode Cluster management mode used to resolve component applicability
|
|
69190
|
+
* @param {PlatformCloudVendor} cloudProvider Cluster cloud provider used to resolve component applicability
|
|
69191
|
+
* @param {PlatformComponentConfigurationPreviewRequest} platformComponentConfigurationPreviewRequest
|
|
69192
|
+
* @param {*} [options] Override http request option.
|
|
69193
|
+
* @throws {RequiredError}
|
|
69194
|
+
*/
|
|
69195
|
+
resolvePlatformTemplateComponentConfiguration(organizationId: string, templateKey: string, templateVersion: string, componentKey: string, clusterMode: PlatformClusterMode, cloudProvider: PlatformCloudVendor, platformComponentConfigurationPreviewRequest: PlatformComponentConfigurationPreviewRequest, options?: RawAxiosRequestConfig): AxiosPromise<PlatformComponentConfigurationResolutionResponse> {
|
|
69196
|
+
return localVarFp.resolvePlatformTemplateComponentConfiguration(organizationId, templateKey, templateVersion, componentKey, clusterMode, cloudProvider, platformComponentConfigurationPreviewRequest, options).then((request) => request(axios, basePath));
|
|
69197
|
+
},
|
|
68300
69198
|
/**
|
|
68301
69199
|
* Selects a platform template and stores layer selections, component profile values, and customer-provided runtime inputs for the cluster.
|
|
68302
69200
|
* @summary Update the cluster platform binding
|
|
@@ -68361,6 +69259,24 @@ export class PlatformConfigurationApi extends BaseAPI {
|
|
|
68361
69259
|
return PlatformConfigurationApiFp(this.configuration).resolvePlatformComponentConfiguration(organizationId, clusterId, componentKey, platformComponentConfigurationPreviewRequest, options).then((request) => request(this.axios, this.basePath));
|
|
68362
69260
|
}
|
|
68363
69261
|
|
|
69262
|
+
/**
|
|
69263
|
+
* Resolves the fields and runtime requirements to display for a component using an explicit cluster context and the values currently entered in the Console. This operation is read-only and does not require an existing cluster or platform binding.
|
|
69264
|
+
* @summary Resolve a platform component configuration before cluster creation
|
|
69265
|
+
* @param {string} organizationId Organization ID
|
|
69266
|
+
* @param {string} templateKey Platform template key
|
|
69267
|
+
* @param {string} templateVersion Platform template version
|
|
69268
|
+
* @param {string} componentKey Platform component key
|
|
69269
|
+
* @param {PlatformClusterMode} clusterMode Cluster management mode used to resolve component applicability
|
|
69270
|
+
* @param {PlatformCloudVendor} cloudProvider Cluster cloud provider used to resolve component applicability
|
|
69271
|
+
* @param {PlatformComponentConfigurationPreviewRequest} platformComponentConfigurationPreviewRequest
|
|
69272
|
+
* @param {*} [options] Override http request option.
|
|
69273
|
+
* @throws {RequiredError}
|
|
69274
|
+
* @memberof PlatformConfigurationApi
|
|
69275
|
+
*/
|
|
69276
|
+
public resolvePlatformTemplateComponentConfiguration(organizationId: string, templateKey: string, templateVersion: string, componentKey: string, clusterMode: PlatformClusterMode, cloudProvider: PlatformCloudVendor, platformComponentConfigurationPreviewRequest: PlatformComponentConfigurationPreviewRequest, options?: RawAxiosRequestConfig) {
|
|
69277
|
+
return PlatformConfigurationApiFp(this.configuration).resolvePlatformTemplateComponentConfiguration(organizationId, templateKey, templateVersion, componentKey, clusterMode, cloudProvider, platformComponentConfigurationPreviewRequest, options).then((request) => request(this.axios, this.basePath));
|
|
69278
|
+
}
|
|
69279
|
+
|
|
68364
69280
|
/**
|
|
68365
69281
|
* Selects a platform template and stores layer selections, component profile values, and customer-provided runtime inputs for the cluster.
|
|
68366
69282
|
* @summary Update the cluster platform binding
|