@mergeapi/merge-node-client 0.1.4 → 0.1.6

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 (812) hide show
  1. package/Client.d.ts +3 -3
  2. package/Client.js +9 -9
  3. package/README.md +0 -7
  4. package/api/resources/accounting/resources/accountDetails/client/Client.js +1 -1
  5. package/api/resources/accounting/resources/accountToken/client/Client.js +1 -1
  6. package/api/resources/accounting/resources/accounts/client/Client.js +4 -4
  7. package/api/resources/accounting/resources/addresses/client/Client.js +1 -1
  8. package/api/resources/accounting/resources/asyncPassthrough/client/Client.js +2 -2
  9. package/api/resources/accounting/resources/attachments/client/Client.js +4 -4
  10. package/api/resources/accounting/resources/availableActions/client/Client.js +1 -1
  11. package/api/resources/accounting/resources/balanceSheets/client/Client.js +2 -2
  12. package/api/resources/accounting/resources/cashFlowStatements/client/Client.js +2 -2
  13. package/api/resources/accounting/resources/companyInfo/client/Client.js +2 -2
  14. package/api/resources/accounting/resources/contacts/client/Client.js +11 -5
  15. package/api/resources/accounting/resources/contacts/client/requests/ContactsListRequest.d.ts +8 -0
  16. package/api/resources/accounting/resources/creditNotes/client/Client.js +2 -2
  17. package/api/resources/accounting/resources/deleteAccount/client/Client.js +1 -1
  18. package/api/resources/accounting/resources/expenses/client/Client.js +4 -4
  19. package/api/resources/accounting/resources/forceResync/client/Client.js +1 -1
  20. package/api/resources/accounting/resources/generateKey/client/Client.js +1 -1
  21. package/api/resources/accounting/resources/incomeStatements/client/Client.js +2 -2
  22. package/api/resources/accounting/resources/invoices/client/Client.js +4 -4
  23. package/api/resources/accounting/resources/issues/client/Client.js +2 -2
  24. package/api/resources/accounting/resources/items/client/Client.js +2 -2
  25. package/api/resources/accounting/resources/journalEntries/client/Client.js +4 -4
  26. package/api/resources/accounting/resources/linkToken/client/Client.js +1 -1
  27. package/api/resources/accounting/resources/linkedAccounts/client/Client.js +1 -1
  28. package/api/resources/accounting/resources/passthrough/client/Client.js +1 -1
  29. package/api/resources/accounting/resources/payments/client/Client.js +4 -4
  30. package/api/resources/accounting/resources/phoneNumbers/client/Client.js +1 -1
  31. package/api/resources/accounting/resources/purchaseOrders/client/Client.js +4 -4
  32. package/api/resources/accounting/resources/regenerateKey/client/Client.js +1 -1
  33. package/api/resources/accounting/resources/selectiveSync/client/Client.js +3 -3
  34. package/api/resources/accounting/resources/syncStatus/client/Client.d.ts +1 -1
  35. package/api/resources/accounting/resources/syncStatus/client/Client.js +2 -2
  36. package/api/resources/accounting/resources/taxRates/client/Client.js +2 -2
  37. package/api/resources/accounting/resources/trackingCategories/client/Client.js +2 -2
  38. package/api/resources/accounting/resources/transactions/client/Client.js +2 -2
  39. package/api/resources/accounting/resources/vendorCredits/client/Client.js +2 -2
  40. package/api/resources/accounting/resources/webhookReceivers/client/Client.js +2 -2
  41. package/api/resources/accounting/types/CreditNote.d.ts +2 -2
  42. package/api/resources/accounting/types/CreditNoteApplyLine.d.ts +21 -0
  43. package/api/resources/accounting/types/CreditNoteApplyLine.js +5 -0
  44. package/api/resources/accounting/types/CreditNoteApplyLineInvoice.d.ts +5 -0
  45. package/api/resources/accounting/types/CreditNoteApplyLineInvoice.js +5 -0
  46. package/api/resources/accounting/types/CreditNotesListRequestExpand.d.ts +9 -1
  47. package/api/resources/accounting/types/CreditNotesListRequestExpand.js +8 -0
  48. package/api/resources/accounting/types/CreditNotesRetrieveRequestExpand.d.ts +9 -1
  49. package/api/resources/accounting/types/CreditNotesRetrieveRequestExpand.js +8 -0
  50. package/api/resources/accounting/types/Expense.d.ts +4 -0
  51. package/api/resources/accounting/types/ExpenseLine.d.ts +311 -0
  52. package/api/resources/accounting/types/ExpenseLineCurrency.d.ts +315 -0
  53. package/api/resources/accounting/types/ExpenseLineCurrency.js +5 -0
  54. package/api/resources/accounting/types/ExpenseLineRequest.d.ts +311 -0
  55. package/api/resources/accounting/types/ExpenseRequest.d.ts +4 -0
  56. package/api/resources/accounting/types/Invoice.d.ts +11 -0
  57. package/api/resources/accounting/types/InvoiceRequest.d.ts +11 -0
  58. package/api/resources/accounting/types/InvoiceRequestStatus.d.ts +15 -0
  59. package/api/resources/accounting/types/InvoiceRequestStatus.js +5 -0
  60. package/api/resources/accounting/types/InvoiceStatusEnum.d.ts +20 -0
  61. package/api/resources/accounting/types/InvoiceStatusEnum.js +14 -0
  62. package/api/resources/accounting/types/JournalEntry.d.ts +2 -0
  63. package/api/resources/accounting/types/JournalEntryRequest.d.ts +3 -0
  64. package/api/resources/accounting/types/JournalEntryRequestTrackingCategoriesItem.d.ts +5 -0
  65. package/api/resources/accounting/types/JournalEntryRequestTrackingCategoriesItem.js +5 -0
  66. package/api/resources/accounting/types/JournalLine.d.ts +311 -0
  67. package/api/resources/accounting/types/JournalLineCurrency.d.ts +315 -0
  68. package/api/resources/accounting/types/JournalLineCurrency.js +5 -0
  69. package/api/resources/accounting/types/JournalLineRequest.d.ts +311 -0
  70. package/api/resources/accounting/types/JournalLineRequestCurrency.d.ts +315 -0
  71. package/api/resources/accounting/types/JournalLineRequestCurrency.js +5 -0
  72. package/api/resources/accounting/types/Payment.d.ts +1 -0
  73. package/api/resources/accounting/types/PaymentLineItem.d.ts +26 -0
  74. package/api/resources/accounting/types/PaymentLineItem.js +5 -0
  75. package/api/resources/accounting/types/PaymentLineItemRelatedObjectType.d.ts +5 -0
  76. package/api/resources/accounting/types/PaymentLineItemRelatedObjectType.js +5 -0
  77. package/api/resources/accounting/types/PaymentLineItemRequest.d.ts +25 -0
  78. package/api/resources/accounting/types/PaymentLineItemRequest.js +5 -0
  79. package/api/resources/accounting/types/PaymentLineItemRequestRelatedObjectType.d.ts +5 -0
  80. package/api/resources/accounting/types/PaymentLineItemRequestRelatedObjectType.js +5 -0
  81. package/api/resources/accounting/types/PaymentRequest.d.ts +1 -0
  82. package/api/resources/accounting/types/PaymentsListRequestExpand.d.ts +17 -1
  83. package/api/resources/accounting/types/PaymentsListRequestExpand.js +16 -0
  84. package/api/resources/accounting/types/PaymentsRetrieveRequestExpand.d.ts +17 -1
  85. package/api/resources/accounting/types/PaymentsRetrieveRequestExpand.js +16 -0
  86. package/api/resources/accounting/types/PurchaseOrder.d.ts +2 -0
  87. package/api/resources/accounting/types/PurchaseOrderRequest.d.ts +1 -0
  88. package/api/resources/accounting/types/PurchaseOrderRequestTrackingCategoriesItem.d.ts +5 -0
  89. package/api/resources/accounting/types/PurchaseOrderRequestTrackingCategoriesItem.js +5 -0
  90. package/api/resources/accounting/types/RelatedObjectTypeEnum.d.ts +16 -0
  91. package/api/resources/accounting/types/RelatedObjectTypeEnum.js +12 -0
  92. package/api/resources/accounting/types/VendorCredit.d.ts +1 -0
  93. package/api/resources/accounting/types/VendorCreditApplyLine.d.ts +21 -0
  94. package/api/resources/accounting/types/VendorCreditApplyLine.js +5 -0
  95. package/api/resources/accounting/types/VendorCreditApplyLineInvoice.d.ts +5 -0
  96. package/api/resources/accounting/types/VendorCreditApplyLineInvoice.js +5 -0
  97. package/api/resources/accounting/types/VendorCreditsListRequestExpand.d.ts +17 -1
  98. package/api/resources/accounting/types/VendorCreditsListRequestExpand.js +16 -0
  99. package/api/resources/accounting/types/VendorCreditsRetrieveRequestExpand.d.ts +17 -1
  100. package/api/resources/accounting/types/VendorCreditsRetrieveRequestExpand.js +16 -0
  101. package/api/resources/accounting/types/index.d.ts +16 -0
  102. package/api/resources/accounting/types/index.js +16 -0
  103. package/api/resources/ats/resources/accountDetails/client/Client.js +1 -1
  104. package/api/resources/ats/resources/accountToken/client/Client.js +1 -1
  105. package/api/resources/ats/resources/activities/client/Client.js +4 -4
  106. package/api/resources/ats/resources/applications/client/Client.js +5 -5
  107. package/api/resources/ats/resources/asyncPassthrough/client/Client.js +2 -2
  108. package/api/resources/ats/resources/attachments/client/Client.js +4 -4
  109. package/api/resources/ats/resources/availableActions/client/Client.js +1 -1
  110. package/api/resources/ats/resources/candidates/client/Client.js +7 -7
  111. package/api/resources/ats/resources/deleteAccount/client/Client.js +1 -1
  112. package/api/resources/ats/resources/departments/client/Client.js +2 -2
  113. package/api/resources/ats/resources/eeocs/client/Client.js +2 -2
  114. package/api/resources/ats/resources/forceResync/client/Client.js +1 -1
  115. package/api/resources/ats/resources/generateKey/client/Client.js +1 -1
  116. package/api/resources/ats/resources/interviews/client/Client.js +4 -4
  117. package/api/resources/ats/resources/issues/client/Client.js +2 -2
  118. package/api/resources/ats/resources/jobInterviewStages/client/Client.js +2 -2
  119. package/api/resources/ats/resources/jobs/client/Client.js +2 -2
  120. package/api/resources/ats/resources/linkToken/client/Client.js +1 -1
  121. package/api/resources/ats/resources/linkedAccounts/client/Client.js +1 -1
  122. package/api/resources/ats/resources/offers/client/Client.js +2 -2
  123. package/api/resources/ats/resources/offices/client/Client.js +2 -2
  124. package/api/resources/ats/resources/passthrough/client/Client.js +1 -1
  125. package/api/resources/ats/resources/regenerateKey/client/Client.js +1 -1
  126. package/api/resources/ats/resources/rejectReasons/client/Client.js +2 -2
  127. package/api/resources/ats/resources/scorecards/client/Client.js +2 -2
  128. package/api/resources/ats/resources/selectiveSync/client/Client.js +3 -3
  129. package/api/resources/ats/resources/syncStatus/client/Client.d.ts +1 -1
  130. package/api/resources/ats/resources/syncStatus/client/Client.js +2 -2
  131. package/api/resources/ats/resources/tags/client/Client.js +1 -1
  132. package/api/resources/ats/resources/users/client/Client.js +2 -2
  133. package/api/resources/ats/resources/webhookReceivers/client/Client.js +2 -2
  134. package/api/resources/crm/resources/accountDetails/client/Client.js +1 -1
  135. package/api/resources/crm/resources/accountToken/client/Client.js +1 -1
  136. package/api/resources/crm/resources/accounts/client/Client.js +7 -7
  137. package/api/resources/crm/resources/associationTypes/client/Client.js +4 -4
  138. package/api/resources/crm/resources/associations/client/Client.js +2 -2
  139. package/api/resources/crm/resources/asyncPassthrough/client/Client.js +2 -2
  140. package/api/resources/crm/resources/availableActions/client/Client.js +1 -1
  141. package/api/resources/crm/resources/contacts/client/Client.js +15 -9
  142. package/api/resources/crm/resources/contacts/client/requests/ContactsListRequest.d.ts +8 -0
  143. package/api/resources/crm/resources/customObjectClasses/client/Client.js +3 -3
  144. package/api/resources/crm/resources/customObjects/client/Client.js +6 -6
  145. package/api/resources/crm/resources/deleteAccount/client/Client.js +1 -1
  146. package/api/resources/crm/resources/engagementTypes/client/Client.js +3 -3
  147. package/api/resources/crm/resources/engagements/client/Client.js +7 -7
  148. package/api/resources/crm/resources/forceResync/client/Client.js +1 -1
  149. package/api/resources/crm/resources/generateKey/client/Client.js +1 -1
  150. package/api/resources/crm/resources/issues/client/Client.js +2 -2
  151. package/api/resources/crm/resources/leads/client/Client.js +12 -6
  152. package/api/resources/crm/resources/leads/client/requests/LeadsListRequest.d.ts +8 -0
  153. package/api/resources/crm/resources/linkToken/client/Client.js +1 -1
  154. package/api/resources/crm/resources/linkedAccounts/client/Client.js +1 -1
  155. package/api/resources/crm/resources/notes/client/Client.js +5 -5
  156. package/api/resources/crm/resources/opportunities/client/Client.js +7 -7
  157. package/api/resources/crm/resources/passthrough/client/Client.js +1 -1
  158. package/api/resources/crm/resources/regenerateKey/client/Client.js +1 -1
  159. package/api/resources/crm/resources/selectiveSync/client/Client.js +3 -3
  160. package/api/resources/crm/resources/stages/client/Client.js +3 -3
  161. package/api/resources/crm/resources/syncStatus/client/Client.d.ts +1 -1
  162. package/api/resources/crm/resources/syncStatus/client/Client.js +2 -2
  163. package/api/resources/crm/resources/tasks/client/Client.js +7 -7
  164. package/api/resources/crm/resources/users/client/Client.js +4 -4
  165. package/api/resources/crm/resources/webhookReceivers/client/Client.js +2 -2
  166. package/api/resources/crm/types/AccountRequest.d.ts +2 -0
  167. package/api/resources/crm/types/RemoteFieldRequest.d.ts +1 -1
  168. package/api/resources/filestorage/resources/accountDetails/client/Client.js +1 -1
  169. package/api/resources/filestorage/resources/accountToken/client/Client.js +1 -1
  170. package/api/resources/filestorage/resources/asyncPassthrough/client/Client.js +2 -2
  171. package/api/resources/filestorage/resources/availableActions/client/Client.js +1 -1
  172. package/api/resources/filestorage/resources/deleteAccount/client/Client.js +1 -1
  173. package/api/resources/filestorage/resources/drives/client/Client.js +2 -2
  174. package/api/resources/filestorage/resources/files/client/Client.js +5 -5
  175. package/api/resources/filestorage/resources/folders/client/Client.js +4 -4
  176. package/api/resources/filestorage/resources/forceResync/client/Client.js +1 -1
  177. package/api/resources/filestorage/resources/generateKey/client/Client.js +1 -1
  178. package/api/resources/filestorage/resources/groups/client/Client.js +2 -2
  179. package/api/resources/filestorage/resources/issues/client/Client.js +2 -2
  180. package/api/resources/filestorage/resources/linkToken/client/Client.js +1 -1
  181. package/api/resources/filestorage/resources/linkedAccounts/client/Client.js +1 -1
  182. package/api/resources/filestorage/resources/passthrough/client/Client.js +1 -1
  183. package/api/resources/filestorage/resources/regenerateKey/client/Client.js +1 -1
  184. package/api/resources/filestorage/resources/selectiveSync/client/Client.js +3 -3
  185. package/api/resources/filestorage/resources/syncStatus/client/Client.d.ts +1 -1
  186. package/api/resources/filestorage/resources/syncStatus/client/Client.js +2 -2
  187. package/api/resources/filestorage/resources/users/client/Client.js +3 -3
  188. package/api/resources/filestorage/resources/users/client/requests/UsersListRequest.d.ts +1 -1
  189. package/api/resources/filestorage/resources/webhookReceivers/client/Client.js +2 -2
  190. package/api/resources/filestorage/types/FilePermissions.d.ts +8 -0
  191. package/api/resources/filestorage/types/FilePermissions.js +5 -0
  192. package/api/resources/filestorage/types/FilePermissionsItem.d.ts +5 -0
  193. package/api/resources/filestorage/types/FilePermissionsItem.js +5 -0
  194. package/api/resources/filestorage/types/FileRequest.d.ts +2 -1
  195. package/api/resources/filestorage/types/FileRequestPermissions.d.ts +8 -0
  196. package/api/resources/filestorage/types/FileRequestPermissions.js +5 -0
  197. package/api/resources/filestorage/types/FileRequestPermissionsItem.d.ts +5 -0
  198. package/api/resources/filestorage/types/FileRequestPermissionsItem.js +5 -0
  199. package/api/resources/filestorage/types/File_.d.ts +2 -1
  200. package/api/resources/filestorage/types/Folder.d.ts +2 -1
  201. package/api/resources/filestorage/types/FolderPermissions.d.ts +8 -0
  202. package/api/resources/filestorage/types/FolderPermissions.js +5 -0
  203. package/api/resources/filestorage/types/FolderPermissionsItem.d.ts +5 -0
  204. package/api/resources/filestorage/types/FolderPermissionsItem.js +5 -0
  205. package/api/resources/filestorage/types/FolderRequest.d.ts +2 -1
  206. package/api/resources/filestorage/types/FolderRequestPermissions.d.ts +8 -0
  207. package/api/resources/filestorage/types/FolderRequestPermissions.js +5 -0
  208. package/api/resources/filestorage/types/FolderRequestPermissionsItem.d.ts +5 -0
  209. package/api/resources/filestorage/types/FolderRequestPermissionsItem.js +5 -0
  210. package/api/resources/filestorage/types/Permission.d.ts +34 -0
  211. package/api/resources/filestorage/types/Permission.js +5 -0
  212. package/api/resources/filestorage/types/PermissionRequest.d.ts +33 -0
  213. package/api/resources/filestorage/types/PermissionRequest.js +5 -0
  214. package/api/resources/filestorage/types/RolesEnum.d.ts +14 -0
  215. package/api/resources/filestorage/types/RolesEnum.js +11 -0
  216. package/api/resources/filestorage/types/TypeEnum.d.ts +16 -0
  217. package/api/resources/filestorage/types/TypeEnum.js +12 -0
  218. package/api/resources/filestorage/types/index.d.ts +12 -0
  219. package/api/resources/filestorage/types/index.js +12 -0
  220. package/api/resources/hris/resources/accountDetails/client/Client.js +1 -1
  221. package/api/resources/hris/resources/accountToken/client/Client.js +1 -1
  222. package/api/resources/hris/resources/asyncPassthrough/client/Client.js +2 -2
  223. package/api/resources/hris/resources/availableActions/client/Client.js +1 -1
  224. package/api/resources/hris/resources/bankInfo/client/Client.js +2 -2
  225. package/api/resources/hris/resources/benefits/client/Client.js +2 -2
  226. package/api/resources/hris/resources/companies/client/Client.js +2 -2
  227. package/api/resources/hris/resources/deleteAccount/client/Client.js +1 -1
  228. package/api/resources/hris/resources/dependents/client/Client.js +2 -2
  229. package/api/resources/hris/resources/employeePayrollRuns/client/Client.js +2 -2
  230. package/api/resources/hris/resources/employees/client/Client.js +15 -6
  231. package/api/resources/hris/resources/employees/client/requests/EmployeesListRequest.d.ts +12 -0
  232. package/api/resources/hris/resources/employerBenefits/client/Client.js +2 -2
  233. package/api/resources/hris/resources/employments/client/Client.js +2 -2
  234. package/api/resources/hris/resources/forceResync/client/Client.js +1 -1
  235. package/api/resources/hris/resources/generateKey/client/Client.js +1 -1
  236. package/api/resources/hris/resources/groups/client/Client.js +2 -2
  237. package/api/resources/hris/resources/issues/client/Client.js +2 -2
  238. package/api/resources/hris/resources/linkToken/client/Client.js +1 -1
  239. package/api/resources/hris/resources/linkedAccounts/client/Client.js +1 -1
  240. package/api/resources/hris/resources/locations/client/Client.js +2 -2
  241. package/api/resources/hris/resources/passthrough/client/Client.js +1 -1
  242. package/api/resources/hris/resources/payGroups/client/Client.js +2 -2
  243. package/api/resources/hris/resources/payrollRuns/client/Client.js +2 -2
  244. package/api/resources/hris/resources/regenerateKey/client/Client.js +1 -1
  245. package/api/resources/hris/resources/selectiveSync/client/Client.js +3 -3
  246. package/api/resources/hris/resources/syncStatus/client/Client.d.ts +1 -1
  247. package/api/resources/hris/resources/syncStatus/client/Client.js +2 -2
  248. package/api/resources/hris/resources/teams/client/Client.js +2 -2
  249. package/api/resources/hris/resources/timeOff/client/Client.js +4 -4
  250. package/api/resources/hris/resources/timeOffBalances/client/Client.js +2 -2
  251. package/api/resources/hris/resources/webhookReceivers/client/Client.js +2 -2
  252. package/api/resources/hris/types/Employee.d.ts +2 -0
  253. package/api/resources/hris/types/EmployeeRequest.d.ts +2 -0
  254. package/api/resources/index.d.ts +1 -1
  255. package/api/resources/index.js +2 -2
  256. package/api/resources/ticketing/resources/accountDetails/client/Client.js +1 -1
  257. package/api/resources/ticketing/resources/accountToken/client/Client.js +1 -1
  258. package/api/resources/ticketing/resources/accounts/client/Client.js +2 -2
  259. package/api/resources/ticketing/resources/asyncPassthrough/client/Client.js +2 -2
  260. package/api/resources/ticketing/resources/attachments/client/Client.js +5 -5
  261. package/api/resources/ticketing/resources/availableActions/client/Client.js +1 -1
  262. package/api/resources/ticketing/resources/collections/client/Client.js +3 -3
  263. package/api/resources/ticketing/resources/comments/client/Client.js +4 -4
  264. package/api/resources/ticketing/resources/contacts/client/Client.js +2 -2
  265. package/api/resources/ticketing/resources/deleteAccount/client/Client.js +1 -1
  266. package/api/resources/ticketing/resources/forceResync/client/Client.js +1 -1
  267. package/api/resources/ticketing/resources/generateKey/client/Client.js +1 -1
  268. package/api/resources/ticketing/resources/issues/client/Client.js +2 -2
  269. package/api/resources/ticketing/resources/linkToken/client/Client.js +1 -1
  270. package/api/resources/ticketing/resources/linkedAccounts/client/Client.js +1 -1
  271. package/api/resources/ticketing/resources/passthrough/client/Client.js +1 -1
  272. package/api/resources/ticketing/resources/projects/client/Client.js +3 -3
  273. package/api/resources/ticketing/resources/regenerateKey/client/Client.js +1 -1
  274. package/api/resources/ticketing/resources/selectiveSync/client/Client.js +3 -3
  275. package/api/resources/ticketing/resources/syncStatus/client/Client.d.ts +1 -1
  276. package/api/resources/ticketing/resources/syncStatus/client/Client.js +2 -2
  277. package/api/resources/ticketing/resources/tags/client/Client.js +2 -2
  278. package/api/resources/ticketing/resources/teams/client/Client.js +2 -2
  279. package/api/resources/ticketing/resources/tickets/client/Client.js +8 -8
  280. package/api/resources/ticketing/resources/users/client/Client.js +2 -2
  281. package/api/resources/ticketing/resources/webhookReceivers/client/Client.js +2 -2
  282. package/api/resources/ticketing/types/RemoteFieldRequest.d.ts +1 -1
  283. package/dist/Client.d.ts +3 -3
  284. package/dist/Client.js +9 -9
  285. package/dist/api/resources/accounting/resources/accountDetails/client/Client.js +1 -1
  286. package/dist/api/resources/accounting/resources/accountToken/client/Client.js +1 -1
  287. package/dist/api/resources/accounting/resources/accounts/client/Client.js +4 -4
  288. package/dist/api/resources/accounting/resources/addresses/client/Client.js +1 -1
  289. package/dist/api/resources/accounting/resources/asyncPassthrough/client/Client.js +2 -2
  290. package/dist/api/resources/accounting/resources/attachments/client/Client.js +4 -4
  291. package/dist/api/resources/accounting/resources/availableActions/client/Client.js +1 -1
  292. package/dist/api/resources/accounting/resources/balanceSheets/client/Client.js +2 -2
  293. package/dist/api/resources/accounting/resources/cashFlowStatements/client/Client.js +2 -2
  294. package/dist/api/resources/accounting/resources/companyInfo/client/Client.js +2 -2
  295. package/dist/api/resources/accounting/resources/contacts/client/Client.js +11 -5
  296. package/dist/api/resources/accounting/resources/contacts/client/requests/ContactsListRequest.d.ts +8 -0
  297. package/dist/api/resources/accounting/resources/creditNotes/client/Client.js +2 -2
  298. package/dist/api/resources/accounting/resources/deleteAccount/client/Client.js +1 -1
  299. package/dist/api/resources/accounting/resources/expenses/client/Client.js +4 -4
  300. package/dist/api/resources/accounting/resources/forceResync/client/Client.js +1 -1
  301. package/dist/api/resources/accounting/resources/generateKey/client/Client.js +1 -1
  302. package/dist/api/resources/accounting/resources/incomeStatements/client/Client.js +2 -2
  303. package/dist/api/resources/accounting/resources/invoices/client/Client.js +4 -4
  304. package/dist/api/resources/accounting/resources/issues/client/Client.js +2 -2
  305. package/dist/api/resources/accounting/resources/items/client/Client.js +2 -2
  306. package/dist/api/resources/accounting/resources/journalEntries/client/Client.js +4 -4
  307. package/dist/api/resources/accounting/resources/linkToken/client/Client.js +1 -1
  308. package/dist/api/resources/accounting/resources/linkedAccounts/client/Client.js +1 -1
  309. package/dist/api/resources/accounting/resources/passthrough/client/Client.js +1 -1
  310. package/dist/api/resources/accounting/resources/payments/client/Client.js +4 -4
  311. package/dist/api/resources/accounting/resources/phoneNumbers/client/Client.js +1 -1
  312. package/dist/api/resources/accounting/resources/purchaseOrders/client/Client.js +4 -4
  313. package/dist/api/resources/accounting/resources/regenerateKey/client/Client.js +1 -1
  314. package/dist/api/resources/accounting/resources/selectiveSync/client/Client.js +3 -3
  315. package/dist/api/resources/accounting/resources/syncStatus/client/Client.d.ts +1 -1
  316. package/dist/api/resources/accounting/resources/syncStatus/client/Client.js +2 -2
  317. package/dist/api/resources/accounting/resources/taxRates/client/Client.js +2 -2
  318. package/dist/api/resources/accounting/resources/trackingCategories/client/Client.js +2 -2
  319. package/dist/api/resources/accounting/resources/transactions/client/Client.js +2 -2
  320. package/dist/api/resources/accounting/resources/vendorCredits/client/Client.js +2 -2
  321. package/dist/api/resources/accounting/resources/webhookReceivers/client/Client.js +2 -2
  322. package/dist/api/resources/accounting/types/CreditNote.d.ts +2 -2
  323. package/dist/api/resources/accounting/types/CreditNoteApplyLine.d.ts +21 -0
  324. package/dist/api/resources/accounting/types/CreditNoteApplyLine.js +5 -0
  325. package/dist/api/resources/accounting/types/CreditNoteApplyLineInvoice.d.ts +5 -0
  326. package/dist/api/resources/accounting/types/CreditNoteApplyLineInvoice.js +5 -0
  327. package/dist/api/resources/accounting/types/CreditNotesListRequestExpand.d.ts +9 -1
  328. package/dist/api/resources/accounting/types/CreditNotesListRequestExpand.js +8 -0
  329. package/dist/api/resources/accounting/types/CreditNotesRetrieveRequestExpand.d.ts +9 -1
  330. package/dist/api/resources/accounting/types/CreditNotesRetrieveRequestExpand.js +8 -0
  331. package/dist/api/resources/accounting/types/Expense.d.ts +4 -0
  332. package/dist/api/resources/accounting/types/ExpenseLine.d.ts +311 -0
  333. package/dist/api/resources/accounting/types/ExpenseLineCurrency.d.ts +315 -0
  334. package/dist/api/resources/accounting/types/ExpenseLineCurrency.js +5 -0
  335. package/dist/api/resources/accounting/types/ExpenseLineRequest.d.ts +311 -0
  336. package/dist/api/resources/accounting/types/ExpenseRequest.d.ts +4 -0
  337. package/dist/api/resources/accounting/types/Invoice.d.ts +11 -0
  338. package/dist/api/resources/accounting/types/InvoiceRequest.d.ts +11 -0
  339. package/dist/api/resources/accounting/types/InvoiceRequestStatus.d.ts +15 -0
  340. package/dist/api/resources/accounting/types/InvoiceRequestStatus.js +5 -0
  341. package/dist/api/resources/accounting/types/InvoiceStatusEnum.d.ts +20 -0
  342. package/dist/api/resources/accounting/types/InvoiceStatusEnum.js +14 -0
  343. package/dist/api/resources/accounting/types/JournalEntry.d.ts +2 -0
  344. package/dist/api/resources/accounting/types/JournalEntryRequest.d.ts +3 -0
  345. package/dist/api/resources/accounting/types/JournalEntryRequestTrackingCategoriesItem.d.ts +5 -0
  346. package/dist/api/resources/accounting/types/JournalEntryRequestTrackingCategoriesItem.js +5 -0
  347. package/dist/api/resources/accounting/types/JournalLine.d.ts +311 -0
  348. package/dist/api/resources/accounting/types/JournalLineCurrency.d.ts +315 -0
  349. package/dist/api/resources/accounting/types/JournalLineCurrency.js +5 -0
  350. package/dist/api/resources/accounting/types/JournalLineRequest.d.ts +311 -0
  351. package/dist/api/resources/accounting/types/JournalLineRequestCurrency.d.ts +315 -0
  352. package/dist/api/resources/accounting/types/JournalLineRequestCurrency.js +5 -0
  353. package/dist/api/resources/accounting/types/Payment.d.ts +1 -0
  354. package/dist/api/resources/accounting/types/PaymentLineItem.d.ts +26 -0
  355. package/dist/api/resources/accounting/types/PaymentLineItem.js +5 -0
  356. package/dist/api/resources/accounting/types/PaymentLineItemRelatedObjectType.d.ts +5 -0
  357. package/dist/api/resources/accounting/types/PaymentLineItemRelatedObjectType.js +5 -0
  358. package/dist/api/resources/accounting/types/PaymentLineItemRequest.d.ts +25 -0
  359. package/dist/api/resources/accounting/types/PaymentLineItemRequest.js +5 -0
  360. package/dist/api/resources/accounting/types/PaymentLineItemRequestRelatedObjectType.d.ts +5 -0
  361. package/dist/api/resources/accounting/types/PaymentLineItemRequestRelatedObjectType.js +5 -0
  362. package/dist/api/resources/accounting/types/PaymentRequest.d.ts +1 -0
  363. package/dist/api/resources/accounting/types/PaymentsListRequestExpand.d.ts +17 -1
  364. package/dist/api/resources/accounting/types/PaymentsListRequestExpand.js +16 -0
  365. package/dist/api/resources/accounting/types/PaymentsRetrieveRequestExpand.d.ts +17 -1
  366. package/dist/api/resources/accounting/types/PaymentsRetrieveRequestExpand.js +16 -0
  367. package/dist/api/resources/accounting/types/PurchaseOrder.d.ts +2 -0
  368. package/dist/api/resources/accounting/types/PurchaseOrderRequest.d.ts +1 -0
  369. package/dist/api/resources/accounting/types/PurchaseOrderRequestTrackingCategoriesItem.d.ts +5 -0
  370. package/dist/api/resources/accounting/types/PurchaseOrderRequestTrackingCategoriesItem.js +5 -0
  371. package/dist/api/resources/accounting/types/RelatedObjectTypeEnum.d.ts +16 -0
  372. package/dist/api/resources/accounting/types/RelatedObjectTypeEnum.js +12 -0
  373. package/dist/api/resources/accounting/types/VendorCredit.d.ts +1 -0
  374. package/dist/api/resources/accounting/types/VendorCreditApplyLine.d.ts +21 -0
  375. package/dist/api/resources/accounting/types/VendorCreditApplyLine.js +5 -0
  376. package/dist/api/resources/accounting/types/VendorCreditApplyLineInvoice.d.ts +5 -0
  377. package/dist/api/resources/accounting/types/VendorCreditApplyLineInvoice.js +5 -0
  378. package/dist/api/resources/accounting/types/VendorCreditsListRequestExpand.d.ts +17 -1
  379. package/dist/api/resources/accounting/types/VendorCreditsListRequestExpand.js +16 -0
  380. package/dist/api/resources/accounting/types/VendorCreditsRetrieveRequestExpand.d.ts +17 -1
  381. package/dist/api/resources/accounting/types/VendorCreditsRetrieveRequestExpand.js +16 -0
  382. package/dist/api/resources/accounting/types/index.d.ts +16 -0
  383. package/dist/api/resources/accounting/types/index.js +16 -0
  384. package/dist/api/resources/ats/resources/accountDetails/client/Client.js +1 -1
  385. package/dist/api/resources/ats/resources/accountToken/client/Client.js +1 -1
  386. package/dist/api/resources/ats/resources/activities/client/Client.js +4 -4
  387. package/dist/api/resources/ats/resources/applications/client/Client.js +5 -5
  388. package/dist/api/resources/ats/resources/asyncPassthrough/client/Client.js +2 -2
  389. package/dist/api/resources/ats/resources/attachments/client/Client.js +4 -4
  390. package/dist/api/resources/ats/resources/availableActions/client/Client.js +1 -1
  391. package/dist/api/resources/ats/resources/candidates/client/Client.js +7 -7
  392. package/dist/api/resources/ats/resources/deleteAccount/client/Client.js +1 -1
  393. package/dist/api/resources/ats/resources/departments/client/Client.js +2 -2
  394. package/dist/api/resources/ats/resources/eeocs/client/Client.js +2 -2
  395. package/dist/api/resources/ats/resources/forceResync/client/Client.js +1 -1
  396. package/dist/api/resources/ats/resources/generateKey/client/Client.js +1 -1
  397. package/dist/api/resources/ats/resources/interviews/client/Client.js +4 -4
  398. package/dist/api/resources/ats/resources/issues/client/Client.js +2 -2
  399. package/dist/api/resources/ats/resources/jobInterviewStages/client/Client.js +2 -2
  400. package/dist/api/resources/ats/resources/jobs/client/Client.js +2 -2
  401. package/dist/api/resources/ats/resources/linkToken/client/Client.js +1 -1
  402. package/dist/api/resources/ats/resources/linkedAccounts/client/Client.js +1 -1
  403. package/dist/api/resources/ats/resources/offers/client/Client.js +2 -2
  404. package/dist/api/resources/ats/resources/offices/client/Client.js +2 -2
  405. package/dist/api/resources/ats/resources/passthrough/client/Client.js +1 -1
  406. package/dist/api/resources/ats/resources/regenerateKey/client/Client.js +1 -1
  407. package/dist/api/resources/ats/resources/rejectReasons/client/Client.js +2 -2
  408. package/dist/api/resources/ats/resources/scorecards/client/Client.js +2 -2
  409. package/dist/api/resources/ats/resources/selectiveSync/client/Client.js +3 -3
  410. package/dist/api/resources/ats/resources/syncStatus/client/Client.d.ts +1 -1
  411. package/dist/api/resources/ats/resources/syncStatus/client/Client.js +2 -2
  412. package/dist/api/resources/ats/resources/tags/client/Client.js +1 -1
  413. package/dist/api/resources/ats/resources/users/client/Client.js +2 -2
  414. package/dist/api/resources/ats/resources/webhookReceivers/client/Client.js +2 -2
  415. package/dist/api/resources/crm/resources/accountDetails/client/Client.js +1 -1
  416. package/dist/api/resources/crm/resources/accountToken/client/Client.js +1 -1
  417. package/dist/api/resources/crm/resources/accounts/client/Client.js +7 -7
  418. package/dist/api/resources/crm/resources/associationTypes/client/Client.js +4 -4
  419. package/dist/api/resources/crm/resources/associations/client/Client.js +2 -2
  420. package/dist/api/resources/crm/resources/asyncPassthrough/client/Client.js +2 -2
  421. package/dist/api/resources/crm/resources/availableActions/client/Client.js +1 -1
  422. package/dist/api/resources/crm/resources/contacts/client/Client.js +15 -9
  423. package/dist/api/resources/crm/resources/contacts/client/requests/ContactsListRequest.d.ts +8 -0
  424. package/dist/api/resources/crm/resources/customObjectClasses/client/Client.js +3 -3
  425. package/dist/api/resources/crm/resources/customObjects/client/Client.js +6 -6
  426. package/dist/api/resources/crm/resources/deleteAccount/client/Client.js +1 -1
  427. package/dist/api/resources/crm/resources/engagementTypes/client/Client.js +3 -3
  428. package/dist/api/resources/crm/resources/engagements/client/Client.js +7 -7
  429. package/dist/api/resources/crm/resources/forceResync/client/Client.js +1 -1
  430. package/dist/api/resources/crm/resources/generateKey/client/Client.js +1 -1
  431. package/dist/api/resources/crm/resources/issues/client/Client.js +2 -2
  432. package/dist/api/resources/crm/resources/leads/client/Client.js +12 -6
  433. package/dist/api/resources/crm/resources/leads/client/requests/LeadsListRequest.d.ts +8 -0
  434. package/dist/api/resources/crm/resources/linkToken/client/Client.js +1 -1
  435. package/dist/api/resources/crm/resources/linkedAccounts/client/Client.js +1 -1
  436. package/dist/api/resources/crm/resources/notes/client/Client.js +5 -5
  437. package/dist/api/resources/crm/resources/opportunities/client/Client.js +7 -7
  438. package/dist/api/resources/crm/resources/passthrough/client/Client.js +1 -1
  439. package/dist/api/resources/crm/resources/regenerateKey/client/Client.js +1 -1
  440. package/dist/api/resources/crm/resources/selectiveSync/client/Client.js +3 -3
  441. package/dist/api/resources/crm/resources/stages/client/Client.js +3 -3
  442. package/dist/api/resources/crm/resources/syncStatus/client/Client.d.ts +1 -1
  443. package/dist/api/resources/crm/resources/syncStatus/client/Client.js +2 -2
  444. package/dist/api/resources/crm/resources/tasks/client/Client.js +7 -7
  445. package/dist/api/resources/crm/resources/users/client/Client.js +4 -4
  446. package/dist/api/resources/crm/resources/webhookReceivers/client/Client.js +2 -2
  447. package/dist/api/resources/crm/types/AccountRequest.d.ts +2 -0
  448. package/dist/api/resources/crm/types/RemoteFieldRequest.d.ts +1 -1
  449. package/dist/api/resources/filestorage/resources/accountDetails/client/Client.js +1 -1
  450. package/dist/api/resources/filestorage/resources/accountToken/client/Client.js +1 -1
  451. package/dist/api/resources/filestorage/resources/asyncPassthrough/client/Client.js +2 -2
  452. package/dist/api/resources/filestorage/resources/availableActions/client/Client.js +1 -1
  453. package/dist/api/resources/filestorage/resources/deleteAccount/client/Client.js +1 -1
  454. package/dist/api/resources/filestorage/resources/drives/client/Client.js +2 -2
  455. package/dist/api/resources/filestorage/resources/files/client/Client.js +5 -5
  456. package/dist/api/resources/filestorage/resources/folders/client/Client.js +4 -4
  457. package/dist/api/resources/filestorage/resources/forceResync/client/Client.js +1 -1
  458. package/dist/api/resources/filestorage/resources/generateKey/client/Client.js +1 -1
  459. package/dist/api/resources/filestorage/resources/groups/client/Client.js +2 -2
  460. package/dist/api/resources/filestorage/resources/issues/client/Client.js +2 -2
  461. package/dist/api/resources/filestorage/resources/linkToken/client/Client.js +1 -1
  462. package/dist/api/resources/filestorage/resources/linkedAccounts/client/Client.js +1 -1
  463. package/dist/api/resources/filestorage/resources/passthrough/client/Client.js +1 -1
  464. package/dist/api/resources/filestorage/resources/regenerateKey/client/Client.js +1 -1
  465. package/dist/api/resources/filestorage/resources/selectiveSync/client/Client.js +3 -3
  466. package/dist/api/resources/filestorage/resources/syncStatus/client/Client.d.ts +1 -1
  467. package/dist/api/resources/filestorage/resources/syncStatus/client/Client.js +2 -2
  468. package/dist/api/resources/filestorage/resources/users/client/Client.js +3 -3
  469. package/dist/api/resources/filestorage/resources/users/client/requests/UsersListRequest.d.ts +1 -1
  470. package/dist/api/resources/filestorage/resources/webhookReceivers/client/Client.js +2 -2
  471. package/dist/api/resources/filestorage/types/FilePermissions.d.ts +8 -0
  472. package/dist/api/resources/filestorage/types/FilePermissions.js +5 -0
  473. package/dist/api/resources/filestorage/types/FilePermissionsItem.d.ts +5 -0
  474. package/dist/api/resources/filestorage/types/FilePermissionsItem.js +5 -0
  475. package/dist/api/resources/filestorage/types/FileRequest.d.ts +2 -1
  476. package/dist/api/resources/filestorage/types/FileRequestPermissions.d.ts +8 -0
  477. package/dist/api/resources/filestorage/types/FileRequestPermissions.js +5 -0
  478. package/dist/api/resources/filestorage/types/FileRequestPermissionsItem.d.ts +5 -0
  479. package/dist/api/resources/filestorage/types/FileRequestPermissionsItem.js +5 -0
  480. package/dist/api/resources/filestorage/types/File_.d.ts +2 -1
  481. package/dist/api/resources/filestorage/types/Folder.d.ts +2 -1
  482. package/dist/api/resources/filestorage/types/FolderPermissions.d.ts +8 -0
  483. package/dist/api/resources/filestorage/types/FolderPermissions.js +5 -0
  484. package/dist/api/resources/filestorage/types/FolderPermissionsItem.d.ts +5 -0
  485. package/dist/api/resources/filestorage/types/FolderPermissionsItem.js +5 -0
  486. package/dist/api/resources/filestorage/types/FolderRequest.d.ts +2 -1
  487. package/dist/api/resources/filestorage/types/FolderRequestPermissions.d.ts +8 -0
  488. package/dist/api/resources/filestorage/types/FolderRequestPermissions.js +5 -0
  489. package/dist/api/resources/filestorage/types/FolderRequestPermissionsItem.d.ts +5 -0
  490. package/dist/api/resources/filestorage/types/FolderRequestPermissionsItem.js +5 -0
  491. package/dist/api/resources/filestorage/types/Permission.d.ts +34 -0
  492. package/dist/api/resources/filestorage/types/Permission.js +5 -0
  493. package/dist/api/resources/filestorage/types/PermissionRequest.d.ts +33 -0
  494. package/dist/api/resources/filestorage/types/PermissionRequest.js +5 -0
  495. package/dist/api/resources/filestorage/types/RolesEnum.d.ts +14 -0
  496. package/dist/api/resources/filestorage/types/RolesEnum.js +11 -0
  497. package/dist/api/resources/filestorage/types/TypeEnum.d.ts +16 -0
  498. package/dist/api/resources/filestorage/types/TypeEnum.js +12 -0
  499. package/dist/api/resources/filestorage/types/index.d.ts +12 -0
  500. package/dist/api/resources/filestorage/types/index.js +12 -0
  501. package/dist/api/resources/hris/resources/accountDetails/client/Client.js +1 -1
  502. package/dist/api/resources/hris/resources/accountToken/client/Client.js +1 -1
  503. package/dist/api/resources/hris/resources/asyncPassthrough/client/Client.js +2 -2
  504. package/dist/api/resources/hris/resources/availableActions/client/Client.js +1 -1
  505. package/dist/api/resources/hris/resources/bankInfo/client/Client.js +2 -2
  506. package/dist/api/resources/hris/resources/benefits/client/Client.js +2 -2
  507. package/dist/api/resources/hris/resources/companies/client/Client.js +2 -2
  508. package/dist/api/resources/hris/resources/deleteAccount/client/Client.js +1 -1
  509. package/dist/api/resources/hris/resources/dependents/client/Client.js +2 -2
  510. package/dist/api/resources/hris/resources/employeePayrollRuns/client/Client.js +2 -2
  511. package/dist/api/resources/hris/resources/employees/client/Client.js +15 -6
  512. package/dist/api/resources/hris/resources/employees/client/requests/EmployeesListRequest.d.ts +12 -0
  513. package/dist/api/resources/hris/resources/employerBenefits/client/Client.js +2 -2
  514. package/dist/api/resources/hris/resources/employments/client/Client.js +2 -2
  515. package/dist/api/resources/hris/resources/forceResync/client/Client.js +1 -1
  516. package/dist/api/resources/hris/resources/generateKey/client/Client.js +1 -1
  517. package/dist/api/resources/hris/resources/groups/client/Client.js +2 -2
  518. package/dist/api/resources/hris/resources/issues/client/Client.js +2 -2
  519. package/dist/api/resources/hris/resources/linkToken/client/Client.js +1 -1
  520. package/dist/api/resources/hris/resources/linkedAccounts/client/Client.js +1 -1
  521. package/dist/api/resources/hris/resources/locations/client/Client.js +2 -2
  522. package/dist/api/resources/hris/resources/passthrough/client/Client.js +1 -1
  523. package/dist/api/resources/hris/resources/payGroups/client/Client.js +2 -2
  524. package/dist/api/resources/hris/resources/payrollRuns/client/Client.js +2 -2
  525. package/dist/api/resources/hris/resources/regenerateKey/client/Client.js +1 -1
  526. package/dist/api/resources/hris/resources/selectiveSync/client/Client.js +3 -3
  527. package/dist/api/resources/hris/resources/syncStatus/client/Client.d.ts +1 -1
  528. package/dist/api/resources/hris/resources/syncStatus/client/Client.js +2 -2
  529. package/dist/api/resources/hris/resources/teams/client/Client.js +2 -2
  530. package/dist/api/resources/hris/resources/timeOff/client/Client.js +4 -4
  531. package/dist/api/resources/hris/resources/timeOffBalances/client/Client.js +2 -2
  532. package/dist/api/resources/hris/resources/webhookReceivers/client/Client.js +2 -2
  533. package/dist/api/resources/hris/types/Employee.d.ts +2 -0
  534. package/dist/api/resources/hris/types/EmployeeRequest.d.ts +2 -0
  535. package/dist/api/resources/index.d.ts +1 -1
  536. package/dist/api/resources/index.js +2 -2
  537. package/dist/api/resources/ticketing/resources/accountDetails/client/Client.js +1 -1
  538. package/dist/api/resources/ticketing/resources/accountToken/client/Client.js +1 -1
  539. package/dist/api/resources/ticketing/resources/accounts/client/Client.js +2 -2
  540. package/dist/api/resources/ticketing/resources/asyncPassthrough/client/Client.js +2 -2
  541. package/dist/api/resources/ticketing/resources/attachments/client/Client.js +5 -5
  542. package/dist/api/resources/ticketing/resources/availableActions/client/Client.js +1 -1
  543. package/dist/api/resources/ticketing/resources/collections/client/Client.js +3 -3
  544. package/dist/api/resources/ticketing/resources/comments/client/Client.js +4 -4
  545. package/dist/api/resources/ticketing/resources/contacts/client/Client.js +2 -2
  546. package/dist/api/resources/ticketing/resources/deleteAccount/client/Client.js +1 -1
  547. package/dist/api/resources/ticketing/resources/forceResync/client/Client.js +1 -1
  548. package/dist/api/resources/ticketing/resources/generateKey/client/Client.js +1 -1
  549. package/dist/api/resources/ticketing/resources/issues/client/Client.js +2 -2
  550. package/dist/api/resources/ticketing/resources/linkToken/client/Client.js +1 -1
  551. package/dist/api/resources/ticketing/resources/linkedAccounts/client/Client.js +1 -1
  552. package/dist/api/resources/ticketing/resources/passthrough/client/Client.js +1 -1
  553. package/dist/api/resources/ticketing/resources/projects/client/Client.js +3 -3
  554. package/dist/api/resources/ticketing/resources/regenerateKey/client/Client.js +1 -1
  555. package/dist/api/resources/ticketing/resources/selectiveSync/client/Client.js +3 -3
  556. package/dist/api/resources/ticketing/resources/syncStatus/client/Client.d.ts +1 -1
  557. package/dist/api/resources/ticketing/resources/syncStatus/client/Client.js +2 -2
  558. package/dist/api/resources/ticketing/resources/tags/client/Client.js +2 -2
  559. package/dist/api/resources/ticketing/resources/teams/client/Client.js +2 -2
  560. package/dist/api/resources/ticketing/resources/tickets/client/Client.js +8 -8
  561. package/dist/api/resources/ticketing/resources/users/client/Client.js +2 -2
  562. package/dist/api/resources/ticketing/resources/webhookReceivers/client/Client.js +2 -2
  563. package/dist/api/resources/ticketing/types/RemoteFieldRequest.d.ts +1 -1
  564. package/dist/serialization/resources/accounting/types/CreditNote.d.ts +1 -0
  565. package/dist/serialization/resources/accounting/types/CreditNote.js +3 -0
  566. package/dist/serialization/resources/accounting/types/CreditNoteApplyLine.d.ts +15 -0
  567. package/dist/serialization/resources/accounting/types/CreditNoteApplyLine.js +47 -0
  568. package/dist/serialization/resources/accounting/types/CreditNoteApplyLineInvoice.d.ts +10 -0
  569. package/dist/serialization/resources/accounting/types/CreditNoteApplyLineInvoice.js +43 -0
  570. package/dist/serialization/resources/accounting/types/CreditNotesListRequestExpand.d.ts +1 -1
  571. package/dist/serialization/resources/accounting/types/CreditNotesListRequestExpand.js +8 -0
  572. package/dist/serialization/resources/accounting/types/CreditNotesRetrieveRequestExpand.d.ts +1 -1
  573. package/dist/serialization/resources/accounting/types/CreditNotesRetrieveRequestExpand.js +8 -0
  574. package/dist/serialization/resources/accounting/types/Expense.d.ts +2 -0
  575. package/dist/serialization/resources/accounting/types/Expense.js +2 -0
  576. package/dist/serialization/resources/accounting/types/ExpenseLine.d.ts +1 -0
  577. package/dist/serialization/resources/accounting/types/ExpenseLine.js +1 -0
  578. package/dist/serialization/resources/accounting/types/ExpenseLineCurrency.d.ts +10 -0
  579. package/dist/serialization/resources/accounting/types/ExpenseLineCurrency.js +43 -0
  580. package/dist/serialization/resources/accounting/types/ExpenseLineRequest.d.ts +1 -0
  581. package/dist/serialization/resources/accounting/types/ExpenseLineRequest.js +1 -0
  582. package/dist/serialization/resources/accounting/types/ExpenseRequest.d.ts +2 -0
  583. package/dist/serialization/resources/accounting/types/ExpenseRequest.js +2 -0
  584. package/dist/serialization/resources/accounting/types/Invoice.d.ts +1 -0
  585. package/dist/serialization/resources/accounting/types/Invoice.js +1 -0
  586. package/dist/serialization/resources/accounting/types/InvoiceRequest.d.ts +1 -0
  587. package/dist/serialization/resources/accounting/types/InvoiceRequest.js +1 -0
  588. package/dist/serialization/resources/accounting/types/InvoiceRequestStatus.d.ts +10 -0
  589. package/dist/serialization/resources/accounting/types/InvoiceRequestStatus.js +43 -0
  590. package/dist/serialization/resources/accounting/types/InvoiceStatusEnum.d.ts +10 -0
  591. package/dist/serialization/resources/accounting/types/InvoiceStatusEnum.js +31 -0
  592. package/dist/serialization/resources/accounting/types/JournalEntry.d.ts +1 -0
  593. package/dist/serialization/resources/accounting/types/JournalEntry.js +1 -0
  594. package/dist/serialization/resources/accounting/types/JournalEntryRequest.d.ts +2 -0
  595. package/dist/serialization/resources/accounting/types/JournalEntryRequest.js +6 -0
  596. package/dist/serialization/resources/accounting/types/JournalEntryRequestTrackingCategoriesItem.d.ts +10 -0
  597. package/dist/serialization/resources/accounting/types/JournalEntryRequestTrackingCategoriesItem.js +43 -0
  598. package/dist/serialization/resources/accounting/types/JournalLine.d.ts +1 -0
  599. package/dist/serialization/resources/accounting/types/JournalLine.js +1 -0
  600. package/dist/serialization/resources/accounting/types/JournalLineCurrency.d.ts +10 -0
  601. package/dist/serialization/resources/accounting/types/JournalLineCurrency.js +43 -0
  602. package/dist/serialization/resources/accounting/types/JournalLineRequest.d.ts +1 -0
  603. package/dist/serialization/resources/accounting/types/JournalLineRequest.js +3 -0
  604. package/dist/serialization/resources/accounting/types/JournalLineRequestCurrency.d.ts +10 -0
  605. package/dist/serialization/resources/accounting/types/JournalLineRequestCurrency.js +43 -0
  606. package/dist/serialization/resources/accounting/types/Payment.d.ts +1 -0
  607. package/dist/serialization/resources/accounting/types/Payment.js +3 -0
  608. package/dist/serialization/resources/accounting/types/PaymentLineItem.d.ts +18 -0
  609. package/dist/serialization/resources/accounting/types/PaymentLineItem.js +50 -0
  610. package/dist/serialization/resources/accounting/types/PaymentLineItemRelatedObjectType.d.ts +10 -0
  611. package/dist/serialization/resources/accounting/types/PaymentLineItemRelatedObjectType.js +43 -0
  612. package/dist/serialization/resources/accounting/types/PaymentLineItemRequest.d.ts +18 -0
  613. package/dist/serialization/resources/accounting/types/PaymentLineItemRequest.js +50 -0
  614. package/dist/serialization/resources/accounting/types/PaymentLineItemRequestRelatedObjectType.d.ts +10 -0
  615. package/dist/serialization/resources/accounting/types/PaymentLineItemRequestRelatedObjectType.js +43 -0
  616. package/dist/serialization/resources/accounting/types/PaymentRequest.d.ts +1 -0
  617. package/dist/serialization/resources/accounting/types/PaymentRequest.js +3 -0
  618. package/dist/serialization/resources/accounting/types/PaymentsListRequestExpand.d.ts +1 -1
  619. package/dist/serialization/resources/accounting/types/PaymentsListRequestExpand.js +16 -0
  620. package/dist/serialization/resources/accounting/types/PaymentsRetrieveRequestExpand.d.ts +1 -1
  621. package/dist/serialization/resources/accounting/types/PaymentsRetrieveRequestExpand.js +16 -0
  622. package/dist/serialization/resources/accounting/types/PurchaseOrder.d.ts +1 -0
  623. package/dist/serialization/resources/accounting/types/PurchaseOrder.js +1 -0
  624. package/dist/serialization/resources/accounting/types/PurchaseOrderRequest.d.ts +1 -0
  625. package/dist/serialization/resources/accounting/types/PurchaseOrderRequest.js +5 -0
  626. package/dist/serialization/resources/accounting/types/PurchaseOrderRequestTrackingCategoriesItem.d.ts +10 -0
  627. package/dist/serialization/resources/accounting/types/PurchaseOrderRequestTrackingCategoriesItem.js +43 -0
  628. package/dist/serialization/resources/accounting/types/RelatedObjectTypeEnum.d.ts +10 -0
  629. package/dist/serialization/resources/accounting/types/RelatedObjectTypeEnum.js +31 -0
  630. package/dist/serialization/resources/accounting/types/VendorCredit.d.ts +1 -0
  631. package/dist/serialization/resources/accounting/types/VendorCredit.js +3 -0
  632. package/dist/serialization/resources/accounting/types/VendorCreditApplyLine.d.ts +15 -0
  633. package/dist/serialization/resources/accounting/types/VendorCreditApplyLine.js +47 -0
  634. package/dist/serialization/resources/accounting/types/VendorCreditApplyLineInvoice.d.ts +10 -0
  635. package/dist/serialization/resources/accounting/types/VendorCreditApplyLineInvoice.js +43 -0
  636. package/dist/serialization/resources/accounting/types/VendorCreditsListRequestExpand.d.ts +1 -1
  637. package/dist/serialization/resources/accounting/types/VendorCreditsListRequestExpand.js +16 -0
  638. package/dist/serialization/resources/accounting/types/VendorCreditsRetrieveRequestExpand.d.ts +1 -1
  639. package/dist/serialization/resources/accounting/types/VendorCreditsRetrieveRequestExpand.js +16 -0
  640. package/dist/serialization/resources/accounting/types/index.d.ts +16 -0
  641. package/dist/serialization/resources/accounting/types/index.js +16 -0
  642. package/dist/serialization/resources/crm/types/AccountRequest.d.ts +2 -0
  643. package/dist/serialization/resources/crm/types/AccountRequest.js +6 -0
  644. package/dist/serialization/resources/crm/types/RemoteFieldRequest.d.ts +1 -1
  645. package/dist/serialization/resources/crm/types/RemoteFieldRequest.js +1 -1
  646. package/dist/serialization/resources/filestorage/types/FilePermissions.d.ts +10 -0
  647. package/dist/serialization/resources/filestorage/types/FilePermissions.js +44 -0
  648. package/dist/serialization/resources/filestorage/types/FilePermissionsItem.d.ts +10 -0
  649. package/dist/serialization/resources/filestorage/types/FilePermissionsItem.js +43 -0
  650. package/dist/serialization/resources/filestorage/types/FileRequest.d.ts +1 -1
  651. package/dist/serialization/resources/filestorage/types/FileRequest.js +12 -1
  652. package/dist/serialization/resources/filestorage/types/FileRequestPermissions.d.ts +10 -0
  653. package/dist/serialization/resources/filestorage/types/FileRequestPermissions.js +44 -0
  654. package/dist/serialization/resources/filestorage/types/FileRequestPermissionsItem.d.ts +10 -0
  655. package/dist/serialization/resources/filestorage/types/FileRequestPermissionsItem.js +43 -0
  656. package/dist/serialization/resources/filestorage/types/File_.d.ts +1 -1
  657. package/dist/serialization/resources/filestorage/types/File_.js +12 -1
  658. package/dist/serialization/resources/filestorage/types/Folder.d.ts +1 -1
  659. package/dist/serialization/resources/filestorage/types/Folder.js +12 -1
  660. package/dist/serialization/resources/filestorage/types/FolderPermissions.d.ts +10 -0
  661. package/dist/serialization/resources/filestorage/types/FolderPermissions.js +44 -0
  662. package/dist/serialization/resources/filestorage/types/FolderPermissionsItem.d.ts +10 -0
  663. package/dist/serialization/resources/filestorage/types/FolderPermissionsItem.js +43 -0
  664. package/dist/serialization/resources/filestorage/types/FolderRequest.d.ts +1 -1
  665. package/dist/serialization/resources/filestorage/types/FolderRequest.js +12 -1
  666. package/dist/serialization/resources/filestorage/types/FolderRequestPermissions.d.ts +10 -0
  667. package/dist/serialization/resources/filestorage/types/FolderRequestPermissions.js +44 -0
  668. package/dist/serialization/resources/filestorage/types/FolderRequestPermissionsItem.d.ts +10 -0
  669. package/dist/serialization/resources/filestorage/types/FolderRequestPermissionsItem.js +43 -0
  670. package/dist/serialization/resources/filestorage/types/Permission.d.ts +18 -0
  671. package/dist/serialization/resources/filestorage/types/Permission.js +50 -0
  672. package/dist/serialization/resources/filestorage/types/PermissionRequest.d.ts +18 -0
  673. package/dist/serialization/resources/filestorage/types/PermissionRequest.js +50 -0
  674. package/dist/serialization/resources/filestorage/types/RolesEnum.d.ts +10 -0
  675. package/dist/serialization/resources/filestorage/types/RolesEnum.js +31 -0
  676. package/dist/serialization/resources/filestorage/types/TypeEnum.d.ts +10 -0
  677. package/dist/serialization/resources/filestorage/types/TypeEnum.js +31 -0
  678. package/dist/serialization/resources/filestorage/types/index.d.ts +12 -0
  679. package/dist/serialization/resources/filestorage/types/index.js +12 -0
  680. package/dist/serialization/resources/hris/types/Employee.d.ts +1 -0
  681. package/dist/serialization/resources/hris/types/Employee.js +1 -0
  682. package/dist/serialization/resources/hris/types/EmployeeRequest.d.ts +1 -0
  683. package/dist/serialization/resources/hris/types/EmployeeRequest.js +1 -0
  684. package/dist/serialization/resources/index.d.ts +1 -1
  685. package/dist/serialization/resources/index.js +2 -2
  686. package/dist/serialization/resources/ticketing/types/RemoteFieldRequest.d.ts +1 -1
  687. package/dist/serialization/resources/ticketing/types/RemoteFieldRequest.js +1 -1
  688. package/package.json +1 -1
  689. package/serialization/resources/accounting/types/CreditNote.d.ts +1 -0
  690. package/serialization/resources/accounting/types/CreditNote.js +3 -0
  691. package/serialization/resources/accounting/types/CreditNoteApplyLine.d.ts +15 -0
  692. package/serialization/resources/accounting/types/CreditNoteApplyLine.js +47 -0
  693. package/serialization/resources/accounting/types/CreditNoteApplyLineInvoice.d.ts +10 -0
  694. package/serialization/resources/accounting/types/CreditNoteApplyLineInvoice.js +43 -0
  695. package/serialization/resources/accounting/types/CreditNotesListRequestExpand.d.ts +1 -1
  696. package/serialization/resources/accounting/types/CreditNotesListRequestExpand.js +8 -0
  697. package/serialization/resources/accounting/types/CreditNotesRetrieveRequestExpand.d.ts +1 -1
  698. package/serialization/resources/accounting/types/CreditNotesRetrieveRequestExpand.js +8 -0
  699. package/serialization/resources/accounting/types/Expense.d.ts +2 -0
  700. package/serialization/resources/accounting/types/Expense.js +2 -0
  701. package/serialization/resources/accounting/types/ExpenseLine.d.ts +1 -0
  702. package/serialization/resources/accounting/types/ExpenseLine.js +1 -0
  703. package/serialization/resources/accounting/types/ExpenseLineCurrency.d.ts +10 -0
  704. package/serialization/resources/accounting/types/ExpenseLineCurrency.js +43 -0
  705. package/serialization/resources/accounting/types/ExpenseLineRequest.d.ts +1 -0
  706. package/serialization/resources/accounting/types/ExpenseLineRequest.js +1 -0
  707. package/serialization/resources/accounting/types/ExpenseRequest.d.ts +2 -0
  708. package/serialization/resources/accounting/types/ExpenseRequest.js +2 -0
  709. package/serialization/resources/accounting/types/Invoice.d.ts +1 -0
  710. package/serialization/resources/accounting/types/Invoice.js +1 -0
  711. package/serialization/resources/accounting/types/InvoiceRequest.d.ts +1 -0
  712. package/serialization/resources/accounting/types/InvoiceRequest.js +1 -0
  713. package/serialization/resources/accounting/types/InvoiceRequestStatus.d.ts +10 -0
  714. package/serialization/resources/accounting/types/InvoiceRequestStatus.js +43 -0
  715. package/serialization/resources/accounting/types/InvoiceStatusEnum.d.ts +10 -0
  716. package/serialization/resources/accounting/types/InvoiceStatusEnum.js +31 -0
  717. package/serialization/resources/accounting/types/JournalEntry.d.ts +1 -0
  718. package/serialization/resources/accounting/types/JournalEntry.js +1 -0
  719. package/serialization/resources/accounting/types/JournalEntryRequest.d.ts +2 -0
  720. package/serialization/resources/accounting/types/JournalEntryRequest.js +6 -0
  721. package/serialization/resources/accounting/types/JournalEntryRequestTrackingCategoriesItem.d.ts +10 -0
  722. package/serialization/resources/accounting/types/JournalEntryRequestTrackingCategoriesItem.js +43 -0
  723. package/serialization/resources/accounting/types/JournalLine.d.ts +1 -0
  724. package/serialization/resources/accounting/types/JournalLine.js +1 -0
  725. package/serialization/resources/accounting/types/JournalLineCurrency.d.ts +10 -0
  726. package/serialization/resources/accounting/types/JournalLineCurrency.js +43 -0
  727. package/serialization/resources/accounting/types/JournalLineRequest.d.ts +1 -0
  728. package/serialization/resources/accounting/types/JournalLineRequest.js +3 -0
  729. package/serialization/resources/accounting/types/JournalLineRequestCurrency.d.ts +10 -0
  730. package/serialization/resources/accounting/types/JournalLineRequestCurrency.js +43 -0
  731. package/serialization/resources/accounting/types/Payment.d.ts +1 -0
  732. package/serialization/resources/accounting/types/Payment.js +3 -0
  733. package/serialization/resources/accounting/types/PaymentLineItem.d.ts +18 -0
  734. package/serialization/resources/accounting/types/PaymentLineItem.js +50 -0
  735. package/serialization/resources/accounting/types/PaymentLineItemRelatedObjectType.d.ts +10 -0
  736. package/serialization/resources/accounting/types/PaymentLineItemRelatedObjectType.js +43 -0
  737. package/serialization/resources/accounting/types/PaymentLineItemRequest.d.ts +18 -0
  738. package/serialization/resources/accounting/types/PaymentLineItemRequest.js +50 -0
  739. package/serialization/resources/accounting/types/PaymentLineItemRequestRelatedObjectType.d.ts +10 -0
  740. package/serialization/resources/accounting/types/PaymentLineItemRequestRelatedObjectType.js +43 -0
  741. package/serialization/resources/accounting/types/PaymentRequest.d.ts +1 -0
  742. package/serialization/resources/accounting/types/PaymentRequest.js +3 -0
  743. package/serialization/resources/accounting/types/PaymentsListRequestExpand.d.ts +1 -1
  744. package/serialization/resources/accounting/types/PaymentsListRequestExpand.js +16 -0
  745. package/serialization/resources/accounting/types/PaymentsRetrieveRequestExpand.d.ts +1 -1
  746. package/serialization/resources/accounting/types/PaymentsRetrieveRequestExpand.js +16 -0
  747. package/serialization/resources/accounting/types/PurchaseOrder.d.ts +1 -0
  748. package/serialization/resources/accounting/types/PurchaseOrder.js +1 -0
  749. package/serialization/resources/accounting/types/PurchaseOrderRequest.d.ts +1 -0
  750. package/serialization/resources/accounting/types/PurchaseOrderRequest.js +5 -0
  751. package/serialization/resources/accounting/types/PurchaseOrderRequestTrackingCategoriesItem.d.ts +10 -0
  752. package/serialization/resources/accounting/types/PurchaseOrderRequestTrackingCategoriesItem.js +43 -0
  753. package/serialization/resources/accounting/types/RelatedObjectTypeEnum.d.ts +10 -0
  754. package/serialization/resources/accounting/types/RelatedObjectTypeEnum.js +31 -0
  755. package/serialization/resources/accounting/types/VendorCredit.d.ts +1 -0
  756. package/serialization/resources/accounting/types/VendorCredit.js +3 -0
  757. package/serialization/resources/accounting/types/VendorCreditApplyLine.d.ts +15 -0
  758. package/serialization/resources/accounting/types/VendorCreditApplyLine.js +47 -0
  759. package/serialization/resources/accounting/types/VendorCreditApplyLineInvoice.d.ts +10 -0
  760. package/serialization/resources/accounting/types/VendorCreditApplyLineInvoice.js +43 -0
  761. package/serialization/resources/accounting/types/VendorCreditsListRequestExpand.d.ts +1 -1
  762. package/serialization/resources/accounting/types/VendorCreditsListRequestExpand.js +16 -0
  763. package/serialization/resources/accounting/types/VendorCreditsRetrieveRequestExpand.d.ts +1 -1
  764. package/serialization/resources/accounting/types/VendorCreditsRetrieveRequestExpand.js +16 -0
  765. package/serialization/resources/accounting/types/index.d.ts +16 -0
  766. package/serialization/resources/accounting/types/index.js +16 -0
  767. package/serialization/resources/crm/types/AccountRequest.d.ts +2 -0
  768. package/serialization/resources/crm/types/AccountRequest.js +6 -0
  769. package/serialization/resources/crm/types/RemoteFieldRequest.d.ts +1 -1
  770. package/serialization/resources/crm/types/RemoteFieldRequest.js +1 -1
  771. package/serialization/resources/filestorage/types/FilePermissions.d.ts +10 -0
  772. package/serialization/resources/filestorage/types/FilePermissions.js +44 -0
  773. package/serialization/resources/filestorage/types/FilePermissionsItem.d.ts +10 -0
  774. package/serialization/resources/filestorage/types/FilePermissionsItem.js +43 -0
  775. package/serialization/resources/filestorage/types/FileRequest.d.ts +1 -1
  776. package/serialization/resources/filestorage/types/FileRequest.js +12 -1
  777. package/serialization/resources/filestorage/types/FileRequestPermissions.d.ts +10 -0
  778. package/serialization/resources/filestorage/types/FileRequestPermissions.js +44 -0
  779. package/serialization/resources/filestorage/types/FileRequestPermissionsItem.d.ts +10 -0
  780. package/serialization/resources/filestorage/types/FileRequestPermissionsItem.js +43 -0
  781. package/serialization/resources/filestorage/types/File_.d.ts +1 -1
  782. package/serialization/resources/filestorage/types/File_.js +12 -1
  783. package/serialization/resources/filestorage/types/Folder.d.ts +1 -1
  784. package/serialization/resources/filestorage/types/Folder.js +12 -1
  785. package/serialization/resources/filestorage/types/FolderPermissions.d.ts +10 -0
  786. package/serialization/resources/filestorage/types/FolderPermissions.js +44 -0
  787. package/serialization/resources/filestorage/types/FolderPermissionsItem.d.ts +10 -0
  788. package/serialization/resources/filestorage/types/FolderPermissionsItem.js +43 -0
  789. package/serialization/resources/filestorage/types/FolderRequest.d.ts +1 -1
  790. package/serialization/resources/filestorage/types/FolderRequest.js +12 -1
  791. package/serialization/resources/filestorage/types/FolderRequestPermissions.d.ts +10 -0
  792. package/serialization/resources/filestorage/types/FolderRequestPermissions.js +44 -0
  793. package/serialization/resources/filestorage/types/FolderRequestPermissionsItem.d.ts +10 -0
  794. package/serialization/resources/filestorage/types/FolderRequestPermissionsItem.js +43 -0
  795. package/serialization/resources/filestorage/types/Permission.d.ts +18 -0
  796. package/serialization/resources/filestorage/types/Permission.js +50 -0
  797. package/serialization/resources/filestorage/types/PermissionRequest.d.ts +18 -0
  798. package/serialization/resources/filestorage/types/PermissionRequest.js +50 -0
  799. package/serialization/resources/filestorage/types/RolesEnum.d.ts +10 -0
  800. package/serialization/resources/filestorage/types/RolesEnum.js +31 -0
  801. package/serialization/resources/filestorage/types/TypeEnum.d.ts +10 -0
  802. package/serialization/resources/filestorage/types/TypeEnum.js +31 -0
  803. package/serialization/resources/filestorage/types/index.d.ts +12 -0
  804. package/serialization/resources/filestorage/types/index.js +12 -0
  805. package/serialization/resources/hris/types/Employee.d.ts +1 -0
  806. package/serialization/resources/hris/types/Employee.js +1 -0
  807. package/serialization/resources/hris/types/EmployeeRequest.d.ts +1 -0
  808. package/serialization/resources/hris/types/EmployeeRequest.js +1 -0
  809. package/serialization/resources/index.d.ts +1 -1
  810. package/serialization/resources/index.js +2 -2
  811. package/serialization/resources/ticketing/types/RemoteFieldRequest.d.ts +1 -1
  812. package/serialization/resources/ticketing/types/RemoteFieldRequest.js +1 -1
