fx-spec-hub 0.0.32 → 0.0.34

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.
@@ -862,6 +862,50 @@
862
862
  "security": []
863
863
  }
864
864
  },
865
+ "/api/v1/common/getDefaultFees": {
866
+ "post": {
867
+ "summary": "获取默认手续费配置",
868
+ "deprecated": false,
869
+ "description": "获取默认 MakerFee 和 CheckerFee",
870
+ "tags": [
871
+ "通用接口"
872
+ ],
873
+ "parameters": [],
874
+ "responses": {
875
+ "200": {
876
+ "description": "OK",
877
+ "content": {
878
+ "*/*": {
879
+ "schema": {
880
+ "allOf": [
881
+ {
882
+ "$ref": "#/components/schemas/response.Response"
883
+ },
884
+ {
885
+ "type": "object",
886
+ "properties": {
887
+ "data": {
888
+ "type": "object",
889
+ "additionalProperties": {
890
+ "type": "string"
891
+ },
892
+ "properties": {}
893
+ }
894
+ }
895
+ }
896
+ ]
897
+ }
898
+ }
899
+ },
900
+ "headers": {}
901
+ }
902
+ },
903
+ "security": [],
904
+ "X-Type": {
905
+ "type": "BUS"
906
+ }
907
+ }
908
+ },
865
909
  "/api/v1/dashboard/alarm": {
866
910
  "post": {
867
911
  "summary": "Dashboard 业务通知",
@@ -25247,6 +25291,41 @@
25247
25291
  "security": []
25248
25292
  }
25249
25293
  },
