---
title: "Sorteios"
description: "Sorteios, categorias, resultados e títulos."
---
<div class="lm-ref-kicker"><code>raffles</code><span>namespace</span></div>

Sorteios, categorias, resultados e títulos.

<div class="lm-ref-stats lm-ref-stats--compact">
  <div class="lm-ref-stat"><strong>22</strong><span>métodos</span></div>
  <div class="lm-ref-stat"><code>raffles</code><span>namespace</span></div>
</div>

> Esta página é gerada automaticamente pelo `@luckymaker/sdk-generator`. Não edite manualmente.

## `createReminder`

<div class="lm-endpoint"><span class="lm-http lm-http--post">POST</span><code>/user/raffles/:uuid/reminder</code></div>

Assinatura:

```ts
createReminder(uuid: string, settings?: SdkSettings): Promise<CreateReminderResponse>
```

### Parâmetros de rota

| Nome | Tipo |
|---|---|
| `uuid` | `string` |

### Tipos

```ts
type CreateReminderParams = { "uuid": string; };
type CreateReminderResponse = unknown;
```

### Exemplo

```ts
const response = await sdk.raffles.createReminder("string");
```

<a class="lm-playground-link" href="/docs/guias/playground/?namespace=raffles&method=createReminder">Testar esta função no playground <svg class="lm-arrow-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M5 12h14"/><path d="m12 5 7 7-7 7"/></svg></a>

## `getBonds`

<div class="lm-endpoint"><span class="lm-http lm-http--get">GET</span><code>/user/raffles/:uuid/bonds</code></div>

Assinatura:

```ts
getBonds(uuid: string, query?: GetBondsQuery, settings?: SdkSettings): Promise<GetBondsResponse>
```

### Parâmetros de rota

| Nome | Tipo |
|---|---|
| `uuid` | `string` |

### Query

| Nome | Tipo | Obrigatório |
|---|---|---|
| `page` | `number` | não |
| `perPage` | `number` | não |

### Tipos

```ts
type GetBondsParams = { "uuid": string; };
type GetBondsQuery = { "page"?: number; "perPage"?: number; };
type GetBondsResponse = { "raffle": { "id": number; "uuid": string; "title": string; "thumbnail": string; "susepProcess"?: string; "regulation"?: string; "digitsPerLuckyNumber"?: number; "kind"?: "MAIN" | "SECONDARY" | "GAMBLING"; "edition"?: string; "gambling"?: { "minimumBetPrice"?: string; "maximumBetPrice"?: string; "highestMultiplier"?: number; }; "hideRaffleCountdown"?: boolean | null; "marquee"?: { "text": string; }; "gallery"?: Array<{ "_id"?: string; "type": "YOUTUBE"; "purpose": "RESULTS_LIVE"; "url": string; } | { "_id"?: string; "type": "LIVESTREAM"; "endedAt"?: string; "embedURL": string; "thumbnailURL": string; "publishedAt": string; } | { "_id"?: string; "type": "RESULT"; "embedURL": string; "thumbnailURL": string; "publishedAt": string; } | { "_id"?: string; "type": "IMAGE"; "mediaId"?: string; "url"?: string; "purpose": "BANNER" | "RESULTS_BANNER"; } | { "_id"?: string; "type": "VIDEO"; "mediaId"?: string; "variants"?: Array<{ "format": string; "url": string; "dimensions": string; }>; }>; "highestMatrixNumber"?: number; "participationRules"?: { "canPurchaseBondsDirectly"?: boolean; "allowedCountryStates"?: Array<string>; "allowedCities"?: Array<string>; "supportsFastSignUp"?: boolean; }; "whereToWatch"?: { "facebook"?: string; "youtube"?: string; "twitch"?: string; }; "startAt": string; "endAt": string; "prizes"?: Array<{ "id": number; "name": string; "raffleKind": string; }>; "instantPrizes"?: { "drawMethods": Array<string>; }; "cart"?: { "selectorAmounts"?: Array<number>; "defaultAmountButtonIndex"?: number; "defaultAmountForLandingPage"?: number; "popularAmountButtonIndex"?: number; "increasingAmount"?: number; "minimumAmount"?: number; "selectorButtonLabels"?: Array<{ "text": string; "color": string; "icon"?: string; } | null>; "at"?: { "LANDING_PAGE"?: { "selectorAmounts"?: Array<number>; "defaultAmountButtonIndex"?: number; "defaultAmountForLandingPage"?: number; "popularAmountButtonIndex"?: number; "increasingAmount"?: number; "minimumAmount"?: number; "selectorButtonLabels"?: Array<{ "text": string; "color": string; "icon"?: string; } | null>; }; }; }; "category"?: { "slug": string; }; "drawDate"?: string; "results"?: Array<{ "winner": { "number": number; "name": string; "city": string; "state": string; "neighborhood": string; }; "prize": { "name": string; }; }>; "isOpenForPurchase": boolean; }; "numbers": Array<string>; "total": number; "instantPrizes"?: false | Array<{ "number": string; "awardedItem"?: { "icon"?: string; "title": string; "subtitle": string; }; "type": "SCRATCH_CARD"; "itemsFound": Array<{ "icon"?: string; "title": string; "subtitle": string; }>; }>; "bonds": Array<{ "luckyNumber": string; "matrixChances": Array<{ "chanceIndex": number; "numbers": Array<string>; }>; }>; };
```

### Exemplo

```ts
const response = await sdk.raffles.getBonds("string");
```

<a class="lm-playground-link" href="/docs/guias/playground/?namespace=raffles&method=getBonds">Testar esta função no playground <svg class="lm-arrow-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M5 12h14"/><path d="m12 5 7 7-7 7"/></svg></a>

## `getCategory`

<div class="lm-endpoint"><span class="lm-http lm-http--get">GET</span><code>/raffles/categories/:slug</code></div>

Assinatura:

```ts
getCategory(slug: string, settings?: SdkSettings): Promise<GetCategoryResponse>
```

### Parâmetros de rota

| Nome | Tipo |
|---|---|
| `slug` | `string` |

### Tipos

