@gooddata/api-client-tiger 11.25.0-alpha.4 → 11.25.0-alpha.6

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.
@@ -114,6 +114,41 @@ export async function AILakeApiAxiosParamCreator_GetAiLakeOperation(operationId,
114
114
  };
115
115
  }
116
116
  // AILakeApi FP - AILakeApiAxiosParamCreator
117
+ /**
118
+ * (BETA) Returns the status of a service in the organization\'s AI Lake. The status is controller-specific (e.g., available commands, readiness).
119
+ * @summary (BETA) Get AI Lake service status
120
+ * @param {string} serviceId
121
+ * @param {*} [options] Override http request option.
122
+ * @param {Configuration} [configuration] Optional configuration.
123
+ * @throws {RequiredError}
124
+ */
125
+ export async function AILakeApiAxiosParamCreator_GetAiLakeServiceStatus(serviceId, options = {}, configuration) {
126
+ // verify required parameter 'serviceId' is not null or undefined
127
+ assertParamExists('getAiLakeServiceStatus', 'serviceId', serviceId);
128
+ const localVarPath = `/api/v1/ailake/services/{serviceId}/status`
129
+ .replace(`{${"serviceId"}}`, encodeURIComponent(String(serviceId)));
130
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
131
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
132
+ let baseOptions;
133
+ if (configuration) {
134
+ baseOptions = configuration.baseOptions;
135
+ }
136
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
137
+ const localVarHeaderParameter = {};
138
+ const localVarQueryParameter = {};
139
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
140
+ const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
141
+ localVarRequestOptions.headers = {
142
+ ...localVarHeaderParameter,
143
+ ...headersFromBaseOptions,
144
+ ...options.headers,
145
+ };
146
+ return {
147
+ url: toPathString(localVarUrlObj),
148
+ options: localVarRequestOptions,
149
+ };
150
+ }
151
+ // AILakeApi FP - AILakeApiAxiosParamCreator
117
152
  /**
118
153
  * (BETA) Lists database instances in the organization\'s AI Lake. Supports paging via size and offset query parameters. Use metaInclude=page to get total count.
119
154
  * @summary (BETA) List AI Lake Database instances
@@ -353,6 +388,21 @@ export async function AILakeApi_GetAiLakeOperation(axios, basePath, requestParam
353
388
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
354
389
  }
355
390
  // AILakeApi Api FP
391
+ /**
392
+ * (BETA) Returns the status of a service in the organization\'s AI Lake. The status is controller-specific (e.g., available commands, readiness).
393
+ * @summary (BETA) Get AI Lake service status
394
+ * @param {AxiosInstance} axios Axios instance.
395
+ * @param {string} basePath Base path.
396
+ * @param {AILakeApiGetAiLakeServiceStatusRequest} requestParameters Request parameters.
397
+ * @param {*} [options] Override http request option.
398
+ * @param {Configuration} [configuration] Optional configuration.
399
+ * @throws {RequiredError}
400
+ */
401
+ export async function AILakeApi_GetAiLakeServiceStatus(axios, basePath, requestParameters, options, configuration) {
402
+ const localVarAxiosArgs = await AILakeApiAxiosParamCreator_GetAiLakeServiceStatus(requestParameters.serviceId, options || {}, configuration);
403
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
404
+ }
405
+ // AILakeApi Api FP
356
406
  /**
357
407
  * (BETA) Lists database instances in the organization\'s AI Lake. Supports paging via size and offset query parameters. Use metaInclude=page to get total count.
358
408
  * @summary (BETA) List AI Lake Database instances
@@ -452,6 +502,17 @@ export class AILakeApi extends BaseAPI {
452
502
  getAiLakeOperation(requestParameters, options) {
453
503
  return AILakeApi_GetAiLakeOperation(this.axios, this.basePath, requestParameters, options, this.configuration);
454
504
  }
505
+ /**
506
+ * (BETA) Returns the status of a service in the organization\'s AI Lake. The status is controller-specific (e.g., available commands, readiness).
507
+ * @summary (BETA) Get AI Lake service status
508
+ * @param {AILakeApiGetAiLakeServiceStatusRequest} requestParameters Request parameters.
509
+ * @param {*} [options] Override http request option.
510
+ * @throws {RequiredError}
511
+ * @memberof AILakeApi
512
+ */
513
+ getAiLakeServiceStatus(requestParameters, options) {
514
+ return AILakeApi_GetAiLakeServiceStatus(this.axios, this.basePath, requestParameters, options, this.configuration);
515
+ }
455
516
  /**
456
517
  * (BETA) Lists database instances in the organization\'s AI Lake. Supports paging via size and offset query parameters. Use metaInclude=page to get total count.
457
518
  * @summary (BETA) List AI Lake Database instances
@@ -2027,14 +2088,14 @@ export async function ActionsApiAxiosParamCreator_KeyDriverAnalysisResult(worksp
2027
2088
  * @param {Array<string>} [scopes]
2028
2089
  * @param {number} [size]
2029
2090
  * @param {string} [pageToken]
2030
- * @param {string} [query]
2031
- * @param {string} [state]
2032
2091
  * @param {string} [metaInclude]
2092
+ * @param {string} [state]
2093
+ * @param {string} [query]
2033
2094
  * @param {*} [options] Override http request option.
2034
2095
  * @param {Configuration} [configuration] Optional configuration.
2035
2096
  * @throws {RequiredError}
2036
2097
  */
