@vendasta/ai-assistants 0.61.0 → 0.62.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/interfaces/api.interface.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/function.interface.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/goal.interface.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/prompt.interface.mjs +1 -1
- package/esm2020/lib/_internal/objects/api.mjs +7 -1
- package/esm2020/lib/_internal/objects/function.mjs +13 -1
- package/esm2020/lib/_internal/objects/goal.mjs +4 -1
- package/esm2020/lib/_internal/objects/prompt.mjs +4 -1
- package/fesm2015/vendasta-ai-assistants.mjs +24 -0
- package/fesm2015/vendasta-ai-assistants.mjs.map +1 -1
- package/fesm2020/vendasta-ai-assistants.mjs +24 -0
- package/fesm2020/vendasta-ai-assistants.mjs.map +1 -1
- package/lib/_internal/interfaces/api.interface.d.ts +2 -0
- package/lib/_internal/interfaces/function.interface.d.ts +4 -0
- package/lib/_internal/interfaces/goal.interface.d.ts +1 -0
- package/lib/_internal/interfaces/prompt.interface.d.ts +1 -0
- package/lib/_internal/objects/api.d.ts +2 -0
- package/lib/_internal/objects/function.d.ts +4 -0
- package/lib/_internal/objects/goal.d.ts +1 -0
- package/lib/_internal/objects/prompt.d.ts +1 -0
- package/package.json +1 -1
|
@@ -584,6 +584,9 @@ class CreateMCPFromIntegrationRequest {
|
|
|
584
584
|
if (typeof this.connectionId !== 'undefined') {
|
|
585
585
|
toReturn['connectionId'] = this.connectionId;
|
|
586
586
|
}
|
|
587
|
+
if (typeof this.sourcePath !== 'undefined') {
|
|
588
|
+
toReturn['sourcePath'] = this.sourcePath;
|
|
589
|
+
}
|
|
587
590
|
return toReturn;
|
|
588
591
|
}
|
|
589
592
|
}
|
|
@@ -710,6 +713,9 @@ class Function {
|
|
|
710
713
|
if (typeof this.constraints !== 'undefined' && this.constraints !== null) {
|
|
711
714
|
toReturn['constraints'] = 'toApiJson' in this.constraints ? this.constraints.toApiJson() : this.constraints;
|
|
712
715
|
}
|
|
716
|
+
if (typeof this.sourcePath !== 'undefined') {
|
|
717
|
+
toReturn['sourcePath'] = this.sourcePath;
|
|
718
|
+
}
|
|
713
719
|
return toReturn;
|
|
714
720
|
}
|
|
715
721
|
}
|
|
@@ -1030,6 +1036,9 @@ class MCP {
|
|
|
1030
1036
|
if (typeof this.authStrategy !== 'undefined' && this.authStrategy !== null) {
|
|
1031
1037
|
toReturn['authStrategy'] = 'toApiJson' in this.authStrategy ? this.authStrategy.toApiJson() : this.authStrategy;
|
|
1032
1038
|
}
|
|
1039
|
+
if (typeof this.sourcePath !== 'undefined') {
|
|
1040
|
+
toReturn['sourcePath'] = this.sourcePath;
|
|
1041
|
+
}
|
|
1033
1042
|
return toReturn;
|
|
1034
1043
|
}
|
|
1035
1044
|
}
|
|
@@ -1108,6 +1117,9 @@ class UpsertMCPRequest {
|
|
|
1108
1117
|
if (typeof this.authStrategy !== 'undefined' && this.authStrategy !== null) {
|
|
1109
1118
|
toReturn['authStrategy'] = 'toApiJson' in this.authStrategy ? this.authStrategy.toApiJson() : this.authStrategy;
|
|
1110
1119
|
}
|
|
1120
|
+
if (typeof this.sourcePath !== 'undefined') {
|
|
1121
|
+
toReturn['sourcePath'] = this.sourcePath;
|
|
1122
|
+
}
|
|
1111
1123
|
return toReturn;
|
|
1112
1124
|
}
|
|
1113
1125
|
}
|
|
@@ -1330,6 +1342,9 @@ class PromptModule {
|
|
|
1330
1342
|
if (typeof this.managed !== 'undefined') {
|
|
1331
1343
|
toReturn['managed'] = this.managed;
|
|
1332
1344
|
}
|
|
1345
|
+
if (typeof this.sourcePath !== 'undefined') {
|
|
1346
|
+
toReturn['sourcePath'] = this.sourcePath;
|
|
1347
|
+
}
|
|
1333
1348
|
return toReturn;
|
|
1334
1349
|
}
|
|
1335
1350
|
}
|
|
@@ -1484,6 +1499,9 @@ class Goal {
|
|
|
1484
1499
|
if (typeof this.constraints !== 'undefined' && this.constraints !== null) {
|
|
1485
1500
|
toReturn['constraints'] = 'toApiJson' in this.constraints ? this.constraints.toApiJson() : this.constraints;
|
|
1486
1501
|
}
|
|
1502
|
+
if (typeof this.sourcePath !== 'undefined') {
|
|
1503
|
+
toReturn['sourcePath'] = this.sourcePath;
|
|
1504
|
+
}
|
|
1487
1505
|
return toReturn;
|
|
1488
1506
|
}
|
|
1489
1507
|
}
|
|
@@ -3160,6 +3178,9 @@ class CreatePromptModuleRequest {
|
|
|
3160
3178
|
if (typeof this.managed !== 'undefined') {
|
|
3161
3179
|
toReturn['managed'] = this.managed;
|
|
3162
3180
|
}
|
|
3181
|
+
if (typeof this.sourcePath !== 'undefined') {
|
|
3182
|
+
toReturn['sourcePath'] = this.sourcePath;
|
|
3183
|
+
}
|
|
3163
3184
|
return toReturn;
|
|
3164
3185
|
}
|
|
3165
3186
|
}
|
|
@@ -5273,6 +5294,9 @@ class UpdatePromptModuleRequest {
|
|
|
5273
5294
|
if (typeof this.description !== 'undefined') {
|
|
5274
5295
|
toReturn['description'] = this.description;
|
|
5275
5296
|
}
|
|
5297
|
+
if (typeof this.sourcePath !== 'undefined') {
|
|
5298
|
+
toReturn['sourcePath'] = this.sourcePath;
|
|
5299
|
+
}
|
|
5276
5300
|
return toReturn;
|
|
5277
5301
|
}
|
|
5278
5302
|
}
|