@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,74 +1,30 @@
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, contractedCountryId) {
41
- if (contractedCountryId === void 0) { contractedCountryId = null; }
3
+ class Index {
4
+ rc;
5
+ _parent;
6
+ contractedCountryId;
7
+ constructor(_parent, contractedCountryId = null) {
42
8
  this._parent = _parent;
43
9
  this.rc = _parent.rc;
44
10
  this.contractedCountryId = contractedCountryId;
45
11
  }
46
- Index.prototype.path = function (withParameter) {
47
- if (withParameter === void 0) { withParameter = true; }
12
+ path(withParameter = true) {
48
13
  if (withParameter && this.contractedCountryId !== null) {
49
- return "".concat(this._parent.path(), "/contracted-country/").concat(this.contractedCountryId);
14
+ return `${this._parent.path()}/contracted-country/${this.contractedCountryId}`;
50
15
  }
51
- return "".concat(this._parent.path(), "/contracted-country");
52
- };
16
+ return `${this._parent.path()}/contracted-country`;
17
+ }
53
18
  /**
54
19
  * Returns the list of contracted countries for the given brand.
55
20
  * HTTP Method: get
56
21
  * Endpoint: /restapi/{apiVersion}/dictionary/brand/{brandId}/contracted-country
57
22
  * Rate Limit Group: Light
58
23
  */
59
- Index.prototype.list = function (restRequestConfig) {
60
- return __awaiter(this, void 0, void 0, function () {
61
- var r;
62
- return __generator(this, function (_a) {
63
- switch (_a.label) {
64
- case 0: return [4 /*yield*/, this.rc.get(this.path(false), undefined, restRequestConfig)];
65
- case 1:
66
- r = _a.sent();
67
- return [2 /*return*/, r.data];
68
- }
69
- });
70
- });
71
- };
24
+ async list(restRequestConfig) {
25
+ const r = await this.rc.get(this.path(false), undefined, restRequestConfig);
26
+ return r.data;
27
+ }
72
28
  /**
73
29
  * Returns the list of domestic countries for account contracted country and brand.
74
30
  *
@@ -76,24 +32,13 @@ var Index = /** @class */ (function () {
76
32
  * Endpoint: /restapi/{apiVersion}/dictionary/brand/{brandId}/contracted-country/{contractedCountryId}
77
33
  * Rate Limit Group: Light
78
34
  */
79
- Index.prototype.get = function (queryParams, restRequestConfig) {
80
- return __awaiter(this, void 0, void 0, function () {
81
- var r;
82
- return __generator(this, function (_a) {
83
- switch (_a.label) {
84
- case 0:
85
- if (this.contractedCountryId === null) {
86
- throw new Error("contractedCountryId must be specified.");
87
- }
88
- return [4 /*yield*/, this.rc.get(this.path(), queryParams, restRequestConfig)];
89
- case 1:
90
- r = _a.sent();
91
- return [2 /*return*/, r.data];
92
- }
93
- });
94
- });
95
- };
96
- return Index;
97
- }());
35
+ async get(queryParams, restRequestConfig) {
36
+ if (this.contractedCountryId === null) {
37
+ throw new Error("contractedCountryId must be specified.");
38
+ }
39
+ const r = await this.rc.get(this.path(), queryParams, restRequestConfig);
40
+ return r.data;
41
+ }
42
+ }
98
43
  exports.default = Index;
99
44
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/paths/Restapi/Dictionary/Brand/ContractedCountry/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AASA;IAKE,eACE,OAAwB,EACxB,mBAAyC;QAAzC,oCAAA,EAAA,0BAAyC;QAEzC,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,EAAE,GAAG,OAAO,CAAC,EAAE,CAAC;QACrB,IAAI,CAAC,mBAAmB,GAAG,mBAAmB,CAAC;IACjD,CAAC;IACM,oBAAI,GAAX,UAAY,aAAoB;QAApB,8BAAA,EAAA,oBAAoB;QAC9B,IAAI,aAAa,IAAI,IAAI,CAAC,mBAAmB,KAAK,IAAI,EAAE,CAAC;YACvD,OAAO,UAAG,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,iCAAuB,IAAI,CAAC,mBAAmB,CAAE,CAAC;QACjF,CAAC;QACD,OAAO,UAAG,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,wBAAqB,CAAC;IACrD,CAAC;IACD;;;;;OAKG;IACU,oBAAI,GAAjB,UACE,iBAAqC;;;;;4BAE3B,qBAAM,IAAI,CAAC,EAAE,CAAC,GAAG,CACzB,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,EAChB,SAAS,EACT,iBAAiB,CAClB,EAAA;;wBAJK,CAAC,GAAG,SAIT;wBACD,sBAAO,CAAC,CAAC,IAAI,EAAC;;;;KACf;IAED;;;;;;OAMG;IACU,mBAAG,GAAhB,UACE,WAA6C,EAC7C,iBAAqC;;;;;;wBAErC,IAAI,IAAI,CAAC,mBAAmB,KAAK,IAAI,EAAE,CAAC;4BACtC,MAAM,IAAI,KAAK,CAAC,wCAAwC,CAAC,CAAC;wBAC5D,CAAC;wBACS,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,AAzDD,IAyDC;AACD,kBAAe,KAAK,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/paths/Restapi/Dictionary/Brand/ContractedCountry/index.ts"],"names":[],"mappings":";;AASA,MAAM,KAAK;IACF,EAAE,CAAuB;IACzB,OAAO,CAAkB;IACzB,mBAAmB,CAAgB;IAE1C,YACE,OAAwB,EACxB,sBAAqC,IAAI;QAEzC,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,EAAE,GAAG,OAAO,CAAC,EAAE,CAAC;QACrB,IAAI,CAAC,mBAAmB,GAAG,mBAAmB,CAAC;IACjD,CAAC;IACM,IAAI,CAAC,aAAa,GAAG,IAAI;QAC9B,IAAI,aAAa,IAAI,IAAI,CAAC,mBAAmB,KAAK,IAAI,EAAE,CAAC;YACvD,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,uBAAuB,IAAI,CAAC,mBAAmB,EAAE,CAAC;QACjF,CAAC;QACD,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,qBAAqB,CAAC;IACrD,CAAC;IACD;;;;;OAKG;IACI,KAAK,CAAC,IAAI,CACf,iBAAqC;QAErC,MAAM,CAAC,GAAG,MAAM,IAAI,CAAC,EAAE,CAAC,GAAG,CACzB,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,EAChB,SAAS,EACT,iBAAiB,CAClB,CAAC;QACF,OAAO,CAAC,CAAC,IAAI,CAAC;IAChB,CAAC;IAED;;;;;;OAMG;IACI,KAAK,CAAC,GAAG,CACd,WAA6C,EAC7C,iBAAqC;QAErC,IAAI,IAAI,CAAC,mBAAmB,KAAK,IAAI,EAAE,CAAC;YACtC,MAAM,IAAI,KAAK,CAAC,wCAAwC,CAAC,CAAC;QAC5D,CAAC;QACD,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"}
@@ -3,26 +3,25 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- var index_js_1 = __importDefault(require("./ContractedCountry/index.js"));
7
- var Index = /** @class */ (function () {
8
- function Index(_parent, brandId) {
9
- if (brandId === void 0) { brandId = null; }
6
+ const index_js_1 = __importDefault(require("./ContractedCountry/index.js"));
7
+ class Index {
8
+ rc;
9
+ _parent;
10
+ brandId;
11
+ constructor(_parent, brandId = null) {
10
12
  this._parent = _parent;
11
13
  this.rc = _parent.rc;
12
14
  this.brandId = brandId;
13
15
  }
14
- Index.prototype.path = function (withParameter) {
15
- if (withParameter === void 0) { withParameter = true; }
16
+ path(withParameter = true) {
16
17
  if (withParameter && this.brandId !== null) {
17
- return "".concat(this._parent.path(), "/brand/").concat(this.brandId);
18
+ return `${this._parent.path()}/brand/${this.brandId}`;
18
19
  }
19
- return "".concat(this._parent.path(), "/brand");
20
- };
21
- Index.prototype.contractedCountry = function (contractedCountryId) {
22
- if (contractedCountryId === void 0) { contractedCountryId = null; }
20
+ return `${this._parent.path()}/brand`;
21
+ }
22
+ contractedCountry(contractedCountryId = null) {
23
23
  return new index_js_1.default(this, contractedCountryId);
24
- };
25
- return Index;
26
- }());
24
+ }
25
+ }
27
26
  exports.default = Index;
28
27
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/paths/Restapi/Dictionary/Brand/index.ts"],"names":[],"mappings":";;;;;AAAA,0EAA6D;AAG7D;IAKE,eAAmB,OAAwB,EAAE,OAA6B;QAA7B,wBAAA,EAAA,cAA6B;QACxE,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,EAAE,GAAG,OAAO,CAAC,EAAE,CAAC;QACrB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;IACM,oBAAI,GAAX,UAAY,aAAoB;QAApB,8BAAA,EAAA,oBAAoB;QAC9B,IAAI,aAAa,IAAI,IAAI,CAAC,OAAO,KAAK,IAAI,EAAE,CAAC;YAC3C,OAAO,UAAG,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,oBAAU,IAAI,CAAC,OAAO,CAAE,CAAC;QACxD,CAAC;QACD,OAAO,UAAG,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,WAAQ,CAAC;IACxC,CAAC;IAEM,iCAAiB,GAAxB,UACE,mBAAyC;QAAzC,oCAAA,EAAA,0BAAyC;QAEzC,OAAO,IAAI,kBAAiB,CAAC,IAAI,EAAE,mBAAmB,CAAC,CAAC;IAC1D,CAAC;IACH,YAAC;AAAD,CAAC,AAtBD,IAsBC;AACD,kBAAe,KAAK,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/paths/Restapi/Dictionary/Brand/index.ts"],"names":[],"mappings":";;;;;AAAA,4EAA6D;AAG7D,MAAM,KAAK;IACF,EAAE,CAAuB;IACzB,OAAO,CAAkB;IACzB,OAAO,CAAgB;IAE9B,YAAmB,OAAwB,EAAE,UAAyB,IAAI;QACxE,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,EAAE,GAAG,OAAO,CAAC,EAAE,CAAC;QACrB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;IACM,IAAI,CAAC,aAAa,GAAG,IAAI;QAC9B,IAAI,aAAa,IAAI,IAAI,CAAC,OAAO,KAAK,IAAI,EAAE,CAAC;YAC3C,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,UAAU,IAAI,CAAC,OAAO,EAAE,CAAC;QACxD,CAAC;QACD,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,QAAQ,CAAC;IACxC,CAAC;IAEM,iBAAiB,CACtB,sBAAqC,IAAI;QAEzC,OAAO,IAAI,kBAAiB,CAAC,IAAI,EAAE,mBAAmB,CAAC,CAAC;IAC1D,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, countryId) {
41
- if (countryId === void 0) { countryId = null; }
3
+ class Index {
4
+ rc;
5
+ _parent;
6
+ countryId;
7
+ constructor(_parent, countryId = null) {
42
8
  this._parent = _parent;
43
9
  this.rc = _parent.rc;
44
10
  this.countryId = countryId;
45
11
  }
46
- Index.prototype.path = function (withParameter) {
47
- if (withParameter === void 0) { withParameter = true; }
12
+ path(withParameter = true) {
48
13
  if (withParameter && this.countryId !== null) {
49
- return "".concat(this._parent.path(), "/country/").concat(this.countryId);
14
+ return `${this._parent.path()}/country/${this.countryId}`;
50
15
  }
51
- return "".concat(this._parent.path(), "/country");
52
- };
16
+ return `${this._parent.path()}/country`;
17
+ }
53
18
  /**
54
19
  * Returns all countries available for calling.
55
20
  *
@@ -57,19 +22,10 @@ var Index = /** @class */ (function () {
57
22
  * Endpoint: /restapi/{apiVersion}/dictionary/country
58
23
  * Rate Limit Group: Light
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
  * Returns information on a specific country.
75
31
  *
@@ -77,24 +33,13 @@ var Index = /** @class */ (function () {
77
33
  * Endpoint: /restapi/{apiVersion}/dictionary/country/{countryId}
78
34
  * Rate Limit Group: Light
79
35
  */
80
- Index.prototype.get = function (restRequestConfig) {
81
- return __awaiter(this, void 0, void 0, function () {
82
- var r;
83
- return __generator(this, function (_a) {
84
- switch (_a.label) {
85
- case 0:
86
- if (this.countryId === null) {
87
- throw new Error("countryId must be specified.");
88
- }
89
- return [4 /*yield*/, this.rc.get(this.path(), undefined, restRequestConfig)];
90
- case 1:
91
- r = _a.sent();
92
- return [2 /*return*/, r.data];
93
- }
94
- });
95
- });
96
- };
97
- return Index;
98
- }());
36
+ async get(restRequestConfig) {
37
+ if (this.countryId === null) {
38
+ throw new Error("countryId must be specified.");
39
+ }
40
+ const r = await this.rc.get(this.path(), undefined, restRequestConfig);
41
+ return r.data;
42
+ }
43
+ }
99
44
  exports.default = Index;
100
45
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/paths/Restapi/Dictionary/Country/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AASA;IAKE,eACE,OAAwB,EACxB,SAA+B;QAA/B,0BAAA,EAAA,gBAA+B;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,oBAAI,GAAX,UAAY,aAAoB;QAApB,8BAAA,EAAA,oBAAoB;QAC9B,IAAI,aAAa,IAAI,IAAI,CAAC,SAAS,KAAK,IAAI,EAAE,CAAC;YAC7C,OAAO,UAAG,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,sBAAY,IAAI,CAAC,SAAS,CAAE,CAAC;QAC5D,CAAC;QACD,OAAO,UAAG,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,aAAU,CAAC;IAC1C,CAAC;IACD;;;;;;OAMG;IACU,oBAAI,GAAjB,UACE,WAAqC,EACrC,iBAAqC;;;;;4BAE3B,qBAAM,IAAI,CAAC,EAAE,CAAC,GAAG,CACzB,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,EAChB,WAAW,EACX,iBAAiB,CAClB,EAAA;;wBAJK,CAAC,GAAG,SAIT;wBACD,sBAAO,CAAC,CAAC,IAAI,EAAC;;;;KACf;IAED;;;;;;OAMG;IACU,mBAAG,GAAhB,UACE,iBAAqC;;;;;;wBAErC,IAAI,IAAI,CAAC,SAAS,KAAK,IAAI,EAAE,CAAC;4BAC5B,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAC;wBAClD,CAAC;wBACS,qBAAM,IAAI,CAAC,EAAE,CAAC,GAAG,CACzB,IAAI,CAAC,IAAI,EAAE,EACX,SAAS,EACT,iBAAiB,CAClB,EAAA;;wBAJK,CAAC,GAAG,SAIT;wBACD,sBAAO,CAAC,CAAC,IAAI,EAAC;;;;KACf;IACH,YAAC;AAAD,CAAC,AA1DD,IA0DC;AACD,kBAAe,KAAK,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/paths/Restapi/Dictionary/Country/index.ts"],"names":[],"mappings":";;AASA,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,YAAY,IAAI,CAAC,SAAS,EAAE,CAAC;QAC5D,CAAC;QACD,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,UAAU,CAAC;IAC1C,CAAC;IACD;;;;;;OAMG;IACI,KAAK,CAAC,IAAI,CACf,WAAqC,EACrC,iBAAqC;QAErC,MAAM,CAAC,GAAG,MAAM,IAAI,CAAC,EAAE,CAAC,GAAG,CACzB,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,EAChB,WAAW,EACX,iBAAiB,CAClB,CAAC;QACF,OAAO,CAAC,CAAC,IAAI,CAAC;IAChB,CAAC;IAED;;;;;;OAMG;IACI,KAAK,CAAC,GAAG,CACd,iBAAqC;QAErC,IAAI,IAAI,CAAC,SAAS,KAAK,IAAI,EAAE,CAAC;YAC5B,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAC;QAClD,CAAC;QACD,MAAM,CAAC,GAAG,MAAM,IAAI,CAAC,EAAE,CAAC,GAAG,CACzB,IAAI,CAAC,IAAI,EAAE,EACX,SAAS,EACT,iBAAiB,CAClB,CAAC;QACF,OAAO,CAAC,CAAC,IAAI,CAAC;IAChB,CAAC;CACF;AACD,kBAAe,KAAK,CAAC"}
@@ -1,69 +1,25 @@
1
1
  "use strict";
2
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
- return new (P || (P = Promise))(function (resolve, reject) {
5
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
- step((generator = generator.apply(thisArg, _arguments || [])).next());
9
- });
10
- };
11
- var __generator = (this && this.__generator) || function (thisArg, body) {
12
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
13
- return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
14
- function verb(n) { return function (v) { return step([n, v]); }; }
15
- function step(op) {
16
- if (f) throw new TypeError("Generator is already executing.");
17
- while (g && (g = 0, op[0] && (_ = 0)), _) try {
18
- if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
19
- if (y = 0, t) op = [op[0] & 2, t.value];
20
- switch (op[0]) {
21
- case 0: case 1: t = op; break;
22
- case 4: _.label++; return { value: op[1], done: false };
23
- case 5: _.label++; y = op[1]; op = [0]; continue;
24
- case 7: op = _.ops.pop(); _.trys.pop(); continue;
25
- default:
26
- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
27
- if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
28
- if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
29
- if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
30
- if (t[2]) _.ops.pop();
31
- _.trys.pop(); continue;
32
- }
33
- op = body.call(thisArg, _);
34
- } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
35
- if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
36
- }
37
- };
38
2
  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(), "/fax-cover-page");
46
- };
10
+ path() {
11
+ return `${this._parent.path()}/fax-cover-page`;
12
+ }
47
13
  /**
48
14
  * Returns fax cover pages available for the current extension.
49
15
  * HTTP Method: get
50
16
  * Endpoint: /restapi/{apiVersion}/dictionary/fax-cover-page
51
17
  * Rate Limit Group: Light
52
18
  */
53
- Index.prototype.get = function (queryParams, restRequestConfig) {
54
- return __awaiter(this, void 0, void 0, function () {
55
- var r;
56
- return __generator(this, function (_a) {
57
- switch (_a.label) {
58
- case 0: return [4 /*yield*/, this.rc.get(this.path(), queryParams, restRequestConfig)];
59
- case 1:
60
- r = _a.sent();
61
- return [2 /*return*/, r.data];
62
- }
63
- });
64
- });
65
- };
66
- return Index;
67
- }());
19
+ async get(queryParams, restRequestConfig) {
20
+ const r = await this.rc.get(this.path(), queryParams, restRequestConfig);
21
+ return r.data;
22
+ }
23
+ }
68
24
  exports.default = Index;
