@@ -1059,22 +1059,22 @@ type queryUsersResponse struct {
10591059 Count int64 `json:"recordsCount,string,omitempty"`
10601060}
10611061
1062- // SQLExpression is a query condition used to filter results.
1063- type SQLExpression struct {
1062+ // Expression is a query condition used to filter results.
1063+ type Expression struct {
10641064 Email string `json:"email,omitempty"`
10651065 UID string `json:"userId,omitempty"`
10661066 PhoneNumber string `json:"phoneNumber,omitempty"`
10671067}
10681068
10691069// QueryUsersRequest is the request structure for the accounts:query endpoint.
10701070type QueryUsersRequest struct {
1071- ReturnUserInfo bool `json:"returnUserInfo"`
1072- Limit int64 `json:"limit,string,omitempty"`
1073- Offset int64 `json:"offset,string,omitempty"`
1074- SortBy SortBy `json:"-"`
1075- Order Order `json:"-"`
1076- TenantID string `json:"tenantId,omitempty"`
1077- Expression []* SQLExpression `json:"expression,omitempty"`
1071+ ReturnUserInfo bool `json:"returnUserInfo"`
1072+ Limit int64 `json:"limit,string,omitempty"`
1073+ Offset int64 `json:"offset,string,omitempty"`
1074+ SortBy SortBy `json:"-"`
1075+ Order Order `json:"-"`
1076+ TenantID string `json:"tenantId,omitempty"`
1077+ Expression []* Expression `json:"expression,omitempty"`
10781078}
10791079
10801080// MarshalJSON marshals a QueryUsersRequest into JSON (for internal use only).
0 commit comments