commonvo

package
v0.0.0-...-57ed434 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 12, 2023 License: AGPL-3.0 Imports: 5 Imported by: 14

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppEvent

type AppEvent struct {
	OrgId     int64       `json:"orgId"`
	AppId     int64       `json:"appId,string"`
	ProjectId int64       `json:"projectId"`
	UserId    int64       `json:"userId"`
	App       interface{} `json:"app,omitempty"`
	Project   interface{} `json:"project,omitempty"`
	Chat      interface{} `json:"chat,omitempty"`
}

type ApplyTemplateReq

type ApplyTemplateReq struct {
	OrgId  int64                          `json:"orgId"`
	UserId int64                          `json:"userId"`
	Input  *automationPb.ApplyTemplateReq `json:"input"`
}

ApplyTemplate

type ApplyTemplateResp

type ApplyTemplateResp struct {
	vo.Err
	Data *automationPb.ApplyTemplateReply `json:"data"`
}

type AreaInfoReqVo

type AreaInfoReqVo struct {
	// 所属行业
	IndustryID int64 `json:"industryId"`
	// 所在国家
	CountryID int64 `json:"countryId"`
	// 所在省份
	ProvinceID int64 `json:"provinceId"`
	// 所在城市
	CityID int64 `json:"cityId"`
}

type AreaInfoResp

type AreaInfoResp struct {
	// 所属行业中文名
	IndustryName string `json:"industryName"`
	// 所在国家中文名
	CountryCname string `json:"countryCname"`
	// 所在省份中文名
	ProvinceCname string `json:"provinceCname"`
	// 所在城市中文名
	CityCname string `json:"cityCname"`
}

type AreaInfoRespVo

type AreaInfoRespVo struct {
	vo.Err
	AreaInfoResp *AreaInfoResp `json:"data"`
}

type AreaLinkageListReqVo

type AreaLinkageListReqVo struct {
	Input vo.AreaLinkageListReq
}

type AreaLinkageListRespVo

type AreaLinkageListRespVo struct {
	vo.Err
	AreaLinkageListResp *vo.AreaLinkageListResp `json:"data"`
}

type Card

type Card struct {
	Title            string
	MarkdownElements []string
	FsCard           interface{}
}

type CardDiv

type CardDiv struct {
	Fields []*CardField
}

type CardElements

type CardElements struct {
	MarkdownElements []string
	FsElements       []interface{}
}

type CardField

type CardField struct {
	Level int
	Key   string
	Value string // 如果value为空则整行展示key即可
}

type CardMeta

type CardMeta struct {
	IsWide           bool
	Level            int
	Title            string
	Divs             []*CardDiv
	ActionMarkdowns  []string
	FsActionElements []interface{}
}

type DataEvent

type DataEvent struct {
	OrgId          int64                  `json:"orgId"`
	AppId          int64                  `json:"appId,string"`
	ProjectId      int64                  `json:"projectId"`
	TableId        int64                  `json:"tableId,string"`
	DataId         int64                  `json:"dataId,string"`
	IssueId        int64                  `json:"issueId"`
	UserId         int64                  `json:"userId"`
	New            map[string]interface{} `json:"new,omitempty"`
	Old            map[string]interface{} `json:"old,omitempty"`
	Incremental    map[string]interface{} `json:"incremental,omitempty"`
	Decremental    map[string]interface{} `json:"decremental,omitempty"`
	UpdatedColumns []string               `json:"updatedColumns,omitempty"`
	UserDepts      interface{}            `json:"userDepts,omitempty"`
	TriggerBy      string                 `json:"triggerBy"`
}

type DingTalkInfoReqVo

type DingTalkInfoReqVo struct {
	LogData map[string]interface{} `json:"logData"`
}

type DtCard

type DtCard struct {
	Title   string `json:"title"`
	Content string `json:"content"`
}

钉钉卡片

type Event

type Event struct {
	Category  string      `json:"category"`
	Type      string      `json:"type"`
	Timestamp int64       `json:"timestamp,string"`
	TraceId   string      `json:"traceId"`
	Payload   interface{} `json:"payload"`
}

type GenerateCard

