fx-spec-hub 0.0.30 → 0.0.32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -188,6 +188,12 @@
188
188
  },
189
189
  {
190
190
  "name": "财务对账"
191
+ },
192
+ {
193
+ "name": "ComplianceDashboard"
194
+ },
195
+ {
196
+ "name": "TicketDashboard"
191
197
  }
192
198
  ],
193
199
  "paths": {
@@ -8932,6 +8938,56 @@
8932
8938
  }
8933
8939
  }
8934
8940
  },
8941
+ "/api/v1/spotOrderV1/updateTradeStatus": {
8942
+ "post": {
8943
+ "summary": "更改交易状态",
8944
+ "deprecated": false,
8945
+ "description": "更改交易对的交易状态和手续费率",
8946
+ "tags": [
8947
+ "现货订单"
8948
+ ],
8949
+ "parameters": [],
8950
+ "requestBody": {
8951
+ "content": {
8952
+ "application/json": {
8953
+ "schema": {
8954
+ "$ref": "#/components/schemas/models.UpdateTradeStatusReq"
8955
+ }
8956
+ }
8957
+ },
8958
+ "required": true
8959
+ },
8960
+ "responses": {
8961
+ "200": {
8962
+ "description": "OK",
8963
+ "content": {
8964
+ "*/*": {
8965
+ "schema": {
8966
+ "allOf": [
8967
+ {
8968
+ "$ref": "#/components/schemas/response.Response"
8969
+ },
8970
+ {
8971
+ "type": "object",
8972
+ "properties": {
8973
+ "data": {
8974
+ "$ref": "#/components/schemas/models.UpdateTradeStatusResp"
8975
+ }
8976
+ }
8977
+ }
8978
+ ]
8979
+ }
8980
+ }
8981
+ },
8982
+ "headers": {}
8983
+ }
8984
+ },
8985
+ "security": [],
8986
+ "X-Type": {
8987
+ "type": "BUS"
8988
+ }
8989
+ }
8990
+ },
8935
8991
  "/api/v1/sys-api": {
8936
8992
  "get": {
8937
8993
  "summary": "获取接口管理列表",
@@ -25258,6 +25314,546 @@
25258
25314
  "x-s2o-warning": "Operation post:/api/v1/reconciliation/report/file has multiple requestBodies"
25259
25315
  }
25260
25316
  },
