qanswer-sdk 3.1330.0-main → 3.1333.0-main
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api.ts +151 -27
- package/dist/api.d.ts +127 -18
- package/dist/api.js +39 -24
- package/package.json +1 -1
- package/qanswer-sdk-3.1333.0-main.tgz +0 -0
- package/qanswer-sdk-3.1330.0-main.tgz +0 -0
package/api.ts
CHANGED
|
@@ -7592,6 +7592,12 @@ export interface Llm {
|
|
|
7592
7592
|
* @memberof Llm
|
|
7593
7593
|
*/
|
|
7594
7594
|
'isActive'?: boolean;
|
|
7595
|
+
/**
|
|
7596
|
+
*
|
|
7597
|
+
* @type {boolean}
|
|
7598
|
+
* @memberof Llm
|
|
7599
|
+
*/
|
|
7600
|
+
'isShared'?: boolean;
|
|
7595
7601
|
/**
|
|
7596
7602
|
*
|
|
7597
7603
|
* @type {Logo}
|
|
@@ -8773,10 +8779,10 @@ export type OrganizationSharedAccessTypeEnum = typeof OrganizationSharedAccessTy
|
|
|
8773
8779
|
export interface PaginatedReportTemplates {
|
|
8774
8780
|
/**
|
|
8775
8781
|
*
|
|
8776
|
-
* @type {Array<
|
|
8782
|
+
* @type {Array<ReportTemplateSimplified>}
|
|
8777
8783
|
* @memberof PaginatedReportTemplates
|
|
8778
8784
|
*/
|
|
8779
|
-
'items': Array<
|
|
8785
|
+
'items': Array<ReportTemplateSimplified>;
|
|
8780
8786
|
/**
|
|
8781
8787
|
*
|
|
8782
8788
|
* @type {number}
|
|
@@ -11079,34 +11085,34 @@ export interface ReportTemplate {
|
|
|
11079
11085
|
'is_duplicated': boolean;
|
|
11080
11086
|
/**
|
|
11081
11087
|
*
|
|
11082
|
-
* @type {
|
|
11088
|
+
* @type {boolean}
|
|
11083
11089
|
* @memberof ReportTemplate
|
|
11084
11090
|
*/
|
|
11085
|
-
'
|
|
11091
|
+
'is_generating'?: boolean;
|
|
11086
11092
|
/**
|
|
11087
11093
|
*
|
|
11088
|
-
* @type {
|
|
11094
|
+
* @type {number}
|
|
11089
11095
|
* @memberof ReportTemplate
|
|
11090
11096
|
*/
|
|
11091
|
-
'
|
|
11097
|
+
'active_slot_id'?: number;
|
|
11092
11098
|
/**
|
|
11093
11099
|
*
|
|
11094
|
-
* @type {
|
|
11100
|
+
* @type {string}
|
|
11095
11101
|
* @memberof ReportTemplate
|
|
11096
11102
|
*/
|
|
11097
|
-
'
|
|
11103
|
+
'template_with_slots': string;
|
|
11098
11104
|
/**
|
|
11099
11105
|
*
|
|
11100
|
-
* @type {
|
|
11106
|
+
* @type {Array<Slot>}
|
|
11101
11107
|
* @memberof ReportTemplate
|
|
11102
11108
|
*/
|
|
11103
|
-
'
|
|
11109
|
+
'slots': Array<Slot>;
|
|
11104
11110
|
/**
|
|
11105
11111
|
*
|
|
11106
|
-
* @type {
|
|
11112
|
+
* @type {TemplateClipStructureOutput}
|
|
11107
11113
|
* @memberof ReportTemplate
|
|
11108
11114
|
*/
|
|
11109
|
-
'
|
|
11115
|
+
'clip_structure'?: TemplateClipStructureOutput;
|
|
11110
11116
|
}
|
|
11111
11117
|
/**
|
|
11112
11118
|
*
|
|
@@ -11151,6 +11157,85 @@ export interface ReportTemplateCreatePayload {
|
|
|
11151
11157
|
*/
|
|
11152
11158
|
'slots': Array<SlotUpdate>;
|
|
11153
11159
|
}
|
|
11160
|
+
/**
|
|
11161
|
+
*
|
|
11162
|
+
* @export
|
|
11163
|
+
* @interface ReportTemplateSimplified
|
|
11164
|
+
*/
|
|
11165
|
+
export interface ReportTemplateSimplified {
|
|
11166
|
+
/**
|
|
11167
|
+
*
|
|
11168
|
+
* @type {number}
|
|
11169
|
+
* @memberof ReportTemplateSimplified
|
|
11170
|
+
*/
|
|
11171
|
+
'id': number;
|
|
11172
|
+
/**
|
|
11173
|
+
*
|
|
11174
|
+
* @type {string}
|
|
11175
|
+
* @memberof ReportTemplateSimplified
|
|
11176
|
+
*/
|
|
11177
|
+
'username': string;
|
|
11178
|
+
/**
|
|
11179
|
+
*
|
|
11180
|
+
* @type {string}
|
|
11181
|
+
* @memberof ReportTemplateSimplified
|
|
11182
|
+
*/
|
|
11183
|
+
'author'?: string;
|
|
11184
|
+
/**
|
|
11185
|
+
*
|
|
11186
|
+
* @type {string}
|
|
11187
|
+
* @memberof ReportTemplateSimplified
|
|
11188
|
+
*/
|
|
11189
|
+
'email'?: string;
|
|
11190
|
+
/**
|
|
11191
|
+
*
|
|
11192
|
+
* @type {string}
|
|
11193
|
+
* @memberof ReportTemplateSimplified
|
|
11194
|
+
*/
|
|
11195
|
+
'template_name': string;
|
|
11196
|
+
/**
|
|
11197
|
+
*
|
|
11198
|
+
* @type {string}
|
|
11199
|
+
* @memberof ReportTemplateSimplified
|
|
11200
|
+
*/
|
|
11201
|
+
'creation_date': string;
|
|
11202
|
+
/**
|
|
11203
|
+
*
|
|
11204
|
+
* @type {string}
|
|
11205
|
+
* @memberof ReportTemplateSimplified
|
|
11206
|
+
*/
|
|
11207
|
+
'last_updated': string;
|
|
11208
|
+
/**
|
|
11209
|
+
*
|
|
11210
|
+
* @type {string}
|
|
11211
|
+
* @memberof ReportTemplateSimplified
|
|
11212
|
+
*/
|
|
11213
|
+
'shared_to'?: string;
|
|
11214
|
+
/**
|
|
11215
|
+
*
|
|
11216
|
+
* @type {string}
|
|
11217
|
+
* @memberof ReportTemplateSimplified
|
|
11218
|
+
*/
|
|
11219
|
+
'conversation_id'?: string;
|
|
11220
|
+
/**
|
|
11221
|
+
*
|
|
11222
|
+
* @type {boolean}
|
|
11223
|
+
* @memberof ReportTemplateSimplified
|
|
11224
|
+
*/
|
|
11225
|
+
'is_duplicated': boolean;
|
|
11226
|
+
/**
|
|
11227
|
+
*
|
|
11228
|
+
* @type {boolean}
|
|
11229
|
+
* @memberof ReportTemplateSimplified
|
|
11230
|
+
*/
|
|
11231
|
+
'is_generating'?: boolean;
|
|
11232
|
+
/**
|
|
11233
|
+
*
|
|
11234
|
+
* @type {number}
|
|
11235
|
+
* @memberof ReportTemplateSimplified
|
|
11236
|
+
*/
|
|
11237
|
+
'active_slot_id'?: number;
|
|
11238
|
+
}
|
|
11154
11239
|
/**
|
|
11155
11240
|
*
|
|
11156
11241
|
* @export
|
|
@@ -54897,10 +54982,11 @@ export const ToolLLMApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
54897
54982
|
*
|
|
54898
54983
|
* @summary Create a new LLM endpoint
|
|
54899
54984
|
* @param {LLMEndpointCreate} lLMEndpointCreate
|
|
54985
|
+
* @param {number} [organizationId]
|
|
54900
54986
|
* @param {*} [options] Override http request option.
|
|
54901
54987
|
* @throws {RequiredError}
|
|
54902
54988
|
*/
|
|
54903
|
-
createLlmEndpoint: async (lLMEndpointCreate: LLMEndpointCreate, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
54989
|
+
createLlmEndpoint: async (lLMEndpointCreate: LLMEndpointCreate, organizationId?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
54904
54990
|
// verify required parameter 'lLMEndpointCreate' is not null or undefined
|
|
54905
54991
|
assertParamExists('createLlmEndpoint', 'lLMEndpointCreate', lLMEndpointCreate)
|
|
54906
54992
|
const localVarPath = `/api/tool/llm/`;
|
|
@@ -54922,6 +55008,10 @@ export const ToolLLMApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
54922
55008
|
// http bearer authentication required
|
|
54923
55009
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
54924
55010
|
|
|
55011
|
+
if (organizationId !== undefined) {
|
|
55012
|
+
localVarQueryParameter['organization_id'] = organizationId;
|
|
55013
|
+
}
|
|
55014
|
+
|
|
54925
55015
|
|
|
54926
55016
|
|
|
54927
55017
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
@@ -54940,10 +55030,11 @@ export const ToolLLMApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
54940
55030
|
*
|
|
54941
55031
|
* @summary Delete an LLM endpoint
|
|
54942
55032
|
* @param {number} id
|
|
55033
|
+
* @param {number} [organizationId]
|
|
54943
55034
|
* @param {*} [options] Override http request option.
|
|
54944
55035
|
* @throws {RequiredError}
|
|
54945
55036
|
*/
|
|
54946
|
-
deleteLlmEndpoint: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
55037
|
+
deleteLlmEndpoint: async (id: number, organizationId?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
54947
55038
|
// verify required parameter 'id' is not null or undefined
|
|
54948
55039
|
assertParamExists('deleteLlmEndpoint', 'id', id)
|
|
54949
55040
|
const localVarPath = `/api/tool/llm/{id}`
|
|
@@ -54966,6 +55057,10 @@ export const ToolLLMApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
54966
55057
|
// http bearer authentication required
|
|
54967
55058
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
54968
55059
|
|
|
55060
|
+
if (organizationId !== undefined) {
|
|
55061
|
+
localVarQueryParameter['organization_id'] = organizationId;
|
|
55062
|
+
}
|
|
55063
|
+
|
|
54969
55064
|
|
|
54970
55065
|
|
|
54971
55066
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -55652,10 +55747,11 @@ export const ToolLLMApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
55652
55747
|
* @summary Update an LLM endpoint
|
|
55653
55748
|
* @param {number} id
|
|
55654
55749
|
* @param {LLMEndpointUpdate} lLMEndpointUpdate
|
|
55750
|
+
* @param {number} [organizationId]
|
|
55655
55751
|
* @param {*} [options] Override http request option.
|
|
55656
55752
|
* @throws {RequiredError}
|
|
55657
55753
|
*/
|
|
55658
|
-
updateLlmEndpoint: async (id: number, lLMEndpointUpdate: LLMEndpointUpdate, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
55754
|
+
updateLlmEndpoint: async (id: number, lLMEndpointUpdate: LLMEndpointUpdate, organizationId?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
55659
55755
|
// verify required parameter 'id' is not null or undefined
|
|
55660
55756
|
assertParamExists('updateLlmEndpoint', 'id', id)
|
|
55661
55757
|
// verify required parameter 'lLMEndpointUpdate' is not null or undefined
|
|
@@ -55680,6 +55776,10 @@ export const ToolLLMApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
55680
55776
|
// http bearer authentication required
|
|
55681
55777
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
55682
55778
|
|
|
55779
|
+
if (organizationId !== undefined) {
|
|
55780
|
+
localVarQueryParameter['organization_id'] = organizationId;
|
|
55781
|
+
}
|
|
55782
|
+
|
|
55683
55783
|
|
|
55684
55784
|
|
|
55685
55785
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
@@ -55750,11 +55850,12 @@ export const ToolLLMApiFp = function(configuration?: Configuration) {
|
|
|
55750
55850
|
*
|
|
55751
55851
|
* @summary Create a new LLM endpoint
|
|
55752
55852
|
* @param {LLMEndpointCreate} lLMEndpointCreate
|
|
55853
|
+
* @param {number} [organizationId]
|
|
55753
55854
|
* @param {*} [options] Override http request option.
|
|
55754
55855
|
* @throws {RequiredError}
|
|
55755
55856
|
*/
|
|
55756
|
-
async createLlmEndpoint(lLMEndpointCreate: LLMEndpointCreate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LLMEndpoint>> {
|
|
55757
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.createLlmEndpoint(lLMEndpointCreate, options);
|
|
55857
|
+
async createLlmEndpoint(lLMEndpointCreate: LLMEndpointCreate, organizationId?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LLMEndpoint>> {
|
|
55858
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createLlmEndpoint(lLMEndpointCreate, organizationId, options);
|
|
55758
55859
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
55759
55860
|
const localVarOperationServerBasePath = operationServerMap['ToolLLMApi.createLlmEndpoint']?.[localVarOperationServerIndex]?.url;
|
|
55760
55861
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -55763,11 +55864,12 @@ export const ToolLLMApiFp = function(configuration?: Configuration) {
|
|
|
55763
55864
|
*
|
|
55764
55865
|
* @summary Delete an LLM endpoint
|
|
55765
55866
|
* @param {number} id
|
|
55867
|
+
* @param {number} [organizationId]
|
|
55766
55868
|
* @param {*} [options] Override http request option.
|
|
55767
55869
|
* @throws {RequiredError}
|
|
55768
55870
|
*/
|
|
55769
|
-
async deleteLlmEndpoint(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
55770
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteLlmEndpoint(id, options);
|
|
55871
|
+
async deleteLlmEndpoint(id: number, organizationId?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
55872
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteLlmEndpoint(id, organizationId, options);
|
|
55771
55873
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
55772
55874
|
const localVarOperationServerBasePath = operationServerMap['ToolLLMApi.deleteLlmEndpoint']?.[localVarOperationServerIndex]?.url;
|
|
55773
55875
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -55975,11 +56077,12 @@ export const ToolLLMApiFp = function(configuration?: Configuration) {
|
|
|
55975
56077
|
* @summary Update an LLM endpoint
|
|
55976
56078
|
* @param {number} id
|
|
55977
56079
|
* @param {LLMEndpointUpdate} lLMEndpointUpdate
|
|
56080
|
+
* @param {number} [organizationId]
|
|
55978
56081
|
* @param {*} [options] Override http request option.
|
|
55979
56082
|
* @throws {RequiredError}
|
|
55980
56083
|
*/
|
|
55981
|
-
async updateLlmEndpoint(id: number, lLMEndpointUpdate: LLMEndpointUpdate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LLMEndpoint>> {
|
|
55982
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.updateLlmEndpoint(id, lLMEndpointUpdate, options);
|
|
56084
|
+
async updateLlmEndpoint(id: number, lLMEndpointUpdate: LLMEndpointUpdate, organizationId?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LLMEndpoint>> {
|
|
56085
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateLlmEndpoint(id, lLMEndpointUpdate, organizationId, options);
|
|
55983
56086
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
55984
56087
|
const localVarOperationServerBasePath = operationServerMap['ToolLLMApi.updateLlmEndpoint']?.[localVarOperationServerIndex]?.url;
|
|
55985
56088
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -56016,7 +56119,7 @@ export const ToolLLMApiFactory = function (configuration?: Configuration, basePa
|
|
|
56016
56119
|
* @throws {RequiredError}
|
|
56017
56120
|
*/
|
|
56018
56121
|
createLlmEndpoint(requestParameters: ToolLLMApiCreateLlmEndpointRequest, options?: RawAxiosRequestConfig): AxiosPromise<LLMEndpoint> {
|
|
56019
|
-
return localVarFp.createLlmEndpoint(requestParameters.lLMEndpointCreate, options).then((request) => request(axios, basePath));
|
|
56122
|
+
return localVarFp.createLlmEndpoint(requestParameters.lLMEndpointCreate, requestParameters.organizationId, options).then((request) => request(axios, basePath));
|
|
56020
56123
|
},
|
|
56021
56124
|
/**
|
|
56022
56125
|
*
|
|
@@ -56026,7 +56129,7 @@ export const ToolLLMApiFactory = function (configuration?: Configuration, basePa
|
|
|
56026
56129
|
* @throws {RequiredError}
|
|
56027
56130
|
*/
|
|
56028
56131
|
deleteLlmEndpoint(requestParameters: ToolLLMApiDeleteLlmEndpointRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
56029
|
-
return localVarFp.deleteLlmEndpoint(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
56132
|
+
return localVarFp.deleteLlmEndpoint(requestParameters.id, requestParameters.organizationId, options).then((request) => request(axios, basePath));
|
|
56030
56133
|
},
|
|
56031
56134
|
/**
|
|
56032
56135
|
*
|
|
@@ -56184,7 +56287,7 @@ export const ToolLLMApiFactory = function (configuration?: Configuration, basePa
|
|
|
56184
56287
|
* @throws {RequiredError}
|
|
56185
56288
|
*/
|
|
56186
56289
|
updateLlmEndpoint(requestParameters: ToolLLMApiUpdateLlmEndpointRequest, options?: RawAxiosRequestConfig): AxiosPromise<LLMEndpoint> {
|
|
56187
|
-
return localVarFp.updateLlmEndpoint(requestParameters.id, requestParameters.lLMEndpointUpdate, options).then((request) => request(axios, basePath));
|
|
56290
|
+
return localVarFp.updateLlmEndpoint(requestParameters.id, requestParameters.lLMEndpointUpdate, requestParameters.organizationId, options).then((request) => request(axios, basePath));
|
|
56188
56291
|
},
|
|
56189
56292
|
/**
|
|
56190
56293
|
*
|
|
@@ -56211,6 +56314,13 @@ export interface ToolLLMApiCreateLlmEndpointRequest {
|
|
|
56211
56314
|
* @memberof ToolLLMApiCreateLlmEndpoint
|
|
56212
56315
|
*/
|
|
56213
56316
|
readonly lLMEndpointCreate: LLMEndpointCreate
|
|
56317
|
+
|
|
56318
|
+
/**
|
|
56319
|
+
*
|
|
56320
|
+
* @type {number}
|
|
56321
|
+
* @memberof ToolLLMApiCreateLlmEndpoint
|
|
56322
|
+
*/
|
|
56323
|
+
readonly organizationId?: number
|
|
56214
56324
|
}
|
|
56215
56325
|
|
|
56216
56326
|
/**
|
|
@@ -56225,6 +56335,13 @@ export interface ToolLLMApiDeleteLlmEndpointRequest {
|
|
|
56225
56335
|
* @memberof ToolLLMApiDeleteLlmEndpoint
|
|
56226
56336
|
*/
|
|
56227
56337
|
readonly id: number
|
|
56338
|
+
|
|
56339
|
+
/**
|
|
56340
|
+
*
|
|
56341
|
+
* @type {number}
|
|
56342
|
+
* @memberof ToolLLMApiDeleteLlmEndpoint
|
|
56343
|
+
*/
|
|
56344
|
+
readonly organizationId?: number
|
|
56228
56345
|
}
|
|
56229
56346
|
|
|
56230
56347
|
/**
|
|
@@ -56477,6 +56594,13 @@ export interface ToolLLMApiUpdateLlmEndpointRequest {
|
|
|
56477
56594
|
* @memberof ToolLLMApiUpdateLlmEndpoint
|
|
56478
56595
|
*/
|
|
56479
56596
|
readonly lLMEndpointUpdate: LLMEndpointUpdate
|
|
56597
|
+
|
|
56598
|
+
/**
|
|
56599
|
+
*
|
|
56600
|
+
* @type {number}
|
|
56601
|
+
* @memberof ToolLLMApiUpdateLlmEndpoint
|
|
56602
|
+
*/
|
|
56603
|
+
readonly organizationId?: number
|
|
56480
56604
|
}
|
|
56481
56605
|
|
|
56482
56606
|
/**
|
|
@@ -56510,7 +56634,7 @@ export class ToolLLMApi extends BaseAPI {
|
|
|
56510
56634
|
* @memberof ToolLLMApi
|
|
56511
56635
|
*/
|
|
56512
56636
|
public createLlmEndpoint(requestParameters: ToolLLMApiCreateLlmEndpointRequest, options?: RawAxiosRequestConfig) {
|
|
56513
|
-
return ToolLLMApiFp(this.configuration).createLlmEndpoint(requestParameters.lLMEndpointCreate, options).then((request) => request(this.axios, this.basePath));
|
|
56637
|
+
return ToolLLMApiFp(this.configuration).createLlmEndpoint(requestParameters.lLMEndpointCreate, requestParameters.organizationId, options).then((request) => request(this.axios, this.basePath));
|
|
56514
56638
|
}
|
|
56515
56639
|
|
|
56516
56640
|
/**
|
|
@@ -56522,7 +56646,7 @@ export class ToolLLMApi extends BaseAPI {
|
|
|
56522
56646
|
* @memberof ToolLLMApi
|
|
56523
56647
|
*/
|
|
56524
56648
|
public deleteLlmEndpoint(requestParameters: ToolLLMApiDeleteLlmEndpointRequest, options?: RawAxiosRequestConfig) {
|
|
56525
|
-
return ToolLLMApiFp(this.configuration).deleteLlmEndpoint(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
56649
|
+
return ToolLLMApiFp(this.configuration).deleteLlmEndpoint(requestParameters.id, requestParameters.organizationId, options).then((request) => request(this.axios, this.basePath));
|
|
56526
56650
|
}
|
|
56527
56651
|
|
|
56528
56652
|
/**
|
|
@@ -56712,7 +56836,7 @@ export class ToolLLMApi extends BaseAPI {
|
|
|
56712
56836
|
* @memberof ToolLLMApi
|
|
56713
56837
|
*/
|
|
56714
56838
|
public updateLlmEndpoint(requestParameters: ToolLLMApiUpdateLlmEndpointRequest, options?: RawAxiosRequestConfig) {
|
|
56715
|
-
return ToolLLMApiFp(this.configuration).updateLlmEndpoint(requestParameters.id, requestParameters.lLMEndpointUpdate, options).then((request) => request(this.axios, this.basePath));
|
|
56839
|
+
return ToolLLMApiFp(this.configuration).updateLlmEndpoint(requestParameters.id, requestParameters.lLMEndpointUpdate, requestParameters.organizationId, options).then((request) => request(this.axios, this.basePath));
|
|
56716
56840
|
}
|
|
56717
56841
|
|
|
56718
56842
|
/**
|
package/dist/api.d.ts
CHANGED
|
@@ -7456,6 +7456,12 @@ export interface Llm {
|
|
|
7456
7456
|
* @memberof Llm
|
|
7457
7457
|
*/
|
|
7458
7458
|
'isActive'?: boolean;
|
|
7459
|
+
/**
|
|
7460
|
+
*
|
|
7461
|
+
* @type {boolean}
|
|
7462
|
+
* @memberof Llm
|
|
7463
|
+
*/
|
|
7464
|
+
'isShared'?: boolean;
|
|
7459
7465
|
/**
|
|
7460
7466
|
*
|
|
7461
7467
|
* @type {Logo}
|
|
@@ -8618,10 +8624,10 @@ export type OrganizationSharedAccessTypeEnum = typeof OrganizationSharedAccessTy
|
|
|
8618
8624
|
export interface PaginatedReportTemplates {
|
|
8619
8625
|
/**
|
|
8620
8626
|
*
|
|
8621
|
-
* @type {Array<
|
|
8627
|
+
* @type {Array<ReportTemplateSimplified>}
|
|
8622
8628
|
* @memberof PaginatedReportTemplates
|
|
8623
8629
|
*/
|
|
8624
|
-
'items': Array<
|
|
8630
|
+
'items': Array<ReportTemplateSimplified>;
|
|
8625
8631
|
/**
|
|
8626
8632
|
*
|
|
8627
8633
|
* @type {number}
|
|
@@ -10909,34 +10915,34 @@ export interface ReportTemplate {
|
|
|
10909
10915
|
'is_duplicated': boolean;
|
|
10910
10916
|
/**
|
|
10911
10917
|
*
|
|
10912
|
-
* @type {
|
|
10918
|
+
* @type {boolean}
|
|
10913
10919
|
* @memberof ReportTemplate
|
|
10914
10920
|
*/
|
|
10915
|
-
'
|
|
10921
|
+
'is_generating'?: boolean;
|
|
10916
10922
|
/**
|
|
10917
10923
|
*
|
|
10918
|
-
* @type {
|
|
10924
|
+
* @type {number}
|
|
10919
10925
|
* @memberof ReportTemplate
|
|
10920
10926
|
*/
|
|
10921
|
-
'
|
|
10927
|
+
'active_slot_id'?: number;
|
|
10922
10928
|
/**
|
|
10923
10929
|
*
|
|
10924
|
-
* @type {
|
|
10930
|
+
* @type {string}
|
|
10925
10931
|
* @memberof ReportTemplate
|
|
10926
10932
|
*/
|
|
10927
|
-
'
|
|
10933
|
+
'template_with_slots': string;
|
|
10928
10934
|
/**
|
|
10929
10935
|
*
|
|
10930
|
-
* @type {
|
|
10936
|
+
* @type {Array<Slot>}
|
|
10931
10937
|
* @memberof ReportTemplate
|
|
10932
10938
|
*/
|
|
10933
|
-
'
|
|
10939
|
+
'slots': Array<Slot>;
|
|
10934
10940
|
/**
|
|
10935
10941
|
*
|
|
10936
|
-
* @type {
|
|
10942
|
+
* @type {TemplateClipStructureOutput}
|
|
10937
10943
|
* @memberof ReportTemplate
|
|
10938
10944
|
*/
|
|
10939
|
-
'
|
|
10945
|
+
'clip_structure'?: TemplateClipStructureOutput;
|
|
10940
10946
|
}
|
|
10941
10947
|
/**
|
|
10942
10948
|
*
|
|
@@ -10981,6 +10987,85 @@ export interface ReportTemplateCreatePayload {
|
|
|
10981
10987
|
*/
|
|
10982
10988
|
'slots': Array<SlotUpdate>;
|
|
10983
10989
|
}
|
|
10990
|
+
/**
|
|
10991
|
+
*
|
|
10992
|
+
* @export
|
|
10993
|
+
* @interface ReportTemplateSimplified
|
|
10994
|
+
*/
|
|
10995
|
+
export interface ReportTemplateSimplified {
|
|
10996
|
+
/**
|
|
10997
|
+
*
|
|
10998
|
+
* @type {number}
|
|
10999
|
+
* @memberof ReportTemplateSimplified
|
|
11000
|
+
*/
|
|
11001
|
+
'id': number;
|
|
11002
|
+
/**
|
|
11003
|
+
*
|
|
11004
|
+
* @type {string}
|
|
11005
|
+
* @memberof ReportTemplateSimplified
|
|
11006
|
+
*/
|
|
11007
|
+
'username': string;
|
|
11008
|
+
/**
|
|
11009
|
+
*
|
|
11010
|
+
* @type {string}
|
|
11011
|
+
* @memberof ReportTemplateSimplified
|
|
11012
|
+
*/
|
|
11013
|
+
'author'?: string;
|
|
11014
|
+
/**
|
|
11015
|
+
*
|
|
11016
|
+
* @type {string}
|
|
11017
|
+
* @memberof ReportTemplateSimplified
|
|
11018
|
+
*/
|
|
11019
|
+
'email'?: string;
|
|
11020
|
+
/**
|
|
11021
|
+
*
|
|
11022
|
+
* @type {string}
|
|
11023
|
+
* @memberof ReportTemplateSimplified
|
|
11024
|
+
*/
|
|
11025
|
+
'template_name': string;
|
|
11026
|
+
/**
|
|
11027
|
+
*
|
|
11028
|
+
* @type {string}
|
|
11029
|
+
* @memberof ReportTemplateSimplified
|
|
11030
|
+
*/
|
|
11031
|
+
'creation_date': string;
|
|
11032
|
+
/**
|
|
11033
|
+
*
|
|
11034
|
+
* @type {string}
|
|
11035
|
+
* @memberof ReportTemplateSimplified
|
|
11036
|
+
*/
|
|
11037
|
+
'last_updated': string;
|
|
11038
|
+
/**
|
|
11039
|
+
*
|
|
11040
|
+
* @type {string}
|
|
11041
|
+
* @memberof ReportTemplateSimplified
|
|
11042
|
+
*/
|
|
11043
|
+
'shared_to'?: string;
|
|
11044
|
+
/**
|
|
11045
|
+
*
|
|
11046
|
+
* @type {string}
|
|
11047
|
+
* @memberof ReportTemplateSimplified
|
|
11048
|
+
*/
|
|
11049
|
+
'conversation_id'?: string;
|
|
11050
|
+
/**
|
|
11051
|
+
*
|
|
11052
|
+
* @type {boolean}
|
|
11053
|
+
* @memberof ReportTemplateSimplified
|
|
11054
|
+
*/
|
|
11055
|
+
'is_duplicated': boolean;
|
|
11056
|
+
/**
|
|
11057
|
+
*
|
|
11058
|
+
* @type {boolean}
|
|
11059
|
+
* @memberof ReportTemplateSimplified
|
|
11060
|
+
*/
|
|
11061
|
+
'is_generating'?: boolean;
|
|
11062
|
+
/**
|
|
11063
|
+
*
|
|
11064
|
+
* @type {number}
|
|
11065
|
+
* @memberof ReportTemplateSimplified
|
|
11066
|
+
*/
|
|
11067
|
+
'active_slot_id'?: number;
|
|
11068
|
+
}
|
|
10984
11069
|
/**
|
|
10985
11070
|
*
|
|
10986
11071
|
* @export
|
|
@@ -35914,18 +35999,20 @@ export declare const ToolLLMApiAxiosParamCreator: (configuration?: Configuration
|
|
|
35914
35999
|
*
|
|
35915
36000
|
* @summary Create a new LLM endpoint
|
|
35916
36001
|
* @param {LLMEndpointCreate} lLMEndpointCreate
|
|
36002
|
+
* @param {number} [organizationId]
|
|
35917
36003
|
* @param {*} [options] Override http request option.
|
|
35918
36004
|
* @throws {RequiredError}
|
|
35919
36005
|
*/
|
|
35920
|
-
createLlmEndpoint: (lLMEndpointCreate: LLMEndpointCreate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
36006
|
+
createLlmEndpoint: (lLMEndpointCreate: LLMEndpointCreate, organizationId?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
35921
36007
|
/**
|
|
35922
36008
|
*
|
|
35923
36009
|
* @summary Delete an LLM endpoint
|
|
35924
36010
|
* @param {number} id
|
|
36011
|
+
* @param {number} [organizationId]
|
|
35925
36012
|
* @param {*} [options] Override http request option.
|
|
35926
36013
|
* @throws {RequiredError}
|
|
35927
36014
|
*/
|
|
35928
|
-
deleteLlmEndpoint: (id: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
36015
|
+
deleteLlmEndpoint: (id: number, organizationId?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
35929
36016
|
/**
|
|
35930
36017
|
*
|
|
35931
36018
|
* @summary Get an LLM endpoint by id
|
|
@@ -36054,10 +36141,11 @@ export declare const ToolLLMApiAxiosParamCreator: (configuration?: Configuration
|
|
|
36054
36141
|
* @summary Update an LLM endpoint
|
|
36055
36142
|
* @param {number} id
|
|
36056
36143
|
* @param {LLMEndpointUpdate} lLMEndpointUpdate
|
|
36144
|
+
* @param {number} [organizationId]
|
|
36057
36145
|
* @param {*} [options] Override http request option.
|
|
36058
36146
|
* @throws {RequiredError}
|
|
36059
36147
|
*/
|
|
36060
|
-
updateLlmEndpoint: (id: number, lLMEndpointUpdate: LLMEndpointUpdate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
36148
|
+
updateLlmEndpoint: (id: number, lLMEndpointUpdate: LLMEndpointUpdate, organizationId?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
36061
36149
|
/**
|
|
36062
36150
|
*
|
|
36063
36151
|
* @summary Validate an LLM endpoint by id
|
|
@@ -36077,18 +36165,20 @@ export declare const ToolLLMApiFp: (configuration?: Configuration) => {
|
|
|
36077
36165
|
*
|
|
36078
36166
|
* @summary Create a new LLM endpoint
|
|
36079
36167
|
* @param {LLMEndpointCreate} lLMEndpointCreate
|
|
36168
|
+
* @param {number} [organizationId]
|
|
36080
36169
|
* @param {*} [options] Override http request option.
|
|
36081
36170
|
* @throws {RequiredError}
|
|
36082
36171
|
*/
|
|
36083
|
-
createLlmEndpoint(lLMEndpointCreate: LLMEndpointCreate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LLMEndpoint>>;
|
|
36172
|
+
createLlmEndpoint(lLMEndpointCreate: LLMEndpointCreate, organizationId?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LLMEndpoint>>;
|
|
36084
36173
|
/**
|
|
36085
36174
|
*
|
|
36086
36175
|
* @summary Delete an LLM endpoint
|
|
36087
36176
|
* @param {number} id
|
|
36177
|
+
* @param {number} [organizationId]
|
|
36088
36178
|
* @param {*} [options] Override http request option.
|
|
36089
36179
|
* @throws {RequiredError}
|
|
36090
36180
|
*/
|
|
36091
|
-
deleteLlmEndpoint(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
36181
|
+
deleteLlmEndpoint(id: number, organizationId?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
36092
36182
|
/**
|
|
36093
36183
|
*
|
|
36094
36184
|
* @summary Get an LLM endpoint by id
|
|
@@ -36217,10 +36307,11 @@ export declare const ToolLLMApiFp: (configuration?: Configuration) => {
|
|
|
36217
36307
|
* @summary Update an LLM endpoint
|
|
36218
36308
|
* @param {number} id
|
|
36219
36309
|
* @param {LLMEndpointUpdate} lLMEndpointUpdate
|
|
36310
|
+
* @param {number} [organizationId]
|
|
36220
36311
|
* @param {*} [options] Override http request option.
|
|
36221
36312
|
* @throws {RequiredError}
|
|
36222
36313
|
*/
|
|
36223
|
-
updateLlmEndpoint(id: number, lLMEndpointUpdate: LLMEndpointUpdate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LLMEndpoint>>;
|
|
36314
|
+
updateLlmEndpoint(id: number, lLMEndpointUpdate: LLMEndpointUpdate, organizationId?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LLMEndpoint>>;
|
|
36224
36315
|
/**
|
|
36225
36316
|
*
|
|
36226
36317
|
* @summary Validate an LLM endpoint by id
|
|
@@ -36399,6 +36490,12 @@ export interface ToolLLMApiCreateLlmEndpointRequest {
|
|
|
36399
36490
|
* @memberof ToolLLMApiCreateLlmEndpoint
|
|
36400
36491
|
*/
|
|
36401
36492
|
readonly lLMEndpointCreate: LLMEndpointCreate;
|
|
36493
|
+
/**
|
|
36494
|
+
*
|
|
36495
|
+
* @type {number}
|
|
36496
|
+
* @memberof ToolLLMApiCreateLlmEndpoint
|
|
36497
|
+
*/
|
|
36498
|
+
readonly organizationId?: number;
|
|
36402
36499
|
}
|
|
36403
36500
|
/**
|
|
36404
36501
|
* Request parameters for deleteLlmEndpoint operation in ToolLLMApi.
|
|
@@ -36412,6 +36509,12 @@ export interface ToolLLMApiDeleteLlmEndpointRequest {
|
|
|
36412
36509
|
* @memberof ToolLLMApiDeleteLlmEndpoint
|
|
36413
36510
|
*/
|
|
36414
36511
|
readonly id: number;
|
|
36512
|
+
/**
|
|
36513
|
+
*
|
|
36514
|
+
* @type {number}
|
|
36515
|
+
* @memberof ToolLLMApiDeleteLlmEndpoint
|
|
36516
|
+
*/
|
|
36517
|
+
readonly organizationId?: number;
|
|
36415
36518
|
}
|
|
36416
36519
|
/**
|
|
36417
36520
|
* Request parameters for getById operation in ToolLLMApi.
|
|
@@ -36643,6 +36746,12 @@ export interface ToolLLMApiUpdateLlmEndpointRequest {
|
|
|
36643
36746
|
* @memberof ToolLLMApiUpdateLlmEndpoint
|
|
36644
36747
|
*/
|
|
36645
36748
|
readonly lLMEndpointUpdate: LLMEndpointUpdate;
|
|
36749
|
+
/**
|
|
36750
|
+
*
|
|
36751
|
+
* @type {number}
|
|
36752
|
+
* @memberof ToolLLMApiUpdateLlmEndpoint
|
|
36753
|
+
*/
|
|
36754
|
+
readonly organizationId?: number;
|
|
36646
36755
|
}
|
|
36647
36756
|
/**
|
|
36648
36757
|
* Request parameters for validateLlmEndpointById operation in ToolLLMApi.
|
package/dist/api.js
CHANGED
|
@@ -38559,15 +38559,16 @@ var ToolLLMApiAxiosParamCreator = function (configuration) {
|
|
|
38559
38559
|
*
|
|
38560
38560
|
* @summary Create a new LLM endpoint
|
|
38561
38561
|
* @param {LLMEndpointCreate} lLMEndpointCreate
|
|
38562
|
+
* @param {number} [organizationId]
|
|
38562
38563
|
* @param {*} [options] Override http request option.
|
|
38563
38564
|
* @throws {RequiredError}
|
|
38564
38565
|
*/
|
|
38565
|
-
createLlmEndpoint: function (lLMEndpointCreate_1) {
|
|
38566
|
+
createLlmEndpoint: function (lLMEndpointCreate_1, organizationId_1) {
|
|
38566
38567
|
var args_1 = [];
|
|
38567
|
-
for (var _i =
|
|
38568
|
-
args_1[_i -
|
|
38568
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
38569
|
+
args_1[_i - 2] = arguments[_i];
|
|
38569
38570
|
}
|
|
38570
|
-
return __awaiter(_this, __spreadArray([lLMEndpointCreate_1], args_1, true), void 0, function (lLMEndpointCreate, options) {
|
|
38571
|
+
return __awaiter(_this, __spreadArray([lLMEndpointCreate_1, organizationId_1], args_1, true), void 0, function (lLMEndpointCreate, organizationId, options) {
|
|
38571
38572
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
38572
38573
|
if (options === void 0) { options = {}; }
|
|
38573
38574
|
return __generator(this, function (_a) {
|
|
@@ -38598,6 +38599,9 @@ var ToolLLMApiAxiosParamCreator = function (configuration) {
|
|
|
38598
38599
|
// authentication Bearer required
|
|
38599
38600
|
// http bearer authentication required
|
|
38600
38601
|
_a.sent();
|
|
38602
|
+
if (organizationId !== undefined) {
|
|
38603
|
+
localVarQueryParameter['organization_id'] = organizationId;
|
|
38604
|
+
}
|
|
38601
38605
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
38602
38606
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
38603
38607
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -38615,15 +38619,16 @@ var ToolLLMApiAxiosParamCreator = function (configuration) {
|
|
|
38615
38619
|
*
|
|
38616
38620
|
* @summary Delete an LLM endpoint
|
|
38617
38621
|
* @param {number} id
|
|
38622
|
+
* @param {number} [organizationId]
|
|
38618
38623
|
* @param {*} [options] Override http request option.
|
|
38619
38624
|
* @throws {RequiredError}
|
|
38620
38625
|
*/
|
|
38621
|
-
deleteLlmEndpoint: function (id_1) {
|
|
38626
|
+
deleteLlmEndpoint: function (id_1, organizationId_1) {
|
|
38622
38627
|
var args_1 = [];
|
|
38623
|
-
for (var _i =
|
|
38624
|
-
args_1[_i -
|
|
38628
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
38629
|
+
args_1[_i - 2] = arguments[_i];
|
|
38625
38630
|
}
|
|
38626
|
-
return __awaiter(_this, __spreadArray([id_1], args_1, true), void 0, function (id, options) {
|
|
38631
|
+
return __awaiter(_this, __spreadArray([id_1, organizationId_1], args_1, true), void 0, function (id, organizationId, options) {
|
|
38627
38632
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
38628
38633
|
if (options === void 0) { options = {}; }
|
|
38629
38634
|
return __generator(this, function (_a) {
|
|
@@ -38655,6 +38660,9 @@ var ToolLLMApiAxiosParamCreator = function (configuration) {
|
|
|
38655
38660
|
// authentication Bearer required
|
|
38656
38661
|
// http bearer authentication required
|
|
38657
38662
|
_a.sent();
|
|
38663
|
+
if (organizationId !== undefined) {
|
|
38664
|
+
localVarQueryParameter['organization_id'] = organizationId;
|
|
38665
|
+
}
|
|
38658
38666
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
38659
38667
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
38660
38668
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -39540,15 +39548,16 @@ var ToolLLMApiAxiosParamCreator = function (configuration) {
|
|
|
39540
39548
|
* @summary Update an LLM endpoint
|
|
39541
39549
|
* @param {number} id
|
|
39542
39550
|
* @param {LLMEndpointUpdate} lLMEndpointUpdate
|
|
39551
|
+
* @param {number} [organizationId]
|
|
39543
39552
|
* @param {*} [options] Override http request option.
|
|
39544
39553
|
* @throws {RequiredError}
|
|
39545
39554
|
*/
|
|
39546
|
-
updateLlmEndpoint: function (id_1, lLMEndpointUpdate_1) {
|
|
39555
|
+
updateLlmEndpoint: function (id_1, lLMEndpointUpdate_1, organizationId_1) {
|
|
39547
39556
|
var args_1 = [];
|
|
39548
|
-
for (var _i =
|
|
39549
|
-
args_1[_i -
|
|
39557
|
+
for (var _i = 3; _i < arguments.length; _i++) {
|
|
39558
|
+
args_1[_i - 3] = arguments[_i];
|
|
39550
39559
|
}
|
|
39551
|
-
return __awaiter(_this, __spreadArray([id_1, lLMEndpointUpdate_1], args_1, true), void 0, function (id, lLMEndpointUpdate, options) {
|
|
39560
|
+
return __awaiter(_this, __spreadArray([id_1, lLMEndpointUpdate_1, organizationId_1], args_1, true), void 0, function (id, lLMEndpointUpdate, organizationId, options) {
|
|
39552
39561
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
39553
39562
|
if (options === void 0) { options = {}; }
|
|
39554
39563
|
return __generator(this, function (_a) {
|
|
@@ -39582,6 +39591,9 @@ var ToolLLMApiAxiosParamCreator = function (configuration) {
|
|
|
39582
39591
|
// authentication Bearer required
|
|
39583
39592
|
// http bearer authentication required
|
|
39584
39593
|
_a.sent();
|
|
39594
|
+
if (organizationId !== undefined) {
|
|
39595
|
+
localVarQueryParameter['organization_id'] = organizationId;
|
|
39596
|
+
}
|
|
39585
39597
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
39586
39598
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
39587
39599
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -39665,16 +39677,17 @@ var ToolLLMApiFp = function (configuration) {
|
|
|
39665
39677
|
*
|
|
39666
39678
|
* @summary Create a new LLM endpoint
|
|
39667
39679
|
* @param {LLMEndpointCreate} lLMEndpointCreate
|
|
39680
|
+
* @param {number} [organizationId]
|
|
39668
39681
|
* @param {*} [options] Override http request option.
|
|
39669
39682
|
* @throws {RequiredError}
|
|
39670
39683
|
*/
|
|
39671
|
-
createLlmEndpoint: function (lLMEndpointCreate, options) {
|
|
39684
|
+
createLlmEndpoint: function (lLMEndpointCreate, organizationId, options) {
|
|
39672
39685
|
return __awaiter(this, void 0, void 0, function () {
|
|
39673
39686
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
39674
39687
|
var _a, _b, _c;
|
|
39675
39688
|
return __generator(this, function (_d) {
|
|
39676
39689
|
switch (_d.label) {
|
|
39677
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.createLlmEndpoint(lLMEndpointCreate, options)];
|
|
39690
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.createLlmEndpoint(lLMEndpointCreate, organizationId, options)];
|
|
39678
39691
|
case 1:
|
|
39679
39692
|
localVarAxiosArgs = _d.sent();
|
|
39680
39693
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
@@ -39688,16 +39701,17 @@ var ToolLLMApiFp = function (configuration) {
|
|
|
39688
39701
|
*
|
|
39689
39702
|
* @summary Delete an LLM endpoint
|
|
39690
39703
|
* @param {number} id
|
|
39704
|
+
* @param {number} [organizationId]
|
|
39691
39705
|
* @param {*} [options] Override http request option.
|
|
39692
39706
|
* @throws {RequiredError}
|
|
39693
39707
|
*/
|
|
39694
|
-
deleteLlmEndpoint: function (id, options) {
|
|
39708
|
+
deleteLlmEndpoint: function (id, organizationId, options) {
|
|
39695
39709
|
return __awaiter(this, void 0, void 0, function () {
|
|
39696
39710
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
39697
39711
|
var _a, _b, _c;
|
|
39698
39712
|
return __generator(this, function (_d) {
|
|
39699
39713
|
switch (_d.label) {
|
|
39700
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteLlmEndpoint(id, options)];
|
|
39714
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteLlmEndpoint(id, organizationId, options)];
|
|
39701
39715
|
case 1:
|
|
39702
39716
|
localVarAxiosArgs = _d.sent();
|
|
39703
39717
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
@@ -40060,16 +40074,17 @@ var ToolLLMApiFp = function (configuration) {
|
|
|
40060
40074
|
* @summary Update an LLM endpoint
|
|
40061
40075
|
* @param {number} id
|
|
40062
40076
|
* @param {LLMEndpointUpdate} lLMEndpointUpdate
|
|
40077
|
+
* @param {number} [organizationId]
|
|
40063
40078
|
* @param {*} [options] Override http request option.
|
|
40064
40079
|
* @throws {RequiredError}
|
|
40065
40080
|
*/
|
|
40066
|
-
updateLlmEndpoint: function (id, lLMEndpointUpdate, options) {
|
|
40081
|
+
updateLlmEndpoint: function (id, lLMEndpointUpdate, organizationId, options) {
|
|
40067
40082
|
return __awaiter(this, void 0, void 0, function () {
|
|
40068
40083
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
40069
40084
|
var _a, _b, _c;
|
|
40070
40085
|
return __generator(this, function (_d) {
|
|
40071
40086
|
switch (_d.label) {
|
|
40072
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateLlmEndpoint(id, lLMEndpointUpdate, options)];
|
|
40087
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateLlmEndpoint(id, lLMEndpointUpdate, organizationId, options)];
|
|
40073
40088
|
case 1:
|
|
40074
40089
|
localVarAxiosArgs = _d.sent();
|
|
40075
40090
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
@@ -40121,7 +40136,7 @@ var ToolLLMApiFactory = function (configuration, basePath, axios) {
|
|
|
40121
40136
|
* @throws {RequiredError}
|
|
40122
40137
|
*/
|
|
40123
40138
|
createLlmEndpoint: function (requestParameters, options) {
|
|
40124
|
-
return localVarFp.createLlmEndpoint(requestParameters.lLMEndpointCreate, options).then(function (request) { return request(axios, basePath); });
|
|
40139
|
+
return localVarFp.createLlmEndpoint(requestParameters.lLMEndpointCreate, requestParameters.organizationId, options).then(function (request) { return request(axios, basePath); });
|
|
40125
40140
|
},
|
|
40126
40141
|
/**
|
|
40127
40142
|
*
|
|
@@ -40131,7 +40146,7 @@ var ToolLLMApiFactory = function (configuration, basePath, axios) {
|
|
|
40131
40146
|
* @throws {RequiredError}
|
|
40132
40147
|
*/
|
|
40133
40148
|
deleteLlmEndpoint: function (requestParameters, options) {
|
|
40134
|
-
return localVarFp.deleteLlmEndpoint(requestParameters.id, options).then(function (request) { return request(axios, basePath); });
|
|
40149
|
+
return localVarFp.deleteLlmEndpoint(requestParameters.id, requestParameters.organizationId, options).then(function (request) { return request(axios, basePath); });
|
|
40135
40150
|
},
|
|
40136
40151
|
/**
|
|
40137
40152
|
*
|
|
@@ -40290,7 +40305,7 @@ var ToolLLMApiFactory = function (configuration, basePath, axios) {
|
|
|
40290
40305
|
* @throws {RequiredError}
|
|
40291
40306
|
*/
|
|
40292
40307
|
updateLlmEndpoint: function (requestParameters, options) {
|
|
40293
|
-
return localVarFp.updateLlmEndpoint(requestParameters.id, requestParameters.lLMEndpointUpdate, options).then(function (request) { return request(axios, basePath); });
|
|
40308
|
+
return localVarFp.updateLlmEndpoint(requestParameters.id, requestParameters.lLMEndpointUpdate, requestParameters.organizationId, options).then(function (request) { return request(axios, basePath); });
|
|
40294
40309
|
},
|
|
40295
40310
|
/**
|
|
40296
40311
|
*
|
|
@@ -40327,7 +40342,7 @@ var ToolLLMApi = /** @class */ (function (_super) {
|
|
|
40327
40342
|
*/
|
|
40328
40343
|
ToolLLMApi.prototype.createLlmEndpoint = function (requestParameters, options) {
|
|
40329
40344
|
var _this = this;
|
|
40330
|
-
return (0, exports.ToolLLMApiFp)(this.configuration).createLlmEndpoint(requestParameters.lLMEndpointCreate, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
40345
|
+
return (0, exports.ToolLLMApiFp)(this.configuration).createLlmEndpoint(requestParameters.lLMEndpointCreate, requestParameters.organizationId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
40331
40346
|
};
|
|
40332
40347
|
/**
|
|
40333
40348
|
*
|
|
@@ -40339,7 +40354,7 @@ var ToolLLMApi = /** @class */ (function (_super) {
|
|
|
40339
40354
|
*/
|
|
40340
40355
|
ToolLLMApi.prototype.deleteLlmEndpoint = function (requestParameters, options) {
|
|
40341
40356
|
var _this = this;
|
|
40342
|
-
return (0, exports.ToolLLMApiFp)(this.configuration).deleteLlmEndpoint(requestParameters.id, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
40357
|
+
return (0, exports.ToolLLMApiFp)(this.configuration).deleteLlmEndpoint(requestParameters.id, requestParameters.organizationId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
40343
40358
|
};
|
|
40344
40359
|
/**
|
|
40345
40360
|
*
|
|
@@ -40530,7 +40545,7 @@ var ToolLLMApi = /** @class */ (function (_super) {
|
|
|
40530
40545
|
*/
|
|
40531
40546
|
ToolLLMApi.prototype.updateLlmEndpoint = function (requestParameters, options) {
|
|
40532
40547
|
var _this = this;
|
|
40533
|
-
return (0, exports.ToolLLMApiFp)(this.configuration).updateLlmEndpoint(requestParameters.id, requestParameters.lLMEndpointUpdate, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
40548
|
+
return (0, exports.ToolLLMApiFp)(this.configuration).updateLlmEndpoint(requestParameters.id, requestParameters.lLMEndpointUpdate, requestParameters.organizationId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
40534
40549
|
};
|
|
40535
40550
|
/**
|
|
40536
40551
|
*
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|