diff --git a/v1/template.go b/v1/template.go index 6de806b..f9189ed 100644 --- a/v1/template.go +++ b/v1/template.go @@ -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"` diff --git a/v1/types.go b/v1/types.go index 6caaabc..75a33a0 100644 --- a/v1/types.go +++ b/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 (