@gooddata/api-client-tiger 11.62.0-alpha.1 → 11.62.0-alpha.2

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.
Files changed (52) hide show
  1. package/esm/__version.d.ts +1 -1
  2. package/esm/__version.js +1 -1
  3. package/esm/api-client-tiger.d.ts +759 -236
  4. package/esm/client.d.ts +0 -2
  5. package/esm/client.d.ts.map +1 -1
  6. package/esm/client.js +0 -3
  7. package/esm/endpoints/actions/index.d.ts +1 -1
  8. package/esm/endpoints/actions/index.d.ts.map +1 -1
  9. package/esm/endpoints/actions/index.js +3 -1
  10. package/esm/generated/afm-rest-api/api.d.ts +1056 -8
  11. package/esm/generated/afm-rest-api/api.d.ts.map +1 -1
  12. package/esm/generated/afm-rest-api/api.js +894 -6
  13. package/esm/generated/afm-rest-api/common.d.ts.map +1 -1
  14. package/esm/generated/ai-json-api/api.d.ts +176 -88
  15. package/esm/generated/ai-json-api/api.d.ts.map +1 -1
  16. package/esm/generated/ai-json-api/api.js +103 -38
  17. package/esm/generated/ai-json-api/common.d.ts.map +1 -1
  18. package/esm/generated/automation-json-api/common.d.ts.map +1 -1
  19. package/esm/generated/export-json-api/common.d.ts.map +1 -1
  20. package/esm/generated/metadata-json-api/api.d.ts +11 -11
  21. package/esm/generated/metadata-json-api/api.d.ts.map +1 -1
  22. package/esm/generated/metadata-json-api/common.d.ts.map +1 -1
  23. package/esm/generated/result-json-api/common.d.ts.map +1 -1
  24. package/esm/generated/scan-json-api/common.d.ts.map +1 -1
  25. package/esm/index.d.ts +3 -6
  26. package/esm/index.d.ts.map +1 -1
  27. package/esm/index.js +0 -2
  28. package/package.json +6 -7
  29. package/esm/authActions.d.ts +0 -4
  30. package/esm/authActions.d.ts.map +0 -1
  31. package/esm/authActions.js +0 -3
  32. package/esm/endpoints/authActions/index.d.ts +0 -2
  33. package/esm/endpoints/authActions/index.d.ts.map +0 -1
  34. package/esm/endpoints/authActions/index.js +0 -4
  35. package/esm/generated/auth-json-api/api.d.ts +0 -898
  36. package/esm/generated/auth-json-api/api.d.ts.map +0 -1
  37. package/esm/generated/auth-json-api/api.js +0 -934
  38. package/esm/generated/auth-json-api/base.d.ts +0 -43
  39. package/esm/generated/auth-json-api/base.d.ts.map +0 -1
  40. package/esm/generated/auth-json-api/base.js +0 -32
  41. package/esm/generated/auth-json-api/common.d.ts +0 -66
  42. package/esm/generated/auth-json-api/common.d.ts.map +0 -1
  43. package/esm/generated/auth-json-api/common.js +0 -121
  44. package/esm/generated/auth-json-api/configuration.d.ts +0 -75
  45. package/esm/generated/auth-json-api/configuration.d.ts.map +0 -1
  46. package/esm/generated/auth-json-api/configuration.js +0 -71
  47. package/esm/generated/auth-json-api/index.d.ts +0 -14
  48. package/esm/generated/auth-json-api/index.d.ts.map +0 -1
  49. package/esm/generated/auth-json-api/index.js +0 -15
  50. package/esm/generated/auth-json-api/template.d.ts +0 -102
  51. package/esm/generated/auth-json-api/template.d.ts.map +0 -1
  52. package/esm/generated/auth-json-api/template.js +0 -151
@@ -2302,6 +2302,56 @@ export async function ActionsApiAxiosParamCreator_CancelExecutions(workspaceId,
2302
2302
  };
2303
2303
  }
2304
2304
  // ActionsApi FP - ActionsApiAxiosParamCreator
