Skip to content

Add secure code list and count methods to Deals API - #478

Merged
Fridus merged 1 commit into
masterfrom
feat/deals-secure-code-list-and-count
Aug 20, 2026
Merged

Fridus merged 1 commit into
masterfrom
feat/deals-secure-code-list-and-count

Conversation

@Fridus

@Fridus Fridus commented Aug 20, 2026

Copy link
Copy Markdown
Member

Summary

  • Add listSecureCodesByReferralPartner (list-secure-codes-by-referral-partner) with pagination support and exported input/result types
  • Add getSecureCodeCount (get-access-codes-count) with union return type for grouped vs flat count responses
  • Normalize p_page / p_length to strings at call time while accepting string | number in the client input

Test plan

  • yarn build in packages/omnipartners
  • Manual call to listSecureCodesByReferralPartner with a key having the list-secure-codes-by-referral-partner feature enabled
  • Manual call to getSecureCodeCount with a key having the get-access-codes-count feature enabled

Made with Cursor

Expose listSecureCodesByReferralPartner and getSecureCodeCount so clients can query referral-partner secure codes without raw action calls.

Co-authored-by: Cursor <cursoragent@cursor.com>
@Fridus Fridus self-assigned this Aug 20, 2026
@Fridus
Fridus merged commit 1e0297d into master Aug 20, 2026
10 checks passed
@Fridus
Fridus deleted the feat/deals-secure-code-list-and-count branch August 20, 2026 08:22
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