/* Options: Date: 2024-05-10 07:03:10 Version: 6.50 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://www.clubready.com/api/current //GlobalNamespace: //MakePropertiesOptional: False //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: GetAllUsersRequest.* //ExcludeTypes: //DefaultImports: */ export enum RestrictedResourceType { Store = 'Store', Chain = 'Chain', User = 'User', Undefined = 'Undefined', } export interface IRestrictedApiRequest extends IApiKeyEndpoint { RestrictedId?: number; RestrictedResourceType: RestrictedResourceType; } export interface IApiKeyEndpoint { ApiKey: string; } export class ApiDtoBase { public ApiKey: string; public StoreId?: number; public ChainId?: number; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class GetAllUsersRequestDto extends ApiDtoBase { public IncludeDeleted: boolean; public constructor(init?: Partial) { super(init); (Object as any).assign(this, init); } } // @Route("/club/{StoreId}/Users/all", "GET") export class GetAllUsersRequest extends GetAllUsersRequestDto implements IRestrictedApiRequest { /** * Api Key - grants access to resources */ // @ApiMember(DataType="string", Description="Api Key - grants access to resources", IsRequired=true, Name="ApiKey", ParameterType="query") public ApiKey: string; /** * Chain ID */ // @ApiMember(DataType="integer", Description="Chain ID", Name="ChainId", ParameterType="query") public ChainId?: number; /** * Store ID */ // @ApiMember(DataType="integer", Description="Store ID", IsRequired=true, Name="StoreId", ParameterType="query") public StoreId: number; /** * Include deleted users in result? (defaults to false) */ // @ApiMember(DataType="bool", Description="Include deleted users in result? (defaults to false)", Name="IncludeDeleted", ParameterType="query") public IncludeDeleted: boolean; /** * Max number of records to include in the response. */ // @ApiMember(DataType="int", Description="Max number of records to include in the response.", Name="PageSize", ParameterType="query") public PageSize?: number; /** * Page number to retrieve. */ // @ApiMember(DataType="int", Description="Page number to retrieve.", Name="PageNumber", ParameterType="query") public PageNumber?: number; public RestrictedId?: number; public RestrictedResourceType: RestrictedResourceType; public constructor(init?: Partial) { super(init); (Object as any).assign(this, init); } public getTypeName() { return 'GetAllUsersRequest'; } public getMethod() { return 'GET'; } public createResponse() {} }