25294
+ "/api/v1/ticket/reset": {
25295
+ "post": {
25296
+ "summary": "重置工单(取消工单并回退业务状态到初始)",
25297
+ "deprecated": false,
25298
+ "description": "取消运行中的工单并触发业务回调将上游状态重置到初始状态,适用于 STR 等需要重新审核的场景",
25299
+ "tags": [
25300
+ "Ticket"
25301
+ ],
25302
+ "parameters": [],
25303
+ "requestBody": {
25304
+ "content": {
25305
+ "application/json": {
25306
+ "schema": {
25307
+ "$ref": "#/components/schemas/models.ResetTicketReq"
25308
+ }
25309
+ }
25310
+ },
25311
+ "required": true
25312
+ },
25313
+ "responses": {
25314
+ "200": {
25315
+ "description": "OK",
25316
+ "content": {
25317
+ "application/json": {
25318
+ "schema": {
25319
+ "$ref": "#/components/schemas/response.Response"
25320
+ }
25321
+ }
25322
+ },
25323
+ "headers": {}
25324
+ }
25325
+ },
25326
+ "security": []
25327
+ }
25328
+ },
25250
25329
  "/api/v1/cms": {
25251
25330
  "get": {
25252
25331
  "summary": "获取数据",
@@ -25880,6 +25959,49 @@
25880
25959
  },
25881
25960
  "components": {
25882
25961
  "schemas": {
25962
+ "models.ApprovalRound": {
25963
+ "type": "object",
25964
+ "properties": {
25965
+ "items": {
25966
+ "description": "本轮进度项",
25967
+ "type": "array",
25968
+ "items": {
25969
+ "$ref": "#/components/schemas/models.ApprovalProgressItem"
25970
+ }
25971
+ },
25972
+ "round": {
25973
+ "description": "轮次编号(从1开始)",
25974
+ "type": "integer"
25975
+ },
25976
+ "status": {
25977
+ "description": "本轮状态: COMPLETED(已完结) / ACTIVE(进行中)",
25978
+ "type": "string"
25979
+ }
25980
+ }
25981
+ },
25982
+ "models.ResetTicketReq": {
25983
+ "type": "object",
25984
+ "required": [
25985
+ "ticketNo"
25986
+ ],
25987
+ "properties": {
25988
+ "attachments": {
25989
+ "description": "附件 [{fileId,name,type}]",
25990
+ "type": "array",
25991
+ "items": {
25992
+ "$ref": "#/components/schemas/models.AttachmentItem"
25993
+ }
25994
+ },
25995
+ "remark": {
25996
+ "description": "重置原因",
25997
+ "type": "string"
25998
+ },
25999
+ "ticketNo": {
26000
+ "description": "工单编号",
26001
+ "type": "string"
26002
+ }
26003
+ }
26004
+ },
25883
26005
  "models.DashboardRefreshTimeResp": {
25884
26006
  "type": "object",
25885
26007
  "properties": {
@@ -26546,11 +26668,12 @@
26546
26668
  ],
26547
26669
  "properties": {
26548
26670
  "action": {
26549
- "description": "动作:REJECTED(拒绝) / RETURNED(退回)",
26671
+ "description": "动作:REJECTED(拒绝) / RETURNED(退回) / ROLLBACK(回退到Maker)",
26550
26672
  "type": "string",
26551
26673
  "enum": [
26552
26674
  "REJECTED",
26553
- "RETURNED"
26675
+ "RETURNED",
26676
+ "ROLLBACK"
26554
26677
  ]
26555
26678
  },
26556
26679
  "attachments": {
@@ -26562,11 +26685,13 @@
26562
26685
  },
26563
26686
  "reason": {
26564
26687
  "description": "最终原因",
26565
- "type": "string"
26688
+ "type": "string",
26689
+ "maxLength": 250
26566
26690
  },
26567
26691
  "remark": {
26568
26692
  "description": "备注",
26569
- "type": "string"
26693
+ "type": "string",
26694
+ "maxLength": 250
26570
26695
  },
26571
26696
  "ticketNo": {
26572
26697
  "description": "工单编号",
@@ -26609,11 +26734,13 @@
26609
26734
  },
26610
26735
  "reason": {
26611
26736
  "description": "最终原因",
26612
- "type": "string"
26737
+ "type": "string",
26738
+ "maxLength": 250
26613
26739
  },
26614
26740
  "remark": {
26615
26741
  "description": "审批意见",
26616
- "type": "string"
26742
+ "type": "string",
26743
+ "maxLength": 250
26617
26744
  },
26618
26745
  "ticketNo": {
26619
26746
  "description": "工单编号",
@@ -26672,7 +26799,7 @@
26672
26799
  "type": "object",
26673
26800
  "properties": {
26674
26801
  "action": {
26675
- "description": "APPROVE / REJECT / \"\"",
26802
+ "description": "APPROVE / REJECT / ROLLBACK / \"\"",
26676
26803
  "type": "string"
26677
26804
  },
26678
26805
  "approverId": {
@@ -26716,6 +26843,14 @@
26716
26843
  "status": {
26717
26844
  "description": "COMPLETED / PENDING / WAITING",
26718
26845
  "type": "string"
26846
+ },
26847
+ "variables": {
26848
+ "description": "审批阶段变量(如 targetStatus)",
26849
+ "allOf": [
26850
+ {
26851
+ "$ref": "#/components/schemas/types.JSONMap"
26852
+ }
26853
+ ]
26719
26854
  }
26720
26855
  }
26721
26856
  },
@@ -27000,11 +27135,19 @@
27000
27135
  }
27001
27136
  },
27002
27137
  "progress": {
27138
+ "description": "当前轮审核进度(向后兼容)",
27003
27139
  "type": "array",
27004
27140
  "items": {
27005
27141
  "$ref": "#/components/schemas/models.ApprovalProgressItem"
27006
27142
  }
27007
27143
  },
27144
+ "progressRounds": {
27145
+ "description": "按轮次分组的审核进度",
27146
+ "type": "array",
27147
+ "items": {
27148
+ "$ref": "#/components/schemas/models.ApprovalRound"
27149
+ }
27150
+ },
27008
27151
  "ticket": {
27009
27152
  "$ref": "#/components/schemas/models.TicketResponse"
27010
27153
  },
@@ -27118,6 +27261,9 @@
27118
27261
  "instanceId": {
27119
27262
  "type": "string"
27120
27263
  },
27264
+ "level": {
27265
+ "type": "integer"
27266
+ },
27121
27267
  "reason": {
27122
27268
  "type": "string"
27123
27269
  },
@@ -27126,6 +27272,14 @@
27126
27272
  },
27127
27273
  "role": {
27128
27274
  "type": "string"
27275
+ },
27276
+ "variables": {
27277
+ "description": "审批时工作流变量快照",
27278
+ "type": "object",
27279
+ "additionalProperties": {
27280
+ "type": "string"
27281
+ },
27282
+ "properties": {}
27129
27283
  }
27130
27284
  }
27131
27285
  },
@@ -27178,10 +27332,22 @@
27178
27332
  "$ref": "#/components/schemas/models.AttachmentItem"
27179
27333
  }
27180
27334
  },
27335
+ "before": {
27336
+ "description": "变更前快照",
27337
+ "type": "object",
27338
+ "additionalProperties": {
27339
+ "type": "string"
27340
+ },
27341
+ "properties": {}
27342
+ },
27181
27343
  "remark": {
27182
27344
  "description": "撤销原因",
27183
27345
  "type": "string"
27184
27346
  },
