package databag import ( "os" ) type Account struct { AccountId string `json:"accountId"` Profile *Profile `json:"profile"` Disabled bool `json:"disabled"` } type AccountStatus struct { Disabled bool `json:"disabled"` StorageUsed float64 `json:"storageUsed"` StorageAvailable float64 `json:"storageAvailable"` ForwardingAddress string `json:"forwardingAddress"` } type AccountsImportBody struct { FileName **os.File `json:"fileName,omitempty"` } type Announce struct { AppToken string `json:"appToken"` } type App struct { AppId string `json:"appId"` AppData *AppData `json:"appData"` Attached int64 `json:"attached"` } type AppData struct { Name string `json:"name,omitempty"` Description string `json:"description,omitempty"` Url string `json:"url,omitempty"` Image string `json:"image,omitempty"` } type Article struct { ArticleId string `json:"articleId"` ArticleRevision int64 `json:"articleRevision"` Type_ string `json:"type"` Data string `json:"data"` Created int64 `json:"created"` Modified int64 `json:"modified"` Status string `json:"status"` Labels []string `json:"labels"` Groups []string `json:"groups,omitempty"` TagCount int32 `json:"tagCount"` TagUpdate int64 `json:"tagUpdate,omitempty"` TagRevision int64 `json:"tagRevision"` } type ArticleIdAssetsBody struct { FileName **os.File `json:"fileName,omitempty"` } type ArticleIdSubjectBody struct { Type_ string `json:"type"` Data string `json:"data"` } type Asset struct { AssetId string `json:"assetId"` Transform string `json:"transform,omitempty"` Status string `json:"status,omitempty"` } type Card struct { CardId string `json:"cardId"` CardProfile *CardProfile `json:"cardProfile"` CardData *CardData `json:"cardData"` ProfileRevision int64 `json:"profileRevision"` ContentRevision int64 `json:"contentRevision"` } type CardData struct { Revision int64 `json:"revision,omitempty"` Status string `json:"status"` Notes string `json:"notes,omitempty"` Token string `json:"token,omitempty"` Groups []string `json:"groups,omitempty"` } type CardProfile struct { Handle string `json:"handle,omitempty"` Name string `json:"name,omitempty"` Description string `json:"description,omitempty"` Location string `json:"location,omitempty"` Revision int64 `json:"revision,omitempty"` ImageSet bool `json:"imageSet,omitempty"` Node string `json:"node"` } type CardView struct { CardId string `json:"cardId"` CardRevision int64 `json:"cardRevision"` ProfileRevision int64 `json:"profileRevision"` ContentRevision int64 `json:"contentRevision"` } type ContentArticlesBody struct { Labels []string `json:"labels"` Groups []string `json:"groups"` } type ContentLabelsBody struct { Type_ string `json:"type"` Data string `json:"data"` } type Dialogue struct { DialogueId string `json:"dialogueId"` DialogueRevison int64 `json:"dialogueRevison,omitempty"` Type_ string `json:"type"` Data string `json:"data"` Created int64 `json:"created"` Active bool `json:"active"` InsightRevision int64 `json:"insightRevision,omitempty"` Insights []DialogueInsights `json:"insights"` } type DialogueIdSubjectBody struct { Type_ string `json:"type"` Data string `json:"data"` } type DialogueInsights struct { CardId string `json:"cardId,omitempty"` Status string `json:"status,omitempty"` } type Group struct { GroupId string `json:"groupId"` GroupRevision int64 `json:"groupRevision"` Type_ string `json:"type"` Data string `json:"data"` Created int64 `json:"created"` Modified int64 `json:"modified"` } type GroupsGroupIdBody struct { Type_ string `json:"type"` Data string `json:"data"` } type InlineResponse200 struct { Token string `json:"token,omitempty"` Status string `json:"status"` } type InlineResponse2001 struct { Id string `json:"id,omitempty"` Revision int64 `json:"revision,omitempty"` } type InlineResponse2002 struct { BlockId string `json:"blockId,omitempty"` BlockRevision int64 `json:"blockRevision,omitempty"` Tag *Tag `json:"tag,omitempty"` } type InlineResponse201 struct { BlockId string `json:"blockId,omitempty"` BlockRevision int64 `json:"blockRevision,omitempty"` Article *Article `json:"article,omitempty"` } type InlineResponse2011 struct { BlockId string `json:"blockId,omitempty"` BlockRevision int64 `json:"blockRevision,omitempty"` Topic *Topic `json:"topic,omitempty"` } type Insight struct { InsightId string `json:"insightId"` InsightRevision int64 `json:"insightRevision"` CardId string `json:"cardId"` Status string `json:"status"` } type Label struct { LabelId string `json:"labelId"` LabelRevision int64 `json:"labelRevision"` Type_ string `json:"type"` Data string `json:"data"` Created int64 `json:"created"` Groups []string `json:"groups,omitempty"` } type LabelsLabelIdBody struct { Type_ string `json:"type"` Data string `json:"data"` } type NodeConfig struct { Domain string `json:"domain"` PublicLimit int64 `json:"publicLimit"` AccountStorage int64 `json:"accountStorage"` } type Profile struct { Guid string `json:"profileId"` Handle string `json:"handle,omitempty"` Name string `json:"name,omitempty"` Description string `json:"description,omitempty"` Location string `json:"location,omitempty"` Image string `json:"image,omitempty"` Revision int64 `json:"revision"` Version string `json:"version,omitempty"` Node string `json:"node"` } type ProfileData struct { Name string `json:"name,omitempty"` Description string `json:"description,omitempty"` Location string `json:"location,omitempty"` } type Revision struct { Profile int64 `json:"profile"` Content int64 `json:"content"` Label int64 `json:"label"` Group int64 `json:"share"` Card int64 `json:"card"` Dialogue int64 `json:"dialogue"` Insight int64 `json:"insight"` } type ShareGroupsBody struct { Type_ string `json:"type"` Data string `json:"data"` } type Tag struct { TagId string `json:"tagId"` CardId string `json:"cardId,omitempty"` Revision int64 `json:"revision"` Type_ string `json:"type"` Data string `json:"data"` Created int64 `json:"created"` } type Topic struct { TopicId string `json:"topicId"` TopicRevision int64 `json:"topicRevision"` Type_ string `json:"type"` Data string `json:"data"` Created int64 `json:"created"` Modified int64 `json:"modified"` Status string `json:"status"` TagCount int32 `json:"tagCount"` TagUpdate int64 `json:"tagUpdate,omitempty"` TagRevision int64 `json:"tagRevision"` } type TopicIdAssetsBody struct { FileName **os.File `json:"fileName,omitempty"` } type TopicIdSubjectBody struct { Type_ string `json:"type"` Data string `json:"data"` } type TopicIdTagsBody struct { Type_ string `json:"type"` Data string `json:"data"` } type Tunnel struct { CardId string `json:"cardId"` Type_ string `json:"type"` Data string `json:"data,omitempty"` } type DataMessage struct { Message string `json:"message"` KeyType string `json:"keyType"` PublicKey string `json:"publicKey"` Signature string `json:"signature"` SignatureType string `json:"signatureType"` } type SignedData struct { Guid string `json:"guid"` Timestamp int64 `json:"timestamp"` MessageType string `json:"messageType"` Value string `json:"value"` } type Identity struct { Revision int64 `json:"revision"` Handle string `json:"handle,omitempty"` Name string `json:"name,omitempty"` Description string `json:"description,omitempty"` Location string `json:"location,omitempty"` Image string `json:"image,omitempty"` Version string `json:"version"` Node string `json:"node"` } type Connect struct { Contact string `json:"contact"` Token string `json:"token"` ContentRevision int64 `json:"contentRevision"` ProfileRevision int64 `json:"profileRevision,omitempty"` Handle string `json:"handle,omitempty"` Name string `json:"name,omitempty"` Description string `json:"description,omitempty"` Location string `json:"location,omitempty"` Image string `json:"image,omitempty"` Version string `json:"version,omitempty"` Node string `json:"node,omitempty"` } type Disconnect struct { Contact string `json:"contact"` } type Authenticate struct { Token string `json:"token"` }