@ingenx-io/valets-schema-mcp-server 0.1.6 → 0.1.7
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/data/docs/enums/attention-status.md +1 -1
- package/data/docs/enums/booking-status.md +1 -1
- package/data/docs/enums/customer-payment-status.md +1 -1
- package/data/docs/enums/customer-payment-target-type.md +1 -1
- package/data/docs/enums/delivery-type.md +1 -1
- package/data/docs/enums/deployment-link-type.md +1 -1
- package/data/docs/enums/event-status.md +1 -1
- package/data/docs/enums/fulfillment-status.md +1 -1
- package/data/docs/enums/loyalty-transaction-type.md +1 -1
- package/data/docs/enums/order-status.md +1 -1
- package/data/docs/enums/payment-method.md +1 -1
- package/data/docs/enums/payment-proof-status.md +1 -1
- package/data/docs/enums/payment-status.md +1 -1
- package/data/docs/enums/pending-issue.md +1 -1
- package/data/docs/enums/return-status.md +1 -1
- package/data/docs/enums/session-status.md +1 -1
- package/data/docs/enums/site-status.md +1 -1
- package/data/docs/enums/stocktake-frequency.md +1 -1
- package/data/docs/enums/stocktake-item-status.md +1 -1
- package/data/docs/enums/stocktake-status.md +1 -1
- package/data/docs/enums/ticket-status.md +1 -1
- package/data/docs/enums/waba-label.md +22 -0
- package/data/docs/index.md +4 -2
- package/data/docs/models/allowed-user.md +1 -1
- package/data/docs/models/analytics-backfill.md +1 -1
- package/data/docs/models/analytics-daily.md +1 -1
- package/data/docs/models/analytics-event.md +1 -1
- package/data/docs/models/analytics-hourly.md +1 -1
- package/data/docs/models/booking-version.md +1 -1
- package/data/docs/models/booking.md +1 -1
- package/data/docs/models/customer-payment-allocation.md +1 -1
- package/data/docs/models/customer-payment.md +1 -1
- package/data/docs/models/customer.md +1 -1
- package/data/docs/models/event.md +1 -1
- package/data/docs/models/loyalty-config.md +1 -1
- package/data/docs/models/loyalty-reward.md +1 -1
- package/data/docs/models/loyalty-status.md +1 -1
- package/data/docs/models/loyalty-transaction.md +1 -1
- package/data/docs/models/magic-link-request.md +1 -1
- package/data/docs/models/metrics-current.md +1 -1
- package/data/docs/models/metrics-daily.md +1 -1
- package/data/docs/models/metrics-monthly.md +1 -1
- package/data/docs/models/order-item.md +1 -1
- package/data/docs/models/order.md +1 -1
- package/data/docs/models/sale.md +1 -1
- package/data/docs/models/site-payment.md +1 -1
- package/data/docs/models/site.md +1 -1
- package/data/docs/models/stocktake-item.md +1 -1
- package/data/docs/models/stocktake.md +1 -1
- package/data/docs/models/ticket.md +1 -1
- package/data/docs/models/whatsapp-inbound-message.md +369 -0
- package/data/static/llms.txt +43 -1
- package/data/static/openapi.yaml +134 -0
- package/data/static/schemas.json +157 -1
- package/package.json +1 -1
package/data/static/schemas.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
3
|
"description": "@valets/schema \u2014 consolidated schema bundle",
|
|
4
|
-
"generated": "2026-05-
|
|
4
|
+
"generated": "2026-05-15T16:32:39.367964+00:00",
|
|
5
5
|
"schemas": {
|
|
6
6
|
"allowed-user": {
|
|
7
7
|
"type": "object",
|
|
@@ -5528,6 +5528,162 @@
|
|
|
5528
5528
|
],
|
|
5529
5529
|
"description": "Event ticket status (D32). VALID = active and unused."
|
|
5530
5530
|
},
|
|
5531
|
+
"waba-label": {
|
|
5532
|
+
"type": "string",
|
|
5533
|
+
"enum": [
|
|
5534
|
+
"cmz",
|
|
5535
|
+
"val"
|
|
5536
|
+
],
|
|
5537
|
+
"description": "Human-readable WABA label identifying which Meta business number received the message (GH#36)."
|
|
5538
|
+
},
|
|
5539
|
+
"whatsapp-inbound-message": {
|
|
5540
|
+
"type": "object",
|
|
5541
|
+
"properties": {
|
|
5542
|
+
"id": {
|
|
5543
|
+
"readOnly": true,
|
|
5544
|
+
"description": "(Read-only) Firestore document ID \u2014 wamid from Meta Cloud API.",
|
|
5545
|
+
"type": [
|
|
5546
|
+
"string",
|
|
5547
|
+
"null"
|
|
5548
|
+
]
|
|
5549
|
+
},
|
|
5550
|
+
"wabaId": {
|
|
5551
|
+
"type": "string",
|
|
5552
|
+
"x-immutable": true,
|
|
5553
|
+
"description": "(Immutable) Meta WABA ID identifying which business number received the message."
|
|
5554
|
+
},
|
|
5555
|
+
"waba": {
|
|
5556
|
+
"$ref": "#/definitions/waba-label",
|
|
5557
|
+
"description": "(Immutable) Human-readable WABA label (cmz | val). See WabaLabel enum.",
|
|
5558
|
+
"x-immutable": true
|
|
5559
|
+
},
|
|
5560
|
+
"messageId": {
|
|
5561
|
+
"type": "string",
|
|
5562
|
+
"x-immutable": true,
|
|
5563
|
+
"description": "(Immutable) WhatsApp message ID (wamid) returned by Meta \u2014 mirrors the document ID."
|
|
5564
|
+
},
|
|
5565
|
+
"from": {
|
|
5566
|
+
"type": "string",
|
|
5567
|
+
"x-immutable": true,
|
|
5568
|
+
"description": "(Immutable) Sender phone number in E.164 format."
|
|
5569
|
+
},
|
|
5570
|
+
"type": {
|
|
5571
|
+
"anyOf": [
|
|
5572
|
+
{
|
|
5573
|
+
"type": "string",
|
|
5574
|
+
"enum": [
|
|
5575
|
+
"text",
|
|
5576
|
+
"image",
|
|
5577
|
+
"audio",
|
|
5578
|
+
"video",
|
|
5579
|
+
"document",
|
|
5580
|
+
"sticker",
|
|
5581
|
+
"reaction",
|
|
5582
|
+
"location",
|
|
5583
|
+
"contacts",
|
|
5584
|
+
"interactive",
|
|
5585
|
+
"button",
|
|
5586
|
+
"order",
|
|
5587
|
+
"system",
|
|
5588
|
+
"unsupported"
|
|
5589
|
+
]
|
|
5590
|
+
},
|
|
5591
|
+
{
|
|
5592
|
+
"type": "string"
|
|
5593
|
+
}
|
|
5594
|
+
],
|
|
5595
|
+
"description": "(Immutable) Meta message type.",
|
|
5596
|
+
"x-immutable": true
|
|
5597
|
+
},
|
|
5598
|
+
"timestamp": {
|
|
5599
|
+
"$ref": "#/definitions/firestore-timestamp",
|
|
5600
|
+
"description": "(Immutable) Message timestamp as reported by Meta.",
|
|
5601
|
+
"x-immutable": true
|
|
5602
|
+
},
|
|
5603
|
+
"receivedAt": {
|
|
5604
|
+
"$ref": "#/definitions/firestore-timestamp",
|
|
5605
|
+
"description": "(Read-only) Server-side ingestion time set by the Cloud Function.",
|
|
5606
|
+
"readOnly": true
|
|
5607
|
+
},
|
|
5608
|
+
"text": {
|
|
5609
|
+
"description": "Message body text. Present on type=text messages only.",
|
|
5610
|
+
"type": [
|
|
5611
|
+
"string",
|
|
5612
|
+
"null"
|
|
5613
|
+
]
|
|
5614
|
+
},
|
|
5615
|
+
"mediaId": {
|
|
5616
|
+
"description": "Meta media ID. Present on image, audio, video, document, sticker messages.",
|
|
5617
|
+
"type": [
|
|
5618
|
+
"string",
|
|
5619
|
+
"null"
|
|
5620
|
+
]
|
|
5621
|
+
},
|
|
5622
|
+
"caption": {
|
|
5623
|
+
"description": "Media caption text. Present when the sender included a caption.",
|
|
5624
|
+
"type": [
|
|
5625
|
+
"string",
|
|
5626
|
+
"null"
|
|
5627
|
+
]
|
|
5628
|
+
},
|
|
5629
|
+
"storageUrl": {
|
|
5630
|
+
"description": "Durable Cloud Storage URL for the downloaded media binary. Present after the CF downloads and stores the media.",
|
|
5631
|
+
"type": [
|
|
5632
|
+
"string",
|
|
5633
|
+
"null"
|
|
5634
|
+
]
|
|
5635
|
+
},
|
|
5636
|
+
"context": {
|
|
5637
|
+
"description": "Reply/forward context. Present on replies and forwarded messages.",
|
|
5638
|
+
"type": [
|
|
5639
|
+
"object",
|
|
5640
|
+
"null"
|
|
5641
|
+
],
|
|
5642
|
+
"properties": {
|
|
5643
|
+
"id": {
|
|
5644
|
+
"description": "wamid of the quoted/replied-to message.",
|
|
5645
|
+
"type": "string"
|
|
5646
|
+
},
|
|
5647
|
+
"from": {
|
|
5648
|
+
"description": "Sender phone number of the quoted message.",
|
|
5649
|
+
"type": "string"
|
|
5650
|
+
},
|
|
5651
|
+
"forwarded": {
|
|
5652
|
+
"description": "Present (true) when Meta marks the message as forwarded.",
|
|
5653
|
+
"type": "boolean",
|
|
5654
|
+
"const": true
|
|
5655
|
+
}
|
|
5656
|
+
},
|
|
5657
|
+
"additionalProperties": false
|
|
5658
|
+
}
|
|
5659
|
+
},
|
|
5660
|
+
"required": [
|
|
5661
|
+
"wabaId",
|
|
5662
|
+
"waba",
|
|
5663
|
+
"messageId",
|
|
5664
|
+
"from",
|
|
5665
|
+
"type",
|
|
5666
|
+
"timestamp",
|
|
5667
|
+
"receivedAt"
|
|
5668
|
+
],
|
|
5669
|
+
"additionalProperties": false,
|
|
5670
|
+
"description": "WhatsappInboundMessage \u2014 inbound WhatsApp message persisted from Meta Cloud API webhook (GH#36). Collection: whatsapp_inbound_messages/{docId} in ratenplate project. Top-level scope: company resolution happens post-ingestion.",
|
|
5671
|
+
"example": {
|
|
5672
|
+
"id": null,
|
|
5673
|
+
"wabaId": "wab_ref123",
|
|
5674
|
+
"waba": "waba",
|
|
5675
|
+
"messageId": "mes_ref123",
|
|
5676
|
+
"from": "from",
|
|
5677
|
+
"type": "phone",
|
|
5678
|
+
"timestamp": "timestamp",
|
|
5679
|
+
"receivedAt": "receivedAt",
|
|
5680
|
+
"text": null,
|
|
5681
|
+
"mediaId": null,
|
|
5682
|
+
"caption": null,
|
|
5683
|
+
"storageUrl": null,
|
|
5684
|
+
"context": null
|
|
5685
|
+
}
|
|
5686
|
+
},
|
|
5531
5687
|
"payment-summary": {
|
|
5532
5688
|
"type": "object",
|
|
5533
5689
|
"properties": {
|