@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
|
@@ -583,6 +583,9 @@ class CreateMCPFromIntegrationRequest {
|
|
|
583
583
|
if (typeof this.connectionId !== 'undefined') {
|
|
584
584
|
toReturn['connectionId'] = this.connectionId;
|
|
585
585
|
}
|
|
586
|
+
if (typeof this.sourcePath !== 'undefined') {
|
|
587
|
+
toReturn['sourcePath'] = this.sourcePath;
|
|
588
|
+
}
|
|
586
589
|
return toReturn;
|
|
587
590
|
}
|
|
588
591
|
}
|
|
@@ -709,6 +712,9 @@ class Function {
|
|
|
709
712
|
if (typeof this.constraints !== 'undefined' && this.constraints !== null) {
|
|
710
713
|
toReturn['constraints'] = 'toApiJson' in this.constraints ? this.constraints.toApiJson() : this.constraints;
|
|
711
714
|
}
|
|
715
|
+
if (typeof this.sourcePath !== 'undefined') {
|
|
716
|
+
toReturn['sourcePath'] = this.sourcePath;
|
|
717
|
+
}
|
|
712
718
|
return toReturn;
|
|
713
719
|
}
|
|
714
720
|
}
|
|
@@ -1029,6 +1035,9 @@ class MCP {
|
|
|
1029
1035
|
if (typeof this.authStrategy !== 'undefined' && this.authStrategy !== null) {
|
|
1030
1036
|
toReturn['authStrategy'] = 'toApiJson' in this.authStrategy ? this.authStrategy.toApiJson() : this.authStrategy;
|
|
1031
1037
|
}
|
|
1038
|
+
if (typeof this.sourcePath !== 'undefined') {
|
|
1039
|
+
toReturn['sourcePath'] = this.sourcePath;
|
|
1040
|
+
}
|
|
1032
1041
|
return toReturn;
|
|
1033
1042
|
}
|
|
1034
1043
|
}
|
|
@@ -1107,6 +1116,9 @@ class UpsertMCPRequest {
|
|
|
1107
1116
|
if (typeof this.authStrategy !== 'undefined' && this.authStrategy !== null) {
|
|
1108
1117
|
toReturn['authStrategy'] = 'toApiJson' in this.authStrategy ? this.authStrategy.toApiJson() : this.authStrategy;
|
|
1109
1118
|
}
|
|
1119
|
+
if (typeof this.sourcePath !== 'undefined') {
|
|
1120
|
+
toReturn['sourcePath'] = this.sourcePath;
|
|
1121
|
+
}
|
|
1110
1122
|
return toReturn;
|
|
1111
1123
|
}
|
|
1112
1124
|
}
|
|
@@ -1329,6 +1341,9 @@ class PromptModule {
|
|
|
1329
1341
|
if (typeof this.managed !== 'undefined') {
|
|
1330
1342
|
toReturn['managed'] = this.managed;
|
|
1331
1343
|
}
|
|
1344
|
+
if (typeof this.sourcePath !== 'undefined') {
|
|
1345
|
+
toReturn['sourcePath'] = this.sourcePath;
|
|
1346
|
+
}
|
|
1332
1347
|
return toReturn;
|
|
1333
1348
|
}
|
|
1334
1349
|
}
|
|
@@ -1483,6 +1498,9 @@ class Goal {
|
|
|
1483
1498
|
if (typeof this.constraints !== 'undefined' && this.constraints !== null) {
|
|
1484
1499
|
toReturn['constraints'] = 'toApiJson' in this.constraints ? this.constraints.toApiJson() : this.constraints;
|
|
1485
1500
|
}
|
|
1501
|
+
if (typeof this.sourcePath !== 'undefined') {
|
|
1502
|
+
toReturn['sourcePath'] = this.sourcePath;
|
|
1503
|
+
}
|
|
1486
1504
|
return toReturn;
|
|
1487
1505
|
}
|
|
1488
1506
|
}
|
|
@@ -3159,6 +3177,9 @@ class CreatePromptModuleRequest {
|
|
|
3159
3177
|
if (typeof this.managed !== 'undefined') {
|
|
3160
3178
|
toReturn['managed'] = this.managed;
|
|
3161
3179
|
}
|
|
3180
|
+
if (typeof this.sourcePath !== 'undefined') {
|
|
3181
|
+
toReturn['sourcePath'] = this.sourcePath;
|
|
3182
|
+
}
|
|
3162
3183
|
return toReturn;
|
|
3163
3184
|
}
|
|
3164
3185
|
}
|
|
@@ -5272,6 +5293,9 @@ class UpdatePromptModuleRequest {
|
|
|
5272
5293
|
if (typeof this.description !== 'undefined') {
|
|
5273
5294
|
toReturn['description'] = this.description;
|
|
5274
5295
|
}
|
|
5296
|
+
if (typeof this.sourcePath !== 'undefined') {
|
|
5297
|
+
toReturn['sourcePath'] = this.sourcePath;
|
|
5298
|
+
}
|
|
5275
5299
|
return toReturn;
|
|
5276
5300
|
}
|
|
5277
5301
|
}
|