Type Aliases
ActionBase
Action
Base
: { createTime
: string; id
: string; memberId
: string; updateTime
: string } & AddActionBaseOptionsActionRecordsType
ActionRecordsType: { 下载: "资料下载"; 浏览: "观看记录"; 通知: "首次提醒" }
Type declaration
下载: "资料下载"
浏览: "观看记录"
通知: "首次提醒"
ActionStatusesType
ActionStatusesType: { 学习: "课程"; 点赞: "视频点赞"; 预约: "课程预约" | "直播报名" }
Type declaration
学习: "课程"
点赞: "视频点赞"
预约: "课程预约" | "直播报名"
AddActionBaseOptions
AddActionBaseOptions<T>: { key?: string; more?: { path: string }; name: string; type: keyof T; uaId?: string; value: T[keyof T] }
Type Parameters
T = Record<string, string>
Type declaration
Optional key?: string
Optional more?: { path: string }
[key: string]: undefined | string
path: string
name: string
type: keyof T
Optional uaId?: string
value: T[keyof T]
Address
Address: { city?: string; country?: string; details?: string; district?: string; province?: string }
Type declaration
Optional city?: string
Optional country?: string
Optional details?: string
Optional district?: string
Optional province?: string
BookMark
BookMark<T>: { detail?: { banner?: string; dataHierarchy?: string; dataRowId?: string; desc?: string; sort?: string } & T; name: string; uaId: string; url: string }
Type Parameters
T extends Record<string, string> = Record<string, string>
Type declaration
Optional detail?: { banner?: string; dataHierarchy?: string; dataRowId?: string; desc?: string; sort?: string } & T
name: string
uaId: string
url: string
BookMarkList
BookMarkResponse
Book
Mark
Response
: BookMark & { createTime
: string; id
: string; memberId
: string }FormSetting
Form
Setting
: { manualQualification
: boolean; memberApplicationSetting
: { formIds
: string[]; isMember
: boolean; membershipLevel
: Level }; membershipLevel
: Level; submitForm
: boolean; subscribeOfficialAccount
: boolean }Type declaration
manualQualification: boolean
memberApplicationSetting: { formIds: string[]; isMember: boolean; membershipLevel: Level }
formIds: string[]
isMember: boolean
membershipLevel: Level
membershipLevel: Level
submitForm: boolean
subscribeOfficialAccount: boolean
FormSettings
GetActionBaseOptions
GetActionBaseOptions<T>: Partial<{ desc: boolean; from: string; key: string; to: string; types: (keyof T)[]; uaId: string; value: T[keyof T] }>
Type Parameters
T extends Record<string, string>
Gift
Gift
: { availableFrom
: string; availableTo
: string; hasAvailableTime
: boolean; hasTag
: boolean; id
: string; isAvailable
: boolean; isVirtual
: boolean; membershipLevelLimit
?: Level["level"]; name
: string; orderIndex
: string; photoUrl
: string; pointsCost
: string; redeemTimesLimit
: string; remainingRedeemTimes
: string; remark
: string; stock
: string; tag
: string }Type declaration
availableFrom: string
availableTo: string
hasAvailableTime: boolean
hasTag: boolean
id: string
isAvailable: boolean
isVirtual: boolean
Optional membershipLevelLimit?: Level["level"]
name: string
orderIndex: string
photoUrl: string
pointsCost: string
redeemTimesLimit: string
remainingRedeemTimes: string
remark: string
stock: string
tag: string
GiftList
Level
Level: { level: "1" | "2"; levelName: string }
Type declaration
level: "1" | "2"
levelName: string
MemberInfo
Member
Info
: { address
: Address; company
?: string; department
?: string; id
: string; industry
?: string; mailbox
?: string; membershipLevel
: Level; openId
: string; personName
: { firstName
?: string; fullName
?: string; lastName
?: string }; phone
?: string; points
: string; position
?: string; registrationTime
: string; updateTime
: string }Type declaration
Optional company?: string
Optional department?: string
id: string
Optional industry?: string
Optional mailbox?: string
membershipLevel: Level
openId: string
personName: { firstName?: string; fullName?: string; lastName?: string }
Optional firstName?: string
Optional fullName?: string
Optional lastName?: string
Optional phone?: string
points: string
Optional position?: string
registrationTime: string
updateTime: string
Order
Order
: { createTime
: string; giftRecords
: VirtualGift[]; id
: string; memberId
: string; orderNumber
: string; productId
: string; productIsVirtual
: boolean; productName
: string; productPhotoUrl
: string; recipientAddress
: Address; recipientId
: string; recipientName
: string; recipientPhone
: string; redeemAmount
: string; remark
: string; status
: { carrier
?: string; isShipped
: boolean; orderState
: OrderState; trackingNumber
?: string }; totalPointCost
: string }Type declaration
createTime: string
id: string
memberId: string
orderNumber: string
productId: string
productIsVirtual: boolean
productName: string
productPhotoUrl: string
recipientAddress: Address
recipientId: string
recipientName: string
recipientPhone: string
redeemAmount: string
remark: string
status: { carrier?: string; isShipped: boolean; orderState: OrderState; trackingNumber?: string }
Optional carrier?: string
isShipped: boolean
Optional trackingNumber?: string
totalPointCost: string
OrderInput
OrderInput: { productId: string; recipientId?: string; redeemAmount: number; remark?: string }
Type declaration
productId: string
Optional recipientId?: string
redeemAmount: number
Optional remark?: string
OrderList
Recipient
Recipient
: { address
: Required<Address>; createTime
: string; id
: string; isDefault
: boolean; name
: string; phone
: string; updateTime
: string }Type declaration
address: Required<Address>
createTime: string
id: string
isDefault: boolean
name: string
phone: string
updateTime: string
RecipientList
RecordList
Record
List
: { action
: "Add" | "Reduce"; createTime
: string; eventCategory
: string; eventId
: string; eventKey
: string; eventMore
?: Partial<BaseActionData & { title
: string }>; id
: string; memberId
: string; pointChange
: string; remark
: string; sourceType
: PointRecodsType }[]StoreSetting
Store
Setting
: { acquirePointsAuth
: Level; redeemProductAuth
: Level }VirtualGift
VirtualGift: { giftCard: string; giftId: string; giftKey: string }
Type declaration
giftCard: string
giftId: string
giftKey: string
VirtualGiftList
行为记录的信息