type GenerateCard struct {
	OrgId             int64                                 `json:"orgId"`
	CardTitle         string                                `json:"cardTitle"`
	CardLevel         pushPb.CardElementLevel               `json:"cardLevel"`
	ParentTitle       string                                `json:"parentTitle"`
	ProjectName       string                                `json:"projectName"`
	TableName         string                                `json:"tableName"`
	IssueTitle        string                                `json:"issueTitle"`
	ProjectId         int64                                 `json:"projectId"`
	ProjectTypeId     int64                                 `json:"projectTypeId"`
	ParentId          int64                                 `json:"parentId"`
	OwnerInfos        []*bo.BaseUserInfoBo                  `json:"ownerInfos"`
	Links             *projectvo.IssueLinks                 `json:"links"`
	IsNeedUnsubscribe bool                                  `json:"isNeedUnsubscribe"`
	SpecialDiv        []*pushPb.CardTextDiv                 `json:"specialDiv"`
	SpecialAction     []*pushPb.CardActionModule            `json:"specialAction"`
	TableColumnInfo   map[string]*projectvo.TableColumnData `json:"tableColumnInfo"`
}

type GenerateCardResp

type GenerateCardResp struct {
	vo.Err
	Data *pushV1.GenerateCardReply `json:"data"`
}

type GenerateMqttKeyResp

type GenerateMqttKeyResp struct {
	vo.Err
	Data *pushV1.GenerateMqttKeyReply `json:"data"`
}

type GetTodoResp

type GetTodoResp struct {
	vo.Err
	Data *automationPb.GetTodoReply `json:"data"`
}

GetTodo

type GlobalSwitchOffResp

type GlobalSwitchOffResp struct {
	vo.Err
	Data *automationPb.GlobalSwitchOffReply `json:"data"`
}

type IndustryListRespVo

type IndustryListRespVo struct {
	vo.Err
	IndustryList *vo.IndustryListResp `json:"data"`
}

type OrgEvent

type OrgEvent struct {
	OrgId int64       `json:"orgId"`
	New   interface{} `json:"new"`
}

type PushCard

type PushCard struct {
	OrgId         int64    `json:"orgId"`
	OutOrgId      string   `json:"outOrgId"`
	SourceChannel string   `json:"sourceChannel"`
	OpenIds       []string `json:"openIds"`
	DeptIds       []string `json:"deptIds"`
	ChatIds       []string `json:"chatIds"`
	CardMsg       *pushPb.TemplateCard
}

type PushMqttResp

type PushMqttResp struct {
	vo.Err
	Data *pushV1.PushMqttReply `json:"data"`
}

type ReportAppEventReq

type ReportAppEventReq struct {
	EventType int32     `json:"eventType"`
	TraceId   string    `json:"traceId"`
	AppEvent  *AppEvent `json:"appEvent"`
}

type ReportTableEventReq

type ReportTableEventReq struct {
	EventType  int32       `json:"eventType"`
	TraceId    string      `json:"traceId"`
	TableEvent *TableEvent `json:"tableEvent"`
}

type TableEvent

type TableEvent struct {
	OrgId     int64       `json:"orgId"`
	AppId     int64       `json:"appId,string"`
	ProjectId int64       `json:"projectId"`
	TableId   int64       `json:"tableId,string"`
	UserId    int64       `json:"userId"`
	New       interface{} `json:"new,omitempty"`
	Old       interface{} `json:"old,omitempty"`
}

type UpdateTodoReq

type UpdateTodoReq struct {
	OrgId  int64                       `json:"orgId"`
	UserId int64                       `json:"userId"`
	Input  *automationPb.UpdateTodoReq `json:"input"`
}

UpdateTodo

type UpdateTodoResp

type UpdateTodoResp struct {
	vo.Err
	Data *automationPb.UpdateTodoReply `json:"data"`
}

type UploadOssByFsImageKeyReq

type UploadOssByFsImageKeyReq struct {
	OrgId    int64  `json:"orgId"`
	ImageKey string `json:"imageKey"`
	IsApp    bool   `json:"isApp"`
}

type UploadOssByFsImageKeyResp

type UploadOssByFsImageKeyResp struct {
	vo.Err
	Url string `json:"url"`
}

type UserEvent

type UserEvent struct {
	OrgId  int64       `json:"orgId"`
	UserId int64       `json:"userId"`
	New    interface{} `json:"new,omitempty"`
}

type WxCard

type WxCard struct {
	Content string
}

微信卡片

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL