@i2fnsb/property-search-client-ts 1.24.0 → 1.24.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (480) hide show
  1. package/README.md +2 -2
  2. package/dist/apis/PropertySearchApi.d.ts +1 -1
  3. package/dist/apis/PropertySearchApi.js +1 -1
  4. package/dist/models/Address.d.ts +1 -1
  5. package/dist/models/Address.js +1 -1
  6. package/dist/models/Amenity.d.ts +1 -1
  7. package/dist/models/Amenity.js +1 -1
  8. package/dist/models/ApiError.d.ts +1 -1
  9. package/dist/models/ApiError.js +1 -1
  10. package/dist/models/ArcGisOverlapBatchedRequest.d.ts +1 -1
  11. package/dist/models/ArcGisOverlapBatchedRequest.js +1 -1
  12. package/dist/models/ArcGisOverlapByPan.d.ts +1 -1
  13. package/dist/models/ArcGisOverlapByPan.js +1 -1
  14. package/dist/models/ArcGisOverlapCategory.d.ts +1 -1
  15. package/dist/models/ArcGisOverlapCategory.js +1 -1
  16. package/dist/models/ArcGisOverlapZone.d.ts +1 -1
  17. package/dist/models/ArcGisOverlapZone.js +1 -1
  18. package/dist/models/AssessingPhoto.d.ts +1 -1
  19. package/dist/models/AssessingPhoto.js +1 -1
  20. package/dist/models/AssessmentHistoryForYear.d.ts +1 -1
  21. package/dist/models/AssessmentHistoryForYear.js +1 -1
  22. package/dist/models/BatchedPermit.d.ts +1 -1
  23. package/dist/models/BatchedPermit.js +1 -1
  24. package/dist/models/CEBusinessNames.d.ts +1 -1
  25. package/dist/models/CEBusinessNames.js +1 -1
  26. package/dist/models/CEComments.d.ts +1 -1
  27. package/dist/models/CEComments.js +1 -1
  28. package/dist/models/CENote.d.ts +1 -1
  29. package/dist/models/CENote.js +1 -1
  30. package/dist/models/CodeEnforcementCase.d.ts +1 -1
  31. package/dist/models/CodeEnforcementCase.js +1 -1
  32. package/dist/models/CodeEnforcementCasePendingChanges.d.ts +1 -1
  33. package/dist/models/CodeEnforcementCasePendingChanges.js +1 -1
  34. package/dist/models/CodeEnforcementCaseUpdate.d.ts +1 -1
  35. package/dist/models/CodeEnforcementCaseUpdate.js +1 -1
  36. package/dist/models/CodeEnforcementCaseWithPendingChanges.d.ts +1 -1
  37. package/dist/models/CodeEnforcementCaseWithPendingChanges.js +1 -1
  38. package/dist/models/CodeEnforcementDocument.d.ts +1 -1
  39. package/dist/models/CodeEnforcementDocument.js +1 -1
  40. package/dist/models/CodeEnforcementRididCode.d.ts +1 -1
  41. package/dist/models/CodeEnforcementRididCode.js +1 -1
  42. package/dist/models/CodeEnforcementSyncStatus.d.ts +1 -1
  43. package/dist/models/CodeEnforcementSyncStatus.js +1 -1
  44. package/dist/models/CombinedTaxHistory.d.ts +1 -1
  45. package/dist/models/CombinedTaxHistory.js +1 -1
  46. package/dist/models/CppPermit.d.ts +1 -1
  47. package/dist/models/CppPermit.js +1 -1
  48. package/dist/models/DeepParentChildRelationship.d.ts +1 -1
  49. package/dist/models/DeepParentChildRelationship.js +1 -1
  50. package/dist/models/DeepRelationship.d.ts +1 -1
  51. package/dist/models/DeepRelationship.js +1 -1
  52. package/dist/models/Document.d.ts +1 -1
  53. package/dist/models/Document.js +1 -1
  54. package/dist/models/DocumentDownloadResponse.d.ts +1 -1
  55. package/dist/models/DocumentDownloadResponse.js +1 -1
  56. package/dist/models/DocumentDownloadResponseApiResponse.d.ts +1 -1
  57. package/dist/models/DocumentDownloadResponseApiResponse.js +1 -1
  58. package/dist/models/DocumentProcessingState.d.ts +1 -1
  59. package/dist/models/DocumentProcessingState.js +1 -1
  60. package/dist/models/EvacuationEvent.d.ts +1 -1
  61. package/dist/models/EvacuationEvent.js +1 -1
  62. package/dist/models/EvacuationStatus.d.ts +1 -1
  63. package/dist/models/EvacuationStatus.js +1 -1
  64. package/dist/models/Exemption.d.ts +1 -1
  65. package/dist/models/Exemption.js +1 -1
  66. package/dist/models/FieldCard.d.ts +1 -1
  67. package/dist/models/FieldCard.js +1 -1
  68. package/dist/models/FireServiceArea.d.ts +1 -1
  69. package/dist/models/FireServiceArea.js +1 -1
  70. package/dist/models/FullPermit.d.ts +1 -1
  71. package/dist/models/FullPermit.js +1 -1
  72. package/dist/models/General.d.ts +1 -1
  73. package/dist/models/General.js +1 -1
  74. package/dist/models/GovtCodeComment.d.ts +1 -1
  75. package/dist/models/GovtCodeComment.js +1 -1
  76. package/dist/models/Int32ApiResponse.d.ts +1 -1
  77. package/dist/models/Int32ApiResponse.js +1 -1
  78. package/dist/models/Land.d.ts +1 -1
  79. package/dist/models/Land.js +1 -1
  80. package/dist/models/MetadataComplanPermitFields.d.ts +1 -1
  81. package/dist/models/MetadataComplanPermitFields.js +1 -1
  82. package/dist/models/OldPermitResponse.d.ts +1 -1
  83. package/dist/models/OldPermitResponse.js +1 -1
  84. package/dist/models/OldPermitSaveRequest.d.ts +1 -1
  85. package/dist/models/OldPermitSaveRequest.js +1 -1
  86. package/dist/models/Owner.d.ts +1 -1
  87. package/dist/models/Owner.js +1 -1
  88. package/dist/models/PANResult.d.ts +1 -1
  89. package/dist/models/PANResult.js +1 -1
  90. package/dist/models/PansList.d.ts +1 -1
  91. package/dist/models/PansList.js +1 -1
  92. package/dist/models/Permit.d.ts +1 -1
  93. package/dist/models/Permit.js +1 -1
  94. package/dist/models/PermitAppealStatus.d.ts +1 -1
  95. package/dist/models/PermitAppealStatus.js +1 -1
  96. package/dist/models/PermitDocumentExists.d.ts +1 -1
  97. package/dist/models/PermitDocumentExists.js +1 -1
  98. package/dist/models/PermitInformation.d.ts +1 -1
  99. package/dist/models/PermitInformation.js +1 -1
  100. package/dist/models/PermitSearchRequest.d.ts +1 -1
  101. package/dist/models/PermitSearchRequest.js +1 -1
  102. package/dist/models/PermitStatus.d.ts +1 -1
  103. package/dist/models/PermitStatus.js +1 -1
  104. package/dist/models/PermitType.d.ts +1 -1
  105. package/dist/models/PermitType.js +1 -1
  106. package/dist/models/PlatFilenameAndDescription.d.ts +1 -1
  107. package/dist/models/PlatFilenameAndDescription.js +1 -1
  108. package/dist/models/PrimaryStructure.d.ts +1 -1
  109. package/dist/models/PrimaryStructure.js +1 -1
  110. package/dist/models/ProblemDetails.d.ts +1 -1
  111. package/dist/models/ProblemDetails.js +1 -1
  112. package/dist/models/PropertyComment.d.ts +1 -1
  113. package/dist/models/PropertyComment.js +1 -1
  114. package/dist/models/PropertyOwner.d.ts +1 -1
  115. package/dist/models/PropertyOwner.js +1 -1
  116. package/dist/models/PropertyRelation.d.ts +1 -1
  117. package/dist/models/PropertyRelation.js +1 -1
  118. package/dist/models/PropertyResponse.d.ts +1 -1
  119. package/dist/models/PropertyResponse.js +1 -1
  120. package/dist/models/PropertySections.d.ts +1 -1
  121. package/dist/models/PropertySections.js +1 -1
  122. package/dist/models/RecentZoningPermit.d.ts +1 -1
  123. package/dist/models/RecentZoningPermit.js +1 -1
  124. package/dist/models/RezoneHistory.d.ts +1 -1
  125. package/dist/models/RezoneHistory.js +1 -1
  126. package/dist/models/SearchOptions.d.ts +1 -1
  127. package/dist/models/SearchOptions.js +1 -1
  128. package/dist/models/SearchRequest.d.ts +1 -1
  129. package/dist/models/SearchRequest.js +1 -1
  130. package/dist/models/SearchResult.d.ts +1 -1
  131. package/dist/models/SearchResult.js +1 -1
  132. package/dist/models/SecondaryStructure.d.ts +1 -1
  133. package/dist/models/SecondaryStructure.js +1 -1
  134. package/dist/models/Section.d.ts +1 -1
  135. package/dist/models/Section.js +1 -1
  136. package/dist/models/Sections.d.ts +1 -1
  137. package/dist/models/Sections.js +1 -1
  138. package/dist/models/ServiceAreas.d.ts +1 -1
  139. package/dist/models/ServiceAreas.js +1 -1
  140. package/dist/models/SitusAddress.d.ts +1 -1
  141. package/dist/models/SitusAddress.js +1 -1
  142. package/dist/models/SketchBuilding.d.ts +1 -1
  143. package/dist/models/SketchBuilding.js +1 -1
  144. package/dist/models/SketchPoint.d.ts +1 -1
  145. package/dist/models/SketchPoint.js +1 -1
  146. package/dist/models/SketchSection.d.ts +1 -1
  147. package/dist/models/SketchSection.js +1 -1
  148. package/dist/models/SortCategories.d.ts +1 -1
  149. package/dist/models/SortCategories.js +1 -1
  150. package/dist/models/SortDirection.d.ts +1 -1
  151. package/dist/models/SortDirection.js +1 -1
  152. package/dist/models/SpecialFieldInstruction.d.ts +1 -1
  153. package/dist/models/SpecialFieldInstruction.js +1 -1
  154. package/dist/models/Structures.d.ts +1 -1
  155. package/dist/models/Structures.js +1 -1
  156. package/dist/models/SyncErrorCode.d.ts +1 -1
  157. package/dist/models/SyncErrorCode.js +1 -1
  158. package/dist/models/TaxArea.d.ts +1 -1
  159. package/dist/models/TaxArea.js +1 -1
  160. package/dist/models/TaxAuthority.d.ts +1 -1
  161. package/dist/models/TaxAuthority.js +1 -1
  162. package/dist/models/TaxDetailsBreakdown.d.ts +1 -1
  163. package/dist/models/TaxDetailsBreakdown.js +1 -1
  164. package/dist/models/TaxDetailsBreakdownArea.d.ts +1 -1
  165. package/dist/models/TaxDetailsBreakdownArea.js +1 -1
  166. package/dist/models/TaxExemption.d.ts +1 -1
  167. package/dist/models/TaxExemption.js +1 -1
  168. package/dist/models/TaxHistory.d.ts +1 -1
  169. package/dist/models/TaxHistory.js +1 -1
  170. package/dist/models/TaxMessageDisplay.d.ts +1 -1
  171. package/dist/models/TaxMessageDisplay.js +1 -1
  172. package/dist/models/TaxMessageUpdate.d.ts +1 -1
  173. package/dist/models/TaxMessageUpdate.js +1 -1
  174. package/dist/models/TaxationAreas.d.ts +1 -1
  175. package/dist/models/TaxationAreas.js +1 -1
  176. package/dist/models/TentativeValue.d.ts +1 -1
  177. package/dist/models/TentativeValue.js +1 -1
  178. package/dist/models/WebTaxesDetailedInfo.d.ts +1 -1
  179. package/dist/models/WebTaxesDetailedInfo.js +1 -1
  180. package/dist/models/WebTaxesInfo.d.ts +1 -1
  181. package/dist/models/WebTaxesInfo.js +1 -1
  182. package/dist/models/ZoneInfoResponse.d.ts +1 -1
  183. package/dist/models/ZoneInfoResponse.js +1 -1
  184. package/dist/models/ZoneInfoResponseApiResponse.d.ts +1 -1
  185. package/dist/models/ZoneInfoResponseApiResponse.js +1 -1
  186. package/dist/models/ZoneSegment.d.ts +1 -1
  187. package/dist/models/ZoneSegment.js +1 -1
  188. package/dist/runtime.d.ts +2 -2
  189. package/dist/runtime.js +2 -2
  190. package/package.json +12 -5
  191. package/src/apis/PropertySearchApi.ts +1 -1
  192. package/src/models/Address.ts +1 -1
  193. package/src/models/Amenity.ts +1 -1
  194. package/src/models/ApiError.ts +1 -1
  195. package/src/models/ArcGisOverlapBatchedRequest.ts +1 -1
  196. package/src/models/ArcGisOverlapByPan.ts +1 -1
  197. package/src/models/ArcGisOverlapCategory.ts +1 -1
  198. package/src/models/ArcGisOverlapZone.ts +1 -1
  199. package/src/models/AssessingPhoto.ts +1 -1
  200. package/src/models/AssessmentHistoryForYear.ts +1 -1
  201. package/src/models/BatchedPermit.ts +1 -1
  202. package/src/models/CEBusinessNames.ts +1 -1
  203. package/src/models/CEComments.ts +1 -1
  204. package/src/models/CENote.ts +1 -1
  205. package/src/models/CodeEnforcementCase.ts +1 -1
  206. package/src/models/CodeEnforcementCasePendingChanges.ts +1 -1
  207. package/src/models/CodeEnforcementCaseUpdate.ts +1 -1
  208. package/src/models/CodeEnforcementCaseWithPendingChanges.ts +1 -1
  209. package/src/models/CodeEnforcementDocument.ts +1 -1
  210. package/src/models/CodeEnforcementRididCode.ts +1 -1
  211. package/src/models/CodeEnforcementSyncStatus.ts +1 -1
  212. package/src/models/CombinedTaxHistory.ts +1 -1
  213. package/src/models/CppPermit.ts +1 -1
  214. package/src/models/DeepParentChildRelationship.ts +1 -1
  215. package/src/models/DeepRelationship.ts +1 -1
  216. package/src/models/Document.ts +1 -1
  217. package/src/models/DocumentDownloadResponse.ts +1 -1
  218. package/src/models/DocumentDownloadResponseApiResponse.ts +1 -1
  219. package/src/models/DocumentProcessingState.ts +1 -1
  220. package/src/models/EvacuationEvent.ts +1 -1
  221. package/src/models/EvacuationStatus.ts +1 -1
  222. package/src/models/Exemption.ts +1 -1
  223. package/src/models/FieldCard.ts +1 -1
  224. package/src/models/FireServiceArea.ts +1 -1
  225. package/src/models/FullPermit.ts +1 -1
  226. package/src/models/General.ts +1 -1
  227. package/src/models/GovtCodeComment.ts +1 -1
  228. package/src/models/Int32ApiResponse.ts +1 -1
  229. package/src/models/Land.ts +1 -1
  230. package/src/models/MetadataComplanPermitFields.ts +1 -1
  231. package/src/models/OldPermitResponse.ts +1 -1
  232. package/src/models/OldPermitSaveRequest.ts +1 -1
  233. package/src/models/Owner.ts +1 -1
  234. package/src/models/PANResult.ts +1 -1
  235. package/src/models/PansList.ts +1 -1
  236. package/src/models/Permit.ts +1 -1
  237. package/src/models/PermitAppealStatus.ts +1 -1
  238. package/src/models/PermitDocumentExists.ts +1 -1
  239. package/src/models/PermitInformation.ts +1 -1
  240. package/src/models/PermitSearchRequest.ts +1 -1
  241. package/src/models/PermitStatus.ts +1 -1
  242. package/src/models/PermitType.ts +1 -1
  243. package/src/models/PlatFilenameAndDescription.ts +1 -1
  244. package/src/models/PrimaryStructure.ts +1 -1
  245. package/src/models/ProblemDetails.ts +1 -1
  246. package/src/models/PropertyComment.ts +1 -1
  247. package/src/models/PropertyOwner.ts +1 -1
  248. package/src/models/PropertyRelation.ts +1 -1
  249. package/src/models/PropertyResponse.ts +1 -1
  250. package/src/models/PropertySections.ts +1 -1
  251. package/src/models/RecentZoningPermit.ts +1 -1
  252. package/src/models/RezoneHistory.ts +1 -1
  253. package/src/models/SearchOptions.ts +1 -1
  254. package/src/models/SearchRequest.ts +1 -1
  255. package/src/models/SearchResult.ts +1 -1
  256. package/src/models/SecondaryStructure.ts +1 -1
  257. package/src/models/Section.ts +1 -1
  258. package/src/models/Sections.ts +1 -1
  259. package/src/models/ServiceAreas.ts +1 -1
  260. package/src/models/SitusAddress.ts +1 -1
  261. package/src/models/SketchBuilding.ts +1 -1
  262. package/src/models/SketchPoint.ts +1 -1
  263. package/src/models/SketchSection.ts +1 -1
  264. package/src/models/SortCategories.ts +1 -1
  265. package/src/models/SortDirection.ts +1 -1
  266. package/src/models/SpecialFieldInstruction.ts +1 -1
  267. package/src/models/Structures.ts +1 -1
  268. package/src/models/SyncErrorCode.ts +1 -1
  269. package/src/models/TaxArea.ts +1 -1
  270. package/src/models/TaxAuthority.ts +1 -1
  271. package/src/models/TaxDetailsBreakdown.ts +1 -1
  272. package/src/models/TaxDetailsBreakdownArea.ts +1 -1
  273. package/src/models/TaxExemption.ts +1 -1
  274. package/src/models/TaxHistory.ts +1 -1
  275. package/src/models/TaxMessageDisplay.ts +1 -1
  276. package/src/models/TaxMessageUpdate.ts +1 -1
  277. package/src/models/TaxationAreas.ts +1 -1
  278. package/src/models/TentativeValue.ts +1 -1
  279. package/src/models/WebTaxesDetailedInfo.ts +1 -1
  280. package/src/models/WebTaxesInfo.ts +1 -1
  281. package/src/models/ZoneInfoResponse.ts +1 -1
  282. package/src/models/ZoneInfoResponseApiResponse.ts +1 -1
  283. package/src/models/ZoneSegment.ts +1 -1
  284. package/src/runtime.ts +2 -2
  285. package/tsconfig.esm.json +0 -8
  286. package/tsconfig.json +5 -0
  287. package/dist/esm/apis/PropertySearchApi.d.ts +0 -624
  288. package/dist/esm/apis/PropertySearchApi.js +0 -1948
  289. package/dist/esm/apis/index.d.ts +0 -1
  290. package/dist/esm/apis/index.js +0 -3
  291. package/dist/esm/index.d.ts +0 -3
  292. package/dist/esm/index.js +0 -5
  293. package/dist/esm/models/Address.d.ts +0 -152
  294. package/dist/esm/models/Address.js +0 -81
  295. package/dist/esm/models/Amenity.d.ts +0 -44
  296. package/dist/esm/models/Amenity.js +0 -45
  297. package/dist/esm/models/ApiError.d.ts +0 -68
  298. package/dist/esm/models/ApiError.js +0 -53
  299. package/dist/esm/models/ArcGisOverlapBatchedRequest.d.ts +0 -39
  300. package/dist/esm/models/ArcGisOverlapBatchedRequest.js +0 -46
  301. package/dist/esm/models/ArcGisOverlapByPan.d.ts +0 -39
  302. package/dist/esm/models/ArcGisOverlapByPan.js +0 -48
  303. package/dist/esm/models/ArcGisOverlapCategory.d.ts +0 -37
  304. package/dist/esm/models/ArcGisOverlapCategory.js +0 -55
  305. package/dist/esm/models/ArcGisOverlapZone.d.ts +0 -50
  306. package/dist/esm/models/ArcGisOverlapZone.js +0 -53
  307. package/dist/esm/models/AssessingPhoto.d.ts +0 -51
  308. package/dist/esm/models/AssessingPhoto.js +0 -53
  309. package/dist/esm/models/AssessmentHistoryForYear.d.ts +0 -74
  310. package/dist/esm/models/AssessmentHistoryForYear.js +0 -55
  311. package/dist/esm/models/BatchedPermit.d.ts +0 -74
  312. package/dist/esm/models/BatchedPermit.js +0 -65
  313. package/dist/esm/models/CEBusinessNames.d.ts +0 -39
  314. package/dist/esm/models/CEBusinessNames.js +0 -46
  315. package/dist/esm/models/CEComments.d.ts +0 -39
  316. package/dist/esm/models/CEComments.js +0 -46
  317. package/dist/esm/models/CENote.d.ts +0 -39
  318. package/dist/esm/models/CENote.js +0 -46
  319. package/dist/esm/models/CodeEnforcementCase.d.ts +0 -131
  320. package/dist/esm/models/CodeEnforcementCase.js +0 -78
  321. package/dist/esm/models/CodeEnforcementCasePendingChanges.d.ts +0 -40
  322. package/dist/esm/models/CodeEnforcementCasePendingChanges.js +0 -45
  323. package/dist/esm/models/CodeEnforcementCaseUpdate.d.ts +0 -39
  324. package/dist/esm/models/CodeEnforcementCaseUpdate.js +0 -48
  325. package/dist/esm/models/CodeEnforcementCaseWithPendingChanges.d.ts +0 -40
  326. package/dist/esm/models/CodeEnforcementCaseWithPendingChanges.js +0 -49
  327. package/dist/esm/models/CodeEnforcementDocument.d.ts +0 -56
  328. package/dist/esm/models/CodeEnforcementDocument.js +0 -55
  329. package/dist/esm/models/CodeEnforcementRididCode.d.ts +0 -27
  330. package/dist/esm/models/CodeEnforcementRididCode.js +0 -45
  331. package/dist/esm/models/CodeEnforcementSyncStatus.d.ts +0 -38
  332. package/dist/esm/models/CodeEnforcementSyncStatus.js +0 -47
  333. package/dist/esm/models/CombinedTaxHistory.d.ts +0 -46
  334. package/dist/esm/models/CombinedTaxHistory.js +0 -47
  335. package/dist/esm/models/CppPermit.d.ts +0 -44
  336. package/dist/esm/models/CppPermit.js +0 -45
  337. package/dist/esm/models/DeepParentChildRelationship.d.ts +0 -39
  338. package/dist/esm/models/DeepParentChildRelationship.js +0 -44
  339. package/dist/esm/models/DeepRelationship.d.ts +0 -50
  340. package/dist/esm/models/DeepRelationship.js +0 -53
  341. package/dist/esm/models/Document.d.ts +0 -80
  342. package/dist/esm/models/Document.js +0 -61
  343. package/dist/esm/models/DocumentDownloadResponse.d.ts +0 -45
  344. package/dist/esm/models/DocumentDownloadResponse.js +0 -46
  345. package/dist/esm/models/DocumentDownloadResponseApiResponse.d.ts +0 -52
  346. package/dist/esm/models/DocumentDownloadResponseApiResponse.js +0 -49
  347. package/dist/esm/models/DocumentProcessingState.d.ts +0 -27
  348. package/dist/esm/models/DocumentProcessingState.js +0 -45
  349. package/dist/esm/models/EvacuationEvent.d.ts +0 -51
  350. package/dist/esm/models/EvacuationEvent.js +0 -56
  351. package/dist/esm/models/EvacuationStatus.d.ts +0 -27
  352. package/dist/esm/models/EvacuationStatus.js +0 -45
  353. package/dist/esm/models/Exemption.d.ts +0 -50
  354. package/dist/esm/models/Exemption.js +0 -55
  355. package/dist/esm/models/FieldCard.d.ts +0 -32
  356. package/dist/esm/models/FieldCard.js +0 -41
  357. package/dist/esm/models/FireServiceArea.d.ts +0 -32
  358. package/dist/esm/models/FireServiceArea.js +0 -43
  359. package/dist/esm/models/FullPermit.d.ts +0 -188
  360. package/dist/esm/models/FullPermit.js +0 -104
  361. package/dist/esm/models/General.d.ts +0 -141
  362. package/dist/esm/models/General.js +0 -101
  363. package/dist/esm/models/GovtCodeComment.d.ts +0 -38
  364. package/dist/esm/models/GovtCodeComment.js +0 -43
  365. package/dist/esm/models/Int32ApiResponse.d.ts +0 -51
  366. package/dist/esm/models/Int32ApiResponse.js +0 -48
  367. package/dist/esm/models/Land.d.ts +0 -62
  368. package/dist/esm/models/Land.js +0 -59
  369. package/dist/esm/models/MetadataComplanPermitFields.d.ts +0 -63
  370. package/dist/esm/models/MetadataComplanPermitFields.js +0 -52
  371. package/dist/esm/models/OldPermitResponse.d.ts +0 -50
  372. package/dist/esm/models/OldPermitResponse.js +0 -46
  373. package/dist/esm/models/OldPermitSaveRequest.d.ts +0 -50
  374. package/dist/esm/models/OldPermitSaveRequest.js +0 -47
  375. package/dist/esm/models/Owner.d.ts +0 -135
  376. package/dist/esm/models/Owner.js +0 -102
  377. package/dist/esm/models/PANResult.d.ts +0 -38
  378. package/dist/esm/models/PANResult.js +0 -43
  379. package/dist/esm/models/PansList.d.ts +0 -32
  380. package/dist/esm/models/PansList.js +0 -41
  381. package/dist/esm/models/Permit.d.ts +0 -68
  382. package/dist/esm/models/Permit.js +0 -61
  383. package/dist/esm/models/PermitAppealStatus.d.ts +0 -30
  384. package/dist/esm/models/PermitAppealStatus.js +0 -48
  385. package/dist/esm/models/PermitDocumentExists.d.ts +0 -38
  386. package/dist/esm/models/PermitDocumentExists.js +0 -43
  387. package/dist/esm/models/PermitInformation.d.ts +0 -170
  388. package/dist/esm/models/PermitInformation.js +0 -87
  389. package/dist/esm/models/PermitSearchRequest.d.ts +0 -139
  390. package/dist/esm/models/PermitSearchRequest.js +0 -80
  391. package/dist/esm/models/PermitStatus.d.ts +0 -38
  392. package/dist/esm/models/PermitStatus.js +0 -56
  393. package/dist/esm/models/PermitType.d.ts +0 -37
  394. package/dist/esm/models/PermitType.js +0 -55
  395. package/dist/esm/models/PlatFilenameAndDescription.d.ts +0 -38
  396. package/dist/esm/models/PlatFilenameAndDescription.js +0 -43
  397. package/dist/esm/models/PrimaryStructure.d.ts +0 -106
  398. package/dist/esm/models/PrimaryStructure.js +0 -69
  399. package/dist/esm/models/ProblemDetails.d.ts +0 -57
  400. package/dist/esm/models/ProblemDetails.js +0 -51
  401. package/dist/esm/models/PropertyComment.d.ts +0 -32
  402. package/dist/esm/models/PropertyComment.js +0 -41
  403. package/dist/esm/models/PropertyOwner.d.ts +0 -38
  404. package/dist/esm/models/PropertyOwner.js +0 -43
  405. package/dist/esm/models/PropertyRelation.d.ts +0 -44
  406. package/dist/esm/models/PropertyRelation.js +0 -45
  407. package/dist/esm/models/PropertyResponse.d.ts +0 -172
  408. package/dist/esm/models/PropertyResponse.js +0 -99
  409. package/dist/esm/models/PropertySections.d.ts +0 -42
  410. package/dist/esm/models/PropertySections.js +0 -60
  411. package/dist/esm/models/RecentZoningPermit.d.ts +0 -68
  412. package/dist/esm/models/RecentZoningPermit.js +0 -53
  413. package/dist/esm/models/RezoneHistory.d.ts +0 -164
  414. package/dist/esm/models/RezoneHistory.js +0 -95
  415. package/dist/esm/models/SearchOptions.d.ts +0 -38
  416. package/dist/esm/models/SearchOptions.js +0 -43
  417. package/dist/esm/models/SearchRequest.d.ts +0 -81
  418. package/dist/esm/models/SearchRequest.js +0 -58
  419. package/dist/esm/models/SearchResult.d.ts +0 -95
  420. package/dist/esm/models/SearchResult.js +0 -62
  421. package/dist/esm/models/SecondaryStructure.d.ts +0 -68
  422. package/dist/esm/models/SecondaryStructure.js +0 -53
  423. package/dist/esm/models/Section.d.ts +0 -99
  424. package/dist/esm/models/Section.js +0 -68
  425. package/dist/esm/models/Sections.d.ts +0 -39
  426. package/dist/esm/models/Sections.js +0 -44
  427. package/dist/esm/models/ServiceAreas.d.ts +0 -38
  428. package/dist/esm/models/ServiceAreas.js +0 -43
  429. package/dist/esm/models/SitusAddress.d.ts +0 -32
  430. package/dist/esm/models/SitusAddress.js +0 -41
  431. package/dist/esm/models/SketchBuilding.d.ts +0 -39
  432. package/dist/esm/models/SketchBuilding.js +0 -48
  433. package/dist/esm/models/SketchPoint.d.ts +0 -38
  434. package/dist/esm/models/SketchPoint.js +0 -47
  435. package/dist/esm/models/SketchSection.d.ts +0 -39
  436. package/dist/esm/models/SketchSection.js +0 -48
  437. package/dist/esm/models/SortCategories.d.ts +0 -28
  438. package/dist/esm/models/SortCategories.js +0 -46
  439. package/dist/esm/models/SortDirection.d.ts +0 -25
  440. package/dist/esm/models/SortDirection.js +0 -43
  441. package/dist/esm/models/SpecialFieldInstruction.d.ts +0 -74
  442. package/dist/esm/models/SpecialFieldInstruction.js +0 -65
  443. package/dist/esm/models/Structures.d.ts +0 -40
  444. package/dist/esm/models/Structures.js +0 -45
  445. package/dist/esm/models/SyncErrorCode.d.ts +0 -27
  446. package/dist/esm/models/SyncErrorCode.js +0 -45
  447. package/dist/esm/models/TaxArea.d.ts +0 -27
  448. package/dist/esm/models/TaxArea.js +0 -45
  449. package/dist/esm/models/TaxAuthority.d.ts +0 -44
  450. package/dist/esm/models/TaxAuthority.js +0 -51
  451. package/dist/esm/models/TaxDetailsBreakdown.d.ts +0 -45
  452. package/dist/esm/models/TaxDetailsBreakdown.js +0 -50
  453. package/dist/esm/models/TaxDetailsBreakdownArea.d.ts +0 -59
  454. package/dist/esm/models/TaxDetailsBreakdownArea.js +0 -62
  455. package/dist/esm/models/TaxExemption.d.ts +0 -38
  456. package/dist/esm/models/TaxExemption.js +0 -47
  457. package/dist/esm/models/TaxHistory.d.ts +0 -284
  458. package/dist/esm/models/TaxHistory.js +0 -139
  459. package/dist/esm/models/TaxMessageDisplay.d.ts +0 -38
  460. package/dist/esm/models/TaxMessageDisplay.js +0 -47
  461. package/dist/esm/models/TaxMessageUpdate.d.ts +0 -56
  462. package/dist/esm/models/TaxMessageUpdate.js +0 -59
  463. package/dist/esm/models/TaxationAreas.d.ts +0 -51
  464. package/dist/esm/models/TaxationAreas.js +0 -56
  465. package/dist/esm/models/TentativeValue.d.ts +0 -56
  466. package/dist/esm/models/TentativeValue.js +0 -49
  467. package/dist/esm/models/WebTaxesDetailedInfo.d.ts +0 -338
  468. package/dist/esm/models/WebTaxesDetailedInfo.js +0 -211
  469. package/dist/esm/models/WebTaxesInfo.d.ts +0 -86
  470. package/dist/esm/models/WebTaxesInfo.js +0 -79
  471. package/dist/esm/models/ZoneInfoResponse.d.ts +0 -39
  472. package/dist/esm/models/ZoneInfoResponse.js +0 -48
  473. package/dist/esm/models/ZoneInfoResponseApiResponse.d.ts +0 -52
  474. package/dist/esm/models/ZoneInfoResponseApiResponse.js +0 -49
  475. package/dist/esm/models/ZoneSegment.d.ts +0 -50
  476. package/dist/esm/models/ZoneSegment.js +0 -55
  477. package/dist/esm/models/index.d.ts +0 -92
  478. package/dist/esm/models/index.js +0 -94
  479. package/dist/esm/runtime.d.ts +0 -186
  480. package/dist/esm/runtime.js +0 -354