27347
+ "targetDesc": {
27348
+ "description": "目标说明",
27349
+ "type": "string"
27350
+ },
27185
27351
  "txId": {
27186
27352
  "description": "交易ID",
27187
27353
  "type": "string"
@@ -27271,6 +27437,9 @@
27271
27437
  "instanceId": {
27272
27438
  "type": "string"
27273
27439
  },
27440
+ "level": {
27441
+ "type": "integer"
27442
+ },
27274
27443
  "reason": {
27275
27444
  "type": "string"
27276
27445
  },
@@ -27859,9 +28028,11 @@
27859
28028
  "REJECTED",
27860
28029
  "RETURNED",
27861
28030
  "CANCELED",
28031
+ "ROLLBACK",
27862
28032
  "APPROVED",
27863
28033
  "REJECTED",
27864
28034
  "RETURNED",
28035
+ "ROLLBACK",
27865
28036
  "SUBMITTED",
27866
28037
  "CANCELED",
27867
28038
  "SUPPLEMENT"
@@ -27870,7 +28041,8 @@
27870
28041
  "ActionApprove": "审批通过",
27871
28042
  "ActionCancel": "撤销/取消",
27872
28043
  "ActionReject": "审批拒绝",
27873
- "ActionReturn": "审批退回",
28044
+ "ActionReturn": "审批退回(终结)",
28045
+ "ActionRollback": "回退到 Maker(BPMN 循环,流程继续)",
27874
28046
  "ActionSubmit": "提交/发起",
27875
28047
  "ActionSupplement": "补充依据",
27876
28048
  "StatusApproved": "已通过",
@@ -27878,6 +28050,7 @@
27878
28050
  "StatusPending": "处理中(审批进行中)",
27879
28051
  "StatusRejected": "已拒绝",
27880
28052
  "StatusReturned": "已退回",
28053
+ "StatusRollback": "已回退(BPMN 回退箭头,流程未终结)",
27881
28054
  "StatusSubmitted": "待审核(刚提交)"
27882
28055
  },
27883
28056
  "x-enum-descriptions": [
@@ -27887,9 +28060,11 @@
27887
28060
  "已拒绝",
27888
28061
  "已退回",
27889
28062
  "已取消",
28063
+ "已回退(BPMN 回退箭头,流程未终结)",
27890
28064
  "审批通过",
27891
28065
  "审批拒绝",
27892
- "审批退回",
28066
+ "审批退回(终结)",
28067
+ "回退到 Maker(BPMN 循环,流程继续)",
27893
28068
  "提交/发起",
27894
28069
  "撤销/取消",
27895
28070
  "补充依据"
@@ -27901,9 +28076,11 @@
27901
28076
  "StatusRejected",
27902
28077
  "StatusReturned",
27903
28078
  "StatusCanceled",
28079
+ "StatusRollback",
27904
28080
  "ActionApprove",
27905
28081
  "ActionReject",
27906
28082
  "ActionReturn",
28083
+ "ActionRollback",
27907
28084
  "ActionSubmit",
27908
28085
  "ActionCancel",
27909
28086
  "ActionSupplement"
@@ -27924,6 +28101,9 @@
27924
28101
  "currentLevel": {
27925
28102
  "type": "integer"
27926
28103
  },
28104
+ "currentRound": {
28105
+ "type": "integer"
28106
+ },
27927
28107
  "id": {
27928
28108
  "type": "integer"
27929
28109
  },
@@ -27992,6 +28172,12 @@
27992
28172
  },
27993
28173
  "role": {
27994
28174
  "type": "string"
28175
+ },
28176
+ "round": {
28177
+ "type": "integer"
28178
+ },
28179
+ "variables": {
28180
+ "$ref": "#/components/schemas/types.JSONMap"
27995
28181
  }
27996
28182
  }
27997
28183
  },
@@ -28004,9 +28190,11 @@
28004
28190
  "REJECTED",
28005
28191
  "RETURNED",
28006
28192
  "CANCELED",
28193
+ "ROLLBACK",
28007
28194
  "APPROVED",
28008
28195
  "REJECTED",
28009
28196
  "RETURNED",
28197
+ "ROLLBACK",
28010
28198
  "SUBMITTED",
28011
28199
  "CANCELED",
28012
28200
  "SUPPLEMENT"
