@unboundcx/sdk 4.13.43 → 4.13.44
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/package.json +1 -1
- package/services/objects.js +15 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unboundcx/sdk",
|
|
3
|
-
"version": "4.13.
|
|
3
|
+
"version": "4.13.44",
|
|
4
4
|
"description": "Official JavaScript SDK for the Unbound API - A comprehensive toolkit for integrating with Unbound's communication, AI, and data management services",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"type": "module",
|
package/services/objects.js
CHANGED
|
@@ -1032,14 +1032,25 @@ export class ObjectsService {
|
|
|
1032
1032
|
isBotAccessible = null,
|
|
1033
1033
|
isPublicBot = null,
|
|
1034
1034
|
description = null,
|
|
1035
|
+
feedPostChanges = null,
|
|
1036
|
+
feedPostWindowSeconds = null,
|
|
1035
1037
|
}) {
|
|
1036
1038
|
this.sdk.validateParams(
|
|
1037
|
-
{
|
|
1039
|
+
{
|
|
1040
|
+
objectName,
|
|
1041
|
+
isBotAccessible,
|
|
1042
|
+
isPublicBot,
|
|
1043
|
+
description,
|
|
1044
|
+
feedPostChanges,
|
|
1045
|
+
feedPostWindowSeconds,
|
|
1046
|
+
},
|
|
1038
1047
|
{
|
|
1039
1048
|
objectName: { type: 'string', required: true },
|
|
1040
1049
|
isBotAccessible: { type: 'boolean', required: false },
|
|
1041
1050
|
isPublicBot: { type: 'boolean', required: false },
|
|
1042
1051
|
description: { type: 'string', required: false },
|
|
1052
|
+
feedPostChanges: { type: 'boolean', required: false },
|
|
1053
|
+
feedPostWindowSeconds: { type: 'number', required: false },
|
|
1043
1054
|
},
|
|
1044
1055
|
);
|
|
1045
1056
|
|
|
@@ -1047,6 +1058,9 @@ export class ObjectsService {
|
|
|
1047
1058
|
if (isBotAccessible !== null) body.isBotAccessible = isBotAccessible;
|
|
1048
1059
|
if (isPublicBot !== null) body.isPublicBot = isPublicBot;
|
|
1049
1060
|
if (description !== null) body.description = description;
|
|
1061
|
+
if (feedPostChanges !== null) body.feedPostChanges = feedPostChanges;
|
|
1062
|
+
if (feedPostWindowSeconds !== null)
|
|
1063
|
+
body.feedPostWindowSeconds = feedPostWindowSeconds;
|
|
1050
1064
|
|
|
1051
1065
|
const params = { body };
|
|
1052
1066
|
|