addedInput schema / properties / actor
Added value: +{
+ "description": "Who is asking: { type: agent|human|system|integration, id, display_name }.",
+ "type": "object"
+}
changedInput schema / properties / agent_id / description
Previous value: -"Agent ID to route this number to directly once purchased (optional; requires the number to also be Vapi-imported, which is not guaranteed at purchase time — prefer a follow-up attach_number call)."New value: +"Agent ID to route this number to directly once purchased (optional; requires the number to also be voice-runtime-imported, which is not guaranteed at purchase time — prefer a follow-up attach_number call)."
addedInput schema / properties / authority
Added value: +{
+ "description": "How the purchase was authorized: { mode, confirmed_by, confirmed_at, confirmation_ref }. human_confirmed requires all three confirmation fields; anything weaker returns pending_approval.",
+ "type": "object"
+}
addedInput schema / properties / dry_run
Added value: +{
+ "description": "Validate tenant, scope, and policy without buying anything.",
+ "type": "boolean"
+}
addedInput schema / properties / idempotency_key
Added value: +{
+ "description": "Stable key for the purchase request; repeating it returns the original outcome. Defaults to a key derived from the phone number — pass your own to retry a previously failed purchase.",
+ "type": "string"
+}
addedInput schema / properties / queue_for_approval
Added value: +{
+ "description": "When authority is insufficient, create a durable dashboard approval (default true). Set false to get needs_approval and retry yourself with the same idempotency_key once a human confirms.",
+ "type": "boolean"
+}
addedInput schema / properties / reason
Added value: +{
+ "description": "Optional reason recorded in the durable audit.",
+ "type": "string"
+}
addedInput schema / properties / source_ref
Added value: +{
+ "description": "External source reference, such as a ticket or automation run ID.",
+ "type": "string"
+}
addedOutput schema / properties / approval
Added value: +{
+ "type": [
+ "object",
+ "null"
+ ]
+}
changedOutput schema / properties / business_id / type
Previous value: -"string"New value: +[
+ "string",
+ "null"
+]
addedOutput schema / properties / code
Added value: +{
+ "type": [
+ "string",
+ "null"
+ ]
+}
removedOutput schema / properties / compliance
Removed value: -{
- "properties": {
- "disclosure_note": {
- "type": "string"
- },
- "high_risk_category": {
- "type": "boolean"
- }
- },
- "type": "object"
-}
addedOutput schema / properties / message
Added value: +{
+ "type": [
+ "string",
+ "null"
+ ]
+}
removedOutput schema / properties / number
Removed value: -{
- "type": "object"
-}
addedOutput schema / properties / request_id
Added value: +{
+ "type": [
+ "string",
+ "null"
+ ]
+}
addedOutput schema / properties / result
Added value: +{
+ "description": "On executed: { number, vapi_registered, agent_attached, compliance: { high_risk_category, disclosure_note } }.",
+ "type": [
+ "object",
+ "null"
+ ]
+}
addedOutput schema / properties / risk_level
Added value: +{
+ "type": [
+ "string",
+ "null"
+ ]
+}
addedOutput schema / properties / status
Added value: +{
+ "type": "string"
+}
addedOutput schema / properties / summary
Added value: +{
+ "type": [
+ "object",
+ "null"
+ ]
+}