@gooddata/api-client-tiger 11.69.0-alpha.2 → 11.69.0-alpha.4

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.
@@ -483,6 +483,49 @@ export async function AILakeApiAxiosParamCreator_ProvisionAiLakeDatabaseInstance
483
483
  };
484
484
  }
485
485
  // AILakeApi FP - AILakeApiAxiosParamCreator
486
+ /**
487
+ * (BETA) Brings the data source up to date after a load and drops its cached results. The request starts an operation. Poll the operation to see its progress. When the operation succeeds, queries return the new data after the usual cache propagation. A failed operation carries the reason in its error.
488
+ * @summary (BETA) Refresh an AI Lake data source
489
+ * @param {string} instanceId Database instance identifier. Accepts the database name (preferred) or UUID.
490
+ * @param {string} dataSourceId Data source identifier.
491
+ * @param {string} [operationId]
492
+ * @param {*} [options] Override http request option.
493
+ * @param {Configuration} [configuration] Optional configuration.
494
+ * @throws {RequiredError}
495
+ */
496
+ export async function AILakeApiAxiosParamCreator_RefreshAiLakeDataSource(instanceId, dataSourceId, operationId, options = {}, configuration) {
497
+ // verify required parameter 'instanceId' is not null or undefined
498
+ assertParamExists('refreshAiLakeDataSource', 'instanceId', instanceId);
499
+ // verify required parameter 'dataSourceId' is not null or undefined
500
+ assertParamExists('refreshAiLakeDataSource', 'dataSourceId', dataSourceId);
501
+ const localVarPath = `/api/v1/ailake/database/instances/{instanceId}/dataSources/{dataSourceId}/refresh`
502
+ .replace(`{${"instanceId"}}`, encodeURIComponent(String(instanceId)))
503
+ .replace(`{${"dataSourceId"}}`, encodeURIComponent(String(dataSourceId)));
504
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
505
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
506
+ let baseOptions;
507
+ if (configuration) {
508
+ baseOptions = configuration.baseOptions;
509
+ }
510
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
511
+ const localVarHeaderParameter = {};
512
+ const localVarQueryParameter = {};
513
+ if (operationId !== undefined && operationId !== null) {
514
+ localVarHeaderParameter['operation-id'] = String(operationId);
515
+ }
516
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
517
+ const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
518
+ localVarRequestOptions.headers = {
519
+ ...localVarHeaderParameter,
520
+ ...headersFromBaseOptions,
521
+ ...options.headers,
522
+ };
523
+ return {
524
+ url: toPathString(localVarUrlObj),
525
+ options: localVarRequestOptions,
526
+ };
527
+ }
528
+ // AILakeApi FP - AILakeApiAxiosParamCreator
486
529
  /**
487
530
  * (BETA) Removes a data source association from an AI Lake database instance and deletes the corresponding data source from metadata-api. Fails if removing the data source would leave the instance with no data sources.
488
531
  * @summary (BETA) Remove a data source from an AILake Database instance
@@ -795,6 +838,21 @@ export async function AILakeApi_ProvisionAiLakeDatabaseInstance(axios, basePath,
795
838
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
796
839
  }
797
840
  // AILakeApi Api FP
841
+ /**
842
+ * (BETA) Brings the data source up to date after a load and drops its cached results. The request starts an operation. Poll the operation to see its progress. When the operation succeeds, queries return the new data after the usual cache propagation. A failed operation carries the reason in its error.
843
+ * @summary (BETA) Refresh an AI Lake data source
844
+ * @param {AxiosInstance} axios Axios instance.
845
+ * @param {string} basePath Base path.
846
+ * @param {AILakeApiRefreshAiLakeDataSourceRequest} requestParameters Request parameters.
847
+ * @param {*} [options] Override http request option.
848
+ * @param {Configuration} [configuration] Optional configuration.
849
+ * @throws {RequiredError}
850
+ */
851
+ export async function AILakeApi_RefreshAiLakeDataSource(axios, basePath, requestParameters, options, configuration) {
852
+ const localVarAxiosArgs = await AILakeApiAxiosParamCreator_RefreshAiLakeDataSource(requestParameters.instanceId, requestParameters.dataSourceId, requestParameters.operationId, options || {}, configuration);
853
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
854
+ }
855
+ // AILakeApi Api FP
798
856
  /**
799
857
  * (BETA) Removes a data source association from an AI Lake database instance and deletes the corresponding data source from metadata-api. Fails if removing the data source would leave the instance with no data sources.
800
858
  * @summary (BETA) Remove a data source from an AILake Database instance
@@ -967,6 +1025,17 @@ export class AILakeApi extends BaseAPI {
967
1025
  provisionAiLakeDatabaseInstance(requestParameters, options) {
968
1026
  return AILakeApi_ProvisionAiLakeDatabaseInstance(this.axios, this.basePath, requestParameters, options, this.configuration);
969
1027
  }
1028
+ /**
1029
+ * (BETA) Brings the data source up to date after a load and drops its cached results. The request starts an operation. Poll the operation to see its progress. When the operation succeeds, queries return the new data after the usual cache propagation. A failed operation carries the reason in its error.
1030
+ * @summary (BETA) Refresh an AI Lake data source
1031
+ * @param {AILakeApiRefreshAiLakeDataSourceRequest} requestParameters Request parameters.
1032
+ * @param {*} [options] Override http request option.
1033
+ * @throws {RequiredError}
1034
+ * @memberof AILakeApi
1035
+ */
1036
+ refreshAiLakeDataSource(requestParameters, options) {
1037
+ return AILakeApi_RefreshAiLakeDataSource(this.axios, this.basePath, requestParameters, options, this.configuration);
1038
+ }
970
1039
  /**
971
1040
  * (BETA) Removes a data source association from an AI Lake database instance and deletes the corresponding data source from metadata-api. Fails if removing the data source would leave the instance with no data sources.
972
1041
  * @summary (BETA) Remove a data source from an AILake Database instance
@@ -1367,6 +1436,49 @@ export async function AILakeDatabasesApiAxiosParamCreator_ProvisionAiLakeDatabas
1367
1436
  };
1368
1437
  }
1369
1438
  // AILakeDatabasesApi FP - AILakeDatabasesApiAxiosParamCreator
1439
+ /**
1440
+ * (BETA) Brings the data source up to date after a load and drops its cached results. The request starts an operation. Poll the operation to see its progress. When the operation succeeds, queries return the new data after the usual cache propagation. A failed operation carries the reason in its error.
1441
+ * @summary (BETA) Refresh an AI Lake data source
1442
+ * @param {string} instanceId Database instance identifier. Accepts the database name (preferred) or UUID.
1443
+ * @param {string} dataSourceId Data source identifier.
1444
+ * @param {string} [operationId]
1445
+ * @param {*} [options] Override http request option.
1446
+ * @param {Configuration} [configuration] Optional configuration.
1447
+ * @throws {RequiredError}
1448
+ */
1449
+ export async function AILakeDatabasesApiAxiosParamCreator_RefreshAiLakeDataSource(instanceId, dataSourceId, operationId, options = {}, configuration) {
1450
+ // verify required parameter 'instanceId' is not null or undefined
1451
+ assertParamExists('refreshAiLakeDataSource', 'instanceId', instanceId);
1452
+ // verify required parameter 'dataSourceId' is not null or undefined
1453
+ assertParamExists('refreshAiLakeDataSource', 'dataSourceId', dataSourceId);
1454
+ const localVarPath = `/api/v1/ailake/database/instances/{instanceId}/dataSources/{dataSourceId}/refresh`
1455
+ .replace(`{${"instanceId"}}`, encodeURIComponent(String(instanceId)))
1456
+ .replace(`{${"dataSourceId"}}`, encodeURIComponent(String(dataSourceId)));
1457
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1458
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1459
+ let baseOptions;
1460
+ if (configuration) {
1461
+ baseOptions = configuration.baseOptions;
1462
+ }
1463
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
1464
+ const localVarHeaderParameter = {};
1465
+ const localVarQueryParameter = {};
1466
+ if (operationId !== undefined && operationId !== null) {
1467
+ localVarHeaderParameter['operation-id'] = String(operationId);
1468
+ }
1469
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1470
+ const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
1471
+ localVarRequestOptions.headers = {
1472
+ ...localVarHeaderParameter,
1473
+ ...headersFromBaseOptions,
1474
+ ...options.headers,
1475
+ };
1476
+ return {
1477
+ url: toPathString(localVarUrlObj),
1478
+ options: localVarRequestOptions,
1479
+ };
1480
+ }
1481
+ // AILakeDatabasesApi FP - AILakeDatabasesApiAxiosParamCreator
1370
1482
  /**
1371
1483
  * (BETA) Removes a data source association from an AI Lake database instance and deletes the corresponding data source from metadata-api. Fails if removing the data source would leave the instance with no data sources.
1372
1484
  * @summary (BETA) Remove a data source from an AILake Database instance
@@ -1576,6 +1688,21 @@ export async function AILakeDatabasesApi_ProvisionAiLakeDatabaseInstance(axios,
1576
1688
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
1577
1689
  }
1578
1690
  // AILakeDatabasesApi Api FP
1691
+ /**
1692
+ * (BETA) Brings the data source up to date after a load and drops its cached results. The request starts an operation. Poll the operation to see its progress. When the operation succeeds, queries return the new data after the usual cache propagation. A failed operation carries the reason in its error.
1693
+ * @summary (BETA) Refresh an AI Lake data source
1694
+ * @param {AxiosInstance} axios Axios instance.
1695
+ * @param {string} basePath Base path.
1696
+ * @param {AILakeDatabasesApiRefreshAiLakeDataSourceRequest} requestParameters Request parameters.
1697
+ * @param {*} [options] Override http request option.
1698
+ * @param {Configuration} [configuration] Optional configuration.
1699
+ * @throws {RequiredError}
1700
+ */
1701
+ export async function AILakeDatabasesApi_RefreshAiLakeDataSource(axios, basePath, requestParameters, options, configuration) {
1702
+ const localVarAxiosArgs = await AILakeDatabasesApiAxiosParamCreator_RefreshAiLakeDataSource(requestParameters.instanceId, requestParameters.dataSourceId, requestParameters.operationId, options || {}, configuration);
1703
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
1704
+ }
1705
+ // AILakeDatabasesApi Api FP
1579
1706
  /**
1580
1707
  * (BETA) Removes a data source association from an AI Lake database instance and deletes the corresponding data source from metadata-api. Fails if removing the data source would leave the instance with no data sources.
1581
1708
  * @summary (BETA) Remove a data source from an AILake Database instance
@@ -1700,6 +1827,17 @@ export class AILakeDatabasesApi extends BaseAPI {
1700
1827
  provisionAiLakeDatabaseInstance(requestParameters, options) {
1701
1828
  return AILakeDatabasesApi_ProvisionAiLakeDatabaseInstance(this.axios, this.basePath, requestParameters, options, this.configuration);
1702
1829
  }
1830
+ /**
1831
+ * (BETA) Brings the data source up to date after a load and drops its cached results. The request starts an operation. Poll the operation to see its progress. When the operation succeeds, queries return the new data after the usual cache propagation. A failed operation carries the reason in its error.
1832
+ * @summary (BETA) Refresh an AI Lake data source
1833
+ * @param {AILakeDatabasesApiRefreshAiLakeDataSourceRequest} requestParameters Request parameters.
1834
+ * @param {*} [options] Override http request option.
1835
+ * @throws {RequiredError}
1836
+ * @memberof AILakeDatabasesApi
1837
+ */
1838
+ refreshAiLakeDataSource(requestParameters, options) {
1839
+ return AILakeDatabasesApi_RefreshAiLakeDataSource(this.axios, this.basePath, requestParameters, options, this.configuration);
1840
+ }
1703
1841
  /**
1704
1842
  * (BETA) Removes a data source association from an AI Lake database instance and deletes the corresponding data source from metadata-api. Fails if removing the data source would leave the instance with no data sources.
1705
1843
  * @summary (BETA) Remove a data source from an AILake Database instance
@@ -2352,44 +2490,6 @@ export async function ActionsApiAxiosParamCreator_CancelFlows(workspaceId, afmCa
2352
2490
  };
2353
2491
  }
2354
2492
  // ActionsApi FP - ActionsApiAxiosParamCreator
2355
- /**
2356
- *
2357
- * @param {string} workspaceId Workspace identifier
2358
- * @param {string} runId
2359
- * @param {*} [options] Override http request option.
2360
- * @param {Configuration} [configuration] Optional configuration.
2361
- * @throws {RequiredError}
2362
- */
2363
- export async function ActionsApiAxiosParamCreator_CancelWorkflow(workspaceId, runId, options = {}, configuration) {
2364
- // verify required parameter 'workspaceId' is not null or undefined
2365
- assertParamExists('cancelWorkflow', 'workspaceId', workspaceId);
2366
- // verify required parameter 'runId' is not null or undefined
2367
- assertParamExists('cancelWorkflow', 'runId', runId);
2368
- const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/ai/workflow/{runId}/cancel`
2369
- .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
2370
- .replace(`{${"runId"}}`, encodeURIComponent(String(runId)));
2371
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
2372
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2373
- let baseOptions;
2374
- if (configuration) {
2375
- baseOptions = configuration.baseOptions;
2376
- }
2377
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
2378
- const localVarHeaderParameter = {};
2379
- const localVarQueryParameter = {};
2380
- setSearchParams(localVarUrlObj, localVarQueryParameter);
2381
- const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
2382
- localVarRequestOptions.headers = {
2383
- ...localVarHeaderParameter,
2384
- ...headersFromBaseOptions,
2385
- ...options.headers,
2386
- };
2387
- return {
2388
- url: toPathString(localVarUrlObj),
2389
- options: localVarRequestOptions,
2390
- };
2391
- }
2392
- // ActionsApi FP - ActionsApiAxiosParamCreator
2393
2493
  /**
2394
2494
  * Computes change analysis for the provided execution definition.
2395
2495
  * @summary Compute change analysis
@@ -3069,55 +3169,6 @@ export async function ActionsApiAxiosParamCreator_ForecastResult(workspaceId, re
3069
3169
  };
3070
3170
  }
3071
3171
  // ActionsApi FP - ActionsApiAxiosParamCreator
3072
- /**
3073
- *
3074
- * @param {string} workspaceId Workspace identifier
3075
- * @param {WorkflowDashboardSummaryRequestDto} workflowDashboardSummaryRequestDto
3076
- * @param {*} [options] Override http request option.
3077
- * @param {Configuration} [configuration] Optional configuration.
3078
- * @throws {RequiredError}
3079
- */
3080
- export async function ActionsApiAxiosParamCreator_GenerateDashboardSummary(workspaceId, workflowDashboardSummaryRequestDto, options = {}, configuration) {
3081
- // verify required parameter 'workspaceId' is not null or undefined
3082
- assertParamExists('generateDashboardSummary', 'workspaceId', workspaceId);
3083
- // verify required parameter 'workflowDashboardSummaryRequestDto' is not null or undefined
3084
- assertParamExists('generateDashboardSummary', 'workflowDashboardSummaryRequestDto', workflowDashboardSummaryRequestDto);
3085
- const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/ai/workflow/dashboardSummary`
3086
- .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
3087
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
3088
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3089
- let baseOptions;
3090
- if (configuration) {
3091
- baseOptions = configuration.baseOptions;
3092
- }
3093
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
3094
- const localVarHeaderParameter = {};
3095
- const localVarQueryParameter = {};
3096
- const consumes = [
3097
- 'application/json'
3098
- ];
3099
- // use application/json if present, otherwise fallback to the first one
3100
- localVarHeaderParameter['Content-Type'] = consumes.includes('application/json')
3101
- ? 'application/json'
3102
- : consumes[0];
3103
- setSearchParams(localVarUrlObj, localVarQueryParameter);
3104
- const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
3105
- localVarRequestOptions.headers = {
3106
- ...localVarHeaderParameter,
3107
- ...headersFromBaseOptions,
3108
- ...options.headers,
3109
- };
3110
- const needsSerialization = typeof workflowDashboardSummaryRequestDto !== "string" ||
3111
- localVarRequestOptions.headers["Content-Type"] === "application/json";
3112
- localVarRequestOptions.data = needsSerialization
3113
- ? JSON.stringify(workflowDashboardSummaryRequestDto !== undefined ? workflowDashboardSummaryRequestDto : {})
3114
- : workflowDashboardSummaryRequestDto || "";
3115
- return {
3116
- url: toPathString(localVarUrlObj),
3117
- options: localVarRequestOptions,
3118
- };
3119
- }
3120
- // ActionsApi FP - ActionsApiAxiosParamCreator
3121
3172
  /**
3122
3173
  * Generates a description for the specified analytics object. Returns description and a note with details if generation was not performed.
3123
3174
  * @summary Generate Description for Analytics Object
@@ -3292,44 +3343,6 @@ export async function ActionsApiAxiosParamCreator_GetQualityIssuesCalculationSta
3292
3343
  };
3293
3344
  }
3294
3345
  // ActionsApi FP - ActionsApiAxiosParamCreator
3295
- /**
3296
- *
3297
- * @param {string} workspaceId Workspace identifier
3298
- * @param {string} runId
3299
- * @param {*} [options] Override http request option.
3300
- * @param {Configuration} [configuration] Optional configuration.
3301
- * @throws {RequiredError}
3302
- */
3303
- export async function ActionsApiAxiosParamCreator_GetWorkflowStatus(workspaceId, runId, options = {}, configuration) {
3304
- // verify required parameter 'workspaceId' is not null or undefined
3305
- assertParamExists('getWorkflowStatus', 'workspaceId', workspaceId);
3306
- // verify required parameter 'runId' is not null or undefined
3307
- assertParamExists('getWorkflowStatus', 'runId', runId);
3308
- const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/ai/workflow/{runId}/status`
3309
- .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
3310
- .replace(`{${"runId"}}`, encodeURIComponent(String(runId)));
3311
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
3312
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3313
- let baseOptions;
3314
- if (configuration) {
3315
- baseOptions = configuration.baseOptions;
3316
- }
3317
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
3318
- const localVarHeaderParameter = {};
3319
- const localVarQueryParameter = {};
3320
- setSearchParams(localVarUrlObj, localVarQueryParameter);
3321
- const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
3322
- localVarRequestOptions.headers = {
3323
- ...localVarHeaderParameter,
3324
- ...headersFromBaseOptions,
3325
- ...options.headers,
3326
- };
3327
- return {
3328
- url: toPathString(localVarUrlObj),
3329
- options: localVarRequestOptions,
3330
- };
3331
- }
3332
- // ActionsApi FP - ActionsApiAxiosParamCreator
3333
3346
  /**
3334
3347
  * (EXPERIMENTAL) Computes key driver analysis for the provided execution definition.
3335
3348
  * @summary (EXPERIMENTAL) Compute key driver analysis
@@ -4004,6 +4017,45 @@ export async function ActionsApiAxiosParamCreator_RetrieveResultBinary(workspace
4004
4017
  };
4005
4018
  }
4006
4019
  // ActionsApi FP - ActionsApiAxiosParamCreator
4020
+ /**
4021
+ * Server-Sent Events with the computation steps of the execution identified by the X-GDC-CANCEL-TOKEN of the execute request. Ends with a `done` event.
4022
+ * @summary (EXPERIMENTAL) Stream the live progress of an AFM execution
4023
+ * @param {string} workspaceId Workspace identifier
4024
+ * @param {string} executionId
4025
+ * @param {*} [options] Override http request option.
4026
+ * @param {Configuration} [configuration] Optional configuration.
4027
+ * @throws {RequiredError}
4028
+ */
4029
+ export async function ActionsApiAxiosParamCreator_StreamExecutionProgress(workspaceId, executionId, options = {}, configuration) {
4030
+ // verify required parameter 'workspaceId' is not null or undefined
4031
+ assertParamExists('streamExecutionProgress', 'workspaceId', workspaceId);
4032
+ // verify required parameter 'executionId' is not null or undefined
4033
+ assertParamExists('streamExecutionProgress', 'executionId', executionId);
4034
+ const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/execution/afm/execute/progress/{executionId}`
4035
+ .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
4036
+ .replace(`{${"executionId"}}`, encodeURIComponent(String(executionId)));
4037
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4038
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4039
+ let baseOptions;
4040
+ if (configuration) {
4041
+ baseOptions = configuration.baseOptions;
4042
+ }
4043
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
4044
+ const localVarHeaderParameter = {};
4045
+ const localVarQueryParameter = {};
4046
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
4047
+ const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
4048
+ localVarRequestOptions.headers = {
4049
+ ...localVarHeaderParameter,
4050
+ ...headersFromBaseOptions,
4051
+ ...options.headers,
4052
+ };
4053
+ return {
4054
+ url: toPathString(localVarUrlObj),
4055
+ options: localVarRequestOptions,
4056
+ };
4057
+ }
4058
+ // ActionsApi FP - ActionsApiAxiosParamCreator
4007
4059
  /**
4008
4060
  * Tests LLM provider connectivity with a full definition.
4009
4061
  * @summary Test LLM Provider
@@ -4354,20 +4406,6 @@ export async function ActionsApi_CancelFlows(axios, basePath, requestParameters,
4354
4406
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
4355
4407
  }
4356
4408
  // ActionsApi Api FP
4357
- /**
4358
- *
4359
- * @param {AxiosInstance} axios Axios instance.
4360
- * @param {string} basePath Base path.
4361
- * @param {ActionsApiCancelWorkflowRequest} requestParameters Request parameters.
4362
- * @param {*} [options] Override http request option.
4363
- * @param {Configuration} [configuration] Optional configuration.
4364
- * @throws {RequiredError}
4365
- */
4366
- export async function ActionsApi_CancelWorkflow(axios, basePath, requestParameters, options, configuration) {
4367
- const localVarAxiosArgs = await ActionsApiAxiosParamCreator_CancelWorkflow(requestParameters.workspaceId, requestParameters.runId, options || {}, configuration);
4368
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
4369
- }
4370
- // ActionsApi Api FP
4371
4409
  /**
4372
4410
  * Computes change analysis for the provided execution definition.
4373
4411
  * @summary Compute change analysis
@@ -4563,20 +4601,6 @@ export async function ActionsApi_ForecastResult(axios, basePath, requestParamete
4563
4601
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
4564
4602
  }
4565
4603
  // ActionsApi Api FP
4566
- /**
4567
- *
4568
- * @param {AxiosInstance} axios Axios instance.
4569
- * @param {string} basePath Base path.
4570
- * @param {ActionsApiGenerateDashboardSummaryRequest} requestParameters Request parameters.
4571
- * @param {*} [options] Override http request option.
4572
- * @param {Configuration} [configuration] Optional configuration.
4573
- * @throws {RequiredError}
4574
- */
4575
- export async function ActionsApi_GenerateDashboardSummary(axios, basePath, requestParameters, options, configuration) {
4576
- const localVarAxiosArgs = await ActionsApiAxiosParamCreator_GenerateDashboardSummary(requestParameters.workspaceId, requestParameters.workflowDashboardSummaryRequestDto, options || {}, configuration);
4577
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
4578
- }
4579
- // ActionsApi Api FP
4580
4604
  /**
4581
4605
  * Generates a description for the specified analytics object. Returns description and a note with details if generation was not performed.
4582
4606
  * @summary Generate Description for Analytics Object
@@ -4637,20 +4661,6 @@ export async function ActionsApi_GetQualityIssuesCalculationStatus(axios, basePa
4637
4661
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
4638
4662
  }
4639
4663
  // ActionsApi Api FP
4640
- /**
4641
- *
4642
- * @param {AxiosInstance} axios Axios instance.
4643
- * @param {string} basePath Base path.
4644
- * @param {ActionsApiGetWorkflowStatusRequest} requestParameters Request parameters.
4645
- * @param {*} [options] Override http request option.
4646
- * @param {Configuration} [configuration] Optional configuration.
4647
- * @throws {RequiredError}
4648
- */
4649
- export async function ActionsApi_GetWorkflowStatus(axios, basePath, requestParameters, options, configuration) {
4650
- const localVarAxiosArgs = await ActionsApiAxiosParamCreator_GetWorkflowStatus(requestParameters.workspaceId, requestParameters.runId, options || {}, configuration);
4651
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
4652
- }
4653
- // ActionsApi Api FP
4654
4664
  /**
4655
4665
  * (EXPERIMENTAL) Computes key driver analysis for the provided execution definition.
4656
4666
  * @summary (EXPERIMENTAL) Compute key driver analysis
@@ -4876,6 +4886,21 @@ export async function ActionsApi_RetrieveResultBinary(axios, basePath, requestPa
4876
4886
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
4877
4887
  }
4878
4888
  // ActionsApi Api FP
4889
+ /**
4890
+ * Server-Sent Events with the computation steps of the execution identified by the X-GDC-CANCEL-TOKEN of the execute request. Ends with a `done` event.
4891
+ * @summary (EXPERIMENTAL) Stream the live progress of an AFM execution
4892
+ * @param {AxiosInstance} axios Axios instance.
4893
+ * @param {string} basePath Base path.
4894
+ * @param {ActionsApiStreamExecutionProgressRequest} requestParameters Request parameters.
4895
+ * @param {*} [options] Override http request option.
4896
+ * @param {Configuration} [configuration] Optional configuration.
4897
+ * @throws {RequiredError}
4898
+ */
4899
+ export async function ActionsApi_StreamExecutionProgress(axios, basePath, requestParameters, options, configuration) {
4900
+ const localVarAxiosArgs = await ActionsApiAxiosParamCreator_StreamExecutionProgress(requestParameters.workspaceId, requestParameters.executionId, options || {}, configuration);
4901
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
4902
+ }
4903
+ // ActionsApi Api FP
4879
4904
  /**
4880
4905
  * Tests LLM provider connectivity with a full definition.
4881
4906
  * @summary Test LLM Provider
@@ -5065,16 +5090,6 @@ export class ActionsApi extends BaseAPI {
5065
5090
  cancelFlows(requestParameters, options) {
5066
5091
  return ActionsApi_CancelFlows(this.axios, this.basePath, requestParameters, options, this.configuration);
5067
5092
  }
5068
- /**
5069
- *
5070
- * @param {ActionsApiCancelWorkflowRequest} requestParameters Request parameters.
5071
- * @param {*} [options] Override http request option.
5072
- * @throws {RequiredError}
5073
- * @memberof ActionsApi
5074
- */
5075
- cancelWorkflow(requestParameters, options) {
5076
- return ActionsApi_CancelWorkflow(this.axios, this.basePath, requestParameters, options, this.configuration);
5077
- }
5078
5093
  /**
5079
5094
  * Computes change analysis for the provided execution definition.
5080
5095
  * @summary Compute change analysis
@@ -5218,16 +5233,6 @@ export class ActionsApi extends BaseAPI {
5218
5233
  forecastResult(requestParameters, options) {
5219
5234
  return ActionsApi_ForecastResult(this.axios, this.basePath, requestParameters, options, this.configuration);
5220
5235
  }
5221
- /**
5222
- *
5223
- * @param {ActionsApiGenerateDashboardSummaryRequest} requestParameters Request parameters.
5224
- * @param {*} [options] Override http request option.
5225
- * @throws {RequiredError}
5226
- * @memberof ActionsApi
5227
- */
5228
- generateDashboardSummary(requestParameters, options) {
5229
- return ActionsApi_GenerateDashboardSummary(this.axios, this.basePath, requestParameters, options, this.configuration);
5230
- }
5231
5236
  /**
5232
5237
  * Generates a description for the specified analytics object. Returns description and a note with details if generation was not performed.
5233
5238
  * @summary Generate Description for Analytics Object
@@ -5272,16 +5277,6 @@ export class ActionsApi extends BaseAPI {
5272
5277
  getQualityIssuesCalculationStatus(requestParameters, options) {
5273
5278
  return ActionsApi_GetQualityIssuesCalculationStatus(this.axios, this.basePath, requestParameters, options, this.configuration);
5274
5279
  }
5275
- /**
5276
- *
5277
- * @param {ActionsApiGetWorkflowStatusRequest} requestParameters Request parameters.
5278
- * @param {*} [options] Override http request option.
5279
- * @throws {RequiredError}
5280
- * @memberof ActionsApi
5281
- */
5282
- getWorkflowStatus(requestParameters, options) {
5283
- return ActionsApi_GetWorkflowStatus(this.axios, this.basePath, requestParameters, options, this.configuration);
5284
- }
5285
5280
  /**
5286
5281
  * (EXPERIMENTAL) Computes key driver analysis for the provided execution definition.
5287
5282
  * @summary (EXPERIMENTAL) Compute key driver analysis
@@ -5448,6 +5443,17 @@ export class ActionsApi extends BaseAPI {
5448
5443
  retrieveResultBinary(requestParameters, options) {
5449
5444
  return ActionsApi_RetrieveResultBinary(this.axios, this.basePath, requestParameters, options, this.configuration);
5450
5445
  }
5446
+ /**
5447
+ * Server-Sent Events with the computation steps of the execution identified by the X-GDC-CANCEL-TOKEN of the execute request. Ends with a `done` event.
5448
+ * @summary (EXPERIMENTAL) Stream the live progress of an AFM execution
5449
+ * @param {ActionsApiStreamExecutionProgressRequest} requestParameters Request parameters.
5450
+ * @param {*} [options] Override http request option.
5451
+ * @throws {RequiredError}
5452
+ * @memberof ActionsApi
5453
+ */
5454
+ streamExecutionProgress(requestParameters, options) {
5455
+ return ActionsApi_StreamExecutionProgress(this.axios, this.basePath, requestParameters, options, this.configuration);
5456
+ }
5451
5457
  /**
5452
5458
  * Tests LLM provider connectivity with a full definition.
5453
5459
  * @summary Test LLM Provider
@@ -6324,6 +6330,45 @@ export async function ComputationApiAxiosParamCreator_RetrieveResultBinary(works
6324
6330
  options: localVarRequestOptions,
6325
6331
  };
6326
6332
  }
6333
+ // ComputationApi FP - ComputationApiAxiosParamCreator
6334
+ /**
6335
+ * Server-Sent Events with the computation steps of the execution identified by the X-GDC-CANCEL-TOKEN of the execute request. Ends with a `done` event.
6336
+ * @summary (EXPERIMENTAL) Stream the live progress of an AFM execution
6337
+ * @param {string} workspaceId Workspace identifier
6338
+ * @param {string} executionId
6339
+ * @param {*} [options] Override http request option.
6340
+ * @param {Configuration} [configuration] Optional configuration.
6341
+ * @throws {RequiredError}
6342
+ */
6343
+ export async function ComputationApiAxiosParamCreator_StreamExecutionProgress(workspaceId, executionId, options = {}, configuration) {
6344
+ // verify required parameter 'workspaceId' is not null or undefined
6345
+ assertParamExists('streamExecutionProgress', 'workspaceId', workspaceId);
6346
+ // verify required parameter 'executionId' is not null or undefined
6347
+ assertParamExists('streamExecutionProgress', 'executionId', executionId);
6348
+ const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/execution/afm/execute/progress/{executionId}`
6349
+ .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
6350
+ .replace(`{${"executionId"}}`, encodeURIComponent(String(executionId)));
6351
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
6352
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
6353
+ let baseOptions;
6354
+ if (configuration) {
6355
+ baseOptions = configuration.baseOptions;
6356
+ }
6357
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
6358
+ const localVarHeaderParameter = {};
6359
+ const localVarQueryParameter = {};
6360
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
6361
+ const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
6362
+ localVarRequestOptions.headers = {
6363
+ ...localVarHeaderParameter,
6364
+ ...headersFromBaseOptions,
6365
+ ...options.headers,
6366
+ };
6367
+ return {
6368
+ url: toPathString(localVarUrlObj),
6369
+ options: localVarRequestOptions,
6370
+ };
6371
+ }
6327
6372
  // ComputationApi Api FP
6328
6373
  /**
6329
6374
  * Each cancel token corresponds to one unique execution request for the same result id. If all cancel tokens for the same result id are applied, the execution for this result id is cancelled.
@@ -6564,6 +6609,21 @@ export async function ComputationApi_RetrieveResultBinary(axios, basePath, reque
6564
6609
  const localVarAxiosArgs = await ComputationApiAxiosParamCreator_RetrieveResultBinary(requestParameters.workspaceId, requestParameters.resultId, requestParameters.xGDCCANCELTOKEN, options || {}, configuration);
6565
6610
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
6566
6611
  }
6612
+ // ComputationApi Api FP
6613
+ /**
6614
+ * Server-Sent Events with the computation steps of the execution identified by the X-GDC-CANCEL-TOKEN of the execute request. Ends with a `done` event.
6615
+ * @summary (EXPERIMENTAL) Stream the live progress of an AFM execution
6616
+ * @param {AxiosInstance} axios Axios instance.
6617
+ * @param {string} basePath Base path.
6618
+ * @param {ComputationApiStreamExecutionProgressRequest} requestParameters Request parameters.
6619
+ * @param {*} [options] Override http request option.
6620
+ * @param {Configuration} [configuration] Optional configuration.
6621
+ * @throws {RequiredError}
6622
+ */
6623
+ export async function ComputationApi_StreamExecutionProgress(axios, basePath, requestParameters, options, configuration) {
6624
+ const localVarAxiosArgs = await ComputationApiAxiosParamCreator_StreamExecutionProgress(requestParameters.workspaceId, requestParameters.executionId, options || {}, configuration);
6625
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
6626
+ }
6567
6627
  /**
6568
6628
  * ComputationApi - object-oriented interface
6569
6629
  * @export
@@ -6747,6 +6807,17 @@ export class ComputationApi extends BaseAPI {
6747
6807
  retrieveResultBinary(requestParameters, options) {
6748
6808
  return ComputationApi_RetrieveResultBinary(this.axios, this.basePath, requestParameters, options, this.configuration);
6749
6809
  }
6810
+ /**
6811
+ * Server-Sent Events with the computation steps of the execution identified by the X-GDC-CANCEL-TOKEN of the execute request. Ends with a `done` event.
6812
+ * @summary (EXPERIMENTAL) Stream the live progress of an AFM execution
6813
+ * @param {ComputationApiStreamExecutionProgressRequest} requestParameters Request parameters.
6814
+ * @param {*} [options] Override http request option.
6815
+ * @throws {RequiredError}
6816
+ * @memberof ComputationApi
6817
+ */
6818
+ streamExecutionProgress(requestParameters, options) {
6819
+ return ComputationApi_StreamExecutionProgress(this.axios, this.basePath, requestParameters, options, this.configuration);
6820
+ }
6750
6821
  }
6751
6822
  // FlowApi FP - FlowApiAxiosParamCreator
6752
6823
  /**