123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637 |
- package types
- type BaseDataInfo struct {
-
- Code int `json:"code"`
-
- Msg string `json:"msg"`
-
- Data string `json:"data,omitempty"`
- }
- type BaseListInfo struct {
-
- Total uint64 `json:"total"`
-
- Data string `json:"data,omitempty"`
- }
- type BaseMsgResp struct {
-
- Code int `json:"code"`
-
- Msg string `json:"msg"`
- }
- type PageInfo struct {
-
-
-
- Page uint64 `json:"page" validate:"required,number,gt=0"`
-
-
-
- PageSize uint64 `json:"pageSize" validate:"required,number,lt=100000"`
- }
- type IDReq struct {
-
-
- Id uint64 `json:"id" validate:"number"`
- }
- type IDsReq struct {
-
-
- Ids []uint64 `json:"ids"`
- }
- type IDPathReq struct {
-
-
- Id uint64 `path:"id"`
- }
- type IDInt32Req struct {
-
-
- Id int32 `json:"id" validate:"number"`
- }
- type IDsInt32Req struct {
-
-
- Ids []int32 `json:"ids"`
- }
- type IDInt32PathReq struct {
-
-
- Id int32 `path:"id"`
- }
- type IDUint32Req struct {
-
-
- Id uint32 `json:"id" validate:"number"`
- }
- type IDsUint32Req struct {
-
-
- Ids []uint32 `json:"ids"`
- }
- type IDUint32PathReq struct {
-
-
- Id uint32 `path:"id"`
- }
- type IDInt64Req struct {
-
-
- Id int64 `json:"id" validate:"number"`
- }
- type IDsInt64Req struct {
-
-
- Ids []int64 `json:"ids"`
- }
- type IDInt64PathReq struct {
-
-
- Id int64 `path:"id"`
- }
- type UUIDPathReq struct {
-
-
- Id string `path:"id"`
- }
- type UUIDReq struct {
-
-
-
-
- Id string `json:"id" validate:"required,len=36"`
- }
- type UUIDsReq struct {
-
-
- Ids []string `json:"ids"`
- }
- type BaseIDInfo struct {
-
- Id *uint64 `json:"id,optional"`
-
- CreatedAt *int64 `json:"createdAt,optional"`
-
- UpdatedAt *int64 `json:"updatedAt,optional"`
- }
- type BaseIDInt64Info struct {
-
- Id *int64 `json:"id,optional"`
-
- CreatedAt *int64 `json:"createdAt,optional"`
-
- UpdatedAt *int64 `json:"updatedAt,optional"`
- }
- type BaseIDInt32Info struct {
-
- Id *int32 `json:"id,optional"`
-
- CreatedAt *int64 `json:"createdAt,optional"`
-
- UpdatedAt *int64 `json:"updatedAt,optional"`
- }
- type BaseIDUint32Info struct {
-
- Id *uint32 `json:"id,optional"`
-
- CreatedAt *int64 `json:"createdAt,optional"`
-
- UpdatedAt *int64 `json:"updatedAt,optional"`
- }
- type BaseUUIDInfo struct {
-
- Id *string `json:"id,optional"`
-
- CreatedAt *int64 `json:"createdAt,optional"`
-
- UpdatedAt *int64 `json:"updatedAt,optional"`
- }
- type Condition struct {
- Equal int `json:"equal"`
- LabelIdList []uint64 `json:"labelIdList"`
- }
- type Action struct {
- Type int `json:"type"`
- Content string `json:"content"`
- Meta Meta `json:"meta,optional"`
- }
- type Meta struct {
- Filename string `json:"filename,optional"`
- }
- type ActionForward struct {
- Wxid string `json:"wxid"`
- Action []Action `json:"action"`
- }
- type ServerInfo struct {
- BaseIDInfo
-
- Status *uint8 `json:"status,optional"`
-
- Name *string `json:"name,optional"`
-
- PublicIp *string `json:"publicIp,optional"`
-
- PrivateIp *string `json:"privateIp,optional"`
-
- AdminPort *string `json:"adminPort,optional"`
- }
- type ServerListResp struct {
- BaseDataInfo
-
- Data ServerListInfo `json:"data"`
- }
- type ServerListInfo struct {
- BaseListInfo
-
- Data []ServerInfo `json:"data"`
- }
- type ServerListReq struct {
- PageInfo
-
- Name *string `json:"name,optional"`
-
- PublicIp *string `json:"publicIp,optional"`
-
- PrivateIp *string `json:"privateIp,optional"`
- }
- type ServerInfoResp struct {
- BaseDataInfo
-
- Data ServerInfo `json:"data"`
- }
- type WxInfo struct {
- BaseIDInfo
-
- Status *uint8 `json:"status,optional"`
-
- ServerId *uint64 `json:"serverId,optional"`
-
- ServerName *string `json:"serverName,optional"`
-
- Port *string `json:"port,optional"`
-
- ProcessId *string `json:"processId,optional"`
-
- Callback *string `json:"callback,optional"`
-
- Wxid *string `json:"wxid,optional"`
-
- Account *string `json:"account,optional"`
-
- Nickname *string `json:"nickname,optional"`
-
- Tel *string `json:"tel,optional"`
-
- HeadBig *string `json:"headBig,optional"`
-
- OrganizationId *uint64 `json:"organizationId,optional"`
-
- OrganizationName *string `json:"organizationName,optional"`
-
- AgentId *uint64 `json:"agentId,optional"`
-
- AgentInfo *AgentInfo `json:"agentInfo,optional"`
-
- ApiBase *string `json:"apiBase,optional"`
-
- ApiKey *string `json:"apiKey,optional"`
-
- AllowList []ContactInfo `json:"allowList,optional"`
-
- GroupAllowList []ContactInfo `json:"groupAllowList,optional"`
-
- BlockList []ContactInfo `json:"blockList,optional"`
-
- GroupBlockList []ContactInfo `json:"groupBlockList,optional"`
- }
- type UpdateBlockAndAllowListReq struct {
- BaseIDInfo
-
- AllowList []string `json:"allowList,optional"`
-
- GroupAllowList []string `json:"groupAllowList,optional"`
-
- BlockList []string `json:"blockList,optional"`
-
- GroupBlockList []string `json:"groupBlockList,optional"`
- }
- type WxListResp struct {
- BaseDataInfo
-
- Data WxListInfo `json:"data"`
- }
- type WxListInfo struct {
- BaseListInfo
-
- Data []WxInfo `json:"data"`
- }
- type WxListReq struct {
- PageInfo
-
- ServerId *uint64 `json:"serverId,optional"`
-
- OrganizationId *uint64 `json:"organizationId,optional"`
-
- OrganizationName *string `json:"organizationName,optional"`
-
- Port *string `json:"port,optional"`
-
- ProcessId *string `json:"processId,optional"`
-
- Callback *string `json:"callback,optional"`
- }
- type WxInfoResp struct {
- BaseDataInfo
-
- Data WxInfo `json:"data"`
- }
- type AllowBlockListResp struct {
- BaseDataInfo
-
- Data AllowBlockListRespData `json:"data"`
- }
- type AllowBlockListRespData struct {
-
- AllowList []*AllowBlockData `json:"allowList,optional"`
-
- GroupAllowList []*AllowBlockData `json:"groupAllowList,optional"`
-
- BlockList []*AllowBlockData `json:"blockList,optional"`
-
- GroupBlockList []*AllowBlockData `json:"groupBlockList,optional"`
- }
- type AllowBlockData struct {
-
- Wxid string `json:"wxid,optional"`
-
- Nickname string `json:"nickname,optional"`
- }
- type AgentInfo struct {
- BaseIDInfo
-
- Name *string `json:"name,optional"`
-
- Role *string `json:"role,optional"`
-
- Status *int `json:"status,optional"`
-
- Background *string `json:"background,optional"`
-
- Examples *string `json:"examples,optional"`
- DatasetId *string `json:"dataset_id,optional"`
- CollectionId *string `json:"collection_id,optional"`
- }
- type AgentListResp struct {
- BaseDataInfo
-
- Data AgentListInfo `json:"data"`
- }
- type AgentListInfo struct {
- BaseListInfo
-
- Data []AgentInfo `json:"data"`
- }
- type AgentListReq struct {
- PageInfo
-
- Name *string `json:"name,optional"`
-
- Role *string `json:"role,optional"`
-
- Background *string `json:"background,optional"`
-
- Status *int `json:"status,optional"`
- }
- type AgentInfoResp struct {
- BaseDataInfo
-
- Data AgentInfo `json:"data"`
- }
- type VectorModel struct {
- Model *string `json:"model"`
- Name *string `json:"name"`
- CharsPointsPrice *uint64 `json:"charsPointsPrice"`
- DefaultToken *uint64 `json:"defaultToken"`
- MaxToken *uint64 `json:"maxToken"`
- Weight *uint64 `json:"weight"`
- }
- type AgentModel struct {
- Model *string `json:"model"`
- Name *string `json:"name"`
- MaxContext *uint64 `json:"maxContext"`
- MaxResponse *uint64 `json:"maxResponse"`
- CharsPointsPrice *uint64 `json:"charsPointsPrice"`
- }
- type DatasetId struct {
- ID *string `json:"id"`
- ParentID *string `json:"parentId"`
- TeamId *string `json:"teamId"`
- TmbId *string `json:"tmbId"`
- Type *string `json:"type"`
- Status *string `json:"status"`
- Avatar *string `json:"avatar"`
- Name *string `json:"name"`
- VectorModel *string `json:"vectorModel"`
- AgentModel *string `json:"agentModel"`
- Intro *string `json:"intro"`
- }
- type DatasetInfo struct {
- ID *string `json:"id"`
- ParentID *string `json:"parentId"`
- TeamId *string `json:"teamId"`
- TmbId *string `json:"tmbId"`
- Type *string `json:"type"`
- Name *string `json:"name"`
- Intro *string `json:"intro"`
- Status *string `json:"status"`
- Avatar *string `json:"avatar"`
- VectorModel VectorModel `json:"vectorModel"`
- AgentModel AgentModel `json:"agentModel"`
- Permission *string `json:"permission"`
- CanWrite *bool `json:"canWrite"`
- IsOwner *bool `json:"isOwner"`
- }
- type Index struct {
- DefaultIndex *bool `json:"defaultIndex"`
- Type *string `json:"type"`
- DataId *string `json:"dataId"`
- Text *string `json:"text"`
- ID *string `json:"id"`
- }
- type CollectionInfo struct {
- ID *string `json:"id"`
- ParentID *string `json:"parentId"`
- TmbId *string `json:"tmbId,optional"`
- Type *string `json:"type"`
- Name *string `json:"name"`
- DataAmount *uint64 `json:"dataAmount,optional"`
- TrainingAmount *uint64 `json:"trainingAmount,optional"`
- TrainingType *string `json:"trainingType,optional"`
- ChunkSize *uint64 `json:"chunkSize,optional"`
- ChunkSplitter *string `json:"chunkSplitter,optional"`
- QaPrompt *string `json:"qaPrompt,optional"`
- RawTextLength *uint64 `json:"rawTextLength,optional"`
- CanWrite *bool `json:"canWrite,optional"`
- SourceName *string `json:"sourceName,optional"`
- DatasetId DatasetId `json:"datasetId,optional"`
- }
- type CollectionDetailReq struct {
- ID *string `json:"id"`
- }
- type CollectionInfoResp struct {
- BaseDataInfo
- Data CollectionInfo `json:"data"`
- }
- type DataDetailReq struct {
- ID *string `json:"id"`
- }
- type DataDetailResp struct {
- BaseDataInfo
- Data DataInfo `json:"data"`
- }
- type CollectionSimpleInfo struct {
- ID *string `json:"id"`
- ParentID *string `json:"parentId"`
- TmbId *string `json:"tmbId,optional"`
- Type *string `json:"type"`
- Name *string `json:"name"`
- DataAmount *uint64 `json:"dataAmount,optional"`
- TrainingAmount *uint64 `json:"trainingAmount,optional"`
- }
- type DataInfo struct {
- ID *string `json:"id"`
- Q *string `json:"q"`
- A *string `json:"a"`
- ChunkIndex *uint64 `json:"chunkIndex"`
- Indexes []Index `json:"indexes"`
- DatasetId *string `json:"datasetId"`
- CollectionId *string `json:"collectionId"`
- SourceName *string `json:"sourceName"`
- CanWrite *bool `json:"canWrite"`
- IsOwner *bool `json:"isOwner"`
- }
- type DataSimpleInfo struct {
- ID *string `json:"id"`
- Q *string `json:"q"`
- A *string `json:"a"`
- ChunkIndex *uint64 `json:"chunkIndex"`
- DatasetId *string `json:"datasetId"`
- CollectionId *string `json:"collectionId"`
- }
- type CollectionListReq struct {
-
-
- PageNum *int `json:"pageNum" validate:"required,number,gt=0"`
-
-
- PageSize *int `json:"pageSize" validate:"required,number,lt=100000"`
-
- DatasetId *string `json:"datasetId" validate:"required"`
- }
- type CollectionListResp struct {
- BaseDataInfo
-
- Data []CollectionSimpleInfo `json:"data"`
-
-
- PageNum *int `json:"pageNum" validate:"required,number,gt=0"`
-
-
- PageSize *int `json:"pageSize" validate:"required,number,lt=100000"`
- Total *int `json:"total"`
- }
- type DataListReq struct {
-
-
- PageNum *int `json:"page" validate:"required,number,gt=0"`
-
-
- PageSize *int `json:"pageSize" validate:"required,number,lt=100000"`
-
- CollectionId *string `json:"collectionId" validate:"required"`
- }
- type DataListResp struct {
- BaseDataInfo
-
- Data []DataSimpleInfo `json:"data"`
-
-
- PageNum *int `json:"pageNum" validate:"required,number,gt=0"`
-
-
- PageSize *int `json:"pageSize" validate:"required,number,lt=100000"`
- Total *int `json:"total"`
- }
- type CreateDataInfoReq struct {
-
- CollectionId *string `json:"collectionId" validate:"required"`
-
-
- Q *string `json:"q" validate:"required"`
-
-
- A *string `json:"a" validate:"required"`
- }
- type UpdateDataInfoReq struct {
-
-
- DataId *string `json:"id" validate:"required"`
-
-
- Q *string `json:"q" validate:"required"`
-
-
- A *string `json:"a" validate:"required"`
- }
- type DeleteDataReq struct {
-
- ID *string `json:"id" validate:"required"`
- }
- type ContactLabelList struct {
-
- Label *string `json:"label,optional"`
-
- Value *uint64 `json:"value,optional"`
- }
- type ContactInfo struct {
- BaseIDInfo
-
- Status *uint8 `json:"status,optional"`
-
- WxWxid *string `json:"wxWxid,optional"`
-
- Type *int `json:"type,optional"`
-
- Wxid *string `json:"wxid,optional"`
-
- Account *string `json:"account,optional"`
-
- Nickname *string `json:"nickname,optional"`
-
- Markname *string `json:"markname,optional"`
-
- Headimg *string `json:"headimg,optional"`
-
- Sex *int `json:"sex,optional"`
-
- Starrole *string `json:"starrole,optional"`
-
- Dontseeit *int `json:"dontseeit,optional"`
-
- Dontseeme *int `json:"dontseeme,optional"`
-
- Lag *string `json:"lag,optional"`
-
- Gid *string `json:"gid,optional"`
-
- Gname *string `json:"gname,optional"`
-
- V3 *string `json:"v3,optional"`
-
- LabelRelationships []ContactLabelList `json:"labelRelationships,optional"`
-
- OrganizationId *uint64 `json:"organizationId,optional"`
- }
- type LabelInfo struct {
- BaseIDInfo
-
- Status *uint8 `json:"status,optional"`
-
- Type *int `json:"type,optional"`
-
- Name *string `json:"name,optional"`
-
- From *int `json:"from,optional"`
-
- Mode *int `json:"mode,optional"`
-
- Conditions *string `json:"conditions,optional"`
-
- OrganizationId *uint64 `json:"organizationId,optional"`
-
- LabelRelationships []LabelRelationshipInfo `json:"labelRelationships,optional"`
- }
- type LabelRelationshipInfo struct {
- BaseIDInfo
-
- Status *uint8 `json:"status,optional"`
-
- LabelId *uint64 `json:"labelId,optional"`
-
- ContactId *uint64 `json:"contactId,optional"`
-
- Contact ContactInfo `json:"contact,optional"`
-
- Label LabelInfo `json:"label,optional"`
-
- OrganizationId *uint64 `json:"organizationId,optional"`
- }
- type LabelRelationshipsInfo struct {
- BaseIDInfo
-
- UpdateType *string `json:"updateType,optional"`
-
- LabelIds []uint64 `json:"labelIds,optional"`
-
- ContactId *uint64 `json:"contactId,optional"`
- }
- type BatchLabelRelationshipsInfo struct {
-
- UpdateType int `json:"updateType,optional"`
-
- LabelIds []uint64 `json:"labelIds,optional"`
-
- ContactIds []uint64 `json:"contactIds,optional"`
- }
- type LabelRelationshipListResp struct {
- BaseDataInfo
-
- Data LabelRelationshipListInfo `json:"data"`
- }
- type LabelRelationshipListInfo struct {
- BaseListInfo
-
- Data []LabelRelationshipInfo `json:"data"`
- }
- type LabelRelationshipListReq struct {
- PageInfo
- }
- type LabelRelationshipInfoResp struct {
- BaseDataInfo
-
- Data LabelRelationshipInfo `json:"data"`
- }
- type LoginQRStatus struct {
-
- QRCode string `json:"qRCode,optional"`
-
- Status string `json:"status,optional"`
-
- StatusDesc string `json:"statusDesc,optional"`
- }
- type RefreshLoginQRReq struct {
-
- ServerId *uint64 `json:"serverId,optional"`
-
- Port *string `json:"port,optional"`
-
- Callback *string `json:"callback,optional"`
- }
- type RefreshLoginQRResp struct {
- BaseDataInfo
-
- Data LoginQRStatus `json:"data,optional"`
- }
- type SendTextMsgReq struct {
-
- WxWxid *string `json:"senderWxId"`
-
- Wxid *string `json:"receiverWxId"`
-
- Msg *string `json:"msg"`
- }
- type SendPicMsgReq struct {
-
- WxWxid *string `json:"wxWxid"`
-
- Wxid *string `json:"wxid"`
-
- Picpath *string `json:"picpath"`
-
- Diyfilename *string `json:"diyfilename,optional"`
- }
- type SendPicMsgLocalReq struct {
-
- WxWxid *string `json:"wxWxid"`
-
- Wxid *string `json:"wxid"`
-
- Picpath *string `json:"picpath"`
- }
- type ContactListResp struct {
- BaseDataInfo
-
- Data ContactListInfo `json:"data"`
- }
- type ContactListInfo struct {
- BaseListInfo
-
- Data []ContactInfo `json:"data"`
- }
- type ContactListReq struct {
- PageInfo
-
- LabelIDs []uint64 `json:"labelIDs,optional"`
-
- WxWxid *string `json:"wxWxid,optional"`
-
- Wxid *string `json:"wxid,optional"`
-
- Account *string `json:"account,optional"`
-
- Nickname *string `json:"nickname,optional"`
-
- Type *int `json:"type,optional"`
- }
- type ContactInfoResp struct {
- BaseDataInfo
-
- Data ContactInfo `json:"data"`
- }
- type AddNewFriendReq struct {
- OwnerWxid string `json:"ownerWxid"`
- Wxid string `json:"wxid"`
- Gid string `json:"gid"`
- Desc string `json:"desc"`
- AddType string `json:"addType"`
- }
- type MessageInfo struct {
- BaseIDInfo
-
- WxWxid *string `json:"wxWxid"`
-
- Wxid *string `json:"wxid"`
-
- Msg *string `json:"msg"`
- }
- type MessageListResp struct {
- BaseDataInfo
-
- Data MessageListInfo `json:"data"`
- }
- type MessageListInfo struct {
- BaseListInfo
-
- Data []MessageInfo `json:"data"`
- }
- type MessageListReq struct {
- PageInfo
-
- WxWxid *string `json:"wxWxid,optional"`
-
- Wxid *string `json:"wxid,optional"`
- }
- type MessageInfoResp struct {
- BaseDataInfo
-
- Data MessageInfo `json:"data"`
- }
- type LabelSelectListResp struct {
- BaseDataInfo
-
- Data []LabelSelectListInfo `json:"data"`
- }
- type LabelBatchSelectListResp struct {
- BaseDataInfo
-
- Data LabelBatchSelectListData `json:"data"`
- }
- type LabelBatchSelectListData struct {
- Contact []LabelSelectListInfo `json:"contact"`
- Group []LabelSelectListInfo `json:"group"`
- }
- type LabelListResp struct {
- BaseDataInfo
-
- Data LabelListInfo `json:"data"`
- }
- type LabelListInfo struct {
- BaseListInfo
-
- Data []LabelInfo `json:"data"`
- }
- type LabelListReq struct {
- PageInfo
-
- LabelIDs []uint64 `json:"labelIDs,optional"`
-
- Type *int `json:"type,optional"`
-
- Name *string `json:"name,optional"`
-
- From *int `json:"from,optional"`
-
- Mode *int `json:"mode,optional"`
- }
- type LabelInfoResp struct {
- BaseDataInfo
-
- Data LabelInfo `json:"data"`
- }
- type LabelSelectListInfo struct {
-
- Label *string `json:"label,optional"`
-
- Value *uint64 `json:"value,optional"`
- }
- type SopTaskListResp struct {
- BaseDataInfo
-
- Data SopTaskListInfo `json:"data"`
- }
- type SopTaskRecordListResp struct {
- BaseDataInfo
-
- Data []SopTaskRecordInfo `json:"data"`
- }
- type SopTaskRecordInfo struct {
-
- SourceType *int `json:"sourceType,optional"`
-
- SourceId *uint64 `json:"sourceId,optional"`
-
- Name *string `json:"name,optional"`
-
- TotalCount *int64 `json:"totalCount,optional"`
-
- SuccessCount *int64 `json:"successCount,optional"`
-
- FailureCount *int64 `json:"failureCount,optional"`
-
- SuccessRate *int64 `json:"successRate,optional"`
- }
- type SopTaskListInfo struct {
- BaseListInfo
-
- Data []SopTaskInfo `json:"data"`
- }
- type SopTaskListReq struct {
- PageInfo
-
- Name *string `json:"name,optional"`
-
- CreatorId *string `json:"creatorId,optional"`
- }
- type SopTaskInfoResp struct {
- BaseDataInfo
-
- Data SopTaskInfo `json:"data"`
- }
- type SopTaskCreateResp struct {
- BaseDataInfo
-
- Data uint64 `json:"data"`
- }
- type CopyReq struct {
-
- Id uint64 `json:"id"`
-
- Name *string `json:"name,optional"`
-
- OrganizationId uint64 `json:"organizationId,optional"`
- }
- type MessageVarResp struct {
- BaseDataInfo
- Data MessageVarRespData `json:"data"`
- }
- type MessageVarRespData struct {
-
- MessageVar []MessageVarInfo `json:"messageVar"`
-
- ForwardVar []MessageVarInfo `json:"forwardVar"`
- }
- type MessageVarInfo struct {
-
- Label string `json:"label"`
-
- Value string `json:"value"`
- }
- type SopTaskOutlineResp struct {
- BaseDataInfo
- Data []SopTaskOutlineInfo `json:"data"`
- }
- type SopTaskOutlineInfo struct {
-
- Title string `json:"title,optional"`
-
- Key string `json:"key,optional"`
-
- Children []SopTaskOutlineInfo `json:"children,optional"`
- }
- type TestNodeReq struct {
- Type int `json:"type"`
- Id uint64 `json:"id"`
- Content string `json:"content"`
- }
- type TestNodeResp struct {
- BaseDataInfo
- Data []string `json:"data"`
- }
- type SopStageInfo struct {
- BaseIDInfo
-
- Status *uint8 `json:"status,optional"`
-
- TaskId *uint64 `json:"taskId,optional"`
-
- Name *string `json:"name,optional"`
-
- ConditionType *int `json:"conditionType,optional"`
-
- ConditionOperator *int `json:"conditionOperator,optional"`
-
- ConditionList []Condition `json:"conditionList,optional"`
-
- ActionMessage []Action `json:"actionMessage,optional"`
-
- ActionLabelAdd []uint64 `json:"actionLabelAdd,optional"`
-
- ActionLabelDel []uint64 `json:"actionLabelDel,optional"`
-
- ActionForward *ActionForward `json:"actionForward,optional"`
-
- IndexSort *int `json:"indexSort,optional"`
-
- TaskInfo *SopTaskInfo `json:"taskInfo,optional"`
-
- NodeList []SopNodeInfo `json:"nodeList,optional"`
- }
- type SopTaskInfo struct {
- BaseIDInfo
-
- Status *uint8 `json:"status,optional"`
-
- Name *string `json:"name,optional"`
-
- BotWxidList []string `json:"botWxidList,optional"`
-
- Type *int `json:"type,optional"`
-
- PlanStartTime *int64 `json:"planStartTime,optional"`
-
- PlanEndTime *int64 `json:"planEndTime,optional"`
-
- CreatorId *string `json:"creatorId,optional"`
-
- StageList []SopStageInfo `json:"stageList,optional"`
-
- OrganizationId *uint64 `json:"organizationId,optional"`
- }
- type SopNodeInfo struct {
- BaseIDInfo
-
- Status *uint8 `json:"status,optional"`
-
- StageId *uint64 `json:"stageId,optional"`
-
- ParentId *uint64 `json:"parentId,optional"`
-
- Name *string `json:"name,optional"`
-
- ConditionType *int `json:"conditionType,optional"`
-
- ConditionList []string `json:"conditionList,optional"`
-
- NoReplyCondition *uint64 `json:"noReplyCondition,optional"`
-
- NoReplyUnit *string `json:"noReplyUnit,optional"`
-
- ActionMessage []Action `json:"actionMessage,optional"`
-
- ActionLabelAdd []uint64 `json:"actionLabelAdd,optional"`
-
- ActionLabelDel []uint64 `json:"actionLabelDel,optional"`
-
- ActionForward *ActionForward `json:"actionForward,optional"`
-
- StageInfo *SopStageInfo `json:"stageInfo,optional"`
- }
- type SopStageListResp struct {
- BaseDataInfo
-
- Data SopStageListInfo `json:"data"`
- }
- type SopStageListInfo struct {
- BaseListInfo
-
- Data []SopStageInfo `json:"data"`
- }
- type SopStageListReq struct {
- TaskId *uint64 `json:"taskId"`
- }
- type SopStageInfoResp struct {
- BaseDataInfo
-
- Data SopStageInfo `json:"data"`
- }
- type SopStageCreateResp struct {
- BaseDataInfo
-
- Data uint64 `json:"data"`
- }
- type SopStageMoveReq struct {
- BaseIDInfo
-
- Offset *int `json:"offset,optional"`
- }
- type SopNodeListResp struct {
- BaseDataInfo
-
- Data []*SopChildNodeInfo `json:"data"`
- }
- type SopChildNodeInfo struct {
- NodeName *string `json:"nodeName,optional"`
- ChildNode *SopChildNodeInfo `json:"childNode,optional"`
-
- ConditionNodes []*SopChildNodeInfo `json:"conditionNodes"`
- SopNodeInfo
- }
- type SopNodeListInfo struct {
- BaseListInfo
-
- Data []SopNodeInfo `json:"data"`
- }
- type SopNodeListReq struct {
- StageId *uint64 `json:"stageId"`
- }
- type SopNodeInfoResp struct {
- BaseDataInfo
-
- Data SopNodeInfo `json:"data"`
- }
- type SopNodeCreateResp struct {
- BaseDataInfo
-
- Data uint64 `json:"data"`
- }
- type MessageRecordsInfo struct {
- BaseIDInfo
-
- Status *uint8 `json:"status,optional"`
-
- BotWxid *string `json:"botWxid,optional"`
-
- ContactId *uint64 `json:"contactId,optional"`
-
- ContactType *int `json:"contactType,optional"`
-
- ContactWxid *string `json:"contactWxid,optional"`
-
- ContentType *int `json:"contentType,optional"`
-
- Content *string `json:"content,optional"`
-
- Meta *Meta `json:"meta,optional"`
-
- ErrorDetail *string `json:"errorDetail,optional"`
-
- SendTime *int64 `json:"sendTime,optional"`
-
- SourceType *int `json:"sourceType,optional"`
-
- SourceId *uint64 `json:"sourceId,optional"`
-
- SubSourceId *uint64 `json:"subSourceId,optional"`
-
- OrganizationId *uint64 `json:"organizationId,optional"`
- }
- type MessageRecordsListResp struct {
- BaseDataInfo
-
- Data MessageRecordsListInfo `json:"data"`
- }
- type MessageRecordsListInfo struct {
- BaseListInfo
-
- Data []MessageRecordsInfo `json:"data"`
- }
- type MessageRecordsListReq struct {
- PageInfo
-
- BatchMsgId *uint64 `json:"batchMsgId,optional"`
-
- BotWxid *string `json:"botWxid,optional"`
-
- SourceType *int `json:"sourceType,optional"`
-
- SourceId *uint64 `json:"sourceId,optional"`
-
- ContactWxid *string `json:"contactWxid,optional"`
-
- Status *uint8 `json:"status,optional"`
- }
- type MessageRecordsInfoResp struct {
- BaseDataInfo
-
- Data MessageRecordsInfo `json:"data"`
- }
- type ChatroomMemberInfo struct {
-
- Wxid *string `json:"wxid,optional"`
-
- ChatRoom *string `json:"chatRoom,optional"`
-
- OwnerWxid *string `json:"ownerWxid,optional"`
-
- Account *string `json:"account,optional"`
- }
- type ChatroomMemberListResp struct {
- BaseDataInfo
-
- Data ChatroomMemberListInfo `json:"data"`
- }
- type ChatroomMemberListInfo struct {
- BaseListInfo
-
- Data []ChatroomMemberInfo `json:"data"`
- }
- type ChatroomMemberListReq struct {
- PageInfo
-
- OwnerWxid *string `json:"ownerWxid,optional"`
-
- ChatRoom *string `json:"chatRoom,optional"`
- }
- type ChatroomMemberInfoResp struct {
- BaseDataInfo
-
- Data ChatroomMemberInfo `json:"data"`
- }
- type UserInfo struct {
- BaseUUIDInfo
-
-
- Status *uint32 `json:"status,optional" validate:"omitempty,lt=20"`
-
-
- Username *string `json:"username,optional" validate:"omitempty,max=50"`
-
-
- Nickname *string `json:"nickname,optional" validate:"omitempty,max=40"`
-
-
- Password *string `json:"password,optional" validate:"omitempty,min=6"`
-
-
- Description *string `json:"description,optional" validate:"omitempty,max=100"`
-
-
- HomePath *string `json:"homePath,optional" validate:"omitempty,max=70"`
-
- RoleIds []uint64 `json:"roleIds,optional"`
-
-
- Mobile *string `json:"mobile,optional" validate:"omitempty,max=18"`
-
-
- Email *string `json:"email,optional" validate:"omitempty,max=80"`
-
-
- Avatar *string `json:"avatar,optional" validate:"omitempty,max=300"`
-
- DepartmentId *uint64 `json:"departmentId,optional,omitempty"`
-
- PositionIds []uint64 `json:"positionId,optional,omitempty"`
- }
- type UserInfoResp struct {
- BaseDataInfo
-
- Data UserInfo `json:"data"`
- }
- type UserBaseIDInfoResp struct {
- BaseDataInfo
-
- Data UserBaseIDInfo `json:"data"`
- }
- type UserBaseIDInfo struct {
-
- UUID *string `json:"userId"`
-
- Username *string `json:"username"`
-
- Nickname *string `json:"nickname"`
-
- Avatar *string `json:"avatar"`
-
- HomePath *string `json:"homePath"`
-
- Description *string `json:"desc"`
-
- RoleName []string `json:"roleName"`
-
- DepartmentName string `json:"departmentName,optional"`
-
- DepartmentRemark string `json:"departmentRemark,optional"`
- }
- type UserLoginReq struct {
- JsCode *string `json:"js_code,optional"`
- }
- type UserLoginResp struct {
- BaseDataInfo
- Data UserToken `json:"data,optional"`
- }
- type UserToken struct {
- Token *string `json:"token,optional"`
- ID *uint64 `json:"id,optional"`
- Avatar *string `json:"avatar,optional"`
- Nickname *string `json:"nickname,optional"`
- IsVip *bool `json:"isVip,optional"`
- }
- type WxidReq struct {
- Wxid string `json:"wxid"`
- }
- type BatchMsgInfo struct {
- BaseIDInfo
-
- Status *uint8 `json:"status,optional"`
-
- BatchNo *string `json:"batchNo,optional"`
-
- TaskName *string `json:"taskName,optional"`
-
- Fromwxid *string `json:"fromwxid,optional"`
-
- Msg *string `json:"msg,optional"`
-
- Tag *string `json:"tag,optional"`
-
- Total *int32 `json:"total,optional"`
-
- Success *int32 `json:"success,optional"`
-
- Fail *int32 `json:"fail,optional"`
-
- StartTime *int64 `json:"startTime,optional"`
- StartTimeStr *string `json:"startTimeStr,optional"`
-
- StopTime *int64 `json:"stopTime,optional"`
-
- SendTime *int64 `json:"sendTime,optional"`
-
- Labels []uint64 `json:"labels,optional"`
- GroupLabels []uint64 `json:"groupLabels,optional"`
-
- Type *int32 `json:"type,optional"`
- }
- type BatchMsgListResp struct {
- BaseDataInfo
-
- Data BatchMsgListInfo `json:"data"`
- }
- type BatchMsgListInfo struct {
- BaseListInfo
-
- Data []BatchMsgInfo `json:"data"`
- }
- type BatchMsgListReq struct {
- PageInfo
-
- BatchNo *string `json:"batchNo,optional"`
-
- Fromwxid *string `json:"fromwxid,optional"`
-
- Msg *string `json:"msg,optional"`
-
- TaskName *string `json:"taskName,optional"`
-
- Type *int32 `json:"type"`
- }
- type BatchMsgInfoResp struct {
- BaseDataInfo
-
- Data BatchMsgInfo `json:"data"`
- }
- type MsgInfo struct {
- BaseIDInfo
-
- Status *uint8 `json:"status,optional"`
-
- Fromwxid *string `json:"fromwxid,optional"`
-
- Toid *string `json:"toid,optional"`
-
- Msgtype *int32 `json:"msgtype,optional"`
-
- Msg *string `json:"msg,optional"`
-
- BatchNo *string `json:"batchNo,optional"`
- }
- type MsgListResp struct {
- BaseDataInfo
-
- Data MsgListInfo `json:"data"`
- }
- type MsgListInfo struct {
- BaseListInfo
-
- Data []MsgInfo `json:"data"`
- }
- type MsgListReq struct {
- PageInfo
-
- Status *uint8 `json:"status,optional"`
-
- Toid *string `json:"toid,optional"`
-
- BatchId *uint64 `json:"batchId"`
- }
- type MsgInfoResp struct {
- BaseDataInfo
-
- Data MsgInfo `json:"data"`
- }
- type EmployeeInfo struct {
- BaseIDInfo
-
- Title *string `json:"title,optional"`
-
- Avatar *string `json:"avatar,optional"`
-
- Tags *string `json:"tags,optional"`
-
- HireCount *int `json:"hireCount,optional"`
-
- ServiceCount *int `json:"serviceCount,optional"`
-
- AchievementCount *int `json:"achievementCount,optional"`
-
- CategoryId *uint64 `json:"categoryId,optional"`
-
- Intro *string `json:"intro,optional"`
-
- Estimate *string `json:"estimate,optional"`
-
- Skill *string `json:"skill,optional"`
-
- AbilityType *string `json:"abilityType,optional"`
-
- Scene *string `json:"scene,optional"`
- SceneList []EmployeeConfigInfo `json:"sceneList,optional"`
-
- SwitchIn *string `json:"switchIn,optional"`
- SwitchInList []EmployeeConfigInfo `json:"switchInList,optional"`
- Tutorial []TutorialInfo `json:"tutorial,optional"`
-
- VideoUrl *string `json:"videoUrl,optional"`
-
- WorkExperience []WorkExperienceInfo `json:"workExperience,optional"`
- ApiBase *string `json:"apiBase,optional"`
- ApiKey *string `json:"apiKey,optional"`
-
- AiInfo *string `json:"aiInfo,optional"`
- ShowChat *bool `json:"showChat,optional"`
- IsVip *bool `json:"isVip,optional"`
- }
- type EmployeeListResp struct {
- BaseDataInfo
-
- Data EmployeeListInfo `json:"data"`
- }
- type EmployeeListInfo struct {
- BaseListInfo
-
- Data []EmployeeInfo `json:"data"`
- }
- type EmployeeListReq struct {
- PageInfo
-
- Title *string `json:"title,optional"`
-
- Tags *string `json:"tags,optional"`
-
- CategoryId *uint64 `json:"categoryId,optional"`
- }
- type EmployeeInfoResp struct {
- BaseDataInfo
-
- Data EmployeeInfo `json:"data"`
- }
- type AuthReq struct {
- Token *string `json:"token,optional"`
- Data uint64 `json:"data,optional"`
- }
- type AuthResp struct {
- Token *string `json:"token,optional"`
- Data *uint64 `json:"data,optional"`
- Original interface{} `json:"original,optional"`
- OK interface{} `json:"ok,optional"`
- SecretKey string `json:"secretKey,optional"`
- }
- type WorkExperienceInfo struct {
- BaseIDInfo
-
- EmployeeId *uint64 `json:"employeeId,optional"`
-
- StartDate *int64 `json:"startDate,optional"`
- StartDateStr *string `json:"startDateStr,optional"`
-
- EndDate *int64 `json:"endDate,optional"`
- EndDateStr *string `json:"endDateStr,optional"`
-
- Company *string `json:"company,optional"`
-
- Experience *string `json:"experience,optional"`
- }
- type WorkExperienceListResp struct {
- BaseDataInfo
-
- Data WorkExperienceListInfo `json:"data"`
- }
- type WorkExperienceListInfo struct {
- BaseListInfo
-
- Data []WorkExperienceInfo `json:"data"`
- }
- type WorkExperienceListReq struct {
- PageInfo
-
- Company *string `json:"company,optional"`
- }
- type WorkExperienceInfoResp struct {
- BaseDataInfo
-
- Data WorkExperienceInfo `json:"data"`
- }
- type TutorialInfo struct {
- BaseIDInfo
-
- EmployeeId *uint64 `json:"employeeId,optional"`
-
- Index *int `json:"index,optional"`
-
- Title *string `json:"title,optional"`
-
- Content *string `json:"content,optional"`
- }
- type TutorialListResp struct {
- BaseDataInfo
-
- Data TutorialListInfo `json:"data"`
- }
- type TutorialListInfo struct {
- BaseListInfo
-
- Data []TutorialInfo `json:"data"`
- }
- type TutorialListReq struct {
- PageInfo
-
- Title *string `json:"title,optional"`
-
- Content *string `json:"content,optional"`
- }
- type TutorialInfoResp struct {
- BaseDataInfo
-
- Data TutorialInfo `json:"data"`
- }
- type EmployeeConfigInfo struct {
- BaseIDInfo
-
- Stype *string `json:"stype,optional"`
-
- Title *string `json:"title,optional"`
-
- Photo *string `json:"photo,optional"`
- }
- type EmployeeConfigListInfo struct {
- BaseListInfo
-
- Data []EmployeeConfigInfo `json:"data"`
- }
- type EmployeeConfigListReq struct {
-
- Stype *string `json:"stype,optional"`
- }
- type EmployeeConfig struct {
- Scene []EmployeeConfigInfo `json:"scene"`
- SwitchIn []EmployeeConfigInfo `json:"switchIn"`
- }
- type EmployeeConfigListResp struct {
- BaseDataInfo
-
- Data EmployeeConfig `json:"data"`
- }
- type TokenInfo struct {
- BaseIDInfo
-
- ExpireAt *int64 `json:"expireAt,optional"`
- ExpireAtStr *string `json:"expireAtStr,optional"`
-
- Token *string `json:"token,optional"`
-
- Mac *string `json:"mac,optional"`
- }
- type TokenListResp struct {
- BaseDataInfo
-
- Data TokenListInfo `json:"data"`
- }
- type TokenListInfo struct {
- BaseListInfo
-
- Data []TokenInfo `json:"data"`
- }
- type TokenListReq struct {
- PageInfo
-
- Token *string `json:"token,optional"`
-
- Mac *string `json:"mac,optional"`
- }
- type TokenInfoResp struct {
- BaseDataInfo
-
- Data TokenInfo `json:"data"`
- }
- type CheckTokenReq struct {
-
- Token *string `json:"token"`
-
- Mac *string `json:"mac"`
- }
- type CheckTokenResp struct {
-
- Valid *bool `json:"valid"`
-
- Sign *string `json:"sign"`
-
- Timestamp *int64 `json:"timestamp"`
- }
- type CategoryInfo struct {
- BaseIDInfo
-
- Name *string `json:"name,optional"`
-
- OrganizationId *uint64 `json:"organizationId,optional"`
- }
- type CategoryListResp struct {
- BaseDataInfo
-
- Data CategoryListInfo `json:"data"`
- }
- type CategoryListInfo struct {
- BaseListInfo
-
- Data []CategoryInfo `json:"data"`
- }
- type CategoryListReq struct {
- PageInfo
-
- Name *string `json:"name,optional"`
- }
- type CategoryInfoResp struct {
- BaseDataInfo
-
- Data CategoryInfo `json:"data"`
- }
- type AgentBaseInfo struct {
- Id *string `json:"id,optional"`
- }
- type AgentBaseListResp struct {
- BaseDataInfo
-
- Data AgentBaseListInfo `json:"data"`
- }
- type AgentBaseListInfo struct {
- BaseListInfo
-
- Data []AgentBaseInfo `json:"data"`
- }
- type AgentBaseListReq struct {
- PageInfo
-
- Q *string `json:"q,optional"`
-
- A *string `json:"a,optional"`
-
- DatasetId *string `json:"datasetId,optional"`
- }
- type AgentBaseInfoResp struct {
- BaseDataInfo
-
- Data AgentBaseInfo `json:"data"`
- }
- type ChatRecordsInfo struct {
- BaseIDInfo
-
- Content *string `json:"content,optional"`
-
- ContentType *uint8 `json:"contentType,optional"`
-
- SessionId *uint64 `json:"sessionId,optional"`
-
- UserId *uint64 `json:"userId,optional"`
-
- BotId *uint64 `json:"botId,optional"`
-
- BotType *uint8 `json:"botType,optional,options=1|2|3"`
- Finish bool `json:"finish,optional"`
- }
- type ChatRecordsListResp struct {
- BaseDataInfo
-
- Data ChatRecordsListInfo `json:"data"`
- }
- type ChatRecordsListInfo struct {
- BaseListInfo
-
- Data []ChatRecordsInfo `json:"data"`
- }
- type ChatRecordsListReq struct {
- PageInfo
- SessionId *uint64 `json:"sessionId,optional"`
- BotId *uint64 `json:"botId,optional"`
- BotType *uint8 `json:"botType,optional"`
- }
- type ChatRecordsInfoResp struct {
- BaseDataInfo
-
- Data ChatRecordsInfo `json:"data"`
- }
- type ChatRecommendReq struct {
- SessionId *uint64 `json:"sessionId"`
- }
- type ChatRecommendResp struct {
- BaseDataInfo
-
- Data ChatRecommend `json:"data"`
- }
- type ChatRecommend struct {
- Data []string `json:"data"`
- SessionId uint64 `json:"sessionId"`
- }
- type ChatAskReq struct {
- CardId *uint64 `json:"cardId"`
- Question *string `json:"question"`
- SessionId *int `json:"sessionId"`
- }
- type ChatAskResp struct {
- BaseDataInfo
- Data *string `json:"data"`
- }
- type ChatSessionInfo struct {
- BaseIDInfo
-
- Name *string `json:"name,optional"`
-
- UserId *uint64 `json:"userId,optional"`
-
- BotId *uint64 `json:"botId,optional"`
-
- BotType *uint8 `json:"botType,optional"`
- }
- type ChatSessionListResp struct {
- BaseDataInfo
-
- Data ChatSessionListInfo `json:"data"`
- }
- type ChatSessionListInfo struct {
- BaseListInfo
-
- Data []ChatSessionInfo `json:"data"`
- }
- type ChatSessionListReq struct {
- PageInfo
- BotId *uint64 `json:"botId,optional"`
- BotType *uint8 `json:"botType,optional"`
- }
- type ChatSessionInfoResp struct {
- BaseDataInfo
-
- Data ChatSessionInfo `json:"data"`
- }
- type WxCardInfo struct {
- BaseIDInfo
-
- UserId *uint64 `json:"userId,optional"`
-
- WxUserId *uint64 `json:"wxUserId,optional"`
-
- Avatar *string `json:"avatar,optional"`
-
- Logo *string `json:"logo,optional"`
-
- Name *string `json:"name,optional"`
-
- Company *string `json:"company,optional"`
-
- Address *string `json:"address,optional"`
-
- Phone *string `json:"phone,optional"`
-
- OfficialAccount *string `json:"officialAccount,optional"`
-
- WechatAccount *string `json:"wechatAccount,optional"`
-
- Email *string `json:"email,optional"`
-
- ApiBase *string `json:"apiBase,optional"`
- ApiKey *string `json:"apiKey,optional"`
-
- AiInfo *string `json:"aiInfo,optional"`
-
- Intro *string `json:"intro,optional"`
- ShowChat *bool `json:"showChat,optioal"`
- ShowAi *bool `json:"showAi,optional"`
- IsVip *bool `json:"isVip,optional"`
- }
- type WxCardSimpleInfo struct {
- ID *uint64 `json:"id,optional"`
-
- Avatar *string `json:"avatar,optional"`
-
- Name *string `json:"name,optional"`
- }
- type WxCardListResp struct {
- BaseDataInfo
-
- Data WxCardListInfo `json:"data"`
- }
- type WxCardListInfo struct {
- BaseListInfo
-
- Data []WxCardInfo `json:"data"`
- }
- type WxCardListReq struct {
- PageInfo
-
- Avatar *string `json:"avatar,optional"`
-
- Logo *string `json:"logo,optional"`
-
- Name *string `json:"name,optional"`
- }
- type WxCardInfoResp struct {
- BaseDataInfo
-
- Data WxCardInfo `json:"data"`
- }
- type QrcodeReq struct {
- Path string `form:"path"`
- Width int64 `form:"width"`
- EnvVersion string `form:"envVersion"`
- }
- type WxCardUserInfo struct {
- BaseIDInfo
-
- Wxid *string `json:"wxid,optional"`
-
- Account *string `json:"account,optional"`
-
- Avatar *string `json:"avatar,optional"`
-
- Nickname *string `json:"nickname,optional"`
-
- Remark *string `json:"remark,optional"`
-
- Phone *string `json:"phone,optional"`
-
- OpenId *string `json:"openId,optional"`
-
- UnionId *string `json:"unionId,optional"`
-
- SessionKey *string `json:"sessionKey,optional"`
-
- IsVip *string `json:"isVip,optional"`
- }
- type WxCardUserListResp struct {
- BaseDataInfo
-
- Data WxCardUserListInfo `json:"data"`
- }
- type WxCardUserListInfo struct {
- BaseListInfo
-
- Data []WxCardUserInfo `json:"data"`
- }
- type WxCardUserListReq struct {
- PageInfo
-
- Wxid *string `json:"wxid,optional"`
-
- Account *string `json:"account,optional"`
-
- Avatar *string `json:"avatar,optional"`
- }
- type WxCardUserInfoResp struct {
- BaseDataInfo
-
- Data WxCardUserInfo `json:"data"`
- }
- type WxCardVisitInfo struct {
- BaseIDInfo
-
- UserId *uint64 `json:"userId,optional"`
-
- BotId *uint64 `json:"botId,optional"`
-
- BotType *uint8 `json:"botType,optional"`
- CardInfo WxCardSimpleInfo `json:"cardInfo,optional"`
- }
- type WxCardVisitSingleInfo struct {
- BaseIDInfo
-
- UserId *uint64 `json:"userId,optional"`
-
- BotId *uint64 `json:"botId,optional"`
-
- BotType *uint8 `json:"botType,optional"`
- CardInfo WxCardInfo `json:"cardInfo,optional"`
- }
- type WxCardVisitListResp struct {
- BaseDataInfo
-
- Data WxCardVisitListInfo `json:"data"`
- }
- type WxCardVisitListInfo struct {
- BaseListInfo
-
- Data []WxCardVisitInfo `json:"data"`
- }
- type WxCardVisitListReq struct {
- PageInfo
- }
- type WxCardVisitInfoResp struct {
- BaseDataInfo
-
- Data WxCardVisitInfo `json:"data"`
- }
- type AvatarInfo struct {
- RequestId *string `json:"requestId"`
- SessionId *string `json:"SessionId"`
- Token *string `json:"token"`
- Channel Channel `json:"channel"`
- }
- type Channel struct {
- ChannelId *string `json:"channelId"`
- Token *string `json:"token"`
- Type *string `json:"type"`
- ExpiredTime *string `json:"expiredTime"`
- Nonce *string `json:"nonce"`
- UserId *string `json:"userId"`
- AppId *string `json:"appId"`
- UserInfoInChannel *string `json:"userInfoInChannel"`
- Gslb []*string `json:"gslb"`
- }
- type AvatarConfigReq struct {
-
- CardId *uint64 `json:"card_id,optional"`
- }
- type AvatarConfigResp struct {
- BaseDataInfo
-
- Data AvatarInfo `json:"data"`
- Extra Extra `json:"extra"`
- }
- type Extra struct {
- Live int64 `json:"live"`
- Total int64 `json:"total"`
- }
- type AvatarStsResp struct {
- BaseDataInfo
-
- Data StsInfo `json:"data"`
- }
- type StsInfo struct {
- Expiration *string `json:"expiration"`
- AccessKeyId *string `json:"accessKeyId"`
- AccessKeySecret *string `json:"accessKeySecret"`
- SecurityToken *string `json:"securityToken"`
- RequestId *string `json:"requestId"`
- }
- type AvatarSignatureResp struct {
- BaseDataInfo
-
- Data SignatureInfo `json:"data"`
- }
- type SignatureInfo struct {
- Key *string `json:"key"`
- OSSAccessKeyId *string `json:"OSSAccessKeyId"`
- Policy *string `json:"policy"`
- Signature *string `json:"signature"`
- }
- type SendTextReq struct {
- CardId *uint64 `json:"cardId"`
- SessionId *string `json:"sessionId"`
- Text *string `json:"text"`
- IsStream *bool `json:"isStream,optional"`
- Index *int32 `json:"index,optional"`
- Position *string `json:"position,optional"`
- }
- type SendTextResp struct {
- BaseDataInfo
- Data SendText `json:"data"`
- }
- type SendText struct {
- SessionId *string `json:"sessionId"`
- UniqueCode *string `json:"uniqueCode"`
- }
- type StopInstanceReq struct {
- CardId *uint64 `json:"cardId"`
- SessionId *string `json:"sessionId"`
- }
- type StopInstanceResp struct {
- BaseDataInfo
- Data StopInstance `json:"data"`
- }
- type StopInstance struct {
- SessionId *string `json:"sessionId"`
- RequestId *string `json:"requestId"`
- }
- type AliyunAvatarInfo struct {
- BaseIDInfo
-
- UserId *uint64 `json:"userId,optional"`
-
- BizId *string `json:"bizId,optional"`
-
- AccessKeyId *string `json:"accessKeyId,optional"`
-
- AccessKeySecret *string `json:"accessKeySecret,optional"`
-
- AppId *string `json:"appId,optional"`
-
- TenantId *uint64 `json:"TenantId,optional"`
-
- Response *string `json:"response,optional"`
-
- Token *string `json:"token,optional"`
-
- SessionId *string `json:"sessionId,optional"`
- }
- type AliyunAvatarListResp struct {
- BaseDataInfo
-
- Data AliyunAvatarListInfo `json:"data"`
- }
- type AliyunAvatarListInfo struct {
- BaseListInfo
-
- Data []AliyunAvatarInfo `json:"data"`
- }
- type AliyunAvatarListReq struct {
- PageInfo
-
- BizId *string `json:"bizId,optional"`
-
- AccessKeyId *string `json:"accessKeyId,optional"`
-
- AccessKeySecret *string `json:"accessKeySecret,optional"`
- }
- type AliyunAvatarInfoResp struct {
- BaseDataInfo
-
- Data AliyunAvatarInfo `json:"data"`
- }
|