@vendasta/ai-assistants 0.45.1 → 0.46.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/assistant.api.service.mjs +7 -2
- package/esm2020/lib/_internal/interfaces/api.interface.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/index.mjs +1 -1
- package/esm2020/lib/_internal/objects/api.mjs +159 -87
- package/esm2020/lib/_internal/objects/index.mjs +2 -2
- package/fesm2015/vendasta-ai-assistants.mjs +164 -87
- package/fesm2015/vendasta-ai-assistants.mjs.map +1 -1
- package/fesm2020/vendasta-ai-assistants.mjs +164 -87
- package/fesm2020/vendasta-ai-assistants.mjs.map +1 -1
- package/lib/_internal/assistant.api.service.d.ts +3 -2
- package/lib/_internal/interfaces/api.interface.d.ts +26 -16
- package/lib/_internal/interfaces/index.d.ts +1 -1
- package/lib/_internal/objects/api.d.ts +56 -37
- package/lib/_internal/objects/index.d.ts +1 -1
- package/package.json +1 -1
|
@@ -2902,15 +2902,21 @@ class ExecuteFunctionResponse {
|
|
|
2902
2902
|
return toReturn;
|
|
2903
2903
|
}
|
|
2904
2904
|
}
|
|
2905
|
-
class
|
|
2905
|
+
class ListGoalsRequestFilters {
|
|
2906
2906
|
static fromProto(proto) {
|
|
2907
|
-
let m = new
|
|
2907
|
+
let m = new ListGoalsRequestFilters();
|
|
2908
2908
|
m = Object.assign(m, proto);
|
|
2909
2909
|
if (proto.namespace) {
|
|
2910
2910
|
m.namespace = Namespace.fromProto(proto.namespace);
|
|
2911
2911
|
}
|
|
2912
|
-
if (proto.
|
|
2913
|
-
m.
|
|
2912
|
+
if (proto.type) {
|
|
2913
|
+
m.type = enumStringToValue(GoalType, proto.type);
|
|
2914
|
+
}
|
|
2915
|
+
if (proto.supportedChannels) {
|
|
2916
|
+
m.supportedChannels = proto.supportedChannels.map((v) => enumStringToValue(GoalChannel, v));
|
|
2917
|
+
}
|
|
2918
|
+
if (proto.namespaces) {
|
|
2919
|
+
m.namespaces = proto.namespaces.map(Namespace.fromProto);
|
|
2914
2920
|
}
|
|
2915
2921
|
return m;
|
|
2916
2922
|
}
|
|
@@ -2925,21 +2931,27 @@ class ListConnectionsRequestFilters {
|
|
|
2925
2931
|
if (typeof this.namespace !== 'undefined' && this.namespace !== null) {
|
|
2926
2932
|
toReturn['namespace'] = 'toApiJson' in this.namespace ? this.namespace.toApiJson() : this.namespace;
|
|
2927
2933
|
}
|
|
2928
|
-
if (typeof this.
|
|
2929
|
-
toReturn['
|
|
2934
|
+
if (typeof this.type !== 'undefined') {
|
|
2935
|
+
toReturn['type'] = this.type;
|
|
2936
|
+
}
|
|
2937
|
+
if (typeof this.supportedChannels !== 'undefined') {
|
|
2938
|
+
toReturn['supportedChannels'] = this.supportedChannels;
|
|
2939
|
+
}
|
|
2940
|
+
if (typeof this.namespaces !== 'undefined' && this.namespaces !== null) {
|
|
2941
|
+
toReturn['namespaces'] = 'toApiJson' in this.namespaces ? this.namespaces.toApiJson() : this.namespaces;
|
|
2930
2942
|
}
|
|
2931
2943
|
return toReturn;
|
|
2932
2944
|
}
|
|
2933
2945
|
}
|
|
2934
|
-
class
|
|
2946
|
+
class ListFunctionRequestFilters {
|
|
2935
2947
|
static fromProto(proto) {
|
|
2936
|
-
let m = new
|
|
2948
|
+
let m = new ListFunctionRequestFilters();
|
|
2937
2949
|
m = Object.assign(m, proto);
|
|
2938
|
-
if (proto.
|
|
2939
|
-
m.
|
|
2950
|
+
if (proto.namespace) {
|
|
2951
|
+
m.namespace = Namespace.fromProto(proto.namespace);
|
|
2940
2952
|
}
|
|
2941
|
-
if (proto.
|
|
2942
|
-
m.
|
|
2953
|
+
if (proto.namespaces) {
|
|
2954
|
+
m.namespaces = proto.namespaces.map(Namespace.fromProto);
|
|
2943
2955
|
}
|
|
2944
2956
|
return m;
|
|
2945
2957
|
}
|
|
@@ -2951,21 +2963,24 @@ class ListAvailableModelsRequestFilters {
|
|
|
2951
2963
|
}
|
|
2952
2964
|
toApiJson() {
|
|
2953
2965
|
const toReturn = {};
|
|
2954
|
-
if (typeof this.
|
|
2955
|
-
toReturn['
|
|
2966
|
+
if (typeof this.namespace !== 'undefined' && this.namespace !== null) {
|
|
2967
|
+
toReturn['namespace'] = 'toApiJson' in this.namespace ? this.namespace.toApiJson() : this.namespace;
|
|
2956
2968
|
}
|
|
2957
|
-
if (typeof this.
|
|
2958
|
-
toReturn['
|
|
2969
|
+
if (typeof this.namespaces !== 'undefined' && this.namespaces !== null) {
|
|
2970
|
+
toReturn['namespaces'] = 'toApiJson' in this.namespaces ? this.namespaces.toApiJson() : this.namespaces;
|
|
2959
2971
|
}
|
|
2960
2972
|
return toReturn;
|
|
2961
2973
|
}
|
|
2962
2974
|
}
|
|
2963
|
-
class
|
|
2975
|
+
class ListConnectionsRequestFilters {
|
|
2964
2976
|
static fromProto(proto) {
|
|
2965
|
-
let m = new
|
|
2977
|
+
let m = new ListConnectionsRequestFilters();
|
|
2966
2978
|
m = Object.assign(m, proto);
|
|
2967
|
-
if (proto.
|
|
2968
|
-
m.
|
|
2979
|
+
if (proto.namespace) {
|
|
2980
|
+
m.namespace = Namespace.fromProto(proto.namespace);
|
|
2981
|
+
}
|
|
2982
|
+
if (proto.assistantType) {
|
|
2983
|
+
m.assistantType = enumStringToValue(AssistantType, proto.assistantType);
|
|
2969
2984
|
}
|
|
2970
2985
|
return m;
|
|
2971
2986
|
}
|
|
@@ -2977,27 +2992,24 @@ class ListAllAssistantsAssociatedToConnectionRequestFilters {
|
|
|
2977
2992
|
}
|
|
2978
2993
|
toApiJson() {
|
|
2979
2994
|
const toReturn = {};
|
|
2980
|
-
if (typeof this.
|
|
2981
|
-
toReturn['
|
|
2995
|
+
if (typeof this.namespace !== 'undefined' && this.namespace !== null) {
|
|
2996
|
+
toReturn['namespace'] = 'toApiJson' in this.namespace ? this.namespace.toApiJson() : this.namespace;
|
|
2997
|
+
}
|
|
2998
|
+
if (typeof this.assistantType !== 'undefined') {
|
|
2999
|
+
toReturn['assistantType'] = this.assistantType;
|
|
2982
3000
|
}
|
|
2983
3001
|
return toReturn;
|
|
2984
3002
|
}
|
|
2985
3003
|
}
|
|
2986
|
-
class
|
|
3004
|
+
class ListAvailableModelsRequestFilters {
|
|
2987
3005
|
static fromProto(proto) {
|
|
2988
|
-
let m = new
|
|
3006
|
+
let m = new ListAvailableModelsRequestFilters();
|
|
2989
3007
|
m = Object.assign(m, proto);
|
|
2990
|
-
if (proto.
|
|
2991
|
-
m.
|
|
3008
|
+
if (proto.vendor) {
|
|
3009
|
+
m.vendor = proto.vendor.map((v) => enumStringToValue(ModelVendor, v));
|
|
2992
3010
|
}
|
|
2993
3011
|
if (proto.type) {
|
|
2994
|
-
m.type = enumStringToValue(
|
|
2995
|
-
}
|
|
2996
|
-
if (proto.supportedChannels) {
|
|
2997
|
-
m.supportedChannels = proto.supportedChannels.map((v) => enumStringToValue(GoalChannel, v));
|
|
2998
|
-
}
|
|
2999
|
-
if (proto.namespaces) {
|
|
3000
|
-
m.namespaces = proto.namespaces.map(Namespace.fromProto);
|
|
3012
|
+
m.type = proto.type.map((v) => enumStringToValue(ModelType, v));
|
|
3001
3013
|
}
|
|
3002
3014
|
return m;
|
|
3003
3015
|
}
|
|
@@ -3009,31 +3021,22 @@ class ListGoalsRequestFilters {
|
|
|
3009
3021
|
}
|
|
3010
3022
|
toApiJson() {
|
|
3011
3023
|
const toReturn = {};
|
|
3012
|
-
if (typeof this.
|
|
3013
|
-
toReturn['
|
|
3024
|
+
if (typeof this.vendor !== 'undefined') {
|
|
3025
|
+
toReturn['vendor'] = this.vendor;
|
|
3014
3026
|
}
|
|
3015
3027
|
if (typeof this.type !== 'undefined') {
|
|
3016
3028
|
toReturn['type'] = this.type;
|
|
3017
3029
|
}
|
|
3018
|
-
if (typeof this.supportedChannels !== 'undefined') {
|
|
3019
|
-
toReturn['supportedChannels'] = this.supportedChannels;
|
|
3020
|
-
}
|
|
3021
|
-
if (typeof this.namespaces !== 'undefined' && this.namespaces !== null) {
|
|
3022
|
-
toReturn['namespaces'] = 'toApiJson' in this.namespaces ? this.namespaces.toApiJson() : this.namespaces;
|
|
3023
|
-
}
|
|
3024
3030
|
return toReturn;
|
|
3025
3031
|
}
|
|
3026
3032
|
}
|
|
3027
|
-
class
|
|
3033
|
+
class ListPromptModuleRequestFilters {
|
|
3028
3034
|
static fromProto(proto) {
|
|
3029
|
-
let m = new
|
|
3035
|
+
let m = new ListPromptModuleRequestFilters();
|
|
3030
3036
|
m = Object.assign(m, proto);
|
|
3031
3037
|
if (proto.namespace) {
|
|
3032
3038
|
m.namespace = Namespace.fromProto(proto.namespace);
|
|
3033
3039
|
}
|
|
3034
|
-
if (proto.type) {
|
|
3035
|
-
m.type = enumStringToValue(AssistantType, proto.type);
|
|
3036
|
-
}
|
|
3037
3040
|
return m;
|
|
3038
3041
|
}
|
|
3039
3042
|
constructor(kwargs) {
|
|
@@ -3047,21 +3050,18 @@ class ListAssistantRequestFilters {
|
|
|
3047
3050
|
if (typeof this.namespace !== 'undefined' && this.namespace !== null) {
|
|
3048
3051
|
toReturn['namespace'] = 'toApiJson' in this.namespace ? this.namespace.toApiJson() : this.namespace;
|
|
3049
3052
|
}
|
|
3050
|
-
if (typeof this.type !== 'undefined') {
|
|
3051
|
-
toReturn['type'] = this.type;
|
|
3052
|
-
}
|
|
3053
3053
|
return toReturn;
|
|
3054
3054
|
}
|
|
3055
3055
|
}
|
|
3056
|
-
class
|
|
3056
|
+
class ListAssistantRequestFilters {
|
|
3057
3057
|
static fromProto(proto) {
|
|
3058
|
-
let m = new
|
|
3058
|
+
let m = new ListAssistantRequestFilters();
|
|
3059
3059
|
m = Object.assign(m, proto);
|
|
3060
3060
|
if (proto.namespace) {
|
|
3061
3061
|
m.namespace = Namespace.fromProto(proto.namespace);
|
|
3062
3062
|
}
|
|
3063
|
-
if (proto.
|
|
3064
|
-
m.
|
|
3063
|
+
if (proto.type) {
|
|
3064
|
+
m.type = enumStringToValue(AssistantType, proto.type);
|
|
3065
3065
|
}
|
|
3066
3066
|
return m;
|
|
3067
3067
|
}
|
|
@@ -3076,18 +3076,18 @@ class ListFunctionRequestFilters {
|
|
|
3076
3076
|
if (typeof this.namespace !== 'undefined' && this.namespace !== null) {
|
|
3077
3077
|
toReturn['namespace'] = 'toApiJson' in this.namespace ? this.namespace.toApiJson() : this.namespace;
|
|
3078
3078
|
}
|
|
3079
|
-
if (typeof this.
|
|
3080
|
-
toReturn['
|
|
3079
|
+
if (typeof this.type !== 'undefined') {
|
|
3080
|
+
toReturn['type'] = this.type;
|
|
3081
3081
|
}
|
|
3082
3082
|
return toReturn;
|
|
3083
3083
|
}
|
|
3084
3084
|
}
|
|
3085
|
-
class
|
|
3085
|
+
class ListAllAssistantsAssociatedToConnectionRequestFilters {
|
|
3086
3086
|
static fromProto(proto) {
|
|
3087
|
-
let m = new
|
|
3087
|
+
let m = new ListAllAssistantsAssociatedToConnectionRequestFilters();
|
|
3088
3088
|
m = Object.assign(m, proto);
|
|
3089
|
-
if (proto.
|
|
3090
|
-
m.
|
|
3089
|
+
if (proto.type) {
|
|
3090
|
+
m.type = enumStringToValue(AssistantType, proto.type);
|
|
3091
3091
|
}
|
|
3092
3092
|
return m;
|
|
3093
3093
|
}
|
|
@@ -3099,8 +3099,8 @@ class ListPromptModuleRequestFilters {
|
|
|
3099
3099
|
}
|
|
3100
3100
|
toApiJson() {
|
|
3101
3101
|
const toReturn = {};
|
|
3102
|
-
if (typeof this.
|
|
3103
|
-
toReturn['
|
|
3102
|
+
if (typeof this.type !== 'undefined') {
|
|
3103
|
+
toReturn['type'] = this.type;
|
|
3104
3104
|
}
|
|
3105
3105
|
return toReturn;
|
|
3106
3106
|
}
|
|
@@ -3600,6 +3600,58 @@ class GetHydratedDeployedPromptModuleVersionResponse {
|
|
|
3600
3600
|
return toReturn;
|
|
3601
3601
|
}
|
|
3602
3602
|
}
|
|
3603
|
+
class GetMultiAssistantRequest {
|
|
3604
|
+
static fromProto(proto) {
|
|
3605
|
+
let m = new GetMultiAssistantRequest();
|
|
3606
|
+
m = Object.assign(m, proto);
|
|
3607
|
+
if (proto.assistantKeys) {
|
|
3608
|
+
m.assistantKeys = proto.assistantKeys.map(AssistantKey.fromProto);
|
|
3609
|
+
}
|
|
3610
|
+
if (proto.options) {
|
|
3611
|
+
m.options = GetMultiAssistantRequestOptions.fromProto(proto.options);
|
|
3612
|
+
}
|
|
3613
|
+
return m;
|
|
3614
|
+
}
|
|
3615
|
+
constructor(kwargs) {
|
|
3616
|
+
if (!kwargs) {
|
|
3617
|
+
return;
|
|
3618
|
+
}
|
|
3619
|
+
Object.assign(this, kwargs);
|
|
3620
|
+
}
|
|
3621
|
+
toApiJson() {
|
|
3622
|
+
const toReturn = {};
|
|
3623
|
+
if (typeof this.assistantKeys !== 'undefined' && this.assistantKeys !== null) {
|
|
3624
|
+
toReturn['assistantKeys'] = 'toApiJson' in this.assistantKeys ? this.assistantKeys.toApiJson() : this.assistantKeys;
|
|
3625
|
+
}
|
|
3626
|
+
if (typeof this.options !== 'undefined' && this.options !== null) {
|
|
3627
|
+
toReturn['options'] = 'toApiJson' in this.options ? this.options.toApiJson() : this.options;
|
|
3628
|
+
}
|
|
3629
|
+
return toReturn;
|
|
3630
|
+
}
|
|
3631
|
+
}
|
|
3632
|
+
class GetMultiAssistantResponse {
|
|
3633
|
+
static fromProto(proto) {
|
|
3634
|
+
let m = new GetMultiAssistantResponse();
|
|
3635
|
+
m = Object.assign(m, proto);
|
|
3636
|
+
if (proto.assistants) {
|
|
3637
|
+
m.assistants = proto.assistants.map(Assistant.fromProto);
|
|
3638
|
+
}
|
|
3639
|
+
return m;
|
|
3640
|
+
}
|
|
3641
|
+
constructor(kwargs) {
|
|
3642
|
+
if (!kwargs) {
|
|
3643
|
+
return;
|
|
3644
|
+
}
|
|
3645
|
+
Object.assign(this, kwargs);
|
|
3646
|
+
}
|
|
3647
|
+
toApiJson() {
|
|
3648
|
+
const toReturn = {};
|
|
3649
|
+
if (typeof this.assistants !== 'undefined' && this.assistants !== null) {
|
|
3650
|
+
toReturn['assistants'] = 'toApiJson' in this.assistants ? this.assistants.toApiJson() : this.assistants;
|
|
3651
|
+
}
|
|
3652
|
+
return toReturn;
|
|
3653
|
+
}
|
|
3654
|
+
}
|
|
3603
3655
|
class GetMultiDeployedPromptVersionRequest {
|
|
3604
3656
|
static fromProto(proto) {
|
|
3605
3657
|
let m = new GetMultiDeployedPromptVersionRequest();
|
|
@@ -4597,9 +4649,9 @@ class ListPromptVersionsResponse {
|
|
|
4597
4649
|
return toReturn;
|
|
4598
4650
|
}
|
|
4599
4651
|
}
|
|
4600
|
-
class
|
|
4652
|
+
class CreatePromptModuleVersionRequestOptions {
|
|
4601
4653
|
static fromProto(proto) {
|
|
4602
|
-
let m = new
|
|
4654
|
+
let m = new CreatePromptModuleVersionRequestOptions();
|
|
4603
4655
|
m = Object.assign(m, proto);
|
|
4604
4656
|
return m;
|
|
4605
4657
|
}
|
|
@@ -4611,8 +4663,28 @@ class UpsertAssistantRequestOptions {
|
|
|
4611
4663
|
}
|
|
4612
4664
|
toApiJson() {
|
|
4613
4665
|
const toReturn = {};
|
|
4614
|
-
if (typeof this.
|
|
4615
|
-
toReturn['
|
|
4666
|
+
if (typeof this.shouldDeploy !== 'undefined') {
|
|
4667
|
+
toReturn['shouldDeploy'] = this.shouldDeploy;
|
|
4668
|
+
}
|
|
4669
|
+
return toReturn;
|
|
4670
|
+
}
|
|
4671
|
+
}
|
|
4672
|
+
class GetAssistantRequestOptions {
|
|
4673
|
+
static fromProto(proto) {
|
|
4674
|
+
let m = new GetAssistantRequestOptions();
|
|
4675
|
+
m = Object.assign(m, proto);
|
|
4676
|
+
return m;
|
|
4677
|
+
}
|
|
4678
|
+
constructor(kwargs) {
|
|
4679
|
+
if (!kwargs) {
|
|
4680
|
+
return;
|
|
4681
|
+
}
|
|
4682
|
+
Object.assign(this, kwargs);
|
|
4683
|
+
}
|
|
4684
|
+
toApiJson() {
|
|
4685
|
+
const toReturn = {};
|
|
4686
|
+
if (typeof this.skipGoalsHydration !== 'undefined') {
|
|
4687
|
+
toReturn['skipGoalsHydration'] = this.skipGoalsHydration;
|
|
4616
4688
|
}
|
|
4617
4689
|
return toReturn;
|
|
4618
4690
|
}
|
|
@@ -4637,9 +4709,9 @@ class CreateAssistantRequestOptions {
|
|
|
4637
4709
|
return toReturn;
|
|
4638
4710
|
}
|
|
4639
4711
|
}
|
|
4640
|
-
class
|
|
4712
|
+
class UpsertAssistantRequestOptions {
|
|
4641
4713
|
static fromProto(proto) {
|
|
4642
|
-
let m = new
|
|
4714
|
+
let m = new UpsertAssistantRequestOptions();
|
|
4643
4715
|
m = Object.assign(m, proto);
|
|
4644
4716
|
return m;
|
|
4645
4717
|
}
|
|
@@ -4651,19 +4723,16 @@ class CreatePromptModuleVersionRequestOptions {
|
|
|
4651
4723
|
}
|
|
4652
4724
|
toApiJson() {
|
|
4653
4725
|
const toReturn = {};
|
|
4654
|
-
if (typeof this.
|
|
4655
|
-
toReturn['
|
|
4726
|
+
if (typeof this.applyDefaults !== 'undefined') {
|
|
4727
|
+
toReturn['applyDefaults'] = this.applyDefaults;
|
|
4656
4728
|
}
|
|
4657
4729
|
return toReturn;
|
|
4658
4730
|
}
|
|
4659
4731
|
}
|
|
4660
|
-
class
|
|
4732
|
+
class GetMultiAssistantRequestOptions {
|
|
4661
4733
|
static fromProto(proto) {
|
|
4662
|
-
let m = new
|
|
4734
|
+
let m = new GetMultiAssistantRequestOptions();
|
|
4663
4735
|
m = Object.assign(m, proto);
|
|
4664
|
-
if (proto.maxTokens) {
|
|
4665
|
-
m.maxTokens = parseInt(proto.maxTokens, 10);
|
|
4666
|
-
}
|
|
4667
4736
|
return m;
|
|
4668
4737
|
}
|
|
4669
4738
|
constructor(kwargs) {
|
|
@@ -4674,22 +4743,19 @@ class GenerateChatAnswerRequestOptions {
|
|
|
4674
4743
|
}
|
|
4675
4744
|
toApiJson() {
|
|
4676
4745
|
const toReturn = {};
|
|
4677
|
-
if (typeof this.
|
|
4678
|
-
toReturn['
|
|
4679
|
-
}
|
|
4680
|
-
if (typeof this.enableAsyncFunctions !== 'undefined') {
|
|
4681
|
-
toReturn['enableAsyncFunctions'] = this.enableAsyncFunctions;
|
|
4682
|
-
}
|
|
4683
|
-
if (typeof this.maxTokens !== 'undefined') {
|
|
4684
|
-
toReturn['maxTokens'] = this.maxTokens;
|
|
4746
|
+
if (typeof this.skipGoalsHydration !== 'undefined') {
|
|
4747
|
+
toReturn['skipGoalsHydration'] = this.skipGoalsHydration;
|
|
4685
4748
|
}
|
|
4686
4749
|
return toReturn;
|
|
4687
4750
|
}
|
|
4688
4751
|
}
|
|
4689
|
-
class
|
|
4752
|
+
class GenerateChatAnswerRequestOptions {
|
|
4690
4753
|
static fromProto(proto) {
|
|
4691
|
-
let m = new
|
|
4754
|
+
let m = new GenerateChatAnswerRequestOptions();
|
|
4692
4755
|
m = Object.assign(m, proto);
|
|
4756
|
+
if (proto.maxTokens) {
|
|
4757
|
+
m.maxTokens = parseInt(proto.maxTokens, 10);
|
|
4758
|
+
}
|
|
4693
4759
|
return m;
|
|
4694
4760
|
}
|
|
4695
4761
|
constructor(kwargs) {
|
|
@@ -4700,8 +4766,14 @@ class GetAssistantRequestOptions {
|
|
|
4700
4766
|
}
|
|
4701
4767
|
toApiJson() {
|
|
4702
4768
|
const toReturn = {};
|
|
4703
|
-
if (typeof this.
|
|
4704
|
-
toReturn['
|
|
4769
|
+
if (typeof this.includeAllCitations !== 'undefined') {
|
|
4770
|
+
toReturn['includeAllCitations'] = this.includeAllCitations;
|
|
4771
|
+
}
|
|
4772
|
+
if (typeof this.enableAsyncFunctions !== 'undefined') {
|
|
4773
|
+
toReturn['enableAsyncFunctions'] = this.enableAsyncFunctions;
|
|
4774
|
+
}
|
|
4775
|
+
if (typeof this.maxTokens !== 'undefined') {
|
|
4776
|
+
toReturn['maxTokens'] = this.maxTokens;
|
|
4705
4777
|
}
|
|
4706
4778
|
return toReturn;
|
|
4707
4779
|
}
|
|
@@ -5013,6 +5085,11 @@ class AssistantApiService {
|
|
|
5013
5085
|
return this.http.post(this._host + "/ai_assistants.v1alpha1.AssistantService/GetAssistant", request.toApiJson(), this.apiOptions())
|
|
5014
5086
|
.pipe(map(resp => GetAssistantResponse.fromProto(resp)));
|
|
5015
5087
|
}
|
|
5088
|
+
getMultiAssistant(r) {
|
|
5089
|
+
const request = (r.toApiJson) ? r : new GetMultiAssistantRequest(r);
|
|
5090
|
+
return this.http.post(this._host + "/ai_assistants.v1alpha1.AssistantService/GetMultiAssistant", request.toApiJson(), this.apiOptions())
|
|
5091
|
+
.pipe(map(resp => GetMultiAssistantResponse.fromProto(resp)));
|
|
5092
|
+
}
|
|
5016
5093
|
buildDefaultAssistant(r) {
|
|
5017
5094
|
const request = (r.toApiJson) ? r : new BuildDefaultAssistantRequest(r);
|
|
5018
5095
|
return this.http.post(this._host + "/ai_assistants.v1alpha1.AssistantService/BuildDefaultAssistant", request.toApiJson(), this.apiOptions())
|
|
@@ -5469,5 +5546,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
5469
5546
|
* Generated bundle index. Do not edit.
|
|
5470
5547
|
*/
|
|
5471
5548
|
|
|
5472
|
-
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 };
|
|
5549
|
+
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, 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, 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 };
|
|
5473
5550
|
//# sourceMappingURL=vendasta-ai-assistants.mjs.map
|