@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
|
@@ -1013,6 +1013,12 @@ class MCP {
|
|
|
1013
1013
|
if (proto.authStrategy) {
|
|
1014
1014
|
m.authStrategy = FunctionAuthStrategy.fromProto(proto.authStrategy);
|
|
1015
1015
|
}
|
|
1016
|
+
if (proto.headers) {
|
|
1017
|
+
m.headers = proto.headers.map(FunctionHeader.fromProto);
|
|
1018
|
+
}
|
|
1019
|
+
if (proto.constraints) {
|
|
1020
|
+
m.constraints = proto.constraints.map(Constraint.fromProto);
|
|
1021
|
+
}
|
|
1016
1022
|
return m;
|
|
1017
1023
|
}
|
|
1018
1024
|
constructor(kwargs) {
|
|
@@ -1038,6 +1044,12 @@ class MCP {
|
|
|
1038
1044
|
if (typeof this.sourcePath !== 'undefined') {
|
|
1039
1045
|
toReturn['sourcePath'] = this.sourcePath;
|
|
1040
1046
|
}
|
|
1047
|
+
if (typeof this.headers !== 'undefined' && this.headers !== null) {
|
|
1048
|
+
toReturn['headers'] = 'toApiJson' in this.headers ? this.headers.toApiJson() : this.headers;
|
|
1049
|
+
}
|
|
1050
|
+
if (typeof this.constraints !== 'undefined' && this.constraints !== null) {
|
|
1051
|
+
toReturn['constraints'] = 'toApiJson' in this.constraints ? this.constraints.toApiJson() : this.constraints;
|
|
1052
|
+
}
|
|
1041
1053
|
return toReturn;
|
|
1042
1054
|
}
|
|
1043
1055
|
}
|
|
@@ -1061,6 +1073,92 @@ class FunctionAuthStrategyPlatformManagedFunctionAuthStrategy {
|
|
|
1061
1073
|
return toReturn;
|
|
1062
1074
|
}
|
|
1063
1075
|
}
|
|
1076
|
+
class SerializeFunctionRequest {
|
|
1077
|
+
static fromProto(proto) {
|
|
1078
|
+
let m = new SerializeFunctionRequest();
|
|
1079
|
+
m = Object.assign(m, proto);
|
|
1080
|
+
if (proto.function) {
|
|
1081
|
+
m.function = Function.fromProto(proto.function);
|
|
1082
|
+
}
|
|
1083
|
+
return m;
|
|
1084
|
+
}
|
|
1085
|
+
constructor(kwargs) {
|
|
1086
|
+
if (!kwargs) {
|
|
1087
|
+
return;
|
|
1088
|
+
}
|
|
1089
|
+
Object.assign(this, kwargs);
|
|
1090
|
+
}
|
|
1091
|
+
toApiJson() {
|
|
1092
|
+
const toReturn = {};
|
|
1093
|
+
if (typeof this.function !== 'undefined' && this.function !== null) {
|
|
1094
|
+
toReturn['function'] = 'toApiJson' in this.function ? this.function.toApiJson() : this.function;
|
|
1095
|
+
}
|
|
1096
|
+
return toReturn;
|
|
1097
|
+
}
|
|
1098
|
+
}
|
|
1099
|
+
class SerializeFunctionResponse {
|
|
1100
|
+
static fromProto(proto) {
|
|
1101
|
+
let m = new SerializeFunctionResponse();
|
|
1102
|
+
m = Object.assign(m, proto);
|
|
1103
|
+
return m;
|
|
1104
|
+
}
|
|
1105
|
+
constructor(kwargs) {
|
|
1106
|
+
if (!kwargs) {
|
|
1107
|
+
return;
|
|
1108
|
+
}
|
|
1109
|
+
Object.assign(this, kwargs);
|
|
1110
|
+
}
|
|
1111
|
+
toApiJson() {
|
|
1112
|
+
const toReturn = {};
|
|
1113
|
+
if (typeof this.file !== 'undefined') {
|
|
1114
|
+
toReturn['file'] = this.file;
|
|
1115
|
+
}
|
|
1116
|
+
return toReturn;
|
|
1117
|
+
}
|
|
1118
|
+
}
|
|
1119
|
+
class SerializeMCPRequest {
|
|
1120
|
+
static fromProto(proto) {
|
|
1121
|
+
let m = new SerializeMCPRequest();
|
|
1122
|
+
m = Object.assign(m, proto);
|
|
1123
|
+
if (proto.mcp) {
|
|
1124
|
+
m.mcp = MCP.fromProto(proto.mcp);
|
|
1125
|
+
}
|
|
1126
|
+
return m;
|
|
1127
|
+
}
|
|
1128
|
+
constructor(kwargs) {
|
|
1129
|
+
if (!kwargs) {
|
|
1130
|
+
return;
|
|
1131
|
+
}
|
|
1132
|
+
Object.assign(this, kwargs);
|
|
1133
|
+
}
|
|
1134
|
+
toApiJson() {
|
|
1135
|
+
const toReturn = {};
|
|
1136
|
+
if (typeof this.mcp !== 'undefined' && this.mcp !== null) {
|
|
1137
|
+
toReturn['mcp'] = 'toApiJson' in this.mcp ? this.mcp.toApiJson() : this.mcp;
|
|
1138
|
+
}
|
|
1139
|
+
return toReturn;
|
|
1140
|
+
}
|
|
1141
|
+
}
|
|
1142
|
+
class SerializeMCPResponse {
|
|
1143
|
+
static fromProto(proto) {
|
|
1144
|
+
let m = new SerializeMCPResponse();
|
|
1145
|
+
m = Object.assign(m, proto);
|
|
1146
|
+
return m;
|
|
1147
|
+
}
|
|
1148
|
+
constructor(kwargs) {
|
|
1149
|
+
if (!kwargs) {
|
|
1150
|
+
return;
|
|
1151
|
+
}
|
|
1152
|
+
Object.assign(this, kwargs);
|
|
1153
|
+
}
|
|
1154
|
+
toApiJson() {
|
|
1155
|
+
const toReturn = {};
|
|
1156
|
+
if (typeof this.file !== 'undefined') {
|
|
1157
|
+
toReturn['file'] = this.file;
|
|
1158
|
+
}
|
|
1159
|
+
return toReturn;
|
|
1160
|
+
}
|
|
1161
|
+
}
|
|
1064
1162
|
class FunctionAuthStrategyUnspecifiedFunctionAuthStrategy {
|
|
1065
1163
|
static fromProto(proto) {
|
|
1066
1164
|
let m = new FunctionAuthStrategyUnspecifiedFunctionAuthStrategy();
|
|
@@ -1091,6 +1189,12 @@ class UpsertMCPRequest {
|
|
|
1091
1189
|
if (proto.authStrategy) {
|
|
1092
1190
|
m.authStrategy = FunctionAuthStrategy.fromProto(proto.authStrategy);
|
|
1093
1191
|
}
|
|
1192
|
+
if (proto.headers) {
|
|
1193
|
+
m.headers = proto.headers.map(FunctionHeader.fromProto);
|
|
1194
|
+
}
|
|
1195
|
+
if (proto.constraints) {
|
|
1196
|
+
m.constraints = proto.constraints.map(Constraint.fromProto);
|
|
1197
|
+
}
|
|
1094
1198
|
return m;
|
|
1095
1199
|
}
|
|
1096
1200
|
constructor(kwargs) {
|
|
@@ -1119,6 +1223,12 @@ class UpsertMCPRequest {
|
|
|
1119
1223
|
if (typeof this.sourcePath !== 'undefined') {
|
|
1120
1224
|
toReturn['sourcePath'] = this.sourcePath;
|
|
1121
1225
|
}
|
|
1226
|
+
if (typeof this.headers !== 'undefined' && this.headers !== null) {
|
|
1227
|
+
toReturn['headers'] = 'toApiJson' in this.headers ? this.headers.toApiJson() : this.headers;
|
|
1228
|
+
}
|
|
1229
|
+
if (typeof this.constraints !== 'undefined' && this.constraints !== null) {
|
|
1230
|
+
toReturn['constraints'] = 'toApiJson' in this.constraints ? this.constraints.toApiJson() : this.constraints;
|
|
1231
|
+
}
|
|
1122
1232
|
return toReturn;
|
|
1123
1233
|
}
|
|
1124
1234
|
}
|
|
@@ -1414,6 +1524,55 @@ class PromptModuleVersion {
|
|
|
1414
1524
|
return toReturn;
|
|
1415
1525
|
}
|
|
1416
1526
|
}
|
|
1527
|
+
class SerializePromptModuleRequest {
|
|
1528
|
+
static fromProto(proto) {
|
|
1529
|
+
let m = new SerializePromptModuleRequest();
|
|
1530
|
+
m = Object.assign(m, proto);
|
|
1531
|
+
if (proto.promptModule) {
|
|
1532
|
+
m.promptModule = PromptModule.fromProto(proto.promptModule);
|
|
1533
|
+
}
|
|
1534
|
+
return m;
|
|
1535
|
+
}
|
|
1536
|
+
constructor(kwargs) {
|
|
1537
|
+
if (!kwargs) {
|
|
1538
|
+
return;
|
|
1539
|
+
}
|
|
1540
|
+
Object.assign(this, kwargs);
|
|
1541
|
+
}
|
|
1542
|
+
toApiJson() {
|
|
1543
|
+
const toReturn = {};
|
|
1544
|
+
if (typeof this.promptModule !== 'undefined' && this.promptModule !== null) {
|
|
1545
|
+
toReturn['promptModule'] = 'toApiJson' in this.promptModule ? this.promptModule.toApiJson() : this.promptModule;
|
|
1546
|
+
}
|
|
1547
|
+
if (typeof this.content !== 'undefined') {
|
|
1548
|
+
toReturn['content'] = this.content;
|
|
1549
|
+
}
|
|
1550
|
+
return toReturn;
|
|
1551
|
+
}
|
|
1552
|
+
}
|
|
1553
|
+
class SerializePromptModuleResponse {
|
|
1554
|
+
static fromProto(proto) {
|
|
1555
|
+
let m = new SerializePromptModuleResponse();
|
|
1556
|
+
m = Object.assign(m, proto);
|
|
1557
|
+
return m;
|
|
1558
|
+
}
|
|
1559
|
+
constructor(kwargs) {
|
|
1560
|
+
if (!kwargs) {
|
|
1561
|
+
return;
|
|
1562
|
+
}
|
|
1563
|
+
Object.assign(this, kwargs);
|
|
1564
|
+
}
|
|
1565
|
+
toApiJson() {
|
|
1566
|
+
const toReturn = {};
|
|
1567
|
+
if (typeof this.promptModuleFile !== 'undefined') {
|
|
1568
|
+
toReturn['promptModuleFile'] = this.promptModuleFile;
|
|
1569
|
+
}
|
|
1570
|
+
if (typeof this.contentFile !== 'undefined') {
|
|
1571
|
+
toReturn['contentFile'] = this.contentFile;
|
|
1572
|
+
}
|
|
1573
|
+
return toReturn;
|
|
1574
|
+
}
|
|
1575
|
+
}
|
|
1417
1576
|
|
|
1418
1577
|
function enumStringToValue$9(enumRef, value) {
|
|
1419
1578
|
if (typeof value === 'number') {
|
|
@@ -1530,6 +1689,49 @@ class GoalKey {
|
|
|
1530
1689
|
return toReturn;
|
|
1531
1690
|
}
|
|
1532
1691
|
}
|
|
1692
|
+
class SerializeGoalRequest {
|
|
1693
|
+
static fromProto(proto) {
|
|
1694
|
+
let m = new SerializeGoalRequest();
|
|
1695
|
+
m = Object.assign(m, proto);
|
|
1696
|
+
if (proto.goal) {
|
|
1697
|
+
m.goal = Goal.fromProto(proto.goal);
|
|
1698
|
+
}
|
|
1699
|
+
return m;
|
|
1700
|
+
}
|
|
1701
|
+
constructor(kwargs) {
|
|
1702
|
+
if (!kwargs) {
|
|
1703
|
+
return;
|
|
1704
|
+
}
|
|
1705
|
+
Object.assign(this, kwargs);
|
|
1706
|
+
}
|
|
1707
|
+
toApiJson() {
|
|
1708
|
+
const toReturn = {};
|
|
1709
|
+
if (typeof this.goal !== 'undefined' && this.goal !== null) {
|
|
1710
|
+
toReturn['goal'] = 'toApiJson' in this.goal ? this.goal.toApiJson() : this.goal;
|
|
1711
|
+
}
|
|
1712
|
+
return toReturn;
|
|
1713
|
+
}
|
|
1714
|
+
}
|
|
1715
|
+
class SerializeGoalResponse {
|
|
1716
|
+
static fromProto(proto) {
|
|
1717
|
+
let m = new SerializeGoalResponse();
|
|
1718
|
+
m = Object.assign(m, proto);
|
|
1719
|
+
return m;
|
|
1720
|
+
}
|
|
1721
|
+
constructor(kwargs) {
|
|
1722
|
+
if (!kwargs) {
|
|
1723
|
+
return;
|
|
1724
|
+
}
|
|
1725
|
+
Object.assign(this, kwargs);
|
|
1726
|
+
}
|
|
1727
|
+
toApiJson() {
|
|
1728
|
+
const toReturn = {};
|
|
1729
|
+
if (typeof this.file !== 'undefined') {
|
|
1730
|
+
toReturn['file'] = this.file;
|
|
1731
|
+
}
|
|
1732
|
+
return toReturn;
|
|
1733
|
+
}
|
|
1734
|
+
}
|
|
1533
1735
|
class ValidateGoalsRequest {
|
|
1534
1736
|
static fromProto(proto) {
|
|
1535
1737
|
let m = new ValidateGoalsRequest();
|
|
@@ -1709,6 +1911,12 @@ class Assistant {
|
|
|
1709
1911
|
if (proto.configurableGoals) {
|
|
1710
1912
|
m.configurableGoals = proto.configurableGoals.map(ConfigurableGoal.fromProto);
|
|
1711
1913
|
}
|
|
1914
|
+
if (proto.inputValidators) {
|
|
1915
|
+
m.inputValidators = proto.inputValidators.map(Validator.fromProto);
|
|
1916
|
+
}
|
|
1917
|
+
if (proto.outputValidators) {
|
|
1918
|
+
m.outputValidators = proto.outputValidators.map(Validator.fromProto);
|
|
1919
|
+
}
|
|
1712
1920
|
return m;
|
|
1713
1921
|
}
|
|
1714
1922
|
constructor(kwargs) {
|
|
@@ -1749,6 +1957,12 @@ class Assistant {
|
|
|
1749
1957
|
if (typeof this.description !== 'undefined') {
|
|
1750
1958
|
toReturn['description'] = this.description;
|
|
1751
1959
|
}
|
|
1960
|
+
if (typeof this.inputValidators !== 'undefined' && this.inputValidators !== null) {
|
|
1961
|
+
toReturn['inputValidators'] = 'toApiJson' in this.inputValidators ? this.inputValidators.toApiJson() : this.inputValidators;
|
|
1962
|
+
}
|
|
1963
|
+
if (typeof this.outputValidators !== 'undefined' && this.outputValidators !== null) {
|
|
1964
|
+
toReturn['outputValidators'] = 'toApiJson' in this.outputValidators ? this.outputValidators.toApiJson() : this.outputValidators;
|
|
1965
|
+
}
|
|
1752
1966
|
return toReturn;
|
|
1753
1967
|
}
|
|
1754
1968
|
}
|
|
@@ -2044,6 +2258,29 @@ class OpenAIRealtimeConfigTurnDetection {
|
|
|
2044
2258
|
return toReturn;
|
|
2045
2259
|
}
|
|
2046
2260
|
}
|
|
2261
|
+
class Validator {
|
|
2262
|
+
static fromProto(proto) {
|
|
2263
|
+
let m = new Validator();
|
|
2264
|
+
m = Object.assign(m, proto);
|
|
2265
|
+
return m;
|
|
2266
|
+
}
|
|
2267
|
+
constructor(kwargs) {
|
|
2268
|
+
if (!kwargs) {
|
|
2269
|
+
return;
|
|
2270
|
+
}
|
|
2271
|
+
Object.assign(this, kwargs);
|
|
2272
|
+
}
|
|
2273
|
+
toApiJson() {
|
|
2274
|
+
const toReturn = {};
|
|
2275
|
+
if (typeof this.name !== 'undefined') {
|
|
2276
|
+
toReturn['name'] = this.name;
|
|
2277
|
+
}
|
|
2278
|
+
if (typeof this.config !== 'undefined') {
|
|
2279
|
+
toReturn['config'] = this.config;
|
|
2280
|
+
}
|
|
2281
|
+
return toReturn;
|
|
2282
|
+
}
|
|
2283
|
+
}
|
|
2047
2284
|
class ConfigVoiceConfig {
|
|
2048
2285
|
static fromProto(proto) {
|
|
2049
2286
|
let m = new ConfigVoiceConfig();
|
|
@@ -3470,19 +3707,28 @@ class ExecuteFunctionResponse {
|
|
|
3470
3707
|
return toReturn;
|
|
3471
3708
|
}
|
|
3472
3709
|
}
|
|
3473
|
-
class
|
|
3710
|
+
class ListGoalsRequestFilters {
|
|
3474
3711
|
static fromProto(proto) {
|
|
3475
|
-
let m = new
|
|
3712
|
+
let m = new ListGoalsRequestFilters();
|
|
3476
3713
|
m = Object.assign(m, proto);
|
|
3477
3714
|
if (proto.namespace) {
|
|
3478
3715
|
m.namespace = Namespace.fromProto(proto.namespace);
|
|
3479
3716
|
}
|
|
3717
|
+
if (proto.type) {
|
|
3718
|
+
m.type = enumStringToValue(GoalType, proto.type);
|
|
3719
|
+
}
|
|
3720
|
+
if (proto.supportedChannels) {
|
|
3721
|
+
m.supportedChannels = proto.supportedChannels.map((v) => enumStringToValue(GoalChannel, v));
|
|
3722
|
+
}
|
|
3480
3723
|
if (proto.namespaces) {
|
|
3481
3724
|
m.namespaces = proto.namespaces.map(Namespace.fromProto);
|
|
3482
3725
|
}
|
|
3483
3726
|
if (proto.constraintFilters) {
|
|
3484
3727
|
m.constraintFilters = proto.constraintFilters.map(ConstraintFilter.fromProto);
|
|
3485
3728
|
}
|
|
3729
|
+
if (proto.sortOptions) {
|
|
3730
|
+
m.sortOptions = proto.sortOptions.map(ListGoalsRequestSortOptions.fromProto);
|
|
3731
|
+
}
|
|
3486
3732
|
return m;
|
|
3487
3733
|
}
|
|
3488
3734
|
constructor(kwargs) {
|
|
@@ -3496,30 +3742,65 @@ class ListFunctionRequestFilters {
|
|
|
3496
3742
|
if (typeof this.namespace !== 'undefined' && this.namespace !== null) {
|
|
3497
3743
|
toReturn['namespace'] = 'toApiJson' in this.namespace ? this.namespace.toApiJson() : this.namespace;
|
|
3498
3744
|
}
|
|
3745
|
+
if (typeof this.type !== 'undefined') {
|
|
3746
|
+
toReturn['type'] = this.type;
|
|
3747
|
+
}
|
|
3748
|
+
if (typeof this.supportedChannels !== 'undefined') {
|
|
3749
|
+
toReturn['supportedChannels'] = this.supportedChannels;
|
|
3750
|
+
}
|
|
3499
3751
|
if (typeof this.namespaces !== 'undefined' && this.namespaces !== null) {
|
|
3500
3752
|
toReturn['namespaces'] = 'toApiJson' in this.namespaces ? this.namespaces.toApiJson() : this.namespaces;
|
|
3501
3753
|
}
|
|
3502
|
-
if (typeof this.mcpId !== 'undefined') {
|
|
3503
|
-
toReturn['mcpId'] = this.mcpId;
|
|
3504
|
-
}
|
|
3505
3754
|
if (typeof this.constraintFilters !== 'undefined' && this.constraintFilters !== null) {
|
|
3506
3755
|
toReturn['constraintFilters'] = 'toApiJson' in this.constraintFilters ? this.constraintFilters.toApiJson() : this.constraintFilters;
|
|
3507
3756
|
}
|
|
3757
|
+
if (typeof this.searchTerm !== 'undefined') {
|
|
3758
|
+
toReturn['searchTerm'] = this.searchTerm;
|
|
3759
|
+
}
|
|
3760
|
+
if (typeof this.sortOptions !== 'undefined' && this.sortOptions !== null) {
|
|
3761
|
+
toReturn['sortOptions'] = 'toApiJson' in this.sortOptions ? this.sortOptions.toApiJson() : this.sortOptions;
|
|
3762
|
+
}
|
|
3763
|
+
if (typeof this.omitOverrides !== 'undefined') {
|
|
3764
|
+
toReturn['omitOverrides'] = this.omitOverrides;
|
|
3765
|
+
}
|
|
3508
3766
|
return toReturn;
|
|
3509
3767
|
}
|
|
3510
3768
|
}
|
|
3511
|
-
class
|
|
3769
|
+
class ListAssistantRequestFilters {
|
|
3512
3770
|
static fromProto(proto) {
|
|
3513
|
-
let m = new
|
|
3771
|
+
let m = new ListAssistantRequestFilters();
|
|
3514
3772
|
m = Object.assign(m, proto);
|
|
3515
3773
|
if (proto.namespace) {
|
|
3516
3774
|
m.namespace = Namespace.fromProto(proto.namespace);
|
|
3517
3775
|
}
|
|
3518
3776
|
if (proto.type) {
|
|
3519
|
-
m.type = enumStringToValue(
|
|
3777
|
+
m.type = enumStringToValue(AssistantType, proto.type);
|
|
3520
3778
|
}
|
|
3521
|
-
|
|
3522
|
-
|
|
3779
|
+
return m;
|
|
3780
|
+
}
|
|
3781
|
+
constructor(kwargs) {
|
|
3782
|
+
if (!kwargs) {
|
|
3783
|
+
return;
|
|
3784
|
+
}
|
|
3785
|
+
Object.assign(this, kwargs);
|
|
3786
|
+
}
|
|
3787
|
+
toApiJson() {
|
|
3788
|
+
const toReturn = {};
|
|
3789
|
+
if (typeof this.namespace !== 'undefined' && this.namespace !== null) {
|
|
3790
|
+
toReturn['namespace'] = 'toApiJson' in this.namespace ? this.namespace.toApiJson() : this.namespace;
|
|
3791
|
+
}
|
|
3792
|
+
if (typeof this.type !== 'undefined') {
|
|
3793
|
+
toReturn['type'] = this.type;
|
|
3794
|
+
}
|
|
3795
|
+
return toReturn;
|
|
3796
|
+
}
|
|
3797
|
+
}
|
|
3798
|
+
class ListFunctionRequestFilters {
|
|
3799
|
+
static fromProto(proto) {
|
|
3800
|
+
let m = new ListFunctionRequestFilters();
|
|
3801
|
+
m = Object.assign(m, proto);
|
|
3802
|
+
if (proto.namespace) {
|
|
3803
|
+
m.namespace = Namespace.fromProto(proto.namespace);
|
|
3523
3804
|
}
|
|
3524
3805
|
if (proto.namespaces) {
|
|
3525
3806
|
m.namespaces = proto.namespaces.map(Namespace.fromProto);
|
|
@@ -3527,9 +3808,6 @@ class ListGoalsRequestFilters {
|
|
|
3527
3808
|
if (proto.constraintFilters) {
|
|
3528
3809
|
m.constraintFilters = proto.constraintFilters.map(ConstraintFilter.fromProto);
|
|
3529
3810
|
}
|
|
3530
|
-
if (proto.sortOptions) {
|
|
3531
|
-
m.sortOptions = proto.sortOptions.map(ListGoalsRequestSortOptions.fromProto);
|
|
3532
|
-
}
|
|
3533
3811
|
return m;
|
|
3534
3812
|
}
|
|
3535
3813
|
constructor(kwargs) {
|
|
@@ -3543,39 +3821,27 @@ class ListGoalsRequestFilters {
|
|
|
3543
3821
|
if (typeof this.namespace !== 'undefined' && this.namespace !== null) {
|
|
3544
3822
|
toReturn['namespace'] = 'toApiJson' in this.namespace ? this.namespace.toApiJson() : this.namespace;
|
|
3545
3823
|
}
|
|
3546
|
-
if (typeof this.type !== 'undefined') {
|
|
3547
|
-
toReturn['type'] = this.type;
|
|
3548
|
-
}
|
|
3549
|
-
if (typeof this.supportedChannels !== 'undefined') {
|
|
3550
|
-
toReturn['supportedChannels'] = this.supportedChannels;
|
|
3551
|
-
}
|
|
3552
3824
|
if (typeof this.namespaces !== 'undefined' && this.namespaces !== null) {
|
|
3553
3825
|
toReturn['namespaces'] = 'toApiJson' in this.namespaces ? this.namespaces.toApiJson() : this.namespaces;
|
|
3554
3826
|
}
|
|
3827
|
+
if (typeof this.mcpId !== 'undefined') {
|
|
3828
|
+
toReturn['mcpId'] = this.mcpId;
|
|
3829
|
+
}
|
|
3555
3830
|
if (typeof this.constraintFilters !== 'undefined' && this.constraintFilters !== null) {
|
|
3556
3831
|
toReturn['constraintFilters'] = 'toApiJson' in this.constraintFilters ? this.constraintFilters.toApiJson() : this.constraintFilters;
|
|
3557
3832
|
}
|
|
3558
|
-
if (typeof this.searchTerm !== 'undefined') {
|
|
3559
|
-
toReturn['searchTerm'] = this.searchTerm;
|
|
3560
|
-
}
|
|
3561
|
-
if (typeof this.sortOptions !== 'undefined' && this.sortOptions !== null) {
|
|
3562
|
-
toReturn['sortOptions'] = 'toApiJson' in this.sortOptions ? this.sortOptions.toApiJson() : this.sortOptions;
|
|
3563
|
-
}
|
|
3564
|
-
if (typeof this.omitOverrides !== 'undefined') {
|
|
3565
|
-
toReturn['omitOverrides'] = this.omitOverrides;
|
|
3566
|
-
}
|
|
3567
3833
|
return toReturn;
|
|
3568
3834
|
}
|
|
3569
3835
|
}
|
|
3570
|
-
class
|
|
3836
|
+
class ListAvailableModelsRequestFilters {
|
|
3571
3837
|
static fromProto(proto) {
|
|
3572
|
-
let m = new
|
|
3838
|
+
let m = new ListAvailableModelsRequestFilters();
|
|
3573
3839
|
m = Object.assign(m, proto);
|
|
3574
|
-
if (proto.
|
|
3575
|
-
m.
|
|
3840
|
+
if (proto.vendor) {
|
|
3841
|
+
m.vendor = proto.vendor.map((v) => enumStringToValue(ModelVendor, v));
|
|
3576
3842
|
}
|
|
3577
3843
|
if (proto.type) {
|
|
3578
|
-
m.type = enumStringToValue(
|
|
3844
|
+
m.type = proto.type.map((v) => enumStringToValue(ModelType, v));
|
|
3579
3845
|
}
|
|
3580
3846
|
return m;
|
|
3581
3847
|
}
|
|
@@ -3587,8 +3853,8 @@ class ListAssistantRequestFilters {
|
|
|
3587
3853
|
}
|
|
3588
3854
|
toApiJson() {
|
|
3589
3855
|
const toReturn = {};
|
|
3590
|
-
if (typeof this.
|
|
3591
|
-
toReturn['
|
|
3856
|
+
if (typeof this.vendor !== 'undefined') {
|
|
3857
|
+
toReturn['vendor'] = this.vendor;
|
|
3592
3858
|
}
|
|
3593
3859
|
if (typeof this.type !== 'undefined') {
|
|
3594
3860
|
toReturn['type'] = this.type;
|
|
@@ -3671,35 +3937,6 @@ class ListConnectionsRequestFilters {
|
|
|
3671
3937
|
return toReturn;
|
|
3672
3938
|
}
|
|
3673
3939
|
}
|
|
3674
|
-
class ListAvailableModelsRequestFilters {
|
|
3675
|
-
static fromProto(proto) {
|
|
3676
|
-
let m = new ListAvailableModelsRequestFilters();
|
|
3677
|
-
m = Object.assign(m, proto);
|
|
3678
|
-
if (proto.vendor) {
|
|
3679
|
-
m.vendor = proto.vendor.map((v) => enumStringToValue(ModelVendor, v));
|
|
3680
|
-
}
|
|
3681
|
-
if (proto.type) {
|
|
3682
|
-
m.type = proto.type.map((v) => enumStringToValue(ModelType, v));
|
|
3683
|
-
}
|
|
3684
|
-
return m;
|
|
3685
|
-
}
|
|
3686
|
-
constructor(kwargs) {
|
|
3687
|
-
if (!kwargs) {
|
|
3688
|
-
return;
|
|
3689
|
-
}
|
|
3690
|
-
Object.assign(this, kwargs);
|
|
3691
|
-
}
|
|
3692
|
-
toApiJson() {
|
|
3693
|
-
const toReturn = {};
|
|
3694
|
-
if (typeof this.vendor !== 'undefined') {
|
|
3695
|
-
toReturn['vendor'] = this.vendor;
|
|
3696
|
-
}
|
|
3697
|
-
if (typeof this.type !== 'undefined') {
|
|
3698
|
-
toReturn['type'] = this.type;
|
|
3699
|
-
}
|
|
3700
|
-
return toReturn;
|
|
3701
|
-
}
|
|
3702
|
-
}
|
|
3703
3940
|
class GenerateChatAnswerRequest {
|
|
3704
3941
|
static fromProto(proto) {
|
|
3705
3942
|
let m = new GenerateChatAnswerRequest();
|
|
@@ -5002,10 +5239,13 @@ class ListTemplateVariablesResponse {
|
|
|
5002
5239
|
return toReturn;
|
|
5003
5240
|
}
|
|
5004
5241
|
}
|
|
5005
|
-
class
|
|
5242
|
+
class GenerateChatAnswerRequestOptions {
|
|
5006
5243
|
static fromProto(proto) {
|
|
5007
|
-
let m = new
|
|
5244
|
+
let m = new GenerateChatAnswerRequestOptions();
|
|
5008
5245
|
m = Object.assign(m, proto);
|
|
5246
|
+
if (proto.maxTokens) {
|
|
5247
|
+
m.maxTokens = parseInt(proto.maxTokens, 10);
|
|
5248
|
+
}
|
|
5009
5249
|
return m;
|
|
5010
5250
|
}
|
|
5011
5251
|
constructor(kwargs) {
|
|
@@ -5016,8 +5256,14 @@ class UpsertAssistantRequestOptions {
|
|
|
5016
5256
|
}
|
|
5017
5257
|
toApiJson() {
|
|
5018
5258
|
const toReturn = {};
|
|
5019
|
-
if (typeof this.
|
|
5020
|
-
toReturn['
|
|
5259
|
+
if (typeof this.includeAllCitations !== 'undefined') {
|
|
5260
|
+
toReturn['includeAllCitations'] = this.includeAllCitations;
|
|
5261
|
+
}
|
|
5262
|
+
if (typeof this.enableAsyncFunctions !== 'undefined') {
|
|
5263
|
+
toReturn['enableAsyncFunctions'] = this.enableAsyncFunctions;
|
|
5264
|
+
}
|
|
5265
|
+
if (typeof this.maxTokens !== 'undefined') {
|
|
5266
|
+
toReturn['maxTokens'] = this.maxTokens;
|
|
5021
5267
|
}
|
|
5022
5268
|
return toReturn;
|
|
5023
5269
|
}
|
|
@@ -5042,9 +5288,9 @@ class GetMultiAssistantRequestOptions {
|
|
|
5042
5288
|
return toReturn;
|
|
5043
5289
|
}
|
|
5044
5290
|
}
|
|
5045
|
-
class
|
|
5291
|
+
class UpsertAssistantRequestOptions {
|
|
5046
5292
|
static fromProto(proto) {
|
|
5047
|
-
let m = new
|
|
5293
|
+
let m = new UpsertAssistantRequestOptions();
|
|
5048
5294
|
m = Object.assign(m, proto);
|
|
5049
5295
|
return m;
|
|
5050
5296
|
}
|
|
@@ -5056,15 +5302,15 @@ class CreatePromptModuleVersionRequestOptions {
|
|
|
5056
5302
|
}
|
|
5057
5303
|
toApiJson() {
|
|
5058
5304
|
const toReturn = {};
|
|
5059
|
-
if (typeof this.
|
|
5060
|
-
toReturn['
|
|
5305
|
+
if (typeof this.applyDefaults !== 'undefined') {
|
|
5306
|
+
toReturn['applyDefaults'] = this.applyDefaults;
|
|
5061
5307
|
}
|
|
5062
5308
|
return toReturn;
|
|
5063
5309
|
}
|
|
5064
5310
|
}
|
|
5065
|
-
class
|
|
5311
|
+
class GetAssistantRequestOptions {
|
|
5066
5312
|
static fromProto(proto) {
|
|
5067
|
-
let m = new
|
|
5313
|
+
let m = new GetAssistantRequestOptions();
|
|
5068
5314
|
m = Object.assign(m, proto);
|
|
5069
5315
|
return m;
|
|
5070
5316
|
}
|
|
@@ -5076,15 +5322,15 @@ class CreateAssistantRequestOptions {
|
|
|
5076
5322
|
}
|
|
5077
5323
|
toApiJson() {
|
|
5078
5324
|
const toReturn = {};
|
|
5079
|
-
if (typeof this.
|
|
5080
|
-
toReturn['
|
|
5325
|
+
if (typeof this.skipGoalsHydration !== 'undefined') {
|
|
5326
|
+
toReturn['skipGoalsHydration'] = this.skipGoalsHydration;
|
|
5081
5327
|
}
|
|
5082
5328
|
return toReturn;
|
|
5083
5329
|
}
|
|
5084
5330
|
}
|
|
5085
|
-
class
|
|
5331
|
+
class CreateAssistantRequestOptions {
|
|
5086
5332
|
static fromProto(proto) {
|
|
5087
|
-
let m = new
|
|
5333
|
+
let m = new CreateAssistantRequestOptions();
|
|
5088
5334
|
m = Object.assign(m, proto);
|
|
5089
5335
|
return m;
|
|
5090
5336
|
}
|
|
@@ -5096,18 +5342,18 @@ class GetAssistantRequestOptions {
|
|
|
5096
5342
|
}
|
|
5097
5343
|
toApiJson() {
|
|
5098
5344
|
const toReturn = {};
|
|
5099
|
-
if (typeof this.
|
|
5100
|
-
toReturn['
|
|
5345
|
+
if (typeof this.applyDefaults !== 'undefined') {
|
|
5346
|
+
toReturn['applyDefaults'] = this.applyDefaults;
|
|
5101
5347
|
}
|
|
5102
5348
|
return toReturn;
|
|
5103
5349
|
}
|
|
5104
5350
|
}
|
|
5105
|
-
class
|
|
5351
|
+
class ExecuteFunctionRequestOptions {
|
|
5106
5352
|
static fromProto(proto) {
|
|
5107
|
-
let m = new
|
|
5353
|
+
let m = new ExecuteFunctionRequestOptions();
|
|
5108
5354
|
m = Object.assign(m, proto);
|
|
5109
|
-
if (proto.
|
|
5110
|
-
m.
|
|
5355
|
+
if (proto.contextInfo) {
|
|
5356
|
+
m.contextInfo = ContextInfo.fromProto(proto.contextInfo);
|
|
5111
5357
|
}
|
|
5112
5358
|
return m;
|
|
5113
5359
|
}
|
|
@@ -5119,25 +5365,19 @@ class GenerateChatAnswerRequestOptions {
|
|
|
5119
5365
|
}
|
|
5120
5366
|
toApiJson() {
|
|
5121
5367
|
const toReturn = {};
|
|
5122
|
-
if (typeof this.
|
|
5123
|
-
toReturn['
|
|
5124
|
-
}
|
|
5125
|
-
if (typeof this.enableAsyncFunctions !== 'undefined') {
|
|
5126
|
-
toReturn['enableAsyncFunctions'] = this.enableAsyncFunctions;
|
|
5368
|
+
if (typeof this.skipComputeTemplateVariables !== 'undefined') {
|
|
5369
|
+
toReturn['skipComputeTemplateVariables'] = this.skipComputeTemplateVariables;
|
|
5127
5370
|
}
|
|
5128
|
-
if (typeof this.
|
|
5129
|
-
toReturn['
|
|
5371
|
+
if (typeof this.contextInfo !== 'undefined' && this.contextInfo !== null) {
|
|
5372
|
+
toReturn['contextInfo'] = 'toApiJson' in this.contextInfo ? this.contextInfo.toApiJson() : this.contextInfo;
|
|
5130
5373
|
}
|
|
5131
5374
|
return toReturn;
|
|
5132
5375
|
}
|
|
5133
5376
|
}
|
|
5134
|
-
class
|
|
5377
|
+
class CreatePromptModuleVersionRequestOptions {
|
|
5135
5378
|
static fromProto(proto) {
|
|
5136
|
-
let m = new
|
|
5379
|
+
let m = new CreatePromptModuleVersionRequestOptions();
|
|
5137
5380
|
m = Object.assign(m, proto);
|
|
5138
|
-
if (proto.contextInfo) {
|
|
5139
|
-
m.contextInfo = ContextInfo.fromProto(proto.contextInfo);
|
|
5140
|
-
}
|
|
5141
5381
|
return m;
|
|
5142
5382
|
}
|
|
5143
5383
|
constructor(kwargs) {
|
|
@@ -5148,11 +5388,8 @@ class ExecuteFunctionRequestOptions {
|
|
|
5148
5388
|
}
|
|
5149
5389
|
toApiJson() {
|
|
5150
5390
|
const toReturn = {};
|
|
5151
|
-
if (typeof this.
|
|
5152
|
-
toReturn['
|
|
5153
|
-
}
|
|
5154
|
-
if (typeof this.contextInfo !== 'undefined' && this.contextInfo !== null) {
|
|
5155
|
-
toReturn['contextInfo'] = 'toApiJson' in this.contextInfo ? this.contextInfo.toApiJson() : this.contextInfo;
|
|
5391
|
+
if (typeof this.shouldDeploy !== 'undefined') {
|
|
5392
|
+
toReturn['shouldDeploy'] = this.shouldDeploy;
|
|
5156
5393
|
}
|
|
5157
5394
|
return toReturn;
|
|
5158
5395
|
}
|
|
@@ -5186,6 +5423,35 @@ class SetAssistantConnectionsRequest {
|
|
|
5186
5423
|
return toReturn;
|
|
5187
5424
|
}
|
|
5188
5425
|
}
|
|
5426
|
+
class SetConnectionAssistantRequest {
|
|
5427
|
+
static fromProto(proto) {
|
|
5428
|
+
let m = new SetConnectionAssistantRequest();
|
|
5429
|
+
m = Object.assign(m, proto);
|
|
5430
|
+
if (proto.connectionKey) {
|
|
5431
|
+
m.connectionKey = ConnectionKey.fromProto(proto.connectionKey);
|
|
5432
|
+
}
|
|
5433
|
+
if (proto.assistantKey) {
|
|
5434
|
+
m.assistantKey = AssistantKey.fromProto(proto.assistantKey);
|
|
5435
|
+
}
|
|
5436
|
+
return m;
|
|
5437
|
+
}
|
|
5438
|
+
constructor(kwargs) {
|
|
5439
|
+
if (!kwargs) {
|
|
5440
|
+
return;
|
|
5441
|
+
}
|
|
5442
|
+
Object.assign(this, kwargs);
|
|
5443
|
+
}
|
|
5444
|
+
toApiJson() {
|
|
5445
|
+
const toReturn = {};
|
|
5446
|
+
if (typeof this.connectionKey !== 'undefined' && this.connectionKey !== null) {
|
|
5447
|
+
toReturn['connectionKey'] = 'toApiJson' in this.connectionKey ? this.connectionKey.toApiJson() : this.connectionKey;
|
|
5448
|
+
}
|
|
5449
|
+
if (typeof this.assistantKey !== 'undefined' && this.assistantKey !== null) {
|
|
5450
|
+
toReturn['assistantKey'] = 'toApiJson' in this.assistantKey ? this.assistantKey.toApiJson() : this.assistantKey;
|
|
5451
|
+
}
|
|
5452
|
+
return toReturn;
|
|
5453
|
+
}
|
|
5454
|
+
}
|
|
5189
5455
|
class ListGoalsRequestSortOptions {
|
|
5190
5456
|
static fromProto(proto) {
|
|
5191
5457
|
let m = new ListGoalsRequestSortOptions();
|
|
@@ -5835,6 +6101,10 @@ class ConnectionApiService {
|
|
|
5835
6101
|
return this.http.post(this._host + "/ai_assistants.v1alpha1.ConnectionService/ListConnections", request.toApiJson(), this.apiOptions())
|
|
5836
6102
|
.pipe(map(resp => ListConnectionsResponse.fromProto(resp)));
|
|
5837
6103
|
}
|
|
6104
|
+
setConnectionAssistant(r) {
|
|
6105
|
+
const request = (r.toApiJson) ? r : new SetConnectionAssistantRequest(r);
|
|
6106
|
+
return this.http.post(this._host + "/ai_assistants.v1alpha1.ConnectionService/SetConnectionAssistant", request.toApiJson(), { ...this.apiOptions(), observe: 'response' });
|
|
6107
|
+
}
|
|
5838
6108
|
}
|
|
5839
6109
|
ConnectionApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ConnectionApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5840
6110
|
ConnectionApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ConnectionApiService, providedIn: 'root' });
|
|
@@ -5918,6 +6188,16 @@ class FunctionApiService {
|
|
|
5918
6188
|
return this.http.post(this._host + "/ai_assistants.v1alpha1.FunctionService/ValidateMCPs", request.toApiJson(), this.apiOptions())
|
|
5919
6189
|
.pipe(map(resp => ValidateMCPsResponse.fromProto(resp)));
|
|
5920
6190
|
}
|
|
6191
|
+
serializeFunction(r) {
|
|
6192
|
+
const request = (r.toApiJson) ? r : new SerializeFunctionRequest(r);
|
|
6193
|
+
return this.http.post(this._host + "/ai_assistants.v1alpha1.FunctionService/SerializeFunction", request.toApiJson(), this.apiOptions())
|
|
6194
|
+
.pipe(map(resp => SerializeFunctionResponse.fromProto(resp)));
|
|
6195
|
+
}
|
|
6196
|
+
serializeMcp(r) {
|
|
6197
|
+
const request = (r.toApiJson) ? r : new SerializeMCPRequest(r);
|
|
6198
|
+
return this.http.post(this._host + "/ai_assistants.v1alpha1.FunctionService/SerializeMCP", request.toApiJson(), this.apiOptions())
|
|
6199
|
+
.pipe(map(resp => SerializeMCPResponse.fromProto(resp)));
|
|
6200
|
+
}
|
|
5921
6201
|
}
|
|
5922
6202
|
FunctionApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FunctionApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5923
6203
|
FunctionApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FunctionApiService, providedIn: 'root' });
|
|
@@ -5988,6 +6268,11 @@ class GoalApiService {
|
|
|
5988
6268
|
return this.http.post(this._host + "/ai_assistants.v1alpha1.GoalService/ValidateGoals", request.toApiJson(), this.apiOptions())
|
|
5989
6269
|
.pipe(map(resp => ValidateGoalsResponse.fromProto(resp)));
|
|
5990
6270
|
}
|
|
6271
|
+
serializeGoal(r) {
|
|
6272
|
+
const request = (r.toApiJson) ? r : new SerializeGoalRequest(r);
|
|
6273
|
+
return this.http.post(this._host + "/ai_assistants.v1alpha1.GoalService/SerializeGoal", request.toApiJson(), this.apiOptions())
|
|
6274
|
+
.pipe(map(resp => SerializeGoalResponse.fromProto(resp)));
|
|
6275
|
+
}
|
|
5991
6276
|
}
|
|
5992
6277
|
GoalApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: GoalApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5993
6278
|
GoalApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: GoalApiService, providedIn: 'root' });
|
|
@@ -6147,6 +6432,11 @@ class PromptModuleApiService {
|
|
|
6147
6432
|
return this.http.post(this._host + "/ai_assistants.v1alpha1.PromptModuleService/ValidatePromptModuleVersions", request.toApiJson(), this.apiOptions())
|
|
6148
6433
|
.pipe(map(resp => ValidatePromptModuleVersionsResponse.fromProto(resp)));
|
|
6149
6434
|
}
|
|
6435
|
+
serializePromptModule(r) {
|
|
6436
|
+
const request = (r.toApiJson) ? r : new SerializePromptModuleRequest(r);
|
|
6437
|
+
return this.http.post(this._host + "/ai_assistants.v1alpha1.PromptModuleService/SerializePromptModule", request.toApiJson(), this.apiOptions())
|
|
6438
|
+
.pipe(map(resp => SerializePromptModuleResponse.fromProto(resp)));
|
|
6439
|
+
}
|
|
6150
6440
|
}
|
|
6151
6441
|
PromptModuleApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PromptModuleApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6152
6442
|
PromptModuleApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PromptModuleApiService, providedIn: 'root' });
|
|
@@ -6166,5 +6456,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
6166
6456
|
* Generated bundle index. Do not edit.
|
|
6167
6457
|
*/
|
|
6168
6458
|
|
|
6169
|
-
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 };
|
|
6459
|
+
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 };
|
|
6170
6460
|
//# sourceMappingURL=vendasta-ai-assistants.mjs.map
|