336 lines
9.7 KiB
JSON
336 lines
9.7 KiB
JSON
{
|
|
"server": {
|
|
"command": "node",
|
|
"args": [
|
|
"/Users/jakeshore/.clawdbot/workspace/mcp-diagrams/mcp-servers/wave/dist/index.js"
|
|
],
|
|
"env": {
|
|
"WAVE_API_TOKEN": "factory_discovery_dummy"
|
|
}
|
|
},
|
|
"tests": {
|
|
"tools": {
|
|
"list_businesses": {
|
|
"args": {},
|
|
"expect": "content && content.length > 0"
|
|
},
|
|
"list_invoices": {
|
|
"args": {
|
|
"businessId": "test-id-123",
|
|
"page": 50,
|
|
"pageSize": 50
|
|
},
|
|
"expect": "content && content.length > 0"
|
|
},
|
|
"create_invoice": {
|
|
"args": {
|
|
"businessId": "test-id-123",
|
|
"customerId": "test-id-123",
|
|
"invoiceDate": "test_value",
|
|
"dueDate": "test_value",
|
|
"items": [],
|
|
"memo": "test_value"
|
|
},
|
|
"expect": "content && content.length > 0"
|
|
},
|
|
"create_invoice:empty-invoiceDate": {
|
|
"args": {
|
|
"businessId": "test-id-123",
|
|
"customerId": "test-id-123",
|
|
"invoiceDate": "",
|
|
"dueDate": "test_value",
|
|
"items": [],
|
|
"memo": "test_value"
|
|
},
|
|
"expect": "exists"
|
|
},
|
|
"create_invoice:empty-dueDate": {
|
|
"args": {
|
|
"businessId": "test-id-123",
|
|
"customerId": "test-id-123",
|
|
"invoiceDate": "test_value",
|
|
"dueDate": "",
|
|
"items": [],
|
|
"memo": "test_value"
|
|
},
|
|
"expect": "exists"
|
|
},
|
|
"create_invoice:empty-memo": {
|
|
"args": {
|
|
"businessId": "test-id-123",
|
|
"customerId": "test-id-123",
|
|
"invoiceDate": "test_value",
|
|
"dueDate": "test_value",
|
|
"items": [],
|
|
"memo": ""
|
|
},
|
|
"expect": "exists"
|
|
},
|
|
"list_customers": {
|
|
"args": {
|
|
"businessId": "test-id-123",
|
|
"page": 50,
|
|
"pageSize": 50
|
|
},
|
|
"expect": "content && content.length > 0"
|
|
},
|
|
"create_customer": {
|
|
"args": {
|
|
"businessId": "test-id-123",
|
|
"name": "Test Name",
|
|
"email": "test@example.com",
|
|
"firstName": "Test Name",
|
|
"lastName": "Test Name",
|
|
"phone": "test_value",
|
|
"addressLine1": "test_value",
|
|
"addressLine2": "test_value",
|
|
"city": "test_value",
|
|
"provinceCode": "javascript",
|
|
"postalCode": "javascript",
|
|
"countryCode": "javascript",
|
|
"currency": "test_value"
|
|
},
|
|
"expect": "content && content.length > 0"
|
|
},
|
|
"create_customer:empty-email": {
|
|
"args": {
|
|
"businessId": "test-id-123",
|
|
"name": "Test Name",
|
|
"email": "",
|
|
"firstName": "Test Name",
|
|
"lastName": "Test Name",
|
|
"phone": "test_value",
|
|
"addressLine1": "test_value",
|
|
"addressLine2": "test_value",
|
|
"city": "test_value",
|
|
"provinceCode": "javascript",
|
|
"postalCode": "javascript",
|
|
"countryCode": "javascript",
|
|
"currency": "test_value"
|
|
},
|
|
"expect": "exists"
|
|
},
|
|
"create_customer:empty-firstName": {
|
|
"args": {
|
|
"businessId": "test-id-123",
|
|
"name": "Test Name",
|
|
"email": "test@example.com",
|
|
"firstName": "",
|
|
"lastName": "Test Name",
|
|
"phone": "test_value",
|
|
"addressLine1": "test_value",
|
|
"addressLine2": "test_value",
|
|
"city": "test_value",
|
|
"provinceCode": "javascript",
|
|
"postalCode": "javascript",
|
|
"countryCode": "javascript",
|
|
"currency": "test_value"
|
|
},
|
|
"expect": "exists"
|
|
},
|
|
"create_customer:empty-lastName": {
|
|
"args": {
|
|
"businessId": "test-id-123",
|
|
"name": "Test Name",
|
|
"email": "test@example.com",
|
|
"firstName": "Test Name",
|
|
"lastName": "",
|
|
"phone": "test_value",
|
|
"addressLine1": "test_value",
|
|
"addressLine2": "test_value",
|
|
"city": "test_value",
|
|
"provinceCode": "javascript",
|
|
"postalCode": "javascript",
|
|
"countryCode": "javascript",
|
|
"currency": "test_value"
|
|
},
|
|
"expect": "exists"
|
|
},
|
|
"create_customer:empty-phone": {
|
|
"args": {
|
|
"businessId": "test-id-123",
|
|
"name": "Test Name",
|
|
"email": "test@example.com",
|
|
"firstName": "Test Name",
|
|
"lastName": "Test Name",
|
|
"phone": "",
|
|
"addressLine1": "test_value",
|
|
"addressLine2": "test_value",
|
|
"city": "test_value",
|
|
"provinceCode": "javascript",
|
|
"postalCode": "javascript",
|
|
"countryCode": "javascript",
|
|
"currency": "test_value"
|
|
},
|
|
"expect": "exists"
|
|
},
|
|
"create_customer:empty-addressLine1": {
|
|
"args": {
|
|
"businessId": "test-id-123",
|
|
"name": "Test Name",
|
|
"email": "test@example.com",
|
|
"firstName": "Test Name",
|
|
"lastName": "Test Name",
|
|
"phone": "test_value",
|
|
"addressLine1": "",
|
|
"addressLine2": "test_value",
|
|
"city": "test_value",
|
|
"provinceCode": "javascript",
|
|
"postalCode": "javascript",
|
|
"countryCode": "javascript",
|
|
"currency": "test_value"
|
|
},
|
|
"expect": "exists"
|
|
},
|
|
"create_customer:empty-addressLine2": {
|
|
"args": {
|
|
"businessId": "test-id-123",
|
|
"name": "Test Name",
|
|
"email": "test@example.com",
|
|
"firstName": "Test Name",
|
|
"lastName": "Test Name",
|
|
"phone": "test_value",
|
|
"addressLine1": "test_value",
|
|
"addressLine2": "",
|
|
"city": "test_value",
|
|
"provinceCode": "javascript",
|
|
"postalCode": "javascript",
|
|
"countryCode": "javascript",
|
|
"currency": "test_value"
|
|
},
|
|
"expect": "exists"
|
|
},
|
|
"create_customer:empty-city": {
|
|
"args": {
|
|
"businessId": "test-id-123",
|
|
"name": "Test Name",
|
|
"email": "test@example.com",
|
|
"firstName": "Test Name",
|
|
"lastName": "Test Name",
|
|
"phone": "test_value",
|
|
"addressLine1": "test_value",
|
|
"addressLine2": "test_value",
|
|
"city": "",
|
|
"provinceCode": "javascript",
|
|
"postalCode": "javascript",
|
|
"countryCode": "javascript",
|
|
"currency": "test_value"
|
|
},
|
|
"expect": "exists"
|
|
},
|
|
"create_customer:empty-provinceCode": {
|
|
"args": {
|
|
"businessId": "test-id-123",
|
|
"name": "Test Name",
|
|
"email": "test@example.com",
|
|
"firstName": "Test Name",
|
|
"lastName": "Test Name",
|
|
"phone": "test_value",
|
|
"addressLine1": "test_value",
|
|
"addressLine2": "test_value",
|
|
"city": "test_value",
|
|
"provinceCode": "",
|
|
"postalCode": "javascript",
|
|
"countryCode": "javascript",
|
|
"currency": "test_value"
|
|
},
|
|
"expect": "exists"
|
|
},
|
|
"create_customer:empty-postalCode": {
|
|
"args": {
|
|
"businessId": "test-id-123",
|
|
"name": "Test Name",
|
|
"email": "test@example.com",
|
|
"firstName": "Test Name",
|
|
"lastName": "Test Name",
|
|
"phone": "test_value",
|
|
"addressLine1": "test_value",
|
|
"addressLine2": "test_value",
|
|
"city": "test_value",
|
|
"provinceCode": "javascript",
|
|
"postalCode": "",
|
|
"countryCode": "javascript",
|
|
"currency": "test_value"
|
|
},
|
|
"expect": "exists"
|
|
},
|
|
"create_customer:empty-countryCode": {
|
|
"args": {
|
|
"businessId": "test-id-123",
|
|
"name": "Test Name",
|
|
"email": "test@example.com",
|
|
"firstName": "Test Name",
|
|
"lastName": "Test Name",
|
|
"phone": "test_value",
|
|
"addressLine1": "test_value",
|
|
"addressLine2": "test_value",
|
|
"city": "test_value",
|
|
"provinceCode": "javascript",
|
|
"postalCode": "javascript",
|
|
"countryCode": "",
|
|
"currency": "test_value"
|
|
},
|
|
"expect": "exists"
|
|
},
|
|
"create_customer:empty-currency": {
|
|
"args": {
|
|
"businessId": "test-id-123",
|
|
"name": "Test Name",
|
|
"email": "test@example.com",
|
|
"firstName": "Test Name",
|
|
"lastName": "Test Name",
|
|
"phone": "test_value",
|
|
"addressLine1": "test_value",
|
|
"addressLine2": "test_value",
|
|
"city": "test_value",
|
|
"provinceCode": "javascript",
|
|
"postalCode": "javascript",
|
|
"countryCode": "javascript",
|
|
"currency": ""
|
|
},
|
|
"expect": "exists"
|
|
},
|
|
"list_accounts": {
|
|
"args": {
|
|
"businessId": "test-id-123",
|
|
"page": 50,
|
|
"pageSize": 50
|
|
},
|
|
"expect": "content && content.length > 0"
|
|
},
|
|
"list_transactions": {
|
|
"args": {
|
|
"businessId": "test-id-123",
|
|
"page": 50,
|
|
"pageSize": 50
|
|
},
|
|
"expect": "content && content.length > 0"
|
|
},
|
|
"create_expense": {
|
|
"args": {
|
|
"businessId": "test-id-123",
|
|
"externalId": "test-id-123",
|
|
"date": "test_value",
|
|
"description": "test_value",
|
|
"anchor": {},
|
|
"lineItems": []
|
|
},
|
|
"expect": "content && content.length > 0"
|
|
},
|
|
"create_expense:empty-externalId": {
|
|
"args": {
|
|
"businessId": "test-id-123",
|
|
"externalId": "",
|
|
"date": "test_value",
|
|
"description": "test_value",
|
|
"anchor": {},
|
|
"lineItems": []
|
|
},
|
|
"expect": "exists"
|
|
}
|
|
},
|
|
"resources": {},
|
|
"prompts": {},
|
|
"timeout": 30000
|
|
}
|
|
} |