import { Service } from "../serviceSDK"; import { ServiceRequest } from "../../types/service"; export declare class ServiceManagementService extends Service { /** * Constructs a new ProductService instance. * @param endpoint - The endpoint URL for the service. * @param orgId - The organization ID. * @param storeId - The store ID. */ constructor(endpoint: string, orgId: string, storeId: string); /** * get service by id . * @param serviceId - The id of the service */ getServiceById(serviceId: string): Promise; /** * get service by type * @param type - The endpoint URL for the service. */ /** * get service by owner id * @param ownerId - The endpoint URL for the service. */ getServiceByOwnerId(ownerId: string): Promise; /** * get service actions * @param serviceId - * @param actionType * @param updatedBy */ getServiceActions(serviceId: string): Promise; /** * create service * @param data */ createService(data: ServiceRequest): Promise; /** * create service * @param data * @param serviceId * @param updatedBy */ updateService(data: ServiceRequest, serviceId: String, updatedBy: string): Promise; /** * delete service * @param serviceId * @param deletedBy */ deleteService(serviceId: string, deletedBy: string): Promise; /** * update attr value * @param serviceId * @param attrName * @param attrValue * @param updatedBy */ updateAttrValue(serviceId: string, attr: JSON, updatedBy: string): Promise; /** * delete attr value * @param serviceId * @param attrName * @param updatedBy */ deleteAttrValue(serviceId: string, attrName: string, updatedBy: string): Promise; /** * update success action process status * @param serviceId * @param actionResult * @param updatedBy */ updateSuccessActionProcessStatus(serviceActionId: string, updatedBy: string): Promise; /** * update fail action process status * @param serviceId * @param actionResult * @param updatedBy */ updateFailActionProcessStatus(serviceActionId: string, description: string, updatedBy: string): Promise; /** * Creates a service ticket. * * @param {string} serviceId - The ID of the service. * @param {string} name - The name of the service ticket. * @param {string} createdBy - The user who created the service ticket. * @param {string} description - The description of the service ticket. * @returns {Promise} - A promise that resolves to the created service ticket. * @throws {Error} - If an error occurs during the creation of the service ticket. */ createServiceTicket(serviceId: string, name: string, createdBy: string, description: string): Promise; getServiceTicket(serviceId: string): Promise; createServiceAction(serviceId: string, actionType: string, attributes: JSON, createdBy: string): Promise; addActionAttribute(actionId: string, attribute: JSON, createdBy: string): Promise; getActionAttribute(actionId: string, attributeName: string): Promise; }