(* Options: Date: 2024-09-16 16:12:05 Version: 6.50 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://clubready.com/api/current //GlobalNamespace: //MakeDataContractsExtensible: False //AddReturnMarker: True //AddDescriptionAsComments: True //AddDataContractAttributes: False //AddIndexesToDataMembers: False //AddGeneratedCodeAttributes: False //AddResponseStatus: False //AddImplicitVersion: //ExportValueTypes: False IncludeTypes: WalletTokenCreateEndpoint.* //ExcludeTypes: //InitializeCollections: True //AddNamespaces: *) namespace ClubReady.Core.Api.Models 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 IRestrictedApiRequest = abstract RestrictedId:Nullable with get,set abstract RestrictedResourceType:RestrictedResourceType with get,set [] type IApiKeyEndpoint = abstract ApiKey:String with get,set [] type ApiDtoBase() = member val ApiKey:String = null with get,set member val StoreId:Nullable = new Nullable() with get,set member val ChainId:Nullable = new Nullable() with get,set [] type OwnerType = | Unknown = 0 | User = 1 | ConvUser = 2 | TempCart = 3 | TempAgmt = 4 | Store = 5 | Chain = 6 | Division = 7 | District = 8 | AdminType = 9 | TempStUser = 10 | VaultApi = 11 | Company = 12 | BackOfficeStore = 13 | OrgUser = 14 | CartItem = 15 | Testing = 99 | System = 100 | Error = -1 type WalletPage = | Uninitialized = 0 | Manage = 1 | Add = 2 | AddCard = 3 | AddBank = 4 | AddMini = 5 | AddCardMini = 6 | AddBankMini = 7 [] type WalletTokenCreateRequestDto() = inherit ApiDtoBase() member val OwnerId:Int32 = new Int32() with get,set member val OwnerType:OwnerType = new OwnerType() with get,set member val CreatorId:Int32 = new Int32() with get,set member val Page:WalletPage = new WalletPage() with get,set member val Theme:String = null with get,set [] type ApiResponseBase() = member val Success:Boolean = new Boolean() with get,set member val Message:String = null with get,set [] type WalletTokenCreateResponseDto() = inherit ApiResponseBase() member val WalletToken:String = null with get,set member val WalletOrigin:String = null with get,set member val WalletUrl:String = null with get,set [] type WalletTokenCreateResponse() = inherit WalletTokenCreateResponseDto() member val Success:Boolean = new Boolean() with get,set member val Message:String = null with get,set member val WalletToken:String = null with get,set member val WalletOrigin:String = null with get,set member val WalletUrl:String = null with get,set [] [] type WalletTokenCreateEndpoint() = inherit WalletTokenCreateRequestDto() interface IReturn /// ///Api Key - grants access to resources /// [] member val ApiKey:String = null with get,set /// ///ID # of the owner to create the URL for /// [] member val OwnerId:Int32 = new Int32() with get,set /// ///Type of owner to create the URL for /// [] member val OwnerType:OwnerType = new OwnerType() with get,set /// ///Person creating the profile. Can be same as OwnerId. /// [] member val CreatorId:Int32 = new Int32() with get,set /// ///Page to display when calling the Payment Profile iFrame /// [] member val Page:WalletPage = new WalletPage() with get,set /// ///CSS Theme /// [] member val Theme:String = null with get,set member val RestrictedId:Nullable = new Nullable() with get,set member val RestrictedResourceType:RestrictedResourceType = new RestrictedResourceType() with get,set