@@ -86,6 +86,8 @@ export * from "./CreditNoteStatus";
86
86
  export * from "./CreditNoteTrackingCategoriesItem";
87
87
  export * from "./CreditNoteCurrency";
88
88
  export * from "./CreditNotePaymentsItem";
89
+ export * from "./CreditNoteApplyLine";
90
+ export * from "./CreditNoteApplyLineInvoice";
89
91
  export * from "./CreditNoteLineItem";
90
92
  export * from "./CreditNoteLineItemItem";
91
93
  export * from "./CreditNoteLineItemCompany";
@@ -106,6 +108,7 @@ export * from "./ExpenseLine";
106
108
  export * from "./ExpenseLineItem";
107
109
  export * from "./ExpenseLineTrackingCategory";
108
110
  export * from "./ExpenseLineTrackingCategoriesItem";
111
+ export * from "./ExpenseLineCurrency";
109
112
  export * from "./ExpenseLineAccount";
110
113
  export * from "./ExpenseLineContact";
111
114
  export * from "./ExpenseLineRequest";
@@ -146,11 +149,13 @@ export * from "./InvoiceLineItemRequestTrackingCategoriesItem";
146
149
  export * from "./InvoiceRequest";
147
150
  export * from "./InvoiceRequestType";
148
151
  export * from "./InvoiceRequestContact";
