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