@@ -28015,7 +28203,8 @@
28015
28203
  "ActionApprove": "审批通过",
28016
28204
  "ActionCancel": "撤销/取消",
28017
28205
  "ActionReject": "审批拒绝",
28018
- "ActionReturn": "审批退回",
28206
+ "ActionReturn": "审批退回(终结)",
28207
+ "ActionRollback": "回退到 Maker(BPMN 循环,流程继续)",
28019
28208
  "ActionSubmit": "提交/发起",
28020
28209
  "ActionSupplement": "补充依据",
28021
28210
  "StatusApproved": "已通过",
@@ -28023,6 +28212,7 @@
28023
28212
  "StatusPending": "处理中(审批进行中)",
28024
28213
  "StatusRejected": "已拒绝",
28025
28214
  "StatusReturned": "已退回",
28215
+ "StatusRollback": "已回退(BPMN 回退箭头,流程未终结)",
28026
28216
  "StatusSubmitted": "待审核(刚提交)"
28027
28217
  },
28028
28218
  "x-enum-descriptions": [
@@ -28032,9 +28222,11 @@
28032
28222
  "已拒绝",
28033
28223
  "已退回",
28034
28224
  "已取消",
28225
+ "已回退(BPMN 回退箭头,流程未终结)",
28035
28226
  "审批通过",
28036
28227
  "审批拒绝",
28037
- "审批退回",
28228
+ "审批退回(终结)",
28229
+ "回退到 Maker(BPMN 循环,流程继续)",
28038
28230
  "提交/发起",
28039
28231
  "撤销/取消",
28040
28232
  "补充依据"
@@ -28046,9 +28238,11 @@
28046
28238
  "StatusRejected",
28047
28239
  "StatusReturned",
28048
28240
  "StatusCanceled",
28241
+ "StatusRollback",
28049
28242
  "ActionApprove",
28050
28243
  "ActionReject",
28051
28244
  "ActionReturn",
28245
+ "ActionRollback",
28052
28246
  "ActionSubmit",
28053
28247
  "ActionCancel",
28054
28248
  "ActionSupplement"
@@ -28556,6 +28750,14 @@
28556
28750
  "$ref": "#/components/schemas/models.AttachmentItem"
28557
28751
  }
28558
28752
  },
28753
+ "before": {
28754
+ "description": "变更前快照",
28755
+ "type": "object",
28756
+ "additionalProperties": {
28757
+ "type": "string"
28758
+ },
28759
+ "properties": {}
28760
+ },
28559
28761
  "id": {
28560
28762
  "description": "API密钥ID",
28561
28763
  "type": "string"
@@ -29722,6 +29924,14 @@
29722
29924
  "$ref": "#/components/schemas/models.AttachmentItem"
29723
29925
  }
29724
29926
  },
29927
+ "before": {
29928
+ "description": "变更前快照",
29929
+ "type": "object",
29930
+ "additionalProperties": {
29931
+ "type": "string"
29932
+ },
29933
+ "properties": {}
29934
+ },
29725
29935
  "publicKey": {
29726
29936
  "description": "公钥",
29727
29937
  "type": "string"
@@ -29733,6 +29943,10 @@
29733
29943
  "requestId": {
29734
29944
  "description": "请求ID",
29735
29945
  "type": "string"
29946
+ },
29947
+ "targetDesc": {
29948
+ "description": "目标说明",
29949
+ "type": "string"
29736
29950
  }
29737
29951
  }
29738
29952
  },
@@ -29759,6 +29973,14 @@
29759
29973
  "$ref": "#/components/schemas/models.AttachmentItem"
29760
29974
  }
29761
29975
  },
29976
+ "before": {
29977
+ "description": "变更前快照",
29978
+ "type": "object",
29979
+ "additionalProperties": {
29980
+ "type": "string"
29981
+ },
29982
+ "properties": {}
29983
+ },
29762
29984
  "hotAddressList": {
29763
29985
  "description": "热地址列表",
29764
29986
  "type": "array",
@@ -29773,6 +29995,10 @@
29773
29995
  "requestId": {
29774
29996
  "description": "请求ID",
29775
29997
  "type": "string"
29998
+ },
29999
+ "targetDesc": {
30000
+ "description": "目标说明",
30001
+ "type": "string"
29776
30002
  }
29777
30003
  }
29778
30004
  },
@@ -29789,10 +30015,24 @@
29789
30015
  "type": "object",
29790
30016
  "required": [
29791
30017
  "coldAddressList",
29792
- "publicKey",
29793
30018
  "requestId"
29794
30019
  ],
