@gooddata/api-client-tiger 11.26.0-alpha.2 → 11.26.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.
@@ -2411,7 +2411,7 @@ export async function ActionsApiAxiosParamCreator_PatchDocument(workspaceId, fil
2411
2411
  }
2412
2412
  // ActionsApi FP - ActionsApiAxiosParamCreator
2413
2413
  /**
2414
- * Returns a list of available LLM Endpoints
2414
+ * Will be soon removed and replaced by LlmProvider-based resolution.
2415
2415
  * @summary Get Active LLM Endpoints for this workspace
2416
2416
  * @param {string} workspaceId Workspace identifier
2417
2417
  * @param {*} [options] Override http request option.
@@ -2445,6 +2445,41 @@ export async function ActionsApiAxiosParamCreator_ResolveLlmEndpoints(workspaceI
2445
2445
  };
2446
2446
  }
2447
2447
  // ActionsApi FP - ActionsApiAxiosParamCreator
2448
+ /**
2449
+ * Resolves the active LLM configuration for the given workspace. When the ENABLE_LLM_ENDPOINT_REPLACEMENT feature flag is enabled, returns LLM Providers with their associated models. Otherwise, falls back to the legacy LLM Endpoints.
2450
+ * @summary Get Active LLM configuration for this workspace
2451
+ * @param {string} workspaceId Workspace identifier
2452
+ * @param {*} [options] Override http request option.
2453
+ * @param {Configuration} [configuration] Optional configuration.
2454
+ * @throws {RequiredError}
2455
+ */
2456
+ export async function ActionsApiAxiosParamCreator_ResolveLlmProviders(workspaceId, options = {}, configuration) {
2457
+ // verify required parameter 'workspaceId' is not null or undefined
2458
+ assertParamExists('resolveLlmProviders', 'workspaceId', workspaceId);
2459
+ const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/ai/resolveLlmProviders`
2460
+ .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
2461
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2462
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2463
+ let baseOptions;
2464
+ if (configuration) {
2465
+ baseOptions = configuration.baseOptions;
2466
+ }
2467
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
2468
+ const localVarHeaderParameter = {};
2469
+ const localVarQueryParameter = {};
2470
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2471
+ const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
2472
+ localVarRequestOptions.headers = {
2473
+ ...localVarHeaderParameter,
2474
+ ...headersFromBaseOptions,
2475
+ ...options.headers,
2476
+ };
2477
+ return {
2478
+ url: toPathString(localVarUrlObj),
2479
+ options: localVarRequestOptions,
2480
+ };
2481
+ }
2482
+ // ActionsApi FP - ActionsApiAxiosParamCreator
2448
2483
  /**
2449
2484
  * The resource provides execution result\'s metadata as AFM and resultSpec used in execution request and an executionResponse
2450
2485
  * @summary Get a single execution result\'s metadata.
@@ -2485,19 +2520,19 @@ export async function ActionsApiAxiosParamCreator_RetrieveExecutionMetadata(work
2485
2520
  }
2486
2521
  // ActionsApi FP - ActionsApiAxiosParamCreator
2487
2522
  /**
2488
- * Gets a single execution result. Note that the Arrow File and Arrow Stream content types are currently in BETA.
2523
+ * Gets a single execution result.
2489
2524
  * @summary Get a single execution result
2490
2525
  * @param {string} workspaceId Workspace identifier
2491
2526
  * @param {string} resultId Result ID
2492
- * @param {string} [xGDCCANCELTOKEN]
2493
2527
  * @param {Array<number>} [offset] Request page with these offsets. Format is offset&#x3D;1,2,3,... - one offset for each dimensions in ResultSpec from originating AFM.
2494
2528
  * @param {Array<number>} [limit] Return only this number of items. Format is limit&#x3D;1,2,3,... - one limit for each dimensions in ResultSpec from originating AFM.
2495
2529
  * @param {Array<string>} [excludedTotalDimensions] Identifiers of the dimensions where grand total data should not be returned for this request. A grand total will not be returned if all of its totalDimensions are in excludedTotalDimensions.
2530
+ * @param {string} [xGDCCANCELTOKEN]
2496
2531
  * @param {*} [options] Override http request option.
2497
2532
  * @param {Configuration} [configuration] Optional configuration.
2498
2533
  * @throws {RequiredError}
2499
2534
  */
2500
- export async function ActionsApiAxiosParamCreator_RetrieveResult(workspaceId, resultId, xGDCCANCELTOKEN, offset, limit, excludedTotalDimensions, options = {}, configuration) {
2535
+ export async function ActionsApiAxiosParamCreator_RetrieveResult(workspaceId, resultId, offset, limit, excludedTotalDimensions, xGDCCANCELTOKEN, options = {}, configuration) {
2501
2536
  // verify required parameter 'workspaceId' is not null or undefined
2502
2537
  assertParamExists('retrieveResult', 'workspaceId', workspaceId);
2503
2538
  // verify required parameter 'resultId' is not null or undefined
@@ -2539,6 +2574,49 @@ export async function ActionsApiAxiosParamCreator_RetrieveResult(workspaceId, re
2539
2574
  };
2540
2575
  }
2541
2576
  // ActionsApi FP - ActionsApiAxiosParamCreator
2577
+ /**
2578
+ * (BETA) Gets a single execution result as an Apache Arrow IPC File or Stream format.
2579
+ * @summary (BETA) Get a single execution result in Apache Arrow File or Stream format
2580
+ * @param {string} workspaceId Workspace identifier
2581
+ * @param {string} resultId Result ID
2582
+ * @param {string} [xGDCCANCELTOKEN]
2583
+ * @param {*} [options] Override http request option.
2584
+ * @param {Configuration} [configuration] Optional configuration.
2585
+ * @throws {RequiredError}
2586
+ */
2587
+ export async function ActionsApiAxiosParamCreator_RetrieveResultBinary(workspaceId, resultId, xGDCCANCELTOKEN, options = {}, configuration) {
2588
+ // verify required parameter 'workspaceId' is not null or undefined
2589
+ assertParamExists('retrieveResultBinary', 'workspaceId', workspaceId);
2590
+ // verify required parameter 'resultId' is not null or undefined
2591
+ assertParamExists('retrieveResultBinary', 'resultId', resultId);
2592
+ const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/execution/afm/execute/result/{resultId}/binary`
2593
+ .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
2594
+ .replace(`{${"resultId"}}`, encodeURIComponent(String(resultId)));
2595
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2596
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2597
+ let baseOptions;
2598
+ if (configuration) {
2599
+ baseOptions = configuration.baseOptions;
2600
+ }
2601
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
2602
+ const localVarHeaderParameter = {};
2603
+ const localVarQueryParameter = {};
2604
+ if (xGDCCANCELTOKEN !== undefined && xGDCCANCELTOKEN !== null) {
2605
+ localVarHeaderParameter['X-GDC-CANCEL-TOKEN'] = String(xGDCCANCELTOKEN);
2606
+ }
2607
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2608
+ const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
2609
+ localVarRequestOptions.headers = {
2610
+ ...localVarHeaderParameter,
2611
+ ...headersFromBaseOptions,
2612
+ ...options.headers,
2613
+ };
2614
+ return {
2615
+ url: toPathString(localVarUrlObj),
2616
+ options: localVarRequestOptions,
2617
+ };
2618
+ }
2619
+ // ActionsApi FP - ActionsApiAxiosParamCreator
2542
2620
  /**
2543
2621
  *
2544
2622
  * @param {string} workspaceId Workspace identifier
@@ -2840,7 +2918,7 @@ export async function ActionsApiAxiosParamCreator_UpsertDocument(workspaceId, up
2840
2918
  }
2841
2919
  // ActionsApi FP - ActionsApiAxiosParamCreator
2842
2920
  /**
2843
- * Validates LLM endpoint with provided parameters.
2921
+ * Will be soon removed and replaced by testLlmProvider.
2844
2922
  * @summary Validate LLM Endpoint
2845
2923
  * @param {ValidateLLMEndpointRequest} validateLLMEndpointRequest
2846
2924
  * @param {*} [options] Override http request option.
@@ -2886,7 +2964,7 @@ export async function ActionsApiAxiosParamCreator_ValidateLLMEndpoint(validateLL
2886
2964
  }
2887
2965
  // ActionsApi FP - ActionsApiAxiosParamCreator
2888
2966
  /**
2889
- * Validates existing LLM endpoint with provided parameters and updates it if they are valid.
2967
+ * Will be soon removed and replaced by testLlmProviderById.
2890
2968
  * @summary Validate LLM Endpoint By Id
2891
2969
  * @param {string} llmEndpointId
2892
2970
  * @param {ValidateLLMEndpointByIdRequest} [validateLLMEndpointByIdRequest]
@@ -3511,7 +3589,7 @@ export async function ActionsApi_PatchDocument(axios, basePath, requestParameter
3511
3589
  }
3512
3590
  // ActionsApi Api FP
3513
3591
  /**
3514
- * Returns a list of available LLM Endpoints
3592
+ * Will be soon removed and replaced by LlmProvider-based resolution.
3515
3593
  * @summary Get Active LLM Endpoints for this workspace
3516
3594
  * @param {AxiosInstance} axios Axios instance.
3517
3595
  * @param {string} basePath Base path.
@@ -3525,6 +3603,21 @@ export async function ActionsApi_ResolveLlmEndpoints(axios, basePath, requestPar
3525
3603
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
3526
3604
  }
3527
3605
  // ActionsApi Api FP
3606
+ /**
3607
+ * Resolves the active LLM configuration for the given workspace. When the ENABLE_LLM_ENDPOINT_REPLACEMENT feature flag is enabled, returns LLM Providers with their associated models. Otherwise, falls back to the legacy LLM Endpoints.
3608
+ * @summary Get Active LLM configuration for this workspace
3609
+ * @param {AxiosInstance} axios Axios instance.
3610
+ * @param {string} basePath Base path.
3611
+ * @param {ActionsApiResolveLlmProvidersRequest} requestParameters Request parameters.
3612
+ * @param {*} [options] Override http request option.
3613
+ * @param {Configuration} [configuration] Optional configuration.
3614
+ * @throws {RequiredError}
3615
+ */
3616
+ export async function ActionsApi_ResolveLlmProviders(axios, basePath, requestParameters, options, configuration) {
3617
+ const localVarAxiosArgs = await ActionsApiAxiosParamCreator_ResolveLlmProviders(requestParameters.workspaceId, options || {}, configuration);
3618
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
3619
+ }
3620
+ // ActionsApi Api FP
3528
3621
  /**
3529
3622
  * The resource provides execution result\'s metadata as AFM and resultSpec used in execution request and an executionResponse
3530
3623
  * @summary Get a single execution result\'s metadata.
@@ -3541,7 +3634,7 @@ export async function ActionsApi_RetrieveExecutionMetadata(axios, basePath, requ
3541
3634
  }
3542
3635
  // ActionsApi Api FP
3543
3636
  /**
3544
- * Gets a single execution result. Note that the Arrow File and Arrow Stream content types are currently in BETA.
3637
+ * Gets a single execution result.
3545
3638
  * @summary Get a single execution result
3546
3639
  * @param {AxiosInstance} axios Axios instance.
3547
3640
  * @param {string} basePath Base path.
@@ -3551,7 +3644,22 @@ export async function ActionsApi_RetrieveExecutionMetadata(axios, basePath, requ
3551
3644
  * @throws {RequiredError}
3552
3645
  */
