@webitel/api-services 0.1.67 → 0.1.69

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,12 +1,14 @@
1
1
  import type { ApiId, ApiParams, DeleteItemParams, GetItemParams, PatchItemParams } from '../_shared/types';
2
- declare const getServicesList: ({ rootId, ...rest }: {
2
+ declare const getServicesList: ({ parentId, rootId, ...rest }: {
3
+ parentId?: ApiId;
3
4
  rootId: ApiId;
4
5
  } & ApiParams) => Promise<{
5
6
  items: any;
6
7
  next: any;
7
8
  }>;
8
9
  export declare const ServicesAPI: {
9
- getList: ({ rootId, ...rest }: {
10
+ getList: ({ parentId, rootId, ...rest }: {
11
+ parentId?: ApiId;
10
12
  rootId: ApiId;
11
13
  } & ApiParams) => Promise<{
12
14
  items: any;
@@ -10,6 +10,7 @@ export * from './caseCloseReasonGroups/caseCloseReasonGroups';
10
10
  export * from './caseCloseReasons/caseCloseReasons';
11
11
  export * from './casePriorities/casePriorities';
12
12
  export * from './caseServiceCatalogs/serviceCatalogs';
13
+ export * from './caseServices/services';
13
14
  export * from './caseSources/caseSources';
14
15
  export * from './caseStatusConditions/caseStatusConditions';
15
16
  export * from './caseStatuses/caseStatuses';
@@ -0,0 +1,11 @@
1
+ import { z } from 'zod';
2
+ export declare const caseCloseReasonSchema: z.ZodObject<{
3
+ closeReasonGroupId?: 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
+ id?: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> | undefined;
8
+ name?: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> | undefined;
9
+ updatedAt?: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> | undefined;
10
+ updatedBy?: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> | undefined;
11
+ }, z.core.$strip>;
@@ -0,0 +1,10 @@
1
+ import { z } from 'zod';
2
+ export declare const caseCloseReasonGroupSchema: z.ZodObject<{
3
+ createdAt?: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> | undefined;
4
+ createdBy?: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> | undefined;
5
+ description?: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> | undefined;
6
+ id?: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> | undefined;
7
+ name?: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> | undefined;
8
+ updatedAt?: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> | undefined;
9
+ updatedBy?: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> | undefined;
10
+ }, z.core.$strip>;
@@ -0,0 +1,20 @@
1
+ import { z } from 'zod';
2
+ export declare const caseServiceSchema: z.ZodObject<{
3
+ assignee?: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> | undefined;
4
+ catalogId?: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> | undefined;
5
+ code?: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> | undefined;
6
+ createdAt?: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> | undefined;
7
+ createdBy?: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> | undefined;
8
+ defaultPriority?: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> | undefined;
9
+ description?: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> | undefined;
10
+ group?: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> | undefined;
11
+ id?: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> | undefined;
12
+ name?: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> | undefined;
13
+ rootId?: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> | undefined;
14
+ searched?: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> | undefined;
15
+ service?: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> | undefined;
16
+ sla?: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> | undefined;
17
+ state?: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> | undefined;
18
+ updatedAt?: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> | undefined;
19
+ updatedBy?: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> | undefined;
20
+ }, z.core.$strip>;
@@ -0,0 +1,21 @@
1
+ import { z } from 'zod';
2
+ export declare const caseServiceCatalogSchema: z.ZodObject<{
3
+ closeReasonGroup?: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> | undefined;
4
+ code?: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> | undefined;
5
+ createdAt?: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> | undefined;
6
+ createdBy?: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> | undefined;
7
+ defaultPriority?: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> | undefined;
8
+ description?: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> | undefined;
9
+ id?: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> | undefined;
10
+ name?: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> | undefined;
11
+ prefix?: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> | undefined;
12
+ searched?: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> | undefined;
13
+ service?: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> | undefined;
14
+ skills?: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> | undefined;
15
+ sla?: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> | undefined;
16
+ state?: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> | undefined;
17
+ status?: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> | undefined;
18
+ teams?: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> | undefined;
19
+ updatedAt?: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> | undefined;
20
+ updatedBy?: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> | undefined;
21
+ }, z.core.$strip>;
@@ -3,7 +3,11 @@ export * from './_shared/lookup.validations';
3
3
  export * from './auditForm/auditForm.validations';
4
4
  export * from './bucket/bucket.validations';
5
5
  export * from './calendar/calendar.validations';
6
+ export * from './caseCloseReason/caseCloseReason.validations';
7
+ export * from './caseCloseReasonGroup/caseCloseReasonGroup.validations';
6
8
  export * from './casePriority/casePriority.validations';
9
+ export * from './caseService/caseService.validations';
10
+ export * from './caseServiceCatalog/caseServiceCatalog.validations';
7
11
  export * from './caseSource/caseSource.validations';
8
12
  export * from './caseStatus/caseStatus.validations';
9
13
  export * from './caseStatusCondition/caseStatusCondition.validations';