@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.
- package/LICENSE +201 -0
- package/README.md +247 -0
- package/index.d.mts +2 -0
- package/index.d.mts.map +1 -0
- package/index.d.ts +2 -0
- package/index.d.ts.map +1 -0
- package/index.js +162 -0
- package/index.js.map +1 -0
- package/index.mjs +156 -0
- package/index.mjs.map +1 -0
- package/package.json +50 -0
- package/server.d.mts +30 -0
- package/server.d.mts.map +1 -0
- package/server.d.ts +30 -0
- package/server.d.ts.map +1 -0
- package/server.js +77 -0
- package/server.js.map +1 -0
- package/server.mjs +67 -0
- package/server.mjs.map +1 -0
- package/src/index.ts +190 -0
- package/src/server.ts +89 -0
- package/src/tools/access-tokens/create-access-tokens.ts +40 -0
- package/src/tools/account/disconnect-account.ts +27 -0
- package/src/tools/account/introspect-account.ts +27 -0
- package/src/tools/connect/sessions/new-connect-sessions.ts +81 -0
- package/src/tools/connect/sessions/reauthenticate-connect-sessions.ts +58 -0
- package/src/tools/hris/benefits/create-hris-benefits.ts +67 -0
- package/src/tools/hris/benefits/individuals/enroll-many-benefits-hris-individuals.ts +101 -0
- package/src/tools/hris/benefits/individuals/enrolled-ids-benefits-hris-individuals.ts +31 -0
- package/src/tools/hris/benefits/individuals/retrieve-many-benefits-benefits-hris-individuals.ts +36 -0
- package/src/tools/hris/benefits/individuals/unenroll-many-benefits-hris-individuals.ts +38 -0
- package/src/tools/hris/benefits/list-hris-benefits.ts +27 -0
- package/src/tools/hris/benefits/list-supported-benefits-hris-benefits.ts +27 -0
- package/src/tools/hris/benefits/retrieve-hris-benefits.ts +31 -0
- package/src/tools/hris/benefits/update-hris-benefits.ts +35 -0
- package/src/tools/hris/company/pay-statement-item/list-company-hris-pay-statement-item.ts +58 -0
- package/src/tools/hris/company/pay-statement-item/rules/create-pay-statement-item-company-hris-rules.ts +78 -0
- package/src/tools/hris/company/pay-statement-item/rules/delete-pay-statement-item-company-hris-rules.ts +32 -0
- package/src/tools/hris/company/pay-statement-item/rules/list-pay-statement-item-company-hris-rules.ts +28 -0
- package/src/tools/hris/company/pay-statement-item/rules/update-pay-statement-item-company-hris-rules.ts +35 -0
- package/src/tools/hris/company/retrieve-hris-company.ts +27 -0
- package/src/tools/hris/directory/list-hris-directory.ts +36 -0
- package/src/tools/hris/directory/list-individuals-hris-directory.ts +36 -0
- package/src/tools/hris/documents/list-hris-documents.ts +53 -0
- package/src/tools/hris/documents/retreive-hris-documents.ts +32 -0
- package/src/tools/hris/employments/retrieve-many-hris-employments.ts +43 -0
- package/src/tools/hris/individuals/retrieve-many-hris-individuals.ts +52 -0
- package/src/tools/hris/pay-statements/retrieve-many-hris-pay-statements.ts +51 -0
- package/src/tools/hris/payments/list-hris-payments.ts +38 -0
- package/src/tools/index.ts +165 -0
- package/src/tools/jobs/automated/create-jobs-automated.ts +59 -0
- package/src/tools/jobs/automated/list-jobs-automated.ts +37 -0
- package/src/tools/jobs/automated/retrieve-jobs-automated.ts +31 -0
- package/src/tools/jobs/manual/retrieve-jobs-manual.ts +32 -0
- package/src/tools/payroll/pay-groups/list-payroll-pay-groups.ts +37 -0
- package/src/tools/payroll/pay-groups/retrieve-payroll-pay-groups.ts +31 -0
- package/src/tools/providers/list-providers.ts +27 -0
- package/src/tools/request-forwarding/forward-request-forwarding.ts +54 -0
- package/src/tools/sandbox/company/update-sandbox-company.ts +158 -0
- package/src/tools/sandbox/connections/accounts/create-connections-sandbox-accounts.ts +48 -0
- package/src/tools/sandbox/connections/accounts/update-connections-sandbox-accounts.ts +34 -0
- package/src/tools/sandbox/connections/create-sandbox-connections.ts +48 -0
- package/src/tools/sandbox/directory/create-sandbox-directory.ts +294 -0
- package/src/tools/sandbox/employment/update-sandbox-employment.ts +214 -0
- package/src/tools/sandbox/individual/update-sandbox-individual.ts +149 -0
- package/src/tools/sandbox/jobs/configuration/retrieve-jobs-sandbox-configuration.ts +27 -0
- package/src/tools/sandbox/jobs/configuration/update-jobs-sandbox-configuration.ts +36 -0
- package/src/tools/sandbox/jobs/create-sandbox-jobs.ts +33 -0
- package/src/tools/sandbox/payment/create-sandbox-payment.ts +300 -0
- package/src/tools.ts +1 -0
- package/src/tsconfig.json +11 -0
- package/tools/access-tokens/create-access-tokens.d.mts +24 -0
- package/tools/access-tokens/create-access-tokens.d.mts.map +1 -0
- package/tools/access-tokens/create-access-tokens.d.ts +24 -0
- package/tools/access-tokens/create-access-tokens.d.ts.map +1 -0
- package/tools/access-tokens/create-access-tokens.js +37 -0
- package/tools/access-tokens/create-access-tokens.js.map +1 -0
- package/tools/access-tokens/create-access-tokens.mjs +33 -0
- package/tools/access-tokens/create-access-tokens.mjs.map +1 -0
- package/tools/account/disconnect-account.d.mts +24 -0
- package/tools/account/disconnect-account.d.mts.map +1 -0
- package/tools/account/disconnect-account.d.ts +24 -0
- package/tools/account/disconnect-account.d.ts.map +1 -0
- package/tools/account/disconnect-account.js +24 -0
- package/tools/account/disconnect-account.js.map +1 -0
- package/tools/account/disconnect-account.mjs +20 -0
- package/tools/account/disconnect-account.mjs.map +1 -0
- package/tools/account/introspect-account.d.mts +24 -0
- package/tools/account/introspect-account.d.mts.map +1 -0
- package/tools/account/introspect-account.d.ts +24 -0
- package/tools/account/introspect-account.d.ts.map +1 -0
- package/tools/account/introspect-account.js +24 -0
- package/tools/account/introspect-account.js.map +1 -0
- package/tools/account/introspect-account.mjs +20 -0
- package/tools/account/introspect-account.mjs.map +1 -0
- package/tools/connect/sessions/new-connect-sessions.d.mts +24 -0
- package/tools/connect/sessions/new-connect-sessions.d.mts.map +1 -0
- package/tools/connect/sessions/new-connect-sessions.d.ts +24 -0
- package/tools/connect/sessions/new-connect-sessions.d.ts.map +1 -0
- package/tools/connect/sessions/new-connect-sessions.js +78 -0
- package/tools/connect/sessions/new-connect-sessions.js.map +1 -0
- package/tools/connect/sessions/new-connect-sessions.mjs +74 -0
- package/tools/connect/sessions/new-connect-sessions.mjs.map +1 -0
- package/tools/connect/sessions/reauthenticate-connect-sessions.d.mts +24 -0
- package/tools/connect/sessions/reauthenticate-connect-sessions.d.mts.map +1 -0
- package/tools/connect/sessions/reauthenticate-connect-sessions.d.ts +24 -0
- package/tools/connect/sessions/reauthenticate-connect-sessions.d.ts.map +1 -0
- package/tools/connect/sessions/reauthenticate-connect-sessions.js +55 -0
- package/tools/connect/sessions/reauthenticate-connect-sessions.js.map +1 -0
- package/tools/connect/sessions/reauthenticate-connect-sessions.mjs +51 -0
- package/tools/connect/sessions/reauthenticate-connect-sessions.mjs.map +1 -0
- package/tools/hris/benefits/create-hris-benefits.d.mts +24 -0
- package/tools/hris/benefits/create-hris-benefits.d.mts.map +1 -0
- package/tools/hris/benefits/create-hris-benefits.d.ts +24 -0
- package/tools/hris/benefits/create-hris-benefits.d.ts.map +1 -0
- package/tools/hris/benefits/create-hris-benefits.js +62 -0
- package/tools/hris/benefits/create-hris-benefits.js.map +1 -0
- package/tools/hris/benefits/create-hris-benefits.mjs +58 -0
- package/tools/hris/benefits/create-hris-benefits.mjs.map +1 -0
- package/tools/hris/benefits/individuals/enroll-many-benefits-hris-individuals.d.mts +24 -0
- package/tools/hris/benefits/individuals/enroll-many-benefits-hris-individuals.d.mts.map +1 -0
- package/tools/hris/benefits/individuals/enroll-many-benefits-hris-individuals.d.ts +24 -0
- package/tools/hris/benefits/individuals/enroll-many-benefits-hris-individuals.d.ts.map +1 -0
- package/tools/hris/benefits/individuals/enroll-many-benefits-hris-individuals.js +94 -0
- package/tools/hris/benefits/individuals/enroll-many-benefits-hris-individuals.js.map +1 -0
- package/tools/hris/benefits/individuals/enroll-many-benefits-hris-individuals.mjs +90 -0
- package/tools/hris/benefits/individuals/enroll-many-benefits-hris-individuals.mjs.map +1 -0
- package/tools/hris/benefits/individuals/enrolled-ids-benefits-hris-individuals.d.mts +24 -0
- package/tools/hris/benefits/individuals/enrolled-ids-benefits-hris-individuals.d.mts.map +1 -0
- package/tools/hris/benefits/individuals/enrolled-ids-benefits-hris-individuals.d.ts +24 -0
- package/tools/hris/benefits/individuals/enrolled-ids-benefits-hris-individuals.d.ts.map +1 -0
- package/tools/hris/benefits/individuals/enrolled-ids-benefits-hris-individuals.js +28 -0
- package/tools/hris/benefits/individuals/enrolled-ids-benefits-hris-individuals.js.map +1 -0
- package/tools/hris/benefits/individuals/enrolled-ids-benefits-hris-individuals.mjs +24 -0
- package/tools/hris/benefits/individuals/enrolled-ids-benefits-hris-individuals.mjs.map +1 -0
- package/tools/hris/benefits/individuals/retrieve-many-benefits-benefits-hris-individuals.d.mts +24 -0
- package/tools/hris/benefits/individuals/retrieve-many-benefits-benefits-hris-individuals.d.mts.map +1 -0
- package/tools/hris/benefits/individuals/retrieve-many-benefits-benefits-hris-individuals.d.ts +24 -0
- package/tools/hris/benefits/individuals/retrieve-many-benefits-benefits-hris-individuals.d.ts.map +1 -0
- package/tools/hris/benefits/individuals/retrieve-many-benefits-benefits-hris-individuals.js +32 -0
- package/tools/hris/benefits/individuals/retrieve-many-benefits-benefits-hris-individuals.js.map +1 -0
- package/tools/hris/benefits/individuals/retrieve-many-benefits-benefits-hris-individuals.mjs +28 -0
- package/tools/hris/benefits/individuals/retrieve-many-benefits-benefits-hris-individuals.mjs.map +1 -0
- package/tools/hris/benefits/individuals/unenroll-many-benefits-hris-individuals.d.mts +24 -0
- package/tools/hris/benefits/individuals/unenroll-many-benefits-hris-individuals.d.mts.map +1 -0
- package/tools/hris/benefits/individuals/unenroll-many-benefits-hris-individuals.d.ts +24 -0
- package/tools/hris/benefits/individuals/unenroll-many-benefits-hris-individuals.d.ts.map +1 -0
- package/tools/hris/benefits/individuals/unenroll-many-benefits-hris-individuals.js +35 -0
- package/tools/hris/benefits/individuals/unenroll-many-benefits-hris-individuals.js.map +1 -0
- package/tools/hris/benefits/individuals/unenroll-many-benefits-hris-individuals.mjs +31 -0
- package/tools/hris/benefits/individuals/unenroll-many-benefits-hris-individuals.mjs.map +1 -0
- package/tools/hris/benefits/list-hris-benefits.d.mts +24 -0
- package/tools/hris/benefits/list-hris-benefits.d.mts.map +1 -0
- package/tools/hris/benefits/list-hris-benefits.d.ts +24 -0
- package/tools/hris/benefits/list-hris-benefits.d.ts.map +1 -0
- package/tools/hris/benefits/list-hris-benefits.js +24 -0
- package/tools/hris/benefits/list-hris-benefits.js.map +1 -0
- package/tools/hris/benefits/list-hris-benefits.mjs +20 -0
- package/tools/hris/benefits/list-hris-benefits.mjs.map +1 -0
- package/tools/hris/benefits/list-supported-benefits-hris-benefits.d.mts +24 -0
- package/tools/hris/benefits/list-supported-benefits-hris-benefits.d.mts.map +1 -0
- package/tools/hris/benefits/list-supported-benefits-hris-benefits.d.ts +24 -0
- package/tools/hris/benefits/list-supported-benefits-hris-benefits.d.ts.map +1 -0
- package/tools/hris/benefits/list-supported-benefits-hris-benefits.js +24 -0
- package/tools/hris/benefits/list-supported-benefits-hris-benefits.js.map +1 -0
- package/tools/hris/benefits/list-supported-benefits-hris-benefits.mjs +20 -0
- package/tools/hris/benefits/list-supported-benefits-hris-benefits.mjs.map +1 -0
- package/tools/hris/benefits/retrieve-hris-benefits.d.mts +24 -0
- package/tools/hris/benefits/retrieve-hris-benefits.d.mts.map +1 -0
- package/tools/hris/benefits/retrieve-hris-benefits.d.ts +24 -0
- package/tools/hris/benefits/retrieve-hris-benefits.d.ts.map +1 -0
- package/tools/hris/benefits/retrieve-hris-benefits.js +28 -0
- package/tools/hris/benefits/retrieve-hris-benefits.js.map +1 -0
- package/tools/hris/benefits/retrieve-hris-benefits.mjs +24 -0
- package/tools/hris/benefits/retrieve-hris-benefits.mjs.map +1 -0
- package/tools/hris/benefits/update-hris-benefits.d.mts +24 -0
- package/tools/hris/benefits/update-hris-benefits.d.mts.map +1 -0
- package/tools/hris/benefits/update-hris-benefits.d.ts +24 -0
- package/tools/hris/benefits/update-hris-benefits.d.ts.map +1 -0
- package/tools/hris/benefits/update-hris-benefits.js +32 -0
- package/tools/hris/benefits/update-hris-benefits.js.map +1 -0
- package/tools/hris/benefits/update-hris-benefits.mjs +28 -0
- package/tools/hris/benefits/update-hris-benefits.mjs.map +1 -0
- package/tools/hris/company/pay-statement-item/list-company-hris-pay-statement-item.d.mts +24 -0
- package/tools/hris/company/pay-statement-item/list-company-hris-pay-statement-item.d.mts.map +1 -0
- package/tools/hris/company/pay-statement-item/list-company-hris-pay-statement-item.d.ts +24 -0
- package/tools/hris/company/pay-statement-item/list-company-hris-pay-statement-item.d.ts.map +1 -0
- package/tools/hris/company/pay-statement-item/list-company-hris-pay-statement-item.js +51 -0
- package/tools/hris/company/pay-statement-item/list-company-hris-pay-statement-item.js.map +1 -0
- package/tools/hris/company/pay-statement-item/list-company-hris-pay-statement-item.mjs +47 -0
- package/tools/hris/company/pay-statement-item/list-company-hris-pay-statement-item.mjs.map +1 -0
- package/tools/hris/company/pay-statement-item/rules/create-pay-statement-item-company-hris-rules.d.mts +24 -0
- package/tools/hris/company/pay-statement-item/rules/create-pay-statement-item-company-hris-rules.d.mts.map +1 -0
- package/tools/hris/company/pay-statement-item/rules/create-pay-statement-item-company-hris-rules.d.ts +24 -0
- package/tools/hris/company/pay-statement-item/rules/create-pay-statement-item-company-hris-rules.d.ts.map +1 -0
- package/tools/hris/company/pay-statement-item/rules/create-pay-statement-item-company-hris-rules.js +73 -0
- package/tools/hris/company/pay-statement-item/rules/create-pay-statement-item-company-hris-rules.js.map +1 -0
- package/tools/hris/company/pay-statement-item/rules/create-pay-statement-item-company-hris-rules.mjs +69 -0
- package/tools/hris/company/pay-statement-item/rules/create-pay-statement-item-company-hris-rules.mjs.map +1 -0
- package/tools/hris/company/pay-statement-item/rules/delete-pay-statement-item-company-hris-rules.d.mts +24 -0
- package/tools/hris/company/pay-statement-item/rules/delete-pay-statement-item-company-hris-rules.d.mts.map +1 -0
- package/tools/hris/company/pay-statement-item/rules/delete-pay-statement-item-company-hris-rules.d.ts +24 -0
- package/tools/hris/company/pay-statement-item/rules/delete-pay-statement-item-company-hris-rules.d.ts.map +1 -0
- package/tools/hris/company/pay-statement-item/rules/delete-pay-statement-item-company-hris-rules.js +28 -0
- package/tools/hris/company/pay-statement-item/rules/delete-pay-statement-item-company-hris-rules.js.map +1 -0
- package/tools/hris/company/pay-statement-item/rules/delete-pay-statement-item-company-hris-rules.mjs +24 -0
- package/tools/hris/company/pay-statement-item/rules/delete-pay-statement-item-company-hris-rules.mjs.map +1 -0
- package/tools/hris/company/pay-statement-item/rules/list-pay-statement-item-company-hris-rules.d.mts +24 -0
- package/tools/hris/company/pay-statement-item/rules/list-pay-statement-item-company-hris-rules.d.mts.map +1 -0
- package/tools/hris/company/pay-statement-item/rules/list-pay-statement-item-company-hris-rules.d.ts +24 -0
- package/tools/hris/company/pay-statement-item/rules/list-pay-statement-item-company-hris-rules.d.ts.map +1 -0
- package/tools/hris/company/pay-statement-item/rules/list-pay-statement-item-company-hris-rules.js +24 -0
- package/tools/hris/company/pay-statement-item/rules/list-pay-statement-item-company-hris-rules.js.map +1 -0
- package/tools/hris/company/pay-statement-item/rules/list-pay-statement-item-company-hris-rules.mjs +20 -0
- package/tools/hris/company/pay-statement-item/rules/list-pay-statement-item-company-hris-rules.mjs.map +1 -0
- package/tools/hris/company/pay-statement-item/rules/update-pay-statement-item-company-hris-rules.d.mts +24 -0
- package/tools/hris/company/pay-statement-item/rules/update-pay-statement-item-company-hris-rules.d.mts.map +1 -0
- package/tools/hris/company/pay-statement-item/rules/update-pay-statement-item-company-hris-rules.d.ts +24 -0
- package/tools/hris/company/pay-statement-item/rules/update-pay-statement-item-company-hris-rules.d.ts.map +1 -0
- package/tools/hris/company/pay-statement-item/rules/update-pay-statement-item-company-hris-rules.js +31 -0
- package/tools/hris/company/pay-statement-item/rules/update-pay-statement-item-company-hris-rules.js.map +1 -0
- package/tools/hris/company/pay-statement-item/rules/update-pay-statement-item-company-hris-rules.mjs +27 -0
- package/tools/hris/company/pay-statement-item/rules/update-pay-statement-item-company-hris-rules.mjs.map +1 -0
- package/tools/hris/company/retrieve-hris-company.d.mts +24 -0
- package/tools/hris/company/retrieve-hris-company.d.mts.map +1 -0
- package/tools/hris/company/retrieve-hris-company.d.ts +24 -0
- package/tools/hris/company/retrieve-hris-company.d.ts.map +1 -0
- package/tools/hris/company/retrieve-hris-company.js +24 -0
- package/tools/hris/company/retrieve-hris-company.js.map +1 -0
- package/tools/hris/company/retrieve-hris-company.mjs +20 -0
- package/tools/hris/company/retrieve-hris-company.mjs.map +1 -0
- package/tools/hris/directory/list-hris-directory.d.mts +24 -0
- package/tools/hris/directory/list-hris-directory.d.mts.map +1 -0
- package/tools/hris/directory/list-hris-directory.d.ts +24 -0
- package/tools/hris/directory/list-hris-directory.d.ts.map +1 -0
- package/tools/hris/directory/list-hris-directory.js +33 -0
- package/tools/hris/directory/list-hris-directory.js.map +1 -0
- package/tools/hris/directory/list-hris-directory.mjs +29 -0
- package/tools/hris/directory/list-hris-directory.mjs.map +1 -0
- package/tools/hris/directory/list-individuals-hris-directory.d.mts +24 -0
- package/tools/hris/directory/list-individuals-hris-directory.d.mts.map +1 -0
- package/tools/hris/directory/list-individuals-hris-directory.d.ts +24 -0
- package/tools/hris/directory/list-individuals-hris-directory.d.ts.map +1 -0
- package/tools/hris/directory/list-individuals-hris-directory.js +33 -0
- package/tools/hris/directory/list-individuals-hris-directory.js.map +1 -0
- package/tools/hris/directory/list-individuals-hris-directory.mjs +29 -0
- package/tools/hris/directory/list-individuals-hris-directory.mjs.map +1 -0
- package/tools/hris/documents/list-hris-documents.d.mts +24 -0
- package/tools/hris/documents/list-hris-documents.d.mts.map +1 -0
- package/tools/hris/documents/list-hris-documents.d.ts +24 -0
- package/tools/hris/documents/list-hris-documents.d.ts.map +1 -0
- package/tools/hris/documents/list-hris-documents.js +48 -0
- package/tools/hris/documents/list-hris-documents.js.map +1 -0
- package/tools/hris/documents/list-hris-documents.mjs +44 -0
- package/tools/hris/documents/list-hris-documents.mjs.map +1 -0
- package/tools/hris/documents/retreive-hris-documents.d.mts +24 -0
- package/tools/hris/documents/retreive-hris-documents.d.mts.map +1 -0
- package/tools/hris/documents/retreive-hris-documents.d.ts +24 -0
- package/tools/hris/documents/retreive-hris-documents.d.ts.map +1 -0
- package/tools/hris/documents/retreive-hris-documents.js +28 -0
- package/tools/hris/documents/retreive-hris-documents.js.map +1 -0
- package/tools/hris/documents/retreive-hris-documents.mjs +24 -0
- package/tools/hris/documents/retreive-hris-documents.mjs.map +1 -0
- package/tools/hris/employments/retrieve-many-hris-employments.d.mts +24 -0
- package/tools/hris/employments/retrieve-many-hris-employments.d.mts.map +1 -0
- package/tools/hris/employments/retrieve-many-hris-employments.d.ts +24 -0
- package/tools/hris/employments/retrieve-many-hris-employments.d.ts.map +1 -0
- package/tools/hris/employments/retrieve-many-hris-employments.js +39 -0
- package/tools/hris/employments/retrieve-many-hris-employments.js.map +1 -0
- package/tools/hris/employments/retrieve-many-hris-employments.mjs +35 -0
- package/tools/hris/employments/retrieve-many-hris-employments.mjs.map +1 -0
- package/tools/hris/individuals/retrieve-many-hris-individuals.d.mts +24 -0
- package/tools/hris/individuals/retrieve-many-hris-individuals.d.mts.map +1 -0
- package/tools/hris/individuals/retrieve-many-hris-individuals.d.ts +24 -0
- package/tools/hris/individuals/retrieve-many-hris-individuals.d.ts.map +1 -0
- package/tools/hris/individuals/retrieve-many-hris-individuals.js +49 -0
- package/tools/hris/individuals/retrieve-many-hris-individuals.js.map +1 -0
- package/tools/hris/individuals/retrieve-many-hris-individuals.mjs +45 -0
- package/tools/hris/individuals/retrieve-many-hris-individuals.mjs.map +1 -0
- package/tools/hris/pay-statements/retrieve-many-hris-pay-statements.d.mts +24 -0
- package/tools/hris/pay-statements/retrieve-many-hris-pay-statements.d.mts.map +1 -0
- package/tools/hris/pay-statements/retrieve-many-hris-pay-statements.d.ts +24 -0
- package/tools/hris/pay-statements/retrieve-many-hris-pay-statements.d.ts.map +1 -0
- package/tools/hris/pay-statements/retrieve-many-hris-pay-statements.js +47 -0
- package/tools/hris/pay-statements/retrieve-many-hris-pay-statements.js.map +1 -0
- package/tools/hris/pay-statements/retrieve-many-hris-pay-statements.mjs +43 -0
- package/tools/hris/pay-statements/retrieve-many-hris-pay-statements.mjs.map +1 -0
- package/tools/hris/payments/list-hris-payments.d.mts +24 -0
- package/tools/hris/payments/list-hris-payments.d.mts.map +1 -0
- package/tools/hris/payments/list-hris-payments.d.ts +24 -0
- package/tools/hris/payments/list-hris-payments.d.ts.map +1 -0
- package/tools/hris/payments/list-hris-payments.js +35 -0
- package/tools/hris/payments/list-hris-payments.js.map +1 -0
- package/tools/hris/payments/list-hris-payments.mjs +31 -0
- package/tools/hris/payments/list-hris-payments.mjs.map +1 -0
- package/tools/index.d.mts +21 -0
- package/tools/index.d.mts.map +1 -0
- package/tools/index.d.ts +21 -0
- package/tools/index.d.ts.map +1 -0
- package/tools/index.js +140 -0
- package/tools/index.js.map +1 -0
- package/tools/index.mjs +133 -0
- package/tools/index.mjs.map +1 -0
- package/tools/jobs/automated/create-jobs-automated.d.mts +24 -0
- package/tools/jobs/automated/create-jobs-automated.d.mts.map +1 -0
- package/tools/jobs/automated/create-jobs-automated.d.ts +24 -0
- package/tools/jobs/automated/create-jobs-automated.d.ts.map +1 -0
- package/tools/jobs/automated/create-jobs-automated.js +55 -0
- package/tools/jobs/automated/create-jobs-automated.js.map +1 -0
- package/tools/jobs/automated/create-jobs-automated.mjs +51 -0
- package/tools/jobs/automated/create-jobs-automated.mjs.map +1 -0
- package/tools/jobs/automated/list-jobs-automated.d.mts +24 -0
- package/tools/jobs/automated/list-jobs-automated.d.mts.map +1 -0
- package/tools/jobs/automated/list-jobs-automated.d.ts +24 -0
- package/tools/jobs/automated/list-jobs-automated.d.ts.map +1 -0
- package/tools/jobs/automated/list-jobs-automated.js +33 -0
- package/tools/jobs/automated/list-jobs-automated.js.map +1 -0
- package/tools/jobs/automated/list-jobs-automated.mjs +29 -0
- package/tools/jobs/automated/list-jobs-automated.mjs.map +1 -0
- package/tools/jobs/automated/retrieve-jobs-automated.d.mts +24 -0
- package/tools/jobs/automated/retrieve-jobs-automated.d.mts.map +1 -0
- package/tools/jobs/automated/retrieve-jobs-automated.d.ts +24 -0
- package/tools/jobs/automated/retrieve-jobs-automated.d.ts.map +1 -0
- package/tools/jobs/automated/retrieve-jobs-automated.js +28 -0
- package/tools/jobs/automated/retrieve-jobs-automated.js.map +1 -0
- package/tools/jobs/automated/retrieve-jobs-automated.mjs +24 -0
- package/tools/jobs/automated/retrieve-jobs-automated.mjs.map +1 -0
- package/tools/jobs/manual/retrieve-jobs-manual.d.mts +24 -0
- package/tools/jobs/manual/retrieve-jobs-manual.d.mts.map +1 -0
- package/tools/jobs/manual/retrieve-jobs-manual.d.ts +24 -0
- package/tools/jobs/manual/retrieve-jobs-manual.d.ts.map +1 -0
- package/tools/jobs/manual/retrieve-jobs-manual.js +28 -0
- package/tools/jobs/manual/retrieve-jobs-manual.js.map +1 -0
- package/tools/jobs/manual/retrieve-jobs-manual.mjs +24 -0
- package/tools/jobs/manual/retrieve-jobs-manual.mjs.map +1 -0
- package/tools/payroll/pay-groups/list-payroll-pay-groups.d.mts +24 -0
- package/tools/payroll/pay-groups/list-payroll-pay-groups.d.mts.map +1 -0
- package/tools/payroll/pay-groups/list-payroll-pay-groups.d.ts +24 -0
- package/tools/payroll/pay-groups/list-payroll-pay-groups.d.ts.map +1 -0
- package/tools/payroll/pay-groups/list-payroll-pay-groups.js +34 -0
- package/tools/payroll/pay-groups/list-payroll-pay-groups.js.map +1 -0
- package/tools/payroll/pay-groups/list-payroll-pay-groups.mjs +30 -0
- package/tools/payroll/pay-groups/list-payroll-pay-groups.mjs.map +1 -0
- package/tools/payroll/pay-groups/retrieve-payroll-pay-groups.d.mts +24 -0
- package/tools/payroll/pay-groups/retrieve-payroll-pay-groups.d.mts.map +1 -0
- package/tools/payroll/pay-groups/retrieve-payroll-pay-groups.d.ts +24 -0
- package/tools/payroll/pay-groups/retrieve-payroll-pay-groups.d.ts.map +1 -0
- package/tools/payroll/pay-groups/retrieve-payroll-pay-groups.js +28 -0
- package/tools/payroll/pay-groups/retrieve-payroll-pay-groups.js.map +1 -0
- package/tools/payroll/pay-groups/retrieve-payroll-pay-groups.mjs +24 -0
- package/tools/payroll/pay-groups/retrieve-payroll-pay-groups.mjs.map +1 -0
- package/tools/providers/list-providers.d.mts +24 -0
- package/tools/providers/list-providers.d.mts.map +1 -0
- package/tools/providers/list-providers.d.ts +24 -0
- package/tools/providers/list-providers.d.ts.map +1 -0
- package/tools/providers/list-providers.js +24 -0
- package/tools/providers/list-providers.js.map +1 -0
- package/tools/providers/list-providers.mjs +20 -0
- package/tools/providers/list-providers.mjs.map +1 -0
- package/tools/request-forwarding/forward-request-forwarding.d.mts +24 -0
- package/tools/request-forwarding/forward-request-forwarding.d.mts.map +1 -0
- package/tools/request-forwarding/forward-request-forwarding.d.ts +24 -0
- package/tools/request-forwarding/forward-request-forwarding.d.ts.map +1 -0
- package/tools/request-forwarding/forward-request-forwarding.js +45 -0
- package/tools/request-forwarding/forward-request-forwarding.js.map +1 -0
- package/tools/request-forwarding/forward-request-forwarding.mjs +41 -0
- package/tools/request-forwarding/forward-request-forwarding.mjs.map +1 -0
- package/tools/sandbox/company/update-sandbox-company.d.mts +24 -0
- package/tools/sandbox/company/update-sandbox-company.d.mts.map +1 -0
- package/tools/sandbox/company/update-sandbox-company.d.ts +24 -0
- package/tools/sandbox/company/update-sandbox-company.d.ts.map +1 -0
- package/tools/sandbox/company/update-sandbox-company.js +154 -0
- package/tools/sandbox/company/update-sandbox-company.js.map +1 -0
- package/tools/sandbox/company/update-sandbox-company.mjs +150 -0
- package/tools/sandbox/company/update-sandbox-company.mjs.map +1 -0
- package/tools/sandbox/connections/accounts/create-connections-sandbox-accounts.d.mts +24 -0
- package/tools/sandbox/connections/accounts/create-connections-sandbox-accounts.d.mts.map +1 -0
- package/tools/sandbox/connections/accounts/create-connections-sandbox-accounts.d.ts +24 -0
- package/tools/sandbox/connections/accounts/create-connections-sandbox-accounts.d.ts.map +1 -0
- package/tools/sandbox/connections/accounts/create-connections-sandbox-accounts.js +44 -0
- package/tools/sandbox/connections/accounts/create-connections-sandbox-accounts.js.map +1 -0
- package/tools/sandbox/connections/accounts/create-connections-sandbox-accounts.mjs +40 -0
- package/tools/sandbox/connections/accounts/create-connections-sandbox-accounts.mjs.map +1 -0
- package/tools/sandbox/connections/accounts/update-connections-sandbox-accounts.d.mts +24 -0
- package/tools/sandbox/connections/accounts/update-connections-sandbox-accounts.d.mts.map +1 -0
- package/tools/sandbox/connections/accounts/update-connections-sandbox-accounts.d.ts +24 -0
- package/tools/sandbox/connections/accounts/update-connections-sandbox-accounts.d.ts.map +1 -0
- package/tools/sandbox/connections/accounts/update-connections-sandbox-accounts.js +30 -0
- package/tools/sandbox/connections/accounts/update-connections-sandbox-accounts.js.map +1 -0
- package/tools/sandbox/connections/accounts/update-connections-sandbox-accounts.mjs +26 -0
- package/tools/sandbox/connections/accounts/update-connections-sandbox-accounts.mjs.map +1 -0
- package/tools/sandbox/connections/create-sandbox-connections.d.mts +24 -0
- package/tools/sandbox/connections/create-sandbox-connections.d.mts.map +1 -0
- package/tools/sandbox/connections/create-sandbox-connections.d.ts +24 -0
- package/tools/sandbox/connections/create-sandbox-connections.d.ts.map +1 -0
- package/tools/sandbox/connections/create-sandbox-connections.js +44 -0
- package/tools/sandbox/connections/create-sandbox-connections.js.map +1 -0
- package/tools/sandbox/connections/create-sandbox-connections.mjs +40 -0
- package/tools/sandbox/connections/create-sandbox-connections.mjs.map +1 -0
- package/tools/sandbox/directory/create-sandbox-directory.d.mts +24 -0
- package/tools/sandbox/directory/create-sandbox-directory.d.mts.map +1 -0
- package/tools/sandbox/directory/create-sandbox-directory.d.ts +24 -0
- package/tools/sandbox/directory/create-sandbox-directory.d.ts.map +1 -0
- package/tools/sandbox/directory/create-sandbox-directory.js +284 -0
- package/tools/sandbox/directory/create-sandbox-directory.js.map +1 -0
- package/tools/sandbox/directory/create-sandbox-directory.mjs +280 -0
- package/tools/sandbox/directory/create-sandbox-directory.mjs.map +1 -0
- package/tools/sandbox/employment/update-sandbox-employment.d.mts +24 -0
- package/tools/sandbox/employment/update-sandbox-employment.d.mts.map +1 -0
- package/tools/sandbox/employment/update-sandbox-employment.d.ts +24 -0
- package/tools/sandbox/employment/update-sandbox-employment.d.ts.map +1 -0
- package/tools/sandbox/employment/update-sandbox-employment.js +207 -0
- package/tools/sandbox/employment/update-sandbox-employment.js.map +1 -0
- package/tools/sandbox/employment/update-sandbox-employment.mjs +203 -0
- package/tools/sandbox/employment/update-sandbox-employment.mjs.map +1 -0
- package/tools/sandbox/individual/update-sandbox-individual.d.mts +24 -0
- package/tools/sandbox/individual/update-sandbox-individual.d.mts.map +1 -0
- package/tools/sandbox/individual/update-sandbox-individual.d.ts +24 -0
- package/tools/sandbox/individual/update-sandbox-individual.d.ts.map +1 -0
- package/tools/sandbox/individual/update-sandbox-individual.js +144 -0
- package/tools/sandbox/individual/update-sandbox-individual.js.map +1 -0
- package/tools/sandbox/individual/update-sandbox-individual.mjs +140 -0
- package/tools/sandbox/individual/update-sandbox-individual.mjs.map +1 -0
- package/tools/sandbox/jobs/configuration/retrieve-jobs-sandbox-configuration.d.mts +24 -0
- package/tools/sandbox/jobs/configuration/retrieve-jobs-sandbox-configuration.d.mts.map +1 -0
- package/tools/sandbox/jobs/configuration/retrieve-jobs-sandbox-configuration.d.ts +24 -0
- package/tools/sandbox/jobs/configuration/retrieve-jobs-sandbox-configuration.d.ts.map +1 -0
- package/tools/sandbox/jobs/configuration/retrieve-jobs-sandbox-configuration.js +24 -0
- package/tools/sandbox/jobs/configuration/retrieve-jobs-sandbox-configuration.js.map +1 -0
- package/tools/sandbox/jobs/configuration/retrieve-jobs-sandbox-configuration.mjs +20 -0
- package/tools/sandbox/jobs/configuration/retrieve-jobs-sandbox-configuration.mjs.map +1 -0
- package/tools/sandbox/jobs/configuration/update-jobs-sandbox-configuration.d.mts +24 -0
- package/tools/sandbox/jobs/configuration/update-jobs-sandbox-configuration.d.mts.map +1 -0
- package/tools/sandbox/jobs/configuration/update-jobs-sandbox-configuration.d.ts +24 -0
- package/tools/sandbox/jobs/configuration/update-jobs-sandbox-configuration.d.ts.map +1 -0
- package/tools/sandbox/jobs/configuration/update-jobs-sandbox-configuration.js +33 -0
- package/tools/sandbox/jobs/configuration/update-jobs-sandbox-configuration.js.map +1 -0
- package/tools/sandbox/jobs/configuration/update-jobs-sandbox-configuration.mjs +29 -0
- package/tools/sandbox/jobs/configuration/update-jobs-sandbox-configuration.mjs.map +1 -0
- package/tools/sandbox/jobs/create-sandbox-jobs.d.mts +24 -0
- package/tools/sandbox/jobs/create-sandbox-jobs.d.mts.map +1 -0
- package/tools/sandbox/jobs/create-sandbox-jobs.d.ts +24 -0
- package/tools/sandbox/jobs/create-sandbox-jobs.d.ts.map +1 -0
- package/tools/sandbox/jobs/create-sandbox-jobs.js +30 -0
- package/tools/sandbox/jobs/create-sandbox-jobs.js.map +1 -0
- package/tools/sandbox/jobs/create-sandbox-jobs.mjs +26 -0
- package/tools/sandbox/jobs/create-sandbox-jobs.mjs.map +1 -0
- package/tools/sandbox/payment/create-sandbox-payment.d.mts +24 -0
- package/tools/sandbox/payment/create-sandbox-payment.d.mts.map +1 -0
- package/tools/sandbox/payment/create-sandbox-payment.d.ts +24 -0
- package/tools/sandbox/payment/create-sandbox-payment.d.ts.map +1 -0
- package/tools/sandbox/payment/create-sandbox-payment.js +292 -0
- package/tools/sandbox/payment/create-sandbox-payment.js.map +1 -0
- package/tools/sandbox/payment/create-sandbox-payment.mjs +288 -0
- package/tools/sandbox/payment/create-sandbox-payment.mjs.map +1 -0
- package/tools.d.mts +2 -0
- package/tools.d.mts.map +1 -0
- package/tools.d.ts +2 -0
- package/tools.d.ts.map +1 -0
- package/tools.js +18 -0
- package/tools.js.map +1 -0
- package/tools.mjs +2 -0
- 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"}
|