/* Options: Date: 2024-11-24 13:23:42 Version: 6.50 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://clubready.com/api/current //GlobalNamespace: //MakePropertiesOptional: False //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: AddUserWaiverRequest.* //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 AddUserWaiverResponse { public Success: boolean; public Message: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } } // @Route("/users/{UserId}/add-waiver", "POST") export class AddUserWaiverRequest implements IReturn, 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; /** * Store ID */ // @ApiMember(DataType="integer", Description="Store ID", IsRequired=true, Name="StoreId", ParameterType="query") public StoreId: number; /** * ClubReady User ID */ // @ApiMember(DataType="integer", Description="ClubReady User ID", IsRequired=true, Name="UserId", ParameterType="path") public UserId: number; /** * Form ID */ // @ApiMember(DataType="integer", Description="Form ID", Name="FormId", ParameterType="query") public FormId?: number; /** * Base64 encoded PDF string */ // @ApiMember(DataType="string", Description="Base64 encoded PDF string", IsRequired=true, Name="WaiverPdf", ParameterType="form") public WaiverPdf: string; public RestrictedId?: number; public RestrictedResourceType: RestrictedResourceType; public constructor(init?: Partial) { (Object as any).assign(this, init); } public getTypeName() { return 'AddUserWaiverRequest'; } public getMethod() { return 'POST'; } public createResponse() { return new AddUserWaiverResponse(); } }