[api] add influencer badges

This commit is contained in:
Devin Zuczek
2026-10-08 14:34:04 -04:00
parent 6b8c908771
commit cebeafeb40
12 changed files with 238 additions and 34 deletions
+6 -2
View File
@@ -222,12 +222,16 @@ export const RRPlusSignUpBonus = z.object({
/**
* `GET /api/influencerpartnerprogram/influencers` — the ids of every influencer in the
* partner program, which the client uses to badge them wherever they appear. An object
* around the list, not a bare array.
* around the list, not a bare array. `ContinuationToken` is the paging cursor; always null
* here, the whole list fitting in one page.
*/
export const InfluencerIdsResponse = z.object({
InfluencerIds: z
.array(z.int())
.describe('Account ids in the partner program. Empty — no programme runs here'),
.describe('Account ids in the partner program — every account flagged `isInfluencer`'),
ContinuationToken: z
.null()
.describe('Paging cursor for the next page. Always null — the list is served whole'),
})
/**