29795
30020
  "properties": {
30021
+ "attachments": {
30022
+ "description": "附件 [{fileId,name,type}]",
30023
+ "type": "array",
30024
+ "items": {
30025
+ "$ref": "#/components/schemas/models.AttachmentItem"
30026
+ }
30027
+ },
30028
+ "before": {
30029
+ "description": "变更前快照",
30030
+ "type": "object",
30031
+ "additionalProperties": {
30032
+ "type": "string"
30033
+ },
30034
+ "properties": {}
30035
+ },
29796
30036
  "coldAddressList": {
29797
30037
  "description": "冷地址列表",
29798
30038
  "type": "array",
@@ -29811,6 +30051,10 @@
29811
30051
  "requestId": {
29812
30052
  "description": "请求ID",
29813
30053
  "type": "string"
30054
+ },
30055
+ "targetDesc": {
30056
+ "description": "目标说明",
30057
+ "type": "string"
29814
30058
  }
29815
30059
  }
29816
30060
  },
@@ -30230,10 +30474,22 @@
30230
30474
  "$ref": "#/components/schemas/models.AttachmentItem"
30231
30475
  }
30232
30476
  },
30477
+ "before": {
30478
+ "description": "变更前快照",
30479
+ "type": "object",
30480
+ "additionalProperties": {
30481
+ "type": "string"
30482
+ },
30483
+ "properties": {}
30484
+ },
30233
30485
  "remark": {
30234
30486
  "description": "操作原因",
30235
30487
  "type": "string"
30236
30488
  },
30489
+ "targetDesc": {
30490
+ "description": "目标说明",
30491
+ "type": "string"
30492
+ },
30237
30493
  "userId": {
30238
30494
  "description": "用户ID",
30239
30495
  "type": "string"
@@ -30316,6 +30572,10 @@
30316
30572
  "userId"
30317
30573
  ],
30318
30574
  "properties": {
30575
+ "accountId": {
30576
+ "description": "accountId",
30577
+ "type": "string"
30578
+ },
30319
30579
  "attachments": {
30320
30580
  "description": "附件",
30321
30581
  "type": "array",
@@ -30323,6 +30583,14 @@
30323
30583
  "$ref": "#/components/schemas/models.AttachmentItem"
30324
30584
  }
30325
30585
  },
30586
+ "before": {
30587
+ "description": "变更前快照",
30588
+ "type": "object",
30589
+ "additionalProperties": {
30590
+ "type": "string"
30591
+ },
30592
+ "properties": {}
30593
+ },
30326
30594
  "credentialId": {
30327
30595
  "description": "Credential ID(密钥ID)",
30328
30596
  "type": "string"
@@ -30345,6 +30613,10 @@
30345
30613
  "userId"
30346
30614
  ],
30347
30615
  "properties": {
30616
+ "accountId": {
30617
+ "description": "accountId",
30618
+ "type": "string"
30619
+ },
30348
30620
  "attachments": {
30349
30621
  "description": "附件",
30350
30622
  "type": "array",
@@ -30352,6 +30624,14 @@
30352
30624
  "$ref": "#/components/schemas/models.AttachmentItem"
30353
30625
  }
30354
30626
  },
30627
+ "before": {
30628
+ "description": "变更前快照",
30629
+ "type": "object",
30630
+ "additionalProperties": {
30631
+ "type": "string"
30632
+ },
30633
+ "properties": {}
30634
+ },
30355
30635
  "deviceId": {
30356
30636
  "description": "设备ID",
30357
30637
  "type": "string"
@@ -30426,6 +30706,14 @@
30426
30706
  "description": "自动归集:true-开启,false-关闭",
30427
30707
  "type": "string"
30428
30708
  },
30709
+ "before": {
30710
+ "description": "变更前快照",
30711
+ "type": "object",
30712
+ "additionalProperties": {
30713
+ "type": "string"
30714
+ },
30715
+ "properties": {}
30716
+ },
30429
30717
  "coinType": {
30430
30718
  "description": "币种",
30431
30719
  "type": "string"
@@ -30445,6 +30733,10 @@
30445
30733
  "remark": {
30446
30734
  "description": "备注",
30447
30735
  "type": "string"
30736
+ },
30737
+ "targetDesc": {
30738
+ "description": "目标说明",
30739
+ "type": "string"
30448
30740
  }
30449
30741
  }
30450
30742
  },
@@ -30477,6 +30769,14 @@
30477
30769
  "$ref": "#/components/schemas/models.AttachmentItem"