3553
3646
  export async function ActionsApi_RetrieveResult(axios, basePath, requestParameters, options, configuration) {
3554
- const localVarAxiosArgs = await ActionsApiAxiosParamCreator_RetrieveResult(requestParameters.workspaceId, requestParameters.resultId, requestParameters.xGDCCANCELTOKEN, requestParameters.offset, requestParameters.limit, requestParameters.excludedTotalDimensions, options || {}, configuration);
3647
+ const localVarAxiosArgs = await ActionsApiAxiosParamCreator_RetrieveResult(requestParameters.workspaceId, requestParameters.resultId, requestParameters.offset, requestParameters.limit, requestParameters.excludedTotalDimensions, requestParameters.xGDCCANCELTOKEN, options || {}, configuration);
3648
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
3649
+ }
3650
+ // ActionsApi Api FP
3651
+ /**
3652
+ * (BETA) Gets a single execution result as an Apache Arrow IPC File or Stream format.
3653
+ * @summary (BETA) Get a single execution result in Apache Arrow File or Stream format
3654
+ * @param {AxiosInstance} axios Axios instance.
3655
+ * @param {string} basePath Base path.
3656
+ * @param {ActionsApiRetrieveResultBinaryRequest} requestParameters Request parameters.
3657
+ * @param {*} [options] Override http request option.
3658
+ * @param {Configuration} [configuration] Optional configuration.
3659
+ * @throws {RequiredError}
3660
+ */
3661
+ export async function ActionsApi_RetrieveResultBinary(axios, basePath, requestParameters, options, configuration) {
3662
+ const localVarAxiosArgs = await ActionsApiAxiosParamCreator_RetrieveResultBinary(requestParameters.workspaceId, requestParameters.resultId, requestParameters.xGDCCANCELTOKEN, options || {}, configuration);
3555
3663
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
3556
3664
  }
