@esri/arcgis-rest-places 1.0.2 → 1.2.0

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.
Files changed (48) hide show
  1. package/README.md +3 -2
  2. package/dist/bundled/places.esm.js +38 -14
  3. package/dist/bundled/places.esm.js.map +1 -1
  4. package/dist/bundled/places.esm.min.js +4 -4
  5. package/dist/bundled/places.esm.min.js.map +1 -1
  6. package/dist/bundled/places.umd.js +37 -13
  7. package/dist/bundled/places.umd.js.map +1 -1
  8. package/dist/bundled/places.umd.min.js +4 -4
  9. package/dist/bundled/places.umd.min.js.map +1 -1
  10. package/dist/cjs/findPlacesNearPoint.js +11 -2
  11. package/dist/cjs/findPlacesNearPoint.js.map +1 -1
  12. package/dist/cjs/findPlacesWithinExtent.js +3 -2
  13. package/dist/cjs/findPlacesWithinExtent.js.map +1 -1
  14. package/dist/cjs/getCategories.js +2 -2
  15. package/dist/cjs/getCategories.js.map +1 -1
  16. package/dist/cjs/getCategory.js +2 -2
  17. package/dist/cjs/getCategory.js.map +1 -1
  18. package/dist/cjs/getPlaceDetails.js +2 -2
  19. package/dist/cjs/getPlaceDetails.js.map +1 -1
  20. package/dist/cjs/iconOptions.js +17 -0
  21. package/dist/cjs/iconOptions.js.map +1 -0
  22. package/dist/cjs/index.js +1 -0
  23. package/dist/cjs/index.js.map +1 -1
  24. package/dist/cjs/openapi-types.js.map +1 -1
  25. package/dist/esm/findPlacesNearPoint.d.ts +7 -0
  26. package/dist/esm/findPlacesNearPoint.js +11 -2
  27. package/dist/esm/findPlacesNearPoint.js.map +1 -1
  28. package/dist/esm/findPlacesWithinExtent.d.ts +7 -0
  29. package/dist/esm/findPlacesWithinExtent.js +3 -2
  30. package/dist/esm/findPlacesWithinExtent.js.map +1 -1
  31. package/dist/esm/getCategories.d.ts +7 -0
  32. package/dist/esm/getCategories.js +2 -2
  33. package/dist/esm/getCategories.js.map +1 -1
  34. package/dist/esm/getCategory.d.ts +7 -0
  35. package/dist/esm/getCategory.js +2 -2
  36. package/dist/esm/getCategory.js.map +1 -1
  37. package/dist/esm/getPlaceDetails.d.ts +7 -0
  38. package/dist/esm/getPlaceDetails.js +2 -2
  39. package/dist/esm/getPlaceDetails.js.map +1 -1
  40. package/dist/esm/iconOptions.d.ts +5 -0
  41. package/dist/esm/iconOptions.js +14 -0
  42. package/dist/esm/iconOptions.js.map +1 -0
  43. package/dist/esm/index.d.ts +1 -0
  44. package/dist/esm/index.js +1 -0
  45. package/dist/esm/index.js.map +1 -1
  46. package/dist/esm/openapi-types.d.ts +311 -49
  47. package/dist/esm/openapi-types.js.map +1 -1
  48. package/package.json +1 -1
