filter-bolcked-visible-in-selly

This commit is contained in:
Nguyen Minh 2023-10-30 15:51:15 +07:00
parent 7645930f1b
commit 7c6738e6a9
1 changed files with 75 additions and 74 deletions

149
struct.go
View File

@ -36,80 +36,81 @@ type DeleteDataPayload struct {
// ESQuery
// Query support to search document
type ESQuery struct {
IsMatch bool // Search with match or prefix
Index string // Index
Page int64
Limit int64
Keyword string
ProvinceCode int
Active string
Display string
ShopID string
IsOutOfStock string
CanIssueInvoice string
PendingInactive string
Categories []string
SubCategories []string
IgnoreIDs []string
Suppliers []string
SlugCites []string
Type string
ServiceDelivery string
SourceDelivery string
Brands []string
NoBrand string
Banned string
ListUser []string
ListNotUser []string
PaymentMethod string
Source string
ListSource []string
FromNewActiveSeller string
FromNewActiveBuyer string
EmailStatus string
MerchantStatus string
IsCalled string
IsAutoApproved string
ProcessStatus string
OutboundRequestStatus string
IsWholesaleBonus string
IsPreorder string
IsDeleted string
Tags []string
Sorts []ESSort
ListStatus []string
ListDeliveryStatus []string
FromAt time.Time
ToAt time.Time
ApprovedFrom time.Time
ApprovedTo time.Time
DeliveredFrom time.Time
DeliveredTo time.Time
CashbackFrom time.Time
CashbackTo time.Time
FromPrice float64
ToPrice float64
Inventories []string
NotInventories []string
ReferralCode string
MembershipLevel int
Invitee string
Segments []string
IsOrderMerchant bool
ImportHistory string
IsSetup string
IsAvailable string
PlatForm string
BusinessType string
ServiceEcommerce []string
Status string
Fraud string
PickedFrom time.Time
PickedTo time.Time
SupplierApproveFrom time.Time
SupplierApproveTo time.Time
PlanPackage int
ProductType string
IsMatch bool // Search with match or prefix
Index string // Index
Page int64
Limit int64
Keyword string
ProvinceCode int
Active string
Display string
ShopID string
IsOutOfStock string
CanIssueInvoice string
PendingInactive string
Categories []string
SubCategories []string
IgnoreIDs []string
Suppliers []string
SlugCites []string
Type string
ServiceDelivery string
SourceDelivery string
Brands []string
NoBrand string
Banned string
ListUser []string
ListNotUser []string
PaymentMethod string
Source string
ListSource []string
FromNewActiveSeller string
FromNewActiveBuyer string
EmailStatus string
MerchantStatus string
IsCalled string
IsAutoApproved string
ProcessStatus string
OutboundRequestStatus string
IsWholesaleBonus string
IsPreorder string
IsDeleted string
Tags []string
Sorts []ESSort
ListStatus []string
ListDeliveryStatus []string
FromAt time.Time
ToAt time.Time
ApprovedFrom time.Time
ApprovedTo time.Time
DeliveredFrom time.Time
DeliveredTo time.Time
CashbackFrom time.Time
CashbackTo time.Time
FromPrice float64
ToPrice float64
Inventories []string
NotInventories []string
ReferralCode string
MembershipLevel int
Invitee string
Segments []string
IsOrderMerchant bool
ImportHistory string
IsSetup string
IsAvailable string
PlatForm string
BusinessType string
ServiceEcommerce []string
Status string
Fraud string
PickedFrom time.Time
PickedTo time.Time
SupplierApproveFrom time.Time
SupplierApproveTo time.Time
PlanPackage int
ProductType string
IsBlockedVisibleInSelly bool
}
// ESSort