3557
3665
  // ActionsApi Api FP
@@ -3659,7 +3767,7 @@ export async function ActionsApi_UpsertDocument(axios, basePath, requestParamete
3659
3767
  }
3660
3768
  // ActionsApi Api FP
3661
3769
  /**
3662
- * Validates LLM endpoint with provided parameters.
3770
+ * Will be soon removed and replaced by testLlmProvider.
3663
3771
  * @summary Validate LLM Endpoint
3664
3772
  * @param {AxiosInstance} axios Axios instance.
3665
3773
  * @param {string} basePath Base path.
@@ -3674,7 +3782,7 @@ export async function ActionsApi_ValidateLLMEndpoint(axios, basePath, requestPar
3674
3782
  }
3675
3783
  // ActionsApi Api FP
3676
3784
  /**
3677
- * Validates existing LLM endpoint with provided parameters and updates it if they are valid.
3785
+ * Will be soon removed and replaced by testLlmProviderById.
3678
3786
  * @summary Validate LLM Endpoint By Id
3679
3787
  * @param {AxiosInstance} axios Axios instance.
3680
3788
  * @param {string} basePath Base path.
@@ -4116,16 +4224,28 @@ export class ActionsApi extends BaseAPI {
4116
4224
  return ActionsApi_PatchDocument(this.axios, this.basePath, requestParameters, options, this.configuration);
4117
4225
  }
4118
4226
  /**
4119
- * Returns a list of available LLM Endpoints
4227
+ * Will be soon removed and replaced by LlmProvider-based resolution.
4120
4228
  * @summary Get Active LLM Endpoints for this workspace
4121
4229
  * @param {ActionsApiResolveLlmEndpointsRequest} requestParameters Request parameters.
4122
4230
  * @param {*} [options] Override http request option.
4231
+ * @deprecated
4123
4232
  * @throws {RequiredError}
4124
4233
  * @memberof ActionsApi
4125
4234
  */
