@unboundcx/sdk 4.13.125 → 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 +4 -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
|
@@ -1040,6 +1040,7 @@ export class ObjectsService {
|
|
|
1040
1040
|
feedPostWindowSeconds = null,
|
|
1041
1041
|
showInNav = null,
|
|
1042
1042
|
navLabel = null,
|
|
1043
|
+
icon = null,
|
|
1043
1044
|
}) {
|
|
1044
1045
|
this.sdk.validateParams(
|
|
1045
1046
|
{
|
|
@@ -1051,6 +1052,7 @@ export class ObjectsService {
|
|
|
1051
1052
|
feedPostWindowSeconds,
|
|
1052
1053
|
showInNav,
|
|
1053
1054
|
navLabel,
|
|
1055
|
+
icon,
|
|
1054
1056
|
},
|
|
1055
1057
|
{
|
|
1056
1058
|
objectName: { type: 'string', required: true },
|
|
@@ -1061,6 +1063,7 @@ export class ObjectsService {
|
|
|
1061
1063
|
feedPostWindowSeconds: { type: 'number', required: false },
|
|
1062
1064
|
showInNav: { type: 'boolean', required: false },
|
|
1063
1065
|
navLabel: { type: 'string', required: false },
|
|
1066
|
+
icon: { type: 'string', required: false },
|
|
1064
1067
|
},
|
|
1065
1068
|
);
|
|
1066
1069
|
|
|
@@ -1073,6 +1076,7 @@ export class ObjectsService {
|
|
|
1073
1076
|
body.feedPostWindowSeconds = feedPostWindowSeconds;
|
|
1074
1077
|
if (showInNav !== null) body.showInNav = showInNav;
|
|
1075
1078
|
if (navLabel !== null) body.navLabel = navLabel;
|
|
1079
|
+
if (icon !== null) body.icon = icon;
|
|
1076
1080
|
|
|
1077
1081
|
const params = { body };
|
|
1078
1082
|
|