@webitel/ui-sdk 26.8.67 → 26.8.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.
- package/dist/clients-D5pO5FKV.js +39334 -0
- package/dist/{components-CXPq3d81.js → components-BH_gLkO3.js} +7 -7
- package/dist/{genClient-DMVlC4Uy.js → genClient-DtYJ9KWy.js} +1 -1
- package/dist/ui-sdk.js +3 -3
- package/dist/ui-sdk.umd.cjs +659 -735
- package/dist/{wt-button-l_CCN7zG.js → wt-button-TVtG0saz.js} +1 -1
- package/dist/{wt-chat-emoji-BwCLLExE.js → wt-chat-emoji-B-FoXVDr.js} +3 -3
- package/dist/{wt-display-chip-items-DgDn6xoK.js → wt-display-chip-items-CZzcHtcb.js} +1 -1
- package/dist/{wt-icon-btn-BbPNcD-O.js → wt-icon-btn-B_hS2f_v.js} +1 -1
- package/dist/{wt-icon-CjNYdMOP.js → wt-icon-md5nPR1T.js} +2 -2
- package/dist/{wt-notifications-bar-BTt1vqwz.js → wt-notifications-bar-k3Osz6gY.js} +1 -1
- package/dist/{wt-player-CoB2InY0.js → wt-player-R3rAiIxl.js} +2 -2
- package/dist/{wt-send-message-popup-TJdbzgRF.js → wt-send-message-popup-Cc92sY9q.js} +2 -2
- package/dist/{wt-toast-DHV4UvFz.js → wt-toast-DsIX8ZW_.js} +1 -1
- package/dist/wt-tree-CfvNlw7N.js +2042 -0
- package/dist/{wt-tree-table-9vnEJcX0.js → wt-tree-table-R02DpJ7M.js} +1 -1
- package/dist/{wt-type-extension-value-input-D5Y-ds9V.js → wt-type-extension-value-input-DfbrgPNa.js} +2 -2
- package/dist/{wt-vidstack-player-DKf1aSC7.js → wt-vidstack-player-DtbNeGgs.js} +3 -3
- package/package.json +1 -1
- package/src/api/clients/index.js +5 -66
- package/src/assets/icons/sprite/call--filled.svg +2 -2
- package/src/assets/icons/sprite/call-end--filled.svg +2 -3
- package/src/modules/AgentStatusSelect/api/agent-status.ts +44 -0
- package/src/modules/AgentStatusSelect/api/pause-cause.ts +54 -0
- package/src/modules/AgentStatusSelect/components/__tests__/wt-cc-agent-status-select.spec.js +4 -10
- package/src/modules/AgentStatusSelect/components/wt-cc-agent-status-select.vue +2 -6
- package/types/.tsbuildinfo +1 -1
- package/types/api/clients/index.d.ts +1 -33
- package/types/modules/AgentStatusSelect/api/agent-status.d.ts +4 -12
- package/types/modules/AgentStatusSelect/api/pause-cause.d.ts +7 -9
- package/dist/clients-DpqA006B.js +0 -40042
- package/dist/side-channel-M3LABDql.js +0 -833
- package/dist/wt-tree-DKSphRxr.js +0 -1216
- package/src/api/clients/agents/agentChats.js +0 -79
- package/src/api/clients/agents/agents.js +0 -300
- package/src/api/clients/buckets/buckets.js +0 -134
- package/src/api/clients/calendars/calendars.js +0 -239
- package/src/api/clients/caseCloseReasonGroups/caseCloseReasonGroups.js +0 -161
- package/src/api/clients/caseCloseReasons/caseCloseReasons.js +0 -165
- package/src/api/clients/casePriorities/casePriorities.js +0 -166
- package/src/api/clients/caseServiceCatalogs/serviceCatalogs.js +0 -231
- package/src/api/clients/caseServices/services.js +0 -221
- package/src/api/clients/caseSources/caseSources.ts +0 -2
- package/src/api/clients/caseStatusConditions/caseStatusConditions.js +0 -207
- package/src/api/clients/caseStatuses/caseStatuses.js +0 -152
- package/src/api/clients/catalog/catalog.js +0 -63
- package/src/api/clients/chatGateways/chatGateways.js +0 -338
- package/src/api/clients/chatGateways/defaults/defaultChatGateway.js +0 -18
- package/src/api/clients/chatGateways/defaults/webChatGateway.js +0 -72
- package/src/api/clients/chatGateways/enums/WebchatAlternativeChannel.enum.js +0 -14
- package/src/api/clients/chatGateways/scripts/generateUri.js +0 -9
- package/src/api/clients/communications/communications.js +0 -172
- package/src/api/clients/configurations/configurations.js +0 -168
- package/src/api/clients/contactGroups/contactGroups.js +0 -221
- package/src/api/clients/flows/flow.js +0 -252
- package/src/api/clients/gateways/defaults/defaultGateway.js +0 -9
- package/src/api/clients/gateways/defaults/registerGateway.js +0 -12
- package/src/api/clients/gateways/defaults/trunkingGateway.js +0 -16
- package/src/api/clients/gateways/gateways.js +0 -221
- package/src/api/clients/labels/labels.js +0 -69
- package/src/api/clients/lists/blacklists.js +0 -142
- package/src/api/clients/media/media.js +0 -136
- package/src/api/clients/object/object.js +0 -138
- package/src/api/clients/queues/queues.js +0 -263
- package/src/api/clients/quickReplies/quickReplies.ts +0 -2
- package/src/api/clients/skills/skills.js +0 -134
- package/src/api/clients/slaConditions/slaConditions.js +0 -190
- package/src/api/clients/slas/slas.js +0 -148
- package/src/api/clients/teams/teams.js +0 -161
- package/src/api/clients/users/__tests__/users.spec.js +0 -282
- package/src/api/clients/users/users.js +0 -334
- package/src/api/clients/wtTypes/_shared/utils/sortDynamicFields.ts +0 -38
- package/src/api/clients/wtTypes/sysTypes/sysTypes.ts +0 -92
- package/src/api/clients/wtTypes/typeExtensions/typeExtensions.ts +0 -156
- package/src/api/clients//321/201ontacts/contactChatMessagesHistory.js +0 -119
- package/src/api/clients//321/201ontacts/contacts.js +0 -449
- package/src/api/clients//321/201ontacts/enums/ContactsSearchMode.js +0 -9
- package/src/api/clients//321/201ontacts/index.js +0 -5
- package/src/modules/AgentStatusSelect/api/agent-status.js +0 -30
- package/src/modules/AgentStatusSelect/api/pause-cause.js +0 -49
- package/types/api/clients/agents/agentChats.d.ts +0 -10
- package/types/api/clients/agents/agents.d.ts +0 -55
- package/types/api/clients/buckets/buckets.d.ts +0 -30
- package/types/api/clients/calendars/calendars.d.ts +0 -35
- package/types/api/clients/caseCloseReasonGroups/caseCloseReasonGroups.d.ts +0 -30
- package/types/api/clients/caseCloseReasons/caseCloseReasons.d.ts +0 -36
- package/types/api/clients/casePriorities/casePriorities.d.ts +0 -30
- package/types/api/clients/caseServiceCatalogs/serviceCatalogs.d.ts +0 -30
- package/types/api/clients/caseServices/services.d.ts +0 -42
- package/types/api/clients/caseSources/caseSources.d.ts +0 -1
- package/types/api/clients/caseStatusConditions/caseStatusConditions.d.ts +0 -43
- package/types/api/clients/caseStatuses/caseStatuses.d.ts +0 -30
- package/types/api/clients/catalog/catalog.d.ts +0 -13
- package/types/api/clients/chatGateways/chatGateways.d.ts +0 -35
- package/types/api/clients/chatGateways/defaults/defaultChatGateway.d.ts +0 -15
- package/types/api/clients/chatGateways/defaults/webChatGateway.d.ts +0 -64
- package/types/api/clients/chatGateways/enums/WebchatAlternativeChannel.enum.d.ts +0 -8
- package/types/api/clients/chatGateways/scripts/generateUri.d.ts +0 -2
- package/types/api/clients/communications/communications.d.ts +0 -35
- package/types/api/clients/configurations/configurations.d.ts +0 -35
- package/types/api/clients/contactGroups/contactGroups.d.ts +0 -47
- package/types/api/clients/flows/flow.d.ts +0 -35
- package/types/api/clients/gateways/defaults/defaultGateway.d.ts +0 -8
- package/types/api/clients/gateways/defaults/registerGateway.d.ts +0 -13
- package/types/api/clients/gateways/defaults/trunkingGateway.d.ts +0 -11
- package/types/api/clients/gateways/gateways.d.ts +0 -35
- package/types/api/clients/labels/labels.d.ts +0 -13
- package/types/api/clients/lists/blacklists.d.ts +0 -30
- package/types/api/clients/media/media.d.ts +0 -24
- package/types/api/clients/object/object.d.ts +0 -13
- package/types/api/clients/queues/queues.d.ts +0 -40
- package/types/api/clients/quickReplies/quickReplies.d.ts +0 -1
- package/types/api/clients/skills/skills.d.ts +0 -30
- package/types/api/clients/slaConditions/slaConditions.d.ts +0 -36
- package/types/api/clients/slas/slas.d.ts +0 -30
- package/types/api/clients/teams/teams.d.ts +0 -30
- package/types/api/clients/users/__tests__/users.spec.d.ts +0 -1
- package/types/api/clients/users/users.d.ts +0 -46
- package/types/api/clients/wtTypes/_shared/utils/sortDynamicFields.d.ts +0 -2
- package/types/api/clients/wtTypes/sysTypes/sysTypes.d.ts +0 -29
- package/types/api/clients/wtTypes/typeExtensions/typeExtensions.d.ts +0 -33
- package/types/api/clients//321/201ontacts/contactChatMessagesHistory.d.ts +0 -16
- package/types/api/clients//321/201ontacts/contacts.d.ts +0 -29
- package/types/api/clients//321/201ontacts/enums/ContactsSearchMode.d.ts +0 -8
- package/types/api/clients//321/201ontacts/index.d.ts +0 -4
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
export default QueuesAPI;
|
|
2
|
-
declare namespace QueuesAPI {
|
|
3
|
-
export { getQueuesList as getList };
|
|
4
|
-
export { getQueue as get };
|
|
5
|
-
export { addQueue as add };
|
|
6
|
-
export { patchQueue as patch };
|
|
7
|
-
export { updateQueue as update };
|
|
8
|
-
export { deleteQueue as delete };
|
|
9
|
-
export { getQueuesLookup as getLookup };
|
|
10
|
-
export { getQueuesTags };
|
|
11
|
-
}
|
|
12
|
-
declare function getQueuesList(params: any): Promise<{
|
|
13
|
-
items: any;
|
|
14
|
-
next: any;
|
|
15
|
-
}>;
|
|
16
|
-
declare function getQueue({ itemId: id }: {
|
|
17
|
-
itemId: any;
|
|
18
|
-
}): Promise<any>;
|
|
19
|
-
declare function addQueue({ itemInstance }: {
|
|
20
|
-
itemInstance: any;
|
|
21
|
-
}): Promise<any>;
|
|
22
|
-
declare function patchQueue({ id, changes }: {
|
|
23
|
-
id: any;
|
|
24
|
-
changes: any;
|
|
25
|
-
}): Promise<any>;
|
|
26
|
-
declare function updateQueue({ itemInstance, itemId: id }: {
|
|
27
|
-
itemInstance: any;
|
|
28
|
-
itemId: any;
|
|
29
|
-
}): Promise<any>;
|
|
30
|
-
declare function deleteQueue({ id }: {
|
|
31
|
-
id: any;
|
|
32
|
-
}): Promise<any>;
|
|
33
|
-
declare function getQueuesLookup(params: any): Promise<{
|
|
34
|
-
items: any;
|
|
35
|
-
next: any;
|
|
36
|
-
}>;
|
|
37
|
-
declare function getQueuesTags(params: any): Promise<{
|
|
38
|
-
items: any;
|
|
39
|
-
next: any;
|
|
40
|
-
}>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { QuickRepliesAPI as default } from '@webitel/api-services/api';
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
export default SkillsAPI;
|
|
2
|
-
declare namespace SkillsAPI {
|
|
3
|
-
export { getSkillsList as getList };
|
|
4
|
-
export { getSkill as get };
|
|
5
|
-
export { addSkill as add };
|
|
6
|
-
export { updateSkill as update };
|
|
7
|
-
export { deleteSkill as delete };
|
|
8
|
-
export { getSkillsLookup as getLookup };
|
|
9
|
-
}
|
|
10
|
-
declare function getSkillsList(params: any): Promise<{
|
|
11
|
-
items: any;
|
|
12
|
-
next: any;
|
|
13
|
-
}>;
|
|
14
|
-
declare function getSkill({ itemId: id }: {
|
|
15
|
-
itemId: any;
|
|
16
|
-
}): Promise<any>;
|
|
17
|
-
declare function addSkill({ itemInstance }: {
|
|
18
|
-
itemInstance: any;
|
|
19
|
-
}): Promise<any>;
|
|
20
|
-
declare function updateSkill({ itemInstance, itemId: id }: {
|
|
21
|
-
itemInstance: any;
|
|
22
|
-
itemId: any;
|
|
23
|
-
}): Promise<any>;
|
|
24
|
-
declare function deleteSkill({ id }: {
|
|
25
|
-
id: any;
|
|
26
|
-
}): Promise<any>;
|
|
27
|
-
declare function getSkillsLookup(params: any): Promise<{
|
|
28
|
-
items: any;
|
|
29
|
-
next: any;
|
|
30
|
-
}>;
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
export default SLAConditionsAPI;
|
|
2
|
-
declare namespace SLAConditionsAPI {
|
|
3
|
-
export { getConditionsList as getList };
|
|
4
|
-
export { getCondition as get };
|
|
5
|
-
export { updateCondition as update };
|
|
6
|
-
export { deleteCondition as delete };
|
|
7
|
-
export { addCondition as add };
|
|
8
|
-
export { getLookup };
|
|
9
|
-
}
|
|
10
|
-
declare function getConditionsList({ parentId, ...rest }: {
|
|
11
|
-
[x: string]: any;
|
|
12
|
-
parentId: any;
|
|
13
|
-
}): Promise<{
|
|
14
|
-
items: any;
|
|
15
|
-
next: any;
|
|
16
|
-
}>;
|
|
17
|
-
declare function getCondition({ parentId, itemId: id }: {
|
|
18
|
-
parentId: any;
|
|
19
|
-
itemId: any;
|
|
20
|
-
}): Promise<any>;
|
|
21
|
-
declare function updateCondition({ itemInstance, itemId: id }: {
|
|
22
|
-
itemInstance: any;
|
|
23
|
-
itemId: any;
|
|
24
|
-
}): Promise<any>;
|
|
25
|
-
declare function deleteCondition({ id, parentId }: {
|
|
26
|
-
id: any;
|
|
27
|
-
parentId: any;
|
|
28
|
-
}): Promise<any>;
|
|
29
|
-
declare function addCondition({ itemInstance, parentId }: {
|
|
30
|
-
itemInstance: any;
|
|
31
|
-
parentId: any;
|
|
32
|
-
}): Promise<any>;
|
|
33
|
-
declare function getLookup(params: any): Promise<{
|
|
34
|
-
items: any;
|
|
35
|
-
next: any;
|
|
36
|
-
}>;
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
export default SlasAPI;
|
|
2
|
-
declare namespace SlasAPI {
|
|
3
|
-
export { getSlasList as getList };
|
|
4
|
-
export { getSlasLookup as getLookup };
|
|
5
|
-
export { getSla as get };
|
|
6
|
-
export { addSla as add };
|
|
7
|
-
export { updateSla as update };
|
|
8
|
-
export { deleteSla as delete };
|
|
9
|
-
}
|
|
10
|
-
declare function getSlasList(params: any): Promise<{
|
|
11
|
-
items: any;
|
|
12
|
-
next: any;
|
|
13
|
-
}>;
|
|
14
|
-
declare function getSlasLookup(params: any): Promise<{
|
|
15
|
-
items: any;
|
|
16
|
-
next: any;
|
|
17
|
-
}>;
|
|
18
|
-
declare function getSla({ itemId: id }: {
|
|
19
|
-
itemId: any;
|
|
20
|
-
}): Promise<any>;
|
|
21
|
-
declare function addSla({ itemInstance }: {
|
|
22
|
-
itemInstance: any;
|
|
23
|
-
}): Promise<any>;
|
|
24
|
-
declare function updateSla({ itemInstance, itemId: id }: {
|
|
25
|
-
itemInstance: any;
|
|
26
|
-
itemId: any;
|
|
27
|
-
}): Promise<any>;
|
|
28
|
-
declare function deleteSla({ id }: {
|
|
29
|
-
id: any;
|
|
30
|
-
}): Promise<any>;
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
export default TeamsAPI;
|
|
2
|
-
declare namespace TeamsAPI {
|
|
3
|
-
export { getTeamsList as getList };
|
|
4
|
-
export { getTeam as get };
|
|
5
|
-
export { addTeam as add };
|
|
6
|
-
export { updateTeam as update };
|
|
7
|
-
export { deleteTeam as delete };
|
|
8
|
-
export { getTeamsLookup as getLookup };
|
|
9
|
-
}
|
|
10
|
-
declare function getTeamsList(params: any): Promise<{
|
|
11
|
-
items: any;
|
|
12
|
-
next: any;
|
|
13
|
-
}>;
|
|
14
|
-
declare function getTeam({ itemId: id }: {
|
|
15
|
-
itemId: any;
|
|
16
|
-
}): Promise<any>;
|
|
17
|
-
declare function addTeam({ itemInstance }: {
|
|
18
|
-
itemInstance: any;
|
|
19
|
-
}): Promise<any>;
|
|
20
|
-
declare function updateTeam({ itemInstance, itemId: id }: {
|
|
21
|
-
itemInstance: any;
|
|
22
|
-
itemId: any;
|
|
23
|
-
}): Promise<any>;
|
|
24
|
-
declare function deleteTeam({ id }: {
|
|
25
|
-
id: any;
|
|
26
|
-
}): Promise<any>;
|
|
27
|
-
declare function getTeamsLookup(params: any): Promise<{
|
|
28
|
-
items: any;
|
|
29
|
-
next: any;
|
|
30
|
-
}>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
export default UsersAPI;
|
|
2
|
-
declare const UsersAPI: {
|
|
3
|
-
getPermissionsList: ({ parentId, ...params }: {
|
|
4
|
-
[x: string]: any;
|
|
5
|
-
parentId: any;
|
|
6
|
-
}) => Promise<{
|
|
7
|
-
items: any;
|
|
8
|
-
next: any;
|
|
9
|
-
}>;
|
|
10
|
-
patchPermissions: ({ changes, id }: {
|
|
11
|
-
changes: any;
|
|
12
|
-
id: any;
|
|
13
|
-
}) => Promise<any>;
|
|
14
|
-
getList: (params: any) => Promise<{
|
|
15
|
-
items: any;
|
|
16
|
-
next: any;
|
|
17
|
-
}>;
|
|
18
|
-
get: ({ itemId: id }: {
|
|
19
|
-
itemId: any;
|
|
20
|
-
}) => Promise<any>;
|
|
21
|
-
add: ({ itemInstance }: {
|
|
22
|
-
itemInstance: any;
|
|
23
|
-
}) => Promise<any>;
|
|
24
|
-
patch: ({ changes, id }: {
|
|
25
|
-
changes: any;
|
|
26
|
-
id: any;
|
|
27
|
-
}) => Promise<any>;
|
|
28
|
-
update: ({ itemInstance, itemId: id }: {
|
|
29
|
-
itemInstance: any;
|
|
30
|
-
itemId: any;
|
|
31
|
-
}) => Promise<any>;
|
|
32
|
-
delete: ({ id }: {
|
|
33
|
-
id: any;
|
|
34
|
-
}) => Promise<any>;
|
|
35
|
-
getLookup: (params: any) => Promise<{
|
|
36
|
-
items: any;
|
|
37
|
-
next: any;
|
|
38
|
-
}>;
|
|
39
|
-
patchUserPresence: ({ changes, id }: {
|
|
40
|
-
changes: any;
|
|
41
|
-
id: any;
|
|
42
|
-
}) => Promise<any>;
|
|
43
|
-
logoutUser: ({ id }: {
|
|
44
|
-
id: any;
|
|
45
|
-
}) => Promise<any>;
|
|
46
|
-
};
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import type { ApiParams } from '../../_shared/types';
|
|
2
|
-
declare const getSysTypeRecordsList: ({ path, display, primary, ...params }: {
|
|
3
|
-
path: string;
|
|
4
|
-
display: string;
|
|
5
|
-
primary: string;
|
|
6
|
-
} & ApiParams) => Promise<{
|
|
7
|
-
items: any;
|
|
8
|
-
next: any;
|
|
9
|
-
}>;
|
|
10
|
-
declare const getSysTypeRecordsLookup: (params: Parameters<typeof getSysTypeRecordsList>[0]) => Promise<{
|
|
11
|
-
items: any;
|
|
12
|
-
next: any;
|
|
13
|
-
}>;
|
|
14
|
-
declare const SysTypesApi: {
|
|
15
|
-
getList: ({ path, display, primary, ...params }: {
|
|
16
|
-
path: string;
|
|
17
|
-
display: string;
|
|
18
|
-
primary: string;
|
|
19
|
-
} & ApiParams) => Promise<{
|
|
20
|
-
items: any;
|
|
21
|
-
next: any;
|
|
22
|
-
}>;
|
|
23
|
-
getLookup: (params: Parameters<typeof getSysTypeRecordsList>[0]) => Promise<{
|
|
24
|
-
items: any;
|
|
25
|
-
next: any;
|
|
26
|
-
}>;
|
|
27
|
-
};
|
|
28
|
-
export { getSysTypeRecordsList, getSysTypeRecordsLookup };
|
|
29
|
-
export default SysTypesApi;
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import type { ApiParams } from '../../_shared/types';
|
|
2
|
-
declare const getTypeExtension: ({ itemId: typeRepo }: {
|
|
3
|
-
itemId: string;
|
|
4
|
-
}) => Promise<any>;
|
|
5
|
-
declare const addTypeExtension: ({ itemInstance, itemId: typeRepo, }: {
|
|
6
|
-
itemInstance: ApiParams;
|
|
7
|
-
itemId: string;
|
|
8
|
-
}) => Promise<any>;
|
|
9
|
-
declare const deleteTypeExtension: ({ itemId: typeRepo, }: {
|
|
10
|
-
itemId: string;
|
|
11
|
-
}) => Promise<void>;
|
|
12
|
-
declare const updateTypeExtension: ({ itemInstance, itemId: typeRepo, }: {
|
|
13
|
-
itemInstance: ApiParams;
|
|
14
|
-
itemId: string;
|
|
15
|
-
}) => Promise<any>;
|
|
16
|
-
declare const WtTypeExtensionApi: {
|
|
17
|
-
getList: ({ itemId: typeRepo }: {
|
|
18
|
-
itemId: string;
|
|
19
|
-
}) => Promise<any>;
|
|
20
|
-
add: ({ itemInstance, itemId: typeRepo, }: {
|
|
21
|
-
itemInstance: ApiParams;
|
|
22
|
-
itemId: string;
|
|
23
|
-
}) => Promise<any>;
|
|
24
|
-
update: ({ itemInstance, itemId: typeRepo, }: {
|
|
25
|
-
itemInstance: ApiParams;
|
|
26
|
-
itemId: string;
|
|
27
|
-
}) => Promise<any>;
|
|
28
|
-
delete: ({ itemId: typeRepo, }: {
|
|
29
|
-
itemId: string;
|
|
30
|
-
}) => Promise<void>;
|
|
31
|
-
};
|
|
32
|
-
export { addTypeExtension, deleteTypeExtension, getTypeExtension, updateTypeExtension, };
|
|
33
|
-
export default WtTypeExtensionApi;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
declare namespace _default {
|
|
2
|
-
export { getChat };
|
|
3
|
-
export { getAllMessages };
|
|
4
|
-
}
|
|
5
|
-
export default _default;
|
|
6
|
-
declare function getChat({ contactId, chatId }: {
|
|
7
|
-
contactId: any;
|
|
8
|
-
chatId: any;
|
|
9
|
-
}): Promise<{
|
|
10
|
-
items: any;
|
|
11
|
-
peers: any;
|
|
12
|
-
}>;
|
|
13
|
-
declare function getAllMessages(params: any): Promise<{
|
|
14
|
-
items: any;
|
|
15
|
-
next: any;
|
|
16
|
-
}>;
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
export default ContactsAPI;
|
|
2
|
-
declare namespace ContactsAPI {
|
|
3
|
-
export { getList };
|
|
4
|
-
export { get };
|
|
5
|
-
export { add };
|
|
6
|
-
export { update };
|
|
7
|
-
export { deleteContact as delete };
|
|
8
|
-
export { getContactsLookup as getLookup };
|
|
9
|
-
}
|
|
10
|
-
declare function getList(params: any): Promise<{
|
|
11
|
-
items: any;
|
|
12
|
-
next: any;
|
|
13
|
-
}>;
|
|
14
|
-
declare function get({ itemId: id }: {
|
|
15
|
-
itemId: any;
|
|
16
|
-
}): Promise<any>;
|
|
17
|
-
declare function add({ itemInstance }: {
|
|
18
|
-
itemInstance: any;
|
|
19
|
-
}): Promise<any>;
|
|
20
|
-
declare function update({ itemInstance }: {
|
|
21
|
-
itemInstance: any;
|
|
22
|
-
}): Promise<any>;
|
|
23
|
-
declare function deleteContact({ id }: {
|
|
24
|
-
id: any;
|
|
25
|
-
}): Promise<any>;
|
|
26
|
-
declare function getContactsLookup(params: any): Promise<{
|
|
27
|
-
items: any;
|
|
28
|
-
next: any;
|
|
29
|
-
}>;
|