@vendasta/ai-assistants 0.28.0 → 0.30.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 (27) hide show
  1. package/esm2020/lib/_internal/assistant.api.service.mjs +11 -2
  2. package/esm2020/lib/_internal/interfaces/answer.interface.mjs +1 -1
  3. package/esm2020/lib/_internal/interfaces/api.interface.mjs +1 -1
  4. package/esm2020/lib/_internal/interfaces/assistant.interface.mjs +1 -1
  5. package/esm2020/lib/_internal/interfaces/field-mask.interface.mjs +8 -0
  6. package/esm2020/lib/_internal/interfaces/index.mjs +1 -1
  7. package/esm2020/lib/_internal/objects/answer.mjs +4 -1
  8. package/esm2020/lib/_internal/objects/api.mjs +129 -27
  9. package/esm2020/lib/_internal/objects/assistant.mjs +4 -1
  10. package/esm2020/lib/_internal/objects/field-mask.mjs +27 -0
  11. package/esm2020/lib/_internal/objects/index.mjs +3 -2
  12. package/fesm2015/vendasta-ai-assistants.mjs +188 -45
  13. package/fesm2015/vendasta-ai-assistants.mjs.map +1 -1
  14. package/fesm2020/vendasta-ai-assistants.mjs +188 -45
  15. package/fesm2020/vendasta-ai-assistants.mjs.map +1 -1
  16. package/lib/_internal/assistant.api.service.d.ts +4 -2
  17. package/lib/_internal/interfaces/answer.interface.d.ts +1 -0
  18. package/lib/_internal/interfaces/api.interface.d.ts +25 -10
  19. package/lib/_internal/interfaces/assistant.interface.d.ts +1 -0
  20. package/lib/_internal/interfaces/field-mask.interface.d.ts +3 -0
  21. package/lib/_internal/interfaces/index.d.ts +2 -1
  22. package/lib/_internal/objects/answer.d.ts +1 -0
  23. package/lib/_internal/objects/api.d.ts +41 -14
  24. package/lib/_internal/objects/assistant.d.ts +1 -0
  25. package/lib/_internal/objects/field-mask.d.ts +8 -0
  26. package/lib/_internal/objects/index.d.ts +2 -1
  27. package/package.json +1 -1
@@ -127,7 +127,7 @@ var ChatMessageRole;
127
127
  // Enums Index.
128
128
  // *********************************
129
129
 
