From a0da9263a758e442387e8867148bffe639c9b2f4 Mon Sep 17 00:00:00 2001 From: Sasha Hilton Date: Mon, 1 Jul 2024 18:05:23 +0100 Subject: [PATCH] fix: add readable and logo fields to carrier type --- 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 {