@vendasta/ai-assistants 0.61.0 → 0.63.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.
Files changed (33) hide show
  1. package/esm2020/lib/_internal/connection.api.service.mjs +6 -2
  2. package/esm2020/lib/_internal/function.api.service.mjs +12 -2
  3. package/esm2020/lib/_internal/goal.api.service.mjs +7 -2
  4. package/esm2020/lib/_internal/interfaces/api.interface.mjs +1 -1
  5. package/esm2020/lib/_internal/interfaces/function.interface.mjs +1 -1
  6. package/esm2020/lib/_internal/interfaces/goal.interface.mjs +1 -1
  7. package/esm2020/lib/_internal/interfaces/index.mjs +1 -1
  8. package/esm2020/lib/_internal/interfaces/prompt.interface.mjs +1 -1
  9. package/esm2020/lib/_internal/objects/api.mjs +137 -102
  10. package/esm2020/lib/_internal/objects/function.mjs +111 -1
  11. package/esm2020/lib/_internal/objects/goal.mjs +47 -1
  12. package/esm2020/lib/_internal/objects/index.mjs +5 -5
  13. package/esm2020/lib/_internal/objects/prompt.mjs +53 -1
  14. package/esm2020/lib/_internal/prompt-module.api.service.mjs +7 -2
  15. package/fesm2015/vendasta-ai-assistants.mjs +369 -102
  16. package/fesm2015/vendasta-ai-assistants.mjs.map +1 -1
  17. package/fesm2020/vendasta-ai-assistants.mjs +369 -102
  18. package/fesm2020/vendasta-ai-assistants.mjs.map +1 -1
  19. package/lib/_internal/connection.api.service.d.ts +3 -2
  20. package/lib/_internal/function.api.service.d.ts +4 -2
  21. package/lib/_internal/goal.api.service.d.ts +3 -2
  22. package/lib/_internal/interfaces/api.interface.d.ts +26 -20
  23. package/lib/_internal/interfaces/function.interface.d.ts +18 -0
  24. package/lib/_internal/interfaces/goal.interface.d.ts +7 -0
  25. package/lib/_internal/interfaces/index.d.ts +4 -4
  26. package/lib/_internal/interfaces/prompt.interface.d.ts +9 -0
  27. package/lib/_internal/objects/api.d.ts +44 -35
  28. package/lib/_internal/objects/function.d.ts +30 -0
  29. package/lib/_internal/objects/goal.d.ts +13 -0
  30. package/lib/_internal/objects/index.d.ts +4 -4
  31. package/lib/_internal/objects/prompt.d.ts +15 -0
  32. package/lib/_internal/prompt-module.api.service.d.ts +3 -2
  33. package/package.json +1 -1
@@ -583,6 +583,9 @@ class CreateMCPFromIntegrationRequest {
583
583
  if (typeof this.connectionId !== 'undefined') {
584
584
  toReturn['connectionId'] = this.connectionId;
585
585
  }
586
+ if (typeof this.sourcePath !== 'undefined') {
587
+ toReturn['sourcePath'] = this.sourcePath;
588
+ }
586
589
  return toReturn;
587
590
  }
588
591
  }
@@ -709,6 +712,9 @@ class Function {
709
712
  if (typeof this.constraints !== 'undefined' && this.constraints !== null) {
710
713
  toReturn['constraints'] = 'toApiJson' in this.constraints ? this.constraints.toApiJson() : this.constraints;
711
714
  }
715
+ if (typeof this.sourcePath !== 'undefined') {
716
+ toReturn['sourcePath'] = this.sourcePath;
717
+ }
712
718
  return toReturn;
713
719
  }
714
720
  }
@@ -1029,6 +1035,9 @@ class MCP {
1029
1035
  if (typeof this.authStrategy !== 'undefined' && this.authStrategy !== null) {
1030
1036
  toReturn['authStrategy'] = 'toApiJson' in this.authStrategy ? this.authStrategy.toApiJson() : this.authStrategy;
1031
1037
  }
1038
+ if (typeof this.sourcePath !== 'undefined') {
1039
+ toReturn['sourcePath'] = this.sourcePath;
1040
+ }
1032
1041
  return toReturn;
1033
1042
  }
1034
1043
  }
@@ -1052,6 +1061,104 @@ class FunctionAuthStrategyPlatformManagedFunctionAuthStrategy {
1052
1061
  return toReturn;
1053
1062
  }
1054
1063
  }
