@edgeiq/edgeiq-api-js 1.3.55 → 1.3.56
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/dist/companies/models.d.ts +13 -0
- package/dist/testConstants.js +13 -1
- package/package.json +1 -1
|
@@ -64,12 +64,25 @@ export interface WidgetVisibility {
|
|
|
64
64
|
software_updates_hidden: boolean;
|
|
65
65
|
data_usage_hidden: boolean;
|
|
66
66
|
}
|
|
67
|
+
export interface UIConfiguration {
|
|
68
|
+
navigation: UINavigationVisibility;
|
|
69
|
+
}
|
|
70
|
+
export interface UINavigationVisibility {
|
|
71
|
+
dashboard_hidden: boolean;
|
|
72
|
+
devices_hidden: boolean;
|
|
73
|
+
configuration_hidden: boolean;
|
|
74
|
+
software_hidden: boolean;
|
|
75
|
+
data_management_hidden: boolean;
|
|
76
|
+
automation_hidden: boolean;
|
|
77
|
+
messages_hidden: boolean;
|
|
78
|
+
}
|
|
67
79
|
export interface CompanyInput {
|
|
68
80
|
_id: string;
|
|
69
81
|
company_id: string;
|
|
70
82
|
name: string;
|
|
71
83
|
view_abilities: ViewAbilities;
|
|
72
84
|
portal_configuration: PortalConfiguration;
|
|
85
|
+
ui_configuration: UIConfiguration;
|
|
73
86
|
website?: string;
|
|
74
87
|
branding?: Branding;
|
|
75
88
|
aliases?: Aliases;
|
package/dist/testConstants.js
CHANGED
|
@@ -82,6 +82,17 @@ var portaleConfig = {
|
|
|
82
82
|
software_updates_hidden: false,
|
|
83
83
|
},
|
|
84
84
|
};
|
|
85
|
+
var uiConfiguration = {
|
|
86
|
+
navigation: {
|
|
87
|
+
dashboard_hidden: false,
|
|
88
|
+
devices_hidden: false,
|
|
89
|
+
configuration_hidden: false,
|
|
90
|
+
software_hidden: false,
|
|
91
|
+
data_management_hidden: false,
|
|
92
|
+
automation_hidden: false,
|
|
93
|
+
messages_hidden: false,
|
|
94
|
+
},
|
|
95
|
+
};
|
|
85
96
|
var viewAbilities = {
|
|
86
97
|
dashboard: false,
|
|
87
98
|
gateways: false,
|
|
@@ -95,12 +106,13 @@ var viewAbilities = {
|
|
|
95
106
|
notifications: false,
|
|
96
107
|
firmware: false,
|
|
97
108
|
};
|
|
98
|
-
exports.EmptyCompany = __assign(__assign({}, baseModel), { name: '', device_tags: [], inherited_device_type_ids: [], inherited_ingestor_ids: [], inherited_integration_ids: [], inherited_pollable_attributes_ids: [], inherited_rule_ids: [], inherited_translator_ids: [], inherited_workflow_definition_ids: [], portal_configuration: portaleConfig, view_abilities: viewAbilities });
|
|
109
|
+
exports.EmptyCompany = __assign(__assign({}, baseModel), { name: '', device_tags: [], inherited_device_type_ids: [], inherited_ingestor_ids: [], inherited_integration_ids: [], inherited_pollable_attributes_ids: [], inherited_rule_ids: [], inherited_translator_ids: [], inherited_workflow_definition_ids: [], portal_configuration: portaleConfig, ui_configuration: uiConfiguration, view_abilities: viewAbilities });
|
|
99
110
|
exports.TestCompany = {
|
|
100
111
|
_id: 'edgeiq_api_js_test_account',
|
|
101
112
|
company_id: parentCompanyId,
|
|
102
113
|
name: 'API Test Account',
|
|
103
114
|
portal_configuration: portaleConfig,
|
|
115
|
+
ui_configuration: uiConfiguration,
|
|
104
116
|
view_abilities: viewAbilities,
|
|
105
117
|
};
|
|
106
118
|
exports.TestCompany2 = __assign(__assign({}, exports.TestCompany), { _id: 'edgeiq_api_js_test_account_2', name: 'API Test Account 2' });
|