Allows users to self set up square
This commit is contained in:
@@ -250,5 +250,26 @@
|
||||
:db/doc "The type of refund"
|
||||
:db/valueType :db.type/string
|
||||
:db/cardinality :db.cardinality/one}]]
|
||||
:requires [:add-refunds]}})
|
||||
:requires [:add-refunds]}
|
||||
:add-square-locations-3 {:txes [[{:db/ident :client/square-auth-token
|
||||
:db/doc "A token that can be used to authenticate with square"
|
||||
:db/valueType :db.type/string
|
||||
:db/cardinality :db.cardinality/one}
|
||||
{:db/ident :client/square-locations
|
||||
:db/doc "Locations in square"
|
||||
:db/valueType :db.type/ref
|
||||
:db/isComponent true
|
||||
:db/cardinality :db.cardinality/many}
|
||||
{:db/ident :square-location/square-id
|
||||
:db/doc "An id for a location in square"
|
||||
:db/valueType :db.type/string
|
||||
:db/cardinality :db.cardinality/one}
|
||||
{:db/ident :square-location/name
|
||||
:db/doc "Name of the location in square e.g. Woodland Hills"
|
||||
:db/valueType :db.type/string
|
||||
:db/cardinality :db.cardinality/one}
|
||||
{:db/ident :square-location/client-location
|
||||
:db/doc "The client location that this location should match to. e.g. WH"
|
||||
:db/valueType :db.type/string
|
||||
:db/cardinality :db.cardinality/one}]]}})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user