25317
+ "/api/v1/compliance/data/autohigh": {
25318
+ "post": {
25319
+ "summary": "AutoHigh概览",
25320
+ "deprecated": false,
25321
+ "description": "D2: 获取AutoHigh分类统计(国家/客户/历史/交易风险)",
25322
+ "tags": [
25323
+ "ComplianceDashboard"
25324
+ ],
25325
+ "parameters": [],
25326
+ "requestBody": {
25327
+ "content": {
25328
+ "application/json": {
25329
+ "schema": {
25330
+ "$ref": "#/components/schemas/models.ComplianceDashboardReq"
25331
+ }
25332
+ }
25333
+ },
25334
+ "required": true
25335
+ },
25336
+ "responses": {
25337
+ "200": {
25338
+ "description": "OK",
25339
+ "content": {
25340
+ "*/*": {
25341
+ "schema": {
25342
+ "allOf": [
25343
+ {
25344
+ "$ref": "#/components/schemas/response.Response"
25345
+ },
25346
+ {
25347
+ "type": "object",
25348
+ "properties": {
25349
+ "data": {
25350
+ "$ref": "#/components/schemas/models.AutoHighResp"
25351
+ }
25352
+ }
25353
+ }
25354
+ ]
25355
+ }
25356
+ }
25357
+ },
25358
+ "headers": {}
25359
+ }
25360
+ },
25361
+ "security": [],
25362
+ "X-Type": {
25363
+ "type": "BUS"
25364
+ }
25365
+ }
25366
+ },
25367
+ "/api/v1/compliance/data/name-screening": {
25368
+ "post": {
25369
+ "summary": "Name Screening概览",
25370
+ "deprecated": false,
25371
+ "description": "D3: 获取姓名筛查统计(命中/TP/FP/分类/Dowjones)",
25372
+ "tags": [
25373
+ "ComplianceDashboard"
25374
+ ],
25375
+ "parameters": [],
25376
+ "requestBody": {
25377
+ "content": {
25378
+ "application/json": {
25379
+ "schema": {
25380
+ "$ref": "#/components/schemas/models.ComplianceDashboardReq"
25381
+ }
25382
+ }
25383
+ },
25384
+ "required": true
25385
+ },
25386
+ "responses": {
25387
+ "200": {
25388
+ "description": "OK",
25389
+ "content": {
25390
+ "*/*": {
25391
+ "schema": {
25392
+ "allOf": [
25393
+ {
25394
+ "$ref": "#/components/schemas/response.Response"
25395
+ },
25396
+ {
25397
+ "type": "object",
25398
+ "properties": {
25399
+ "data": {
25400
+ "$ref": "#/components/schemas/models.NameScreeningResp"
25401
+ }
25402
+ }
25403
+ }
25404
+ ]
25405
+ }
25406
+ }
25407
+ },
25408
+ "headers": {}
25409
+ }
25410
+ },
25411
+ "security": [],
25412
+ "X-Type": {
25413
+ "type": "BUS"
25414
+ }
25415
+ }
25416
+ },
25417
+ "/api/v1/compliance/data/risk-rating": {
25418
+ "post": {
25419
+ "summary": "客户风险评级概览",
25420
+ "deprecated": false,
25421
+ "description": "D1: 获取客户风险评级分布(低/中/高/AutoHigh)",
25422
+ "tags": [
25423
+ "ComplianceDashboard"
25424
+ ],
25425
+ "parameters": [],
25426
+ "requestBody": {
25427
+ "content": {
25428
+ "application/json": {
25429
+ "schema": {
25430
+ "$ref": "#/components/schemas/models.ComplianceDashboardReq"
25431
+ }
25432
+ }
25433
+ },
25434
+ "required": true
25435
+ },
25436
+ "responses": {
25437
+ "200": {
25438
+ "description": "OK",
25439
+ "content": {
25440
+ "*/*": {
25441
+ "schema": {
25442
+ "allOf": [
25443
+ {
25444
+ "$ref": "#/components/schemas/response.Response"
25445
+ },
25446
+ {
25447
+ "type": "object",
25448
+ "properties": {
25449
+ "data": {
25450
+ "$ref": "#/components/schemas/models.RiskRatingResp"
25451
+ }
25452
+ }
25453
+ }
25454
+ ]
25455
+ }
25456
+ }
25457
+ },
25458
+ "headers": {}
25459
+ }
25460
+ },
25461
+ "security": [],
25462
+ "X-Type": {
25463
+ "type": "BUS"
25464
+ }
25465
+ }
25466
+ },
25467
+ "/api/v1/compliance/data/risk-ratio": {
25468
+ "post": {
25469
+ "summary": "风险占比",
25470
+ "deprecated": false,
25471
+ "description": "D4: 获取高风险国家占比和中高风险钱包占比",
25472
+ "tags": [
25473
+ "ComplianceDashboard"
25474
+ ],
25475
+ "parameters": [],
25476
+ "requestBody": {
25477
+ "content": {
25478
+ "application/json": {
25479
+ "schema": {
25480
+ "$ref": "#/components/schemas/models.ComplianceDashboardReq"
25481
+ }
25482
+ }
25483
+ },
25484
+ "required": true
25485
+ },
25486
+ "responses": {
25487
+ "200": {
25488
+ "description": "OK",
25489
+ "content": {
25490
+ "*/*": {
25491
+ "schema": {
25492
+ "allOf": [
25493
+ {
25494
+ "$ref": "#/components/schemas/response.Response"
25495
+ },
25496
+ {
25497
+ "type": "object",
25498
+ "properties": {
25499
+ "data": {
25500
+ "$ref": "#/components/schemas/models.RiskRatioResp"
25501
+ }
25502
+ }
25503
+ }
25504
+ ]
25505
+ }
25506
+ }
25507
+ },
25508
+ "headers": {}
25509
+ }
25510
+ },
25511
+ "security": [],
25512
+ "X-Type": {
25513
+ "type": "BUS"
25514
+ }
25515
+ }
25516
+ },
25517
+ "/api/v1/compliance/data/str-alert": {
25518
+ "post": {
25519
+ "summary": "STR Alert概览",
25520
+ "deprecated": false,
25521
+ "description": "D5: 获取STR告警统计(汇总+Offchain/Onchain/Access分类)",
25522
+ "tags": [
25523
+ "ComplianceDashboard"
25524
+ ],
25525
+ "parameters": [],
25526
+ "requestBody": {
25527
+ "content": {
25528
+ "application/json": {
25529
+ "schema": {
25530
+ "$ref": "#/components/schemas/models.ComplianceDashboardReq"
25531
+ }
25532
+ }
25533
+ },
25534
+ "required": true
25535
+ },
25536
+ "responses": {
25537
+ "200": {
25538
+ "description": "OK",
25539
+ "content": {
25540
+ "*/*": {
25541
+ "schema": {
25542
+ "allOf": [
25543
+ {
25544
+ "$ref": "#/components/schemas/response.Response"
25545
+ },
25546
+ {
25547
+ "type": "object",
25548
+ "properties": {
25549
+ "data": {
25550
+ "$ref": "#/components/schemas/models.StrAlertResp"
25551
+ }
25552
+ }
25553
+ }
25554
+ ]
25555
+ }
25556
+ }
25557
+ },
25558
+ "headers": {}
25559
+ }
25560
+ },
25561
+ "security": [],
25562
+ "X-Type": {
25563
+ "type": "BUS"
25564
+ }
25565
+ }
25566
+ },
25567
+ "/api/v1/compliance/data/refresh-time": {
25568
+ "post": {
25569
+ "summary": "看板更新时间",
25570
+ "deprecated": false,
25571
+ "description": "获取合规数据看板和工单看板的最近刷新时间",
25572
+ "tags": [
25573
+ "ComplianceDashboard"
25574
+ ],
25575
+ "parameters": [],
25576
+ "responses": {
25577
+ "200": {
25578
+ "description": "OK",
25579
+ "content": {
25580
+ "*/*": {
25581
+ "schema": {
25582
+ "allOf": [
25583
+ {
25584
+ "$ref": "#/components/schemas/response.Response"
25585
+ },
25586
+ {
25587
+ "type": "object",
25588
+ "properties": {
25589
+ "data": {
25590
+ "$ref": "#/components/schemas/models.DashboardRefreshTimeResp"
25591
+ }
25592
+ }
25593
+ }
25594
+ ]
25595
+ }
25596
+ }
25597
+ },
25598
+ "headers": {}
25599
+ }
25600
+ },
25601
+ "security": [],
25602
+ "X-Type": {
25603
+ "type": "BUS"
25604
+ }
25605
+ }
25606
+ },
25607
+ "/api/v1/compliance/ticket/module/cdd-edd": {
25608
+ "post": {
25609
+ "summary": "CDD&EDD 模块统计",
25610
+ "deprecated": false,
25611
+ "description": "获取 CDD&EDD 模块工单统计(总数、审核中、审核通过、审核拒绝、通过率)",
25612
+ "tags": [
25613
+ "TicketDashboard"
25614
+ ],
25615
+ "parameters": [],
25616
+ "requestBody": {
25617
+ "content": {
25618
+ "application/json": {
25619
+ "schema": {
25620
+ "$ref": "#/components/schemas/models.TicketDashboardReq"
25621
+ }
25622
+ }
25623
+ },
25624
+ "required": true
25625
+ },
25626
+ "responses": {
25627
+ "200": {
25628
+ "description": "OK",
25629
+ "content": {
25630
+ "*/*": {
25631
+ "schema": {
25632
+ "allOf": [
25633
+ {
25634
+ "$ref": "#/components/schemas/response.Response"
25635
+ },
25636
+ {
25637
+ "type": "object",
25638
+ "properties": {
25639
+ "data": {
25640
+ "$ref": "#/components/schemas/models.TicketModuleItem"
25641
+ }
25642
+ }
25643
+ }
25644
+ ]
25645
+ }
25646
+ }
25647
+ },
25648
+ "headers": {}
25649
+ }
25650
+ },
25651
+ "security": [],
25652
+ "X-Type": {
25653
+ "type": "BUS"
25654
+ }
25655
+ }
25656
+ },
25657
+ "/api/v1/compliance/ticket/module/name-screening": {
25658
+ "post": {
25659
+ "summary": "Name Screening 模块统计",
25660
+ "deprecated": false,
25661
+ "description": "获取 Name Screening 模块工单统计(总数、审核中、审核通过、审核拒绝、通过率)",
25662
+ "tags": [
25663
+ "TicketDashboard"
25664
+ ],
25665
+ "parameters": [],
25666
+ "requestBody": {
25667
+ "content": {
25668
+ "application/json": {
25669
+ "schema": {
25670
+ "$ref": "#/components/schemas/models.TicketDashboardReq"
25671
+ }
25672
+ }
25673
+ },
25674
+ "required": true
25675
+ },
25676
+ "responses": {
25677
+ "200": {
25678
+ "description": "OK",
25679
+ "content": {
25680
+ "*/*": {
25681
+ "schema": {
25682
+ "allOf": [
25683
+ {
25684
+ "$ref": "#/components/schemas/response.Response"
25685
+ },
25686
+ {
25687
+ "type": "object",
25688
+ "properties": {
25689
+ "data": {
25690
+ "$ref": "#/components/schemas/models.TicketModuleItem"
25691
+ }
25692
+ }
25693
+ }
25694
+ ]
25695
+ }
25696
+ }
25697
+ },
25698
+ "headers": {}
25699
+ }
25700
+ },
25701
+ "security": [],
25702
+ "X-Type": {
25703
+ "type": "BUS"
25704
+ }
25705
+ }
25706
+ },
25707
+ "/api/v1/compliance/ticket/module/others": {
25708
+ "post": {
25709
+ "summary": "其他模块统计",
25710
+ "deprecated": false,
25711
+ "description": "获取 STR Rule Alert、VA Screening、Access Control 三个模块的工单统计",
25712
+ "tags": [
25713
+ "TicketDashboard"
25714
+ ],
25715
+ "parameters": [],
25716
+ "requestBody": {
25717
+ "content": {
25718
+ "application/json": {
25719
+ "schema": {
25720
+ "$ref": "#/components/schemas/models.TicketDashboardReq"
25721
+ }
25722
+ }
25723
+ },
25724
+ "required": true
25725
+ },
25726
+ "responses": {
25727
+ "200": {
25728
+ "description": "OK",
25729
+ "content": {
25730
+ "*/*": {
25731
+ "schema": {
25732
+ "allOf": [
25733
+ {
25734
+ "$ref": "#/components/schemas/response.Response"
25735
+ },
25736
+ {
25737
+ "type": "object",
25738
+ "properties": {
25739
+ "data": {
25740
+ "$ref": "#/components/schemas/models.TicketModuleListResp"
25741
+ }
25742
+ }
25743
+ }
25744
+ ]
25745
+ }
25746
+ }
25747
+ },
25748
+ "headers": {}
25749
+ }
25750
+ },
25751
+ "security": [],
25752
+ "X-Type": {
25753
+ "type": "BUS"
25754
+ }
25755
+ }
25756
+ },
25757
+ "/api/v1/compliance/ticket/module/pi": {
25758
+ "post": {
25759
+ "summary": "PI 模块统计",
25760
+ "deprecated": false,
25761
+ "description": "获取 PI 模块工单统计(总数、审核中、审核通过、审核拒绝、通过率)",
25762
+ "tags": [
25763
+ "TicketDashboard"
25764
+ ],
25765
+ "parameters": [],
25766
+ "requestBody": {
25767
+ "content": {
25768
+ "application/json": {
25769
+ "schema": {
25770
+ "$ref": "#/components/schemas/models.TicketDashboardReq"
25771
+ }
25772
+ }
25773
+ },
25774
+ "required": true
25775
+ },
25776
+ "responses": {
25777
+ "200": {
25778
+ "description": "OK",
25779
+ "content": {
25780
+ "*/*": {
25781
+ "schema": {
25782
+ "allOf": [
25783
+ {
25784
+ "$ref": "#/components/schemas/response.Response"
25785
+ },
25786
+ {
25787
+ "type": "object",
25788
+ "properties": {
25789
+ "data": {
25790
+ "$ref": "#/components/schemas/models.TicketModuleItem"
25791
+ }
25792
+ }
25793
+ }
25794
+ ]
25795
+ }
25796
+ }
25797
+ },
25798
+ "headers": {}
25799
+ }
25800
+ },
25801
+ "security": [],
25802
+ "X-Type": {
25803
+ "type": "BUS"
25804
+ }
25805
+ }
25806
+ },
25807
+ "/api/v1/compliance/ticket/summary": {
25808
+ "post": {
25809
+ "summary": "工单汇总",
25810
+ "deprecated": false,
25811
+ "description": "获取今日待处理总数、今日已处理总数、整体处理比例",
25812
+ "tags": [
25813
+ "TicketDashboard"
25814
+ ],
25815
+ "parameters": [],
25816
+ "requestBody": {
25817
+ "content": {
25818
+ "application/json": {
25819
+ "schema": {
25820
+ "$ref": "#/components/schemas/models.TicketDashboardReq"
25821
+ }
25822
+ }
25823
+ },
25824
+ "required": true
25825
+ },
25826
+ "responses": {
25827
+ "200": {
25828
+ "description": "OK",
25829
+ "content": {
25830
+ "*/*": {
25831
+ "schema": {
25832
+ "allOf": [
25833
+ {
25834
+ "$ref": "#/components/schemas/response.Response"
25835
+ },
25836
+ {
25837
+ "type": "object",
25838
+ "properties": {
25839
+ "data": {
25840
+ "$ref": "#/components/schemas/models.TicketDashboardSummaryResp"
25841
+ }
25842
+ }
25843
+ }
25844
+ ]
25845
+ }
25846
+ }
25847
+ },
25848
+ "headers": {}
25849
+ }
25850
+ },
25851
+ "security": [],
25852
+ "X-Type": {
25853
+ "type": "BUS"
25854
+ }
25855
+ }
25856
+ },
25261
25857
  "/logout": {
25262
25858
  "post": {
25263
25859
  "summary": "退出登录",
@@ -25284,6 +25880,354 @@
25284
25880
  },
25285
25881
  "components": {
25286
25882
  "schemas": {
25883
+ "models.DashboardRefreshTimeResp": {
25884
+ "type": "object",
25885
+ "properties": {
25886
+ "dataRefreshedAt": {
25887
+ "description": "合规数据看板最近刷新时间(UTC),前端按需转 HKT 展示",
25888
+ "type": "string"
25889
+ },
25890
+ "ticketRefreshedAt": {
25891
+ "description": "工单看板最近刷新时间(UTC),前端按需转 HKT 展示",
25892
+ "type": "string"
25893
+ }
25894
+ }
25895
+ },
25896
+ "models.TicketModuleListResp": {
25897
+ "type": "object",
25898
+ "properties": {
25899
+ "modules": {
25900
+ "description": "模块列表",
25901
+ "type": "array",
25902
+ "items": {
25903
+ "$ref": "#/components/schemas/models.TicketModuleItem"
25904
+ }
25905
+ }
25906
+ }
25907
+ },
25908
+ "models.TicketModuleItem": {
25909
+ "type": "object",
25910
+ "properties": {
25911
+ "approved": {
25912
+ "description": "审核通过",
25913
+ "type": "integer"
25914
+ },
25915
+ "module": {
25916
+ "description": "模块编码",
25917
+ "type": "string"
25918
+ },
25919
+ "moduleName": {
25920
+ "description": "模块名称",
25921
+ "type": "string"
25922
+ },
25923
+ "passRate": {
25924
+ "description": "通过率(%)",
25925
+ "type": "number"
25926
+ },
25927
+ "rejected": {
25928
+ "description": "审核拒绝",
25929
+ "type": "integer"
25930
+ },
25931
+ "reviewing": {
25932
+ "description": "审核中",
25933
+ "type": "integer"
25934
+ },
25935
+ "total": {
25936
+ "description": "总数",
25937
+ "type": "integer"
25938
+ }
25939
+ }
25940
+ },
25941
+ "models.TicketDashboardSummaryResp": {
25942
+ "type": "object",
25943
+ "properties": {
25944
+ "overallPassRate": {
25945
+ "description": "整体已通过率(%)",
25946
+ "type": "number"
25947
+ },
25948
+ "todayPending": {
25949
+ "description": "当前待处理工单总数(SUBMITTED+PENDING)",
25950
+ "type": "integer"
25951
+ },
25952
+ "todayProcessed": {
25953
+ "description": "今日已处理工单数",
25954
+ "type": "integer"
25955
+ }
25956
+ }
25957
+ },
25958
+ "models.TicketDashboardReq": {
25959
+ "type": "object",
25960
+ "properties": {
25961
+ "customerType": {
25962
+ "description": "客户类型: ALL / PERSONAL / CORPORATE,默认 ALL",
25963
+ "type": "string"
25964
+ },
25965
+ "datePreset": {
25966
+ "description": "today / last_7_days / last_30_days / custom",
25967
+ "type": "string"
25968
+ },
25969
+ "endDate": {
25970
+ "description": "custom 时使用, yyyy-MM-dd",
25971
+ "type": "string"
25972
+ },
25973
+ "startDate": {
25974
+ "description": "custom 时使用, yyyy-MM-dd",
25975
+ "type": "string"
25976
+ }
25977
+ }
25978
+ },
25979
+ "models.TicketDashboardModulesResp": {
25980
+ "type": "object",
25981
+ "properties": {
25982
+ "modules": {
25983
+ "description": "各模块统计",
25984
+ "type": "array",
25985
+ "items": {
25986
+ "$ref": "#/components/schemas/models.TicketModuleItem"
25987
+ }
25988
+ },
25989
+ "summary": {
25990
+ "description": "顶部汇总",
25991
+ "allOf": [
25992
+ {
25993
+ "$ref": "#/components/schemas/models.TicketDashboardSummaryResp"
25994
+ }
25995
+ ]
25996
+ }
25997
+ }
25998
+ },
25999
+ "models.StrAlertRow": {
26000
+ "type": "object",
26001
+ "properties": {
26002
+ "reported": {
26003
+ "description": "已上报数量",
26004
+ "type": "integer"
26005
+ },
26006
+ "reportedRate": {
26007
+ "description": "上报率百分比 (reported/total)",
26008
+ "type": "number"
26009
+ },
26010
+ "ruleType": {
26011
+ "description": "规则类型: STR Alert / Offchain Rule / Onchain Rule / Access Rule",
26012
+ "type": "string"
26013
+ },
26014
+ "total": {
26015
+ "description": "告警总数",
26016
+ "type": "integer"
26017
+ },
26018
+ "underReview": {
26019
+ "description": "审核中数量",
26020
+ "type": "integer"
26021
+ },
26022
+ "unreported": {
26023
+ "description": "未上报数量",
26024
+ "type": "integer"
26025
+ }
26026
+ }
26027
+ },
26028
+ "models.StrAlertResp": {
26029
+ "type": "object",
26030
+ "properties": {
26031
+ "rows": {
26032
+ "description": "STR 告警明细行列表 (4行: STR/Offchain/Onchain/Access)",
26033
+ "type": "array",
26034
+ "items": {
26035
+ "$ref": "#/components/schemas/models.StrAlertRow"
26036
+ }
26037
+ }
26038
+ }
26039
+ },
26040
+ "models.RiskRatioResp": {
26041
+ "type": "object",
26042
+ "properties": {
26043
+ "highRiskCountryRatio": {
26044
+ "description": "高风险国家用户占比百分比",
26045
+ "type": "number"
26046
+ },
26047
+ "medHighRiskWalletRatio": {
26048
+ "description": "中高风险钱包地址占比百分比",
26049
+ "type": "number"
26050
+ }
26051
+ }
26052
+ },
26053
+ "models.RiskRatingResp": {
26054
+ "type": "object",
26055
+ "properties": {
26056
+ "ratingSummary": {
26057
+ "description": "各等级明细列表",
26058
+ "type": "array",
26059
+ "items": {
26060
+ "$ref": "#/components/schemas/models.RiskRatingItem"
26061
+ }
26062
+ },
26063
+ "total": {
26064
+ "description": "评级客户总数",
26065
+ "type": "integer"
26066
+ }
26067
+ }
26068
+ },
26069
+ "models.RiskRatingItem": {
26070
+ "type": "object",
26071
+ "properties": {
26072
+ "label": {
26073
+ "description": "风险等级标签: LOW / MEDIUM / HIGH / AUTO_HIGH",
26074
+ "type": "string"
26075
+ },
26076
+ "ratio": {
26077
+ "description": "占比百分比,如 68.2 表示 68.2%",
26078
+ "type": "number"
26079
+ },
26080
+ "value": {
26081
+ "description": "该等级用户数",
26082
+ "type": "integer"
26083
+ }
26084
+ }
26085
+ },
26086
+ "models.NameScreeningResp": {
26087
+ "type": "object",
26088
+ "properties": {
26089
+ "dowjonesFeed": {
26090
+ "description": "Dowjones Feed 数据源统计",
26091
+ "allOf": [
26092
+ {
26093
+ "$ref": "#/components/schemas/models.DowjonesFeedSummary"
26094
+ }
26095
+ ]
26096
+ },
26097
+ "hitSummary": {
26098
+ "description": "命中汇总统计",
26099
+ "allOf": [
26100
+ {
26101
+ "$ref": "#/components/schemas/models.HitSummary"
26102
+ }
26103
+ ]
26104
+ },
26105
+ "listTypes": {
26106
+ "description": "命中分类(Unique UID): SAN/PEP/RCA/SIP/SIE",
26107
+ "type": "array",
26108
+ "items": {
26109
+ "$ref": "#/components/schemas/models.ListTypeItem"
26110
+ }
26111
+ }
26112
+ }
26113
+ },
26114
+ "models.ListTypeItem": {
26115
+ "type": "object",
26116
+ "properties": {
26117
+ "type": {
26118
+ "description": "命中类型: SAN / PEP / RCA / SIP / SIE",
26119
+ "type": "string"
26120
+ },
26121
+ "value": {
26122
+ "description": "命中去重 UID 数量",
26123
+ "type": "integer"
26124
+ }
26125
+ }
26126
+ },
26127
+ "models.HitSummary": {
26128
+ "type": "object",
26129
+ "properties": {
26130
+ "falsePositive": {
26131
+ "description": "假阳性人数 (sn_ccd=S)",
26132
+ "type": "integer"
26133
+ },
26134
+ "fpRatio": {
26135
+ "description": "假阳性占比百分比",
26136
+ "type": "number"
26137
+ },
26138
+ "hitRate": {
26139
+ "description": "命中率百分比 (totalHits/totalScreened)",
26140
+ "type": "number"
26141
+ },
26142
+ "totalHits": {
26143
+ "description": "命中总人数",
26144
+ "type": "integer"
26145
+ },
26146
+ "totalScreened": {
26147
+ "description": "总筛查人数",
26148
+ "type": "integer"
26149
+ },
26150
+ "tpRatio": {
26151
+ "description": "真阳性占比百分比",
26152
+ "type": "number"
26153
+ },
26154
+ "truePositive": {
26155
+ "description": "真阳性人数 (sn_ccd=R或E)",
26156
+ "type": "integer"
26157
+ }
26158
+ }
26159
+ },
26160
+ "models.DowjonesFeedSummary": {
26161
+ "type": "object",
26162
+ "properties": {
26163
+ "dailyAdded": {
26164
+ "description": "当日新增条目数",
26165
+ "type": "integer"
26166
+ },
26167
+ "dailyDeleted": {
26168
+ "description": "当日删除条目数",
26169
+ "type": "integer"
26170
+ },
26171
+ "total": {
26172
+ "description": "Dowjones 数据总条目数",
26173
+ "type": "integer"
26174
+ }
26175
+ }
26176
+ },
26177
+ "models.ComplianceDashboardReq": {
26178
+ "type": "object",
26179
+ "properties": {
26180
+ "customerType": {
26181
+ "description": "客户类型: ALL / PERSONAL / CORPORATE,默认 ALL",
26182
+ "type": "string"
26183
+ },
26184
+ "datePreset": {
26185
+ "description": "日期预设: today / last_7_days / last_30_days / custom",
26186
+ "type": "string"
26187
+ },
26188
+ "endDate": {
26189
+ "description": "自定义结束日期, yyyy-MM-dd (HKT)",
26190
+ "type": "string"
26191
+ },
26192
+ "startDate": {
26193
+ "description": "自定义开始日期, yyyy-MM-dd (HKT)",
26194
+ "type": "string"
26195
+ }
26196
+ }
26197
+ },
26198
+ "models.AutoHighResp": {
26199
+ "type": "object",
26200
+ "properties": {
26201
+ "categories": {
26202
+ "description": "AutoHigh 分类明细列表",
26203
+ "type": "array",
26204
+ "items": {
26205
+ "$ref": "#/components/schemas/models.AutoHighCategoryItem"
26206
+ }
26207
+ },
26208
+ "total": {
26209
+ "description": "AutoHigh 用户总数",
26210
+ "type": "integer"
26211
+ }
26212
+ }
26213
+ },
26214
+ "models.AutoHighCategoryItem": {
26215
+ "type": "object",
26216
+ "properties": {
26217
+ "category": {
26218
+ "description": "分类: COUNTRY_RISK / CUSTOMER_RISK / HISTORICAL_ALERT / TRANSACTION_RISK",
26219
+ "type": "string"
26220
+ },
26221
+ "ratio": {
26222
+ "description": "占 AutoHigh 总数百分比",
26223
+ "type": "number"
26224
+ },
26225
+ "value": {
26226
+ "description": "该分类触发用户数",
26227
+ "type": "integer"
26228
+ }
26229
+ }
26230
+ },
25287
26231
  "utils.Response": {
25288
26232
  "type": "object",
25289
26233
  "properties": {
@@ -34041,6 +34985,9 @@
34041
34985
  "models.Symbol": {
34042
34986
  "type": "object",
34043
34987
  "properties": {
34988
+ "auditPending": {
34989
+ "type": "boolean"
34990
+ },
34044
34991
  "configs": {
34045
34992
  "type": "object",
34046
34993
  "additionalProperties": {
@@ -34450,8 +35397,8 @@
34450
35397
  "description": "账户ID",
34451
35398
  "type": "string"
34452
35399
  },
34453
- "keyword": {
34454
- "description": "关键词搜索(订单ID/用户ID)",
35400
+ "orderId": {
35401
+ "description": "订单ID",
34455
35402
  "type": "string"
34456
35403
  },
34457
35404
  "orderSide": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fx-spec-hub",
3
- "version": "0.0.30",
3
+ "version": "0.0.32",
4
4
  "description": "API 规范中心/控制台",
5
5
  "type": "commonjs",
6
6
  "main": "./dist/index.js",