fx-spec-hub 0.0.16 → 0.0.17

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.
@@ -24780,53 +24780,6 @@
24780
24780
  "security": []
24781
24781
  }
24782
24782
  },
24783
- "/api/v1/ticket/detail": {
24784
- "get": {
24785
- "summary": "工单详情",
24786
- "deprecated": false,
24787
- "description": "根据工单编号查询详情,包含工作流状态和审批日志",
24788
- "tags": [
24789
- "Ticket"
24790
- ],
24791
- "parameters": [
24792
- {
24793
- "name": "ticketNo",
24794
- "in": "query",
24795
- "description": "工单编号",
24796
- "required": true,
24797
- "schema": {
24798
- "type": "string"
24799
- }
24800
- }
24801
- ],
24802
- "responses": {
24803
- "200": {
24804
- "description": "OK",
24805
- "content": {
24806
- "application/json": {
24807
- "schema": {
24808
- "allOf": [
24809
- {
24810
- "$ref": "#/components/schemas/response.Response"
24811
- },
24812
- {
24813
- "type": "object",
24814
- "properties": {
24815
- "data": {
24816
- "$ref": "#/components/schemas/models.TicketDetailResponse"
24817
- }
24818
- }
24819
- }
24820
- ]
24821
- }
24822
- }
24823
- },
24824
- "headers": {}
24825
- }
24826
- },
24827
- "security": []
24828
- }
24829
- },
24830
24783
  "/api/v1/ticket/list": {
24831
24784
  "post": {
24832
24785
  "summary": "工单列表",
@@ -24995,47 +24948,32 @@
24995
24948
  "security": []
24996
24949
  }
24997
24950
  },