```ts
type GetCategoryParams = { "slug": string; };
type GetCategoryResponse = { "slug": string; "label": string; "description": string; "iconUrl": string; "displayOrder": number; "color": string; "isMainCategory"?: boolean; "activeRaffles": Array<{ "uuid": string; "title": string; "excerpt": string; "description": string; "thumbnail": string; "price": number; "status": "WAITING" | "OPEN" | "SOLD_OUT" | "CLOSED" | "SUSPENDED" | "ENDED" | "PRIVATE"; "susepProcess"?: string; "regulation"?: string; "digitsPerLuckyNumber"?: number; "kind"?: "MAIN" | "SECONDARY" | "GAMBLING"; "edition"?: string; "gambling"?: { "minimumBetPrice"?: string; "maximumBetPrice"?: string; "highestMultiplier"?: number; }; "hideRaffleCountdown"?: boolean | null; "marquee"?: { "text": string; }; "gallery"?: Array<{ "_id"?: string; "type": "YOUTUBE"; "purpose": "RESULTS_LIVE"; "url": string; } | { "_id"?: string; "type": "LIVESTREAM"; "endedAt"?: string; "embedURL": string; "thumbnailURL": string; "publishedAt": string; } | { "_id"?: string; "type": "RESULT"; "embedURL": string; "thumbnailURL": string; "publishedAt": string; } | { "_id"?: string; "type": "IMAGE"; "mediaId"?: string; "url"?: string; "purpose": "BANNER" | "RESULTS_BANNER"; } | { "_id"?: string; "type": "VIDEO"; "mediaId"?: string; "variants"?: Array<{ "format": string; "url": string; "dimensions": string; }>; }>; "highestMatrixNumber"?: number; "participationRules"?: { "canPurchaseBondsDirectly"?: boolean; "allowedCountryStates"?: Array<string>; "allowedCities"?: Array<string>; "supportsFastSignUp"?: boolean; }; "whereToWatch"?: { "facebook"?: string; "youtube"?: string; "twitch"?: string; }; "startAt": string; "endAt": string; "prizes"?: Array<{ "id": number; "name": string; "raffleKind": string; }> | Array<{ "name": string; "raffleKind": string; }>; "instantPrizes"?: { "drawMethods": Array<string>; }; "cart"?: { "selectorAmounts"?: Array<number>; "defaultAmountButtonIndex"?: number; "defaultAmountForLandingPage"?: number; "popularAmountButtonIndex"?: number; "increasingAmount"?: number; "minimumAmount"?: number; "selectorButtonLabels"?: Array<{ "text": string; "color": string; "icon"?: string; } | null>; "at"?: { "LANDING_PAGE"?: { "selectorAmounts"?: Array<number>; "defaultAmountButtonIndex"?: number; "defaultAmountForLandingPage"?: number; "popularAmountButtonIndex"?: number; "increasingAmount"?: number; "minimumAmount"?: number; "selectorButtonLabels"?: Array<{ "text": string; "color": string; "icon"?: string; } | null>; }; }; }; "category"?: { "slug": string; }; "drawDate"?: string; "results"?: Array<{ "winner": { "number": number; "name": string; "city": string; "state": string; "neighborhood": string; }; "prize": { "name": string; }; }>; "userHasPurchasedTickets"?: boolean; "reseller"?: { "name": string; "photo": string; }; }>; };
```

### Exemplo

```ts
const response = await sdk.raffles.getCategory("string");
```

<a class="lm-playground-link" href="/docs/guias/playground/?namespace=raffles&method=getCategory">Testar esta função no playground <svg class="lm-arrow-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M5 12h14"/><path d="m12 5 7 7-7 7"/></svg></a>

## `getCombos`

<div class="lm-endpoint"><span class="lm-http lm-http--get">GET</span><code>/raffles/:id/combos</code></div>

Assinatura:

```ts
getCombos(id: number | string | "recent", settings?: SdkSettings): Promise<GetCombosResponse>
```

### Parâmetros de rota

| Nome | Tipo |
|---|---|
| `id` | `number \| string \| "recent"` |

### Tipos

```ts
type GetCombosParams = { "id": number | string | "recent"; };
type GetCombosResponse = unknown;
```

### Exemplo

```ts
const response = await sdk.raffles.getCombos(0);
```

<a class="lm-playground-link" href="/docs/guias/playground/?namespace=raffles&method=getCombos">Testar esta função no playground <svg class="lm-arrow-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M5 12h14"/><path d="m12 5 7 7-7 7"/></svg></a>

## `getDrawnNumbers`

<div class="lm-endpoint"><span class="lm-http lm-http--get">GET</span><code>/user/raffles/:uuid/drawn-numbers</code></div>

Assinatura:

```ts
getDrawnNumbers(uuid: string, settings?: SdkSettings): Promise<GetDrawnNumbersResponse>
```

### Parâmetros de rota

| Nome | Tipo |
|---|---|
| `uuid` | `string` |

### Tipos

```ts
type GetDrawnNumbersParams = { "uuid": string; };
type GetDrawnNumbersResponse = unknown;
```

### Exemplo

```ts
const response = await sdk.raffles.getDrawnNumbers("string");
```

<a class="lm-playground-link" href="/docs/guias/playground/?namespace=raffles&method=getDrawnNumbers">Testar esta função no playground <svg class="lm-arrow-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M5 12h14"/><path d="m12 5 7 7-7 7"/></svg></a>

## `getItems`

<div class="lm-endpoint"><span class="lm-http lm-http--get">GET</span><code>/raffles/:id/items</code></div>

Assinatura:

```ts
getItems(id: number | string | "recent", settings?: SdkSettings): Promise<GetItemsResponse>
```

### Parâmetros de rota

| Nome | Tipo |
|---|---|
| `id` | `number \| string \| "recent"` |

### Tipos

```ts
type GetItemsParams = { "id": number | string | "recent"; };
type GetItemsResponse = unknown;
```

### Exemplo

```ts
const response = await sdk.raffles.getItems(0);
```

<a class="lm-playground-link" href="/docs/guias/playground/?namespace=raffles&method=getItems">Testar esta função no playground <svg class="lm-arrow-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M5 12h14"/><path d="m12 5 7 7-7 7"/></svg></a>

