@ingenx-io/valets-schema-mcp-server 0.1.8 → 0.1.10

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 (58) hide show
  1. package/data/docs/enums/attention-status.md +1 -1
  2. package/data/docs/enums/booking-status.md +1 -1
  3. package/data/docs/enums/customer-payment-status.md +1 -1
  4. package/data/docs/enums/customer-payment-target-type.md +1 -1
  5. package/data/docs/enums/delivery-type.md +1 -1
  6. package/data/docs/enums/deployment-link-type.md +1 -1
  7. package/data/docs/enums/event-status.md +1 -1
  8. package/data/docs/enums/fulfillment-status.md +1 -1
  9. package/data/docs/enums/loyalty-transaction-type.md +1 -1
  10. package/data/docs/enums/order-status.md +1 -1
  11. package/data/docs/enums/outbound-message-kind.md +23 -0
  12. package/data/docs/enums/outbound-message-status.md +25 -0
  13. package/data/docs/enums/payment-method.md +2 -2
  14. package/data/docs/enums/payment-proof-status.md +2 -2
  15. package/data/docs/enums/payment-status.md +2 -2
  16. package/data/docs/enums/pending-issue.md +2 -2
  17. package/data/docs/enums/return-status.md +2 -2
  18. package/data/docs/enums/session-status.md +2 -2
  19. package/data/docs/enums/site-status.md +2 -2
  20. package/data/docs/enums/stocktake-frequency.md +2 -2
  21. package/data/docs/enums/stocktake-item-status.md +2 -2
  22. package/data/docs/enums/stocktake-status.md +2 -2
  23. package/data/docs/enums/ticket-status.md +2 -2
  24. package/data/docs/enums/waba-label.md +2 -2
  25. package/data/docs/index.md +5 -2
  26. package/data/docs/models/allowed-user.md +1 -1
  27. package/data/docs/models/analytics-backfill.md +1 -1
  28. package/data/docs/models/analytics-daily.md +1 -1
  29. package/data/docs/models/analytics-event.md +1 -1
  30. package/data/docs/models/analytics-hourly.md +1 -1
  31. package/data/docs/models/booking-version.md +1 -1
  32. package/data/docs/models/booking.md +1 -1
  33. package/data/docs/models/customer-payment-allocation.md +1 -1
  34. package/data/docs/models/customer-payment.md +1 -1
  35. package/data/docs/models/customer.md +1 -1
  36. package/data/docs/models/event.md +1 -1
  37. package/data/docs/models/loyalty-config.md +1 -1
  38. package/data/docs/models/loyalty-reward.md +1 -1
  39. package/data/docs/models/loyalty-status.md +1 -1
  40. package/data/docs/models/loyalty-transaction.md +1 -1
  41. package/data/docs/models/magic-link-request.md +1 -1
  42. package/data/docs/models/metrics-current.md +1 -1
  43. package/data/docs/models/metrics-daily.md +1 -1
  44. package/data/docs/models/metrics-monthly.md +1 -1
  45. package/data/docs/models/order-item.md +1 -1
  46. package/data/docs/models/order.md +1 -1
  47. package/data/docs/models/sale.md +1 -1
  48. package/data/docs/models/site-payment.md +1 -1
  49. package/data/docs/models/site.md +1 -1
  50. package/data/docs/models/stocktake-item.md +1 -1
  51. package/data/docs/models/stocktake.md +1 -1
  52. package/data/docs/models/ticket.md +1 -1
  53. package/data/docs/models/whatsapp-inbound-message.md +2 -2
  54. package/data/docs/models/whatsapp-outbound-message.md +366 -0
  55. package/data/static/llms.txt +53 -1
  56. package/data/static/openapi.yaml +138 -2
  57. package/data/static/schemas.json +159 -2
  58. package/package.json +1 -1
@@ -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-15T17:25:23.386115+00:00",
4
+ "generated": "2026-05-16T00:20:07.691826+00:00",
5
5
  "schemas": {
6
6
  "allowed-user": {
7
7
  "type": "object",
@@ -4394,6 +4394,26 @@
4394
4394
  ]
4395
4395
  }
4396
4396
  },
4397
+ "outbound-message-kind": {
4398
+ "type": "string",
4399
+ "enum": [
4400
+ "otp",
4401
+ "review_request",
4402
+ "adhoc"
4403
+ ],
4404
+ "description": "Outbound WhatsApp message kind. Strict enum \u2014 new kinds require a schema version bump (GH#38)."
4405
+ },
4406
+ "outbound-message-status": {
4407
+ "type": "string",
4408
+ "enum": [
4409
+ "accepted",
4410
+ "sent",
4411
+ "delivered",
4412
+ "read",
4413
+ "failed"
4414
+ ],
4415
+ "description": "Outbound WhatsApp message delivery status. Lifecycle: accepted \u2192 sent \u2192 delivered \u2192 read, or accepted \u2192 failed. Updated in-place by Meta delivery callbacks (GH#38)."
4416
+ },
4397
4417
  "payment-method": {
4398
4418
  "type": "string",
4399
4419
  "enum": [
@@ -5667,7 +5687,7 @@
5667
5687
  "receivedAt"
5668
5688
  ],
5669
5689
  "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.",
5690
+ "description": "WhatsappInboundMessage \u2014 inbound WhatsApp message persisted from Meta Cloud API webhook (GH#36). Collection: whatsapp_inbound_messages/{docId}. Top-level scope: company resolution happens post-ingestion.",
5671
5691
  "example": {
5672
5692
  "id": null,
5673
5693
  "wabaId": "wab_ref123",
@@ -5684,6 +5704,143 @@
5684
5704
  "context": null
5685
5705
  }
5686
5706
  },
