Skip to content

Feature/phone number compliance#312

Merged
koushiksk-plivo (koushiksk-plivo) merged 4 commits intomasterfrom
feature/phone-number-compliance
Apr 15, 2026
Merged

Feature/phone number compliance#312
koushiksk-plivo (koushiksk-plivo) merged 4 commits intomasterfrom
feature/phone-number-compliance

Conversation

@koushiksk-plivo
Copy link
Copy Markdown
Contributor

No description provided.

Koushik SK and others added 3 commits April 8, 2026 16:26
Add new regulatory compliance APIs under PhoneNumber/Compliance/ path:
- Requirements API (GET) for discovering compliance requirements
- Compliance Applications API (POST, GET, LIST, PATCH, DELETE)
- Number Linking API (POST) for bulk linking numbers to applications

Adds PATCH support via Retrofit @http annotation. Includes MultipartBody
support for document file uploads. Adds compliances field to ListResponse.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Changed PhoneNumberComplianceRequirementLister to extend BaseRequest
directly instead of Getter. The Getter base class has a protected id
field that was being serialized into query parameters by toMap(),
causing the API to reject requests with "Unknown query parameter 'id'".

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Add 20 comprehensive unit tests covering Requirements, Create, List,
Get, Update, Delete, and Link operations with MockWebServer fixtures.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@koushiksk-plivo koushiksk-plivo (koushiksk-plivo) merged commit bd9f254 into master Apr 15, 2026
3 of 9 checks passed
@koushiksk-plivo koushiksk-plivo (koushiksk-plivo) deleted the feature/phone-number-compliance branch April 15, 2026 08:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants