add quick leads
All checks were successful
Build and Publish / build-release (push) Successful in 2m13s
All checks were successful
Build and Publish / build-release (push) Successful in 2m13s
This commit is contained in:
@@ -25,3 +25,66 @@ defmodule CustomerService.Commands.CreateCorporateCustomer do
|
||||
:address
|
||||
]
|
||||
end
|
||||
|
||||
defmodule CustomerService.Commands.UpdateCustomer do
|
||||
defstruct [
|
||||
:id,
|
||||
:first_name,
|
||||
:last_name,
|
||||
:birth_date,
|
||||
:gender,
|
||||
:email,
|
||||
:phone,
|
||||
:address,
|
||||
:document_id
|
||||
]
|
||||
end
|
||||
|
||||
defmodule CustomerService.Commands.UpdateCorporateCustomer do
|
||||
defstruct [
|
||||
:id,
|
||||
:legal_name,
|
||||
:commercial_name,
|
||||
:ruc,
|
||||
:legal_rep_name,
|
||||
:legal_rep_document_id,
|
||||
:email,
|
||||
:phone,
|
||||
:address
|
||||
]
|
||||
end
|
||||
|
||||
defmodule CustomerService.Commands.CreateQuickLead do
|
||||
defstruct [
|
||||
:id,
|
||||
:name,
|
||||
:email,
|
||||
:phone,
|
||||
:company_name,
|
||||
:status,
|
||||
:priority,
|
||||
:source,
|
||||
:notes,
|
||||
:assigned_to,
|
||||
:estimated_value,
|
||||
:expected_close_date
|
||||
]
|
||||
end
|
||||
|
||||
defmodule CustomerService.Commands.UpdateQuickLead do
|
||||
defstruct [
|
||||
:id,
|
||||
:name,
|
||||
:email,
|
||||
:phone,
|
||||
:company_name,
|
||||
:notes,
|
||||
:assigned_to,
|
||||
:estimated_value,
|
||||
:expected_close_date
|
||||
]
|
||||
end
|
||||
|
||||
defmodule CustomerService.Commands.UpdateLeadStatus do
|
||||
defstruct [:id, :status]
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user