6bed393c12
Backend Tests / backend-unit-test (push) Has been cancelled
Backend Tests / benchmark-test (push) Has been cancelled
CI@main / Node.js v22 (ubuntu-latest) (push) Has been cancelled
Thrift Syntax Validation / validate-thrift (push) Has been cancelled
License Check / License Check (push) Has been cancelled
33 lines
1.1 KiB
Thrift
33 lines
1.1 KiB
Thrift
namespace go app.intelligence.common
|
|
|
|
enum IntelligenceStatus {
|
|
Using = 1,
|
|
Deleted = 2,
|
|
Banned = 3,
|
|
MoveFailed = 4, // Migration failed
|
|
|
|
Copying = 5, // Copying
|
|
CopyFailed = 6, // Copy failed
|
|
}
|
|
|
|
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,
|
|
}
|