fx-spec-hub 0.0.17 → 0.0.19

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.
@@ -24733,53 +24733,6 @@
24733
24733
  "security": []
24734
24734
  }
24735
24735
  },
24736
- "/api/v1/ticket/create": {
24737
- "post": {
24738
- "summary": "创建工单",
24739
- "deprecated": false,
24740
- "description": "创建工单并自动发起工作流实例",
24741
- "tags": [
24742
- "Ticket"
24743
- ],
24744
- "parameters": [],
24745
- "requestBody": {
24746
- "content": {
24747
- "application/json": {
24748
- "schema": {
24749
- "$ref": "#/components/schemas/models.CreateTicketReq"
24750
- }
24751
- }
24752
- },
24753
- "required": true
24754
- },
24755
- "responses": {
24756
- "200": {
24757
- "description": "OK",
24758
- "content": {
24759
- "application/json": {
24760
- "schema": {
24761
- "allOf": [
24762
- {
24763
- "$ref": "#/components/schemas/response.Response"
24764
- },
24765
- {
24766
- "type": "object",
24767
- "properties": {
24768
- "data": {
24769
- "$ref": "#/components/schemas/models.TicketResponse"
24770
- }
24771
- }
24772
- }
24773
- ]
24774
- }
24775
- }
24776
- },
24777
- "headers": {}
24778
- }
24779
- },
24780
- "security": []
24781
- }
24782
- },
24783
24736
  "/api/v1/ticket/list": {
24784
24737
  "post": {
24785
24738
  "summary": "工单列表",
@@ -31437,10 +31390,12 @@
31437
31390
  "type": "object",
31438
31391
  "properties": {
31439
31392
  "code": {
31440
- "$ref": "#/components/schemas/errcode.Code"
31441
- },
31442
- "codeNum": {
31443
- "type": "integer"
31393
+ "description": "errcode",
31394
+ "allOf": [
31395
+ {
31396
+ "$ref": "#/components/schemas/errcode.Code"
31397
+ }
31398
+ ]
31444
31399
  },
31445
31400
  "msg": {
31446
31401
  "type": "string"
@@ -34373,6 +34328,10 @@
34373
34328
  },
34374
34329
  "handler.VerifyGAReq": {
34375
34330
  "type": "object",
34331
+ "required": [
34332
+ "ga_code",
34333
+ "two_fa"
34334
+ ],
34376
34335
  "properties": {
34377
34336
  "ga_code": {
34378
34337
  "type": "string"
@@ -40304,23 +40263,10 @@
40304
40263
  "models.UpdateKYARiskLevelByAdminReq": {
40305
40264
  "type": "object",
40306
40265
  "required": [
40307
- "kYARiskLevel",
40308
- "kYARiskReportId",
40309
40266
  "reason",
40310
40267
  "requestId"
40311
40268
  ],
40312
40269
  "properties": {
40313
- "kYARiskLevel": {
40314
- "type": "string",
40315
- "enum": [
40316
- "LOW",
40317
- "MEDIUM",
40318
- "HIGH"
40319
- ]
40320
- },
40321
- "kYARiskReportId": {
40322
- "type": "string"
40323
- },
40324
40270
  "reason": {
40325
40271
  "type": "string"
40326
40272
  },
@@ -40336,23 +40282,10 @@
40336
40282
  "models.UpdateKYTRiskLevelByAdminReq": {
40337
40283
  "type": "object",
40338
40284
  "required": [
40339
- "kYTRiskLevel",
40340
- "kYTRiskReportId",
40341
40285
  "reason",
40342
40286
  "requestId"
40343
40287
  ],
40344
40288
  "properties": {
40345
- "kYTRiskLevel": {
40346
- "type": "string",
40347
- "enum": [
40348
- "LOW",
40349
- "MEDIUM",
40350
- "HIGH"
40351
- ]
40352
- },
40353
- "kYTRiskReportId": {
40354
- "type": "string"
40355
- },
40356
40289
  "reason": {
40357
40290
  "type": "string"
40358
40291
  },
@@ -42637,23 +42570,10 @@
42637
42570
  "models.UpdateBlockchainWhitelistKYARiskLevelByAdminReq": {
42638
42571
  "type": "object",
42639
42572
  "required": [
42640
- "kyaRiskLevel",
42641
- "kyaRiskReportID",
42642
42573
  "reason",
42643
42574
  "requestId"
42644
42575
  ],
42645
42576
  "properties": {
42646
- "kyaRiskLevel": {
42647
- "type": "string",
42648
- "enum": [
42649
- "LOW",
42650
- "MEDIUM",
42651
- "HIGH"
42652
- ]
42653
- },
42654
- "kyaRiskReportID": {
42655
- "type": "string"
42656
- },
42657
42577
  "reason": {
42658
42578
  "type": "string"
42659
42579
  },
@@ -43010,16 +42930,19 @@
43010
42930
  "type": "boolean"
43011
42931
  },
43012
42932
  "entity": {
43013
- "description": "实体信息 json格式 可以暂时不用",
43014
- "type": "string"
42933
+ "description": "实体信息 json格式",
42934
+ "type": "string",
42935
+ "maxLength": 10000
43015
42936
  },
43016
42937
  "entityType": {
43017
42938
  "description": "实体类型 跳转类型",
43018
- "type": "string"
42939
+ "type": "string",
42940
+ "maxLength": 100
43019
42941
  },
43020
42942
  "eventType": {
43021
42943
  "description": "事件类型",
43022
- "type": "string"
42944
+ "type": "string",
42945
+ "maxLength": 100
43023
42946
  },
43024
42947
  "pushMsgTemplateItems": {
43025
42948
  "description": "站内信多语言内容项",
@@ -43036,30 +42959,39 @@
43036
42959
  }
43037
42960
  },
43038
42961
  "supportChannels": {
43039
- "description": "支持渠道:EMAIL/MAILBOX/SMS",
42962
+ "description": "支持渠道",
43040
42963
  "type": "array",
43041
42964
  "items": {
43042
42965
  "type": "string"
43043
42966
  }
43044
42967
  },
43045
42968
  "supportLanguages": {
43046
- "description": "支持语言:zh-CN / zh-HK / en-US",
42969
+ "description": "支持语言",
43047
42970
  "type": "array",
43048
42971
  "items": {
43049
42972
  "type": "string"
43050
42973
  }
43051
42974
  },
43052
42975
  "templateCategory": {
43053
- "description": "模板分类:SYSTEM/SECURITY/TRADE/COMPLETE/PROMO",
43054
- "type": "string"
42976
+ "description": "模板分类",
42977
+ "type": "string",
42978
+ "enum": [
42979
+ "SYSTEM",
42980
+ "SECURITY",
42981
+ "TRADE",
42982
+ "COMPLETE",
42983
+ "PROMO"
42984
+ ]
43055
42985
  },
43056
42986
  "templateCode": {
43057
42987
  "description": "模板编码",
43058
- "type": "string"
42988
+ "type": "string",
42989
+ "maxLength": 100
43059
42990
  },
43060
42991
  "templateName": {
43061
42992
  "description": "模板名称",
43062
- "type": "string"
42993
+ "type": "string",
42994
+ "maxLength": 100
43063
42995
  }
43064
42996
  }
43065
42997
  },
@@ -43511,20 +43443,27 @@
43511
43443
  ],
43512
43444
  "properties": {
43513
43445
  "channel": {
43514
- "description": "类型 EMAIL/MAILBOX/SMS",
43515
- "type": "string"
43446
+ "description": "类型",
43447
+ "type": "string",
43448
+ "enum": [
43449
+ "EMAIL",
43450
+ "MAILBOX",
43451
+ "SMS"
43452
+ ]
43516
43453
  },
43517
43454
  "content": {
43518
43455
  "description": "模板内容",
43519
- "type": "string"
43520
- },
43521
- "editJson": {
43522
- "description": "编辑json数据 email使用",
43523
- "type": "string"
43456
+ "type": "string",
43457
+ "maxLength": 50000
43524
43458
  },
43525
43459
  "language": {
43526
- "description": "语言代码,如 zh-CN / zh-HK / en-US",
43527
- "type": "string"
43460
+ "description": "语言代码",
43461
+ "type": "string",
43462
+ "enum": [
43463
+ "zh-CN",
43464
+ "zh-HK",
43465
+ "en-US"
43466
+ ]
43528
43467
  },
43529
43468
  "render_params": {
43530
43469
  "description": "模版渲染参数",
@@ -43532,7 +43471,8 @@
43532
43471
  },
43533
43472
  "title": {
43534
43473
  "description": "标题",
43535
- "type": "string"
43474
+ "type": "string",
43475
+ "maxLength": 200
43536
43476
  }
43537
43477
  }
43538
43478
  },
@@ -43557,48 +43497,55 @@
43557
43497
  ],
43558
43498
  "properties": {
43559
43499
  "emailMsgTemplateItems": {
43560
- "description": "email多语言下的模版内容",
43500
+ "description": "email多语言内容",
43561
43501
  "type": "array",
43562
43502
  "items": {
43563
43503
  "$ref": "#/components/schemas/models.MsgTemplateItem"
43564
43504
  }
43565
43505
  },
43566
43506
  "entity": {
43567
- "description": "实体信息 json格式 可以暂时不用",
43568
- "type": "string"
43507
+ "description": "实体信息 json格式",
43508
+ "type": "string",
43509
+ "maxLength": 10000
43569
43510
  },
43570
43511
  "entityType": {
43571
43512
  "description": "实体类型 跳转类型",
43572
- "type": "string"
43513
+ "type": "string",
43514
+ "maxLength": 100
43573
43515
  },
43574
43516
  "eventType": {
43575
43517
  "description": "事件类型",
43576
- "type": "string"
43518
+ "type": "string",
43519
+ "maxLength": 100
43577
43520
  },
43578
43521
  "pushMsgTemplateItems": {
43579
- "description": "push多语言下的模版内容",
43522
+ "description": "push多语言内容",
43580
43523
  "type": "array",
43581
43524
  "items": {
43582
43525
  "$ref": "#/components/schemas/models.MsgTemplateItem"
43583
43526
  }
43584
43527
  },
43585
43528
  "recipient": {
43586
- "description": "接收范围:ALL(所有用户)/USER(特定用户)",
43587
- "type": "string"
43529
+ "description": "接收范围",
43530
+ "type": "string",
43531
+ "enum": [
43532
+ "ALL",
43533
+ "USER"
43534
+ ]
43588
43535
  },
43589
43536
  "recipientIds": {
43590
- "description": "特定用户ID列表,当 recipient 为 USER 时必填",
43537
+ "description": "特定用户ID列表",
43591
43538
  "type": "array",
43592
43539
  "items": {
43593
43540
  "type": "string"
43594
43541
  }
43595
43542
  },
43596
43543
  "sendTime": {
43597
- "description": "模版替换参数",
43544
+ "description": "发送时间",
43598
43545
  "type": "integer"
43599
43546
  },
43600
43547
  "smsMsgTemplateItems": {
43601
- "description": "sms多语言下的模版内容",
43548
+ "description": "sms多语言内容",
43602
43549
  "type": "array",
43603
43550
  "items": {
43604
43551
  "$ref": "#/components/schemas/models.MsgTemplateItem"
@@ -43606,7 +43553,8 @@
43606
43553
  },
43607
43554
  "templateCode": {
43608
43555
  "description": "模板编码",
43609
- "type": "string"
43556
+ "type": "string",
43557
+ "maxLength": 100
43610
43558
  }
43611
43559
  }
43612
43560
  },
@@ -44185,6 +44133,13 @@
44185
44133
  "description": "当前审批层级",
44186
44134
  "type": "integer"
44187
44135
  },
44136
+ "items": {
44137
+ "description": "各 Asset 提现状态列表",
44138
+ "type": "array",
44139
+ "items": {
44140
+ "$ref": "#/components/schemas/models.WithdrawStatusItem"
44141
+ }
44142
+ },
44188
44143
  "networkType": {
44189
44144
  "description": "网络类型",
44190
44145
  "type": "string"
@@ -44229,6 +44184,10 @@
44229
44184
  "models.PauseWithdrawReq": {
44230
44185
  "type": "object",
44231
44186
  "properties": {
44187
+ "attachments": {
44188
+ "description": "附件 [{fileId,name,type}]",
44189
+ "type": "string"
44190
+ },
44232
44191
  "coinType": {
44233
44192
  "description": "币种:所有/具体币种(如ETH)",
44234
44193
  "type": "string"
@@ -44927,6 +44886,10 @@
44927
44886
  "requestId"
44928
44887
  ],
44929
44888
  "properties": {
44889
+ "attachments": {
44890
+ "description": "附件 [{fileId,name,type}]",
44891
+ "type": "string"
44892
+ },
44930
44893
  "publicKey": {
44931
44894
  "description": "公钥",
44932
44895
  "type": "string"
@@ -45198,16 +45161,19 @@
45198
45161
  "type": "boolean"
45199
45162
  },
45200
45163
  "entity": {
45201
- "description": "实体信息 json格式 可以暂时不用",
45202
- "type": "string"
45164
+ "description": "实体信息 json格式",
45165
+ "type": "string",
45166
+ "maxLength": 10000
45203
45167
  },
45204
45168
  "entityType": {
45205
45169
  "description": "实体类型 跳转类型",
45206
- "type": "string"
45170
+ "type": "string",
45171
+ "maxLength": 100
45207
45172
  },
45208
45173
  "eventType": {
45209
45174
  "description": "事件类型",
45210
- "type": "string"
45175
+ "type": "string",
45176
+ "maxLength": 100
45211
45177
  },
45212
45178
  "pushMsgTemplateItems": {
45213
45179
  "description": "站内信多语言内容项",
@@ -45224,30 +45190,39 @@
45224
45190
  }
45225
45191
  },
45226
45192
  "supportChannels": {
45227
- "description": "支持渠道:EMAIL/MAILBOX/SMS",
45193
+ "description": "支持渠道",
45228
45194
  "type": "array",
45229
45195
  "items": {
45230
45196
  "type": "string"
45231
45197
  }
45232
45198
  },
45233
45199
  "supportLanguages": {
45234
- "description": "支持语言:zh-CN / zh-HK / en-US",
45200
+ "description": "支持语言",
45235
45201
  "type": "array",
45236
45202
  "items": {
45237
45203
  "type": "string"
45238
45204
  }
45239
45205
  },
45240
45206
  "templateCategory": {
45241
- "description": "模板分类:SYSTEM/SECURITY/TRADE/COMPLETE/PROMO",
45242
- "type": "string"
45207
+ "description": "模板分类",
45208
+ "type": "string",
45209
+ "enum": [
45210
+ "SYSTEM",
45211
+ "SECURITY",
45212
+ "TRADE",
45213
+ "COMPLETE",
45214
+ "PROMO"
45215
+ ]
45243
45216
  },
45244
45217
  "templateCode": {
45245
45218
  "description": "模板编码",
45246
- "type": "string"
45219
+ "type": "string",
45220
+ "maxLength": 100
45247
45221
  },
45248
45222
  "templateName": {
45249
45223
  "description": "模板名称",
45250
- "type": "string"
45224
+ "type": "string",
45225
+ "maxLength": 100
45251
45226
  }
45252
45227
  }
45253
45228
  },
@@ -45961,6 +45936,10 @@
45961
45936
  "description": "公钥",
45962
45937
  "type": "string"
45963
45938
  },
45939
+ "ticketStatus": {
45940
+ "description": "关联工单状态(空=无工单, SUBMITTED/PENDING/APPROVED/REJECTED等)",
45941
+ "type": "string"
45942
+ },
45964
45943
  "updatedAt": {
45965
45944
  "description": "更新时间",
45966
45945
  "type": "integer"
@@ -46058,6 +46037,10 @@
46058
46037
  "remark"
46059
46038
  ],
46060
46039
  "properties": {
46040
+ "attachments": {
46041
+ "description": "附件 [{fileId,name,type}]",
46042
+ "type": "string"
46043
+ },
46061
46044
  "id": {
46062
46045
  "description": "API密钥ID",
46063
46046
  "type": "string"
@@ -46454,8 +46437,13 @@
46454
46437
  "TWO_FA_INVALID",
46455
46438
  "TWO_FA_EXPIRED",
46456
46439
  "AUTH_CODE_INVALID",
46440
+ "PASSWORD_INVALID",
46457
46441
  "TOKEN_EXPIRED",
46458
46442
  "WORKFLOW_IN_PROGRESS",
46443
+ "TICKET_NOT_FOUND",
46444
+ "WORKFLOW_NOT_FOUND",
46445
+ "TICKET_STATUS_INVALID",
46446
+ "TICKET_OWNER_ONLY",
46459
46447
  "BAD_REQUEST"
46460
46448
  ],
46461
46449
  "x-enum-comments": {
@@ -46464,14 +46452,19 @@
46464
46452
  "ErrorCaptchaInvalid": "Invalid captcha code",
46465
46453
  "ErrorForbidden": "Forbidden / No permission / User banned",
46466
46454
  "ErrorNotFound": "Resource not found",
46455
+ "ErrorPasswordInvalid": "Invalid password",
46467
46456
  "ErrorRequestTimeout": "Request timeout",
46468
46457
  "ErrorServiceUnavailable": "Service temporarily unavailable (gRPC down)",
46458
+ "ErrorTicketNotFound": "工单不存在",
46459
+ "ErrorTicketOwnerOnly": "仅工单发起人可操作",
46460
+ "ErrorTicketStatusInvalid": "工单状态不允许该操作",
46469
46461
  "ErrorTokenExpired": "Token expired",
46470
46462
  "ErrorTooManyRequests": "Too many requests (rate limited)",
46471
46463
  "ErrorTwoFaExpired": "2FA session expired or invalid",
46472
46464
  "ErrorTwoFaInvalid": "Invalid 2FA code",
46473
46465
  "ErrorUnauthorized": "Unauthorized / Not logged in",
46474
46466
  "ErrorWorkflowInProgress": "Workflow already in progress",
46467
+ "ErrorWorkflowNotFound": "工作流实例不存在",
46475
46468
  "InvalidParams": "Same as ErrorBadRequest",
46476
46469
  "LoginNeedBindGA": "Need to bind Google Authenticator",
46477
46470
  "LoginNeedVerifyGA": "Need to verify Google Authenticator",
@@ -46494,8 +46487,13 @@
46494
46487
  "Invalid 2FA code",
46495
46488
  "2FA session expired or invalid",
46496
46489
  "Invalid username or password",
46490
+ "Invalid password",
46497
46491
  "Token expired",
46498
46492
  "Workflow already in progress",
46493
+ "工单不存在",
46494
+ "工作流实例不存在",
46495
+ "工单状态不允许该操作",
46496
+ "仅工单发起人可操作",
46499
46497
  "Same as ErrorBadRequest"
46500
46498
  ],
46501
46499
  "x-enum-varnames": [
@@ -46514,8 +46512,13 @@
46514
46512
  "ErrorTwoFaInvalid",
46515
46513
  "ErrorTwoFaExpired",
46516
46514
  "ErrorAuthCodeInvalid",
46515
+ "ErrorPasswordInvalid",
46517
46516
  "ErrorTokenExpired",
46518
46517
  "ErrorWorkflowInProgress",
46518
+ "ErrorTicketNotFound",
46519
+ "ErrorWorkflowNotFound",
46520
+ "ErrorTicketStatusInvalid",
46521
+ "ErrorTicketOwnerOnly",
46519
46522
  "InvalidParams"
46520
46523
  ]
46521
46524
  },
@@ -46612,28 +46615,56 @@
46612
46615
  "PENDING",
46613
46616
  "APPROVED",
46614
46617
  "REJECTED",
46615
- "CANCELED"
46618
+ "RETURNED",
46619
+ "CANCELED",
46620
+ "APPROVED",
46621
+ "REJECTED",
46622
+ "RETURNED",
46623
+ "SUBMITTED",
46624
+ "CANCELED",
46625
+ "SUPPLEMENT"
46616
46626
  ],
46617
46627
  "x-enum-comments": {
46628
+ "ActionApprove": "审批通过",
46629
+ "ActionCancel": "撤销/取消",
46630
+ "ActionReject": "审批拒绝",
46631
+ "ActionReturn": "审批退回",
46632
+ "ActionSubmit": "提交/发起",
46633
+ "ActionSupplement": "补充依据",
46618
46634
  "StatusApproved": "已通过",
46619
46635
  "StatusCanceled": "已取消",
46620
- "StatusPending": "处理中(审批流程进行中)",
46636
+ "StatusPending": "处理中(审批进行中)",
46621
46637
  "StatusRejected": "已拒绝",
46622
- "StatusSubmitted": "待审核(刚提交,未开始审批)"
46638
+ "StatusReturned": "已退回",
46639
+ "StatusSubmitted": "待审核(刚提交)"
46623
46640
  },
46624
46641
  "x-enum-descriptions": [
46625
- "待审核(刚提交,未开始审批)",
46626
- "处理中(审批流程进行中)",
46642
+ "待审核(刚提交)",
46643
+ "处理中(审批进行中)",
46627
46644
  "已通过",
46628
46645
  "已拒绝",
46629
- "已取消"
46646
+ "已退回",
46647
+ "已取消",
46648
+ "审批通过",
46649
+ "审批拒绝",
46650
+ "审批退回",
46651
+ "提交/发起",
46652
+ "撤销/取消",
46653
+ "补充依据"
46630
46654
  ],
46631
46655
  "x-enum-varnames": [
46632
46656
  "StatusSubmitted",
46633
46657
  "StatusPending",
46634
46658
  "StatusApproved",
46635
46659
  "StatusRejected",
46636
- "StatusCanceled"
46660
+ "StatusReturned",
46661
+ "StatusCanceled",
46662
+ "ActionApprove",
46663
+ "ActionReject",
46664
+ "ActionReturn",
46665
+ "ActionSubmit",
46666
+ "ActionCancel",
46667
+ "ActionSupplement"
46637
46668
  ]
46638
46669
  },
46639
46670
  "types.JSONMap": {
@@ -46896,11 +46927,11 @@
46896
46927
  "models.ApproveWorkflowRequest": {
46897
46928
  "type": "object",
46898
46929
  "required": [
46899
- "comment",
46930
+ "remark",
46900
46931
  "workflowInstanceId"
46901
46932
  ],
46902
46933
  "properties": {
46903
- "comment": {
46934
+ "remark": {
46904
46935
  "description": "审批意见",
46905
46936
  "type": "string"
46906
46937
  },
@@ -47000,11 +47031,11 @@
47000
47031
  "models.RejectWorkflowRequest": {
47001
47032
  "type": "object",
47002
47033
  "required": [
47003
- "comment",
47034
+ "remark",
47004
47035
  "workflowInstanceId"
47005
47036
  ],
47006
47037
  "properties": {
47007
- "comment": {
47038
+ "remark": {
47008
47039
  "description": "拒绝原因",
47009
47040
  "type": "string"
47010
47041
  },
@@ -47034,9 +47065,6 @@
47034
47065
  "approverId": {
47035
47066
  "type": "string"
47036
47067
  },
47037
- "comment": {
47038
- "type": "string"
47039
- },
47040
47068
  "completedTime": {
47041
47069
  "type": "integer"
47042
47070
  },
@@ -47055,6 +47083,9 @@
47055
47083
  "jobKey": {
47056
47084
  "type": "integer"
47057
47085
  },
47086
+ "remark": {
47087
+ "type": "string"
47088
+ },
47058
47089
  "role": {
47059
47090
  "type": "string"
47060
47091
  },
@@ -47213,9 +47244,6 @@
47213
47244
  "bizType": {
47214
47245
  "type": "string"
47215
47246
  },
47216
- "comment": {
47217
- "type": "string"
47218
- },
47219
47247
  "createTime": {
47220
47248
  "type": "integer"
47221
47249
  },
@@ -47231,6 +47259,9 @@
47231
47259
  "instanceId": {
47232
47260
  "type": "string"
47233
47261
  },
47262
+ "remark": {
47263
+ "type": "string"
47264
+ },
47234
47265
  "role": {
47235
47266
  "type": "string"
47236
47267
  }
@@ -47343,7 +47374,8 @@
47343
47374
  "approverName": {
47344
47375
  "type": "string"
47345
47376
  },
47346
- "comment": {
47377
+ "attachments": {
47378
+ "description": "审核附件 [{fileId,name,type}]",
47347
47379
  "type": "string"
47348
47380
  },
47349
47381
  "createdAt": {
@@ -47355,6 +47387,9 @@
47355
47387
  "instanceId": {
47356
47388
  "type": "string"
47357
47389
  },
47390
+ "remark": {
47391
+ "type": "string"
47392
+ },
47358
47393
  "role": {
47359
47394
  "type": "string"
47360
47395
  }
@@ -47369,7 +47404,7 @@
47369
47404
  ],
47370
47405
  "properties": {
47371
47406
  "attachments": {
47372
- "description": "补充材料 [{url,name,type}]",
47407
+ "description": "补充材料 [{fileId,name,type}]",
47373
47408
  "type": "array",
47374
47409
  "items": {
47375
47410
  "type": "integer"
@@ -47475,14 +47510,19 @@
47475
47510
  "type": "integer"
47476
47511
  },
47477
47512
  "currentLevel": {
47513
+ "description": "workflow_instances 关联字段",
47478
47514
  "type": "integer"
47479
47515
  },
47480
- "reason": {
47516
+ "remark": {
47481
47517
  "type": "string"
47482
47518
  },
47483
47519
  "source": {
47484
47520
  "type": "string"
47485
47521
  },
47522
+ "status": {
47523
+ "description": "工单状态 SUBMITTED/PENDING/APPROVED/REJECTED/CANCELED",
47524
+ "type": "string"
47525
+ },
47486
47526
  "ticketNo": {
47487
47527
  "description": "sys_ticket 字段",
47488
47528
  "type": "string"
@@ -47493,8 +47533,7 @@
47493
47533
  "totalLevels": {
47494
47534
  "type": "integer"
47495
47535
  },
47496
- "workflowStatus": {
47497
- "description": "workflow_instances 关联字段",
47536
+ "workflowInstanceId": {
47498
47537
  "type": "string"
47499
47538
  },
47500
47539
  "workflowVariables": {
@@ -47549,13 +47588,16 @@
47549
47588
  "description": "工单编号(可选,精确匹配)",
47550
47589
  "type": "string"
47551
47590
  },
47591
+ "ticketStatus": {
47592
+ "description": "工单状态筛选: SUBMITTED/PENDING/APPROVED/REJECTED/RETURNED/CANCELED(支持多选)",
47593
+ "type": "array",
47594
+ "items": {
47595
+ "type": "string"
47596
+ }
47597
+ },
47552
47598
  "ticketType": {
47553
47599
  "description": "ADT/MNT(可选)",
47554
47600
  "type": "string"
47555
- },
47556
- "workflowStatus": {
47557
- "description": "Tab筛选: PENDING/APPROVED/REJECTED/CANCELED",
47558
- "type": "string"
47559
47601
  }
47560
47602
  }
47561
47603
  },
@@ -47590,10 +47632,8 @@
47590
47632
  "type": "object",
47591
47633
  "properties": {
47592
47634
  "attachments": {
47593
- "type": "array",
47594
- "items": {
47595
- "type": "integer"
47596
- }
47635
+ "description": "补充材料 [{fileId,name,type}]",
47636
+ "type": "string"
47597
47637
  },
47598
47638
  "bizCategory": {
47599
47639
  "type": "string"
@@ -47604,6 +47644,14 @@
47604
47644
  "bizId": {
47605
47645
  "type": "string"
47606
47646
  },
47647
+ "bizRelatedUser": {
47648
+ "description": "业务关联人",
47649
+ "type": "object",
47650
+ "additionalProperties": {
47651
+ "type": "string"
47652
+ },
47653
+ "properties": {}
47654
+ },
47607
47655
  "createdAt": {
47608
47656
  "type": "integer"
47609
47657
  },
@@ -47617,14 +47665,14 @@
47617
47665
  "priority": {
47618
47666
  "type": "string"
47619
47667
  },
47620
- "reason": {
47668
+ "remark": {
47621
47669
  "type": "string"
47622
47670
  },
47623
47671
  "source": {
47624
47672
  "type": "string"
47625
47673
  },
47626
47674
  "status": {
47627
- "description": "PENDING/APPROVED/REJECTED/CANCELED",
47675
+ "description": "工单状态 SUBMITTED/PENDING/APPROVED/REJECTED/CANCELED",
47628
47676
  "type": "string"
47629
47677
  },
47630
47678
  "ticketNo": {
@@ -47719,10 +47767,6 @@
47719
47767
  }
47720
47768
  }
47721
47769
  },
47722
- "comment": {
47723
- "description": "审批意见",
47724
- "type": "string"
47725
- },
47726
47770
  "completedAt": {
47727
47771
  "description": "完成时间(毫秒)",
47728
47772
  "type": "integer"
@@ -47731,6 +47775,10 @@
47731
47775
  "description": "审批层级",
47732
47776
  "type": "integer"
47733
47777
  },
47778
+ "remark": {
47779
+ "description": "审批意见",
47780
+ "type": "string"
47781
+ },
47734
47782
  "status": {
47735
47783
  "description": "COMPLETED / PENDING / WAITING",
47736
47784
  "type": "string"
@@ -47743,7 +47791,7 @@
47743
47791
  "ticketNo"
47744
47792
  ],
47745
47793
  "properties": {
47746
- "comment": {
47794
+ "remark": {
47747
47795
  "description": "撤销原因",
47748
47796
  "type": "string"
47749
47797
  },
@@ -47760,13 +47808,10 @@
47760
47808
  ],
47761
47809
  "properties": {
47762
47810
  "attachments": {
47763
- "description": "附件 [{url,name,type}]",
47764
- "type": "array",
47765
- "items": {
47766
- "type": "integer"
47767
- }
47811
+ "description": "附件 [{fileId,name,type}]",
47812
+ "type": "string"
47768
47813
  },
47769
- "comment": {
47814
+ "remark": {
47770
47815
  "description": "说明",
47771
47816
  "type": "string"
47772
47817
  },
@@ -47779,11 +47824,15 @@
47779
47824
  "models.TicketApproveReq": {
47780
47825
  "type": "object",
47781
47826
  "required": [
47782
- "comment",
47827
+ "remark",
47783
47828
  "ticketNo"
47784
47829
  ],
47785
47830
  "properties": {
47786
- "comment": {
47831
+ "attachments": {
47832
+ "description": "审核附件 [{fileId,name,type}]",
47833
+ "type": "string"
47834
+ },
47835
+ "remark": {
47787
47836
  "description": "审批意见",
47788
47837
  "type": "string"
47789
47838
  },
@@ -47815,12 +47864,25 @@
47815
47864
  "models.TicketRejectReq": {
47816
47865
  "type": "object",
47817
47866
  "required": [
47818
- "comment",
47867
+ "action",
47868
+ "remark",
47819
47869
  "ticketNo"
47820
47870
  ],
47821
47871
  "properties": {
47822
- "comment": {
47823
- "description": "拒绝原因",
47872
+ "action": {
47873
+ "description": "动作:REJECTED(拒绝) / RETURNED(退回)",
47874
+ "type": "string",
47875
+ "enum": [
47876
+ "REJECTED",
47877
+ "RETURNED"
47878
+ ]
47879
+ },
47880
+ "attachments": {
47881
+ "description": "审核附件 [{fileId,name,type}]",
47882
+ "type": "string"
47883
+ },
47884
+ "remark": {
47885
+ "description": "原因",
47824
47886
  "type": "string"
47825
47887
  },
47826
47888
  "ticketNo": {
@@ -47853,6 +47915,19 @@
47853
47915
  "type": "integer"
47854
47916
  }
47855
47917
  }
47918
+ },
47919
+ "models.WithdrawStatusItem": {
47920
+ "type": "object",
47921
+ "properties": {
47922
+ "coinType": {
47923
+ "description": "币种",
47924
+ "type": "string"
47925
+ },
47926
+ "status": {
47927
+ "description": "true(启用)/false(暂停)",
47928
+ "type": "string"
47929
+ }
47930
+ }
47856
47931
  }
47857
47932
  },
47858
47933
  "securitySchemes": {}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fx-spec-hub",
3
- "version": "0.0.17",
3
+ "version": "0.0.19",
4
4
  "description": "API 规范中心/控制台",
5
5
  "type": "commonjs",
6
6
  "main": "./dist/index.js",