Repository navigation
feat(crm): Bitrix24 activities and tasks on deals and leads (cli-core 0.647.0) - #99
Merged
Merged
Conversation
crm.activity.list on deals and leads (never COMMUNICATIONS) and tasks.task.list bound by UF_CRM_TASK, paged by id, for cli-core's CrmSource.activities. A sign-in without the task scope reads the activities and reports the tasks as a gap. Docs: the activities setting and the task scope. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
Their npm releases word doctor reports as an older cli-core did; the audit across releases blocked on that wording alone. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Task
Part 2 of the b24 CRM tasks plan (cli-private plans/2026-11-11-b24-crm-tasks): the calls, e-mails, meetings, to-dos and Bitrix24 tasks on a deal, next to the deal.
Why
The owner wants them visible in
deals showand readable by an agent, without opening the portal.What
src/crm/activities.ts:crm.activity.liston deals and leads (@OWNER_TYPE_ID1, 2; neverCOMMUNICATIONS, which would bypass the 100-a-day limit on clients' contacts) andtasks.task.list, keeping tasks bound to a deal or lead byUF_CRM_TASK. Paged by id; a sign-in without thetaskscope reads the activities and reports the tasks as a gap.CrmSource.activities(cli-core #2894, 0.647.0). Owner-only settingcrm.bitrix24:<portal>.activities on, off by default; 90 days on the first sync.taskscope in both sign-in paths.Testing
src/crm/activities.test.tson a fake portal; full suite 469 passed against 0.647.0;pnpm generate,pnpm docs:check.🤖 Generated with Claude Code