@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,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("./Content/index.js"));
43
- var Index = /** @class */ (function () {
44
- function Index(_parent, messageId) {
45
- if (messageId === void 0) { messageId = null; }
6
+ const index_js_1 = __importDefault(require("./Content/index.js"));
7
+ class Index {
8
+ rc;
9
+ _parent;
10
+ messageId;
11
+ constructor(_parent, messageId = null) {
46
12
  this._parent = _parent;
47
13
  this.rc = _parent.rc;
48
14
  this.messageId = messageId;
49
15
  }
50
- Index.prototype.path = function (withParameter) {
51
- if (withParameter === void 0) { withParameter = true; }
16
+ path(withParameter = true) {
52
17
  if (withParameter && this.messageId !== null) {
53
- return "".concat(this._parent.path(), "/message-store/").concat(this.messageId);
18
+ return `${this._parent.path()}/message-store/${this.messageId}`;
54
19
  }
55
- return "".concat(this._parent.path(), "/message-store");
56
- };
20
+ return `${this._parent.path()}/message-store`;
21
+ }
57
22
  /**
58
23
  * Returns a list of messages from an extension mailbox.
59
24
  * HTTP Method: get
@@ -62,19 +27,10 @@ var Index = /** @class */ (function () {
62
27
  * App Permission: ReadMessages
63
28
  * User Permission: ReadMessages
64
29
  */
65
- Index.prototype.list = function (queryParams, restRequestConfig) {
66
- return __awaiter(this, void 0, void 0, function () {
67
- var r;
68
- return __generator(this, function (_a) {
69
- switch (_a.label) {
70
- case 0: return [4 /*yield*/, this.rc.get(this.path(false), queryParams, restRequestConfig)];
71
- case 1:
72
- r = _a.sent();
73
- return [2 /*return*/, r.data];
74
- }
75
- });
76
- });
77
- };
30
+ async list(queryParams, restRequestConfig) {
31
+ const r = await this.rc.get(this.path(false), queryParams, restRequestConfig);
32
+ return r.data;
33
+ }
78
34
  /**
79
35
  * Deletes conversation(s) by conversation ID(s).
80
36
  * [Batch request syntax](https://developers.ringcentral.com/guide/basics/batch-requests) is supported - maximum number
@@ -88,19 +44,10 @@ var Index = /** @class */ (function () {
88
44
  * App Permission: EditMessages
89
45
  * User Permission: EditMessages
90
46
  */
91
- Index.prototype.deleteAll = function (queryParams, restRequestConfig) {
92
- return __awaiter(this, void 0, void 0, function () {
93
- var r;
94
- return __generator(this, function (_a) {
95
- switch (_a.label) {
96
- case 0: return [4 /*yield*/, this.rc.delete(this.path(false), {}, queryParams, restRequestConfig)];
97
- case 1:
98
- r = _a.sent();
99
- return [2 /*return*/, r.data];
100
- }
101
- });
102
- });
103
- };
47
+ async deleteAll(queryParams, restRequestConfig) {
48
+ const r = await this.rc.delete(this.path(false), {}, queryParams, restRequestConfig);
49
+ return r.data;
50
+ }
104
51
  /**
105
52
  * Returns an individual message record or multiple records by the given message ID(s).
106
53
  * The length of inbound messages is unlimited. [Bulk syntax](https://developers.ringcentral.com/guide/basics/batch-requests)
@@ -112,23 +59,13 @@ var Index = /** @class */ (function () {
112
59
  * App Permission: ReadMessages
113
60
  * User Permission: ReadMessages
114
61
  */
115
- Index.prototype.get = function (restRequestConfig) {
116
- return __awaiter(this, void 0, void 0, function () {
117
- var r;
118
- return __generator(this, function (_a) {
119
- switch (_a.label) {
120
- case 0:
121
- if (this.messageId === null) {
122
- throw new Error("messageId must be specified.");
123
- }
124
- return [4 /*yield*/, this.rc.get(this.path(), undefined, restRequestConfig)];
125
- case 1:
126
- r = _a.sent();
127
- return [2 /*return*/, r.data];
128
- }
129
- });
130
- });
131
- };
62
+ async get(restRequestConfig) {
63
+ if (this.messageId === null) {
64
+ throw new Error("messageId must be specified.");
65
+ }
66
+ const r = await this.rc.get(this.path(), undefined, restRequestConfig);
67
+ return r.data;
68
+ }
132
69
  /**
133
70
  * Updates message(s) by their ID(s). Currently, only the `readStatus`
134
71
  * can be updated using this method.
@@ -144,23 +81,13 @@ var Index = /** @class */ (function () {
144
81
  * App Permission: EditMessages
145
82
  * User Permission: EditMessages
146
83
  */
147
- Index.prototype.put = function (updateMessageRequest, restRequestConfig) {
148
- return __awaiter(this, void 0, void 0, function () {
149
- var r;
150
- return __generator(this, function (_a) {
151
- switch (_a.label) {
152
- case 0:
153
- if (this.messageId === null) {
154
- throw new Error("messageId must be specified.");
155
- }
156
- return [4 /*yield*/, this.rc.put(this.path(), updateMessageRequest, undefined, restRequestConfig)];
157
- case 1:
158
- r = _a.sent();
159
- return [2 /*return*/, r.data];
160
- }
161
- });
162
- });
163
- };
84
+ async put(updateMessageRequest, restRequestConfig) {
85
+ if (this.messageId === null) {
86
+ throw new Error("messageId must be specified.");
87
+ }
88
+ const r = await this.rc.put(this.path(), updateMessageRequest, undefined, restRequestConfig);
89
+ return r.data;
90
+ }
164
91
  /**
165
92
  * Deletes message(s) by the given message ID(s). The first call of
166
93
  * this method transfers the message to the 'Delete' status. The second call
@@ -174,23 +101,13 @@ var Index = /** @class */ (function () {
174
101
  * App Permission: EditMessages
175
102
  * User Permission: EditMessages
176
103
  */
177
- Index.prototype.delete = function (deleteMessageBulkRequest, queryParams, restRequestConfig) {
178
- return __awaiter(this, void 0, void 0, function () {
179
- var r;
180
- return __generator(this, function (_a) {
181
- switch (_a.label) {
182
- case 0:
183
- if (this.messageId === null) {
184
- throw new Error("messageId must be specified.");
185
- }
186
- return [4 /*yield*/, this.rc.delete(this.path(), deleteMessageBulkRequest, queryParams, restRequestConfig)];
187
- case 1:
188
- r = _a.sent();
189
- return [2 /*return*/, r.data];
190
- }
191
- });
192
- });
193
- };
104
+ async delete(deleteMessageBulkRequest, queryParams, restRequestConfig) {
105
+ if (this.messageId === null) {
106
+ throw new Error("messageId must be specified.");
107
+ }
108
+ const r = await this.rc.delete(this.path(), deleteMessageBulkRequest, queryParams, restRequestConfig);
109
+ return r.data;
110
+ }
194
111
  /**
195
112
  * Patches message(s) by ID(s). Currently, only updating the `readStatus` and
196
113
  * restoring deleted messages are supported through this method.
@@ -208,28 +125,16 @@ var Index = /** @class */ (function () {
208
125
  * App Permission: EditMessages
209
126
  * User Permission: EditMessages
210
127
  */
211
- Index.prototype.patch = function (patchMessageRequest, restRequestConfig) {
212
- return __awaiter(this, void 0, void 0, function () {
213
- var r;
214
- return __generator(this, function (_a) {
215
- switch (_a.label) {
216
- case 0:
217
- if (this.messageId === null) {
218
- throw new Error("messageId must be specified.");
219
- }
220
- return [4 /*yield*/, this.rc.patch(this.path(), patchMessageRequest, undefined, restRequestConfig)];
221
- case 1:
222
- r = _a.sent();
223
- return [2 /*return*/, r.data];
224
- }
225
- });
226
- });
227
- };
228
- Index.prototype.content = function (attachmentId) {
229
- if (attachmentId === void 0) { attachmentId = null; }
128
+ async patch(patchMessageRequest, restRequestConfig) {
129
+ if (this.messageId === null) {
130
+ throw new Error("messageId must be specified.");
131
+ }
132
+ const r = await this.rc.patch(this.path(), patchMessageRequest, undefined, restRequestConfig);
133
+ return r.data;
134
+ }
135
+ content(attachmentId = null) {
230
136
  return new index_js_1.default(this, attachmentId);
231
- };
232
- return Index;
233
- }());
137
+ }
138
+ }
234
139
  exports.default = Index;
235
140
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/paths/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S,KAAK,IAAI,EAAE,CAAC;4BAC5B,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAC;wBAClD,CAAC;wBACS,qBAAM,IAAI,CAAC,EAAE,CAAC,KAAK,CAC3B,IAAI,CAAC,IAAI,EAAE,EACX,mBAAmB,EACnB,SAAS,EACT,iBAAiB,CAClB,EAAA;;wBALK,CAAC,GAAG,SAKT;wBACD,sBAAO,CAAC,CAAC,IAAI,EAAC;;;;KACf;IAEM,uBAAO,GAAd,UAAe,YAAkC;QAAlC,6BAAA,EAAA,mBAAkC;QAC/C,OAAO,IAAI,kBAAO,CAAC,IAAI,EAAE,YAAY,CAAC,CAAC;IACzC,CAAC;IACH,YAAC;AAAD,CAAC,AA3LD,IA2LC;AACD,kBAAe,KAAK,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/paths/Restapi/Account/Extension/MessageStore/index.ts"],"names":[],"mappings":";;;;;AAAA,kEAAyC;AAczC,MAAM,KAAK;IACF,EAAE,CAAuB;IACzB,OAAO,CAAkB;IACzB,SAAS,CAAgB;IAEhC,YACE,OAAwB,EACxB,YAA2B,IAAI;QAE/B,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,EAAE,GAAG,OAAO,CAAC,EAAE,CAAC;QACrB,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;IAC7B,CAAC;IACM,IAAI,CAAC,aAAa,GAAG,IAAI;QAC9B,IAAI,aAAa,IAAI,IAAI,CAAC,SAAS,KAAK,IAAI,EAAE,CAAC;YAC7C,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,kBAAkB,IAAI,CAAC,SAAS,EAAE,CAAC;QAClE,CAAC;QACD,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,gBAAgB,CAAC;IAChD,CAAC;IACD;;;;;;;OAOG;IACI,KAAK,CAAC,IAAI,CACf,WAAoC,EACpC,iBAAqC;QAErC,MAAM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,wBAAkC,EAClC,WAAqC,EACrC,iBAAqC;QAErC,IAAI,IAAI,CAAC,SAAS,KAAK,IAAI,EAAE,CAAC;YAC5B,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAC;QAClD,CAAC;QACD,MAAM,CAAC,GAAG,MAAM,IAAI,CAAC,EAAE,CAAC,MAAM,CAC5B,IAAI,CAAC,IAAI,EAAE,EACX,wBAAwB,EACxB,WAAW,EACX,iBAAiB,CAClB,CAAC;QACF,OAAO,CAAC,CAAC,IAAI,CAAC;IAChB,CAAC;IAED;;;;;;;;;;;;;;;;OAgBG;IACI,KAAK,CAAC,KAAK,CAChB,mBAAwC,EACxC,iBAAqC;QAErC,IAAI,IAAI,CAAC,SAAS,KAAK,IAAI,EAAE,CAAC;YAC5B,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAC;QAClD,CAAC;QACD,MAAM,CAAC,GAAG,MAAM,IAAI,CAAC,EAAE,CAAC,KAAK,CAC3B,IAAI,CAAC,IAAI,EAAE,EACX,mBAAmB,EACnB,SAAS,EACT,iBAAiB,CAClB,CAAC;QACF,OAAO,CAAC,CAAC,IAAI,CAAC;IAChB,CAAC;IAEM,OAAO,CAAC,eAA8B,IAAI;QAC/C,OAAO,IAAI,kBAAO,CAAC,IAAI,EAAE,YAAY,CAAC,CAAC;IACzC,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, templateId) {
41
- if (templateId === void 0) { templateId = null; }
3
+ class Index {
4
+ rc;
5
+ _parent;
6
+ templateId;
7
+ constructor(_parent, templateId = null) {
42
8
  this._parent = _parent;
43
9
  this.rc = _parent.rc;
44
10
  this.templateId = templateId;
45
11
  }
46
- Index.prototype.path = function (withParameter) {
47
- if (withParameter === void 0) { withParameter = true; }
12
+ path(withParameter = true) {
48
13
  if (withParameter && this.templateId !== null) {
49
- return "".concat(this._parent.path(), "/message-store-templates/").concat(this.templateId);
14
+ return `${this._parent.path()}/message-store-templates/${this.templateId}`;
50
15
  }
51
- return "".concat(this._parent.path(), "/message-store-templates");
52
- };
16
+ return `${this._parent.path()}/message-store-templates`;
17
+ }
53
18
  /**
54
19
  * Returns a list of user's personal text message templates.
55
20
  * HTTP Method: get
@@ -57,19 +22,10 @@ var Index = /** @class */ (function () {
57
22
  * Rate Limit Group: Light
58
23
  * App Permission: ReadAccounts
59
24
  */
60
- Index.prototype.list = function (queryParams, restRequestConfig) {
61
- return __awaiter(this, void 0, void 0, function () {
62
- var r;
63
- return __generator(this, function (_a) {
64
- switch (_a.label) {
65
- case 0: return [4 /*yield*/, this.rc.get(this.path(false), queryParams, restRequestConfig)];
66
- case 1:
67
- r = _a.sent();
68
- return [2 /*return*/, r.data];
69
- }
70
- });
71
- });
72
- };
25
+ async list(queryParams, restRequestConfig) {
26
+ const r = await this.rc.get(this.path(false), queryParams, restRequestConfig);
27
+ return r.data;
28
+ }
73
29
  /**
74
30
  * Creates a user personal text message template.
75
31
  * Maximum number of personal templates is 25 per user.
@@ -80,19 +36,10 @@ var Index = /** @class */ (function () {
80
36
  * Rate Limit Group: Medium
81
37
  * App Permission: EditExtensions
82
38
  */
83
- Index.prototype.post = function (messageTemplateRequest, restRequestConfig) {
84
- return __awaiter(this, void 0, void 0, function () {
85
- var r;
86
- return __generator(this, function (_a) {
87
- switch (_a.label) {
88
- case 0: return [4 /*yield*/, this.rc.post(this.path(false), messageTemplateRequest, undefined, restRequestConfig)];
89
- case 1:
90
- r = _a.sent();
91
- return [2 /*return*/, r.data];
92
- }
93
- });
94
- });
95
- };
39
+ async post(messageTemplateRequest, restRequestConfig) {
40
+ const r = await this.rc.post(this.path(false), messageTemplateRequest, undefined, restRequestConfig);
41
+ return r.data;
42
+ }
96
43
  /**
97
44
  * Returns a user personal text message template by ID.
98
45
  * HTTP Method: get
@@ -100,23 +47,13 @@ var Index = /** @class */ (function () {
100
47
  * Rate Limit Group: Light
101
48
  * App Permission: ReadAccounts
102
49
  */
103
- Index.prototype.get = function (restRequestConfig) {
104
- return __awaiter(this, void 0, void 0, function () {
105
- var r;
106
- return __generator(this, function (_a) {
107
- switch (_a.label) {
108
- case 0:
109
- if (this.templateId === null) {
110
- throw new Error("templateId must be specified.");
111
- }
112
- return [4 /*yield*/, this.rc.get(this.path(), undefined, restRequestConfig)];
113
- case 1:
114
- r = _a.sent();
115
- return [2 /*return*/, r.data];
116
- }
117
- });
118
- });
119
- };
50
+ async get(restRequestConfig) {
51
+ if (this.templateId === null) {
52
+ throw new Error("templateId must be specified.");
53
+ }
54
+ const r = await this.rc.get(this.path(), undefined, restRequestConfig);
55
+ return r.data;
56
+ }
120
57
  /**
121
58
  * Updates a user personal text message template.
122
59
  * HTTP Method: put
@@ -124,23 +61,13 @@ var Index = /** @class */ (function () {
124
61
  * Rate Limit Group: Medium
125
62
  * App Permission: EditExtensions
126
63
  */
127
- Index.prototype.put = function (messageTemplateUpdateRequest, restRequestConfig) {
128
- return __awaiter(this, void 0, void 0, function () {
129
- var r;
130
- return __generator(this, function (_a) {
131
- switch (_a.label) {
132
- case 0:
133
- if (this.templateId === null) {
134
- throw new Error("templateId must be specified.");
135
- }
136
- return [4 /*yield*/, this.rc.put(this.path(), messageTemplateUpdateRequest, undefined, restRequestConfig)];
137
- case 1:
138
- r = _a.sent();
139
- return [2 /*return*/, r.data];
140
- }
141
- });
142
- });
143
- };
64
+ async put(messageTemplateUpdateRequest, restRequestConfig) {
65
+ if (this.templateId === null) {
66
+ throw new Error("templateId must be specified.");
67
+ }
68
+ const r = await this.rc.put(this.path(), messageTemplateUpdateRequest, undefined, restRequestConfig);
69
+ return r.data;
70
+ }
144
71
  /**
145
72
  * Deletes a user personal text message template.
146
73
  * HTTP Method: delete
@@ -148,24 +75,13 @@ var Index = /** @class */ (function () {
148
75
  * Rate Limit Group: Medium
149
76
  * App Permission: EditExtensions
150
77
  */
151
- Index.prototype.delete = function (restRequestConfig) {
152
- return __awaiter(this, void 0, void 0, function () {
153
- var r;
154
- return __generator(this, function (_a) {
155
- switch (_a.label) {
156
- case 0:
157
- if (this.templateId === null) {
158
- throw new Error("templateId must be specified.");
159
- }
160
- return [4 /*yield*/, this.rc.delete(this.path(), {}, undefined, restRequestConfig)];
161
- case 1:
162
- r = _a.sent();
163
- return [2 /*return*/, r.data];
164
- }
165
- });
166
- });
167
- };
168
- return Index;
169
- }());
78
+ async delete(restRequestConfig) {
79
+ if (this.templateId === null) {
80
+ throw new Error("templateId must be specified.");
81
+ }
82
+ const r = await this.rc.delete(this.path(), {}, undefined, restRequestConfig);
83
+ return r.data;
84
+ }
85
+ }
170
86
  exports.default = Index;
171
87
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/paths/Restapi/Account/Extension/MessageStoreTemplates/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAWA;IAKE,eACE,OAAwB,EACxB,UAAgC;QAAhC,2BAAA,EAAA,iBAAgC;QAEhC,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,EAAE,GAAG,OAAO,CAAC,EAAE,CAAC;QACrB,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;IAC/B,CAAC;IACM,oBAAI,GAAX,UAAY,aAAoB;QAApB,8BAAA,EAAA,oBAAoB;QAC9B,IAAI,aAAa,IAAI,IAAI,CAAC,UAAU,KAAK,IAAI,EAAE,CAAC;YAC9C,OAAO,UAAG,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,sCAA4B,IAAI,CAAC,UAAU,CAAE,CAAC;QAC7E,CA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,IAAI,CAAC,IAAI,EAAE,EACX,4BAA4B,EAC5B,SAAS,EACT,iBAAiB,CAClB,EAAA;;wBALK,CAAC,GAAG,SAKT;wBACD,sBAAO,CAAC,CAAC,IAAI,EAAC;;;;KACf;IAED;;;;;;OAMG;IACU,sBAAM,GAAnB,UAAoB,iBAAqC;;;;;;wBACvD,IAAI,IAAI,CAAC,UAAU,KAAK,IAAI,EAAE,CAAC;4BAC7B,MAAM,IAAI,KAAK,CAAC,+BAA+B,CAAC,CAAC;wBACnD,CAAC;wBACS,qBAAM,IAAI,CAAC,EAAE,CAAC,MAAM,CAC5B,IAAI,CAAC,IAAI,EAAE,EACX,EAAE,EACF,SAAS,EACT,iBAAiB,CAClB,EAAA;;wBALK,CAAC,GAAG,SAKT;wBACD,sBAAO,CAAC,CAAC,IAAI,EAAC;;;;KACf;IACH,YAAC;AAAD,CAAC,AA5HD,IA4HC;AACD,kBAAe,KAAK,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/paths/Restapi/Account/Extension/MessageStoreTemplates/index.ts"],"names":[],"mappings":";;AAWA,MAAM,KAAK;IACF,EAAE,CAAuB;IACzB,OAAO,CAAkB;IACzB,UAAU,CAAgB;IAEjC,YACE,OAAwB,EACxB,aAA4B,IAAI;QAEhC,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,EAAE,GAAG,OAAO,CAAC,EAAE,CAAC;QACrB,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;IAC/B,CAAC;IACM,IAAI,CAAC,aAAa,GAAG,IAAI;QAC9B,IAAI,aAAa,IAAI,IAAI,CAAC,UAAU,KAAK,IAAI,EAAE,CAAC;YAC9C,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,4BAA4B,IAAI,CAAC,UAAU,EAAE,CAAC;QAC7E,CAAC;QACD,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,0BAA0B,CAAC;IAC1D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CAAC;IAChB,CAAC;IAED;;;;;;OAMG;IACI,KAAK,CAAC,MAAM,CAAC,iBAAqC;QACvD,IAAI,IAAI,CAAC,UAAU,KAAK,IAAI,EAAE,CAAC;YAC7B,MAAM,IAAI,KAAK,CAAC,+BAA+B,CAAC,CAAC;QACnD,CAAC;QACD,MAAM,CAAC,GAAG,MAAM,IAAI,CAAC,EAAE,CAAC,MAAM,CAC5B,IAAI,CAAC,IAAI,EAAE,EACX,EAAE,EACF,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(), "/message-sync");
46
- };
10
+ path() {
11
+ return `${this._parent.path()}/message-sync`;
12
+ }
47
13
  /**
48
14
  * Synchronizes messages.
49
15
  * HTTP Method: get
@@ -52,20 +18,10 @@ var Index = /** @class */ (function () {
52
18
  * App Permission: ReadMessages
53
19
  * User Permission: ReadMessages
54
20
  */
55
- Index.prototype.get = function (queryParams, 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(), queryParams, 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(queryParams, restRequestConfig) {
22
+ const r = await this.rc.get(this.path(), queryParams, 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/Account/Extension/MessageSync/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,kBAAe,CAAC;IAC/C,CAAC;IACD;;;;;;;OAOG;IACU,mBAAG,GAAhB,UACE,WAAoC,EACpC,iBAAqC;;;;;4BAE3B,qBAAM,IAAI,CAAC,EAAE,CAAC,GAAG,CACzB,IAAI,CAAC,IAAI,EAAE,EACX,WAAW,EACX,iBAAiB,CAClB,EAAA;;wBAJK,CAAC,GAAG,SAIT;wBACD,sBAAO,CAAC,CAAC,IAAI,EAAC;;;;KACf;IACH,YAAC;AAAD,CAAC,AA9BD,IA8BC;AACD,kBAAe,KAAK,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/paths/Restapi/Account/Extension/MessageSync/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,eAAe,CAAC;IAC/C,CAAC;IACD;;;;;;;OAOG;IACI,KAAK,CAAC,GAAG,CACd,WAAoC,EACpC,iBAAqC;QAErC,MAAM,CAAC,GAAG,MAAM,IAAI,CAAC,EAAE,CAAC,GAAG,CACzB,IAAI,CAAC,IAAI,EAAE,EACX,WAAW,EACX,iBAAiB,CAClB,CAAC;QACF,OAAO,CAAC,CAAC,IAAI,CAAC;IAChB,CAAC;CACF;AACD,kBAAe,KAAK,CAAC"}