@apideck/unify 0.21.1 → 0.23.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 (371) hide show
  1. package/docs/sdks/connections/README.md +2 -6
  2. package/docs/sdks/connectionsettings/README.md +2 -6
  3. package/docs/sdks/employees/README.md +4 -0
  4. package/jsr.json +1 -1
  5. package/lib/config.d.ts +4 -4
  6. package/lib/config.js +4 -4
  7. package/lib/matchers.d.ts +3 -1
  8. package/lib/matchers.d.ts.map +1 -1
  9. package/lib/matchers.js +12 -0
  10. package/lib/matchers.js.map +1 -1
  11. package/lib/sdks.js +7 -2
  12. package/lib/sdks.js.map +1 -1
  13. package/models/components/{accountingdepartmentinput.d.ts → accountingdepartment.d.ts} +61 -51
  14. package/models/components/accountingdepartment.d.ts.map +1 -0
  15. package/models/components/{accountingdepartmentinput.js → accountingdepartment.js} +55 -51
  16. package/models/components/accountingdepartment.js.map +1 -0
  17. package/models/components/{accountinglocationinput.d.ts → accountinglocation.d.ts} +58 -58
  18. package/models/components/accountinglocation.d.ts.map +1 -0
  19. package/models/components/{accountinglocationinput.js → accountinglocation.js} +56 -56
  20. package/models/components/accountinglocation.js.map +1 -0
  21. package/models/components/activity.d.ts +1 -1
  22. package/models/components/activity.d.ts.map +1 -1
  23. package/models/components/activity.js +5 -5
  24. package/models/components/activity.js.map +1 -1
  25. package/models/components/{activityattendeeinput.d.ts → activityattendee.d.ts} +51 -51
  26. package/models/components/activityattendee.d.ts.map +1 -0
  27. package/models/components/{activityattendeeinput.js → activityattendee.js} +48 -48
  28. package/models/components/activityattendee.js.map +1 -0
  29. package/models/components/{allocationinput.d.ts → allocation.d.ts} +29 -29
  30. package/models/components/allocation.d.ts.map +1 -0
  31. package/models/components/{allocationinput.js → allocation.js} +32 -32
  32. package/models/components/allocation.js.map +1 -0
  33. package/models/components/{applicationinput.d.ts → application.d.ts} +37 -37
  34. package/models/components/application.d.ts.map +1 -0
  35. package/models/components/{applicationinput.js → application.js} +49 -49
  36. package/models/components/application.js.map +1 -0
  37. package/models/components/{billpaymentinput.d.ts → billpayment.d.ts} +102 -102
  38. package/models/components/billpayment.d.ts.map +1 -0
  39. package/models/components/{billpaymentinput.js → billpayment.js} +100 -100
  40. package/models/components/billpayment.js.map +1 -0
  41. package/models/components/companyinfo.d.ts +1 -1
  42. package/models/components/companyinfo.d.ts.map +1 -1
  43. package/models/components/companyinfo.js +3 -3
  44. package/models/components/companyinfo.js.map +1 -1
  45. package/models/components/{connectioninput.d.ts → connection.d.ts} +139 -139
  46. package/models/components/connection.d.ts.map +1 -0
  47. package/models/components/{connectioninput.js → connection.js} +150 -150
  48. package/models/components/connection.js.map +1 -0
  49. package/models/components/createconnectionresponse.d.ts +1 -1
  50. package/models/components/createconnectionresponse.d.ts.map +1 -1
  51. package/models/components/createconnectionresponse.js +3 -3
  52. package/models/components/createconnectionresponse.js.map +1 -1
  53. package/models/components/creditnote.d.ts +2 -2
  54. package/models/components/creditnote.d.ts.map +1 -1
  55. package/models/components/creditnote.js +10 -10
  56. package/models/components/creditnote.js.map +1 -1
  57. package/models/components/{employeeinput.d.ts → employee.d.ts} +70 -70
  58. package/models/components/employee.d.ts.map +1 -0
  59. package/models/components/{employeeinput.js → employee.js} +67 -67
  60. package/models/components/employee.js.map +1 -0
  61. package/models/components/{employeejobinput.d.ts → employeejob.d.ts} +37 -37
  62. package/models/components/employeejob.d.ts.map +1 -0
  63. package/models/components/{employeejobinput.js → employeejob.js} +36 -36
  64. package/models/components/employeejob.js.map +1 -0
  65. package/models/components/employeeschedules.d.ts +1 -1
  66. package/models/components/employeeschedules.d.ts.map +1 -1
  67. package/models/components/employeeschedules.js +3 -3
  68. package/models/components/employeeschedules.js.map +1 -1
  69. package/models/components/employeesfilter.d.ts +5 -0
  70. package/models/components/employeesfilter.d.ts.map +1 -1
  71. package/models/components/employeesfilter.js +2 -0
  72. package/models/components/employeesfilter.js.map +1 -1
  73. package/models/components/{expenseinput.d.ts → expense.d.ts} +55 -55
  74. package/models/components/expense.d.ts.map +1 -0
  75. package/models/components/{expenseinput.js → expense.js} +52 -52
  76. package/models/components/expense.js.map +1 -0
  77. package/models/components/getaccountingdepartmentresponse.d.ts +1 -1
  78. package/models/components/getaccountingdepartmentresponse.d.ts.map +1 -1
  79. package/models/components/getaccountingdepartmentresponse.js +3 -3
  80. package/models/components/getaccountingdepartmentresponse.js.map +1 -1
  81. package/models/components/getaccountingdepartmentsresponse.d.ts +1 -1
  82. package/models/components/getaccountingdepartmentsresponse.d.ts.map +1 -1
  83. package/models/components/getaccountingdepartmentsresponse.js +3 -3
  84. package/models/components/getaccountingdepartmentsresponse.js.map +1 -1
  85. package/models/components/getaccountinglocationresponse.d.ts +1 -1
  86. package/models/components/getaccountinglocationresponse.d.ts.map +1 -1
  87. package/models/components/getaccountinglocationresponse.js +3 -3
  88. package/models/components/getaccountinglocationresponse.js.map +1 -1
  89. package/models/components/getaccountinglocationsresponse.d.ts +1 -1
  90. package/models/components/getaccountinglocationsresponse.d.ts.map +1 -1
  91. package/models/components/getaccountinglocationsresponse.js +3 -3
  92. package/models/components/getaccountinglocationsresponse.js.map +1 -1
  93. package/models/components/getapplicationresponse.d.ts +1 -1
  94. package/models/components/getapplicationresponse.d.ts.map +1 -1
  95. package/models/components/getapplicationresponse.js +3 -3
  96. package/models/components/getapplicationresponse.js.map +1 -1
  97. package/models/components/getapplicationsresponse.d.ts +1 -1
  98. package/models/components/getapplicationsresponse.d.ts.map +1 -1
  99. package/models/components/getapplicationsresponse.js +3 -3
  100. package/models/components/getapplicationsresponse.js.map +1 -1
  101. package/models/components/getbillpaymentresponse.d.ts +1 -1
  102. package/models/components/getbillpaymentresponse.d.ts.map +1 -1
  103. package/models/components/getbillpaymentresponse.js +3 -3
  104. package/models/components/getbillpaymentresponse.js.map +1 -1
  105. package/models/components/getbillpaymentsresponse.d.ts +1 -1
  106. package/models/components/getbillpaymentsresponse.d.ts.map +1 -1
  107. package/models/components/getbillpaymentsresponse.js +3 -3
  108. package/models/components/getbillpaymentsresponse.js.map +1 -1
  109. package/models/components/getconnectionresponse.d.ts +1 -1
  110. package/models/components/getconnectionresponse.d.ts.map +1 -1
  111. package/models/components/getconnectionresponse.js +3 -3
  112. package/models/components/getconnectionresponse.js.map +1 -1
  113. package/models/components/getconnectionsresponse.d.ts +1 -1
  114. package/models/components/getconnectionsresponse.d.ts.map +1 -1
  115. package/models/components/getconnectionsresponse.js +3 -3
  116. package/models/components/getconnectionsresponse.js.map +1 -1
  117. package/models/components/getemployeeresponse.d.ts +1 -1
  118. package/models/components/getemployeeresponse.d.ts.map +1 -1
  119. package/models/components/getemployeeresponse.js +3 -3
  120. package/models/components/getemployeeresponse.js.map +1 -1
  121. package/models/components/getemployeesresponse.d.ts +1 -1
  122. package/models/components/getemployeesresponse.d.ts.map +1 -1
  123. package/models/components/getemployeesresponse.js +3 -3
  124. package/models/components/getemployeesresponse.js.map +1 -1
  125. package/models/components/getexpenseresponse.d.ts +1 -1
  126. package/models/components/getexpenseresponse.d.ts.map +1 -1
  127. package/models/components/getexpenseresponse.js +3 -3
  128. package/models/components/getexpenseresponse.js.map +1 -1
  129. package/models/components/getexpensesresponse.d.ts +1 -1
  130. package/models/components/getexpensesresponse.d.ts.map +1 -1
  131. package/models/components/getexpensesresponse.js +3 -3
  132. package/models/components/getexpensesresponse.js.map +1 -1
  133. package/models/components/gethriscompaniesresponse.d.ts +1 -1
  134. package/models/components/gethriscompaniesresponse.d.ts.map +1 -1
  135. package/models/components/gethriscompaniesresponse.js +3 -3
  136. package/models/components/gethriscompaniesresponse.js.map +1 -1
  137. package/models/components/gethriscompanyresponse.d.ts +1 -1
  138. package/models/components/gethriscompanyresponse.d.ts.map +1 -1
  139. package/models/components/gethriscompanyresponse.js +3 -3
  140. package/models/components/gethriscompanyresponse.js.map +1 -1
  141. package/models/components/getinvoiceresponse.d.ts +1 -1
  142. package/models/components/getinvoiceresponse.d.ts.map +1 -1
  143. package/models/components/getinvoiceresponse.js +3 -3
  144. package/models/components/getinvoiceresponse.js.map +1 -1
  145. package/models/components/getinvoicesresponse.d.ts +1 -1
  146. package/models/components/getinvoicesresponse.d.ts.map +1 -1
  147. package/models/components/getinvoicesresponse.js +3 -3
  148. package/models/components/getinvoicesresponse.js.map +1 -1
  149. package/models/components/getledgeraccountresponse.d.ts +1 -1
  150. package/models/components/getledgeraccountresponse.d.ts.map +1 -1
  151. package/models/components/getledgeraccountresponse.js +3 -3
  152. package/models/components/getledgeraccountresponse.js.map +1 -1
  153. package/models/components/getledgeraccountsresponse.d.ts +1 -1
  154. package/models/components/getledgeraccountsresponse.d.ts.map +1 -1
  155. package/models/components/getledgeraccountsresponse.js +3 -3
  156. package/models/components/getledgeraccountsresponse.js.map +1 -1
  157. package/models/components/getmessageresponse.d.ts +1 -1
  158. package/models/components/getmessageresponse.d.ts.map +1 -1
  159. package/models/components/getmessageresponse.js +3 -3
  160. package/models/components/getmessageresponse.js.map +1 -1
  161. package/models/components/getmessagesresponse.d.ts +1 -1
  162. package/models/components/getmessagesresponse.d.ts.map +1 -1
  163. package/models/components/getmessagesresponse.js +3 -3
  164. package/models/components/getmessagesresponse.js.map +1 -1
  165. package/models/components/getsharedlinkresponse.d.ts +1 -1
  166. package/models/components/getsharedlinkresponse.d.ts.map +1 -1
  167. package/models/components/getsharedlinkresponse.js +3 -3
  168. package/models/components/getsharedlinkresponse.js.map +1 -1
  169. package/models/components/getsharedlinksresponse.d.ts +1 -1
  170. package/models/components/getsharedlinksresponse.d.ts.map +1 -1
  171. package/models/components/getsharedlinksresponse.js +3 -3
  172. package/models/components/getsharedlinksresponse.js.map +1 -1
  173. package/models/components/gettaxrateresponse.d.ts +1 -1
  174. package/models/components/gettaxrateresponse.d.ts.map +1 -1
  175. package/models/components/gettaxrateresponse.js +3 -3
  176. package/models/components/gettaxrateresponse.js.map +1 -1
  177. package/models/components/gettaxratesresponse.d.ts +1 -1
  178. package/models/components/gettaxratesresponse.d.ts.map +1 -1
  179. package/models/components/gettaxratesresponse.js +3 -3
  180. package/models/components/gettaxratesresponse.js.map +1 -1
  181. package/models/components/gettimeoffrequestresponse.d.ts +1 -1
  182. package/models/components/gettimeoffrequestresponse.d.ts.map +1 -1
  183. package/models/components/gettimeoffrequestresponse.js +3 -3
  184. package/models/components/gettimeoffrequestresponse.js.map +1 -1
  185. package/models/components/gettimeoffrequestsresponse.d.ts +1 -1
  186. package/models/components/gettimeoffrequestsresponse.d.ts.map +1 -1
  187. package/models/components/gettimeoffrequestsresponse.js +3 -3
  188. package/models/components/gettimeoffrequestsresponse.js.map +1 -1
  189. package/models/components/gettrackingcategoriesresponse.d.ts +1 -1
  190. package/models/components/gettrackingcategoriesresponse.d.ts.map +1 -1
  191. package/models/components/gettrackingcategoriesresponse.js +3 -3
  192. package/models/components/gettrackingcategoriesresponse.js.map +1 -1
  193. package/models/components/gettrackingcategoryresponse.d.ts +1 -1
  194. package/models/components/gettrackingcategoryresponse.d.ts.map +1 -1
  195. package/models/components/gettrackingcategoryresponse.js +3 -3
  196. package/models/components/gettrackingcategoryresponse.js.map +1 -1
  197. package/models/components/{hriscompanyinput.d.ts → hriscompany.d.ts} +55 -55
  198. package/models/components/hriscompany.d.ts.map +1 -0
  199. package/models/components/{hriscompanyinput.js → hriscompany.js} +54 -54
  200. package/models/components/hriscompany.js.map +1 -0
  201. package/models/components/index.d.ts +20 -20
  202. package/models/components/index.d.ts.map +1 -1
  203. package/models/components/index.js +20 -20
  204. package/models/components/index.js.map +1 -1
  205. package/models/components/{invoiceinput.d.ts → invoice.d.ts} +122 -74
  206. package/models/components/invoice.d.ts.map +1 -0
  207. package/models/components/{invoiceinput.js → invoice.js} +119 -72
  208. package/models/components/invoice.js.map +1 -0
  209. package/models/components/{invoicelineiteminput.d.ts → invoicelineitem.d.ts} +58 -55
  210. package/models/components/invoicelineitem.d.ts.map +1 -0
  211. package/models/components/{invoicelineiteminput.js → invoicelineitem.js} +55 -54
  212. package/models/components/invoicelineitem.js.map +1 -0
  213. package/models/components/journalentry.d.ts +1 -1
  214. package/models/components/journalentry.d.ts.map +1 -1
  215. package/models/components/journalentry.js +3 -3
  216. package/models/components/journalentry.js.map +1 -1
  217. package/models/components/journalentryinput.d.ts +1 -1
  218. package/models/components/journalentryinput.d.ts.map +1 -1
  219. package/models/components/journalentryinput.js +3 -3
  220. package/models/components/journalentryinput.js.map +1 -1
  221. package/models/components/{journalentrylineiteminput.d.ts → journalentrylineitem.d.ts} +48 -48
  222. package/models/components/journalentrylineitem.d.ts.map +1 -0
  223. package/models/components/{journalentrylineiteminput.js → journalentrylineitem.js} +48 -48
  224. package/models/components/journalentrylineitem.js.map +1 -0
  225. package/models/components/{ledgeraccountinput.d.ts → ledgeraccount.d.ts} +129 -129
  226. package/models/components/ledgeraccount.d.ts.map +1 -0
  227. package/models/components/{ledgeraccountinput.js → ledgeraccount.js} +128 -128
  228. package/models/components/ledgeraccount.js.map +1 -0
  229. package/models/components/{messageinput.d.ts → message.d.ts} +71 -71
  230. package/models/components/message.d.ts.map +1 -0
  231. package/models/components/{messageinput.js → message.js} +61 -61
  232. package/models/components/message.js.map +1 -0
  233. package/models/components/payment.d.ts +1 -1
  234. package/models/components/payment.d.ts.map +1 -1
  235. package/models/components/payment.js +3 -3
  236. package/models/components/payment.js.map +1 -1
  237. package/models/components/paymentinput.d.ts +1 -1
  238. package/models/components/paymentinput.d.ts.map +1 -1
  239. package/models/components/paymentinput.js +3 -3
  240. package/models/components/paymentinput.js.map +1 -1
  241. package/models/components/purchaseorder.d.ts +1 -1
  242. package/models/components/purchaseorder.d.ts.map +1 -1
  243. package/models/components/purchaseorder.js +5 -5
  244. package/models/components/purchaseorder.js.map +1 -1
  245. package/models/components/{sharedlinkinput.d.ts → sharedlink.d.ts} +49 -49
  246. package/models/components/sharedlink.d.ts.map +1 -0
  247. package/models/components/{sharedlinkinput.js → sharedlink.js} +49 -49
  248. package/models/components/sharedlink.js.map +1 -0
  249. package/models/components/{taxrateinput.d.ts → taxrate.d.ts} +52 -52
  250. package/models/components/taxrate.d.ts.map +1 -0
  251. package/models/components/{taxrateinput.js → taxrate.js} +50 -50
  252. package/models/components/taxrate.js.map +1 -0
  253. package/models/components/{timeoffrequestinput.d.ts → timeoffrequest.d.ts} +57 -57
  254. package/models/components/timeoffrequest.d.ts.map +1 -0
  255. package/models/components/{timeoffrequestinput.js → timeoffrequest.js} +52 -52
  256. package/models/components/timeoffrequest.js.map +1 -0
  257. package/models/components/{trackingcategoryinput.d.ts → trackingcategory.d.ts} +55 -55
  258. package/models/components/trackingcategory.d.ts.map +1 -0
  259. package/models/components/{trackingcategoryinput.js → trackingcategory.js} +52 -52
  260. package/models/components/trackingcategory.js.map +1 -0
  261. package/models/components/updateconnectionresponse.d.ts +1 -1
  262. package/models/components/updateconnectionresponse.d.ts.map +1 -1
  263. package/models/components/updateconnectionresponse.js +3 -3
  264. package/models/components/updateconnectionresponse.js.map +1 -1
  265. package/package.json +1 -1
  266. package/src/lib/config.ts +4 -4
  267. package/src/lib/matchers.ts +20 -0
  268. package/src/lib/sdks.ts +8 -2
  269. package/src/models/components/{accountingdepartmentinput.ts → accountingdepartment.ts} +116 -102
  270. package/src/models/components/activity.ts +1 -1
  271. package/src/models/components/companyinfo.ts +1 -1
  272. package/src/models/components/createconnectionresponse.ts +1 -1
  273. package/src/models/components/creditnote.ts +2 -2
  274. package/src/models/components/{employeeinput.ts → employee.ts} +123 -123
  275. package/src/models/components/employeeschedules.ts +1 -1
  276. package/src/models/components/employeesfilter.ts +7 -0
  277. package/src/models/components/getaccountingdepartmentresponse.ts +1 -1
  278. package/src/models/components/getaccountingdepartmentsresponse.ts +1 -1
  279. package/src/models/components/getaccountinglocationresponse.ts +1 -1
  280. package/src/models/components/getaccountinglocationsresponse.ts +1 -1
  281. package/src/models/components/getapplicationresponse.ts +1 -1
  282. package/src/models/components/getapplicationsresponse.ts +1 -1
  283. package/src/models/components/getbillpaymentresponse.ts +1 -1
  284. package/src/models/components/getbillpaymentsresponse.ts +1 -1
  285. package/src/models/components/getconnectionresponse.ts +1 -1
  286. package/src/models/components/getconnectionsresponse.ts +1 -1
  287. package/src/models/components/getemployeeresponse.ts +1 -1
  288. package/src/models/components/getemployeesresponse.ts +1 -1
  289. package/src/models/components/getexpenseresponse.ts +1 -1
  290. package/src/models/components/getexpensesresponse.ts +1 -1
  291. package/src/models/components/gethriscompaniesresponse.ts +1 -1
  292. package/src/models/components/gethriscompanyresponse.ts +1 -1
  293. package/src/models/components/getinvoiceresponse.ts +1 -1
  294. package/src/models/components/getinvoicesresponse.ts +1 -1
  295. package/src/models/components/getledgeraccountresponse.ts +1 -1
  296. package/src/models/components/getledgeraccountsresponse.ts +1 -1
  297. package/src/models/components/getmessageresponse.ts +1 -1
  298. package/src/models/components/getmessagesresponse.ts +1 -1
  299. package/src/models/components/getsharedlinkresponse.ts +1 -1
  300. package/src/models/components/getsharedlinksresponse.ts +1 -1
  301. package/src/models/components/gettaxrateresponse.ts +1 -1
  302. package/src/models/components/gettaxratesresponse.ts +1 -1
  303. package/src/models/components/gettimeoffrequestresponse.ts +1 -1
  304. package/src/models/components/gettimeoffrequestsresponse.ts +1 -1
  305. package/src/models/components/gettrackingcategoriesresponse.ts +1 -1
  306. package/src/models/components/gettrackingcategoryresponse.ts +1 -1
  307. package/src/models/components/index.ts +20 -20
  308. package/src/models/components/{invoiceinput.ts → invoice.ts} +352 -241
  309. package/src/models/components/{invoicelineiteminput.ts → invoicelineitem.ts} +101 -100
  310. package/src/models/components/journalentry.ts +1 -1
  311. package/src/models/components/journalentryinput.ts +1 -1
  312. package/src/models/components/payment.ts +1 -1
  313. package/src/models/components/paymentinput.ts +1 -1
  314. package/src/models/components/purchaseorder.ts +1 -1
  315. package/src/models/components/updateconnectionresponse.ts +1 -1
  316. package/models/components/accountingdepartmentinput.d.ts.map +0 -1
  317. package/models/components/accountingdepartmentinput.js.map +0 -1
  318. package/models/components/accountinglocationinput.d.ts.map +0 -1
  319. package/models/components/accountinglocationinput.js.map +0 -1
  320. package/models/components/activityattendeeinput.d.ts.map +0 -1
  321. package/models/components/activityattendeeinput.js.map +0 -1
  322. package/models/components/allocationinput.d.ts.map +0 -1
  323. package/models/components/allocationinput.js.map +0 -1
  324. package/models/components/applicationinput.d.ts.map +0 -1
  325. package/models/components/applicationinput.js.map +0 -1
  326. package/models/components/billpaymentinput.d.ts.map +0 -1
  327. package/models/components/billpaymentinput.js.map +0 -1
  328. package/models/components/connectioninput.d.ts.map +0 -1
  329. package/models/components/connectioninput.js.map +0 -1
  330. package/models/components/employeeinput.d.ts.map +0 -1
  331. package/models/components/employeeinput.js.map +0 -1
  332. package/models/components/employeejobinput.d.ts.map +0 -1
  333. package/models/components/employeejobinput.js.map +0 -1
  334. package/models/components/expenseinput.d.ts.map +0 -1
  335. package/models/components/expenseinput.js.map +0 -1
  336. package/models/components/hriscompanyinput.d.ts.map +0 -1
  337. package/models/components/hriscompanyinput.js.map +0 -1
  338. package/models/components/invoiceinput.d.ts.map +0 -1
  339. package/models/components/invoiceinput.js.map +0 -1
  340. package/models/components/invoicelineiteminput.d.ts.map +0 -1
  341. package/models/components/invoicelineiteminput.js.map +0 -1
  342. package/models/components/journalentrylineiteminput.d.ts.map +0 -1
  343. package/models/components/journalentrylineiteminput.js.map +0 -1
  344. package/models/components/ledgeraccountinput.d.ts.map +0 -1
  345. package/models/components/ledgeraccountinput.js.map +0 -1
  346. package/models/components/messageinput.d.ts.map +0 -1
  347. package/models/components/messageinput.js.map +0 -1
  348. package/models/components/sharedlinkinput.d.ts.map +0 -1
  349. package/models/components/sharedlinkinput.js.map +0 -1
  350. package/models/components/taxrateinput.d.ts.map +0 -1
  351. package/models/components/taxrateinput.js.map +0 -1
  352. package/models/components/timeoffrequestinput.d.ts.map +0 -1
  353. package/models/components/timeoffrequestinput.js.map +0 -1
  354. package/models/components/trackingcategoryinput.d.ts.map +0 -1
  355. package/models/components/trackingcategoryinput.js.map +0 -1
  356. package/src/models/components/{accountinglocationinput.ts → accountinglocation.ts} +106 -106
  357. package/src/models/components/{activityattendeeinput.ts → activityattendee.ts} +89 -89
  358. package/src/models/components/{allocationinput.ts → allocation.ts} +46 -46
  359. package/src/models/components/{applicationinput.ts → application.ts} +85 -85
  360. package/src/models/components/{billpaymentinput.ts → billpayment.ts} +183 -183
  361. package/src/models/components/{connectioninput.ts → connection.ts} +355 -355
  362. package/src/models/components/{employeejobinput.ts → employeejob.ts} +60 -60
  363. package/src/models/components/{expenseinput.ts → expense.ts} +159 -159
  364. package/src/models/components/{hriscompanyinput.ts → hriscompany.ts} +101 -101
  365. package/src/models/components/{journalentrylineiteminput.ts → journalentrylineitem.ts} +81 -81
  366. package/src/models/components/{ledgeraccountinput.ts → ledgeraccount.ts} +253 -253
  367. package/src/models/components/{messageinput.ts → message.ts} +133 -133
  368. package/src/models/components/{sharedlinkinput.ts → sharedlink.ts} +99 -99
  369. package/src/models/components/{taxrateinput.ts → taxrate.ts} +146 -146
  370. package/src/models/components/{timeoffrequestinput.ts → timeoffrequest.ts} +100 -100
  371. package/src/models/components/{trackingcategoryinput.ts → trackingcategory.ts} +98 -98
