(* Options: Date: 2025-07-19 18:49:22 Version: 6.50 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://www.clubready.com/api/current //GlobalNamespace: //MakeDataContractsExtensible: False //AddReturnMarker: True //AddDescriptionAsComments: True //AddDataContractAttributes: False //AddIndexesToDataMembers: False //AddGeneratedCodeAttributes: False //AddResponseStatus: False //AddImplicitVersion: //ExportValueTypes: False IncludeTypes: AgreementAddEndpoint.* //ExcludeTypes: //InitializeCollections: True //AddNamespaces: *) namespace ClubReady.Core.Api open System open System.Collections open System.Collections.Generic open System.Runtime.Serialization open ServiceStack open ServiceStack.DataAnnotations type RestrictedResourceType = | Store = 0 | Chain = 1 | User = 2 | Undefined = 3 [] type IApiDtoBase = abstract ApiKey:String with get,set abstract StoreId:Nullable with get,set abstract ChainId:Nullable with get,set [] type IRestrictedApiRequest = abstract RestrictedId:Nullable with get,set abstract RestrictedResourceType:RestrictedResourceType with get,set [] type IApiKeyEndpoint = abstract ApiKey:String with get,set [] type IAddEndpoint = abstract MemberId:Int32 with get,set abstract PackageId:Int32 with get,set abstract InstallmentId:Nullable with get,set abstract StartDate:Nullable with get,set abstract PromoCode:String with get,set abstract StaffId:Nullable with get,set [] type ApiResponse2Base() = member val success:Boolean = new Boolean() with get,set member val message:String = null with get,set [] type AddResponse() = inherit ApiResponse2Base() member val incompleteAgreementToken:String = null with get,set member val contractId:Nullable = new Nullable() with get,set [] [, StatusCode=200)>] [] type AgreementAddEndpoint() = interface IReturn /// ///IP address of the end user /// [] member val XForwardedFor:String = null with get,set /// ///Api Authentication Key /// [] member val ApiKey:String = null with get,set /// ///Member Id of the user buying the Package /// [] member val MemberId:Int32 = new Int32() with get,set member val ChainId:Nullable = new Nullable() with get,set /// ///Id of the store for the user /// [] member val StoreId:Nullable = new Nullable() with get,set /// ///Package Id number of the package being purchased /// [] member val PackageId:Int32 = new Int32() with get,set /// ///Installment Plan Id being purchased. If empty, the default package will be selected. /// [] member val InstallmentId:Nullable = new Nullable() with get,set /// ///Date contract takes affect /// [] member val StartDate:Nullable = new Nullable() with get,set /// ///Promo code to apply a discount. /// [] member val PromoCode:String = null with get,set /// ///Staff Id of salesperson who sold the agreement. /// [] member val StaffId:Nullable = new Nullable() with get,set member val RestrictedId:Nullable = new Nullable() with get,set member val RestrictedResourceType:RestrictedResourceType = new RestrictedResourceType() with get,set