@unboundcx/sdk 4.13.124 → 4.13.125
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 +8 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unboundcx/sdk",
|
|
3
|
-
"version": "4.13.
|
|
3
|
+
"version": "4.13.125",
|
|
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
|
@@ -1038,6 +1038,8 @@ export class ObjectsService {
|
|
|
1038
1038
|
description = null,
|
|
1039
1039
|
feedPostChanges = null,
|
|
1040
1040
|
feedPostWindowSeconds = null,
|
|
1041
|
+
showInNav = null,
|
|
1042
|
+
navLabel = null,
|
|
1041
1043
|
}) {
|
|
1042
1044
|
this.sdk.validateParams(
|
|
1043
1045
|
{
|
|
@@ -1047,6 +1049,8 @@ export class ObjectsService {
|
|
|
1047
1049
|
description,
|
|
1048
1050
|
feedPostChanges,
|
|
1049
1051
|
feedPostWindowSeconds,
|
|
1052
|
+
showInNav,
|
|
1053
|
+
navLabel,
|
|
1050
1054
|
},
|
|
1051
1055
|
{
|
|
1052
1056
|
objectName: { type: 'string', required: true },
|
|
@@ -1055,6 +1059,8 @@ export class ObjectsService {
|
|
|
1055
1059
|
description: { type: 'string', required: false },
|
|
1056
1060
|
feedPostChanges: { type: 'boolean', required: false },
|
|
1057
1061
|
feedPostWindowSeconds: { type: 'number', required: false },
|
|
1062
|
+
showInNav: { type: 'boolean', required: false },
|
|
1063
|
+
navLabel: { type: 'string', required: false },
|
|
1058
1064
|
},
|
|
1059
1065
|
);
|
|
1060
1066
|
|
|
@@ -1065,6 +1071,8 @@ export class ObjectsService {
|
|
|
1065
1071
|
if (feedPostChanges !== null) body.feedPostChanges = feedPostChanges;
|
|
1066
1072
|
if (feedPostWindowSeconds !== null)
|
|
1067
1073
|
body.feedPostWindowSeconds = feedPostWindowSeconds;
|
|
1074
|
+
if (showInNav !== null) body.showInNav = showInNav;
|
|
1075
|
+
if (navLabel !== null) body.navLabel = navLabel;
|
|
1068
1076
|
|
|
1069
1077
|
const params = { body };
|
|
1070
1078
|
|