Added template quality field
This commit is contained in:
parent
70a0132f22
commit
16c84c5ddf
@ -47,6 +47,7 @@ type Template struct {
|
||||
Category string `json:"category,omitempty"`
|
||||
Example *TemplateExample `json:"example,omitempty"`
|
||||
VerificationStatus TemplateVerificationStatus `json:"verification_status"`
|
||||
Quality *TemplateQuality `json:"quality,omitempty"`
|
||||
RejectionReason TemplateRejectionReason `json:"rejection_reason,omitempty"`
|
||||
Header *TemplateHeader `json:"header,omitempty"`
|
||||
Footer string `json:"footer,omitempty"`
|
||||
|
10
v1/types.go
10
v1/types.go
@ -595,6 +595,7 @@ type UpdateTemplateRequest struct {
|
||||
Category string `json:"category,omitempty"`
|
||||
Example *TemplateExample `json:"example,omitempty"`
|
||||
VerificationStatus TemplateVerificationStatus `json:"verification_status"`
|
||||
Quality *TemplateQuality `json:"quality,omitempty"`
|
||||
RejectionReason TemplateRejectionReason `json:"rejection_reason,omitempty"`
|
||||
Header *TemplateHeader `json:"header,omitempty"`
|
||||
Footer string `json:"footer,omitempty"`
|
||||
@ -734,6 +735,15 @@ const (
|
||||
TemplateStatusNew TemplateVerificationStatus = "new"
|
||||
)
|
||||
|
||||
type TemplateQuality string
|
||||
|
||||
const (
|
||||
TemplateQualityPending TemplateQuality = "pending"
|
||||
TemplateQualityHigh TemplateQuality = "high"
|
||||
TemplateQualityMedium TemplateQuality = "medium"
|
||||
TemplateQualityLow TemplateQuality = "low"
|
||||
)
|
||||
|
||||
type TemplateRejectionReason string
|
||||
|
||||
const (
|
||||
|
Loading…
Reference in New Issue
Block a user