152
+ export * from "./InvoiceRequestStatus";
149
153
  export * from "./InvoiceRequestCompany";
150
154
  export * from "./InvoiceRequestCurrency";
151
155
  export * from "./InvoiceRequestPaymentsItem";
152
156
  export * from "./InvoiceRequestTrackingCategoriesItem";
153
157
  export * from "./InvoiceResponse";
158
+ export * from "./InvoiceStatusEnum";
154
159
  export * from "./InvoiceTypeEnum";
155
160
  export * from "./Issue";
156
161
  export * from "./IssueStatus";
@@ -170,16 +175,19 @@ export * from "./JournalEntryRequest";
170
175
  export * from "./JournalEntryRequestPaymentsItem";
171
176
  export * from "./JournalEntryRequestCurrency";
172
177
  export * from "./JournalEntryRequestCompany";
178
+ export * from "./JournalEntryRequestTrackingCategoriesItem";
173
179
  export * from "./JournalEntryRequestPostingStatus";
174
180
  export * from "./JournalEntryResponse";
175
181
  export * from "./JournalLine";
176
182
  export * from "./JournalLineAccount";
177
183
  export * from "./JournalLineTrackingCategory";
178
184
  export * from "./JournalLineTrackingCategoriesItem";
185
+ export * from "./JournalLineCurrency";
179
186
  export * from "./JournalLineRequest";