## `getLegacyRaffle`

<div class="lm-endpoint"><span class="lm-http lm-http--get">GET</span><code>/raffle/:id</code></div>

Assinatura:

```ts
getLegacyRaffle(id: number | string | "recent", query?: GetLegacyRaffleQuery, settings?: SdkSettings): Promise<GetLegacyRaffleResponse>
```

### Parâmetros de rota

| Nome | Tipo |
|---|---|
| `id` | `number \| string \| "recent"` |

### Query

| Nome | Tipo | Obrigatório |
|---|---|---|
| `affiliate_id` | `string \| number` | não |
| `reseller_id` | `string \| number` | não |
| `reseller_slug` | `string \| number` | não |
| `reseller_uuid` | `string` | não |

### Tipos

```ts
type GetLegacyRaffleParams = { "id": number | string | "recent"; };
type GetLegacyRaffleQuery = { "affiliate_id"?: string | number; "reseller_id"?: string | number; "reseller_slug"?: string | number; "reseller_uuid"?: string; };
type GetLegacyRaffleResponse = { "uuid": string; "title": string; "excerpt": string; "description": string; "thumbnail": string; "price": number; "status": "WAITING" | "OPEN" | "SOLD_OUT" | "CLOSED" | "SUSPENDED" | "ENDED" | "PRIVATE"; "susepProcess"?: string; "regulation"?: string; "digitsPerLuckyNumber"?: number; "kind"?: "MAIN" | "SECONDARY" | "GAMBLING"; "edition"?: string; "gambling"?: { "minimumBetPrice"?: string; "maximumBetPrice"?: string; "highestMultiplier"?: number; }; "hideRaffleCountdown"?: boolean | null; "marquee"?: { "text": string; }; "gallery"?: Array<{ "_id"?: string; "type": "YOUTUBE"; "purpose": "RESULTS_LIVE"; "url": string; } | { "_id"?: string; "type": "LIVESTREAM"; "endedAt"?: string; "embedURL": string; "thumbnailURL": string; "publishedAt": string; } | { "_id"?: string; "type": "RESULT"; "embedURL": string; "thumbnailURL": string; "publishedAt": string; } | { "_id"?: string; "type": "IMAGE"; "mediaId"?: string; "url"?: string; "purpose": "BANNER" | "RESULTS_BANNER"; } | { "_id"?: string; "type": "VIDEO"; "mediaId"?: string; "variants"?: Array<{ "format": string; "url": string; "dimensions": string; }>; }>; "highestMatrixNumber"?: number; "participationRules"?: { "canPurchaseBondsDirectly"?: boolean; "allowedCountryStates"?: Array<string>; "allowedCities"?: Array<string>; "supportsFastSignUp"?: boolean; }; "whereToWatch"?: { "facebook"?: string; "youtube"?: string; "twitch"?: string; }; "startAt": string; "endAt": string; "prizes"?: Array<{ "id": number; "name": string; "raffleKind": string; }> | Array<{ "name": string; "raffleKind": string; }>; "instantPrizes"?: { "drawMethods": Array<string>; }; "cart"?: { "selectorAmounts"?: Array<number>; "defaultAmountButtonIndex"?: number; "defaultAmountForLandingPage"?: number; "popularAmountButtonIndex"?: number; "increasingAmount"?: number; "minimumAmount"?: number; "selectorButtonLabels"?: Array<{ "text": string; "color": string; "icon"?: string; } | null>; "at"?: { "LANDING_PAGE"?: { "selectorAmounts"?: Array<number>; "defaultAmountButtonIndex"?: number; "defaultAmountForLandingPage"?: number; "popularAmountButtonIndex"?: number; "increasingAmount"?: number; "minimumAmount"?: number; "selectorButtonLabels"?: Array<{ "text": string; "color": string; "icon"?: string; } | null>; }; }; }; "category"?: { "slug": string; }; "drawDate"?: string; "results"?: Array<{ "winner": { "number": number; "name": string; "city": string; "state": string; "neighborhood": string; }; "prize": { "name": string; }; }>; "userHasPurchasedTickets"?: boolean; "reseller"?: { "name": string; "photo": string; }; };
```

### Exemplo

```ts
const response = await sdk.raffles.getLegacyRaffle(0);
```

<a class="lm-playground-link" href="/docs/guias/playground/?namespace=raffles&method=getLegacyRaffle">Testar esta função no playground <svg class="lm-arrow-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M5 12h14"/><path d="m12 5 7 7-7 7"/></svg></a>

## `getOrders`

<div class="lm-endpoint"><span class="lm-http lm-http--get">GET</span><code>/user/raffles/:uuid/orders</code></div>

Assinatura:

```ts
getOrders(uuid: string, query?: GetOrdersQuery, settings?: SdkSettings): Promise<GetOrdersResponse>
```

### Parâmetros de rota

| Nome | Tipo |
|---|---|
| `uuid` | `string` |

### Query

| Nome | Tipo | Obrigatório |
|---|---|---|
| `simplified` | `boolean` | não |
| `includeTickets` | `boolean` | não |

### Tipos

