feat:
This commit is contained in:
@ -87,3 +87,41 @@ export interface PartnerPagination<T> {
|
||||
content: T[];
|
||||
totalPages: number;
|
||||
}
|
||||
export enum EarnType {
|
||||
ORDER_PAYMENT_SHARE_L1 = 'ORDER_PAYMENT_SHARE_L1',
|
||||
ORDER_PAYMENT_SHARE_L2 = 'ORDER_PAYMENT_SHARE_L2',
|
||||
CHAT_ACTIVITY_SHARE_L1 = 'CHAT_ACTIVITY_SHARE_L1',
|
||||
CHAT_ACTIVITY_SHARE_L2 = 'CHAT_ACTIVITY_SHARE_L2',
|
||||
OTHER = 'OTHER',
|
||||
}
|
||||
export interface UserProfitListItem {
|
||||
userId: string;
|
||||
total: number;
|
||||
earnType: EarnType;
|
||||
amount: number;
|
||||
updatedAt: string;
|
||||
}
|
||||
export interface GroupAuthCode {
|
||||
shareUserId: string;
|
||||
authCode: string;
|
||||
}
|
||||
export interface AuthedGroupInfo {
|
||||
userId: string;
|
||||
openGid: string;
|
||||
groupId: string;
|
||||
groupName: string;
|
||||
groupAvatar: string;
|
||||
authDate: string;
|
||||
}
|
||||
export interface DecryptOpenGidBody {
|
||||
authCode?: string;
|
||||
inviteCode?: string;
|
||||
encryptedData: string;
|
||||
iv: string;
|
||||
}
|
||||
export interface StaffInfo {
|
||||
id: number;
|
||||
staffName: string;
|
||||
staffQrCode: string;
|
||||
isDefault: 0 | 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user