@vendasta/ai-assistants 0.45.1 → 0.47.1

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.
@@ -360,6 +360,32 @@ function enumStringToValue$b(enumRef, value) {
360
360
  }
361
361
  return enumRef[value];
362
362
  }
363
+ class DeleteMCPRequest {
364
+ static fromProto(proto) {
365
+ let m = new DeleteMCPRequest();
366
+ m = Object.assign(m, proto);
367
+ if (proto.namespace) {
368
+ m.namespace = Namespace.fromProto(proto.namespace);
369
+ }
370
+ return m;
371
+ }
372
+ constructor(kwargs) {
373
+ if (!kwargs) {
374
+ return;
375
+ }
376
+ Object.assign(this, kwargs);
377
+ }
378
+ toApiJson() {
379
+ const toReturn = {};
380
+ if (typeof this.namespace !== 'undefined' && this.namespace !== null) {
381
+ toReturn['namespace'] = 'toApiJson' in this.namespace ? this.namespace.toApiJson() : this.namespace;
382
+ }
383
+ if (typeof this.mcpId !== 'undefined') {
384
+ toReturn['mcpId'] = this.mcpId;
385
+ }
386
+ return toReturn;
387
+ }
388
+ }
363
389
  class ListMCPsRequestFilters {
364
390
  static fromProto(proto) {
365
391
  let m = new ListMCPsRequestFilters();
@@ -576,6 +602,9 @@ class FunctionParameter {
576
602
  if (typeof this.location !== 'undefined') {
577
603
  toReturn['location'] = this.location;
578
604
  }
605
+ if (typeof this.required !== 'undefined') {
606
+ toReturn['required'] = this.required;
607
+ }
579
608
  return toReturn;
580
609
  }
581
610
  }
@@ -705,6 +734,12 @@ class MCP {
705
734
  static fromProto(proto) {
706
735
  let m = new MCP();
707
736
  m = Object.assign(m, proto);
737
+ if (proto.namespace) {
738
+ m.namespace = Namespace.fromProto(proto.namespace);
739
+ }
740
+ if (proto.authStrategy) {
741
+ m.authStrategy = FunctionAuthStrategy.fromProto(proto.authStrategy);
742
+ }
708
743
  return m;
709
744
  }
710
745
  constructor(kwargs) {
@@ -721,6 +756,12 @@ class MCP {
721
756
  if (typeof this.url !== 'undefined') {
722
757
  toReturn['url'] = this.url;
723
758
  }
759
+ if (typeof this.namespace !== 'undefined' && this.namespace !== null) {
760
+ toReturn['namespace'] = 'toApiJson' in this.namespace ? this.namespace.toApiJson() : this.namespace;
761
+ }
762
+ if (typeof this.authStrategy !== 'undefined' && this.authStrategy !== null) {
763
+ toReturn['authStrategy'] = 'toApiJson' in this.authStrategy ? this.authStrategy.toApiJson() : this.authStrategy;
764
+ }
724
765
  return toReturn;
725
766
  }
726
767
  }
@@ -771,6 +812,9 @@ class UpsertMCPRequest {
771
812
  if (proto.functions) {
772
813
  m.functions = proto.functions.map(Function.fromProto);
773
814
  }
815
+ if (proto.authStrategy) {
816
+ m.authStrategy = FunctionAuthStrategy.fromProto(proto.authStrategy);
817
+ }
774
818
  return m;
775
819
  }
776
820
  constructor(kwargs) {
@@ -793,6 +837,9 @@ class UpsertMCPRequest {
793
837
  if (typeof this.functions !== 'undefined' && this.functions !== null) {
794
838
  toReturn['functions'] = 'toApiJson' in this.functions ? this.functions.toApiJson() : this.functions;
795
839
  }
840
+ if (typeof this.authStrategy !== 'undefined' && this.authStrategy !== null) {
841
+ toReturn['authStrategy'] = 'toApiJson' in this.authStrategy ? this.authStrategy.toApiJson() : this.authStrategy;
842
+ }
796
843
  return toReturn;
797
844
  }
798
845
  }
@@ -1670,6 +1717,32 @@ class ChatAnswerFunctionExecutionJobResult {
1670
1717
  return toReturn;
1671
1718
  }
1672
1719
  }
1720
+ class ChatContent {
1721
+ static fromProto(proto) {
1722
+ let m = new ChatContent();
1723
+ m = Object.assign(m, proto);
1724
+ if (proto.image) {
1725
+ m.image = ImageContent.fromProto(proto.image);
1726
+ }
1727
+ return m;
1728
+ }
1729
+ constructor(kwargs) {
1730
+ if (!kwargs) {
1731
+ return;
1732
+ }
1733
+ Object.assign(this, kwargs);
1734
+ }
1735
+ toApiJson() {
1736
+ const toReturn = {};
1737
+ if (typeof this.text !== 'undefined') {
1738
+ toReturn['text'] = this.text;
1739
+ }
1740
+ if (typeof this.image !== 'undefined' && this.image !== null) {
1741
+ toReturn['image'] = 'toApiJson' in this.image ? this.image.toApiJson() : this.image;
1742
+ }
1743
+ return toReturn;
1744
+ }
1745
+ }
1673
1746
  class ChatMessage {
1674
1747
  static fromProto(proto) {
1675
1748
  let m = new ChatMessage();
@@ -1677,6 +1750,9 @@ class ChatMessage {
1677
1750
  if (proto.role) {
1678
1751
  m.role = enumStringToValue$4(ChatMessageRole, proto.role);
1679
1752
  }
1753
+ if (proto.contentParts) {
1754
+ m.contentParts = proto.contentParts.map(ChatContent.fromProto);
1755
+ }
1680
1756
  return m;
1681
1757
  }
1682
1758
  constructor(kwargs) {
@@ -1693,6 +1769,9 @@ class ChatMessage {
1693
1769
  if (typeof this.content !== 'undefined') {
1694
1770
  toReturn['content'] = this.content;
1695
1771
  }
1772
+ if (typeof this.contentParts !== 'undefined' && this.contentParts !== null) {
1773
+ toReturn['contentParts'] = 'toApiJson' in this.contentParts ? this.contentParts.toApiJson() : this.contentParts;
1774
+ }
1696
1775
  return toReturn;
1697
1776
  }
1698
1777
  }
@@ -1766,6 +1845,32 @@ class ContextInfo {
1766
1845
  return toReturn;
1767
1846
  }
1768
1847
  }
1848
+ class ImageContent {
1849
+ static fromProto(proto) {
1850
+ let m = new ImageContent();
1851
+ m = Object.assign(m, proto);
1852
+ return m;
1853
+ }
1854
+ constructor(kwargs) {
1855
+ if (!kwargs) {
1856
+ return;
1857
+ }
1858
+ Object.assign(this, kwargs);
1859
+ }
1860
+ toApiJson() {
1861
+ const toReturn = {};
1862
+ if (typeof this.url !== 'undefined') {
1863
+ toReturn['url'] = this.url;
1864
+ }
1865
+ if (typeof this.mediaType !== 'undefined') {
1866
+ toReturn['mediaType'] = this.mediaType;
1867
+ }
1868
+ if (typeof this.altText !== 'undefined') {
1869
+ toReturn['altText'] = this.altText;
1870
+ }
1871
+ return toReturn;
1872
+ }
1873
+ }
1769
1874
 
1770
1875
  function enumStringToValue$3(enumRef, value) {
1771
1876
  if (typeof value === 'number') {
@@ -2903,15 +3008,15 @@ class ExecuteFunctionResponse {
2903
3008
  return toReturn;
2904
3009
  }
2905
3010
  }
2906
- class ListConnectionsRequestFilters {
3011
+ class ListFunctionRequestFilters {
2907
3012
  static fromProto(proto) {
2908
- let m = new ListConnectionsRequestFilters();
3013
+ let m = new ListFunctionRequestFilters();
2909
3014
  m = Object.assign(m, proto);
2910
3015
  if (proto.namespace) {
2911
3016
  m.namespace = Namespace.fromProto(proto.namespace);
2912
3017
  }
2913
- if (proto.assistantType) {
2914
- m.assistantType = enumStringToValue(AssistantType, proto.assistantType);
3018
+ if (proto.namespaces) {
3019
+ m.namespaces = proto.namespaces.map(Namespace.fromProto);
2915
3020
  }
2916
3021
  return m;
2917
3022
  }
@@ -2926,8 +3031,11 @@ class ListConnectionsRequestFilters {
2926
3031
  if (typeof this.namespace !== 'undefined' && this.namespace !== null) {
2927
3032
  toReturn['namespace'] = 'toApiJson' in this.namespace ? this.namespace.toApiJson() : this.namespace;
2928
3033
  }
2929
- if (typeof this.assistantType !== 'undefined') {
2930
- toReturn['assistantType'] = this.assistantType;
3034
+ if (typeof this.namespaces !== 'undefined' && this.namespaces !== null) {
3035
+ toReturn['namespaces'] = 'toApiJson' in this.namespaces ? this.namespaces.toApiJson() : this.namespaces;
3036
+ }
3037
+ if (typeof this.mcpId !== 'undefined') {
3038
+ toReturn['mcpId'] = this.mcpId;
2931
3039
  }
2932
3040
  return toReturn;
2933
3041
  }
@@ -2961,12 +3069,15 @@ class ListAvailableModelsRequestFilters {
2961
3069
  return toReturn;
2962
3070
  }
2963
3071
  }
2964
- class ListAllAssistantsAssociatedToConnectionRequestFilters {
3072
+ class ListConnectionsRequestFilters {
2965
3073
  static fromProto(proto) {
2966
- let m = new ListAllAssistantsAssociatedToConnectionRequestFilters();
3074
+ let m = new ListConnectionsRequestFilters();
2967
3075
  m = Object.assign(m, proto);
2968
- if (proto.type) {
2969
- m.type = enumStringToValue(AssistantType, proto.type);
3076
+ if (proto.namespace) {
3077
+ m.namespace = Namespace.fromProto(proto.namespace);
3078
+ }
3079
+ if (proto.assistantType) {
3080
+ m.assistantType = enumStringToValue(AssistantType, proto.assistantType);
2970
3081
  }
2971
3082
  return m;
2972
3083
  }
@@ -2978,28 +3089,22 @@ class ListAllAssistantsAssociatedToConnectionRequestFilters {
2978
3089
  }
2979
3090
  toApiJson() {
2980
3091
  const toReturn = {};
2981
- if (typeof this.type !== 'undefined') {
2982
- toReturn['type'] = this.type;
3092
+ if (typeof this.namespace !== 'undefined' && this.namespace !== null) {
3093
+ toReturn['namespace'] = 'toApiJson' in this.namespace ? this.namespace.toApiJson() : this.namespace;
3094
+ }
3095
+ if (typeof this.assistantType !== 'undefined') {
3096
+ toReturn['assistantType'] = this.assistantType;
2983
3097
  }
2984
3098
  return toReturn;
2985
3099
  }
2986
3100
  }
2987
- class ListGoalsRequestFilters {
3101
+ class ListPromptModuleRequestFilters {
2988
3102
  static fromProto(proto) {
2989
- let m = new ListGoalsRequestFilters();
3103
+ let m = new ListPromptModuleRequestFilters();
2990
3104
  m = Object.assign(m, proto);
2991
3105
  if (proto.namespace) {
2992
3106
  m.namespace = Namespace.fromProto(proto.namespace);
2993
3107
  }
2994
- if (proto.type) {
2995
- m.type = enumStringToValue(GoalType, proto.type);
2996
- }
2997
- if (proto.supportedChannels) {
2998
- m.supportedChannels = proto.supportedChannels.map((v) => enumStringToValue(GoalChannel, v));
2999
- }
3000
- if (proto.namespaces) {
3001
- m.namespaces = proto.namespaces.map(Namespace.fromProto);
3002
- }
3003
3108
  return m;
3004
3109
  }
3005
3110
  constructor(kwargs) {
@@ -3013,27 +3118,24 @@ class ListGoalsRequestFilters {
3013
3118
  if (typeof this.namespace !== 'undefined' && this.namespace !== null) {
3014
3119
  toReturn['namespace'] = 'toApiJson' in this.namespace ? this.namespace.toApiJson() : this.namespace;
3015
3120
  }
3016
- if (typeof this.type !== 'undefined') {
3017
- toReturn['type'] = this.type;
3018
- }
3019
- if (typeof this.supportedChannels !== 'undefined') {
3020
- toReturn['supportedChannels'] = this.supportedChannels;
3021
- }
3022
- if (typeof this.namespaces !== 'undefined' && this.namespaces !== null) {
3023
- toReturn['namespaces'] = 'toApiJson' in this.namespaces ? this.namespaces.toApiJson() : this.namespaces;
3024
- }
3025
3121
  return toReturn;
3026
3122
  }
3027
3123
  }
3028
- class ListAssistantRequestFilters {
3124
+ class ListGoalsRequestFilters {
3029
3125
  static fromProto(proto) {
3030
- let m = new ListAssistantRequestFilters();
3126
+ let m = new ListGoalsRequestFilters();
3031
3127
  m = Object.assign(m, proto);
3032
3128
  if (proto.namespace) {
3033
3129
  m.namespace = Namespace.fromProto(proto.namespace);
3034
3130
  }
3035
3131
  if (proto.type) {
3036
- m.type = enumStringToValue(AssistantType, proto.type);
3132
+ m.type = enumStringToValue(GoalType, proto.type);
3133
+ }
3134
+ if (proto.supportedChannels) {
3135
+ m.supportedChannels = proto.supportedChannels.map((v) => enumStringToValue(GoalChannel, v));
3136
+ }
3137
+ if (proto.namespaces) {
3138
+ m.namespaces = proto.namespaces.map(Namespace.fromProto);
3037
3139
  }
3038
3140
  return m;
3039
3141
  }
@@ -3051,18 +3153,21 @@ class ListAssistantRequestFilters {
3051
3153
  if (typeof this.type !== 'undefined') {
3052
3154
  toReturn['type'] = this.type;
3053
3155
  }
3156
+ if (typeof this.supportedChannels !== 'undefined') {
3157
+ toReturn['supportedChannels'] = this.supportedChannels;
3158
+ }
3159
+ if (typeof this.namespaces !== 'undefined' && this.namespaces !== null) {
3160
+ toReturn['namespaces'] = 'toApiJson' in this.namespaces ? this.namespaces.toApiJson() : this.namespaces;
3161
+ }
3054
3162
  return toReturn;
3055
3163
  }
3056
3164
  }
3057
- class ListFunctionRequestFilters {
3165
+ class ListAllAssistantsAssociatedToConnectionRequestFilters {
3058
3166
  static fromProto(proto) {
3059
- let m = new ListFunctionRequestFilters();
3167
+ let m = new ListAllAssistantsAssociatedToConnectionRequestFilters();
3060
3168
  m = Object.assign(m, proto);
3061
- if (proto.namespace) {
3062
- m.namespace = Namespace.fromProto(proto.namespace);
3063
- }
3064
- if (proto.namespaces) {
3065
- m.namespaces = proto.namespaces.map(Namespace.fromProto);
3169
+ if (proto.type) {
3170
+ m.type = enumStringToValue(AssistantType, proto.type);
3066
3171
  }
3067
3172
  return m;
3068
3173
  }
@@ -3074,22 +3179,22 @@ class ListFunctionRequestFilters {
3074
3179
  }
3075
3180
  toApiJson() {
3076
3181
  const toReturn = {};
3077
- if (typeof this.namespace !== 'undefined' && this.namespace !== null) {
3078
- toReturn['namespace'] = 'toApiJson' in this.namespace ? this.namespace.toApiJson() : this.namespace;
3079
- }
3080
- if (typeof this.namespaces !== 'undefined' && this.namespaces !== null) {
3081
- toReturn['namespaces'] = 'toApiJson' in this.namespaces ? this.namespaces.toApiJson() : this.namespaces;
3182
+ if (typeof this.type !== 'undefined') {
3183
+ toReturn['type'] = this.type;
3082
3184
  }
3083
3185
  return toReturn;
3084
3186
  }
3085
3187
  }
3086
- class ListPromptModuleRequestFilters {
3188
+ class ListAssistantRequestFilters {
3087
3189
  static fromProto(proto) {
3088
- let m = new ListPromptModuleRequestFilters();
3190
+ let m = new ListAssistantRequestFilters();
3089
3191
  m = Object.assign(m, proto);
3090
3192
  if (proto.namespace) {
3091
3193
  m.namespace = Namespace.fromProto(proto.namespace);
3092
3194
  }
3195
+ if (proto.type) {
3196
+ m.type = enumStringToValue(AssistantType, proto.type);
3197
+ }
3093
3198
  return m;
3094
3199
  }
3095
3200
  constructor(kwargs) {
@@ -3103,6 +3208,9 @@ class ListPromptModuleRequestFilters {
3103
3208
  if (typeof this.namespace !== 'undefined' && this.namespace !== null) {
3104
3209
  toReturn['namespace'] = 'toApiJson' in this.namespace ? this.namespace.toApiJson() : this.namespace;
3105
3210
  }
3211
+ if (typeof this.type !== 'undefined') {
3212
+ toReturn['type'] = this.type;
3213
+ }
3106
3214
  return toReturn;
3107
3215
  }
3108
3216
  }
@@ -3601,6 +3709,58 @@ class GetHydratedDeployedPromptModuleVersionResponse {
3601
3709
  return toReturn;
3602
3710
  }
3603
3711
  }
3712
+ class GetMultiAssistantRequest {
3713
+ static fromProto(proto) {
3714
+ let m = new GetMultiAssistantRequest();
3715
+ m = Object.assign(m, proto);
3716
+ if (proto.assistantKeys) {
3717
+ m.assistantKeys = proto.assistantKeys.map(AssistantKey.fromProto);
3718
+ }
3719
+ if (proto.options) {
3720
+ m.options = GetMultiAssistantRequestOptions.fromProto(proto.options);
3721
+ }
3722
+ return m;
3723
+ }
3724
+ constructor(kwargs) {
3725
+ if (!kwargs) {
3726
+ return;
3727
+ }
3728
+ Object.assign(this, kwargs);
3729
+ }
3730
+ toApiJson() {
3731
+ const toReturn = {};
3732
+ if (typeof this.assistantKeys !== 'undefined' && this.assistantKeys !== null) {
3733
+ toReturn['assistantKeys'] = 'toApiJson' in this.assistantKeys ? this.assistantKeys.toApiJson() : this.assistantKeys;
3734
+ }
3735
+ if (typeof this.options !== 'undefined' && this.options !== null) {
3736
+ toReturn['options'] = 'toApiJson' in this.options ? this.options.toApiJson() : this.options;
3737
+ }
3738
+ return toReturn;
3739
+ }
3740
+ }
3741
+ class GetMultiAssistantResponse {
3742
+ static fromProto(proto) {
3743
+ let m = new GetMultiAssistantResponse();
3744
+ m = Object.assign(m, proto);
3745
+ if (proto.assistants) {
3746
+ m.assistants = proto.assistants.map(Assistant.fromProto);
3747
+ }
3748
+ return m;
3749
+ }
3750
+ constructor(kwargs) {
3751
+ if (!kwargs) {
3752
+ return;
3753
+ }
3754
+ Object.assign(this, kwargs);
3755
+ }
3756
+ toApiJson() {
3757
+ const toReturn = {};
3758
+ if (typeof this.assistants !== 'undefined' && this.assistants !== null) {
3759
+ toReturn['assistants'] = 'toApiJson' in this.assistants ? this.assistants.toApiJson() : this.assistants;
3760
+ }
3761
+ return toReturn;
3762
+ }
3763
+ }
3604
3764
  class GetMultiDeployedPromptVersionRequest {
3605
3765
  static fromProto(proto) {
3606
3766
  let m = new GetMultiDeployedPromptVersionRequest();
@@ -4598,10 +4758,13 @@ class ListPromptVersionsResponse {
4598
4758
  return toReturn;
4599
4759
  }
4600
4760
  }
4601
- class UpsertAssistantRequestOptions {
4761
+ class GenerateChatAnswerRequestOptions {
4602
4762
  static fromProto(proto) {
4603
- let m = new UpsertAssistantRequestOptions();
4763
+ let m = new GenerateChatAnswerRequestOptions();
4604
4764
  m = Object.assign(m, proto);
4765
+ if (proto.maxTokens) {
4766
+ m.maxTokens = parseInt(proto.maxTokens, 10);
4767
+ }
4605
4768
  return m;
4606
4769
  }
4607
4770
  constructor(kwargs) {
@@ -4612,15 +4775,21 @@ class UpsertAssistantRequestOptions {
4612
4775
  }
4613
4776
  toApiJson() {
4614
4777
  const toReturn = {};
4615
- if (typeof this.applyDefaults !== 'undefined') {
4616
- toReturn['applyDefaults'] = this.applyDefaults;
4778
+ if (typeof this.includeAllCitations !== 'undefined') {
4779
+ toReturn['includeAllCitations'] = this.includeAllCitations;
4780
+ }
4781
+ if (typeof this.enableAsyncFunctions !== 'undefined') {
4782
+ toReturn['enableAsyncFunctions'] = this.enableAsyncFunctions;
4783
+ }
4784
+ if (typeof this.maxTokens !== 'undefined') {
4785
+ toReturn['maxTokens'] = this.maxTokens;
4617
4786
  }
4618
4787
  return toReturn;
4619
4788
  }
4620
4789
  }
4621
- class CreateAssistantRequestOptions {
4790
+ class GetMultiAssistantRequestOptions {
4622
4791
  static fromProto(proto) {
4623
- let m = new CreateAssistantRequestOptions();
4792
+ let m = new GetMultiAssistantRequestOptions();
4624
4793
  m = Object.assign(m, proto);
4625
4794
  return m;
4626
4795
  }
@@ -4632,8 +4801,8 @@ class CreateAssistantRequestOptions {
4632
4801
  }
4633
4802
  toApiJson() {
4634
4803
  const toReturn = {};
4635
- if (typeof this.applyDefaults !== 'undefined') {
4636
- toReturn['applyDefaults'] = this.applyDefaults;
4804
+ if (typeof this.skipGoalsHydration !== 'undefined') {
4805
+ toReturn['skipGoalsHydration'] = this.skipGoalsHydration;
4637
4806
  }
4638
4807
  return toReturn;
4639
4808
  }
@@ -4658,13 +4827,10 @@ class CreatePromptModuleVersionRequestOptions {
4658
4827
  return toReturn;
4659
4828
  }
4660
4829
  }
4661
- class GenerateChatAnswerRequestOptions {
4830
+ class CreateAssistantRequestOptions {
4662
4831
  static fromProto(proto) {
4663
- let m = new GenerateChatAnswerRequestOptions();
4832
+ let m = new CreateAssistantRequestOptions();
4664
4833
  m = Object.assign(m, proto);
4665
- if (proto.maxTokens) {
4666
- m.maxTokens = parseInt(proto.maxTokens, 10);
4667
- }
4668
4834
  return m;
4669
4835
  }
4670
4836
  constructor(kwargs) {
@@ -4675,14 +4841,28 @@ class GenerateChatAnswerRequestOptions {
4675
4841
  }
4676
4842
  toApiJson() {
4677
4843
  const toReturn = {};
4678
- if (typeof this.includeAllCitations !== 'undefined') {
4679
- toReturn['includeAllCitations'] = this.includeAllCitations;
4844
+ if (typeof this.applyDefaults !== 'undefined') {
4845
+ toReturn['applyDefaults'] = this.applyDefaults;
4680
4846
  }
4681
- if (typeof this.enableAsyncFunctions !== 'undefined') {
4682
- toReturn['enableAsyncFunctions'] = this.enableAsyncFunctions;
4847
+ return toReturn;
4848
+ }
4849
+ }
4850
+ class UpsertAssistantRequestOptions {
4851
+ static fromProto(proto) {
4852
+ let m = new UpsertAssistantRequestOptions();
4853
+ m = Object.assign(m, proto);
4854
+ return m;
4855
+ }
4856
+ constructor(kwargs) {
4857
+ if (!kwargs) {
4858
+ return;
4683
4859
  }
4684
- if (typeof this.maxTokens !== 'undefined') {
4685
- toReturn['maxTokens'] = this.maxTokens;
4860
+ Object.assign(this, kwargs);
4861
+ }
4862
+ toApiJson() {
4863
+ const toReturn = {};
4864
+ if (typeof this.applyDefaults !== 'undefined') {
4865
+ toReturn['applyDefaults'] = this.applyDefaults;
4686
4866
  }
4687
4867
  return toReturn;
4688
4868
  }
@@ -5014,6 +5194,11 @@ class AssistantApiService {
5014
5194
  return this.http.post(this._host + "/ai_assistants.v1alpha1.AssistantService/GetAssistant", request.toApiJson(), this.apiOptions())
5015
5195
  .pipe(map(resp => GetAssistantResponse.fromProto(resp)));
5016
5196
  }
5197
+ getMultiAssistant(r) {
5198
+ const request = (r.toApiJson) ? r : new GetMultiAssistantRequest(r);
5199
+ return this.http.post(this._host + "/ai_assistants.v1alpha1.AssistantService/GetMultiAssistant", request.toApiJson(), this.apiOptions())
5200
+ .pipe(map(resp => GetMultiAssistantResponse.fromProto(resp)));
5201
+ }
5017
5202
  buildDefaultAssistant(r) {
5018
5203
  const request = (r.toApiJson) ? r : new BuildDefaultAssistantRequest(r);
5019
5204
  return this.http.post(this._host + "/ai_assistants.v1alpha1.AssistantService/BuildDefaultAssistant", request.toApiJson(), this.apiOptions())
@@ -5168,6 +5353,10 @@ class FunctionApiService {
5168
5353
  return this.http.post(this._host + "/ai_assistants.v1alpha1.FunctionService/ListMCPs", request.toApiJson(), this.apiOptions())
5169
5354
  .pipe(map(resp => ListMCPsResponse.fromProto(resp)));
5170
5355
  }
5356
+ deleteMcp(r) {
5357
+ const request = (r.toApiJson) ? r : new DeleteMCPRequest(r);
5358
+ return this.http.post(this._host + "/ai_assistants.v1alpha1.FunctionService/DeleteMCP", request.toApiJson(), Object.assign(Object.assign({}, this.apiOptions()), { observe: 'response' }));
5359
+ }
5171
5360
  }
5172
5361
  FunctionApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FunctionApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
5173
5362
  FunctionApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FunctionApiService, providedIn: 'root' });
@@ -5470,5 +5659,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
5470
5659
  * Generated bundle index. Do not edit.
5471
5660
  */
5472
5661
 
5473
- export { Access, Assistant, AssistantApiService, AssistantKey, AssistantType, BuildDefaultAssistantRequest, BuildDefaultAssistantResponse, CancelTestRunRequest, ChatAnswerFunctionExecutionJob, ChatAnswerFunctionExecutionJobResult, ChatAnswerFunctionExecutionJobStatus, ChatChannel, ChatMessage, ChatMessageRole, ChatUserInfo, Config, ConfigInboxConfig, ConfigVoiceConfig, ConfigurableGoal, Connection, ConnectionApiService, ConnectionKey, ContextInfo, CreateAssistantRequest, CreateAssistantRequestOptions, CreateAssistantResponse, CreateGoalRequest, CreateGoalResponse, CreatePromptModuleRequest, CreatePromptModuleResponse, CreatePromptModuleVersionRequest, CreatePromptModuleVersionRequestOptions, CreatePromptRequest, DeepgramConfig, DeleteAssistantRequest, DeleteConnectionRequest, DeleteFunctionRequest, DeleteGoalRequest, DeletePromptModuleRequest, DeletePromptRequest, DeleteTestCasesRequest, DeployPromptModuleRequest, DeployPromptRequest, ElevenLabsConfig, ExecuteFunctionRequest, ExecuteFunctionResponse, FieldMask, Function, FunctionApiService, FunctionAuthStrategy, FunctionAuthStrategyPlatformManagedFunctionAuthStrategy, FunctionAuthStrategyUnspecifiedFunctionAuthStrategy, FunctionHeader, FunctionKey, FunctionParameter, FunctionParameterParameterLocation, GenerateChatAnswerRequest, GenerateChatAnswerRequestOptions, GenerateChatAnswerResponse, GetAssistantRequest, GetAssistantRequestOptions, GetAssistantResponse, GetChatAnswerFunctionExecutionJobRequest, GetChatAnswerFunctionExecutionJobResponse, GetConnectionRequest, GetConnectionResponse, GetDeployedPromptModuleVersionRequest, GetDeployedPromptModuleVersionResponse, GetDeployedPromptVersionRequest, GetDeployedPromptVersionResponse, GetFunctionRequest, GetFunctionResponse, GetGoalRequest, GetGoalResponse, GetHydratedDeployedPromptModuleVersionRequest, GetHydratedDeployedPromptModuleVersionResponse, GetMultiDeployedPromptVersionRequest, GetMultiDeployedPromptVersionResponse, GetMultiFunctionRequest, GetMultiFunctionResponse, GetMultiGoalRequest, GetMultiGoalResponse, GetMultiHydratedDeployedPromptModuleVersionRequest, GetMultiHydratedDeployedPromptModuleVersionResponse, GetPromptModuleRequest, GetPromptModuleResponse, GetPromptModuleVersionRequest, GetPromptModuleVersionResponse, GetPromptRequest, GetPromptResponse, GetPromptVersionRequest, GetPromptVersionResponse, GetTestRunRequest, GetTestRunResponse, Goal, GoalApiService, GoalChannel, GoalKey, GoalType, GoalsDisabledForAccountGroupRequest, GoalsDisabledForAccountGroupResponse, HostService, IntegrationTestApiService, KeyValuePair, ListAllAssistantsAssociatedToConnectionRequest, ListAllAssistantsAssociatedToConnectionRequestFilters, ListAllAssistantsAssociatedToConnectionResponse, ListAssistantRequest, ListAssistantRequestFilters, ListAssistantResponse, ListAvailableModelsRequest, ListAvailableModelsRequestFilters, ListAvailableModelsResponse, ListConnectionsRequest, ListConnectionsRequestFilters, ListConnectionsResponse, ListFunctionRequest, ListFunctionRequestFilters, ListFunctionResponse, ListGoalsRequest, ListGoalsRequestFilters, ListGoalsResponse, ListMCPToolsRequest, ListMCPToolsResponse, ListMCPsRequest, ListMCPsRequestFilters, ListMCPsResponse, ListPromptModuleRequest, ListPromptModuleRequestFilters, ListPromptModuleResponse, ListPromptModuleVersionsRequest, ListPromptModuleVersionsResponse, ListPromptRequest, ListPromptResponse, ListPromptVersionsRequest, ListPromptVersionsResponse, ListTestCasesByAssistantRequest, ListTestCasesByAssistantResponse, ListTestRunsByAssistantRequest, ListTestRunsByAssistantResponse, MCP, MCPOptions, Model, ModelConfig, ModelType, ModelVendor, Namespace, NamespaceAccountGroupNamespace, NamespaceGlobalNamespace, NamespacePartnerNamespace, NamespaceSystemNamespace, OpenAIRealtimeConfig, OpenAIRealtimeConfigTurnDetection, PagedRequestOptions, PagedResponseMetadata, Prompt, PromptApiService, PromptModule, PromptModuleApiService, PromptModuleKey, PromptModuleVersion, PromptVersion, RunTestsRequest, RunTestsResponse, SetAssistantConnectionsRequest, SetAssistantConnectionsRequestConnectionState, SortDirection, SortOptions, TestCase, TestResult, TestResultCitation, TestRun, UpdateAssistantRequest, UpdateGoalRequest, UpdatePromptModuleRequest, UpdatePromptRequest, UpsertAssistantRequest, UpsertAssistantRequestOptions, UpsertAssistantResponse, UpsertConnectionRequest, UpsertFunctionRequest, UpsertGoalRequest, UpsertMCPRequest, UpsertTestCasesRequest, VendorModel };
5662
+ export { Access, Assistant, AssistantApiService, AssistantKey, AssistantType, BuildDefaultAssistantRequest, BuildDefaultAssistantResponse, CancelTestRunRequest, ChatAnswerFunctionExecutionJob, ChatAnswerFunctionExecutionJobResult, ChatAnswerFunctionExecutionJobStatus, ChatChannel, ChatContent, ChatMessage, ChatMessageRole, ChatUserInfo, Config, ConfigInboxConfig, ConfigVoiceConfig, ConfigurableGoal, Connection, ConnectionApiService, ConnectionKey, ContextInfo, CreateAssistantRequest, CreateAssistantRequestOptions, CreateAssistantResponse, CreateGoalRequest, CreateGoalResponse, CreatePromptModuleRequest, CreatePromptModuleResponse, CreatePromptModuleVersionRequest, CreatePromptModuleVersionRequestOptions, CreatePromptRequest, DeepgramConfig, DeleteAssistantRequest, DeleteConnectionRequest, DeleteFunctionRequest, DeleteGoalRequest, DeleteMCPRequest, DeletePromptModuleRequest, DeletePromptRequest, DeleteTestCasesRequest, DeployPromptModuleRequest, DeployPromptRequest, ElevenLabsConfig, ExecuteFunctionRequest, ExecuteFunctionResponse, FieldMask, Function, FunctionApiService, FunctionAuthStrategy, FunctionAuthStrategyPlatformManagedFunctionAuthStrategy, FunctionAuthStrategyUnspecifiedFunctionAuthStrategy, FunctionHeader, FunctionKey, FunctionParameter, FunctionParameterParameterLocation, GenerateChatAnswerRequest, GenerateChatAnswerRequestOptions, GenerateChatAnswerResponse, GetAssistantRequest, GetAssistantRequestOptions, GetAssistantResponse, GetChatAnswerFunctionExecutionJobRequest, GetChatAnswerFunctionExecutionJobResponse, GetConnectionRequest, GetConnectionResponse, GetDeployedPromptModuleVersionRequest, GetDeployedPromptModuleVersionResponse, GetDeployedPromptVersionRequest, GetDeployedPromptVersionResponse, GetFunctionRequest, GetFunctionResponse, GetGoalRequest, GetGoalResponse, GetHydratedDeployedPromptModuleVersionRequest, GetHydratedDeployedPromptModuleVersionResponse, GetMultiAssistantRequest, GetMultiAssistantRequestOptions, GetMultiAssistantResponse, GetMultiDeployedPromptVersionRequest, GetMultiDeployedPromptVersionResponse, GetMultiFunctionRequest, GetMultiFunctionResponse, GetMultiGoalRequest, GetMultiGoalResponse, GetMultiHydratedDeployedPromptModuleVersionRequest, GetMultiHydratedDeployedPromptModuleVersionResponse, GetPromptModuleRequest, GetPromptModuleResponse, GetPromptModuleVersionRequest, GetPromptModuleVersionResponse, GetPromptRequest, GetPromptResponse, GetPromptVersionRequest, GetPromptVersionResponse, 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, ListGoalsResponse, ListMCPToolsRequest, ListMCPToolsResponse, ListMCPsRequest, ListMCPsRequestFilters, ListMCPsResponse, ListPromptModuleRequest, ListPromptModuleRequestFilters, ListPromptModuleResponse, ListPromptModuleVersionsRequest, ListPromptModuleVersionsResponse, ListPromptRequest, ListPromptResponse, ListPromptVersionsRequest, ListPromptVersionsResponse, ListTestCasesByAssistantRequest, ListTestCasesByAssistantResponse, ListTestRunsByAssistantRequest, ListTestRunsByAssistantResponse, MCP, MCPOptions, Model, ModelConfig, ModelType, ModelVendor, Namespace, NamespaceAccountGroupNamespace, NamespaceGlobalNamespace, NamespacePartnerNamespace, NamespaceSystemNamespace, OpenAIRealtimeConfig, OpenAIRealtimeConfigTurnDetection, PagedRequestOptions, PagedResponseMetadata, Prompt, PromptApiService, PromptModule, PromptModuleApiService, PromptModuleKey, PromptModuleVersion, PromptVersion, RunTestsRequest, RunTestsResponse, SetAssistantConnectionsRequest, SetAssistantConnectionsRequestConnectionState, SortDirection, SortOptions, TestCase, TestResult, TestResultCitation, TestRun, UpdateAssistantRequest, UpdateGoalRequest, UpdatePromptModuleRequest, UpdatePromptRequest, UpsertAssistantRequest, UpsertAssistantRequestOptions, UpsertAssistantResponse, UpsertConnectionRequest, UpsertFunctionRequest, UpsertGoalRequest, UpsertMCPRequest, UpsertTestCasesRequest, VendorModel };
5474
5663
  //# sourceMappingURL=vendasta-ai-assistants.mjs.map