```ts
type GetOrdersParams = { "uuid": string; };
type GetOrdersQuery = { "simplified"?: boolean; "includeTickets"?: boolean; };
type GetOrdersResponse = Array<{ "id": number; "uuid": string; "method": unknown; "methods": Array<"CARD" | "PICPAY" | "PIX" | "CREDITS" | "API" | "POINTS" | "DIGITAL_WALLET">; "value": number; "originalValue"?: number; "pointsValue"?: number; "source": "APP" | "API" | "PHYSICAL" | "DESKTOP_WEB" | "MOBILE_WEB" | "TABLET_WEB" | "EMBED" | "LANDING_PAGE" | "WEBSITE" | "UNKNOWN" | "STUB" | "SUBSCRIPTION"; "status": "CREATED" | "PENDING" | "ANALYSIS" | "APPROVED" | "REFUSED" | "CANCELLED" | "REFUNDED" | "CHARGEDBACK"; "expiresAt"?: string; "canChangPaymentMethod": boolean; "authorizationOnly"?: boolean; "instantPrizesWon"?: number; "appliedOffers"?: Array<unknown>; "unlockedOffers"?: Array<unknown>; "bonds"?: { "count": number; }; "data": { "involvedRaffles"?: Record<string, unknown>; "statusMessage"?: string; "user"?: { "name": string; "cpf"?: string; "needNewPassword"?: boolean; }; "reseller"?: { "name": string; }; }; "payer"?: { "id": number; "name": string; "document": string; "email": string; "phone"?: string; "address": { "streetName": string; "number"?: string; "complement"?: string; "neighborhood": string; "city": string; "state": string; "cep": string; }; }; "blocks"?: unknown; "items": unknown; "instructions"?: { "code": string; } | { "url": string; } | { "clientSecret": string; }; "createdAt": string; "updatedAt": string; "token"?: string; "links"?: { "self": string; }; "subscriptionAuthorization"?: { "planName": string; "recurringValue": number; "billingLabel": string; "firstChargeAt"?: string; }; "externalServices"?: Array<{ "name": string; "data"?: Record<string, unknown>; }>; }>;
```

### Exemplo

```ts
const response = await sdk.raffles.getOrders("string");
```

<a class="lm-playground-link" href="/docs/guias/playground/?namespace=raffles&method=getOrders">Testar esta função no playground <svg class="lm-arrow-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M5 12h14"/><path d="m12 5 7 7-7 7"/></svg></a>

## `getPrizesInstantStats`

<div class="lm-endpoint"><span class="lm-http lm-http--get">GET</span><code>/raffles/:id/prizes/instant/stats</code></div>

Assinatura:

```ts
getPrizesInstantStats(id: number | string | "recent", query?: GetPrizesInstantStatsQuery, settings?: SdkSettings): Promise<GetPrizesInstantStatsResponse>
```

### Parâmetros de rota

| Nome | Tipo |
|---|---|
| `id` | `number \| string \| "recent"` |

### Query

| Nome | Tipo | Obrigatório |
|---|---|---|
| `page` | `number` | não |

### Tipos

```ts
type GetPrizesInstantStatsParams = { "id": number | string | "recent"; };
type GetPrizesInstantStatsQuery = { "page"?: number; };
type GetPrizesInstantStatsResponse = unknown;
```

### Exemplo

```ts
const response = await sdk.raffles.getPrizesInstantStats(0);
```

<a class="lm-playground-link" href="/docs/guias/playground/?namespace=raffles&method=getPrizesInstantStats">Testar esta função no playground <svg class="lm-arrow-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M5 12h14"/><path d="m12 5 7 7-7 7"/></svg></a>

## `getRaffle`

<div class="lm-endpoint"><span class="lm-http lm-http--get">GET</span><code>/raffles/:id</code></div>

Assinatura:

```ts
getRaffle(id: number | string | "recent", query?: GetRaffleQuery, settings?: SdkSettings): Promise<GetRaffleResponse>
```

### Parâmetros de rota

| Nome | Tipo |
|---|---|
| `id` | `number \| string \| "recent"` |

### Query

| Nome | Tipo | Obrigatório |
|---|---|---|
| `affiliate_id` | `string \| number` | não |
| `reseller_id` | `string \| number` | não |
| `reseller_slug` | `string \| number` | não |
| `reseller_uuid` | `string` | não |

### Tipos

```ts
type GetRaffleParams = { "id": number | string | "recent"; };
type GetRaffleQuery = { "affiliate_id"?: string | number; "reseller_id"?: string | number; "reseller_slug"?: string | number; "reseller_uuid"?: string; };
type GetRaffleResponse = { "uuid": string; "title": string; "excerpt": string; "description": string; "thumbnail": string; "price": number; "status": "WAITING" | "OPEN" | "SOLD_OUT" | "CLOSED" | "SUSPENDED" | "ENDED" | "PRIVATE"; "susepProcess"?: string; "regulation"?: string; "digitsPerLuckyNumber"?: number; "kind"?: "MAIN" | "SECONDARY" | "GAMBLING"; "edition"?: string; "gambling"?: { "minimumBetPrice"?: string; "maximumBetPrice"?: string; "highestMultiplier"?: number; }; "hideRaffleCountdown"?: boolean | null; "marquee"?: { "text": string; }; "gallery"?: Array<{ "_id"?: string; "type": "YOUTUBE"; "purpose": "RESULTS_LIVE"; "url": string; } | { "_id"?: string; "type": "LIVESTREAM"; "endedAt"?: string; "embedURL": string; "thumbnailURL": string; "publishedAt": string; } | { "_id"?: string; "type": "RESULT"; "embedURL": string; "thumbnailURL": string; "publishedAt": string; } | { "_id"?: string; "type": "IMAGE"; "mediaId"?: string; "url"?: string; "purpose": "BANNER" | "RESULTS_BANNER"; } | { "_id"?: string; "type": "VIDEO"; "mediaId"?: string; "variants"?: Array<{ "format": string; "url": string; "dimensions": string; }>; }>; "highestMatrixNumber"?: number; "participationRules"?: { "canPurchaseBondsDirectly"?: boolean; "allowedCountryStates"?: Array<string>; "allowedCities"?: Array<string>; "supportsFastSignUp"?: boolean; }; "whereToWatch"?: { "facebook"?: string; "youtube"?: string; "twitch"?: string; }; "startAt": string; "endAt": string; "prizes"?: Array<{ "id": number; "name": string; "raffleKind": string; }> | Array<{ "name": string; "raffleKind": string; }>; "instantPrizes"?: { "drawMethods": Array<string>; }; "cart"?: { "selectorAmounts"?: Array<number>; "defaultAmountButtonIndex"?: number; "defaultAmountForLandingPage"?: number; "popularAmountButtonIndex"?: number; "increasingAmount"?: number; "minimumAmount"?: number; "selectorButtonLabels"?: Array<{ "text": string; "color": string; "icon"?: string; } | null>; "at"?: { "LANDING_PAGE"?: { "selectorAmounts"?: Array<number>; "defaultAmountButtonIndex"?: number; "defaultAmountForLandingPage"?: number; "popularAmountButtonIndex"?: number; "increasingAmount"?: number; "minimumAmount"?: number; "selectorButtonLabels"?: Array<{ "text": string; "color": string; "icon"?: string; } | null>; }; }; }; "category"?: { "slug": string; }; "drawDate"?: string; "results"?: Array<{ "winner": { "number": number; "name": string; "city": string; "state": string; "neighborhood": string; }; "prize": { "name": string; }; }>; "userHasPurchasedTickets"?: boolean; "reseller"?: { "name": string; "photo": string; }; };
```