130
- function enumStringToValue$a(enumRef, value) {
130
+ function enumStringToValue$b(enumRef, value) {
131
131
  if (typeof value === 'number') {
132
132
  return value;
133
133
  }
@@ -301,7 +301,7 @@ class NamespaceSystemNamespace {
301
301
  }
302
302
  }
303
303
 
304
- function enumStringToValue$9(enumRef, value) {
304
+ function enumStringToValue$a(enumRef, value) {
305
305
  if (typeof value === 'number') {
306
306
  return value;
307
307
  }
@@ -461,7 +461,7 @@ class FunctionParameter {
461
461
  m.items = FunctionParameter.fromProto(proto.items);
462
462
  }
463
463
  if (proto.location) {
464
- m.location = enumStringToValue$9(FunctionParameterParameterLocation, proto.location);
464
+ m.location = enumStringToValue$a(FunctionParameterParameterLocation, proto.location);
465
465
  }
466
466
  return m;
467
467
  }
@@ -535,7 +535,7 @@ class FunctionAuthStrategyUnspecifiedFunctionAuthStrategy {
535
535
  }
536
536
  }
537
537
 
538
- function enumStringToValue$8(enumRef, value) {
538
+ function enumStringToValue$9(enumRef, value) {
539
539
  if (typeof value === 'number') {
540
540
  return value;
541
541
  }
@@ -738,7 +738,7 @@ class PromptVersion {
738
738
  }
739
739
  }
740
740
 
741
- function enumStringToValue$7(enumRef, value) {
741
+ function enumStringToValue$8(enumRef, value) {
742
742
  if (typeof value === 'number') {
743
743
  return value;
744
744
  }
@@ -752,7 +752,7 @@ class Goal {
752
752
  m.namespace = Namespace.fromProto(proto.namespace);
753
753
  }
754
754
  if (proto.type) {
755
- m.type = enumStringToValue$7(GoalType, proto.type);
755
+ m.type = enumStringToValue$8(GoalType, proto.type);
756
756
  }
757
757
  if (proto.promptModules) {
758
758
  m.promptModules = proto.promptModules.map(PromptModule.fromProto);
@@ -764,7 +764,7 @@ class Goal {
764
764
  m.updated = new Date(proto.updated);
765
765
  }
766
766
  if (proto.supportedChannels) {
767
- m.supportedChannels = proto.supportedChannels.map((v) => enumStringToValue$7(GoalChannel, v));
767
+ m.supportedChannels = proto.supportedChannels.map((v) => enumStringToValue$8(GoalChannel, v));
768
768
  }
769
769
  return m;
770
770
  }
@@ -839,7 +839,7 @@ class GoalKey {
839
839
  }
840
840
  }
841
841
 
842
- function enumStringToValue$6(enumRef, value) {
842
+ function enumStringToValue$7(enumRef, value) {
843
843
  if (typeof value === 'number') {
844
844
  return value;
845
845
  }
@@ -869,7 +869,7 @@ class KeyValuePair {
869
869
  }
870
870
  }
871
871
 
872
- function enumStringToValue$5(enumRef, value) {
872
+ function enumStringToValue$6(enumRef, value) {
873
873
  if (typeof value === 'number') {
874
874
  return value;
875
875
  }
@@ -883,7 +883,7 @@ class Assistant {
883
883
  m.namespace = Namespace.fromProto(proto.namespace);
884
884
  }
885
885
  if (proto.type) {
886
- m.type = enumStringToValue$5(AssistantType, proto.type);
886
+ m.type = enumStringToValue$6(AssistantType, proto.type);
887
887
  }
888
888
  if (proto.config) {
889
889
  m.config = Config.fromProto(proto.config);
@@ -922,6 +922,9 @@ class Assistant {
922
922
  if (typeof this.configurableGoals !== 'undefined' && this.configurableGoals !== null) {
923
923
  toReturn['configurableGoals'] = 'toApiJson' in this.configurableGoals ? this.configurableGoals.toApiJson() : this.configurableGoals;
924
924
  }
925
+ if (typeof this.userId !== 'undefined') {
926
+ toReturn['userId'] = this.userId;
927
+ }
925
928
  return toReturn;
926
929
  }
927
930
  }
@@ -1138,7 +1141,7 @@ class ConfigVoiceConfig {
1138
1141
  let m = new ConfigVoiceConfig();
1139
1142
  m = Object.assign(m, proto);
1140
1143
  if (proto.vendorModel) {
1141
- m.vendorModel = enumStringToValue$5(VendorModel, proto.vendorModel);
1144
+ m.vendorModel = enumStringToValue$6(VendorModel, proto.vendorModel);
1142
1145
  }
1143
1146
  if (proto.modelConfig) {
1144
1147
  m.modelConfig = ModelConfig.fromProto(proto.modelConfig);
@@ -1163,7 +1166,7 @@ class ConfigVoiceConfig {
1163
1166
  }
1164
1167
  }
1165
1168
 
1166
- function enumStringToValue$4(enumRef, value) {
1169
+ function enumStringToValue$5(enumRef, value) {
1167
1170
  if (typeof value === 'number') {
1168
1171
  return value;
1169
1172
  }
@@ -1180,7 +1183,7 @@ class Connection {
1180
1183
  m.assistantKeys = proto.assistantKeys.map(AssistantKey.fromProto);
1181
1184
  }
1182
1185
  if (proto.supportedAssistantTypes) {
1183
- m.supportedAssistantTypes = proto.supportedAssistantTypes.map((v) => enumStringToValue$4(AssistantType, v));
1186
+ m.supportedAssistantTypes = proto.supportedAssistantTypes.map((v) => enumStringToValue$5(AssistantType, v));
1184
1187
  }
1185
1188
  return m;
1186
1189
  }
@@ -1255,7 +1258,7 @@ class ConnectionKey {
1255
1258
  }
1256
1259
  }
1257
1260
 
1258
- function enumStringToValue$3(enumRef, value) {
1261
+ function enumStringToValue$4(enumRef, value) {
1259
1262
  if (typeof value === 'number') {
1260
1263
  return value;
1261
1264
  }
@@ -1266,7 +1269,7 @@ class ChatAnswerFunctionExecutionJob {
1266
1269
  let m = new ChatAnswerFunctionExecutionJob();
1267
1270
  m = Object.assign(m, proto);
1268
1271
  if (proto.status) {
1269
- m.status = enumStringToValue$3(ChatAnswerFunctionExecutionJobStatus, proto.status);
1272
+ m.status = enumStringToValue$4(ChatAnswerFunctionExecutionJobStatus, proto.status);
1270
1273
  }
1271
1274
  if (proto.result) {
1272
1275
  m.result = ChatAnswerFunctionExecutionJobResult.fromProto(proto.result);
@@ -1327,7 +1330,7 @@ class ChatMessage {
1327
1330
  let m = new ChatMessage();
1328
1331
  m = Object.assign(m, proto);
1329
1332
  if (proto.role) {
1330
- m.role = enumStringToValue$3(ChatMessageRole, proto.role);
1333
+ m.role = enumStringToValue$4(ChatMessageRole, proto.role);
1331
1334
  }
1332
1335
  return m;
1333
1336
  }
@@ -1389,11 +1392,14 @@ class ChatUserInfo {
1389
1392
  if (typeof this.zipCode !== 'undefined') {
1390
1393
  toReturn['zipCode'] = this.zipCode;
1391
1394
  }
1395
+ if (typeof this.timezone !== 'undefined') {
1396
+ toReturn['timezone'] = this.timezone;
1397
+ }
1392
1398
  return toReturn;
1393
1399
  }
1394
1400
  }
1395
1401
 
1396
- function enumStringToValue$2(enumRef, value) {
1402
+ function enumStringToValue$3(enumRef, value) {
1397
1403
  if (typeof value === 'number') {
1398
1404
  return value;
1399
1405
  }
@@ -1423,7 +1429,7 @@ class Access {
1423
1429
  }
1424
1430
  }
1425
1431
 
1426
- function enumStringToValue$1(enumRef, value) {
1432
+ function enumStringToValue$2(enumRef, value) {
1427
1433
  if (typeof value === 'number') {
1428
1434
  return value;
1429
1435
  }
@@ -1485,6 +1491,33 @@ class PagedResponseMetadata {
1485
1491
  }
1486
1492
  }
1487
1493
 
1494
+ function enumStringToValue$1(enumRef, value) {
1495
+ if (typeof value === 'number') {
1496
+ return value;
1497
+ }
1498
+ return enumRef[value];
1499
+ }
1500
+ class FieldMask {
1501
+ static fromProto(proto) {
1502
+ let m = new FieldMask();
1503
+ m = Object.assign(m, proto);
1504
+ return m;
1505
+ }
1506
+ constructor(kwargs) {
1507
+ if (!kwargs) {
1508
+ return;
1509
+ }
1510
+ Object.assign(this, kwargs);
1511
+ }
1512
+ toApiJson() {
1513
+ const toReturn = {};
1514
+ if (typeof this.paths !== 'undefined') {
1515
+ toReturn['paths'] = this.paths;
1516
+ }
1517
+ return toReturn;
1518
+ }
1519
+ }
1520
+
1488
1521
  function enumStringToValue(enumRef, value) {
1489
1522
  if (typeof value === 'number') {
1490
1523
  return value;
@@ -1572,6 +1605,58 @@ class SetAssistantConnectionsRequestConnectionState {
1572
1605
  return toReturn;
1573
1606
  }
1574
1607
  }
1608
+ class CreateAssistantRequest {
1609
+ static fromProto(proto) {
1610
+ let m = new CreateAssistantRequest();
1611
+ m = Object.assign(m, proto);
1612
+ if (proto.assistant) {
1613
+ m.assistant = Assistant.fromProto(proto.assistant);
1614
+ }
1615
+ if (proto.options) {
1616
+ m.options = CreateAssistantRequestOptions.fromProto(proto.options);
1617
+ }
1618
+ return m;
1619
+ }
1620
+ constructor(kwargs) {
1621
+ if (!kwargs) {
1622
+ return;
1623
+ }
1624
+ Object.assign(this, kwargs);
1625
+ }
1626
+ toApiJson() {
1627
+ const toReturn = {};
1628
+ if (typeof this.assistant !== 'undefined' && this.assistant !== null) {
1629
+ toReturn['assistant'] = 'toApiJson' in this.assistant ? this.assistant.toApiJson() : this.assistant;
1630
+ }
1631
+ if (typeof this.options !== 'undefined' && this.options !== null) {
1632
+ toReturn['options'] = 'toApiJson' in this.options ? this.options.toApiJson() : this.options;
1633
+ }
1634
+ return toReturn;
1635
+ }
1636
+ }
1637
+ class CreateAssistantResponse {
1638
+ static fromProto(proto) {
1639
+ let m = new CreateAssistantResponse();
1640
+ m = Object.assign(m, proto);
1641
+ if (proto.assistant) {
1642
+ m.assistant = Assistant.fromProto(proto.assistant);
1643
+ }
1644
+ return m;
1645
+ }
1646
+ constructor(kwargs) {
1647
+ if (!kwargs) {
1648
+ return;
1649
+ }
1650
+ Object.assign(this, kwargs);
1651
+ }
1652
+ toApiJson() {
1653
+ const toReturn = {};
1654
+ if (typeof this.assistant !== 'undefined' && this.assistant !== null) {
1655
+ toReturn['assistant'] = 'toApiJson' in this.assistant ? this.assistant.toApiJson() : this.assistant;
1656
+ }
1657
+ return toReturn;
1658
+ }
1659
+ }
1575
1660
  class CreateGoalRequest {
1576
1661
  static fromProto(proto) {
1577
1662
  let m = new CreateGoalRequest();
@@ -2032,12 +2117,15 @@ class ListGoalsRequestFilters {
2032
2117
  return toReturn;
2033
2118
  }
2034
2119
  }
2035
- class ListAllAssistantsAssociatedToConnectionRequestFilters {
2120
+ class ListConnectionsRequestFilters {
2036
2121
  static fromProto(proto) {
2037
- let m = new ListAllAssistantsAssociatedToConnectionRequestFilters();
2122
+ let m = new ListConnectionsRequestFilters();
2038
2123
  m = Object.assign(m, proto);
2039
- if (proto.type) {
2040
- m.type = enumStringToValue(AssistantType, proto.type);
2124
+ if (proto.namespace) {
2125
+ m.namespace = Namespace.fromProto(proto.namespace);
2126
+ }
2127
+ if (proto.assistantType) {
2128
+ m.assistantType = enumStringToValue(AssistantType, proto.assistantType);
2041
2129
  }
2042
2130
  return m;
2043
2131
  }
@@ -2049,8 +2137,11 @@ class ListAllAssistantsAssociatedToConnectionRequestFilters {
2049
2137
  }
2050
2138
  toApiJson() {
2051
2139
  const toReturn = {};
2052
- if (typeof this.type !== 'undefined') {
2053
- toReturn['type'] = this.type;
2140
+ if (typeof this.namespace !== 'undefined' && this.namespace !== null) {
2141
+ toReturn['namespace'] = 'toApiJson' in this.namespace ? this.namespace.toApiJson() : this.namespace;
2142
+ }
2143
+ if (typeof this.assistantType !== 'undefined') {
2144
+ toReturn['assistantType'] = this.assistantType;
2054
2145
  }
2055
2146
  return toReturn;
2056
2147
  }
@@ -2078,13 +2169,10 @@ class ListFunctionRequestFilters {
2078
2169
  return toReturn;
2079
2170
  }
2080
2171
  }
2081
- class ListAssistantRequestFilters {
2172
+ class ListAllAssistantsAssociatedToConnectionRequestFilters {
2082
2173
  static fromProto(proto) {
2083
- let m = new ListAssistantRequestFilters();
2174
+ let m = new ListAllAssistantsAssociatedToConnectionRequestFilters();
2084
2175
  m = Object.assign(m, proto);
2085
- if (proto.namespace) {
2086
- m.namespace = Namespace.fromProto(proto.namespace);
2087
- }
2088
2176
  if (proto.type) {
2089
2177
  m.type = enumStringToValue(AssistantType, proto.type);
2090
2178
  }
@@ -2098,22 +2186,22 @@ class ListAssistantRequestFilters {
2098
2186
  }
2099
2187
  toApiJson() {
2100
2188
  const toReturn = {};
2101
- if (typeof this.namespace !== 'undefined' && this.namespace !== null) {
2102
- toReturn['namespace'] = 'toApiJson' in this.namespace ? this.namespace.toApiJson() : this.namespace;
2103
- }
2104
2189
  if (typeof this.type !== 'undefined') {
2105
2190
  toReturn['type'] = this.type;
2106
2191
  }
2107
2192
  return toReturn;
2108
2193
  }
2109
2194
  }
2110
- class ListPromptModuleRequestFilters {
2195
+ class ListAssistantRequestFilters {
2111
2196
  static fromProto(proto) {
2112
- let m = new ListPromptModuleRequestFilters();
2197
+ let m = new ListAssistantRequestFilters();
2113
2198
  m = Object.assign(m, proto);
2114
2199
  if (proto.namespace) {
2115
2200
  m.namespace = Namespace.fromProto(proto.namespace);
2116
2201
  }
2202
+ if (proto.type) {
2203
+ m.type = enumStringToValue(AssistantType, proto.type);
2204
+ }
2117
2205
  return m;
2118
2206
  }
2119
2207
  constructor(kwargs) {
@@ -2127,19 +2215,19 @@ class ListPromptModuleRequestFilters {
2127
2215
  if (typeof this.namespace !== 'undefined' && this.namespace !== null) {
2128
2216
  toReturn['namespace'] = 'toApiJson' in this.namespace ? this.namespace.toApiJson() : this.namespace;
2129
2217
  }
2218
+ if (typeof this.type !== 'undefined') {
2219
+ toReturn['type'] = this.type;
2220
+ }
2130
2221
  return toReturn;
2131
2222
  }
2132
2223
  }
2133
- class ListConnectionsRequestFilters {
2224
+ class ListPromptModuleRequestFilters {
2134
2225
  static fromProto(proto) {
2135
- let m = new ListConnectionsRequestFilters();
2226
+ let m = new ListPromptModuleRequestFilters();
2136
2227
  m = Object.assign(m, proto);
2137
2228
  if (proto.namespace) {
2138
2229
  m.namespace = Namespace.fromProto(proto.namespace);
2139
2230
  }
2140
- if (proto.assistantType) {
2141
- m.assistantType = enumStringToValue(AssistantType, proto.assistantType);
2142
- }
2143
2231
  return m;
2144
2232
  }
2145
2233
  constructor(kwargs) {
@@ -2153,9 +2241,6 @@ class ListConnectionsRequestFilters {
2153
2241
  if (typeof this.namespace !== 'undefined' && this.namespace !== null) {
2154
2242
  toReturn['namespace'] = 'toApiJson' in this.namespace ? this.namespace.toApiJson() : this.namespace;
2155
2243
  }
2156
- if (typeof this.assistantType !== 'undefined') {
2157
- toReturn['assistantType'] = this.assistantType;
2158
- }
2159
2244
  return toReturn;
2160
2245
  }
2161
2246
  }
@@ -3616,9 +3701,9 @@ class GenerateChatAnswerRequestOptions {
3616
3701
  return toReturn;
3617
3702
  }
3618
3703
  }
3619
- class UpsertAssistantRequestOptions {
3704
+ class CreateAssistantRequestOptions {
3620
3705
  static fromProto(proto) {
3621
- let m = new UpsertAssistantRequestOptions();
3706
+ let m = new CreateAssistantRequestOptions();
3622
3707
  m = Object.assign(m, proto);
3623
3708
  return m;
3624
3709
  }
@@ -3656,6 +3741,26 @@ class CreatePromptModuleVersionRequestOptions {
3656
3741
  return toReturn;
3657
3742
  }
3658
3743
  }
3744
+ class UpsertAssistantRequestOptions {
3745
+ static fromProto(proto) {
3746
+ let m = new UpsertAssistantRequestOptions();
3747
+ m = Object.assign(m, proto);
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.applyDefaults !== 'undefined') {
3759
+ toReturn['applyDefaults'] = this.applyDefaults;
3760
+ }
3761
+ return toReturn;
3762
+ }
3763
+ }
3659
3764
  class SetAssistantConnectionsRequest {
3660
3765
  static fromProto(proto) {
3661
3766
  let m = new SetAssistantConnectionsRequest();
@@ -3685,6 +3790,35 @@ class SetAssistantConnectionsRequest {
3685
3790
  return toReturn;
3686
3791
  }
3687
3792
  }
3793
+ class UpdateAssistantRequest {
3794
+ static fromProto(proto) {
3795
+ let m = new UpdateAssistantRequest();
3796
+ m = Object.assign(m, proto);
3797
+ if (proto.assistant) {
3798
+ m.assistant = Assistant.fromProto(proto.assistant);
3799
+ }
3800
+ if (proto.fieldMask) {
3801
+ m.fieldMask = FieldMask.fromProto(proto.fieldMask);
3802
+ }
3803
+ return m;
3804
+ }
3805
+ constructor(kwargs) {
3806
+ if (!kwargs) {
3807
+ return;
3808
+ }
3809
+ Object.assign(this, kwargs);
3810
+ }
3811
+ toApiJson() {
3812
+ const toReturn = {};
3813
+ if (typeof this.assistant !== 'undefined' && this.assistant !== null) {
3814
+ toReturn['assistant'] = 'toApiJson' in this.assistant ? this.assistant.toApiJson() : this.assistant;
3815
+ }
3816
+ if (typeof this.fieldMask !== 'undefined' && this.fieldMask !== null) {
3817
+ toReturn['fieldMask'] = 'toApiJson' in this.fieldMask ? this.fieldMask.toApiJson() : this.fieldMask;
3818
+ }
3819
+ return toReturn;
3820
+ }
3821
+ }
3688
3822
  class UpdateGoalRequest {
3689
3823
  static fromProto(proto) {
3690
3824
  let m = new UpdateGoalRequest();
@@ -3920,6 +4054,15 @@ class AssistantApiService {
3920
4054
  return this.http.post(this._host + "/ai_assistants.v1alpha1.AssistantService/UpsertAssistant", request.toApiJson(), this.apiOptions())
3921
4055
  .pipe(map(resp => UpsertAssistantResponse.fromProto(resp)));
3922
4056
  }
4057
+ createAssistant(r) {
4058
+ const request = (r.toApiJson) ? r : new CreateAssistantRequest(r);
4059
+ return this.http.post(this._host + "/ai_assistants.v1alpha1.AssistantService/CreateAssistant", request.toApiJson(), this.apiOptions())
4060
+ .pipe(map(resp => CreateAssistantResponse.fromProto(resp)));
4061
+ }
4062
+ updateAssistant(r) {
4063
+ const request = (r.toApiJson) ? r : new UpdateAssistantRequest(r);
4064
+ return this.http.post(this._host + "/ai_assistants.v1alpha1.AssistantService/UpdateAssistant", request.toApiJson(), { ...this.apiOptions(), observe: 'response' });
4065
+ }
3923
4066
  getAssistant(r) {
3924
4067
  const request = (r.toApiJson) ? r : new GetAssistantRequest(r);
3925
4068
  return this.http.post(this._host + "/ai_assistants.v1alpha1.AssistantService/GetAssistant", request.toApiJson(), this.apiOptions())
@@ -4302,5 +4445,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
4302
4445
  * Generated bundle index. Do not edit.
4303
4446
  */
4304
4447
 
4305
- export { Access, Assistant, AssistantApiService, AssistantKey, AssistantType, BuildDefaultAssistantRequest, BuildDefaultAssistantResponse, ChatAnswerFunctionExecutionJob, ChatAnswerFunctionExecutionJobResult, ChatAnswerFunctionExecutionJobStatus, ChatChannel, ChatMessage, ChatMessageRole, ChatUserInfo, Config, ConfigInboxConfig, ConfigVoiceConfig, ConfigurableGoal, Connection, ConnectionApiService, ConnectionKey, CreateGoalRequest, CreateGoalResponse, CreatePromptModuleRequest, CreatePromptModuleResponse, CreatePromptModuleVersionRequest, CreatePromptModuleVersionRequestOptions, CreatePromptRequest, DeepgramConfig, DeleteAssistantRequest, DeleteConnectionRequest, DeleteFunctionRequest, DeleteGoalRequest, DeletePromptModuleRequest, DeletePromptRequest, DeployPromptModuleRequest, DeployPromptRequest, ExecuteFunctionRequest, ExecuteFunctionResponse, Function, FunctionApiService, FunctionAuthStrategy, FunctionAuthStrategyPlatformManagedFunctionAuthStrategy, FunctionAuthStrategyUnspecifiedFunctionAuthStrategy, FunctionHeader, FunctionKey, FunctionParameter, FunctionParameterParameterLocation, GenerateChatAnswerRequest, GenerateChatAnswerRequestOptions, GenerateChatAnswerResponse, GetAssistantRequest, 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, Goal, GoalApiService, GoalChannel, GoalKey, GoalType, GoalsDisabledForAccountGroupRequest, GoalsDisabledForAccountGroupResponse, HostService, KeyValuePair, ListAllAssistantsAssociatedToConnectionRequest, ListAllAssistantsAssociatedToConnectionRequestFilters, ListAllAssistantsAssociatedToConnectionResponse, ListAssistantRequest, ListAssistantRequestFilters, ListAssistantResponse, ListConnectionsRequest, ListConnectionsRequestFilters, ListConnectionsResponse, ListFunctionRequest, ListFunctionRequestFilters, ListFunctionResponse, ListGoalsRequest, ListGoalsRequestFilters, ListGoalsResponse, ListPromptModuleRequest, ListPromptModuleRequestFilters, ListPromptModuleResponse, ListPromptModuleVersionsRequest, ListPromptModuleVersionsResponse, ListPromptRequest, ListPromptResponse, ListPromptVersionsRequest, ListPromptVersionsResponse, ModelConfig, Namespace, NamespaceAccountGroupNamespace, NamespaceAccountGroupsForGroupNamespace, NamespaceAccountGroupsForPartnerNamespace, NamespaceGlobalNamespace, NamespacePartnerNamespace, NamespaceSystemNamespace, OpenAIRealtimeConfig, OpenAIRealtimeConfigTurnDetection, PagedRequestOptions, PagedResponseMetadata, Prompt, PromptApiService, PromptModule, PromptModuleApiService, PromptModuleKey, PromptModuleVersion, PromptVersion, SetAssistantConnectionsRequest, SetAssistantConnectionsRequestConnectionState, UpdateGoalRequest, UpdatePromptModuleRequest, UpdatePromptRequest, UpsertAssistantRequest, UpsertAssistantRequestOptions, UpsertAssistantResponse, UpsertConnectionRequest, UpsertFunctionRequest, UpsertGoalRequest, VendorModel };
4448
+ export { Access, Assistant, AssistantApiService, AssistantKey, AssistantType, BuildDefaultAssistantRequest, BuildDefaultAssistantResponse, ChatAnswerFunctionExecutionJob, ChatAnswerFunctionExecutionJobResult, ChatAnswerFunctionExecutionJobStatus, ChatChannel, ChatMessage, ChatMessageRole, ChatUserInfo, Config, ConfigInboxConfig, ConfigVoiceConfig, ConfigurableGoal, Connection, ConnectionApiService, ConnectionKey, CreateAssistantRequest, CreateAssistantRequestOptions, CreateAssistantResponse, CreateGoalRequest, CreateGoalResponse, CreatePromptModuleRequest, CreatePromptModuleResponse, CreatePromptModuleVersionRequest, CreatePromptModuleVersionRequestOptions, CreatePromptRequest, DeepgramConfig, DeleteAssistantRequest, DeleteConnectionRequest, DeleteFunctionRequest, DeleteGoalRequest, DeletePromptModuleRequest, DeletePromptRequest, DeployPromptModuleRequest, DeployPromptRequest, ExecuteFunctionRequest, ExecuteFunctionResponse, FieldMask, Function, FunctionApiService, FunctionAuthStrategy, FunctionAuthStrategyPlatformManagedFunctionAuthStrategy, FunctionAuthStrategyUnspecifiedFunctionAuthStrategy, FunctionHeader, FunctionKey, FunctionParameter, FunctionParameterParameterLocation, GenerateChatAnswerRequest, GenerateChatAnswerRequestOptions, GenerateChatAnswerResponse, GetAssistantRequest, 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, Goal, GoalApiService, GoalChannel, GoalKey, GoalType, GoalsDisabledForAccountGroupRequest, GoalsDisabledForAccountGroupResponse, HostService, KeyValuePair, ListAllAssistantsAssociatedToConnectionRequest, ListAllAssistantsAssociatedToConnectionRequestFilters, ListAllAssistantsAssociatedToConnectionResponse, ListAssistantRequest, ListAssistantRequestFilters, ListAssistantResponse, ListConnectionsRequest, ListConnectionsRequestFilters, ListConnectionsResponse, ListFunctionRequest, ListFunctionRequestFilters, ListFunctionResponse, ListGoalsRequest, ListGoalsRequestFilters, ListGoalsResponse, ListPromptModuleRequest, ListPromptModuleRequestFilters, ListPromptModuleResponse, ListPromptModuleVersionsRequest, ListPromptModuleVersionsResponse, ListPromptRequest, ListPromptResponse, ListPromptVersionsRequest, ListPromptVersionsResponse, ModelConfig, Namespace, NamespaceAccountGroupNamespace, NamespaceAccountGroupsForGroupNamespace, NamespaceAccountGroupsForPartnerNamespace, NamespaceGlobalNamespace, NamespacePartnerNamespace, NamespaceSystemNamespace, OpenAIRealtimeConfig, OpenAIRealtimeConfigTurnDetection, PagedRequestOptions, PagedResponseMetadata, Prompt, PromptApiService, PromptModule, PromptModuleApiService, PromptModuleKey, PromptModuleVersion, PromptVersion, SetAssistantConnectionsRequest, SetAssistantConnectionsRequestConnectionState, UpdateAssistantRequest, UpdateGoalRequest, UpdatePromptModuleRequest, UpdatePromptRequest, UpsertAssistantRequest, UpsertAssistantRequestOptions, UpsertAssistantResponse, UpsertConnectionRequest, UpsertFunctionRequest, UpsertGoalRequest, VendorModel };
4306
4449
  //# sourceMappingURL=vendasta-ai-assistants.mjs.map