import { AddAttachmentRequest, AddOpportunityRequest, AddTicketRequest, GetCommentRequest, GetOpportunityRequest, getTicketRequest, BaseSort } from "../../types/crm"; import { Service } from "../serviceSDK"; export declare class CrmService extends Service { constructor(endpoint: string, orgId: string, storeId: string); setToken(token: string): void; addOpportunity(performerId: string, addOpportunityRequest?: AddOpportunityRequest): Promise; addOpportunityV2(performerId: string, addOpportunityRequest: any): Promise; addOpportuniyV3(partyId: string, performerId: string, addOpportunityRequest: any): Promise; getListOpportunity(performerId: string, getOpportunityRequest: GetOpportunityRequest): Promise; getListTodo(workEffortId: string[]): Promise; getListWorkEffortType(id: string): Promise; updateStatusAttachmentById(performerId: string, attachmentId: string, status: string): Promise; updateWorkEffortDescription(performerId: string, workEffortId: string, description: string): Promise; updateWorkEffortName(performerId: string, workEffortId: string, name: string): Promise; updateWorkEffortStatus(performerId: string, workEffortId: string, group: string, status: string): Promise; addAttachmentForWorkEffort(performerId: string, workEffortId: string, addAttachmentRequest: AddAttachmentRequest): Promise; getListTicket(performerId: string, getTicketRequest: getTicketRequest): Promise; addTicket(performerId: string, addTicketRequest: AddTicketRequest, addAttachmentRequest: [AddAttachmentRequest]): Promise; getTicketById(ticketId: string): Promise; getAttachmentByWorkEffortId(workEffortIds: [string]): Promise; getListComment(getCommentRequest: GetCommentRequest): Promise; addComment(params: any): Promise; createWorkEffort(createdBy: string, name: String, decription: string, workEffortTypeId: string, group: string, attributes: object, addAttachmentRequest: AddAttachmentRequest, parentId?: string): Promise; createWorkEffortV2(createdBy: string, name: string, decription: string, workEffortTypeId: string, source: string): Promise; getWorkEfforts(performerId: string, workflowId: string, group: string, pageNumber: number, pageSize: number, sorts: BaseSort, attributes: object, fromDate: any, toDate: any): Promise; getWorkEffortsV3(performerId: string, workflowId: string, group: string, pageNumber: number, pageSize: number, sorts: BaseSort, fromDate: string, toDate: string): Promise; getWorkEffortsV2(performerId: string, workEffortTypeId: string, source: string, fromDate: string, toDate: string): Promise; getWorkEffortById(id: string): Promise; getWorkEffortByIdV2(id: string): Promise; updateWorkEffortProcessStatus(workEffortId: string, processStatus: string, performerId: string): Promise; getConnectorByResource(resourceId: string, resourceType: string, type: string): Promise; createConnector(resourceId: string, resourceType: string, description: string, type: string, createdBy: string): Promise; addTag(connectorId: string, tagTitle: string, tagId: string, addedBy: string): Promise; updateConnectorDescription(connectorId: string, description: string, updatedBy: string): Promise; getTags(connectorId: string): Promise; removeTag(connectorId: string, tagId: string, removedBy: string): Promise; searchTopic(filterTopicRequest: any, pageSize: number, currentPage: number): Promise; closeTopic(id: string, updatedBy: string): Promise; createTopic(socialAppId: String, customerId: string, message: string): Promise; getTopicByCustomerId(filterTopicRequest: any, pageSize: number, currentPage: number): Promise; getMyWorkEffortToday(performerId: string, source: string): Promise; getMessages(topicId: String, pageSize: Number, pageNumber: Number): Promise; getResourceRelatedTopic(topicId: string, resourceType: string): Promise; addTopicRelatedResource(topicId: string, resourceId: string, resourceType: string, createdBy: string): Promise; getWorkflows(group: string, keyword: string): Promise; createOrg(orgName: string, providerId: string, groupTenantId: string): Promise; updateResume(resumeId: string, updateResumeRequests: any, updatedBy: string): Promise; getResumesByFieldNameAndValue(orgId: string, fieldName: string, value: string, resumeTemplateId: string): Promise; uploadImageResume(resumeId: string, fieldName: string, uploadImageInput: any, updatedBy: string): Promise; createResume(resumeTemplateId: string, partyId: string, createdBy: string, name: string): Promise; createSupportRequest(title: string, content: string, fileUrl: string, source: string, userId: string, uri: string): Promise; createSupportRequestV2(orgId: string, title: string, content: string, fileUrl: string, source: string, userId: string, uri: string): Promise; getResumesByFieldNameAndValues(resumeTemplateId: string, orgId: string, fieldNameValues: any): Promise; getResumeById(resumeId: string): Promise; getSupportRequests(userId: string, orgId: string): Promise; }