@vendasta/ai-assistants 0.62.0 → 0.64.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/esm2020/lib/_internal/connection.api.service.mjs +6 -2
- package/esm2020/lib/_internal/function.api.service.mjs +12 -2
- package/esm2020/lib/_internal/goal.api.service.mjs +7 -2
- package/esm2020/lib/_internal/interfaces/api.interface.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/assistant.interface.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/function.interface.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/goal.interface.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/index.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/prompt.interface.mjs +1 -1
- package/esm2020/lib/_internal/objects/api.mjs +131 -102
- package/esm2020/lib/_internal/objects/assistant.mjs +36 -1
- package/esm2020/lib/_internal/objects/function.mjs +111 -1
- package/esm2020/lib/_internal/objects/goal.mjs +44 -1
- package/esm2020/lib/_internal/objects/index.mjs +6 -6
- package/esm2020/lib/_internal/objects/prompt.mjs +50 -1
- package/esm2020/lib/_internal/prompt-module.api.service.mjs +7 -2
- package/fesm2015/vendasta-ai-assistants.mjs +392 -102
- package/fesm2015/vendasta-ai-assistants.mjs.map +1 -1
- package/fesm2020/vendasta-ai-assistants.mjs +392 -102
- package/fesm2020/vendasta-ai-assistants.mjs.map +1 -1
- package/lib/_internal/connection.api.service.d.ts +3 -2
- package/lib/_internal/function.api.service.d.ts +4 -2
- package/lib/_internal/goal.api.service.d.ts +3 -2
- package/lib/_internal/interfaces/api.interface.d.ts +24 -20
- package/lib/_internal/interfaces/assistant.interface.d.ts +6 -0
- package/lib/_internal/interfaces/function.interface.d.ts +16 -0
- package/lib/_internal/interfaces/goal.interface.d.ts +6 -0
- package/lib/_internal/interfaces/index.d.ts +5 -5
- package/lib/_internal/interfaces/prompt.interface.d.ts +8 -0
- package/lib/_internal/objects/api.d.ts +42 -35
- package/lib/_internal/objects/assistant.d.ts +9 -0
- package/lib/_internal/objects/function.d.ts +28 -0
- package/lib/_internal/objects/goal.d.ts +12 -0
- package/lib/_internal/objects/index.d.ts +5 -5
- package/lib/_internal/objects/prompt.d.ts +14 -0
- package/lib/_internal/prompt-module.api.service.d.ts +3 -2
- package/package.json +1 -1
|
@@ -1014,6 +1014,12 @@ class MCP {
|
|
|
1014
1014
|
if (proto.authStrategy) {
|
|
1015
1015
|
m.authStrategy = FunctionAuthStrategy.fromProto(proto.authStrategy);
|
|
1016
1016
|
}
|
|
1017
|
+
if (proto.headers) {
|
|
1018
|
+
m.headers = proto.headers.map(FunctionHeader.fromProto);
|
|
1019
|
+
}
|
|
1020
|
+
if (proto.constraints) {
|
|
1021
|
+
m.constraints = proto.constraints.map(Constraint.fromProto);
|
|
1022
|
+
}
|
|
1017
1023
|
return m;
|
|
1018
1024
|
}
|
|
1019
1025
|
constructor(kwargs) {
|
|
@@ -1039,6 +1045,12 @@ class MCP {
|
|
|
1039
1045
|
if (typeof this.sourcePath !== 'undefined') {
|
|
1040
1046
|
toReturn['sourcePath'] = this.sourcePath;
|
|
1041
1047
|
}
|
|
1048
|
+
if (typeof this.headers !== 'undefined' && this.headers !== null) {
|
|
1049
|
+
toReturn['headers'] = 'toApiJson' in this.headers ? this.headers.toApiJson() : this.headers;
|
|
1050
|
+
}
|
|
1051
|
+
if (typeof this.constraints !== 'undefined' && this.constraints !== null) {
|
|
1052
|
+
toReturn['constraints'] = 'toApiJson' in this.constraints ? this.constraints.toApiJson() : this.constraints;
|
|
1053
|
+
}
|
|
1042
1054
|
return toReturn;
|
|
1043
1055
|
}
|
|
1044
1056
|
}
|
|
@@ -1062,6 +1074,92 @@ class FunctionAuthStrategyPlatformManagedFunctionAuthStrategy {
|
|
|
1062
1074
|
return toReturn;
|
|
1063
1075
|
}
|
|
1064
1076
|
}
|
|
1077
|
+
class SerializeFunctionRequest {
|
|
1078
|
+
static fromProto(proto) {
|
|
1079
|
+
let m = new SerializeFunctionRequest();
|
|
1080
|
+
m = Object.assign(m, proto);
|
|
1081
|
+
if (proto.function) {
|
|
1082
|
+
m.function = Function.fromProto(proto.function);
|
|
1083
|
+
}
|
|
1084
|
+
return m;
|
|
1085
|
+
}
|
|
1086
|
+
constructor(kwargs) {
|
|
1087
|
+
if (!kwargs) {
|
|
1088
|
+
return;
|
|
1089
|
+
}
|
|
1090
|
+
Object.assign(this, kwargs);
|
|
1091
|
+
}
|
|
1092
|
+
toApiJson() {
|
|
1093
|
+
const toReturn = {};
|
|
1094
|
+
if (typeof this.function !== 'undefined' && this.function !== null) {
|
|
1095
|
+
toReturn['function'] = 'toApiJson' in this.function ? this.function.toApiJson() : this.function;
|
|
1096
|
+
}
|
|
1097
|
+
return toReturn;
|
|
1098
|
+
}
|
|
1099
|
+
}
|
|
1100
|
+
class SerializeFunctionResponse {
|
|
1101
|
+
static fromProto(proto) {
|
|
1102
|
+
let m = new SerializeFunctionResponse();
|
|
1103
|
+
m = Object.assign(m, proto);
|
|
1104
|
+
return m;
|
|
1105
|
+
}
|
|
1106
|
+
constructor(kwargs) {
|
|
1107
|
+
if (!kwargs) {
|
|
1108
|
+
return;
|
|
1109
|
+
}
|
|
1110
|
+
Object.assign(this, kwargs);
|
|
1111
|
+
}
|
|
1112
|
+
toApiJson() {
|
|
1113
|
+
const toReturn = {};
|
|
1114
|
+
if (typeof this.file !== 'undefined') {
|
|
1115
|
+
toReturn['file'] = this.file;
|
|
1116
|
+
}
|
|
1117
|
+
return toReturn;
|
|
1118
|
+
}
|
|
1119
|
+
}
|
|
1120
|
+
class SerializeMCPRequest {
|
|
1121
|
+
static fromProto(proto) {
|
|
1122
|
+
let m = new SerializeMCPRequest();
|
|
1123
|
+
m = Object.assign(m, proto);
|
|
1124
|
+
if (proto.mcp) {
|
|
1125
|
+
m.mcp = MCP.fromProto(proto.mcp);
|
|
1126
|
+
}
|
|
1127
|
+
return m;
|
|
1128
|
+
}
|
|
1129
|
+
constructor(kwargs) {
|
|
1130
|
+
if (!kwargs) {
|
|
1131
|
+
return;
|
|
1132
|
+
}
|
|
1133
|
+
Object.assign(this, kwargs);
|
|
1134
|
+
}
|
|
1135
|
+
toApiJson() {
|
|
1136
|
+
const toReturn = {};
|
|
1137
|
+
if (typeof this.mcp !== 'undefined' && this.mcp !== null) {
|
|
1138
|
+
toReturn['mcp'] = 'toApiJson' in this.mcp ? this.mcp.toApiJson() : this.mcp;
|
|
1139
|
+
}
|
|
1140
|
+
return toReturn;
|
|
1141
|
+
}
|
|
1142
|
+
}
|
|
1143
|
+
class SerializeMCPResponse {
|
|
1144
|
+
static fromProto(proto) {
|
|
1145
|
+
let m = new SerializeMCPResponse();
|
|
1146
|
+
m = Object.assign(m, proto);
|
|
1147
|
+
return m;
|
|
1148
|
+
}
|
|
1149
|
+
constructor(kwargs) {
|
|
1150
|
+
if (!kwargs) {
|
|
1151
|
+
return;
|
|
1152
|
+
}
|
|
1153
|
+
Object.assign(this, kwargs);
|
|
1154
|
+
}
|
|
1155
|
+
toApiJson() {
|
|
1156
|
+
const toReturn = {};
|
|
1157
|
+
if (typeof this.file !== 'undefined') {
|
|
1158
|
+
toReturn['file'] = this.file;
|
|
1159
|
+
}
|
|
1160
|
+
return toReturn;
|
|
1161
|
+
}
|
|
1162
|
+
}
|
|
1065
1163
|
class FunctionAuthStrategyUnspecifiedFunctionAuthStrategy {
|
|
1066
1164
|
static fromProto(proto) {
|
|
1067
1165
|
let m = new FunctionAuthStrategyUnspecifiedFunctionAuthStrategy();
|
|
@@ -1092,6 +1190,12 @@ class UpsertMCPRequest {
|
|
|
1092
1190
|
if (proto.authStrategy) {
|
|
1093
1191
|
m.authStrategy = FunctionAuthStrategy.fromProto(proto.authStrategy);
|
|
1094
1192
|
}
|
|
1193
|
+
if (proto.headers) {
|
|
1194
|
+
m.headers = proto.headers.map(FunctionHeader.fromProto);
|
|
1195
|
+
}
|
|
1196
|
+
if (proto.constraints) {
|
|
1197
|
+
m.constraints = proto.constraints.map(Constraint.fromProto);
|
|
1198
|
+
}
|
|
1095
1199
|
return m;
|
|
1096
1200
|
}
|
|
1097
1201
|
constructor(kwargs) {
|
|
@@ -1120,6 +1224,12 @@ class UpsertMCPRequest {
|
|
|
1120
1224
|
if (typeof this.sourcePath !== 'undefined') {
|
|
1121
1225
|
toReturn['sourcePath'] = this.sourcePath;
|
|
1122
1226
|
}
|
|
1227
|
+
if (typeof this.headers !== 'undefined' && this.headers !== null) {
|
|
1228
|
+
toReturn['headers'] = 'toApiJson' in this.headers ? this.headers.toApiJson() : this.headers;
|
|
1229
|
+
}
|
|
1230
|
+
if (typeof this.constraints !== 'undefined' && this.constraints !== null) {
|
|
1231
|
+
toReturn['constraints'] = 'toApiJson' in this.constraints ? this.constraints.toApiJson() : this.constraints;
|
|
1232
|
+
}
|
|
1123
1233
|
return toReturn;
|
|
1124
1234
|
}
|
|
1125
1235
|
}
|
|
@@ -1415,6 +1525,55 @@ class PromptModuleVersion {
|
|
|
1415
1525
|
return toReturn;
|
|
1416
1526
|
}
|
|
1417
1527
|
}
|
|
1528
|
+
class SerializePromptModuleRequest {
|
|
1529
|
+
static fromProto(proto) {
|
|
1530
|
+
let m = new SerializePromptModuleRequest();
|
|
1531
|
+
m = Object.assign(m, proto);
|
|
1532
|
+
if (proto.promptModule) {
|
|
1533
|
+
m.promptModule = PromptModule.fromProto(proto.promptModule);
|
|
1534
|
+
}
|
|
1535
|
+
return m;
|
|
1536
|
+
}
|
|
1537
|
+
constructor(kwargs) {
|
|
1538
|
+
if (!kwargs) {
|
|
1539
|
+
return;
|
|
1540
|
+
}
|
|
1541
|
+
Object.assign(this, kwargs);
|
|
1542
|
+
}
|
|
1543
|
+
toApiJson() {
|
|
1544
|
+
const toReturn = {};
|
|
1545
|
+
if (typeof this.promptModule !== 'undefined' && this.promptModule !== null) {
|
|
1546
|
+
toReturn['promptModule'] = 'toApiJson' in this.promptModule ? this.promptModule.toApiJson() : this.promptModule;
|
|
1547
|
+
}
|
|
1548
|
+
if (typeof this.content !== 'undefined') {
|
|
1549
|
+
toReturn['content'] = this.content;
|
|
1550
|
+
}
|
|
1551
|
+
return toReturn;
|
|
1552
|
+
}
|
|
1553
|
+
}
|
|
1554
|
+
class SerializePromptModuleResponse {
|
|
1555
|
+
static fromProto(proto) {
|
|
1556
|
+
let m = new SerializePromptModuleResponse();
|
|
1557
|
+
m = Object.assign(m, proto);
|
|
1558
|
+
return m;
|
|
1559
|
+
}
|
|
1560
|
+
constructor(kwargs) {
|
|
1561
|
+
if (!kwargs) {
|
|
1562
|
+
return;
|
|
1563
|
+
}
|
|
1564
|
+
Object.assign(this, kwargs);
|
|
1565
|
+
}
|
|
1566
|
+
toApiJson() {
|
|
1567
|
+
const toReturn = {};
|
|
1568
|
+
if (typeof this.promptModuleFile !== 'undefined') {
|
|
1569
|
+
toReturn['promptModuleFile'] = this.promptModuleFile;
|
|
1570
|
+
}
|
|
1571
|
+
if (typeof this.contentFile !== 'undefined') {
|
|
1572
|
+
toReturn['contentFile'] = this.contentFile;
|
|
1573
|
+
}
|
|
1574
|
+
return toReturn;
|
|
1575
|
+
}
|
|
1576
|
+
}
|
|
1418
1577
|
|
|
1419
1578
|
function enumStringToValue$9(enumRef, value) {
|
|
1420
1579
|
if (typeof value === 'number') {
|
|
@@ -1531,6 +1690,49 @@ class GoalKey {
|
|
|
1531
1690
|
return toReturn;
|
|
1532
1691
|
}
|
|
1533
1692
|
}
|
|
1693
|
+
class SerializeGoalRequest {
|
|
1694
|
+
static fromProto(proto) {
|
|
1695
|
+
let m = new SerializeGoalRequest();
|
|
1696
|
+
m = Object.assign(m, proto);
|
|
1697
|
+
if (proto.goal) {
|
|
1698
|
+
m.goal = Goal.fromProto(proto.goal);
|
|
1699
|
+
}
|
|
1700
|
+
return m;
|
|
1701
|
+
}
|
|
1702
|
+
constructor(kwargs) {
|
|
1703
|
+
if (!kwargs) {
|
|
1704
|
+
return;
|
|
1705
|
+
}
|
|
1706
|
+
Object.assign(this, kwargs);
|
|
1707
|
+
}
|
|
1708
|
+
toApiJson() {
|
|
1709
|
+
const toReturn = {};
|
|
1710
|
+
if (typeof this.goal !== 'undefined' && this.goal !== null) {
|
|
1711
|
+
toReturn['goal'] = 'toApiJson' in this.goal ? this.goal.toApiJson() : this.goal;
|
|
1712
|
+
}
|
|
1713
|
+
return toReturn;
|
|
1714
|
+
}
|
|
1715
|
+
}
|
|
1716
|
+
class SerializeGoalResponse {
|
|
1717
|
+
static fromProto(proto) {
|
|
1718
|
+
let m = new SerializeGoalResponse();
|
|
1719
|
+
m = Object.assign(m, proto);
|
|
1720
|
+
return m;
|
|
1721
|
+
}
|
|
1722
|
+
constructor(kwargs) {
|
|
1723
|
+
if (!kwargs) {
|
|
1724
|
+
return;
|
|
1725
|
+
}
|
|
1726
|
+
Object.assign(this, kwargs);
|
|
1727
|
+
}
|
|
1728
|
+
toApiJson() {
|
|
1729
|
+
const toReturn = {};
|
|
1730
|
+
if (typeof this.file !== 'undefined') {
|
|
1731
|
+
toReturn['file'] = this.file;
|
|
1732
|
+
}
|
|
1733
|
+
return toReturn;
|
|
1734
|
+
}
|
|
1735
|
+
}
|
|
1534
1736
|
class ValidateGoalsRequest {
|
|
1535
1737
|
static fromProto(proto) {
|
|
1536
1738
|
let m = new ValidateGoalsRequest();
|
|
@@ -1710,6 +1912,12 @@ class Assistant {
|
|
|
1710
1912
|
if (proto.configurableGoals) {
|
|
1711
1913
|
m.configurableGoals = proto.configurableGoals.map(ConfigurableGoal.fromProto);
|
|
1712
1914
|
}
|
|
1915
|
+
if (proto.inputValidators) {
|
|
1916
|
+
m.inputValidators = proto.inputValidators.map(Validator.fromProto);
|
|
1917
|
+
}
|
|
1918
|
+
if (proto.outputValidators) {
|
|
1919
|
+
m.outputValidators = proto.outputValidators.map(Validator.fromProto);
|
|
1920
|
+
}
|
|
1713
1921
|
return m;
|
|
1714
1922
|
}
|
|
1715
1923
|
constructor(kwargs) {
|
|
@@ -1750,6 +1958,12 @@ class Assistant {
|
|
|
1750
1958
|
if (typeof this.description !== 'undefined') {
|
|
1751
1959
|
toReturn['description'] = this.description;
|
|
1752
1960
|
}
|
|
1961
|
+
if (typeof this.inputValidators !== 'undefined' && this.inputValidators !== null) {
|
|
1962
|
+
toReturn['inputValidators'] = 'toApiJson' in this.inputValidators ? this.inputValidators.toApiJson() : this.inputValidators;
|
|
1963
|
+
}
|
|
1964
|
+
if (typeof this.outputValidators !== 'undefined' && this.outputValidators !== null) {
|
|
1965
|
+
toReturn['outputValidators'] = 'toApiJson' in this.outputValidators ? this.outputValidators.toApiJson() : this.outputValidators;
|
|
1966
|
+
}
|
|
1753
1967
|
return toReturn;
|
|
1754
1968
|
}
|
|
1755
1969
|
}
|
|
@@ -2045,6 +2259,29 @@ class OpenAIRealtimeConfigTurnDetection {
|
|
|
2045
2259
|
return toReturn;
|
|
2046
2260
|
}
|
|
2047
2261
|
}
|
|
2262
|
+
class Validator {
|
|
2263
|
+
static fromProto(proto) {
|
|
2264
|
+
let m = new Validator();
|
|
2265
|
+
m = Object.assign(m, proto);
|
|
2266
|
+
return m;
|
|
2267
|
+
}
|
|
2268
|
+
constructor(kwargs) {
|
|
2269
|
+
if (!kwargs) {
|
|
2270
|
+
return;
|
|
2271
|
+
}
|
|
2272
|
+
Object.assign(this, kwargs);
|
|
2273
|
+
}
|
|
2274
|
+
toApiJson() {
|
|
2275
|
+
const toReturn = {};
|
|
2276
|
+
if (typeof this.name !== 'undefined') {
|
|
2277
|
+
toReturn['name'] = this.name;
|
|
2278
|
+
}
|
|
2279
|
+
if (typeof this.config !== 'undefined') {
|
|
2280
|
+
toReturn['config'] = this.config;
|
|
2281
|
+
}
|
|
2282
|
+
return toReturn;
|
|
2283
|
+
}
|
|
2284
|
+
}
|
|
2048
2285
|
class ConfigVoiceConfig {
|
|
2049
2286
|
static fromProto(proto) {
|
|
2050
2287
|
let m = new ConfigVoiceConfig();
|
|
@@ -3471,19 +3708,28 @@ class ExecuteFunctionResponse {
|
|
|
3471
3708
|
return toReturn;
|
|
3472
3709
|
}
|
|
3473
3710
|
}
|
|
3474
|
-
class
|
|
3711
|
+
class ListGoalsRequestFilters {
|
|
3475
3712
|
static fromProto(proto) {
|
|
3476
|
-
let m = new
|
|
3713
|
+
let m = new ListGoalsRequestFilters();
|
|
3477
3714
|
m = Object.assign(m, proto);
|
|
3478
3715
|
if (proto.namespace) {
|
|
3479
3716
|
m.namespace = Namespace.fromProto(proto.namespace);
|
|
3480
3717
|
}
|
|
3718
|
+
if (proto.type) {
|
|
3719
|
+
m.type = enumStringToValue(GoalType, proto.type);
|
|
3720
|
+
}
|
|
3721
|
+
if (proto.supportedChannels) {
|
|
3722
|
+
m.supportedChannels = proto.supportedChannels.map((v) => enumStringToValue(GoalChannel, v));
|
|
3723
|
+
}
|
|
3481
3724
|
if (proto.namespaces) {
|
|
3482
3725
|
m.namespaces = proto.namespaces.map(Namespace.fromProto);
|
|
3483
3726
|
}
|
|
3484
3727
|
if (proto.constraintFilters) {
|
|
3485
3728
|
m.constraintFilters = proto.constraintFilters.map(ConstraintFilter.fromProto);
|
|
3486
3729
|
}
|
|
3730
|
+
if (proto.sortOptions) {
|
|
3731
|
+
m.sortOptions = proto.sortOptions.map(ListGoalsRequestSortOptions.fromProto);
|
|
3732
|
+
}
|
|
3487
3733
|
return m;
|
|
3488
3734
|
}
|
|
3489
3735
|
constructor(kwargs) {
|
|
@@ -3497,30 +3743,65 @@ class ListFunctionRequestFilters {
|
|
|
3497
3743
|
if (typeof this.namespace !== 'undefined' && this.namespace !== null) {
|
|
3498
3744
|
toReturn['namespace'] = 'toApiJson' in this.namespace ? this.namespace.toApiJson() : this.namespace;
|
|
3499
3745
|
}
|
|
3746
|
+
if (typeof this.type !== 'undefined') {
|
|
3747
|
+
toReturn['type'] = this.type;
|
|
3748
|
+
}
|
|
3749
|
+
if (typeof this.supportedChannels !== 'undefined') {
|
|
3750
|
+
toReturn['supportedChannels'] = this.supportedChannels;
|
|
3751
|
+
}
|
|
3500
3752
|
if (typeof this.namespaces !== 'undefined' && this.namespaces !== null) {
|
|
3501
3753
|
toReturn['namespaces'] = 'toApiJson' in this.namespaces ? this.namespaces.toApiJson() : this.namespaces;
|
|
3502
3754
|
}
|
|
3503
|
-
if (typeof this.mcpId !== 'undefined') {
|
|
3504
|
-
toReturn['mcpId'] = this.mcpId;
|
|
3505
|
-
}
|
|
3506
3755
|
if (typeof this.constraintFilters !== 'undefined' && this.constraintFilters !== null) {
|
|
3507
3756
|
toReturn['constraintFilters'] = 'toApiJson' in this.constraintFilters ? this.constraintFilters.toApiJson() : this.constraintFilters;
|
|
3508
3757
|
}
|
|
3758
|
+
if (typeof this.searchTerm !== 'undefined') {
|
|
3759
|
+
toReturn['searchTerm'] = this.searchTerm;
|
|
3760
|
+
}
|
|
3761
|
+
if (typeof this.sortOptions !== 'undefined' && this.sortOptions !== null) {
|
|
3762
|
+
toReturn['sortOptions'] = 'toApiJson' in this.sortOptions ? this.sortOptions.toApiJson() : this.sortOptions;
|
|
3763
|
+
}
|
|
3764
|
+
if (typeof this.omitOverrides !== 'undefined') {
|
|
3765
|
+
toReturn['omitOverrides'] = this.omitOverrides;
|
|
3766
|
+
}
|
|
3509
3767
|
return toReturn;
|
|
3510
3768
|
}
|
|
3511
3769
|
}
|
|
3512
|
-
class
|
|
3770
|
+
class ListAssistantRequestFilters {
|
|
3513
3771
|
static fromProto(proto) {
|
|
3514
|
-
let m = new
|
|
3772
|
+
let m = new ListAssistantRequestFilters();
|
|
3515
3773
|
m = Object.assign(m, proto);
|
|
3516
3774
|
if (proto.namespace) {
|
|
3517
3775
|
m.namespace = Namespace.fromProto(proto.namespace);
|
|
3518
3776
|
}
|
|
3519
3777
|
if (proto.type) {
|
|
3520
|
-
m.type = enumStringToValue(
|
|
3778
|
+
m.type = enumStringToValue(AssistantType, proto.type);
|
|
3521
3779
|
}
|
|
3522
|
-
|
|
3523
|
-
|
|
3780
|
+
return m;
|
|
3781
|
+
}
|
|
3782
|
+
constructor(kwargs) {
|
|
3783
|
+
if (!kwargs) {
|
|
3784
|
+
return;
|
|
3785
|
+
}
|
|
3786
|
+
Object.assign(this, kwargs);
|
|
3787
|
+
}
|
|
3788
|
+
toApiJson() {
|
|
3789
|
+
const toReturn = {};
|
|
3790
|
+
if (typeof this.namespace !== 'undefined' && this.namespace !== null) {
|
|
3791
|
+
toReturn['namespace'] = 'toApiJson' in this.namespace ? this.namespace.toApiJson() : this.namespace;
|
|
3792
|
+
}
|
|
3793
|
+
if (typeof this.type !== 'undefined') {
|
|
3794
|
+
toReturn['type'] = this.type;
|
|
3795
|
+
}
|
|
3796
|
+
return toReturn;
|
|
3797
|
+
}
|
|
3798
|
+
}
|
|
3799
|
+
class ListFunctionRequestFilters {
|
|
3800
|
+
static fromProto(proto) {
|
|
3801
|
+
let m = new ListFunctionRequestFilters();
|
|
3802
|
+
m = Object.assign(m, proto);
|
|
3803
|
+
if (proto.namespace) {
|
|
3804
|
+
m.namespace = Namespace.fromProto(proto.namespace);
|
|
3524
3805
|
}
|
|
3525
3806
|
if (proto.namespaces) {
|
|
3526
3807
|
m.namespaces = proto.namespaces.map(Namespace.fromProto);
|
|
@@ -3528,9 +3809,6 @@ class ListGoalsRequestFilters {
|
|
|
3528
3809
|
if (proto.constraintFilters) {
|
|
3529
3810
|
m.constraintFilters = proto.constraintFilters.map(ConstraintFilter.fromProto);
|
|
3530
3811
|
}
|
|
3531
|
-
if (proto.sortOptions) {
|
|
3532
|
-
m.sortOptions = proto.sortOptions.map(ListGoalsRequestSortOptions.fromProto);
|
|
3533
|
-
}
|
|
3534
3812
|
return m;
|
|
3535
3813
|
}
|
|
3536
3814
|
constructor(kwargs) {
|
|
@@ -3544,39 +3822,27 @@ class ListGoalsRequestFilters {
|
|
|
3544
3822
|
if (typeof this.namespace !== 'undefined' && this.namespace !== null) {
|
|
3545
3823
|
toReturn['namespace'] = 'toApiJson' in this.namespace ? this.namespace.toApiJson() : this.namespace;
|
|
3546
3824
|
}
|
|
3547
|
-
if (typeof this.type !== 'undefined') {
|
|
3548
|
-
toReturn['type'] = this.type;
|
|
3549
|
-
}
|
|
3550
|
-
if (typeof this.supportedChannels !== 'undefined') {
|
|
3551
|
-
toReturn['supportedChannels'] = this.supportedChannels;
|
|
3552
|
-
}
|
|
3553
3825
|
if (typeof this.namespaces !== 'undefined' && this.namespaces !== null) {
|
|
3554
3826
|
toReturn['namespaces'] = 'toApiJson' in this.namespaces ? this.namespaces.toApiJson() : this.namespaces;
|
|
3555
3827
|
}
|
|
3828
|
+
if (typeof this.mcpId !== 'undefined') {
|
|
3829
|
+
toReturn['mcpId'] = this.mcpId;
|
|
3830
|
+
}
|
|
3556
3831
|
if (typeof this.constraintFilters !== 'undefined' && this.constraintFilters !== null) {
|
|
3557
3832
|
toReturn['constraintFilters'] = 'toApiJson' in this.constraintFilters ? this.constraintFilters.toApiJson() : this.constraintFilters;
|
|
3558
3833
|
}
|
|
3559
|
-
if (typeof this.searchTerm !== 'undefined') {
|
|
3560
|
-
toReturn['searchTerm'] = this.searchTerm;
|
|
3561
|
-
}
|
|
3562
|
-
if (typeof this.sortOptions !== 'undefined' && this.sortOptions !== null) {
|
|
3563
|
-
toReturn['sortOptions'] = 'toApiJson' in this.sortOptions ? this.sortOptions.toApiJson() : this.sortOptions;
|
|
3564
|
-
}
|
|
3565
|
-
if (typeof this.omitOverrides !== 'undefined') {
|
|
3566
|
-
toReturn['omitOverrides'] = this.omitOverrides;
|
|
3567
|
-
}
|
|
3568
3834
|
return toReturn;
|
|
3569
3835
|
}
|
|
3570
3836
|
}
|
|
3571
|
-
class
|
|
3837
|
+
class ListAvailableModelsRequestFilters {
|
|
3572
3838
|
static fromProto(proto) {
|
|
3573
|
-
let m = new
|
|
3839
|
+
let m = new ListAvailableModelsRequestFilters();
|
|
3574
3840
|
m = Object.assign(m, proto);
|
|
3575
|
-
if (proto.
|
|
3576
|
-
m.
|
|
3841
|
+
if (proto.vendor) {
|
|
3842
|
+
m.vendor = proto.vendor.map((v) => enumStringToValue(ModelVendor, v));
|
|
3577
3843
|
}
|
|
3578
3844
|
if (proto.type) {
|
|
3579
|
-
m.type = enumStringToValue(
|
|
3845
|
+
m.type = proto.type.map((v) => enumStringToValue(ModelType, v));
|
|
3580
3846
|
}
|
|
3581
3847
|
return m;
|
|
3582
3848
|
}
|
|
@@ -3588,8 +3854,8 @@ class ListAssistantRequestFilters {
|
|
|
3588
3854
|
}
|
|
3589
3855
|
toApiJson() {
|
|
3590
3856
|
const toReturn = {};
|
|
3591
|
-
if (typeof this.
|
|
3592
|
-
toReturn['
|
|
3857
|
+
if (typeof this.vendor !== 'undefined') {
|
|
3858
|
+
toReturn['vendor'] = this.vendor;
|
|
3593
3859
|
}
|
|
3594
3860
|
if (typeof this.type !== 'undefined') {
|
|
3595
3861
|
toReturn['type'] = this.type;
|
|
@@ -3672,35 +3938,6 @@ class ListConnectionsRequestFilters {
|
|
|
3672
3938
|
return toReturn;
|
|
3673
3939
|
}
|
|
3674
3940
|
}
|
|
3675
|
-
class ListAvailableModelsRequestFilters {
|
|
3676
|
-
static fromProto(proto) {
|
|
3677
|
-
let m = new ListAvailableModelsRequestFilters();
|
|
3678
|
-
m = Object.assign(m, proto);
|
|
3679
|
-
if (proto.vendor) {
|
|
3680
|
-
m.vendor = proto.vendor.map((v) => enumStringToValue(ModelVendor, v));
|
|
3681
|
-
}
|
|
3682
|
-
if (proto.type) {
|
|
3683
|
-
m.type = proto.type.map((v) => enumStringToValue(ModelType, v));
|
|
3684
|
-
}
|
|
3685
|
-
return m;
|
|
3686
|
-
}
|
|
3687
|
-
constructor(kwargs) {
|
|
3688
|
-
if (!kwargs) {
|
|
3689
|
-
return;
|
|
3690
|
-
}
|
|
3691
|
-
Object.assign(this, kwargs);
|
|
3692
|
-
}
|
|
3693
|
-
toApiJson() {
|
|
3694
|
-
const toReturn = {};
|
|
3695
|
-
if (typeof this.vendor !== 'undefined') {
|
|
3696
|
-
toReturn['vendor'] = this.vendor;
|
|
3697
|
-
}
|
|
3698
|
-
if (typeof this.type !== 'undefined') {
|
|
3699
|
-
toReturn['type'] = this.type;
|
|
3700
|
-
}
|
|
3701
|
-
return toReturn;
|
|
3702
|
-
}
|
|
3703
|
-
}
|
|
3704
3941
|
class GenerateChatAnswerRequest {
|
|
3705
3942
|
static fromProto(proto) {
|
|
3706
3943
|
let m = new GenerateChatAnswerRequest();
|
|
@@ -5003,10 +5240,13 @@ class ListTemplateVariablesResponse {
|
|
|
5003
5240
|
return toReturn;
|
|
5004
5241
|
}
|
|
5005
5242
|
}
|
|
5006
|
-
class
|
|
5243
|
+
class GenerateChatAnswerRequestOptions {
|
|
5007
5244
|
static fromProto(proto) {
|
|
5008
|
-
let m = new
|
|
5245
|
+
let m = new GenerateChatAnswerRequestOptions();
|
|
5009
5246
|
m = Object.assign(m, proto);
|
|
5247
|
+
if (proto.maxTokens) {
|
|
5248
|
+
m.maxTokens = parseInt(proto.maxTokens, 10);
|
|
5249
|
+
}
|
|
5010
5250
|
return m;
|
|
5011
5251
|
}
|
|
5012
5252
|
constructor(kwargs) {
|
|
@@ -5017,8 +5257,14 @@ class UpsertAssistantRequestOptions {
|
|
|
5017
5257
|
}
|
|
5018
5258
|
toApiJson() {
|
|
5019
5259
|
const toReturn = {};
|
|
5020
|
-
if (typeof this.
|
|
5021
|
-
toReturn['
|
|
5260
|
+
if (typeof this.includeAllCitations !== 'undefined') {
|
|
5261
|
+
toReturn['includeAllCitations'] = this.includeAllCitations;
|
|
5262
|
+
}
|
|
5263
|
+
if (typeof this.enableAsyncFunctions !== 'undefined') {
|
|
5264
|
+
toReturn['enableAsyncFunctions'] = this.enableAsyncFunctions;
|
|
5265
|
+
}
|
|
5266
|
+
if (typeof this.maxTokens !== 'undefined') {
|
|
5267
|
+
toReturn['maxTokens'] = this.maxTokens;
|
|
5022
5268
|
}
|
|
5023
5269
|
return toReturn;
|
|
5024
5270
|
}
|
|
@@ -5043,9 +5289,9 @@ class GetMultiAssistantRequestOptions {
|
|
|
5043
5289
|
return toReturn;
|
|
5044
5290
|
}
|
|
5045
5291
|
}
|
|
5046
|
-
class
|
|
5292
|
+
class UpsertAssistantRequestOptions {
|
|
5047
5293
|
static fromProto(proto) {
|
|
5048
|
-
let m = new
|
|
5294
|
+
let m = new UpsertAssistantRequestOptions();
|
|
5049
5295
|
m = Object.assign(m, proto);
|
|
5050
5296
|
return m;
|
|
5051
5297
|
}
|
|
@@ -5057,15 +5303,15 @@ class CreatePromptModuleVersionRequestOptions {
|
|
|
5057
5303
|
}
|
|
5058
5304
|
toApiJson() {
|
|
5059
5305
|
const toReturn = {};
|
|
5060
|
-
if (typeof this.
|
|
5061
|
-
toReturn['
|
|
5306
|
+
if (typeof this.applyDefaults !== 'undefined') {
|
|
5307
|
+
toReturn['applyDefaults'] = this.applyDefaults;
|
|
5062
5308
|
}
|
|
5063
5309
|
return toReturn;
|
|
5064
5310
|
}
|
|
5065
5311
|
}
|
|
5066
|
-
class
|
|
5312
|
+
class GetAssistantRequestOptions {
|
|
5067
5313
|
static fromProto(proto) {
|
|
5068
|
-
let m = new
|
|
5314
|
+
let m = new GetAssistantRequestOptions();
|
|
5069
5315
|
m = Object.assign(m, proto);
|
|
5070
5316
|
return m;
|
|
5071
5317
|
}
|
|
@@ -5077,15 +5323,15 @@ class CreateAssistantRequestOptions {
|
|
|
5077
5323
|
}
|
|
5078
5324
|
toApiJson() {
|
|
5079
5325
|
const toReturn = {};
|
|
5080
|
-
if (typeof this.
|
|
5081
|
-
toReturn['
|
|
5326
|
+
if (typeof this.skipGoalsHydration !== 'undefined') {
|
|
5327
|
+
toReturn['skipGoalsHydration'] = this.skipGoalsHydration;
|
|
5082
5328
|
}
|
|
5083
5329
|
return toReturn;
|
|
5084
5330
|
}
|
|
5085
5331
|
}
|
|
5086
|
-
class
|
|
5332
|
+
class CreateAssistantRequestOptions {
|
|
5087
5333
|
static fromProto(proto) {
|
|
5088
|
-
let m = new
|
|
5334
|
+
let m = new CreateAssistantRequestOptions();
|
|
5089
5335
|
m = Object.assign(m, proto);
|
|
5090
5336
|
return m;
|
|
5091
5337
|
}
|
|
@@ -5097,18 +5343,18 @@ class GetAssistantRequestOptions {
|
|
|
5097
5343
|
}
|
|
5098
5344
|
toApiJson() {
|
|
5099
5345
|
const toReturn = {};
|
|
5100
|
-
if (typeof this.
|
|
5101
|
-
toReturn['
|
|
5346
|
+
if (typeof this.applyDefaults !== 'undefined') {
|
|
5347
|
+
toReturn['applyDefaults'] = this.applyDefaults;
|
|
5102
5348
|
}
|
|
5103
5349
|
return toReturn;
|
|
5104
5350
|
}
|
|
5105
5351
|
}
|
|
5106
|
-
class
|
|
5352
|
+
class ExecuteFunctionRequestOptions {
|
|
5107
5353
|
static fromProto(proto) {
|
|
5108
|
-
let m = new
|
|
5354
|
+
let m = new ExecuteFunctionRequestOptions();
|
|
5109
5355
|
m = Object.assign(m, proto);
|
|
5110
|
-
if (proto.
|
|
5111
|
-
m.
|
|
5356
|
+
if (proto.contextInfo) {
|
|
5357
|
+
m.contextInfo = ContextInfo.fromProto(proto.contextInfo);
|
|
5112
5358
|
}
|
|
5113
5359
|
return m;
|
|
5114
5360
|
}
|
|
@@ -5120,25 +5366,19 @@ class GenerateChatAnswerRequestOptions {
|
|
|
5120
5366
|
}
|
|
5121
5367
|
toApiJson() {
|
|
5122
5368
|
const toReturn = {};
|
|
5123
|
-
if (typeof this.
|
|
5124
|
-
toReturn['
|
|
5125
|
-
}
|
|
5126
|
-
if (typeof this.enableAsyncFunctions !== 'undefined') {
|
|
5127
|
-
toReturn['enableAsyncFunctions'] = this.enableAsyncFunctions;
|
|
5369
|
+
if (typeof this.skipComputeTemplateVariables !== 'undefined') {
|
|
5370
|
+
toReturn['skipComputeTemplateVariables'] = this.skipComputeTemplateVariables;
|
|
5128
5371
|
}
|
|
5129
|
-
if (typeof this.
|
|
5130
|
-
toReturn['
|
|
5372
|
+
if (typeof this.contextInfo !== 'undefined' && this.contextInfo !== null) {
|
|
5373
|
+
toReturn['contextInfo'] = 'toApiJson' in this.contextInfo ? this.contextInfo.toApiJson() : this.contextInfo;
|
|
5131
5374
|
}
|
|
5132
5375
|
return toReturn;
|
|
5133
5376
|
}
|
|
5134
5377
|
}
|
|
5135
|
-
class
|
|
5378
|
+
class CreatePromptModuleVersionRequestOptions {
|
|
5136
5379
|
static fromProto(proto) {
|
|
5137
|
-
let m = new
|
|
5380
|
+
let m = new CreatePromptModuleVersionRequestOptions();
|
|
5138
5381
|
m = Object.assign(m, proto);
|
|
5139
|
-
if (proto.contextInfo) {
|
|
5140
|
-
m.contextInfo = ContextInfo.fromProto(proto.contextInfo);
|
|
5141
|
-
}
|
|
5142
5382
|
return m;
|
|
5143
5383
|
}
|
|
5144
5384
|
constructor(kwargs) {
|
|
@@ -5149,11 +5389,8 @@ class ExecuteFunctionRequestOptions {
|
|
|
5149
5389
|
}
|
|
5150
5390
|
toApiJson() {
|
|
5151
5391
|
const toReturn = {};
|
|
5152
|
-
if (typeof this.
|
|
5153
|
-
toReturn['
|
|
5154
|
-
}
|
|
5155
|
-
if (typeof this.contextInfo !== 'undefined' && this.contextInfo !== null) {
|
|
5156
|
-
toReturn['contextInfo'] = 'toApiJson' in this.contextInfo ? this.contextInfo.toApiJson() : this.contextInfo;
|
|
5392
|
+
if (typeof this.shouldDeploy !== 'undefined') {
|
|
5393
|
+
toReturn['shouldDeploy'] = this.shouldDeploy;
|
|
5157
5394
|
}
|
|
5158
5395
|
return toReturn;
|
|
5159
5396
|
}
|
|
@@ -5187,6 +5424,35 @@ class SetAssistantConnectionsRequest {
|
|
|
5187
5424
|
return toReturn;
|
|
5188
5425
|
}
|
|
5189
5426
|
}
|
|
5427
|
+
class SetConnectionAssistantRequest {
|
|
5428
|
+
static fromProto(proto) {
|
|
5429
|
+
let m = new SetConnectionAssistantRequest();
|
|
5430
|
+
m = Object.assign(m, proto);
|
|
5431
|
+
if (proto.connectionKey) {
|
|
5432
|
+
m.connectionKey = ConnectionKey.fromProto(proto.connectionKey);
|
|
5433
|
+
}
|
|
5434
|
+
if (proto.assistantKey) {
|
|
5435
|
+
m.assistantKey = AssistantKey.fromProto(proto.assistantKey);
|
|
5436
|
+
}
|
|
5437
|
+
return m;
|
|
5438
|
+
}
|
|
5439
|
+
constructor(kwargs) {
|
|
5440
|
+
if (!kwargs) {
|
|
5441
|
+
return;
|
|
5442
|
+
}
|
|
5443
|
+
Object.assign(this, kwargs);
|
|
5444
|
+
}
|
|
5445
|
+
toApiJson() {
|
|
5446
|
+
const toReturn = {};
|
|
5447
|
+
if (typeof this.connectionKey !== 'undefined' && this.connectionKey !== null) {
|
|
5448
|
+
toReturn['connectionKey'] = 'toApiJson' in this.connectionKey ? this.connectionKey.toApiJson() : this.connectionKey;
|
|
5449
|
+
}
|
|
5450
|
+
if (typeof this.assistantKey !== 'undefined' && this.assistantKey !== null) {
|
|
5451
|
+
toReturn['assistantKey'] = 'toApiJson' in this.assistantKey ? this.assistantKey.toApiJson() : this.assistantKey;
|
|
5452
|
+
}
|
|
5453
|
+
return toReturn;
|
|
5454
|
+
}
|
|
5455
|
+
}
|
|
5190
5456
|
class ListGoalsRequestSortOptions {
|
|
5191
5457
|
static fromProto(proto) {
|
|
5192
5458
|
let m = new ListGoalsRequestSortOptions();
|
|
@@ -5836,6 +6102,10 @@ class ConnectionApiService {
|
|
|
5836
6102
|
return this.http.post(this._host + "/ai_assistants.v1alpha1.ConnectionService/ListConnections", request.toApiJson(), this.apiOptions())
|
|
5837
6103
|
.pipe(map(resp => ListConnectionsResponse.fromProto(resp)));
|
|
5838
6104
|
}
|
|
6105
|
+
setConnectionAssistant(r) {
|
|
6106
|
+
const request = (r.toApiJson) ? r : new SetConnectionAssistantRequest(r);
|
|
6107
|
+
return this.http.post(this._host + "/ai_assistants.v1alpha1.ConnectionService/SetConnectionAssistant", request.toApiJson(), Object.assign(Object.assign({}, this.apiOptions()), { observe: 'response' }));
|
|
6108
|
+
}
|
|
5839
6109
|
}
|
|
5840
6110
|
ConnectionApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ConnectionApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5841
6111
|
ConnectionApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ConnectionApiService, providedIn: 'root' });
|
|
@@ -5919,6 +6189,16 @@ class FunctionApiService {
|
|
|
5919
6189
|
return this.http.post(this._host + "/ai_assistants.v1alpha1.FunctionService/ValidateMCPs", request.toApiJson(), this.apiOptions())
|
|
5920
6190
|
.pipe(map(resp => ValidateMCPsResponse.fromProto(resp)));
|
|
5921
6191
|
}
|
|
6192
|
+
serializeFunction(r) {
|
|
6193
|
+
const request = (r.toApiJson) ? r : new SerializeFunctionRequest(r);
|
|
6194
|
+
return this.http.post(this._host + "/ai_assistants.v1alpha1.FunctionService/SerializeFunction", request.toApiJson(), this.apiOptions())
|
|
6195
|
+
.pipe(map(resp => SerializeFunctionResponse.fromProto(resp)));
|
|
6196
|
+
}
|
|
6197
|
+
serializeMcp(r) {
|
|
6198
|
+
const request = (r.toApiJson) ? r : new SerializeMCPRequest(r);
|
|
6199
|
+
return this.http.post(this._host + "/ai_assistants.v1alpha1.FunctionService/SerializeMCP", request.toApiJson(), this.apiOptions())
|
|
6200
|
+
.pipe(map(resp => SerializeMCPResponse.fromProto(resp)));
|
|
6201
|
+
}
|
|
5922
6202
|
}
|
|
5923
6203
|
FunctionApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FunctionApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5924
6204
|
FunctionApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FunctionApiService, providedIn: 'root' });
|
|
@@ -5989,6 +6269,11 @@ class GoalApiService {
|
|
|
5989
6269
|
return this.http.post(this._host + "/ai_assistants.v1alpha1.GoalService/ValidateGoals", request.toApiJson(), this.apiOptions())
|
|
5990
6270
|
.pipe(map(resp => ValidateGoalsResponse.fromProto(resp)));
|
|
5991
6271
|
}
|
|
6272
|
+
serializeGoal(r) {
|
|
6273
|
+
const request = (r.toApiJson) ? r : new SerializeGoalRequest(r);
|
|
6274
|
+
return this.http.post(this._host + "/ai_assistants.v1alpha1.GoalService/SerializeGoal", request.toApiJson(), this.apiOptions())
|
|
6275
|
+
.pipe(map(resp => SerializeGoalResponse.fromProto(resp)));
|
|
6276
|
+
}
|
|
5992
6277
|
}
|
|
5993
6278
|
GoalApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: GoalApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5994
6279
|
GoalApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: GoalApiService, providedIn: 'root' });
|
|
@@ -6148,6 +6433,11 @@ class PromptModuleApiService {
|
|
|
6148
6433
|
return this.http.post(this._host + "/ai_assistants.v1alpha1.PromptModuleService/ValidatePromptModuleVersions", request.toApiJson(), this.apiOptions())
|
|
6149
6434
|
.pipe(map(resp => ValidatePromptModuleVersionsResponse.fromProto(resp)));
|
|
6150
6435
|
}
|
|
6436
|
+
serializePromptModule(r) {
|
|
6437
|
+
const request = (r.toApiJson) ? r : new SerializePromptModuleRequest(r);
|
|
6438
|
+
return this.http.post(this._host + "/ai_assistants.v1alpha1.PromptModuleService/SerializePromptModule", request.toApiJson(), this.apiOptions())
|
|
6439
|
+
.pipe(map(resp => SerializePromptModuleResponse.fromProto(resp)));
|
|
6440
|
+
}
|
|
6151
6441
|
}
|
|
6152
6442
|
PromptModuleApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PromptModuleApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6153
6443
|
PromptModuleApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PromptModuleApiService, providedIn: 'root' });
|
|
@@ -6167,5 +6457,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
6167
6457
|
* Generated bundle index. Do not edit.
|
|
6168
6458
|
*/
|
|
6169
6459
|
|
|
6170
|
-
export { Access, Action, AgentArchitecture, Assistant, AssistantApiService, AssistantKey, AssistantType, BuildDefaultAssistantRequest, BuildDefaultAssistantResponse, CancelTestRunRequest, ChatAnswerFunctionExecutionJob, ChatAnswerFunctionExecutionJobResult, ChatAnswerFunctionExecutionJobStatus, ChatChannel, ChatContent, ChatMessage, ChatMessageRole, ChatUserInfo, Config, ConfigInboxConfig, ConfigVoiceConfig, ConfigurableGoal, Connection, ConnectionApiService, ConnectionKey, Constraint, ConstraintFilter, ContextInfo, CreateAssistantRequest, CreateAssistantRequestOptions, CreateAssistantResponse, CreateGoalRequest, CreateGoalResponse, CreateMCPFromIntegrationRequest, CreatePromptModuleRequest, CreatePromptModuleResponse, CreatePromptModuleVersionRequest, CreatePromptModuleVersionRequestOptions, DeepgramConfig, DeleteAssistantRequest, DeleteConnectionRequest, DeleteFunctionRequest, DeleteGoalRequest, DeleteMCPRequest, DeletePromptModuleRequest, DeleteTestCasesRequest, DeployPromptModuleRequest, Effect, ElevenLabsConfig, ExecuteFunctionRequest, ExecuteFunctionRequestOptions, ExecuteFunctionResponse, FieldMask, Function, FunctionApiService, FunctionAuthStrategy, FunctionAuthStrategyConnectedIntegrationAuthStrategy, FunctionAuthStrategyImpersonationAuthStrategy, FunctionAuthStrategyPlatformManagedFunctionAuthStrategy, FunctionAuthStrategyUnspecifiedFunctionAuthStrategy, FunctionHeader, FunctionKey, FunctionParameter, FunctionParameterParameterLocation, GenerateChatAnswerRequest, GenerateChatAnswerRequestOptions, GenerateChatAnswerResponse, GetAssistantRequest, GetAssistantRequestOptions, GetAssistantResponse, GetChatAnswerFunctionExecutionJobRequest, GetChatAnswerFunctionExecutionJobResponse, GetConnectionRequest, GetConnectionResponse, GetDeployedPromptModuleVersionRequest, GetDeployedPromptModuleVersionResponse, GetFunctionRequest, GetFunctionResponse, GetGoalRequest, GetGoalResponse, GetHydratedDeployedPromptModuleVersionRequest, GetHydratedDeployedPromptModuleVersionResponse, GetMultiAssistantRequest, GetMultiAssistantRequestOptions, GetMultiAssistantResponse, GetMultiFunctionRequest, GetMultiFunctionResponse, GetMultiGoalRequest, GetMultiGoalResponse, GetMultiHydratedDeployedPromptModuleVersionRequest, GetMultiHydratedDeployedPromptModuleVersionResponse, GetPromptModuleRequest, GetPromptModuleResponse, GetPromptModuleVersionRequest, GetPromptModuleVersionResponse, GetTestRunRequest, GetTestRunResponse, Goal, GoalApiService, GoalChannel, GoalKey, GoalType, GoalsDisabledForAccountGroupRequest, GoalsDisabledForAccountGroupResponse, HostService, ImageContent, IntegrationTestApiService, KeyValuePair, ListAllAssistantsAssociatedToConnectionRequest, ListAllAssistantsAssociatedToConnectionRequestFilters, ListAllAssistantsAssociatedToConnectionResponse, ListAssistantRequest, ListAssistantRequestFilters, ListAssistantResponse, ListAvailableModelsRequest, ListAvailableModelsRequestFilters, ListAvailableModelsResponse, ListConnectionsRequest, ListConnectionsRequestFilters, ListConnectionsResponse, ListFunctionRequest, ListFunctionRequestFilters, ListFunctionResponse, ListGoalsRequest, ListGoalsRequestFilters, ListGoalsRequestSortOptions, ListGoalsRequestSortingOrder, ListGoalsResponse, ListMCPToolsRequest, ListMCPToolsResponse, ListMCPsRequest, ListMCPsRequestFilters, ListMCPsResponse, ListPromptModuleRequest, ListPromptModuleRequestFilters, ListPromptModuleResponse, ListPromptModuleVersionsRequest, ListPromptModuleVersionsResponse, ListTemplateVariablesRequest, ListTemplateVariablesResponse, ListTestCasesByAssistantRequest, ListTestCasesByAssistantResponse, ListTestRunsByAssistantRequest, ListTestRunsByAssistantResponse, MCP, MCPOptions, Model, ModelConfig, ModelType, ModelVendor, Namespace, NamespaceAccountGroupNamespace, NamespaceGlobalNamespace, NamespacePartnerNamespace, NamespaceSystemNamespace, NamespaceType, OpenAIConfig, OpenAIRealtimeConfig, OpenAIRealtimeConfigTurnDetection, PagedRequestOptions, PagedResponseMetadata, PromptModule, PromptModuleApiService, PromptModuleKey, PromptModuleVersion, RunTestsRequest, RunTestsResponse, Scope, SetAssistantConnectionsRequest, SetAssistantConnectionsRequestConnectionState, SortDirection, SortOptions, StreamingGenerateChatAnswerResponseContentType, TemplateVariable, TestCase, TestResult, TestResultCitation, TestRun, UpdateAssistantRequest, UpdateGoalRequest, UpdatePromptModuleRequest, UpsertAssistantRequest, UpsertAssistantRequestOptions, UpsertAssistantResponse, UpsertConnectionRequest, UpsertFunctionRequest, UpsertGoalRequest, UpsertMCPRequest, UpsertTestCasesRequest, ValidateFunctionsRequest, ValidateFunctionsResponse, ValidateFunctionsResponseValidationResult, ValidateGoalsRequest, ValidateGoalsResponse, ValidateGoalsResponseValidationResult, ValidateMCPsRequest, ValidateMCPsResponse, ValidateMCPsResponseValidationResult, ValidatePromptModuleRequest, ValidatePromptModuleResponse, ValidatePromptModuleVersionsRequest, ValidatePromptModuleVersionsResponse, ValidatePromptModuleVersionsResponseValidationResult, ValidatePromptModulesRequest, ValidatePromptModulesResponse, ValidatePromptModulesResponseValidationResult, ValidationFailureAction, ValidationResult, ValidationViolation, VendorModel };
|
|
6460
|
+
export { Access, Action, AgentArchitecture, Assistant, AssistantApiService, AssistantKey, AssistantType, BuildDefaultAssistantRequest, BuildDefaultAssistantResponse, CancelTestRunRequest, ChatAnswerFunctionExecutionJob, ChatAnswerFunctionExecutionJobResult, ChatAnswerFunctionExecutionJobStatus, ChatChannel, ChatContent, ChatMessage, ChatMessageRole, ChatUserInfo, Config, ConfigInboxConfig, ConfigVoiceConfig, ConfigurableGoal, Connection, ConnectionApiService, ConnectionKey, Constraint, ConstraintFilter, ContextInfo, CreateAssistantRequest, CreateAssistantRequestOptions, CreateAssistantResponse, CreateGoalRequest, CreateGoalResponse, CreateMCPFromIntegrationRequest, CreatePromptModuleRequest, CreatePromptModuleResponse, CreatePromptModuleVersionRequest, CreatePromptModuleVersionRequestOptions, DeepgramConfig, DeleteAssistantRequest, DeleteConnectionRequest, DeleteFunctionRequest, DeleteGoalRequest, DeleteMCPRequest, DeletePromptModuleRequest, DeleteTestCasesRequest, DeployPromptModuleRequest, Effect, ElevenLabsConfig, ExecuteFunctionRequest, ExecuteFunctionRequestOptions, ExecuteFunctionResponse, FieldMask, Function, FunctionApiService, FunctionAuthStrategy, FunctionAuthStrategyConnectedIntegrationAuthStrategy, FunctionAuthStrategyImpersonationAuthStrategy, FunctionAuthStrategyPlatformManagedFunctionAuthStrategy, FunctionAuthStrategyUnspecifiedFunctionAuthStrategy, FunctionHeader, FunctionKey, FunctionParameter, FunctionParameterParameterLocation, GenerateChatAnswerRequest, GenerateChatAnswerRequestOptions, GenerateChatAnswerResponse, GetAssistantRequest, GetAssistantRequestOptions, GetAssistantResponse, GetChatAnswerFunctionExecutionJobRequest, GetChatAnswerFunctionExecutionJobResponse, GetConnectionRequest, GetConnectionResponse, GetDeployedPromptModuleVersionRequest, GetDeployedPromptModuleVersionResponse, GetFunctionRequest, GetFunctionResponse, GetGoalRequest, GetGoalResponse, GetHydratedDeployedPromptModuleVersionRequest, GetHydratedDeployedPromptModuleVersionResponse, GetMultiAssistantRequest, GetMultiAssistantRequestOptions, GetMultiAssistantResponse, GetMultiFunctionRequest, GetMultiFunctionResponse, GetMultiGoalRequest, GetMultiGoalResponse, GetMultiHydratedDeployedPromptModuleVersionRequest, GetMultiHydratedDeployedPromptModuleVersionResponse, GetPromptModuleRequest, GetPromptModuleResponse, GetPromptModuleVersionRequest, GetPromptModuleVersionResponse, GetTestRunRequest, GetTestRunResponse, Goal, GoalApiService, GoalChannel, GoalKey, GoalType, GoalsDisabledForAccountGroupRequest, GoalsDisabledForAccountGroupResponse, HostService, ImageContent, IntegrationTestApiService, KeyValuePair, ListAllAssistantsAssociatedToConnectionRequest, ListAllAssistantsAssociatedToConnectionRequestFilters, ListAllAssistantsAssociatedToConnectionResponse, ListAssistantRequest, ListAssistantRequestFilters, ListAssistantResponse, ListAvailableModelsRequest, ListAvailableModelsRequestFilters, ListAvailableModelsResponse, ListConnectionsRequest, ListConnectionsRequestFilters, ListConnectionsResponse, ListFunctionRequest, ListFunctionRequestFilters, ListFunctionResponse, ListGoalsRequest, ListGoalsRequestFilters, ListGoalsRequestSortOptions, ListGoalsRequestSortingOrder, ListGoalsResponse, ListMCPToolsRequest, ListMCPToolsResponse, ListMCPsRequest, ListMCPsRequestFilters, ListMCPsResponse, ListPromptModuleRequest, ListPromptModuleRequestFilters, ListPromptModuleResponse, ListPromptModuleVersionsRequest, ListPromptModuleVersionsResponse, ListTemplateVariablesRequest, ListTemplateVariablesResponse, ListTestCasesByAssistantRequest, ListTestCasesByAssistantResponse, ListTestRunsByAssistantRequest, ListTestRunsByAssistantResponse, MCP, MCPOptions, Model, ModelConfig, ModelType, ModelVendor, Namespace, NamespaceAccountGroupNamespace, NamespaceGlobalNamespace, NamespacePartnerNamespace, NamespaceSystemNamespace, NamespaceType, OpenAIConfig, OpenAIRealtimeConfig, OpenAIRealtimeConfigTurnDetection, PagedRequestOptions, PagedResponseMetadata, PromptModule, PromptModuleApiService, PromptModuleKey, PromptModuleVersion, RunTestsRequest, RunTestsResponse, Scope, SerializeFunctionRequest, SerializeFunctionResponse, SerializeGoalRequest, SerializeGoalResponse, SerializeMCPRequest, SerializeMCPResponse, SerializePromptModuleRequest, SerializePromptModuleResponse, SetAssistantConnectionsRequest, SetAssistantConnectionsRequestConnectionState, SetConnectionAssistantRequest, SortDirection, SortOptions, StreamingGenerateChatAnswerResponseContentType, TemplateVariable, TestCase, TestResult, TestResultCitation, TestRun, UpdateAssistantRequest, UpdateGoalRequest, UpdatePromptModuleRequest, UpsertAssistantRequest, UpsertAssistantRequestOptions, UpsertAssistantResponse, UpsertConnectionRequest, UpsertFunctionRequest, UpsertGoalRequest, UpsertMCPRequest, UpsertTestCasesRequest, ValidateFunctionsRequest, ValidateFunctionsResponse, ValidateFunctionsResponseValidationResult, ValidateGoalsRequest, ValidateGoalsResponse, ValidateGoalsResponseValidationResult, ValidateMCPsRequest, ValidateMCPsResponse, ValidateMCPsResponseValidationResult, ValidatePromptModuleRequest, ValidatePromptModuleResponse, ValidatePromptModuleVersionsRequest, ValidatePromptModuleVersionsResponse, ValidatePromptModuleVersionsResponseValidationResult, ValidatePromptModulesRequest, ValidatePromptModulesResponse, ValidatePromptModulesResponseValidationResult, ValidationFailureAction, ValidationResult, ValidationViolation, Validator, VendorModel };
|
|
6171
6461
|
//# sourceMappingURL=vendasta-ai-assistants.mjs.map
|