proxy-api-mcp 1.0.0

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.
Files changed (144) hide show
  1. package/.env.example +57 -0
  2. package/README.md +443 -0
  3. package/api-tools.json.example +226 -0
  4. package/dist/examples/env-in-json-usage.d.ts +43 -0
  5. package/dist/examples/env-in-json-usage.d.ts.map +1 -0
  6. package/dist/examples/env-in-json-usage.js +242 -0
  7. package/dist/examples/env-in-json-usage.js.map +1 -0
  8. package/dist/examples/env-usage.d.ts +7 -0
  9. package/dist/examples/env-usage.d.ts.map +1 -0
  10. package/dist/examples/env-usage.js +108 -0
  11. package/dist/examples/env-usage.js.map +1 -0
  12. package/dist/examples/preprocessor-usage.d.ts +14 -0
  13. package/dist/examples/preprocessor-usage.d.ts.map +1 -0
  14. package/dist/examples/preprocessor-usage.js +196 -0
  15. package/dist/examples/preprocessor-usage.js.map +1 -0
  16. package/dist/src/config/env.d.ts +97 -0
  17. package/dist/src/config/env.d.ts.map +1 -0
  18. package/dist/src/config/env.js +228 -0
  19. package/dist/src/config/env.js.map +1 -0
  20. package/dist/src/core/registry.d.ts +59 -0
  21. package/dist/src/core/registry.d.ts.map +1 -0
  22. package/dist/src/core/registry.js +126 -0
  23. package/dist/src/core/registry.js.map +1 -0
  24. package/dist/src/core/router.d.ts +34 -0
  25. package/dist/src/core/router.d.ts.map +1 -0
  26. package/dist/src/core/router.js +108 -0
  27. package/dist/src/core/router.js.map +1 -0
  28. package/dist/src/core/server.d.ts +55 -0
  29. package/dist/src/core/server.d.ts.map +1 -0
  30. package/dist/src/core/server.js +159 -0
  31. package/dist/src/core/server.js.map +1 -0
  32. package/dist/src/core/session.d.ts +70 -0
  33. package/dist/src/core/session.d.ts.map +1 -0
  34. package/dist/src/core/session.js +171 -0
  35. package/dist/src/core/session.js.map +1 -0
  36. package/dist/src/core/transports/http.d.ts +16 -0
  37. package/dist/src/core/transports/http.d.ts.map +1 -0
  38. package/dist/src/core/transports/http.js +169 -0
  39. package/dist/src/core/transports/http.js.map +1 -0
  40. package/dist/src/core/transports/stdio.d.ts +9 -0
  41. package/dist/src/core/transports/stdio.d.ts.map +1 -0
  42. package/dist/src/core/transports/stdio.js +32 -0
  43. package/dist/src/core/transports/stdio.js.map +1 -0
  44. package/dist/src/index.d.ts +19 -0
  45. package/dist/src/index.d.ts.map +1 -0
  46. package/dist/src/index.js +22 -0
  47. package/dist/src/index.js.map +1 -0
  48. package/dist/src/server.d.ts +6 -0
  49. package/dist/src/server.d.ts.map +1 -0
  50. package/dist/src/server.js +121 -0
  51. package/dist/src/server.js.map +1 -0
  52. package/dist/src/tools/api/builder.d.ts +34 -0
  53. package/dist/src/tools/api/builder.d.ts.map +1 -0
  54. package/dist/src/tools/api/builder.js +196 -0
  55. package/dist/src/tools/api/builder.js.map +1 -0
  56. package/dist/src/tools/api/executor.d.ts +57 -0
  57. package/dist/src/tools/api/executor.d.ts.map +1 -0
  58. package/dist/src/tools/api/executor.js +317 -0
  59. package/dist/src/tools/api/executor.js.map +1 -0
  60. package/dist/src/tools/api/index.d.ts +12 -0
  61. package/dist/src/tools/api/index.d.ts.map +1 -0
  62. package/dist/src/tools/api/index.js +12 -0
  63. package/dist/src/tools/api/index.js.map +1 -0
  64. package/dist/src/tools/api/json/kingdee/kingdee_caiwukuaiji_chunaguanli.json +879 -0
  65. package/dist/src/tools/api/json/kingdee/kingdee_caiwukuaiji_yingfukuanguanli.json +1673 -0
  66. package/dist/src/tools/api/json/kingdee/kingdee_caiwukuaiji_yingshoukuanguanli.json +1081 -0
  67. package/dist/src/tools/api/json/kingdee/kingdee_caiwukuaiji_zongzhang.json +976 -0
  68. package/dist/src/tools/api/json/kingdee/kingdee_chengbenguanli_biaozhunchengbenfenxi.json +1 -0
  69. package/dist/src/tools/api/json/kingdee/kingdee_chengbenguanli_chanpinchengbenhesuan.json +1 -0
  70. package/dist/src/tools/api/json/kingdee/kingdee_chengbenguanli_cunhuohesuan.json +1858 -0
  71. package/dist/src/tools/api/json/kingdee/kingdee_gongyinglianguanli_caigouguanli.json +1 -0
  72. package/dist/src/tools/api/json/kingdee/kingdee_gongyinglianguanli_gongyingshangguanli.json +616 -0
  73. package/dist/src/tools/api/json/kingdee/kingdee_gongyinglianguanli_kucunguanli.json +858 -0
  74. package/dist/src/tools/api/json/kingdee/kingdee_gongyinglianguanli_xiaoshouguanli.json +858 -0
  75. package/dist/src/tools/api/json/kingdee/kingdee_gongyinglianguanli_zuzhijianjiesuan.json +858 -0
  76. package/dist/src/tools/api/json/kingdee/kingdee_jichuguanli_jichuziliao.json +867 -0
  77. package/dist/src/tools/api/json/kingdee/kingdee_jichuguanli_xiaoxipingtai.json +374 -0
  78. package/dist/src/tools/api/json/kingdee/kingdee_shengchanzhizao_chejianguanli.json +923 -0
  79. package/dist/src/tools/api/json/kingdee/kingdee_shengchanzhizao_gongchengshujuguanli.json +923 -0
  80. package/dist/src/tools/api/json/kingdee/kingdee_shengchanzhizao_shengchanguanli.json +858 -0
  81. package/dist/src/tools/api/json/kingdee/kingdee_shuiwuguanli_fapiaoguanli.json +1081 -0
  82. package/dist/src/tools/api/json/kingdee/kingdee_yuangongfuwu_renrenbaoxiao.json +858 -0
  83. package/dist/src/tools/api/json/kingdee/kingdee_zichanguanli_gudingzichan.json +1 -0
  84. package/dist/src/tools/api/json-config-loader.d.ts +28 -0
  85. package/dist/src/tools/api/json-config-loader.d.ts.map +1 -0
  86. package/dist/src/tools/api/json-config-loader.js +123 -0
  87. package/dist/src/tools/api/json-config-loader.js.map +1 -0
  88. package/dist/src/tools/api/json-config-mapping.d.ts +41 -0
  89. package/dist/src/tools/api/json-config-mapping.d.ts.map +1 -0
  90. package/dist/src/tools/api/json-config-mapping.js +138 -0
  91. package/dist/src/tools/api/json-config-mapping.js.map +1 -0
  92. package/dist/src/tools/api/loader.d.ts +38 -0
  93. package/dist/src/tools/api/loader.d.ts.map +1 -0
  94. package/dist/src/tools/api/loader.js +240 -0
  95. package/dist/src/tools/api/loader.js.map +1 -0
  96. package/dist/src/tools/api/preprocessor.d.ts +39 -0
  97. package/dist/src/tools/api/preprocessor.d.ts.map +1 -0
  98. package/dist/src/tools/api/preprocessor.js +64 -0
  99. package/dist/src/tools/api/preprocessor.js.map +1 -0
  100. package/dist/src/tools/api/preprocessors/example.d.ts +59 -0
  101. package/dist/src/tools/api/preprocessors/example.d.ts.map +1 -0
  102. package/dist/src/tools/api/preprocessors/example.js +133 -0
  103. package/dist/src/tools/api/preprocessors/example.js.map +1 -0
  104. package/dist/src/tools/api/preprocessors/index.d.ts +10 -0
  105. package/dist/src/tools/api/preprocessors/index.d.ts.map +1 -0
  106. package/dist/src/tools/api/preprocessors/index.js +29 -0
  107. package/dist/src/tools/api/preprocessors/index.js.map +1 -0
  108. package/dist/src/tools/api/preprocessors/kingdee.d.ts +24 -0
  109. package/dist/src/tools/api/preprocessors/kingdee.d.ts.map +1 -0
  110. package/dist/src/tools/api/preprocessors/kingdee.js +149 -0
  111. package/dist/src/tools/api/preprocessors/kingdee.js.map +1 -0
  112. package/dist/src/tools/api/types.d.ts +174 -0
  113. package/dist/src/tools/api/types.d.ts.map +1 -0
  114. package/dist/src/tools/api/types.js +5 -0
  115. package/dist/src/tools/api/types.js.map +1 -0
  116. package/dist/src/tools/examples/echo.d.ts +6 -0
  117. package/dist/src/tools/examples/echo.d.ts.map +1 -0
  118. package/dist/src/tools/examples/echo.js +61 -0
  119. package/dist/src/tools/examples/echo.js.map +1 -0
  120. package/dist/src/tools/types.d.ts +104 -0
  121. package/dist/src/tools/types.d.ts.map +1 -0
  122. package/dist/src/tools/types.js +15 -0
  123. package/dist/src/tools/types.js.map +1 -0
  124. package/dist/src/tools/validator.d.ts +27 -0
  125. package/dist/src/tools/validator.d.ts.map +1 -0
  126. package/dist/src/tools/validator.js +133 -0
  127. package/dist/src/tools/validator.js.map +1 -0
  128. package/dist/src/utils/cache.d.ts +14 -0
  129. package/dist/src/utils/cache.d.ts.map +1 -0
  130. package/dist/src/utils/cache.js +42 -0
  131. package/dist/src/utils/cache.js.map +1 -0
  132. package/dist/src/utils/env-replacer.d.ts +86 -0
  133. package/dist/src/utils/env-replacer.d.ts.map +1 -0
  134. package/dist/src/utils/env-replacer.js +196 -0
  135. package/dist/src/utils/env-replacer.js.map +1 -0
  136. package/dist/src/utils/errors.d.ts +102 -0
  137. package/dist/src/utils/errors.d.ts.map +1 -0
  138. package/dist/src/utils/errors.js +164 -0
  139. package/dist/src/utils/errors.js.map +1 -0
  140. package/dist/src/utils/logger.d.ts +77 -0
  141. package/dist/src/utils/logger.d.ts.map +1 -0
  142. package/dist/src/utils/logger.js +155 -0
  143. package/dist/src/utils/logger.js.map +1 -0
  144. package/package.json +73 -0
