Makes it so vendors and invoices respect allowances.
This commit is contained in:
@@ -104,7 +104,8 @@
|
||||
:account_search_result
|
||||
{:fields {:name {:type 'String}
|
||||
:id {:type :id}
|
||||
:location {:type 'String}}}
|
||||
:location {:type 'String}
|
||||
:warning {:type 'String}}}
|
||||
|
||||
:yodlee_provider_account
|
||||
{:fields {:id {:type 'Int}
|
||||
@@ -361,6 +362,7 @@
|
||||
:resolve :search-vendor}
|
||||
:search_account {:type '(list :account_search_result)
|
||||
:args {:query {:type 'String}
|
||||
:allowance {:type :account_allowance}
|
||||
:client_id {:type :id}}
|
||||
:resolve :search-account}
|
||||
|
||||
@@ -518,6 +520,9 @@
|
||||
{:enum-value :square}
|
||||
{:enum-value :uber_eats}
|
||||
{:enum-value :grubhub}]}
|
||||
|
||||
:account_allowance {:values [{:enum-value :vendor}
|
||||
{:enum-value :invoice}]}
|
||||
:integration_state {:values [{:enum-value :failed}
|
||||
{:enum-value :success}
|
||||
{:enum-value :unauthorized}]}
|
||||
|
||||
Reference in New Issue
Block a user