@tryfinch/finch-api-mcp 6.22.1

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 (463) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +247 -0
  3. package/index.d.mts +2 -0
  4. package/index.d.mts.map +1 -0
  5. package/index.d.ts +2 -0
  6. package/index.d.ts.map +1 -0
  7. package/index.js +162 -0
  8. package/index.js.map +1 -0
  9. package/index.mjs +156 -0
  10. package/index.mjs.map +1 -0
  11. package/package.json +50 -0
  12. package/server.d.mts +30 -0
  13. package/server.d.mts.map +1 -0
  14. package/server.d.ts +30 -0
  15. package/server.d.ts.map +1 -0
  16. package/server.js +77 -0
  17. package/server.js.map +1 -0
  18. package/server.mjs +67 -0
  19. package/server.mjs.map +1 -0
  20. package/src/index.ts +190 -0
  21. package/src/server.ts +89 -0
  22. package/src/tools/access-tokens/create-access-tokens.ts +40 -0
  23. package/src/tools/account/disconnect-account.ts +27 -0
  24. package/src/tools/account/introspect-account.ts +27 -0
  25. package/src/tools/connect/sessions/new-connect-sessions.ts +81 -0
  26. package/src/tools/connect/sessions/reauthenticate-connect-sessions.ts +58 -0
  27. package/src/tools/hris/benefits/create-hris-benefits.ts +67 -0
  28. package/src/tools/hris/benefits/individuals/enroll-many-benefits-hris-individuals.ts +101 -0
  29. package/src/tools/hris/benefits/individuals/enrolled-ids-benefits-hris-individuals.ts +31 -0
  30. package/src/tools/hris/benefits/individuals/retrieve-many-benefits-benefits-hris-individuals.ts +36 -0
  31. package/src/tools/hris/benefits/individuals/unenroll-many-benefits-hris-individuals.ts +38 -0
  32. package/src/tools/hris/benefits/list-hris-benefits.ts +27 -0
  33. package/src/tools/hris/benefits/list-supported-benefits-hris-benefits.ts +27 -0
  34. package/src/tools/hris/benefits/retrieve-hris-benefits.ts +31 -0
  35. package/src/tools/hris/benefits/update-hris-benefits.ts +35 -0
  36. package/src/tools/hris/company/pay-statement-item/list-company-hris-pay-statement-item.ts +58 -0
  37. package/src/tools/hris/company/pay-statement-item/rules/create-pay-statement-item-company-hris-rules.ts +78 -0
  38. package/src/tools/hris/company/pay-statement-item/rules/delete-pay-statement-item-company-hris-rules.ts +32 -0
  39. package/src/tools/hris/company/pay-statement-item/rules/list-pay-statement-item-company-hris-rules.ts +28 -0
  40. package/src/tools/hris/company/pay-statement-item/rules/update-pay-statement-item-company-hris-rules.ts +35 -0
  41. package/src/tools/hris/company/retrieve-hris-company.ts +27 -0
  42. package/src/tools/hris/directory/list-hris-directory.ts +36 -0
  43. package/src/tools/hris/directory/list-individuals-hris-directory.ts +36 -0
  44. package/src/tools/hris/documents/list-hris-documents.ts +53 -0
  45. package/src/tools/hris/documents/retreive-hris-documents.ts +32 -0
  46. package/src/tools/hris/employments/retrieve-many-hris-employments.ts +43 -0
  47. package/src/tools/hris/individuals/retrieve-many-hris-individuals.ts +52 -0
  48. package/src/tools/hris/pay-statements/retrieve-many-hris-pay-statements.ts +51 -0
  49. package/src/tools/hris/payments/list-hris-payments.ts +38 -0
  50. package/src/tools/index.ts +165 -0
  51. package/src/tools/jobs/automated/create-jobs-automated.ts +59 -0
  52. package/src/tools/jobs/automated/list-jobs-automated.ts +37 -0
  53. package/src/tools/jobs/automated/retrieve-jobs-automated.ts +31 -0
  54. package/src/tools/jobs/manual/retrieve-jobs-manual.ts +32 -0
  55. package/src/tools/payroll/pay-groups/list-payroll-pay-groups.ts +37 -0
  56. package/src/tools/payroll/pay-groups/retrieve-payroll-pay-groups.ts +31 -0
  57. package/src/tools/providers/list-providers.ts +27 -0
  58. package/src/tools/request-forwarding/forward-request-forwarding.ts +54 -0
  59. package/src/tools/sandbox/company/update-sandbox-company.ts +158 -0
  60. package/src/tools/sandbox/connections/accounts/create-connections-sandbox-accounts.ts +48 -0
  61. package/src/tools/sandbox/connections/accounts/update-connections-sandbox-accounts.ts +34 -0
  62. package/src/tools/sandbox/connections/create-sandbox-connections.ts +48 -0
  63. package/src/tools/sandbox/directory/create-sandbox-directory.ts +294 -0
  64. package/src/tools/sandbox/employment/update-sandbox-employment.ts +214 -0
  65. package/src/tools/sandbox/individual/update-sandbox-individual.ts +149 -0
  66. package/src/tools/sandbox/jobs/configuration/retrieve-jobs-sandbox-configuration.ts +27 -0
  67. package/src/tools/sandbox/jobs/configuration/update-jobs-sandbox-configuration.ts +36 -0
  68. package/src/tools/sandbox/jobs/create-sandbox-jobs.ts +33 -0
  69. package/src/tools/sandbox/payment/create-sandbox-payment.ts +300 -0
  70. package/src/tools.ts +1 -0
  71. package/src/tsconfig.json +11 -0
  72. package/tools/access-tokens/create-access-tokens.d.mts +24 -0
  73. package/tools/access-tokens/create-access-tokens.d.mts.map +1 -0
  74. package/tools/access-tokens/create-access-tokens.d.ts +24 -0
  75. package/tools/access-tokens/create-access-tokens.d.ts.map +1 -0
  76. package/tools/access-tokens/create-access-tokens.js +37 -0
  77. package/tools/access-tokens/create-access-tokens.js.map +1 -0
  78. package/tools/access-tokens/create-access-tokens.mjs +33 -0
  79. package/tools/access-tokens/create-access-tokens.mjs.map +1 -0
  80. package/tools/account/disconnect-account.d.mts +24 -0
  81. package/tools/account/disconnect-account.d.mts.map +1 -0
  82. package/tools/account/disconnect-account.d.ts +24 -0
  83. package/tools/account/disconnect-account.d.ts.map +1 -0
  84. package/tools/account/disconnect-account.js +24 -0
  85. package/tools/account/disconnect-account.js.map +1 -0
  86. package/tools/account/disconnect-account.mjs +20 -0
  87. package/tools/account/disconnect-account.mjs.map +1 -0
  88. package/tools/account/introspect-account.d.mts +24 -0
  89. package/tools/account/introspect-account.d.mts.map +1 -0
  90. package/tools/account/introspect-account.d.ts +24 -0
  91. package/tools/account/introspect-account.d.ts.map +1 -0
  92. package/tools/account/introspect-account.js +24 -0
  93. package/tools/account/introspect-account.js.map +1 -0
  94. package/tools/account/introspect-account.mjs +20 -0
  95. package/tools/account/introspect-account.mjs.map +1 -0
  96. package/tools/connect/sessions/new-connect-sessions.d.mts +24 -0
  97. package/tools/connect/sessions/new-connect-sessions.d.mts.map +1 -0
  98. package/tools/connect/sessions/new-connect-sessions.d.ts +24 -0
  99. package/tools/connect/sessions/new-connect-sessions.d.ts.map +1 -0
  100. package/tools/connect/sessions/new-connect-sessions.js +78 -0
  101. package/tools/connect/sessions/new-connect-sessions.js.map +1 -0
  102. package/tools/connect/sessions/new-connect-sessions.mjs +74 -0
  103. package/tools/connect/sessions/new-connect-sessions.mjs.map +1 -0
  104. package/tools/connect/sessions/reauthenticate-connect-sessions.d.mts +24 -0
  105. package/tools/connect/sessions/reauthenticate-connect-sessions.d.mts.map +1 -0
  106. package/tools/connect/sessions/reauthenticate-connect-sessions.d.ts +24 -0
  107. package/tools/connect/sessions/reauthenticate-connect-sessions.d.ts.map +1 -0
  108. package/tools/connect/sessions/reauthenticate-connect-sessions.js +55 -0
  109. package/tools/connect/sessions/reauthenticate-connect-sessions.js.map +1 -0
  110. package/tools/connect/sessions/reauthenticate-connect-sessions.mjs +51 -0
  111. package/tools/connect/sessions/reauthenticate-connect-sessions.mjs.map +1 -0
  112. package/tools/hris/benefits/create-hris-benefits.d.mts +24 -0
  113. package/tools/hris/benefits/create-hris-benefits.d.mts.map +1 -0
  114. package/tools/hris/benefits/create-hris-benefits.d.ts +24 -0
  115. package/tools/hris/benefits/create-hris-benefits.d.ts.map +1 -0
  116. package/tools/hris/benefits/create-hris-benefits.js +62 -0
  117. package/tools/hris/benefits/create-hris-benefits.js.map +1 -0
  118. package/tools/hris/benefits/create-hris-benefits.mjs +58 -0
  119. package/tools/hris/benefits/create-hris-benefits.mjs.map +1 -0
  120. package/tools/hris/benefits/individuals/enroll-many-benefits-hris-individuals.d.mts +24 -0
  121. package/tools/hris/benefits/individuals/enroll-many-benefits-hris-individuals.d.mts.map +1 -0
  122. package/tools/hris/benefits/individuals/enroll-many-benefits-hris-individuals.d.ts +24 -0
  123. package/tools/hris/benefits/individuals/enroll-many-benefits-hris-individuals.d.ts.map +1 -0
  124. package/tools/hris/benefits/individuals/enroll-many-benefits-hris-individuals.js +94 -0
  125. package/tools/hris/benefits/individuals/enroll-many-benefits-hris-individuals.js.map +1 -0
  126. package/tools/hris/benefits/individuals/enroll-many-benefits-hris-individuals.mjs +90 -0
  127. package/tools/hris/benefits/individuals/enroll-many-benefits-hris-individuals.mjs.map +1 -0
  128. package/tools/hris/benefits/individuals/enrolled-ids-benefits-hris-individuals.d.mts +24 -0
  129. package/tools/hris/benefits/individuals/enrolled-ids-benefits-hris-individuals.d.mts.map +1 -0
  130. package/tools/hris/benefits/individuals/enrolled-ids-benefits-hris-individuals.d.ts +24 -0
  131. package/tools/hris/benefits/individuals/enrolled-ids-benefits-hris-individuals.d.ts.map +1 -0
  132. package/tools/hris/benefits/individuals/enrolled-ids-benefits-hris-individuals.js +28 -0
  133. package/tools/hris/benefits/individuals/enrolled-ids-benefits-hris-individuals.js.map +1 -0
  134. package/tools/hris/benefits/individuals/enrolled-ids-benefits-hris-individuals.mjs +24 -0
  135. package/tools/hris/benefits/individuals/enrolled-ids-benefits-hris-individuals.mjs.map +1 -0
  136. package/tools/hris/benefits/individuals/retrieve-many-benefits-benefits-hris-individuals.d.mts +24 -0
  137. package/tools/hris/benefits/individuals/retrieve-many-benefits-benefits-hris-individuals.d.mts.map +1 -0
  138. package/tools/hris/benefits/individuals/retrieve-many-benefits-benefits-hris-individuals.d.ts +24 -0
  139. package/tools/hris/benefits/individuals/retrieve-many-benefits-benefits-hris-individuals.d.ts.map +1 -0
  140. package/tools/hris/benefits/individuals/retrieve-many-benefits-benefits-hris-individuals.js +32 -0
  141. package/tools/hris/benefits/individuals/retrieve-many-benefits-benefits-hris-individuals.js.map +1 -0
  142. package/tools/hris/benefits/individuals/retrieve-many-benefits-benefits-hris-individuals.mjs +28 -0
  143. package/tools/hris/benefits/individuals/retrieve-many-benefits-benefits-hris-individuals.mjs.map +1 -0
  144. package/tools/hris/benefits/individuals/unenroll-many-benefits-hris-individuals.d.mts +24 -0
  145. package/tools/hris/benefits/individuals/unenroll-many-benefits-hris-individuals.d.mts.map +1 -0
  146. package/tools/hris/benefits/individuals/unenroll-many-benefits-hris-individuals.d.ts +24 -0
  147. package/tools/hris/benefits/individuals/unenroll-many-benefits-hris-individuals.d.ts.map +1 -0
  148. package/tools/hris/benefits/individuals/unenroll-many-benefits-hris-individuals.js +35 -0
  149. package/tools/hris/benefits/individuals/unenroll-many-benefits-hris-individuals.js.map +1 -0
  150. package/tools/hris/benefits/individuals/unenroll-many-benefits-hris-individuals.mjs +31 -0
  151. package/tools/hris/benefits/individuals/unenroll-many-benefits-hris-individuals.mjs.map +1 -0
  152. package/tools/hris/benefits/list-hris-benefits.d.mts +24 -0
  153. package/tools/hris/benefits/list-hris-benefits.d.mts.map +1 -0
  154. package/tools/hris/benefits/list-hris-benefits.d.ts +24 -0
  155. package/tools/hris/benefits/list-hris-benefits.d.ts.map +1 -0
  156. package/tools/hris/benefits/list-hris-benefits.js +24 -0
  157. package/tools/hris/benefits/list-hris-benefits.js.map +1 -0
  158. package/tools/hris/benefits/list-hris-benefits.mjs +20 -0
  159. package/tools/hris/benefits/list-hris-benefits.mjs.map +1 -0
  160. package/tools/hris/benefits/list-supported-benefits-hris-benefits.d.mts +24 -0
  161. package/tools/hris/benefits/list-supported-benefits-hris-benefits.d.mts.map +1 -0
  162. package/tools/hris/benefits/list-supported-benefits-hris-benefits.d.ts +24 -0
  163. package/tools/hris/benefits/list-supported-benefits-hris-benefits.d.ts.map +1 -0
  164. package/tools/hris/benefits/list-supported-benefits-hris-benefits.js +24 -0
  165. package/tools/hris/benefits/list-supported-benefits-hris-benefits.js.map +1 -0
  166. package/tools/hris/benefits/list-supported-benefits-hris-benefits.mjs +20 -0
  167. package/tools/hris/benefits/list-supported-benefits-hris-benefits.mjs.map +1 -0
  168. package/tools/hris/benefits/retrieve-hris-benefits.d.mts +24 -0
  169. package/tools/hris/benefits/retrieve-hris-benefits.d.mts.map +1 -0
  170. package/tools/hris/benefits/retrieve-hris-benefits.d.ts +24 -0
  171. package/tools/hris/benefits/retrieve-hris-benefits.d.ts.map +1 -0
  172. package/tools/hris/benefits/retrieve-hris-benefits.js +28 -0
  173. package/tools/hris/benefits/retrieve-hris-benefits.js.map +1 -0
  174. package/tools/hris/benefits/retrieve-hris-benefits.mjs +24 -0
  175. package/tools/hris/benefits/retrieve-hris-benefits.mjs.map +1 -0
  176. package/tools/hris/benefits/update-hris-benefits.d.mts +24 -0
  177. package/tools/hris/benefits/update-hris-benefits.d.mts.map +1 -0
  178. package/tools/hris/benefits/update-hris-benefits.d.ts +24 -0
  179. package/tools/hris/benefits/update-hris-benefits.d.ts.map +1 -0
  180. package/tools/hris/benefits/update-hris-benefits.js +32 -0
  181. package/tools/hris/benefits/update-hris-benefits.js.map +1 -0
  182. package/tools/hris/benefits/update-hris-benefits.mjs +28 -0
  183. package/tools/hris/benefits/update-hris-benefits.mjs.map +1 -0
  184. package/tools/hris/company/pay-statement-item/list-company-hris-pay-statement-item.d.mts +24 -0
  185. package/tools/hris/company/pay-statement-item/list-company-hris-pay-statement-item.d.mts.map +1 -0
  186. package/tools/hris/company/pay-statement-item/list-company-hris-pay-statement-item.d.ts +24 -0
  187. package/tools/hris/company/pay-statement-item/list-company-hris-pay-statement-item.d.ts.map +1 -0
  188. package/tools/hris/company/pay-statement-item/list-company-hris-pay-statement-item.js +51 -0
  189. package/tools/hris/company/pay-statement-item/list-company-hris-pay-statement-item.js.map +1 -0
  190. package/tools/hris/company/pay-statement-item/list-company-hris-pay-statement-item.mjs +47 -0
  191. package/tools/hris/company/pay-statement-item/list-company-hris-pay-statement-item.mjs.map +1 -0
  192. package/tools/hris/company/pay-statement-item/rules/create-pay-statement-item-company-hris-rules.d.mts +24 -0
  193. package/tools/hris/company/pay-statement-item/rules/create-pay-statement-item-company-hris-rules.d.mts.map +1 -0
  194. package/tools/hris/company/pay-statement-item/rules/create-pay-statement-item-company-hris-rules.d.ts +24 -0
  195. package/tools/hris/company/pay-statement-item/rules/create-pay-statement-item-company-hris-rules.d.ts.map +1 -0
  196. package/tools/hris/company/pay-statement-item/rules/create-pay-statement-item-company-hris-rules.js +73 -0
  197. package/tools/hris/company/pay-statement-item/rules/create-pay-statement-item-company-hris-rules.js.map +1 -0
  198. package/tools/hris/company/pay-statement-item/rules/create-pay-statement-item-company-hris-rules.mjs +69 -0
  199. package/tools/hris/company/pay-statement-item/rules/create-pay-statement-item-company-hris-rules.mjs.map +1 -0
  200. package/tools/hris/company/pay-statement-item/rules/delete-pay-statement-item-company-hris-rules.d.mts +24 -0
  201. package/tools/hris/company/pay-statement-item/rules/delete-pay-statement-item-company-hris-rules.d.mts.map +1 -0
  202. package/tools/hris/company/pay-statement-item/rules/delete-pay-statement-item-company-hris-rules.d.ts +24 -0
  203. package/tools/hris/company/pay-statement-item/rules/delete-pay-statement-item-company-hris-rules.d.ts.map +1 -0
  204. package/tools/hris/company/pay-statement-item/rules/delete-pay-statement-item-company-hris-rules.js +28 -0
  205. package/tools/hris/company/pay-statement-item/rules/delete-pay-statement-item-company-hris-rules.js.map +1 -0
  206. package/tools/hris/company/pay-statement-item/rules/delete-pay-statement-item-company-hris-rules.mjs +24 -0
  207. package/tools/hris/company/pay-statement-item/rules/delete-pay-statement-item-company-hris-rules.mjs.map +1 -0
  208. package/tools/hris/company/pay-statement-item/rules/list-pay-statement-item-company-hris-rules.d.mts +24 -0
  209. package/tools/hris/company/pay-statement-item/rules/list-pay-statement-item-company-hris-rules.d.mts.map +1 -0
  210. package/tools/hris/company/pay-statement-item/rules/list-pay-statement-item-company-hris-rules.d.ts +24 -0
  211. package/tools/hris/company/pay-statement-item/rules/list-pay-statement-item-company-hris-rules.d.ts.map +1 -0
  212. package/tools/hris/company/pay-statement-item/rules/list-pay-statement-item-company-hris-rules.js +24 -0
  213. package/tools/hris/company/pay-statement-item/rules/list-pay-statement-item-company-hris-rules.js.map +1 -0
  214. package/tools/hris/company/pay-statement-item/rules/list-pay-statement-item-company-hris-rules.mjs +20 -0
  215. package/tools/hris/company/pay-statement-item/rules/list-pay-statement-item-company-hris-rules.mjs.map +1 -0
  216. package/tools/hris/company/pay-statement-item/rules/update-pay-statement-item-company-hris-rules.d.mts +24 -0
  217. package/tools/hris/company/pay-statement-item/rules/update-pay-statement-item-company-hris-rules.d.mts.map +1 -0
  218. package/tools/hris/company/pay-statement-item/rules/update-pay-statement-item-company-hris-rules.d.ts +24 -0
  219. package/tools/hris/company/pay-statement-item/rules/update-pay-statement-item-company-hris-rules.d.ts.map +1 -0
  220. package/tools/hris/company/pay-statement-item/rules/update-pay-statement-item-company-hris-rules.js +31 -0
  221. package/tools/hris/company/pay-statement-item/rules/update-pay-statement-item-company-hris-rules.js.map +1 -0
  222. package/tools/hris/company/pay-statement-item/rules/update-pay-statement-item-company-hris-rules.mjs +27 -0
  223. package/tools/hris/company/pay-statement-item/rules/update-pay-statement-item-company-hris-rules.mjs.map +1 -0
  224. package/tools/hris/company/retrieve-hris-company.d.mts +24 -0
  225. package/tools/hris/company/retrieve-hris-company.d.mts.map +1 -0
  226. package/tools/hris/company/retrieve-hris-company.d.ts +24 -0
  227. package/tools/hris/company/retrieve-hris-company.d.ts.map +1 -0
  228. package/tools/hris/company/retrieve-hris-company.js +24 -0
  229. package/tools/hris/company/retrieve-hris-company.js.map +1 -0
  230. package/tools/hris/company/retrieve-hris-company.mjs +20 -0
  231. package/tools/hris/company/retrieve-hris-company.mjs.map +1 -0
  232. package/tools/hris/directory/list-hris-directory.d.mts +24 -0
  233. package/tools/hris/directory/list-hris-directory.d.mts.map +1 -0
  234. package/tools/hris/directory/list-hris-directory.d.ts +24 -0
  235. package/tools/hris/directory/list-hris-directory.d.ts.map +1 -0
  236. package/tools/hris/directory/list-hris-directory.js +33 -0
  237. package/tools/hris/directory/list-hris-directory.js.map +1 -0
  238. package/tools/hris/directory/list-hris-directory.mjs +29 -0
  239. package/tools/hris/directory/list-hris-directory.mjs.map +1 -0
  240. package/tools/hris/directory/list-individuals-hris-directory.d.mts +24 -0
  241. package/tools/hris/directory/list-individuals-hris-directory.d.mts.map +1 -0
  242. package/tools/hris/directory/list-individuals-hris-directory.d.ts +24 -0
  243. package/tools/hris/directory/list-individuals-hris-directory.d.ts.map +1 -0
  244. package/tools/hris/directory/list-individuals-hris-directory.js +33 -0
  245. package/tools/hris/directory/list-individuals-hris-directory.js.map +1 -0
  246. package/tools/hris/directory/list-individuals-hris-directory.mjs +29 -0
  247. package/tools/hris/directory/list-individuals-hris-directory.mjs.map +1 -0
  248. package/tools/hris/documents/list-hris-documents.d.mts +24 -0
  249. package/tools/hris/documents/list-hris-documents.d.mts.map +1 -0
  250. package/tools/hris/documents/list-hris-documents.d.ts +24 -0
  251. package/tools/hris/documents/list-hris-documents.d.ts.map +1 -0
  252. package/tools/hris/documents/list-hris-documents.js +48 -0
  253. package/tools/hris/documents/list-hris-documents.js.map +1 -0
  254. package/tools/hris/documents/list-hris-documents.mjs +44 -0
  255. package/tools/hris/documents/list-hris-documents.mjs.map +1 -0
  256. package/tools/hris/documents/retreive-hris-documents.d.mts +24 -0
  257. package/tools/hris/documents/retreive-hris-documents.d.mts.map +1 -0
  258. package/tools/hris/documents/retreive-hris-documents.d.ts +24 -0
  259. package/tools/hris/documents/retreive-hris-documents.d.ts.map +1 -0
  260. package/tools/hris/documents/retreive-hris-documents.js +28 -0
  261. package/tools/hris/documents/retreive-hris-documents.js.map +1 -0
  262. package/tools/hris/documents/retreive-hris-documents.mjs +24 -0
  263. package/tools/hris/documents/retreive-hris-documents.mjs.map +1 -0
  264. package/tools/hris/employments/retrieve-many-hris-employments.d.mts +24 -0
  265. package/tools/hris/employments/retrieve-many-hris-employments.d.mts.map +1 -0
  266. package/tools/hris/employments/retrieve-many-hris-employments.d.ts +24 -0
  267. package/tools/hris/employments/retrieve-many-hris-employments.d.ts.map +1 -0
  268. package/tools/hris/employments/retrieve-many-hris-employments.js +39 -0
  269. package/tools/hris/employments/retrieve-many-hris-employments.js.map +1 -0
  270. package/tools/hris/employments/retrieve-many-hris-employments.mjs +35 -0
  271. package/tools/hris/employments/retrieve-many-hris-employments.mjs.map +1 -0
  272. package/tools/hris/individuals/retrieve-many-hris-individuals.d.mts +24 -0
  273. package/tools/hris/individuals/retrieve-many-hris-individuals.d.mts.map +1 -0
  274. package/tools/hris/individuals/retrieve-many-hris-individuals.d.ts +24 -0
  275. package/tools/hris/individuals/retrieve-many-hris-individuals.d.ts.map +1 -0
  276. package/tools/hris/individuals/retrieve-many-hris-individuals.js +49 -0
  277. package/tools/hris/individuals/retrieve-many-hris-individuals.js.map +1 -0
  278. package/tools/hris/individuals/retrieve-many-hris-individuals.mjs +45 -0
  279. package/tools/hris/individuals/retrieve-many-hris-individuals.mjs.map +1 -0
  280. package/tools/hris/pay-statements/retrieve-many-hris-pay-statements.d.mts +24 -0
  281. package/tools/hris/pay-statements/retrieve-many-hris-pay-statements.d.mts.map +1 -0
  282. package/tools/hris/pay-statements/retrieve-many-hris-pay-statements.d.ts +24 -0
  283. package/tools/hris/pay-statements/retrieve-many-hris-pay-statements.d.ts.map +1 -0
  284. package/tools/hris/pay-statements/retrieve-many-hris-pay-statements.js +47 -0
  285. package/tools/hris/pay-statements/retrieve-many-hris-pay-statements.js.map +1 -0
  286. package/tools/hris/pay-statements/retrieve-many-hris-pay-statements.mjs +43 -0
  287. package/tools/hris/pay-statements/retrieve-many-hris-pay-statements.mjs.map +1 -0
  288. package/tools/hris/payments/list-hris-payments.d.mts +24 -0
  289. package/tools/hris/payments/list-hris-payments.d.mts.map +1 -0
  290. package/tools/hris/payments/list-hris-payments.d.ts +24 -0
  291. package/tools/hris/payments/list-hris-payments.d.ts.map +1 -0
  292. package/tools/hris/payments/list-hris-payments.js +35 -0
  293. package/tools/hris/payments/list-hris-payments.js.map +1 -0
  294. package/tools/hris/payments/list-hris-payments.mjs +31 -0
  295. package/tools/hris/payments/list-hris-payments.mjs.map +1 -0
  296. package/tools/index.d.mts +21 -0
  297. package/tools/index.d.mts.map +1 -0
  298. package/tools/index.d.ts +21 -0
  299. package/tools/index.d.ts.map +1 -0
  300. package/tools/index.js +140 -0
  301. package/tools/index.js.map +1 -0
  302. package/tools/index.mjs +133 -0
  303. package/tools/index.mjs.map +1 -0
  304. package/tools/jobs/automated/create-jobs-automated.d.mts +24 -0
  305. package/tools/jobs/automated/create-jobs-automated.d.mts.map +1 -0
  306. package/tools/jobs/automated/create-jobs-automated.d.ts +24 -0
  307. package/tools/jobs/automated/create-jobs-automated.d.ts.map +1 -0
  308. package/tools/jobs/automated/create-jobs-automated.js +55 -0
  309. package/tools/jobs/automated/create-jobs-automated.js.map +1 -0
  310. package/tools/jobs/automated/create-jobs-automated.mjs +51 -0
  311. package/tools/jobs/automated/create-jobs-automated.mjs.map +1 -0
  312. package/tools/jobs/automated/list-jobs-automated.d.mts +24 -0
  313. package/tools/jobs/automated/list-jobs-automated.d.mts.map +1 -0
  314. package/tools/jobs/automated/list-jobs-automated.d.ts +24 -0
  315. package/tools/jobs/automated/list-jobs-automated.d.ts.map +1 -0
  316. package/tools/jobs/automated/list-jobs-automated.js +33 -0
  317. package/tools/jobs/automated/list-jobs-automated.js.map +1 -0
  318. package/tools/jobs/automated/list-jobs-automated.mjs +29 -0
  319. package/tools/jobs/automated/list-jobs-automated.mjs.map +1 -0
  320. package/tools/jobs/automated/retrieve-jobs-automated.d.mts +24 -0
  321. package/tools/jobs/automated/retrieve-jobs-automated.d.mts.map +1 -0
  322. package/tools/jobs/automated/retrieve-jobs-automated.d.ts +24 -0
  323. package/tools/jobs/automated/retrieve-jobs-automated.d.ts.map +1 -0
  324. package/tools/jobs/automated/retrieve-jobs-automated.js +28 -0
  325. package/tools/jobs/automated/retrieve-jobs-automated.js.map +1 -0
  326. package/tools/jobs/automated/retrieve-jobs-automated.mjs +24 -0
  327. package/tools/jobs/automated/retrieve-jobs-automated.mjs.map +1 -0
  328. package/tools/jobs/manual/retrieve-jobs-manual.d.mts +24 -0
  329. package/tools/jobs/manual/retrieve-jobs-manual.d.mts.map +1 -0
  330. package/tools/jobs/manual/retrieve-jobs-manual.d.ts +24 -0
  331. package/tools/jobs/manual/retrieve-jobs-manual.d.ts.map +1 -0
  332. package/tools/jobs/manual/retrieve-jobs-manual.js +28 -0
  333. package/tools/jobs/manual/retrieve-jobs-manual.js.map +1 -0
  334. package/tools/jobs/manual/retrieve-jobs-manual.mjs +24 -0
  335. package/tools/jobs/manual/retrieve-jobs-manual.mjs.map +1 -0
  336. package/tools/payroll/pay-groups/list-payroll-pay-groups.d.mts +24 -0
  337. package/tools/payroll/pay-groups/list-payroll-pay-groups.d.mts.map +1 -0
  338. package/tools/payroll/pay-groups/list-payroll-pay-groups.d.ts +24 -0
  339. package/tools/payroll/pay-groups/list-payroll-pay-groups.d.ts.map +1 -0
  340. package/tools/payroll/pay-groups/list-payroll-pay-groups.js +34 -0
  341. package/tools/payroll/pay-groups/list-payroll-pay-groups.js.map +1 -0
  342. package/tools/payroll/pay-groups/list-payroll-pay-groups.mjs +30 -0
  343. package/tools/payroll/pay-groups/list-payroll-pay-groups.mjs.map +1 -0
  344. package/tools/payroll/pay-groups/retrieve-payroll-pay-groups.d.mts +24 -0
  345. package/tools/payroll/pay-groups/retrieve-payroll-pay-groups.d.mts.map +1 -0
  346. package/tools/payroll/pay-groups/retrieve-payroll-pay-groups.d.ts +24 -0
  347. package/tools/payroll/pay-groups/retrieve-payroll-pay-groups.d.ts.map +1 -0
  348. package/tools/payroll/pay-groups/retrieve-payroll-pay-groups.js +28 -0
  349. package/tools/payroll/pay-groups/retrieve-payroll-pay-groups.js.map +1 -0
  350. package/tools/payroll/pay-groups/retrieve-payroll-pay-groups.mjs +24 -0
  351. package/tools/payroll/pay-groups/retrieve-payroll-pay-groups.mjs.map +1 -0
  352. package/tools/providers/list-providers.d.mts +24 -0
  353. package/tools/providers/list-providers.d.mts.map +1 -0
  354. package/tools/providers/list-providers.d.ts +24 -0
  355. package/tools/providers/list-providers.d.ts.map +1 -0
  356. package/tools/providers/list-providers.js +24 -0
  357. package/tools/providers/list-providers.js.map +1 -0
  358. package/tools/providers/list-providers.mjs +20 -0
  359. package/tools/providers/list-providers.mjs.map +1 -0
  360. package/tools/request-forwarding/forward-request-forwarding.d.mts +24 -0
  361. package/tools/request-forwarding/forward-request-forwarding.d.mts.map +1 -0
  362. package/tools/request-forwarding/forward-request-forwarding.d.ts +24 -0
  363. package/tools/request-forwarding/forward-request-forwarding.d.ts.map +1 -0
  364. package/tools/request-forwarding/forward-request-forwarding.js +45 -0
  365. package/tools/request-forwarding/forward-request-forwarding.js.map +1 -0
  366. package/tools/request-forwarding/forward-request-forwarding.mjs +41 -0
  367. package/tools/request-forwarding/forward-request-forwarding.mjs.map +1 -0
  368. package/tools/sandbox/company/update-sandbox-company.d.mts +24 -0
  369. package/tools/sandbox/company/update-sandbox-company.d.mts.map +1 -0
  370. package/tools/sandbox/company/update-sandbox-company.d.ts +24 -0
  371. package/tools/sandbox/company/update-sandbox-company.d.ts.map +1 -0
  372. package/tools/sandbox/company/update-sandbox-company.js +154 -0
  373. package/tools/sandbox/company/update-sandbox-company.js.map +1 -0
  374. package/tools/sandbox/company/update-sandbox-company.mjs +150 -0
  375. package/tools/sandbox/company/update-sandbox-company.mjs.map +1 -0
  376. package/tools/sandbox/connections/accounts/create-connections-sandbox-accounts.d.mts +24 -0
  377. package/tools/sandbox/connections/accounts/create-connections-sandbox-accounts.d.mts.map +1 -0
  378. package/tools/sandbox/connections/accounts/create-connections-sandbox-accounts.d.ts +24 -0
  379. package/tools/sandbox/connections/accounts/create-connections-sandbox-accounts.d.ts.map +1 -0
  380. package/tools/sandbox/connections/accounts/create-connections-sandbox-accounts.js +44 -0
  381. package/tools/sandbox/connections/accounts/create-connections-sandbox-accounts.js.map +1 -0
  382. package/tools/sandbox/connections/accounts/create-connections-sandbox-accounts.mjs +40 -0
  383. package/tools/sandbox/connections/accounts/create-connections-sandbox-accounts.mjs.map +1 -0
  384. package/tools/sandbox/connections/accounts/update-connections-sandbox-accounts.d.mts +24 -0
  385. package/tools/sandbox/connections/accounts/update-connections-sandbox-accounts.d.mts.map +1 -0
  386. package/tools/sandbox/connections/accounts/update-connections-sandbox-accounts.d.ts +24 -0
  387. package/tools/sandbox/connections/accounts/update-connections-sandbox-accounts.d.ts.map +1 -0
  388. package/tools/sandbox/connections/accounts/update-connections-sandbox-accounts.js +30 -0
  389. package/tools/sandbox/connections/accounts/update-connections-sandbox-accounts.js.map +1 -0
  390. package/tools/sandbox/connections/accounts/update-connections-sandbox-accounts.mjs +26 -0
  391. package/tools/sandbox/connections/accounts/update-connections-sandbox-accounts.mjs.map +1 -0
  392. package/tools/sandbox/connections/create-sandbox-connections.d.mts +24 -0
  393. package/tools/sandbox/connections/create-sandbox-connections.d.mts.map +1 -0
  394. package/tools/sandbox/connections/create-sandbox-connections.d.ts +24 -0
  395. package/tools/sandbox/connections/create-sandbox-connections.d.ts.map +1 -0
  396. package/tools/sandbox/connections/create-sandbox-connections.js +44 -0
  397. package/tools/sandbox/connections/create-sandbox-connections.js.map +1 -0
  398. package/tools/sandbox/connections/create-sandbox-connections.mjs +40 -0
  399. package/tools/sandbox/connections/create-sandbox-connections.mjs.map +1 -0
  400. package/tools/sandbox/directory/create-sandbox-directory.d.mts +24 -0
  401. package/tools/sandbox/directory/create-sandbox-directory.d.mts.map +1 -0
  402. package/tools/sandbox/directory/create-sandbox-directory.d.ts +24 -0
  403. package/tools/sandbox/directory/create-sandbox-directory.d.ts.map +1 -0
  404. package/tools/sandbox/directory/create-sandbox-directory.js +284 -0
  405. package/tools/sandbox/directory/create-sandbox-directory.js.map +1 -0
  406. package/tools/sandbox/directory/create-sandbox-directory.mjs +280 -0
  407. package/tools/sandbox/directory/create-sandbox-directory.mjs.map +1 -0
  408. package/tools/sandbox/employment/update-sandbox-employment.d.mts +24 -0
  409. package/tools/sandbox/employment/update-sandbox-employment.d.mts.map +1 -0
  410. package/tools/sandbox/employment/update-sandbox-employment.d.ts +24 -0
  411. package/tools/sandbox/employment/update-sandbox-employment.d.ts.map +1 -0
  412. package/tools/sandbox/employment/update-sandbox-employment.js +207 -0
  413. package/tools/sandbox/employment/update-sandbox-employment.js.map +1 -0
  414. package/tools/sandbox/employment/update-sandbox-employment.mjs +203 -0
  415. package/tools/sandbox/employment/update-sandbox-employment.mjs.map +1 -0
  416. package/tools/sandbox/individual/update-sandbox-individual.d.mts +24 -0
  417. package/tools/sandbox/individual/update-sandbox-individual.d.mts.map +1 -0
  418. package/tools/sandbox/individual/update-sandbox-individual.d.ts +24 -0
  419. package/tools/sandbox/individual/update-sandbox-individual.d.ts.map +1 -0
  420. package/tools/sandbox/individual/update-sandbox-individual.js +144 -0
  421. package/tools/sandbox/individual/update-sandbox-individual.js.map +1 -0
  422. package/tools/sandbox/individual/update-sandbox-individual.mjs +140 -0
  423. package/tools/sandbox/individual/update-sandbox-individual.mjs.map +1 -0
  424. package/tools/sandbox/jobs/configuration/retrieve-jobs-sandbox-configuration.d.mts +24 -0
  425. package/tools/sandbox/jobs/configuration/retrieve-jobs-sandbox-configuration.d.mts.map +1 -0
  426. package/tools/sandbox/jobs/configuration/retrieve-jobs-sandbox-configuration.d.ts +24 -0
  427. package/tools/sandbox/jobs/configuration/retrieve-jobs-sandbox-configuration.d.ts.map +1 -0
  428. package/tools/sandbox/jobs/configuration/retrieve-jobs-sandbox-configuration.js +24 -0
  429. package/tools/sandbox/jobs/configuration/retrieve-jobs-sandbox-configuration.js.map +1 -0
  430. package/tools/sandbox/jobs/configuration/retrieve-jobs-sandbox-configuration.mjs +20 -0
  431. package/tools/sandbox/jobs/configuration/retrieve-jobs-sandbox-configuration.mjs.map +1 -0
  432. package/tools/sandbox/jobs/configuration/update-jobs-sandbox-configuration.d.mts +24 -0
  433. package/tools/sandbox/jobs/configuration/update-jobs-sandbox-configuration.d.mts.map +1 -0
  434. package/tools/sandbox/jobs/configuration/update-jobs-sandbox-configuration.d.ts +24 -0
  435. package/tools/sandbox/jobs/configuration/update-jobs-sandbox-configuration.d.ts.map +1 -0
  436. package/tools/sandbox/jobs/configuration/update-jobs-sandbox-configuration.js +33 -0
  437. package/tools/sandbox/jobs/configuration/update-jobs-sandbox-configuration.js.map +1 -0
  438. package/tools/sandbox/jobs/configuration/update-jobs-sandbox-configuration.mjs +29 -0
  439. package/tools/sandbox/jobs/configuration/update-jobs-sandbox-configuration.mjs.map +1 -0
  440. package/tools/sandbox/jobs/create-sandbox-jobs.d.mts +24 -0
  441. package/tools/sandbox/jobs/create-sandbox-jobs.d.mts.map +1 -0
  442. package/tools/sandbox/jobs/create-sandbox-jobs.d.ts +24 -0
  443. package/tools/sandbox/jobs/create-sandbox-jobs.d.ts.map +1 -0
  444. package/tools/sandbox/jobs/create-sandbox-jobs.js +30 -0
  445. package/tools/sandbox/jobs/create-sandbox-jobs.js.map +1 -0
  446. package/tools/sandbox/jobs/create-sandbox-jobs.mjs +26 -0
  447. package/tools/sandbox/jobs/create-sandbox-jobs.mjs.map +1 -0
  448. package/tools/sandbox/payment/create-sandbox-payment.d.mts +24 -0
  449. package/tools/sandbox/payment/create-sandbox-payment.d.mts.map +1 -0
  450. package/tools/sandbox/payment/create-sandbox-payment.d.ts +24 -0
  451. package/tools/sandbox/payment/create-sandbox-payment.d.ts.map +1 -0
  452. package/tools/sandbox/payment/create-sandbox-payment.js +292 -0
  453. package/tools/sandbox/payment/create-sandbox-payment.js.map +1 -0
  454. package/tools/sandbox/payment/create-sandbox-payment.mjs +288 -0
  455. package/tools/sandbox/payment/create-sandbox-payment.mjs.map +1 -0
  456. package/tools.d.mts +2 -0
  457. package/tools.d.mts.map +1 -0
  458. package/tools.d.ts +2 -0
  459. package/tools.d.ts.map +1 -0
  460. package/tools.js +18 -0
  461. package/tools.js.map +1 -0
  462. package/tools.mjs +2 -0
  463. package/tools.mjs.map +1 -0