2305
+ /**
2306
+ * Note: This API is experimental and is going to change. Please, use it accordingly. Each result has one cancel token, which the submit of its flow returns. Applying the token cancels the flow that computes the result.
2307
+ * @summary (EXPERIMENTAL) Apply the given cancel tokens to flows
2308
+ * @param {string} workspaceId Workspace identifier
2309
+ * @param {AfmCancelTokens} afmCancelTokens
2310
+ * @param {*} [options] Override http request option.
2311
+ * @param {Configuration} [configuration] Optional configuration.
2312
+ * @throws {RequiredError}
2313
+ */
2314
+ export async function ActionsApiAxiosParamCreator_CancelFlows(workspaceId, afmCancelTokens, options = {}, configuration) {
2315
+ // verify required parameter 'workspaceId' is not null or undefined
2316
+ assertParamExists('cancelFlows', 'workspaceId', workspaceId);
2317
+ // verify required parameter 'afmCancelTokens' is not null or undefined
2318
+ assertParamExists('cancelFlows', 'afmCancelTokens', afmCancelTokens);
2319
+ const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/execution/flow/cancel`
2320
+ .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
2321
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2322
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2323
+ let baseOptions;
2324
+ if (configuration) {
2325
+ baseOptions = configuration.baseOptions;
2326
+ }
2327
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
2328
+ const localVarHeaderParameter = {};
2329
+ const localVarQueryParameter = {};
2330
+ const consumes = [
2331
+ 'application/json'
2332
+ ];
2333
+ // use application/json if present, otherwise fallback to the first one
2334
+ localVarHeaderParameter['Content-Type'] = consumes.includes('application/json')
2335
+ ? 'application/json'
2336
+ : consumes[0];
2337
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2338
+ const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
2339
+ localVarRequestOptions.headers = {
2340
+ ...localVarHeaderParameter,
2341
+ ...headersFromBaseOptions,
2342
+ ...options.headers,
2343
+ };
2344
+ const needsSerialization = typeof afmCancelTokens !== "string" ||
2345
+ localVarRequestOptions.headers["Content-Type"] === "application/json";
2346
+ localVarRequestOptions.data = needsSerialization
2347
+ ? JSON.stringify(afmCancelTokens !== undefined ? afmCancelTokens : {})
2348
+ : afmCancelTokens || "";
2349
+ return {
2350
+ url: toPathString(localVarUrlObj),
2351
+ options: localVarRequestOptions,
2352
+ };
2353
+ }
2354
+ // ActionsApi FP - ActionsApiAxiosParamCreator
2305
2355
  /**
2306
2356
  *
2307
2357
  * @param {string} workspaceId Workspace identifier
@@ -2848,6 +2898,56 @@ export async function ActionsApiAxiosParamCreator_ComputeValidObjects(workspaceI
2848
2898
  };
2849
2899
  }
2850
2900
  // ActionsApi FP - ActionsApiAxiosParamCreator
2901
+ /**
2902
+ * Note: This API is experimental and is going to change. Please, use it accordingly. Runs the transformations of a flow over its inputs and stores the result. The response links to the result.
2903
+ * @summary (EXPERIMENTAL) Execute a flow
2904
+ * @param {string} workspaceId Workspace identifier
2905
+ * @param {FlowRequest} flowRequest
2906
+ * @param {*} [options] Override http request option.
2907
+ * @param {Configuration} [configuration] Optional configuration.
2908
+ * @throws {RequiredError}
2909
+ */
2910
+ export async function ActionsApiAxiosParamCreator_ExecuteFlow(workspaceId, flowRequest, options = {}, configuration) {
2911
+ // verify required parameter 'workspaceId' is not null or undefined
2912
+ assertParamExists('executeFlow', 'workspaceId', workspaceId);
2913
+ // verify required parameter 'flowRequest' is not null or undefined
2914
+ assertParamExists('executeFlow', 'flowRequest', flowRequest);
2915
+ const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/execution/flow`
2916
+ .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
2917
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2918
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2919
+ let baseOptions;
2920
+ if (configuration) {
2921
+ baseOptions = configuration.baseOptions;
2922
+ }
2923
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
2924
+ const localVarHeaderParameter = {};
2925
+ const localVarQueryParameter = {};
2926
+ const consumes = [
2927
+ 'application/json'
2928
+ ];
2929
+ // use application/json if present, otherwise fallback to the first one
2930
+ localVarHeaderParameter['Content-Type'] = consumes.includes('application/json')
2931
+ ? 'application/json'
2932
+ : consumes[0];
2933
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2934
+ const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
2935
+ localVarRequestOptions.headers = {
2936
+ ...localVarHeaderParameter,
2937
+ ...headersFromBaseOptions,
2938
+ ...options.headers,
2939
+ };
2940
+ const needsSerialization = typeof flowRequest !== "string" ||
2941
+ localVarRequestOptions.headers["Content-Type"] === "application/json";
2942
+ localVarRequestOptions.data = needsSerialization
2943
+ ? JSON.stringify(flowRequest !== undefined ? flowRequest : {})
2944
+ : flowRequest || "";
2945
+ return {
2946
+ url: toPathString(localVarUrlObj),
2947
+ options: localVarRequestOptions,
2948
+ };
2949
+ }
2950
+ // ActionsApi FP - ActionsApiAxiosParamCreator
2851
2951
  /**
2852
2952
  * The resource provides static structures needed for investigation of a problem with given AFM.
2853
2953
  * @summary AFM explain resource.
@@ -3505,6 +3605,41 @@ export async function ActionsApiAxiosParamCreator_KeyDriverAnalysisResult(worksp
3505
3605
  };
3506
3606
  }
3507
3607
  // ActionsApi FP - ActionsApiAxiosParamCreator
3608
+ /**
3609
+ * Note: This API is experimental and is going to change. Please, use it accordingly. Lists the operations that the transformations of a flow can run, with their inputs and the JSON Schema of their parameters.
3610
+ * @summary (EXPERIMENTAL) List the operations of flows
3611
+ * @param {string} workspaceId Workspace identifier
3612
+ * @param {*} [options] Override http request option.
3613
+ * @param {Configuration} [configuration] Optional configuration.
3614
+ * @throws {RequiredError}
3615
+ */
3616
+ export async function ActionsApiAxiosParamCreator_ListFlowOperations(workspaceId, options = {}, configuration) {
3617
+ // verify required parameter 'workspaceId' is not null or undefined
3618
+ assertParamExists('listFlowOperations', 'workspaceId', workspaceId);
3619
+ const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/execution/flow/operations`
3620
+ .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
3621
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
3622
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3623
+ let baseOptions;
3624
+ if (configuration) {
3625
+ baseOptions = configuration.baseOptions;
3626
+ }
3627
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
3628
+ const localVarHeaderParameter = {};
3629
+ const localVarQueryParameter = {};
3630
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
3631
+ const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
3632
+ localVarRequestOptions.headers = {
3633
+ ...localVarHeaderParameter,
3634
+ ...headersFromBaseOptions,
3635
+ ...options.headers,
3636
+ };
3637
+ return {
3638
+ url: toPathString(localVarUrlObj),
3639
+ options: localVarRequestOptions,
3640
+ };
3641
+ }
3642
+ // ActionsApi FP - ActionsApiAxiosParamCreator
3508
3643
  /**
3509
3644
  * Lists models available on an LLM provider with a full definition. For Azure AI Foundry providers, the model family will be set to UNKNOWN because the endpoint does not expose the family.
3510
3645
  * @summary List LLM Provider Models
@@ -3796,6 +3931,155 @@ export async function ActionsApiAxiosParamCreator_RetrieveExecutionMetadata(work
3796
3931
  };
3797
3932
  }
3798
3933
  // ActionsApi FP - ActionsApiAxiosParamCreator
3934
+ /**
3935
+ * Note: This API is experimental and is going to change. Please, use it accordingly. Gets a window of rows and columns of a flow result as an Apache Arrow IPC File or Stream.
3936
+ * @summary (EXPERIMENTAL) Get a flow result in Apache Arrow File or Stream format
3937
+ * @param {string} workspaceId Workspace identifier
3938
+ * @param {string} resultId Result ID
3939
+ * @param {number} [rowOffset] Index of the first row to return. The default is 0.
3940
+ * @param {number} [rowLimit] Maximum number of rows to return. The default is all remaining rows.
3941
+ * @param {number} [columnOffset] Index of the first column to return. The default is 0.
3942
+ * @param {number} [columnLimit] Maximum number of columns to return. The default is all remaining columns.
3943
+ * @param {*} [options] Override http request option.
3944
+ * @param {Configuration} [configuration] Optional configuration.
3945
+ * @throws {RequiredError}
3946
+ */
3947
+ export async function ActionsApiAxiosParamCreator_RetrieveFlowResultBinary(workspaceId, resultId, rowOffset, rowLimit, columnOffset, columnLimit, options = {}, configuration) {
3948
+ // verify required parameter 'workspaceId' is not null or undefined
3949
+ assertParamExists('retrieveFlowResultBinary', 'workspaceId', workspaceId);
3950
+ // verify required parameter 'resultId' is not null or undefined
3951
+ assertParamExists('retrieveFlowResultBinary', 'resultId', resultId);
3952
+ const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/execution/flow/result/{resultId}/binary`
3953
+ .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
3954
+ .replace(`{${"resultId"}}`, encodeURIComponent(String(resultId)));
3955
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
3956
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3957
+ let baseOptions;
3958
+ if (configuration) {
3959
+ baseOptions = configuration.baseOptions;
3960
+ }
3961
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
3962
+ const localVarHeaderParameter = {};
3963
+ const localVarQueryParameter = {};
3964
+ if (rowOffset !== undefined) {
3965
+ localVarQueryParameter['rowOffset'] = rowOffset;
3966
+ }
3967
+ if (rowLimit !== undefined) {
3968
+ localVarQueryParameter['rowLimit'] = rowLimit;
3969
+ }
3970
+ if (columnOffset !== undefined) {
3971
+ localVarQueryParameter['columnOffset'] = columnOffset;
3972
+ }
3973
+ if (columnLimit !== undefined) {
3974
+ localVarQueryParameter['columnLimit'] = columnLimit;
3975
+ }
3976
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
3977
+ const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
3978
+ localVarRequestOptions.headers = {
3979
+ ...localVarHeaderParameter,
3980
+ ...headersFromBaseOptions,
3981
+ ...options.headers,
3982
+ };
3983
+ return {
3984
+ url: toPathString(localVarUrlObj),
3985
+ options: localVarRequestOptions,
3986
+ };
3987
+ }
3988
+ // ActionsApi FP - ActionsApiAxiosParamCreator
3989
+ /**
3990
+ * Note: This API is experimental and is going to change. Please, use it accordingly. Gets the columns and the number of rows of a flow result.
3991
+ * @summary (EXPERIMENTAL) Get the metadata of a flow result
3992
+ * @param {string} workspaceId Workspace identifier
3993
+ * @param {string} resultId Result ID
3994
+ * @param {*} [options] Override http request option.
3995
+ * @param {Configuration} [configuration] Optional configuration.
3996
+ * @throws {RequiredError}
3997
+ */
3998
+ export async function ActionsApiAxiosParamCreator_RetrieveFlowResultMetadata(workspaceId, resultId, options = {}, configuration) {
3999
+ // verify required parameter 'workspaceId' is not null or undefined
4000
+ assertParamExists('retrieveFlowResultMetadata', 'workspaceId', workspaceId);
4001
+ // verify required parameter 'resultId' is not null or undefined
4002
+ assertParamExists('retrieveFlowResultMetadata', 'resultId', resultId);
4003
+ const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/execution/flow/result/{resultId}/metadata`
4004
+ .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
4005
+ .replace(`{${"resultId"}}`, encodeURIComponent(String(resultId)));
4006
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4007
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4008
+ let baseOptions;
4009
+ if (configuration) {
4010
+ baseOptions = configuration.baseOptions;
4011
+ }
4012
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
4013
+ const localVarHeaderParameter = {};
4014
+ const localVarQueryParameter = {};
4015
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
4016
+ const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
4017
+ localVarRequestOptions.headers = {
4018
+ ...localVarHeaderParameter,
4019
+ ...headersFromBaseOptions,
4020
+ ...options.headers,
4021
+ };
4022
+ return {
4023
+ url: toPathString(localVarUrlObj),
4024
+ options: localVarRequestOptions,
4025
+ };
4026
+ }
4027
+ // ActionsApi FP - ActionsApiAxiosParamCreator
4028
+ /**
4029
+ * Note: This API is experimental and is going to change. Please, use it accordingly. Gets a window of rows and columns of a flow result.
4030
+ * @summary (EXPERIMENTAL) Get a page of a flow result
4031
+ * @param {string} workspaceId Workspace identifier
4032
+ * @param {string} resultId Result ID
4033
+ * @param {number} [rowOffset] Index of the first row to return. The default is 0.
4034
+ * @param {number} [rowLimit] Maximum number of rows to return. The default is all remaining rows.
4035
+ * @param {number} [columnOffset] Index of the first column to return. The default is 0.
4036
+ * @param {number} [columnLimit] Maximum number of columns to return. The default is all remaining columns.
4037
+ * @param {*} [options] Override http request option.
4038
+ * @param {Configuration} [configuration] Optional configuration.
4039
+ * @throws {RequiredError}
4040
+ */
4041
+ export async function ActionsApiAxiosParamCreator_RetrieveFlowResultTable(workspaceId, resultId, rowOffset, rowLimit, columnOffset, columnLimit, options = {}, configuration) {
4042
+ // verify required parameter 'workspaceId' is not null or undefined
4043
+ assertParamExists('retrieveFlowResultTable', 'workspaceId', workspaceId);
4044
+ // verify required parameter 'resultId' is not null or undefined
4045
+ assertParamExists('retrieveFlowResultTable', 'resultId', resultId);
4046
+ const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/execution/flow/result/{resultId}/table`
4047
+ .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
4048
+ .replace(`{${"resultId"}}`, encodeURIComponent(String(resultId)));
4049
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4050
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4051
+ let baseOptions;
4052
+ if (configuration) {
4053
+ baseOptions = configuration.baseOptions;
4054
+ }
4055
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
4056
+ const localVarHeaderParameter = {};
4057
+ const localVarQueryParameter = {};
4058
+ if (rowOffset !== undefined) {
4059
+ localVarQueryParameter['rowOffset'] = rowOffset;
4060
+ }
4061
+ if (rowLimit !== undefined) {
4062
+ localVarQueryParameter['rowLimit'] = rowLimit;
4063
+ }
4064
+ if (columnOffset !== undefined) {
4065
+ localVarQueryParameter['columnOffset'] = columnOffset;
4066
+ }
4067
+ if (columnLimit !== undefined) {
4068
+ localVarQueryParameter['columnLimit'] = columnLimit;
4069
+ }
4070
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
4071
+ const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
4072
+ localVarRequestOptions.headers = {
4073
+ ...localVarHeaderParameter,
4074
+ ...headersFromBaseOptions,
4075
+ ...options.headers,
4076
+ };
4077
+ return {
4078
+ url: toPathString(localVarUrlObj),
4079
+ options: localVarRequestOptions,
4080
+ };
4081
+ }
4082
+ // ActionsApi FP - ActionsApiAxiosParamCreator
3799
4083
  /**
3800
4084
  * Gets a single execution result.
3801
4085
  * @summary Get a single execution result
@@ -4282,6 +4566,21 @@ export async function ActionsApi_CancelExecutions(axios, basePath, requestParame
4282
4566
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
4283
4567
  }
4284
4568
  // ActionsApi Api FP
4569
+ /**
4570
+ * Note: This API is experimental and is going to change. Please, use it accordingly. Each result has one cancel token, which the submit of its flow returns. Applying the token cancels the flow that computes the result.
4571
+ * @summary (EXPERIMENTAL) Apply the given cancel tokens to flows
4572
+ * @param {AxiosInstance} axios Axios instance.
4573
+ * @param {string} basePath Base path.
4574
+ * @param {ActionsApiCancelFlowsRequest} requestParameters Request parameters.
4575
+ * @param {*} [options] Override http request option.
4576
+ * @param {Configuration} [configuration] Optional configuration.
4577
+ * @throws {RequiredError}
4578
+ */
4579
+ export async function ActionsApi_CancelFlows(axios, basePath, requestParameters, options, configuration) {
4580
+ const localVarAxiosArgs = await ActionsApiAxiosParamCreator_CancelFlows(requestParameters.workspaceId, requestParameters.afmCancelTokens, options || {}, configuration);
4581
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
4582
+ }
4583
+ // ActionsApi Api FP
4285
4584
  /**
4286
4585
  *
4287
4586
  * @param {AxiosInstance} axios Axios instance.
@@ -4445,6 +4744,21 @@ export async function ActionsApi_ComputeValidObjects(axios, basePath, requestPar
4445
4744
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
4446
4745
  }
4447
4746
  // ActionsApi Api FP
4747
+ /**
4748
+ * Note: This API is experimental and is going to change. Please, use it accordingly. Runs the transformations of a flow over its inputs and stores the result. The response links to the result.
4749
+ * @summary (EXPERIMENTAL) Execute a flow
4750
+ * @param {AxiosInstance} axios Axios instance.
4751
+ * @param {string} basePath Base path.
4752
+ * @param {ActionsApiExecuteFlowRequest} requestParameters Request parameters.
4753
+ * @param {*} [options] Override http request option.
4754
+ * @param {Configuration} [configuration] Optional configuration.
4755
+ * @throws {RequiredError}
4756
+ */
4757
+ export async function ActionsApi_ExecuteFlow(axios, basePath, requestParameters, options, configuration) {
4758
+ const localVarAxiosArgs = await ActionsApiAxiosParamCreator_ExecuteFlow(requestParameters.workspaceId, requestParameters.flowRequest, options || {}, configuration);
4759
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
4760
+ }
4761
+ // ActionsApi Api FP
4448
4762
  /**
4449
4763
  * The resource provides static structures needed for investigation of a problem with given AFM.
4450
4764
  * @summary AFM explain resource.
@@ -4650,6 +4964,21 @@ export async function ActionsApi_KeyDriverAnalysisResult(axios, basePath, reques
4650
4964
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
4651
4965
  }
4652
4966
  // ActionsApi Api FP
4967
+ /**
4968
+ * Note: This API is experimental and is going to change. Please, use it accordingly. Lists the operations that the transformations of a flow can run, with their inputs and the JSON Schema of their parameters.
4969
+ * @summary (EXPERIMENTAL) List the operations of flows
4970
+ * @param {AxiosInstance} axios Axios instance.
4971
+ * @param {string} basePath Base path.
4972
+ * @param {ActionsApiListFlowOperationsRequest} requestParameters Request parameters.
4973
+ * @param {*} [options] Override http request option.
4974
+ * @param {Configuration} [configuration] Optional configuration.
4975
+ * @throws {RequiredError}
4976
+ */
4977
+ export async function ActionsApi_ListFlowOperations(axios, basePath, requestParameters, options, configuration) {
4978
+ const localVarAxiosArgs = await ActionsApiAxiosParamCreator_ListFlowOperations(requestParameters.workspaceId, options || {}, configuration);
4979
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
4980
+ }
4981
+ // ActionsApi Api FP
4653
4982
  /**
4654
4983
  * Lists models available on an LLM provider with a full definition. For Azure AI Foundry providers, the model family will be set to UNKNOWN because the endpoint does not expose the family.
4655
4984
  * @summary List LLM Provider Models
@@ -4756,22 +5085,67 @@ export async function ActionsApi_RetrieveExecutionMetadata(axios, basePath, requ
4756
5085
  }
4757
5086
  // ActionsApi Api FP
4758
5087
  /**
4759
- * Gets a single execution result.
4760
- * @summary Get a single execution result
5088
+ * Note: This API is experimental and is going to change. Please, use it accordingly. Gets a window of rows and columns of a flow result as an Apache Arrow IPC File or Stream.
5089
+ * @summary (EXPERIMENTAL) Get a flow result in Apache Arrow File or Stream format
4761
5090
  * @param {AxiosInstance} axios Axios instance.
4762
5091
  * @param {string} basePath Base path.
4763
- * @param {ActionsApiRetrieveResultRequest} requestParameters Request parameters.
5092
+ * @param {ActionsApiRetrieveFlowResultBinaryRequest} requestParameters Request parameters.
4764
5093
  * @param {*} [options] Override http request option.
4765
5094
  * @param {Configuration} [configuration] Optional configuration.
4766
5095
  * @throws {RequiredError}
4767
5096
  */
