@rc-ex/core 1.4.1 → 1.5.0
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/lib/FormData.d.ts +1 -1
- package/lib/Rest.d.ts +3 -3
- package/lib/Rest.js +14 -10
- package/lib/Rest.js.map +1 -1
- package/lib/definitions/AIInsights.d.ts +27 -0
- package/lib/definitions/{ContentList.js → AIInsights.js} +1 -1
- package/lib/definitions/AIInsights.js.map +1 -0
- package/lib/definitions/AIScoreInsightUnit.d.ts +9 -0
- package/lib/definitions/{ContentContextData.js → AIScoreInsightUnit.js} +1 -1
- package/lib/definitions/AIScoreInsightUnit.js.map +1 -0
- package/lib/definitions/AccountPresenceEventBody.d.ts +5 -1
- package/lib/definitions/BaseCallLogRecord.d.ts +3 -5
- package/lib/definitions/BaseTokenRequest.d.ts +1 -1
- package/lib/definitions/BatchProvisionUsersRequestItem.d.ts +0 -6
- package/lib/definitions/BatchProvisionUsersRequestItemContact.d.ts +4 -0
- package/lib/definitions/BulletedSummaryInsightUnit.d.ts +9 -0
- package/lib/definitions/BulletedSummaryInsightUnit.js +3 -0
- package/lib/definitions/BulletedSummaryInsightUnit.js.map +1 -0
- package/lib/definitions/CallLogRecord.d.ts +3 -5
- package/lib/definitions/CallLogRecordLegInfo.d.ts +4 -6
- package/lib/definitions/CallMonitoringGroup.d.ts +4 -0
- package/lib/definitions/CallMonitoringGroupSite.d.ts +11 -0
- package/lib/definitions/CallMonitoringGroupSite.js +3 -0
- package/lib/definitions/CallMonitoringGroupSite.js.map +1 -0
- package/lib/definitions/CallStatusInfo.d.ts +16 -4
- package/lib/definitions/ContactResource.d.ts +0 -21
- package/lib/definitions/CreateCallMonitoringGroupRequest.d.ts +4 -0
- package/lib/definitions/CreateCallMonitoringGroupRequestSite.d.ts +7 -0
- package/lib/definitions/CreateCallMonitoringGroupRequestSite.js +3 -0
- package/lib/definitions/CreateCallMonitoringGroupRequestSite.js.map +1 -0
- package/lib/definitions/DefaultUserRole.d.ts +4 -0
- package/lib/definitions/DeviceResource.d.ts +4 -0
- package/lib/definitions/ExtensionCreationRequest.d.ts +5 -0
- package/lib/definitions/ExtensionRegionalSettingRequest.d.ts +5 -0
- package/lib/definitions/GetMessageInfoResponse.d.ts +4 -0
- package/lib/definitions/GetRecordingInsightsParameters.d.ts +10 -0
- package/lib/definitions/GetRecordingInsightsParameters.js +3 -0
- package/lib/definitions/GetRecordingInsightsParameters.js.map +1 -0
- package/lib/definitions/GetTokenRequest.d.ts +1 -1
- package/lib/definitions/HighlightsInsightUnit.d.ts +29 -0
- package/lib/definitions/{CallSessionStatusInfo.js → HighlightsInsightUnit.js} +1 -1
- package/lib/definitions/HighlightsInsightUnit.js.map +1 -0
- package/lib/definitions/InternalDeliveryMode.d.ts +14 -0
- package/lib/definitions/{ContentBodyFormatted.js → InternalDeliveryMode.js} +1 -1
- package/lib/definitions/InternalDeliveryMode.js.map +1 -0
- package/lib/definitions/ListCallMonitoringGroupsParameters.d.ts +1 -1
- package/lib/definitions/ListDirectoryEntriesParameters.d.ts +2 -2
- package/lib/definitions/ListExtensionDevicesParameters.d.ts +2 -2
- package/lib/definitions/ListUserTemplatesParameters.d.ts +1 -1
- package/lib/definitions/NextStepsInsightUnit.d.ts +29 -0
- package/lib/definitions/NextStepsInsightUnit.js +3 -0
- package/lib/definitions/NextStepsInsightUnit.js.map +1 -0
- package/lib/definitions/NotificationDeliveryMode.d.ts +7 -1
- package/lib/definitions/PartySuperviseResponse.d.ts +3 -1
- package/lib/definitions/PeerInfo.d.ts +1 -1
- package/lib/definitions/RSConversationalInsightsUnit.d.ts +29 -0
- package/lib/definitions/RSConversationalInsightsUnit.js +3 -0
- package/lib/definitions/RSConversationalInsightsUnit.js.map +1 -0
- package/lib/definitions/ReadDirectoryEntryParameters.d.ts +2 -2
- package/lib/definitions/ReadMultichannelCallRecordingContentParameters.d.ts +14 -0
- package/lib/definitions/ReadMultichannelCallRecordingContentParameters.js +3 -0
- package/lib/definitions/ReadMultichannelCallRecordingContentParameters.js.map +1 -0
- package/lib/definitions/RecordingInsights.d.ts +78 -0
- package/lib/definitions/{CallQueueResource.js → RecordingInsights.js} +1 -1
- package/lib/definitions/RecordingInsights.js.map +1 -0
- package/lib/definitions/ScimUserSearchResponse.d.ts +2 -2
- package/lib/definitions/ScimUserShortInfo.d.ts +50 -0
- package/lib/definitions/ScimUserShortInfo.js +3 -0
- package/lib/definitions/ScimUserShortInfo.js.map +1 -0
- package/lib/definitions/SearchDirectoryEntriesParameters.d.ts +2 -2
- package/lib/definitions/{ServiceInfoPlan.d.ts → ServiceInfoPlanV2.d.ts} +2 -5
- package/lib/definitions/ServiceInfoPlanV2.js +3 -0
- package/lib/definitions/ServiceInfoPlanV2.js.map +1 -0
- package/lib/definitions/ServiceInfoV2.d.ts +2 -2
- package/lib/definitions/ShippingInfo.d.ts +1 -1
- package/lib/definitions/SipData.d.ts +20 -0
- package/lib/definitions/{ContentModel.js → SipData.js} +1 -1
- package/lib/definitions/SipData.js.map +1 -0
- package/lib/definitions/SummaryInsightUnit.d.ts +23 -0
- package/lib/definitions/SummaryInsightUnit.js +3 -0
- package/lib/definitions/SummaryInsightUnit.js.map +1 -0
- package/lib/definitions/SyncAccountCallLogParameters.d.ts +4 -1
- package/lib/definitions/SyncMessagesParameters.d.ts +3 -3
- package/lib/definitions/SyncUserCallLogParameters.d.ts +4 -3
- package/lib/definitions/TMMessageAttachmentInfo.d.ts +9 -0
- package/lib/definitions/TelephonySessionsEventPartyInfo.d.ts +48 -2
- package/lib/definitions/TemplateInfo.d.ts +5 -1
- package/lib/definitions/TranscriptInsightUnit.d.ts +32 -0
- package/lib/definitions/TranscriptInsightUnit.js +3 -0
- package/lib/definitions/TranscriptInsightUnit.js.map +1 -0
- package/lib/definitions/TransitionInfo.d.ts +13 -0
- package/lib/definitions/{IdentitiesList.js → TransitionInfo.js} +1 -1
- package/lib/definitions/TransitionInfo.js.map +1 -0
- package/lib/definitions/UiCallInfo.d.ts +13 -0
- package/lib/definitions/{IdentityModel.js → UiCallInfo.js} +1 -1
- package/lib/definitions/UiCallInfo.js.map +1 -0
- package/lib/definitions/UiCallInfoRecord.d.ts +12 -0
- package/lib/definitions/{GroupResource.js → UiCallInfoRecord.js} +1 -1
- package/lib/definitions/UiCallInfoRecord.js.map +1 -0
- package/lib/definitions/VoicemailOwnerResource.d.ts +14 -0
- package/lib/definitions/VoicemailOwnerResource.js +3 -0
- package/lib/definitions/VoicemailOwnerResource.js.map +1 -0
- package/lib/index.js +7 -3
- package/lib/index.js.map +1 -1
- package/lib/paths/Ai/Ringsense/V1/Public/Accounts/Domains/Records/Insights/index.d.ts +18 -0
- package/lib/paths/Ai/Ringsense/V1/Public/Accounts/Domains/Records/Insights/index.js +24 -0
- package/lib/paths/Ai/Ringsense/V1/Public/Accounts/Domains/Records/Insights/index.js.map +1 -0
- package/lib/paths/Ai/Ringsense/V1/Public/Accounts/Domains/Records/index.d.ts +11 -0
- package/lib/paths/Ai/Ringsense/V1/Public/Accounts/Domains/Records/index.js +24 -0
- package/lib/paths/Ai/Ringsense/V1/Public/Accounts/Domains/Records/index.js.map +1 -0
- package/lib/paths/Ai/Ringsense/V1/Public/Accounts/Domains/index.d.ts +11 -0
- package/lib/paths/Ai/Ringsense/V1/Public/Accounts/Domains/index.js +24 -0
- package/lib/paths/Ai/Ringsense/V1/Public/Accounts/Domains/index.js.map +1 -0
- package/lib/paths/Ai/Ringsense/V1/Public/Accounts/index.d.ts +11 -0
- package/lib/paths/Ai/Ringsense/V1/Public/Accounts/index.js +24 -0
- package/lib/paths/Ai/Ringsense/V1/Public/Accounts/index.js.map +1 -0
- package/lib/paths/Ai/Ringsense/V1/Public/index.d.ts +10 -0
- package/lib/paths/Ai/Ringsense/V1/Public/index.js +20 -0
- package/lib/paths/Ai/Ringsense/V1/Public/index.js.map +1 -0
- package/lib/paths/{Cx/SocialMessaging → Ai/Ringsense}/V1/index.d.ts +2 -4
- package/lib/paths/{Cx/SocialMessaging → Ai/Ringsense}/V1/index.js +3 -7
- package/lib/paths/Ai/Ringsense/V1/index.js.map +1 -0
- package/lib/paths/{Cx/SocialMessaging → Ai/Ringsense}/index.js +1 -1
- package/lib/paths/Ai/Ringsense/index.js.map +1 -0
- package/lib/paths/Ai/index.d.ts +2 -0
- package/lib/paths/Ai/index.js +4 -0
- package/lib/paths/Ai/index.js.map +1 -1
- package/lib/paths/Restapi/Account/CallLog/index.d.ts +3 -1
- package/lib/paths/Restapi/Account/CallLog/index.js +3 -1
- package/lib/paths/Restapi/Account/CallLog/index.js.map +1 -1
- package/lib/paths/Restapi/Account/Extension/AddressBook/Contact/index.d.ts +3 -3
- package/lib/paths/Restapi/Account/Extension/AddressBook/Contact/index.js +3 -3
- package/lib/paths/Restapi/Account/Extension/CallerBlocking/PhoneNumbers/index.d.ts +5 -3
- package/lib/paths/Restapi/Account/Extension/CallerBlocking/PhoneNumbers/index.js +5 -3
- package/lib/paths/Restapi/Account/Extension/CallerBlocking/PhoneNumbers/index.js.map +1 -1
- package/lib/paths/Restapi/Account/Extension/Device/index.d.ts +2 -2
- package/lib/paths/Restapi/Account/Extension/Device/index.js +2 -2
- package/lib/paths/Restapi/Account/Extension/MessageStore/index.d.ts +12 -13
- package/lib/paths/Restapi/Account/Extension/MessageStore/index.js +12 -13
- package/lib/paths/Restapi/Account/Extension/MessageStore/index.js.map +1 -1
- package/lib/paths/Restapi/Account/Extension/Presence/index.d.ts +1 -1
- package/lib/paths/Restapi/Account/Extension/Presence/index.js +1 -1
- package/lib/paths/Restapi/Account/PhoneNumber/index.d.ts +1 -1
- package/lib/paths/Restapi/Account/PhoneNumber/index.js +1 -1
- package/lib/paths/Restapi/Account/Telephony/Metadata/MultichannelRecordings/Content/index.d.ts +20 -0
- package/lib/paths/Restapi/Account/Telephony/Metadata/MultichannelRecordings/Content/index.js +27 -0
- package/lib/paths/Restapi/Account/Telephony/Metadata/MultichannelRecordings/Content/index.js.map +1 -0
- package/lib/paths/Restapi/Account/Telephony/Metadata/MultichannelRecordings/index.d.ts +11 -0
- package/lib/paths/Restapi/Account/Telephony/Metadata/MultichannelRecordings/index.js +24 -0
- package/lib/paths/Restapi/Account/Telephony/Metadata/MultichannelRecordings/index.js.map +1 -0
- package/lib/paths/Restapi/Account/Telephony/Metadata/index.d.ts +10 -0
- package/lib/paths/Restapi/Account/Telephony/Metadata/index.js +20 -0
- package/lib/paths/Restapi/Account/Telephony/Metadata/index.js.map +1 -0
- package/lib/paths/Restapi/Account/Telephony/Sessions/Parties/Recordings/index.d.ts +3 -1
- package/lib/paths/Restapi/Account/Telephony/Sessions/Parties/Recordings/index.js +3 -1
- package/lib/paths/Restapi/Account/Telephony/Sessions/Parties/Recordings/index.js.map +1 -1
- package/lib/paths/Restapi/Account/Telephony/index.d.ts +2 -0
- package/lib/paths/Restapi/Account/Telephony/index.js +4 -0
- package/lib/paths/Restapi/Account/Telephony/index.js.map +1 -1
- package/lib/paths/TeamMessaging/V1/Persons/index.d.ts +3 -1
- package/lib/paths/TeamMessaging/V1/Persons/index.js +3 -1
- package/lib/paths/TeamMessaging/V1/Persons/index.js.map +1 -1
- package/package.json +6 -6
- package/src/Rest.ts +31 -19
- package/src/definitions/AIInsights.ts +34 -0
- package/src/definitions/AIScoreInsightUnit.ts +10 -0
- package/src/definitions/AccountPresenceEventBody.ts +6 -1
- package/src/definitions/BaseCallLogRecord.ts +4 -5
- package/src/definitions/BaseTokenRequest.ts +1 -1
- package/src/definitions/BatchProvisionUsersRequestItem.ts +0 -7
- package/src/definitions/BatchProvisionUsersRequestItemContact.ts +6 -0
- package/src/definitions/BulletedSummaryInsightUnit.ts +10 -0
- package/src/definitions/CallLogRecord.ts +4 -5
- package/src/definitions/CallLogRecordLegInfo.ts +7 -6
- package/src/definitions/CallMonitoringGroup.ts +6 -0
- package/src/definitions/CallMonitoringGroupSite.ts +13 -0
- package/src/definitions/CallStatusInfo.ts +22 -6
- package/src/definitions/ContactResource.ts +0 -26
- package/src/definitions/CreateCallMonitoringGroupRequest.ts +6 -0
- package/src/definitions/CreateCallMonitoringGroupRequestSite.ts +8 -0
- package/src/definitions/DefaultUserRole.ts +5 -0
- package/src/definitions/DeviceResource.ts +5 -0
- package/src/definitions/ExtensionCreationRequest.ts +6 -0
- package/src/definitions/ExtensionRegionalSettingRequest.ts +5 -0
- package/src/definitions/GetMessageInfoResponse.ts +5 -0
- package/src/definitions/GetRecordingInsightsParameters.ts +11 -0
- package/src/definitions/GetTokenRequest.ts +1 -1
- package/src/definitions/HighlightsInsightUnit.ts +33 -0
- package/src/definitions/InternalDeliveryMode.ts +16 -0
- package/src/definitions/ListCallMonitoringGroupsParameters.ts +1 -1
- package/src/definitions/ListDirectoryEntriesParameters.ts +2 -2
- package/src/definitions/ListExtensionDevicesParameters.ts +2 -2
- package/src/definitions/ListUserTemplatesParameters.ts +1 -1
- package/src/definitions/NextStepsInsightUnit.ts +33 -0
- package/src/definitions/NotificationDeliveryMode.ts +8 -1
- package/src/definitions/PartySuperviseResponse.ts +3 -1
- package/src/definitions/PeerInfo.ts +1 -1
- package/src/definitions/RSConversationalInsightsUnit.ts +33 -0
- package/src/definitions/ReadDirectoryEntryParameters.ts +2 -2
- package/src/definitions/ReadMultichannelCallRecordingContentParameters.ts +16 -0
- package/src/definitions/RecordingInsights.ts +92 -0
- package/src/definitions/ScimUserSearchResponse.ts +2 -2
- package/src/definitions/ScimUserShortInfo.ts +62 -0
- package/src/definitions/SearchDirectoryEntriesParameters.ts +2 -2
- package/src/definitions/{ServiceInfoPlan.ts → ServiceInfoPlanV2.ts} +2 -6
- package/src/definitions/ServiceInfoV2.ts +2 -2
- package/src/definitions/ShippingInfo.ts +1 -1
- package/src/definitions/SipData.ts +23 -0
- package/src/definitions/SummaryInsightUnit.ts +26 -0
- package/src/definitions/SyncAccountCallLogParameters.ts +4 -1
- package/src/definitions/SyncMessagesParameters.ts +3 -3
- package/src/definitions/SyncUserCallLogParameters.ts +4 -3
- package/src/definitions/TMMessageAttachmentInfo.ts +11 -0
- package/src/definitions/TelephonySessionsEventPartyInfo.ts +57 -2
- package/src/definitions/TemplateInfo.ts +6 -1
- package/src/definitions/TranscriptInsightUnit.ts +36 -0
- package/src/definitions/TransitionInfo.ts +16 -0
- package/src/definitions/UiCallInfo.ts +16 -0
- package/src/definitions/UiCallInfoRecord.ts +14 -0
- package/src/definitions/VoicemailOwnerResource.ts +16 -0
- package/src/index.ts +7 -3
- package/src/paths/Ai/Ringsense/V1/Public/Accounts/Domains/Records/Insights/index.ts +31 -0
- package/src/paths/Ai/Ringsense/V1/Public/Accounts/Domains/Records/index.ts +25 -0
- package/src/paths/Ai/Ringsense/V1/Public/Accounts/Domains/index.ts +25 -0
- package/src/paths/Ai/Ringsense/V1/Public/Accounts/index.ts +25 -0
- package/src/paths/Ai/Ringsense/V1/Public/index.ts +20 -0
- package/src/paths/{Cx/SocialMessaging → Ai/Ringsense}/V1/index.ts +3 -8
- package/src/paths/{Cx/SocialMessaging → Ai/Ringsense}/index.ts +1 -1
- package/src/paths/Ai/index.ts +5 -0
- package/src/paths/Restapi/Account/CallLog/index.ts +3 -1
- package/src/paths/Restapi/Account/Extension/AddressBook/Contact/index.ts +3 -3
- package/src/paths/Restapi/Account/Extension/CallerBlocking/PhoneNumbers/index.ts +5 -3
- package/src/paths/Restapi/Account/Extension/Device/index.ts +2 -2
- package/src/paths/Restapi/Account/Extension/MessageStore/index.ts +12 -13
- package/src/paths/Restapi/Account/Extension/Presence/index.ts +1 -1
- package/src/paths/Restapi/Account/PhoneNumber/index.ts +1 -1
- package/src/paths/Restapi/Account/Telephony/Metadata/MultichannelRecordings/Content/index.ts +33 -0
- package/src/paths/Restapi/Account/Telephony/Metadata/MultichannelRecordings/index.ts +25 -0
- package/src/paths/Restapi/Account/Telephony/Metadata/index.ts +20 -0
- package/src/paths/Restapi/Account/Telephony/Sessions/Parties/Recordings/index.ts +3 -1
- package/src/paths/Restapi/Account/Telephony/index.ts +5 -0
- package/src/paths/TeamMessaging/V1/Persons/index.ts +3 -1
- package/src/samples.md +4657 -4709
- package/lib/definitions/CallQueueResource.d.ts +0 -11
- package/lib/definitions/CallQueueResource.js.map +0 -1
- package/lib/definitions/CallSessionStatusInfo.d.ts +0 -20
- package/lib/definitions/CallSessionStatusInfo.js.map +0 -1
- package/lib/definitions/ContentBodyFormatted.d.ts +0 -12
- package/lib/definitions/ContentBodyFormatted.js.map +0 -1
- package/lib/definitions/ContentContextData.d.ts +0 -8
- package/lib/definitions/ContentContextData.js.map +0 -1
- package/lib/definitions/ContentList.d.ts +0 -13
- package/lib/definitions/ContentList.js.map +0 -1
- package/lib/definitions/ContentModel.d.ts +0 -218
- package/lib/definitions/ContentModel.js.map +0 -1
- package/lib/definitions/CostCenterResource.d.ts +0 -15
- package/lib/definitions/CostCenterResource.js +0 -3
- package/lib/definitions/CostCenterResource.js.map +0 -1
- package/lib/definitions/CreateSocialMessagingContentRequest.d.ts +0 -110
- package/lib/definitions/CreateSocialMessagingContentRequest.js +0 -3
- package/lib/definitions/CreateSocialMessagingContentRequest.js.map +0 -1
- package/lib/definitions/DirectoryRoleResource.d.ts +0 -16
- package/lib/definitions/DirectoryRoleResource.js +0 -3
- package/lib/definitions/DirectoryRoleResource.js.map +0 -1
- package/lib/definitions/GroupResource.d.ts +0 -11
- package/lib/definitions/GroupResource.js.map +0 -1
- package/lib/definitions/IdentitiesList.d.ts +0 -13
- package/lib/definitions/IdentitiesList.js.map +0 -1
- package/lib/definitions/IdentityExtraValues.d.ts +0 -6
- package/lib/definitions/IdentityExtraValues.js +0 -3
- package/lib/definitions/IdentityExtraValues.js.map +0 -1
- package/lib/definitions/IdentityModel.d.ts +0 -199
- package/lib/definitions/IdentityModel.js.map +0 -1
- package/lib/definitions/ListSocialMessagingContentsParameters.d.ts +0 -68
- package/lib/definitions/ListSocialMessagingContentsParameters.js +0 -3
- package/lib/definitions/ListSocialMessagingContentsParameters.js.map +0 -1
- package/lib/definitions/ListSocialMessagingIdentitiesParameters.d.ts +0 -47
- package/lib/definitions/ListSocialMessagingIdentitiesParameters.js +0 -3
- package/lib/definitions/ListSocialMessagingIdentitiesParameters.js.map +0 -1
- package/lib/definitions/ServiceInfoPlan.js +0 -3
- package/lib/definitions/ServiceInfoPlan.js.map +0 -1
- package/lib/definitions/SocMsgContentAttachment.d.ts +0 -77
- package/lib/definitions/SocMsgContentAttachment.js +0 -3
- package/lib/definitions/SocMsgContentAttachment.js.map +0 -1
- package/lib/paths/Cx/SocialMessaging/V1/Contents/index.d.ts +0 -65
- package/lib/paths/Cx/SocialMessaging/V1/Contents/index.js +0 -83
- package/lib/paths/Cx/SocialMessaging/V1/Contents/index.js.map +0 -1
- package/lib/paths/Cx/SocialMessaging/V1/Identities/index.d.ts +0 -34
- package/lib/paths/Cx/SocialMessaging/V1/Identities/index.js +0 -50
- package/lib/paths/Cx/SocialMessaging/V1/Identities/index.js.map +0 -1
- package/lib/paths/Cx/SocialMessaging/V1/index.js.map +0 -1
- package/lib/paths/Cx/SocialMessaging/index.js.map +0 -1
- package/lib/paths/Cx/index.d.ts +0 -9
- package/lib/paths/Cx/index.js +0 -19
- package/lib/paths/Cx/index.js.map +0 -1
- package/src/definitions/CallQueueResource.ts +0 -13
- package/src/definitions/CallSessionStatusInfo.ts +0 -26
- package/src/definitions/ContentBodyFormatted.ts +0 -14
- package/src/definitions/ContentContextData.ts +0 -9
- package/src/definitions/ContentList.ts +0 -16
- package/src/definitions/ContentModel.ts +0 -299
- package/src/definitions/CostCenterResource.ts +0 -18
- package/src/definitions/CreateSocialMessagingContentRequest.ts +0 -126
- package/src/definitions/DirectoryRoleResource.ts +0 -20
- package/src/definitions/GroupResource.ts +0 -13
- package/src/definitions/IdentitiesList.ts +0 -16
- package/src/definitions/IdentityExtraValues.ts +0 -7
- package/src/definitions/IdentityModel.ts +0 -248
- package/src/definitions/ListSocialMessagingContentsParameters.ts +0 -85
- package/src/definitions/ListSocialMessagingIdentitiesParameters.ts +0 -61
- package/src/definitions/SocMsgContentAttachment.ts +0 -86
- package/src/paths/Cx/SocialMessaging/V1/Contents/index.ts +0 -101
- package/src/paths/Cx/SocialMessaging/V1/Identities/index.ts +0 -58
- package/src/paths/Cx/index.ts +0 -18
- /package/lib/paths/{Cx/SocialMessaging → Ai/Ringsense}/index.d.ts +0 -0
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import type AIInsights from './AIInsights';
|
|
2
|
+
|
|
3
|
+
interface RecordingInsights {
|
|
4
|
+
/**
|
|
5
|
+
* Title of the call
|
|
6
|
+
* Required
|
|
7
|
+
* Example: Call from 1234567890 to 0987654321
|
|
8
|
+
*/
|
|
9
|
+
title?: string;
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* URI of the call recording
|
|
13
|
+
* Example: https://ringsense.ringcentral.com/calls/2e67979e-ff82-4171-ae30-20c0c1f19b27
|
|
14
|
+
*/
|
|
15
|
+
rsRecordUri?: string;
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* Source rc application of the recording
|
|
19
|
+
* Required
|
|
20
|
+
* Example: pbx
|
|
21
|
+
*/
|
|
22
|
+
domain?: 'pbx';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* Recording ID of the domain
|
|
26
|
+
* Required
|
|
27
|
+
* Example: 4b57_384543
|
|
28
|
+
*/
|
|
29
|
+
sourceRecordId?: string;
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* Session ID of the domain
|
|
33
|
+
* Required
|
|
34
|
+
* Example: cbac2b78-6f74-4257-8167-dff864de2263!us-10-dca09@us-10
|
|
35
|
+
*/
|
|
36
|
+
sourceSessionId?: string;
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Optional call direction in case of phone call recording
|
|
40
|
+
* Example: Inbound
|
|
41
|
+
*/
|
|
42
|
+
callDirection?: 'Inbound' | 'Outbound';
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* Extension id of the call recording owner
|
|
46
|
+
* Required
|
|
47
|
+
* Example: 123456789
|
|
48
|
+
*/
|
|
49
|
+
ownerExtensionId?: string;
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* Duration of the call recording (in ms)
|
|
53
|
+
* Required
|
|
54
|
+
* Format: int32
|
|
55
|
+
* Example: 112000
|
|
56
|
+
*/
|
|
57
|
+
recordingDurationMs?: number;
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* Start time of the call recording
|
|
61
|
+
* Required
|
|
62
|
+
* Format: date-time
|
|
63
|
+
*/
|
|
64
|
+
recordingStartTime?: string;
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* Creation time of the call insights
|
|
68
|
+
* Required
|
|
69
|
+
* Format: date-time
|
|
70
|
+
*/
|
|
71
|
+
creationTime?: string;
|
|
72
|
+
|
|
73
|
+
/**
|
|
74
|
+
* Last modified time of the call insights
|
|
75
|
+
* Required
|
|
76
|
+
* Format: date-time
|
|
77
|
+
*/
|
|
78
|
+
lastModifiedTime?: string;
|
|
79
|
+
|
|
80
|
+
/**
|
|
81
|
+
* List of the participants in the call
|
|
82
|
+
* Required
|
|
83
|
+
*/
|
|
84
|
+
speakerInfo?: object[];
|
|
85
|
+
|
|
86
|
+
/**
|
|
87
|
+
* Required
|
|
88
|
+
*/
|
|
89
|
+
insights?: AIInsights;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
export default RecordingInsights;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import type
|
|
1
|
+
import type ScimUserShortInfo from './ScimUserShortInfo';
|
|
2
2
|
|
|
3
3
|
interface ScimUserSearchResponse {
|
|
4
4
|
/**
|
|
5
5
|
* User list
|
|
6
6
|
*/
|
|
7
|
-
Resources?:
|
|
7
|
+
Resources?: ScimUserShortInfo[];
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* Format: int64
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import type ScimEmail from './ScimEmail';
|
|
2
|
+
import type ScimName from './ScimName';
|
|
3
|
+
import type ScimPhoto from './ScimPhoto';
|
|
4
|
+
import type ScimEnterpriseUser from './ScimEnterpriseUser';
|
|
5
|
+
import type ScimMeta from './ScimMeta';
|
|
6
|
+
|
|
7
|
+
interface ScimUserShortInfo {
|
|
8
|
+
/**
|
|
9
|
+
* User status
|
|
10
|
+
*/
|
|
11
|
+
active?: boolean;
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* Required
|
|
15
|
+
*/
|
|
16
|
+
emails?: ScimEmail[];
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* External unique resource ID defined by provisioning client
|
|
20
|
+
*/
|
|
21
|
+
externalId?: string;
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* Unique resource ID defined by RingCentral
|
|
25
|
+
*/
|
|
26
|
+
id?: string;
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* Required
|
|
30
|
+
*/
|
|
31
|
+
name?: ScimName;
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
*/
|
|
35
|
+
photos?: ScimPhoto[];
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* Required
|
|
39
|
+
*/
|
|
40
|
+
schemas?: 'urn:ietf:params:scim:schemas:core:2.0:User'[];
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* User title
|
|
44
|
+
*/
|
|
45
|
+
title?: string;
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
*/
|
|
49
|
+
'urn:ietf:params:scim:schemas:extension:enterprise:2.0:User'?: ScimEnterpriseUser;
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* MUST be same as work type email address
|
|
53
|
+
* Required
|
|
54
|
+
*/
|
|
55
|
+
userName?: string;
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
*/
|
|
59
|
+
meta?: ScimMeta;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
export default ScimUserShortInfo;
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
*/
|
|
4
4
|
interface SearchDirectoryEntriesParameters {
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
7
|
-
*
|
|
6
|
+
* Allows to make lookups across a whole directory skipping a filtering logic of Cross-Site access management feature.
|
|
7
|
+
* Default: true
|
|
8
8
|
*/
|
|
9
9
|
accessibleSitesOnly?: boolean;
|
|
10
10
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Information on account service plan
|
|
3
3
|
*/
|
|
4
|
-
interface
|
|
4
|
+
interface ServiceInfoPlanV2 {
|
|
5
5
|
/**
|
|
6
6
|
* Internal identifier of a service plan
|
|
7
7
|
*/
|
|
@@ -11,10 +11,6 @@ interface ServiceInfoPlan {
|
|
|
11
11
|
* Name of a service plan
|
|
12
12
|
*/
|
|
13
13
|
name?: string;
|
|
14
|
-
|
|
15
|
-
/**
|
|
16
|
-
*/
|
|
17
|
-
freemiumProductType?: 'Freyja' | 'Phoenix';
|
|
18
14
|
}
|
|
19
15
|
|
|
20
|
-
export default
|
|
16
|
+
export default ServiceInfoPlanV2;
|
|
@@ -2,7 +2,7 @@ import type ServiceInfoPackage from './ServiceInfoPackage';
|
|
|
2
2
|
import type ServiceInfoBrand from './ServiceInfoBrand';
|
|
3
3
|
import type ServiceInfoContractedCountryId from './ServiceInfoContractedCountryId';
|
|
4
4
|
import type ServiceInfoUBrand from './ServiceInfoUBrand';
|
|
5
|
-
import type
|
|
5
|
+
import type ServiceInfoPlanV2 from './ServiceInfoPlanV2';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* Service Plan information (billing package, brand, etc.)
|
|
@@ -31,7 +31,7 @@ interface ServiceInfoV2 {
|
|
|
31
31
|
|
|
32
32
|
/**
|
|
33
33
|
*/
|
|
34
|
-
servicePlan?:
|
|
34
|
+
servicePlan?: ServiceInfoPlanV2;
|
|
35
35
|
}
|
|
36
36
|
|
|
37
37
|
export default ServiceInfoV2;
|
|
@@ -14,7 +14,7 @@ interface ShippingInfo {
|
|
|
14
14
|
* Finally, it is changed to `Shipped` which means that the distributor has shipped the device.
|
|
15
15
|
* Example: Shipped
|
|
16
16
|
*/
|
|
17
|
-
status?: 'Initial' | 'Accepted' | 'Shipped';
|
|
17
|
+
status?: 'Initial' | 'Accepted' | 'Shipped' | "Won't ship";
|
|
18
18
|
|
|
19
19
|
/**
|
|
20
20
|
* Shipping carrier name. Appears only if the device status is 'Shipped'
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* SIP (Session Initiation Protocol) information.
|
|
3
|
+
* Returned if query parameter sipData is set to 'True'
|
|
4
|
+
*
|
|
5
|
+
*/
|
|
6
|
+
interface SipData {
|
|
7
|
+
/**
|
|
8
|
+
* Recipient's data
|
|
9
|
+
*/
|
|
10
|
+
toTag?: string;
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* Sender's data
|
|
14
|
+
*/
|
|
15
|
+
fromTag?: string;
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* SIP call identifier
|
|
19
|
+
*/
|
|
20
|
+
callId?: string;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
export default SipData;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
interface SummaryInsightUnit {
|
|
2
|
+
/**
|
|
3
|
+
* Value of the summary
|
|
4
|
+
* Required
|
|
5
|
+
* Example: conversational insights text
|
|
6
|
+
*/
|
|
7
|
+
value?: string;
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Start time of the insight (in sec)
|
|
11
|
+
* Required
|
|
12
|
+
* Format: float
|
|
13
|
+
* Example: 1.2
|
|
14
|
+
*/
|
|
15
|
+
start?: number;
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* End time of the insight (in sec)
|
|
19
|
+
* Required
|
|
20
|
+
* Format: float
|
|
21
|
+
* Example: 4.2
|
|
22
|
+
*/
|
|
23
|
+
end?: number;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
export default SummaryInsightUnit;
|
|
@@ -14,7 +14,10 @@ interface SyncAccountCallLogParameters {
|
|
|
14
14
|
syncToken?: string;
|
|
15
15
|
|
|
16
16
|
/**
|
|
17
|
-
*
|
|
17
|
+
* Starting date for the resulting records in ISO 8601 format, including
|
|
18
|
+
* timezone, for example *2016-03-10T18:07:52.534Z*. The range is limited to the last 30 days from the current moment.
|
|
19
|
+
* If not specified, the default value is a log history date (date of account creation/call log deletion), and
|
|
20
|
+
* no time range limitation applied
|
|
18
21
|
* Format: date-time
|
|
19
22
|
*/
|
|
20
23
|
dateFrom?: string;
|
|
@@ -63,9 +63,9 @@ interface SyncMessagesParameters {
|
|
|
63
63
|
syncType?: 'FSync' | 'ISync';
|
|
64
64
|
|
|
65
65
|
/**
|
|
66
|
-
*
|
|
67
|
-
*
|
|
68
|
-
*
|
|
66
|
+
* Filters voicemail messages based on the owner extension. Supported if the 'SharedVoicemail'
|
|
67
|
+
* feature is enabled.
|
|
68
|
+
* Default: Personal
|
|
69
69
|
*/
|
|
70
70
|
voicemailOwner?: string[];
|
|
71
71
|
}
|
|
@@ -14,9 +14,10 @@ interface SyncUserCallLogParameters {
|
|
|
14
14
|
syncToken?: string;
|
|
15
15
|
|
|
16
16
|
/**
|
|
17
|
-
*
|
|
18
|
-
* timezone, for example 2016-03-10T18:07:52.534Z
|
|
19
|
-
*
|
|
17
|
+
* Starting date for the resulting records in ISO 8601 format, including
|
|
18
|
+
* timezone, for example *2016-03-10T18:07:52.534Z*. The range is limited to the last 30 days from the current moment.
|
|
19
|
+
* If not specified, the default value is a log history date (date of account creation/call log deletion), and
|
|
20
|
+
* no time range limitation applied
|
|
20
21
|
* Format: date-time
|
|
21
22
|
*/
|
|
22
23
|
dateFrom?: string;
|
|
@@ -15,6 +15,17 @@ interface TMMessageAttachmentInfo {
|
|
|
15
15
|
*/
|
|
16
16
|
type?: 'Card' | 'Event' | 'File' | 'Note' | 'Task';
|
|
17
17
|
|
|
18
|
+
/**
|
|
19
|
+
* Link to a binary content
|
|
20
|
+
* Format: uri
|
|
21
|
+
*/
|
|
22
|
+
contentUri?: string;
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* Name of a file
|
|
26
|
+
*/
|
|
27
|
+
name?: string;
|
|
28
|
+
|
|
18
29
|
/**
|
|
19
30
|
* A string of default text that will be rendered in the case that the client does not support Interactive Messages
|
|
20
31
|
*/
|
|
@@ -1,20 +1,28 @@
|
|
|
1
1
|
import type CallPartyInfo from './CallPartyInfo';
|
|
2
|
-
import type
|
|
2
|
+
import type RecordingInfo from './RecordingInfo';
|
|
3
|
+
import type CallStatusInfo from './CallStatusInfo';
|
|
4
|
+
import type ParkInfo from './ParkInfo';
|
|
5
|
+
import type SipData from './SipData';
|
|
6
|
+
import type UiCallInfo from './UiCallInfo';
|
|
3
7
|
|
|
4
8
|
interface TelephonySessionsEventPartyInfo {
|
|
5
9
|
/**
|
|
10
|
+
* Internal identifier of an account
|
|
6
11
|
*/
|
|
7
12
|
accountId?: string;
|
|
8
13
|
|
|
9
14
|
/**
|
|
15
|
+
* Internal identifier of an extension
|
|
10
16
|
*/
|
|
11
17
|
extensionId?: string;
|
|
12
18
|
|
|
13
19
|
/**
|
|
20
|
+
* Internal identifier of a party
|
|
14
21
|
*/
|
|
15
22
|
id?: string;
|
|
16
23
|
|
|
17
24
|
/**
|
|
25
|
+
* Call direction
|
|
18
26
|
*/
|
|
19
27
|
direction?: 'Inbound' | 'Outbound';
|
|
20
28
|
|
|
@@ -28,7 +36,54 @@ interface TelephonySessionsEventPartyInfo {
|
|
|
28
36
|
|
|
29
37
|
/**
|
|
30
38
|
*/
|
|
31
|
-
|
|
39
|
+
recordings?: RecordingInfo[];
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
*/
|
|
43
|
+
status?: CallStatusInfo;
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
*/
|
|
47
|
+
park?: ParkInfo;
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* Specifies if it's a queue call
|
|
51
|
+
*/
|
|
52
|
+
queueCall?: boolean;
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* Specifies if a call was missed by the party
|
|
56
|
+
*/
|
|
57
|
+
missedCall?: boolean;
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* If `true` then the party is not connected to a session voice
|
|
61
|
+
* conference, `false` means the party is connected to other parties in a
|
|
62
|
+
* session
|
|
63
|
+
*/
|
|
64
|
+
standAlone?: boolean;
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* Specifies if a call participant is muted or not. **Note:**
|
|
68
|
+
* If a call is also controlled via Hard phone or RingCentral App (not only
|
|
69
|
+
* through the API by calling call control methods) then it cannot be fully
|
|
70
|
+
* muted/unmuted via API only, in this case the action should be duplicated
|
|
71
|
+
* via Hard phone/RC App interfaces
|
|
72
|
+
*/
|
|
73
|
+
muted?: boolean;
|
|
74
|
+
|
|
75
|
+
/**
|
|
76
|
+
* Defines party role in Server Side Conference
|
|
77
|
+
*/
|
|
78
|
+
conferenceRole?: 'Host' | 'Participant';
|
|
79
|
+
|
|
80
|
+
/**
|
|
81
|
+
*/
|
|
82
|
+
sipData?: SipData;
|
|
83
|
+
|
|
84
|
+
/**
|
|
85
|
+
*/
|
|
86
|
+
uiCallInfo?: UiCallInfo;
|
|
32
87
|
}
|
|
33
88
|
|
|
34
89
|
export default TelephonySessionsEventPartyInfo;
|
|
@@ -11,8 +11,13 @@ interface TemplateInfo {
|
|
|
11
11
|
id?: string;
|
|
12
12
|
|
|
13
13
|
/**
|
|
14
|
+
* Description of a template
|
|
14
15
|
*/
|
|
15
|
-
|
|
16
|
+
description?: string;
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*/
|
|
20
|
+
type?: 'UserSettings' | 'CallHandling' | 'LimitedExtensions';
|
|
16
21
|
|
|
17
22
|
/**
|
|
18
23
|
* Name of a template
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* One utterance of a call. Each utterance is a speakerId, text, start and end time
|
|
3
|
+
*/
|
|
4
|
+
interface TranscriptInsightUnit {
|
|
5
|
+
/**
|
|
6
|
+
* Participant ID
|
|
7
|
+
* Required
|
|
8
|
+
* Example: p-32423
|
|
9
|
+
*/
|
|
10
|
+
speakerId?: string;
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* Text of the utterance
|
|
14
|
+
* Required
|
|
15
|
+
* Example: Hello user!
|
|
16
|
+
*/
|
|
17
|
+
text?: string;
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* Start time of the utterance (in sec)
|
|
21
|
+
* Required
|
|
22
|
+
* Format: float
|
|
23
|
+
* Example: 1.2
|
|
24
|
+
*/
|
|
25
|
+
start?: number;
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* End time of the utterance (in sec)
|
|
29
|
+
* Required
|
|
30
|
+
* Format: float
|
|
31
|
+
* Example: 4.2
|
|
32
|
+
*/
|
|
33
|
+
end?: number;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
export default TranscriptInsightUnit;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type ExtensionRegionalSettingRequest from './ExtensionRegionalSettingRequest';
|
|
2
|
+
|
|
3
|
+
interface TransitionInfo {
|
|
4
|
+
/**
|
|
5
|
+
* Specifies if a welcome/activation email is sent to the new users
|
|
6
|
+
* (with the extension status transition from 'Unassigned' to 'NotActivated/Disabled')
|
|
7
|
+
* Default: true
|
|
8
|
+
*/
|
|
9
|
+
sendWelcomeEmail?: boolean;
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
*/
|
|
13
|
+
regionalSettings?: ExtensionRegionalSettingRequest;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export default TransitionInfo;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type UiCallInfoRecord from './UiCallInfoRecord';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Call information on user interface
|
|
5
|
+
*/
|
|
6
|
+
interface UiCallInfo {
|
|
7
|
+
/**
|
|
8
|
+
*/
|
|
9
|
+
primary?: UiCallInfoRecord;
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
*/
|
|
13
|
+
additional?: UiCallInfoRecord;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export default UiCallInfo;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Voicemail owner information. Supported for shared voicemail messages only
|
|
3
|
+
*/
|
|
4
|
+
interface VoicemailOwnerResource {
|
|
5
|
+
/**
|
|
6
|
+
* Name of a voicemail owner
|
|
7
|
+
*/
|
|
8
|
+
name?: string;
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* Internal identifier of an extension
|
|
12
|
+
*/
|
|
13
|
+
extensionId?: string;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export default VoicemailOwnerResource;
|
package/src/index.ts
CHANGED
|
@@ -208,12 +208,16 @@ class RingCentral implements RingCentralInterface {
|
|
|
208
208
|
// nothing to revoke
|
|
209
209
|
return;
|
|
210
210
|
}
|
|
211
|
-
if (!this.rest.clientId
|
|
212
|
-
// no clientId
|
|
211
|
+
if (!this.rest.clientId) {
|
|
212
|
+
// if no clientId, the token is from external source, cannot revoke
|
|
213
|
+
// no clientSecret is fine, since PKCE doesn't have clientSecret
|
|
213
214
|
return;
|
|
214
215
|
}
|
|
215
216
|
const temp = tokenToRevoke ?? this.token?.access_token ?? this.token?.refresh_token;
|
|
216
|
-
await this.restapi(null)
|
|
217
|
+
await this.restapi(null)
|
|
218
|
+
.oauth()
|
|
219
|
+
.revoke()
|
|
220
|
+
.post({ token: temp, client_id: this.rest.clientId } as any); // todo: spec doesn't allow client_id
|
|
217
221
|
this.token = undefined;
|
|
218
222
|
}
|
|
219
223
|
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import type RecordingInsights from '../../../../../../../../../definitions/RecordingInsights';
|
|
2
|
+
import type GetRecordingInsightsParameters from '../../../../../../../../../definitions/GetRecordingInsightsParameters';
|
|
3
|
+
import type { RingCentralInterface, ParentInterface, RestRequestConfig } from '../../../../../../../../../types';
|
|
4
|
+
|
|
5
|
+
class Index {
|
|
6
|
+
public rc: RingCentralInterface;
|
|
7
|
+
public _parent: ParentInterface;
|
|
8
|
+
|
|
9
|
+
public constructor(_parent: ParentInterface) {
|
|
10
|
+
this._parent = _parent;
|
|
11
|
+
this.rc = _parent.rc;
|
|
12
|
+
}
|
|
13
|
+
public path(): string {
|
|
14
|
+
return `${this._parent.path()}/insights`;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Returns the insights of a call recording
|
|
18
|
+
* HTTP Method: get
|
|
19
|
+
* Endpoint: /ai/ringsense/v1/public/accounts/{accountId}/domains/{domain}/records/{sourceRecordId}/insights
|
|
20
|
+
* Rate Limit Group: Light
|
|
21
|
+
* App Permission: RingSense
|
|
22
|
+
*/
|
|
23
|
+
public async get(
|
|
24
|
+
queryParams?: GetRecordingInsightsParameters,
|
|
25
|
+
restRequestConfig?: RestRequestConfig,
|
|
26
|
+
): Promise<RecordingInsights> {
|
|
27
|
+
const r = await this.rc.get<RecordingInsights>(this.path(), queryParams, restRequestConfig);
|
|
28
|
+
return r.data;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
export default Index;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import Insights from './Insights';
|
|
2
|
+
import type { RingCentralInterface, ParentInterface } from '../../../../../../../../types';
|
|
3
|
+
|
|
4
|
+
class Index {
|
|
5
|
+
public rc: RingCentralInterface;
|
|
6
|
+
public _parent: ParentInterface;
|
|
7
|
+
public sourceRecordId: string | null;
|
|
8
|
+
|
|
9
|
+
public constructor(_parent: ParentInterface, sourceRecordId: string | null = null) {
|
|
10
|
+
this._parent = _parent;
|
|
11
|
+
this.rc = _parent.rc;
|
|
12
|
+
this.sourceRecordId = sourceRecordId;
|
|
13
|
+
}
|
|
14
|
+
public path(withParameter = true): string {
|
|
15
|
+
if (withParameter && this.sourceRecordId !== null) {
|
|
16
|
+
return `${this._parent.path()}/records/${this.sourceRecordId}`;
|
|
17
|
+
}
|
|
18
|
+
return `${this._parent.path()}/records`;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
public insights(): Insights {
|
|
22
|
+
return new Insights(this);
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
export default Index;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import Records from './Records';
|
|
2
|
+
import type { RingCentralInterface, ParentInterface } from '../../../../../../../types';
|
|
3
|
+
|
|
4
|
+
class Index {
|
|
5
|
+
public rc: RingCentralInterface;
|
|
6
|
+
public _parent: ParentInterface;
|
|
7
|
+
public domain: string | null;
|
|
8
|
+
|
|
9
|
+
public constructor(_parent: ParentInterface, domain: string | null = null) {
|
|
10
|
+
this._parent = _parent;
|
|
11
|
+
this.rc = _parent.rc;
|
|
12
|
+
this.domain = domain;
|
|
13
|
+
}
|
|
14
|
+
public path(withParameter = true): string {
|
|
15
|
+
if (withParameter && this.domain !== null) {
|
|
16
|
+
return `${this._parent.path()}/domains/${this.domain}`;
|
|
17
|
+
}
|
|
18
|
+
return `${this._parent.path()}/domains`;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
public records(sourceRecordId: string | null = null): Records {
|
|
22
|
+
return new Records(this, sourceRecordId);
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
export default Index;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import Domains from './Domains';
|
|
2
|
+
import type { RingCentralInterface, ParentInterface } from '../../../../../../types';
|
|
3
|
+
|
|
4
|
+
class Index {
|
|
5
|
+
public rc: RingCentralInterface;
|
|
6
|
+
public _parent: ParentInterface;
|
|
7
|
+
public accountId: string | null;
|
|
8
|
+
|
|
9
|
+
public constructor(_parent: ParentInterface, accountId: string | null = null) {
|
|
10
|
+
this._parent = _parent;
|
|
11
|
+
this.rc = _parent.rc;
|
|
12
|
+
this.accountId = accountId;
|
|
13
|
+
}
|
|
14
|
+
public path(withParameter = true): string {
|
|
15
|
+
if (withParameter && this.accountId !== null) {
|
|
16
|
+
return `${this._parent.path()}/accounts/${this.accountId}`;
|
|
17
|
+
}
|
|
18
|
+
return `${this._parent.path()}/accounts`;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
public domains(domain: string | null = null): Domains {
|
|
22
|
+
return new Domains(this, domain);
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
export default Index;
|