@webitel/api-services 26.12.14 → 26.12.15
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.
- package/package.json +1 -1
- package/src/api/clients/{lists → blacklists}/blacklistNumbers.ts +7 -0
- package/src/api/clients/{lists → blacklists}/blacklists.ts +11 -15
- package/src/api/clients/index.ts +2 -2
- package/src/validations/blacklist/__tests__/blacklist.validations.spec.ts +27 -0
- package/src/validations/blacklist/blacklist.validations.ts +9 -0
- package/src/validations/blacklistNumber/__tests__/blacklistNumber.validations.spec.ts +41 -0
- package/src/validations/blacklistNumber/blacklistNumber.validations.ts +19 -0
- package/src/validations/index.ts +2 -0
- package/types/.tsbuildinfo +1 -1
- package/types/api/clients/index.d.ts +2 -2
- package/types/validations/blacklist/blacklist.validations.d.ts +12 -0
- package/types/validations/blacklistNumber/blacklistNumber.validations.d.ts +8 -0
- package/types/validations/index.d.ts +2 -0
- /package/types/api/clients/{lists → blacklists}/blacklistNumbers.d.ts +0 -0
- /package/types/api/clients/{lists → blacklists}/blacklists.d.ts +0 -0
|
@@ -10,6 +10,8 @@ export * from './agentWorkingConditions/agentWorkingConditions';
|
|
|
10
10
|
export * from './auditForms/auditForms';
|
|
11
11
|
export * from './auditForms/auditRates';
|
|
12
12
|
export * from './backendProfiles/backendProfiles';
|
|
13
|
+
export * from './blacklists/blacklistNumbers';
|
|
14
|
+
export * from './blacklists/blacklists';
|
|
13
15
|
export * from './buckets/buckets';
|
|
14
16
|
export * from './calendars/calendars';
|
|
15
17
|
export * from './callHistory/callAnnotations';
|
|
@@ -54,8 +56,6 @@ export * from './importTemplates/importTemplates';
|
|
|
54
56
|
export * from './labels/labels';
|
|
55
57
|
export * from './license/license';
|
|
56
58
|
export * from './license/licenseUsers';
|
|
57
|
-
export * from './lists/blacklistNumbers';
|
|
58
|
-
export * from './lists/blacklists';
|
|
59
59
|
export * from './logs/logs';
|
|
60
60
|
export * from './media/media';
|
|
61
61
|
export * from './messageService/messageService';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const blacklistSchema: z.ZodObject<{
|
|
3
|
+
count?: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> | undefined;
|
|
4
|
+
createdAt?: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> | undefined;
|
|
5
|
+
createdBy?: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> | undefined;
|
|
6
|
+
description?: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> | undefined;
|
|
7
|
+
domainId?: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> | undefined;
|
|
8
|
+
id?: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> | undefined;
|
|
9
|
+
name?: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> | undefined;
|
|
10
|
+
updatedAt?: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> | undefined;
|
|
11
|
+
updatedBy?: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> | undefined;
|
|
12
|
+
}, z.core.$strip>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const blacklistNumberSchema: z.ZodObject<{
|
|
3
|
+
description?: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> | undefined;
|
|
4
|
+
expireAt?: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> | undefined;
|
|
5
|
+
id?: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> | undefined;
|
|
6
|
+
listId?: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> | undefined;
|
|
7
|
+
number?: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> | undefined;
|
|
8
|
+
}, z.core.$strip>;
|
|
@@ -11,6 +11,8 @@ export * from './agentPauseCause/agentPauseCause.validations';
|
|
|
11
11
|
export * from './agentSkill/agentSkill.validations';
|
|
12
12
|
export * from './agentSubordinate/agentSubordinate.validations';
|
|
13
13
|
export * from './auditForm/auditForm.validations';
|
|
14
|
+
export * from './blacklist/blacklist.validations';
|
|
15
|
+
export * from './blacklistNumber/blacklistNumber.validations';
|
|
14
16
|
export * from './bucket/bucket.validations';
|
|
15
17
|
export * from './calendar/calendar.validations';
|
|
16
18
|
export * from './case/case.validations';
|
|
File without changes
|
|
File without changes
|