api-structs #117

Merged
lash merged 35 commits from api-structs into master 2024-10-24 15:53:46 +02:00
2 changed files with 7 additions and 13 deletions
Showing only changes of commit 353e24de33 - Show all commits

View File

@ -1,15 +1,10 @@
package models package models
import (
"encoding/json"
)
type AccountResponse struct { type AccountResponse struct {
Ok bool `json:"ok"` Ok bool `json:"ok"`
Result struct { Description string `json:"description"` // Include the description field
CustodialId json.Number `json:"custodialId"` Result struct {
PublicKey string `json:"publicKey"` PublicKey string `json:"publicKey"`
TrackingId string `json:"trackingId"` TrackingId string `json:"trackingId"`
} `json:"result"` } `json:"result"`
} }

View File

@ -5,7 +5,6 @@ import (
"time" "time"
) )
type TrackStatusResponse struct { type TrackStatusResponse struct {
Ok bool `json:"ok"` Ok bool `json:"ok"`
Result struct { Result struct {