Skip to content

Add TKT API v2 - #19

Merged
vamsii777 merged 1 commit into
mainfrom
chore/v2
Aug 13, 2026
Merged

Add TKT API v2#19
vamsii777 merged 1 commit into
mainfrom
chore/v2

Conversation

@vamsii777

@vamsii777 vamsii777 commented Aug 13, 2026

Copy link
Copy Markdown
Member

Summary

  • Congregation now owns a framework-agnostic sync surface (SyncQuery, SyncPage, typed list queries) so apps page and filter members, seekers, tasks, users, courses, family records, and spiritual records without depending on Salesforce envelopes.
  • SalesforceClient talks to /services/apexrest/v2/* through TktApiV2Client (SalesforceClient.v2). Legacy v1 member/seeker routes stay as deprecated shims.
  • CongregationKit exposes v2 handlers (tasks, users, courses, familyRecords, spiritualRecords) plus paginated fetchAll(query:filters:) on members and seekers. Household Family/FamilyTree and RFID remain first-class domain types; v2 /families maps to FamilyRecord with a cardIssued snapshot only.

Test plan

  • swift build
  • swift test --filter V2DecodeTests
  • swift format lint --strict --recursive .
  • Confirm api-check.yml expectations: this PR intentionally expands the public API
  • Live handler tests against Salesforce when SF_CLIENT_ID, SF_CLIENT_SECRET, SF_USERNAME, and SF_PASSWORD are set

…dels.

Apps can page, filter, and expand members, seekers, tasks, and related records without depending on Salesforce envelope shapes.
@vamsii777 vamsii777 changed the title Add TKT API v2 sync layer Add TKT API v2 Aug 13, 2026
@vamsii777
vamsii777 merged commit b599a25 into main Aug 13, 2026
4 checks passed
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