From 8b19e287ea6a20fbeadf94619a41ca57ba6bd153 Mon Sep 17 00:00:00 2001 From: Sasha Hilton Date: Mon, 1 Jul 2024 18:12:06 +0100 Subject: [PATCH] fix: add readable and logo fields to carrier type (#222) --- carrier.go | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/carrier.go b/carrier.go index 92312bd..eca2062 100644 --- a/carrier.go +++ b/carrier.go @@ -42,9 +42,11 @@ type CarrierAccount struct { // CarrierType contains information on a supported carrier. It can be used to // determine the valid fields for a carrier account. type CarrierType struct { - Object string `json:"object,omitempty"` - Type string `json:"type,omitempty"` - Fields *CarrierFields `json:"fields,omitempty"` + Object string `json:"object,omitempty"` + Type string `json:"type,omitempty"` + Readable string `json:"readable,omitempty"` + Logo string `json:"logo,omitempty"` + Fields *CarrierFields `json:"fields,omitempty"` } type carrierAccountRequest struct {