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