@ingenx-io/valets-schema-mcp-server 0.1.8 → 0.1.9
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/outbound-message-kind.md +22 -0
- package/data/docs/enums/outbound-message-status.md +25 -0
- package/data/docs/enums/payment-method.md +2 -2
- package/data/docs/enums/payment-proof-status.md +2 -2
- package/data/docs/enums/payment-status.md +2 -2
- package/data/docs/enums/pending-issue.md +2 -2
- package/data/docs/enums/return-status.md +2 -2
- package/data/docs/enums/session-status.md +2 -2
- package/data/docs/enums/site-status.md +2 -2
- package/data/docs/enums/stocktake-frequency.md +2 -2
- package/data/docs/enums/stocktake-item-status.md +2 -2
- package/data/docs/enums/stocktake-status.md +2 -2
- package/data/docs/enums/ticket-status.md +2 -2
- package/data/docs/enums/waba-label.md +2 -2
- package/data/docs/index.md +5 -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 +2 -2
- package/data/docs/models/whatsapp-outbound-message.md +365 -0
- package/data/static/llms.txt +53 -1
- package/data/static/openapi.yaml +137 -2
- package/data/static/schemas.json +158 -2
- 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-16T00:18:16.324105+00:00",
|
|
5
5
|
"schemas": {
|
|
6
6
|
"allowed-user": {
|
|
7
7
|
"type": "object",
|
|
@@ -4394,6 +4394,25 @@
|
|
|
4394
4394
|
]
|
|
4395
4395
|
}
|
|
4396
4396
|
},
|
|
4397
|
+
"outbound-message-kind": {
|
|
4398
|
+
"type": "string",
|
|
4399
|
+
"enum": [
|
|
4400
|
+
"otp",
|
|
4401
|
+
"review_request"
|
|
4402
|
+
],
|
|
4403
|
+
"description": "Outbound WhatsApp message kind. Strict enum \u2014 new kinds require a schema version bump (GH#38)."
|
|
4404
|
+
},
|
|
4405
|
+
"outbound-message-status": {
|
|
4406
|
+
"type": "string",
|
|
4407
|
+
"enum": [
|
|
4408
|
+
"accepted",
|
|
4409
|
+
"sent",
|
|
4410
|
+
"delivered",
|
|
4411
|
+
"read",
|
|
4412
|
+
"failed"
|
|
4413
|
+
],
|
|
4414
|
+
"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)."
|
|
4415
|
+
},
|
|
4397
4416
|
"payment-method": {
|
|
4398
4417
|
"type": "string",
|
|
4399
4418
|
"enum": [
|
|
@@ -5667,7 +5686,7 @@
|
|
|
5667
5686
|
"receivedAt"
|
|
5668
5687
|
],
|
|
5669
5688
|
"additionalProperties": false,
|
|
5670
|
-
"description": "WhatsappInboundMessage \u2014 inbound WhatsApp message persisted from Meta Cloud API webhook (GH#36). Collection: whatsapp_inbound_messages/{docId}
|
|
5689
|
+
"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
5690
|
"example": {
|
|
5672
5691
|
"id": null,
|
|
5673
5692
|
"wabaId": "wab_ref123",
|
|
@@ -5684,6 +5703,143 @@
|
|
|
5684
5703
|
"context": null
|
|
5685
5704
|
}
|
|
5686
5705
|
},
|
|
5706
|
+
"whatsapp-outbound-message": {
|
|
5707
|
+
"type": "object",
|
|
5708
|
+
"properties": {
|
|
5709
|
+
"id": {
|
|
5710
|
+
"readOnly": true,
|
|
5711
|
+
"description": "(Read-only) Firestore document ID \u2014 wamid on success, generated UUID on failure.",
|
|
5712
|
+
"type": [
|
|
5713
|
+
"string",
|
|
5714
|
+
"null"
|
|
5715
|
+
]
|
|
5716
|
+
},
|
|
5717
|
+
"messageId": {
|
|
5718
|
+
"type": "string",
|
|
5719
|
+
"x-immutable": true,
|
|
5720
|
+
"description": "(Immutable) WhatsApp message ID (wamid) on success; generated UUID on send failure."
|
|
5721
|
+
},
|
|
5722
|
+
"to": {
|
|
5723
|
+
"type": "string",
|
|
5724
|
+
"x-immutable": true,
|
|
5725
|
+
"description": "(Immutable) Recipient phone number in E.164 format. Mirrors inbound `from`."
|
|
5726
|
+
},
|
|
5727
|
+
"waba": {
|
|
5728
|
+
"$ref": "#/definitions/waba-label",
|
|
5729
|
+
"description": "(Immutable) WABA that sent the message. Mirrors inbound `waba`.",
|
|
5730
|
+
"x-immutable": true
|
|
5731
|
+
},
|
|
5732
|
+
"wabaId": {
|
|
5733
|
+
"type": "string",
|
|
5734
|
+
"x-immutable": true,
|
|
5735
|
+
"description": "(Immutable) Meta WABA ID. Mirrors inbound `wabaId`."
|
|
5736
|
+
},
|
|
5737
|
+
"sentAt": {
|
|
5738
|
+
"$ref": "#/definitions/firestore-timestamp",
|
|
5739
|
+
"description": "(Read-only) Server-side send timestamp. Mirrors inbound `receivedAt`.",
|
|
5740
|
+
"readOnly": true
|
|
5741
|
+
},
|
|
5742
|
+
"phoneNumberId": {
|
|
5743
|
+
"type": "string",
|
|
5744
|
+
"x-immutable": true,
|
|
5745
|
+
"description": "(Immutable) Meta phone number ID used for the send (specific line within the WABA)."
|
|
5746
|
+
},
|
|
5747
|
+
"kind": {
|
|
5748
|
+
"$ref": "#/definitions/outbound-message-kind",
|
|
5749
|
+
"description": "(Immutable) Message kind.",
|
|
5750
|
+
"x-immutable": true
|
|
5751
|
+
},
|
|
5752
|
+
"templateName": {
|
|
5753
|
+
"type": "string",
|
|
5754
|
+
"x-immutable": true,
|
|
5755
|
+
"description": "(Immutable) WhatsApp template name used for the send."
|
|
5756
|
+
},
|
|
5757
|
+
"status": {
|
|
5758
|
+
"$ref": "#/definitions/outbound-message-status",
|
|
5759
|
+
"description": "Delivery status. Updated in-place by Meta delivery callbacks."
|
|
5760
|
+
},
|
|
5761
|
+
"contactWaId": {
|
|
5762
|
+
"description": "Normalized wa_id returned by Meta on success. May differ from `to`.",
|
|
5763
|
+
"type": [
|
|
5764
|
+
"string",
|
|
5765
|
+
"null"
|
|
5766
|
+
]
|
|
5767
|
+
},
|
|
5768
|
+
"appId": {
|
|
5769
|
+
"description": "Tenant appId when applicable.",
|
|
5770
|
+
"type": [
|
|
5771
|
+
"string",
|
|
5772
|
+
"null"
|
|
5773
|
+
]
|
|
5774
|
+
},
|
|
5775
|
+
"orderUuid": {
|
|
5776
|
+
"description": "Order reference. Present on review_request messages only.",
|
|
5777
|
+
"type": [
|
|
5778
|
+
"string",
|
|
5779
|
+
"null"
|
|
5780
|
+
]
|
|
5781
|
+
},
|
|
5782
|
+
"statusUpdatedAt": {
|
|
5783
|
+
"anyOf": [
|
|
5784
|
+
{
|
|
5785
|
+
"$ref": "#/definitions/firestore-timestamp"
|
|
5786
|
+
},
|
|
5787
|
+
{
|
|
5788
|
+
"type": "null"
|
|
5789
|
+
}
|
|
5790
|
+
],
|
|
5791
|
+
"description": "Timestamp of the last status update from a Meta delivery callback."
|
|
5792
|
+
},
|
|
5793
|
+
"failureCode": {
|
|
5794
|
+
"description": "Meta error code. Present on failed sends only.",
|
|
5795
|
+
"type": [
|
|
5796
|
+
"integer",
|
|
5797
|
+
"null"
|
|
5798
|
+
],
|
|
5799
|
+
"minimum": -9007199254740991,
|
|
5800
|
+
"maximum": 9007199254740991
|
|
5801
|
+
},
|
|
5802
|
+
"failureErrors": {
|
|
5803
|
+
"description": "Raw Meta error objects. Present on failed sends only.",
|
|
5804
|
+
"type": [
|
|
5805
|
+
"array",
|
|
5806
|
+
"null"
|
|
5807
|
+
],
|
|
5808
|
+
"items": {}
|
|
5809
|
+
}
|
|
5810
|
+
},
|
|
5811
|
+
"required": [
|
|
5812
|
+
"messageId",
|
|
5813
|
+
"to",
|
|
5814
|
+
"waba",
|
|
5815
|
+
"wabaId",
|
|
5816
|
+
"sentAt",
|
|
5817
|
+
"phoneNumberId",
|
|
5818
|
+
"kind",
|
|
5819
|
+
"templateName",
|
|
5820
|
+
"status"
|
|
5821
|
+
],
|
|
5822
|
+
"additionalProperties": false,
|
|
5823
|
+
"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).",
|
|
5824
|
+
"example": {
|
|
5825
|
+
"id": null,
|
|
5826
|
+
"messageId": "mes_ref123",
|
|
5827
|
+
"to": "to",
|
|
5828
|
+
"waba": "waba",
|
|
5829
|
+
"wabaId": "wab_ref123",
|
|
5830
|
+
"sentAt": "sentAt",
|
|
5831
|
+
"phoneNumberId": "pho_ref123",
|
|
5832
|
+
"kind": "kind",
|
|
5833
|
+
"templateName": "templateName",
|
|
5834
|
+
"status": "status",
|
|
5835
|
+
"contactWaId": null,
|
|
5836
|
+
"appId": null,
|
|
5837
|
+
"orderUuid": null,
|
|
5838
|
+
"statusUpdatedAt": "statusUpdatedAt",
|
|
5839
|
+
"failureCode": null,
|
|
5840
|
+
"failureErrors": null
|
|
5841
|
+
}
|
|
5842
|
+
},
|
|
5687
5843
|
"payment-summary": {
|
|
5688
5844
|
"type": "object",
|
|
5689
5845
|
"properties": {
|