@@ -3071,7 +3071,7 @@ declare namespace woosmap.map.localities {
30713071 * A Localities Nearby request to be sent to `LocalitiesService.nearby`
30723072 */
30733073 interface LocalitiesNearbyRequest {
3074- categories ?: string ;
3074+ categories ?: string | string [ ] ;
30753075 /**
30763076 * The language code, using ISO 3166-1 Alpha-2 country codes,
30773077 * indicating in which language the results should be returned, if possible.
@@ -3107,11 +3107,26 @@ declare namespace woosmap.map.localities {
31073107 * A Localities Search request to be sent to `LocalitiesService.search`
31083108 */
31093109 interface LocalitiesSearchRequest {
3110+ /**
3111+ * The categories of points of interest to return. Multiple categories can be passed as an array of comma separated strings.
3112+ * Example: `categories=['tourism', 'education']`
3113+ */
3114+ categories ?: string | string [ ] ;
31103115 /**
31113116 * Used to filter over countries. Countries must be passed as an
31123117 * ISO 3166-1 Alpha-2 or Alpha-3 compatible country code.
31133118 */
31143119 components : woosmap . map . localities . LocalitiesComponentRestrictions ;
3120+ /**
3121+ * The categories of points of interest to exclude from results. Multiple categories can be passed as an array of comma separated strings.
3122+ * Example: `excluded_categories=['hospitality.hostel','hospitality.guest_house']`
3123+ */
3124+ excluded_categories ?: string | string [ ] ;
3125+ /**
3126+ * The types of suggestions to exclude.
3127+ * see available types to exclude [https://developers.woosmap.com/products/localities/search/#types](https://developers.woosmap.com/products/localities/search/#types)
3128+ */
3129+ excluded_types ?: string | string [ ] ;
31153130 /**
31163131 * The user entered input string.
31173132 */
0 commit comments