@vendasta/ai-assistants 0.58.0 → 0.60.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2020/lib/_internal/enums/api.enum.mjs +10 -1
- package/esm2020/lib/_internal/enums/index.mjs +2 -2
- package/esm2020/lib/_internal/index.mjs +1 -2
- package/esm2020/lib/_internal/interfaces/api.interface.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/index.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/prompt.interface.mjs +1 -1
- package/esm2020/lib/_internal/objects/api.mjs +382 -545
- package/esm2020/lib/_internal/objects/index.mjs +3 -3
- package/esm2020/lib/_internal/objects/prompt.mjs +1 -77
- package/esm2020/lib/_internal/prompt-module.api.service.mjs +12 -2
- package/fesm2015/vendasta-ai-assistants.mjs +401 -695
- package/fesm2015/vendasta-ai-assistants.mjs.map +1 -1
- package/fesm2020/vendasta-ai-assistants.mjs +401 -695
- package/fesm2020/vendasta-ai-assistants.mjs.map +1 -1
- package/lib/_internal/enums/api.enum.d.ts +8 -0
- package/lib/_internal/enums/index.d.ts +1 -1
- package/lib/_internal/index.d.ts +0 -1
- package/lib/_internal/interfaces/api.interface.d.ts +70 -92
- package/lib/_internal/interfaces/index.d.ts +2 -2
- package/lib/_internal/interfaces/prompt.interface.d.ts +0 -15
- package/lib/_internal/objects/api.d.ts +118 -164
- package/lib/_internal/objects/index.d.ts +2 -2
- package/lib/_internal/objects/prompt.d.ts +0 -21
- package/lib/_internal/prompt-module.api.service.d.ts +4 -2
- package/package.json +1 -1
- package/esm2020/lib/_internal/prompt.api.service.mjs +0 -81
- package/lib/_internal/prompt.api.service.d.ts +0 -23
|
@@ -230,6 +230,15 @@ var ListGoalsRequestSortingOrder;
|
|
|
230
230
|
ListGoalsRequestSortingOrder[ListGoalsRequestSortingOrder["GOAL_SORTING_ORDER_ASCENDING"] = 0] = "GOAL_SORTING_ORDER_ASCENDING";
|
|
231
231
|
ListGoalsRequestSortingOrder[ListGoalsRequestSortingOrder["GOAL_SORTING_ORDER_DESCENDING"] = 1] = "GOAL_SORTING_ORDER_DESCENDING";
|
|
232
232
|
})(ListGoalsRequestSortingOrder || (ListGoalsRequestSortingOrder = {}));
|
|
233
|
+
var ValidationFailureAction;
|
|
234
|
+
(function (ValidationFailureAction) {
|
|
235
|
+
ValidationFailureAction[ValidationFailureAction["VALIDATION_FAILURE_ACTION_UNSPECIFIED"] = 0] = "VALIDATION_FAILURE_ACTION_UNSPECIFIED";
|
|
236
|
+
ValidationFailureAction[ValidationFailureAction["VALIDATION_FAILURE_ACTION_NONE"] = 1] = "VALIDATION_FAILURE_ACTION_NONE";
|
|
237
|
+
ValidationFailureAction[ValidationFailureAction["VALIDATION_FAILURE_ACTION_WARN"] = 2] = "VALIDATION_FAILURE_ACTION_WARN";
|
|
238
|
+
ValidationFailureAction[ValidationFailureAction["VALIDATION_FAILURE_ACTION_MODIFY"] = 3] = "VALIDATION_FAILURE_ACTION_MODIFY";
|
|
239
|
+
ValidationFailureAction[ValidationFailureAction["VALIDATION_FAILURE_ACTION_BLOCK"] = 4] = "VALIDATION_FAILURE_ACTION_BLOCK";
|
|
240
|
+
ValidationFailureAction[ValidationFailureAction["VALIDATION_FAILURE_ACTION_EXCEPTION"] = 5] = "VALIDATION_FAILURE_ACTION_EXCEPTION";
|
|
241
|
+
})(ValidationFailureAction || (ValidationFailureAction = {}));
|
|
233
242
|
|
|
234
243
|
// *********************************
|
|
235
244
|
// Code generated by sdkgen
|
|
@@ -1108,47 +1117,6 @@ function enumStringToValue$a(enumRef, value) {
|
|
|
1108
1117
|
}
|
|
1109
1118
|
return enumRef[value];
|
|
1110
1119
|
}
|
|
1111
|
-
class Prompt {
|
|
1112
|
-
static fromProto(proto) {
|
|
1113
|
-
let m = new Prompt();
|
|
1114
|
-
m = Object.assign(m, proto);
|
|
1115
|
-
if (proto.updated) {
|
|
1116
|
-
m.updated = new Date(proto.updated);
|
|
1117
|
-
}
|
|
1118
|
-
if (proto.deployed) {
|
|
1119
|
-
m.deployed = new Date(proto.deployed);
|
|
1120
|
-
}
|
|
1121
|
-
return m;
|
|
1122
|
-
}
|
|
1123
|
-
constructor(kwargs) {
|
|
1124
|
-
if (!kwargs) {
|
|
1125
|
-
return;
|
|
1126
|
-
}
|
|
1127
|
-
Object.assign(this, kwargs);
|
|
1128
|
-
}
|
|
1129
|
-
toApiJson() {
|
|
1130
|
-
const toReturn = {};
|
|
1131
|
-
if (typeof this.id !== 'undefined') {
|
|
1132
|
-
toReturn['id'] = this.id;
|
|
1133
|
-
}
|
|
1134
|
-
if (typeof this.deployedVersion !== 'undefined') {
|
|
1135
|
-
toReturn['deployedVersion'] = this.deployedVersion;
|
|
1136
|
-
}
|
|
1137
|
-
if (typeof this.deployedBy !== 'undefined') {
|
|
1138
|
-
toReturn['deployedBy'] = this.deployedBy;
|
|
1139
|
-
}
|
|
1140
|
-
if (typeof this.updated !== 'undefined' && this.updated !== null) {
|
|
1141
|
-
toReturn['updated'] = 'toApiJson' in this.updated ? this.updated.toApiJson() : this.updated;
|
|
1142
|
-
}
|
|
1143
|
-
if (typeof this.description !== 'undefined') {
|
|
1144
|
-
toReturn['description'] = this.description;
|
|
1145
|
-
}
|
|
1146
|
-
if (typeof this.deployed !== 'undefined' && this.deployed !== null) {
|
|
1147
|
-
toReturn['deployed'] = 'toApiJson' in this.deployed ? this.deployed.toApiJson() : this.deployed;
|
|
1148
|
-
}
|
|
1149
|
-
return toReturn;
|
|
1150
|
-
}
|
|
1151
|
-
}
|
|
1152
1120
|
class PromptModule {
|
|
1153
1121
|
static fromProto(proto) {
|
|
1154
1122
|
let m = new PromptModule();
|
|
@@ -1269,41 +1237,6 @@ class PromptModuleVersion {
|
|
|
1269
1237
|
return toReturn;
|
|
1270
1238
|
}
|
|
1271
1239
|
}
|
|
1272
|
-
class PromptVersion {
|
|
1273
|
-
static fromProto(proto) {
|
|
1274
|
-
let m = new PromptVersion();
|
|
1275
|
-
m = Object.assign(m, proto);
|
|
1276
|
-
if (proto.created) {
|
|
1277
|
-
m.created = new Date(proto.created);
|
|
1278
|
-
}
|
|
1279
|
-
return m;
|
|
1280
|
-
}
|
|
1281
|
-
constructor(kwargs) {
|
|
1282
|
-
if (!kwargs) {
|
|
1283
|
-
return;
|
|
1284
|
-
}
|
|
1285
|
-
Object.assign(this, kwargs);
|
|
1286
|
-
}
|
|
1287
|
-
toApiJson() {
|
|
1288
|
-
const toReturn = {};
|
|
1289
|
-
if (typeof this.id !== 'undefined') {
|
|
1290
|
-
toReturn['id'] = this.id;
|
|
1291
|
-
}
|
|
1292
|
-
if (typeof this.version !== 'undefined') {
|
|
1293
|
-
toReturn['version'] = this.version;
|
|
1294
|
-
}
|
|
1295
|
-
if (typeof this.content !== 'undefined') {
|
|
1296
|
-
toReturn['content'] = this.content;
|
|
1297
|
-
}
|
|
1298
|
-
if (typeof this.createdBy !== 'undefined') {
|
|
1299
|
-
toReturn['createdBy'] = this.createdBy;
|
|
1300
|
-
}
|
|
1301
|
-
if (typeof this.created !== 'undefined' && this.created !== null) {
|
|
1302
|
-
toReturn['created'] = 'toApiJson' in this.created ? this.created.toApiJson() : this.created;
|
|
1303
|
-
}
|
|
1304
|
-
return toReturn;
|
|
1305
|
-
}
|
|
1306
|
-
}
|
|
1307
1240
|
|
|
1308
1241
|
function enumStringToValue$9(enumRef, value) {
|
|
1309
1242
|
if (typeof value === 'number') {
|
|
@@ -3015,32 +2948,6 @@ class CreatePromptModuleVersionRequest {
|
|
|
3015
2948
|
return toReturn;
|
|
3016
2949
|
}
|
|
3017
2950
|
}
|
|
3018
|
-
class CreatePromptRequest {
|
|
3019
|
-
static fromProto(proto) {
|
|
3020
|
-
let m = new CreatePromptRequest();
|
|
3021
|
-
m = Object.assign(m, proto);
|
|
3022
|
-
return m;
|
|
3023
|
-
}
|
|
3024
|
-
constructor(kwargs) {
|
|
3025
|
-
if (!kwargs) {
|
|
3026
|
-
return;
|
|
3027
|
-
}
|
|
3028
|
-
Object.assign(this, kwargs);
|
|
3029
|
-
}
|
|
3030
|
-
toApiJson() {
|
|
3031
|
-
const toReturn = {};
|
|
3032
|
-
if (typeof this.id !== 'undefined') {
|
|
3033
|
-
toReturn['id'] = this.id;
|
|
3034
|
-
}
|
|
3035
|
-
if (typeof this.content !== 'undefined') {
|
|
3036
|
-
toReturn['content'] = this.content;
|
|
3037
|
-
}
|
|
3038
|
-
if (typeof this.description !== 'undefined') {
|
|
3039
|
-
toReturn['description'] = this.description;
|
|
3040
|
-
}
|
|
3041
|
-
return toReturn;
|
|
3042
|
-
}
|
|
3043
|
-
}
|
|
3044
2951
|
class DeleteAssistantRequest {
|
|
3045
2952
|
static fromProto(proto) {
|
|
3046
2953
|
let m = new DeleteAssistantRequest();
|
|
@@ -3180,26 +3087,6 @@ class DeletePromptModuleRequest {
|
|
|
3180
3087
|
return toReturn;
|
|
3181
3088
|
}
|
|
3182
3089
|
}
|
|
3183
|
-
class DeletePromptRequest {
|
|
3184
|
-
static fromProto(proto) {
|
|
3185
|
-
let m = new DeletePromptRequest();
|
|
3186
|
-
m = Object.assign(m, proto);
|
|
3187
|
-
return m;
|
|
3188
|
-
}
|
|
3189
|
-
constructor(kwargs) {
|
|
3190
|
-
if (!kwargs) {
|
|
3191
|
-
return;
|
|
3192
|
-
}
|
|
3193
|
-
Object.assign(this, kwargs);
|
|
3194
|
-
}
|
|
3195
|
-
toApiJson() {
|
|
3196
|
-
const toReturn = {};
|
|
3197
|
-
if (typeof this.id !== 'undefined') {
|
|
3198
|
-
toReturn['id'] = this.id;
|
|
3199
|
-
}
|
|
3200
|
-
return toReturn;
|
|
3201
|
-
}
|
|
3202
|
-
}
|
|
3203
3090
|
class DeployPromptModuleRequest {
|
|
3204
3091
|
static fromProto(proto) {
|
|
3205
3092
|
let m = new DeployPromptModuleRequest();
|
|
@@ -3229,29 +3116,6 @@ class DeployPromptModuleRequest {
|
|
|
3229
3116
|
return toReturn;
|
|
3230
3117
|
}
|
|
3231
3118
|
}
|
|
3232
|
-
class DeployPromptRequest {
|
|
3233
|
-
static fromProto(proto) {
|
|
3234
|
-
let m = new DeployPromptRequest();
|
|
3235
|
-
m = Object.assign(m, proto);
|
|
3236
|
-
return m;
|
|
3237
|
-
}
|
|
3238
|
-
constructor(kwargs) {
|
|
3239
|
-
if (!kwargs) {
|
|
3240
|
-
return;
|
|
3241
|
-
}
|
|
3242
|
-
Object.assign(this, kwargs);
|
|
3243
|
-
}
|
|
3244
|
-
toApiJson() {
|
|
3245
|
-
const toReturn = {};
|
|
3246
|
-
if (typeof this.id !== 'undefined') {
|
|
3247
|
-
toReturn['id'] = this.id;
|
|
3248
|
-
}
|
|
3249
|
-
if (typeof this.version !== 'undefined') {
|
|
3250
|
-
toReturn['version'] = this.version;
|
|
3251
|
-
}
|
|
3252
|
-
return toReturn;
|
|
3253
|
-
}
|
|
3254
|
-
}
|
|
3255
3119
|
class ExecuteFunctionRequest {
|
|
3256
3120
|
static fromProto(proto) {
|
|
3257
3121
|
let m = new ExecuteFunctionRequest();
|
|
@@ -3316,73 +3180,18 @@ class ExecuteFunctionResponse {
|
|
|
3316
3180
|
return toReturn;
|
|
3317
3181
|
}
|
|
3318
3182
|
}
|
|
3319
|
-
class
|
|
3183
|
+
class ListFunctionRequestFilters {
|
|
3320
3184
|
static fromProto(proto) {
|
|
3321
|
-
let m = new
|
|
3185
|
+
let m = new ListFunctionRequestFilters();
|
|
3322
3186
|
m = Object.assign(m, proto);
|
|
3323
3187
|
if (proto.namespace) {
|
|
3324
3188
|
m.namespace = Namespace.fromProto(proto.namespace);
|
|
3325
3189
|
}
|
|
3326
|
-
if (proto.
|
|
3327
|
-
m.
|
|
3328
|
-
}
|
|
3329
|
-
return m;
|
|
3330
|
-
}
|
|
3331
|
-
constructor(kwargs) {
|
|
3332
|
-
if (!kwargs) {
|
|
3333
|
-
return;
|
|
3334
|
-
}
|
|
3335
|
-
Object.assign(this, kwargs);
|
|
3336
|
-
}
|
|
3337
|
-
toApiJson() {
|
|
3338
|
-
const toReturn = {};
|
|
3339
|
-
if (typeof this.namespace !== 'undefined' && this.namespace !== null) {
|
|
3340
|
-
toReturn['namespace'] = 'toApiJson' in this.namespace ? this.namespace.toApiJson() : this.namespace;
|
|
3341
|
-
}
|
|
3342
|
-
if (typeof this.type !== 'undefined') {
|
|
3343
|
-
toReturn['type'] = this.type;
|
|
3344
|
-
}
|
|
3345
|
-
return toReturn;
|
|
3346
|
-
}
|
|
3347
|
-
}
|
|
3348
|
-
class ListAvailableModelsRequestFilters {
|
|
3349
|
-
static fromProto(proto) {
|
|
3350
|
-
let m = new ListAvailableModelsRequestFilters();
|
|
3351
|
-
m = Object.assign(m, proto);
|
|
3352
|
-
if (proto.vendor) {
|
|
3353
|
-
m.vendor = proto.vendor.map((v) => enumStringToValue(ModelVendor, v));
|
|
3354
|
-
}
|
|
3355
|
-
if (proto.type) {
|
|
3356
|
-
m.type = proto.type.map((v) => enumStringToValue(ModelType, v));
|
|
3357
|
-
}
|
|
3358
|
-
return m;
|
|
3359
|
-
}
|
|
3360
|
-
constructor(kwargs) {
|
|
3361
|
-
if (!kwargs) {
|
|
3362
|
-
return;
|
|
3363
|
-
}
|
|
3364
|
-
Object.assign(this, kwargs);
|
|
3365
|
-
}
|
|
3366
|
-
toApiJson() {
|
|
3367
|
-
const toReturn = {};
|
|
3368
|
-
if (typeof this.vendor !== 'undefined') {
|
|
3369
|
-
toReturn['vendor'] = this.vendor;
|
|
3370
|
-
}
|
|
3371
|
-
if (typeof this.type !== 'undefined') {
|
|
3372
|
-
toReturn['type'] = this.type;
|
|
3373
|
-
}
|
|
3374
|
-
return toReturn;
|
|
3375
|
-
}
|
|
3376
|
-
}
|
|
3377
|
-
class ListConnectionsRequestFilters {
|
|
3378
|
-
static fromProto(proto) {
|
|
3379
|
-
let m = new ListConnectionsRequestFilters();
|
|
3380
|
-
m = Object.assign(m, proto);
|
|
3381
|
-
if (proto.namespace) {
|
|
3382
|
-
m.namespace = Namespace.fromProto(proto.namespace);
|
|
3190
|
+
if (proto.namespaces) {
|
|
3191
|
+
m.namespaces = proto.namespaces.map(Namespace.fromProto);
|
|
3383
3192
|
}
|
|
3384
|
-
if (proto.
|
|
3385
|
-
m.
|
|
3193
|
+
if (proto.constraintFilters) {
|
|
3194
|
+
m.constraintFilters = proto.constraintFilters.map(ConstraintFilter.fromProto);
|
|
3386
3195
|
}
|
|
3387
3196
|
return m;
|
|
3388
3197
|
}
|
|
@@ -3397,31 +3206,14 @@ class ListConnectionsRequestFilters {
|
|
|
3397
3206
|
if (typeof this.namespace !== 'undefined' && this.namespace !== null) {
|
|
3398
3207
|
toReturn['namespace'] = 'toApiJson' in this.namespace ? this.namespace.toApiJson() : this.namespace;
|
|
3399
3208
|
}
|
|
3400
|
-
if (typeof this.
|
|
3401
|
-
toReturn['
|
|
3402
|
-
}
|
|
3403
|
-
return toReturn;
|
|
3404
|
-
}
|
|
3405
|
-
}
|
|
3406
|
-
class ListPromptModuleRequestFilters {
|
|
3407
|
-
static fromProto(proto) {
|
|
3408
|
-
let m = new ListPromptModuleRequestFilters();
|
|
3409
|
-
m = Object.assign(m, proto);
|
|
3410
|
-
if (proto.namespace) {
|
|
3411
|
-
m.namespace = Namespace.fromProto(proto.namespace);
|
|
3209
|
+
if (typeof this.namespaces !== 'undefined' && this.namespaces !== null) {
|
|
3210
|
+
toReturn['namespaces'] = 'toApiJson' in this.namespaces ? this.namespaces.toApiJson() : this.namespaces;
|
|
3412
3211
|
}
|
|
3413
|
-
|
|
3414
|
-
|
|
3415
|
-
constructor(kwargs) {
|
|
3416
|
-
if (!kwargs) {
|
|
3417
|
-
return;
|
|
3212
|
+
if (typeof this.mcpId !== 'undefined') {
|
|
3213
|
+
toReturn['mcpId'] = this.mcpId;
|
|
3418
3214
|
}
|
|
3419
|
-
|
|
3420
|
-
|
|
3421
|
-
toApiJson() {
|
|
3422
|
-
const toReturn = {};
|
|
3423
|
-
if (typeof this.namespace !== 'undefined' && this.namespace !== null) {
|
|
3424
|
-
toReturn['namespace'] = 'toApiJson' in this.namespace ? this.namespace.toApiJson() : this.namespace;
|
|
3215
|
+
if (typeof this.constraintFilters !== 'undefined' && this.constraintFilters !== null) {
|
|
3216
|
+
toReturn['constraintFilters'] = 'toApiJson' in this.constraintFilters ? this.constraintFilters.toApiJson() : this.constraintFilters;
|
|
3425
3217
|
}
|
|
3426
3218
|
return toReturn;
|
|
3427
3219
|
}
|
|
@@ -3485,10 +3277,13 @@ class ListGoalsRequestFilters {
|
|
|
3485
3277
|
return toReturn;
|
|
3486
3278
|
}
|
|
3487
3279
|
}
|
|
3488
|
-
class
|
|
3280
|
+
class ListAssistantRequestFilters {
|
|
3489
3281
|
static fromProto(proto) {
|
|
3490
|
-
let m = new
|
|
3282
|
+
let m = new ListAssistantRequestFilters();
|
|
3491
3283
|
m = Object.assign(m, proto);
|
|
3284
|
+
if (proto.namespace) {
|
|
3285
|
+
m.namespace = Namespace.fromProto(proto.namespace);
|
|
3286
|
+
}
|
|
3492
3287
|
if (proto.type) {
|
|
3493
3288
|
m.type = enumStringToValue(AssistantType, proto.type);
|
|
3494
3289
|
}
|
|
@@ -3502,24 +3297,21 @@ class ListAllAssistantsAssociatedToConnectionRequestFilters {
|
|
|
3502
3297
|
}
|
|
3503
3298
|
toApiJson() {
|
|
3504
3299
|
const toReturn = {};
|
|
3300
|
+
if (typeof this.namespace !== 'undefined' && this.namespace !== null) {
|
|
3301
|
+
toReturn['namespace'] = 'toApiJson' in this.namespace ? this.namespace.toApiJson() : this.namespace;
|
|
3302
|
+
}
|
|
3505
3303
|
if (typeof this.type !== 'undefined') {
|
|
3506
3304
|
toReturn['type'] = this.type;
|
|
3507
3305
|
}
|
|
3508
3306
|
return toReturn;
|
|
3509
3307
|
}
|
|
3510
3308
|
}
|
|
3511
|
-
class
|
|
3309
|
+
class ListAllAssistantsAssociatedToConnectionRequestFilters {
|
|
3512
3310
|
static fromProto(proto) {
|
|
3513
|
-
let m = new
|
|
3311
|
+
let m = new ListAllAssistantsAssociatedToConnectionRequestFilters();
|
|
3514
3312
|
m = Object.assign(m, proto);
|
|
3515
|
-
if (proto.
|
|
3516
|
-
m.
|
|
3517
|
-
}
|
|
3518
|
-
if (proto.namespaces) {
|
|
3519
|
-
m.namespaces = proto.namespaces.map(Namespace.fromProto);
|
|
3520
|
-
}
|
|
3521
|
-
if (proto.constraintFilters) {
|
|
3522
|
-
m.constraintFilters = proto.constraintFilters.map(ConstraintFilter.fromProto);
|
|
3313
|
+
if (proto.type) {
|
|
3314
|
+
m.type = enumStringToValue(AssistantType, proto.type);
|
|
3523
3315
|
}
|
|
3524
3316
|
return m;
|
|
3525
3317
|
}
|
|
@@ -3531,17 +3323,89 @@ class ListFunctionRequestFilters {
|
|
|
3531
3323
|
}
|
|
3532
3324
|
toApiJson() {
|
|
3533
3325
|
const toReturn = {};
|
|
3534
|
-
if (typeof this.
|
|
3326
|
+
if (typeof this.type !== 'undefined') {
|
|
3327
|
+
toReturn['type'] = this.type;
|
|
3328
|
+
}
|
|
3329
|
+
return toReturn;
|
|
3330
|
+
}
|
|
3331
|
+
}
|
|
3332
|
+
class ListPromptModuleRequestFilters {
|
|
3333
|
+
static fromProto(proto) {
|
|
3334
|
+
let m = new ListPromptModuleRequestFilters();
|
|
3335
|
+
m = Object.assign(m, proto);
|
|
3336
|
+
if (proto.namespace) {
|
|
3337
|
+
m.namespace = Namespace.fromProto(proto.namespace);
|
|
3338
|
+
}
|
|
3339
|
+
return m;
|
|
3340
|
+
}
|
|
3341
|
+
constructor(kwargs) {
|
|
3342
|
+
if (!kwargs) {
|
|
3343
|
+
return;
|
|
3344
|
+
}
|
|
3345
|
+
Object.assign(this, kwargs);
|
|
3346
|
+
}
|
|
3347
|
+
toApiJson() {
|
|
3348
|
+
const toReturn = {};
|
|
3349
|
+
if (typeof this.namespace !== 'undefined' && this.namespace !== null) {
|
|
3535
3350
|
toReturn['namespace'] = 'toApiJson' in this.namespace ? this.namespace.toApiJson() : this.namespace;
|
|
3536
3351
|
}
|
|
3537
|
-
|
|
3538
|
-
|
|
3352
|
+
return toReturn;
|
|
3353
|
+
}
|
|
3354
|
+
}
|
|
3355
|
+
class ListConnectionsRequestFilters {
|
|
3356
|
+
static fromProto(proto) {
|
|
3357
|
+
let m = new ListConnectionsRequestFilters();
|
|
3358
|
+
m = Object.assign(m, proto);
|
|
3359
|
+
if (proto.namespace) {
|
|
3360
|
+
m.namespace = Namespace.fromProto(proto.namespace);
|
|
3539
3361
|
}
|
|
3540
|
-
if (
|
|
3541
|
-
|
|
3362
|
+
if (proto.assistantType) {
|
|
3363
|
+
m.assistantType = enumStringToValue(AssistantType, proto.assistantType);
|
|
3542
3364
|
}
|
|
3543
|
-
|
|
3544
|
-
|
|
3365
|
+
return m;
|
|
3366
|
+
}
|
|
3367
|
+
constructor(kwargs) {
|
|
3368
|
+
if (!kwargs) {
|
|
3369
|
+
return;
|
|
3370
|
+
}
|
|
3371
|
+
Object.assign(this, kwargs);
|
|
3372
|
+
}
|
|
3373
|
+
toApiJson() {
|
|
3374
|
+
const toReturn = {};
|
|
3375
|
+
if (typeof this.namespace !== 'undefined' && this.namespace !== null) {
|
|
3376
|
+
toReturn['namespace'] = 'toApiJson' in this.namespace ? this.namespace.toApiJson() : this.namespace;
|
|
3377
|
+
}
|
|
3378
|
+
if (typeof this.assistantType !== 'undefined') {
|
|
3379
|
+
toReturn['assistantType'] = this.assistantType;
|
|
3380
|
+
}
|
|
3381
|
+
return toReturn;
|
|
3382
|
+
}
|
|
3383
|
+
}
|
|
3384
|
+
class ListAvailableModelsRequestFilters {
|
|
3385
|
+
static fromProto(proto) {
|
|
3386
|
+
let m = new ListAvailableModelsRequestFilters();
|
|
3387
|
+
m = Object.assign(m, proto);
|
|
3388
|
+
if (proto.vendor) {
|
|
3389
|
+
m.vendor = proto.vendor.map((v) => enumStringToValue(ModelVendor, v));
|
|
3390
|
+
}
|
|
3391
|
+
if (proto.type) {
|
|
3392
|
+
m.type = proto.type.map((v) => enumStringToValue(ModelType, v));
|
|
3393
|
+
}
|
|
3394
|
+
return m;
|
|
3395
|
+
}
|
|
3396
|
+
constructor(kwargs) {
|
|
3397
|
+
if (!kwargs) {
|
|
3398
|
+
return;
|
|
3399
|
+
}
|
|
3400
|
+
Object.assign(this, kwargs);
|
|
3401
|
+
}
|
|
3402
|
+
toApiJson() {
|
|
3403
|
+
const toReturn = {};
|
|
3404
|
+
if (typeof this.vendor !== 'undefined') {
|
|
3405
|
+
toReturn['vendor'] = this.vendor;
|
|
3406
|
+
}
|
|
3407
|
+
if (typeof this.type !== 'undefined') {
|
|
3408
|
+
toReturn['type'] = this.type;
|
|
3545
3409
|
}
|
|
3546
3410
|
return toReturn;
|
|
3547
3411
|
}
|
|
@@ -3612,6 +3476,9 @@ class GenerateChatAnswerResponse {
|
|
|
3612
3476
|
if (proto.metadata) {
|
|
3613
3477
|
m.metadata = proto.metadata.map(KeyValuePair.fromProto);
|
|
3614
3478
|
}
|
|
3479
|
+
if (proto.validationResult) {
|
|
3480
|
+
m.validationResult = ValidationResult.fromProto(proto.validationResult);
|
|
3481
|
+
}
|
|
3615
3482
|
return m;
|
|
3616
3483
|
}
|
|
3617
3484
|
constructor(kwargs) {
|
|
@@ -3631,6 +3498,9 @@ class GenerateChatAnswerResponse {
|
|
|
3631
3498
|
if (typeof this.pendingJobId !== 'undefined') {
|
|
3632
3499
|
toReturn['pendingJobId'] = this.pendingJobId;
|
|
3633
3500
|
}
|
|
3501
|
+
if (typeof this.validationResult !== 'undefined' && this.validationResult !== null) {
|
|
3502
|
+
toReturn['validationResult'] = 'toApiJson' in this.validationResult ? this.validationResult.toApiJson() : this.validationResult;
|
|
3503
|
+
}
|
|
3634
3504
|
return toReturn;
|
|
3635
3505
|
}
|
|
3636
3506
|
}
|
|
@@ -3842,55 +3712,6 @@ class GetDeployedPromptModuleVersionResponse {
|
|
|
3842
3712
|
return toReturn;
|
|
3843
3713
|
}
|
|
3844
3714
|
}
|
|
3845
|
-
class GetDeployedPromptVersionRequest {
|
|
3846
|
-
static fromProto(proto) {
|
|
3847
|
-
let m = new GetDeployedPromptVersionRequest();
|
|
3848
|
-
m = Object.assign(m, proto);
|
|
3849
|
-
return m;
|
|
3850
|
-
}
|
|
3851
|
-
constructor(kwargs) {
|
|
3852
|
-
if (!kwargs) {
|
|
3853
|
-
return;
|
|
3854
|
-
}
|
|
3855
|
-
Object.assign(this, kwargs);
|
|
3856
|
-
}
|
|
3857
|
-
toApiJson() {
|
|
3858
|
-
const toReturn = {};
|
|
3859
|
-
if (typeof this.id !== 'undefined') {
|
|
3860
|
-
toReturn['id'] = this.id;
|
|
3861
|
-
}
|
|
3862
|
-
return toReturn;
|
|
3863
|
-
}
|
|
3864
|
-
}
|
|
3865
|
-
class GetDeployedPromptVersionResponse {
|
|
3866
|
-
static fromProto(proto) {
|
|
3867
|
-
let m = new GetDeployedPromptVersionResponse();
|
|
3868
|
-
m = Object.assign(m, proto);
|
|
3869
|
-
if (proto.prompt) {
|
|
3870
|
-
m.prompt = Prompt.fromProto(proto.prompt);
|
|
3871
|
-
}
|
|
3872
|
-
if (proto.deployedPromptVersion) {
|
|
3873
|
-
m.deployedPromptVersion = PromptVersion.fromProto(proto.deployedPromptVersion);
|
|
3874
|
-
}
|
|
3875
|
-
return m;
|
|
3876
|
-
}
|
|
3877
|
-
constructor(kwargs) {
|
|
3878
|
-
if (!kwargs) {
|
|
3879
|
-
return;
|
|
3880
|
-
}
|
|
3881
|
-
Object.assign(this, kwargs);
|
|
3882
|
-
}
|
|
3883
|
-
toApiJson() {
|
|
3884
|
-
const toReturn = {};
|
|
3885
|
-
if (typeof this.prompt !== 'undefined' && this.prompt !== null) {
|
|
3886
|
-
toReturn['prompt'] = 'toApiJson' in this.prompt ? this.prompt.toApiJson() : this.prompt;
|
|
3887
|
-
}
|
|
3888
|
-
if (typeof this.deployedPromptVersion !== 'undefined' && this.deployedPromptVersion !== null) {
|
|
3889
|
-
toReturn['deployedPromptVersion'] = 'toApiJson' in this.deployedPromptVersion ? this.deployedPromptVersion.toApiJson() : this.deployedPromptVersion;
|
|
3890
|
-
}
|
|
3891
|
-
return toReturn;
|
|
3892
|
-
}
|
|
3893
|
-
}
|
|
3894
3715
|
class GetFunctionRequest {
|
|
3895
3716
|
static fromProto(proto) {
|
|
3896
3717
|
let m = new GetFunctionRequest();
|
|
@@ -4093,55 +3914,6 @@ class GetMultiAssistantResponse {
|
|
|
4093
3914
|
return toReturn;
|
|
4094
3915
|
}
|
|
4095
3916
|
}
|
|
4096
|
-
class GetMultiDeployedPromptVersionRequest {
|
|
4097
|
-
static fromProto(proto) {
|
|
4098
|
-
let m = new GetMultiDeployedPromptVersionRequest();
|
|
4099
|
-
m = Object.assign(m, proto);
|
|
4100
|
-
return m;
|
|
4101
|
-
}
|
|
4102
|
-
constructor(kwargs) {
|
|
4103
|
-
if (!kwargs) {
|
|
4104
|
-
return;
|
|
4105
|
-
}
|
|
4106
|
-
Object.assign(this, kwargs);
|
|
4107
|
-
}
|
|
4108
|
-
toApiJson() {
|
|
4109
|
-
const toReturn = {};
|
|
4110
|
-
if (typeof this.ids !== 'undefined') {
|
|
4111
|
-
toReturn['ids'] = this.ids;
|
|
4112
|
-
}
|
|
4113
|
-
return toReturn;
|
|
4114
|
-
}
|
|
4115
|
-
}
|
|
4116
|
-
class GetMultiDeployedPromptVersionResponse {
|
|
4117
|
-
static fromProto(proto) {
|
|
4118
|
-
let m = new GetMultiDeployedPromptVersionResponse();
|
|
4119
|
-
m = Object.assign(m, proto);
|
|
4120
|
-
if (proto.prompts) {
|
|
4121
|
-
m.prompts = proto.prompts.map(Prompt.fromProto);
|
|
4122
|
-
}
|
|
4123
|
-
if (proto.deployedPromptVersions) {
|
|
4124
|
-
m.deployedPromptVersions = proto.deployedPromptVersions.map(PromptVersion.fromProto);
|
|
4125
|
-
}
|
|
4126
|
-
return m;
|
|
4127
|
-
}
|
|
4128
|
-
constructor(kwargs) {
|
|
4129
|
-
if (!kwargs) {
|
|
4130
|
-
return;
|
|
4131
|
-
}
|
|
4132
|
-
Object.assign(this, kwargs);
|
|
4133
|
-
}
|
|
4134
|
-
toApiJson() {
|
|
4135
|
-
const toReturn = {};
|
|
4136
|
-
if (typeof this.prompts !== 'undefined' && this.prompts !== null) {
|
|
4137
|
-
toReturn['prompts'] = 'toApiJson' in this.prompts ? this.prompts.toApiJson() : this.prompts;
|
|
4138
|
-
}
|
|
4139
|
-
if (typeof this.deployedPromptVersions !== 'undefined' && this.deployedPromptVersions !== null) {
|
|
4140
|
-
toReturn['deployedPromptVersions'] = 'toApiJson' in this.deployedPromptVersions ? this.deployedPromptVersions.toApiJson() : this.deployedPromptVersions;
|
|
4141
|
-
}
|
|
4142
|
-
return toReturn;
|
|
4143
|
-
}
|
|
4144
|
-
}
|
|
4145
3917
|
class GetMultiFunctionRequest {
|
|
4146
3918
|
static fromProto(proto) {
|
|
4147
3919
|
let m = new GetMultiFunctionRequest();
|
|
@@ -4384,95 +4156,6 @@ class GetPromptModuleVersionResponse {
|
|
|
4384
4156
|
return toReturn;
|
|
4385
4157
|
}
|
|
4386
4158
|
}
|
|
4387
|
-
class GetPromptRequest {
|
|
4388
|
-
static fromProto(proto) {
|
|
4389
|
-
let m = new GetPromptRequest();
|
|
4390
|
-
m = Object.assign(m, proto);
|
|
4391
|
-
return m;
|
|
4392
|
-
}
|
|
4393
|
-
constructor(kwargs) {
|
|
4394
|
-
if (!kwargs) {
|
|
4395
|
-
return;
|
|
4396
|
-
}
|
|
4397
|
-
Object.assign(this, kwargs);
|
|
4398
|
-
}
|
|
4399
|
-
toApiJson() {
|
|
4400
|
-
const toReturn = {};
|
|
4401
|
-
if (typeof this.id !== 'undefined') {
|
|
4402
|
-
toReturn['id'] = this.id;
|
|
4403
|
-
}
|
|
4404
|
-
return toReturn;
|
|
4405
|
-
}
|
|
4406
|
-
}
|
|
4407
|
-
class GetPromptResponse {
|
|
4408
|
-
static fromProto(proto) {
|
|
4409
|
-
let m = new GetPromptResponse();
|
|
4410
|
-
m = Object.assign(m, proto);
|
|
4411
|
-
if (proto.prompt) {
|
|
4412
|
-
m.prompt = Prompt.fromProto(proto.prompt);
|
|
4413
|
-
}
|
|
4414
|
-
return m;
|
|
4415
|
-
}
|
|
4416
|
-
constructor(kwargs) {
|
|
4417
|
-
if (!kwargs) {
|
|
4418
|
-
return;
|
|
4419
|
-
}
|
|
4420
|
-
Object.assign(this, kwargs);
|
|
4421
|
-
}
|
|
4422
|
-
toApiJson() {
|
|
4423
|
-
const toReturn = {};
|
|
4424
|
-
if (typeof this.prompt !== 'undefined' && this.prompt !== null) {
|
|
4425
|
-
toReturn['prompt'] = 'toApiJson' in this.prompt ? this.prompt.toApiJson() : this.prompt;
|
|
4426
|
-
}
|
|
4427
|
-
return toReturn;
|
|
4428
|
-
}
|
|
4429
|
-
}
|
|
4430
|
-
class GetPromptVersionRequest {
|
|
4431
|
-
static fromProto(proto) {
|
|
4432
|
-
let m = new GetPromptVersionRequest();
|
|
4433
|
-
m = Object.assign(m, proto);
|
|
4434
|
-
return m;
|
|
4435
|
-
}
|
|
4436
|
-
constructor(kwargs) {
|
|
4437
|
-
if (!kwargs) {
|
|
4438
|
-
return;
|
|
4439
|
-
}
|
|
4440
|
-
Object.assign(this, kwargs);
|
|
4441
|
-
}
|
|
4442
|
-
toApiJson() {
|
|
4443
|
-
const toReturn = {};
|
|
4444
|
-
if (typeof this.id !== 'undefined') {
|
|
4445
|
-
toReturn['id'] = this.id;
|
|
4446
|
-
}
|
|
4447
|
-
if (typeof this.version !== 'undefined') {
|
|
4448
|
-
toReturn['version'] = this.version;
|
|
4449
|
-
}
|
|
4450
|
-
return toReturn;
|
|
4451
|
-
}
|
|
4452
|
-
}
|
|
4453
|
-
class GetPromptVersionResponse {
|
|
4454
|
-
static fromProto(proto) {
|
|
4455
|
-
let m = new GetPromptVersionResponse();
|
|
4456
|
-
m = Object.assign(m, proto);
|
|
4457
|
-
if (proto.promptVersion) {
|
|
4458
|
-
m.promptVersion = PromptVersion.fromProto(proto.promptVersion);
|
|
4459
|
-
}
|
|
4460
|
-
return m;
|
|
4461
|
-
}
|
|
4462
|
-
constructor(kwargs) {
|
|
4463
|
-
if (!kwargs) {
|
|
4464
|
-
return;
|
|
4465
|
-
}
|
|
4466
|
-
Object.assign(this, kwargs);
|
|
4467
|
-
}
|
|
4468
|
-
toApiJson() {
|
|
4469
|
-
const toReturn = {};
|
|
4470
|
-
if (typeof this.promptVersion !== 'undefined' && this.promptVersion !== null) {
|
|
4471
|
-
toReturn['promptVersion'] = 'toApiJson' in this.promptVersion ? this.promptVersion.toApiJson() : this.promptVersion;
|
|
4472
|
-
}
|
|
4473
|
-
return toReturn;
|
|
4474
|
-
}
|
|
4475
|
-
}
|
|
4476
4159
|
class GoalsDisabledForAccountGroupRequest {
|
|
4477
4160
|
static fromProto(proto) {
|
|
4478
4161
|
let m = new GoalsDisabledForAccountGroupRequest();
|
|
@@ -4977,12 +4660,15 @@ class ListPromptModuleVersionsResponse {
|
|
|
4977
4660
|
return toReturn;
|
|
4978
4661
|
}
|
|
4979
4662
|
}
|
|
4980
|
-
class
|
|
4663
|
+
class ListTemplateVariablesRequest {
|
|
4981
4664
|
static fromProto(proto) {
|
|
4982
|
-
let m = new
|
|
4665
|
+
let m = new ListTemplateVariablesRequest();
|
|
4983
4666
|
m = Object.assign(m, proto);
|
|
4984
|
-
if (proto.
|
|
4985
|
-
m.
|
|
4667
|
+
if (proto.assistantKey) {
|
|
4668
|
+
m.assistantKey = AssistantKey.fromProto(proto.assistantKey);
|
|
4669
|
+
}
|
|
4670
|
+
if (proto.chatUserInfo) {
|
|
4671
|
+
m.chatUserInfo = ChatUserInfo.fromProto(proto.chatUserInfo);
|
|
4986
4672
|
}
|
|
4987
4673
|
return m;
|
|
4988
4674
|
}
|
|
@@ -4994,24 +4680,21 @@ class ListPromptRequest {
|
|
|
4994
4680
|
}
|
|
4995
4681
|
toApiJson() {
|
|
4996
4682
|
const toReturn = {};
|
|
4997
|
-
if (typeof this.
|
|
4998
|
-
toReturn['
|
|
4683
|
+
if (typeof this.assistantKey !== 'undefined' && this.assistantKey !== null) {
|
|
4684
|
+
toReturn['assistantKey'] = 'toApiJson' in this.assistantKey ? this.assistantKey.toApiJson() : this.assistantKey;
|
|
4685
|
+
}
|
|
4686
|
+
if (typeof this.chatUserInfo !== 'undefined' && this.chatUserInfo !== null) {
|
|
4687
|
+
toReturn['chatUserInfo'] = 'toApiJson' in this.chatUserInfo ? this.chatUserInfo.toApiJson() : this.chatUserInfo;
|
|
4999
4688
|
}
|
|
5000
4689
|
return toReturn;
|
|
5001
4690
|
}
|
|
5002
4691
|
}
|
|
5003
|
-
class
|
|
4692
|
+
class ListTemplateVariablesResponse {
|
|
5004
4693
|
static fromProto(proto) {
|
|
5005
|
-
let m = new
|
|
4694
|
+
let m = new ListTemplateVariablesResponse();
|
|
5006
4695
|
m = Object.assign(m, proto);
|
|
5007
|
-
if (proto.
|
|
5008
|
-
m.
|
|
5009
|
-
}
|
|
5010
|
-
if (proto.deployedPromptVersions) {
|
|
5011
|
-
m.deployedPromptVersions = proto.deployedPromptVersions.map(PromptVersion.fromProto);
|
|
5012
|
-
}
|
|
5013
|
-
if (proto.metadata) {
|
|
5014
|
-
m.metadata = PagedResponseMetadata.fromProto(proto.metadata);
|
|
4696
|
+
if (proto.assistantScopedVariables) {
|
|
4697
|
+
m.assistantScopedVariables = proto.assistantScopedVariables.map(TemplateVariable.fromProto);
|
|
5015
4698
|
}
|
|
5016
4699
|
return m;
|
|
5017
4700
|
}
|
|
@@ -5023,25 +4706,16 @@ class ListPromptResponse {
|
|
|
5023
4706
|
}
|
|
5024
4707
|
toApiJson() {
|
|
5025
4708
|
const toReturn = {};
|
|
5026
|
-
if (typeof this.
|
|
5027
|
-
toReturn['
|
|
5028
|
-
}
|
|
5029
|
-
if (typeof this.deployedPromptVersions !== 'undefined' && this.deployedPromptVersions !== null) {
|
|
5030
|
-
toReturn['deployedPromptVersions'] = 'toApiJson' in this.deployedPromptVersions ? this.deployedPromptVersions.toApiJson() : this.deployedPromptVersions;
|
|
5031
|
-
}
|
|
5032
|
-
if (typeof this.metadata !== 'undefined' && this.metadata !== null) {
|
|
5033
|
-
toReturn['metadata'] = 'toApiJson' in this.metadata ? this.metadata.toApiJson() : this.metadata;
|
|
4709
|
+
if (typeof this.assistantScopedVariables !== 'undefined' && this.assistantScopedVariables !== null) {
|
|
4710
|
+
toReturn['assistantScopedVariables'] = 'toApiJson' in this.assistantScopedVariables ? this.assistantScopedVariables.toApiJson() : this.assistantScopedVariables;
|
|
5034
4711
|
}
|
|
5035
4712
|
return toReturn;
|
|
5036
4713
|
}
|
|
5037
4714
|
}
|
|
5038
|
-
class
|
|
4715
|
+
class UpsertAssistantRequestOptions {
|
|
5039
4716
|
static fromProto(proto) {
|
|
5040
|
-
let m = new
|
|
4717
|
+
let m = new UpsertAssistantRequestOptions();
|
|
5041
4718
|
m = Object.assign(m, proto);
|
|
5042
|
-
if (proto.pagingOptions) {
|
|
5043
|
-
m.pagingOptions = PagedRequestOptions.fromProto(proto.pagingOptions);
|
|
5044
|
-
}
|
|
5045
4719
|
return m;
|
|
5046
4720
|
}
|
|
5047
4721
|
constructor(kwargs) {
|
|
@@ -5052,25 +4726,16 @@ class ListPromptVersionsRequest {
|
|
|
5052
4726
|
}
|
|
5053
4727
|
toApiJson() {
|
|
5054
4728
|
const toReturn = {};
|
|
5055
|
-
if (typeof this.
|
|
5056
|
-
toReturn['
|
|
5057
|
-
}
|
|
5058
|
-
if (typeof this.pagingOptions !== 'undefined' && this.pagingOptions !== null) {
|
|
5059
|
-
toReturn['pagingOptions'] = 'toApiJson' in this.pagingOptions ? this.pagingOptions.toApiJson() : this.pagingOptions;
|
|
4729
|
+
if (typeof this.applyDefaults !== 'undefined') {
|
|
4730
|
+
toReturn['applyDefaults'] = this.applyDefaults;
|
|
5060
4731
|
}
|
|
5061
4732
|
return toReturn;
|
|
5062
4733
|
}
|
|
5063
4734
|
}
|
|
5064
|
-
class
|
|
4735
|
+
class GetMultiAssistantRequestOptions {
|
|
5065
4736
|
static fromProto(proto) {
|
|
5066
|
-
let m = new
|
|
4737
|
+
let m = new GetMultiAssistantRequestOptions();
|
|
5067
4738
|
m = Object.assign(m, proto);
|
|
5068
|
-
if (proto.promptVersions) {
|
|
5069
|
-
m.promptVersions = proto.promptVersions.map(PromptVersion.fromProto);
|
|
5070
|
-
}
|
|
5071
|
-
if (proto.metadata) {
|
|
5072
|
-
m.metadata = PagedResponseMetadata.fromProto(proto.metadata);
|
|
5073
|
-
}
|
|
5074
4739
|
return m;
|
|
5075
4740
|
}
|
|
5076
4741
|
constructor(kwargs) {
|
|
@@ -5081,25 +4746,36 @@ class ListPromptVersionsResponse {
|
|
|
5081
4746
|
}
|
|
5082
4747
|
toApiJson() {
|
|
5083
4748
|
const toReturn = {};
|
|
5084
|
-
if (typeof this.
|
|
5085
|
-
toReturn['
|
|
5086
|
-
}
|
|
5087
|
-
if (typeof this.metadata !== 'undefined' && this.metadata !== null) {
|
|
5088
|
-
toReturn['metadata'] = 'toApiJson' in this.metadata ? this.metadata.toApiJson() : this.metadata;
|
|
4749
|
+
if (typeof this.skipGoalsHydration !== 'undefined') {
|
|
4750
|
+
toReturn['skipGoalsHydration'] = this.skipGoalsHydration;
|
|
5089
4751
|
}
|
|
5090
4752
|
return toReturn;
|
|
5091
4753
|
}
|
|
5092
4754
|
}
|
|
5093
|
-
class
|
|
4755
|
+
class CreatePromptModuleVersionRequestOptions {
|
|
5094
4756
|
static fromProto(proto) {
|
|
5095
|
-
let m = new
|
|
4757
|
+
let m = new CreatePromptModuleVersionRequestOptions();
|
|
5096
4758
|
m = Object.assign(m, proto);
|
|
5097
|
-
|
|
5098
|
-
|
|
4759
|
+
return m;
|
|
4760
|
+
}
|
|
4761
|
+
constructor(kwargs) {
|
|
4762
|
+
if (!kwargs) {
|
|
4763
|
+
return;
|
|
5099
4764
|
}
|
|
5100
|
-
|
|
5101
|
-
|
|
4765
|
+
Object.assign(this, kwargs);
|
|
4766
|
+
}
|
|
4767
|
+
toApiJson() {
|
|
4768
|
+
const toReturn = {};
|
|
4769
|
+
if (typeof this.shouldDeploy !== 'undefined') {
|
|
4770
|
+
toReturn['shouldDeploy'] = this.shouldDeploy;
|
|
5102
4771
|
}
|
|
4772
|
+
return toReturn;
|
|
4773
|
+
}
|
|
4774
|
+
}
|
|
4775
|
+
class CreateAssistantRequestOptions {
|
|
4776
|
+
static fromProto(proto) {
|
|
4777
|
+
let m = new CreateAssistantRequestOptions();
|
|
4778
|
+
m = Object.assign(m, proto);
|
|
5103
4779
|
return m;
|
|
5104
4780
|
}
|
|
5105
4781
|
constructor(kwargs) {
|
|
@@ -5110,22 +4786,16 @@ class ListTemplateVariablesRequest {
|
|
|
5110
4786
|
}
|
|
5111
4787
|
toApiJson() {
|
|
5112
4788
|
const toReturn = {};
|
|
5113
|
-
if (typeof this.
|
|
5114
|
-
toReturn['
|
|
5115
|
-
}
|
|
5116
|
-
if (typeof this.chatUserInfo !== 'undefined' && this.chatUserInfo !== null) {
|
|
5117
|
-
toReturn['chatUserInfo'] = 'toApiJson' in this.chatUserInfo ? this.chatUserInfo.toApiJson() : this.chatUserInfo;
|
|
4789
|
+
if (typeof this.applyDefaults !== 'undefined') {
|
|
4790
|
+
toReturn['applyDefaults'] = this.applyDefaults;
|
|
5118
4791
|
}
|
|
5119
4792
|
return toReturn;
|
|
5120
4793
|
}
|
|
5121
4794
|
}
|
|
5122
|
-
class
|
|
4795
|
+
class GetAssistantRequestOptions {
|
|
5123
4796
|
static fromProto(proto) {
|
|
5124
|
-
let m = new
|
|
4797
|
+
let m = new GetAssistantRequestOptions();
|
|
5125
4798
|
m = Object.assign(m, proto);
|
|
5126
|
-
if (proto.assistantScopedVariables) {
|
|
5127
|
-
m.assistantScopedVariables = proto.assistantScopedVariables.map(TemplateVariable.fromProto);
|
|
5128
|
-
}
|
|
5129
4799
|
return m;
|
|
5130
4800
|
}
|
|
5131
4801
|
constructor(kwargs) {
|
|
@@ -5136,8 +4806,8 @@ class ListTemplateVariablesResponse {
|
|
|
5136
4806
|
}
|
|
5137
4807
|
toApiJson() {
|
|
5138
4808
|
const toReturn = {};
|
|
5139
|
-
if (typeof this.
|
|
5140
|
-
toReturn['
|
|
4809
|
+
if (typeof this.skipGoalsHydration !== 'undefined') {
|
|
4810
|
+
toReturn['skipGoalsHydration'] = this.skipGoalsHydration;
|
|
5141
4811
|
}
|
|
5142
4812
|
return toReturn;
|
|
5143
4813
|
}
|
|
@@ -5197,10 +4867,16 @@ class ExecuteFunctionRequestOptions {
|
|
|
5197
4867
|
return toReturn;
|
|
5198
4868
|
}
|
|
5199
4869
|
}
|
|
5200
|
-
class
|
|
4870
|
+
class SetAssistantConnectionsRequest {
|
|
5201
4871
|
static fromProto(proto) {
|
|
5202
|
-
let m = new
|
|
4872
|
+
let m = new SetAssistantConnectionsRequest();
|
|
5203
4873
|
m = Object.assign(m, proto);
|
|
4874
|
+
if (proto.associationStates) {
|
|
4875
|
+
m.associationStates = proto.associationStates.map(SetAssistantConnectionsRequestConnectionState.fromProto);
|
|
4876
|
+
}
|
|
4877
|
+
if (proto.assistantKey) {
|
|
4878
|
+
m.assistantKey = AssistantKey.fromProto(proto.assistantKey);
|
|
4879
|
+
}
|
|
5204
4880
|
return m;
|
|
5205
4881
|
}
|
|
5206
4882
|
constructor(kwargs) {
|
|
@@ -5211,16 +4887,22 @@ class CreateAssistantRequestOptions {
|
|
|
5211
4887
|
}
|
|
5212
4888
|
toApiJson() {
|
|
5213
4889
|
const toReturn = {};
|
|
5214
|
-
if (typeof this.
|
|
5215
|
-
toReturn['
|
|
4890
|
+
if (typeof this.associationStates !== 'undefined' && this.associationStates !== null) {
|
|
4891
|
+
toReturn['associationStates'] = 'toApiJson' in this.associationStates ? this.associationStates.toApiJson() : this.associationStates;
|
|
4892
|
+
}
|
|
4893
|
+
if (typeof this.assistantKey !== 'undefined' && this.assistantKey !== null) {
|
|
4894
|
+
toReturn['assistantKey'] = 'toApiJson' in this.assistantKey ? this.assistantKey.toApiJson() : this.assistantKey;
|
|
5216
4895
|
}
|
|
5217
4896
|
return toReturn;
|
|
5218
4897
|
}
|
|
5219
4898
|
}
|
|
5220
|
-
class
|
|
4899
|
+
class ListGoalsRequestSortOptions {
|
|
5221
4900
|
static fromProto(proto) {
|
|
5222
|
-
let m = new
|
|
4901
|
+
let m = new ListGoalsRequestSortOptions();
|
|
5223
4902
|
m = Object.assign(m, proto);
|
|
4903
|
+
if (proto.order) {
|
|
4904
|
+
m.order = enumStringToValue(ListGoalsRequestSortingOrder, proto.order);
|
|
4905
|
+
}
|
|
5224
4906
|
return m;
|
|
5225
4907
|
}
|
|
5226
4908
|
constructor(kwargs) {
|
|
@@ -5231,16 +4913,25 @@ class GetAssistantRequestOptions {
|
|
|
5231
4913
|
}
|
|
5232
4914
|
toApiJson() {
|
|
5233
4915
|
const toReturn = {};
|
|
5234
|
-
if (typeof this.
|
|
5235
|
-
toReturn['
|
|
4916
|
+
if (typeof this.field !== 'undefined') {
|
|
4917
|
+
toReturn['field'] = this.field;
|
|
4918
|
+
}
|
|
4919
|
+
if (typeof this.order !== 'undefined') {
|
|
4920
|
+
toReturn['order'] = this.order;
|
|
5236
4921
|
}
|
|
5237
4922
|
return toReturn;
|
|
5238
4923
|
}
|
|
5239
4924
|
}
|
|
5240
|
-
class
|
|
4925
|
+
class UpdateAssistantRequest {
|
|
5241
4926
|
static fromProto(proto) {
|
|
5242
|
-
let m = new
|
|
4927
|
+
let m = new UpdateAssistantRequest();
|
|
5243
4928
|
m = Object.assign(m, proto);
|
|
4929
|
+
if (proto.assistant) {
|
|
4930
|
+
m.assistant = Assistant.fromProto(proto.assistant);
|
|
4931
|
+
}
|
|
4932
|
+
if (proto.fieldMask) {
|
|
4933
|
+
m.fieldMask = FieldMask.fromProto(proto.fieldMask);
|
|
4934
|
+
}
|
|
5244
4935
|
return m;
|
|
5245
4936
|
}
|
|
5246
4937
|
constructor(kwargs) {
|
|
@@ -5251,16 +4942,22 @@ class UpsertAssistantRequestOptions {
|
|
|
5251
4942
|
}
|
|
5252
4943
|
toApiJson() {
|
|
5253
4944
|
const toReturn = {};
|
|
5254
|
-
if (typeof this.
|
|
5255
|
-
toReturn['
|
|
4945
|
+
if (typeof this.assistant !== 'undefined' && this.assistant !== null) {
|
|
4946
|
+
toReturn['assistant'] = 'toApiJson' in this.assistant ? this.assistant.toApiJson() : this.assistant;
|
|
4947
|
+
}
|
|
4948
|
+
if (typeof this.fieldMask !== 'undefined' && this.fieldMask !== null) {
|
|
4949
|
+
toReturn['fieldMask'] = 'toApiJson' in this.fieldMask ? this.fieldMask.toApiJson() : this.fieldMask;
|
|
5256
4950
|
}
|
|
5257
4951
|
return toReturn;
|
|
5258
4952
|
}
|
|
5259
4953
|
}
|
|
5260
|
-
class
|
|
4954
|
+
class UpdateGoalRequest {
|
|
5261
4955
|
static fromProto(proto) {
|
|
5262
|
-
let m = new
|
|
4956
|
+
let m = new UpdateGoalRequest();
|
|
5263
4957
|
m = Object.assign(m, proto);
|
|
4958
|
+
if (proto.goal) {
|
|
4959
|
+
m.goal = Goal.fromProto(proto.goal);
|
|
4960
|
+
}
|
|
5264
4961
|
return m;
|
|
5265
4962
|
}
|
|
5266
4963
|
constructor(kwargs) {
|
|
@@ -5271,16 +4968,19 @@ class CreatePromptModuleVersionRequestOptions {
|
|
|
5271
4968
|
}
|
|
5272
4969
|
toApiJson() {
|
|
5273
4970
|
const toReturn = {};
|
|
5274
|
-
if (typeof this.
|
|
5275
|
-
toReturn['
|
|
4971
|
+
if (typeof this.goal !== 'undefined' && this.goal !== null) {
|
|
4972
|
+
toReturn['goal'] = 'toApiJson' in this.goal ? this.goal.toApiJson() : this.goal;
|
|
5276
4973
|
}
|
|
5277
4974
|
return toReturn;
|
|
5278
4975
|
}
|
|
5279
4976
|
}
|
|
5280
|
-
class
|
|
4977
|
+
class UpdatePromptModuleRequest {
|
|
5281
4978
|
static fromProto(proto) {
|
|
5282
|
-
let m = new
|
|
4979
|
+
let m = new UpdatePromptModuleRequest();
|
|
5283
4980
|
m = Object.assign(m, proto);
|
|
4981
|
+
if (proto.namespace) {
|
|
4982
|
+
m.namespace = Namespace.fromProto(proto.namespace);
|
|
4983
|
+
}
|
|
5284
4984
|
return m;
|
|
5285
4985
|
}
|
|
5286
4986
|
constructor(kwargs) {
|
|
@@ -5291,21 +4991,30 @@ class GetMultiAssistantRequestOptions {
|
|
|
5291
4991
|
}
|
|
5292
4992
|
toApiJson() {
|
|
5293
4993
|
const toReturn = {};
|
|
5294
|
-
if (typeof this.
|
|
5295
|
-
toReturn['
|
|
4994
|
+
if (typeof this.id !== 'undefined') {
|
|
4995
|
+
toReturn['id'] = this.id;
|
|
4996
|
+
}
|
|
4997
|
+
if (typeof this.namespace !== 'undefined' && this.namespace !== null) {
|
|
4998
|
+
toReturn['namespace'] = 'toApiJson' in this.namespace ? this.namespace.toApiJson() : this.namespace;
|
|
4999
|
+
}
|
|
5000
|
+
if (typeof this.name !== 'undefined') {
|
|
5001
|
+
toReturn['name'] = this.name;
|
|
5002
|
+
}
|
|
5003
|
+
if (typeof this.description !== 'undefined') {
|
|
5004
|
+
toReturn['description'] = this.description;
|
|
5296
5005
|
}
|
|
5297
5006
|
return toReturn;
|
|
5298
5007
|
}
|
|
5299
5008
|
}
|
|
5300
|
-
class
|
|
5009
|
+
class UpsertAssistantRequest {
|
|
5301
5010
|
static fromProto(proto) {
|
|
5302
|
-
let m = new
|
|
5011
|
+
let m = new UpsertAssistantRequest();
|
|
5303
5012
|
m = Object.assign(m, proto);
|
|
5304
|
-
if (proto.
|
|
5305
|
-
m.
|
|
5013
|
+
if (proto.assistant) {
|
|
5014
|
+
m.assistant = Assistant.fromProto(proto.assistant);
|
|
5306
5015
|
}
|
|
5307
|
-
if (proto.
|
|
5308
|
-
m.
|
|
5016
|
+
if (proto.options) {
|
|
5017
|
+
m.options = UpsertAssistantRequestOptions.fromProto(proto.options);
|
|
5309
5018
|
}
|
|
5310
5019
|
return m;
|
|
5311
5020
|
}
|
|
@@ -5317,21 +5026,21 @@ class SetAssistantConnectionsRequest {
|
|
|
5317
5026
|
}
|
|
5318
5027
|
toApiJson() {
|
|
5319
5028
|
const toReturn = {};
|
|
5320
|
-
if (typeof this.
|
|
5321
|
-
toReturn['
|
|
5029
|
+
if (typeof this.assistant !== 'undefined' && this.assistant !== null) {
|
|
5030
|
+
toReturn['assistant'] = 'toApiJson' in this.assistant ? this.assistant.toApiJson() : this.assistant;
|
|
5322
5031
|
}
|
|
5323
|
-
if (typeof this.
|
|
5324
|
-
toReturn['
|
|
5032
|
+
if (typeof this.options !== 'undefined' && this.options !== null) {
|
|
5033
|
+
toReturn['options'] = 'toApiJson' in this.options ? this.options.toApiJson() : this.options;
|
|
5325
5034
|
}
|
|
5326
5035
|
return toReturn;
|
|
5327
5036
|
}
|
|
5328
5037
|
}
|
|
5329
|
-
class
|
|
5038
|
+
class UpsertAssistantResponse {
|
|
5330
5039
|
static fromProto(proto) {
|
|
5331
|
-
let m = new
|
|
5040
|
+
let m = new UpsertAssistantResponse();
|
|
5332
5041
|
m = Object.assign(m, proto);
|
|
5333
|
-
if (proto.
|
|
5334
|
-
m.
|
|
5042
|
+
if (proto.assistant) {
|
|
5043
|
+
m.assistant = Assistant.fromProto(proto.assistant);
|
|
5335
5044
|
}
|
|
5336
5045
|
return m;
|
|
5337
5046
|
}
|
|
@@ -5343,24 +5052,18 @@ class ListGoalsRequestSortOptions {
|
|
|
5343
5052
|
}
|
|
5344
5053
|
toApiJson() {
|
|
5345
5054
|
const toReturn = {};
|
|
5346
|
-
if (typeof this.
|
|
5347
|
-
toReturn['
|
|
5348
|
-
}
|
|
5349
|
-
if (typeof this.order !== 'undefined') {
|
|
5350
|
-
toReturn['order'] = this.order;
|
|
5055
|
+
if (typeof this.assistant !== 'undefined' && this.assistant !== null) {
|
|
5056
|
+
toReturn['assistant'] = 'toApiJson' in this.assistant ? this.assistant.toApiJson() : this.assistant;
|
|
5351
5057
|
}
|
|
5352
5058
|
return toReturn;
|
|
5353
5059
|
}
|
|
5354
5060
|
}
|
|
5355
|
-
class
|
|
5061
|
+
class UpsertConnectionRequest {
|
|
5356
5062
|
static fromProto(proto) {
|
|
5357
|
-
let m = new
|
|
5063
|
+
let m = new UpsertConnectionRequest();
|
|
5358
5064
|
m = Object.assign(m, proto);
|
|
5359
|
-
if (proto.
|
|
5360
|
-
m.
|
|
5361
|
-
}
|
|
5362
|
-
if (proto.fieldMask) {
|
|
5363
|
-
m.fieldMask = FieldMask.fromProto(proto.fieldMask);
|
|
5065
|
+
if (proto.connection) {
|
|
5066
|
+
m.connection = Connection.fromProto(proto.connection);
|
|
5364
5067
|
}
|
|
5365
5068
|
return m;
|
|
5366
5069
|
}
|
|
@@ -5372,18 +5075,38 @@ class UpdateAssistantRequest {
|
|
|
5372
5075
|
}
|
|
5373
5076
|
toApiJson() {
|
|
5374
5077
|
const toReturn = {};
|
|
5375
|
-
if (typeof this.
|
|
5376
|
-
toReturn['
|
|
5078
|
+
if (typeof this.connection !== 'undefined' && this.connection !== null) {
|
|
5079
|
+
toReturn['connection'] = 'toApiJson' in this.connection ? this.connection.toApiJson() : this.connection;
|
|
5377
5080
|
}
|
|
5378
|
-
|
|
5379
|
-
|
|
5081
|
+
return toReturn;
|
|
5082
|
+
}
|
|
5083
|
+
}
|
|
5084
|
+
class UpsertFunctionRequest {
|
|
5085
|
+
static fromProto(proto) {
|
|
5086
|
+
let m = new UpsertFunctionRequest();
|
|
5087
|
+
m = Object.assign(m, proto);
|
|
5088
|
+
if (proto.function) {
|
|
5089
|
+
m.function = Function.fromProto(proto.function);
|
|
5090
|
+
}
|
|
5091
|
+
return m;
|
|
5092
|
+
}
|
|
5093
|
+
constructor(kwargs) {
|
|
5094
|
+
if (!kwargs) {
|
|
5095
|
+
return;
|
|
5096
|
+
}
|
|
5097
|
+
Object.assign(this, kwargs);
|
|
5098
|
+
}
|
|
5099
|
+
toApiJson() {
|
|
5100
|
+
const toReturn = {};
|
|
5101
|
+
if (typeof this.function !== 'undefined' && this.function !== null) {
|
|
5102
|
+
toReturn['function'] = 'toApiJson' in this.function ? this.function.toApiJson() : this.function;
|
|
5380
5103
|
}
|
|
5381
5104
|
return toReturn;
|
|
5382
5105
|
}
|
|
5383
5106
|
}
|
|
5384
|
-
class
|
|
5107
|
+
class UpsertGoalRequest {
|
|
5385
5108
|
static fromProto(proto) {
|
|
5386
|
-
let m = new
|
|
5109
|
+
let m = new UpsertGoalRequest();
|
|
5387
5110
|
m = Object.assign(m, proto);
|
|
5388
5111
|
if (proto.goal) {
|
|
5389
5112
|
m.goal = Goal.fromProto(proto.goal);
|
|
@@ -5404,13 +5127,10 @@ class UpdateGoalRequest {
|
|
|
5404
5127
|
return toReturn;
|
|
5405
5128
|
}
|
|
5406
5129
|
}
|
|
5407
|
-
class
|
|
5130
|
+
class ValidatePromptModuleRequest {
|
|
5408
5131
|
static fromProto(proto) {
|
|
5409
|
-
let m = new
|
|
5132
|
+
let m = new ValidatePromptModuleRequest();
|
|
5410
5133
|
m = Object.assign(m, proto);
|
|
5411
|
-
if (proto.namespace) {
|
|
5412
|
-
m.namespace = Namespace.fromProto(proto.namespace);
|
|
5413
|
-
}
|
|
5414
5134
|
return m;
|
|
5415
5135
|
}
|
|
5416
5136
|
constructor(kwargs) {
|
|
@@ -5421,25 +5141,42 @@ class UpdatePromptModuleRequest {
|
|
|
5421
5141
|
}
|
|
5422
5142
|
toApiJson() {
|
|
5423
5143
|
const toReturn = {};
|
|
5424
|
-
if (typeof this.
|
|
5425
|
-
toReturn['
|
|
5144
|
+
if (typeof this.content !== 'undefined') {
|
|
5145
|
+
toReturn['content'] = this.content;
|
|
5426
5146
|
}
|
|
5427
|
-
|
|
5428
|
-
|
|
5147
|
+
return toReturn;
|
|
5148
|
+
}
|
|
5149
|
+
}
|
|
5150
|
+
class ValidatePromptModuleResponse {
|
|
5151
|
+
static fromProto(proto) {
|
|
5152
|
+
let m = new ValidatePromptModuleResponse();
|
|
5153
|
+
m = Object.assign(m, proto);
|
|
5154
|
+
return m;
|
|
5155
|
+
}
|
|
5156
|
+
constructor(kwargs) {
|
|
5157
|
+
if (!kwargs) {
|
|
5158
|
+
return;
|
|
5429
5159
|
}
|
|
5430
|
-
|
|
5431
|
-
|
|
5160
|
+
Object.assign(this, kwargs);
|
|
5161
|
+
}
|
|
5162
|
+
toApiJson() {
|
|
5163
|
+
const toReturn = {};
|
|
5164
|
+
if (typeof this.isValid !== 'undefined') {
|
|
5165
|
+
toReturn['isValid'] = this.isValid;
|
|
5432
5166
|
}
|
|
5433
|
-
if (typeof this.
|
|
5434
|
-
toReturn['
|
|
5167
|
+
if (typeof this.errorMessage !== 'undefined') {
|
|
5168
|
+
toReturn['errorMessage'] = this.errorMessage;
|
|
5435
5169
|
}
|
|
5436
5170
|
return toReturn;
|
|
5437
5171
|
}
|
|
5438
5172
|
}
|
|
5439
|
-
class
|
|
5173
|
+
class ValidatePromptModuleVersionsRequest {
|
|
5440
5174
|
static fromProto(proto) {
|
|
5441
|
-
let m = new
|
|
5175
|
+
let m = new ValidatePromptModuleVersionsRequest();
|
|
5442
5176
|
m = Object.assign(m, proto);
|
|
5177
|
+
if (proto.versions) {
|
|
5178
|
+
m.versions = proto.versions.map(PromptModuleVersion.fromProto);
|
|
5179
|
+
}
|
|
5443
5180
|
return m;
|
|
5444
5181
|
}
|
|
5445
5182
|
constructor(kwargs) {
|
|
@@ -5450,27 +5187,18 @@ class UpdatePromptRequest {
|
|
|
5450
5187
|
}
|
|
5451
5188
|
toApiJson() {
|
|
5452
5189
|
const toReturn = {};
|
|
5453
|
-
if (typeof this.
|
|
5454
|
-
toReturn['
|
|
5455
|
-
}
|
|
5456
|
-
if (typeof this.content !== 'undefined') {
|
|
5457
|
-
toReturn['content'] = this.content;
|
|
5458
|
-
}
|
|
5459
|
-
if (typeof this.description !== 'undefined') {
|
|
5460
|
-
toReturn['description'] = this.description;
|
|
5190
|
+
if (typeof this.versions !== 'undefined' && this.versions !== null) {
|
|
5191
|
+
toReturn['versions'] = 'toApiJson' in this.versions ? this.versions.toApiJson() : this.versions;
|
|
5461
5192
|
}
|
|
5462
5193
|
return toReturn;
|
|
5463
5194
|
}
|
|
5464
5195
|
}
|
|
5465
|
-
class
|
|
5196
|
+
class ValidatePromptModuleVersionsResponse {
|
|
5466
5197
|
static fromProto(proto) {
|
|
5467
|
-
let m = new
|
|
5198
|
+
let m = new ValidatePromptModuleVersionsResponse();
|
|
5468
5199
|
m = Object.assign(m, proto);
|
|
5469
|
-
if (proto.
|
|
5470
|
-
m.
|
|
5471
|
-
}
|
|
5472
|
-
if (proto.options) {
|
|
5473
|
-
m.options = UpsertAssistantRequestOptions.fromProto(proto.options);
|
|
5200
|
+
if (proto.results) {
|
|
5201
|
+
m.results = proto.results.map(ValidatePromptModuleVersionsResponseValidationResult.fromProto);
|
|
5474
5202
|
}
|
|
5475
5203
|
return m;
|
|
5476
5204
|
}
|
|
@@ -5482,21 +5210,21 @@ class UpsertAssistantRequest {
|
|
|
5482
5210
|
}
|
|
5483
5211
|
toApiJson() {
|
|
5484
5212
|
const toReturn = {};
|
|
5485
|
-
if (typeof this.
|
|
5486
|
-
toReturn['
|
|
5213
|
+
if (typeof this.results !== 'undefined' && this.results !== null) {
|
|
5214
|
+
toReturn['results'] = 'toApiJson' in this.results ? this.results.toApiJson() : this.results;
|
|
5487
5215
|
}
|
|
5488
|
-
if (typeof this.
|
|
5489
|
-
toReturn['
|
|
5216
|
+
if (typeof this.allValid !== 'undefined') {
|
|
5217
|
+
toReturn['allValid'] = this.allValid;
|
|
5490
5218
|
}
|
|
5491
5219
|
return toReturn;
|
|
5492
5220
|
}
|
|
5493
5221
|
}
|
|
5494
|
-
class
|
|
5222
|
+
class ValidatePromptModulesRequest {
|
|
5495
5223
|
static fromProto(proto) {
|
|
5496
|
-
let m = new
|
|
5224
|
+
let m = new ValidatePromptModulesRequest();
|
|
5497
5225
|
m = Object.assign(m, proto);
|
|
5498
|
-
if (proto.
|
|
5499
|
-
m.
|
|
5226
|
+
if (proto.promptModules) {
|
|
5227
|
+
m.promptModules = proto.promptModules.map(PromptModule.fromProto);
|
|
5500
5228
|
}
|
|
5501
5229
|
return m;
|
|
5502
5230
|
}
|
|
@@ -5508,18 +5236,18 @@ class UpsertAssistantResponse {
|
|
|
5508
5236
|
}
|
|
5509
5237
|
toApiJson() {
|
|
5510
5238
|
const toReturn = {};
|
|
5511
|
-
if (typeof this.
|
|
5512
|
-
toReturn['
|
|
5239
|
+
if (typeof this.promptModules !== 'undefined' && this.promptModules !== null) {
|
|
5240
|
+
toReturn['promptModules'] = 'toApiJson' in this.promptModules ? this.promptModules.toApiJson() : this.promptModules;
|
|
5513
5241
|
}
|
|
5514
5242
|
return toReturn;
|
|
5515
5243
|
}
|
|
5516
5244
|
}
|
|
5517
|
-
class
|
|
5245
|
+
class ValidatePromptModulesResponse {
|
|
5518
5246
|
static fromProto(proto) {
|
|
5519
|
-
let m = new
|
|
5247
|
+
let m = new ValidatePromptModulesResponse();
|
|
5520
5248
|
m = Object.assign(m, proto);
|
|
5521
|
-
if (proto.
|
|
5522
|
-
m.
|
|
5249
|
+
if (proto.results) {
|
|
5250
|
+
m.results = proto.results.map(ValidatePromptModulesResponseValidationResult.fromProto);
|
|
5523
5251
|
}
|
|
5524
5252
|
return m;
|
|
5525
5253
|
}
|
|
@@ -5531,18 +5259,21 @@ class UpsertConnectionRequest {
|
|
|
5531
5259
|
}
|
|
5532
5260
|
toApiJson() {
|
|
5533
5261
|
const toReturn = {};
|
|
5534
|
-
if (typeof this.
|
|
5535
|
-
toReturn['
|
|
5262
|
+
if (typeof this.results !== 'undefined' && this.results !== null) {
|
|
5263
|
+
toReturn['results'] = 'toApiJson' in this.results ? this.results.toApiJson() : this.results;
|
|
5264
|
+
}
|
|
5265
|
+
if (typeof this.allValid !== 'undefined') {
|
|
5266
|
+
toReturn['allValid'] = this.allValid;
|
|
5536
5267
|
}
|
|
5537
5268
|
return toReturn;
|
|
5538
5269
|
}
|
|
5539
5270
|
}
|
|
5540
|
-
class
|
|
5271
|
+
class ValidatePromptModulesResponseValidationResult {
|
|
5541
5272
|
static fromProto(proto) {
|
|
5542
|
-
let m = new
|
|
5273
|
+
let m = new ValidatePromptModulesResponseValidationResult();
|
|
5543
5274
|
m = Object.assign(m, proto);
|
|
5544
|
-
if (proto.
|
|
5545
|
-
m.
|
|
5275
|
+
if (proto.namespace) {
|
|
5276
|
+
m.namespace = Namespace.fromProto(proto.namespace);
|
|
5546
5277
|
}
|
|
5547
5278
|
return m;
|
|
5548
5279
|
}
|
|
@@ -5554,18 +5285,27 @@ class UpsertFunctionRequest {
|
|
|
5554
5285
|
}
|
|
5555
5286
|
toApiJson() {
|
|
5556
5287
|
const toReturn = {};
|
|
5557
|
-
if (typeof this.
|
|
5558
|
-
toReturn['
|
|
5288
|
+
if (typeof this.id !== 'undefined') {
|
|
5289
|
+
toReturn['id'] = this.id;
|
|
5290
|
+
}
|
|
5291
|
+
if (typeof this.namespace !== 'undefined' && this.namespace !== null) {
|
|
5292
|
+
toReturn['namespace'] = 'toApiJson' in this.namespace ? this.namespace.toApiJson() : this.namespace;
|
|
5293
|
+
}
|
|
5294
|
+
if (typeof this.isValid !== 'undefined') {
|
|
5295
|
+
toReturn['isValid'] = this.isValid;
|
|
5296
|
+
}
|
|
5297
|
+
if (typeof this.errorMessage !== 'undefined') {
|
|
5298
|
+
toReturn['errorMessage'] = this.errorMessage;
|
|
5559
5299
|
}
|
|
5560
5300
|
return toReturn;
|
|
5561
5301
|
}
|
|
5562
5302
|
}
|
|
5563
|
-
class
|
|
5303
|
+
class ValidatePromptModuleVersionsResponseValidationResult {
|
|
5564
5304
|
static fromProto(proto) {
|
|
5565
|
-
let m = new
|
|
5305
|
+
let m = new ValidatePromptModuleVersionsResponseValidationResult();
|
|
5566
5306
|
m = Object.assign(m, proto);
|
|
5567
|
-
if (proto.
|
|
5568
|
-
m.
|
|
5307
|
+
if (proto.namespace) {
|
|
5308
|
+
m.namespace = Namespace.fromProto(proto.namespace);
|
|
5569
5309
|
}
|
|
5570
5310
|
return m;
|
|
5571
5311
|
}
|
|
@@ -5577,16 +5317,31 @@ class UpsertGoalRequest {
|
|
|
5577
5317
|
}
|
|
5578
5318
|
toApiJson() {
|
|
5579
5319
|
const toReturn = {};
|
|
5580
|
-
if (typeof this.
|
|
5581
|
-
toReturn['
|
|
5320
|
+
if (typeof this.id !== 'undefined') {
|
|
5321
|
+
toReturn['id'] = this.id;
|
|
5322
|
+
}
|
|
5323
|
+
if (typeof this.namespace !== 'undefined' && this.namespace !== null) {
|
|
5324
|
+
toReturn['namespace'] = 'toApiJson' in this.namespace ? this.namespace.toApiJson() : this.namespace;
|
|
5325
|
+
}
|
|
5326
|
+
if (typeof this.isValid !== 'undefined') {
|
|
5327
|
+
toReturn['isValid'] = this.isValid;
|
|
5328
|
+
}
|
|
5329
|
+
if (typeof this.errorMessage !== 'undefined') {
|
|
5330
|
+
toReturn['errorMessage'] = this.errorMessage;
|
|
5582
5331
|
}
|
|
5583
5332
|
return toReturn;
|
|
5584
5333
|
}
|
|
5585
5334
|
}
|
|
5586
|
-
class
|
|
5335
|
+
class ValidationResult {
|
|
5587
5336
|
static fromProto(proto) {
|
|
5588
|
-
let m = new
|
|
5337
|
+
let m = new ValidationResult();
|
|
5589
5338
|
m = Object.assign(m, proto);
|
|
5339
|
+
if (proto.failureAction) {
|
|
5340
|
+
m.failureAction = enumStringToValue(ValidationFailureAction, proto.failureAction);
|
|
5341
|
+
}
|
|
5342
|
+
if (proto.violations) {
|
|
5343
|
+
m.violations = proto.violations.map(ValidationViolation.fromProto);
|
|
5344
|
+
}
|
|
5590
5345
|
return m;
|
|
5591
5346
|
}
|
|
5592
5347
|
constructor(kwargs) {
|
|
@@ -5597,16 +5352,22 @@ class ValidatePromptModuleRequest {
|
|
|
5597
5352
|
}
|
|
5598
5353
|
toApiJson() {
|
|
5599
5354
|
const toReturn = {};
|
|
5600
|
-
if (typeof this.
|
|
5601
|
-
toReturn['
|
|
5355
|
+
if (typeof this.failureAction !== 'undefined') {
|
|
5356
|
+
toReturn['failureAction'] = this.failureAction;
|
|
5357
|
+
}
|
|
5358
|
+
if (typeof this.violations !== 'undefined' && this.violations !== null) {
|
|
5359
|
+
toReturn['violations'] = 'toApiJson' in this.violations ? this.violations.toApiJson() : this.violations;
|
|
5602
5360
|
}
|
|
5603
5361
|
return toReturn;
|
|
5604
5362
|
}
|
|
5605
5363
|
}
|
|
5606
|
-
class
|
|
5364
|
+
class ValidationViolation {
|
|
5607
5365
|
static fromProto(proto) {
|
|
5608
|
-
let m = new
|
|
5366
|
+
let m = new ValidationViolation();
|
|
5609
5367
|
m = Object.assign(m, proto);
|
|
5368
|
+
if (proto.failureAction) {
|
|
5369
|
+
m.failureAction = enumStringToValue(ValidationFailureAction, proto.failureAction);
|
|
5370
|
+
}
|
|
5610
5371
|
return m;
|
|
5611
5372
|
}
|
|
5612
5373
|
constructor(kwargs) {
|
|
@@ -5617,11 +5378,20 @@ class ValidatePromptModuleResponse {
|
|
|
5617
5378
|
}
|
|
5618
5379
|
toApiJson() {
|
|
5619
5380
|
const toReturn = {};
|
|
5620
|
-
if (typeof this.
|
|
5621
|
-
toReturn['
|
|
5381
|
+
if (typeof this.failureAction !== 'undefined') {
|
|
5382
|
+
toReturn['failureAction'] = this.failureAction;
|
|
5622
5383
|
}
|
|
5623
|
-
if (typeof this.
|
|
5624
|
-
toReturn['
|
|
5384
|
+
if (typeof this.confidence !== 'undefined') {
|
|
5385
|
+
toReturn['confidence'] = this.confidence;
|
|
5386
|
+
}
|
|
5387
|
+
if (typeof this.message !== 'undefined') {
|
|
5388
|
+
toReturn['message'] = this.message;
|
|
5389
|
+
}
|
|
5390
|
+
if (typeof this.validatorName !== 'undefined') {
|
|
5391
|
+
toReturn['validatorName'] = this.validatorName;
|
|
5392
|
+
}
|
|
5393
|
+
if (typeof this.isInputValidation !== 'undefined') {
|
|
5394
|
+
toReturn['isInputValidation'] = this.isInputValidation;
|
|
5625
5395
|
}
|
|
5626
5396
|
return toReturn;
|
|
5627
5397
|
}
|
|
@@ -6059,6 +5829,16 @@ class PromptModuleApiService {
|
|
|
6059
5829
|
return this.http.post(this._host + "/ai_assistants.v1alpha1.PromptModuleService/Validate", request.toApiJson(), this.apiOptions())
|
|
6060
5830
|
.pipe(map(resp => ValidatePromptModuleResponse.fromProto(resp)));
|
|
6061
5831
|
}
|
|
5832
|
+
validatePromptModules(r) {
|
|
5833
|
+
const request = (r.toApiJson) ? r : new ValidatePromptModulesRequest(r);
|
|
5834
|
+
return this.http.post(this._host + "/ai_assistants.v1alpha1.PromptModuleService/ValidatePromptModules", request.toApiJson(), this.apiOptions())
|
|
5835
|
+
.pipe(map(resp => ValidatePromptModulesResponse.fromProto(resp)));
|
|
5836
|
+
}
|
|
5837
|
+
validatePromptModuleVersions(r) {
|
|
5838
|
+
const request = (r.toApiJson) ? r : new ValidatePromptModuleVersionsRequest(r);
|
|
5839
|
+
return this.http.post(this._host + "/ai_assistants.v1alpha1.PromptModuleService/ValidatePromptModuleVersions", request.toApiJson(), this.apiOptions())
|
|
5840
|
+
.pipe(map(resp => ValidatePromptModuleVersionsResponse.fromProto(resp)));
|
|
5841
|
+
}
|
|
6062
5842
|
}
|
|
6063
5843
|
PromptModuleApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PromptModuleApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6064
5844
|
PromptModuleApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PromptModuleApiService, providedIn: 'root' });
|
|
@@ -6067,80 +5847,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
6067
5847
|
args: [{ providedIn: 'root' }]
|
|
6068
5848
|
}] });
|
|
6069
5849
|
|
|
6070
|
-
// *********************************
|
|
6071
|
-
// Code generated by sdkgen
|
|
6072
|
-
// DO NOT EDIT!.
|
|
6073
|
-
//
|
|
6074
|
-
// API Service.
|
|
6075
|
-
// *********************************
|
|
6076
|
-
class PromptApiService {
|
|
6077
|
-
constructor() {
|
|
6078
|
-
this.hostService = inject(HostService);
|
|
6079
|
-
this.http = inject(HttpClient);
|
|
6080
|
-
this._host = this.hostService.hostWithScheme;
|
|
6081
|
-
}
|
|
6082
|
-
apiOptions() {
|
|
6083
|
-
return {
|
|
6084
|
-
headers: new HttpHeaders({
|
|
6085
|
-
'Content-Type': 'application/json'
|
|
6086
|
-
}),
|
|
6087
|
-
withCredentials: true
|
|
6088
|
-
};
|
|
6089
|
-
}
|
|
6090
|
-
create(r) {
|
|
6091
|
-
const request = (r.toApiJson) ? r : new CreatePromptRequest(r);
|
|
6092
|
-
return this.http.post(this._host + "/ai_assistants.v1alpha1.PromptService/Create", request.toApiJson(), Object.assign(Object.assign({}, this.apiOptions()), { observe: 'response' }));
|
|
6093
|
-
}
|
|
6094
|
-
get(r) {
|
|
6095
|
-
const request = (r.toApiJson) ? r : new GetPromptRequest(r);
|
|
6096
|
-
return this.http.post(this._host + "/ai_assistants.v1alpha1.PromptService/Get", request.toApiJson(), this.apiOptions())
|
|
6097
|
-
.pipe(map(resp => GetPromptResponse.fromProto(resp)));
|
|
6098
|
-
}
|
|
6099
|
-
getVersion(r) {
|
|
6100
|
-
const request = (r.toApiJson) ? r : new GetPromptVersionRequest(r);
|
|
6101
|
-
return this.http.post(this._host + "/ai_assistants.v1alpha1.PromptService/GetVersion", request.toApiJson(), this.apiOptions())
|
|
6102
|
-
.pipe(map(resp => GetPromptVersionResponse.fromProto(resp)));
|
|
6103
|
-
}
|
|
6104
|
-
getDeployedVersion(r) {
|
|
6105
|
-
const request = (r.toApiJson) ? r : new GetDeployedPromptVersionRequest(r);
|
|
6106
|
-
return this.http.post(this._host + "/ai_assistants.v1alpha1.PromptService/GetDeployedVersion", request.toApiJson(), this.apiOptions())
|
|
6107
|
-
.pipe(map(resp => GetDeployedPromptVersionResponse.fromProto(resp)));
|
|
6108
|
-
}
|
|
6109
|
-
getMultiDeployedVersion(r) {
|
|
6110
|
-
const request = (r.toApiJson) ? r : new GetMultiDeployedPromptVersionRequest(r);
|
|
6111
|
-
return this.http.post(this._host + "/ai_assistants.v1alpha1.PromptService/GetMultiDeployedVersion", request.toApiJson(), this.apiOptions())
|
|
6112
|
-
.pipe(map(resp => GetMultiDeployedPromptVersionResponse.fromProto(resp)));
|
|
6113
|
-
}
|
|
6114
|
-
update(r) {
|
|
6115
|
-
const request = (r.toApiJson) ? r : new UpdatePromptRequest(r);
|
|
6116
|
-
return this.http.post(this._host + "/ai_assistants.v1alpha1.PromptService/Update", request.toApiJson(), Object.assign(Object.assign({}, this.apiOptions()), { observe: 'response' }));
|
|
6117
|
-
}
|
|
6118
|
-
deploy(r) {
|
|
6119
|
-
const request = (r.toApiJson) ? r : new DeployPromptRequest(r);
|
|
6120
|
-
return this.http.post(this._host + "/ai_assistants.v1alpha1.PromptService/Deploy", request.toApiJson(), Object.assign(Object.assign({}, this.apiOptions()), { observe: 'response' }));
|
|
6121
|
-
}
|
|
6122
|
-
list(r) {
|
|
6123
|
-
const request = (r.toApiJson) ? r : new ListPromptRequest(r);
|
|
6124
|
-
return this.http.post(this._host + "/ai_assistants.v1alpha1.PromptService/List", request.toApiJson(), this.apiOptions())
|
|
6125
|
-
.pipe(map(resp => ListPromptResponse.fromProto(resp)));
|
|
6126
|
-
}
|
|
6127
|
-
listVersions(r) {
|
|
6128
|
-
const request = (r.toApiJson) ? r : new ListPromptVersionsRequest(r);
|
|
6129
|
-
return this.http.post(this._host + "/ai_assistants.v1alpha1.PromptService/ListVersions", request.toApiJson(), this.apiOptions())
|
|
6130
|
-
.pipe(map(resp => ListPromptVersionsResponse.fromProto(resp)));
|
|
6131
|
-
}
|
|
6132
|
-
delete(r) {
|
|
6133
|
-
const request = (r.toApiJson) ? r : new DeletePromptRequest(r);
|
|
6134
|
-
return this.http.post(this._host + "/ai_assistants.v1alpha1.PromptService/Delete", request.toApiJson(), Object.assign(Object.assign({}, this.apiOptions()), { observe: 'response' }));
|
|
6135
|
-
}
|
|
6136
|
-
}
|
|
6137
|
-
PromptApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PromptApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6138
|
-
PromptApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PromptApiService, providedIn: 'root' });
|
|
6139
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PromptApiService, decorators: [{
|
|
6140
|
-
type: Injectable,
|
|
6141
|
-
args: [{ providedIn: 'root' }]
|
|
6142
|
-
}] });
|
|
6143
|
-
|
|
6144
5850
|
// *********************************
|
|
6145
5851
|
// Code generated by sdkgen
|
|
6146
5852
|
// DO NOT EDIT!.
|
|
@@ -6152,5 +5858,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
6152
5858
|
* Generated bundle index. Do not edit.
|
|
6153
5859
|
*/
|
|
6154
5860
|
|
|
6155
|
-
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,
|
|
5861
|
+
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, PromptModule, PromptModuleApiService, PromptModuleKey, PromptModuleVersion, RunTestsRequest, RunTestsResponse, Scope, SetAssistantConnectionsRequest, SetAssistantConnectionsRequestConnectionState, SortDirection, SortOptions, StreamingGenerateChatAnswerResponseContentType, TemplateVariable, TestCase, TestResult, TestResultCitation, TestRun, UpdateAssistantRequest, UpdateGoalRequest, UpdatePromptModuleRequest, UpsertAssistantRequest, UpsertAssistantRequestOptions, UpsertAssistantResponse, UpsertConnectionRequest, UpsertFunctionRequest, UpsertGoalRequest, UpsertMCPRequest, UpsertTestCasesRequest, ValidatePromptModuleRequest, ValidatePromptModuleResponse, ValidatePromptModuleVersionsRequest, ValidatePromptModuleVersionsResponse, ValidatePromptModuleVersionsResponseValidationResult, ValidatePromptModulesRequest, ValidatePromptModulesResponse, ValidatePromptModulesResponseValidationResult, ValidationFailureAction, ValidationResult, ValidationViolation, VendorModel };
|
|
6156
5862
|
//# sourceMappingURL=vendasta-ai-assistants.mjs.map
|