180
187
  export * from "./JournalLineRequestAccount";
181
188
  export * from "./JournalLineRequestTrackingCategory";
182
189
  export * from "./JournalLineRequestTrackingCategoriesItem";
190
+ export * from "./JournalLineRequestCurrency";
183
191
  export * from "./LinkToken";
184
192
  export * from "./LinkedAccountCondition";
185
193
  export * from "./LinkedAccountConditionRequest";
@@ -220,6 +228,10 @@ export * from "./PaymentAccount";
220
228
  export * from "./PaymentCurrency";
221
229
  export * from "./PaymentCompany";
222
230
  export * from "./PaymentTrackingCategoriesItem";
231
+ export * from "./PaymentLineItem";
232
+ export * from "./PaymentLineItemRelatedObjectType";
233
+ export * from "./PaymentLineItemRequest";
234
+ export * from "./PaymentLineItemRequestRelatedObjectType";
223
235
  export * from "./PaymentRequest";
224
236
  export * from "./PaymentRequestContact";
225
237
  export * from "./PaymentRequestAccount";
@@ -247,8 +259,10 @@ export * from "./PurchaseOrderRequestDeliveryAddress";
247
259
  export * from "./PurchaseOrderRequestVendor";
248
260
  export * from "./PurchaseOrderRequestCompany";
