@webitel/api-services 26.8.62 → 26.8.64

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.
@@ -1,4 +1,6 @@
1
1
  import type { FormatDateMode } from '../enums/FormatDateMode/FormatDateMode';
2
+ /** The operator's chosen time zone, falling back to the browser's. */
3
+ export declare function getUserTimeZone(): string;
2
4
  export declare function formatDate(date: string | number | Date | null | undefined, to: (typeof FormatDateMode)[keyof typeof FormatDateMode], { timezone, }?: {
3
5
  timezone?: string;
4
6
  }): string;
@@ -29,4 +29,6 @@ export declare const caseSchema: z.ZodObject<{
29
29
  }, z.core.$loose>>>;
30
30
  closeResult: z.ZodDefault<z.ZodString>;
31
31
  }, z.core.$strip>;
32
- export declare const refineCaseCloseFields: (data: Pick<z.infer<typeof caseSchema>, "statusCondition" | "closeReason" | "closeResult">, ctx: z.RefinementCtx) => void;
32
+ type CaseCloseFields = Pick<z.infer<typeof caseSchema>, 'statusCondition' | 'closeReason' | 'closeResult'>;
33
+ export declare const caseCloseFieldsChecks: z.core.$ZodCheck<CaseCloseFields>[];
34
+ export {};