@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,34 @@
|
|
|
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.connections.accounts',
|
|
9
|
+
operation: 'write',
|
|
10
|
+
tags: [],
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
export const tool: Tool = {
|
|
14
|
+
name: 'update_connections_sandbox_accounts',
|
|
15
|
+
description:
|
|
16
|
+
'Update an existing sandbox account. Change the connection status to understand how the Finch API responds.',
|
|
17
|
+
inputSchema: {
|
|
18
|
+
type: 'object',
|
|
19
|
+
properties: {
|
|
20
|
+
connection_status: {
|
|
21
|
+
type: 'string',
|
|
22
|
+
title: 'ConnectionStatus',
|
|
23
|
+
enum: ['pending', 'processing', 'connected', 'error_no_account_setup', 'error_permissions', 'reauth'],
|
|
24
|
+
},
|
|
25
|
+
},
|
|
26
|
+
},
|
|
27
|
+
};
|
|
28
|
+
|
|
29
|
+
export const handler = (client: Finch, args: any) => {
|
|
30
|
+
const { ...body } = args;
|
|
31
|
+
return client.sandbox.connections.accounts.update(body);
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
export default { metadata, tool, handler };
|
|
@@ -0,0 +1,48 @@
|
|
|
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.connections',
|
|
9
|
+
operation: 'write',
|
|
10
|
+
tags: [],
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
export const tool: Tool = {
|
|
14
|
+
name: 'create_sandbox_connections',
|
|
15
|
+
description: 'Create a new connection (new company/provider pair) with a new account',
|
|
16
|
+
inputSchema: {
|
|
17
|
+
type: 'object',
|
|
18
|
+
properties: {
|
|
19
|
+
provider_id: {
|
|
20
|
+
type: 'string',
|
|
21
|
+
description: 'The provider associated with the connection',
|
|
22
|
+
},
|
|
23
|
+
authentication_type: {
|
|
24
|
+
type: 'string',
|
|
25
|
+
title: 'AuthenticationType',
|
|
26
|
+
enum: ['credential', 'api_token', 'oauth', 'assisted'],
|
|
27
|
+
},
|
|
28
|
+
employee_size: {
|
|
29
|
+
type: 'integer',
|
|
30
|
+
description:
|
|
31
|
+
'Optional: the size of the employer to be created with this connection. Defaults to 20. Note that if this is higher than 100, historical payroll data will not be generated, and instead only one pay period will be created.',
|
|
32
|
+
},
|
|
33
|
+
products: {
|
|
34
|
+
type: 'array',
|
|
35
|
+
items: {
|
|
36
|
+
type: 'string',
|
|
37
|
+
},
|
|
38
|
+
},
|
|
39
|
+
},
|
|
40
|
+
},
|
|
41
|
+
};
|
|
42
|
+
|
|
43
|
+
export const handler = (client: Finch, args: any) => {
|
|
44
|
+
const { ...body } = args;
|
|
45
|
+
return client.sandbox.connections.create(body);
|
|
46
|
+
};
|
|
47
|
+
|
|
48
|
+
export default { metadata, tool, handler };
|
|
@@ -0,0 +1,294 @@
|
|
|
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.directory',
|
|
9
|
+
operation: 'write',
|
|
10
|
+
tags: [],
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
export const tool: Tool = {
|
|
14
|
+
name: 'create_sandbox_directory',
|
|
15
|
+
description: 'Add new individuals to a sandbox company',
|
|
16
|
+
inputSchema: {
|
|
17
|
+
type: 'object',
|
|
18
|
+
properties: {
|
|
19
|
+
body: {
|
|
20
|
+
type: 'array',
|
|
21
|
+
description:
|
|
22
|
+
'Array of individuals to create. Takes all combined fields from `/individual` and `/employment` endpoints. All fields are optional.',
|
|
23
|
+
items: {
|
|
24
|
+
type: 'object',
|
|
25
|
+
properties: {
|
|
26
|
+
class_code: {
|
|
27
|
+
type: 'string',
|
|
28
|
+
description: "Worker's compensation classification code for this employee",
|
|
29
|
+
},
|
|
30
|
+
custom_fields: {
|
|
31
|
+
type: 'array',
|
|
32
|
+
description:
|
|
33
|
+
'Custom fields for the individual. These are fields which are defined by the employer in the system. Custom fields are not currently supported for assisted connections.',
|
|
34
|
+
items: {
|
|
35
|
+
type: 'object',
|
|
36
|
+
properties: {
|
|
37
|
+
name: {
|
|
38
|
+
type: 'string',
|
|
39
|
+
},
|
|
40
|
+
value: {
|
|
41
|
+
type: 'object',
|
|
42
|
+
},
|
|
43
|
+
},
|
|
44
|
+
required: [],
|
|
45
|
+
},
|
|
46
|
+
},
|
|
47
|
+
department: {
|
|
48
|
+
type: 'object',
|
|
49
|
+
description: 'The department object.',
|
|
50
|
+
properties: {
|
|
51
|
+
name: {
|
|
52
|
+
type: 'string',
|
|
53
|
+
description: 'The name of the department associated with the individual.',
|
|
54
|
+
},
|
|
55
|
+
},
|
|
56
|
+
required: [],
|
|
57
|
+
},
|
|
58
|
+
dob: {
|
|
59
|
+
type: 'string',
|
|
60
|
+
title: 'Date',
|
|
61
|
+
},
|
|
62
|
+
emails: {
|
|
63
|
+
type: 'array',
|
|
64
|
+
items: {
|
|
65
|
+
type: 'object',
|
|
66
|
+
properties: {
|
|
67
|
+
data: {
|
|
68
|
+
type: 'string',
|
|
69
|
+
},
|
|
70
|
+
type: {
|
|
71
|
+
type: 'string',
|
|
72
|
+
enum: ['work', 'personal'],
|
|
73
|
+
},
|
|
74
|
+
},
|
|
75
|
+
required: [],
|
|
76
|
+
},
|
|
77
|
+
},
|
|
78
|
+
employment: {
|
|
79
|
+
type: 'object',
|
|
80
|
+
description: 'The employment object.',
|
|
81
|
+
properties: {
|
|
82
|
+
subtype: {
|
|
83
|
+
type: 'string',
|
|
84
|
+
description:
|
|
85
|
+
'\tThe secondary employment type of the individual. Options: `full_time`, `part_time`, `intern`, `temp`, `seasonal` and `individual_contractor`.',
|
|
86
|
+
enum: ['full_time', 'intern', 'part_time', 'temp', 'seasonal', 'individual_contractor'],
|
|
87
|
+
},
|
|
88
|
+
type: {
|
|
89
|
+
type: 'string',
|
|
90
|
+
description: 'The main employment type of the individual.',
|
|
91
|
+
enum: ['employee', 'contractor'],
|
|
92
|
+
},
|
|
93
|
+
},
|
|
94
|
+
required: [],
|
|
95
|
+
},
|
|
96
|
+
employment_status: {
|
|
97
|
+
type: 'string',
|
|
98
|
+
description: 'The detailed employment status of the individual.',
|
|
99
|
+
enum: ['active', 'deceased', 'leave', 'onboarding', 'prehire', 'retired', 'terminated'],
|
|
100
|
+
},
|
|
101
|
+
encrypted_ssn: {
|
|
102
|
+
type: 'string',
|
|
103
|
+
description:
|
|
104
|
+
"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.",
|
|
105
|
+
},
|
|
106
|
+
end_date: {
|
|
107
|
+
type: 'string',
|
|
108
|
+
title: 'Date',
|
|
109
|
+
},
|
|
110
|
+
ethnicity: {
|
|
111
|
+
type: 'string',
|
|
112
|
+
description: 'The EEOC-defined ethnicity of the individual.',
|
|
113
|
+
enum: [
|
|
114
|
+
'asian',
|
|
115
|
+
'white',
|
|
116
|
+
'black_or_african_american',
|
|
117
|
+
'native_hawaiian_or_pacific_islander',
|
|
118
|
+
'american_indian_or_alaska_native',
|
|
119
|
+
'hispanic_or_latino',
|
|
120
|
+
'two_or_more_races',
|
|
121
|
+
'decline_to_specify',
|
|
122
|
+
],
|
|
123
|
+
},
|
|
124
|
+
first_name: {
|
|
125
|
+
type: 'string',
|
|
126
|
+
description: 'The legal first name of the individual.',
|
|
127
|
+
},
|
|
128
|
+
gender: {
|
|
129
|
+
type: 'string',
|
|
130
|
+
description: 'The gender of the individual.',
|
|
131
|
+
enum: ['female', 'male', 'other', 'decline_to_specify'],
|
|
132
|
+
},
|
|
133
|
+
income: {
|
|
134
|
+
type: 'object',
|
|
135
|
+
title: 'Income',
|
|
136
|
+
description:
|
|
137
|
+
"The employee's income as reported by the provider. This may not always be annualized income, but may be in units of bi-weekly, semi-monthly, daily, etc, depending on what information the provider returns.",
|
|
138
|
+
properties: {
|
|
139
|
+
amount: {
|
|
140
|
+
type: 'integer',
|
|
141
|
+
description: 'The income amount in cents.',
|
|
142
|
+
},
|
|
143
|
+
currency: {
|
|
144
|
+
type: 'string',
|
|
145
|
+
description: 'The currency code.',
|
|
146
|
+
},
|
|
147
|
+
effective_date: {
|
|
148
|
+
type: 'string',
|
|
149
|
+
description: 'The date the income amount went into effect.',
|
|
150
|
+
},
|
|
151
|
+
unit: {
|
|
152
|
+
type: 'string',
|
|
153
|
+
description:
|
|
154
|
+
'The income unit of payment. Options: `yearly`, `quarterly`, `monthly`, `semi_monthly`, `bi_weekly`, `weekly`, `daily`, `hourly`, and `fixed`.',
|
|
155
|
+
enum: [
|
|
156
|
+
'yearly',
|
|
157
|
+
'quarterly',
|
|
158
|
+
'monthly',
|
|
159
|
+
'semi_monthly',
|
|
160
|
+
'bi_weekly',
|
|
161
|
+
'weekly',
|
|
162
|
+
'daily',
|
|
163
|
+
'hourly',
|
|
164
|
+
'fixed',
|
|
165
|
+
],
|
|
166
|
+
},
|
|
167
|
+
},
|
|
168
|
+
required: [],
|
|
169
|
+
},
|
|
170
|
+
income_history: {
|
|
171
|
+
type: 'array',
|
|
172
|
+
description: 'The array of income history.',
|
|
173
|
+
items: {
|
|
174
|
+
$ref: '#/properties/body/items/income',
|
|
175
|
+
},
|
|
176
|
+
},
|
|
177
|
+
is_active: {
|
|
178
|
+
type: 'boolean',
|
|
179
|
+
description: '`true` if the individual an an active employee or contractor at the company.',
|
|
180
|
+
},
|
|
181
|
+
last_name: {
|
|
182
|
+
type: 'string',
|
|
183
|
+
description: 'The legal last name of the individual.',
|
|
184
|
+
},
|
|
185
|
+
latest_rehire_date: {
|
|
186
|
+
type: 'string',
|
|
187
|
+
title: 'Date',
|
|
188
|
+
},
|
|
189
|
+
location: {
|
|
190
|
+
type: 'object',
|
|
191
|
+
title: 'Location',
|
|
192
|
+
properties: {
|
|
193
|
+
city: {
|
|
194
|
+
type: 'string',
|
|
195
|
+
description: 'City, district, suburb, town, or village.',
|
|
196
|
+
},
|
|
197
|
+
country: {
|
|
198
|
+
type: 'string',
|
|
199
|
+
description: 'The 2-letter ISO 3166 country code.',
|
|
200
|
+
},
|
|
201
|
+
line1: {
|
|
202
|
+
type: 'string',
|
|
203
|
+
description: 'Street address or PO box.',
|
|
204
|
+
},
|
|
205
|
+
line2: {
|
|
206
|
+
type: 'string',
|
|
207
|
+
description: 'Apartment, suite, unit, or building.',
|
|
208
|
+
},
|
|
209
|
+
name: {
|
|
210
|
+
type: 'string',
|
|
211
|
+
},
|
|
212
|
+
postal_code: {
|
|
213
|
+
type: 'string',
|
|
214
|
+
description: 'The postal code or zip code.',
|
|
215
|
+
},
|
|
216
|
+
source_id: {
|
|
217
|
+
type: 'string',
|
|
218
|
+
},
|
|
219
|
+
state: {
|
|
220
|
+
type: 'string',
|
|
221
|
+
description: 'The state code.',
|
|
222
|
+
},
|
|
223
|
+
},
|
|
224
|
+
required: [],
|
|
225
|
+
},
|
|
226
|
+
manager: {
|
|
227
|
+
type: 'object',
|
|
228
|
+
description: 'The manager object representing the manager of the individual within the org.',
|
|
229
|
+
properties: {
|
|
230
|
+
id: {
|
|
231
|
+
type: 'string',
|
|
232
|
+
description: 'A stable Finch `id` (UUID v4) for an individual in the company.',
|
|
233
|
+
},
|
|
234
|
+
},
|
|
235
|
+
required: [],
|
|
236
|
+
},
|
|
237
|
+
middle_name: {
|
|
238
|
+
type: 'string',
|
|
239
|
+
description: 'The legal middle name of the individual.',
|
|
240
|
+
},
|
|
241
|
+
phone_numbers: {
|
|
242
|
+
type: 'array',
|
|
243
|
+
items: {
|
|
244
|
+
type: 'object',
|
|
245
|
+
properties: {
|
|
246
|
+
data: {
|
|
247
|
+
type: 'string',
|
|
248
|
+
},
|
|
249
|
+
type: {
|
|
250
|
+
type: 'string',
|
|
251
|
+
enum: ['work', 'personal'],
|
|
252
|
+
},
|
|
253
|
+
},
|
|
254
|
+
required: [],
|
|
255
|
+
},
|
|
256
|
+
},
|
|
257
|
+
preferred_name: {
|
|
258
|
+
type: 'string',
|
|
259
|
+
description: 'The preferred name of the individual.',
|
|
260
|
+
},
|
|
261
|
+
residence: {
|
|
262
|
+
$ref: '#/properties/body/items/location',
|
|
263
|
+
},
|
|
264
|
+
source_id: {
|
|
265
|
+
type: 'string',
|
|
266
|
+
description: "The source system's unique employment identifier for this individual",
|
|
267
|
+
},
|
|
268
|
+
ssn: {
|
|
269
|
+
type: 'string',
|
|
270
|
+
description:
|
|
271
|
+
"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).",
|
|
272
|
+
},
|
|
273
|
+
start_date: {
|
|
274
|
+
type: 'string',
|
|
275
|
+
title: 'Date',
|
|
276
|
+
},
|
|
277
|
+
title: {
|
|
278
|
+
type: 'string',
|
|
279
|
+
description: 'The current title of the individual.',
|
|
280
|
+
},
|
|
281
|
+
},
|
|
282
|
+
required: [],
|
|
283
|
+
},
|
|
284
|
+
},
|
|
285
|
+
},
|
|
286
|
+
},
|
|
287
|
+
};
|
|
288
|
+
|
|
289
|
+
export const handler = (client: Finch, args: any) => {
|
|
290
|
+
const { ...body } = args;
|
|
291
|
+
return client.sandbox.directory.create(body);
|
|
292
|
+
};
|
|
293
|
+
|
|
294
|
+
export default { metadata, tool, handler };
|
|
@@ -0,0 +1,214 @@
|
|
|
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.employment',
|
|
9
|
+
operation: 'write',
|
|
10
|
+
tags: [],
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
export const tool: Tool = {
|
|
14
|
+
name: 'update_sandbox_employment',
|
|
15
|
+
description: 'Update sandbox employment',
|
|
16
|
+
inputSchema: {
|
|
17
|
+
type: 'object',
|
|
18
|
+
properties: {
|
|
19
|
+
individual_id: {
|
|
20
|
+
type: 'string',
|
|
21
|
+
},
|
|
22
|
+
class_code: {
|
|
23
|
+
type: 'string',
|
|
24
|
+
description: "Worker's compensation classification code for this employee",
|
|
25
|
+
},
|
|
26
|
+
custom_fields: {
|
|
27
|
+
type: 'array',
|
|
28
|
+
description:
|
|
29
|
+
'Custom fields for the individual. These are fields which are defined by the employer in the system. Custom fields are not currently supported for assisted connections.',
|
|
30
|
+
items: {
|
|
31
|
+
type: 'object',
|
|
32
|
+
properties: {
|
|
33
|
+
name: {
|
|
34
|
+
type: 'string',
|
|
35
|
+
},
|
|
36
|
+
value: {
|
|
37
|
+
type: 'object',
|
|
38
|
+
},
|
|
39
|
+
},
|
|
40
|
+
required: [],
|
|
41
|
+
},
|
|
42
|
+
},
|
|
43
|
+
department: {
|
|
44
|
+
type: 'object',
|
|
45
|
+
description: 'The department object.',
|
|
46
|
+
properties: {
|
|
47
|
+
name: {
|
|
48
|
+
type: 'string',
|
|
49
|
+
description: 'The name of the department associated with the individual.',
|
|
50
|
+
},
|
|
51
|
+
},
|
|
52
|
+
required: [],
|
|
53
|
+
},
|
|
54
|
+
employment: {
|
|
55
|
+
type: 'object',
|
|
56
|
+
description: 'The employment object.',
|
|
57
|
+
properties: {
|
|
58
|
+
subtype: {
|
|
59
|
+
type: 'string',
|
|
60
|
+
description:
|
|
61
|
+
'\tThe secondary employment type of the individual. Options: `full_time`, `part_time`, `intern`, `temp`, `seasonal` and `individual_contractor`.',
|
|
62
|
+
enum: ['full_time', 'intern', 'part_time', 'temp', 'seasonal', 'individual_contractor'],
|
|
63
|
+
},
|
|
64
|
+
type: {
|
|
65
|
+
type: 'string',
|
|
66
|
+
description: 'The main employment type of the individual.',
|
|
67
|
+
enum: ['employee', 'contractor'],
|
|
68
|
+
},
|
|
69
|
+
},
|
|
70
|
+
required: [],
|
|
71
|
+
},
|
|
72
|
+
employment_status: {
|
|
73
|
+
type: 'string',
|
|
74
|
+
description: 'The detailed employment status of the individual.',
|
|
75
|
+
enum: ['active', 'deceased', 'leave', 'onboarding', 'prehire', 'retired', 'terminated'],
|
|
76
|
+
},
|
|
77
|
+
end_date: {
|
|
78
|
+
type: 'string',
|
|
79
|
+
title: 'Date',
|
|
80
|
+
},
|
|
81
|
+
first_name: {
|
|
82
|
+
type: 'string',
|
|
83
|
+
description: 'The legal first name of the individual.',
|
|
84
|
+
},
|
|
85
|
+
income: {
|
|
86
|
+
type: 'object',
|
|
87
|
+
title: 'Income',
|
|
88
|
+
description:
|
|
89
|
+
"The employee's income as reported by the provider. This may not always be annualized income, but may be in units of bi-weekly, semi-monthly, daily, etc, depending on what information the provider returns.",
|
|
90
|
+
properties: {
|
|
91
|
+
amount: {
|
|
92
|
+
type: 'integer',
|
|
93
|
+
description: 'The income amount in cents.',
|
|
94
|
+
},
|
|
95
|
+
currency: {
|
|
96
|
+
type: 'string',
|
|
97
|
+
description: 'The currency code.',
|
|
98
|
+
},
|
|
99
|
+
effective_date: {
|
|
100
|
+
type: 'string',
|
|
101
|
+
description: 'The date the income amount went into effect.',
|
|
102
|
+
},
|
|
103
|
+
unit: {
|
|
104
|
+
type: 'string',
|
|
105
|
+
description:
|
|
106
|
+
'The income unit of payment. Options: `yearly`, `quarterly`, `monthly`, `semi_monthly`, `bi_weekly`, `weekly`, `daily`, `hourly`, and `fixed`.',
|
|
107
|
+
enum: [
|
|
108
|
+
'yearly',
|
|
109
|
+
'quarterly',
|
|
110
|
+
'monthly',
|
|
111
|
+
'semi_monthly',
|
|
112
|
+
'bi_weekly',
|
|
113
|
+
'weekly',
|
|
114
|
+
'daily',
|
|
115
|
+
'hourly',
|
|
116
|
+
'fixed',
|
|
117
|
+
],
|
|
118
|
+
},
|
|
119
|
+
},
|
|
120
|
+
required: [],
|
|
121
|
+
},
|
|
122
|
+
income_history: {
|
|
123
|
+
type: 'array',
|
|
124
|
+
description: 'The array of income history.',
|
|
125
|
+
items: {
|
|
126
|
+
$ref: '#/properties/income',
|
|
127
|
+
},
|
|
128
|
+
},
|
|
129
|
+
is_active: {
|
|
130
|
+
type: 'boolean',
|
|
131
|
+
description: '`true` if the individual an an active employee or contractor at the company.',
|
|
132
|
+
},
|
|
133
|
+
last_name: {
|
|
134
|
+
type: 'string',
|
|
135
|
+
description: 'The legal last name of the individual.',
|
|
136
|
+
},
|
|
137
|
+
latest_rehire_date: {
|
|
138
|
+
type: 'string',
|
|
139
|
+
title: 'Date',
|
|
140
|
+
},
|
|
141
|
+
location: {
|
|
142
|
+
type: 'object',
|
|
143
|
+
title: 'Location',
|
|
144
|
+
properties: {
|
|
145
|
+
city: {
|
|
146
|
+
type: 'string',
|
|
147
|
+
description: 'City, district, suburb, town, or village.',
|
|
148
|
+
},
|
|
149
|
+
country: {
|
|
150
|
+
type: 'string',
|
|
151
|
+
description: 'The 2-letter ISO 3166 country code.',
|
|
152
|
+
},
|
|
153
|
+
line1: {
|
|
154
|
+
type: 'string',
|
|
155
|
+
description: 'Street address or PO box.',
|
|
156
|
+
},
|
|
157
|
+
line2: {
|
|
158
|
+
type: 'string',
|
|
159
|
+
description: 'Apartment, suite, unit, or building.',
|
|
160
|
+
},
|
|
161
|
+
name: {
|
|
162
|
+
type: 'string',
|
|
163
|
+
},
|
|
164
|
+
postal_code: {
|
|
165
|
+
type: 'string',
|
|
166
|
+
description: 'The postal code or zip code.',
|
|
167
|
+
},
|
|
168
|
+
source_id: {
|
|
169
|
+
type: 'string',
|
|
170
|
+
},
|
|
171
|
+
state: {
|
|
172
|
+
type: 'string',
|
|
173
|
+
description: 'The state code.',
|
|
174
|
+
},
|
|
175
|
+
},
|
|
176
|
+
required: [],
|
|
177
|
+
},
|
|
178
|
+
manager: {
|
|
179
|
+
type: 'object',
|
|
180
|
+
description: 'The manager object representing the manager of the individual within the org.',
|
|
181
|
+
properties: {
|
|
182
|
+
id: {
|
|
183
|
+
type: 'string',
|
|
184
|
+
description: 'A stable Finch `id` (UUID v4) for an individual in the company.',
|
|
185
|
+
},
|
|
186
|
+
},
|
|
187
|
+
required: [],
|
|
188
|
+
},
|
|
189
|
+
middle_name: {
|
|
190
|
+
type: 'string',
|
|
191
|
+
description: 'The legal middle name of the individual.',
|
|
192
|
+
},
|
|
193
|
+
source_id: {
|
|
194
|
+
type: 'string',
|
|
195
|
+
description: "The source system's unique employment identifier for this individual",
|
|
196
|
+
},
|
|
197
|
+
start_date: {
|
|
198
|
+
type: 'string',
|
|
199
|
+
title: 'Date',
|
|
200
|
+
},
|
|
201
|
+
title: {
|
|
202
|
+
type: 'string',
|
|
203
|
+
description: 'The current title of the individual.',
|
|
204
|
+
},
|
|
205
|
+
},
|
|
206
|
+
},
|
|
207
|
+
};
|
|
208
|
+
|
|
209
|
+
export const handler = (client: Finch, args: any) => {
|
|
210
|
+
const { individual_id, ...body } = args;
|
|
211
|
+
return client.sandbox.employment.update(individual_id, body);
|
|
212
|
+
};
|
|
213
|
+
|
|
214
|
+
export default { metadata, tool, handler };
|