@xyo-network/api 2.111.2 → 3.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (628) hide show
  1. package/dist/neutral/index.d.ts +191 -7
  2. package/dist/neutral/index.mjs +1 -1
  3. package/dist/neutral/index.mjs.map +1 -1
  4. package/package.json +18 -36
  5. package/src/Diviner/LocationDiviner/LocationDivinerApi.ts +2 -1
  6. package/src/Diviner/LocationDiviner/LocationDivinerApiResponseTransformer.ts +1 -1
  7. package/xy.config.ts +12 -0
  8. package/dist/browser/Api/Api.d.cts +0 -12
  9. package/dist/browser/Api/Api.d.cts.map +0 -1
  10. package/dist/browser/Api/Api.d.mts +0 -12
  11. package/dist/browser/Api/Api.d.mts.map +0 -1
  12. package/dist/browser/Api/Api.d.ts +0 -12
  13. package/dist/browser/Api/Api.d.ts.map +0 -1
  14. package/dist/browser/Api/index.d.cts +0 -2
  15. package/dist/browser/Api/index.d.cts.map +0 -1
  16. package/dist/browser/Api/index.d.mts +0 -2
  17. package/dist/browser/Api/index.d.mts.map +0 -1
  18. package/dist/browser/Api/index.d.ts +0 -2
  19. package/dist/browser/Api/index.d.ts.map +0 -1
  20. package/dist/browser/Base.d.cts +0 -32
  21. package/dist/browser/Base.d.cts.map +0 -1
  22. package/dist/browser/Base.d.mts +0 -32
  23. package/dist/browser/Base.d.mts.map +0 -1
  24. package/dist/browser/Base.d.ts +0 -32
  25. package/dist/browser/Base.d.ts.map +0 -1
  26. package/dist/browser/Diviner/LocationDiviner/LocationDivinerApi.d.cts +0 -12
  27. package/dist/browser/Diviner/LocationDiviner/LocationDivinerApi.d.cts.map +0 -1
  28. package/dist/browser/Diviner/LocationDiviner/LocationDivinerApi.d.mts +0 -12
  29. package/dist/browser/Diviner/LocationDiviner/LocationDivinerApi.d.mts.map +0 -1
  30. package/dist/browser/Diviner/LocationDiviner/LocationDivinerApi.d.ts +0 -12
  31. package/dist/browser/Diviner/LocationDiviner/LocationDivinerApi.d.ts.map +0 -1
  32. package/dist/browser/Diviner/LocationDiviner/LocationDivinerApiResponseTransformer.d.cts +0 -4
  33. package/dist/browser/Diviner/LocationDiviner/LocationDivinerApiResponseTransformer.d.cts.map +0 -1
  34. package/dist/browser/Diviner/LocationDiviner/LocationDivinerApiResponseTransformer.d.mts +0 -4
  35. package/dist/browser/Diviner/LocationDiviner/LocationDivinerApiResponseTransformer.d.mts.map +0 -1
  36. package/dist/browser/Diviner/LocationDiviner/LocationDivinerApiResponseTransformer.d.ts +0 -4
  37. package/dist/browser/Diviner/LocationDiviner/LocationDivinerApiResponseTransformer.d.ts.map +0 -1
  38. package/dist/browser/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapPointProperties.d.cts +0 -5
  39. package/dist/browser/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapPointProperties.d.cts.map +0 -1
  40. package/dist/browser/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapPointProperties.d.mts +0 -5
  41. package/dist/browser/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapPointProperties.d.mts.map +0 -1
  42. package/dist/browser/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapPointProperties.d.ts +0 -5
  43. package/dist/browser/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapPointProperties.d.ts.map +0 -1
  44. package/dist/browser/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapQuery.d.cts +0 -12
  45. package/dist/browser/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapQuery.d.cts.map +0 -1
  46. package/dist/browser/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapQuery.d.mts +0 -12
  47. package/dist/browser/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapQuery.d.mts.map +0 -1
  48. package/dist/browser/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapQuery.d.ts +0 -12
  49. package/dist/browser/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapQuery.d.ts.map +0 -1
  50. package/dist/browser/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/index.d.cts +0 -3
  51. package/dist/browser/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/index.d.cts.map +0 -1
  52. package/dist/browser/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/index.d.mts +0 -3
  53. package/dist/browser/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/index.d.mts.map +0 -1
  54. package/dist/browser/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/index.d.ts +0 -3
  55. package/dist/browser/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/index.d.ts.map +0 -1
  56. package/dist/browser/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/LocationQuadkeyHeatmapQuery.d.cts +0 -12
  57. package/dist/browser/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/LocationQuadkeyHeatmapQuery.d.cts.map +0 -1
  58. package/dist/browser/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/LocationQuadkeyHeatmapQuery.d.mts +0 -12
  59. package/dist/browser/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/LocationQuadkeyHeatmapQuery.d.mts.map +0 -1
  60. package/dist/browser/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/LocationQuadkeyHeatmapQuery.d.ts +0 -12
  61. package/dist/browser/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/LocationQuadkeyHeatmapQuery.d.ts.map +0 -1
  62. package/dist/browser/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/index.d.cts +0 -2
  63. package/dist/browser/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/index.d.cts.map +0 -1
  64. package/dist/browser/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/index.d.mts +0 -2
  65. package/dist/browser/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/index.d.mts.map +0 -1
  66. package/dist/browser/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/index.d.ts +0 -2
  67. package/dist/browser/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/index.d.ts.map +0 -1
  68. package/dist/browser/Diviner/LocationDiviner/Queries/LocationQueryCreationRequest.d.cts +0 -18
  69. package/dist/browser/Diviner/LocationDiviner/Queries/LocationQueryCreationRequest.d.cts.map +0 -1
  70. package/dist/browser/Diviner/LocationDiviner/Queries/LocationQueryCreationRequest.d.mts +0 -18
  71. package/dist/browser/Diviner/LocationDiviner/Queries/LocationQueryCreationRequest.d.mts.map +0 -1
  72. package/dist/browser/Diviner/LocationDiviner/Queries/LocationQueryCreationRequest.d.ts +0 -18
  73. package/dist/browser/Diviner/LocationDiviner/Queries/LocationQueryCreationRequest.d.ts.map +0 -1
  74. package/dist/browser/Diviner/LocationDiviner/Queries/LocationQueryCreationResponse.d.cts +0 -5
  75. package/dist/browser/Diviner/LocationDiviner/Queries/LocationQueryCreationResponse.d.cts.map +0 -1
  76. package/dist/browser/Diviner/LocationDiviner/Queries/LocationQueryCreationResponse.d.mts +0 -5
  77. package/dist/browser/Diviner/LocationDiviner/Queries/LocationQueryCreationResponse.d.mts.map +0 -1
  78. package/dist/browser/Diviner/LocationDiviner/Queries/LocationQueryCreationResponse.d.ts +0 -5
  79. package/dist/browser/Diviner/LocationDiviner/Queries/LocationQueryCreationResponse.d.ts.map +0 -1
  80. package/dist/browser/Diviner/LocationDiviner/Queries/LocationQuerySchema.d.cts +0 -6
  81. package/dist/browser/Diviner/LocationDiviner/Queries/LocationQuerySchema.d.cts.map +0 -1
  82. package/dist/browser/Diviner/LocationDiviner/Queries/LocationQuerySchema.d.mts +0 -6
  83. package/dist/browser/Diviner/LocationDiviner/Queries/LocationQuerySchema.d.mts.map +0 -1
  84. package/dist/browser/Diviner/LocationDiviner/Queries/LocationQuerySchema.d.ts +0 -6
  85. package/dist/browser/Diviner/LocationDiviner/Queries/LocationQuerySchema.d.ts.map +0 -1
  86. package/dist/browser/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangePointProperties.d.cts +0 -8
  87. package/dist/browser/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangePointProperties.d.cts.map +0 -1
  88. package/dist/browser/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangePointProperties.d.mts +0 -8
  89. package/dist/browser/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangePointProperties.d.mts.map +0 -1
  90. package/dist/browser/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangePointProperties.d.ts +0 -8
  91. package/dist/browser/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangePointProperties.d.ts.map +0 -1
  92. package/dist/browser/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangeQuery.d.cts +0 -12
  93. package/dist/browser/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangeQuery.d.cts.map +0 -1
  94. package/dist/browser/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangeQuery.d.mts +0 -12
  95. package/dist/browser/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangeQuery.d.mts.map +0 -1
  96. package/dist/browser/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangeQuery.d.ts +0 -12
  97. package/dist/browser/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangeQuery.d.ts.map +0 -1
  98. package/dist/browser/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/index.d.cts +0 -3
  99. package/dist/browser/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/index.d.cts.map +0 -1
  100. package/dist/browser/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/index.d.mts +0 -3
  101. package/dist/browser/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/index.d.mts.map +0 -1
  102. package/dist/browser/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/index.d.ts +0 -3
  103. package/dist/browser/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/index.d.ts.map +0 -1
  104. package/dist/browser/Diviner/LocationDiviner/Queries/index.d.cts +0 -7
  105. package/dist/browser/Diviner/LocationDiviner/Queries/index.d.cts.map +0 -1
  106. package/dist/browser/Diviner/LocationDiviner/Queries/index.d.mts +0 -7
  107. package/dist/browser/Diviner/LocationDiviner/Queries/index.d.mts.map +0 -1
  108. package/dist/browser/Diviner/LocationDiviner/Queries/index.d.ts +0 -7
  109. package/dist/browser/Diviner/LocationDiviner/Queries/index.d.ts.map +0 -1
  110. package/dist/browser/Diviner/LocationDiviner/Witnesses/CurrentLocationWitness.d.cts +0 -13
  111. package/dist/browser/Diviner/LocationDiviner/Witnesses/CurrentLocationWitness.d.cts.map +0 -1
  112. package/dist/browser/Diviner/LocationDiviner/Witnesses/CurrentLocationWitness.d.mts +0 -13
  113. package/dist/browser/Diviner/LocationDiviner/Witnesses/CurrentLocationWitness.d.mts.map +0 -1
  114. package/dist/browser/Diviner/LocationDiviner/Witnesses/CurrentLocationWitness.d.ts +0 -13
  115. package/dist/browser/Diviner/LocationDiviner/Witnesses/CurrentLocationWitness.d.ts.map +0 -1
  116. package/dist/browser/Diviner/LocationDiviner/Witnesses/LocationWitness.d.cts +0 -21
  117. package/dist/browser/Diviner/LocationDiviner/Witnesses/LocationWitness.d.cts.map +0 -1
  118. package/dist/browser/Diviner/LocationDiviner/Witnesses/LocationWitness.d.mts +0 -21
  119. package/dist/browser/Diviner/LocationDiviner/Witnesses/LocationWitness.d.mts.map +0 -1
  120. package/dist/browser/Diviner/LocationDiviner/Witnesses/LocationWitness.d.ts +0 -21
  121. package/dist/browser/Diviner/LocationDiviner/Witnesses/LocationWitness.d.ts.map +0 -1
  122. package/dist/browser/Diviner/LocationDiviner/Witnesses/index.d.cts +0 -3
  123. package/dist/browser/Diviner/LocationDiviner/Witnesses/index.d.cts.map +0 -1
  124. package/dist/browser/Diviner/LocationDiviner/Witnesses/index.d.mts +0 -3
  125. package/dist/browser/Diviner/LocationDiviner/Witnesses/index.d.mts.map +0 -1
  126. package/dist/browser/Diviner/LocationDiviner/Witnesses/index.d.ts +0 -3
  127. package/dist/browser/Diviner/LocationDiviner/Witnesses/index.d.ts.map +0 -1
  128. package/dist/browser/Diviner/LocationDiviner/index.d.cts +0 -5
  129. package/dist/browser/Diviner/LocationDiviner/index.d.cts.map +0 -1
  130. package/dist/browser/Diviner/LocationDiviner/index.d.mts +0 -5
  131. package/dist/browser/Diviner/LocationDiviner/index.d.mts.map +0 -1
  132. package/dist/browser/Diviner/LocationDiviner/index.d.ts +0 -5
  133. package/dist/browser/Diviner/LocationDiviner/index.d.ts.map +0 -1
  134. package/dist/browser/Diviner/LocationDiviner/models.d.cts +0 -5
  135. package/dist/browser/Diviner/LocationDiviner/models.d.cts.map +0 -1
  136. package/dist/browser/Diviner/LocationDiviner/models.d.mts +0 -5
  137. package/dist/browser/Diviner/LocationDiviner/models.d.mts.map +0 -1
  138. package/dist/browser/Diviner/LocationDiviner/models.d.ts +0 -5
  139. package/dist/browser/Diviner/LocationDiviner/models.d.ts.map +0 -1
  140. package/dist/browser/Diviner/RemoteDivinerConfig.d.cts +0 -10
  141. package/dist/browser/Diviner/RemoteDivinerConfig.d.cts.map +0 -1
  142. package/dist/browser/Diviner/RemoteDivinerConfig.d.mts +0 -10
  143. package/dist/browser/Diviner/RemoteDivinerConfig.d.mts.map +0 -1
  144. package/dist/browser/Diviner/RemoteDivinerConfig.d.ts +0 -10
  145. package/dist/browser/Diviner/RemoteDivinerConfig.d.ts.map +0 -1
  146. package/dist/browser/Diviner/RemoteDivinerError.d.cts +0 -6
  147. package/dist/browser/Diviner/RemoteDivinerError.d.cts.map +0 -1
  148. package/dist/browser/Diviner/RemoteDivinerError.d.mts +0 -6
  149. package/dist/browser/Diviner/RemoteDivinerError.d.mts.map +0 -1
  150. package/dist/browser/Diviner/RemoteDivinerError.d.ts +0 -6
  151. package/dist/browser/Diviner/RemoteDivinerError.d.ts.map +0 -1
  152. package/dist/browser/Diviner/index.d.cts +0 -3
  153. package/dist/browser/Diviner/index.d.cts.map +0 -1
  154. package/dist/browser/Diviner/index.d.mts +0 -3
  155. package/dist/browser/Diviner/index.d.mts.map +0 -1
  156. package/dist/browser/Diviner/index.d.ts +0 -3
  157. package/dist/browser/Diviner/index.d.ts.map +0 -1
  158. package/dist/browser/Simple.d.cts +0 -22
  159. package/dist/browser/Simple.d.cts.map +0 -1
  160. package/dist/browser/Simple.d.mts +0 -22
  161. package/dist/browser/Simple.d.mts.map +0 -1
  162. package/dist/browser/Simple.d.ts +0 -22
  163. package/dist/browser/Simple.d.ts.map +0 -1
  164. package/dist/browser/Test/index.d.cts +0 -3
  165. package/dist/browser/Test/index.d.cts.map +0 -1
  166. package/dist/browser/Test/index.d.mts +0 -3
  167. package/dist/browser/Test/index.d.mts.map +0 -1
  168. package/dist/browser/Test/index.d.ts +0 -3
  169. package/dist/browser/Test/index.d.ts.map +0 -1
  170. package/dist/browser/Test/testBoundWitness.d.cts +0 -4
  171. package/dist/browser/Test/testBoundWitness.d.cts.map +0 -1
  172. package/dist/browser/Test/testBoundWitness.d.mts +0 -4
  173. package/dist/browser/Test/testBoundWitness.d.mts.map +0 -1
  174. package/dist/browser/Test/testBoundWitness.d.ts +0 -4
  175. package/dist/browser/Test/testBoundWitness.d.ts.map +0 -1
  176. package/dist/browser/Test/testPayload.d.cts +0 -6
  177. package/dist/browser/Test/testPayload.d.cts.map +0 -1
  178. package/dist/browser/Test/testPayload.d.mts +0 -6
  179. package/dist/browser/Test/testPayload.d.mts.map +0 -1
  180. package/dist/browser/Test/testPayload.d.ts +0 -6
  181. package/dist/browser/Test/testPayload.d.ts.map +0 -1
  182. package/dist/browser/WithArchive.d.cts +0 -4
  183. package/dist/browser/WithArchive.d.cts.map +0 -1
  184. package/dist/browser/WithArchive.d.mts +0 -4
  185. package/dist/browser/WithArchive.d.mts.map +0 -1
  186. package/dist/browser/WithArchive.d.ts +0 -4
  187. package/dist/browser/WithArchive.d.ts.map +0 -1
  188. package/dist/browser/index.cjs +0 -290
  189. package/dist/browser/index.cjs.map +0 -1
  190. package/dist/browser/index.d.cts +0 -7
  191. package/dist/browser/index.d.cts.map +0 -1
  192. package/dist/browser/index.d.mts +0 -7
  193. package/dist/browser/index.d.mts.map +0 -1
  194. package/dist/browser/index.d.ts +0 -7
  195. package/dist/browser/index.d.ts.map +0 -1
  196. package/dist/browser/index.mjs +0 -267
  197. package/dist/browser/index.mjs.map +0 -1
  198. package/dist/browser/models/ArchivePath.d.cts +0 -4
  199. package/dist/browser/models/ArchivePath.d.cts.map +0 -1
  200. package/dist/browser/models/ArchivePath.d.mts +0 -4
  201. package/dist/browser/models/ArchivePath.d.mts.map +0 -1
  202. package/dist/browser/models/ArchivePath.d.ts +0 -4
  203. package/dist/browser/models/ArchivePath.d.ts.map +0 -1
  204. package/dist/browser/models/index.d.cts +0 -2
  205. package/dist/browser/models/index.d.cts.map +0 -1
  206. package/dist/browser/models/index.d.mts +0 -2
  207. package/dist/browser/models/index.d.mts.map +0 -1
  208. package/dist/browser/models/index.d.ts +0 -2
  209. package/dist/browser/models/index.d.ts.map +0 -1
  210. package/dist/browser/objToQuery.d.cts +0 -2
  211. package/dist/browser/objToQuery.d.cts.map +0 -1
  212. package/dist/browser/objToQuery.d.mts +0 -2
  213. package/dist/browser/objToQuery.d.mts.map +0 -1
  214. package/dist/browser/objToQuery.d.ts +0 -2
  215. package/dist/browser/objToQuery.d.ts.map +0 -1
  216. package/dist/neutral/Api/Api.d.cts +0 -12
  217. package/dist/neutral/Api/Api.d.cts.map +0 -1
  218. package/dist/neutral/Api/Api.d.mts +0 -12
  219. package/dist/neutral/Api/Api.d.mts.map +0 -1
  220. package/dist/neutral/Api/Api.d.ts +0 -12
  221. package/dist/neutral/Api/Api.d.ts.map +0 -1
  222. package/dist/neutral/Api/index.d.cts +0 -2
  223. package/dist/neutral/Api/index.d.cts.map +0 -1
  224. package/dist/neutral/Api/index.d.mts +0 -2
  225. package/dist/neutral/Api/index.d.mts.map +0 -1
  226. package/dist/neutral/Api/index.d.ts +0 -2
  227. package/dist/neutral/Api/index.d.ts.map +0 -1
  228. package/dist/neutral/Base.d.cts +0 -32
  229. package/dist/neutral/Base.d.cts.map +0 -1
  230. package/dist/neutral/Base.d.mts +0 -32
  231. package/dist/neutral/Base.d.mts.map +0 -1
  232. package/dist/neutral/Base.d.ts +0 -32
  233. package/dist/neutral/Base.d.ts.map +0 -1
  234. package/dist/neutral/Diviner/LocationDiviner/LocationDivinerApi.d.cts +0 -12
  235. package/dist/neutral/Diviner/LocationDiviner/LocationDivinerApi.d.cts.map +0 -1
  236. package/dist/neutral/Diviner/LocationDiviner/LocationDivinerApi.d.mts +0 -12
  237. package/dist/neutral/Diviner/LocationDiviner/LocationDivinerApi.d.mts.map +0 -1
  238. package/dist/neutral/Diviner/LocationDiviner/LocationDivinerApi.d.ts +0 -12
  239. package/dist/neutral/Diviner/LocationDiviner/LocationDivinerApi.d.ts.map +0 -1
  240. package/dist/neutral/Diviner/LocationDiviner/LocationDivinerApiResponseTransformer.d.cts +0 -4
  241. package/dist/neutral/Diviner/LocationDiviner/LocationDivinerApiResponseTransformer.d.cts.map +0 -1
  242. package/dist/neutral/Diviner/LocationDiviner/LocationDivinerApiResponseTransformer.d.mts +0 -4
  243. package/dist/neutral/Diviner/LocationDiviner/LocationDivinerApiResponseTransformer.d.mts.map +0 -1
  244. package/dist/neutral/Diviner/LocationDiviner/LocationDivinerApiResponseTransformer.d.ts +0 -4
  245. package/dist/neutral/Diviner/LocationDiviner/LocationDivinerApiResponseTransformer.d.ts.map +0 -1
  246. package/dist/neutral/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapPointProperties.d.cts +0 -5
  247. package/dist/neutral/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapPointProperties.d.cts.map +0 -1
  248. package/dist/neutral/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapPointProperties.d.mts +0 -5
  249. package/dist/neutral/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapPointProperties.d.mts.map +0 -1
  250. package/dist/neutral/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapPointProperties.d.ts +0 -5
  251. package/dist/neutral/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapPointProperties.d.ts.map +0 -1
  252. package/dist/neutral/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapQuery.d.cts +0 -12
  253. package/dist/neutral/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapQuery.d.cts.map +0 -1
  254. package/dist/neutral/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapQuery.d.mts +0 -12
  255. package/dist/neutral/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapQuery.d.mts.map +0 -1
  256. package/dist/neutral/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapQuery.d.ts +0 -12
  257. package/dist/neutral/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapQuery.d.ts.map +0 -1
  258. package/dist/neutral/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/index.d.cts +0 -3
  259. package/dist/neutral/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/index.d.cts.map +0 -1
  260. package/dist/neutral/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/index.d.mts +0 -3
  261. package/dist/neutral/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/index.d.mts.map +0 -1
  262. package/dist/neutral/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/index.d.ts +0 -3
  263. package/dist/neutral/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/index.d.ts.map +0 -1
  264. package/dist/neutral/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/LocationQuadkeyHeatmapQuery.d.cts +0 -12
  265. package/dist/neutral/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/LocationQuadkeyHeatmapQuery.d.cts.map +0 -1
  266. package/dist/neutral/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/LocationQuadkeyHeatmapQuery.d.mts +0 -12
  267. package/dist/neutral/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/LocationQuadkeyHeatmapQuery.d.mts.map +0 -1
  268. package/dist/neutral/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/LocationQuadkeyHeatmapQuery.d.ts +0 -12
  269. package/dist/neutral/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/LocationQuadkeyHeatmapQuery.d.ts.map +0 -1
  270. package/dist/neutral/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/index.d.cts +0 -2
  271. package/dist/neutral/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/index.d.cts.map +0 -1
  272. package/dist/neutral/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/index.d.mts +0 -2
  273. package/dist/neutral/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/index.d.mts.map +0 -1
  274. package/dist/neutral/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/index.d.ts +0 -2
  275. package/dist/neutral/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/index.d.ts.map +0 -1
  276. package/dist/neutral/Diviner/LocationDiviner/Queries/LocationQueryCreationRequest.d.cts +0 -18
  277. package/dist/neutral/Diviner/LocationDiviner/Queries/LocationQueryCreationRequest.d.cts.map +0 -1
  278. package/dist/neutral/Diviner/LocationDiviner/Queries/LocationQueryCreationRequest.d.mts +0 -18
  279. package/dist/neutral/Diviner/LocationDiviner/Queries/LocationQueryCreationRequest.d.mts.map +0 -1
  280. package/dist/neutral/Diviner/LocationDiviner/Queries/LocationQueryCreationRequest.d.ts +0 -18
  281. package/dist/neutral/Diviner/LocationDiviner/Queries/LocationQueryCreationRequest.d.ts.map +0 -1
  282. package/dist/neutral/Diviner/LocationDiviner/Queries/LocationQueryCreationResponse.d.cts +0 -5
  283. package/dist/neutral/Diviner/LocationDiviner/Queries/LocationQueryCreationResponse.d.cts.map +0 -1
  284. package/dist/neutral/Diviner/LocationDiviner/Queries/LocationQueryCreationResponse.d.mts +0 -5
  285. package/dist/neutral/Diviner/LocationDiviner/Queries/LocationQueryCreationResponse.d.mts.map +0 -1
  286. package/dist/neutral/Diviner/LocationDiviner/Queries/LocationQueryCreationResponse.d.ts +0 -5
  287. package/dist/neutral/Diviner/LocationDiviner/Queries/LocationQueryCreationResponse.d.ts.map +0 -1
  288. package/dist/neutral/Diviner/LocationDiviner/Queries/LocationQuerySchema.d.cts +0 -6
  289. package/dist/neutral/Diviner/LocationDiviner/Queries/LocationQuerySchema.d.cts.map +0 -1
  290. package/dist/neutral/Diviner/LocationDiviner/Queries/LocationQuerySchema.d.mts +0 -6
  291. package/dist/neutral/Diviner/LocationDiviner/Queries/LocationQuerySchema.d.mts.map +0 -1
  292. package/dist/neutral/Diviner/LocationDiviner/Queries/LocationQuerySchema.d.ts +0 -6
  293. package/dist/neutral/Diviner/LocationDiviner/Queries/LocationQuerySchema.d.ts.map +0 -1
  294. package/dist/neutral/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangePointProperties.d.cts +0 -8
  295. package/dist/neutral/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangePointProperties.d.cts.map +0 -1
  296. package/dist/neutral/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangePointProperties.d.mts +0 -8
  297. package/dist/neutral/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangePointProperties.d.mts.map +0 -1
  298. package/dist/neutral/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangePointProperties.d.ts +0 -8
  299. package/dist/neutral/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangePointProperties.d.ts.map +0 -1
  300. package/dist/neutral/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangeQuery.d.cts +0 -12
  301. package/dist/neutral/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangeQuery.d.cts.map +0 -1
  302. package/dist/neutral/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangeQuery.d.mts +0 -12
  303. package/dist/neutral/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangeQuery.d.mts.map +0 -1
  304. package/dist/neutral/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangeQuery.d.ts +0 -12
  305. package/dist/neutral/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangeQuery.d.ts.map +0 -1
  306. package/dist/neutral/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/index.d.cts +0 -3
  307. package/dist/neutral/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/index.d.cts.map +0 -1
  308. package/dist/neutral/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/index.d.mts +0 -3
  309. package/dist/neutral/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/index.d.mts.map +0 -1
  310. package/dist/neutral/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/index.d.ts +0 -3
  311. package/dist/neutral/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/index.d.ts.map +0 -1
  312. package/dist/neutral/Diviner/LocationDiviner/Queries/index.d.cts +0 -7
  313. package/dist/neutral/Diviner/LocationDiviner/Queries/index.d.cts.map +0 -1
  314. package/dist/neutral/Diviner/LocationDiviner/Queries/index.d.mts +0 -7
  315. package/dist/neutral/Diviner/LocationDiviner/Queries/index.d.mts.map +0 -1
  316. package/dist/neutral/Diviner/LocationDiviner/Queries/index.d.ts +0 -7
  317. package/dist/neutral/Diviner/LocationDiviner/Queries/index.d.ts.map +0 -1
  318. package/dist/neutral/Diviner/LocationDiviner/Witnesses/CurrentLocationWitness.d.cts +0 -13
  319. package/dist/neutral/Diviner/LocationDiviner/Witnesses/CurrentLocationWitness.d.cts.map +0 -1
  320. package/dist/neutral/Diviner/LocationDiviner/Witnesses/CurrentLocationWitness.d.mts +0 -13
  321. package/dist/neutral/Diviner/LocationDiviner/Witnesses/CurrentLocationWitness.d.mts.map +0 -1
  322. package/dist/neutral/Diviner/LocationDiviner/Witnesses/CurrentLocationWitness.d.ts +0 -13
  323. package/dist/neutral/Diviner/LocationDiviner/Witnesses/CurrentLocationWitness.d.ts.map +0 -1
  324. package/dist/neutral/Diviner/LocationDiviner/Witnesses/LocationWitness.d.cts +0 -21
  325. package/dist/neutral/Diviner/LocationDiviner/Witnesses/LocationWitness.d.cts.map +0 -1
  326. package/dist/neutral/Diviner/LocationDiviner/Witnesses/LocationWitness.d.mts +0 -21
  327. package/dist/neutral/Diviner/LocationDiviner/Witnesses/LocationWitness.d.mts.map +0 -1
  328. package/dist/neutral/Diviner/LocationDiviner/Witnesses/LocationWitness.d.ts +0 -21
  329. package/dist/neutral/Diviner/LocationDiviner/Witnesses/LocationWitness.d.ts.map +0 -1
  330. package/dist/neutral/Diviner/LocationDiviner/Witnesses/index.d.cts +0 -3
  331. package/dist/neutral/Diviner/LocationDiviner/Witnesses/index.d.cts.map +0 -1
  332. package/dist/neutral/Diviner/LocationDiviner/Witnesses/index.d.mts +0 -3
  333. package/dist/neutral/Diviner/LocationDiviner/Witnesses/index.d.mts.map +0 -1
  334. package/dist/neutral/Diviner/LocationDiviner/Witnesses/index.d.ts +0 -3
  335. package/dist/neutral/Diviner/LocationDiviner/Witnesses/index.d.ts.map +0 -1
  336. package/dist/neutral/Diviner/LocationDiviner/index.d.cts +0 -5
  337. package/dist/neutral/Diviner/LocationDiviner/index.d.cts.map +0 -1
  338. package/dist/neutral/Diviner/LocationDiviner/index.d.mts +0 -5
  339. package/dist/neutral/Diviner/LocationDiviner/index.d.mts.map +0 -1
  340. package/dist/neutral/Diviner/LocationDiviner/index.d.ts +0 -5
  341. package/dist/neutral/Diviner/LocationDiviner/index.d.ts.map +0 -1
  342. package/dist/neutral/Diviner/LocationDiviner/models.d.cts +0 -5
  343. package/dist/neutral/Diviner/LocationDiviner/models.d.cts.map +0 -1
  344. package/dist/neutral/Diviner/LocationDiviner/models.d.mts +0 -5
  345. package/dist/neutral/Diviner/LocationDiviner/models.d.mts.map +0 -1
  346. package/dist/neutral/Diviner/LocationDiviner/models.d.ts +0 -5
  347. package/dist/neutral/Diviner/LocationDiviner/models.d.ts.map +0 -1
  348. package/dist/neutral/Diviner/RemoteDivinerConfig.d.cts +0 -10
  349. package/dist/neutral/Diviner/RemoteDivinerConfig.d.cts.map +0 -1
  350. package/dist/neutral/Diviner/RemoteDivinerConfig.d.mts +0 -10
  351. package/dist/neutral/Diviner/RemoteDivinerConfig.d.mts.map +0 -1
  352. package/dist/neutral/Diviner/RemoteDivinerConfig.d.ts +0 -10
  353. package/dist/neutral/Diviner/RemoteDivinerConfig.d.ts.map +0 -1
  354. package/dist/neutral/Diviner/RemoteDivinerError.d.cts +0 -6
  355. package/dist/neutral/Diviner/RemoteDivinerError.d.cts.map +0 -1
  356. package/dist/neutral/Diviner/RemoteDivinerError.d.mts +0 -6
  357. package/dist/neutral/Diviner/RemoteDivinerError.d.mts.map +0 -1
  358. package/dist/neutral/Diviner/RemoteDivinerError.d.ts +0 -6
  359. package/dist/neutral/Diviner/RemoteDivinerError.d.ts.map +0 -1
  360. package/dist/neutral/Diviner/index.d.cts +0 -3
  361. package/dist/neutral/Diviner/index.d.cts.map +0 -1
  362. package/dist/neutral/Diviner/index.d.mts +0 -3
  363. package/dist/neutral/Diviner/index.d.mts.map +0 -1
  364. package/dist/neutral/Diviner/index.d.ts +0 -3
  365. package/dist/neutral/Diviner/index.d.ts.map +0 -1
  366. package/dist/neutral/Simple.d.cts +0 -22
  367. package/dist/neutral/Simple.d.cts.map +0 -1
  368. package/dist/neutral/Simple.d.mts +0 -22
  369. package/dist/neutral/Simple.d.mts.map +0 -1
  370. package/dist/neutral/Simple.d.ts +0 -22
  371. package/dist/neutral/Simple.d.ts.map +0 -1
  372. package/dist/neutral/Test/index.d.cts +0 -3
  373. package/dist/neutral/Test/index.d.cts.map +0 -1
  374. package/dist/neutral/Test/index.d.mts +0 -3
  375. package/dist/neutral/Test/index.d.mts.map +0 -1
  376. package/dist/neutral/Test/index.d.ts +0 -3
  377. package/dist/neutral/Test/index.d.ts.map +0 -1
  378. package/dist/neutral/Test/testBoundWitness.d.cts +0 -4
  379. package/dist/neutral/Test/testBoundWitness.d.cts.map +0 -1
  380. package/dist/neutral/Test/testBoundWitness.d.mts +0 -4
  381. package/dist/neutral/Test/testBoundWitness.d.mts.map +0 -1
  382. package/dist/neutral/Test/testBoundWitness.d.ts +0 -4
  383. package/dist/neutral/Test/testBoundWitness.d.ts.map +0 -1
  384. package/dist/neutral/Test/testPayload.d.cts +0 -6
  385. package/dist/neutral/Test/testPayload.d.cts.map +0 -1
  386. package/dist/neutral/Test/testPayload.d.mts +0 -6
  387. package/dist/neutral/Test/testPayload.d.mts.map +0 -1
  388. package/dist/neutral/Test/testPayload.d.ts +0 -6
  389. package/dist/neutral/Test/testPayload.d.ts.map +0 -1
  390. package/dist/neutral/WithArchive.d.cts +0 -4
  391. package/dist/neutral/WithArchive.d.cts.map +0 -1
  392. package/dist/neutral/WithArchive.d.mts +0 -4
  393. package/dist/neutral/WithArchive.d.mts.map +0 -1
  394. package/dist/neutral/WithArchive.d.ts +0 -4
  395. package/dist/neutral/WithArchive.d.ts.map +0 -1
  396. package/dist/neutral/index.cjs +0 -290
  397. package/dist/neutral/index.cjs.map +0 -1
  398. package/dist/neutral/index.d.cts +0 -7
  399. package/dist/neutral/index.d.cts.map +0 -1
  400. package/dist/neutral/index.d.mts +0 -7
  401. package/dist/neutral/index.d.mts.map +0 -1
  402. package/dist/neutral/index.d.ts.map +0 -1
  403. package/dist/neutral/models/ArchivePath.d.cts +0 -4
  404. package/dist/neutral/models/ArchivePath.d.cts.map +0 -1
  405. package/dist/neutral/models/ArchivePath.d.mts +0 -4
  406. package/dist/neutral/models/ArchivePath.d.mts.map +0 -1
  407. package/dist/neutral/models/ArchivePath.d.ts +0 -4
  408. package/dist/neutral/models/ArchivePath.d.ts.map +0 -1
  409. package/dist/neutral/models/index.d.cts +0 -2
  410. package/dist/neutral/models/index.d.cts.map +0 -1
  411. package/dist/neutral/models/index.d.mts +0 -2
  412. package/dist/neutral/models/index.d.mts.map +0 -1
  413. package/dist/neutral/models/index.d.ts +0 -2
  414. package/dist/neutral/models/index.d.ts.map +0 -1
  415. package/dist/neutral/objToQuery.d.cts +0 -2
  416. package/dist/neutral/objToQuery.d.cts.map +0 -1
  417. package/dist/neutral/objToQuery.d.mts +0 -2
  418. package/dist/neutral/objToQuery.d.mts.map +0 -1
  419. package/dist/neutral/objToQuery.d.ts +0 -2
  420. package/dist/neutral/objToQuery.d.ts.map +0 -1
  421. package/dist/node/Api/Api.d.cts +0 -12
  422. package/dist/node/Api/Api.d.cts.map +0 -1
  423. package/dist/node/Api/Api.d.mts +0 -12
  424. package/dist/node/Api/Api.d.mts.map +0 -1
  425. package/dist/node/Api/Api.d.ts +0 -12
  426. package/dist/node/Api/Api.d.ts.map +0 -1
  427. package/dist/node/Api/index.d.cts +0 -2
  428. package/dist/node/Api/index.d.cts.map +0 -1
  429. package/dist/node/Api/index.d.mts +0 -2
  430. package/dist/node/Api/index.d.mts.map +0 -1
  431. package/dist/node/Api/index.d.ts +0 -2
  432. package/dist/node/Api/index.d.ts.map +0 -1
  433. package/dist/node/Base.d.cts +0 -32
  434. package/dist/node/Base.d.cts.map +0 -1
  435. package/dist/node/Base.d.mts +0 -32
  436. package/dist/node/Base.d.mts.map +0 -1
  437. package/dist/node/Base.d.ts +0 -32
  438. package/dist/node/Base.d.ts.map +0 -1
  439. package/dist/node/Diviner/LocationDiviner/LocationDivinerApi.d.cts +0 -12
  440. package/dist/node/Diviner/LocationDiviner/LocationDivinerApi.d.cts.map +0 -1
  441. package/dist/node/Diviner/LocationDiviner/LocationDivinerApi.d.mts +0 -12
  442. package/dist/node/Diviner/LocationDiviner/LocationDivinerApi.d.mts.map +0 -1
  443. package/dist/node/Diviner/LocationDiviner/LocationDivinerApi.d.ts +0 -12
  444. package/dist/node/Diviner/LocationDiviner/LocationDivinerApi.d.ts.map +0 -1
  445. package/dist/node/Diviner/LocationDiviner/LocationDivinerApiResponseTransformer.d.cts +0 -4
  446. package/dist/node/Diviner/LocationDiviner/LocationDivinerApiResponseTransformer.d.cts.map +0 -1
  447. package/dist/node/Diviner/LocationDiviner/LocationDivinerApiResponseTransformer.d.mts +0 -4
  448. package/dist/node/Diviner/LocationDiviner/LocationDivinerApiResponseTransformer.d.mts.map +0 -1
  449. package/dist/node/Diviner/LocationDiviner/LocationDivinerApiResponseTransformer.d.ts +0 -4
  450. package/dist/node/Diviner/LocationDiviner/LocationDivinerApiResponseTransformer.d.ts.map +0 -1
  451. package/dist/node/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapPointProperties.d.cts +0 -5
  452. package/dist/node/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapPointProperties.d.cts.map +0 -1
  453. package/dist/node/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapPointProperties.d.mts +0 -5
  454. package/dist/node/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapPointProperties.d.mts.map +0 -1
  455. package/dist/node/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapPointProperties.d.ts +0 -5
  456. package/dist/node/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapPointProperties.d.ts.map +0 -1
  457. package/dist/node/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapQuery.d.cts +0 -12
  458. package/dist/node/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapQuery.d.cts.map +0 -1
  459. package/dist/node/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapQuery.d.mts +0 -12
  460. package/dist/node/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapQuery.d.mts.map +0 -1
  461. package/dist/node/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapQuery.d.ts +0 -12
  462. package/dist/node/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapQuery.d.ts.map +0 -1
  463. package/dist/node/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/index.d.cts +0 -3
  464. package/dist/node/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/index.d.cts.map +0 -1
  465. package/dist/node/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/index.d.mts +0 -3
  466. package/dist/node/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/index.d.mts.map +0 -1
  467. package/dist/node/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/index.d.ts +0 -3
  468. package/dist/node/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/index.d.ts.map +0 -1
  469. package/dist/node/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/LocationQuadkeyHeatmapQuery.d.cts +0 -12
  470. package/dist/node/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/LocationQuadkeyHeatmapQuery.d.cts.map +0 -1
  471. package/dist/node/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/LocationQuadkeyHeatmapQuery.d.mts +0 -12
  472. package/dist/node/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/LocationQuadkeyHeatmapQuery.d.mts.map +0 -1
  473. package/dist/node/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/LocationQuadkeyHeatmapQuery.d.ts +0 -12
  474. package/dist/node/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/LocationQuadkeyHeatmapQuery.d.ts.map +0 -1
  475. package/dist/node/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/index.d.cts +0 -2
  476. package/dist/node/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/index.d.cts.map +0 -1
  477. package/dist/node/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/index.d.mts +0 -2
  478. package/dist/node/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/index.d.mts.map +0 -1
  479. package/dist/node/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/index.d.ts +0 -2
  480. package/dist/node/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/index.d.ts.map +0 -1
  481. package/dist/node/Diviner/LocationDiviner/Queries/LocationQueryCreationRequest.d.cts +0 -18
  482. package/dist/node/Diviner/LocationDiviner/Queries/LocationQueryCreationRequest.d.cts.map +0 -1
  483. package/dist/node/Diviner/LocationDiviner/Queries/LocationQueryCreationRequest.d.mts +0 -18
  484. package/dist/node/Diviner/LocationDiviner/Queries/LocationQueryCreationRequest.d.mts.map +0 -1
  485. package/dist/node/Diviner/LocationDiviner/Queries/LocationQueryCreationRequest.d.ts +0 -18
  486. package/dist/node/Diviner/LocationDiviner/Queries/LocationQueryCreationRequest.d.ts.map +0 -1
  487. package/dist/node/Diviner/LocationDiviner/Queries/LocationQueryCreationResponse.d.cts +0 -5
  488. package/dist/node/Diviner/LocationDiviner/Queries/LocationQueryCreationResponse.d.cts.map +0 -1
  489. package/dist/node/Diviner/LocationDiviner/Queries/LocationQueryCreationResponse.d.mts +0 -5
  490. package/dist/node/Diviner/LocationDiviner/Queries/LocationQueryCreationResponse.d.mts.map +0 -1
  491. package/dist/node/Diviner/LocationDiviner/Queries/LocationQueryCreationResponse.d.ts +0 -5
  492. package/dist/node/Diviner/LocationDiviner/Queries/LocationQueryCreationResponse.d.ts.map +0 -1
  493. package/dist/node/Diviner/LocationDiviner/Queries/LocationQuerySchema.d.cts +0 -6
  494. package/dist/node/Diviner/LocationDiviner/Queries/LocationQuerySchema.d.cts.map +0 -1
  495. package/dist/node/Diviner/LocationDiviner/Queries/LocationQuerySchema.d.mts +0 -6
  496. package/dist/node/Diviner/LocationDiviner/Queries/LocationQuerySchema.d.mts.map +0 -1
  497. package/dist/node/Diviner/LocationDiviner/Queries/LocationQuerySchema.d.ts +0 -6
  498. package/dist/node/Diviner/LocationDiviner/Queries/LocationQuerySchema.d.ts.map +0 -1
  499. package/dist/node/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangePointProperties.d.cts +0 -8
  500. package/dist/node/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangePointProperties.d.cts.map +0 -1
  501. package/dist/node/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangePointProperties.d.mts +0 -8
  502. package/dist/node/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangePointProperties.d.mts.map +0 -1
  503. package/dist/node/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangePointProperties.d.ts +0 -8
  504. package/dist/node/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangePointProperties.d.ts.map +0 -1
  505. package/dist/node/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangeQuery.d.cts +0 -12
  506. package/dist/node/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangeQuery.d.cts.map +0 -1
  507. package/dist/node/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangeQuery.d.mts +0 -12
  508. package/dist/node/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangeQuery.d.mts.map +0 -1
  509. package/dist/node/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangeQuery.d.ts +0 -12
  510. package/dist/node/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangeQuery.d.ts.map +0 -1
  511. package/dist/node/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/index.d.cts +0 -3
  512. package/dist/node/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/index.d.cts.map +0 -1
  513. package/dist/node/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/index.d.mts +0 -3
  514. package/dist/node/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/index.d.mts.map +0 -1
  515. package/dist/node/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/index.d.ts +0 -3
  516. package/dist/node/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/index.d.ts.map +0 -1
  517. package/dist/node/Diviner/LocationDiviner/Queries/index.d.cts +0 -7
  518. package/dist/node/Diviner/LocationDiviner/Queries/index.d.cts.map +0 -1
  519. package/dist/node/Diviner/LocationDiviner/Queries/index.d.mts +0 -7
  520. package/dist/node/Diviner/LocationDiviner/Queries/index.d.mts.map +0 -1
  521. package/dist/node/Diviner/LocationDiviner/Queries/index.d.ts +0 -7
  522. package/dist/node/Diviner/LocationDiviner/Queries/index.d.ts.map +0 -1
  523. package/dist/node/Diviner/LocationDiviner/Witnesses/CurrentLocationWitness.d.cts +0 -13
  524. package/dist/node/Diviner/LocationDiviner/Witnesses/CurrentLocationWitness.d.cts.map +0 -1
  525. package/dist/node/Diviner/LocationDiviner/Witnesses/CurrentLocationWitness.d.mts +0 -13
  526. package/dist/node/Diviner/LocationDiviner/Witnesses/CurrentLocationWitness.d.mts.map +0 -1
  527. package/dist/node/Diviner/LocationDiviner/Witnesses/CurrentLocationWitness.d.ts +0 -13
  528. package/dist/node/Diviner/LocationDiviner/Witnesses/CurrentLocationWitness.d.ts.map +0 -1
  529. package/dist/node/Diviner/LocationDiviner/Witnesses/LocationWitness.d.cts +0 -21
  530. package/dist/node/Diviner/LocationDiviner/Witnesses/LocationWitness.d.cts.map +0 -1
  531. package/dist/node/Diviner/LocationDiviner/Witnesses/LocationWitness.d.mts +0 -21
  532. package/dist/node/Diviner/LocationDiviner/Witnesses/LocationWitness.d.mts.map +0 -1
  533. package/dist/node/Diviner/LocationDiviner/Witnesses/LocationWitness.d.ts +0 -21
  534. package/dist/node/Diviner/LocationDiviner/Witnesses/LocationWitness.d.ts.map +0 -1
  535. package/dist/node/Diviner/LocationDiviner/Witnesses/index.d.cts +0 -3
  536. package/dist/node/Diviner/LocationDiviner/Witnesses/index.d.cts.map +0 -1
  537. package/dist/node/Diviner/LocationDiviner/Witnesses/index.d.mts +0 -3
  538. package/dist/node/Diviner/LocationDiviner/Witnesses/index.d.mts.map +0 -1
  539. package/dist/node/Diviner/LocationDiviner/Witnesses/index.d.ts +0 -3
  540. package/dist/node/Diviner/LocationDiviner/Witnesses/index.d.ts.map +0 -1
  541. package/dist/node/Diviner/LocationDiviner/index.d.cts +0 -5
  542. package/dist/node/Diviner/LocationDiviner/index.d.cts.map +0 -1
  543. package/dist/node/Diviner/LocationDiviner/index.d.mts +0 -5
  544. package/dist/node/Diviner/LocationDiviner/index.d.mts.map +0 -1
  545. package/dist/node/Diviner/LocationDiviner/index.d.ts +0 -5
  546. package/dist/node/Diviner/LocationDiviner/index.d.ts.map +0 -1
  547. package/dist/node/Diviner/LocationDiviner/models.d.cts +0 -5
  548. package/dist/node/Diviner/LocationDiviner/models.d.cts.map +0 -1
  549. package/dist/node/Diviner/LocationDiviner/models.d.mts +0 -5
  550. package/dist/node/Diviner/LocationDiviner/models.d.mts.map +0 -1
  551. package/dist/node/Diviner/LocationDiviner/models.d.ts +0 -5
  552. package/dist/node/Diviner/LocationDiviner/models.d.ts.map +0 -1
  553. package/dist/node/Diviner/RemoteDivinerConfig.d.cts +0 -10
  554. package/dist/node/Diviner/RemoteDivinerConfig.d.cts.map +0 -1
  555. package/dist/node/Diviner/RemoteDivinerConfig.d.mts +0 -10
  556. package/dist/node/Diviner/RemoteDivinerConfig.d.mts.map +0 -1
  557. package/dist/node/Diviner/RemoteDivinerConfig.d.ts +0 -10
  558. package/dist/node/Diviner/RemoteDivinerConfig.d.ts.map +0 -1
  559. package/dist/node/Diviner/RemoteDivinerError.d.cts +0 -6
  560. package/dist/node/Diviner/RemoteDivinerError.d.cts.map +0 -1
  561. package/dist/node/Diviner/RemoteDivinerError.d.mts +0 -6
  562. package/dist/node/Diviner/RemoteDivinerError.d.mts.map +0 -1
  563. package/dist/node/Diviner/RemoteDivinerError.d.ts +0 -6
  564. package/dist/node/Diviner/RemoteDivinerError.d.ts.map +0 -1
  565. package/dist/node/Diviner/index.d.cts +0 -3
  566. package/dist/node/Diviner/index.d.cts.map +0 -1
  567. package/dist/node/Diviner/index.d.mts +0 -3
  568. package/dist/node/Diviner/index.d.mts.map +0 -1
  569. package/dist/node/Diviner/index.d.ts +0 -3
  570. package/dist/node/Diviner/index.d.ts.map +0 -1
  571. package/dist/node/Simple.d.cts +0 -22
  572. package/dist/node/Simple.d.cts.map +0 -1
  573. package/dist/node/Simple.d.mts +0 -22
  574. package/dist/node/Simple.d.mts.map +0 -1
  575. package/dist/node/Simple.d.ts +0 -22
  576. package/dist/node/Simple.d.ts.map +0 -1
  577. package/dist/node/Test/index.d.cts +0 -3
  578. package/dist/node/Test/index.d.cts.map +0 -1
  579. package/dist/node/Test/index.d.mts +0 -3
  580. package/dist/node/Test/index.d.mts.map +0 -1
  581. package/dist/node/Test/index.d.ts +0 -3
  582. package/dist/node/Test/index.d.ts.map +0 -1
  583. package/dist/node/Test/testBoundWitness.d.cts +0 -4
  584. package/dist/node/Test/testBoundWitness.d.cts.map +0 -1
  585. package/dist/node/Test/testBoundWitness.d.mts +0 -4
  586. package/dist/node/Test/testBoundWitness.d.mts.map +0 -1
  587. package/dist/node/Test/testBoundWitness.d.ts +0 -4
  588. package/dist/node/Test/testBoundWitness.d.ts.map +0 -1
  589. package/dist/node/Test/testPayload.d.cts +0 -6
  590. package/dist/node/Test/testPayload.d.cts.map +0 -1
  591. package/dist/node/Test/testPayload.d.mts +0 -6
  592. package/dist/node/Test/testPayload.d.mts.map +0 -1
  593. package/dist/node/Test/testPayload.d.ts +0 -6
  594. package/dist/node/Test/testPayload.d.ts.map +0 -1
  595. package/dist/node/WithArchive.d.cts +0 -4
  596. package/dist/node/WithArchive.d.cts.map +0 -1
  597. package/dist/node/WithArchive.d.mts +0 -4
  598. package/dist/node/WithArchive.d.mts.map +0 -1
  599. package/dist/node/WithArchive.d.ts +0 -4
  600. package/dist/node/WithArchive.d.ts.map +0 -1
  601. package/dist/node/index.cjs +0 -314
  602. package/dist/node/index.cjs.map +0 -1
  603. package/dist/node/index.d.cts +0 -7
  604. package/dist/node/index.d.cts.map +0 -1
  605. package/dist/node/index.d.mts +0 -7
  606. package/dist/node/index.d.mts.map +0 -1
  607. package/dist/node/index.d.ts +0 -7
  608. package/dist/node/index.d.ts.map +0 -1
  609. package/dist/node/index.mjs +0 -271
  610. package/dist/node/index.mjs.map +0 -1
  611. package/dist/node/models/ArchivePath.d.cts +0 -4
  612. package/dist/node/models/ArchivePath.d.cts.map +0 -1
  613. package/dist/node/models/ArchivePath.d.mts +0 -4
  614. package/dist/node/models/ArchivePath.d.mts.map +0 -1
  615. package/dist/node/models/ArchivePath.d.ts +0 -4
  616. package/dist/node/models/ArchivePath.d.ts.map +0 -1
  617. package/dist/node/models/index.d.cts +0 -2
  618. package/dist/node/models/index.d.cts.map +0 -1
  619. package/dist/node/models/index.d.mts +0 -2
  620. package/dist/node/models/index.d.mts.map +0 -1
  621. package/dist/node/models/index.d.ts +0 -2
  622. package/dist/node/models/index.d.ts.map +0 -1
  623. package/dist/node/objToQuery.d.cts +0 -2
  624. package/dist/node/objToQuery.d.cts.map +0 -1
  625. package/dist/node/objToQuery.d.mts +0 -2
  626. package/dist/node/objToQuery.d.mts.map +0 -1
  627. package/dist/node/objToQuery.d.ts +0 -2
  628. package/dist/node/objToQuery.d.ts.map +0 -1
