amocrm-client
Advanced tools
Comparing version 0.0.17 to 0.0.18
@@ -8,2 +8,4 @@ import { TConstructor } from "../../types"; | ||
import { IUser } from "./User"; | ||
import { ContactCriteria } from "../../interfaces/contact"; | ||
import { IContact } from "./Contact"; | ||
export interface ILead extends IResourceEntity<ILeadFactory>, ILeadAttributes { | ||
@@ -56,4 +58,5 @@ /** | ||
fetch(criteria?: LeadCriteria, options?: IRequestOptions): Promise<ILead>; | ||
contacts(criteria?: Pick<ContactCriteria, "with">, options?: IRequestOptions): Promise<IContact | false>; | ||
responsibleUser(criteria?: Pick<UserCriteria, "with">, options?: IRequestOptions): Promise<IUser | false>; | ||
} | ||
export declare const Lead: TConstructor<ILead>; |
{ | ||
"name": "amocrm-client", | ||
"version": "0.0.17", | ||
"version": "0.0.18", | ||
"description": "JS Library for AmoCRM", | ||
@@ -5,0 +5,0 @@ "main": "./dist/index.js", |
Sorry, the diff of this file is not supported yet
308261
5476