Add Notification Filters and AllMarkSeen Endpoint to API Documentation
- Introduced new query parameters for filtering notifications by 'seen' status and 'priority' in the API documentation, enhancing the flexibility of notification retrieval. - Added a new endpoint to mark all notifications as seen for a user, including detailed Swagger documentation for the new functionality. - Updated existing API documentation to reflect the changes, ensuring clarity for API consumers and improving overall documentation quality.
This commit is contained in:
@@ -2,6 +2,11 @@ package customer
|
||||
|
||||
import "tm/pkg/response"
|
||||
|
||||
// DeviceTokenForm represents the form for adding a device token to a customer
|
||||
type DeviceTokenForm struct {
|
||||
DeviceToken string `json:"device_token" valid:"required" example:"device_token"`
|
||||
}
|
||||
|
||||
// CreateCustomerForm represents the form for creating a new customer
|
||||
type CreateCustomerForm struct {
|
||||
FullName *string `json:"full_name,omitempty" valid:"optional,length(2|100)" example:"User"`
|
||||
|
||||
Reference in New Issue
Block a user