### Exemplo

```ts
const response = await sdk.raffles.getRaffle(0);
```

<a class="lm-playground-link" href="/docs/guias/playground/?namespace=raffles&method=getRaffle">Testar esta função no playground <svg class="lm-arrow-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M5 12h14"/><path d="m12 5 7 7-7 7"/></svg></a>

## `getReminder`

<div class="lm-endpoint"><span class="lm-http lm-http--get">GET</span><code>/user/raffles/:uuid/reminder</code></div>

Assinatura:

```ts
getReminder(uuid: string, settings?: SdkSettings): Promise<GetReminderResponse>
```

### Parâmetros de rota

| Nome | Tipo |
|---|---|
| `uuid` | `string` |

### Tipos

```ts
type GetReminderParams = { "uuid": string; };
type GetReminderResponse = unknown;
```

### Exemplo

```ts
const response = await sdk.raffles.getReminder("string");
```

<a class="lm-playground-link" href="/docs/guias/playground/?namespace=raffles&method=getReminder">Testar esta função no playground <svg class="lm-arrow-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M5 12h14"/><path d="m12 5 7 7-7 7"/></svg></a>

## `getResults`

<div class="lm-endpoint"><span class="lm-http lm-http--get">GET</span><code>/raffles/:id/results</code></div>

Assinatura:

```ts
getResults(id: number | string | "recent", query?: GetResultsQuery, settings?: SdkSettings): Promise<GetResultsResponse>
```

### Parâmetros de rota

| Nome | Tipo |
|---|---|
| `id` | `number \| string \| "recent"` |

### Query

| Nome | Tipo | Obrigatório |
|---|---|---|
| `page` | `number` | não |
| `limit` | `number` | não |
| `kind` | `unknown \| "ANY_KIND"` | não |
| `category` | `string` | não |

### Tipos

```ts
type GetResultsParams = { "id": number | string | "recent"; };
type GetResultsQuery = { "page"?: number; "limit"?: number; "kind"?: unknown | "ANY_KIND"; "category"?: string; };
type GetResultsResponse = { "id": number; "uuid": string; "title": string; "gallery"?: Array<{ "_id"?: string; "type": "YOUTUBE"; "purpose": "RESULTS_LIVE"; "url": string; } | { "_id"?: string; "type": "LIVESTREAM"; "endedAt"?: string; "embedURL": string; "thumbnailURL": string; "publishedAt": string; } | { "_id"?: string; "type": "RESULT"; "embedURL": string; "thumbnailURL": string; "publishedAt": string; } | { "_id"?: string; "type": "IMAGE"; "mediaId"?: string; "url"?: string; "purpose": "BANNER" | "RESULTS_BANNER"; } | { "_id"?: string; "type": "VIDEO"; "mediaId"?: string; "variants"?: Array<{ "format": string; "url": string; "dimensions": string; }>; }>; "thumbnail": null | string; "highestMatrixNumber"?: number; "edition": string; "excerpt": null | string; "endedAt": string; "month": number; "year": number; "digitsPerLuckyNumber": number; "results": Array<{ "prize": { "id"?: number; "raffleKind"?: string; "name": string; }; "winner"?: { "number": string; "name": string; "city"?: null | string; "state"?: null | string; "neighborhood"?: null | string; "photoUrl"?: null | string; "customText"?: null | string; "reseller": null | { "name": null | string; }; "earnedMoney"?: number; "video"?: null | { "source": "YOUTUBE"; "url": string; "orientation": "VERTICAL" | "HORIZONTAL"; }; "external"?: boolean; }; "winners"?: Array<{ "number": string; "name": string; "city"?: null | string; "state"?: null | string; "neighborhood"?: null | string; "photoUrl"?: null | string; "customText"?: null | string; "reseller": null | { "name": null | string; }; "earnedMoney"?: number; "video"?: null | { "source": "YOUTUBE"; "url": string; "orientation": "VERTICAL" | "HORIZONTAL"; }; "external"?: boolean; }>; "drawnNumbers"?: Array<string>; }>; } | Array<{ "raffle": { "uuid": string; "title": string; "drawDate": string; }; "prize": { "title": string; }; "winner": { "name": string; "socialName"?: null | string; "city"?: null | string; "state"?: null | string; "photoUrl"?: null | string; "customText"?: null | string; "video"?: null | { "source": "YOUTUBE"; "url": string; "orientation": "VERTICAL" | "HORIZONTAL"; }; "number": string; }; }>;
```

### Exemplo

```ts
const response = await sdk.raffles.getResults(0);
```

<a class="lm-playground-link" href="/docs/guias/playground/?namespace=raffles&method=getResults">Testar esta função no playground <svg class="lm-arrow-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M5 12h14"/><path d="m12 5 7 7-7 7"/></svg></a>

## `listActive`

<div class="lm-endpoint"><span class="lm-http lm-http--get">GET</span><code>/raffles/active</code></div>

Assinatura:

```ts
listActive(settings?: SdkSettings): Promise<ListActiveResponse>
```

### Tipos

```ts
type ListActiveResponse = unknown;
```

### Exemplo

```ts
const response = await sdk.raffles.listActive();
```

<a class="lm-playground-link" href="/docs/guias/playground/?namespace=raffles&method=listActive">Testar esta função no playground <svg class="lm-arrow-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M5 12h14"/><path d="m12 5 7 7-7 7"/></svg></a>

## `listActiveRegulations`

<div class="lm-endpoint"><span class="lm-http lm-http--get">GET</span><code>/raffles/active/regulations</code></div>

