@unified-api/typescript-sdk 0.0.0

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 (1693) hide show
  1. package/LICENSE.md +21 -0
  2. package/README.md +869 -0
  3. package/dist/index.d.ts +1 -0
  4. package/dist/index.js +20 -0
  5. package/dist/internal/utils/contenttype.d.ts +1 -0
  6. package/dist/internal/utils/contenttype.js +33 -0
  7. package/dist/internal/utils/headers.d.ts +4 -0
  8. package/dist/internal/utils/headers.js +92 -0
  9. package/dist/internal/utils/index.d.ts +8 -0
  10. package/dist/internal/utils/index.js +27 -0
  11. package/dist/internal/utils/pathparams.d.ts +2 -0
  12. package/dist/internal/utils/pathparams.js +53 -0
  13. package/dist/internal/utils/queryparams.d.ts +2 -0
  14. package/dist/internal/utils/queryparams.js +182 -0
  15. package/dist/internal/utils/requestbody.d.ts +2 -0
  16. package/dist/internal/utils/requestbody.js +328 -0
  17. package/dist/internal/utils/retries.d.ts +20 -0
  18. package/dist/internal/utils/retries.js +250 -0
  19. package/dist/internal/utils/security.d.ts +5 -0
  20. package/dist/internal/utils/security.js +196 -0
  21. package/dist/internal/utils/utils.d.ts +37 -0
  22. package/dist/internal/utils/utils.js +368 -0
  23. package/dist/sdk/account.d.ts +31 -0
  24. package/dist/sdk/account.js +461 -0
  25. package/dist/sdk/accounting.d.ts +175 -0
  26. package/dist/sdk/accounting.js +2587 -0
  27. package/dist/sdk/activity.d.ts +31 -0
  28. package/dist/sdk/activity.js +461 -0
  29. package/dist/sdk/apicall.d.ts +15 -0
  30. package/dist/sdk/apicall.js +198 -0
  31. package/dist/sdk/application.d.ts +31 -0
  32. package/dist/sdk/application.js +461 -0
  33. package/dist/sdk/applicationstatus.d.ts +11 -0
  34. package/dist/sdk/applicationstatus.js +144 -0
  35. package/dist/sdk/ats.d.ts +187 -0
  36. package/dist/sdk/ats.js +2778 -0
  37. package/dist/sdk/auth.d.ts +21 -0
  38. package/dist/sdk/auth.js +194 -0
  39. package/dist/sdk/call.d.ts +11 -0
  40. package/dist/sdk/call.js +144 -0
  41. package/dist/sdk/candidate.d.ts +31 -0
  42. package/dist/sdk/candidate.js +461 -0
  43. package/dist/sdk/collection.d.ts +31 -0
  44. package/dist/sdk/collection.js +461 -0
  45. package/dist/sdk/commerce.d.ts +103 -0
  46. package/dist/sdk/commerce.js +1535 -0
  47. package/dist/sdk/company.d.ts +43 -0
  48. package/dist/sdk/company.js +628 -0
  49. package/dist/sdk/connection.d.ts +32 -0
  50. package/dist/sdk/connection.js +460 -0
  51. package/dist/sdk/contact.d.ts +79 -0
  52. package/dist/sdk/contact.js +1177 -0
  53. package/dist/sdk/crm.d.ts +151 -0
  54. package/dist/sdk/crm.js +2251 -0
  55. package/dist/sdk/customer.d.ts +31 -0
  56. package/dist/sdk/customer.js +461 -0
  57. package/dist/sdk/deal.d.ts +31 -0
  58. package/dist/sdk/deal.js +461 -0
  59. package/dist/sdk/document.d.ts +31 -0
  60. package/dist/sdk/document.js +461 -0
  61. package/dist/sdk/employee.d.ts +31 -0
  62. package/dist/sdk/employee.js +461 -0
  63. package/dist/sdk/enrich.d.ts +15 -0
  64. package/dist/sdk/enrich.js +197 -0
  65. package/dist/sdk/event.d.ts +31 -0
  66. package/dist/sdk/event.js +461 -0
  67. package/dist/sdk/file.d.ts +31 -0
  68. package/dist/sdk/file.js +461 -0
  69. package/dist/sdk/group.d.ts +31 -0
  70. package/dist/sdk/group.js +461 -0
  71. package/dist/sdk/hris.d.ts +55 -0
  72. package/dist/sdk/hris.js +819 -0
  73. package/dist/sdk/index.d.ts +1 -0
  74. package/dist/sdk/index.js +20 -0
  75. package/dist/sdk/integration.d.ts +25 -0
  76. package/dist/sdk/integration.js +254 -0
  77. package/dist/sdk/interview.d.ts +31 -0
  78. package/dist/sdk/interview.js +461 -0
  79. package/dist/sdk/inventory.d.ts +31 -0
  80. package/dist/sdk/inventory.js +461 -0
  81. package/dist/sdk/invoice.d.ts +31 -0
  82. package/dist/sdk/invoice.js +461 -0
  83. package/dist/sdk/issue.d.ts +11 -0
  84. package/dist/sdk/issue.js +144 -0
  85. package/dist/sdk/item.d.ts +31 -0
  86. package/dist/sdk/item.js +461 -0
  87. package/dist/sdk/job.d.ts +31 -0
  88. package/dist/sdk/job.js +461 -0
  89. package/dist/sdk/lead.d.ts +31 -0
  90. package/dist/sdk/lead.js +461 -0
  91. package/dist/sdk/list.d.ts +31 -0
  92. package/dist/sdk/list.js +461 -0
  93. package/dist/sdk/location.d.ts +31 -0
  94. package/dist/sdk/location.js +461 -0
  95. package/dist/sdk/login.d.ts +14 -0
  96. package/dist/sdk/login.js +140 -0
  97. package/dist/sdk/martech.d.ts +55 -0
  98. package/dist/sdk/martech.js +819 -0
  99. package/dist/sdk/member.d.ts +31 -0
  100. package/dist/sdk/member.js +461 -0
  101. package/dist/sdk/models/errors/index.d.ts +1 -0
  102. package/dist/sdk/models/errors/index.js +20 -0
  103. package/dist/sdk/models/errors/sdkerror.d.ts +7 -0
  104. package/dist/sdk/models/errors/sdkerror.js +40 -0
  105. package/dist/sdk/models/operations/createaccountingaccount.d.ts +31 -0
  106. package/dist/sdk/models/operations/createaccountingaccount.js +109 -0
  107. package/dist/sdk/models/operations/createaccountingcontact.d.ts +31 -0
  108. package/dist/sdk/models/operations/createaccountingcontact.js +109 -0
  109. package/dist/sdk/models/operations/createaccountinginvoice.d.ts +31 -0
  110. package/dist/sdk/models/operations/createaccountinginvoice.js +109 -0
  111. package/dist/sdk/models/operations/createaccountingpayment.d.ts +31 -0
  112. package/dist/sdk/models/operations/createaccountingpayment.js +109 -0
  113. package/dist/sdk/models/operations/createaccountingtaxrate.d.ts +31 -0
  114. package/dist/sdk/models/operations/createaccountingtaxrate.js +109 -0
  115. package/dist/sdk/models/operations/createaccountingtransaction.d.ts +31 -0
  116. package/dist/sdk/models/operations/createaccountingtransaction.js +109 -0
  117. package/dist/sdk/models/operations/createatsactivity.d.ts +31 -0
  118. package/dist/sdk/models/operations/createatsactivity.js +109 -0
  119. package/dist/sdk/models/operations/createatsapplication.d.ts +31 -0
  120. package/dist/sdk/models/operations/createatsapplication.js +109 -0
  121. package/dist/sdk/models/operations/createatscandidate.d.ts +31 -0
  122. package/dist/sdk/models/operations/createatscandidate.js +109 -0
  123. package/dist/sdk/models/operations/createatsdocument.d.ts +31 -0
  124. package/dist/sdk/models/operations/createatsdocument.js +109 -0
  125. package/dist/sdk/models/operations/createatsinterview.d.ts +31 -0
  126. package/dist/sdk/models/operations/createatsinterview.js +109 -0
  127. package/dist/sdk/models/operations/createatsjob.d.ts +31 -0
  128. package/dist/sdk/models/operations/createatsjob.js +109 -0
  129. package/dist/sdk/models/operations/createatsscorecard.d.ts +31 -0
  130. package/dist/sdk/models/operations/createatsscorecard.js +109 -0
  131. package/dist/sdk/models/operations/createcommercecollection.d.ts +34 -0
  132. package/dist/sdk/models/operations/createcommercecollection.js +109 -0
  133. package/dist/sdk/models/operations/createcommerceinventory.d.ts +31 -0
  134. package/dist/sdk/models/operations/createcommerceinventory.js +109 -0
  135. package/dist/sdk/models/operations/createcommerceitem.d.ts +31 -0
  136. package/dist/sdk/models/operations/createcommerceitem.js +109 -0
  137. package/dist/sdk/models/operations/createcommercelocation.d.ts +31 -0
  138. package/dist/sdk/models/operations/createcommercelocation.js +109 -0
  139. package/dist/sdk/models/operations/createcrmcompany.d.ts +34 -0
  140. package/dist/sdk/models/operations/createcrmcompany.js +109 -0
  141. package/dist/sdk/models/operations/createcrmcontact.d.ts +34 -0
  142. package/dist/sdk/models/operations/createcrmcontact.js +109 -0
  143. package/dist/sdk/models/operations/createcrmdeal.d.ts +34 -0
  144. package/dist/sdk/models/operations/createcrmdeal.js +109 -0
  145. package/dist/sdk/models/operations/createcrmevent.d.ts +34 -0
  146. package/dist/sdk/models/operations/createcrmevent.js +109 -0
  147. package/dist/sdk/models/operations/createcrmlead.d.ts +31 -0
  148. package/dist/sdk/models/operations/createcrmlead.js +109 -0
  149. package/dist/sdk/models/operations/createcrmpipeline.d.ts +31 -0
  150. package/dist/sdk/models/operations/createcrmpipeline.js +109 -0
  151. package/dist/sdk/models/operations/createhrisemployee.d.ts +31 -0
  152. package/dist/sdk/models/operations/createhrisemployee.js +109 -0
  153. package/dist/sdk/models/operations/createhrisgroup.d.ts +31 -0
  154. package/dist/sdk/models/operations/createhrisgroup.js +109 -0
  155. package/dist/sdk/models/operations/createmartechlist.d.ts +34 -0
  156. package/dist/sdk/models/operations/createmartechlist.js +109 -0
  157. package/dist/sdk/models/operations/createmartechmember.d.ts +34 -0
  158. package/dist/sdk/models/operations/createmartechmember.js +109 -0
  159. package/dist/sdk/models/operations/createpassthrough.d.ts +34 -0
  160. package/dist/sdk/models/operations/createpassthrough.js +89 -0
  161. package/dist/sdk/models/operations/createstoragefile.d.ts +31 -0
  162. package/dist/sdk/models/operations/createstoragefile.js +109 -0
  163. package/dist/sdk/models/operations/createticketingcustomer.d.ts +31 -0
  164. package/dist/sdk/models/operations/createticketingcustomer.js +109 -0
  165. package/dist/sdk/models/operations/createticketingnote.d.ts +31 -0
  166. package/dist/sdk/models/operations/createticketingnote.js +109 -0
  167. package/dist/sdk/models/operations/createticketingticket.d.ts +31 -0
  168. package/dist/sdk/models/operations/createticketingticket.js +109 -0
  169. package/dist/sdk/models/operations/createuccontact.d.ts +34 -0
  170. package/dist/sdk/models/operations/createuccontact.js +109 -0
  171. package/dist/sdk/models/operations/createunifiedconnection.d.ts +24 -0
  172. package/dist/sdk/models/operations/createunifiedconnection.js +93 -0
  173. package/dist/sdk/models/operations/createunifiedwebhook.d.ts +31 -0
  174. package/dist/sdk/models/operations/createunifiedwebhook.js +109 -0
  175. package/dist/sdk/models/operations/getaccountingaccount.d.ts +38 -0
  176. package/dist/sdk/models/operations/getaccountingaccount.js +113 -0
  177. package/dist/sdk/models/operations/getaccountingcontact.d.ts +38 -0
  178. package/dist/sdk/models/operations/getaccountingcontact.js +113 -0
  179. package/dist/sdk/models/operations/getaccountinginvoice.d.ts +38 -0
  180. package/dist/sdk/models/operations/getaccountinginvoice.js +113 -0
  181. package/dist/sdk/models/operations/getaccountingorganization.d.ts +38 -0
  182. package/dist/sdk/models/operations/getaccountingorganization.js +113 -0
  183. package/dist/sdk/models/operations/getaccountingpayment.d.ts +38 -0
  184. package/dist/sdk/models/operations/getaccountingpayment.js +113 -0
  185. package/dist/sdk/models/operations/getaccountingpayout.d.ts +38 -0
  186. package/dist/sdk/models/operations/getaccountingpayout.js +113 -0
  187. package/dist/sdk/models/operations/getaccountingrefund.d.ts +38 -0
  188. package/dist/sdk/models/operations/getaccountingrefund.js +113 -0
  189. package/dist/sdk/models/operations/getaccountingtaxrate.d.ts +38 -0
  190. package/dist/sdk/models/operations/getaccountingtaxrate.js +113 -0
  191. package/dist/sdk/models/operations/getaccountingtransaction.d.ts +38 -0
  192. package/dist/sdk/models/operations/getaccountingtransaction.js +113 -0
  193. package/dist/sdk/models/operations/getatsactivity.d.ts +38 -0
  194. package/dist/sdk/models/operations/getatsactivity.js +113 -0
  195. package/dist/sdk/models/operations/getatsapplication.d.ts +38 -0
  196. package/dist/sdk/models/operations/getatsapplication.js +113 -0
  197. package/dist/sdk/models/operations/getatscandidate.d.ts +38 -0
  198. package/dist/sdk/models/operations/getatscandidate.js +113 -0
  199. package/dist/sdk/models/operations/getatscompany.d.ts +38 -0
  200. package/dist/sdk/models/operations/getatscompany.js +113 -0
  201. package/dist/sdk/models/operations/getatsdocument.d.ts +38 -0
  202. package/dist/sdk/models/operations/getatsdocument.js +113 -0
  203. package/dist/sdk/models/operations/getatsinterview.d.ts +38 -0
  204. package/dist/sdk/models/operations/getatsinterview.js +113 -0
  205. package/dist/sdk/models/operations/getatsjob.d.ts +38 -0
  206. package/dist/sdk/models/operations/getatsjob.js +113 -0
  207. package/dist/sdk/models/operations/getatsscorecard.d.ts +38 -0
  208. package/dist/sdk/models/operations/getatsscorecard.js +113 -0
  209. package/dist/sdk/models/operations/getcommercecollection.d.ts +38 -0
  210. package/dist/sdk/models/operations/getcommercecollection.js +113 -0
  211. package/dist/sdk/models/operations/getcommerceinventory.d.ts +38 -0
  212. package/dist/sdk/models/operations/getcommerceinventory.js +113 -0
  213. package/dist/sdk/models/operations/getcommerceitem.d.ts +38 -0
  214. package/dist/sdk/models/operations/getcommerceitem.js +113 -0
  215. package/dist/sdk/models/operations/getcommercelocation.d.ts +38 -0
  216. package/dist/sdk/models/operations/getcommercelocation.js +113 -0
  217. package/dist/sdk/models/operations/getcrmcompany.d.ts +38 -0
  218. package/dist/sdk/models/operations/getcrmcompany.js +113 -0
  219. package/dist/sdk/models/operations/getcrmcontact.d.ts +38 -0
  220. package/dist/sdk/models/operations/getcrmcontact.js +113 -0
  221. package/dist/sdk/models/operations/getcrmdeal.d.ts +38 -0
  222. package/dist/sdk/models/operations/getcrmdeal.js +113 -0
  223. package/dist/sdk/models/operations/getcrmevent.d.ts +38 -0
  224. package/dist/sdk/models/operations/getcrmevent.js +113 -0
  225. package/dist/sdk/models/operations/getcrmlead.d.ts +38 -0
  226. package/dist/sdk/models/operations/getcrmlead.js +113 -0
  227. package/dist/sdk/models/operations/getcrmpipeline.d.ts +38 -0
  228. package/dist/sdk/models/operations/getcrmpipeline.js +113 -0
  229. package/dist/sdk/models/operations/gethrisemployee.d.ts +38 -0
  230. package/dist/sdk/models/operations/gethrisemployee.js +113 -0
  231. package/dist/sdk/models/operations/gethrisgroup.d.ts +38 -0
  232. package/dist/sdk/models/operations/gethrisgroup.js +113 -0
  233. package/dist/sdk/models/operations/getmartechlist.d.ts +38 -0
  234. package/dist/sdk/models/operations/getmartechlist.js +113 -0
  235. package/dist/sdk/models/operations/getmartechmember.d.ts +38 -0
  236. package/dist/sdk/models/operations/getmartechmember.js +113 -0
  237. package/dist/sdk/models/operations/getstoragefile.d.ts +38 -0
  238. package/dist/sdk/models/operations/getstoragefile.js +113 -0
  239. package/dist/sdk/models/operations/getticketingcustomer.d.ts +38 -0
  240. package/dist/sdk/models/operations/getticketingcustomer.js +113 -0
  241. package/dist/sdk/models/operations/getticketingnote.d.ts +38 -0
  242. package/dist/sdk/models/operations/getticketingnote.js +113 -0
  243. package/dist/sdk/models/operations/getticketingticket.d.ts +38 -0
  244. package/dist/sdk/models/operations/getticketingticket.js +113 -0
  245. package/dist/sdk/models/operations/getuccontact.d.ts +38 -0
  246. package/dist/sdk/models/operations/getuccontact.js +113 -0
  247. package/dist/sdk/models/operations/getunifiedapicall.d.ts +30 -0
  248. package/dist/sdk/models/operations/getunifiedapicall.js +105 -0
  249. package/dist/sdk/models/operations/getunifiedconnection.d.ts +30 -0
  250. package/dist/sdk/models/operations/getunifiedconnection.js +105 -0
  251. package/dist/sdk/models/operations/getunifiedintegrationauth.d.ts +126 -0
  252. package/dist/sdk/models/operations/getunifiedintegrationauth.js +180 -0
  253. package/dist/sdk/models/operations/getunifiedintegrationlogin.d.ts +44 -0
  254. package/dist/sdk/models/operations/getunifiedintegrationlogin.js +91 -0
  255. package/dist/sdk/models/operations/getunifiedwebhook.d.ts +30 -0
  256. package/dist/sdk/models/operations/getunifiedwebhook.js +105 -0
  257. package/dist/sdk/models/operations/index.d.ts +228 -0
  258. package/dist/sdk/models/operations/index.js +247 -0
  259. package/dist/sdk/models/operations/listaccountingaccounts.d.ts +46 -0
  260. package/dist/sdk/models/operations/listaccountingaccounts.js +133 -0
  261. package/dist/sdk/models/operations/listaccountingcontacts.d.ts +50 -0
  262. package/dist/sdk/models/operations/listaccountingcontacts.js +137 -0
  263. package/dist/sdk/models/operations/listaccountinginvoices.d.ts +50 -0
  264. package/dist/sdk/models/operations/listaccountinginvoices.js +137 -0
  265. package/dist/sdk/models/operations/listaccountingorganizations.d.ts +46 -0
  266. package/dist/sdk/models/operations/listaccountingorganizations.js +133 -0
  267. package/dist/sdk/models/operations/listaccountingpayments.d.ts +54 -0
  268. package/dist/sdk/models/operations/listaccountingpayments.js +141 -0
  269. package/dist/sdk/models/operations/listaccountingpayouts.d.ts +46 -0
  270. package/dist/sdk/models/operations/listaccountingpayouts.js +133 -0
  271. package/dist/sdk/models/operations/listaccountingrefunds.d.ts +50 -0
  272. package/dist/sdk/models/operations/listaccountingrefunds.js +137 -0
  273. package/dist/sdk/models/operations/listaccountingtaxrates.d.ts +46 -0
  274. package/dist/sdk/models/operations/listaccountingtaxrates.js +133 -0
  275. package/dist/sdk/models/operations/listaccountingtransactions.d.ts +46 -0
  276. package/dist/sdk/models/operations/listaccountingtransactions.js +133 -0
  277. package/dist/sdk/models/operations/listatsactivities.d.ts +70 -0
  278. package/dist/sdk/models/operations/listatsactivities.js +157 -0
  279. package/dist/sdk/models/operations/listatsapplications.d.ts +54 -0
  280. package/dist/sdk/models/operations/listatsapplications.js +141 -0
  281. package/dist/sdk/models/operations/listatsapplicationstatuses.d.ts +46 -0
  282. package/dist/sdk/models/operations/listatsapplicationstatuses.js +133 -0
  283. package/dist/sdk/models/operations/listatscandidates.d.ts +46 -0
  284. package/dist/sdk/models/operations/listatscandidates.js +133 -0
  285. package/dist/sdk/models/operations/listatscompanies.d.ts +46 -0
  286. package/dist/sdk/models/operations/listatscompanies.js +133 -0
  287. package/dist/sdk/models/operations/listatsdocuments.d.ts +50 -0
  288. package/dist/sdk/models/operations/listatsdocuments.js +137 -0
  289. package/dist/sdk/models/operations/listatsinterviews.d.ts +50 -0
  290. package/dist/sdk/models/operations/listatsinterviews.js +137 -0
  291. package/dist/sdk/models/operations/listatsjobs.d.ts +46 -0
  292. package/dist/sdk/models/operations/listatsjobs.js +133 -0
  293. package/dist/sdk/models/operations/listatsscorecards.d.ts +62 -0
  294. package/dist/sdk/models/operations/listatsscorecards.js +149 -0
  295. package/dist/sdk/models/operations/listcommercecollections.d.ts +46 -0
  296. package/dist/sdk/models/operations/listcommercecollections.js +133 -0
  297. package/dist/sdk/models/operations/listcommerceinventories.d.ts +54 -0
  298. package/dist/sdk/models/operations/listcommerceinventories.js +141 -0
  299. package/dist/sdk/models/operations/listcommerceitems.d.ts +46 -0
  300. package/dist/sdk/models/operations/listcommerceitems.js +133 -0
  301. package/dist/sdk/models/operations/listcommercelocations.d.ts +46 -0
  302. package/dist/sdk/models/operations/listcommercelocations.js +133 -0
  303. package/dist/sdk/models/operations/listcrmcompanies.d.ts +58 -0
  304. package/dist/sdk/models/operations/listcrmcompanies.js +145 -0
  305. package/dist/sdk/models/operations/listcrmcontacts.d.ts +58 -0
  306. package/dist/sdk/models/operations/listcrmcontacts.js +145 -0
  307. package/dist/sdk/models/operations/listcrmdeals.d.ts +58 -0
  308. package/dist/sdk/models/operations/listcrmdeals.js +145 -0
  309. package/dist/sdk/models/operations/listcrmevents.d.ts +63 -0
  310. package/dist/sdk/models/operations/listcrmevents.js +153 -0
  311. package/dist/sdk/models/operations/listcrmleads.d.ts +58 -0
  312. package/dist/sdk/models/operations/listcrmleads.js +145 -0
  313. package/dist/sdk/models/operations/listcrmpipelines.d.ts +46 -0
  314. package/dist/sdk/models/operations/listcrmpipelines.js +133 -0
  315. package/dist/sdk/models/operations/listenrichcompanies.d.ts +38 -0
  316. package/dist/sdk/models/operations/listenrichcompanies.js +113 -0
  317. package/dist/sdk/models/operations/listenrichpeople.d.ts +46 -0
  318. package/dist/sdk/models/operations/listenrichpeople.js +121 -0
  319. package/dist/sdk/models/operations/listhrisemployees.d.ts +46 -0
  320. package/dist/sdk/models/operations/listhrisemployees.js +133 -0
  321. package/dist/sdk/models/operations/listhrisgroups.d.ts +46 -0
  322. package/dist/sdk/models/operations/listhrisgroups.js +133 -0
  323. package/dist/sdk/models/operations/listmartechlists.d.ts +46 -0
  324. package/dist/sdk/models/operations/listmartechlists.js +133 -0
  325. package/dist/sdk/models/operations/listmartechmembers.d.ts +50 -0
  326. package/dist/sdk/models/operations/listmartechmembers.js +137 -0
  327. package/dist/sdk/models/operations/listpassthroughs.d.ts +30 -0
  328. package/dist/sdk/models/operations/listpassthroughs.js +85 -0
  329. package/dist/sdk/models/operations/liststoragefiles.d.ts +47 -0
  330. package/dist/sdk/models/operations/liststoragefiles.js +137 -0
  331. package/dist/sdk/models/operations/listticketingcustomers.d.ts +46 -0
  332. package/dist/sdk/models/operations/listticketingcustomers.js +133 -0
  333. package/dist/sdk/models/operations/listticketingnotes.d.ts +50 -0
  334. package/dist/sdk/models/operations/listticketingnotes.js +137 -0
  335. package/dist/sdk/models/operations/listticketingtickets.d.ts +54 -0
  336. package/dist/sdk/models/operations/listticketingtickets.js +141 -0
  337. package/dist/sdk/models/operations/listuccalls.d.ts +48 -0
  338. package/dist/sdk/models/operations/listuccalls.js +141 -0
  339. package/dist/sdk/models/operations/listuccontacts.d.ts +47 -0
  340. package/dist/sdk/models/operations/listuccontacts.js +137 -0
  341. package/dist/sdk/models/operations/listunifiedapicalls.d.ts +55 -0
  342. package/dist/sdk/models/operations/listunifiedapicalls.js +145 -0
  343. package/dist/sdk/models/operations/listunifiedconnections.d.ts +57 -0
  344. package/dist/sdk/models/operations/listunifiedconnections.js +148 -0
  345. package/dist/sdk/models/operations/listunifiedintegrations.d.ts +59 -0
  346. package/dist/sdk/models/operations/listunifiedintegrations.js +156 -0
  347. package/dist/sdk/models/operations/listunifiedintegrationworkspaces.d.ts +54 -0
  348. package/dist/sdk/models/operations/listunifiedintegrationworkspaces.js +134 -0
  349. package/dist/sdk/models/operations/listunifiedissues.d.ts +34 -0
  350. package/dist/sdk/models/operations/listunifiedissues.js +121 -0
  351. package/dist/sdk/models/operations/listunifiedwebhooks.d.ts +39 -0
  352. package/dist/sdk/models/operations/listunifiedwebhooks.js +129 -0
  353. package/dist/sdk/models/operations/patchaccountingaccount.d.ts +35 -0
  354. package/dist/sdk/models/operations/patchaccountingaccount.js +113 -0
  355. package/dist/sdk/models/operations/patchaccountingcontact.d.ts +35 -0
  356. package/dist/sdk/models/operations/patchaccountingcontact.js +113 -0
  357. package/dist/sdk/models/operations/patchaccountinginvoice.d.ts +35 -0
  358. package/dist/sdk/models/operations/patchaccountinginvoice.js +113 -0
  359. package/dist/sdk/models/operations/patchaccountingpayment.d.ts +35 -0
  360. package/dist/sdk/models/operations/patchaccountingpayment.js +113 -0
  361. package/dist/sdk/models/operations/patchaccountingtaxrate.d.ts +35 -0
  362. package/dist/sdk/models/operations/patchaccountingtaxrate.js +113 -0
  363. package/dist/sdk/models/operations/patchaccountingtransaction.d.ts +35 -0
  364. package/dist/sdk/models/operations/patchaccountingtransaction.js +113 -0
  365. package/dist/sdk/models/operations/patchatsactivity.d.ts +35 -0
  366. package/dist/sdk/models/operations/patchatsactivity.js +113 -0
  367. package/dist/sdk/models/operations/patchatsapplication.d.ts +35 -0
  368. package/dist/sdk/models/operations/patchatsapplication.js +113 -0
  369. package/dist/sdk/models/operations/patchatscandidate.d.ts +35 -0
  370. package/dist/sdk/models/operations/patchatscandidate.js +113 -0
  371. package/dist/sdk/models/operations/patchatsdocument.d.ts +35 -0
  372. package/dist/sdk/models/operations/patchatsdocument.js +113 -0
  373. package/dist/sdk/models/operations/patchatsinterview.d.ts +35 -0
  374. package/dist/sdk/models/operations/patchatsinterview.js +113 -0
  375. package/dist/sdk/models/operations/patchatsjob.d.ts +35 -0
  376. package/dist/sdk/models/operations/patchatsjob.js +113 -0
  377. package/dist/sdk/models/operations/patchatsscorecard.d.ts +35 -0
  378. package/dist/sdk/models/operations/patchatsscorecard.js +113 -0
  379. package/dist/sdk/models/operations/patchcommercecollection.d.ts +38 -0
  380. package/dist/sdk/models/operations/patchcommercecollection.js +113 -0
  381. package/dist/sdk/models/operations/patchcommerceinventory.d.ts +35 -0
  382. package/dist/sdk/models/operations/patchcommerceinventory.js +113 -0
  383. package/dist/sdk/models/operations/patchcommerceitem.d.ts +35 -0
  384. package/dist/sdk/models/operations/patchcommerceitem.js +113 -0
  385. package/dist/sdk/models/operations/patchcommercelocation.d.ts +35 -0
  386. package/dist/sdk/models/operations/patchcommercelocation.js +113 -0
  387. package/dist/sdk/models/operations/patchcrmcompany.d.ts +38 -0
  388. package/dist/sdk/models/operations/patchcrmcompany.js +113 -0
  389. package/dist/sdk/models/operations/patchcrmcontact.d.ts +38 -0
  390. package/dist/sdk/models/operations/patchcrmcontact.js +113 -0
  391. package/dist/sdk/models/operations/patchcrmdeal.d.ts +38 -0
  392. package/dist/sdk/models/operations/patchcrmdeal.js +113 -0
  393. package/dist/sdk/models/operations/patchcrmevent.d.ts +38 -0
  394. package/dist/sdk/models/operations/patchcrmevent.js +113 -0
  395. package/dist/sdk/models/operations/patchcrmlead.d.ts +35 -0
  396. package/dist/sdk/models/operations/patchcrmlead.js +113 -0
  397. package/dist/sdk/models/operations/patchcrmpipeline.d.ts +35 -0
  398. package/dist/sdk/models/operations/patchcrmpipeline.js +113 -0
  399. package/dist/sdk/models/operations/patchhrisemployee.d.ts +35 -0
  400. package/dist/sdk/models/operations/patchhrisemployee.js +113 -0
  401. package/dist/sdk/models/operations/patchhrisgroup.d.ts +35 -0
  402. package/dist/sdk/models/operations/patchhrisgroup.js +113 -0
  403. package/dist/sdk/models/operations/patchmartechlist.d.ts +38 -0
  404. package/dist/sdk/models/operations/patchmartechlist.js +113 -0
  405. package/dist/sdk/models/operations/patchmartechmember.d.ts +38 -0
  406. package/dist/sdk/models/operations/patchmartechmember.js +113 -0
  407. package/dist/sdk/models/operations/patchpassthrough.d.ts +34 -0
  408. package/dist/sdk/models/operations/patchpassthrough.js +89 -0
  409. package/dist/sdk/models/operations/patchstoragefile.d.ts +35 -0
  410. package/dist/sdk/models/operations/patchstoragefile.js +113 -0
  411. package/dist/sdk/models/operations/patchticketingcustomer.d.ts +35 -0
  412. package/dist/sdk/models/operations/patchticketingcustomer.js +113 -0
  413. package/dist/sdk/models/operations/patchticketingnote.d.ts +35 -0
  414. package/dist/sdk/models/operations/patchticketingnote.js +113 -0
  415. package/dist/sdk/models/operations/patchticketingticket.d.ts +35 -0
  416. package/dist/sdk/models/operations/patchticketingticket.js +113 -0
  417. package/dist/sdk/models/operations/patchuccontact.d.ts +38 -0
  418. package/dist/sdk/models/operations/patchuccontact.js +113 -0
  419. package/dist/sdk/models/operations/patchunifiedconnection.d.ts +34 -0
  420. package/dist/sdk/models/operations/patchunifiedconnection.js +109 -0
  421. package/dist/sdk/models/operations/patchunifiedwebhooktrigger.d.ts +29 -0
  422. package/dist/sdk/models/operations/patchunifiedwebhooktrigger.js +81 -0
  423. package/dist/sdk/models/operations/removeaccountingaccount.d.ts +33 -0
  424. package/dist/sdk/models/operations/removeaccountingaccount.js +85 -0
  425. package/dist/sdk/models/operations/removeaccountingcontact.d.ts +33 -0
  426. package/dist/sdk/models/operations/removeaccountingcontact.js +85 -0
  427. package/dist/sdk/models/operations/removeaccountinginvoice.d.ts +33 -0
  428. package/dist/sdk/models/operations/removeaccountinginvoice.js +85 -0
  429. package/dist/sdk/models/operations/removeaccountingpayment.d.ts +33 -0
  430. package/dist/sdk/models/operations/removeaccountingpayment.js +85 -0
  431. package/dist/sdk/models/operations/removeaccountingtaxrate.d.ts +33 -0
  432. package/dist/sdk/models/operations/removeaccountingtaxrate.js +85 -0
  433. package/dist/sdk/models/operations/removeaccountingtransaction.d.ts +33 -0
  434. package/dist/sdk/models/operations/removeaccountingtransaction.js +85 -0
  435. package/dist/sdk/models/operations/removeatsactivity.d.ts +33 -0
  436. package/dist/sdk/models/operations/removeatsactivity.js +85 -0
  437. package/dist/sdk/models/operations/removeatsapplication.d.ts +33 -0
  438. package/dist/sdk/models/operations/removeatsapplication.js +85 -0
  439. package/dist/sdk/models/operations/removeatscandidate.d.ts +33 -0
  440. package/dist/sdk/models/operations/removeatscandidate.js +85 -0
  441. package/dist/sdk/models/operations/removeatsdocument.d.ts +33 -0
  442. package/dist/sdk/models/operations/removeatsdocument.js +85 -0
  443. package/dist/sdk/models/operations/removeatsinterview.d.ts +33 -0
  444. package/dist/sdk/models/operations/removeatsinterview.js +85 -0
  445. package/dist/sdk/models/operations/removeatsjob.d.ts +33 -0
  446. package/dist/sdk/models/operations/removeatsjob.js +85 -0
  447. package/dist/sdk/models/operations/removeatsscorecard.d.ts +33 -0
  448. package/dist/sdk/models/operations/removeatsscorecard.js +85 -0
  449. package/dist/sdk/models/operations/removecommercecollection.d.ts +33 -0
  450. package/dist/sdk/models/operations/removecommercecollection.js +85 -0
  451. package/dist/sdk/models/operations/removecommerceinventory.d.ts +33 -0
  452. package/dist/sdk/models/operations/removecommerceinventory.js +85 -0
  453. package/dist/sdk/models/operations/removecommerceitem.d.ts +33 -0
  454. package/dist/sdk/models/operations/removecommerceitem.js +85 -0
  455. package/dist/sdk/models/operations/removecommercelocation.d.ts +33 -0
  456. package/dist/sdk/models/operations/removecommercelocation.js +85 -0
  457. package/dist/sdk/models/operations/removecrmcompany.d.ts +33 -0
  458. package/dist/sdk/models/operations/removecrmcompany.js +85 -0
  459. package/dist/sdk/models/operations/removecrmcontact.d.ts +33 -0
  460. package/dist/sdk/models/operations/removecrmcontact.js +85 -0
  461. package/dist/sdk/models/operations/removecrmdeal.d.ts +33 -0
  462. package/dist/sdk/models/operations/removecrmdeal.js +85 -0
  463. package/dist/sdk/models/operations/removecrmevent.d.ts +33 -0
  464. package/dist/sdk/models/operations/removecrmevent.js +85 -0
  465. package/dist/sdk/models/operations/removecrmlead.d.ts +33 -0
  466. package/dist/sdk/models/operations/removecrmlead.js +85 -0
  467. package/dist/sdk/models/operations/removecrmpipeline.d.ts +33 -0
  468. package/dist/sdk/models/operations/removecrmpipeline.js +85 -0
  469. package/dist/sdk/models/operations/removehrisemployee.d.ts +33 -0
  470. package/dist/sdk/models/operations/removehrisemployee.js +85 -0
  471. package/dist/sdk/models/operations/removehrisgroup.d.ts +33 -0
  472. package/dist/sdk/models/operations/removehrisgroup.js +85 -0
  473. package/dist/sdk/models/operations/removemartechlist.d.ts +33 -0
  474. package/dist/sdk/models/operations/removemartechlist.js +85 -0
  475. package/dist/sdk/models/operations/removemartechmember.d.ts +33 -0
  476. package/dist/sdk/models/operations/removemartechmember.js +85 -0
  477. package/dist/sdk/models/operations/removepassthrough.d.ts +30 -0
  478. package/dist/sdk/models/operations/removepassthrough.js +85 -0
  479. package/dist/sdk/models/operations/removestoragefile.d.ts +33 -0
  480. package/dist/sdk/models/operations/removestoragefile.js +85 -0
  481. package/dist/sdk/models/operations/removeticketingcustomer.d.ts +33 -0
  482. package/dist/sdk/models/operations/removeticketingcustomer.js +85 -0
  483. package/dist/sdk/models/operations/removeticketingnote.d.ts +33 -0
  484. package/dist/sdk/models/operations/removeticketingnote.js +85 -0
  485. package/dist/sdk/models/operations/removeticketingticket.d.ts +33 -0
  486. package/dist/sdk/models/operations/removeticketingticket.js +85 -0
  487. package/dist/sdk/models/operations/removeuccontact.d.ts +33 -0
  488. package/dist/sdk/models/operations/removeuccontact.js +85 -0
  489. package/dist/sdk/models/operations/removeunifiedconnection.d.ts +29 -0
  490. package/dist/sdk/models/operations/removeunifiedconnection.js +81 -0
  491. package/dist/sdk/models/operations/removeunifiedwebhook.d.ts +29 -0
  492. package/dist/sdk/models/operations/removeunifiedwebhook.js +81 -0
  493. package/dist/sdk/models/operations/updateaccountingaccount.d.ts +35 -0
  494. package/dist/sdk/models/operations/updateaccountingaccount.js +113 -0
  495. package/dist/sdk/models/operations/updateaccountingcontact.d.ts +35 -0
  496. package/dist/sdk/models/operations/updateaccountingcontact.js +113 -0
  497. package/dist/sdk/models/operations/updateaccountinginvoice.d.ts +35 -0
  498. package/dist/sdk/models/operations/updateaccountinginvoice.js +113 -0
  499. package/dist/sdk/models/operations/updateaccountingpayment.d.ts +35 -0
  500. package/dist/sdk/models/operations/updateaccountingpayment.js +113 -0
  501. package/dist/sdk/models/operations/updateaccountingtaxrate.d.ts +35 -0
  502. package/dist/sdk/models/operations/updateaccountingtaxrate.js +113 -0
  503. package/dist/sdk/models/operations/updateaccountingtransaction.d.ts +35 -0
  504. package/dist/sdk/models/operations/updateaccountingtransaction.js +113 -0
  505. package/dist/sdk/models/operations/updateatsactivity.d.ts +35 -0
  506. package/dist/sdk/models/operations/updateatsactivity.js +113 -0
  507. package/dist/sdk/models/operations/updateatsapplication.d.ts +35 -0
  508. package/dist/sdk/models/operations/updateatsapplication.js +113 -0
  509. package/dist/sdk/models/operations/updateatscandidate.d.ts +35 -0
  510. package/dist/sdk/models/operations/updateatscandidate.js +113 -0
  511. package/dist/sdk/models/operations/updateatsdocument.d.ts +35 -0
  512. package/dist/sdk/models/operations/updateatsdocument.js +113 -0
  513. package/dist/sdk/models/operations/updateatsinterview.d.ts +35 -0
  514. package/dist/sdk/models/operations/updateatsinterview.js +113 -0
  515. package/dist/sdk/models/operations/updateatsjob.d.ts +35 -0
  516. package/dist/sdk/models/operations/updateatsjob.js +113 -0
  517. package/dist/sdk/models/operations/updateatsscorecard.d.ts +35 -0
  518. package/dist/sdk/models/operations/updateatsscorecard.js +113 -0
  519. package/dist/sdk/models/operations/updatecommercecollection.d.ts +38 -0
  520. package/dist/sdk/models/operations/updatecommercecollection.js +113 -0
  521. package/dist/sdk/models/operations/updatecommerceinventory.d.ts +35 -0
  522. package/dist/sdk/models/operations/updatecommerceinventory.js +113 -0
  523. package/dist/sdk/models/operations/updatecommerceitem.d.ts +35 -0
  524. package/dist/sdk/models/operations/updatecommerceitem.js +113 -0
  525. package/dist/sdk/models/operations/updatecommercelocation.d.ts +35 -0
  526. package/dist/sdk/models/operations/updatecommercelocation.js +113 -0
  527. package/dist/sdk/models/operations/updatecrmcompany.d.ts +38 -0
  528. package/dist/sdk/models/operations/updatecrmcompany.js +113 -0
  529. package/dist/sdk/models/operations/updatecrmcontact.d.ts +38 -0
  530. package/dist/sdk/models/operations/updatecrmcontact.js +113 -0
  531. package/dist/sdk/models/operations/updatecrmdeal.d.ts +38 -0
  532. package/dist/sdk/models/operations/updatecrmdeal.js +113 -0
  533. package/dist/sdk/models/operations/updatecrmevent.d.ts +38 -0
  534. package/dist/sdk/models/operations/updatecrmevent.js +113 -0
  535. package/dist/sdk/models/operations/updatecrmlead.d.ts +35 -0
  536. package/dist/sdk/models/operations/updatecrmlead.js +113 -0
  537. package/dist/sdk/models/operations/updatecrmpipeline.d.ts +35 -0
  538. package/dist/sdk/models/operations/updatecrmpipeline.js +113 -0
  539. package/dist/sdk/models/operations/updatehrisemployee.d.ts +35 -0
  540. package/dist/sdk/models/operations/updatehrisemployee.js +113 -0
  541. package/dist/sdk/models/operations/updatehrisgroup.d.ts +35 -0
  542. package/dist/sdk/models/operations/updatehrisgroup.js +113 -0
  543. package/dist/sdk/models/operations/updatemartechlist.d.ts +38 -0
  544. package/dist/sdk/models/operations/updatemartechlist.js +113 -0
  545. package/dist/sdk/models/operations/updatemartechmember.d.ts +38 -0
  546. package/dist/sdk/models/operations/updatemartechmember.js +113 -0
  547. package/dist/sdk/models/operations/updatepassthrough.d.ts +34 -0
  548. package/dist/sdk/models/operations/updatepassthrough.js +89 -0
  549. package/dist/sdk/models/operations/updatestoragefile.d.ts +35 -0
  550. package/dist/sdk/models/operations/updatestoragefile.js +113 -0
  551. package/dist/sdk/models/operations/updateticketingcustomer.d.ts +35 -0
  552. package/dist/sdk/models/operations/updateticketingcustomer.js +113 -0
  553. package/dist/sdk/models/operations/updateticketingnote.d.ts +35 -0
  554. package/dist/sdk/models/operations/updateticketingnote.js +113 -0
  555. package/dist/sdk/models/operations/updateticketingticket.d.ts +35 -0
  556. package/dist/sdk/models/operations/updateticketingticket.js +113 -0
  557. package/dist/sdk/models/operations/updateuccontact.d.ts +38 -0
  558. package/dist/sdk/models/operations/updateuccontact.js +113 -0
  559. package/dist/sdk/models/operations/updateunifiedconnection.d.ts +34 -0
  560. package/dist/sdk/models/operations/updateunifiedconnection.js +109 -0
  561. package/dist/sdk/models/operations/updateunifiedwebhooktrigger.d.ts +29 -0
  562. package/dist/sdk/models/operations/updateunifiedwebhooktrigger.js +81 -0
  563. package/dist/sdk/models/shared/accountingaccount.d.ts +31 -0
  564. package/dist/sdk/models/shared/accountingaccount.js +126 -0
  565. package/dist/sdk/models/shared/accountingcontact.d.ts +35 -0
  566. package/dist/sdk/models/shared/accountingcontact.js +145 -0
  567. package/dist/sdk/models/shared/accountingemail.d.ts +10 -0
  568. package/dist/sdk/models/shared/accountingemail.js +56 -0
  569. package/dist/sdk/models/shared/accountinginvoice.d.ts +30 -0
  570. package/dist/sdk/models/shared/accountinginvoice.js +177 -0
  571. package/dist/sdk/models/shared/accountinglineitem.d.ts +20 -0
  572. package/dist/sdk/models/shared/accountinglineitem.js +137 -0
  573. package/dist/sdk/models/shared/accountingorganization.d.ts +16 -0
  574. package/dist/sdk/models/shared/accountingorganization.js +110 -0
  575. package/dist/sdk/models/shared/accountingpayment.d.ts +15 -0
  576. package/dist/sdk/models/shared/accountingpayment.js +108 -0
  577. package/dist/sdk/models/shared/accountingpayout.d.ts +17 -0
  578. package/dist/sdk/models/shared/accountingpayout.js +87 -0
  579. package/dist/sdk/models/shared/accountingrefund.d.ts +19 -0
  580. package/dist/sdk/models/shared/accountingrefund.js +97 -0
  581. package/dist/sdk/models/shared/accountingtaxrate.d.ts +11 -0
  582. package/dist/sdk/models/shared/accountingtaxrate.js +88 -0
  583. package/dist/sdk/models/shared/accountingtelephone.d.ts +12 -0
  584. package/dist/sdk/models/shared/accountingtelephone.js +58 -0
  585. package/dist/sdk/models/shared/accountingtransaction.d.ts +17 -0
  586. package/dist/sdk/models/shared/accountingtransaction.js +92 -0
  587. package/dist/sdk/models/shared/accountingtransactionlineitem.d.ts +11 -0
  588. package/dist/sdk/models/shared/accountingtransactionlineitem.js +80 -0
  589. package/dist/sdk/models/shared/apicall.d.ts +23 -0
  590. package/dist/sdk/models/shared/apicall.js +125 -0
  591. package/dist/sdk/models/shared/atsactivity.d.ts +21 -0
  592. package/dist/sdk/models/shared/atsactivity.js +123 -0
  593. package/dist/sdk/models/shared/atsaddress.d.ts +11 -0
  594. package/dist/sdk/models/shared/atsaddress.js +80 -0
  595. package/dist/sdk/models/shared/atsapplication.d.ts +33 -0
  596. package/dist/sdk/models/shared/atsapplication.js +148 -0
  597. package/dist/sdk/models/shared/atsapplicationanswer.d.ts +5 -0
  598. package/dist/sdk/models/shared/atsapplicationanswer.js +50 -0
  599. package/dist/sdk/models/shared/atscandidate.d.ts +35 -0
  600. package/dist/sdk/models/shared/atscandidate.js +157 -0
  601. package/dist/sdk/models/shared/atscompany.d.ts +14 -0
  602. package/dist/sdk/models/shared/atscompany.js +100 -0
  603. package/dist/sdk/models/shared/atscompensation.d.ts +24 -0
  604. package/dist/sdk/models/shared/atscompensation.js +83 -0
  605. package/dist/sdk/models/shared/atsdocument.d.ts +23 -0
  606. package/dist/sdk/models/shared/atsdocument.js +117 -0
  607. package/dist/sdk/models/shared/atsemail.d.ts +10 -0
  608. package/dist/sdk/models/shared/atsemail.js +56 -0
  609. package/dist/sdk/models/shared/atsinterview.d.ts +23 -0
  610. package/dist/sdk/models/shared/atsinterview.js +129 -0
  611. package/dist/sdk/models/shared/atsjob.d.ts +45 -0
  612. package/dist/sdk/models/shared/atsjob.js +179 -0
  613. package/dist/sdk/models/shared/atsjobquestion.d.ts +24 -0
  614. package/dist/sdk/models/shared/atsjobquestion.js +90 -0
  615. package/dist/sdk/models/shared/atsscorecard.d.ts +22 -0
  616. package/dist/sdk/models/shared/atsscorecard.js +117 -0
  617. package/dist/sdk/models/shared/atsscorecardquestion.d.ts +6 -0
  618. package/dist/sdk/models/shared/atsscorecardquestion.js +55 -0
  619. package/dist/sdk/models/shared/atsstatus.d.ts +23 -0
  620. package/dist/sdk/models/shared/atsstatus.js +81 -0
  621. package/dist/sdk/models/shared/atstelephone.d.ts +12 -0
  622. package/dist/sdk/models/shared/atstelephone.js +58 -0
  623. package/dist/sdk/models/shared/commercecollection.d.ts +21 -0
  624. package/dist/sdk/models/shared/commercecollection.js +123 -0
  625. package/dist/sdk/models/shared/commerceinventory.d.ts +11 -0
  626. package/dist/sdk/models/shared/commerceinventory.js +84 -0
  627. package/dist/sdk/models/shared/commerceitem.d.ts +23 -0
  628. package/dist/sdk/models/shared/commerceitem.js +127 -0
  629. package/dist/sdk/models/shared/commerceitemmedia.d.ts +13 -0
  630. package/dist/sdk/models/shared/commerceitemmedia.js +75 -0
  631. package/dist/sdk/models/shared/commerceitemoption.d.ts +7 -0
  632. package/dist/sdk/models/shared/commerceitemoption.js +60 -0
  633. package/dist/sdk/models/shared/commerceitemprice.d.ts +6 -0
  634. package/dist/sdk/models/shared/commerceitemprice.js +55 -0
  635. package/dist/sdk/models/shared/commerceitemvariant.d.ts +39 -0
  636. package/dist/sdk/models/shared/commerceitemvariant.js +177 -0
  637. package/dist/sdk/models/shared/commercelocation.d.ts +11 -0
  638. package/dist/sdk/models/shared/commercelocation.js +85 -0
  639. package/dist/sdk/models/shared/connection.d.ts +30 -0
  640. package/dist/sdk/models/shared/connection.js +136 -0
  641. package/dist/sdk/models/shared/crmcompany.d.ts +33 -0
  642. package/dist/sdk/models/shared/crmcompany.js +147 -0
  643. package/dist/sdk/models/shared/crmcontact.d.ts +37 -0
  644. package/dist/sdk/models/shared/crmcontact.js +122 -0
  645. package/dist/sdk/models/shared/crmdeal.d.ts +25 -0
  646. package/dist/sdk/models/shared/crmdeal.js +135 -0
  647. package/dist/sdk/models/shared/crmemail.d.ts +10 -0
  648. package/dist/sdk/models/shared/crmemail.js +56 -0
  649. package/dist/sdk/models/shared/crmevent.d.ts +60 -0
  650. package/dist/sdk/models/shared/crmevent.js +144 -0
  651. package/dist/sdk/models/shared/crmlead.d.ts +22 -0
  652. package/dist/sdk/models/shared/crmlead.js +134 -0
  653. package/dist/sdk/models/shared/crmpipeline.d.ts +11 -0
  654. package/dist/sdk/models/shared/crmpipeline.js +88 -0
  655. package/dist/sdk/models/shared/crmtelephone.d.ts +12 -0
  656. package/dist/sdk/models/shared/crmtelephone.js +58 -0
  657. package/dist/sdk/models/shared/enrichcompany.d.ts +44 -0
  658. package/dist/sdk/models/shared/enrichcompany.js +190 -0
  659. package/dist/sdk/models/shared/enrichemail.d.ts +10 -0
  660. package/dist/sdk/models/shared/enrichemail.js +56 -0
  661. package/dist/sdk/models/shared/enrichperson.d.ts +50 -0
  662. package/dist/sdk/models/shared/enrichperson.js +184 -0
  663. package/dist/sdk/models/shared/enrichpersonworkhistory.d.ts +10 -0
  664. package/dist/sdk/models/shared/enrichpersonworkhistory.js +83 -0
  665. package/dist/sdk/models/shared/enrichtelephone.d.ts +12 -0
  666. package/dist/sdk/models/shared/enrichtelephone.js +58 -0
  667. package/dist/sdk/models/shared/hrisemail.d.ts +10 -0
  668. package/dist/sdk/models/shared/hrisemail.js +56 -0
  669. package/dist/sdk/models/shared/hrisemployee.d.ts +58 -0
  670. package/dist/sdk/models/shared/hrisemployee.js +222 -0
  671. package/dist/sdk/models/shared/hrisgroup.d.ts +23 -0
  672. package/dist/sdk/models/shared/hrisgroup.js +113 -0
  673. package/dist/sdk/models/shared/hristelephone.d.ts +12 -0
  674. package/dist/sdk/models/shared/hristelephone.js +58 -0
  675. package/dist/sdk/models/shared/index.d.ts +98 -0
  676. package/dist/sdk/models/shared/index.js +117 -0
  677. package/dist/sdk/models/shared/integration.d.ts +36 -0
  678. package/dist/sdk/models/shared/integration.js +151 -0
  679. package/dist/sdk/models/shared/integrationsupport.d.ts +41 -0
  680. package/dist/sdk/models/shared/integrationsupport.js +206 -0
  681. package/dist/sdk/models/shared/issue.d.ts +25 -0
  682. package/dist/sdk/models/shared/issue.js +100 -0
  683. package/dist/sdk/models/shared/marketingemail.d.ts +10 -0
  684. package/dist/sdk/models/shared/marketingemail.js +56 -0
  685. package/dist/sdk/models/shared/marketinglist.d.ts +14 -0
  686. package/dist/sdk/models/shared/marketinglist.js +72 -0
  687. package/dist/sdk/models/shared/marketingmember.d.ts +27 -0
  688. package/dist/sdk/models/shared/marketingmember.js +93 -0
  689. package/dist/sdk/models/shared/propertyaccountingcontactbillingaddress.d.ts +11 -0
  690. package/dist/sdk/models/shared/propertyaccountingcontactbillingaddress.js +80 -0
  691. package/dist/sdk/models/shared/propertyaccountingcontactshippingaddress.d.ts +11 -0
  692. package/dist/sdk/models/shared/propertyaccountingcontactshippingaddress.js +80 -0
  693. package/dist/sdk/models/shared/propertyaccountingorganizationaddress.d.ts +11 -0
  694. package/dist/sdk/models/shared/propertyaccountingorganizationaddress.js +80 -0
  695. package/dist/sdk/models/shared/propertyatscandidateaddress.d.ts +11 -0
  696. package/dist/sdk/models/shared/propertyatscandidateaddress.js +80 -0
  697. package/dist/sdk/models/shared/propertyatscompanyaddress.d.ts +11 -0
  698. package/dist/sdk/models/shared/propertyatscompanyaddress.js +80 -0
  699. package/dist/sdk/models/shared/propertycommercelocationaddress.d.ts +11 -0
  700. package/dist/sdk/models/shared/propertycommercelocationaddress.js +80 -0
  701. package/dist/sdk/models/shared/propertyconnectionauth.d.ts +32 -0
  702. package/dist/sdk/models/shared/propertyconnectionauth.js +166 -0
  703. package/dist/sdk/models/shared/propertyconnectioncategories.d.ts +14 -0
  704. package/dist/sdk/models/shared/propertyconnectioncategories.js +21 -0
  705. package/dist/sdk/models/shared/propertyconnectionpermissions.d.ts +72 -0
  706. package/dist/sdk/models/shared/propertyconnectionpermissions.js +79 -0
  707. package/dist/sdk/models/shared/propertycrmcompanyaddress.d.ts +11 -0
  708. package/dist/sdk/models/shared/propertycrmcompanyaddress.js +80 -0
  709. package/dist/sdk/models/shared/propertycrmcontactaddress.d.ts +11 -0
  710. package/dist/sdk/models/shared/propertycrmcontactaddress.js +80 -0
  711. package/dist/sdk/models/shared/propertycrmeventcall.d.ts +9 -0
  712. package/dist/sdk/models/shared/propertycrmeventcall.js +62 -0
  713. package/dist/sdk/models/shared/propertycrmeventemail.d.ts +18 -0
  714. package/dist/sdk/models/shared/propertycrmeventemail.js +73 -0
  715. package/dist/sdk/models/shared/propertycrmeventmeeting.d.ts +10 -0
  716. package/dist/sdk/models/shared/propertycrmeventmeeting.js +71 -0
  717. package/dist/sdk/models/shared/propertycrmeventnote.d.ts +7 -0
  718. package/dist/sdk/models/shared/propertycrmeventnote.js +48 -0
  719. package/dist/sdk/models/shared/propertycrmeventtask.d.ts +16 -0
  720. package/dist/sdk/models/shared/propertycrmeventtask.js +74 -0
  721. package/dist/sdk/models/shared/propertycrmleadaddress.d.ts +11 -0
  722. package/dist/sdk/models/shared/propertycrmleadaddress.js +80 -0
  723. package/dist/sdk/models/shared/propertyenrichcompanyaddress.d.ts +14 -0
  724. package/dist/sdk/models/shared/propertyenrichcompanyaddress.js +83 -0
  725. package/dist/sdk/models/shared/propertyenrichpersonaddress.d.ts +14 -0
  726. package/dist/sdk/models/shared/propertyenrichpersonaddress.js +83 -0
  727. package/dist/sdk/models/shared/propertyhrisemployeeaddress.d.ts +11 -0
  728. package/dist/sdk/models/shared/propertyhrisemployeeaddress.js +80 -0
  729. package/dist/sdk/models/shared/propertyintegrationcategories.d.ts +14 -0
  730. package/dist/sdk/models/shared/propertyintegrationcategories.js +21 -0
  731. package/dist/sdk/models/shared/propertyintegrationsupportwebhookevents.d.ts +5 -0
  732. package/dist/sdk/models/shared/propertyintegrationsupportwebhookevents.js +12 -0
  733. package/dist/sdk/models/shared/propertystoragepermissionroles.d.ts +5 -0
  734. package/dist/sdk/models/shared/propertystoragepermissionroles.js +12 -0
  735. package/dist/sdk/models/shared/propertyuccalltelephone.d.ts +15 -0
  736. package/dist/sdk/models/shared/propertyuccalltelephone.js +61 -0
  737. package/dist/sdk/models/shared/storagefile.d.ts +22 -0
  738. package/dist/sdk/models/shared/storagefile.js +125 -0
  739. package/dist/sdk/models/shared/storagepermission.d.ts +7 -0
  740. package/dist/sdk/models/shared/storagepermission.js +55 -0
  741. package/dist/sdk/models/shared/ticketingcustomer.d.ts +13 -0
  742. package/dist/sdk/models/shared/ticketingcustomer.js +92 -0
  743. package/dist/sdk/models/shared/ticketingemail.d.ts +10 -0
  744. package/dist/sdk/models/shared/ticketingemail.js +56 -0
  745. package/dist/sdk/models/shared/ticketingnote.d.ts +11 -0
  746. package/dist/sdk/models/shared/ticketingnote.js +84 -0
  747. package/dist/sdk/models/shared/ticketingtelephone.d.ts +12 -0
  748. package/dist/sdk/models/shared/ticketingtelephone.js +58 -0
  749. package/dist/sdk/models/shared/ticketingticket.d.ts +22 -0
  750. package/dist/sdk/models/shared/ticketingticket.js +132 -0
  751. package/dist/sdk/models/shared/uccall.d.ts +19 -0
  752. package/dist/sdk/models/shared/uccall.js +103 -0
  753. package/dist/sdk/models/shared/uccontact.d.ts +26 -0
  754. package/dist/sdk/models/shared/uccontact.js +100 -0
  755. package/dist/sdk/models/shared/ucemail.d.ts +10 -0
  756. package/dist/sdk/models/shared/ucemail.js +56 -0
  757. package/dist/sdk/models/shared/uctelephone.d.ts +12 -0
  758. package/dist/sdk/models/shared/uctelephone.js +58 -0
  759. package/dist/sdk/models/shared/webhook.d.ts +80 -0
  760. package/dist/sdk/models/shared/webhook.js +201 -0
  761. package/dist/sdk/note.d.ts +31 -0
  762. package/dist/sdk/note.js +461 -0
  763. package/dist/sdk/organization.d.ts +15 -0
  764. package/dist/sdk/organization.js +199 -0
  765. package/dist/sdk/passthrough.d.ts +27 -0
  766. package/dist/sdk/passthrough.js +402 -0
  767. package/dist/sdk/payment.d.ts +31 -0
  768. package/dist/sdk/payment.js +461 -0
  769. package/dist/sdk/payout.d.ts +15 -0
  770. package/dist/sdk/payout.js +199 -0
  771. package/dist/sdk/person.d.ts +11 -0
  772. package/dist/sdk/person.js +142 -0
  773. package/dist/sdk/pipeline.d.ts +31 -0
  774. package/dist/sdk/pipeline.js +461 -0
  775. package/dist/sdk/refund.d.ts +15 -0
  776. package/dist/sdk/refund.js +199 -0
  777. package/dist/sdk/scorecard.d.ts +31 -0
  778. package/dist/sdk/scorecard.js +461 -0
  779. package/dist/sdk/sdk.d.ts +156 -0
  780. package/dist/sdk/sdk.js +166 -0
  781. package/dist/sdk/storage.d.ts +31 -0
  782. package/dist/sdk/storage.js +461 -0
  783. package/dist/sdk/taxrate.d.ts +31 -0
  784. package/dist/sdk/taxrate.js +461 -0
  785. package/dist/sdk/ticket.d.ts +31 -0
  786. package/dist/sdk/ticket.js +461 -0
  787. package/dist/sdk/ticketing.d.ts +79 -0
  788. package/dist/sdk/ticketing.js +1177 -0
  789. package/dist/sdk/transaction.d.ts +31 -0
  790. package/dist/sdk/transaction.js +461 -0
  791. package/dist/sdk/types/index.d.ts +1 -0
  792. package/dist/sdk/types/index.js +20 -0
  793. package/dist/sdk/types/rfcdate.d.ts +9 -0
  794. package/dist/sdk/types/rfcdate.js +59 -0
  795. package/dist/sdk/uc.d.ts +35 -0
  796. package/dist/sdk/uc.js +518 -0
  797. package/dist/sdk/unified.d.ts +89 -0
  798. package/dist/sdk/unified.js +1136 -0
  799. package/dist/sdk/webhook.d.ts +34 -0
  800. package/dist/sdk/webhook.js +444 -0
  801. package/docs/sdk/models/operations/categories.md +19 -0
  802. package/docs/sdk/models/operations/createaccountingaccountrequest.md +9 -0
  803. package/docs/sdk/models/operations/createaccountingaccountresponse.md +11 -0
  804. package/docs/sdk/models/operations/createaccountingaccountsecurity.md +8 -0
  805. package/docs/sdk/models/operations/createaccountingcontactrequest.md +9 -0
  806. package/docs/sdk/models/operations/createaccountingcontactresponse.md +11 -0
  807. package/docs/sdk/models/operations/createaccountingcontactsecurity.md +8 -0
  808. package/docs/sdk/models/operations/createaccountinginvoicerequest.md +9 -0
  809. package/docs/sdk/models/operations/createaccountinginvoiceresponse.md +11 -0
  810. package/docs/sdk/models/operations/createaccountinginvoicesecurity.md +8 -0
  811. package/docs/sdk/models/operations/createaccountingpaymentrequest.md +9 -0
  812. package/docs/sdk/models/operations/createaccountingpaymentresponse.md +11 -0
  813. package/docs/sdk/models/operations/createaccountingpaymentsecurity.md +8 -0
  814. package/docs/sdk/models/operations/createaccountingtaxraterequest.md +9 -0
  815. package/docs/sdk/models/operations/createaccountingtaxrateresponse.md +11 -0
  816. package/docs/sdk/models/operations/createaccountingtaxratesecurity.md +8 -0
  817. package/docs/sdk/models/operations/createaccountingtransactionrequest.md +9 -0
  818. package/docs/sdk/models/operations/createaccountingtransactionresponse.md +11 -0
  819. package/docs/sdk/models/operations/createaccountingtransactionsecurity.md +8 -0
  820. package/docs/sdk/models/operations/createatsactivityrequest.md +9 -0
  821. package/docs/sdk/models/operations/createatsactivityresponse.md +11 -0
  822. package/docs/sdk/models/operations/createatsactivitysecurity.md +8 -0
  823. package/docs/sdk/models/operations/createatsapplicationrequest.md +9 -0
  824. package/docs/sdk/models/operations/createatsapplicationresponse.md +11 -0
  825. package/docs/sdk/models/operations/createatsapplicationsecurity.md +8 -0
  826. package/docs/sdk/models/operations/createatscandidaterequest.md +9 -0
  827. package/docs/sdk/models/operations/createatscandidateresponse.md +11 -0
  828. package/docs/sdk/models/operations/createatscandidatesecurity.md +8 -0
  829. package/docs/sdk/models/operations/createatsdocumentrequest.md +9 -0
  830. package/docs/sdk/models/operations/createatsdocumentresponse.md +11 -0
  831. package/docs/sdk/models/operations/createatsdocumentsecurity.md +8 -0
  832. package/docs/sdk/models/operations/createatsinterviewrequest.md +9 -0
  833. package/docs/sdk/models/operations/createatsinterviewresponse.md +11 -0
  834. package/docs/sdk/models/operations/createatsinterviewsecurity.md +8 -0
  835. package/docs/sdk/models/operations/createatsjobrequest.md +9 -0
  836. package/docs/sdk/models/operations/createatsjobresponse.md +11 -0
  837. package/docs/sdk/models/operations/createatsjobsecurity.md +8 -0
  838. package/docs/sdk/models/operations/createatsscorecardrequest.md +9 -0
  839. package/docs/sdk/models/operations/createatsscorecardresponse.md +11 -0
  840. package/docs/sdk/models/operations/createatsscorecardsecurity.md +8 -0
  841. package/docs/sdk/models/operations/createcommercecollectionrequest.md +9 -0
  842. package/docs/sdk/models/operations/createcommercecollectionresponse.md +11 -0
  843. package/docs/sdk/models/operations/createcommercecollectionsecurity.md +8 -0
  844. package/docs/sdk/models/operations/createcommerceinventoryrequest.md +9 -0
  845. package/docs/sdk/models/operations/createcommerceinventoryresponse.md +11 -0
  846. package/docs/sdk/models/operations/createcommerceinventorysecurity.md +8 -0
  847. package/docs/sdk/models/operations/createcommerceitemrequest.md +9 -0
  848. package/docs/sdk/models/operations/createcommerceitemresponse.md +11 -0
  849. package/docs/sdk/models/operations/createcommerceitemsecurity.md +8 -0
  850. package/docs/sdk/models/operations/createcommercelocationrequest.md +9 -0
  851. package/docs/sdk/models/operations/createcommercelocationresponse.md +11 -0
  852. package/docs/sdk/models/operations/createcommercelocationsecurity.md +8 -0
  853. package/docs/sdk/models/operations/createcrmcompanyrequest.md +9 -0
  854. package/docs/sdk/models/operations/createcrmcompanyresponse.md +11 -0
  855. package/docs/sdk/models/operations/createcrmcompanysecurity.md +8 -0
  856. package/docs/sdk/models/operations/createcrmcontactrequest.md +9 -0
  857. package/docs/sdk/models/operations/createcrmcontactresponse.md +11 -0
  858. package/docs/sdk/models/operations/createcrmcontactsecurity.md +8 -0
  859. package/docs/sdk/models/operations/createcrmdealrequest.md +9 -0
  860. package/docs/sdk/models/operations/createcrmdealresponse.md +11 -0
  861. package/docs/sdk/models/operations/createcrmdealsecurity.md +8 -0
  862. package/docs/sdk/models/operations/createcrmeventrequest.md +9 -0
  863. package/docs/sdk/models/operations/createcrmeventresponse.md +11 -0
  864. package/docs/sdk/models/operations/createcrmeventsecurity.md +8 -0
  865. package/docs/sdk/models/operations/createcrmleadrequest.md +9 -0
  866. package/docs/sdk/models/operations/createcrmleadresponse.md +11 -0
  867. package/docs/sdk/models/operations/createcrmleadsecurity.md +8 -0
  868. package/docs/sdk/models/operations/createcrmpipelinerequest.md +9 -0
  869. package/docs/sdk/models/operations/createcrmpipelineresponse.md +11 -0
  870. package/docs/sdk/models/operations/createcrmpipelinesecurity.md +8 -0
  871. package/docs/sdk/models/operations/createhrisemployeerequest.md +9 -0
  872. package/docs/sdk/models/operations/createhrisemployeeresponse.md +11 -0
  873. package/docs/sdk/models/operations/createhrisemployeesecurity.md +8 -0
  874. package/docs/sdk/models/operations/createhrisgrouprequest.md +9 -0
  875. package/docs/sdk/models/operations/createhrisgroupresponse.md +11 -0
  876. package/docs/sdk/models/operations/createhrisgroupsecurity.md +8 -0
  877. package/docs/sdk/models/operations/createmartechlistrequest.md +9 -0
  878. package/docs/sdk/models/operations/createmartechlistresponse.md +11 -0
  879. package/docs/sdk/models/operations/createmartechlistsecurity.md +8 -0
  880. package/docs/sdk/models/operations/createmartechmemberrequest.md +9 -0
  881. package/docs/sdk/models/operations/createmartechmemberresponse.md +11 -0
  882. package/docs/sdk/models/operations/createmartechmembersecurity.md +8 -0
  883. package/docs/sdk/models/operations/createpassthroughrequest.md +10 -0
  884. package/docs/sdk/models/operations/createpassthroughresponse.md +11 -0
  885. package/docs/sdk/models/operations/createpassthroughsecurity.md +8 -0
  886. package/docs/sdk/models/operations/createstoragefilerequest.md +9 -0
  887. package/docs/sdk/models/operations/createstoragefileresponse.md +11 -0
  888. package/docs/sdk/models/operations/createstoragefilesecurity.md +8 -0
  889. package/docs/sdk/models/operations/createticketingcustomerrequest.md +9 -0
  890. package/docs/sdk/models/operations/createticketingcustomerresponse.md +11 -0
  891. package/docs/sdk/models/operations/createticketingcustomersecurity.md +8 -0
  892. package/docs/sdk/models/operations/createticketingnoterequest.md +9 -0
  893. package/docs/sdk/models/operations/createticketingnoteresponse.md +11 -0
  894. package/docs/sdk/models/operations/createticketingnotesecurity.md +8 -0
  895. package/docs/sdk/models/operations/createticketingticketrequest.md +9 -0
  896. package/docs/sdk/models/operations/createticketingticketresponse.md +11 -0
  897. package/docs/sdk/models/operations/createticketingticketsecurity.md +8 -0
  898. package/docs/sdk/models/operations/createuccontactrequest.md +9 -0
  899. package/docs/sdk/models/operations/createuccontactresponse.md +11 -0
  900. package/docs/sdk/models/operations/createuccontactsecurity.md +8 -0
  901. package/docs/sdk/models/operations/createunifiedconnectionresponse.md +11 -0
  902. package/docs/sdk/models/operations/createunifiedconnectionsecurity.md +8 -0
  903. package/docs/sdk/models/operations/createunifiedwebhookrequest.md +9 -0
  904. package/docs/sdk/models/operations/createunifiedwebhookresponse.md +11 -0
  905. package/docs/sdk/models/operations/createunifiedwebhooksecurity.md +8 -0
  906. package/docs/sdk/models/operations/getaccountingaccountrequest.md +10 -0
  907. package/docs/sdk/models/operations/getaccountingaccountresponse.md +11 -0
  908. package/docs/sdk/models/operations/getaccountingaccountsecurity.md +8 -0
  909. package/docs/sdk/models/operations/getaccountingcontactrequest.md +10 -0
  910. package/docs/sdk/models/operations/getaccountingcontactresponse.md +11 -0
  911. package/docs/sdk/models/operations/getaccountingcontactsecurity.md +8 -0
  912. package/docs/sdk/models/operations/getaccountinginvoicerequest.md +10 -0
  913. package/docs/sdk/models/operations/getaccountinginvoiceresponse.md +11 -0
  914. package/docs/sdk/models/operations/getaccountinginvoicesecurity.md +8 -0
  915. package/docs/sdk/models/operations/getaccountingorganizationrequest.md +10 -0
  916. package/docs/sdk/models/operations/getaccountingorganizationresponse.md +11 -0
  917. package/docs/sdk/models/operations/getaccountingorganizationsecurity.md +8 -0
  918. package/docs/sdk/models/operations/getaccountingpaymentrequest.md +10 -0
  919. package/docs/sdk/models/operations/getaccountingpaymentresponse.md +11 -0
  920. package/docs/sdk/models/operations/getaccountingpaymentsecurity.md +8 -0
  921. package/docs/sdk/models/operations/getaccountingpayoutrequest.md +10 -0
  922. package/docs/sdk/models/operations/getaccountingpayoutresponse.md +11 -0
  923. package/docs/sdk/models/operations/getaccountingpayoutsecurity.md +8 -0
  924. package/docs/sdk/models/operations/getaccountingrefundrequest.md +10 -0
  925. package/docs/sdk/models/operations/getaccountingrefundresponse.md +11 -0
  926. package/docs/sdk/models/operations/getaccountingrefundsecurity.md +8 -0
  927. package/docs/sdk/models/operations/getaccountingtaxraterequest.md +10 -0
  928. package/docs/sdk/models/operations/getaccountingtaxrateresponse.md +11 -0
  929. package/docs/sdk/models/operations/getaccountingtaxratesecurity.md +8 -0
  930. package/docs/sdk/models/operations/getaccountingtransactionrequest.md +10 -0
  931. package/docs/sdk/models/operations/getaccountingtransactionresponse.md +11 -0
  932. package/docs/sdk/models/operations/getaccountingtransactionsecurity.md +8 -0
  933. package/docs/sdk/models/operations/getatsactivityrequest.md +10 -0
  934. package/docs/sdk/models/operations/getatsactivityresponse.md +11 -0
  935. package/docs/sdk/models/operations/getatsactivitysecurity.md +8 -0
  936. package/docs/sdk/models/operations/getatsapplicationrequest.md +10 -0
  937. package/docs/sdk/models/operations/getatsapplicationresponse.md +11 -0
  938. package/docs/sdk/models/operations/getatsapplicationsecurity.md +8 -0
  939. package/docs/sdk/models/operations/getatscandidaterequest.md +10 -0
  940. package/docs/sdk/models/operations/getatscandidateresponse.md +11 -0
  941. package/docs/sdk/models/operations/getatscandidatesecurity.md +8 -0
  942. package/docs/sdk/models/operations/getatscompanyrequest.md +10 -0
  943. package/docs/sdk/models/operations/getatscompanyresponse.md +11 -0
  944. package/docs/sdk/models/operations/getatscompanysecurity.md +8 -0
  945. package/docs/sdk/models/operations/getatsdocumentrequest.md +10 -0
  946. package/docs/sdk/models/operations/getatsdocumentresponse.md +11 -0
  947. package/docs/sdk/models/operations/getatsdocumentsecurity.md +8 -0
  948. package/docs/sdk/models/operations/getatsinterviewrequest.md +10 -0
  949. package/docs/sdk/models/operations/getatsinterviewresponse.md +11 -0
  950. package/docs/sdk/models/operations/getatsinterviewsecurity.md +8 -0
  951. package/docs/sdk/models/operations/getatsjobrequest.md +10 -0
  952. package/docs/sdk/models/operations/getatsjobresponse.md +11 -0
  953. package/docs/sdk/models/operations/getatsjobsecurity.md +8 -0
  954. package/docs/sdk/models/operations/getatsscorecardrequest.md +10 -0
  955. package/docs/sdk/models/operations/getatsscorecardresponse.md +11 -0
  956. package/docs/sdk/models/operations/getatsscorecardsecurity.md +8 -0
  957. package/docs/sdk/models/operations/getcommercecollectionrequest.md +10 -0
  958. package/docs/sdk/models/operations/getcommercecollectionresponse.md +11 -0
  959. package/docs/sdk/models/operations/getcommercecollectionsecurity.md +8 -0
  960. package/docs/sdk/models/operations/getcommerceinventoryrequest.md +10 -0
  961. package/docs/sdk/models/operations/getcommerceinventoryresponse.md +11 -0
  962. package/docs/sdk/models/operations/getcommerceinventorysecurity.md +8 -0
  963. package/docs/sdk/models/operations/getcommerceitemrequest.md +10 -0
  964. package/docs/sdk/models/operations/getcommerceitemresponse.md +11 -0
  965. package/docs/sdk/models/operations/getcommerceitemsecurity.md +8 -0
  966. package/docs/sdk/models/operations/getcommercelocationrequest.md +10 -0
  967. package/docs/sdk/models/operations/getcommercelocationresponse.md +11 -0
  968. package/docs/sdk/models/operations/getcommercelocationsecurity.md +8 -0
  969. package/docs/sdk/models/operations/getcrmcompanyrequest.md +10 -0
  970. package/docs/sdk/models/operations/getcrmcompanyresponse.md +11 -0
  971. package/docs/sdk/models/operations/getcrmcompanysecurity.md +8 -0
  972. package/docs/sdk/models/operations/getcrmcontactrequest.md +10 -0
  973. package/docs/sdk/models/operations/getcrmcontactresponse.md +11 -0
  974. package/docs/sdk/models/operations/getcrmcontactsecurity.md +8 -0
  975. package/docs/sdk/models/operations/getcrmdealrequest.md +10 -0
  976. package/docs/sdk/models/operations/getcrmdealresponse.md +11 -0
  977. package/docs/sdk/models/operations/getcrmdealsecurity.md +8 -0
  978. package/docs/sdk/models/operations/getcrmeventrequest.md +10 -0
  979. package/docs/sdk/models/operations/getcrmeventresponse.md +11 -0
  980. package/docs/sdk/models/operations/getcrmeventsecurity.md +8 -0
  981. package/docs/sdk/models/operations/getcrmleadrequest.md +10 -0
  982. package/docs/sdk/models/operations/getcrmleadresponse.md +11 -0
  983. package/docs/sdk/models/operations/getcrmleadsecurity.md +8 -0
  984. package/docs/sdk/models/operations/getcrmpipelinerequest.md +10 -0
  985. package/docs/sdk/models/operations/getcrmpipelineresponse.md +11 -0
  986. package/docs/sdk/models/operations/getcrmpipelinesecurity.md +8 -0
  987. package/docs/sdk/models/operations/gethrisemployeerequest.md +10 -0
  988. package/docs/sdk/models/operations/gethrisemployeeresponse.md +11 -0
  989. package/docs/sdk/models/operations/gethrisemployeesecurity.md +8 -0
  990. package/docs/sdk/models/operations/gethrisgrouprequest.md +10 -0
  991. package/docs/sdk/models/operations/gethrisgroupresponse.md +11 -0
  992. package/docs/sdk/models/operations/gethrisgroupsecurity.md +8 -0
  993. package/docs/sdk/models/operations/getmartechlistrequest.md +10 -0
  994. package/docs/sdk/models/operations/getmartechlistresponse.md +11 -0
  995. package/docs/sdk/models/operations/getmartechlistsecurity.md +8 -0
  996. package/docs/sdk/models/operations/getmartechmemberrequest.md +10 -0
  997. package/docs/sdk/models/operations/getmartechmemberresponse.md +11 -0
  998. package/docs/sdk/models/operations/getmartechmembersecurity.md +8 -0
  999. package/docs/sdk/models/operations/getstoragefilerequest.md +10 -0
  1000. package/docs/sdk/models/operations/getstoragefileresponse.md +11 -0
  1001. package/docs/sdk/models/operations/getstoragefilesecurity.md +8 -0
  1002. package/docs/sdk/models/operations/getticketingcustomerrequest.md +10 -0
  1003. package/docs/sdk/models/operations/getticketingcustomerresponse.md +11 -0
  1004. package/docs/sdk/models/operations/getticketingcustomersecurity.md +8 -0
  1005. package/docs/sdk/models/operations/getticketingnoterequest.md +10 -0
  1006. package/docs/sdk/models/operations/getticketingnoteresponse.md +11 -0
  1007. package/docs/sdk/models/operations/getticketingnotesecurity.md +8 -0
  1008. package/docs/sdk/models/operations/getticketingticketrequest.md +10 -0
  1009. package/docs/sdk/models/operations/getticketingticketresponse.md +11 -0
  1010. package/docs/sdk/models/operations/getticketingticketsecurity.md +8 -0
  1011. package/docs/sdk/models/operations/getuccontactrequest.md +10 -0
  1012. package/docs/sdk/models/operations/getuccontactresponse.md +11 -0
  1013. package/docs/sdk/models/operations/getuccontactsecurity.md +8 -0
  1014. package/docs/sdk/models/operations/getunifiedapicallrequest.md +8 -0
  1015. package/docs/sdk/models/operations/getunifiedapicallresponse.md +11 -0
  1016. package/docs/sdk/models/operations/getunifiedapicallsecurity.md +8 -0
  1017. package/docs/sdk/models/operations/getunifiedconnectionrequest.md +8 -0
  1018. package/docs/sdk/models/operations/getunifiedconnectionresponse.md +11 -0
  1019. package/docs/sdk/models/operations/getunifiedconnectionsecurity.md +8 -0
  1020. package/docs/sdk/models/operations/getunifiedintegrationauthrequest.md +18 -0
  1021. package/docs/sdk/models/operations/getunifiedintegrationauthresponse.md +11 -0
  1022. package/docs/sdk/models/operations/getunifiedintegrationloginrequest.md +14 -0
  1023. package/docs/sdk/models/operations/getunifiedintegrationloginresponse.md +11 -0
  1024. package/docs/sdk/models/operations/getunifiedwebhookrequest.md +8 -0
  1025. package/docs/sdk/models/operations/getunifiedwebhookresponse.md +11 -0
  1026. package/docs/sdk/models/operations/getunifiedwebhooksecurity.md +8 -0
  1027. package/docs/sdk/models/operations/listaccountingaccountsrequest.md +15 -0
  1028. package/docs/sdk/models/operations/listaccountingaccountsresponse.md +11 -0
  1029. package/docs/sdk/models/operations/listaccountingaccountssecurity.md +8 -0
  1030. package/docs/sdk/models/operations/listaccountingcontactsrequest.md +16 -0
  1031. package/docs/sdk/models/operations/listaccountingcontactsresponse.md +11 -0
  1032. package/docs/sdk/models/operations/listaccountingcontactssecurity.md +8 -0
  1033. package/docs/sdk/models/operations/listaccountinginvoicesrequest.md +16 -0
  1034. package/docs/sdk/models/operations/listaccountinginvoicesresponse.md +11 -0
  1035. package/docs/sdk/models/operations/listaccountinginvoicessecurity.md +8 -0
  1036. package/docs/sdk/models/operations/listaccountingorganizationsrequest.md +15 -0
  1037. package/docs/sdk/models/operations/listaccountingorganizationsresponse.md +11 -0
  1038. package/docs/sdk/models/operations/listaccountingorganizationssecurity.md +8 -0
  1039. package/docs/sdk/models/operations/listaccountingpaymentsrequest.md +17 -0
  1040. package/docs/sdk/models/operations/listaccountingpaymentsresponse.md +11 -0
  1041. package/docs/sdk/models/operations/listaccountingpaymentssecurity.md +8 -0
  1042. package/docs/sdk/models/operations/listaccountingpayoutsrequest.md +15 -0
  1043. package/docs/sdk/models/operations/listaccountingpayoutsresponse.md +11 -0
  1044. package/docs/sdk/models/operations/listaccountingpayoutssecurity.md +8 -0
  1045. package/docs/sdk/models/operations/listaccountingrefundsrequest.md +16 -0
  1046. package/docs/sdk/models/operations/listaccountingrefundsresponse.md +11 -0
  1047. package/docs/sdk/models/operations/listaccountingrefundssecurity.md +8 -0
  1048. package/docs/sdk/models/operations/listaccountingtaxratesrequest.md +15 -0
  1049. package/docs/sdk/models/operations/listaccountingtaxratesresponse.md +11 -0
  1050. package/docs/sdk/models/operations/listaccountingtaxratessecurity.md +8 -0
  1051. package/docs/sdk/models/operations/listaccountingtransactionsrequest.md +15 -0
  1052. package/docs/sdk/models/operations/listaccountingtransactionsresponse.md +11 -0
  1053. package/docs/sdk/models/operations/listaccountingtransactionssecurity.md +8 -0
  1054. package/docs/sdk/models/operations/listatsactivitiesrequest.md +21 -0
  1055. package/docs/sdk/models/operations/listatsactivitiesresponse.md +11 -0
  1056. package/docs/sdk/models/operations/listatsactivitiessecurity.md +8 -0
  1057. package/docs/sdk/models/operations/listatsapplicationsrequest.md +17 -0
  1058. package/docs/sdk/models/operations/listatsapplicationsresponse.md +11 -0
  1059. package/docs/sdk/models/operations/listatsapplicationssecurity.md +8 -0
  1060. package/docs/sdk/models/operations/listatsapplicationstatusesrequest.md +15 -0
  1061. package/docs/sdk/models/operations/listatsapplicationstatusesresponse.md +11 -0
  1062. package/docs/sdk/models/operations/listatsapplicationstatusessecurity.md +8 -0
  1063. package/docs/sdk/models/operations/listatscandidatesrequest.md +15 -0
  1064. package/docs/sdk/models/operations/listatscandidatesresponse.md +11 -0
  1065. package/docs/sdk/models/operations/listatscandidatessecurity.md +8 -0
  1066. package/docs/sdk/models/operations/listatscompaniesrequest.md +15 -0
  1067. package/docs/sdk/models/operations/listatscompaniesresponse.md +11 -0
  1068. package/docs/sdk/models/operations/listatscompaniessecurity.md +8 -0
  1069. package/docs/sdk/models/operations/listatsdocumentsrequest.md +16 -0
  1070. package/docs/sdk/models/operations/listatsdocumentsresponse.md +11 -0
  1071. package/docs/sdk/models/operations/listatsdocumentssecurity.md +8 -0
  1072. package/docs/sdk/models/operations/listatsinterviewsrequest.md +16 -0
  1073. package/docs/sdk/models/operations/listatsinterviewsresponse.md +11 -0
  1074. package/docs/sdk/models/operations/listatsinterviewssecurity.md +8 -0
  1075. package/docs/sdk/models/operations/listatsjobsrequest.md +15 -0
  1076. package/docs/sdk/models/operations/listatsjobsresponse.md +11 -0
  1077. package/docs/sdk/models/operations/listatsjobssecurity.md +8 -0
  1078. package/docs/sdk/models/operations/listatsscorecardsrequest.md +19 -0
  1079. package/docs/sdk/models/operations/listatsscorecardsresponse.md +11 -0
  1080. package/docs/sdk/models/operations/listatsscorecardssecurity.md +8 -0
  1081. package/docs/sdk/models/operations/listcommercecollectionsrequest.md +15 -0
  1082. package/docs/sdk/models/operations/listcommercecollectionsresponse.md +11 -0
  1083. package/docs/sdk/models/operations/listcommercecollectionssecurity.md +8 -0
  1084. package/docs/sdk/models/operations/listcommerceinventoriesrequest.md +17 -0
  1085. package/docs/sdk/models/operations/listcommerceinventoriesresponse.md +11 -0
  1086. package/docs/sdk/models/operations/listcommerceinventoriessecurity.md +8 -0
  1087. package/docs/sdk/models/operations/listcommerceitemsrequest.md +15 -0
  1088. package/docs/sdk/models/operations/listcommerceitemsresponse.md +11 -0
  1089. package/docs/sdk/models/operations/listcommerceitemssecurity.md +8 -0
  1090. package/docs/sdk/models/operations/listcommercelocationsrequest.md +15 -0
  1091. package/docs/sdk/models/operations/listcommercelocationsresponse.md +11 -0
  1092. package/docs/sdk/models/operations/listcommercelocationssecurity.md +8 -0
  1093. package/docs/sdk/models/operations/listcrmcompaniesrequest.md +18 -0
  1094. package/docs/sdk/models/operations/listcrmcompaniesresponse.md +11 -0
  1095. package/docs/sdk/models/operations/listcrmcompaniessecurity.md +8 -0
  1096. package/docs/sdk/models/operations/listcrmcontactsrequest.md +18 -0
  1097. package/docs/sdk/models/operations/listcrmcontactsresponse.md +11 -0
  1098. package/docs/sdk/models/operations/listcrmcontactssecurity.md +8 -0
  1099. package/docs/sdk/models/operations/listcrmdealsrequest.md +18 -0
  1100. package/docs/sdk/models/operations/listcrmdealsresponse.md +11 -0
  1101. package/docs/sdk/models/operations/listcrmdealssecurity.md +8 -0
  1102. package/docs/sdk/models/operations/listcrmeventsrequest.md +20 -0
  1103. package/docs/sdk/models/operations/listcrmeventsresponse.md +11 -0
  1104. package/docs/sdk/models/operations/listcrmeventssecurity.md +8 -0
  1105. package/docs/sdk/models/operations/listcrmleadsrequest.md +18 -0
  1106. package/docs/sdk/models/operations/listcrmleadsresponse.md +11 -0
  1107. package/docs/sdk/models/operations/listcrmleadssecurity.md +8 -0
  1108. package/docs/sdk/models/operations/listcrmpipelinesrequest.md +15 -0
  1109. package/docs/sdk/models/operations/listcrmpipelinesresponse.md +11 -0
  1110. package/docs/sdk/models/operations/listcrmpipelinessecurity.md +8 -0
  1111. package/docs/sdk/models/operations/listenrichcompaniesrequest.md +10 -0
  1112. package/docs/sdk/models/operations/listenrichcompaniesresponse.md +11 -0
  1113. package/docs/sdk/models/operations/listenrichcompaniessecurity.md +8 -0
  1114. package/docs/sdk/models/operations/listenrichpeoplerequest.md +12 -0
  1115. package/docs/sdk/models/operations/listenrichpeopleresponse.md +11 -0
  1116. package/docs/sdk/models/operations/listenrichpeoplesecurity.md +8 -0
  1117. package/docs/sdk/models/operations/listhrisemployeesrequest.md +15 -0
  1118. package/docs/sdk/models/operations/listhrisemployeesresponse.md +11 -0
  1119. package/docs/sdk/models/operations/listhrisemployeessecurity.md +8 -0
  1120. package/docs/sdk/models/operations/listhrisgroupsrequest.md +15 -0
  1121. package/docs/sdk/models/operations/listhrisgroupsresponse.md +11 -0
  1122. package/docs/sdk/models/operations/listhrisgroupssecurity.md +8 -0
  1123. package/docs/sdk/models/operations/listmartechlistsrequest.md +15 -0
  1124. package/docs/sdk/models/operations/listmartechlistsresponse.md +11 -0
  1125. package/docs/sdk/models/operations/listmartechlistssecurity.md +8 -0
  1126. package/docs/sdk/models/operations/listmartechmembersrequest.md +16 -0
  1127. package/docs/sdk/models/operations/listmartechmembersresponse.md +11 -0
  1128. package/docs/sdk/models/operations/listmartechmemberssecurity.md +8 -0
  1129. package/docs/sdk/models/operations/listpassthroughsrequest.md +9 -0
  1130. package/docs/sdk/models/operations/listpassthroughsresponse.md +11 -0
  1131. package/docs/sdk/models/operations/listpassthroughssecurity.md +8 -0
  1132. package/docs/sdk/models/operations/liststoragefilesrequest.md +16 -0
  1133. package/docs/sdk/models/operations/liststoragefilesresponse.md +11 -0
  1134. package/docs/sdk/models/operations/liststoragefilessecurity.md +8 -0
  1135. package/docs/sdk/models/operations/listticketingcustomersrequest.md +15 -0
  1136. package/docs/sdk/models/operations/listticketingcustomersresponse.md +11 -0
  1137. package/docs/sdk/models/operations/listticketingcustomerssecurity.md +8 -0
  1138. package/docs/sdk/models/operations/listticketingnotesrequest.md +16 -0
  1139. package/docs/sdk/models/operations/listticketingnotesresponse.md +11 -0
  1140. package/docs/sdk/models/operations/listticketingnotessecurity.md +8 -0
  1141. package/docs/sdk/models/operations/listticketingticketsrequest.md +17 -0
  1142. package/docs/sdk/models/operations/listticketingticketsresponse.md +11 -0
  1143. package/docs/sdk/models/operations/listticketingticketssecurity.md +8 -0
  1144. package/docs/sdk/models/operations/listuccallsrequest.md +17 -0
  1145. package/docs/sdk/models/operations/listuccallsresponse.md +11 -0
  1146. package/docs/sdk/models/operations/listuccallssecurity.md +8 -0
  1147. package/docs/sdk/models/operations/listuccontactsrequest.md +16 -0
  1148. package/docs/sdk/models/operations/listuccontactsresponse.md +11 -0
  1149. package/docs/sdk/models/operations/listuccontactssecurity.md +8 -0
  1150. package/docs/sdk/models/operations/listunifiedapicallsrequest.md +18 -0
  1151. package/docs/sdk/models/operations/listunifiedapicallsresponse.md +11 -0
  1152. package/docs/sdk/models/operations/listunifiedapicallssecurity.md +8 -0
  1153. package/docs/sdk/models/operations/listunifiedconnectionsrequest.md +15 -0
  1154. package/docs/sdk/models/operations/listunifiedconnectionsresponse.md +11 -0
  1155. package/docs/sdk/models/operations/listunifiedconnectionssecurity.md +8 -0
  1156. package/docs/sdk/models/operations/listunifiedintegrationsqueryparamcategories.md +19 -0
  1157. package/docs/sdk/models/operations/listunifiedintegrationsrequest.md +17 -0
  1158. package/docs/sdk/models/operations/listunifiedintegrationsresponse.md +11 -0
  1159. package/docs/sdk/models/operations/listunifiedintegrationssecurity.md +8 -0
  1160. package/docs/sdk/models/operations/listunifiedintegrationworkspacesrequest.md +15 -0
  1161. package/docs/sdk/models/operations/listunifiedintegrationworkspacesresponse.md +11 -0
  1162. package/docs/sdk/models/operations/listunifiedissuesrequest.md +12 -0
  1163. package/docs/sdk/models/operations/listunifiedissuesresponse.md +11 -0
  1164. package/docs/sdk/models/operations/listunifiedissuessecurity.md +8 -0
  1165. package/docs/sdk/models/operations/listunifiedwebhooksrequest.md +14 -0
  1166. package/docs/sdk/models/operations/listunifiedwebhooksresponse.md +11 -0
  1167. package/docs/sdk/models/operations/listunifiedwebhookssecurity.md +8 -0
  1168. package/docs/sdk/models/operations/patchaccountingaccountrequest.md +10 -0
  1169. package/docs/sdk/models/operations/patchaccountingaccountresponse.md +11 -0
  1170. package/docs/sdk/models/operations/patchaccountingaccountsecurity.md +8 -0
  1171. package/docs/sdk/models/operations/patchaccountingcontactrequest.md +10 -0
  1172. package/docs/sdk/models/operations/patchaccountingcontactresponse.md +11 -0
  1173. package/docs/sdk/models/operations/patchaccountingcontactsecurity.md +8 -0
  1174. package/docs/sdk/models/operations/patchaccountinginvoicerequest.md +10 -0
  1175. package/docs/sdk/models/operations/patchaccountinginvoiceresponse.md +11 -0
  1176. package/docs/sdk/models/operations/patchaccountinginvoicesecurity.md +8 -0
  1177. package/docs/sdk/models/operations/patchaccountingpaymentrequest.md +10 -0
  1178. package/docs/sdk/models/operations/patchaccountingpaymentresponse.md +11 -0
  1179. package/docs/sdk/models/operations/patchaccountingpaymentsecurity.md +8 -0
  1180. package/docs/sdk/models/operations/patchaccountingtaxraterequest.md +10 -0
  1181. package/docs/sdk/models/operations/patchaccountingtaxrateresponse.md +11 -0
  1182. package/docs/sdk/models/operations/patchaccountingtaxratesecurity.md +8 -0
  1183. package/docs/sdk/models/operations/patchaccountingtransactionrequest.md +10 -0
  1184. package/docs/sdk/models/operations/patchaccountingtransactionresponse.md +11 -0
  1185. package/docs/sdk/models/operations/patchaccountingtransactionsecurity.md +8 -0
  1186. package/docs/sdk/models/operations/patchatsactivityrequest.md +10 -0
  1187. package/docs/sdk/models/operations/patchatsactivityresponse.md +11 -0
  1188. package/docs/sdk/models/operations/patchatsactivitysecurity.md +8 -0
  1189. package/docs/sdk/models/operations/patchatsapplicationrequest.md +10 -0
  1190. package/docs/sdk/models/operations/patchatsapplicationresponse.md +11 -0
  1191. package/docs/sdk/models/operations/patchatsapplicationsecurity.md +8 -0
  1192. package/docs/sdk/models/operations/patchatscandidaterequest.md +10 -0
  1193. package/docs/sdk/models/operations/patchatscandidateresponse.md +11 -0
  1194. package/docs/sdk/models/operations/patchatscandidatesecurity.md +8 -0
  1195. package/docs/sdk/models/operations/patchatsdocumentrequest.md +10 -0
  1196. package/docs/sdk/models/operations/patchatsdocumentresponse.md +11 -0
  1197. package/docs/sdk/models/operations/patchatsdocumentsecurity.md +8 -0
  1198. package/docs/sdk/models/operations/patchatsinterviewrequest.md +10 -0
  1199. package/docs/sdk/models/operations/patchatsinterviewresponse.md +11 -0
  1200. package/docs/sdk/models/operations/patchatsinterviewsecurity.md +8 -0
  1201. package/docs/sdk/models/operations/patchatsjobrequest.md +10 -0
  1202. package/docs/sdk/models/operations/patchatsjobresponse.md +11 -0
  1203. package/docs/sdk/models/operations/patchatsjobsecurity.md +8 -0
  1204. package/docs/sdk/models/operations/patchatsscorecardrequest.md +10 -0
  1205. package/docs/sdk/models/operations/patchatsscorecardresponse.md +11 -0
  1206. package/docs/sdk/models/operations/patchatsscorecardsecurity.md +8 -0
  1207. package/docs/sdk/models/operations/patchcommercecollectionrequest.md +10 -0
  1208. package/docs/sdk/models/operations/patchcommercecollectionresponse.md +11 -0
  1209. package/docs/sdk/models/operations/patchcommercecollectionsecurity.md +8 -0
  1210. package/docs/sdk/models/operations/patchcommerceinventoryrequest.md +10 -0
  1211. package/docs/sdk/models/operations/patchcommerceinventoryresponse.md +11 -0
  1212. package/docs/sdk/models/operations/patchcommerceinventorysecurity.md +8 -0
  1213. package/docs/sdk/models/operations/patchcommerceitemrequest.md +10 -0
  1214. package/docs/sdk/models/operations/patchcommerceitemresponse.md +11 -0
  1215. package/docs/sdk/models/operations/patchcommerceitemsecurity.md +8 -0
  1216. package/docs/sdk/models/operations/patchcommercelocationrequest.md +10 -0
  1217. package/docs/sdk/models/operations/patchcommercelocationresponse.md +11 -0
  1218. package/docs/sdk/models/operations/patchcommercelocationsecurity.md +8 -0
  1219. package/docs/sdk/models/operations/patchcrmcompanyrequest.md +10 -0
  1220. package/docs/sdk/models/operations/patchcrmcompanyresponse.md +11 -0
  1221. package/docs/sdk/models/operations/patchcrmcompanysecurity.md +8 -0
  1222. package/docs/sdk/models/operations/patchcrmcontactrequest.md +10 -0
  1223. package/docs/sdk/models/operations/patchcrmcontactresponse.md +11 -0
  1224. package/docs/sdk/models/operations/patchcrmcontactsecurity.md +8 -0
  1225. package/docs/sdk/models/operations/patchcrmdealrequest.md +10 -0
  1226. package/docs/sdk/models/operations/patchcrmdealresponse.md +11 -0
  1227. package/docs/sdk/models/operations/patchcrmdealsecurity.md +8 -0
  1228. package/docs/sdk/models/operations/patchcrmeventrequest.md +10 -0
  1229. package/docs/sdk/models/operations/patchcrmeventresponse.md +11 -0
  1230. package/docs/sdk/models/operations/patchcrmeventsecurity.md +8 -0
  1231. package/docs/sdk/models/operations/patchcrmleadrequest.md +10 -0
  1232. package/docs/sdk/models/operations/patchcrmleadresponse.md +11 -0
  1233. package/docs/sdk/models/operations/patchcrmleadsecurity.md +8 -0
  1234. package/docs/sdk/models/operations/patchcrmpipelinerequest.md +10 -0
  1235. package/docs/sdk/models/operations/patchcrmpipelineresponse.md +11 -0
  1236. package/docs/sdk/models/operations/patchcrmpipelinesecurity.md +8 -0
  1237. package/docs/sdk/models/operations/patchhrisemployeerequest.md +10 -0
  1238. package/docs/sdk/models/operations/patchhrisemployeeresponse.md +11 -0
  1239. package/docs/sdk/models/operations/patchhrisemployeesecurity.md +8 -0
  1240. package/docs/sdk/models/operations/patchhrisgrouprequest.md +10 -0
  1241. package/docs/sdk/models/operations/patchhrisgroupresponse.md +11 -0
  1242. package/docs/sdk/models/operations/patchhrisgroupsecurity.md +8 -0
  1243. package/docs/sdk/models/operations/patchmartechlistrequest.md +10 -0
  1244. package/docs/sdk/models/operations/patchmartechlistresponse.md +11 -0
  1245. package/docs/sdk/models/operations/patchmartechlistsecurity.md +8 -0
  1246. package/docs/sdk/models/operations/patchmartechmemberrequest.md +10 -0
  1247. package/docs/sdk/models/operations/patchmartechmemberresponse.md +11 -0
  1248. package/docs/sdk/models/operations/patchmartechmembersecurity.md +8 -0
  1249. package/docs/sdk/models/operations/patchpassthroughrequest.md +10 -0
  1250. package/docs/sdk/models/operations/patchpassthroughresponse.md +11 -0
  1251. package/docs/sdk/models/operations/patchpassthroughsecurity.md +8 -0
  1252. package/docs/sdk/models/operations/patchstoragefilerequest.md +10 -0
  1253. package/docs/sdk/models/operations/patchstoragefileresponse.md +11 -0
  1254. package/docs/sdk/models/operations/patchstoragefilesecurity.md +8 -0
  1255. package/docs/sdk/models/operations/patchticketingcustomerrequest.md +10 -0
  1256. package/docs/sdk/models/operations/patchticketingcustomerresponse.md +11 -0
  1257. package/docs/sdk/models/operations/patchticketingcustomersecurity.md +8 -0
  1258. package/docs/sdk/models/operations/patchticketingnoterequest.md +10 -0
  1259. package/docs/sdk/models/operations/patchticketingnoteresponse.md +11 -0
  1260. package/docs/sdk/models/operations/patchticketingnotesecurity.md +8 -0
  1261. package/docs/sdk/models/operations/patchticketingticketrequest.md +10 -0
  1262. package/docs/sdk/models/operations/patchticketingticketresponse.md +11 -0
  1263. package/docs/sdk/models/operations/patchticketingticketsecurity.md +8 -0
  1264. package/docs/sdk/models/operations/patchuccontactrequest.md +10 -0
  1265. package/docs/sdk/models/operations/patchuccontactresponse.md +11 -0
  1266. package/docs/sdk/models/operations/patchuccontactsecurity.md +8 -0
  1267. package/docs/sdk/models/operations/patchunifiedconnectionrequest.md +9 -0
  1268. package/docs/sdk/models/operations/patchunifiedconnectionresponse.md +11 -0
  1269. package/docs/sdk/models/operations/patchunifiedconnectionsecurity.md +8 -0
  1270. package/docs/sdk/models/operations/patchunifiedwebhooktriggerrequest.md +8 -0
  1271. package/docs/sdk/models/operations/patchunifiedwebhooktriggerresponse.md +11 -0
  1272. package/docs/sdk/models/operations/patchunifiedwebhooktriggersecurity.md +8 -0
  1273. package/docs/sdk/models/operations/queryparamcategories.md +19 -0
  1274. package/docs/sdk/models/operations/removeaccountingaccountrequest.md +9 -0
  1275. package/docs/sdk/models/operations/removeaccountingaccountresponse.md +11 -0
  1276. package/docs/sdk/models/operations/removeaccountingaccountsecurity.md +8 -0
  1277. package/docs/sdk/models/operations/removeaccountingcontactrequest.md +9 -0
  1278. package/docs/sdk/models/operations/removeaccountingcontactresponse.md +11 -0
  1279. package/docs/sdk/models/operations/removeaccountingcontactsecurity.md +8 -0
  1280. package/docs/sdk/models/operations/removeaccountinginvoicerequest.md +9 -0
  1281. package/docs/sdk/models/operations/removeaccountinginvoiceresponse.md +11 -0
  1282. package/docs/sdk/models/operations/removeaccountinginvoicesecurity.md +8 -0
  1283. package/docs/sdk/models/operations/removeaccountingpaymentrequest.md +9 -0
  1284. package/docs/sdk/models/operations/removeaccountingpaymentresponse.md +11 -0
  1285. package/docs/sdk/models/operations/removeaccountingpaymentsecurity.md +8 -0
  1286. package/docs/sdk/models/operations/removeaccountingtaxraterequest.md +9 -0
  1287. package/docs/sdk/models/operations/removeaccountingtaxrateresponse.md +11 -0
  1288. package/docs/sdk/models/operations/removeaccountingtaxratesecurity.md +8 -0
  1289. package/docs/sdk/models/operations/removeaccountingtransactionrequest.md +9 -0
  1290. package/docs/sdk/models/operations/removeaccountingtransactionresponse.md +11 -0
  1291. package/docs/sdk/models/operations/removeaccountingtransactionsecurity.md +8 -0
  1292. package/docs/sdk/models/operations/removeatsactivityrequest.md +9 -0
  1293. package/docs/sdk/models/operations/removeatsactivityresponse.md +11 -0
  1294. package/docs/sdk/models/operations/removeatsactivitysecurity.md +8 -0
  1295. package/docs/sdk/models/operations/removeatsapplicationrequest.md +9 -0
  1296. package/docs/sdk/models/operations/removeatsapplicationresponse.md +11 -0
  1297. package/docs/sdk/models/operations/removeatsapplicationsecurity.md +8 -0
  1298. package/docs/sdk/models/operations/removeatscandidaterequest.md +9 -0
  1299. package/docs/sdk/models/operations/removeatscandidateresponse.md +11 -0
  1300. package/docs/sdk/models/operations/removeatscandidatesecurity.md +8 -0
  1301. package/docs/sdk/models/operations/removeatsdocumentrequest.md +9 -0
  1302. package/docs/sdk/models/operations/removeatsdocumentresponse.md +11 -0
  1303. package/docs/sdk/models/operations/removeatsdocumentsecurity.md +8 -0
  1304. package/docs/sdk/models/operations/removeatsinterviewrequest.md +9 -0
  1305. package/docs/sdk/models/operations/removeatsinterviewresponse.md +11 -0
  1306. package/docs/sdk/models/operations/removeatsinterviewsecurity.md +8 -0
  1307. package/docs/sdk/models/operations/removeatsjobrequest.md +9 -0
  1308. package/docs/sdk/models/operations/removeatsjobresponse.md +11 -0
  1309. package/docs/sdk/models/operations/removeatsjobsecurity.md +8 -0
  1310. package/docs/sdk/models/operations/removeatsscorecardrequest.md +9 -0
  1311. package/docs/sdk/models/operations/removeatsscorecardresponse.md +11 -0
  1312. package/docs/sdk/models/operations/removeatsscorecardsecurity.md +8 -0
  1313. package/docs/sdk/models/operations/removecommercecollectionrequest.md +9 -0
  1314. package/docs/sdk/models/operations/removecommercecollectionresponse.md +11 -0
  1315. package/docs/sdk/models/operations/removecommercecollectionsecurity.md +8 -0
  1316. package/docs/sdk/models/operations/removecommerceinventoryrequest.md +9 -0
  1317. package/docs/sdk/models/operations/removecommerceinventoryresponse.md +11 -0
  1318. package/docs/sdk/models/operations/removecommerceinventorysecurity.md +8 -0
  1319. package/docs/sdk/models/operations/removecommerceitemrequest.md +9 -0
  1320. package/docs/sdk/models/operations/removecommerceitemresponse.md +11 -0
  1321. package/docs/sdk/models/operations/removecommerceitemsecurity.md +8 -0
  1322. package/docs/sdk/models/operations/removecommercelocationrequest.md +9 -0
  1323. package/docs/sdk/models/operations/removecommercelocationresponse.md +11 -0
  1324. package/docs/sdk/models/operations/removecommercelocationsecurity.md +8 -0
  1325. package/docs/sdk/models/operations/removecrmcompanyrequest.md +9 -0
  1326. package/docs/sdk/models/operations/removecrmcompanyresponse.md +11 -0
  1327. package/docs/sdk/models/operations/removecrmcompanysecurity.md +8 -0
  1328. package/docs/sdk/models/operations/removecrmcontactrequest.md +9 -0
  1329. package/docs/sdk/models/operations/removecrmcontactresponse.md +11 -0
  1330. package/docs/sdk/models/operations/removecrmcontactsecurity.md +8 -0
  1331. package/docs/sdk/models/operations/removecrmdealrequest.md +9 -0
  1332. package/docs/sdk/models/operations/removecrmdealresponse.md +11 -0
  1333. package/docs/sdk/models/operations/removecrmdealsecurity.md +8 -0
  1334. package/docs/sdk/models/operations/removecrmeventrequest.md +9 -0
  1335. package/docs/sdk/models/operations/removecrmeventresponse.md +11 -0
  1336. package/docs/sdk/models/operations/removecrmeventsecurity.md +8 -0
  1337. package/docs/sdk/models/operations/removecrmleadrequest.md +9 -0
  1338. package/docs/sdk/models/operations/removecrmleadresponse.md +11 -0
  1339. package/docs/sdk/models/operations/removecrmleadsecurity.md +8 -0
  1340. package/docs/sdk/models/operations/removecrmpipelinerequest.md +9 -0
  1341. package/docs/sdk/models/operations/removecrmpipelineresponse.md +11 -0
  1342. package/docs/sdk/models/operations/removecrmpipelinesecurity.md +8 -0
  1343. package/docs/sdk/models/operations/removehrisemployeerequest.md +9 -0
  1344. package/docs/sdk/models/operations/removehrisemployeeresponse.md +11 -0
  1345. package/docs/sdk/models/operations/removehrisemployeesecurity.md +8 -0
  1346. package/docs/sdk/models/operations/removehrisgrouprequest.md +9 -0
  1347. package/docs/sdk/models/operations/removehrisgroupresponse.md +11 -0
  1348. package/docs/sdk/models/operations/removehrisgroupsecurity.md +8 -0
  1349. package/docs/sdk/models/operations/removemartechlistrequest.md +9 -0
  1350. package/docs/sdk/models/operations/removemartechlistresponse.md +11 -0
  1351. package/docs/sdk/models/operations/removemartechlistsecurity.md +8 -0
  1352. package/docs/sdk/models/operations/removemartechmemberrequest.md +9 -0
  1353. package/docs/sdk/models/operations/removemartechmemberresponse.md +11 -0
  1354. package/docs/sdk/models/operations/removemartechmembersecurity.md +8 -0
  1355. package/docs/sdk/models/operations/removepassthroughrequest.md +9 -0
  1356. package/docs/sdk/models/operations/removepassthroughresponse.md +11 -0
  1357. package/docs/sdk/models/operations/removepassthroughsecurity.md +8 -0
  1358. package/docs/sdk/models/operations/removestoragefilerequest.md +9 -0
  1359. package/docs/sdk/models/operations/removestoragefileresponse.md +11 -0
  1360. package/docs/sdk/models/operations/removestoragefilesecurity.md +8 -0
  1361. package/docs/sdk/models/operations/removeticketingcustomerrequest.md +9 -0
  1362. package/docs/sdk/models/operations/removeticketingcustomerresponse.md +11 -0
  1363. package/docs/sdk/models/operations/removeticketingcustomersecurity.md +8 -0
  1364. package/docs/sdk/models/operations/removeticketingnoterequest.md +9 -0
  1365. package/docs/sdk/models/operations/removeticketingnoteresponse.md +11 -0
  1366. package/docs/sdk/models/operations/removeticketingnotesecurity.md +8 -0
  1367. package/docs/sdk/models/operations/removeticketingticketrequest.md +9 -0
  1368. package/docs/sdk/models/operations/removeticketingticketresponse.md +11 -0
  1369. package/docs/sdk/models/operations/removeticketingticketsecurity.md +8 -0
  1370. package/docs/sdk/models/operations/removeuccontactrequest.md +9 -0
  1371. package/docs/sdk/models/operations/removeuccontactresponse.md +11 -0
  1372. package/docs/sdk/models/operations/removeuccontactsecurity.md +8 -0
  1373. package/docs/sdk/models/operations/removeunifiedconnectionrequest.md +8 -0
  1374. package/docs/sdk/models/operations/removeunifiedconnectionresponse.md +11 -0
  1375. package/docs/sdk/models/operations/removeunifiedconnectionsecurity.md +8 -0
  1376. package/docs/sdk/models/operations/removeunifiedwebhookrequest.md +8 -0
  1377. package/docs/sdk/models/operations/removeunifiedwebhookresponse.md +11 -0
  1378. package/docs/sdk/models/operations/removeunifiedwebhooksecurity.md +8 -0
  1379. package/docs/sdk/models/operations/scopes.md +77 -0
  1380. package/docs/sdk/models/operations/updateaccountingaccountrequest.md +10 -0
  1381. package/docs/sdk/models/operations/updateaccountingaccountresponse.md +11 -0
  1382. package/docs/sdk/models/operations/updateaccountingaccountsecurity.md +8 -0
  1383. package/docs/sdk/models/operations/updateaccountingcontactrequest.md +10 -0
  1384. package/docs/sdk/models/operations/updateaccountingcontactresponse.md +11 -0
  1385. package/docs/sdk/models/operations/updateaccountingcontactsecurity.md +8 -0
  1386. package/docs/sdk/models/operations/updateaccountinginvoicerequest.md +10 -0
  1387. package/docs/sdk/models/operations/updateaccountinginvoiceresponse.md +11 -0
  1388. package/docs/sdk/models/operations/updateaccountinginvoicesecurity.md +8 -0
  1389. package/docs/sdk/models/operations/updateaccountingpaymentrequest.md +10 -0
  1390. package/docs/sdk/models/operations/updateaccountingpaymentresponse.md +11 -0
  1391. package/docs/sdk/models/operations/updateaccountingpaymentsecurity.md +8 -0
  1392. package/docs/sdk/models/operations/updateaccountingtaxraterequest.md +10 -0
  1393. package/docs/sdk/models/operations/updateaccountingtaxrateresponse.md +11 -0
  1394. package/docs/sdk/models/operations/updateaccountingtaxratesecurity.md +8 -0
  1395. package/docs/sdk/models/operations/updateaccountingtransactionrequest.md +10 -0
  1396. package/docs/sdk/models/operations/updateaccountingtransactionresponse.md +11 -0
  1397. package/docs/sdk/models/operations/updateaccountingtransactionsecurity.md +8 -0
  1398. package/docs/sdk/models/operations/updateatsactivityrequest.md +10 -0
  1399. package/docs/sdk/models/operations/updateatsactivityresponse.md +11 -0
  1400. package/docs/sdk/models/operations/updateatsactivitysecurity.md +8 -0
  1401. package/docs/sdk/models/operations/updateatsapplicationrequest.md +10 -0
  1402. package/docs/sdk/models/operations/updateatsapplicationresponse.md +11 -0
  1403. package/docs/sdk/models/operations/updateatsapplicationsecurity.md +8 -0
  1404. package/docs/sdk/models/operations/updateatscandidaterequest.md +10 -0
  1405. package/docs/sdk/models/operations/updateatscandidateresponse.md +11 -0
  1406. package/docs/sdk/models/operations/updateatscandidatesecurity.md +8 -0
  1407. package/docs/sdk/models/operations/updateatsdocumentrequest.md +10 -0
  1408. package/docs/sdk/models/operations/updateatsdocumentresponse.md +11 -0
  1409. package/docs/sdk/models/operations/updateatsdocumentsecurity.md +8 -0
  1410. package/docs/sdk/models/operations/updateatsinterviewrequest.md +10 -0
  1411. package/docs/sdk/models/operations/updateatsinterviewresponse.md +11 -0
  1412. package/docs/sdk/models/operations/updateatsinterviewsecurity.md +8 -0
  1413. package/docs/sdk/models/operations/updateatsjobrequest.md +10 -0
  1414. package/docs/sdk/models/operations/updateatsjobresponse.md +11 -0
  1415. package/docs/sdk/models/operations/updateatsjobsecurity.md +8 -0
  1416. package/docs/sdk/models/operations/updateatsscorecardrequest.md +10 -0
  1417. package/docs/sdk/models/operations/updateatsscorecardresponse.md +11 -0
  1418. package/docs/sdk/models/operations/updateatsscorecardsecurity.md +8 -0
  1419. package/docs/sdk/models/operations/updatecommercecollectionrequest.md +10 -0
  1420. package/docs/sdk/models/operations/updatecommercecollectionresponse.md +11 -0
  1421. package/docs/sdk/models/operations/updatecommercecollectionsecurity.md +8 -0
  1422. package/docs/sdk/models/operations/updatecommerceinventoryrequest.md +10 -0
  1423. package/docs/sdk/models/operations/updatecommerceinventoryresponse.md +11 -0
  1424. package/docs/sdk/models/operations/updatecommerceinventorysecurity.md +8 -0
  1425. package/docs/sdk/models/operations/updatecommerceitemrequest.md +10 -0
  1426. package/docs/sdk/models/operations/updatecommerceitemresponse.md +11 -0
  1427. package/docs/sdk/models/operations/updatecommerceitemsecurity.md +8 -0
  1428. package/docs/sdk/models/operations/updatecommercelocationrequest.md +10 -0
  1429. package/docs/sdk/models/operations/updatecommercelocationresponse.md +11 -0
  1430. package/docs/sdk/models/operations/updatecommercelocationsecurity.md +8 -0
  1431. package/docs/sdk/models/operations/updatecrmcompanyrequest.md +10 -0
  1432. package/docs/sdk/models/operations/updatecrmcompanyresponse.md +11 -0
  1433. package/docs/sdk/models/operations/updatecrmcompanysecurity.md +8 -0
  1434. package/docs/sdk/models/operations/updatecrmcontactrequest.md +10 -0
  1435. package/docs/sdk/models/operations/updatecrmcontactresponse.md +11 -0
  1436. package/docs/sdk/models/operations/updatecrmcontactsecurity.md +8 -0
  1437. package/docs/sdk/models/operations/updatecrmdealrequest.md +10 -0
  1438. package/docs/sdk/models/operations/updatecrmdealresponse.md +11 -0
  1439. package/docs/sdk/models/operations/updatecrmdealsecurity.md +8 -0
  1440. package/docs/sdk/models/operations/updatecrmeventrequest.md +10 -0
  1441. package/docs/sdk/models/operations/updatecrmeventresponse.md +11 -0
  1442. package/docs/sdk/models/operations/updatecrmeventsecurity.md +8 -0
  1443. package/docs/sdk/models/operations/updatecrmleadrequest.md +10 -0
  1444. package/docs/sdk/models/operations/updatecrmleadresponse.md +11 -0
  1445. package/docs/sdk/models/operations/updatecrmleadsecurity.md +8 -0
  1446. package/docs/sdk/models/operations/updatecrmpipelinerequest.md +10 -0
  1447. package/docs/sdk/models/operations/updatecrmpipelineresponse.md +11 -0
  1448. package/docs/sdk/models/operations/updatecrmpipelinesecurity.md +8 -0
  1449. package/docs/sdk/models/operations/updatehrisemployeerequest.md +10 -0
  1450. package/docs/sdk/models/operations/updatehrisemployeeresponse.md +11 -0
  1451. package/docs/sdk/models/operations/updatehrisemployeesecurity.md +8 -0
  1452. package/docs/sdk/models/operations/updatehrisgrouprequest.md +10 -0
  1453. package/docs/sdk/models/operations/updatehrisgroupresponse.md +11 -0
  1454. package/docs/sdk/models/operations/updatehrisgroupsecurity.md +8 -0
  1455. package/docs/sdk/models/operations/updatemartechlistrequest.md +10 -0
  1456. package/docs/sdk/models/operations/updatemartechlistresponse.md +11 -0
  1457. package/docs/sdk/models/operations/updatemartechlistsecurity.md +8 -0
  1458. package/docs/sdk/models/operations/updatemartechmemberrequest.md +10 -0
  1459. package/docs/sdk/models/operations/updatemartechmemberresponse.md +11 -0
  1460. package/docs/sdk/models/operations/updatemartechmembersecurity.md +8 -0
  1461. package/docs/sdk/models/operations/updatepassthroughrequest.md +10 -0
  1462. package/docs/sdk/models/operations/updatepassthroughresponse.md +11 -0
  1463. package/docs/sdk/models/operations/updatepassthroughsecurity.md +8 -0
  1464. package/docs/sdk/models/operations/updatestoragefilerequest.md +10 -0
  1465. package/docs/sdk/models/operations/updatestoragefileresponse.md +11 -0
  1466. package/docs/sdk/models/operations/updatestoragefilesecurity.md +8 -0
  1467. package/docs/sdk/models/operations/updateticketingcustomerrequest.md +10 -0
  1468. package/docs/sdk/models/operations/updateticketingcustomerresponse.md +11 -0
  1469. package/docs/sdk/models/operations/updateticketingcustomersecurity.md +8 -0
  1470. package/docs/sdk/models/operations/updateticketingnoterequest.md +10 -0
  1471. package/docs/sdk/models/operations/updateticketingnoteresponse.md +11 -0
  1472. package/docs/sdk/models/operations/updateticketingnotesecurity.md +8 -0
  1473. package/docs/sdk/models/operations/updateticketingticketrequest.md +10 -0
  1474. package/docs/sdk/models/operations/updateticketingticketresponse.md +11 -0
  1475. package/docs/sdk/models/operations/updateticketingticketsecurity.md +8 -0
  1476. package/docs/sdk/models/operations/updateuccontactrequest.md +10 -0
  1477. package/docs/sdk/models/operations/updateuccontactresponse.md +11 -0
  1478. package/docs/sdk/models/operations/updateuccontactsecurity.md +8 -0
  1479. package/docs/sdk/models/operations/updateunifiedconnectionrequest.md +9 -0
  1480. package/docs/sdk/models/operations/updateunifiedconnectionresponse.md +11 -0
  1481. package/docs/sdk/models/operations/updateunifiedconnectionsecurity.md +8 -0
  1482. package/docs/sdk/models/operations/updateunifiedwebhooktriggerrequest.md +8 -0
  1483. package/docs/sdk/models/operations/updateunifiedwebhooktriggerresponse.md +11 -0
  1484. package/docs/sdk/models/operations/updateunifiedwebhooktriggersecurity.md +8 -0
  1485. package/docs/sdk/models/shared/accountingaccount.md +19 -0
  1486. package/docs/sdk/models/shared/accountingcontact.md +22 -0
  1487. package/docs/sdk/models/shared/accountingemail.md +9 -0
  1488. package/docs/sdk/models/shared/accountingemailtype.md +10 -0
  1489. package/docs/sdk/models/shared/accountinginvoice.md +28 -0
  1490. package/docs/sdk/models/shared/accountinginvoicestatus.md +10 -0
  1491. package/docs/sdk/models/shared/accountinglineitem.md +24 -0
  1492. package/docs/sdk/models/shared/accountingorganization.md +19 -0
  1493. package/docs/sdk/models/shared/accountingpayment.md +19 -0
  1494. package/docs/sdk/models/shared/accountingpayout.md +15 -0
  1495. package/docs/sdk/models/shared/accountingpayoutstatus.md +11 -0
  1496. package/docs/sdk/models/shared/accountingrefund.md +17 -0
  1497. package/docs/sdk/models/shared/accountingrefundstatus.md +11 -0
  1498. package/docs/sdk/models/shared/accountingtaxrate.md +15 -0
  1499. package/docs/sdk/models/shared/accountingtelephone.md +9 -0
  1500. package/docs/sdk/models/shared/accountingtelephonetype.md +12 -0
  1501. package/docs/sdk/models/shared/accountingtransaction.md +17 -0
  1502. package/docs/sdk/models/shared/accountingtransactionlineitem.md +15 -0
  1503. package/docs/sdk/models/shared/apicall.md +22 -0
  1504. package/docs/sdk/models/shared/apicalltype.md +10 -0
  1505. package/docs/sdk/models/shared/atsactivity.md +21 -0
  1506. package/docs/sdk/models/shared/atsactivitytype.md +9 -0
  1507. package/docs/sdk/models/shared/atsaddress.md +15 -0
  1508. package/docs/sdk/models/shared/atsapplication.md +21 -0
  1509. package/docs/sdk/models/shared/atsapplicationanswer.md +9 -0
  1510. package/docs/sdk/models/shared/atsapplicationstatus.md +20 -0
  1511. package/docs/sdk/models/shared/atscandidate.md +25 -0
  1512. package/docs/sdk/models/shared/atscompany.md +17 -0
  1513. package/docs/sdk/models/shared/atscompensation.md +12 -0
  1514. package/docs/sdk/models/shared/atscompensationtype.md +12 -0
  1515. package/docs/sdk/models/shared/atsdocument.md +19 -0
  1516. package/docs/sdk/models/shared/atsdocumenttype.md +13 -0
  1517. package/docs/sdk/models/shared/atsemail.md +9 -0
  1518. package/docs/sdk/models/shared/atsemailtype.md +10 -0
  1519. package/docs/sdk/models/shared/atsinterview.md +20 -0
  1520. package/docs/sdk/models/shared/atsinterviewstatus.md +12 -0
  1521. package/docs/sdk/models/shared/atsjob.md +27 -0
  1522. package/docs/sdk/models/shared/atsjobquestion.md +14 -0
  1523. package/docs/sdk/models/shared/atsjobquestiontype.md +19 -0
  1524. package/docs/sdk/models/shared/atsjobstatus.md +12 -0
  1525. package/docs/sdk/models/shared/atsscorecard.md +19 -0
  1526. package/docs/sdk/models/shared/atsscorecardquestion.md +10 -0
  1527. package/docs/sdk/models/shared/atsstatus.md +12 -0
  1528. package/docs/sdk/models/shared/atsstatusstatus.md +20 -0
  1529. package/docs/sdk/models/shared/atstelephone.md +9 -0
  1530. package/docs/sdk/models/shared/atstelephonetype.md +12 -0
  1531. package/docs/sdk/models/shared/commercecollection.md +23 -0
  1532. package/docs/sdk/models/shared/commerceinventory.md +15 -0
  1533. package/docs/sdk/models/shared/commerceitem.md +22 -0
  1534. package/docs/sdk/models/shared/commerceitemmedia.md +13 -0
  1535. package/docs/sdk/models/shared/commerceitemmediatype.md +9 -0
  1536. package/docs/sdk/models/shared/commerceitemoption.md +11 -0
  1537. package/docs/sdk/models/shared/commerceitemprice.md +10 -0
  1538. package/docs/sdk/models/shared/commerceitemvariant.md +30 -0
  1539. package/docs/sdk/models/shared/commercelocation.md +14 -0
  1540. package/docs/sdk/models/shared/connection.md +24 -0
  1541. package/docs/sdk/models/shared/crmcompany.md +27 -0
  1542. package/docs/sdk/models/shared/crmcontact.md +22 -0
  1543. package/docs/sdk/models/shared/crmdeal.md +25 -0
  1544. package/docs/sdk/models/shared/crmemail.md +9 -0
  1545. package/docs/sdk/models/shared/crmemailtype.md +10 -0
  1546. package/docs/sdk/models/shared/crmevent.md +24 -0
  1547. package/docs/sdk/models/shared/crmeventtype.md +12 -0
  1548. package/docs/sdk/models/shared/crmlead.md +23 -0
  1549. package/docs/sdk/models/shared/crmpipeline.md +15 -0
  1550. package/docs/sdk/models/shared/crmtelephone.md +9 -0
  1551. package/docs/sdk/models/shared/crmtelephonetype.md +12 -0
  1552. package/docs/sdk/models/shared/employmentstatus.md +9 -0
  1553. package/docs/sdk/models/shared/employmenttype.md +17 -0
  1554. package/docs/sdk/models/shared/enrichcompany.md +36 -0
  1555. package/docs/sdk/models/shared/enrichemail.md +9 -0
  1556. package/docs/sdk/models/shared/enrichemailtype.md +10 -0
  1557. package/docs/sdk/models/shared/enrichperson.md +33 -0
  1558. package/docs/sdk/models/shared/enrichpersonworkhistory.md +14 -0
  1559. package/docs/sdk/models/shared/enrichtelephone.md +9 -0
  1560. package/docs/sdk/models/shared/enrichtelephonetype.md +12 -0
  1561. package/docs/sdk/models/shared/event.md +10 -0
  1562. package/docs/sdk/models/shared/frequency.md +14 -0
  1563. package/docs/sdk/models/shared/gender.md +9 -0
  1564. package/docs/sdk/models/shared/hrisemail.md +9 -0
  1565. package/docs/sdk/models/shared/hrisemailtype.md +10 -0
  1566. package/docs/sdk/models/shared/hrisemployee.md +32 -0
  1567. package/docs/sdk/models/shared/hrisemployeeemploymenttype.md +17 -0
  1568. package/docs/sdk/models/shared/hrisemployeegender.md +12 -0
  1569. package/docs/sdk/models/shared/hrisgroup.md +18 -0
  1570. package/docs/sdk/models/shared/hrisgrouptype.md +14 -0
  1571. package/docs/sdk/models/shared/hristelephone.md +9 -0
  1572. package/docs/sdk/models/shared/hristelephonetype.md +12 -0
  1573. package/docs/sdk/models/shared/integration.md +28 -0
  1574. package/docs/sdk/models/shared/integrationsupport.md +39 -0
  1575. package/docs/sdk/models/shared/issue.md +16 -0
  1576. package/docs/sdk/models/shared/issuestatus.md +13 -0
  1577. package/docs/sdk/models/shared/issuetype.md +10 -0
  1578. package/docs/sdk/models/shared/maritalstatus.md +9 -0
  1579. package/docs/sdk/models/shared/marketingemail.md +9 -0
  1580. package/docs/sdk/models/shared/marketingemailtype.md +10 -0
  1581. package/docs/sdk/models/shared/marketinglist.md +14 -0
  1582. package/docs/sdk/models/shared/marketingmember.md +17 -0
  1583. package/docs/sdk/models/shared/objecttype.md +48 -0
  1584. package/docs/sdk/models/shared/origin.md +13 -0
  1585. package/docs/sdk/models/shared/propertyaccountingcontactbillingaddress.md +15 -0
  1586. package/docs/sdk/models/shared/propertyaccountingcontactshippingaddress.md +15 -0
  1587. package/docs/sdk/models/shared/propertyaccountingorganizationaddress.md +15 -0
  1588. package/docs/sdk/models/shared/propertyatscandidateaddress.md +15 -0
  1589. package/docs/sdk/models/shared/propertyatscompanyaddress.md +15 -0
  1590. package/docs/sdk/models/shared/propertycommercelocationaddress.md +15 -0
  1591. package/docs/sdk/models/shared/propertyconnectionauth.md +32 -0
  1592. package/docs/sdk/models/shared/propertyconnectioncategories.md +19 -0
  1593. package/docs/sdk/models/shared/propertyconnectionpermissions.md +77 -0
  1594. package/docs/sdk/models/shared/propertycrmcompanyaddress.md +15 -0
  1595. package/docs/sdk/models/shared/propertycrmcontactaddress.md +15 -0
  1596. package/docs/sdk/models/shared/propertycrmeventcall.md +12 -0
  1597. package/docs/sdk/models/shared/propertycrmeventemail.md +15 -0
  1598. package/docs/sdk/models/shared/propertycrmeventmeeting.md +13 -0
  1599. package/docs/sdk/models/shared/propertycrmeventnote.md +10 -0
  1600. package/docs/sdk/models/shared/propertycrmeventtask.md +13 -0
  1601. package/docs/sdk/models/shared/propertycrmeventtaskstatus.md +11 -0
  1602. package/docs/sdk/models/shared/propertycrmleadaddress.md +15 -0
  1603. package/docs/sdk/models/shared/propertyenrichcompanyaddress.md +17 -0
  1604. package/docs/sdk/models/shared/propertyenrichpersonaddress.md +17 -0
  1605. package/docs/sdk/models/shared/propertyhrisemployeeaddress.md +15 -0
  1606. package/docs/sdk/models/shared/propertyintegrationcategories.md +19 -0
  1607. package/docs/sdk/models/shared/propertyintegrationsupportwebhookevents.md +10 -0
  1608. package/docs/sdk/models/shared/propertystoragepermissionroles.md +10 -0
  1609. package/docs/sdk/models/shared/propertyuccalltelephone.md +11 -0
  1610. package/docs/sdk/models/shared/propertyuccalltelephonetype.md +12 -0
  1611. package/docs/sdk/models/shared/recommendation.md +11 -0
  1612. package/docs/sdk/models/shared/sizeunit.md +9 -0
  1613. package/docs/sdk/models/shared/status.md +9 -0
  1614. package/docs/sdk/models/shared/storagefile.md +21 -0
  1615. package/docs/sdk/models/shared/storagefiletype.md +9 -0
  1616. package/docs/sdk/models/shared/storagepermission.md +10 -0
  1617. package/docs/sdk/models/shared/taxexemption.md +18 -0
  1618. package/docs/sdk/models/shared/ticketingcustomer.md +15 -0
  1619. package/docs/sdk/models/shared/ticketingemail.md +9 -0
  1620. package/docs/sdk/models/shared/ticketingemailtype.md +10 -0
  1621. package/docs/sdk/models/shared/ticketingnote.md +15 -0
  1622. package/docs/sdk/models/shared/ticketingtelephone.md +9 -0
  1623. package/docs/sdk/models/shared/ticketingtelephonetype.md +12 -0
  1624. package/docs/sdk/models/shared/ticketingticket.md +22 -0
  1625. package/docs/sdk/models/shared/ticketingticketstatus.md +9 -0
  1626. package/docs/sdk/models/shared/typet.md +17 -0
  1627. package/docs/sdk/models/shared/uccall.md +16 -0
  1628. package/docs/sdk/models/shared/uccontact.md +18 -0
  1629. package/docs/sdk/models/shared/ucemail.md +9 -0
  1630. package/docs/sdk/models/shared/ucemailtype.md +10 -0
  1631. package/docs/sdk/models/shared/uctelephone.md +9 -0
  1632. package/docs/sdk/models/shared/uctelephonetype.md +12 -0
  1633. package/docs/sdk/models/shared/webhook.md +27 -0
  1634. package/docs/sdk/models/shared/webhooktype.md +10 -0
  1635. package/docs/sdk/models/shared/webhookwebhooktype.md +10 -0
  1636. package/docs/sdk/models/shared/weightunit.md +11 -0
  1637. package/docs/sdks/account/README.md +318 -0
  1638. package/docs/sdks/accounting/README.md +2240 -0
  1639. package/docs/sdks/activity/README.md +327 -0
  1640. package/docs/sdks/apicall/README.md +97 -0
  1641. package/docs/sdks/application/README.md +339 -0
  1642. package/docs/sdks/applicationstatus/README.md +55 -0
  1643. package/docs/sdks/ats/README.md +2533 -0
  1644. package/docs/sdks/auth/README.md +95 -0
  1645. package/docs/sdks/call/README.md +55 -0
  1646. package/docs/sdks/candidate/README.md +375 -0
  1647. package/docs/sdks/collection/README.md +354 -0
  1648. package/docs/sdks/commerce/README.md +1395 -0
  1649. package/docs/sdks/company/README.md +526 -0
  1650. package/docs/sdks/connection/README.md +364 -0
  1651. package/docs/sdks/contact/README.md +1046 -0
  1652. package/docs/sdks/crm/README.md +2084 -0
  1653. package/docs/sdks/customer/README.md +354 -0
  1654. package/docs/sdks/deal/README.md +321 -0
  1655. package/docs/sdks/document/README.md +315 -0
  1656. package/docs/sdks/employee/README.md +369 -0
  1657. package/docs/sdks/enrich/README.md +99 -0
  1658. package/docs/sdks/event/README.md +396 -0
  1659. package/docs/sdks/file/README.md +336 -0
  1660. package/docs/sdks/group/README.md +333 -0
  1661. package/docs/sdks/hris/README.md +697 -0
  1662. package/docs/sdks/integration/README.md +147 -0
  1663. package/docs/sdks/interview/README.md +324 -0
  1664. package/docs/sdks/inventory/README.md +315 -0
  1665. package/docs/sdks/invoice/README.md +330 -0
  1666. package/docs/sdks/issue/README.md +50 -0
  1667. package/docs/sdks/item/README.md +423 -0
  1668. package/docs/sdks/job/README.md +402 -0
  1669. package/docs/sdks/lead/README.md +342 -0
  1670. package/docs/sdks/list/README.md +312 -0
  1671. package/docs/sdks/location/README.md +318 -0
  1672. package/docs/sdks/login/README.md +48 -0
  1673. package/docs/sdks/martech/README.md +655 -0
  1674. package/docs/sdks/member/README.md +348 -0
  1675. package/docs/sdks/note/README.md +312 -0
  1676. package/docs/sdks/organization/README.md +106 -0
  1677. package/docs/sdks/passthrough/README.md +254 -0
  1678. package/docs/sdks/payment/README.md +312 -0
  1679. package/docs/sdks/payout/README.md +106 -0
  1680. package/docs/sdks/person/README.md +52 -0
  1681. package/docs/sdks/pipeline/README.md +312 -0
  1682. package/docs/sdks/refund/README.md +106 -0
  1683. package/docs/sdks/scorecard/README.md +330 -0
  1684. package/docs/sdks/storage/README.md +336 -0
  1685. package/docs/sdks/taxrate/README.md +318 -0
  1686. package/docs/sdks/ticket/README.md +324 -0
  1687. package/docs/sdks/ticketing/README.md +980 -0
  1688. package/docs/sdks/transaction/README.md +333 -0
  1689. package/docs/sdks/uc/README.md +395 -0
  1690. package/docs/sdks/unified/README.md +935 -0
  1691. package/docs/sdks/unifiedto/README.md +9 -0
  1692. package/docs/sdks/webhook/README.md +297 -0
  1693. package/package.json +37 -0