@@ -1,186 +0,0 @@
1
- /**
2
- * Property Search
3
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
- *
5
- * The version of the OpenAPI document: 1.24.0
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import { type ApiError } from "./models";
13
- export declare const BASE_PATH: string;
14
- export interface ConfigurationParameters {
15
- basePath?: string;
16
- fetchApi?: FetchAPI;
17
- middleware?: Middleware[];
18
- queryParamsStringify?: (params: HTTPQuery) => string;
19
- username?: string;
20
- password?: string;
21
- apiKey?: string | Promise<string> | ((name: string) => string | Promise<string>);
22
- accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string | Promise<string>);
23
- headers?: HTTPHeaders;
24
- credentials?: RequestCredentials;
25
- }
26
- export declare class Configuration {
27
- private configuration;
28
- constructor(configuration?: ConfigurationParameters);
29
- set config(configuration: Configuration);
30
- get basePath(): string;
31
- get fetchApi(): FetchAPI | undefined;
32
- get middleware(): Middleware[];
33
- get queryParamsStringify(): (params: HTTPQuery) => string;
34
- get username(): string | undefined;
35
- get password(): string | undefined;
36
- get apiKey(): ((name: string) => string | Promise<string>) | undefined;
37
- get accessToken(): ((name?: string, scopes?: string[]) => string | Promise<string>) | undefined;
38
- get headers(): HTTPHeaders | undefined;
39
- get credentials(): RequestCredentials | undefined;
40
- }
41
- export declare const DefaultConfig: Configuration;
42
- /**
43
- * This is the base class for all generated API classes.
44
- */
45
- export declare class BaseAPI {
46
- protected configuration: Configuration;
47
- private static readonly jsonRegex;
48
- private middleware;
49
- constructor(configuration?: Configuration);
50
- withMiddleware<T extends BaseAPI>(this: T, ...middlewares: Middleware[]): T;
51
- withPreMiddleware<T extends BaseAPI>(this: T, ...preMiddlewares: Array<Middleware['pre']>): T;
52
- withPostMiddleware<T extends BaseAPI>(this: T, ...postMiddlewares: Array<Middleware['post']>): T;
53
- /**
54
- * Check if the given MIME is a JSON MIME.
55
- * JSON MIME examples:
56
- * application/json
57
- * application/json; charset=UTF8
58
- * APPLICATION/JSON
59
- * application/vnd.company+json
60
- * @param mime - MIME (Multipurpose Internet Mail Extensions)
61
- * @return True if the given MIME is JSON, false otherwise.
62
- */
63
- protected isJsonMime(mime: string | null | undefined): boolean;
64
- protected request(context: RequestOpts, initOverrides?: RequestInit | InitOverrideFunction): Promise<Response>;
65
- private parseErrorBody;
66
- private createFetchParams;
67
- private fetchApi;
68
- /**
69
- * Create a shallow clone of `this` by constructing a new instance
70
- * and then shallow cloning data members.
71
- */
72
- private clone;
73
- }
74
- export declare class ResponseError extends Error {
75
- response: Response;
76
- name: "ResponseError";
77
- status: number;
78
- apiError?: ApiError;
79
- constructor(response: Response, msg?: string, json?: any);
80
- }
81
- export declare class FetchError extends Error {
82
- cause: Error;
83
- name: "FetchError";
84
- constructor(cause: Error, msg?: string);
85
- }
86
- export declare class RequiredError extends Error {
87
- field: string;
88
- name: "RequiredError";
89
- constructor(field: string, msg?: string);
90
- }
91
- export declare const COLLECTION_FORMATS: {
92
- csv: string;
93
- ssv: string;
94
- tsv: string;
95
- pipes: string;
96
- };
97
- export type FetchAPI = WindowOrWorkerGlobalScope['fetch'];
98
- export type Json = any;
99
- export type HTTPMethod = 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE' | 'OPTIONS' | 'HEAD';
100
- export type HTTPHeaders = {
101
- [key: string]: string;
102
- };
103
- export type HTTPQuery = {
104
- [key: string]: string | number | null | boolean | Array<string | number | null | boolean> | Set<string | number | null | boolean> | HTTPQuery;
105
- };
106
- export type HTTPBody = Json | FormData | URLSearchParams;
107
- export type HTTPRequestInit = {
108
- headers?: HTTPHeaders;
109
- method: HTTPMethod;
110
- credentials?: RequestCredentials;
111
- body?: HTTPBody;
112
- };
113
- export type ModelPropertyNaming = 'camelCase' | 'snake_case' | 'PascalCase' | 'original';
114
- export type InitOverrideFunction = (requestContext: {
115
- init: HTTPRequestInit;
116
- context: RequestOpts;
117
- }) => Promise<RequestInit>;
118
- export interface FetchParams {
119
- url: string;
120
- init: RequestInit;
121
- }
122
- export interface RequestOpts {
123
- path: string;
124
- method: HTTPMethod;
125
- headers: HTTPHeaders;
126
- query?: HTTPQuery;
127
- body?: HTTPBody;
128
- }
129
- export declare function querystring(params: HTTPQuery, prefix?: string): string;
130
- export declare function exists(json: any, key: string): boolean;
131
- export declare function mapValues(data: any, fn: (item: any) => any): {};
132
- export declare function canConsumeForm(consumes: Consume[]): boolean;
133
- export interface Consume {
134
- contentType: string;
135
- }
136
- export interface RequestContext {
137
- fetch: FetchAPI;
138
- url: string;
139
- init: RequestInit;
140
- }
141
- export interface ResponseContext {
142
- fetch: FetchAPI;
143
- url: string;
144
- init: RequestInit;
145
- response: Response;
146
- }
147
- export interface ErrorContext {
148
- fetch: FetchAPI;
149
- url: string;
150
- init: RequestInit;
151
- error: unknown;
152
- response?: Response;
153
- }
154
- export interface Middleware {
155
- pre?(context: RequestContext): Promise<FetchParams | void>;
156
- post?(context: ResponseContext): Promise<Response | void>;
157
- onError?(context: ErrorContext): Promise<Response | void>;
158
- }
159
- export interface ApiResponse<T> {
160
- raw: Response;
161
- value(): Promise<T>;
162
- }
163
- export interface ResponseTransformer<T> {
164
- (json: any): T;
165
- }
166
- export declare class JSONApiResponse<T> {
167
- raw: Response;
168
- private transformer;
169
- constructor(raw: Response, transformer?: ResponseTransformer<T>);
170
- value(): Promise<T>;
171
- }
172
- export declare class VoidApiResponse {
173
- raw: Response;
174
- constructor(raw: Response);
175
- value(): Promise<void>;
176
- }
177
- export declare class BlobApiResponse {
178
- raw: Response;
179
- constructor(raw: Response);
180
- value(): Promise<Blob>;
181
- }
182
- export declare class TextApiResponse {
183
- raw: Response;
184
- constructor(raw: Response);
185
- value(): Promise<string>;
186
- }
@@ -1,354 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Property Search
5
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
- *
7
- * The version of the OpenAPI document: 1.24.0
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- import { ApiErrorFromJSON, instanceOfApiError, } from "./models";
15
- export const BASE_PATH = "http://localhost".replace(/\/+$/, "");
16
- export class Configuration {
17
- configuration;
18
- constructor(configuration = {}) {
19
- this.configuration = configuration;
20
- }
21
- set config(configuration) {
22
- this.configuration = configuration;
23
- }
24
- get basePath() {
25
- return this.configuration.basePath != null ? this.configuration.basePath : BASE_PATH;
26
- }
27
- get fetchApi() {
28
- return this.configuration.fetchApi;
29
- }
30
- get middleware() {
31
- return this.configuration.middleware || [];
32
- }
33
- get queryParamsStringify() {
34
- return this.configuration.queryParamsStringify || querystring;
35
- }
36
- get username() {
37
- return this.configuration.username;
38
- }
39
- get password() {
40
- return this.configuration.password;
41
- }
42
- get apiKey() {
43
- const apiKey = this.configuration.apiKey;
44
- if (apiKey) {
45
- return typeof apiKey === 'function' ? apiKey : () => apiKey;
46
- }
47
- return undefined;
48
- }
49
- get accessToken() {
50
- const accessToken = this.configuration.accessToken;
51
- if (accessToken) {
52
- return typeof accessToken === 'function' ? accessToken : async () => accessToken;
53
- }
54
- return undefined;
55
- }
56
- get headers() {
57
- return this.configuration.headers;
58
- }
59
- get credentials() {
60
- return this.configuration.credentials;
61
- }
62
- }
63
- export const DefaultConfig = new Configuration();
64
- /**
65
- * This is the base class for all generated API classes.
66
- */
67
- export class BaseAPI {
68
- configuration;
69
- static jsonRegex = new RegExp('^(:?application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(:?;.*)?$', 'i');
70
- middleware;
71
- constructor(configuration = DefaultConfig) {
72
- this.configuration = configuration;
73
- this.middleware = configuration.middleware;
74
- }
75
- withMiddleware(...middlewares) {
76
- const next = this.clone();
77
- next.middleware = next.middleware.concat(...middlewares);
78
- return next;
79
- }
80
- withPreMiddleware(...preMiddlewares) {
81
- const middlewares = preMiddlewares.map((pre) => ({ pre }));
82
- return this.withMiddleware(...middlewares);
83
- }
84
- withPostMiddleware(...postMiddlewares) {
85
- const middlewares = postMiddlewares.map((post) => ({ post }));
86
- return this.withMiddleware(...middlewares);
87
- }
88
- /**
89
- * Check if the given MIME is a JSON MIME.
90
- * JSON MIME examples:
91
- * application/json
92
- * application/json; charset=UTF8
93
- * APPLICATION/JSON
94
- * application/vnd.company+json
95
- * @param mime - MIME (Multipurpose Internet Mail Extensions)
96
- * @return True if the given MIME is JSON, false otherwise.
97
- */
98
- isJsonMime(mime) {
99
- if (!mime) {
100
- return false;
101
- }
102
- return BaseAPI.jsonRegex.test(mime);
103
- }
104
- async request(context, initOverrides) {
105
- const { url, init } = await this.createFetchParams(context, initOverrides);
106
- const response = await this.fetchApi(url, init);
107
- if (response && (response.status >= 200 && response.status < 300)) {
108
- return response;
109
- }
110
- throw new ResponseError(response, "Response returned an error code", await this.parseErrorBody(response));
111
- }
112
- // Some endpoints return an empty body on errors like 404, which should still
113
- // surface as ResponseError instead of a JSON parse failure.
114
- async parseErrorBody(response) {
115
- const contentType = response.headers.get("content-type");
116
- if (!this.isJsonMime(contentType)) {
117
- return undefined;
118
- }
119
- try {
120
- const text = await response.clone().text();
121
- if (text.trim() === "") {
122
- return undefined;
123
- }
124
- return JSON.parse(text);
125
- }
126
- catch {
127
- return undefined;
128
- }
129
- }
130
- async createFetchParams(context, initOverrides) {
131
- let url = this.configuration.basePath + context.path;
132
- if (context.query !== undefined && Object.keys(context.query).length !== 0) {
133
- // only add the querystring to the URL if there are query parameters.
134
- // this is done to avoid urls ending with a "?" character which buggy webservers
135
- // do not handle correctly sometimes.
136
- url += '?' + this.configuration.queryParamsStringify(context.query);
137
- }
138
- const headers = Object.assign({}, this.configuration.headers, context.headers);
139
- Object.keys(headers).forEach(key => headers[key] === undefined ? delete headers[key] : {});
140
- const initOverrideFn = typeof initOverrides === "function"
141
- ? initOverrides
142
- : async () => initOverrides;
143
- const initParams = {
144
- method: context.method,
145
- headers,
146
- body: context.body,
147
- credentials: this.configuration.credentials,
148
- };
149
- const overriddenInit = {
150
- ...initParams,
151
- ...(await initOverrideFn({
152
- init: initParams,
153
- context,
154
- }))
155
- };
156
- let body;
157
- if (isFormData(overriddenInit.body)
158
- || (overriddenInit.body instanceof URLSearchParams)
159
- || isBlob(overriddenInit.body)) {
160
- body = overriddenInit.body;
161
- }
162
- else if (this.isJsonMime(headers['Content-Type'])) {
163
- body = JSON.stringify(overriddenInit.body);
164
- }
165
- else {
166
- body = overriddenInit.body;
167
- }
168
- const init = {
169
- ...overriddenInit,
170
- body
171
- };
172
- return { url, init };
173
- }
174
- fetchApi = async (url, init) => {
175
- let fetchParams = { url, init };
176
- for (const middleware of this.middleware) {
177
- if (middleware.pre) {
178
- fetchParams = await middleware.pre({
179
- fetch: this.fetchApi,
180
- ...fetchParams,
181
- }) || fetchParams;
182
- }
183
- }
184
- let response = undefined;
185
- try {
186
- response = await (this.configuration.fetchApi || fetch)(fetchParams.url, fetchParams.init);
187
- }
188
- catch (e) {
189
- for (const middleware of this.middleware) {
190
- if (middleware.onError) {
191
- response = await middleware.onError({
192
- fetch: this.fetchApi,
193
- url: fetchParams.url,
194
- init: fetchParams.init,
195
- error: e,
196
- response: response ? response.clone() : undefined,
197
- }) || response;
198
- }
199
- }
200
- if (response === undefined) {
201
- if (e instanceof Error) {
202
- throw new FetchError(e, 'The request failed and the interceptors did not return an alternative response');
203
- }
204
- else {
205
- throw e;
206
- }
207
- }
208
- }
209
- for (const middleware of this.middleware) {
210
- if (middleware.post) {
211
- response = await middleware.post({
212
- fetch: this.fetchApi,
213
- url: fetchParams.url,
214
- init: fetchParams.init,
215
- response: response.clone(),
216
- }) || response;
217
- }
218
- }
219
- return response;
220
- };
221
- /**
222
- * Create a shallow clone of `this` by constructing a new instance
223
- * and then shallow cloning data members.
224
- */
225
- clone() {
226
- const constructor = this.constructor;
227
- const next = new constructor(this.configuration);
228
- next.middleware = this.middleware.slice();
229
- return next;
230
- }
231
- }
232
- ;
233
- function isBlob(value) {
234
- return typeof Blob !== 'undefined' && value instanceof Blob;
235
- }
236
- function isFormData(value) {
237
- return typeof FormData !== "undefined" && value instanceof FormData;
238
- }
239
- export class ResponseError extends Error {
240
- response;
241
- name = "ResponseError";
242
- status;
243
- apiError;
244
- constructor(response, msg, json) {
245
- super(msg);
246
- this.response = response;
247
- this.status = response.status;
248
- if (json && instanceOfApiError(json)) {
249
- this.apiError = ApiErrorFromJSON(json);
250
- }
251
- }
252
- }
253
- export class FetchError extends Error {
254
- cause;
255
- name = "FetchError";
256
- constructor(cause, msg) {
257
- super(msg);
258
- this.cause = cause;
259
- }
260
- }
261
- export class RequiredError extends Error {
262
- field;
263
- name = "RequiredError";
264
- constructor(field, msg) {
265
- super(msg);
266
- this.field = field;
267
- }
268
- }
269
- export const COLLECTION_FORMATS = {
270
- csv: ",",
271
- ssv: " ",
272
- tsv: "\t",
273
- pipes: "|",
274
- };
275
- export function querystring(params, prefix = '') {
276
- return Object.keys(params)
277
- .map(key => querystringSingleKey(key, params[key], prefix))
278
- .filter(part => part.length > 0)
279
- .join('&');
280
- }
281
- function querystringSingleKey(key, value, keyPrefix = '') {
282
- const fullKey = keyPrefix + (keyPrefix.length ? `[${key}]` : key);
283
- if (value instanceof Array) {
284
- const multiValue = value.map(singleValue => encodeURIComponent(String(singleValue)))
285
- .join(`&${encodeURIComponent(fullKey)}=`);
286
- return `${encodeURIComponent(fullKey)}=${multiValue}`;
287
- }
288
- if (value instanceof Set) {
289
- const valueAsArray = Array.from(value);
290
- return querystringSingleKey(key, valueAsArray, keyPrefix);
291
- }
292
- if (value instanceof Date) {
293
- return `${encodeURIComponent(fullKey)}=${encodeURIComponent(value.toISOString())}`;
294
- }
295
- if (value instanceof Object) {
296
- return querystring(value, fullKey);
297
- }
298
- return `${encodeURIComponent(fullKey)}=${encodeURIComponent(String(value))}`;
299
- }
300
- export function exists(json, key) {
301
- const value = json[key];
302
- return value !== null && value !== undefined;
303
- }
304
- export function mapValues(data, fn) {
305
- return Object.keys(data).reduce((acc, key) => ({ ...acc, [key]: fn(data[key]) }), {});
306
- }
307
- export function canConsumeForm(consumes) {
308
- for (const consume of consumes) {
309
- if ('multipart/form-data' === consume.contentType) {
310
- return true;
311
- }
312
- }
313
- return false;
314
- }
315
- export class JSONApiResponse {
316
- raw;
317
- transformer;
318
- constructor(raw, transformer = (jsonValue) => jsonValue) {
319
- this.raw = raw;
320
- this.transformer = transformer;
321
- }
322
- async value() {
323
- return this.transformer(await this.raw.json());
324
- }
325
- }
326
- export class VoidApiResponse {
327
- raw;
328
- constructor(raw) {
329
- this.raw = raw;
330
- }
331
- async value() {
332
- return undefined;
333
- }
334
- }
335
- export class BlobApiResponse {
336
- raw;
337
- constructor(raw) {
338
- this.raw = raw;
339
- }
340
- async value() {
341
- return await this.raw.blob();
342
- }
343
- ;
344
- }
345
- export class TextApiResponse {
346
- raw;
347
- constructor(raw) {
348
- this.raw = raw;
349
- }
350
- async value() {
351
- return await this.raw.text();
352
- }
353
- ;
354
- }