Assinatura:

```ts
listActiveRegulations(settings?: SdkSettings): Promise<ListActiveRegulationsResponse>
```

### Tipos

```ts
type ListActiveRegulationsResponse = { "raffles": Array<{ "uuid": string; "title": string; "regulation"?: string; }>; };
```

### Exemplo

```ts
const response = await sdk.raffles.listActiveRegulations();
```

<a class="lm-playground-link" href="/docs/guias/playground/?namespace=raffles&method=listActiveRegulations">Testar esta função no playground <svg class="lm-arrow-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M5 12h14"/><path d="m12 5 7 7-7 7"/></svg></a>

## `listCategories`

<div class="lm-endpoint"><span class="lm-http lm-http--get">GET</span><code>/raffles/categories</code></div>

Assinatura:

```ts
listCategories(query?: ListCategoriesQuery, settings?: SdkSettings): Promise<ListCategoriesResponse>
```

### Query

| Nome | Tipo | Obrigatório |
|---|---|---|
| `attributes` | `string` | não |

### Tipos

```ts
type ListCategoriesQuery = { "attributes"?: string; };
type ListCategoriesResponse = Array<{ "slug"?: string; "label"?: string; "description"?: string; "iconUrl"?: string; "displayOrder"?: number; "color"?: string; "featured"?: boolean; "isMainCategory"?: boolean; "firstDrawDate"?: string | null; "lastDrawDate"?: string | null; }>;
```

### Exemplo

```ts
const response = await sdk.raffles.listCategories();
```

<a class="lm-playground-link" href="/docs/guias/playground/?namespace=raffles&method=listCategories">Testar esta função no playground <svg class="lm-arrow-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M5 12h14"/><path d="m12 5 7 7-7 7"/></svg></a>

## `listDailyResults`

<div class="lm-endpoint"><span class="lm-http lm-http--get">GET</span><code>/daily-raffle/results</code></div>

Assinatura:

```ts
listDailyResults(query?: ListDailyResultsQuery, settings?: SdkSettings): Promise<ListDailyResultsResponse>
```

### Query

| Nome | Tipo | Obrigatório |
|---|---|---|
| `date` | `string` | sim |

### Tipos

```ts
type ListDailyResultsQuery = { "date": string; };
type ListDailyResultsResponse = Array<{ "title": string; "time": string; "prizes": Array<{ "title"?: string; "winner": { "number": string | number; "user": { "photoUrl"?: string; "name": string; "city": string; "state": string; }; "reseller"?: { "name": string; }; }; }>; }>;
```

### Exemplo

```ts
const response = await sdk.raffles.listDailyResults({ "date": "string" });
```

<a class="lm-playground-link" href="/docs/guias/playground/?namespace=raffles&method=listDailyResults">Testar esta função no playground <svg class="lm-arrow-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M5 12h14"/><path d="m12 5 7 7-7 7"/></svg></a>

## `listLegacyRaffle`

<div class="lm-endpoint"><span class="lm-http lm-http--get">GET</span><code>/raffle/list</code></div>

Assinatura:

```ts
listLegacyRaffle(query?: ListLegacyRaffleQuery, settings?: SdkSettings): Promise<ListLegacyRaffleResponse>
```

### Query

| Nome | Tipo | Obrigatório |
|---|---|---|
| `page` | `number` | não |

### Tipos

```ts
type ListLegacyRaffleQuery = { "page"?: number; };
type ListLegacyRaffleResponse = Array<{ "uuid": string; "title": string; "excerpt": string; "thumbnail": string; "susepProcess"?: string; "regulation"?: string; "digitsPerLuckyNumber"?: number; "kind"?: "MAIN" | "SECONDARY" | "GAMBLING"; "edition"?: string; "gambling"?: { "minimumBetPrice"?: string; "maximumBetPrice"?: string; "highestMultiplier"?: number; }; "hideRaffleCountdown"?: boolean | null; "marquee"?: { "text": string; }; "gallery"?: Array<{ "_id"?: string; "type": "YOUTUBE"; "purpose": "RESULTS_LIVE"; "url": string; } | { "_id"?: string; "type": "LIVESTREAM"; "endedAt"?: string; "embedURL": string; "thumbnailURL": string; "publishedAt": string; } | { "_id"?: string; "type": "RESULT"; "embedURL": string; "thumbnailURL": string; "publishedAt": string; } | { "_id"?: string; "type": "IMAGE"; "mediaId"?: string; "url"?: string; "purpose": "BANNER" | "RESULTS_BANNER"; } | { "_id"?: string; "type": "VIDEO"; "mediaId"?: string; "variants"?: Array<{ "format": string; "url": string; "dimensions": string; }>; }>; "highestMatrixNumber"?: number; "participationRules"?: { "canPurchaseBondsDirectly"?: boolean; "allowedCountryStates"?: Array<string>; "allowedCities"?: Array<string>; "supportsFastSignUp"?: boolean; }; "whereToWatch"?: { "facebook"?: string; "youtube"?: string; "twitch"?: string; }; "startAt": string; "endAt": string; "prizes"?: Array<{ "id": number; "name": string; "raffleKind": string; }>; "instantPrizes"?: { "drawMethods": Array<string>; }; "cart"?: { "selectorAmounts"?: Array<number>; "defaultAmountButtonIndex"?: number; "defaultAmountForLandingPage"?: number; "popularAmountButtonIndex"?: number; "increasingAmount"?: number; "minimumAmount"?: number; "selectorButtonLabels"?: Array<{ "text": string; "color": string; "icon"?: string; } | null>; "at"?: { "LANDING_PAGE"?: { "selectorAmounts"?: Array<number>; "defaultAmountButtonIndex"?: number; "defaultAmountForLandingPage"?: number; "popularAmountButtonIndex"?: number; "increasingAmount"?: number; "minimumAmount"?: number; "selectorButtonLabels"?: Array<{ "text": string; "color": string; "icon"?: string; } | null>; }; }; }; "category"?: { "slug": string; }; "drawDate"?: string; "results"?: Array<{ "winner": { "number": number; "name": string; "city": string; "state": string; "neighborhood": string; }; "prize": { "name": string; }; }>; }>;
```