30478
30770
  }
30479
30771
  },
30772
+ "before": {
30773
+ "description": "变更前快照",
30774
+ "type": "object",
30775
+ "additionalProperties": {
30776
+ "type": "string"
30777
+ },
30778
+ "properties": {}
30779
+ },
30480
30780
  "coinType": {
30481
30781
  "description": "币种:ALL(所有)/ALL_PAUSE(全部暂停)/ALL_ENABLE(全部启用)/具体币种(如ETH)",
30482
30782
  "type": "string"
@@ -30492,6 +30792,10 @@
30492
30792
  "status": {
30493
30793
  "description": "true(启用)/false(暂停)",
30494
30794
  "type": "string"
30795
+ },
30796
+ "targetDesc": {
30797
+ "description": "目标说明",
30798
+ "type": "string"
30495
30799
  }
30496
30800
  }
30497
30801
  },
@@ -32415,9 +32719,21 @@
32415
32719
  "$ref": "#/components/schemas/models.AttachmentItem"
32416
32720
  }
32417
32721
  },
32722
+ "before": {
32723
+ "description": "before",
32724
+ "type": "object",
32725
+ "additionalProperties": {
32726
+ "type": "string"
32727
+ },
32728
+ "properties": {}
32729
+ },
32418
32730
  "remark": {
32419
32731
  "description": "备注",
32420
32732
  "type": "string"
32733
+ },
32734
+ "targetDesc": {
32735
+ "description": "目标说明",
32736
+ "type": "string"
32421
32737
  }
32422
32738
  }
32423
32739
  },
@@ -32779,6 +33095,14 @@
32779
33095
  "$ref": "#/components/schemas/models.AttachmentItem"
32780
33096
  }
32781
33097
  },
33098
+ "before": {
33099
+ "description": "变更前快照",
33100
+ "type": "object",
33101
+ "additionalProperties": {
33102
+ "type": "string"
33103
+ },
33104
+ "properties": {}
33105
+ },
32782
33106
  "beforeMakerFee": {
32783
33107
  "description": "修改前 MakerFee",
32784
33108
  "type": "string"
@@ -33546,6 +33870,14 @@
33546
33870
  "$ref": "#/components/schemas/models.AttachmentItem"
33547
33871
  }
33548
33872
  },
33873
+ "before": {
33874
+ "description": "变更前快照",
33875
+ "type": "object",
33876
+ "additionalProperties": {
33877
+ "type": "string"
33878
+ },
33879
+ "properties": {}
33880
+ },
33549
33881
  "beforeConfirmations": {
33550
33882
  "description": "修改前确认数",
33551
33883
  "type": "string"
@@ -33798,6 +34130,21 @@
33798
34130
  "models.WalletFuseReq": {
33799
34131
  "type": "object",
33800
34132
  "properties": {
34133
+ "attachments": {
34134
+ "description": "附件",
34135
+ "type": "array",
34136
+ "items": {
34137
+ "$ref": "#/components/schemas/models.AttachmentItem"
34138
+ }
34139
+ },
34140
+ "before": {
34141
+ "description": "变更前快照",
34142
+ "type": "object",
34143
+ "additionalProperties": {
34144
+ "type": "string"
34145
+ },
34146
+ "properties": {}
34147
+ },
33801
34148
  "network": {
33802
34149
  "description": "网络 全部传递ALL",
33803
34150
  "type": "string"
@@ -33807,8 +34154,12 @@
33807
34154
  "type": "string"
33808
34155
  },
33809
34156
  "state": {
33810
- "description": "当前状态‘",
34157
+ "description": "当前状态'",
33811
34158
  "type": "boolean"
34159
+ },
34160
+ "targetDesc": {
34161
+ "description": "目标说明",
34162
+ "type": "string"
33812
34163
  }
33813
34164
  }
33814
34165
  },
@@ -34015,6 +34366,14 @@
34015
34366
  "$ref": "#/components/schemas/models.AttachmentItem"
34016
34367
  }
34017
34368
  },
34369
+ "before": {
34370
+ "description": "变更前快照",
34371
+ "type": "object",
34372
+ "additionalProperties": {
34373
+ "type": "string"
34374
+ },
34375
+ "properties": {}
34376
+ },
34018
34377
  "remark": {
34019
34378
  "description": "操作原因",
34020
34379
  "type": "string"
@@ -34025,6 +34384,10 @@
34025
34384
  "items": {
34026
34385
  "$ref": "#/components/schemas/models.SymbolPermissions"
34027
34386
  }
34387
+ },
34388
+ "targetDesc": {
34389
+ "description": "目标说明",
34390
+ "type": "string"
34028
34391
  }
