@tryfinch/finch-api-mcp 7.0.0 → 8.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +13 -301
- package/code-tool.d.mts +2 -44
- package/code-tool.d.mts.map +1 -1
- package/code-tool.d.ts +2 -44
- package/code-tool.d.ts.map +1 -1
- package/code-tool.js +3 -2
- package/code-tool.js.map +1 -1
- package/code-tool.mjs +3 -2
- package/code-tool.mjs.map +1 -1
- package/docs-search-tool.d.mts +3 -3
- package/docs-search-tool.d.mts.map +1 -1
- package/docs-search-tool.d.ts +3 -3
- package/docs-search-tool.d.ts.map +1 -1
- package/docs-search-tool.js +1 -1
- package/docs-search-tool.js.map +1 -1
- package/docs-search-tool.mjs +1 -1
- package/http.d.mts.map +1 -1
- package/http.d.ts.map +1 -1
- package/http.js +1 -18
- package/http.js.map +1 -1
- package/http.mjs +1 -18
- package/http.mjs.map +1 -1
- package/index.js +4 -40
- package/index.js.map +1 -1
- package/index.mjs +4 -40
- package/index.mjs.map +1 -1
- package/options.d.mts +0 -9
- package/options.d.mts.map +1 -1
- package/options.d.ts +0 -9
- package/options.d.ts.map +1 -1
- package/options.js +4 -359
- package/options.js.map +1 -1
- package/options.mjs +4 -359
- package/options.mjs.map +1 -1
- package/package.json +9 -49
- package/server.d.mts +3 -8
- package/server.d.mts.map +1 -1
- package/server.d.ts +3 -8
- package/server.d.ts.map +1 -1
- package/server.js +12 -65
- package/server.js.map +1 -1
- package/server.mjs +11 -62
- package/server.mjs.map +1 -1
- package/src/code-tool.ts +3 -2
- package/src/docs-search-tool.ts +1 -1
- package/src/http.ts +1 -19
- package/src/index.ts +5 -52
- package/src/options.ts +5 -386
- package/src/server.ts +12 -72
- package/src/stdio.ts +2 -3
- package/src/{tools/types.ts → types.ts} +1 -1
- package/stdio.d.mts +1 -2
- package/stdio.d.mts.map +1 -1
- package/stdio.d.ts +1 -2
- package/stdio.d.ts.map +1 -1
- package/stdio.js +2 -2
- package/stdio.js.map +1 -1
- package/stdio.mjs +2 -2
- package/stdio.mjs.map +1 -1
- package/{tools/types.d.mts → types.d.mts} +1 -1
- package/types.d.mts.map +1 -0
- package/{tools/types.d.ts → types.d.ts} +1 -1
- package/types.d.ts.map +1 -0
- package/types.js.map +1 -0
- package/types.mjs.map +1 -0
- package/compat.d.mts +0 -58
- package/compat.d.mts.map +0 -1
- package/compat.d.ts +0 -58
- package/compat.d.ts.map +0 -1
- package/compat.js +0 -387
- package/compat.js.map +0 -1
- package/compat.mjs +0 -378
- package/compat.mjs.map +0 -1
- package/dynamic-tools.d.mts +0 -12
- package/dynamic-tools.d.mts.map +0 -1
- package/dynamic-tools.d.ts +0 -12
- package/dynamic-tools.d.ts.map +0 -1
- package/dynamic-tools.js +0 -135
- package/dynamic-tools.js.map +0 -1
- package/dynamic-tools.mjs +0 -132
- package/dynamic-tools.mjs.map +0 -1
- package/filtering.d.mts +0 -3
- package/filtering.d.mts.map +0 -1
- package/filtering.d.ts +0 -3
- package/filtering.d.ts.map +0 -1
- package/filtering.js +0 -24
- package/filtering.js.map +0 -1
- package/filtering.mjs +0 -16
- package/filtering.mjs.map +0 -1
- package/src/compat.ts +0 -483
- package/src/dynamic-tools.ts +0 -153
- package/src/filtering.ts +0 -18
- package/src/tools/access-tokens/create-access-tokens.ts +0 -65
- package/src/tools/account/disconnect-account.ts +0 -49
- package/src/tools/account/introspect-account.ts +0 -51
- package/src/tools/connect/sessions/new-connect-sessions.ts +0 -115
- package/src/tools/connect/sessions/reauthenticate-connect-sessions.ts +0 -83
- package/src/tools/hris/benefits/create-hris-benefits.ts +0 -129
- package/src/tools/hris/benefits/individuals/enroll-many-benefits-hris-individuals.ts +0 -146
- package/src/tools/hris/benefits/individuals/enrolled-ids-benefits-hris-individuals.ts +0 -63
- package/src/tools/hris/benefits/individuals/retrieve-many-benefits-benefits-hris-individuals.ts +0 -67
- package/src/tools/hris/benefits/individuals/unenroll-many-benefits-hris-individuals.ts +0 -70
- package/src/tools/hris/benefits/list-hris-benefits.ts +0 -59
- package/src/tools/hris/benefits/list-supported-benefits-hris-benefits.ts +0 -59
- package/src/tools/hris/benefits/retrieve-hris-benefits.ts +0 -63
- package/src/tools/hris/benefits/update-hris-benefits.ts +0 -65
- package/src/tools/hris/company/pay-statement-item/list-company-hris-pay-statement-item.ts +0 -88
- package/src/tools/hris/company/pay-statement-item/rules/create-pay-statement-item-company-hris-rules.ts +0 -106
- package/src/tools/hris/company/pay-statement-item/rules/delete-pay-statement-item-company-hris-rules.ts +0 -63
- package/src/tools/hris/company/pay-statement-item/rules/list-pay-statement-item-company-hris-rules.ts +0 -59
- package/src/tools/hris/company/pay-statement-item/rules/update-pay-statement-item-company-hris-rules.ts +0 -67
- package/src/tools/hris/company/retrieve-hris-company.ts +0 -58
- package/src/tools/hris/directory/list-hris-directory.ts +0 -67
- package/src/tools/hris/documents/list-hris-documents.ts +0 -82
- package/src/tools/hris/documents/retreive-hris-documents.ts +0 -63
- package/src/tools/hris/employments/retrieve-many-hris-employments.ts +0 -64
- package/src/tools/hris/individuals/retrieve-many-hris-individuals.ts +0 -79
- package/src/tools/hris/pay-statements/retrieve-many-hris-pay-statements.ts +0 -72
- package/src/tools/hris/payments/list-hris-payments.ts +0 -69
- package/src/tools/index.ts +0 -161
- package/src/tools/jobs/automated/create-jobs-automated.ts +0 -82
- package/src/tools/jobs/automated/list-jobs-automated.ts +0 -59
- package/src/tools/jobs/automated/retrieve-jobs-automated.ts +0 -54
- package/src/tools/jobs/manual/retrieve-jobs-manual.ts +0 -54
- package/src/tools/payroll/pay-groups/list-payroll-pay-groups.ts +0 -68
- package/src/tools/payroll/pay-groups/retrieve-payroll-pay-groups.ts +0 -63
- package/src/tools/providers/list-providers.ts +0 -52
- package/src/tools/request-forwarding/forward-request-forwarding.ts +0 -76
- package/src/tools/sandbox/company/update-sandbox-company.ts +0 -192
- package/src/tools/sandbox/connections/accounts/create-connections-sandbox-accounts.ts +0 -71
- package/src/tools/sandbox/connections/accounts/update-connections-sandbox-accounts.ts +0 -62
- package/src/tools/sandbox/connections/create-sandbox-connections.ts +0 -69
- package/src/tools/sandbox/directory/create-sandbox-directory.ts +0 -319
- package/src/tools/sandbox/employment/update-sandbox-employment.ts +0 -236
- package/src/tools/sandbox/individual/update-sandbox-individual.ts +0 -177
- package/src/tools/sandbox/jobs/configuration/retrieve-jobs-sandbox-configuration.ts +0 -53
- package/src/tools/sandbox/jobs/configuration/update-jobs-sandbox-configuration.ts +0 -61
- package/src/tools/sandbox/jobs/create-sandbox-jobs.ts +0 -54
- package/src/tools/sandbox/payment/create-sandbox-payment.ts +0 -224
- package/src/tools.ts +0 -1
- package/tools/access-tokens/create-access-tokens.d.mts +0 -51
- package/tools/access-tokens/create-access-tokens.d.mts.map +0 -1
- package/tools/access-tokens/create-access-tokens.d.ts +0 -51
- package/tools/access-tokens/create-access-tokens.d.ts.map +0 -1
- package/tools/access-tokens/create-access-tokens.js +0 -65
- package/tools/access-tokens/create-access-tokens.js.map +0 -1
- package/tools/access-tokens/create-access-tokens.mjs +0 -58
- package/tools/access-tokens/create-access-tokens.mjs.map +0 -1
- package/tools/account/disconnect-account.d.mts +0 -51
- package/tools/account/disconnect-account.d.mts.map +0 -1
- package/tools/account/disconnect-account.d.ts +0 -51
- package/tools/account/disconnect-account.d.ts.map +0 -1
- package/tools/account/disconnect-account.js +0 -49
- package/tools/account/disconnect-account.js.map +0 -1
- package/tools/account/disconnect-account.mjs +0 -42
- package/tools/account/disconnect-account.mjs.map +0 -1
- package/tools/account/introspect-account.d.mts +0 -51
- package/tools/account/introspect-account.d.mts.map +0 -1
- package/tools/account/introspect-account.d.ts +0 -51
- package/tools/account/introspect-account.d.ts.map +0 -1
- package/tools/account/introspect-account.js +0 -51
- package/tools/account/introspect-account.js.map +0 -1
- package/tools/account/introspect-account.mjs +0 -44
- package/tools/account/introspect-account.mjs.map +0 -1
- package/tools/connect/sessions/new-connect-sessions.d.mts +0 -51
- package/tools/connect/sessions/new-connect-sessions.d.mts.map +0 -1
- package/tools/connect/sessions/new-connect-sessions.d.ts +0 -51
- package/tools/connect/sessions/new-connect-sessions.d.ts.map +0 -1
- package/tools/connect/sessions/new-connect-sessions.js +0 -114
- package/tools/connect/sessions/new-connect-sessions.js.map +0 -1
- package/tools/connect/sessions/new-connect-sessions.mjs +0 -107
- package/tools/connect/sessions/new-connect-sessions.mjs.map +0 -1
- package/tools/connect/sessions/reauthenticate-connect-sessions.d.mts +0 -51
- package/tools/connect/sessions/reauthenticate-connect-sessions.d.mts.map +0 -1
- package/tools/connect/sessions/reauthenticate-connect-sessions.d.ts +0 -51
- package/tools/connect/sessions/reauthenticate-connect-sessions.d.ts.map +0 -1
- package/tools/connect/sessions/reauthenticate-connect-sessions.js +0 -81
- package/tools/connect/sessions/reauthenticate-connect-sessions.js.map +0 -1
- package/tools/connect/sessions/reauthenticate-connect-sessions.mjs +0 -74
- package/tools/connect/sessions/reauthenticate-connect-sessions.mjs.map +0 -1
- package/tools/hris/benefits/create-hris-benefits.d.mts +0 -51
- package/tools/hris/benefits/create-hris-benefits.d.mts.map +0 -1
- package/tools/hris/benefits/create-hris-benefits.d.ts +0 -51
- package/tools/hris/benefits/create-hris-benefits.d.ts.map +0 -1
- package/tools/hris/benefits/create-hris-benefits.js +0 -128
- package/tools/hris/benefits/create-hris-benefits.js.map +0 -1
- package/tools/hris/benefits/create-hris-benefits.mjs +0 -121
- package/tools/hris/benefits/create-hris-benefits.mjs.map +0 -1
- package/tools/hris/benefits/individuals/enroll-many-benefits-hris-individuals.d.mts +0 -51
- package/tools/hris/benefits/individuals/enroll-many-benefits-hris-individuals.d.mts.map +0 -1
- package/tools/hris/benefits/individuals/enroll-many-benefits-hris-individuals.d.ts +0 -51
- package/tools/hris/benefits/individuals/enroll-many-benefits-hris-individuals.d.ts.map +0 -1
- package/tools/hris/benefits/individuals/enroll-many-benefits-hris-individuals.js +0 -139
- package/tools/hris/benefits/individuals/enroll-many-benefits-hris-individuals.js.map +0 -1
- package/tools/hris/benefits/individuals/enroll-many-benefits-hris-individuals.mjs +0 -132
- package/tools/hris/benefits/individuals/enroll-many-benefits-hris-individuals.mjs.map +0 -1
- package/tools/hris/benefits/individuals/enrolled-ids-benefits-hris-individuals.d.mts +0 -51
- package/tools/hris/benefits/individuals/enrolled-ids-benefits-hris-individuals.d.mts.map +0 -1
- package/tools/hris/benefits/individuals/enrolled-ids-benefits-hris-individuals.d.ts +0 -51
- package/tools/hris/benefits/individuals/enrolled-ids-benefits-hris-individuals.d.ts.map +0 -1
- package/tools/hris/benefits/individuals/enrolled-ids-benefits-hris-individuals.js +0 -61
- package/tools/hris/benefits/individuals/enrolled-ids-benefits-hris-individuals.js.map +0 -1
- package/tools/hris/benefits/individuals/enrolled-ids-benefits-hris-individuals.mjs +0 -54
- package/tools/hris/benefits/individuals/enrolled-ids-benefits-hris-individuals.mjs.map +0 -1
- package/tools/hris/benefits/individuals/retrieve-many-benefits-benefits-hris-individuals.d.mts +0 -51
- package/tools/hris/benefits/individuals/retrieve-many-benefits-benefits-hris-individuals.d.mts.map +0 -1
- package/tools/hris/benefits/individuals/retrieve-many-benefits-benefits-hris-individuals.d.ts +0 -51
- package/tools/hris/benefits/individuals/retrieve-many-benefits-benefits-hris-individuals.d.ts.map +0 -1
- package/tools/hris/benefits/individuals/retrieve-many-benefits-benefits-hris-individuals.js +0 -66
- package/tools/hris/benefits/individuals/retrieve-many-benefits-benefits-hris-individuals.js.map +0 -1
- package/tools/hris/benefits/individuals/retrieve-many-benefits-benefits-hris-individuals.mjs +0 -59
- package/tools/hris/benefits/individuals/retrieve-many-benefits-benefits-hris-individuals.mjs.map +0 -1
- package/tools/hris/benefits/individuals/unenroll-many-benefits-hris-individuals.d.mts +0 -51
- package/tools/hris/benefits/individuals/unenroll-many-benefits-hris-individuals.d.mts.map +0 -1
- package/tools/hris/benefits/individuals/unenroll-many-benefits-hris-individuals.d.ts +0 -51
- package/tools/hris/benefits/individuals/unenroll-many-benefits-hris-individuals.d.ts.map +0 -1
- package/tools/hris/benefits/individuals/unenroll-many-benefits-hris-individuals.js +0 -68
- package/tools/hris/benefits/individuals/unenroll-many-benefits-hris-individuals.js.map +0 -1
- package/tools/hris/benefits/individuals/unenroll-many-benefits-hris-individuals.mjs +0 -61
- package/tools/hris/benefits/individuals/unenroll-many-benefits-hris-individuals.mjs.map +0 -1
- package/tools/hris/benefits/list-hris-benefits.d.mts +0 -51
- package/tools/hris/benefits/list-hris-benefits.d.mts.map +0 -1
- package/tools/hris/benefits/list-hris-benefits.d.ts +0 -51
- package/tools/hris/benefits/list-hris-benefits.d.ts.map +0 -1
- package/tools/hris/benefits/list-hris-benefits.js +0 -59
- package/tools/hris/benefits/list-hris-benefits.js.map +0 -1
- package/tools/hris/benefits/list-hris-benefits.mjs +0 -52
- package/tools/hris/benefits/list-hris-benefits.mjs.map +0 -1
- package/tools/hris/benefits/list-supported-benefits-hris-benefits.d.mts +0 -51
- package/tools/hris/benefits/list-supported-benefits-hris-benefits.d.mts.map +0 -1
- package/tools/hris/benefits/list-supported-benefits-hris-benefits.d.ts +0 -51
- package/tools/hris/benefits/list-supported-benefits-hris-benefits.d.ts.map +0 -1
- package/tools/hris/benefits/list-supported-benefits-hris-benefits.js +0 -59
- package/tools/hris/benefits/list-supported-benefits-hris-benefits.js.map +0 -1
- package/tools/hris/benefits/list-supported-benefits-hris-benefits.mjs +0 -52
- package/tools/hris/benefits/list-supported-benefits-hris-benefits.mjs.map +0 -1
- package/tools/hris/benefits/retrieve-hris-benefits.d.mts +0 -51
- package/tools/hris/benefits/retrieve-hris-benefits.d.mts.map +0 -1
- package/tools/hris/benefits/retrieve-hris-benefits.d.ts +0 -51
- package/tools/hris/benefits/retrieve-hris-benefits.d.ts.map +0 -1
- package/tools/hris/benefits/retrieve-hris-benefits.js +0 -61
- package/tools/hris/benefits/retrieve-hris-benefits.js.map +0 -1
- package/tools/hris/benefits/retrieve-hris-benefits.mjs +0 -54
- package/tools/hris/benefits/retrieve-hris-benefits.mjs.map +0 -1
- package/tools/hris/benefits/update-hris-benefits.d.mts +0 -51
- package/tools/hris/benefits/update-hris-benefits.d.mts.map +0 -1
- package/tools/hris/benefits/update-hris-benefits.d.ts +0 -51
- package/tools/hris/benefits/update-hris-benefits.d.ts.map +0 -1
- package/tools/hris/benefits/update-hris-benefits.js +0 -63
- package/tools/hris/benefits/update-hris-benefits.js.map +0 -1
- package/tools/hris/benefits/update-hris-benefits.mjs +0 -56
- package/tools/hris/benefits/update-hris-benefits.mjs.map +0 -1
- package/tools/hris/company/pay-statement-item/list-company-hris-pay-statement-item.d.mts +0 -51
- package/tools/hris/company/pay-statement-item/list-company-hris-pay-statement-item.d.mts.map +0 -1
- package/tools/hris/company/pay-statement-item/list-company-hris-pay-statement-item.d.ts +0 -51
- package/tools/hris/company/pay-statement-item/list-company-hris-pay-statement-item.d.ts.map +0 -1
- package/tools/hris/company/pay-statement-item/list-company-hris-pay-statement-item.js +0 -85
- package/tools/hris/company/pay-statement-item/list-company-hris-pay-statement-item.js.map +0 -1
- package/tools/hris/company/pay-statement-item/list-company-hris-pay-statement-item.mjs +0 -78
- package/tools/hris/company/pay-statement-item/list-company-hris-pay-statement-item.mjs.map +0 -1
- package/tools/hris/company/pay-statement-item/rules/create-pay-statement-item-company-hris-rules.d.mts +0 -51
- package/tools/hris/company/pay-statement-item/rules/create-pay-statement-item-company-hris-rules.d.mts.map +0 -1
- package/tools/hris/company/pay-statement-item/rules/create-pay-statement-item-company-hris-rules.d.ts +0 -51
- package/tools/hris/company/pay-statement-item/rules/create-pay-statement-item-company-hris-rules.d.ts.map +0 -1
- package/tools/hris/company/pay-statement-item/rules/create-pay-statement-item-company-hris-rules.js +0 -103
- package/tools/hris/company/pay-statement-item/rules/create-pay-statement-item-company-hris-rules.js.map +0 -1
- package/tools/hris/company/pay-statement-item/rules/create-pay-statement-item-company-hris-rules.mjs +0 -96
- package/tools/hris/company/pay-statement-item/rules/create-pay-statement-item-company-hris-rules.mjs.map +0 -1
- package/tools/hris/company/pay-statement-item/rules/delete-pay-statement-item-company-hris-rules.d.mts +0 -51
- package/tools/hris/company/pay-statement-item/rules/delete-pay-statement-item-company-hris-rules.d.mts.map +0 -1
- package/tools/hris/company/pay-statement-item/rules/delete-pay-statement-item-company-hris-rules.d.ts +0 -51
- package/tools/hris/company/pay-statement-item/rules/delete-pay-statement-item-company-hris-rules.d.ts.map +0 -1
- package/tools/hris/company/pay-statement-item/rules/delete-pay-statement-item-company-hris-rules.js +0 -61
- package/tools/hris/company/pay-statement-item/rules/delete-pay-statement-item-company-hris-rules.js.map +0 -1
- package/tools/hris/company/pay-statement-item/rules/delete-pay-statement-item-company-hris-rules.mjs +0 -54
- package/tools/hris/company/pay-statement-item/rules/delete-pay-statement-item-company-hris-rules.mjs.map +0 -1
- package/tools/hris/company/pay-statement-item/rules/list-pay-statement-item-company-hris-rules.d.mts +0 -51
- package/tools/hris/company/pay-statement-item/rules/list-pay-statement-item-company-hris-rules.d.mts.map +0 -1
- package/tools/hris/company/pay-statement-item/rules/list-pay-statement-item-company-hris-rules.d.ts +0 -51
- package/tools/hris/company/pay-statement-item/rules/list-pay-statement-item-company-hris-rules.d.ts.map +0 -1
- package/tools/hris/company/pay-statement-item/rules/list-pay-statement-item-company-hris-rules.js +0 -59
- package/tools/hris/company/pay-statement-item/rules/list-pay-statement-item-company-hris-rules.js.map +0 -1
- package/tools/hris/company/pay-statement-item/rules/list-pay-statement-item-company-hris-rules.mjs +0 -52
- package/tools/hris/company/pay-statement-item/rules/list-pay-statement-item-company-hris-rules.mjs.map +0 -1
- package/tools/hris/company/pay-statement-item/rules/update-pay-statement-item-company-hris-rules.d.mts +0 -51
- package/tools/hris/company/pay-statement-item/rules/update-pay-statement-item-company-hris-rules.d.mts.map +0 -1
- package/tools/hris/company/pay-statement-item/rules/update-pay-statement-item-company-hris-rules.d.ts +0 -51
- package/tools/hris/company/pay-statement-item/rules/update-pay-statement-item-company-hris-rules.d.ts.map +0 -1
- package/tools/hris/company/pay-statement-item/rules/update-pay-statement-item-company-hris-rules.js +0 -65
- package/tools/hris/company/pay-statement-item/rules/update-pay-statement-item-company-hris-rules.js.map +0 -1
- package/tools/hris/company/pay-statement-item/rules/update-pay-statement-item-company-hris-rules.mjs +0 -58
- package/tools/hris/company/pay-statement-item/rules/update-pay-statement-item-company-hris-rules.mjs.map +0 -1
- package/tools/hris/company/retrieve-hris-company.d.mts +0 -51
- package/tools/hris/company/retrieve-hris-company.d.mts.map +0 -1
- package/tools/hris/company/retrieve-hris-company.d.ts +0 -51
- package/tools/hris/company/retrieve-hris-company.d.ts.map +0 -1
- package/tools/hris/company/retrieve-hris-company.js +0 -58
- package/tools/hris/company/retrieve-hris-company.js.map +0 -1
- package/tools/hris/company/retrieve-hris-company.mjs +0 -51
- package/tools/hris/company/retrieve-hris-company.mjs.map +0 -1
- package/tools/hris/directory/list-hris-directory.d.mts +0 -51
- package/tools/hris/directory/list-hris-directory.d.mts.map +0 -1
- package/tools/hris/directory/list-hris-directory.d.ts +0 -51
- package/tools/hris/directory/list-hris-directory.d.ts.map +0 -1
- package/tools/hris/directory/list-hris-directory.js +0 -67
- package/tools/hris/directory/list-hris-directory.js.map +0 -1
- package/tools/hris/directory/list-hris-directory.mjs +0 -60
- package/tools/hris/directory/list-hris-directory.mjs.map +0 -1
- package/tools/hris/documents/list-hris-documents.d.mts +0 -51
- package/tools/hris/documents/list-hris-documents.d.mts.map +0 -1
- package/tools/hris/documents/list-hris-documents.d.ts +0 -51
- package/tools/hris/documents/list-hris-documents.d.ts.map +0 -1
- package/tools/hris/documents/list-hris-documents.js +0 -81
- package/tools/hris/documents/list-hris-documents.js.map +0 -1
- package/tools/hris/documents/list-hris-documents.mjs +0 -74
- package/tools/hris/documents/list-hris-documents.mjs.map +0 -1
- package/tools/hris/documents/retreive-hris-documents.d.mts +0 -51
- package/tools/hris/documents/retreive-hris-documents.d.mts.map +0 -1
- package/tools/hris/documents/retreive-hris-documents.d.ts +0 -51
- package/tools/hris/documents/retreive-hris-documents.d.ts.map +0 -1
- package/tools/hris/documents/retreive-hris-documents.js +0 -61
- package/tools/hris/documents/retreive-hris-documents.js.map +0 -1
- package/tools/hris/documents/retreive-hris-documents.mjs +0 -54
- package/tools/hris/documents/retreive-hris-documents.mjs.map +0 -1
- package/tools/hris/employments/retrieve-many-hris-employments.d.mts +0 -51
- package/tools/hris/employments/retrieve-many-hris-employments.d.mts.map +0 -1
- package/tools/hris/employments/retrieve-many-hris-employments.d.ts +0 -51
- package/tools/hris/employments/retrieve-many-hris-employments.d.ts.map +0 -1
- package/tools/hris/employments/retrieve-many-hris-employments.js +0 -65
- package/tools/hris/employments/retrieve-many-hris-employments.js.map +0 -1
- package/tools/hris/employments/retrieve-many-hris-employments.mjs +0 -58
- package/tools/hris/employments/retrieve-many-hris-employments.mjs.map +0 -1
- package/tools/hris/individuals/retrieve-many-hris-individuals.d.mts +0 -51
- package/tools/hris/individuals/retrieve-many-hris-individuals.d.mts.map +0 -1
- package/tools/hris/individuals/retrieve-many-hris-individuals.d.ts +0 -51
- package/tools/hris/individuals/retrieve-many-hris-individuals.d.ts.map +0 -1
- package/tools/hris/individuals/retrieve-many-hris-individuals.js +0 -79
- package/tools/hris/individuals/retrieve-many-hris-individuals.js.map +0 -1
- package/tools/hris/individuals/retrieve-many-hris-individuals.mjs +0 -72
- package/tools/hris/individuals/retrieve-many-hris-individuals.mjs.map +0 -1
- package/tools/hris/pay-statements/retrieve-many-hris-pay-statements.d.mts +0 -51
- package/tools/hris/pay-statements/retrieve-many-hris-pay-statements.d.mts.map +0 -1
- package/tools/hris/pay-statements/retrieve-many-hris-pay-statements.d.ts +0 -51
- package/tools/hris/pay-statements/retrieve-many-hris-pay-statements.d.ts.map +0 -1
- package/tools/hris/pay-statements/retrieve-many-hris-pay-statements.js +0 -73
- package/tools/hris/pay-statements/retrieve-many-hris-pay-statements.js.map +0 -1
- package/tools/hris/pay-statements/retrieve-many-hris-pay-statements.mjs +0 -66
- package/tools/hris/pay-statements/retrieve-many-hris-pay-statements.mjs.map +0 -1
- package/tools/hris/payments/list-hris-payments.d.mts +0 -51
- package/tools/hris/payments/list-hris-payments.d.mts.map +0 -1
- package/tools/hris/payments/list-hris-payments.d.ts +0 -51
- package/tools/hris/payments/list-hris-payments.d.ts.map +0 -1
- package/tools/hris/payments/list-hris-payments.js +0 -69
- package/tools/hris/payments/list-hris-payments.js.map +0 -1
- package/tools/hris/payments/list-hris-payments.mjs +0 -62
- package/tools/hris/payments/list-hris-payments.mjs.map +0 -1
- package/tools/index.d.mts +0 -10
- package/tools/index.d.mts.map +0 -1
- package/tools/index.d.ts +0 -10
- package/tools/index.d.ts.map +0 -1
- package/tools/index.js +0 -145
- package/tools/index.js.map +0 -1
- package/tools/index.mjs +0 -138
- package/tools/index.mjs.map +0 -1
- package/tools/jobs/automated/create-jobs-automated.d.mts +0 -51
- package/tools/jobs/automated/create-jobs-automated.d.mts.map +0 -1
- package/tools/jobs/automated/create-jobs-automated.d.ts +0 -51
- package/tools/jobs/automated/create-jobs-automated.d.ts.map +0 -1
- package/tools/jobs/automated/create-jobs-automated.js +0 -82
- package/tools/jobs/automated/create-jobs-automated.js.map +0 -1
- package/tools/jobs/automated/create-jobs-automated.mjs +0 -75
- package/tools/jobs/automated/create-jobs-automated.mjs.map +0 -1
- package/tools/jobs/automated/list-jobs-automated.d.mts +0 -51
- package/tools/jobs/automated/list-jobs-automated.d.mts.map +0 -1
- package/tools/jobs/automated/list-jobs-automated.d.ts +0 -51
- package/tools/jobs/automated/list-jobs-automated.d.ts.map +0 -1
- package/tools/jobs/automated/list-jobs-automated.js +0 -59
- package/tools/jobs/automated/list-jobs-automated.js.map +0 -1
- package/tools/jobs/automated/list-jobs-automated.mjs +0 -52
- package/tools/jobs/automated/list-jobs-automated.mjs.map +0 -1
- package/tools/jobs/automated/retrieve-jobs-automated.d.mts +0 -51
- package/tools/jobs/automated/retrieve-jobs-automated.d.mts.map +0 -1
- package/tools/jobs/automated/retrieve-jobs-automated.d.ts +0 -51
- package/tools/jobs/automated/retrieve-jobs-automated.d.ts.map +0 -1
- package/tools/jobs/automated/retrieve-jobs-automated.js +0 -54
- package/tools/jobs/automated/retrieve-jobs-automated.js.map +0 -1
- package/tools/jobs/automated/retrieve-jobs-automated.mjs +0 -47
- package/tools/jobs/automated/retrieve-jobs-automated.mjs.map +0 -1
- package/tools/jobs/manual/retrieve-jobs-manual.d.mts +0 -51
- package/tools/jobs/manual/retrieve-jobs-manual.d.mts.map +0 -1
- package/tools/jobs/manual/retrieve-jobs-manual.d.ts +0 -51
- package/tools/jobs/manual/retrieve-jobs-manual.d.ts.map +0 -1
- package/tools/jobs/manual/retrieve-jobs-manual.js +0 -54
- package/tools/jobs/manual/retrieve-jobs-manual.js.map +0 -1
- package/tools/jobs/manual/retrieve-jobs-manual.mjs +0 -47
- package/tools/jobs/manual/retrieve-jobs-manual.mjs.map +0 -1
- package/tools/payroll/pay-groups/list-payroll-pay-groups.d.mts +0 -51
- package/tools/payroll/pay-groups/list-payroll-pay-groups.d.mts.map +0 -1
- package/tools/payroll/pay-groups/list-payroll-pay-groups.d.ts +0 -51
- package/tools/payroll/pay-groups/list-payroll-pay-groups.d.ts.map +0 -1
- package/tools/payroll/pay-groups/list-payroll-pay-groups.js +0 -68
- package/tools/payroll/pay-groups/list-payroll-pay-groups.js.map +0 -1
- package/tools/payroll/pay-groups/list-payroll-pay-groups.mjs +0 -61
- package/tools/payroll/pay-groups/list-payroll-pay-groups.mjs.map +0 -1
- package/tools/payroll/pay-groups/retrieve-payroll-pay-groups.d.mts +0 -51
- package/tools/payroll/pay-groups/retrieve-payroll-pay-groups.d.mts.map +0 -1
- package/tools/payroll/pay-groups/retrieve-payroll-pay-groups.d.ts +0 -51
- package/tools/payroll/pay-groups/retrieve-payroll-pay-groups.d.ts.map +0 -1
- package/tools/payroll/pay-groups/retrieve-payroll-pay-groups.js +0 -61
- package/tools/payroll/pay-groups/retrieve-payroll-pay-groups.js.map +0 -1
- package/tools/payroll/pay-groups/retrieve-payroll-pay-groups.mjs +0 -54
- package/tools/payroll/pay-groups/retrieve-payroll-pay-groups.mjs.map +0 -1
- package/tools/providers/list-providers.d.mts +0 -51
- package/tools/providers/list-providers.d.mts.map +0 -1
- package/tools/providers/list-providers.d.ts +0 -51
- package/tools/providers/list-providers.d.ts.map +0 -1
- package/tools/providers/list-providers.js +0 -52
- package/tools/providers/list-providers.js.map +0 -1
- package/tools/providers/list-providers.mjs +0 -45
- package/tools/providers/list-providers.mjs.map +0 -1
- package/tools/request-forwarding/forward-request-forwarding.d.mts +0 -51
- package/tools/request-forwarding/forward-request-forwarding.d.mts.map +0 -1
- package/tools/request-forwarding/forward-request-forwarding.d.ts +0 -51
- package/tools/request-forwarding/forward-request-forwarding.d.ts.map +0 -1
- package/tools/request-forwarding/forward-request-forwarding.js +0 -71
- package/tools/request-forwarding/forward-request-forwarding.js.map +0 -1
- package/tools/request-forwarding/forward-request-forwarding.mjs +0 -64
- package/tools/request-forwarding/forward-request-forwarding.mjs.map +0 -1
- package/tools/sandbox/company/update-sandbox-company.d.mts +0 -51
- package/tools/sandbox/company/update-sandbox-company.d.mts.map +0 -1
- package/tools/sandbox/company/update-sandbox-company.d.ts +0 -51
- package/tools/sandbox/company/update-sandbox-company.d.ts.map +0 -1
- package/tools/sandbox/company/update-sandbox-company.js +0 -190
- package/tools/sandbox/company/update-sandbox-company.js.map +0 -1
- package/tools/sandbox/company/update-sandbox-company.mjs +0 -183
- package/tools/sandbox/company/update-sandbox-company.mjs.map +0 -1
- package/tools/sandbox/connections/accounts/create-connections-sandbox-accounts.d.mts +0 -51
- package/tools/sandbox/connections/accounts/create-connections-sandbox-accounts.d.mts.map +0 -1
- package/tools/sandbox/connections/accounts/create-connections-sandbox-accounts.d.ts +0 -51
- package/tools/sandbox/connections/accounts/create-connections-sandbox-accounts.d.ts.map +0 -1
- package/tools/sandbox/connections/accounts/create-connections-sandbox-accounts.js +0 -68
- package/tools/sandbox/connections/accounts/create-connections-sandbox-accounts.js.map +0 -1
- package/tools/sandbox/connections/accounts/create-connections-sandbox-accounts.mjs +0 -61
- package/tools/sandbox/connections/accounts/create-connections-sandbox-accounts.mjs.map +0 -1
- package/tools/sandbox/connections/accounts/update-connections-sandbox-accounts.d.mts +0 -51
- package/tools/sandbox/connections/accounts/update-connections-sandbox-accounts.d.mts.map +0 -1
- package/tools/sandbox/connections/accounts/update-connections-sandbox-accounts.d.ts +0 -51
- package/tools/sandbox/connections/accounts/update-connections-sandbox-accounts.d.ts.map +0 -1
- package/tools/sandbox/connections/accounts/update-connections-sandbox-accounts.js +0 -60
- package/tools/sandbox/connections/accounts/update-connections-sandbox-accounts.js.map +0 -1
- package/tools/sandbox/connections/accounts/update-connections-sandbox-accounts.mjs +0 -53
- package/tools/sandbox/connections/accounts/update-connections-sandbox-accounts.mjs.map +0 -1
- package/tools/sandbox/connections/create-sandbox-connections.d.mts +0 -51
- package/tools/sandbox/connections/create-sandbox-connections.d.mts.map +0 -1
- package/tools/sandbox/connections/create-sandbox-connections.d.ts +0 -51
- package/tools/sandbox/connections/create-sandbox-connections.d.ts.map +0 -1
- package/tools/sandbox/connections/create-sandbox-connections.js +0 -68
- package/tools/sandbox/connections/create-sandbox-connections.js.map +0 -1
- package/tools/sandbox/connections/create-sandbox-connections.mjs +0 -61
- package/tools/sandbox/connections/create-sandbox-connections.mjs.map +0 -1
- package/tools/sandbox/directory/create-sandbox-directory.d.mts +0 -51
- package/tools/sandbox/directory/create-sandbox-directory.d.mts.map +0 -1
- package/tools/sandbox/directory/create-sandbox-directory.d.ts +0 -51
- package/tools/sandbox/directory/create-sandbox-directory.d.ts.map +0 -1
- package/tools/sandbox/directory/create-sandbox-directory.js +0 -311
- package/tools/sandbox/directory/create-sandbox-directory.js.map +0 -1
- package/tools/sandbox/directory/create-sandbox-directory.mjs +0 -304
- package/tools/sandbox/directory/create-sandbox-directory.mjs.map +0 -1
- package/tools/sandbox/employment/update-sandbox-employment.d.mts +0 -51
- package/tools/sandbox/employment/update-sandbox-employment.d.mts.map +0 -1
- package/tools/sandbox/employment/update-sandbox-employment.d.ts +0 -51
- package/tools/sandbox/employment/update-sandbox-employment.d.ts.map +0 -1
- package/tools/sandbox/employment/update-sandbox-employment.js +0 -233
- package/tools/sandbox/employment/update-sandbox-employment.js.map +0 -1
- package/tools/sandbox/employment/update-sandbox-employment.mjs +0 -226
- package/tools/sandbox/employment/update-sandbox-employment.mjs.map +0 -1
- package/tools/sandbox/individual/update-sandbox-individual.d.mts +0 -51
- package/tools/sandbox/individual/update-sandbox-individual.d.mts.map +0 -1
- package/tools/sandbox/individual/update-sandbox-individual.d.ts +0 -51
- package/tools/sandbox/individual/update-sandbox-individual.d.ts.map +0 -1
- package/tools/sandbox/individual/update-sandbox-individual.js +0 -173
- package/tools/sandbox/individual/update-sandbox-individual.js.map +0 -1
- package/tools/sandbox/individual/update-sandbox-individual.mjs +0 -166
- package/tools/sandbox/individual/update-sandbox-individual.mjs.map +0 -1
- package/tools/sandbox/jobs/configuration/retrieve-jobs-sandbox-configuration.d.mts +0 -51
- package/tools/sandbox/jobs/configuration/retrieve-jobs-sandbox-configuration.d.mts.map +0 -1
- package/tools/sandbox/jobs/configuration/retrieve-jobs-sandbox-configuration.d.ts +0 -51
- package/tools/sandbox/jobs/configuration/retrieve-jobs-sandbox-configuration.d.ts.map +0 -1
- package/tools/sandbox/jobs/configuration/retrieve-jobs-sandbox-configuration.js +0 -51
- package/tools/sandbox/jobs/configuration/retrieve-jobs-sandbox-configuration.js.map +0 -1
- package/tools/sandbox/jobs/configuration/retrieve-jobs-sandbox-configuration.mjs +0 -44
- package/tools/sandbox/jobs/configuration/retrieve-jobs-sandbox-configuration.mjs.map +0 -1
- package/tools/sandbox/jobs/configuration/update-jobs-sandbox-configuration.d.mts +0 -51
- package/tools/sandbox/jobs/configuration/update-jobs-sandbox-configuration.d.mts.map +0 -1
- package/tools/sandbox/jobs/configuration/update-jobs-sandbox-configuration.d.ts +0 -51
- package/tools/sandbox/jobs/configuration/update-jobs-sandbox-configuration.d.ts.map +0 -1
- package/tools/sandbox/jobs/configuration/update-jobs-sandbox-configuration.js +0 -59
- package/tools/sandbox/jobs/configuration/update-jobs-sandbox-configuration.js.map +0 -1
- package/tools/sandbox/jobs/configuration/update-jobs-sandbox-configuration.mjs +0 -52
- package/tools/sandbox/jobs/configuration/update-jobs-sandbox-configuration.mjs.map +0 -1
- package/tools/sandbox/jobs/create-sandbox-jobs.d.mts +0 -51
- package/tools/sandbox/jobs/create-sandbox-jobs.d.mts.map +0 -1
- package/tools/sandbox/jobs/create-sandbox-jobs.d.ts +0 -51
- package/tools/sandbox/jobs/create-sandbox-jobs.d.ts.map +0 -1
- package/tools/sandbox/jobs/create-sandbox-jobs.js +0 -54
- package/tools/sandbox/jobs/create-sandbox-jobs.js.map +0 -1
- package/tools/sandbox/jobs/create-sandbox-jobs.mjs +0 -47
- package/tools/sandbox/jobs/create-sandbox-jobs.mjs.map +0 -1
- package/tools/sandbox/payment/create-sandbox-payment.d.mts +0 -51
- package/tools/sandbox/payment/create-sandbox-payment.d.mts.map +0 -1
- package/tools/sandbox/payment/create-sandbox-payment.d.ts +0 -51
- package/tools/sandbox/payment/create-sandbox-payment.d.ts.map +0 -1
- package/tools/sandbox/payment/create-sandbox-payment.js +0 -224
- package/tools/sandbox/payment/create-sandbox-payment.js.map +0 -1
- package/tools/sandbox/payment/create-sandbox-payment.mjs +0 -217
- package/tools/sandbox/payment/create-sandbox-payment.mjs.map +0 -1
- package/tools/types.d.mts.map +0 -1
- package/tools/types.d.ts.map +0 -1
- package/tools/types.js.map +0 -1
- package/tools/types.mjs.map +0 -1
- package/tools.d.mts +0 -2
- package/tools.d.mts.map +0 -1
- package/tools.d.ts +0 -2
- package/tools.d.ts.map +0 -1
- package/tools.js +0 -18
- package/tools.js.map +0 -1
- package/tools.mjs +0 -2
- package/tools.mjs.map +0 -1
- /package/{tools/types.js → types.js} +0 -0
- /package/{tools/types.mjs → types.mjs} +0 -0
package/src/tools/index.ts
DELETED
|
@@ -1,161 +0,0 @@
|
|
|
1
|
-
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
|
|
3
|
-
import { Metadata, Endpoint, HandlerFunction } from './types';
|
|
4
|
-
|
|
5
|
-
export { Metadata, Endpoint, HandlerFunction };
|
|
6
|
-
|
|
7
|
-
import create_access_tokens from './access-tokens/create-access-tokens';
|
|
8
|
-
import retrieve_hris_company from './hris/company/retrieve-hris-company';
|
|
9
|
-
import list_company_hris_pay_statement_item from './hris/company/pay-statement-item/list-company-hris-pay-statement-item';
|
|
10
|
-
import create_pay_statement_item_company_hris_rules from './hris/company/pay-statement-item/rules/create-pay-statement-item-company-hris-rules';
|
|
11
|
-
import update_pay_statement_item_company_hris_rules from './hris/company/pay-statement-item/rules/update-pay-statement-item-company-hris-rules';
|
|
12
|
-
import list_pay_statement_item_company_hris_rules from './hris/company/pay-statement-item/rules/list-pay-statement-item-company-hris-rules';
|
|
13
|
-
import delete_pay_statement_item_company_hris_rules from './hris/company/pay-statement-item/rules/delete-pay-statement-item-company-hris-rules';
|
|
14
|
-
import list_hris_directory from './hris/directory/list-hris-directory';
|
|
15
|
-
import retrieve_many_hris_individuals from './hris/individuals/retrieve-many-hris-individuals';
|
|
16
|
-
import retrieve_many_hris_employments from './hris/employments/retrieve-many-hris-employments';
|
|
17
|
-
import list_hris_payments from './hris/payments/list-hris-payments';
|
|
18
|
-
import retrieve_many_hris_pay_statements from './hris/pay-statements/retrieve-many-hris-pay-statements';
|
|
19
|
-
import list_hris_documents from './hris/documents/list-hris-documents';
|
|
20
|
-
import retreive_hris_documents from './hris/documents/retreive-hris-documents';
|
|
21
|
-
import create_hris_benefits from './hris/benefits/create-hris-benefits';
|
|
22
|
-
import retrieve_hris_benefits from './hris/benefits/retrieve-hris-benefits';
|
|
23
|
-
import update_hris_benefits from './hris/benefits/update-hris-benefits';
|
|
24
|
-
import list_hris_benefits from './hris/benefits/list-hris-benefits';
|
|
25
|
-
import list_supported_benefits_hris_benefits from './hris/benefits/list-supported-benefits-hris-benefits';
|
|
26
|
-
import enroll_many_benefits_hris_individuals from './hris/benefits/individuals/enroll-many-benefits-hris-individuals';
|
|
27
|
-
import enrolled_ids_benefits_hris_individuals from './hris/benefits/individuals/enrolled-ids-benefits-hris-individuals';
|
|
28
|
-
import retrieve_many_benefits_benefits_hris_individuals from './hris/benefits/individuals/retrieve-many-benefits-benefits-hris-individuals';
|
|
29
|
-
import unenroll_many_benefits_hris_individuals from './hris/benefits/individuals/unenroll-many-benefits-hris-individuals';
|
|
30
|
-
import list_providers from './providers/list-providers';
|
|
31
|
-
import disconnect_account from './account/disconnect-account';
|
|
32
|
-
import introspect_account from './account/introspect-account';
|
|
33
|
-
import forward_request_forwarding from './request-forwarding/forward-request-forwarding';
|
|
34
|
-
import create_jobs_automated from './jobs/automated/create-jobs-automated';
|
|
35
|
-
import retrieve_jobs_automated from './jobs/automated/retrieve-jobs-automated';
|
|
36
|
-
import list_jobs_automated from './jobs/automated/list-jobs-automated';
|
|
37
|
-
import retrieve_jobs_manual from './jobs/manual/retrieve-jobs-manual';
|
|
38
|
-
import create_sandbox_connections from './sandbox/connections/create-sandbox-connections';
|
|
39
|
-
import create_connections_sandbox_accounts from './sandbox/connections/accounts/create-connections-sandbox-accounts';
|
|
40
|
-
import update_connections_sandbox_accounts from './sandbox/connections/accounts/update-connections-sandbox-accounts';
|
|
41
|
-
import update_sandbox_company from './sandbox/company/update-sandbox-company';
|
|
42
|
-
import create_sandbox_directory from './sandbox/directory/create-sandbox-directory';
|
|
43
|
-
import update_sandbox_individual from './sandbox/individual/update-sandbox-individual';
|
|
44
|
-
import update_sandbox_employment from './sandbox/employment/update-sandbox-employment';
|
|
45
|
-
import create_sandbox_payment from './sandbox/payment/create-sandbox-payment';
|
|
46
|
-
import create_sandbox_jobs from './sandbox/jobs/create-sandbox-jobs';
|
|
47
|
-
import retrieve_jobs_sandbox_configuration from './sandbox/jobs/configuration/retrieve-jobs-sandbox-configuration';
|
|
48
|
-
import update_jobs_sandbox_configuration from './sandbox/jobs/configuration/update-jobs-sandbox-configuration';
|
|
49
|
-
import retrieve_payroll_pay_groups from './payroll/pay-groups/retrieve-payroll-pay-groups';
|
|
50
|
-
import list_payroll_pay_groups from './payroll/pay-groups/list-payroll-pay-groups';
|
|
51
|
-
import new_connect_sessions from './connect/sessions/new-connect-sessions';
|
|
52
|
-
import reauthenticate_connect_sessions from './connect/sessions/reauthenticate-connect-sessions';
|
|
53
|
-
|
|
54
|
-
export const endpoints: Endpoint[] = [];
|
|
55
|
-
|
|
56
|
-
function addEndpoint(endpoint: Endpoint) {
|
|
57
|
-
endpoints.push(endpoint);
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
addEndpoint(create_access_tokens);
|
|
61
|
-
addEndpoint(retrieve_hris_company);
|
|
62
|
-
addEndpoint(list_company_hris_pay_statement_item);
|
|
63
|
-
addEndpoint(create_pay_statement_item_company_hris_rules);
|
|
64
|
-
addEndpoint(update_pay_statement_item_company_hris_rules);
|
|
65
|
-
addEndpoint(list_pay_statement_item_company_hris_rules);
|
|
66
|
-
addEndpoint(delete_pay_statement_item_company_hris_rules);
|
|
67
|
-
addEndpoint(list_hris_directory);
|
|
68
|
-
addEndpoint(retrieve_many_hris_individuals);
|
|
69
|
-
addEndpoint(retrieve_many_hris_employments);
|
|
70
|
-
addEndpoint(list_hris_payments);
|
|
71
|
-
addEndpoint(retrieve_many_hris_pay_statements);
|
|
72
|
-
addEndpoint(list_hris_documents);
|
|
73
|
-
addEndpoint(retreive_hris_documents);
|
|
74
|
-
addEndpoint(create_hris_benefits);
|
|
75
|
-
addEndpoint(retrieve_hris_benefits);
|
|
76
|
-
addEndpoint(update_hris_benefits);
|
|
77
|
-
addEndpoint(list_hris_benefits);
|
|
78
|
-
addEndpoint(list_supported_benefits_hris_benefits);
|
|
79
|
-
addEndpoint(enroll_many_benefits_hris_individuals);
|
|
80
|
-
addEndpoint(enrolled_ids_benefits_hris_individuals);
|
|
81
|
-
addEndpoint(retrieve_many_benefits_benefits_hris_individuals);
|
|
82
|
-
addEndpoint(unenroll_many_benefits_hris_individuals);
|
|
83
|
-
addEndpoint(list_providers);
|
|
84
|
-
addEndpoint(disconnect_account);
|
|
85
|
-
addEndpoint(introspect_account);
|
|
86
|
-
addEndpoint(forward_request_forwarding);
|
|
87
|
-
addEndpoint(create_jobs_automated);
|
|
88
|
-
addEndpoint(retrieve_jobs_automated);
|
|
89
|
-
addEndpoint(list_jobs_automated);
|
|
90
|
-
addEndpoint(retrieve_jobs_manual);
|
|
91
|
-
addEndpoint(create_sandbox_connections);
|
|
92
|
-
addEndpoint(create_connections_sandbox_accounts);
|
|
93
|
-
addEndpoint(update_connections_sandbox_accounts);
|
|
94
|
-
addEndpoint(update_sandbox_company);
|
|
95
|
-
addEndpoint(create_sandbox_directory);
|
|
96
|
-
addEndpoint(update_sandbox_individual);
|
|
97
|
-
addEndpoint(update_sandbox_employment);
|
|
98
|
-
addEndpoint(create_sandbox_payment);
|
|
99
|
-
addEndpoint(create_sandbox_jobs);
|
|
100
|
-
addEndpoint(retrieve_jobs_sandbox_configuration);
|
|
101
|
-
addEndpoint(update_jobs_sandbox_configuration);
|
|
102
|
-
addEndpoint(retrieve_payroll_pay_groups);
|
|
103
|
-
addEndpoint(list_payroll_pay_groups);
|
|
104
|
-
addEndpoint(new_connect_sessions);
|
|
105
|
-
addEndpoint(reauthenticate_connect_sessions);
|
|
106
|
-
|
|
107
|
-
export type Filter = {
|
|
108
|
-
type: 'resource' | 'operation' | 'tag' | 'tool';
|
|
109
|
-
op: 'include' | 'exclude';
|
|
110
|
-
value: string;
|
|
111
|
-
};
|
|
112
|
-
|
|
113
|
-
export function query(filters: Filter[], endpoints: Endpoint[]): Endpoint[] {
|
|
114
|
-
const allExcludes = filters.length > 0 && filters.every((filter) => filter.op === 'exclude');
|
|
115
|
-
const unmatchedFilters = new Set(filters);
|
|
116
|
-
|
|
117
|
-
const filtered = endpoints.filter((endpoint: Endpoint) => {
|
|
118
|
-
let included = false || allExcludes;
|
|
119
|
-
|
|
120
|
-
for (const filter of filters) {
|
|
121
|
-
if (match(filter, endpoint)) {
|
|
122
|
-
unmatchedFilters.delete(filter);
|
|
123
|
-
included = filter.op === 'include';
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
return included;
|
|
128
|
-
});
|
|
129
|
-
|
|
130
|
-
// Check if any filters didn't match
|
|
131
|
-
const unmatched = Array.from(unmatchedFilters).filter((f) => f.type === 'tool' || f.type === 'resource');
|
|
132
|
-
if (unmatched.length > 0) {
|
|
133
|
-
throw new Error(
|
|
134
|
-
`The following filters did not match any endpoints: ${unmatched
|
|
135
|
-
.map((f) => `${f.type}=${f.value}`)
|
|
136
|
-
.join(', ')}`,
|
|
137
|
-
);
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
return filtered;
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
function match({ type, value }: Filter, endpoint: Endpoint): boolean {
|
|
144
|
-
switch (type) {
|
|
145
|
-
case 'resource': {
|
|
146
|
-
const regexStr = '^' + normalizeResource(value).replace(/\*/g, '.*') + '$';
|
|
147
|
-
const regex = new RegExp(regexStr);
|
|
148
|
-
return regex.test(normalizeResource(endpoint.metadata.resource));
|
|
149
|
-
}
|
|
150
|
-
case 'operation':
|
|
151
|
-
return endpoint.metadata.operation === value;
|
|
152
|
-
case 'tag':
|
|
153
|
-
return endpoint.metadata.tags.includes(value);
|
|
154
|
-
case 'tool':
|
|
155
|
-
return endpoint.tool.name === value;
|
|
156
|
-
}
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
function normalizeResource(resource: string): string {
|
|
160
|
-
return resource.toLowerCase().replace(/[^a-z.*\-_]*/g, '');
|
|
161
|
-
}
|
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
|
|
3
|
-
import { isJqError, maybeFilter } from '@tryfinch/finch-api-mcp/filtering';
|
|
4
|
-
import { Metadata, asErrorResult, asTextContentResult } from '@tryfinch/finch-api-mcp/tools/types';
|
|
5
|
-
|
|
6
|
-
import { Tool } from '@modelcontextprotocol/sdk/types.js';
|
|
7
|
-
import Finch from '@tryfinch/finch-api';
|
|
8
|
-
|
|
9
|
-
export const metadata: Metadata = {
|
|
10
|
-
resource: 'jobs.automated',
|
|
11
|
-
operation: 'write',
|
|
12
|
-
tags: [],
|
|
13
|
-
httpMethod: 'post',
|
|
14
|
-
httpPath: '/jobs/automated',
|
|
15
|
-
operationId: 'post-jobs-automated',
|
|
16
|
-
};
|
|
17
|
-
|
|
18
|
-
export const tool: Tool = {
|
|
19
|
-
name: 'create_jobs_automated',
|
|
20
|
-
description:
|
|
21
|
-
"When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance.\n\nOnly omit if you're sure you don't need the data.\n\nEnqueue an automated job.\n\n`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.\n\n`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.\n\nThis endpoint is available for *Scale* tier customers as an add-on. To request access to this endpoint, please contact your Finch account manager.\n\n# Response Schema\n```json\n{\n $ref: '#/$defs/automated_create_response',\n $defs: {\n automated_create_response: {\n type: 'object',\n properties: {\n allowed_refreshes: {\n type: 'integer',\n description: 'The number of allowed refreshes per hour (per hour, fixed window)'\n },\n remaining_refreshes: {\n type: 'integer',\n description: 'The number of remaining refreshes available (per hour, fixed window)'\n },\n job_id: {\n type: 'string',\n description: 'The id of the job that has been created.'\n },\n job_url: {\n type: 'string',\n description: 'The url that can be used to retrieve the job status'\n },\n retry_at: {\n type: 'string',\n description: 'ISO 8601 timestamp indicating when to retry the request'\n }\n },\n required: [ 'allowed_refreshes',\n 'remaining_refreshes'\n ]\n }\n }\n}\n```",
|
|
22
|
-
inputSchema: {
|
|
23
|
-
type: 'object',
|
|
24
|
-
anyOf: [
|
|
25
|
-
{
|
|
26
|
-
type: 'object',
|
|
27
|
-
properties: {
|
|
28
|
-
type: {
|
|
29
|
-
type: 'string',
|
|
30
|
-
description: 'The type of job to start.',
|
|
31
|
-
enum: ['data_sync_all'],
|
|
32
|
-
},
|
|
33
|
-
},
|
|
34
|
-
required: ['type'],
|
|
35
|
-
},
|
|
36
|
-
{
|
|
37
|
-
type: 'object',
|
|
38
|
-
properties: {
|
|
39
|
-
params: {
|
|
40
|
-
type: 'object',
|
|
41
|
-
properties: {
|
|
42
|
-
individual_id: {
|
|
43
|
-
type: 'string',
|
|
44
|
-
description: 'The unique ID of the individual for W-4 data sync.',
|
|
45
|
-
},
|
|
46
|
-
},
|
|
47
|
-
required: ['individual_id'],
|
|
48
|
-
},
|
|
49
|
-
type: {
|
|
50
|
-
type: 'string',
|
|
51
|
-
description: 'The type of job to start.',
|
|
52
|
-
enum: ['w4_form_employee_sync'],
|
|
53
|
-
},
|
|
54
|
-
},
|
|
55
|
-
required: ['params', 'type'],
|
|
56
|
-
},
|
|
57
|
-
],
|
|
58
|
-
properties: {
|
|
59
|
-
jq_filter: {
|
|
60
|
-
type: 'string',
|
|
61
|
-
title: 'jq Filter',
|
|
62
|
-
description:
|
|
63
|
-
'A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide ".results[].name".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).',
|
|
64
|
-
},
|
|
65
|
-
},
|
|
66
|
-
},
|
|
67
|
-
annotations: {},
|
|
68
|
-
};
|
|
69
|
-
|
|
70
|
-
export const handler = async (client: Finch, args: Record<string, unknown> | undefined) => {
|
|
71
|
-
const { jq_filter, ...body } = args as any;
|
|
72
|
-
try {
|
|
73
|
-
return asTextContentResult(await maybeFilter(jq_filter, await client.jobs.automated.create(body)));
|
|
74
|
-
} catch (error) {
|
|
75
|
-
if (error instanceof Finch.APIError || isJqError(error)) {
|
|
76
|
-
return asErrorResult(error.message);
|
|
77
|
-
}
|
|
78
|
-
throw error;
|
|
79
|
-
}
|
|
80
|
-
};
|
|
81
|
-
|
|
82
|
-
export default { metadata, tool, handler };
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
|
|
3
|
-
import { isJqError, maybeFilter } from '@tryfinch/finch-api-mcp/filtering';
|
|
4
|
-
import { Metadata, asErrorResult, asTextContentResult } from '@tryfinch/finch-api-mcp/tools/types';
|
|
5
|
-
|
|
6
|
-
import { Tool } from '@modelcontextprotocol/sdk/types.js';
|
|
7
|
-
import Finch from '@tryfinch/finch-api';
|
|
8
|
-
|
|
9
|
-
export const metadata: Metadata = {
|
|
10
|
-
resource: 'jobs.automated',
|
|
11
|
-
operation: 'read',
|
|
12
|
-
tags: [],
|
|
13
|
-
httpMethod: 'get',
|
|
14
|
-
httpPath: '/jobs/automated',
|
|
15
|
-
operationId: 'get-jobs-automated',
|
|
16
|
-
};
|
|
17
|
-
|
|
18
|
-
export const tool: Tool = {
|
|
19
|
-
name: 'list_jobs_automated',
|
|
20
|
-
description:
|
|
21
|
-
"When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance.\n\nOnly omit if you're sure you don't need the data.\n\nGet 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.\n\n# Response Schema\n```json\n{\n $ref: '#/$defs/automated_list_response',\n $defs: {\n automated_list_response: {\n type: 'object',\n properties: {\n data: {\n type: 'array',\n items: {\n $ref: '#/$defs/automated_async_job'\n }\n },\n meta: {\n type: 'object',\n properties: {\n quotas: {\n type: 'object',\n description: 'Information about remaining quotas for this connection. Only applicable for customers opted in to use Finch\\'s Data Sync Refresh endpoint (`POST /jobs/automated`). Please contact a Finch representative for more details.',\n properties: {\n data_sync_all: {\n type: 'object',\n properties: {\n allowed_refreshes: {\n type: 'integer'\n },\n remaining_refreshes: {\n type: 'integer'\n }\n }\n }\n }\n }\n }\n }\n },\n required: [ 'data',\n 'meta'\n ]\n },\n automated_async_job: {\n type: 'object',\n title: 'AutomatedAsyncJob',\n properties: {\n completed_at: {\n type: 'string',\n description: 'The datetime the job completed.',\n format: 'date-time'\n },\n created_at: {\n type: 'string',\n description: 'The datetime when the job was created. for scheduled jobs, this will be the initial connection time. For ad-hoc jobs, this will be the time the creation request was received.',\n format: 'date-time'\n },\n job_id: {\n type: 'string',\n description: 'The id of the job that has been created.'\n },\n job_url: {\n type: 'string',\n description: 'The url that can be used to retrieve the job status'\n },\n params: {\n type: 'object',\n description: 'The input parameters for the job.',\n properties: {\n individual_id: {\n type: 'string',\n description: 'The ID of the individual that the job was completed for.'\n }\n }\n },\n scheduled_at: {\n type: 'string',\n description: 'The datetime a job is scheduled to be run. For scheduled jobs, this datetime can be in the future if the job has not yet been enqueued. For ad-hoc jobs, this field will be null.',\n format: 'date-time'\n },\n started_at: {\n type: 'string',\n description: 'The datetime a job entered into the job queue.',\n format: 'date-time'\n },\n status: {\n type: 'string',\n enum: [ 'pending',\n 'in_progress',\n 'complete',\n 'error',\n 'reauth_error',\n 'permissions_error'\n ]\n },\n type: {\n type: 'string',\n description: 'The type of automated job',\n enum: [ 'data_sync_all',\n 'w4_form_employee_sync'\n ]\n }\n },\n required: [ 'completed_at',\n 'created_at',\n 'job_id',\n 'job_url',\n 'params',\n 'scheduled_at',\n 'started_at',\n 'status',\n 'type'\n ]\n }\n }\n}\n```",
|
|
22
|
-
inputSchema: {
|
|
23
|
-
type: 'object',
|
|
24
|
-
properties: {
|
|
25
|
-
limit: {
|
|
26
|
-
type: 'integer',
|
|
27
|
-
description: 'Number of items to return',
|
|
28
|
-
},
|
|
29
|
-
offset: {
|
|
30
|
-
type: 'integer',
|
|
31
|
-
description: 'Index to start from (defaults to 0)',
|
|
32
|
-
},
|
|
33
|
-
jq_filter: {
|
|
34
|
-
type: 'string',
|
|
35
|
-
title: 'jq Filter',
|
|
36
|
-
description:
|
|
37
|
-
'A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide ".results[].name".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).',
|
|
38
|
-
},
|
|
39
|
-
},
|
|
40
|
-
required: [],
|
|
41
|
-
},
|
|
42
|
-
annotations: {
|
|
43
|
-
readOnlyHint: true,
|
|
44
|
-
},
|
|
45
|
-
};
|
|
46
|
-
|
|
47
|
-
export const handler = async (client: Finch, args: Record<string, unknown> | undefined) => {
|
|
48
|
-
const { jq_filter, ...body } = args as any;
|
|
49
|
-
try {
|
|
50
|
-
return asTextContentResult(await maybeFilter(jq_filter, await client.jobs.automated.list(body)));
|
|
51
|
-
} catch (error) {
|
|
52
|
-
if (error instanceof Finch.APIError || isJqError(error)) {
|
|
53
|
-
return asErrorResult(error.message);
|
|
54
|
-
}
|
|
55
|
-
throw error;
|
|
56
|
-
}
|
|
57
|
-
};
|
|
58
|
-
|
|
59
|
-
export default { metadata, tool, handler };
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
|
|
3
|
-
import { isJqError, maybeFilter } from '@tryfinch/finch-api-mcp/filtering';
|
|
4
|
-
import { Metadata, asErrorResult, asTextContentResult } from '@tryfinch/finch-api-mcp/tools/types';
|
|
5
|
-
|
|
6
|
-
import { Tool } from '@modelcontextprotocol/sdk/types.js';
|
|
7
|
-
import Finch from '@tryfinch/finch-api';
|
|
8
|
-
|
|
9
|
-
export const metadata: Metadata = {
|
|
10
|
-
resource: 'jobs.automated',
|
|
11
|
-
operation: 'read',
|
|
12
|
-
tags: [],
|
|
13
|
-
httpMethod: 'get',
|
|
14
|
-
httpPath: '/jobs/automated/{job_id}',
|
|
15
|
-
operationId: 'get-jobs-job_id',
|
|
16
|
-
};
|
|
17
|
-
|
|
18
|
-
export const tool: Tool = {
|
|
19
|
-
name: 'retrieve_jobs_automated',
|
|
20
|
-
description:
|
|
21
|
-
"When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance.\n\nOnly omit if you're sure you don't need the data.\n\nGet an automated job by `job_id`.\n\n# Response Schema\n```json\n{\n $ref: '#/$defs/automated_async_job',\n $defs: {\n automated_async_job: {\n type: 'object',\n title: 'AutomatedAsyncJob',\n properties: {\n completed_at: {\n type: 'string',\n description: 'The datetime the job completed.',\n format: 'date-time'\n },\n created_at: {\n type: 'string',\n description: 'The datetime when the job was created. for scheduled jobs, this will be the initial connection time. For ad-hoc jobs, this will be the time the creation request was received.',\n format: 'date-time'\n },\n job_id: {\n type: 'string',\n description: 'The id of the job that has been created.'\n },\n job_url: {\n type: 'string',\n description: 'The url that can be used to retrieve the job status'\n },\n params: {\n type: 'object',\n description: 'The input parameters for the job.',\n properties: {\n individual_id: {\n type: 'string',\n description: 'The ID of the individual that the job was completed for.'\n }\n }\n },\n scheduled_at: {\n type: 'string',\n description: 'The datetime a job is scheduled to be run. For scheduled jobs, this datetime can be in the future if the job has not yet been enqueued. For ad-hoc jobs, this field will be null.',\n format: 'date-time'\n },\n started_at: {\n type: 'string',\n description: 'The datetime a job entered into the job queue.',\n format: 'date-time'\n },\n status: {\n type: 'string',\n enum: [ 'pending',\n 'in_progress',\n 'complete',\n 'error',\n 'reauth_error',\n 'permissions_error'\n ]\n },\n type: {\n type: 'string',\n description: 'The type of automated job',\n enum: [ 'data_sync_all',\n 'w4_form_employee_sync'\n ]\n }\n },\n required: [ 'completed_at',\n 'created_at',\n 'job_id',\n 'job_url',\n 'params',\n 'scheduled_at',\n 'started_at',\n 'status',\n 'type'\n ]\n }\n }\n}\n```",
|
|
22
|
-
inputSchema: {
|
|
23
|
-
type: 'object',
|
|
24
|
-
properties: {
|
|
25
|
-
job_id: {
|
|
26
|
-
type: 'string',
|
|
27
|
-
},
|
|
28
|
-
jq_filter: {
|
|
29
|
-
type: 'string',
|
|
30
|
-
title: 'jq Filter',
|
|
31
|
-
description:
|
|
32
|
-
'A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide ".results[].name".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).',
|
|
33
|
-
},
|
|
34
|
-
},
|
|
35
|
-
required: ['job_id'],
|
|
36
|
-
},
|
|
37
|
-
annotations: {
|
|
38
|
-
readOnlyHint: true,
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
|
|
42
|
-
export const handler = async (client: Finch, args: Record<string, unknown> | undefined) => {
|
|
43
|
-
const { job_id, jq_filter, ...body } = args as any;
|
|
44
|
-
try {
|
|
45
|
-
return asTextContentResult(await maybeFilter(jq_filter, await client.jobs.automated.retrieve(job_id)));
|
|
46
|
-
} catch (error) {
|
|
47
|
-
if (error instanceof Finch.APIError || isJqError(error)) {
|
|
48
|
-
return asErrorResult(error.message);
|
|
49
|
-
}
|
|
50
|
-
throw error;
|
|
51
|
-
}
|
|
52
|
-
};
|
|
53
|
-
|
|
54
|
-
export default { metadata, tool, handler };
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
|
|
3
|
-
import { isJqError, maybeFilter } from '@tryfinch/finch-api-mcp/filtering';
|
|
4
|
-
import { Metadata, asErrorResult, asTextContentResult } from '@tryfinch/finch-api-mcp/tools/types';
|
|
5
|
-
|
|
6
|
-
import { Tool } from '@modelcontextprotocol/sdk/types.js';
|
|
7
|
-
import Finch from '@tryfinch/finch-api';
|
|
8
|
-
|
|
9
|
-
export const metadata: Metadata = {
|
|
10
|
-
resource: 'jobs.manual',
|
|
11
|
-
operation: 'read',
|
|
12
|
-
tags: [],
|
|
13
|
-
httpMethod: 'get',
|
|
14
|
-
httpPath: '/jobs/manual/{job_id}',
|
|
15
|
-
operationId: 'get-jobs-manual-job_id',
|
|
16
|
-
};
|
|
17
|
-
|
|
18
|
-
export const tool: Tool = {
|
|
19
|
-
name: 'retrieve_jobs_manual',
|
|
20
|
-
description:
|
|
21
|
-
"When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance.\n\nOnly omit if you're sure you don't need the data.\n\nGet a manual job by `job_id`. Manual jobs are completed by a human and include Assisted Benefits jobs.\n\n# Response Schema\n```json\n{\n $ref: '#/$defs/manual_async_job',\n $defs: {\n manual_async_job: {\n type: 'object',\n title: 'ManualAsyncJob',\n properties: {\n body: {\n type: 'array',\n description: 'Specific information about the job, such as individual statuses for batch jobs.',\n items: {\n type: 'object',\n additionalProperties: true\n }\n },\n job_id: {\n type: 'string'\n },\n status: {\n type: 'string',\n enum: [ 'pending',\n 'in_progress',\n 'error',\n 'complete'\n ]\n }\n },\n required: [ 'body',\n 'job_id',\n 'status'\n ]\n }\n }\n}\n```",
|
|
22
|
-
inputSchema: {
|
|
23
|
-
type: 'object',
|
|
24
|
-
properties: {
|
|
25
|
-
job_id: {
|
|
26
|
-
type: 'string',
|
|
27
|
-
},
|
|
28
|
-
jq_filter: {
|
|
29
|
-
type: 'string',
|
|
30
|
-
title: 'jq Filter',
|
|
31
|
-
description:
|
|
32
|
-
'A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide ".results[].name".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).',
|
|
33
|
-
},
|
|
34
|
-
},
|
|
35
|
-
required: ['job_id'],
|
|
36
|
-
},
|
|
37
|
-
annotations: {
|
|
38
|
-
readOnlyHint: true,
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
|
|
42
|
-
export const handler = async (client: Finch, args: Record<string, unknown> | undefined) => {
|
|
43
|
-
const { job_id, jq_filter, ...body } = args as any;
|
|
44
|
-
try {
|
|
45
|
-
return asTextContentResult(await maybeFilter(jq_filter, await client.jobs.manual.retrieve(job_id)));
|
|
46
|
-
} catch (error) {
|
|
47
|
-
if (error instanceof Finch.APIError || isJqError(error)) {
|
|
48
|
-
return asErrorResult(error.message);
|
|
49
|
-
}
|
|
50
|
-
throw error;
|
|
51
|
-
}
|
|
52
|
-
};
|
|
53
|
-
|
|
54
|
-
export default { metadata, tool, handler };
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
|
|
3
|
-
import { isJqError, maybeFilter } from '@tryfinch/finch-api-mcp/filtering';
|
|
4
|
-
import { Metadata, asErrorResult, asTextContentResult } from '@tryfinch/finch-api-mcp/tools/types';
|
|
5
|
-
|
|
6
|
-
import { Tool } from '@modelcontextprotocol/sdk/types.js';
|
|
7
|
-
import Finch from '@tryfinch/finch-api';
|
|
8
|
-
|
|
9
|
-
export const metadata: Metadata = {
|
|
10
|
-
resource: 'payroll.pay_groups',
|
|
11
|
-
operation: 'read',
|
|
12
|
-
tags: [],
|
|
13
|
-
httpMethod: 'get',
|
|
14
|
-
httpPath: '/employer/pay-groups',
|
|
15
|
-
operationId: 'get-all-pay-groups',
|
|
16
|
-
};
|
|
17
|
-
|
|
18
|
-
export const tool: Tool = {
|
|
19
|
-
name: 'list_payroll_pay_groups',
|
|
20
|
-
description:
|
|
21
|
-
"When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance.\n\nOnly omit if you're sure you don't need the data.\n\nRead company pay groups and frequencies\n\n# Response Schema\n```json\n{\n type: 'array',\n items: {\n $ref: '#/$defs/pay_group_list_response'\n },\n $defs: {\n pay_group_list_response: {\n type: 'object',\n properties: {\n id: {\n type: 'string',\n description: 'Finch id (uuidv4) for the pay group'\n },\n name: {\n type: 'string',\n description: 'Name of the pay group'\n },\n pay_frequencies: {\n type: 'array',\n description: 'List of pay frequencies associated with this pay group',\n items: {\n type: 'string',\n enum: [ 'annually',\n 'bi_weekly',\n 'daily',\n 'monthly',\n 'other',\n 'quarterly',\n 'semi_annually',\n 'semi_monthly',\n 'weekly'\n ]\n }\n }\n },\n required: [ 'id',\n 'name',\n 'pay_frequencies'\n ]\n }\n }\n}\n```",
|
|
22
|
-
inputSchema: {
|
|
23
|
-
type: 'object',
|
|
24
|
-
properties: {
|
|
25
|
-
entity_ids: {
|
|
26
|
-
type: 'array',
|
|
27
|
-
description: "The entity IDs to specify which entities' data to access.",
|
|
28
|
-
items: {
|
|
29
|
-
type: 'string',
|
|
30
|
-
},
|
|
31
|
-
},
|
|
32
|
-
individual_id: {
|
|
33
|
-
type: 'string',
|
|
34
|
-
},
|
|
35
|
-
pay_frequencies: {
|
|
36
|
-
type: 'array',
|
|
37
|
-
items: {
|
|
38
|
-
type: 'string',
|
|
39
|
-
},
|
|
40
|
-
},
|
|
41
|
-
jq_filter: {
|
|
42
|
-
type: 'string',
|
|
43
|
-
title: 'jq Filter',
|
|
44
|
-
description:
|
|
45
|
-
'A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide ".results[].name".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).',
|
|
46
|
-
},
|
|
47
|
-
},
|
|
48
|
-
required: [],
|
|
49
|
-
},
|
|
50
|
-
annotations: {
|
|
51
|
-
readOnlyHint: true,
|
|
52
|
-
},
|
|
53
|
-
};
|
|
54
|
-
|
|
55
|
-
export const handler = async (client: Finch, args: Record<string, unknown> | undefined) => {
|
|
56
|
-
const { jq_filter, ...body } = args as any;
|
|
57
|
-
const response = await client.payroll.payGroups.list(body).asResponse();
|
|
58
|
-
try {
|
|
59
|
-
return asTextContentResult(await maybeFilter(jq_filter, await response.json()));
|
|
60
|
-
} catch (error) {
|
|
61
|
-
if (error instanceof Finch.APIError || isJqError(error)) {
|
|
62
|
-
return asErrorResult(error.message);
|
|
63
|
-
}
|
|
64
|
-
throw error;
|
|
65
|
-
}
|
|
66
|
-
};
|
|
67
|
-
|
|
68
|
-
export default { metadata, tool, handler };
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
|
|
3
|
-
import { isJqError, maybeFilter } from '@tryfinch/finch-api-mcp/filtering';
|
|
4
|
-
import { Metadata, asErrorResult, asTextContentResult } from '@tryfinch/finch-api-mcp/tools/types';
|
|
5
|
-
|
|
6
|
-
import { Tool } from '@modelcontextprotocol/sdk/types.js';
|
|
7
|
-
import Finch from '@tryfinch/finch-api';
|
|
8
|
-
|
|
9
|
-
export const metadata: Metadata = {
|
|
10
|
-
resource: 'payroll.pay_groups',
|
|
11
|
-
operation: 'read',
|
|
12
|
-
tags: [],
|
|
13
|
-
httpMethod: 'get',
|
|
14
|
-
httpPath: '/employer/pay-groups/{pay_group_id}',
|
|
15
|
-
operationId: 'get-pay-group',
|
|
16
|
-
};
|
|
17
|
-
|
|
18
|
-
export const tool: Tool = {
|
|
19
|
-
name: 'retrieve_payroll_pay_groups',
|
|
20
|
-
description:
|
|
21
|
-
"When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance.\n\nOnly omit if you're sure you don't need the data.\n\nRead information from a single pay group\n\n# Response Schema\n```json\n{\n $ref: '#/$defs/pay_group_retrieve_response',\n $defs: {\n pay_group_retrieve_response: {\n type: 'object',\n properties: {\n id: {\n type: 'string',\n description: 'Finch id (uuidv4) for the pay group'\n },\n individual_ids: {\n type: 'array',\n items: {\n type: 'string',\n description: 'Finch id (uuidv4) for an individual assigned to this pay group'\n }\n },\n name: {\n type: 'string',\n description: 'Name of the pay group'\n },\n pay_frequencies: {\n type: 'array',\n description: 'List of pay frequencies associated with this pay group',\n items: {\n type: 'string',\n enum: [ 'annually',\n 'bi_weekly',\n 'daily',\n 'monthly',\n 'other',\n 'quarterly',\n 'semi_annually',\n 'semi_monthly',\n 'weekly'\n ]\n }\n }\n },\n required: [ 'id',\n 'individual_ids',\n 'name',\n 'pay_frequencies'\n ]\n }\n }\n}\n```",
|
|
22
|
-
inputSchema: {
|
|
23
|
-
type: 'object',
|
|
24
|
-
properties: {
|
|
25
|
-
pay_group_id: {
|
|
26
|
-
type: 'string',
|
|
27
|
-
},
|
|
28
|
-
entity_ids: {
|
|
29
|
-
type: 'array',
|
|
30
|
-
description: "The entity IDs to specify which entities' data to access.",
|
|
31
|
-
items: {
|
|
32
|
-
type: 'string',
|
|
33
|
-
},
|
|
34
|
-
},
|
|
35
|
-
jq_filter: {
|
|
36
|
-
type: 'string',
|
|
37
|
-
title: 'jq Filter',
|
|
38
|
-
description:
|
|
39
|
-
'A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide ".results[].name".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).',
|
|
40
|
-
},
|
|
41
|
-
},
|
|
42
|
-
required: ['pay_group_id'],
|
|
43
|
-
},
|
|
44
|
-
annotations: {
|
|
45
|
-
readOnlyHint: true,
|
|
46
|
-
},
|
|
47
|
-
};
|
|
48
|
-
|
|
49
|
-
export const handler = async (client: Finch, args: Record<string, unknown> | undefined) => {
|
|
50
|
-
const { pay_group_id, jq_filter, ...body } = args as any;
|
|
51
|
-
try {
|
|
52
|
-
return asTextContentResult(
|
|
53
|
-
await maybeFilter(jq_filter, await client.payroll.payGroups.retrieve(pay_group_id, body)),
|
|
54
|
-
);
|
|
55
|
-
} catch (error) {
|
|
56
|
-
if (error instanceof Finch.APIError || isJqError(error)) {
|
|
57
|
-
return asErrorResult(error.message);
|
|
58
|
-
}
|
|
59
|
-
throw error;
|
|
60
|
-
}
|
|
61
|
-
};
|
|
62
|
-
|
|
63
|
-
export default { metadata, tool, handler };
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
|
|
3
|
-
import { isJqError, maybeFilter } from '@tryfinch/finch-api-mcp/filtering';
|
|
4
|
-
import { Metadata, asErrorResult, asTextContentResult } from '@tryfinch/finch-api-mcp/tools/types';
|
|
5
|
-
|
|
6
|
-
import { Tool } from '@modelcontextprotocol/sdk/types.js';
|
|
7
|
-
import Finch from '@tryfinch/finch-api';
|
|
8
|
-
|
|
9
|
-
export const metadata: Metadata = {
|
|
10
|
-
resource: 'providers',
|
|
11
|
-
operation: 'read',
|
|
12
|
-
tags: [],
|
|
13
|
-
httpMethod: 'get',
|
|
14
|
-
httpPath: '/providers',
|
|
15
|
-
operationId: 'get-providers',
|
|
16
|
-
};
|
|
17
|
-
|
|
18
|
-
export const tool: Tool = {
|
|
19
|
-
name: 'list_providers',
|
|
20
|
-
description:
|
|
21
|
-
"When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance.\n\nOnly omit if you're sure you don't need the data.\n\nReturn details on all available payroll and HR systems.\n\n# Response Schema\n```json\n{\n type: 'array',\n items: {\n $ref: '#/$defs/provider_list_response'\n },\n $defs: {\n provider_list_response: {\n type: 'object',\n properties: {\n id: {\n type: 'string',\n description: 'The id of the payroll provider used in Connect.'\n },\n display_name: {\n type: 'string',\n description: 'The display name of the payroll provider.'\n },\n products: {\n type: 'array',\n description: 'The list of Finch products supported on this payroll provider.',\n items: {\n type: 'string'\n }\n },\n authentication_methods: {\n type: 'array',\n description: 'The authentication methods supported by the provider.',\n items: {\n type: 'object',\n properties: {\n type: {\n type: 'string',\n description: 'The type of authentication method',\n enum: [ 'assisted',\n 'credential',\n 'api_token',\n 'api_credential',\n 'oauth',\n 'api'\n ]\n },\n benefits_support: {\n type: 'object',\n description: 'The supported benefit types and their configurations',\n additionalProperties: true\n },\n supported_fields: {\n type: 'object',\n description: 'The supported fields for each Finch product',\n additionalProperties: true\n }\n },\n required: [ 'type'\n ]\n }\n },\n beta: {\n type: 'boolean',\n description: '`true` if the integration is in a beta state, `false` otherwise'\n },\n icon: {\n type: 'string',\n description: 'The url to the official icon of the payroll provider.'\n },\n logo: {\n type: 'string',\n description: 'The url to the official logo of the payroll provider.'\n },\n manual: {\n type: 'boolean',\n description: '[DEPRECATED] Whether the Finch integration with this provider uses the Assisted Connect Flow by default. This field is now deprecated. Please check for a `type` of `assisted` in the `authentication_methods` field instead.'\n },\n mfa_required: {\n type: 'boolean',\n description: 'whether MFA is required for the provider.'\n },\n primary_color: {\n type: 'string',\n description: 'The hex code for the primary color of the payroll provider.'\n }\n },\n required: [ 'id',\n 'display_name',\n 'products'\n ]\n }\n }\n}\n```",
|
|
22
|
-
inputSchema: {
|
|
23
|
-
type: 'object',
|
|
24
|
-
properties: {
|
|
25
|
-
jq_filter: {
|
|
26
|
-
type: 'string',
|
|
27
|
-
title: 'jq Filter',
|
|
28
|
-
description:
|
|
29
|
-
'A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide ".results[].name".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).',
|
|
30
|
-
},
|
|
31
|
-
},
|
|
32
|
-
required: [],
|
|
33
|
-
},
|
|
34
|
-
annotations: {
|
|
35
|
-
readOnlyHint: true,
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
|
|
39
|
-
export const handler = async (client: Finch, args: Record<string, unknown> | undefined) => {
|
|
40
|
-
const { jq_filter } = args as any;
|
|
41
|
-
const response = await client.providers.list().asResponse();
|
|
42
|
-
try {
|
|
43
|
-
return asTextContentResult(await maybeFilter(jq_filter, await response.json()));
|
|
44
|
-
} catch (error) {
|
|
45
|
-
if (error instanceof Finch.APIError || isJqError(error)) {
|
|
46
|
-
return asErrorResult(error.message);
|
|
47
|
-
}
|
|
48
|
-
throw error;
|
|
49
|
-
}
|
|
50
|
-
};
|
|
51
|
-
|
|
52
|
-
export default { metadata, tool, handler };
|