fx-spec-hub 0.0.32 → 0.0.33

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,22 @@
25880
25959
  },
25881
25960
  "components": {
25882
25961
  "schemas": {
25962
+ "models.ResetTicketReq": {
25963
+ "type": "object",
25964
+ "required": [
25965
+ "ticketNo"
25966
+ ],
25967
+ "properties": {
25968
+ "remark": {
25969
+ "description": "重置原因",
25970
+ "type": "string"
25971
+ },
25972
+ "ticketNo": {
25973
+ "description": "工单编号",
25974
+ "type": "string"
25975
+ }
25976
+ }
25977
+ },
25883
25978
  "models.DashboardRefreshTimeResp": {
25884
25979
  "type": "object",
25885
25980
  "properties": {
@@ -27118,6 +27213,9 @@
27118
27213
  "instanceId": {
27119
27214
  "type": "string"
27120
27215
  },
27216
+ "level": {
27217
+ "type": "integer"
27218
+ },
27121
27219
  "reason": {
27122
27220
  "type": "string"
27123
27221
  },
@@ -27126,6 +27224,14 @@
27126
27224
  },
27127
27225
  "role": {
27128
27226
  "type": "string"
27227
+ },
27228
+ "variables": {
27229
+ "description": "审批时工作流变量快照",
27230
+ "type": "object",
27231
+ "additionalProperties": {
27232
+ "type": "string"
27233
+ },
27234
+ "properties": {}
27129
27235
  }
27130
27236
  }
27131
27237
  },
@@ -27271,6 +27377,9 @@
27271
27377
  "instanceId": {
27272
27378
  "type": "string"
27273
27379
  },
27380
+ "level": {
27381
+ "type": "integer"
27382
+ },
27274
27383
  "reason": {
27275
27384
  "type": "string"
27276
27385
  },
@@ -27992,6 +28101,9 @@
27992
28101
  },
27993
28102
  "role": {
27994
28103
  "type": "string"
28104
+ },
28105
+ "variables": {
28106
+ "$ref": "#/components/schemas/types.JSONMap"
27995
28107
  }
27996
28108
  }
27997
28109
  },
@@ -30316,6 +30428,10 @@
30316
30428
  "userId"
30317
30429
  ],
30318
30430
  "properties": {
30431
+ "accountId": {
30432
+ "description": "accountId",
30433
+ "type": "string"
30434
+ },
30319
30435
  "attachments": {
30320
30436
  "description": "附件",
30321
30437
  "type": "array",
@@ -30345,6 +30461,10 @@
30345
30461
  "userId"
30346
30462
  ],
30347
30463
  "properties": {
30464
+ "accountId": {
30465
+ "description": "accountId",
30466
+ "type": "string"
30467
+ },
30348
30468
  "attachments": {
30349
30469
  "description": "附件",
30350
30470
  "type": "array",
@@ -32415,6 +32535,14 @@
32415
32535
  "$ref": "#/components/schemas/models.AttachmentItem"
32416
32536
  }
32417
32537
  },
32538
+ "before": {
32539
+ "description": "before",
32540
+ "type": "object",
32541
+ "additionalProperties": {
32542
+ "type": "string"
32543
+ },
32544
+ "properties": {}
32545
+ },
32418
32546
  "remark": {
32419
32547
  "description": "备注",
32420
32548
  "type": "string"
@@ -33798,6 +33926,13 @@
33798
33926
  "models.WalletFuseReq": {
33799
33927
  "type": "object",
33800
33928
  "properties": {
33929
+ "attachments": {
33930
+ "description": "附件",
33931
+ "type": "array",
33932
+ "items": {
33933
+ "$ref": "#/components/schemas/models.AttachmentItem"
33934
+ }
33935
+ },
33801
33936
  "network": {
33802
33937
  "description": "网络 全部传递ALL",
33803
33938
  "type": "string"
@@ -33807,7 +33942,7 @@
33807
33942
  "type": "string"
33808
33943
  },
33809
33944
  "state": {
33810
- "description": "当前状态‘",
33945
+ "description": "当前状态'",
33811
33946
  "type": "boolean"
33812
33947
  }
33813
33948
  }
@@ -41322,6 +41457,18 @@
41322
41457
  "avatar": {
41323
41458
  "type": "string"
41324
41459
  },
41460
+ "before": {
41461
+ "description": "修改前的值",
41462
+ "type": "object",
41463
+ "additionalProperties": {
41464
+ "type": "string"
41465
+ },
41466
+ "properties": {}
41467
+ },
41468
+ "comment": {
41469
+ "type": "string",
41470
+ "maxLength": 100
41471
+ },
41325
41472
  "createBy": {
41326
41473
  "type": "integer"
41327
41474
  },
@@ -41341,7 +41488,8 @@
41341
41488
  "type": "integer"
41342
41489
  },
41343
41490
  "remark": {
41344
- "type": "string"
41491
+ "type": "string",
41492
+ "maxLength": 100
41345
41493
  },
41346
41494
  "roleId": {
41347
41495
  "type": "integer"
@@ -41378,6 +41526,10 @@
41378
41526
  "avatar": {
41379
41527
  "type": "string"
41380
41528
  },
41529
+ "comment": {
41530
+ "type": "string",
41531
+ "maxLength": 100
41532
+ },
41381
41533
  "createBy": {
41382
41534
  "type": "integer"
41383
41535
  },
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.33",
4
4
  "description": "API 规范中心/控制台",
5
5
  "type": "commonjs",
6
6
  "main": "./dist/index.js",