@azure-rest/maps-search 2.0.0-beta.1 → 2.0.0-beta.3

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 (223) hide show
  1. package/LICENSE +4 -4
  2. package/README.md +113 -123
  3. package/dist/browser/MapsSearch.d.ts +53 -0
  4. package/dist/browser/MapsSearch.d.ts.map +1 -0
  5. package/{dist-esm/src → dist/browser}/MapsSearch.js +5 -5
  6. package/dist/browser/MapsSearch.js.map +1 -0
  7. package/dist/browser/generated/clientDefinitions.d.ts +137 -0
  8. package/dist/browser/generated/clientDefinitions.d.ts.map +1 -0
  9. package/dist/browser/generated/clientDefinitions.js +4 -0
  10. package/dist/browser/generated/clientDefinitions.js.map +1 -0
  11. package/dist/browser/generated/index.d.ts +10 -0
  12. package/dist/browser/generated/index.d.ts.map +1 -0
  13. package/dist/browser/generated/index.js +12 -0
  14. package/dist/browser/generated/index.js.map +1 -0
  15. package/dist/browser/generated/isUnexpected.d.ts +7 -0
  16. package/dist/browser/generated/isUnexpected.d.ts.map +1 -0
  17. package/{dist-esm/src → dist/browser}/generated/isUnexpected.js +8 -7
  18. package/dist/browser/generated/isUnexpected.js.map +1 -0
  19. package/dist/browser/generated/logger.d.ts +2 -0
  20. package/dist/browser/generated/logger.d.ts.map +1 -0
  21. package/{dist-esm/src → dist/browser/generated}/logger.js +1 -1
  22. package/dist/browser/generated/logger.js.map +1 -0
  23. package/dist/browser/generated/mapsSearchClient.d.ts +15 -0
  24. package/dist/browser/generated/mapsSearchClient.d.ts.map +1 -0
  25. package/dist/browser/generated/mapsSearchClient.js +42 -0
  26. package/dist/browser/generated/mapsSearchClient.js.map +1 -0
  27. package/dist/browser/generated/models.d.ts +97 -0
  28. package/dist/browser/generated/models.d.ts.map +1 -0
  29. package/dist/browser/generated/models.js +4 -0
  30. package/dist/browser/generated/models.js.map +1 -0
  31. package/dist/browser/generated/outputModels.d.ts +298 -0
  32. package/dist/browser/generated/outputModels.d.ts.map +1 -0
  33. package/dist/browser/generated/outputModels.js +4 -0
  34. package/{dist-esm/src → dist/browser}/generated/outputModels.js.map +1 -1
  35. package/dist/browser/generated/parameters.d.ts +135 -0
  36. package/dist/browser/generated/parameters.d.ts.map +1 -0
  37. package/dist/browser/generated/parameters.js +4 -0
  38. package/dist/browser/generated/parameters.js.map +1 -0
  39. package/dist/browser/generated/responses.d.ts +255 -0
  40. package/dist/browser/generated/responses.d.ts.map +1 -0
  41. package/dist/browser/generated/responses.js +4 -0
  42. package/dist/browser/generated/responses.js.map +1 -0
  43. package/dist/browser/index.d.ts +4 -0
  44. package/dist/browser/index.d.ts.map +1 -0
  45. package/dist/browser/index.js +6 -0
  46. package/dist/browser/index.js.map +1 -0
  47. package/dist/browser/logger.d.ts +2 -0
  48. package/dist/browser/logger.d.ts.map +1 -0
  49. package/dist/browser/logger.js +5 -0
  50. package/{dist-esm/src → dist/browser}/logger.js.map +1 -1
  51. package/dist/browser/package.json +3 -0
  52. package/dist/commonjs/MapsSearch.d.ts +53 -0
  53. package/dist/commonjs/MapsSearch.d.ts.map +1 -0
  54. package/dist/commonjs/MapsSearch.js +44 -0
  55. package/dist/commonjs/MapsSearch.js.map +1 -0
  56. package/dist/commonjs/generated/clientDefinitions.d.ts +137 -0
  57. package/dist/commonjs/generated/clientDefinitions.d.ts.map +1 -0
  58. package/dist/commonjs/generated/clientDefinitions.js +5 -0
  59. package/dist/commonjs/generated/clientDefinitions.js.map +1 -0
  60. package/dist/commonjs/generated/index.d.ts +10 -0
  61. package/dist/commonjs/generated/index.d.ts.map +1 -0
  62. package/dist/commonjs/generated/index.js +15 -0
  63. package/dist/commonjs/generated/index.js.map +1 -0
  64. package/dist/commonjs/generated/isUnexpected.d.ts +7 -0
  65. package/dist/commonjs/generated/isUnexpected.d.ts.map +1 -0
  66. package/dist/commonjs/generated/isUnexpected.js +78 -0
  67. package/dist/commonjs/generated/isUnexpected.js.map +1 -0
  68. package/dist/commonjs/generated/logger.d.ts +2 -0
  69. package/dist/commonjs/generated/logger.d.ts.map +1 -0
  70. package/dist/commonjs/generated/logger.js +8 -0
  71. package/dist/commonjs/generated/logger.js.map +1 -0
  72. package/dist/commonjs/generated/mapsSearchClient.d.ts +15 -0
  73. package/dist/commonjs/generated/mapsSearchClient.d.ts.map +1 -0
  74. package/dist/commonjs/generated/mapsSearchClient.js +45 -0
  75. package/dist/commonjs/generated/mapsSearchClient.js.map +1 -0
  76. package/dist/commonjs/generated/models.d.ts +97 -0
  77. package/dist/commonjs/generated/models.d.ts.map +1 -0
  78. package/dist/commonjs/generated/models.js +5 -0
  79. package/dist/commonjs/generated/models.js.map +1 -0
  80. package/dist/commonjs/generated/outputModels.d.ts +298 -0
  81. package/dist/commonjs/generated/outputModels.d.ts.map +1 -0
  82. package/dist/commonjs/generated/outputModels.js +5 -0
  83. package/dist/commonjs/generated/outputModels.js.map +1 -0
  84. package/dist/commonjs/generated/parameters.d.ts +135 -0
  85. package/dist/commonjs/generated/parameters.d.ts.map +1 -0
  86. package/dist/commonjs/generated/parameters.js +5 -0
  87. package/dist/commonjs/generated/parameters.js.map +1 -0
  88. package/dist/commonjs/generated/responses.d.ts +255 -0
  89. package/dist/commonjs/generated/responses.d.ts.map +1 -0
  90. package/dist/commonjs/generated/responses.js +5 -0
  91. package/dist/commonjs/generated/responses.js.map +1 -0
  92. package/dist/commonjs/index.d.ts +4 -0
  93. package/dist/commonjs/index.d.ts.map +1 -0
  94. package/dist/commonjs/index.js +9 -0
  95. package/dist/commonjs/index.js.map +1 -0
  96. package/dist/commonjs/logger.d.ts +2 -0
  97. package/dist/commonjs/logger.d.ts.map +1 -0
  98. package/dist/commonjs/logger.js +8 -0
  99. package/dist/commonjs/logger.js.map +1 -0
  100. package/dist/commonjs/package.json +3 -0
  101. package/dist/commonjs/tsdoc-metadata.json +11 -0
  102. package/dist/esm/MapsSearch.d.ts +53 -0
  103. package/dist/esm/MapsSearch.d.ts.map +1 -0
  104. package/dist/esm/MapsSearch.js +40 -0
  105. package/dist/esm/MapsSearch.js.map +1 -0
  106. package/dist/esm/generated/clientDefinitions.d.ts +137 -0
  107. package/dist/esm/generated/clientDefinitions.d.ts.map +1 -0
  108. package/dist/esm/generated/clientDefinitions.js +4 -0
  109. package/dist/esm/generated/clientDefinitions.js.map +1 -0
  110. package/dist/esm/generated/index.d.ts +10 -0
  111. package/dist/esm/generated/index.d.ts.map +1 -0
  112. package/dist/esm/generated/index.js +12 -0
  113. package/dist/esm/generated/index.js.map +1 -0
  114. package/dist/esm/generated/isUnexpected.d.ts +7 -0
  115. package/dist/esm/generated/isUnexpected.d.ts.map +1 -0
  116. package/dist/esm/generated/isUnexpected.js +75 -0
  117. package/dist/esm/generated/isUnexpected.js.map +1 -0
  118. package/dist/esm/generated/logger.d.ts +2 -0
  119. package/dist/esm/generated/logger.d.ts.map +1 -0
  120. package/dist/esm/generated/logger.js +5 -0
  121. package/dist/esm/generated/logger.js.map +1 -0
  122. package/dist/esm/generated/mapsSearchClient.d.ts +15 -0
  123. package/dist/esm/generated/mapsSearchClient.d.ts.map +1 -0
  124. package/dist/esm/generated/mapsSearchClient.js +42 -0
  125. package/dist/esm/generated/mapsSearchClient.js.map +1 -0
  126. package/dist/esm/generated/models.d.ts +97 -0
  127. package/dist/esm/generated/models.d.ts.map +1 -0
  128. package/dist/esm/generated/models.js +4 -0
  129. package/dist/esm/generated/models.js.map +1 -0
  130. package/dist/esm/generated/outputModels.d.ts +298 -0
  131. package/dist/esm/generated/outputModels.d.ts.map +1 -0
  132. package/dist/esm/generated/outputModels.js +4 -0
  133. package/dist/esm/generated/outputModels.js.map +1 -0
  134. package/dist/esm/generated/parameters.d.ts +135 -0
  135. package/dist/esm/generated/parameters.d.ts.map +1 -0
  136. package/dist/esm/generated/parameters.js +4 -0
  137. package/dist/esm/generated/parameters.js.map +1 -0
  138. package/dist/esm/generated/responses.d.ts +255 -0
  139. package/dist/esm/generated/responses.d.ts.map +1 -0
  140. package/dist/esm/generated/responses.js +4 -0
  141. package/dist/esm/generated/responses.js.map +1 -0
  142. package/dist/esm/index.d.ts +4 -0
  143. package/dist/esm/index.d.ts.map +1 -0
  144. package/dist/esm/index.js +6 -0
  145. package/dist/esm/index.js.map +1 -0
  146. package/dist/esm/logger.d.ts +2 -0
  147. package/dist/esm/logger.d.ts.map +1 -0
  148. package/dist/esm/logger.js +5 -0
  149. package/dist/esm/logger.js.map +1 -0
  150. package/dist/esm/package.json +3 -0
  151. package/dist/react-native/MapsSearch.d.ts +53 -0
  152. package/dist/react-native/MapsSearch.d.ts.map +1 -0
  153. package/dist/react-native/MapsSearch.js +40 -0
  154. package/dist/react-native/MapsSearch.js.map +1 -0
  155. package/dist/react-native/generated/clientDefinitions.d.ts +137 -0
  156. package/dist/react-native/generated/clientDefinitions.d.ts.map +1 -0
  157. package/dist/react-native/generated/clientDefinitions.js +4 -0
  158. package/dist/react-native/generated/clientDefinitions.js.map +1 -0
  159. package/dist/react-native/generated/index.d.ts +10 -0
  160. package/dist/react-native/generated/index.d.ts.map +1 -0
  161. package/dist/react-native/generated/index.js +12 -0
  162. package/dist/react-native/generated/index.js.map +1 -0
  163. package/dist/react-native/generated/isUnexpected.d.ts +7 -0
  164. package/dist/react-native/generated/isUnexpected.d.ts.map +1 -0
  165. package/dist/react-native/generated/isUnexpected.js +75 -0
  166. package/dist/react-native/generated/isUnexpected.js.map +1 -0
  167. package/dist/react-native/generated/logger.d.ts +2 -0
  168. package/dist/react-native/generated/logger.d.ts.map +1 -0
  169. package/dist/react-native/generated/logger.js +5 -0
  170. package/dist/react-native/generated/logger.js.map +1 -0
  171. package/dist/react-native/generated/mapsSearchClient.d.ts +15 -0
  172. package/dist/react-native/generated/mapsSearchClient.d.ts.map +1 -0
  173. package/dist/react-native/generated/mapsSearchClient.js +42 -0
  174. package/dist/react-native/generated/mapsSearchClient.js.map +1 -0
  175. package/dist/react-native/generated/models.d.ts +97 -0
  176. package/dist/react-native/generated/models.d.ts.map +1 -0
  177. package/dist/react-native/generated/models.js +4 -0
  178. package/dist/react-native/generated/models.js.map +1 -0
  179. package/dist/react-native/generated/outputModels.d.ts +298 -0
  180. package/dist/react-native/generated/outputModels.d.ts.map +1 -0
  181. package/dist/react-native/generated/outputModels.js +4 -0
  182. package/dist/react-native/generated/outputModels.js.map +1 -0
  183. package/dist/react-native/generated/parameters.d.ts +135 -0
  184. package/dist/react-native/generated/parameters.d.ts.map +1 -0
  185. package/dist/react-native/generated/parameters.js +4 -0
  186. package/dist/react-native/generated/parameters.js.map +1 -0
  187. package/dist/react-native/generated/responses.d.ts +255 -0
  188. package/dist/react-native/generated/responses.d.ts.map +1 -0
  189. package/dist/react-native/generated/responses.js +4 -0
  190. package/dist/react-native/generated/responses.js.map +1 -0
  191. package/dist/react-native/index.d.ts +4 -0
  192. package/dist/react-native/index.d.ts.map +1 -0
  193. package/dist/react-native/index.js +6 -0
  194. package/dist/react-native/index.js.map +1 -0
  195. package/dist/react-native/logger.d.ts +2 -0
  196. package/dist/react-native/logger.d.ts.map +1 -0
  197. package/dist/react-native/logger.js +5 -0
  198. package/dist/react-native/logger.js.map +1 -0
  199. package/dist/react-native/package.json +3 -0
  200. package/package.json +83 -66
  201. package/dist/index.js +0 -160
  202. package/dist/index.js.map +0 -1
  203. package/dist-esm/src/MapsSearch.js.map +0 -1
  204. package/dist-esm/src/generated/clientDefinitions.js +0 -4
  205. package/dist-esm/src/generated/clientDefinitions.js.map +0 -1
  206. package/dist-esm/src/generated/index.js +0 -12
  207. package/dist-esm/src/generated/index.js.map +0 -1
  208. package/dist-esm/src/generated/isUnexpected.js.map +0 -1
  209. package/dist-esm/src/generated/mapsSearchClient.js +0 -32
  210. package/dist-esm/src/generated/mapsSearchClient.js.map +0 -1
  211. package/dist-esm/src/generated/models.js +0 -4
  212. package/dist-esm/src/generated/models.js.map +0 -1
  213. package/dist-esm/src/generated/outputModels.js +0 -4
  214. package/dist-esm/src/generated/parameters.js +0 -4
  215. package/dist-esm/src/generated/parameters.js.map +0 -1
  216. package/dist-esm/src/generated/pollingHelper.js +0 -55
  217. package/dist-esm/src/generated/pollingHelper.js.map +0 -1
  218. package/dist-esm/src/generated/responses.js +0 -4
  219. package/dist-esm/src/generated/responses.js.map +0 -1
  220. package/dist-esm/src/index.js +0 -6
  221. package/dist-esm/src/index.js.map +0 -1
  222. package/review/maps-search.api.md +0 -544
  223. package/types/maps-search-rest.d.ts +0 -1117
