@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 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/paths/Restapi/V2/Accounts/BatchProvisioning/Users/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,WAAQ,CAAC;IACxC,CAAC;IACD;;;;;;;;OAQG;IACU,oBAAI,GAAjB,UACE,0BAAsD,EACtD,iBAAqC;;;;;4BAE3B,qBAAM,IAAI,CAAC,EAAE,CAAC,IAAI,CAC1B,IAAI,CAAC,IAAI,EAAE,EACX,0BAA0B,EAC1B,SAAS,EACT,iBAAiB,CAClB,EAAA;;wBALK,CAAC,GAAG,SAKT;wBACD,sBAAO,CAAC,CAAC,IAAI,EAAC;;;;KACf;IACH,YAAC;AAAD,CAAC,AAhCD,IAgCC;AACD,kBAAe,KAAK,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/paths/Restapi/V2/Accounts/BatchProvisioning/Users/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,QAAQ,CAAC;IACxC,CAAC;IACD;;;;;;;;OAQG;IACI,KAAK,CAAC,IAAI,CACf,0BAAsD,EACtD,iBAAqC;QAErC,MAAM,CAAC,GAAG,MAAM,IAAI,CAAC,EAAE,CAAC,IAAI,CAC1B,IAAI,CAAC,IAAI,EAAE,EACX,0BAA0B,EAC1B,SAAS,EACT,iBAAiB,CAClB,CAAC;QACF,OAAO,CAAC,CAAC,IAAI,CAAC;IAChB,CAAC;CACF;AACD,kBAAe,KAAK,CAAC"}
@@ -3,19 +3,20 @@ 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("./Users/index.js"));
7
- var Index = /** @class */ (function () {
8
- function Index(_parent) {
6
+ const index_js_1 = __importDefault(require("./Users/index.js"));
7
+ class Index {
8
+ rc;
9
+ _parent;
10
+ constructor(_parent) {
9
11
  this._parent = _parent;
10
12
  this.rc = _parent.rc;
11
13
  }
12
- Index.prototype.path = function () {
13
- return "".concat(this._parent.path(), "/batch-provisioning");
14
- };
15
- Index.prototype.users = function () {
14
+ path() {
15
+ return `${this._parent.path()}/batch-provisioning`;
16
+ }
17
+ users() {
16
18
  return new index_js_1.default(this);
17
- };
18
- return Index;
19
- }());
19
+ }
20
+ }
20
21
  exports.default = Index;
21
22
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/paths/Restapi/V2/Accounts/BatchProvisioning/index.ts"],"names":[],"mappings":";;;;;AAAA,8DAAqC;AAGrC;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,wBAAqB,CAAC;IACrD,CAAC;IAEM,qBAAK,GAAZ;QACE,OAAO,IAAI,kBAAK,CAAC,IAAI,CAAC,CAAC;IACzB,CAAC;IACH,YAAC;AAAD,CAAC,AAfD,IAeC;AACD,kBAAe,KAAK,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/paths/Restapi/V2/Accounts/BatchProvisioning/index.ts"],"names":[],"mappings":";;;;;AAAA,gEAAqC;AAGrC,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,qBAAqB,CAAC;IACrD,CAAC;IAEM,KAAK;QACV,OAAO,IAAI,kBAAK,CAAC,IAAI,CAAC,CAAC;IACzB,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(), "/cost-centers");
46
- };
10
+ path() {
11
+ return `${this._parent.path()}/cost-centers`;
12
+ }
47
13
  /**
48
14
  * Returns the list of cost centers of the account specified in path.
49
15
  * HTTP Method: get
@@ -52,20 +18,10 @@ var Index = /** @class */ (function () {
52
18
  * App Permission: ReadAccounts
53
19
  * User Permission: CostCenterManagement
54
20
  */
55
- Index.prototype.get = function (restRequestConfig) {
56
- return __awaiter(this, void 0, void 0, function () {
57
- var r;
58
- return __generator(this, function (_a) {
59
- switch (_a.label) {
60
- case 0: return [4 /*yield*/, this.rc.get(this.path(), undefined, restRequestConfig)];
61
- case 1:
62
- r = _a.sent();
63
- return [2 /*return*/, r.data];
64
- }
65
- });
66
- });
67
- };
68
- return Index;
69
- }());
21
+ async get(restRequestConfig) {
22
+ const r = await this.rc.get(this.path(), undefined, restRequestConfig);
23
+ return r.data;
24
+ }
25
+ }
70
26
  exports.default = Index;