@@ -0,0 +1,1177 @@
1
+ "use strict";
2
+ /*
3
+ * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
4
+ */
5
+ var __assign = (this && this.__assign) || function () {
6
+ __assign = Object.assign || function(t) {
7
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
8
+ s = arguments[i];
9
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
10
+ t[p] = s[p];
11
+ }
12
+ return t;
13
+ };
14
+ return __assign.apply(this, arguments);
15
+ };
16
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
17
+ if (k2 === undefined) k2 = k;
18
+ var desc = Object.getOwnPropertyDescriptor(m, k);
19
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
20
+ desc = { enumerable: true, get: function() { return m[k]; } };
21
+ }
22
+ Object.defineProperty(o, k2, desc);
23
+ }) : (function(o, m, k, k2) {
24
+ if (k2 === undefined) k2 = k;
25
+ o[k2] = m[k];
26
+ }));
27
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
28
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
29
+ }) : function(o, v) {
30
+ o["default"] = v;
31
+ });
32
+ var __importStar = (this && this.__importStar) || function (mod) {
33
+ if (mod && mod.__esModule) return mod;
34
+ var result = {};
35
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
36
+ __setModuleDefault(result, mod);
37
+ return result;
38
+ };
39
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
40
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
41
+ return new (P || (P = Promise))(function (resolve, reject) {
42
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
43
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
44
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
45
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
46
+ });
47
+ };
48
+ var __generator = (this && this.__generator) || function (thisArg, body) {
49
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
50
+ return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
51
+ function verb(n) { return function (v) { return step([n, v]); }; }
52
+ function step(op) {
53
+ if (f) throw new TypeError("Generator is already executing.");
54
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
55
+ 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;
56
+ if (y = 0, t) op = [op[0] & 2, t.value];
57
+ switch (op[0]) {
58
+ case 0: case 1: t = op; break;
59
+ case 4: _.label++; return { value: op[1], done: false };
60
+ case 5: _.label++; y = op[1]; op = [0]; continue;
61
+ case 7: op = _.ops.pop(); _.trys.pop(); continue;
62
+ default:
63
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
64
+ if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
65
+ if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
66
+ if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
67
+ if (t[2]) _.ops.pop();
68
+ _.trys.pop(); continue;
69
+ }
70
+ op = body.call(thisArg, _);
71
+ } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
72
+ if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
73
+ }
74
+ };
75
+ var __read = (this && this.__read) || function (o, n) {
76
+ var m = typeof Symbol === "function" && o[Symbol.iterator];
77
+ if (!m) return o;
78
+ var i = m.call(o), r, ar = [], e;
79
+ try {
80
+ while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
81
+ }
82
+ catch (error) { e = { error: error }; }
83
+ finally {
84
+ try {
85
+ if (r && !r.done && (m = i["return"])) m.call(i);
86
+ }
87
+ finally { if (e) throw e.error; }
88
+ }
89
+ return ar;
90
+ };
91
+ Object.defineProperty(exports, "__esModule", { value: true });
92
+ exports.Ticketing = void 0;
93
+ var utils = __importStar(require("../internal/utils"));
94
+ var errors = __importStar(require("../sdk/models/errors"));
95
+ var operations = __importStar(require("../sdk/models/operations"));
96
+ var shared = __importStar(require("../sdk/models/shared"));
97
+ var Ticketing = /** @class */ (function () {
98
+ function Ticketing(sdkConfig) {
99
+ this.sdkConfiguration = sdkConfig;
100
+ }
101
+ /**
102
+ * Create a customer
103
+ */
104
+ Ticketing.prototype.createTicketingCustomer = function (req, security, config) {
105
+ var _a, _b;
106
+ return __awaiter(this, void 0, void 0, function () {
107
+ var baseURL, operationUrl, _c, reqBodyHeaders, reqBody, client, properties, headers, httpRes, responseContentType, res, decodedRes;
108
+ var _d;
109
+ return __generator(this, function (_e) {
110
+ switch (_e.label) {
111
+ case 0:
112
+ if (!(req instanceof utils.SpeakeasyBase)) {
113
+ req = new operations.CreateTicketingCustomerRequest(req);
114
+ }
115
+ baseURL = utils.templateUrl(this.sdkConfiguration.serverURL, this.sdkConfiguration.serverDefaults);
116
+ operationUrl = utils.generateURL(baseURL, "/ticketing/{connection_id}/customer", req);
117
+ _c = __read([{}, null], 2), reqBodyHeaders = _c[0], reqBody = _c[1];
118
+ try {
119
+ _d = __read(utils.serializeRequestBody(req, "ticketingCustomer", "json"), 2), reqBodyHeaders = _d[0], reqBody = _d[1];
120
+ }
121
+ catch (e) {
122
+ if (e instanceof Error) {
123
+ throw new Error("Error serializing request body, cause: ".concat(e.message));
124
+ }
125
+ }
126
+ client = this.sdkConfiguration.defaultClient;
127
+ if (!(security instanceof utils.SpeakeasyBase)) {
128
+ security = new operations.CreateTicketingCustomerSecurity(security);
129
+ }
130
+ properties = utils.parseSecurityProperties(security);
131
+ headers = __assign(__assign(__assign({}, reqBodyHeaders), config === null || config === void 0 ? void 0 : config.headers), properties.headers);
132
+ headers["Accept"] = "application/json";
133
+ headers["user-agent"] = this.sdkConfiguration.userAgent;
134
+ return [4 /*yield*/, client.request(__assign({ validateStatus: function () { return true; }, url: operationUrl, method: "post", headers: headers, responseType: "arraybuffer", data: reqBody }, config))];
135
+ case 1:
136
+ httpRes = _e.sent();
137
+ responseContentType = (_b = (_a = httpRes === null || httpRes === void 0 ? void 0 : httpRes.headers) === null || _a === void 0 ? void 0 : _a["content-type"]) !== null && _b !== void 0 ? _b : "";
138
+ if ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) == null) {
139
+ throw new Error("status code not found in response: ".concat(httpRes));
140
+ }
141
+ res = new operations.CreateTicketingCustomerResponse({
142
+ statusCode: httpRes.status,
143
+ contentType: responseContentType,
144
+ rawResponse: httpRes,
145
+ });
146
+ decodedRes = new TextDecoder().decode(httpRes === null || httpRes === void 0 ? void 0 : httpRes.data);
147
+ switch (true) {
148
+ case (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) == 200:
149
+ if (utils.matchContentType(responseContentType, "application/json")) {
150
+ res.ticketingCustomer = utils.objectToClass(JSON.parse(decodedRes), shared.TicketingCustomer);
151
+ }
152
+ else {
153
+ throw new errors.SDKError("unknown content-type received: " + responseContentType, httpRes.status, decodedRes, httpRes);
154
+ }
155
+ break;
156
+ case ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 400 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 500) ||
157
+ ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 500 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 600):
158
+ throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
159
+ }
160
+ return [2 /*return*/, res];
161
+ }
162
+ });
163
+ });
164
+ };
165
+ /**
166
+ * Create a note
167
+ */
168
+ Ticketing.prototype.createTicketingNote = function (req, security, config) {
169
+ var _a, _b;
170
+ return __awaiter(this, void 0, void 0, function () {
171
+ var baseURL, operationUrl, _c, reqBodyHeaders, reqBody, client, properties, headers, httpRes, responseContentType, res, decodedRes;
172
+ var _d;
173
+ return __generator(this, function (_e) {
174
+ switch (_e.label) {
175
+ case 0:
176
+ if (!(req instanceof utils.SpeakeasyBase)) {
177
+ req = new operations.CreateTicketingNoteRequest(req);
178
+ }
179
+ baseURL = utils.templateUrl(this.sdkConfiguration.serverURL, this.sdkConfiguration.serverDefaults);
180
+ operationUrl = utils.generateURL(baseURL, "/ticketing/{connection_id}/note", req);
181
+ _c = __read([{}, null], 2), reqBodyHeaders = _c[0], reqBody = _c[1];
182
+ try {
183
+ _d = __read(utils.serializeRequestBody(req, "ticketingNote", "json"), 2), reqBodyHeaders = _d[0], reqBody = _d[1];
184
+ }
185
+ catch (e) {
186
+ if (e instanceof Error) {
187
+ throw new Error("Error serializing request body, cause: ".concat(e.message));
188
+ }
189
+ }
190
+ client = this.sdkConfiguration.defaultClient;
191
+ if (!(security instanceof utils.SpeakeasyBase)) {
192
+ security = new operations.CreateTicketingNoteSecurity(security);
193
+ }
194
+ properties = utils.parseSecurityProperties(security);
195
+ headers = __assign(__assign(__assign({}, reqBodyHeaders), config === null || config === void 0 ? void 0 : config.headers), properties.headers);
196
+ headers["Accept"] = "application/json";
197
+ headers["user-agent"] = this.sdkConfiguration.userAgent;
198
+ return [4 /*yield*/, client.request(__assign({ validateStatus: function () { return true; }, url: operationUrl, method: "post", headers: headers, responseType: "arraybuffer", data: reqBody }, config))];
199
+ case 1:
200
+ httpRes = _e.sent();
201
+ responseContentType = (_b = (_a = httpRes === null || httpRes === void 0 ? void 0 : httpRes.headers) === null || _a === void 0 ? void 0 : _a["content-type"]) !== null && _b !== void 0 ? _b : "";
202
+ if ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) == null) {
203
+ throw new Error("status code not found in response: ".concat(httpRes));
204
+ }
205
+ res = new operations.CreateTicketingNoteResponse({
206
+ statusCode: httpRes.status,
207
+ contentType: responseContentType,
208
+ rawResponse: httpRes,
209
+ });
210
+ decodedRes = new TextDecoder().decode(httpRes === null || httpRes === void 0 ? void 0 : httpRes.data);
211
+ switch (true) {
212
+ case (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) == 200:
213
+ if (utils.matchContentType(responseContentType, "application/json")) {
214
+ res.ticketingNote = utils.objectToClass(JSON.parse(decodedRes), shared.TicketingNote);
215
+ }
216
+ else {
217
+ throw new errors.SDKError("unknown content-type received: " + responseContentType, httpRes.status, decodedRes, httpRes);
218
+ }
219
+ break;
220
+ case ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 400 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 500) ||
221
+ ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 500 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 600):
222
+ throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
223
+ }
224
+ return [2 /*return*/, res];
225
+ }
226
+ });
227
+ });
228
+ };
229
+ /**
230
+ * Create a ticket
231
+ */
232
+ Ticketing.prototype.createTicketingTicket = function (req, security, config) {
233
+ var _a, _b;
234
+ return __awaiter(this, void 0, void 0, function () {
235
+ var baseURL, operationUrl, _c, reqBodyHeaders, reqBody, client, properties, headers, httpRes, responseContentType, res, decodedRes;
236
+ var _d;
237
+ return __generator(this, function (_e) {
238
+ switch (_e.label) {
239
+ case 0:
240
+ if (!(req instanceof utils.SpeakeasyBase)) {
241
+ req = new operations.CreateTicketingTicketRequest(req);
242
+ }
243
+ baseURL = utils.templateUrl(this.sdkConfiguration.serverURL, this.sdkConfiguration.serverDefaults);
244
+ operationUrl = utils.generateURL(baseURL, "/ticketing/{connection_id}/ticket", req);
245
+ _c = __read([{}, null], 2), reqBodyHeaders = _c[0], reqBody = _c[1];
246
+ try {
247
+ _d = __read(utils.serializeRequestBody(req, "ticketingTicket", "json"), 2), reqBodyHeaders = _d[0], reqBody = _d[1];
248
+ }
249
+ catch (e) {
250
+ if (e instanceof Error) {
251
+ throw new Error("Error serializing request body, cause: ".concat(e.message));
252
+ }
253
+ }
254
+ client = this.sdkConfiguration.defaultClient;
255
+ if (!(security instanceof utils.SpeakeasyBase)) {
256
+ security = new operations.CreateTicketingTicketSecurity(security);
257
+ }
258
+ properties = utils.parseSecurityProperties(security);
259
+ headers = __assign(__assign(__assign({}, reqBodyHeaders), config === null || config === void 0 ? void 0 : config.headers), properties.headers);
260
+ headers["Accept"] = "application/json";
261
+ headers["user-agent"] = this.sdkConfiguration.userAgent;
262
+ return [4 /*yield*/, client.request(__assign({ validateStatus: function () { return true; }, url: operationUrl, method: "post", headers: headers, responseType: "arraybuffer", data: reqBody }, config))];
263
+ case 1:
264
+ httpRes = _e.sent();
265
+ responseContentType = (_b = (_a = httpRes === null || httpRes === void 0 ? void 0 : httpRes.headers) === null || _a === void 0 ? void 0 : _a["content-type"]) !== null && _b !== void 0 ? _b : "";
266
+ if ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) == null) {
267
+ throw new Error("status code not found in response: ".concat(httpRes));
268
+ }
269
+ res = new operations.CreateTicketingTicketResponse({
270
+ statusCode: httpRes.status,
271
+ contentType: responseContentType,
272
+ rawResponse: httpRes,
273
+ });
274
+ decodedRes = new TextDecoder().decode(httpRes === null || httpRes === void 0 ? void 0 : httpRes.data);
275
+ switch (true) {
276
+ case (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) == 200:
277
+ if (utils.matchContentType(responseContentType, "application/json")) {
278
+ res.ticketingTicket = utils.objectToClass(JSON.parse(decodedRes), shared.TicketingTicket);
279
+ }
280
+ else {
281
+ throw new errors.SDKError("unknown content-type received: " + responseContentType, httpRes.status, decodedRes, httpRes);
282
+ }
283
+ break;
284
+ case ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 400 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 500) ||
285
+ ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 500 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 600):
286
+ throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
287
+ }
288
+ return [2 /*return*/, res];
289
+ }
290
+ });
291
+ });
292
+ };
293
+ /**
294
+ * Retrieve a customer
295
+ */
296
+ Ticketing.prototype.getTicketingCustomer = function (req, security, config) {
297
+ var _a, _b;
298
+ return __awaiter(this, void 0, void 0, function () {
299
+ var baseURL, operationUrl, client, properties, headers, queryParams, httpRes, responseContentType, res, decodedRes;
300
+ return __generator(this, function (_c) {
301
+ switch (_c.label) {
302
+ case 0:
303
+ if (!(req instanceof utils.SpeakeasyBase)) {
304
+ req = new operations.GetTicketingCustomerRequest(req);
305
+ }
306
+ baseURL = utils.templateUrl(this.sdkConfiguration.serverURL, this.sdkConfiguration.serverDefaults);
307
+ operationUrl = utils.generateURL(baseURL, "/ticketing/{connection_id}/customer/{id}", req);
308
+ client = this.sdkConfiguration.defaultClient;
309
+ if (!(security instanceof utils.SpeakeasyBase)) {
310
+ security = new operations.GetTicketingCustomerSecurity(security);
311
+ }
312
+ properties = utils.parseSecurityProperties(security);
313
+ headers = __assign(__assign({}, config === null || config === void 0 ? void 0 : config.headers), properties.headers);
314
+ queryParams = utils.serializeQueryParams(req);
315
+ headers["Accept"] = "application/json";
316
+ headers["user-agent"] = this.sdkConfiguration.userAgent;
317
+ return [4 /*yield*/, client.request(__assign({ validateStatus: function () { return true; }, url: operationUrl + queryParams, method: "get", headers: headers, responseType: "arraybuffer" }, config))];
318
+ case 1:
319
+ httpRes = _c.sent();
320
+ responseContentType = (_b = (_a = httpRes === null || httpRes === void 0 ? void 0 : httpRes.headers) === null || _a === void 0 ? void 0 : _a["content-type"]) !== null && _b !== void 0 ? _b : "";
321
+ if ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) == null) {
322
+ throw new Error("status code not found in response: ".concat(httpRes));
323
+ }
324
+ res = new operations.GetTicketingCustomerResponse({
325
+ statusCode: httpRes.status,
326
+ contentType: responseContentType,
327
+ rawResponse: httpRes,
328
+ });
329
+ decodedRes = new TextDecoder().decode(httpRes === null || httpRes === void 0 ? void 0 : httpRes.data);
330
+ switch (true) {
331
+ case (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) == 200:
332
+ if (utils.matchContentType(responseContentType, "application/json")) {
333
+ res.ticketingCustomer = utils.objectToClass(JSON.parse(decodedRes), shared.TicketingCustomer);
334
+ }
335
+ else {
336
+ throw new errors.SDKError("unknown content-type received: " + responseContentType, httpRes.status, decodedRes, httpRes);
337
+ }
338
+ break;
339
+ case ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 400 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 500) ||
340
+ ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 500 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 600):
341
+ throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
342
+ }
343
+ return [2 /*return*/, res];
344
+ }
345
+ });
346
+ });
347
+ };
348
+ /**
349
+ * Retrieve a note
350
+ */
351
+ Ticketing.prototype.getTicketingNote = function (req, security, config) {
352
+ var _a, _b;
353
+ return __awaiter(this, void 0, void 0, function () {
354
+ var baseURL, operationUrl, client, properties, headers, queryParams, httpRes, responseContentType, res, decodedRes;
355
+ return __generator(this, function (_c) {
356
+ switch (_c.label) {
357
+ case 0:
358
+ if (!(req instanceof utils.SpeakeasyBase)) {
359
+ req = new operations.GetTicketingNoteRequest(req);
360
+ }
361
+ baseURL = utils.templateUrl(this.sdkConfiguration.serverURL, this.sdkConfiguration.serverDefaults);
362
+ operationUrl = utils.generateURL(baseURL, "/ticketing/{connection_id}/note/{id}", req);
363
+ client = this.sdkConfiguration.defaultClient;
364
+ if (!(security instanceof utils.SpeakeasyBase)) {
365
+ security = new operations.GetTicketingNoteSecurity(security);
366
+ }
367
+ properties = utils.parseSecurityProperties(security);
368
+ headers = __assign(__assign({}, config === null || config === void 0 ? void 0 : config.headers), properties.headers);
369
+ queryParams = utils.serializeQueryParams(req);
370
+ headers["Accept"] = "application/json";
371
+ headers["user-agent"] = this.sdkConfiguration.userAgent;
372
+ return [4 /*yield*/, client.request(__assign({ validateStatus: function () { return true; }, url: operationUrl + queryParams, method: "get", headers: headers, responseType: "arraybuffer" }, config))];
373
+ case 1:
374
+ httpRes = _c.sent();
375
+ responseContentType = (_b = (_a = httpRes === null || httpRes === void 0 ? void 0 : httpRes.headers) === null || _a === void 0 ? void 0 : _a["content-type"]) !== null && _b !== void 0 ? _b : "";
376
+ if ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) == null) {
377
+ throw new Error("status code not found in response: ".concat(httpRes));
378
+ }
379
+ res = new operations.GetTicketingNoteResponse({
380
+ statusCode: httpRes.status,
381
+ contentType: responseContentType,
382
+ rawResponse: httpRes,
383
+ });
384
+ decodedRes = new TextDecoder().decode(httpRes === null || httpRes === void 0 ? void 0 : httpRes.data);
385
+ switch (true) {
386
+ case (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) == 200:
387
+ if (utils.matchContentType(responseContentType, "application/json")) {
388
+ res.ticketingNote = utils.objectToClass(JSON.parse(decodedRes), shared.TicketingNote);
389
+ }
390
+ else {
391
+ throw new errors.SDKError("unknown content-type received: " + responseContentType, httpRes.status, decodedRes, httpRes);
392
+ }
393
+ break;
394
+ case ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 400 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 500) ||
395
+ ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 500 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 600):
396
+ throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
397
+ }
398
+ return [2 /*return*/, res];
399
+ }
400
+ });
401
+ });
402
+ };
403
+ /**
404
+ * Retrieve a ticket
405
+ */
406
+ Ticketing.prototype.getTicketingTicket = function (req, security, config) {
407
+ var _a, _b;
408
+ return __awaiter(this, void 0, void 0, function () {
409
+ var baseURL, operationUrl, client, properties, headers, queryParams, httpRes, responseContentType, res, decodedRes;
410
+ return __generator(this, function (_c) {
411
+ switch (_c.label) {
412
+ case 0:
413
+ if (!(req instanceof utils.SpeakeasyBase)) {
414
+ req = new operations.GetTicketingTicketRequest(req);
415
+ }
416
+ baseURL = utils.templateUrl(this.sdkConfiguration.serverURL, this.sdkConfiguration.serverDefaults);
417
+ operationUrl = utils.generateURL(baseURL, "/ticketing/{connection_id}/ticket/{id}", req);
418
+ client = this.sdkConfiguration.defaultClient;
419
+ if (!(security instanceof utils.SpeakeasyBase)) {
420
+ security = new operations.GetTicketingTicketSecurity(security);
421
+ }
422
+ properties = utils.parseSecurityProperties(security);
423
+ headers = __assign(__assign({}, config === null || config === void 0 ? void 0 : config.headers), properties.headers);
424
+ queryParams = utils.serializeQueryParams(req);
425
+ headers["Accept"] = "application/json";
426
+ headers["user-agent"] = this.sdkConfiguration.userAgent;
427
+ return [4 /*yield*/, client.request(__assign({ validateStatus: function () { return true; }, url: operationUrl + queryParams, method: "get", headers: headers, responseType: "arraybuffer" }, config))];
428
+ case 1:
429
+ httpRes = _c.sent();
430
+ responseContentType = (_b = (_a = httpRes === null || httpRes === void 0 ? void 0 : httpRes.headers) === null || _a === void 0 ? void 0 : _a["content-type"]) !== null && _b !== void 0 ? _b : "";
431
+ if ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) == null) {
432
+ throw new Error("status code not found in response: ".concat(httpRes));
433
+ }
434
+ res = new operations.GetTicketingTicketResponse({
435
+ statusCode: httpRes.status,
436
+ contentType: responseContentType,
437
+ rawResponse: httpRes,
438
+ });
439
+ decodedRes = new TextDecoder().decode(httpRes === null || httpRes === void 0 ? void 0 : httpRes.data);
440
+ switch (true) {
441
+ case (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) == 200:
442
+ if (utils.matchContentType(responseContentType, "application/json")) {
443
+ res.ticketingTicket = utils.objectToClass(JSON.parse(decodedRes), shared.TicketingTicket);
444
+ }
445
+ else {
446
+ throw new errors.SDKError("unknown content-type received: " + responseContentType, httpRes.status, decodedRes, httpRes);
447
+ }
448
+ break;
449
+ case ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 400 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 500) ||
450
+ ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 500 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 600):
451
+ throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
452
+ }
453
+ return [2 /*return*/, res];
454
+ }
455
+ });
456
+ });
457
+ };
458
+ /**
459
+ * List all customers
460
+ */
461
+ Ticketing.prototype.listTicketingCustomers = function (req, security, config) {
462
+ var _a, _b;
463
+ return __awaiter(this, void 0, void 0, function () {
464
+ var baseURL, operationUrl, client, properties, headers, queryParams, httpRes, responseContentType, res, decodedRes, resFieldDepth;
465
+ return __generator(this, function (_c) {
466
+ switch (_c.label) {
467
+ case 0:
468
+ if (!(req instanceof utils.SpeakeasyBase)) {
469
+ req = new operations.ListTicketingCustomersRequest(req);
470
+ }
471
+ baseURL = utils.templateUrl(this.sdkConfiguration.serverURL, this.sdkConfiguration.serverDefaults);
472
+ operationUrl = utils.generateURL(baseURL, "/ticketing/{connection_id}/customer", req);
473
+ client = this.sdkConfiguration.defaultClient;
474
+ if (!(security instanceof utils.SpeakeasyBase)) {
475
+ security = new operations.ListTicketingCustomersSecurity(security);
476
+ }
477
+ properties = utils.parseSecurityProperties(security);
478
+ headers = __assign(__assign({}, config === null || config === void 0 ? void 0 : config.headers), properties.headers);
479
+ queryParams = utils.serializeQueryParams(req);
480
+ headers["Accept"] = "application/json";
481
+ headers["user-agent"] = this.sdkConfiguration.userAgent;
482
+ return [4 /*yield*/, client.request(__assign({ validateStatus: function () { return true; }, url: operationUrl + queryParams, method: "get", headers: headers, responseType: "arraybuffer" }, config))];
483
+ case 1:
484
+ httpRes = _c.sent();
485
+ responseContentType = (_b = (_a = httpRes === null || httpRes === void 0 ? void 0 : httpRes.headers) === null || _a === void 0 ? void 0 : _a["content-type"]) !== null && _b !== void 0 ? _b : "";
486
+ if ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) == null) {
487
+ throw new Error("status code not found in response: ".concat(httpRes));
488
+ }
489
+ res = new operations.ListTicketingCustomersResponse({
490
+ statusCode: httpRes.status,
491
+ contentType: responseContentType,
492
+ rawResponse: httpRes,
493
+ });
494
+ decodedRes = new TextDecoder().decode(httpRes === null || httpRes === void 0 ? void 0 : httpRes.data);
495
+ switch (true) {
496
+ case (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) == 200:
497
+ if (utils.matchContentType(responseContentType, "application/json")) {
498
+ res.ticketingCustomers = [];
499
+ resFieldDepth = utils.getResFieldDepth(res);
500
+ res.ticketingCustomers = utils.objectToClass(JSON.parse(decodedRes), shared.TicketingCustomer, resFieldDepth);
501
+ }
502
+ else {
503
+ throw new errors.SDKError("unknown content-type received: " + responseContentType, httpRes.status, decodedRes, httpRes);
504
+ }
505
+ break;
506
+ case ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 400 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 500) ||
507
+ ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 500 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 600):
508
+ throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
509
+ }
510
+ return [2 /*return*/, res];
511
+ }
512
+ });
513
+ });
514
+ };
515
+ /**
516
+ * List all notes
517
+ */
518
+ Ticketing.prototype.listTicketingNotes = function (req, security, config) {
519
+ var _a, _b;
520
+ return __awaiter(this, void 0, void 0, function () {
521
+ var baseURL, operationUrl, client, properties, headers, queryParams, httpRes, responseContentType, res, decodedRes, resFieldDepth;
522
+ return __generator(this, function (_c) {
523
+ switch (_c.label) {
524
+ case 0:
525
+ if (!(req instanceof utils.SpeakeasyBase)) {
526
+ req = new operations.ListTicketingNotesRequest(req);
527
+ }
528
+ baseURL = utils.templateUrl(this.sdkConfiguration.serverURL, this.sdkConfiguration.serverDefaults);
529
+ operationUrl = utils.generateURL(baseURL, "/ticketing/{connection_id}/note", req);
530
+ client = this.sdkConfiguration.defaultClient;
531
+ if (!(security instanceof utils.SpeakeasyBase)) {
532
+ security = new operations.ListTicketingNotesSecurity(security);
533
+ }
534
+ properties = utils.parseSecurityProperties(security);
535
+ headers = __assign(__assign({}, config === null || config === void 0 ? void 0 : config.headers), properties.headers);
536
+ queryParams = utils.serializeQueryParams(req);
537
+ headers["Accept"] = "application/json";
538
+ headers["user-agent"] = this.sdkConfiguration.userAgent;
539
+ return [4 /*yield*/, client.request(__assign({ validateStatus: function () { return true; }, url: operationUrl + queryParams, method: "get", headers: headers, responseType: "arraybuffer" }, config))];
540
+ case 1:
541
+ httpRes = _c.sent();
542
+ responseContentType = (_b = (_a = httpRes === null || httpRes === void 0 ? void 0 : httpRes.headers) === null || _a === void 0 ? void 0 : _a["content-type"]) !== null && _b !== void 0 ? _b : "";
543
+ if ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) == null) {
544
+ throw new Error("status code not found in response: ".concat(httpRes));
545
+ }
546
+ res = new operations.ListTicketingNotesResponse({
547
+ statusCode: httpRes.status,
548
+ contentType: responseContentType,
549
+ rawResponse: httpRes,
550
+ });
551
+ decodedRes = new TextDecoder().decode(httpRes === null || httpRes === void 0 ? void 0 : httpRes.data);
552
+ switch (true) {
553
+ case (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) == 200:
554
+ if (utils.matchContentType(responseContentType, "application/json")) {
555
+ res.ticketingNotes = [];
556
+ resFieldDepth = utils.getResFieldDepth(res);
557
+ res.ticketingNotes = utils.objectToClass(JSON.parse(decodedRes), shared.TicketingNote, resFieldDepth);
558
+ }
559
+ else {
560
+ throw new errors.SDKError("unknown content-type received: " + responseContentType, httpRes.status, decodedRes, httpRes);
561
+ }
562
+ break;
563
+ case ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 400 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 500) ||
564
+ ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 500 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 600):
565
+ throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
566
+ }
567
+ return [2 /*return*/, res];
568
+ }
569
+ });
570
+ });
571
+ };
572
+ /**
573
+ * List all tickets
574
+ */
575
+ Ticketing.prototype.listTicketingTickets = function (req, security, config) {
576
+ var _a, _b;
577
+ return __awaiter(this, void 0, void 0, function () {
578
+ var baseURL, operationUrl, client, properties, headers, queryParams, httpRes, responseContentType, res, decodedRes, resFieldDepth;
579
+ return __generator(this, function (_c) {
580
+ switch (_c.label) {
581
+ case 0:
582
+ if (!(req instanceof utils.SpeakeasyBase)) {
583
+ req = new operations.ListTicketingTicketsRequest(req);
584
+ }
585
+ baseURL = utils.templateUrl(this.sdkConfiguration.serverURL, this.sdkConfiguration.serverDefaults);
586
+ operationUrl = utils.generateURL(baseURL, "/ticketing/{connection_id}/ticket", req);
587
+ client = this.sdkConfiguration.defaultClient;
588
+ if (!(security instanceof utils.SpeakeasyBase)) {
589
+ security = new operations.ListTicketingTicketsSecurity(security);
590
+ }
591
+ properties = utils.parseSecurityProperties(security);
592
+ headers = __assign(__assign({}, config === null || config === void 0 ? void 0 : config.headers), properties.headers);
593
+ queryParams = utils.serializeQueryParams(req);
594
+ headers["Accept"] = "application/json";
595
+ headers["user-agent"] = this.sdkConfiguration.userAgent;
596
+ return [4 /*yield*/, client.request(__assign({ validateStatus: function () { return true; }, url: operationUrl + queryParams, method: "get", headers: headers, responseType: "arraybuffer" }, config))];
597
+ case 1:
598
+ httpRes = _c.sent();
599
+ responseContentType = (_b = (_a = httpRes === null || httpRes === void 0 ? void 0 : httpRes.headers) === null || _a === void 0 ? void 0 : _a["content-type"]) !== null && _b !== void 0 ? _b : "";
600
+ if ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) == null) {
601
+ throw new Error("status code not found in response: ".concat(httpRes));
602
+ }
603
+ res = new operations.ListTicketingTicketsResponse({
604
+ statusCode: httpRes.status,
605
+ contentType: responseContentType,
606
+ rawResponse: httpRes,
607
+ });
608
+ decodedRes = new TextDecoder().decode(httpRes === null || httpRes === void 0 ? void 0 : httpRes.data);
609
+ switch (true) {
610
+ case (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) == 200:
611
+ if (utils.matchContentType(responseContentType, "application/json")) {
612
+ res.ticketingTickets = [];
613
+ resFieldDepth = utils.getResFieldDepth(res);
614
+ res.ticketingTickets = utils.objectToClass(JSON.parse(decodedRes), shared.TicketingTicket, resFieldDepth);
615
+ }
616
+ else {
617
+ throw new errors.SDKError("unknown content-type received: " + responseContentType, httpRes.status, decodedRes, httpRes);
618
+ }
619
+ break;
620
+ case ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 400 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 500) ||
621
+ ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 500 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 600):
622
+ throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
623
+ }
624
+ return [2 /*return*/, res];
625
+ }
626
+ });
627
+ });
628
+ };
629
+ /**
630
+ * Update a customer
631
+ */
632
+ Ticketing.prototype.patchTicketingCustomer = function (req, security, config) {
633
+ var _a, _b;
634
+ return __awaiter(this, void 0, void 0, function () {
635
+ var baseURL, operationUrl, _c, reqBodyHeaders, reqBody, client, properties, headers, httpRes, responseContentType, res, decodedRes;
636
+ var _d;
637
+ return __generator(this, function (_e) {
638
+ switch (_e.label) {
639
+ case 0:
640
+ if (!(req instanceof utils.SpeakeasyBase)) {
641
+ req = new operations.PatchTicketingCustomerRequest(req);
642
+ }
643
+ baseURL = utils.templateUrl(this.sdkConfiguration.serverURL, this.sdkConfiguration.serverDefaults);
644
+ operationUrl = utils.generateURL(baseURL, "/ticketing/{connection_id}/customer/{id}", req);
645
+ _c = __read([{}, null], 2), reqBodyHeaders = _c[0], reqBody = _c[1];
646
+ try {
647
+ _d = __read(utils.serializeRequestBody(req, "ticketingCustomer", "json"), 2), reqBodyHeaders = _d[0], reqBody = _d[1];
648
+ }
649
+ catch (e) {
650
+ if (e instanceof Error) {
651
+ throw new Error("Error serializing request body, cause: ".concat(e.message));
652
+ }
653
+ }
654
+ client = this.sdkConfiguration.defaultClient;
655
+ if (!(security instanceof utils.SpeakeasyBase)) {
656
+ security = new operations.PatchTicketingCustomerSecurity(security);
657
+ }
658
+ properties = utils.parseSecurityProperties(security);
659
+ headers = __assign(__assign(__assign({}, reqBodyHeaders), config === null || config === void 0 ? void 0 : config.headers), properties.headers);
660
+ headers["Accept"] = "application/json";
661
+ headers["user-agent"] = this.sdkConfiguration.userAgent;
662
+ return [4 /*yield*/, client.request(__assign({ validateStatus: function () { return true; }, url: operationUrl, method: "patch", headers: headers, responseType: "arraybuffer", data: reqBody }, config))];
663
+ case 1:
664
+ httpRes = _e.sent();
665
+ responseContentType = (_b = (_a = httpRes === null || httpRes === void 0 ? void 0 : httpRes.headers) === null || _a === void 0 ? void 0 : _a["content-type"]) !== null && _b !== void 0 ? _b : "";
666
+ if ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) == null) {
667
+ throw new Error("status code not found in response: ".concat(httpRes));
668
+ }
669
+ res = new operations.PatchTicketingCustomerResponse({
670
+ statusCode: httpRes.status,
671
+ contentType: responseContentType,
672
+ rawResponse: httpRes,
673
+ });
674
+ decodedRes = new TextDecoder().decode(httpRes === null || httpRes === void 0 ? void 0 : httpRes.data);
675
+ switch (true) {
676
+ case (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) == 200:
677
+ if (utils.matchContentType(responseContentType, "application/json")) {
678
+ res.ticketingCustomer = utils.objectToClass(JSON.parse(decodedRes), shared.TicketingCustomer);
679
+ }
680
+ else {
681
+ throw new errors.SDKError("unknown content-type received: " + responseContentType, httpRes.status, decodedRes, httpRes);
682
+ }
683
+ break;
684
+ case ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 400 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 500) ||
685
+ ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 500 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 600):
686
+ throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
687
+ }
688
+ return [2 /*return*/, res];
689
+ }
690
+ });
691
+ });
692
+ };
693
+ /**
694
+ * Update a note
695
+ */
696
+ Ticketing.prototype.patchTicketingNote = function (req, security, config) {
697
+ var _a, _b;
698
+ return __awaiter(this, void 0, void 0, function () {
699
+ var baseURL, operationUrl, _c, reqBodyHeaders, reqBody, client, properties, headers, httpRes, responseContentType, res, decodedRes;
700
+ var _d;
701
+ return __generator(this, function (_e) {
702
+ switch (_e.label) {
703
+ case 0:
704
+ if (!(req instanceof utils.SpeakeasyBase)) {
705
+ req = new operations.PatchTicketingNoteRequest(req);
706
+ }
707
+ baseURL = utils.templateUrl(this.sdkConfiguration.serverURL, this.sdkConfiguration.serverDefaults);
708
+ operationUrl = utils.generateURL(baseURL, "/ticketing/{connection_id}/note/{id}", req);
709
+ _c = __read([{}, null], 2), reqBodyHeaders = _c[0], reqBody = _c[1];
710
+ try {
711
+ _d = __read(utils.serializeRequestBody(req, "ticketingNote", "json"), 2), reqBodyHeaders = _d[0], reqBody = _d[1];
712
+ }
713
+ catch (e) {
714
+ if (e instanceof Error) {
715
+ throw new Error("Error serializing request body, cause: ".concat(e.message));
716
+ }
717
+ }
718
+ client = this.sdkConfiguration.defaultClient;
719
+ if (!(security instanceof utils.SpeakeasyBase)) {
720
+ security = new operations.PatchTicketingNoteSecurity(security);
721
+ }
722
+ properties = utils.parseSecurityProperties(security);
723
+ headers = __assign(__assign(__assign({}, reqBodyHeaders), config === null || config === void 0 ? void 0 : config.headers), properties.headers);
724
+ headers["Accept"] = "application/json";
725
+ headers["user-agent"] = this.sdkConfiguration.userAgent;
726
+ return [4 /*yield*/, client.request(__assign({ validateStatus: function () { return true; }, url: operationUrl, method: "patch", headers: headers, responseType: "arraybuffer", data: reqBody }, config))];
727
+ case 1:
728
+ httpRes = _e.sent();
729
+ responseContentType = (_b = (_a = httpRes === null || httpRes === void 0 ? void 0 : httpRes.headers) === null || _a === void 0 ? void 0 : _a["content-type"]) !== null && _b !== void 0 ? _b : "";
730
+ if ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) == null) {
731
+ throw new Error("status code not found in response: ".concat(httpRes));
732
+ }
733
+ res = new operations.PatchTicketingNoteResponse({
734
+ statusCode: httpRes.status,
735
+ contentType: responseContentType,
736
+ rawResponse: httpRes,
737
+ });
738
+ decodedRes = new TextDecoder().decode(httpRes === null || httpRes === void 0 ? void 0 : httpRes.data);
739
+ switch (true) {
740
+ case (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) == 200:
741
+ if (utils.matchContentType(responseContentType, "application/json")) {
742
+ res.ticketingNote = utils.objectToClass(JSON.parse(decodedRes), shared.TicketingNote);
743
+ }
744
+ else {
745
+ throw new errors.SDKError("unknown content-type received: " + responseContentType, httpRes.status, decodedRes, httpRes);
746
+ }
747
+ break;
748
+ case ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 400 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 500) ||
749
+ ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 500 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 600):
750
+ throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
751
+ }
752
+ return [2 /*return*/, res];
753
+ }
754
+ });
755
+ });
756
+ };
757
+ /**
758
+ * Update a ticket
759
+ */
760
+ Ticketing.prototype.patchTicketingTicket = function (req, security, config) {
761
+ var _a, _b;
762
+ return __awaiter(this, void 0, void 0, function () {
763
+ var baseURL, operationUrl, _c, reqBodyHeaders, reqBody, client, properties, headers, httpRes, responseContentType, res, decodedRes;
764
+ var _d;
765
+ return __generator(this, function (_e) {
766
+ switch (_e.label) {
767
+ case 0:
768
+ if (!(req instanceof utils.SpeakeasyBase)) {
769
+ req = new operations.PatchTicketingTicketRequest(req);
770
+ }
771
+ baseURL = utils.templateUrl(this.sdkConfiguration.serverURL, this.sdkConfiguration.serverDefaults);
772
+ operationUrl = utils.generateURL(baseURL, "/ticketing/{connection_id}/ticket/{id}", req);
773
+ _c = __read([{}, null], 2), reqBodyHeaders = _c[0], reqBody = _c[1];
774
+ try {
775
+ _d = __read(utils.serializeRequestBody(req, "ticketingTicket", "json"), 2), reqBodyHeaders = _d[0], reqBody = _d[1];
776
+ }
777
+ catch (e) {
778
+ if (e instanceof Error) {
779
+ throw new Error("Error serializing request body, cause: ".concat(e.message));
780
+ }
781
+ }
782
+ client = this.sdkConfiguration.defaultClient;
783
+ if (!(security instanceof utils.SpeakeasyBase)) {
784
+ security = new operations.PatchTicketingTicketSecurity(security);
785
+ }
786
+ properties = utils.parseSecurityProperties(security);
787
+ headers = __assign(__assign(__assign({}, reqBodyHeaders), config === null || config === void 0 ? void 0 : config.headers), properties.headers);
788
+ headers["Accept"] = "application/json";
789
+ headers["user-agent"] = this.sdkConfiguration.userAgent;
790
+ return [4 /*yield*/, client.request(__assign({ validateStatus: function () { return true; }, url: operationUrl, method: "patch", headers: headers, responseType: "arraybuffer", data: reqBody }, config))];
791
+ case 1:
792
+ httpRes = _e.sent();
793
+ responseContentType = (_b = (_a = httpRes === null || httpRes === void 0 ? void 0 : httpRes.headers) === null || _a === void 0 ? void 0 : _a["content-type"]) !== null && _b !== void 0 ? _b : "";
794
+ if ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) == null) {
795
+ throw new Error("status code not found in response: ".concat(httpRes));
796
+ }
797
+ res = new operations.PatchTicketingTicketResponse({
798
+ statusCode: httpRes.status,
799
+ contentType: responseContentType,
800
+ rawResponse: httpRes,
801
+ });
802
+ decodedRes = new TextDecoder().decode(httpRes === null || httpRes === void 0 ? void 0 : httpRes.data);
803
+ switch (true) {
804
+ case (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) == 200:
805
+ if (utils.matchContentType(responseContentType, "application/json")) {
806
+ res.ticketingTicket = utils.objectToClass(JSON.parse(decodedRes), shared.TicketingTicket);
807
+ }
808
+ else {
809
+ throw new errors.SDKError("unknown content-type received: " + responseContentType, httpRes.status, decodedRes, httpRes);
810
+ }
811
+ break;
812
+ case ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 400 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 500) ||
813
+ ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 500 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 600):
814
+ throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
815
+ }
816
+ return [2 /*return*/, res];
817
+ }
818
+ });
819
+ });
820
+ };
821
+ /**
822
+ * Remove a customer
823
+ */
824
+ Ticketing.prototype.removeTicketingCustomer = function (req, security, config) {
825
+ var _a, _b;
826
+ return __awaiter(this, void 0, void 0, function () {
827
+ var baseURL, operationUrl, client, properties, headers, httpRes, responseContentType, res, decodedRes;
828
+ return __generator(this, function (_c) {
829
+ switch (_c.label) {
830
+ case 0:
831
+ if (!(req instanceof utils.SpeakeasyBase)) {
832
+ req = new operations.RemoveTicketingCustomerRequest(req);
833
+ }
834
+ baseURL = utils.templateUrl(this.sdkConfiguration.serverURL, this.sdkConfiguration.serverDefaults);
835
+ operationUrl = utils.generateURL(baseURL, "/ticketing/{connection_id}/customer/{id}", req);
836
+ client = this.sdkConfiguration.defaultClient;
837
+ if (!(security instanceof utils.SpeakeasyBase)) {
838
+ security = new operations.RemoveTicketingCustomerSecurity(security);
839
+ }
840
+ properties = utils.parseSecurityProperties(security);
841
+ headers = __assign(__assign({}, config === null || config === void 0 ? void 0 : config.headers), properties.headers);
842
+ headers["Accept"] = "application/json";
843
+ headers["user-agent"] = this.sdkConfiguration.userAgent;
844
+ return [4 /*yield*/, client.request(__assign({ validateStatus: function () { return true; }, url: operationUrl, method: "delete", headers: headers, responseType: "arraybuffer" }, config))];
845
+ case 1:
846
+ httpRes = _c.sent();
847
+ responseContentType = (_b = (_a = httpRes === null || httpRes === void 0 ? void 0 : httpRes.headers) === null || _a === void 0 ? void 0 : _a["content-type"]) !== null && _b !== void 0 ? _b : "";
848
+ if ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) == null) {
849
+ throw new Error("status code not found in response: ".concat(httpRes));
850
+ }
851
+ res = new operations.RemoveTicketingCustomerResponse({
852
+ statusCode: httpRes.status,
853
+ contentType: responseContentType,
854
+ rawResponse: httpRes,
855
+ });
856
+ decodedRes = new TextDecoder().decode(httpRes === null || httpRes === void 0 ? void 0 : httpRes.data);
857
+ switch (true) {
858
+ case ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 400 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 500) ||
859
+ ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 500 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 600):
860
+ throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
861
+ default:
862
+ if (utils.matchContentType(responseContentType, "application/json")) {
863
+ res.res = decodedRes;
864
+ }
865
+ else {
866
+ throw new errors.SDKError("unknown content-type received: " + responseContentType, httpRes.status, decodedRes, httpRes);
867
+ }
868
+ break;
869
+ }
870
+ return [2 /*return*/, res];
871
+ }
872
+ });
873
+ });
874
+ };
875
+ /**
876
+ * Remove a note
877
+ */
878
+ Ticketing.prototype.removeTicketingNote = function (req, security, config) {
879
+ var _a, _b;
880
+ return __awaiter(this, void 0, void 0, function () {
881
+ var baseURL, operationUrl, client, properties, headers, httpRes, responseContentType, res, decodedRes;
882
+ return __generator(this, function (_c) {
883
+ switch (_c.label) {
884
+ case 0:
885
+ if (!(req instanceof utils.SpeakeasyBase)) {
886
+ req = new operations.RemoveTicketingNoteRequest(req);
887
+ }
888
+ baseURL = utils.templateUrl(this.sdkConfiguration.serverURL, this.sdkConfiguration.serverDefaults);
889
+ operationUrl = utils.generateURL(baseURL, "/ticketing/{connection_id}/note/{id}", req);
890
+ client = this.sdkConfiguration.defaultClient;
891
+ if (!(security instanceof utils.SpeakeasyBase)) {
892
+ security = new operations.RemoveTicketingNoteSecurity(security);
893
+ }
894
+ properties = utils.parseSecurityProperties(security);
895
+ headers = __assign(__assign({}, config === null || config === void 0 ? void 0 : config.headers), properties.headers);
896
+ headers["Accept"] = "application/json";
897
+ headers["user-agent"] = this.sdkConfiguration.userAgent;
898
+ return [4 /*yield*/, client.request(__assign({ validateStatus: function () { return true; }, url: operationUrl, method: "delete", headers: headers, responseType: "arraybuffer" }, config))];
899
+ case 1:
900
+ httpRes = _c.sent();
901
+ responseContentType = (_b = (_a = httpRes === null || httpRes === void 0 ? void 0 : httpRes.headers) === null || _a === void 0 ? void 0 : _a["content-type"]) !== null && _b !== void 0 ? _b : "";
902
+ if ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) == null) {
903
+ throw new Error("status code not found in response: ".concat(httpRes));
904
+ }
905
+ res = new operations.RemoveTicketingNoteResponse({
906
+ statusCode: httpRes.status,
907
+ contentType: responseContentType,
908
+ rawResponse: httpRes,
909
+ });
910
+ decodedRes = new TextDecoder().decode(httpRes === null || httpRes === void 0 ? void 0 : httpRes.data);
911
+ switch (true) {
912
+ case ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 400 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 500) ||
913
+ ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 500 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 600):
914
+ throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
915
+ default:
916
+ if (utils.matchContentType(responseContentType, "application/json")) {
917
+ res.res = decodedRes;
918
+ }
919
+ else {
920
+ throw new errors.SDKError("unknown content-type received: " + responseContentType, httpRes.status, decodedRes, httpRes);
921
+ }
922
+ break;
923
+ }
924
+ return [2 /*return*/, res];
925
+ }
926
+ });
927
+ });
928
+ };
929
+ /**
930
+ * Remove a ticket
931
+ */
932
+ Ticketing.prototype.removeTicketingTicket = function (req, security, config) {
933
+ var _a, _b;
934
+ return __awaiter(this, void 0, void 0, function () {
935
+ var baseURL, operationUrl, client, properties, headers, httpRes, responseContentType, res, decodedRes;
936
+ return __generator(this, function (_c) {
937
+ switch (_c.label) {
938
+ case 0:
939
+ if (!(req instanceof utils.SpeakeasyBase)) {
940
+ req = new operations.RemoveTicketingTicketRequest(req);
941
+ }
942
+ baseURL = utils.templateUrl(this.sdkConfiguration.serverURL, this.sdkConfiguration.serverDefaults);
943
+ operationUrl = utils.generateURL(baseURL, "/ticketing/{connection_id}/ticket/{id}", req);
944
+ client = this.sdkConfiguration.defaultClient;
945
+ if (!(security instanceof utils.SpeakeasyBase)) {
946
+ security = new operations.RemoveTicketingTicketSecurity(security);
947
+ }
948
+ properties = utils.parseSecurityProperties(security);
949
+ headers = __assign(__assign({}, config === null || config === void 0 ? void 0 : config.headers), properties.headers);
950
+ headers["Accept"] = "application/json";
951
+ headers["user-agent"] = this.sdkConfiguration.userAgent;
952
+ return [4 /*yield*/, client.request(__assign({ validateStatus: function () { return true; }, url: operationUrl, method: "delete", headers: headers, responseType: "arraybuffer" }, config))];
953
+ case 1:
954
+ httpRes = _c.sent();
955
+ responseContentType = (_b = (_a = httpRes === null || httpRes === void 0 ? void 0 : httpRes.headers) === null || _a === void 0 ? void 0 : _a["content-type"]) !== null && _b !== void 0 ? _b : "";
956
+ if ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) == null) {
957
+ throw new Error("status code not found in response: ".concat(httpRes));
958
+ }
959
+ res = new operations.RemoveTicketingTicketResponse({
960
+ statusCode: httpRes.status,
961
+ contentType: responseContentType,
962
+ rawResponse: httpRes,
963
+ });
964
+ decodedRes = new TextDecoder().decode(httpRes === null || httpRes === void 0 ? void 0 : httpRes.data);
965
+ switch (true) {
966
+ case ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 400 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 500) ||
967
+ ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 500 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 600):
968
+ throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
969
+ default:
970
+ if (utils.matchContentType(responseContentType, "application/json")) {
971
+ res.res = decodedRes;
972
+ }
973
+ else {
974
+ throw new errors.SDKError("unknown content-type received: " + responseContentType, httpRes.status, decodedRes, httpRes);
975
+ }
976
+ break;
977
+ }
978
+ return [2 /*return*/, res];
979
+ }
980
+ });
981
+ });
982
+ };
983
+ /**
984
+ * Update a customer
985
+ */
986
+ Ticketing.prototype.updateTicketingCustomer = function (req, security, config) {
987
+ var _a, _b;
988
+ return __awaiter(this, void 0, void 0, function () {
989
+ var baseURL, operationUrl, _c, reqBodyHeaders, reqBody, client, properties, headers, httpRes, responseContentType, res, decodedRes;
990
+ var _d;
991
+ return __generator(this, function (_e) {
992
+ switch (_e.label) {
993
+ case 0:
994
+ if (!(req instanceof utils.SpeakeasyBase)) {
995
+ req = new operations.UpdateTicketingCustomerRequest(req);
996
+ }
997
+ baseURL = utils.templateUrl(this.sdkConfiguration.serverURL, this.sdkConfiguration.serverDefaults);
998
+ operationUrl = utils.generateURL(baseURL, "/ticketing/{connection_id}/customer/{id}", req);
999
+ _c = __read([{}, null], 2), reqBodyHeaders = _c[0], reqBody = _c[1];
1000
+ try {
1001
+ _d = __read(utils.serializeRequestBody(req, "ticketingCustomer", "json"), 2), reqBodyHeaders = _d[0], reqBody = _d[1];
1002
+ }
1003
+ catch (e) {
1004
+ if (e instanceof Error) {
1005
+ throw new Error("Error serializing request body, cause: ".concat(e.message));
1006
+ }
1007
+ }
1008
+ client = this.sdkConfiguration.defaultClient;
1009
+ if (!(security instanceof utils.SpeakeasyBase)) {
1010
+ security = new operations.UpdateTicketingCustomerSecurity(security);
1011
+ }
1012
+ properties = utils.parseSecurityProperties(security);
1013
+ headers = __assign(__assign(__assign({}, reqBodyHeaders), config === null || config === void 0 ? void 0 : config.headers), properties.headers);
1014
+ headers["Accept"] = "application/json";
1015
+ headers["user-agent"] = this.sdkConfiguration.userAgent;
1016
+ return [4 /*yield*/, client.request(__assign({ validateStatus: function () { return true; }, url: operationUrl, method: "put", headers: headers, responseType: "arraybuffer", data: reqBody }, config))];
1017
+ case 1:
1018
+ httpRes = _e.sent();
1019
+ responseContentType = (_b = (_a = httpRes === null || httpRes === void 0 ? void 0 : httpRes.headers) === null || _a === void 0 ? void 0 : _a["content-type"]) !== null && _b !== void 0 ? _b : "";
1020
+ if ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) == null) {
1021
+ throw new Error("status code not found in response: ".concat(httpRes));
1022
+ }
1023
+ res = new operations.UpdateTicketingCustomerResponse({
1024
+ statusCode: httpRes.status,
1025
+ contentType: responseContentType,
1026
+ rawResponse: httpRes,
1027
+ });
1028
+ decodedRes = new TextDecoder().decode(httpRes === null || httpRes === void 0 ? void 0 : httpRes.data);
1029
+ switch (true) {
1030
+ case (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) == 200:
1031
+ if (utils.matchContentType(responseContentType, "application/json")) {
1032
+ res.ticketingCustomer = utils.objectToClass(JSON.parse(decodedRes), shared.TicketingCustomer);
1033
+ }
1034
+ else {
1035
+ throw new errors.SDKError("unknown content-type received: " + responseContentType, httpRes.status, decodedRes, httpRes);
1036
+ }
1037
+ break;
1038
+ case ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 400 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 500) ||
1039
+ ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 500 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 600):
1040
+ throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
1041
+ }
1042
+ return [2 /*return*/, res];
1043
+ }
1044
+ });
1045
+ });
1046
+ };
1047
+ /**
1048
+ * Update a note
1049
+ */
1050
+ Ticketing.prototype.updateTicketingNote = function (req, security, config) {
1051
+ var _a, _b;
1052
+ return __awaiter(this, void 0, void 0, function () {
1053
+ var baseURL, operationUrl, _c, reqBodyHeaders, reqBody, client, properties, headers, httpRes, responseContentType, res, decodedRes;
1054
+ var _d;
1055
+ return __generator(this, function (_e) {
1056
+ switch (_e.label) {
1057
+ case 0:
1058
+ if (!(req instanceof utils.SpeakeasyBase)) {
1059
+ req = new operations.UpdateTicketingNoteRequest(req);
1060
+ }
1061
+ baseURL = utils.templateUrl(this.sdkConfiguration.serverURL, this.sdkConfiguration.serverDefaults);
1062
+ operationUrl = utils.generateURL(baseURL, "/ticketing/{connection_id}/note/{id}", req);
1063
+ _c = __read([{}, null], 2), reqBodyHeaders = _c[0], reqBody = _c[1];
1064
+ try {
1065
+ _d = __read(utils.serializeRequestBody(req, "ticketingNote", "json"), 2), reqBodyHeaders = _d[0], reqBody = _d[1];
1066
+ }
1067
+ catch (e) {
1068
+ if (e instanceof Error) {
1069
+ throw new Error("Error serializing request body, cause: ".concat(e.message));
1070
+ }
1071
+ }
1072
+ client = this.sdkConfiguration.defaultClient;
1073
+ if (!(security instanceof utils.SpeakeasyBase)) {
1074
+ security = new operations.UpdateTicketingNoteSecurity(security);
1075
+ }
1076
+ properties = utils.parseSecurityProperties(security);
1077
+ headers = __assign(__assign(__assign({}, reqBodyHeaders), config === null || config === void 0 ? void 0 : config.headers), properties.headers);
1078
+ headers["Accept"] = "application/json";
1079
+ headers["user-agent"] = this.sdkConfiguration.userAgent;
1080
+ return [4 /*yield*/, client.request(__assign({ validateStatus: function () { return true; }, url: operationUrl, method: "put", headers: headers, responseType: "arraybuffer", data: reqBody }, config))];
1081
+ case 1:
1082
+ httpRes = _e.sent();
1083
+ responseContentType = (_b = (_a = httpRes === null || httpRes === void 0 ? void 0 : httpRes.headers) === null || _a === void 0 ? void 0 : _a["content-type"]) !== null && _b !== void 0 ? _b : "";
1084
+ if ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) == null) {
1085
+ throw new Error("status code not found in response: ".concat(httpRes));
1086
+ }
1087
+ res = new operations.UpdateTicketingNoteResponse({
1088
+ statusCode: httpRes.status,
1089
+ contentType: responseContentType,
1090
+ rawResponse: httpRes,
1091
+ });
1092
+ decodedRes = new TextDecoder().decode(httpRes === null || httpRes === void 0 ? void 0 : httpRes.data);
1093
+ switch (true) {
1094
+ case (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) == 200:
1095
+ if (utils.matchContentType(responseContentType, "application/json")) {
1096
+ res.ticketingNote = utils.objectToClass(JSON.parse(decodedRes), shared.TicketingNote);
1097
+ }
1098
+ else {
1099
+ throw new errors.SDKError("unknown content-type received: " + responseContentType, httpRes.status, decodedRes, httpRes);
1100
+ }
1101
+ break;
1102
+ case ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 400 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 500) ||
1103
+ ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 500 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 600):
1104
+ throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
1105
+ }
1106
+ return [2 /*return*/, res];
1107
+ }
1108
+ });
1109
+ });
1110
+ };
1111
+ /**
1112
+ * Update a ticket
1113
+ */
1114
+ Ticketing.prototype.updateTicketingTicket = function (req, security, config) {
1115
+ var _a, _b;
1116
+ return __awaiter(this, void 0, void 0, function () {
1117
+ var baseURL, operationUrl, _c, reqBodyHeaders, reqBody, client, properties, headers, httpRes, responseContentType, res, decodedRes;
1118
+ var _d;
1119
+ return __generator(this, function (_e) {
1120
+ switch (_e.label) {
1121
+ case 0:
1122
+ if (!(req instanceof utils.SpeakeasyBase)) {
1123
+ req = new operations.UpdateTicketingTicketRequest(req);
1124
+ }
1125
+ baseURL = utils.templateUrl(this.sdkConfiguration.serverURL, this.sdkConfiguration.serverDefaults);
1126
+ operationUrl = utils.generateURL(baseURL, "/ticketing/{connection_id}/ticket/{id}", req);
1127
+ _c = __read([{}, null], 2), reqBodyHeaders = _c[0], reqBody = _c[1];
1128
+ try {
1129
+ _d = __read(utils.serializeRequestBody(req, "ticketingTicket", "json"), 2), reqBodyHeaders = _d[0], reqBody = _d[1];
1130
+ }
1131
+ catch (e) {
1132
+ if (e instanceof Error) {
1133
+ throw new Error("Error serializing request body, cause: ".concat(e.message));
1134
+ }
1135
+ }
1136
+ client = this.sdkConfiguration.defaultClient;
1137
+ if (!(security instanceof utils.SpeakeasyBase)) {
1138
+ security = new operations.UpdateTicketingTicketSecurity(security);
1139
+ }
1140
+ properties = utils.parseSecurityProperties(security);
1141
+ headers = __assign(__assign(__assign({}, reqBodyHeaders), config === null || config === void 0 ? void 0 : config.headers), properties.headers);
1142
+ headers["Accept"] = "application/json";
1143
+ headers["user-agent"] = this.sdkConfiguration.userAgent;
1144
+ return [4 /*yield*/, client.request(__assign({ validateStatus: function () { return true; }, url: operationUrl, method: "put", headers: headers, responseType: "arraybuffer", data: reqBody }, config))];
1145
+ case 1:
1146
+ httpRes = _e.sent();
1147
+ responseContentType = (_b = (_a = httpRes === null || httpRes === void 0 ? void 0 : httpRes.headers) === null || _a === void 0 ? void 0 : _a["content-type"]) !== null && _b !== void 0 ? _b : "";
1148
+ if ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) == null) {
1149
+ throw new Error("status code not found in response: ".concat(httpRes));
1150
+ }
1151
+ res = new operations.UpdateTicketingTicketResponse({
1152
+ statusCode: httpRes.status,
1153
+ contentType: responseContentType,
1154
+ rawResponse: httpRes,
1155
+ });
1156
+ decodedRes = new TextDecoder().decode(httpRes === null || httpRes === void 0 ? void 0 : httpRes.data);
1157
+ switch (true) {
1158
+ case (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) == 200:
1159
+ if (utils.matchContentType(responseContentType, "application/json")) {
1160
+ res.ticketingTicket = utils.objectToClass(JSON.parse(decodedRes), shared.TicketingTicket);
1161
+ }
1162
+ else {
1163
+ throw new errors.SDKError("unknown content-type received: " + responseContentType, httpRes.status, decodedRes, httpRes);
1164
+ }
1165
+ break;
1166
+ case ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 400 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 500) ||
1167
+ ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) >= 500 && (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) < 600):
1168
+ throw new errors.SDKError("API error occurred", httpRes.status, decodedRes, httpRes);
1169
+ }
1170
+ return [2 /*return*/, res];
1171
+ }
1172
+ });
1173
+ });
1174
+ };
1175
+ return Ticketing;
1176
+ }());
1177
+ exports.Ticketing = Ticketing;