69
25
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/paths/Restapi/Dictionary/FaxCoverPage/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,oBAAiB,CAAC;IACjD,CAAC;IACD;;;;;OAKG;IACU,mBAAG,GAAhB,UACE,WAAyC,EACzC,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,AA5BD,IA4BC;AACD,kBAAe,KAAK,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/paths/Restapi/Dictionary/FaxCoverPage/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,iBAAiB,CAAC;IACjD,CAAC;IACD;;;;;OAKG;IACI,KAAK,CAAC,GAAG,CACd,WAAyC,EACzC,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"}
@@ -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, greetingId) {
41
- if (greetingId === void 0) { greetingId = null; }
3
+ class Index {
4
+ rc;
5
+ _parent;
6
+ greetingId;
7
+ constructor(_parent, greetingId = null) {
42
8
  this._parent = _parent;
43
9
  this.rc = _parent.rc;
44
10
  this.greetingId = greetingId;
45
11
  }
46
- Index.prototype.path = function (withParameter) {
47
- if (withParameter === void 0) { withParameter = true; }
12
+ path(withParameter = true) {
48
13
  if (withParameter && this.greetingId !== null) {
49
- return "".concat(this._parent.path(), "/greeting/").concat(this.greetingId);
14
+ return `${this._parent.path()}/greeting/${this.greetingId}`;
50
15
  }
51
- return "".concat(this._parent.path(), "/greeting");
52
- };
16
+ return `${this._parent.path()}/greeting`;
17
+ }
53
18
  /**
54
19
  * Returns the list of predefined standard greetings. Custom greetings
55
20
  * recorded by user are not returned in response to this request. See Get Extension
@@ -59,43 +24,23 @@ var Index = /** @class */ (function () {
59
24
  * Endpoint: /restapi/{apiVersion}/dictionary/greeting
60
25
  * Rate Limit Group: Medium
61
26
  */
62
- Index.prototype.list = function (queryParams, restRequestConfig) {
63
- return __awaiter(this, void 0, void 0, function () {
64
- var r;
65
- return __generator(this, function (_a) {
66
- switch (_a.label) {
67
- case 0: return [4 /*yield*/, this.rc.get(this.path(false), queryParams, restRequestConfig)];
68
- case 1:
69
- r = _a.sent();
70
- return [2 /*return*/, r.data];
71
- }
72
- });
73
- });
74
- };
27
+ async list(queryParams, restRequestConfig) {
28
+ const r = await this.rc.get(this.path(false), queryParams, restRequestConfig);
29
+ return r.data;
30
+ }
75
31
  /**
76
32
  * Returns a standard greeting by ID.
77
33
  * HTTP Method: get
78
34
  * Endpoint: /restapi/{apiVersion}/dictionary/greeting/{greetingId}
79
35
  * Rate Limit Group: Medium
80
36
  */
81
- Index.prototype.get = function (restRequestConfig) {
82
- return __awaiter(this, void 0, void 0, function () {
83
- var r;
84
- return __generator(this, function (_a) {
85
- switch (_a.label) {
86
- case 0:
87
- if (this.greetingId === null) {
88
- throw new Error("greetingId must be specified.");
89
- }
90
- return [4 /*yield*/, this.rc.get(this.path(), undefined, restRequestConfig)];
91
- case 1:
92
- r = _a.sent();
93
- return [2 /*return*/, r.data];
94
- }
95
- });
96
- });
97
- };
98
- return Index;
99
- }());
37
+ async get(restRequestConfig) {
38
+ if (this.greetingId === null) {
39
+ throw new Error("greetingId must be specified.");
40
+ }
41
+ const r = await this.rc.get(this.path(), undefined, restRequestConfig);
42
+ return r.data;
43
+ }
44
+ }
100
45
  exports.default = Index;
101
46
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/paths/Restapi/Dictionary/Greeting/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AASA;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,uBAAa,IAAI,CAAC,UAAU,CAAE,CAAC;QAC9D,CAAC;QACD,OAAO,UAAG,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,cAAW,CAAC;IAC3C,CAAC;IACD;;;;;;;;OAQG;IACU,oBAAI,GAAjB,UACE,WAA6C,EAC7C,iBAAqC;;;;;4BAE3B,qBAAM,IAAI,CAAC,EAAE,CAAC,GAAG,CACzB,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,EAChB,WAAW,EACX,iBAAiB,CAClB,EAAA;;wBAJK,CAAC,GAAG,SAIT;wBACD,sBAAO,CAAC,CAAC,IAAI,EAAC;;;;KACf;IAED;;;;;OAKG;IACU,mBAAG,GAAhB,UACE,iBAAqC;;;;;;wBAErC,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,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,AA3DD,IA2DC;AACD,kBAAe,KAAK,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/paths/Restapi/Dictionary/Greeting/index.ts"],"names":[],"mappings":";;AASA,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,aAAa,IAAI,CAAC,UAAU,EAAE,CAAC;QAC9D,CAAC;QACD,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,WAAW,CAAC;IAC3C,CAAC;IACD;;;;;;;;OAQG;IACI,KAAK,CAAC,IAAI,CACf,WAA6C,EAC7C,iBAAqC;QAErC,MAAM,CAAC,GAAG,MAAM,IAAI,CAAC,EAAE,CAAC,GAAG,CACzB,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,EAChB,WAAW,EACX,iBAAiB,CAClB,CAAC;QACF,OAAO,CAAC,CAAC,IAAI,CAAC;IAChB,CAAC;IAED;;;;;OAKG;IACI,KAAK,CAAC,GAAG,CACd,iBAAqC;QAErC,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,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"}