/** * Generated by orval v8.19.0 🍺 * Do not edit manually. * Webitel API * OpenAPI spec version: 24.04.0 */ import * as zod from 'zod'; /** * @summary Searches absences by filters. */ export declare const AgentAbsenceServiceSearchAgentsAbsencesQueryParams: zod.ZodObject<{ q: zod.ZodOptional; page: zod.ZodOptional; size: zod.ZodOptional; sort: zod.ZodOptional; fields: zod.ZodOptional>; filters: zod.ZodOptional>; }, zod.z.core.$strip>; export declare const agentAbsenceServiceSearchAgentsAbsencesResponseItemsItemAbsencesItemTypeIdDefault = "ABSENCE_TYPE_UNSPECIFIED"; export declare const AgentAbsenceServiceSearchAgentsAbsencesResponse: zod.ZodObject<{ items: zod.ZodOptional; createdAt: zod.ZodOptional; createdBy: zod.ZodOptional; name: zod.ZodOptional; }, zod.z.core.$strip>>; domainId: zod.ZodOptional; id: zod.ZodOptional; typeId: zod.ZodDefault>; updatedAt: zod.ZodOptional; updatedBy: zod.ZodOptional; name: zod.ZodOptional; }, zod.z.core.$strip>>; }, zod.z.core.$strip>>>; agent: zod.ZodOptional; name: zod.ZodOptional; }, zod.z.core.$strip>>; }, zod.z.core.$strip>>>; next: zod.ZodOptional; }, zod.z.core.$strip>; /** * @summary Creates absences for multiple specified agents. */ export declare const agentAbsenceServiceCreateAgentsAbsencesBodyItemsItemTypeIdDefault = "ABSENCE_TYPE_UNSPECIFIED"; export declare const AgentAbsenceServiceCreateAgentsAbsencesBody: zod.ZodObject<{ agentIds: zod.ZodOptional>; items: zod.ZodOptional; dateTo: zod.ZodOptional; typeId: zod.ZodDefault>; }, zod.z.core.$strip>>>; }, zod.z.core.$strip>; export declare const agentAbsenceServiceCreateAgentsAbsencesResponseItemsItemAbsencesItemTypeIdDefault = "ABSENCE_TYPE_UNSPECIFIED"; export declare const AgentAbsenceServiceCreateAgentsAbsencesResponse: zod.ZodObject<{ items: zod.ZodOptional; createdAt: zod.ZodOptional; createdBy: zod.ZodOptional; name: zod.ZodOptional; }, zod.z.core.$strip>>; domainId: zod.ZodOptional; id: zod.ZodOptional; typeId: zod.ZodDefault>; updatedAt: zod.ZodOptional; updatedBy: zod.ZodOptional; name: zod.ZodOptional; }, zod.z.core.$strip>>; }, zod.z.core.$strip>>>; agent: zod.ZodOptional; name: zod.ZodOptional; }, zod.z.core.$strip>>; }, zod.z.core.$strip>>>; }, zod.z.core.$strip>; /** * @summary Searches agent absences by filters. */ export declare const AgentAbsenceServiceSearchAgentAbsenceParams: zod.ZodObject<{ agent_id: zod.ZodString; }, zod.z.core.$strip>; export declare const AgentAbsenceServiceSearchAgentAbsenceQueryParams: zod.ZodObject<{ page: zod.ZodOptional; size: zod.ZodOptional; sort: zod.ZodOptional; fields: zod.ZodOptional>; filters: zod.ZodOptional>; }, zod.z.core.$strip>; export declare const agentAbsenceServiceSearchAgentAbsenceResponseItemsItemTypeIdDefault = "ABSENCE_TYPE_UNSPECIFIED"; export declare const AgentAbsenceServiceSearchAgentAbsenceResponse: zod.ZodObject<{ items: zod.ZodOptional; createdAt: zod.ZodOptional; createdBy: zod.ZodOptional; name: zod.ZodOptional; }, zod.z.core.$strip>>; domainId: zod.ZodOptional; id: zod.ZodOptional; typeId: zod.ZodDefault>; updatedAt: zod.ZodOptional; updatedBy: zod.ZodOptional; name: zod.ZodOptional; }, zod.z.core.$strip>>; }, zod.z.core.$strip>>>; }, zod.z.core.$strip>; /** * @summary Creates one-day-absence for one agent. */ export declare const AgentAbsenceServiceCreateAgentAbsenceParams: zod.ZodObject<{ agent_id: zod.ZodString; }, zod.z.core.$strip>; export declare const agentAbsenceServiceCreateAgentAbsenceBodyItemTypeIdDefault = "ABSENCE_TYPE_UNSPECIFIED"; export declare const AgentAbsenceServiceCreateAgentAbsenceBody: zod.ZodObject<{ item: zod.ZodOptional; createdAt: zod.ZodOptional; createdBy: zod.ZodOptional; name: zod.ZodOptional; }, zod.z.core.$strip>>; domainId: zod.ZodOptional; id: zod.ZodOptional; typeId: zod.ZodDefault>; updatedAt: zod.ZodOptional; updatedBy: zod.ZodOptional; name: zod.ZodOptional; }, zod.z.core.$strip>>; }, zod.z.core.$strip>>; }, zod.z.core.$strip>; export declare const agentAbsenceServiceCreateAgentAbsenceResponseItemTypeIdDefault = "ABSENCE_TYPE_UNSPECIFIED"; export declare const AgentAbsenceServiceCreateAgentAbsenceResponse: zod.ZodObject<{ item: zod.ZodOptional; createdAt: zod.ZodOptional; createdBy: zod.ZodOptional; name: zod.ZodOptional; }, zod.z.core.$strip>>; domainId: zod.ZodOptional; id: zod.ZodOptional; typeId: zod.ZodDefault>; updatedAt: zod.ZodOptional; updatedBy: zod.ZodOptional; name: zod.ZodOptional; }, zod.z.core.$strip>>; }, zod.z.core.$strip>>; }, zod.z.core.$strip>; /** * @summary Deletes agent concrete absence by its id. */ export declare const AgentAbsenceServiceDeleteAgentAbsenceParams: zod.ZodObject<{ agent_id: zod.ZodString; id: zod.ZodString; }, zod.z.core.$strip>; export declare const AgentAbsenceServiceDeleteAgentAbsenceResponse: zod.ZodObject<{ id: zod.ZodOptional; }, zod.z.core.$strip>; /** * @summary Reads one absence per agent by its id. */ export declare const AgentAbsenceServiceReadAgentAbsenceParams: zod.ZodObject<{ agent_id: zod.ZodString; id: zod.ZodString; }, zod.z.core.$strip>; export declare const agentAbsenceServiceReadAgentAbsenceResponseItemTypeIdDefault = "ABSENCE_TYPE_UNSPECIFIED"; export declare const AgentAbsenceServiceReadAgentAbsenceResponse: zod.ZodObject<{ item: zod.ZodOptional; createdAt: zod.ZodOptional; createdBy: zod.ZodOptional; name: zod.ZodOptional; }, zod.z.core.$strip>>; domainId: zod.ZodOptional; id: zod.ZodOptional; typeId: zod.ZodDefault>; updatedAt: zod.ZodOptional; updatedBy: zod.ZodOptional; name: zod.ZodOptional; }, zod.z.core.$strip>>; }, zod.z.core.$strip>>; }, zod.z.core.$strip>; /** * @summary Updates agent concrete absence by its id. */ export declare const AgentAbsenceServiceUpdateAgentAbsenceParams: zod.ZodObject<{ agent_id: zod.ZodString; 'item.id': zod.ZodString; }, zod.z.core.$strip>; export declare const agentAbsenceServiceUpdateAgentAbsenceBodyItemTypeIdDefault = "ABSENCE_TYPE_UNSPECIFIED"; export declare const AgentAbsenceServiceUpdateAgentAbsenceBody: zod.ZodObject<{ item: zod.ZodOptional; createdAt: zod.ZodOptional; createdBy: zod.ZodOptional; name: zod.ZodOptional; }, zod.z.core.$strip>>; domainId: zod.ZodOptional; typeId: zod.ZodDefault>; updatedAt: zod.ZodOptional; updatedBy: zod.ZodOptional; name: zod.ZodOptional; }, zod.z.core.$strip>>; }, zod.z.core.$strip>>; }, zod.z.core.$strip>; export declare const agentAbsenceServiceUpdateAgentAbsenceResponseItemTypeIdDefault = "ABSENCE_TYPE_UNSPECIFIED"; export declare const AgentAbsenceServiceUpdateAgentAbsenceResponse: zod.ZodObject<{ item: zod.ZodOptional; createdAt: zod.ZodOptional; createdBy: zod.ZodOptional; name: zod.ZodOptional; }, zod.z.core.$strip>>; domainId: zod.ZodOptional; id: zod.ZodOptional; typeId: zod.ZodDefault>; updatedAt: zod.ZodOptional; updatedBy: zod.ZodOptional; name: zod.ZodOptional; }, zod.z.core.$strip>>; }, zod.z.core.$strip>>; }, zod.z.core.$strip>;