@rc-ex/core 1.6.1 → 1.6.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/FormData.js +42 -107
- package/lib/FormData.js.map +1 -1
- package/lib/Rest.js +68 -105
- package/lib/Rest.js.map +1 -1
- package/lib/RestException.js +11 -28
- package/lib/RestException.js.map +1 -1
- package/lib/SdkExtension.js +6 -9
- package/lib/SdkExtension.js.map +1 -1
- package/lib/Utils.js +25 -36
- package/lib/Utils.js.map +1 -1
- package/lib/index.js +141 -269
- package/lib/index.js.map +1 -1
- package/lib/paths/Ai/Audio/V1/Async/SpeakerDiarize/index.js +12 -56
- package/lib/paths/Ai/Audio/V1/Async/SpeakerDiarize/index.js.map +1 -1
- package/lib/paths/Ai/Audio/V1/Async/SpeakerIdentify/index.js +12 -56
- package/lib/paths/Ai/Audio/V1/Async/SpeakerIdentify/index.js.map +1 -1
- package/lib/paths/Ai/Audio/V1/Async/SpeechToText/index.js +12 -56
- package/lib/paths/Ai/Audio/V1/Async/SpeechToText/index.js.map +1 -1
- package/lib/paths/Ai/Audio/V1/Async/index.js +17 -16
- package/lib/paths/Ai/Audio/V1/Async/index.js.map +1 -1
- package/lib/paths/Ai/Audio/V1/Enrollments/index.js +39 -123
- package/lib/paths/Ai/Audio/V1/Enrollments/index.js.map +1 -1
- package/lib/paths/Ai/Audio/V1/index.js +14 -14
- package/lib/paths/Ai/Audio/V1/index.js.map +1 -1
- package/lib/paths/Ai/Audio/index.js +11 -10
- package/lib/paths/Ai/Audio/index.js.map +1 -1
- package/lib/paths/Ai/Insights/V1/Async/AnalyzeInteraction/index.js +12 -56
- package/lib/paths/Ai/Insights/V1/Async/AnalyzeInteraction/index.js.map +1 -1
- package/lib/paths/Ai/Insights/V1/Async/index.js +11 -10
- package/lib/paths/Ai/Insights/V1/Async/index.js.map +1 -1
- package/lib/paths/Ai/Insights/V1/index.js +11 -10
- package/lib/paths/Ai/Insights/V1/index.js.map +1 -1
- package/lib/paths/Ai/Insights/index.js +11 -10
- package/lib/paths/Ai/Insights/index.js.map +1 -1
- package/lib/paths/Ai/Ringsense/V1/Public/Accounts/Domains/Records/Insights/index.js +12 -56
- package/lib/paths/Ai/Ringsense/V1/Public/Accounts/Domains/Records/Insights/index.js.map +1 -1
- package/lib/paths/Ai/Ringsense/V1/Public/Accounts/Domains/Records/index.js +13 -13
- package/lib/paths/Ai/Ringsense/V1/Public/Accounts/Domains/Records/index.js.map +1 -1
- package/lib/paths/Ai/Ringsense/V1/Public/Accounts/Domains/index.js +13 -14
- package/lib/paths/Ai/Ringsense/V1/Public/Accounts/Domains/index.js.map +1 -1
- package/lib/paths/Ai/Ringsense/V1/Public/Accounts/index.js +13 -14
- package/lib/paths/Ai/Ringsense/V1/Public/Accounts/index.js.map +1 -1
- package/lib/paths/Ai/Ringsense/V1/Public/index.js +11 -11
- package/lib/paths/Ai/Ringsense/V1/Public/index.js.map +1 -1
- package/lib/paths/Ai/Ringsense/V1/index.js +11 -10
- package/lib/paths/Ai/Ringsense/V1/index.js.map +1 -1
- package/lib/paths/Ai/Ringsense/index.js +11 -10
- package/lib/paths/Ai/Ringsense/index.js.map +1 -1
- package/lib/paths/Ai/Status/V1/Jobs/index.js +17 -63
- package/lib/paths/Ai/Status/V1/Jobs/index.js.map +1 -1
- package/lib/paths/Ai/Status/V1/index.js +11 -11
- package/lib/paths/Ai/Status/V1/index.js.map +1 -1
- package/lib/paths/Ai/Status/index.js +11 -10
- package/lib/paths/Ai/Status/index.js.map +1 -1
- package/lib/paths/Ai/Text/V1/Async/Punctuate/index.js +12 -56
- package/lib/paths/Ai/Text/V1/Async/Punctuate/index.js.map +1 -1
- package/lib/paths/Ai/Text/V1/Async/Summarize/index.js +12 -56
- package/lib/paths/Ai/Text/V1/Async/Summarize/index.js.map +1 -1
- package/lib/paths/Ai/Text/V1/Async/index.js +14 -13
- package/lib/paths/Ai/Text/V1/Async/index.js.map +1 -1
- package/lib/paths/Ai/Text/V1/index.js +11 -10
- package/lib/paths/Ai/Text/V1/index.js.map +1 -1
- package/lib/paths/Ai/Text/index.js +11 -10
- package/lib/paths/Ai/Text/index.js.map +1 -1
- package/lib/paths/Ai/index.js +21 -21
- package/lib/paths/Ai/index.js.map +1 -1
- package/lib/paths/Analytics/Calls/V1/Accounts/Aggregation/Fetch/index.js +12 -56
- package/lib/paths/Analytics/Calls/V1/Accounts/Aggregation/Fetch/index.js.map +1 -1
- package/lib/paths/Analytics/Calls/V1/Accounts/Aggregation/index.js +11 -10
- package/lib/paths/Analytics/Calls/V1/Accounts/Aggregation/index.js.map +1 -1
- package/lib/paths/Analytics/Calls/V1/Accounts/Timeline/Fetch/index.js +12 -56
- package/lib/paths/Analytics/Calls/V1/Accounts/Timeline/Fetch/index.js.map +1 -1
- package/lib/paths/Analytics/Calls/V1/Accounts/Timeline/index.js +11 -10
- package/lib/paths/Analytics/Calls/V1/Accounts/Timeline/index.js.map +1 -1
- package/lib/paths/Analytics/Calls/V1/Accounts/index.js +16 -16
- package/lib/paths/Analytics/Calls/V1/Accounts/index.js.map +1 -1
- package/lib/paths/Analytics/Calls/V1/index.js +11 -11
- package/lib/paths/Analytics/Calls/V1/index.js.map +1 -1
- package/lib/paths/Analytics/Calls/index.js +11 -10
- package/lib/paths/Analytics/Calls/index.js.map +1 -1
- package/lib/paths/Analytics/index.js +9 -9
- package/lib/paths/Analytics/index.js.map +1 -1
- package/lib/paths/Rcvideo/V1/Account/Extension/Recordings/index.js +12 -56
- package/lib/paths/Rcvideo/V1/Account/Extension/Recordings/index.js.map +1 -1
- package/lib/paths/Rcvideo/V1/Account/Extension/index.js +13 -13
- package/lib/paths/Rcvideo/V1/Account/Extension/index.js.map +1 -1
- package/lib/paths/Rcvideo/V1/Account/Recordings/index.js +12 -56
- package/lib/paths/Rcvideo/V1/Account/Recordings/index.js.map +1 -1
- package/lib/paths/Rcvideo/V1/Account/index.js +16 -17
- package/lib/paths/Rcvideo/V1/Account/index.js.map +1 -1
- package/lib/paths/Rcvideo/V1/Accounts/Extensions/Delegators/index.js +12 -56
- package/lib/paths/Rcvideo/V1/Accounts/Extensions/Delegators/index.js.map +1 -1
- package/lib/paths/Rcvideo/V1/Accounts/Extensions/index.js +13 -13
- package/lib/paths/Rcvideo/V1/Accounts/Extensions/index.js.map +1 -1
- package/lib/paths/Rcvideo/V1/Accounts/index.js +13 -14
- package/lib/paths/Rcvideo/V1/Accounts/index.js.map +1 -1
- package/lib/paths/Rcvideo/V1/History/Meetings/index.js +21 -76
- package/lib/paths/Rcvideo/V1/History/Meetings/index.js.map +1 -1
- package/lib/paths/Rcvideo/V1/History/index.js +11 -11
- package/lib/paths/Rcvideo/V1/History/index.js.map +1 -1
- package/lib/paths/Rcvideo/V1/index.js +17 -18
- package/lib/paths/Rcvideo/V1/index.js.map +1 -1
- package/lib/paths/Rcvideo/V2/Account/Extension/Bridges/Default/index.js +12 -56
- package/lib/paths/Rcvideo/V2/Account/Extension/Bridges/Default/index.js.map +1 -1
- package/lib/paths/Rcvideo/V2/Account/Extension/Bridges/index.js +15 -59
- package/lib/paths/Rcvideo/V2/Account/Extension/Bridges/index.js.map +1 -1
- package/lib/paths/Rcvideo/V2/Account/Extension/index.js +13 -13
- package/lib/paths/Rcvideo/V2/Account/Extension/index.js.map +1 -1
- package/lib/paths/Rcvideo/V2/Account/index.js +13 -14
- package/lib/paths/Rcvideo/V2/Account/index.js.map +1 -1
- package/lib/paths/Rcvideo/V2/Bridges/Pin/Pstn/index.js +17 -63
- package/lib/paths/Rcvideo/V2/Bridges/Pin/Pstn/index.js.map +1 -1
- package/lib/paths/Rcvideo/V2/Bridges/Pin/Web/index.js +17 -63
- package/lib/paths/Rcvideo/V2/Bridges/Pin/Web/index.js.map +1 -1
- package/lib/paths/Rcvideo/V2/Bridges/Pin/index.js +14 -15
- package/lib/paths/Rcvideo/V2/Bridges/Pin/index.js.map +1 -1
- package/lib/paths/Rcvideo/V2/Bridges/index.js +34 -100
- package/lib/paths/Rcvideo/V2/Bridges/index.js.map +1 -1
- package/lib/paths/Rcvideo/V2/index.js +14 -15
- package/lib/paths/Rcvideo/V2/index.js.map +1 -1
- package/lib/paths/Rcvideo/index.js +12 -12
- package/lib/paths/Rcvideo/index.js.map +1 -1
- package/lib/paths/Restapi/Account/A2pSms/Batches/index.js +25 -89
- package/lib/paths/Restapi/Account/A2pSms/Batches/index.js.map +1 -1
- package/lib/paths/Restapi/Account/A2pSms/Messages/index.js +21 -76
- package/lib/paths/Restapi/Account/A2pSms/Messages/index.js.map +1 -1
- package/lib/paths/Restapi/Account/A2pSms/OptOuts/BulkAssign/index.js +12 -56
- package/lib/paths/Restapi/Account/A2pSms/OptOuts/BulkAssign/index.js.map +1 -1
- package/lib/paths/Restapi/Account/A2pSms/OptOuts/index.js +15 -59
- package/lib/paths/Restapi/Account/A2pSms/OptOuts/index.js.map +1 -1
- package/lib/paths/Restapi/Account/A2pSms/Statuses/index.js +12 -56
- package/lib/paths/Restapi/Account/A2pSms/Statuses/index.js.map +1 -1
- package/lib/paths/Restapi/Account/A2pSms/index.js +20 -21
- package/lib/paths/Restapi/Account/A2pSms/index.js.map +1 -1
- package/lib/paths/Restapi/Account/ActiveCalls/index.js +12 -56
- package/lib/paths/Restapi/Account/ActiveCalls/index.js.map +1 -1
- package/lib/paths/Restapi/Account/AddressBookBulkUpload/Tasks/index.js +17 -63
- package/lib/paths/Restapi/Account/AddressBookBulkUpload/Tasks/index.js.map +1 -1
- package/lib/paths/Restapi/Account/AddressBookBulkUpload/index.js +15 -60
- package/lib/paths/Restapi/Account/AddressBookBulkUpload/index.js.map +1 -1
- package/lib/paths/Restapi/Account/AnsweringRule/index.js +39 -123
- package/lib/paths/Restapi/Account/AnsweringRule/index.js.map +1 -1
- package/lib/paths/Restapi/Account/AssignedRole/index.js +12 -56
- package/lib/paths/Restapi/Account/AssignedRole/index.js.map +1 -1
- package/lib/paths/Restapi/Account/AuditTrail/Search/index.js +12 -56
- package/lib/paths/Restapi/Account/AuditTrail/Search/index.js.map +1 -1
- package/lib/paths/Restapi/Account/AuditTrail/index.js +11 -10
- package/lib/paths/Restapi/Account/AuditTrail/index.js.map +1 -1
- package/lib/paths/Restapi/Account/BusinessAddress/index.js +16 -69
- package/lib/paths/Restapi/Account/BusinessAddress/index.js.map +1 -1
- package/lib/paths/Restapi/Account/BusinessHours/index.js +16 -69
- package/lib/paths/Restapi/Account/BusinessHours/index.js.map +1 -1
- package/lib/paths/Restapi/Account/CallLog/index.js +21 -76
- package/lib/paths/Restapi/Account/CallLog/index.js.map +1 -1
- package/lib/paths/Restapi/Account/CallLogSync/index.js +12 -56
- package/lib/paths/Restapi/Account/CallLogSync/index.js.map +1 -1
- package/lib/paths/Restapi/Account/CallMonitoringGroups/BulkAssign/index.js +12 -56
- package/lib/paths/Restapi/Account/CallMonitoringGroups/BulkAssign/index.js.map +1 -1
- package/lib/paths/Restapi/Account/CallMonitoringGroups/Members/index.js +12 -56
- package/lib/paths/Restapi/Account/CallMonitoringGroups/Members/index.js.map +1 -1
- package/lib/paths/Restapi/Account/CallMonitoringGroups/index.js +38 -112
- package/lib/paths/Restapi/Account/CallMonitoringGroups/index.js.map +1 -1
- package/lib/paths/Restapi/Account/CallQueues/BulkAssign/index.js +12 -56
- package/lib/paths/Restapi/Account/CallQueues/BulkAssign/index.js.map +1 -1
- package/lib/paths/Restapi/Account/CallQueues/Members/index.js +12 -56
- package/lib/paths/Restapi/Account/CallQueues/Members/index.js.map +1 -1
- package/lib/paths/Restapi/Account/CallQueues/Presence/index.js +16 -69
- package/lib/paths/Restapi/Account/CallQueues/Presence/index.js.map +1 -1
- package/lib/paths/Restapi/Account/CallQueues/index.js +37 -102
- package/lib/paths/Restapi/Account/CallQueues/index.js.map +1 -1
- package/lib/paths/Restapi/Account/CallRecording/BulkAssign/index.js +12 -56
- package/lib/paths/Restapi/Account/CallRecording/BulkAssign/index.js.map +1 -1
- package/lib/paths/Restapi/Account/CallRecording/CustomGreetings/index.js +25 -89
- package/lib/paths/Restapi/Account/CallRecording/CustomGreetings/index.js.map +1 -1
- package/lib/paths/Restapi/Account/CallRecording/Extensions/index.js +12 -56
- package/lib/paths/Restapi/Account/CallRecording/Extensions/index.js.map +1 -1
- package/lib/paths/Restapi/Account/CallRecording/index.js +25 -79
- package/lib/paths/Restapi/Account/CallRecording/index.js.map +1 -1
- package/lib/paths/Restapi/Account/CallRecordings/index.js +12 -56
- package/lib/paths/Restapi/Account/CallRecordings/index.js.map +1 -1
- package/lib/paths/Restapi/Account/CustomFields/index.js +32 -106
- package/lib/paths/Restapi/Account/CustomFields/index.js.map +1 -1
- package/lib/paths/Restapi/Account/Device/Emergency/index.js +12 -56
- package/lib/paths/Restapi/Account/Device/Emergency/index.js.map +1 -1
- package/lib/paths/Restapi/Account/Device/SipInfo/index.js +12 -56
- package/lib/paths/Restapi/Account/Device/SipInfo/index.js.map +1 -1
- package/lib/paths/Restapi/Account/Device/index.js +30 -86
- package/lib/paths/Restapi/Account/Device/index.js.map +1 -1
- package/lib/paths/Restapi/Account/Directory/Entries/Search/index.js +12 -56
- package/lib/paths/Restapi/Account/Directory/Entries/Search/index.js.map +1 -1
- package/lib/paths/Restapi/Account/Directory/Entries/index.js +24 -79
- package/lib/paths/Restapi/Account/Directory/Entries/index.js.map +1 -1
- package/lib/paths/Restapi/Account/Directory/Federation/index.js +12 -56
- package/lib/paths/Restapi/Account/Directory/Federation/index.js.map +1 -1
- package/lib/paths/Restapi/Account/Directory/index.js +14 -14
- package/lib/paths/Restapi/Account/Directory/index.js.map +1 -1
- package/lib/paths/Restapi/Account/EmergencyAddressAutoUpdate/Devices/BulkAssign/index.js +12 -56
- package/lib/paths/Restapi/Account/EmergencyAddressAutoUpdate/Devices/BulkAssign/index.js.map +1 -1
- package/lib/paths/Restapi/Account/EmergencyAddressAutoUpdate/Devices/index.js +15 -59
- package/lib/paths/Restapi/Account/EmergencyAddressAutoUpdate/Devices/index.js.map +1 -1
- package/lib/paths/Restapi/Account/EmergencyAddressAutoUpdate/Networks/index.js +39 -123
- package/lib/paths/Restapi/Account/EmergencyAddressAutoUpdate/Networks/index.js.map +1 -1
- package/lib/paths/Restapi/Account/EmergencyAddressAutoUpdate/Switches/index.js +39 -123
- package/lib/paths/Restapi/Account/EmergencyAddressAutoUpdate/Switches/index.js.map +1 -1
- package/lib/paths/Restapi/Account/EmergencyAddressAutoUpdate/SwitchesBulkCreate/index.js +12 -56
- package/lib/paths/Restapi/Account/EmergencyAddressAutoUpdate/SwitchesBulkCreate/index.js.map +1 -1
- package/lib/paths/Restapi/Account/EmergencyAddressAutoUpdate/SwitchesBulkUpdate/index.js +12 -56
- package/lib/paths/Restapi/Account/EmergencyAddressAutoUpdate/SwitchesBulkUpdate/index.js.map +1 -1
- package/lib/paths/Restapi/Account/EmergencyAddressAutoUpdate/SwitchesBulkValidate/index.js +12 -56
- package/lib/paths/Restapi/Account/EmergencyAddressAutoUpdate/SwitchesBulkValidate/index.js.map +1 -1
- package/lib/paths/Restapi/Account/EmergencyAddressAutoUpdate/Tasks/index.js +17 -63
- package/lib/paths/Restapi/Account/EmergencyAddressAutoUpdate/Tasks/index.js.map +1 -1
- package/lib/paths/Restapi/Account/EmergencyAddressAutoUpdate/Users/BulkAssign/index.js +12 -56
- package/lib/paths/Restapi/Account/EmergencyAddressAutoUpdate/Users/BulkAssign/index.js.map +1 -1
- package/lib/paths/Restapi/Account/EmergencyAddressAutoUpdate/Users/index.js +15 -59
- package/lib/paths/Restapi/Account/EmergencyAddressAutoUpdate/Users/index.js.map +1 -1
- package/lib/paths/Restapi/Account/EmergencyAddressAutoUpdate/WirelessPoints/index.js +39 -123
- package/lib/paths/Restapi/Account/EmergencyAddressAutoUpdate/WirelessPoints/index.js.map +1 -1
- package/lib/paths/Restapi/Account/EmergencyAddressAutoUpdate/WirelessPointsBulkCreate/index.js +12 -56
- package/lib/paths/Restapi/Account/EmergencyAddressAutoUpdate/WirelessPointsBulkCreate/index.js.map +1 -1
- package/lib/paths/Restapi/Account/EmergencyAddressAutoUpdate/WirelessPointsBulkUpdate/index.js +12 -56
- package/lib/paths/Restapi/Account/EmergencyAddressAutoUpdate/WirelessPointsBulkUpdate/index.js.map +1 -1
- package/lib/paths/Restapi/Account/EmergencyAddressAutoUpdate/WirelessPointsBulkValidate/index.js +12 -56
- package/lib/paths/Restapi/Account/EmergencyAddressAutoUpdate/WirelessPointsBulkValidate/index.js.map +1 -1
- package/lib/paths/Restapi/Account/EmergencyAddressAutoUpdate/index.js +44 -47
- package/lib/paths/Restapi/Account/EmergencyAddressAutoUpdate/index.js.map +1 -1
- package/lib/paths/Restapi/Account/EmergencyLocations/index.js +39 -123
- package/lib/paths/Restapi/Account/EmergencyLocations/index.js.map +1 -1
- package/lib/paths/Restapi/Account/Extension/ActiveCalls/index.js +12 -56
- package/lib/paths/Restapi/Account/Extension/ActiveCalls/index.js.map +1 -1
- package/lib/paths/Restapi/Account/Extension/AddressBook/Contact/index.js +46 -140
- package/lib/paths/Restapi/Account/Extension/AddressBook/Contact/index.js.map +1 -1
- package/lib/paths/Restapi/Account/Extension/AddressBook/index.js +11 -11
- package/lib/paths/Restapi/Account/Extension/AddressBook/index.js.map +1 -1
- package/lib/paths/Restapi/Account/Extension/AddressBookSync/index.js +12 -56
- package/lib/paths/Restapi/Account/Extension/AddressBookSync/index.js.map +1 -1
- package/lib/paths/Restapi/Account/Extension/AdministeredSites/index.js +16 -69
- package/lib/paths/Restapi/Account/Extension/AdministeredSites/index.js.map +1 -1
- package/lib/paths/Restapi/Account/Extension/AnsweringRule/index.js +39 -123
- package/lib/paths/Restapi/Account/Extension/AnsweringRule/index.js.map +1 -1
- package/lib/paths/Restapi/Account/Extension/AssignableRoles/index.js +12 -56
- package/lib/paths/Restapi/Account/Extension/AssignableRoles/index.js.map +1 -1
- package/lib/paths/Restapi/Account/Extension/AssignedRole/Default/index.js +12 -56
- package/lib/paths/Restapi/Account/Extension/AssignedRole/Default/index.js.map +1 -1
- package/lib/paths/Restapi/Account/Extension/AssignedRole/index.js +19 -72
- package/lib/paths/Restapi/Account/Extension/AssignedRole/index.js.map +1 -1
- package/lib/paths/Restapi/Account/Extension/AuthzProfile/Check/index.js +12 -56
- package/lib/paths/Restapi/Account/Extension/AuthzProfile/Check/index.js.map +1 -1
- package/lib/paths/Restapi/Account/Extension/AuthzProfile/index.js +15 -59
- package/lib/paths/Restapi/Account/Extension/AuthzProfile/index.js.map +1 -1
- package/lib/paths/Restapi/Account/Extension/BusinessHours/index.js +16 -69
- package/lib/paths/Restapi/Account/Extension/BusinessHours/index.js.map +1 -1
- package/lib/paths/Restapi/Account/Extension/CallLog/index.js +25 -89
- package/lib/paths/Restapi/Account/Extension/CallLog/index.js.map +1 -1
- package/lib/paths/Restapi/Account/Extension/CallLogSync/index.js +12 -56
- package/lib/paths/Restapi/Account/Extension/CallLogSync/index.js.map +1 -1
- package/lib/paths/Restapi/Account/Extension/CallQueuePresence/index.js +16 -69
- package/lib/paths/Restapi/Account/Extension/CallQueuePresence/index.js.map +1 -1
- package/lib/paths/Restapi/Account/Extension/CallQueues/index.js +12 -56
- package/lib/paths/Restapi/Account/Extension/CallQueues/index.js.map +1 -1
- package/lib/paths/Restapi/Account/Extension/CallerBlocking/PhoneNumbers/index.js +39 -123
- package/lib/paths/Restapi/Account/Extension/CallerBlocking/PhoneNumbers/index.js.map +1 -1
- package/lib/paths/Restapi/Account/Extension/CallerBlocking/index.js +19 -73
- package/lib/paths/Restapi/Account/Extension/CallerBlocking/index.js.map +1 -1
- package/lib/paths/Restapi/Account/Extension/CallerId/index.js +16 -69
- package/lib/paths/Restapi/Account/Extension/CallerId/index.js.map +1 -1
- package/lib/paths/Restapi/Account/Extension/CompanyPager/index.js +12 -56
- package/lib/paths/Restapi/Account/Extension/CompanyPager/index.js.map +1 -1
- package/lib/paths/Restapi/Account/Extension/Conferencing/index.js +16 -69
- package/lib/paths/Restapi/Account/Extension/Conferencing/index.js.map +1 -1
- package/lib/paths/Restapi/Account/Extension/Device/index.js +12 -56
- package/lib/paths/Restapi/Account/Extension/Device/index.js.map +1 -1
- package/lib/paths/Restapi/Account/Extension/EmergencyLocations/index.js +39 -123
- package/lib/paths/Restapi/Account/Extension/EmergencyLocations/index.js.map +1 -1
- package/lib/paths/Restapi/Account/Extension/Favorite/index.js +16 -69
- package/lib/paths/Restapi/Account/Extension/Favorite/index.js.map +1 -1
- package/lib/paths/Restapi/Account/Extension/Fax/index.js +14 -60
- package/lib/paths/Restapi/Account/Extension/Fax/index.js.map +1 -1
- package/lib/paths/Restapi/Account/Extension/Features/index.js +12 -56
- package/lib/paths/Restapi/Account/Extension/Features/index.js.map +1 -1
- package/lib/paths/Restapi/Account/Extension/ForwardingNumber/index.js +43 -136
- package/lib/paths/Restapi/Account/Extension/ForwardingNumber/index.js.map +1 -1
- package/lib/paths/Restapi/Account/Extension/Grant/index.js +12 -56
- package/lib/paths/Restapi/Account/Extension/Grant/index.js.map +1 -1
- package/lib/paths/Restapi/Account/Extension/Greeting/Content/index.js +14 -66
- package/lib/paths/Restapi/Account/Extension/Greeting/Content/index.js.map +1 -1
- package/lib/paths/Restapi/Account/Extension/Greeting/index.js +26 -83
- package/lib/paths/Restapi/Account/Extension/Greeting/index.js.map +1 -1
- package/lib/paths/Restapi/Account/Extension/MessageStore/Content/index.js +19 -73
- package/lib/paths/Restapi/Account/Extension/MessageStore/Content/index.js.map +1 -1
- package/lib/paths/Restapi/Account/Extension/MessageStore/index.js +49 -144
- package/lib/paths/Restapi/Account/Extension/MessageStore/index.js.map +1 -1
- package/lib/paths/Restapi/Account/Extension/MessageStoreTemplates/index.js +39 -123
- package/lib/paths/Restapi/Account/Extension/MessageStoreTemplates/index.js.map +1 -1
- package/lib/paths/Restapi/Account/Extension/MessageSync/index.js +12 -56
- package/lib/paths/Restapi/Account/Extension/MessageSync/index.js.map +1 -1
- package/lib/paths/Restapi/Account/Extension/Mms/index.js +14 -60
- package/lib/paths/Restapi/Account/Extension/Mms/index.js.map +1 -1
- package/lib/paths/Restapi/Account/Extension/NotificationSettings/index.js +16 -69
- package/lib/paths/Restapi/Account/Extension/NotificationSettings/index.js.map +1 -1
- package/lib/paths/Restapi/Account/Extension/OverflowSettings/index.js +16 -69
- package/lib/paths/Restapi/Account/Extension/OverflowSettings/index.js.map +1 -1
- package/lib/paths/Restapi/Account/Extension/PhoneNumber/index.js +12 -56
- package/lib/paths/Restapi/Account/Extension/PhoneNumber/index.js.map +1 -1
- package/lib/paths/Restapi/Account/Extension/Presence/index.js +16 -69
- package/lib/paths/Restapi/Account/Extension/Presence/index.js.map +1 -1
- package/lib/paths/Restapi/Account/Extension/ProfileImage/index.js +40 -131
- package/lib/paths/Restapi/Account/Extension/ProfileImage/index.js.map +1 -1
- package/lib/paths/Restapi/Account/Extension/RingOut/index.js +28 -93
- package/lib/paths/Restapi/Account/Extension/RingOut/index.js.map +1 -1
- package/lib/paths/Restapi/Account/Extension/Sms/index.js +14 -60
- package/lib/paths/Restapi/Account/Extension/Sms/index.js.map +1 -1
- package/lib/paths/Restapi/Account/Extension/UnifiedPresence/index.js +16 -69
- package/lib/paths/Restapi/Account/Extension/UnifiedPresence/index.js.map +1 -1
- package/lib/paths/Restapi/Account/Extension/VideoConfiguration/index.js +12 -56
- package/lib/paths/Restapi/Account/Extension/VideoConfiguration/index.js.map +1 -1
- package/lib/paths/Restapi/Account/Extension/index.js +146 -229
- package/lib/paths/Restapi/Account/Extension/index.js.map +1 -1
- package/lib/paths/Restapi/Account/ExtensionBulkUpdate/Tasks/index.js +17 -63
- package/lib/paths/Restapi/Account/ExtensionBulkUpdate/Tasks/index.js.map +1 -1
- package/lib/paths/Restapi/Account/ExtensionBulkUpdate/index.js +15 -60
- package/lib/paths/Restapi/Account/ExtensionBulkUpdate/index.js.map +1 -1
- package/lib/paths/Restapi/Account/ForwardAllCalls/index.js +16 -69
- package/lib/paths/Restapi/Account/ForwardAllCalls/index.js.map +1 -1
- package/lib/paths/Restapi/Account/Greeting/Content/index.js +14 -66
- package/lib/paths/Restapi/Account/Greeting/Content/index.js.map +1 -1
- package/lib/paths/Restapi/Account/Greeting/index.js +17 -63
- package/lib/paths/Restapi/Account/Greeting/index.js.map +1 -1
- package/lib/paths/Restapi/Account/IvrMenus/index.js +32 -106
- package/lib/paths/Restapi/Account/IvrMenus/index.js.map +1 -1
- package/lib/paths/Restapi/Account/IvrPrompts/Content/index.js +14 -66
- package/lib/paths/Restapi/Account/IvrPrompts/Content/index.js.map +1 -1
- package/lib/paths/Restapi/Account/IvrPrompts/index.js +44 -130
- package/lib/paths/Restapi/Account/IvrPrompts/index.js.map +1 -1
- package/lib/paths/Restapi/Account/MessageStoreConfiguration/index.js +16 -69
- package/lib/paths/Restapi/Account/MessageStoreConfiguration/index.js.map +1 -1
- package/lib/paths/Restapi/Account/MessageStoreReport/Archive/index.js +12 -56
- package/lib/paths/Restapi/Account/MessageStoreReport/Archive/index.js.map +1 -1
- package/lib/paths/Restapi/Account/MessageStoreReport/index.js +24 -79
- package/lib/paths/Restapi/Account/MessageStoreReport/index.js.map +1 -1
- package/lib/paths/Restapi/Account/MessageStoreTemplates/index.js +39 -123
- package/lib/paths/Restapi/Account/MessageStoreTemplates/index.js.map +1 -1
- package/lib/paths/Restapi/Account/PagingOnlyGroups/BulkAssign/index.js +12 -56
- package/lib/paths/Restapi/Account/PagingOnlyGroups/BulkAssign/index.js.map +1 -1
- package/lib/paths/Restapi/Account/PagingOnlyGroups/Devices/index.js +12 -56
- package/lib/paths/Restapi/Account/PagingOnlyGroups/Devices/index.js.map +1 -1
- package/lib/paths/Restapi/Account/PagingOnlyGroups/Users/index.js +12 -56
- package/lib/paths/Restapi/Account/PagingOnlyGroups/Users/index.js.map +1 -1
- package/lib/paths/Restapi/Account/PagingOnlyGroups/index.js +19 -19
- package/lib/paths/Restapi/Account/PagingOnlyGroups/index.js.map +1 -1
- package/lib/paths/Restapi/Account/PhoneNumber/index.js +21 -76
- package/lib/paths/Restapi/Account/PhoneNumber/index.js.map +1 -1
- package/lib/paths/Restapi/Account/Presence/index.js +12 -56
- package/lib/paths/Restapi/Account/Presence/index.js.map +1 -1
- package/lib/paths/Restapi/Account/Recording/Content/index.js +14 -66
- package/lib/paths/Restapi/Account/Recording/Content/index.js.map +1 -1
- package/lib/paths/Restapi/Account/Recording/index.js +20 -66
- package/lib/paths/Restapi/Account/Recording/index.js.map +1 -1
- package/lib/paths/Restapi/Account/ServiceInfo/index.js +12 -56
- package/lib/paths/Restapi/Account/ServiceInfo/index.js.map +1 -1
- package/lib/paths/Restapi/Account/Sites/BulkAssign/index.js +12 -56
- package/lib/paths/Restapi/Account/Sites/BulkAssign/index.js.map +1 -1
- package/lib/paths/Restapi/Account/Sites/Ivr/index.js +16 -69
- package/lib/paths/Restapi/Account/Sites/Ivr/index.js.map +1 -1
- package/lib/paths/Restapi/Account/Sites/Members/index.js +12 -56
- package/lib/paths/Restapi/Account/Sites/Members/index.js.map +1 -1
- package/lib/paths/Restapi/Account/Sites/index.js +48 -132
- package/lib/paths/Restapi/Account/Sites/index.js.map +1 -1
- package/lib/paths/Restapi/Account/Telephony/CallOut/index.js +12 -56
- package/lib/paths/Restapi/Account/Telephony/CallOut/index.js.map +1 -1
- package/lib/paths/Restapi/Account/Telephony/Conference/index.js +12 -56
- package/lib/paths/Restapi/Account/Telephony/Conference/index.js.map +1 -1
- package/lib/paths/Restapi/Account/Telephony/Metadata/MultichannelRecordings/Content/index.js +12 -56
- package/lib/paths/Restapi/Account/Telephony/Metadata/MultichannelRecordings/Content/index.js.map +1 -1
- package/lib/paths/Restapi/Account/Telephony/Metadata/MultichannelRecordings/index.js +13 -13
- package/lib/paths/Restapi/Account/Telephony/Metadata/MultichannelRecordings/index.js.map +1 -1
- package/lib/paths/Restapi/Account/Telephony/Metadata/index.js +11 -11
- package/lib/paths/Restapi/Account/Telephony/Metadata/index.js.map +1 -1
- package/lib/paths/Restapi/Account/Telephony/Sessions/Parties/Answer/index.js +12 -56
- package/lib/paths/Restapi/Account/Telephony/Sessions/Parties/Answer/index.js.map +1 -1
- package/lib/paths/Restapi/Account/Telephony/Sessions/Parties/Bridge/index.js +12 -56
- package/lib/paths/Restapi/Account/Telephony/Sessions/Parties/Bridge/index.js.map +1 -1
- package/lib/paths/Restapi/Account/Telephony/Sessions/Parties/BringIn/index.js +12 -56
- package/lib/paths/Restapi/Account/Telephony/Sessions/Parties/BringIn/index.js.map +1 -1
- package/lib/paths/Restapi/Account/Telephony/Sessions/Parties/Flip/index.js +12 -56
- package/lib/paths/Restapi/Account/Telephony/Sessions/Parties/Flip/index.js.map +1 -1
- package/lib/paths/Restapi/Account/Telephony/Sessions/Parties/Forward/index.js +12 -56
- package/lib/paths/Restapi/Account/Telephony/Sessions/Parties/Forward/index.js.map +1 -1
- package/lib/paths/Restapi/Account/Telephony/Sessions/Parties/Hold/index.js +12 -56
- package/lib/paths/Restapi/Account/Telephony/Sessions/Parties/Hold/index.js.map +1 -1
- package/lib/paths/Restapi/Account/Telephony/Sessions/Parties/Ignore/index.js +12 -56
- package/lib/paths/Restapi/Account/Telephony/Sessions/Parties/Ignore/index.js.map +1 -1
- package/lib/paths/Restapi/Account/Telephony/Sessions/Parties/Park/index.js +12 -56
- package/lib/paths/Restapi/Account/Telephony/Sessions/Parties/Park/index.js.map +1 -1
- package/lib/paths/Restapi/Account/Telephony/Sessions/Parties/Pickup/index.js +12 -56
- package/lib/paths/Restapi/Account/Telephony/Sessions/Parties/Pickup/index.js.map +1 -1
- package/lib/paths/Restapi/Account/Telephony/Sessions/Parties/Recordings/index.js +21 -76
- package/lib/paths/Restapi/Account/Telephony/Sessions/Parties/Recordings/index.js.map +1 -1
- package/lib/paths/Restapi/Account/Telephony/Sessions/Parties/Reject/index.js +12 -56
- package/lib/paths/Restapi/Account/Telephony/Sessions/Parties/Reject/index.js.map +1 -1
- package/lib/paths/Restapi/Account/Telephony/Sessions/Parties/Reply/index.js +12 -56
- package/lib/paths/Restapi/Account/Telephony/Sessions/Parties/Reply/index.js.map +1 -1
- package/lib/paths/Restapi/Account/Telephony/Sessions/Parties/Supervise/index.js +12 -56
- package/lib/paths/Restapi/Account/Telephony/Sessions/Parties/Supervise/index.js.map +1 -1
- package/lib/paths/Restapi/Account/Telephony/Sessions/Parties/Transfer/index.js +12 -56
- package/lib/paths/Restapi/Account/Telephony/Sessions/Parties/Transfer/index.js.map +1 -1
- package/lib/paths/Restapi/Account/Telephony/Sessions/Parties/Unhold/index.js +12 -56
- package/lib/paths/Restapi/Account/Telephony/Sessions/Parties/Unhold/index.js.map +1 -1
- package/lib/paths/Restapi/Account/Telephony/Sessions/Parties/index.js +76 -143
- package/lib/paths/Restapi/Account/Telephony/Sessions/Parties/index.js.map +1 -1
- package/lib/paths/Restapi/Account/Telephony/Sessions/Supervise/index.js +12 -56
- package/lib/paths/Restapi/Account/Telephony/Sessions/Supervise/index.js.map +1 -1
- package/lib/paths/Restapi/Account/Telephony/Sessions/index.js +30 -87
- package/lib/paths/Restapi/Account/Telephony/Sessions/index.js.map +1 -1
- package/lib/paths/Restapi/Account/Telephony/index.js +20 -20
- package/lib/paths/Restapi/Account/Telephony/index.js.map +1 -1
- package/lib/paths/Restapi/Account/Templates/index.js +21 -76
- package/lib/paths/Restapi/Account/Templates/index.js.map +1 -1
- package/lib/paths/Restapi/Account/UserRole/BulkAssign/index.js +12 -56
- package/lib/paths/Restapi/Account/UserRole/BulkAssign/index.js.map +1 -1
- package/lib/paths/Restapi/Account/UserRole/Default/index.js +16 -69
- package/lib/paths/Restapi/Account/UserRole/Default/index.js.map +1 -1
- package/lib/paths/Restapi/Account/UserRole/index.js +45 -129
- package/lib/paths/Restapi/Account/UserRole/index.js.map +1 -1
- package/lib/paths/Restapi/Account/index.js +128 -192
- package/lib/paths/Restapi/Account/index.js.map +1 -1
- package/lib/paths/Restapi/ClientInfo/SipProvision/index.js +12 -56
- package/lib/paths/Restapi/ClientInfo/SipProvision/index.js.map +1 -1
- package/lib/paths/Restapi/ClientInfo/index.js +11 -10
- package/lib/paths/Restapi/ClientInfo/index.js.map +1 -1
- package/lib/paths/Restapi/Dictionary/Brand/ContractedCountry/index.js +21 -76
- package/lib/paths/Restapi/Dictionary/Brand/ContractedCountry/index.js.map +1 -1
- package/lib/paths/Restapi/Dictionary/Brand/index.js +13 -14
- package/lib/paths/Restapi/Dictionary/Brand/index.js.map +1 -1
- package/lib/paths/Restapi/Dictionary/Country/index.js +21 -76
- package/lib/paths/Restapi/Dictionary/Country/index.js.map +1 -1
- package/lib/paths/Restapi/Dictionary/FaxCoverPage/index.js +12 -56
- package/lib/paths/Restapi/Dictionary/FaxCoverPage/index.js.map +1 -1
- package/lib/paths/Restapi/Dictionary/Greeting/index.js +21 -76
- package/lib/paths/Restapi/Dictionary/Greeting/index.js.map +1 -1
- package/lib/paths/Restapi/Dictionary/Language/index.js +21 -76
- package/lib/paths/Restapi/Dictionary/Language/index.js.map +1 -1
- package/lib/paths/Restapi/Dictionary/Location/index.js +12 -56
- package/lib/paths/Restapi/Dictionary/Location/index.js.map +1 -1
- package/lib/paths/Restapi/Dictionary/Permission/index.js +21 -76
- package/lib/paths/Restapi/Dictionary/Permission/index.js.map +1 -1
- package/lib/paths/Restapi/Dictionary/PermissionCategory/index.js +21 -76
- package/lib/paths/Restapi/Dictionary/PermissionCategory/index.js.map +1 -1
- package/lib/paths/Restapi/Dictionary/State/index.js +21 -76
- package/lib/paths/Restapi/Dictionary/State/index.js.map +1 -1
- package/lib/paths/Restapi/Dictionary/Timezone/index.js +21 -76
- package/lib/paths/Restapi/Dictionary/Timezone/index.js.map +1 -1
- package/lib/paths/Restapi/Dictionary/UserRole/index.js +21 -76
- package/lib/paths/Restapi/Dictionary/UserRole/index.js.map +1 -1
- package/lib/paths/Restapi/Dictionary/index.js +41 -49
- package/lib/paths/Restapi/Dictionary/index.js.map +1 -1
- package/lib/paths/Restapi/NumberParser/Parse/index.js +12 -56
- package/lib/paths/Restapi/NumberParser/Parse/index.js.map +1 -1
- package/lib/paths/Restapi/NumberParser/index.js +11 -10
- package/lib/paths/Restapi/NumberParser/index.js.map +1 -1
- package/lib/paths/Restapi/Oauth/Authorize/index.js +16 -69
- package/lib/paths/Restapi/Oauth/Authorize/index.js.map +1 -1
- package/lib/paths/Restapi/Oauth/Revoke/index.js +12 -56
- package/lib/paths/Restapi/Oauth/Revoke/index.js.map +1 -1
- package/lib/paths/Restapi/Oauth/Token/index.js +12 -56
- package/lib/paths/Restapi/Oauth/Token/index.js.map +1 -1
- package/lib/paths/Restapi/Oauth/index.js +17 -16
- package/lib/paths/Restapi/Oauth/index.js.map +1 -1
- package/lib/paths/Restapi/Subscription/Renew/index.js +12 -56
- package/lib/paths/Restapi/Subscription/Renew/index.js.map +1 -1
- package/lib/paths/Restapi/Subscription/index.js +42 -126
- package/lib/paths/Restapi/Subscription/index.js.map +1 -1
- package/lib/paths/Restapi/V2/Accounts/BatchProvisioning/Users/index.js +12 -56
- package/lib/paths/Restapi/V2/Accounts/BatchProvisioning/Users/index.js.map +1 -1
- package/lib/paths/Restapi/V2/Accounts/BatchProvisioning/index.js +11 -10
- package/lib/paths/Restapi/V2/Accounts/BatchProvisioning/index.js.map +1 -1
- package/lib/paths/Restapi/V2/Accounts/CostCenters/index.js +12 -56
- package/lib/paths/Restapi/V2/Accounts/CostCenters/index.js.map +1 -1
- package/lib/paths/Restapi/V2/Accounts/DeviceInventory/index.js +16 -69
- package/lib/paths/Restapi/V2/Accounts/DeviceInventory/index.js.map +1 -1
- package/lib/paths/Restapi/V2/Accounts/Devices/BulkAdd/index.js +12 -56
- package/lib/paths/Restapi/V2/Accounts/Devices/BulkAdd/index.js.map +1 -1
- package/lib/paths/Restapi/V2/Accounts/Devices/index.js +20 -66
- package/lib/paths/Restapi/V2/Accounts/Devices/index.js.map +1 -1
- package/lib/paths/Restapi/V2/Accounts/Extensions/CallFlipNumbers/index.js +16 -69
- package/lib/paths/Restapi/V2/Accounts/Extensions/CallFlipNumbers/index.js.map +1 -1
- package/lib/paths/Restapi/V2/Accounts/Extensions/Devices/Replace/index.js +12 -56
- package/lib/paths/Restapi/V2/Accounts/Extensions/Devices/Replace/index.js.map +1 -1
- package/lib/paths/Restapi/V2/Accounts/Extensions/Devices/index.js +13 -13
- package/lib/paths/Restapi/V2/Accounts/Extensions/Devices/index.js.map +1 -1
- package/lib/paths/Restapi/V2/Accounts/Extensions/index.js +18 -63
- package/lib/paths/Restapi/V2/Accounts/Extensions/index.js.map +1 -1
- package/lib/paths/Restapi/V2/Accounts/PhoneNumbers/BulkAdd/index.js +21 -76
- package/lib/paths/Restapi/V2/Accounts/PhoneNumbers/BulkAdd/index.js.map +1 -1
- package/lib/paths/Restapi/V2/Accounts/PhoneNumbers/Replace/index.js +12 -56
- package/lib/paths/Restapi/V2/Accounts/PhoneNumbers/Replace/index.js.map +1 -1
- package/lib/paths/Restapi/V2/Accounts/PhoneNumbers/index.js +31 -96
- package/lib/paths/Restapi/V2/Accounts/PhoneNumbers/index.js.map +1 -1
- package/lib/paths/Restapi/V2/Accounts/SendActivationEmail/index.js +12 -56
- package/lib/paths/Restapi/V2/Accounts/SendActivationEmail/index.js.map +1 -1
- package/lib/paths/Restapi/V2/Accounts/SendWelcomeEmail/index.js +12 -56
- package/lib/paths/Restapi/V2/Accounts/SendWelcomeEmail/index.js.map +1 -1
- package/lib/paths/Restapi/V2/Accounts/index.js +41 -89
- package/lib/paths/Restapi/V2/Accounts/index.js.map +1 -1
- package/lib/paths/Restapi/V2/index.js +11 -11
- package/lib/paths/Restapi/V2/index.js.map +1 -1
- package/lib/paths/Restapi/index.js +40 -98
- package/lib/paths/Restapi/index.js.map +1 -1
- package/lib/paths/Scim/ResourceTypes/index.js +21 -76
- package/lib/paths/Scim/ResourceTypes/index.js.map +1 -1
- package/lib/paths/Scim/Schemas/index.js +21 -76
- package/lib/paths/Scim/Schemas/index.js.map +1 -1
- package/lib/paths/Scim/ServiceProviderConfig/index.js +12 -56
- package/lib/paths/Scim/ServiceProviderConfig/index.js.map +1 -1
- package/lib/paths/Scim/Users/DotSearch/index.js +12 -56
- package/lib/paths/Scim/Users/DotSearch/index.js.map +1 -1
- package/lib/paths/Scim/Users/index.js +49 -143
- package/lib/paths/Scim/Users/index.js.map +1 -1
- package/lib/paths/Scim/index.js +20 -24
- package/lib/paths/Scim/index.js.map +1 -1
- package/lib/paths/TeamMessaging/V1/AdaptiveCards/index.js +31 -97
- package/lib/paths/TeamMessaging/V1/AdaptiveCards/index.js.map +1 -1
- package/lib/paths/TeamMessaging/V1/Chats/AdaptiveCards/index.js +12 -56
- package/lib/paths/TeamMessaging/V1/Chats/AdaptiveCards/index.js.map +1 -1
- package/lib/paths/TeamMessaging/V1/Chats/Favorite/index.js +12 -56
- package/lib/paths/TeamMessaging/V1/Chats/Favorite/index.js.map +1 -1
- package/lib/paths/TeamMessaging/V1/Chats/Notes/index.js +16 -69
- package/lib/paths/TeamMessaging/V1/Chats/Notes/index.js.map +1 -1
- package/lib/paths/TeamMessaging/V1/Chats/Posts/index.js +39 -123
- package/lib/paths/TeamMessaging/V1/Chats/Posts/index.js.map +1 -1
- package/lib/paths/TeamMessaging/V1/Chats/Tasks/index.js +16 -69
- package/lib/paths/TeamMessaging/V1/Chats/Tasks/index.js.map +1 -1
- package/lib/paths/TeamMessaging/V1/Chats/Unfavorite/index.js +12 -56
- package/lib/paths/TeamMessaging/V1/Chats/Unfavorite/index.js.map +1 -1
- package/lib/paths/TeamMessaging/V1/Chats/index.js +39 -95
- package/lib/paths/TeamMessaging/V1/Chats/index.js.map +1 -1
- package/lib/paths/TeamMessaging/V1/Companies/index.js +17 -63
- package/lib/paths/TeamMessaging/V1/Companies/index.js.map +1 -1
- package/lib/paths/TeamMessaging/V1/Conversations/index.js +25 -89
- package/lib/paths/TeamMessaging/V1/Conversations/index.js.map +1 -1
- package/lib/paths/TeamMessaging/V1/DataExport/index.js +25 -89
- package/lib/paths/TeamMessaging/V1/DataExport/index.js.map +1 -1
- package/lib/paths/TeamMessaging/V1/Events/index.js +39 -123
- package/lib/paths/TeamMessaging/V1/Events/index.js.map +1 -1
- package/lib/paths/TeamMessaging/V1/Everyone/index.js +16 -69
- package/lib/paths/TeamMessaging/V1/Everyone/index.js.map +1 -1
- package/lib/paths/TeamMessaging/V1/Favorites/index.js +12 -56
- package/lib/paths/TeamMessaging/V1/Favorites/index.js.map +1 -1
- package/lib/paths/TeamMessaging/V1/Files/index.js +14 -60
- package/lib/paths/TeamMessaging/V1/Files/index.js.map +1 -1
- package/lib/paths/TeamMessaging/V1/Groups/Events/index.js +16 -69
- package/lib/paths/TeamMessaging/V1/Groups/Events/index.js.map +1 -1
- package/lib/paths/TeamMessaging/V1/Groups/Webhooks/index.js +16 -69
- package/lib/paths/TeamMessaging/V1/Groups/Webhooks/index.js.map +1 -1
- package/lib/paths/TeamMessaging/V1/Groups/index.js +16 -16
- package/lib/paths/TeamMessaging/V1/Groups/index.js.map +1 -1
- package/lib/paths/TeamMessaging/V1/Notes/Lock/index.js +12 -56
- package/lib/paths/TeamMessaging/V1/Notes/Lock/index.js.map +1 -1
- package/lib/paths/TeamMessaging/V1/Notes/Publish/index.js +12 -56
- package/lib/paths/TeamMessaging/V1/Notes/Publish/index.js.map +1 -1
- package/lib/paths/TeamMessaging/V1/Notes/Unlock/index.js +12 -56
- package/lib/paths/TeamMessaging/V1/Notes/Unlock/index.js.map +1 -1
- package/lib/paths/TeamMessaging/V1/Notes/index.js +40 -106
- package/lib/paths/TeamMessaging/V1/Notes/index.js.map +1 -1
- package/lib/paths/TeamMessaging/V1/Persons/index.js +17 -63
- package/lib/paths/TeamMessaging/V1/Persons/index.js.map +1 -1
- package/lib/paths/TeamMessaging/V1/Recent/Chats/index.js +12 -56
- package/lib/paths/TeamMessaging/V1/Recent/Chats/index.js.map +1 -1
- package/lib/paths/TeamMessaging/V1/Recent/index.js +11 -10
- package/lib/paths/TeamMessaging/V1/Recent/index.js.map +1 -1
- package/lib/paths/TeamMessaging/V1/Tasks/Complete/index.js +12 -56
- package/lib/paths/TeamMessaging/V1/Tasks/Complete/index.js.map +1 -1
- package/lib/paths/TeamMessaging/V1/Tasks/index.js +34 -100
- package/lib/paths/TeamMessaging/V1/Tasks/index.js.map +1 -1
- package/lib/paths/TeamMessaging/V1/Teams/Add/index.js +12 -56
- package/lib/paths/TeamMessaging/V1/Teams/Add/index.js.map +1 -1
- package/lib/paths/TeamMessaging/V1/Teams/Archive/index.js +12 -56
- package/lib/paths/TeamMessaging/V1/Teams/Archive/index.js.map +1 -1
- package/lib/paths/TeamMessaging/V1/Teams/Join/index.js +12 -56
- package/lib/paths/TeamMessaging/V1/Teams/Join/index.js.map +1 -1
- package/lib/paths/TeamMessaging/V1/Teams/Leave/index.js +12 -56
- package/lib/paths/TeamMessaging/V1/Teams/Leave/index.js.map +1 -1
- package/lib/paths/TeamMessaging/V1/Teams/Remove/index.js +12 -56
- package/lib/paths/TeamMessaging/V1/Teams/Remove/index.js.map +1 -1
- package/lib/paths/TeamMessaging/V1/Teams/Unarchive/index.js +12 -56
- package/lib/paths/TeamMessaging/V1/Teams/Unarchive/index.js.map +1 -1
- package/lib/paths/TeamMessaging/V1/Teams/index.js +57 -141
- package/lib/paths/TeamMessaging/V1/Teams/index.js.map +1 -1
- package/lib/paths/TeamMessaging/V1/Webhooks/Activate/index.js +12 -56
- package/lib/paths/TeamMessaging/V1/Webhooks/Activate/index.js.map +1 -1
- package/lib/paths/TeamMessaging/V1/Webhooks/Suspend/index.js +12 -56
- package/lib/paths/TeamMessaging/V1/Webhooks/Suspend/index.js.map +1 -1
- package/lib/paths/TeamMessaging/V1/Webhooks/index.js +34 -99
- package/lib/paths/TeamMessaging/V1/Webhooks/index.js.map +1 -1
- package/lib/paths/TeamMessaging/V1/index.js +56 -67
- package/lib/paths/TeamMessaging/V1/index.js.map +1 -1
- package/lib/paths/TeamMessaging/index.js +9 -9
- package/lib/paths/TeamMessaging/index.js.map +1 -1
- package/lib/paths/Webinar/Configuration/V1/Company/Sessions/index.js +12 -56
- package/lib/paths/Webinar/Configuration/V1/Company/Sessions/index.js.map +1 -1
- package/lib/paths/Webinar/Configuration/V1/Company/index.js +11 -10
- package/lib/paths/Webinar/Configuration/V1/Company/index.js.map +1 -1
- package/lib/paths/Webinar/Configuration/V1/Sessions/index.js +12 -56
- package/lib/paths/Webinar/Configuration/V1/Sessions/index.js.map +1 -1
- package/lib/paths/Webinar/Configuration/V1/Webinars/Sessions/Invitees/index.js +39 -123
- package/lib/paths/Webinar/Configuration/V1/Webinars/Sessions/Invitees/index.js.map +1 -1
- package/lib/paths/Webinar/Configuration/V1/Webinars/Sessions/index.js +38 -114
- package/lib/paths/Webinar/Configuration/V1/Webinars/Sessions/index.js.map +1 -1
- package/lib/paths/Webinar/Configuration/V1/Webinars/index.js +42 -127
- package/lib/paths/Webinar/Configuration/V1/Webinars/index.js.map +1 -1
- package/lib/paths/Webinar/Configuration/V1/index.js +17 -17
- package/lib/paths/Webinar/Configuration/V1/index.js.map +1 -1
- package/lib/paths/Webinar/Configuration/index.js +11 -10
- package/lib/paths/Webinar/Configuration/index.js.map +1 -1
- package/lib/paths/Webinar/History/V1/Company/Recordings/index.js +21 -76
- package/lib/paths/Webinar/History/V1/Company/Recordings/index.js.map +1 -1
- package/lib/paths/Webinar/History/V1/Company/Sessions/index.js +12 -56
- package/lib/paths/Webinar/History/V1/Company/Sessions/index.js.map +1 -1
- package/lib/paths/Webinar/History/V1/Company/index.js +14 -14
- package/lib/paths/Webinar/History/V1/Company/index.js.map +1 -1
- package/lib/paths/Webinar/History/V1/Recordings/Download/index.js +12 -56
- package/lib/paths/Webinar/History/V1/Recordings/Download/index.js.map +1 -1
- package/lib/paths/Webinar/History/V1/Recordings/index.js +24 -79
- package/lib/paths/Webinar/History/V1/Recordings/index.js.map +1 -1
- package/lib/paths/Webinar/History/V1/Sessions/index.js +12 -56
- package/lib/paths/Webinar/History/V1/Sessions/index.js.map +1 -1
- package/lib/paths/Webinar/History/V1/Webinars/Sessions/Invitees/index.js +21 -76
- package/lib/paths/Webinar/History/V1/Webinars/Sessions/Invitees/index.js.map +1 -1
- package/lib/paths/Webinar/History/V1/Webinars/Sessions/Participants/Self/index.js +12 -56
- package/lib/paths/Webinar/History/V1/Webinars/Sessions/Participants/Self/index.js.map +1 -1
- package/lib/paths/Webinar/History/V1/Webinars/Sessions/Participants/index.js +15 -59
- package/lib/paths/Webinar/History/V1/Webinars/Sessions/Participants/index.js.map +1 -1
- package/lib/paths/Webinar/History/V1/Webinars/Sessions/index.js +23 -70
- package/lib/paths/Webinar/History/V1/Webinars/Sessions/index.js.map +1 -1
- package/lib/paths/Webinar/History/V1/Webinars/index.js +20 -67
- package/lib/paths/Webinar/History/V1/Webinars/index.js.map +1 -1
- package/lib/paths/Webinar/History/V1/index.js +20 -21
- package/lib/paths/Webinar/History/V1/index.js.map +1 -1
- package/lib/paths/Webinar/History/index.js +11 -10
- package/lib/paths/Webinar/History/index.js.map +1 -1
- package/lib/paths/Webinar/Notifications/V1/Subscriptions/Renew/index.js +12 -56
- package/lib/paths/Webinar/Notifications/V1/Subscriptions/Renew/index.js.map +1 -1
- package/lib/paths/Webinar/Notifications/V1/Subscriptions/index.js +42 -126
- package/lib/paths/Webinar/Notifications/V1/Subscriptions/index.js.map +1 -1
- package/lib/paths/Webinar/Notifications/V1/index.js +11 -11
- package/lib/paths/Webinar/Notifications/V1/index.js.map +1 -1
- package/lib/paths/Webinar/Notifications/index.js +11 -10
- package/lib/paths/Webinar/Notifications/index.js.map +1 -1
- package/lib/paths/Webinar/Registration/V1/Sessions/Registrants/index.js +32 -106
- package/lib/paths/Webinar/Registration/V1/Sessions/Registrants/index.js.map +1 -1
- package/lib/paths/Webinar/Registration/V1/Sessions/index.js +27 -84
- package/lib/paths/Webinar/Registration/V1/Sessions/index.js.map +1 -1
- package/lib/paths/Webinar/Registration/V1/index.js +11 -11
- package/lib/paths/Webinar/Registration/V1/index.js.map +1 -1
- package/lib/paths/Webinar/Registration/index.js +11 -10
- package/lib/paths/Webinar/Registration/index.js.map +1 -1
- package/lib/paths/Webinar/index.js +18 -18
- package/lib/paths/Webinar/index.js.map +1 -1
- package/package.json +2 -2
- package/tsconfig.json +5 -1
|
@@ -1,64 +1,29 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
-
});
|
|
10
|
-
};
|
|
11
|
-
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
12
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
13
|
-
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
14
|
-
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
15
|
-
function step(op) {
|
|
16
|
-
if (f) throw new TypeError("Generator is already executing.");
|
|
17
|
-
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
18
|
-
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
19
|
-
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
20
|
-
switch (op[0]) {
|
|
21
|
-
case 0: case 1: t = op; break;
|
|
22
|
-
case 4: _.label++; return { value: op[1], done: false };
|
|
23
|
-
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
24
|
-
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
25
|
-
default:
|
|
26
|
-
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
27
|
-
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
28
|
-
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
29
|
-
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
30
|
-
if (t[2]) _.ops.pop();
|
|
31
|
-
_.trys.pop(); continue;
|
|
32
|
-
}
|
|
33
|
-
op = body.call(thisArg, _);
|
|
34
|
-
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
35
|
-
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
36
|
-
}
|
|
37
|
-
};
|
|
38
2
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
39
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
40
4
|
};
|
|
41
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
6
|
+
const index_js_1 = __importDefault(require("./AdaptiveCards/index.js"));
|
|
7
|
+
const index_js_2 = __importDefault(require("./Unfavorite/index.js"));
|
|
8
|
+
const index_js_3 = __importDefault(require("./Favorite/index.js"));
|
|
9
|
+
const index_js_4 = __importDefault(require("./Notes/index.js"));
|
|
10
|
+
const index_js_5 = __importDefault(require("./Tasks/index.js"));
|
|
11
|
+
const index_js_6 = __importDefault(require("./Posts/index.js"));
|
|
12
|
+
class Index {
|
|
13
|
+
rc;
|
|
14
|
+
_parent;
|
|
15
|
+
chatId;
|
|
16
|
+
constructor(_parent, chatId = null) {
|
|
51
17
|
this._parent = _parent;
|
|
52
18
|
this.rc = _parent.rc;
|
|
53
19
|
this.chatId = chatId;
|
|
54
20
|
}
|
|
55
|
-
|
|
56
|
-
if (withParameter === void 0) { withParameter = true; }
|
|
21
|
+
path(withParameter = true) {
|
|
57
22
|
if (withParameter && this.chatId !== null) {
|
|
58
|
-
return
|
|
23
|
+
return `${this._parent.path()}/chats/${this.chatId}`;
|
|
59
24
|
}
|
|
60
|
-
return
|
|
61
|
-
}
|
|
25
|
+
return `${this._parent.path()}/chats`;
|
|
26
|
+
}
|
|
62
27
|
/**
|
|
63
28
|
* Returns the list of chats where the user is a member and also public teams that can be joined.
|
|
64
29
|
*
|
|
@@ -79,19 +44,10 @@ var Index = /** @class */ (function () {
|
|
|
79
44
|
* Rate Limit Group: Medium
|
|
80
45
|
* App Permission: TeamMessaging
|
|
81
46
|
*/
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
switch (_a.label) {
|
|
87
|
-
case 0: return [4 /*yield*/, this.rc.get(this.path(false), queryParams, restRequestConfig)];
|
|
88
|
-
case 1:
|
|
89
|
-
r = _a.sent();
|
|
90
|
-
return [2 /*return*/, r.data];
|
|
91
|
-
}
|
|
92
|
-
});
|
|
93
|
-
});
|
|
94
|
-
};
|
|
47
|
+
async list(queryParams, restRequestConfig) {
|
|
48
|
+
const r = await this.rc.get(this.path(false), queryParams, restRequestConfig);
|
|
49
|
+
return r.data;
|
|
50
|
+
}
|
|
95
51
|
/**
|
|
96
52
|
* Returns information about a chat by ID.
|
|
97
53
|
*
|
|
@@ -102,43 +58,31 @@ var Index = /** @class */ (function () {
|
|
|
102
58
|
* Rate Limit Group: Light
|
|
103
59
|
* App Permission: TeamMessaging
|
|
104
60
|
*/
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
}
|
|
114
|
-
return [4 /*yield*/, this.rc.get(this.path(), undefined, restRequestConfig)];
|
|
115
|
-
case 1:
|
|
116
|
-
r = _a.sent();
|
|
117
|
-
return [2 /*return*/, r.data];
|
|
118
|
-
}
|
|
119
|
-
});
|
|
120
|
-
});
|
|
121
|
-
};
|
|
122
|
-
Index.prototype.posts = function (postId) {
|
|
123
|
-
if (postId === void 0) { postId = null; }
|
|
61
|
+
async get(restRequestConfig) {
|
|
62
|
+
if (this.chatId === null) {
|
|
63
|
+
throw new Error("chatId must be specified.");
|
|
64
|
+
}
|
|
65
|
+
const r = await this.rc.get(this.path(), undefined, restRequestConfig);
|
|
66
|
+
return r.data;
|
|
67
|
+
}
|
|
68
|
+
posts(postId = null) {
|
|
124
69
|
return new index_js_6.default(this, postId);
|
|
125
|
-
}
|
|
126
|
-
|
|
70
|
+
}
|
|
71
|
+
tasks() {
|
|
127
72
|
return new index_js_5.default(this);
|
|
128
|
-
}
|
|
129
|
-
|
|
73
|
+
}
|
|
74
|
+
notes() {
|
|
130
75
|
return new index_js_4.default(this);
|
|
131
|
-
}
|
|
132
|
-
|
|
76
|
+
}
|
|
77
|
+
favorite() {
|
|
133
78
|
return new index_js_3.default(this);
|
|
134
|
-
}
|
|
135
|
-
|
|
79
|
+
}
|
|
80
|
+
unfavorite() {
|
|
136
81
|
return new index_js_2.default(this);
|
|
137
|
-
}
|
|
138
|
-
|
|
82
|
+
}
|
|
83
|
+
adaptiveCards() {
|
|
139
84
|
return new index_js_1.default(this);
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
}());
|
|
85
|
+
}
|
|
86
|
+
}
|
|
143
87
|
exports.default = Index;
|
|
144
88
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/paths/TeamMessaging/V1/Chats/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/paths/TeamMessaging/V1/Chats/index.ts"],"names":[],"mappings":";;;;;AAAA,wEAAqD;AACrD,qEAA+C;AAC/C,mEAA2C;AAC3C,gEAAqC;AACrC,gEAAqC;AACrC,gEAAqC;AAUrC,MAAM,KAAK;IACF,EAAE,CAAuB;IACzB,OAAO,CAAkB;IACzB,MAAM,CAAgB;IAE7B,YAAmB,OAAwB,EAAE,SAAwB,IAAI;QACvE,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,EAAE,GAAG,OAAO,CAAC,EAAE,CAAC;QACrB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IACM,IAAI,CAAC,aAAa,GAAG,IAAI;QAC9B,IAAI,aAAa,IAAI,IAAI,CAAC,MAAM,KAAK,IAAI,EAAE,CAAC;YAC1C,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,UAAU,IAAI,CAAC,MAAM,EAAE,CAAC;QACvD,CAAC;QACD,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,QAAQ,CAAC;IACxC,CAAC;IACD;;;;;;;;;;;;;;;;;;;OAmBG;IACI,KAAK,CAAC,IAAI,CACf,WAAwC,EACxC,iBAAqC;QAErC,MAAM,CAAC,GAAG,MAAM,IAAI,CAAC,EAAE,CAAC,GAAG,CACzB,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,EAChB,WAAW,EACX,iBAAiB,CAClB,CAAC;QACF,OAAO,CAAC,CAAC,IAAI,CAAC;IAChB,CAAC;IAED;;;;;;;;;OASG;IACI,KAAK,CAAC,GAAG,CAAC,iBAAqC;QACpD,IAAI,IAAI,CAAC,MAAM,KAAK,IAAI,EAAE,CAAC;YACzB,MAAM,IAAI,KAAK,CAAC,2BAA2B,CAAC,CAAC;QAC/C,CAAC;QACD,MAAM,CAAC,GAAG,MAAM,IAAI,CAAC,EAAE,CAAC,GAAG,CACzB,IAAI,CAAC,IAAI,EAAE,EACX,SAAS,EACT,iBAAiB,CAClB,CAAC;QACF,OAAO,CAAC,CAAC,IAAI,CAAC;IAChB,CAAC;IAEM,KAAK,CAAC,SAAwB,IAAI;QACvC,OAAO,IAAI,kBAAK,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;IACjC,CAAC;IAEM,KAAK;QACV,OAAO,IAAI,kBAAK,CAAC,IAAI,CAAC,CAAC;IACzB,CAAC;IAEM,KAAK;QACV,OAAO,IAAI,kBAAK,CAAC,IAAI,CAAC,CAAC;IACzB,CAAC;IAEM,QAAQ;QACb,OAAO,IAAI,kBAAQ,CAAC,IAAI,CAAC,CAAC;IAC5B,CAAC;IAEM,UAAU;QACf,OAAO,IAAI,kBAAU,CAAC,IAAI,CAAC,CAAC;IAC9B,CAAC;IAEM,aAAa;QAClB,OAAO,IAAI,kBAAa,CAAC,IAAI,CAAC,CAAC;IACjC,CAAC;CACF;AACD,kBAAe,KAAK,CAAC"}
|
|
@@ -1,55 +1,20 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
-
});
|
|
10
|
-
};
|
|
11
|
-
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
12
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
13
|
-
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
14
|
-
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
15
|
-
function step(op) {
|
|
16
|
-
if (f) throw new TypeError("Generator is already executing.");
|
|
17
|
-
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
18
|
-
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
19
|
-
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
20
|
-
switch (op[0]) {
|
|
21
|
-
case 0: case 1: t = op; break;
|
|
22
|
-
case 4: _.label++; return { value: op[1], done: false };
|
|
23
|
-
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
24
|
-
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
25
|
-
default:
|
|
26
|
-
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
27
|
-
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
28
|
-
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
29
|
-
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
30
|
-
if (t[2]) _.ops.pop();
|
|
31
|
-
_.trys.pop(); continue;
|
|
32
|
-
}
|
|
33
|
-
op = body.call(thisArg, _);
|
|
34
|
-
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
35
|
-
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
36
|
-
}
|
|
37
|
-
};
|
|
38
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
3
|
+
class Index {
|
|
4
|
+
rc;
|
|
5
|
+
_parent;
|
|
6
|
+
companyId;
|
|
7
|
+
constructor(_parent, companyId = null) {
|
|
42
8
|
this._parent = _parent;
|
|
43
9
|
this.rc = _parent.rc;
|
|
44
10
|
this.companyId = companyId;
|
|
45
11
|
}
|
|
46
|
-
|
|
47
|
-
if (withParameter === void 0) { withParameter = true; }
|
|
12
|
+
path(withParameter = true) {
|
|
48
13
|
if (withParameter && this.companyId !== null) {
|
|
49
|
-
return
|
|
14
|
+
return `${this._parent.path()}/companies/${this.companyId}`;
|
|
50
15
|
}
|
|
51
|
-
return
|
|
52
|
-
}
|
|
16
|
+
return `${this._parent.path()}/companies`;
|
|
17
|
+
}
|
|
53
18
|
/**
|
|
54
19
|
* Returns information about one or more companies by their IDs.
|
|
55
20
|
* HTTP Method: get
|
|
@@ -57,24 +22,13 @@ var Index = /** @class */ (function () {
|
|
|
57
22
|
* Rate Limit Group: Light
|
|
58
23
|
* App Permission: TeamMessaging
|
|
59
24
|
*/
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
}
|
|
69
|
-
return [4 /*yield*/, this.rc.get(this.path(), undefined, restRequestConfig)];
|
|
70
|
-
case 1:
|
|
71
|
-
r = _a.sent();
|
|
72
|
-
return [2 /*return*/, r.data];
|
|
73
|
-
}
|
|
74
|
-
});
|
|
75
|
-
});
|
|
76
|
-
};
|
|
77
|
-
return Index;
|
|
78
|
-
}());
|
|
25
|
+
async get(restRequestConfig) {
|
|
26
|
+
if (this.companyId === null) {
|
|
27
|
+
throw new Error("companyId must be specified.");
|
|
28
|
+
}
|
|
29
|
+
const r = await this.rc.get(this.path(), undefined, restRequestConfig);
|
|
30
|
+
return r.data;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
79
33
|
exports.default = Index;
|
|
80
34
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/paths/TeamMessaging/V1/Companies/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/paths/TeamMessaging/V1/Companies/index.ts"],"names":[],"mappings":";;AAOA,MAAM,KAAK;IACF,EAAE,CAAuB;IACzB,OAAO,CAAkB;IACzB,SAAS,CAAgB;IAEhC,YACE,OAAwB,EACxB,YAA2B,IAAI;QAE/B,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,EAAE,GAAG,OAAO,CAAC,EAAE,CAAC;QACrB,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;IAC7B,CAAC;IACM,IAAI,CAAC,aAAa,GAAG,IAAI;QAC9B,IAAI,aAAa,IAAI,IAAI,CAAC,SAAS,KAAK,IAAI,EAAE,CAAC;YAC7C,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,cAAc,IAAI,CAAC,SAAS,EAAE,CAAC;QAC9D,CAAC;QACD,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,YAAY,CAAC;IAC5C,CAAC;IACD;;;;;;OAMG;IACI,KAAK,CAAC,GAAG,CACd,iBAAqC;QAErC,IAAI,IAAI,CAAC,SAAS,KAAK,IAAI,EAAE,CAAC;YAC5B,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAC;QAClD,CAAC;QACD,MAAM,CAAC,GAAG,MAAM,IAAI,CAAC,EAAE,CAAC,GAAG,CACzB,IAAI,CAAC,IAAI,EAAE,EACX,SAAS,EACT,iBAAiB,CAClB,CAAC;QACF,OAAO,CAAC,CAAC,IAAI,CAAC;IAChB,CAAC;CACF;AACD,kBAAe,KAAK,CAAC"}
|
|
@@ -1,55 +1,20 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
-
});
|
|
10
|
-
};
|
|
11
|
-
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
12
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
13
|
-
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
14
|
-
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
15
|
-
function step(op) {
|
|
16
|
-
if (f) throw new TypeError("Generator is already executing.");
|
|
17
|
-
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
18
|
-
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
19
|
-
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
20
|
-
switch (op[0]) {
|
|
21
|
-
case 0: case 1: t = op; break;
|
|
22
|
-
case 4: _.label++; return { value: op[1], done: false };
|
|
23
|
-
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
24
|
-
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
25
|
-
default:
|
|
26
|
-
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
27
|
-
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
28
|
-
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
29
|
-
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
30
|
-
if (t[2]) _.ops.pop();
|
|
31
|
-
_.trys.pop(); continue;
|
|
32
|
-
}
|
|
33
|
-
op = body.call(thisArg, _);
|
|
34
|
-
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
35
|
-
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
36
|
-
}
|
|
37
|
-
};
|
|
38
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
3
|
+
class Index {
|
|
4
|
+
rc;
|
|
5
|
+
_parent;
|
|
6
|
+
chatId;
|
|
7
|
+
constructor(_parent, chatId = null) {
|
|
42
8
|
this._parent = _parent;
|
|
43
9
|
this.rc = _parent.rc;
|
|
44
10
|
this.chatId = chatId;
|
|
45
11
|
}
|
|
46
|
-
|
|
47
|
-
if (withParameter === void 0) { withParameter = true; }
|
|
12
|
+
path(withParameter = true) {
|
|
48
13
|
if (withParameter && this.chatId !== null) {
|
|
49
|
-
return
|
|
14
|
+
return `${this._parent.path()}/conversations/${this.chatId}`;
|
|
50
15
|
}
|
|
51
|
-
return
|
|
52
|
-
}
|
|
16
|
+
return `${this._parent.path()}/conversations`;
|
|
17
|
+
}
|
|
53
18
|
/**
|
|
54
19
|
* Returns the list of conversations where the user is a member. All records in response are sorted by creation time of a conversation in ascending order. Conversation is a chat of the *Group* type.
|
|
55
20
|
* HTTP Method: get
|
|
@@ -57,19 +22,10 @@ var Index = /** @class */ (function () {
|
|
|
57
22
|
* Rate Limit Group: Medium
|
|
58
23
|
* App Permission: TeamMessaging
|
|
59
24
|
*/
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
switch (_a.label) {
|
|
65
|
-
case 0: return [4 /*yield*/, this.rc.get(this.path(false), queryParams, restRequestConfig)];
|
|
66
|
-
case 1:
|
|
67
|
-
r = _a.sent();
|
|
68
|
-
return [2 /*return*/, r.data];
|
|
69
|
-
}
|
|
70
|
-
});
|
|
71
|
-
});
|
|
72
|
-
};
|
|
25
|
+
async list(queryParams, restRequestConfig) {
|
|
26
|
+
const r = await this.rc.get(this.path(false), queryParams, restRequestConfig);
|
|
27
|
+
return r.data;
|
|
28
|
+
}
|
|
73
29
|
/**
|
|
74
30
|
* Creates a new conversation or opens the existing one. If the conversation already exists, then its ID will be returned in response. A conversation is an adhoc discussion between a particular set of users, not featuring any specific name or description; it is a chat of 'Group' type. If you add a person to the existing conversation (group), it creates a whole new conversation.
|
|
75
31
|
* HTTP Method: post
|
|
@@ -77,19 +33,10 @@ var Index = /** @class */ (function () {
|
|
|
77
33
|
* Rate Limit Group: Medium
|
|
78
34
|
* App Permission: TeamMessaging
|
|
79
35
|
*/
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
switch (_a.label) {
|
|
85
|
-
case 0: return [4 /*yield*/, this.rc.post(this.path(false), createConversationRequest, undefined, restRequestConfig)];
|
|
86
|
-
case 1:
|
|
87
|
-
r = _a.sent();
|
|
88
|
-
return [2 /*return*/, r.data];
|
|
89
|
-
}
|
|
90
|
-
});
|
|
91
|
-
});
|
|
92
|
-
};
|
|
36
|
+
async post(createConversationRequest, restRequestConfig) {
|
|
37
|
+
const r = await this.rc.post(this.path(false), createConversationRequest, undefined, restRequestConfig);
|
|
38
|
+
return r.data;
|
|
39
|
+
}
|
|
93
40
|
/**
|
|
94
41
|
* Returns information about the specified conversation, including the list of conversation participants. A conversation is an adhoc discussion between a particular set of users, not featuring any specific name or description; it is a chat of 'Group' type. If you add a person to the existing conversation, it creates a whole new conversation.
|
|
95
42
|
* HTTP Method: get
|
|
@@ -97,24 +44,13 @@ var Index = /** @class */ (function () {
|
|
|
97
44
|
* Rate Limit Group: Light
|
|
98
45
|
* App Permission: TeamMessaging
|
|
99
46
|
*/
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
}
|
|
109
|
-
return [4 /*yield*/, this.rc.get(this.path(), undefined, restRequestConfig)];
|
|
110
|
-
case 1:
|
|
111
|
-
r = _a.sent();
|
|
112
|
-
return [2 /*return*/, r.data];
|
|
113
|
-
}
|
|
114
|
-
});
|
|
115
|
-
});
|
|
116
|
-
};
|
|
117
|
-
return Index;
|
|
118
|
-
}());
|
|
47
|
+
async get(restRequestConfig) {
|
|
48
|
+
if (this.chatId === null) {
|
|
49
|
+
throw new Error("chatId must be specified.");
|
|
50
|
+
}
|
|
51
|
+
const r = await this.rc.get(this.path(), undefined, restRequestConfig);
|
|
52
|
+
return r.data;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
119
55
|
exports.default = Index;
|
|
120
56
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/paths/TeamMessaging/V1/Conversations/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/paths/TeamMessaging/V1/Conversations/index.ts"],"names":[],"mappings":";;AAUA,MAAM,KAAK;IACF,EAAE,CAAuB;IACzB,OAAO,CAAkB;IACzB,MAAM,CAAgB;IAE7B,YAAmB,OAAwB,EAAE,SAAwB,IAAI;QACvE,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,EAAE,GAAG,OAAO,CAAC,EAAE,CAAC;QACrB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IACM,IAAI,CAAC,aAAa,GAAG,IAAI;QAC9B,IAAI,aAAa,IAAI,IAAI,CAAC,MAAM,KAAK,IAAI,EAAE,CAAC;YAC1C,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,kBAAkB,IAAI,CAAC,MAAM,EAAE,CAAC;QAC/D,CAAC;QACD,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,gBAAgB,CAAC;IAChD,CAAC;IACD;;;;;;OAMG;IACI,KAAK,CAAC,IAAI,CACf,WAAgD,EAChD,iBAAqC;QAErC,MAAM,CAAC,GAAG,MAAM,IAAI,CAAC,EAAE,CAAC,GAAG,CACzB,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,EAChB,WAAW,EACX,iBAAiB,CAClB,CAAC;QACF,OAAO,CAAC,CAAC,IAAI,CAAC;IAChB,CAAC;IAED;;;;;;OAMG;IACI,KAAK,CAAC,IAAI,CACf,yBAAoD,EACpD,iBAAqC;QAErC,MAAM,CAAC,GAAG,MAAM,IAAI,CAAC,EAAE,CAAC,IAAI,CAC1B,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,EAChB,yBAAyB,EACzB,SAAS,EACT,iBAAiB,CAClB,CAAC;QACF,OAAO,CAAC,CAAC,IAAI,CAAC;IAChB,CAAC;IAED;;;;;;OAMG;IACI,KAAK,CAAC,GAAG,CACd,iBAAqC;QAErC,IAAI,IAAI,CAAC,MAAM,KAAK,IAAI,EAAE,CAAC;YACzB,MAAM,IAAI,KAAK,CAAC,2BAA2B,CAAC,CAAC;QAC/C,CAAC;QACD,MAAM,CAAC,GAAG,MAAM,IAAI,CAAC,EAAE,CAAC,GAAG,CACzB,IAAI,CAAC,IAAI,EAAE,EACX,SAAS,EACT,iBAAiB,CAClB,CAAC;QACF,OAAO,CAAC,CAAC,IAAI,CAAC;IAChB,CAAC;CACF;AACD,kBAAe,KAAK,CAAC"}
|
|
@@ -1,55 +1,20 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
-
});
|
|
10
|
-
};
|
|
11
|
-
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
12
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
13
|
-
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
14
|
-
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
15
|
-
function step(op) {
|
|
16
|
-
if (f) throw new TypeError("Generator is already executing.");
|
|
17
|
-
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
18
|
-
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
19
|
-
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
20
|
-
switch (op[0]) {
|
|
21
|
-
case 0: case 1: t = op; break;
|
|
22
|
-
case 4: _.label++; return { value: op[1], done: false };
|
|
23
|
-
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
24
|
-
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
25
|
-
default:
|
|
26
|
-
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
27
|
-
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
28
|
-
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
29
|
-
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
30
|
-
if (t[2]) _.ops.pop();
|
|
31
|
-
_.trys.pop(); continue;
|
|
32
|
-
}
|
|
33
|
-
op = body.call(thisArg, _);
|
|
34
|
-
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
35
|
-
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
36
|
-
}
|
|
37
|
-
};
|
|
38
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
3
|
+
class Index {
|
|
4
|
+
rc;
|
|
5
|
+
_parent;
|
|
6
|
+
taskId;
|
|
7
|
+
constructor(_parent, taskId = null) {
|
|
42
8
|
this._parent = _parent;
|
|
43
9
|
this.rc = _parent.rc;
|
|
44
10
|
this.taskId = taskId;
|
|
45
11
|
}
|
|
46
|
-
|
|
47
|
-
if (withParameter === void 0) { withParameter = true; }
|
|
12
|
+
path(withParameter = true) {
|
|
48
13
|
if (withParameter && this.taskId !== null) {
|
|
49
|
-
return
|
|
14
|
+
return `${this._parent.path()}/data-export/${this.taskId}`;
|
|
50
15
|
}
|
|
51
|
-
return
|
|
52
|
-
}
|
|
16
|
+
return `${this._parent.path()}/data-export`;
|
|
17
|
+
}
|
|
53
18
|
/**
|
|
54
19
|
* Returns the list of Glip data export tasks.
|
|
55
20
|
* HTTP Method: get
|
|
@@ -58,19 +23,10 @@ var Index = /** @class */ (function () {
|
|
|
58
23
|
* App Permission: TeamMessaging
|
|
59
24
|
* User Permission: Glip
|
|
60
25
|
*/
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
switch (_a.label) {
|
|
66
|
-
case 0: return [4 /*yield*/, this.rc.get(this.path(false), queryParams, restRequestConfig)];
|
|
67
|
-
case 1:
|
|
68
|
-
r = _a.sent();
|
|
69
|
-
return [2 /*return*/, r.data];
|
|
70
|
-
}
|
|
71
|
-
});
|
|
72
|
-
});
|
|
73
|
-
};
|
|
26
|
+
async list(queryParams, restRequestConfig) {
|
|
27
|
+
const r = await this.rc.get(this.path(false), queryParams, restRequestConfig);
|
|
28
|
+
return r.data;
|
|
29
|
+
}
|
|
74
30
|
/**
|
|
75
31
|
* Creates a task for Glip data export and returns a link at which the exported data will be available in future once the task is implemented. The exported data can be downloaded by calling Get Data Export Task method with the specified task ID. Simultaneously no more than 2 tasks per company can be created.
|
|
76
32
|
* HTTP Method: post
|
|
@@ -79,19 +35,10 @@ var Index = /** @class */ (function () {
|
|
|
79
35
|
* App Permission: TeamMessaging
|
|
80
36
|
* User Permission: Glip
|
|
81
37
|
*/
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
switch (_a.label) {
|
|
87
|
-
case 0: return [4 /*yield*/, this.rc.post(this.path(false), createDataExportTaskRequest, undefined, restRequestConfig)];
|
|
88
|
-
case 1:
|
|
89
|
-
r = _a.sent();
|
|
90
|
-
return [2 /*return*/, r.data];
|
|
91
|
-
}
|
|
92
|
-
});
|
|
93
|
-
});
|
|
94
|
-
};
|
|
38
|
+
async post(createDataExportTaskRequest, restRequestConfig) {
|
|
39
|
+
const r = await this.rc.post(this.path(false), createDataExportTaskRequest, undefined, restRequestConfig);
|
|
40
|
+
return r.data;
|
|
41
|
+
}
|
|
95
42
|
/**
|
|
96
43
|
* Returns the links for downloading Glip data exported within the specified task. If the export task is still in progress, then only the task status will be returned. If the data is ready for downloading, then the list of URLs will be returned.
|
|
97
44
|
* HTTP Method: get
|
|
@@ -100,24 +47,13 @@ var Index = /** @class */ (function () {
|
|
|
100
47
|
* App Permission: TeamMessaging
|
|
101
48
|
* User Permission: Glip
|
|
102
49
|
*/
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
}
|
|
112
|
-
return [4 /*yield*/, this.rc.get(this.path(), undefined, restRequestConfig)];
|
|
113
|
-
case 1:
|
|
114
|
-
r = _a.sent();
|
|
115
|
-
return [2 /*return*/, r.data];
|
|
116
|
-
}
|
|
117
|
-
});
|
|
118
|
-
});
|
|
119
|
-
};
|
|
120
|
-
return Index;
|
|
121
|
-
}());
|
|
50
|
+
async get(restRequestConfig) {
|
|
51
|
+
if (this.taskId === null) {
|
|
52
|
+
throw new Error("taskId must be specified.");
|
|
53
|
+
}
|
|
54
|
+
const r = await this.rc.get(this.path(), undefined, restRequestConfig);
|
|
55
|
+
return r.data;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
122
58
|
exports.default = Index;
|
|
123
59
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/paths/TeamMessaging/V1/DataExport/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/paths/TeamMessaging/V1/DataExport/index.ts"],"names":[],"mappings":";;AAUA,MAAM,KAAK;IACF,EAAE,CAAuB;IACzB,OAAO,CAAkB;IACzB,MAAM,CAAgB;IAE7B,YAAmB,OAAwB,EAAE,SAAwB,IAAI;QACvE,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,EAAE,GAAG,OAAO,CAAC,EAAE,CAAC;QACrB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IACM,IAAI,CAAC,aAAa,GAAG,IAAI;QAC9B,IAAI,aAAa,IAAI,IAAI,CAAC,MAAM,KAAK,IAAI,EAAE,CAAC;YAC1C,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,gBAAgB,IAAI,CAAC,MAAM,EAAE,CAAC;QAC7D,CAAC;QACD,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,cAAc,CAAC;IAC9C,CAAC;IACD;;;;;;;OAOG;IACI,KAAK,CAAC,IAAI,CACf,WAA8C,EAC9C,iBAAqC;QAErC,MAAM,CAAC,GAAG,MAAM,IAAI,CAAC,EAAE,CAAC,GAAG,CACzB,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,EAChB,WAAW,EACX,iBAAiB,CAClB,CAAC;QACF,OAAO,CAAC,CAAC,IAAI,CAAC;IAChB,CAAC;IAED;;;;;;;OAOG;IACI,KAAK,CAAC,IAAI,CACf,2BAAwD,EACxD,iBAAqC;QAErC,MAAM,CAAC,GAAG,MAAM,IAAI,CAAC,EAAE,CAAC,IAAI,CAC1B,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,EAChB,2BAA2B,EAC3B,SAAS,EACT,iBAAiB,CAClB,CAAC;QACF,OAAO,CAAC,CAAC,IAAI,CAAC;IAChB,CAAC;IAED;;;;;;;OAOG;IACI,KAAK,CAAC,GAAG,CACd,iBAAqC;QAErC,IAAI,IAAI,CAAC,MAAM,KAAK,IAAI,EAAE,CAAC;YACzB,MAAM,IAAI,KAAK,CAAC,2BAA2B,CAAC,CAAC;QAC/C,CAAC;QACD,MAAM,CAAC,GAAG,MAAM,IAAI,CAAC,EAAE,CAAC,GAAG,CACzB,IAAI,CAAC,IAAI,EAAE,EACX,SAAS,EACT,iBAAiB,CAClB,CAAC;QACF,OAAO,CAAC,CAAC,IAAI,CAAC;IAChB,CAAC;CACF;AACD,kBAAe,KAAK,CAAC"}
|