### Exemplo

```ts
const response = await sdk.raffles.listLegacyRaffle();
```

<a class="lm-playground-link" href="/docs/guias/playground/?namespace=raffles&method=listLegacyRaffle">Testar esta função no playground <svg class="lm-arrow-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M5 12h14"/><path d="m12 5 7 7-7 7"/></svg></a>

## `listLegacyResults`

<div class="lm-endpoint"><span class="lm-http lm-http--get">GET</span><code>/raffle/results</code></div>

Assinatura:

```ts
listLegacyResults(query?: ListLegacyResultsQuery, settings?: SdkSettings): Promise<ListLegacyResultsResponse>
```

### Query

| Nome | Tipo | Obrigatório |
|---|---|---|
| `page` | `number` | não |
| `year` | `number` | não |
| `month` | `number` | não |
| `endDate` | `string` | não |
| `kind` | `unknown \| "ANY_KIND"` | sim |
| `category` | `string` | não |

### Tipos

```ts
type ListLegacyResultsQuery = { "page"?: number; "year"?: number; "month"?: number; "endDate"?: string; "kind": unknown | "ANY_KIND"; "category"?: string; };
type ListLegacyResultsResponse = Array<{ "id": number; "uuid": string; "title": string; "gallery"?: Array<{ "_id"?: string; "type": "YOUTUBE"; "purpose": "RESULTS_LIVE"; "url": string; } | { "_id"?: string; "type": "LIVESTREAM"; "endedAt"?: string; "embedURL": string; "thumbnailURL": string; "publishedAt": string; } | { "_id"?: string; "type": "RESULT"; "embedURL": string; "thumbnailURL": string; "publishedAt": string; } | { "_id"?: string; "type": "IMAGE"; "mediaId"?: string; "url"?: string; "purpose": "BANNER" | "RESULTS_BANNER"; } | { "_id"?: string; "type": "VIDEO"; "mediaId"?: string; "variants"?: Array<{ "format": string; "url": string; "dimensions": string; }>; }>; "thumbnail": null | string; "highestMatrixNumber"?: number; "edition": string; "excerpt": null | string; "endedAt": string; "month": number; "year": number; "digitsPerLuckyNumber": number; "results": Array<{ "prize": { "id"?: number; "raffleKind"?: string; "name": string; }; "winner"?: { "number": string; "name": string; "city"?: null | string; "state"?: null | string; "neighborhood"?: null | string; "photoUrl"?: null | string; "customText"?: null | string; "reseller": null | { "name": null | string; }; "earnedMoney"?: number; "video"?: null | { "source": "YOUTUBE"; "url": string; "orientation": "VERTICAL" | "HORIZONTAL"; }; "external"?: boolean; }; "winners"?: Array<{ "number": string; "name": string; "city"?: null | string; "state"?: null | string; "neighborhood"?: null | string; "photoUrl"?: null | string; "customText"?: null | string; "reseller": null | { "name": null | string; }; "earnedMoney"?: number; "video"?: null | { "source": "YOUTUBE"; "url": string; "orientation": "VERTICAL" | "HORIZONTAL"; }; "external"?: boolean; }>; "drawnNumbers"?: Array<string>; }>; }>;
```

### Exemplo

```ts
const response = await sdk.raffles.listLegacyResults({ "kind": "ANY_KIND" });
```

<a class="lm-playground-link" href="/docs/guias/playground/?namespace=raffles&method=listLegacyResults">Testar esta função no playground <svg class="lm-arrow-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M5 12h14"/><path d="m12 5 7 7-7 7"/></svg></a>

## `listLive`

<div class="lm-endpoint"><span class="lm-http lm-http--get">GET</span><code>/raffles/live</code></div>

Assinatura:

```ts
listLive(settings?: SdkSettings): Promise<ListLiveResponse>
```

### Tipos

```ts
type ListLiveResponse = { "raffles": Array<{ "uuid": string; "title": string; "drawDate"?: string; "embedURL": string; "streamThumbnailURL": string; "startedAt": string; "prizes": Array<{ "name": string; }>; }>; };
```

### Exemplo

```ts
const response = await sdk.raffles.listLive();
```

<a class="lm-playground-link" href="/docs/guias/playground/?namespace=raffles&method=listLive">Testar esta função no playground <svg class="lm-arrow-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M5 12h14"/><path d="m12 5 7 7-7 7"/></svg></a>

## `listNearest`

<div class="lm-endpoint"><span class="lm-http lm-http--get">GET</span><code>/raffles/nearest</code></div>

Assinatura:

```ts
listNearest(query?: ListNearestQuery, settings?: SdkSettings): Promise<ListNearestResponse>
```

### Query

| Nome | Tipo | Obrigatório |
|---|---|---|
| `kind` | `unknown` | sim |

### Tipos

```ts
type ListNearestQuery = { "kind": unknown; };
type ListNearestResponse = unknown;
```

### Exemplo

```ts
const response = await sdk.raffles.listNearest({ "kind": "string" });
```

<a class="lm-playground-link" href="/docs/guias/playground/?namespace=raffles&method=listNearest">Testar esta função no playground <svg class="lm-arrow-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M5 12h14"/><path d="m12 5 7 7-7 7"/></svg></a>

## `listRaffles`

<div class="lm-endpoint"><span class="lm-http lm-http--get">GET</span><code>/user/raffles</code></div>

Assinatura:

```ts
listRaffles(query?: ListRafflesQuery, settings?: SdkSettings): Promise<ListRafflesResponse>
```

### Query

| Nome | Tipo | Obrigatório |
|---|---|---|
| `page` | `number` | não |
| `drawedAt` | `"FUTURE" \| "PAST"` | não |

### Tipos

