fx-spec-hub 0.0.18 → 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,6 +46437,7 @@
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",
46459
46443
  "TICKET_NOT_FOUND",
@@ -46468,6 +46452,7 @@
46468
46452
  "ErrorCaptchaInvalid": "Invalid captcha code",
46469
46453
  "ErrorForbidden": "Forbidden / No permission / User banned",
46470
46454
  "ErrorNotFound": "Resource not found",
46455
+ "ErrorPasswordInvalid": "Invalid password",
46471
46456
  "ErrorRequestTimeout": "Request timeout",
46472
46457
  "ErrorServiceUnavailable": "Service temporarily unavailable (gRPC down)",
46473
46458
  "ErrorTicketNotFound": "工单不存在",
@@ -46502,6 +46487,7 @@
46502
46487
  "Invalid 2FA code",
46503
46488
  "2FA session expired or invalid",
46504
46489
  "Invalid username or password",
46490
+ "Invalid password",
46505
46491
  "Token expired",
46506
46492
  "Workflow already in progress",
46507
46493
  "工单不存在",
@@ -46526,6 +46512,7 @@
46526
46512
  "ErrorTwoFaInvalid",
46527
46513
  "ErrorTwoFaExpired",
46528
46514
  "ErrorAuthCodeInvalid",
46515
+ "ErrorPasswordInvalid",
46529
46516
  "ErrorTokenExpired",
46530
46517
  "ErrorWorkflowInProgress",
46531
46518
  "ErrorTicketNotFound",
@@ -46628,28 +46615,56 @@
46628
46615
  "PENDING",
46629
46616
  "APPROVED",
46630
46617
  "REJECTED",
46631
- "CANCELED"
46618
+ "RETURNED",
46619
+ "CANCELED",
46620
+ "APPROVED",
46621
+ "REJECTED",
46622
+ "RETURNED",
46623
+ "SUBMITTED",
46624
+ "CANCELED",
46625
+ "SUPPLEMENT"
46632
46626
  ],
46633
46627
  "x-enum-comments": {
46628
+ "ActionApprove": "审批通过",
46629
+ "ActionCancel": "撤销/取消",
46630
+ "ActionReject": "审批拒绝",
46631
+ "ActionReturn": "审批退回",
46632
+ "ActionSubmit": "提交/发起",
46633
+ "ActionSupplement": "补充依据",
46634
46634
  "StatusApproved": "已通过",
46635
46635
  "StatusCanceled": "已取消",
46636
- "StatusPending": "处理中(审批流程进行中)",
46636
+ "StatusPending": "处理中(审批进行中)",
46637
46637
  "StatusRejected": "已拒绝",
46638
- "StatusSubmitted": "待审核(刚提交,未开始审批)"
46638
+ "StatusReturned": "已退回",
46639
+ "StatusSubmitted": "待审核(刚提交)"
46639
46640
  },
46640
46641
  "x-enum-descriptions": [
46641
- "待审核(刚提交,未开始审批)",
46642
- "处理中(审批流程进行中)",
46642
+ "待审核(刚提交)",
46643
+ "处理中(审批进行中)",
46643
46644
  "已通过",
46644
46645
  "已拒绝",
46645
- "已取消"
46646
+ "已退回",
46647
+ "已取消",
46648
+ "审批通过",
46649
+ "审批拒绝",
46650
+ "审批退回",
46651
+ "提交/发起",
46652
+ "撤销/取消",
46653
+ "补充依据"
46646
46654
  ],
46647
46655
  "x-enum-varnames": [
46648
46656
  "StatusSubmitted",
46649
46657
  "StatusPending",
46650
46658
  "StatusApproved",
46651
46659
  "StatusRejected",
46652
- "StatusCanceled"
46660
+ "StatusReturned",
46661
+ "StatusCanceled",
46662
+ "ActionApprove",
46663
+ "ActionReject",
46664
+ "ActionReturn",
46665
+ "ActionSubmit",
46666
+ "ActionCancel",
46667
+ "ActionSupplement"
46653
46668
  ]
46654
46669
  },