71
27
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/paths/Restapi/V2/Accounts/CostCenters/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,kBAAe,CAAC;IAC/C,CAAC;IACD;;;;;;;OAOG;IACU,mBAAG,GAAhB,UACE,iBAAqC;;;;;4BAE3B,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,AA7BD,IA6BC;AACD,kBAAe,KAAK,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/paths/Restapi/V2/Accounts/CostCenters/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,eAAe,CAAC;IAC/C,CAAC;IACD;;;;;;;OAOG;IACI,KAAK,CAAC,GAAG,CACd,iBAAqC;QAErC,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(), "/device-inventory");
46
- };
10
+ path() {
11
+ return `${this._parent.path()}/device-inventory`;
12
+ }
47
13
  /**
48
14
  * Adds an existing phone (customer provided device - BYOD) as an unassigned device to the account inventory.
49
15
  * HTTP Method: post
@@ -51,19 +17,10 @@ var Index = /** @class */ (function () {
51
17
  * Rate Limit Group: Heavy
52
18
  * App Permission: EditAccounts
53
19
  */
54
- Index.prototype.post = function (addDeviceToInventoryRequest, restRequestConfig) {
55
- return __awaiter(this, void 0, void 0, function () {
56
- var r;
57
- return __generator(this, function (_a) {
58
- switch (_a.label) {
59
- case 0: return [4 /*yield*/, this.rc.post(this.path(), addDeviceToInventoryRequest, undefined, restRequestConfig)];
60
- case 1:
61
- r = _a.sent();
62
- return [2 /*return*/, r.data];
63
- }
64
- });
65
- });
66
- };
20
+ async post(addDeviceToInventoryRequest, restRequestConfig) {
21
+ const r = await this.rc.post(this.path(), addDeviceToInventoryRequest, undefined, restRequestConfig);
22
+ return r.data;
23
+ }
67
24
  /**
68
25
  * Deletes an existing unassigned (without digital line or phone number) device or multiple devices
69
26
  * from the account inventory. It is possible to delete up to 10 devices per request.
@@ -73,20 +30,10 @@ var Index = /** @class */ (function () {
73
30
  * Rate Limit Group: Heavy
74
31
  * App Permission: EditAccounts
75
32
  */
76
- Index.prototype.delete = function (deleteDeviceFromInventoryRequest, restRequestConfig) {
77
- return __awaiter(this, void 0, void 0, function () {
78
- var r;
79
- return __generator(this, function (_a) {
80
- switch (_a.label) {
81
- case 0: return [4 /*yield*/, this.rc.delete(this.path(), deleteDeviceFromInventoryRequest, undefined, restRequestConfig)];
82
- case 1:
83
- r = _a.sent();
84
- return [2 /*return*/, r.data];
85
- }
86
- });
87
- });
88
- };
89
- return Index;
90
- }());
33
+ async delete(deleteDeviceFromInventoryRequest, restRequestConfig) {
34
+ const r = await this.rc.delete(this.path(), deleteDeviceFromInventoryRequest, undefined, restRequestConfig);
35
+ return r.data;
36
+ }
37
+ }
91
38
  exports.default = Index;
92
39
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/paths/Restapi/V2/Accounts/DeviceInventory/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAUA;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,sBAAmB,CAAC;IACnD,CAAC;IACD;;;;;;OAMG;IACU,oBAAI,GAAjB,UACE,2BAAwD,EACxD,iBAAqC;;;;;4BAE3B,qBAAM,IAAI,CAAC,EAAE,CAAC,IAAI,CAC1B,IAAI,CAAC,IAAI,EAAE,EACX,2BAA2B,EAC3B,SAAS,EACT,iBAAiB,CAClB,EAAA;;wBALK,CAAC,GAAG,SAKT;wBACD,sBAAO,CAAC,CAAC,IAAI,EAAC;;;;KACf;IAED;;;;;;;;OAQG;IACU,sBAAM,GAAnB,UACE,gCAAkE,EAClE,iBAAqC;;;;;4BAE3B,qBAAM,IAAI,CAAC,EAAE,CAAC,MAAM,CAC5B,IAAI,CAAC,IAAI,EAAE,EACX,gCAAgC,EAChC,SAAS,EACT,iBAAiB,CAClB,EAAA;;wBALK,CAAC,GAAG,SAKT;wBACD,sBAAO,CAAC,CAAC,IAAI,EAAC;;;;KACf;IACH,YAAC;AAAD,CAAC,AApDD,IAoDC;AACD,kBAAe,KAAK,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/paths/Restapi/V2/Accounts/DeviceInventory/index.ts"],"names":[],"mappings":";;AAUA,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,mBAAmB,CAAC;IACnD,CAAC;IACD;;;;;;OAMG;IACI,KAAK,CAAC,IAAI,CACf,2BAAwD,EACxD,iBAAqC;QAErC,MAAM,CAAC,GAAG,MAAM,IAAI,CAAC,EAAE,CAAC,IAAI,CAC1B,IAAI,CAAC,IAAI,EAAE,EACX,2BAA2B,EAC3B,SAAS,EACT,iBAAiB,CAClB,CAAC;QACF,OAAO,CAAC,CAAC,IAAI,CAAC;IAChB,CAAC;IAED;;;;;;;;OAQG;IACI,KAAK,CAAC,MAAM,CACjB,gCAAkE,EAClE,iBAAqC;QAErC,MAAM,CAAC,GAAG,MAAM,IAAI,CAAC,EAAE,CAAC,MAAM,CAC5B,IAAI,CAAC,IAAI,EAAE,EACX,gCAAgC,EAChC,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(), "/bulk-add");
46
- };
10
+ path() {
11
+ return `${this._parent.path()}/bulk-add`;
12
+ }
47
13
  /**
48
14
  * Adds multiple BYOD (customer provided) devices to an account.
49
15
  * HTTP Method: post
@@ -52,20 +18,10 @@ var Index = /** @class */ (function () {
52
18
  * App Permission: EditAccounts
53
19
  * User Permission: AddRemoveDevices
54
20
  */
55
- Index.prototype.post = function (bulkAddDevicesRequest, restRequestConfig) {
56
- return __awaiter(this, void 0, void 0, function () {
57
- var r;
58
- return __generator(this, function (_a) {
59
- switch (_a.label) {
60
- case 0: return [4 /*yield*/, this.rc.post(this.path(), bulkAddDevicesRequest, undefined, restRequestConfig)];
61
- case 1:
62
- r = _a.sent();
63
- return [2 /*return*/, r.data];
64
- }
65
- });
66
- });
67
- };
68
- return Index;
69
- }());
21
+ async post(bulkAddDevicesRequest, restRequestConfig) {
22
+ const r = await this.rc.post(this.path(), bulkAddDevicesRequest, undefined, restRequestConfig);
23
+ return r.data;
24
+ }
25
+ }
70
26
  exports.default = Index;
