@vendasta/ai-assistants 0.57.0 → 0.59.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.
@@ -210,6 +210,13 @@ var SortDirection;
210
210
  //
211
211
  // Enums.
212
212
  // *********************************
213
+ var AgentArchitecture;
214
+ (function (AgentArchitecture) {
215
+ AgentArchitecture[AgentArchitecture["UNSET"] = 0] = "UNSET";
216
+ AgentArchitecture[AgentArchitecture["STANDARD"] = 1] = "STANDARD";
217
+ AgentArchitecture[AgentArchitecture["REACT"] = 2] = "REACT";
218
+ AgentArchitecture[AgentArchitecture["DEEP_RESEARCH"] = 3] = "DEEP_RESEARCH";
219
+ })(AgentArchitecture || (AgentArchitecture = {}));
213
220
  var StreamingGenerateChatAnswerResponseContentType;
214
221
  (function (StreamingGenerateChatAnswerResponseContentType) {
215
222
  StreamingGenerateChatAnswerResponseContentType[StreamingGenerateChatAnswerResponseContentType["CONTENT_TYPE_UNSPECIFIED"] = 0] = "CONTENT_TYPE_UNSPECIFIED";
@@ -2820,6 +2827,32 @@ class SetAssistantConnectionsRequestConnectionState {
2820
2827
  return toReturn;
2821
2828
  }
2822
2829
  }
2830
+ class StreamingGenerateChatAnswerResponseContentChunk {
2831
+ static fromProto(proto) {
2832
+ let m = new StreamingGenerateChatAnswerResponseContentChunk();
2833
+ m = Object.assign(m, proto);
2834
+ if (proto.contentType) {
2835
+ m.contentType = enumStringToValue(StreamingGenerateChatAnswerResponseContentType, proto.contentType);
2836
+ }
2837
+ return m;
2838
+ }
2839
+ constructor(kwargs) {
2840
+ if (!kwargs) {
2841
+ return;
2842
+ }
2843
+ Object.assign(this, kwargs);
2844
+ }
2845
+ toApiJson() {
2846
+ const toReturn = {};
2847
+ if (typeof this.content !== 'undefined') {
2848
+ toReturn['content'] = this.content;
2849
+ }
2850
+ if (typeof this.contentType !== 'undefined') {
2851
+ toReturn['contentType'] = this.contentType;
2852
+ }
2853
+ return toReturn;
2854
+ }
2855
+ }
2823
2856
  class CreateAssistantRequest {
2824
2857
  static fromProto(proto) {
2825
2858
  let m = new CreateAssistantRequest();
@@ -3008,32 +3041,6 @@ class CreatePromptModuleVersionRequest {
3008
3041
  return toReturn;
3009
3042
  }
3010
3043
  }
3011
- class CreatePromptRequest {
3012
- static fromProto(proto) {
3013
- let m = new CreatePromptRequest();
3014
- m = Object.assign(m, proto);
3015
- return m;
3016
- }
3017
- constructor(kwargs) {
3018
- if (!kwargs) {
3019
- return;
3020
- }
3021
- Object.assign(this, kwargs);
3022
- }
3023
- toApiJson() {
3024
- const toReturn = {};
3025
- if (typeof this.id !== 'undefined') {
3026
- toReturn['id'] = this.id;
3027
- }
3028
- if (typeof this.content !== 'undefined') {
3029
- toReturn['content'] = this.content;
3030
- }
3031
- if (typeof this.description !== 'undefined') {
3032
- toReturn['description'] = this.description;
3033
- }
3034
- return toReturn;
3035
- }
3036
- }
3037
3044
  class DeleteAssistantRequest {
3038
3045
  static fromProto(proto) {
3039
3046
  let m = new DeleteAssistantRequest();
@@ -3173,26 +3180,6 @@ class DeletePromptModuleRequest {
3173
3180
  return toReturn;
3174
3181
  }
3175
3182
  }
3176
- class DeletePromptRequest {
3177
- static fromProto(proto) {
3178
- let m = new DeletePromptRequest();
3179
- m = Object.assign(m, proto);
3180
- return m;
3181
- }
3182
- constructor(kwargs) {
3183
- if (!kwargs) {
3184
- return;
3185
- }
3186
- Object.assign(this, kwargs);
3187
- }
3188
- toApiJson() {
3189
- const toReturn = {};
3190
- if (typeof this.id !== 'undefined') {
3191
- toReturn['id'] = this.id;
3192
- }
3193
- return toReturn;
3194
- }
3195
- }
3196
3183
  class DeployPromptModuleRequest {
3197
3184
  static fromProto(proto) {
3198
3185
  let m = new DeployPromptModuleRequest();
@@ -3222,10 +3209,13 @@ class DeployPromptModuleRequest {
3222
3209
  return toReturn;
3223
3210
  }
3224
3211
  }
3225
- class DeployPromptRequest {
3212
+ class StreamingGenerateChatAnswerResponseErrorChunk {
3226
3213
  static fromProto(proto) {
3227
- let m = new DeployPromptRequest();
3214
+ let m = new StreamingGenerateChatAnswerResponseErrorChunk();
3228
3215
  m = Object.assign(m, proto);
3216
+ if (proto.errorDetails) {
3217
+ m.errorDetails = proto.errorDetails.map(KeyValuePair.fromProto);
3218
+ }
3229
3219
  return m;
3230
3220
  }
3231
3221
  constructor(kwargs) {
@@ -3236,11 +3226,17 @@ class DeployPromptRequest {
3236
3226
  }
3237
3227
  toApiJson() {
3238
3228
  const toReturn = {};
3239
- if (typeof this.id !== 'undefined') {
3240
- toReturn['id'] = this.id;
3229
+ if (typeof this.errorMessage !== 'undefined') {
3230
+ toReturn['errorMessage'] = this.errorMessage;
3241
3231
  }
3242
- if (typeof this.version !== 'undefined') {
3243
- toReturn['version'] = this.version;
3232
+ if (typeof this.errorCode !== 'undefined') {
3233
+ toReturn['errorCode'] = this.errorCode;
3234
+ }
3235
+ if (typeof this.errorDetails !== 'undefined' && this.errorDetails !== null) {
3236
+ toReturn['errorDetails'] = 'toApiJson' in this.errorDetails ? this.errorDetails.toApiJson() : this.errorDetails;
3237
+ }
3238
+ if (typeof this.resumable !== 'undefined') {
3239
+ toReturn['resumable'] = this.resumable;
3244
3240
  }
3245
3241
  return toReturn;
3246
3242
  }
@@ -3309,15 +3305,27 @@ class ExecuteFunctionResponse {
3309
3305
  return toReturn;
3310
3306
  }
3311
3307
  }
3312
- class ListAssistantRequestFilters {
3308
+ class ListGoalsRequestFilters {
3313
3309
  static fromProto(proto) {
3314
- let m = new ListAssistantRequestFilters();
3310
+ let m = new ListGoalsRequestFilters();
3315
3311
  m = Object.assign(m, proto);
3316
3312
  if (proto.namespace) {
3317
3313
  m.namespace = Namespace.fromProto(proto.namespace);
3318
3314
  }
3319
3315
  if (proto.type) {
3320
- m.type = enumStringToValue(AssistantType, proto.type);
3316
+ m.type = enumStringToValue(GoalType, proto.type);
3317
+ }
3318
+ if (proto.supportedChannels) {
3319
+ m.supportedChannels = proto.supportedChannels.map((v) => enumStringToValue(GoalChannel, v));
3320
+ }
3321
+ if (proto.namespaces) {
3322
+ m.namespaces = proto.namespaces.map(Namespace.fromProto);
3323
+ }
3324
+ if (proto.constraintFilters) {
3325
+ m.constraintFilters = proto.constraintFilters.map(ConstraintFilter.fromProto);
3326
+ }
3327
+ if (proto.sortOptions) {
3328
+ m.sortOptions = proto.sortOptions.map(ListGoalsRequestSortOptions.fromProto);
3321
3329
  }
3322
3330
  return m;
3323
3331
  }
@@ -3335,18 +3343,33 @@ class ListAssistantRequestFilters {
3335
3343
  if (typeof this.type !== 'undefined') {
3336
3344
  toReturn['type'] = this.type;
3337
3345
  }
3346
+ if (typeof this.supportedChannels !== 'undefined') {
3347
+ toReturn['supportedChannels'] = this.supportedChannels;
3348
+ }
3349
+ if (typeof this.namespaces !== 'undefined' && this.namespaces !== null) {
3350
+ toReturn['namespaces'] = 'toApiJson' in this.namespaces ? this.namespaces.toApiJson() : this.namespaces;
3351
+ }
3352
+ if (typeof this.constraintFilters !== 'undefined' && this.constraintFilters !== null) {
3353
+ toReturn['constraintFilters'] = 'toApiJson' in this.constraintFilters ? this.constraintFilters.toApiJson() : this.constraintFilters;
3354
+ }
3355
+ if (typeof this.searchTerm !== 'undefined') {
3356
+ toReturn['searchTerm'] = this.searchTerm;
3357
+ }
3358
+ if (typeof this.sortOptions !== 'undefined' && this.sortOptions !== null) {
3359
+ toReturn['sortOptions'] = 'toApiJson' in this.sortOptions ? this.sortOptions.toApiJson() : this.sortOptions;
3360
+ }
3361
+ if (typeof this.omitOverrides !== 'undefined') {
3362
+ toReturn['omitOverrides'] = this.omitOverrides;
3363
+ }
3338
3364
  return toReturn;
3339
3365
  }
3340
3366
  }
3341
- class ListAvailableModelsRequestFilters {
3367
+ class ListPromptModuleRequestFilters {
3342
3368
  static fromProto(proto) {
3343
- let m = new ListAvailableModelsRequestFilters();
3369
+ let m = new ListPromptModuleRequestFilters();
3344
3370
  m = Object.assign(m, proto);
3345
- if (proto.vendor) {
3346
- m.vendor = proto.vendor.map((v) => enumStringToValue(ModelVendor, v));
3347
- }
3348
- if (proto.type) {
3349
- m.type = proto.type.map((v) => enumStringToValue(ModelType, v));
3371
+ if (proto.namespace) {
3372
+ m.namespace = Namespace.fromProto(proto.namespace);
3350
3373
  }
3351
3374
  return m;
3352
3375
  }
@@ -3358,24 +3381,21 @@ class ListAvailableModelsRequestFilters {
3358
3381
  }
3359
3382
  toApiJson() {
3360
3383
  const toReturn = {};
3361
- if (typeof this.vendor !== 'undefined') {
3362
- toReturn['vendor'] = this.vendor;
3363
- }
3364
- if (typeof this.type !== 'undefined') {
3365
- toReturn['type'] = this.type;
3384
+ if (typeof this.namespace !== 'undefined' && this.namespace !== null) {
3385
+ toReturn['namespace'] = 'toApiJson' in this.namespace ? this.namespace.toApiJson() : this.namespace;
3366
3386
  }
3367
3387
  return toReturn;
3368
3388
  }
3369
3389
  }
3370
- class ListConnectionsRequestFilters {
3390
+ class ListAssistantRequestFilters {
3371
3391
  static fromProto(proto) {
3372
- let m = new ListConnectionsRequestFilters();
3392
+ let m = new ListAssistantRequestFilters();
3373
3393
  m = Object.assign(m, proto);
3374
3394
  if (proto.namespace) {
3375
3395
  m.namespace = Namespace.fromProto(proto.namespace);
3376
3396
  }
3377
- if (proto.assistantType) {
3378
- m.assistantType = enumStringToValue(AssistantType, proto.assistantType);
3397
+ if (proto.type) {
3398
+ m.type = enumStringToValue(AssistantType, proto.type);
3379
3399
  }
3380
3400
  return m;
3381
3401
  }
@@ -3390,19 +3410,22 @@ class ListConnectionsRequestFilters {
3390
3410
  if (typeof this.namespace !== 'undefined' && this.namespace !== null) {
3391
3411
  toReturn['namespace'] = 'toApiJson' in this.namespace ? this.namespace.toApiJson() : this.namespace;
3392
3412
  }
3393
- if (typeof this.assistantType !== 'undefined') {
3394
- toReturn['assistantType'] = this.assistantType;
3413
+ if (typeof this.type !== 'undefined') {
3414
+ toReturn['type'] = this.type;
3395
3415
  }
3396
3416
  return toReturn;
3397
3417
  }
3398
3418
  }
3399
- class ListPromptModuleRequestFilters {
3419
+ class ListConnectionsRequestFilters {
3400
3420
  static fromProto(proto) {
3401
- let m = new ListPromptModuleRequestFilters();
3421
+ let m = new ListConnectionsRequestFilters();
3402
3422
  m = Object.assign(m, proto);
3403
3423
  if (proto.namespace) {
3404
3424
  m.namespace = Namespace.fromProto(proto.namespace);
3405
3425
  }
3426
+ if (proto.assistantType) {
3427
+ m.assistantType = enumStringToValue(AssistantType, proto.assistantType);
3428
+ }
3406
3429
  return m;
3407
3430
  }
3408
3431
  constructor(kwargs) {
@@ -3416,31 +3439,25 @@ class ListPromptModuleRequestFilters {
3416
3439
  if (typeof this.namespace !== 'undefined' && this.namespace !== null) {
3417
3440
  toReturn['namespace'] = 'toApiJson' in this.namespace ? this.namespace.toApiJson() : this.namespace;
3418
3441
  }
3442
+ if (typeof this.assistantType !== 'undefined') {
3443
+ toReturn['assistantType'] = this.assistantType;
3444
+ }
3419
3445
  return toReturn;
3420
3446
  }
3421
3447
  }
3422
- class ListGoalsRequestFilters {
3448
+ class ListFunctionRequestFilters {
3423
3449
  static fromProto(proto) {
3424
- let m = new ListGoalsRequestFilters();
3450
+ let m = new ListFunctionRequestFilters();
3425
3451
  m = Object.assign(m, proto);
3426
3452
  if (proto.namespace) {
3427
3453
  m.namespace = Namespace.fromProto(proto.namespace);
3428
3454
  }
3429
- if (proto.type) {
3430
- m.type = enumStringToValue(GoalType, proto.type);
3431
- }
3432
- if (proto.supportedChannels) {
3433
- m.supportedChannels = proto.supportedChannels.map((v) => enumStringToValue(GoalChannel, v));
3434
- }
3435
3455
  if (proto.namespaces) {
3436
3456
  m.namespaces = proto.namespaces.map(Namespace.fromProto);
3437
3457
  }
3438
3458
  if (proto.constraintFilters) {
3439
3459
  m.constraintFilters = proto.constraintFilters.map(ConstraintFilter.fromProto);
3440
3460
  }
3441
- if (proto.sortOptions) {
3442
- m.sortOptions = proto.sortOptions.map(ListGoalsRequestSortOptions.fromProto);
3443
- }
3444
3461
  return m;
3445
3462
  }
3446
3463
  constructor(kwargs) {
@@ -3454,26 +3471,43 @@ class ListGoalsRequestFilters {
3454
3471
  if (typeof this.namespace !== 'undefined' && this.namespace !== null) {
3455
3472
  toReturn['namespace'] = 'toApiJson' in this.namespace ? this.namespace.toApiJson() : this.namespace;
3456
3473
  }
3457
- if (typeof this.type !== 'undefined') {
3458
- toReturn['type'] = this.type;
3459
- }
3460
- if (typeof this.supportedChannels !== 'undefined') {
3461
- toReturn['supportedChannels'] = this.supportedChannels;
3462
- }
3463
3474
  if (typeof this.namespaces !== 'undefined' && this.namespaces !== null) {
3464
3475
  toReturn['namespaces'] = 'toApiJson' in this.namespaces ? this.namespaces.toApiJson() : this.namespaces;
3465
3476
  }
3477
+ if (typeof this.mcpId !== 'undefined') {
3478
+ toReturn['mcpId'] = this.mcpId;
3479
+ }
3466
3480
  if (typeof this.constraintFilters !== 'undefined' && this.constraintFilters !== null) {
3467
3481
  toReturn['constraintFilters'] = 'toApiJson' in this.constraintFilters ? this.constraintFilters.toApiJson() : this.constraintFilters;
3468
3482
  }
3469
- if (typeof this.searchTerm !== 'undefined') {
3470
- toReturn['searchTerm'] = this.searchTerm;
3483
+ return toReturn;
3484
+ }
3485
+ }
3486
+ class ListAvailableModelsRequestFilters {
3487
+ static fromProto(proto) {
3488
+ let m = new ListAvailableModelsRequestFilters();
3489
+ m = Object.assign(m, proto);
3490
+ if (proto.vendor) {
3491
+ m.vendor = proto.vendor.map((v) => enumStringToValue(ModelVendor, v));
3471
3492
  }
3472
- if (typeof this.sortOptions !== 'undefined' && this.sortOptions !== null) {
3473
- toReturn['sortOptions'] = 'toApiJson' in this.sortOptions ? this.sortOptions.toApiJson() : this.sortOptions;
3493
+ if (proto.type) {
3494
+ m.type = proto.type.map((v) => enumStringToValue(ModelType, v));
3474
3495
  }
3475
- if (typeof this.omitOverrides !== 'undefined') {
3476
- toReturn['omitOverrides'] = this.omitOverrides;
3496
+ return m;
3497
+ }
3498
+ constructor(kwargs) {
3499
+ if (!kwargs) {
3500
+ return;
3501
+ }
3502
+ Object.assign(this, kwargs);
3503
+ }
3504
+ toApiJson() {
3505
+ const toReturn = {};
3506
+ if (typeof this.vendor !== 'undefined') {
3507
+ toReturn['vendor'] = this.vendor;
3508
+ }
3509
+ if (typeof this.type !== 'undefined') {
3510
+ toReturn['type'] = this.type;
3477
3511
  }
3478
3512
  return toReturn;
3479
3513
  }
@@ -3501,19 +3535,59 @@ class ListAllAssistantsAssociatedToConnectionRequestFilters {
3501
3535
  return toReturn;
3502
3536
  }
3503
3537
  }
3504
- class ListFunctionRequestFilters {
3538
+ class StreamingGenerateChatAnswerResponseFinalChunk {
3505
3539
  static fromProto(proto) {
3506
- let m = new ListFunctionRequestFilters();
3540
+ let m = new StreamingGenerateChatAnswerResponseFinalChunk();
3507
3541
  m = Object.assign(m, proto);
3508
- if (proto.namespace) {
3509
- m.namespace = Namespace.fromProto(proto.namespace);
3542
+ return m;
3543
+ }
3544
+ constructor(kwargs) {
3545
+ if (!kwargs) {
3546
+ return;
3510
3547
  }
3511
- if (proto.namespaces) {
3512
- m.namespaces = proto.namespaces.map(Namespace.fromProto);
3548
+ Object.assign(this, kwargs);
3549
+ }
3550
+ toApiJson() {
3551
+ const toReturn = {};
3552
+ return toReturn;
3553
+ }
3554
+ }
3555
+ class StreamingGenerateChatAnswerResponseFunctionCompleteChunk {
3556
+ static fromProto(proto) {
3557
+ let m = new StreamingGenerateChatAnswerResponseFunctionCompleteChunk();
3558
+ m = Object.assign(m, proto);
3559
+ if (proto.metadata) {
3560
+ m.metadata = proto.metadata.map(KeyValuePair.fromProto);
3513
3561
  }
3514
- if (proto.constraintFilters) {
3515
- m.constraintFilters = proto.constraintFilters.map(ConstraintFilter.fromProto);
3562
+ return m;
3563
+ }
3564
+ constructor(kwargs) {
3565
+ if (!kwargs) {
3566
+ return;
3567
+ }
3568
+ Object.assign(this, kwargs);
3569
+ }
3570
+ toApiJson() {
3571
+ const toReturn = {};
3572
+ if (typeof this.functionName !== 'undefined') {
3573
+ toReturn['functionName'] = this.functionName;
3516
3574
  }
3575
+ if (typeof this.result !== 'undefined') {
3576
+ toReturn['result'] = this.result;
3577
+ }
3578
+ if (typeof this.metadata !== 'undefined' && this.metadata !== null) {
3579
+ toReturn['metadata'] = 'toApiJson' in this.metadata ? this.metadata.toApiJson() : this.metadata;
3580
+ }
3581
+ if (typeof this.functionCallId !== 'undefined') {
3582
+ toReturn['functionCallId'] = this.functionCallId;
3583
+ }
3584
+ return toReturn;
3585
+ }
3586
+ }
3587
+ class StreamingGenerateChatAnswerResponseFunctionProgressChunk {
3588
+ static fromProto(proto) {
3589
+ let m = new StreamingGenerateChatAnswerResponseFunctionProgressChunk();
3590
+ m = Object.assign(m, proto);
3517
3591
  return m;
3518
3592
  }
3519
3593
  constructor(kwargs) {
@@ -3524,17 +3598,46 @@ class ListFunctionRequestFilters {
3524
3598
  }
3525
3599
  toApiJson() {
3526
3600
  const toReturn = {};
3527
- if (typeof this.namespace !== 'undefined' && this.namespace !== null) {
3528
- toReturn['namespace'] = 'toApiJson' in this.namespace ? this.namespace.toApiJson() : this.namespace;
3601
+ if (typeof this.functionName !== 'undefined') {
3602
+ toReturn['functionName'] = this.functionName;
3529
3603
  }
3530
- if (typeof this.namespaces !== 'undefined' && this.namespaces !== null) {
3531
- toReturn['namespaces'] = 'toApiJson' in this.namespaces ? this.namespaces.toApiJson() : this.namespaces;
3604
+ if (typeof this.status !== 'undefined') {
3605
+ toReturn['status'] = this.status;
3532
3606
  }
3533
- if (typeof this.mcpId !== 'undefined') {
3534
- toReturn['mcpId'] = this.mcpId;
3607
+ if (typeof this.progressMessage !== 'undefined') {
3608
+ toReturn['progressMessage'] = this.progressMessage;
3535
3609
  }
3536
- if (typeof this.constraintFilters !== 'undefined' && this.constraintFilters !== null) {
3537
- toReturn['constraintFilters'] = 'toApiJson' in this.constraintFilters ? this.constraintFilters.toApiJson() : this.constraintFilters;
3610
+ if (typeof this.functionCallId !== 'undefined') {
3611
+ toReturn['functionCallId'] = this.functionCallId;
3612
+ }
3613
+ return toReturn;
3614
+ }
3615
+ }
3616
+ class StreamingGenerateChatAnswerResponseFunctionStartChunk {
3617
+ static fromProto(proto) {
3618
+ let m = new StreamingGenerateChatAnswerResponseFunctionStartChunk();
3619
+ m = Object.assign(m, proto);
3620
+ return m;
3621
+ }
3622
+ constructor(kwargs) {
3623
+ if (!kwargs) {
3624
+ return;
3625
+ }
3626
+ Object.assign(this, kwargs);
3627
+ }
3628
+ toApiJson() {
3629
+ const toReturn = {};
3630
+ if (typeof this.functionName !== 'undefined') {
3631
+ toReturn['functionName'] = this.functionName;
3632
+ }
3633
+ if (typeof this.functionDescription !== 'undefined') {
3634
+ toReturn['functionDescription'] = this.functionDescription;
3635
+ }
3636
+ if (typeof this.arguments !== 'undefined') {
3637
+ toReturn['arguments'] = this.arguments;
3638
+ }
3639
+ if (typeof this.functionCallId !== 'undefined') {
3640
+ toReturn['functionCallId'] = this.functionCallId;
3538
3641
  }
3539
3642
  return toReturn;
3540
3643
  }
@@ -3835,55 +3938,6 @@ class GetDeployedPromptModuleVersionResponse {
3835
3938
  return toReturn;
3836
3939
  }
3837
3940
  }
3838
- class GetDeployedPromptVersionRequest {
3839
- static fromProto(proto) {
3840
- let m = new GetDeployedPromptVersionRequest();
3841
- m = Object.assign(m, proto);
3842
- return m;
3843
- }
3844
- constructor(kwargs) {
3845
- if (!kwargs) {
3846
- return;
3847
- }
3848
- Object.assign(this, kwargs);
3849
- }
3850
- toApiJson() {
3851
- const toReturn = {};
3852
- if (typeof this.id !== 'undefined') {
3853
- toReturn['id'] = this.id;
3854
- }
3855
- return toReturn;
3856
- }
3857
- }
3858
- class GetDeployedPromptVersionResponse {
3859
- static fromProto(proto) {
3860
- let m = new GetDeployedPromptVersionResponse();
3861
- m = Object.assign(m, proto);
3862
- if (proto.prompt) {
3863
- m.prompt = Prompt.fromProto(proto.prompt);
3864
- }
3865
- if (proto.deployedPromptVersion) {
3866
- m.deployedPromptVersion = PromptVersion.fromProto(proto.deployedPromptVersion);
3867
- }
3868
- return m;
3869
- }
3870
- constructor(kwargs) {
3871
- if (!kwargs) {
3872
- return;
3873
- }
3874
- Object.assign(this, kwargs);
3875
- }
3876
- toApiJson() {
3877
- const toReturn = {};
3878
- if (typeof this.prompt !== 'undefined' && this.prompt !== null) {
3879
- toReturn['prompt'] = 'toApiJson' in this.prompt ? this.prompt.toApiJson() : this.prompt;
3880
- }
3881
- if (typeof this.deployedPromptVersion !== 'undefined' && this.deployedPromptVersion !== null) {
3882
- toReturn['deployedPromptVersion'] = 'toApiJson' in this.deployedPromptVersion ? this.deployedPromptVersion.toApiJson() : this.deployedPromptVersion;
3883
- }
3884
- return toReturn;
3885
- }
3886
- }
3887
3941
  class GetFunctionRequest {
3888
3942
  static fromProto(proto) {
3889
3943
  let m = new GetFunctionRequest();
@@ -4086,55 +4140,6 @@ class GetMultiAssistantResponse {
4086
4140
  return toReturn;
4087
4141
  }
4088
4142
  }
4089
- class GetMultiDeployedPromptVersionRequest {
4090
- static fromProto(proto) {
4091
- let m = new GetMultiDeployedPromptVersionRequest();
4092
- m = Object.assign(m, proto);
4093
- return m;
4094
- }
4095
- constructor(kwargs) {
4096
- if (!kwargs) {
4097
- return;
4098
- }
4099
- Object.assign(this, kwargs);
4100
- }
4101
- toApiJson() {
4102
- const toReturn = {};
4103
- if (typeof this.ids !== 'undefined') {
4104
- toReturn['ids'] = this.ids;
4105
- }
4106
- return toReturn;
4107
- }
4108
- }
4109
- class GetMultiDeployedPromptVersionResponse {
4110
- static fromProto(proto) {
4111
- let m = new GetMultiDeployedPromptVersionResponse();
4112
- m = Object.assign(m, proto);
4113
- if (proto.prompts) {
4114
- m.prompts = proto.prompts.map(Prompt.fromProto);
4115
- }
4116
- if (proto.deployedPromptVersions) {
4117
- m.deployedPromptVersions = proto.deployedPromptVersions.map(PromptVersion.fromProto);
4118
- }
4119
- return m;
4120
- }
4121
- constructor(kwargs) {
4122
- if (!kwargs) {
4123
- return;
4124
- }
4125
- Object.assign(this, kwargs);
4126
- }
4127
- toApiJson() {
4128
- const toReturn = {};
4129
- if (typeof this.prompts !== 'undefined' && this.prompts !== null) {
4130
- toReturn['prompts'] = 'toApiJson' in this.prompts ? this.prompts.toApiJson() : this.prompts;
4131
- }
4132
- if (typeof this.deployedPromptVersions !== 'undefined' && this.deployedPromptVersions !== null) {
4133
- toReturn['deployedPromptVersions'] = 'toApiJson' in this.deployedPromptVersions ? this.deployedPromptVersions.toApiJson() : this.deployedPromptVersions;
4134
- }
4135
- return toReturn;
4136
- }
4137
- }
4138
4143
  class GetMultiFunctionRequest {
4139
4144
  static fromProto(proto) {
4140
4145
  let m = new GetMultiFunctionRequest();
@@ -4377,95 +4382,6 @@ class GetPromptModuleVersionResponse {
4377
4382
  return toReturn;
4378
4383
  }
4379
4384
  }
4380
- class GetPromptRequest {
4381
- static fromProto(proto) {
4382
- let m = new GetPromptRequest();
4383
- m = Object.assign(m, proto);
4384
- return m;
4385
- }
4386
- constructor(kwargs) {
4387
- if (!kwargs) {
4388
- return;
4389
- }
4390
- Object.assign(this, kwargs);
4391
- }
4392
- toApiJson() {
4393
- const toReturn = {};
4394
- if (typeof this.id !== 'undefined') {
4395
- toReturn['id'] = this.id;
4396
- }
4397
- return toReturn;
4398
- }
4399
- }
4400
- class GetPromptResponse {
4401
- static fromProto(proto) {
4402
- let m = new GetPromptResponse();
4403
- m = Object.assign(m, proto);
4404
- if (proto.prompt) {
4405
- m.prompt = Prompt.fromProto(proto.prompt);
4406
- }
4407
- return m;
4408
- }
4409
- constructor(kwargs) {
4410
- if (!kwargs) {
4411
- return;
4412
- }
4413
- Object.assign(this, kwargs);
4414
- }
4415
- toApiJson() {
4416
- const toReturn = {};
4417
- if (typeof this.prompt !== 'undefined' && this.prompt !== null) {
4418
- toReturn['prompt'] = 'toApiJson' in this.prompt ? this.prompt.toApiJson() : this.prompt;
4419
- }
4420
- return toReturn;
4421
- }
4422
- }
4423
- class GetPromptVersionRequest {
4424
- static fromProto(proto) {
4425
- let m = new GetPromptVersionRequest();
4426
- m = Object.assign(m, proto);
4427
- return m;
4428
- }
4429
- constructor(kwargs) {
4430
- if (!kwargs) {
4431
- return;
4432
- }
4433
- Object.assign(this, kwargs);
4434
- }
4435
- toApiJson() {
4436
- const toReturn = {};
4437
- if (typeof this.id !== 'undefined') {
4438
- toReturn['id'] = this.id;
4439
- }
4440
- if (typeof this.version !== 'undefined') {
4441
- toReturn['version'] = this.version;
4442
- }
4443
- return toReturn;
4444
- }
4445
- }
4446
- class GetPromptVersionResponse {
4447
- static fromProto(proto) {
4448
- let m = new GetPromptVersionResponse();
4449
- m = Object.assign(m, proto);
4450
- if (proto.promptVersion) {
4451
- m.promptVersion = PromptVersion.fromProto(proto.promptVersion);
4452
- }
4453
- return m;
4454
- }
4455
- constructor(kwargs) {
4456
- if (!kwargs) {
4457
- return;
4458
- }
4459
- Object.assign(this, kwargs);
4460
- }
4461
- toApiJson() {
4462
- const toReturn = {};
4463
- if (typeof this.promptVersion !== 'undefined' && this.promptVersion !== null) {
4464
- toReturn['promptVersion'] = 'toApiJson' in this.promptVersion ? this.promptVersion.toApiJson() : this.promptVersion;
4465
- }
4466
- return toReturn;
4467
- }
4468
- }
4469
4385
  class GoalsDisabledForAccountGroupRequest {
4470
4386
  static fromProto(proto) {
4471
4387
  let m = new GoalsDisabledForAccountGroupRequest();
@@ -4970,12 +4886,15 @@ class ListPromptModuleVersionsResponse {
4970
4886
  return toReturn;
4971
4887
  }
4972
4888
  }
4973
- class ListPromptRequest {
4889
+ class ListTemplateVariablesRequest {
4974
4890
  static fromProto(proto) {
4975
- let m = new ListPromptRequest();
4891
+ let m = new ListTemplateVariablesRequest();
4976
4892
  m = Object.assign(m, proto);
4977
- if (proto.pagingOptions) {
4978
- m.pagingOptions = PagedRequestOptions.fromProto(proto.pagingOptions);
4893
+ if (proto.assistantKey) {
4894
+ m.assistantKey = AssistantKey.fromProto(proto.assistantKey);
4895
+ }
4896
+ if (proto.chatUserInfo) {
4897
+ m.chatUserInfo = ChatUserInfo.fromProto(proto.chatUserInfo);
4979
4898
  }
4980
4899
  return m;
4981
4900
  }
@@ -4987,24 +4906,44 @@ class ListPromptRequest {
4987
4906
  }
4988
4907
  toApiJson() {
4989
4908
  const toReturn = {};
4990
- if (typeof this.pagingOptions !== 'undefined' && this.pagingOptions !== null) {
4991
- toReturn['pagingOptions'] = 'toApiJson' in this.pagingOptions ? this.pagingOptions.toApiJson() : this.pagingOptions;
4909
+ if (typeof this.assistantKey !== 'undefined' && this.assistantKey !== null) {
4910
+ toReturn['assistantKey'] = 'toApiJson' in this.assistantKey ? this.assistantKey.toApiJson() : this.assistantKey;
4911
+ }
4912
+ if (typeof this.chatUserInfo !== 'undefined' && this.chatUserInfo !== null) {
4913
+ toReturn['chatUserInfo'] = 'toApiJson' in this.chatUserInfo ? this.chatUserInfo.toApiJson() : this.chatUserInfo;
4992
4914
  }
4993
4915
  return toReturn;
4994
4916
  }
4995
4917
  }
4996
- class ListPromptResponse {
4918
+ class ListTemplateVariablesResponse {
4997
4919
  static fromProto(proto) {
4998
- let m = new ListPromptResponse();
4920
+ let m = new ListTemplateVariablesResponse();
4999
4921
  m = Object.assign(m, proto);
5000
- if (proto.prompts) {
5001
- m.prompts = proto.prompts.map(Prompt.fromProto);
4922
+ if (proto.assistantScopedVariables) {
4923
+ m.assistantScopedVariables = proto.assistantScopedVariables.map(TemplateVariable.fromProto);
4924
+ }
4925
+ return m;
4926
+ }
4927
+ constructor(kwargs) {
4928
+ if (!kwargs) {
4929
+ return;
5002
4930
  }
5003
- if (proto.deployedPromptVersions) {
5004
- m.deployedPromptVersions = proto.deployedPromptVersions.map(PromptVersion.fromProto);
4931
+ Object.assign(this, kwargs);
4932
+ }
4933
+ toApiJson() {
4934
+ const toReturn = {};
4935
+ if (typeof this.assistantScopedVariables !== 'undefined' && this.assistantScopedVariables !== null) {
4936
+ toReturn['assistantScopedVariables'] = 'toApiJson' in this.assistantScopedVariables ? this.assistantScopedVariables.toApiJson() : this.assistantScopedVariables;
5005
4937
  }
4938
+ return toReturn;
4939
+ }
4940
+ }
4941
+ class StreamingGenerateChatAnswerResponseMetadataChunk {
4942
+ static fromProto(proto) {
4943
+ let m = new StreamingGenerateChatAnswerResponseMetadataChunk();
4944
+ m = Object.assign(m, proto);
5006
4945
  if (proto.metadata) {
5007
- m.metadata = PagedResponseMetadata.fromProto(proto.metadata);
4946
+ m.metadata = proto.metadata.map(KeyValuePair.fromProto);
5008
4947
  }
5009
4948
  return m;
5010
4949
  }
@@ -5016,25 +4955,16 @@ class ListPromptResponse {
5016
4955
  }
5017
4956
  toApiJson() {
5018
4957
  const toReturn = {};
5019
- if (typeof this.prompts !== 'undefined' && this.prompts !== null) {
5020
- toReturn['prompts'] = 'toApiJson' in this.prompts ? this.prompts.toApiJson() : this.prompts;
5021
- }
5022
- if (typeof this.deployedPromptVersions !== 'undefined' && this.deployedPromptVersions !== null) {
5023
- toReturn['deployedPromptVersions'] = 'toApiJson' in this.deployedPromptVersions ? this.deployedPromptVersions.toApiJson() : this.deployedPromptVersions;
5024
- }
5025
4958
  if (typeof this.metadata !== 'undefined' && this.metadata !== null) {
5026
4959
  toReturn['metadata'] = 'toApiJson' in this.metadata ? this.metadata.toApiJson() : this.metadata;
5027
4960
  }
5028
4961
  return toReturn;
5029
4962
  }
5030
4963
  }
5031
- class ListPromptVersionsRequest {
4964
+ class GetAssistantRequestOptions {
5032
4965
  static fromProto(proto) {
5033
- let m = new ListPromptVersionsRequest();
4966
+ let m = new GetAssistantRequestOptions();
5034
4967
  m = Object.assign(m, proto);
5035
- if (proto.pagingOptions) {
5036
- m.pagingOptions = PagedRequestOptions.fromProto(proto.pagingOptions);
5037
- }
5038
4968
  return m;
5039
4969
  }
5040
4970
  constructor(kwargs) {
@@ -5045,25 +4975,36 @@ class ListPromptVersionsRequest {
5045
4975
  }
5046
4976
  toApiJson() {
5047
4977
  const toReturn = {};
5048
- if (typeof this.id !== 'undefined') {
5049
- toReturn['id'] = this.id;
4978
+ if (typeof this.skipGoalsHydration !== 'undefined') {
4979
+ toReturn['skipGoalsHydration'] = this.skipGoalsHydration;
5050
4980
  }
5051
- if (typeof this.pagingOptions !== 'undefined' && this.pagingOptions !== null) {
5052
- toReturn['pagingOptions'] = 'toApiJson' in this.pagingOptions ? this.pagingOptions.toApiJson() : this.pagingOptions;
4981
+ return toReturn;
4982
+ }
4983
+ }
4984
+ class GetMultiAssistantRequestOptions {
4985
+ static fromProto(proto) {
4986
+ let m = new GetMultiAssistantRequestOptions();
4987
+ m = Object.assign(m, proto);
4988
+ return m;
4989
+ }
4990
+ constructor(kwargs) {
4991
+ if (!kwargs) {
4992
+ return;
4993
+ }
4994
+ Object.assign(this, kwargs);
4995
+ }
4996
+ toApiJson() {
4997
+ const toReturn = {};
4998
+ if (typeof this.skipGoalsHydration !== 'undefined') {
4999
+ toReturn['skipGoalsHydration'] = this.skipGoalsHydration;
5053
5000
  }
5054
5001
  return toReturn;
5055
5002
  }
5056
5003
  }
5057
- class ListPromptVersionsResponse {
5004
+ class UpsertAssistantRequestOptions {
5058
5005
  static fromProto(proto) {
5059
- let m = new ListPromptVersionsResponse();
5006
+ let m = new UpsertAssistantRequestOptions();
5060
5007
  m = Object.assign(m, proto);
5061
- if (proto.promptVersions) {
5062
- m.promptVersions = proto.promptVersions.map(PromptVersion.fromProto);
5063
- }
5064
- if (proto.metadata) {
5065
- m.metadata = PagedResponseMetadata.fromProto(proto.metadata);
5066
- }
5067
5008
  return m;
5068
5009
  }
5069
5010
  constructor(kwargs) {
@@ -5074,25 +5015,16 @@ class ListPromptVersionsResponse {
5074
5015
  }
5075
5016
  toApiJson() {
5076
5017
  const toReturn = {};
5077
- if (typeof this.promptVersions !== 'undefined' && this.promptVersions !== null) {
5078
- toReturn['promptVersions'] = 'toApiJson' in this.promptVersions ? this.promptVersions.toApiJson() : this.promptVersions;
5079
- }
5080
- if (typeof this.metadata !== 'undefined' && this.metadata !== null) {
5081
- toReturn['metadata'] = 'toApiJson' in this.metadata ? this.metadata.toApiJson() : this.metadata;
5018
+ if (typeof this.applyDefaults !== 'undefined') {
5019
+ toReturn['applyDefaults'] = this.applyDefaults;
5082
5020
  }
5083
5021
  return toReturn;
5084
5022
  }
5085
5023
  }
5086
- class ListTemplateVariablesRequest {
5024
+ class CreateAssistantRequestOptions {
5087
5025
  static fromProto(proto) {
5088
- let m = new ListTemplateVariablesRequest();
5026
+ let m = new CreateAssistantRequestOptions();
5089
5027
  m = Object.assign(m, proto);
5090
- if (proto.assistantKey) {
5091
- m.assistantKey = AssistantKey.fromProto(proto.assistantKey);
5092
- }
5093
- if (proto.chatUserInfo) {
5094
- m.chatUserInfo = ChatUserInfo.fromProto(proto.chatUserInfo);
5095
- }
5096
5028
  return m;
5097
5029
  }
5098
5030
  constructor(kwargs) {
@@ -5103,21 +5035,18 @@ class ListTemplateVariablesRequest {
5103
5035
  }
5104
5036
  toApiJson() {
5105
5037
  const toReturn = {};
5106
- if (typeof this.assistantKey !== 'undefined' && this.assistantKey !== null) {
5107
- toReturn['assistantKey'] = 'toApiJson' in this.assistantKey ? this.assistantKey.toApiJson() : this.assistantKey;
5108
- }
5109
- if (typeof this.chatUserInfo !== 'undefined' && this.chatUserInfo !== null) {
5110
- toReturn['chatUserInfo'] = 'toApiJson' in this.chatUserInfo ? this.chatUserInfo.toApiJson() : this.chatUserInfo;
5038
+ if (typeof this.applyDefaults !== 'undefined') {
5039
+ toReturn['applyDefaults'] = this.applyDefaults;
5111
5040
  }
5112
5041
  return toReturn;
5113
5042
  }
5114
5043
  }
5115
- class ListTemplateVariablesResponse {
5044
+ class ExecuteFunctionRequestOptions {
5116
5045
  static fromProto(proto) {
5117
- let m = new ListTemplateVariablesResponse();
5046
+ let m = new ExecuteFunctionRequestOptions();
5118
5047
  m = Object.assign(m, proto);
5119
- if (proto.assistantScopedVariables) {
5120
- m.assistantScopedVariables = proto.assistantScopedVariables.map(TemplateVariable.fromProto);
5048
+ if (proto.contextInfo) {
5049
+ m.contextInfo = ContextInfo.fromProto(proto.contextInfo);
5121
5050
  }
5122
5051
  return m;
5123
5052
  }
@@ -5129,8 +5058,11 @@ class ListTemplateVariablesResponse {
5129
5058
  }
5130
5059
  toApiJson() {
5131
5060
  const toReturn = {};
5132
- if (typeof this.assistantScopedVariables !== 'undefined' && this.assistantScopedVariables !== null) {
5133
- toReturn['assistantScopedVariables'] = 'toApiJson' in this.assistantScopedVariables ? this.assistantScopedVariables.toApiJson() : this.assistantScopedVariables;
5061
+ if (typeof this.skipComputeTemplateVariables !== 'undefined') {
5062
+ toReturn['skipComputeTemplateVariables'] = this.skipComputeTemplateVariables;
5063
+ }
5064
+ if (typeof this.contextInfo !== 'undefined' && this.contextInfo !== null) {
5065
+ toReturn['contextInfo'] = 'toApiJson' in this.contextInfo ? this.contextInfo.toApiJson() : this.contextInfo;
5134
5066
  }
5135
5067
  return toReturn;
5136
5068
  }
@@ -5164,13 +5096,10 @@ class GenerateChatAnswerRequestOptions {
5164
5096
  return toReturn;
5165
5097
  }
5166
5098
  }
5167
- class ExecuteFunctionRequestOptions {
5099
+ class CreatePromptModuleVersionRequestOptions {
5168
5100
  static fromProto(proto) {
5169
- let m = new ExecuteFunctionRequestOptions();
5101
+ let m = new CreatePromptModuleVersionRequestOptions();
5170
5102
  m = Object.assign(m, proto);
5171
- if (proto.contextInfo) {
5172
- m.contextInfo = ContextInfo.fromProto(proto.contextInfo);
5173
- }
5174
5103
  return m;
5175
5104
  }
5176
5105
  constructor(kwargs) {
@@ -5181,19 +5110,19 @@ class ExecuteFunctionRequestOptions {
5181
5110
  }
5182
5111
  toApiJson() {
5183
5112
  const toReturn = {};
5184
- if (typeof this.skipComputeTemplateVariables !== 'undefined') {
5185
- toReturn['skipComputeTemplateVariables'] = this.skipComputeTemplateVariables;
5186
- }
5187
- if (typeof this.contextInfo !== 'undefined' && this.contextInfo !== null) {
5188
- toReturn['contextInfo'] = 'toApiJson' in this.contextInfo ? this.contextInfo.toApiJson() : this.contextInfo;
5113
+ if (typeof this.shouldDeploy !== 'undefined') {
5114
+ toReturn['shouldDeploy'] = this.shouldDeploy;
5189
5115
  }
5190
5116
  return toReturn;
5191
5117
  }
5192
5118
  }
5193
- class CreateAssistantRequestOptions {
5119
+ class ResumeStreamingGenerateChatAnswerRequest {
5194
5120
  static fromProto(proto) {
5195
- let m = new CreateAssistantRequestOptions();
5121
+ let m = new ResumeStreamingGenerateChatAnswerRequest();
5196
5122
  m = Object.assign(m, proto);
5123
+ if (proto.lastReceivedSequenceNumber) {
5124
+ m.lastReceivedSequenceNumber = parseInt(proto.lastReceivedSequenceNumber, 10);
5125
+ }
5197
5126
  return m;
5198
5127
  }
5199
5128
  constructor(kwargs) {
@@ -5204,36 +5133,25 @@ class CreateAssistantRequestOptions {
5204
5133
  }
5205
5134
  toApiJson() {
5206
5135
  const toReturn = {};
5207
- if (typeof this.applyDefaults !== 'undefined') {
5208
- toReturn['applyDefaults'] = this.applyDefaults;
5136
+ if (typeof this.streamId !== 'undefined') {
5137
+ toReturn['streamId'] = this.streamId;
5138
+ }
5139
+ if (typeof this.lastReceivedSequenceNumber !== 'undefined') {
5140
+ toReturn['lastReceivedSequenceNumber'] = this.lastReceivedSequenceNumber;
5209
5141
  }
5210
5142
  return toReturn;
5211
5143
  }
5212
5144
  }
5213
- class GetAssistantRequestOptions {
5145
+ class SetAssistantConnectionsRequest {
5214
5146
  static fromProto(proto) {
5215
- let m = new GetAssistantRequestOptions();
5147
+ let m = new SetAssistantConnectionsRequest();
5216
5148
  m = Object.assign(m, proto);
5217
- return m;
5218
- }
5219
- constructor(kwargs) {
5220
- if (!kwargs) {
5221
- return;
5149
+ if (proto.associationStates) {
5150
+ m.associationStates = proto.associationStates.map(SetAssistantConnectionsRequestConnectionState.fromProto);
5222
5151
  }
5223
- Object.assign(this, kwargs);
5224
- }
5225
- toApiJson() {
5226
- const toReturn = {};
5227
- if (typeof this.skipGoalsHydration !== 'undefined') {
5228
- toReturn['skipGoalsHydration'] = this.skipGoalsHydration;
5152
+ if (proto.assistantKey) {
5153
+ m.assistantKey = AssistantKey.fromProto(proto.assistantKey);
5229
5154
  }
5230
- return toReturn;
5231
- }
5232
- }
5233
- class UpsertAssistantRequestOptions {
5234
- static fromProto(proto) {
5235
- let m = new UpsertAssistantRequestOptions();
5236
- m = Object.assign(m, proto);
5237
5155
  return m;
5238
5156
  }
5239
5157
  constructor(kwargs) {
@@ -5244,16 +5162,22 @@ class UpsertAssistantRequestOptions {
5244
5162
  }
5245
5163
  toApiJson() {
5246
5164
  const toReturn = {};
5247
- if (typeof this.applyDefaults !== 'undefined') {
5248
- toReturn['applyDefaults'] = this.applyDefaults;
5165
+ if (typeof this.associationStates !== 'undefined' && this.associationStates !== null) {
5166
+ toReturn['associationStates'] = 'toApiJson' in this.associationStates ? this.associationStates.toApiJson() : this.associationStates;
5167
+ }
5168
+ if (typeof this.assistantKey !== 'undefined' && this.assistantKey !== null) {
5169
+ toReturn['assistantKey'] = 'toApiJson' in this.assistantKey ? this.assistantKey.toApiJson() : this.assistantKey;
5249
5170
  }
5250
5171
  return toReturn;
5251
5172
  }
5252
5173
  }
5253
- class CreatePromptModuleVersionRequestOptions {
5174
+ class ListGoalsRequestSortOptions {
5254
5175
  static fromProto(proto) {
5255
- let m = new CreatePromptModuleVersionRequestOptions();
5176
+ let m = new ListGoalsRequestSortOptions();
5256
5177
  m = Object.assign(m, proto);
5178
+ if (proto.order) {
5179
+ m.order = enumStringToValue(ListGoalsRequestSortingOrder, proto.order);
5180
+ }
5257
5181
  return m;
5258
5182
  }
5259
5183
  constructor(kwargs) {
@@ -5264,16 +5188,22 @@ class CreatePromptModuleVersionRequestOptions {
5264
5188
  }
5265
5189
  toApiJson() {
5266
5190
  const toReturn = {};
5267
- if (typeof this.shouldDeploy !== 'undefined') {
5268
- toReturn['shouldDeploy'] = this.shouldDeploy;
5191
+ if (typeof this.field !== 'undefined') {
5192
+ toReturn['field'] = this.field;
5193
+ }
5194
+ if (typeof this.order !== 'undefined') {
5195
+ toReturn['order'] = this.order;
5269
5196
  }
5270
5197
  return toReturn;
5271
5198
  }
5272
5199
  }
5273
- class GetMultiAssistantRequestOptions {
5200
+ class StreamingGenerateChatAnswerResponseStartChunk {
5274
5201
  static fromProto(proto) {
5275
- let m = new GetMultiAssistantRequestOptions();
5202
+ let m = new StreamingGenerateChatAnswerResponseStartChunk();
5276
5203
  m = Object.assign(m, proto);
5204
+ if (proto.metadata) {
5205
+ m.metadata = proto.metadata.map(KeyValuePair.fromProto);
5206
+ }
5277
5207
  return m;
5278
5208
  }
5279
5209
  constructor(kwargs) {
@@ -5284,22 +5214,40 @@ class GetMultiAssistantRequestOptions {
5284
5214
  }
5285
5215
  toApiJson() {
5286
5216
  const toReturn = {};
5287
- if (typeof this.skipGoalsHydration !== 'undefined') {
5288
- toReturn['skipGoalsHydration'] = this.skipGoalsHydration;
5217
+ if (typeof this.streamId !== 'undefined') {
5218
+ toReturn['streamId'] = this.streamId;
5219
+ }
5220
+ if (typeof this.metadata !== 'undefined' && this.metadata !== null) {
5221
+ toReturn['metadata'] = 'toApiJson' in this.metadata ? this.metadata.toApiJson() : this.metadata;
5289
5222
  }
5290
5223
  return toReturn;
5291
5224
  }
5292
5225
  }
5293
- class SetAssistantConnectionsRequest {
5226
+ class StreamingGenerateChatAnswerRequest {
5294
5227
  static fromProto(proto) {
5295
- let m = new SetAssistantConnectionsRequest();
5228
+ let m = new StreamingGenerateChatAnswerRequest();
5296
5229
  m = Object.assign(m, proto);
5297
- if (proto.associationStates) {
5298
- m.associationStates = proto.associationStates.map(SetAssistantConnectionsRequestConnectionState.fromProto);
5230
+ if (proto.connectionKey) {
5231
+ m.connectionKey = ConnectionKey.fromProto(proto.connectionKey);
5299
5232
  }
5300
5233
  if (proto.assistantKey) {
5301
5234
  m.assistantKey = AssistantKey.fromProto(proto.assistantKey);
5302
5235
  }
5236
+ if (proto.chatHistory) {
5237
+ m.chatHistory = proto.chatHistory.map(ChatMessage.fromProto);
5238
+ }
5239
+ if (proto.chatUserInfo) {
5240
+ m.chatUserInfo = ChatUserInfo.fromProto(proto.chatUserInfo);
5241
+ }
5242
+ if (proto.chatChannel) {
5243
+ m.chatChannel = enumStringToValue(ChatChannel, proto.chatChannel);
5244
+ }
5245
+ if (proto.contextInfo) {
5246
+ m.contextInfo = ContextInfo.fromProto(proto.contextInfo);
5247
+ }
5248
+ if (proto.agentArchitecture) {
5249
+ m.agentArchitecture = enumStringToValue(AgentArchitecture, proto.agentArchitecture);
5250
+ }
5303
5251
  return m;
5304
5252
  }
5305
5253
  constructor(kwargs) {
@@ -5310,21 +5258,60 @@ class SetAssistantConnectionsRequest {
5310
5258
  }
5311
5259
  toApiJson() {
5312
5260
  const toReturn = {};
5313
- if (typeof this.associationStates !== 'undefined' && this.associationStates !== null) {
5314
- toReturn['associationStates'] = 'toApiJson' in this.associationStates ? this.associationStates.toApiJson() : this.associationStates;
5261
+ if (typeof this.connectionKey !== 'undefined' && this.connectionKey !== null) {
5262
+ toReturn['connectionKey'] = 'toApiJson' in this.connectionKey ? this.connectionKey.toApiJson() : this.connectionKey;
5315
5263
  }
5316
5264
  if (typeof this.assistantKey !== 'undefined' && this.assistantKey !== null) {
5317
5265
  toReturn['assistantKey'] = 'toApiJson' in this.assistantKey ? this.assistantKey.toApiJson() : this.assistantKey;
5318
5266
  }
5267
+ if (typeof this.chatHistory !== 'undefined' && this.chatHistory !== null) {
5268
+ toReturn['chatHistory'] = 'toApiJson' in this.chatHistory ? this.chatHistory.toApiJson() : this.chatHistory;
5269
+ }
5270
+ if (typeof this.chatUserInfo !== 'undefined' && this.chatUserInfo !== null) {
5271
+ toReturn['chatUserInfo'] = 'toApiJson' in this.chatUserInfo ? this.chatUserInfo.toApiJson() : this.chatUserInfo;
5272
+ }
5273
+ if (typeof this.chatChannel !== 'undefined') {
5274
+ toReturn['chatChannel'] = this.chatChannel;
5275
+ }
5276
+ if (typeof this.contextInfo !== 'undefined' && this.contextInfo !== null) {
5277
+ toReturn['contextInfo'] = 'toApiJson' in this.contextInfo ? this.contextInfo.toApiJson() : this.contextInfo;
5278
+ }
5279
+ if (typeof this.agentArchitecture !== 'undefined') {
5280
+ toReturn['agentArchitecture'] = this.agentArchitecture;
5281
+ }
5319
5282
  return toReturn;
5320
5283
  }
5321
5284
  }
5322
- class ListGoalsRequestSortOptions {
5285
+ class StreamingGenerateChatAnswerResponse {
5323
5286
  static fromProto(proto) {
5324
- let m = new ListGoalsRequestSortOptions();
5287
+ let m = new StreamingGenerateChatAnswerResponse();
5325
5288
  m = Object.assign(m, proto);
5326
- if (proto.order) {
5327
- m.order = enumStringToValue(ListGoalsRequestSortingOrder, proto.order);
5289
+ if (proto.sequenceNumber) {
5290
+ m.sequenceNumber = parseInt(proto.sequenceNumber, 10);
5291
+ }
5292
+ if (proto.start) {
5293
+ m.start = StreamingGenerateChatAnswerResponseStartChunk.fromProto(proto.start);
5294
+ }
5295
+ if (proto.content) {
5296
+ m.content = StreamingGenerateChatAnswerResponseContentChunk.fromProto(proto.content);
5297
+ }
5298
+ if (proto.metadata) {
5299
+ m.metadata = StreamingGenerateChatAnswerResponseMetadataChunk.fromProto(proto.metadata);
5300
+ }
5301
+ if (proto.functionStart) {
5302
+ m.functionStart = StreamingGenerateChatAnswerResponseFunctionStartChunk.fromProto(proto.functionStart);
5303
+ }
5304
+ if (proto.functionProgress) {
5305
+ m.functionProgress = StreamingGenerateChatAnswerResponseFunctionProgressChunk.fromProto(proto.functionProgress);
5306
+ }
5307
+ if (proto.functionComplete) {
5308
+ m.functionComplete = StreamingGenerateChatAnswerResponseFunctionCompleteChunk.fromProto(proto.functionComplete);
5309
+ }
5310
+ if (proto.final) {
5311
+ m.final = StreamingGenerateChatAnswerResponseFinalChunk.fromProto(proto.final);
5312
+ }
5313
+ if (proto.error) {
5314
+ m.error = StreamingGenerateChatAnswerResponseErrorChunk.fromProto(proto.error);
5328
5315
  }
5329
5316
  return m;
5330
5317
  }
@@ -5336,11 +5323,32 @@ class ListGoalsRequestSortOptions {
5336
5323
  }
5337
5324
  toApiJson() {
5338
5325
  const toReturn = {};
5339
- if (typeof this.field !== 'undefined') {
5340
- toReturn['field'] = this.field;
5326
+ if (typeof this.sequenceNumber !== 'undefined') {
5327
+ toReturn['sequenceNumber'] = this.sequenceNumber;
5341
5328
  }
5342
- if (typeof this.order !== 'undefined') {
5343
- toReturn['order'] = this.order;
5329
+ if (typeof this.start !== 'undefined' && this.start !== null) {
5330
+ toReturn['start'] = 'toApiJson' in this.start ? this.start.toApiJson() : this.start;
5331
+ }
5332
+ if (typeof this.content !== 'undefined' && this.content !== null) {
5333
+ toReturn['content'] = 'toApiJson' in this.content ? this.content.toApiJson() : this.content;
5334
+ }
5335
+ if (typeof this.metadata !== 'undefined' && this.metadata !== null) {
5336
+ toReturn['metadata'] = 'toApiJson' in this.metadata ? this.metadata.toApiJson() : this.metadata;
5337
+ }
5338
+ if (typeof this.functionStart !== 'undefined' && this.functionStart !== null) {
5339
+ toReturn['functionStart'] = 'toApiJson' in this.functionStart ? this.functionStart.toApiJson() : this.functionStart;
5340
+ }
5341
+ if (typeof this.functionProgress !== 'undefined' && this.functionProgress !== null) {
5342
+ toReturn['functionProgress'] = 'toApiJson' in this.functionProgress ? this.functionProgress.toApiJson() : this.functionProgress;
5343
+ }
5344
+ if (typeof this.functionComplete !== 'undefined' && this.functionComplete !== null) {
5345
+ toReturn['functionComplete'] = 'toApiJson' in this.functionComplete ? this.functionComplete.toApiJson() : this.functionComplete;
5346
+ }
5347
+ if (typeof this.final !== 'undefined' && this.final !== null) {
5348
+ toReturn['final'] = 'toApiJson' in this.final ? this.final.toApiJson() : this.final;
5349
+ }
5350
+ if (typeof this.error !== 'undefined' && this.error !== null) {
5351
+ toReturn['error'] = 'toApiJson' in this.error ? this.error.toApiJson() : this.error;
5344
5352
  }
5345
5353
  return toReturn;
5346
5354
  }
@@ -5429,32 +5437,6 @@ class UpdatePromptModuleRequest {
5429
5437
  return toReturn;
5430
5438
  }
5431
5439
  }
5432
- class UpdatePromptRequest {
5433
- static fromProto(proto) {
5434
- let m = new UpdatePromptRequest();
5435
- m = Object.assign(m, proto);
5436
- return m;
5437
- }
5438
- constructor(kwargs) {
5439
- if (!kwargs) {
5440
- return;
5441
- }
5442
- Object.assign(this, kwargs);
5443
- }
5444
- toApiJson() {
5445
- const toReturn = {};
5446
- if (typeof this.id !== 'undefined') {
5447
- toReturn['id'] = this.id;
5448
- }
5449
- if (typeof this.content !== 'undefined') {
5450
- toReturn['content'] = this.content;
5451
- }
5452
- if (typeof this.description !== 'undefined') {
5453
- toReturn['description'] = this.description;
5454
- }
5455
- return toReturn;
5456
- }
5457
- }
5458
5440
  class UpsertAssistantRequest {
5459
5441
  static fromProto(proto) {
5460
5442
  let m = new UpsertAssistantRequest();
@@ -5695,6 +5677,16 @@ class AssistantApiService {
5695
5677
  return this.http.post(this._host + "/ai_assistants.v1alpha1.AssistantService/GenerateChatAnswer", request.toApiJson(), this.apiOptions())
5696
5678
  .pipe(map(resp => GenerateChatAnswerResponse.fromProto(resp)));
5697
5679
  }
5680
+ streamingGenerateChatAnswer(r) {
5681
+ const request = (r.toApiJson) ? r : new StreamingGenerateChatAnswerRequest(r);
5682
+ return this.http.post(this._host + "/ai_assistants.v1alpha1.AssistantService/StreamingGenerateChatAnswer", request.toApiJson(), this.apiOptions())
5683
+ .pipe(map(resp => StreamingGenerateChatAnswerResponse.fromProto(resp)));
5684
+ }
5685
+ resumeStreamingGenerateChatAnswer(r) {
5686
+ const request = (r.toApiJson) ? r : new ResumeStreamingGenerateChatAnswerRequest(r);
5687
+ return this.http.post(this._host + "/ai_assistants.v1alpha1.AssistantService/ResumeStreamingGenerateChatAnswer", request.toApiJson(), this.apiOptions())
5688
+ .pipe(map(resp => StreamingGenerateChatAnswerResponse.fromProto(resp)));
5689
+ }
5698
5690
  getChatAnswerFunctionExecutionJob(r) {
5699
5691
  const request = (r.toApiJson) ? r : new GetChatAnswerFunctionExecutionJobRequest(r);
5700
5692
  return this.http.post(this._host + "/ai_assistants.v1alpha1.AssistantService/GetChatAnswerFunctionExecutionJob", request.toApiJson(), this.apiOptions())
@@ -6060,80 +6052,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
6060
6052
  args: [{ providedIn: 'root' }]
6061
6053
  }] });
6062
6054
 
6063
- // *********************************
6064
- // Code generated by sdkgen
6065
- // DO NOT EDIT!.
6066
- //
6067
- // API Service.
6068
- // *********************************
6069
- class PromptApiService {
6070
- constructor() {
6071
- this.hostService = inject(HostService);
6072
- this.http = inject(HttpClient);
6073
- this._host = this.hostService.hostWithScheme;
6074
- }
6075
- apiOptions() {
6076
- return {
6077
- headers: new HttpHeaders({
6078
- 'Content-Type': 'application/json'
6079
- }),
6080
- withCredentials: true
6081
- };
6082
- }
6083
- create(r) {
6084
- const request = (r.toApiJson) ? r : new CreatePromptRequest(r);
6085
- return this.http.post(this._host + "/ai_assistants.v1alpha1.PromptService/Create", request.toApiJson(), Object.assign(Object.assign({}, this.apiOptions()), { observe: 'response' }));
6086
- }
6087
- get(r) {
6088
- const request = (r.toApiJson) ? r : new GetPromptRequest(r);
6089
- return this.http.post(this._host + "/ai_assistants.v1alpha1.PromptService/Get", request.toApiJson(), this.apiOptions())
6090
- .pipe(map(resp => GetPromptResponse.fromProto(resp)));
6091
- }
6092
- getVersion(r) {
6093
- const request = (r.toApiJson) ? r : new GetPromptVersionRequest(r);
6094
- return this.http.post(this._host + "/ai_assistants.v1alpha1.PromptService/GetVersion", request.toApiJson(), this.apiOptions())
6095
- .pipe(map(resp => GetPromptVersionResponse.fromProto(resp)));
6096
- }
6097
- getDeployedVersion(r) {
6098
- const request = (r.toApiJson) ? r : new GetDeployedPromptVersionRequest(r);
6099
- return this.http.post(this._host + "/ai_assistants.v1alpha1.PromptService/GetDeployedVersion", request.toApiJson(), this.apiOptions())
6100
- .pipe(map(resp => GetDeployedPromptVersionResponse.fromProto(resp)));
6101
- }
6102
- getMultiDeployedVersion(r) {
6103
- const request = (r.toApiJson) ? r : new GetMultiDeployedPromptVersionRequest(r);
6104
- return this.http.post(this._host + "/ai_assistants.v1alpha1.PromptService/GetMultiDeployedVersion", request.toApiJson(), this.apiOptions())
6105
- .pipe(map(resp => GetMultiDeployedPromptVersionResponse.fromProto(resp)));
6106
- }
6107
- update(r) {
6108
- const request = (r.toApiJson) ? r : new UpdatePromptRequest(r);
6109
- return this.http.post(this._host + "/ai_assistants.v1alpha1.PromptService/Update", request.toApiJson(), Object.assign(Object.assign({}, this.apiOptions()), { observe: 'response' }));
6110
- }
6111
- deploy(r) {
6112
- const request = (r.toApiJson) ? r : new DeployPromptRequest(r);
6113
- return this.http.post(this._host + "/ai_assistants.v1alpha1.PromptService/Deploy", request.toApiJson(), Object.assign(Object.assign({}, this.apiOptions()), { observe: 'response' }));
6114
- }
6115
- list(r) {
6116
- const request = (r.toApiJson) ? r : new ListPromptRequest(r);
6117
- return this.http.post(this._host + "/ai_assistants.v1alpha1.PromptService/List", request.toApiJson(), this.apiOptions())
6118
- .pipe(map(resp => ListPromptResponse.fromProto(resp)));
6119
- }
6120
- listVersions(r) {
6121
- const request = (r.toApiJson) ? r : new ListPromptVersionsRequest(r);
6122
- return this.http.post(this._host + "/ai_assistants.v1alpha1.PromptService/ListVersions", request.toApiJson(), this.apiOptions())
6123
- .pipe(map(resp => ListPromptVersionsResponse.fromProto(resp)));
6124
- }
6125
- delete(r) {
6126
- const request = (r.toApiJson) ? r : new DeletePromptRequest(r);
6127
- return this.http.post(this._host + "/ai_assistants.v1alpha1.PromptService/Delete", request.toApiJson(), Object.assign(Object.assign({}, this.apiOptions()), { observe: 'response' }));
6128
- }
6129
- }
6130
- PromptApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PromptApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
6131
- PromptApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PromptApiService, providedIn: 'root' });
6132
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PromptApiService, decorators: [{
6133
- type: Injectable,
6134
- args: [{ providedIn: 'root' }]
6135
- }] });
6136
-
6137
6055
  // *********************************
6138
6056
  // Code generated by sdkgen
6139
6057
  // DO NOT EDIT!.
@@ -6145,5 +6063,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
6145
6063
  * Generated bundle index. Do not edit.
6146
6064
  */
6147
6065
 
6148
- export { Access, Action, 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, CreatePromptRequest, DeepgramConfig, DeleteAssistantRequest, DeleteConnectionRequest, DeleteFunctionRequest, DeleteGoalRequest, DeleteMCPRequest, DeletePromptModuleRequest, DeletePromptRequest, DeleteTestCasesRequest, DeployPromptModuleRequest, DeployPromptRequest, 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, 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, ListGoalsRequestSortOptions, ListGoalsRequestSortingOrder, ListGoalsResponse, ListMCPToolsRequest, ListMCPToolsResponse, ListMCPsRequest, ListMCPsRequestFilters, ListMCPsResponse, ListPromptModuleRequest, ListPromptModuleRequestFilters, ListPromptModuleResponse, ListPromptModuleVersionsRequest, ListPromptModuleVersionsResponse, ListPromptRequest, ListPromptResponse, ListPromptVersionsRequest, ListPromptVersionsResponse, ListTemplateVariablesRequest, ListTemplateVariablesResponse, ListTestCasesByAssistantRequest, ListTestCasesByAssistantResponse, ListTestRunsByAssistantRequest, ListTestRunsByAssistantResponse, MCP, MCPOptions, Model, ModelConfig, ModelType, ModelVendor, Namespace, NamespaceAccountGroupNamespace, NamespaceGlobalNamespace, NamespacePartnerNamespace, NamespaceSystemNamespace, NamespaceType, OpenAIRealtimeConfig, OpenAIRealtimeConfigTurnDetection, PagedRequestOptions, PagedResponseMetadata, Prompt, PromptApiService, PromptModule, PromptModuleApiService, PromptModuleKey, PromptModuleVersion, PromptVersion, RunTestsRequest, RunTestsResponse, Scope, SetAssistantConnectionsRequest, SetAssistantConnectionsRequestConnectionState, SortDirection, SortOptions, StreamingGenerateChatAnswerResponseContentType, TemplateVariable, TestCase, TestResult, TestResultCitation, TestRun, UpdateAssistantRequest, UpdateGoalRequest, UpdatePromptModuleRequest, UpdatePromptRequest, UpsertAssistantRequest, UpsertAssistantRequestOptions, UpsertAssistantResponse, UpsertConnectionRequest, UpsertFunctionRequest, UpsertGoalRequest, UpsertMCPRequest, UpsertTestCasesRequest, ValidatePromptModuleRequest, ValidatePromptModuleResponse, VendorModel };
6066
+ 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, OpenAIRealtimeConfig, OpenAIRealtimeConfigTurnDetection, PagedRequestOptions, PagedResponseMetadata, Prompt, PromptModule, PromptModuleApiService, PromptModuleKey, PromptModuleVersion, PromptVersion, ResumeStreamingGenerateChatAnswerRequest, RunTestsRequest, RunTestsResponse, Scope, SetAssistantConnectionsRequest, SetAssistantConnectionsRequestConnectionState, SortDirection, SortOptions, StreamingGenerateChatAnswerRequest, StreamingGenerateChatAnswerResponse, StreamingGenerateChatAnswerResponseContentChunk, StreamingGenerateChatAnswerResponseContentType, StreamingGenerateChatAnswerResponseErrorChunk, StreamingGenerateChatAnswerResponseFinalChunk, StreamingGenerateChatAnswerResponseFunctionCompleteChunk, StreamingGenerateChatAnswerResponseFunctionProgressChunk, StreamingGenerateChatAnswerResponseFunctionStartChunk, StreamingGenerateChatAnswerResponseMetadataChunk, StreamingGenerateChatAnswerResponseStartChunk, TemplateVariable, TestCase, TestResult, TestResultCitation, TestRun, UpdateAssistantRequest, UpdateGoalRequest, UpdatePromptModuleRequest, UpsertAssistantRequest, UpsertAssistantRequestOptions, UpsertAssistantResponse, UpsertConnectionRequest, UpsertFunctionRequest, UpsertGoalRequest, UpsertMCPRequest, UpsertTestCasesRequest, ValidatePromptModuleRequest, ValidatePromptModuleResponse, VendorModel };
6149
6067
  //# sourceMappingURL=vendasta-ai-assistants.mjs.map