1064
+ class SerializeFunctionRequest {
1065
+ static fromProto(proto) {
1066
+ let m = new SerializeFunctionRequest();
1067
+ m = Object.assign(m, proto);
1068
+ if (proto.function) {
1069
+ m.function = Function.fromProto(proto.function);
1070
+ }
1071
+ return m;
1072
+ }
1073
+ constructor(kwargs) {
1074
+ if (!kwargs) {
1075
+ return;
1076
+ }
1077
+ Object.assign(this, kwargs);
1078
+ }
1079
+ toApiJson() {
1080
+ const toReturn = {};
1081
+ if (typeof this.function !== 'undefined' && this.function !== null) {
1082
+ toReturn['function'] = 'toApiJson' in this.function ? this.function.toApiJson() : this.function;
1083
+ }
1084
+ return toReturn;
1085
+ }
1086
+ }
1087
+ class SerializeFunctionResponse {
1088
+ static fromProto(proto) {
1089
+ let m = new SerializeFunctionResponse();
1090
+ m = Object.assign(m, proto);
1091
+ return m;
1092
+ }
1093
+ constructor(kwargs) {
1094
+ if (!kwargs) {
1095
+ return;
1096
+ }
1097
+ Object.assign(this, kwargs);
1098
+ }
1099
+ toApiJson() {
1100
+ const toReturn = {};
1101
+ if (typeof this.file !== 'undefined') {
1102
+ toReturn['file'] = this.file;
1103
+ }
1104
+ return toReturn;
1105
+ }
1106
+ }
1107
+ class SerializeMCPRequest {
1108
+ static fromProto(proto) {
1109
+ let m = new SerializeMCPRequest();
1110
+ m = Object.assign(m, proto);
1111
+ if (proto.mcp) {
1112
+ m.mcp = MCP.fromProto(proto.mcp);
1113
+ }
1114
+ if (proto.headers) {
1115
+ m.headers = proto.headers.map(FunctionHeader.fromProto);
1116
+ }
1117
+ if (proto.constraints) {
1118
+ m.constraints = proto.constraints.map(Constraint.fromProto);
1119
+ }
1120
+ return m;
1121
+ }
1122
+ constructor(kwargs) {
1123
+ if (!kwargs) {
1124
+ return;
1125
+ }
1126
+ Object.assign(this, kwargs);
1127
+ }
1128
+ toApiJson() {
1129
+ const toReturn = {};
1130
+ if (typeof this.mcp !== 'undefined' && this.mcp !== null) {
1131
+ toReturn['mcp'] = 'toApiJson' in this.mcp ? this.mcp.toApiJson() : this.mcp;
1132
+ }
1133
+ if (typeof this.headers !== 'undefined' && this.headers !== null) {
1134
+ toReturn['headers'] = 'toApiJson' in this.headers ? this.headers.toApiJson() : this.headers;
1135
+ }
1136
+ if (typeof this.constraints !== 'undefined' && this.constraints !== null) {
1137
+ toReturn['constraints'] = 'toApiJson' in this.constraints ? this.constraints.toApiJson() : this.constraints;
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
+ }
1055
1162
  class FunctionAuthStrategyUnspecifiedFunctionAuthStrategy {
1056
1163
  static fromProto(proto) {
1057
1164
  let m = new FunctionAuthStrategyUnspecifiedFunctionAuthStrategy();
@@ -1107,6 +1214,9 @@ class UpsertMCPRequest {
1107
1214
  if (typeof this.authStrategy !== 'undefined' && this.authStrategy !== null) {
1108
1215
  toReturn['authStrategy'] = 'toApiJson' in this.authStrategy ? this.authStrategy.toApiJson() : this.authStrategy;
1109
1216
  }
1217
+ if (typeof this.sourcePath !== 'undefined') {
1218
+ toReturn['sourcePath'] = this.sourcePath;
1219
+ }
1110
1220
  return toReturn;
1111
1221
  }
1112
1222
  }
@@ -1329,6 +1439,9 @@ class PromptModule {
1329
1439
  if (typeof this.managed !== 'undefined') {
1330
1440
  toReturn['managed'] = this.managed;
1331
1441
  }
1442
+ if (typeof this.sourcePath !== 'undefined') {
1443
+ toReturn['sourcePath'] = this.sourcePath;
1444
+ }
1332
1445
  return toReturn;
1333
1446
  }
1334
1447
  }
@@ -1399,6 +1512,55 @@ class PromptModuleVersion {
1399
1512
  return toReturn;
1400
1513
  }
1401
1514
  }
1515
+ class SerializePromptModuleRequest {
1516
+ static fromProto(proto) {
1517
+ let m = new SerializePromptModuleRequest();
1518
+ m = Object.assign(m, proto);
1519
+ if (proto.promptModule) {
1520
+ m.promptModule = PromptModule.fromProto(proto.promptModule);
1521
+ }
1522
+ return m;
1523
+ }
1524
+ constructor(kwargs) {
1525
+ if (!kwargs) {
1526
+ return;
1527
+ }
1528
+ Object.assign(this, kwargs);
1529
+ }
1530
+ toApiJson() {
1531
+ const toReturn = {};
1532
+ if (typeof this.promptModule !== 'undefined' && this.promptModule !== null) {
1533
+ toReturn['promptModule'] = 'toApiJson' in this.promptModule ? this.promptModule.toApiJson() : this.promptModule;
1534
+ }
1535
+ if (typeof this.content !== 'undefined') {
1536
+ toReturn['content'] = this.content;
1537
+ }
1538
+ return toReturn;
1539
+ }
1540
+ }
1541
+ class SerializePromptModuleResponse {
1542
+ static fromProto(proto) {
1543
+ let m = new SerializePromptModuleResponse();
1544
+ m = Object.assign(m, proto);
1545
+ return m;
1546
+ }
1547
+ constructor(kwargs) {
1548
+ if (!kwargs) {
1549
+ return;
1550
+ }
1551
+ Object.assign(this, kwargs);
1552
+ }
1553
+ toApiJson() {
1554
+ const toReturn = {};
1555
+ if (typeof this.promptModuleFile !== 'undefined') {
1556
+ toReturn['promptModuleFile'] = this.promptModuleFile;
1557
+ }
1558
+ if (typeof this.contentFile !== 'undefined') {
1559
+ toReturn['contentFile'] = this.contentFile;
1560
+ }
1561
+ return toReturn;
1562
+ }
1563
+ }
1402
1564
 
1403
1565
  function enumStringToValue$9(enumRef, value) {
1404
1566
  if (typeof value === 'number') {
@@ -1483,6 +1645,9 @@ class Goal {
1483
1645
  if (typeof this.constraints !== 'undefined' && this.constraints !== null) {
1484
1646
  toReturn['constraints'] = 'toApiJson' in this.constraints ? this.constraints.toApiJson() : this.constraints;
1485
1647
  }
1648
+ if (typeof this.sourcePath !== 'undefined') {
1649
+ toReturn['sourcePath'] = this.sourcePath;
1650
+ }
1486
1651
  return toReturn;
1487
1652
  }
1488
1653
  }
@@ -1512,6 +1677,49 @@ class GoalKey {
1512
1677
  return toReturn;
1513
1678
  }
1514
1679
  }
1680
+ class SerializeGoalRequest {
1681
+ static fromProto(proto) {
1682
+ let m = new SerializeGoalRequest();
1683
+ m = Object.assign(m, proto);
1684
+ if (proto.goal) {
1685
+ m.goal = Goal.fromProto(proto.goal);
1686
+ }
1687
+ return m;
1688
+ }
1689
+ constructor(kwargs) {
1690
+ if (!kwargs) {
1691
+ return;
1692
+ }
1693
+ Object.assign(this, kwargs);
1694
+ }
1695
+ toApiJson() {
1696
+ const toReturn = {};
1697
+ if (typeof this.goal !== 'undefined' && this.goal !== null) {
1698
+ toReturn['goal'] = 'toApiJson' in this.goal ? this.goal.toApiJson() : this.goal;
1699
+ }
1700
+ return toReturn;
1701
+ }
1702
+ }
1703
+ class SerializeGoalResponse {
1704
+ static fromProto(proto) {
1705
+ let m = new SerializeGoalResponse();
1706
+ m = Object.assign(m, proto);
1707
+ return m;
1708
+ }
1709
+ constructor(kwargs) {
1710
+ if (!kwargs) {
1711
+ return;
1712
+ }
1713
+ Object.assign(this, kwargs);
1714
+ }
1715
+ toApiJson() {
1716
+ const toReturn = {};
1717
+ if (typeof this.file !== 'undefined') {
1718
+ toReturn['file'] = this.file;
1719
+ }
1720
+ return toReturn;
1721
+ }
1722
+ }
1515
1723
  class ValidateGoalsRequest {
1516
1724
  static fromProto(proto) {
1517
1725
  let m = new ValidateGoalsRequest();
@@ -3159,6 +3367,9 @@ class CreatePromptModuleRequest {
3159
3367
  if (typeof this.managed !== 'undefined') {
3160
3368
  toReturn['managed'] = this.managed;
3161
3369
  }
3370
+ if (typeof this.sourcePath !== 'undefined') {
3371
+ toReturn['sourcePath'] = this.sourcePath;
3372
+ }
3162
3373
  return toReturn;
3163
3374
  }
3164
3375
  }
@@ -3449,19 +3660,28 @@ class ExecuteFunctionResponse {
3449
3660
  return toReturn;
3450
3661
  }
3451
3662
  }
3452
- class ListFunctionRequestFilters {
3663
+ class ListGoalsRequestFilters {
3453
3664
  static fromProto(proto) {
3454
- let m = new ListFunctionRequestFilters();
3665
+ let m = new ListGoalsRequestFilters();
3455
3666
  m = Object.assign(m, proto);
3456
3667
  if (proto.namespace) {
3457
3668
  m.namespace = Namespace.fromProto(proto.namespace);
3458
3669
  }
3670
+ if (proto.type) {
3671
+ m.type = enumStringToValue(GoalType, proto.type);
3672
+ }
3673
+ if (proto.supportedChannels) {
3674
+ m.supportedChannels = proto.supportedChannels.map((v) => enumStringToValue(GoalChannel, v));
3675
+ }
3459
3676
  if (proto.namespaces) {
3460
3677
  m.namespaces = proto.namespaces.map(Namespace.fromProto);
3461
3678
  }
3462
3679
  if (proto.constraintFilters) {
3463
3680
  m.constraintFilters = proto.constraintFilters.map(ConstraintFilter.fromProto);
3464
3681
  }
3682
+ if (proto.sortOptions) {
3683
+ m.sortOptions = proto.sortOptions.map(ListGoalsRequestSortOptions.fromProto);
3684
+ }
3465
3685
  return m;
3466
3686
  }
3467
3687
  constructor(kwargs) {
@@ -3475,30 +3695,65 @@ class ListFunctionRequestFilters {
3475
3695
  if (typeof this.namespace !== 'undefined' && this.namespace !== null) {
3476
3696
  toReturn['namespace'] = 'toApiJson' in this.namespace ? this.namespace.toApiJson() : this.namespace;
3477
3697
  }
3698
+ if (typeof this.type !== 'undefined') {
3699
+ toReturn['type'] = this.type;
3700
+ }
3701
+ if (typeof this.supportedChannels !== 'undefined') {
3702
+ toReturn['supportedChannels'] = this.supportedChannels;
3703
+ }
3478
3704
  if (typeof this.namespaces !== 'undefined' && this.namespaces !== null) {
3479
3705
  toReturn['namespaces'] = 'toApiJson' in this.namespaces ? this.namespaces.toApiJson() : this.namespaces;
3480
3706
  }
3481
- if (typeof this.mcpId !== 'undefined') {
3482
- toReturn['mcpId'] = this.mcpId;
3483
- }
3484
3707
  if (typeof this.constraintFilters !== 'undefined' && this.constraintFilters !== null) {
3485
3708
  toReturn['constraintFilters'] = 'toApiJson' in this.constraintFilters ? this.constraintFilters.toApiJson() : this.constraintFilters;
3486
3709
  }
3710
+ if (typeof this.searchTerm !== 'undefined') {
3711
+ toReturn['searchTerm'] = this.searchTerm;
3712
+ }
3713
+ if (typeof this.sortOptions !== 'undefined' && this.sortOptions !== null) {
3714
+ toReturn['sortOptions'] = 'toApiJson' in this.sortOptions ? this.sortOptions.toApiJson() : this.sortOptions;
3715
+ }
3716
+ if (typeof this.omitOverrides !== 'undefined') {
3717
+ toReturn['omitOverrides'] = this.omitOverrides;
3718
+ }
3487
3719
  return toReturn;
3488
3720
  }
3489
3721
  }
3490
- class ListGoalsRequestFilters {
3722
+ class ListAssistantRequestFilters {
3491
3723
  static fromProto(proto) {
3492
- let m = new ListGoalsRequestFilters();
3724
+ let m = new ListAssistantRequestFilters();
3493
3725
  m = Object.assign(m, proto);
3494
3726
  if (proto.namespace) {
3495
3727
  m.namespace = Namespace.fromProto(proto.namespace);
3496
3728
  }
3497
3729
  if (proto.type) {
3498
- m.type = enumStringToValue(GoalType, proto.type);
3730
+ m.type = enumStringToValue(AssistantType, proto.type);
3499
3731
  }
3500
- if (proto.supportedChannels) {
3501
- m.supportedChannels = proto.supportedChannels.map((v) => enumStringToValue(GoalChannel, v));
3732
+ return m;
3733
+ }
3734
+ constructor(kwargs) {
3735
+ if (!kwargs) {
3736
+ return;
3737
+ }
3738
+ Object.assign(this, kwargs);
3739
+ }
3740
+ toApiJson() {
3741
+ const toReturn = {};
3742
+ if (typeof this.namespace !== 'undefined' && this.namespace !== null) {
3743
+ toReturn['namespace'] = 'toApiJson' in this.namespace ? this.namespace.toApiJson() : this.namespace;
3744
+ }
3745
+ if (typeof this.type !== 'undefined') {
3746
+ toReturn['type'] = this.type;
3747
+ }
3748
+ return toReturn;
3749
+ }
3750
+ }
3751
+ class ListFunctionRequestFilters {
3752
+ static fromProto(proto) {
3753
+ let m = new ListFunctionRequestFilters();
3754
+ m = Object.assign(m, proto);
3755
+ if (proto.namespace) {
3756
+ m.namespace = Namespace.fromProto(proto.namespace);
3502
3757
  }
3503
3758
  if (proto.namespaces) {
3504
3759
  m.namespaces = proto.namespaces.map(Namespace.fromProto);
@@ -3506,9 +3761,6 @@ class ListGoalsRequestFilters {
3506
3761
  if (proto.constraintFilters) {
3507
3762
  m.constraintFilters = proto.constraintFilters.map(ConstraintFilter.fromProto);
3508
3763
  }
3509
- if (proto.sortOptions) {
3510
- m.sortOptions = proto.sortOptions.map(ListGoalsRequestSortOptions.fromProto);
3511
- }
3512
3764
  return m;
3513
3765
  }
3514
3766
  constructor(kwargs) {
@@ -3522,39 +3774,27 @@ class ListGoalsRequestFilters {
3522
3774
  if (typeof this.namespace !== 'undefined' && this.namespace !== null) {
3523
3775
  toReturn['namespace'] = 'toApiJson' in this.namespace ? this.namespace.toApiJson() : this.namespace;
3524
3776
  }
3525
- if (typeof this.type !== 'undefined') {
3526
- toReturn['type'] = this.type;
3527
- }
3528
- if (typeof this.supportedChannels !== 'undefined') {
3529
- toReturn['supportedChannels'] = this.supportedChannels;
3530
- }
3531
3777
  if (typeof this.namespaces !== 'undefined' && this.namespaces !== null) {
3532
3778
  toReturn['namespaces'] = 'toApiJson' in this.namespaces ? this.namespaces.toApiJson() : this.namespaces;
3533
3779
  }
3780
+ if (typeof this.mcpId !== 'undefined') {
3781
+ toReturn['mcpId'] = this.mcpId;
3782
+ }
3534
3783
  if (typeof this.constraintFilters !== 'undefined' && this.constraintFilters !== null) {
3535
3784
  toReturn['constraintFilters'] = 'toApiJson' in this.constraintFilters ? this.constraintFilters.toApiJson() : this.constraintFilters;
3536
3785
  }
3537
- if (typeof this.searchTerm !== 'undefined') {
3538
- toReturn['searchTerm'] = this.searchTerm;
3539
- }
3540
- if (typeof this.sortOptions !== 'undefined' && this.sortOptions !== null) {
3541
- toReturn['sortOptions'] = 'toApiJson' in this.sortOptions ? this.sortOptions.toApiJson() : this.sortOptions;
3542
- }
3543
- if (typeof this.omitOverrides !== 'undefined') {
3544
- toReturn['omitOverrides'] = this.omitOverrides;
3545
- }
3546
3786
  return toReturn;
3547
3787
  }
3548
3788
  }
3549
- class ListAssistantRequestFilters {
3789
+ class ListAvailableModelsRequestFilters {
3550
3790
  static fromProto(proto) {
3551
- let m = new ListAssistantRequestFilters();
3791
+ let m = new ListAvailableModelsRequestFilters();
3552
3792
  m = Object.assign(m, proto);
3553
- if (proto.namespace) {
3554
- m.namespace = Namespace.fromProto(proto.namespace);
3793
+ if (proto.vendor) {
3794
+ m.vendor = proto.vendor.map((v) => enumStringToValue(ModelVendor, v));
3555
3795
  }
3556
3796
  if (proto.type) {
3557
- m.type = enumStringToValue(AssistantType, proto.type);
3797
+ m.type = proto.type.map((v) => enumStringToValue(ModelType, v));
3558
3798
  }
3559
3799
  return m;
3560
3800
  }
@@ -3566,8 +3806,8 @@ class ListAssistantRequestFilters {
3566
3806
  }
3567
3807
  toApiJson() {
3568
3808
  const toReturn = {};
3569
- if (typeof this.namespace !== 'undefined' && this.namespace !== null) {
3570
- toReturn['namespace'] = 'toApiJson' in this.namespace ? this.namespace.toApiJson() : this.namespace;
3809
+ if (typeof this.vendor !== 'undefined') {
3810
+ toReturn['vendor'] = this.vendor;
3571
3811
  }
3572
3812
  if (typeof this.type !== 'undefined') {
3573
3813
  toReturn['type'] = this.type;
@@ -3650,35 +3890,6 @@ class ListConnectionsRequestFilters {
3650
3890
  return toReturn;
3651
3891
  }
3652
3892
  }
3653
- class ListAvailableModelsRequestFilters {
3654
- static fromProto(proto) {
3655
- let m = new ListAvailableModelsRequestFilters();
3656
- m = Object.assign(m, proto);
3657
- if (proto.vendor) {
3658
- m.vendor = proto.vendor.map((v) => enumStringToValue(ModelVendor, v));
3659
- }
3660
- if (proto.type) {
3661
- m.type = proto.type.map((v) => enumStringToValue(ModelType, v));
3662
- }
3663
- return m;
3664
- }
3665
- constructor(kwargs) {
3666
- if (!kwargs) {
3667
- return;
3668
- }
3669
- Object.assign(this, kwargs);
3670
- }
3671
- toApiJson() {
3672
- const toReturn = {};
3673
- if (typeof this.vendor !== 'undefined') {
3674
- toReturn['vendor'] = this.vendor;
3675
- }
3676
- if (typeof this.type !== 'undefined') {
3677
- toReturn['type'] = this.type;
3678
- }
3679
- return toReturn;
3680
- }
3681
- }
3682
3893
  class GenerateChatAnswerRequest {
3683
3894
  static fromProto(proto) {
3684
3895
  let m = new GenerateChatAnswerRequest();
@@ -4981,10 +5192,13 @@ class ListTemplateVariablesResponse {
4981
5192
  return toReturn;
4982
5193
  }
4983
5194
  }
4984
- class UpsertAssistantRequestOptions {
5195
+ class GenerateChatAnswerRequestOptions {
4985
5196
  static fromProto(proto) {
4986
- let m = new UpsertAssistantRequestOptions();
5197
+ let m = new GenerateChatAnswerRequestOptions();
4987
5198
  m = Object.assign(m, proto);
5199
+ if (proto.maxTokens) {
5200
+ m.maxTokens = parseInt(proto.maxTokens, 10);
5201
+ }
4988
5202
  return m;
4989
5203
  }
4990
5204
  constructor(kwargs) {
@@ -4995,8 +5209,14 @@ class UpsertAssistantRequestOptions {
4995
5209
  }
4996
5210
  toApiJson() {
4997
5211
  const toReturn = {};
4998
- if (typeof this.applyDefaults !== 'undefined') {
4999
- toReturn['applyDefaults'] = this.applyDefaults;
5212
+ if (typeof this.includeAllCitations !== 'undefined') {
5213
+ toReturn['includeAllCitations'] = this.includeAllCitations;
5214
+ }
5215
+ if (typeof this.enableAsyncFunctions !== 'undefined') {
5216
+ toReturn['enableAsyncFunctions'] = this.enableAsyncFunctions;
5217
+ }
5218
+ if (typeof this.maxTokens !== 'undefined') {
5219
+ toReturn['maxTokens'] = this.maxTokens;
5000
5220
  }
5001
5221
  return toReturn;
5002
5222
  }
@@ -5021,9 +5241,9 @@ class GetMultiAssistantRequestOptions {
5021
5241
  return toReturn;
5022
5242
  }
5023
5243
  }
5024
- class CreatePromptModuleVersionRequestOptions {
5244
+ class UpsertAssistantRequestOptions {
5025
5245
  static fromProto(proto) {
5026
- let m = new CreatePromptModuleVersionRequestOptions();
5246
+ let m = new UpsertAssistantRequestOptions();
5027
5247
  m = Object.assign(m, proto);
5028
5248
  return m;
5029
5249
  }
@@ -5035,15 +5255,15 @@ class CreatePromptModuleVersionRequestOptions {
5035
5255
  }
5036
5256
  toApiJson() {
5037
5257
  const toReturn = {};
5038
- if (typeof this.shouldDeploy !== 'undefined') {
5039
- toReturn['shouldDeploy'] = this.shouldDeploy;
5258
+ if (typeof this.applyDefaults !== 'undefined') {
5259
+ toReturn['applyDefaults'] = this.applyDefaults;
5040
5260
  }
5041
5261
  return toReturn;
5042
5262
  }
5043
5263
  }
5044
- class CreateAssistantRequestOptions {
5264
+ class GetAssistantRequestOptions {
5045
5265
  static fromProto(proto) {
5046
- let m = new CreateAssistantRequestOptions();
5266
+ let m = new GetAssistantRequestOptions();
5047
5267
  m = Object.assign(m, proto);
5048
5268
  return m;
5049
5269
  }
@@ -5055,15 +5275,15 @@ class CreateAssistantRequestOptions {
5055
5275
  }
5056
5276
  toApiJson() {
5057
5277
  const toReturn = {};
5058
- if (typeof this.applyDefaults !== 'undefined') {
5059
- toReturn['applyDefaults'] = this.applyDefaults;
5278
+ if (typeof this.skipGoalsHydration !== 'undefined') {
5279
+ toReturn['skipGoalsHydration'] = this.skipGoalsHydration;
5060
5280
  }
5061
5281
  return toReturn;
5062
5282
  }
5063
5283
  }
5064
- class GetAssistantRequestOptions {
5284
+ class CreateAssistantRequestOptions {
5065
5285
  static fromProto(proto) {
5066
- let m = new GetAssistantRequestOptions();
5286
+ let m = new CreateAssistantRequestOptions();
5067
5287
  m = Object.assign(m, proto);
5068
5288
  return m;
5069
5289
  }
@@ -5075,18 +5295,18 @@ class GetAssistantRequestOptions {
5075
5295
  }
5076
5296
  toApiJson() {
5077
5297
  const toReturn = {};
5078
- if (typeof this.skipGoalsHydration !== 'undefined') {
5079
- toReturn['skipGoalsHydration'] = this.skipGoalsHydration;
5298
+ if (typeof this.applyDefaults !== 'undefined') {
5299
+ toReturn['applyDefaults'] = this.applyDefaults;
5080
5300
  }
5081
5301
  return toReturn;
5082
5302
  }
5083
5303
  }
5084
- class GenerateChatAnswerRequestOptions {
5304
+ class ExecuteFunctionRequestOptions {
5085
5305
  static fromProto(proto) {
5086
- let m = new GenerateChatAnswerRequestOptions();
5306
+ let m = new ExecuteFunctionRequestOptions();
5087
5307
  m = Object.assign(m, proto);
5088
- if (proto.maxTokens) {
5089
- m.maxTokens = parseInt(proto.maxTokens, 10);
5308
+ if (proto.contextInfo) {
5309
+ m.contextInfo = ContextInfo.fromProto(proto.contextInfo);
5090
5310
  }
5091
5311
  return m;
5092
5312
  }
@@ -5098,25 +5318,19 @@ class GenerateChatAnswerRequestOptions {
5098
5318
  }
5099
5319
  toApiJson() {
5100
5320
  const toReturn = {};
5101
- if (typeof this.includeAllCitations !== 'undefined') {
5102
- toReturn['includeAllCitations'] = this.includeAllCitations;
5103
- }
5104
- if (typeof this.enableAsyncFunctions !== 'undefined') {
5105
- toReturn['enableAsyncFunctions'] = this.enableAsyncFunctions;
5321
+ if (typeof this.skipComputeTemplateVariables !== 'undefined') {
5322
+ toReturn['skipComputeTemplateVariables'] = this.skipComputeTemplateVariables;
5106
5323
  }
5107
- if (typeof this.maxTokens !== 'undefined') {
5108
- toReturn['maxTokens'] = this.maxTokens;
5324
+ if (typeof this.contextInfo !== 'undefined' && this.contextInfo !== null) {
5325
+ toReturn['contextInfo'] = 'toApiJson' in this.contextInfo ? this.contextInfo.toApiJson() : this.contextInfo;
5109
5326
  }
5110
5327
  return toReturn;
5111
5328
  }
5112
5329
  }
5113
- class ExecuteFunctionRequestOptions {
5330
+ class CreatePromptModuleVersionRequestOptions {
5114
5331
  static fromProto(proto) {
5115
- let m = new ExecuteFunctionRequestOptions();
5332
+ let m = new CreatePromptModuleVersionRequestOptions();
5116
5333
  m = Object.assign(m, proto);
5117
- if (proto.contextInfo) {
5118
- m.contextInfo = ContextInfo.fromProto(proto.contextInfo);
5119
- }
5120
5334
  return m;
5121
5335
  }
5122
5336
  constructor(kwargs) {
@@ -5127,11 +5341,8 @@ class ExecuteFunctionRequestOptions {
5127
5341
  }
5128
5342
  toApiJson() {
5129
5343
  const toReturn = {};
5130
- if (typeof this.skipComputeTemplateVariables !== 'undefined') {
5131
- toReturn['skipComputeTemplateVariables'] = this.skipComputeTemplateVariables;
5132
- }
5133
- if (typeof this.contextInfo !== 'undefined' && this.contextInfo !== null) {
5134
- toReturn['contextInfo'] = 'toApiJson' in this.contextInfo ? this.contextInfo.toApiJson() : this.contextInfo;
5344
+ if (typeof this.shouldDeploy !== 'undefined') {
5345
+ toReturn['shouldDeploy'] = this.shouldDeploy;
5135
5346
  }
5136
5347
  return toReturn;
5137
5348
  }
@@ -5165,6 +5376,35 @@ class SetAssistantConnectionsRequest {
5165
5376
  return toReturn;
5166
5377
  }
5167
5378
  }
5379
+ class SetConnectionAssistantRequest {
5380
+ static fromProto(proto) {
5381
+ let m = new SetConnectionAssistantRequest();
5382
+ m = Object.assign(m, proto);
5383
+ if (proto.connectionKey) {
5384
+ m.connectionKey = ConnectionKey.fromProto(proto.connectionKey);
5385
+ }
5386
+ if (proto.assistantKey) {
5387
+ m.assistantKey = AssistantKey.fromProto(proto.assistantKey);
5388
+ }
5389
+ return m;
5390
+ }
5391
+ constructor(kwargs) {
5392
+ if (!kwargs) {
5393
+ return;
5394
+ }
5395
+ Object.assign(this, kwargs);
5396
+ }
5397
+ toApiJson() {
5398
+ const toReturn = {};
5399
+ if (typeof this.connectionKey !== 'undefined' && this.connectionKey !== null) {
5400
+ toReturn['connectionKey'] = 'toApiJson' in this.connectionKey ? this.connectionKey.toApiJson() : this.connectionKey;
5401
+ }
5402
+ if (typeof this.assistantKey !== 'undefined' && this.assistantKey !== null) {
5403
+ toReturn['assistantKey'] = 'toApiJson' in this.assistantKey ? this.assistantKey.toApiJson() : this.assistantKey;
5404
+ }
5405
+ return toReturn;
5406
+ }
5407
+ }
5168
5408
  class ListGoalsRequestSortOptions {
5169
5409
  static fromProto(proto) {
5170
5410
  let m = new ListGoalsRequestSortOptions();
@@ -5272,6 +5512,9 @@ class UpdatePromptModuleRequest {
5272
5512
  if (typeof this.description !== 'undefined') {
5273
5513
  toReturn['description'] = this.description;
5274
5514
  }
5515
+ if (typeof this.sourcePath !== 'undefined') {
5516
+ toReturn['sourcePath'] = this.sourcePath;
5517
+ }
5275
5518
  return toReturn;
5276
5519
  }
5277
5520
  }
@@ -5811,6 +6054,10 @@ class ConnectionApiService {
5811
6054
  return this.http.post(this._host + "/ai_assistants.v1alpha1.ConnectionService/ListConnections", request.toApiJson(), this.apiOptions())
5812
6055
  .pipe(map(resp => ListConnectionsResponse.fromProto(resp)));
5813
6056
  }
6057
+ setConnectionAssistant(r) {
6058
+ const request = (r.toApiJson) ? r : new SetConnectionAssistantRequest(r);
6059
+ return this.http.post(this._host + "/ai_assistants.v1alpha1.ConnectionService/SetConnectionAssistant", request.toApiJson(), { ...this.apiOptions(), observe: 'response' });
6060
+ }
5814
6061
  }
5815
6062
  ConnectionApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ConnectionApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
5816
6063
  ConnectionApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ConnectionApiService, providedIn: 'root' });
@@ -5894,6 +6141,16 @@ class FunctionApiService {
5894
6141
  return this.http.post(this._host + "/ai_assistants.v1alpha1.FunctionService/ValidateMCPs", request.toApiJson(), this.apiOptions())
5895
6142
  .pipe(map(resp => ValidateMCPsResponse.fromProto(resp)));
5896
6143
  }
6144
+ serializeFunction(r) {
6145
+ const request = (r.toApiJson) ? r : new SerializeFunctionRequest(r);
6146
+ return this.http.post(this._host + "/ai_assistants.v1alpha1.FunctionService/SerializeFunction", request.toApiJson(), this.apiOptions())
6147
+ .pipe(map(resp => SerializeFunctionResponse.fromProto(resp)));
6148
+ }
6149
+ serializeMcp(r) {
6150
+ const request = (r.toApiJson) ? r : new SerializeMCPRequest(r);
6151
+ return this.http.post(this._host + "/ai_assistants.v1alpha1.FunctionService/SerializeMCP", request.toApiJson(), this.apiOptions())
6152
+ .pipe(map(resp => SerializeMCPResponse.fromProto(resp)));
6153
+ }
5897
6154
  }
5898
6155
  FunctionApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FunctionApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
5899
6156
  FunctionApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FunctionApiService, providedIn: 'root' });
@@ -5964,6 +6221,11 @@ class GoalApiService {
5964
6221
  return this.http.post(this._host + "/ai_assistants.v1alpha1.GoalService/ValidateGoals", request.toApiJson(), this.apiOptions())
5965
6222
  .pipe(map(resp => ValidateGoalsResponse.fromProto(resp)));
5966
6223
  }
6224
+ serializeGoal(r) {
6225
+ const request = (r.toApiJson) ? r : new SerializeGoalRequest(r);
6226
+ return this.http.post(this._host + "/ai_assistants.v1alpha1.GoalService/SerializeGoal", request.toApiJson(), this.apiOptions())
6227
+ .pipe(map(resp => SerializeGoalResponse.fromProto(resp)));
6228
+ }
5967
6229
  }
5968
6230
  GoalApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: GoalApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
5969
6231
  GoalApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: GoalApiService, providedIn: 'root' });
@@ -6123,6 +6385,11 @@ class PromptModuleApiService {
6123
6385
  return this.http.post(this._host + "/ai_assistants.v1alpha1.PromptModuleService/ValidatePromptModuleVersions", request.toApiJson(), this.apiOptions())
6124
6386
  .pipe(map(resp => ValidatePromptModuleVersionsResponse.fromProto(resp)));
6125
6387
  }
6388
+ serializePromptModule(r) {
6389
+ const request = (r.toApiJson) ? r : new SerializePromptModuleRequest(r);
6390
+ return this.http.post(this._host + "/ai_assistants.v1alpha1.PromptModuleService/SerializePromptModule", request.toApiJson(), this.apiOptions())
6391
+ .pipe(map(resp => SerializePromptModuleResponse.fromProto(resp)));
6392
+ }
6126
6393
  }
6127
6394
  PromptModuleApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PromptModuleApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
6128
6395
  PromptModuleApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PromptModuleApiService, providedIn: 'root' });
@@ -6142,5 +6409,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
6142
6409
  * Generated bundle index. Do not edit.
6143
6410
  */
6144
6411
 
6145
- 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 };
6412
+ 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, VendorModel };
6146
6413
  //# sourceMappingURL=vendasta-ai-assistants.mjs.map