71
27
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/paths/Restapi/V2/Accounts/Devices/BulkAdd/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,cAAW,CAAC;IAC3C,CAAC;IACD;;;;;;;OAOG;IACU,oBAAI,GAAjB,UACE,qBAA4C,EAC5C,iBAAqC;;;;;4BAE3B,qBAAM,IAAI,CAAC,EAAE,CAAC,IAAI,CAC1B,IAAI,CAAC,IAAI,EAAE,EACX,qBAAqB,EACrB,SAAS,EACT,iBAAiB,CAClB,EAAA;;wBALK,CAAC,GAAG,SAKT;wBACD,sBAAO,CAAC,CAAC,IAAI,EAAC;;;;KACf;IACH,YAAC;AAAD,CAAC,AA/BD,IA+BC;AACD,kBAAe,KAAK,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/paths/Restapi/V2/Accounts/Devices/BulkAdd/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,WAAW,CAAC;IAC3C,CAAC;IACD;;;;;;;OAOG;IACI,KAAK,CAAC,IAAI,CACf,qBAA4C,EAC5C,iBAAqC;QAErC,MAAM,CAAC,GAAG,MAAM,IAAI,CAAC,EAAE,CAAC,IAAI,CAC1B,IAAI,CAAC,IAAI,EAAE,EACX,qBAAqB,EACrB,SAAS,EACT,iBAAiB,CAClB,CAAC;QACF,OAAO,CAAC,CAAC,IAAI,CAAC;IAChB,CAAC;CACF;AACD,kBAAe,KAAK,CAAC"}
@@ -1,59 +1,24 @@
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 = /** @class */ (function () {
44
- function Index(_parent, deviceId) {
45
- if (deviceId === void 0) { deviceId = null; }
6
+ const index_js_1 = __importDefault(require("./BulkAdd/index.js"));
7
+ class Index {
8
+ rc;
9
+ _parent;
10
+ deviceId;
11
+ constructor(_parent, deviceId = null) {
46
12
  this._parent = _parent;
47
13
  this.rc = _parent.rc;
48
14
  this.deviceId = deviceId;
49
15
  }
50
- Index.prototype.path = function (withParameter) {
51
- if (withParameter === void 0) { withParameter = true; }
16
+ path(withParameter = true) {
52
17
  if (withParameter && this.deviceId !== null) {
53
- return "".concat(this._parent.path(), "/devices/").concat(this.deviceId);
18
+ return `${this._parent.path()}/devices/${this.deviceId}`;
54
19
  }
55
- return "".concat(this._parent.path(), "/devices");
56
- };
20
+ return `${this._parent.path()}/devices`;
21
+ }
57
22
  /**
58
23
  * Disassociates a phone line (DL & Device) from an extension:
59
24
  *
@@ -68,27 +33,16 @@ var Index = /** @class */ (function () {
68
33
  * App Permission: EditAccounts
69
34
  * User Permission: EditAccountDevices
70
35
  */
71
- Index.prototype.delete = function (removeLineRequest, restRequestConfig) {
72
- return __awaiter(this, void 0, void 0, function () {
73
- var r;
74
- return __generator(this, function (_a) {
75
- switch (_a.label) {
76
- case 0:
77
- if (this.deviceId === null) {
78
- throw new Error("deviceId must be specified.");
79
- }
80
- return [4 /*yield*/, this.rc.delete(this.path(), removeLineRequest, undefined, restRequestConfig)];
81
- case 1:
82
- r = _a.sent();
83
- return [2 /*return*/, r.data];
84
- }
85
- });
86
- });
87
- };
88
- Index.prototype.bulkAdd = function () {
36
+ async delete(removeLineRequest, restRequestConfig) {
37
+ if (this.deviceId === null) {
38
+ throw new Error("deviceId must be specified.");
39
+ }
40
+ const r = await this.rc.delete(this.path(), removeLineRequest, undefined, restRequestConfig);
41
+ return r.data;
42
+ }
43
+ bulkAdd() {
89
44
  return new index_js_1.default(this);
90
- };
91
- return Index;
92
- }());
45
+ }
46
+ }
93
47
  exports.default = Index;
94
48
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/paths/Restapi/V2/Accounts/Devices/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,gEAAyC;AASzC;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;IACD;;;;;;;;;;;;;OAaG;IACU,sBAAM,GAAnB,UACE,iBAAoC,EACpC,iBAAqC;;;;;;wBAErC,IAAI,IAAI,CAAC,QAAQ,KAAK,IAAI,EAAE,CAAC;4BAC3B,MAAM,IAAI,KAAK,CAAC,6BAA6B,CAAC,CAAC;wBACjD,CAAC;wBACS,qBAAM,IAAI,CAAC,EAAE,CAAC,MAAM,CAC5B,IAAI,CAAC,IAAI,EAAE,EACX,iBAAiB,EACjB,SAAS,EACT,iBAAiB,CAClB,EAAA;;wBALK,CAAC,GAAG,SAKT;wBACD,sBAAO,CAAC,CAAC,IAAI,EAAC;;;;KACf;IAEM,uBAAO,GAAd;QACE,OAAO,IAAI,kBAAO,CAAC,IAAI,CAAC,CAAC;IAC3B,CAAC;IACH,YAAC;AAAD,CAAC,AAjDD,IAiDC;AACD,kBAAe,KAAK,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/paths/Restapi/V2/Accounts/Devices/index.ts"],"names":[],"mappings":";;;;;AAAA,kEAAyC;AASzC,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;IACD;;;;;;;;;;;;;OAaG;IACI,KAAK,CAAC,MAAM,CACjB,iBAAoC,EACpC,iBAAqC;QAErC,IAAI,IAAI,CAAC,QAAQ,KAAK,IAAI,EAAE,CAAC;YAC3B,MAAM,IAAI,KAAK,CAAC,6BAA6B,CAAC,CAAC;QACjD,CAAC;QACD,MAAM,CAAC,GAAG,MAAM,IAAI,CAAC,EAAE,CAAC,MAAM,CAC5B,IAAI,CAAC,IAAI,EAAE,EACX,iBAAiB,EACjB,SAAS,EACT,iBAAiB,CAClB,CAAC;QACF,OAAO,CAAC,CAAC,IAAI,CAAC;IAChB,CAAC;IAEM,OAAO;QACZ,OAAO,IAAI,kBAAO,CAAC,IAAI,CAAC,CAAC;IAC3B,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(), "/call-flip-numbers");
46
- };
10
+ path() {
11
+ return `${this._parent.path()}/call-flip-numbers`;
12
+ }
47
13
  /**
48
14
  * Returns call flip settings. Call flip destination is an extension level setting.
49
15
  * The following numbers can be used for call flip:
@@ -61,19 +27,10 @@ var Index = /** @class */ (function () {
61
27
  * Rate Limit Group: Light
62
28
  * App Permission: ReadAccounts
63
29
  */
64
- Index.prototype.get = function (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.get(this.path(), undefined, restRequestConfig)];
70
- case 1:
71
- r = _a.sent();
72
- return [2 /*return*/, r.data];
73
- }
74
- });
75
- });
76
- };
30
+ async get(restRequestConfig) {
31
+ const r = await this.rc.get(this.path(), undefined, restRequestConfig);
32
+ return r.data;
33
+ }
77
34
  /**
78
35
  * Updates call flip settings. Call flip destination is an extension level setting.
79
36
  * The following numbers can be used for call flip:
@@ -91,20 +48,10 @@ var Index = /** @class */ (function () {
91
48
  * Rate Limit Group: Medium
92
49
  * App Permission: EditExtensions
93
50
  */
94
- Index.prototype.put = function (callFlipNumberListResource, restRequestConfig) {
95
- return __awaiter(this, void 0, void 0, function () {
96
- var r;
97
- return __generator(this, function (_a) {
98
- switch (_a.label) {
99
- case 0: return [4 /*yield*/, this.rc.put(this.path(), callFlipNumberListResource, undefined, restRequestConfig)];
100
- case 1:
101
- r = _a.sent();
102
- return [2 /*return*/, r.data];
103
- }
104
- });
105
- });
106
- };
107
- return Index;
108
- }());
51
+ async put(callFlipNumberListResource, restRequestConfig) {
52
+ const r = await this.rc.put(this.path(), callFlipNumberListResource, undefined, restRequestConfig);
53
+ return r.data;
54
+ }
55
+ }
109
56
  exports.default = Index;
