qovery-typescript-axios 1.1.927 → 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 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
@@ -26485,6 +26805,439 @@ export class AccountInfoApi extends BaseAPI {
26485
26805
 
26486
26806
 
26487
26807
 
26808
+ /**
26809
+ * AgenticWorkflowsApi - axios parameter creator
26810
+ * @export
26811
+ */
26812
+ export const AgenticWorkflowsApiAxiosParamCreator = function (configuration?: Configuration) {
26813
+ return {
26814
+ /**
26815
+ *
26816
+ * @summary Create an agentic workflow
26817
+ * @param {string} environmentId Environment ID
26818
+ * @param {AgenticWorkflowRequest} [agenticWorkflowRequest]
26819
+ * @param {*} [options] Override http request option.
26820
+ * @throws {RequiredError}
26821
+ */
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)));
26827
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
26828
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
26829
+ let baseOptions;
26830
+ if (configuration) {
26831
+ baseOptions = configuration.baseOptions;
26832
+ }
26833
+
26834
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
26835
+ const localVarHeaderParameter = {} as any;
26836
+ const localVarQueryParameter = {} as any;
26837
+
26838
+ // authentication ApiKeyAuth required
26839
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
26840
+
26841
+ // authentication bearerAuth required
26842
+ // http bearer authentication required
26843
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
26844
+
26845
+
26846
+
26847
+ localVarHeaderParameter['Content-Type'] = 'application/json';
26848
+
26849
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
26850
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
26851
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
26852
+ localVarRequestOptions.data = serializeDataIfNeeded(agenticWorkflowRequest, localVarRequestOptions, configuration)
26853
+
26854
+ return {
26855
+ url: toPathString(localVarUrlObj),
26856
+ options: localVarRequestOptions,
26857
+ };
26858
+ },
26859
+ /**
26860
+ *
26861
+ * @summary Delete an agentic workflow
26862
+ * @param {string} agenticWorkflowId
26863
+ * @param {*} [options] Override http request option.
26864
+ * @throws {RequiredError}
26865
+ */
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)));
26871
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
26872
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
26873
+ let baseOptions;
26874
+ if (configuration) {
26875
+ baseOptions = configuration.baseOptions;
26876
+ }
26877
+
26878
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
26879
+ const localVarHeaderParameter = {} as any;
26880
+ const localVarQueryParameter = {} as any;
26881
+
26882
+ // authentication ApiKeyAuth required
26883
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
26884
+
26885
+ // authentication bearerAuth required
26886
+ // http bearer authentication required
26887
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
26888
+
26889
+
26890
+
26891
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
26892
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
26893
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
26894
+
26895
+ return {
26896
+ url: toPathString(localVarUrlObj),
26897
+ options: localVarRequestOptions,
26898
+ };
26899
+ },
26900
+ /**
26901
+ *
26902
+ * @summary Edit an agentic workflow
26903
+ * @param {string} agenticWorkflowId
26904
+ * @param {AgenticWorkflowRequest} [agenticWorkflowRequest]
26905
+ * @param {*} [options] Override http request option.
26906
+ * @throws {RequiredError}
26907
+ */
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)));
26913
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
26914
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
26915
+ let baseOptions;
26916
+ if (configuration) {
26917
+ baseOptions = configuration.baseOptions;
26918
+ }
26919
+
26920
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
26921
+ const localVarHeaderParameter = {} as any;
26922
+ const localVarQueryParameter = {} as any;
26923
+
26924
+ // authentication ApiKeyAuth required
26925
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
26926
+
26927
+ // authentication bearerAuth required
26928
+ // http bearer authentication required
26929
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
26930
+
26931
+
26932
+
26933
+ localVarHeaderParameter['Content-Type'] = 'application/json';
26934
+
26935
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
26936
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
26937
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
26938
+ localVarRequestOptions.data = serializeDataIfNeeded(agenticWorkflowRequest, localVarRequestOptions, configuration)
26939
+
26940
+ return {
26941
+ url: toPathString(localVarUrlObj),
26942
+ options: localVarRequestOptions,
26943
+ };
26944
+ },
26945
+ /**
26946
+ *
26947
+ * @summary Get an agentic workflow
26948
+ * @param {string} agenticWorkflowId
26949
+ * @param {*} [options] Override http request option.
26950
+ * @throws {RequiredError}
26951
+ */
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
+
26488
27241
  /**
26489
27242
  * AlertReceiversApi - axios parameter creator
26490
27243
  * @export