@lerianstudio/matcher-mcp 5.0.0-beta.50 → 5.0.0-beta.51
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.
- package/dist/spec/openapi.yaml +57 -4
- package/package.json +1 -1
package/dist/spec/openapi.yaml
CHANGED
|
@@ -184,6 +184,9 @@ components:
|
|
|
184
184
|
type: string
|
|
185
185
|
direction:
|
|
186
186
|
description: "Direction of the entry: DEBIT explains a shortfall (moves the outstanding variance up, toward zero), CREDIT explains a surplus (moves it down)"
|
|
187
|
+
enum:
|
|
188
|
+
- DEBIT
|
|
189
|
+
- CREDIT
|
|
187
190
|
examples:
|
|
188
191
|
- DEBIT
|
|
189
192
|
type: string
|
|
@@ -209,6 +212,12 @@ components:
|
|
|
209
212
|
type: string
|
|
210
213
|
type:
|
|
211
214
|
description: "Adjustment type: BANK_FEE (bank charge), FX_DIFFERENCE (currency conversion variance), ROUNDING (minor-unit rounding), WRITE_OFF (uncollectible balance), or MISCELLANEOUS (other)"
|
|
215
|
+
enum:
|
|
216
|
+
- BANK_FEE
|
|
217
|
+
- FX_DIFFERENCE
|
|
218
|
+
- ROUNDING
|
|
219
|
+
- WRITE_OFF
|
|
220
|
+
- MISCELLANEOUS
|
|
212
221
|
examples:
|
|
213
222
|
- BANK_FEE
|
|
214
223
|
type: string
|
|
@@ -1096,6 +1105,11 @@ components:
|
|
|
1096
1105
|
type: string
|
|
1097
1106
|
ruleType:
|
|
1098
1107
|
description: Strategy of the rule that produced the best score
|
|
1108
|
+
enum:
|
|
1109
|
+
- EXACT
|
|
1110
|
+
- TOLERANCE
|
|
1111
|
+
- DATE_LAG
|
|
1112
|
+
- FUZZY
|
|
1099
1113
|
examples:
|
|
1100
1114
|
- EXACT
|
|
1101
1115
|
type: string
|
|
@@ -5343,7 +5357,12 @@ components:
|
|
|
5343
5357
|
- 550e8400-e29b-41d4-a716-446655440000
|
|
5344
5358
|
type: string
|
|
5345
5359
|
status:
|
|
5346
|
-
description: "Current status of the group: PROPOSED (awaiting review), CONFIRMED (accepted), or
|
|
5360
|
+
description: "Current status of the group: PROPOSED (awaiting review), CONFIRMED (accepted), REJECTED (a proposed group discarded before confirmation), or REVOKED (a confirmed group whose confirmation was later undone by an unmatch; the original confirmation timestamp is kept for audit)"
|
|
5361
|
+
enum:
|
|
5362
|
+
- PROPOSED
|
|
5363
|
+
- CONFIRMED
|
|
5364
|
+
- REJECTED
|
|
5365
|
+
- REVOKED
|
|
5347
5366
|
examples:
|
|
5348
5367
|
- PROPOSED
|
|
5349
5368
|
type: string
|
|
@@ -5402,6 +5421,9 @@ components:
|
|
|
5402
5421
|
type: string
|
|
5403
5422
|
side:
|
|
5404
5423
|
description: "Reconciliation side of the item's source: LEFT or RIGHT. Resolved from the transaction's source; absent when the source side could not be resolved"
|
|
5424
|
+
enum:
|
|
5425
|
+
- LEFT
|
|
5426
|
+
- RIGHT
|
|
5405
5427
|
examples:
|
|
5406
5428
|
- LEFT
|
|
5407
5429
|
type: string
|
|
@@ -5560,6 +5582,9 @@ components:
|
|
|
5560
5582
|
type: string
|
|
5561
5583
|
mode:
|
|
5562
5584
|
description: "Execution mode: DRY_RUN evaluates rules without committing matches; COMMIT persists matches"
|
|
5585
|
+
enum:
|
|
5586
|
+
- DRY_RUN
|
|
5587
|
+
- COMMIT
|
|
5563
5588
|
examples:
|
|
5564
5589
|
- DRY_RUN
|
|
5565
5590
|
type: string
|
|
@@ -5627,14 +5652,18 @@ components:
|
|
|
5627
5652
|
- 550e8400-e29b-41d4-a716-446655440000
|
|
5628
5653
|
type: string
|
|
5629
5654
|
type:
|
|
5630
|
-
description: "Rule type at run time: EXACT (strict equality), TOLERANCE (within an amount band), DATE_LAG (allowing a settlement-date offset), or FUZZY (normalized/similarity-scored references, always proposes)"
|
|
5655
|
+
description: "Rule type at run time: EXACT (strict equality), TOLERANCE (within an amount band), DATE_LAG (allowing a settlement-date offset), or FUZZY (normalized/similarity-scored references, always proposes). Absent when the run recorded a match count for the rule without its metadata sibling"
|
|
5656
|
+
enum:
|
|
5657
|
+
- EXACT
|
|
5658
|
+
- TOLERANCE
|
|
5659
|
+
- DATE_LAG
|
|
5660
|
+
- FUZZY
|
|
5631
5661
|
examples:
|
|
5632
5662
|
- EXACT
|
|
5633
5663
|
type: string
|
|
5634
5664
|
required:
|
|
5635
5665
|
- ruleId
|
|
5636
5666
|
- priority
|
|
5637
|
-
- type
|
|
5638
5667
|
- matched
|
|
5639
5668
|
type: object
|
|
5640
5669
|
MatchedItemResponse:
|
|
@@ -5847,6 +5876,12 @@ components:
|
|
|
5847
5876
|
type: string
|
|
5848
5877
|
status:
|
|
5849
5878
|
description: "Lifecycle status: OPEN (fresh residual), PARTIALLY_CLEARED (a leg netted but a residual remains), CLEARED (netted within tolerance), AGED (exceeded its aging threshold while still open), or WITHDRAWN (the confirmed match that opened it was un-matched, so the obligation was taken back with it)"
|
|
5879
|
+
enum:
|
|
5880
|
+
- OPEN
|
|
5881
|
+
- PARTIALLY_CLEARED
|
|
5882
|
+
- CLEARED
|
|
5883
|
+
- AGED
|
|
5884
|
+
- WITHDRAWN
|
|
5850
5885
|
examples:
|
|
5851
5886
|
- PARTIALLY_CLEARED
|
|
5852
5887
|
type: string
|
|
@@ -6357,7 +6392,11 @@ components:
|
|
|
6357
6392
|
- near-miss amounts cluster under 1%
|
|
6358
6393
|
type: string
|
|
6359
6394
|
type:
|
|
6360
|
-
description: "Proposed rule type from the closed vocabulary: EXACT (strict equality), TOLERANCE (within an amount band), or DATE_LAG (allowing a settlement-date offset)"
|
|
6395
|
+
description: "Proposed rule type from the closed vocabulary: EXACT (strict equality), TOLERANCE (within an amount band), or DATE_LAG (allowing a settlement-date offset). FUZZY is excluded on purpose: a fuzzy rule only ever proposes graded-confidence links a human must review, so an operator configures one deliberately rather than accepting it from a suggestion"
|
|
6396
|
+
enum:
|
|
6397
|
+
- EXACT
|
|
6398
|
+
- TOLERANCE
|
|
6399
|
+
- DATE_LAG
|
|
6361
6400
|
examples:
|
|
6362
6401
|
- TOLERANCE
|
|
6363
6402
|
type: string
|
|
@@ -6436,6 +6475,10 @@ components:
|
|
|
6436
6475
|
type: string
|
|
6437
6476
|
status:
|
|
6438
6477
|
description: "Lifecycle status: PENDING_REVIEW (awaiting human decision), APPROVED (rule created), or REJECTED (discarded)"
|
|
6478
|
+
enum:
|
|
6479
|
+
- PENDING_REVIEW
|
|
6480
|
+
- APPROVED
|
|
6481
|
+
- REJECTED
|
|
6439
6482
|
examples:
|
|
6440
6483
|
- PENDING_REVIEW
|
|
6441
6484
|
type: string
|
|
@@ -7198,6 +7241,11 @@ components:
|
|
|
7198
7241
|
type: string
|
|
7199
7242
|
ruleType:
|
|
7200
7243
|
description: Strategy of the previewed rule
|
|
7244
|
+
enum:
|
|
7245
|
+
- EXACT
|
|
7246
|
+
- TOLERANCE
|
|
7247
|
+
- DATE_LAG
|
|
7248
|
+
- FUZZY
|
|
7201
7249
|
examples:
|
|
7202
7250
|
- EXACT
|
|
7203
7251
|
type: string
|
|
@@ -7245,6 +7293,11 @@ components:
|
|
|
7245
7293
|
type: object
|
|
7246
7294
|
type:
|
|
7247
7295
|
description: Rule strategy of the inline candidate rule
|
|
7296
|
+
enum:
|
|
7297
|
+
- EXACT
|
|
7298
|
+
- TOLERANCE
|
|
7299
|
+
- DATE_LAG
|
|
7300
|
+
- FUZZY
|
|
7248
7301
|
examples:
|
|
7249
7302
|
- EXACT
|
|
7250
7303
|
type: string
|