@tryfinch/finch-api 6.30.0 → 7.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (902) hide show
  1. package/CHANGELOG.md +320 -0
  2. package/README.md +129 -68
  3. package/api-promise.d.mts +2 -0
  4. package/api-promise.d.mts.map +1 -0
  5. package/api-promise.d.ts +2 -0
  6. package/api-promise.d.ts.map +1 -0
  7. package/api-promise.js +6 -0
  8. package/api-promise.js.map +1 -0
  9. package/api-promise.mjs +2 -0
  10. package/api-promise.mjs.map +1 -0
  11. package/bin/cli +53 -0
  12. package/bin/migration-config.json +6 -0
  13. package/client.d.mts +258 -0
  14. package/client.d.mts.map +1 -0
  15. package/client.d.ts +258 -0
  16. package/client.d.ts.map +1 -0
  17. package/client.js +553 -0
  18. package/client.js.map +1 -0
  19. package/client.mjs +549 -0
  20. package/client.mjs.map +1 -0
  21. package/core/api-promise.d.mts +46 -0
  22. package/core/api-promise.d.mts.map +1 -0
  23. package/core/api-promise.d.ts +46 -0
  24. package/core/api-promise.d.ts.map +1 -0
  25. package/core/api-promise.js +74 -0
  26. package/core/api-promise.js.map +1 -0
  27. package/core/api-promise.mjs +70 -0
  28. package/core/api-promise.mjs.map +1 -0
  29. package/core/error.d.mts +46 -0
  30. package/core/error.d.mts.map +1 -0
  31. package/core/error.d.ts +46 -0
  32. package/core/error.d.ts.map +1 -0
  33. package/core/error.js +113 -0
  34. package/core/error.js.map +1 -0
  35. package/core/error.mjs +97 -0
  36. package/core/error.mjs.map +1 -0
  37. package/core/pagination.d.mts +105 -0
  38. package/core/pagination.d.mts.map +1 -0
  39. package/core/pagination.d.ts +105 -0
  40. package/core/pagination.d.ts.map +1 -0
  41. package/core/pagination.js +163 -0
  42. package/core/pagination.js.map +1 -0
  43. package/core/pagination.mjs +154 -0
  44. package/core/pagination.mjs.map +1 -0
  45. package/core/resource.d.mts +6 -0
  46. package/core/resource.d.mts.map +1 -0
  47. package/core/resource.d.ts +6 -0
  48. package/core/resource.d.ts.map +1 -0
  49. package/core/resource.js +11 -0
  50. package/core/resource.js.map +1 -0
  51. package/core/resource.mjs +7 -0
  52. package/core/resource.mjs.map +1 -0
  53. package/core/uploads.d.mts +3 -0
  54. package/core/uploads.d.mts.map +1 -0
  55. package/core/uploads.d.ts +3 -0
  56. package/core/uploads.d.ts.map +1 -0
  57. package/core/uploads.js +6 -0
  58. package/core/uploads.js.map +1 -0
  59. package/core/uploads.mjs +2 -0
  60. package/core/uploads.mjs.map +1 -0
  61. package/error.d.mts +2 -0
  62. package/error.d.mts.map +1 -0
  63. package/error.d.ts +1 -46
  64. package/error.d.ts.map +1 -1
  65. package/error.js +3 -110
  66. package/error.js.map +1 -1
  67. package/error.mjs +1 -96
  68. package/error.mjs.map +1 -1
  69. package/index.d.mts +7 -197
  70. package/index.d.mts.map +1 -0
  71. package/index.d.ts +6 -196
  72. package/index.d.ts.map +1 -1
  73. package/index.js +14 -235
  74. package/index.js.map +1 -1
  75. package/index.mjs +6 -208
  76. package/index.mjs.map +1 -1
  77. package/internal/builtin-types.d.mts +73 -0
  78. package/internal/builtin-types.d.mts.map +1 -0
  79. package/internal/builtin-types.d.ts +73 -0
  80. package/internal/builtin-types.d.ts.map +1 -0
  81. package/internal/builtin-types.js +4 -0
  82. package/internal/builtin-types.js.map +1 -0
  83. package/internal/builtin-types.mjs +3 -0
  84. package/internal/builtin-types.mjs.map +1 -0
  85. package/internal/detect-platform.d.mts +15 -0
  86. package/internal/detect-platform.d.mts.map +1 -0
  87. package/internal/detect-platform.d.ts +15 -0
  88. package/internal/detect-platform.d.ts.map +1 -0
  89. package/internal/detect-platform.js +162 -0
  90. package/internal/detect-platform.js.map +1 -0
  91. package/internal/detect-platform.mjs +157 -0
  92. package/internal/detect-platform.mjs.map +1 -0
  93. package/internal/errors.d.mts +3 -0
  94. package/internal/errors.d.mts.map +1 -0
  95. package/internal/errors.d.ts +3 -0
  96. package/internal/errors.d.ts.map +1 -0
  97. package/internal/errors.js +41 -0
  98. package/internal/errors.js.map +1 -0
  99. package/internal/errors.mjs +36 -0
  100. package/internal/errors.mjs.map +1 -0
  101. package/internal/headers.d.mts +26 -0
  102. package/internal/headers.d.mts.map +1 -0
  103. package/internal/headers.d.ts +26 -0
  104. package/internal/headers.d.ts.map +1 -0
  105. package/internal/headers.js +120 -0
  106. package/internal/headers.js.map +1 -0
  107. package/internal/headers.mjs +112 -0
  108. package/internal/headers.mjs.map +1 -0
  109. package/internal/parse.d.mts +12 -0
  110. package/internal/parse.d.mts.map +1 -0
  111. package/internal/parse.d.ts +12 -0
  112. package/internal/parse.d.ts.map +1 -0
  113. package/internal/parse.js +35 -0
  114. package/internal/parse.js.map +1 -0
  115. package/internal/parse.mjs +32 -0
  116. package/internal/parse.mjs.map +1 -0
  117. package/internal/qs/formats.d.mts +7 -0
  118. package/internal/qs/formats.d.mts.map +1 -0
  119. package/internal/qs/formats.d.ts +1 -0
  120. package/internal/qs/formats.d.ts.map +1 -1
  121. package/internal/qs/formats.js +4 -2
  122. package/internal/qs/formats.js.map +1 -1
  123. package/internal/qs/formats.mjs +2 -1
  124. package/internal/qs/formats.mjs.map +1 -1
  125. package/internal/qs/index.d.mts +10 -0
  126. package/internal/qs/index.d.mts.map +1 -0
  127. package/internal/qs/index.d.ts.map +1 -1
  128. package/internal/qs/stringify.d.mts +3 -0
  129. package/internal/qs/stringify.d.mts.map +1 -0
  130. package/internal/qs/stringify.d.ts.map +1 -1
  131. package/internal/qs/stringify.js +16 -19
  132. package/internal/qs/stringify.js.map +1 -1
  133. package/internal/qs/stringify.mjs +17 -19
  134. package/internal/qs/stringify.mjs.map +1 -1
  135. package/internal/qs/types.d.mts +57 -0
  136. package/internal/qs/types.d.mts.map +1 -0
  137. package/internal/qs/utils.d.mts +15 -0
  138. package/internal/qs/utils.d.mts.map +1 -0
  139. package/internal/qs/utils.d.ts +1 -0
  140. package/internal/qs/utils.d.ts.map +1 -1
  141. package/internal/qs/utils.js +22 -21
  142. package/internal/qs/utils.js.map +1 -1
  143. package/internal/qs/utils.mjs +12 -12
  144. package/internal/qs/utils.mjs.map +1 -1
  145. package/internal/request-options.d.mts +75 -0
  146. package/internal/request-options.d.mts.map +1 -0
  147. package/internal/request-options.d.ts +75 -0
  148. package/internal/request-options.d.ts.map +1 -0
  149. package/internal/request-options.js +14 -0
  150. package/internal/request-options.js.map +1 -0
  151. package/internal/request-options.mjs +10 -0
  152. package/internal/request-options.mjs.map +1 -0
  153. package/internal/shim-types.d.mts +17 -0
  154. package/internal/shim-types.d.mts.map +1 -0
  155. package/internal/shim-types.d.ts +17 -0
  156. package/internal/shim-types.d.ts.map +1 -0
  157. package/internal/shim-types.js +4 -0
  158. package/internal/shim-types.js.map +1 -0
  159. package/internal/shim-types.mjs +3 -0
  160. package/internal/shim-types.mjs.map +1 -0
  161. package/internal/shims.d.mts +20 -0
  162. package/internal/shims.d.mts.map +1 -0
  163. package/internal/shims.d.ts +20 -0
  164. package/internal/shims.d.ts.map +1 -0
  165. package/internal/shims.js +92 -0
  166. package/internal/shims.js.map +1 -0
  167. package/internal/shims.mjs +85 -0
  168. package/internal/shims.mjs.map +1 -0
  169. package/internal/to-file.d.mts +45 -0
  170. package/internal/to-file.d.mts.map +1 -0
  171. package/internal/to-file.d.ts +45 -0
  172. package/internal/to-file.d.ts.map +1 -0
  173. package/internal/to-file.js +91 -0
  174. package/internal/to-file.js.map +1 -0
  175. package/internal/to-file.mjs +88 -0
  176. package/internal/to-file.mjs.map +1 -0
  177. package/internal/tslib.js +81 -0
  178. package/internal/tslib.mjs +17 -0
  179. package/internal/types.d.mts +69 -0
  180. package/internal/types.d.mts.map +1 -0
  181. package/internal/types.d.ts +69 -0
  182. package/internal/types.d.ts.map +1 -0
  183. package/internal/types.js +4 -0
  184. package/internal/types.js.map +1 -0
  185. package/internal/types.mjs +3 -0
  186. package/internal/types.mjs.map +1 -0
  187. package/internal/uploads.d.mts +42 -0
  188. package/internal/uploads.d.mts.map +1 -0
  189. package/internal/uploads.d.ts +42 -0
  190. package/internal/uploads.d.ts.map +1 -0
  191. package/internal/uploads.js +141 -0
  192. package/internal/uploads.js.map +1 -0
  193. package/internal/uploads.mjs +131 -0
  194. package/internal/uploads.mjs.map +1 -0
  195. package/internal/utils/base64.d.mts +3 -0
  196. package/internal/utils/base64.d.mts.map +1 -0
  197. package/internal/utils/base64.d.ts +3 -0
  198. package/internal/utils/base64.d.ts.map +1 -0
  199. package/internal/utils/base64.js +38 -0
  200. package/internal/utils/base64.js.map +1 -0
  201. package/internal/utils/base64.mjs +33 -0
  202. package/internal/utils/base64.mjs.map +1 -0
  203. package/internal/utils/bytes.d.mts +4 -0
  204. package/internal/utils/bytes.d.mts.map +1 -0
  205. package/internal/utils/bytes.d.ts +4 -0
  206. package/internal/utils/bytes.d.ts.map +1 -0
  207. package/internal/utils/bytes.js +31 -0
  208. package/internal/utils/bytes.js.map +1 -0
  209. package/internal/utils/bytes.mjs +26 -0
  210. package/internal/utils/bytes.mjs.map +1 -0
  211. package/internal/utils/env.d.mts +9 -0
  212. package/internal/utils/env.d.mts.map +1 -0
  213. package/internal/utils/env.d.ts +9 -0
  214. package/internal/utils/env.d.ts.map +1 -0
  215. package/internal/utils/env.js +22 -0
  216. package/internal/utils/env.js.map +1 -0
  217. package/internal/utils/env.mjs +18 -0
  218. package/internal/utils/env.mjs.map +1 -0
  219. package/internal/utils/log.d.mts +37 -0
  220. package/internal/utils/log.d.mts.map +1 -0
  221. package/internal/utils/log.d.ts +37 -0
  222. package/internal/utils/log.d.ts.map +1 -0
  223. package/internal/utils/log.js +85 -0
  224. package/internal/utils/log.js.map +1 -0
  225. package/internal/utils/log.mjs +79 -0
  226. package/internal/utils/log.mjs.map +1 -0
  227. package/internal/utils/path.d.mts +15 -0
  228. package/internal/utils/path.d.mts.map +1 -0
  229. package/internal/utils/path.d.ts +15 -0
  230. package/internal/utils/path.d.ts.map +1 -0
  231. package/internal/utils/path.js +79 -0
  232. package/internal/utils/path.js.map +1 -0
  233. package/internal/utils/path.mjs +74 -0
  234. package/internal/utils/path.mjs.map +1 -0
  235. package/internal/utils/sleep.d.mts +2 -0
  236. package/internal/utils/sleep.d.mts.map +1 -0
  237. package/internal/utils/sleep.d.ts +2 -0
  238. package/internal/utils/sleep.d.ts.map +1 -0
  239. package/internal/utils/sleep.js +7 -0
  240. package/internal/utils/sleep.js.map +1 -0
  241. package/internal/utils/sleep.mjs +3 -0
  242. package/internal/utils/sleep.mjs.map +1 -0
  243. package/internal/utils/uuid.d.mts +5 -0
  244. package/internal/utils/uuid.d.mts.map +1 -0
  245. package/internal/utils/uuid.d.ts +5 -0
  246. package/internal/utils/uuid.d.ts.map +1 -0
  247. package/internal/utils/uuid.js +19 -0
  248. package/internal/utils/uuid.js.map +1 -0
  249. package/internal/utils/uuid.mjs +15 -0
  250. package/internal/utils/uuid.mjs.map +1 -0
  251. package/internal/utils/values.d.mts +18 -0
  252. package/internal/utils/values.d.mts.map +1 -0
  253. package/internal/utils/values.d.ts +18 -0
  254. package/internal/utils/values.d.ts.map +1 -0
  255. package/internal/utils/values.js +112 -0
  256. package/internal/utils/values.js.map +1 -0
  257. package/internal/utils/values.mjs +94 -0
  258. package/internal/utils/values.mjs.map +1 -0
  259. package/internal/utils.d.mts +7 -0
  260. package/internal/utils.d.mts.map +1 -0
  261. package/internal/utils.d.ts +7 -0
  262. package/internal/utils.d.ts.map +1 -0
  263. package/internal/utils.js +11 -0
  264. package/internal/utils.js.map +1 -0
  265. package/internal/utils.mjs +8 -0
  266. package/internal/utils.mjs.map +1 -0
  267. package/package.json +116 -67
  268. package/pagination.d.mts +2 -0
  269. package/pagination.d.mts.map +1 -0
  270. package/pagination.d.ts +1 -79
  271. package/pagination.d.ts.map +1 -1
  272. package/pagination.js +3 -123
  273. package/pagination.js.map +1 -1
  274. package/pagination.mjs +1 -118
  275. package/pagination.mjs.map +1 -1
  276. package/resource.d.mts +2 -0
  277. package/resource.d.mts.map +1 -0
  278. package/resource.d.ts +1 -5
  279. package/resource.d.ts.map +1 -1
  280. package/resource.js +3 -8
  281. package/resource.js.map +1 -1
  282. package/resource.mjs +1 -6
  283. package/resource.mjs.map +1 -1
  284. package/resources/access-tokens.d.mts +83 -0
  285. package/resources/access-tokens.d.mts.map +1 -0
  286. package/resources/access-tokens.d.ts +42 -33
  287. package/resources/access-tokens.d.ts.map +1 -1
  288. package/resources/access-tokens.js +2 -10
  289. package/resources/access-tokens.js.map +1 -1
  290. package/resources/access-tokens.mjs +2 -10
  291. package/resources/access-tokens.mjs.map +1 -1
  292. package/resources/account.d.mts +149 -0
  293. package/resources/account.d.mts.map +1 -0
  294. package/resources/account.d.ts +73 -49
  295. package/resources/account.d.ts.map +1 -1
  296. package/resources/account.js +1 -1
  297. package/resources/account.js.map +1 -1
  298. package/resources/account.mjs +1 -1
  299. package/resources/account.mjs.map +1 -1
  300. package/resources/connect/connect.d.mts +10 -0
  301. package/resources/connect/connect.d.mts.map +1 -0
  302. package/resources/connect/connect.d.ts +1 -1
  303. package/resources/connect/connect.d.ts.map +1 -1
  304. package/resources/connect/connect.js +3 -25
  305. package/resources/connect/connect.js.map +1 -1
  306. package/resources/connect/connect.mjs +1 -1
  307. package/resources/connect/index.d.mts +3 -0
  308. package/resources/connect/index.d.mts.map +1 -0
  309. package/resources/connect/index.d.ts.map +1 -1
  310. package/resources/connect/sessions.d.mts +110 -0
  311. package/resources/connect/sessions.d.mts.map +1 -0
  312. package/resources/connect/sessions.d.ts +44 -10
  313. package/resources/connect/sessions.d.ts.map +1 -1
  314. package/resources/connect/sessions.js +1 -1
  315. package/resources/connect/sessions.js.map +1 -1
  316. package/resources/connect/sessions.mjs +1 -1
  317. package/resources/connect/sessions.mjs.map +1 -1
  318. package/resources/connect.d.mts +2 -0
  319. package/resources/connect.d.mts.map +1 -0
  320. package/resources/connect.d.ts.map +1 -1
  321. package/resources/connect.js +2 -15
  322. package/resources/connect.js.map +1 -1
  323. package/resources/hris/benefits/benefits.d.mts +298 -0
  324. package/resources/hris/benefits/benefits.d.mts.map +1 -0
  325. package/resources/hris/benefits/benefits.d.ts +103 -115
  326. package/resources/hris/benefits/benefits.d.ts.map +1 -1
  327. package/resources/hris/benefits/benefits.js +45 -54
  328. package/resources/hris/benefits/benefits.js.map +1 -1
  329. package/resources/hris/benefits/benefits.mjs +43 -28
  330. package/resources/hris/benefits/benefits.mjs.map +1 -1
  331. package/resources/hris/benefits/index.d.mts +3 -0
  332. package/resources/hris/benefits/index.d.mts.map +1 -0
  333. package/resources/hris/benefits/index.d.ts +2 -2
  334. package/resources/hris/benefits/index.d.ts.map +1 -1
  335. package/resources/hris/benefits/index.js +1 -4
  336. package/resources/hris/benefits/index.js.map +1 -1
  337. package/resources/hris/benefits/index.mjs +2 -2
  338. package/resources/hris/benefits/index.mjs.map +1 -1
  339. package/resources/hris/benefits/individuals.d.mts +288 -0
  340. package/resources/hris/benefits/individuals.d.mts.map +1 -0
  341. package/resources/hris/benefits/individuals.d.ts +145 -27
  342. package/resources/hris/benefits/individuals.d.ts.map +1 -1
  343. package/resources/hris/benefits/individuals.js +61 -26
  344. package/resources/hris/benefits/individuals.js.map +1 -1
  345. package/resources/hris/benefits/individuals.mjs +60 -24
  346. package/resources/hris/benefits/individuals.mjs.map +1 -1
  347. package/resources/hris/benefits.d.mts +2 -0
  348. package/resources/hris/benefits.d.mts.map +1 -0
  349. package/resources/hris/benefits.d.ts.map +1 -1
  350. package/resources/hris/benefits.js +2 -15
  351. package/resources/hris/benefits.js.map +1 -1
  352. package/resources/hris/company/company.d.mts +124 -0
  353. package/resources/hris/company/company.d.mts.map +1 -0
  354. package/resources/hris/company/company.d.ts +12 -5
  355. package/resources/hris/company/company.d.ts.map +1 -1
  356. package/resources/hris/company/company.js +5 -28
  357. package/resources/hris/company/company.js.map +1 -1
  358. package/resources/hris/company/company.mjs +4 -5
  359. package/resources/hris/company/company.mjs.map +1 -1
  360. package/resources/hris/company/index.d.mts +3 -0
  361. package/resources/hris/company/index.d.mts.map +1 -0
  362. package/resources/hris/company/index.d.ts +2 -2
  363. package/resources/hris/company/index.d.ts.map +1 -1
  364. package/resources/hris/company/index.js +1 -2
  365. package/resources/hris/company/index.js.map +1 -1
  366. package/resources/hris/company/index.mjs +1 -1
  367. package/resources/hris/company/index.mjs.map +1 -1
  368. package/resources/hris/company/pay-statement-item/index.d.mts +3 -0
  369. package/resources/hris/company/pay-statement-item/index.d.mts.map +1 -0
  370. package/resources/hris/company/pay-statement-item/index.d.ts +2 -2
  371. package/resources/hris/company/pay-statement-item/index.d.ts.map +1 -1
  372. package/resources/hris/company/pay-statement-item/index.js +1 -3
  373. package/resources/hris/company/pay-statement-item/index.js.map +1 -1
  374. package/resources/hris/company/pay-statement-item/index.mjs +2 -2
  375. package/resources/hris/company/pay-statement-item/index.mjs.map +1 -1
  376. package/resources/hris/company/pay-statement-item/pay-statement-item.d.mts +99 -0
  377. package/resources/hris/company/pay-statement-item/pay-statement-item.d.mts.map +1 -0
  378. package/resources/hris/company/pay-statement-item/pay-statement-item.d.ts +22 -18
  379. package/resources/hris/company/pay-statement-item/pay-statement-item.d.ts.map +1 -1
  380. package/resources/hris/company/pay-statement-item/pay-statement-item.js +19 -40
  381. package/resources/hris/company/pay-statement-item/pay-statement-item.js.map +1 -1
  382. package/resources/hris/company/pay-statement-item/pay-statement-item.mjs +17 -15
  383. package/resources/hris/company/pay-statement-item/pay-statement-item.mjs.map +1 -1
  384. package/resources/hris/company/pay-statement-item/rules.d.mts +398 -0
  385. package/resources/hris/company/pay-statement-item/rules.d.mts.map +1 -0
  386. package/resources/hris/company/pay-statement-item/rules.d.ts +56 -21
  387. package/resources/hris/company/pay-statement-item/rules.d.ts.map +1 -1
  388. package/resources/hris/company/pay-statement-item/rules.js +55 -22
  389. package/resources/hris/company/pay-statement-item/rules.js.map +1 -1
  390. package/resources/hris/company/pay-statement-item/rules.mjs +54 -20
  391. package/resources/hris/company/pay-statement-item/rules.mjs.map +1 -1
  392. package/resources/hris/company/pay-statement-item.d.mts +2 -0
  393. package/resources/hris/company/pay-statement-item.d.mts.map +1 -0
  394. package/resources/hris/company/pay-statement-item.d.ts.map +1 -1
  395. package/resources/hris/company/pay-statement-item.js +2 -15
  396. package/resources/hris/company/pay-statement-item.js.map +1 -1
  397. package/resources/hris/company.d.mts +2 -0
  398. package/resources/hris/company.d.mts.map +1 -0
  399. package/resources/hris/company.d.ts.map +1 -1
  400. package/resources/hris/company.js +2 -15
  401. package/resources/hris/company.js.map +1 -1
  402. package/resources/hris/directory.d.mts +87 -0
  403. package/resources/hris/directory.d.mts.map +1 -0
  404. package/resources/hris/directory.d.ts +13 -9
  405. package/resources/hris/directory.d.ts.map +1 -1
  406. package/resources/hris/directory.js +17 -7
  407. package/resources/hris/directory.js.map +1 -1
  408. package/resources/hris/directory.mjs +17 -7
  409. package/resources/hris/directory.mjs.map +1 -1
  410. package/resources/hris/documents.d.mts +198 -0
  411. package/resources/hris/documents.d.mts.map +1 -0
  412. package/resources/hris/documents.d.ts +40 -30
  413. package/resources/hris/documents.d.ts.map +1 -1
  414. package/resources/hris/documents.js +13 -7
  415. package/resources/hris/documents.js.map +1 -1
  416. package/resources/hris/documents.mjs +13 -7
  417. package/resources/hris/documents.mjs.map +1 -1
  418. package/resources/hris/employments.d.mts +175 -0
  419. package/resources/hris/employments.d.mts.map +1 -0
  420. package/resources/hris/employments.d.ts +23 -19
  421. package/resources/hris/employments.d.ts.map +1 -1
  422. package/resources/hris/employments.js +7 -9
  423. package/resources/hris/employments.js.map +1 -1
  424. package/resources/hris/employments.mjs +6 -7
  425. package/resources/hris/employments.mjs.map +1 -1
  426. package/resources/hris/hris.d.mts +98 -0
  427. package/resources/hris/hris.d.mts.map +1 -0
  428. package/resources/hris/hris.d.ts +14 -14
  429. package/resources/hris/hris.d.ts.map +1 -1
  430. package/resources/hris/hris.js +10 -38
  431. package/resources/hris/hris.js.map +1 -1
  432. package/resources/hris/hris.mjs +6 -12
  433. package/resources/hris/hris.mjs.map +1 -1
  434. package/resources/hris/index.d.mts +10 -0
  435. package/resources/hris/index.d.mts.map +1 -0
  436. package/resources/hris/index.d.ts +7 -7
  437. package/resources/hris/index.d.ts.map +1 -1
  438. package/resources/hris/index.js +1 -7
  439. package/resources/hris/index.js.map +1 -1
  440. package/resources/hris/index.mjs +5 -5
  441. package/resources/hris/index.mjs.map +1 -1
  442. package/resources/hris/individuals.d.mts +116 -0
  443. package/resources/hris/individuals.d.mts.map +1 -0
  444. package/resources/hris/individuals.d.ts +16 -8
  445. package/resources/hris/individuals.d.ts.map +1 -1
  446. package/resources/hris/individuals.js +18 -13
  447. package/resources/hris/individuals.js.map +1 -1
  448. package/resources/hris/individuals.mjs +17 -11
  449. package/resources/hris/individuals.mjs.map +1 -1
  450. package/resources/hris/pay-statements.d.mts +268 -0
  451. package/resources/hris/pay-statements.d.mts.map +1 -0
  452. package/resources/hris/pay-statements.d.ts +113 -100
  453. package/resources/hris/pay-statements.d.ts.map +1 -1
  454. package/resources/hris/pay-statements.js +7 -9
  455. package/resources/hris/pay-statements.js.map +1 -1
  456. package/resources/hris/pay-statements.mjs +6 -7
  457. package/resources/hris/pay-statements.mjs.map +1 -1
  458. package/resources/hris/payments.d.mts +80 -0
  459. package/resources/hris/payments.d.mts.map +1 -0
  460. package/resources/hris/payments.d.ts +24 -21
  461. package/resources/hris/payments.d.ts.map +1 -1
  462. package/resources/hris/payments.js +4 -8
  463. package/resources/hris/payments.js.map +1 -1
  464. package/resources/hris/payments.mjs +3 -6
  465. package/resources/hris/payments.mjs.map +1 -1
  466. package/resources/hris.d.mts +2 -0
  467. package/resources/hris.d.mts.map +1 -0
  468. package/resources/hris.d.ts.map +1 -1
  469. package/resources/hris.js +2 -15
  470. package/resources/hris.js.map +1 -1
  471. package/resources/index.d.mts +12 -0
  472. package/resources/index.d.mts.map +1 -0
  473. package/resources/index.d.ts +1 -1
  474. package/resources/index.d.ts.map +1 -1
  475. package/resources/index.js +3 -17
  476. package/resources/index.js.map +1 -1
  477. package/resources/index.mjs +1 -1
  478. package/resources/index.mjs.map +1 -1
  479. package/resources/jobs/automated.d.mts +174 -0
  480. package/resources/jobs/automated.d.mts.map +1 -0
  481. package/resources/jobs/automated.d.ts +15 -11
  482. package/resources/jobs/automated.d.ts.map +1 -1
  483. package/resources/jobs/automated.js +9 -7
  484. package/resources/jobs/automated.js.map +1 -1
  485. package/resources/jobs/automated.mjs +9 -7
  486. package/resources/jobs/automated.mjs.map +1 -1
  487. package/resources/jobs/index.d.mts +4 -0
  488. package/resources/jobs/index.d.mts.map +1 -0
  489. package/resources/jobs/index.d.ts.map +1 -1
  490. package/resources/jobs/jobs.d.mts +14 -0
  491. package/resources/jobs/jobs.d.mts.map +1 -0
  492. package/resources/jobs/jobs.d.ts +1 -1
  493. package/resources/jobs/jobs.d.ts.map +1 -1
  494. package/resources/jobs/jobs.js +4 -26
  495. package/resources/jobs/jobs.js.map +1 -1
  496. package/resources/jobs/jobs.mjs +1 -1
  497. package/resources/jobs/manual.d.mts +22 -0
  498. package/resources/jobs/manual.d.mts.map +1 -0
  499. package/resources/jobs/manual.d.ts +4 -3
  500. package/resources/jobs/manual.d.ts.map +1 -1
  501. package/resources/jobs/manual.js +4 -3
  502. package/resources/jobs/manual.js.map +1 -1
  503. package/resources/jobs/manual.mjs +4 -3
  504. package/resources/jobs/manual.mjs.map +1 -1
  505. package/resources/jobs.d.mts +2 -0
  506. package/resources/jobs.d.mts.map +1 -0
  507. package/resources/jobs.d.ts.map +1 -1
  508. package/resources/jobs.js +2 -15
  509. package/resources/jobs.js.map +1 -1
  510. package/resources/payroll/index.d.mts +3 -0
  511. package/resources/payroll/index.d.mts.map +1 -0
  512. package/resources/payroll/index.d.ts +1 -1
  513. package/resources/payroll/index.d.ts.map +1 -1
  514. package/resources/payroll/index.js +1 -2
  515. package/resources/payroll/index.js.map +1 -1
  516. package/resources/payroll/index.mjs +1 -1
  517. package/resources/payroll/index.mjs.map +1 -1
  518. package/resources/payroll/pay-groups.d.mts +62 -0
  519. package/resources/payroll/pay-groups.d.mts.map +1 -0
  520. package/resources/payroll/pay-groups.d.ts +22 -13
  521. package/resources/payroll/pay-groups.d.ts.map +1 -1
  522. package/resources/payroll/pay-groups.js +10 -14
  523. package/resources/payroll/pay-groups.js.map +1 -1
  524. package/resources/payroll/pay-groups.mjs +9 -12
  525. package/resources/payroll/pay-groups.mjs.map +1 -1
  526. package/resources/payroll/payroll.d.mts +10 -0
  527. package/resources/payroll/payroll.d.mts.map +1 -0
  528. package/resources/payroll/payroll.d.ts +3 -3
  529. package/resources/payroll/payroll.d.ts.map +1 -1
  530. package/resources/payroll/payroll.js +3 -26
  531. package/resources/payroll/payroll.js.map +1 -1
  532. package/resources/payroll/payroll.mjs +2 -3
  533. package/resources/payroll/payroll.mjs.map +1 -1
  534. package/resources/payroll.d.mts +2 -0
  535. package/resources/payroll.d.mts.map +1 -0
  536. package/resources/payroll.d.ts.map +1 -1
  537. package/resources/payroll.js +2 -15
  538. package/resources/payroll.js.map +1 -1
  539. package/resources/providers.d.mts +142 -0
  540. package/resources/providers.d.mts.map +1 -0
  541. package/resources/providers.d.ts +90 -258
  542. package/resources/providers.d.ts.map +1 -1
  543. package/resources/providers.js +4 -8
  544. package/resources/providers.js.map +1 -1
  545. package/resources/providers.mjs +3 -6
  546. package/resources/providers.mjs.map +1 -1
  547. package/resources/request-forwarding.d.mts +109 -0
  548. package/resources/request-forwarding.d.mts.map +1 -0
  549. package/resources/request-forwarding.d.ts +48 -49
  550. package/resources/request-forwarding.d.ts.map +1 -1
  551. package/resources/request-forwarding.js +3 -13
  552. package/resources/request-forwarding.js.map +1 -1
  553. package/resources/request-forwarding.mjs +3 -13
  554. package/resources/request-forwarding.mjs.map +1 -1
  555. package/resources/sandbox/company.d.mts +219 -0
  556. package/resources/sandbox/company.d.mts.map +1 -0
  557. package/resources/sandbox/company.d.ts +4 -3
  558. package/resources/sandbox/company.d.ts.map +1 -1
  559. package/resources/sandbox/company.js +1 -1
  560. package/resources/sandbox/company.js.map +1 -1
  561. package/resources/sandbox/company.mjs +1 -1
  562. package/resources/sandbox/company.mjs.map +1 -1
  563. package/resources/sandbox/connections/accounts.d.mts +97 -0
  564. package/resources/sandbox/connections/accounts.d.mts.map +1 -0
  565. package/resources/sandbox/connections/accounts.d.ts +5 -5
  566. package/resources/sandbox/connections/accounts.d.ts.map +1 -1
  567. package/resources/sandbox/connections/accounts.js +13 -5
  568. package/resources/sandbox/connections/accounts.js.map +1 -1
  569. package/resources/sandbox/connections/accounts.mjs +13 -5
  570. package/resources/sandbox/connections/accounts.mjs.map +1 -1
  571. package/resources/sandbox/connections/connections.d.mts +62 -0
  572. package/resources/sandbox/connections/connections.d.mts.map +1 -0
  573. package/resources/sandbox/connections/connections.d.ts +4 -3
  574. package/resources/sandbox/connections/connections.d.ts.map +1 -1
  575. package/resources/sandbox/connections/connections.js +3 -25
  576. package/resources/sandbox/connections/connections.js.map +1 -1
  577. package/resources/sandbox/connections/connections.mjs +1 -1
  578. package/resources/sandbox/connections/connections.mjs.map +1 -1
  579. package/resources/sandbox/connections/index.d.mts +3 -0
  580. package/resources/sandbox/connections/index.d.mts.map +1 -0
  581. package/resources/sandbox/connections/index.d.ts.map +1 -1
  582. package/resources/sandbox/connections.d.mts +2 -0
  583. package/resources/sandbox/connections.d.mts.map +1 -0
  584. package/resources/sandbox/connections.d.ts.map +1 -1
  585. package/resources/sandbox/connections.js +2 -15
  586. package/resources/sandbox/connections.js.map +1 -1
  587. package/resources/sandbox/directory.d.mts +174 -0
  588. package/resources/sandbox/directory.d.mts.map +1 -0
  589. package/resources/sandbox/directory.d.ts +18 -12
  590. package/resources/sandbox/directory.d.ts.map +1 -1
  591. package/resources/sandbox/directory.js +12 -7
  592. package/resources/sandbox/directory.js.map +1 -1
  593. package/resources/sandbox/directory.mjs +12 -7
  594. package/resources/sandbox/directory.mjs.map +1 -1
  595. package/resources/sandbox/employment.d.mts +235 -0
  596. package/resources/sandbox/employment.d.mts.map +1 -0
  597. package/resources/sandbox/employment.d.ts +16 -12
  598. package/resources/sandbox/employment.d.ts.map +1 -1
  599. package/resources/sandbox/employment.js +14 -7
  600. package/resources/sandbox/employment.js.map +1 -1
  601. package/resources/sandbox/employment.mjs +14 -7
  602. package/resources/sandbox/employment.mjs.map +1 -1
  603. package/resources/sandbox/index.d.mts +9 -0
  604. package/resources/sandbox/index.d.mts.map +1 -0
  605. package/resources/sandbox/index.d.ts.map +1 -1
  606. package/resources/sandbox/individual.d.mts +131 -0
  607. package/resources/sandbox/individual.d.mts.map +1 -0
  608. package/resources/sandbox/individual.d.ts +4 -4
  609. package/resources/sandbox/individual.d.ts.map +1 -1
  610. package/resources/sandbox/individual.js +14 -7
  611. package/resources/sandbox/individual.js.map +1 -1
  612. package/resources/sandbox/individual.mjs +14 -7
  613. package/resources/sandbox/individual.mjs.map +1 -1
  614. package/resources/sandbox/jobs/configuration.d.mts +41 -0
  615. package/resources/sandbox/jobs/configuration.d.mts.map +1 -0
  616. package/resources/sandbox/jobs/configuration.d.ts +5 -4
  617. package/resources/sandbox/jobs/configuration.d.ts.map +1 -1
  618. package/resources/sandbox/jobs/configuration.js +1 -1
  619. package/resources/sandbox/jobs/configuration.js.map +1 -1
  620. package/resources/sandbox/jobs/configuration.mjs +1 -1
  621. package/resources/sandbox/jobs/configuration.mjs.map +1 -1
  622. package/resources/sandbox/jobs/index.d.mts +3 -0
  623. package/resources/sandbox/jobs/index.d.mts.map +1 -0
  624. package/resources/sandbox/jobs/index.d.ts.map +1 -1
  625. package/resources/sandbox/jobs/jobs.d.mts +48 -0
  626. package/resources/sandbox/jobs/jobs.d.mts.map +1 -0
  627. package/resources/sandbox/jobs/jobs.d.ts +4 -3
  628. package/resources/sandbox/jobs/jobs.d.ts.map +1 -1
  629. package/resources/sandbox/jobs/jobs.js +3 -25
  630. package/resources/sandbox/jobs/jobs.js.map +1 -1
  631. package/resources/sandbox/jobs/jobs.mjs +1 -1
  632. package/resources/sandbox/jobs/jobs.mjs.map +1 -1
  633. package/resources/sandbox/jobs.d.mts +2 -0
  634. package/resources/sandbox/jobs.d.mts.map +1 -0
  635. package/resources/sandbox/jobs.d.ts.map +1 -1
  636. package/resources/sandbox/jobs.js +2 -15
  637. package/resources/sandbox/jobs.js.map +1 -1
  638. package/resources/sandbox/payment.d.mts +81 -0
  639. package/resources/sandbox/payment.d.mts.map +1 -0
  640. package/resources/sandbox/payment.d.ts +34 -188
  641. package/resources/sandbox/payment.d.ts.map +1 -1
  642. package/resources/sandbox/payment.js +9 -5
  643. package/resources/sandbox/payment.js.map +1 -1
  644. package/resources/sandbox/payment.mjs +9 -5
  645. package/resources/sandbox/payment.mjs.map +1 -1
  646. package/resources/sandbox/sandbox.d.mts +34 -0
  647. package/resources/sandbox/sandbox.d.mts.map +1 -0
  648. package/resources/sandbox/sandbox.d.ts +1 -1
  649. package/resources/sandbox/sandbox.d.ts.map +1 -1
  650. package/resources/sandbox/sandbox.js +9 -31
  651. package/resources/sandbox/sandbox.js.map +1 -1
  652. package/resources/sandbox/sandbox.mjs +1 -1
  653. package/resources/sandbox.d.mts +2 -0
  654. package/resources/sandbox.d.mts.map +1 -0
  655. package/resources/sandbox.d.ts.map +1 -1
  656. package/resources/sandbox.js +2 -15
  657. package/resources/sandbox.js.map +1 -1
  658. package/resources/shared.d.mts +64 -0
  659. package/resources/shared.d.mts.map +1 -0
  660. package/resources/top-level.d.mts +2 -0
  661. package/resources/top-level.d.mts.map +1 -0
  662. package/resources/webhooks.d.mts +396 -0
  663. package/resources/webhooks.d.mts.map +1 -0
  664. package/resources/webhooks.d.ts +5 -3
  665. package/resources/webhooks.d.ts.map +1 -1
  666. package/resources/webhooks.js +9 -8
  667. package/resources/webhooks.js.map +1 -1
  668. package/resources/webhooks.mjs +3 -2
  669. package/resources/webhooks.mjs.map +1 -1
  670. package/resources.d.mts +2 -0
  671. package/resources.d.mts.map +1 -0
  672. package/resources.d.ts.map +1 -1
  673. package/resources.js +2 -15
  674. package/resources.js.map +1 -1
  675. package/src/api-promise.ts +2 -0
  676. package/src/client.ts +967 -0
  677. package/src/core/README.md +3 -0
  678. package/src/core/api-promise.ts +92 -0
  679. package/src/core/error.ts +130 -0
  680. package/src/core/pagination.ts +292 -0
  681. package/src/core/resource.ts +11 -0
  682. package/src/core/uploads.ts +2 -0
  683. package/src/error.ts +2 -130
  684. package/src/index.ts +6 -432
  685. package/src/internal/README.md +3 -0
  686. package/src/internal/builtin-types.ts +93 -0
  687. package/src/internal/detect-platform.ts +196 -0
  688. package/src/internal/errors.ts +33 -0
  689. package/src/internal/headers.ts +144 -0
  690. package/src/internal/parse.ts +50 -0
  691. package/src/internal/qs/formats.ts +3 -2
  692. package/src/internal/qs/index.ts +3 -3
  693. package/src/internal/qs/stringify.ts +18 -21
  694. package/src/internal/qs/utils.ts +16 -16
  695. package/src/internal/request-options.ts +91 -0
  696. package/src/internal/shim-types.ts +26 -0
  697. package/src/internal/shims.ts +107 -0
  698. package/src/internal/to-file.ts +154 -0
  699. package/src/internal/types.ts +95 -0
  700. package/src/internal/uploads.ts +187 -0
  701. package/src/internal/utils/base64.ts +40 -0
  702. package/src/internal/utils/bytes.ts +32 -0
  703. package/src/internal/utils/env.ts +18 -0
  704. package/src/internal/utils/log.ts +126 -0
  705. package/src/internal/utils/path.ts +88 -0
  706. package/src/internal/utils/sleep.ts +3 -0
  707. package/src/internal/utils/uuid.ts +17 -0
  708. package/src/internal/utils/values.ts +105 -0
  709. package/src/internal/utils.ts +8 -0
  710. package/src/pagination.ts +2 -221
  711. package/src/resource.ts +2 -11
  712. package/src/resources/access-tokens.ts +46 -39
  713. package/src/resources/account.ts +86 -57
  714. package/src/resources/connect/connect.ts +3 -3
  715. package/src/resources/connect/index.ts +2 -2
  716. package/src/resources/connect/sessions.ts +52 -18
  717. package/src/resources/connect.ts +1 -1
  718. package/src/resources/hris/benefits/benefits.ts +163 -173
  719. package/src/resources/hris/benefits/index.ts +9 -6
  720. package/src/resources/hris/benefits/individuals.ts +202 -79
  721. package/src/resources/hris/benefits.ts +1 -1
  722. package/src/resources/hris/company/company.ts +20 -10
  723. package/src/resources/hris/company/index.ts +3 -3
  724. package/src/resources/hris/company/pay-statement-item/index.ts +6 -4
  725. package/src/resources/hris/company/pay-statement-item/pay-statement-item.ts +34 -37
  726. package/src/resources/hris/company/pay-statement-item/rules.ts +85 -43
  727. package/src/resources/hris/company/pay-statement-item.ts +1 -1
  728. package/src/resources/hris/company.ts +1 -1
  729. package/src/resources/hris/directory.ts +22 -18
  730. package/src/resources/hris/documents.ts +51 -38
  731. package/src/resources/hris/employments.ts +33 -27
  732. package/src/resources/hris/hris.ts +41 -35
  733. package/src/resources/hris/index.ts +19 -15
  734. package/src/resources/hris/individuals.ts +23 -21
  735. package/src/resources/hris/pay-statements.ts +130 -116
  736. package/src/resources/hris/payments.ts +32 -32
  737. package/src/resources/hris.ts +1 -1
  738. package/src/resources/index.ts +16 -11
  739. package/src/resources/jobs/automated.ts +20 -22
  740. package/src/resources/jobs/index.ts +3 -3
  741. package/src/resources/jobs/jobs.ts +5 -5
  742. package/src/resources/jobs/manual.ts +6 -4
  743. package/src/resources/jobs.ts +1 -1
  744. package/src/resources/payroll/index.ts +4 -3
  745. package/src/resources/payroll/pay-groups.ts +43 -37
  746. package/src/resources/payroll/payroll.ts +6 -5
  747. package/src/resources/payroll.ts +1 -1
  748. package/src/resources/providers.ts +91 -397
  749. package/src/resources/request-forwarding.ts +38 -51
  750. package/src/resources/sandbox/company.ts +5 -4
  751. package/src/resources/sandbox/connections/accounts.ts +8 -13
  752. package/src/resources/sandbox/connections/connections.ts +6 -8
  753. package/src/resources/sandbox/connections/index.ts +2 -2
  754. package/src/resources/sandbox/connections.ts +1 -1
  755. package/src/resources/sandbox/directory.ts +23 -24
  756. package/src/resources/sandbox/employment.ts +22 -26
  757. package/src/resources/sandbox/index.ts +8 -8
  758. package/src/resources/sandbox/individual.ts +10 -18
  759. package/src/resources/sandbox/jobs/configuration.ts +5 -7
  760. package/src/resources/sandbox/jobs/index.ts +2 -2
  761. package/src/resources/sandbox/jobs/jobs.ts +6 -5
  762. package/src/resources/sandbox/jobs.ts +1 -1
  763. package/src/resources/sandbox/payment.ts +82 -220
  764. package/src/resources/sandbox/sandbox.ts +15 -15
  765. package/src/resources/sandbox.ts +1 -1
  766. package/src/resources/webhooks.ts +7 -5
  767. package/src/resources.ts +1 -1
  768. package/src/tsconfig.json +2 -2
  769. package/src/uploads.ts +2 -255
  770. package/src/version.ts +1 -1
  771. package/uploads.d.mts +2 -0
  772. package/uploads.d.mts.map +1 -0
  773. package/uploads.d.ts +1 -74
  774. package/uploads.d.ts.map +1 -1
  775. package/uploads.js +3 -168
  776. package/uploads.js.map +1 -1
  777. package/uploads.mjs +1 -157
  778. package/uploads.mjs.map +1 -1
  779. package/version.d.mts +2 -0
  780. package/version.d.mts.map +1 -0
  781. package/version.d.ts +1 -1
  782. package/version.d.ts.map +1 -1
  783. package/version.js +1 -1
  784. package/version.js.map +1 -1
  785. package/version.mjs +1 -1
  786. package/version.mjs.map +1 -1
  787. package/_shims/MultipartBody.d.ts +0 -9
  788. package/_shims/MultipartBody.d.ts.map +0 -1
  789. package/_shims/MultipartBody.js +0 -16
  790. package/_shims/MultipartBody.js.map +0 -1
  791. package/_shims/MultipartBody.mjs +0 -12
  792. package/_shims/MultipartBody.mjs.map +0 -1
  793. package/_shims/README.md +0 -46
  794. package/_shims/auto/runtime-bun.d.ts +0 -5
  795. package/_shims/auto/runtime-bun.d.ts.map +0 -1
  796. package/_shims/auto/runtime-bun.js +0 -21
  797. package/_shims/auto/runtime-bun.js.map +0 -1
  798. package/_shims/auto/runtime-bun.mjs +0 -2
  799. package/_shims/auto/runtime-bun.mjs.map +0 -1
  800. package/_shims/auto/runtime-node.d.ts +0 -5
  801. package/_shims/auto/runtime-node.d.ts.map +0 -1
  802. package/_shims/auto/runtime-node.js +0 -21
  803. package/_shims/auto/runtime-node.js.map +0 -1
  804. package/_shims/auto/runtime-node.mjs +0 -2
  805. package/_shims/auto/runtime-node.mjs.map +0 -1
  806. package/_shims/auto/runtime.d.ts +0 -5
  807. package/_shims/auto/runtime.d.ts.map +0 -1
  808. package/_shims/auto/runtime.js +0 -21
  809. package/_shims/auto/runtime.js.map +0 -1
  810. package/_shims/auto/runtime.mjs +0 -2
  811. package/_shims/auto/runtime.mjs.map +0 -1
  812. package/_shims/auto/types-node.d.ts +0 -5
  813. package/_shims/auto/types-node.d.ts.map +0 -1
  814. package/_shims/auto/types-node.js +0 -21
  815. package/_shims/auto/types-node.js.map +0 -1
  816. package/_shims/auto/types-node.mjs +0 -2
  817. package/_shims/auto/types-node.mjs.map +0 -1
  818. package/_shims/auto/types.d.ts +0 -101
  819. package/_shims/auto/types.js +0 -3
  820. package/_shims/auto/types.mjs +0 -3
  821. package/_shims/bun-runtime.d.ts +0 -6
  822. package/_shims/bun-runtime.d.ts.map +0 -1
  823. package/_shims/bun-runtime.js +0 -14
  824. package/_shims/bun-runtime.js.map +0 -1
  825. package/_shims/bun-runtime.mjs +0 -10
  826. package/_shims/bun-runtime.mjs.map +0 -1
  827. package/_shims/index.d.ts +0 -83
  828. package/_shims/index.js +0 -17
  829. package/_shims/index.mjs +0 -11
  830. package/_shims/manual-types.d.ts +0 -12
  831. package/_shims/manual-types.js +0 -3
  832. package/_shims/manual-types.mjs +0 -3
  833. package/_shims/node-runtime.d.ts +0 -3
  834. package/_shims/node-runtime.d.ts.map +0 -1
  835. package/_shims/node-runtime.js +0 -89
  836. package/_shims/node-runtime.js.map +0 -1
  837. package/_shims/node-runtime.mjs +0 -56
  838. package/_shims/node-runtime.mjs.map +0 -1
  839. package/_shims/node-types.d.ts +0 -42
  840. package/_shims/node-types.js +0 -3
  841. package/_shims/node-types.mjs +0 -3
  842. package/_shims/registry.d.ts +0 -37
  843. package/_shims/registry.d.ts.map +0 -1
  844. package/_shims/registry.js +0 -41
  845. package/_shims/registry.js.map +0 -1
  846. package/_shims/registry.mjs +0 -37
  847. package/_shims/registry.mjs.map +0 -1
  848. package/_shims/web-runtime.d.ts +0 -5
  849. package/_shims/web-runtime.d.ts.map +0 -1
  850. package/_shims/web-runtime.js +0 -78
  851. package/_shims/web-runtime.js.map +0 -1
  852. package/_shims/web-runtime.mjs +0 -71
  853. package/_shims/web-runtime.mjs.map +0 -1
  854. package/_shims/web-types.d.ts +0 -83
  855. package/_shims/web-types.js +0 -3
  856. package/_shims/web-types.mjs +0 -3
  857. package/core.d.ts +0 -253
  858. package/core.d.ts.map +0 -1
  859. package/core.js +0 -932
  860. package/core.js.map +0 -1
  861. package/core.mjs +0 -899
  862. package/core.mjs.map +0 -1
  863. package/shims/node.d.ts +0 -30
  864. package/shims/node.d.ts.map +0 -1
  865. package/shims/node.js +0 -31
  866. package/shims/node.js.map +0 -1
  867. package/shims/node.mjs +0 -5
  868. package/shims/node.mjs.map +0 -1
  869. package/shims/web.d.ts +0 -26
  870. package/shims/web.d.ts.map +0 -1
  871. package/shims/web.js +0 -31
  872. package/shims/web.js.map +0 -1
  873. package/shims/web.mjs +0 -5
  874. package/shims/web.mjs.map +0 -1
  875. package/src/_shims/MultipartBody.ts +0 -9
  876. package/src/_shims/README.md +0 -46
  877. package/src/_shims/auto/runtime-bun.ts +0 -4
  878. package/src/_shims/auto/runtime-node.ts +0 -4
  879. package/src/_shims/auto/runtime.ts +0 -4
  880. package/src/_shims/auto/types-node.ts +0 -4
  881. package/src/_shims/auto/types.d.ts +0 -101
  882. package/src/_shims/auto/types.js +0 -3
  883. package/src/_shims/auto/types.mjs +0 -3
  884. package/src/_shims/bun-runtime.ts +0 -14
  885. package/src/_shims/index.d.ts +0 -83
  886. package/src/_shims/index.js +0 -17
  887. package/src/_shims/index.mjs +0 -11
  888. package/src/_shims/manual-types.d.ts +0 -12
  889. package/src/_shims/manual-types.js +0 -3
  890. package/src/_shims/manual-types.mjs +0 -3
  891. package/src/_shims/node-runtime.ts +0 -81
  892. package/src/_shims/node-types.d.ts +0 -42
  893. package/src/_shims/node-types.js +0 -3
  894. package/src/_shims/node-types.mjs +0 -3
  895. package/src/_shims/registry.ts +0 -67
  896. package/src/_shims/web-runtime.ts +0 -103
  897. package/src/_shims/web-types.d.ts +0 -83
  898. package/src/_shims/web-types.js +0 -3
  899. package/src/_shims/web-types.mjs +0 -3
  900. package/src/core.ts +0 -1248
  901. package/src/shims/node.ts +0 -50
  902. package/src/shims/web.ts +0 -50