5707
+ "whatsapp-outbound-message": {
5708
+ "type": "object",
5709
+ "properties": {
5710
+ "id": {
5711
+ "readOnly": true,
5712
+ "description": "(Read-only) Firestore document ID \u2014 wamid on success, generated UUID on failure.",
5713
+ "type": [
5714
+ "string",
5715
+ "null"
5716
+ ]
5717
+ },
5718
+ "messageId": {
5719
+ "type": "string",
5720
+ "x-immutable": true,
5721
+ "description": "(Immutable) WhatsApp message ID (wamid) on success; generated UUID on send failure."
5722
+ },
5723
+ "to": {
5724
+ "type": "string",
5725
+ "x-immutable": true,
5726
+ "description": "(Immutable) Recipient phone number in E.164 format. Mirrors inbound `from`."
5727
+ },
5728
+ "waba": {
5729
+ "$ref": "#/definitions/waba-label",
5730
+ "description": "(Immutable) WABA that sent the message. Mirrors inbound `waba`.",
5731
+ "x-immutable": true
5732
+ },
5733
+ "wabaId": {
5734
+ "type": "string",
5735
+ "x-immutable": true,
5736
+ "description": "(Immutable) Meta WABA ID. Mirrors inbound `wabaId`."
5737
+ },
5738
+ "sentAt": {
5739
+ "$ref": "#/definitions/firestore-timestamp",
5740
+ "description": "(Read-only) Server-side send timestamp. Mirrors inbound `receivedAt`.",
5741
+ "readOnly": true
5742
+ },
5743
+ "phoneNumberId": {
5744
+ "type": "string",
5745
+ "x-immutable": true,
5746
+ "description": "(Immutable) Meta phone number ID used for the send (specific line within the WABA)."
5747
+ },
5748
+ "kind": {
5749
+ "$ref": "#/definitions/outbound-message-kind",
5750
+ "description": "(Immutable) Message kind.",
5751
+ "x-immutable": true
5752
+ },
5753
+ "templateName": {
5754
+ "type": "string",
5755
+ "x-immutable": true,
5756
+ "description": "(Immutable) WhatsApp template name used for the send."
5757
+ },
5758
+ "status": {
5759
+ "$ref": "#/definitions/outbound-message-status",
5760
+ "description": "Delivery status. Updated in-place by Meta delivery callbacks."
5761
+ },
5762
+ "contactWaId": {
5763
+ "description": "Normalized wa_id returned by Meta on success. May differ from `to`.",
5764
+ "type": [
5765
+ "string",
5766
+ "null"
5767
+ ]
5768
+ },
5769
+ "appId": {
5770
+ "description": "Tenant appId when applicable.",
5771
+ "type": [
5772
+ "string",
5773
+ "null"
5774
+ ]
5775
+ },
5776
+ "orderUuid": {
5777
+ "description": "Order reference. Present on review_request messages only.",
5778
+ "type": [
5779
+ "string",
5780
+ "null"
5781
+ ]
5782
+ },
5783
+ "statusUpdatedAt": {
5784
+ "anyOf": [
5785
+ {
5786
+ "$ref": "#/definitions/firestore-timestamp"
5787
+ },
5788
+ {
5789
+ "type": "null"
5790
+ }
5791
+ ],
5792
+ "description": "Timestamp of the last status update from a Meta delivery callback."
5793
+ },
5794
+ "failureCode": {
5795
+ "description": "Meta error code. Present on failed sends only.",
5796
+ "type": [
5797
+ "integer",
5798
+ "null"
5799
+ ],
5800
+ "minimum": -9007199254740991,
5801
+ "maximum": 9007199254740991
5802
+ },
5803
+ "failureErrors": {
5804
+ "description": "Raw Meta error objects. Present on failed sends only.",
5805
+ "type": [
5806
+ "array",
5807
+ "null"
5808
+ ],
5809
+ "items": {}
5810
+ }
5811
+ },
5812
+ "required": [
5813
+ "messageId",
5814
+ "to",
5815
+ "waba",
5816
+ "wabaId",
5817
+ "sentAt",
5818
+ "phoneNumberId",
5819
+ "kind",
5820
+ "templateName",
5821
+ "status"
5822
+ ],
5823
+ "additionalProperties": false,
5824
+ "description": "WhatsappOutboundMessage \u2014 outbound WhatsApp message persisted at send time (GH#38). Collection: whatsapp_outbound_messages/{docId}. Top-level scope. Symmetric counterpart to WhatsappInboundMessage (GH#36).",
5825
+ "example": {
5826
+ "id": null,
5827
+ "messageId": "mes_ref123",
5828
+ "to": "to",
5829
+ "waba": "waba",
5830
+ "wabaId": "wab_ref123",
5831
+ "sentAt": "sentAt",
5832
+ "phoneNumberId": "pho_ref123",
5833
+ "kind": "kind",
5834
+ "templateName": "templateName",
5835
+ "status": "status",
5836
+ "contactWaId": null,
5837
+ "appId": null,
5838
+ "orderUuid": null,
5839
+ "statusUpdatedAt": "statusUpdatedAt",
5840
+ "failureCode": null,
5841
+ "failureErrors": null
5842
+ }
5843
+ },
5687
5844
  "payment-summary": {
5688
5845
  "type": "object",
5689
5846
  "properties": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ingenx-io/valets-schema-mcp-server",
3
- "version": "0.1.8",
3
+ "version": "0.1.10",
4
4
  "description": "MCP server exposing @valets/schema documentation to AI agents",
5
5
  "type": "module",
6
6
  "main": "index.js",