@vendasta/ai-assistants 0.58.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.
@@ -2826,6 +2826,32 @@ class SetAssistantConnectionsRequestConnectionState {
2826
2826
  return toReturn;
2827
2827
  }
2828
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
+ }
2829
2855
  class CreateAssistantRequest {
2830
2856
  static fromProto(proto) {
2831
2857
  let m = new CreateAssistantRequest();
@@ -3014,32 +3040,6 @@ class CreatePromptModuleVersionRequest {
3014
3040
  return toReturn;
3015
3041
  }
3016
3042
  }
3017
- class CreatePromptRequest {
3018
- static fromProto(proto) {
3019
- let m = new CreatePromptRequest();
3020
- m = Object.assign(m, proto);
3021
- return m;
3022
- }
3023
- constructor(kwargs) {
3024
- if (!kwargs) {
3025
- return;
3026
- }
3027
- Object.assign(this, kwargs);
3028
- }
3029
- toApiJson() {
3030
- const toReturn = {};
3031
- if (typeof this.id !== 'undefined') {
3032
- toReturn['id'] = this.id;
3033
- }
3034
- if (typeof this.content !== 'undefined') {
3035
- toReturn['content'] = this.content;
3036
- }
3037
- if (typeof this.description !== 'undefined') {
3038
- toReturn['description'] = this.description;
3039
- }
3040
- return toReturn;
3041
- }
3042
- }
3043
3043
  class DeleteAssistantRequest {
3044
3044
  static fromProto(proto) {
3045
3045
  let m = new DeleteAssistantRequest();
@@ -3179,26 +3179,6 @@ class DeletePromptModuleRequest {
3179
3179
  return toReturn;
3180
3180
  }
3181
3181
  }
3182
- class DeletePromptRequest {
3183
- static fromProto(proto) {
3184
- let m = new DeletePromptRequest();
3185
- m = Object.assign(m, proto);
3186
- return m;
3187
- }
3188
- constructor(kwargs) {
3189
- if (!kwargs) {
3190
- return;
3191
- }
3192
- Object.assign(this, kwargs);
3193
- }
3194
- toApiJson() {
3195
- const toReturn = {};
3196
- if (typeof this.id !== 'undefined') {
3197
- toReturn['id'] = this.id;
3198
- }
3199
- return toReturn;
3200
- }
3201
- }
3202
3182
  class DeployPromptModuleRequest {
3203
3183
  static fromProto(proto) {
3204
3184
  let m = new DeployPromptModuleRequest();
@@ -3228,10 +3208,13 @@ class DeployPromptModuleRequest {
3228
3208
  return toReturn;
3229
3209
  }
3230
3210
  }
3231
- class DeployPromptRequest {
3211
+ class StreamingGenerateChatAnswerResponseErrorChunk {
3232
3212
  static fromProto(proto) {
3233
- let m = new DeployPromptRequest();
3213
+ let m = new StreamingGenerateChatAnswerResponseErrorChunk();
3234
3214
  m = Object.assign(m, proto);
3215
+ if (proto.errorDetails) {
3216
+ m.errorDetails = proto.errorDetails.map(KeyValuePair.fromProto);
3217
+ }
3235
3218
  return m;
3236
3219
  }
3237
3220
  constructor(kwargs) {
@@ -3242,11 +3225,17 @@ class DeployPromptRequest {
3242
3225
  }
3243
3226
  toApiJson() {
3244
3227
  const toReturn = {};
3245
- if (typeof this.id !== 'undefined') {
3246
- toReturn['id'] = this.id;
3228
+ if (typeof this.errorMessage !== 'undefined') {
3229
+ toReturn['errorMessage'] = this.errorMessage;
3247
3230
  }
3248
- if (typeof this.version !== 'undefined') {
3249
- 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;
3250
3239
  }
3251
3240
  return toReturn;
3252
3241
  }
@@ -3315,15 +3304,27 @@ class ExecuteFunctionResponse {
3315
3304
  return toReturn;
3316
3305
  }
3317
3306
  }
3318
- class ListAssistantRequestFilters {
3307
+ class ListGoalsRequestFilters {
3319
3308
  static fromProto(proto) {
3320
- let m = new ListAssistantRequestFilters();
3309
+ let m = new ListGoalsRequestFilters();
3321
3310
  m = Object.assign(m, proto);
3322
3311
  if (proto.namespace) {
3323
3312
  m.namespace = Namespace.fromProto(proto.namespace);
3324
3313
  }
3325
3314
  if (proto.type) {
3326
- 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);
3327
3328
  }
3328
3329
  return m;
3329
3330
  }
@@ -3341,18 +3342,33 @@ class ListAssistantRequestFilters {
3341
3342
  if (typeof this.type !== 'undefined') {
3342
3343
  toReturn['type'] = this.type;
3343
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
+ }
3344
3363
  return toReturn;
3345
3364
  }
3346
3365
  }
3347
- class ListAvailableModelsRequestFilters {
3366
+ class ListPromptModuleRequestFilters {
3348
3367
  static fromProto(proto) {
3349
- let m = new ListAvailableModelsRequestFilters();
3368
+ let m = new ListPromptModuleRequestFilters();
3350
3369
  m = Object.assign(m, proto);
3351
- if (proto.vendor) {
3352
- m.vendor = proto.vendor.map((v) => enumStringToValue(ModelVendor, v));
3353
- }
3354
- if (proto.type) {
3355
- m.type = proto.type.map((v) => enumStringToValue(ModelType, v));
3370
+ if (proto.namespace) {
3371
+ m.namespace = Namespace.fromProto(proto.namespace);
3356
3372
  }
3357
3373
  return m;
3358
3374
  }
@@ -3364,24 +3380,21 @@ class ListAvailableModelsRequestFilters {
3364
3380
  }
3365
3381
  toApiJson() {
3366
3382
  const toReturn = {};
3367
- if (typeof this.vendor !== 'undefined') {
3368
- toReturn['vendor'] = this.vendor;
3369
- }
3370
- if (typeof this.type !== 'undefined') {
3371
- 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;
3372
3385
  }
3373
3386
  return toReturn;
3374
3387
  }
3375
3388
  }
3376
- class ListConnectionsRequestFilters {
3389
+ class ListAssistantRequestFilters {
3377
3390
  static fromProto(proto) {
3378
- let m = new ListConnectionsRequestFilters();
3391
+ let m = new ListAssistantRequestFilters();
3379
3392
  m = Object.assign(m, proto);
3380
3393
  if (proto.namespace) {
3381
3394
  m.namespace = Namespace.fromProto(proto.namespace);
3382
3395
  }
3383
- if (proto.assistantType) {
3384
- m.assistantType = enumStringToValue(AssistantType, proto.assistantType);
3396
+ if (proto.type) {
3397
+ m.type = enumStringToValue(AssistantType, proto.type);
3385
3398
  }
3386
3399
  return m;
3387
3400
  }
@@ -3396,19 +3409,22 @@ class ListConnectionsRequestFilters {
3396
3409
  if (typeof this.namespace !== 'undefined' && this.namespace !== null) {
3397
3410
  toReturn['namespace'] = 'toApiJson' in this.namespace ? this.namespace.toApiJson() : this.namespace;
3398
3411
  }
3399
- if (typeof this.assistantType !== 'undefined') {
3400
- toReturn['assistantType'] = this.assistantType;
3412
+ if (typeof this.type !== 'undefined') {
3413
+ toReturn['type'] = this.type;
3401
3414
  }
3402
3415
  return toReturn;
3403
3416
  }
3404
3417
  }
3405
- class ListPromptModuleRequestFilters {
3418
+ class ListConnectionsRequestFilters {
3406
3419
  static fromProto(proto) {
3407
- let m = new ListPromptModuleRequestFilters();
3420
+ let m = new ListConnectionsRequestFilters();
3408
3421
  m = Object.assign(m, proto);
3409
3422
  if (proto.namespace) {
3410
3423
  m.namespace = Namespace.fromProto(proto.namespace);
3411
3424
  }
3425
+ if (proto.assistantType) {
3426
+ m.assistantType = enumStringToValue(AssistantType, proto.assistantType);
3427
+ }
3412
3428
  return m;
3413
3429
  }
3414
3430
  constructor(kwargs) {
@@ -3422,31 +3438,25 @@ class ListPromptModuleRequestFilters {
3422
3438
  if (typeof this.namespace !== 'undefined' && this.namespace !== null) {
3423
3439
  toReturn['namespace'] = 'toApiJson' in this.namespace ? this.namespace.toApiJson() : this.namespace;
3424
3440
  }
3441
+ if (typeof this.assistantType !== 'undefined') {
3442
+ toReturn['assistantType'] = this.assistantType;
3443
+ }
3425
3444
  return toReturn;
3426
3445
  }
3427
3446
  }
3428
- class ListGoalsRequestFilters {
3447
+ class ListFunctionRequestFilters {
3429
3448
  static fromProto(proto) {
3430
- let m = new ListGoalsRequestFilters();
3449
+ let m = new ListFunctionRequestFilters();
3431
3450
  m = Object.assign(m, proto);
3432
3451
  if (proto.namespace) {
3433
3452
  m.namespace = Namespace.fromProto(proto.namespace);
3434
3453
  }
3435
- if (proto.type) {
3436
- m.type = enumStringToValue(GoalType, proto.type);
3437
- }
3438
- if (proto.supportedChannels) {
3439
- m.supportedChannels = proto.supportedChannels.map((v) => enumStringToValue(GoalChannel, v));
3440
- }
3441
3454
  if (proto.namespaces) {
3442
3455
  m.namespaces = proto.namespaces.map(Namespace.fromProto);
3443
3456
  }
3444
3457
  if (proto.constraintFilters) {
3445
3458
  m.constraintFilters = proto.constraintFilters.map(ConstraintFilter.fromProto);
3446
3459
  }
3447
- if (proto.sortOptions) {
3448
- m.sortOptions = proto.sortOptions.map(ListGoalsRequestSortOptions.fromProto);
3449
- }
3450
3460
  return m;
3451
3461
  }
3452
3462
  constructor(kwargs) {
@@ -3460,26 +3470,43 @@ class ListGoalsRequestFilters {
3460
3470
  if (typeof this.namespace !== 'undefined' && this.namespace !== null) {
3461
3471
  toReturn['namespace'] = 'toApiJson' in this.namespace ? this.namespace.toApiJson() : this.namespace;
3462
3472
  }
3463
- if (typeof this.type !== 'undefined') {
3464
- toReturn['type'] = this.type;
3465
- }
3466
- if (typeof this.supportedChannels !== 'undefined') {
3467
- toReturn['supportedChannels'] = this.supportedChannels;
3468
- }
3469
3473
  if (typeof this.namespaces !== 'undefined' && this.namespaces !== null) {
3470
3474
  toReturn['namespaces'] = 'toApiJson' in this.namespaces ? this.namespaces.toApiJson() : this.namespaces;
3471
3475
  }
3476
+ if (typeof this.mcpId !== 'undefined') {
3477
+ toReturn['mcpId'] = this.mcpId;
3478
+ }
3472
3479
  if (typeof this.constraintFilters !== 'undefined' && this.constraintFilters !== null) {
3473
3480
  toReturn['constraintFilters'] = 'toApiJson' in this.constraintFilters ? this.constraintFilters.toApiJson() : this.constraintFilters;
3474
3481
  }
3475
- if (typeof this.searchTerm !== 'undefined') {
3476
- 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));
3477
3491
  }
3478
- if (typeof this.sortOptions !== 'undefined' && this.sortOptions !== null) {
3479
- 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));
3480
3494
  }
3481
- if (typeof this.omitOverrides !== 'undefined') {
3482
- 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;
3483
3510
  }
3484
3511
  return toReturn;
3485
3512
  }
@@ -3507,19 +3534,59 @@ class ListAllAssistantsAssociatedToConnectionRequestFilters {
3507
3534
  return toReturn;
3508
3535
  }
3509
3536
  }
3510
- class ListFunctionRequestFilters {
3537
+ class StreamingGenerateChatAnswerResponseFinalChunk {
3511
3538
  static fromProto(proto) {
3512
- let m = new ListFunctionRequestFilters();
3539
+ let m = new StreamingGenerateChatAnswerResponseFinalChunk();
3513
3540
  m = Object.assign(m, proto);
3514
- if (proto.namespace) {
3515
- m.namespace = Namespace.fromProto(proto.namespace);
3541
+ return m;
3542
+ }
3543
+ constructor(kwargs) {
3544
+ if (!kwargs) {
3545
+ return;
3516
3546
  }
3517
- if (proto.namespaces) {
3518
- 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);
3519
3560
  }
3520
- if (proto.constraintFilters) {
3521
- 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;
3522
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);
3523
3590
  return m;
3524
3591
  }
3525
3592
  constructor(kwargs) {
@@ -3530,17 +3597,46 @@ class ListFunctionRequestFilters {
3530
3597
  }
3531
3598
  toApiJson() {
3532
3599
  const toReturn = {};
3533
- if (typeof this.namespace !== 'undefined' && this.namespace !== null) {
3534
- toReturn['namespace'] = 'toApiJson' in this.namespace ? this.namespace.toApiJson() : this.namespace;
3600
+ if (typeof this.functionName !== 'undefined') {
3601
+ toReturn['functionName'] = this.functionName;
3535
3602
  }
3536
- if (typeof this.namespaces !== 'undefined' && this.namespaces !== null) {
3537
- toReturn['namespaces'] = 'toApiJson' in this.namespaces ? this.namespaces.toApiJson() : this.namespaces;
3603
+ if (typeof this.status !== 'undefined') {
3604
+ toReturn['status'] = this.status;
3538
3605
  }
3539
- if (typeof this.mcpId !== 'undefined') {
3540
- toReturn['mcpId'] = this.mcpId;
3606
+ if (typeof this.progressMessage !== 'undefined') {
3607
+ toReturn['progressMessage'] = this.progressMessage;
3541
3608
  }
3542
- if (typeof this.constraintFilters !== 'undefined' && this.constraintFilters !== null) {
3543
- 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;
3544
3640
  }
3545
3641
  return toReturn;
3546
3642
  }
@@ -3841,55 +3937,6 @@ class GetDeployedPromptModuleVersionResponse {
3841
3937
  return toReturn;
3842
3938
  }
3843
3939
  }
3844
- class GetDeployedPromptVersionRequest {
3845
- static fromProto(proto) {
3846
- let m = new GetDeployedPromptVersionRequest();
3847
- m = Object.assign(m, proto);
3848
- return m;
3849
- }
3850
- constructor(kwargs) {
3851
- if (!kwargs) {
3852
- return;
3853
- }
3854
- Object.assign(this, kwargs);
3855
- }
3856
- toApiJson() {
3857
- const toReturn = {};
3858
- if (typeof this.id !== 'undefined') {
3859
- toReturn['id'] = this.id;
3860
- }
3861
- return toReturn;
3862
- }
3863
- }
3864
- class GetDeployedPromptVersionResponse {
3865
- static fromProto(proto) {
3866
- let m = new GetDeployedPromptVersionResponse();
3867
- m = Object.assign(m, proto);
3868
- if (proto.prompt) {
3869
- m.prompt = Prompt.fromProto(proto.prompt);
3870
- }
3871
- if (proto.deployedPromptVersion) {
3872
- m.deployedPromptVersion = PromptVersion.fromProto(proto.deployedPromptVersion);
3873
- }
3874
- return m;
3875
- }
3876
- constructor(kwargs) {
3877
- if (!kwargs) {
3878
- return;
3879
- }
3880
- Object.assign(this, kwargs);
3881
- }
3882
- toApiJson() {
3883
- const toReturn = {};
3884
- if (typeof this.prompt !== 'undefined' && this.prompt !== null) {
3885
- toReturn['prompt'] = 'toApiJson' in this.prompt ? this.prompt.toApiJson() : this.prompt;
3886
- }
3887
- if (typeof this.deployedPromptVersion !== 'undefined' && this.deployedPromptVersion !== null) {
3888
- toReturn['deployedPromptVersion'] = 'toApiJson' in this.deployedPromptVersion ? this.deployedPromptVersion.toApiJson() : this.deployedPromptVersion;
3889
- }
3890
- return toReturn;
3891
- }
3892
- }
3893
3940
  class GetFunctionRequest {
3894
3941
  static fromProto(proto) {
3895
3942
  let m = new GetFunctionRequest();
@@ -4092,55 +4139,6 @@ class GetMultiAssistantResponse {
4092
4139
  return toReturn;
4093
4140
  }
4094
4141
  }
4095
- class GetMultiDeployedPromptVersionRequest {
4096
- static fromProto(proto) {
4097
- let m = new GetMultiDeployedPromptVersionRequest();
4098
- m = Object.assign(m, proto);
4099
- return m;
4100
- }
4101
- constructor(kwargs) {
4102
- if (!kwargs) {
4103
- return;
4104
- }
4105
- Object.assign(this, kwargs);
4106
- }
4107
- toApiJson() {
4108
- const toReturn = {};
4109
- if (typeof this.ids !== 'undefined') {
4110
- toReturn['ids'] = this.ids;
4111
- }
4112
- return toReturn;
4113
- }
4114
- }
4115
- class GetMultiDeployedPromptVersionResponse {
4116
- static fromProto(proto) {
4117
- let m = new GetMultiDeployedPromptVersionResponse();
4118
- m = Object.assign(m, proto);
4119
- if (proto.prompts) {
4120
- m.prompts = proto.prompts.map(Prompt.fromProto);
4121
- }
4122
- if (proto.deployedPromptVersions) {
4123
- m.deployedPromptVersions = proto.deployedPromptVersions.map(PromptVersion.fromProto);
4124
- }
4125
- return m;
4126
- }
4127
- constructor(kwargs) {
4128
- if (!kwargs) {
4129
- return;
4130
- }
4131
- Object.assign(this, kwargs);
4132
- }
4133
- toApiJson() {
4134
- const toReturn = {};
4135
- if (typeof this.prompts !== 'undefined' && this.prompts !== null) {
4136
- toReturn['prompts'] = 'toApiJson' in this.prompts ? this.prompts.toApiJson() : this.prompts;
4137
- }
4138
- if (typeof this.deployedPromptVersions !== 'undefined' && this.deployedPromptVersions !== null) {
4139
- toReturn['deployedPromptVersions'] = 'toApiJson' in this.deployedPromptVersions ? this.deployedPromptVersions.toApiJson() : this.deployedPromptVersions;
4140
- }
4141
- return toReturn;
4142
- }
4143
- }
4144
4142
  class GetMultiFunctionRequest {
4145
4143
  static fromProto(proto) {
4146
4144
  let m = new GetMultiFunctionRequest();
@@ -4383,95 +4381,6 @@ class GetPromptModuleVersionResponse {
4383
4381
  return toReturn;
4384
4382
  }
4385
4383
  }
4386
- class GetPromptRequest {
4387
- static fromProto(proto) {
4388
- let m = new GetPromptRequest();
4389
- m = Object.assign(m, proto);
4390
- return m;
4391
- }
4392
- constructor(kwargs) {
4393
- if (!kwargs) {
4394
- return;
4395
- }
4396
- Object.assign(this, kwargs);
4397
- }
4398
- toApiJson() {
4399
- const toReturn = {};
4400
- if (typeof this.id !== 'undefined') {
4401
- toReturn['id'] = this.id;
4402
- }
4403
- return toReturn;
4404
- }
4405
- }
4406
- class GetPromptResponse {
4407
- static fromProto(proto) {
4408
- let m = new GetPromptResponse();
4409
- m = Object.assign(m, proto);
4410
- if (proto.prompt) {
4411
- m.prompt = Prompt.fromProto(proto.prompt);
4412
- }
4413
- return m;
4414
- }
4415
- constructor(kwargs) {
4416
- if (!kwargs) {
4417
- return;
4418
- }
4419
- Object.assign(this, kwargs);
4420
- }
4421
- toApiJson() {
4422
- const toReturn = {};
4423
- if (typeof this.prompt !== 'undefined' && this.prompt !== null) {
4424
- toReturn['prompt'] = 'toApiJson' in this.prompt ? this.prompt.toApiJson() : this.prompt;
4425
- }
4426
- return toReturn;
4427
- }
4428
- }
4429
- class GetPromptVersionRequest {
4430
- static fromProto(proto) {
4431
- let m = new GetPromptVersionRequest();
4432
- m = Object.assign(m, proto);
4433
- return m;
4434
- }
4435
- constructor(kwargs) {
4436
- if (!kwargs) {
4437
- return;
4438
- }
4439
- Object.assign(this, kwargs);
4440
- }
4441
- toApiJson() {
4442
- const toReturn = {};
4443
- if (typeof this.id !== 'undefined') {
4444
- toReturn['id'] = this.id;
4445
- }
4446
- if (typeof this.version !== 'undefined') {
4447
- toReturn['version'] = this.version;
4448
- }
4449
- return toReturn;
4450
- }
4451
- }
4452
- class GetPromptVersionResponse {
4453
- static fromProto(proto) {
4454
- let m = new GetPromptVersionResponse();
4455
- m = Object.assign(m, proto);
4456
- if (proto.promptVersion) {
4457
- m.promptVersion = PromptVersion.fromProto(proto.promptVersion);
4458
- }
4459
- return m;
4460
- }
4461
- constructor(kwargs) {
4462
- if (!kwargs) {
4463
- return;
4464
- }
4465
- Object.assign(this, kwargs);
4466
- }
4467
- toApiJson() {
4468
- const toReturn = {};
4469
- if (typeof this.promptVersion !== 'undefined' && this.promptVersion !== null) {
4470
- toReturn['promptVersion'] = 'toApiJson' in this.promptVersion ? this.promptVersion.toApiJson() : this.promptVersion;
4471
- }
4472
- return toReturn;
4473
- }
4474
- }
4475
4384
  class GoalsDisabledForAccountGroupRequest {
4476
4385
  static fromProto(proto) {
4477
4386
  let m = new GoalsDisabledForAccountGroupRequest();
@@ -4976,12 +4885,15 @@ class ListPromptModuleVersionsResponse {
4976
4885
  return toReturn;
4977
4886
  }
4978
4887
  }
4979
- class ListPromptRequest {
4888
+ class ListTemplateVariablesRequest {
4980
4889
  static fromProto(proto) {
4981
- let m = new ListPromptRequest();
4890
+ let m = new ListTemplateVariablesRequest();
4982
4891
  m = Object.assign(m, proto);
4983
- if (proto.pagingOptions) {
4984
- 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);
4985
4897
  }
4986
4898
  return m;
4987
4899
  }
@@ -4993,24 +4905,44 @@ class ListPromptRequest {
4993
4905
  }
4994
4906
  toApiJson() {
4995
4907
  const toReturn = {};
4996
- if (typeof this.pagingOptions !== 'undefined' && this.pagingOptions !== null) {
4997
- 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;
4998
4913
  }
4999
4914
  return toReturn;
5000
4915
  }
5001
4916
  }
5002
- class ListPromptResponse {
4917
+ class ListTemplateVariablesResponse {
5003
4918
  static fromProto(proto) {
5004
- let m = new ListPromptResponse();
4919
+ let m = new ListTemplateVariablesResponse();
5005
4920
  m = Object.assign(m, proto);
5006
- if (proto.prompts) {
5007
- 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;
5008
4929
  }
5009
- if (proto.deployedPromptVersions) {
5010
- 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;
5011
4936
  }
4937
+ return toReturn;
4938
+ }
4939
+ }
4940
+ class StreamingGenerateChatAnswerResponseMetadataChunk {
4941
+ static fromProto(proto) {
4942
+ let m = new StreamingGenerateChatAnswerResponseMetadataChunk();
4943
+ m = Object.assign(m, proto);
5012
4944
  if (proto.metadata) {
5013
- m.metadata = PagedResponseMetadata.fromProto(proto.metadata);
4945
+ m.metadata = proto.metadata.map(KeyValuePair.fromProto);
5014
4946
  }
5015
4947
  return m;
5016
4948
  }
@@ -5022,25 +4954,16 @@ class ListPromptResponse {
5022
4954
  }
5023
4955
  toApiJson() {
5024
4956
  const toReturn = {};
5025
- if (typeof this.prompts !== 'undefined' && this.prompts !== null) {
5026
- toReturn['prompts'] = 'toApiJson' in this.prompts ? this.prompts.toApiJson() : this.prompts;
5027
- }
5028
- if (typeof this.deployedPromptVersions !== 'undefined' && this.deployedPromptVersions !== null) {
5029
- toReturn['deployedPromptVersions'] = 'toApiJson' in this.deployedPromptVersions ? this.deployedPromptVersions.toApiJson() : this.deployedPromptVersions;
5030
- }
5031
4957
  if (typeof this.metadata !== 'undefined' && this.metadata !== null) {
5032
4958
  toReturn['metadata'] = 'toApiJson' in this.metadata ? this.metadata.toApiJson() : this.metadata;
5033
4959
  }
5034
4960
  return toReturn;
5035
4961
  }
5036
4962
  }
5037
- class ListPromptVersionsRequest {
4963
+ class GetAssistantRequestOptions {
5038
4964
  static fromProto(proto) {
5039
- let m = new ListPromptVersionsRequest();
4965
+ let m = new GetAssistantRequestOptions();
5040
4966
  m = Object.assign(m, proto);
5041
- if (proto.pagingOptions) {
5042
- m.pagingOptions = PagedRequestOptions.fromProto(proto.pagingOptions);
5043
- }
5044
4967
  return m;
5045
4968
  }
5046
4969
  constructor(kwargs) {
@@ -5051,25 +4974,36 @@ class ListPromptVersionsRequest {
5051
4974
  }
5052
4975
  toApiJson() {
5053
4976
  const toReturn = {};
5054
- if (typeof this.id !== 'undefined') {
5055
- toReturn['id'] = this.id;
4977
+ if (typeof this.skipGoalsHydration !== 'undefined') {
4978
+ toReturn['skipGoalsHydration'] = this.skipGoalsHydration;
5056
4979
  }
5057
- if (typeof this.pagingOptions !== 'undefined' && this.pagingOptions !== null) {
5058
- 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;
5059
4999
  }
5060
5000
  return toReturn;
5061
5001
  }
5062
5002
  }
5063
- class ListPromptVersionsResponse {
5003
+ class UpsertAssistantRequestOptions {
5064
5004
  static fromProto(proto) {
5065
- let m = new ListPromptVersionsResponse();
5005
+ let m = new UpsertAssistantRequestOptions();
5066
5006
  m = Object.assign(m, proto);
5067
- if (proto.promptVersions) {
5068
- m.promptVersions = proto.promptVersions.map(PromptVersion.fromProto);
5069
- }
5070
- if (proto.metadata) {
5071
- m.metadata = PagedResponseMetadata.fromProto(proto.metadata);
5072
- }
5073
5007
  return m;
5074
5008
  }
5075
5009
  constructor(kwargs) {
@@ -5080,25 +5014,16 @@ class ListPromptVersionsResponse {
5080
5014
  }
5081
5015
  toApiJson() {
5082
5016
  const toReturn = {};
5083
- if (typeof this.promptVersions !== 'undefined' && this.promptVersions !== null) {
5084
- toReturn['promptVersions'] = 'toApiJson' in this.promptVersions ? this.promptVersions.toApiJson() : this.promptVersions;
5085
- }
5086
- if (typeof this.metadata !== 'undefined' && this.metadata !== null) {
5087
- toReturn['metadata'] = 'toApiJson' in this.metadata ? this.metadata.toApiJson() : this.metadata;
5017
+ if (typeof this.applyDefaults !== 'undefined') {
5018
+ toReturn['applyDefaults'] = this.applyDefaults;
5088
5019
  }
5089
5020
  return toReturn;
5090
5021
  }
5091
5022
  }
5092
- class ListTemplateVariablesRequest {
5023
+ class CreateAssistantRequestOptions {
5093
5024
  static fromProto(proto) {
5094
- let m = new ListTemplateVariablesRequest();
5025
+ let m = new CreateAssistantRequestOptions();
5095
5026
  m = Object.assign(m, proto);
5096
- if (proto.assistantKey) {
5097
- m.assistantKey = AssistantKey.fromProto(proto.assistantKey);
5098
- }
5099
- if (proto.chatUserInfo) {
5100
- m.chatUserInfo = ChatUserInfo.fromProto(proto.chatUserInfo);
5101
- }
5102
5027
  return m;
5103
5028
  }
5104
5029
  constructor(kwargs) {
@@ -5109,21 +5034,18 @@ class ListTemplateVariablesRequest {
5109
5034
  }
5110
5035
  toApiJson() {
5111
5036
  const toReturn = {};
5112
- if (typeof this.assistantKey !== 'undefined' && this.assistantKey !== null) {
5113
- toReturn['assistantKey'] = 'toApiJson' in this.assistantKey ? this.assistantKey.toApiJson() : this.assistantKey;
5114
- }
5115
- if (typeof this.chatUserInfo !== 'undefined' && this.chatUserInfo !== null) {
5116
- toReturn['chatUserInfo'] = 'toApiJson' in this.chatUserInfo ? this.chatUserInfo.toApiJson() : this.chatUserInfo;
5037
+ if (typeof this.applyDefaults !== 'undefined') {
5038
+ toReturn['applyDefaults'] = this.applyDefaults;
5117
5039
  }
5118
5040
  return toReturn;
5119
5041
  }
5120
5042
  }
5121
- class ListTemplateVariablesResponse {
5043
+ class ExecuteFunctionRequestOptions {
5122
5044
  static fromProto(proto) {
5123
- let m = new ListTemplateVariablesResponse();
5045
+ let m = new ExecuteFunctionRequestOptions();
5124
5046
  m = Object.assign(m, proto);
5125
- if (proto.assistantScopedVariables) {
5126
- m.assistantScopedVariables = proto.assistantScopedVariables.map(TemplateVariable.fromProto);
5047
+ if (proto.contextInfo) {
5048
+ m.contextInfo = ContextInfo.fromProto(proto.contextInfo);
5127
5049
  }
5128
5050
  return m;
5129
5051
  }
@@ -5135,8 +5057,11 @@ class ListTemplateVariablesResponse {
5135
5057
  }
5136
5058
  toApiJson() {
5137
5059
  const toReturn = {};
5138
- if (typeof this.assistantScopedVariables !== 'undefined' && this.assistantScopedVariables !== null) {
5139
- 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;
5140
5065
  }
5141
5066
  return toReturn;
5142
5067
  }
@@ -5170,13 +5095,10 @@ class GenerateChatAnswerRequestOptions {
5170
5095
  return toReturn;
5171
5096
  }
5172
5097
  }
5173
- class ExecuteFunctionRequestOptions {
5098
+ class CreatePromptModuleVersionRequestOptions {
5174
5099
  static fromProto(proto) {
5175
- let m = new ExecuteFunctionRequestOptions();
5100
+ let m = new CreatePromptModuleVersionRequestOptions();
5176
5101
  m = Object.assign(m, proto);
5177
- if (proto.contextInfo) {
5178
- m.contextInfo = ContextInfo.fromProto(proto.contextInfo);
5179
- }
5180
5102
  return m;
5181
5103
  }
5182
5104
  constructor(kwargs) {
@@ -5187,19 +5109,19 @@ class ExecuteFunctionRequestOptions {
5187
5109
  }
5188
5110
  toApiJson() {
5189
5111
  const toReturn = {};
5190
- if (typeof this.skipComputeTemplateVariables !== 'undefined') {
5191
- toReturn['skipComputeTemplateVariables'] = this.skipComputeTemplateVariables;
5192
- }
5193
- if (typeof this.contextInfo !== 'undefined' && this.contextInfo !== null) {
5194
- toReturn['contextInfo'] = 'toApiJson' in this.contextInfo ? this.contextInfo.toApiJson() : this.contextInfo;
5112
+ if (typeof this.shouldDeploy !== 'undefined') {
5113
+ toReturn['shouldDeploy'] = this.shouldDeploy;
5195
5114
  }
5196
5115
  return toReturn;
5197
5116
  }
5198
5117
  }
5199
- class CreateAssistantRequestOptions {
5118
+ class ResumeStreamingGenerateChatAnswerRequest {
5200
5119
  static fromProto(proto) {
5201
- let m = new CreateAssistantRequestOptions();
5120
+ let m = new ResumeStreamingGenerateChatAnswerRequest();
5202
5121
  m = Object.assign(m, proto);
5122
+ if (proto.lastReceivedSequenceNumber) {
5123
+ m.lastReceivedSequenceNumber = parseInt(proto.lastReceivedSequenceNumber, 10);
5124
+ }
5203
5125
  return m;
5204
5126
  }
5205
5127
  constructor(kwargs) {
@@ -5210,36 +5132,25 @@ class CreateAssistantRequestOptions {
5210
5132
  }
5211
5133
  toApiJson() {
5212
5134
  const toReturn = {};
5213
- if (typeof this.applyDefaults !== 'undefined') {
5214
- 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;
5215
5140
  }
5216
5141
  return toReturn;
5217
5142
  }
5218
5143
  }
5219
- class GetAssistantRequestOptions {
5144
+ class SetAssistantConnectionsRequest {
5220
5145
  static fromProto(proto) {
5221
- let m = new GetAssistantRequestOptions();
5146
+ let m = new SetAssistantConnectionsRequest();
5222
5147
  m = Object.assign(m, proto);
5223
- return m;
5224
- }
5225
- constructor(kwargs) {
5226
- if (!kwargs) {
5227
- return;
5148
+ if (proto.associationStates) {
5149
+ m.associationStates = proto.associationStates.map(SetAssistantConnectionsRequestConnectionState.fromProto);
5228
5150
  }
5229
- Object.assign(this, kwargs);
5230
- }
5231
- toApiJson() {
5232
- const toReturn = {};
5233
- if (typeof this.skipGoalsHydration !== 'undefined') {
5234
- toReturn['skipGoalsHydration'] = this.skipGoalsHydration;
5151
+ if (proto.assistantKey) {
5152
+ m.assistantKey = AssistantKey.fromProto(proto.assistantKey);
5235
5153
  }
5236
- return toReturn;
5237
- }
5238
- }
5239
- class UpsertAssistantRequestOptions {
5240
- static fromProto(proto) {
5241
- let m = new UpsertAssistantRequestOptions();
5242
- m = Object.assign(m, proto);
5243
5154
  return m;
5244
5155
  }
5245
5156
  constructor(kwargs) {
@@ -5250,16 +5161,22 @@ class UpsertAssistantRequestOptions {
5250
5161
  }
5251
5162
  toApiJson() {
5252
5163
  const toReturn = {};
5253
- if (typeof this.applyDefaults !== 'undefined') {
5254
- 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;
5255
5169
  }
5256
5170
  return toReturn;
5257
5171
  }
5258
5172
  }
5259
- class CreatePromptModuleVersionRequestOptions {
5173
+ class ListGoalsRequestSortOptions {
5260
5174
  static fromProto(proto) {
5261
- let m = new CreatePromptModuleVersionRequestOptions();
5175
+ let m = new ListGoalsRequestSortOptions();
5262
5176
  m = Object.assign(m, proto);
5177
+ if (proto.order) {
5178
+ m.order = enumStringToValue(ListGoalsRequestSortingOrder, proto.order);
5179
+ }
5263
5180
  return m;
5264
5181
  }
5265
5182
  constructor(kwargs) {
@@ -5270,16 +5187,22 @@ class CreatePromptModuleVersionRequestOptions {
5270
5187
  }
5271
5188
  toApiJson() {
5272
5189
  const toReturn = {};
5273
- if (typeof this.shouldDeploy !== 'undefined') {
5274
- 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;
5275
5195
  }
5276
5196
  return toReturn;
5277
5197
  }
5278
5198
  }
5279
- class GetMultiAssistantRequestOptions {
5199
+ class StreamingGenerateChatAnswerResponseStartChunk {
5280
5200
  static fromProto(proto) {
5281
- let m = new GetMultiAssistantRequestOptions();
5201
+ let m = new StreamingGenerateChatAnswerResponseStartChunk();
5282
5202
  m = Object.assign(m, proto);
5203
+ if (proto.metadata) {
5204
+ m.metadata = proto.metadata.map(KeyValuePair.fromProto);
5205
+ }
5283
5206
  return m;
5284
5207
  }
5285
5208
  constructor(kwargs) {
@@ -5290,22 +5213,40 @@ class GetMultiAssistantRequestOptions {
5290
5213
  }
5291
5214
  toApiJson() {
5292
5215
  const toReturn = {};
5293
- if (typeof this.skipGoalsHydration !== 'undefined') {
5294
- 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;
5295
5221
  }
5296
5222
  return toReturn;
5297
5223
  }
5298
5224
  }
5299
- class SetAssistantConnectionsRequest {
5225
+ class StreamingGenerateChatAnswerRequest {
5300
5226
  static fromProto(proto) {
5301
- let m = new SetAssistantConnectionsRequest();
5227
+ let m = new StreamingGenerateChatAnswerRequest();
5302
5228
  m = Object.assign(m, proto);
5303
- if (proto.associationStates) {
5304
- m.associationStates = proto.associationStates.map(SetAssistantConnectionsRequestConnectionState.fromProto);
5229
+ if (proto.connectionKey) {
5230
+ m.connectionKey = ConnectionKey.fromProto(proto.connectionKey);
5305
5231
  }
5306
5232
  if (proto.assistantKey) {
5307
5233
  m.assistantKey = AssistantKey.fromProto(proto.assistantKey);
5308
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
+ }
5309
5250
  return m;
5310
5251
  }
5311
5252
  constructor(kwargs) {
@@ -5316,21 +5257,60 @@ class SetAssistantConnectionsRequest {
5316
5257
  }
5317
5258
  toApiJson() {
5318
5259
  const toReturn = {};
5319
- if (typeof this.associationStates !== 'undefined' && this.associationStates !== null) {
5320
- 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;
5321
5262
  }
5322
5263
  if (typeof this.assistantKey !== 'undefined' && this.assistantKey !== null) {
5323
5264
  toReturn['assistantKey'] = 'toApiJson' in this.assistantKey ? this.assistantKey.toApiJson() : this.assistantKey;
5324
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
+ }
5325
5281
  return toReturn;
5326
5282
  }
5327
5283
  }
5328
- class ListGoalsRequestSortOptions {
5284
+ class StreamingGenerateChatAnswerResponse {
5329
5285
  static fromProto(proto) {
5330
- let m = new ListGoalsRequestSortOptions();
5286
+ let m = new StreamingGenerateChatAnswerResponse();
5331
5287
  m = Object.assign(m, proto);
5332
- if (proto.order) {
5333
- 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);
5334
5314
  }
5335
5315
  return m;
5336
5316
  }
@@ -5342,11 +5322,32 @@ class ListGoalsRequestSortOptions {
5342
5322
  }
5343
5323
  toApiJson() {
5344
5324
  const toReturn = {};
5345
- if (typeof this.field !== 'undefined') {
5346
- toReturn['field'] = this.field;
5325
+ if (typeof this.sequenceNumber !== 'undefined') {
5326
+ toReturn['sequenceNumber'] = this.sequenceNumber;
5347
5327
  }
5348
- if (typeof this.order !== 'undefined') {
5349
- 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;
5350
5351
  }
5351
5352
  return toReturn;
5352
5353
  }
@@ -5435,32 +5436,6 @@ class UpdatePromptModuleRequest {
5435
5436
  return toReturn;
5436
5437
  }
5437
5438
  }
5438
- class UpdatePromptRequest {
5439
- static fromProto(proto) {
5440
- let m = new UpdatePromptRequest();
5441
- m = Object.assign(m, proto);
5442
- return m;
5443
- }
5444
- constructor(kwargs) {
5445
- if (!kwargs) {
5446
- return;
5447
- }
5448
- Object.assign(this, kwargs);
5449
- }
5450
- toApiJson() {
5451
- const toReturn = {};
5452
- if (typeof this.id !== 'undefined') {
5453
- toReturn['id'] = this.id;
5454
- }
5455
- if (typeof this.content !== 'undefined') {
5456
- toReturn['content'] = this.content;
5457
- }
5458
- if (typeof this.description !== 'undefined') {
5459
- toReturn['description'] = this.description;
5460
- }
5461
- return toReturn;
5462
- }
5463
- }
5464
5439
  class UpsertAssistantRequest {
5465
5440
  static fromProto(proto) {
5466
5441
  let m = new UpsertAssistantRequest();
@@ -5701,6 +5676,16 @@ class AssistantApiService {
5701
5676
  return this.http.post(this._host + "/ai_assistants.v1alpha1.AssistantService/GenerateChatAnswer", request.toApiJson(), this.apiOptions())
5702
5677
  .pipe(map(resp => GenerateChatAnswerResponse.fromProto(resp)));
5703
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
+ }
5704
5689
  getChatAnswerFunctionExecutionJob(r) {
5705
5690
  const request = (r.toApiJson) ? r : new GetChatAnswerFunctionExecutionJobRequest(r);
5706
5691
  return this.http.post(this._host + "/ai_assistants.v1alpha1.AssistantService/GetChatAnswerFunctionExecutionJob", request.toApiJson(), this.apiOptions())
@@ -6066,80 +6051,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
6066
6051
  args: [{ providedIn: 'root' }]
6067
6052
  }] });
6068
6053
 
6069
- // *********************************
6070
- // Code generated by sdkgen
6071
- // DO NOT EDIT!.
6072
- //
6073
- // API Service.
6074
- // *********************************
6075
- class PromptApiService {
6076
- constructor() {
6077
- this.hostService = inject(HostService);
6078
- this.http = inject(HttpClient);
6079
- this._host = this.hostService.hostWithScheme;
6080
- }
6081
- apiOptions() {
6082
- return {
6083
- headers: new HttpHeaders({
6084
- 'Content-Type': 'application/json'
6085
- }),
6086
- withCredentials: true
6087
- };
6088
- }
6089
- create(r) {
6090
- const request = (r.toApiJson) ? r : new CreatePromptRequest(r);
6091
- return this.http.post(this._host + "/ai_assistants.v1alpha1.PromptService/Create", request.toApiJson(), { ...this.apiOptions(), observe: 'response' });
6092
- }
6093
- get(r) {
6094
- const request = (r.toApiJson) ? r : new GetPromptRequest(r);
6095
- return this.http.post(this._host + "/ai_assistants.v1alpha1.PromptService/Get", request.toApiJson(), this.apiOptions())
6096
- .pipe(map(resp => GetPromptResponse.fromProto(resp)));
6097
- }
6098
- getVersion(r) {
6099
- const request = (r.toApiJson) ? r : new GetPromptVersionRequest(r);
6100
- return this.http.post(this._host + "/ai_assistants.v1alpha1.PromptService/GetVersion", request.toApiJson(), this.apiOptions())
6101
- .pipe(map(resp => GetPromptVersionResponse.fromProto(resp)));
6102
- }
6103
- getDeployedVersion(r) {
6104
- const request = (r.toApiJson) ? r : new GetDeployedPromptVersionRequest(r);
6105
- return this.http.post(this._host + "/ai_assistants.v1alpha1.PromptService/GetDeployedVersion", request.toApiJson(), this.apiOptions())
6106
- .pipe(map(resp => GetDeployedPromptVersionResponse.fromProto(resp)));
6107
- }
6108
- getMultiDeployedVersion(r) {
6109
- const request = (r.toApiJson) ? r : new GetMultiDeployedPromptVersionRequest(r);
6110
- return this.http.post(this._host + "/ai_assistants.v1alpha1.PromptService/GetMultiDeployedVersion", request.toApiJson(), this.apiOptions())
6111
- .pipe(map(resp => GetMultiDeployedPromptVersionResponse.fromProto(resp)));
6112
- }
6113
- update(r) {
6114
- const request = (r.toApiJson) ? r : new UpdatePromptRequest(r);
6115
- return this.http.post(this._host + "/ai_assistants.v1alpha1.PromptService/Update", request.toApiJson(), { ...this.apiOptions(), observe: 'response' });
6116
- }
6117
- deploy(r) {
6118
- const request = (r.toApiJson) ? r : new DeployPromptRequest(r);
6119
- return this.http.post(this._host + "/ai_assistants.v1alpha1.PromptService/Deploy", request.toApiJson(), { ...this.apiOptions(), observe: 'response' });
6120
- }
6121
- list(r) {
6122
- const request = (r.toApiJson) ? r : new ListPromptRequest(r);
6123
- return this.http.post(this._host + "/ai_assistants.v1alpha1.PromptService/List", request.toApiJson(), this.apiOptions())
6124
- .pipe(map(resp => ListPromptResponse.fromProto(resp)));
6125
- }
6126
- listVersions(r) {
6127
- const request = (r.toApiJson) ? r : new ListPromptVersionsRequest(r);
6128
- return this.http.post(this._host + "/ai_assistants.v1alpha1.PromptService/ListVersions", request.toApiJson(), this.apiOptions())
6129
- .pipe(map(resp => ListPromptVersionsResponse.fromProto(resp)));
6130
- }
6131
- delete(r) {
6132
- const request = (r.toApiJson) ? r : new DeletePromptRequest(r);
6133
- return this.http.post(this._host + "/ai_assistants.v1alpha1.PromptService/Delete", request.toApiJson(), { ...this.apiOptions(), observe: 'response' });
6134
- }
6135
- }
6136
- PromptApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PromptApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
6137
- PromptApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PromptApiService, providedIn: 'root' });
6138
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PromptApiService, decorators: [{
6139
- type: Injectable,
6140
- args: [{ providedIn: 'root' }]
6141
- }] });
6142
-
6143
6054
  // *********************************
6144
6055
  // Code generated by sdkgen
6145
6056
  // DO NOT EDIT!.
@@ -6151,5 +6062,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
6151
6062
  * Generated bundle index. Do not edit.
6152
6063
  */
6153
6064
 
6154
- 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, 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 };
6155
6066
  //# sourceMappingURL=vendasta-ai-assistants.mjs.map