@@ -1,314 +0,0 @@
1
- "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __export = (target, all) => {
7
- for (var name in all)
8
- __defProp(target, name, { get: all[name], enumerable: true });
9
- };
10
- var __copyProps = (to, from, except, desc) => {
11
- if (from && typeof from === "object" || typeof from === "function") {
12
- for (let key of __getOwnPropNames(from))
13
- if (!__hasOwnProp.call(to, key) && key !== except)
14
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
- }
16
- return to;
17
- };
18
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
-
20
- // src/index.ts
21
- var src_exports = {};
22
- __export(src_exports, {
23
- ApiBase: () => ApiBase,
24
- ApiSimple: () => ApiSimple,
25
- ArchivistApi: () => ArchivistApi,
26
- CurrentLocationWitnessSchema: () => CurrentLocationWitnessSchema,
27
- LocationDivinerApi: () => LocationDivinerApi,
28
- LocationTimeRangeAnswerSchema: () => LocationTimeRangeAnswerSchema,
29
- LocationTimeRangeQuerySchema: () => LocationTimeRangeQuerySchema,
30
- LocationWitnessSchema: () => LocationWitnessSchema,
31
- RemoteDivinerConfigSchema: () => RemoteDivinerConfigSchema,
32
- isLocationHeatmapQuery: () => isLocationHeatmapQuery,
33
- isLocationQuadkeyHeatmapQuery: () => isLocationQuadkeyHeatmapQuery,
34
- isLocationTimeRangeQuery: () => isLocationTimeRangeQuery,
35
- isSupportedLocationQuerySchema: () => isSupportedLocationQuerySchema,
36
- locationHeatmapAnswerSchema: () => locationHeatmapAnswerSchema,
37
- locationHeatmapQuerySchema: () => locationHeatmapQuerySchema,
38
- locationQuadkeyHeatmapAnswerSchema: () => locationQuadkeyHeatmapAnswerSchema,
39
- locationQuadkeyHeatmapQuerySchema: () => locationQuadkeyHeatmapQuerySchema
40
- });
41
- module.exports = __toCommonJS(src_exports);
42
-
43
- // src/Api/Api.ts
44
- var import_huri = require("@xyo-network/huri");
45
-
46
- // src/Base.ts
47
- var import_axios = require("@xylabs/axios");
48
- var ApiBase = class _ApiBase {
49
- config;
50
- axios;
51
- constructor(config) {
52
- this.config = config;
53
- this.axios = new import_axios.AxiosJson({ ...this.config, headers: this.headers });
54
- }
55
- get authenticated() {
56
- return !!this.config.apiKey || !!this.config.jwtToken;
57
- }
58
- get headers() {
59
- const headers = {};
60
- if (this.config.jwtToken) {
61
- headers.Authorization = `Bearer ${this.config.jwtToken}`;
62
- }
63
- if (this.config.apiKey) {
64
- headers["x-api-key"] = this.config.apiKey;
65
- }
66
- return headers;
67
- }
68
- get query() {
69
- return this.config.query ?? "";
70
- }
71
- get root() {
72
- return this.config.root ?? "/";
73
- }
74
- static resolveResponse(result) {
75
- var _a;
76
- return [(_a = result == null ? void 0 : result.data) == null ? void 0 : _a.data, result == null ? void 0 : result.data, result];
77
- }
78
- static shapeResponse(response, responseType) {
79
- const resolvedResponse = _ApiBase.resolveResponse(response);
80
- return responseType === "tuple" ? resolvedResponse : resolvedResponse[0];
81
- }
82
- onError(error, depth = 0) {
83
- var _a, _b, _c, _d;
84
- (_b = (_a = this.config.reportableParent) == null ? void 0 : _a.onError) == null ? void 0 : _b.call(_a, error, depth + 1);
85
- (_d = (_c = this.config).onError) == null ? void 0 : _d.call(_c, error, depth);
86
- }
87
- onFailure(response, depth = 0) {
88
- var _a, _b, _c, _d;
89
- (_b = (_a = this.config.reportableParent) == null ? void 0 : _a.onFailure) == null ? void 0 : _b.call(_a, response, depth + 1);
90
- (_d = (_c = this.config).onFailure) == null ? void 0 : _d.call(_c, response, depth);
91
- }
92
- onSuccess(response, depth = 0) {
93
- var _a, _b, _c, _d;
94
- (_b = (_a = this.config.reportableParent) == null ? void 0 : _a.onSuccess) == null ? void 0 : _b.call(_a, response, depth + 1);
95
- (_d = (_c = this.config).onSuccess) == null ? void 0 : _d.call(_c, response, depth);
96
- }
97
- async deleteEndpoint(endPoint = "", responseType) {
98
- const response = await this.monitorResponse(async () => {
99
- return await this.axios.delete(`${this.resolveRoot()}${endPoint}${this.query}`);
100
- });
101
- return _ApiBase.shapeResponse(response, responseType);
102
- }
103
- async getEndpoint(endPoint = "", responseType) {
104
- const response = await this.monitorResponse(async () => {
105
- return await this.axios.get(`${this.resolveRoot()}${endPoint}${this.query}`);
106
- });
107
- return _ApiBase.shapeResponse(response, responseType);
108
- }
109
- handleMonitorResponseError(error, trapAxiosException) {
110
- if (!error.isError) {
111
- throw error;
112
- }
113
- if (trapAxiosException) {
114
- error.response ? this.onFailure(error.response) : this.onError(error);
115
- if (this.config.throwFailure) {
116
- throw error;
117
- }
118
- return error.response;
119
- }
120
- }
121
- async monitorResponse(closure) {
122
- let trapAxiosException = true;
123
- try {
124
- const response = await closure();
125
- trapAxiosException = false;
126
- response.status < 300 ? this.onSuccess(response) : this.onFailure(response);
127
- return response;
128
- } catch (error) {
129
- this.handleMonitorResponseError(error, trapAxiosException);
130
- }
131
- }
132
- async postEndpoint(endPoint = "", data, responseType) {
133
- const response = await this.monitorResponse(async () => {
134
- return await this.axios.post(`${this.resolveRoot()}${endPoint}${this.query}`, data);
135
- });
136
- return _ApiBase.shapeResponse(response, responseType);
137
- }
138
- async putEndpoint(endPoint = "", data, responseType) {
139
- const response = await this.monitorResponse(async () => {
140
- return await this.axios.put(`${this.resolveRoot()}${endPoint}${this.query}`, data);
141
- });
142
- return _ApiBase.shapeResponse(response, responseType);
143
- }
144
- resolveRoot() {
145
- return `${this.config.apiDomain}${this.root}`;
146
- }
147
- };
148
-
149
- // src/objToQuery.ts
150
- var objToQuery = (obj) => {
151
- return `?${Object.entries(obj).map(([key, value]) => {
152
- return `${key}=${value}`;
153
- }).filter((value) => value !== void 0).join("&")}`;
154
- };
155
-
156
- // src/Simple.ts
157
- var ApiSimple = class extends ApiBase {
158
- async delete(responseType) {
159
- switch (responseType) {
160
- case "tuple": {
161
- return await this.deleteEndpoint(void 0, "tuple");
162
- }
163
- default: {
164
- return await this.deleteEndpoint();
165
- }
166
- }
167
- }
168
- async find(query = {}, responseType) {
169
- switch (responseType) {
170
- case "tuple": {
171
- return await this.getEndpoint(objToQuery(query), "tuple");
172
- }
173
- default: {
174
- return await this.getEndpoint(objToQuery(query));
175
- }
176
- }
177
- }
178
- async get(responseType) {
179
- switch (responseType) {
180
- case "tuple": {
181
- return await this.getEndpoint(void 0, "tuple");
182
- }
183
- default: {
184
- return await this.getEndpoint();
185
- }
186
- }
187
- }
188
- async post(data, responseType) {
189
- switch (responseType) {
190
- case "tuple": {
191
- return await this.postEndpoint(void 0, data, "tuple");
192
- }
193
- default: {
194
- return await this.postEndpoint(void 0, data);
195
- }
196
- }
197
- }
198
- async put(data, responseType) {
199
- switch (responseType) {
200
- case "tuple": {
201
- return await this.putEndpoint(void 0, data, "tuple");
202
- }
203
- default: {
204
- return await this.putEndpoint(void 0, data);
205
- }
206
- }
207
- }
208
- };
209
-
210
- // src/Api/Api.ts
211
- var ArchivistApi = class extends ApiSimple {
212
- huri(huri) {
213
- const huriObj = typeof huri === "string" ? new import_huri.Huri(huri) : huri;
214
- return new ApiSimple({
215
- ...this.config,
216
- root: `${this.root}${huriObj.href}/`
217
- });
218
- }
219
- };
220
-
221
- // src/Diviner/LocationDiviner/LocationDivinerApi.ts
222
- var import_axios3 = require("@xylabs/axios");
223
-
224
- // src/Diviner/LocationDiviner/LocationDivinerApiResponseTransformer.ts
225
- var import_axios2 = require("@xylabs/axios");
226
- var locationDivinerApiResponseTransformer = (data, _headers) => {
227
- return data.data;
228
- };
229
- var getLocationDivinerApiResponseTransformer = (axiosInstance = import_axios2.axios) => {
230
- return axiosInstance.defaults.transformResponse ? [
231
- ...Array.isArray(axiosInstance.defaults.transformResponse) ? axiosInstance.defaults.transformResponse : [axiosInstance.defaults.transformResponse],
232
- locationDivinerApiResponseTransformer
233
- ] : [locationDivinerApiResponseTransformer];
234
- };
235
-
236
- // src/Diviner/LocationDiviner/LocationDivinerApi.ts
237
- var LocationDivinerApi = class {
238
- config;
239
- constructor(config) {
240
- this.config = config;
241
- }
242
- get axiosRequestConfig() {
243
- return {
244
- transformResponse: getLocationDivinerApiResponseTransformer()
245
- };
246
- }
247
- async getLocationQuery(hash) {
248
- return (await import_axios3.axios.get(`${this.config.apiDomain}/location/query/${hash}`, this.axiosRequestConfig)).data;
249
- }
250
- async postLocationQuery(request) {
251
- return (await import_axios3.axios.post(`${this.config.apiDomain}/location/query`, { ...request }, this.axiosRequestConfig)).data;
252
- }
253
- };
254
-
255
- // src/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapQuery.ts
256
- var locationHeatmapQuerySchema = "network.xyo.location.heatmap.query";
257
- var locationHeatmapAnswerSchema = "network.xyo.location.heatmap.answer";
258
- var isLocationHeatmapQuery = (query) => {
259
- return query && (query == null ? void 0 : query.schema) === locationHeatmapQuerySchema;
260
- };
261
-
262
- // src/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/LocationQuadkeyHeatmapQuery.ts
263
- var locationQuadkeyHeatmapQuerySchema = "network.xyo.location.heatmap.quadkey.query";
264
- var locationQuadkeyHeatmapAnswerSchema = "network.xyo.location.heatmap.quadkey.answer";
265
- var isLocationQuadkeyHeatmapQuery = (query) => {
266
- return query && (query == null ? void 0 : query.schema) === locationQuadkeyHeatmapQuerySchema;
267
- };
268
-
269
- // src/Diviner/LocationDiviner/Queries/LocationQuerySchema.ts
270
- var locationQuerySchemas = {
271
- "network.xyo.location.heatmap.quadkey.query": true,
272
- "network.xyo.location.heatmap.query": true,
273
- "network.xyo.location.range.query": true
274
- };
275
- var isSupportedLocationQuerySchema = (schema) => {
276
- return locationQuerySchemas[schema] || false;
277
- };
278
-
279
- // src/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangeQuery.ts
280
- var LocationTimeRangeQuerySchema = "network.xyo.location.range.query";
281
- var LocationTimeRangeAnswerSchema = "network.xyo.location.range.answer";
282
- var isLocationTimeRangeQuery = (query) => {
283
- return query && (query == null ? void 0 : query.schema) === LocationTimeRangeAnswerSchema;
284
- };
285
-
286
- // src/Diviner/LocationDiviner/Witnesses/CurrentLocationWitness.ts
287
- var CurrentLocationWitnessSchema = "co.coinapp.currentlocationwitness";
288
-
289
- // src/Diviner/LocationDiviner/Witnesses/LocationWitness.ts
290
- var LocationWitnessSchema = "network.xyo.location";
291
-
292
- // src/Diviner/RemoteDivinerConfig.ts
293
- var RemoteDivinerConfigSchema = "network.xyo.diviner.remote.config";
294
- // Annotate the CommonJS export names for ESM import in node:
295
- 0 && (module.exports = {
296
- ApiBase,
297
- ApiSimple,
298
- ArchivistApi,
299
- CurrentLocationWitnessSchema,
300
- LocationDivinerApi,
301
- LocationTimeRangeAnswerSchema,
302
- LocationTimeRangeQuerySchema,
303
- LocationWitnessSchema,
304
- RemoteDivinerConfigSchema,
305
- isLocationHeatmapQuery,
306
- isLocationQuadkeyHeatmapQuery,
307
- isLocationTimeRangeQuery,
308
- isSupportedLocationQuerySchema,
309
- locationHeatmapAnswerSchema,
310
- locationHeatmapQuerySchema,
311
- locationQuadkeyHeatmapAnswerSchema,
312
- locationQuadkeyHeatmapQuerySchema
313
- });
314
- //# sourceMappingURL=index.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../src/index.ts","../../src/Api/Api.ts","../../src/Base.ts","../../src/objToQuery.ts","../../src/Simple.ts","../../src/Diviner/LocationDiviner/LocationDivinerApi.ts","../../src/Diviner/LocationDiviner/LocationDivinerApiResponseTransformer.ts","../../src/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapQuery.ts","../../src/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/LocationQuadkeyHeatmapQuery.ts","../../src/Diviner/LocationDiviner/Queries/LocationQuerySchema.ts","../../src/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangeQuery.ts","../../src/Diviner/LocationDiviner/Witnesses/CurrentLocationWitness.ts","../../src/Diviner/LocationDiviner/Witnesses/LocationWitness.ts","../../src/Diviner/RemoteDivinerConfig.ts"],"sourcesContent":["export * from './Api/index.ts'\nexport * from './Base.ts'\nexport * from './Diviner/index.ts'\nexport * from './models/index.ts'\nexport * from './Simple.ts'\nexport * from './WithArchive.ts'\n","import { ApiConfig } from '@xyo-network/api-models'\nimport { Huri } from '@xyo-network/huri'\nimport { Payload } from '@xyo-network/payload-model'\n\nimport { ApiSimple } from '../Simple.ts'\n\nexport class ArchivistApi<C extends ApiConfig = ApiConfig> extends ApiSimple<Payload[], C> {\n huri(huri: Huri | string) {\n const huriObj = typeof huri === 'string' ? new Huri(huri) : huri\n return new ApiSimple<Payload>({\n ...this.config,\n root: `${this.root}${huriObj.href}/`,\n })\n }\n}\n","import { AxiosJson } from '@xylabs/axios'\nimport {\n ApiConfig,\n ApiEnvelope,\n ApiError,\n ApiReportable,\n ApiResponse,\n ApiResponseBody,\n ApiResponseTuple,\n ApiResponseTupleOrBody,\n ApiResponseType,\n} from '@xyo-network/api-models'\n\nexport class ApiBase<C extends ApiConfig = ApiConfig> implements ApiReportable {\n readonly config: C\n protected axios: AxiosJson\n\n constructor(config: C) {\n this.config = config\n this.axios = new AxiosJson({ ...this.config, headers: this.headers })\n }\n\n get authenticated() {\n return !!this.config.apiKey || !!this.config.jwtToken\n }\n\n protected get headers(): Record<string, string> {\n const headers: Record<string, string> = {}\n if (this.config.jwtToken) {\n headers.Authorization = `Bearer ${this.config.jwtToken}`\n }\n if (this.config.apiKey) {\n headers['x-api-key'] = this.config.apiKey\n }\n return headers\n }\n\n protected get query() {\n return this.config.query ?? ''\n }\n\n protected get root() {\n return this.config.root ?? '/'\n }\n\n private static resolveResponse<T>(result?: ApiResponse<ApiEnvelope<T>>) {\n return [result?.data?.data, result?.data, result] as ApiResponseTuple<T>\n }\n\n private static shapeResponse<T = unknown>(response: ApiResponse<ApiEnvelope<T>> | undefined, responseType?: ApiResponseType) {\n const resolvedResponse = ApiBase.resolveResponse(response)\n return responseType === 'tuple' ? resolvedResponse : resolvedResponse[0]\n }\n\n onError(error: ApiError, depth = 0) {\n this.config.reportableParent?.onError?.(error, depth + 1)\n this.config.onError?.(error, depth)\n }\n\n onFailure(response: ApiResponse, depth = 0) {\n this.config.reportableParent?.onFailure?.(response, depth + 1)\n this.config.onFailure?.(response, depth)\n }\n\n onSuccess(response: ApiResponse, depth = 0) {\n this.config.reportableParent?.onSuccess?.(response, depth + 1)\n this.config.onSuccess?.(response, depth)\n }\n\n protected async deleteEndpoint<T = unknown>(endPoint?: string): Promise<ApiResponseBody<T>>\n protected async deleteEndpoint<T = unknown>(endPoint?: string, responseType?: 'body'): Promise<ApiResponseBody<T>>\n protected async deleteEndpoint<T = unknown>(endPoint?: string, responseType?: 'tuple'): Promise<ApiResponseTuple<T>>\n protected async deleteEndpoint<T = unknown>(endPoint = '', responseType?: ApiResponseType): Promise<ApiResponseTupleOrBody<T>> {\n const response = await this.monitorResponse<T>(async () => {\n return await this.axios.delete<ApiEnvelope<T>, ApiResponse<ApiEnvelope<T>>>(`${this.resolveRoot()}${endPoint}${this.query}`)\n })\n return ApiBase.shapeResponse<T>(response, responseType)\n }\n\n protected async getEndpoint<T = unknown>(endPoint?: string): Promise<ApiResponseBody<T>>\n protected async getEndpoint<T = unknown>(endPoint?: string, responseType?: 'body'): Promise<ApiResponseBody<T>>\n protected async getEndpoint<T = unknown>(endPoint?: string, responseType?: 'tuple'): Promise<ApiResponseTuple<T>>\n protected async getEndpoint<T = unknown>(endPoint = '', responseType?: ApiResponseType): Promise<ApiResponseTupleOrBody<T>> {\n const response = await this.monitorResponse<T>(async () => {\n return await this.axios.get<ApiEnvelope<T>, ApiResponse<ApiEnvelope<T>>>(`${this.resolveRoot()}${endPoint}${this.query}`)\n })\n return ApiBase.shapeResponse<T>(response, responseType)\n }\n\n protected handleMonitorResponseError<T>(error: ApiError, trapAxiosException: boolean) {\n if (!error.isError) {\n throw error\n }\n\n if (trapAxiosException) {\n // eslint-disable-next-line @typescript-eslint/no-unused-expressions\n error.response ? this.onFailure(error.response) : this.onError(error)\n if (this.config.throwFailure) {\n throw error\n }\n return error.response as ApiResponse<ApiEnvelope<T>>\n }\n }\n\n protected async monitorResponse<T>(closure: () => Promise<ApiResponse<ApiEnvelope<T>>>) {\n // we use this to prevent accidental catching on exceptions in callbacks\n let trapAxiosException = true\n try {\n const response = await closure()\n trapAxiosException = false\n\n // eslint-disable-next-line @typescript-eslint/no-unused-expressions\n response.status < 300 ? this.onSuccess(response) : this.onFailure(response)\n\n return response\n } catch (error) {\n this.handleMonitorResponseError(error as ApiError, trapAxiosException)\n }\n }\n\n protected async postEndpoint<T = unknown, D = unknown>(endPoint?: string, data?: D): Promise<ApiResponseBody<T>>\n protected async postEndpoint<T = unknown, D = unknown>(endPoint?: string, data?: D, responseType?: 'body'): Promise<ApiResponseBody<T>>\n protected async postEndpoint<T = unknown, D = unknown>(endPoint?: string, data?: D, responseType?: 'tuple'): Promise<ApiResponseTuple<T>>\n protected async postEndpoint<T = unknown, D = unknown>(\n endPoint = '',\n data?: D,\n responseType?: ApiResponseType,\n ): Promise<ApiResponseTupleOrBody<T>> {\n const response = await this.monitorResponse<T>(async () => {\n return await this.axios.post<ApiEnvelope<T>, ApiResponse<ApiEnvelope<T>, D>, D>(`${this.resolveRoot()}${endPoint}${this.query}`, data)\n })\n return ApiBase.shapeResponse<T>(response, responseType)\n }\n\n protected async putEndpoint<T = unknown, D = unknown>(endPoint?: string, data?: D): Promise<ApiResponseBody<T>>\n protected async putEndpoint<T = unknown, D = unknown>(endPoint?: string, data?: D, responseType?: 'body'): Promise<ApiResponseBody<T>>\n protected async putEndpoint<T = unknown, D = unknown>(endPoint?: string, data?: D, responseType?: 'tuple'): Promise<ApiResponseTuple<T>>\n protected async putEndpoint<T = unknown, D = unknown>(endPoint = '', data?: D, responseType?: ApiResponseType): Promise<ApiResponseTupleOrBody<T>> {\n const response = await this.monitorResponse<T>(async () => {\n return await this.axios.put<ApiEnvelope<T>, ApiResponse<ApiEnvelope<T>, D>, D>(`${this.resolveRoot()}${endPoint}${this.query}`, data)\n })\n return ApiBase.shapeResponse<T>(response, responseType)\n }\n\n private resolveRoot() {\n return `${this.config.apiDomain}${this.root}`\n }\n}\n","export const objToQuery = (obj: Record<string, string | number | undefined>) => {\n return `?${Object.entries(obj)\n .map(([key, value]) => {\n return `${key}=${value}`\n })\n .filter(value => value !== undefined)\n .join('&')}`\n}\n","import { ApiConfig, ApiResponseBody, ApiResponseTuple, ApiResponseTupleOrBody, ApiResponseType } from '@xyo-network/api-models'\nimport { Payload, PayloadFindFilter } from '@xyo-network/payload-model'\n\nimport { ApiBase } from './Base.ts'\nimport { objToQuery } from './objToQuery.ts'\n\nexport type ApiSimpleQuery = PayloadFindFilter\n\nexport class ApiSimple<T = Payload, D = T, Q extends ApiSimpleQuery = ApiSimpleQuery, C extends ApiConfig = ApiConfig> extends ApiBase<C> {\n async delete(): Promise<ApiResponseBody<T>>\n async delete(responseType?: 'body'): Promise<ApiResponseBody<T>>\n async delete(responseType?: 'tuple'): Promise<ApiResponseTuple<T>>\n async delete(responseType?: ApiResponseType): Promise<ApiResponseTupleOrBody<T>> {\n switch (responseType) {\n case 'tuple': {\n return await this.deleteEndpoint(undefined, 'tuple')\n }\n default: {\n return await this.deleteEndpoint()\n }\n }\n }\n\n async find(query?: Q): Promise<ApiResponseBody<T>>\n async find(query?: Q, responseType?: 'body'): Promise<ApiResponseBody<T>>\n async find(query?: Q, responseType?: 'tuple'): Promise<ApiResponseTuple<T>>\n async find(query = {}, responseType?: ApiResponseType): Promise<ApiResponseTupleOrBody<T>> {\n switch (responseType) {\n case 'tuple': {\n return await this.getEndpoint(objToQuery(query), 'tuple')\n }\n default: {\n return await this.getEndpoint(objToQuery(query))\n }\n }\n }\n\n async get(): Promise<ApiResponseBody<T>>\n async get(responseType?: 'body'): Promise<ApiResponseBody<T>>\n async get(responseType?: 'tuple'): Promise<ApiResponseTuple<T>>\n async get(responseType?: ApiResponseType): Promise<ApiResponseTupleOrBody<T>> {\n switch (responseType) {\n case 'tuple': {\n return await this.getEndpoint(undefined, 'tuple')\n }\n default: {\n return await this.getEndpoint()\n }\n }\n }\n\n async post(data?: D): Promise<ApiResponseBody<T>>\n async post(data?: D, responseType?: 'body'): Promise<ApiResponseBody<T>>\n async post(data?: D, responseType?: 'tuple'): Promise<ApiResponseTuple<T>>\n async post(data?: D, responseType?: ApiResponseType): Promise<ApiResponseTupleOrBody<T>> {\n switch (responseType) {\n case 'tuple': {\n return await this.postEndpoint(undefined, data, 'tuple')\n }\n default: {\n return await this.postEndpoint(undefined, data)\n }\n }\n }\n\n async put(data?: D): Promise<ApiResponseBody<T>>\n async put(data?: D, responseType?: 'body'): Promise<ApiResponseBody<T>>\n async put(data?: D, responseType?: 'tuple'): Promise<ApiResponseTuple<T>>\n async put(data?: D, responseType?: ApiResponseType): Promise<ApiResponseTupleOrBody<T>> {\n switch (responseType) {\n case 'tuple': {\n return await this.putEndpoint(undefined, data, 'tuple')\n }\n default: {\n return await this.putEndpoint(undefined, data)\n }\n }\n }\n}\n","import { axios, RawAxiosRequestConfig } from '@xylabs/axios'\nimport { ApiConfig } from '@xyo-network/api-models'\n\nimport { getLocationDivinerApiResponseTransformer } from './LocationDivinerApiResponseTransformer.ts'\nimport { GetLocationQueryResponse } from './models.ts'\nimport { LocationQueryCreationResponse, SupportedLocationQueryCreationRequest } from './Queries/index.ts'\n\nclass LocationDivinerApi {\n config: ApiConfig\n constructor(config: ApiConfig) {\n this.config = config\n }\n\n private get axiosRequestConfig(): RawAxiosRequestConfig {\n return {\n transformResponse: getLocationDivinerApiResponseTransformer(),\n }\n }\n\n async getLocationQuery(hash: string) {\n return (await axios.get<GetLocationQueryResponse>(`${this.config.apiDomain}/location/query/${hash}`, this.axiosRequestConfig)).data\n }\n\n async postLocationQuery(request: SupportedLocationQueryCreationRequest) {\n return (await axios.post<LocationQueryCreationResponse>(`${this.config.apiDomain}/location/query`, { ...request }, this.axiosRequestConfig)).data\n }\n}\n\nexport { LocationDivinerApi }\n","import { axios, AxiosResponseTransformer } from '@xylabs/axios'\n\nexport const locationDivinerApiResponseTransformer: AxiosResponseTransformer = (data, _headers) => {\n return data.data\n}\n\n/**\n * Gets the response transformers for the LocationDiviner API. Done as a method instead of a property\n * to allow detection of dynamically added response transformers.\n * @param axiosInstance The axios instance (defaults to the global instance if none provided)\n * @returns the response transformers for the LocationDiviner API\n */\nexport const getLocationDivinerApiResponseTransformer = (axiosInstance = axios): AxiosResponseTransformer[] => {\n // If there's any existing response transforms preserve them and\n // append our response transform, otherwise just return ours\n return axiosInstance.defaults.transformResponse\n ? [\n ...(Array.isArray(axiosInstance.defaults.transformResponse)\n ? axiosInstance.defaults.transformResponse\n : [axiosInstance.defaults.transformResponse]),\n locationDivinerApiResponseTransformer,\n ]\n : [locationDivinerApiResponseTransformer]\n}\n","import { LocationWitnessSchema } from '../../Witnesses/index.ts'\n\nexport type LocationHeatmapQuerySchema = 'network.xyo.location.heatmap.query'\nexport const locationHeatmapQuerySchema: LocationHeatmapQuerySchema = 'network.xyo.location.heatmap.query'\n\nexport type LocationHeatmapAnswerSchema = 'network.xyo.location.heatmap.answer'\nexport const locationHeatmapAnswerSchema: LocationHeatmapAnswerSchema = 'network.xyo.location.heatmap.answer'\n\nexport type LocationHeatmapQuery = {\n schema: LocationWitnessSchema\n startTime?: string\n stopTime?: string\n}\n\nexport const isLocationHeatmapQuery = (query: Record<string, unknown>): query is LocationHeatmapQuery => {\n return query && query?.schema === locationHeatmapQuerySchema\n}\n","import { LocationWitnessSchema } from '../../Witnesses/index.ts'\n\nexport type LocationQuadkeyHeatmapQuerySchema = 'network.xyo.location.heatmap.quadkey.query'\nexport const locationQuadkeyHeatmapQuerySchema: LocationQuadkeyHeatmapQuerySchema = 'network.xyo.location.heatmap.quadkey.query'\nexport type LocationQuadkeyHeatmapAnswerSchema = 'network.xyo.location.heatmap.quadkey.answer'\nexport const locationQuadkeyHeatmapAnswerSchema: LocationQuadkeyHeatmapAnswerSchema = 'network.xyo.location.heatmap.quadkey.answer'\nexport type LocationQuadkeyHeatmapQuery = {\n schema: LocationWitnessSchema\n startTime?: string\n stopTime?: string\n}\n\nexport const isLocationQuadkeyHeatmapQuery = (query: Record<string, unknown>): query is LocationQuadkeyHeatmapQuery => {\n return query && query?.schema === locationQuadkeyHeatmapQuerySchema\n}\n","import { LocationHeatmapQuerySchema } from './LocationHeatmapQuery/index.ts'\nimport { LocationQuadkeyHeatmapQuerySchema } from './LocationQuadkeyHeatmapQuery/index.ts'\nimport { LocationTimeRangeQuerySchema } from './LocationTimeRangeQuery/index.ts'\n\nexport type LocationQuerySchema = LocationQuadkeyHeatmapQuerySchema | LocationHeatmapQuerySchema | LocationTimeRangeQuerySchema\n\nconst locationQuerySchemas: Record<LocationQuerySchema, true> = {\n 'network.xyo.location.heatmap.quadkey.query': true,\n 'network.xyo.location.heatmap.query': true,\n 'network.xyo.location.range.query': true,\n}\n\nexport const isSupportedLocationQuerySchema = (schema: string): schema is LocationQuerySchema => {\n return locationQuerySchemas[schema as LocationQuerySchema] || false\n}\n","import { LocationWitnessSchema } from '../../Witnesses/index.ts'\n\nexport type LocationTimeRangeQuerySchema = 'network.xyo.location.range.query'\nexport const LocationTimeRangeQuerySchema: LocationTimeRangeQuerySchema = 'network.xyo.location.range.query'\n\nexport type LocationTimeRangeAnswerSchema = 'network.xyo.location.range.answer'\nexport const LocationTimeRangeAnswerSchema: LocationTimeRangeAnswerSchema = 'network.xyo.location.range.answer'\n\nexport type LocationTimeRangeQuery = {\n schema: LocationWitnessSchema\n startTime?: string\n stopTime?: string\n\n // TODO: Bounding rectangle, etc.\n}\n\nexport const isLocationTimeRangeQuery = (query: Record<string, unknown>): query is LocationTimeRangeQuery => {\n return query && query?.schema === LocationTimeRangeAnswerSchema\n}\n","import { Payload } from '@xyo-network/payload-model'\n\nexport type CurrentLocationWitnessSchema = 'co.coinapp.currentlocationwitness'\nexport const CurrentLocationWitnessSchema: CurrentLocationWitnessSchema = 'co.coinapp.currentlocationwitness'\n\nexport type CurrentLocationWitnessPayload = Payload<{\n altitudeMeters: number\n directionDegrees: number\n latitude: number\n longitude: number\n quadkey: string\n schema: CurrentLocationWitnessSchema\n speedKph: number\n}>\n","import { Payload } from '@xyo-network/payload-model'\n\nexport type LocationWitnessSchema = 'network.xyo.location'\nexport const LocationWitnessSchema: LocationWitnessSchema = 'network.xyo.location'\n\nexport interface Coordinates {\n accuracy: number | null\n altitude: number | null\n altitudeAccuracy: number | null\n heading: number | null\n latitude: number\n longitude: number\n speed: number | null\n}\nexport interface CurrentLocation {\n coords: Coordinates\n timestamp: number\n}\n\nexport type LocationWitnessPayload = Payload<{\n currentLocation: CurrentLocation\n schema: LocationWitnessSchema\n}>\n","import { DivinerConfig } from '@xyo-network/diviner-model'\n\nimport { ArchivistApi } from '../Api/index.ts'\n\nexport type RemoteDivinerConfigSchema = 'network.xyo.diviner.remote.config'\nexport const RemoteDivinerConfigSchema: RemoteDivinerConfigSchema = 'network.xyo.diviner.remote.config'\n\nexport type RemoteDivinerConfig = DivinerConfig & {\n /** @deprecated use in params instead */\n api?: ArchivistApi\n archive?: string\n schema: RemoteDivinerConfigSchema\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACCA,kBAAqB;;;ACDrB,mBAA0B;AAanB,IAAM,UAAN,MAAM,SAAkE;AAAA,EACpE;AAAA,EACC;AAAA,EAEV,YAAY,QAAW;AACrB,SAAK,SAAS;AACd,SAAK,QAAQ,IAAI,uBAAU,EAAE,GAAG,KAAK,QAAQ,SAAS,KAAK,QAAQ,CAAC;AAAA,EACtE;AAAA,EAEA,IAAI,gBAAgB;AAClB,WAAO,CAAC,CAAC,KAAK,OAAO,UAAU,CAAC,CAAC,KAAK,OAAO;AAAA,EAC/C;AAAA,EAEA,IAAc,UAAkC;AAC9C,UAAM,UAAkC,CAAC;AACzC,QAAI,KAAK,OAAO,UAAU;AACxB,cAAQ,gBAAgB,UAAU,KAAK,OAAO,QAAQ;AAAA,IACxD;AACA,QAAI,KAAK,OAAO,QAAQ;AACtB,cAAQ,WAAW,IAAI,KAAK,OAAO;AAAA,IACrC;AACA,WAAO;AAAA,EACT;AAAA,EAEA,IAAc,QAAQ;AACpB,WAAO,KAAK,OAAO,SAAS;AAAA,EAC9B;AAAA,EAEA,IAAc,OAAO;AACnB,WAAO,KAAK,OAAO,QAAQ;AAAA,EAC7B;AAAA,EAEA,OAAe,gBAAmB,QAAsC;AA7C1E;AA8CI,WAAO,EAAC,sCAAQ,SAAR,mBAAc,MAAM,iCAAQ,MAAM,MAAM;AAAA,EAClD;AAAA,EAEA,OAAe,cAA2B,UAAmD,cAAgC;AAC3H,UAAM,mBAAmB,SAAQ,gBAAgB,QAAQ;AACzD,WAAO,iBAAiB,UAAU,mBAAmB,iBAAiB,CAAC;AAAA,EACzE;AAAA,EAEA,QAAQ,OAAiB,QAAQ,GAAG;AAtDtC;AAuDI,qBAAK,OAAO,qBAAZ,mBAA8B,YAA9B,4BAAwC,OAAO,QAAQ;AACvD,qBAAK,QAAO,YAAZ,4BAAsB,OAAO;AAAA,EAC/B;AAAA,EAEA,UAAU,UAAuB,QAAQ,GAAG;AA3D9C;AA4DI,qBAAK,OAAO,qBAAZ,mBAA8B,cAA9B,4BAA0C,UAAU,QAAQ;AAC5D,qBAAK,QAAO,cAAZ,4BAAwB,UAAU;AAAA,EACpC;AAAA,EAEA,UAAU,UAAuB,QAAQ,GAAG;AAhE9C;AAiEI,qBAAK,OAAO,qBAAZ,mBAA8B,cAA9B,4BAA0C,UAAU,QAAQ;AAC5D,qBAAK,QAAO,cAAZ,4BAAwB,UAAU;AAAA,EACpC;AAAA,EAKA,MAAgB,eAA4B,WAAW,IAAI,cAAoE;AAC7H,UAAM,WAAW,MAAM,KAAK,gBAAmB,YAAY;AACzD,aAAO,MAAM,KAAK,MAAM,OAAoD,GAAG,KAAK,YAAY,CAAC,GAAG,QAAQ,GAAG,KAAK,KAAK,EAAE;AAAA,IAC7H,CAAC;AACD,WAAO,SAAQ,cAAiB,UAAU,YAAY;AAAA,EACxD;AAAA,EAKA,MAAgB,YAAyB,WAAW,IAAI,cAAoE;AAC1H,UAAM,WAAW,MAAM,KAAK,gBAAmB,YAAY;AACzD,aAAO,MAAM,KAAK,MAAM,IAAiD,GAAG,KAAK,YAAY,CAAC,GAAG,QAAQ,GAAG,KAAK,KAAK,EAAE;AAAA,IAC1H,CAAC;AACD,WAAO,SAAQ,cAAiB,UAAU,YAAY;AAAA,EACxD;AAAA,EAEU,2BAA8B,OAAiB,oBAA6B;AACpF,QAAI,CAAC,MAAM,SAAS;AAClB,YAAM;AAAA,IACR;AAEA,QAAI,oBAAoB;AAEtB,YAAM,WAAW,KAAK,UAAU,MAAM,QAAQ,IAAI,KAAK,QAAQ,KAAK;AACpE,UAAI,KAAK,OAAO,cAAc;AAC5B,cAAM;AAAA,MACR;AACA,aAAO,MAAM;AAAA,IACf;AAAA,EACF;AAAA,EAEA,MAAgB,gBAAmB,SAAqD;AAEtF,QAAI,qBAAqB;AACzB,QAAI;AACF,YAAM,WAAW,MAAM,QAAQ;AAC/B,2BAAqB;AAGrB,eAAS,SAAS,MAAM,KAAK,UAAU,QAAQ,IAAI,KAAK,UAAU,QAAQ;AAE1E,aAAO;AAAA,IACT,SAAS,OAAO;AACd,WAAK,2BAA2B,OAAmB,kBAAkB;AAAA,IACvE;AAAA,EACF;AAAA,EAKA,MAAgB,aACd,WAAW,IACX,MACA,cACoC;AACpC,UAAM,WAAW,MAAM,KAAK,gBAAmB,YAAY;AACzD,aAAO,MAAM,KAAK,MAAM,KAAwD,GAAG,KAAK,YAAY,CAAC,GAAG,QAAQ,GAAG,KAAK,KAAK,IAAI,IAAI;AAAA,IACvI,CAAC;AACD,WAAO,SAAQ,cAAiB,UAAU,YAAY;AAAA,EACxD;AAAA,EAKA,MAAgB,YAAsC,WAAW,IAAI,MAAU,cAAoE;AACjJ,UAAM,WAAW,MAAM,KAAK,gBAAmB,YAAY;AACzD,aAAO,MAAM,KAAK,MAAM,IAAuD,GAAG,KAAK,YAAY,CAAC,GAAG,QAAQ,GAAG,KAAK,KAAK,IAAI,IAAI;AAAA,IACtI,CAAC;AACD,WAAO,SAAQ,cAAiB,UAAU,YAAY;AAAA,EACxD;AAAA,EAEQ,cAAc;AACpB,WAAO,GAAG,KAAK,OAAO,SAAS,GAAG,KAAK,IAAI;AAAA,EAC7C;AACF;;;ACnJO,IAAM,aAAa,CAAC,QAAqD;AAC9E,SAAO,IAAI,OAAO,QAAQ,GAAG,EAC1B,IAAI,CAAC,CAAC,KAAK,KAAK,MAAM;AACrB,WAAO,GAAG,GAAG,IAAI,KAAK;AAAA,EACxB,CAAC,EACA,OAAO,WAAS,UAAU,MAAS,EACnC,KAAK,GAAG,CAAC;AACd;;;ACCO,IAAM,YAAN,cAAwH,QAAW;AAAA,EAIxI,MAAM,OAAO,cAAoE;AAC/E,YAAQ,cAAc;AAAA,MACpB,KAAK,SAAS;AACZ,eAAO,MAAM,KAAK,eAAe,QAAW,OAAO;AAAA,MACrD;AAAA,MACA,SAAS;AACP,eAAO,MAAM,KAAK,eAAe;AAAA,MACnC;AAAA,IACF;AAAA,EACF;AAAA,EAKA,MAAM,KAAK,QAAQ,CAAC,GAAG,cAAoE;AACzF,YAAQ,cAAc;AAAA,MACpB,KAAK,SAAS;AACZ,eAAO,MAAM,KAAK,YAAY,WAAW,KAAK,GAAG,OAAO;AAAA,MAC1D;AAAA,MACA,SAAS;AACP,eAAO,MAAM,KAAK,YAAY,WAAW,KAAK,CAAC;AAAA,MACjD;AAAA,IACF;AAAA,EACF;AAAA,EAKA,MAAM,IAAI,cAAoE;AAC5E,YAAQ,cAAc;AAAA,MACpB,KAAK,SAAS;AACZ,eAAO,MAAM,KAAK,YAAY,QAAW,OAAO;AAAA,MAClD;AAAA,MACA,SAAS;AACP,eAAO,MAAM,KAAK,YAAY;AAAA,MAChC;AAAA,IACF;AAAA,EACF;AAAA,EAKA,MAAM,KAAK,MAAU,cAAoE;AACvF,YAAQ,cAAc;AAAA,MACpB,KAAK,SAAS;AACZ,eAAO,MAAM,KAAK,aAAa,QAAW,MAAM,OAAO;AAAA,MACzD;AAAA,MACA,SAAS;AACP,eAAO,MAAM,KAAK,aAAa,QAAW,IAAI;AAAA,MAChD;AAAA,IACF;AAAA,EACF;AAAA,EAKA,MAAM,IAAI,MAAU,cAAoE;AACtF,YAAQ,cAAc;AAAA,MACpB,KAAK,SAAS;AACZ,eAAO,MAAM,KAAK,YAAY,QAAW,MAAM,OAAO;AAAA,MACxD;AAAA,MACA,SAAS;AACP,eAAO,MAAM,KAAK,YAAY,QAAW,IAAI;AAAA,MAC/C;AAAA,IACF;AAAA,EACF;AACF;;;AHxEO,IAAM,eAAN,cAA4D,UAAwB;AAAA,EACzF,KAAK,MAAqB;AACxB,UAAM,UAAU,OAAO,SAAS,WAAW,IAAI,iBAAK,IAAI,IAAI;AAC5D,WAAO,IAAI,UAAmB;AAAA,MAC5B,GAAG,KAAK;AAAA,MACR,MAAM,GAAG,KAAK,IAAI,GAAG,QAAQ,IAAI;AAAA,IACnC,CAAC;AAAA,EACH;AACF;;;AIdA,IAAAA,gBAA6C;;;ACA7C,IAAAC,gBAAgD;AAEzC,IAAM,wCAAkE,CAAC,MAAM,aAAa;AACjG,SAAO,KAAK;AACd;AAQO,IAAM,2CAA2C,CAAC,gBAAgB,wBAAsC;AAG7G,SAAO,cAAc,SAAS,oBAC1B;AAAA,IACE,GAAI,MAAM,QAAQ,cAAc,SAAS,iBAAiB,IACtD,cAAc,SAAS,oBACvB,CAAC,cAAc,SAAS,iBAAiB;AAAA,IAC7C;AAAA,EACF,IACA,CAAC,qCAAqC;AAC5C;;;ADhBA,IAAM,qBAAN,MAAyB;AAAA,EACvB;AAAA,EACA,YAAY,QAAmB;AAC7B,SAAK,SAAS;AAAA,EAChB;AAAA,EAEA,IAAY,qBAA4C;AACtD,WAAO;AAAA,MACL,mBAAmB,yCAAyC;AAAA,IAC9D;AAAA,EACF;AAAA,EAEA,MAAM,iBAAiB,MAAc;AACnC,YAAQ,MAAM,oBAAM,IAA8B,GAAG,KAAK,OAAO,SAAS,mBAAmB,IAAI,IAAI,KAAK,kBAAkB,GAAG;AAAA,EACjI;AAAA,EAEA,MAAM,kBAAkB,SAAgD;AACtE,YAAQ,MAAM,oBAAM,KAAoC,GAAG,KAAK,OAAO,SAAS,mBAAmB,EAAE,GAAG,QAAQ,GAAG,KAAK,kBAAkB,GAAG;AAAA,EAC/I;AACF;;;AEvBO,IAAM,6BAAyD;AAG/D,IAAM,8BAA2D;AAQjE,IAAM,yBAAyB,CAAC,UAAkE;AACvG,SAAO,UAAS,+BAAO,YAAW;AACpC;;;ACbO,IAAM,oCAAuE;AAE7E,IAAM,qCAAyE;AAO/E,IAAM,gCAAgC,CAAC,UAAyE;AACrH,SAAO,UAAS,+BAAO,YAAW;AACpC;;;ACRA,IAAM,uBAA0D;AAAA,EAC9D,8CAA8C;AAAA,EAC9C,sCAAsC;AAAA,EACtC,oCAAoC;AACtC;AAEO,IAAM,iCAAiC,CAAC,WAAkD;AAC/F,SAAO,qBAAqB,MAA6B,KAAK;AAChE;;;ACXO,IAAM,+BAA6D;AAGnE,IAAM,gCAA+D;AAUrE,IAAM,2BAA2B,CAAC,UAAoE;AAC3G,SAAO,UAAS,+BAAO,YAAW;AACpC;;;ACfO,IAAM,+BAA6D;;;ACAnE,IAAM,wBAA+C;;;ACErD,IAAM,4BAAuD;","names":["import_axios","import_axios"]}
@@ -1,7 +0,0 @@
1
- export * from './Api/index.ts';
2
- export * from './Base.ts';
3
- export * from './Diviner/index.ts';
4
- export * from './models/index.ts';
5
- export * from './Simple.ts';
6
- export * from './WithArchive.ts';
7
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAA;AAC9B,cAAc,WAAW,CAAA;AACzB,cAAc,oBAAoB,CAAA;AAClC,cAAc,mBAAmB,CAAA;AACjC,cAAc,aAAa,CAAA;AAC3B,cAAc,kBAAkB,CAAA"}
@@ -1,7 +0,0 @@
1
- export * from './Api/index.ts';
2
- export * from './Base.ts';
3
- export * from './Diviner/index.ts';
4
- export * from './models/index.ts';
5
- export * from './Simple.ts';
6
- export * from './WithArchive.ts';
7
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAA;AAC9B,cAAc,WAAW,CAAA;AACzB,cAAc,oBAAoB,CAAA;AAClC,cAAc,mBAAmB,CAAA;AACjC,cAAc,aAAa,CAAA;AAC3B,cAAc,kBAAkB,CAAA"}
@@ -1,7 +0,0 @@
1
- export * from './Api/index.ts';
2
- export * from './Base.ts';
3
- export * from './Diviner/index.ts';
4
- export * from './models/index.ts';
5
- export * from './Simple.ts';
6
- export * from './WithArchive.ts';
7
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAA;AAC9B,cAAc,WAAW,CAAA;AACzB,cAAc,oBAAoB,CAAA;AAClC,cAAc,mBAAmB,CAAA;AACjC,cAAc,aAAa,CAAA;AAC3B,cAAc,kBAAkB,CAAA"}
@@ -1,271 +0,0 @@
1
- // src/Api/Api.ts
2
- import { Huri } from "@xyo-network/huri";
3
-
4
- // src/Base.ts
5
- import { AxiosJson } from "@xylabs/axios";
6
- var ApiBase = class _ApiBase {
7
- config;
8
- axios;
9
- constructor(config) {
10
- this.config = config;
11
- this.axios = new AxiosJson({ ...this.config, headers: this.headers });
12
- }
13
- get authenticated() {
14
- return !!this.config.apiKey || !!this.config.jwtToken;
15
- }
16
- get headers() {
17
- const headers = {};
18
- if (this.config.jwtToken) {
19
- headers.Authorization = `Bearer ${this.config.jwtToken}`;
20
- }
21
- if (this.config.apiKey) {
22
- headers["x-api-key"] = this.config.apiKey;
23
- }
24
- return headers;
25
- }
26
- get query() {
27
- return this.config.query ?? "";
28
- }
29
- get root() {
30
- return this.config.root ?? "/";
31
- }
32
- static resolveResponse(result) {
33
- var _a;
34
- return [(_a = result == null ? void 0 : result.data) == null ? void 0 : _a.data, result == null ? void 0 : result.data, result];
35
- }
36
- static shapeResponse(response, responseType) {
37
- const resolvedResponse = _ApiBase.resolveResponse(response);
38
- return responseType === "tuple" ? resolvedResponse : resolvedResponse[0];
39
- }
40
- onError(error, depth = 0) {
41
- var _a, _b, _c, _d;
42
- (_b = (_a = this.config.reportableParent) == null ? void 0 : _a.onError) == null ? void 0 : _b.call(_a, error, depth + 1);
43
- (_d = (_c = this.config).onError) == null ? void 0 : _d.call(_c, error, depth);
44
- }
45
- onFailure(response, depth = 0) {
46
- var _a, _b, _c, _d;
47
- (_b = (_a = this.config.reportableParent) == null ? void 0 : _a.onFailure) == null ? void 0 : _b.call(_a, response, depth + 1);
48
- (_d = (_c = this.config).onFailure) == null ? void 0 : _d.call(_c, response, depth);
49
- }
50
- onSuccess(response, depth = 0) {
51
- var _a, _b, _c, _d;
52
- (_b = (_a = this.config.reportableParent) == null ? void 0 : _a.onSuccess) == null ? void 0 : _b.call(_a, response, depth + 1);
53
- (_d = (_c = this.config).onSuccess) == null ? void 0 : _d.call(_c, response, depth);
54
- }
55
- async deleteEndpoint(endPoint = "", responseType) {
56
- const response = await this.monitorResponse(async () => {
57
- return await this.axios.delete(`${this.resolveRoot()}${endPoint}${this.query}`);
58
- });
59
- return _ApiBase.shapeResponse(response, responseType);
60
- }
61
- async getEndpoint(endPoint = "", responseType) {
62
- const response = await this.monitorResponse(async () => {
63
- return await this.axios.get(`${this.resolveRoot()}${endPoint}${this.query}`);
64
- });
65
- return _ApiBase.shapeResponse(response, responseType);
66
- }
67
- handleMonitorResponseError(error, trapAxiosException) {
68
- if (!error.isError) {
69
- throw error;
70
- }
71
- if (trapAxiosException) {
72
- error.response ? this.onFailure(error.response) : this.onError(error);
73
- if (this.config.throwFailure) {
74
- throw error;
75
- }
76
- return error.response;
77
- }
78
- }
79
- async monitorResponse(closure) {
80
- let trapAxiosException = true;
81
- try {
82
- const response = await closure();
83
- trapAxiosException = false;
84
- response.status < 300 ? this.onSuccess(response) : this.onFailure(response);
85
- return response;
86
- } catch (error) {
87
- this.handleMonitorResponseError(error, trapAxiosException);
88
- }
89
- }
90
- async postEndpoint(endPoint = "", data, responseType) {
91
- const response = await this.monitorResponse(async () => {
92
- return await this.axios.post(`${this.resolveRoot()}${endPoint}${this.query}`, data);
93
- });
94
- return _ApiBase.shapeResponse(response, responseType);
95
- }
96
- async putEndpoint(endPoint = "", data, responseType) {
97
- const response = await this.monitorResponse(async () => {
98
- return await this.axios.put(`${this.resolveRoot()}${endPoint}${this.query}`, data);
99
- });
100
- return _ApiBase.shapeResponse(response, responseType);
101
- }
102
- resolveRoot() {
103
- return `${this.config.apiDomain}${this.root}`;
104
- }
105
- };
106
-
107
- // src/objToQuery.ts
108
- var objToQuery = (obj) => {
109
- return `?${Object.entries(obj).map(([key, value]) => {
110
- return `${key}=${value}`;
111
- }).filter((value) => value !== void 0).join("&")}`;
112
- };
113
-
114
- // src/Simple.ts
115
- var ApiSimple = class extends ApiBase {
116
- async delete(responseType) {
117
- switch (responseType) {
118
- case "tuple": {
119
- return await this.deleteEndpoint(void 0, "tuple");
120
- }
121
- default: {
122
- return await this.deleteEndpoint();
123
- }
124
- }
125
- }
126
- async find(query = {}, responseType) {
127
- switch (responseType) {
128
- case "tuple": {
129
- return await this.getEndpoint(objToQuery(query), "tuple");
130
- }
131
- default: {
132
- return await this.getEndpoint(objToQuery(query));
133
- }
134
- }
135
- }
136
- async get(responseType) {
137
- switch (responseType) {
138
- case "tuple": {
139
- return await this.getEndpoint(void 0, "tuple");
140
- }
141
- default: {
142
- return await this.getEndpoint();
143
- }
144
- }
145
- }
146
- async post(data, responseType) {
147
- switch (responseType) {
148
- case "tuple": {
149
- return await this.postEndpoint(void 0, data, "tuple");
150
- }
151
- default: {
152
- return await this.postEndpoint(void 0, data);
153
- }
154
- }
155
- }
156
- async put(data, responseType) {
157
- switch (responseType) {
158
- case "tuple": {
159
- return await this.putEndpoint(void 0, data, "tuple");
160
- }
161
- default: {
162
- return await this.putEndpoint(void 0, data);
163
- }
164
- }
165
- }
166
- };
167
-
168
- // src/Api/Api.ts
169
- var ArchivistApi = class extends ApiSimple {
170
- huri(huri) {
171
- const huriObj = typeof huri === "string" ? new Huri(huri) : huri;
172
- return new ApiSimple({
173
- ...this.config,
174
- root: `${this.root}${huriObj.href}/`
175
- });
176
- }
177
- };
178
-
179
- // src/Diviner/LocationDiviner/LocationDivinerApi.ts
180
- import { axios as axios2 } from "@xylabs/axios";
181
-
182
- // src/Diviner/LocationDiviner/LocationDivinerApiResponseTransformer.ts
183
- import { axios } from "@xylabs/axios";
184
- var locationDivinerApiResponseTransformer = (data, _headers) => {
185
- return data.data;
186
- };
187
- var getLocationDivinerApiResponseTransformer = (axiosInstance = axios) => {
188
- return axiosInstance.defaults.transformResponse ? [
189
- ...Array.isArray(axiosInstance.defaults.transformResponse) ? axiosInstance.defaults.transformResponse : [axiosInstance.defaults.transformResponse],
190
- locationDivinerApiResponseTransformer
191
- ] : [locationDivinerApiResponseTransformer];
192
- };
193
-
194
- // src/Diviner/LocationDiviner/LocationDivinerApi.ts
195
- var LocationDivinerApi = class {
196
- config;
197
- constructor(config) {
198
- this.config = config;
199
- }
200
- get axiosRequestConfig() {
201
- return {
202
- transformResponse: getLocationDivinerApiResponseTransformer()
203
- };
204
- }
205
- async getLocationQuery(hash) {
206
- return (await axios2.get(`${this.config.apiDomain}/location/query/${hash}`, this.axiosRequestConfig)).data;
207
- }
208
- async postLocationQuery(request) {
209
- return (await axios2.post(`${this.config.apiDomain}/location/query`, { ...request }, this.axiosRequestConfig)).data;
210
- }
211
- };
212
-
213
- // src/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapQuery.ts
214
- var locationHeatmapQuerySchema = "network.xyo.location.heatmap.query";
215
- var locationHeatmapAnswerSchema = "network.xyo.location.heatmap.answer";
216
- var isLocationHeatmapQuery = (query) => {
217
- return query && (query == null ? void 0 : query.schema) === locationHeatmapQuerySchema;
218
- };
219
-
220
- // src/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/LocationQuadkeyHeatmapQuery.ts
221
- var locationQuadkeyHeatmapQuerySchema = "network.xyo.location.heatmap.quadkey.query";
222
- var locationQuadkeyHeatmapAnswerSchema = "network.xyo.location.heatmap.quadkey.answer";
223
- var isLocationQuadkeyHeatmapQuery = (query) => {
224
- return query && (query == null ? void 0 : query.schema) === locationQuadkeyHeatmapQuerySchema;
225
- };
226
-
227
- // src/Diviner/LocationDiviner/Queries/LocationQuerySchema.ts
228
- var locationQuerySchemas = {
229
- "network.xyo.location.heatmap.quadkey.query": true,
230
- "network.xyo.location.heatmap.query": true,
231
- "network.xyo.location.range.query": true
232
- };
233
- var isSupportedLocationQuerySchema = (schema) => {
234
- return locationQuerySchemas[schema] || false;
235
- };
236
-
237
- // src/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangeQuery.ts
238
- var LocationTimeRangeQuerySchema = "network.xyo.location.range.query";
239
- var LocationTimeRangeAnswerSchema = "network.xyo.location.range.answer";
240
- var isLocationTimeRangeQuery = (query) => {
241
- return query && (query == null ? void 0 : query.schema) === LocationTimeRangeAnswerSchema;
242
- };
243
-
244
- // src/Diviner/LocationDiviner/Witnesses/CurrentLocationWitness.ts
245
- var CurrentLocationWitnessSchema = "co.coinapp.currentlocationwitness";
246
-
247
- // src/Diviner/LocationDiviner/Witnesses/LocationWitness.ts
248
- var LocationWitnessSchema = "network.xyo.location";
249
-
250
- // src/Diviner/RemoteDivinerConfig.ts
251
- var RemoteDivinerConfigSchema = "network.xyo.diviner.remote.config";
252
- export {
253
- ApiBase,
254
- ApiSimple,
255
- ArchivistApi,
256
- CurrentLocationWitnessSchema,
257
- LocationDivinerApi,
258
- LocationTimeRangeAnswerSchema,
259
- LocationTimeRangeQuerySchema,
260
- LocationWitnessSchema,
261
- RemoteDivinerConfigSchema,
262
- isLocationHeatmapQuery,
263
- isLocationQuadkeyHeatmapQuery,
264
- isLocationTimeRangeQuery,
265
- isSupportedLocationQuerySchema,
266
- locationHeatmapAnswerSchema,
267
- locationHeatmapQuerySchema,
268
- locationQuadkeyHeatmapAnswerSchema,
269
- locationQuadkeyHeatmapQuerySchema
270
- };
271
- //# sourceMappingURL=index.mjs.map