package/CHANGELOG.md CHANGED
@@ -1,5 +1,325 @@
1
1
  # Changelog
2
2
 
3
+ ## 7.0.0 (2025-12-17)
4
+
5
+ Full Changelog: [v6.38.0...v7.0.0](https://github.com/Finch-API/finch-api-node/compare/v6.38.0...v7.0.0)
6
+
7
+ ### Features
8
+
9
+ * **api:** api update ([b2d5fcc](https://github.com/Finch-API/finch-api-node/commit/b2d5fcca38564c4b562263813bc945bae0a06b39))
10
+ * **api:** api update ([b1be6b0](https://github.com/Finch-API/finch-api-node/commit/b1be6b0108c5ae0896e7379d5342fc9629ec8c30))
11
+ * **api:** api update ([3fb650b](https://github.com/Finch-API/finch-api-node/commit/3fb650b9ac0084d7a6e4d9c026c0355b2b74af0b))
12
+ * **api:** manual updates ([adf8013](https://github.com/Finch-API/finch-api-node/commit/adf8013674c0b3c7fb532ad8b98ec23863f7200b))
13
+ * **api:** move node to typescript generator ([baa0237](https://github.com/Finch-API/finch-api-node/commit/baa02378d7b36940a4ac806462b6180d77e3ceac))
14
+ * **api:** update automated code reviewer selection ([8639c2e](https://github.com/Finch-API/finch-api-node/commit/8639c2e81ba805d4e7df858302d0efbe725c2feb))
15
+ * **mcp:** add detail field to docs search tool ([7eb8b44](https://github.com/Finch-API/finch-api-node/commit/7eb8b44caeeea6202f06c192759554a3883df345))
16
+ * **mcp:** add typescript check to code execution tool ([b2b1ac1](https://github.com/Finch-API/finch-api-node/commit/b2b1ac16388edf736837f722fb700c3079bda946))
17
+ * **mcp:** enable optional code execution tool on http mcp servers ([ace64da](https://github.com/Finch-API/finch-api-node/commit/ace64daf797895abdf52bada50f0cfff2b44c146))
18
+ * **mcp:** handle code mode calls in the Stainless API ([e3777b8](https://github.com/Finch-API/finch-api-node/commit/e3777b8a92ed7971bf7fcbb2f4754638457a6494))
19
+ * **mcp:** return logs on code tool errors ([7b37d8f](https://github.com/Finch-API/finch-api-node/commit/7b37d8f9cbca8d13dc09f894da08d6cb76487e74))
20
+
21
+
22
+ ### Bug Fixes
23
+
24
+ * **api:** migrate custom code to TypeScript ([ec5d7fd](https://github.com/Finch-API/finch-api-node/commit/ec5d7fd9792c1a95be18f099764996796c949bb9))
25
+ * **api:** resolve build issues ([f6be917](https://github.com/Finch-API/finch-api-node/commit/f6be917b1e7116cf84b575166d59e332390eb904))
26
+ * **java:** Resolve name collisions ([7866332](https://github.com/Finch-API/finch-api-node/commit/7866332384999fb7dd718cf04e1e767946b400db))
27
+ * **mcp:** add client instantiation options to code tool ([9cdaea8](https://github.com/Finch-API/finch-api-node/commit/9cdaea8d601afff676330e8eddc8fb4abb02cee3))
28
+ * **mcp:** correct code tool API endpoint ([6d91f55](https://github.com/Finch-API/finch-api-node/commit/6d91f5522082891016109942b7501946d01153fd))
29
+ * **mcp:** return correct lines on typescript errors ([41e296a](https://github.com/Finch-API/finch-api-node/commit/41e296a4d57b19346d88236a530b908f9c6f4f02))
30
+ * **mcp:** return tool execution error on api error ([6059d9c](https://github.com/Finch-API/finch-api-node/commit/6059d9c53093f4da1c8bede00dffd4e27209c691))
31
+ * **mcp:** return tool execution error on jq failure ([738e75d](https://github.com/Finch-API/finch-api-node/commit/738e75d5e4be2a4a2f4819941fc3af918094e9e5))
32
+ * **tests:** fix tests ([eee03b0](https://github.com/Finch-API/finch-api-node/commit/eee03b0f219aead8d6c7ab4e743ed3cf66f8e9e5))
33
+
34
+
35
+ ### Chores
36
+
37
+ * **client:** fix logger property type ([c3f828d](https://github.com/Finch-API/finch-api-node/commit/c3f828db47683dac2852c85f710c145f0efc95cf))
38
+ * **internal:** codegen related update ([a361eb9](https://github.com/Finch-API/finch-api-node/commit/a361eb9698f2f3f76f2f02c76d8d44b132a1787e))
39
+ * **internal:** codegen related update ([0f70da6](https://github.com/Finch-API/finch-api-node/commit/0f70da66ed3b1d7b2be256c25298a788baed4847))
40
+ * **internal:** codegen related update ([a39b040](https://github.com/Finch-API/finch-api-node/commit/a39b0402570ec2e64a4950efb55726c33cbf6ce3))
41
+ * **internal:** codegen related update ([60aa66a](https://github.com/Finch-API/finch-api-node/commit/60aa66a135d99299976fb2c59ac8d83f98d6841c))
42
+ * **internal:** upgrade eslint ([1707b51](https://github.com/Finch-API/finch-api-node/commit/1707b51aab5ad912d7210f6dc3b142eea1b2d749))
43
+ * mcp code tool explicit error message when missing a run function ([c43cbb2](https://github.com/Finch-API/finch-api-node/commit/c43cbb234a5044f21866998cacf9f658cc55de49))
44
+ * **mcp:** add friendlier MCP code tool errors on incorrect method invocations ([6b20464](https://github.com/Finch-API/finch-api-node/commit/6b20464cdcf9d407bb22ac7a65a0a40732130321))
45
+ * **mcp:** add line numbers to code tool errors ([3289a2b](https://github.com/Finch-API/finch-api-node/commit/3289a2b9e29e2d7298f096fcbae9237e28bce198))
46
+ * **mcp:** clarify http auth error ([b028908](https://github.com/Finch-API/finch-api-node/commit/b02890809d93b7496cc2deeb9f0547d5b180cd06))
47
+ * **mcp:** update lockfile ([88a4eac](https://github.com/Finch-API/finch-api-node/commit/88a4eacf9b9276a7b3db8a8dc9f12a0053251829))
48
+ * **mcp:** upgrade jq-web ([8531130](https://github.com/Finch-API/finch-api-node/commit/8531130ea2dfcd42b747357d9c0f13dea4e933c5))
49
+ * sync repo ([f38fc15](https://github.com/Finch-API/finch-api-node/commit/f38fc15fccf7f65422fc9cd62aea41fb143b36ed))
50
+ * use latest @modelcontextprotocol/sdk ([b29ebd1](https://github.com/Finch-API/finch-api-node/commit/b29ebd1cc574733a9443ad9937e8e1b7e0f5d0a1))
51
+
52
+
53
+ ### Documentation
54
+
55
+ * **mcp:** add a README button for one-click add to Cursor ([99e438c](https://github.com/Finch-API/finch-api-node/commit/99e438ca85071e011f30e93f7b5f67628bd0695c))
56
+ * **mcp:** add a README link to add server to VS Code or Claude Code ([7a5ecb9](https://github.com/Finch-API/finch-api-node/commit/7a5ecb92bc7575e51fd053e3d6796f0b1b06dc6f))
57
+
58
+ ## 6.38.0 (2025-10-27)
59
+
60
+ Full Changelog: [v6.37.0...v6.38.0](https://github.com/Finch-API/finch-api-node/compare/v6.37.0...v6.38.0)
61
+
62
+ ### Features
63
+
64
+ * **api:** api update ([4d57031](https://github.com/Finch-API/finch-api-node/commit/4d5703128cd8a626dec68fe4ffc34980579bcd6f))
65
+ * **api:** api update ([50af0c2](https://github.com/Finch-API/finch-api-node/commit/50af0c2c4756708e0de6bdb3c1eaacce3d24733b))
66
+ * **api:** api update ([9fb854f](https://github.com/Finch-API/finch-api-node/commit/9fb854f6ceaac25e21901b4a035d2207de994901))
67
+ * **api:** api update ([96d3f66](https://github.com/Finch-API/finch-api-node/commit/96d3f666690caea95b650b954dfd681eeb686c8e))
68
+ * **api:** api update ([b331c10](https://github.com/Finch-API/finch-api-node/commit/b331c108e3912c503e4cc8393587bac2a927f4f7))
69
+ * **api:** api update ([99a20c2](https://github.com/Finch-API/finch-api-node/commit/99a20c267f645658d3928f269f5da7a33b287d17))
70
+ * **api:** api update ([f9c7e06](https://github.com/Finch-API/finch-api-node/commit/f9c7e0685ff5ab28614353eacc1fc7887ec6a0ff))
71
+ * **api:** api update ([1c4f073](https://github.com/Finch-API/finch-api-node/commit/1c4f073cc8e8f06e58069dcc2bc5b708e3a8be34))
72
+ * **api:** api update ([843b525](https://github.com/Finch-API/finch-api-node/commit/843b525f6a3f07edda04ca213a35dd3d2d37fdb3))
73
+ * **api:** api update ([9bc9a38](https://github.com/Finch-API/finch-api-node/commit/9bc9a38df44189e734248cf7ad06259f93e25b82))
74
+ * **api:** api update ([09d2e93](https://github.com/Finch-API/finch-api-node/commit/09d2e939a8c42d495d9207ad2d73841f6e9e8732))
75
+ * **api:** make client id, client secret optional again ([d67f867](https://github.com/Finch-API/finch-api-node/commit/d67f867f1b3c9e4886d21da21a1cccab5760aa9d))
76
+ * **mcp:** add docs search tool ([a9e8666](https://github.com/Finch-API/finch-api-node/commit/a9e866662d47e0f39a1988339101d46ba149fb9d))
77
+ * **mcp:** add mcp bundles to build script ([45794fe](https://github.com/Finch-API/finch-api-node/commit/45794fe7a8d09dd0160ac3d2a64941fff12837d5))
78
+ * **mcp:** add option for including docs tools ([fef1f5b](https://github.com/Finch-API/finch-api-node/commit/fef1f5b0cc05c737db89097378c88a38e8973089))
79
+ * **mcp:** allow setting logging level ([4634f9a](https://github.com/Finch-API/finch-api-node/commit/4634f9a04f0fd3a7daa781876a1d93e170f1941d))
80
+ * **mcp:** change remote server query option parsing logic ([13ef1bd](https://github.com/Finch-API/finch-api-node/commit/13ef1bd4400e1ae2b2197a35f33e79703af34e08))
81
+ * **mcp:** enable experimental docs search tool ([8ec38f6](https://github.com/Finch-API/finch-api-node/commit/8ec38f6536ca6a6e7324dd827db0dc9ee9234f61))
82
+ * **mcp:** expose client options in `streamableHTTPApp` ([39cdb76](https://github.com/Finch-API/finch-api-node/commit/39cdb7601c55b6d723132edeb320c3898e697fa2))
83
+
84
+
85
+ ### Bug Fixes
86
+
87
+ * **ci:** set permissions for DXT publish action ([6a6dd0a](https://github.com/Finch-API/finch-api-node/commit/6a6dd0af7e290990c7773447615e3e5d99ff217b))
88
+ * **client:** incorrect offset pagination check ([2600077](https://github.com/Finch-API/finch-api-node/commit/26000775b7ab71e9e3994196806a847383905853))
89
+ * coerce nullable values to undefined ([aa135f5](https://github.com/Finch-API/finch-api-node/commit/aa135f5fdfe89359b6ad8c49b1908e7faee4ebaa))
90
+ * **mcp:** avoid importing unsupported libraries on non-node environments ([8c380a8](https://github.com/Finch-API/finch-api-node/commit/8c380a8499435e8a92155664943e6fc631f7ba1a))
91
+ * **mcp:** fix cli argument parsing logic ([277ba31](https://github.com/Finch-API/finch-api-node/commit/277ba31b242825bd569a6566a8f2a136ec0b595d))
92
+ * **mcp:** fix query options parsing ([9087760](https://github.com/Finch-API/finch-api-node/commit/90877607933fa892f5d05c8931fa2de9d139e769))
93
+ * **mcp:** fix uploading dxt release assets ([70f9a36](https://github.com/Finch-API/finch-api-node/commit/70f9a36f47190f4b78de043e63d65e21df6ce116))
94
+ * **mcp:** resolve a linting issue in server code ([90b7ae2](https://github.com/Finch-API/finch-api-node/commit/90b7ae260d427cebb7bcd7f2d3e854a0efaccd19))
95
+
96
+
97
+ ### Performance Improvements
98
+
99
+ * faster formatting ([163982a](https://github.com/Finch-API/finch-api-node/commit/163982a884bcf10684b5b3e242b0d52d547fc62b))
100
+
101
+
102
+ ### Chores
103
+
104
+ * ci build action ([f0c3633](https://github.com/Finch-API/finch-api-node/commit/f0c3633571f7eea46803cb75ba244c41cac5a7b4))
105
+ * **codegen:** internal codegen update ([27ec1f5](https://github.com/Finch-API/finch-api-node/commit/27ec1f5a8d71f31a327021745f7dab0aeebc4b7b))
106
+ * do not install brew dependencies in ./scripts/bootstrap by default ([1758c0d](https://github.com/Finch-API/finch-api-node/commit/1758c0de64e97975332bb8a0c6b55a23ed82a036))
107
+ * extract some types in mcp docs ([55c3799](https://github.com/Finch-API/finch-api-node/commit/55c37998bdb39779bfb9ae62ee5310a2a423248d))
108
+ * **internal:** codegen related update ([d020050](https://github.com/Finch-API/finch-api-node/commit/d0200501b52ae4ac9e7c8de91d2f883e27db34c5))
109
+ * **internal:** codegen related update ([697d211](https://github.com/Finch-API/finch-api-node/commit/697d211b9600d388aa101879ac6c400e4eb4ac53))
110
+ * **internal:** codegen related update ([ac835bf](https://github.com/Finch-API/finch-api-node/commit/ac835bf6af93d53e551d73001d048baa95e1c334))
111
+ * **internal:** fix incremental formatting in some cases ([40ecf6a](https://github.com/Finch-API/finch-api-node/commit/40ecf6a887ea44d156672f155abf70ab2d146921))
112
+ * **internal:** gitignore .mcpb files ([73c778e](https://github.com/Finch-API/finch-api-node/commit/73c778e3b9d157f8296c43131cd0db764d5086bc))
113
+ * **internal:** ignore .eslintcache ([4d90156](https://github.com/Finch-API/finch-api-node/commit/4d901569e987fa9c93c12ae77844972b4655fa8f))
114
+ * **internal:** remove .eslintcache ([64d2197](https://github.com/Finch-API/finch-api-node/commit/64d21976509a6d6b6d0095bf1867ad9bdd153e03))
115
+ * **internal:** remove deprecated `compilerOptions.baseUrl` from tsconfig.json ([5955e29](https://github.com/Finch-API/finch-api-node/commit/5955e291311d6d8192a3e8c3eb87f4eac9bdbdbc))
116
+ * **internal:** use npm pack for build uploads ([7df5a28](https://github.com/Finch-API/finch-api-node/commit/7df5a28a1be002645785fa2d59cd94da5df28889))
117
+ * **mcp:** allow pointing `docs_search` tool at other URLs ([bb7f182](https://github.com/Finch-API/finch-api-node/commit/bb7f182ef3959a99a7728cdab685d972e4110756))
118
+ * **mcp:** rename dxt to mcpb ([68a9c07](https://github.com/Finch-API/finch-api-node/commit/68a9c079dfb35ab661f58780405036399fbaf31e))
119
+ * **mcp:** upload dxt as release asset ([256c717](https://github.com/Finch-API/finch-api-node/commit/256c717c7eb0bd947322b14d85fc15cd7f919724))
120
+ * update CI script ([47843c8](https://github.com/Finch-API/finch-api-node/commit/47843c85864215c19edd9826952bd625e79ca78c))
121
+ * update lockfile ([0601d2a](https://github.com/Finch-API/finch-api-node/commit/0601d2aca7eeb80b8967d3bc89dea5b5ab527565))
122
+
123
+ ## 6.37.0 (2025-08-21)
124
+
125
+ Full Changelog: [v6.36.0...v6.37.0](https://github.com/Finch-API/finch-api-node/compare/v6.36.0...v6.37.0)
126
+
127
+ ### Features
128
+
129
+ * **api:** api update ([fc318d6](https://github.com/Finch-API/finch-api-node/commit/fc318d6591c306228fdd216498f8b704eeb4aa67))
130
+ * **mcp:** add option to infer mcp client ([3581de0](https://github.com/Finch-API/finch-api-node/commit/3581de04c7957c0ea00041bed835b1210210baa8))
131
+
132
+
133
+ ### Chores
134
+
135
+ * **internal:** make mcp-server publishing public by defaut ([5f917cb](https://github.com/Finch-API/finch-api-node/commit/5f917cb85ed363831a49a7dbee70db4d57bdfac8))
136
+ * **mcp:** update package.json ([976bd47](https://github.com/Finch-API/finch-api-node/commit/976bd47a6097636ea128cd5c250b6a67d0d10ca1))
137
+ * **mcp:** update types ([3aeae4c](https://github.com/Finch-API/finch-api-node/commit/3aeae4c9f57cb8f19f7458f5b42f33027d9f9a8e))
138
+
139
+ ## 6.36.0 (2025-08-19)
140
+
141
+ Full Changelog: [v6.35.1...v6.36.0](https://github.com/Finch-API/finch-api-node/compare/v6.35.1...v6.36.0)
142
+
143
+ ### Features
144
+
145
+ * **mcp:** add code execution tool ([a7dba4d](https://github.com/Finch-API/finch-api-node/commit/a7dba4d6ccd7c40f819ba1c5c8fd9542dc2b3f7a))
146
+
147
+ ## 6.35.1 (2025-08-19)
148
+
149
+ Full Changelog: [v6.35.0...v6.35.1](https://github.com/Finch-API/finch-api-node/compare/v6.35.0...v6.35.1)
150
+
151
+ ### Chores
152
+
153
+ * **mcp:** add cors to oauth metadata route ([75a424b](https://github.com/Finch-API/finch-api-node/commit/75a424b26ea9c2e7c191bc94c962d0c9aaf2f6aa))
154
+
155
+ ## 6.35.0 (2025-08-18)
156
+
157
+ Full Changelog: [v6.34.0...v6.35.0](https://github.com/Finch-API/finch-api-node/compare/v6.34.0...v6.35.0)
158
+
159
+ ### Features
160
+
161
+ * **api:** api update ([6b47451](https://github.com/Finch-API/finch-api-node/commit/6b4745198032d8b2928001f1a1cf0fa21f0b5bae))
162
+ * **api:** api update ([0e1db82](https://github.com/Finch-API/finch-api-node/commit/0e1db82162b8729c64910f06872f12ced2a23b25))
163
+ * **mcp:** parse query string as mcp client options in mcp server ([ee1762e](https://github.com/Finch-API/finch-api-node/commit/ee1762e2698c866ce3eeb4867116dcc54b4b890e))
164
+
165
+
166
+ ### Bug Fixes
167
+
168
+ * **mcp:** fix jq type bug ([eedf679](https://github.com/Finch-API/finch-api-node/commit/eedf6799e9b70c2925376c6361da6a4b5a74b605))
169
+ * **mcp:** generate additionalProperties=true for map schemas to avoid validation issues ([0ed8d86](https://github.com/Finch-API/finch-api-node/commit/0ed8d86ae898be9ac41ed0011b65e97374c92e64))
170
+
171
+
172
+ ### Chores
173
+
174
+ * **deps:** update dependency node-fetch to v2.6.13 ([3cded58](https://github.com/Finch-API/finch-api-node/commit/3cded5866267fb80d06cd1904b0cd4d7a2973f6b))
175
+ * **internal:** formatting change ([55cdd5f](https://github.com/Finch-API/finch-api-node/commit/55cdd5f591e02cce1cf297f59a1baca82452cca3))
176
+ * **internal:** refactor array check ([1ca2890](https://github.com/Finch-API/finch-api-node/commit/1ca2890574edeac7b78492f4ed2fdc7d9b3f8441))
177
+ * **internal:** update comment in script ([468ca33](https://github.com/Finch-API/finch-api-node/commit/468ca33d139f121d484b8e0b71eefc694e4ffb2f))
178
+ * **mcp:** bump JQ version ([c472eac](https://github.com/Finch-API/finch-api-node/commit/c472eaca3c50e765294a9b71d754d368911fe3c4))
179
+ * **mcp:** document remote server in README.md ([01b0197](https://github.com/Finch-API/finch-api-node/commit/01b01972327ed68e8b35d34c0a448e80e5aea5cf))
180
+ * **mcp:** minor cleanup of types and package.json ([176af80](https://github.com/Finch-API/finch-api-node/commit/176af80204ad16024fa339014905bf818e683245))
181
+ * **mcp:** update README ([47c2bcc](https://github.com/Finch-API/finch-api-node/commit/47c2bcc8dfaba660acdf326e835e2c345ba84166))
182
+ * update @stainless-api/prism-cli to v5.15.0 ([a05f59c](https://github.com/Finch-API/finch-api-node/commit/a05f59c97d046a57b64f82dccc697137d892ccfc))
183
+
184
+ ## 6.34.0 (2025-08-06)
185
+
186
+ Full Changelog: [v6.33.0...v6.34.0](https://github.com/Finch-API/finch-api-node/compare/v6.33.0...v6.34.0)
187
+
188
+ ### Features
189
+
190
+ * **mcp:** add logging when environment variable is set ([0d90a8c](https://github.com/Finch-API/finch-api-node/commit/0d90a8c366ab7dfff6f6fba61e4157ed91597417))
191
+ * **mcp:** add unix socket option for remote MCP ([0bd4baf](https://github.com/Finch-API/finch-api-node/commit/0bd4baf79a26faa908fedc6682c99b290e5dc247))
192
+ * **mcp:** remote server with passthru auth ([fd0274b](https://github.com/Finch-API/finch-api-node/commit/fd0274b025d19940b425fe6e5cda89b0a4a7736b))
193
+
194
+
195
+ ### Bug Fixes
196
+
197
+ * **mcp:** avoid sending `jq_filter` to base API ([685a555](https://github.com/Finch-API/finch-api-node/commit/685a555e335413712c6b569910f4e421aa8cefb2))
198
+ * **mcp:** fix bug in header handling ([d43cbe4](https://github.com/Finch-API/finch-api-node/commit/d43cbe4f291963392fb8bb73c2b924a0c4c9117c))
199
+ * **mcp:** fix tool description of jq_filter ([f3687ac](https://github.com/Finch-API/finch-api-node/commit/f3687ac778ceb5d1609f20f4ac51da9eb7fc8bdd))
200
+ * **mcp:** reverse validJson capability option and limit scope ([8b71749](https://github.com/Finch-API/finch-api-node/commit/8b71749012e2910f803a867e5ca7709fd1476560))
201
+
202
+
203
+ ### Chores
204
+
205
+ * **internal:** codegen related update ([f9e09f1](https://github.com/Finch-API/finch-api-node/commit/f9e09f139130ab844a18d1cc2430a2d0ee80bc09))
206
+ * **internal:** move publish config ([d79a421](https://github.com/Finch-API/finch-api-node/commit/d79a42138da01ee3bdec3688ffcba2250292581e))
207
+ * **internal:** remove redundant imports config ([9abbf0b](https://github.com/Finch-API/finch-api-node/commit/9abbf0bdacfdca38cd5ee775bc6f981c4689fc69))
208
+ * **mcp:** refactor streamable http transport ([2e519b6](https://github.com/Finch-API/finch-api-node/commit/2e519b6d69a29a53148aef12f6333538ad239181))
209
+
210
+ ## 6.33.0 (2025-07-23)
211
+
212
+ Full Changelog: [v6.32.3...v6.33.0](https://github.com/Finch-API/finch-api-node/compare/v6.32.3...v6.33.0)
213
+
214
+ ### Features
215
+
216
+ * **api:** api update ([44a2607](https://github.com/Finch-API/finch-api-node/commit/44a26078e84c965bee4fe6dfa0691031ccc65a42))
217
+ * **api:** api update ([c52f01b](https://github.com/Finch-API/finch-api-node/commit/c52f01b0de3340c07294bac7934959da5d399e98))
218
+
219
+
220
+ ### Bug Fixes
221
+
222
+ * **mcp:** include required section for top-level properties and support naming transformations ([81932c7](https://github.com/Finch-API/finch-api-node/commit/81932c754864cea1defc5939355a8d7ed8efca54))
223
+ * **mcp:** support jq filtering on cloudflare workers ([f678d75](https://github.com/Finch-API/finch-api-node/commit/f678d75f966bc152fdcc7d19dab40c20f0e4446c))
224
+
225
+
226
+ ### Chores
227
+
228
+ * **internal:** codegen related update ([3687e69](https://github.com/Finch-API/finch-api-node/commit/3687e69a3c9f381d958545c25f4e38de33c87ea6))
229
+ * **mcp:** formatting ([040c60f](https://github.com/Finch-API/finch-api-node/commit/040c60fb2766d9a65b7ed56da90a3fc6a06c9de3))
230
+ * **mcp:** rework imports in tools ([58349e8](https://github.com/Finch-API/finch-api-node/commit/58349e876bcf5c8d3b35f306455238fa17c31fe7))
231
+
232
+ ## 6.32.3 (2025-07-10)
233
+
234
+ Full Changelog: [v6.32.2...v6.32.3](https://github.com/Finch-API/finch-api-node/compare/v6.32.2...v6.32.3)
235
+
236
+ ### Chores
237
+
238
+ * **internal:** codegen related update ([f8bf46e](https://github.com/Finch-API/finch-api-node/commit/f8bf46e0dc32f11e9920a59c8ff0c8e44536a9fe))
239
+ * make some internal functions async ([1656660](https://github.com/Finch-API/finch-api-node/commit/16566608f8bc0206caf44fd33ad7a44d678f2c1b))
240
+
241
+ ## 6.32.2 (2025-07-03)
242
+
243
+ Full Changelog: [v6.32.1...v6.32.2](https://github.com/Finch-API/finch-api-node/compare/v6.32.1...v6.32.2)
244
+
245
+ ### Bug Fixes
246
+
247
+ * **build:** bump node version in CI build to 20 to be compatible with MCP package ([a42f5a6](https://github.com/Finch-API/finch-api-node/commit/a42f5a6d80c069df0b250d0557b0b9490f0293cb))
248
+ * **client:** don't send `Content-Type` for bodyless methods ([605ebe0](https://github.com/Finch-API/finch-api-node/commit/605ebe0809f965063cee49b21903e4dba3073ce0))
249
+
250
+
251
+ ### Chores
252
+
253
+ * mention unit type in timeout docs ([46e6e6f](https://github.com/Finch-API/finch-api-node/commit/46e6e6fc73bd4b5dcf6ac0bb2d9cc268314fbc39))
254
+
255
+ ## 6.32.1 (2025-06-27)
256
+
257
+ Full Changelog: [v6.32.0...v6.32.1](https://github.com/Finch-API/finch-api-node/compare/v6.32.0...v6.32.1)
258
+
259
+ ### Bug Fixes
260
+
261
+ * **ci:** release-doctor — report correct token name ([85086a9](https://github.com/Finch-API/finch-api-node/commit/85086a95f3c5efe51167c40dc0652e05c2425fcd))
262
+
263
+
264
+ ### Chores
265
+
266
+ * **ci:** only run for pushes and fork pull requests ([f679ab4](https://github.com/Finch-API/finch-api-node/commit/f679ab46d68f21a9ed7ca7c362054c48883f817c))
267
+
268
+ ## 6.32.0 (2025-06-23)
269
+
270
+ Full Changelog: [v6.31.0...v6.32.0](https://github.com/Finch-API/finch-api-node/compare/v6.31.0...v6.32.0)
271
+
272
+ ### Features
273
+
274
+ * **api:** api update ([7182d88](https://github.com/Finch-API/finch-api-node/commit/7182d889a7de38d03c7994caf4747fcd2a82a846))
275
+ * **api:** api update ([4663014](https://github.com/Finch-API/finch-api-node/commit/46630149ddd55b184ec7ddcdb9d70df15477f72c))
276
+ * **api:** api update ([c167734](https://github.com/Finch-API/finch-api-node/commit/c167734a8071e5733f5a56f9b2c750c300952164))
277
+ * **api:** api update ([2978396](https://github.com/Finch-API/finch-api-node/commit/29783964a38bc08f24752be9565282222e316568))
278
+ * **client:** add support for endpoint-specific base URLs ([f85edd8](https://github.com/Finch-API/finch-api-node/commit/f85edd832b9b2ecc3a16e5e4e0260797b7bbd472))
279
+ * **mcp:** implement support for binary responses ([6cc04d6](https://github.com/Finch-API/finch-api-node/commit/6cc04d6f6cebe1487b366d067f9de34c8f857b38))
280
+ * **mcp:** include http information in tools ([d583a5a](https://github.com/Finch-API/finch-api-node/commit/d583a5a224672caa80f9010e005be60d1efc9b69))
281
+ * **mcp:** set X-Stainless-MCP header ([a744e70](https://github.com/Finch-API/finch-api-node/commit/a744e7079b7bef164c0e0eaef0608e62dfa5ea45))
282
+
283
+
284
+ ### Bug Fixes
285
+
286
+ * **client:** fix PayStatementResponse body ([5855476](https://github.com/Finch-API/finch-api-node/commit/585547621b48de30db9cb69f07e93f983ab51ac5))
287
+ * **client:** manual fix ([c7cc53b](https://github.com/Finch-API/finch-api-node/commit/c7cc53b674ed870e42132b46e78f81b9d03e9ed8))
288
+ * **mcp:** fix cursor schema transformation issue with recursive references ([1bed3f2](https://github.com/Finch-API/finch-api-node/commit/1bed3f2480b88dceb722cc25ad4deb31b41f6fc8))
289
+ * **mcp:** include description in dynamic tool search ([886e2d8](https://github.com/Finch-API/finch-api-node/commit/886e2d8e61925f572c978de5c86bbecae255705f))
290
+ * publish script — handle NPM errors correctly ([87bd68d](https://github.com/Finch-API/finch-api-node/commit/87bd68ddb4b348084f6c82e59f0453e97ea881c3))
291
+
292
+
293
+ ### Chores
294
+
295
+ * **ci:** enable for pull requests ([81c3d57](https://github.com/Finch-API/finch-api-node/commit/81c3d5761ac996f17dfdfd2581e2251cf1a545a2))
296
+ * **docs:** grammar improvements ([3a9ab50](https://github.com/Finch-API/finch-api-node/commit/3a9ab5071bc3e021d4dc15d91b4ac1cd86bfadd3))
297
+ * **docs:** use top-level-await in example snippets ([adaa4ce](https://github.com/Finch-API/finch-api-node/commit/adaa4cea5dbeb9f35b393f3816da8eb9f0c75372))
298
+ * improve docs for MCP servers ([deff850](https://github.com/Finch-API/finch-api-node/commit/deff850e6b9a989d50d9ecad8af0b7f1744983ba))
299
+ * improve publish-npm script --latest tag logic ([a40bcfe](https://github.com/Finch-API/finch-api-node/commit/a40bcfed602c2ec66fe5fbccc42df558ad257262))
300
+ * **internal:** make base APIResource abstract ([558f47f](https://github.com/Finch-API/finch-api-node/commit/558f47fca967f63f8eeb4f650595b53cc38a752c))
301
+ * **mcp:** provides high-level initMcpServer function and exports known clients ([edc7876](https://github.com/Finch-API/finch-api-node/commit/edc7876600c6962bc22311372af65fbaf156d011))
302
+ * **mcp:** remove duplicate assignment ([6e38b68](https://github.com/Finch-API/finch-api-node/commit/6e38b68b83e91416e49b2285c72932041d1b8524))
303
+ * **tests:** skip endpoints with basic auth ([483735c](https://github.com/Finch-API/finch-api-node/commit/483735cde0fca3925b0d8471e3dd342e59232481))
304
+
305
+
306
+ ### Documentation
307
+
308
+ * **pagination:** improve naming ([90d96a3](https://github.com/Finch-API/finch-api-node/commit/90d96a323eff4579dc9462691f9a0176b7d7a5aa))
309
+
310
+
311
+ ### Refactors
312
+
313
+ * **types:** replace Record with mapped types ([f28d3d3](https://github.com/Finch-API/finch-api-node/commit/f28d3d394e978aeb7e8081342f72476fd22bf9ef))
314
+
315
+ ## 6.31.0 (2025-05-16)
316
+
317
+ Full Changelog: [v6.30.0...v6.31.0](https://github.com/Finch-API/finch-api-node/compare/v6.30.0...v6.31.0)
318
+
319
+ ### Features
320
+
321
+ * **api:** api update ([183d19d](https://github.com/Finch-API/finch-api-node/commit/183d19d99c22b274af394531361c69bf49f72da8))
322
+
3
323
  ## 6.30.0 (2025-05-16)
4
324
 
5
325
  Full Changelog: [v6.29.0...v6.30.0](https://github.com/Finch-API/finch-api-node/compare/v6.29.0...v6.30.0)
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
- # Finch Node API Library
1
+ # Finch TypeScript API Library
2
2
 
3
- [![NPM version](https://img.shields.io/npm/v/@tryfinch/finch-api.svg)](https://npmjs.org/package/@tryfinch/finch-api) ![npm bundle size](https://img.shields.io/bundlephobia/minzip/@tryfinch/finch-api)
3
+ [![NPM version](<https://img.shields.io/npm/v/@tryfinch/finch-api.svg?label=npm%20(stable)>)](https://npmjs.org/package/@tryfinch/finch-api) ![npm bundle size](https://img.shields.io/bundlephobia/minzip/@tryfinch/finch-api)
4
4
 
5
5
  This library provides convenient access to the Finch REST API from server-side TypeScript or JavaScript.
6
6
 
@@ -26,14 +26,10 @@ const client = new Finch({
26
26
  accessToken: 'My Access Token',
27
27
  });
28
28
 
29
- async function main() {
30
- const page = await client.hris.directory.list();
31
- const individualInDirectory = page.individuals[0];
32
-
33
- console.log(individualInDirectory.id);
34
- }
29
+ const page = await client.hris.directory.list();
30
+ const individualInDirectory = page.individuals[0];
35
31
 
36
- main();
32
+ console.log(individualInDirectory.id);
37
33
  ```
38
34
 
39
35
  ### Request & Response types
@@ -48,11 +44,7 @@ const client = new Finch({
48
44
  accessToken: 'My Access Token',
49
45
  });
50
46
 
51
- async function main() {
52
- const [individualInDirectory]: [Finch.HRIS.IndividualInDirectory] = await client.hris.directory.list();
53
- }
54
-
55
- main();
47
+ const [individualInDirectory]: [Finch.HRIS.IndividualInDirectory] = await client.hris.directory.list();
56
48
  ```
57
49
 
58
50
  Documentation for each method, request param, and response field are available in docstrings and will appear on hover in most modern editors.
@@ -65,19 +57,15 @@ a subclass of `APIError` will be thrown:
65
57
 
66
58
  <!-- prettier-ignore -->
67
59
  ```ts
68
- async function main() {
69
- const company = await client.hris.company.retrieve().catch(async (err) => {
70
- if (err instanceof Finch.APIError) {
71
- console.log(err.status); // 400
72
- console.log(err.name); // BadRequestError
73
- console.log(err.headers); // {server: 'nginx', ...}
74
- } else {
75
- throw err;
76
- }
77
- });
78
- }
79
-
80
- main();
60
+ const company = await client.hris.company.retrieve().catch(async (err) => {
61
+ if (err instanceof Finch.APIError) {
62
+ console.log(err.status); // 400
63
+ console.log(err.name); // BadRequestError
64
+ console.log(err.headers); // {server: 'nginx', ...}
65
+ } else {
66
+ throw err;
67
+ }
68
+ });
81
69
  ```
82
70
 
83
71
  Error codes are as follows:
@@ -141,13 +129,13 @@ List methods in the Finch API are paginated.
141
129
  You can use the `for await … of` syntax to iterate through items across all pages:
142
130
 
143
131
  ```ts
144
- async function fetchAllHRISDirectories(params) {
145
- const allHRISDirectories = [];
132
+ async function fetchAllIndividualInDirectories(params) {
133
+ const allIndividualInDirectories = [];
146
134
  // Automatically fetches more pages as needed.
147
135
  for await (const individualInDirectory of client.hris.directory.list()) {
148
- allHRISDirectories.push(individualInDirectory);
136
+ allIndividualInDirectories.push(individualInDirectory);
149
137
  }
150
- return allHRISDirectories;
138
+ return allIndividualInDirectories;
151
139
  }
152
140
  ```
153
141
 
@@ -217,8 +205,10 @@ export default async function POST(req) {
217
205
  ### Accessing raw Response data (e.g., headers)
218
206
 
219
207
  The "raw" `Response` returned by `fetch()` can be accessed through the `.asResponse()` method on the `APIPromise` type that all methods return.
208
+ This method returns as soon as the headers for a successful response are received and does not consume the response body, so you are free to write custom parsing or streaming logic.
220
209
 
221
210
  You can also use the `.withResponse()` method to get the raw `Response` along with the parsed data.
211
+ Unlike `.asResponse()` this method consumes the body, returning once it is parsed.
222
212
 
223
213
  <!-- prettier-ignore -->
224
214
  ```ts
@@ -235,6 +225,59 @@ for await (const individualInDirectory of page) {
235
225
  }
236
226
  ```
237
227
 
228
+ ### Logging
229
+
230
+ > [!IMPORTANT]
231
+ > All log messages are intended for debugging only. The format and content of log messages
232
+ > may change between releases.
233
+
234
+ #### Log levels
235
+
236
+ The log level can be configured in two ways:
237
+
238
+ 1. Via the `FINCH_LOG` environment variable
239
+ 2. Using the `logLevel` client option (overrides the environment variable if set)
240
+
241
+ ```ts
242
+ import Finch from '@tryfinch/finch-api';
243
+
244
+ const client = new Finch({
245
+ logLevel: 'debug', // Show all log messages
246
+ });
247
+ ```
248
+
249
+ Available log levels, from most to least verbose:
250
+
251
+ - `'debug'` - Show debug messages, info, warnings, and errors
252
+ - `'info'` - Show info messages, warnings, and errors
253
+ - `'warn'` - Show warnings and errors (default)
254
+ - `'error'` - Show only errors
255
+ - `'off'` - Disable all logging
256
+
257
+ At the `'debug'` level, all HTTP requests and responses are logged, including headers and bodies.
258
+ Some authentication-related headers are redacted, but sensitive data in request and response bodies
259
+ may still be visible.
260
+
261
+ #### Custom logger
262
+
263
+ By default, this library logs to `globalThis.console`. You can also provide a custom logger.
264
+ Most logging libraries are supported, including [pino](https://www.npmjs.com/package/pino), [winston](https://www.npmjs.com/package/winston), [bunyan](https://www.npmjs.com/package/bunyan), [consola](https://www.npmjs.com/package/consola), [signale](https://www.npmjs.com/package/signale), and [@std/log](https://jsr.io/@std/log). If your logger doesn't work, please open an issue.
265
+
266
+ When providing a custom logger, the `logLevel` option still controls which messages are emitted, messages
267
+ below the configured level will not be sent to your logger.
268
+
269
+ ```ts
270
+ import Finch from '@tryfinch/finch-api';
271
+ import pino from 'pino';
272
+
273
+ const logger = pino();
274
+
275
+ const client = new Finch({
276
+ logger: logger.child({ name: 'Finch' }),
277
+ logLevel: 'debug', // Send all messages to pino, allowing it to filter
278
+ });
279
+ ```
280
+
238
281
  ### Making custom/undocumented requests
239
282
 
240
283
  This library is typed for convenient access to the documented API. If you need to access undocumented
@@ -259,9 +302,8 @@ parameter. This library doesn't validate at runtime that the request matches the
259
302
  send will be sent as-is.
260
303
 
261
304
  ```ts
262
- client.foo.create({
263
- foo: 'my_param',
264
- bar: 12,
305
+ client.hris.directory.list({
306
+ // ...
265
307
  // @ts-expect-error baz is not yet public
266
308
  baz: 'undocumented option',
267
309
  });
@@ -281,66 +323,85 @@ validate or strip extra properties from the response from the API.
281
323
 
282
324
  ### Customizing the fetch client
283
325
 
284
- By default, this library uses `node-fetch` in Node, and expects a global `fetch` function in other environments.
326
+ By default, this library expects a global `fetch` function is defined.
285
327
 
286
- If you would prefer to use a global, web-standards-compliant `fetch` function even in a Node environment,
287
- (for example, if you are running Node with `--experimental-fetch` or using NextJS which polyfills with `undici`),
288
- add the following import before your first import `from "Finch"`:
328
+ If you want to use a different `fetch` function, you can either polyfill the global:
289
329
 
290
330
  ```ts
291
- // Tell TypeScript and the package to use the global web fetch instead of node-fetch.
292
- // Note, despite the name, this does not add any polyfills, but expects them to be provided if needed.
293
- import '@tryfinch/finch-api/shims/web';
294
- import Finch from '@tryfinch/finch-api';
331
+ import fetch from 'my-fetch';
332
+
333
+ globalThis.fetch = fetch;
295
334
  ```
296
335
 
297
- To do the inverse, add `import "@tryfinch/finch-api/shims/node"` (which does import polyfills).
298
- This can also be useful if you are getting the wrong TypeScript types for `Response` ([more details](https://github.com/Finch-API/finch-api-node/tree/main/src/_shims#readme)).
336
+ Or pass it to the client:
337
+
338
+ ```ts
339
+ import Finch from '@tryfinch/finch-api';
340
+ import fetch from 'my-fetch';
341
+
342
+ const client = new Finch({ fetch });
343
+ ```
299
344
 
300
- ### Logging and middleware
345
+ ### Fetch options
301
346
 
302
- You may also provide a custom `fetch` function when instantiating the client,
303
- which can be used to inspect or alter the `Request` or `Response` before/after each request:
347
+ If you want to set custom `fetch` options without overriding the `fetch` function, you can provide a `fetchOptions` object when instantiating the client or making a request. (Request-specific options override client options.)
304
348
 
305
349
  ```ts
306
- import { fetch } from 'undici'; // as one example
307
350
  import Finch from '@tryfinch/finch-api';
308
351
 
309
352
  const client = new Finch({
310
- fetch: async (url: RequestInfo, init?: RequestInit): Promise<Response> => {
311
- console.log('About to make a request', url, init);
312
- const response = await fetch(url, init);
313
- console.log('Got response', response);
314
- return response;
353
+ fetchOptions: {
354
+ // `RequestInit` options
315
355
  },
316
356
  });
317
357
  ```
318
358
 
319
- Note that if given a `DEBUG=true` environment variable, this library will log all requests and responses automatically.
320
- This is intended for debugging purposes only and may change in the future without notice.
359
+ #### Configuring proxies
321
360
 
322
- ### Configuring an HTTP(S) Agent (e.g., for proxies)
361
+ To modify proxy behavior, you can provide custom `fetchOptions` that add runtime-specific proxy
362
+ options to requests:
323
363
 
324
- By default, this library uses a stable agent for all http/https requests to reuse TCP connections, eliminating many TCP & TLS handshakes and shaving around 100ms off most requests.
364
+ <img src="https://raw.githubusercontent.com/stainless-api/sdk-assets/refs/heads/main/node.svg" align="top" width="18" height="21"> **Node** <sup>[[docs](https://github.com/nodejs/undici/blob/main/docs/docs/api/ProxyAgent.md#example---proxyagent-with-fetch)]</sup>
325
365
 
326
- If you would like to disable or customize this behavior, for example to use the API behind a proxy, you can pass an `httpAgent` which is used for all requests (be they http or https), for example:
366
+ ```ts
367
+ import Finch from '@tryfinch/finch-api';
368
+ import * as undici from 'undici';
369
+
370
+ const proxyAgent = new undici.ProxyAgent('http://localhost:8888');
371
+ const client = new Finch({
372
+ fetchOptions: {
373
+ dispatcher: proxyAgent,
374
+ },
375
+ });
376
+ ```
377
+
378
+ <img src="https://raw.githubusercontent.com/stainless-api/sdk-assets/refs/heads/main/bun.svg" align="top" width="18" height="21"> **Bun** <sup>[[docs](https://bun.sh/guides/http/proxy)]</sup>
327
379
 
328
- <!-- prettier-ignore -->
329
380
  ```ts
330
- import http from 'http';
331
- import { HttpsProxyAgent } from 'https-proxy-agent';
381
+ import Finch from '@tryfinch/finch-api';
332
382
 
333
- // Configure the default for all requests:
334
383
  const client = new Finch({
335
- httpAgent: new HttpsProxyAgent(process.env.PROXY_URL),
384
+ fetchOptions: {
385
+ proxy: 'http://localhost:8888',
386
+ },
336
387
  });
388
+ ```
337
389
 
338
- // Override per-request:
339
- await client.hris.directory.list({
340
- httpAgent: new http.Agent({ keepAlive: false }),
390
+ <img src="https://raw.githubusercontent.com/stainless-api/sdk-assets/refs/heads/main/deno.svg" align="top" width="18" height="21"> **Deno** <sup>[[docs](https://docs.deno.com/api/deno/~/Deno.createHttpClient)]</sup>
391
+
392
+ ```ts
393
+ import Finch from 'npm:@tryfinch/finch-api';
394
+
395
+ const httpClient = Deno.createHttpClient({ proxy: { url: 'http://localhost:8888' } });
396
+ const client = new Finch({
397
+ fetchOptions: {
398
+ client: httpClient,
399
+ },
341
400
  });
342
401
  ```
343
402
 
403
+ ## Frequently Asked Questions
404
+
344
405
  ## Semantic versioning
345
406
 
346
407
  This package generally follows [SemVer](https://semver.org/spec/v2.0.0.html) conventions, though certain backwards-incompatible changes may be released as minor versions:
@@ -355,11 +416,11 @@ We are keen for your feedback; please open an [issue](https://www.github.com/Fin
355
416
 
356
417
  ## Requirements
357
418
 
358
- TypeScript >= 4.5 is supported.
419
+ TypeScript >= 4.9 is supported.
359
420
 
360
421
  The following runtimes are supported:
361
422
 
362
- - Node.js 18 LTS or later ([non-EOL](https://endoflife.date/nodejs)) versions.
423
+ - Node.js 20 LTS or later ([non-EOL](https://endoflife.date/nodejs)) versions.
363
424
  - Deno v1.28.0 or higher.
364
425
  - Bun 1.0 or later.
365
426
  - Cloudflare Workers.
@@ -0,0 +1,2 @@
1
+ export * from "./core/api-promise.mjs";
2
+ //# sourceMappingURL=api-promise.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"api-promise.d.mts","sourceRoot":"","sources":["src/api-promise.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export * from "./core/api-promise.js";
2
+ //# sourceMappingURL=api-promise.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"api-promise.d.ts","sourceRoot":"","sources":["src/api-promise.ts"],"names":[],"mappings":""}