@@ -0,0 +1,976 @@
1
+ {
2
+ "version": "1.1.5",
3
+ "globals": {
4
+ "timeout": 30000,
5
+ "headers": {
6
+ "User-Agent": "DefinesysMCP/1.0"
7
+ }
8
+ },
9
+ "tools": [
10
+ {
11
+ "name": "bd_account_view",
12
+ "title": "科目-查看",
13
+ "description": "科目-查看",
14
+ "method": "POST",
15
+ "baseUrl": "${KINGDEE_DOMAIN:}",
16
+ "path": "/K3Cloud/Kingdee.BOS.WebApi.ServicesStub.DynamicFormService.View",
17
+ "requestBody": {
18
+ "description": "bd_account_view",
19
+ "required": true,
20
+ "contentType": "application/json",
21
+ "schema": {
22
+ "type": "object",
23
+ "properties": {
24
+ "formid": {
25
+ "type": "string",
26
+ "description": "It must be a fixed value",
27
+ "const": "BD_Account",
28
+ "default": "BD_Account"
29
+ },
30
+ "data": {
31
+ "type": "object",
32
+ "required": ["CreateOrgId", "Number", "Id", "IsSortBySeq"],
33
+ "properties": {
34
+ "CreateOrgId": {
35
+ "type": "integer",
36
+ "description": "创建者组织内码"
37
+ },
38
+ "Number": {
39
+ "type": "string",
40
+ "description": "单据编码,字符串类型"
41
+ },
42
+ "Id": {
43
+ "type": "string",
44
+ "description": "表单内码"
45
+ },
46
+ "IsSortBySeq": {
47
+ "type": "boolean",
48
+ "description": "单据体是否按序号排序"
49
+ }
50
+ }
51
+ }
52
+ },
53
+ "required": ["formid", "data"]
54
+ }
55
+ },
56
+ "enabled": true
57
+ },
58
+ {
59
+ "name": "bd_account_execute_bill_query",
60
+ "title": "科目-单据查询",
61
+ "description": "科目-单据查询",
62
+ "method": "POST",
63
+ "baseUrl": "${KINGDEE_DOMAIN:}",
64
+ "path": "/K3Cloud/Kingdee.BOS.WebApi.ServicesStub.DynamicFormService.ExecuteBillQuery",
65
+ "requestBody": {
66
+ "description": "bd_account_execute_bill_query",
67
+ "required": true,
68
+ "contentType": "application/json",
69
+ "schema": {
70
+ "type": "object",
71
+ "properties": {
72
+ "data": {
73
+ "type": "object",
74
+ "required": ["FormId", "FieldKeys"],
75
+ "properties": {
76
+ "FormId": {
77
+ "type": "string",
78
+ "description": "It must be a fixed value",
79
+ "const": "BD_Account",
80
+ "default": "BD_Account"
81
+ },
82
+ "FieldKeys": {
83
+ "type": "string",
84
+ "description": "需查询的字段key集合"
85
+ },
86
+ "FilterString": {
87
+ "type": "array",
88
+ "description": "过滤条件"
89
+ },
90
+ "OrderString": {
91
+ "type": "string",
92
+ "description": "排序字段"
93
+ },
94
+ "TopRowCount": {
95
+ "type": "integer",
96
+ "description": "返回总行数",
97
+ "default": 0
98
+ },
99
+ "StartRow": {
100
+ "type": "integer",
101
+ "description": "开始行索引"
102
+ },
103
+ "Limit": {
104
+ "type": "integer",
105
+ "description": "最大行数"
106
+ },
107
+ "SubSystemId": {
108
+ "type": "string",
109
+ "description": "表单所在的子系统内码"
110
+ }
111
+ }
112
+ }
113
+ },
114
+ "required": ["data"]
115
+ }
116
+ },
117
+ "enabled": true
118
+ },
119
+ {
120
+ "name": "bd_account_book_view",
121
+ "title": "账簿-查看",
122
+ "description": "账簿-查看",
123
+ "method": "POST",
124
+ "baseUrl": "${KINGDEE_DOMAIN:}",
125
+ "path": "/K3Cloud/Kingdee.BOS.WebApi.ServicesStub.DynamicFormService.View",
126
+ "requestBody": {
127
+ "description": "bd_account_book_view",
128
+ "required": true,
129
+ "contentType": "application/json",
130
+ "schema": {
131
+ "type": "object",
132
+ "properties": {
133
+ "formid": {
134
+ "type": "string",
135
+ "description": "It must be a fixed value",
136
+ "const": "BD_AccountBook",
137
+ "default": "BD_AccountBook"
138
+ },
139
+ "data": {
140
+ "type": "object",
141
+ "required": ["CreateOrgId", "Number", "Id", "IsSortBySeq"],
142
+ "properties": {
143
+ "CreateOrgId": {
144
+ "type": "integer",
145
+ "description": "创建者组织内码"
146
+ },
147
+ "Number": {
148
+ "type": "string",
149
+ "description": "单据编码,字符串类型"
150
+ },
151
+ "Id": {
152
+ "type": "string",
153
+ "description": "表单内码"
154
+ },
155
+ "IsSortBySeq": {
156
+ "type": "boolean",
157
+ "description": "单据体是否按序号排序"
158
+ }
159
+ }
160
+ }
161
+ },
162
+ "required": ["formid", "data"]
163
+ }
164
+ },
165
+ "enabled": true
166
+ },
167
+ {
168
+ "name": "bd_account_book_execute_bill_query",
169
+ "title": "账簿-单据查询",
170
+ "description": "账簿-单据查询",
171
+ "method": "POST",
172
+ "baseUrl": "${KINGDEE_DOMAIN:}",
173
+ "path": "/K3Cloud/Kingdee.BOS.WebApi.ServicesStub.DynamicFormService.ExecuteBillQuery",
174
+ "requestBody": {
175
+ "description": "bd_account_book_execute_bill_query",
176
+ "required": true,
177
+ "contentType": "application/json",
178
+ "schema": {
179
+ "type": "object",
180
+ "properties": {
181
+ "data": {
182
+ "type": "object",
183
+ "required": ["FormId", "FieldKeys"],
184
+ "properties": {
185
+ "FormId": {
186
+ "type": "string",
187
+ "description": "It must be a fixed value",
188
+ "const": "BD_AccountBook",
189
+ "default": "BD_AccountBook"
190
+ },
191
+ "FieldKeys": {
192
+ "type": "string",
193
+ "description": "需查询的字段key集合"
194
+ },
195
+ "FilterString": {
196
+ "type": "array",
197
+ "description": "过滤条件"
198
+ },
199
+ "OrderString": {
200
+ "type": "string",
201
+ "description": "排序字段"
202
+ },
203
+ "TopRowCount": {
204
+ "type": "integer",
205
+ "description": "返回总行数",
206
+ "default": 0
207
+ },
208
+ "StartRow": {
209
+ "type": "integer",
210
+ "description": "开始行索引"
211
+ },
212
+ "Limit": {
213
+ "type": "integer",
214
+ "description": "最大行数"
215
+ },
216
+ "SubSystemId": {
217
+ "type": "string",
218
+ "description": "表单所在的子系统内码"
219
+ }
220
+ }
221
+ }
222
+ },
223
+ "required": ["data"]
224
+ }
225
+ },
226
+ "enabled": true
227
+ },
228
+ {
229
+ "name": "bd_currency_view",
230
+ "title": "币别-查看",
231
+ "description": "币别-查看",
232
+ "method": "POST",
233
+ "baseUrl": "${KINGDEE_DOMAIN:}",
234
+ "path": "/K3Cloud/Kingdee.BOS.WebApi.ServicesStub.DynamicFormService.View",
235
+ "requestBody": {
236
+ "description": "bd_currency_view",
237
+ "required": true,
238
+ "contentType": "application/json",
239
+ "schema": {
240
+ "type": "object",
241
+ "properties": {
242
+ "formid": {
243
+ "type": "string",
244
+ "description": "It must be a fixed value",
245
+ "const": "BD_Currency",
246
+ "default": "BD_Currency"
247
+ },
248
+ "data": {
249
+ "type": "object",
250
+ "required": ["CreateOrgId", "Number", "Id", "IsSortBySeq"],
251
+ "properties": {
252
+ "CreateOrgId": {
253
+ "type": "integer",
254
+ "description": "创建者组织内码"
255
+ },
256
+ "Number": {
257
+ "type": "string",
258
+ "description": "单据编码,字符串类型"
259
+ },
260
+ "Id": {
261
+ "type": "string",
262
+ "description": "表单内码"
263
+ },
264
+ "IsSortBySeq": {
265
+ "type": "boolean",
266
+ "description": "单据体是否按序号排序"
267
+ }
268
+ }
269
+ }
270
+ },
271
+ "required": ["formid", "data"]
272
+ }
273
+ },
274
+ "enabled": true
275
+ },
276
+ {
277
+ "name": "bd_currency_execute_bill_query",
278
+ "title": "币别-单据查询",
279
+ "description": "币别-单据查询",
280
+ "method": "POST",
281
+ "baseUrl": "${KINGDEE_DOMAIN:}",
282
+ "path": "/K3Cloud/Kingdee.BOS.WebApi.ServicesStub.DynamicFormService.ExecuteBillQuery",
283
+ "requestBody": {
284
+ "description": "bd_currency_execute_bill_query",
285
+ "required": true,
286
+ "contentType": "application/json",
287
+ "schema": {
288
+ "type": "object",
289
+ "properties": {
290
+ "data": {
291
+ "type": "object",
292
+ "required": ["FormId", "FieldKeys"],
293
+ "properties": {
294
+ "FormId": {
295
+ "type": "string",
296
+ "description": "It must be a fixed value",
297
+ "const": "BD_Currency",
298
+ "default": "BD_Currency"
299
+ },
300
+ "FieldKeys": {
301
+ "type": "string",
302
+ "description": "需查询的字段key集合"
303
+ },
304
+ "FilterString": {
305
+ "type": "array",
306
+ "description": "过滤条件"
307
+ },
308
+ "OrderString": {
309
+ "type": "string",
310
+ "description": "排序字段"
311
+ },
312
+ "TopRowCount": {
313
+ "type": "integer",
314
+ "description": "返回总行数",
315
+ "default": 0
316
+ },
317
+ "StartRow": {
318
+ "type": "integer",
319
+ "description": "开始行索引"
320
+ },
321
+ "Limit": {
322
+ "type": "integer",
323
+ "description": "最大行数"
324
+ },
325
+ "SubSystemId": {
326
+ "type": "string",
327
+ "description": "表单所在的子系统内码"
328
+ }
329
+ }
330
+ }
331
+ },
332
+ "required": ["data"]
333
+ }
334
+ },
335
+ "enabled": true
336
+ },
337
+ {
338
+ "name": "bd_expense_view",
339
+ "title": "费用项目-查看",
340
+ "description": "费用项目-查看",
341
+ "method": "POST",
342
+ "baseUrl": "${KINGDEE_DOMAIN:}",
343
+ "path": "/K3Cloud/Kingdee.BOS.WebApi.ServicesStub.DynamicFormService.View",
344
+ "requestBody": {
345
+ "description": "bd_expense_view",
346
+ "required": true,
347
+ "contentType": "application/json",
348
+ "schema": {
349
+ "type": "object",
350
+ "properties": {
351
+ "formid": {
352
+ "type": "string",
353
+ "description": "It must be a fixed value",
354
+ "const": "BD_Expense",
355
+ "default": "BD_Expense"
356
+ },
357
+ "data": {
358
+ "type": "object",
359
+ "required": ["CreateOrgId", "Number", "Id", "IsSortBySeq"],
360
+ "properties": {
361
+ "CreateOrgId": {
362
+ "type": "integer",
363
+ "description": "创建者组织内码"
364
+ },
365
+ "Number": {
366
+ "type": "string",
367
+ "description": "单据编码,字符串类型"
368
+ },
369
+ "Id": {
370
+ "type": "string",
371
+ "description": "表单内码"
372
+ },
373
+ "IsSortBySeq": {
374
+ "type": "boolean",
375
+ "description": "单据体是否按序号排序"
376
+ }
377
+ }
378
+ }
379
+ },
380
+ "required": ["formid", "data"]
381
+ }
382
+ },
383
+ "enabled": true
384
+ },
385
+ {
386
+ "name": "bd_expense_execute_bill_query",
387
+ "title": "费用项目-单据查询",
388
+ "description": "费用项目-单据查询",
389
+ "method": "POST",
390
+ "baseUrl": "${KINGDEE_DOMAIN:}",
391
+ "path": "/K3Cloud/Kingdee.BOS.WebApi.ServicesStub.DynamicFormService.ExecuteBillQuery",
392
+ "requestBody": {
393
+ "description": "bd_expense_execute_bill_query",
394
+ "required": true,
395
+ "contentType": "application/json",
396
+ "schema": {
397
+ "type": "object",
398
+ "properties": {
399
+ "data": {
400
+ "type": "object",
401
+ "required": ["FormId", "FieldKeys"],
402
+ "properties": {
403
+ "FormId": {
404
+ "type": "string",
405
+ "description": "It must be a fixed value",
406
+ "const": "BD_Expense",
407
+ "default": "BD_Expense"
408
+ },
409
+ "FieldKeys": {
410
+ "type": "string",
411
+ "description": "需查询的字段key集合"
412
+ },
413
+ "FilterString": {
414
+ "type": "array",
415
+ "description": "过滤条件"
416
+ },
417
+ "OrderString": {
418
+ "type": "string",
419
+ "description": "排序字段"
420
+ },
421
+ "TopRowCount": {
422
+ "type": "integer",
423
+ "description": "返回总行数",
424
+ "default": 0
425
+ },
426
+ "StartRow": {
427
+ "type": "integer",
428
+ "description": "开始行索引"
429
+ },
430
+ "Limit": {
431
+ "type": "integer",
432
+ "description": "最大行数"
433
+ },
434
+ "SubSystemId": {
435
+ "type": "string",
436
+ "description": "表单所在的子系统内码"
437
+ }
438
+ }
439
+ }
440
+ },
441
+ "required": ["data"]
442
+ }
443
+ },
444
+ "enabled": true
445
+ },
446
+ {
447
+ "name": "bd_rate_view",
448
+ "title": "汇率-查看",
449
+ "description": "汇率-查看",
450
+ "method": "POST",
451
+ "baseUrl": "${KINGDEE_DOMAIN:}",
452
+ "path": "/K3Cloud/Kingdee.BOS.WebApi.ServicesStub.DynamicFormService.View",
453
+ "requestBody": {
454
+ "description": "bd_rate_view",
455
+ "required": true,
456
+ "contentType": "application/json",
457
+ "schema": {
458
+ "type": "object",
459
+ "properties": {
460
+ "formid": {
461
+ "type": "string",
462
+ "description": "It must be a fixed value",
463
+ "const": "BD_Rate",
464
+ "default": "BD_Rate"
465
+ },
466
+ "data": {
467
+ "type": "object",
468
+ "required": ["CreateOrgId", "Number", "Id", "IsSortBySeq"],
469
+ "properties": {
470
+ "CreateOrgId": {
471
+ "type": "integer",
472
+ "description": "创建者组织内码"
473
+ },
474
+ "Number": {
475
+ "type": "string",
476
+ "description": "单据编码,字符串类型"
477
+ },
478
+ "Id": {
479
+ "type": "string",
480
+ "description": "表单内码"
481
+ },
482
+ "IsSortBySeq": {
483
+ "type": "boolean",
484
+ "description": "单据体是否按序号排序"
485
+ }
486
+ }
487
+ }
488
+ },
489
+ "required": ["formid", "data"]
490
+ }
491
+ },
492
+ "enabled": true
493
+ },
494
+ {
495
+ "name": "bd_rate_execute_bill_query",
496
+ "title": "汇率-单据查询",
497
+ "description": "汇率-单据查询",
498
+ "method": "POST",
499
+ "baseUrl": "${KINGDEE_DOMAIN:}",
500
+ "path": "/K3Cloud/Kingdee.BOS.WebApi.ServicesStub.DynamicFormService.ExecuteBillQuery",
501
+ "requestBody": {
502
+ "description": "bd_rate_execute_bill_query",
503
+ "required": true,
504
+ "contentType": "application/json",
505
+ "schema": {
506
+ "type": "object",
507
+ "properties": {
508
+ "data": {
509
+ "type": "object",
510
+ "required": ["FormId", "FieldKeys"],
511
+ "properties": {
512
+ "FormId": {
513
+ "type": "string",
514
+ "description": "It must be a fixed value",
515
+ "const": "ER_ExpReimbursement_Travel",
516
+ "default": "ER_ExpReimbursement_Travel"
517
+ },
518
+ "FieldKeys": {
519
+ "type": "string",
520
+ "description": "需查询的字段key集合"
521
+ },
522
+ "FilterString": {
523
+ "type": "array",
524
+ "description": "过滤条件"
525
+ },
526
+ "OrderString": {
527
+ "type": "string",
528
+ "description": "排序字段"
529
+ },
530
+ "TopRowCount": {
531
+ "type": "integer",
532
+ "description": "返回总行数",
533
+ "default": 0
534
+ },
535
+ "StartRow": {
536
+ "type": "integer",
537
+ "description": "开始行索引"
538
+ },
539
+ "Limit": {
540
+ "type": "integer",
541
+ "description": "最大行数"
542
+ },
543
+ "SubSystemId": {
544
+ "type": "string",
545
+ "description": "表单所在的子系统内码"
546
+ }
547
+ }
548
+ }
549
+ },
550
+ "required": ["data"]
551
+ }
552
+ },
553
+ "enabled": true
554
+ },
555
+ {
556
+ "name": "bd_settletype_view",
557
+ "title": "结算方式-查看",
558
+ "description": "结算方式-查看",
559
+ "method": "POST",
560
+ "baseUrl": "${KINGDEE_DOMAIN:}",
561
+ "path": "/K3Cloud/Kingdee.BOS.WebApi.ServicesStub.DynamicFormService.View",
562
+ "requestBody": {
563
+ "description": "bd_settletype_view",
564
+ "required": true,
565
+ "contentType": "application/json",
566
+ "schema": {
567
+ "type": "object",
568
+ "properties": {
569
+ "formid": {
570
+ "type": "string",
571
+ "description": "It must be a fixed value",
572
+ "const": "BD_SETTLETYPE",
573
+ "default": "BD_SETTLETYPE"
574
+ },
575
+ "data": {
576
+ "type": "object",
577
+ "required": ["CreateOrgId", "Number", "Id", "IsSortBySeq"],
578
+ "properties": {
579
+ "CreateOrgId": {
580
+ "type": "integer",
581
+ "description": "创建者组织内码"
582
+ },
583
+ "Number": {
584
+ "type": "string",
585
+ "description": "单据编码,字符串类型"
586
+ },
587
+ "Id": {
588
+ "type": "string",
589
+ "description": "表单内码"
590
+ },
591
+ "IsSortBySeq": {
592
+ "type": "boolean",
593
+ "description": "单据体是否按序号排序"
594
+ }
595
+ }
596
+ }
597
+ },
598
+ "required": ["formid", "data"]
599
+ }
600
+ },
601
+ "enabled": true
602
+ },
603
+ {
604
+ "name": "bd_settletype_execute_bill_query",
605
+ "title": "结算方式-单据查询",
606
+ "description": "结算方式-单据查询",
607
+ "method": "POST",
608
+ "baseUrl": "${KINGDEE_DOMAIN:}",
609
+ "path": "/K3Cloud/Kingdee.BOS.WebApi.ServicesStub.DynamicFormService.ExecuteBillQuery",
610
+ "requestBody": {
611
+ "description": "bd_settletype_execute_bill_query",
612
+ "required": true,
613
+ "contentType": "application/json",
614
+ "schema": {
615
+ "type": "object",
616
+ "properties": {
617
+ "data": {
618
+ "type": "object",
619
+ "required": ["FormId", "FieldKeys"],
620
+ "properties": {
621
+ "FormId": {
622
+ "type": "string",
623
+ "description": "It must be a fixed value",
624
+ "const": "ER_HisBorrow",
625
+ "default": "ER_HisBorrow"
626
+ },
627
+ "FieldKeys": {
628
+ "type": "string",
629
+ "description": "需查询的字段key集合"
630
+ },
631
+ "FilterString": {
632
+ "type": "array",
633
+ "description": "过滤条件"
634
+ },
635
+ "OrderString": {
636
+ "type": "string",
637
+ "description": "排序字段"
638
+ },
639
+ "TopRowCount": {
640
+ "type": "integer",
641
+ "description": "返回总行数",
642
+ "default": 0
643
+ },
644
+ "StartRow": {
645
+ "type": "integer",
646
+ "description": "开始行索引"
647
+ },
648
+ "Limit": {
649
+ "type": "integer",
650
+ "description": "最大行数"
651
+ },
652
+ "SubSystemId": {
653
+ "type": "string",
654
+ "description": "表单所在的子系统内码"
655
+ }
656
+ }
657
+ }
658
+ },
659
+ "required": ["data"]
660
+ }
661
+ },
662
+ "enabled": true
663
+ },
664
+ {
665
+ "name": "gl_aging_schedule_get_sys_repor_data",
666
+ "title": "总账账龄分析表-查询报表数据",
667
+ "description": "总账账龄分析表-查询报表数据",
668
+ "method": "POST",
669
+ "baseUrl": "${KINGDEE_DOMAIN:}",
670
+ "path": "/K3Cloud/Kingdee.BOS.WebApi.ServicesStub.DynamicFormService.GetSysReportData",
671
+ "requestBody": {
672
+ "description": "gl_aging_schedule_get_sys_repor_data",
673
+ "required": true,
674
+ "contentType": "application/json",
675
+ "schema": {
676
+ "type": "object",
677
+ "properties": {
678
+ "formid": {
679
+ "type": "string",
680
+ "description": "It must be a fixed value",
681
+ "const": "GL_AgingSchedule",
682
+ "default": "GL_AgingSchedule"
683
+ },
684
+ "data": {
685
+ "type": "object",
686
+ "required": ["FieldKeys", "Model"],
687
+ "properties": {
688
+ "FieldKeys": {
689
+ "type": "string",
690
+ "description": "需查询的字段key集合"
691
+ },
692
+ "SchemeId": {
693
+ "type": "string",
694
+ "description": "过滤方案内码"
695
+ },
696
+ "StartRow": {
697
+ "type": "integer",
698
+ "description": "开始行索引",
699
+ "default": 0
700
+ },
701
+ "Limit": {
702
+ "type": "integer",
703
+ "description": "最大行数",
704
+ "default": 2000
705
+ },
706
+ "IsVerifyBaseDataField": {
707
+ "type": "boolean",
708
+ "description": "是否验证所有的基础资料有效性",
709
+ "default": true
710
+ },
711
+ "Model": {
712
+ "type": "object",
713
+ "required": ["FCurrency", "FDeadLine", "FACCTBOOKID", "FMatchType", "FMUTILACCTBOOKID"],
714
+ "description": "表单数据包",
715
+ "default": {}
716
+ , "properties": {
717
+ "FCurrency": {
718
+ "type": "string",
719
+ "description": "过滤方案内码"
720
+ },
721
+ "FBalance": {
722
+ "type": "string",
723
+ "description": "币别"
724
+ },
725
+ "FShowForbidenAcct": {
726
+ "type": "boolean",
727
+ "description": "显示禁用科目",
728
+ "default": false
729
+ },
730
+ "FShowNopostedVch": {
731
+ "type": "boolean",
732
+ "description": "包括未过账凭证",
733
+ "default": false
734
+ },
735
+ "FFlexGroup": {
736
+ "type": "string",
737
+ "description": "过滤方案内码"
738
+ },
739
+ "FDeadLine": {
740
+ "type": "string",
741
+ "description": "截止日期",
742
+ "default": "1900-01-01"
743
+ },
744
+ "FFlex": {
745
+ "type": "string",
746
+ "description": "核算维度"
747
+ },
748
+ "FFlexNumberFrom": {
749
+ "type": "string",
750
+ "description": "核算维度编码"
751
+ },
752
+ "FShowFullName": {
753
+ "type": "boolean",
754
+ "description": "显示科目全名",
755
+ "default": false
756
+ },
757
+ "FUseFlexGroup": {
758
+ "type": "boolean",
759
+ "description": "使用核算维度组合查询",
760
+ "default": false
761
+ },
762
+ "FFlexNumberTo": {
763
+ "type": "string",
764
+ "description": "至"
765
+ },
766
+ "FMultiAcctMerge": {
767
+ "type": "boolean",
768
+ "description": "多科目合并显示",
769
+ "default": false
770
+ },
771
+ "FFlexGRPSerialized": {
772
+ "type": "string",
773
+ "description": "序列化后的核算维度组合"
774
+ },
775
+ "FFlexRadioGroup": {
776
+ "type": "string",
777
+ "description": "单选按钮组"
778
+ },
779
+ "FFlexContinuous": {
780
+ "type": "string",
781
+ "description": "连续核算维度范围查询"
782
+ },
783
+ "FFlexUncontinuous": {
784
+ "type": "string",
785
+ "description": "非连续核算维度范围查询"
786
+ },
787
+ "FFlexNumber": {
788
+ "type": "string",
789
+ "description": "核算维度编码"
790
+ },
791
+ "FShowAgingGrpPercent": {
792
+ "type": "boolean",
793
+ "description": "显示账龄分组的占比",
794
+ "default": false
795
+ },
796
+ "FShowVoucher": {
797
+ "type": "boolean",
798
+ "description": "按凭证显示",
799
+ "default": false
800
+ },
801
+ "FShowFlexTotal": {
802
+ "type": "boolean",
803
+ "description": "显示核算维度小计",
804
+ "default": false
805
+ },
806
+ "FShowAcctTotal": {
807
+ "type": "boolean",
808
+ "description": "显示科目小计",
809
+ "default": false
810
+ },
811
+ "FACCTBOOKID": {
812
+ "type": "object",
813
+ "required": [],
814
+ "properties": {
815
+ "FNUMBER": {
816
+ "type": "string",
817
+ "description": ""
818
+ }
819
+ }
820
+ },
821
+ "FMatchType": {
822
+ "type": "string",
823
+ "description": "匹配方式"
824
+ },
825
+ "FNegativeMatch": {
826
+ "type": "boolean",
827
+ "description": "负数发生额不优先匹配",
828
+ "default": false
829
+ },
830
+ "FSameAmountMatch": {
831
+ "type": "boolean",
832
+ "description": "相同金额优先匹配",
833
+ "default": false
834
+ },
835
+ "FEXCLUDEADJUSTVCH": {
836
+ "type": "boolean",
837
+ "description": "不包含调整期凭证",
838
+ "default": false
839
+ },
840
+ "FUseAnyFlex": {
841
+ "type": "boolean",
842
+ "description": "显示包含维度组合中任一维度的科目",
843
+ "default": false
844
+ },
845
+ "FMUTILACCTBOOKID": {
846
+ "type": "array",
847
+ "description": "账簿",
848
+ "required": [],
849
+ "default": []
850
+ },
851
+ "FAgingGroupEntity": {
852
+ "type": "array",
853
+ "required": [],
854
+ "default": []
855
+ }
856
+ }
857
+ }
858
+ }
859
+ }
860
+ },
861
+ "required": ["formid", "data"]
862
+ }
863
+ },
864
+ "enabled": true
865
+ },
866
+ {
867
+ "name": "gl_cash_flow_view",
868
+ "title": "现金流量项目-查看",
869
+ "description": "现金流量项目-查看",
870
+ "method": "POST",
871
+ "baseUrl": "${KINGDEE_DOMAIN:}",
872
+ "path": "/K3Cloud/Kingdee.BOS.WebApi.ServicesStub.DynamicFormService.View",
873
+ "requestBody": {
874
+ "description": "gl_cash_flow_view",
875
+ "required": true,
876
+ "contentType": "application/json",
877
+ "schema": {
878
+ "type": "object",
879
+ "properties": {
880
+ "formid": {
881
+ "type": "string",
882
+ "description": "It must be a fixed value",
883
+ "const": "GL_CashFlow",
884
+ "default": "GL_CashFlow"
885
+ },
886
+ "data": {
887
+ "type": "object",
888
+ "required": ["CreateOrgId", "Number", "Id", "IsSortBySeq"],
889
+ "properties": {
890
+ "CreateOrgId": {
891
+ "type": "integer",
892
+ "description": "创建者组织内码"
893
+ },
894
+ "Number": {
895
+ "type": "string",
896
+ "description": "单据编码,字符串类型"
897
+ },
898
+ "Id": {
899
+ "type": "string",
900
+ "description": "表单内码"
901
+ },
902
+ "IsSortBySeq": {
903
+ "type": "boolean",
904
+ "description": "单据体是否按序号排序"
905
+ }
906
+ }
907
+ }
908
+ },
909
+ "required": ["formid", "data"]
910
+ }
911
+ },
912
+ "enabled": true
913
+ },
914
+ {
915
+ "name": "gl_cash_flow_execute_bill_query",
916
+ "title": "现金流量项目-单据查询",
917
+ "description": "现金流量项目-单据查询",
918
+ "method": "POST",
919
+ "baseUrl": "${KINGDEE_DOMAIN:}",
920
+ "path": "/K3Cloud/Kingdee.BOS.WebApi.ServicesStub.DynamicFormService.ExecuteBillQuery",
921
+ "requestBody": {
922
+ "description": "gl_cash_flow_execute_bill_query",
923
+ "required": true,
924
+ "contentType": "application/json",
925
+ "schema": {
926
+ "type": "object",
927
+ "properties": {
928
+ "data": {
929
+ "type": "object",
930
+ "required": ["FormId", "FieldKeys"],
931
+ "properties": {
932
+ "FormId": {
933
+ "type": "string",
934
+ "description": "It must be a fixed value",
935
+ "const": "GL_CashFlow",
936
+ "default": "GL_CashFlow"
937
+ },
938
+ "FieldKeys": {
939
+ "type": "string",
940
+ "description": "需查询的字段key集合"
941
+ },
942
+ "FilterString": {
943
+ "type": "array",
944
+ "description": "过滤条件"
945
+ },
946
+ "OrderString": {
947
+ "type": "string",
948
+ "description": "排序字段"
949
+ },
950
+ "TopRowCount": {
951
+ "type": "integer",
952
+ "description": "返回总行数",
953
+ "default": 0
954
+ },
955
+ "StartRow": {
956
+ "type": "integer",
957
+ "description": "开始行索引"
958
+ },
959
+ "Limit": {
960
+ "type": "integer",
961
+ "description": "最大行数"
962
+ },
963
+ "SubSystemId": {
964
+ "type": "string",
965
+ "description": "表单所在的子系统内码"
966
+ }
967
+ }
968
+ }
969
+ },
970
+ "required": ["data"]
971
+ }
972
+ },
973
+ "enabled": true
974
+ }
975
+ ]
976
+ }