249
261
  export * from "./PurchaseOrderRequestCurrency";
262
+ export * from "./PurchaseOrderRequestTrackingCategoriesItem";
250
263
  export * from "./PurchaseOrderResponse";
251
264
  export * from "./PurchaseOrderStatusEnum";
265
+ export * from "./RelatedObjectTypeEnum";
252
266
  export * from "./RemoteData";
253
267
  export * from "./RemoteKey";
254
268
  export * from "./RemoteResponse";
@@ -279,6 +293,8 @@ export * from "./VendorCreditVendor";
279
293
  export * from "./VendorCreditCurrency";
280
294
  export * from "./VendorCreditCompany";
281
295
  export * from "./VendorCreditTrackingCategoriesItem";
296
+ export * from "./VendorCreditApplyLine";
297
+ export * from "./VendorCreditApplyLineInvoice";
282
298
  export * from "./VendorCreditLine";
283
299
  export * from "./VendorCreditLineAccount";
284
300
  export * from "./WarningValidationProblem";
@@ -102,6 +102,8 @@ __exportStar(require("./CreditNoteStatus"), exports);
102
102
  __exportStar(require("./CreditNoteTrackingCategoriesItem"), exports);
103
103
  __exportStar(require("./CreditNoteCurrency"), exports);
104
104
  __exportStar(require("./CreditNotePaymentsItem"), exports);
