@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
package/LICENSE
ADDED
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
+
|
|
7
|
+
1. Definitions.
|
|
8
|
+
|
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
+
|
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
+
the copyright owner that is granting the License.
|
|
14
|
+
|
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
+
other entities that control, are controlled by, or are under common
|
|
17
|
+
control with that entity. For the purposes of this definition,
|
|
18
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
+
direction or management of such entity, whether by contract or
|
|
20
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
+
|
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
+
exercising permissions granted by this License.
|
|
25
|
+
|
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
+
including but not limited to software source code, documentation
|
|
28
|
+
source, and configuration files.
|
|
29
|
+
|
|
30
|
+
"Object" form shall mean any form resulting from mechanical
|
|
31
|
+
transformation or translation of a Source form, including but
|
|
32
|
+
not limited to compiled object code, generated documentation,
|
|
33
|
+
and conversions to other media types.
|
|
34
|
+
|
|
35
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
36
|
+
Object form, made available under the License, as indicated by a
|
|
37
|
+
copyright notice that is included in or attached to the work
|
|
38
|
+
(an example is provided in the Appendix below).
|
|
39
|
+
|
|
40
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
+
form, that is based on (or derived from) the Work and for which the
|
|
42
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
43
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
44
|
+
of this License, Derivative Works shall not include works that remain
|
|
45
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
46
|
+
the Work and Derivative Works thereof.
|
|
47
|
+
|
|
48
|
+
"Contribution" shall mean any work of authorship, including
|
|
49
|
+
the original version of the Work and any modifications or additions
|
|
50
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
51
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
52
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
53
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
54
|
+
means any form of electronic, verbal, or written communication sent
|
|
55
|
+
to the Licensor or its representatives, including but not limited to
|
|
56
|
+
communication on electronic mailing lists, source code control systems,
|
|
57
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
58
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
59
|
+
excluding communication that is conspicuously marked or otherwise
|
|
60
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
61
|
+
|
|
62
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
63
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
64
|
+
subsequently incorporated within the Work.
|
|
65
|
+
|
|
66
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
67
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
68
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
69
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
70
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
71
|
+
Work and such Derivative Works in Source or Object form.
|
|
72
|
+
|
|
73
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
74
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
75
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
76
|
+
(except as stated in this section) patent license to make, have made,
|
|
77
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
78
|
+
where such license applies only to those patent claims licensable
|
|
79
|
+
by such Contributor that are necessarily infringed by their
|
|
80
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
81
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
82
|
+
institute patent litigation against any entity (including a
|
|
83
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
84
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
85
|
+
or contributory patent infringement, then any patent licenses
|
|
86
|
+
granted to You under this License for that Work shall terminate
|
|
87
|
+
as of the date such litigation is filed.
|
|
88
|
+
|
|
89
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
90
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
91
|
+
modifications, and in Source or Object form, provided that You
|
|
92
|
+
meet the following conditions:
|
|
93
|
+
|
|
94
|
+
(a) You must give any other recipients of the Work or
|
|
95
|
+
Derivative Works a copy of this License; and
|
|
96
|
+
|
|
97
|
+
(b) You must cause any modified files to carry prominent notices
|
|
98
|
+
stating that You changed the files; and
|
|
99
|
+
|
|
100
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
101
|
+
that You distribute, all copyright, patent, trademark, and
|
|
102
|
+
attribution notices from the Source form of the Work,
|
|
103
|
+
excluding those notices that do not pertain to any part of
|
|
104
|
+
the Derivative Works; and
|
|
105
|
+
|
|
106
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
107
|
+
distribution, then any Derivative Works that You distribute must
|
|
108
|
+
include a readable copy of the attribution notices contained
|
|
109
|
+
within such NOTICE file, excluding those notices that do not
|
|
110
|
+
pertain to any part of the Derivative Works, in at least one
|
|
111
|
+
of the following places: within a NOTICE text file distributed
|
|
112
|
+
as part of the Derivative Works; within the Source form or
|
|
113
|
+
documentation, if provided along with the Derivative Works; or,
|
|
114
|
+
within a display generated by the Derivative Works, if and
|
|
115
|
+
wherever such third-party notices normally appear. The contents
|
|
116
|
+
of the NOTICE file are for informational purposes only and
|
|
117
|
+
do not modify the License. You may add Your own attribution
|
|
118
|
+
notices within Derivative Works that You distribute, alongside
|
|
119
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
120
|
+
that such additional attribution notices cannot be construed
|
|
121
|
+
as modifying the License.
|
|
122
|
+
|
|
123
|
+
You may add Your own copyright statement to Your modifications and
|
|
124
|
+
may provide additional or different license terms and conditions
|
|
125
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
126
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
127
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
128
|
+
the conditions stated in this License.
|
|
129
|
+
|
|
130
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
131
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
132
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
133
|
+
this License, without any additional terms or conditions.
|
|
134
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
135
|
+
the terms of any separate license agreement you may have executed
|
|
136
|
+
with Licensor regarding such Contributions.
|
|
137
|
+
|
|
138
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
139
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
140
|
+
except as required for reasonable and customary use in describing the
|
|
141
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
142
|
+
|
|
143
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
144
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
145
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
146
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
147
|
+
implied, including, without limitation, any warranties or conditions
|
|
148
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
149
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
150
|
+
appropriateness of using or redistributing the Work and assume any
|
|
151
|
+
risks associated with Your exercise of permissions under this License.
|
|
152
|
+
|
|
153
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
154
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
155
|
+
unless required by applicable law (such as deliberate and grossly
|
|
156
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
157
|
+
liable to You for damages, including any direct, indirect, special,
|
|
158
|
+
incidental, or consequential damages of any character arising as a
|
|
159
|
+
result of this License or out of the use or inability to use the
|
|
160
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
161
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
162
|
+
other commercial damages or losses), even if such Contributor
|
|
163
|
+
has been advised of the possibility of such damages.
|
|
164
|
+
|
|
165
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
166
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
167
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
168
|
+
or other liability obligations and/or rights consistent with this
|
|
169
|
+
License. However, in accepting such obligations, You may act only
|
|
170
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
171
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
172
|
+
defend, and hold each Contributor harmless for any liability
|
|
173
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
174
|
+
of your accepting any such warranty or additional liability.
|
|
175
|
+
|
|
176
|
+
END OF TERMS AND CONDITIONS
|
|
177
|
+
|
|
178
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
179
|
+
|
|
180
|
+
To apply the Apache License to your work, attach the following
|
|
181
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
182
|
+
replaced with your own identifying information. (Don't include
|
|
183
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
184
|
+
comment syntax for the file format. We also recommend that a
|
|
185
|
+
file or class name and description of purpose be included on the
|
|
186
|
+
same "printed page" as the copyright notice for easier
|
|
187
|
+
identification within third-party archives.
|
|
188
|
+
|
|
189
|
+
Copyright 2025 Finch
|
|
190
|
+
|
|
191
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
192
|
+
you may not use this file except in compliance with the License.
|
|
193
|
+
You may obtain a copy of the License at
|
|
194
|
+
|
|
195
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
196
|
+
|
|
197
|
+
Unless required by applicable law or agreed to in writing, software
|
|
198
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
199
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
200
|
+
See the License for the specific language governing permissions and
|
|
201
|
+
limitations under the License.
|
package/README.md
ADDED
|
@@ -0,0 +1,247 @@
|
|
|
1
|
+
# Finch Node MCP Server
|
|
2
|
+
|
|
3
|
+
It is generated with [Stainless](https://www.stainless.com/).
|
|
4
|
+
|
|
5
|
+
## Installation
|
|
6
|
+
|
|
7
|
+
### Direct invocation
|
|
8
|
+
|
|
9
|
+
You can run the MCP Server directly via `npx`:
|
|
10
|
+
|
|
11
|
+
```sh
|
|
12
|
+
export FINCH_ACCESS_TOKEN="My Access Token"
|
|
13
|
+
export FINCH_CLIENT_ID="4ab15e51-11ad-49f4-acae-f343b7794375"
|
|
14
|
+
export FINCH_CLIENT_SECRET="My Client Secret"
|
|
15
|
+
export FINCH_WEBHOOK_SECRET="My Webhook Secret"
|
|
16
|
+
npx -y @tryfinch/finch-api-mcp
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
### Via MCP Client
|
|
20
|
+
|
|
21
|
+
There is a partial list of existing clients at [modelcontextprotocol.io](https://modelcontextprotocol.io/clients). If you already
|
|
22
|
+
have a client, consult their documentation to install the MCP server.
|
|
23
|
+
|
|
24
|
+
For clients with a configuration JSON, it might look something like this:
|
|
25
|
+
|
|
26
|
+
```json
|
|
27
|
+
{
|
|
28
|
+
"mcpServers": {
|
|
29
|
+
"tryfinch_finch_api_api": {
|
|
30
|
+
"command": "npx",
|
|
31
|
+
"args": ["-y", "@tryfinch/finch-api-mcp"],
|
|
32
|
+
"env": {
|
|
33
|
+
"FINCH_ACCESS_TOKEN": "My Access Token",
|
|
34
|
+
"FINCH_CLIENT_ID": "4ab15e51-11ad-49f4-acae-f343b7794375",
|
|
35
|
+
"FINCH_CLIENT_SECRET": "My Client Secret",
|
|
36
|
+
"FINCH_WEBHOOK_SECRET": "My Webhook Secret"
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
## Filtering tools
|
|
44
|
+
|
|
45
|
+
You can run the package on the command line to discover and filter the set of tools that are exposed by the
|
|
46
|
+
MCP Server. This can be helpful for large APIs where including all endpoints at once is too much for your AI's
|
|
47
|
+
context window.
|
|
48
|
+
|
|
49
|
+
You can filter by multiple aspects:
|
|
50
|
+
|
|
51
|
+
- `--tool` includes a specific tool by name
|
|
52
|
+
- `--resource` includes all tools under a specific resource, and can have wildcards, e.g. `my.resource*`
|
|
53
|
+
- `--operation` includes just read (get/list) or just write operations
|
|
54
|
+
|
|
55
|
+
See more information with `--help`.
|
|
56
|
+
|
|
57
|
+
All of these command-line options can be repeated, combined together, and have corresponding exclusion versions (e.g. `--no-tool`).
|
|
58
|
+
|
|
59
|
+
Use `--list` to see the list of available tools, or see below.
|
|
60
|
+
|
|
61
|
+
## Importing the tools and server individually
|
|
62
|
+
|
|
63
|
+
```js
|
|
64
|
+
// Import the server, generated endpoints, or the init function
|
|
65
|
+
import { server, endpoints, init } from "@tryfinch/finch-api-mcp/server";
|
|
66
|
+
|
|
67
|
+
// import a specific tool
|
|
68
|
+
import createAccessTokens from "@tryfinch/finch-api-mcp/tools/access-tokens/create-access-tokens";
|
|
69
|
+
|
|
70
|
+
// initialize the server and all endpoints
|
|
71
|
+
init({ server, endpoints });
|
|
72
|
+
|
|
73
|
+
// manually start server
|
|
74
|
+
const transport = new StdioServerTransport();
|
|
75
|
+
await server.connect(transport);
|
|
76
|
+
|
|
77
|
+
// or initialize your own server with specific tools
|
|
78
|
+
const myServer = new McpServer(...);
|
|
79
|
+
|
|
80
|
+
// define your own endpoint
|
|
81
|
+
const myCustomEndpoint = {
|
|
82
|
+
tool: {
|
|
83
|
+
name: 'my_custom_tool',
|
|
84
|
+
description: 'My custom tool',
|
|
85
|
+
inputSchema: zodToJsonSchema(z.object({ a_property: z.string() })),
|
|
86
|
+
},
|
|
87
|
+
handler: async (client: client, args: any) => {
|
|
88
|
+
return { myResponse: 'Hello world!' };
|
|
89
|
+
})
|
|
90
|
+
};
|
|
91
|
+
|
|
92
|
+
// initialize the server with your custom endpoints
|
|
93
|
+
init({ server: myServer, endpoints: [createAccessTokens, myCustomEndpoint] });
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
## Available Tools
|
|
97
|
+
|
|
98
|
+
The following tools are available in this MCP server.
|
|
99
|
+
|
|
100
|
+
### Resource `access_tokens`:
|
|
101
|
+
|
|
102
|
+
- `create_access_tokens` (`write`): Exchange the authorization code for an access token
|
|
103
|
+
|
|
104
|
+
### Resource `hris.company`:
|
|
105
|
+
|
|
106
|
+
- `retrieve_hris_company` (`read`): Read basic company data
|
|
107
|
+
|
|
108
|
+
### Resource `hris.company.pay_statement_item`:
|
|
109
|
+
|
|
110
|
+
- `list_company_hris_pay_statement_item` (`read`): **Beta:** this endpoint currently serves employers onboarded after March 4th and historical support will be added soon
|
|
111
|
+
Retrieve a list of detailed pay statement items for the access token's connection account.
|
|
112
|
+
|
|
113
|
+
### Resource `hris.company.pay_statement_item.rules`:
|
|
114
|
+
|
|
115
|
+
- `create_pay_statement_item_company_hris_rules` (`write`): **Beta:** this endpoint currently serves employers onboarded after March 4th and historical support will be added soon
|
|
116
|
+
Custom rules can be created to associate specific attributes to pay statement items depending on the use case. For example, pay statement items that meet certain conditions can be labeled as a pre-tax 401k. This metadata can be retrieved where pay statement item information is available.
|
|
117
|
+
- `update_pay_statement_item_company_hris_rules` (`write`): **Beta:** this endpoint currently serves employers onboarded after March 4th and historical support will be added soon
|
|
118
|
+
Update a rule for a pay statement item.
|
|
119
|
+
- `list_pay_statement_item_company_hris_rules` (`read`): **Beta:** this endpoint currently serves employers onboarded after March 4th and historical support will be added soon
|
|
120
|
+
List all rules of a connection account.
|
|
121
|
+
- `delete_pay_statement_item_company_hris_rules` (`write`): **Beta:** this endpoint currently serves employers onboarded after March 4th and historical support will be added soon
|
|
122
|
+
Delete a rule for a pay statement item.
|
|
123
|
+
|
|
124
|
+
### Resource `hris.directory`:
|
|
125
|
+
|
|
126
|
+
- `list_hris_directory` (`read`): Read company directory and organization structure
|
|
127
|
+
- `list_individuals_hris_directory` (`read`): Read company directory and organization structure
|
|
128
|
+
|
|
129
|
+
### Resource `hris.individuals`:
|
|
130
|
+
|
|
131
|
+
- `retrieve_many_hris_individuals` (`write`): Read individual data, excluding income and employment data
|
|
132
|
+
|
|
133
|
+
### Resource `hris.employments`:
|
|
134
|
+
|
|
135
|
+
- `retrieve_many_hris_employments` (`write`): Read individual employment and income data
|
|
136
|
+
|
|
137
|
+
### Resource `hris.payments`:
|
|
138
|
+
|
|
139
|
+
- `list_hris_payments` (`read`): Read payroll and contractor related payments by the company.
|
|
140
|
+
|
|
141
|
+
### Resource `hris.pay_statements`:
|
|
142
|
+
|
|
143
|
+
- `retrieve_many_hris_pay_statements` (`write`): Read detailed pay statements for each individual.
|
|
144
|
+
|
|
145
|
+
Deduction and contribution types are supported by the payroll systems that supports Benefits.
|
|
146
|
+
|
|
147
|
+
### Resource `hris.documents`:
|
|
148
|
+
|
|
149
|
+
- `list_hris_documents` (`read`): **Beta:** This endpoint is in beta and may change.
|
|
150
|
+
Retrieve a list of company-wide documents.
|
|
151
|
+
- `retreive_hris_documents` (`read`): **Beta:** This endpoint is in beta and may change.
|
|
152
|
+
Retrieve details of a specific document by its ID.
|
|
153
|
+
|
|
154
|
+
### Resource `hris.benefits`:
|
|
155
|
+
|
|
156
|
+
- `create_hris_benefits` (`write`): Creates a new company-wide deduction or contribution. Please use the `/providers` endpoint to view available types for each provider.
|
|
157
|
+
- `retrieve_hris_benefits` (`read`): Lists deductions and contributions information for a given item
|
|
158
|
+
- `update_hris_benefits` (`write`): Updates an existing company-wide deduction or contribution
|
|
159
|
+
- `list_hris_benefits` (`read`): List all company-wide deductions and contributions.
|
|
160
|
+
- `list_supported_benefits_hris_benefits` (`read`): Get deductions metadata
|
|
161
|
+
|
|
162
|
+
### Resource `hris.benefits.individuals`:
|
|
163
|
+
|
|
164
|
+
- `enroll_many_benefits_hris_individuals` (`write`): Enroll an individual into a deduction or contribution. This is an overwrite operation. If the employee is already enrolled, the enrollment amounts will be adjusted. Making the same request multiple times will not create new enrollments, but will continue to set the state of the existing enrollment.
|
|
165
|
+
- `enrolled_ids_benefits_hris_individuals` (`read`): Lists individuals currently enrolled in a given deduction.
|
|
166
|
+
- `retrieve_many_benefits_benefits_hris_individuals` (`read`): Get enrollment information for the given individuals.
|
|
167
|
+
- `unenroll_many_benefits_hris_individuals` (`write`): Unenroll individuals from a deduction or contribution
|
|
168
|
+
|
|
169
|
+
### Resource `providers`:
|
|
170
|
+
|
|
171
|
+
- `list_providers` (`read`): Return details on all available payroll and HR systems.
|
|
172
|
+
|
|
173
|
+
### Resource `account`:
|
|
174
|
+
|
|
175
|
+
- `disconnect_account` (`write`): Disconnect one or more `access_token`s from your application.
|
|
176
|
+
- `introspect_account` (`read`): Read account information associated with an `access_token`
|
|
177
|
+
|
|
178
|
+
### Resource `request_forwarding`:
|
|
179
|
+
|
|
180
|
+
- `forward_request_forwarding` (`write`): The Forward API allows you to make direct requests to an employment system. If Finch’s unified API
|
|
181
|
+
doesn’t have a data model that cleanly fits your needs, then Forward allows you to push or pull
|
|
182
|
+
data models directly against an integration’s API.
|
|
183
|
+
|
|
184
|
+
### Resource `jobs.automated`:
|
|
185
|
+
|
|
186
|
+
- `create_jobs_automated` (`write`): Enqueue an automated job.
|
|
187
|
+
|
|
188
|
+
`data_sync_all`: Enqueue a job to re-sync all data for a connection. `data_sync_all` has a concurrency limit of 1 job at a time per connection. This means that if this endpoint is called while a job is already in progress for this connection, Finch will return the `job_id` of the job that is currently in progress. Finch allows a fixed window rate limit of 1 forced refresh per hour per connection.
|
|
189
|
+
|
|
190
|
+
`w4_form_employee_sync`: Enqueues a job for sync W-4 data for a particular individual, identified by `individual_id`. This feature is currently in beta.
|
|
191
|
+
|
|
192
|
+
This endpoint is available for _Scale_ tier customers as an add-on. To request access to this endpoint, please contact your Finch account manager.
|
|
193
|
+
|
|
194
|
+
- `retrieve_jobs_automated` (`read`): Get an automated job by `job_id`.
|
|
195
|
+
- `list_jobs_automated` (`read`): Get all automated jobs. Automated jobs are completed by a machine. By default, jobs are sorted in descending order by submission time. For scheduled jobs such as data syncs, only the next scheduled job is shown.
|
|
196
|
+
|
|
197
|
+
### Resource `jobs.manual`:
|
|
198
|
+
|
|
199
|
+
- `retrieve_jobs_manual` (`read`): Get a manual job by `job_id`. Manual jobs are completed by a human and include Assisted Benefits jobs.
|
|
200
|
+
|
|
201
|
+
### Resource `sandbox.connections`:
|
|
202
|
+
|
|
203
|
+
- `create_sandbox_connections` (`write`): Create a new connection (new company/provider pair) with a new account
|
|
204
|
+
|
|
205
|
+
### Resource `sandbox.connections.accounts`:
|
|
206
|
+
|
|
207
|
+
- `create_connections_sandbox_accounts` (`write`): Create a new account for an existing connection (company/provider pair)
|
|
208
|
+
- `update_connections_sandbox_accounts` (`write`): Update an existing sandbox account. Change the connection status to understand how the Finch API responds.
|
|
209
|
+
|
|
210
|
+
### Resource `sandbox.company`:
|
|
211
|
+
|
|
212
|
+
- `update_sandbox_company` (`write`): Update a sandbox company's data
|
|
213
|
+
|
|
214
|
+
### Resource `sandbox.directory`:
|
|
215
|
+
|
|
216
|
+
- `create_sandbox_directory` (`write`): Add new individuals to a sandbox company
|
|
217
|
+
|
|
218
|
+
### Resource `sandbox.individual`:
|
|
219
|
+
|
|
220
|
+
- `update_sandbox_individual` (`write`): Update sandbox individual
|
|
221
|
+
|
|
222
|
+
### Resource `sandbox.employment`:
|
|
223
|
+
|
|
224
|
+
- `update_sandbox_employment` (`write`): Update sandbox employment
|
|
225
|
+
|
|
226
|
+
### Resource `sandbox.payment`:
|
|
227
|
+
|
|
228
|
+
- `create_sandbox_payment` (`write`): Add a new sandbox payment
|
|
229
|
+
|
|
230
|
+
### Resource `sandbox.jobs`:
|
|
231
|
+
|
|
232
|
+
- `create_sandbox_jobs` (`write`): Enqueue a new sandbox job
|
|
233
|
+
|
|
234
|
+
### Resource `sandbox.jobs.configuration`:
|
|
235
|
+
|
|
236
|
+
- `retrieve_jobs_sandbox_configuration` (`read`): Get configurations for sandbox jobs
|
|
237
|
+
- `update_jobs_sandbox_configuration` (`write`): Update configurations for sandbox jobs
|
|
238
|
+
|
|
239
|
+
### Resource `payroll.pay_groups`:
|
|
240
|
+
|
|
241
|
+
- `retrieve_payroll_pay_groups` (`read`): Read information from a single pay group
|
|
242
|
+
- `list_payroll_pay_groups` (`read`): Read company pay groups and frequencies
|
|
243
|
+
|
|
244
|
+
### Resource `connect.sessions`:
|
|
245
|
+
|
|
246
|
+
- `new_connect_sessions` (`write`): Create a new connect session for an employer
|
|
247
|
+
- `reauthenticate_connect_sessions` (`write`): Create a new Connect session for reauthenticating an existing connection
|
package/index.d.mts
ADDED
package/index.d.mts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["src/index.ts"],"names":[],"mappings":""}
|
package/index.d.ts
ADDED
package/index.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["src/index.ts"],"names":[],"mappings":""}
|
package/index.js
ADDED
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
"use strict";
|
|
3
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
4
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
5
|
+
};
|
|
6
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
+
const stdio_js_1 = require("@modelcontextprotocol/sdk/server/stdio.js");
|
|
8
|
+
const yargs_1 = __importDefault(require("yargs"));
|
|
9
|
+
const helpers_1 = require("yargs/helpers");
|
|
10
|
+
const server_1 = require("./server.js");
|
|
11
|
+
const tools_1 = require("./tools.js");
|
|
12
|
+
async function main() {
|
|
13
|
+
const opts = (0, yargs_1.default)((0, helpers_1.hideBin)(process.argv))
|
|
14
|
+
.option('tool', {
|
|
15
|
+
type: 'string',
|
|
16
|
+
array: true,
|
|
17
|
+
description: 'Include tools matching the specified names',
|
|
18
|
+
})
|
|
19
|
+
.option('resource', {
|
|
20
|
+
type: 'string',
|
|
21
|
+
array: true,
|
|
22
|
+
description: 'Include tools matching the specified resources',
|
|
23
|
+
})
|
|
24
|
+
.option('operation', {
|
|
25
|
+
type: 'string',
|
|
26
|
+
array: true,
|
|
27
|
+
choices: ['read', 'write'],
|
|
28
|
+
description: 'Include tools matching the specified operations',
|
|
29
|
+
})
|
|
30
|
+
.option('tag', {
|
|
31
|
+
type: 'string',
|
|
32
|
+
array: true,
|
|
33
|
+
description: 'Include tools with the specified tags',
|
|
34
|
+
})
|
|
35
|
+
.option('no-tool', {
|
|
36
|
+
type: 'string',
|
|
37
|
+
array: true,
|
|
38
|
+
description: 'Exclude tools matching the specified names',
|
|
39
|
+
})
|
|
40
|
+
.option('no-resource', {
|
|
41
|
+
type: 'string',
|
|
42
|
+
array: true,
|
|
43
|
+
description: 'Exclude tools matching the specified resources',
|
|
44
|
+
})
|
|
45
|
+
.option('no-operation', {
|
|
46
|
+
type: 'string',
|
|
47
|
+
array: true,
|
|
48
|
+
description: 'Exclude tools matching the specified operations',
|
|
49
|
+
})
|
|
50
|
+
.option('no-tag', {
|
|
51
|
+
type: 'string',
|
|
52
|
+
array: true,
|
|
53
|
+
description: 'Exclude tools with the specified tags',
|
|
54
|
+
})
|
|
55
|
+
.option('list', {
|
|
56
|
+
type: 'boolean',
|
|
57
|
+
description: 'List all tools and exit',
|
|
58
|
+
})
|
|
59
|
+
.help();
|
|
60
|
+
for (const [command, desc] of examples()) {
|
|
61
|
+
opts.example(command, desc);
|
|
62
|
+
}
|
|
63
|
+
const argv = opts.parseSync();
|
|
64
|
+
if (argv.list) {
|
|
65
|
+
listAllTools();
|
|
66
|
+
return;
|
|
67
|
+
}
|
|
68
|
+
const filters = [];
|
|
69
|
+
for (const tag of argv.tag || []) {
|
|
70
|
+
filters.push({ type: 'tag', op: 'include', value: tag });
|
|
71
|
+
}
|
|
72
|
+
for (const tag of argv.noTag || []) {
|
|
73
|
+
filters.push({ type: 'tag', op: 'exclude', value: tag });
|
|
74
|
+
}
|
|
75
|
+
for (const resource of argv.resource || []) {
|
|
76
|
+
filters.push({ type: 'resource', op: 'include', value: resource });
|
|
77
|
+
}
|
|
78
|
+
for (const resource of argv.noResource || []) {
|
|
79
|
+
filters.push({ type: 'resource', op: 'exclude', value: resource });
|
|
80
|
+
}
|
|
81
|
+
for (const tool of argv.tool || []) {
|
|
82
|
+
filters.push({ type: 'tool', op: 'include', value: tool });
|
|
83
|
+
}
|
|
84
|
+
for (const tool of argv.noTool || []) {
|
|
85
|
+
filters.push({ type: 'tool', op: 'exclude', value: tool });
|
|
86
|
+
}
|
|
87
|
+
for (const operation of argv.operation || []) {
|
|
88
|
+
filters.push({ type: 'operation', op: 'include', value: operation });
|
|
89
|
+
}
|
|
90
|
+
for (const operation of argv.noOperation || []) {
|
|
91
|
+
filters.push({ type: 'operation', op: 'exclude', value: operation });
|
|
92
|
+
}
|
|
93
|
+
const filteredEndpoints = (0, tools_1.query)(filters, tools_1.endpoints);
|
|
94
|
+
if (filteredEndpoints.length === 0) {
|
|
95
|
+
console.error('No tools match the provided filters.');
|
|
96
|
+
process.exit(1);
|
|
97
|
+
}
|
|
98
|
+
console.error(`MCP Server starting with ${filteredEndpoints.length} tools:`, filteredEndpoints.map((e) => e.tool.name));
|
|
99
|
+
(0, server_1.init)({ server: server_1.server, endpoints: filteredEndpoints });
|
|
100
|
+
const transport = new stdio_js_1.StdioServerTransport();
|
|
101
|
+
await server_1.server.connect(transport);
|
|
102
|
+
console.error('MCP Server running on stdio');
|
|
103
|
+
}
|
|
104
|
+
if (require.main === module) {
|
|
105
|
+
main().catch((error) => {
|
|
106
|
+
console.error('Fatal error in main():', error);
|
|
107
|
+
process.exit(1);
|
|
108
|
+
});
|
|
109
|
+
}
|
|
110
|
+
function listAllTools() {
|
|
111
|
+
if (tools_1.endpoints.length === 0) {
|
|
112
|
+
console.error('No tools available.');
|
|
113
|
+
return;
|
|
114
|
+
}
|
|
115
|
+
console.error('Available tools:\n');
|
|
116
|
+
// Group endpoints by resource
|
|
117
|
+
const resourceGroups = new Map();
|
|
118
|
+
for (const endpoint of tools_1.endpoints) {
|
|
119
|
+
const resource = endpoint.metadata.resource;
|
|
120
|
+
if (!resourceGroups.has(resource)) {
|
|
121
|
+
resourceGroups.set(resource, []);
|
|
122
|
+
}
|
|
123
|
+
resourceGroups.get(resource).push(endpoint);
|
|
124
|
+
}
|
|
125
|
+
// Sort resources alphabetically
|
|
126
|
+
const sortedResources = Array.from(resourceGroups.keys()).sort();
|
|
127
|
+
// Display hierarchically by resource
|
|
128
|
+
for (const resource of sortedResources) {
|
|
129
|
+
console.error(`Resource: ${resource}`);
|
|
130
|
+
const resourceEndpoints = resourceGroups.get(resource);
|
|
131
|
+
// Sort endpoints by tool name
|
|
132
|
+
resourceEndpoints.sort((a, b) => a.tool.name.localeCompare(b.tool.name));
|
|
133
|
+
for (const endpoint of resourceEndpoints) {
|
|
134
|
+
const { tool, metadata: { operation, tags }, } = endpoint;
|
|
135
|
+
console.error(` - ${tool.name} (${operation}) ${tags.length > 0 ? `tags: ${tags.join(', ')}` : ''}`);
|
|
136
|
+
console.error(` Description: ${tool.description}`);
|
|
137
|
+
}
|
|
138
|
+
console.error('');
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
function examples() {
|
|
142
|
+
const firstEndpoint = tools_1.endpoints[0];
|
|
143
|
+
const secondEndpoint = tools_1.endpoints.find((e) => e.metadata.resource !== firstEndpoint.metadata.resource) || tools_1.endpoints[1];
|
|
144
|
+
const tag = tools_1.endpoints.find((e) => e.metadata.tags.length > 0)?.metadata.tags[0];
|
|
145
|
+
const otherEndpoint = secondEndpoint || firstEndpoint;
|
|
146
|
+
return [
|
|
147
|
+
[
|
|
148
|
+
`--tool="${firstEndpoint.tool.name}" ${secondEndpoint ? `--tool="${secondEndpoint.tool.name}"` : ''}`,
|
|
149
|
+
'Include tools by name',
|
|
150
|
+
],
|
|
151
|
+
[
|
|
152
|
+
`--resource="${firstEndpoint.metadata.resource}" --operation="read"`,
|
|
153
|
+
'Filter by resource and operation',
|
|
154
|
+
],
|
|
155
|
+
[
|
|
156
|
+
`--resource="${otherEndpoint.metadata.resource}*" --no-tool="${otherEndpoint.tool.name}"`,
|
|
157
|
+
'Use resource wildcards and exclusions',
|
|
158
|
+
],
|
|
159
|
+
...(tag ? [[`--tag="${tag}"`, 'Filter based on tags']] : []),
|
|
160
|
+
];
|
|
161
|
+
}
|
|
162
|
+
//# sourceMappingURL=index.js.map
|
package/index.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["src/index.ts"],"names":[],"mappings":";;;;;AAAA,wEAAiF;AACjF,kDAA0B;AAC1B,2CAAwC;AACxC,wCAAwC;AACxC,sCAAmD;AAEnD,KAAK,UAAU,IAAI;IACjB,MAAM,IAAI,GAAG,IAAA,eAAK,EAAC,IAAA,iBAAO,EAAC,OAAO,CAAC,IAAI,CAAC,CAAC;SACtC,MAAM,CAAC,MAAM,EAAE;QACd,IAAI,EAAE,QAAQ;QACd,KAAK,EAAE,IAAI;QACX,WAAW,EAAE,4CAA4C;KAC1D,CAAC;SACD,MAAM,CAAC,UAAU,EAAE;QAClB,IAAI,EAAE,QAAQ;QACd,KAAK,EAAE,IAAI;QACX,WAAW,EAAE,gDAAgD;KAC9D,CAAC;SACD,MAAM,CAAC,WAAW,EAAE;QACnB,IAAI,EAAE,QAAQ;QACd,KAAK,EAAE,IAAI;QACX,OAAO,EAAE,CAAC,MAAM,EAAE,OAAO,CAAC;QAC1B,WAAW,EAAE,iDAAiD;KAC/D,CAAC;SACD,MAAM,CAAC,KAAK,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