```ts
type ListRafflesQuery = { "page"?: number; "drawedAt"?: "FUTURE" | "PAST"; };
type ListRafflesResponse = Array<{ "uuid": string; "title": string; "thumbnail": string; "susepProcess"?: string; "regulation"?: string; "digitsPerLuckyNumber"?: number; "kind"?: "MAIN" | "SECONDARY" | "GAMBLING"; "edition"?: string; "gambling"?: { "minimumBetPrice"?: string; "maximumBetPrice"?: string; "highestMultiplier"?: number; }; "hideRaffleCountdown"?: boolean | null; "marquee"?: { "text": string; }; "gallery"?: Array<{ "_id"?: string; "type": "YOUTUBE"; "purpose": "RESULTS_LIVE"; "url": string; } | { "_id"?: string; "type": "LIVESTREAM"; "endedAt"?: string; "embedURL": string; "thumbnailURL": string; "publishedAt": string; } | { "_id"?: string; "type": "RESULT"; "embedURL": string; "thumbnailURL": string; "publishedAt": string; } | { "_id"?: string; "type": "IMAGE"; "mediaId"?: string; "url"?: string; "purpose": "BANNER" | "RESULTS_BANNER"; } | { "_id"?: string; "type": "VIDEO"; "mediaId"?: string; "variants"?: Array<{ "format": string; "url": string; "dimensions": string; }>; }>; "highestMatrixNumber"?: number; "participationRules"?: { "canPurchaseBondsDirectly"?: boolean; "allowedCountryStates"?: Array<string>; "allowedCities"?: Array<string>; "supportsFastSignUp"?: boolean; }; "whereToWatch"?: { "facebook"?: string; "youtube"?: string; "twitch"?: string; }; "startAt": string; "endAt": string; "prizes"?: Array<{ "id": number; "name": string; "raffleKind": string; }>; "instantPrizes"?: { "drawMethods": Array<string>; }; "cart"?: { "selectorAmounts"?: Array<number>; "defaultAmountButtonIndex"?: number; "defaultAmountForLandingPage"?: number; "popularAmountButtonIndex"?: number; "increasingAmount"?: number; "minimumAmount"?: number; "selectorButtonLabels"?: Array<{ "text": string; "color": string; "icon"?: string; } | null>; "at"?: { "LANDING_PAGE"?: { "selectorAmounts"?: Array<number>; "defaultAmountButtonIndex"?: number; "defaultAmountForLandingPage"?: number; "popularAmountButtonIndex"?: number; "increasingAmount"?: number; "minimumAmount"?: number; "selectorButtonLabels"?: Array<{ "text": string; "color": string; "icon"?: string; } | null>; }; }; }; "category"?: { "slug": string; }; "drawDate"?: string; "results"?: Array<{ "winner": { "number": number; "name": string; "city": string; "state": string; "neighborhood": string; }; "prize": { "name": string; }; }>; "bondCount": number; }>;
```

### Exemplo

```ts
const response = await sdk.raffles.listRaffles();
```

<a class="lm-playground-link" href="/docs/guias/playground/?namespace=raffles&method=listRaffles">Testar esta função no playground <svg class="lm-arrow-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M5 12h14"/><path d="m12 5 7 7-7 7"/></svg></a>

## `listResults`

<div class="lm-endpoint"><span class="lm-http lm-http--get">GET</span><code>/raffles/results</code></div>

Assinatura:

```ts
listResults(query?: ListResultsQuery, settings?: SdkSettings): Promise<ListResultsResponse>
```

### Query

| Nome | Tipo | Obrigatório |
|---|---|---|
| `page` | `number` | não |
| `year` | `number` | não |
| `month` | `number` | não |
| `endDate` | `string` | não |
| `limit` | `number` | não |
| `kind` | `unknown \| "ANY_KIND"` | sim |
| `category` | `string` | não |

### Tipos

```ts
type ListResultsQuery = { "page"?: number; "year"?: number; "month"?: number; "endDate"?: string; "limit"?: number; "kind": unknown | "ANY_KIND"; "category"?: string; };
type ListResultsResponse = Array<{ "id": number; "uuid": string; "title": string; "gallery"?: Array<{ "_id"?: string; "type": "YOUTUBE"; "purpose": "RESULTS_LIVE"; "url": string; } | { "_id"?: string; "type": "LIVESTREAM"; "endedAt"?: string; "embedURL": string; "thumbnailURL": string; "publishedAt": string; } | { "_id"?: string; "type": "RESULT"; "embedURL": string; "thumbnailURL": string; "publishedAt": string; } | { "_id"?: string; "type": "IMAGE"; "mediaId"?: string; "url"?: string; "purpose": "BANNER" | "RESULTS_BANNER"; } | { "_id"?: string; "type": "VIDEO"; "mediaId"?: string; "variants"?: Array<{ "format": string; "url": string; "dimensions": string; }>; }>; "thumbnail": null | string; "highestMatrixNumber"?: number; "edition": string; "excerpt": null | string; "endedAt": string; "month": number; "year": number; "digitsPerLuckyNumber": number; "results": Array<{ "prize": { "id"?: number; "raffleKind"?: string; "name": string; }; "winner"?: { "number": string; "name": string; "city"?: null | string; "state"?: null | string; "neighborhood"?: null | string; "photoUrl"?: null | string; "customText"?: null | string; "reseller": null | { "name": null | string; }; "earnedMoney"?: number; "video"?: null | { "source": "YOUTUBE"; "url": string; "orientation": "VERTICAL" | "HORIZONTAL"; }; "external"?: boolean; }; "winners"?: Array<{ "number": string; "name": string; "city"?: null | string; "state"?: null | string; "neighborhood"?: null | string; "photoUrl"?: null | string; "customText"?: null | string; "reseller": null | { "name": null | string; }; "earnedMoney"?: number; "video"?: null | { "source": "YOUTUBE"; "url": string; "orientation": "VERTICAL" | "HORIZONTAL"; }; "external"?: boolean; }>; "drawnNumbers"?: Array<string>; }>; }>;
```

### Exemplo

```ts
const response = await sdk.raffles.listResults({ "kind": "ANY_KIND" });
```

<a class="lm-playground-link" href="/docs/guias/playground/?namespace=raffles&method=listResults">Testar esta função no playground <svg class="lm-arrow-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M5 12h14"/><path d="m12 5 7 7-7 7"/></svg></a>