@rc-ex/core 1.8.1 → 1.8.3
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/FormData.cjs +1 -1
- package/dist/FormData.mjs +1 -1
- package/dist/Rest.cjs +1 -1
- package/dist/Rest.mjs +1 -1
- package/dist/definitions/AccountInfo.d.cts +4 -0
- package/dist/definitions/AccountInfo.d.mts +4 -0
- package/dist/definitions/AssignMessageThreadRequest.d.cts +15 -0
- package/dist/definitions/AssignMessageThreadRequest.d.mts +15 -0
- package/dist/definitions/AssignMessageThreadRequestAssignee.d.cts +10 -0
- package/dist/definitions/AssignMessageThreadRequestAssignee.d.mts +10 -0
- package/dist/definitions/BaseCallLogRecord.d.cts +1 -1
- package/dist/definitions/BaseCallLogRecord.d.mts +1 -1
- package/dist/definitions/BulkAddDevicesItem.d.cts +0 -5
- package/dist/definitions/BulkAddDevicesItem.d.mts +0 -5
- package/dist/definitions/BulkAssignSmsRecipientsRequest.d.cts +20 -0
- package/dist/definitions/BulkAssignSmsRecipientsRequest.d.mts +20 -0
- package/dist/definitions/CallLogRecord.d.cts +1 -1
- package/dist/definitions/CallLogRecord.d.mts +1 -1
- package/dist/definitions/CallLogRecordLegInfo.d.cts +2 -2
- package/dist/definitions/CallLogRecordLegInfo.d.mts +2 -2
- package/dist/definitions/CallRecordingGreetingResource.d.cts +7 -4
- package/dist/definitions/CallRecordingGreetingResource.d.mts +7 -4
- package/dist/definitions/ConsentHistoryRecordList.d.cts +19 -0
- package/dist/definitions/ConsentHistoryRecordList.d.mts +19 -0
- package/dist/definitions/ContactInfoCreationRequest.d.cts +0 -1
- package/dist/definitions/ContactInfoCreationRequest.d.mts +0 -1
- package/dist/definitions/CreateAnsweringRuleForwardingNumberInfo.d.cts +2 -2
- package/dist/definitions/CreateAnsweringRuleForwardingNumberInfo.d.mts +2 -2
- package/dist/definitions/CreateDeviceRegistrationResponse.d.cts +34 -0
- package/dist/definitions/CreateDeviceRegistrationResponse.d.mts +34 -0
- package/dist/definitions/CreateForwardingNumberRequest.d.cts +2 -2
- package/dist/definitions/CreateForwardingNumberRequest.d.mts +2 -2
- package/dist/definitions/CreateSipRegistrationResponse.d.cts +4 -0
- package/dist/definitions/CreateSipRegistrationResponse.d.mts +4 -0
- package/dist/definitions/CreateWirelessPoint.d.cts +0 -6
- package/dist/definitions/CreateWirelessPoint.d.mts +0 -6
- package/dist/definitions/DeviceDefinition.d.cts +0 -5
- package/dist/definitions/DeviceDefinition.d.mts +0 -5
- package/dist/definitions/DeviceEmergencyServiceAddressResource.d.cts +12 -0
- package/dist/definitions/DeviceEmergencyServiceAddressResource.d.mts +12 -0
- package/dist/definitions/ExtensionBulkUpdateInfo.d.cts +0 -8
- package/dist/definitions/ExtensionBulkUpdateInfo.d.mts +0 -8
- package/dist/definitions/ForwardingInfo.d.cts +0 -8
- package/dist/definitions/ForwardingInfo.d.mts +0 -8
- package/dist/definitions/ForwardingInfoCreateRuleRequest.d.cts +0 -8
- package/dist/definitions/ForwardingInfoCreateRuleRequest.d.mts +0 -8
- package/dist/definitions/ForwardingNumberExtensionInfo.d.cts +20 -0
- package/dist/definitions/ForwardingNumberExtensionInfo.d.mts +20 -0
- package/dist/definitions/ForwardingNumberInfo.d.cts +3 -4
- package/dist/definitions/ForwardingNumberInfo.d.mts +3 -4
- package/dist/definitions/ForwardingNumberInfoRulesCreateRuleRequest.d.cts +1 -1
- package/dist/definitions/ForwardingNumberInfoRulesCreateRuleRequest.d.mts +1 -1
- package/dist/definitions/GrantInfo.d.cts +5 -0
- package/dist/definitions/GrantInfo.d.mts +5 -0
- package/dist/definitions/IvrMenuInfo.d.cts +8 -0
- package/dist/definitions/IvrMenuInfo.d.mts +8 -0
- package/dist/definitions/IvrMenuInfoCreate.cjs +1 -0
- package/dist/definitions/IvrMenuInfoCreate.d.cts +35 -0
- package/dist/definitions/IvrMenuInfoCreate.d.mts +35 -0
- package/dist/definitions/IvrMenuInfoCreate.mjs +1 -0
- package/dist/definitions/IvrMenuInfoRequest.cjs +1 -0
- package/dist/definitions/IvrMenuInfoRequest.d.cts +27 -0
- package/dist/definitions/IvrMenuInfoRequest.d.mts +27 -0
- package/dist/definitions/IvrMenuInfoRequest.mjs +1 -0
- package/dist/definitions/IvrMenuInfoUpdate.cjs +1 -0
- package/dist/definitions/IvrMenuInfoUpdate.d.cts +34 -0
- package/dist/definitions/IvrMenuInfoUpdate.d.mts +34 -0
- package/dist/definitions/IvrMenuInfoUpdate.mjs +1 -0
- package/dist/definitions/ListSmsConsentHistoryRecordsParameters.cjs +1 -0
- package/dist/definitions/ListSmsConsentHistoryRecordsParameters.d.cts +27 -0
- package/dist/definitions/ListSmsConsentHistoryRecordsParameters.d.mts +27 -0
- package/dist/definitions/ListSmsConsentHistoryRecordsParameters.mjs +1 -0
- package/dist/definitions/ListSmsConsentRecordsParameters.d.cts +2 -2
- package/dist/definitions/ListSmsConsentRecordsParameters.d.mts +2 -2
- package/dist/definitions/ListVideoMeetingsParameters.d.cts +0 -9
- package/dist/definitions/ListVideoMeetingsParameters.d.mts +0 -9
- package/dist/definitions/Meeting.d.cts +0 -12
- package/dist/definitions/Meeting.d.mts +0 -12
- package/dist/definitions/MessageAttachmentResponseEntry.cjs +1 -0
- package/dist/definitions/MessageAttachmentResponseEntry.d.cts +33 -0
- package/dist/definitions/MessageAttachmentResponseEntry.d.mts +33 -0
- package/dist/definitions/MessageAttachmentResponseEntry.mjs +1 -0
- package/dist/definitions/MessagePhoneParty.cjs +1 -0
- package/dist/definitions/MessagePhoneParty.d.cts +11 -0
- package/dist/definitions/MessagePhoneParty.d.mts +11 -0
- package/dist/definitions/MessagePhoneParty.mjs +1 -0
- package/dist/definitions/MessageThread.cjs +1 -0
- package/dist/definitions/MessageThread.d.cts +66 -0
- package/dist/definitions/MessageThread.d.mts +66 -0
- package/dist/definitions/MessageThread.mjs +1 -0
- package/dist/definitions/MessageThreadAssignee.cjs +1 -0
- package/dist/definitions/MessageThreadAssignee.d.cts +22 -0
- package/dist/definitions/MessageThreadAssignee.d.mts +22 -0
- package/dist/definitions/MessageThreadAssignee.mjs +1 -0
- package/dist/definitions/MessageThreadGuestParty.cjs +1 -0
- package/dist/definitions/MessageThreadGuestParty.d.cts +10 -0
- package/dist/definitions/MessageThreadGuestParty.d.mts +10 -0
- package/dist/definitions/MessageThreadGuestParty.mjs +1 -0
- package/dist/definitions/MessageThreadList.cjs +1 -0
- package/dist/definitions/MessageThreadList.d.cts +16 -0
- package/dist/definitions/MessageThreadList.d.mts +16 -0
- package/dist/definitions/MessageThreadList.mjs +1 -0
- package/dist/definitions/MessageThreadOwnerParty.cjs +1 -0
- package/dist/definitions/MessageThreadOwnerParty.d.cts +10 -0
- package/dist/definitions/MessageThreadOwnerParty.d.mts +10 -0
- package/dist/definitions/MessageThreadOwnerParty.mjs +1 -0
- package/dist/definitions/MthListMessagesParameters.cjs +1 -0
- package/dist/definitions/MthListMessagesParameters.d.cts +60 -0
- package/dist/definitions/MthListMessagesParameters.d.mts +60 -0
- package/dist/definitions/MthListMessagesParameters.mjs +1 -0
- package/dist/definitions/MthListNotesParameters.cjs +1 -0
- package/dist/definitions/MthListNotesParameters.d.cts +44 -0
- package/dist/definitions/MthListNotesParameters.d.mts +44 -0
- package/dist/definitions/MthListNotesParameters.mjs +1 -0
- package/dist/definitions/MthListThreadsParameters.cjs +1 -0
- package/dist/definitions/MthListThreadsParameters.d.cts +62 -0
- package/dist/definitions/MthListThreadsParameters.d.mts +62 -0
- package/dist/definitions/MthListThreadsParameters.mjs +1 -0
- package/dist/definitions/MthReadMessageContentParameters.cjs +1 -0
- package/dist/definitions/MthReadMessageContentParameters.d.cts +16 -0
- package/dist/definitions/MthReadMessageContentParameters.d.mts +16 -0
- package/dist/definitions/MthReadMessageContentParameters.mjs +1 -0
- package/dist/definitions/MthSendMessageRequest.cjs +1 -0
- package/dist/definitions/MthSendMessageRequest.d.cts +19 -0
- package/dist/definitions/MthSendMessageRequest.d.mts +19 -0
- package/dist/definitions/MthSendMessageRequest.mjs +1 -0
- package/dist/definitions/MthSyncAliveMessage.cjs +1 -0
- package/dist/definitions/MthSyncAliveMessage.d.cts +67 -0
- package/dist/definitions/MthSyncAliveMessage.d.mts +67 -0
- package/dist/definitions/MthSyncAliveMessage.mjs +1 -0
- package/dist/definitions/MthSyncAliveMessageAuthor.cjs +1 -0
- package/dist/definitions/MthSyncAliveMessageAuthor.d.cts +22 -0
- package/dist/definitions/MthSyncAliveMessageAuthor.d.mts +22 -0
- package/dist/definitions/MthSyncAliveMessageAuthor.mjs +1 -0
- package/dist/definitions/MthSyncAliveNote.cjs +1 -0
- package/dist/definitions/MthSyncAliveNote.d.cts +47 -0
- package/dist/definitions/MthSyncAliveNote.d.mts +47 -0
- package/dist/definitions/MthSyncAliveNote.mjs +1 -0
- package/dist/definitions/MthSyncAliveNoteAuthor.cjs +1 -0
- package/dist/definitions/MthSyncAliveNoteAuthor.d.cts +22 -0
- package/dist/definitions/MthSyncAliveNoteAuthor.d.mts +22 -0
- package/dist/definitions/MthSyncAliveNoteAuthor.mjs +1 -0
- package/dist/definitions/MthSyncAssignedHint.cjs +1 -0
- package/dist/definitions/MthSyncAssignedHint.d.cts +39 -0
- package/dist/definitions/MthSyncAssignedHint.d.mts +39 -0
- package/dist/definitions/MthSyncAssignedHint.mjs +1 -0
- package/dist/definitions/MthSyncAssignedHintInitiator.cjs +1 -0
- package/dist/definitions/MthSyncAssignedHintInitiator.d.cts +22 -0
- package/dist/definitions/MthSyncAssignedHintInitiator.d.mts +22 -0
- package/dist/definitions/MthSyncAssignedHintInitiator.mjs +1 -0
- package/dist/definitions/MthSyncBaseHint.cjs +1 -0
- package/dist/definitions/MthSyncBaseHint.d.cts +32 -0
- package/dist/definitions/MthSyncBaseHint.d.mts +32 -0
- package/dist/definitions/MthSyncBaseHint.mjs +1 -0
- package/dist/definitions/MthSyncBaseHintInitiator.cjs +1 -0
- package/dist/definitions/MthSyncBaseHintInitiator.d.cts +22 -0
- package/dist/definitions/MthSyncBaseHintInitiator.d.mts +22 -0
- package/dist/definitions/MthSyncBaseHintInitiator.mjs +1 -0
- package/dist/definitions/MthSyncDeletedMessage.cjs +1 -0
- package/dist/definitions/MthSyncDeletedMessage.d.cts +30 -0
- package/dist/definitions/MthSyncDeletedMessage.d.mts +30 -0
- package/dist/definitions/MthSyncDeletedMessage.mjs +1 -0
- package/dist/definitions/MthSyncDeletedNote.cjs +1 -0
- package/dist/definitions/MthSyncDeletedNote.d.cts +30 -0
- package/dist/definitions/MthSyncDeletedNote.d.mts +30 -0
- package/dist/definitions/MthSyncDeletedNote.mjs +1 -0
- package/dist/definitions/MthSyncEntriesParameters.cjs +1 -0
- package/dist/definitions/MthSyncEntriesParameters.d.cts +34 -0
- package/dist/definitions/MthSyncEntriesParameters.d.mts +34 -0
- package/dist/definitions/MthSyncEntriesParameters.mjs +1 -0
- package/dist/definitions/MthSyncThreadsParameters.cjs +1 -0
- package/dist/definitions/MthSyncThreadsParameters.d.cts +19 -0
- package/dist/definitions/MthSyncThreadsParameters.d.mts +19 -0
- package/dist/definitions/MthSyncThreadsParameters.mjs +1 -0
- package/dist/definitions/NewThreadMessageRequest.cjs +1 -0
- package/dist/definitions/NewThreadMessageRequest.d.cts +27 -0
- package/dist/definitions/NewThreadMessageRequest.d.mts +27 -0
- package/dist/definitions/NewThreadMessageRequest.mjs +1 -0
- package/dist/definitions/NotificationSettings.d.cts +0 -5
- package/dist/definitions/NotificationSettings.d.mts +0 -5
- package/dist/definitions/PhoneNumberInfoIntId.d.cts +1 -1
- package/dist/definitions/PhoneNumberInfoIntId.d.mts +1 -1
- package/dist/definitions/PrivateIpRangeInfo.d.cts +0 -6
- package/dist/definitions/PrivateIpRangeInfo.d.mts +0 -6
- package/dist/definitions/QueueInfo.d.cts +8 -0
- package/dist/definitions/QueueInfo.d.mts +8 -0
- package/dist/definitions/QueueInfoCallBack.cjs +1 -0
- package/dist/definitions/QueueInfoCallBack.d.cts +11 -0
- package/dist/definitions/QueueInfoCallBack.d.mts +11 -0
- package/dist/definitions/QueueInfoCallBack.mjs +1 -0
- package/dist/definitions/QueueInfoPositionInQueue.cjs +1 -0
- package/dist/definitions/QueueInfoPositionInQueue.d.cts +11 -0
- package/dist/definitions/QueueInfoPositionInQueue.d.mts +11 -0
- package/dist/definitions/QueueInfoPositionInQueue.mjs +1 -0
- package/dist/definitions/ReadCompanyCallLogParameters.d.cts +0 -7
- package/dist/definitions/ReadCompanyCallLogParameters.d.mts +0 -7
- package/dist/definitions/ReadGlipThreadPostsNewParameters.cjs +1 -0
- package/dist/definitions/ReadGlipThreadPostsNewParameters.d.cts +19 -0
- package/dist/definitions/ReadGlipThreadPostsNewParameters.d.mts +19 -0
- package/dist/definitions/ReadGlipThreadPostsNewParameters.mjs +1 -0
- package/dist/definitions/ReadUserCallLogParameters.d.cts +1 -8
- package/dist/definitions/ReadUserCallLogParameters.d.mts +1 -8
- package/dist/definitions/ReasonInfo.d.cts +1 -1
- package/dist/definitions/ReasonInfo.d.mts +1 -1
- package/dist/definitions/SearchDirectoryEntriesParameters.d.cts +0 -21
- package/dist/definitions/SearchDirectoryEntriesParameters.d.mts +0 -21
- package/dist/definitions/SearchSmsConsentRecordsRequest.cjs +1 -0
- package/dist/definitions/SearchSmsConsentRecordsRequest.d.cts +44 -0
- package/dist/definitions/SearchSmsConsentRecordsRequest.d.mts +44 -0
- package/dist/definitions/SearchSmsConsentRecordsRequest.mjs +1 -0
- package/dist/definitions/SiteIVRSettings.d.cts +8 -0
- package/dist/definitions/SiteIVRSettings.d.mts +8 -0
- package/dist/definitions/SiteIVRSettingsUpdate.d.cts +7 -0
- package/dist/definitions/SiteIVRSettingsUpdate.d.mts +7 -0
- package/dist/definitions/SmsOptHistoryRecord.cjs +1 -0
- package/dist/definitions/SmsOptHistoryRecord.d.cts +36 -0
- package/dist/definitions/SmsOptHistoryRecord.d.mts +36 -0
- package/dist/definitions/SmsOptHistoryRecord.mjs +1 -0
- package/dist/definitions/SmsRecipient.cjs +1 -0
- package/dist/definitions/SmsRecipient.d.cts +30 -0
- package/dist/definitions/SmsRecipient.d.mts +30 -0
- package/dist/definitions/SmsRecipient.mjs +1 -0
- package/dist/definitions/SmsRecipientsResource.cjs +1 -0
- package/dist/definitions/SmsRecipientsResource.d.cts +10 -0
- package/dist/definitions/SmsRecipientsResource.d.mts +10 -0
- package/dist/definitions/SmsRecipientsResource.mjs +1 -0
- package/dist/definitions/SwitchInfo.d.cts +0 -6
- package/dist/definitions/SwitchInfo.d.mts +0 -6
- package/dist/definitions/SyncAccountCallLogParameters.d.cts +0 -7
- package/dist/definitions/SyncAccountCallLogParameters.d.mts +0 -7
- package/dist/definitions/SyncInfoModel.cjs +1 -0
- package/dist/definitions/SyncInfoModel.d.cts +23 -0
- package/dist/definitions/SyncInfoModel.d.mts +23 -0
- package/dist/definitions/SyncInfoModel.mjs +1 -0
- package/dist/definitions/SyncUserCallLogParameters.d.cts +0 -7
- package/dist/definitions/SyncUserCallLogParameters.d.mts +0 -7
- package/dist/definitions/TMCreatePostRequest.d.cts +8 -0
- package/dist/definitions/TMCreatePostRequest.d.mts +8 -0
- package/dist/definitions/TMPostInfo.d.cts +12 -0
- package/dist/definitions/TMPostInfo.d.mts +12 -0
- package/dist/definitions/ThreadEntriesSyncList.cjs +1 -0
- package/dist/definitions/ThreadEntriesSyncList.d.cts +16 -0
- package/dist/definitions/ThreadEntriesSyncList.d.mts +16 -0
- package/dist/definitions/ThreadEntriesSyncList.mjs +1 -0
- package/dist/definitions/ThreadEntrySyncItem.cjs +1 -0
- package/dist/definitions/ThreadEntrySyncItem.d.cts +80 -0
- package/dist/definitions/ThreadEntrySyncItem.d.mts +80 -0
- package/dist/definitions/ThreadEntrySyncItem.mjs +1 -0
- package/dist/definitions/ThreadEntrySyncItemAuthor.cjs +1 -0
- package/dist/definitions/ThreadEntrySyncItemAuthor.d.cts +22 -0
- package/dist/definitions/ThreadEntrySyncItemAuthor.d.mts +22 -0
- package/dist/definitions/ThreadEntrySyncItemAuthor.mjs +1 -0
- package/dist/definitions/ThreadEntrySyncItemInitiator.cjs +1 -0
- package/dist/definitions/ThreadEntrySyncItemInitiator.d.cts +22 -0
- package/dist/definitions/ThreadEntrySyncItemInitiator.d.mts +22 -0
- package/dist/definitions/ThreadEntrySyncItemInitiator.mjs +1 -0
- package/dist/definitions/ThreadMessageList.cjs +1 -0
- package/dist/definitions/ThreadMessageList.d.cts +16 -0
- package/dist/definitions/ThreadMessageList.d.mts +16 -0
- package/dist/definitions/ThreadMessageList.mjs +1 -0
- package/dist/definitions/ThreadMessageModel.cjs +1 -0
- package/dist/definitions/ThreadMessageModel.d.cts +63 -0
- package/dist/definitions/ThreadMessageModel.d.mts +63 -0
- package/dist/definitions/ThreadMessageModel.mjs +1 -0
- package/dist/definitions/ThreadMessageModelAuthor.cjs +1 -0
- package/dist/definitions/ThreadMessageModelAuthor.d.cts +22 -0
- package/dist/definitions/ThreadMessageModelAuthor.d.mts +22 -0
- package/dist/definitions/ThreadMessageModelAuthor.mjs +1 -0
- package/dist/definitions/ThreadMessagesDeleteRequest.cjs +1 -0
- package/dist/definitions/ThreadMessagesDeleteRequest.d.cts +11 -0
- package/dist/definitions/ThreadMessagesDeleteRequest.d.mts +11 -0
- package/dist/definitions/ThreadMessagesDeleteRequest.mjs +1 -0
- package/dist/definitions/ThreadNoteCreateRequest.cjs +1 -0
- package/dist/definitions/ThreadNoteCreateRequest.d.cts +16 -0
- package/dist/definitions/ThreadNoteCreateRequest.d.mts +16 -0
- package/dist/definitions/ThreadNoteCreateRequest.mjs +1 -0
- package/dist/definitions/ThreadNoteList.cjs +1 -0
- package/dist/definitions/ThreadNoteList.d.cts +16 -0
- package/dist/definitions/ThreadNoteList.d.mts +16 -0
- package/dist/definitions/ThreadNoteList.mjs +1 -0
- package/dist/definitions/ThreadNoteModel.cjs +1 -0
- package/dist/definitions/ThreadNoteModel.d.cts +43 -0
- package/dist/definitions/ThreadNoteModel.d.mts +43 -0
- package/dist/definitions/ThreadNoteModel.mjs +1 -0
- package/dist/definitions/ThreadNoteModelAuthor.cjs +1 -0
- package/dist/definitions/ThreadNoteModelAuthor.d.cts +22 -0
- package/dist/definitions/ThreadNoteModelAuthor.d.mts +22 -0
- package/dist/definitions/ThreadNoteModelAuthor.mjs +1 -0
- package/dist/definitions/ThreadNoteUpdateRequest.cjs +1 -0
- package/dist/definitions/ThreadNoteUpdateRequest.d.cts +11 -0
- package/dist/definitions/ThreadNoteUpdateRequest.d.mts +11 -0
- package/dist/definitions/ThreadNoteUpdateRequest.mjs +1 -0
- package/dist/definitions/ThreadNotesDeleteRequest.cjs +1 -0
- package/dist/definitions/ThreadNotesDeleteRequest.d.cts +11 -0
- package/dist/definitions/ThreadNotesDeleteRequest.d.mts +11 -0
- package/dist/definitions/ThreadNotesDeleteRequest.mjs +1 -0
- package/dist/definitions/ThreadSyncList.cjs +1 -0
- package/dist/definitions/ThreadSyncList.d.cts +16 -0
- package/dist/definitions/ThreadSyncList.d.mts +16 -0
- package/dist/definitions/ThreadSyncList.mjs +1 -0
- package/dist/definitions/ThreadUserModel.cjs +1 -0
- package/dist/definitions/ThreadUserModel.d.cts +23 -0
- package/dist/definitions/ThreadUserModel.d.mts +23 -0
- package/dist/definitions/ThreadUserModel.mjs +1 -0
- package/dist/definitions/UpdateForwardingNumberRequest.d.cts +1 -1
- package/dist/definitions/UpdateForwardingNumberRequest.d.mts +1 -1
- package/dist/definitions/UpdateWirelessPoint.d.cts +0 -6
- package/dist/definitions/UpdateWirelessPoint.d.mts +0 -6
- package/dist/definitions/WcsWebinarSettingsModel.d.cts +0 -5
- package/dist/definitions/WcsWebinarSettingsModel.d.mts +0 -5
- package/dist/definitions/WebinarSettingsModel.d.cts +0 -5
- package/dist/definitions/WebinarSettingsModel.d.mts +0 -5
- package/dist/definitions/WirelessPointInfo.d.cts +0 -6
- package/dist/definitions/WirelessPointInfo.d.mts +0 -6
- package/dist/index.cjs +15 -11
- package/dist/index.d.cts +6 -4
- package/dist/index.d.mts +6 -4
- package/dist/index.mjs +15 -11
- package/dist/paths/Ai/index.cjs +0 -16
- package/dist/paths/Ai/index.d.cts +2 -10
- package/dist/paths/Ai/index.d.mts +2 -10
- package/dist/paths/Ai/index.mjs +2 -18
- package/dist/paths/Restapi/Account/CallLog/index.cjs +5 -2
- package/dist/paths/Restapi/Account/CallLog/index.d.cts +5 -2
- package/dist/paths/Restapi/Account/CallLog/index.d.mts +5 -2
- package/dist/paths/Restapi/Account/CallLog/index.mjs +5 -2
- package/dist/paths/Restapi/Account/Extension/CallLog/index.cjs +6 -1
- package/dist/paths/Restapi/Account/Extension/CallLog/index.d.cts +6 -1
- package/dist/paths/Restapi/Account/Extension/CallLog/index.d.mts +6 -1
- package/dist/paths/Restapi/Account/Extension/CallLog/index.mjs +6 -1
- package/dist/paths/Restapi/Account/Extension/Features/index.cjs +1 -0
- package/dist/paths/Restapi/Account/Extension/Features/index.d.cts +1 -0
- package/dist/paths/Restapi/Account/Extension/Features/index.d.mts +1 -0
- package/dist/paths/Restapi/Account/Extension/Features/index.mjs +1 -0
- package/dist/paths/Restapi/Account/Extension/ForwardingNumber/index.d.cts +1 -2
- package/dist/paths/Restapi/Account/Extension/ForwardingNumber/index.d.mts +1 -2
- package/dist/paths/Restapi/Account/Extension/SmsRecipients/BulkAssign/index.cjs +29 -0
- package/dist/paths/Restapi/Account/Extension/SmsRecipients/BulkAssign/index.d.cts +21 -0
- package/dist/paths/Restapi/Account/Extension/SmsRecipients/BulkAssign/index.d.mts +21 -0
- package/dist/paths/Restapi/Account/Extension/SmsRecipients/BulkAssign/index.mjs +25 -0
- package/dist/paths/Restapi/Account/Extension/SmsRecipients/index.cjs +33 -0
- package/dist/paths/Restapi/Account/Extension/SmsRecipients/index.d.cts +23 -0
- package/dist/paths/Restapi/Account/Extension/SmsRecipients/index.d.mts +23 -0
- package/dist/paths/Restapi/Account/Extension/SmsRecipients/index.mjs +29 -0
- package/dist/paths/Restapi/Account/Extension/index.cjs +4 -0
- package/dist/paths/Restapi/Account/Extension/index.d.cts +6 -4
- package/dist/paths/Restapi/Account/Extension/index.d.mts +6 -4
- package/dist/paths/Restapi/Account/Extension/index.mjs +8 -4
- package/dist/paths/Restapi/Account/IvrMenus/index.cjs +5 -5
- package/dist/paths/Restapi/Account/IvrMenus/index.d.cts +5 -3
- package/dist/paths/Restapi/Account/IvrMenus/index.d.mts +5 -3
- package/dist/paths/Restapi/Account/IvrMenus/index.mjs +5 -5
- package/dist/paths/Restapi/Account/MessageThreads/Assign/index.cjs +30 -0
- package/dist/paths/Restapi/Account/MessageThreads/Assign/index.d.cts +23 -0
- package/dist/paths/Restapi/Account/MessageThreads/Assign/index.d.mts +23 -0
- package/dist/paths/Restapi/Account/MessageThreads/Assign/index.mjs +26 -0
- package/dist/paths/Restapi/Account/MessageThreads/Entries/Sync/index.cjs +40 -0
- package/dist/paths/Restapi/Account/MessageThreads/Entries/Sync/index.d.cts +33 -0
- package/dist/paths/Restapi/Account/MessageThreads/Entries/Sync/index.d.mts +33 -0
- package/dist/paths/Restapi/Account/MessageThreads/Entries/Sync/index.mjs +36 -0
- package/dist/paths/Restapi/Account/MessageThreads/Entries/index.cjs +22 -0
- package/dist/paths/{Ai/Insights/V1/Async → Restapi/Account/MessageThreads/Entries}/index.d.cts +3 -3
- package/dist/paths/{Ai/Insights/V1/Async → Restapi/Account/MessageThreads/Entries}/index.d.mts +3 -3
- package/dist/paths/{Ai/Audio/V1 → Restapi/Account/MessageThreads/Entries}/index.mjs +4 -4
- package/dist/paths/Restapi/Account/MessageThreads/Messages/Content/index.cjs +40 -0
- package/dist/paths/Restapi/Account/MessageThreads/Messages/Content/index.d.cts +26 -0
- package/dist/paths/Restapi/Account/MessageThreads/Messages/Content/index.d.mts +26 -0
- package/dist/paths/Restapi/Account/MessageThreads/Messages/Content/index.mjs +36 -0
- package/dist/paths/Restapi/Account/MessageThreads/Messages/index.cjs +73 -0
- package/dist/paths/Restapi/Account/MessageThreads/Messages/index.d.cts +61 -0
- package/dist/paths/Restapi/Account/MessageThreads/Messages/index.d.mts +61 -0
- package/dist/paths/Restapi/Account/MessageThreads/Messages/index.mjs +69 -0
- package/dist/paths/Restapi/Account/MessageThreads/Notes/index.cjs +78 -0
- package/dist/paths/Restapi/Account/MessageThreads/Notes/index.d.cts +66 -0
- package/dist/paths/Restapi/Account/MessageThreads/Notes/index.d.mts +66 -0
- package/dist/paths/Restapi/Account/MessageThreads/Notes/index.mjs +74 -0
- package/dist/paths/Restapi/Account/MessageThreads/Resolve/index.cjs +33 -0
- package/dist/paths/Restapi/Account/MessageThreads/Resolve/index.d.cts +25 -0
- package/dist/paths/Restapi/Account/MessageThreads/Resolve/index.d.mts +25 -0
- package/dist/paths/Restapi/Account/MessageThreads/Resolve/index.mjs +29 -0
- package/dist/paths/Restapi/Account/MessageThreads/Sync/index.cjs +34 -0
- package/dist/paths/Restapi/Account/MessageThreads/Sync/index.d.cts +27 -0
- package/dist/paths/Restapi/Account/MessageThreads/Sync/index.d.mts +27 -0
- package/dist/paths/Restapi/Account/MessageThreads/Sync/index.mjs +30 -0
- package/dist/paths/Restapi/Account/MessageThreads/index.cjs +93 -0
- package/dist/paths/Restapi/Account/MessageThreads/index.d.cts +67 -0
- package/dist/paths/Restapi/Account/MessageThreads/index.d.mts +67 -0
- package/dist/paths/Restapi/Account/MessageThreads/index.mjs +89 -0
- package/dist/paths/Restapi/Account/Presence/index.cjs +14 -5
- package/dist/paths/Restapi/Account/Presence/index.d.cts +14 -5
- package/dist/paths/Restapi/Account/Presence/index.d.mts +14 -5
- package/dist/paths/Restapi/Account/Presence/index.mjs +14 -5
- package/dist/paths/Restapi/Account/Sites/Ivr/index.cjs +2 -1
- package/dist/paths/Restapi/Account/Sites/Ivr/index.d.cts +2 -1
- package/dist/paths/Restapi/Account/Sites/Ivr/index.d.mts +2 -1
- package/dist/paths/Restapi/Account/Sites/Ivr/index.mjs +2 -1
- package/dist/paths/Restapi/Account/Telephony/CallOut/index.cjs +5 -1
- package/dist/paths/Restapi/Account/Telephony/CallOut/index.d.cts +5 -1
- package/dist/paths/Restapi/Account/Telephony/CallOut/index.d.mts +5 -1
- package/dist/paths/Restapi/Account/Telephony/CallOut/index.mjs +5 -1
- package/dist/paths/Restapi/Account/UserRole/index.d.cts +1 -1
- package/dist/paths/Restapi/Account/UserRole/index.d.mts +1 -1
- package/dist/paths/Restapi/Account/index.cjs +4 -0
- package/dist/paths/Restapi/Account/index.d.cts +24 -22
- package/dist/paths/Restapi/Account/index.d.mts +24 -22
- package/dist/paths/Restapi/Account/index.mjs +26 -22
- package/dist/paths/Restapi/V2/Accounts/Sms/Consents/History/index.cjs +29 -0
- package/dist/paths/Restapi/V2/Accounts/Sms/Consents/History/index.d.cts +22 -0
- package/dist/paths/Restapi/V2/Accounts/Sms/Consents/History/index.d.mts +22 -0
- package/dist/paths/Restapi/V2/Accounts/Sms/Consents/History/index.mjs +25 -0
- package/dist/paths/Restapi/V2/Accounts/Sms/Consents/Search/index.cjs +29 -0
- package/dist/paths/Restapi/V2/Accounts/Sms/Consents/Search/index.d.cts +22 -0
- package/dist/paths/Restapi/V2/Accounts/Sms/Consents/Search/index.d.mts +22 -0
- package/dist/paths/Restapi/V2/Accounts/Sms/Consents/Search/index.mjs +25 -0
- package/dist/paths/Restapi/V2/Accounts/Sms/Consents/index.cjs +8 -11
- package/dist/paths/Restapi/V2/Accounts/Sms/Consents/index.d.cts +4 -11
- package/dist/paths/Restapi/V2/Accounts/Sms/Consents/index.d.mts +4 -11
- package/dist/paths/Restapi/V2/Accounts/Sms/Consents/index.mjs +8 -11
- package/dist/paths/TeamMessaging/V1/Chats/Threads/Posts/index.cjs +28 -0
- package/dist/paths/TeamMessaging/V1/Chats/Threads/Posts/index.d.cts +21 -0
- package/dist/paths/TeamMessaging/V1/Chats/Threads/Posts/index.d.mts +21 -0
- package/dist/paths/TeamMessaging/V1/Chats/Threads/Posts/index.mjs +24 -0
- package/dist/paths/TeamMessaging/V1/Chats/Threads/index.cjs +25 -0
- package/dist/paths/TeamMessaging/V1/Chats/Threads/index.d.cts +14 -0
- package/dist/paths/TeamMessaging/V1/Chats/Threads/index.d.mts +14 -0
- package/dist/paths/TeamMessaging/V1/Chats/Threads/index.mjs +21 -0
- package/dist/paths/TeamMessaging/V1/Chats/index.cjs +4 -0
- package/dist/paths/TeamMessaging/V1/Chats/index.d.cts +4 -2
- package/dist/paths/TeamMessaging/V1/Chats/index.d.mts +4 -2
- package/dist/paths/TeamMessaging/V1/Chats/index.mjs +6 -2
- package/package.json +4 -4
- package/dist/definitions/BulkAddDevicesItemEmergency.d.cts +0 -14
- package/dist/definitions/BulkAddDevicesItemEmergency.d.mts +0 -14
- package/dist/definitions/BulkAddDevicesItemEmergencyLocation.d.cts +0 -9
- package/dist/definitions/BulkAddDevicesItemEmergencyLocation.d.mts +0 -9
- package/dist/definitions/DeviceDefinitionEmergency.d.cts +0 -14
- package/dist/definitions/DeviceDefinitionEmergency.d.mts +0 -14
- package/dist/definitions/DeviceDefinitionEmergencyLocation.d.cts +0 -9
- package/dist/definitions/DeviceDefinitionEmergencyLocation.d.mts +0 -9
- package/dist/definitions/ForwardingNumberInfoExtension.d.cts +0 -17
- package/dist/definitions/ForwardingNumberInfoExtension.d.mts +0 -17
- package/dist/definitions/ForwardingNumberResource.d.cts +0 -28
- package/dist/definitions/ForwardingNumberResource.d.mts +0 -28
- package/dist/paths/Ai/Audio/V1/Async/SpeakerDiarize/index.cjs +0 -30
- package/dist/paths/Ai/Audio/V1/Async/SpeakerDiarize/index.d.cts +0 -24
- package/dist/paths/Ai/Audio/V1/Async/SpeakerDiarize/index.d.mts +0 -24
- package/dist/paths/Ai/Audio/V1/Async/SpeakerDiarize/index.mjs +0 -26
- package/dist/paths/Ai/Audio/V1/Async/SpeechToText/index.cjs +0 -28
- package/dist/paths/Ai/Audio/V1/Async/SpeechToText/index.d.cts +0 -22
- package/dist/paths/Ai/Audio/V1/Async/SpeechToText/index.d.mts +0 -22
- package/dist/paths/Ai/Audio/V1/Async/SpeechToText/index.mjs +0 -24
- package/dist/paths/Ai/Audio/V1/Async/index.cjs +0 -26
- package/dist/paths/Ai/Audio/V1/Async/index.d.cts +0 -15
- package/dist/paths/Ai/Audio/V1/Async/index.d.mts +0 -15
- package/dist/paths/Ai/Audio/V1/Async/index.mjs +0 -22
- package/dist/paths/Ai/Audio/V1/index.cjs +0 -22
- package/dist/paths/Ai/Audio/V1/index.d.cts +0 -13
- package/dist/paths/Ai/Audio/V1/index.d.mts +0 -13
- package/dist/paths/Ai/Audio/index.cjs +0 -22
- package/dist/paths/Ai/Audio/index.d.cts +0 -13
- package/dist/paths/Ai/Audio/index.d.mts +0 -13
- package/dist/paths/Ai/Audio/index.mjs +0 -18
- package/dist/paths/Ai/Insights/V1/Async/AnalyzeInteraction/index.cjs +0 -29
- package/dist/paths/Ai/Insights/V1/Async/AnalyzeInteraction/index.d.cts +0 -23
- package/dist/paths/Ai/Insights/V1/Async/AnalyzeInteraction/index.d.mts +0 -23
- package/dist/paths/Ai/Insights/V1/Async/AnalyzeInteraction/index.mjs +0 -25
- package/dist/paths/Ai/Insights/V1/Async/index.cjs +0 -22
- package/dist/paths/Ai/Insights/V1/Async/index.mjs +0 -18
- package/dist/paths/Ai/Insights/V1/index.cjs +0 -22
- package/dist/paths/Ai/Insights/V1/index.d.cts +0 -13
- package/dist/paths/Ai/Insights/V1/index.d.mts +0 -13
- package/dist/paths/Ai/Insights/V1/index.mjs +0 -18
- package/dist/paths/Ai/Insights/index.cjs +0 -22
- package/dist/paths/Ai/Insights/index.d.cts +0 -13
- package/dist/paths/Ai/Insights/index.d.mts +0 -13
- package/dist/paths/Ai/Insights/index.mjs +0 -18
- package/dist/paths/Ai/Status/V1/Jobs/index.cjs +0 -32
- package/dist/paths/Ai/Status/V1/Jobs/index.d.cts +0 -21
- package/dist/paths/Ai/Status/V1/Jobs/index.d.mts +0 -21
- package/dist/paths/Ai/Status/V1/Jobs/index.mjs +0 -28
- package/dist/paths/Ai/Status/V1/index.cjs +0 -22
- package/dist/paths/Ai/Status/V1/index.d.cts +0 -13
- package/dist/paths/Ai/Status/V1/index.d.mts +0 -13
- package/dist/paths/Ai/Status/V1/index.mjs +0 -18
- package/dist/paths/Ai/Status/index.cjs +0 -22
- package/dist/paths/Ai/Status/index.d.cts +0 -13
- package/dist/paths/Ai/Status/index.d.mts +0 -13
- package/dist/paths/Ai/Status/index.mjs +0 -18
- package/dist/paths/Ai/Text/V1/Async/Punctuate/index.cjs +0 -28
- package/dist/paths/Ai/Text/V1/Async/Punctuate/index.d.cts +0 -22
- package/dist/paths/Ai/Text/V1/Async/Punctuate/index.d.mts +0 -22
- package/dist/paths/Ai/Text/V1/Async/Punctuate/index.mjs +0 -24
- package/dist/paths/Ai/Text/V1/Async/Summarize/index.cjs +0 -30
- package/dist/paths/Ai/Text/V1/Async/Summarize/index.d.cts +0 -24
- package/dist/paths/Ai/Text/V1/Async/Summarize/index.d.mts +0 -24
- package/dist/paths/Ai/Text/V1/Async/Summarize/index.mjs +0 -26
- package/dist/paths/Ai/Text/V1/Async/index.cjs +0 -26
- package/dist/paths/Ai/Text/V1/Async/index.d.cts +0 -15
- package/dist/paths/Ai/Text/V1/Async/index.d.mts +0 -15
- package/dist/paths/Ai/Text/V1/Async/index.mjs +0 -22
- package/dist/paths/Ai/Text/V1/index.cjs +0 -22
- package/dist/paths/Ai/Text/V1/index.d.cts +0 -13
- package/dist/paths/Ai/Text/V1/index.d.mts +0 -13
- package/dist/paths/Ai/Text/V1/index.mjs +0 -18
- package/dist/paths/Ai/Text/index.cjs +0 -22
- package/dist/paths/Ai/Text/index.d.cts +0 -13
- package/dist/paths/Ai/Text/index.d.mts +0 -13
- package/dist/paths/Ai/Text/index.mjs +0 -18
- /package/dist/definitions/{BulkAddDevicesItemEmergency.cjs → AssignMessageThreadRequest.cjs} +0 -0
- /package/dist/definitions/{BulkAddDevicesItemEmergency.mjs → AssignMessageThreadRequest.mjs} +0 -0
- /package/dist/definitions/{BulkAddDevicesItemEmergencyLocation.cjs → AssignMessageThreadRequestAssignee.cjs} +0 -0
- /package/dist/definitions/{BulkAddDevicesItemEmergencyLocation.mjs → AssignMessageThreadRequestAssignee.mjs} +0 -0
- /package/dist/definitions/{DeviceDefinitionEmergency.cjs → BulkAssignSmsRecipientsRequest.cjs} +0 -0
- /package/dist/definitions/{DeviceDefinitionEmergency.mjs → BulkAssignSmsRecipientsRequest.mjs} +0 -0
- /package/dist/definitions/{DeviceDefinitionEmergencyLocation.cjs → ConsentHistoryRecordList.cjs} +0 -0
- /package/dist/definitions/{DeviceDefinitionEmergencyLocation.mjs → ConsentHistoryRecordList.mjs} +0 -0
- /package/dist/definitions/{ForwardingNumberInfoExtension.cjs → CreateDeviceRegistrationResponse.cjs} +0 -0
- /package/dist/definitions/{ForwardingNumberInfoExtension.mjs → CreateDeviceRegistrationResponse.mjs} +0 -0
- /package/dist/definitions/{ForwardingNumberResource.cjs → ForwardingNumberExtensionInfo.cjs} +0 -0
- /package/dist/definitions/{ForwardingNumberResource.mjs → ForwardingNumberExtensionInfo.mjs} +0 -0
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
//#region src/paths/Restapi/Account/MessageThreads/Notes/index.ts
|
|
2
|
+
var Index = class {
|
|
3
|
+
rc;
|
|
4
|
+
_parent;
|
|
5
|
+
noteId;
|
|
6
|
+
constructor(_parent, noteId = null) {
|
|
7
|
+
this._parent = _parent;
|
|
8
|
+
this.rc = _parent.rc;
|
|
9
|
+
this.noteId = noteId;
|
|
10
|
+
}
|
|
11
|
+
path(withParameter = true) {
|
|
12
|
+
if (withParameter && this.noteId !== null) return `${this._parent.path()}/notes/${this.noteId}`;
|
|
13
|
+
return `${this._parent.path()}/notes`;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Returns a list of notes from one or more threads.
|
|
17
|
+
* All filters are applied as "AND" conditions.
|
|
18
|
+
*
|
|
19
|
+
* The records are sorted by `creationTime` in ascending order.
|
|
20
|
+
*
|
|
21
|
+
* HTTP Method: get
|
|
22
|
+
* Endpoint: /restapi/{apiVersion}/account/{accountId}/message-threads/notes
|
|
23
|
+
* Rate Limit Group: Medium
|
|
24
|
+
* App Permission: SMS
|
|
25
|
+
*/
|
|
26
|
+
async get(queryParams, restRequestConfig) {
|
|
27
|
+
return (await this.rc.get(this.path(false), queryParams, restRequestConfig)).data;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Creates a new note in the thread.
|
|
31
|
+
*
|
|
32
|
+
* The thread must be in `Open` status and the current user must be in the list of thread monitors
|
|
33
|
+
* for this operation to succeed.
|
|
34
|
+
*
|
|
35
|
+
* HTTP Method: post
|
|
36
|
+
* Endpoint: /restapi/{apiVersion}/account/{accountId}/message-threads/notes
|
|
37
|
+
* Rate Limit Group: Medium
|
|
38
|
+
* App Permission: SMS
|
|
39
|
+
*/
|
|
40
|
+
async post(threadNoteCreateRequest, restRequestConfig) {
|
|
41
|
+
return (await this.rc.post(this.path(false), threadNoteCreateRequest, void 0, restRequestConfig)).data;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Deletes thread note(s).
|
|
45
|
+
*
|
|
46
|
+
* The corresponding threads must be in `Open` status and the calling user must be the notes' author
|
|
47
|
+
* for this operation to succeed.
|
|
48
|
+
*
|
|
49
|
+
* HTTP Method: delete
|
|
50
|
+
* Endpoint: /restapi/{apiVersion}/account/{accountId}/message-threads/notes
|
|
51
|
+
* Rate Limit Group: Medium
|
|
52
|
+
* App Permission: SMS
|
|
53
|
+
*/
|
|
54
|
+
async delete(threadNotesDeleteRequest, restRequestConfig) {
|
|
55
|
+
return (await this.rc.delete(this.path(false), threadNotesDeleteRequest, void 0, restRequestConfig)).data;
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* Updates the text of a note.
|
|
59
|
+
*
|
|
60
|
+
* The thread must be in `Open` status and the calling user must be the note's author
|
|
61
|
+
* for this operation to succeed.
|
|
62
|
+
*
|
|
63
|
+
* HTTP Method: patch
|
|
64
|
+
* Endpoint: /restapi/{apiVersion}/account/{accountId}/message-threads/notes/{noteId}
|
|
65
|
+
* Rate Limit Group: Medium
|
|
66
|
+
* App Permission: SMS
|
|
67
|
+
*/
|
|
68
|
+
async patch(threadNoteUpdateRequest, restRequestConfig) {
|
|
69
|
+
if (this.noteId === null) throw new Error("noteId must be specified.");
|
|
70
|
+
return (await this.rc.patch(this.path(), threadNoteUpdateRequest, void 0, restRequestConfig)).data;
|
|
71
|
+
}
|
|
72
|
+
};
|
|
73
|
+
//#endregion
|
|
74
|
+
export { Index as default };
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
Object.defineProperties(exports, {
|
|
2
|
+
__esModule: { value: true },
|
|
3
|
+
[Symbol.toStringTag]: { value: "Module" }
|
|
4
|
+
});
|
|
5
|
+
//#region src/paths/Restapi/Account/MessageThreads/Resolve/index.ts
|
|
6
|
+
var Index = class {
|
|
7
|
+
rc;
|
|
8
|
+
_parent;
|
|
9
|
+
constructor(_parent) {
|
|
10
|
+
this._parent = _parent;
|
|
11
|
+
this.rc = _parent.rc;
|
|
12
|
+
}
|
|
13
|
+
path() {
|
|
14
|
+
return `${this._parent.path()}/resolve`;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Resolves a message thread (sets the status to `Resolved`).
|
|
18
|
+
* The current status of the thread must be `Open` for this operation to succeed.
|
|
19
|
+
* The authorized user must be in the list of thread monitors, otherwise the API returns a 403 error.
|
|
20
|
+
*
|
|
21
|
+
* Once the thread is resolved its `assignee` attribute is cleared automatically.
|
|
22
|
+
*
|
|
23
|
+
* HTTP Method: post
|
|
24
|
+
* Endpoint: /restapi/{apiVersion}/account/{accountId}/message-threads/{threadId}/resolve
|
|
25
|
+
* Rate Limit Group: Medium
|
|
26
|
+
* App Permission: SMS
|
|
27
|
+
*/
|
|
28
|
+
async post(restRequestConfig) {
|
|
29
|
+
return (await this.rc.post(this.path(), {}, void 0, restRequestConfig)).data;
|
|
30
|
+
}
|
|
31
|
+
};
|
|
32
|
+
//#endregion
|
|
33
|
+
exports.default = Index;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { ParentInterface, RestRequestConfig, RingCentralInterface } from "../../../../../types.cjs";
|
|
2
|
+
import MessageThread from "../../../../../definitions/MessageThread.cjs";
|
|
3
|
+
|
|
4
|
+
//#region src/paths/Restapi/Account/MessageThreads/Resolve/index.d.ts
|
|
5
|
+
declare class Index {
|
|
6
|
+
rc: RingCentralInterface;
|
|
7
|
+
_parent: ParentInterface;
|
|
8
|
+
constructor(_parent: ParentInterface);
|
|
9
|
+
path(): string;
|
|
10
|
+
/**
|
|
11
|
+
* Resolves a message thread (sets the status to `Resolved`).
|
|
12
|
+
* The current status of the thread must be `Open` for this operation to succeed.
|
|
13
|
+
* The authorized user must be in the list of thread monitors, otherwise the API returns a 403 error.
|
|
14
|
+
*
|
|
15
|
+
* Once the thread is resolved its `assignee` attribute is cleared automatically.
|
|
16
|
+
*
|
|
17
|
+
* HTTP Method: post
|
|
18
|
+
* Endpoint: /restapi/{apiVersion}/account/{accountId}/message-threads/{threadId}/resolve
|
|
19
|
+
* Rate Limit Group: Medium
|
|
20
|
+
* App Permission: SMS
|
|
21
|
+
*/
|
|
22
|
+
post(restRequestConfig?: RestRequestConfig): Promise<MessageThread>;
|
|
23
|
+
}
|
|
24
|
+
//#endregion
|
|
25
|
+
export { Index as default };
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { ParentInterface, RestRequestConfig, RingCentralInterface } from "../../../../../types.mjs";
|
|
2
|
+
import MessageThread from "../../../../../definitions/MessageThread.mjs";
|
|
3
|
+
|
|
4
|
+
//#region src/paths/Restapi/Account/MessageThreads/Resolve/index.d.ts
|
|
5
|
+
declare class Index {
|
|
6
|
+
rc: RingCentralInterface;
|
|
7
|
+
_parent: ParentInterface;
|
|
8
|
+
constructor(_parent: ParentInterface);
|
|
9
|
+
path(): string;
|
|
10
|
+
/**
|
|
11
|
+
* Resolves a message thread (sets the status to `Resolved`).
|
|
12
|
+
* The current status of the thread must be `Open` for this operation to succeed.
|
|
13
|
+
* The authorized user must be in the list of thread monitors, otherwise the API returns a 403 error.
|
|
14
|
+
*
|
|
15
|
+
* Once the thread is resolved its `assignee` attribute is cleared automatically.
|
|
16
|
+
*
|
|
17
|
+
* HTTP Method: post
|
|
18
|
+
* Endpoint: /restapi/{apiVersion}/account/{accountId}/message-threads/{threadId}/resolve
|
|
19
|
+
* Rate Limit Group: Medium
|
|
20
|
+
* App Permission: SMS
|
|
21
|
+
*/
|
|
22
|
+
post(restRequestConfig?: RestRequestConfig): Promise<MessageThread>;
|
|
23
|
+
}
|
|
24
|
+
//#endregion
|
|
25
|
+
export { Index as default };
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
//#region src/paths/Restapi/Account/MessageThreads/Resolve/index.ts
|
|
2
|
+
var Index = class {
|
|
3
|
+
rc;
|
|
4
|
+
_parent;
|
|
5
|
+
constructor(_parent) {
|
|
6
|
+
this._parent = _parent;
|
|
7
|
+
this.rc = _parent.rc;
|
|
8
|
+
}
|
|
9
|
+
path() {
|
|
10
|
+
return `${this._parent.path()}/resolve`;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Resolves a message thread (sets the status to `Resolved`).
|
|
14
|
+
* The current status of the thread must be `Open` for this operation to succeed.
|
|
15
|
+
* The authorized user must be in the list of thread monitors, otherwise the API returns a 403 error.
|
|
16
|
+
*
|
|
17
|
+
* Once the thread is resolved its `assignee` attribute is cleared automatically.
|
|
18
|
+
*
|
|
19
|
+
* HTTP Method: post
|
|
20
|
+
* Endpoint: /restapi/{apiVersion}/account/{accountId}/message-threads/{threadId}/resolve
|
|
21
|
+
* Rate Limit Group: Medium
|
|
22
|
+
* App Permission: SMS
|
|
23
|
+
*/
|
|
24
|
+
async post(restRequestConfig) {
|
|
25
|
+
return (await this.rc.post(this.path(), {}, void 0, restRequestConfig)).data;
|
|
26
|
+
}
|
|
27
|
+
};
|
|
28
|
+
//#endregion
|
|
29
|
+
export { Index as default };
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
Object.defineProperties(exports, {
|
|
2
|
+
__esModule: { value: true },
|
|
3
|
+
[Symbol.toStringTag]: { value: "Module" }
|
|
4
|
+
});
|
|
5
|
+
//#region src/paths/Restapi/Account/MessageThreads/Sync/index.ts
|
|
6
|
+
var Index = class {
|
|
7
|
+
rc;
|
|
8
|
+
_parent;
|
|
9
|
+
constructor(_parent) {
|
|
10
|
+
this._parent = _parent;
|
|
11
|
+
this.rc = _parent.rc;
|
|
12
|
+
}
|
|
13
|
+
path() {
|
|
14
|
+
return `${this._parent.path()}/sync`;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Synchronizes the list of message threads.
|
|
18
|
+
* Returns the thread records that the current user can monitor
|
|
19
|
+
* (assigned to current user, assigned to other users or unassigned).
|
|
20
|
+
*
|
|
21
|
+
* In `FSync` mode, only `Open` and `Alive`threads are returned.
|
|
22
|
+
* The records are sorted by `lastModifiedTime` in descending order.
|
|
23
|
+
*
|
|
24
|
+
* HTTP Method: get
|
|
25
|
+
* Endpoint: /restapi/{apiVersion}/account/{accountId}/message-threads/sync
|
|
26
|
+
* Rate Limit Group: Medium
|
|
27
|
+
* App Permission: SMS
|
|
28
|
+
*/
|
|
29
|
+
async get(queryParams, restRequestConfig) {
|
|
30
|
+
return (await this.rc.get(this.path(), queryParams, restRequestConfig)).data;
|
|
31
|
+
}
|
|
32
|
+
};
|
|
33
|
+
//#endregion
|
|
34
|
+
exports.default = Index;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { ParentInterface, RestRequestConfig, RingCentralInterface } from "../../../../../types.cjs";
|
|
2
|
+
import MthSyncThreadsParameters from "../../../../../definitions/MthSyncThreadsParameters.cjs";
|
|
3
|
+
import ThreadSyncList from "../../../../../definitions/ThreadSyncList.cjs";
|
|
4
|
+
|
|
5
|
+
//#region src/paths/Restapi/Account/MessageThreads/Sync/index.d.ts
|
|
6
|
+
declare class Index {
|
|
7
|
+
rc: RingCentralInterface;
|
|
8
|
+
_parent: ParentInterface;
|
|
9
|
+
constructor(_parent: ParentInterface);
|
|
10
|
+
path(): string;
|
|
11
|
+
/**
|
|
12
|
+
* Synchronizes the list of message threads.
|
|
13
|
+
* Returns the thread records that the current user can monitor
|
|
14
|
+
* (assigned to current user, assigned to other users or unassigned).
|
|
15
|
+
*
|
|
16
|
+
* In `FSync` mode, only `Open` and `Alive`threads are returned.
|
|
17
|
+
* The records are sorted by `lastModifiedTime` in descending order.
|
|
18
|
+
*
|
|
19
|
+
* HTTP Method: get
|
|
20
|
+
* Endpoint: /restapi/{apiVersion}/account/{accountId}/message-threads/sync
|
|
21
|
+
* Rate Limit Group: Medium
|
|
22
|
+
* App Permission: SMS
|
|
23
|
+
*/
|
|
24
|
+
get(queryParams?: MthSyncThreadsParameters, restRequestConfig?: RestRequestConfig): Promise<ThreadSyncList>;
|
|
25
|
+
}
|
|
26
|
+
//#endregion
|
|
27
|
+
export { Index as default };
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { ParentInterface, RestRequestConfig, RingCentralInterface } from "../../../../../types.mjs";
|
|
2
|
+
import MthSyncThreadsParameters from "../../../../../definitions/MthSyncThreadsParameters.mjs";
|
|
3
|
+
import ThreadSyncList from "../../../../../definitions/ThreadSyncList.mjs";
|
|
4
|
+
|
|
5
|
+
//#region src/paths/Restapi/Account/MessageThreads/Sync/index.d.ts
|
|
6
|
+
declare class Index {
|
|
7
|
+
rc: RingCentralInterface;
|
|
8
|
+
_parent: ParentInterface;
|
|
9
|
+
constructor(_parent: ParentInterface);
|
|
10
|
+
path(): string;
|
|
11
|
+
/**
|
|
12
|
+
* Synchronizes the list of message threads.
|
|
13
|
+
* Returns the thread records that the current user can monitor
|
|
14
|
+
* (assigned to current user, assigned to other users or unassigned).
|
|
15
|
+
*
|
|
16
|
+
* In `FSync` mode, only `Open` and `Alive`threads are returned.
|
|
17
|
+
* The records are sorted by `lastModifiedTime` in descending order.
|
|
18
|
+
*
|
|
19
|
+
* HTTP Method: get
|
|
20
|
+
* Endpoint: /restapi/{apiVersion}/account/{accountId}/message-threads/sync
|
|
21
|
+
* Rate Limit Group: Medium
|
|
22
|
+
* App Permission: SMS
|
|
23
|
+
*/
|
|
24
|
+
get(queryParams?: MthSyncThreadsParameters, restRequestConfig?: RestRequestConfig): Promise<ThreadSyncList>;
|
|
25
|
+
}
|
|
26
|
+
//#endregion
|
|
27
|
+
export { Index as default };
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
//#region src/paths/Restapi/Account/MessageThreads/Sync/index.ts
|
|
2
|
+
var Index = class {
|
|
3
|
+
rc;
|
|
4
|
+
_parent;
|
|
5
|
+
constructor(_parent) {
|
|
6
|
+
this._parent = _parent;
|
|
7
|
+
this.rc = _parent.rc;
|
|
8
|
+
}
|
|
9
|
+
path() {
|
|
10
|
+
return `${this._parent.path()}/sync`;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Synchronizes the list of message threads.
|
|
14
|
+
* Returns the thread records that the current user can monitor
|
|
15
|
+
* (assigned to current user, assigned to other users or unassigned).
|
|
16
|
+
*
|
|
17
|
+
* In `FSync` mode, only `Open` and `Alive`threads are returned.
|
|
18
|
+
* The records are sorted by `lastModifiedTime` in descending order.
|
|
19
|
+
*
|
|
20
|
+
* HTTP Method: get
|
|
21
|
+
* Endpoint: /restapi/{apiVersion}/account/{accountId}/message-threads/sync
|
|
22
|
+
* Rate Limit Group: Medium
|
|
23
|
+
* App Permission: SMS
|
|
24
|
+
*/
|
|
25
|
+
async get(queryParams, restRequestConfig) {
|
|
26
|
+
return (await this.rc.get(this.path(), queryParams, restRequestConfig)).data;
|
|
27
|
+
}
|
|
28
|
+
};
|
|
29
|
+
//#endregion
|
|
30
|
+
export { Index as default };
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
Object.defineProperties(exports, {
|
|
2
|
+
__esModule: { value: true },
|
|
3
|
+
[Symbol.toStringTag]: { value: "Module" }
|
|
4
|
+
});
|
|
5
|
+
const require_paths_Restapi_Account_MessageThreads_Assign_index = require("./Assign/index.cjs");
|
|
6
|
+
const require_paths_Restapi_Account_MessageThreads_Entries_index = require("./Entries/index.cjs");
|
|
7
|
+
const require_paths_Restapi_Account_MessageThreads_Messages_index = require("./Messages/index.cjs");
|
|
8
|
+
const require_paths_Restapi_Account_MessageThreads_Notes_index = require("./Notes/index.cjs");
|
|
9
|
+
const require_paths_Restapi_Account_MessageThreads_Resolve_index = require("./Resolve/index.cjs");
|
|
10
|
+
const require_paths_Restapi_Account_MessageThreads_Sync_index = require("./Sync/index.cjs");
|
|
11
|
+
//#region src/paths/Restapi/Account/MessageThreads/index.ts
|
|
12
|
+
var Index = class {
|
|
13
|
+
rc;
|
|
14
|
+
_parent;
|
|
15
|
+
threadId;
|
|
16
|
+
constructor(_parent, threadId = null) {
|
|
17
|
+
this._parent = _parent;
|
|
18
|
+
this.rc = _parent.rc;
|
|
19
|
+
this.threadId = threadId;
|
|
20
|
+
}
|
|
21
|
+
path(withParameter = true) {
|
|
22
|
+
if (withParameter && this.threadId !== null) return `${this._parent.path()}/message-threads/${this.threadId}`;
|
|
23
|
+
return `${this._parent.path()}/message-threads`;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Returns a paginated list of message threads for the specified account according to the specified criteria.
|
|
27
|
+
*
|
|
28
|
+
* Different filters are combined with logical "AND", different values for the same filter (if supported)
|
|
29
|
+
* are combined with logical "OR".
|
|
30
|
+
*
|
|
31
|
+
* Only threads that accessible for a current authorized user are returned.
|
|
32
|
+
* The records are sorted by `creationTime` in ascending order.
|
|
33
|
+
*
|
|
34
|
+
* HTTP Method: get
|
|
35
|
+
* Endpoint: /restapi/{apiVersion}/account/{accountId}/message-threads
|
|
36
|
+
* Rate Limit Group: Medium
|
|
37
|
+
* App Permission: SMS
|
|
38
|
+
*/
|
|
39
|
+
async list(queryParams, restRequestConfig) {
|
|
40
|
+
return (await this.rc.get(this.path(false), queryParams, restRequestConfig)).data;
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* Returns a message thread by ID.
|
|
44
|
+
*
|
|
45
|
+
* API returns a 403 error if the current user does not have access to the given thread.
|
|
46
|
+
*
|
|
47
|
+
* HTTP Method: get
|
|
48
|
+
* Endpoint: /restapi/{apiVersion}/account/{accountId}/message-threads/{threadId}
|
|
49
|
+
* Rate Limit Group: Medium
|
|
50
|
+
* App Permission: SMS
|
|
51
|
+
*/
|
|
52
|
+
async get(restRequestConfig) {
|
|
53
|
+
if (this.threadId === null) throw new Error("threadId must be specified.");
|
|
54
|
+
return (await this.rc.get(this.path(), void 0, restRequestConfig)).data;
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Deletes a message thread by IDs.
|
|
58
|
+
*
|
|
59
|
+
* Technically this operation just sets thread's `availability` to `Deleted`.
|
|
60
|
+
* API returns a 403 error if the current user does not have access to the given thread.
|
|
61
|
+
*
|
|
62
|
+
* Once the thread is deleted its `assignee` attribute is cleared automatically.
|
|
63
|
+
*
|
|
64
|
+
* HTTP Method: delete
|
|
65
|
+
* Endpoint: /restapi/{apiVersion}/account/{accountId}/message-threads/{threadId}
|
|
66
|
+
* Rate Limit Group: Medium
|
|
67
|
+
* App Permission: SMS
|
|
68
|
+
*/
|
|
69
|
+
async delete(restRequestConfig) {
|
|
70
|
+
if (this.threadId === null) throw new Error("threadId must be specified.");
|
|
71
|
+
return (await this.rc.delete(this.path(), {}, void 0, restRequestConfig)).data;
|
|
72
|
+
}
|
|
73
|
+
sync() {
|
|
74
|
+
return new require_paths_Restapi_Account_MessageThreads_Sync_index.default(this);
|
|
75
|
+
}
|
|
76
|
+
notes(noteId = null) {
|
|
77
|
+
return new require_paths_Restapi_Account_MessageThreads_Notes_index.default(this, noteId);
|
|
78
|
+
}
|
|
79
|
+
assign() {
|
|
80
|
+
return new require_paths_Restapi_Account_MessageThreads_Assign_index.default(this);
|
|
81
|
+
}
|
|
82
|
+
entries() {
|
|
83
|
+
return new require_paths_Restapi_Account_MessageThreads_Entries_index.default(this);
|
|
84
|
+
}
|
|
85
|
+
resolve() {
|
|
86
|
+
return new require_paths_Restapi_Account_MessageThreads_Resolve_index.default(this);
|
|
87
|
+
}
|
|
88
|
+
messages() {
|
|
89
|
+
return new require_paths_Restapi_Account_MessageThreads_Messages_index.default(this);
|
|
90
|
+
}
|
|
91
|
+
};
|
|
92
|
+
//#endregion
|
|
93
|
+
exports.default = Index;
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { ParentInterface, RestRequestConfig, RingCentralInterface } from "../../../../types.cjs";
|
|
2
|
+
import MessageThread from "../../../../definitions/MessageThread.cjs";
|
|
3
|
+
import MessageThreadList from "../../../../definitions/MessageThreadList.cjs";
|
|
4
|
+
import MthListThreadsParameters from "../../../../definitions/MthListThreadsParameters.cjs";
|
|
5
|
+
import Index$1 from "./Assign/index.cjs";
|
|
6
|
+
import Index$2 from "./Entries/index.cjs";
|
|
7
|
+
import Index$3 from "./Messages/index.cjs";
|
|
8
|
+
import Index$4 from "./Notes/index.cjs";
|
|
9
|
+
import Index$5 from "./Resolve/index.cjs";
|
|
10
|
+
import Index$6 from "./Sync/index.cjs";
|
|
11
|
+
|
|
12
|
+
//#region src/paths/Restapi/Account/MessageThreads/index.d.ts
|
|
13
|
+
declare class Index {
|
|
14
|
+
rc: RingCentralInterface;
|
|
15
|
+
_parent: ParentInterface;
|
|
16
|
+
threadId: string | null;
|
|
17
|
+
constructor(_parent: ParentInterface, threadId?: string | null);
|
|
18
|
+
path(withParameter?: boolean): string;
|
|
19
|
+
/**
|
|
20
|
+
* Returns a paginated list of message threads for the specified account according to the specified criteria.
|
|
21
|
+
*
|
|
22
|
+
* Different filters are combined with logical "AND", different values for the same filter (if supported)
|
|
23
|
+
* are combined with logical "OR".
|
|
24
|
+
*
|
|
25
|
+
* Only threads that accessible for a current authorized user are returned.
|
|
26
|
+
* The records are sorted by `creationTime` in ascending order.
|
|
27
|
+
*
|
|
28
|
+
* HTTP Method: get
|
|
29
|
+
* Endpoint: /restapi/{apiVersion}/account/{accountId}/message-threads
|
|
30
|
+
* Rate Limit Group: Medium
|
|
31
|
+
* App Permission: SMS
|
|
32
|
+
*/
|
|
33
|
+
list(queryParams?: MthListThreadsParameters, restRequestConfig?: RestRequestConfig): Promise<MessageThreadList>;
|
|
34
|
+
/**
|
|
35
|
+
* Returns a message thread by ID.
|
|
36
|
+
*
|
|
37
|
+
* API returns a 403 error if the current user does not have access to the given thread.
|
|
38
|
+
*
|
|
39
|
+
* HTTP Method: get
|
|
40
|
+
* Endpoint: /restapi/{apiVersion}/account/{accountId}/message-threads/{threadId}
|
|
41
|
+
* Rate Limit Group: Medium
|
|
42
|
+
* App Permission: SMS
|
|
43
|
+
*/
|
|
44
|
+
get(restRequestConfig?: RestRequestConfig): Promise<MessageThread>;
|
|
45
|
+
/**
|
|
46
|
+
* Deletes a message thread by IDs.
|
|
47
|
+
*
|
|
48
|
+
* Technically this operation just sets thread's `availability` to `Deleted`.
|
|
49
|
+
* API returns a 403 error if the current user does not have access to the given thread.
|
|
50
|
+
*
|
|
51
|
+
* Once the thread is deleted its `assignee` attribute is cleared automatically.
|
|
52
|
+
*
|
|
53
|
+
* HTTP Method: delete
|
|
54
|
+
* Endpoint: /restapi/{apiVersion}/account/{accountId}/message-threads/{threadId}
|
|
55
|
+
* Rate Limit Group: Medium
|
|
56
|
+
* App Permission: SMS
|
|
57
|
+
*/
|
|
58
|
+
delete(restRequestConfig?: RestRequestConfig): Promise<string>;
|
|
59
|
+
sync(): Index$6;
|
|
60
|
+
notes(noteId?: string | null): Index$4;
|
|
61
|
+
assign(): Index$1;
|
|
62
|
+
entries(): Index$2;
|
|
63
|
+
resolve(): Index$5;
|
|
64
|
+
messages(): Index$3;
|
|
65
|
+
}
|
|
66
|
+
//#endregion
|
|
67
|
+
export { Index as default };
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { ParentInterface, RestRequestConfig, RingCentralInterface } from "../../../../types.mjs";
|
|
2
|
+
import MessageThread from "../../../../definitions/MessageThread.mjs";
|
|
3
|
+
import MessageThreadList from "../../../../definitions/MessageThreadList.mjs";
|
|
4
|
+
import MthListThreadsParameters from "../../../../definitions/MthListThreadsParameters.mjs";
|
|
5
|
+
import Index$1 from "./Assign/index.mjs";
|
|
6
|
+
import Index$2 from "./Entries/index.mjs";
|
|
7
|
+
import Index$3 from "./Messages/index.mjs";
|
|
8
|
+
import Index$4 from "./Notes/index.mjs";
|
|
9
|
+
import Index$5 from "./Resolve/index.mjs";
|
|
10
|
+
import Index$6 from "./Sync/index.mjs";
|
|
11
|
+
|
|
12
|
+
//#region src/paths/Restapi/Account/MessageThreads/index.d.ts
|
|
13
|
+
declare class Index {
|
|
14
|
+
rc: RingCentralInterface;
|
|
15
|
+
_parent: ParentInterface;
|
|
16
|
+
threadId: string | null;
|
|
17
|
+
constructor(_parent: ParentInterface, threadId?: string | null);
|
|
18
|
+
path(withParameter?: boolean): string;
|
|
19
|
+
/**
|
|
20
|
+
* Returns a paginated list of message threads for the specified account according to the specified criteria.
|
|
21
|
+
*
|
|
22
|
+
* Different filters are combined with logical "AND", different values for the same filter (if supported)
|
|
23
|
+
* are combined with logical "OR".
|
|
24
|
+
*
|
|
25
|
+
* Only threads that accessible for a current authorized user are returned.
|
|
26
|
+
* The records are sorted by `creationTime` in ascending order.
|
|
27
|
+
*
|
|
28
|
+
* HTTP Method: get
|
|
29
|
+
* Endpoint: /restapi/{apiVersion}/account/{accountId}/message-threads
|
|
30
|
+
* Rate Limit Group: Medium
|
|
31
|
+
* App Permission: SMS
|
|
32
|
+
*/
|
|
33
|
+
list(queryParams?: MthListThreadsParameters, restRequestConfig?: RestRequestConfig): Promise<MessageThreadList>;
|
|
34
|
+
/**
|
|
35
|
+
* Returns a message thread by ID.
|
|
36
|
+
*
|
|
37
|
+
* API returns a 403 error if the current user does not have access to the given thread.
|
|
38
|
+
*
|
|
39
|
+
* HTTP Method: get
|
|
40
|
+
* Endpoint: /restapi/{apiVersion}/account/{accountId}/message-threads/{threadId}
|
|
41
|
+
* Rate Limit Group: Medium
|
|
42
|
+
* App Permission: SMS
|
|
43
|
+
*/
|
|
44
|
+
get(restRequestConfig?: RestRequestConfig): Promise<MessageThread>;
|
|
45
|
+
/**
|
|
46
|
+
* Deletes a message thread by IDs.
|
|
47
|
+
*
|
|
48
|
+
* Technically this operation just sets thread's `availability` to `Deleted`.
|
|
49
|
+
* API returns a 403 error if the current user does not have access to the given thread.
|
|
50
|
+
*
|
|
51
|
+
* Once the thread is deleted its `assignee` attribute is cleared automatically.
|
|
52
|
+
*
|
|
53
|
+
* HTTP Method: delete
|
|
54
|
+
* Endpoint: /restapi/{apiVersion}/account/{accountId}/message-threads/{threadId}
|
|
55
|
+
* Rate Limit Group: Medium
|
|
56
|
+
* App Permission: SMS
|
|
57
|
+
*/
|
|
58
|
+
delete(restRequestConfig?: RestRequestConfig): Promise<string>;
|
|
59
|
+
sync(): Index$6;
|
|
60
|
+
notes(noteId?: string | null): Index$4;
|
|
61
|
+
assign(): Index$1;
|
|
62
|
+
entries(): Index$2;
|
|
63
|
+
resolve(): Index$5;
|
|
64
|
+
messages(): Index$3;
|
|
65
|
+
}
|
|
66
|
+
//#endregion
|
|
67
|
+
export { Index as default };
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import Index$1 from "./Assign/index.mjs";
|
|
2
|
+
import Index$2 from "./Entries/index.mjs";
|
|
3
|
+
import Index$3 from "./Messages/index.mjs";
|
|
4
|
+
import Index$4 from "./Notes/index.mjs";
|
|
5
|
+
import Index$5 from "./Resolve/index.mjs";
|
|
6
|
+
import Index$6 from "./Sync/index.mjs";
|
|
7
|
+
//#region src/paths/Restapi/Account/MessageThreads/index.ts
|
|
8
|
+
var Index = class {
|
|
9
|
+
rc;
|
|
10
|
+
_parent;
|
|
11
|
+
threadId;
|
|
12
|
+
constructor(_parent, threadId = null) {
|
|
13
|
+
this._parent = _parent;
|
|
14
|
+
this.rc = _parent.rc;
|
|
15
|
+
this.threadId = threadId;
|
|
16
|
+
}
|
|
17
|
+
path(withParameter = true) {
|
|
18
|
+
if (withParameter && this.threadId !== null) return `${this._parent.path()}/message-threads/${this.threadId}`;
|
|
19
|
+
return `${this._parent.path()}/message-threads`;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Returns a paginated list of message threads for the specified account according to the specified criteria.
|
|
23
|
+
*
|
|
24
|
+
* Different filters are combined with logical "AND", different values for the same filter (if supported)
|
|
25
|
+
* are combined with logical "OR".
|
|
26
|
+
*
|
|
27
|
+
* Only threads that accessible for a current authorized user are returned.
|
|
28
|
+
* The records are sorted by `creationTime` in ascending order.
|
|
29
|
+
*
|
|
30
|
+
* HTTP Method: get
|
|
31
|
+
* Endpoint: /restapi/{apiVersion}/account/{accountId}/message-threads
|
|
32
|
+
* Rate Limit Group: Medium
|
|
33
|
+
* App Permission: SMS
|
|
34
|
+
*/
|
|
35
|
+
async list(queryParams, restRequestConfig) {
|
|
36
|
+
return (await this.rc.get(this.path(false), queryParams, restRequestConfig)).data;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Returns a message thread by ID.
|
|
40
|
+
*
|
|
41
|
+
* API returns a 403 error if the current user does not have access to the given thread.
|
|
42
|
+
*
|
|
43
|
+
* HTTP Method: get
|
|
44
|
+
* Endpoint: /restapi/{apiVersion}/account/{accountId}/message-threads/{threadId}
|
|
45
|
+
* Rate Limit Group: Medium
|
|
46
|
+
* App Permission: SMS
|
|
47
|
+
*/
|
|
48
|
+
async get(restRequestConfig) {
|
|
49
|
+
if (this.threadId === null) throw new Error("threadId must be specified.");
|
|
50
|
+
return (await this.rc.get(this.path(), void 0, restRequestConfig)).data;
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* Deletes a message thread by IDs.
|
|
54
|
+
*
|
|
55
|
+
* Technically this operation just sets thread's `availability` to `Deleted`.
|
|
56
|
+
* API returns a 403 error if the current user does not have access to the given thread.
|
|
57
|
+
*
|
|
58
|
+
* Once the thread is deleted its `assignee` attribute is cleared automatically.
|
|
59
|
+
*
|
|
60
|
+
* HTTP Method: delete
|
|
61
|
+
* Endpoint: /restapi/{apiVersion}/account/{accountId}/message-threads/{threadId}
|
|
62
|
+
* Rate Limit Group: Medium
|
|
63
|
+
* App Permission: SMS
|
|
64
|
+
*/
|
|
65
|
+
async delete(restRequestConfig) {
|
|
66
|
+
if (this.threadId === null) throw new Error("threadId must be specified.");
|
|
67
|
+
return (await this.rc.delete(this.path(), {}, void 0, restRequestConfig)).data;
|
|
68
|
+
}
|
|
69
|
+
sync() {
|
|
70
|
+
return new Index$6(this);
|
|
71
|
+
}
|
|
72
|
+
notes(noteId = null) {
|
|
73
|
+
return new Index$4(this, noteId);
|
|
74
|
+
}
|
|
75
|
+
assign() {
|
|
76
|
+
return new Index$1(this);
|
|
77
|
+
}
|
|
78
|
+
entries() {
|
|
79
|
+
return new Index$2(this);
|
|
80
|
+
}
|
|
81
|
+
resolve() {
|
|
82
|
+
return new Index$5(this);
|
|
83
|
+
}
|
|
84
|
+
messages() {
|
|
85
|
+
return new Index$3(this);
|
|
86
|
+
}
|
|
87
|
+
};
|
|
88
|
+
//#endregion
|
|
89
|
+
export { Index as default };
|
|
@@ -14,11 +14,20 @@ var Index = class {
|
|
|
14
14
|
return `${this._parent.path()}/presence`;
|
|
15
15
|
}
|
|
16
16
|
/**
|
|
17
|
-
* Returns presence status of all extensions of an account.
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
17
|
+
* Returns the presence status of all extensions of an account.
|
|
18
|
+
*
|
|
19
|
+
* Note: for the extension types listed below, `presenceStatus` is always returned
|
|
20
|
+
* as `Offline`, and the `telephonyStatus`, `message`, `userStatus`, and `dndStatus`
|
|
21
|
+
* attributes are not returned at all:
|
|
22
|
+
*
|
|
23
|
+
* - Department
|
|
24
|
+
* - Announcement Only
|
|
25
|
+
* - Voicemail (Take Messages Only)
|
|
26
|
+
* - Fax User
|
|
27
|
+
* - Paging Only Group
|
|
28
|
+
* - Shared Lines Group
|
|
29
|
+
* - IVR Menu
|
|
30
|
+
* - Application Extension
|
|
22
31
|
*
|
|
23
32
|
* HTTP Method: get
|
|
24
33
|
* Endpoint: /restapi/{apiVersion}/account/{accountId}/presence
|