attio-mcp 0.1.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/CHANGELOG.md +62 -0
- package/LICENSE +236 -0
- package/README.md +105 -0
- package/dist/api/attio-client.d.ts +25 -0
- package/dist/api/attio-client.d.ts.map +1 -0
- package/dist/api/attio-client.js +64 -0
- package/dist/api/attio-client.js.map +1 -0
- package/dist/api/attribute-types.d.ts +119 -0
- package/dist/api/attribute-types.d.ts.map +1 -0
- package/dist/api/attribute-types.js +320 -0
- package/dist/api/attribute-types.js.map +1 -0
- package/dist/api/client.d.ts +3 -0
- package/dist/api/client.d.ts.map +1 -0
- package/dist/api/client.js +61 -0
- package/dist/api/client.js.map +1 -0
- package/dist/api/operations/batch.d.ts +55 -0
- package/dist/api/operations/batch.d.ts.map +1 -0
- package/dist/api/operations/batch.js +176 -0
- package/dist/api/operations/batch.js.map +1 -0
- package/dist/api/operations/crud.d.ts +61 -0
- package/dist/api/operations/crud.d.ts.map +1 -0
- package/dist/api/operations/crud.js +192 -0
- package/dist/api/operations/crud.js.map +1 -0
- package/dist/api/operations/index.d.ts +14 -0
- package/dist/api/operations/index.d.ts.map +1 -0
- package/dist/api/operations/index.js +18 -0
- package/dist/api/operations/index.js.map +1 -0
- package/dist/api/operations/lists.d.ts +66 -0
- package/dist/api/operations/lists.d.ts.map +1 -0
- package/dist/api/operations/lists.js +300 -0
- package/dist/api/operations/lists.js.map +1 -0
- package/dist/api/operations/notes.d.ts +29 -0
- package/dist/api/operations/notes.d.ts.map +1 -0
- package/dist/api/operations/notes.js +63 -0
- package/dist/api/operations/notes.js.map +1 -0
- package/dist/api/operations/retry.d.ts +48 -0
- package/dist/api/operations/retry.d.ts.map +1 -0
- package/dist/api/operations/retry.js +98 -0
- package/dist/api/operations/retry.js.map +1 -0
- package/dist/api/operations/search.d.ts +37 -0
- package/dist/api/operations/search.d.ts.map +1 -0
- package/dist/api/operations/search.js +186 -0
- package/dist/api/operations/search.js.map +1 -0
- package/dist/api/operations/tasks.d.ts +20 -0
- package/dist/api/operations/tasks.d.ts.map +1 -0
- package/dist/api/operations/tasks.js +87 -0
- package/dist/api/operations/tasks.js.map +1 -0
- package/dist/api/operations/types.d.ts +61 -0
- package/dist/api/operations/types.d.ts.map +1 -0
- package/dist/api/operations/types.js +10 -0
- package/dist/api/operations/types.js.map +1 -0
- package/dist/cli/commands/attributes.d.ts +34 -0
- package/dist/cli/commands/attributes.d.ts.map +1 -0
- package/dist/cli/commands/attributes.js +171 -0
- package/dist/cli/commands/attributes.js.map +1 -0
- package/dist/cli/discover.d.ts +3 -0
- package/dist/cli/discover.d.ts.map +1 -0
- package/dist/cli/discover.js +72 -0
- package/dist/cli/discover.js.map +1 -0
- package/dist/errors/api-errors.d.ts +191 -0
- package/dist/errors/api-errors.d.ts.map +1 -0
- package/dist/errors/api-errors.js +305 -0
- package/dist/errors/api-errors.js.map +1 -0
- package/dist/errors/company-errors.d.ts +40 -0
- package/dist/errors/company-errors.d.ts.map +1 -0
- package/dist/errors/company-errors.js +62 -0
- package/dist/errors/company-errors.js.map +1 -0
- package/dist/errors/value-match-error.d.ts +15 -0
- package/dist/errors/value-match-error.d.ts.map +1 -0
- package/dist/errors/value-match-error.js +40 -0
- package/dist/errors/value-match-error.js.map +1 -0
- package/dist/handlers/error-interceptor.d.ts +6 -0
- package/dist/handlers/error-interceptor.d.ts.map +1 -0
- package/dist/handlers/error-interceptor.js +17 -0
- package/dist/handlers/error-interceptor.js.map +1 -0
- package/dist/handlers/rate-limited-handler.d.ts +17 -0
- package/dist/handlers/rate-limited-handler.d.ts.map +1 -0
- package/dist/handlers/rate-limited-handler.js +126 -0
- package/dist/handlers/rate-limited-handler.js.map +1 -0
- package/dist/handlers/resources.d.ts +11 -0
- package/dist/handlers/resources.d.ts.map +1 -0
- package/dist/handlers/resources.js +109 -0
- package/dist/handlers/resources.js.map +1 -0
- package/dist/handlers/tool-configs/companies/attributes.d.ts +85 -0
- package/dist/handlers/tool-configs/companies/attributes.d.ts.map +1 -0
- package/dist/handlers/tool-configs/companies/attributes.js +203 -0
- package/dist/handlers/tool-configs/companies/attributes.js.map +1 -0
- package/dist/handlers/tool-configs/companies/batch.d.ts +145 -0
- package/dist/handlers/tool-configs/companies/batch.d.ts.map +1 -0
- package/dist/handlers/tool-configs/companies/batch.js +249 -0
- package/dist/handlers/tool-configs/companies/batch.js.map +1 -0
- package/dist/handlers/tool-configs/companies/crud.d.ts +103 -0
- package/dist/handlers/tool-configs/companies/crud.d.ts.map +1 -0
- package/dist/handlers/tool-configs/companies/crud.js +157 -0
- package/dist/handlers/tool-configs/companies/crud.js.map +1 -0
- package/dist/handlers/tool-configs/companies/definitions.d.ts +5 -0
- package/dist/handlers/tool-configs/companies/definitions.d.ts.map +1 -0
- package/dist/handlers/tool-configs/companies/definitions.js +9 -0
- package/dist/handlers/tool-configs/companies/definitions.js.map +1 -0
- package/dist/handlers/tool-configs/companies/formatters.d.ts +42 -0
- package/dist/handlers/tool-configs/companies/formatters.d.ts.map +1 -0
- package/dist/handlers/tool-configs/companies/formatters.js +324 -0
- package/dist/handlers/tool-configs/companies/formatters.js.map +1 -0
- package/dist/handlers/tool-configs/companies/index.d.ts +642 -0
- package/dist/handlers/tool-configs/companies/index.d.ts.map +1 -0
- package/dist/handlers/tool-configs/companies/index.js +86 -0
- package/dist/handlers/tool-configs/companies/index.js.map +1 -0
- package/dist/handlers/tool-configs/companies/notes.d.ts +61 -0
- package/dist/handlers/tool-configs/companies/notes.d.ts.map +1 -0
- package/dist/handlers/tool-configs/companies/notes.js +109 -0
- package/dist/handlers/tool-configs/companies/notes.js.map +1 -0
- package/dist/handlers/tool-configs/companies/relationships.d.ts +137 -0
- package/dist/handlers/tool-configs/companies/relationships.d.ts.map +1 -0
- package/dist/handlers/tool-configs/companies/relationships.js +163 -0
- package/dist/handlers/tool-configs/companies/relationships.js.map +1 -0
- package/dist/handlers/tool-configs/companies/search.d.ts +101 -0
- package/dist/handlers/tool-configs/companies/search.d.ts.map +1 -0
- package/dist/handlers/tool-configs/companies/search.js +163 -0
- package/dist/handlers/tool-configs/companies/search.js.map +1 -0
- package/dist/handlers/tool-configs/companies/types.d.ts +6 -0
- package/dist/handlers/tool-configs/companies/types.d.ts.map +1 -0
- package/dist/handlers/tool-configs/companies/types.js +2 -0
- package/dist/handlers/tool-configs/companies/types.js.map +1 -0
- package/dist/handlers/tool-configs/index.d.ts +12 -0
- package/dist/handlers/tool-configs/index.d.ts.map +1 -0
- package/dist/handlers/tool-configs/index.js +12 -0
- package/dist/handlers/tool-configs/index.js.map +1 -0
- package/dist/handlers/tool-configs/lists.d.ts +459 -0
- package/dist/handlers/tool-configs/lists.d.ts.map +1 -0
- package/dist/handlers/tool-configs/lists.js +597 -0
- package/dist/handlers/tool-configs/lists.js.map +1 -0
- package/dist/handlers/tool-configs/paginated-people.d.ts +197 -0
- package/dist/handlers/tool-configs/paginated-people.d.ts.map +1 -0
- package/dist/handlers/tool-configs/paginated-people.js +256 -0
- package/dist/handlers/tool-configs/paginated-people.js.map +1 -0
- package/dist/handlers/tool-configs/people/activity-search.d.ts +98 -0
- package/dist/handlers/tool-configs/people/activity-search.d.ts.map +1 -0
- package/dist/handlers/tool-configs/people/activity-search.js +113 -0
- package/dist/handlers/tool-configs/people/activity-search.js.map +1 -0
- package/dist/handlers/tool-configs/people/advanced-search.d.ts +62 -0
- package/dist/handlers/tool-configs/people/advanced-search.d.ts.map +1 -0
- package/dist/handlers/tool-configs/people/advanced-search.js +74 -0
- package/dist/handlers/tool-configs/people/advanced-search.js.map +1 -0
- package/dist/handlers/tool-configs/people/crud.d.ts +63 -0
- package/dist/handlers/tool-configs/people/crud.d.ts.map +1 -0
- package/dist/handlers/tool-configs/people/crud.js +71 -0
- package/dist/handlers/tool-configs/people/crud.js.map +1 -0
- package/dist/handlers/tool-configs/people/date-search.d.ts +42 -0
- package/dist/handlers/tool-configs/people/date-search.d.ts.map +1 -0
- package/dist/handlers/tool-configs/people/date-search.js +93 -0
- package/dist/handlers/tool-configs/people/date-search.js.map +1 -0
- package/dist/handlers/tool-configs/people/formatters.d.ts +19 -0
- package/dist/handlers/tool-configs/people/formatters.d.ts.map +1 -0
- package/dist/handlers/tool-configs/people/formatters.js +98 -0
- package/dist/handlers/tool-configs/people/formatters.js.map +1 -0
- package/dist/handlers/tool-configs/people/index.d.ts +407 -0
- package/dist/handlers/tool-configs/people/index.d.ts.map +1 -0
- package/dist/handlers/tool-configs/people/index.js +30 -0
- package/dist/handlers/tool-configs/people/index.js.map +1 -0
- package/dist/handlers/tool-configs/people/notes.d.ts +38 -0
- package/dist/handlers/tool-configs/people/notes.d.ts.map +1 -0
- package/dist/handlers/tool-configs/people/notes.js +57 -0
- package/dist/handlers/tool-configs/people/notes.js.map +1 -0
- package/dist/handlers/tool-configs/people/relationships.d.ts +112 -0
- package/dist/handlers/tool-configs/people/relationships.d.ts.map +1 -0
- package/dist/handlers/tool-configs/people/relationships.js +173 -0
- package/dist/handlers/tool-configs/people/relationships.js.map +1 -0
- package/dist/handlers/tool-configs/people/search.d.ts +53 -0
- package/dist/handlers/tool-configs/people/search.d.ts.map +1 -0
- package/dist/handlers/tool-configs/people/search.js +61 -0
- package/dist/handlers/tool-configs/people/search.js.map +1 -0
- package/dist/handlers/tool-configs/people-fix-complete.d.ts +6 -0
- package/dist/handlers/tool-configs/people-fix-complete.d.ts.map +1 -0
- package/dist/handlers/tool-configs/people-fix-complete.js +76 -0
- package/dist/handlers/tool-configs/people-fix-complete.js.map +1 -0
- package/dist/handlers/tool-configs/people-fixed.d.ts +12 -0
- package/dist/handlers/tool-configs/people-fixed.d.ts.map +1 -0
- package/dist/handlers/tool-configs/people-fixed.js +58 -0
- package/dist/handlers/tool-configs/people-fixed.js.map +1 -0
- package/dist/handlers/tool-configs/people-types.d.ts +32 -0
- package/dist/handlers/tool-configs/people-types.d.ts.map +1 -0
- package/dist/handlers/tool-configs/people-types.js +5 -0
- package/dist/handlers/tool-configs/people-types.js.map +1 -0
- package/dist/handlers/tool-configs/people.d.ts +599 -0
- package/dist/handlers/tool-configs/people.d.ts.map +1 -0
- package/dist/handlers/tool-configs/people.js +817 -0
- package/dist/handlers/tool-configs/people.js.map +1 -0
- package/dist/handlers/tool-configs/prompts.d.ts +69 -0
- package/dist/handlers/tool-configs/prompts.d.ts.map +1 -0
- package/dist/handlers/tool-configs/prompts.js +90 -0
- package/dist/handlers/tool-configs/prompts.js.map +1 -0
- package/dist/handlers/tool-configs/rate-limited-people.d.ts +203 -0
- package/dist/handlers/tool-configs/rate-limited-people.d.ts.map +1 -0
- package/dist/handlers/tool-configs/rate-limited-people.js +44 -0
- package/dist/handlers/tool-configs/rate-limited-people.js.map +1 -0
- package/dist/handlers/tool-configs/records/index.d.ts +282 -0
- package/dist/handlers/tool-configs/records/index.d.ts.map +1 -0
- package/dist/handlers/tool-configs/records/index.js +277 -0
- package/dist/handlers/tool-configs/records/index.js.map +1 -0
- package/dist/handlers/tool-configs/records.d.ts +282 -0
- package/dist/handlers/tool-configs/records.d.ts.map +1 -0
- package/dist/handlers/tool-configs/records.js +277 -0
- package/dist/handlers/tool-configs/records.js.map +1 -0
- package/dist/handlers/tool-configs/resource-specific-tools.d.ts +15 -0
- package/dist/handlers/tool-configs/resource-specific-tools.d.ts.map +1 -0
- package/dist/handlers/tool-configs/resource-specific-tools.js +33 -0
- package/dist/handlers/tool-configs/resource-specific-tools.js.map +1 -0
- package/dist/handlers/tool-configs/tasks.d.ts +127 -0
- package/dist/handlers/tool-configs/tasks.d.ts.map +1 -0
- package/dist/handlers/tool-configs/tasks.js +95 -0
- package/dist/handlers/tool-configs/tasks.js.map +1 -0
- package/dist/handlers/tool-types.d.ts +47 -0
- package/dist/handlers/tool-types.d.ts.map +1 -0
- package/dist/handlers/tool-types.js +2 -0
- package/dist/handlers/tool-types.js.map +1 -0
- package/dist/handlers/tools/config-verifier.d.ts +27 -0
- package/dist/handlers/tools/config-verifier.d.ts.map +1 -0
- package/dist/handlers/tools/config-verifier.js +108 -0
- package/dist/handlers/tools/config-verifier.js.map +1 -0
- package/dist/handlers/tools/dispatcher/core.d.ts +12 -0
- package/dist/handlers/tools/dispatcher/core.d.ts.map +1 -0
- package/dist/handlers/tools/dispatcher/core.js +276 -0
- package/dist/handlers/tools/dispatcher/core.js.map +1 -0
- package/dist/handlers/tools/dispatcher/formatting.d.ts +17 -0
- package/dist/handlers/tools/dispatcher/formatting.d.ts.map +1 -0
- package/dist/handlers/tools/dispatcher/formatting.js +25 -0
- package/dist/handlers/tools/dispatcher/formatting.js.map +1 -0
- package/dist/handlers/tools/dispatcher/logging.d.ts +63 -0
- package/dist/handlers/tools/dispatcher/logging.d.ts.map +1 -0
- package/dist/handlers/tools/dispatcher/logging.js +108 -0
- package/dist/handlers/tools/dispatcher/logging.js.map +1 -0
- package/dist/handlers/tools/dispatcher/operations/batch.d.ts +29 -0
- package/dist/handlers/tools/dispatcher/operations/batch.d.ts.map +1 -0
- package/dist/handlers/tools/dispatcher/operations/batch.js +137 -0
- package/dist/handlers/tools/dispatcher/operations/batch.js.map +1 -0
- package/dist/handlers/tools/dispatcher/operations/crud.d.ts +25 -0
- package/dist/handlers/tools/dispatcher/operations/crud.d.ts.map +1 -0
- package/dist/handlers/tools/dispatcher/operations/crud.js +110 -0
- package/dist/handlers/tools/dispatcher/operations/crud.js.map +1 -0
- package/dist/handlers/tools/dispatcher/operations/details.d.ts +13 -0
- package/dist/handlers/tools/dispatcher/operations/details.d.ts.map +1 -0
- package/dist/handlers/tools/dispatcher/operations/details.js +52 -0
- package/dist/handlers/tools/dispatcher/operations/details.js.map +1 -0
- package/dist/handlers/tools/dispatcher/operations/info.d.ts +25 -0
- package/dist/handlers/tools/dispatcher/operations/info.d.ts.map +1 -0
- package/dist/handlers/tools/dispatcher/operations/info.js +82 -0
- package/dist/handlers/tools/dispatcher/operations/info.js.map +1 -0
- package/dist/handlers/tools/dispatcher/operations/lists.d.ts +62 -0
- package/dist/handlers/tools/dispatcher/operations/lists.d.ts.map +1 -0
- package/dist/handlers/tools/dispatcher/operations/lists.js +283 -0
- package/dist/handlers/tools/dispatcher/operations/lists.js.map +1 -0
- package/dist/handlers/tools/dispatcher/operations/notes.d.ts +17 -0
- package/dist/handlers/tools/dispatcher/operations/notes.d.ts.map +1 -0
- package/dist/handlers/tools/dispatcher/operations/notes.js +102 -0
- package/dist/handlers/tools/dispatcher/operations/notes.js.map +1 -0
- package/dist/handlers/tools/dispatcher/operations/search.d.ts +43 -0
- package/dist/handlers/tools/dispatcher/operations/search.d.ts.map +1 -0
- package/dist/handlers/tools/dispatcher/operations/search.js +190 -0
- package/dist/handlers/tools/dispatcher/operations/search.js.map +1 -0
- package/dist/handlers/tools/dispatcher/validation.d.ts +27 -0
- package/dist/handlers/tools/dispatcher/validation.d.ts.map +1 -0
- package/dist/handlers/tools/dispatcher/validation.js +47 -0
- package/dist/handlers/tools/dispatcher/validation.js.map +1 -0
- package/dist/handlers/tools/dispatcher.d.ts +11 -0
- package/dist/handlers/tools/dispatcher.d.ts.map +1 -0
- package/dist/handlers/tools/dispatcher.js +15 -0
- package/dist/handlers/tools/dispatcher.js.map +1 -0
- package/dist/handlers/tools/error-types.d.ts +33 -0
- package/dist/handlers/tools/error-types.d.ts.map +1 -0
- package/dist/handlers/tools/error-types.js +21 -0
- package/dist/handlers/tools/error-types.js.map +1 -0
- package/dist/handlers/tools/formatters.d.ts +43 -0
- package/dist/handlers/tools/formatters.d.ts.map +1 -0
- package/dist/handlers/tools/formatters.js +170 -0
- package/dist/handlers/tools/formatters.js.map +1 -0
- package/dist/handlers/tools/index.d.ts +15 -0
- package/dist/handlers/tools/index.d.ts.map +1 -0
- package/dist/handlers/tools/index.js +34 -0
- package/dist/handlers/tools/index.js.map +1 -0
- package/dist/handlers/tools/registry.d.ts +1874 -0
- package/dist/handlers/tools/registry.d.ts.map +1 -0
- package/dist/handlers/tools/registry.js +103 -0
- package/dist/handlers/tools/registry.js.map +1 -0
- package/dist/health/http-server.d.ts +24 -0
- package/dist/health/http-server.d.ts.map +1 -0
- package/dist/health/http-server.js +106 -0
- package/dist/health/http-server.js.map +1 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +238 -0
- package/dist/index.js.map +1 -0
- package/dist/objects/base-operations.d.ts +41 -0
- package/dist/objects/base-operations.d.ts.map +1 -0
- package/dist/objects/base-operations.js +116 -0
- package/dist/objects/base-operations.js.map +1 -0
- package/dist/objects/batch-companies.d.ts +112 -0
- package/dist/objects/batch-companies.d.ts.map +1 -0
- package/dist/objects/batch-companies.js +347 -0
- package/dist/objects/batch-companies.js.map +1 -0
- package/dist/objects/companies/attributes.d.ts +83 -0
- package/dist/objects/companies/attributes.d.ts.map +1 -0
- package/dist/objects/companies/attributes.js +426 -0
- package/dist/objects/companies/attributes.js.map +1 -0
- package/dist/objects/companies/basic.d.ts +117 -0
- package/dist/objects/companies/basic.d.ts.map +1 -0
- package/dist/objects/companies/basic.js +367 -0
- package/dist/objects/companies/basic.js.map +1 -0
- package/dist/objects/companies/batch.d.ts +6 -0
- package/dist/objects/companies/batch.d.ts.map +1 -0
- package/dist/objects/companies/batch.js +6 -0
- package/dist/objects/companies/batch.js.map +1 -0
- package/dist/objects/companies/index.d.ts +13 -0
- package/dist/objects/companies/index.d.ts.map +1 -0
- package/dist/objects/companies/index.js +17 -0
- package/dist/objects/companies/index.js.map +1 -0
- package/dist/objects/companies/notes.d.ts +26 -0
- package/dist/objects/companies/notes.d.ts.map +1 -0
- package/dist/objects/companies/notes.js +199 -0
- package/dist/objects/companies/notes.js.map +1 -0
- package/dist/objects/companies/relationships.d.ts +41 -0
- package/dist/objects/companies/relationships.d.ts.map +1 -0
- package/dist/objects/companies/relationships.js +142 -0
- package/dist/objects/companies/relationships.js.map +1 -0
- package/dist/objects/companies/search.d.ts +158 -0
- package/dist/objects/companies/search.d.ts.map +1 -0
- package/dist/objects/companies/search.js +463 -0
- package/dist/objects/companies/search.js.map +1 -0
- package/dist/objects/companies/types.d.ts +27 -0
- package/dist/objects/companies/types.d.ts.map +1 -0
- package/dist/objects/companies/types.js +3 -0
- package/dist/objects/companies/types.js.map +1 -0
- package/dist/objects/lists.d.ts +148 -0
- package/dist/objects/lists.d.ts.map +1 -0
- package/dist/objects/lists.js +586 -0
- package/dist/objects/lists.js.map +1 -0
- package/dist/objects/paginated-people.d.ts +50 -0
- package/dist/objects/paginated-people.d.ts.map +1 -0
- package/dist/objects/paginated-people.js +171 -0
- package/dist/objects/paginated-people.js.map +1 -0
- package/dist/objects/people/basic.d.ts +90 -0
- package/dist/objects/people/basic.d.ts.map +1 -0
- package/dist/objects/people/basic.js +157 -0
- package/dist/objects/people/basic.js.map +1 -0
- package/dist/objects/people/batch.d.ts +24 -0
- package/dist/objects/people/batch.d.ts.map +1 -0
- package/dist/objects/people/batch.js +145 -0
- package/dist/objects/people/batch.js.map +1 -0
- package/dist/objects/people/index.d.ts +11 -0
- package/dist/objects/people/index.d.ts.map +1 -0
- package/dist/objects/people/index.js +17 -0
- package/dist/objects/people/index.js.map +1 -0
- package/dist/objects/people/notes.d.ts +20 -0
- package/dist/objects/people/notes.d.ts.map +1 -0
- package/dist/objects/people/notes.js +60 -0
- package/dist/objects/people/notes.js.map +1 -0
- package/dist/objects/people/relationships.d.ts +23 -0
- package/dist/objects/people/relationships.d.ts.map +1 -0
- package/dist/objects/people/relationships.js +116 -0
- package/dist/objects/people/relationships.js.map +1 -0
- package/dist/objects/people/search.d.ts +83 -0
- package/dist/objects/people/search.d.ts.map +1 -0
- package/dist/objects/people/search.js +286 -0
- package/dist/objects/people/search.js.map +1 -0
- package/dist/objects/people/types.d.ts +37 -0
- package/dist/objects/people/types.d.ts.map +1 -0
- package/dist/objects/people/types.js +71 -0
- package/dist/objects/people/types.js.map +1 -0
- package/dist/objects/people-write.d.ts +71 -0
- package/dist/objects/people-write.d.ts.map +1 -0
- package/dist/objects/people-write.js +261 -0
- package/dist/objects/people-write.js.map +1 -0
- package/dist/objects/records/formatters.d.ts +20 -0
- package/dist/objects/records/formatters.d.ts.map +1 -0
- package/dist/objects/records/formatters.js +47 -0
- package/dist/objects/records/formatters.js.map +1 -0
- package/dist/objects/records/index.d.ts +74 -0
- package/dist/objects/records/index.d.ts.map +1 -0
- package/dist/objects/records/index.js +374 -0
- package/dist/objects/records/index.js.map +1 -0
- package/dist/objects/records.d.ts +88 -0
- package/dist/objects/records.d.ts.map +1 -0
- package/dist/objects/records.js +432 -0
- package/dist/objects/records.js.map +1 -0
- package/dist/objects/tasks.d.ts +19 -0
- package/dist/objects/tasks.d.ts.map +1 -0
- package/dist/objects/tasks.js +23 -0
- package/dist/objects/tasks.js.map +1 -0
- package/dist/prompts/error-handler.d.ts +28 -0
- package/dist/prompts/error-handler.d.ts.map +1 -0
- package/dist/prompts/error-handler.js +47 -0
- package/dist/prompts/error-handler.js.map +1 -0
- package/dist/prompts/handlers.d.ts +49 -0
- package/dist/prompts/handlers.d.ts.map +1 -0
- package/dist/prompts/handlers.js +353 -0
- package/dist/prompts/handlers.js.map +1 -0
- package/dist/prompts/index.d.ts +11 -0
- package/dist/prompts/index.d.ts.map +1 -0
- package/dist/prompts/index.js +15 -0
- package/dist/prompts/index.js.map +1 -0
- package/dist/prompts/templates/companies.d.ts +10 -0
- package/dist/prompts/templates/companies.d.ts.map +1 -0
- package/dist/prompts/templates/companies.js +128 -0
- package/dist/prompts/templates/companies.js.map +1 -0
- package/dist/prompts/templates/index.d.ts +42 -0
- package/dist/prompts/templates/index.d.ts.map +1 -0
- package/dist/prompts/templates/index.js +58 -0
- package/dist/prompts/templates/index.js.map +1 -0
- package/dist/prompts/templates/lists.d.ts +10 -0
- package/dist/prompts/templates/lists.d.ts.map +1 -0
- package/dist/prompts/templates/lists.js +127 -0
- package/dist/prompts/templates/lists.js.map +1 -0
- package/dist/prompts/templates/notes.d.ts +10 -0
- package/dist/prompts/templates/notes.d.ts.map +1 -0
- package/dist/prompts/templates/notes.js +119 -0
- package/dist/prompts/templates/notes.js.map +1 -0
- package/dist/prompts/templates/people.d.ts +10 -0
- package/dist/prompts/templates/people.d.ts.map +1 -0
- package/dist/prompts/templates/people.js +127 -0
- package/dist/prompts/templates/people.js.map +1 -0
- package/dist/prompts/types.d.ts +52 -0
- package/dist/prompts/types.d.ts.map +1 -0
- package/dist/prompts/types.js +5 -0
- package/dist/prompts/types.js.map +1 -0
- package/dist/types/attio.d.ts +424 -0
- package/dist/types/attio.d.ts.map +1 -0
- package/dist/types/attio.js +116 -0
- package/dist/types/attio.js.map +1 -0
- package/dist/types/company-types.d.ts +52 -0
- package/dist/types/company-types.d.ts.map +1 -0
- package/dist/types/company-types.js +5 -0
- package/dist/types/company-types.js.map +1 -0
- package/dist/types/tool-types.d.ts +262 -0
- package/dist/types/tool-types.d.ts.map +1 -0
- package/dist/types/tool-types.js +6 -0
- package/dist/types/tool-types.js.map +1 -0
- package/dist/utils/api-fallback.d.ts +39 -0
- package/dist/utils/api-fallback.d.ts.map +1 -0
- package/dist/utils/api-fallback.js +94 -0
- package/dist/utils/api-fallback.js.map +1 -0
- package/dist/utils/attribute-mapping/attribute-mappers.d.ts +39 -0
- package/dist/utils/attribute-mapping/attribute-mappers.d.ts.map +1 -0
- package/dist/utils/attribute-mapping/attribute-mappers.js +394 -0
- package/dist/utils/attribute-mapping/attribute-mappers.js.map +1 -0
- package/dist/utils/attribute-mapping/filter-translator.d.ts +9 -0
- package/dist/utils/attribute-mapping/filter-translator.d.ts.map +1 -0
- package/dist/utils/attribute-mapping/filter-translator.js +104 -0
- package/dist/utils/attribute-mapping/filter-translator.js.map +1 -0
- package/dist/utils/attribute-mapping/index.d.ts +10 -0
- package/dist/utils/attribute-mapping/index.d.ts.map +1 -0
- package/dist/utils/attribute-mapping/index.js +12 -0
- package/dist/utils/attribute-mapping/index.js.map +1 -0
- package/dist/utils/attribute-mapping/legacy-maps.d.ts +11 -0
- package/dist/utils/attribute-mapping/legacy-maps.d.ts.map +1 -0
- package/dist/utils/attribute-mapping/legacy-maps.js +54 -0
- package/dist/utils/attribute-mapping/legacy-maps.js.map +1 -0
- package/dist/utils/attribute-mapping/mapping-utils.d.ts +90 -0
- package/dist/utils/attribute-mapping/mapping-utils.d.ts.map +1 -0
- package/dist/utils/attribute-mapping/mapping-utils.js +145 -0
- package/dist/utils/attribute-mapping/mapping-utils.js.map +1 -0
- package/dist/utils/auto-discovery.d.ts +22 -0
- package/dist/utils/auto-discovery.d.ts.map +1 -0
- package/dist/utils/auto-discovery.js +143 -0
- package/dist/utils/auto-discovery.js.map +1 -0
- package/dist/utils/cli-colors.d.ts +36 -0
- package/dist/utils/cli-colors.d.ts.map +1 -0
- package/dist/utils/cli-colors.js +35 -0
- package/dist/utils/cli-colors.js.map +1 -0
- package/dist/utils/config-loader.d.ts +41 -0
- package/dist/utils/config-loader.d.ts.map +1 -0
- package/dist/utils/config-loader.js +167 -0
- package/dist/utils/config-loader.js.map +1 -0
- package/dist/utils/config-migration.d.ts +140 -0
- package/dist/utils/config-migration.d.ts.map +1 -0
- package/dist/utils/config-migration.js +310 -0
- package/dist/utils/config-migration.js.map +1 -0
- package/dist/utils/date-utils.d.ts +63 -0
- package/dist/utils/date-utils.d.ts.map +1 -0
- package/dist/utils/date-utils.js +329 -0
- package/dist/utils/date-utils.js.map +1 -0
- package/dist/utils/debug-b2b-segment.d.ts +2 -0
- package/dist/utils/debug-b2b-segment.d.ts.map +1 -0
- package/dist/utils/debug-b2b-segment.js +67 -0
- package/dist/utils/debug-b2b-segment.js.map +1 -0
- package/dist/utils/domain-utils.d.ts +46 -0
- package/dist/utils/domain-utils.d.ts.map +1 -0
- package/dist/utils/domain-utils.js +143 -0
- package/dist/utils/domain-utils.js.map +1 -0
- package/dist/utils/dynamic-import.d.ts +33 -0
- package/dist/utils/dynamic-import.d.ts.map +1 -0
- package/dist/utils/dynamic-import.js +41 -0
- package/dist/utils/dynamic-import.js.map +1 -0
- package/dist/utils/error-enhancer.d.ts +23 -0
- package/dist/utils/error-enhancer.d.ts.map +1 -0
- package/dist/utils/error-enhancer.js +188 -0
- package/dist/utils/error-enhancer.js.map +1 -0
- package/dist/utils/error-handler.d.ts +89 -0
- package/dist/utils/error-handler.d.ts.map +1 -0
- package/dist/utils/error-handler.js +336 -0
- package/dist/utils/error-handler.js.map +1 -0
- package/dist/utils/filters/builders/activity.d.ts +13 -0
- package/dist/utils/filters/builders/activity.d.ts.map +1 -0
- package/dist/utils/filters/builders/activity.js +65 -0
- package/dist/utils/filters/builders/activity.js.map +1 -0
- package/dist/utils/filters/builders/basic.d.ts +13 -0
- package/dist/utils/filters/builders/basic.d.ts.map +1 -0
- package/dist/utils/filters/builders/basic.js +36 -0
- package/dist/utils/filters/builders/basic.js.map +1 -0
- package/dist/utils/filters/builders/complex.d.ts +31 -0
- package/dist/utils/filters/builders/complex.d.ts.map +1 -0
- package/dist/utils/filters/builders/complex.js +92 -0
- package/dist/utils/filters/builders/complex.js.map +1 -0
- package/dist/utils/filters/builders/date.d.ts +17 -0
- package/dist/utils/filters/builders/date.d.ts.map +1 -0
- package/dist/utils/filters/builders/date.js +51 -0
- package/dist/utils/filters/builders/date.js.map +1 -0
- package/dist/utils/filters/builders/index.d.ts +8 -0
- package/dist/utils/filters/builders/index.d.ts.map +1 -0
- package/dist/utils/filters/builders/index.js +8 -0
- package/dist/utils/filters/builders/index.js.map +1 -0
- package/dist/utils/filters/builders/numeric.d.ts +17 -0
- package/dist/utils/filters/builders/numeric.d.ts.map +1 -0
- package/dist/utils/filters/builders/numeric.js +61 -0
- package/dist/utils/filters/builders/numeric.js.map +1 -0
- package/dist/utils/filters/builders/text.d.ts +17 -0
- package/dist/utils/filters/builders/text.d.ts.map +1 -0
- package/dist/utils/filters/builders/text.js +47 -0
- package/dist/utils/filters/builders/text.js.map +1 -0
- package/dist/utils/filters/builders/types.d.ts +2 -0
- package/dist/utils/filters/builders/types.d.ts.map +1 -0
- package/dist/utils/filters/builders/types.js +2 -0
- package/dist/utils/filters/builders/types.js.map +1 -0
- package/dist/utils/filters/builders.d.ts +2 -0
- package/dist/utils/filters/builders.d.ts.map +1 -0
- package/dist/utils/filters/builders.js +2 -0
- package/dist/utils/filters/builders.js.map +1 -0
- package/dist/utils/filters/cache.d.ts +80 -0
- package/dist/utils/filters/cache.d.ts.map +1 -0
- package/dist/utils/filters/cache.js +212 -0
- package/dist/utils/filters/cache.js.map +1 -0
- package/dist/utils/filters/index.d.ts +51 -0
- package/dist/utils/filters/index.d.ts.map +1 -0
- package/dist/utils/filters/index.js +67 -0
- package/dist/utils/filters/index.js.map +1 -0
- package/dist/utils/filters/operators.d.ts +65 -0
- package/dist/utils/filters/operators.d.ts.map +1 -0
- package/dist/utils/filters/operators.js +214 -0
- package/dist/utils/filters/operators.js.map +1 -0
- package/dist/utils/filters/relationship.d.ts +81 -0
- package/dist/utils/filters/relationship.d.ts.map +1 -0
- package/dist/utils/filters/relationship.js +393 -0
- package/dist/utils/filters/relationship.js.map +1 -0
- package/dist/utils/filters/translators.d.ts +120 -0
- package/dist/utils/filters/translators.d.ts.map +1 -0
- package/dist/utils/filters/translators.js +397 -0
- package/dist/utils/filters/translators.js.map +1 -0
- package/dist/utils/filters/types.d.ts +77 -0
- package/dist/utils/filters/types.d.ts.map +1 -0
- package/dist/utils/filters/types.js +85 -0
- package/dist/utils/filters/types.js.map +1 -0
- package/dist/utils/filters/utils.d.ts +86 -0
- package/dist/utils/filters/utils.d.ts.map +1 -0
- package/dist/utils/filters/utils.js +142 -0
- package/dist/utils/filters/utils.js.map +1 -0
- package/dist/utils/filters/validation-utils.d.ts +123 -0
- package/dist/utils/filters/validation-utils.d.ts.map +1 -0
- package/dist/utils/filters/validation-utils.js +282 -0
- package/dist/utils/filters/validation-utils.js.map +1 -0
- package/dist/utils/filters/validators.d.ts +73 -0
- package/dist/utils/filters/validators.d.ts.map +1 -0
- package/dist/utils/filters/validators.js +311 -0
- package/dist/utils/filters/validators.js.map +1 -0
- package/dist/utils/json-serializer.d.ts +68 -0
- package/dist/utils/json-serializer.d.ts.map +1 -0
- package/dist/utils/json-serializer.js +235 -0
- package/dist/utils/json-serializer.js.map +1 -0
- package/dist/utils/logger.d.ts +226 -0
- package/dist/utils/logger.d.ts.map +1 -0
- package/dist/utils/logger.js +323 -0
- package/dist/utils/logger.js.map +1 -0
- package/dist/utils/numeric-utils.d.ts +27 -0
- package/dist/utils/numeric-utils.d.ts.map +1 -0
- package/dist/utils/numeric-utils.js +83 -0
- package/dist/utils/numeric-utils.js.map +1 -0
- package/dist/utils/pagination.d.ts +85 -0
- package/dist/utils/pagination.d.ts.map +1 -0
- package/dist/utils/pagination.js +169 -0
- package/dist/utils/pagination.js.map +1 -0
- package/dist/utils/person-lookup.d.ts +35 -0
- package/dist/utils/person-lookup.d.ts.map +1 -0
- package/dist/utils/person-lookup.js +67 -0
- package/dist/utils/person-lookup.js.map +1 -0
- package/dist/utils/rate-limiter.d.ts +82 -0
- package/dist/utils/rate-limiter.d.ts.map +1 -0
- package/dist/utils/rate-limiter.js +159 -0
- package/dist/utils/rate-limiter.js.map +1 -0
- package/dist/utils/record-utils.d.ts +74 -0
- package/dist/utils/record-utils.d.ts.map +1 -0
- package/dist/utils/record-utils.js +312 -0
- package/dist/utils/record-utils.js.map +1 -0
- package/dist/utils/relationship-utils.d.ts +61 -0
- package/dist/utils/relationship-utils.d.ts.map +1 -0
- package/dist/utils/relationship-utils.js +242 -0
- package/dist/utils/relationship-utils.js.map +1 -0
- package/dist/utils/response-formatter.d.ts +121 -0
- package/dist/utils/response-formatter.d.ts.map +1 -0
- package/dist/utils/response-formatter.js +188 -0
- package/dist/utils/response-formatter.js.map +1 -0
- package/dist/utils/uri-parser.d.ts +18 -0
- package/dist/utils/uri-parser.d.ts.map +1 -0
- package/dist/utils/uri-parser.js +31 -0
- package/dist/utils/uri-parser.js.map +1 -0
- package/dist/utils/validation.d.ts +59 -0
- package/dist/utils/validation.d.ts.map +1 -0
- package/dist/utils/validation.js +264 -0
- package/dist/utils/validation.js.map +1 -0
- package/dist/utils/value-matcher.d.ts +58 -0
- package/dist/utils/value-matcher.d.ts.map +1 -0
- package/dist/utils/value-matcher.js +131 -0
- package/dist/utils/value-matcher.js.map +1 -0
- package/dist/validators/attribute-validator.d.ts +59 -0
- package/dist/validators/attribute-validator.d.ts.map +1 -0
- package/dist/validators/attribute-validator.js +531 -0
- package/dist/validators/attribute-validator.js.map +1 -0
- package/dist/validators/company/field_detector.d.ts +5 -0
- package/dist/validators/company/field_detector.d.ts.map +1 -0
- package/dist/validators/company/field_detector.js +95 -0
- package/dist/validators/company/field_detector.js.map +1 -0
- package/dist/validators/company/index.d.ts +26 -0
- package/dist/validators/company/index.d.ts.map +1 -0
- package/dist/validators/company/index.js +433 -0
- package/dist/validators/company/index.js.map +1 -0
- package/dist/validators/company/type_cache.d.ts +14 -0
- package/dist/validators/company/type_cache.d.ts.map +1 -0
- package/dist/validators/company/type_cache.js +28 -0
- package/dist/validators/company/type_cache.js.map +1 -0
- package/dist/validators/company/types.d.ts +8 -0
- package/dist/validators/company/types.d.ts.map +1 -0
- package/dist/validators/company/types.js +2 -0
- package/dist/validators/company/types.js.map +1 -0
- package/dist/validators/company-validator.d.ts +2 -0
- package/dist/validators/company-validator.d.ts.map +1 -0
- package/dist/validators/company-validator.js +2 -0
- package/dist/validators/company-validator.js.map +1 -0
- package/package.json +167 -0
|
@@ -0,0 +1,597 @@
|
|
|
1
|
+
import { getRecordNameFromEntry } from '../../utils/record-utils.js';
|
|
2
|
+
import { getLists, getListDetails, getListEntries, addRecordToList, removeRecordFromList, updateListEntry, getRecordListMemberships, filterListEntriesByParent, filterListEntriesByParentId, } from '../../objects/lists.js';
|
|
3
|
+
// Lists tool configurations
|
|
4
|
+
export const listsToolConfigs = {
|
|
5
|
+
getLists: {
|
|
6
|
+
name: 'get-lists',
|
|
7
|
+
handler: getLists,
|
|
8
|
+
formatResult: (results) => {
|
|
9
|
+
return `Found ${results.length} lists:\n${results
|
|
10
|
+
.map((list) => {
|
|
11
|
+
// Extract list_id properly from id object
|
|
12
|
+
const listId = list.id?.list_id || list.id || 'unknown';
|
|
13
|
+
return `- ${list.name || list.title} (ID: ${listId})`;
|
|
14
|
+
})
|
|
15
|
+
.join('\n')}`;
|
|
16
|
+
},
|
|
17
|
+
},
|
|
18
|
+
getRecordListMemberships: {
|
|
19
|
+
name: 'get-record-list-memberships',
|
|
20
|
+
handler: getRecordListMemberships,
|
|
21
|
+
formatResult: (results) => {
|
|
22
|
+
if (results.length === 0) {
|
|
23
|
+
return 'Record is not a member of any lists.';
|
|
24
|
+
}
|
|
25
|
+
return `Found ${results.length} list membership(s):\n${results
|
|
26
|
+
.map((membership) => {
|
|
27
|
+
// Format each membership with list name and IDs
|
|
28
|
+
let membershipInfo = `- List: ${membership.listName} (ID: ${membership.listId})
|
|
29
|
+
Entry ID: ${membership.entryId}`;
|
|
30
|
+
// Add entry values if available
|
|
31
|
+
if (membership.entryValues &&
|
|
32
|
+
Object.keys(membership.entryValues).length > 0) {
|
|
33
|
+
const valuesString = Object.entries(membership.entryValues)
|
|
34
|
+
.map(([key, value]) => ` ${key}: ${value}`)
|
|
35
|
+
.join('\n');
|
|
36
|
+
membershipInfo += `\n Entry Values:\n${valuesString}`;
|
|
37
|
+
}
|
|
38
|
+
return membershipInfo;
|
|
39
|
+
})
|
|
40
|
+
.join('\n')}`;
|
|
41
|
+
},
|
|
42
|
+
},
|
|
43
|
+
getListDetails: {
|
|
44
|
+
name: 'get-list-details',
|
|
45
|
+
handler: getListDetails,
|
|
46
|
+
formatResult: (result) => {
|
|
47
|
+
// Extract list_id properly from id object
|
|
48
|
+
const listId = result.id?.list_id || result.id || 'unknown';
|
|
49
|
+
const listName = result.name || result.title || 'Unnamed List';
|
|
50
|
+
const objectType = result.object_slug || 'unknown';
|
|
51
|
+
const entryCount = result.entry_count !== undefined
|
|
52
|
+
? `${result.entry_count} entries`
|
|
53
|
+
: 'Unknown entry count';
|
|
54
|
+
// Format dates in ISO format for consistency across environments
|
|
55
|
+
const createdAt = result.created_at
|
|
56
|
+
? new Date(result.created_at).toISOString().split('T')[0]
|
|
57
|
+
: 'Unknown date';
|
|
58
|
+
const updatedAt = result.updated_at
|
|
59
|
+
? new Date(result.updated_at).toISOString().split('T')[0]
|
|
60
|
+
: 'Unknown date';
|
|
61
|
+
return `List Details:
|
|
62
|
+
ID: ${listId}
|
|
63
|
+
Name: ${listName}
|
|
64
|
+
Object Type: ${objectType}
|
|
65
|
+
${entryCount}
|
|
66
|
+
Created: ${createdAt}
|
|
67
|
+
Updated: ${updatedAt}
|
|
68
|
+
${result.description ? `\nDescription: ${result.description}` : ''}`;
|
|
69
|
+
},
|
|
70
|
+
},
|
|
71
|
+
getListEntries: {
|
|
72
|
+
name: 'get-list-entries',
|
|
73
|
+
handler: getListEntries,
|
|
74
|
+
formatResult: (results) => {
|
|
75
|
+
return `Found ${results.length} entries in list:\n${results
|
|
76
|
+
.map((entry) => {
|
|
77
|
+
// Extract record details with improved name and type extraction
|
|
78
|
+
const recordDetails = getRecordNameFromEntry(entry);
|
|
79
|
+
// Format display name with record type for better context
|
|
80
|
+
let displayInfo = '';
|
|
81
|
+
if (recordDetails.name) {
|
|
82
|
+
displayInfo = recordDetails.type
|
|
83
|
+
? ` (${recordDetails.type}: ${recordDetails.name})`
|
|
84
|
+
: ` (${recordDetails.name})`;
|
|
85
|
+
}
|
|
86
|
+
return `- Entry ID: ${entry.id?.entry_id || 'unknown'}, Record ID: ${entry.record_id || 'unknown'}${displayInfo}`;
|
|
87
|
+
})
|
|
88
|
+
.join('\n')}`;
|
|
89
|
+
},
|
|
90
|
+
},
|
|
91
|
+
filterListEntries: {
|
|
92
|
+
name: 'filter-list-entries',
|
|
93
|
+
handler: (listId, attributeSlug, condition, value, limit, offset) => {
|
|
94
|
+
// Create filter structure
|
|
95
|
+
const filters = {
|
|
96
|
+
filters: [
|
|
97
|
+
{
|
|
98
|
+
attribute: {
|
|
99
|
+
slug: attributeSlug,
|
|
100
|
+
},
|
|
101
|
+
condition: condition,
|
|
102
|
+
value: value,
|
|
103
|
+
},
|
|
104
|
+
],
|
|
105
|
+
};
|
|
106
|
+
// Call getListEntries with filters
|
|
107
|
+
return getListEntries(listId, limit || 20, offset || 0, filters);
|
|
108
|
+
},
|
|
109
|
+
formatResult: (results) => {
|
|
110
|
+
return `Found ${results.length} filtered entries in list:\n${results
|
|
111
|
+
.map((entry) => {
|
|
112
|
+
// Extract record details with improved name and type extraction
|
|
113
|
+
const recordDetails = getRecordNameFromEntry(entry);
|
|
114
|
+
// Format display name with record type for better context
|
|
115
|
+
let displayInfo = '';
|
|
116
|
+
if (recordDetails.name) {
|
|
117
|
+
displayInfo = recordDetails.type
|
|
118
|
+
? ` (${recordDetails.type}: ${recordDetails.name})`
|
|
119
|
+
: ` (${recordDetails.name})`;
|
|
120
|
+
}
|
|
121
|
+
return `- Entry ID: ${entry.id?.entry_id || 'unknown'}, Record ID: ${entry.record_id || 'unknown'}${displayInfo}`;
|
|
122
|
+
})
|
|
123
|
+
.join('\n')}`;
|
|
124
|
+
},
|
|
125
|
+
},
|
|
126
|
+
advancedFilterListEntries: {
|
|
127
|
+
name: 'advanced-filter-list-entries',
|
|
128
|
+
handler: (listId, filters, limit, offset) => {
|
|
129
|
+
// Call getListEntries with the advanced filters
|
|
130
|
+
return getListEntries(listId, limit || 20, offset || 0, filters);
|
|
131
|
+
},
|
|
132
|
+
formatResult: (results) => {
|
|
133
|
+
return `Found ${results.length} filtered entries in list:\n${results
|
|
134
|
+
.map((entry) => {
|
|
135
|
+
// Extract record details with improved name and type extraction
|
|
136
|
+
const recordDetails = getRecordNameFromEntry(entry);
|
|
137
|
+
// Format display name with record type for better context
|
|
138
|
+
let displayInfo = '';
|
|
139
|
+
if (recordDetails.name) {
|
|
140
|
+
displayInfo = recordDetails.type
|
|
141
|
+
? ` (${recordDetails.type}: ${recordDetails.name})`
|
|
142
|
+
: ` (${recordDetails.name})`;
|
|
143
|
+
}
|
|
144
|
+
return `- Entry ID: ${entry.id?.entry_id || 'unknown'}, Record ID: ${entry.record_id || 'unknown'}${displayInfo}`;
|
|
145
|
+
})
|
|
146
|
+
.join('\n')}`;
|
|
147
|
+
},
|
|
148
|
+
},
|
|
149
|
+
addRecordToList: {
|
|
150
|
+
name: 'add-record-to-list',
|
|
151
|
+
handler: addRecordToList,
|
|
152
|
+
idParams: ['listId', 'recordId'],
|
|
153
|
+
formatResult: (result) => {
|
|
154
|
+
const entryId = result.id?.entry_id || 'unknown';
|
|
155
|
+
const recordId = result.record_id || result.parent_record_id || 'unknown';
|
|
156
|
+
return `Successfully added record ${recordId} to list (Entry ID: ${entryId})`;
|
|
157
|
+
},
|
|
158
|
+
},
|
|
159
|
+
removeRecordFromList: {
|
|
160
|
+
name: 'remove-record-from-list',
|
|
161
|
+
handler: removeRecordFromList,
|
|
162
|
+
idParams: ['listId', 'entryId'],
|
|
163
|
+
},
|
|
164
|
+
updateListEntry: {
|
|
165
|
+
name: 'update-list-entry',
|
|
166
|
+
handler: updateListEntry,
|
|
167
|
+
formatResult: (result) => {
|
|
168
|
+
const entryId = result.id?.entry_id || 'unknown';
|
|
169
|
+
const recordId = result.record_id || 'unknown';
|
|
170
|
+
// Extract stage information if available
|
|
171
|
+
let stageInfo = '';
|
|
172
|
+
const values = result.values;
|
|
173
|
+
if (values && values.stage) {
|
|
174
|
+
const stageValue = Array.isArray(values.stage)
|
|
175
|
+
? values.stage[0]?.value || values.stage[0]
|
|
176
|
+
: values.stage.value || values.stage;
|
|
177
|
+
stageInfo = ` - Stage: ${stageValue}`;
|
|
178
|
+
}
|
|
179
|
+
return `Successfully updated list entry ${entryId} for record ${recordId}${stageInfo}`;
|
|
180
|
+
},
|
|
181
|
+
},
|
|
182
|
+
filterListEntriesByParent: {
|
|
183
|
+
name: 'filter-list-entries-by-parent',
|
|
184
|
+
handler: filterListEntriesByParent,
|
|
185
|
+
formatResult: (results) => {
|
|
186
|
+
if (results.length === 0) {
|
|
187
|
+
return 'No entries found matching the filter criteria.';
|
|
188
|
+
}
|
|
189
|
+
return `Found ${results.length} entries matching the parent record filter:\n${results
|
|
190
|
+
.map((entry, index) => {
|
|
191
|
+
// Extract record details with improved name and type extraction
|
|
192
|
+
const recordDetails = getRecordNameFromEntry(entry);
|
|
193
|
+
// Format display name with record type for better context
|
|
194
|
+
let displayInfo = '';
|
|
195
|
+
if (recordDetails.name) {
|
|
196
|
+
displayInfo = recordDetails.type
|
|
197
|
+
? ` (${recordDetails.type}: ${recordDetails.name})`
|
|
198
|
+
: ` (${recordDetails.name})`;
|
|
199
|
+
}
|
|
200
|
+
return `${index + 1}. Entry ID: ${entry.id?.entry_id || 'unknown'}, Record ID: ${entry.record_id || 'unknown'}${displayInfo}`;
|
|
201
|
+
})
|
|
202
|
+
.join('\n')}`;
|
|
203
|
+
},
|
|
204
|
+
},
|
|
205
|
+
filterListEntriesByParentId: {
|
|
206
|
+
name: 'filter-list-entries-by-parent-id',
|
|
207
|
+
handler: filterListEntriesByParentId,
|
|
208
|
+
formatResult: (results) => {
|
|
209
|
+
if (results.length === 0) {
|
|
210
|
+
return 'No entries found with the specified parent record ID.';
|
|
211
|
+
}
|
|
212
|
+
return `Found ${results.length} entries with the specified parent record ID:\n${results
|
|
213
|
+
.map((entry, index) => {
|
|
214
|
+
// Extract record details with improved name and type extraction
|
|
215
|
+
const recordDetails = getRecordNameFromEntry(entry);
|
|
216
|
+
// Format display name with record type for better context
|
|
217
|
+
let displayInfo = '';
|
|
218
|
+
if (recordDetails.name) {
|
|
219
|
+
displayInfo = recordDetails.type
|
|
220
|
+
? ` (${recordDetails.type}: ${recordDetails.name})`
|
|
221
|
+
: ` (${recordDetails.name})`;
|
|
222
|
+
}
|
|
223
|
+
return `${index + 1}. Entry ID: ${entry.id?.entry_id || 'unknown'}, Record ID: ${entry.record_id || 'unknown'}${displayInfo}`;
|
|
224
|
+
})
|
|
225
|
+
.join('\n')}`;
|
|
226
|
+
},
|
|
227
|
+
},
|
|
228
|
+
};
|
|
229
|
+
// Lists tool definitions
|
|
230
|
+
export const listsToolDefinitions = [
|
|
231
|
+
{
|
|
232
|
+
name: 'get-lists',
|
|
233
|
+
description: 'Get all CRM lists from Attio (sales pipelines, lead stages, customer segments, etc.)',
|
|
234
|
+
inputSchema: {
|
|
235
|
+
type: 'object',
|
|
236
|
+
properties: {},
|
|
237
|
+
},
|
|
238
|
+
},
|
|
239
|
+
{
|
|
240
|
+
name: 'get-record-list-memberships',
|
|
241
|
+
description: 'Find all CRM lists that a specific record (company, person, etc.) belongs to',
|
|
242
|
+
inputSchema: {
|
|
243
|
+
type: 'object',
|
|
244
|
+
properties: {
|
|
245
|
+
recordId: {
|
|
246
|
+
type: 'string',
|
|
247
|
+
description: 'ID of the record to find in lists',
|
|
248
|
+
},
|
|
249
|
+
objectType: {
|
|
250
|
+
type: 'string',
|
|
251
|
+
description: 'Type of record (e.g., "companies", "people")',
|
|
252
|
+
enum: ['companies', 'people'],
|
|
253
|
+
},
|
|
254
|
+
includeEntryValues: {
|
|
255
|
+
type: 'boolean',
|
|
256
|
+
description: 'Whether to include entry values in the response (e.g., stage, status)',
|
|
257
|
+
default: false,
|
|
258
|
+
},
|
|
259
|
+
batchSize: {
|
|
260
|
+
type: 'number',
|
|
261
|
+
description: 'Number of lists to process in parallel (1-20, default: 5)',
|
|
262
|
+
minimum: 1,
|
|
263
|
+
maximum: 20,
|
|
264
|
+
default: 5,
|
|
265
|
+
},
|
|
266
|
+
},
|
|
267
|
+
required: ['recordId'],
|
|
268
|
+
},
|
|
269
|
+
},
|
|
270
|
+
{
|
|
271
|
+
name: 'get-list-details',
|
|
272
|
+
description: 'Get details for a specific CRM list (pipeline stages, field configuration, etc.)',
|
|
273
|
+
inputSchema: {
|
|
274
|
+
type: 'object',
|
|
275
|
+
properties: {
|
|
276
|
+
listId: {
|
|
277
|
+
type: 'string',
|
|
278
|
+
description: 'ID of the list to get details for',
|
|
279
|
+
},
|
|
280
|
+
},
|
|
281
|
+
required: ['listId'],
|
|
282
|
+
},
|
|
283
|
+
},
|
|
284
|
+
{
|
|
285
|
+
name: 'get-list-entries',
|
|
286
|
+
description: 'Get entries for a specific list',
|
|
287
|
+
inputSchema: {
|
|
288
|
+
type: 'object',
|
|
289
|
+
properties: {
|
|
290
|
+
listId: {
|
|
291
|
+
type: 'string',
|
|
292
|
+
description: 'ID of the list to get entries for',
|
|
293
|
+
},
|
|
294
|
+
limit: {
|
|
295
|
+
type: 'number',
|
|
296
|
+
description: 'Maximum number of entries to fetch (default: 20)',
|
|
297
|
+
},
|
|
298
|
+
offset: {
|
|
299
|
+
type: 'number',
|
|
300
|
+
description: 'Number of entries to skip for pagination (default: 0)',
|
|
301
|
+
},
|
|
302
|
+
},
|
|
303
|
+
required: ['listId'],
|
|
304
|
+
},
|
|
305
|
+
},
|
|
306
|
+
{
|
|
307
|
+
name: 'filter-list-entries',
|
|
308
|
+
description: 'Filter entries in a list by a specific attribute',
|
|
309
|
+
inputSchema: {
|
|
310
|
+
type: 'object',
|
|
311
|
+
properties: {
|
|
312
|
+
listId: {
|
|
313
|
+
type: 'string',
|
|
314
|
+
description: 'ID of the list to filter entries from',
|
|
315
|
+
},
|
|
316
|
+
attributeSlug: {
|
|
317
|
+
type: 'string',
|
|
318
|
+
description: "Slug of the attribute to filter by (e.g., 'stage', 'status')",
|
|
319
|
+
},
|
|
320
|
+
condition: {
|
|
321
|
+
type: 'string',
|
|
322
|
+
description: "Filter condition (e.g., 'equals', 'contains', 'greater_than')",
|
|
323
|
+
enum: [
|
|
324
|
+
'equals',
|
|
325
|
+
'not_equals',
|
|
326
|
+
'contains',
|
|
327
|
+
'not_contains',
|
|
328
|
+
'starts_with',
|
|
329
|
+
'ends_with',
|
|
330
|
+
'greater_than',
|
|
331
|
+
'less_than',
|
|
332
|
+
'greater_than_or_equals',
|
|
333
|
+
'less_than_or_equals',
|
|
334
|
+
'is_empty',
|
|
335
|
+
'is_not_empty',
|
|
336
|
+
'is_set',
|
|
337
|
+
'is_not_set',
|
|
338
|
+
],
|
|
339
|
+
},
|
|
340
|
+
value: {
|
|
341
|
+
description: 'Value to filter by (type depends on the attribute)',
|
|
342
|
+
},
|
|
343
|
+
limit: {
|
|
344
|
+
type: 'number',
|
|
345
|
+
description: 'Maximum number of entries to fetch (default: 20)',
|
|
346
|
+
},
|
|
347
|
+
offset: {
|
|
348
|
+
type: 'number',
|
|
349
|
+
description: 'Number of entries to skip for pagination (default: 0)',
|
|
350
|
+
},
|
|
351
|
+
},
|
|
352
|
+
required: ['listId', 'attributeSlug', 'condition', 'value'],
|
|
353
|
+
},
|
|
354
|
+
},
|
|
355
|
+
{
|
|
356
|
+
name: 'advanced-filter-list-entries',
|
|
357
|
+
description: 'Filter entries in a list with advanced multiple conditions',
|
|
358
|
+
inputSchema: {
|
|
359
|
+
type: 'object',
|
|
360
|
+
properties: {
|
|
361
|
+
listId: {
|
|
362
|
+
type: 'string',
|
|
363
|
+
description: 'ID of the list to filter entries from',
|
|
364
|
+
},
|
|
365
|
+
filters: {
|
|
366
|
+
type: 'object',
|
|
367
|
+
description: 'Advanced filter configuration',
|
|
368
|
+
properties: {
|
|
369
|
+
filters: {
|
|
370
|
+
type: 'array',
|
|
371
|
+
description: 'Array of filter conditions',
|
|
372
|
+
items: {
|
|
373
|
+
type: 'object',
|
|
374
|
+
properties: {
|
|
375
|
+
attribute: {
|
|
376
|
+
type: 'object',
|
|
377
|
+
properties: {
|
|
378
|
+
slug: {
|
|
379
|
+
type: 'string',
|
|
380
|
+
description: "Slug of the attribute to filter by (e.g., 'stage', 'status')",
|
|
381
|
+
},
|
|
382
|
+
},
|
|
383
|
+
required: ['slug'],
|
|
384
|
+
},
|
|
385
|
+
condition: {
|
|
386
|
+
type: 'string',
|
|
387
|
+
description: "Filter condition (e.g., 'equals', 'contains', 'greater_than')",
|
|
388
|
+
enum: [
|
|
389
|
+
'equals',
|
|
390
|
+
'not_equals',
|
|
391
|
+
'contains',
|
|
392
|
+
'not_contains',
|
|
393
|
+
'starts_with',
|
|
394
|
+
'ends_with',
|
|
395
|
+
'greater_than',
|
|
396
|
+
'less_than',
|
|
397
|
+
'greater_than_or_equals',
|
|
398
|
+
'less_than_or_equals',
|
|
399
|
+
'is_empty',
|
|
400
|
+
'is_not_empty',
|
|
401
|
+
'is_set',
|
|
402
|
+
'is_not_set',
|
|
403
|
+
],
|
|
404
|
+
},
|
|
405
|
+
value: {
|
|
406
|
+
description: 'Value to filter by (type depends on the attribute)',
|
|
407
|
+
},
|
|
408
|
+
logicalOperator: {
|
|
409
|
+
type: 'string',
|
|
410
|
+
description: "Logical operator to use with the next filter (default: 'and')",
|
|
411
|
+
enum: ['and', 'or'],
|
|
412
|
+
},
|
|
413
|
+
},
|
|
414
|
+
required: ['attribute', 'condition', 'value'],
|
|
415
|
+
},
|
|
416
|
+
},
|
|
417
|
+
matchAny: {
|
|
418
|
+
type: 'boolean',
|
|
419
|
+
description: 'When true, at least one filter must match (OR logic). When false, all filters must match (AND logic). Default: false',
|
|
420
|
+
},
|
|
421
|
+
},
|
|
422
|
+
required: ['filters'],
|
|
423
|
+
},
|
|
424
|
+
limit: {
|
|
425
|
+
type: 'number',
|
|
426
|
+
description: 'Maximum number of entries to fetch (default: 20)',
|
|
427
|
+
},
|
|
428
|
+
offset: {
|
|
429
|
+
type: 'number',
|
|
430
|
+
description: 'Number of entries to skip for pagination (default: 0)',
|
|
431
|
+
},
|
|
432
|
+
},
|
|
433
|
+
required: ['listId', 'filters'],
|
|
434
|
+
},
|
|
435
|
+
},
|
|
436
|
+
{
|
|
437
|
+
name: 'add-record-to-list',
|
|
438
|
+
description: 'Add a company or person to a CRM list (sales pipeline, lead list, etc.)',
|
|
439
|
+
inputSchema: {
|
|
440
|
+
type: 'object',
|
|
441
|
+
properties: {
|
|
442
|
+
listId: {
|
|
443
|
+
type: 'string',
|
|
444
|
+
description: 'ID of the list to add the record to',
|
|
445
|
+
},
|
|
446
|
+
recordId: {
|
|
447
|
+
type: 'string',
|
|
448
|
+
description: 'ID of the record to add to the list',
|
|
449
|
+
},
|
|
450
|
+
objectType: {
|
|
451
|
+
type: 'string',
|
|
452
|
+
description: 'Type of record (e.g., "companies", "people")',
|
|
453
|
+
enum: ['companies', 'people'],
|
|
454
|
+
},
|
|
455
|
+
initialValues: {
|
|
456
|
+
type: 'object',
|
|
457
|
+
description: 'Initial values for the list entry (e.g., {"stage": "Prospect"})',
|
|
458
|
+
},
|
|
459
|
+
},
|
|
460
|
+
required: ['listId', 'recordId', 'objectType'],
|
|
461
|
+
},
|
|
462
|
+
},
|
|
463
|
+
{
|
|
464
|
+
name: 'remove-record-from-list',
|
|
465
|
+
description: 'Remove a record from a list',
|
|
466
|
+
inputSchema: {
|
|
467
|
+
type: 'object',
|
|
468
|
+
properties: {
|
|
469
|
+
listId: {
|
|
470
|
+
type: 'string',
|
|
471
|
+
description: 'ID of the list to remove the record from',
|
|
472
|
+
},
|
|
473
|
+
entryId: {
|
|
474
|
+
type: 'string',
|
|
475
|
+
description: 'ID of the list entry to remove',
|
|
476
|
+
},
|
|
477
|
+
},
|
|
478
|
+
required: ['listId', 'entryId'],
|
|
479
|
+
},
|
|
480
|
+
},
|
|
481
|
+
{
|
|
482
|
+
name: 'update-list-entry',
|
|
483
|
+
description: "Update a list entry (e.g., change stage from 'Interested' to 'Demo Scheduling')",
|
|
484
|
+
inputSchema: {
|
|
485
|
+
type: 'object',
|
|
486
|
+
properties: {
|
|
487
|
+
listId: {
|
|
488
|
+
type: 'string',
|
|
489
|
+
description: 'ID of the list containing the entry',
|
|
490
|
+
},
|
|
491
|
+
entryId: {
|
|
492
|
+
type: 'string',
|
|
493
|
+
description: 'ID of the list entry to update',
|
|
494
|
+
},
|
|
495
|
+
attributes: {
|
|
496
|
+
type: 'object',
|
|
497
|
+
description: 'Attributes to update on the list entry',
|
|
498
|
+
properties: {
|
|
499
|
+
stage: {
|
|
500
|
+
type: 'string',
|
|
501
|
+
description: "New stage value (e.g., 'Demo Scheduling', 'Interested', 'Won')",
|
|
502
|
+
},
|
|
503
|
+
},
|
|
504
|
+
additionalProperties: true,
|
|
505
|
+
},
|
|
506
|
+
},
|
|
507
|
+
required: ['listId', 'entryId', 'attributes'],
|
|
508
|
+
},
|
|
509
|
+
},
|
|
510
|
+
{
|
|
511
|
+
name: 'filter-list-entries-by-parent',
|
|
512
|
+
description: 'Filter list entries based on parent record properties',
|
|
513
|
+
inputSchema: {
|
|
514
|
+
type: 'object',
|
|
515
|
+
properties: {
|
|
516
|
+
listId: {
|
|
517
|
+
type: 'string',
|
|
518
|
+
description: 'ID of the list to filter entries from',
|
|
519
|
+
},
|
|
520
|
+
parentObjectType: {
|
|
521
|
+
type: 'string',
|
|
522
|
+
description: 'Type of the parent record (e.g., "companies", "people")',
|
|
523
|
+
enum: ['companies', 'people'],
|
|
524
|
+
},
|
|
525
|
+
parentAttributeSlug: {
|
|
526
|
+
type: 'string',
|
|
527
|
+
description: 'Attribute of the parent record to filter by (e.g., "name", "email_addresses", "industry")',
|
|
528
|
+
},
|
|
529
|
+
condition: {
|
|
530
|
+
type: 'string',
|
|
531
|
+
description: 'Filter condition (e.g., "equals", "contains", "starts_with")',
|
|
532
|
+
enum: [
|
|
533
|
+
'equals',
|
|
534
|
+
'not_equals',
|
|
535
|
+
'contains',
|
|
536
|
+
'not_contains',
|
|
537
|
+
'starts_with',
|
|
538
|
+
'ends_with',
|
|
539
|
+
'greater_than',
|
|
540
|
+
'less_than',
|
|
541
|
+
'greater_than_or_equals',
|
|
542
|
+
'less_than_or_equals',
|
|
543
|
+
'is_empty',
|
|
544
|
+
'is_not_empty',
|
|
545
|
+
'is_set',
|
|
546
|
+
'is_not_set',
|
|
547
|
+
],
|
|
548
|
+
},
|
|
549
|
+
value: {
|
|
550
|
+
description: 'Value to filter by (type depends on the attribute)',
|
|
551
|
+
},
|
|
552
|
+
limit: {
|
|
553
|
+
type: 'number',
|
|
554
|
+
description: 'Maximum number of entries to fetch (default: 20)',
|
|
555
|
+
},
|
|
556
|
+
offset: {
|
|
557
|
+
type: 'number',
|
|
558
|
+
description: 'Number of entries to skip for pagination (default: 0)',
|
|
559
|
+
},
|
|
560
|
+
},
|
|
561
|
+
required: [
|
|
562
|
+
'listId',
|
|
563
|
+
'parentObjectType',
|
|
564
|
+
'parentAttributeSlug',
|
|
565
|
+
'condition',
|
|
566
|
+
'value',
|
|
567
|
+
],
|
|
568
|
+
},
|
|
569
|
+
},
|
|
570
|
+
{
|
|
571
|
+
name: 'filter-list-entries-by-parent-id',
|
|
572
|
+
description: 'Filter list entries by parent record ID',
|
|
573
|
+
inputSchema: {
|
|
574
|
+
type: 'object',
|
|
575
|
+
properties: {
|
|
576
|
+
listId: {
|
|
577
|
+
type: 'string',
|
|
578
|
+
description: 'ID of the list to filter entries from',
|
|
579
|
+
},
|
|
580
|
+
recordId: {
|
|
581
|
+
type: 'string',
|
|
582
|
+
description: 'ID of the parent record to filter by',
|
|
583
|
+
},
|
|
584
|
+
limit: {
|
|
585
|
+
type: 'number',
|
|
586
|
+
description: 'Maximum number of entries to fetch (default: 20)',
|
|
587
|
+
},
|
|
588
|
+
offset: {
|
|
589
|
+
type: 'number',
|
|
590
|
+
description: 'Number of entries to skip for pagination (default: 0)',
|
|
591
|
+
},
|
|
592
|
+
},
|
|
593
|
+
required: ['listId', 'recordId'],
|
|
594
|
+
},
|
|
595
|
+
},
|
|
596
|
+
];
|
|
597
|
+
//# sourceMappingURL=lists.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lists.js","sourceRoot":"","sources":["../../../src/handlers/tool-configs/lists.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AACrE,OAAO,EACL,QAAQ,EACR,cAAc,EACd,cAAc,EACd,eAAe,EACf,oBAAoB,EACpB,eAAe,EACf,wBAAwB,EACxB,yBAAyB,EACzB,2BAA2B,GAE5B,MAAM,wBAAwB,CAAC;AAQhC,4BAA4B;AAC5B,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC9B,QAAQ,EAAE;QACR,IAAI,EAAE,WAAW;QACjB,OAAO,EAAE,QAAQ;Q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