/* Options: Date: 2025-12-06 07:01:28 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://backoffice-api.brovs.com //GlobalNamespace: BackofficeApi //MakePropertiesOptional: False //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: LotteryGetAllRequest.* //ExcludeTypes: //DefaultImports: */ export module BackofficeApi { // @ts-nocheck export interface IReturn { createResponse(): T; } export interface IGet { } export enum LotteryState { Draft = 'Draft', Published = 'Published', Archived = 'Archived', } export enum TimeRelativeLotteryState { Draft = 'Draft', PublishedUpcoming = 'PublishedUpcoming', PublishedActive = 'PublishedActive', PublishedEndedDrawWinner = 'PublishedEndedDrawWinner', PublishedEndedContactWinner = 'PublishedEndedContactWinner', Archived = 'Archived', } export class LotteryListingDto { public id?: number; public startAt?: string; public stopAt?: string; public title: string; public countryCode: string; public state?: TimeRelativeLotteryState; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class LotteryGetAllResponse { public lotteries: LotteryListingDto[] = []; public constructor(init?: Partial) { (Object as any).assign(this, init); } } // @Route("/lottery/get_all", "GET") export class LotteryGetAllRequest implements IReturn, IGet { public state?: LotteryState; public constructor(init?: Partial) { (Object as any).assign(this, init); } public getTypeName() { return 'LotteryGetAllRequest'; } public getMethod() { return 'GET'; } public createResponse() { return new LotteryGetAllResponse(); } } }