@@ -0,0 +1,255 @@
1
+ import { RawHttpHeaders } from "@azure/core-rest-pipeline";
2
+ import { HttpResponse } from "@azure-rest/core-client";
3
+ import { GeocodingResponseOutput, ErrorResponseOutput, GeocodingBatchResponseOutput, BoundaryOutput } from "./outputModels.js";
4
+ export interface SearchGetGeocoding200Headers {
5
+ /** request id. */
6
+ "x-ms-request-id"?: string;
7
+ }
8
+ /**
9
+ *
10
+ * The `Get Geocoding` API is an HTTP `GET` request that returns the longitude and latitude coordinates of the location being searched.
11
+ *
12
+ * In many cases, the complete search service might be too much, for instance if you are only interested in traditional geocoding. Search can also be accessed for address look up exclusively. The geocoding is performed by hitting the geocoding endpoint with just the address or partial address in question. The geocoding search index will be queried for everything above the street level data. No Point of Interest (POIs) will be returned. Note that the geocoder is very tolerant of typos and incomplete addresses. It will also handle everything from exact street addresses or street or intersections as well as higher level geographies such as city centers, counties and states. The response also returns detailed address properties such as street, postal code, municipality, and country/region information.
13
+ */
14
+ export interface SearchGetGeocoding200Response extends HttpResponse {
15
+ status: "200";
16
+ body: GeocodingResponseOutput;
17
+ headers: RawHttpHeaders & SearchGetGeocoding200Headers;
18
+ }
19
+ /**
20
+ *
21
+ * The `Get Geocoding` API is an HTTP `GET` request that returns the longitude and latitude coordinates of the location being searched.
22
+ *
23
+ * In many cases, the complete search service might be too much, for instance if you are only interested in traditional geocoding. Search can also be accessed for address look up exclusively. The geocoding is performed by hitting the geocoding endpoint with just the address or partial address in question. The geocoding search index will be queried for everything above the street level data. No Point of Interest (POIs) will be returned. Note that the geocoder is very tolerant of typos and incomplete addresses. It will also handle everything from exact street addresses or street or intersections as well as higher level geographies such as city centers, counties and states. The response also returns detailed address properties such as street, postal code, municipality, and country/region information.
24
+ */
25
+ export interface SearchGetGeocodingDefaultResponse extends HttpResponse {
26
+ status: string;
27
+ body: ErrorResponseOutput;
28
+ }
29
+ /**
30
+ *
31
+ * The `Get Geocoding Batch` API is an HTTP `POST` request that sends batches of up to **100** queries to the [Geocoding](/rest/api/maps/search/get-geocoding) API in a single request.
32
+ *
33
+ * ### Submit Synchronous Batch Request
34
+ * The Synchronous API is recommended for lightweight batch requests. When the service receives a request, it will respond as soon as the batch items are calculated and there will be no possibility to retrieve the results later. The Synchronous API will return a timeout error (a 408 response) if the request takes longer than 60 seconds. The number of batch items is limited to **100** for this API.
35
+ * ```
36
+ * POST https://atlas.microsoft.com/geocode:batch?api-version=2023-06-01
37
+ * ```
38
+ * ### POST Body for Batch Request
39
+ * To send the _geocoding_ queries you will use a `POST` request where the request body will contain the `batchItems` array in `json` format and the `Content-Type` header will be set to `application/json`. Here's a sample request body containing 2 _geocoding_ queries:
40
+ *
41
+ *
42
+ * ```
43
+ * {
44
+ * "batchItems": [
45
+ * {
46
+ * "addressLine": "One, Microsoft Way, Redmond, WA 98052",
47
+ * "top": 2
48
+ * },
49
+ * {
50
+ * "addressLine": "Pike Pl",
51
+ * "adminDistrict": "WA",
52
+ * "locality": "Seattle",
53
+ * "top": 3
54
+ * }
55
+ * ]
56
+ * }
57
+ * ```
58
+ *
59
+ * A _geocoding_ batchItem object can accept any of the supported _geocoding_ [URI parameters](/rest/api/maps/search/get-geocoding#uri-parameters).
60
+ *
61
+ *
62
+ * The batch should contain at least **1** query.
63
+ *
64
+ *
65
+ * ### Batch Response Model
66
+ * The batch response contains a `summary` component that indicates the `totalRequests` that were part of the original batch request and `successfulRequests` i.e. queries which were executed successfully. The batch response also includes a `batchItems` array which contains a response for each and every query in the batch request. The `batchItems` will contain the results in the exact same order the original queries were sent in the batch request. Each item is of one of the following types:
67
+ *
68
+ * - [`GeocodingResponse`](/rest/api/maps/search/get-geocoding#geocodingresponse) - If the query completed successfully.
69
+ *
70
+ * - `Error` - If the query failed. The response will contain a `code` and a `message` in this case.
71
+ *
72
+ *
73
+ *
74
+ */
75
+ export interface SearchGetGeocodingBatch200Response extends HttpResponse {
76
+ status: "200";
77
+ body: GeocodingBatchResponseOutput;
78
+ }
79
+ /**
80
+ *
81
+ * The `Get Geocoding Batch` API is an HTTP `POST` request that sends batches of up to **100** queries to the [Geocoding](/rest/api/maps/search/get-geocoding) API in a single request.
82
+ *
83
+ * ### Submit Synchronous Batch Request
84
+ * The Synchronous API is recommended for lightweight batch requests. When the service receives a request, it will respond as soon as the batch items are calculated and there will be no possibility to retrieve the results later. The Synchronous API will return a timeout error (a 408 response) if the request takes longer than 60 seconds. The number of batch items is limited to **100** for this API.
85
+ * ```
86
+ * POST https://atlas.microsoft.com/geocode:batch?api-version=2023-06-01
87
+ * ```
88
+ * ### POST Body for Batch Request
89
+ * To send the _geocoding_ queries you will use a `POST` request where the request body will contain the `batchItems` array in `json` format and the `Content-Type` header will be set to `application/json`. Here's a sample request body containing 2 _geocoding_ queries:
90
+ *
91
+ *
92
+ * ```
93
+ * {
94
+ * "batchItems": [
95
+ * {
96
+ * "addressLine": "One, Microsoft Way, Redmond, WA 98052",
97
+ * "top": 2
98
+ * },
99
+ * {
100
+ * "addressLine": "Pike Pl",
101
+ * "adminDistrict": "WA",
102
+ * "locality": "Seattle",
103
+ * "top": 3
104
+ * }
105
+ * ]
106
+ * }
107
+ * ```
108
+ *
109
+ * A _geocoding_ batchItem object can accept any of the supported _geocoding_ [URI parameters](/rest/api/maps/search/get-geocoding#uri-parameters).
110
+ *
111
+ *
112
+ * The batch should contain at least **1** query.
113
+ *
114
+ *
115
+ * ### Batch Response Model
116
+ * The batch response contains a `summary` component that indicates the `totalRequests` that were part of the original batch request and `successfulRequests` i.e. queries which were executed successfully. The batch response also includes a `batchItems` array which contains a response for each and every query in the batch request. The `batchItems` will contain the results in the exact same order the original queries were sent in the batch request. Each item is of one of the following types:
117
+ *
118
+ * - [`GeocodingResponse`](/rest/api/maps/search/get-geocoding#geocodingresponse) - If the query completed successfully.
119
+ *
120
+ * - `Error` - If the query failed. The response will contain a `code` and a `message` in this case.
121
+ *
122
+ *
123
+ *
124
+ */
125
+ export interface SearchGetGeocodingBatchDefaultResponse extends HttpResponse {
126
+ status: string;
127
+ body: ErrorResponseOutput;
128
+ }
129
+ /**
130
+ *
131
+ * The `Get Polygon` API is an HTTP `GET` request that supplies polygon data of a geographical area outline such as a city or a country region.
132
+ */
133
+ export interface SearchGetPolygon200Response extends HttpResponse {
134
+ status: "200";
135
+ body: BoundaryOutput;
136
+ }
137
+ /**
138
+ *
139
+ * The `Get Polygon` API is an HTTP `GET` request that supplies polygon data of a geographical area outline such as a city or a country region.
140
+ */
141
+ export interface SearchGetPolygonDefaultResponse extends HttpResponse {
142
+ status: string;
143
+ body: ErrorResponseOutput;
144
+ }
145
+ /**
146
+ *
147
+ * The `Get Reverse Geocoding` API is an HTTP `GET` request used to translate a coordinate (example: 37.786505, -122.3862) into a human understandable street address. Useful in tracking applications where you receive a GPS feed from the device or asset and wish to know the address associated with the coordinates. This endpoint will return address information for a given coordinate.
148
+ */
149
+ export interface SearchGetReverseGeocoding200Response extends HttpResponse {
150
+ status: "200";
151
+ body: GeocodingResponseOutput;
152
+ }
153
+ /**
154
+ *
155
+ * The `Get Reverse Geocoding` API is an HTTP `GET` request used to translate a coordinate (example: 37.786505, -122.3862) into a human understandable street address. Useful in tracking applications where you receive a GPS feed from the device or asset and wish to know the address associated with the coordinates. This endpoint will return address information for a given coordinate.
156
+ */
157
+ export interface SearchGetReverseGeocodingDefaultResponse extends HttpResponse {
158
+ status: string;
159
+ body: ErrorResponseOutput;
160
+ }
161
+ /**
162
+ *
163
+ * The `Get Reverse Geocoding Batch` API is an HTTP `POST` request that sends batches of up to **100** queries to [Reverse Geocoding](/rest/api/maps/search/get-reverse-geocoding) API using a single request.
164
+ *
165
+ * ### Submit Synchronous Batch Request
166
+ * The Synchronous API is recommended for lightweight batch requests. When the service receives a request, it will respond as soon as the batch items are calculated and there will be no possibility to retrieve the results later. The Synchronous API will return a timeout error (a 408 response) if the request takes longer than 60 seconds. The number of batch items is limited to **100** for this API.
167
+ * ```
168
+ * POST https://atlas.microsoft.com/reverseGeocode:batch?api-version=2023-06-01
169
+ * ```
170
+ * ### POST Body for Batch Request
171
+ * To send the _reverse geocoding_ queries you will use a `POST` request where the request body will contain the `batchItems` array in `json` format and the `Content-Type` header will be set to `application/json`. Here's a sample request body containing 2 _reverse geocoding_ queries:
172
+ *
173
+ *
174
+ * ```
175
+ * {
176
+ * "batchItems": [
177
+ * {
178
+ * "coordinates": [-122.128275, 47.639429],
179
+ * "resultTypes": ["Address", "PopulatedPlace"]
180
+ * },
181
+ * {
182
+ * "coordinates": [-122.341979399674, 47.6095253501216]
183
+ * }
184
+ * ]
185
+ * }
186
+ * ```
187
+ *
188
+ * A _reverse geocoding_ batchItem object can accept any of the supported _reverse geocoding_ [URI parameters](/rest/api/maps/search/get-reverse-geocoding#uri-parameters).
189
+ *
190
+ *
191
+ * The batch should contain at least **1** query.
192
+ *
193
+ *
194
+ * ### Batch Response Model
195
+ * The batch response contains a `summary` component that indicates the `totalRequests` that were part of the original batch request and `successfulRequests` i.e. queries which were executed successfully. The batch response also includes a `batchItems` array which contains a response for each and every query in the batch request. The `batchItems` will contain the results in the exact same order the original queries were sent in the batch request. Each item is of one of the following types:
196
+ *
197
+ * - [`GeocodingResponse`](/rest/api/maps/search/get-reverse-geocoding#geocodingresponse) - If the query completed successfully.
198
+ *
199
+ * - `Error` - If the query failed. The response will contain a `code` and a `message` in this case.
200
+ *
201
+ *
202
+ *
203
+ */
204
+ export interface SearchGetReverseGeocodingBatch200Response extends HttpResponse {
205
+ status: "200";
206
+ body: GeocodingBatchResponseOutput;
207
+ }
208
+ /**
209
+ *
210
+ * The `Get Reverse Geocoding Batch` API is an HTTP `POST` request that sends batches of up to **100** queries to [Reverse Geocoding](/rest/api/maps/search/get-reverse-geocoding) API using a single request.
211
+ *
212
+ * ### Submit Synchronous Batch Request
213
+ * The Synchronous API is recommended for lightweight batch requests. When the service receives a request, it will respond as soon as the batch items are calculated and there will be no possibility to retrieve the results later. The Synchronous API will return a timeout error (a 408 response) if the request takes longer than 60 seconds. The number of batch items is limited to **100** for this API.
214
+ * ```
215
+ * POST https://atlas.microsoft.com/reverseGeocode:batch?api-version=2023-06-01
216
+ * ```
217
+ * ### POST Body for Batch Request
218
+ * To send the _reverse geocoding_ queries you will use a `POST` request where the request body will contain the `batchItems` array in `json` format and the `Content-Type` header will be set to `application/json`. Here's a sample request body containing 2 _reverse geocoding_ queries:
219
+ *
220
+ *
221
+ * ```
222
+ * {
223
+ * "batchItems": [
224
+ * {
225
+ * "coordinates": [-122.128275, 47.639429],
226
+ * "resultTypes": ["Address", "PopulatedPlace"]
227
+ * },
228
+ * {
229
+ * "coordinates": [-122.341979399674, 47.6095253501216]
230
+ * }
231
+ * ]
232
+ * }
233
+ * ```
234
+ *
235
+ * A _reverse geocoding_ batchItem object can accept any of the supported _reverse geocoding_ [URI parameters](/rest/api/maps/search/get-reverse-geocoding#uri-parameters).
236
+ *
237
+ *
238
+ * The batch should contain at least **1** query.
239
+ *
240
+ *
241
+ * ### Batch Response Model
242
+ * The batch response contains a `summary` component that indicates the `totalRequests` that were part of the original batch request and `successfulRequests` i.e. queries which were executed successfully. The batch response also includes a `batchItems` array which contains a response for each and every query in the batch request. The `batchItems` will contain the results in the exact same order the original queries were sent in the batch request. Each item is of one of the following types:
243
+ *
244
+ * - [`GeocodingResponse`](/rest/api/maps/search/get-reverse-geocoding#geocodingresponse) - If the query completed successfully.
245
+ *
246
+ * - `Error` - If the query failed. The response will contain a `code` and a `message` in this case.
247
+ *
248
+ *
249
+ *
250
+ */
251
+ export interface SearchGetReverseGeocodingBatchDefaultResponse extends HttpResponse {
252
+ status: string;
253
+ body: ErrorResponseOutput;
254
+ }
255
+ //# sourceMappingURL=responses.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../src/generated/responses.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAC3D,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACvD,OAAO,EACL,uBAAuB,EACvB,mBAAmB,EACnB,4BAA4B,EAC5B,cAAc,EACf,MAAM,mBAAmB,CAAC;AAE3B,MAAM,WAAW,4BAA4B;IAC3C,kBAAkB;IAClB,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B;AAED;;;;;GAKG;AACH,MAAM,WAAW,6BAA8B,SAAQ,YAAY;IACjE,MAAM,EAAE,KAAK,CAAC;IACd,IAAI,EAAE,uBAAuB,CAAC;IAC9B,OAAO,EAAE,cAAc,GAAG,4BAA4B,CAAC;CACxD;AAED;;;;;GAKG;AACH,MAAM,WAAW,iCAAkC,SAAQ,YAAY;IACrE,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,mBAAmB,CAAC;CAC3B;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6CG;AACH,MAAM,WAAW,kCAAmC,SAAQ,YAAY;IACtE,MAAM,EAAE,KAAK,CAAC;IACd,IAAI,EAAE,4BAA4B,CAAC;CACpC;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6CG;AACH,MAAM,WAAW,sCAAuC,SAAQ,YAAY;IAC1E,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,mBAAmB,CAAC;CAC3B;AAED;;;GAGG;AACH,MAAM,WAAW,2BAA4B,SAAQ,YAAY;IAC/D,MAAM,EAAE,KAAK,CAAC;IACd,IAAI,EAAE,cAAc,CAAC;CACtB;AAED;;;GAGG;AACH,MAAM,WAAW,+BAAgC,SAAQ,YAAY;IACnE,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,mBAAmB,CAAC;CAC3B;AAED;;;GAGG;AACH,MAAM,WAAW,oCAAqC,SAAQ,YAAY;IACxE,MAAM,EAAE,KAAK,CAAC;IACd,IAAI,EAAE,uBAAuB,CAAC;CAC/B;AAED;;;GAGG;AACH,MAAM,WAAW,wCAAyC,SAAQ,YAAY;IAC5E,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,mBAAmB,CAAC;CAC3B;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0CG;AACH,MAAM,WAAW,yCACf,SAAQ,YAAY;IACpB,MAAM,EAAE,KAAK,CAAC;IACd,IAAI,EAAE,4BAA4B,CAAC;CACpC;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0CG;AACH,MAAM,WAAW,6CACf,SAAQ,YAAY;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,mBAAmB,CAAC;CAC3B"}
@@ -0,0 +1,4 @@
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT License.
3
+ export {};
4
+ //# sourceMappingURL=responses.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"responses.js","sourceRoot":"","sources":["../../../src/generated/responses.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { RawHttpHeaders } from \"@azure/core-rest-pipeline\";\nimport { HttpResponse } from \"@azure-rest/core-client\";\nimport {\n GeocodingResponseOutput,\n ErrorResponseOutput,\n GeocodingBatchResponseOutput,\n BoundaryOutput,\n} from \"./outputModels.js\";\n\nexport interface SearchGetGeocoding200Headers {\n /** request id. */\n \"x-ms-request-id\"?: string;\n}\n\n/**\n *\n * The `Get Geocoding` API is an HTTP `GET` request that returns the longitude and latitude coordinates of the location being searched.\n *\n * In many cases, the complete search service might be too much, for instance if you are only interested in traditional geocoding. Search can also be accessed for address look up exclusively. The geocoding is performed by hitting the geocoding endpoint with just the address or partial address in question. The geocoding search index will be queried for everything above the street level data. No Point of Interest (POIs) will be returned. Note that the geocoder is very tolerant of typos and incomplete addresses. It will also handle everything from exact street addresses or street or intersections as well as higher level geographies such as city centers, counties and states. The response also returns detailed address properties such as street, postal code, municipality, and country/region information.\n */\nexport interface SearchGetGeocoding200Response extends HttpResponse {\n status: \"200\";\n body: GeocodingResponseOutput;\n headers: RawHttpHeaders & SearchGetGeocoding200Headers;\n}\n\n/**\n *\n * The `Get Geocoding` API is an HTTP `GET` request that returns the longitude and latitude coordinates of the location being searched.\n *\n * In many cases, the complete search service might be too much, for instance if you are only interested in traditional geocoding. Search can also be accessed for address look up exclusively. The geocoding is performed by hitting the geocoding endpoint with just the address or partial address in question. The geocoding search index will be queried for everything above the street level data. No Point of Interest (POIs) will be returned. Note that the geocoder is very tolerant of typos and incomplete addresses. It will also handle everything from exact street addresses or street or intersections as well as higher level geographies such as city centers, counties and states. The response also returns detailed address properties such as street, postal code, municipality, and country/region information.\n */\nexport interface SearchGetGeocodingDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\n\n/**\n *\n * The `Get Geocoding Batch` API is an HTTP `POST` request that sends batches of up to **100** queries to the [Geocoding](/rest/api/maps/search/get-geocoding) API in a single request.\n *\n * ### Submit Synchronous Batch Request\n * The Synchronous API is recommended for lightweight batch requests. When the service receives a request, it will respond as soon as the batch items are calculated and there will be no possibility to retrieve the results later. The Synchronous API will return a timeout error (a 408 response) if the request takes longer than 60 seconds. The number of batch items is limited to **100** for this API.\n * ```\n * POST https://atlas.microsoft.com/geocode:batch?api-version=2023-06-01\n * ```\n * ### POST Body for Batch Request\n * To send the _geocoding_ queries you will use a `POST` request where the request body will contain the `batchItems` array in `json` format and the `Content-Type` header will be set to `application/json`. Here's a sample request body containing 2 _geocoding_ queries:\n *\n *\n * ```\n * {\n * \"batchItems\": [\n * {\n * \"addressLine\": \"One, Microsoft Way, Redmond, WA 98052\",\n * \"top\": 2\n * },\n * {\n * \"addressLine\": \"Pike Pl\",\n * \"adminDistrict\": \"WA\",\n * \"locality\": \"Seattle\",\n * \"top\": 3\n * }\n * ]\n * }\n * ```\n *\n * A _geocoding_ batchItem object can accept any of the supported _geocoding_ [URI parameters](/rest/api/maps/search/get-geocoding#uri-parameters).\n *\n *\n * The batch should contain at least **1** query.\n *\n *\n * ### Batch Response Model\n * The batch response contains a `summary` component that indicates the `totalRequests` that were part of the original batch request and `successfulRequests` i.e. queries which were executed successfully. The batch response also includes a `batchItems` array which contains a response for each and every query in the batch request. The `batchItems` will contain the results in the exact same order the original queries were sent in the batch request. Each item is of one of the following types:\n *\n * - [`GeocodingResponse`](/rest/api/maps/search/get-geocoding#geocodingresponse) - If the query completed successfully.\n *\n * - `Error` - If the query failed. The response will contain a `code` and a `message` in this case.\n *\n *\n *\n */\nexport interface SearchGetGeocodingBatch200Response extends HttpResponse {\n status: \"200\";\n body: GeocodingBatchResponseOutput;\n}\n\n/**\n *\n * The `Get Geocoding Batch` API is an HTTP `POST` request that sends batches of up to **100** queries to the [Geocoding](/rest/api/maps/search/get-geocoding) API in a single request.\n *\n * ### Submit Synchronous Batch Request\n * The Synchronous API is recommended for lightweight batch requests. When the service receives a request, it will respond as soon as the batch items are calculated and there will be no possibility to retrieve the results later. The Synchronous API will return a timeout error (a 408 response) if the request takes longer than 60 seconds. The number of batch items is limited to **100** for this API.\n * ```\n * POST https://atlas.microsoft.com/geocode:batch?api-version=2023-06-01\n * ```\n * ### POST Body for Batch Request\n * To send the _geocoding_ queries you will use a `POST` request where the request body will contain the `batchItems` array in `json` format and the `Content-Type` header will be set to `application/json`. Here's a sample request body containing 2 _geocoding_ queries:\n *\n *\n * ```\n * {\n * \"batchItems\": [\n * {\n * \"addressLine\": \"One, Microsoft Way, Redmond, WA 98052\",\n * \"top\": 2\n * },\n * {\n * \"addressLine\": \"Pike Pl\",\n * \"adminDistrict\": \"WA\",\n * \"locality\": \"Seattle\",\n * \"top\": 3\n * }\n * ]\n * }\n * ```\n *\n * A _geocoding_ batchItem object can accept any of the supported _geocoding_ [URI parameters](/rest/api/maps/search/get-geocoding#uri-parameters).\n *\n *\n * The batch should contain at least **1** query.\n *\n *\n * ### Batch Response Model\n * The batch response contains a `summary` component that indicates the `totalRequests` that were part of the original batch request and `successfulRequests` i.e. queries which were executed successfully. The batch response also includes a `batchItems` array which contains a response for each and every query in the batch request. The `batchItems` will contain the results in the exact same order the original queries were sent in the batch request. Each item is of one of the following types:\n *\n * - [`GeocodingResponse`](/rest/api/maps/search/get-geocoding#geocodingresponse) - If the query completed successfully.\n *\n * - `Error` - If the query failed. The response will contain a `code` and a `message` in this case.\n *\n *\n *\n */\nexport interface SearchGetGeocodingBatchDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\n\n/**\n *\n * The `Get Polygon` API is an HTTP `GET` request that supplies polygon data of a geographical area outline such as a city or a country region.\n */\nexport interface SearchGetPolygon200Response extends HttpResponse {\n status: \"200\";\n body: BoundaryOutput;\n}\n\n/**\n *\n * The `Get Polygon` API is an HTTP `GET` request that supplies polygon data of a geographical area outline such as a city or a country region.\n */\nexport interface SearchGetPolygonDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\n\n/**\n *\n * The `Get Reverse Geocoding` API is an HTTP `GET` request used to translate a coordinate (example: 37.786505, -122.3862) into a human understandable street address. Useful in tracking applications where you receive a GPS feed from the device or asset and wish to know the address associated with the coordinates. This endpoint will return address information for a given coordinate.\n */\nexport interface SearchGetReverseGeocoding200Response extends HttpResponse {\n status: \"200\";\n body: GeocodingResponseOutput;\n}\n\n/**\n *\n * The `Get Reverse Geocoding` API is an HTTP `GET` request used to translate a coordinate (example: 37.786505, -122.3862) into a human understandable street address. Useful in tracking applications where you receive a GPS feed from the device or asset and wish to know the address associated with the coordinates. This endpoint will return address information for a given coordinate.\n */\nexport interface SearchGetReverseGeocodingDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\n\n/**\n *\n * The `Get Reverse Geocoding Batch` API is an HTTP `POST` request that sends batches of up to **100** queries to [Reverse Geocoding](/rest/api/maps/search/get-reverse-geocoding) API using a single request.\n *\n * ### Submit Synchronous Batch Request\n * The Synchronous API is recommended for lightweight batch requests. When the service receives a request, it will respond as soon as the batch items are calculated and there will be no possibility to retrieve the results later. The Synchronous API will return a timeout error (a 408 response) if the request takes longer than 60 seconds. The number of batch items is limited to **100** for this API.\n * ```\n * POST https://atlas.microsoft.com/reverseGeocode:batch?api-version=2023-06-01\n * ```\n * ### POST Body for Batch Request\n * To send the _reverse geocoding_ queries you will use a `POST` request where the request body will contain the `batchItems` array in `json` format and the `Content-Type` header will be set to `application/json`. Here's a sample request body containing 2 _reverse geocoding_ queries:\n *\n *\n * ```\n * {\n * \"batchItems\": [\n * {\n * \"coordinates\": [-122.128275, 47.639429],\n * \"resultTypes\": [\"Address\", \"PopulatedPlace\"]\n * },\n * {\n * \"coordinates\": [-122.341979399674, 47.6095253501216]\n * }\n * ]\n * }\n * ```\n *\n * A _reverse geocoding_ batchItem object can accept any of the supported _reverse geocoding_ [URI parameters](/rest/api/maps/search/get-reverse-geocoding#uri-parameters).\n *\n *\n * The batch should contain at least **1** query.\n *\n *\n * ### Batch Response Model\n * The batch response contains a `summary` component that indicates the `totalRequests` that were part of the original batch request and `successfulRequests` i.e. queries which were executed successfully. The batch response also includes a `batchItems` array which contains a response for each and every query in the batch request. The `batchItems` will contain the results in the exact same order the original queries were sent in the batch request. Each item is of one of the following types:\n *\n * - [`GeocodingResponse`](/rest/api/maps/search/get-reverse-geocoding#geocodingresponse) - If the query completed successfully.\n *\n * - `Error` - If the query failed. The response will contain a `code` and a `message` in this case.\n *\n *\n *\n */\nexport interface SearchGetReverseGeocodingBatch200Response\n extends HttpResponse {\n status: \"200\";\n body: GeocodingBatchResponseOutput;\n}\n\n/**\n *\n * The `Get Reverse Geocoding Batch` API is an HTTP `POST` request that sends batches of up to **100** queries to [Reverse Geocoding](/rest/api/maps/search/get-reverse-geocoding) API using a single request.\n *\n * ### Submit Synchronous Batch Request\n * The Synchronous API is recommended for lightweight batch requests. When the service receives a request, it will respond as soon as the batch items are calculated and there will be no possibility to retrieve the results later. The Synchronous API will return a timeout error (a 408 response) if the request takes longer than 60 seconds. The number of batch items is limited to **100** for this API.\n * ```\n * POST https://atlas.microsoft.com/reverseGeocode:batch?api-version=2023-06-01\n * ```\n * ### POST Body for Batch Request\n * To send the _reverse geocoding_ queries you will use a `POST` request where the request body will contain the `batchItems` array in `json` format and the `Content-Type` header will be set to `application/json`. Here's a sample request body containing 2 _reverse geocoding_ queries:\n *\n *\n * ```\n * {\n * \"batchItems\": [\n * {\n * \"coordinates\": [-122.128275, 47.639429],\n * \"resultTypes\": [\"Address\", \"PopulatedPlace\"]\n * },\n * {\n * \"coordinates\": [-122.341979399674, 47.6095253501216]\n * }\n * ]\n * }\n * ```\n *\n * A _reverse geocoding_ batchItem object can accept any of the supported _reverse geocoding_ [URI parameters](/rest/api/maps/search/get-reverse-geocoding#uri-parameters).\n *\n *\n * The batch should contain at least **1** query.\n *\n *\n * ### Batch Response Model\n * The batch response contains a `summary` component that indicates the `totalRequests` that were part of the original batch request and `successfulRequests` i.e. queries which were executed successfully. The batch response also includes a `batchItems` array which contains a response for each and every query in the batch request. The `batchItems` will contain the results in the exact same order the original queries were sent in the batch request. Each item is of one of the following types:\n *\n * - [`GeocodingResponse`](/rest/api/maps/search/get-reverse-geocoding#geocodingresponse) - If the query completed successfully.\n *\n * - `Error` - If the query failed. The response will contain a `code` and a `message` in this case.\n *\n *\n *\n */\nexport interface SearchGetReverseGeocodingBatchDefaultResponse\n extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\n"]}
@@ -0,0 +1,4 @@
1
+ import MapsSearch from "./MapsSearch.js";
2
+ export * from "./generated/index.js";
3
+ export default MapsSearch;
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAGA,OAAO,UAAU,MAAM,iBAAiB,CAAC;AAEzC,cAAc,sBAAsB,CAAC;AACrC,eAAe,UAAU,CAAC"}
@@ -0,0 +1,6 @@
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT License.
3
+ import MapsSearch from "./MapsSearch.js";
4
+ export * from "./generated/index.js";
5
+ export default MapsSearch;
6
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,UAAU,MAAM,iBAAiB,CAAC;AAEzC,cAAc,sBAAsB,CAAC;AACrC,eAAe,UAAU,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport MapsSearch from \"./MapsSearch.js\";\n\nexport * from \"./generated/index.js\";\nexport default MapsSearch;\n"]}
@@ -0,0 +1,2 @@
1
+ export declare const logger: import("@azure/logger").AzureLogger;
2
+ //# sourceMappingURL=logger.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"logger.d.ts","sourceRoot":"","sources":["../../src/logger.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,MAAM,qCAAoC,CAAC"}
@@ -0,0 +1,5 @@
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT License.
3
+ import { createClientLogger } from "@azure/logger";
4
+ export const logger = createClientLogger("maps-search");
5
+ //# sourceMappingURL=logger.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"logger.js","sourceRoot":"","sources":["../../src/logger.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AACnD,MAAM,CAAC,MAAM,MAAM,GAAG,kBAAkB,CAAC,aAAa,CAAC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { createClientLogger } from \"@azure/logger\";\nexport const logger = createClientLogger(\"maps-search\");\n"]}
@@ -0,0 +1,3 @@
1
+ {
2
+ "type": "module"
3
+ }
@@ -0,0 +1,53 @@
1
+ import type { ClientOptions } from "@azure-rest/core-client";
2
+ import type { AzureKeyCredential, AzureSASCredential, TokenCredential } from "@azure/core-auth";
3
+ import type { MapsSearchClient } from "./generated/index.js";
4
+ /**
5
+ * Creates an instance of MapsSearchClient from a subscription key.
6
+ *
7
+ * @example
8
+ * ```ts snippet:ReadmeSampleCreateClient_SubscriptionKey
9
+ * import { AzureKeyCredential } from "@azure/core-auth";
10
+ * import MapsSearch from "@azure-rest/maps-search";
11
+ *
12
+ * const credential = new AzureKeyCredential("<subscription-key>");
13
+ * const client = MapsSearch(credential);
14
+ *```
15
+ *
16
+ * @param credential - An AzureKeyCredential instance used to authenticate requests to the service
17
+ * @param options - Options used to configure the Search Client
18
+ */
19
+ export default function MapsSearch(credential: AzureKeyCredential, options?: ClientOptions): MapsSearchClient;
20
+ /**
21
+ * Creates an instance of MapsSearch from an Azure Identity `TokenCredential`.
22
+ *
23
+ * @example
24
+ * ```ts snippet:ReadmeSampleCreateClient_TokenCredential
25
+ * import { DefaultAzureCredential } from "@azure/identity";
26
+ * import MapsSearch from "@azure-rest/maps-search";
27
+ *
28
+ * const credential = new DefaultAzureCredential();
29
+ * const client = MapsSearch(credential, "<maps-account-client-id>");
30
+ *```
31
+ *
32
+ * @param credential - An TokenCredential instance used to authenticate requests to the service
33
+ * @param mapsAccountClientId - The Azure Maps client id of a specific map resource
34
+ * @param options - Options used to configure the Search Client
35
+ */
36
+ export default function MapsSearch(credential: TokenCredential, mapsAccountClientId: string, options?: ClientOptions): MapsSearchClient;
37
+ /**
38
+ * Creates an instance of MapsSearch from an Azure Identity `AzureSASCredential`.
39
+ *
40
+ * @example
41
+ * ```ts snippet:ReadmeSampleCreateClient_SASToken
42
+ * import { AzureSASCredential } from "@azure/core-auth";
43
+ * import MapsSearch from "@azure-rest/maps-search";
44
+ *
45
+ * const credential = new AzureSASCredential("<SAS Token>");
46
+ * const client = MapsSearch(credential);
47
+ * ```
48
+ *
49
+ * @param credential - An AzureSASCredential instance used to authenticate requests to the service
50
+ * @param options - Options used to configure the Search Client
51
+ */
52
+ export default function MapsSearch(credential: AzureSASCredential, options?: ClientOptions): MapsSearchClient;
53
+ //# sourceMappingURL=MapsSearch.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MapsSearch.d.ts","sourceRoot":"","sources":["../../src/MapsSearch.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,KAAK,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAGhG,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAI7D;;;;;;;;;;;;;;GAcG;AACH,MAAM,CAAC,OAAO,UAAU,UAAU,CAChC,UAAU,EAAE,kBAAkB,EAC9B,OAAO,CAAC,EAAE,aAAa,GACtB,gBAAgB,CAAC;AACpB;;;;;;;;;;;;;;;GAeG;AACH,MAAM,CAAC,OAAO,UAAU,UAAU,CAChC,UAAU,EAAE,eAAe,EAC3B,mBAAmB,EAAE,MAAM,EAC3B,OAAO,CAAC,EAAE,aAAa,GACtB,gBAAgB,CAAC;AACpB;;;;;;;;;;;;;;GAcG;AACH,MAAM,CAAC,OAAO,UAAU,UAAU,CAChC,UAAU,EAAE,kBAAkB,EAC9B,OAAO,CAAC,EAAE,aAAa,GACtB,gBAAgB,CAAC"}
@@ -0,0 +1,40 @@
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT License.
3
+ import { isSASCredential, isTokenCredential } from "@azure/core-auth";
4
+ import { createMapsClientIdPolicy } from "@azure/maps-common";
5
+ import createClient from "./generated/index.js";
6
+ import { bearerTokenAuthenticationPolicy } from "@azure/core-rest-pipeline";
7
+ export default function MapsSearch(credential, clientIdOrOptions = {}, maybeOptions = {}) {
8
+ const options = typeof clientIdOrOptions === "string" ? maybeOptions : clientIdOrOptions;
9
+ /**
10
+ * maps service requires a header "ms-x-client-id", which is different from the standard Microsoft Entra ID.
11
+ * So we need to do our own implementation.
12
+ * This customized authentication is following by this guide: https://github.com/Azure/azure-sdk-for-js/blob/main/documentation/RLC-customization.md#custom-authentication
13
+ */
14
+ if (isTokenCredential(credential)) {
15
+ const clientId = typeof clientIdOrOptions === "string" ? clientIdOrOptions : "";
16
+ if (!clientId) {
17
+ throw Error("Client id is needed for TokenCredential");
18
+ }
19
+ const client = createClient(undefined, options);
20
+ client.pipeline.addPolicy(bearerTokenAuthenticationPolicy({
21
+ credential,
22
+ scopes: "https://atlas.microsoft.com/.default",
23
+ }));
24
+ client.pipeline.addPolicy(createMapsClientIdPolicy(clientId));
25
+ return client;
26
+ }
27
+ if (isSASCredential(credential)) {
28
+ const client = createClient(undefined, options);
29
+ client.pipeline.addPolicy({
30
+ name: "mapsSASCredentialPolicy",
31
+ async sendRequest(request, next) {
32
+ request.headers.set("Authorization", `jwt-sas ${credential.signature}`);
33
+ return next(request);
34
+ },
35
+ });
36
+ return client;
37
+ }
38
+ return createClient(credential, options);
39
+ }
40
+ //# sourceMappingURL=MapsSearch.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MapsSearch.js","sourceRoot":"","sources":["../../src/MapsSearch.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAIlC,OAAO,EAAE,eAAe,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AACtE,OAAO,EAAE,wBAAwB,EAAE,MAAM,oBAAoB,CAAC;AAE9D,OAAO,YAAY,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAE,+BAA+B,EAAE,MAAM,2BAA2B,CAAC;AA6D5E,MAAM,CAAC,OAAO,UAAU,UAAU,CAChC,UAAqE,EACrE,oBAA4C,EAAE,EAC9C,eAA8B,EAAE;IAEhC,MAAM,OAAO,GAAG,OAAO,iBAAiB,KAAK,QAAQ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,iBAAiB,CAAC;IAEzF;;;;OAIG;IACH,IAAI,iBAAiB,CAAC,UAAU,CAAC,EAAE,CAAC;QAClC,MAAM,QAAQ,GAAG,OAAO,iBAAiB,KAAK,QAAQ,CAAC,CAAC,CAAC,iBAAiB,CAAC,CAAC,CAAC,EAAE,CAAC;QAChF,IAAI,CAAC,QAAQ,EAAE,CAAC;YACd,MAAM,KAAK,CAAC,yCAAyC,CAAC,CAAC;QACzD,CAAC;QACD,MAAM,MAAM,GAAG,YAAY,CAAC,SAAgB,EAAE,OAAO,CAAC,CAAC;QACvD,MAAM,CAAC,QAAQ,CAAC,SAAS,CACvB,+BAA+B,CAAC;YAC9B,UAAU;YACV,MAAM,EAAE,sCAAsC;SAC/C,CAAC,CACH,CAAC;QACF,MAAM,CAAC,QAAQ,CAAC,SAAS,CAAC,wBAAwB,CAAC,QAAQ,CAAC,CAAC,CAAC;QAC9D,OAAO,MAAM,CAAC;IAChB,CAAC;IAED,IAAI,eAAe,CAAC,UAAU,CAAC,EAAE,CAAC;QAChC,MAAM,MAAM,GAAG,YAAY,CAAC,SAAgB,EAAE,OAAO,CAAC,CAAC;QACvD,MAAM,CAAC,QAAQ,CAAC,SAAS,CAAC;YACxB,IAAI,EAAE,yBAAyB;YAC/B,KAAK,CAAC,WAAW,CAAC,OAAO,EAAE,IAAI;gBAC7B,OAAO,CAAC,OAAO,CAAC,GAAG,CAAC,eAAe,EAAE,WAAW,UAAU,CAAC,SAAS,EAAE,CAAC,CAAC;gBACxE,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC;YACvB,CAAC;SACF,CAAC,CAAC;QACH,OAAO,MAAM,CAAC;IAChB,CAAC;IAED,OAAO,YAAY,CAAC,UAAU,EAAE,OAAO,CAAC,CAAC;AAC3C,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { ClientOptions } from \"@azure-rest/core-client\";\nimport type { AzureKeyCredential, AzureSASCredential, TokenCredential } from \"@azure/core-auth\";\nimport { isSASCredential, isTokenCredential } from \"@azure/core-auth\";\nimport { createMapsClientIdPolicy } from \"@azure/maps-common\";\nimport type { MapsSearchClient } from \"./generated/index.js\";\nimport createClient from \"./generated/index.js\";\nimport { bearerTokenAuthenticationPolicy } from \"@azure/core-rest-pipeline\";\n\n/**\n * Creates an instance of MapsSearchClient from a subscription key.\n *\n * @example\n * ```ts snippet:ReadmeSampleCreateClient_SubscriptionKey\n * import { AzureKeyCredential } from \"@azure/core-auth\";\n * import MapsSearch from \"@azure-rest/maps-search\";\n *\n * const credential = new AzureKeyCredential(\"<subscription-key>\");\n * const client = MapsSearch(credential);\n *```\n *\n * @param credential - An AzureKeyCredential instance used to authenticate requests to the service\n * @param options - Options used to configure the Search Client\n */\nexport default function MapsSearch(\n credential: AzureKeyCredential,\n options?: ClientOptions,\n): MapsSearchClient;\n/**\n * Creates an instance of MapsSearch from an Azure Identity `TokenCredential`.\n *\n * @example\n * ```ts snippet:ReadmeSampleCreateClient_TokenCredential\n * import { DefaultAzureCredential } from \"@azure/identity\";\n * import MapsSearch from \"@azure-rest/maps-search\";\n *\n * const credential = new DefaultAzureCredential();\n * const client = MapsSearch(credential, \"<maps-account-client-id>\");\n *```\n *\n * @param credential - An TokenCredential instance used to authenticate requests to the service\n * @param mapsAccountClientId - The Azure Maps client id of a specific map resource\n * @param options - Options used to configure the Search Client\n */\nexport default function MapsSearch(\n credential: TokenCredential,\n mapsAccountClientId: string,\n options?: ClientOptions,\n): MapsSearchClient;\n/**\n * Creates an instance of MapsSearch from an Azure Identity `AzureSASCredential`.\n *\n * @example\n * ```ts snippet:ReadmeSampleCreateClient_SASToken\n * import { AzureSASCredential } from \"@azure/core-auth\";\n * import MapsSearch from \"@azure-rest/maps-search\";\n *\n * const credential = new AzureSASCredential(\"<SAS Token>\");\n * const client = MapsSearch(credential);\n * ```\n *\n * @param credential - An AzureSASCredential instance used to authenticate requests to the service\n * @param options - Options used to configure the Search Client\n */\nexport default function MapsSearch(\n credential: AzureSASCredential,\n options?: ClientOptions,\n): MapsSearchClient;\nexport default function MapsSearch(\n credential: TokenCredential | AzureKeyCredential | AzureSASCredential,\n clientIdOrOptions: string | ClientOptions = {},\n maybeOptions: ClientOptions = {},\n): MapsSearchClient {\n const options = typeof clientIdOrOptions === \"string\" ? maybeOptions : clientIdOrOptions;\n\n /**\n * maps service requires a header \"ms-x-client-id\", which is different from the standard Microsoft Entra ID.\n * So we need to do our own implementation.\n * This customized authentication is following by this guide: https://github.com/Azure/azure-sdk-for-js/blob/main/documentation/RLC-customization.md#custom-authentication\n */\n if (isTokenCredential(credential)) {\n const clientId = typeof clientIdOrOptions === \"string\" ? clientIdOrOptions : \"\";\n if (!clientId) {\n throw Error(\"Client id is needed for TokenCredential\");\n }\n const client = createClient(undefined as any, options);\n client.pipeline.addPolicy(\n bearerTokenAuthenticationPolicy({\n credential,\n scopes: \"https://atlas.microsoft.com/.default\",\n }),\n );\n client.pipeline.addPolicy(createMapsClientIdPolicy(clientId));\n return client;\n }\n\n if (isSASCredential(credential)) {\n const client = createClient(undefined as any, options);\n client.pipeline.addPolicy({\n name: \"mapsSASCredentialPolicy\",\n async sendRequest(request, next) {\n request.headers.set(\"Authorization\", `jwt-sas ${credential.signature}`);\n return next(request);\n },\n });\n return client;\n }\n\n return createClient(credential, options);\n}\n"]}
@@ -0,0 +1,137 @@
1
+ import { SearchGetGeocodingParameters, SearchGetGeocodingBatchParameters, SearchGetPolygonParameters, SearchGetReverseGeocodingParameters, SearchGetReverseGeocodingBatchParameters } from "./parameters.js";
2
+ import { SearchGetGeocoding200Response, SearchGetGeocodingDefaultResponse, SearchGetGeocodingBatch200Response, SearchGetGeocodingBatchDefaultResponse, SearchGetPolygon200Response, SearchGetPolygonDefaultResponse, SearchGetReverseGeocoding200Response, SearchGetReverseGeocodingDefaultResponse, SearchGetReverseGeocodingBatch200Response, SearchGetReverseGeocodingBatchDefaultResponse } from "./responses.js";
3
+ import { Client, StreamableMethod } from "@azure-rest/core-client";
4
+ export interface GetGeocoding {
5
+ /**
6
+ *
7
+ * The `Get Geocoding` API is an HTTP `GET` request that returns the longitude and latitude coordinates of the location being searched.
8
+ *
9
+ * In many cases, the complete search service might be too much, for instance if you are only interested in traditional geocoding. Search can also be accessed for address look up exclusively. The geocoding is performed by hitting the geocoding endpoint with just the address or partial address in question. The geocoding search index will be queried for everything above the street level data. No Point of Interest (POIs) will be returned. Note that the geocoder is very tolerant of typos and incomplete addresses. It will also handle everything from exact street addresses or street or intersections as well as higher level geographies such as city centers, counties and states. The response also returns detailed address properties such as street, postal code, municipality, and country/region information.
10
+ */
11
+ get(options?: SearchGetGeocodingParameters): StreamableMethod<SearchGetGeocoding200Response | SearchGetGeocodingDefaultResponse>;
12
+ }
13
+ export interface GetGeocodingBatch {
14
+ /**
15
+ *
16
+ * The `Get Geocoding Batch` API is an HTTP `POST` request that sends batches of up to **100** queries to the [Geocoding](/rest/api/maps/search/get-geocoding) API in a single request.
17
+ *
18
+ * ### Submit Synchronous Batch Request
19
+ * The Synchronous API is recommended for lightweight batch requests. When the service receives a request, it will respond as soon as the batch items are calculated and there will be no possibility to retrieve the results later. The Synchronous API will return a timeout error (a 408 response) if the request takes longer than 60 seconds. The number of batch items is limited to **100** for this API.
20
+ * ```
21
+ * POST https://atlas.microsoft.com/geocode:batch?api-version=2023-06-01
22
+ * ```
23
+ * ### POST Body for Batch Request
24
+ * To send the _geocoding_ queries you will use a `POST` request where the request body will contain the `batchItems` array in `json` format and the `Content-Type` header will be set to `application/json`. Here's a sample request body containing 2 _geocoding_ queries:
25
+ *
26
+ *
27
+ * ```
28
+ * {
29
+ * "batchItems": [
30
+ * {
31
+ * "addressLine": "One, Microsoft Way, Redmond, WA 98052",
32
+ * "top": 2
33
+ * },
34
+ * {
35
+ * "addressLine": "Pike Pl",
36
+ * "adminDistrict": "WA",
37
+ * "locality": "Seattle",
38
+ * "top": 3
39
+ * }
40
+ * ]
41
+ * }
42
+ * ```
43
+ *
44
+ * A _geocoding_ batchItem object can accept any of the supported _geocoding_ [URI parameters](/rest/api/maps/search/get-geocoding#uri-parameters).
45
+ *
46
+ *
47
+ * The batch should contain at least **1** query.
48
+ *
49
+ *
50
+ * ### Batch Response Model
51
+ * The batch response contains a `summary` component that indicates the `totalRequests` that were part of the original batch request and `successfulRequests` i.e. queries which were executed successfully. The batch response also includes a `batchItems` array which contains a response for each and every query in the batch request. The `batchItems` will contain the results in the exact same order the original queries were sent in the batch request. Each item is of one of the following types:
52
+ *
53
+ * - [`GeocodingResponse`](/rest/api/maps/search/get-geocoding#geocodingresponse) - If the query completed successfully.
54
+ *
55
+ * - `Error` - If the query failed. The response will contain a `code` and a `message` in this case.
56
+ *
57
+ *
58
+ *
59
+ */
60
+ post(options: SearchGetGeocodingBatchParameters): StreamableMethod<SearchGetGeocodingBatch200Response | SearchGetGeocodingBatchDefaultResponse>;
61
+ }
62
+ export interface GetPolygon {
63
+ /**
64
+ *
65
+ * The `Get Polygon` API is an HTTP `GET` request that supplies polygon data of a geographical area outline such as a city or a country region.
66
+ */
67
+ get(options: SearchGetPolygonParameters): StreamableMethod<SearchGetPolygon200Response | SearchGetPolygonDefaultResponse>;
68
+ }
69
+ export interface GetReverseGeocoding {
70
+ /**
71
+ *
72
+ * The `Get Reverse Geocoding` API is an HTTP `GET` request used to translate a coordinate (example: 37.786505, -122.3862) into a human understandable street address. Useful in tracking applications where you receive a GPS feed from the device or asset and wish to know the address associated with the coordinates. This endpoint will return address information for a given coordinate.
73
+ */
74
+ get(options: SearchGetReverseGeocodingParameters): StreamableMethod<SearchGetReverseGeocoding200Response | SearchGetReverseGeocodingDefaultResponse>;
75
+ }
76
+ export interface GetReverseGeocodingBatch {
77
+ /**
78
+ *
79
+ * The `Get Reverse Geocoding Batch` API is an HTTP `POST` request that sends batches of up to **100** queries to [Reverse Geocoding](/rest/api/maps/search/get-reverse-geocoding) API using a single request.
80
+ *
81
+ * ### Submit Synchronous Batch Request
82
+ * The Synchronous API is recommended for lightweight batch requests. When the service receives a request, it will respond as soon as the batch items are calculated and there will be no possibility to retrieve the results later. The Synchronous API will return a timeout error (a 408 response) if the request takes longer than 60 seconds. The number of batch items is limited to **100** for this API.
83
+ * ```
84
+ * POST https://atlas.microsoft.com/reverseGeocode:batch?api-version=2023-06-01
85
+ * ```
86
+ * ### POST Body for Batch Request
87
+ * To send the _reverse geocoding_ queries you will use a `POST` request where the request body will contain the `batchItems` array in `json` format and the `Content-Type` header will be set to `application/json`. Here's a sample request body containing 2 _reverse geocoding_ queries:
88
+ *
89
+ *
90
+ * ```
91
+ * {
92
+ * "batchItems": [
93
+ * {
94
+ * "coordinates": [-122.128275, 47.639429],
95
+ * "resultTypes": ["Address", "PopulatedPlace"]
96
+ * },
97
+ * {
98
+ * "coordinates": [-122.341979399674, 47.6095253501216]
99
+ * }
100
+ * ]
101
+ * }
102
+ * ```
103
+ *
104
+ * A _reverse geocoding_ batchItem object can accept any of the supported _reverse geocoding_ [URI parameters](/rest/api/maps/search/get-reverse-geocoding#uri-parameters).
105
+ *
106
+ *
107
+ * The batch should contain at least **1** query.
108
+ *
109
+ *
110
+ * ### Batch Response Model
111
+ * The batch response contains a `summary` component that indicates the `totalRequests` that were part of the original batch request and `successfulRequests` i.e. queries which were executed successfully. The batch response also includes a `batchItems` array which contains a response for each and every query in the batch request. The `batchItems` will contain the results in the exact same order the original queries were sent in the batch request. Each item is of one of the following types:
112
+ *
113
+ * - [`GeocodingResponse`](/rest/api/maps/search/get-reverse-geocoding#geocodingresponse) - If the query completed successfully.
114
+ *
115
+ * - `Error` - If the query failed. The response will contain a `code` and a `message` in this case.
116
+ *
117
+ *
118
+ *
119
+ */
120
+ post(options: SearchGetReverseGeocodingBatchParameters): StreamableMethod<SearchGetReverseGeocodingBatch200Response | SearchGetReverseGeocodingBatchDefaultResponse>;
121
+ }
122
+ export interface Routes {
123
+ /** Resource for '/geocode' has methods for the following verbs: get */
124
+ (path: "/geocode"): GetGeocoding;
125
+ /** Resource for '/geocode:batch' has methods for the following verbs: post */
126
+ (path: "/geocode:batch"): GetGeocodingBatch;
127
+ /** Resource for '/search/polygon' has methods for the following verbs: get */
128
+ (path: "/search/polygon"): GetPolygon;
129
+ /** Resource for '/reverseGeocode' has methods for the following verbs: get */
130
+ (path: "/reverseGeocode"): GetReverseGeocoding;
131
+ /** Resource for '/reverseGeocode:batch' has methods for the following verbs: post */
132
+ (path: "/reverseGeocode:batch"): GetReverseGeocodingBatch;
133
+ }
134
+ export type MapsSearchClient = Client & {
135
+ path: Routes;
136
+ };
137
+ //# sourceMappingURL=clientDefinitions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"clientDefinitions.d.ts","sourceRoot":"","sources":["../../../src/generated/clientDefinitions.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,4BAA4B,EAC5B,iCAAiC,EACjC,0BAA0B,EAC1B,mCAAmC,EACnC,wCAAwC,EACzC,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACL,6BAA6B,EAC7B,iCAAiC,EACjC,kCAAkC,EAClC,sCAAsC,EACtC,2BAA2B,EAC3B,+BAA+B,EAC/B,oCAAoC,EACpC,wCAAwC,EACxC,yCAAyC,EACzC,6CAA6C,EAC9C,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,MAAM,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAEnE,MAAM,WAAW,YAAY;IAC3B;;;;;OAKG;IACH,GAAG,CACD,OAAO,CAAC,EAAE,4BAA4B,GACrC,gBAAgB,CACjB,6BAA6B,GAAG,iCAAiC,CAClE,CAAC;CACH;AAED,MAAM,WAAW,iBAAiB;IAChC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA6CG;IACH,IAAI,CACF,OAAO,EAAE,iCAAiC,GACzC,gBAAgB,CACjB,kCAAkC,GAAG,sCAAsC,CAC5E,CAAC;CACH;AAED,MAAM,WAAW,UAAU;IACzB;;;OAGG;IACH,GAAG,CACD,OAAO,EAAE,0BAA0B,GAClC,gBAAgB,CACjB,2BAA2B,GAAG,+BAA+B,CAC9D,CAAC;CACH;AAED,MAAM,WAAW,mBAAmB;IAClC;;;OAGG;IACH,GAAG,CACD,OAAO,EAAE,mCAAmC,GAC3C,gBAAgB,CACf,oCAAoC,GACpC,wCAAwC,CAC3C,CAAC;CACH;AAED,MAAM,WAAW,wBAAwB;IACvC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA0CG;IACH,IAAI,CACF,OAAO,EAAE,wCAAwC,GAChD,gBAAgB,CACf,yCAAyC,GACzC,6CAA6C,CAChD,CAAC;CACH;AAED,MAAM,WAAW,MAAM;IACrB,uEAAuE;IACvE,CAAC,IAAI,EAAE,UAAU,GAAG,YAAY,CAAC;IACjC,8EAA8E;IAC9E,CAAC,IAAI,EAAE,gBAAgB,GAAG,iBAAiB,CAAC;IAC5C,8EAA8E;IAC9E,CAAC,IAAI,EAAE,iBAAiB,GAAG,UAAU,CAAC;IACtC,8EAA8E;IAC9E,CAAC,IAAI,EAAE,iBAAiB,GAAG,mBAAmB,CAAC;IAC/C,qFAAqF;IACrF,CAAC,IAAI,EAAE,uBAAuB,GAAG,wBAAwB,CAAC;CAC3D;AAED,MAAM,MAAM,gBAAgB,GAAG,MAAM,GAAG;IACtC,IAAI,EAAE,MAAM,CAAC;CACd,CAAC"}
@@ -0,0 +1,4 @@
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT License.
3
+ export {};
4
+ //# sourceMappingURL=clientDefinitions.js.map