@rocket.chat/rest-typings 8.3.0-rc.0 → 8.3.0-rc.2
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/apps/appLogsExportProps.d.ts.map +1 -1
- package/dist/apps/appLogsExportProps.js +2 -2
- package/dist/apps/appLogsExportProps.js.map +1 -1
- package/dist/apps/appLogsProps.d.ts.map +1 -1
- package/dist/apps/appLogsProps.js +2 -2
- package/dist/apps/appLogsProps.js.map +1 -1
- package/dist/index.d.ts +9 -9
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +0 -9
- package/dist/index.js.map +1 -1
- package/dist/v1/Ajv.d.ts +3 -1
- package/dist/v1/Ajv.d.ts.map +1 -1
- package/dist/v1/Ajv.js +16 -1
- package/dist/v1/Ajv.js.map +1 -1
- package/dist/v1/autotranslate/AutotranslateGetSupportedLanguagesParamsGET.js +2 -2
- package/dist/v1/autotranslate/AutotranslateGetSupportedLanguagesParamsGET.js.map +1 -1
- package/dist/v1/banners.d.ts.map +1 -1
- package/dist/v1/banners.js +2 -2
- package/dist/v1/banners.js.map +1 -1
- package/dist/v1/calendar/CalendarEventInfoProps.d.ts.map +1 -1
- package/dist/v1/calendar/CalendarEventInfoProps.js +2 -2
- package/dist/v1/calendar/CalendarEventInfoProps.js.map +1 -1
- package/dist/v1/calendar/CalendarEventListProps.d.ts.map +1 -1
- package/dist/v1/calendar/CalendarEventListProps.js +2 -2
- package/dist/v1/calendar/CalendarEventListProps.js.map +1 -1
- package/dist/v1/channels/ChannelsFilesListProps.d.ts.map +1 -1
- package/dist/v1/channels/ChannelsFilesListProps.js +2 -2
- package/dist/v1/channels/ChannelsFilesListProps.js.map +1 -1
- package/dist/v1/channels/ChannelsGetAllUserMentionsByChannelProps.js +2 -2
- package/dist/v1/channels/ChannelsGetAllUserMentionsByChannelProps.js.map +1 -1
- package/dist/v1/channels/ChannelsHistoryProps.d.ts.map +1 -1
- package/dist/v1/channels/ChannelsHistoryProps.js +2 -2
- package/dist/v1/channels/ChannelsHistoryProps.js.map +1 -1
- package/dist/v1/channels/ChannelsListProps.d.ts.map +1 -1
- package/dist/v1/channels/ChannelsListProps.js +2 -2
- package/dist/v1/channels/ChannelsListProps.js.map +1 -1
- package/dist/v1/channels/ChannelsMessagesProps.d.ts.map +1 -1
- package/dist/v1/channels/ChannelsMessagesProps.js +2 -2
- package/dist/v1/channels/ChannelsMessagesProps.js.map +1 -1
- package/dist/v1/channels/ChannelsModeratorsProps.d.ts.map +1 -1
- package/dist/v1/channels/ChannelsModeratorsProps.js +2 -2
- package/dist/v1/channels/ChannelsModeratorsProps.js.map +1 -1
- package/dist/v1/channels/ChannelsOnlineProps.d.ts.map +1 -1
- package/dist/v1/channels/ChannelsOnlineProps.js +2 -2
- package/dist/v1/channels/ChannelsOnlineProps.js.map +1 -1
- package/dist/v1/channels/ChannelsRolesProps.d.ts.map +1 -1
- package/dist/v1/channels/ChannelsRolesProps.js +2 -2
- package/dist/v1/channels/ChannelsRolesProps.js.map +1 -1
- package/dist/v1/chat.d.ts.map +1 -1
- package/dist/v1/chat.js +11 -11
- package/dist/v1/chat.js.map +1 -1
- package/dist/v1/cloud.d.ts.map +1 -1
- package/dist/v1/cloud.js +2 -2
- package/dist/v1/cloud.js.map +1 -1
- package/dist/v1/customSounds.d.ts +5 -0
- package/dist/v1/customSounds.d.ts.map +1 -1
- package/dist/v1/customSounds.js +30 -2
- package/dist/v1/customSounds.js.map +1 -1
- package/dist/v1/directory.d.ts +2 -2
- package/dist/v1/directory.d.ts.map +1 -1
- package/dist/v1/dm/DmFileProps.d.ts.map +1 -1
- package/dist/v1/dm/DmFileProps.js +2 -2
- package/dist/v1/dm/DmFileProps.js.map +1 -1
- package/dist/v1/dm/DmHistoryProps.d.ts.map +1 -1
- package/dist/v1/dm/DmHistoryProps.js +2 -2
- package/dist/v1/dm/DmHistoryProps.js.map +1 -1
- package/dist/v1/dm/DmMembersProps.js +2 -2
- package/dist/v1/dm/DmMembersProps.js.map +1 -1
- package/dist/v1/dm/DmMessagesProps.js +2 -2
- package/dist/v1/dm/DmMessagesProps.js.map +1 -1
- package/dist/v1/dm/index.d.ts +2 -2
- package/dist/v1/dm/index.d.ts.map +1 -1
- package/dist/v1/dm/index.js +0 -2
- package/dist/v1/dm/index.js.map +1 -1
- package/dist/v1/email-inbox.d.ts +1 -0
- package/dist/v1/email-inbox.d.ts.map +1 -1
- package/dist/v1/email-inbox.js +7 -4
- package/dist/v1/email-inbox.js.map +1 -1
- package/dist/v1/emojiCustom.d.ts.map +1 -1
- package/dist/v1/emojiCustom.js +2 -2
- package/dist/v1/emojiCustom.js.map +1 -1
- package/dist/v1/federation/index.d.ts +1 -1
- package/dist/v1/federation/index.d.ts.map +1 -1
- package/dist/v1/federation/index.js +0 -1
- package/dist/v1/federation/index.js.map +1 -1
- package/dist/v1/groups/GroupsFilesProps.d.ts.map +1 -1
- package/dist/v1/groups/GroupsFilesProps.js +2 -2
- package/dist/v1/groups/GroupsFilesProps.js.map +1 -1
- package/dist/v1/groups/GroupsMessagesProps.d.ts.map +1 -1
- package/dist/v1/groups/GroupsMessagesProps.js +2 -2
- package/dist/v1/groups/GroupsMessagesProps.js.map +1 -1
- package/dist/v1/groups/GroupsOnlineProps.d.ts.map +1 -1
- package/dist/v1/groups/GroupsOnlineProps.js +2 -2
- package/dist/v1/groups/GroupsOnlineProps.js.map +1 -1
- package/dist/v1/groups/index.d.ts +1 -1
- package/dist/v1/groups/index.d.ts.map +1 -1
- package/dist/v1/groups/index.js +0 -1
- package/dist/v1/groups/index.js.map +1 -1
- package/dist/v1/import/GetCurrentImportOperationParamsGET.js +2 -2
- package/dist/v1/import/GetCurrentImportOperationParamsGET.js.map +1 -1
- package/dist/v1/import/GetImportFileDataParamsGET.d.ts.map +1 -1
- package/dist/v1/import/GetImportFileDataParamsGET.js +2 -2
- package/dist/v1/import/GetImportFileDataParamsGET.js.map +1 -1
- package/dist/v1/import/GetImportProgressParamsGET.d.ts.map +1 -1
- package/dist/v1/import/GetImportProgressParamsGET.js +2 -2
- package/dist/v1/import/GetImportProgressParamsGET.js.map +1 -1
- package/dist/v1/import/GetLatestImportOperationsParamsGET.js +2 -2
- package/dist/v1/import/GetLatestImportOperationsParamsGET.js.map +1 -1
- package/dist/v1/import/ImportersListParamsGET.d.ts.map +1 -1
- package/dist/v1/import/ImportersListParamsGET.js +2 -2
- package/dist/v1/import/ImportersListParamsGET.js.map +1 -1
- package/dist/v1/import/index.d.ts +1 -1
- package/dist/v1/import/index.d.ts.map +1 -1
- package/dist/v1/import/index.js +0 -1
- package/dist/v1/import/index.js.map +1 -1
- package/dist/v1/integrations/IntegrationsGetProps.d.ts.map +1 -1
- package/dist/v1/integrations/IntegrationsGetProps.js +2 -2
- package/dist/v1/integrations/IntegrationsGetProps.js.map +1 -1
- package/dist/v1/integrations/IntegrationsHistoryProps.d.ts.map +1 -1
- package/dist/v1/integrations/IntegrationsHistoryProps.js +2 -2
- package/dist/v1/integrations/IntegrationsHistoryProps.js.map +1 -1
- package/dist/v1/integrations/IntegrationsListProps.d.ts.map +1 -1
- package/dist/v1/integrations/IntegrationsListProps.js +2 -2
- package/dist/v1/integrations/IntegrationsListProps.js.map +1 -1
- package/dist/v1/integrations/index.d.ts +1 -1
- package/dist/v1/integrations/index.d.ts.map +1 -1
- package/dist/v1/integrations/index.js +0 -1
- package/dist/v1/integrations/index.js.map +1 -1
- package/dist/v1/licenses.d.ts.map +1 -1
- package/dist/v1/licenses.js +2 -2
- package/dist/v1/licenses.js.map +1 -1
- package/dist/v1/misc.d.ts +2 -2
- package/dist/v1/misc.d.ts.map +1 -1
- package/dist/v1/misc.js +3 -3
- package/dist/v1/misc.js.map +1 -1
- package/dist/v1/moderation/GetUserReportsParams.d.ts.map +1 -1
- package/dist/v1/moderation/GetUserReportsParams.js +2 -2
- package/dist/v1/moderation/GetUserReportsParams.js.map +1 -1
- package/dist/v1/moderation/ReportHistoryProps.d.ts.map +1 -1
- package/dist/v1/moderation/ReportHistoryProps.js +2 -2
- package/dist/v1/moderation/ReportHistoryProps.js.map +1 -1
- package/dist/v1/moderation/ReportInfoParams.d.ts.map +1 -1
- package/dist/v1/moderation/ReportInfoParams.js +2 -2
- package/dist/v1/moderation/ReportInfoParams.js.map +1 -1
- package/dist/v1/moderation/ReportsByMsgIdParams.d.ts.map +1 -1
- package/dist/v1/moderation/ReportsByMsgIdParams.js +2 -2
- package/dist/v1/moderation/ReportsByMsgIdParams.js.map +1 -1
- package/dist/v1/moderation/index.d.ts +1 -1
- package/dist/v1/moderation/index.d.ts.map +1 -1
- package/dist/v1/moderation/index.js +0 -1
- package/dist/v1/moderation/index.js.map +1 -1
- package/dist/v1/omnichannel.d.ts +11 -11
- package/dist/v1/omnichannel.d.ts.map +1 -1
- package/dist/v1/omnichannel.js +62 -73
- package/dist/v1/omnichannel.js.map +1 -1
- package/dist/v1/roles.d.ts.map +1 -1
- package/dist/v1/roles.js +2 -2
- package/dist/v1/roles.js.map +1 -1
- package/dist/v1/rooms.d.ts +37 -2
- package/dist/v1/rooms.d.ts.map +1 -1
- package/dist/v1/rooms.js +93 -5
- package/dist/v1/rooms.js.map +1 -1
- package/dist/v1/server-events/ServerEventsAuditSettingsParamsGET.d.ts.map +1 -1
- package/dist/v1/server-events/ServerEventsAuditSettingsParamsGET.js +2 -2
- package/dist/v1/server-events/ServerEventsAuditSettingsParamsGET.js.map +1 -1
- package/dist/v1/server-events/index.d.ts +1 -1
- package/dist/v1/server-events/index.d.ts.map +1 -1
- package/dist/v1/server-events/index.js +0 -1
- package/dist/v1/server-events/index.js.map +1 -1
- package/dist/v1/settings.d.ts.map +1 -1
- package/dist/v1/settings.js +3 -3
- package/dist/v1/settings.js.map +1 -1
- package/dist/v1/subscriptionsEndpoints.d.ts.map +1 -1
- package/dist/v1/subscriptionsEndpoints.js +4 -4
- package/dist/v1/subscriptionsEndpoints.js.map +1 -1
- package/dist/v1/teams/TeamsListChildren.d.ts.map +1 -1
- package/dist/v1/teams/TeamsListChildren.js +2 -2
- package/dist/v1/teams/TeamsListChildren.js.map +1 -1
- package/dist/v1/users/UsersInfoParamsGet.d.ts.map +1 -1
- package/dist/v1/users/UsersInfoParamsGet.js +2 -2
- package/dist/v1/users/UsersInfoParamsGet.js.map +1 -1
- package/dist/v1/users/UsersListStatusParamsGET.d.ts.map +1 -1
- package/dist/v1/users/UsersListStatusParamsGET.js +2 -2
- package/dist/v1/users/UsersListStatusParamsGET.js.map +1 -1
- package/dist/v1/videoConference/VideoConfInfoProps.d.ts.map +1 -1
- package/dist/v1/videoConference/VideoConfInfoProps.js +2 -2
- package/dist/v1/videoConference/VideoConfInfoProps.js.map +1 -1
- package/dist/v1/videoConference/VideoConfListProps.d.ts.map +1 -1
- package/dist/v1/videoConference/VideoConfListProps.js +2 -2
- package/dist/v1/videoConference/VideoConfListProps.js.map +1 -1
- package/package.json +4 -4
package/dist/v1/omnichannel.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ILivechatAgentStatus } from '@rocket.chat/core-typings';
|
|
2
|
-
import { ajv } from './Ajv';
|
|
2
|
+
import { ajv, ajvQuery } from './Ajv';
|
|
3
3
|
const LivechatVisitorsInfoSchema = {
|
|
4
4
|
type: 'object',
|
|
5
5
|
properties: {
|
|
@@ -10,7 +10,7 @@ const LivechatVisitorsInfoSchema = {
|
|
|
10
10
|
required: ['visitorId'],
|
|
11
11
|
additionalProperties: false,
|
|
12
12
|
};
|
|
13
|
-
export const isLivechatVisitorsInfoProps =
|
|
13
|
+
export const isLivechatVisitorsInfoProps = ajvQuery.compile(LivechatVisitorsInfoSchema);
|
|
14
14
|
const LivechatRoomOnHoldSchema = {
|
|
15
15
|
type: 'object',
|
|
16
16
|
properties: {
|
|
@@ -82,7 +82,7 @@ const LivechatDepartmentDepartmentIdAgentsGETSchema = {
|
|
|
82
82
|
required: [],
|
|
83
83
|
additionalProperties: false,
|
|
84
84
|
};
|
|
85
|
-
export const isLivechatDepartmentDepartmentIdAgentsGETProps =
|
|
85
|
+
export const isLivechatDepartmentDepartmentIdAgentsGETProps = ajvQuery.compile(LivechatDepartmentDepartmentIdAgentsGETSchema);
|
|
86
86
|
const LivechatDepartmentDepartmentIdAgentsPOSTSchema = {
|
|
87
87
|
type: 'object',
|
|
88
88
|
properties: {
|
|
@@ -153,7 +153,7 @@ const LivechatVisitorTokenGetSchema = {
|
|
|
153
153
|
required: ['token'],
|
|
154
154
|
additionalProperties: false,
|
|
155
155
|
};
|
|
156
|
-
export const isLivechatVisitorTokenGetProps =
|
|
156
|
+
export const isLivechatVisitorTokenGetProps = ajvQuery.compile(LivechatVisitorTokenGetSchema);
|
|
157
157
|
const LivechatVisitorTokenDeleteSchema = {
|
|
158
158
|
type: 'object',
|
|
159
159
|
properties: {
|
|
@@ -326,7 +326,7 @@ const LivechatMonitorsListSchema = {
|
|
|
326
326
|
required: ['text'],
|
|
327
327
|
additionalProperties: false,
|
|
328
328
|
};
|
|
329
|
-
export const isLivechatMonitorsListProps =
|
|
329
|
+
export const isLivechatMonitorsListProps = ajvQuery.compile(LivechatMonitorsListSchema);
|
|
330
330
|
const POSTLivechatMonitorCreateRequestSchema = {
|
|
331
331
|
type: 'object',
|
|
332
332
|
properties: {
|
|
@@ -487,7 +487,7 @@ const LivechatTagsListSchema = {
|
|
|
487
487
|
required: ['text'],
|
|
488
488
|
additionalProperties: false,
|
|
489
489
|
};
|
|
490
|
-
export const isLivechatTagsListProps =
|
|
490
|
+
export const isLivechatTagsListProps = ajvQuery.compile(LivechatTagsListSchema);
|
|
491
491
|
const LivechatDepartmentSchema = {
|
|
492
492
|
type: 'object',
|
|
493
493
|
properties: {
|
|
@@ -531,7 +531,7 @@ const LivechatDepartmentSchema = {
|
|
|
531
531
|
},
|
|
532
532
|
additionalProperties: false,
|
|
533
533
|
};
|
|
534
|
-
export const isGETLivechatDepartmentProps =
|
|
534
|
+
export const isGETLivechatDepartmentProps = ajvQuery.compile(LivechatDepartmentSchema);
|
|
535
535
|
const POSTLivechatDepartmentSchema = {
|
|
536
536
|
type: 'object',
|
|
537
537
|
properties: {
|
|
@@ -666,7 +666,7 @@ const LivechatDepartmentsAvailableByUnitIdSchema = {
|
|
|
666
666
|
required: ['text'],
|
|
667
667
|
additionalProperties: false,
|
|
668
668
|
};
|
|
669
|
-
export const isLivechatDepartmentsAvailableByUnitIdProps =
|
|
669
|
+
export const isLivechatDepartmentsAvailableByUnitIdProps = ajvQuery.compile(LivechatDepartmentsAvailableByUnitIdSchema);
|
|
670
670
|
const LivechatDepartmentsByUnitSchema = {
|
|
671
671
|
type: 'object',
|
|
672
672
|
properties: {
|
|
@@ -693,7 +693,7 @@ const LivechatDepartmentsByUnitSchema = {
|
|
|
693
693
|
required: ['text'],
|
|
694
694
|
additionalProperties: false,
|
|
695
695
|
};
|
|
696
|
-
export const isLivechatDepartmentsByUnitProps =
|
|
696
|
+
export const isLivechatDepartmentsByUnitProps = ajvQuery.compile(LivechatDepartmentsByUnitSchema);
|
|
697
697
|
const LivechatDepartmentsByUnitIdSchema = {
|
|
698
698
|
type: 'object',
|
|
699
699
|
properties: {
|
|
@@ -717,7 +717,7 @@ const LivechatDepartmentsByUnitIdSchema = {
|
|
|
717
717
|
required: ['text'],
|
|
718
718
|
additionalProperties: false,
|
|
719
719
|
};
|
|
720
|
-
export const isLivechatDepartmentsByUnitIdProps =
|
|
720
|
+
export const isLivechatDepartmentsByUnitIdProps = ajvQuery.compile(LivechatDepartmentsByUnitIdSchema);
|
|
721
721
|
const LivechatUsersManagerGETSchema = {
|
|
722
722
|
type: 'object',
|
|
723
723
|
properties: {
|
|
@@ -761,7 +761,7 @@ const LivechatUsersManagerGETSchema = {
|
|
|
761
761
|
required: [],
|
|
762
762
|
additionalProperties: false,
|
|
763
763
|
};
|
|
764
|
-
export const isLivechatUsersManagerGETProps =
|
|
764
|
+
export const isLivechatUsersManagerGETProps = ajvQuery.compile(LivechatUsersManagerGETSchema);
|
|
765
765
|
const LivechatUsersManagerPOSTSchema = {
|
|
766
766
|
type: 'object',
|
|
767
767
|
properties: {
|
|
@@ -817,7 +817,7 @@ const LivechatQueuePropsSchema = {
|
|
|
817
817
|
required: ['count', 'offset', 'sort'],
|
|
818
818
|
additionalProperties: false,
|
|
819
819
|
};
|
|
820
|
-
export const isLivechatQueueProps =
|
|
820
|
+
export const isLivechatQueueProps = ajvQuery.compile(LivechatQueuePropsSchema);
|
|
821
821
|
const CannedResponsesPropsSchema = {
|
|
822
822
|
type: 'object',
|
|
823
823
|
properties: {
|
|
@@ -863,7 +863,7 @@ const CannedResponsesPropsSchema = {
|
|
|
863
863
|
},
|
|
864
864
|
additionalProperties: false,
|
|
865
865
|
};
|
|
866
|
-
export const isCannedResponsesProps =
|
|
866
|
+
export const isCannedResponsesProps = ajvQuery.compile(CannedResponsesPropsSchema);
|
|
867
867
|
const LivechatCustomFieldsSchema = {
|
|
868
868
|
type: 'object',
|
|
869
869
|
properties: {
|
|
@@ -890,7 +890,7 @@ const LivechatCustomFieldsSchema = {
|
|
|
890
890
|
},
|
|
891
891
|
additionalProperties: false,
|
|
892
892
|
};
|
|
893
|
-
export const isLivechatCustomFieldsProps =
|
|
893
|
+
export const isLivechatCustomFieldsProps = ajvQuery.compile(LivechatCustomFieldsSchema);
|
|
894
894
|
const LivechatRoomsSchema = {
|
|
895
895
|
type: 'object',
|
|
896
896
|
properties: {
|
|
@@ -962,7 +962,7 @@ const LivechatRidMessagesSchema = {
|
|
|
962
962
|
required: [],
|
|
963
963
|
additionalProperties: false,
|
|
964
964
|
};
|
|
965
|
-
export const isLivechatRidMessagesProps =
|
|
965
|
+
export const isLivechatRidMessagesProps = ajvQuery.compile(LivechatRidMessagesSchema);
|
|
966
966
|
const LivechatUsersAgentSchema = {
|
|
967
967
|
type: 'object',
|
|
968
968
|
properties: {
|
|
@@ -990,7 +990,7 @@ const LivechatUsersAgentSchema = {
|
|
|
990
990
|
required: [],
|
|
991
991
|
additionalProperties: false,
|
|
992
992
|
};
|
|
993
|
-
export const isLivechatUsersAgentProps =
|
|
993
|
+
export const isLivechatUsersAgentProps = ajvQuery.compile(LivechatUsersAgentSchema);
|
|
994
994
|
const LivechatPrioritiesPropsSchema = {
|
|
995
995
|
type: 'object',
|
|
996
996
|
properties: {
|
|
@@ -1022,7 +1022,7 @@ const LivechatPrioritiesPropsSchema = {
|
|
|
1022
1022
|
required: [],
|
|
1023
1023
|
additionalProperties: false,
|
|
1024
1024
|
};
|
|
1025
|
-
export const isLivechatPrioritiesProps =
|
|
1025
|
+
export const isLivechatPrioritiesProps = ajvQuery.compile(LivechatPrioritiesPropsSchema);
|
|
1026
1026
|
const CreateOrUpdateLivechatSlaPropsSchema = {
|
|
1027
1027
|
type: 'object',
|
|
1028
1028
|
properties: {
|
|
@@ -1240,7 +1240,7 @@ const GETOmnichannelContactsSchema = {
|
|
|
1240
1240
|
required: ['contactId'],
|
|
1241
1241
|
additionalProperties: false,
|
|
1242
1242
|
};
|
|
1243
|
-
export const isGETOmnichannelContactsProps =
|
|
1243
|
+
export const isGETOmnichannelContactsProps = ajvQuery.compile(GETOmnichannelContactsSchema);
|
|
1244
1244
|
const GETOmnichannelContactsSearchSchema = {
|
|
1245
1245
|
type: 'object',
|
|
1246
1246
|
properties: {
|
|
@@ -1263,7 +1263,7 @@ const GETOmnichannelContactsSearchSchema = {
|
|
|
1263
1263
|
required: [],
|
|
1264
1264
|
additionalProperties: false,
|
|
1265
1265
|
};
|
|
1266
|
-
export const isGETOmnichannelContactsSearchProps =
|
|
1266
|
+
export const isGETOmnichannelContactsSearchProps = ajvQuery.compile(GETOmnichannelContactsSearchSchema);
|
|
1267
1267
|
const GETOmnichannelContactsCheckExistenceSchema = {
|
|
1268
1268
|
oneOf: [
|
|
1269
1269
|
{
|
|
@@ -1305,7 +1305,7 @@ const GETOmnichannelContactsCheckExistenceSchema = {
|
|
|
1305
1305
|
},
|
|
1306
1306
|
],
|
|
1307
1307
|
};
|
|
1308
|
-
export const isGETOmnichannelContactsCheckExistenceProps =
|
|
1308
|
+
export const isGETOmnichannelContactsCheckExistenceProps = ajvQuery.compile(GETOmnichannelContactsCheckExistenceSchema);
|
|
1309
1309
|
const GETOmnichannelContactHistorySchema = {
|
|
1310
1310
|
type: 'object',
|
|
1311
1311
|
properties: {
|
|
@@ -1328,7 +1328,7 @@ const GETOmnichannelContactHistorySchema = {
|
|
|
1328
1328
|
required: ['contactId'],
|
|
1329
1329
|
additionalProperties: false,
|
|
1330
1330
|
};
|
|
1331
|
-
export const isGETOmnichannelContactHistoryProps =
|
|
1331
|
+
export const isGETOmnichannelContactHistoryProps = ajvQuery.compile(GETOmnichannelContactHistorySchema);
|
|
1332
1332
|
const GETOmnichannelContactsChannelsSchema = {
|
|
1333
1333
|
type: 'object',
|
|
1334
1334
|
properties: {
|
|
@@ -1339,7 +1339,7 @@ const GETOmnichannelContactsChannelsSchema = {
|
|
|
1339
1339
|
required: ['contactId'],
|
|
1340
1340
|
additionalProperties: false,
|
|
1341
1341
|
};
|
|
1342
|
-
export const isGETOmnichannelContactsChannelsProps =
|
|
1342
|
+
export const isGETOmnichannelContactsChannelsProps = ajvQuery.compile(GETOmnichannelContactsChannelsSchema);
|
|
1343
1343
|
const GETOmnichannelContactSchema = {
|
|
1344
1344
|
type: 'object',
|
|
1345
1345
|
properties: {
|
|
@@ -1350,7 +1350,7 @@ const GETOmnichannelContactSchema = {
|
|
|
1350
1350
|
required: ['contactId'],
|
|
1351
1351
|
additionalProperties: false,
|
|
1352
1352
|
};
|
|
1353
|
-
export const isGETOmnichannelContactProps =
|
|
1353
|
+
export const isGETOmnichannelContactProps = ajvQuery.compile(GETOmnichannelContactSchema);
|
|
1354
1354
|
const LivechatAnalyticsAgentsAverageServiceTimeSchema = {
|
|
1355
1355
|
type: 'object',
|
|
1356
1356
|
properties: {
|
|
@@ -1373,7 +1373,7 @@ const LivechatAnalyticsAgentsAverageServiceTimeSchema = {
|
|
|
1373
1373
|
required: ['start', 'end'],
|
|
1374
1374
|
additionalProperties: false,
|
|
1375
1375
|
};
|
|
1376
|
-
export const isLivechatAnalyticsAgentsAverageServiceTimeProps =
|
|
1376
|
+
export const isLivechatAnalyticsAgentsAverageServiceTimeProps = ajvQuery.compile(LivechatAnalyticsAgentsAverageServiceTimeSchema);
|
|
1377
1377
|
const GETOmnichannelContactSearchSchema = {
|
|
1378
1378
|
anyOf: [
|
|
1379
1379
|
{
|
|
@@ -1398,7 +1398,7 @@ const GETOmnichannelContactSearchSchema = {
|
|
|
1398
1398
|
},
|
|
1399
1399
|
],
|
|
1400
1400
|
};
|
|
1401
|
-
export const isGETOmnichannelContactSearchProps =
|
|
1401
|
+
export const isGETOmnichannelContactSearchProps = ajvQuery.compile(GETOmnichannelContactSearchSchema);
|
|
1402
1402
|
const POSTLivechatAgentStatusPropsSchema = {
|
|
1403
1403
|
type: 'object',
|
|
1404
1404
|
properties: {
|
|
@@ -1469,7 +1469,7 @@ const LivechatAnalyticsAgentsTotalServiceTimeSchema = {
|
|
|
1469
1469
|
required: ['start', 'end'],
|
|
1470
1470
|
additionalProperties: false,
|
|
1471
1471
|
};
|
|
1472
|
-
export const isLivechatAnalyticsAgentsTotalServiceTimeProps =
|
|
1472
|
+
export const isLivechatAnalyticsAgentsTotalServiceTimeProps = ajvQuery.compile(LivechatAnalyticsAgentsTotalServiceTimeSchema);
|
|
1473
1473
|
const LivechatAnalyticsAgentsAvailableForServiceHistorySchema = {
|
|
1474
1474
|
type: 'object',
|
|
1475
1475
|
properties: {
|
|
@@ -1496,7 +1496,7 @@ const LivechatAnalyticsAgentsAvailableForServiceHistorySchema = {
|
|
|
1496
1496
|
required: ['start', 'end'],
|
|
1497
1497
|
additionalProperties: false,
|
|
1498
1498
|
};
|
|
1499
|
-
export const isLivechatAnalyticsAgentsAvailableForServiceHistoryProps =
|
|
1499
|
+
export const isLivechatAnalyticsAgentsAvailableForServiceHistoryProps = ajvQuery.compile(LivechatAnalyticsAgentsAvailableForServiceHistorySchema);
|
|
1500
1500
|
const LivechatAnalyticsDepartmentsAmountOfChatsSchema = {
|
|
1501
1501
|
type: 'object',
|
|
1502
1502
|
properties: {
|
|
@@ -1527,7 +1527,7 @@ const LivechatAnalyticsDepartmentsAmountOfChatsSchema = {
|
|
|
1527
1527
|
required: ['start', 'end'],
|
|
1528
1528
|
additionalProperties: false,
|
|
1529
1529
|
};
|
|
1530
|
-
export const isLivechatAnalyticsDepartmentsAmountOfChatsProps =
|
|
1530
|
+
export const isLivechatAnalyticsDepartmentsAmountOfChatsProps = ajvQuery.compile(LivechatAnalyticsDepartmentsAmountOfChatsSchema);
|
|
1531
1531
|
const LivechatAnalyticsDepartmentsAverageServiceTimeSchema = {
|
|
1532
1532
|
type: 'object',
|
|
1533
1533
|
properties: {
|
|
@@ -1554,7 +1554,7 @@ const LivechatAnalyticsDepartmentsAverageServiceTimeSchema = {
|
|
|
1554
1554
|
required: ['start', 'end'],
|
|
1555
1555
|
additionalProperties: false,
|
|
1556
1556
|
};
|
|
1557
|
-
export const isLivechatAnalyticsDepartmentsAverageServiceTimeProps =
|
|
1557
|
+
export const isLivechatAnalyticsDepartmentsAverageServiceTimeProps = ajvQuery.compile(LivechatAnalyticsDepartmentsAverageServiceTimeSchema);
|
|
1558
1558
|
const LivechatAnalyticsDepartmentsAverageChatDurationTimeSchema = {
|
|
1559
1559
|
type: 'object',
|
|
1560
1560
|
properties: {
|
|
@@ -1581,7 +1581,7 @@ const LivechatAnalyticsDepartmentsAverageChatDurationTimeSchema = {
|
|
|
1581
1581
|
required: ['start', 'end'],
|
|
1582
1582
|
additionalProperties: false,
|
|
1583
1583
|
};
|
|
1584
|
-
export const isLivechatAnalyticsDepartmentsAverageChatDurationTimeProps =
|
|
1584
|
+
export const isLivechatAnalyticsDepartmentsAverageChatDurationTimeProps = ajvQuery.compile(LivechatAnalyticsDepartmentsAverageChatDurationTimeSchema);
|
|
1585
1585
|
const LivechatAnalyticsDepartmentsTotalServiceTimeSchema = {
|
|
1586
1586
|
type: 'object',
|
|
1587
1587
|
properties: {
|
|
@@ -1608,7 +1608,7 @@ const LivechatAnalyticsDepartmentsTotalServiceTimeSchema = {
|
|
|
1608
1608
|
required: ['start', 'end'],
|
|
1609
1609
|
additionalProperties: false,
|
|
1610
1610
|
};
|
|
1611
|
-
export const isLivechatAnalyticsDepartmentsTotalServiceTimeProps =
|
|
1611
|
+
export const isLivechatAnalyticsDepartmentsTotalServiceTimeProps = ajvQuery.compile(LivechatAnalyticsDepartmentsTotalServiceTimeSchema);
|
|
1612
1612
|
const LivechatAnalyticsDepartmentsAverageWaitingTimeSchema = {
|
|
1613
1613
|
type: 'object',
|
|
1614
1614
|
properties: {
|
|
@@ -1635,7 +1635,7 @@ const LivechatAnalyticsDepartmentsAverageWaitingTimeSchema = {
|
|
|
1635
1635
|
required: ['start', 'end'],
|
|
1636
1636
|
additionalProperties: false,
|
|
1637
1637
|
};
|
|
1638
|
-
export const isLivechatAnalyticsDepartmentsAverageWaitingTimeProps =
|
|
1638
|
+
export const isLivechatAnalyticsDepartmentsAverageWaitingTimeProps = ajvQuery.compile(LivechatAnalyticsDepartmentsAverageWaitingTimeSchema);
|
|
1639
1639
|
const LivechatAnalyticsDepartmentsTotalTransferredChatsSchema = {
|
|
1640
1640
|
type: 'object',
|
|
1641
1641
|
properties: {
|
|
@@ -1662,7 +1662,7 @@ const LivechatAnalyticsDepartmentsTotalTransferredChatsSchema = {
|
|
|
1662
1662
|
required: ['start', 'end'],
|
|
1663
1663
|
additionalProperties: false,
|
|
1664
1664
|
};
|
|
1665
|
-
export const isLivechatAnalyticsDepartmentsTotalTransferredChatsProps =
|
|
1665
|
+
export const isLivechatAnalyticsDepartmentsTotalTransferredChatsProps = ajvQuery.compile(LivechatAnalyticsDepartmentsTotalTransferredChatsSchema);
|
|
1666
1666
|
const LivechatAnalyticsDepartmentsTotalAbandonedChatsSchema = {
|
|
1667
1667
|
type: 'object',
|
|
1668
1668
|
properties: {
|
|
@@ -1689,7 +1689,7 @@ const LivechatAnalyticsDepartmentsTotalAbandonedChatsSchema = {
|
|
|
1689
1689
|
required: ['start', 'end'],
|
|
1690
1690
|
additionalProperties: false,
|
|
1691
1691
|
};
|
|
1692
|
-
export const isLivechatAnalyticsDepartmentsTotalAbandonedChatsProps =
|
|
1692
|
+
export const isLivechatAnalyticsDepartmentsTotalAbandonedChatsProps = ajvQuery.compile(LivechatAnalyticsDepartmentsTotalAbandonedChatsSchema);
|
|
1693
1693
|
const LivechatAnalyticsDepartmentsPercentageAbandonedChatsSchema = {
|
|
1694
1694
|
type: 'object',
|
|
1695
1695
|
properties: {
|
|
@@ -1716,7 +1716,7 @@ const LivechatAnalyticsDepartmentsPercentageAbandonedChatsSchema = {
|
|
|
1716
1716
|
required: ['start', 'end'],
|
|
1717
1717
|
additionalProperties: false,
|
|
1718
1718
|
};
|
|
1719
|
-
export const isLivechatAnalyticsDepartmentsPercentageAbandonedChatsProps =
|
|
1719
|
+
export const isLivechatAnalyticsDepartmentsPercentageAbandonedChatsProps = ajvQuery.compile(LivechatAnalyticsDepartmentsPercentageAbandonedChatsSchema);
|
|
1720
1720
|
const GETAgentNextTokenSchema = {
|
|
1721
1721
|
type: 'object',
|
|
1722
1722
|
properties: {
|
|
@@ -1727,7 +1727,7 @@ const GETAgentNextTokenSchema = {
|
|
|
1727
1727
|
},
|
|
1728
1728
|
additionalProperties: false,
|
|
1729
1729
|
};
|
|
1730
|
-
export const isGETAgentNextToken =
|
|
1730
|
+
export const isGETAgentNextToken = ajvQuery.compile(GETAgentNextTokenSchema);
|
|
1731
1731
|
const GETLivechatConfigParamsSchema = {
|
|
1732
1732
|
type: 'object',
|
|
1733
1733
|
properties: {
|
|
@@ -1746,7 +1746,7 @@ const GETLivechatConfigParamsSchema = {
|
|
|
1746
1746
|
},
|
|
1747
1747
|
additionalProperties: false,
|
|
1748
1748
|
};
|
|
1749
|
-
export const isGETLivechatConfigParams =
|
|
1749
|
+
export const isGETLivechatConfigParams = ajvQuery.compile(GETLivechatConfigParamsSchema);
|
|
1750
1750
|
export const GETLivechatConfigRoutingSchema = {
|
|
1751
1751
|
type: 'object',
|
|
1752
1752
|
properties: {
|
|
@@ -1784,7 +1784,7 @@ export const GETLivechatConfigRoutingSchema = {
|
|
|
1784
1784
|
},
|
|
1785
1785
|
additionalProperties: false,
|
|
1786
1786
|
};
|
|
1787
|
-
export const GETLivechatConfigRouting =
|
|
1787
|
+
export const GETLivechatConfigRouting = ajvQuery.compile(GETLivechatConfigRoutingSchema);
|
|
1788
1788
|
const POSTLivechatCustomFieldParamsSchema = {
|
|
1789
1789
|
type: 'object',
|
|
1790
1790
|
properties: {
|
|
@@ -1845,7 +1845,7 @@ const GETWebRTCCallSchema = {
|
|
|
1845
1845
|
required: ['rid'],
|
|
1846
1846
|
additionalProperties: false,
|
|
1847
1847
|
};
|
|
1848
|
-
export const isGETWebRTCCall =
|
|
1848
|
+
export const isGETWebRTCCall = ajvQuery.compile(GETWebRTCCallSchema);
|
|
1849
1849
|
const PUTWebRTCCallIdSchema = {
|
|
1850
1850
|
type: 'object',
|
|
1851
1851
|
properties: {
|
|
@@ -1990,7 +1990,7 @@ const GETLivechatMessageIdParamsSchema = {
|
|
|
1990
1990
|
required: ['token', 'rid'],
|
|
1991
1991
|
additionalProperties: false,
|
|
1992
1992
|
};
|
|
1993
|
-
export const isGETLivechatMessageIdParams =
|
|
1993
|
+
export const isGETLivechatMessageIdParams = ajvQuery.compile(GETLivechatMessageIdParamsSchema);
|
|
1994
1994
|
const PUTLivechatMessageIdParamsSchema = {
|
|
1995
1995
|
type: 'object',
|
|
1996
1996
|
properties: {
|
|
@@ -2072,7 +2072,7 @@ const GETLivechatMessagesHistoryRidParamsSchema = {
|
|
|
2072
2072
|
required: ['token'],
|
|
2073
2073
|
additionalProperties: false,
|
|
2074
2074
|
};
|
|
2075
|
-
export const isGETLivechatMessagesHistoryRidParams =
|
|
2075
|
+
export const isGETLivechatMessagesHistoryRidParams = ajvQuery.compile(GETLivechatMessagesHistoryRidParamsSchema);
|
|
2076
2076
|
const GETLivechatMessagesParamsSchema = {
|
|
2077
2077
|
type: 'object',
|
|
2078
2078
|
properties: {
|
|
@@ -2104,7 +2104,7 @@ const GETLivechatMessagesParamsSchema = {
|
|
|
2104
2104
|
required: ['visitor', 'messages'],
|
|
2105
2105
|
additionalProperties: false,
|
|
2106
2106
|
};
|
|
2107
|
-
export const isGETLivechatMessagesParams =
|
|
2107
|
+
export const isGETLivechatMessagesParams = ajvQuery.compile(GETLivechatMessagesParamsSchema);
|
|
2108
2108
|
const GETLivechatRoomParamsSchema = {
|
|
2109
2109
|
type: 'object',
|
|
2110
2110
|
properties: {
|
|
@@ -2123,7 +2123,7 @@ const GETLivechatRoomParamsSchema = {
|
|
|
2123
2123
|
required: ['token'],
|
|
2124
2124
|
additionalProperties: true,
|
|
2125
2125
|
};
|
|
2126
|
-
export const isGETLivechatRoomParams =
|
|
2126
|
+
export const isGETLivechatRoomParams = ajvQuery.compile(GETLivechatRoomParamsSchema);
|
|
2127
2127
|
const POSTLivechatRoomCloseParamsSchema = {
|
|
2128
2128
|
type: 'object',
|
|
2129
2129
|
properties: {
|
|
@@ -2310,7 +2310,7 @@ const GETLivechatVisitorsPagesVisitedRoomIdParamsSchema = {
|
|
|
2310
2310
|
},
|
|
2311
2311
|
additionalProperties: false,
|
|
2312
2312
|
};
|
|
2313
|
-
export const isGETLivechatVisitorsPagesVisitedRoomIdParams =
|
|
2313
|
+
export const isGETLivechatVisitorsPagesVisitedRoomIdParams = ajvQuery.compile(GETLivechatVisitorsPagesVisitedRoomIdParamsSchema);
|
|
2314
2314
|
const GETLivechatVisitorsChatHistoryRoomRoomIdVisitorVisitorIdParamsSchema = {
|
|
2315
2315
|
type: 'object',
|
|
2316
2316
|
properties: {
|
|
@@ -2329,7 +2329,7 @@ const GETLivechatVisitorsChatHistoryRoomRoomIdVisitorVisitorIdParamsSchema = {
|
|
|
2329
2329
|
},
|
|
2330
2330
|
additionalProperties: false,
|
|
2331
2331
|
};
|
|
2332
|
-
export const isGETLivechatVisitorsChatHistoryRoomRoomIdVisitorVisitorIdParams =
|
|
2332
|
+
export const isGETLivechatVisitorsChatHistoryRoomRoomIdVisitorVisitorIdParams = ajvQuery.compile(GETLivechatVisitorsChatHistoryRoomRoomIdVisitorVisitorIdParamsSchema);
|
|
2333
2333
|
const GETLivechatVisitorsSearchChatsRoomRoomIdVisitorVisitorIdParamsSchema = {
|
|
2334
2334
|
type: 'object',
|
|
2335
2335
|
properties: {
|
|
@@ -2364,7 +2364,7 @@ const GETLivechatVisitorsSearchChatsRoomRoomIdVisitorVisitorIdParamsSchema = {
|
|
|
2364
2364
|
},
|
|
2365
2365
|
additionalProperties: false,
|
|
2366
2366
|
};
|
|
2367
|
-
export const isGETLivechatVisitorsSearchChatsRoomRoomIdVisitorVisitorIdParams =
|
|
2367
|
+
export const isGETLivechatVisitorsSearchChatsRoomRoomIdVisitorVisitorIdParams = ajvQuery.compile(GETLivechatVisitorsSearchChatsRoomRoomIdVisitorVisitorIdParamsSchema);
|
|
2368
2368
|
const GETLivechatVisitorsAutocompleteParamsSchema = {
|
|
2369
2369
|
type: 'object',
|
|
2370
2370
|
properties: {
|
|
@@ -2375,7 +2375,7 @@ const GETLivechatVisitorsAutocompleteParamsSchema = {
|
|
|
2375
2375
|
required: ['selector'],
|
|
2376
2376
|
additionalProperties: false,
|
|
2377
2377
|
};
|
|
2378
|
-
export const isGETLivechatVisitorsAutocompleteParams =
|
|
2378
|
+
export const isGETLivechatVisitorsAutocompleteParams = ajvQuery.compile(GETLivechatVisitorsAutocompleteParamsSchema);
|
|
2379
2379
|
const GETLivechatVisitorsSearchSchema = {
|
|
2380
2380
|
type: 'object',
|
|
2381
2381
|
properties: {
|
|
@@ -2398,7 +2398,7 @@ const GETLivechatVisitorsSearchSchema = {
|
|
|
2398
2398
|
required: ['term'],
|
|
2399
2399
|
additionalProperties: false,
|
|
2400
2400
|
};
|
|
2401
|
-
export const isGETLivechatVisitorsSearch =
|
|
2401
|
+
export const isGETLivechatVisitorsSearch = ajvQuery.compile(GETLivechatVisitorsSearchSchema);
|
|
2402
2402
|
const GETLivechatAgentsAgentIdDepartmentsParamsSchema = {
|
|
2403
2403
|
type: 'object',
|
|
2404
2404
|
properties: {
|
|
@@ -2409,7 +2409,7 @@ const GETLivechatAgentsAgentIdDepartmentsParamsSchema = {
|
|
|
2409
2409
|
},
|
|
2410
2410
|
additionalProperties: false,
|
|
2411
2411
|
};
|
|
2412
|
-
export const isGETLivechatAgentsAgentIdDepartmentsParams =
|
|
2412
|
+
export const isGETLivechatAgentsAgentIdDepartmentsParams = ajvQuery.compile(GETLivechatAgentsAgentIdDepartmentsParamsSchema);
|
|
2413
2413
|
const GETBusinessHourParamsSchema = {
|
|
2414
2414
|
type: 'object',
|
|
2415
2415
|
properties: {
|
|
@@ -2424,7 +2424,7 @@ const GETBusinessHourParamsSchema = {
|
|
|
2424
2424
|
},
|
|
2425
2425
|
additionalProperties: false,
|
|
2426
2426
|
};
|
|
2427
|
-
export const isGETBusinessHourParams =
|
|
2427
|
+
export const isGETBusinessHourParams = ajvQuery.compile(GETBusinessHourParamsSchema);
|
|
2428
2428
|
const GETLivechatTriggersParamsSchema = {
|
|
2429
2429
|
type: 'object',
|
|
2430
2430
|
properties: {
|
|
@@ -2561,7 +2561,7 @@ export const POSTLivechatBusinessHoursRemoveSuccessSchema = {
|
|
|
2561
2561
|
additionalProperties: false,
|
|
2562
2562
|
};
|
|
2563
2563
|
export const POSTLivechatBusinessHoursRemoveSuccessResponse = ajv.compile(POSTLivechatBusinessHoursRemoveSuccessSchema);
|
|
2564
|
-
export const isGETLivechatTriggersParams =
|
|
2564
|
+
export const isGETLivechatTriggersParams = ajvQuery.compile(GETLivechatTriggersParamsSchema);
|
|
2565
2565
|
const GETLivechatRoomsParamsSchema = {
|
|
2566
2566
|
type: 'object',
|
|
2567
2567
|
properties: {
|
|
@@ -2645,7 +2645,7 @@ const GETLivechatRoomsParamsSchema = {
|
|
|
2645
2645
|
},
|
|
2646
2646
|
additionalProperties: false,
|
|
2647
2647
|
};
|
|
2648
|
-
export const isGETLivechatRoomsParams =
|
|
2648
|
+
export const isGETLivechatRoomsParams = ajvQuery.compile(GETLivechatRoomsParamsSchema);
|
|
2649
2649
|
const POSTLivechatRoomPriorityParamsSchema = {
|
|
2650
2650
|
type: 'object',
|
|
2651
2651
|
properties: {
|
|
@@ -2687,7 +2687,7 @@ const GETLivechatQueueParamsSchema = {
|
|
|
2687
2687
|
},
|
|
2688
2688
|
additionalProperties: false,
|
|
2689
2689
|
};
|
|
2690
|
-
export const isGETLivechatQueueParams =
|
|
2690
|
+
export const isGETLivechatQueueParams = ajvQuery.compile(GETLivechatQueueParamsSchema);
|
|
2691
2691
|
const GETLivechatPrioritiesParamsSchema = {
|
|
2692
2692
|
type: 'object',
|
|
2693
2693
|
properties: {
|
|
@@ -2711,7 +2711,7 @@ const GETLivechatPrioritiesParamsSchema = {
|
|
|
2711
2711
|
required: [],
|
|
2712
2712
|
additionalProperties: false,
|
|
2713
2713
|
};
|
|
2714
|
-
export const isGETLivechatPrioritiesParams =
|
|
2714
|
+
export const isGETLivechatPrioritiesParams = ajvQuery.compile(GETLivechatPrioritiesParamsSchema);
|
|
2715
2715
|
const DELETELivechatPriorityParamsSchema = {
|
|
2716
2716
|
type: 'object',
|
|
2717
2717
|
properties: {
|
|
@@ -2761,7 +2761,7 @@ const GETLivechatInquiriesListParamsSchema = {
|
|
|
2761
2761
|
},
|
|
2762
2762
|
additionalProperties: false,
|
|
2763
2763
|
};
|
|
2764
|
-
export const isGETLivechatInquiriesListParams =
|
|
2764
|
+
export const isGETLivechatInquiriesListParams = ajvQuery.compile(GETLivechatInquiriesListParamsSchema);
|
|
2765
2765
|
const POSTLivechatInquiriesTakeParamsSchema = {
|
|
2766
2766
|
type: 'object',
|
|
2767
2767
|
properties: {
|
|
@@ -2824,7 +2824,7 @@ const GETLivechatInquiriesQueuedForUserParamsSchema = {
|
|
|
2824
2824
|
},
|
|
2825
2825
|
additionalProperties: false,
|
|
2826
2826
|
};
|
|
2827
|
-
export const isGETLivechatInquiriesQueuedForUserParams =
|
|
2827
|
+
export const isGETLivechatInquiriesQueuedForUserParams = ajvQuery.compile(GETLivechatInquiriesQueuedForUserParamsSchema);
|
|
2828
2828
|
const GETLivechatInquiriesGetOneParamsSchema = {
|
|
2829
2829
|
type: 'object',
|
|
2830
2830
|
properties: {
|
|
@@ -2835,7 +2835,7 @@ const GETLivechatInquiriesGetOneParamsSchema = {
|
|
|
2835
2835
|
additionalProperties: false,
|
|
2836
2836
|
required: ['roomId'],
|
|
2837
2837
|
};
|
|
2838
|
-
export const isGETLivechatInquiriesGetOneParams =
|
|
2838
|
+
export const isGETLivechatInquiriesGetOneParams = ajvQuery.compile(GETLivechatInquiriesGetOneParamsSchema);
|
|
2839
2839
|
const POSTLivechatInquiriesReturnAsInquirySchema = {
|
|
2840
2840
|
type: 'object',
|
|
2841
2841
|
properties: {
|
|
@@ -2882,7 +2882,7 @@ const GETLivechatAnalyticsDashboardsConversationTotalizersParamsSchema = {
|
|
|
2882
2882
|
additionalProperties: false,
|
|
2883
2883
|
required: ['start', 'end'],
|
|
2884
2884
|
};
|
|
2885
|
-
export const isGETDashboardTotalizerParams =
|
|
2885
|
+
export const isGETDashboardTotalizerParams = ajvQuery.compile(GETLivechatAnalyticsDashboardsConversationTotalizersParamsSchema);
|
|
2886
2886
|
const GETLivechatAnalyticsDashboardsAgentStatusParamsSchema = {
|
|
2887
2887
|
type: 'object',
|
|
2888
2888
|
properties: {
|
|
@@ -2895,7 +2895,7 @@ const GETLivechatAnalyticsDashboardsAgentStatusParamsSchema = {
|
|
|
2895
2895
|
// This will prevent FE breaking, but's a TODO for an upcoming engday
|
|
2896
2896
|
additionalProperties: true,
|
|
2897
2897
|
};
|
|
2898
|
-
export const isGETDashboardsAgentStatusParams =
|
|
2898
|
+
export const isGETDashboardsAgentStatusParams = ajvQuery.compile(GETLivechatAnalyticsDashboardsAgentStatusParamsSchema);
|
|
2899
2899
|
const GETLivechatAnalyticsDashboardsChartDataParamsSchema = {
|
|
2900
2900
|
type: 'object',
|
|
2901
2901
|
properties: {
|
|
@@ -2915,7 +2915,7 @@ const GETLivechatAnalyticsDashboardsChartDataParamsSchema = {
|
|
|
2915
2915
|
additionalProperties: false,
|
|
2916
2916
|
required: ['chartName', 'start', 'end'],
|
|
2917
2917
|
};
|
|
2918
|
-
export const isGETLivechatAnalyticsDashboardsChartDataParams =
|
|
2918
|
+
export const isGETLivechatAnalyticsDashboardsChartDataParams = ajvQuery.compile(GETLivechatAnalyticsDashboardsChartDataParamsSchema);
|
|
2919
2919
|
const GETLivechatAnalyticsDashboardsChartDataSuccess = {
|
|
2920
2920
|
type: 'object',
|
|
2921
2921
|
properties: {
|
|
@@ -2972,47 +2972,36 @@ const POSTomnichannelIntegrationsSchema = {
|
|
|
2972
2972
|
properties: {
|
|
2973
2973
|
LivechatWebhookUrl: {
|
|
2974
2974
|
type: 'string',
|
|
2975
|
-
nullable: true,
|
|
2976
2975
|
},
|
|
2977
2976
|
LivechatSecretToken: {
|
|
2978
2977
|
type: 'string',
|
|
2979
|
-
nullable: true,
|
|
2980
2978
|
},
|
|
2981
2979
|
LivechatHttpTimeout: {
|
|
2982
2980
|
type: 'number',
|
|
2983
|
-
nullable: true,
|
|
2984
2981
|
},
|
|
2985
2982
|
LivechatWebhookOnStart: {
|
|
2986
2983
|
type: 'boolean',
|
|
2987
|
-
nullable: true,
|
|
2988
2984
|
},
|
|
2989
2985
|
LivechatWebhookOnClose: {
|
|
2990
2986
|
type: 'boolean',
|
|
2991
|
-
nullable: true,
|
|
2992
2987
|
},
|
|
2993
2988
|
LivechatWebhookOnChatTaken: {
|
|
2994
2989
|
type: 'boolean',
|
|
2995
|
-
nullable: true,
|
|
2996
2990
|
},
|
|
2997
2991
|
LivechatWebhookOnChatQueued: {
|
|
2998
2992
|
type: 'boolean',
|
|
2999
|
-
nullable: true,
|
|
3000
2993
|
},
|
|
3001
2994
|
LivechatWebhookOnForward: {
|
|
3002
2995
|
type: 'boolean',
|
|
3003
|
-
nullable: true,
|
|
3004
2996
|
},
|
|
3005
2997
|
LivechatWebhookOnOfflineMsg: {
|
|
3006
2998
|
type: 'boolean',
|
|
3007
|
-
nullable: true,
|
|
3008
2999
|
},
|
|
3009
3000
|
LivechatWebhookOnVisitorMessage: {
|
|
3010
3001
|
type: 'boolean',
|
|
3011
|
-
nullable: true,
|
|
3012
3002
|
},
|
|
3013
3003
|
LivechatWebhookOnAgentMessage: {
|
|
3014
3004
|
type: 'boolean',
|
|
3015
|
-
nullable: true,
|
|
3016
3005
|
},
|
|
3017
3006
|
},
|
|
3018
3007
|
required: [],
|
|
@@ -3206,7 +3195,7 @@ const LivechatAnalyticsAgentOverviewPropsSchema = {
|
|
|
3206
3195
|
required: ['name', 'from', 'to'],
|
|
3207
3196
|
additionalProperties: false,
|
|
3208
3197
|
};
|
|
3209
|
-
export const isLivechatAnalyticsAgentOverviewProps =
|
|
3198
|
+
export const isLivechatAnalyticsAgentOverviewProps = ajvQuery.compile(LivechatAnalyticsAgentOverviewPropsSchema);
|
|
3210
3199
|
const LivechatAnalyticsOverviewPropsSchema = {
|
|
3211
3200
|
type: 'object',
|
|
3212
3201
|
properties: {
|
|
@@ -3227,7 +3216,7 @@ const LivechatAnalyticsOverviewPropsSchema = {
|
|
|
3227
3216
|
required: ['name', 'from', 'to'],
|
|
3228
3217
|
additionalProperties: false,
|
|
3229
3218
|
};
|
|
3230
|
-
export const isLivechatAnalyticsOverviewProps =
|
|
3219
|
+
export const isLivechatAnalyticsOverviewProps = ajvQuery.compile(LivechatAnalyticsOverviewPropsSchema);
|
|
3231
3220
|
const LivechatTriggerWebhookTestParamsSchema = {
|
|
3232
3221
|
type: 'object',
|
|
3233
3222
|
properties: {
|