4126
4235
  resolveLlmEndpoints(requestParameters, options) {
4127
4236
  return ActionsApi_ResolveLlmEndpoints(this.axios, this.basePath, requestParameters, options, this.configuration);
4128
4237
  }
4238
+ /**
4239
+ * Resolves the active LLM configuration for the given workspace. When the ENABLE_LLM_ENDPOINT_REPLACEMENT feature flag is enabled, returns LLM Providers with their associated models. Otherwise, falls back to the legacy LLM Endpoints.
4240
+ * @summary Get Active LLM configuration for this workspace
4241
+ * @param {ActionsApiResolveLlmProvidersRequest} requestParameters Request parameters.
4242
+ * @param {*} [options] Override http request option.
4243
+ * @throws {RequiredError}
4244
+ * @memberof ActionsApi
4245
+ */
4246
+ resolveLlmProviders(requestParameters, options) {
4247
+ return ActionsApi_ResolveLlmProviders(this.axios, this.basePath, requestParameters, options, this.configuration);
4248
+ }
4129
4249
  /**
4130
4250
  * The resource provides execution result\'s metadata as AFM and resultSpec used in execution request and an executionResponse
4131
4251
  * @summary Get a single execution result\'s metadata.
@@ -4138,7 +4258,7 @@ export class ActionsApi extends BaseAPI {
4138
4258
  return ActionsApi_RetrieveExecutionMetadata(this.axios, this.basePath, requestParameters, options, this.configuration);
4139
4259
  }
4140
4260
  /**
4141
- * Gets a single execution result. Note that the Arrow File and Arrow Stream content types are currently in BETA.
4261
+ * Gets a single execution result.
4142
4262
  * @summary Get a single execution result
4143
4263
  * @param {ActionsApiRetrieveResultRequest} requestParameters Request parameters.
4144
4264
  * @param {*} [options] Override http request option.
@@ -4148,6 +4268,17 @@ export class ActionsApi extends BaseAPI {
4148
4268
  retrieveResult(requestParameters, options) {
4149
4269
  return ActionsApi_RetrieveResult(this.axios, this.basePath, requestParameters, options, this.configuration);
4150
4270
  }
4271
+ /**
4272
+ * (BETA) Gets a single execution result as an Apache Arrow IPC File or Stream format.
4273
+ * @summary (BETA) Get a single execution result in Apache Arrow File or Stream format
4274
+ * @param {ActionsApiRetrieveResultBinaryRequest} requestParameters Request parameters.
4275
+ * @param {*} [options] Override http request option.
4276
+ * @throws {RequiredError}
4277
+ * @memberof ActionsApi
4278
+ */
4279
+ retrieveResultBinary(requestParameters, options) {
4280
+ return ActionsApi_RetrieveResultBinary(this.axios, this.basePath, requestParameters, options, this.configuration);
4281
+ }
4151
4282
  /**
4152
4283
  *
4153
4284
  * @param {ActionsApiSearchKnowledgeRequest} requestParameters Request parameters.
@@ -4224,10 +4355,11 @@ export class ActionsApi extends BaseAPI {
4224
4355
  return ActionsApi_UpsertDocument(this.axios, this.basePath, requestParameters, options, this.configuration);
4225
4356
  }
4226
4357
  /**
4227
- * Validates LLM endpoint with provided parameters.
4358
+ * Will be soon removed and replaced by testLlmProvider.
4228
4359
  * @summary Validate LLM Endpoint
4229
4360
  * @param {ActionsApiValidateLLMEndpointRequest} requestParameters Request parameters.
4230
4361
  * @param {*} [options] Override http request option.
4362
+ * @deprecated
4231
4363
  * @throws {RequiredError}
4232
4364
  * @memberof ActionsApi
4233
4365
  */
@@ -4235,10 +4367,11 @@ export class ActionsApi extends BaseAPI {
4235
4367
  return ActionsApi_ValidateLLMEndpoint(this.axios, this.basePath, requestParameters, options, this.configuration);
4236
4368
  }
4237
4369
  /**
4238
- * Validates existing LLM endpoint with provided parameters and updates it if they are valid.
4370
+ * Will be soon removed and replaced by testLlmProviderById.
4239
4371
  * @summary Validate LLM Endpoint By Id
4240
4372
  * @param {ActionsApiValidateLLMEndpointByIdRequest} requestParameters Request parameters.
4241
4373
  * @param {*} [options] Override http request option.
4374
+ * @deprecated
4242
4375
  * @throws {RequiredError}
4243
4376
  * @memberof ActionsApi
4244
4377
  */