110
57
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/paths/Restapi/V2/Accounts/Extensions/CallFlipNumbers/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,uBAAoB,CAAC;IACpD,CAAC;IACD;;;;;;;;;;;;;;;;OAgBG;IACU,mBAAG,GAAhB,UACE,iBAAqC;;;;;4BAE3B,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;IAED;;;;;;;;;;;;;;;;OAgBG;IACU,mBAAG,GAAhB,UACE,0BAAsD,EACtD,iBAAqC;;;;;4BAE3B,qBAAM,IAAI,CAAC,EAAE,CAAC,GAAG,CACzB,IAAI,CAAC,IAAI,EAAE,EACX,0BAA0B,EAC1B,SAAS,EACT,iBAAiB,CAClB,EAAA;;wBALK,CAAC,GAAG,SAKT;wBACD,sBAAO,CAAC,CAAC,IAAI,EAAC;;;;KACf;IACH,YAAC;AAAD,CAAC,AApED,IAoEC;AACD,kBAAe,KAAK,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/paths/Restapi/V2/Accounts/Extensions/CallFlipNumbers/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,oBAAoB,CAAC;IACpD,CAAC;IACD;;;;;;;;;;;;;;;;OAgBG;IACI,KAAK,CAAC,GAAG,CACd,iBAAqC;QAErC,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;IAED;;;;;;;;;;;;;;;;OAgBG;IACI,KAAK,CAAC,GAAG,CACd,0BAAsD,EACtD,iBAAqC;QAErC,MAAM,CAAC,GAAG,MAAM,IAAI,CAAC,EAAE,CAAC,GAAG,CACzB,IAAI,CAAC,IAAI,EAAE,EACX,0BAA0B,EAC1B,SAAS,EACT,iBAAiB,CAClB,CAAC;QACF,OAAO,CAAC,CAAC,IAAI,CAAC;IAChB,CAAC;CACF;AACD,kBAAe,KAAK,CAAC"}