34029
34392
  }
34030
34393
  },
@@ -34153,9 +34516,21 @@
34153
34516
  "$ref": "#/components/schemas/models.AttachmentItem"
34154
34517
  }
34155
34518
  },
34519
+ "before": {
34520
+ "description": "变更前快照",
34521
+ "type": "object",
34522
+ "additionalProperties": {
34523
+ "type": "string"
34524
+ },
34525
+ "properties": {}
34526
+ },
34156
34527
  "remark": {
34157
34528
  "description": "操作原因",
34158
34529
  "type": "string"
34530
+ },
34531
+ "targetDesc": {
34532
+ "description": "目标说明",
34533
+ "type": "string"
34159
34534
  }
34160
34535
  }
34161
34536
  },
@@ -34489,6 +34864,14 @@
34489
34864
  "$ref": "#/components/schemas/models.AttachmentItem"
34490
34865
  }
34491
34866
  },
34867
+ "before": {
34868
+ "description": "变更前快照",
34869
+ "type": "object",
34870
+ "additionalProperties": {
34871
+ "type": "string"
34872
+ },
34873
+ "properties": {}
34874
+ },
34492
34875
  "beforeStatus": {
34493
34876
  "description": "修改前交易状态",
34494
34877
  "type": "string"
@@ -35589,6 +35972,14 @@
35589
35972
  "$ref": "#/components/schemas/models.AttachmentItem"
35590
35973
  }
35591
35974
  },
35975
+ "before": {
35976
+ "description": "变更前快照",
35977
+ "type": "object",
35978
+ "additionalProperties": {
35979
+ "type": "string"
35980
+ },
35981
+ "properties": {}
35982
+ },
35592
35983
  "remark": {
35593
35984
  "description": "操作原因",
35594
35985
  "type": "string"
@@ -37280,6 +37671,14 @@
37280
37671
  "$ref": "#/components/schemas/models.AttachmentItem"
37281
37672
  }
37282
37673
  },
37674
+ "before": {
37675
+ "description": "变更前快照",
37676
+ "type": "object",
37677
+ "additionalProperties": {
37678
+ "type": "string"
37679
+ },
37680
+ "properties": {}
37681
+ },
37283
37682
  "coinType": {
37284
37683
  "description": "币种",
37285
37684
  "type": "string"
@@ -37296,6 +37695,10 @@
37296
37695
  "description": "备注",
37297
37696
  "type": "string"
37298
37697
  },
37698
+ "targetDesc": {
37699
+ "description": "目标说明",
37700
+ "type": "string"
37701
+ },
37299
37702
  "threshold": {
37300
37703
  "description": "大额交易阈值",
37301
37704
  "type": "string"
@@ -37399,6 +37802,14 @@
37399
37802
  "$ref": "#/components/schemas/models.AttachmentItem"
37400
37803
  }
37401
37804
  },
37805
+ "before": {
37806
+ "description": "变更前快照",
37807
+ "type": "object",
37808
+ "additionalProperties": {
37809
+ "type": "string"
37810
+ },
37811
+ "properties": {}
37812
+ },
37402
37813
  "fromAddress": {
37403
37814
  "description": "转出地址",
37404
37815
  "type": "string"
@@ -37411,6 +37822,10 @@
37411
37822
  "description": "备注",
37412
37823
  "type": "string"
37413
37824
  },
37825
+ "targetDesc": {
37826
+ "description": "目标说明",
37827
+ "type": "string"
37828
+ },
37414
37829
  "toAddress": {
37415
37830
  "description": "转入地址",
37416
37831
  "type": "string"
@@ -38425,6 +38840,7 @@
38425
38840
  "models.GasSettingReq": {
38426
38841
  "type": "object",
38427
38842
  "required": [
38843
+ "coinType",
38428
38844
  "gasUsageLimit",
38429
38845
  "network",
38430
38846
  "normalGasUsage"
@@ -38437,6 +38853,18 @@
38437
38853
  "$ref": "#/components/schemas/models.AttachmentItem"
38438
38854
  }
38439
38855
  },
38856
+ "before": {
38857
+ "description": "变更前快照",
38858
+ "type": "object",
38859
+ "additionalProperties": {
38860
+ "type": "string"
38861
+ },
38862
+ "properties": {}
38863
+ },
38864
+ "coinType": {
38865
+ "description": "币种",
38866
+ "type": "string"
38867
+ },
38440
38868
  "gasUsageLimit": {
38441
38869
  "description": "Gas消耗上限",
38442
38870
  "type": "string"
@@ -38452,6 +38880,10 @@
38452
38880
  "remark": {
38453
38881
  "description": "备注",
38454
38882
  "type": "string"
38883
+ },
38884
+ "targetDesc": {
38885
+ "description": "目标说明",
38886
+ "type": "string"
38455
38887
  }
38456
38888
  }
38457
38889
  },