@@ -4902,19 +5035,19 @@ export async function ComputationApiAxiosParamCreator_RetrieveExecutionMetadata(
4902
5035
  }
4903
5036
  // ComputationApi FP - ComputationApiAxiosParamCreator
4904
5037
  /**
4905
- * Gets a single execution result. Note that the Arrow File and Arrow Stream content types are currently in BETA.
5038
+ * Gets a single execution result.
4906
5039
  * @summary Get a single execution result
4907
5040
  * @param {string} workspaceId Workspace identifier
4908
5041
  * @param {string} resultId Result ID
4909
- * @param {string} [xGDCCANCELTOKEN]
4910
5042
  * @param {Array<number>} [offset] Request page with these offsets. Format is offset&#x3D;1,2,3,... - one offset for each dimensions in ResultSpec from originating AFM.
4911
5043
  * @param {Array<number>} [limit] Return only this number of items. Format is limit&#x3D;1,2,3,... - one limit for each dimensions in ResultSpec from originating AFM.
4912
5044
  * @param {Array<string>} [excludedTotalDimensions] Identifiers of the dimensions where grand total data should not be returned for this request. A grand total will not be returned if all of its totalDimensions are in excludedTotalDimensions.
5045
+ * @param {string} [xGDCCANCELTOKEN]
4913
5046
  * @param {*} [options] Override http request option.
4914
5047
  * @param {Configuration} [configuration] Optional configuration.
4915
5048
  * @throws {RequiredError}
4916
5049
  */
