@webitel/api-services 26.8.78 → 26.8.80

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,5 @@
1
+ import type { GetItemParams, UpdateItemParams } from '../_shared/types';
2
+ export declare const AgentWorkingConditionsAPI: {
3
+ get: ({ itemId: id }: GetItemParams) => Promise<any>;
4
+ update: ({ itemInstance, itemId: id, }: UpdateItemParams) => Promise<any>;
5
+ };
@@ -6,6 +6,7 @@ export * from './agentSkills/agentSkills';
6
6
  export * from './agents/agentAbsence';
7
7
  export * from './agents/agentChats';
8
8
  export * from './agents/agents';
9
+ export * from './agentWorkingConditions/agentWorkingConditions';
9
10
  export * from './auditForms/auditForms';
10
11
  export * from './auditForms/auditRates';
11
12
  export * from './backendProfiles/backendProfiles';
@@ -26,3 +26,18 @@ export declare const agentSchema: z.ZodObject<{
26
26
  user?: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> | undefined;
27
27
  userPresenceStatus?: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> | undefined;
28
28
  }, z.core.$strip>;
29
+ /**
30
+ * [Claude] WFM part of the agent card, stored apart from the agent itself
31
+ * (`/wfm/agents/{id}/conditions`). Merge it into {@link agentSchema} only
32
+ * when the user has a WFM license.
33
+ */
34
+ export declare const agentWfmConditionsSchema: z.ZodObject<{
35
+ workingCondition: z.ZodObject<{
36
+ id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
37
+ name: z.ZodOptional<z.ZodString>;
38
+ }, z.core.$strip>;
39
+ pauseTemplate: z.ZodDefault<z.ZodOptional<z.ZodObject<{
40
+ id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
41
+ name: z.ZodOptional<z.ZodString>;
42
+ }, z.core.$strip>>>;
43
+ }, z.core.$strip>;