105
+ __exportStar(require("./CreditNoteApplyLine"), exports);
106
+ __exportStar(require("./CreditNoteApplyLineInvoice"), exports);
105
107
  __exportStar(require("./CreditNoteLineItem"), exports);
106
108
  __exportStar(require("./CreditNoteLineItemItem"), exports);
107
109
  __exportStar(require("./CreditNoteLineItemCompany"), exports);
@@ -122,6 +124,7 @@ __exportStar(require("./ExpenseLine"), exports);
122
124
  __exportStar(require("./ExpenseLineItem"), exports);
123
125
  __exportStar(require("./ExpenseLineTrackingCategory"), exports);
124
126
  __exportStar(require("./ExpenseLineTrackingCategoriesItem"), exports);
127
+ __exportStar(require("./ExpenseLineCurrency"), exports);
125
128
  __exportStar(require("./ExpenseLineAccount"), exports);
126
129
  __exportStar(require("./ExpenseLineContact"), exports);
127
130
  __exportStar(require("./ExpenseLineRequest"), exports);
@@ -162,11 +165,13 @@ __exportStar(require("./InvoiceLineItemRequestTrackingCategoriesItem"), exports)
162
165
  __exportStar(require("./InvoiceRequest"), exports);
163
166
  __exportStar(require("./InvoiceRequestType"), exports);
