import z from "zod"; import { ServiceClient } from "../../service-client"; import { CreateAgentFlowSchema, CreateAssistantSchema, CreateCompetencySchema, CreateEmploidSchema, CreateExtensionSchema, CreateInputSchema, CreateInstructionSchema, CreateJobDefinitionSchema, CreateOccupationSchema, CreateScopeSchema, CreateSkillSchema, CreateStreamIdSchema, CreateTeamSchema, CreateWorkerSchema, DeleteAssistantSchema, DeleteChatByIdSchema, DeleteCompetencySchema, DeleteDocumentsByIdAfterTimestampSchema, DeleteEmploidSchema, DeleteInputSchema, DeleteInstructionSchema, DeleteJobDefinitionSchema, DeleteMessagesByChatIdAfterTimestampSchema, DeleteOccupationSchema, DeleteScopeSchema, DeleteSkillSchema, DeleteTeamSchema, DeleteWorkerSchema, GetChatByIdSchema, GetChatsByUserIdSchema, GetDocumentByIdSchema, GetDocumentsByIdSchema, GetMessageByIdSchema, GetMessageCountByUserIdSchema, GetMessagesByChatIdSchema, GetStreamIdsByChatIdSchema, GetSuggestionsByDocumentIdSchema, GetVotesByChatIdSchema, ListAgentFlowsSchema, ListAssistantsSchema, ListCompetenciesSchema, ListEmploidsPaginatedSchema, ListEmploidsSchema, ListExtensionsSchema, ListInputSchema, ListInstructionsSchema, ListJobDefinitionSchema, ListOccupationsSchema, ListScopesSchema, ListSkillsSchema, ListTeamsSchema, ListWorkersSchema, SaveChatSchema, SaveDocumentSchema, SaveMessagesSchema, SaveSuggestionsSchema, UpdateAssistantSchema, UpdateChatLastContextByIdSchema, UpdateChatVisiblityByIdSchema, UpdateCompetencySchema, UpdateEmploidSchema, UpdateInputSchema, UpdateInstructionSchema, UpdateJobDefinitionSchema, UpdateOccupationSchema, UpdateScopeSchema, UpdateSkillSchema, UpdateTeamSchema, UpdateWorkerSchema, VoteMessageSchema } from "./schema"; import { TAgentFlow, TAssistant, TChat, TCompetency, TDocument, TEmploid, TExtension, TInput, TInstruction, TJobDefinition, TOccupation, TPaginatedEmploidsResult, TScope, TSkill, TStreamId, TTeam, TWorker } from "./types"; export class EmploidService extends ServiceClient { protected getServiceName(): string { return 'com.appconda.service.emploid'; } public async CreateEmploid(payload: z.infer): Promise { return await this.actionCall('emploid', 'CreateEmploid', payload); } public async UpdateEmploid(payload: z.infer): Promise { return await this.actionCall('emploid', 'UpdateEmploid', payload); } public async DeleteEmploid(payload: z.infer): Promise { return await this.actionCall('emploid', 'DeleteEmploid', payload); } public async ListEmploids(payload: z.infer): Promise { return await this.actionCall('emploid', 'ListEmploids', payload); } public async ListEmploidsPaginated(payload: z.infer): Promise { return await this.actionCall('emploid', 'ListEmploidsPaginated', payload); } public async CreateInstruction(payload: z.infer): Promise { return await this.actionCall('emploid', 'CreateInstruction', payload); } public async ListInstructions(payload: z.infer): Promise { return await this.actionCall('emploid', 'ListInstructions', payload); } public async UpdateInstruction(payload: z.infer): Promise { return await this.actionCall('emploid', 'UpdateInstruction', payload); } public async DeleteInstruction(payload: z.infer): Promise { return await this.actionCall('emploid', 'DeleteInstruction', payload); } public async ListScopes(payload: z.infer): Promise { return await this.actionCall('emploid', 'ListScopes', payload); } public async CreateScope(payload: z.infer): Promise { return await this.actionCall('emploid', 'CreateScope', payload); } public async UpdateScope(payload: z.infer): Promise { return await this.actionCall('emploid', 'UpdateScope', payload); } public async DeleteScope(payload: z.infer): Promise { return await this.actionCall('emploid', 'DeleteScope', payload); } public async CreateOccupation(payload: z.infer): Promise { return await this.actionCall('occupation', 'CreateOccupation', payload); } public async UpdateOccupation(payload: z.infer): Promise { return await this.actionCall('occupation', 'UpdateOccupation', payload); } public async DeleteOccupation(payload: z.infer): Promise { return await this.actionCall('occupation', 'DeleteOccupation', payload); } public async ListOccupations(payload: z.infer): Promise { return await this.actionCall('occupation', 'ListOccupations', payload); } public async CreateJobDefinition(payload: z.infer): Promise { return await this.actionCall('emploid', 'CreateJobDefinition', payload); } public async UpdateJobDefinition(payload: z.infer): Promise { return await this.actionCall('emploid', 'UpdateJobDefinition', payload); } public async DeleteJobDefinition(payload: z.infer): Promise { return await this.actionCall('emploid', 'DeleteJobDefinition', payload); } public async ListJobDefinitions(payload: z.infer): Promise { return await this.actionCall('emploid', 'ListJobDefinitions', payload); } public async CreateCompetency(payload: z.infer): Promise { return await this.actionCall('emploid', 'CreateCompetency', payload); } public async UpdateCompetency(payload: z.infer): Promise { return await this.actionCall('emploid', 'UpdateCompetency', payload); } public async DeleteCompetency(payload: z.infer): Promise { return await this.actionCall('emploid', 'DeleteCompetency', payload); } public async ListCompetencies(payload: z.infer): Promise { return await this.actionCall('emploid', 'ListCompetencies', payload); } public async CreateAgentFlow(payload: z.infer): Promise { return await this.actionCall('agent-flow', 'CreateAgentFlow', payload); } public async ListAgentFlows(payload: z.infer): Promise { return await this.actionCall('agent-flow', 'ListAgentFlows', payload); } public async CreateExtension(payload: z.infer): Promise { return await this.actionCall('extension', 'CreateExtension', payload); } public async ListExtensions(payload: z.infer): Promise { return await this.actionCall('extension', 'ListExtensions', payload); } public async CreateAssistant(payload: z.infer): Promise { return await this.actionCall('assistant', 'CreateAssistant', payload); } public async UpdateAssistant(payload: z.infer): Promise { return await this.actionCall('assistant', 'UpdateAssistant', payload); } public async DeleteAssistant(payload: z.infer): Promise { return await this.actionCall('assistant', 'DeleteAssistant', payload); } public async ListAssistants(payload: z.infer): Promise { return await this.actionCall('assistant', 'ListAssistants', payload); } public async CreateWorker(payload: z.infer): Promise { return await this.actionCall('worker', 'CreateWorker', payload); } public async UpdateWorker(payload: z.infer): Promise { return await this.actionCall('worker', 'UpdateWorker', payload); } public async DeleteWorker(payload: z.infer): Promise { return await this.actionCall('worker', 'DeleteWorker', payload); } public async ListWorkers(payload: z.infer): Promise { return await this.actionCall('worker', 'ListWorkers', payload); } public async CreateInput(payload: z.infer): Promise { return await this.actionCall('input-output', 'CreateInput', payload); } public async UpdateInput(payload: z.infer): Promise { return await this.actionCall('input-output', 'UpdateInput', payload); } public async DeleteInput(payload: z.infer): Promise { return await this.actionCall('input-output', 'DeleteInput', payload); } public async ListInputs(payload: z.infer): Promise { return await this.actionCall('input-output', 'ListInputs', payload); } public async CreateTeam(payload: z.infer): Promise { return await this.actionCall('team', 'CreateTeam', payload); } public async ListTeams(payload: z.infer): Promise { return await this.actionCall('team', 'ListTeams', payload); } public async UpdateTeam(payload: z.infer): Promise { return await this.actionCall('team', 'UpdateTeam', payload); } public async DeleteTeam(payload: z.infer): Promise { return await this.actionCall('team', 'DeleteTeam', payload); } public async SaveChat(payload: z.infer): Promise { return await this.actionCall('chat', 'SaveChat', payload); } public async DeleteChatById(payload: z.infer): Promise { return await this.actionCall('chat', 'DeleteChatById', payload); } public async GetChatById(payload: z.infer): Promise { return await this.actionCall('chat', 'GetChatById', payload); } public async GetChatsByUserId(payload: z.infer): Promise { return await this.actionCall('chat', 'GetChatsByUserId', payload); } public async SaveMessages(payload: z.infer): Promise { return await this.actionCall('chat', 'SaveMessages', payload); } public async GetMessagesByChatId(payload: z.infer): Promise { return await this.actionCall('chat', 'GetMessagesByChatId', payload); } public async GetMessageById(payload: z.infer): Promise { return await this.actionCall('chat', 'GetMessageById', payload); } public async VoteMessage(payload: z.infer): Promise { return await this.actionCall('chat', 'VoteMessage', payload); } public async GetVotesByChatId(payload: z.infer): Promise { return await this.actionCall('chat', 'GetVotesByChatId', payload); } public async DeleteDocumentsByIdAfterTimestamp(payload: z.infer): Promise { return await this.actionCall('chat', 'DeleteDocumentsByIdAfterTimestamp', payload); } public async SaveSuggestions(payload: z.infer): Promise { return await this.actionCall('chat', 'SaveSuggestions', payload); } public async GetSuggestionsByDocumentId(payload: z.infer): Promise { return await this.actionCall('chat', 'GetSuggestionsByDocumentId', payload); } public async DeleteMessagesByChatIdAfterTimestamp(payload: z.infer): Promise { return await this.actionCall('chat', 'DeleteMessagesByChatIdAfterTimestamp', payload); } public async UpdateChatVisiblityById(payload: z.infer): Promise { return await this.actionCall('chat', 'UpdateChatVisiblityById', payload); } public async UpdateChatLastContextById(payload: z.infer): Promise { return await this.actionCall('chat', 'UpdateChatLastContextById', payload); } public async GetMessageCountByUserId(payload: z.infer): Promise { return await this.actionCall('chat', 'GetMessageCountByUserId', payload); } public async CreateStreamId(payload: z.infer): Promise { return await this.actionCall('chat', 'CreateStreamId', payload); } public async GetStreamIdsByChatId(payload: z.infer): Promise { return await this.actionCall('chat', 'GetStreamIdsByChatId', payload); } public async SaveDocument(payload: z.infer): Promise { return await this.actionCall('chat', 'SaveDocument', payload); } public async GetDocumentById(payload: z.infer): Promise { return await this.actionCall('chat', 'GetDocumentById', payload); } public async GetDocumentsById(payload: z.infer): Promise { return await this.actionCall('chat', 'GetDocumentsById', payload); } public async CreateSkill(payload: z.infer): Promise { return await this.actionCall('skill', 'CreateSkill', payload); } public async ListSkills(payload: z.infer): Promise { return await this.actionCall('skill', 'ListSkills', payload); } public async UpdateSkill(payload: z.infer): Promise { return await this.actionCall('skill', 'UpdateSkill', payload); } public async DeleteSkill(payload: z.infer): Promise { return await this.actionCall('skill', 'DeleteSkill', payload); } }