import {
  settingsObjectsClient
} from "@dynatrace-sdk/client-classic-environment-v2";
const getClientSettings = () => settingsObjectsClient.getSettingsObjects({
  schemaIds: "builtin:geo-settings",
  scopes: "environment",
  fields: "value"
}).then((data) => {
  if (data) {
    const displayWorldmapItem = data.items.find(
      (item) => item.value?.displayWorldmap !== void 0
    );
    if (displayWorldmapItem !== void 0 && displayWorldmapItem.value !== void 0) {
      return displayWorldmapItem.value.displayWorldmap;
    }
  }
  return true;
}).catch((_) => {
  return true;
});
export {
  getClientSettings
};
//# sourceMappingURL=get-client-settings.js.map
