@tryfinch/finch-api-mcp 6.27.0 → 6.28.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 +53 -1
- package/compat.d.mts +52 -0
- package/compat.d.mts.map +1 -0
- package/compat.d.ts +52 -0
- package/compat.d.ts.map +1 -0
- package/compat.js +342 -0
- package/compat.js.map +1 -0
- package/compat.mjs +332 -0
- package/compat.mjs.map +1 -0
- package/compat.test.d.mts +2 -0
- package/compat.test.d.mts.map +1 -0
- package/compat.test.d.ts +2 -0
- package/compat.test.d.ts.map +1 -0
- package/compat.test.js +950 -0
- package/compat.test.js.map +1 -0
- package/compat.test.mjs +948 -0
- package/compat.test.mjs.map +1 -0
- package/index.js +37 -110
- package/index.js.map +1 -1
- package/index.mjs +37 -107
- package/index.mjs.map +1 -1
- package/options.d.mts +9 -0
- package/options.d.mts.map +1 -0
- package/options.d.ts +9 -0
- package/options.d.ts.map +1 -0
- package/options.js +320 -0
- package/options.js.map +1 -0
- package/options.mjs +314 -0
- package/options.mjs.map +1 -0
- package/options.test.d.mts +2 -0
- package/options.test.d.mts.map +1 -0
- package/options.test.d.ts +2 -0
- package/options.test.d.ts.map +1 -0
- package/options.test.js +154 -0
- package/options.test.js.map +1 -0
- package/options.test.mjs +152 -0
- package/options.test.mjs.map +1 -0
- package/package.json +2 -2
- package/server.d.mts +3 -1
- package/server.d.mts.map +1 -1
- package/server.d.ts +3 -1
- package/server.d.ts.map +1 -1
- package/server.js +15 -11
- package/server.js.map +1 -1
- package/server.mjs +12 -8
- package/server.mjs.map +1 -1
- package/src/compat.test.ts +1068 -0
- package/src/compat.ts +429 -0
- package/src/index.ts +38 -122
- package/src/options.test.ts +193 -0
- package/src/options.ts +339 -0
- package/src/server.ts +15 -10
- package/src/tools/access-tokens/create-access-tokens.ts +2 -2
- package/src/tools/account/disconnect-account.ts +1 -2
- package/src/tools/account/introspect-account.ts +1 -2
- package/src/tools/connect/sessions/new-connect-sessions.ts +2 -2
- package/src/tools/connect/sessions/reauthenticate-connect-sessions.ts +2 -2
- package/src/tools/hris/benefits/create-hris-benefits.ts +38 -3
- package/src/tools/hris/benefits/individuals/enroll-many-benefits-hris-individuals.ts +2 -2
- package/src/tools/hris/benefits/individuals/enrolled-ids-benefits-hris-individuals.ts +2 -2
- package/src/tools/hris/benefits/individuals/retrieve-many-benefits-benefits-hris-individuals.ts +2 -2
- package/src/tools/hris/benefits/individuals/unenroll-many-benefits-hris-individuals.ts +2 -2
- package/src/tools/hris/benefits/list-hris-benefits.ts +1 -2
- package/src/tools/hris/benefits/list-supported-benefits-hris-benefits.ts +1 -2
- package/src/tools/hris/benefits/retrieve-hris-benefits.ts +2 -2
- package/src/tools/hris/benefits/update-hris-benefits.ts +2 -2
- package/src/tools/hris/company/pay-statement-item/list-company-hris-pay-statement-item.ts +2 -2
- package/src/tools/hris/company/pay-statement-item/rules/create-pay-statement-item-company-hris-rules.ts +2 -2
- package/src/tools/hris/company/pay-statement-item/rules/delete-pay-statement-item-company-hris-rules.ts +2 -2
- package/src/tools/hris/company/pay-statement-item/rules/list-pay-statement-item-company-hris-rules.ts +1 -2
- package/src/tools/hris/company/pay-statement-item/rules/update-pay-statement-item-company-hris-rules.ts +2 -2
- package/src/tools/hris/company/retrieve-hris-company.ts +1 -2
- package/src/tools/hris/directory/list-hris-directory.ts +2 -2
- package/src/tools/hris/directory/list-individuals-hris-directory.ts +2 -2
- package/src/tools/hris/documents/list-hris-documents.ts +2 -2
- package/src/tools/hris/documents/retreive-hris-documents.ts +2 -2
- package/src/tools/hris/employments/retrieve-many-hris-employments.ts +2 -2
- package/src/tools/hris/individuals/retrieve-many-hris-individuals.ts +2 -2
- package/src/tools/hris/pay-statements/retrieve-many-hris-pay-statements.ts +2 -2
- package/src/tools/hris/payments/list-hris-payments.ts +2 -2
- package/src/tools/index.ts +16 -2
- package/src/tools/jobs/automated/create-jobs-automated.ts +2 -2
- package/src/tools/jobs/automated/list-jobs-automated.ts +2 -2
- package/src/tools/jobs/automated/retrieve-jobs-automated.ts +2 -2
- package/src/tools/jobs/manual/retrieve-jobs-manual.ts +2 -2
- package/src/tools/payroll/pay-groups/list-payroll-pay-groups.ts +2 -2
- package/src/tools/payroll/pay-groups/retrieve-payroll-pay-groups.ts +2 -2
- package/src/tools/providers/list-providers.ts +1 -2
- package/src/tools/request-forwarding/forward-request-forwarding.ts +2 -2
- package/src/tools/sandbox/company/update-sandbox-company.ts +42 -37
- package/src/tools/sandbox/connections/accounts/create-connections-sandbox-accounts.ts +2 -2
- package/src/tools/sandbox/connections/accounts/update-connections-sandbox-accounts.ts +7 -2
- package/src/tools/sandbox/connections/create-sandbox-connections.ts +2 -2
- package/src/tools/sandbox/directory/create-sandbox-directory.ts +82 -74
- package/src/tools/sandbox/employment/update-sandbox-employment.ts +62 -54
- package/src/tools/sandbox/individual/update-sandbox-individual.ts +19 -14
- package/src/tools/sandbox/jobs/configuration/retrieve-jobs-sandbox-configuration.ts +1 -2
- package/src/tools/sandbox/jobs/configuration/update-jobs-sandbox-configuration.ts +2 -2
- package/src/tools/sandbox/jobs/create-sandbox-jobs.ts +2 -2
- package/src/tools/sandbox/payment/create-sandbox-payment.ts +48 -40
- package/tools/access-tokens/create-access-tokens.d.mts +2 -2
- package/tools/access-tokens/create-access-tokens.d.mts.map +1 -1
- package/tools/access-tokens/create-access-tokens.d.ts +2 -2
- package/tools/access-tokens/create-access-tokens.d.ts.map +1 -1
- package/tools/access-tokens/create-access-tokens.js +1 -1
- package/tools/access-tokens/create-access-tokens.js.map +1 -1
- package/tools/access-tokens/create-access-tokens.mjs +1 -1
- package/tools/access-tokens/create-access-tokens.mjs.map +1 -1
- package/tools/account/disconnect-account.d.mts +2 -2
- package/tools/account/disconnect-account.d.mts.map +1 -1
- package/tools/account/disconnect-account.d.ts +2 -2
- package/tools/account/disconnect-account.d.ts.map +1 -1
- package/tools/account/disconnect-account.js +0 -1
- package/tools/account/disconnect-account.js.map +1 -1
- package/tools/account/disconnect-account.mjs +0 -1
- package/tools/account/disconnect-account.mjs.map +1 -1
- package/tools/account/introspect-account.d.mts +2 -2
- package/tools/account/introspect-account.d.mts.map +1 -1
- package/tools/account/introspect-account.d.ts +2 -2
- package/tools/account/introspect-account.d.ts.map +1 -1
- package/tools/account/introspect-account.js +0 -1
- package/tools/account/introspect-account.js.map +1 -1
- package/tools/account/introspect-account.mjs +0 -1
- package/tools/account/introspect-account.mjs.map +1 -1
- package/tools/connect/sessions/new-connect-sessions.d.mts +2 -2
- package/tools/connect/sessions/new-connect-sessions.d.mts.map +1 -1
- package/tools/connect/sessions/new-connect-sessions.d.ts +2 -2
- package/tools/connect/sessions/new-connect-sessions.d.ts.map +1 -1
- package/tools/connect/sessions/new-connect-sessions.js +1 -1
- package/tools/connect/sessions/new-connect-sessions.js.map +1 -1
- package/tools/connect/sessions/new-connect-sessions.mjs +1 -1
- package/tools/connect/sessions/new-connect-sessions.mjs.map +1 -1
- package/tools/connect/sessions/reauthenticate-connect-sessions.d.mts +2 -2
- package/tools/connect/sessions/reauthenticate-connect-sessions.d.mts.map +1 -1
- package/tools/connect/sessions/reauthenticate-connect-sessions.d.ts +2 -2
- package/tools/connect/sessions/reauthenticate-connect-sessions.d.ts.map +1 -1
- package/tools/connect/sessions/reauthenticate-connect-sessions.js +1 -1
- package/tools/connect/sessions/reauthenticate-connect-sessions.js.map +1 -1
- package/tools/connect/sessions/reauthenticate-connect-sessions.mjs +1 -1
- package/tools/connect/sessions/reauthenticate-connect-sessions.mjs.map +1 -1
- package/tools/hris/benefits/create-hris-benefits.d.mts +2 -2
- package/tools/hris/benefits/create-hris-benefits.d.mts.map +1 -1
- package/tools/hris/benefits/create-hris-benefits.d.ts +2 -2
- package/tools/hris/benefits/create-hris-benefits.d.ts.map +1 -1
- package/tools/hris/benefits/create-hris-benefits.js +37 -2
- package/tools/hris/benefits/create-hris-benefits.js.map +1 -1
- package/tools/hris/benefits/create-hris-benefits.mjs +37 -2
- package/tools/hris/benefits/create-hris-benefits.mjs.map +1 -1
- package/tools/hris/benefits/individuals/enroll-many-benefits-hris-individuals.d.mts +2 -2
- package/tools/hris/benefits/individuals/enroll-many-benefits-hris-individuals.d.mts.map +1 -1
- package/tools/hris/benefits/individuals/enroll-many-benefits-hris-individuals.d.ts +2 -2
- package/tools/hris/benefits/individuals/enroll-many-benefits-hris-individuals.d.ts.map +1 -1
- package/tools/hris/benefits/individuals/enroll-many-benefits-hris-individuals.js.map +1 -1
- package/tools/hris/benefits/individuals/enroll-many-benefits-hris-individuals.mjs.map +1 -1
- package/tools/hris/benefits/individuals/enrolled-ids-benefits-hris-individuals.d.mts +2 -2
- package/tools/hris/benefits/individuals/enrolled-ids-benefits-hris-individuals.d.mts.map +1 -1
- package/tools/hris/benefits/individuals/enrolled-ids-benefits-hris-individuals.d.ts +2 -2
- package/tools/hris/benefits/individuals/enrolled-ids-benefits-hris-individuals.d.ts.map +1 -1
- package/tools/hris/benefits/individuals/enrolled-ids-benefits-hris-individuals.js +1 -1
- package/tools/hris/benefits/individuals/enrolled-ids-benefits-hris-individuals.js.map +1 -1
- package/tools/hris/benefits/individuals/enrolled-ids-benefits-hris-individuals.mjs +1 -1
- package/tools/hris/benefits/individuals/enrolled-ids-benefits-hris-individuals.mjs.map +1 -1
- package/tools/hris/benefits/individuals/retrieve-many-benefits-benefits-hris-individuals.d.mts +2 -2
- package/tools/hris/benefits/individuals/retrieve-many-benefits-benefits-hris-individuals.d.mts.map +1 -1
- package/tools/hris/benefits/individuals/retrieve-many-benefits-benefits-hris-individuals.d.ts +2 -2
- package/tools/hris/benefits/individuals/retrieve-many-benefits-benefits-hris-individuals.d.ts.map +1 -1
- package/tools/hris/benefits/individuals/retrieve-many-benefits-benefits-hris-individuals.js.map +1 -1
- package/tools/hris/benefits/individuals/retrieve-many-benefits-benefits-hris-individuals.mjs.map +1 -1
- package/tools/hris/benefits/individuals/unenroll-many-benefits-hris-individuals.d.mts +2 -2
- package/tools/hris/benefits/individuals/unenroll-many-benefits-hris-individuals.d.mts.map +1 -1
- package/tools/hris/benefits/individuals/unenroll-many-benefits-hris-individuals.d.ts +2 -2
- package/tools/hris/benefits/individuals/unenroll-many-benefits-hris-individuals.d.ts.map +1 -1
- package/tools/hris/benefits/individuals/unenroll-many-benefits-hris-individuals.js.map +1 -1
- package/tools/hris/benefits/individuals/unenroll-many-benefits-hris-individuals.mjs.map +1 -1
- package/tools/hris/benefits/list-hris-benefits.d.mts +2 -2
- package/tools/hris/benefits/list-hris-benefits.d.mts.map +1 -1
- package/tools/hris/benefits/list-hris-benefits.d.ts +2 -2
- package/tools/hris/benefits/list-hris-benefits.d.ts.map +1 -1
- package/tools/hris/benefits/list-hris-benefits.js +0 -1
- package/tools/hris/benefits/list-hris-benefits.js.map +1 -1
- package/tools/hris/benefits/list-hris-benefits.mjs +0 -1
- package/tools/hris/benefits/list-hris-benefits.mjs.map +1 -1
- package/tools/hris/benefits/list-supported-benefits-hris-benefits.d.mts +2 -2
- package/tools/hris/benefits/list-supported-benefits-hris-benefits.d.mts.map +1 -1
- package/tools/hris/benefits/list-supported-benefits-hris-benefits.d.ts +2 -2
- package/tools/hris/benefits/list-supported-benefits-hris-benefits.d.ts.map +1 -1
- package/tools/hris/benefits/list-supported-benefits-hris-benefits.js +0 -1
- package/tools/hris/benefits/list-supported-benefits-hris-benefits.js.map +1 -1
- package/tools/hris/benefits/list-supported-benefits-hris-benefits.mjs +0 -1
- package/tools/hris/benefits/list-supported-benefits-hris-benefits.mjs.map +1 -1
- package/tools/hris/benefits/retrieve-hris-benefits.d.mts +2 -2
- package/tools/hris/benefits/retrieve-hris-benefits.d.mts.map +1 -1
- package/tools/hris/benefits/retrieve-hris-benefits.d.ts +2 -2
- package/tools/hris/benefits/retrieve-hris-benefits.d.ts.map +1 -1
- package/tools/hris/benefits/retrieve-hris-benefits.js +1 -1
- package/tools/hris/benefits/retrieve-hris-benefits.js.map +1 -1
- package/tools/hris/benefits/retrieve-hris-benefits.mjs +1 -1
- package/tools/hris/benefits/retrieve-hris-benefits.mjs.map +1 -1
- package/tools/hris/benefits/update-hris-benefits.d.mts +2 -2
- package/tools/hris/benefits/update-hris-benefits.d.mts.map +1 -1
- package/tools/hris/benefits/update-hris-benefits.d.ts +2 -2
- package/tools/hris/benefits/update-hris-benefits.d.ts.map +1 -1
- package/tools/hris/benefits/update-hris-benefits.js.map +1 -1
- package/tools/hris/benefits/update-hris-benefits.mjs.map +1 -1
- package/tools/hris/company/pay-statement-item/list-company-hris-pay-statement-item.d.mts +2 -2
- package/tools/hris/company/pay-statement-item/list-company-hris-pay-statement-item.d.mts.map +1 -1
- package/tools/hris/company/pay-statement-item/list-company-hris-pay-statement-item.d.ts +2 -2
- package/tools/hris/company/pay-statement-item/list-company-hris-pay-statement-item.d.ts.map +1 -1
- package/tools/hris/company/pay-statement-item/list-company-hris-pay-statement-item.js +1 -1
- package/tools/hris/company/pay-statement-item/list-company-hris-pay-statement-item.js.map +1 -1
- package/tools/hris/company/pay-statement-item/list-company-hris-pay-statement-item.mjs +1 -1
- package/tools/hris/company/pay-statement-item/list-company-hris-pay-statement-item.mjs.map +1 -1
- package/tools/hris/company/pay-statement-item/rules/create-pay-statement-item-company-hris-rules.d.mts +2 -2
- package/tools/hris/company/pay-statement-item/rules/create-pay-statement-item-company-hris-rules.d.mts.map +1 -1
- package/tools/hris/company/pay-statement-item/rules/create-pay-statement-item-company-hris-rules.d.ts +2 -2
- package/tools/hris/company/pay-statement-item/rules/create-pay-statement-item-company-hris-rules.d.ts.map +1 -1
- package/tools/hris/company/pay-statement-item/rules/create-pay-statement-item-company-hris-rules.js +1 -1
- package/tools/hris/company/pay-statement-item/rules/create-pay-statement-item-company-hris-rules.js.map +1 -1
- package/tools/hris/company/pay-statement-item/rules/create-pay-statement-item-company-hris-rules.mjs +1 -1
- package/tools/hris/company/pay-statement-item/rules/create-pay-statement-item-company-hris-rules.mjs.map +1 -1
- package/tools/hris/company/pay-statement-item/rules/delete-pay-statement-item-company-hris-rules.d.mts +2 -2
- package/tools/hris/company/pay-statement-item/rules/delete-pay-statement-item-company-hris-rules.d.mts.map +1 -1
- package/tools/hris/company/pay-statement-item/rules/delete-pay-statement-item-company-hris-rules.d.ts +2 -2
- package/tools/hris/company/pay-statement-item/rules/delete-pay-statement-item-company-hris-rules.d.ts.map +1 -1
- package/tools/hris/company/pay-statement-item/rules/delete-pay-statement-item-company-hris-rules.js +1 -1
- package/tools/hris/company/pay-statement-item/rules/delete-pay-statement-item-company-hris-rules.js.map +1 -1
- package/tools/hris/company/pay-statement-item/rules/delete-pay-statement-item-company-hris-rules.mjs +1 -1
- package/tools/hris/company/pay-statement-item/rules/delete-pay-statement-item-company-hris-rules.mjs.map +1 -1
- package/tools/hris/company/pay-statement-item/rules/list-pay-statement-item-company-hris-rules.d.mts +2 -2
- package/tools/hris/company/pay-statement-item/rules/list-pay-statement-item-company-hris-rules.d.mts.map +1 -1
- package/tools/hris/company/pay-statement-item/rules/list-pay-statement-item-company-hris-rules.d.ts +2 -2
- package/tools/hris/company/pay-statement-item/rules/list-pay-statement-item-company-hris-rules.d.ts.map +1 -1
- package/tools/hris/company/pay-statement-item/rules/list-pay-statement-item-company-hris-rules.js +0 -1
- package/tools/hris/company/pay-statement-item/rules/list-pay-statement-item-company-hris-rules.js.map +1 -1
- package/tools/hris/company/pay-statement-item/rules/list-pay-statement-item-company-hris-rules.mjs +0 -1
- package/tools/hris/company/pay-statement-item/rules/list-pay-statement-item-company-hris-rules.mjs.map +1 -1
- package/tools/hris/company/pay-statement-item/rules/update-pay-statement-item-company-hris-rules.d.mts +2 -2
- package/tools/hris/company/pay-statement-item/rules/update-pay-statement-item-company-hris-rules.d.mts.map +1 -1
- package/tools/hris/company/pay-statement-item/rules/update-pay-statement-item-company-hris-rules.d.ts +2 -2
- package/tools/hris/company/pay-statement-item/rules/update-pay-statement-item-company-hris-rules.d.ts.map +1 -1
- package/tools/hris/company/pay-statement-item/rules/update-pay-statement-item-company-hris-rules.js.map +1 -1
- package/tools/hris/company/pay-statement-item/rules/update-pay-statement-item-company-hris-rules.mjs.map +1 -1
- package/tools/hris/company/retrieve-hris-company.d.mts +2 -2
- package/tools/hris/company/retrieve-hris-company.d.mts.map +1 -1
- package/tools/hris/company/retrieve-hris-company.d.ts +2 -2
- package/tools/hris/company/retrieve-hris-company.d.ts.map +1 -1
- package/tools/hris/company/retrieve-hris-company.js +0 -1
- package/tools/hris/company/retrieve-hris-company.js.map +1 -1
- package/tools/hris/company/retrieve-hris-company.mjs +0 -1
- package/tools/hris/company/retrieve-hris-company.mjs.map +1 -1
- package/tools/hris/directory/list-hris-directory.d.mts +2 -2
- package/tools/hris/directory/list-hris-directory.d.mts.map +1 -1
- package/tools/hris/directory/list-hris-directory.d.ts +2 -2
- package/tools/hris/directory/list-hris-directory.d.ts.map +1 -1
- package/tools/hris/directory/list-hris-directory.js +1 -1
- package/tools/hris/directory/list-hris-directory.js.map +1 -1
- package/tools/hris/directory/list-hris-directory.mjs +1 -1
- package/tools/hris/directory/list-hris-directory.mjs.map +1 -1
- package/tools/hris/directory/list-individuals-hris-directory.d.mts +2 -2
- package/tools/hris/directory/list-individuals-hris-directory.d.mts.map +1 -1
- package/tools/hris/directory/list-individuals-hris-directory.d.ts +2 -2
- package/tools/hris/directory/list-individuals-hris-directory.d.ts.map +1 -1
- package/tools/hris/directory/list-individuals-hris-directory.js +1 -1
- package/tools/hris/directory/list-individuals-hris-directory.js.map +1 -1
- package/tools/hris/directory/list-individuals-hris-directory.mjs +1 -1
- package/tools/hris/directory/list-individuals-hris-directory.mjs.map +1 -1
- package/tools/hris/documents/list-hris-documents.d.mts +2 -2
- package/tools/hris/documents/list-hris-documents.d.mts.map +1 -1
- package/tools/hris/documents/list-hris-documents.d.ts +2 -2
- package/tools/hris/documents/list-hris-documents.d.ts.map +1 -1
- package/tools/hris/documents/list-hris-documents.js +1 -1
- package/tools/hris/documents/list-hris-documents.js.map +1 -1
- package/tools/hris/documents/list-hris-documents.mjs +1 -1
- package/tools/hris/documents/list-hris-documents.mjs.map +1 -1
- package/tools/hris/documents/retreive-hris-documents.d.mts +2 -2
- package/tools/hris/documents/retreive-hris-documents.d.mts.map +1 -1
- package/tools/hris/documents/retreive-hris-documents.d.ts +2 -2
- package/tools/hris/documents/retreive-hris-documents.d.ts.map +1 -1
- package/tools/hris/documents/retreive-hris-documents.js +1 -1
- package/tools/hris/documents/retreive-hris-documents.js.map +1 -1
- package/tools/hris/documents/retreive-hris-documents.mjs +1 -1
- package/tools/hris/documents/retreive-hris-documents.mjs.map +1 -1
- package/tools/hris/employments/retrieve-many-hris-employments.d.mts +2 -2
- package/tools/hris/employments/retrieve-many-hris-employments.d.mts.map +1 -1
- package/tools/hris/employments/retrieve-many-hris-employments.d.ts +2 -2
- package/tools/hris/employments/retrieve-many-hris-employments.d.ts.map +1 -1
- package/tools/hris/employments/retrieve-many-hris-employments.js +1 -1
- package/tools/hris/employments/retrieve-many-hris-employments.js.map +1 -1
- package/tools/hris/employments/retrieve-many-hris-employments.mjs +1 -1
- package/tools/hris/employments/retrieve-many-hris-employments.mjs.map +1 -1
- package/tools/hris/individuals/retrieve-many-hris-individuals.d.mts +2 -2
- package/tools/hris/individuals/retrieve-many-hris-individuals.d.mts.map +1 -1
- package/tools/hris/individuals/retrieve-many-hris-individuals.d.ts +2 -2
- package/tools/hris/individuals/retrieve-many-hris-individuals.d.ts.map +1 -1
- package/tools/hris/individuals/retrieve-many-hris-individuals.js +1 -1
- package/tools/hris/individuals/retrieve-many-hris-individuals.js.map +1 -1
- package/tools/hris/individuals/retrieve-many-hris-individuals.mjs +1 -1
- package/tools/hris/individuals/retrieve-many-hris-individuals.mjs.map +1 -1
- package/tools/hris/pay-statements/retrieve-many-hris-pay-statements.d.mts +2 -2
- package/tools/hris/pay-statements/retrieve-many-hris-pay-statements.d.mts.map +1 -1
- package/tools/hris/pay-statements/retrieve-many-hris-pay-statements.d.ts +2 -2
- package/tools/hris/pay-statements/retrieve-many-hris-pay-statements.d.ts.map +1 -1
- package/tools/hris/pay-statements/retrieve-many-hris-pay-statements.js +1 -1
- package/tools/hris/pay-statements/retrieve-many-hris-pay-statements.js.map +1 -1
- package/tools/hris/pay-statements/retrieve-many-hris-pay-statements.mjs +1 -1
- package/tools/hris/pay-statements/retrieve-many-hris-pay-statements.mjs.map +1 -1
- package/tools/hris/payments/list-hris-payments.d.mts +2 -2
- package/tools/hris/payments/list-hris-payments.d.mts.map +1 -1
- package/tools/hris/payments/list-hris-payments.d.ts +2 -2
- package/tools/hris/payments/list-hris-payments.d.ts.map +1 -1
- package/tools/hris/payments/list-hris-payments.js +1 -1
- package/tools/hris/payments/list-hris-payments.js.map +1 -1
- package/tools/hris/payments/list-hris-payments.mjs +1 -1
- package/tools/hris/payments/list-hris-payments.mjs.map +1 -1
- package/tools/index.d.mts +1 -1
- package/tools/index.d.mts.map +1 -1
- package/tools/index.d.ts +1 -1
- package/tools/index.d.ts.map +1 -1
- package/tools/index.js +12 -3
- package/tools/index.js.map +1 -1
- package/tools/index.mjs +10 -1
- package/tools/index.mjs.map +1 -1
- package/tools/jobs/automated/create-jobs-automated.d.mts +2 -2
- package/tools/jobs/automated/create-jobs-automated.d.mts.map +1 -1
- package/tools/jobs/automated/create-jobs-automated.d.ts +2 -2
- package/tools/jobs/automated/create-jobs-automated.d.ts.map +1 -1
- package/tools/jobs/automated/create-jobs-automated.js +1 -1
- package/tools/jobs/automated/create-jobs-automated.js.map +1 -1
- package/tools/jobs/automated/create-jobs-automated.mjs +1 -1
- package/tools/jobs/automated/create-jobs-automated.mjs.map +1 -1
- package/tools/jobs/automated/list-jobs-automated.d.mts +2 -2
- package/tools/jobs/automated/list-jobs-automated.d.mts.map +1 -1
- package/tools/jobs/automated/list-jobs-automated.d.ts +2 -2
- package/tools/jobs/automated/list-jobs-automated.d.ts.map +1 -1
- package/tools/jobs/automated/list-jobs-automated.js +1 -1
- package/tools/jobs/automated/list-jobs-automated.js.map +1 -1
- package/tools/jobs/automated/list-jobs-automated.mjs +1 -1
- package/tools/jobs/automated/list-jobs-automated.mjs.map +1 -1
- package/tools/jobs/automated/retrieve-jobs-automated.d.mts +2 -2
- package/tools/jobs/automated/retrieve-jobs-automated.d.mts.map +1 -1
- package/tools/jobs/automated/retrieve-jobs-automated.d.ts +2 -2
- package/tools/jobs/automated/retrieve-jobs-automated.d.ts.map +1 -1
- package/tools/jobs/automated/retrieve-jobs-automated.js +1 -1
- package/tools/jobs/automated/retrieve-jobs-automated.js.map +1 -1
- package/tools/jobs/automated/retrieve-jobs-automated.mjs +1 -1
- package/tools/jobs/automated/retrieve-jobs-automated.mjs.map +1 -1
- package/tools/jobs/manual/retrieve-jobs-manual.d.mts +2 -2
- package/tools/jobs/manual/retrieve-jobs-manual.d.mts.map +1 -1
- package/tools/jobs/manual/retrieve-jobs-manual.d.ts +2 -2
- package/tools/jobs/manual/retrieve-jobs-manual.d.ts.map +1 -1
- package/tools/jobs/manual/retrieve-jobs-manual.js +1 -1
- package/tools/jobs/manual/retrieve-jobs-manual.js.map +1 -1
- package/tools/jobs/manual/retrieve-jobs-manual.mjs +1 -1
- package/tools/jobs/manual/retrieve-jobs-manual.mjs.map +1 -1
- package/tools/payroll/pay-groups/list-payroll-pay-groups.d.mts +2 -2
- package/tools/payroll/pay-groups/list-payroll-pay-groups.d.mts.map +1 -1
- package/tools/payroll/pay-groups/list-payroll-pay-groups.d.ts +2 -2
- package/tools/payroll/pay-groups/list-payroll-pay-groups.d.ts.map +1 -1
- package/tools/payroll/pay-groups/list-payroll-pay-groups.js +1 -1
- package/tools/payroll/pay-groups/list-payroll-pay-groups.js.map +1 -1
- package/tools/payroll/pay-groups/list-payroll-pay-groups.mjs +1 -1
- package/tools/payroll/pay-groups/list-payroll-pay-groups.mjs.map +1 -1
- package/tools/payroll/pay-groups/retrieve-payroll-pay-groups.d.mts +2 -2
- package/tools/payroll/pay-groups/retrieve-payroll-pay-groups.d.mts.map +1 -1
- package/tools/payroll/pay-groups/retrieve-payroll-pay-groups.d.ts +2 -2
- package/tools/payroll/pay-groups/retrieve-payroll-pay-groups.d.ts.map +1 -1
- package/tools/payroll/pay-groups/retrieve-payroll-pay-groups.js +1 -1
- package/tools/payroll/pay-groups/retrieve-payroll-pay-groups.js.map +1 -1
- package/tools/payroll/pay-groups/retrieve-payroll-pay-groups.mjs +1 -1
- package/tools/payroll/pay-groups/retrieve-payroll-pay-groups.mjs.map +1 -1
- package/tools/providers/list-providers.d.mts +2 -2
- package/tools/providers/list-providers.d.mts.map +1 -1
- package/tools/providers/list-providers.d.ts +2 -2
- package/tools/providers/list-providers.d.ts.map +1 -1
- package/tools/providers/list-providers.js +0 -1
- package/tools/providers/list-providers.js.map +1 -1
- package/tools/providers/list-providers.mjs +0 -1
- package/tools/providers/list-providers.mjs.map +1 -1
- package/tools/request-forwarding/forward-request-forwarding.d.mts +2 -2
- package/tools/request-forwarding/forward-request-forwarding.d.mts.map +1 -1
- package/tools/request-forwarding/forward-request-forwarding.d.ts +2 -2
- package/tools/request-forwarding/forward-request-forwarding.d.ts.map +1 -1
- package/tools/request-forwarding/forward-request-forwarding.js +1 -1
- package/tools/request-forwarding/forward-request-forwarding.js.map +1 -1
- package/tools/request-forwarding/forward-request-forwarding.mjs +1 -1
- package/tools/request-forwarding/forward-request-forwarding.mjs.map +1 -1
- package/tools/sandbox/company/update-sandbox-company.d.mts +2 -2
- package/tools/sandbox/company/update-sandbox-company.d.mts.map +1 -1
- package/tools/sandbox/company/update-sandbox-company.d.ts +2 -2
- package/tools/sandbox/company/update-sandbox-company.d.ts.map +1 -1
- package/tools/sandbox/company/update-sandbox-company.js +41 -36
- package/tools/sandbox/company/update-sandbox-company.js.map +1 -1
- package/tools/sandbox/company/update-sandbox-company.mjs +41 -36
- package/tools/sandbox/company/update-sandbox-company.mjs.map +1 -1
- package/tools/sandbox/connections/accounts/create-connections-sandbox-accounts.d.mts +2 -2
- package/tools/sandbox/connections/accounts/create-connections-sandbox-accounts.d.mts.map +1 -1
- package/tools/sandbox/connections/accounts/create-connections-sandbox-accounts.d.ts +2 -2
- package/tools/sandbox/connections/accounts/create-connections-sandbox-accounts.d.ts.map +1 -1
- package/tools/sandbox/connections/accounts/create-connections-sandbox-accounts.js +1 -1
- package/tools/sandbox/connections/accounts/create-connections-sandbox-accounts.js.map +1 -1
- package/tools/sandbox/connections/accounts/create-connections-sandbox-accounts.mjs +1 -1
- package/tools/sandbox/connections/accounts/create-connections-sandbox-accounts.mjs.map +1 -1
- package/tools/sandbox/connections/accounts/update-connections-sandbox-accounts.d.mts +2 -2
- package/tools/sandbox/connections/accounts/update-connections-sandbox-accounts.d.mts.map +1 -1
- package/tools/sandbox/connections/accounts/update-connections-sandbox-accounts.d.ts +2 -2
- package/tools/sandbox/connections/accounts/update-connections-sandbox-accounts.d.ts.map +1 -1
- package/tools/sandbox/connections/accounts/update-connections-sandbox-accounts.js +6 -1
- package/tools/sandbox/connections/accounts/update-connections-sandbox-accounts.js.map +1 -1
- package/tools/sandbox/connections/accounts/update-connections-sandbox-accounts.mjs +6 -1
- package/tools/sandbox/connections/accounts/update-connections-sandbox-accounts.mjs.map +1 -1
- package/tools/sandbox/connections/create-sandbox-connections.d.mts +2 -2
- package/tools/sandbox/connections/create-sandbox-connections.d.mts.map +1 -1
- package/tools/sandbox/connections/create-sandbox-connections.d.ts +2 -2
- package/tools/sandbox/connections/create-sandbox-connections.d.ts.map +1 -1
- package/tools/sandbox/connections/create-sandbox-connections.js +1 -1
- package/tools/sandbox/connections/create-sandbox-connections.js.map +1 -1
- package/tools/sandbox/connections/create-sandbox-connections.mjs +1 -1
- package/tools/sandbox/connections/create-sandbox-connections.mjs.map +1 -1
- package/tools/sandbox/directory/create-sandbox-directory.d.mts +2 -2
- package/tools/sandbox/directory/create-sandbox-directory.d.mts.map +1 -1
- package/tools/sandbox/directory/create-sandbox-directory.d.ts +2 -2
- package/tools/sandbox/directory/create-sandbox-directory.d.ts.map +1 -1
- package/tools/sandbox/directory/create-sandbox-directory.js +79 -71
- package/tools/sandbox/directory/create-sandbox-directory.js.map +1 -1
- package/tools/sandbox/directory/create-sandbox-directory.mjs +79 -71
- package/tools/sandbox/directory/create-sandbox-directory.mjs.map +1 -1
- package/tools/sandbox/employment/update-sandbox-employment.d.mts +2 -2
- package/tools/sandbox/employment/update-sandbox-employment.d.mts.map +1 -1
- package/tools/sandbox/employment/update-sandbox-employment.d.ts +2 -2
- package/tools/sandbox/employment/update-sandbox-employment.d.ts.map +1 -1
- package/tools/sandbox/employment/update-sandbox-employment.js +60 -52
- package/tools/sandbox/employment/update-sandbox-employment.js.map +1 -1
- package/tools/sandbox/employment/update-sandbox-employment.mjs +60 -52
- package/tools/sandbox/employment/update-sandbox-employment.mjs.map +1 -1
- package/tools/sandbox/individual/update-sandbox-individual.d.mts +2 -2
- package/tools/sandbox/individual/update-sandbox-individual.d.mts.map +1 -1
- package/tools/sandbox/individual/update-sandbox-individual.d.ts +2 -2
- package/tools/sandbox/individual/update-sandbox-individual.d.ts.map +1 -1
- package/tools/sandbox/individual/update-sandbox-individual.js +16 -11
- package/tools/sandbox/individual/update-sandbox-individual.js.map +1 -1
- package/tools/sandbox/individual/update-sandbox-individual.mjs +16 -11
- package/tools/sandbox/individual/update-sandbox-individual.mjs.map +1 -1
- package/tools/sandbox/jobs/configuration/retrieve-jobs-sandbox-configuration.d.mts +2 -2
- package/tools/sandbox/jobs/configuration/retrieve-jobs-sandbox-configuration.d.mts.map +1 -1
- package/tools/sandbox/jobs/configuration/retrieve-jobs-sandbox-configuration.d.ts +2 -2
- package/tools/sandbox/jobs/configuration/retrieve-jobs-sandbox-configuration.d.ts.map +1 -1
- package/tools/sandbox/jobs/configuration/retrieve-jobs-sandbox-configuration.js +0 -1
- package/tools/sandbox/jobs/configuration/retrieve-jobs-sandbox-configuration.js.map +1 -1
- package/tools/sandbox/jobs/configuration/retrieve-jobs-sandbox-configuration.mjs +0 -1
- package/tools/sandbox/jobs/configuration/retrieve-jobs-sandbox-configuration.mjs.map +1 -1
- package/tools/sandbox/jobs/configuration/update-jobs-sandbox-configuration.d.mts +2 -2
- package/tools/sandbox/jobs/configuration/update-jobs-sandbox-configuration.d.mts.map +1 -1
- package/tools/sandbox/jobs/configuration/update-jobs-sandbox-configuration.d.ts +2 -2
- package/tools/sandbox/jobs/configuration/update-jobs-sandbox-configuration.d.ts.map +1 -1
- package/tools/sandbox/jobs/configuration/update-jobs-sandbox-configuration.js +1 -1
- package/tools/sandbox/jobs/configuration/update-jobs-sandbox-configuration.js.map +1 -1
- package/tools/sandbox/jobs/configuration/update-jobs-sandbox-configuration.mjs +1 -1
- package/tools/sandbox/jobs/configuration/update-jobs-sandbox-configuration.mjs.map +1 -1
- package/tools/sandbox/jobs/create-sandbox-jobs.d.mts +2 -2
- package/tools/sandbox/jobs/create-sandbox-jobs.d.mts.map +1 -1
- package/tools/sandbox/jobs/create-sandbox-jobs.d.ts +2 -2
- package/tools/sandbox/jobs/create-sandbox-jobs.d.ts.map +1 -1
- package/tools/sandbox/jobs/create-sandbox-jobs.js +1 -1
- package/tools/sandbox/jobs/create-sandbox-jobs.js.map +1 -1
- package/tools/sandbox/jobs/create-sandbox-jobs.mjs +1 -1
- package/tools/sandbox/jobs/create-sandbox-jobs.mjs.map +1 -1
- package/tools/sandbox/payment/create-sandbox-payment.d.mts +2 -2
- package/tools/sandbox/payment/create-sandbox-payment.d.mts.map +1 -1
- package/tools/sandbox/payment/create-sandbox-payment.d.ts +2 -2
- package/tools/sandbox/payment/create-sandbox-payment.d.ts.map +1 -1
- package/tools/sandbox/payment/create-sandbox-payment.js +47 -39
- package/tools/sandbox/payment/create-sandbox-payment.js.map +1 -1
- package/tools/sandbox/payment/create-sandbox-payment.mjs +47 -39
- package/tools/sandbox/payment/create-sandbox-payment.mjs.map +1 -1
|
@@ -131,47 +131,13 @@ export const tool: Tool = {
|
|
|
131
131
|
enum: ['female', 'male', 'other', 'decline_to_specify'],
|
|
132
132
|
},
|
|
133
133
|
income: {
|
|
134
|
-
|
|
135
|
-
title: 'Income',
|
|
136
|
-
description:
|
|
137
|
-
"The employee's income as reported by the provider. This may not always be annualized income, but may be in units of bi-weekly, semi-monthly, daily, etc, depending on what information the provider returns.",
|
|
138
|
-
properties: {
|
|
139
|
-
amount: {
|
|
140
|
-
type: 'integer',
|
|
141
|
-
description: 'The income amount in cents.',
|
|
142
|
-
},
|
|
143
|
-
currency: {
|
|
144
|
-
type: 'string',
|
|
145
|
-
description: 'The currency code.',
|
|
146
|
-
},
|
|
147
|
-
effective_date: {
|
|
148
|
-
type: 'string',
|
|
149
|
-
description: 'The date the income amount went into effect.',
|
|
150
|
-
},
|
|
151
|
-
unit: {
|
|
152
|
-
type: 'string',
|
|
153
|
-
description:
|
|
154
|
-
'The income unit of payment. Options: `yearly`, `quarterly`, `monthly`, `semi_monthly`, `bi_weekly`, `weekly`, `daily`, `hourly`, and `fixed`.',
|
|
155
|
-
enum: [
|
|
156
|
-
'yearly',
|
|
157
|
-
'quarterly',
|
|
158
|
-
'monthly',
|
|
159
|
-
'semi_monthly',
|
|
160
|
-
'bi_weekly',
|
|
161
|
-
'weekly',
|
|
162
|
-
'daily',
|
|
163
|
-
'hourly',
|
|
164
|
-
'fixed',
|
|
165
|
-
],
|
|
166
|
-
},
|
|
167
|
-
},
|
|
168
|
-
required: [],
|
|
134
|
+
$ref: '#/$defs/income',
|
|
169
135
|
},
|
|
170
136
|
income_history: {
|
|
171
137
|
type: 'array',
|
|
172
138
|
description: 'The array of income history.',
|
|
173
139
|
items: {
|
|
174
|
-
$ref: '
|
|
140
|
+
$ref: '#/$defs/income',
|
|
175
141
|
},
|
|
176
142
|
},
|
|
177
143
|
is_active: {
|
|
@@ -187,41 +153,7 @@ export const tool: Tool = {
|
|
|
187
153
|
title: 'Date',
|
|
188
154
|
},
|
|
189
155
|
location: {
|
|
190
|
-
|
|
191
|
-
title: 'Location',
|
|
192
|
-
properties: {
|
|
193
|
-
city: {
|
|
194
|
-
type: 'string',
|
|
195
|
-
description: 'City, district, suburb, town, or village.',
|
|
196
|
-
},
|
|
197
|
-
country: {
|
|
198
|
-
type: 'string',
|
|
199
|
-
description: 'The 2-letter ISO 3166 country code.',
|
|
200
|
-
},
|
|
201
|
-
line1: {
|
|
202
|
-
type: 'string',
|
|
203
|
-
description: 'Street address or PO box.',
|
|
204
|
-
},
|
|
205
|
-
line2: {
|
|
206
|
-
type: 'string',
|
|
207
|
-
description: 'Apartment, suite, unit, or building.',
|
|
208
|
-
},
|
|
209
|
-
name: {
|
|
210
|
-
type: 'string',
|
|
211
|
-
},
|
|
212
|
-
postal_code: {
|
|
213
|
-
type: 'string',
|
|
214
|
-
description: 'The postal code or zip code.',
|
|
215
|
-
},
|
|
216
|
-
source_id: {
|
|
217
|
-
type: 'string',
|
|
218
|
-
},
|
|
219
|
-
state: {
|
|
220
|
-
type: 'string',
|
|
221
|
-
description: 'The state code.',
|
|
222
|
-
},
|
|
223
|
-
},
|
|
224
|
-
required: [],
|
|
156
|
+
$ref: '#/$defs/location',
|
|
225
157
|
},
|
|
226
158
|
manager: {
|
|
227
159
|
type: 'object',
|
|
@@ -259,7 +191,7 @@ export const tool: Tool = {
|
|
|
259
191
|
description: 'The preferred name of the individual.',
|
|
260
192
|
},
|
|
261
193
|
residence: {
|
|
262
|
-
$ref: '
|
|
194
|
+
$ref: '#/$defs/location',
|
|
263
195
|
},
|
|
264
196
|
source_id: {
|
|
265
197
|
type: 'string',
|
|
@@ -283,11 +215,87 @@ export const tool: Tool = {
|
|
|
283
215
|
},
|
|
284
216
|
},
|
|
285
217
|
},
|
|
218
|
+
$defs: {
|
|
219
|
+
income: {
|
|
220
|
+
type: 'object',
|
|
221
|
+
title: 'Income',
|
|
222
|
+
description:
|
|
223
|
+
"The employee's income as reported by the provider. This may not always be annualized income, but may be in units of bi-weekly, semi-monthly, daily, etc, depending on what information the provider returns.",
|
|
224
|
+
properties: {
|
|
225
|
+
amount: {
|
|
226
|
+
type: 'integer',
|
|
227
|
+
description: 'The income amount in cents.',
|
|
228
|
+
},
|
|
229
|
+
currency: {
|
|
230
|
+
type: 'string',
|
|
231
|
+
description: 'The currency code.',
|
|
232
|
+
},
|
|
233
|
+
effective_date: {
|
|
234
|
+
type: 'string',
|
|
235
|
+
description: 'The date the income amount went into effect.',
|
|
236
|
+
},
|
|
237
|
+
unit: {
|
|
238
|
+
type: 'string',
|
|
239
|
+
description:
|
|
240
|
+
'The income unit of payment. Options: `yearly`, `quarterly`, `monthly`, `semi_monthly`, `bi_weekly`, `weekly`, `daily`, `hourly`, and `fixed`.',
|
|
241
|
+
enum: [
|
|
242
|
+
'yearly',
|
|
243
|
+
'quarterly',
|
|
244
|
+
'monthly',
|
|
245
|
+
'semi_monthly',
|
|
246
|
+
'bi_weekly',
|
|
247
|
+
'weekly',
|
|
248
|
+
'daily',
|
|
249
|
+
'hourly',
|
|
250
|
+
'fixed',
|
|
251
|
+
],
|
|
252
|
+
},
|
|
253
|
+
},
|
|
254
|
+
required: ['amount', 'currency', 'effective_date', 'unit'],
|
|
255
|
+
},
|
|
256
|
+
location: {
|
|
257
|
+
type: 'object',
|
|
258
|
+
title: 'Location',
|
|
259
|
+
properties: {
|
|
260
|
+
city: {
|
|
261
|
+
type: 'string',
|
|
262
|
+
description: 'City, district, suburb, town, or village.',
|
|
263
|
+
},
|
|
264
|
+
country: {
|
|
265
|
+
type: 'string',
|
|
266
|
+
description: 'The 2-letter ISO 3166 country code.',
|
|
267
|
+
},
|
|
268
|
+
line1: {
|
|
269
|
+
type: 'string',
|
|
270
|
+
description: 'Street address or PO box.',
|
|
271
|
+
},
|
|
272
|
+
line2: {
|
|
273
|
+
type: 'string',
|
|
274
|
+
description: 'Apartment, suite, unit, or building.',
|
|
275
|
+
},
|
|
276
|
+
postal_code: {
|
|
277
|
+
type: 'string',
|
|
278
|
+
description: 'The postal code or zip code.',
|
|
279
|
+
},
|
|
280
|
+
state: {
|
|
281
|
+
type: 'string',
|
|
282
|
+
description: 'The state code.',
|
|
283
|
+
},
|
|
284
|
+
name: {
|
|
285
|
+
type: 'string',
|
|
286
|
+
},
|
|
287
|
+
source_id: {
|
|
288
|
+
type: 'string',
|
|
289
|
+
},
|
|
290
|
+
},
|
|
291
|
+
required: ['city', 'country', 'line1', 'line2', 'postal_code', 'state'],
|
|
292
|
+
},
|
|
293
|
+
},
|
|
286
294
|
},
|
|
287
295
|
};
|
|
288
296
|
|
|
289
|
-
export const handler = (client: Finch, args:
|
|
290
|
-
const
|
|
297
|
+
export const handler = (client: Finch, args: Record<string, unknown> | undefined) => {
|
|
298
|
+
const body = args as any;
|
|
291
299
|
return client.sandbox.directory.create(body['body']);
|
|
292
300
|
};
|
|
293
301
|
|
|
@@ -82,6 +82,60 @@ export const tool: Tool = {
|
|
|
82
82
|
type: 'string',
|
|
83
83
|
description: 'The legal first name of the individual.',
|
|
84
84
|
},
|
|
85
|
+
income: {
|
|
86
|
+
$ref: '#/$defs/income',
|
|
87
|
+
},
|
|
88
|
+
income_history: {
|
|
89
|
+
type: 'array',
|
|
90
|
+
description: 'The array of income history.',
|
|
91
|
+
items: {
|
|
92
|
+
$ref: '#/$defs/income',
|
|
93
|
+
},
|
|
94
|
+
},
|
|
95
|
+
is_active: {
|
|
96
|
+
type: 'boolean',
|
|
97
|
+
description: '`true` if the individual an an active employee or contractor at the company.',
|
|
98
|
+
},
|
|
99
|
+
last_name: {
|
|
100
|
+
type: 'string',
|
|
101
|
+
description: 'The legal last name of the individual.',
|
|
102
|
+
},
|
|
103
|
+
latest_rehire_date: {
|
|
104
|
+
type: 'string',
|
|
105
|
+
title: 'Date',
|
|
106
|
+
},
|
|
107
|
+
location: {
|
|
108
|
+
$ref: '#/$defs/location',
|
|
109
|
+
},
|
|
110
|
+
manager: {
|
|
111
|
+
type: 'object',
|
|
112
|
+
description: 'The manager object representing the manager of the individual within the org.',
|
|
113
|
+
properties: {
|
|
114
|
+
id: {
|
|
115
|
+
type: 'string',
|
|
116
|
+
description: 'A stable Finch `id` (UUID v4) for an individual in the company.',
|
|
117
|
+
},
|
|
118
|
+
},
|
|
119
|
+
required: [],
|
|
120
|
+
},
|
|
121
|
+
middle_name: {
|
|
122
|
+
type: 'string',
|
|
123
|
+
description: 'The legal middle name of the individual.',
|
|
124
|
+
},
|
|
125
|
+
source_id: {
|
|
126
|
+
type: 'string',
|
|
127
|
+
description: "The source system's unique employment identifier for this individual",
|
|
128
|
+
},
|
|
129
|
+
start_date: {
|
|
130
|
+
type: 'string',
|
|
131
|
+
title: 'Date',
|
|
132
|
+
},
|
|
133
|
+
title: {
|
|
134
|
+
type: 'string',
|
|
135
|
+
description: 'The current title of the individual.',
|
|
136
|
+
},
|
|
137
|
+
},
|
|
138
|
+
$defs: {
|
|
85
139
|
income: {
|
|
86
140
|
type: 'object',
|
|
87
141
|
title: 'Income',
|
|
@@ -117,26 +171,7 @@ export const tool: Tool = {
|
|
|
117
171
|
],
|
|
118
172
|
},
|
|
119
173
|
},
|
|
120
|
-
required: [],
|
|
121
|
-
},
|
|
122
|
-
income_history: {
|
|
123
|
-
type: 'array',
|
|
124
|
-
description: 'The array of income history.',
|
|
125
|
-
items: {
|
|
126
|
-
$ref: '#/properties/income',
|
|
127
|
-
},
|
|
128
|
-
},
|
|
129
|
-
is_active: {
|
|
130
|
-
type: 'boolean',
|
|
131
|
-
description: '`true` if the individual an an active employee or contractor at the company.',
|
|
132
|
-
},
|
|
133
|
-
last_name: {
|
|
134
|
-
type: 'string',
|
|
135
|
-
description: 'The legal last name of the individual.',
|
|
136
|
-
},
|
|
137
|
-
latest_rehire_date: {
|
|
138
|
-
type: 'string',
|
|
139
|
-
title: 'Date',
|
|
174
|
+
required: ['amount', 'currency', 'effective_date', 'unit'],
|
|
140
175
|
},
|
|
141
176
|
location: {
|
|
142
177
|
type: 'object',
|
|
@@ -158,56 +193,29 @@ export const tool: Tool = {
|
|
|
158
193
|
type: 'string',
|
|
159
194
|
description: 'Apartment, suite, unit, or building.',
|
|
160
195
|
},
|
|
161
|
-
name: {
|
|
162
|
-
type: 'string',
|
|
163
|
-
},
|
|
164
196
|
postal_code: {
|
|
165
197
|
type: 'string',
|
|
166
198
|
description: 'The postal code or zip code.',
|
|
167
199
|
},
|
|
168
|
-
source_id: {
|
|
169
|
-
type: 'string',
|
|
170
|
-
},
|
|
171
200
|
state: {
|
|
172
201
|
type: 'string',
|
|
173
202
|
description: 'The state code.',
|
|
174
203
|
},
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
type: 'object',
|
|
180
|
-
description: 'The manager object representing the manager of the individual within the org.',
|
|
181
|
-
properties: {
|
|
182
|
-
id: {
|
|
204
|
+
name: {
|
|
205
|
+
type: 'string',
|
|
206
|
+
},
|
|
207
|
+
source_id: {
|
|
183
208
|
type: 'string',
|
|
184
|
-
description: 'A stable Finch `id` (UUID v4) for an individual in the company.',
|
|
185
209
|
},
|
|
186
210
|
},
|
|
187
|
-
required: [],
|
|
188
|
-
},
|
|
189
|
-
middle_name: {
|
|
190
|
-
type: 'string',
|
|
191
|
-
description: 'The legal middle name of the individual.',
|
|
192
|
-
},
|
|
193
|
-
source_id: {
|
|
194
|
-
type: 'string',
|
|
195
|
-
description: "The source system's unique employment identifier for this individual",
|
|
196
|
-
},
|
|
197
|
-
start_date: {
|
|
198
|
-
type: 'string',
|
|
199
|
-
title: 'Date',
|
|
200
|
-
},
|
|
201
|
-
title: {
|
|
202
|
-
type: 'string',
|
|
203
|
-
description: 'The current title of the individual.',
|
|
211
|
+
required: ['city', 'country', 'line1', 'line2', 'postal_code', 'state'],
|
|
204
212
|
},
|
|
205
213
|
},
|
|
206
214
|
},
|
|
207
215
|
};
|
|
208
216
|
|
|
209
|
-
export const handler = (client: Finch, args:
|
|
210
|
-
const { individual_id, ...body } = args;
|
|
217
|
+
export const handler = (client: Finch, args: Record<string, unknown> | undefined) => {
|
|
218
|
+
const { individual_id, ...body } = args as any;
|
|
211
219
|
return client.sandbox.employment.update(individual_id, body);
|
|
212
220
|
};
|
|
213
221
|
|
|
@@ -96,6 +96,16 @@ export const tool: Tool = {
|
|
|
96
96
|
description: 'The preferred name of the individual.',
|
|
97
97
|
},
|
|
98
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: {
|
|
99
109
|
type: 'object',
|
|
100
110
|
title: 'Location',
|
|
101
111
|
properties: {
|
|
@@ -115,34 +125,29 @@ export const tool: Tool = {
|
|
|
115
125
|
type: 'string',
|
|
116
126
|
description: 'Apartment, suite, unit, or building.',
|
|
117
127
|
},
|
|
118
|
-
name: {
|
|
119
|
-
type: 'string',
|
|
120
|
-
},
|
|
121
128
|
postal_code: {
|
|
122
129
|
type: 'string',
|
|
123
130
|
description: 'The postal code or zip code.',
|
|
124
131
|
},
|
|
125
|
-
source_id: {
|
|
126
|
-
type: 'string',
|
|
127
|
-
},
|
|
128
132
|
state: {
|
|
129
133
|
type: 'string',
|
|
130
134
|
description: 'The state code.',
|
|
131
135
|
},
|
|
136
|
+
name: {
|
|
137
|
+
type: 'string',
|
|
138
|
+
},
|
|
139
|
+
source_id: {
|
|
140
|
+
type: 'string',
|
|
141
|
+
},
|
|
132
142
|
},
|
|
133
|
-
required: [],
|
|
134
|
-
},
|
|
135
|
-
ssn: {
|
|
136
|
-
type: 'string',
|
|
137
|
-
description:
|
|
138
|
-
"Social Security Number of the individual. This field is only available with the `ssn` scope enabled and the `options: { include: ['ssn'] }` param set in the body. [Click here to learn more about enabling the SSN field](/developer-resources/Enable-SSN-Field).",
|
|
143
|
+
required: ['city', 'country', 'line1', 'line2', 'postal_code', 'state'],
|
|
139
144
|
},
|
|
140
145
|
},
|
|
141
146
|
},
|
|
142
147
|
};
|
|
143
148
|
|
|
144
|
-
export const handler = (client: Finch, args:
|
|
145
|
-
const { individual_id, ...body } = args;
|
|
149
|
+
export const handler = (client: Finch, args: Record<string, unknown> | undefined) => {
|
|
150
|
+
const { individual_id, ...body } = args as any;
|
|
146
151
|
return client.sandbox.individual.update(individual_id, body);
|
|
147
152
|
};
|
|
148
153
|
|
|
@@ -19,8 +19,7 @@ export const tool: Tool = {
|
|
|
19
19
|
},
|
|
20
20
|
};
|
|
21
21
|
|
|
22
|
-
export const handler = (client: Finch, args:
|
|
23
|
-
const {} = args;
|
|
22
|
+
export const handler = (client: Finch, args: Record<string, unknown> | undefined) => {
|
|
24
23
|
return client.sandbox.jobs.configuration.retrieve();
|
|
25
24
|
};
|
|
26
25
|
|
|
@@ -28,8 +28,8 @@ export const tool: Tool = {
|
|
|
28
28
|
},
|
|
29
29
|
};
|
|
30
30
|
|
|
31
|
-
export const handler = (client: Finch, args:
|
|
32
|
-
const
|
|
31
|
+
export const handler = (client: Finch, args: Record<string, unknown> | undefined) => {
|
|
32
|
+
const body = args as any;
|
|
33
33
|
return client.sandbox.jobs.configuration.update(body);
|
|
34
34
|
};
|
|
35
35
|
|
|
@@ -25,8 +25,8 @@ export const tool: Tool = {
|
|
|
25
25
|
},
|
|
26
26
|
};
|
|
27
27
|
|
|
28
|
-
export const handler = (client: Finch, args:
|
|
29
|
-
const
|
|
28
|
+
export const handler = (client: Finch, args: Record<string, unknown> | undefined) => {
|
|
29
|
+
const body = args as any;
|
|
30
30
|
return client.sandbox.jobs.create(body);
|
|
31
31
|
};
|
|
32
32
|
|
|
@@ -128,30 +128,7 @@ export const tool: Tool = {
|
|
|
128
128
|
description: 'Boolean indicating if the deduction is pre-tax.',
|
|
129
129
|
},
|
|
130
130
|
type: {
|
|
131
|
-
|
|
132
|
-
title: 'BenefitType',
|
|
133
|
-
description: 'Type of benefit.',
|
|
134
|
-
enum: [
|
|
135
|
-
'401k',
|
|
136
|
-
'401k_roth',
|
|
137
|
-
'401k_loan',
|
|
138
|
-
'403b',
|
|
139
|
-
'403b_roth',
|
|
140
|
-
'457',
|
|
141
|
-
'457_roth',
|
|
142
|
-
's125_medical',
|
|
143
|
-
's125_dental',
|
|
144
|
-
's125_vision',
|
|
145
|
-
'hsa_pre',
|
|
146
|
-
'hsa_post',
|
|
147
|
-
'fsa_medical',
|
|
148
|
-
'fsa_dependent_care',
|
|
149
|
-
'simple_ira',
|
|
150
|
-
'simple',
|
|
151
|
-
'commuter',
|
|
152
|
-
'custom_post_tax',
|
|
153
|
-
'custom_pre_tax',
|
|
154
|
-
],
|
|
131
|
+
$ref: '#/$defs/benefit_type',
|
|
155
132
|
},
|
|
156
133
|
},
|
|
157
134
|
required: [],
|
|
@@ -192,32 +169,21 @@ export const tool: Tool = {
|
|
|
192
169
|
description: 'The contribution name from the pay statement.',
|
|
193
170
|
},
|
|
194
171
|
type: {
|
|
195
|
-
$ref: '
|
|
172
|
+
$ref: '#/$defs/benefit_type',
|
|
196
173
|
},
|
|
197
174
|
},
|
|
198
175
|
required: [],
|
|
199
176
|
},
|
|
200
177
|
},
|
|
201
178
|
gross_pay: {
|
|
202
|
-
|
|
203
|
-
title: 'Money',
|
|
204
|
-
properties: {
|
|
205
|
-
amount: {
|
|
206
|
-
type: 'integer',
|
|
207
|
-
description: 'Amount for money object (in cents)',
|
|
208
|
-
},
|
|
209
|
-
currency: {
|
|
210
|
-
type: 'string',
|
|
211
|
-
},
|
|
212
|
-
},
|
|
213
|
-
required: [],
|
|
179
|
+
$ref: '#/$defs/money',
|
|
214
180
|
},
|
|
215
181
|
individual_id: {
|
|
216
182
|
type: 'string',
|
|
217
183
|
description: 'A stable Finch `id` (UUID v4) for an individual in the company',
|
|
218
184
|
},
|
|
219
185
|
net_pay: {
|
|
220
|
-
$ref: '
|
|
186
|
+
$ref: '#/$defs/money',
|
|
221
187
|
},
|
|
222
188
|
payment_method: {
|
|
223
189
|
type: 'string',
|
|
@@ -289,11 +255,53 @@ export const tool: Tool = {
|
|
|
289
255
|
type: 'string',
|
|
290
256
|
},
|
|
291
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
|
+
},
|
|
292
300
|
},
|
|
293
301
|
};
|
|
294
302
|
|
|
295
|
-
export const handler = (client: Finch, args:
|
|
296
|
-
const
|
|
303
|
+
export const handler = (client: Finch, args: Record<string, unknown> | undefined) => {
|
|
304
|
+
const body = args as any;
|
|
297
305
|
return client.sandbox.payment.create(body);
|
|
298
306
|
};
|
|
299
307
|
|
|
@@ -3,7 +3,7 @@ import type { Metadata } from "..//index.mjs";
|
|
|
3
3
|
import Finch from '@tryfinch/finch-api';
|
|
4
4
|
export declare const metadata: Metadata;
|
|
5
5
|
export declare const tool: Tool;
|
|
6
|
-
export declare const handler: (client: Finch, args:
|
|
6
|
+
export declare const handler: (client: Finch, args: Record<string, unknown> | undefined) => import("@tryfinch/finch-api/core").APIPromise<Finch.AccessTokens.CreateAccessTokenResponse>;
|
|
7
7
|
declare const _default: {
|
|
8
8
|
metadata: Metadata;
|
|
9
9
|
tool: {
|
|
@@ -18,7 +18,7 @@ declare const _default: {
|
|
|
18
18
|
};
|
|
19
19
|
description?: string | undefined;
|
|
20
20
|
};
|
|
21
|
-
handler: (client: Finch, args:
|
|
21
|
+
handler: (client: Finch, args: Record<string, unknown> | undefined) => import("@tryfinch/finch-api/core").APIPromise<Finch.AccessTokens.CreateAccessTokenResponse>;
|
|
22
22
|
};
|
|
23
23
|
export default _default;
|
|
24
24
|
//# sourceMappingURL=create-access-tokens.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-access-tokens.d.mts","sourceRoot":"","sources":["../../src/tools/access-tokens/create-access-tokens.ts"],"names":[],"mappings":"OAEO,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,KAAK,EAAE,QAAQ,EAAE;OACjB,KAAK,MAAM,qBAAqB;AAEvC,eAAO,MAAM,QAAQ,EAAE,QAItB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IAoBlB,CAAC;AAEF,eAAO,MAAM,OAAO,
|
|
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"}
|
|
@@ -3,7 +3,7 @@ import type { Metadata } from "..//index.js";
|
|
|
3
3
|
import Finch from '@tryfinch/finch-api';
|
|
4
4
|
export declare const metadata: Metadata;
|
|
5
5
|
export declare const tool: Tool;
|
|
6
|
-
export declare const handler: (client: Finch, args:
|
|
6
|
+
export declare const handler: (client: Finch, args: Record<string, unknown> | undefined) => import("@tryfinch/finch-api/core").APIPromise<Finch.AccessTokens.CreateAccessTokenResponse>;
|
|
7
7
|
declare const _default: {
|
|
8
8
|
metadata: Metadata;
|
|
9
9
|
tool: {
|
|
@@ -18,7 +18,7 @@ declare const _default: {
|
|
|
18
18
|
};
|
|
19
19
|
description?: string | undefined;
|
|
20
20
|
};
|
|
21
|
-
handler: (client: Finch, args:
|
|
21
|
+
handler: (client: Finch, args: Record<string, unknown> | undefined) => import("@tryfinch/finch-api/core").APIPromise<Finch.AccessTokens.CreateAccessTokenResponse>;
|
|
22
22
|
};
|
|
23
23
|
export default _default;
|
|
24
24
|
//# sourceMappingURL=create-access-tokens.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-access-tokens.d.ts","sourceRoot":"","sources":["../../src/tools/access-tokens/create-access-tokens.ts"],"names":[],"mappings":"OAEO,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,KAAK,EAAE,QAAQ,EAAE;OACjB,KAAK,MAAM,qBAAqB;AAEvC,eAAO,MAAM,QAAQ,EAAE,QAItB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IAoBlB,CAAC;AAEF,eAAO,MAAM,OAAO,
|
|
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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-access-tokens.js","sourceRoot":"","sources":["../../src/tools/access-tokens/create-access-tokens.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAMzE,QAAA,QAAQ,GAAa;IAChC,QAAQ,EAAE,eAAe;IACzB,SAAS,EAAE,OAAO;IAClB,IAAI,EAAE,EAAE;CACT,CAAC;AAEW,QAAA,IAAI,GAAS;IACxB,IAAI,EAAE,sBAAsB;IAC5B,WAAW,EAAE,qDAAqD;IAClE,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,IAAI,EAAE;gBACJ,IAAI,EAAE,QAAQ;aACf;YACD,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;aACf;YACD,aAAa,EAAE;gBACb,IAAI,EAAE,QAAQ;aACf;YACD,YAAY,EAAE;gBACZ,IAAI,EAAE,QAAQ;aACf;SACF;KACF;CACF,CAAC;AAEK,MAAM,OAAO,GAAG,CAAC,MAAa,EAAE,
|
|
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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-access-tokens.mjs","sourceRoot":"","sources":["../../src/tools/access-tokens/create-access-tokens.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAMtF,MAAM,CAAC,MAAM,QAAQ,GAAa;IAChC,QAAQ,EAAE,eAAe;IACzB,SAAS,EAAE,OAAO;IAClB,IAAI,EAAE,EAAE;CACT,CAAC;AAEF,MAAM,CAAC,MAAM,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;AAEF,MAAM,CAAC,MAAM,OAAO,GAAG,CAAC,MAAa,EAAE,
|
|
1
|
+
{"version":3,"file":"create-access-tokens.mjs","sourceRoot":"","sources":["../../src/tools/access-tokens/create-access-tokens.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAMtF,MAAM,CAAC,MAAM,QAAQ,GAAa;IAChC,QAAQ,EAAE,eAAe;IACzB,SAAS,EAAE,OAAO;IAClB,IAAI,EAAE,EAAE;CACT,CAAC;AAEF,MAAM,CAAC,MAAM,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;AAEF,MAAM,CAAC,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;AAEF,eAAe,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC"}
|
|
@@ -3,7 +3,7 @@ import type { Metadata } from "..//index.mjs";
|
|
|
3
3
|
import Finch from '@tryfinch/finch-api';
|
|
4
4
|
export declare const metadata: Metadata;
|
|
5
5
|
export declare const tool: Tool;
|
|
6
|
-
export declare const handler: (client: Finch, args:
|
|
6
|
+
export declare const handler: (client: Finch, args: Record<string, unknown> | undefined) => import("@tryfinch/finch-api/core").APIPromise<Finch.Account.DisconnectResponse>;
|
|
7
7
|
declare const _default: {
|
|
8
8
|
metadata: Metadata;
|
|
9
9
|
tool: {
|
|
@@ -18,7 +18,7 @@ declare const _default: {
|
|
|
18
18
|
};
|
|
19
19
|
description?: string | undefined;
|
|
20
20
|
};
|
|
21
|
-
handler: (client: Finch, args:
|
|
21
|
+
handler: (client: Finch, args: Record<string, unknown> | undefined) => import("@tryfinch/finch-api/core").APIPromise<Finch.Account.DisconnectResponse>;
|
|
22
22
|
};
|
|
23
23
|
export default _default;
|
|
24
24
|
//# sourceMappingURL=disconnect-account.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"disconnect-account.d.mts","sourceRoot":"","sources":["../../src/tools/account/disconnect-account.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,IAOlB,CAAC;AAEF,eAAO,MAAM,OAAO,
|
|
1
|
+
{"version":3,"file":"disconnect-account.d.mts","sourceRoot":"","sources":["../../src/tools/account/disconnect-account.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,IAOlB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAI,QAAQ,KAAK,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,oFAE/E,CAAC;;;;;;;;;;;;;;;sBAF8B,KAAK,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAIhF,wBAA2C"}
|