Open akherr opened 11 months ago
Using the create and update methods for the Company model should only require companyId.
create
update
companyId
All of the parameters in the create and update methods for the Company are required.
interface CreateCompanyData { createdAt: Timestamp; companyId: string; name: string; monthlySpend: number; plan: string; size: number; website: string; industry: string; customAttributes: JavascriptObject; } declare type UpdateCompanyData = CreateCompanyData;
This interface should reflect what is defined in the API docs, with having all but companyId optional.
Version info
Expected behavior
Using the
create
andupdate
methods for the Company model should only requirecompanyId
.Actual behavior
All of the parameters in the
create
andupdate
methods for the Company are required.This interface should reflect what is defined in the API docs, with having all but
companyId
optional.