164
167
  __exportStar(require("./InvoiceRequestContact"), exports);
168
+ __exportStar(require("./InvoiceRequestStatus"), exports);
165
169
  __exportStar(require("./InvoiceRequestCompany"), exports);
166
170
  __exportStar(require("./InvoiceRequestCurrency"), exports);
167
171
  __exportStar(require("./InvoiceRequestPaymentsItem"), exports);
168
172
  __exportStar(require("./InvoiceRequestTrackingCategoriesItem"), exports);
169
173
  __exportStar(require("./InvoiceResponse"), exports);
174
+ __exportStar(require("./InvoiceStatusEnum"), exports);
170
175
  __exportStar(require("./InvoiceTypeEnum"), exports);
171
176
  __exportStar(require("./Issue"), exports);
172
177
  __exportStar(require("./IssueStatus"), exports);
@@ -186,16 +191,19 @@ __exportStar(require("./JournalEntryRequest"), exports);
186
191
  __exportStar(require("./JournalEntryRequestPaymentsItem"), exports);
187
192
  __exportStar(require("./JournalEntryRequestCurrency"), exports);
188
193
  __exportStar(require("./JournalEntryRequestCompany"), exports);
194
+ __exportStar(require("./JournalEntryRequestTrackingCategoriesItem"), exports);
189
195
  __exportStar(require("./JournalEntryRequestPostingStatus"), exports);
190
196
  __exportStar(require("./JournalEntryResponse"), exports);
191
197
  __exportStar(require("./JournalLine"), exports);
192
198
  __exportStar(require("./JournalLineAccount"), exports);
193
199
  __exportStar(require("./JournalLineTrackingCategory"), exports);
194
200
  __exportStar(require("./JournalLineTrackingCategoriesItem"), exports);
201
+ __exportStar(require("./JournalLineCurrency"), exports);
195
202
  __exportStar(require("./JournalLineRequest"), exports);
196
203
  __exportStar(require("./JournalLineRequestAccount"), exports);
197
204
  __exportStar(require("./JournalLineRequestTrackingCategory"), exports);
198
205
  __exportStar(require("./JournalLineRequestTrackingCategoriesItem"), exports);
206
+ __exportStar(require("./JournalLineRequestCurrency"), exports);
199
207
  __exportStar(require("./LinkToken"), exports);
200
208
  __exportStar(require("./LinkedAccountCondition"), exports);
201
209
  __exportStar(require("./LinkedAccountConditionRequest"), exports);
@@ -236,6 +244,10 @@ __exportStar(require("./PaymentAccount"), exports);
236
244
  __exportStar(require("./PaymentCurrency"), exports);
237
245
  __exportStar(require("./PaymentCompany"), exports);
238
246
  __exportStar(require("./PaymentTrackingCategoriesItem"), exports);
247
+ __exportStar(require("./PaymentLineItem"), exports);
248
+ __exportStar(require("./PaymentLineItemRelatedObjectType"), exports);
249
+ __exportStar(require("./PaymentLineItemRequest"), exports);
250
+ __exportStar(require("./PaymentLineItemRequestRelatedObjectType"), exports);
239
251
  __exportStar(require("./PaymentRequest"), exports);
240
252
  __exportStar(require("./PaymentRequestContact"), exports);
241
253
  __exportStar(require("./PaymentRequestAccount"), exports);
@@ -263,8 +275,10 @@ __exportStar(require("./PurchaseOrderRequestDeliveryAddress"), exports);
263
275
  __exportStar(require("./PurchaseOrderRequestVendor"), exports);
264
276
  __exportStar(require("./PurchaseOrderRequestCompany"), exports);
265
277
  __exportStar(require("./PurchaseOrderRequestCurrency"), exports);
278
+ __exportStar(require("./PurchaseOrderRequestTrackingCategoriesItem"), exports);
266
279
  __exportStar(require("./PurchaseOrderResponse"), exports);
267
280
  __exportStar(require("./PurchaseOrderStatusEnum"), exports);
281
+ __exportStar(require("./RelatedObjectTypeEnum"), exports);
268
282
  __exportStar(require("./RemoteData"), exports);
269
283
  __exportStar(require("./RemoteKey"), exports);
270
284
  __exportStar(require("./RemoteResponse"), exports);
@@ -295,6 +309,8 @@ __exportStar(require("./VendorCreditVendor"), exports);
295
309
  __exportStar(require("./VendorCreditCurrency"), exports);
296
310
  __exportStar(require("./VendorCreditCompany"), exports);
297
311
  __exportStar(require("./VendorCreditTrackingCategoriesItem"), exports);
312
+ __exportStar(require("./VendorCreditApplyLine"), exports);
313
+ __exportStar(require("./VendorCreditApplyLineInvoice"), exports);
298
314
  __exportStar(require("./VendorCreditLine"), exports);
299
315
  __exportStar(require("./VendorCreditLineAccount"), exports);
300
316
  __exportStar(require("./WarningValidationProblem"), exports);
