@tryfinch/finch-api-mcp 6.31.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 +46 -259
- package/code-tool-types.d.mts +16 -0
- package/code-tool-types.d.mts.map +1 -0
- package/code-tool-types.d.ts +16 -0
- package/code-tool-types.d.ts.map +1 -0
- package/code-tool-types.js +4 -0
- package/code-tool-types.js.map +1 -0
- package/code-tool-types.mjs +3 -0
- package/code-tool-types.mjs.map +1 -0
- package/code-tool.d.mts +12 -0
- package/code-tool.d.mts.map +1 -0
- package/code-tool.d.ts +12 -0
- package/code-tool.d.ts.map +1 -0
- package/code-tool.js +55 -0
- package/code-tool.js.map +1 -0
- package/code-tool.mjs +52 -0
- package/code-tool.mjs.map +1 -0
- package/docs-search-tool.d.mts +50 -0
- package/docs-search-tool.d.mts.map +1 -0
- package/docs-search-tool.d.ts +50 -0
- package/docs-search-tool.d.ts.map +1 -0
- package/docs-search-tool.js +51 -0
- package/docs-search-tool.js.map +1 -0
- package/docs-search-tool.mjs +47 -0
- package/docs-search-tool.mjs.map +1 -0
- package/headers.d.mts +4 -0
- package/headers.d.mts.map +1 -0
- package/headers.d.ts +4 -0
- package/headers.d.ts.map +1 -0
- package/headers.js +31 -0
- package/headers.js.map +1 -0
- package/headers.mjs +27 -0
- package/headers.mjs.map +1 -0
- package/http.d.mts +9 -0
- package/http.d.mts.map +1 -0
- package/http.d.ts +9 -0
- package/http.d.ts.map +1 -0
- package/http.js +91 -0
- package/http.js.map +1 -0
- package/http.mjs +83 -0
- package/http.mjs.map +1 -0
- package/index.d.mts +1 -0
- package/index.d.ts +1 -0
- package/index.js +14 -45
- package/index.js.map +1 -1
- package/index.mjs +17 -47
- package/index.mjs.map +1 -1
- package/options.d.mts +10 -10
- package/options.d.mts.map +1 -1
- package/options.d.ts +10 -10
- package/options.d.ts.map +1 -1
- package/options.js +42 -307
- package/options.js.map +1 -1
- package/options.mjs +40 -306
- package/options.mjs.map +1 -1
- package/package.json +121 -12
- package/server.d.mts +11 -19
- package/server.d.mts.map +1 -1
- package/server.d.ts +11 -19
- package/server.d.ts.map +1 -1
- package/server.js +67 -49
- package/server.js.map +1 -1
- package/server.mjs +65 -47
- package/server.mjs.map +1 -1
- package/src/code-tool-types.ts +18 -0
- package/src/code-tool.ts +65 -0
- package/src/docs-search-tool.ts +59 -0
- package/src/headers.ts +35 -0
- package/src/http.ts +109 -0
- package/src/index.ts +21 -62
- package/src/options.ts +57 -326
- package/src/server.ts +85 -65
- package/src/stdio.ts +12 -0
- package/src/types.ts +115 -0
- package/stdio.d.mts +2 -0
- package/stdio.d.mts.map +1 -0
- package/stdio.d.ts +2 -0
- package/stdio.d.ts.map +1 -0
- package/stdio.js +14 -0
- package/stdio.js.map +1 -0
- package/stdio.mjs +10 -0
- package/stdio.mjs.map +1 -0
- package/types.d.mts +52 -0
- package/types.d.mts.map +1 -0
- package/types.d.ts +52 -0
- package/types.d.ts.map +1 -0
- package/types.js +58 -0
- package/types.js.map +1 -0
- package/types.mjs +53 -0
- package/types.mjs.map +1 -0
- package/compat.d.mts +0 -52
- package/compat.d.mts.map +0 -1
- package/compat.d.ts +0 -52
- package/compat.d.ts.map +0 -1
- package/compat.js +0 -342
- package/compat.js.map +0 -1
- package/compat.mjs +0 -332
- 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 -133
- package/dynamic-tools.js.map +0 -1
- package/dynamic-tools.mjs +0 -130
- package/dynamic-tools.mjs.map +0 -1
- package/src/compat.ts +0 -429
- package/src/dynamic-tools.ts +0 -152
- package/src/tools/access-tokens/create-access-tokens.ts +0 -40
- package/src/tools/account/disconnect-account.ts +0 -26
- package/src/tools/account/introspect-account.ts +0 -26
- package/src/tools/connect/sessions/new-connect-sessions.ts +0 -83
- package/src/tools/connect/sessions/reauthenticate-connect-sessions.ts +0 -60
- package/src/tools/hris/benefits/create-hris-benefits.ts +0 -102
- package/src/tools/hris/benefits/individuals/enroll-many-benefits-hris-individuals.ts +0 -101
- package/src/tools/hris/benefits/individuals/enrolled-ids-benefits-hris-individuals.ts +0 -31
- package/src/tools/hris/benefits/individuals/retrieve-many-benefits-benefits-hris-individuals.ts +0 -36
- package/src/tools/hris/benefits/individuals/unenroll-many-benefits-hris-individuals.ts +0 -38
- package/src/tools/hris/benefits/list-hris-benefits.ts +0 -26
- package/src/tools/hris/benefits/list-supported-benefits-hris-benefits.ts +0 -26
- package/src/tools/hris/benefits/retrieve-hris-benefits.ts +0 -31
- package/src/tools/hris/benefits/update-hris-benefits.ts +0 -35
- package/src/tools/hris/company/pay-statement-item/list-company-hris-pay-statement-item.ts +0 -58
- package/src/tools/hris/company/pay-statement-item/rules/create-pay-statement-item-company-hris-rules.ts +0 -78
- package/src/tools/hris/company/pay-statement-item/rules/delete-pay-statement-item-company-hris-rules.ts +0 -32
- package/src/tools/hris/company/pay-statement-item/rules/list-pay-statement-item-company-hris-rules.ts +0 -27
- package/src/tools/hris/company/pay-statement-item/rules/update-pay-statement-item-company-hris-rules.ts +0 -35
- package/src/tools/hris/company/retrieve-hris-company.ts +0 -26
- package/src/tools/hris/directory/list-hris-directory.ts +0 -36
- package/src/tools/hris/directory/list-individuals-hris-directory.ts +0 -36
- package/src/tools/hris/documents/list-hris-documents.ts +0 -53
- package/src/tools/hris/documents/retreive-hris-documents.ts +0 -32
- package/src/tools/hris/employments/retrieve-many-hris-employments.ts +0 -43
- package/src/tools/hris/individuals/retrieve-many-hris-individuals.ts +0 -52
- package/src/tools/hris/pay-statements/retrieve-many-hris-pay-statements.ts +0 -51
- package/src/tools/hris/payments/list-hris-payments.ts +0 -38
- package/src/tools/index.ts +0 -175
- package/src/tools/jobs/automated/create-jobs-automated.ts +0 -59
- package/src/tools/jobs/automated/list-jobs-automated.ts +0 -37
- package/src/tools/jobs/automated/retrieve-jobs-automated.ts +0 -31
- package/src/tools/jobs/manual/retrieve-jobs-manual.ts +0 -32
- package/src/tools/payroll/pay-groups/list-payroll-pay-groups.ts +0 -37
- package/src/tools/payroll/pay-groups/retrieve-payroll-pay-groups.ts +0 -31
- package/src/tools/providers/list-providers.ts +0 -26
- package/src/tools/request-forwarding/forward-request-forwarding.ts +0 -54
- package/src/tools/sandbox/company/update-sandbox-company.ts +0 -164
- package/src/tools/sandbox/connections/accounts/create-connections-sandbox-accounts.ts +0 -48
- package/src/tools/sandbox/connections/accounts/update-connections-sandbox-accounts.ts +0 -39
- package/src/tools/sandbox/connections/create-sandbox-connections.ts +0 -48
- package/src/tools/sandbox/directory/create-sandbox-directory.ts +0 -303
- package/src/tools/sandbox/employment/update-sandbox-employment.ts +0 -223
- package/src/tools/sandbox/individual/update-sandbox-individual.ts +0 -154
- package/src/tools/sandbox/jobs/configuration/retrieve-jobs-sandbox-configuration.ts +0 -26
- package/src/tools/sandbox/jobs/configuration/update-jobs-sandbox-configuration.ts +0 -36
- package/src/tools/sandbox/jobs/create-sandbox-jobs.ts +0 -33
- package/src/tools/sandbox/payment/create-sandbox-payment.ts +0 -308
- package/src/tools.ts +0 -1
- package/tools/access-tokens/create-access-tokens.d.mts +0 -32
- package/tools/access-tokens/create-access-tokens.d.mts.map +0 -1
- package/tools/access-tokens/create-access-tokens.d.ts +0 -32
- package/tools/access-tokens/create-access-tokens.d.ts.map +0 -1
- package/tools/access-tokens/create-access-tokens.js +0 -37
- package/tools/access-tokens/create-access-tokens.js.map +0 -1
- package/tools/access-tokens/create-access-tokens.mjs +0 -33
- package/tools/access-tokens/create-access-tokens.mjs.map +0 -1
- package/tools/account/disconnect-account.d.mts +0 -32
- package/tools/account/disconnect-account.d.mts.map +0 -1
- package/tools/account/disconnect-account.d.ts +0 -32
- package/tools/account/disconnect-account.d.ts.map +0 -1
- package/tools/account/disconnect-account.js +0 -23
- package/tools/account/disconnect-account.js.map +0 -1
- package/tools/account/disconnect-account.mjs +0 -19
- package/tools/account/disconnect-account.mjs.map +0 -1
- package/tools/account/introspect-account.d.mts +0 -32
- package/tools/account/introspect-account.d.mts.map +0 -1
- package/tools/account/introspect-account.d.ts +0 -32
- package/tools/account/introspect-account.d.ts.map +0 -1
- package/tools/account/introspect-account.js +0 -23
- package/tools/account/introspect-account.js.map +0 -1
- package/tools/account/introspect-account.mjs +0 -19
- package/tools/account/introspect-account.mjs.map +0 -1
- package/tools/connect/sessions/new-connect-sessions.d.mts +0 -32
- package/tools/connect/sessions/new-connect-sessions.d.mts.map +0 -1
- package/tools/connect/sessions/new-connect-sessions.d.ts +0 -32
- package/tools/connect/sessions/new-connect-sessions.d.ts.map +0 -1
- package/tools/connect/sessions/new-connect-sessions.js +0 -80
- package/tools/connect/sessions/new-connect-sessions.js.map +0 -1
- package/tools/connect/sessions/new-connect-sessions.mjs +0 -76
- package/tools/connect/sessions/new-connect-sessions.mjs.map +0 -1
- package/tools/connect/sessions/reauthenticate-connect-sessions.d.mts +0 -32
- package/tools/connect/sessions/reauthenticate-connect-sessions.d.mts.map +0 -1
- package/tools/connect/sessions/reauthenticate-connect-sessions.d.ts +0 -32
- package/tools/connect/sessions/reauthenticate-connect-sessions.d.ts.map +0 -1
- package/tools/connect/sessions/reauthenticate-connect-sessions.js +0 -57
- package/tools/connect/sessions/reauthenticate-connect-sessions.js.map +0 -1
- package/tools/connect/sessions/reauthenticate-connect-sessions.mjs +0 -53
- package/tools/connect/sessions/reauthenticate-connect-sessions.mjs.map +0 -1
- package/tools/hris/benefits/create-hris-benefits.d.mts +0 -32
- package/tools/hris/benefits/create-hris-benefits.d.mts.map +0 -1
- package/tools/hris/benefits/create-hris-benefits.d.ts +0 -32
- package/tools/hris/benefits/create-hris-benefits.d.ts.map +0 -1
- package/tools/hris/benefits/create-hris-benefits.js +0 -97
- package/tools/hris/benefits/create-hris-benefits.js.map +0 -1
- package/tools/hris/benefits/create-hris-benefits.mjs +0 -93
- package/tools/hris/benefits/create-hris-benefits.mjs.map +0 -1
- package/tools/hris/benefits/individuals/enroll-many-benefits-hris-individuals.d.mts +0 -32
- 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 -32
- 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 -94
- 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 -90
- 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 -32
- 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 -32
- 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 -28
- 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 -24
- 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 -32
- 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 -32
- 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 -32
- 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 -28
- 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 -32
- 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 -32
- 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 -35
- 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 -31
- package/tools/hris/benefits/individuals/unenroll-many-benefits-hris-individuals.mjs.map +0 -1
- package/tools/hris/benefits/list-hris-benefits.d.mts +0 -32
- package/tools/hris/benefits/list-hris-benefits.d.mts.map +0 -1
- package/tools/hris/benefits/list-hris-benefits.d.ts +0 -32
- package/tools/hris/benefits/list-hris-benefits.d.ts.map +0 -1
- package/tools/hris/benefits/list-hris-benefits.js +0 -23
- package/tools/hris/benefits/list-hris-benefits.js.map +0 -1
- package/tools/hris/benefits/list-hris-benefits.mjs +0 -19
- package/tools/hris/benefits/list-hris-benefits.mjs.map +0 -1
- package/tools/hris/benefits/list-supported-benefits-hris-benefits.d.mts +0 -32
- 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 -32
- 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 -23
- package/tools/hris/benefits/list-supported-benefits-hris-benefits.js.map +0 -1
- package/tools/hris/benefits/list-supported-benefits-hris-benefits.mjs +0 -19
- package/tools/hris/benefits/list-supported-benefits-hris-benefits.mjs.map +0 -1
- package/tools/hris/benefits/retrieve-hris-benefits.d.mts +0 -32
- package/tools/hris/benefits/retrieve-hris-benefits.d.mts.map +0 -1
- package/tools/hris/benefits/retrieve-hris-benefits.d.ts +0 -32
- package/tools/hris/benefits/retrieve-hris-benefits.d.ts.map +0 -1
- package/tools/hris/benefits/retrieve-hris-benefits.js +0 -28
- package/tools/hris/benefits/retrieve-hris-benefits.js.map +0 -1
- package/tools/hris/benefits/retrieve-hris-benefits.mjs +0 -24
- package/tools/hris/benefits/retrieve-hris-benefits.mjs.map +0 -1
- package/tools/hris/benefits/update-hris-benefits.d.mts +0 -32
- package/tools/hris/benefits/update-hris-benefits.d.mts.map +0 -1
- package/tools/hris/benefits/update-hris-benefits.d.ts +0 -32
- package/tools/hris/benefits/update-hris-benefits.d.ts.map +0 -1
- package/tools/hris/benefits/update-hris-benefits.js +0 -32
- package/tools/hris/benefits/update-hris-benefits.js.map +0 -1
- package/tools/hris/benefits/update-hris-benefits.mjs +0 -28
- 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 -32
- 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 -32
- 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 -51
- 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 -47
- 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 -32
- 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 -32
- 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 -73
- 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 -69
- 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 -32
- 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 -32
- 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 -28
- 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 -24
- 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 -32
- 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 -32
- 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 -23
- 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 -19
- 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 -32
- 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 -32
- 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 -31
- 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 -27
- 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 -32
- package/tools/hris/company/retrieve-hris-company.d.mts.map +0 -1
- package/tools/hris/company/retrieve-hris-company.d.ts +0 -32
- package/tools/hris/company/retrieve-hris-company.d.ts.map +0 -1
- package/tools/hris/company/retrieve-hris-company.js +0 -23
- package/tools/hris/company/retrieve-hris-company.js.map +0 -1
- package/tools/hris/company/retrieve-hris-company.mjs +0 -19
- package/tools/hris/company/retrieve-hris-company.mjs.map +0 -1
- package/tools/hris/directory/list-hris-directory.d.mts +0 -32
- package/tools/hris/directory/list-hris-directory.d.mts.map +0 -1
- package/tools/hris/directory/list-hris-directory.d.ts +0 -32
- package/tools/hris/directory/list-hris-directory.d.ts.map +0 -1
- package/tools/hris/directory/list-hris-directory.js +0 -33
- package/tools/hris/directory/list-hris-directory.js.map +0 -1
- package/tools/hris/directory/list-hris-directory.mjs +0 -29
- package/tools/hris/directory/list-hris-directory.mjs.map +0 -1
- package/tools/hris/directory/list-individuals-hris-directory.d.mts +0 -32
- package/tools/hris/directory/list-individuals-hris-directory.d.mts.map +0 -1
- package/tools/hris/directory/list-individuals-hris-directory.d.ts +0 -32
- package/tools/hris/directory/list-individuals-hris-directory.d.ts.map +0 -1
- package/tools/hris/directory/list-individuals-hris-directory.js +0 -33
- package/tools/hris/directory/list-individuals-hris-directory.js.map +0 -1
- package/tools/hris/directory/list-individuals-hris-directory.mjs +0 -29
- package/tools/hris/directory/list-individuals-hris-directory.mjs.map +0 -1
- package/tools/hris/documents/list-hris-documents.d.mts +0 -32
- package/tools/hris/documents/list-hris-documents.d.mts.map +0 -1
- package/tools/hris/documents/list-hris-documents.d.ts +0 -32
- package/tools/hris/documents/list-hris-documents.d.ts.map +0 -1
- package/tools/hris/documents/list-hris-documents.js +0 -48
- package/tools/hris/documents/list-hris-documents.js.map +0 -1
- package/tools/hris/documents/list-hris-documents.mjs +0 -44
- package/tools/hris/documents/list-hris-documents.mjs.map +0 -1
- package/tools/hris/documents/retreive-hris-documents.d.mts +0 -32
- package/tools/hris/documents/retreive-hris-documents.d.mts.map +0 -1
- package/tools/hris/documents/retreive-hris-documents.d.ts +0 -32
- package/tools/hris/documents/retreive-hris-documents.d.ts.map +0 -1
- package/tools/hris/documents/retreive-hris-documents.js +0 -28
- package/tools/hris/documents/retreive-hris-documents.js.map +0 -1
- package/tools/hris/documents/retreive-hris-documents.mjs +0 -24
- package/tools/hris/documents/retreive-hris-documents.mjs.map +0 -1
- package/tools/hris/employments/retrieve-many-hris-employments.d.mts +0 -32
- package/tools/hris/employments/retrieve-many-hris-employments.d.mts.map +0 -1
- package/tools/hris/employments/retrieve-many-hris-employments.d.ts +0 -32
- package/tools/hris/employments/retrieve-many-hris-employments.d.ts.map +0 -1
- package/tools/hris/employments/retrieve-many-hris-employments.js +0 -39
- package/tools/hris/employments/retrieve-many-hris-employments.js.map +0 -1
- package/tools/hris/employments/retrieve-many-hris-employments.mjs +0 -35
- package/tools/hris/employments/retrieve-many-hris-employments.mjs.map +0 -1
- package/tools/hris/individuals/retrieve-many-hris-individuals.d.mts +0 -32
- package/tools/hris/individuals/retrieve-many-hris-individuals.d.mts.map +0 -1
- package/tools/hris/individuals/retrieve-many-hris-individuals.d.ts +0 -32
- package/tools/hris/individuals/retrieve-many-hris-individuals.d.ts.map +0 -1
- package/tools/hris/individuals/retrieve-many-hris-individuals.js +0 -49
- package/tools/hris/individuals/retrieve-many-hris-individuals.js.map +0 -1
- package/tools/hris/individuals/retrieve-many-hris-individuals.mjs +0 -45
- 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 -32
- 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 -32
- 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 -47
- 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 -43
- package/tools/hris/pay-statements/retrieve-many-hris-pay-statements.mjs.map +0 -1
- package/tools/hris/payments/list-hris-payments.d.mts +0 -32
- package/tools/hris/payments/list-hris-payments.d.mts.map +0 -1
- package/tools/hris/payments/list-hris-payments.d.ts +0 -32
- package/tools/hris/payments/list-hris-payments.d.ts.map +0 -1
- package/tools/hris/payments/list-hris-payments.js +0 -35
- package/tools/hris/payments/list-hris-payments.js.map +0 -1
- package/tools/hris/payments/list-hris-payments.mjs +0 -31
- package/tools/hris/payments/list-hris-payments.mjs.map +0 -1
- package/tools/index.d.mts +0 -21
- package/tools/index.d.mts.map +0 -1
- package/tools/index.d.ts +0 -21
- package/tools/index.d.ts.map +0 -1
- package/tools/index.js +0 -146
- package/tools/index.js.map +0 -1
- package/tools/index.mjs +0 -139
- package/tools/index.mjs.map +0 -1
- package/tools/jobs/automated/create-jobs-automated.d.mts +0 -32
- package/tools/jobs/automated/create-jobs-automated.d.mts.map +0 -1
- package/tools/jobs/automated/create-jobs-automated.d.ts +0 -32
- package/tools/jobs/automated/create-jobs-automated.d.ts.map +0 -1
- package/tools/jobs/automated/create-jobs-automated.js +0 -55
- package/tools/jobs/automated/create-jobs-automated.js.map +0 -1
- package/tools/jobs/automated/create-jobs-automated.mjs +0 -51
- package/tools/jobs/automated/create-jobs-automated.mjs.map +0 -1
- package/tools/jobs/automated/list-jobs-automated.d.mts +0 -32
- package/tools/jobs/automated/list-jobs-automated.d.mts.map +0 -1
- package/tools/jobs/automated/list-jobs-automated.d.ts +0 -32
- package/tools/jobs/automated/list-jobs-automated.d.ts.map +0 -1
- package/tools/jobs/automated/list-jobs-automated.js +0 -33
- package/tools/jobs/automated/list-jobs-automated.js.map +0 -1
- package/tools/jobs/automated/list-jobs-automated.mjs +0 -29
- package/tools/jobs/automated/list-jobs-automated.mjs.map +0 -1
- package/tools/jobs/automated/retrieve-jobs-automated.d.mts +0 -32
- package/tools/jobs/automated/retrieve-jobs-automated.d.mts.map +0 -1
- package/tools/jobs/automated/retrieve-jobs-automated.d.ts +0 -32
- package/tools/jobs/automated/retrieve-jobs-automated.d.ts.map +0 -1
- package/tools/jobs/automated/retrieve-jobs-automated.js +0 -28
- package/tools/jobs/automated/retrieve-jobs-automated.js.map +0 -1
- package/tools/jobs/automated/retrieve-jobs-automated.mjs +0 -24
- package/tools/jobs/automated/retrieve-jobs-automated.mjs.map +0 -1
- package/tools/jobs/manual/retrieve-jobs-manual.d.mts +0 -32
- package/tools/jobs/manual/retrieve-jobs-manual.d.mts.map +0 -1
- package/tools/jobs/manual/retrieve-jobs-manual.d.ts +0 -32
- package/tools/jobs/manual/retrieve-jobs-manual.d.ts.map +0 -1
- package/tools/jobs/manual/retrieve-jobs-manual.js +0 -28
- package/tools/jobs/manual/retrieve-jobs-manual.js.map +0 -1
- package/tools/jobs/manual/retrieve-jobs-manual.mjs +0 -24
- package/tools/jobs/manual/retrieve-jobs-manual.mjs.map +0 -1
- package/tools/payroll/pay-groups/list-payroll-pay-groups.d.mts +0 -32
- 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 -32
- 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 -34
- package/tools/payroll/pay-groups/list-payroll-pay-groups.js.map +0 -1
- package/tools/payroll/pay-groups/list-payroll-pay-groups.mjs +0 -30
- 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 -32
- 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 -32
- 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 -28
- package/tools/payroll/pay-groups/retrieve-payroll-pay-groups.js.map +0 -1
- package/tools/payroll/pay-groups/retrieve-payroll-pay-groups.mjs +0 -24
- package/tools/payroll/pay-groups/retrieve-payroll-pay-groups.mjs.map +0 -1
- package/tools/providers/list-providers.d.mts +0 -32
- package/tools/providers/list-providers.d.mts.map +0 -1
- package/tools/providers/list-providers.d.ts +0 -32
- package/tools/providers/list-providers.d.ts.map +0 -1
- package/tools/providers/list-providers.js +0 -23
- package/tools/providers/list-providers.js.map +0 -1
- package/tools/providers/list-providers.mjs +0 -19
- package/tools/providers/list-providers.mjs.map +0 -1
- package/tools/request-forwarding/forward-request-forwarding.d.mts +0 -32
- package/tools/request-forwarding/forward-request-forwarding.d.mts.map +0 -1
- package/tools/request-forwarding/forward-request-forwarding.d.ts +0 -32
- package/tools/request-forwarding/forward-request-forwarding.d.ts.map +0 -1
- package/tools/request-forwarding/forward-request-forwarding.js +0 -45
- package/tools/request-forwarding/forward-request-forwarding.js.map +0 -1
- package/tools/request-forwarding/forward-request-forwarding.mjs +0 -41
- package/tools/request-forwarding/forward-request-forwarding.mjs.map +0 -1
- package/tools/sandbox/company/update-sandbox-company.d.mts +0 -32
- package/tools/sandbox/company/update-sandbox-company.d.mts.map +0 -1
- package/tools/sandbox/company/update-sandbox-company.d.ts +0 -32
- package/tools/sandbox/company/update-sandbox-company.d.ts.map +0 -1
- package/tools/sandbox/company/update-sandbox-company.js +0 -159
- package/tools/sandbox/company/update-sandbox-company.js.map +0 -1
- package/tools/sandbox/company/update-sandbox-company.mjs +0 -155
- package/tools/sandbox/company/update-sandbox-company.mjs.map +0 -1
- package/tools/sandbox/connections/accounts/create-connections-sandbox-accounts.d.mts +0 -32
- 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 -32
- 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 -44
- package/tools/sandbox/connections/accounts/create-connections-sandbox-accounts.js.map +0 -1
- package/tools/sandbox/connections/accounts/create-connections-sandbox-accounts.mjs +0 -40
- 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 -32
- 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 -32
- 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 -35
- package/tools/sandbox/connections/accounts/update-connections-sandbox-accounts.js.map +0 -1
- package/tools/sandbox/connections/accounts/update-connections-sandbox-accounts.mjs +0 -31
- package/tools/sandbox/connections/accounts/update-connections-sandbox-accounts.mjs.map +0 -1
- package/tools/sandbox/connections/create-sandbox-connections.d.mts +0 -32
- package/tools/sandbox/connections/create-sandbox-connections.d.mts.map +0 -1
- package/tools/sandbox/connections/create-sandbox-connections.d.ts +0 -32
- package/tools/sandbox/connections/create-sandbox-connections.d.ts.map +0 -1
- package/tools/sandbox/connections/create-sandbox-connections.js +0 -44
- package/tools/sandbox/connections/create-sandbox-connections.js.map +0 -1
- package/tools/sandbox/connections/create-sandbox-connections.mjs +0 -40
- package/tools/sandbox/connections/create-sandbox-connections.mjs.map +0 -1
- package/tools/sandbox/directory/create-sandbox-directory.d.mts +0 -32
- package/tools/sandbox/directory/create-sandbox-directory.d.mts.map +0 -1
- package/tools/sandbox/directory/create-sandbox-directory.d.ts +0 -32
- package/tools/sandbox/directory/create-sandbox-directory.d.ts.map +0 -1
- package/tools/sandbox/directory/create-sandbox-directory.js +0 -292
- package/tools/sandbox/directory/create-sandbox-directory.js.map +0 -1
- package/tools/sandbox/directory/create-sandbox-directory.mjs +0 -288
- package/tools/sandbox/directory/create-sandbox-directory.mjs.map +0 -1
- package/tools/sandbox/employment/update-sandbox-employment.d.mts +0 -32
- package/tools/sandbox/employment/update-sandbox-employment.d.mts.map +0 -1
- package/tools/sandbox/employment/update-sandbox-employment.d.ts +0 -32
- package/tools/sandbox/employment/update-sandbox-employment.d.ts.map +0 -1
- package/tools/sandbox/employment/update-sandbox-employment.js +0 -215
- package/tools/sandbox/employment/update-sandbox-employment.js.map +0 -1
- package/tools/sandbox/employment/update-sandbox-employment.mjs +0 -211
- package/tools/sandbox/employment/update-sandbox-employment.mjs.map +0 -1
- package/tools/sandbox/individual/update-sandbox-individual.d.mts +0 -32
- package/tools/sandbox/individual/update-sandbox-individual.d.mts.map +0 -1
- package/tools/sandbox/individual/update-sandbox-individual.d.ts +0 -32
- package/tools/sandbox/individual/update-sandbox-individual.d.ts.map +0 -1
- package/tools/sandbox/individual/update-sandbox-individual.js +0 -149
- package/tools/sandbox/individual/update-sandbox-individual.js.map +0 -1
- package/tools/sandbox/individual/update-sandbox-individual.mjs +0 -145
- package/tools/sandbox/individual/update-sandbox-individual.mjs.map +0 -1
- package/tools/sandbox/jobs/configuration/retrieve-jobs-sandbox-configuration.d.mts +0 -32
- 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 -32
- 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 -23
- package/tools/sandbox/jobs/configuration/retrieve-jobs-sandbox-configuration.js.map +0 -1
- package/tools/sandbox/jobs/configuration/retrieve-jobs-sandbox-configuration.mjs +0 -19
- 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 -32
- 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 -32
- 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 -33
- package/tools/sandbox/jobs/configuration/update-jobs-sandbox-configuration.js.map +0 -1
- package/tools/sandbox/jobs/configuration/update-jobs-sandbox-configuration.mjs +0 -29
- package/tools/sandbox/jobs/configuration/update-jobs-sandbox-configuration.mjs.map +0 -1
- package/tools/sandbox/jobs/create-sandbox-jobs.d.mts +0 -32
- package/tools/sandbox/jobs/create-sandbox-jobs.d.mts.map +0 -1
- package/tools/sandbox/jobs/create-sandbox-jobs.d.ts +0 -32
- package/tools/sandbox/jobs/create-sandbox-jobs.d.ts.map +0 -1
- package/tools/sandbox/jobs/create-sandbox-jobs.js +0 -30
- package/tools/sandbox/jobs/create-sandbox-jobs.js.map +0 -1
- package/tools/sandbox/jobs/create-sandbox-jobs.mjs +0 -26
- package/tools/sandbox/jobs/create-sandbox-jobs.mjs.map +0 -1
- package/tools/sandbox/payment/create-sandbox-payment.d.mts +0 -32
- package/tools/sandbox/payment/create-sandbox-payment.d.mts.map +0 -1
- package/tools/sandbox/payment/create-sandbox-payment.d.ts +0 -32
- package/tools/sandbox/payment/create-sandbox-payment.d.ts.map +0 -1
- package/tools/sandbox/payment/create-sandbox-payment.js +0 -300
- package/tools/sandbox/payment/create-sandbox-payment.js.map +0 -1
- package/tools/sandbox/payment/create-sandbox-payment.mjs +0 -296
- package/tools/sandbox/payment/create-sandbox-payment.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
|
@@ -1,154 +0,0 @@
|
|
|
1
|
-
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
|
|
3
|
-
import { Tool } from '@modelcontextprotocol/sdk/types.js';
|
|
4
|
-
import type { Metadata } from '../../';
|
|
5
|
-
import Finch from '@tryfinch/finch-api';
|
|
6
|
-
|
|
7
|
-
export const metadata: Metadata = {
|
|
8
|
-
resource: 'sandbox.individual',
|
|
9
|
-
operation: 'write',
|
|
10
|
-
tags: [],
|
|
11
|
-
};
|
|
12
|
-
|
|
13
|
-
export const tool: Tool = {
|
|
14
|
-
name: 'update_sandbox_individual',
|
|
15
|
-
description: 'Update sandbox individual',
|
|
16
|
-
inputSchema: {
|
|
17
|
-
type: 'object',
|
|
18
|
-
properties: {
|
|
19
|
-
individual_id: {
|
|
20
|
-
type: 'string',
|
|
21
|
-
},
|
|
22
|
-
dob: {
|
|
23
|
-
type: 'string',
|
|
24
|
-
title: 'Date',
|
|
25
|
-
},
|
|
26
|
-
emails: {
|
|
27
|
-
type: 'array',
|
|
28
|
-
items: {
|
|
29
|
-
type: 'object',
|
|
30
|
-
properties: {
|
|
31
|
-
data: {
|
|
32
|
-
type: 'string',
|
|
33
|
-
},
|
|
34
|
-
type: {
|
|
35
|
-
type: 'string',
|
|
36
|
-
enum: ['work', 'personal'],
|
|
37
|
-
},
|
|
38
|
-
},
|
|
39
|
-
required: [],
|
|
40
|
-
},
|
|
41
|
-
},
|
|
42
|
-
encrypted_ssn: {
|
|
43
|
-
type: 'string',
|
|
44
|
-
description:
|
|
45
|
-
"Social Security Number of the individual in **encrypted** format. This field is only available with the `ssn` scope enabled and the `options: { include: ['ssn'] }` param set in the body.",
|
|
46
|
-
},
|
|
47
|
-
ethnicity: {
|
|
48
|
-
type: 'string',
|
|
49
|
-
description: 'The EEOC-defined ethnicity of the individual.',
|
|
50
|
-
enum: [
|
|
51
|
-
'asian',
|
|
52
|
-
'white',
|
|
53
|
-
'black_or_african_american',
|
|
54
|
-
'native_hawaiian_or_pacific_islander',
|
|
55
|
-
'american_indian_or_alaska_native',
|
|
56
|
-
'hispanic_or_latino',
|
|
57
|
-
'two_or_more_races',
|
|
58
|
-
'decline_to_specify',
|
|
59
|
-
],
|
|
60
|
-
},
|
|
61
|
-
first_name: {
|
|
62
|
-
type: 'string',
|
|
63
|
-
description: 'The legal first name of the individual.',
|
|
64
|
-
},
|
|
65
|
-
gender: {
|
|
66
|
-
type: 'string',
|
|
67
|
-
description: 'The gender of the individual.',
|
|
68
|
-
enum: ['female', 'male', 'other', 'decline_to_specify'],
|
|
69
|
-
},
|
|
70
|
-
last_name: {
|
|
71
|
-
type: 'string',
|
|
72
|
-
description: 'The legal last name of the individual.',
|
|
73
|
-
},
|
|
74
|
-
middle_name: {
|
|
75
|
-
type: 'string',
|
|
76
|
-
description: 'The legal middle name of the individual.',
|
|
77
|
-
},
|
|
78
|
-
phone_numbers: {
|
|
79
|
-
type: 'array',
|
|
80
|
-
items: {
|
|
81
|
-
type: 'object',
|
|
82
|
-
properties: {
|
|
83
|
-
data: {
|
|
84
|
-
type: 'string',
|
|
85
|
-
},
|
|
86
|
-
type: {
|
|
87
|
-
type: 'string',
|
|
88
|
-
enum: ['work', 'personal'],
|
|
89
|
-
},
|
|
90
|
-
},
|
|
91
|
-
required: [],
|
|
92
|
-
},
|
|
93
|
-
},
|
|
94
|
-
preferred_name: {
|
|
95
|
-
type: 'string',
|
|
96
|
-
description: 'The preferred name of the individual.',
|
|
97
|
-
},
|
|
98
|
-
residence: {
|
|
99
|
-
$ref: '#/$defs/location',
|
|
100
|
-
},
|
|
101
|
-
ssn: {
|
|
102
|
-
type: 'string',
|
|
103
|
-
description:
|
|
104
|
-
"Social Security Number of the individual. This field is only available with the `ssn` scope enabled and the `options: { include: ['ssn'] }` param set in the body. [Click here to learn more about enabling the SSN field](/developer-resources/Enable-SSN-Field).",
|
|
105
|
-
},
|
|
106
|
-
},
|
|
107
|
-
$defs: {
|
|
108
|
-
location: {
|
|
109
|
-
type: 'object',
|
|
110
|
-
title: 'Location',
|
|
111
|
-
properties: {
|
|
112
|
-
city: {
|
|
113
|
-
type: 'string',
|
|
114
|
-
description: 'City, district, suburb, town, or village.',
|
|
115
|
-
},
|
|
116
|
-
country: {
|
|
117
|
-
type: 'string',
|
|
118
|
-
description: 'The 2-letter ISO 3166 country code.',
|
|
119
|
-
},
|
|
120
|
-
line1: {
|
|
121
|
-
type: 'string',
|
|
122
|
-
description: 'Street address or PO box.',
|
|
123
|
-
},
|
|
124
|
-
line2: {
|
|
125
|
-
type: 'string',
|
|
126
|
-
description: 'Apartment, suite, unit, or building.',
|
|
127
|
-
},
|
|
128
|
-
postal_code: {
|
|
129
|
-
type: 'string',
|
|
130
|
-
description: 'The postal code or zip code.',
|
|
131
|
-
},
|
|
132
|
-
state: {
|
|
133
|
-
type: 'string',
|
|
134
|
-
description: 'The state code.',
|
|
135
|
-
},
|
|
136
|
-
name: {
|
|
137
|
-
type: 'string',
|
|
138
|
-
},
|
|
139
|
-
source_id: {
|
|
140
|
-
type: 'string',
|
|
141
|
-
},
|
|
142
|
-
},
|
|
143
|
-
required: ['city', 'country', 'line1', 'line2', 'postal_code', 'state'],
|
|
144
|
-
},
|
|
145
|
-
},
|
|
146
|
-
},
|
|
147
|
-
};
|
|
148
|
-
|
|
149
|
-
export const handler = (client: Finch, args: Record<string, unknown> | undefined) => {
|
|
150
|
-
const { individual_id, ...body } = args as any;
|
|
151
|
-
return client.sandbox.individual.update(individual_id, body);
|
|
152
|
-
};
|
|
153
|
-
|
|
154
|
-
export default { metadata, tool, handler };
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
|
|
3
|
-
import { Tool } from '@modelcontextprotocol/sdk/types.js';
|
|
4
|
-
import type { Metadata } from '../../../';
|
|
5
|
-
import Finch from '@tryfinch/finch-api';
|
|
6
|
-
|
|
7
|
-
export const metadata: Metadata = {
|
|
8
|
-
resource: 'sandbox.jobs.configuration',
|
|
9
|
-
operation: 'read',
|
|
10
|
-
tags: [],
|
|
11
|
-
};
|
|
12
|
-
|
|
13
|
-
export const tool: Tool = {
|
|
14
|
-
name: 'retrieve_jobs_sandbox_configuration',
|
|
15
|
-
description: 'Get configurations for sandbox jobs',
|
|
16
|
-
inputSchema: {
|
|
17
|
-
type: 'object',
|
|
18
|
-
properties: {},
|
|
19
|
-
},
|
|
20
|
-
};
|
|
21
|
-
|
|
22
|
-
export const handler = (client: Finch, args: Record<string, unknown> | undefined) => {
|
|
23
|
-
return client.sandbox.jobs.configuration.retrieve();
|
|
24
|
-
};
|
|
25
|
-
|
|
26
|
-
export default { metadata, tool, handler };
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
|
|
3
|
-
import { Tool } from '@modelcontextprotocol/sdk/types.js';
|
|
4
|
-
import type { Metadata } from '../../../';
|
|
5
|
-
import Finch from '@tryfinch/finch-api';
|
|
6
|
-
|
|
7
|
-
export const metadata: Metadata = {
|
|
8
|
-
resource: 'sandbox.jobs.configuration',
|
|
9
|
-
operation: 'write',
|
|
10
|
-
tags: [],
|
|
11
|
-
};
|
|
12
|
-
|
|
13
|
-
export const tool: Tool = {
|
|
14
|
-
name: 'update_jobs_sandbox_configuration',
|
|
15
|
-
description: 'Update configurations for sandbox jobs',
|
|
16
|
-
inputSchema: {
|
|
17
|
-
type: 'object',
|
|
18
|
-
properties: {
|
|
19
|
-
completion_status: {
|
|
20
|
-
type: 'string',
|
|
21
|
-
enum: ['complete', 'reauth_error', 'permissions_error', 'error'],
|
|
22
|
-
},
|
|
23
|
-
type: {
|
|
24
|
-
type: 'string',
|
|
25
|
-
enum: ['data_sync_all'],
|
|
26
|
-
},
|
|
27
|
-
},
|
|
28
|
-
},
|
|
29
|
-
};
|
|
30
|
-
|
|
31
|
-
export const handler = (client: Finch, args: Record<string, unknown> | undefined) => {
|
|
32
|
-
const body = args as any;
|
|
33
|
-
return client.sandbox.jobs.configuration.update(body);
|
|
34
|
-
};
|
|
35
|
-
|
|
36
|
-
export default { metadata, tool, handler };
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
|
|
3
|
-
import { Tool } from '@modelcontextprotocol/sdk/types.js';
|
|
4
|
-
import type { Metadata } from '../../';
|
|
5
|
-
import Finch from '@tryfinch/finch-api';
|
|
6
|
-
|
|
7
|
-
export const metadata: Metadata = {
|
|
8
|
-
resource: 'sandbox.jobs',
|
|
9
|
-
operation: 'write',
|
|
10
|
-
tags: [],
|
|
11
|
-
};
|
|
12
|
-
|
|
13
|
-
export const tool: Tool = {
|
|
14
|
-
name: 'create_sandbox_jobs',
|
|
15
|
-
description: 'Enqueue a new sandbox job',
|
|
16
|
-
inputSchema: {
|
|
17
|
-
type: 'object',
|
|
18
|
-
properties: {
|
|
19
|
-
type: {
|
|
20
|
-
type: 'string',
|
|
21
|
-
description: 'The type of job to start. Currently the only supported type is `data_sync_all`',
|
|
22
|
-
enum: ['data_sync_all'],
|
|
23
|
-
},
|
|
24
|
-
},
|
|
25
|
-
},
|
|
26
|
-
};
|
|
27
|
-
|
|
28
|
-
export const handler = (client: Finch, args: Record<string, unknown> | undefined) => {
|
|
29
|
-
const body = args as any;
|
|
30
|
-
return client.sandbox.jobs.create(body);
|
|
31
|
-
};
|
|
32
|
-
|
|
33
|
-
export default { metadata, tool, handler };
|
|
@@ -1,308 +0,0 @@
|
|
|
1
|
-
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
|
|
3
|
-
import { Tool } from '@modelcontextprotocol/sdk/types.js';
|
|
4
|
-
import type { Metadata } from '../../';
|
|
5
|
-
import Finch from '@tryfinch/finch-api';
|
|
6
|
-
|
|
7
|
-
export const metadata: Metadata = {
|
|
8
|
-
resource: 'sandbox.payment',
|
|
9
|
-
operation: 'write',
|
|
10
|
-
tags: [],
|
|
11
|
-
};
|
|
12
|
-
|
|
13
|
-
export const tool: Tool = {
|
|
14
|
-
name: 'create_sandbox_payment',
|
|
15
|
-
description: 'Add a new sandbox payment',
|
|
16
|
-
inputSchema: {
|
|
17
|
-
type: 'object',
|
|
18
|
-
properties: {
|
|
19
|
-
end_date: {
|
|
20
|
-
type: 'string',
|
|
21
|
-
},
|
|
22
|
-
pay_statements: {
|
|
23
|
-
type: 'array',
|
|
24
|
-
items: {
|
|
25
|
-
type: 'object',
|
|
26
|
-
title: 'Pay Statement',
|
|
27
|
-
properties: {
|
|
28
|
-
earnings: {
|
|
29
|
-
type: 'array',
|
|
30
|
-
description: 'The array of earnings objects associated with this pay statement',
|
|
31
|
-
items: {
|
|
32
|
-
type: 'object',
|
|
33
|
-
properties: {
|
|
34
|
-
amount: {
|
|
35
|
-
type: 'integer',
|
|
36
|
-
description: 'The earnings amount in cents.',
|
|
37
|
-
},
|
|
38
|
-
attributes: {
|
|
39
|
-
type: 'object',
|
|
40
|
-
properties: {
|
|
41
|
-
metadata: {
|
|
42
|
-
type: 'object',
|
|
43
|
-
properties: {
|
|
44
|
-
metadata: {
|
|
45
|
-
type: 'object',
|
|
46
|
-
description:
|
|
47
|
-
'The metadata to be attached to the entity by existing rules. It is a key-value pairs where the values can be of any type (string, number, boolean, object, array, etc.).',
|
|
48
|
-
},
|
|
49
|
-
},
|
|
50
|
-
required: [],
|
|
51
|
-
},
|
|
52
|
-
},
|
|
53
|
-
required: [],
|
|
54
|
-
},
|
|
55
|
-
currency: {
|
|
56
|
-
type: 'string',
|
|
57
|
-
description: 'The earnings currency code.',
|
|
58
|
-
},
|
|
59
|
-
hours: {
|
|
60
|
-
type: 'number',
|
|
61
|
-
description:
|
|
62
|
-
'The number of hours associated with this earning. (For salaried employees, this could be hours per pay period, `0` or `null`, depending on the provider).',
|
|
63
|
-
},
|
|
64
|
-
name: {
|
|
65
|
-
type: 'string',
|
|
66
|
-
description: 'The exact name of the deduction from the pay statement.',
|
|
67
|
-
},
|
|
68
|
-
type: {
|
|
69
|
-
type: 'string',
|
|
70
|
-
description: 'The type of earning.',
|
|
71
|
-
enum: [
|
|
72
|
-
'salary',
|
|
73
|
-
'wage',
|
|
74
|
-
'reimbursement',
|
|
75
|
-
'overtime',
|
|
76
|
-
'severance',
|
|
77
|
-
'double_overtime',
|
|
78
|
-
'pto',
|
|
79
|
-
'sick',
|
|
80
|
-
'bonus',
|
|
81
|
-
'commission',
|
|
82
|
-
'tips',
|
|
83
|
-
'1099',
|
|
84
|
-
'other',
|
|
85
|
-
],
|
|
86
|
-
},
|
|
87
|
-
},
|
|
88
|
-
required: [],
|
|
89
|
-
},
|
|
90
|
-
},
|
|
91
|
-
employee_deductions: {
|
|
92
|
-
type: 'array',
|
|
93
|
-
description: 'The array of deductions objects associated with this pay statement.',
|
|
94
|
-
items: {
|
|
95
|
-
type: 'object',
|
|
96
|
-
properties: {
|
|
97
|
-
amount: {
|
|
98
|
-
type: 'integer',
|
|
99
|
-
description: 'The deduction amount in cents.',
|
|
100
|
-
},
|
|
101
|
-
attributes: {
|
|
102
|
-
type: 'object',
|
|
103
|
-
properties: {
|
|
104
|
-
metadata: {
|
|
105
|
-
type: 'object',
|
|
106
|
-
properties: {
|
|
107
|
-
metadata: {
|
|
108
|
-
type: 'object',
|
|
109
|
-
description:
|
|
110
|
-
'The metadata to be attached to the entity by existing rules. It is a key-value pairs where the values can be of any type (string, number, boolean, object, array, etc.).',
|
|
111
|
-
},
|
|
112
|
-
},
|
|
113
|
-
required: [],
|
|
114
|
-
},
|
|
115
|
-
},
|
|
116
|
-
required: [],
|
|
117
|
-
},
|
|
118
|
-
currency: {
|
|
119
|
-
type: 'string',
|
|
120
|
-
description: 'The deduction currency.',
|
|
121
|
-
},
|
|
122
|
-
name: {
|
|
123
|
-
type: 'string',
|
|
124
|
-
description: 'The deduction name from the pay statement.',
|
|
125
|
-
},
|
|
126
|
-
pre_tax: {
|
|
127
|
-
type: 'boolean',
|
|
128
|
-
description: 'Boolean indicating if the deduction is pre-tax.',
|
|
129
|
-
},
|
|
130
|
-
type: {
|
|
131
|
-
$ref: '#/$defs/benefit_type',
|
|
132
|
-
},
|
|
133
|
-
},
|
|
134
|
-
required: [],
|
|
135
|
-
},
|
|
136
|
-
},
|
|
137
|
-
employer_contributions: {
|
|
138
|
-
type: 'array',
|
|
139
|
-
items: {
|
|
140
|
-
type: 'object',
|
|
141
|
-
properties: {
|
|
142
|
-
amount: {
|
|
143
|
-
type: 'integer',
|
|
144
|
-
description: 'The contribution amount in cents.',
|
|
145
|
-
},
|
|
146
|
-
attributes: {
|
|
147
|
-
type: 'object',
|
|
148
|
-
properties: {
|
|
149
|
-
metadata: {
|
|
150
|
-
type: 'object',
|
|
151
|
-
properties: {
|
|
152
|
-
metadata: {
|
|
153
|
-
type: 'object',
|
|
154
|
-
description:
|
|
155
|
-
'The metadata to be attached to the entity by existing rules. It is a key-value pairs where the values can be of any type (string, number, boolean, object, array, etc.).',
|
|
156
|
-
},
|
|
157
|
-
},
|
|
158
|
-
required: [],
|
|
159
|
-
},
|
|
160
|
-
},
|
|
161
|
-
required: [],
|
|
162
|
-
},
|
|
163
|
-
currency: {
|
|
164
|
-
type: 'string',
|
|
165
|
-
description: 'The contribution currency.',
|
|
166
|
-
},
|
|
167
|
-
name: {
|
|
168
|
-
type: 'string',
|
|
169
|
-
description: 'The contribution name from the pay statement.',
|
|
170
|
-
},
|
|
171
|
-
type: {
|
|
172
|
-
$ref: '#/$defs/benefit_type',
|
|
173
|
-
},
|
|
174
|
-
},
|
|
175
|
-
required: [],
|
|
176
|
-
},
|
|
177
|
-
},
|
|
178
|
-
gross_pay: {
|
|
179
|
-
$ref: '#/$defs/money',
|
|
180
|
-
},
|
|
181
|
-
individual_id: {
|
|
182
|
-
type: 'string',
|
|
183
|
-
description: 'A stable Finch `id` (UUID v4) for an individual in the company',
|
|
184
|
-
},
|
|
185
|
-
net_pay: {
|
|
186
|
-
$ref: '#/$defs/money',
|
|
187
|
-
},
|
|
188
|
-
payment_method: {
|
|
189
|
-
type: 'string',
|
|
190
|
-
description: 'The payment method.',
|
|
191
|
-
enum: ['check', 'direct_deposit', 'other'],
|
|
192
|
-
},
|
|
193
|
-
taxes: {
|
|
194
|
-
type: 'array',
|
|
195
|
-
description: 'The array of taxes objects associated with this pay statement.',
|
|
196
|
-
items: {
|
|
197
|
-
type: 'object',
|
|
198
|
-
properties: {
|
|
199
|
-
amount: {
|
|
200
|
-
type: 'integer',
|
|
201
|
-
description: 'The tax amount in cents.',
|
|
202
|
-
},
|
|
203
|
-
attributes: {
|
|
204
|
-
type: 'object',
|
|
205
|
-
properties: {
|
|
206
|
-
metadata: {
|
|
207
|
-
type: 'object',
|
|
208
|
-
properties: {
|
|
209
|
-
metadata: {
|
|
210
|
-
type: 'object',
|
|
211
|
-
description:
|
|
212
|
-
'The metadata to be attached to the entity by existing rules. It is a key-value pairs where the values can be of any type (string, number, boolean, object, array, etc.).',
|
|
213
|
-
},
|
|
214
|
-
},
|
|
215
|
-
required: [],
|
|
216
|
-
},
|
|
217
|
-
},
|
|
218
|
-
required: [],
|
|
219
|
-
},
|
|
220
|
-
currency: {
|
|
221
|
-
type: 'string',
|
|
222
|
-
description: 'The currency code.',
|
|
223
|
-
},
|
|
224
|
-
employer: {
|
|
225
|
-
type: 'boolean',
|
|
226
|
-
description: '`true` if the amount is paid by the employers.',
|
|
227
|
-
},
|
|
228
|
-
name: {
|
|
229
|
-
type: 'string',
|
|
230
|
-
description: 'The exact name of tax from the pay statement.',
|
|
231
|
-
},
|
|
232
|
-
type: {
|
|
233
|
-
type: 'string',
|
|
234
|
-
description: 'The type of taxes.',
|
|
235
|
-
enum: ['state', 'federal', 'local', 'fica'],
|
|
236
|
-
},
|
|
237
|
-
},
|
|
238
|
-
required: [],
|
|
239
|
-
},
|
|
240
|
-
},
|
|
241
|
-
total_hours: {
|
|
242
|
-
type: 'number',
|
|
243
|
-
description: 'The number of hours worked for this pay period',
|
|
244
|
-
},
|
|
245
|
-
type: {
|
|
246
|
-
type: 'string',
|
|
247
|
-
description: 'The type of the payment associated with the pay statement.',
|
|
248
|
-
enum: ['regular_payroll', 'off_cycle_payroll', 'one_time_payment'],
|
|
249
|
-
},
|
|
250
|
-
},
|
|
251
|
-
required: [],
|
|
252
|
-
},
|
|
253
|
-
},
|
|
254
|
-
start_date: {
|
|
255
|
-
type: 'string',
|
|
256
|
-
},
|
|
257
|
-
},
|
|
258
|
-
$defs: {
|
|
259
|
-
benefit_type: {
|
|
260
|
-
type: 'string',
|
|
261
|
-
title: 'BenefitType',
|
|
262
|
-
description: 'Type of benefit.',
|
|
263
|
-
enum: [
|
|
264
|
-
'401k',
|
|
265
|
-
'401k_roth',
|
|
266
|
-
'401k_loan',
|
|
267
|
-
'403b',
|
|
268
|
-
'403b_roth',
|
|
269
|
-
'457',
|
|
270
|
-
'457_roth',
|
|
271
|
-
's125_medical',
|
|
272
|
-
's125_dental',
|
|
273
|
-
's125_vision',
|
|
274
|
-
'hsa_pre',
|
|
275
|
-
'hsa_post',
|
|
276
|
-
'fsa_medical',
|
|
277
|
-
'fsa_dependent_care',
|
|
278
|
-
'simple_ira',
|
|
279
|
-
'simple',
|
|
280
|
-
'commuter',
|
|
281
|
-
'custom_post_tax',
|
|
282
|
-
'custom_pre_tax',
|
|
283
|
-
],
|
|
284
|
-
},
|
|
285
|
-
money: {
|
|
286
|
-
type: 'object',
|
|
287
|
-
title: 'Money',
|
|
288
|
-
properties: {
|
|
289
|
-
amount: {
|
|
290
|
-
type: 'integer',
|
|
291
|
-
description: 'Amount for money object (in cents)',
|
|
292
|
-
},
|
|
293
|
-
currency: {
|
|
294
|
-
type: 'string',
|
|
295
|
-
},
|
|
296
|
-
},
|
|
297
|
-
required: [],
|
|
298
|
-
},
|
|
299
|
-
},
|
|
300
|
-
},
|
|
301
|
-
};
|
|
302
|
-
|
|
303
|
-
export const handler = (client: Finch, args: Record<string, unknown> | undefined) => {
|
|
304
|
-
const body = args as any;
|
|
305
|
-
return client.sandbox.payment.create(body);
|
|
306
|
-
};
|
|
307
|
-
|
|
308
|
-
export default { metadata, tool, handler };
|
package/src/tools.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './tools/index';
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { Tool } from '@modelcontextprotocol/sdk/types.js';
|
|
2
|
-
import type { Metadata } from "..//index.mjs";
|
|
3
|
-
import Finch from '@tryfinch/finch-api';
|
|
4
|
-
export declare const metadata: Metadata;
|
|
5
|
-
export declare const tool: Tool;
|
|
6
|
-
export declare const handler: (client: Finch, args: Record<string, unknown> | undefined) => import("@tryfinch/finch-api/core").APIPromise<Finch.AccessTokens.CreateAccessTokenResponse>;
|
|
7
|
-
declare const _default: {
|
|
8
|
-
metadata: Metadata;
|
|
9
|
-
tool: {
|
|
10
|
-
[x: string]: unknown;
|
|
11
|
-
name: string;
|
|
12
|
-
inputSchema: {
|
|
13
|
-
[x: string]: unknown;
|
|
14
|
-
type: "object";
|
|
15
|
-
properties?: {
|
|
16
|
-
[x: string]: unknown;
|
|
17
|
-
} | undefined;
|
|
18
|
-
};
|
|
19
|
-
description?: string | undefined;
|
|
20
|
-
annotations?: {
|
|
21
|
-
[x: string]: unknown;
|
|
22
|
-
title?: string | undefined;
|
|
23
|
-
readOnlyHint?: boolean | undefined;
|
|
24
|
-
destructiveHint?: boolean | undefined;
|
|
25
|
-
idempotentHint?: boolean | undefined;
|
|
26
|
-
openWorldHint?: boolean | undefined;
|
|
27
|
-
} | undefined;
|
|
28
|
-
};
|
|
29
|
-
handler: (client: Finch, args: Record<string, unknown> | undefined) => import("@tryfinch/finch-api/core").APIPromise<Finch.AccessTokens.CreateAccessTokenResponse>;
|
|
30
|
-
};
|
|
31
|
-
export default _default;
|
|
32
|
-
//# sourceMappingURL=create-access-tokens.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"create-access-tokens.d.mts","sourceRoot":"","sources":["../../src/tools/access-tokens/create-access-tokens.ts"],"names":[],"mappings":"OAEO,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,KAAK,EAAE,QAAQ,EAAE;OACjB,KAAK,MAAM,qBAAqB;AAEvC,eAAO,MAAM,QAAQ,EAAE,QAItB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IAoBlB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAI,QAAQ,KAAK,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,gGAG/E,CAAC;;;;;;;;;;;;;;;;;;;;;;;sBAH8B,KAAK,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAKhF,wBAA2C"}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { Tool } from '@modelcontextprotocol/sdk/types.js';
|
|
2
|
-
import type { Metadata } from "..//index.js";
|
|
3
|
-
import Finch from '@tryfinch/finch-api';
|
|
4
|
-
export declare const metadata: Metadata;
|
|
5
|
-
export declare const tool: Tool;
|
|
6
|
-
export declare const handler: (client: Finch, args: Record<string, unknown> | undefined) => import("@tryfinch/finch-api/core").APIPromise<Finch.AccessTokens.CreateAccessTokenResponse>;
|
|
7
|
-
declare const _default: {
|
|
8
|
-
metadata: Metadata;
|
|
9
|
-
tool: {
|
|
10
|
-
[x: string]: unknown;
|
|
11
|
-
name: string;
|
|
12
|
-
inputSchema: {
|
|
13
|
-
[x: string]: unknown;
|
|
14
|
-
type: "object";
|
|
15
|
-
properties?: {
|
|
16
|
-
[x: string]: unknown;
|
|
17
|
-
} | undefined;
|
|
18
|
-
};
|
|
19
|
-
description?: string | undefined;
|
|
20
|
-
annotations?: {
|
|
21
|
-
[x: string]: unknown;
|
|
22
|
-
title?: string | undefined;
|
|
23
|
-
readOnlyHint?: boolean | undefined;
|
|
24
|
-
destructiveHint?: boolean | undefined;
|
|
25
|
-
idempotentHint?: boolean | undefined;
|
|
26
|
-
openWorldHint?: boolean | undefined;
|
|
27
|
-
} | undefined;
|
|
28
|
-
};
|
|
29
|
-
handler: (client: Finch, args: Record<string, unknown> | undefined) => import("@tryfinch/finch-api/core").APIPromise<Finch.AccessTokens.CreateAccessTokenResponse>;
|
|
30
|
-
};
|
|
31
|
-
export default _default;
|
|
32
|
-
//# sourceMappingURL=create-access-tokens.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"create-access-tokens.d.ts","sourceRoot":"","sources":["../../src/tools/access-tokens/create-access-tokens.ts"],"names":[],"mappings":"OAEO,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,KAAK,EAAE,QAAQ,EAAE;OACjB,KAAK,MAAM,qBAAqB;AAEvC,eAAO,MAAM,QAAQ,EAAE,QAItB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IAoBlB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAI,QAAQ,KAAK,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,gGAG/E,CAAC;;;;;;;;;;;;;;;;;;;;;;;sBAH8B,KAAK,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAKhF,wBAA2C"}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.handler = exports.tool = exports.metadata = void 0;
|
|
5
|
-
exports.metadata = {
|
|
6
|
-
resource: 'access_tokens',
|
|
7
|
-
operation: 'write',
|
|
8
|
-
tags: [],
|
|
9
|
-
};
|
|
10
|
-
exports.tool = {
|
|
11
|
-
name: 'create_access_tokens',
|
|
12
|
-
description: 'Exchange the authorization code for an access token',
|
|
13
|
-
inputSchema: {
|
|
14
|
-
type: 'object',
|
|
15
|
-
properties: {
|
|
16
|
-
code: {
|
|
17
|
-
type: 'string',
|
|
18
|
-
},
|
|
19
|
-
client_id: {
|
|
20
|
-
type: 'string',
|
|
21
|
-
},
|
|
22
|
-
client_secret: {
|
|
23
|
-
type: 'string',
|
|
24
|
-
},
|
|
25
|
-
redirect_uri: {
|
|
26
|
-
type: 'string',
|
|
27
|
-
},
|
|
28
|
-
},
|
|
29
|
-
},
|
|
30
|
-
};
|
|
31
|
-
const handler = (client, args) => {
|
|
32
|
-
const body = args;
|
|
33
|
-
return client.accessTokens.create(body);
|
|
34
|
-
};
|
|
35
|
-
exports.handler = handler;
|
|
36
|
-
exports.default = { metadata: exports.metadata, tool: exports.tool, handler: exports.handler };
|
|
37
|
-
//# sourceMappingURL=create-access-tokens.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"create-access-tokens.js","sourceRoot":"","sources":["../../src/tools/access-tokens/create-access-tokens.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAMzE,QAAA,QAAQ,GAAa;IAChC,QAAQ,EAAE,eAAe;IACzB,SAAS,EAAE,OAAO;IAClB,IAAI,EAAE,EAAE;CACT,CAAC;AAEW,QAAA,IAAI,GAAS;IACxB,IAAI,EAAE,sBAAsB;IAC5B,WAAW,EAAE,qDAAqD;IAClE,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,IAAI,EAAE;gBACJ,IAAI,EAAE,QAAQ;aACf;YACD,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;aACf;YACD,aAAa,EAAE;gBACb,IAAI,EAAE,QAAQ;aACf;YACD,YAAY,EAAE;gBACZ,IAAI,EAAE,QAAQ;aACf;SACF;KACF;CACF,CAAC;AAEK,MAAM,OAAO,GAAG,CAAC,MAAa,EAAE,IAAyC,EAAE,EAAE;IAClF,MAAM,IAAI,GAAG,IAAW,CAAC;IACzB,OAAO,MAAM,CAAC,YAAY,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;AAC1C,CAAC,CAAC;AAHW,QAAA,OAAO,WAGlB;AAEF,kBAAe,EAAE,QAAQ,EAAR,gBAAQ,EAAE,IAAI,EAAJ,YAAI,EAAE,OAAO,EAAP,eAAO,EAAE,CAAC"}
|