4768
- export async function ActionsApi_RetrieveResult(axios, basePath, requestParameters, options, configuration) {
4769
- const localVarAxiosArgs = await ActionsApiAxiosParamCreator_RetrieveResult(requestParameters.workspaceId, requestParameters.resultId, requestParameters.offset, requestParameters.limit, requestParameters.excludedTotalDimensions, requestParameters.xGDCCANCELTOKEN, options || {}, configuration);
5097
+ export async function ActionsApi_RetrieveFlowResultBinary(axios, basePath, requestParameters, options, configuration) {
5098
+ const localVarAxiosArgs = await ActionsApiAxiosParamCreator_RetrieveFlowResultBinary(requestParameters.workspaceId, requestParameters.resultId, requestParameters.rowOffset, requestParameters.rowLimit, requestParameters.columnOffset, requestParameters.columnLimit, options || {}, configuration);
4770
5099
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
4771
5100
  }
4772
5101
  // ActionsApi Api FP
4773
5102
  /**
4774
- * (BETA) Gets a single execution result as an Apache Arrow IPC File or Stream format.
5103
+ * Note: This API is experimental and is going to change. Please, use it accordingly. Gets the columns and the number of rows of a flow result.
5104
+ * @summary (EXPERIMENTAL) Get the metadata of a flow result
5105
+ * @param {AxiosInstance} axios Axios instance.
5106
+ * @param {string} basePath Base path.
5107
+ * @param {ActionsApiRetrieveFlowResultMetadataRequest} requestParameters Request parameters.
5108
+ * @param {*} [options] Override http request option.
5109
+ * @param {Configuration} [configuration] Optional configuration.
5110
+ * @throws {RequiredError}
5111
+ */
5112
+ export async function ActionsApi_RetrieveFlowResultMetadata(axios, basePath, requestParameters, options, configuration) {
5113
+ const localVarAxiosArgs = await ActionsApiAxiosParamCreator_RetrieveFlowResultMetadata(requestParameters.workspaceId, requestParameters.resultId, options || {}, configuration);
5114
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
5115
+ }
5116
+ // ActionsApi Api FP
5117
+ /**
5118
+ * Note: This API is experimental and is going to change. Please, use it accordingly. Gets a window of rows and columns of a flow result.
5119
+ * @summary (EXPERIMENTAL) Get a page of a flow result
5120
+ * @param {AxiosInstance} axios Axios instance.
5121
+ * @param {string} basePath Base path.
5122
+ * @param {ActionsApiRetrieveFlowResultTableRequest} requestParameters Request parameters.
5123
+ * @param {*} [options] Override http request option.
5124
+ * @param {Configuration} [configuration] Optional configuration.
5125
+ * @throws {RequiredError}
5126
+ */
5127
+ export async function ActionsApi_RetrieveFlowResultTable(axios, basePath, requestParameters, options, configuration) {
5128
+ const localVarAxiosArgs = await ActionsApiAxiosParamCreator_RetrieveFlowResultTable(requestParameters.workspaceId, requestParameters.resultId, requestParameters.rowOffset, requestParameters.rowLimit, requestParameters.columnOffset, requestParameters.columnLimit, options || {}, configuration);
5129
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
5130
+ }
5131
+ // ActionsApi Api FP
5132
+ /**
5133
+ * Gets a single execution result.
5134
+ * @summary Get a single execution result
5135
+ * @param {AxiosInstance} axios Axios instance.
5136
+ * @param {string} basePath Base path.
5137
+ * @param {ActionsApiRetrieveResultRequest} requestParameters Request parameters.
5138
+ * @param {*} [options] Override http request option.
5139
+ * @param {Configuration} [configuration] Optional configuration.
5140
+ * @throws {RequiredError}
5141
+ */
5142
+ export async function ActionsApi_RetrieveResult(axios, basePath, requestParameters, options, configuration) {
5143
+ const localVarAxiosArgs = await ActionsApiAxiosParamCreator_RetrieveResult(requestParameters.workspaceId, requestParameters.resultId, requestParameters.offset, requestParameters.limit, requestParameters.excludedTotalDimensions, requestParameters.xGDCCANCELTOKEN, options || {}, configuration);
5144
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
5145
+ }
5146
+ // ActionsApi Api FP
5147
+ /**
5148
+ * (BETA) Gets a single execution result as an Apache Arrow IPC File or Stream format.
4775
5149
  * @summary (BETA) Get a single execution result in Apache Arrow File or Stream format
4776
5150
  * @param {AxiosInstance} axios Axios instance.
4777
5151
  * @param {string} basePath Base path.
@@ -4977,6 +5351,17 @@ export class ActionsApi extends BaseAPI {
4977
5351
  cancelExecutions(requestParameters, options) {
4978
5352
  return ActionsApi_CancelExecutions(this.axios, this.basePath, requestParameters, options, this.configuration);
4979
5353
  }
5354
+ /**
5355
+ * Note: This API is experimental and is going to change. Please, use it accordingly. Each result has one cancel token, which the submit of its flow returns. Applying the token cancels the flow that computes the result.
5356
+ * @summary (EXPERIMENTAL) Apply the given cancel tokens to flows
5357
+ * @param {ActionsApiCancelFlowsRequest} requestParameters Request parameters.
5358
+ * @param {*} [options] Override http request option.
5359
+ * @throws {RequiredError}
5360
+ * @memberof ActionsApi
5361
+ */
5362
+ cancelFlows(requestParameters, options) {
5363
+ return ActionsApi_CancelFlows(this.axios, this.basePath, requestParameters, options, this.configuration);
5364
+ }
4980
5365
  /**
4981
5366
  *
4982
5367
  * @param {ActionsApiCancelWorkflowRequest} requestParameters Request parameters.
@@ -5096,6 +5481,17 @@ export class ActionsApi extends BaseAPI {
5096
5481
  computeValidObjects(requestParameters, options) {
5097
5482
  return ActionsApi_ComputeValidObjects(this.axios, this.basePath, requestParameters, options, this.configuration);
5098
5483
  }
5484
+ /**
5485
+ * Note: This API is experimental and is going to change. Please, use it accordingly. Runs the transformations of a flow over its inputs and stores the result. The response links to the result.
5486
+ * @summary (EXPERIMENTAL) Execute a flow
5487
+ * @param {ActionsApiExecuteFlowRequest} requestParameters Request parameters.
5488
+ * @param {*} [options] Override http request option.
5489
+ * @throws {RequiredError}
5490
+ * @memberof ActionsApi
5491
+ */
5492
+ executeFlow(requestParameters, options) {
5493
+ return ActionsApi_ExecuteFlow(this.axios, this.basePath, requestParameters, options, this.configuration);
5494
+ }
5099
5495
  /**
5100
5496
  * The resource provides static structures needed for investigation of a problem with given AFM.
5101
5497
  * @summary AFM explain resource.
@@ -5245,6 +5641,17 @@ export class ActionsApi extends BaseAPI {
5245
5641
  keyDriverAnalysisResult(requestParameters, options) {
5246
5642
  return ActionsApi_KeyDriverAnalysisResult(this.axios, this.basePath, requestParameters, options, this.configuration);
5247
5643
  }
5644
+ /**
5645
+ * Note: This API is experimental and is going to change. Please, use it accordingly. Lists the operations that the transformations of a flow can run, with their inputs and the JSON Schema of their parameters.
5646
+ * @summary (EXPERIMENTAL) List the operations of flows
5647
+ * @param {ActionsApiListFlowOperationsRequest} requestParameters Request parameters.
5648
+ * @param {*} [options] Override http request option.
5649
+ * @throws {RequiredError}
5650
+ * @memberof ActionsApi
5651
+ */
5652
+ listFlowOperations(requestParameters, options) {
5653
+ return ActionsApi_ListFlowOperations(this.axios, this.basePath, requestParameters, options, this.configuration);
5654
+ }
5248
5655
  /**
5249
5656
  * Lists models available on an LLM provider with a full definition. For Azure AI Foundry providers, the model family will be set to UNKNOWN because the endpoint does not expose the family.
5250
5657
  * @summary List LLM Provider Models
@@ -5323,6 +5730,39 @@ export class ActionsApi extends BaseAPI {
5323
5730
  retrieveExecutionMetadata(requestParameters, options) {
5324
5731
  return ActionsApi_RetrieveExecutionMetadata(this.axios, this.basePath, requestParameters, options, this.configuration);
5325
5732
  }
5733
+ /**
5734
+ * Note: This API is experimental and is going to change. Please, use it accordingly. Gets a window of rows and columns of a flow result as an Apache Arrow IPC File or Stream.
5735
+ * @summary (EXPERIMENTAL) Get a flow result in Apache Arrow File or Stream format
5736
+ * @param {ActionsApiRetrieveFlowResultBinaryRequest} requestParameters Request parameters.
5737
+ * @param {*} [options] Override http request option.
5738
+ * @throws {RequiredError}
5739
+ * @memberof ActionsApi
5740
+ */
5741
+ retrieveFlowResultBinary(requestParameters, options) {
5742
+ return ActionsApi_RetrieveFlowResultBinary(this.axios, this.basePath, requestParameters, options, this.configuration);
5743
+ }
5744
+ /**
5745
+ * Note: This API is experimental and is going to change. Please, use it accordingly. Gets the columns and the number of rows of a flow result.
5746
+ * @summary (EXPERIMENTAL) Get the metadata of a flow result
5747
+ * @param {ActionsApiRetrieveFlowResultMetadataRequest} requestParameters Request parameters.
5748
+ * @param {*} [options] Override http request option.
5749
+ * @throws {RequiredError}
5750
+ * @memberof ActionsApi
5751
+ */
5752
+ retrieveFlowResultMetadata(requestParameters, options) {
5753
+ return ActionsApi_RetrieveFlowResultMetadata(this.axios, this.basePath, requestParameters, options, this.configuration);
5754
+ }
5755
+ /**
5756
+ * Note: This API is experimental and is going to change. Please, use it accordingly. Gets a window of rows and columns of a flow result.
5757
+ * @summary (EXPERIMENTAL) Get a page of a flow result
5758
+ * @param {ActionsApiRetrieveFlowResultTableRequest} requestParameters Request parameters.
5759
+ * @param {*} [options] Override http request option.
5760
+ * @throws {RequiredError}
5761
+ * @memberof ActionsApi
5762
+ */
5763
+ retrieveFlowResultTable(requestParameters, options) {
5764
+ return ActionsApi_RetrieveFlowResultTable(this.axios, this.basePath, requestParameters, options, this.configuration);
5765
+ }
5326
5766
  /**
5327
5767
  * Gets a single execution result.
5328
5768
  * @summary Get a single execution result
@@ -6655,6 +7095,454 @@ export class ComputationApi extends BaseAPI {
6655
7095
  return ComputationApi_RetrieveResultBinary(this.axios, this.basePath, requestParameters, options, this.configuration);
6656
7096
  }
6657
7097
  }
7098
+ // FlowApi FP - FlowApiAxiosParamCreator
7099
+ /**
7100
+ * Note: This API is experimental and is going to change. Please, use it accordingly. Each result has one cancel token, which the submit of its flow returns. Applying the token cancels the flow that computes the result.
7101
+ * @summary (EXPERIMENTAL) Apply the given cancel tokens to flows
7102
+ * @param {string} workspaceId Workspace identifier
7103
+ * @param {AfmCancelTokens} afmCancelTokens
7104
+ * @param {*} [options] Override http request option.
7105
+ * @param {Configuration} [configuration] Optional configuration.
7106
+ * @throws {RequiredError}
7107
+ */
7108
+ export async function FlowApiAxiosParamCreator_CancelFlows(workspaceId, afmCancelTokens, options = {}, configuration) {
7109
+ // verify required parameter 'workspaceId' is not null or undefined
7110
+ assertParamExists('cancelFlows', 'workspaceId', workspaceId);
7111
+ // verify required parameter 'afmCancelTokens' is not null or undefined
7112
+ assertParamExists('cancelFlows', 'afmCancelTokens', afmCancelTokens);
7113
+ const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/execution/flow/cancel`
7114
+ .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
7115
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
7116
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
7117
+ let baseOptions;
7118
+ if (configuration) {
7119
+ baseOptions = configuration.baseOptions;
7120
+ }
7121
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
7122
+ const localVarHeaderParameter = {};
7123
+ const localVarQueryParameter = {};
7124
+ const consumes = [
7125
+ 'application/json'
7126
+ ];
7127
+ // use application/json if present, otherwise fallback to the first one
7128
+ localVarHeaderParameter['Content-Type'] = consumes.includes('application/json')
7129
+ ? 'application/json'
7130
+ : consumes[0];
7131
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
7132
+ const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
7133
+ localVarRequestOptions.headers = {
7134
+ ...localVarHeaderParameter,
7135
+ ...headersFromBaseOptions,
7136
+ ...options.headers,
7137
+ };
7138
+ const needsSerialization = typeof afmCancelTokens !== "string" ||
7139
+ localVarRequestOptions.headers["Content-Type"] === "application/json";
7140
+ localVarRequestOptions.data = needsSerialization
7141
+ ? JSON.stringify(afmCancelTokens !== undefined ? afmCancelTokens : {})
7142
+ : afmCancelTokens || "";
7143
+ return {
7144
+ url: toPathString(localVarUrlObj),
7145
+ options: localVarRequestOptions,
7146
+ };
7147
+ }
7148
+ // FlowApi FP - FlowApiAxiosParamCreator
7149
+ /**
7150
+ * Note: This API is experimental and is going to change. Please, use it accordingly. Runs the transformations of a flow over its inputs and stores the result. The response links to the result.
7151
+ * @summary (EXPERIMENTAL) Execute a flow
7152
+ * @param {string} workspaceId Workspace identifier
7153
+ * @param {FlowRequest} flowRequest
7154
+ * @param {*} [options] Override http request option.
7155
+ * @param {Configuration} [configuration] Optional configuration.
7156
+ * @throws {RequiredError}
7157
+ */
7158
+ export async function FlowApiAxiosParamCreator_ExecuteFlow(workspaceId, flowRequest, options = {}, configuration) {
7159
+ // verify required parameter 'workspaceId' is not null or undefined
7160
+ assertParamExists('executeFlow', 'workspaceId', workspaceId);
7161
+ // verify required parameter 'flowRequest' is not null or undefined
7162
+ assertParamExists('executeFlow', 'flowRequest', flowRequest);
7163
+ const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/execution/flow`
7164
+ .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
7165
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
7166
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
7167
+ let baseOptions;
7168
+ if (configuration) {
7169
+ baseOptions = configuration.baseOptions;
7170
+ }
7171
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
7172
+ const localVarHeaderParameter = {};
7173
+ const localVarQueryParameter = {};
7174
+ const consumes = [
7175
+ 'application/json'
7176
+ ];
7177
+ // use application/json if present, otherwise fallback to the first one
7178
+ localVarHeaderParameter['Content-Type'] = consumes.includes('application/json')
7179
+ ? 'application/json'
7180
+ : consumes[0];
7181
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
7182
+ const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
7183
+ localVarRequestOptions.headers = {
7184
+ ...localVarHeaderParameter,
7185
+ ...headersFromBaseOptions,
7186
+ ...options.headers,
7187
+ };
7188
+ const needsSerialization = typeof flowRequest !== "string" ||
7189
+ localVarRequestOptions.headers["Content-Type"] === "application/json";
7190
+ localVarRequestOptions.data = needsSerialization
7191
+ ? JSON.stringify(flowRequest !== undefined ? flowRequest : {})
7192
+ : flowRequest || "";
7193
+ return {
7194
+ url: toPathString(localVarUrlObj),
7195
+ options: localVarRequestOptions,
7196
+ };
7197
+ }
7198
+ // FlowApi FP - FlowApiAxiosParamCreator
7199
+ /**
7200
+ * Note: This API is experimental and is going to change. Please, use it accordingly. Lists the operations that the transformations of a flow can run, with their inputs and the JSON Schema of their parameters.
7201
+ * @summary (EXPERIMENTAL) List the operations of flows
7202
+ * @param {string} workspaceId Workspace identifier
7203
+ * @param {*} [options] Override http request option.
7204
+ * @param {Configuration} [configuration] Optional configuration.
7205
+ * @throws {RequiredError}
7206
+ */
7207
+ export async function FlowApiAxiosParamCreator_ListFlowOperations(workspaceId, options = {}, configuration) {
7208
+ // verify required parameter 'workspaceId' is not null or undefined
7209
+ assertParamExists('listFlowOperations', 'workspaceId', workspaceId);
7210
+ const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/execution/flow/operations`
7211
+ .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
7212
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
7213
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
7214
+ let baseOptions;
7215
+ if (configuration) {
7216
+ baseOptions = configuration.baseOptions;
7217
+ }
7218
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
7219
+ const localVarHeaderParameter = {};
7220
+ const localVarQueryParameter = {};
7221
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
7222
+ const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
7223
+ localVarRequestOptions.headers = {
7224
+ ...localVarHeaderParameter,
7225
+ ...headersFromBaseOptions,
7226
+ ...options.headers,
7227
+ };
7228
+ return {
7229
+ url: toPathString(localVarUrlObj),
7230
+ options: localVarRequestOptions,
7231
+ };
7232
+ }
7233
+ // FlowApi FP - FlowApiAxiosParamCreator
7234
+ /**
7235
+ * Note: This API is experimental and is going to change. Please, use it accordingly. Gets a window of rows and columns of a flow result as an Apache Arrow IPC File or Stream.
7236
+ * @summary (EXPERIMENTAL) Get a flow result in Apache Arrow File or Stream format
7237
+ * @param {string} workspaceId Workspace identifier
7238
+ * @param {string} resultId Result ID
7239
+ * @param {number} [rowOffset] Index of the first row to return. The default is 0.
7240
+ * @param {number} [rowLimit] Maximum number of rows to return. The default is all remaining rows.
7241
+ * @param {number} [columnOffset] Index of the first column to return. The default is 0.
7242
+ * @param {number} [columnLimit] Maximum number of columns to return. The default is all remaining columns.
7243
+ * @param {*} [options] Override http request option.
7244
+ * @param {Configuration} [configuration] Optional configuration.
7245
+ * @throws {RequiredError}
7246
+ */
7247
+ export async function FlowApiAxiosParamCreator_RetrieveFlowResultBinary(workspaceId, resultId, rowOffset, rowLimit, columnOffset, columnLimit, options = {}, configuration) {
7248
+ // verify required parameter 'workspaceId' is not null or undefined
7249
+ assertParamExists('retrieveFlowResultBinary', 'workspaceId', workspaceId);
7250
+ // verify required parameter 'resultId' is not null or undefined
7251
+ assertParamExists('retrieveFlowResultBinary', 'resultId', resultId);
7252
+ const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/execution/flow/result/{resultId}/binary`
7253
+ .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
7254
+ .replace(`{${"resultId"}}`, encodeURIComponent(String(resultId)));
7255
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
7256
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
7257
+ let baseOptions;
7258
+ if (configuration) {
7259
+ baseOptions = configuration.baseOptions;
7260
+ }
7261
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
7262
+ const localVarHeaderParameter = {};
7263
+ const localVarQueryParameter = {};
7264
+ if (rowOffset !== undefined) {
7265
+ localVarQueryParameter['rowOffset'] = rowOffset;
7266
+ }
7267
+ if (rowLimit !== undefined) {
7268
+ localVarQueryParameter['rowLimit'] = rowLimit;
7269
+ }
7270
+ if (columnOffset !== undefined) {
7271
+ localVarQueryParameter['columnOffset'] = columnOffset;
7272
+ }
7273
+ if (columnLimit !== undefined) {
7274
+ localVarQueryParameter['columnLimit'] = columnLimit;
7275
+ }
7276
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
7277
+ const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
7278
+ localVarRequestOptions.headers = {
7279
+ ...localVarHeaderParameter,
7280
+ ...headersFromBaseOptions,
7281
+ ...options.headers,
7282
+ };
7283
+ return {
7284
+ url: toPathString(localVarUrlObj),
7285
+ options: localVarRequestOptions,
7286
+ };
7287
+ }
7288
+ // FlowApi FP - FlowApiAxiosParamCreator
7289
+ /**
7290
+ * Note: This API is experimental and is going to change. Please, use it accordingly. Gets the columns and the number of rows of a flow result.
7291
+ * @summary (EXPERIMENTAL) Get the metadata of a flow result
7292
+ * @param {string} workspaceId Workspace identifier
7293
+ * @param {string} resultId Result ID
7294
+ * @param {*} [options] Override http request option.
7295
+ * @param {Configuration} [configuration] Optional configuration.
7296
+ * @throws {RequiredError}
7297
+ */
7298
+ export async function FlowApiAxiosParamCreator_RetrieveFlowResultMetadata(workspaceId, resultId, options = {}, configuration) {
7299
+ // verify required parameter 'workspaceId' is not null or undefined
7300
+ assertParamExists('retrieveFlowResultMetadata', 'workspaceId', workspaceId);
7301
+ // verify required parameter 'resultId' is not null or undefined
7302
+ assertParamExists('retrieveFlowResultMetadata', 'resultId', resultId);
7303
+ const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/execution/flow/result/{resultId}/metadata`
7304
+ .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
7305
+ .replace(`{${"resultId"}}`, encodeURIComponent(String(resultId)));
7306
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
7307
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
7308
+ let baseOptions;
7309
+ if (configuration) {
7310
+ baseOptions = configuration.baseOptions;
7311
+ }
7312
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
7313
+ const localVarHeaderParameter = {};
7314
+ const localVarQueryParameter = {};
7315
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
7316
+ const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
7317
+ localVarRequestOptions.headers = {
7318
+ ...localVarHeaderParameter,
7319
+ ...headersFromBaseOptions,
7320
+ ...options.headers,
7321
+ };
7322
+ return {
7323
+ url: toPathString(localVarUrlObj),
7324
+ options: localVarRequestOptions,
7325
+ };
7326
+ }
7327
+ // FlowApi FP - FlowApiAxiosParamCreator
7328
+ /**
7329
+ * Note: This API is experimental and is going to change. Please, use it accordingly. Gets a window of rows and columns of a flow result.
7330
+ * @summary (EXPERIMENTAL) Get a page of a flow result
7331
+ * @param {string} workspaceId Workspace identifier
7332
+ * @param {string} resultId Result ID
7333
+ * @param {number} [rowOffset] Index of the first row to return. The default is 0.
7334
+ * @param {number} [rowLimit] Maximum number of rows to return. The default is all remaining rows.
7335
+ * @param {number} [columnOffset] Index of the first column to return. The default is 0.
7336
+ * @param {number} [columnLimit] Maximum number of columns to return. The default is all remaining columns.
7337
+ * @param {*} [options] Override http request option.
7338
+ * @param {Configuration} [configuration] Optional configuration.
7339
+ * @throws {RequiredError}
7340
+ */
7341
+ export async function FlowApiAxiosParamCreator_RetrieveFlowResultTable(workspaceId, resultId, rowOffset, rowLimit, columnOffset, columnLimit, options = {}, configuration) {
7342
+ // verify required parameter 'workspaceId' is not null or undefined
7343
+ assertParamExists('retrieveFlowResultTable', 'workspaceId', workspaceId);
7344
+ // verify required parameter 'resultId' is not null or undefined
7345
+ assertParamExists('retrieveFlowResultTable', 'resultId', resultId);
7346
+ const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/execution/flow/result/{resultId}/table`
7347
+ .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
7348
+ .replace(`{${"resultId"}}`, encodeURIComponent(String(resultId)));
7349
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
7350
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
7351
+ let baseOptions;
7352
+ if (configuration) {
7353
+ baseOptions = configuration.baseOptions;
7354
+ }
7355
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
7356
+ const localVarHeaderParameter = {};
7357
+ const localVarQueryParameter = {};
7358
+ if (rowOffset !== undefined) {
7359
+ localVarQueryParameter['rowOffset'] = rowOffset;
7360
+ }
7361
+ if (rowLimit !== undefined) {
7362
+ localVarQueryParameter['rowLimit'] = rowLimit;
7363
+ }
7364
+ if (columnOffset !== undefined) {
7365
+ localVarQueryParameter['columnOffset'] = columnOffset;
7366
+ }
7367
+ if (columnLimit !== undefined) {
7368
+ localVarQueryParameter['columnLimit'] = columnLimit;
7369
+ }
7370
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
7371
+ const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
7372
+ localVarRequestOptions.headers = {
7373
+ ...localVarHeaderParameter,
7374
+ ...headersFromBaseOptions,
7375
+ ...options.headers,
7376
+ };
7377
+ return {
7378
+ url: toPathString(localVarUrlObj),
7379
+ options: localVarRequestOptions,
7380
+ };
7381
+ }
7382
+ // FlowApi Api FP
7383
+ /**
7384
+ * Note: This API is experimental and is going to change. Please, use it accordingly. Each result has one cancel token, which the submit of its flow returns. Applying the token cancels the flow that computes the result.
7385
+ * @summary (EXPERIMENTAL) Apply the given cancel tokens to flows
7386
+ * @param {AxiosInstance} axios Axios instance.
7387
+ * @param {string} basePath Base path.
7388
+ * @param {FlowApiCancelFlowsRequest} requestParameters Request parameters.
7389
+ * @param {*} [options] Override http request option.
7390
+ * @param {Configuration} [configuration] Optional configuration.
7391
+ * @throws {RequiredError}
7392
+ */
7393
+ export async function FlowApi_CancelFlows(axios, basePath, requestParameters, options, configuration) {
7394
+ const localVarAxiosArgs = await FlowApiAxiosParamCreator_CancelFlows(requestParameters.workspaceId, requestParameters.afmCancelTokens, options || {}, configuration);
7395
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
7396
+ }
7397
+ // FlowApi Api FP
7398
+ /**
7399
+ * Note: This API is experimental and is going to change. Please, use it accordingly. Runs the transformations of a flow over its inputs and stores the result. The response links to the result.
7400
+ * @summary (EXPERIMENTAL) Execute a flow
7401
+ * @param {AxiosInstance} axios Axios instance.
7402
+ * @param {string} basePath Base path.
7403
+ * @param {FlowApiExecuteFlowRequest} requestParameters Request parameters.
7404
+ * @param {*} [options] Override http request option.
7405
+ * @param {Configuration} [configuration] Optional configuration.
7406
+ * @throws {RequiredError}
7407
+ */
7408
+ export async function FlowApi_ExecuteFlow(axios, basePath, requestParameters, options, configuration) {
7409
+ const localVarAxiosArgs = await FlowApiAxiosParamCreator_ExecuteFlow(requestParameters.workspaceId, requestParameters.flowRequest, options || {}, configuration);
7410
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
7411
+ }
7412
+ // FlowApi Api FP
7413
+ /**
7414
+ * Note: This API is experimental and is going to change. Please, use it accordingly. Lists the operations that the transformations of a flow can run, with their inputs and the JSON Schema of their parameters.
7415
+ * @summary (EXPERIMENTAL) List the operations of flows
7416
+ * @param {AxiosInstance} axios Axios instance.
7417
+ * @param {string} basePath Base path.
7418
+ * @param {FlowApiListFlowOperationsRequest} requestParameters Request parameters.
7419
+ * @param {*} [options] Override http request option.
7420
+ * @param {Configuration} [configuration] Optional configuration.
7421
+ * @throws {RequiredError}
7422
+ */
7423
+ export async function FlowApi_ListFlowOperations(axios, basePath, requestParameters, options, configuration) {
7424
+ const localVarAxiosArgs = await FlowApiAxiosParamCreator_ListFlowOperations(requestParameters.workspaceId, options || {}, configuration);
7425
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
7426
+ }
7427
+ // FlowApi Api FP
7428
+ /**
7429
+ * Note: This API is experimental and is going to change. Please, use it accordingly. Gets a window of rows and columns of a flow result as an Apache Arrow IPC File or Stream.
7430
+ * @summary (EXPERIMENTAL) Get a flow result in Apache Arrow File or Stream format
7431
+ * @param {AxiosInstance} axios Axios instance.
7432
+ * @param {string} basePath Base path.
7433
+ * @param {FlowApiRetrieveFlowResultBinaryRequest} requestParameters Request parameters.
7434
+ * @param {*} [options] Override http request option.
7435
+ * @param {Configuration} [configuration] Optional configuration.
7436
+ * @throws {RequiredError}
7437
+ */
7438
+ export async function FlowApi_RetrieveFlowResultBinary(axios, basePath, requestParameters, options, configuration) {
7439
+ const localVarAxiosArgs = await FlowApiAxiosParamCreator_RetrieveFlowResultBinary(requestParameters.workspaceId, requestParameters.resultId, requestParameters.rowOffset, requestParameters.rowLimit, requestParameters.columnOffset, requestParameters.columnLimit, options || {}, configuration);
7440
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
7441
+ }
7442
+ // FlowApi Api FP
7443
+ /**
7444
+ * Note: This API is experimental and is going to change. Please, use it accordingly. Gets the columns and the number of rows of a flow result.
7445
+ * @summary (EXPERIMENTAL) Get the metadata of a flow result
7446
+ * @param {AxiosInstance} axios Axios instance.
7447
+ * @param {string} basePath Base path.
7448
+ * @param {FlowApiRetrieveFlowResultMetadataRequest} requestParameters Request parameters.
7449
+ * @param {*} [options] Override http request option.
7450
+ * @param {Configuration} [configuration] Optional configuration.
7451
+ * @throws {RequiredError}
7452
+ */
7453
+ export async function FlowApi_RetrieveFlowResultMetadata(axios, basePath, requestParameters, options, configuration) {
7454
+ const localVarAxiosArgs = await FlowApiAxiosParamCreator_RetrieveFlowResultMetadata(requestParameters.workspaceId, requestParameters.resultId, options || {}, configuration);
7455
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
7456
+ }
7457
+ // FlowApi Api FP
7458
+ /**
7459
+ * Note: This API is experimental and is going to change. Please, use it accordingly. Gets a window of rows and columns of a flow result.
7460
+ * @summary (EXPERIMENTAL) Get a page of a flow result
7461
+ * @param {AxiosInstance} axios Axios instance.
7462
+ * @param {string} basePath Base path.
7463
+ * @param {FlowApiRetrieveFlowResultTableRequest} requestParameters Request parameters.
7464
+ * @param {*} [options] Override http request option.
7465
+ * @param {Configuration} [configuration] Optional configuration.
7466
+ * @throws {RequiredError}
7467
+ */
7468
+ export async function FlowApi_RetrieveFlowResultTable(axios, basePath, requestParameters, options, configuration) {
7469
+ const localVarAxiosArgs = await FlowApiAxiosParamCreator_RetrieveFlowResultTable(requestParameters.workspaceId, requestParameters.resultId, requestParameters.rowOffset, requestParameters.rowLimit, requestParameters.columnOffset, requestParameters.columnLimit, options || {}, configuration);
7470
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
7471
+ }
7472
+ /**
7473
+ * FlowApi - object-oriented interface
7474
+ * @export
7475
+ * @class FlowApi
7476
+ * @extends {BaseAPI}
7477
+ */
7478
+ export class FlowApi extends BaseAPI {
7479
+ /**
7480
+ * Note: This API is experimental and is going to change. Please, use it accordingly. Each result has one cancel token, which the submit of its flow returns. Applying the token cancels the flow that computes the result.
7481
+ * @summary (EXPERIMENTAL) Apply the given cancel tokens to flows
7482
+ * @param {FlowApiCancelFlowsRequest} requestParameters Request parameters.
7483
+ * @param {*} [options] Override http request option.
7484
+ * @throws {RequiredError}
7485
+ * @memberof FlowApi
7486
+ */
7487
+ cancelFlows(requestParameters, options) {
7488
+ return FlowApi_CancelFlows(this.axios, this.basePath, requestParameters, options, this.configuration);
7489
+ }
7490
+ /**
7491
+ * Note: This API is experimental and is going to change. Please, use it accordingly. Runs the transformations of a flow over its inputs and stores the result. The response links to the result.
7492
+ * @summary (EXPERIMENTAL) Execute a flow
7493
+ * @param {FlowApiExecuteFlowRequest} requestParameters Request parameters.
7494
+ * @param {*} [options] Override http request option.
7495
+ * @throws {RequiredError}
7496
+ * @memberof FlowApi
7497
+ */
7498
+ executeFlow(requestParameters, options) {
7499
+ return FlowApi_ExecuteFlow(this.axios, this.basePath, requestParameters, options, this.configuration);
7500
+ }
7501
+ /**
7502
+ * Note: This API is experimental and is going to change. Please, use it accordingly. Lists the operations that the transformations of a flow can run, with their inputs and the JSON Schema of their parameters.
7503
+ * @summary (EXPERIMENTAL) List the operations of flows
7504
+ * @param {FlowApiListFlowOperationsRequest} requestParameters Request parameters.
7505
+ * @param {*} [options] Override http request option.
7506
+ * @throws {RequiredError}
7507
+ * @memberof FlowApi
7508
+ */
7509
+ listFlowOperations(requestParameters, options) {
7510
+ return FlowApi_ListFlowOperations(this.axios, this.basePath, requestParameters, options, this.configuration);
7511
+ }
7512
+ /**
7513
+ * Note: This API is experimental and is going to change. Please, use it accordingly. Gets a window of rows and columns of a flow result as an Apache Arrow IPC File or Stream.
7514
+ * @summary (EXPERIMENTAL) Get a flow result in Apache Arrow File or Stream format
7515
+ * @param {FlowApiRetrieveFlowResultBinaryRequest} requestParameters Request parameters.
7516
+ * @param {*} [options] Override http request option.
7517
+ * @throws {RequiredError}
7518
+ * @memberof FlowApi
7519
+ */
7520
+ retrieveFlowResultBinary(requestParameters, options) {
7521
+ return FlowApi_RetrieveFlowResultBinary(this.axios, this.basePath, requestParameters, options, this.configuration);
7522
+ }
7523
+ /**
7524
+ * Note: This API is experimental and is going to change. Please, use it accordingly. Gets the columns and the number of rows of a flow result.
7525
+ * @summary (EXPERIMENTAL) Get the metadata of a flow result
7526
+ * @param {FlowApiRetrieveFlowResultMetadataRequest} requestParameters Request parameters.
7527
+ * @param {*} [options] Override http request option.
7528
+ * @throws {RequiredError}
7529
+ * @memberof FlowApi
7530
+ */
7531
+ retrieveFlowResultMetadata(requestParameters, options) {
7532
+ return FlowApi_RetrieveFlowResultMetadata(this.axios, this.basePath, requestParameters, options, this.configuration);
7533
+ }
7534
+ /**
7535
+ * Note: This API is experimental and is going to change. Please, use it accordingly. Gets a window of rows and columns of a flow result.
7536
+ * @summary (EXPERIMENTAL) Get a page of a flow result
7537
+ * @param {FlowApiRetrieveFlowResultTableRequest} requestParameters Request parameters.
7538
+ * @param {*} [options] Override http request option.
7539
+ * @throws {RequiredError}
7540
+ * @memberof FlowApi
7541
+ */
7542
+ retrieveFlowResultTable(requestParameters, options) {
7543
+ return FlowApi_RetrieveFlowResultTable(this.axios, this.basePath, requestParameters, options, this.configuration);
7544
+ }
7545
+ }
6658
7546
  // SmartFunctionsApi FP - SmartFunctionsApiAxiosParamCreator
6659
7547
  /**
6660
7548
  * Removed. Use POST /api/v1/ai/workspaces/{workspaceId}/chat (AI Assistant) instead.