24998
- "/api/v1/ticket/progress": {
24999
- "get": {
25000
- "summary": "审核进度",
24951
+ "/api/v1/ticket/reject": {
24952
+ "post": {
24953
+ "summary": "工单审批拒绝",
25001
24954
  "deprecated": false,
25002
- "description": "查询工单的审批流程进度",
24955
+ "description": "通过工单编号执行拒绝操作",
25003
24956
  "tags": [
25004
24957
  "Ticket"
25005
24958
  ],
25006
- "parameters": [
25007
- {
25008
- "name": "ticketNo",
25009
- "in": "query",
25010
- "description": "工单编号",
25011
- "required": true,
25012
- "schema": {
25013
- "type": "string"
24959
+ "parameters": [],
24960
+ "requestBody": {
24961
+ "content": {
24962
+ "application/json": {
24963
+ "schema": {
24964
+ "$ref": "#/components/schemas/models.TicketRejectReq"
24965
+ }
25014
24966
  }
25015
- }
25016
- ],
24967
+ },
24968
+ "required": true
24969
+ },
25017
24970
  "responses": {
25018
24971
  "200": {
25019
24972
  "description": "OK",
25020
24973
  "content": {
25021
24974
  "application/json": {
25022
24975
  "schema": {
25023
- "allOf": [
25024
- {
25025
- "$ref": "#/components/schemas/response.Response"
25026
- },
25027
- {
25028
- "type": "object",
25029
- "properties": {
25030
- "data": {
25031
- "type": "array",
25032
- "items": {
25033
- "$ref": "#/components/schemas/models.ApprovalProgressItem"
25034
- }
25035
- }
25036
- }
25037
- }
25038
- ]
24976
+ "$ref": "#/components/schemas/response.Response"
25039
24977
  }
25040
24978
  }
25041
24979
  },
@@ -25045,11 +24983,11 @@
25045
24983
  "security": []
25046
24984
  }
25047
24985
  },
25048
- "/api/v1/ticket/reject": {
24986
+ "/api/v1/ticket/supplement": {
25049
24987
  "post": {
25050
- "summary": "工单审批拒绝",
24988
+ "summary": "补充依据",
25051
24989
  "deprecated": false,
25052
- "description": "通过工单编号执行拒绝操作",
24990
+ "description": "为处理中的工单补充材料,不修改工单状态,仅新增审核日志",
25053
24991
  "tags": [
25054
24992
  "Ticket"
25055
24993
  ],
@@ -25058,7 +24996,7 @@
25058
24996
  "content": {
25059
24997
  "application/json": {
25060
24998
  "schema": {
25061
- "$ref": "#/components/schemas/models.TicketRejectReq"
24999
+ "$ref": "#/components/schemas/models.SupplementReq"
25062
25000
  }
25063
25001
  }
25064
25002
  },
@@ -25080,15 +25018,25 @@
25080
25018
  "security": []
25081
25019
  }
25082
25020
  },
25083
- "/api/v1/ticket/stats": {
25084
- "get": {
25085
- "summary": "工单统计",
25021
+ "/api/v1/ticket/detail": {
25022
+ "post": {
25023
+ "summary": "工单详情(含审核进度)",
25086
25024
  "deprecated": false,
25087
- "description": "返回各状态工单数量,用于 Tab 角标",
25025
+ "description": "根据工单编号查询详情,包含工单信息、变更对比、审批日志和审核进度",
25088
25026
  "tags": [
25089
25027
  "Ticket"
25090
25028
  ],
25091
25029
  "parameters": [],
25030
+ "requestBody": {
25031
+ "content": {
25032
+ "application/json": {
25033
+ "schema": {
25034
+ "$ref": "#/components/schemas/Data"
25035
+ }
25036
+ }
25037
+ },
25038
+ "required": true
25039
+ },
25092
25040
  "responses": {
25093
25041
  "200": {
25094
25042
  "description": "OK",
@@ -25103,7 +25051,7 @@
25103
25051
  "type": "object",
25104
25052
  "properties": {
25105
25053
  "data": {
25106
- "$ref": "#/components/schemas/models.TicketStats"
25054
+ "$ref": "#/components/schemas/models.TicketDetailResponse"
25107
25055
  }
25108
25056
  }
25109
25057
  }
@@ -25117,11 +25065,11 @@
25117
25065
  "security": []
25118
25066
  }
25119
25067
  },
25120
- "/api/v1/ticket/supplement": {
25068
+ "/api/v1/ticket/progress": {
25121
25069
  "post": {
25122
- "summary": "补充依据",
25070
+ "summary": "审核进度",
25123
25071
  "deprecated": false,
25124
- "description": "为处理中的工单补充材料,不修改工单状态,仅新增审核日志",
25072
+ "description": "查询工单审批流程进度,含各层级状态、审核人、补充材料",
25125
25073
  "tags": [
25126
25074
  "Ticket"
25127
25075
  ],
@@ -25130,7 +25078,7 @@
25130
25078
  "content": {
25131
25079
  "application/json": {
25132
25080
  "schema": {
25133
- "$ref": "#/components/schemas/models.SupplementReq"
25081
+ "$ref": "#/components/schemas/Data"
25134
25082
  }
25135
25083
  }
25136
25084
  },
@@ -25142,7 +25090,59 @@
25142
25090
  "content": {
25143
25091
  "application/json": {
25144
25092
  "schema": {
25145
- "$ref": "#/components/schemas/response.Response"
25093
+ "allOf": [
25094
+ {
25095
+ "$ref": "#/components/schemas/response.Response"
25096
+ },
25097
+ {
25098
+ "type": "object",
25099
+ "properties": {
25100
+ "data": {
25101
+ "type": "array",
25102
+ "items": {
25103
+ "$ref": "#/components/schemas/models.ApprovalProgressItem"
25104
+ }
25105
+ }
25106
+ }
25107
+ }
25108
+ ]
25109
+ }
25110
+ }
25111
+ },
25112
+ "headers": {}
25113
+ }
25114
+ },
25115
+ "security": []
25116
+ }
25117
+ },
25118
+ "/api/v1/ticket/stats": {
25119
+ "post": {
25120
+ "summary": "工单统计",
25121
+ "deprecated": false,
25122
+ "description": "返回各状态工单数量,用于 Tab 角标(待办/处理中/已办结)",
25123
+ "tags": [
25124
+ "Ticket"
25125
+ ],
25126
+ "parameters": [],
25127
+ "responses": {
25128
+ "200": {
25129
+ "description": "OK",
25130
+ "content": {
25131
+ "application/json": {
25132
+ "schema": {
25133
+ "allOf": [
25134
+ {
25135
+ "$ref": "#/components/schemas/response.Response"
25136
+ },
25137
+ {
25138
+ "type": "object",
25139
+ "properties": {
25140
+ "data": {
25141
+ "$ref": "#/components/schemas/models.TicketStats"
25142
+ }
25143
+ }
25144
+ }
25145
+ ]
25146
25146
  }
25147
25147
  }
25148
25148
  },
@@ -31395,6 +31395,14 @@
31395
31395
  }
31396
31396
  }
31397
31397
  },
31398
+ "Data": {
31399
+ "type": "object",
31400
+ "properties": {
31401
+ "ticketNo": {
31402
+ "type": "string"
31403
+ }
31404
+ }
31405
+ },
31398
31406
  "apis.ExportRequest": {
31399
31407
  "type": "object",
31400
31408
  "required": [
@@ -46600,6 +46608,7 @@
46600
46608
  "types.InstanceStatus": {
46601
46609
  "type": "string",
46602
46610
  "enum": [
46611
+ "SUBMITTED",
46603
46612
  "PENDING",
46604
46613
  "APPROVED",
46605
46614
  "REJECTED",
@@ -46608,16 +46617,19 @@
46608
46617
  "x-enum-comments": {
46609
46618
  "StatusApproved": "已通过",
46610
46619
  "StatusCanceled": "已取消",
46611
- "StatusPending": "待审批",
46612
- "StatusRejected": "已拒绝"
46620
+ "StatusPending": "处理中(审批流程进行中)",
46621
+ "StatusRejected": "已拒绝",
46622
+ "StatusSubmitted": "待审核(刚提交,未开始审批)"
46613
46623
  },
46614
46624
  "x-enum-descriptions": [
46615
- "待审批",
46625
+ "待审核(刚提交,未开始审批)",
46626
+ "处理中(审批流程进行中)",
46616
46627
  "已通过",
46617
46628
  "已拒绝",
46618
46629
  "已取消"
46619
46630
  ],
46620
46631
  "x-enum-varnames": [
46632
+ "StatusSubmitted",
46621
46633
  "StatusPending",
46622
46634
  "StatusApproved",
46623
46635
  "StatusRejected",
@@ -47460,7 +47472,7 @@
47460
47472
  "type": "integer"
47461
47473
  },
47462
47474
  "createdAt": {
47463
- "type": "string"
47475
+ "type": "integer"
47464
47476
  },
47465
47477
  "currentLevel": {
47466
47478
  "type": "integer"
@@ -47496,10 +47508,17 @@
47496
47508
  "models.TicketListReq": {
47497
47509
  "type": "object",
47498
47510
  "properties": {
47499
- "bizCode": {
47500
- "description": "业务类型(可选)",
47511
+ "bizCategory": {
47512
+ "description": "业务分类筛选(如WALLET/IDENTITY,匹配该分类下所有bizCode)",
47501
47513
  "type": "string"
47502
47514
  },
47515
+ "bizCode": {
47516
+ "description": "业务类型(可选,支持多选)",
47517
+ "type": "array",
47518
+ "items": {
47519
+ "type": "string"
47520
+ }
47521
+ },
47503
47522
  "bizId": {
47504
47523
  "description": "业务来源ID(可选)",
47505
47524
  "type": "string"
@@ -47576,6 +47595,9 @@
47576
47595
  "type": "integer"
47577
47596
  }
47578
47597
  },
47598
+ "bizCategory": {
47599
+ "type": "string"
47600
+ },
47579
47601
  "bizCode": {
47580
47602
  "type": "string"
47581
47603
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fx-spec-hub",
3
- "version": "0.0.16",
3
+ "version": "0.0.17",
4
4
  "description": "API 规范中心/控制台",
5
5
  "type": "commonjs",
6
6
  "main": "./dist/index.js",
@@ -56,5 +56,6 @@
56
56
  "terser": "^5.43.1",
57
57
  "tsx": "^4.19.3",
58
58
  "typescript": "^5.8.2"
59
- }
59
+ },
60
+ "packageManager": "pnpm@10.29.2+sha512.bef43fa759d91fd2da4b319a5a0d13ef7a45bb985a3d7342058470f9d2051a3ba8674e629672654686ef9443ad13a82da2beb9eeb3e0221c87b8154fff9d74b8"
60
61
  }