feat(assist-platform): add ticket application command and enforce local config trust rules
This commit is contained in:
1 parent
2e6fe1a94a
commit
1e45c441c6
10 files changed
+661
-387
No files matched your search
@@ -780,6 +780,7 @@ export const COMMAND_METADATA: Record<string, CliCommandMetadata> = {
|
||||
"detail": "查看企业详细业务配置与开通商品能力",
|
||||
"tickets": "查询指定企业的协助工单与授权码",
|
||||
"staff": "查询企业内部员工工号与角色",
|
||||
"apply": "向目标企业发起新的协助授权工单申请",
|
||||
"enter": "一键换取免密直通链接并落盘为本地工作企业",
|
||||
"help": "查看帮助信息"
|
||||
},
|
||||
@@ -800,12 +801,16 @@ export const COMMAND_METADATA: Record<string, CliCommandMetadata> = {
|
||||
"orders": "tickets",
|
||||
"user": "staff",
|
||||
"users": "staff",
|
||||
"apply": "apply",
|
||||
"create": "apply",
|
||||
"request": "apply",
|
||||
"new": "apply",
|
||||
"import": "enter",
|
||||
"token": "enter",
|
||||
"get-token": "enter"
|
||||
},
|
||||
flags: {
|
||||
...flagList("token t user name u hose-token jwt ticket ticket-id auth-code staff alias corp-name count limit n start offset state status corpid id keyword query q", "value"),
|
||||
...flagList("token t user name u hose-token jwt ticket ticket-id auth-code staff alias corp-name count limit n start offset state status corpid id keyword query q message msg reason matter hours hour duration", "value"),
|
||||
...flagList("logout admin save import persist switch current overwrite", "boolean")
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user