@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.
Files changed (660) hide show
  1. package/lib/FormData.js +42 -107
  2. package/lib/FormData.js.map +1 -1
  3. package/lib/Rest.js +68 -105
  4. package/lib/Rest.js.map +1 -1
  5. package/lib/RestException.js +11 -28
  6. package/lib/RestException.js.map +1 -1
  7. package/lib/SdkExtension.js +6 -9
  8. package/lib/SdkExtension.js.map +1 -1
  9. package/lib/Utils.js +25 -36
  10. package/lib/Utils.js.map +1 -1
  11. package/lib/index.js +141 -269
  12. package/lib/index.js.map +1 -1
  13. package/lib/paths/Ai/Audio/V1/Async/SpeakerDiarize/index.js +12 -56
  14. package/lib/paths/Ai/Audio/V1/Async/SpeakerDiarize/index.js.map +1 -1
  15. package/lib/paths/Ai/Audio/V1/Async/SpeakerIdentify/index.js +12 -56
  16. package/lib/paths/Ai/Audio/V1/Async/SpeakerIdentify/index.js.map +1 -1
  17. package/lib/paths/Ai/Audio/V1/Async/SpeechToText/index.js +12 -56
  18. package/lib/paths/Ai/Audio/V1/Async/SpeechToText/index.js.map +1 -1
  19. package/lib/paths/Ai/Audio/V1/Async/index.js +17 -16
  20. package/lib/paths/Ai/Audio/V1/Async/index.js.map +1 -1
  21. package/lib/paths/Ai/Audio/V1/Enrollments/index.js +39 -123
  22. package/lib/paths/Ai/Audio/V1/Enrollments/index.js.map +1 -1
  23. package/lib/paths/Ai/Audio/V1/index.js +14 -14
  24. package/lib/paths/Ai/Audio/V1/index.js.map +1 -1
  25. package/lib/paths/Ai/Audio/index.js +11 -10
  26. package/lib/paths/Ai/Audio/index.js.map +1 -1
  27. package/lib/paths/Ai/Insights/V1/Async/AnalyzeInteraction/index.js +12 -56
  28. package/lib/paths/Ai/Insights/V1/Async/AnalyzeInteraction/index.js.map +1 -1
  29. package/lib/paths/Ai/Insights/V1/Async/index.js +11 -10
  30. package/lib/paths/Ai/Insights/V1/Async/index.js.map +1 -1
  31. package/lib/paths/Ai/Insights/V1/index.js +11 -10
  32. package/lib/paths/Ai/Insights/V1/index.js.map +1 -1
  33. package/lib/paths/Ai/Insights/index.js +11 -10
  34. package/lib/paths/Ai/Insights/index.js.map +1 -1
  35. package/lib/paths/Ai/Ringsense/V1/Public/Accounts/Domains/Records/Insights/index.js +12 -56
  36. package/lib/paths/Ai/Ringsense/V1/Public/Accounts/Domains/Records/Insights/index.js.map +1 -1
  37. package/lib/paths/Ai/Ringsense/V1/Public/Accounts/Domains/Records/index.js +13 -13
  38. package/lib/paths/Ai/Ringsense/V1/Public/Accounts/Domains/Records/index.js.map +1 -1
  39. package/lib/paths/Ai/Ringsense/V1/Public/Accounts/Domains/index.js +13 -14
  40. package/lib/paths/Ai/Ringsense/V1/Public/Accounts/Domains/index.js.map +1 -1
  41. package/lib/paths/Ai/Ringsense/V1/Public/Accounts/index.js +13 -14
  42. package/lib/paths/Ai/Ringsense/V1/Public/Accounts/index.js.map +1 -1
  43. package/lib/paths/Ai/Ringsense/V1/Public/index.js +11 -11
  44. package/lib/paths/Ai/Ringsense/V1/Public/index.js.map +1 -1
  45. package/lib/paths/Ai/Ringsense/V1/index.js +11 -10
  46. package/lib/paths/Ai/Ringsense/V1/index.js.map +1 -1
  47. package/lib/paths/Ai/Ringsense/index.js +11 -10
  48. package/lib/paths/Ai/Ringsense/index.js.map +1 -1
  49. package/lib/paths/Ai/Status/V1/Jobs/index.js +17 -63
  50. package/lib/paths/Ai/Status/V1/Jobs/index.js.map +1 -1
  51. package/lib/paths/Ai/Status/V1/index.js +11 -11
  52. package/lib/paths/Ai/Status/V1/index.js.map +1 -1
  53. package/lib/paths/Ai/Status/index.js +11 -10
  54. package/lib/paths/Ai/Status/index.js.map +1 -1
  55. package/lib/paths/Ai/Text/V1/Async/Punctuate/index.js +12 -56
  56. package/lib/paths/Ai/Text/V1/Async/Punctuate/index.js.map +1 -1
  57. package/lib/paths/Ai/Text/V1/Async/Summarize/index.js +12 -56
  58. package/lib/paths/Ai/Text/V1/Async/Summarize/index.js.map +1 -1
  59. package/lib/paths/Ai/Text/V1/Async/index.js +14 -13
  60. package/lib/paths/Ai/Text/V1/Async/index.js.map +1 -1
  61. package/lib/paths/Ai/Text/V1/index.js +11 -10
  62. package/lib/paths/Ai/Text/V1/index.js.map +1 -1
  63. package/lib/paths/Ai/Text/index.js +11 -10
  64. package/lib/paths/Ai/Text/index.js.map +1 -1
  65. package/lib/paths/Ai/index.js +21 -21
  66. package/lib/paths/Ai/index.js.map +1 -1
  67. package/lib/paths/Analytics/Calls/V1/Accounts/Aggregation/Fetch/index.js +12 -56
  68. package/lib/paths/Analytics/Calls/V1/Accounts/Aggregation/Fetch/index.js.map +1 -1
  69. package/lib/paths/Analytics/Calls/V1/Accounts/Aggregation/index.js +11 -10
  70. package/lib/paths/Analytics/Calls/V1/Accounts/Aggregation/index.js.map +1 -1
  71. package/lib/paths/Analytics/Calls/V1/Accounts/Timeline/Fetch/index.js +12 -56
  72. package/lib/paths/Analytics/Calls/V1/Accounts/Timeline/Fetch/index.js.map +1 -1
  73. package/lib/paths/Analytics/Calls/V1/Accounts/Timeline/index.js +11 -10
  74. package/lib/paths/Analytics/Calls/V1/Accounts/Timeline/index.js.map +1 -1
  75. package/lib/paths/Analytics/Calls/V1/Accounts/index.js +16 -16
  76. package/lib/paths/Analytics/Calls/V1/Accounts/index.js.map +1 -1
  77. package/lib/paths/Analytics/Calls/V1/index.js +11 -11
  78. package/lib/paths/Analytics/Calls/V1/index.js.map +1 -1
  79. package/lib/paths/Analytics/Calls/index.js +11 -10
  80. package/lib/paths/Analytics/Calls/index.js.map +1 -1
  81. package/lib/paths/Analytics/index.js +9 -9
  82. package/lib/paths/Analytics/index.js.map +1 -1
  83. package/lib/paths/Rcvideo/V1/Account/Extension/Recordings/index.js +12 -56
  84. package/lib/paths/Rcvideo/V1/Account/Extension/Recordings/index.js.map +1 -1
  85. package/lib/paths/Rcvideo/V1/Account/Extension/index.js +13 -13
  86. package/lib/paths/Rcvideo/V1/Account/Extension/index.js.map +1 -1
  87. package/lib/paths/Rcvideo/V1/Account/Recordings/index.js +12 -56
  88. package/lib/paths/Rcvideo/V1/Account/Recordings/index.js.map +1 -1
  89. package/lib/paths/Rcvideo/V1/Account/index.js +16 -17
  90. package/lib/paths/Rcvideo/V1/Account/index.js.map +1 -1
  91. package/lib/paths/Rcvideo/V1/Accounts/Extensions/Delegators/index.js +12 -56
  92. package/lib/paths/Rcvideo/V1/Accounts/Extensions/Delegators/index.js.map +1 -1
  93. package/lib/paths/Rcvideo/V1/Accounts/Extensions/index.js +13 -13
  94. package/lib/paths/Rcvideo/V1/Accounts/Extensions/index.js.map +1 -1
  95. package/lib/paths/Rcvideo/V1/Accounts/index.js +13 -14
  96. package/lib/paths/Rcvideo/V1/Accounts/index.js.map +1 -1
  97. package/lib/paths/Rcvideo/V1/History/Meetings/index.js +21 -76
  98. package/lib/paths/Rcvideo/V1/History/Meetings/index.js.map +1 -1
  99. package/lib/paths/Rcvideo/V1/History/index.js +11 -11
  100. package/lib/paths/Rcvideo/V1/History/index.js.map +1 -1
  101. package/lib/paths/Rcvideo/V1/index.js +17 -18
  102. package/lib/paths/Rcvideo/V1/index.js.map +1 -1
  103. package/lib/paths/Rcvideo/V2/Account/Extension/Bridges/Default/index.js +12 -56
  104. package/lib/paths/Rcvideo/V2/Account/Extension/Bridges/Default/index.js.map +1 -1
  105. package/lib/paths/Rcvideo/V2/Account/Extension/Bridges/index.js +15 -59
  106. package/lib/paths/Rcvideo/V2/Account/Extension/Bridges/index.js.map +1 -1
  107. package/lib/paths/Rcvideo/V2/Account/Extension/index.js +13 -13
  108. package/lib/paths/Rcvideo/V2/Account/Extension/index.js.map +1 -1
  109. package/lib/paths/Rcvideo/V2/Account/index.js +13 -14
  110. package/lib/paths/Rcvideo/V2/Account/index.js.map +1 -1
  111. package/lib/paths/Rcvideo/V2/Bridges/Pin/Pstn/index.js +17 -63
  112. package/lib/paths/Rcvideo/V2/Bridges/Pin/Pstn/index.js.map +1 -1
  113. package/lib/paths/Rcvideo/V2/Bridges/Pin/Web/index.js +17 -63
  114. package/lib/paths/Rcvideo/V2/Bridges/Pin/Web/index.js.map +1 -1
  115. package/lib/paths/Rcvideo/V2/Bridges/Pin/index.js +14 -15
  116. package/lib/paths/Rcvideo/V2/Bridges/Pin/index.js.map +1 -1
  117. package/lib/paths/Rcvideo/V2/Bridges/index.js +34 -100
  118. package/lib/paths/Rcvideo/V2/Bridges/index.js.map +1 -1
  119. package/lib/paths/Rcvideo/V2/index.js +14 -15
  120. package/lib/paths/Rcvideo/V2/index.js.map +1 -1
  121. package/lib/paths/Rcvideo/index.js +12 -12
  122. package/lib/paths/Rcvideo/index.js.map +1 -1
  123. package/lib/paths/Restapi/Account/A2pSms/Batches/index.js +25 -89
  124. package/lib/paths/Restapi/Account/A2pSms/Batches/index.js.map +1 -1
  125. package/lib/paths/Restapi/Account/A2pSms/Messages/index.js +21 -76
  126. package/lib/paths/Restapi/Account/A2pSms/Messages/index.js.map +1 -1
  127. package/lib/paths/Restapi/Account/A2pSms/OptOuts/BulkAssign/index.js +12 -56
  128. package/lib/paths/Restapi/Account/A2pSms/OptOuts/BulkAssign/index.js.map +1 -1
  129. package/lib/paths/Restapi/Account/A2pSms/OptOuts/index.js +15 -59
  130. package/lib/paths/Restapi/Account/A2pSms/OptOuts/index.js.map +1 -1
  131. package/lib/paths/Restapi/Account/A2pSms/Statuses/index.js +12 -56
  132. package/lib/paths/Restapi/Account/A2pSms/Statuses/index.js.map +1 -1
  133. package/lib/paths/Restapi/Account/A2pSms/index.js +20 -21
  134. package/lib/paths/Restapi/Account/A2pSms/index.js.map +1 -1
  135. package/lib/paths/Restapi/Account/ActiveCalls/index.js +12 -56
  136. package/lib/paths/Restapi/Account/ActiveCalls/index.js.map +1 -1
  137. package/lib/paths/Restapi/Account/AddressBookBulkUpload/Tasks/index.js +17 -63
  138. package/lib/paths/Restapi/Account/AddressBookBulkUpload/Tasks/index.js.map +1 -1
  139. package/lib/paths/Restapi/Account/AddressBookBulkUpload/index.js +15 -60
  140. package/lib/paths/Restapi/Account/AddressBookBulkUpload/index.js.map +1 -1
  141. package/lib/paths/Restapi/Account/AnsweringRule/index.js +39 -123
  142. package/lib/paths/Restapi/Account/AnsweringRule/index.js.map +1 -1
  143. package/lib/paths/Restapi/Account/AssignedRole/index.js +12 -56
  144. package/lib/paths/Restapi/Account/AssignedRole/index.js.map +1 -1
  145. package/lib/paths/Restapi/Account/AuditTrail/Search/index.js +12 -56
  146. package/lib/paths/Restapi/Account/AuditTrail/Search/index.js.map +1 -1
  147. package/lib/paths/Restapi/Account/AuditTrail/index.js +11 -10
  148. package/lib/paths/Restapi/Account/AuditTrail/index.js.map +1 -1
  149. package/lib/paths/Restapi/Account/BusinessAddress/index.js +16 -69
  150. package/lib/paths/Restapi/Account/BusinessAddress/index.js.map +1 -1
  151. package/lib/paths/Restapi/Account/BusinessHours/index.js +16 -69
  152. package/lib/paths/Restapi/Account/BusinessHours/index.js.map +1 -1
  153. package/lib/paths/Restapi/Account/CallLog/index.js +21 -76
  154. package/lib/paths/Restapi/Account/CallLog/index.js.map +1 -1
  155. package/lib/paths/Restapi/Account/CallLogSync/index.js +12 -56
  156. package/lib/paths/Restapi/Account/CallLogSync/index.js.map +1 -1
  157. package/lib/paths/Restapi/Account/CallMonitoringGroups/BulkAssign/index.js +12 -56
  158. package/lib/paths/Restapi/Account/CallMonitoringGroups/BulkAssign/index.js.map +1 -1
  159. package/lib/paths/Restapi/Account/CallMonitoringGroups/Members/index.js +12 -56
  160. package/lib/paths/Restapi/Account/CallMonitoringGroups/Members/index.js.map +1 -1
  161. package/lib/paths/Restapi/Account/CallMonitoringGroups/index.js +38 -112
  162. package/lib/paths/Restapi/Account/CallMonitoringGroups/index.js.map +1 -1
  163. package/lib/paths/Restapi/Account/CallQueues/BulkAssign/index.js +12 -56
  164. package/lib/paths/Restapi/Account/CallQueues/BulkAssign/index.js.map +1 -1
  165. package/lib/paths/Restapi/Account/CallQueues/Members/index.js +12 -56
  166. package/lib/paths/Restapi/Account/CallQueues/Members/index.js.map +1 -1
  167. package/lib/paths/Restapi/Account/CallQueues/Presence/index.js +16 -69
  168. package/lib/paths/Restapi/Account/CallQueues/Presence/index.js.map +1 -1
  169. package/lib/paths/Restapi/Account/CallQueues/index.js +37 -102
  170. package/lib/paths/Restapi/Account/CallQueues/index.js.map +1 -1
  171. package/lib/paths/Restapi/Account/CallRecording/BulkAssign/index.js +12 -56
  172. package/lib/paths/Restapi/Account/CallRecording/BulkAssign/index.js.map +1 -1
  173. package/lib/paths/Restapi/Account/CallRecording/CustomGreetings/index.js +25 -89
  174. package/lib/paths/Restapi/Account/CallRecording/CustomGreetings/index.js.map +1 -1
  175. package/lib/paths/Restapi/Account/CallRecording/Extensions/index.js +12 -56
  176. package/lib/paths/Restapi/Account/CallRecording/Extensions/index.js.map +1 -1
  177. package/lib/paths/Restapi/Account/CallRecording/index.js +25 -79
  178. package/lib/paths/Restapi/Account/CallRecording/index.js.map +1 -1
  179. package/lib/paths/Restapi/Account/CallRecordings/index.js +12 -56
  180. package/lib/paths/Restapi/Account/CallRecordings/index.js.map +1 -1
  181. package/lib/paths/Restapi/Account/CustomFields/index.js +32 -106
  182. package/lib/paths/Restapi/Account/CustomFields/index.js.map +1 -1
  183. package/lib/paths/Restapi/Account/Device/Emergency/index.js +12 -56
  184. package/lib/paths/Restapi/Account/Device/Emergency/index.js.map +1 -1
  185. package/lib/paths/Restapi/Account/Device/SipInfo/index.js +12 -56
  186. package/lib/paths/Restapi/Account/Device/SipInfo/index.js.map +1 -1
  187. package/lib/paths/Restapi/Account/Device/index.js +30 -86
  188. package/lib/paths/Restapi/Account/Device/index.js.map +1 -1
  189. package/lib/paths/Restapi/Account/Directory/Entries/Search/index.js +12 -56
  190. package/lib/paths/Restapi/Account/Directory/Entries/Search/index.js.map +1 -1
  191. package/lib/paths/Restapi/Account/Directory/Entries/index.js +24 -79
  192. package/lib/paths/Restapi/Account/Directory/Entries/index.js.map +1 -1
  193. package/lib/paths/Restapi/Account/Directory/Federation/index.js +12 -56
  194. package/lib/paths/Restapi/Account/Directory/Federation/index.js.map +1 -1
  195. package/lib/paths/Restapi/Account/Directory/index.js +14 -14
  196. package/lib/paths/Restapi/Account/Directory/index.js.map +1 -1
  197. package/lib/paths/Restapi/Account/EmergencyAddressAutoUpdate/Devices/BulkAssign/index.js +12 -56
  198. package/lib/paths/Restapi/Account/EmergencyAddressAutoUpdate/Devices/BulkAssign/index.js.map +1 -1
  199. package/lib/paths/Restapi/Account/EmergencyAddressAutoUpdate/Devices/index.js +15 -59
  200. package/lib/paths/Restapi/Account/EmergencyAddressAutoUpdate/Devices/index.js.map +1 -1
  201. package/lib/paths/Restapi/Account/EmergencyAddressAutoUpdate/Networks/index.js +39 -123
  202. package/lib/paths/Restapi/Account/EmergencyAddressAutoUpdate/Networks/index.js.map +1 -1
  203. package/lib/paths/Restapi/Account/EmergencyAddressAutoUpdate/Switches/index.js +39 -123
  204. package/lib/paths/Restapi/Account/EmergencyAddressAutoUpdate/Switches/index.js.map +1 -1
  205. package/lib/paths/Restapi/Account/EmergencyAddressAutoUpdate/SwitchesBulkCreate/index.js +12 -56
  206. package/lib/paths/Restapi/Account/EmergencyAddressAutoUpdate/SwitchesBulkCreate/index.js.map +1 -1
  207. package/lib/paths/Restapi/Account/EmergencyAddressAutoUpdate/SwitchesBulkUpdate/index.js +12 -56
  208. package/lib/paths/Restapi/Account/EmergencyAddressAutoUpdate/SwitchesBulkUpdate/index.js.map +1 -1
  209. package/lib/paths/Restapi/Account/EmergencyAddressAutoUpdate/SwitchesBulkValidate/index.js +12 -56
  210. package/lib/paths/Restapi/Account/EmergencyAddressAutoUpdate/SwitchesBulkValidate/index.js.map +1 -1
  211. package/lib/paths/Restapi/Account/EmergencyAddressAutoUpdate/Tasks/index.js +17 -63
  212. package/lib/paths/Restapi/Account/EmergencyAddressAutoUpdate/Tasks/index.js.map +1 -1
  213. package/lib/paths/Restapi/Account/EmergencyAddressAutoUpdate/Users/BulkAssign/index.js +12 -56
  214. package/lib/paths/Restapi/Account/EmergencyAddressAutoUpdate/Users/BulkAssign/index.js.map +1 -1
  215. package/lib/paths/Restapi/Account/EmergencyAddressAutoUpdate/Users/index.js +15 -59
  216. package/lib/paths/Restapi/Account/EmergencyAddressAutoUpdate/Users/index.js.map +1 -1
  217. package/lib/paths/Restapi/Account/EmergencyAddressAutoUpdate/WirelessPoints/index.js +39 -123
  218. package/lib/paths/Restapi/Account/EmergencyAddressAutoUpdate/WirelessPoints/index.js.map +1 -1
  219. package/lib/paths/Restapi/Account/EmergencyAddressAutoUpdate/WirelessPointsBulkCreate/index.js +12 -56
  220. package/lib/paths/Restapi/Account/EmergencyAddressAutoUpdate/WirelessPointsBulkCreate/index.js.map +1 -1
  221. package/lib/paths/Restapi/Account/EmergencyAddressAutoUpdate/WirelessPointsBulkUpdate/index.js +12 -56
  222. package/lib/paths/Restapi/Account/EmergencyAddressAutoUpdate/WirelessPointsBulkUpdate/index.js.map +1 -1
  223. package/lib/paths/Restapi/Account/EmergencyAddressAutoUpdate/WirelessPointsBulkValidate/index.js +12 -56
  224. package/lib/paths/Restapi/Account/EmergencyAddressAutoUpdate/WirelessPointsBulkValidate/index.js.map +1 -1
  225. package/lib/paths/Restapi/Account/EmergencyAddressAutoUpdate/index.js +44 -47
  226. package/lib/paths/Restapi/Account/EmergencyAddressAutoUpdate/index.js.map +1 -1
  227. package/lib/paths/Restapi/Account/EmergencyLocations/index.js +39 -123
  228. package/lib/paths/Restapi/Account/EmergencyLocations/index.js.map +1 -1
  229. package/lib/paths/Restapi/Account/Extension/ActiveCalls/index.js +12 -56
  230. package/lib/paths/Restapi/Account/Extension/ActiveCalls/index.js.map +1 -1
  231. package/lib/paths/Restapi/Account/Extension/AddressBook/Contact/index.js +46 -140
  232. package/lib/paths/Restapi/Account/Extension/AddressBook/Contact/index.js.map +1 -1
  233. package/lib/paths/Restapi/Account/Extension/AddressBook/index.js +11 -11
  234. package/lib/paths/Restapi/Account/Extension/AddressBook/index.js.map +1 -1
  235. package/lib/paths/Restapi/Account/Extension/AddressBookSync/index.js +12 -56
  236. package/lib/paths/Restapi/Account/Extension/AddressBookSync/index.js.map +1 -1
  237. package/lib/paths/Restapi/Account/Extension/AdministeredSites/index.js +16 -69
  238. package/lib/paths/Restapi/Account/Extension/AdministeredSites/index.js.map +1 -1
  239. package/lib/paths/Restapi/Account/Extension/AnsweringRule/index.js +39 -123
  240. package/lib/paths/Restapi/Account/Extension/AnsweringRule/index.js.map +1 -1
  241. package/lib/paths/Restapi/Account/Extension/AssignableRoles/index.js +12 -56
  242. package/lib/paths/Restapi/Account/Extension/AssignableRoles/index.js.map +1 -1
  243. package/lib/paths/Restapi/Account/Extension/AssignedRole/Default/index.js +12 -56
  244. package/lib/paths/Restapi/Account/Extension/AssignedRole/Default/index.js.map +1 -1
  245. package/lib/paths/Restapi/Account/Extension/AssignedRole/index.js +19 -72
  246. package/lib/paths/Restapi/Account/Extension/AssignedRole/index.js.map +1 -1
  247. package/lib/paths/Restapi/Account/Extension/AuthzProfile/Check/index.js +12 -56
  248. package/lib/paths/Restapi/Account/Extension/AuthzProfile/Check/index.js.map +1 -1
  249. package/lib/paths/Restapi/Account/Extension/AuthzProfile/index.js +15 -59
  250. package/lib/paths/Restapi/Account/Extension/AuthzProfile/index.js.map +1 -1
  251. package/lib/paths/Restapi/Account/Extension/BusinessHours/index.js +16 -69
  252. package/lib/paths/Restapi/Account/Extension/BusinessHours/index.js.map +1 -1
  253. package/lib/paths/Restapi/Account/Extension/CallLog/index.js +25 -89
  254. package/lib/paths/Restapi/Account/Extension/CallLog/index.js.map +1 -1
  255. package/lib/paths/Restapi/Account/Extension/CallLogSync/index.js +12 -56
  256. package/lib/paths/Restapi/Account/Extension/CallLogSync/index.js.map +1 -1
  257. package/lib/paths/Restapi/Account/Extension/CallQueuePresence/index.js +16 -69
  258. package/lib/paths/Restapi/Account/Extension/CallQueuePresence/index.js.map +1 -1
  259. package/lib/paths/Restapi/Account/Extension/CallQueues/index.js +12 -56
  260. package/lib/paths/Restapi/Account/Extension/CallQueues/index.js.map +1 -1
  261. package/lib/paths/Restapi/Account/Extension/CallerBlocking/PhoneNumbers/index.js +39 -123
  262. package/lib/paths/Restapi/Account/Extension/CallerBlocking/PhoneNumbers/index.js.map +1 -1
  263. package/lib/paths/Restapi/Account/Extension/CallerBlocking/index.js +19 -73
  264. package/lib/paths/Restapi/Account/Extension/CallerBlocking/index.js.map +1 -1
  265. package/lib/paths/Restapi/Account/Extension/CallerId/index.js +16 -69
  266. package/lib/paths/Restapi/Account/Extension/CallerId/index.js.map +1 -1
  267. package/lib/paths/Restapi/Account/Extension/CompanyPager/index.js +12 -56
  268. package/lib/paths/Restapi/Account/Extension/CompanyPager/index.js.map +1 -1
  269. package/lib/paths/Restapi/Account/Extension/Conferencing/index.js +16 -69
  270. package/lib/paths/Restapi/Account/Extension/Conferencing/index.js.map +1 -1
  271. package/lib/paths/Restapi/Account/Extension/Device/index.js +12 -56
  272. package/lib/paths/Restapi/Account/Extension/Device/index.js.map +1 -1
  273. package/lib/paths/Restapi/Account/Extension/EmergencyLocations/index.js +39 -123
  274. package/lib/paths/Restapi/Account/Extension/EmergencyLocations/index.js.map +1 -1
  275. package/lib/paths/Restapi/Account/Extension/Favorite/index.js +16 -69
  276. package/lib/paths/Restapi/Account/Extension/Favorite/index.js.map +1 -1
  277. package/lib/paths/Restapi/Account/Extension/Fax/index.js +14 -60
  278. package/lib/paths/Restapi/Account/Extension/Fax/index.js.map +1 -1
  279. package/lib/paths/Restapi/Account/Extension/Features/index.js +12 -56
  280. package/lib/paths/Restapi/Account/Extension/Features/index.js.map +1 -1
  281. package/lib/paths/Restapi/Account/Extension/ForwardingNumber/index.js +43 -136
  282. package/lib/paths/Restapi/Account/Extension/ForwardingNumber/index.js.map +1 -1
  283. package/lib/paths/Restapi/Account/Extension/Grant/index.js +12 -56
  284. package/lib/paths/Restapi/Account/Extension/Grant/index.js.map +1 -1
  285. package/lib/paths/Restapi/Account/Extension/Greeting/Content/index.js +14 -66
  286. package/lib/paths/Restapi/Account/Extension/Greeting/Content/index.js.map +1 -1
  287. package/lib/paths/Restapi/Account/Extension/Greeting/index.js +26 -83
  288. package/lib/paths/Restapi/Account/Extension/Greeting/index.js.map +1 -1
  289. package/lib/paths/Restapi/Account/Extension/MessageStore/Content/index.js +19 -73
  290. package/lib/paths/Restapi/Account/Extension/MessageStore/Content/index.js.map +1 -1
  291. package/lib/paths/Restapi/Account/Extension/MessageStore/index.js +49 -144
  292. package/lib/paths/Restapi/Account/Extension/MessageStore/index.js.map +1 -1
  293. package/lib/paths/Restapi/Account/Extension/MessageStoreTemplates/index.js +39 -123
  294. package/lib/paths/Restapi/Account/Extension/MessageStoreTemplates/index.js.map +1 -1
  295. package/lib/paths/Restapi/Account/Extension/MessageSync/index.js +12 -56
  296. package/lib/paths/Restapi/Account/Extension/MessageSync/index.js.map +1 -1
  297. package/lib/paths/Restapi/Account/Extension/Mms/index.js +14 -60
  298. package/lib/paths/Restapi/Account/Extension/Mms/index.js.map +1 -1
  299. package/lib/paths/Restapi/Account/Extension/NotificationSettings/index.js +16 -69
  300. package/lib/paths/Restapi/Account/Extension/NotificationSettings/index.js.map +1 -1
  301. package/lib/paths/Restapi/Account/Extension/OverflowSettings/index.js +16 -69
  302. package/lib/paths/Restapi/Account/Extension/OverflowSettings/index.js.map +1 -1
  303. package/lib/paths/Restapi/Account/Extension/PhoneNumber/index.js +12 -56
  304. package/lib/paths/Restapi/Account/Extension/PhoneNumber/index.js.map +1 -1
  305. package/lib/paths/Restapi/Account/Extension/Presence/index.js +16 -69
  306. package/lib/paths/Restapi/Account/Extension/Presence/index.js.map +1 -1
  307. package/lib/paths/Restapi/Account/Extension/ProfileImage/index.js +40 -131
  308. package/lib/paths/Restapi/Account/Extension/ProfileImage/index.js.map +1 -1
  309. package/lib/paths/Restapi/Account/Extension/RingOut/index.js +28 -93
  310. package/lib/paths/Restapi/Account/Extension/RingOut/index.js.map +1 -1
  311. package/lib/paths/Restapi/Account/Extension/Sms/index.js +14 -60
  312. package/lib/paths/Restapi/Account/Extension/Sms/index.js.map +1 -1
  313. package/lib/paths/Restapi/Account/Extension/UnifiedPresence/index.js +16 -69
  314. package/lib/paths/Restapi/Account/Extension/UnifiedPresence/index.js.map +1 -1
  315. package/lib/paths/Restapi/Account/Extension/VideoConfiguration/index.js +12 -56
  316. package/lib/paths/Restapi/Account/Extension/VideoConfiguration/index.js.map +1 -1
  317. package/lib/paths/Restapi/Account/Extension/index.js +146 -229
  318. package/lib/paths/Restapi/Account/Extension/index.js.map +1 -1
  319. package/lib/paths/Restapi/Account/ExtensionBulkUpdate/Tasks/index.js +17 -63
  320. package/lib/paths/Restapi/Account/ExtensionBulkUpdate/Tasks/index.js.map +1 -1
  321. package/lib/paths/Restapi/Account/ExtensionBulkUpdate/index.js +15 -60
  322. package/lib/paths/Restapi/Account/ExtensionBulkUpdate/index.js.map +1 -1
  323. package/lib/paths/Restapi/Account/ForwardAllCalls/index.js +16 -69
  324. package/lib/paths/Restapi/Account/ForwardAllCalls/index.js.map +1 -1
  325. package/lib/paths/Restapi/Account/Greeting/Content/index.js +14 -66
  326. package/lib/paths/Restapi/Account/Greeting/Content/index.js.map +1 -1
  327. package/lib/paths/Restapi/Account/Greeting/index.js +17 -63
  328. package/lib/paths/Restapi/Account/Greeting/index.js.map +1 -1
  329. package/lib/paths/Restapi/Account/IvrMenus/index.js +32 -106
  330. package/lib/paths/Restapi/Account/IvrMenus/index.js.map +1 -1
  331. package/lib/paths/Restapi/Account/IvrPrompts/Content/index.js +14 -66
  332. package/lib/paths/Restapi/Account/IvrPrompts/Content/index.js.map +1 -1
  333. package/lib/paths/Restapi/Account/IvrPrompts/index.js +44 -130
  334. package/lib/paths/Restapi/Account/IvrPrompts/index.js.map +1 -1
  335. package/lib/paths/Restapi/Account/MessageStoreConfiguration/index.js +16 -69
  336. package/lib/paths/Restapi/Account/MessageStoreConfiguration/index.js.map +1 -1
  337. package/lib/paths/Restapi/Account/MessageStoreReport/Archive/index.js +12 -56
  338. package/lib/paths/Restapi/Account/MessageStoreReport/Archive/index.js.map +1 -1
  339. package/lib/paths/Restapi/Account/MessageStoreReport/index.js +24 -79
  340. package/lib/paths/Restapi/Account/MessageStoreReport/index.js.map +1 -1
  341. package/lib/paths/Restapi/Account/MessageStoreTemplates/index.js +39 -123
  342. package/lib/paths/Restapi/Account/MessageStoreTemplates/index.js.map +1 -1
  343. package/lib/paths/Restapi/Account/PagingOnlyGroups/BulkAssign/index.js +12 -56
  344. package/lib/paths/Restapi/Account/PagingOnlyGroups/BulkAssign/index.js.map +1 -1
  345. package/lib/paths/Restapi/Account/PagingOnlyGroups/Devices/index.js +12 -56
  346. package/lib/paths/Restapi/Account/PagingOnlyGroups/Devices/index.js.map +1 -1
  347. package/lib/paths/Restapi/Account/PagingOnlyGroups/Users/index.js +12 -56
  348. package/lib/paths/Restapi/Account/PagingOnlyGroups/Users/index.js.map +1 -1
  349. package/lib/paths/Restapi/Account/PagingOnlyGroups/index.js +19 -19
  350. package/lib/paths/Restapi/Account/PagingOnlyGroups/index.js.map +1 -1
  351. package/lib/paths/Restapi/Account/PhoneNumber/index.js +21 -76
  352. package/lib/paths/Restapi/Account/PhoneNumber/index.js.map +1 -1
  353. package/lib/paths/Restapi/Account/Presence/index.js +12 -56
  354. package/lib/paths/Restapi/Account/Presence/index.js.map +1 -1
  355. package/lib/paths/Restapi/Account/Recording/Content/index.js +14 -66
  356. package/lib/paths/Restapi/Account/Recording/Content/index.js.map +1 -1
  357. package/lib/paths/Restapi/Account/Recording/index.js +20 -66
  358. package/lib/paths/Restapi/Account/Recording/index.js.map +1 -1
  359. package/lib/paths/Restapi/Account/ServiceInfo/index.js +12 -56
  360. package/lib/paths/Restapi/Account/ServiceInfo/index.js.map +1 -1
  361. package/lib/paths/Restapi/Account/Sites/BulkAssign/index.js +12 -56
  362. package/lib/paths/Restapi/Account/Sites/BulkAssign/index.js.map +1 -1
  363. package/lib/paths/Restapi/Account/Sites/Ivr/index.js +16 -69
  364. package/lib/paths/Restapi/Account/Sites/Ivr/index.js.map +1 -1
  365. package/lib/paths/Restapi/Account/Sites/Members/index.js +12 -56
  366. package/lib/paths/Restapi/Account/Sites/Members/index.js.map +1 -1
  367. package/lib/paths/Restapi/Account/Sites/index.js +48 -132
  368. package/lib/paths/Restapi/Account/Sites/index.js.map +1 -1
  369. package/lib/paths/Restapi/Account/Telephony/CallOut/index.js +12 -56
  370. package/lib/paths/Restapi/Account/Telephony/CallOut/index.js.map +1 -1
  371. package/lib/paths/Restapi/Account/Telephony/Conference/index.js +12 -56
  372. package/lib/paths/Restapi/Account/Telephony/Conference/index.js.map +1 -1
  373. package/lib/paths/Restapi/Account/Telephony/Metadata/MultichannelRecordings/Content/index.js +12 -56
  374. package/lib/paths/Restapi/Account/Telephony/Metadata/MultichannelRecordings/Content/index.js.map +1 -1
  375. package/lib/paths/Restapi/Account/Telephony/Metadata/MultichannelRecordings/index.js +13 -13
  376. package/lib/paths/Restapi/Account/Telephony/Metadata/MultichannelRecordings/index.js.map +1 -1
  377. package/lib/paths/Restapi/Account/Telephony/Metadata/index.js +11 -11
  378. package/lib/paths/Restapi/Account/Telephony/Metadata/index.js.map +1 -1
  379. package/lib/paths/Restapi/Account/Telephony/Sessions/Parties/Answer/index.js +12 -56
  380. package/lib/paths/Restapi/Account/Telephony/Sessions/Parties/Answer/index.js.map +1 -1
  381. package/lib/paths/Restapi/Account/Telephony/Sessions/Parties/Bridge/index.js +12 -56
  382. package/lib/paths/Restapi/Account/Telephony/Sessions/Parties/Bridge/index.js.map +1 -1
  383. package/lib/paths/Restapi/Account/Telephony/Sessions/Parties/BringIn/index.js +12 -56
  384. package/lib/paths/Restapi/Account/Telephony/Sessions/Parties/BringIn/index.js.map +1 -1
  385. package/lib/paths/Restapi/Account/Telephony/Sessions/Parties/Flip/index.js +12 -56
  386. package/lib/paths/Restapi/Account/Telephony/Sessions/Parties/Flip/index.js.map +1 -1
  387. package/lib/paths/Restapi/Account/Telephony/Sessions/Parties/Forward/index.js +12 -56
  388. package/lib/paths/Restapi/Account/Telephony/Sessions/Parties/Forward/index.js.map +1 -1
  389. package/lib/paths/Restapi/Account/Telephony/Sessions/Parties/Hold/index.js +12 -56
  390. package/lib/paths/Restapi/Account/Telephony/Sessions/Parties/Hold/index.js.map +1 -1
  391. package/lib/paths/Restapi/Account/Telephony/Sessions/Parties/Ignore/index.js +12 -56
  392. package/lib/paths/Restapi/Account/Telephony/Sessions/Parties/Ignore/index.js.map +1 -1
  393. package/lib/paths/Restapi/Account/Telephony/Sessions/Parties/Park/index.js +12 -56
  394. package/lib/paths/Restapi/Account/Telephony/Sessions/Parties/Park/index.js.map +1 -1
  395. package/lib/paths/Restapi/Account/Telephony/Sessions/Parties/Pickup/index.js +12 -56
  396. package/lib/paths/Restapi/Account/Telephony/Sessions/Parties/Pickup/index.js.map +1 -1
  397. package/lib/paths/Restapi/Account/Telephony/Sessions/Parties/Recordings/index.js +21 -76
  398. package/lib/paths/Restapi/Account/Telephony/Sessions/Parties/Recordings/index.js.map +1 -1
  399. package/lib/paths/Restapi/Account/Telephony/Sessions/Parties/Reject/index.js +12 -56
  400. package/lib/paths/Restapi/Account/Telephony/Sessions/Parties/Reject/index.js.map +1 -1
  401. package/lib/paths/Restapi/Account/Telephony/Sessions/Parties/Reply/index.js +12 -56
  402. package/lib/paths/Restapi/Account/Telephony/Sessions/Parties/Reply/index.js.map +1 -1
  403. package/lib/paths/Restapi/Account/Telephony/Sessions/Parties/Supervise/index.js +12 -56
  404. package/lib/paths/Restapi/Account/Telephony/Sessions/Parties/Supervise/index.js.map +1 -1
  405. package/lib/paths/Restapi/Account/Telephony/Sessions/Parties/Transfer/index.js +12 -56
  406. package/lib/paths/Restapi/Account/Telephony/Sessions/Parties/Transfer/index.js.map +1 -1
  407. package/lib/paths/Restapi/Account/Telephony/Sessions/Parties/Unhold/index.js +12 -56
  408. package/lib/paths/Restapi/Account/Telephony/Sessions/Parties/Unhold/index.js.map +1 -1
  409. package/lib/paths/Restapi/Account/Telephony/Sessions/Parties/index.js +76 -143
  410. package/lib/paths/Restapi/Account/Telephony/Sessions/Parties/index.js.map +1 -1
  411. package/lib/paths/Restapi/Account/Telephony/Sessions/Supervise/index.js +12 -56
  412. package/lib/paths/Restapi/Account/Telephony/Sessions/Supervise/index.js.map +1 -1
  413. package/lib/paths/Restapi/Account/Telephony/Sessions/index.js +30 -87
  414. package/lib/paths/Restapi/Account/Telephony/Sessions/index.js.map +1 -1
  415. package/lib/paths/Restapi/Account/Telephony/index.js +20 -20
  416. package/lib/paths/Restapi/Account/Telephony/index.js.map +1 -1
  417. package/lib/paths/Restapi/Account/Templates/index.js +21 -76
  418. package/lib/paths/Restapi/Account/Templates/index.js.map +1 -1
  419. package/lib/paths/Restapi/Account/UserRole/BulkAssign/index.js +12 -56
  420. package/lib/paths/Restapi/Account/UserRole/BulkAssign/index.js.map +1 -1
  421. package/lib/paths/Restapi/Account/UserRole/Default/index.js +16 -69
  422. package/lib/paths/Restapi/Account/UserRole/Default/index.js.map +1 -1
  423. package/lib/paths/Restapi/Account/UserRole/index.js +45 -129
  424. package/lib/paths/Restapi/Account/UserRole/index.js.map +1 -1
  425. package/lib/paths/Restapi/Account/index.js +128 -192
  426. package/lib/paths/Restapi/Account/index.js.map +1 -1
  427. package/lib/paths/Restapi/ClientInfo/SipProvision/index.js +12 -56
  428. package/lib/paths/Restapi/ClientInfo/SipProvision/index.js.map +1 -1
  429. package/lib/paths/Restapi/ClientInfo/index.js +11 -10
  430. package/lib/paths/Restapi/ClientInfo/index.js.map +1 -1
  431. package/lib/paths/Restapi/Dictionary/Brand/ContractedCountry/index.js +21 -76
  432. package/lib/paths/Restapi/Dictionary/Brand/ContractedCountry/index.js.map +1 -1
  433. package/lib/paths/Restapi/Dictionary/Brand/index.js +13 -14
  434. package/lib/paths/Restapi/Dictionary/Brand/index.js.map +1 -1
  435. package/lib/paths/Restapi/Dictionary/Country/index.js +21 -76
  436. package/lib/paths/Restapi/Dictionary/Country/index.js.map +1 -1
  437. package/lib/paths/Restapi/Dictionary/FaxCoverPage/index.js +12 -56
  438. package/lib/paths/Restapi/Dictionary/FaxCoverPage/index.js.map +1 -1
  439. package/lib/paths/Restapi/Dictionary/Greeting/index.js +21 -76
  440. package/lib/paths/Restapi/Dictionary/Greeting/index.js.map +1 -1
  441. package/lib/paths/Restapi/Dictionary/Language/index.js +21 -76
  442. package/lib/paths/Restapi/Dictionary/Language/index.js.map +1 -1
  443. package/lib/paths/Restapi/Dictionary/Location/index.js +12 -56
  444. package/lib/paths/Restapi/Dictionary/Location/index.js.map +1 -1
  445. package/lib/paths/Restapi/Dictionary/Permission/index.js +21 -76
  446. package/lib/paths/Restapi/Dictionary/Permission/index.js.map +1 -1
  447. package/lib/paths/Restapi/Dictionary/PermissionCategory/index.js +21 -76
  448. package/lib/paths/Restapi/Dictionary/PermissionCategory/index.js.map +1 -1
  449. package/lib/paths/Restapi/Dictionary/State/index.js +21 -76
  450. package/lib/paths/Restapi/Dictionary/State/index.js.map +1 -1
  451. package/lib/paths/Restapi/Dictionary/Timezone/index.js +21 -76
  452. package/lib/paths/Restapi/Dictionary/Timezone/index.js.map +1 -1
  453. package/lib/paths/Restapi/Dictionary/UserRole/index.js +21 -76
  454. package/lib/paths/Restapi/Dictionary/UserRole/index.js.map +1 -1
  455. package/lib/paths/Restapi/Dictionary/index.js +41 -49
  456. package/lib/paths/Restapi/Dictionary/index.js.map +1 -1
  457. package/lib/paths/Restapi/NumberParser/Parse/index.js +12 -56
  458. package/lib/paths/Restapi/NumberParser/Parse/index.js.map +1 -1
  459. package/lib/paths/Restapi/NumberParser/index.js +11 -10
  460. package/lib/paths/Restapi/NumberParser/index.js.map +1 -1
  461. package/lib/paths/Restapi/Oauth/Authorize/index.js +16 -69
  462. package/lib/paths/Restapi/Oauth/Authorize/index.js.map +1 -1
  463. package/lib/paths/Restapi/Oauth/Revoke/index.js +12 -56
  464. package/lib/paths/Restapi/Oauth/Revoke/index.js.map +1 -1
  465. package/lib/paths/Restapi/Oauth/Token/index.js +12 -56
  466. package/lib/paths/Restapi/Oauth/Token/index.js.map +1 -1
  467. package/lib/paths/Restapi/Oauth/index.js +17 -16
  468. package/lib/paths/Restapi/Oauth/index.js.map +1 -1
  469. package/lib/paths/Restapi/Subscription/Renew/index.js +12 -56
  470. package/lib/paths/Restapi/Subscription/Renew/index.js.map +1 -1
  471. package/lib/paths/Restapi/Subscription/index.js +42 -126
  472. package/lib/paths/Restapi/Subscription/index.js.map +1 -1
  473. package/lib/paths/Restapi/V2/Accounts/BatchProvisioning/Users/index.js +12 -56
  474. package/lib/paths/Restapi/V2/Accounts/BatchProvisioning/Users/index.js.map +1 -1
  475. package/lib/paths/Restapi/V2/Accounts/BatchProvisioning/index.js +11 -10
  476. package/lib/paths/Restapi/V2/Accounts/BatchProvisioning/index.js.map +1 -1
  477. package/lib/paths/Restapi/V2/Accounts/CostCenters/index.js +12 -56
  478. package/lib/paths/Restapi/V2/Accounts/CostCenters/index.js.map +1 -1
  479. package/lib/paths/Restapi/V2/Accounts/DeviceInventory/index.js +16 -69
  480. package/lib/paths/Restapi/V2/Accounts/DeviceInventory/index.js.map +1 -1
  481. package/lib/paths/Restapi/V2/Accounts/Devices/BulkAdd/index.js +12 -56
  482. package/lib/paths/Restapi/V2/Accounts/Devices/BulkAdd/index.js.map +1 -1
  483. package/lib/paths/Restapi/V2/Accounts/Devices/index.js +20 -66
  484. package/lib/paths/Restapi/V2/Accounts/Devices/index.js.map +1 -1
  485. package/lib/paths/Restapi/V2/Accounts/Extensions/CallFlipNumbers/index.js +16 -69
  486. package/lib/paths/Restapi/V2/Accounts/Extensions/CallFlipNumbers/index.js.map +1 -1
  487. package/lib/paths/Restapi/V2/Accounts/Extensions/Devices/Replace/index.js +12 -56
  488. package/lib/paths/Restapi/V2/Accounts/Extensions/Devices/Replace/index.js.map +1 -1
  489. package/lib/paths/Restapi/V2/Accounts/Extensions/Devices/index.js +13 -13
  490. package/lib/paths/Restapi/V2/Accounts/Extensions/Devices/index.js.map +1 -1
  491. package/lib/paths/Restapi/V2/Accounts/Extensions/index.js +18 -63
  492. package/lib/paths/Restapi/V2/Accounts/Extensions/index.js.map +1 -1
  493. package/lib/paths/Restapi/V2/Accounts/PhoneNumbers/BulkAdd/index.js +21 -76
  494. package/lib/paths/Restapi/V2/Accounts/PhoneNumbers/BulkAdd/index.js.map +1 -1
  495. package/lib/paths/Restapi/V2/Accounts/PhoneNumbers/Replace/index.js +12 -56
  496. package/lib/paths/Restapi/V2/Accounts/PhoneNumbers/Replace/index.js.map +1 -1
  497. package/lib/paths/Restapi/V2/Accounts/PhoneNumbers/index.js +31 -96
  498. package/lib/paths/Restapi/V2/Accounts/PhoneNumbers/index.js.map +1 -1
  499. package/lib/paths/Restapi/V2/Accounts/SendActivationEmail/index.js +12 -56
  500. package/lib/paths/Restapi/V2/Accounts/SendActivationEmail/index.js.map +1 -1
  501. package/lib/paths/Restapi/V2/Accounts/SendWelcomeEmail/index.js +12 -56
  502. package/lib/paths/Restapi/V2/Accounts/SendWelcomeEmail/index.js.map +1 -1
  503. package/lib/paths/Restapi/V2/Accounts/index.js +41 -89
  504. package/lib/paths/Restapi/V2/Accounts/index.js.map +1 -1
  505. package/lib/paths/Restapi/V2/index.js +11 -11
  506. package/lib/paths/Restapi/V2/index.js.map +1 -1
  507. package/lib/paths/Restapi/index.js +40 -98
  508. package/lib/paths/Restapi/index.js.map +1 -1
  509. package/lib/paths/Scim/ResourceTypes/index.js +21 -76
  510. package/lib/paths/Scim/ResourceTypes/index.js.map +1 -1
  511. package/lib/paths/Scim/Schemas/index.js +21 -76
  512. package/lib/paths/Scim/Schemas/index.js.map +1 -1
  513. package/lib/paths/Scim/ServiceProviderConfig/index.js +12 -56
  514. package/lib/paths/Scim/ServiceProviderConfig/index.js.map +1 -1
  515. package/lib/paths/Scim/Users/DotSearch/index.js +12 -56
  516. package/lib/paths/Scim/Users/DotSearch/index.js.map +1 -1
  517. package/lib/paths/Scim/Users/index.js +49 -143
  518. package/lib/paths/Scim/Users/index.js.map +1 -1
  519. package/lib/paths/Scim/index.js +20 -24
  520. package/lib/paths/Scim/index.js.map +1 -1
  521. package/lib/paths/TeamMessaging/V1/AdaptiveCards/index.js +31 -97
  522. package/lib/paths/TeamMessaging/V1/AdaptiveCards/index.js.map +1 -1
  523. package/lib/paths/TeamMessaging/V1/Chats/AdaptiveCards/index.js +12 -56
  524. package/lib/paths/TeamMessaging/V1/Chats/AdaptiveCards/index.js.map +1 -1
  525. package/lib/paths/TeamMessaging/V1/Chats/Favorite/index.js +12 -56
  526. package/lib/paths/TeamMessaging/V1/Chats/Favorite/index.js.map +1 -1
  527. package/lib/paths/TeamMessaging/V1/Chats/Notes/index.js +16 -69
  528. package/lib/paths/TeamMessaging/V1/Chats/Notes/index.js.map +1 -1
  529. package/lib/paths/TeamMessaging/V1/Chats/Posts/index.js +39 -123
  530. package/lib/paths/TeamMessaging/V1/Chats/Posts/index.js.map +1 -1
  531. package/lib/paths/TeamMessaging/V1/Chats/Tasks/index.js +16 -69
  532. package/lib/paths/TeamMessaging/V1/Chats/Tasks/index.js.map +1 -1
  533. package/lib/paths/TeamMessaging/V1/Chats/Unfavorite/index.js +12 -56
  534. package/lib/paths/TeamMessaging/V1/Chats/Unfavorite/index.js.map +1 -1
  535. package/lib/paths/TeamMessaging/V1/Chats/index.js +39 -95
  536. package/lib/paths/TeamMessaging/V1/Chats/index.js.map +1 -1
  537. package/lib/paths/TeamMessaging/V1/Companies/index.js +17 -63
  538. package/lib/paths/TeamMessaging/V1/Companies/index.js.map +1 -1
  539. package/lib/paths/TeamMessaging/V1/Conversations/index.js +25 -89
  540. package/lib/paths/TeamMessaging/V1/Conversations/index.js.map +1 -1
  541. package/lib/paths/TeamMessaging/V1/DataExport/index.js +25 -89
  542. package/lib/paths/TeamMessaging/V1/DataExport/index.js.map +1 -1
  543. package/lib/paths/TeamMessaging/V1/Events/index.js +39 -123
  544. package/lib/paths/TeamMessaging/V1/Events/index.js.map +1 -1
  545. package/lib/paths/TeamMessaging/V1/Everyone/index.js +16 -69
  546. package/lib/paths/TeamMessaging/V1/Everyone/index.js.map +1 -1
  547. package/lib/paths/TeamMessaging/V1/Favorites/index.js +12 -56
  548. package/lib/paths/TeamMessaging/V1/Favorites/index.js.map +1 -1
  549. package/lib/paths/TeamMessaging/V1/Files/index.js +14 -60
  550. package/lib/paths/TeamMessaging/V1/Files/index.js.map +1 -1
  551. package/lib/paths/TeamMessaging/V1/Groups/Events/index.js +16 -69
  552. package/lib/paths/TeamMessaging/V1/Groups/Events/index.js.map +1 -1
  553. package/lib/paths/TeamMessaging/V1/Groups/Webhooks/index.js +16 -69
  554. package/lib/paths/TeamMessaging/V1/Groups/Webhooks/index.js.map +1 -1
  555. package/lib/paths/TeamMessaging/V1/Groups/index.js +16 -16
  556. package/lib/paths/TeamMessaging/V1/Groups/index.js.map +1 -1
  557. package/lib/paths/TeamMessaging/V1/Notes/Lock/index.js +12 -56
  558. package/lib/paths/TeamMessaging/V1/Notes/Lock/index.js.map +1 -1
  559. package/lib/paths/TeamMessaging/V1/Notes/Publish/index.js +12 -56
  560. package/lib/paths/TeamMessaging/V1/Notes/Publish/index.js.map +1 -1
  561. package/lib/paths/TeamMessaging/V1/Notes/Unlock/index.js +12 -56
  562. package/lib/paths/TeamMessaging/V1/Notes/Unlock/index.js.map +1 -1
  563. package/lib/paths/TeamMessaging/V1/Notes/index.js +40 -106
  564. package/lib/paths/TeamMessaging/V1/Notes/index.js.map +1 -1
  565. package/lib/paths/TeamMessaging/V1/Persons/index.js +17 -63
  566. package/lib/paths/TeamMessaging/V1/Persons/index.js.map +1 -1
  567. package/lib/paths/TeamMessaging/V1/Recent/Chats/index.js +12 -56
  568. package/lib/paths/TeamMessaging/V1/Recent/Chats/index.js.map +1 -1
  569. package/lib/paths/TeamMessaging/V1/Recent/index.js +11 -10
  570. package/lib/paths/TeamMessaging/V1/Recent/index.js.map +1 -1
  571. package/lib/paths/TeamMessaging/V1/Tasks/Complete/index.js +12 -56
  572. package/lib/paths/TeamMessaging/V1/Tasks/Complete/index.js.map +1 -1
  573. package/lib/paths/TeamMessaging/V1/Tasks/index.js +34 -100
  574. package/lib/paths/TeamMessaging/V1/Tasks/index.js.map +1 -1
  575. package/lib/paths/TeamMessaging/V1/Teams/Add/index.js +12 -56
  576. package/lib/paths/TeamMessaging/V1/Teams/Add/index.js.map +1 -1
  577. package/lib/paths/TeamMessaging/V1/Teams/Archive/index.js +12 -56
  578. package/lib/paths/TeamMessaging/V1/Teams/Archive/index.js.map +1 -1
  579. package/lib/paths/TeamMessaging/V1/Teams/Join/index.js +12 -56
  580. package/lib/paths/TeamMessaging/V1/Teams/Join/index.js.map +1 -1
  581. package/lib/paths/TeamMessaging/V1/Teams/Leave/index.js +12 -56
  582. package/lib/paths/TeamMessaging/V1/Teams/Leave/index.js.map +1 -1
  583. package/lib/paths/TeamMessaging/V1/Teams/Remove/index.js +12 -56
  584. package/lib/paths/TeamMessaging/V1/Teams/Remove/index.js.map +1 -1
  585. package/lib/paths/TeamMessaging/V1/Teams/Unarchive/index.js +12 -56
  586. package/lib/paths/TeamMessaging/V1/Teams/Unarchive/index.js.map +1 -1
  587. package/lib/paths/TeamMessaging/V1/Teams/index.js +57 -141
  588. package/lib/paths/TeamMessaging/V1/Teams/index.js.map +1 -1
  589. package/lib/paths/TeamMessaging/V1/Webhooks/Activate/index.js +12 -56
  590. package/lib/paths/TeamMessaging/V1/Webhooks/Activate/index.js.map +1 -1
  591. package/lib/paths/TeamMessaging/V1/Webhooks/Suspend/index.js +12 -56
  592. package/lib/paths/TeamMessaging/V1/Webhooks/Suspend/index.js.map +1 -1
  593. package/lib/paths/TeamMessaging/V1/Webhooks/index.js +34 -99
  594. package/lib/paths/TeamMessaging/V1/Webhooks/index.js.map +1 -1
  595. package/lib/paths/TeamMessaging/V1/index.js +56 -67
  596. package/lib/paths/TeamMessaging/V1/index.js.map +1 -1
  597. package/lib/paths/TeamMessaging/index.js +9 -9
  598. package/lib/paths/TeamMessaging/index.js.map +1 -1
  599. package/lib/paths/Webinar/Configuration/V1/Company/Sessions/index.js +12 -56
  600. package/lib/paths/Webinar/Configuration/V1/Company/Sessions/index.js.map +1 -1
  601. package/lib/paths/Webinar/Configuration/V1/Company/index.js +11 -10
  602. package/lib/paths/Webinar/Configuration/V1/Company/index.js.map +1 -1
  603. package/lib/paths/Webinar/Configuration/V1/Sessions/index.js +12 -56
  604. package/lib/paths/Webinar/Configuration/V1/Sessions/index.js.map +1 -1
  605. package/lib/paths/Webinar/Configuration/V1/Webinars/Sessions/Invitees/index.js +39 -123
  606. package/lib/paths/Webinar/Configuration/V1/Webinars/Sessions/Invitees/index.js.map +1 -1
  607. package/lib/paths/Webinar/Configuration/V1/Webinars/Sessions/index.js +38 -114
  608. package/lib/paths/Webinar/Configuration/V1/Webinars/Sessions/index.js.map +1 -1
  609. package/lib/paths/Webinar/Configuration/V1/Webinars/index.js +42 -127
  610. package/lib/paths/Webinar/Configuration/V1/Webinars/index.js.map +1 -1
  611. package/lib/paths/Webinar/Configuration/V1/index.js +17 -17
  612. package/lib/paths/Webinar/Configuration/V1/index.js.map +1 -1
  613. package/lib/paths/Webinar/Configuration/index.js +11 -10
  614. package/lib/paths/Webinar/Configuration/index.js.map +1 -1
  615. package/lib/paths/Webinar/History/V1/Company/Recordings/index.js +21 -76
  616. package/lib/paths/Webinar/History/V1/Company/Recordings/index.js.map +1 -1
  617. package/lib/paths/Webinar/History/V1/Company/Sessions/index.js +12 -56
  618. package/lib/paths/Webinar/History/V1/Company/Sessions/index.js.map +1 -1
  619. package/lib/paths/Webinar/History/V1/Company/index.js +14 -14
  620. package/lib/paths/Webinar/History/V1/Company/index.js.map +1 -1
  621. package/lib/paths/Webinar/History/V1/Recordings/Download/index.js +12 -56
  622. package/lib/paths/Webinar/History/V1/Recordings/Download/index.js.map +1 -1
  623. package/lib/paths/Webinar/History/V1/Recordings/index.js +24 -79
  624. package/lib/paths/Webinar/History/V1/Recordings/index.js.map +1 -1
  625. package/lib/paths/Webinar/History/V1/Sessions/index.js +12 -56
  626. package/lib/paths/Webinar/History/V1/Sessions/index.js.map +1 -1
  627. package/lib/paths/Webinar/History/V1/Webinars/Sessions/Invitees/index.js +21 -76
  628. package/lib/paths/Webinar/History/V1/Webinars/Sessions/Invitees/index.js.map +1 -1
  629. package/lib/paths/Webinar/History/V1/Webinars/Sessions/Participants/Self/index.js +12 -56
  630. package/lib/paths/Webinar/History/V1/Webinars/Sessions/Participants/Self/index.js.map +1 -1
  631. package/lib/paths/Webinar/History/V1/Webinars/Sessions/Participants/index.js +15 -59
  632. package/lib/paths/Webinar/History/V1/Webinars/Sessions/Participants/index.js.map +1 -1
  633. package/lib/paths/Webinar/History/V1/Webinars/Sessions/index.js +23 -70
  634. package/lib/paths/Webinar/History/V1/Webinars/Sessions/index.js.map +1 -1
  635. package/lib/paths/Webinar/History/V1/Webinars/index.js +20 -67
  636. package/lib/paths/Webinar/History/V1/Webinars/index.js.map +1 -1
  637. package/lib/paths/Webinar/History/V1/index.js +20 -21
  638. package/lib/paths/Webinar/History/V1/index.js.map +1 -1
  639. package/lib/paths/Webinar/History/index.js +11 -10
  640. package/lib/paths/Webinar/History/index.js.map +1 -1
  641. package/lib/paths/Webinar/Notifications/V1/Subscriptions/Renew/index.js +12 -56
  642. package/lib/paths/Webinar/Notifications/V1/Subscriptions/Renew/index.js.map +1 -1
  643. package/lib/paths/Webinar/Notifications/V1/Subscriptions/index.js +42 -126
  644. package/lib/paths/Webinar/Notifications/V1/Subscriptions/index.js.map +1 -1
  645. package/lib/paths/Webinar/Notifications/V1/index.js +11 -11
  646. package/lib/paths/Webinar/Notifications/V1/index.js.map +1 -1
  647. package/lib/paths/Webinar/Notifications/index.js +11 -10
  648. package/lib/paths/Webinar/Notifications/index.js.map +1 -1
  649. package/lib/paths/Webinar/Registration/V1/Sessions/Registrants/index.js +32 -106
  650. package/lib/paths/Webinar/Registration/V1/Sessions/Registrants/index.js.map +1 -1
  651. package/lib/paths/Webinar/Registration/V1/Sessions/index.js +27 -84
  652. package/lib/paths/Webinar/Registration/V1/Sessions/index.js.map +1 -1
  653. package/lib/paths/Webinar/Registration/V1/index.js +11 -11
  654. package/lib/paths/Webinar/Registration/V1/index.js.map +1 -1
  655. package/lib/paths/Webinar/Registration/index.js +11 -10
  656. package/lib/paths/Webinar/Registration/index.js.map +1 -1
  657. package/lib/paths/Webinar/index.js +18 -18
  658. package/lib/paths/Webinar/index.js.map +1 -1
  659. package/package.json +2 -2
  660. package/tsconfig.json +5 -1
