makes expected deposit linking work.

This commit is contained in:
2022-01-13 08:08:20 -08:00
parent f27e5aacdf
commit d6211c778b
9 changed files with 181 additions and 93 deletions

View File

@@ -302,14 +302,7 @@
:charges {:type '(list :charge)}
:line_items {:type '(list :order_line_item)}}}
:expected_deposit
{:fields {:id {:type :id}
:location {:type 'String}
:external_id {:type 'String}
:total {:type :money}
:fee {:type :money}
:client {:type :client}
:date {:type 'String}}}
:check {:fields {:id {:type :id}
:type {:type 'String}
@@ -470,11 +463,7 @@
:expected_deposit_page {:fields {:expected_deposits {:type '(list :expected_deposit)}
:count {:type 'Int}
:total {:type 'Int}
:start {:type 'Int}
:end {:type 'Int}}}
:reminder_page {:fields {:reminders {:type '(list :reminder)}
:count {:type 'Int}
@@ -596,10 +585,7 @@
:statuses {:type '(list String)}}
:resolve :get-all-payments}
:all_expected_deposits {:type '(list :expected_deposit)
:args {:client_id {:type :id}
:client_code {:type 'String}}
:resolve :get-all-expected-deposits}
:all_sales_orders {:type '(list :sales_order)
:args {:client_id {:type :id}
@@ -646,17 +632,7 @@
:resolve :get-sales-order-page}
:expected_deposit_page {:type :expected_deposit_page
:args {:client_id {:type :id}
:exact_match_id {:type :id}
:date_range {:type :date_range}
:total_lte {:type :money}
:total_gte {:type :money}
:start {:type 'Int}
:per_page {:type 'Int}
:sort {:type '(list :sort_item)}}
:resolve :get-expected-deposit-page}
:payment_page {:type '(list :payment_page)
:args {:client_id {:type :id}
@@ -903,9 +879,6 @@
{:enum-value :cash}
{:enum-value :debit}]}
:processor {:values [{:enum-value :na}
{:enum-value :doordash}
{:enum-value :uber_eats}
@@ -1257,8 +1230,6 @@
:get-all-invoices gq-invoices/get-all-invoices
:get-yodlee-provider-account-page gq-yodlee2/get-yodlee-provider-account-page
:get-all-payments get-all-payments
:get-all-expected-deposits gq-expected-deposit/get-all-expected-deposits
:get-expected-deposit-page gq-expected-deposit/get-expected-deposit-page
:get-all-sales-orders get-all-sales-orders
:get-payment-page gq-checks/get-payment-page
:get-potential-payments gq-checks/get-potential-payments
@@ -1304,6 +1275,7 @@
gq-plaid/attach
gq-import-batches/attach
gq-transactions/attach
gq-expected-deposit/attach
schema/compile))