Skip to content

Add Seeker Creation, Lost Reason, and Fixes - #18

Merged
vamsii777 merged 14 commits into
mainfrom
feat/seekers
Mar 12, 2026
Merged

Add Seeker Creation, Lost Reason, and Fixes#18
vamsii777 merged 14 commits into
mainfrom
feat/seekers

Conversation

@vamsii777

@vamsii777 vamsii777 commented Jan 10, 2026

Copy link
Copy Markdown
Member

This PR introduces full seeker creation support along with several important fixes and improvements:

New Features

  • Added complete seeker creation endpoint and logic
  • Introduced LostReason enum matching Salesforce picklist values
  • Added lostReason field to Seeker model with proper Codable mapping
  • Expanded supported languages list
  • Added extractAgeFromAgeGroup helper

Fixes & Improvements

  • Fixed marital status validation during creation
  • Corrected ByteBuffer handling
  • Fixed age format parsing and reverted problematic changes
  • Fixed SeekerRequest structure and lead creation flow for seekers
  • Correctly handle HTTP 201 responses (no longer treated as errors)

- Added `LostReason` enum with all Salesforce picklist values
- Added `lostReason` property to Seeker model
- Updated Seeker's Codable conformance for new field
- Reordered properties to place `lostReason` before `createdDate`
- Fixed JSON key mapping for lostReason field
@vamsii777 vamsii777 changed the title Improve Seeker Creation and Fixes feat: implement seeker creation with validation, lost reason, and multiple bug fixes Mar 12, 2026
@vamsii777 vamsii777 changed the title feat: implement seeker creation with validation, lost reason, and multiple bug fixes Add Seeker Creation, Lost Reason, and Fixes Mar 12, 2026
@vamsii777
vamsii777 merged commit bb6e442 into main Mar 12, 2026
3 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