@@ -0,0 +1,149 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ import { Tool } from '@modelcontextprotocol/sdk/types.js';
4
+ import type { Metadata } from '../../';
5
+ import Finch from '@tryfinch/finch-api';
6
+
7
+ export const metadata: Metadata = {
8
+ resource: 'sandbox.individual',
9
+ operation: 'write',
10
+ tags: [],
11
+ };
12
+
13
+ export const tool: Tool = {
14
+ name: 'update_sandbox_individual',
15
+ description: 'Update sandbox individual',
16
+ inputSchema: {
17
+ type: 'object',
18
+ properties: {
19
+ individual_id: {
20
+ type: 'string',
21
+ },
22
+ dob: {
23
+ type: 'string',
24
+ title: 'Date',
25
+ },
26
+ emails: {
27
+ type: 'array',
28
+ items: {
29
+ type: 'object',
30
+ properties: {
31
+ data: {
32
+ type: 'string',
33
+ },
34
+ type: {
35
+ type: 'string',
36
+ enum: ['work', 'personal'],
37
+ },
38
+ },
39
+ required: [],
40
+ },
41
+ },
42
+ encrypted_ssn: {
43
+ type: 'string',
44
+ description:
45
+ "Social Security Number of the individual in **encrypted** format. This field is only available with the `ssn` scope enabled and the `options: { include: ['ssn'] }` param set in the body.",
46
+ },
47
+ ethnicity: {
48
+ type: 'string',
49
+ description: 'The EEOC-defined ethnicity of the individual.',
50
+ enum: [
51
+ 'asian',
52
+ 'white',
53
+ 'black_or_african_american',
54
+ 'native_hawaiian_or_pacific_islander',
55
+ 'american_indian_or_alaska_native',
56
+ 'hispanic_or_latino',
57
+ 'two_or_more_races',
58
+ 'decline_to_specify',
59
+ ],
60
+ },
61
+ first_name: {
62
+ type: 'string',
63
+ description: 'The legal first name of the individual.',
64
+ },
65
+ gender: {
66
+ type: 'string',
67
+ description: 'The gender of the individual.',
68
+ enum: ['female', 'male', 'other', 'decline_to_specify'],
69
+ },
70
+ last_name: {
71
+ type: 'string',
72
+ description: 'The legal last name of the individual.',
73
+ },
74
+ middle_name: {
75
+ type: 'string',
76
+ description: 'The legal middle name of the individual.',
77
+ },
78
+ phone_numbers: {
79
+ type: 'array',
80
+ items: {
81
+ type: 'object',
82
+ properties: {
83
+ data: {
84
+ type: 'string',
85
+ },
86
+ type: {
87
+ type: 'string',
88
+ enum: ['work', 'personal'],
89
+ },
90
+ },
91
+ required: [],
92
+ },
93
+ },
94
+ preferred_name: {
95
+ type: 'string',
96
+ description: 'The preferred name of the individual.',
97
+ },
98
+ residence: {
99
+ type: 'object',
100
+ title: 'Location',
101
+ properties: {
102
+ city: {
103
+ type: 'string',
104
+ description: 'City, district, suburb, town, or village.',
105
+ },
106
+ country: {
107
+ type: 'string',
108
+ description: 'The 2-letter ISO 3166 country code.',
109
+ },
110
+ line1: {
111
+ type: 'string',
112
+ description: 'Street address or PO box.',
113
+ },
114
+ line2: {
115
+ type: 'string',
116
+ description: 'Apartment, suite, unit, or building.',
117
+ },
118
+ name: {
119
+ type: 'string',
120
+ },
121
+ postal_code: {
122
+ type: 'string',
123
+ description: 'The postal code or zip code.',
124
+ },
125
+ source_id: {
126
+ type: 'string',
127
+ },
128
+ state: {
129
+ type: 'string',
130
+ description: 'The state code.',
131
+ },
132
+ },
133
+ required: [],
134
+ },
135
+ ssn: {
136
+ type: 'string',
137
+ description:
138
+ "Social Security Number of the individual. This field is only available with the `ssn` scope enabled and the `options: { include: ['ssn'] }` param set in the body. [Click here to learn more about enabling the SSN field](/developer-resources/Enable-SSN-Field).",
139
+ },
140
+ },
141
+ },
142
+ };
143
+
144
+ export const handler = (client: Finch, args: any) => {
145
+ const { individual_id, ...body } = args;
146
+ return client.sandbox.individual.update(individual_id, body);
147
+ };
148
+
149
+ export default { metadata, tool, handler };
@@ -0,0 +1,27 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ import { Tool } from '@modelcontextprotocol/sdk/types.js';
4
+ import type { Metadata } from '../../../';
5
+ import Finch from '@tryfinch/finch-api';
6
+
7
+ export const metadata: Metadata = {
8
+ resource: 'sandbox.jobs.configuration',
9
+ operation: 'read',
10
+ tags: [],
11
+ };
12
+
13
+ export const tool: Tool = {
14
+ name: 'retrieve_jobs_sandbox_configuration',
15
+ description: 'Get configurations for sandbox jobs',
16
+ inputSchema: {
17
+ type: 'object',
18
+ properties: {},
19
+ },
20
+ };
21
+
22
+ export const handler = (client: Finch, args: any) => {
23
+ const {} = args;
24
+ return client.sandbox.jobs.configuration.retrieve();
25
+ };
26
+
27
+ export default { metadata, tool, handler };
@@ -0,0 +1,36 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ import { Tool } from '@modelcontextprotocol/sdk/types.js';
4
+ import type { Metadata } from '../../../';
5
+ import Finch from '@tryfinch/finch-api';
6
+
7
+ export const metadata: Metadata = {
8
+ resource: 'sandbox.jobs.configuration',
9
+ operation: 'write',
10
+ tags: [],
11
+ };
12
+
13
+ export const tool: Tool = {
14
+ name: 'update_jobs_sandbox_configuration',
15
+ description: 'Update configurations for sandbox jobs',
16
+ inputSchema: {
17
+ type: 'object',
18
+ properties: {
19
+ completion_status: {
20
+ type: 'string',
21
+ enum: ['complete', 'reauth_error', 'permissions_error', 'error'],
22
+ },
23
+ type: {
24
+ type: 'string',
25
+ enum: ['data_sync_all'],
26
+ },
27
+ },
28
+ },
29
+ };
30
+
31
+ export const handler = (client: Finch, args: any) => {
32
+ const { ...body } = args;
33
+ return client.sandbox.jobs.configuration.update(body);
34
+ };
35
+
36
+ export default { metadata, tool, handler };
@@ -0,0 +1,33 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ import { Tool } from '@modelcontextprotocol/sdk/types.js';
4
+ import type { Metadata } from '../../';
5
+ import Finch from '@tryfinch/finch-api';
6
+
7
+ export const metadata: Metadata = {
8
+ resource: 'sandbox.jobs',
9
+ operation: 'write',
10
+ tags: [],
11
+ };
12
+
13
+ export const tool: Tool = {
14
+ name: 'create_sandbox_jobs',
15
+ description: 'Enqueue a new sandbox job',
16
+ inputSchema: {
17
+ type: 'object',
18
+ properties: {
19
+ type: {
20
+ type: 'string',
21
+ description: 'The type of job to start. Currently the only supported type is `data_sync_all`',
22
+ enum: ['data_sync_all'],
23
+ },
24
+ },
25
+ },
26
+ };
27
+
28
+ export const handler = (client: Finch, args: any) => {
29
+ const { ...body } = args;
30
+ return client.sandbox.jobs.create(body);
31
+ };
32
+
33
+ export default { metadata, tool, handler };
@@ -0,0 +1,300 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ import { Tool } from '@modelcontextprotocol/sdk/types.js';
4
+ import type { Metadata } from '../../';
5
+ import Finch from '@tryfinch/finch-api';
6
+
7
+ export const metadata: Metadata = {
8
+ resource: 'sandbox.payment',
9
+ operation: 'write',
10
+ tags: [],
11
+ };
12
+
13
+ export const tool: Tool = {
14
+ name: 'create_sandbox_payment',
15
+ description: 'Add a new sandbox payment',
16
+ inputSchema: {
17
+ type: 'object',
18
+ properties: {
19
+ end_date: {
20
+ type: 'string',
21
+ },
22
+ pay_statements: {
23
+ type: 'array',
24
+ items: {
25
+ type: 'object',
26
+ title: 'Pay Statement',
27
+ properties: {
28
+ earnings: {
29
+ type: 'array',
30
+ description: 'The array of earnings objects associated with this pay statement',
31
+ items: {
32
+ type: 'object',
33
+ properties: {
34
+ amount: {
35
+ type: 'integer',
36
+ description: 'The earnings amount in cents.',
37
+ },
38
+ attributes: {
39
+ type: 'object',
40
+ properties: {
41
+ metadata: {
42
+ type: 'object',
43
+ properties: {
44
+ metadata: {
45
+ type: 'object',
46
+ description:
47
+ 'The metadata to be attached to the entity by existing rules. It is a key-value pairs where the values can be of any type (string, number, boolean, object, array, etc.).',
48
+ },
49
+ },
50
+ required: [],
51
+ },
52
+ },
53
+ required: [],
54
+ },
55
+ currency: {
56
+ type: 'string',
57
+ description: 'The earnings currency code.',
58
+ },
59
+ hours: {
60
+ type: 'number',
61
+ description:
62
+ 'The number of hours associated with this earning. (For salaried employees, this could be hours per pay period, `0` or `null`, depending on the provider).',
63
+ },
64
+ name: {
65
+ type: 'string',
66
+ description: 'The exact name of the deduction from the pay statement.',
67
+ },
68
+ type: {
69
+ type: 'string',
70
+ description: 'The type of earning.',
71
+ enum: [
72
+ 'salary',
73
+ 'wage',
74
+ 'reimbursement',
75
+ 'overtime',
76
+ 'severance',
77
+ 'double_overtime',
78
+ 'pto',
79
+ 'sick',
80
+ 'bonus',
81
+ 'commission',
82
+ 'tips',
83
+ '1099',
84
+ 'other',
85
+ ],
86
+ },
87
+ },
88
+ required: [],
89
+ },
90
+ },
91
+ employee_deductions: {
92
+ type: 'array',
93
+ description: 'The array of deductions objects associated with this pay statement.',
94
+ items: {
95
+ type: 'object',
96
+ properties: {
97
+ amount: {
98
+ type: 'integer',
99
+ description: 'The deduction amount in cents.',
100
+ },
101
+ attributes: {
102
+ type: 'object',
103
+ properties: {
104
+ metadata: {
105
+ type: 'object',
106
+ properties: {
107
+ metadata: {
108
+ type: 'object',
109
+ description:
110
+ 'The metadata to be attached to the entity by existing rules. It is a key-value pairs where the values can be of any type (string, number, boolean, object, array, etc.).',
111
+ },
112
+ },
113
+ required: [],
114
+ },
115
+ },
116
+ required: [],
117
+ },
118
+ currency: {
119
+ type: 'string',
120
+ description: 'The deduction currency.',
121
+ },
122
+ name: {
123
+ type: 'string',
124
+ description: 'The deduction name from the pay statement.',
125
+ },
126
+ pre_tax: {
127
+ type: 'boolean',
128
+ description: 'Boolean indicating if the deduction is pre-tax.',
129
+ },
130
+ type: {
131
+ type: 'string',
132
+ title: 'BenefitType',
133
+ description: 'Type of benefit.',
134
+ enum: [
135
+ '401k',
136
+ '401k_roth',
137
+ '401k_loan',
138
+ '403b',
139
+ '403b_roth',
140
+ '457',
141
+ '457_roth',
142
+ 's125_medical',
143
+ 's125_dental',
144
+ 's125_vision',
145
+ 'hsa_pre',
146
+ 'hsa_post',
147
+ 'fsa_medical',
148
+ 'fsa_dependent_care',
149
+ 'simple_ira',
150
+ 'simple',
151
+ 'commuter',
152
+ 'custom_post_tax',
153
+ 'custom_pre_tax',
154
+ ],
155
+ },
156
+ },
157
+ required: [],
158
+ },
159
+ },
160
+ employer_contributions: {
161
+ type: 'array',
162
+ items: {
163
+ type: 'object',
164
+ properties: {
165
+ amount: {
166
+ type: 'integer',
167
+ description: 'The contribution amount in cents.',
168
+ },
169
+ attributes: {
170
+ type: 'object',
171
+ properties: {
172
+ metadata: {
173
+ type: 'object',
174
+ properties: {
175
+ metadata: {
176
+ type: 'object',
177
+ description:
178
+ 'The metadata to be attached to the entity by existing rules. It is a key-value pairs where the values can be of any type (string, number, boolean, object, array, etc.).',
179
+ },
180
+ },
181
+ required: [],
182
+ },
183
+ },
184
+ required: [],
185
+ },
186
+ currency: {
187
+ type: 'string',
188
+ description: 'The contribution currency.',
189
+ },
190
+ name: {
191
+ type: 'string',
192
+ description: 'The contribution name from the pay statement.',
193
+ },
194
+ type: {
195
+ $ref: '#/properties/pay_statements/items/employee_deductions/items/type',
196
+ },
197
+ },
198
+ required: [],
199
+ },
200
+ },
201
+ gross_pay: {
202
+ type: 'object',
203
+ title: 'Money',
204
+ properties: {
205
+ amount: {
206
+ type: 'integer',
207
+ description: 'Amount for money object (in cents)',
208
+ },
209
+ currency: {
210
+ type: 'string',
211
+ },
212
+ },
213
+ required: [],
214
+ },
215
+ individual_id: {
216
+ type: 'string',
217
+ description: 'A stable Finch `id` (UUID v4) for an individual in the company',
218
+ },
219
+ net_pay: {
220
+ $ref: '#/properties/pay_statements/items/gross_pay',
221
+ },
222
+ payment_method: {
223
+ type: 'string',
224
+ description: 'The payment method.',
225
+ enum: ['check', 'direct_deposit'],
226
+ },
227
+ taxes: {
228
+ type: 'array',
229
+ description: 'The array of taxes objects associated with this pay statement.',
230
+ items: {
231
+ type: 'object',
232
+ properties: {
233
+ amount: {
234
+ type: 'integer',
235
+ description: 'The tax amount in cents.',
236
+ },
237
+ attributes: {
238
+ type: 'object',
239
+ properties: {
240
+ metadata: {
241
+ type: 'object',
242
+ properties: {
243
+ metadata: {
244
+ type: 'object',
245
+ description:
246
+ 'The metadata to be attached to the entity by existing rules. It is a key-value pairs where the values can be of any type (string, number, boolean, object, array, etc.).',
247
+ },
248
+ },
249
+ required: [],
250
+ },
251
+ },
252
+ required: [],
253
+ },
254
+ currency: {
255
+ type: 'string',
256
+ description: 'The currency code.',
257
+ },
258
+ employer: {
259
+ type: 'boolean',
260
+ description: '`true` if the amount is paid by the employers.',
261
+ },
262
+ name: {
263
+ type: 'string',
264
+ description: 'The exact name of tax from the pay statement.',
265
+ },
266
+ type: {
267
+ type: 'string',
268
+ description: 'The type of taxes.',
269
+ enum: ['state', 'federal', 'local', 'fica'],
270
+ },
271
+ },
272
+ required: [],
273
+ },
274
+ },
275
+ total_hours: {
276
+ type: 'number',
277
+ description: 'The number of hours worked for this pay period',
278
+ },
279
+ type: {
280
+ type: 'string',
281
+ description: 'The type of the payment associated with the pay statement.',
282
+ enum: ['regular_payroll', 'off_cycle_payroll', 'one_time_payment'],
283
+ },
284
+ },
285
+ required: [],
286
+ },
287
+ },
288
+ start_date: {
289
+ type: 'string',
290
+ },
291
+ },
292
+ },
293
+ };
294
+
295
+ export const handler = (client: Finch, args: any) => {
296
+ const { ...body } = args;
297
+ return client.sandbox.payment.create(body);
298
+ };
299
+
300
+ export default { metadata, tool, handler };
package/src/tools.ts ADDED
@@ -0,0 +1 @@
1
+ export * from './tools/index';
@@ -0,0 +1,11 @@
1
+ {
2
+ // this config is included in the published src directory to prevent TS errors
3
+ // from appearing when users go to source, and VSCode opens the source .ts file
4
+ // via declaration maps
5
+ "include": ["index.ts"],
6
+ "compilerOptions": {
7
+ "target": "es2015",
8
+ "lib": ["DOM"],
9
+ "moduleResolution": "node"
10
+ }
11
+ }
@@ -0,0 +1,24 @@
1
+ import { Tool } from '@modelcontextprotocol/sdk/types.js';
2
+ import type { Metadata } from "..//index.mjs";
3
+ import Finch from '@tryfinch/finch-api';
4
+ export declare const metadata: Metadata;
5
+ export declare const tool: Tool;
6
+ export declare const handler: (client: Finch, args: any) => import("@tryfinch/finch-api/core").APIPromise<Finch.AccessTokens.CreateAccessTokenResponse>;
7
+ declare const _default: {
8
+ metadata: Metadata;
9
+ tool: {
10
+ [x: string]: unknown;
11
+ name: string;
12
+ inputSchema: {
13
+ [x: string]: unknown;
14
+ type: "object";
15
+ properties?: {
16
+ [x: string]: unknown;
17
+ } | undefined;
18
+ };
19
+ description?: string | undefined;
20
+ };
21
+ handler: (client: Finch, args: any) => import("@tryfinch/finch-api/core").APIPromise<Finch.AccessTokens.CreateAccessTokenResponse>;
22
+ };
23
+ export default _default;
24
+ //# sourceMappingURL=create-access-tokens.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-access-tokens.d.mts","sourceRoot":"","sources":["../../src/tools/access-tokens/create-access-tokens.ts"],"names":[],"mappings":"OAEO,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,KAAK,EAAE,QAAQ,EAAE;OACjB,KAAK,MAAM,qBAAqB;AAEvC,eAAO,MAAM,QAAQ,EAAE,QAItB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IAoBlB,CAAC;AAEF,eAAO,MAAM,OAAO,WAAY,KAAK,QAAQ,GAAG,gGAG/C,CAAC;;;;;;;;;;;;;;;;;AAEF,wBAA2C"}
@@ -0,0 +1,24 @@
1
+ import { Tool } from '@modelcontextprotocol/sdk/types.js';
2
+ import type { Metadata } from "..//index.js";
3
+ import Finch from '@tryfinch/finch-api';
4
+ export declare const metadata: Metadata;
5
+ export declare const tool: Tool;
6
+ export declare const handler: (client: Finch, args: any) => import("@tryfinch/finch-api/core").APIPromise<Finch.AccessTokens.CreateAccessTokenResponse>;
7
+ declare const _default: {
8
+ metadata: Metadata;
9
+ tool: {
10
+ [x: string]: unknown;
11
+ name: string;
12
+ inputSchema: {
13
+ [x: string]: unknown;
14
+ type: "object";
15
+ properties?: {
16
+ [x: string]: unknown;
17
+ } | undefined;
18
+ };
19
+ description?: string | undefined;
20
+ };
21
+ handler: (client: Finch, args: any) => import("@tryfinch/finch-api/core").APIPromise<Finch.AccessTokens.CreateAccessTokenResponse>;
22
+ };
23
+ export default _default;
24
+ //# sourceMappingURL=create-access-tokens.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-access-tokens.d.ts","sourceRoot":"","sources":["../../src/tools/access-tokens/create-access-tokens.ts"],"names":[],"mappings":"OAEO,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,KAAK,EAAE,QAAQ,EAAE;OACjB,KAAK,MAAM,qBAAqB;AAEvC,eAAO,MAAM,QAAQ,EAAE,QAItB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IAoBlB,CAAC;AAEF,eAAO,MAAM,OAAO,WAAY,KAAK,QAAQ,GAAG,gGAG/C,CAAC;;;;;;;;;;;;;;;;;AAEF,wBAA2C"}
@@ -0,0 +1,37 @@
1
+ "use strict";
2
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.handler = exports.tool = exports.metadata = void 0;
5
+ exports.metadata = {
6
+ resource: 'access_tokens',
7
+ operation: 'write',
8
+ tags: [],
9
+ };
10
+ exports.tool = {
11
+ name: 'create_access_tokens',
12
+ description: 'Exchange the authorization code for an access token',
13
+ inputSchema: {
14
+ type: 'object',
15
+ properties: {
16
+ code: {
17
+ type: 'string',
18
+ },
19
+ client_id: {
20
+ type: 'string',
21
+ },
22
+ client_secret: {
23
+ type: 'string',
24
+ },
25
+ redirect_uri: {
26
+ type: 'string',
27
+ },
28
+ },
29
+ },
30
+ };
31
+ const handler = (client, args) => {
32
+ const { ...body } = args;
33
+ return client.accessTokens.create(body);
34
+ };
35
+ exports.handler = handler;
36
+ exports.default = { metadata: exports.metadata, tool: exports.tool, handler: exports.handler };
37
+ //# sourceMappingURL=create-access-tokens.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-access-tokens.js","sourceRoot":"","sources":["../../src/tools/access-tokens/create-access-tokens.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAMzE,QAAA,QAAQ,GAAa;IAChC,QAAQ,EAAE,eAAe;IACzB,SAAS,EAAE,OAAO;IAClB,IAAI,EAAE,EAAE;CACT,CAAC;AAEW,QAAA,IAAI,GAAS;IACxB,IAAI,EAAE,sBAAsB;IAC5B,WAAW,EAAE,qDAAqD;IAClE,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,IAAI,EAAE;gBACJ,IAAI,EAAE,QAAQ;aACf;YACD,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;aACf;YACD,aAAa,EAAE;gBACb,IAAI,EAAE,QAAQ;aACf;YACD,YAAY,EAAE;gBACZ,IAAI,EAAE,QAAQ;aACf;SACF;KACF;CACF,CAAC;AAEK,MAAM,OAAO,GAAG,CAAC,MAAa,EAAE,IAAS,EAAE,EAAE;IAClD,MAAM,EAAE,GAAG,IAAI,EAAE,GAAG,IAAI,CAAC;IACzB,OAAO,MAAM,CAAC,YAAY,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;AAC1C,CAAC,CAAC;AAHW,QAAA,OAAO,WAGlB;AAEF,kBAAe,EAAE,QAAQ,EAAR,gBAAQ,EAAE,IAAI,EAAJ,YAAI,EAAE,OAAO,EAAP,eAAO,EAAE,CAAC"}