@lerianstudio/matcher-mcp 5.0.0-beta.53 → 5.0.0-beta.55
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 +85 -11
- package/package.json +1 -1
package/dist/spec/openapi.yaml
CHANGED
|
@@ -1035,7 +1035,15 @@ components:
|
|
|
1035
1035
|
additionalProperties: false
|
|
1036
1036
|
properties:
|
|
1037
1037
|
canonicalKey:
|
|
1038
|
-
description: Canonical field-map key (
|
|
1038
|
+
description: Canonical field-map key. The closed vocabulary is the required keys (external_id, amount, currency, date) plus the optional ones (description, fee_amount, fee_currency); the extractor drops any key outside it before a candidate is persisted
|
|
1039
|
+
enum:
|
|
1040
|
+
- external_id
|
|
1041
|
+
- amount
|
|
1042
|
+
- currency
|
|
1043
|
+
- date
|
|
1044
|
+
- description
|
|
1045
|
+
- fee_amount
|
|
1046
|
+
- fee_currency
|
|
1039
1047
|
examples:
|
|
1040
1048
|
- amount
|
|
1041
1049
|
type: string
|
|
@@ -1168,6 +1176,9 @@ components:
|
|
|
1168
1176
|
- "null"
|
|
1169
1177
|
source:
|
|
1170
1178
|
description: "Extraction lane that produced this candidate: text_layer (PDF text, higher trust) or vision (OCR/vision model, lower trust)"
|
|
1179
|
+
enum:
|
|
1180
|
+
- text_layer
|
|
1181
|
+
- vision
|
|
1171
1182
|
examples:
|
|
1172
1183
|
- text_layer
|
|
1173
1184
|
type: string
|
|
@@ -2609,21 +2620,39 @@ components:
|
|
|
2609
2620
|
properties:
|
|
2610
2621
|
dateStyle:
|
|
2611
2622
|
description: "Detected date convention: iso (YYYY-MM-DD), iso_offset (RFC 3339 with offset), dmy (DD/MM/YYYY), or mdy (MM/DD/YYYY)"
|
|
2623
|
+
enum:
|
|
2624
|
+
- iso
|
|
2625
|
+
- iso_offset
|
|
2626
|
+
- dmy
|
|
2627
|
+
- mdy
|
|
2612
2628
|
examples:
|
|
2613
2629
|
- iso
|
|
2614
2630
|
type: string
|
|
2615
2631
|
decimalStyle:
|
|
2616
2632
|
description: "Detected amount decimal convention: dot (1234.56) or comma (1234,56)"
|
|
2633
|
+
enum:
|
|
2634
|
+
- dot
|
|
2635
|
+
- comma
|
|
2617
2636
|
examples:
|
|
2618
2637
|
- comma
|
|
2619
2638
|
type: string
|
|
2620
2639
|
delimiter:
|
|
2621
2640
|
description: "Detected CSV field separator: comma, semicolon, tab, or pipe"
|
|
2641
|
+
enum:
|
|
2642
|
+
- comma
|
|
2643
|
+
- semicolon
|
|
2644
|
+
- tab
|
|
2645
|
+
- pipe
|
|
2622
2646
|
examples:
|
|
2623
2647
|
- semicolon
|
|
2624
2648
|
type: string
|
|
2625
2649
|
encoding:
|
|
2626
2650
|
description: "Detected file character encoding: utf-8, utf-8-sig (UTF-8 with BOM), cp1252 (Windows Latin-1), or iso-8859-1"
|
|
2651
|
+
enum:
|
|
2652
|
+
- utf-8
|
|
2653
|
+
- utf-8-sig
|
|
2654
|
+
- cp1252
|
|
2655
|
+
- iso-8859-1
|
|
2627
2656
|
examples:
|
|
2628
2657
|
- utf-8
|
|
2629
2658
|
type: string
|
|
@@ -3222,6 +3251,8 @@ components:
|
|
|
3222
3251
|
type: string
|
|
3223
3252
|
status:
|
|
3224
3253
|
description: Lifecycle status of the queued review (always PENDING_REVIEW on enqueue)
|
|
3254
|
+
enum:
|
|
3255
|
+
- PENDING_REVIEW
|
|
3225
3256
|
examples:
|
|
3226
3257
|
- PENDING_REVIEW
|
|
3227
3258
|
type: string
|
|
@@ -3376,6 +3407,10 @@ components:
|
|
|
3376
3407
|
type: string
|
|
3377
3408
|
status:
|
|
3378
3409
|
description: "Review lifecycle: PENDING_REVIEW (awaiting decision), APPROVED (candidates ingested), REJECTED (discarded)"
|
|
3410
|
+
enum:
|
|
3411
|
+
- PENDING_REVIEW
|
|
3412
|
+
- APPROVED
|
|
3413
|
+
- REJECTED
|
|
3379
3414
|
examples:
|
|
3380
3415
|
- PENDING_REVIEW
|
|
3381
3416
|
type: string
|
|
@@ -3828,7 +3863,15 @@ components:
|
|
|
3828
3863
|
additionalProperties: false
|
|
3829
3864
|
properties:
|
|
3830
3865
|
canonicalKey:
|
|
3831
|
-
description: Canonical field-map key the proposal targets
|
|
3866
|
+
description: Canonical field-map key the proposal targets. The closed vocabulary is the required keys (external_id, amount, currency, date) plus the optional ones (description, fee_amount, fee_currency); the advisor drops any key outside it before the proposal is returned
|
|
3867
|
+
enum:
|
|
3868
|
+
- external_id
|
|
3869
|
+
- amount
|
|
3870
|
+
- currency
|
|
3871
|
+
- date
|
|
3872
|
+
- description
|
|
3873
|
+
- fee_amount
|
|
3874
|
+
- fee_currency
|
|
3832
3875
|
examples:
|
|
3833
3876
|
- amount
|
|
3834
3877
|
type: string
|
|
@@ -4141,9 +4184,13 @@ components:
|
|
|
4141
4184
|
- TXN-12345
|
|
4142
4185
|
type: string
|
|
4143
4186
|
extractionStatus:
|
|
4144
|
-
description: "Field-extraction status: PENDING (queued),
|
|
4187
|
+
description: "Field-extraction status: PENDING (queued), COMPLETE (fields parsed), FAILED (extraction error)"
|
|
4188
|
+
enum:
|
|
4189
|
+
- PENDING
|
|
4190
|
+
- COMPLETE
|
|
4191
|
+
- FAILED
|
|
4145
4192
|
examples:
|
|
4146
|
-
-
|
|
4193
|
+
- COMPLETE
|
|
4147
4194
|
type: string
|
|
4148
4195
|
id:
|
|
4149
4196
|
description: Unique identifier for the transaction
|
|
@@ -4168,9 +4215,14 @@ components:
|
|
|
4168
4215
|
format: uuid
|
|
4169
4216
|
type: string
|
|
4170
4217
|
status:
|
|
4171
|
-
description: "Matching status:
|
|
4218
|
+
description: "Matching status: UNMATCHED (no match found), MATCHED (reconciled), IGNORED (excluded from reconciliation by an operator), PENDING_REVIEW (imported under the blank-external-id review policy and awaiting an operator decision)"
|
|
4219
|
+
enum:
|
|
4220
|
+
- UNMATCHED
|
|
4221
|
+
- MATCHED
|
|
4222
|
+
- IGNORED
|
|
4223
|
+
- PENDING_REVIEW
|
|
4172
4224
|
examples:
|
|
4173
|
-
-
|
|
4225
|
+
- UNMATCHED
|
|
4174
4226
|
type: string
|
|
4175
4227
|
required:
|
|
4176
4228
|
- id
|
|
@@ -4290,6 +4342,11 @@ components:
|
|
|
4290
4342
|
type: string
|
|
4291
4343
|
status:
|
|
4292
4344
|
description: "Job lifecycle status: QUEUED (awaiting a worker), PROCESSING (parsing/normalizing rows), COMPLETED (finished), FAILED (aborted wholesale)"
|
|
4345
|
+
enum:
|
|
4346
|
+
- QUEUED
|
|
4347
|
+
- PROCESSING
|
|
4348
|
+
- COMPLETED
|
|
4349
|
+
- FAILED
|
|
4293
4350
|
examples:
|
|
4294
4351
|
- PROCESSING
|
|
4295
4352
|
type: string
|
|
@@ -4360,7 +4417,11 @@ components:
|
|
|
4360
4417
|
additionalProperties: false
|
|
4361
4418
|
properties:
|
|
4362
4419
|
kind:
|
|
4363
|
-
description: "Value type: string (raw text), decimal (money/numeric verbatim token, parsed downstream), or date. A money column MUST be decimal"
|
|
4420
|
+
description: "Value type: string (raw text), decimal (money/numeric verbatim token, parsed downstream), or date. A money column MUST be decimal — declaring it string or date is refused by the server-side submission gate, which the schema enum does not replace"
|
|
4421
|
+
enum:
|
|
4422
|
+
- string
|
|
4423
|
+
- decimal
|
|
4424
|
+
- date
|
|
4364
4425
|
examples:
|
|
4365
4426
|
- decimal
|
|
4366
4427
|
type: string
|
|
@@ -4392,6 +4453,10 @@ components:
|
|
|
4392
4453
|
properties:
|
|
4393
4454
|
kind:
|
|
4394
4455
|
description: "Value type: string (raw text), decimal (money/numeric verbatim token, parsed downstream), or date"
|
|
4456
|
+
enum:
|
|
4457
|
+
- string
|
|
4458
|
+
- decimal
|
|
4459
|
+
- date
|
|
4395
4460
|
examples:
|
|
4396
4461
|
- decimal
|
|
4397
4462
|
type: string
|
|
@@ -7883,9 +7948,13 @@ components:
|
|
|
7883
7948
|
- TXN-12345
|
|
7884
7949
|
type: string
|
|
7885
7950
|
extractionStatus:
|
|
7886
|
-
description: "Field-extraction status: PENDING (queued),
|
|
7951
|
+
description: "Field-extraction status: PENDING (queued), COMPLETE (fields parsed), FAILED (extraction error)"
|
|
7952
|
+
enum:
|
|
7953
|
+
- PENDING
|
|
7954
|
+
- COMPLETE
|
|
7955
|
+
- FAILED
|
|
7887
7956
|
examples:
|
|
7888
|
-
-
|
|
7957
|
+
- COMPLETE
|
|
7889
7958
|
type: string
|
|
7890
7959
|
id:
|
|
7891
7960
|
description: Unique identifier for the transaction
|
|
@@ -7910,9 +7979,14 @@ components:
|
|
|
7910
7979
|
format: uuid
|
|
7911
7980
|
type: string
|
|
7912
7981
|
status:
|
|
7913
|
-
description: "Matching status:
|
|
7982
|
+
description: "Matching status: UNMATCHED (no match found), MATCHED (reconciled), IGNORED (excluded from reconciliation by an operator), PENDING_REVIEW (imported under the blank-external-id review policy and awaiting an operator decision)"
|
|
7983
|
+
enum:
|
|
7984
|
+
- UNMATCHED
|
|
7985
|
+
- MATCHED
|
|
7986
|
+
- IGNORED
|
|
7987
|
+
- PENDING_REVIEW
|
|
7914
7988
|
examples:
|
|
7915
|
-
-
|
|
7989
|
+
- UNMATCHED
|
|
7916
7990
|
type: string
|
|
7917
7991
|
required:
|
|
7918
7992
|
- id
|