trailpack-proxy-generics
Advanced tools
Comparing version 0.0.28 to 0.0.29
@@ -7,5 +7,7 @@ 'use strict' | ||
gateway: joi.string(), | ||
foreign_key: joi.any(), | ||
foreign_id: joi.any(), | ||
account_foreign_key: joi.any().required(), | ||
account_foreign_id: joi.any().required(), | ||
foreign_key: joi.any().required(), | ||
foreign_id: joi.any().required(), | ||
payment_details: joi.object() | ||
}).unknown() |
@@ -6,5 +6,5 @@ 'use strict' | ||
account_foreign_key: joi.any(), | ||
account_foreign_id: joi.any(), | ||
foreign_key: joi.any(), | ||
account_foreign_id: joi.any().required(), | ||
foreign_key: joi.any().required(), | ||
foreign_id: joi.any().required(), | ||
}).unknown() |
@@ -6,4 +6,4 @@ 'use strict' | ||
gateway: joi.string().required(), | ||
account_foreign_key: joi.any(), | ||
account_foreign_id: joi.any(), | ||
account_foreign_key: joi.any().required(), | ||
account_foreign_id: joi.any().required(), | ||
foreign_key: joi.any().required(), | ||
@@ -10,0 +10,0 @@ foreign_id: joi.any().required(), |
@@ -6,4 +6,4 @@ 'use strict' | ||
gateway: joi.string(), | ||
account_foreign_key: joi.any(), | ||
account_foreign_id: joi.any(), | ||
account_foreign_key: joi.any().required(), | ||
account_foreign_id: joi.any().required(), | ||
foreign_key: joi.any(), | ||
@@ -10,0 +10,0 @@ foreign_id: joi.any().required(), |
{ | ||
"name": "trailpack-proxy-generics", | ||
"version": "0.0.28", | ||
"version": "0.0.29", | ||
"description": "Generics - Trailpack for Proxy Engine", | ||
@@ -5,0 +5,0 @@ "homepage": "https://cali-style.com", |
@@ -58,3 +58,3 @@ 'use strict' | ||
foreign_key: 'customer', | ||
foreign_id: customer.id, | ||
foreign_id: 'customer_' + shortid.generate(), | ||
data: customer | ||
@@ -67,6 +67,6 @@ } | ||
gateway: 'payment_processor', | ||
account_foreign_key: source.account_foreign_key, | ||
account_foreign_key: 'customer', | ||
account_foreign_id: source.account_foreign_id, | ||
foreign_key: 'customer', | ||
foreign_id: source.id, | ||
foreign_id: 'source_' + shortid.generate(), | ||
payment_details: source | ||
@@ -88,6 +88,6 @@ } | ||
gateway: 'payment_processor', | ||
account_foreign_key: source.account_foreign_key, | ||
account_foreign_key: 'customer', | ||
account_foreign_id: source.account_foreign_id, | ||
foreign_key: 'customer', | ||
foreign_id: 'source_' + shortid.generate(), | ||
foreign_key: 'source', | ||
foreign_id: source.foreign_key, | ||
payment_details: source | ||
@@ -109,4 +109,4 @@ } | ||
gateway: 'payment_processor', | ||
account_foreign_key: source.account_foreign_key, | ||
account_foreign_id: source.account_foreign_id, | ||
account_foreign_key: 'customer', | ||
foreign_key: 'source', | ||
@@ -113,0 +113,0 @@ foreign_id: source.foreign_id, |
88918
2832