@@ -1,49 +1,15 @@
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
- var Index = /** @class */ (function () {
40
- function Index(_parent) {
3
+ class Index {
4
+ rc;
5
+ _parent;
6
+ constructor(_parent) {
41
7
  this._parent = _parent;
42
8
  this.rc = _parent.rc;
43
9
  }
44
- Index.prototype.path = function () {
45
- return "".concat(this._parent.path(), "/replace");
46
- };
10
+ path() {
11
+ return `${this._parent.path()}/replace`;
12
+ }
47
13
  /**
48
14
  * Replaces the user device with another device, which is assigned to an extension
49
15
  * or is stored in the inventory of the same account.
@@ -65,20 +31,10 @@ var Index = /** @class */ (function () {
65
31
  * App Permission: EditAccounts
66
32
  * User Permission: EditUserDevices
67
33
  */
68
- Index.prototype.post = function (swapDeviceRequest, restRequestConfig) {
69
- return __awaiter(this, void 0, void 0, function () {
70
- var r;
71
- return __generator(this, function (_a) {
72
- switch (_a.label) {
73
- case 0: return [4 /*yield*/, this.rc.post(this.path(), swapDeviceRequest, undefined, restRequestConfig)];
74
- case 1:
75
- r = _a.sent();
76
- return [2 /*return*/, r.data];
77
- }
78
- });
79
- });
80
- };
81
- return Index;
82
- }());
34
+ async post(swapDeviceRequest, restRequestConfig) {
35
+ const r = await this.rc.post(this.path(), swapDeviceRequest, undefined, restRequestConfig);
36
+ return r.data;
37
+ }
38
+ }
83
39
  exports.default = Index;
84
40
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../src/paths/Restapi/V2/Accounts/Extensions/Devices/Replace/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAOA;IAIE,eAAmB,OAAwB;QACzC,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,EAAE,GAAG,OAAO,CAAC,EAAE,CAAC;IACvB,CAAC;IACM,oBAAI,GAAX;QACE,OAAO,UAAG,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,aAAU,CAAC;IAC1C,CAAC;IACD;;;;;;;;;;;;;;;;;;;;OAoBG;IACU,oBAAI,GAAjB,UACE,iBAAoC,EACpC,iBAAqC;;;;;4BAE3B,qBAAM,IAAI,CAAC,EAAE,CAAC,IAAI,CAC1B,IAAI,CAAC,IAAI,EAAE,EACX,iBAAiB,EACjB,SAAS,EACT,iBAAiB,CAClB,EAAA;;wBALK,CAAC,GAAG,SAKT;wBACD,sBAAO,CAAC,CAAC,IAAI,EAAC;;;;KACf;IACH,YAAC;AAAD,CAAC,AA5CD,IA4CC;AACD,kBAAe,KAAK,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../src/paths/Restapi/V2/Accounts/Extensions/Devices/Replace/index.ts"],"names":[],"mappings":";;AAOA,MAAM,KAAK;IACF,EAAE,CAAuB;IACzB,OAAO,CAAkB;IAEhC,YAAmB,OAAwB;QACzC,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,EAAE,GAAG,OAAO,CAAC,EAAE,CAAC;IACvB,CAAC;IACM,IAAI;QACT,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,UAAU,CAAC;IAC1C,CAAC;IACD;;;;;;;;;;;;;;;;;;;;OAoBG;IACI,KAAK,CAAC,IAAI,CACf,iBAAoC,EACpC,iBAAqC;QAErC,MAAM,CAAC,GAAG,MAAM,IAAI,CAAC,EAAE,CAAC,IAAI,CAC1B,IAAI,CAAC,IAAI,EAAE,EACX,iBAAiB,EACjB,SAAS,EACT,iBAAiB,CAClB,CAAC;QACF,OAAO,CAAC,CAAC,IAAI,CAAC;IAChB,CAAC;CACF;AACD,kBAAe,KAAK,CAAC"}
@@ -3,25 +3,25 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- var index_js_1 = __importDefault(require("./Replace/index.js"));
7
- var Index = /** @class */ (function () {
8
- function Index(_parent, deviceId) {
9
- if (deviceId === void 0) { deviceId = null; }
6
+ const index_js_1 = __importDefault(require("./Replace/index.js"));
7
+ class Index {
8
+ rc;
9
+ _parent;
10
+ deviceId;
11
+ constructor(_parent, deviceId = null) {
10
12
  this._parent = _parent;
11
13
  this.rc = _parent.rc;
12
14
  this.deviceId = deviceId;
13
15
  }
14
- Index.prototype.path = function (withParameter) {
15
- if (withParameter === void 0) { withParameter = true; }
16
+ path(withParameter = true) {
16
17
  if (withParameter && this.deviceId !== null) {
17
- return "".concat(this._parent.path(), "/devices/").concat(this.deviceId);
18
+ return `${this._parent.path()}/devices/${this.deviceId}`;
18
19
  }
19
- return "".concat(this._parent.path(), "/devices");
20
- };
21
- Index.prototype.replace = function () {
20
+ return `${this._parent.path()}/devices`;
21
+ }
22
+ replace() {
22
23
  return new index_js_1.default(this);
23
- };
24
- return Index;
25
- }());
24
+ }
25
+ }
26
26
  exports.default = Index;
27
27
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/paths/Restapi/V2/Accounts/Extensions/Devices/index.ts"],"names":[],"mappings":";;;;;AAAA,gEAAyC;AAMzC;IAKE,eAAmB,OAAwB,EAAE,QAA8B;QAA9B,yBAAA,EAAA,eAA8B;QACzE,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,EAAE,GAAG,OAAO,CAAC,EAAE,CAAC;QACrB,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;IAC3B,CAAC;IACM,oBAAI,GAAX,UAAY,aAAoB;QAApB,8BAAA,EAAA,oBAAoB;QAC9B,IAAI,aAAa,IAAI,IAAI,CAAC,QAAQ,KAAK,IAAI,EAAE,CAAC;YAC5C,OAAO,UAAG,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,sBAAY,IAAI,CAAC,QAAQ,CAAE,CAAC;QAC3D,CAAC;QACD,OAAO,UAAG,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,aAAU,CAAC;IAC1C,CAAC;IAEM,uBAAO,GAAd;QACE,OAAO,IAAI,kBAAO,CAAC,IAAI,CAAC,CAAC;IAC3B,CAAC;IACH,YAAC;AAAD,CAAC,AApBD,IAoBC;AACD,kBAAe,KAAK,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/paths/Restapi/V2/Accounts/Extensions/Devices/index.ts"],"names":[],"mappings":";;;;;AAAA,kEAAyC;AAMzC,MAAM,KAAK;IACF,EAAE,CAAuB;IACzB,OAAO,CAAkB;IACzB,QAAQ,CAAgB;IAE/B,YAAmB,OAAwB,EAAE,WAA0B,IAAI;QACzE,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,EAAE,GAAG,OAAO,CAAC,EAAE,CAAC;QACrB,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;IAC3B,CAAC;IACM,IAAI,CAAC,aAAa,GAAG,IAAI;QAC9B,IAAI,aAAa,IAAI,IAAI,CAAC,QAAQ,KAAK,IAAI,EAAE,CAAC;YAC5C,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,YAAY,IAAI,CAAC,QAAQ,EAAE,CAAC;QAC3D,CAAC;QACD,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,UAAU,CAAC;IAC1C,CAAC;IAEM,OAAO;QACZ,OAAO,IAAI,kBAAO,CAAC,IAAI,CAAC,CAAC;IAC3B,CAAC;CACF;AACD,kBAAe,KAAK,CAAC"}
@@ -1,54 +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
  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
- var index_js_1 = __importDefault(require("./CallFlipNumbers/index.js"));
43
- var index_js_2 = __importDefault(require("./Devices/index.js"));
44
- var Index = /** @class */ (function () {
45
- function Index(_parent) {
6
+ const index_js_1 = __importDefault(require("./CallFlipNumbers/index.js"));
7
+ const index_js_2 = __importDefault(require("./Devices/index.js"));
8
+ class Index {
9
+ rc;
10
+ _parent;
11
+ constructor(_parent) {
46
12
  this._parent = _parent;
47
13
  this.rc = _parent.rc;
48
14
  }
49
- Index.prototype.path = function () {
50
- return "".concat(this._parent.path(), "/extensions");
51
- };
15
+ path() {
16
+ return `${this._parent.path()}/extensions`;
17
+ }
52
18
  /**
53
19
  * Deletes user extension(s) and either keeps or destroys the assets - numbers and devices.
54
20
  * Multiple extensions can be deleted with a single API call.
@@ -61,27 +27,16 @@ var Index = /** @class */ (function () {
61
27
  * App Permission: EditAccounts
62
28
  * User Permission: Users
63
29
  */
64
- Index.prototype.delete = function (bulkDeleteUsersRequest, restRequestConfig) {
65
- return __awaiter(this, void 0, void 0, function () {
66
- var r;
67
- return __generator(this, function (_a) {
68
- switch (_a.label) {
69
- case 0: return [4 /*yield*/, this.rc.delete(this.path(), bulkDeleteUsersRequest, undefined, restRequestConfig)];
70
- case 1:
71
- r = _a.sent();
72
- return [2 /*return*/, r.data];
73
- }
74
- });
75
- });
76
- };
77
- Index.prototype.devices = function (deviceId) {
78
- if (deviceId === void 0) { deviceId = null; }
30
+ async delete(bulkDeleteUsersRequest, restRequestConfig) {
31
+ const r = await this.rc.delete(this.path(), bulkDeleteUsersRequest, undefined, restRequestConfig);
32
+ return r.data;
33
+ }
34
+ devices(deviceId = null) {
79
35
  return new index_js_2.default(this, deviceId);
80
- };
81
- Index.prototype.callFlipNumbers = function () {
36
+ }
37
+ callFlipNumbers() {
82
38
  return new index_js_1.default(this);
83
- };
84
- return Index;
85
- }());
39
+ }
40
+ }
86
41
  exports.default = Index;
87
42
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/paths/Restapi/V2/Accounts/Extensions/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wEAAyD;AACzD,gEAAyC;AASzC;IAIE,eAAmB,OAAwB;QACzC,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,EAAE,GAAG,OAAO,CAAC,EAAE,CAAC;IACvB,CAAC;IACM,oBAAI,GAAX;QACE,OAAO,UAAG,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,gBAAa,CAAC;IAC7C,CAAC;IACD;;;;;;;;;;;OAWG;IACU,sBAAM,GAAnB,UACE,sBAA8C,EAC9C,iBAAqC;;;;;4BAE3B,qBAAM,IAAI,CAAC,EAAE,CAAC,MAAM,CAC5B,IAAI,CAAC,IAAI,EAAE,EACX,sBAAsB,EACtB,SAAS,EACT,iBAAiB,CAClB,EAAA;;wBALK,CAAC,GAAG,SAKT;wBACD,sBAAO,CAAC,CAAC,IAAI,EAAC;;;;KACf;IAEM,uBAAO,GAAd,UAAe,QAA8B;QAA9B,yBAAA,EAAA,eAA8B;QAC3C,OAAO,IAAI,kBAAO,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;IACrC,CAAC;IAEM,+BAAe,GAAtB;QACE,OAAO,IAAI,kBAAe,CAAC,IAAI,CAAC,CAAC;IACnC,CAAC;IACH,YAAC;AAAD,CAAC,AA3CD,IA2CC;AACD,kBAAe,KAAK,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/paths/Restapi/V2/Accounts/Extensions/index.ts"],"names":[],"mappings":";;;;;AAAA,0EAAyD;AACzD,kEAAyC;AASzC,MAAM,KAAK;IACF,EAAE,CAAuB;IACzB,OAAO,CAAkB;IAEhC,YAAmB,OAAwB;QACzC,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,EAAE,GAAG,OAAO,CAAC,EAAE,CAAC;IACvB,CAAC;IACM,IAAI;QACT,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,aAAa,CAAC;IAC7C,CAAC;IACD;;;;;;;;;;;OAWG;IACI,KAAK,CAAC,MAAM,CACjB,sBAA8C,EAC9C,iBAAqC;QAErC,MAAM,CAAC,GAAG,MAAM,IAAI,CAAC,EAAE,CAAC,MAAM,CAC5B,IAAI,CAAC,IAAI,EAAE,EACX,sBAAsB,EACtB,SAAS,EACT,iBAAiB,CAClB,CAAC;QACF,OAAO,CAAC,CAAC,IAAI,CAAC;IAChB,CAAC;IAEM,OAAO,CAAC,WAA0B,IAAI;QAC3C,OAAO,IAAI,kBAAO,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;IACrC,CAAC;IAEM,eAAe;QACpB,OAAO,IAAI,kBAAe,CAAC,IAAI,CAAC,CAAC;IACnC,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
- var Index = /** @class */ (function () {
40
- function Index(_parent, taskId) {
41
- if (taskId === void 0) { taskId = null; }
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
- Index.prototype.path = function (withParameter) {
47
- if (withParameter === void 0) { withParameter = true; }
12
+ path(withParameter = true) {
48
13
  if (withParameter && this.taskId !== null) {
49
- return "".concat(this._parent.path(), "/bulk-add/").concat(this.taskId);
14
+ return `${this._parent.path()}/bulk-add/${this.taskId}`;
50
15
  }
51
- return "".concat(this._parent.path(), "/bulk-add");
52
- };
16
+ return `${this._parent.path()}/bulk-add`;
17
+ }
53
18
  /**
54
19
  * Adds phone numbers to the account Inventory as unassigned. Currently, we support the following values: `Inventory`,
55
20
  * `InventoryPartnerBusinessMobileNumber` and `PartnerBusinessMobileNumber`. Later we may support some other values like `ForwardedNumber`, etc.
@@ -60,19 +25,10 @@ var Index = /** @class */ (function () {
60
25
  * App Permission: EditAccounts
61
26
  * User Permission: EditCompanyPhoneNumbers
62
27
  */
63
- Index.prototype.post = function (addPhoneNumbersRequest, restRequestConfig) {
64
- return __awaiter(this, void 0, void 0, function () {
65
- var r;
66
- return __generator(this, function (_a) {
67
- switch (_a.label) {
68
- case 0: return [4 /*yield*/, this.rc.post(this.path(false), addPhoneNumbersRequest, undefined, restRequestConfig)];
69
- case 1:
70
- r = _a.sent();
71
- return [2 /*return*/, r.data];
72
- }
73
- });
74
- });
75
- };
28
+ async post(addPhoneNumbersRequest, restRequestConfig) {
29
+ const r = await this.rc.post(this.path(false), addPhoneNumbersRequest, undefined, restRequestConfig);
30
+ return r.data;
31
+ }
76
32
  /**
77
33
  * Returns the result of asynchronous operation which adds phone numbers to the account inventory.
78
34
  *
@@ -82,24 +38,13 @@ var Index = /** @class */ (function () {
82
38
  * App Permission: EditAccounts
83
39
  * User Permission: EditCompanyPhoneNumbers
84
40
  */
85
- Index.prototype.get = function (restRequestConfig) {
86
- return __awaiter(this, void 0, void 0, function () {
87
- var r;
88
- return __generator(this, function (_a) {
89
- switch (_a.label) {
90
- case 0:
91
- if (this.taskId === null) {
92
- throw new Error("taskId must be specified.");
93
- }
94
- return [4 /*yield*/, this.rc.get(this.path(), undefined, restRequestConfig)];
95
- case 1:
96
- r = _a.sent();
97
- return [2 /*return*/, r.data];
98
- }
99
- });
100
- });
101
- };
102
- return Index;
103
- }());
41
+ async get(restRequestConfig) {
42
+ if (this.taskId === null) {
43
+ throw new Error("taskId must be specified.");
44
+ }
45
+ const r = await this.rc.get(this.path(), undefined, restRequestConfig);
46
+ return r.data;
47
+ }
48
+ }
104
49
  exports.default = Index;
105
50
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/paths/Restapi/V2/Accounts/PhoneNumbers/BulkAdd/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AASA;IAKE,eAAmB,OAAwB,EAAE,MAA4B;QAA5B,uBAAA,EAAA,aAA4B;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,oBAAI,GAAX,UAAY,aAAoB;QAApB,8BAAA,EAAA,oBAAoB;QAC9B,IAAI,aAAa,IAAI,IAAI,CAAC,MAAM,KAAK,IAAI,EAAE,CAAC;YAC1C,OAAO,UAAG,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,uBAAa,IAAI,CAAC,MAAM,CAAE,CAAC;QAC1D,CAAC;QACD,OAAO,UAAG,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,cAAW,CAAC;IAC3C,CAAC;IACD;;;;;;;;;OASG;IACU,oBAAI,GAAjB,UACE,sBAA8C,EAC9C,iBAAqC;;;;;4BAE3B,qBAAM,IAAI,CAAC,EAAE,CAAC,IAAI,CAC1B,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,EAChB,sBAAsB,EACtB,SAAS,EACT,iBAAiB,CAClB,EAAA;;wBALK,CAAC,GAAG,SAKT;wBACD,sBAAO,CAAC,CAAC,IAAI,EAAC;;;;KACf;IAED;;;;;;;;OAQG;IACU,mBAAG,GAAhB,UACE,iBAAqC;;;;;;wBAErC,IAAI,IAAI,CAAC,MAAM,KAAK,IAAI,EAAE,CAAC;4BACzB,MAAM,IAAI,KAAK,CAAC,2BAA2B,CAAC,CAAC;wBAC/C,CAAC;wBACS,qBAAM,IAAI,CAAC,EAAE,CAAC,GAAG,CACzB,IAAI,CAAC,IAAI,EAAE,EACX,SAAS,EACT,iBAAiB,CAClB,EAAA;;wBAJK,CAAC,GAAG,SAIT;wBACD,sBAAO,CAAC,CAAC,IAAI,EAAC;;;;KACf;IACH,YAAC;AAAD,CAAC,AA7DD,IA6DC;AACD,kBAAe,KAAK,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/paths/Restapi/V2/Accounts/PhoneNumbers/BulkAdd/index.ts"],"names":[],"mappings":";;AASA,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,aAAa,IAAI,CAAC,MAAM,EAAE,CAAC;QAC1D,CAAC;QACD,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,WAAW,CAAC;IAC3C,CAAC;IACD;;;;;;;;;OASG;IACI,KAAK,CAAC,IAAI,CACf,sBAA8C,EAC9C,iBAAqC;QAErC,MAAM,CAAC,GAAG,MAAM,IAAI,CAAC,EAAE,CAAC,IAAI,CAC1B,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,EAChB,sBAAsB,EACtB,SAAS,EACT,iBAAiB,CAClB,CAAC;QACF,OAAO,CAAC,CAAC,IAAI,CAAC;IAChB,CAAC;IAED;;;;;;;;OAQG;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,49 +1,15 @@
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
- var Index = /** @class */ (function () {
40
- function Index(_parent) {
3
+ class Index {
4
+ rc;
5
+ _parent;
6
+ constructor(_parent) {
41
7
  this._parent = _parent;
42
8
  this.rc = _parent.rc;
43
9
  }
44
- Index.prototype.path = function () {
45
- return "".concat(this._parent.path(), "/replace");
46
- };
10
+ path() {
11
+ return `${this._parent.path()}/replace`;
12
+ }
47
13
  /**
48
14
  * Replaces (swaps) phone numbers from inventory with the main, company, direct or company fax numbers.
49
15
  * This method is used to replace temporary numbers when the porting process is complete.
@@ -54,20 +20,10 @@ var Index = /** @class */ (function () {
54
20
  * App Permission: EditAccounts
55
21
  * User Permission: EditCompanyPhoneNumbers
56
22
  */
57
- Index.prototype.post = function (replacePhoneNumberRequest, restRequestConfig) {
58
- return __awaiter(this, void 0, void 0, function () {
59
- var r;
60
- return __generator(this, function (_a) {
61
- switch (_a.label) {
62
- case 0: return [4 /*yield*/, this.rc.post(this.path(), replacePhoneNumberRequest, undefined, restRequestConfig)];
63
- case 1:
64
- r = _a.sent();
65
- return [2 /*return*/, r.data];
66
- }
67
- });
68
- });
69
- };
70
- return Index;
71
- }());
23
+ async post(replacePhoneNumberRequest, restRequestConfig) {
24
+ const r = await this.rc.post(this.path(), replacePhoneNumberRequest, undefined, restRequestConfig);
25
+ return r.data;
26
+ }
27
+ }
72
28
  exports.default = Index;
73
29
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/paths/Restapi/V2/Accounts/PhoneNumbers/Replace/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAQA;IAIE,eAAmB,OAAwB;QACzC,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,EAAE,GAAG,OAAO,CAAC,EAAE,CAAC;IACvB,CAAC;IACM,oBAAI,GAAX;QACE,OAAO,UAAG,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,aAAU,CAAC;IAC1C,CAAC;IACD;;;;;;;;;OASG;IACU,oBAAI,GAAjB,UACE,yBAAoD,EACpD,iBAAqC;;;;;4BAE3B,qBAAM,IAAI,CAAC,EAAE,CAAC,IAAI,CAC1B,IAAI,CAAC,IAAI,EAAE,EACX,yBAAyB,EACzB,SAAS,EACT,iBAAiB,CAClB,EAAA;;wBALK,CAAC,GAAG,SAKT;wBACD,sBAAO,CAAC,CAAC,IAAI,EAAC;;;;KACf;IACH,YAAC;AAAD,CAAC,AAjCD,IAiCC;AACD,kBAAe,KAAK,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/paths/Restapi/V2/Accounts/PhoneNumbers/Replace/index.ts"],"names":[],"mappings":";;AAQA,MAAM,KAAK;IACF,EAAE,CAAuB;IACzB,OAAO,CAAkB;IAEhC,YAAmB,OAAwB;QACzC,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,EAAE,GAAG,OAAO,CAAC,EAAE,CAAC;IACvB,CAAC;IACM,IAAI;QACT,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,UAAU,CAAC;IAC1C,CAAC;IACD;;;;;;;;;OASG;IACI,KAAK,CAAC,IAAI,CACf,yBAAoD,EACpD,iBAAqC;QAErC,MAAM,CAAC,GAAG,MAAM,IAAI,CAAC,EAAE,CAAC,IAAI,CAC1B,IAAI,CAAC,IAAI,EAAE,EACX,yBAAyB,EACzB,SAAS,EACT,iBAAiB,CAClB,CAAC;QACF,OAAO,CAAC,CAAC,IAAI,CAAC;IAChB,CAAC;CACF;AACD,kBAAe,KAAK,CAAC"}
@@ -1,60 +1,25 @@
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
- var index_js_1 = __importDefault(require("./BulkAdd/index.js"));
43
- var index_js_2 = __importDefault(require("./Replace/index.js"));
44
- var Index = /** @class */ (function () {
45
- function Index(_parent, phoneNumberId) {
46
- if (phoneNumberId === void 0) { phoneNumberId = null; }
6
+ const index_js_1 = __importDefault(require("./BulkAdd/index.js"));
7
+ const index_js_2 = __importDefault(require("./Replace/index.js"));
8
+ class Index {
9
+ rc;
10
+ _parent;
11
+ phoneNumberId;
12
+ constructor(_parent, phoneNumberId = null) {
47
13
  this._parent = _parent;
48
14
  this.rc = _parent.rc;
49
15
  this.phoneNumberId = phoneNumberId;
50
16
  }
51
- Index.prototype.path = function (withParameter) {
52
- if (withParameter === void 0) { withParameter = true; }
17
+ path(withParameter = true) {
53
18
  if (withParameter && this.phoneNumberId !== null) {
54
- return "".concat(this._parent.path(), "/phone-numbers/").concat(this.phoneNumberId);
19
+ return `${this._parent.path()}/phone-numbers/${this.phoneNumberId}`;
55
20
  }
56
- return "".concat(this._parent.path(), "/phone-numbers");
57
- };
21
+ return `${this._parent.path()}/phone-numbers`;
22
+ }
58
23
  /**
59
24
  * Returns the list of phone numbers assigned to RingCentral customer
60
25
  * account. Both company-level and extension-level numbers are returned.
@@ -66,19 +31,10 @@ var Index = /** @class */ (function () {
66
31
  * App Permission: ReadAccounts
67
32
  * User Permission: ReadCompanyPhoneNumbers
68
33
  */
69
- Index.prototype.get = function (queryParams, restRequestConfig) {
70
- return __awaiter(this, void 0, void 0, function () {
71
- var r;
72
- return __generator(this, function (_a) {
73
- switch (_a.label) {
74
- case 0: return [4 /*yield*/, this.rc.get(this.path(false), queryParams, restRequestConfig)];
75
- case 1:
76
- r = _a.sent();
77
- return [2 /*return*/, r.data];
78
- }
79
- });
80
- });
81
- };
34
+ async get(queryParams, restRequestConfig) {
35
+ const r = await this.rc.get(this.path(false), queryParams, restRequestConfig);
36
+ return r.data;
37
+ }
82
38
  /**
83
39
  * This method can only delete numbers that of the following usage types:
84
40
  * - `Inventory`,
@@ -95,19 +51,10 @@ var Index = /** @class */ (function () {
95
51
  * App Permission: EditAccounts
96
52
  * User Permission: EditCompanyPhoneNumbers
97
53
  */
98
- Index.prototype.delete = function (deletePhoneNumbersRequest, restRequestConfig) {
99
- return __awaiter(this, void 0, void 0, function () {
100
- var r;
101
- return __generator(this, function (_a) {
102
- switch (_a.label) {
103
- case 0: return [4 /*yield*/, this.rc.delete(this.path(false), deletePhoneNumbersRequest, undefined, restRequestConfig)];
104
- case 1:
105
- r = _a.sent();
106
- return [2 /*return*/, r.data];
107
- }
108
- });
109
- });
110
- };
54
+ async delete(deletePhoneNumbersRequest, restRequestConfig) {
55
+ const r = await this.rc.delete(this.path(false), deletePhoneNumbersRequest, undefined, restRequestConfig);
56
+ return r.data;
57
+ }
111
58
  /**
112
59
  * Assigns or reassigns a phone number as a company or extension number.
113
60
  *
@@ -126,31 +73,19 @@ var Index = /** @class */ (function () {
126
73
  * App Permission: EditAccounts
127
74
  * User Permission: EditCompanyPhoneNumbers
128
75
  */
129
- Index.prototype.patch = function (assignPhoneNumberRequest, restRequestConfig) {
130
- return __awaiter(this, void 0, void 0, function () {
131
- var r;
132
- return __generator(this, function (_a) {
133
- switch (_a.label) {
134
- case 0:
135
- if (this.phoneNumberId === null) {
136
- throw new Error("phoneNumberId must be specified.");
137
- }
138
- return [4 /*yield*/, this.rc.patch(this.path(), assignPhoneNumberRequest, undefined, restRequestConfig)];
139
- case 1:
140
- r = _a.sent();
141
- return [2 /*return*/, r.data];
142
- }
143
- });
144
- });
145
- };
146
- Index.prototype.replace = function () {
76
+ async patch(assignPhoneNumberRequest, restRequestConfig) {
77
+ if (this.phoneNumberId === null) {
78
+ throw new Error("phoneNumberId must be specified.");
79
+ }
80
+ const r = await this.rc.patch(this.path(), assignPhoneNumberRequest, undefined, restRequestConfig);
81
+ return r.data;
82
+ }
83
+ replace() {
147
84
  return new index_js_2.default(this);
148
- };
149
- Index.prototype.bulkAdd = function (taskId) {
150
- if (taskId === void 0) { taskId = null; }
85
+ }
86
+ bulkAdd(taskId = null) {
151
87
  return new index_js_1.default(this, taskId);
152
- };
153
- return Index;
154
- }());
88
+ }
89
+ }
155
90
  exports.default = Index;
156
91
  //# sourceMappingURL=index.js.map