@@ -13,6 +13,8 @@ export declare namespace AccountRequest {
13
13
  industry?: string | null;
14
14
  website?: string | null;
15
15
  number_of_employees?: number | null;
16
+ addresses?: serializers.crm.Address.Raw[] | null;
17
+ phone_numbers?: serializers.crm.PhoneNumber.Raw[] | null;
16
18
  last_activity_at?: string | null;
17
19
  integration_params?: Record<string, unknown> | null;
18
20
  linked_account_params?: Record<string, unknown> | null;
@@ -44,6 +44,12 @@ exports.AccountRequest = core.serialization.object({
44
44
  industry: core.serialization.string().optional(),
45
45
  website: core.serialization.string().optional(),
46
46
  numberOfEmployees: core.serialization.property("number_of_employees", core.serialization.number().optional()),
47
+ addresses: core.serialization
48
+ .list(core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../..")))).crm.Address; })))
49
+ .optional(),
50
+ phoneNumbers: core.serialization.property("phone_numbers", core.serialization
51
+ .list(core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../..")))).crm.PhoneNumber; })))
52
+ .optional()),
47
53
  lastActivityAt: core.serialization.property("last_activity_at", core.serialization.date().optional()),
48
54
  integrationParams: core.serialization.property("integration_params", core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional()),
49
55
  linkedAccountParams: core.serialization.property("linked_account_params", core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional()),
@@ -8,6 +8,6 @@ export declare const RemoteFieldRequest: core.serialization.ObjectSchema<seriali
8
8
  export declare namespace RemoteFieldRequest {
9
9
  interface Raw {
10
10
  remote_field_class: serializers.crm.RemoteFieldRequestRemoteFieldClass.Raw;
11
- value?: Record<string, unknown> | null;
11
+ value?: string | null;
12
12
  }
13
13
  }
@@ -39,5 +39,5 @@ exports.RemoteFieldRequest = void 0;
39
39
  const core = __importStar(require("../../../../core"));
40
40
  exports.RemoteFieldRequest = core.serialization.object({
41
41
  remoteFieldClass: core.serialization.property("remote_field_class", core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../..")))).crm.RemoteFieldRequestRemoteFieldClass; }))),
42
- value: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(),
42
+ value: core.serialization.string().optional(),
43
43
  });
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../..";
5
+ import * as Merge from "../../../../api";
6
+ import * as core from "../../../../core";
7
+ export declare const FilePermissions: core.serialization.Schema<serializers.filestorage.FilePermissions.Raw, Merge.filestorage.FilePermissions>;
8
+ export declare namespace FilePermissions {
9
+ type Raw = string | unknown | serializers.filestorage.FilePermissionsItem.Raw[];
10
+ }
@@ -0,0 +1,44 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
29
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
30
+ return new (P || (P = Promise))(function (resolve, reject) {
31
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
32
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
33
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
34
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
35
+ });
36
+ };
37
+ Object.defineProperty(exports, "__esModule", { value: true });
38
+ exports.FilePermissions = void 0;
39
+ const core = __importStar(require("../../../../core"));
40
+ exports.FilePermissions = core.serialization.undiscriminatedUnion([
41
+ core.serialization.string(),
42
+ core.serialization.unknown(),
43
+ core.serialization.list(core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../..")))).filestorage.FilePermissionsItem; }))),
44
+ ]);
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../..";
5
+ import * as Merge from "../../../../api";
6
+ import * as core from "../../../../core";
7
+ export declare const FilePermissionsItem: core.serialization.Schema<serializers.filestorage.FilePermissionsItem.Raw, Merge.filestorage.FilePermissionsItem>;
8
+ export declare namespace FilePermissionsItem {
9
+ type Raw = string | serializers.filestorage.PermissionRequest.Raw;
10
+ }
@@ -0,0 +1,43 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
29
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
30
+ return new (P || (P = Promise))(function (resolve, reject) {
31
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
32
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
33
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
34
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
35
+ });
36
+ };
37
+ Object.defineProperty(exports, "__esModule", { value: true });
38
+ exports.FilePermissionsItem = void 0;
39
+ const core = __importStar(require("../../../../core"));
40
+ exports.FilePermissionsItem = core.serialization.undiscriminatedUnion([
41
+ core.serialization.string(),
42
+ core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../..")))).filestorage.PermissionRequest; })),
43
+ ]);
@@ -14,7 +14,7 @@ export declare namespace FileRequest {
14
14
  mime_type?: string | null;
15
15
  description?: string | null;
16
16
  folder?: string | null;
17
- permissions: string[];
17
+ permissions?: serializers.filestorage.FileRequestPermissions.Raw | null;
18
18
  drive?: string | null;
19
19
  integration_params?: Record<string, unknown> | null;
20
20
  linked_account_params?: Record<string, unknown> | null;
@@ -25,6 +25,15 @@ var __importStar = (this && this.__importStar) || function (mod) {
25
25
  __setModuleDefault(result, mod);
26
26
  return result;
27
27
  };
28
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
29
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
30
+ return new (P || (P = Promise))(function (resolve, reject) {
31
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
32
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
33
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
34
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
35
+ });
36
+ };
28
37
  Object.defineProperty(exports, "__esModule", { value: true });
29
38
  exports.FileRequest = void 0;
30
39
  const core = __importStar(require("../../../../core"));
@@ -36,7 +45,9 @@ exports.FileRequest = core.serialization.object({
36
45
  mimeType: core.serialization.property("mime_type", core.serialization.string().optional()),
37
46
  description: core.serialization.string().optional(),
38
47
  folder: core.serialization.string().optional(),
39
- permissions: core.serialization.list(core.serialization.string()),
48
+ permissions: core.serialization
49
+ .lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../..")))).filestorage.FileRequestPermissions; }))
50
+ .optional(),
40
51
  drive: core.serialization.string().optional(),
41
52
  integrationParams: core.serialization.property("integration_params", core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional()),
42
53
  linkedAccountParams: core.serialization.property("linked_account_params", core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional()),
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../..";
5
+ import * as Merge from "../../../../api";
6
+ import * as core from "../../../../core";
7
+ export declare const FileRequestPermissions: core.serialization.Schema<serializers.filestorage.FileRequestPermissions.Raw, Merge.filestorage.FileRequestPermissions>;
8
+ export declare namespace FileRequestPermissions {
9
+ type Raw = string | unknown | serializers.filestorage.FileRequestPermissionsItem.Raw[];
10
+ }
@@ -0,0 +1,44 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
29
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
30
+ return new (P || (P = Promise))(function (resolve, reject) {
31
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
32
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
33
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
34
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
35
+ });
36
+ };
37
+ Object.defineProperty(exports, "__esModule", { value: true });
38
+ exports.FileRequestPermissions = void 0;
39
+ const core = __importStar(require("../../../../core"));
40
+ exports.FileRequestPermissions = core.serialization.undiscriminatedUnion([
41
+ core.serialization.string(),
42
+ core.serialization.unknown(),
43
+ core.serialization.list(core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../..")))).filestorage.FileRequestPermissionsItem; }))),
44
+ ]);
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../..";
5
+ import * as Merge from "../../../../api";
6
+ import * as core from "../../../../core";
7
+ export declare const FileRequestPermissionsItem: core.serialization.Schema<serializers.filestorage.FileRequestPermissionsItem.Raw, Merge.filestorage.FileRequestPermissionsItem>;
8
+ export declare namespace FileRequestPermissionsItem {
9
+ type Raw = string | serializers.filestorage.PermissionRequest.Raw;
10
+ }
@@ -0,0 +1,43 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
29
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
30
+ return new (P || (P = Promise))(function (resolve, reject) {
31
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
32
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
33
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
34
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
35
+ });
36
+ };
37
+ Object.defineProperty(exports, "__esModule", { value: true });
38
+ exports.FileRequestPermissionsItem = void 0;
39
+ const core = __importStar(require("../../../../core"));
40
+ exports.FileRequestPermissionsItem = core.serialization.undiscriminatedUnion([
41
+ core.serialization.string(),
42
+ core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../..")))).filestorage.PermissionRequest; })),
43
+ ]);
@@ -16,7 +16,7 @@ export declare namespace File_ {
16
16
  mime_type?: string | null;
17
17
  description?: string | null;
18
18
  folder?: string | null;
19
- permissions: string[];
19
+ permissions?: serializers.filestorage.FilePermissions.Raw | null;
20
20
  drive?: string | null;
21
21
  remote_created_at?: string | null;
22
22
  remote_updated_at?: string | null;
@@ -25,6 +25,15 @@ var __importStar = (this && this.__importStar) || function (mod) {
25
25
  __setModuleDefault(result, mod);
26
26
  return result;
27
27
  };
28
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
29
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
30
+ return new (P || (P = Promise))(function (resolve, reject) {
31
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
32
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
33
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
34
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
35
+ });
36
+ };
28
37
  Object.defineProperty(exports, "__esModule", { value: true });
29
38
  exports.File_ = void 0;
30
39
  const core = __importStar(require("../../../../core"));
@@ -38,7 +47,9 @@ exports.File_ = core.serialization.object({
38
47
  mimeType: core.serialization.property("mime_type", core.serialization.string().optional()),
39
48
  description: core.serialization.string().optional(),
40
49
  folder: core.serialization.string().optional(),
41
- permissions: core.serialization.list(core.serialization.string()),
50
+ permissions: core.serialization
51
+ .lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../..")))).filestorage.FilePermissions; }))
52
+ .optional(),
42
53
  drive: core.serialization.string().optional(),
43
54
  remoteCreatedAt: core.serialization.property("remote_created_at", core.serialization.date().optional()),
44
55
  remoteUpdatedAt: core.serialization.property("remote_updated_at", core.serialization.date().optional()),
@@ -15,7 +15,7 @@ export declare namespace Folder {
15
15
  description?: string | null;
16
16
  parent_folder?: string | null;
17
17
  drive?: string | null;
18
- permissions: string[];
18
+ permissions?: serializers.filestorage.FolderPermissions.Raw | null;
19
19
  remote_created_at?: string | null;
20
20
  remote_updated_at?: string | null;
21
21
  remote_was_deleted?: boolean | null;
@@ -25,6 +25,15 @@ var __importStar = (this && this.__importStar) || function (mod) {
25
25
  __setModuleDefault(result, mod);
26
26
  return result;
27
27
  };
28
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
29
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
30
+ return new (P || (P = Promise))(function (resolve, reject) {
31
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
32
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
33
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
34
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
35
+ });
36
+ };
28
37
  Object.defineProperty(exports, "__esModule", { value: true });
29
38
  exports.Folder = void 0;
30
39
  const core = __importStar(require("../../../../core"));
@@ -37,7 +46,9 @@ exports.Folder = core.serialization.object({
37
46
  description: core.serialization.string().optional(),
38
47
  parentFolder: core.serialization.property("parent_folder", core.serialization.string().optional()),
39
48
  drive: core.serialization.string().optional(),
40
- permissions: core.serialization.list(core.serialization.string()),
49
+ permissions: core.serialization
50
+ .lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../..")))).filestorage.FolderPermissions; }))
51
+ .optional(),
41
52
  remoteCreatedAt: core.serialization.property("remote_created_at", core.serialization.date().optional()),
42
53
  remoteUpdatedAt: core.serialization.property("remote_updated_at", core.serialization.date().optional()),
43
54
  remoteWasDeleted: core.serialization.property("remote_was_deleted", core.serialization.boolean().optional()),
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../..";
5
+ import * as Merge from "../../../../api";
6
+ import * as core from "../../../../core";
7
+ export declare const FolderPermissions: core.serialization.Schema<serializers.filestorage.FolderPermissions.Raw, Merge.filestorage.FolderPermissions>;
8
+ export declare namespace FolderPermissions {
9
+ type Raw = string | unknown | serializers.filestorage.FolderPermissionsItem.Raw[];
10
+ }
@@ -0,0 +1,44 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
29
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
30
+ return new (P || (P = Promise))(function (resolve, reject) {
31
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
32
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
33
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
34
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
35
+ });
36
+ };
37
+ Object.defineProperty(exports, "__esModule", { value: true });
38
+ exports.FolderPermissions = void 0;
39
+ const core = __importStar(require("../../../../core"));
40
+ exports.FolderPermissions = core.serialization.undiscriminatedUnion([
41
+ core.serialization.string(),
42
+ core.serialization.unknown(),
43
+ core.serialization.list(core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../..")))).filestorage.FolderPermissionsItem; }))),
44
+ ]);
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../..";
5
+ import * as Merge from "../../../../api";
6
+ import * as core from "../../../../core";
7
+ export declare const FolderPermissionsItem: core.serialization.Schema<serializers.filestorage.FolderPermissionsItem.Raw, Merge.filestorage.FolderPermissionsItem>;
8
+ export declare namespace FolderPermissionsItem {
9
+ type Raw = string | serializers.filestorage.PermissionRequest.Raw;
10
+ }