@@ -74,7 +74,7 @@ export interface paths {
74
74
  * To perform the request, you must supply the `x` and `y` coordinates of
75
75
  * the point from which to search. Optionally, you can also specify the:
76
76
  *
77
- * - Search radius (up to 10,000 meters)
77
+ * - Search radius (1 to 10,000 meters)
78
78
  * - Category IDs
79
79
  * - Search text
80
80
  *
@@ -93,17 +93,20 @@ export interface paths {
93
93
  /**
94
94
  * The `/places/within-extent` request searches for places within an extent (bounding box).
95
95
  *
96
- * You must supply the `xmin`,
97
- * `ymin`, `xmax` and `ymax` coordinates to define the extent. The maximum width
98
- * and height of an extent that can be used in a search is 20,000 meters.
96
+ * You must supply the `xmin`, `ymin`, `xmax` and `ymax` coordinates to
97
+ * define the extent. The maximum width and height of an extent that can be
98
+ * used in a search is 20,000 meters. The width and height of an extent
99
+ * must be greater than 0 meters.
99
100
  *
100
- * You can also provide multiple categories or search text to find specific types of places within the extent.
101
+ * You can also provide multiple categories or search text to find specific
102
+ * types of places within the extent.
101
103
  *
102
- * The default number of places returned (`pageSize`) is 10. The maximum `pageSize` value is 20.
104
+ * The default number of places returned (`pageSize`) is 10. The maximum
105
+ * `pageSize` value is 20.
103
106
  *
104
- * If the `pagination.nextUrl` property in the response is populated, then you can
105
- * page through the results to return more places. The maximum number of
106
- * places that can be paged to is 200.
107
+ * If the `pagination.nextUrl` property in the response is populated, then
108
+ * you can page through the results to return more places. The maximum
109
+ * number of places that can be paged to is 200.
107
110
  *
108
111
  * **Note**: You cannot permanently store places. Please see the [Terms of
109
112
  * use](https://developers.arcgis.com/documentation/mapping-apis-and-services/deployment/terms-of-use/).
@@ -175,6 +178,9 @@ export interface paths {
175
178
  * use](https://developers.arcgis.com/documentation/mapping-apis-and-services/deployment/terms-of-use/).
176
179
  *
177
180
  * **Note**: Query parameters are case-sensitive.
181
+ *
182
+ * **Note**: Can be used in conjunction with the [Basemap Styles service](https://developers.arcgis.com/rest/basemap-styles) to request additional attributes
183
+ * for places retrieved using the [Places for basemaps](https://developers.arcgis.com/documentation/mapping-apis-and-services/maps/places-for-basemaps) workflow.
178
184
  */
179
185
  get: operations["placeIdGet"];
180
186
  };
@@ -186,7 +192,7 @@ export interface components {
186
192
  *
187
193
  * A place ID is a 32 character string.
188
194
  *
189
- * @example 722d8e1ba4db8ec5ef256b09cf060782
195
+ * @example 2da082218b6f7538e52250999c8f8ef1
190
196
  */
191
197
  PlaceId: string;
192
198
  /**
@@ -202,7 +208,7 @@ export interface components {
202
208
  * This place Id can be passed to the `places/{placeId}` endpoint to
203
209
  * retrieve additional details.
204
210
  *
205
- * @example 722d8e1ba4db8ec5ef256b09cf060782
211
+ * @example 2da082218b6f7538e52250999c8f8ef1
206
212
  */
207
213
  placeId: components["schemas"]["PlaceId"];
208
214
  /**
@@ -225,8 +231,8 @@ export interface components {
225
231
  *
226
232
  * @example [
227
233
  * {
228
- * "categoryId": 17119,
229
- * "label": "Bicycle Store"
234
+ * "categoryId": "11167",
235
+ * "label": "Technology Business"
230
236
  * }
231
237
  * ]
232
238
  */
@@ -245,6 +251,12 @@ export interface components {
245
251
  * @example 50
246
252
  */
247
253
  distance: number;
254
+ /**
255
+ * @description Details of an icon, suitable for depicting this place.
256
+ *
257
+ * To fetch icon details use the `icon` query parameter.
258
+ */
259
+ icon?: components["schemas"]["IconDetails"];
248
260
  };
249
261
  /**
250
262
  * @description A result of searching for places using a `places/within-extent` request.
@@ -258,7 +270,7 @@ export interface components {
258
270
  * This place Id can be passed to the `places/{placeId}` endpoint to
259
271
  * retrieve additional details.
260
272
  *
261
- * @example 722d8e1ba4db8ec5ef256b09cf060782
273
+ * @example 2da082218b6f7538e52250999c8f8ef1
262
274
  */
263
275
  placeId: components["schemas"]["PlaceId"];
264
276
  /**
@@ -281,8 +293,8 @@ export interface components {
281
293
  *
282
294
  * @example [
283
295
  * {
284
- * "categoryId": 17119,
285
- * "label": "Bicycle Store"
296
+ * "categoryId": "11167",
297
+ * "label": "Technology Business"
286
298
  * }
287
299
  * ]
288
300
  */
@@ -295,6 +307,12 @@ export interface components {
295
307
  * @example Esri International
296
308
  */
297
309
  name: string;
310
+ /**
311
+ * @description Details of an icon, suitable for depicting this place.
312
+ *
313
+ * To fetch icon details use the `icon` query parameter.
314
+ */
315
+ icon?: components["schemas"]["IconDetails"];
298
316
  };
299
317
  /**
300
318
  * @description The additional details for a `Place`, including address, contact details, opening hours, and rating.
@@ -307,7 +325,7 @@ export interface components {
307
325
  /**
308
326
  * @description The unique Id of this place.
309
327
  *
310
- * @example 722d8e1ba4db8ec5ef256b09cf060782
328
+ * @example 2da082218b6f7538e52250999c8f8ef1
311
329
  */
312
330
  placeId: components["schemas"]["PlaceId"];
313
331
  /**
@@ -323,8 +341,8 @@ export interface components {
323
341
  *
324
342
  * @example [
325
343
  * {
326
- * "categoryId": 17119,
327
- * "label": "Bicycle Store"
344
+ * "categoryId": "11167",
345
+ * "label": "Technology Business"
328
346
  * }
329
347
  * ]
330
348
  */
@@ -367,7 +385,7 @@ export interface components {
367
385
  */
368
386
  address?: components["schemas"]["Address"];
369
387
  /**
370
- * @description A set of additional locations that represent the place, for example the location of the front door, or of a drop off point.
388
+ * @description A set of additional locations that represent the place as WGS84 points, for example the location of the front door, or of a drop off point.
371
389
  *
372
390
  * This object and child properties are part of the "Location"
373
391
  * attribute group.
@@ -414,6 +432,12 @@ export interface components {
414
432
  * ]
415
433
  */
416
434
  chains?: components["schemas"]["ChainInfo"][];
435
+ /**
436
+ * @description Details of an icon, suitable for depicting this place.
437
+ *
438
+ * To fetch icon details use the `icon` query parameter.
439
+ */
440
+ icon?: components["schemas"]["IconDetails"];
417
441
  };
418
442
  /** @example 17119 */
419
443
  CategoryId: string;
@@ -428,7 +452,7 @@ export interface components {
428
452
  * @description The category Id uniquely identifies this category or type of place.
429
453
  *
430
454
  * The name of the category can be looked up using the
431
- * `places/categories` endpoint. For example, 17119 is the id for a
455
+ * `places/categories` endpoint. For example, "17119" is the id for a
432
456
  * "Bicycle Store".
433
457
  *
434
458
  * @example 17119
@@ -463,6 +487,12 @@ export interface components {
463
487
  fullLabel: string[];
464
488
  /** @description The list of parent category Ids for this category. */
465
489
  parents?: string[];
490
+ /**
491
+ * @description Details of an icon, suitable for depicting this place.
492
+ *
493
+ * To fetch icon details use the `icon` query parameter.
494
+ */
495
+ icon?: components["schemas"]["IconDetails"];
466
496
  };
467
497
  /**
468
498
  * Format: double
@@ -772,7 +802,7 @@ export interface components {
772
802
  user?: number | null;
773
803
  };
774
804
  /**
775
- * @description A set of additional locations for the place.
805
+ * @description A set of additional locations for the place, as WGS84 points.
776
806
  *
777
807
  * This list provides alternative locations for accessing a place such as
778
808
  * `frontDoor` or `road`.
@@ -886,7 +916,7 @@ export interface components {
886
916
  /**
887
917
  * @description The census block Id of the place (US only).
888
918
  *
889
- * @example 60710081003002
919
+ * @example 060710081003002
890
920
  */
891
921
  censusBlockId?: string | null;
892
922
  };
@@ -894,7 +924,7 @@ export interface components {
894
924
  SocialMedia: {
895
925
  /**
896
926
  * @description The facebook Id of the place.
897
- * @example 211211155280
927
+ * @example 183768242996
898
928
  */
899
929
  facebookId?: string | null;
900
930
  /**
@@ -902,7 +932,10 @@ export interface components {
902
932
  * @example esri
903
933
  */
904
934
  twitter?: string | null;
905
- /** @description The instagram ID of the place. */
935
+ /**
936
+ * @description The instagram ID of the place.
937
+ * @example esrigram
938
+ */
906
939
  instagram?: string | null;
907
940
  };
908
941
  /** @description The contact information for a place. */
@@ -915,7 +948,7 @@ export interface components {
915
948
  /**
916
949
  * Format: url
917
950
  * @description The website address of the place.
918
- * @example https://www.esri.com/en-us/home
951
+ * @example https://www.esri.com
919
952
  */
920
953
  website?: string | null;
921
954
  /**
@@ -997,6 +1030,16 @@ export interface components {
997
1030
  restInfoUrl?: string;
998
1031
  };
999
1032
  };
1033
+ /** @description Information about an icon for depicting a place or category. */
1034
+ IconDetails: {
1035
+ /**
1036
+ * Format: url
1037
+ * @description Url for an icon for this place or category in either `svg`, `cim` or `png` format.
1038
+ *
1039
+ * @example https://static.arcgis.com/icons/places/Default_Shop_or_Service_15.svg
1040
+ */
1041
+ url?: string;
1042
+ };
1000
1043
  };
1001
1044
  responses: {
1002
1045
  /** Authentication Error. The API key or token is missing, invalid or expired. */
@@ -1080,25 +1123,25 @@ export interface components {
1080
1123
  */
1081
1124
  RadiusParam: components["schemas"]["SearchDistance"];
1082
1125
  /**
1083
- * @description The minimum x coordinate, or longitude, of the search extent.
1126
+ * @description The minimum x coordinate, or longitude, of the search extent, in WGS84 decimal degrees.
1084
1127
  *
1085
1128
  * This is the furthest _west_ that will be searched.
1086
1129
  */
1087
1130
  XMinParam: components["schemas"]["XCoord"];
1088
1131
  /**
1089
- * @description The minimum y coordinate, or latitude, of the search extent.
1132
+ * @description The minimum y coordinate, or latitude, of the search extent, in WGS84 decimal degrees.
1090
1133
  *
1091
1134
  * This is the furthest _south_ that will be searched.
1092
1135
  */
1093
1136
  YMinParam: components["schemas"]["YCoord"];
1094
1137
  /**
1095
- * @description The maximum x coordinate, or longitude, of the search extent.
1138
+ * @description The maximum x coordinate, or longitude, of the search extent, in WGS84 decimal degrees.
1096
1139
  *
1097
1140
  * This is the furthest _east_ that will be searched.
1098
1141
  */
1099
1142
  XMaxParam: components["schemas"]["XCoord"];
1100
1143
  /**
1101
- * @description The maximum y coordinate, or latitude, of the search extent.
1144
+ * @description The maximum y coordinate, or latitude, of the search extent, in WGS84 decimal degrees.
1102
1145
  *
1103
1146
  * This is the furthest _north_ that will be searched.
1104
1147
  */
@@ -1181,7 +1224,7 @@ export interface components {
1181
1224
  */
1182
1225
  RequestedFieldsParam: ("all" | "additionalLocations" | "additionalLocations:dropOff" | "additionalLocations:frontDoor" | "additionalLocations:road" | "additionalLocations:roof" | "address" | "address:adminRegion" | "address:censusBlockId" | "address:country" | "address:designatedMarketArea" | "address:extended" | "address:locality" | "address:neighborhood" | "address:poBox" | "address:postcode" | "address:postTown" | "address:region" | "address:streetAddress" | "categories" | "contactInfo" | "contactInfo:email" | "contactInfo:fax" | "contactInfo:telephone" | "contactInfo:website" | "chains" | "description" | "hours" | "hours:opening" | "hours:openingText" | "hours:popular" | "location" | "name" | "rating" | "rating:price" | "rating:user" | "socialMedia" | "socialMedia:facebookId" | "socialMedia:instagram" | "socialMedia:twitter")[];
1183
1226
  /**
1184
- * @description The authentication token with the `premium:user:places` [privilege](https://developers.arcgis.com/rest/users-groups-and-items/privileges.htm), used to access the Places service.
1227
+ * @description The authentication token, created from an ArcGIS Location Platform account, with the `premium:user:places` [privilege](https://developers.arcgis.com/rest/users-groups-and-items/privileges.htm), used to access the Places service.
1185
1228
  *
1186
1229
  * The `token` parameter can be either an API Key or short-lived token. See
1187
1230
  * [ArcGIS security
@@ -1195,6 +1238,57 @@ export interface components {
1195
1238
  * - `X-Esri-Authorization: Bearer <YOUR_TOKEN>`
1196
1239
  */
1197
1240
  TokenParam: string;
1241
+ /**
1242
+ * @description Determines whether icons are returned and the type of icon to use with a place or category.
1243
+ *
1244
+ * ![example icon](https://static.arcgis.com/icons/places/Zoo_48.png)
1245
+ *
1246
+ * Use this parameter to define the type of icon URL for a given place or
1247
+ * category. Place icons are available in the following formats:
1248
+ *
1249
+ * - `svg`
1250
+ * - `cim` ([Cartographic Information Model](https://developers.arcgis.com/documentation/glossary/cim-symbol/))
1251
+ * - `png` 48 x 48 pixels
1252
+ *
1253
+ * The SVG and CIM symbols default to 15 x 15 pixels but can be scaled
1254
+ * smoothly for display in larger UI elements or to emphasize these
1255
+ * features on a map. The PNG icons are provided as 48 x 48 pixels but for
1256
+ * map display the recommended size is 16 x 16 pixels.
1257
+ *
1258
+ * The default is `none` (no icon URL will be returned).
1259
+ */
1260
+ IconParam: "none" | "svg" | "png" | "cim";
1261
+ /**
1262
+ * @description Optional case-sensitive parameter to specify the preferred language to
1263
+ * use for category names.
1264
+ *
1265
+ * This query parameter uses language codes to specify the preferred
1266
+ * language. If not set, or if no translation is available, the default
1267
+ * behavior is to return category names in English.
1268
+ *
1269
+ * The language codes use the [CLDR](https://cldr.unicode.org/) (Common
1270
+ * Locale Data Repository) format string that uses a two letter language
1271
+ * code (e.g. "fr" for French) optionally followed by a two letter country
1272
+ * code (e.g. "fr-CA" for French in Canada).
1273
+ *
1274
+ * If an unsupported language code is used, then the service will attempt
1275
+ * to fall-back to the closest available language. This is done by
1276
+ * stripping regional and extension subtags to find a known language code.
1277
+ * For example, French Canadian (`fr-CA`) is unsupported so this falls back
1278
+ * to French `fr`.
1279
+ *
1280
+ * Should the fallback fail, then the service will return category names in
1281
+ * the default language `en` for English.
1282
+ *
1283
+ * Language codes:
1284
+ * - English, default US - `en`
1285
+ * - French - `fr`
1286
+ * - German - `de`
1287
+ * - Japanese - `ja`
1288
+ * - Portuguese, default Brazil - `pt`
1289
+ * - Spanish - `es`
1290
+ */
1291
+ LanguageParam: "en" | "es" | "de" | "fr" | "ja" | "pt";
1198
1292
  };
1199
1293
  }
1200
1294
  export interface operations {
@@ -1261,10 +1355,61 @@ export interface operations {
1261
1355
  * "Coffee".
1262
1356
  */
1263
1357
  filter?: components["parameters"]["CategoriesFilterParam"];
1358
+ /**
1359
+ * Determines whether icons are returned and the type of icon to use with a place or category.
1360
+ *
1361
+ * ![example icon](https://static.arcgis.com/icons/places/Zoo_48.png)
1362
+ *
1363
+ * Use this parameter to define the type of icon URL for a given place or
1364
+ * category. Place icons are available in the following formats:
1365
+ *
1366
+ * - `svg`
1367
+ * - `cim` ([Cartographic Information Model](https://developers.arcgis.com/documentation/glossary/cim-symbol/))
1368
+ * - `png` 48 x 48 pixels
1369
+ *
1370
+ * The SVG and CIM symbols default to 15 x 15 pixels but can be scaled
1371
+ * smoothly for display in larger UI elements or to emphasize these
1372
+ * features on a map. The PNG icons are provided as 48 x 48 pixels but for
1373
+ * map display the recommended size is 16 x 16 pixels.
1374
+ *
1375
+ * The default is `none` (no icon URL will be returned).
1376
+ */
1377
+ icon?: components["parameters"]["IconParam"];
1378
+ /**
1379
+ * Optional case-sensitive parameter to specify the preferred language to
1380
+ * use for category names.
1381
+ *
1382
+ * This query parameter uses language codes to specify the preferred
1383
+ * language. If not set, or if no translation is available, the default
1384
+ * behavior is to return category names in English.
1385
+ *
1386
+ * The language codes use the [CLDR](https://cldr.unicode.org/) (Common
1387
+ * Locale Data Repository) format string that uses a two letter language
1388
+ * code (e.g. "fr" for French) optionally followed by a two letter country
1389
+ * code (e.g. "fr-CA" for French in Canada).
1390
+ *
1391
+ * If an unsupported language code is used, then the service will attempt
1392
+ * to fall-back to the closest available language. This is done by
1393
+ * stripping regional and extension subtags to find a known language code.
1394
+ * For example, French Canadian (`fr-CA`) is unsupported so this falls back
1395
+ * to French `fr`.
1396
+ *
1397
+ * Should the fallback fail, then the service will return category names in
1398
+ * the default language `en` for English.
1399
+ *
1400
+ * Language codes:
1401
+ * - English, default US - `en`
1402
+ * - French - `fr`
1403
+ * - German - `de`
1404
+ * - Japanese - `ja`
1405
+ * - Portuguese, default Brazil - `pt`
1406
+ * - Spanish - `es`
1407
+ */
1408
+ language?: components["parameters"]["LanguageParam"];
1264
1409
  /** The requested response format - either `json` or `pjson` (pretty json). */
1265
1410
  f?: components["parameters"]["FormatParam"];
1266
1411
  /**
1267
- * The authentication token with the `premium:user:places` [privilege](https://developers.arcgis.com/rest/users-groups-and-items/privileges.htm), used to access the Places service.
1412
+ * The authentication token, created from an ArcGIS Location Platform account, with the `premium:user:places` [privilege](https://developers.arcgis.com/rest/users-groups-and-items/privileges.htm), used to access the Places service.
1268
1413
  *
1269
1414
  * The `token` parameter can be either an API Key or short-lived token. See
1270
1415
  * [ArcGIS security
@@ -1305,10 +1450,61 @@ export interface operations {
1305
1450
  categoryId: components["parameters"]["CategoryIdParam"];
1306
1451
  };
1307
1452
  query: {
1453
+ /**
1454
+ * Determines whether icons are returned and the type of icon to use with a place or category.
1455
+ *
1456
+ * ![example icon](https://static.arcgis.com/icons/places/Zoo_48.png)
1457
+ *
1458
+ * Use this parameter to define the type of icon URL for a given place or
1459
+ * category. Place icons are available in the following formats:
1460
+ *
1461
+ * - `svg`
1462
+ * - `cim` ([Cartographic Information Model](https://developers.arcgis.com/documentation/glossary/cim-symbol/))
1463
+ * - `png` 48 x 48 pixels
1464
+ *
1465
+ * The SVG and CIM symbols default to 15 x 15 pixels but can be scaled
1466
+ * smoothly for display in larger UI elements or to emphasize these
1467
+ * features on a map. The PNG icons are provided as 48 x 48 pixels but for
1468
+ * map display the recommended size is 16 x 16 pixels.
1469
+ *
1470
+ * The default is `none` (no icon URL will be returned).
1471
+ */
1472
+ icon?: components["parameters"]["IconParam"];
1473
+ /**
1474
+ * Optional case-sensitive parameter to specify the preferred language to
1475
+ * use for category names.
1476
+ *
1477
+ * This query parameter uses language codes to specify the preferred
1478
+ * language. If not set, or if no translation is available, the default
1479
+ * behavior is to return category names in English.
1480
+ *
1481
+ * The language codes use the [CLDR](https://cldr.unicode.org/) (Common
1482
+ * Locale Data Repository) format string that uses a two letter language
1483
+ * code (e.g. "fr" for French) optionally followed by a two letter country
1484
+ * code (e.g. "fr-CA" for French in Canada).
1485
+ *
1486
+ * If an unsupported language code is used, then the service will attempt
1487
+ * to fall-back to the closest available language. This is done by
1488
+ * stripping regional and extension subtags to find a known language code.
1489
+ * For example, French Canadian (`fr-CA`) is unsupported so this falls back
1490
+ * to French `fr`.
1491
+ *
1492
+ * Should the fallback fail, then the service will return category names in
1493
+ * the default language `en` for English.
1494
+ *
1495
+ * Language codes:
1496
+ * - English, default US - `en`
1497
+ * - French - `fr`
1498
+ * - German - `de`
1499
+ * - Japanese - `ja`
1500
+ * - Portuguese, default Brazil - `pt`
1501
+ * - Spanish - `es`
1502
+ */
1503
+ language?: components["parameters"]["LanguageParam"];
1308
1504
  /** The requested response format - either `json` or `pjson` (pretty json). */
1309
1505
  f?: components["parameters"]["FormatParam"];
1310
1506
  /**
1311
- * The authentication token with the `premium:user:places` [privilege](https://developers.arcgis.com/rest/users-groups-and-items/privileges.htm), used to access the Places service.
1507
+ * The authentication token, created from an ArcGIS Location Platform account, with the `premium:user:places` [privilege](https://developers.arcgis.com/rest/users-groups-and-items/privileges.htm), used to access the Places service.
1312
1508
  *
1313
1509
  * The `token` parameter can be either an API Key or short-lived token. See
1314
1510
  * [ArcGIS security
@@ -1341,7 +1537,7 @@ export interface operations {
1341
1537
  * To perform the request, you must supply the `x` and `y` coordinates of
1342
1538
  * the point from which to search. Optionally, you can also specify the:
1343
1539
  *
1344
- * - Search radius (up to 10,000 meters)
1540
+ * - Search radius (1 to 10,000 meters)
1345
1541
  * - Category IDs
1346
1542
  * - Search text
1347
1543
  *
@@ -1402,6 +1598,26 @@ export interface operations {
1402
1598
  * The default `pageSize` is 10.
1403
1599
  */
1404
1600
  pageSize?: components["parameters"]["PageSizeParam"];
1601
+ /**
1602
+ * Determines whether icons are returned and the type of icon to use with a place or category.
1603
+ *
1604
+ * ![example icon](https://static.arcgis.com/icons/places/Zoo_48.png)
1605
+ *
1606
+ * Use this parameter to define the type of icon URL for a given place or
1607
+ * category. Place icons are available in the following formats:
1608
+ *
1609
+ * - `svg`
1610
+ * - `cim` ([Cartographic Information Model](https://developers.arcgis.com/documentation/glossary/cim-symbol/))
1611
+ * - `png` 48 x 48 pixels
1612
+ *
1613
+ * The SVG and CIM symbols default to 15 x 15 pixels but can be scaled
1614
+ * smoothly for display in larger UI elements or to emphasize these
1615
+ * features on a map. The PNG icons are provided as 48 x 48 pixels but for
1616
+ * map display the recommended size is 16 x 16 pixels.
1617
+ *
1618
+ * The default is `none` (no icon URL will be returned).
1619
+ */
1620
+ icon?: components["parameters"]["IconParam"];
1405
1621
  /**
1406
1622
  * Request results starting from the given offset.
1407
1623
  *
@@ -1416,7 +1632,7 @@ export interface operations {
1416
1632
  /** The requested response format - either `json` or `pjson` (pretty json). */
1417
1633
  f?: components["parameters"]["FormatParam"];
1418
1634
  /**
1419
- * The authentication token with the `premium:user:places` [privilege](https://developers.arcgis.com/rest/users-groups-and-items/privileges.htm), used to access the Places service.
1635
+ * The authentication token, created from an ArcGIS Location Platform account, with the `premium:user:places` [privilege](https://developers.arcgis.com/rest/users-groups-and-items/privileges.htm), used to access the Places service.
1420
1636
  *
1421
1637
  * The `token` parameter can be either an API Key or short-lived token. See
1422
1638
  * [ArcGIS security
@@ -1443,17 +1659,20 @@ export interface operations {
1443
1659
  /**
1444
1660
  * The `/places/within-extent` request searches for places within an extent (bounding box).
1445
1661
  *
1446
- * You must supply the `xmin`,
1447
- * `ymin`, `xmax` and `ymax` coordinates to define the extent. The maximum width
1448
- * and height of an extent that can be used in a search is 20,000 meters.
1662
+ * You must supply the `xmin`, `ymin`, `xmax` and `ymax` coordinates to
1663
+ * define the extent. The maximum width and height of an extent that can be
1664
+ * used in a search is 20,000 meters. The width and height of an extent
1665
+ * must be greater than 0 meters.
1449
1666
  *
1450
- * You can also provide multiple categories or search text to find specific types of places within the extent.
1667
+ * You can also provide multiple categories or search text to find specific
1668
+ * types of places within the extent.
1451
1669
  *
1452
- * The default number of places returned (`pageSize`) is 10. The maximum `pageSize` value is 20.
1670
+ * The default number of places returned (`pageSize`) is 10. The maximum
1671
+ * `pageSize` value is 20.
1453
1672
  *
1454
- * If the `pagination.nextUrl` property in the response is populated, then you can
1455
- * page through the results to return more places. The maximum number of
1456
- * places that can be paged to is 200.
1673
+ * If the `pagination.nextUrl` property in the response is populated, then
1674
+ * you can page through the results to return more places. The maximum
1675
+ * number of places that can be paged to is 200.
1457
1676
  *
1458
1677
  * **Note**: You cannot permanently store places. Please see the [Terms of
1459
1678
  * use](https://developers.arcgis.com/documentation/mapping-apis-and-services/deployment/terms-of-use/).
@@ -1464,25 +1683,25 @@ export interface operations {
1464
1683
  parameters: {
1465
1684
  query: {
1466
1685
  /**
1467
- * The minimum x coordinate, or longitude, of the search extent.
1686
+ * The minimum x coordinate, or longitude, of the search extent, in WGS84 decimal degrees.
1468
1687
  *
1469
1688
  * This is the furthest _west_ that will be searched.
1470
1689
  */
1471
1690
  xmin: components["parameters"]["XMinParam"];
1472
1691
  /**
1473
- * The minimum y coordinate, or latitude, of the search extent.
1692
+ * The minimum y coordinate, or latitude, of the search extent, in WGS84 decimal degrees.
1474
1693
  *
1475
1694
  * This is the furthest _south_ that will be searched.
1476
1695
  */
1477
1696
  ymin: components["parameters"]["YMinParam"];
1478
1697
  /**
1479
- * The maximum x coordinate, or longitude, of the search extent.
1698
+ * The maximum x coordinate, or longitude, of the search extent, in WGS84 decimal degrees.
1480
1699
  *
1481
1700
  * This is the furthest _east_ that will be searched.
1482
1701
  */
1483
1702
  xmax: components["parameters"]["XMaxParam"];
1484
1703
  /**
1485
- * The maximum y coordinate, or latitude, of the search extent.
1704
+ * The maximum y coordinate, or latitude, of the search extent, in WGS84 decimal degrees.
1486
1705
  *
1487
1706
  * This is the furthest _north_ that will be searched.
1488
1707
  */
@@ -1504,6 +1723,26 @@ export interface operations {
1504
1723
  categoryIds?: components["parameters"]["CategoryIdsParam"];
1505
1724
  /** Free search text for places against names, categories etc. */
1506
1725
  searchText?: components["parameters"]["SearchTextParam"];
1726
+ /**
1727
+ * Determines whether icons are returned and the type of icon to use with a place or category.
1728
+ *
1729
+ * ![example icon](https://static.arcgis.com/icons/places/Zoo_48.png)
1730
+ *
1731
+ * Use this parameter to define the type of icon URL for a given place or
1732
+ * category. Place icons are available in the following formats:
1733
+ *
1734
+ * - `svg`
1735
+ * - `cim` ([Cartographic Information Model](https://developers.arcgis.com/documentation/glossary/cim-symbol/))
1736
+ * - `png` 48 x 48 pixels
1737
+ *
1738
+ * The SVG and CIM symbols default to 15 x 15 pixels but can be scaled
1739
+ * smoothly for display in larger UI elements or to emphasize these
1740
+ * features on a map. The PNG icons are provided as 48 x 48 pixels but for
1741
+ * map display the recommended size is 16 x 16 pixels.
1742
+ *
1743
+ * The default is `none` (no icon URL will be returned).
1744
+ */
1745
+ icon?: components["parameters"]["IconParam"];
1507
1746
  /**
1508
1747
  * The number of places that should be sent in the response for a single request.
1509
1748
  *
@@ -1534,7 +1773,7 @@ export interface operations {
1534
1773
  /** The requested response format - either `json` or `pjson` (pretty json). */
1535
1774
  f?: components["parameters"]["FormatParam"];
1536
1775
  /**
1537
- * The authentication token with the `premium:user:places` [privilege](https://developers.arcgis.com/rest/users-groups-and-items/privileges.htm), used to access the Places service.
1776
+ * The authentication token, created from an ArcGIS Location Platform account, with the `premium:user:places` [privilege](https://developers.arcgis.com/rest/users-groups-and-items/privileges.htm), used to access the Places service.
1538
1777
  *
1539
1778
  * The `token` parameter can be either an API Key or short-lived token. See
1540
1779
  * [ArcGIS security
@@ -1620,6 +1859,9 @@ export interface operations {
1620
1859
  * use](https://developers.arcgis.com/documentation/mapping-apis-and-services/deployment/terms-of-use/).
1621
1860
  *
1622
1861
  * **Note**: Query parameters are case-sensitive.
1862
+ *
1863
+ * **Note**: Can be used in conjunction with the [Basemap Styles service](https://developers.arcgis.com/rest/basemap-styles) to request additional attributes
1864
+ * for places retrieved using the [Places for basemaps](https://developers.arcgis.com/documentation/mapping-apis-and-services/maps/places-for-basemaps) workflow.
1623
1865
  */
1624
1866
  placeIdGet: {
1625
1867
  parameters: {
@@ -1643,10 +1885,30 @@ export interface operations {
1643
1885
  * above.
1644
1886
  */
1645
1887
  requestedFields: components["parameters"]["RequestedFieldsParam"];
1888
+ /**
1889
+ * Determines whether icons are returned and the type of icon to use with a place or category.
1890
+ *
1891
+ * ![example icon](https://static.arcgis.com/icons/places/Zoo_48.png)
1892
+ *
1893
+ * Use this parameter to define the type of icon URL for a given place or
1894
+ * category. Place icons are available in the following formats:
1895
+ *
1896
+ * - `svg`
1897
+ * - `cim` ([Cartographic Information Model](https://developers.arcgis.com/documentation/glossary/cim-symbol/))
1898
+ * - `png` 48 x 48 pixels
1899
+ *
1900
+ * The SVG and CIM symbols default to 15 x 15 pixels but can be scaled
1901
+ * smoothly for display in larger UI elements or to emphasize these
1902
+ * features on a map. The PNG icons are provided as 48 x 48 pixels but for
1903
+ * map display the recommended size is 16 x 16 pixels.
1904
+ *
1905
+ * The default is `none` (no icon URL will be returned).
1906
+ */
1907
+ icon?: components["parameters"]["IconParam"];
1646
1908
  /** The requested response format - either `json` or `pjson` (pretty json). */
1647
1909
  f?: components["parameters"]["FormatParam"];
1648
1910
  /**
1649
- * The authentication token with the `premium:user:places` [privilege](https://developers.arcgis.com/rest/users-groups-and-items/privileges.htm), used to access the Places service.
1911
+ * The authentication token, created from an ArcGIS Location Platform account, with the `premium:user:places` [privilege](https://developers.arcgis.com/rest/users-groups-and-items/privileges.htm), used to access the Places service.
1650
1912
  *
1651
1913
  * The `token` parameter can be either an API Key or short-lived token. See
1652
1914
  * [ArcGIS security