4917
- export async function ComputationApiAxiosParamCreator_RetrieveResult(workspaceId, resultId, xGDCCANCELTOKEN, offset, limit, excludedTotalDimensions, options = {}, configuration) {
5050
+ export async function ComputationApiAxiosParamCreator_RetrieveResult(workspaceId, resultId, offset, limit, excludedTotalDimensions, xGDCCANCELTOKEN, options = {}, configuration) {
4918
5051
  // verify required parameter 'workspaceId' is not null or undefined
4919
5052
  assertParamExists('retrieveResult', 'workspaceId', workspaceId);
4920
5053
  // verify required parameter 'resultId' is not null or undefined
@@ -4955,6 +5088,49 @@ export async function ComputationApiAxiosParamCreator_RetrieveResult(workspaceId
4955
5088
  options: localVarRequestOptions,
4956
5089
  };
4957
5090
  }
5091
+ // ComputationApi FP - ComputationApiAxiosParamCreator
5092
+ /**
5093
+ * (BETA) Gets a single execution result as an Apache Arrow IPC File or Stream format.
5094
+ * @summary (BETA) Get a single execution result in Apache Arrow File or Stream format
5095
+ * @param {string} workspaceId Workspace identifier
5096
+ * @param {string} resultId Result ID
5097
+ * @param {string} [xGDCCANCELTOKEN]
5098
+ * @param {*} [options] Override http request option.
5099
+ * @param {Configuration} [configuration] Optional configuration.
5100
+ * @throws {RequiredError}
5101
+ */
5102
+ export async function ComputationApiAxiosParamCreator_RetrieveResultBinary(workspaceId, resultId, xGDCCANCELTOKEN, options = {}, configuration) {
5103
+ // verify required parameter 'workspaceId' is not null or undefined
5104
+ assertParamExists('retrieveResultBinary', 'workspaceId', workspaceId);
5105
+ // verify required parameter 'resultId' is not null or undefined
5106
+ assertParamExists('retrieveResultBinary', 'resultId', resultId);
5107
+ const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/execution/afm/execute/result/{resultId}/binary`
5108
+ .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
5109
+ .replace(`{${"resultId"}}`, encodeURIComponent(String(resultId)));
5110
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
5111
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
5112
+ let baseOptions;
5113
+ if (configuration) {
5114
+ baseOptions = configuration.baseOptions;
5115
+ }
5116
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
5117
+ const localVarHeaderParameter = {};
5118
+ const localVarQueryParameter = {};
5119
+ if (xGDCCANCELTOKEN !== undefined && xGDCCANCELTOKEN !== null) {
5120
+ localVarHeaderParameter['X-GDC-CANCEL-TOKEN'] = String(xGDCCANCELTOKEN);
5121
+ }
5122
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
5123
+ const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
5124
+ localVarRequestOptions.headers = {
5125
+ ...localVarHeaderParameter,
5126
+ ...headersFromBaseOptions,
5127
+ ...options.headers,
5128
+ };
5129
+ return {
5130
+ url: toPathString(localVarUrlObj),
5131
+ options: localVarRequestOptions,
5132
+ };
5133
+ }
4958
5134
  // ComputationApi Api FP
4959
5135
  /**
4960
5136
  * 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.
@@ -5152,7 +5328,7 @@ export async function ComputationApi_RetrieveExecutionMetadata(axios, basePath,
5152
5328
  }
5153
5329
  // ComputationApi Api FP
5154
5330
  /**
5155
- * Gets a single execution result. Note that the Arrow File and Arrow Stream content types are currently in BETA.
5331
+ * Gets a single execution result.
5156
5332
  * @summary Get a single execution result
5157
5333
  * @param {AxiosInstance} axios Axios instance.
5158
5334
  * @param {string} basePath Base path.
@@ -5162,7 +5338,22 @@ export async function ComputationApi_RetrieveExecutionMetadata(axios, basePath,
5162
5338
  * @throws {RequiredError}
5163
5339
  */
5164
5340
  export async function ComputationApi_RetrieveResult(axios, basePath, requestParameters, options, configuration) {
5165
- const localVarAxiosArgs = await ComputationApiAxiosParamCreator_RetrieveResult(requestParameters.workspaceId, requestParameters.resultId, requestParameters.xGDCCANCELTOKEN, requestParameters.offset, requestParameters.limit, requestParameters.excludedTotalDimensions, options || {}, configuration);
5341
+ const localVarAxiosArgs = await ComputationApiAxiosParamCreator_RetrieveResult(requestParameters.workspaceId, requestParameters.resultId, requestParameters.offset, requestParameters.limit, requestParameters.excludedTotalDimensions, requestParameters.xGDCCANCELTOKEN, options || {}, configuration);
5342
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
5343
+ }
5344
+ // ComputationApi Api FP
5345
+ /**
5346
+ * (BETA) Gets a single execution result as an Apache Arrow IPC File or Stream format.
5347
+ * @summary (BETA) Get a single execution result in Apache Arrow File or Stream format
5348
+ * @param {AxiosInstance} axios Axios instance.
5349
+ * @param {string} basePath Base path.
5350
+ * @param {ComputationApiRetrieveResultBinaryRequest} requestParameters Request parameters.
5351
+ * @param {*} [options] Override http request option.
5352
+ * @param {Configuration} [configuration] Optional configuration.
5353
+ * @throws {RequiredError}
5354
+ */
5355
+ export async function ComputationApi_RetrieveResultBinary(axios, basePath, requestParameters, options, configuration) {
5356
+ const localVarAxiosArgs = await ComputationApiAxiosParamCreator_RetrieveResultBinary(requestParameters.workspaceId, requestParameters.resultId, requestParameters.xGDCCANCELTOKEN, options || {}, configuration);
5166
5357
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
5167
5358
  }
5168
5359
  /**
@@ -5316,7 +5507,7 @@ export class ComputationApi extends BaseAPI {
5316
5507
  return ComputationApi_RetrieveExecutionMetadata(this.axios, this.basePath, requestParameters, options, this.configuration);
5317
5508
  }
5318
5509
  /**
5319
- * Gets a single execution result. Note that the Arrow File and Arrow Stream content types are currently in BETA.
5510
+ * Gets a single execution result.
5320
5511
  * @summary Get a single execution result
5321
5512
  * @param {ComputationApiRetrieveResultRequest} requestParameters Request parameters.
5322
5513
  * @param {*} [options] Override http request option.
@@ -5326,6 +5517,17 @@ export class ComputationApi extends BaseAPI {
5326
5517
  retrieveResult(requestParameters, options) {
5327
5518
  return ComputationApi_RetrieveResult(this.axios, this.basePath, requestParameters, options, this.configuration);
5328
5519
  }
5520
+ /**
5521
+ * (BETA) Gets a single execution result as an Apache Arrow IPC File or Stream format.
5522
+ * @summary (BETA) Get a single execution result in Apache Arrow File or Stream format
5523
+ * @param {ComputationApiRetrieveResultBinaryRequest} requestParameters Request parameters.
5524
+ * @param {*} [options] Override http request option.
5525
+ * @throws {RequiredError}
5526
+ * @memberof ComputationApi
5527
+ */
5528
+ retrieveResultBinary(requestParameters, options) {
5529
+ return ComputationApi_RetrieveResultBinary(this.axios, this.basePath, requestParameters, options, this.configuration);
5530
+ }
5329
5531
  }
5330
5532
  // SmartFunctionsApi FP - SmartFunctionsApiAxiosParamCreator
5331
5533
  /**
@@ -6204,7 +6406,7 @@ export async function SmartFunctionsApiAxiosParamCreator_MemoryCreatedByUsers(wo
6204
6406
  }
6205
6407
  // SmartFunctionsApi FP - SmartFunctionsApiAxiosParamCreator
6206
6408
  /**
6207
- * Returns a list of available LLM Endpoints
6409
+ * Will be soon removed and replaced by LlmProvider-based resolution.
6208
6410
  * @summary Get Active LLM Endpoints for this workspace
6209
6411
  * @param {string} workspaceId Workspace identifier
6210
6412
  * @param {*} [options] Override http request option.
@@ -6238,6 +6440,41 @@ export async function SmartFunctionsApiAxiosParamCreator_ResolveLlmEndpoints(wor
6238
6440
  };
6239
6441
  }
6240
6442
  // SmartFunctionsApi FP - SmartFunctionsApiAxiosParamCreator
6443
+ /**
6444
+ * Resolves the active LLM configuration for the given workspace. When the ENABLE_LLM_ENDPOINT_REPLACEMENT feature flag is enabled, returns LLM Providers with their associated models. Otherwise, falls back to the legacy LLM Endpoints.
6445
+ * @summary Get Active LLM configuration for this workspace
6446
+ * @param {string} workspaceId Workspace identifier
6447
+ * @param {*} [options] Override http request option.
6448
+ * @param {Configuration} [configuration] Optional configuration.
6449
+ * @throws {RequiredError}
6450
+ */
6451
+ export async function SmartFunctionsApiAxiosParamCreator_ResolveLlmProviders(workspaceId, options = {}, configuration) {
6452
+ // verify required parameter 'workspaceId' is not null or undefined
6453
+ assertParamExists('resolveLlmProviders', 'workspaceId', workspaceId);
6454
+ const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/ai/resolveLlmProviders`
6455
+ .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
6456
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
6457
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
6458
+ let baseOptions;
6459
+ if (configuration) {
6460
+ baseOptions = configuration.baseOptions;
6461
+ }
6462
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
6463
+ const localVarHeaderParameter = {};
6464
+ const localVarQueryParameter = {};
6465
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
6466
+ const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
6467
+ localVarRequestOptions.headers = {
6468
+ ...localVarHeaderParameter,
6469
+ ...headersFromBaseOptions,
6470
+ ...options.headers,
6471
+ };
6472
+ return {
6473
+ url: toPathString(localVarUrlObj),
6474
+ options: localVarRequestOptions,
6475
+ };
6476
+ }
6477
+ // SmartFunctionsApi FP - SmartFunctionsApiAxiosParamCreator
6241
6478
  /**
6242
6479
  * Returns a list of tags for this workspace
6243
6480
  * @summary Get Analytics Catalog Tags
@@ -6438,7 +6675,7 @@ export async function SmartFunctionsApiAxiosParamCreator_TriggerQualityIssuesCal
6438
6675
  }
6439
6676
  // SmartFunctionsApi FP - SmartFunctionsApiAxiosParamCreator
6440
6677
  /**
6441
- * Validates LLM endpoint with provided parameters.
6678
+ * Will be soon removed and replaced by testLlmProvider.
6442
6679
  * @summary Validate LLM Endpoint
6443
6680
  * @param {ValidateLLMEndpointRequest} validateLLMEndpointRequest
6444
6681
  * @param {*} [options] Override http request option.
@@ -6484,7 +6721,7 @@ export async function SmartFunctionsApiAxiosParamCreator_ValidateLLMEndpoint(val
6484
6721
  }
6485
6722
  // SmartFunctionsApi FP - SmartFunctionsApiAxiosParamCreator
6486
6723
  /**
6487
- * Validates existing LLM endpoint with provided parameters and updates it if they are valid.
6724
+ * Will be soon removed and replaced by testLlmProviderById.
6488
6725
  * @summary Validate LLM Endpoint By Id
6489
6726
  * @param {string} llmEndpointId
6490
6727
  * @param {ValidateLLMEndpointByIdRequest} [validateLLMEndpointByIdRequest]
@@ -6817,7 +7054,7 @@ export async function SmartFunctionsApi_MemoryCreatedByUsers(axios, basePath, re
6817
7054
  }
6818
7055
  // SmartFunctionsApi Api FP
6819
7056
  /**
6820
- * Returns a list of available LLM Endpoints
7057
+ * Will be soon removed and replaced by LlmProvider-based resolution.
6821
7058
  * @summary Get Active LLM Endpoints for this workspace
6822
7059
  * @param {AxiosInstance} axios Axios instance.
6823
7060
  * @param {string} basePath Base path.
@@ -6831,6 +7068,21 @@ export async function SmartFunctionsApi_ResolveLlmEndpoints(axios, basePath, req
6831
7068
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
6832
7069
  }
6833
7070
  // SmartFunctionsApi Api FP
7071
+ /**
7072
+ * Resolves the active LLM configuration for the given workspace. When the ENABLE_LLM_ENDPOINT_REPLACEMENT feature flag is enabled, returns LLM Providers with their associated models. Otherwise, falls back to the legacy LLM Endpoints.
7073
+ * @summary Get Active LLM configuration for this workspace
7074
+ * @param {AxiosInstance} axios Axios instance.
7075
+ * @param {string} basePath Base path.
7076
+ * @param {SmartFunctionsApiResolveLlmProvidersRequest} requestParameters Request parameters.
7077
+ * @param {*} [options] Override http request option.
7078
+ * @param {Configuration} [configuration] Optional configuration.
7079
+ * @throws {RequiredError}
7080
+ */
7081
+ export async function SmartFunctionsApi_ResolveLlmProviders(axios, basePath, requestParameters, options, configuration) {
7082
+ const localVarAxiosArgs = await SmartFunctionsApiAxiosParamCreator_ResolveLlmProviders(requestParameters.workspaceId, options || {}, configuration);
7083
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
7084
+ }
7085
+ // SmartFunctionsApi Api FP
6834
7086
  /**
6835
7087
  * Returns a list of tags for this workspace
6836
7088
  * @summary Get Analytics Catalog Tags
@@ -6907,7 +7159,7 @@ export async function SmartFunctionsApi_TriggerQualityIssuesCalculation(axios, b
6907
7159
  }
6908
7160
  // SmartFunctionsApi Api FP
6909
7161
  /**
6910
- * Validates LLM endpoint with provided parameters.
7162
+ * Will be soon removed and replaced by testLlmProvider.
6911
7163
  * @summary Validate LLM Endpoint
6912
7164
  * @param {AxiosInstance} axios Axios instance.
6913
7165
  * @param {string} basePath Base path.
@@ -6922,7 +7174,7 @@ export async function SmartFunctionsApi_ValidateLLMEndpoint(axios, basePath, req
6922
7174
  }
6923
7175
  // SmartFunctionsApi Api FP
6924
7176
  /**
6925
- * Validates existing LLM endpoint with provided parameters and updates it if they are valid.
7177
+ * Will be soon removed and replaced by testLlmProviderById.
6926
7178
  * @summary Validate LLM Endpoint By Id
6927
7179
  * @param {AxiosInstance} axios Axios instance.
6928
7180
  * @param {string} basePath Base path.
@@ -7152,16 +7404,28 @@ export class SmartFunctionsApi extends BaseAPI {
7152
7404
  return SmartFunctionsApi_MemoryCreatedByUsers(this.axios, this.basePath, requestParameters, options, this.configuration);
7153
7405
  }
7154
7406
  /**
7155
- * Returns a list of available LLM Endpoints
7407
+ * Will be soon removed and replaced by LlmProvider-based resolution.
7156
7408
  * @summary Get Active LLM Endpoints for this workspace
7157
7409
  * @param {SmartFunctionsApiResolveLlmEndpointsRequest} requestParameters Request parameters.
7158
7410
  * @param {*} [options] Override http request option.
7411
+ * @deprecated
7159
7412
  * @throws {RequiredError}
7160
7413
  * @memberof SmartFunctionsApi
7161
7414
  */
7162
7415
  resolveLlmEndpoints(requestParameters, options) {
7163
7416
  return SmartFunctionsApi_ResolveLlmEndpoints(this.axios, this.basePath, requestParameters, options, this.configuration);
7164
7417
  }
7418
+ /**
7419
+ * Resolves the active LLM configuration for the given workspace. When the ENABLE_LLM_ENDPOINT_REPLACEMENT feature flag is enabled, returns LLM Providers with their associated models. Otherwise, falls back to the legacy LLM Endpoints.
7420
+ * @summary Get Active LLM configuration for this workspace
7421
+ * @param {SmartFunctionsApiResolveLlmProvidersRequest} requestParameters Request parameters.
7422
+ * @param {*} [options] Override http request option.
7423
+ * @throws {RequiredError}
7424
+ * @memberof SmartFunctionsApi
7425
+ */
7426
+ resolveLlmProviders(requestParameters, options) {
7427
+ return SmartFunctionsApi_ResolveLlmProviders(this.axios, this.basePath, requestParameters, options, this.configuration);
7428
+ }
7165
7429
  /**
7166
7430
  * Returns a list of tags for this workspace
7167
7431
  * @summary Get Analytics Catalog Tags
@@ -7218,10 +7482,11 @@ export class SmartFunctionsApi extends BaseAPI {
7218
7482
  return SmartFunctionsApi_TriggerQualityIssuesCalculation(this.axios, this.basePath, requestParameters, options, this.configuration);
7219
7483
  }
7220
7484
  /**
7221
- * Validates LLM endpoint with provided parameters.
7485
+ * Will be soon removed and replaced by testLlmProvider.
7222
7486
  * @summary Validate LLM Endpoint
7223
7487
  * @param {SmartFunctionsApiValidateLLMEndpointRequest} requestParameters Request parameters.
7224
7488
  * @param {*} [options] Override http request option.
7489
+ * @deprecated
7225
7490
  * @throws {RequiredError}
7226
7491
  * @memberof SmartFunctionsApi
7227
7492
  */
@@ -7229,10 +7494,11 @@ export class SmartFunctionsApi extends BaseAPI {
7229
7494
  return SmartFunctionsApi_ValidateLLMEndpoint(this.axios, this.basePath, requestParameters, options, this.configuration);
7230
7495
  }
7231
7496
  /**
7232
- * Validates existing LLM endpoint with provided parameters and updates it if they are valid.
7497
+ * Will be soon removed and replaced by testLlmProviderById.
7233
7498
  * @summary Validate LLM Endpoint By Id
7234
7499
  * @param {SmartFunctionsApiValidateLLMEndpointByIdRequest} requestParameters Request parameters.
7235
7500
  * @param {*} [options] Override http request option.
7501
+ * @deprecated
7236
7502
  * @throws {RequiredError}
7237
7503
  * @memberof SmartFunctionsApi
7238
7504
  */