Skip to content

feat(v4.8.4): add referral commission, campaign, identity, and invitation endpoints - #4

Merged
JJ-Cro merged 2 commits into
masterfrom
update26102026
Nov 2, 2026
Merged

JJ-Cro merged 2 commits into
masterfrom
update26102026

Conversation

@JJ-Cro

@JJ-Cro JJ-Cro commented Oct 26, 2026

Copy link
Copy Markdown
Owner

Summary

Monday SDK batch for 26 Oct. Patch 4.8.3 to 4.8.4, branched from upstream master at 0f4f75b. PR sieblyio#580 (update19102026) is already merged there, so this branch is not stacked on it.

Adds the four referral POST endpoints from the V5 changelog for 2026-10-20. GET /v5/user/invitation/referrals is unchanged.

Changelog

  • Add getReferralCommissionRecords() for POST /v5/referral/commission/records. Optional camelCase filters; userIdList is an invitee ID list. Response amounts are strings, paymentTime is Unix seconds.
  • Add getReferralCampaignRewards() for POST /v5/referral/campaign/rewards. Empty JSON body. tasks are JSON strings (schemaVersion 2), not the caller's progress or claims.
  • Add getReferralUserIdentityProfile() for POST /v5/referral/user/identity-profile. Empty JSON body. inviterAffiliateUserId and inviterUserId are 1/0 relationship flags, not user IDs. commissionInfo is optional.
  • Add getReferralUserInvitations() for POST /v5/referral/user/invitations. Optional camelCase filters, including friendStatus.

Docs note that gateway field casing and int64/enum serialization are not independently verified. The types follow the published proto camelCase names.

Checks

  • npm run lint passed
  • npm run build passed
  • Unit tests passed: test/util/serializeParams.test.ts, test/websockets/wsStore.test.ts (120 tests)
  • tsc --project tsconfig.test.json --noEmit fails only in test/v5/rsa-auth.test.ts (9 pre-existing errors: process.env secrets typed string | undefined). No errors in the new referral types
  • Private live calls were not run (these endpoints need an API key)
Open in Web Open in Cursor 

cursoragent and others added 2 commits October 26, 2026 08:10
…tion endpoints

- Add getReferralCommissionRecords for POST /v5/referral/commission/records
- Add getReferralCampaignRewards for POST /v5/referral/campaign/rewards
- Add getReferralUserIdentityProfile for POST /v5/referral/user/identity-profile
- Add getReferralUserInvitations for POST /v5/referral/user/invitations

Co-authored-by: Jerko J <JJ-Cro@users.noreply.github.com>
@JJ-Cro
JJ-Cro merged commit c3c1f16 into master Nov 2, 2026
0 of 2 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.

2 participants