@@ -26,15 +26,15 @@ var __importStar = (this && this.__importStar) || function (mod) {
26
26
  return result;
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.TaxRate$ = exports.TaxRate$outboundSchema = exports.TaxRate$inboundSchema = exports.TaxRateInput$ = exports.TaxRateInput$outboundSchema = exports.TaxRateInput$inboundSchema = exports.Subsidiaries$ = exports.Subsidiaries$outboundSchema = exports.Subsidiaries$inboundSchema = exports.TaxRateStatus$ = exports.TaxRateStatus$outboundSchema = exports.TaxRateStatus$inboundSchema = exports.Components$ = exports.Components$outboundSchema = exports.Components$inboundSchema = exports.TaxRateStatus = void 0;
29
+ exports.TaxRateInput$ = exports.TaxRateInput$outboundSchema = exports.TaxRateInput$inboundSchema = exports.TaxRate$ = exports.TaxRate$outboundSchema = exports.TaxRate$inboundSchema = exports.Subsidiaries$ = exports.Subsidiaries$outboundSchema = exports.Subsidiaries$inboundSchema = exports.TaxRateStatus$ = exports.TaxRateStatus$outboundSchema = exports.TaxRateStatus$inboundSchema = exports.Components$ = exports.Components$outboundSchema = exports.Components$inboundSchema = exports.TaxRateStatus = void 0;
30
30
  exports.componentsToJSON = componentsToJSON;
31
31
  exports.componentsFromJSON = componentsFromJSON;
32
32
  exports.subsidiariesToJSON = subsidiariesToJSON;
33
33
  exports.subsidiariesFromJSON = subsidiariesFromJSON;
34
- exports.taxRateInputToJSON = taxRateInputToJSON;
35
- exports.taxRateInputFromJSON = taxRateInputFromJSON;
36
34
  exports.taxRateToJSON = taxRateToJSON;
37
35
  exports.taxRateFromJSON = taxRateFromJSON;
36
+ exports.taxRateInputToJSON = taxRateInputToJSON;
37
+ exports.taxRateInputFromJSON = taxRateInputFromJSON;
38
38
  const z = __importStar(require("zod"));
39
39
  const primitives_js_1 = require("../../lib/primitives.js");
40
40
  const schemas_js_1 = require("../../lib/schemas.js");
@@ -121,7 +121,7 @@ function subsidiariesFromJSON(jsonString) {
121
121
  return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.Subsidiaries$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Subsidiaries' from JSON`);
122
122
  }
123
123
  /** @internal */
124
- exports.TaxRateInput$inboundSchema = z.object({
124
+ exports.TaxRate$inboundSchema = z.object({
125
125
  id: z.nullable(z.string()).optional(),
126
126
  name: z.string().optional(),
127
127
  code: z.nullable(z.string()).optional(),
@@ -136,7 +136,12 @@ exports.TaxRateInput$inboundSchema = z.object({
136
136
  report_tax_type: z.nullable(z.string()).optional(),
137
137
  original_tax_rate_id: z.nullable(z.string()).optional(),
138
138
  status: z.nullable(exports.TaxRateStatus$inboundSchema).optional(),
139
+ custom_mappings: z.nullable(custommappings_js_1.CustomMappings$inboundSchema).optional(),
139
140
  row_version: z.nullable(z.string()).optional(),
141
+ updated_by: z.nullable(z.string()).optional(),
142
+ created_by: z.nullable(z.string()).optional(),
143
+ updated_at: z.nullable(z.string().datetime({ offset: true }).transform(v => new Date(v))).optional(),
144
+ created_at: z.nullable(z.string().datetime({ offset: true }).transform(v => new Date(v))).optional(),
140
145
  pass_through: z.array(passthroughbody_js_1.PassThroughBody$inboundSchema).optional(),
141
146
  subsidiaries: z.array(z.lazy(() => exports.Subsidiaries$inboundSchema)).optional(),
142
147
  custom_fields: z.array(customfield_js_1.CustomField$inboundSchema).optional(),
@@ -148,13 +153,18 @@ exports.TaxRateInput$inboundSchema = z.object({
148
153
  "tax_remitted_account_id": "taxRemittedAccountId",
149
154
  "report_tax_type": "reportTaxType",
150
155
  "original_tax_rate_id": "originalTaxRateId",
156
+ "custom_mappings": "customMappings",
151
157
  "row_version": "rowVersion",
158
+ "updated_by": "updatedBy",
159
+ "created_by": "createdBy",
160
+ "updated_at": "updatedAt",
161
+ "created_at": "createdAt",
152
162
  "pass_through": "passThrough",
153
163
  "custom_fields": "customFields",
154
164
  });
155
165
  });
156
166
  /** @internal */
157
- exports.TaxRateInput$outboundSchema = z.object({
167
+ exports.TaxRate$outboundSchema = z.object({
158
168
  id: z.nullable(z.string()).optional(),
159
169
  name: z.string().optional(),
160
170
  code: z.nullable(z.string()).optional(),
@@ -169,7 +179,12 @@ exports.TaxRateInput$outboundSchema = z.object({
169
179
  reportTaxType: z.nullable(z.string()).optional(),
170
180
  originalTaxRateId: z.nullable(z.string()).optional(),
171
181
  status: z.nullable(exports.TaxRateStatus$outboundSchema).optional(),
182
+ customMappings: z.nullable(custommappings_js_1.CustomMappings$outboundSchema).optional(),
172
183
  rowVersion: z.nullable(z.string()).optional(),
184
+ updatedBy: z.nullable(z.string()).optional(),
185
+ createdBy: z.nullable(z.string()).optional(),
186
+ updatedAt: z.nullable(z.date().transform(v => v.toISOString())).optional(),
187
+ createdAt: z.nullable(z.date().transform(v => v.toISOString())).optional(),
173
188
  passThrough: z.array(passthroughbody_js_1.PassThroughBody$outboundSchema).optional(),
174
189
  subsidiaries: z.array(z.lazy(() => exports.Subsidiaries$outboundSchema)).optional(),
175
190
  customFields: z.array(customfield_js_1.CustomField$outboundSchema).optional(),
@@ -181,7 +196,12 @@ exports.TaxRateInput$outboundSchema = z.object({
181
196
  taxRemittedAccountId: "tax_remitted_account_id",
182
197
  reportTaxType: "report_tax_type",
183
198
  originalTaxRateId: "original_tax_rate_id",
199
+ customMappings: "custom_mappings",
184
200
  rowVersion: "row_version",
201
+ updatedBy: "updated_by",
202
+ createdBy: "created_by",
203
+ updatedAt: "updated_at",
204
+ createdAt: "created_at",
185
205
  passThrough: "pass_through",
186
206
  customFields: "custom_fields",
187
207
  });
@@ -190,21 +210,21 @@ exports.TaxRateInput$outboundSchema = z.object({
190
210
  * @internal
191
211
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
192
212
  */
193
- var TaxRateInput$;
194
- (function (TaxRateInput$) {
195
- /** @deprecated use `TaxRateInput$inboundSchema` instead. */
196
- TaxRateInput$.inboundSchema = exports.TaxRateInput$inboundSchema;
197
- /** @deprecated use `TaxRateInput$outboundSchema` instead. */
198
- TaxRateInput$.outboundSchema = exports.TaxRateInput$outboundSchema;
199
- })(TaxRateInput$ || (exports.TaxRateInput$ = TaxRateInput$ = {}));
200
- function taxRateInputToJSON(taxRateInput) {
201
- return JSON.stringify(exports.TaxRateInput$outboundSchema.parse(taxRateInput));
213
+ var TaxRate$;
214
+ (function (TaxRate$) {
215
+ /** @deprecated use `TaxRate$inboundSchema` instead. */
216
+ TaxRate$.inboundSchema = exports.TaxRate$inboundSchema;
217
+ /** @deprecated use `TaxRate$outboundSchema` instead. */
218
+ TaxRate$.outboundSchema = exports.TaxRate$outboundSchema;
219
+ })(TaxRate$ || (exports.TaxRate$ = TaxRate$ = {}));
220
+ function taxRateToJSON(taxRate) {
221
+ return JSON.stringify(exports.TaxRate$outboundSchema.parse(taxRate));
202
222
  }
203
- function taxRateInputFromJSON(jsonString) {
204
- return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.TaxRateInput$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TaxRateInput' from JSON`);
223
+ function taxRateFromJSON(jsonString) {
224
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.TaxRate$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TaxRate' from JSON`);
205
225
  }
206
226
  /** @internal */
207
- exports.TaxRate$inboundSchema = z.object({
227
+ exports.TaxRateInput$inboundSchema = z.object({
208
228
  id: z.nullable(z.string()).optional(),
209
229
  name: z.string().optional(),
210
230
  code: z.nullable(z.string()).optional(),
@@ -219,12 +239,7 @@ exports.TaxRate$inboundSchema = z.object({
219
239
  report_tax_type: z.nullable(z.string()).optional(),
220
240
  original_tax_rate_id: z.nullable(z.string()).optional(),
221
241
  status: z.nullable(exports.TaxRateStatus$inboundSchema).optional(),
222
- custom_mappings: z.nullable(custommappings_js_1.CustomMappings$inboundSchema).optional(),
223
242
  row_version: z.nullable(z.string()).optional(),
224
- updated_by: z.nullable(z.string()).optional(),
225
- created_by: z.nullable(z.string()).optional(),
226
- updated_at: z.nullable(z.string().datetime({ offset: true }).transform(v => new Date(v))).optional(),
227
- created_at: z.nullable(z.string().datetime({ offset: true }).transform(v => new Date(v))).optional(),
228
243
  pass_through: z.array(passthroughbody_js_1.PassThroughBody$inboundSchema).optional(),
229
244
  subsidiaries: z.array(z.lazy(() => exports.Subsidiaries$inboundSchema)).optional(),
230
245
  custom_fields: z.array(customfield_js_1.CustomField$inboundSchema).optional(),
@@ -236,18 +251,13 @@ exports.TaxRate$inboundSchema = z.object({
236
251
  "tax_remitted_account_id": "taxRemittedAccountId",
237
252
  "report_tax_type": "reportTaxType",
238
253
  "original_tax_rate_id": "originalTaxRateId",
239
- "custom_mappings": "customMappings",
240
254
  "row_version": "rowVersion",
241
- "updated_by": "updatedBy",
242
- "created_by": "createdBy",
243
- "updated_at": "updatedAt",
244
- "created_at": "createdAt",
245
255
  "pass_through": "passThrough",
246
256
  "custom_fields": "customFields",
247
257
  });
248
258
  });
249
259
  /** @internal */
250
- exports.TaxRate$outboundSchema = z.object({
260
+ exports.TaxRateInput$outboundSchema = z.object({
251
261
  id: z.nullable(z.string()).optional(),
252
262
  name: z.string().optional(),
253
263
  code: z.nullable(z.string()).optional(),
@@ -262,12 +272,7 @@ exports.TaxRate$outboundSchema = z.object({
262
272
  reportTaxType: z.nullable(z.string()).optional(),
263
273
  originalTaxRateId: z.nullable(z.string()).optional(),
264
274
  status: z.nullable(exports.TaxRateStatus$outboundSchema).optional(),
265
- customMappings: z.nullable(custommappings_js_1.CustomMappings$outboundSchema).optional(),
266
275
  rowVersion: z.nullable(z.string()).optional(),
267
- updatedBy: z.nullable(z.string()).optional(),
268
- createdBy: z.nullable(z.string()).optional(),
269
- updatedAt: z.nullable(z.date().transform(v => v.toISOString())).optional(),
270
- createdAt: z.nullable(z.date().transform(v => v.toISOString())).optional(),
271
276
  passThrough: z.array(passthroughbody_js_1.PassThroughBody$outboundSchema).optional(),
272
277
  subsidiaries: z.array(z.lazy(() => exports.Subsidiaries$outboundSchema)).optional(),
273
278
  customFields: z.array(customfield_js_1.CustomField$outboundSchema).optional(),
@@ -279,12 +284,7 @@ exports.TaxRate$outboundSchema = z.object({
279
284
  taxRemittedAccountId: "tax_remitted_account_id",
280
285
  reportTaxType: "report_tax_type",
281
286
  originalTaxRateId: "original_tax_rate_id",
282
- customMappings: "custom_mappings",
283
287
  rowVersion: "row_version",
284
- updatedBy: "updated_by",
285
- createdBy: "created_by",
286
- updatedAt: "updated_at",
287
- createdAt: "created_at",
288
288
  passThrough: "pass_through",
289
289
  customFields: "custom_fields",
290
290
  });
@@ -293,17 +293,17 @@ exports.TaxRate$outboundSchema = z.object({
293
293
  * @internal
294
294
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
295
295
  */
296
- var TaxRate$;
297
- (function (TaxRate$) {
298
- /** @deprecated use `TaxRate$inboundSchema` instead. */
299
- TaxRate$.inboundSchema = exports.TaxRate$inboundSchema;
300
- /** @deprecated use `TaxRate$outboundSchema` instead. */
301
- TaxRate$.outboundSchema = exports.TaxRate$outboundSchema;
302
- })(TaxRate$ || (exports.TaxRate$ = TaxRate$ = {}));
303
- function taxRateToJSON(taxRate) {
304
- return JSON.stringify(exports.TaxRate$outboundSchema.parse(taxRate));
296
+ var TaxRateInput$;
297
+ (function (TaxRateInput$) {
298
+ /** @deprecated use `TaxRateInput$inboundSchema` instead. */
299
+ TaxRateInput$.inboundSchema = exports.TaxRateInput$inboundSchema;
300
+ /** @deprecated use `TaxRateInput$outboundSchema` instead. */
301
+ TaxRateInput$.outboundSchema = exports.TaxRateInput$outboundSchema;
302
+ })(TaxRateInput$ || (exports.TaxRateInput$ = TaxRateInput$ = {}));
303
+ function taxRateInputToJSON(taxRateInput) {
304
+ return JSON.stringify(exports.TaxRateInput$outboundSchema.parse(taxRateInput));
305
305
  }
306
- function taxRateFromJSON(jsonString) {
307
- return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.TaxRate$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TaxRate' from JSON`);
306
+ function taxRateInputFromJSON(jsonString) {
307
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.TaxRateInput$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TaxRateInput' from JSON`);
308
308
  }
309
- //# sourceMappingURL=taxrateinput.js.map
309
+ //# sourceMappingURL=taxrate.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"taxrate.js","sourceRoot":"","sources":["../../src/models/components/taxrate.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAyPH,4CAEC;AAED,gDAQC;AA2DD,gDAEC;AAED,oDAQC;AA0ID,sCAEC;AAED,0CAQC;AAgHD,gDAEC;AAED,oDAQC;AA5lBD,uCAAyB;AACzB,2DAA0D;AAC1D,qDAAiD;AAIjD,qDAK0B;AAC1B,2DAK6B;AAC7B,6DAK8B;AAS9B;;GAEG;AACU,QAAA,aAAa,GAAG;IAC3B,MAAM,EAAE,QAAQ;IAChB,QAAQ,EAAE,UAAU;IACpB,QAAQ,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53
53
  };
54
- export type TimeOffRequestInput = {
54
+ export type TimeOffRequest = {
55
+ /**
56
+ * A unique identifier for an object.
57
+ */
58
+ id?: string | undefined;
55
59
  /**
56
60
  * ID of the employee
57
61
  */
@@ -101,6 +105,26 @@ export type TimeOffRequestInput = {
101
105
  */
102
106
  dayPart?: string | null | undefined;
103
107
  notes?: Notes | undefined;
108
+ /**
109
+ * When custom mappings are configured on the resource, the result is included here.
110
+ */
111
+ customMappings?: CustomMappings | null | undefined;
112
+ /**
113
+ * The user who last updated the object.
114
+ */
115
+ updatedBy?: string | null | undefined;
116
+ /**
117
+ * The user who created the object.
118
+ */
119
+ createdBy?: string | null | undefined;
120
+ /**
121
+ * The date and time when the object was last updated.
122
+ */
123
+ updatedAt?: Date | null | undefined;
124
+ /**
125
+ * The date and time when the object was created.
126
+ */
127
+ createdAt?: Date | null | undefined;
104
128
  /**
105
129
  * The pass_through property allows passing service-specific, custom data or structured modifications in request body when creating or updating resources.
106
130
  */
@@ -110,11 +134,7 @@ export type TimeOffRequestInput = {
110
134
  */
111
135
  policyType?: string | undefined;
112
136
  };
113
- export type TimeOffRequest = {
114
- /**
115
- * A unique identifier for an object.
116
- */
117
- id?: string | undefined;
137
+ export type TimeOffRequestInput = {
118
138
  /**
119
139
  * ID of the employee
120
140
  */
@@ -164,26 +184,6 @@ export type TimeOffRequest = {
164
184
  */
165
185
  dayPart?: string | null | undefined;
166
186
  notes?: Notes | undefined;
167
- /**
168
- * When custom mappings are configured on the resource, the result is included here.
169
- */
170
- customMappings?: CustomMappings | null | undefined;
171
- /**
172
- * The user who last updated the object.
173
- */
174
- updatedBy?: string | null | undefined;
175
- /**
176
- * The user who created the object.
177
- */
178
- createdBy?: string | null | undefined;
179
- /**
180
- * The date and time when the object was last updated.
181
- */
182
- updatedAt?: Date | null | undefined;
183
- /**
184
- * The date and time when the object was created.
185
- */
186
- createdAt?: Date | null | undefined;
187
187
  /**
188
188
  * The pass_through property allows passing service-specific, custom data or structured modifications in request body when creating or updating resources.
189
189
  */
@@ -297,9 +297,10 @@ export declare namespace Notes$ {
297
297
  export declare function notesToJSON(notes: Notes): string;
298
298
  export declare function notesFromJSON(jsonString: string): SafeParseResult<Notes, SDKValidationError>;
299
299
  /** @internal */
300
- export declare const TimeOffRequestInput$inboundSchema: z.ZodType<TimeOffRequestInput, z.ZodTypeDef, unknown>;
300
+ export declare const TimeOffRequest$inboundSchema: z.ZodType<TimeOffRequest, z.ZodTypeDef, unknown>;
301
301
  /** @internal */
302
- export type TimeOffRequestInput$Outbound = {
302
+ export type TimeOffRequest$Outbound = {
303
+ id?: string | undefined;
303
304
  employee_id?: string | null | undefined;
304
305
  policy_id?: string | null | undefined;
305
306
  status?: string | null | undefined;
@@ -313,30 +314,34 @@ export type TimeOffRequestInput$Outbound = {
313
314
  amount?: number | null | undefined;
314
315
  day_part?: string | null | undefined;
315
316
  notes?: Notes$Outbound | undefined;
317
+ custom_mappings?: CustomMappings$Outbound | null | undefined;
318
+ updated_by?: string | null | undefined;
319
+ created_by?: string | null | undefined;
320
+ updated_at?: string | null | undefined;
321
+ created_at?: string | null | undefined;
316
322
  pass_through?: Array<PassThroughBody$Outbound> | undefined;
317
323
  policy_type?: string | undefined;
318
324
  };
319
325
  /** @internal */
320
- export declare const TimeOffRequestInput$outboundSchema: z.ZodType<TimeOffRequestInput$Outbound, z.ZodTypeDef, TimeOffRequestInput>;
326
+ export declare const TimeOffRequest$outboundSchema: z.ZodType<TimeOffRequest$Outbound, z.ZodTypeDef, TimeOffRequest>;
321
327
  /**
322
328
  * @internal
323
329
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
324
330
  */
325
- export declare namespace TimeOffRequestInput$ {
326
- /** @deprecated use `TimeOffRequestInput$inboundSchema` instead. */
327
- const inboundSchema: z.ZodType<TimeOffRequestInput, z.ZodTypeDef, unknown>;
328
- /** @deprecated use `TimeOffRequestInput$outboundSchema` instead. */
329
- const outboundSchema: z.ZodType<TimeOffRequestInput$Outbound, z.ZodTypeDef, TimeOffRequestInput>;
330
- /** @deprecated use `TimeOffRequestInput$Outbound` instead. */
331
- type Outbound = TimeOffRequestInput$Outbound;
331
+ export declare namespace TimeOffRequest$ {
332
+ /** @deprecated use `TimeOffRequest$inboundSchema` instead. */
333
+ const inboundSchema: z.ZodType<TimeOffRequest, z.ZodTypeDef, unknown>;
334
+ /** @deprecated use `TimeOffRequest$outboundSchema` instead. */
335
+ const outboundSchema: z.ZodType<TimeOffRequest$Outbound, z.ZodTypeDef, TimeOffRequest>;
336
+ /** @deprecated use `TimeOffRequest$Outbound` instead. */
337
+ type Outbound = TimeOffRequest$Outbound;
332
338
  }
333
- export declare function timeOffRequestInputToJSON(timeOffRequestInput: TimeOffRequestInput): string;
334
- export declare function timeOffRequestInputFromJSON(jsonString: string): SafeParseResult<TimeOffRequestInput, SDKValidationError>;
339
+ export declare function timeOffRequestToJSON(timeOffRequest: TimeOffRequest): string;
340
+ export declare function timeOffRequestFromJSON(jsonString: string): SafeParseResult<TimeOffRequest, SDKValidationError>;
335
341
  /** @internal */
336
- export declare const TimeOffRequest$inboundSchema: z.ZodType<TimeOffRequest, z.ZodTypeDef, unknown>;
342
+ export declare const TimeOffRequestInput$inboundSchema: z.ZodType<TimeOffRequestInput, z.ZodTypeDef, unknown>;
337
343
  /** @internal */
338
- export type TimeOffRequest$Outbound = {
339
- id?: string | undefined;
344
+ export type TimeOffRequestInput$Outbound = {
340
345
  employee_id?: string | null | undefined;
341
346
  policy_id?: string | null | undefined;
342
347
  status?: string | null | undefined;
@@ -350,28 +355,23 @@ export type TimeOffRequest$Outbound = {
350
355
  amount?: number | null | undefined;
351
356
  day_part?: string | null | undefined;
352
357
  notes?: Notes$Outbound | undefined;
353
- custom_mappings?: CustomMappings$Outbound | null | undefined;
354
- updated_by?: string | null | undefined;
355
- created_by?: string | null | undefined;
356
- updated_at?: string | null | undefined;
357
- created_at?: string | null | undefined;
358
358
  pass_through?: Array<PassThroughBody$Outbound> | undefined;
359
359
  policy_type?: string | undefined;
360
360
  };
361
361
  /** @internal */
362
- export declare const TimeOffRequest$outboundSchema: z.ZodType<TimeOffRequest$Outbound, z.ZodTypeDef, TimeOffRequest>;
362
+ export declare const TimeOffRequestInput$outboundSchema: z.ZodType<TimeOffRequestInput$Outbound, z.ZodTypeDef, TimeOffRequestInput>;
363
363
  /**
364
364
  * @internal
365
365
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
366
366
  */
367
- export declare namespace TimeOffRequest$ {
368
- /** @deprecated use `TimeOffRequest$inboundSchema` instead. */
369
- const inboundSchema: z.ZodType<TimeOffRequest, z.ZodTypeDef, unknown>;
370
- /** @deprecated use `TimeOffRequest$outboundSchema` instead. */
371
- const outboundSchema: z.ZodType<TimeOffRequest$Outbound, z.ZodTypeDef, TimeOffRequest>;
372
- /** @deprecated use `TimeOffRequest$Outbound` instead. */
373
- type Outbound = TimeOffRequest$Outbound;
367
+ export declare namespace TimeOffRequestInput$ {
368
+ /** @deprecated use `TimeOffRequestInput$inboundSchema` instead. */
369
+ const inboundSchema: z.ZodType<TimeOffRequestInput, z.ZodTypeDef, unknown>;
370
+ /** @deprecated use `TimeOffRequestInput$outboundSchema` instead. */
371
+ const outboundSchema: z.ZodType<TimeOffRequestInput$Outbound, z.ZodTypeDef, TimeOffRequestInput>;
372
+ /** @deprecated use `TimeOffRequestInput$Outbound` instead. */
373
+ type Outbound = TimeOffRequestInput$Outbound;
374
374
  }
375
- export declare function timeOffRequestToJSON(timeOffRequest: TimeOffRequest): string;
376
- export declare function timeOffRequestFromJSON(jsonString: string): SafeParseResult<TimeOffRequest, SDKValidationError>;
377
- //# sourceMappingURL=timeoffrequestinput.d.ts.map
375
+ export declare function timeOffRequestInputToJSON(timeOffRequestInput: TimeOffRequestInput): string;
376
+ export declare function timeOffRequestInputFromJSON(jsonString: string): SafeParseResult<TimeOffRequestInput, SDKValidationError>;
377
+ //# sourceMappingURL=timeoffrequest.d.ts.map
@@ -0,0 +1 @@
1
+ {"version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MAAM,aAAa,uDAAoC,CAAC;IAC/D,oEAAoE;IAC7D,MAAM,cAAc,4EAAqC,CAAC;IACjE,8DAA8D;IAC9D,KAAY,QAAQ,GAAG,4BAA4B,CAAC;CACrD;AAED,wBAAgB,yBAAyB,CACvC,mBAAmB,EAAE,mBAAmB,GACvC,MAAM,CAIR;AAED,wBAAgB,2BAA2B,CACzC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,mBAAmB,EAAE,kBAAkB,CAAC,CAM1D"}
@@ -26,13 +26,13 @@ var __importStar = (this && this.__importStar) || function (mod) {
26
26
  return result;
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.TimeOffRequest$ = exports.TimeOffRequest$outboundSchema = exports.TimeOffRequest$inboundSchema = exports.TimeOffRequestInput$ = exports.TimeOffRequestInput$outboundSchema = exports.TimeOffRequestInput$inboundSchema = exports.Notes$ = exports.Notes$outboundSchema = exports.Notes$inboundSchema = exports.Units$ = exports.Units$outboundSchema = exports.Units$inboundSchema = exports.RequestType$ = exports.RequestType$outboundSchema = exports.RequestType$inboundSchema = exports.TimeOffRequestStatusStatus$ = exports.TimeOffRequestStatusStatus$outboundSchema = exports.TimeOffRequestStatusStatus$inboundSchema = exports.Units = exports.RequestType = exports.TimeOffRequestStatusStatus = void 0;
29
+ exports.TimeOffRequestInput$ = exports.TimeOffRequestInput$outboundSchema = exports.TimeOffRequestInput$inboundSchema = exports.TimeOffRequest$ = exports.TimeOffRequest$outboundSchema = exports.TimeOffRequest$inboundSchema = exports.Notes$ = exports.Notes$outboundSchema = exports.Notes$inboundSchema = exports.Units$ = exports.Units$outboundSchema = exports.Units$inboundSchema = exports.RequestType$ = exports.RequestType$outboundSchema = exports.RequestType$inboundSchema = exports.TimeOffRequestStatusStatus$ = exports.TimeOffRequestStatusStatus$outboundSchema = exports.TimeOffRequestStatusStatus$inboundSchema = exports.Units = exports.RequestType = exports.TimeOffRequestStatusStatus = void 0;
30
30
  exports.notesToJSON = notesToJSON;
31
31
  exports.notesFromJSON = notesFromJSON;
32
- exports.timeOffRequestInputToJSON = timeOffRequestInputToJSON;
33
- exports.timeOffRequestInputFromJSON = timeOffRequestInputFromJSON;
34
32
  exports.timeOffRequestToJSON = timeOffRequestToJSON;
35
33
  exports.timeOffRequestFromJSON = timeOffRequestFromJSON;
34
+ exports.timeOffRequestInputToJSON = timeOffRequestInputToJSON;
35
+ exports.timeOffRequestInputFromJSON = timeOffRequestInputFromJSON;
36
36
  const z = __importStar(require("zod"));
37
37
  const primitives_js_1 = require("../../lib/primitives.js");
38
38
  const schemas_js_1 = require("../../lib/schemas.js");
@@ -144,7 +144,8 @@ function notesFromJSON(jsonString) {
144
144
  return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.Notes$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Notes' from JSON`);
145
145
  }
146
146
  /** @internal */
147
- exports.TimeOffRequestInput$inboundSchema = z.object({
147
+ exports.TimeOffRequest$inboundSchema = z.object({
148
+ id: z.string().optional(),
148
149
  employee_id: z.nullable(z.string()).optional(),
149
150
  policy_id: z.nullable(z.string()).optional(),
150
151
  status: z.nullable(exports.TimeOffRequestStatusStatus$inboundSchema).optional(),
@@ -158,6 +159,11 @@ exports.TimeOffRequestInput$inboundSchema = z.object({
158
159
  amount: z.nullable(z.number()).optional(),
159
160
  day_part: z.nullable(z.string()).optional(),
160
161
  notes: z.lazy(() => exports.Notes$inboundSchema).optional(),
162
+ custom_mappings: z.nullable(custommappings_js_1.CustomMappings$inboundSchema).optional(),
163
+ updated_by: z.nullable(z.string()).optional(),
164
+ created_by: z.nullable(z.string()).optional(),
165
+ updated_at: z.nullable(z.string().datetime({ offset: true }).transform(v => new Date(v))).optional(),
166
+ created_at: z.nullable(z.string().datetime({ offset: true }).transform(v => new Date(v))).optional(),
161
167
  pass_through: z.array(passthroughbody_js_1.PassThroughBody$inboundSchema).optional(),
162
168
  policy_type: z.string().optional(),
163
169
  }).transform((v) => {
@@ -170,12 +176,18 @@ exports.TimeOffRequestInput$inboundSchema = z.object({
170
176
  "request_type": "requestType",
171
177
  "approval_date": "approvalDate",
172
178
  "day_part": "dayPart",
179
+ "custom_mappings": "customMappings",
180
+ "updated_by": "updatedBy",
181
+ "created_by": "createdBy",
182
+ "updated_at": "updatedAt",
183
+ "created_at": "createdAt",
173
184
  "pass_through": "passThrough",
174
185
  "policy_type": "policyType",
175
186
  });
176
187
  });
177
188
  /** @internal */
178
- exports.TimeOffRequestInput$outboundSchema = z.object({
189
+ exports.TimeOffRequest$outboundSchema = z.object({
190
+ id: z.string().optional(),
179
191
  employeeId: z.nullable(z.string()).optional(),
180
192
  policyId: z.nullable(z.string()).optional(),
181
193
  status: z.nullable(exports.TimeOffRequestStatusStatus$outboundSchema).optional(),
@@ -189,6 +201,11 @@ exports.TimeOffRequestInput$outboundSchema = z.object({
189
201
  amount: z.nullable(z.number()).optional(),
190
202
  dayPart: z.nullable(z.string()).optional(),
191
203
  notes: z.lazy(() => exports.Notes$outboundSchema).optional(),
204
+ customMappings: z.nullable(custommappings_js_1.CustomMappings$outboundSchema).optional(),
205
+ updatedBy: z.nullable(z.string()).optional(),
206
+ createdBy: z.nullable(z.string()).optional(),
207
+ updatedAt: z.nullable(z.date().transform(v => v.toISOString())).optional(),
208
+ createdAt: z.nullable(z.date().transform(v => v.toISOString())).optional(),
192
209
  passThrough: z.array(passthroughbody_js_1.PassThroughBody$outboundSchema).optional(),
193
210
  policyType: z.string().optional(),
194
211
  }).transform((v) => {
@@ -201,6 +218,11 @@ exports.TimeOffRequestInput$outboundSchema = z.object({
201
218
  requestType: "request_type",
202
219
  approvalDate: "approval_date",
203
220
  dayPart: "day_part",
221
+ customMappings: "custom_mappings",
222
+ updatedBy: "updated_by",
223
+ createdBy: "created_by",
224
+ updatedAt: "updated_at",
225
+ createdAt: "created_at",
204
226
  passThrough: "pass_through",
205
227
  policyType: "policy_type",
206
228
  });
@@ -209,22 +231,21 @@ exports.TimeOffRequestInput$outboundSchema = z.object({
209
231
  * @internal
210
232
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
211
233
  */
212
- var TimeOffRequestInput$;
213
- (function (TimeOffRequestInput$) {
214
- /** @deprecated use `TimeOffRequestInput$inboundSchema` instead. */
215
- TimeOffRequestInput$.inboundSchema = exports.TimeOffRequestInput$inboundSchema;
216
- /** @deprecated use `TimeOffRequestInput$outboundSchema` instead. */
217
- TimeOffRequestInput$.outboundSchema = exports.TimeOffRequestInput$outboundSchema;
218
- })(TimeOffRequestInput$ || (exports.TimeOffRequestInput$ = TimeOffRequestInput$ = {}));
219
- function timeOffRequestInputToJSON(timeOffRequestInput) {
220
- return JSON.stringify(exports.TimeOffRequestInput$outboundSchema.parse(timeOffRequestInput));
234
+ var TimeOffRequest$;
235
+ (function (TimeOffRequest$) {
236
+ /** @deprecated use `TimeOffRequest$inboundSchema` instead. */
237
+ TimeOffRequest$.inboundSchema = exports.TimeOffRequest$inboundSchema;
238
+ /** @deprecated use `TimeOffRequest$outboundSchema` instead. */
239
+ TimeOffRequest$.outboundSchema = exports.TimeOffRequest$outboundSchema;
240
+ })(TimeOffRequest$ || (exports.TimeOffRequest$ = TimeOffRequest$ = {}));
241
+ function timeOffRequestToJSON(timeOffRequest) {
242
+ return JSON.stringify(exports.TimeOffRequest$outboundSchema.parse(timeOffRequest));
221
243
  }
222
- function timeOffRequestInputFromJSON(jsonString) {
223
- return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.TimeOffRequestInput$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TimeOffRequestInput' from JSON`);
244
+ function timeOffRequestFromJSON(jsonString) {
245
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.TimeOffRequest$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TimeOffRequest' from JSON`);
224
246
  }
225
247
  /** @internal */
226
- exports.TimeOffRequest$inboundSchema = z.object({
227
- id: z.string().optional(),
248
+ exports.TimeOffRequestInput$inboundSchema = z.object({
228
249
  employee_id: z.nullable(z.string()).optional(),
229
250
  policy_id: z.nullable(z.string()).optional(),
230
251
  status: z.nullable(exports.TimeOffRequestStatusStatus$inboundSchema).optional(),
@@ -238,11 +259,6 @@ exports.TimeOffRequest$inboundSchema = z.object({
238
259
  amount: z.nullable(z.number()).optional(),
239
260
  day_part: z.nullable(z.string()).optional(),
240
261
  notes: z.lazy(() => exports.Notes$inboundSchema).optional(),
241
- custom_mappings: z.nullable(custommappings_js_1.CustomMappings$inboundSchema).optional(),
242
- updated_by: z.nullable(z.string()).optional(),
243
- created_by: z.nullable(z.string()).optional(),
244
- updated_at: z.nullable(z.string().datetime({ offset: true }).transform(v => new Date(v))).optional(),
245
- created_at: z.nullable(z.string().datetime({ offset: true }).transform(v => new Date(v))).optional(),
246
262
  pass_through: z.array(passthroughbody_js_1.PassThroughBody$inboundSchema).optional(),
247
263
  policy_type: z.string().optional(),
248
264
  }).transform((v) => {
@@ -255,18 +271,12 @@ exports.TimeOffRequest$inboundSchema = z.object({
255
271
  "request_type": "requestType",
256
272
  "approval_date": "approvalDate",
257
273
  "day_part": "dayPart",
258
- "custom_mappings": "customMappings",
259
- "updated_by": "updatedBy",
260
- "created_by": "createdBy",
261
- "updated_at": "updatedAt",
262
- "created_at": "createdAt",
263
274
  "pass_through": "passThrough",
264
275
  "policy_type": "policyType",
265
276
  });
266
277
  });
267
278
  /** @internal */
268
- exports.TimeOffRequest$outboundSchema = z.object({
269
- id: z.string().optional(),
279
+ exports.TimeOffRequestInput$outboundSchema = z.object({
270
280
  employeeId: z.nullable(z.string()).optional(),
271
281
  policyId: z.nullable(z.string()).optional(),
272
282
  status: z.nullable(exports.TimeOffRequestStatusStatus$outboundSchema).optional(),
@@ -280,11 +290,6 @@ exports.TimeOffRequest$outboundSchema = z.object({
280
290
  amount: z.nullable(z.number()).optional(),
281
291
  dayPart: z.nullable(z.string()).optional(),
282
292
  notes: z.lazy(() => exports.Notes$outboundSchema).optional(),
283
- customMappings: z.nullable(custommappings_js_1.CustomMappings$outboundSchema).optional(),
284
- updatedBy: z.nullable(z.string()).optional(),
285
- createdBy: z.nullable(z.string()).optional(),
286
- updatedAt: z.nullable(z.date().transform(v => v.toISOString())).optional(),
287
- createdAt: z.nullable(z.date().transform(v => v.toISOString())).optional(),
288
293
  passThrough: z.array(passthroughbody_js_1.PassThroughBody$outboundSchema).optional(),
289
294
  policyType: z.string().optional(),
290
295
  }).transform((v) => {
@@ -297,11 +302,6 @@ exports.TimeOffRequest$outboundSchema = z.object({
297
302
  requestType: "request_type",
298
303
  approvalDate: "approval_date",
299
304
  dayPart: "day_part",
300
- customMappings: "custom_mappings",
301
- updatedBy: "updated_by",
302
- createdBy: "created_by",
303
- updatedAt: "updated_at",
304
- createdAt: "created_at",
305
305
  passThrough: "pass_through",
306
306
  policyType: "policy_type",
307
307
  });
@@ -310,17 +310,17 @@ exports.TimeOffRequest$outboundSchema = z.object({
310
310
  * @internal
311
311
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
312
312
  */
313
- var TimeOffRequest$;
314
- (function (TimeOffRequest$) {
315
- /** @deprecated use `TimeOffRequest$inboundSchema` instead. */
316
- TimeOffRequest$.inboundSchema = exports.TimeOffRequest$inboundSchema;
317
- /** @deprecated use `TimeOffRequest$outboundSchema` instead. */
318
- TimeOffRequest$.outboundSchema = exports.TimeOffRequest$outboundSchema;
319
- })(TimeOffRequest$ || (exports.TimeOffRequest$ = TimeOffRequest$ = {}));
320
- function timeOffRequestToJSON(timeOffRequest) {
321
- return JSON.stringify(exports.TimeOffRequest$outboundSchema.parse(timeOffRequest));
313
+ var TimeOffRequestInput$;
314
+ (function (TimeOffRequestInput$) {
315
+ /** @deprecated use `TimeOffRequestInput$inboundSchema` instead. */
316
+ TimeOffRequestInput$.inboundSchema = exports.TimeOffRequestInput$inboundSchema;
317
+ /** @deprecated use `TimeOffRequestInput$outboundSchema` instead. */
318
+ TimeOffRequestInput$.outboundSchema = exports.TimeOffRequestInput$outboundSchema;
319
+ })(TimeOffRequestInput$ || (exports.TimeOffRequestInput$ = TimeOffRequestInput$ = {}));
320
+ function timeOffRequestInputToJSON(timeOffRequestInput) {
321
+ return JSON.stringify(exports.TimeOffRequestInput$outboundSchema.parse(timeOffRequestInput));
322
322
  }
323
- function timeOffRequestFromJSON(jsonString) {
324
- return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.TimeOffRequest$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TimeOffRequest' from JSON`);
323
+ function timeOffRequestInputFromJSON(jsonString) {
324
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.TimeOffRequestInput$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TimeOffRequestInput' from JSON`);
325
325
  }
326
- //# sourceMappingURL=timeoffrequestinput.js.map
326
+ //# sourceMappingURL=timeoffrequest.js.map