UNPKG

@bootpay/backend-js

Version:

Bootpay Server Side Package for Node.js

61 lines (60 loc) 1.51 kB
import { ListParams } from './common'; export interface CommerceUserGroupRef { user_group_id?: string; name?: string; } export interface CommerceUser { user_id?: string; created_at?: string; updated_at?: string; membership_type?: number; name?: string; phone?: string; email?: string; tel?: string; nickname?: string; bank_username?: string; bank_account?: string; bank_code?: string; comment?: string; count?: number; status?: number; gender?: number; birth?: string; individual_extension?: Record<string, any>; login_id?: string; login_pw?: string; login_type?: number; group_tags?: string[]; metadata?: Record<string, any>; auth_sms?: boolean; auth_phone?: boolean; auth_email?: boolean; ci?: string; cd?: string; join_at?: string; join_confirm_type?: number; lasted_at?: string; marketing_accept_type?: number; marketing_accept_create_at?: string; marketing_accept_update_at?: string; term_ids?: string[]; group?: CommerceUserGroupRef; external_uid?: string; is_external?: string; user_group_id?: string; } export interface UserListParams extends ListParams { member_type?: number; type?: string; } export interface UserTokenResponse { access_token?: string; expired_at?: string; user?: CommerceUser; } export interface UserLoginResponse { access_token?: string; expired_at?: string; user?: CommerceUser; }