@scout9/admin 1.0.0-alpha.0.0.18 → 1.0.0-alpha.0.0.19
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/build/api.d.ts +295 -116
- package/build/api.js +32 -36
- package/package.json +1 -1
- package/src/api.ts +310 -135
- package/tsconfig.tsbuildinfo +1 -1
package/build/api.d.ts
CHANGED
|
@@ -75,23 +75,29 @@ export interface Agent {
|
|
|
75
75
|
*/
|
|
76
76
|
'title'?: string;
|
|
77
77
|
/**
|
|
78
|
-
*
|
|
79
|
-
* @type {
|
|
78
|
+
*
|
|
79
|
+
* @type {AgentContext}
|
|
80
80
|
* @memberof Agent
|
|
81
81
|
*/
|
|
82
|
-
'context'?:
|
|
82
|
+
'context'?: AgentContext;
|
|
83
83
|
/**
|
|
84
|
-
*
|
|
84
|
+
* Transcripts of the agent
|
|
85
85
|
* @type {Array<string>}
|
|
86
86
|
* @memberof Agent
|
|
87
87
|
*/
|
|
88
|
-
'
|
|
88
|
+
'transcripts'?: Array<string>;
|
|
89
89
|
/**
|
|
90
|
-
*
|
|
91
|
-
* @type {string}
|
|
90
|
+
* Audios of the agent
|
|
91
|
+
* @type {Array<string>}
|
|
92
92
|
* @memberof Agent
|
|
93
93
|
*/
|
|
94
|
-
'
|
|
94
|
+
'audios'?: Array<string>;
|
|
95
|
+
/**
|
|
96
|
+
* Locations ids the agent is included in
|
|
97
|
+
* @type {Array<string>}
|
|
98
|
+
* @memberof Agent
|
|
99
|
+
*/
|
|
100
|
+
'includedLocations'?: Array<string>;
|
|
95
101
|
/**
|
|
96
102
|
* Locations id the agent is excluded from
|
|
97
103
|
* @type {Array<string>}
|
|
@@ -99,12 +105,12 @@ export interface Agent {
|
|
|
99
105
|
*/
|
|
100
106
|
'excludedLocations'?: Array<string>;
|
|
101
107
|
}
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
export type
|
|
108
|
+
/**
|
|
109
|
+
* @type AgentContext
|
|
110
|
+
* Context of the agent, defaults to \"Agent\"
|
|
111
|
+
* @export
|
|
112
|
+
*/
|
|
113
|
+
export type AgentContext = Array<string> | string;
|
|
108
114
|
/**
|
|
109
115
|
*
|
|
110
116
|
* @export
|
|
@@ -1229,23 +1235,29 @@ export interface CreateAgentRequest {
|
|
|
1229
1235
|
*/
|
|
1230
1236
|
'title'?: string;
|
|
1231
1237
|
/**
|
|
1232
|
-
*
|
|
1233
|
-
* @type {
|
|
1238
|
+
*
|
|
1239
|
+
* @type {AgentContext}
|
|
1234
1240
|
* @memberof CreateAgentRequest
|
|
1235
1241
|
*/
|
|
1236
|
-
'context'?:
|
|
1242
|
+
'context'?: AgentContext;
|
|
1237
1243
|
/**
|
|
1238
|
-
*
|
|
1244
|
+
* Transcripts of the agent
|
|
1239
1245
|
* @type {Array<string>}
|
|
1240
1246
|
* @memberof CreateAgentRequest
|
|
1241
1247
|
*/
|
|
1242
|
-
'
|
|
1248
|
+
'transcripts'?: Array<string>;
|
|
1243
1249
|
/**
|
|
1244
|
-
*
|
|
1245
|
-
* @type {string}
|
|
1250
|
+
* Audios of the agent
|
|
1251
|
+
* @type {Array<string>}
|
|
1246
1252
|
* @memberof CreateAgentRequest
|
|
1247
1253
|
*/
|
|
1248
|
-
'
|
|
1254
|
+
'audios'?: Array<string>;
|
|
1255
|
+
/**
|
|
1256
|
+
* Locations ids the agent is included in
|
|
1257
|
+
* @type {Array<string>}
|
|
1258
|
+
* @memberof CreateAgentRequest
|
|
1259
|
+
*/
|
|
1260
|
+
'includedLocations'?: Array<string>;
|
|
1249
1261
|
/**
|
|
1250
1262
|
* Locations id the agent is excluded from
|
|
1251
1263
|
* @type {Array<string>}
|
|
@@ -1265,12 +1277,6 @@ export interface CreateAgentRequest {
|
|
|
1265
1277
|
*/
|
|
1266
1278
|
'audio'?: Array<string>;
|
|
1267
1279
|
}
|
|
1268
|
-
export declare const CreateAgentRequestModelEnum: {
|
|
1269
|
-
readonly Scout9: "Scout9";
|
|
1270
|
-
readonly Bard: "bard";
|
|
1271
|
-
readonly Null: "null";
|
|
1272
|
-
};
|
|
1273
|
-
export type CreateAgentRequestModelEnum = typeof CreateAgentRequestModelEnum[keyof typeof CreateAgentRequestModelEnum];
|
|
1274
1280
|
/**
|
|
1275
1281
|
*
|
|
1276
1282
|
* @export
|
|
@@ -1438,23 +1444,29 @@ export interface CreateAgentsRequestAgentsInner {
|
|
|
1438
1444
|
*/
|
|
1439
1445
|
'title'?: string;
|
|
1440
1446
|
/**
|
|
1441
|
-
*
|
|
1442
|
-
* @type {
|
|
1447
|
+
*
|
|
1448
|
+
* @type {AgentContext}
|
|
1443
1449
|
* @memberof CreateAgentsRequestAgentsInner
|
|
1444
1450
|
*/
|
|
1445
|
-
'context'?:
|
|
1451
|
+
'context'?: AgentContext;
|
|
1446
1452
|
/**
|
|
1447
|
-
*
|
|
1453
|
+
* Transcripts of the agent
|
|
1448
1454
|
* @type {Array<string>}
|
|
1449
1455
|
* @memberof CreateAgentsRequestAgentsInner
|
|
1450
1456
|
*/
|
|
1451
|
-
'
|
|
1457
|
+
'transcripts'?: Array<string>;
|
|
1452
1458
|
/**
|
|
1453
|
-
*
|
|
1454
|
-
* @type {string}
|
|
1459
|
+
* Audios of the agent
|
|
1460
|
+
* @type {Array<string>}
|
|
1455
1461
|
* @memberof CreateAgentsRequestAgentsInner
|
|
1456
1462
|
*/
|
|
1457
|
-
'
|
|
1463
|
+
'audios'?: Array<string>;
|
|
1464
|
+
/**
|
|
1465
|
+
* Locations ids the agent is included in
|
|
1466
|
+
* @type {Array<string>}
|
|
1467
|
+
* @memberof CreateAgentsRequestAgentsInner
|
|
1468
|
+
*/
|
|
1469
|
+
'includedLocations'?: Array<string>;
|
|
1458
1470
|
/**
|
|
1459
1471
|
* Locations id the agent is excluded from
|
|
1460
1472
|
* @type {Array<string>}
|
|
@@ -1462,12 +1474,6 @@ export interface CreateAgentsRequestAgentsInner {
|
|
|
1462
1474
|
*/
|
|
1463
1475
|
'excludedLocations'?: Array<string>;
|
|
1464
1476
|
}
|
|
1465
|
-
export declare const CreateAgentsRequestAgentsInnerModelEnum: {
|
|
1466
|
-
readonly Scout9: "Scout9";
|
|
1467
|
-
readonly Bard: "bard";
|
|
1468
|
-
readonly Null: "null";
|
|
1469
|
-
};
|
|
1470
|
-
export type CreateAgentsRequestAgentsInnerModelEnum = typeof CreateAgentsRequestAgentsInnerModelEnum[keyof typeof CreateAgentsRequestAgentsInnerModelEnum];
|
|
1471
1477
|
/**
|
|
1472
1478
|
*
|
|
1473
1479
|
* @export
|
|
@@ -2695,10 +2701,10 @@ export interface GenerateRequestOneOf {
|
|
|
2695
2701
|
'convo'?: ConversationCreateRequest;
|
|
2696
2702
|
/**
|
|
2697
2703
|
* Conversation messages and context to generate message from
|
|
2698
|
-
* @type {Array<
|
|
2704
|
+
* @type {Array<Message>}
|
|
2699
2705
|
* @memberof GenerateRequestOneOf
|
|
2700
2706
|
*/
|
|
2701
|
-
'messages': Array<
|
|
2707
|
+
'messages': Array<Message>;
|
|
2702
2708
|
/**
|
|
2703
2709
|
* Any key,value information about the conversation, customer, or offer goes here
|
|
2704
2710
|
* @type {{ [key: string]: any; }}
|
|
@@ -2708,11 +2714,47 @@ export interface GenerateRequestOneOf {
|
|
|
2708
2714
|
[key: string]: any;
|
|
2709
2715
|
};
|
|
2710
2716
|
/**
|
|
2711
|
-
*
|
|
2712
|
-
* @type {
|
|
2717
|
+
*
|
|
2718
|
+
* @type {GenerateRequestOneOfPersona}
|
|
2719
|
+
* @memberof GenerateRequestOneOf
|
|
2720
|
+
*/
|
|
2721
|
+
'persona': GenerateRequestOneOfPersona;
|
|
2722
|
+
/**
|
|
2723
|
+
*
|
|
2724
|
+
* @type {LlmConfig}
|
|
2725
|
+
* @memberof GenerateRequestOneOf
|
|
2726
|
+
*/
|
|
2727
|
+
'llm'?: LlmConfig;
|
|
2728
|
+
/**
|
|
2729
|
+
*
|
|
2730
|
+
* @type {PmtConfig}
|
|
2713
2731
|
* @memberof GenerateRequestOneOf
|
|
2714
2732
|
*/
|
|
2715
|
-
'
|
|
2733
|
+
'pmt'?: PmtConfig;
|
|
2734
|
+
}
|
|
2735
|
+
/**
|
|
2736
|
+
* @type GenerateRequestOneOfPersona
|
|
2737
|
+
* @export
|
|
2738
|
+
*/
|
|
2739
|
+
export type GenerateRequestOneOfPersona = Agent | string;
|
|
2740
|
+
/**
|
|
2741
|
+
*
|
|
2742
|
+
* @export
|
|
2743
|
+
* @interface GenerateResponse
|
|
2744
|
+
*/
|
|
2745
|
+
export interface GenerateResponse {
|
|
2746
|
+
/**
|
|
2747
|
+
* The generated message
|
|
2748
|
+
* @type {string}
|
|
2749
|
+
* @memberof GenerateResponse
|
|
2750
|
+
*/
|
|
2751
|
+
'message': string;
|
|
2752
|
+
/**
|
|
2753
|
+
* The time it took to generate the message in milliseconds
|
|
2754
|
+
* @type {number}
|
|
2755
|
+
* @memberof GenerateResponse
|
|
2756
|
+
*/
|
|
2757
|
+
'ms': number;
|
|
2716
2758
|
}
|
|
2717
2759
|
/**
|
|
2718
2760
|
*
|
|
@@ -2775,23 +2817,29 @@ export interface GetAgentResponse {
|
|
|
2775
2817
|
*/
|
|
2776
2818
|
'title'?: string;
|
|
2777
2819
|
/**
|
|
2778
|
-
*
|
|
2779
|
-
* @type {
|
|
2820
|
+
*
|
|
2821
|
+
* @type {AgentContext}
|
|
2780
2822
|
* @memberof GetAgentResponse
|
|
2781
2823
|
*/
|
|
2782
|
-
'context'?:
|
|
2824
|
+
'context'?: AgentContext;
|
|
2783
2825
|
/**
|
|
2784
|
-
*
|
|
2826
|
+
* Transcripts of the agent
|
|
2785
2827
|
* @type {Array<string>}
|
|
2786
2828
|
* @memberof GetAgentResponse
|
|
2787
2829
|
*/
|
|
2788
|
-
'
|
|
2830
|
+
'transcripts'?: Array<string>;
|
|
2789
2831
|
/**
|
|
2790
|
-
*
|
|
2791
|
-
* @type {string}
|
|
2832
|
+
* Audios of the agent
|
|
2833
|
+
* @type {Array<string>}
|
|
2792
2834
|
* @memberof GetAgentResponse
|
|
2793
2835
|
*/
|
|
2794
|
-
'
|
|
2836
|
+
'audios'?: Array<string>;
|
|
2837
|
+
/**
|
|
2838
|
+
* Locations ids the agent is included in
|
|
2839
|
+
* @type {Array<string>}
|
|
2840
|
+
* @memberof GetAgentResponse
|
|
2841
|
+
*/
|
|
2842
|
+
'includedLocations'?: Array<string>;
|
|
2795
2843
|
/**
|
|
2796
2844
|
* Locations id the agent is excluded from
|
|
2797
2845
|
* @type {Array<string>}
|
|
@@ -2805,12 +2853,6 @@ export interface GetAgentResponse {
|
|
|
2805
2853
|
*/
|
|
2806
2854
|
'$id': string;
|
|
2807
2855
|
}
|
|
2808
|
-
export declare const GetAgentResponseModelEnum: {
|
|
2809
|
-
readonly Scout9: "Scout9";
|
|
2810
|
-
readonly Bard: "bard";
|
|
2811
|
-
readonly Null: "null";
|
|
2812
|
-
};
|
|
2813
|
-
export type GetAgentResponseModelEnum = typeof GetAgentResponseModelEnum[keyof typeof GetAgentResponseModelEnum];
|
|
2814
2856
|
/**
|
|
2815
2857
|
*
|
|
2816
2858
|
* @export
|
|
@@ -3341,23 +3383,29 @@ export interface ListAgentsResponseInner {
|
|
|
3341
3383
|
*/
|
|
3342
3384
|
'title'?: string;
|
|
3343
3385
|
/**
|
|
3344
|
-
*
|
|
3345
|
-
* @type {
|
|
3386
|
+
*
|
|
3387
|
+
* @type {AgentContext}
|
|
3346
3388
|
* @memberof ListAgentsResponseInner
|
|
3347
3389
|
*/
|
|
3348
|
-
'context'?:
|
|
3390
|
+
'context'?: AgentContext;
|
|
3349
3391
|
/**
|
|
3350
|
-
*
|
|
3392
|
+
* Transcripts of the agent
|
|
3351
3393
|
* @type {Array<string>}
|
|
3352
3394
|
* @memberof ListAgentsResponseInner
|
|
3353
3395
|
*/
|
|
3354
|
-
'
|
|
3396
|
+
'transcripts'?: Array<string>;
|
|
3355
3397
|
/**
|
|
3356
|
-
*
|
|
3357
|
-
* @type {string}
|
|
3398
|
+
* Audios of the agent
|
|
3399
|
+
* @type {Array<string>}
|
|
3358
3400
|
* @memberof ListAgentsResponseInner
|
|
3359
3401
|
*/
|
|
3360
|
-
'
|
|
3402
|
+
'audios'?: Array<string>;
|
|
3403
|
+
/**
|
|
3404
|
+
* Locations ids the agent is included in
|
|
3405
|
+
* @type {Array<string>}
|
|
3406
|
+
* @memberof ListAgentsResponseInner
|
|
3407
|
+
*/
|
|
3408
|
+
'includedLocations'?: Array<string>;
|
|
3361
3409
|
/**
|
|
3362
3410
|
* Locations id the agent is excluded from
|
|
3363
3411
|
* @type {Array<string>}
|
|
@@ -3371,12 +3419,6 @@ export interface ListAgentsResponseInner {
|
|
|
3371
3419
|
*/
|
|
3372
3420
|
'$id': string;
|
|
3373
3421
|
}
|
|
3374
|
-
export declare const ListAgentsResponseInnerModelEnum: {
|
|
3375
|
-
readonly Scout9: "Scout9";
|
|
3376
|
-
readonly Bard: "bard";
|
|
3377
|
-
readonly Null: "null";
|
|
3378
|
-
};
|
|
3379
|
-
export type ListAgentsResponseInnerModelEnum = typeof ListAgentsResponseInnerModelEnum[keyof typeof ListAgentsResponseInnerModelEnum];
|
|
3380
3422
|
/**
|
|
3381
3423
|
*
|
|
3382
3424
|
* @export
|
|
@@ -3888,6 +3930,96 @@ export interface ListWorkflowsResponseInnerAllOf {
|
|
|
3888
3930
|
*/
|
|
3889
3931
|
'$id': string;
|
|
3890
3932
|
}
|
|
3933
|
+
/**
|
|
3934
|
+
* @type LlmConfig
|
|
3935
|
+
* @export
|
|
3936
|
+
*/
|
|
3937
|
+
export type LlmConfig = LlmConfigOneOf | LlmConfigOneOf1 | LlmConfigOneOf2;
|
|
3938
|
+
/**
|
|
3939
|
+
*
|
|
3940
|
+
* @export
|
|
3941
|
+
* @interface LlmConfigOneOf
|
|
3942
|
+
*/
|
|
3943
|
+
export interface LlmConfigOneOf {
|
|
3944
|
+
/**
|
|
3945
|
+
*
|
|
3946
|
+
* @type {string}
|
|
3947
|
+
* @memberof LlmConfigOneOf
|
|
3948
|
+
*/
|
|
3949
|
+
'engine'?: LlmConfigOneOfEngineEnum;
|
|
3950
|
+
/**
|
|
3951
|
+
*
|
|
3952
|
+
* @type {string}
|
|
3953
|
+
* @memberof LlmConfigOneOf
|
|
3954
|
+
*/
|
|
3955
|
+
'model'?: LlmConfigOneOfModelEnum;
|
|
3956
|
+
}
|
|
3957
|
+
export declare const LlmConfigOneOfEngineEnum: {
|
|
3958
|
+
readonly Openai: "openai";
|
|
3959
|
+
};
|
|
3960
|
+
export type LlmConfigOneOfEngineEnum = typeof LlmConfigOneOfEngineEnum[keyof typeof LlmConfigOneOfEngineEnum];
|
|
3961
|
+
export declare const LlmConfigOneOfModelEnum: {
|
|
3962
|
+
readonly _41106Preview: "gpt-4-1106-preview";
|
|
3963
|
+
readonly _4VisionPreview: "gpt-4-vision-preview";
|
|
3964
|
+
readonly _4: "gpt-4";
|
|
3965
|
+
readonly _40314: "gpt-4-0314";
|
|
3966
|
+
readonly _40613: "gpt-4-0613";
|
|
3967
|
+
readonly _432k: "gpt-4-32k";
|
|
3968
|
+
readonly _432k0314: "gpt-4-32k-0314";
|
|
3969
|
+
readonly _432k0613: "gpt-4-32k-0613";
|
|
3970
|
+
readonly _35Turbo: "gpt-3.5-turbo";
|
|
3971
|
+
readonly _35Turbo16k: "gpt-3.5-turbo-16k";
|
|
3972
|
+
readonly _35Turbo0301: "gpt-3.5-turbo-0301";
|
|
3973
|
+
readonly _35Turbo0613: "gpt-3.5-turbo-0613";
|
|
3974
|
+
readonly _35Turbo16k0613: "gpt-3.5-turbo-16k-0613";
|
|
3975
|
+
};
|
|
3976
|
+
export type LlmConfigOneOfModelEnum = typeof LlmConfigOneOfModelEnum[keyof typeof LlmConfigOneOfModelEnum];
|
|
3977
|
+
/**
|
|
3978
|
+
*
|
|
3979
|
+
* @export
|
|
3980
|
+
* @interface LlmConfigOneOf1
|
|
3981
|
+
*/
|
|
3982
|
+
export interface LlmConfigOneOf1 {
|
|
3983
|
+
/**
|
|
3984
|
+
*
|
|
3985
|
+
* @type {string}
|
|
3986
|
+
* @memberof LlmConfigOneOf1
|
|
3987
|
+
*/
|
|
3988
|
+
'engine'?: LlmConfigOneOf1EngineEnum;
|
|
3989
|
+
/**
|
|
3990
|
+
*
|
|
3991
|
+
* @type {string}
|
|
3992
|
+
* @memberof LlmConfigOneOf1
|
|
3993
|
+
*/
|
|
3994
|
+
'model'?: string;
|
|
3995
|
+
}
|
|
3996
|
+
export declare const LlmConfigOneOf1EngineEnum: {
|
|
3997
|
+
readonly Llama: "llama";
|
|
3998
|
+
};
|
|
3999
|
+
export type LlmConfigOneOf1EngineEnum = typeof LlmConfigOneOf1EngineEnum[keyof typeof LlmConfigOneOf1EngineEnum];
|
|
4000
|
+
/**
|
|
4001
|
+
*
|
|
4002
|
+
* @export
|
|
4003
|
+
* @interface LlmConfigOneOf2
|
|
4004
|
+
*/
|
|
4005
|
+
export interface LlmConfigOneOf2 {
|
|
4006
|
+
/**
|
|
4007
|
+
*
|
|
4008
|
+
* @type {string}
|
|
4009
|
+
* @memberof LlmConfigOneOf2
|
|
4010
|
+
*/
|
|
4011
|
+
'engine'?: LlmConfigOneOf2EngineEnum;
|
|
4012
|
+
/**
|
|
4013
|
+
*
|
|
4014
|
+
* @type {string}
|
|
4015
|
+
* @memberof LlmConfigOneOf2
|
|
4016
|
+
*/
|
|
4017
|
+
'model'?: string;
|
|
4018
|
+
}
|
|
4019
|
+
export declare const LlmConfigOneOf2EngineEnum: {
|
|
4020
|
+
readonly Bard: "bard";
|
|
4021
|
+
};
|
|
4022
|
+
export type LlmConfigOneOf2EngineEnum = typeof LlmConfigOneOf2EngineEnum[keyof typeof LlmConfigOneOf2EngineEnum];
|
|
3891
4023
|
/**
|
|
3892
4024
|
* @type Logic
|
|
3893
4025
|
* @export
|
|
@@ -4241,7 +4373,7 @@ export interface ParseRequest {
|
|
|
4241
4373
|
* @type {string}
|
|
4242
4374
|
* @memberof ParseRequest
|
|
4243
4375
|
*/
|
|
4244
|
-
'message'
|
|
4376
|
+
'message': string;
|
|
4245
4377
|
/**
|
|
4246
4378
|
* The language of the message
|
|
4247
4379
|
* @type {string}
|
|
@@ -4352,21 +4484,21 @@ export interface ParseResponse {
|
|
|
4352
4484
|
* @type {{ [key: string]: any; }}
|
|
4353
4485
|
* @memberof ParseResponse
|
|
4354
4486
|
*/
|
|
4355
|
-
'context'
|
|
4487
|
+
'context': {
|
|
4356
4488
|
[key: string]: any;
|
|
4357
4489
|
};
|
|
4358
4490
|
/**
|
|
4359
|
-
* The time it took to parse the message in
|
|
4491
|
+
* The time it took to parse the message in milliseconds
|
|
4360
4492
|
* @type {number}
|
|
4361
4493
|
* @memberof ParseResponse
|
|
4362
4494
|
*/
|
|
4363
|
-
'ms'
|
|
4495
|
+
'ms': number;
|
|
4364
4496
|
/**
|
|
4365
4497
|
* the fields that were parsed
|
|
4366
4498
|
* @type {Array<string>}
|
|
4367
4499
|
* @memberof ParseResponse
|
|
4368
4500
|
*/
|
|
4369
|
-
'parsed'
|
|
4501
|
+
'parsed': Array<string>;
|
|
4370
4502
|
}
|
|
4371
4503
|
/**
|
|
4372
4504
|
* @type ParsedContextEntity
|
|
@@ -4375,6 +4507,34 @@ export interface ParseResponse {
|
|
|
4375
4507
|
export type ParsedContextEntity = string | {
|
|
4376
4508
|
[key: string]: any;
|
|
4377
4509
|
};
|
|
4510
|
+
/**
|
|
4511
|
+
*
|
|
4512
|
+
* @export
|
|
4513
|
+
* @interface PmtConfig
|
|
4514
|
+
*/
|
|
4515
|
+
export interface PmtConfig {
|
|
4516
|
+
/**
|
|
4517
|
+
*
|
|
4518
|
+
* @type {string}
|
|
4519
|
+
* @memberof PmtConfig
|
|
4520
|
+
*/
|
|
4521
|
+
'engine'?: PmtConfigEngineEnum;
|
|
4522
|
+
/**
|
|
4523
|
+
*
|
|
4524
|
+
* @type {string}
|
|
4525
|
+
* @memberof PmtConfig
|
|
4526
|
+
*/
|
|
4527
|
+
'model'?: PmtConfigModelEnum;
|
|
4528
|
+
}
|
|
4529
|
+
export declare const PmtConfigEngineEnum: {
|
|
4530
|
+
readonly Scout9: "scout9";
|
|
4531
|
+
};
|
|
4532
|
+
export type PmtConfigEngineEnum = typeof PmtConfigEngineEnum[keyof typeof PmtConfigEngineEnum];
|
|
4533
|
+
export declare const PmtConfigModelEnum: {
|
|
4534
|
+
readonly _10: "orin-1.0";
|
|
4535
|
+
readonly _20Preview: "orin-2.0-preview";
|
|
4536
|
+
};
|
|
4537
|
+
export type PmtConfigModelEnum = typeof PmtConfigModelEnum[keyof typeof PmtConfigModelEnum];
|
|
4378
4538
|
/**
|
|
4379
4539
|
*
|
|
4380
4540
|
* @export
|
|
@@ -4656,7 +4816,7 @@ export interface ScheduleGroupCreateRequest {
|
|
|
4656
4816
|
*/
|
|
4657
4817
|
'initialMessageHtml'?: string | null;
|
|
4658
4818
|
/**
|
|
4659
|
-
* The delay in
|
|
4819
|
+
* The delay in milliseconds between each customer, defaults to 15000 (15 seconds)
|
|
4660
4820
|
* @type {number}
|
|
4661
4821
|
* @memberof ScheduleGroupCreateRequest
|
|
4662
4822
|
*/
|
|
@@ -4754,7 +4914,7 @@ export interface ScheduleGroupGetResponse {
|
|
|
4754
4914
|
*/
|
|
4755
4915
|
'initialMessageHtml'?: string | null;
|
|
4756
4916
|
/**
|
|
4757
|
-
* The delay in
|
|
4917
|
+
* The delay in milliseconds between each customer, defaults to 15000 (15 seconds)
|
|
4758
4918
|
* @type {number}
|
|
4759
4919
|
* @memberof ScheduleGroupGetResponse
|
|
4760
4920
|
*/
|
|
@@ -4877,7 +5037,7 @@ export interface ScheduleGroupUpdateRequest {
|
|
|
4877
5037
|
*/
|
|
4878
5038
|
'initialMessageHtml'?: string | null;
|
|
4879
5039
|
/**
|
|
4880
|
-
* The delay in
|
|
5040
|
+
* The delay in milliseconds between each customer, defaults to 15000 (15 seconds)
|
|
4881
5041
|
* @type {number}
|
|
4882
5042
|
* @memberof ScheduleGroupUpdateRequest
|
|
4883
5043
|
*/
|
|
@@ -5198,7 +5358,7 @@ export interface ScheduledConversationGroup {
|
|
|
5198
5358
|
*/
|
|
5199
5359
|
'initialMessageHtml'?: string | null;
|
|
5200
5360
|
/**
|
|
5201
|
-
* The delay in
|
|
5361
|
+
* The delay in milliseconds between each customer, defaults to 15000 (15 seconds)
|
|
5202
5362
|
* @type {number}
|
|
5203
5363
|
* @memberof ScheduledConversationGroup
|
|
5204
5364
|
*/
|
|
@@ -5211,7 +5371,7 @@ export interface ScheduledConversationGroup {
|
|
|
5211
5371
|
*/
|
|
5212
5372
|
export interface ScheduledConversationGroupAllOf {
|
|
5213
5373
|
/**
|
|
5214
|
-
* The delay in
|
|
5374
|
+
* The delay in milliseconds between each customer, defaults to 15000 (15 seconds)
|
|
5215
5375
|
* @type {number}
|
|
5216
5376
|
* @memberof ScheduledConversationGroupAllOf
|
|
5217
5377
|
*/
|
|
@@ -5272,6 +5432,25 @@ export interface Scout9File {
|
|
|
5272
5432
|
*/
|
|
5273
5433
|
'status_details'?: string | null;
|
|
5274
5434
|
}
|
|
5435
|
+
/**
|
|
5436
|
+
*
|
|
5437
|
+
* @export
|
|
5438
|
+
* @interface Scout9ProjectConfig
|
|
5439
|
+
*/
|
|
5440
|
+
export interface Scout9ProjectConfig {
|
|
5441
|
+
/**
|
|
5442
|
+
*
|
|
5443
|
+
* @type {LlmConfig}
|
|
5444
|
+
* @memberof Scout9ProjectConfig
|
|
5445
|
+
*/
|
|
5446
|
+
'llm': LlmConfig;
|
|
5447
|
+
/**
|
|
5448
|
+
*
|
|
5449
|
+
* @type {PmtConfig}
|
|
5450
|
+
* @memberof Scout9ProjectConfig
|
|
5451
|
+
*/
|
|
5452
|
+
'pmt': PmtConfig;
|
|
5453
|
+
}
|
|
5275
5454
|
/**
|
|
5276
5455
|
*
|
|
5277
5456
|
* @export
|
|
@@ -5351,23 +5530,29 @@ export interface UpdateAgentRequest {
|
|
|
5351
5530
|
*/
|
|
5352
5531
|
'title'?: string;
|
|
5353
5532
|
/**
|
|
5354
|
-
*
|
|
5355
|
-
* @type {
|
|
5533
|
+
*
|
|
5534
|
+
* @type {AgentContext}
|
|
5356
5535
|
* @memberof UpdateAgentRequest
|
|
5357
5536
|
*/
|
|
5358
|
-
'context'?:
|
|
5537
|
+
'context'?: AgentContext;
|
|
5359
5538
|
/**
|
|
5360
|
-
*
|
|
5539
|
+
* Transcripts of the agent
|
|
5361
5540
|
* @type {Array<string>}
|
|
5362
5541
|
* @memberof UpdateAgentRequest
|
|
5363
5542
|
*/
|
|
5364
|
-
'
|
|
5543
|
+
'transcripts'?: Array<string>;
|
|
5365
5544
|
/**
|
|
5366
|
-
*
|
|
5367
|
-
* @type {string}
|
|
5545
|
+
* Audios of the agent
|
|
5546
|
+
* @type {Array<string>}
|
|
5368
5547
|
* @memberof UpdateAgentRequest
|
|
5369
5548
|
*/
|
|
5370
|
-
'
|
|
5549
|
+
'audios'?: Array<string>;
|
|
5550
|
+
/**
|
|
5551
|
+
* Locations ids the agent is included in
|
|
5552
|
+
* @type {Array<string>}
|
|
5553
|
+
* @memberof UpdateAgentRequest
|
|
5554
|
+
*/
|
|
5555
|
+
'includedLocations'?: Array<string>;
|
|
5371
5556
|
/**
|
|
5372
5557
|
* Locations id the agent is excluded from
|
|
5373
5558
|
* @type {Array<string>}
|
|
@@ -5375,12 +5560,6 @@ export interface UpdateAgentRequest {
|
|
|
5375
5560
|
*/
|
|
5376
5561
|
'excludedLocations'?: Array<string>;
|
|
5377
5562
|
}
|
|
5378
|
-
export declare const UpdateAgentRequestModelEnum: {
|
|
5379
|
-
readonly Scout9: "Scout9";
|
|
5380
|
-
readonly Bard: "bard";
|
|
5381
|
-
readonly Null: "null";
|
|
5382
|
-
};
|
|
5383
|
-
export type UpdateAgentRequestModelEnum = typeof UpdateAgentRequestModelEnum[keyof typeof UpdateAgentRequestModelEnum];
|
|
5384
5563
|
/**
|
|
5385
5564
|
*
|
|
5386
5565
|
* @export
|
|
@@ -5505,23 +5684,29 @@ export interface UpdateAgentsRequestAgentsInner {
|
|
|
5505
5684
|
*/
|
|
5506
5685
|
'title'?: string;
|
|
5507
5686
|
/**
|
|
5508
|
-
*
|
|
5509
|
-
* @type {
|
|
5687
|
+
*
|
|
5688
|
+
* @type {AgentContext}
|
|
5510
5689
|
* @memberof UpdateAgentsRequestAgentsInner
|
|
5511
5690
|
*/
|
|
5512
|
-
'context'?:
|
|
5691
|
+
'context'?: AgentContext;
|
|
5513
5692
|
/**
|
|
5514
|
-
*
|
|
5693
|
+
* Transcripts of the agent
|
|
5515
5694
|
* @type {Array<string>}
|
|
5516
5695
|
* @memberof UpdateAgentsRequestAgentsInner
|
|
5517
5696
|
*/
|
|
5518
|
-
'
|
|
5697
|
+
'transcripts'?: Array<string>;
|
|
5519
5698
|
/**
|
|
5520
|
-
*
|
|
5521
|
-
* @type {string}
|
|
5699
|
+
* Audios of the agent
|
|
5700
|
+
* @type {Array<string>}
|
|
5522
5701
|
* @memberof UpdateAgentsRequestAgentsInner
|
|
5523
5702
|
*/
|
|
5524
|
-
'
|
|
5703
|
+
'audios'?: Array<string>;
|
|
5704
|
+
/**
|
|
5705
|
+
* Locations ids the agent is included in
|
|
5706
|
+
* @type {Array<string>}
|
|
5707
|
+
* @memberof UpdateAgentsRequestAgentsInner
|
|
5708
|
+
*/
|
|
5709
|
+
'includedLocations'?: Array<string>;
|
|
5525
5710
|
/**
|
|
5526
5711
|
* Locations id the agent is excluded from
|
|
5527
5712
|
* @type {Array<string>}
|
|
@@ -5535,12 +5720,6 @@ export interface UpdateAgentsRequestAgentsInner {
|
|
|
5535
5720
|
*/
|
|
5536
5721
|
'$id': string;
|
|
5537
5722
|
}
|
|
5538
|
-
export declare const UpdateAgentsRequestAgentsInnerModelEnum: {
|
|
5539
|
-
readonly Scout9: "Scout9";
|
|
5540
|
-
readonly Bard: "bard";
|
|
5541
|
-
readonly Null: "null";
|
|
5542
|
-
};
|
|
5543
|
-
export type UpdateAgentsRequestAgentsInnerModelEnum = typeof UpdateAgentsRequestAgentsInnerModelEnum[keyof typeof UpdateAgentsRequestAgentsInnerModelEnum];
|
|
5544
5723
|
/**
|
|
5545
5724
|
*
|
|
5546
5725
|
* @export
|
|
@@ -7502,7 +7681,7 @@ export declare const Scout9ApiFp: (configuration?: Configuration) => {
|
|
|
7502
7681
|
* @param {*} [options] Override http request option.
|
|
7503
7682
|
* @throws {RequiredError}
|
|
7504
7683
|
*/
|
|
7505
|
-
generate(generateRequest: GenerateRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
7684
|
+
generate(generateRequest: GenerateRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GenerateResponse>>;
|
|
7506
7685
|
/**
|
|
7507
7686
|
* Creates a new message and sends it to the conversation. If the conversation is scheduled, the message will be scheduled as well. @TODO does not support the ability to mute or delay send
|
|
7508
7687
|
* @summary Create and send message
|
|
@@ -8078,7 +8257,7 @@ export declare const Scout9ApiFactory: (configuration?: Configuration, basePath?
|
|
|
8078
8257
|
* @param {*} [options] Override http request option.
|
|
8079
8258
|
* @throws {RequiredError}
|
|
8080
8259
|
*/
|
|
8081
|
-
generate(generateRequest: GenerateRequest, options?: any): AxiosPromise<
|
|
8260
|
+
generate(generateRequest: GenerateRequest, options?: any): AxiosPromise<GenerateResponse>;
|
|
8082
8261
|
/**
|
|
8083
8262
|
* Creates a new message and sends it to the conversation. If the conversation is scheduled, the message will be scheduled as well. @TODO does not support the ability to mute or delay send
|
|
8084
8263
|
* @summary Create and send message
|
|
@@ -8703,7 +8882,7 @@ export declare class Scout9Api extends BaseAPI {
|
|
|
8703
8882
|
* @throws {RequiredError}
|
|
8704
8883
|
* @memberof Scout9Api
|
|
8705
8884
|
*/
|
|
8706
|
-
generate(generateRequest: GenerateRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
8885
|
+
generate(generateRequest: GenerateRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GenerateResponse, any>>;
|
|
8707
8886
|
/**
|
|
8708
8887
|
* Creates a new message and sends it to the conversation. If the conversation is scheduled, the message will be scheduled as well. @TODO does not support the ability to mute or delay send
|
|
8709
8888
|
* @summary Create and send message
|