@webitel/api-services 26.8.6 → 26.8.7

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.
@@ -4,6 +4,13 @@ declare const getAgentsList: (params: ApiParams) => Promise<{
4
4
  next: any;
5
5
  }>;
6
6
  export declare const AgentsAPI: {
7
+ getPermissionsList: ({ parentId, ...params }: {
8
+ parentId: ApiId;
9
+ } & ApiParams) => Promise<{
10
+ items: any;
11
+ next: any;
12
+ }>;
13
+ patchPermissions: ({ changes, id }: PatchItemParams) => Promise<any>;
7
14
  getList: (params: ApiParams) => Promise<{
8
15
  items: any;
9
16
  next: any;
@@ -4,6 +4,13 @@ declare const getCognitiveProfilesList: (params: ApiParams) => Promise<{
4
4
  next: any;
5
5
  }>;
6
6
  export declare const CognitiveProfilesAPI: {
7
+ getPermissionsList: ({ parentId, ...params }: {
8
+ parentId: import("../_shared/types").ApiId;
9
+ } & ApiParams) => Promise<{
10
+ items: any;
11
+ next: any;
12
+ }>;
13
+ patchPermissions: ({ changes, id }: PatchItemParams) => Promise<any>;
7
14
  getList: (params: ApiParams) => Promise<{
8
15
  items: any;
9
16
  next: any;
@@ -0,0 +1,31 @@
1
+ import type { AddItemParams, ApiParams, DeleteItemParams, GetItemParams, UpdateItemParams } from '../_shared/types';
2
+ declare const getDevicesList: (params: ApiParams) => Promise<{
3
+ items: any;
4
+ next: any;
5
+ }>;
6
+ export declare const DevicesAPI: {
7
+ getPermissionsList: ({ parentId, ...params }: {
8
+ parentId: import("../_shared/types").ApiId;
9
+ } & ApiParams) => Promise<{
10
+ items: any;
11
+ next: any;
12
+ }>;
13
+ patchPermissions: ({ changes, id }: import("../_shared/types").PatchItemParams) => Promise<any>;
14
+ getList: (params: ApiParams) => Promise<{
15
+ items: any;
16
+ next: any;
17
+ }>;
18
+ get: ({ itemId: id }: GetItemParams) => Promise<any>;
19
+ add: ({ itemInstance }: AddItemParams) => Promise<any>;
20
+ update: ({ itemInstance, itemId: id }: UpdateItemParams) => Promise<any>;
21
+ delete: ({ id }: DeleteItemParams) => Promise<any>;
22
+ getLookup: (params: Parameters<typeof getDevicesList>[0]) => Promise<{
23
+ items: any;
24
+ next: any;
25
+ }>;
26
+ getDeviceHistory: ({ parentId, from, to, ...rest }: ApiParams) => Promise<{
27
+ items: any;
28
+ next: any;
29
+ }>;
30
+ };
31
+ export {};
@@ -4,6 +4,13 @@ declare const getImportTemplatesList: (params: ApiParams) => Promise<{
4
4
  next: any;
5
5
  }>;
6
6
  export declare const ImportTemplatesAPI: {
7
+ getPermissionsList: ({ parentId, ...params }: {
8
+ parentId: import("../_shared/types").ApiId;
9
+ } & ApiParams) => Promise<{
10
+ items: any;
11
+ next: any;
12
+ }>;
13
+ patchPermissions: ({ changes, id }: PatchItemParams) => Promise<any>;
7
14
  getList: (params: ApiParams) => Promise<{
8
15
  items: any;
9
16
  next: any;
@@ -36,6 +36,7 @@ export * from './communications/communications';
36
36
  export * from './configurations/configurations';
37
37
  export * from './contactCases/contactCases';
38
38
  export * from './contactGroups/contactGroups';
39
+ export * from './devices/devices';
39
40
  export * from './dialplans/dialplans';
40
41
  export * from './dynamicConditions/dynamicConditions';
41
42
  export * from './dynamicGroups/dynamicGroups';
@@ -4,6 +4,13 @@ declare const getBlacklistList: (params: ApiParams) => Promise<{
4
4
  next: any;
5
5
  }>;
6
6
  export declare const BlacklistsAPI: {
7
+ getPermissionsList: ({ parentId, ...params }: {
8
+ parentId: import("../_shared/types").ApiId;
9
+ } & ApiParams) => Promise<{
10
+ items: any;
11
+ next: any;
12
+ }>;
13
+ patchPermissions: ({ changes, id }: import("../_shared/types").PatchItemParams) => Promise<any>;
7
14
  getList: (params: ApiParams) => Promise<{
8
15
  items: any;
9
16
  next: any;
@@ -4,6 +4,13 @@ declare const getResourceGroupsList: (params: ApiParams) => Promise<{
4
4
  next: any;
5
5
  }>;
6
6
  export declare const OutboundResourceGroupsAPI: {
7
+ getPermissionsList: ({ parentId, ...params }: {
8
+ parentId: import("../_shared/types").ApiId;
9
+ } & ApiParams) => Promise<{
10
+ items: any;
11
+ next: any;
12
+ }>;
13
+ patchPermissions: ({ changes, id }: import("../_shared/types").PatchItemParams) => Promise<any>;
7
14
  getList: (params: ApiParams) => Promise<{
8
15
  items: any;
9
16
  next: any;
@@ -4,6 +4,13 @@ declare const getResourcesList: (params: ApiParams) => Promise<{
4
4
  next: any;
5
5
  }>;
6
6
  export declare const OutboundResourcesAPI: {
7
+ getPermissionsList: ({ parentId, ...params }: {
8
+ parentId: import("../_shared/types").ApiId;
9
+ } & ApiParams) => Promise<{
10
+ items: any;
11
+ next: any;
12
+ }>;
13
+ patchPermissions: ({ changes, id }: PatchItemParams) => Promise<any>;
7
14
  getList: (params: ApiParams) => Promise<{
8
15
  items: any;
9
16
  next: any;
@@ -4,6 +4,13 @@ declare const getTeamsList: (params: ApiParams) => Promise<{
4
4
  next: any;
5
5
  }>;
6
6
  export declare const TeamsAPI: {
7
+ getPermissionsList: ({ parentId, ...params }: {
8
+ parentId: import("../_shared/types").ApiId;
9
+ } & ApiParams) => Promise<{
10
+ items: any;
11
+ next: any;
12
+ }>;
13
+ patchPermissions: ({ changes, id }: import("../_shared/types").PatchItemParams) => Promise<any>;
7
14
  getList: (params: ApiParams) => Promise<{
8
15
  items: any;
9
16
  next: any;