46655
46670
  "types.JSONMap": {
@@ -46912,11 +46927,11 @@
46912
46927
  "models.ApproveWorkflowRequest": {
46913
46928
  "type": "object",
46914
46929
  "required": [
46915
- "comment",
46930
+ "remark",
46916
46931
  "workflowInstanceId"
46917
46932
  ],
46918
46933
  "properties": {
46919
- "comment": {
46934
+ "remark": {
46920
46935
  "description": "审批意见",
46921
46936
  "type": "string"
46922
46937
  },
@@ -47016,11 +47031,11 @@
47016
47031
  "models.RejectWorkflowRequest": {
47017
47032
  "type": "object",
47018
47033
  "required": [
47019
- "comment",
47034
+ "remark",
47020
47035
  "workflowInstanceId"
47021
47036
  ],
47022
47037
  "properties": {
47023
- "comment": {
47038
+ "remark": {
47024
47039
  "description": "拒绝原因",
47025
47040
  "type": "string"
47026
47041
  },
@@ -47050,9 +47065,6 @@
47050
47065
  "approverId": {
47051
47066
  "type": "string"
47052
47067
  },
47053
- "comment": {
47054
- "type": "string"
47055
- },
47056
47068
  "completedTime": {
47057
47069
  "type": "integer"
47058
47070
  },
@@ -47071,6 +47083,9 @@
47071
47083
  "jobKey": {
47072
47084
  "type": "integer"
47073
47085
  },
47086
+ "remark": {
47087
+ "type": "string"
47088
+ },
47074
47089
  "role": {
47075
47090
  "type": "string"
47076
47091
  },
@@ -47229,9 +47244,6 @@
47229
47244
  "bizType": {
47230
47245
  "type": "string"
47231
47246
  },
47232
- "comment": {
47233
- "type": "string"
47234
- },
47235
47247
  "createTime": {
47236
47248
  "type": "integer"
47237
47249
  },
@@ -47247,6 +47259,9 @@
47247
47259
  "instanceId": {
47248
47260
  "type": "string"
47249
47261
  },
47262
+ "remark": {
47263
+ "type": "string"
47264
+ },
47250
47265
  "role": {
47251
47266
  "type": "string"
47252
47267
  }
@@ -47361,12 +47376,6 @@
47361
47376
  },
47362
47377
  "attachments": {
47363
47378
  "description": "审核附件 [{fileId,name,type}]",
47364
- "type": "array",
47365
- "items": {
47366
- "type": "integer"
47367
- }
47368
- },
47369
- "comment": {
47370
47379
  "type": "string"
47371
47380
  },
47372
47381
  "createdAt": {
@@ -47378,6 +47387,9 @@
47378
47387
  "instanceId": {
47379
47388
  "type": "string"
47380
47389
  },
47390
+ "remark": {
47391
+ "type": "string"
47392
+ },
47381
47393
  "role": {
47382
47394
  "type": "string"
47383
47395
  }
@@ -47501,14 +47513,14 @@
47501
47513
  "description": "workflow_instances 关联字段",
47502
47514
  "type": "integer"
47503
47515
  },
47504
- "reason": {
47516
+ "remark": {
47505
47517
  "type": "string"
47506
47518
  },
47507
47519
  "source": {
47508
47520
  "type": "string"
47509
47521
  },
47510
47522
  "status": {
47511
- "description": "工单状态 PENDING/PROCESSING/COMPLETED",
47523
+ "description": "工单状态 SUBMITTED/PENDING/APPROVED/REJECTED/CANCELED",
47512
47524
  "type": "string"
47513
47525
  },
47514
47526
  "ticketNo": {
@@ -47521,6 +47533,9 @@
47521
47533
  "totalLevels": {
47522
47534
  "type": "integer"
47523
47535
  },
47536
+ "workflowInstanceId": {
47537
+ "type": "string"
47538
+ },
47524
47539
  "workflowVariables": {
47525
47540
  "type": "array",
47526
47541
  "items": {
@@ -47574,7 +47589,7 @@
47574
47589
  "type": "string"
47575
47590
  },
47576
47591
  "ticketStatus": {
47577
- "description": "工单状态筛选: PENDING/PROCESSING/COMPLETED(支持多选)",
47592
+ "description": "工单状态筛选: SUBMITTED/PENDING/APPROVED/REJECTED/RETURNED/CANCELED(支持多选)",
47578
47593
  "type": "array",
47579
47594
  "items": {
47580
47595
  "type": "string"
@@ -47618,10 +47633,7 @@
47618
47633
  "properties": {
47619
47634
  "attachments": {
47620
47635
  "description": "补充材料 [{fileId,name,type}]",
47621
- "type": "array",
47622
- "items": {
47623
- "type": "integer"
47624
- }
47636
+ "type": "string"
47625
47637
  },
47626
47638
  "bizCategory": {
47627
47639
  "type": "string"
@@ -47653,14 +47665,14 @@
47653
47665
  "priority": {
47654
47666
  "type": "string"
47655
47667
  },
47656
- "reason": {
47668
+ "remark": {
47657
47669
  "type": "string"
47658
47670
  },
47659
47671
  "source": {
47660
47672
  "type": "string"
47661
47673
  },
47662
47674
  "status": {
47663
- "description": "工单状态 PENDING/PROCESSING/COMPLETED",
47675
+ "description": "工单状态 SUBMITTED/PENDING/APPROVED/REJECTED/CANCELED",
47664
47676
  "type": "string"
47665
47677
  },
47666
47678
  "ticketNo": {
@@ -47755,10 +47767,6 @@
47755
47767
  }
47756
47768
  }
47757
47769
  },
47758
- "comment": {
47759
- "description": "审批意见",
47760
- "type": "string"
47761
- },
47762
47770
  "completedAt": {
47763
47771
  "description": "完成时间(毫秒)",
47764
47772
  "type": "integer"
@@ -47767,6 +47775,10 @@
47767
47775
  "description": "审批层级",
47768
47776
  "type": "integer"
47769
47777
  },
47778
+ "remark": {
47779
+ "description": "审批意见",
47780
+ "type": "string"
47781
+ },
47770
47782
  "status": {
47771
47783
  "description": "COMPLETED / PENDING / WAITING",
47772
47784
  "type": "string"
@@ -47779,7 +47791,7 @@
47779
47791
  "ticketNo"
47780
47792
  ],
47781
47793
  "properties": {
47782
- "comment": {
47794
+ "remark": {
47783
47795
  "description": "撤销原因",
47784
47796
  "type": "string"
47785
47797
  },
@@ -47797,12 +47809,9 @@
47797
47809
  "properties": {
47798
47810
  "attachments": {
47799
47811
  "description": "附件 [{fileId,name,type}]",
47800
- "type": "array",
47801
- "items": {
47802
- "type": "integer"
47803
- }
47812
+ "type": "string"
47804
47813
  },
47805
- "comment": {
47814
+ "remark": {
47806
47815
  "description": "说明",
47807
47816
  "type": "string"
47808
47817
  },
@@ -47815,18 +47824,15 @@
47815
47824
  "models.TicketApproveReq": {
47816
47825
  "type": "object",
47817
47826
  "required": [
47818
- "comment",
47827
+ "remark",
47819
47828
  "ticketNo"
47820
47829
  ],
47821
47830
  "properties": {
47822
47831
  "attachments": {
47823
47832
  "description": "审核附件 [{fileId,name,type}]",
47824
- "type": "array",
47825
- "items": {
47826
- "type": "integer"
47827
- }
47833
+ "type": "string"
47828
47834
  },
47829
- "comment": {
47835
+ "remark": {
47830
47836
  "description": "审批意见",
47831
47837
  "type": "string"
47832
47838
  },
@@ -47858,19 +47864,25 @@
47858
47864
  "models.TicketRejectReq": {
47859
47865
  "type": "object",
47860
47866
  "required": [
47861
- "comment",
47867
+ "action",
47868
+ "remark",
47862
47869
  "ticketNo"
47863
47870
  ],
47864
47871
  "properties": {
47872
+ "action": {
47873
+ "description": "动作:REJECTED(拒绝) / RETURNED(退回)",
47874
+ "type": "string",
47875
+ "enum": [
47876
+ "REJECTED",
47877
+ "RETURNED"
47878
+ ]
47879
+ },
47865
47880
  "attachments": {
47866
47881
  "description": "审核附件 [{fileId,name,type}]",
47867
- "type": "array",
47868
- "items": {
47869
- "type": "integer"
47870
- }
47882
+ "type": "string"
47871
47883
  },
47872
- "comment": {
47873
- "description": "拒绝原因",
47884
+ "remark": {
47885
+ "description": "原因",
47874
47886
  "type": "string"
47875
47887
  },
47876
47888
  "ticketNo": {
@@ -47903,6 +47915,19 @@
47903
47915
  "type": "integer"
47904
47916
  }
47905
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
+ }
47906
47931
  }
47907
47932
  },
47908
47933
  "securitySchemes": {}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fx-spec-hub",
3
- "version": "0.0.18",
3
+ "version": "0.0.19",
4
4
  "description": "API 规范中心/控制台",
5
5
  "type": "commonjs",
6
6
  "main": "./dist/index.js",