@cognigy/rest-api-client 4.93.0 → 4.95.0
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/CHANGELOG.md +5 -0
- package/build/authentication/AuthenticationAPI.js +1 -1
- package/build/shared/charts/descriptors/agentAssist/helpers/knowledgeSearch/errorHandler.helper.js +1 -1
- package/build/shared/charts/descriptors/agentAssist/knowledgeAssist.js +1 -1
- package/build/shared/charts/descriptors/agentAssist/nextActionAssist.js +1 -1
- package/build/shared/charts/descriptors/analytics/overwriteAnalytics.js +1 -1
- package/build/shared/charts/descriptors/analytics/requestRating.js +1 -1
- package/build/shared/charts/descriptors/knowledgeSearch/searchExtractOutput.js +6 -6
- package/build/shared/charts/descriptors/liveAgent/assistInfo.js +1 -1
- package/build/shared/charts/descriptors/logic/thinkV2.js +1 -1
- package/build/shared/charts/descriptors/message/checkChannelChange/checkChannelChange.js +2 -2
- package/build/shared/charts/descriptors/message/say.js +2 -2
- package/build/shared/charts/descriptors/message/sendText.js +1 -1
- package/build/shared/charts/descriptors/microsoft/getToken.js +1 -1
- package/build/shared/charts/descriptors/microsoft/invalidateToken.js +1 -1
- package/build/shared/charts/descriptors/service/GPTConversation.js +14 -14
- package/build/shared/charts/descriptors/service/GPTPrompt.js +4 -4
- package/build/shared/charts/descriptors/service/aiAgent/aiAgentJob.js +4 -4
- package/build/shared/charts/descriptors/service/handover.js +1 -1
- package/build/shared/charts/descriptors/service/jwtSecret.js +5 -3
- package/build/shared/charts/descriptors/voice/nodes/bargeIn.js +1 -1
- package/build/shared/charts/descriptors/voice/nodes/continuousAsr.js +1 -1
- package/build/shared/charts/descriptors/voice/nodes/dtmf.js +1 -1
- package/build/shared/charts/descriptors/voice/nodes/hangup.js +1 -1
- package/build/shared/charts/descriptors/voice/nodes/muteSpeechInput.js +1 -1
- package/build/shared/charts/descriptors/voice/nodes/noUserInput.js +1 -1
- package/build/shared/charts/descriptors/voice/nodes/play.js +1 -1
- package/build/shared/charts/descriptors/voice/nodes/sendMetadata.js +1 -1
- package/build/shared/charts/descriptors/voice/nodes/sessionSpeechParameters.js +1 -1
- package/build/shared/charts/descriptors/voice/nodes/transfer.js +2 -2
- package/build/shared/charts/descriptors/voicegateway/nodes/agentAssist.js +1 -1
- package/build/shared/charts/descriptors/voicegateway/nodes/callRecording.js +2 -2
- package/build/shared/charts/descriptors/voicegateway/nodes/handover.js +2 -2
- package/build/shared/charts/descriptors/voicegateway/nodes/hangup.js +1 -1
- package/build/shared/charts/descriptors/voicegateway/nodes/playURL.js +1 -1
- package/build/shared/charts/descriptors/voicegateway/nodes/sendMessage.js +3 -2
- package/build/shared/charts/descriptors/voicegateway/nodes/sendMetaData.js +1 -1
- package/build/shared/charts/descriptors/voicegateway/nodes/setSessionParams.js +2 -2
- package/build/shared/charts/descriptors/voicegateway2/nodes/dtmf.js +1 -1
- package/build/shared/charts/descriptors/voicegateway2/nodes/hangup.js +1 -1
- package/build/shared/charts/descriptors/voicegateway2/nodes/muteSpeechInput.js +1 -1
- package/build/shared/charts/descriptors/voicegateway2/nodes/play.js +1 -1
- package/build/shared/charts/descriptors/voicegateway2/nodes/record.js +3 -3
- package/build/shared/charts/descriptors/voicegateway2/nodes/refer.js +2 -2
- package/build/shared/charts/descriptors/voicegateway2/nodes/sendMetadata.js +1 -1
- package/build/shared/charts/descriptors/voicegateway2/nodes/setSessionConfig.js +1 -1
- package/build/shared/charts/descriptors/voicegateway2/nodes/transfer.js +2 -2
- package/build/shared/interfaces/IProfile.js +1 -0
- package/build/shared/interfaces/IProfileSchema.js +5 -0
- package/build/shared/interfaces/handover.js +2 -1
- package/build/shared/interfaces/messageAPI/endpoints.js +1 -0
- package/build/shared/interfaces/resources/IConnection.js +3 -2
- package/build/shared/interfaces/resources/IGlobalResource.js +3 -0
- package/build/shared/interfaces/resources/ILargeLanguageModel.js +10 -1
- package/build/shared/interfaces/resources/INodeDescriptorSet.js +2 -1
- package/build/shared/interfaces/resources/TRestChannelType.js +7 -2
- package/dist/esm/authentication/AuthenticationAPI.js +1 -1
- package/dist/esm/shared/charts/descriptors/agentAssist/helpers/knowledgeSearch/errorHandler.helper.js +1 -1
- package/dist/esm/shared/charts/descriptors/agentAssist/knowledgeAssist.js +1 -1
- package/dist/esm/shared/charts/descriptors/agentAssist/nextActionAssist.js +1 -1
- package/dist/esm/shared/charts/descriptors/analytics/overwriteAnalytics.js +1 -1
- package/dist/esm/shared/charts/descriptors/analytics/requestRating.js +1 -1
- package/dist/esm/shared/charts/descriptors/knowledgeSearch/searchExtractOutput.js +6 -6
- package/dist/esm/shared/charts/descriptors/liveAgent/assistInfo.js +1 -1
- package/dist/esm/shared/charts/descriptors/logic/thinkV2.js +1 -1
- package/dist/esm/shared/charts/descriptors/message/checkChannelChange/checkChannelChange.js +2 -2
- package/dist/esm/shared/charts/descriptors/message/say.js +2 -2
- package/dist/esm/shared/charts/descriptors/message/sendText.js +1 -1
- package/dist/esm/shared/charts/descriptors/microsoft/getToken.js +1 -1
- package/dist/esm/shared/charts/descriptors/microsoft/invalidateToken.js +1 -1
- package/dist/esm/shared/charts/descriptors/service/GPTConversation.js +15 -15
- package/dist/esm/shared/charts/descriptors/service/GPTPrompt.js +4 -4
- package/dist/esm/shared/charts/descriptors/service/aiAgent/aiAgentJob.js +4 -4
- package/dist/esm/shared/charts/descriptors/service/handover.js +1 -1
- package/dist/esm/shared/charts/descriptors/service/jwtSecret.js +5 -3
- package/dist/esm/shared/charts/descriptors/voice/nodes/bargeIn.js +1 -1
- package/dist/esm/shared/charts/descriptors/voice/nodes/continuousAsr.js +1 -1
- package/dist/esm/shared/charts/descriptors/voice/nodes/dtmf.js +1 -1
- package/dist/esm/shared/charts/descriptors/voice/nodes/hangup.js +1 -1
- package/dist/esm/shared/charts/descriptors/voice/nodes/muteSpeechInput.js +1 -1
- package/dist/esm/shared/charts/descriptors/voice/nodes/noUserInput.js +1 -1
- package/dist/esm/shared/charts/descriptors/voice/nodes/play.js +1 -1
- package/dist/esm/shared/charts/descriptors/voice/nodes/sendMetadata.js +1 -1
- package/dist/esm/shared/charts/descriptors/voice/nodes/sessionSpeechParameters.js +1 -1
- package/dist/esm/shared/charts/descriptors/voice/nodes/transfer.js +2 -2
- package/dist/esm/shared/charts/descriptors/voicegateway/nodes/agentAssist.js +1 -1
- package/dist/esm/shared/charts/descriptors/voicegateway/nodes/callRecording.js +2 -2
- package/dist/esm/shared/charts/descriptors/voicegateway/nodes/handover.js +2 -2
- package/dist/esm/shared/charts/descriptors/voicegateway/nodes/hangup.js +1 -1
- package/dist/esm/shared/charts/descriptors/voicegateway/nodes/playURL.js +1 -1
- package/dist/esm/shared/charts/descriptors/voicegateway/nodes/sendMessage.js +3 -2
- package/dist/esm/shared/charts/descriptors/voicegateway/nodes/sendMetaData.js +1 -1
- package/dist/esm/shared/charts/descriptors/voicegateway/nodes/setSessionParams.js +2 -2
- package/dist/esm/shared/charts/descriptors/voicegateway2/nodes/dtmf.js +1 -1
- package/dist/esm/shared/charts/descriptors/voicegateway2/nodes/hangup.js +1 -1
- package/dist/esm/shared/charts/descriptors/voicegateway2/nodes/muteSpeechInput.js +1 -1
- package/dist/esm/shared/charts/descriptors/voicegateway2/nodes/play.js +1 -1
- package/dist/esm/shared/charts/descriptors/voicegateway2/nodes/record.js +3 -3
- package/dist/esm/shared/charts/descriptors/voicegateway2/nodes/refer.js +2 -2
- package/dist/esm/shared/charts/descriptors/voicegateway2/nodes/sendMetadata.js +1 -1
- package/dist/esm/shared/charts/descriptors/voicegateway2/nodes/setSessionConfig.js +1 -1
- package/dist/esm/shared/charts/descriptors/voicegateway2/nodes/transfer.js +2 -2
- package/dist/esm/shared/interfaces/IProfile.js +1 -0
- package/dist/esm/shared/interfaces/IProfileSchema.js +5 -0
- package/dist/esm/shared/interfaces/handover.js +2 -1
- package/dist/esm/shared/interfaces/messageAPI/endpoints.js +1 -0
- package/dist/esm/shared/interfaces/resources/IConnection.js +3 -2
- package/dist/esm/shared/interfaces/resources/IGlobalResource.js +2 -0
- package/dist/esm/shared/interfaces/resources/ILargeLanguageModel.js +10 -1
- package/dist/esm/shared/interfaces/resources/INodeDescriptorSet.js +2 -1
- package/dist/esm/shared/interfaces/resources/TRestChannelType.js +7 -2
- package/package.json +3 -2
- package/types/index.d.ts +201 -94
- package/build/shared/interfaces/license.js.map +0 -1
- package/build/test.js +0 -1
- package/dist/esm/shared/interfaces/license.js.map +0 -1
- package/dist/esm/test.js +0 -1
package/types/index.d.ts
CHANGED
|
@@ -1888,7 +1888,8 @@ declare const restChannelTypes: readonly [
|
|
|
1888
1888
|
"nonConversational",
|
|
1889
1889
|
"amazonLex",
|
|
1890
1890
|
"genesysBotConnector",
|
|
1891
|
-
"niceCXOne"
|
|
1891
|
+
"niceCXOne",
|
|
1892
|
+
"niceCXOneAAH"
|
|
1892
1893
|
];
|
|
1893
1894
|
export declare type TRestChannelType = typeof restChannelTypes[number];
|
|
1894
1895
|
declare const socketChannelTypes: readonly [
|
|
@@ -2250,7 +2251,8 @@ export interface IAgentAssistSettings {
|
|
|
2250
2251
|
enableTranscriptTile?: boolean;
|
|
2251
2252
|
enableTranscriptTileChatInput?: boolean;
|
|
2252
2253
|
redactTranscriptTileMessages?: boolean;
|
|
2253
|
-
|
|
2254
|
+
enableAgentCopilotAuthentication?: boolean;
|
|
2255
|
+
agentCopilotAuthentication?: string;
|
|
2254
2256
|
}
|
|
2255
2257
|
export interface IGenesysCloudHandoverSettings {
|
|
2256
2258
|
host: string;
|
|
@@ -2449,6 +2451,7 @@ export interface IGraphEndpointDependency {
|
|
|
2449
2451
|
* - niceCXOne
|
|
2450
2452
|
* - agentAssistVoice
|
|
2451
2453
|
* - webchat3
|
|
2454
|
+
* - niceCXOneAAH
|
|
2452
2455
|
*/
|
|
2453
2456
|
export declare type TChannelType = TWebhookChannelType | TRestChannelType | TSocketChannelType | "inject" | "abstract-rest" | "adminconsole" | "voiceGateway2";
|
|
2454
2457
|
declare const endpointTypes: readonly [
|
|
@@ -2482,6 +2485,7 @@ declare const endpointTypes: readonly [
|
|
|
2482
2485
|
"bandwidth",
|
|
2483
2486
|
"genesysBotConnector",
|
|
2484
2487
|
"niceCXOne",
|
|
2488
|
+
"niceCXOneAAH",
|
|
2485
2489
|
"agentAssistVoice",
|
|
2486
2490
|
"webchat3"
|
|
2487
2491
|
];
|
|
@@ -6979,6 +6983,12 @@ export interface IIndexEndpointsRestReturnValue_2_0 extends ICursorBasedPaginati
|
|
|
6979
6983
|
* redactTranscriptTileMessages:
|
|
6980
6984
|
* type: boolean
|
|
6981
6985
|
* description: Enable redaction of messages in transcript tile
|
|
6986
|
+
* enableAgentCopilotAuthentication:
|
|
6987
|
+
* type: boolean
|
|
6988
|
+
* description: Enable authentication for agent copilot
|
|
6989
|
+
* agentCopilotAuthentication:
|
|
6990
|
+
* type: string
|
|
6991
|
+
* description: Authentication connection reference Id for agent copilot
|
|
6982
6992
|
* orgDataPrivacySettings:
|
|
6983
6993
|
* $ref: '#/components/schemas/IEndpoitOrgDataPrivacySettings_2_0'
|
|
6984
6994
|
* IEndpoint_2_0:
|
|
@@ -8404,10 +8414,85 @@ export interface IGraphAgentAssistConfig {
|
|
|
8404
8414
|
referenceId: string;
|
|
8405
8415
|
properties: Pick<IAgentAssistConfig, "createdAt" | "createdBy" | "lastChanged" | "lastChangedBy">;
|
|
8406
8416
|
}
|
|
8417
|
+
/**
|
|
8418
|
+
* @openapi
|
|
8419
|
+
* components:
|
|
8420
|
+
* parameters:
|
|
8421
|
+
* globalResourceQueryParam:
|
|
8422
|
+
* in: query
|
|
8423
|
+
* name: resourceLevel
|
|
8424
|
+
* description: Scope of the resource (global "organisation" or project).
|
|
8425
|
+
* required: false
|
|
8426
|
+
* schema:
|
|
8427
|
+
* $ref: '#/components/schemas/ResourceLevel'
|
|
8428
|
+
* schemas:
|
|
8429
|
+
* ResourceLevel:
|
|
8430
|
+
* type: string
|
|
8431
|
+
* enum:
|
|
8432
|
+
* - organisation
|
|
8433
|
+
* - project
|
|
8434
|
+
* description: General scope of the resource.
|
|
8435
|
+
* default: project
|
|
8436
|
+
*
|
|
8437
|
+
* ProjectScopedResource:
|
|
8438
|
+
* type: object
|
|
8439
|
+
* properties:
|
|
8440
|
+
* resourceLevel:
|
|
8441
|
+
* type: string
|
|
8442
|
+
* enum:
|
|
8443
|
+
* - project
|
|
8444
|
+
* description: Scope for project-level resources.
|
|
8445
|
+
*
|
|
8446
|
+
* GlobalScopedResource:
|
|
8447
|
+
* type: object
|
|
8448
|
+
* properties:
|
|
8449
|
+
* resourceLevel:
|
|
8450
|
+
* type: string
|
|
8451
|
+
* enum:
|
|
8452
|
+
* - organisation
|
|
8453
|
+
* description: Scope for globally scoped resources.
|
|
8454
|
+
* required:
|
|
8455
|
+
* - resourceLevel
|
|
8456
|
+
*
|
|
8457
|
+
* AssignedToProjects:
|
|
8458
|
+
* type: object
|
|
8459
|
+
* properties:
|
|
8460
|
+
* assignedToProjects:
|
|
8461
|
+
* type: array
|
|
8462
|
+
* items:
|
|
8463
|
+
* type: string
|
|
8464
|
+
* description: MongoDB ObjectId representing a project
|
|
8465
|
+
*
|
|
8466
|
+
* IGlobalResourceFields_2_0:
|
|
8467
|
+
* allOf:
|
|
8468
|
+
* - $ref: '#/components/schemas/GlobalScopedResource'
|
|
8469
|
+
* - $ref: '#/components/schemas/AssignedToProjects'
|
|
8470
|
+
*
|
|
8471
|
+
* IProjectResourceFields_2_0:
|
|
8472
|
+
* $ref: '#/components/schemas/ProjectScopedResource'
|
|
8473
|
+
*
|
|
8474
|
+
* IGlobalResourceData:
|
|
8475
|
+
* allOf:
|
|
8476
|
+
* - $ref: '#/components/schemas/IGlobalResourceFields_2_0'
|
|
8477
|
+
* - type: object
|
|
8478
|
+
* properties:
|
|
8479
|
+
* id:
|
|
8480
|
+
* type: string
|
|
8481
|
+
* description: The unique identifier for the resource.
|
|
8482
|
+
* example: 507f191e810c19729de860eb
|
|
8483
|
+
*
|
|
8484
|
+
* IGlobalResource:
|
|
8485
|
+
* allOf:
|
|
8486
|
+
* - $ref: '#/components/schemas/IGlobalResourceData'
|
|
8487
|
+
*/
|
|
8488
|
+
export interface IGlobalResource {
|
|
8489
|
+
resourceLevel?: "organisation" | "project";
|
|
8490
|
+
assignedToProjects?: TMongoId[];
|
|
8491
|
+
}
|
|
8407
8492
|
export interface IConnectionFields {
|
|
8408
8493
|
[key: string]: string;
|
|
8409
8494
|
}
|
|
8410
|
-
export interface IConnection extends IEntityMeta {
|
|
8495
|
+
export interface IConnection extends IEntityMeta, Pick<IGlobalResource, "resourceLevel"> {
|
|
8411
8496
|
_id: TMongoId;
|
|
8412
8497
|
referenceId: string;
|
|
8413
8498
|
name: string;
|
|
@@ -8473,7 +8558,7 @@ export declare type TLLMFallback = {
|
|
|
8473
8558
|
emailNotificationList: string[];
|
|
8474
8559
|
};
|
|
8475
8560
|
};
|
|
8476
|
-
export interface ILargeLanguageModel extends IEntityMeta {
|
|
8561
|
+
export interface ILargeLanguageModel extends IEntityMeta, IGlobalResource {
|
|
8477
8562
|
_id: TMongoId;
|
|
8478
8563
|
referenceId: string;
|
|
8479
8564
|
name: string;
|
|
@@ -8485,7 +8570,7 @@ export interface ILargeLanguageModel extends IEntityMeta {
|
|
|
8485
8570
|
provider: TGenerativeAIProviders;
|
|
8486
8571
|
connectionId: string;
|
|
8487
8572
|
isDefault: boolean;
|
|
8488
|
-
projectReference
|
|
8573
|
+
projectReference?: TMongoId;
|
|
8489
8574
|
organisationReference: TMongoId;
|
|
8490
8575
|
azureOpenAI?: IAzureOpenAIMeta;
|
|
8491
8576
|
googleVertexAI?: IGoogleVertexAIMeta;
|
|
@@ -10266,8 +10351,8 @@ export interface IActions {
|
|
|
10266
10351
|
parseCognigyScriptText?: (executionObjects: IExecutionObjects) => (text: string) => string;
|
|
10267
10352
|
parseCognigyScriptCondition?: (executionObjects: IExecutionObjects, nodeId: string) => (condition: string) => string;
|
|
10268
10353
|
parseCognigyScriptResultLocation?: (executionObjects: IExecutionObjects, nodeId: string) => (condition: string) => any;
|
|
10269
|
-
output?: (text: string, data: any, settings?: ISayNodeSettings) => void
|
|
10270
|
-
outputWithMeta?: (text: string, data: any, metadata?: IOutputEventMetadata, settings?: ISayNodeSettings) => void
|
|
10354
|
+
output?: (text: string, data: any, settings?: ISayNodeSettings) => Promise<void>;
|
|
10355
|
+
outputWithMeta?: (text: string, data: any, metadata?: IOutputEventMetadata, settings?: ISayNodeSettings) => Promise<void>;
|
|
10271
10356
|
reloadBrainFlow?: (flowReferenceId: string) => Promise<void>;
|
|
10272
10357
|
removeFromContext?: (key: string, value: string, mode: string) => void;
|
|
10273
10358
|
rephraseSentenceWithAI(sentence: string, options: IRephraseSentenceWithAIOptions): Promise<string>;
|
|
@@ -10277,7 +10362,7 @@ export interface IActions {
|
|
|
10277
10362
|
resetContext?: () => object;
|
|
10278
10363
|
resetFormBrain?: () => Promise<void>;
|
|
10279
10364
|
resetState?: () => Promise<string>;
|
|
10280
|
-
say?: (text: string, data?: any, settings?: ISayNodeSettings) => void
|
|
10365
|
+
say?: (text: string, data?: any, settings?: ISayNodeSettings) => Promise<void>;
|
|
10281
10366
|
sendHttpRequest?: (httpRequestParams: IHttpRequestNodeParams) => Promise<void>;
|
|
10282
10367
|
sendTileUpdateToAgentAssistWorkspace: (params: ISendTileUpdateParams) => Promise<void>;
|
|
10283
10368
|
sendConfigUpdateToAgentAssistWorkspace: (params: ISendConfigUpdateParams) => Promise<void>;
|
|
@@ -11120,6 +11205,7 @@ declare const nodeFieldTypes: readonly [
|
|
|
11120
11205
|
"checkbox",
|
|
11121
11206
|
"chipInput",
|
|
11122
11207
|
"code",
|
|
11208
|
+
"cognigyLLMText",
|
|
11123
11209
|
"cognigyText",
|
|
11124
11210
|
"cognigyTextArray",
|
|
11125
11211
|
"condition",
|
|
@@ -14485,7 +14571,7 @@ export interface IComposeSnapshotDownloadLinkRestReturnValue_2_0 {
|
|
|
14485
14571
|
* description: The type of connection.
|
|
14486
14572
|
* - $ref: '#/components/schemas/IEntityMeta'
|
|
14487
14573
|
*/
|
|
14488
|
-
export interface IConnectionIndexItem_2_0 {
|
|
14574
|
+
export interface IConnectionIndexItem_2_0 extends Pick<IGlobalResource, "resourceLevel"> {
|
|
14489
14575
|
_id: TMongoId;
|
|
14490
14576
|
referenceId: string;
|
|
14491
14577
|
name: string;
|
|
@@ -14568,7 +14654,7 @@ export interface IIndexConnectionsRestReturnValue_2_0 extends ICursorBasedPagina
|
|
|
14568
14654
|
* - $ref: '#/components/schemas/IConnectionData_2_0'
|
|
14569
14655
|
* - $ref: '#/components/schemas/IEntityMeta'
|
|
14570
14656
|
*/
|
|
14571
|
-
export interface IConnection_2_0 {
|
|
14657
|
+
export interface IConnection_2_0 extends Pick<IGlobalResource, "resourceLevel"> {
|
|
14572
14658
|
referenceId: string;
|
|
14573
14659
|
_id: TMongoId;
|
|
14574
14660
|
name: string;
|
|
@@ -16622,103 +16708,111 @@ export interface IGoogleGeminiMeta_2_0 {
|
|
|
16622
16708
|
*
|
|
16623
16709
|
* components:
|
|
16624
16710
|
* schemas:
|
|
16625
|
-
*
|
|
16626
|
-
*
|
|
16627
|
-
*
|
|
16628
|
-
*
|
|
16711
|
+
* ILargeLanguageModelFieldsBase_2_0:
|
|
16712
|
+
* type: object
|
|
16713
|
+
* required: ['name', 'modelType', 'provider', 'connectionId']
|
|
16714
|
+
* properties:
|
|
16715
|
+
* name:
|
|
16716
|
+
* type: string
|
|
16717
|
+
* example: "LLM Name"
|
|
16718
|
+
* description:
|
|
16719
|
+
* type: string
|
|
16720
|
+
* example: "LLM meaningful description"
|
|
16721
|
+
* modelType:
|
|
16722
|
+
* $ref: '#/components/schemas/TGenerativeAIModels'
|
|
16723
|
+
* modelGroup:
|
|
16724
|
+
* $ref: '#/components/schemas/TModelGroups'
|
|
16725
|
+
* isCustomModel:
|
|
16726
|
+
* type: boolean
|
|
16727
|
+
* example: true
|
|
16728
|
+
* provider:
|
|
16729
|
+
* $ref: '#/components/schemas/TGenerativeAIProviders'
|
|
16730
|
+
* connectionId:
|
|
16731
|
+
* type: string
|
|
16732
|
+
* description: The reference id of the GenerativeAI Provider Connection
|
|
16733
|
+
* format: uuid
|
|
16734
|
+
* openAI:
|
|
16735
|
+
* type: object
|
|
16736
|
+
* description: OpenAI specific meta data
|
|
16629
16737
|
* properties:
|
|
16630
|
-
*
|
|
16738
|
+
* customModel:
|
|
16631
16739
|
* type: string
|
|
16632
|
-
* example:
|
|
16633
|
-
*
|
|
16740
|
+
* example: gpt-4-32k-0613
|
|
16741
|
+
* description: The custom model name. This does not work with embedding models
|
|
16742
|
+
* anthropic:
|
|
16743
|
+
* type: object
|
|
16744
|
+
* description: Anthropic specific meta data
|
|
16745
|
+
* properties:
|
|
16746
|
+
* customModel:
|
|
16634
16747
|
* type: string
|
|
16635
|
-
* example:
|
|
16636
|
-
*
|
|
16637
|
-
*
|
|
16638
|
-
*
|
|
16639
|
-
*
|
|
16640
|
-
*
|
|
16641
|
-
*
|
|
16642
|
-
* example: true
|
|
16643
|
-
* provider:
|
|
16644
|
-
* $ref: '#/components/schemas/TGenerativeAIProviders'
|
|
16645
|
-
* connectionId:
|
|
16748
|
+
* example: claude-3-opus-20240229
|
|
16749
|
+
* description: The custom model name. This does not work with embedding models
|
|
16750
|
+
* azureOpenAI:
|
|
16751
|
+
* type: object
|
|
16752
|
+
* description: Azure OpenAI specific meta data
|
|
16753
|
+
* properties:
|
|
16754
|
+
* resourceName:
|
|
16646
16755
|
* type: string
|
|
16647
|
-
*
|
|
16648
|
-
*
|
|
16756
|
+
* deploymentName:
|
|
16757
|
+
* type: string
|
|
16758
|
+
* apiVersion:
|
|
16759
|
+
* type: string
|
|
16760
|
+
* baseCustomUrl:
|
|
16761
|
+
* type: string
|
|
16762
|
+
* example:
|
|
16763
|
+
* - https://<resourceName>.openai.azure.com/openai/deployments/<deploymentName>/chat/completions?api-version=<apiVersion>
|
|
16764
|
+
* - https://<resourceName>.openai.azure.com/openai/deployments/<deploymentName>/completions?api-version=<apiVersion>
|
|
16765
|
+
* - https://<resourceName>.openai.azure.com/openai/deployments/<deploymentName>/embeddings?api-version=<apiVersion>
|
|
16766
|
+
* googleVertexAI:
|
|
16767
|
+
* type: object
|
|
16768
|
+
* description: Google VertexAI specific meta data
|
|
16769
|
+
* properties:
|
|
16770
|
+
* location:
|
|
16771
|
+
* type: string
|
|
16772
|
+
* apiEndpoint:
|
|
16773
|
+
* type: string
|
|
16774
|
+
* publisher:
|
|
16775
|
+
* type: string
|
|
16776
|
+
* googleGemini:
|
|
16777
|
+
* type: object
|
|
16778
|
+
* description: Google Gemini specific meta data
|
|
16779
|
+
* properties:
|
|
16780
|
+
* location:
|
|
16781
|
+
* type: string
|
|
16782
|
+
* alephAlpha:
|
|
16783
|
+
* type: object
|
|
16784
|
+
* description: Aleph Alpha specific meta data
|
|
16785
|
+
* properties:
|
|
16786
|
+
* customModel:
|
|
16787
|
+
* type: string
|
|
16788
|
+
* example: luminous-003
|
|
16789
|
+
* description: The custom model name. This does not work with embedding models
|
|
16790
|
+
* baseCustomUrl:
|
|
16791
|
+
* type: string
|
|
16792
|
+
* example: https://api.aleph-alpha.com
|
|
16793
|
+
*
|
|
16794
|
+
* ILargeLanguageModelFields_2_0:
|
|
16795
|
+
* allOf:
|
|
16796
|
+
* - $ref: '#/components/schemas/ILargeLanguageModelFieldsBase_2_0'
|
|
16797
|
+
* - $ref: '#/components/schemas/IProjectResourceFields_2_0'
|
|
16798
|
+
* - type: object
|
|
16799
|
+
* properties:
|
|
16649
16800
|
* isDefault:
|
|
16650
16801
|
* type: boolean
|
|
16651
16802
|
* description: Sets the LLM to default (fallback) if no other LLM is set
|
|
16652
16803
|
* example: false
|
|
16653
|
-
* openAI:
|
|
16654
|
-
* type: object
|
|
16655
|
-
* description: OpenAI specific meta data
|
|
16656
|
-
* properties:
|
|
16657
|
-
* customModel:
|
|
16658
|
-
* type: string
|
|
16659
|
-
* example: gpt-4-32k-0613
|
|
16660
|
-
* description: The custom model name. This does not work with embedding models
|
|
16661
|
-
* anthropic:
|
|
16662
|
-
* type: object
|
|
16663
|
-
* description: Anthropic specific meta data
|
|
16664
|
-
* properties:
|
|
16665
|
-
* customModel:
|
|
16666
|
-
* type: string
|
|
16667
|
-
* example: claude-3-opus-20240229
|
|
16668
|
-
* description: The custom model name. This does not work with embedding models
|
|
16669
|
-
* azureOpenAI:
|
|
16670
|
-
* type: object
|
|
16671
|
-
* description: Azure OpenAI specific meta data
|
|
16672
|
-
* properties:
|
|
16673
|
-
* resourceName:
|
|
16674
|
-
* type: string
|
|
16675
|
-
* deploymentName:
|
|
16676
|
-
* type: string
|
|
16677
|
-
* apiVersion:
|
|
16678
|
-
* type: string
|
|
16679
|
-
* baseCustomUrl:
|
|
16680
|
-
* type: string
|
|
16681
|
-
* example:
|
|
16682
|
-
* - https://<resourceName>.openai.azure.com/openai/deployments/<deploymentName>/chat/completions?api-version=<apiVersion>
|
|
16683
|
-
* - https://<resourceName>.openai.azure.com/openai/deployments/<deploymentName>/completions?api-version=<apiVersion>
|
|
16684
|
-
* - https://<resourceName>.openai.azure.com/openai/deployments/<deploymentName>/embeddings?api-version=<apiVersion>
|
|
16685
|
-
* googleVertexAI:
|
|
16686
|
-
* type: object
|
|
16687
|
-
* description: Google VertexAI specific meta data
|
|
16688
|
-
* properties:
|
|
16689
|
-
* location:
|
|
16690
|
-
* type: string
|
|
16691
|
-
* apiEndpoint:
|
|
16692
|
-
* type: string
|
|
16693
|
-
* publisher:
|
|
16694
|
-
* type: string
|
|
16695
|
-
* googleGemini:
|
|
16696
|
-
* type: object
|
|
16697
|
-
* description: Google Gemini specific meta data
|
|
16698
|
-
* properties:
|
|
16699
|
-
* location:
|
|
16700
|
-
* type: string
|
|
16701
|
-
* alephAlpha:
|
|
16702
|
-
* type: object
|
|
16703
|
-
* description: Aleph Alpha specific meta data
|
|
16704
|
-
* properties:
|
|
16705
|
-
* customModel:
|
|
16706
|
-
* type: string
|
|
16707
|
-
* example: luminous-003
|
|
16708
|
-
* description: The custom model name. This does not work with embedding models
|
|
16709
|
-
* baseCustomUrl:
|
|
16710
|
-
* type: string
|
|
16711
|
-
* example: https://api.aleph-alpha.com
|
|
16712
16804
|
* fallbacks:
|
|
16713
16805
|
* type: array
|
|
16714
16806
|
* description: (alpha feature) specifies a fallback LLM that will be used when the current LLM stops working.
|
|
16715
16807
|
* items:
|
|
16716
16808
|
* $ref: '#/components/schemas/ILLMFallback_2_0'
|
|
16717
|
-
*
|
|
16809
|
+
* IGlobalLargeLanguageModelFields_2_0:
|
|
16810
|
+
* allOf:
|
|
16811
|
+
* - $ref: '#/components/schemas/ILargeLanguageModelFieldsBase_2_0'
|
|
16812
|
+
* - $ref: '#/components/schemas/IGlobalResourceFields_2_0'
|
|
16718
16813
|
* ILargeLanguageModelCreate_2_0:
|
|
16719
16814
|
* allOf:
|
|
16720
16815
|
* - $ref: '#/components/schemas/ILargeLanguageModelFields_2_0'
|
|
16721
|
-
*
|
|
16722
16816
|
* ILargeLanguageModelData_2_0:
|
|
16723
16817
|
* allOf:
|
|
16724
16818
|
* - $ref: '#/components/schemas/ILargeLanguageModelFields_2_0'
|
|
@@ -16728,13 +16822,25 @@ export interface IGoogleGeminiMeta_2_0 {
|
|
|
16728
16822
|
* type: string
|
|
16729
16823
|
* description: The reference id of the LargeLanguageModel
|
|
16730
16824
|
* format: uuid
|
|
16731
|
-
*
|
|
16825
|
+
* IGlobalLargeLanguageModelData_2_0:
|
|
16826
|
+
* allOf:
|
|
16827
|
+
* - $ref: '#/components/schemas/IGlobalLargeLanguageModelFields_2_0'
|
|
16828
|
+
* - type: object
|
|
16829
|
+
* properties:
|
|
16830
|
+
* referenceId:
|
|
16831
|
+
* type: string
|
|
16832
|
+
* description: The reference id of the LargeLanguageModel
|
|
16833
|
+
* format: uuid
|
|
16834
|
+
* IGlobalLargeLanguageModel_2_0:
|
|
16835
|
+
* allOf:
|
|
16836
|
+
* - $ref: '#/components/schemas/IGlobalLargeLanguageModelData_2_0'
|
|
16837
|
+
* - $ref: '#/components/schemas/IEntityMeta'
|
|
16732
16838
|
* ILargeLanguageModel_2_0:
|
|
16733
16839
|
* allOf:
|
|
16734
16840
|
* - $ref: '#/components/schemas/ILargeLanguageModelData_2_0'
|
|
16735
16841
|
* - $ref: '#/components/schemas/IEntityMeta'
|
|
16736
16842
|
*/
|
|
16737
|
-
export interface ILargeLanguageModel_2_0 {
|
|
16843
|
+
export interface ILargeLanguageModel_2_0 extends IGlobalResource {
|
|
16738
16844
|
referenceId: string;
|
|
16739
16845
|
_id: TMongoId;
|
|
16740
16846
|
name: string;
|
|
@@ -16800,7 +16906,7 @@ export interface ILargeLanguageModel_2_0 {
|
|
|
16800
16906
|
* example: false
|
|
16801
16907
|
* - $ref: '#/components/schemas/IEntityMeta'
|
|
16802
16908
|
*/
|
|
16803
|
-
export interface ILargeLanguageModelIndexItem_2_0 {
|
|
16909
|
+
export interface ILargeLanguageModelIndexItem_2_0 extends IGlobalResource {
|
|
16804
16910
|
referenceId: string;
|
|
16805
16911
|
_id: TMongoId;
|
|
16806
16912
|
name: string;
|
|
@@ -21509,6 +21615,7 @@ export interface IImpersonateUserRestManagementReturnValue_2_0 {
|
|
|
21509
21615
|
access_token: string;
|
|
21510
21616
|
expires_in: number;
|
|
21511
21617
|
refresh_token: string;
|
|
21618
|
+
login_token: string;
|
|
21512
21619
|
token_type: "Bearer";
|
|
21513
21620
|
}
|
|
21514
21621
|
export interface ManagementAPIGroup_2_0 {
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"license.js","sourceRoot":"","sources":["../../../src/shared/interfaces/license.ts"],"names":[],"mappings":";;;AAuBA;;;;;;;;;;;;;;;GAeG;AACU,QAAA,aAAa,GAAU;IACnC,SAAS;IACT,OAAO;IACP,kBAAkB;IAClB,gBAAgB;IAChB,sBAAsB;IACtB,SAAS,CAAC,wEAAwE;CAClF,CAAC;AAcW,QAAA,0BAA0B,GAAU,CAAC,IAAI,EAAE,UAAU,EAAE,WAAW,EAAE,WAAW,CAAC,CAAC;AAGjF,QAAA,0BAA0B,GAA8D;IACpG,EAAE,EAAE,YAAY;IAChB,QAAQ,EAAE,kBAAkB;IAC5B,SAAS,EAAE,mBAAmB;IAC9B,SAAS,EAAE,mBAAmB;CAC9B,CAAC"}
|
package/build/test.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
//# sourceMappingURL=test.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"license.js","sourceRoot":"","sources":["../../../../src/shared/interfaces/license.ts"],"names":[],"mappings":"AAuBA;;;;;;;;;;;;;;;GAeG;AACH,MAAM,CAAC,MAAM,aAAa,GAAU;IACnC,SAAS;IACT,OAAO;IACP,kBAAkB;IAClB,gBAAgB;IAChB,sBAAsB;IACtB,SAAS,CAAC,wEAAwE;CAClF,CAAC;AAcF,MAAM,CAAC,MAAM,0BAA0B,GAAU,CAAC,IAAI,EAAE,UAAU,EAAE,WAAW,EAAE,WAAW,CAAC,CAAC;AAG9F,MAAM,CAAC,MAAM,0BAA0B,GAA8D;IACpG,EAAE,EAAE,YAAY;IAChB,QAAQ,EAAE,kBAAkB;IAC5B,SAAS,EAAE,mBAAmB;IAC9B,SAAS,EAAE,mBAAmB;CAC9B,CAAC"}
|
package/dist/esm/test.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
//# sourceMappingURL=test.js.map
|