2037
- export async function ActionsApiAxiosParamCreator_ListDocuments(workspaceId, scopes, size, pageToken, query, state, metaInclude, options = {}, configuration) {
2098
+ export async function ActionsApiAxiosParamCreator_ListDocuments(workspaceId, scopes, size, pageToken, metaInclude, state, query, options = {}, configuration) {
2038
2099
  // verify required parameter 'workspaceId' is not null or undefined
2039
2100
  assertParamExists('listDocuments', 'workspaceId', workspaceId);
2040
2101
  const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/ai/knowledge/documents`
@@ -2057,15 +2118,96 @@ export async function ActionsApiAxiosParamCreator_ListDocuments(workspaceId, sco
2057
2118
  if (pageToken !== undefined) {
2058
2119
  localVarQueryParameter['pageToken'] = pageToken;
2059
2120
  }
2060
- if (query !== undefined) {
2061
- localVarQueryParameter['query'] = query;
2121
+ if (metaInclude !== undefined) {
2122
+ localVarQueryParameter['metaInclude'] = metaInclude;
2062
2123
  }
2063
2124
  if (state !== undefined) {
2064
2125
  localVarQueryParameter['state'] = state;
2065
2126
  }
2066
- if (metaInclude !== undefined) {
2067
- localVarQueryParameter['metaInclude'] = metaInclude;
2127
+ if (query !== undefined) {
2128
+ localVarQueryParameter['query'] = query;
2129
+ }
2130
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2131
+ const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
2132
+ localVarRequestOptions.headers = {
2133
+ ...localVarHeaderParameter,
2134
+ ...headersFromBaseOptions,
2135
+ ...options.headers,
2136
+ };
2137
+ return {
2138
+ url: toPathString(localVarUrlObj),
2139
+ options: localVarRequestOptions,
2140
+ };
2141
+ }
2142
+ // ActionsApi FP - ActionsApiAxiosParamCreator
2143
+ /**
2144
+ * 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.
2145
+ * @summary List LLM Provider Models
2146
+ * @param {ListLlmProviderModelsRequest} listLlmProviderModelsRequest
2147
+ * @param {*} [options] Override http request option.
2148
+ * @param {Configuration} [configuration] Optional configuration.
2149
+ * @throws {RequiredError}
2150
+ */
2151
+ export async function ActionsApiAxiosParamCreator_ListLlmProviderModels(listLlmProviderModelsRequest, options = {}, configuration) {
2152
+ // verify required parameter 'listLlmProviderModelsRequest' is not null or undefined
2153
+ assertParamExists('listLlmProviderModels', 'listLlmProviderModelsRequest', listLlmProviderModelsRequest);
2154
+ const localVarPath = `/api/v1/actions/ai/llmProvider/listModels`;
2155
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2156
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2157
+ let baseOptions;
2158
+ if (configuration) {
2159
+ baseOptions = configuration.baseOptions;
2160
+ }
2161
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
2162
+ const localVarHeaderParameter = {};
2163
+ const localVarQueryParameter = {};
2164
+ const consumes = [
2165
+ 'application/json'
2166
+ ];
2167
+ // use application/json if present, otherwise fallback to the first one
2168
+ localVarHeaderParameter['Content-Type'] = consumes.includes('application/json')
2169
+ ? 'application/json'
2170
+ : consumes[0];
2171
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2172
+ const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
2173
+ localVarRequestOptions.headers = {
2174
+ ...localVarHeaderParameter,
2175
+ ...headersFromBaseOptions,
2176
+ ...options.headers,
2177
+ };
2178
+ const needsSerialization = typeof listLlmProviderModelsRequest !== "string" ||
2179
+ localVarRequestOptions.headers["Content-Type"] === "application/json";
2180
+ localVarRequestOptions.data = needsSerialization
2181
+ ? JSON.stringify(listLlmProviderModelsRequest !== undefined ? listLlmProviderModelsRequest : {})
2182
+ : listLlmProviderModelsRequest || "";
2183
+ return {
2184
+ url: toPathString(localVarUrlObj),
2185
+ options: localVarRequestOptions,
2186
+ };
2187
+ }
2188
+ // ActionsApi FP - ActionsApiAxiosParamCreator
2189
+ /**
2190
+ * Lists models available on an existing LLM provider by its ID. For Azure AI Foundry providers, the model family will be set to UNKNOWN because the endpoint does not expose the family.
2191
+ * @summary List LLM Provider Models By Id
2192
+ * @param {string} llmProviderId
2193
+ * @param {*} [options] Override http request option.
2194
+ * @param {Configuration} [configuration] Optional configuration.
2195
+ * @throws {RequiredError}
2196
+ */
2197
+ export async function ActionsApiAxiosParamCreator_ListLlmProviderModelsById(llmProviderId, options = {}, configuration) {
2198
+ // verify required parameter 'llmProviderId' is not null or undefined
2199
+ assertParamExists('listLlmProviderModelsById', 'llmProviderId', llmProviderId);
2200
+ const localVarPath = `/api/v1/actions/ai/llmProvider/{llmProviderId}/listModels`
2201
+ .replace(`{${"llmProviderId"}}`, encodeURIComponent(String(llmProviderId)));
2202
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2203
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2204
+ let baseOptions;
2205
+ if (configuration) {
2206
+ baseOptions = configuration.baseOptions;
2068
2207
  }
2208
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
2209
+ const localVarHeaderParameter = {};
2210
+ const localVarQueryParameter = {};
2069
2211
  setSearchParams(localVarUrlObj, localVarQueryParameter);
2070
2212
  const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
2071
2213
  localVarRequestOptions.headers = {
@@ -2534,11 +2676,12 @@ export async function ActionsApiAxiosParamCreator_TestLlmProvider(testLlmProvide
2534
2676
  * Tests an existing LLM provider connectivity by its ID.
2535
2677
  * @summary Test LLM Provider By Id
2536
2678
  * @param {string} llmProviderId
2679
+ * @param {TestLlmProviderByIdRequest} [testLlmProviderByIdRequest]
2537
2680
  * @param {*} [options] Override http request option.
2538
2681
  * @param {Configuration} [configuration] Optional configuration.
2539
2682
  * @throws {RequiredError}
2540
2683
  */
2541
- export async function ActionsApiAxiosParamCreator_TestLlmProviderById(llmProviderId, options = {}, configuration) {
2684
+ export async function ActionsApiAxiosParamCreator_TestLlmProviderById(llmProviderId, testLlmProviderByIdRequest, options = {}, configuration) {
2542
2685
  // verify required parameter 'llmProviderId' is not null or undefined
2543
2686
  assertParamExists('testLlmProviderById', 'llmProviderId', llmProviderId);
2544
2687
  const localVarPath = `/api/v1/actions/ai/llmProvider/{llmProviderId}/test`
@@ -2552,6 +2695,53 @@ export async function ActionsApiAxiosParamCreator_TestLlmProviderById(llmProvide
2552
2695
  const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
2553
2696
  const localVarHeaderParameter = {};
2554
2697
  const localVarQueryParameter = {};
2698
+ const consumes = [
2699
+ 'application/json'
2700
+ ];
2701
+ // use application/json if present, otherwise fallback to the first one
2702
+ localVarHeaderParameter['Content-Type'] = consumes.includes('application/json')
2703
+ ? 'application/json'
2704
+ : consumes[0];
2705
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2706
+ const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
2707
+ localVarRequestOptions.headers = {
2708
+ ...localVarHeaderParameter,
2709
+ ...headersFromBaseOptions,
2710
+ ...options.headers,
2711
+ };
2712
+ const needsSerialization = typeof testLlmProviderByIdRequest !== "string" ||
2713
+ localVarRequestOptions.headers["Content-Type"] === "application/json";
2714
+ localVarRequestOptions.data = needsSerialization
2715
+ ? JSON.stringify(testLlmProviderByIdRequest !== undefined ? testLlmProviderByIdRequest : {})
2716
+ : testLlmProviderByIdRequest || "";
2717
+ return {
2718
+ url: toPathString(localVarUrlObj),
2719
+ options: localVarRequestOptions,
2720
+ };
2721
+ }
2722
+ // ActionsApi FP - ActionsApiAxiosParamCreator
2723
+ /**
2724
+ * Returns a list of trending objects for this workspace
2725
+ * @summary Get Trending Analytics Catalog Objects
2726
+ * @param {string} workspaceId Workspace identifier
2727
+ * @param {*} [options] Override http request option.
2728
+ * @param {Configuration} [configuration] Optional configuration.
2729
+ * @throws {RequiredError}
2730
+ */
2731
+ export async function ActionsApiAxiosParamCreator_TrendingObjects(workspaceId, options = {}, configuration) {
2732
+ // verify required parameter 'workspaceId' is not null or undefined
2733
+ assertParamExists('trendingObjects', 'workspaceId', workspaceId);
2734
+ const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/ai/analyticsCatalog/trendingObjects`
2735
+ .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
2736
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2737
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2738
+ let baseOptions;
2739
+ if (configuration) {
2740
+ baseOptions = configuration.baseOptions;
2741
+ }
2742
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
2743
+ const localVarHeaderParameter = {};
2744
+ const localVarQueryParameter = {};
2555
2745
  setSearchParams(localVarUrlObj, localVarQueryParameter);
2556
2746
  const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
2557
2747
  localVarRequestOptions.headers = {
@@ -3227,7 +3417,37 @@ export async function ActionsApi_KeyDriverAnalysisResult(axios, basePath, reques
3227
3417
  * @throws {RequiredError}
3228
3418
  */
3229
3419
  export async function ActionsApi_ListDocuments(axios, basePath, requestParameters, options, configuration) {
3230
- const localVarAxiosArgs = await ActionsApiAxiosParamCreator_ListDocuments(requestParameters.workspaceId, requestParameters.scopes, requestParameters.size, requestParameters.pageToken, requestParameters.query, requestParameters.state, requestParameters.metaInclude, options || {}, configuration);
3420
+ const localVarAxiosArgs = await ActionsApiAxiosParamCreator_ListDocuments(requestParameters.workspaceId, requestParameters.scopes, requestParameters.size, requestParameters.pageToken, requestParameters.metaInclude, requestParameters.state, requestParameters.query, options || {}, configuration);
3421
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
3422
+ }
3423
+ // ActionsApi Api FP
3424
+ /**
3425
+ * 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.
3426
+ * @summary List LLM Provider Models
3427
+ * @param {AxiosInstance} axios Axios instance.
3428
+ * @param {string} basePath Base path.
3429
+ * @param {ActionsApiListLlmProviderModelsRequest} requestParameters Request parameters.
3430
+ * @param {*} [options] Override http request option.
3431
+ * @param {Configuration} [configuration] Optional configuration.
3432
+ * @throws {RequiredError}
3433
+ */
3434
+ export async function ActionsApi_ListLlmProviderModels(axios, basePath, requestParameters, options, configuration) {
3435
+ const localVarAxiosArgs = await ActionsApiAxiosParamCreator_ListLlmProviderModels(requestParameters.listLlmProviderModelsRequest, options || {}, configuration);
3436
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
3437
+ }
3438
+ // ActionsApi Api FP
3439
+ /**
3440
+ * Lists models available on an existing LLM provider by its ID. For Azure AI Foundry providers, the model family will be set to UNKNOWN because the endpoint does not expose the family.
3441
+ * @summary List LLM Provider Models By Id
3442
+ * @param {AxiosInstance} axios Axios instance.
3443
+ * @param {string} basePath Base path.
3444
+ * @param {ActionsApiListLlmProviderModelsByIdRequest} requestParameters Request parameters.
3445
+ * @param {*} [options] Override http request option.
3446
+ * @param {Configuration} [configuration] Optional configuration.
3447
+ * @throws {RequiredError}
3448
+ */
3449
+ export async function ActionsApi_ListLlmProviderModelsById(axios, basePath, requestParameters, options, configuration) {
3450
+ const localVarAxiosArgs = await ActionsApiAxiosParamCreator_ListLlmProviderModelsById(requestParameters.llmProviderId, options || {}, configuration);
3231
3451
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
3232
3452
  }
3233
3453
  // ActionsApi Api FP
@@ -3390,7 +3610,22 @@ export async function ActionsApi_TestLlmProvider(axios, basePath, requestParamet
3390
3610
  * @throws {RequiredError}
3391
3611
  */
3392
3612
  export async function ActionsApi_TestLlmProviderById(axios, basePath, requestParameters, options, configuration) {
3393
- const localVarAxiosArgs = await ActionsApiAxiosParamCreator_TestLlmProviderById(requestParameters.llmProviderId, options || {}, configuration);
3613
+ const localVarAxiosArgs = await ActionsApiAxiosParamCreator_TestLlmProviderById(requestParameters.llmProviderId, requestParameters.testLlmProviderByIdRequest, options || {}, configuration);
3614
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
3615
+ }
3616
+ // ActionsApi Api FP
3617
+ /**
3618
+ * Returns a list of trending objects for this workspace
3619
+ * @summary Get Trending Analytics Catalog Objects
3620
+ * @param {AxiosInstance} axios Axios instance.
3621
+ * @param {string} basePath Base path.
3622
+ * @param {ActionsApiTrendingObjectsRequest} requestParameters Request parameters.
3623
+ * @param {*} [options] Override http request option.
3624
+ * @param {Configuration} [configuration] Optional configuration.
3625
+ * @throws {RequiredError}
3626
+ */
3627
+ export async function ActionsApi_TrendingObjects(axios, basePath, requestParameters, options, configuration) {
3628
+ const localVarAxiosArgs = await ActionsApiAxiosParamCreator_TrendingObjects(requestParameters.workspaceId, options || {}, configuration);
3394
3629
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
3395
3630
  }
3396
3631
  // ActionsApi Api FP
@@ -3815,6 +4050,28 @@ export class ActionsApi extends BaseAPI {
3815
4050
  listDocuments(requestParameters, options) {
3816
4051
  return ActionsApi_ListDocuments(this.axios, this.basePath, requestParameters, options, this.configuration);
3817
4052
  }
4053
+ /**
4054
+ * 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.
4055
+ * @summary List LLM Provider Models
4056
+ * @param {ActionsApiListLlmProviderModelsRequest} requestParameters Request parameters.
4057
+ * @param {*} [options] Override http request option.
4058
+ * @throws {RequiredError}
4059
+ * @memberof ActionsApi
4060
+ */
4061
+ listLlmProviderModels(requestParameters, options) {
4062
+ return ActionsApi_ListLlmProviderModels(this.axios, this.basePath, requestParameters, options, this.configuration);
4063
+ }
4064
+ /**
4065
+ * Lists models available on an existing LLM provider by its ID. For Azure AI Foundry providers, the model family will be set to UNKNOWN because the endpoint does not expose the family.
4066
+ * @summary List LLM Provider Models By Id
4067
+ * @param {ActionsApiListLlmProviderModelsByIdRequest} requestParameters Request parameters.
4068
+ * @param {*} [options] Override http request option.
4069
+ * @throws {RequiredError}
4070
+ * @memberof ActionsApi
4071
+ */
4072
+ listLlmProviderModelsById(requestParameters, options) {
4073
+ return ActionsApi_ListLlmProviderModelsById(this.axios, this.basePath, requestParameters, options, this.configuration);
4074
+ }
3818
4075
  /**
3819
4076
  * Returns a list of Users who created any memory item for this workspace
3820
4077
  * @summary Get AI Memory CreatedBy Users
@@ -3934,6 +4191,17 @@ export class ActionsApi extends BaseAPI {
3934
4191
  testLlmProviderById(requestParameters, options) {
3935
4192
  return ActionsApi_TestLlmProviderById(this.axios, this.basePath, requestParameters, options, this.configuration);
3936
4193
  }
4194
+ /**
4195
+ * Returns a list of trending objects for this workspace
4196
+ * @summary Get Trending Analytics Catalog Objects
4197
+ * @param {ActionsApiTrendingObjectsRequest} requestParameters Request parameters.
4198
+ * @param {*} [options] Override http request option.
4199
+ * @throws {RequiredError}
4200
+ * @memberof ActionsApi
4201
+ */
4202
+ trendingObjects(requestParameters, options) {
4203
+ return ActionsApi_TrendingObjects(this.axios, this.basePath, requestParameters, options, this.configuration);
4204
+ }
3937
4205
  /**
3938
4206
  * Triggers asynchronous calculation of metadata quality issues and returns a process ID for status tracking.
3939
4207
  * @summary Trigger Quality Issues Calculation
@@ -5819,6 +6087,87 @@ export async function SmartFunctionsApiAxiosParamCreator_GetQualityIssuesCalcula
5819
6087
  };
5820
6088
  }
5821
6089
  // SmartFunctionsApi FP - SmartFunctionsApiAxiosParamCreator
6090
+ /**
6091
+ * 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.
6092
+ * @summary List LLM Provider Models
6093
+ * @param {ListLlmProviderModelsRequest} listLlmProviderModelsRequest
6094
+ * @param {*} [options] Override http request option.
6095
+ * @param {Configuration} [configuration] Optional configuration.
6096
+ * @throws {RequiredError}
6097
+ */
6098
+ export async function SmartFunctionsApiAxiosParamCreator_ListLlmProviderModels(listLlmProviderModelsRequest, options = {}, configuration) {
6099
+ // verify required parameter 'listLlmProviderModelsRequest' is not null or undefined
6100
+ assertParamExists('listLlmProviderModels', 'listLlmProviderModelsRequest', listLlmProviderModelsRequest);
6101
+ const localVarPath = `/api/v1/actions/ai/llmProvider/listModels`;
6102
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
6103
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
6104
+ let baseOptions;
6105
+ if (configuration) {
6106
+ baseOptions = configuration.baseOptions;
6107
+ }
6108
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
6109
+ const localVarHeaderParameter = {};
6110
+ const localVarQueryParameter = {};
6111
+ const consumes = [
6112
+ 'application/json'
6113
+ ];
6114
+ // use application/json if present, otherwise fallback to the first one
6115
+ localVarHeaderParameter['Content-Type'] = consumes.includes('application/json')
6116
+ ? 'application/json'
6117
+ : consumes[0];
6118
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
6119
+ const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
6120
+ localVarRequestOptions.headers = {
6121
+ ...localVarHeaderParameter,
6122
+ ...headersFromBaseOptions,
6123
+ ...options.headers,
6124
+ };
6125
+ const needsSerialization = typeof listLlmProviderModelsRequest !== "string" ||
6126
+ localVarRequestOptions.headers["Content-Type"] === "application/json";
6127
+ localVarRequestOptions.data = needsSerialization
6128
+ ? JSON.stringify(listLlmProviderModelsRequest !== undefined ? listLlmProviderModelsRequest : {})
6129
+ : listLlmProviderModelsRequest || "";
6130
+ return {
6131
+ url: toPathString(localVarUrlObj),
6132
+ options: localVarRequestOptions,
6133
+ };
6134
+ }
6135
+ // SmartFunctionsApi FP - SmartFunctionsApiAxiosParamCreator
6136
+ /**
6137
+ * Lists models available on an existing LLM provider by its ID. For Azure AI Foundry providers, the model family will be set to UNKNOWN because the endpoint does not expose the family.
6138
+ * @summary List LLM Provider Models By Id
6139
+ * @param {string} llmProviderId
6140
+ * @param {*} [options] Override http request option.
6141
+ * @param {Configuration} [configuration] Optional configuration.
6142
+ * @throws {RequiredError}
6143
+ */
6144
+ export async function SmartFunctionsApiAxiosParamCreator_ListLlmProviderModelsById(llmProviderId, options = {}, configuration) {
6145
+ // verify required parameter 'llmProviderId' is not null or undefined
6146
+ assertParamExists('listLlmProviderModelsById', 'llmProviderId', llmProviderId);
6147
+ const localVarPath = `/api/v1/actions/ai/llmProvider/{llmProviderId}/listModels`
6148
+ .replace(`{${"llmProviderId"}}`, encodeURIComponent(String(llmProviderId)));
6149
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
6150
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
6151
+ let baseOptions;
6152
+ if (configuration) {
6153
+ baseOptions = configuration.baseOptions;
6154
+ }
6155
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
6156
+ const localVarHeaderParameter = {};
6157
+ const localVarQueryParameter = {};
6158
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
6159
+ const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
6160
+ localVarRequestOptions.headers = {
6161
+ ...localVarHeaderParameter,
6162
+ ...headersFromBaseOptions,
6163
+ ...options.headers,
6164
+ };
6165
+ return {
6166
+ url: toPathString(localVarUrlObj),
6167
+ options: localVarRequestOptions,
6168
+ };
6169
+ }
6170
+ // SmartFunctionsApi FP - SmartFunctionsApiAxiosParamCreator
5822
6171
  /**
5823
6172
  * Returns a list of Users who created any memory item for this workspace
5824
6173
  * @summary Get AI Memory CreatedBy Users
@@ -5974,11 +6323,12 @@ export async function SmartFunctionsApiAxiosParamCreator_TestLlmProvider(testLlm
5974
6323
  * Tests an existing LLM provider connectivity by its ID.
5975
6324
  * @summary Test LLM Provider By Id
5976
6325
  * @param {string} llmProviderId
6326
+ * @param {TestLlmProviderByIdRequest} [testLlmProviderByIdRequest]
5977
6327
  * @param {*} [options] Override http request option.
5978
6328
  * @param {Configuration} [configuration] Optional configuration.
5979
6329
  * @throws {RequiredError}
5980
6330
  */
5981
- export async function SmartFunctionsApiAxiosParamCreator_TestLlmProviderById(llmProviderId, options = {}, configuration) {
6331
+ export async function SmartFunctionsApiAxiosParamCreator_TestLlmProviderById(llmProviderId, testLlmProviderByIdRequest, options = {}, configuration) {
5982
6332
  // verify required parameter 'llmProviderId' is not null or undefined
5983
6333
  assertParamExists('testLlmProviderById', 'llmProviderId', llmProviderId);
5984
6334
  const localVarPath = `/api/v1/actions/ai/llmProvider/{llmProviderId}/test`
@@ -5992,6 +6342,53 @@ export async function SmartFunctionsApiAxiosParamCreator_TestLlmProviderById(llm
5992
6342
  const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
5993
6343
  const localVarHeaderParameter = {};
5994
6344
  const localVarQueryParameter = {};
6345
+ const consumes = [
6346
+ 'application/json'
6347
+ ];
6348
+ // use application/json if present, otherwise fallback to the first one
6349
+ localVarHeaderParameter['Content-Type'] = consumes.includes('application/json')
6350
+ ? 'application/json'
6351
+ : consumes[0];
6352
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
6353
+ const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
6354
+ localVarRequestOptions.headers = {
6355
+ ...localVarHeaderParameter,
6356
+ ...headersFromBaseOptions,
6357
+ ...options.headers,
6358
+ };
6359
+ const needsSerialization = typeof testLlmProviderByIdRequest !== "string" ||
6360
+ localVarRequestOptions.headers["Content-Type"] === "application/json";
6361
+ localVarRequestOptions.data = needsSerialization
6362
+ ? JSON.stringify(testLlmProviderByIdRequest !== undefined ? testLlmProviderByIdRequest : {})
6363
+ : testLlmProviderByIdRequest || "";
6364
+ return {
6365
+ url: toPathString(localVarUrlObj),
6366
+ options: localVarRequestOptions,
6367
+ };
6368
+ }
6369
+ // SmartFunctionsApi FP - SmartFunctionsApiAxiosParamCreator
6370
+ /**
6371
+ * Returns a list of trending objects for this workspace
6372
+ * @summary Get Trending Analytics Catalog Objects
6373
+ * @param {string} workspaceId Workspace identifier
6374
+ * @param {*} [options] Override http request option.
6375
+ * @param {Configuration} [configuration] Optional configuration.
6376
+ * @throws {RequiredError}
6377
+ */
6378
+ export async function SmartFunctionsApiAxiosParamCreator_TrendingObjects(workspaceId, options = {}, configuration) {
6379
+ // verify required parameter 'workspaceId' is not null or undefined
6380
+ assertParamExists('trendingObjects', 'workspaceId', workspaceId);
6381
+ const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/ai/analyticsCatalog/trendingObjects`
6382
+ .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
6383
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
6384
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
6385
+ let baseOptions;
6386
+ if (configuration) {
6387
+ baseOptions = configuration.baseOptions;
6388
+ }
6389
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
6390
+ const localVarHeaderParameter = {};
6391
+ const localVarQueryParameter = {};
5995
6392
  setSearchParams(localVarUrlObj, localVarQueryParameter);
5996
6393
  const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
5997
6394
  localVarRequestOptions.headers = {
@@ -6374,6 +6771,36 @@ export async function SmartFunctionsApi_GetQualityIssuesCalculationStatus(axios,
6374
6771
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
6375
6772
  }
6376
6773
  // SmartFunctionsApi Api FP
6774
+ /**
6775
+ * 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.
6776
+ * @summary List LLM Provider Models
6777
+ * @param {AxiosInstance} axios Axios instance.
6778
+ * @param {string} basePath Base path.
6779
+ * @param {SmartFunctionsApiListLlmProviderModelsRequest} requestParameters Request parameters.
6780
+ * @param {*} [options] Override http request option.
6781
+ * @param {Configuration} [configuration] Optional configuration.
6782
+ * @throws {RequiredError}
6783
+ */
6784
+ export async function SmartFunctionsApi_ListLlmProviderModels(axios, basePath, requestParameters, options, configuration) {
6785
+ const localVarAxiosArgs = await SmartFunctionsApiAxiosParamCreator_ListLlmProviderModels(requestParameters.listLlmProviderModelsRequest, options || {}, configuration);
6786
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
6787
+ }
6788
+ // SmartFunctionsApi Api FP
6789
+ /**
6790
+ * Lists models available on an existing LLM provider by its ID. For Azure AI Foundry providers, the model family will be set to UNKNOWN because the endpoint does not expose the family.
6791
+ * @summary List LLM Provider Models By Id
6792
+ * @param {AxiosInstance} axios Axios instance.
6793
+ * @param {string} basePath Base path.
6794
+ * @param {SmartFunctionsApiListLlmProviderModelsByIdRequest} requestParameters Request parameters.
6795
+ * @param {*} [options] Override http request option.
6796
+ * @param {Configuration} [configuration] Optional configuration.
6797
+ * @throws {RequiredError}
6798
+ */
6799
+ export async function SmartFunctionsApi_ListLlmProviderModelsById(axios, basePath, requestParameters, options, configuration) {
6800
+ const localVarAxiosArgs = await SmartFunctionsApiAxiosParamCreator_ListLlmProviderModelsById(requestParameters.llmProviderId, options || {}, configuration);
6801
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
6802
+ }
6803
+ // SmartFunctionsApi Api FP
6377
6804
  /**
6378
6805
  * Returns a list of Users who created any memory item for this workspace
6379
6806
  * @summary Get AI Memory CreatedBy Users
@@ -6445,7 +6872,22 @@ export async function SmartFunctionsApi_TestLlmProvider(axios, basePath, request
6445
6872
  * @throws {RequiredError}
6446
6873
  */
6447
6874
  export async function SmartFunctionsApi_TestLlmProviderById(axios, basePath, requestParameters, options, configuration) {
6448
- const localVarAxiosArgs = await SmartFunctionsApiAxiosParamCreator_TestLlmProviderById(requestParameters.llmProviderId, options || {}, configuration);
6875
+ const localVarAxiosArgs = await SmartFunctionsApiAxiosParamCreator_TestLlmProviderById(requestParameters.llmProviderId, requestParameters.testLlmProviderByIdRequest, options || {}, configuration);
6876
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
6877
+ }
6878
+ // SmartFunctionsApi Api FP
6879
+ /**
6880
+ * Returns a list of trending objects for this workspace
6881
+ * @summary Get Trending Analytics Catalog Objects
6882
+ * @param {AxiosInstance} axios Axios instance.
6883
+ * @param {string} basePath Base path.
6884
+ * @param {SmartFunctionsApiTrendingObjectsRequest} requestParameters Request parameters.
6885
+ * @param {*} [options] Override http request option.
6886
+ * @param {Configuration} [configuration] Optional configuration.
6887
+ * @throws {RequiredError}
6888
+ */
6889
+ export async function SmartFunctionsApi_TrendingObjects(axios, basePath, requestParameters, options, configuration) {
6890
+ const localVarAxiosArgs = await SmartFunctionsApiAxiosParamCreator_TrendingObjects(requestParameters.workspaceId, options || {}, configuration);
6449
6891
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
6450
6892
  }
6451
6893
  // SmartFunctionsApi Api FP
@@ -6676,6 +7118,28 @@ export class SmartFunctionsApi extends BaseAPI {
6676
7118
  getQualityIssuesCalculationStatus(requestParameters, options) {
6677
7119
  return SmartFunctionsApi_GetQualityIssuesCalculationStatus(this.axios, this.basePath, requestParameters, options, this.configuration);
6678
7120
  }
7121
+ /**
7122
+ * 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.
7123
+ * @summary List LLM Provider Models
7124
+ * @param {SmartFunctionsApiListLlmProviderModelsRequest} requestParameters Request parameters.
7125
+ * @param {*} [options] Override http request option.
7126
+ * @throws {RequiredError}
7127
+ * @memberof SmartFunctionsApi
7128
+ */
7129
+ listLlmProviderModels(requestParameters, options) {
7130
+ return SmartFunctionsApi_ListLlmProviderModels(this.axios, this.basePath, requestParameters, options, this.configuration);
7131
+ }
7132
+ /**
7133
+ * Lists models available on an existing LLM provider by its ID. For Azure AI Foundry providers, the model family will be set to UNKNOWN because the endpoint does not expose the family.
7134
+ * @summary List LLM Provider Models By Id
7135
+ * @param {SmartFunctionsApiListLlmProviderModelsByIdRequest} requestParameters Request parameters.
7136
+ * @param {*} [options] Override http request option.
7137
+ * @throws {RequiredError}
7138
+ * @memberof SmartFunctionsApi
7139
+ */
7140
+ listLlmProviderModelsById(requestParameters, options) {
7141
+ return SmartFunctionsApi_ListLlmProviderModelsById(this.axios, this.basePath, requestParameters, options, this.configuration);
7142
+ }
6679
7143
  /**
6680
7144
  * Returns a list of Users who created any memory item for this workspace
6681
7145
  * @summary Get AI Memory CreatedBy Users
@@ -6731,6 +7195,17 @@ export class SmartFunctionsApi extends BaseAPI {
6731
7195
  testLlmProviderById(requestParameters, options) {
6732
7196
  return SmartFunctionsApi_TestLlmProviderById(this.axios, this.basePath, requestParameters, options, this.configuration);
6733
7197
  }
7198
+ /**
7199
+ * Returns a list of trending objects for this workspace
7200
+ * @summary Get Trending Analytics Catalog Objects
7201
+ * @param {SmartFunctionsApiTrendingObjectsRequest} requestParameters Request parameters.
7202
+ * @param {*} [options] Override http request option.
7203
+ * @throws {RequiredError}
7204
+ * @memberof SmartFunctionsApi
7205
+ */
7206
+ trendingObjects(requestParameters, options) {
7207
+ return SmartFunctionsApi_TrendingObjects(this.axios, this.basePath, requestParameters, options, this.configuration);
7208
+ }
6734
7209
  /**
6735
7210
  * Triggers asynchronous calculation of metadata quality issues and returns a process ID for status tracking.
6736
7211
  * @summary Trigger Quality Issues Calculation