Skip to content

feat: v1.4.0 — 100% documented endpoint coverage, live-verified#1

Merged
billm950 merged 1 commit into
mainfrom
feat/v1.4.0-full-endpoint-coverage
May 27, 2026
Merged

feat: v1.4.0 — 100% documented endpoint coverage, live-verified#1
billm950 merged 1 commit into
mainfrom
feat/v1.4.0-full-endpoint-coverage

Conversation

@billm950
Copy link
Copy Markdown
Contributor

Added:

  • TagResource ($client->tags()) — workspace tag CRUD (+force delete)
  • FieldResource ($client->fields()) — field-definition CRUD, validate, validate-multiple, GET /field-types
  • SignerDocumentResource ($client->signerDocuments()) — signer-facing current/list/sign-multiple/decline-multiple/download
  • DocumentResource document tags: listTags/appendTags/replaceTags/detachTag
  • AssignmentResource: whatsappNotifications(), sequential-signing step pass-through, NOTIFICATION_* constants
  • SignerSessionResource: currentDocument (GET /sign), sign, decline
  • WebhookResource: eventTypes, dispatches (paginated/filtered), retryDispatch + all 15 subscribable event-type constants
  • HttpClientInterface::delete() query support (tag ?force)

Changed:

  • WebhookResource::deactivate() now uses the dedicated PUT /accounts/{id}/webhooks/inactivate endpoint
  • DocumentResource::assertArtifact() promoted to public static (shared with SignerDocumentResource::download(), DRY)

Tests/docs:

  • 116 unit tests (was 77), PHPStan level 8 clean, PSR-12 clean
  • 17 live integration tests (4 new: tags, fields, doc-tags, webhook discovery); fixed webhook round-trip to self-clean when no prior config
  • README/EXAMPLES/ARCHITECTURE/CHANGELOG updated; fixed stale webhooks()->delete() example; version 1.3.0 -> 1.4.0

Full re-audit against https://api.assinafy.com.br/v1/docs surfaced whole
resource families the SDK never exposed. Each new endpoint was verified
end-to-end against the production API before release.

Added:
- TagResource ($client->tags()) — workspace tag CRUD (+force delete)
- FieldResource ($client->fields()) — field-definition CRUD, validate,
  validate-multiple, GET /field-types
- SignerDocumentResource ($client->signerDocuments()) — signer-facing
  current/list/sign-multiple/decline-multiple/download
- DocumentResource document tags: listTags/appendTags/replaceTags/detachTag
- AssignmentResource: whatsappNotifications(), sequential-signing `step`
  pass-through, NOTIFICATION_* constants
- SignerSessionResource: currentDocument (GET /sign), sign, decline
- WebhookResource: eventTypes, dispatches (paginated/filtered),
  retryDispatch + all 15 subscribable event-type constants
- HttpClientInterface::delete() query support (tag ?force)

Changed:
- WebhookResource::deactivate() now uses the dedicated
  PUT /accounts/{id}/webhooks/inactivate endpoint
- DocumentResource::assertArtifact() promoted to public static (shared
  with SignerDocumentResource::download(), DRY)

Tests/docs:
- 116 unit tests (was 77), PHPStan level 8 clean, PSR-12 clean
- 17 live integration tests (4 new: tags, fields, doc-tags, webhook
  discovery); fixed webhook round-trip to self-clean when no prior config
- README/EXAMPLES/ARCHITECTURE/CHANGELOG updated; fixed stale
  webhooks()->delete() example; version 1.3.0 -> 1.4.0
@billm950 billm950 merged commit d6ead69 into main May 27, 2026
10 checks passed
@billm950 billm950 deleted the feat/v1.4.0-full-endpoint-coverage branch May 27, 2026 16:28
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.

1 participant