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