feat: manually mirror opencoze's code from bytedance
Change-Id: I09a73aadda978ad9511264a756b2ce51f5761adf
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
namespace go intelligence.common
|
||||
|
||||
enum IntelligenceStatus {
|
||||
Using = 1,
|
||||
Deleted = 2,
|
||||
Banned = 3,
|
||||
MoveFailed = 4, // 迁移失败
|
||||
|
||||
Copying = 5, // 复制中
|
||||
CopyFailed = 6, // 复制失败
|
||||
}
|
||||
|
||||
enum IntelligenceType {
|
||||
Bot = 1
|
||||
Project = 2
|
||||
}
|
||||
|
||||
struct IntelligenceBasicInfo {
|
||||
1: i64 id (agw.js_conv="str", api.js_conv="true"),
|
||||
2: string name,
|
||||
3: string description,
|
||||
4: string icon_uri,
|
||||
5: string icon_url,
|
||||
6: i64 space_id (agw.js_conv="str", api.js_conv="true"),
|
||||
7: i64 owner_id (agw.js_conv="str", api.js_conv="true"),
|
||||
8: i64 create_time (agw.js_conv="str", api.js_conv="true"),
|
||||
9: i64 update_time (agw.js_conv="str", api.js_conv="true"),
|
||||
10: IntelligenceStatus status,
|
||||
11: i64 publish_time (agw.js_conv="str", api.js_conv="true"),
|
||||
12: optional string enterprise_id,
|
||||
13: optional i64 organization_id,
|
||||
}
|
||||
Reference in New Issue
Block a user