Repository navigation
0.2.0: account and conversation layers - #3
Merged
Merged
Conversation
client.accounts creates and maintains a customer on Base User and Base Manager licenses: teams plus a Management location, five groups and three alert rules per team, a connector per location, and helpers for people, licenses, lines and offboarding. Every helper finds before it writes, so a re-run writes nothing; a partial stop raises AccountError. client.conversations gives a signed-in person their own calls, tasks and alerts with masked caller numbers, bounded windows and limits, and briefs that print only their id and time. parse_first_alert_event parses the First Alert webhook. New errors: AccountError and WrongLoginError. client.workflows and its types are removed without aliases. Version 0.2.0. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…y_day.py create_customer.py builds a customer with the account layer (dry run unless --apply; phrase lists optional). my_day.py shows a person's day through the conversation layer with masked numbers and no content in logs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The README replaces the workflow sections with the account and conversation layers and keeps the sections on reading data. The CHANGELOG entry carries the removal table. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- add_* helpers refuse a person already set up with another license - change_line changes only the person's own line; shared lines stay listed - change_license and move_user continue after a stop; old lines and teams stay on the result until the change completes; former teams are left - a line owned by someone read back as "other" is never released - connector failures stop create_customer, add_team and set_connector at the end with AccountError(step="connectors") - nested connector secrets hidden; config wraps on assignment - numbers inside names masked; day windows use each date's own offset - notes when a team's alert groups lose their last manager; people helpers switch monitor-all off on teams they touch - CallBrief.link, AlertBrief.link and reference() give app page links; Client(app_url=...) - fake API: duplicate email 409, alert search as published Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
The live API reports a working connector as "connected" as well as "active". Waiting only for "active" timed out on a connector that was working. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Alerts go on for every team. Teams whose alert groups have no manager are listed under no_manager; their alerts show in the app only. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
The HTTP library's error held the request (password at sign-in, token, connector key) and escaped unwrapped. NetworkError carries only the kind of failure. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Compares types, counts, masking and link shape only. Co-Authored-By: Claude Fable 5.2 <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.
What
client.accountsreplacesclient.workflows: create and maintain a customer on the current packaging (Base User, Base Manager, teams, a Management location), with three default alerts per team, alert email off, and "monitor all numbers" always off.client.conversations: what a signed-in person does with their own calls, tasks and alerts. Summaries by default, one transcript at a time, recordings as an expiring link, bounded windows and result counts, masked caller numbers, app links.ConnectorSpecis a type plus that platform's settings (ConnectorSpec.netsapiens(...)for the documented type); secrets are hidden at any depth when printed.AlertSettingscarries phrases and a sentiment level per alert.connectedas well asactive.client.intelligencehelper and generated method is unchanged.workflowsnamespace and its types. The changelog has the mapping.Checks
Not in this PR
TypeScript and PHP follow from this reference. Publishing is a separate step after all three are ready.
🤖 Generated with Claude Code