@@ -38951,6 +39383,14 @@
38951
39383
  "$ref": "#/components/schemas/models.AttachmentItem"
38952
39384
  }
38953
39385
  },
39386
+ "before": {
39387
+ "description": "变更前快照",
39388
+ "type": "object",
39389
+ "additionalProperties": {
39390
+ "type": "string"
39391
+ },
39392
+ "properties": {}
39393
+ },
38954
39394
  "beforeConfirmations": {
38955
39395
  "description": "修改前确认数",
38956
39396
  "type": "string"
@@ -41322,6 +41762,18 @@
41322
41762
  "avatar": {
41323
41763
  "type": "string"
41324
41764
  },
41765
+ "before": {
41766
+ "description": "修改前的值",
41767
+ "type": "object",
41768
+ "additionalProperties": {
41769
+ "type": "string"
41770
+ },
41771
+ "properties": {}
41772
+ },
41773
+ "comment": {
41774
+ "type": "string",
41775
+ "maxLength": 100
41776
+ },
41325
41777
  "createBy": {
41326
41778
  "type": "integer"
41327
41779
  },
@@ -41341,7 +41793,8 @@
41341
41793
  "type": "integer"
41342
41794
  },
41343
41795
  "remark": {
41344
- "type": "string"
41796
+ "type": "string",
41797
+ "maxLength": 100
41345
41798
  },
41346
41799
  "roleId": {
41347
41800
  "type": "integer"
@@ -41378,6 +41831,10 @@
41378
41831
  "avatar": {
41379
41832
  "type": "string"
41380
41833
  },
41834
+ "comment": {
41835
+ "type": "string",
41836
+ "maxLength": 100
41837
+ },
41381
41838
  "createBy": {
41382
41839
  "type": "integer"
41383
41840
  },
@@ -41444,6 +41901,10 @@
41444
41901
  "additionalProperties": true,
41445
41902
  "properties": {}
41446
41903
  },
41904
+ "comment": {
41905
+ "description": "备注",
41906
+ "type": "string"
41907
+ },
41447
41908
  "createBy": {
41448
41909
  "type": "integer"
41449
41910
  },
@@ -41506,6 +41967,10 @@
41506
41967
  "$ref": "#/components/schemas/gitlab_finex18_com_kun_exchange-admin-backend_app_admin_models.SysMenu"
41507
41968
  }
41508
41969
  },
41970
+ "targetDesc": {
41971
+ "description": "目标说明",
41972
+ "type": "string"
41973
+ },
41509
41974
  "updateBy": {
41510
41975
  "type": "integer"
41511
41976
  }
@@ -41532,6 +41997,10 @@
41532
41997
  },
41533
41998
  "properties": {}
41534
41999
  },
42000
+ "comment": {
42001
+ "description": "备注",
42002
+ "type": "string"
42003
+ },
41535
42004
  "createBy": {
41536
42005
  "type": "integer"
41537
42006
  },
@@ -41590,6 +42059,10 @@
41590
42059
  "$ref": "#/components/schemas/gitlab_finex18_com_kun_exchange-admin-backend_app_admin_models.SysMenu"
41591
42060
  }
41592
42061
  },
42062
+ "targetDesc": {
42063
+ "description": "目标说明",
42064
+ "type": "string"
42065
+ },
41593
42066
  "updateBy": {
41594
42067
  "type": "integer"
41595
42068
  }
@@ -41620,6 +42093,10 @@
41620
42093
  "remark": {
41621
42094
  "description": "工单备注",
41622
42095
  "type": "string"
42096
+ },
42097
+ "targetDesc": {
42098
+ "description": "目标说明",
42099
+ "type": "string"
41623
42100
  }
41624
42101
  }
41625
42102
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fx-spec-hub",
3
- "version": "0.0.32",
3
+ "version": "0.0.34",
4
4
  "description": "API 规范中心/控制台",
5
5
  "type": "commonjs",
6
6
  "main": "./dist/index.js",