@apideck/unify 0.42.1 → 0.43.1

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 (505) hide show
  1. package/README.md +8 -1
  2. package/funcs/accountingAttachmentsList.d.ts.map +1 -1
  3. package/funcs/accountingAttachmentsList.js +1 -2
  4. package/funcs/accountingAttachmentsList.js.map +1 -1
  5. package/funcs/accountingBankAccountsList.d.ts.map +1 -1
  6. package/funcs/accountingBankAccountsList.js +1 -2
  7. package/funcs/accountingBankAccountsList.js.map +1 -1
  8. package/funcs/accountingBankFeedAccountsList.d.ts.map +1 -1
  9. package/funcs/accountingBankFeedAccountsList.js +1 -2
  10. package/funcs/accountingBankFeedAccountsList.js.map +1 -1
  11. package/funcs/accountingBankFeedStatementsList.d.ts.map +1 -1
  12. package/funcs/accountingBankFeedStatementsList.js +1 -2
  13. package/funcs/accountingBankFeedStatementsList.js.map +1 -1
  14. package/funcs/accountingBillPaymentsList.d.ts.map +1 -1
  15. package/funcs/accountingBillPaymentsList.js +1 -2
  16. package/funcs/accountingBillPaymentsList.js.map +1 -1
  17. package/funcs/accountingBillsList.d.ts.map +1 -1
  18. package/funcs/accountingBillsList.js +1 -2
  19. package/funcs/accountingBillsList.js.map +1 -1
  20. package/funcs/accountingCategoriesList.d.ts.map +1 -1
  21. package/funcs/accountingCategoriesList.js +1 -2
  22. package/funcs/accountingCategoriesList.js.map +1 -1
  23. package/funcs/accountingCompaniesList.d.ts.map +1 -1
  24. package/funcs/accountingCompaniesList.js +1 -2
  25. package/funcs/accountingCompaniesList.js.map +1 -1
  26. package/funcs/accountingCreditNotesList.d.ts.map +1 -1
  27. package/funcs/accountingCreditNotesList.js +1 -2
  28. package/funcs/accountingCreditNotesList.js.map +1 -1
  29. package/funcs/accountingCustomersList.d.ts.map +1 -1
  30. package/funcs/accountingCustomersList.js +1 -2
  31. package/funcs/accountingCustomersList.js.map +1 -1
  32. package/funcs/accountingDepartmentsList.d.ts.map +1 -1
  33. package/funcs/accountingDepartmentsList.js +1 -2
  34. package/funcs/accountingDepartmentsList.js.map +1 -1
  35. package/funcs/accountingEmployeesList.d.ts.map +1 -1
  36. package/funcs/accountingEmployeesList.js +1 -2
  37. package/funcs/accountingEmployeesList.js.map +1 -1
  38. package/funcs/accountingExpenseCategoriesList.d.ts.map +1 -1
  39. package/funcs/accountingExpenseCategoriesList.js +1 -2
  40. package/funcs/accountingExpenseCategoriesList.js.map +1 -1
  41. package/funcs/accountingExpenseReportsList.d.ts.map +1 -1
  42. package/funcs/accountingExpenseReportsList.js +1 -2
  43. package/funcs/accountingExpenseReportsList.js.map +1 -1
  44. package/funcs/accountingExpensesList.d.ts.map +1 -1
  45. package/funcs/accountingExpensesList.js +1 -2
  46. package/funcs/accountingExpensesList.js.map +1 -1
  47. package/funcs/accountingGeneralLedgerTransactionsGet.d.ts +18 -0
  48. package/funcs/accountingGeneralLedgerTransactionsGet.d.ts.map +1 -0
  49. package/funcs/accountingGeneralLedgerTransactionsGet.js +144 -0
  50. package/funcs/accountingGeneralLedgerTransactionsGet.js.map +1 -0
  51. package/funcs/accountingGeneralLedgerTransactionsList.d.ts +21 -0
  52. package/funcs/accountingGeneralLedgerTransactionsList.d.ts.map +1 -0
  53. package/funcs/accountingGeneralLedgerTransactionsList.js +168 -0
  54. package/funcs/accountingGeneralLedgerTransactionsList.js.map +1 -0
  55. package/funcs/accountingInvoiceItemsList.d.ts.map +1 -1
  56. package/funcs/accountingInvoiceItemsList.js +1 -2
  57. package/funcs/accountingInvoiceItemsList.js.map +1 -1
  58. package/funcs/accountingInvoicesList.d.ts.map +1 -1
  59. package/funcs/accountingInvoicesList.js +1 -2
  60. package/funcs/accountingInvoicesList.js.map +1 -1
  61. package/funcs/accountingJournalEntriesList.d.ts.map +1 -1
  62. package/funcs/accountingJournalEntriesList.js +1 -2
  63. package/funcs/accountingJournalEntriesList.js.map +1 -1
  64. package/funcs/accountingLedgerAccountsList.d.ts.map +1 -1
  65. package/funcs/accountingLedgerAccountsList.js +1 -2
  66. package/funcs/accountingLedgerAccountsList.js.map +1 -1
  67. package/funcs/accountingLocationsList.d.ts.map +1 -1
  68. package/funcs/accountingLocationsList.js +1 -2
  69. package/funcs/accountingLocationsList.js.map +1 -1
  70. package/funcs/accountingPaymentsList.d.ts.map +1 -1
  71. package/funcs/accountingPaymentsList.js +1 -2
  72. package/funcs/accountingPaymentsList.js.map +1 -1
  73. package/funcs/accountingProjectsList.d.ts.map +1 -1
  74. package/funcs/accountingProjectsList.js +1 -2
  75. package/funcs/accountingProjectsList.js.map +1 -1
  76. package/funcs/accountingPurchaseOrdersList.d.ts.map +1 -1
  77. package/funcs/accountingPurchaseOrdersList.js +1 -2
  78. package/funcs/accountingPurchaseOrdersList.js.map +1 -1
  79. package/funcs/accountingQuotesList.d.ts.map +1 -1
  80. package/funcs/accountingQuotesList.js +5 -4
  81. package/funcs/accountingQuotesList.js.map +1 -1
  82. package/funcs/accountingRefundsList.d.ts.map +1 -1
  83. package/funcs/accountingRefundsList.js +1 -2
  84. package/funcs/accountingRefundsList.js.map +1 -1
  85. package/funcs/accountingSubsidiariesList.d.ts.map +1 -1
  86. package/funcs/accountingSubsidiariesList.js +1 -2
  87. package/funcs/accountingSubsidiariesList.js.map +1 -1
  88. package/funcs/accountingSuppliersList.d.ts.map +1 -1
  89. package/funcs/accountingSuppliersList.js +1 -2
  90. package/funcs/accountingSuppliersList.js.map +1 -1
  91. package/funcs/accountingTaxRatesList.d.ts.map +1 -1
  92. package/funcs/accountingTaxRatesList.js +1 -2
  93. package/funcs/accountingTaxRatesList.js.map +1 -1
  94. package/funcs/accountingTrackingCategoriesList.d.ts.map +1 -1
  95. package/funcs/accountingTrackingCategoriesList.js +1 -2
  96. package/funcs/accountingTrackingCategoriesList.js.map +1 -1
  97. package/funcs/atsApplicantsList.d.ts.map +1 -1
  98. package/funcs/atsApplicantsList.js +1 -2
  99. package/funcs/atsApplicantsList.js.map +1 -1
  100. package/funcs/atsApplicationsList.d.ts.map +1 -1
  101. package/funcs/atsApplicationsList.js +1 -2
  102. package/funcs/atsApplicationsList.js.map +1 -1
  103. package/funcs/atsJobsList.d.ts.map +1 -1
  104. package/funcs/atsJobsList.js +1 -2
  105. package/funcs/atsJobsList.js.map +1 -1
  106. package/funcs/connectorApisList.d.ts.map +1 -1
  107. package/funcs/connectorApisList.js +1 -2
  108. package/funcs/connectorApisList.js.map +1 -1
  109. package/funcs/connectorConnectorsList.d.ts.map +1 -1
  110. package/funcs/connectorConnectorsList.js +1 -2
  111. package/funcs/connectorConnectorsList.js.map +1 -1
  112. package/funcs/crmActivitiesList.d.ts.map +1 -1
  113. package/funcs/crmActivitiesList.js +1 -2
  114. package/funcs/crmActivitiesList.js.map +1 -1
  115. package/funcs/crmCompaniesList.d.ts.map +1 -1
  116. package/funcs/crmCompaniesList.js +1 -2
  117. package/funcs/crmCompaniesList.js.map +1 -1
  118. package/funcs/crmContactsList.d.ts.map +1 -1
  119. package/funcs/crmContactsList.js +1 -2
  120. package/funcs/crmContactsList.js.map +1 -1
  121. package/funcs/crmCustomObjectSchemasList.d.ts.map +1 -1
  122. package/funcs/crmCustomObjectSchemasList.js +1 -2
  123. package/funcs/crmCustomObjectSchemasList.js.map +1 -1
  124. package/funcs/crmCustomObjectsList.d.ts.map +1 -1
  125. package/funcs/crmCustomObjectsList.js +1 -2
  126. package/funcs/crmCustomObjectsList.js.map +1 -1
  127. package/funcs/crmLeadsList.d.ts.map +1 -1
  128. package/funcs/crmLeadsList.js +1 -2
  129. package/funcs/crmLeadsList.js.map +1 -1
  130. package/funcs/crmNotesList.d.ts.map +1 -1
  131. package/funcs/crmNotesList.js +2 -2
  132. package/funcs/crmNotesList.js.map +1 -1
  133. package/funcs/crmOpportunitiesList.d.ts.map +1 -1
  134. package/funcs/crmOpportunitiesList.js +1 -2
  135. package/funcs/crmOpportunitiesList.js.map +1 -1
  136. package/funcs/crmPipelinesList.d.ts.map +1 -1
  137. package/funcs/crmPipelinesList.js +1 -2
  138. package/funcs/crmPipelinesList.js.map +1 -1
  139. package/funcs/crmUsersList.d.ts.map +1 -1
  140. package/funcs/crmUsersList.js +2 -2
  141. package/funcs/crmUsersList.js.map +1 -1
  142. package/funcs/ecommerceCustomersList.d.ts.map +1 -1
  143. package/funcs/ecommerceCustomersList.js +1 -2
  144. package/funcs/ecommerceCustomersList.js.map +1 -1
  145. package/funcs/ecommerceOrdersList.d.ts.map +1 -1
  146. package/funcs/ecommerceOrdersList.js +1 -2
  147. package/funcs/ecommerceOrdersList.js.map +1 -1
  148. package/funcs/ecommerceProductsList.d.ts.map +1 -1
  149. package/funcs/ecommerceProductsList.js +1 -2
  150. package/funcs/ecommerceProductsList.js.map +1 -1
  151. package/funcs/fileStorageDriveGroupsList.d.ts.map +1 -1
  152. package/funcs/fileStorageDriveGroupsList.js +1 -2
  153. package/funcs/fileStorageDriveGroupsList.js.map +1 -1
  154. package/funcs/fileStorageDrivesList.d.ts.map +1 -1
  155. package/funcs/fileStorageDrivesList.js +1 -2
  156. package/funcs/fileStorageDrivesList.js.map +1 -1
  157. package/funcs/fileStorageFilesList.d.ts.map +1 -1
  158. package/funcs/fileStorageFilesList.js +1 -2
  159. package/funcs/fileStorageFilesList.js.map +1 -1
  160. package/funcs/fileStorageSharedLinksList.d.ts.map +1 -1
  161. package/funcs/fileStorageSharedLinksList.js +1 -2
  162. package/funcs/fileStorageSharedLinksList.js.map +1 -1
  163. package/funcs/hrisCompaniesList.d.ts.map +1 -1
  164. package/funcs/hrisCompaniesList.js +1 -2
  165. package/funcs/hrisCompaniesList.js.map +1 -1
  166. package/funcs/hrisDepartmentsList.d.ts.map +1 -1
  167. package/funcs/hrisDepartmentsList.js +1 -2
  168. package/funcs/hrisDepartmentsList.js.map +1 -1
  169. package/funcs/hrisEmployeesList.d.ts.map +1 -1
  170. package/funcs/hrisEmployeesList.js +1 -2
  171. package/funcs/hrisEmployeesList.js.map +1 -1
  172. package/funcs/hrisTimeOffRequestsList.d.ts.map +1 -1
  173. package/funcs/hrisTimeOffRequestsList.js +1 -2
  174. package/funcs/hrisTimeOffRequestsList.js.map +1 -1
  175. package/funcs/issueTrackingCollectionTagsList.d.ts.map +1 -1
  176. package/funcs/issueTrackingCollectionTagsList.js +1 -2
  177. package/funcs/issueTrackingCollectionTagsList.js.map +1 -1
  178. package/funcs/issueTrackingCollectionTicketCommentsGet.d.ts.map +1 -1
  179. package/funcs/issueTrackingCollectionTicketCommentsGet.js +1 -2
  180. package/funcs/issueTrackingCollectionTicketCommentsGet.js.map +1 -1
  181. package/funcs/issueTrackingCollectionTicketCommentsList.d.ts.map +1 -1
  182. package/funcs/issueTrackingCollectionTicketCommentsList.js +1 -2
  183. package/funcs/issueTrackingCollectionTicketCommentsList.js.map +1 -1
  184. package/funcs/issueTrackingCollectionTicketsList.d.ts.map +1 -1
  185. package/funcs/issueTrackingCollectionTicketsList.js +1 -2
  186. package/funcs/issueTrackingCollectionTicketsList.js.map +1 -1
  187. package/funcs/issueTrackingCollectionUsersList.d.ts.map +1 -1
  188. package/funcs/issueTrackingCollectionUsersList.js +1 -2
  189. package/funcs/issueTrackingCollectionUsersList.js.map +1 -1
  190. package/funcs/issueTrackingCollectionsList.d.ts.map +1 -1
  191. package/funcs/issueTrackingCollectionsList.js +1 -2
  192. package/funcs/issueTrackingCollectionsList.js.map +1 -1
  193. package/funcs/smsMessagesList.d.ts.map +1 -1
  194. package/funcs/smsMessagesList.js +1 -2
  195. package/funcs/smsMessagesList.js.map +1 -1
  196. package/funcs/vaultConsumersList.d.ts.map +1 -1
  197. package/funcs/vaultConsumersList.js +1 -2
  198. package/funcs/vaultConsumersList.js.map +1 -1
  199. package/funcs/vaultLogsList.d.ts.map +1 -1
  200. package/funcs/vaultLogsList.js +1 -2
  201. package/funcs/vaultLogsList.js.map +1 -1
  202. package/funcs/webhookEventLogsList.d.ts.map +1 -1
  203. package/funcs/webhookEventLogsList.js +1 -2
  204. package/funcs/webhookEventLogsList.js.map +1 -1
  205. package/funcs/webhookWebhooksList.d.ts.map +1 -1
  206. package/funcs/webhookWebhooksList.js +1 -2
  207. package/funcs/webhookWebhooksList.js.map +1 -1
  208. package/hooks/types.d.ts +1 -0
  209. package/hooks/types.d.ts.map +1 -1
  210. package/jsr.json +1 -1
  211. package/lib/config.d.ts +4 -4
  212. package/lib/config.js +4 -4
  213. package/lib/encodings.js +12 -12
  214. package/lib/encodings.js.map +1 -1
  215. package/lib/env.d.ts.map +1 -1
  216. package/lib/env.js +3 -3
  217. package/lib/env.js.map +1 -1
  218. package/lib/matchers.js +2 -2
  219. package/lib/matchers.js.map +1 -1
  220. package/lib/primitives.d.ts +1 -0
  221. package/lib/primitives.d.ts.map +1 -1
  222. package/lib/primitives.js +18 -0
  223. package/lib/primitives.js.map +1 -1
  224. package/lib/sdks.d.ts.map +1 -1
  225. package/lib/sdks.js +50 -16
  226. package/lib/sdks.js.map +1 -1
  227. package/models/components/attachmentreferencetype.d.ts +1 -0
  228. package/models/components/attachmentreferencetype.d.ts.map +1 -1
  229. package/models/components/attachmentreferencetype.js +1 -0
  230. package/models/components/attachmentreferencetype.js.map +1 -1
  231. package/models/components/billsfilter.d.ts +5 -0
  232. package/models/components/billsfilter.d.ts.map +1 -1
  233. package/models/components/billsfilter.js +2 -0
  234. package/models/components/billsfilter.js.map +1 -1
  235. package/models/components/connection.d.ts +5 -0
  236. package/models/components/connection.d.ts.map +1 -1
  237. package/models/components/connection.js +3 -0
  238. package/models/components/connection.js.map +1 -1
  239. package/models/components/connectionhealth.d.ts +1 -0
  240. package/models/components/connectionhealth.d.ts.map +1 -1
  241. package/models/components/connectionhealth.js +1 -0
  242. package/models/components/connectionhealth.js.map +1 -1
  243. package/models/components/creditnotesfilter.d.ts +5 -0
  244. package/models/components/creditnotesfilter.d.ts.map +1 -1
  245. package/models/components/creditnotesfilter.js +2 -0
  246. package/models/components/creditnotesfilter.js.map +1 -1
  247. package/models/components/customersfilter.d.ts +5 -0
  248. package/models/components/customersfilter.d.ts.map +1 -1
  249. package/models/components/customersfilter.js +2 -0
  250. package/models/components/customersfilter.js.map +1 -1
  251. package/models/components/expensereportsfilter.d.ts +5 -0
  252. package/models/components/expensereportsfilter.d.ts.map +1 -1
  253. package/models/components/expensereportsfilter.js +2 -0
  254. package/models/components/expensereportsfilter.js.map +1 -1
  255. package/models/components/generalledgertransaction.d.ts +101 -0
  256. package/models/components/generalledgertransaction.d.ts.map +1 -0
  257. package/models/components/generalledgertransaction.js +104 -0
  258. package/models/components/generalledgertransaction.js.map +1 -0
  259. package/models/components/generalledgertransactionlineitem.d.ts +56 -0
  260. package/models/components/generalledgertransactionlineitem.d.ts.map +1 -0
  261. package/models/components/generalledgertransactionlineitem.js +82 -0
  262. package/models/components/generalledgertransactionlineitem.js.map +1 -0
  263. package/models/components/generalledgertransactionsfilter.d.ts +46 -0
  264. package/models/components/generalledgertransactionsfilter.d.ts.map +1 -0
  265. package/models/components/generalledgertransactionsfilter.js +75 -0
  266. package/models/components/generalledgertransactionsfilter.js.map +1 -0
  267. package/models/components/generalledgertransactionssort.d.ts +36 -0
  268. package/models/components/generalledgertransactionssort.d.ts.map +1 -0
  269. package/models/components/generalledgertransactionssort.js +62 -0
  270. package/models/components/generalledgertransactionssort.js.map +1 -0
  271. package/models/components/getgeneralledgertransactionresponse.d.ts +40 -0
  272. package/models/components/getgeneralledgertransactionresponse.d.ts.map +1 -0
  273. package/models/components/getgeneralledgertransactionresponse.js +64 -0
  274. package/models/components/getgeneralledgertransactionresponse.js.map +1 -0
  275. package/models/components/getgeneralledgertransactionsresponse.d.ts +50 -0
  276. package/models/components/getgeneralledgertransactionsresponse.d.ts.map +1 -0
  277. package/models/components/getgeneralledgertransactionsresponse.js +68 -0
  278. package/models/components/getgeneralledgertransactionsresponse.js.map +1 -0
  279. package/models/components/index.d.ts +9 -0
  280. package/models/components/index.d.ts.map +1 -1
  281. package/models/components/index.js +9 -0
  282. package/models/components/index.js.map +1 -1
  283. package/models/components/invoiceitemsfilter.d.ts +5 -0
  284. package/models/components/invoiceitemsfilter.d.ts.map +1 -1
  285. package/models/components/invoiceitemsfilter.js +2 -0
  286. package/models/components/invoiceitemsfilter.js.map +1 -1
  287. package/models/components/invoicesfilter.d.ts +5 -0
  288. package/models/components/invoicesfilter.d.ts.map +1 -1
  289. package/models/components/invoicesfilter.js +2 -0
  290. package/models/components/invoicesfilter.js.map +1 -1
  291. package/models/components/journalentriesfilter.d.ts +23 -0
  292. package/models/components/journalentriesfilter.d.ts.map +1 -1
  293. package/models/components/journalentriesfilter.js +13 -1
  294. package/models/components/journalentriesfilter.js.map +1 -1
  295. package/models/components/ledgeraccountsfilter.d.ts +5 -0
  296. package/models/components/ledgeraccountsfilter.d.ts.map +1 -1
  297. package/models/components/ledgeraccountsfilter.js +2 -0
  298. package/models/components/ledgeraccountsfilter.js.map +1 -1
  299. package/models/components/meta.d.ts +4 -0
  300. package/models/components/meta.d.ts.map +1 -1
  301. package/models/components/meta.js +2 -0
  302. package/models/components/meta.js.map +1 -1
  303. package/models/components/notesfilter.d.ts +24 -0
  304. package/models/components/notesfilter.d.ts.map +1 -0
  305. package/models/components/notesfilter.js +59 -0
  306. package/models/components/notesfilter.js.map +1 -0
  307. package/models/components/paymentsfilter.d.ts +5 -0
  308. package/models/components/paymentsfilter.d.ts.map +1 -1
  309. package/models/components/paymentsfilter.js +2 -0
  310. package/models/components/paymentsfilter.js.map +1 -1
  311. package/models/components/projectsfilter.d.ts +5 -0
  312. package/models/components/projectsfilter.d.ts.map +1 -1
  313. package/models/components/projectsfilter.js +2 -0
  314. package/models/components/projectsfilter.js.map +1 -1
  315. package/models/components/purchaseordersfilter.d.ts +5 -0
  316. package/models/components/purchaseordersfilter.d.ts.map +1 -1
  317. package/models/components/purchaseordersfilter.js +2 -0
  318. package/models/components/purchaseordersfilter.js.map +1 -1
  319. package/models/components/quotesfilter.d.ts +19 -0
  320. package/models/components/quotesfilter.d.ts.map +1 -0
  321. package/models/components/quotesfilter.js +57 -0
  322. package/models/components/quotesfilter.js.map +1 -0
  323. package/models/components/suppliersfilter.d.ts +5 -0
  324. package/models/components/suppliersfilter.d.ts.map +1 -1
  325. package/models/components/suppliersfilter.js +2 -0
  326. package/models/components/suppliersfilter.js.map +1 -1
  327. package/models/components/user.d.ts +4 -0
  328. package/models/components/user.d.ts.map +1 -1
  329. package/models/components/user.js +1 -0
  330. package/models/components/user.js.map +1 -1
  331. package/models/components/userinput.d.ts +5 -0
  332. package/models/components/userinput.d.ts.map +1 -1
  333. package/models/components/userinput.js +1 -0
  334. package/models/components/userinput.js.map +1 -1
  335. package/models/components/usersfilter.d.ts +20 -0
  336. package/models/components/usersfilter.d.ts.map +1 -0
  337. package/models/components/usersfilter.js +50 -0
  338. package/models/components/usersfilter.js.map +1 -0
  339. package/models/components/webhookeventtype.d.ts +2 -0
  340. package/models/components/webhookeventtype.d.ts.map +1 -1
  341. package/models/components/webhookeventtype.js +2 -0
  342. package/models/components/webhookeventtype.js.map +1 -1
  343. package/models/operations/accountinggeneralledgertransactionsall.d.ts +96 -0
  344. package/models/operations/accountinggeneralledgertransactionsall.d.ts.map +1 -0
  345. package/models/operations/accountinggeneralledgertransactionsall.js +84 -0
  346. package/models/operations/accountinggeneralledgertransactionsall.js.map +1 -0
  347. package/models/operations/accountinggeneralledgertransactionsone.d.ts +72 -0
  348. package/models/operations/accountinggeneralledgertransactionsone.d.ts.map +1 -0
  349. package/models/operations/accountinggeneralledgertransactionsone.js +75 -0
  350. package/models/operations/accountinggeneralledgertransactionsone.js.map +1 -0
  351. package/models/operations/accountingquotesall.d.ts +5 -0
  352. package/models/operations/accountingquotesall.d.ts.map +1 -1
  353. package/models/operations/accountingquotesall.js +1 -0
  354. package/models/operations/accountingquotesall.js.map +1 -1
  355. package/models/operations/crmnotesall.d.ts +5 -0
  356. package/models/operations/crmnotesall.d.ts.map +1 -1
  357. package/models/operations/crmnotesall.js +1 -0
  358. package/models/operations/crmnotesall.js.map +1 -1
  359. package/models/operations/crmusersall.d.ts +5 -0
  360. package/models/operations/crmusersall.d.ts.map +1 -1
  361. package/models/operations/crmusersall.js +1 -0
  362. package/models/operations/crmusersall.js.map +1 -1
  363. package/models/operations/index.d.ts +2 -0
  364. package/models/operations/index.d.ts.map +1 -1
  365. package/models/operations/index.js +2 -0
  366. package/models/operations/index.js.map +1 -1
  367. package/package.json +1 -1
  368. package/sdk/accounting.d.ts +3 -0
  369. package/sdk/accounting.d.ts.map +1 -1
  370. package/sdk/accounting.js +4 -0
  371. package/sdk/accounting.js.map +1 -1
  372. package/sdk/generalledgertransactions.d.ts +22 -0
  373. package/sdk/generalledgertransactions.d.ts.map +1 -0
  374. package/sdk/generalledgertransactions.js +33 -0
  375. package/sdk/generalledgertransactions.js.map +1 -0
  376. package/src/__tests__/bankaccounts.test.ts +1 -0
  377. package/src/__tests__/companies.test.ts +1 -0
  378. package/src/__tests__/employees.test.ts +1 -0
  379. package/src/__tests__/expensecategories.test.ts +1 -0
  380. package/src/__tests__/expensereports.test.ts +1 -0
  381. package/src/__tests__/projects.test.ts +1 -0
  382. package/src/__tests__/quotes.test.ts +6 -0
  383. package/src/__tests__/refunds.test.ts +1 -0
  384. package/src/funcs/accountingAttachmentsList.ts +5 -2
  385. package/src/funcs/accountingBankAccountsList.ts +5 -2
  386. package/src/funcs/accountingBankFeedAccountsList.ts +5 -2
  387. package/src/funcs/accountingBankFeedStatementsList.ts +5 -2
  388. package/src/funcs/accountingBillPaymentsList.ts +5 -2
  389. package/src/funcs/accountingBillsList.ts +5 -2
  390. package/src/funcs/accountingCategoriesList.ts +5 -2
  391. package/src/funcs/accountingCompaniesList.ts +5 -2
  392. package/src/funcs/accountingCreditNotesList.ts +5 -2
  393. package/src/funcs/accountingCustomersList.ts +5 -2
  394. package/src/funcs/accountingDepartmentsList.ts +5 -2
  395. package/src/funcs/accountingEmployeesList.ts +5 -2
  396. package/src/funcs/accountingExpenseCategoriesList.ts +5 -2
  397. package/src/funcs/accountingExpenseReportsList.ts +5 -2
  398. package/src/funcs/accountingExpensesList.ts +5 -2
  399. package/src/funcs/accountingGeneralLedgerTransactionsGet.ts +241 -0
  400. package/src/funcs/accountingGeneralLedgerTransactionsList.ts +316 -0
  401. package/src/funcs/accountingInvoiceItemsList.ts +5 -2
  402. package/src/funcs/accountingInvoicesList.ts +5 -2
  403. package/src/funcs/accountingJournalEntriesList.ts +5 -2
  404. package/src/funcs/accountingLedgerAccountsList.ts +5 -2
  405. package/src/funcs/accountingLocationsList.ts +5 -2
  406. package/src/funcs/accountingPaymentsList.ts +5 -2
  407. package/src/funcs/accountingProjectsList.ts +5 -2
  408. package/src/funcs/accountingPurchaseOrdersList.ts +5 -2
  409. package/src/funcs/accountingQuotesList.ts +21 -8
  410. package/src/funcs/accountingRefundsList.ts +5 -2
  411. package/src/funcs/accountingSubsidiariesList.ts +5 -2
  412. package/src/funcs/accountingSuppliersList.ts +5 -2
  413. package/src/funcs/accountingTaxRatesList.ts +5 -2
  414. package/src/funcs/accountingTrackingCategoriesList.ts +5 -2
  415. package/src/funcs/atsApplicantsList.ts +5 -2
  416. package/src/funcs/atsApplicationsList.ts +5 -2
  417. package/src/funcs/atsJobsList.ts +5 -2
  418. package/src/funcs/connectorApisList.ts +5 -2
  419. package/src/funcs/connectorConnectorsList.ts +5 -2
  420. package/src/funcs/crmActivitiesList.ts +5 -2
  421. package/src/funcs/crmCompaniesList.ts +5 -2
  422. package/src/funcs/crmContactsList.ts +5 -2
  423. package/src/funcs/crmCustomObjectSchemasList.ts +5 -2
  424. package/src/funcs/crmCustomObjectsList.ts +5 -2
  425. package/src/funcs/crmLeadsList.ts +5 -2
  426. package/src/funcs/crmNotesList.ts +6 -2
  427. package/src/funcs/crmOpportunitiesList.ts +5 -2
  428. package/src/funcs/crmPipelinesList.ts +5 -2
  429. package/src/funcs/crmUsersList.ts +6 -2
  430. package/src/funcs/ecommerceCustomersList.ts +5 -2
  431. package/src/funcs/ecommerceOrdersList.ts +5 -2
  432. package/src/funcs/ecommerceProductsList.ts +5 -2
  433. package/src/funcs/fileStorageDriveGroupsList.ts +5 -2
  434. package/src/funcs/fileStorageDrivesList.ts +5 -2
  435. package/src/funcs/fileStorageFilesList.ts +5 -2
  436. package/src/funcs/fileStorageSharedLinksList.ts +5 -2
  437. package/src/funcs/hrisCompaniesList.ts +5 -2
  438. package/src/funcs/hrisDepartmentsList.ts +5 -2
  439. package/src/funcs/hrisEmployeesList.ts +5 -2
  440. package/src/funcs/hrisTimeOffRequestsList.ts +5 -2
  441. package/src/funcs/issueTrackingCollectionTagsList.ts +5 -2
  442. package/src/funcs/issueTrackingCollectionTicketCommentsGet.ts +5 -2
  443. package/src/funcs/issueTrackingCollectionTicketCommentsList.ts +5 -2
  444. package/src/funcs/issueTrackingCollectionTicketsList.ts +5 -2
  445. package/src/funcs/issueTrackingCollectionUsersList.ts +5 -2
  446. package/src/funcs/issueTrackingCollectionsList.ts +5 -2
  447. package/src/funcs/smsMessagesList.ts +5 -2
  448. package/src/funcs/vaultConsumersList.ts +5 -2
  449. package/src/funcs/vaultLogsList.ts +5 -2
  450. package/src/funcs/webhookEventLogsList.ts +5 -2
  451. package/src/funcs/webhookWebhooksList.ts +5 -2
  452. package/src/hooks/types.ts +1 -0
  453. package/src/lib/config.ts +4 -4
  454. package/src/lib/encodings.ts +1 -1
  455. package/src/lib/env.ts +7 -3
  456. package/src/lib/matchers.ts +1 -1
  457. package/src/lib/primitives.ts +16 -0
  458. package/src/lib/sdks.ts +54 -17
  459. package/src/models/components/attachmentreferencetype.ts +1 -0
  460. package/src/models/components/billsfilter.ts +7 -0
  461. package/src/models/components/connection.ts +7 -0
  462. package/src/models/components/connectionhealth.ts +1 -0
  463. package/src/models/components/creditnotesfilter.ts +7 -0
  464. package/src/models/components/customersfilter.ts +7 -0
  465. package/src/models/components/expensereportsfilter.ts +7 -0
  466. package/src/models/components/generalledgertransaction.ts +168 -0
  467. package/src/models/components/generalledgertransactionlineitem.ts +113 -0
  468. package/src/models/components/generalledgertransactionsfilter.ts +83 -0
  469. package/src/models/components/generalledgertransactionssort.ts +70 -0
  470. package/src/models/components/getgeneralledgertransactionresponse.ts +76 -0
  471. package/src/models/components/getgeneralledgertransactionsresponse.ts +88 -0
  472. package/src/models/components/index.ts +9 -0
  473. package/src/models/components/invoiceitemsfilter.ts +7 -0
  474. package/src/models/components/invoicesfilter.ts +7 -0
  475. package/src/models/components/journalentriesfilter.ts +34 -0
  476. package/src/models/components/ledgeraccountsfilter.ts +7 -0
  477. package/src/models/components/meta.ts +6 -0
  478. package/src/models/components/notesfilter.ts +49 -0
  479. package/src/models/components/paymentsfilter.ts +7 -0
  480. package/src/models/components/projectsfilter.ts +7 -0
  481. package/src/models/components/purchaseordersfilter.ts +7 -0
  482. package/src/models/components/quotesfilter.ts +42 -0
  483. package/src/models/components/suppliersfilter.ts +7 -0
  484. package/src/models/components/user.ts +5 -0
  485. package/src/models/components/userinput.ts +6 -0
  486. package/src/models/components/usersfilter.ts +36 -0
  487. package/src/models/components/webhookeventtype.ts +2 -0
  488. package/src/models/operations/accountinggeneralledgertransactionsall.ts +173 -0
  489. package/src/models/operations/accountinggeneralledgertransactionsone.ts +144 -0
  490. package/src/models/operations/accountingquotesall.ts +6 -0
  491. package/src/models/operations/crmnotesall.ts +6 -0
  492. package/src/models/operations/crmusersall.ts +6 -0
  493. package/src/models/operations/index.ts +2 -0
  494. package/src/sdk/accounting.ts +8 -0
  495. package/src/sdk/generalledgertransactions.ts +51 -0
  496. package/lib/dlv.d.ts +0 -14
  497. package/lib/dlv.d.ts.map +0 -1
  498. package/lib/dlv.js +0 -49
  499. package/lib/dlv.js.map +0 -1
  500. package/lib/is-plain-object.d.ts +0 -2
  501. package/lib/is-plain-object.d.ts.map +0 -1
  502. package/lib/is-plain-object.js +0 -41
  503. package/lib/is-plain-object.js.map +0 -1
  504. package/src/lib/dlv.ts +0 -53
  505. package/src/lib/is-plain-object.ts +0 -43
@@ -0,0 +1,173 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod/v3";
6
+ import { remap as remap$ } from "../../lib/primitives.js";
7
+ import { safeParse } from "../../lib/schemas.js";
8
+ import { Result as SafeParseResult } from "../../types/fp.js";
9
+ import * as types from "../../types/primitives.js";
10
+ import * as components from "../components/index.js";
11
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
12
+
13
+ export type AccountingGeneralLedgerTransactionsAllGlobals = {
14
+ /**
15
+ * ID of the consumer which you want to get or push data from
16
+ */
17
+ consumerId?: string | undefined;
18
+ /**
19
+ * The ID of your Unify application
20
+ */
21
+ appId?: string | undefined;
22
+ };
23
+
24
+ export type AccountingGeneralLedgerTransactionsAllRequest = {
25
+ /**
26
+ * Include raw response. Mostly used for debugging purposes
27
+ */
28
+ raw?: boolean | undefined;
29
+ /**
30
+ * ID of the consumer which you want to get or push data from
31
+ */
32
+ consumerId?: string | undefined;
33
+ /**
34
+ * The ID of your Unify application
35
+ */
36
+ appId?: string | undefined;
37
+ /**
38
+ * Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.
39
+ */
40
+ serviceId?: string | undefined;
41
+ /**
42
+ * The ID of the company to scope requests to. For connectors that support multi-company, this overrides the default company configured in connection settings.
43
+ */
44
+ companyId?: string | undefined;
45
+ /**
46
+ * Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response.
47
+ */
48
+ cursor?: string | null | undefined;
49
+ /**
50
+ * Number of results to return. Minimum 1, Maximum 200, Default 20
51
+ */
52
+ limit?: number | undefined;
53
+ /**
54
+ * Apply filters
55
+ */
56
+ filter?: components.GeneralLedgerTransactionsFilter | undefined;
57
+ /**
58
+ * Apply sorting
59
+ */
60
+ sort?: components.GeneralLedgerTransactionsSort | undefined;
61
+ /**
62
+ * Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads
63
+ */
64
+ passThrough?: { [k: string]: any } | undefined;
65
+ /**
66
+ * The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields "name", "email" and "addresses.city". If any other fields are available, they will be excluded.
67
+ */
68
+ fields?: string | null | undefined;
69
+ };
70
+
71
+ export type AccountingGeneralLedgerTransactionsAllResponse = {
72
+ httpMeta: components.HTTPMetadata;
73
+ /**
74
+ * GeneralLedgerTransactions
75
+ */
76
+ getGeneralLedgerTransactionsResponse?:
77
+ | components.GetGeneralLedgerTransactionsResponse
78
+ | undefined;
79
+ /**
80
+ * Unexpected error
81
+ */
82
+ unexpectedErrorResponse?: components.UnexpectedErrorResponse | undefined;
83
+ };
84
+
85
+ /** @internal */
86
+ export type AccountingGeneralLedgerTransactionsAllRequest$Outbound = {
87
+ raw: boolean;
88
+ consumerId?: string | undefined;
89
+ appId?: string | undefined;
90
+ serviceId?: string | undefined;
91
+ companyId?: string | undefined;
92
+ cursor?: string | null | undefined;
93
+ limit: number;
94
+ filter?: components.GeneralLedgerTransactionsFilter$Outbound | undefined;
95
+ sort?: components.GeneralLedgerTransactionsSort$Outbound | undefined;
96
+ pass_through?: { [k: string]: any } | undefined;
97
+ fields?: string | null | undefined;
98
+ };
99
+
100
+ /** @internal */
101
+ export const AccountingGeneralLedgerTransactionsAllRequest$outboundSchema:
102
+ z.ZodType<
103
+ AccountingGeneralLedgerTransactionsAllRequest$Outbound,
104
+ z.ZodTypeDef,
105
+ AccountingGeneralLedgerTransactionsAllRequest
106
+ > = z.object({
107
+ raw: z.boolean().default(false),
108
+ consumerId: z.string().optional(),
109
+ appId: z.string().optional(),
110
+ serviceId: z.string().optional(),
111
+ companyId: z.string().optional(),
112
+ cursor: z.nullable(z.string()).optional(),
113
+ limit: z.number().int().default(20),
114
+ filter: components.GeneralLedgerTransactionsFilter$outboundSchema
115
+ .optional(),
116
+ sort: components.GeneralLedgerTransactionsSort$outboundSchema.optional(),
117
+ passThrough: z.record(z.any()).optional(),
118
+ fields: z.nullable(z.string()).optional(),
119
+ }).transform((v) => {
120
+ return remap$(v, {
121
+ passThrough: "pass_through",
122
+ });
123
+ });
124
+
125
+ export function accountingGeneralLedgerTransactionsAllRequestToJSON(
126
+ accountingGeneralLedgerTransactionsAllRequest:
127
+ AccountingGeneralLedgerTransactionsAllRequest,
128
+ ): string {
129
+ return JSON.stringify(
130
+ AccountingGeneralLedgerTransactionsAllRequest$outboundSchema.parse(
131
+ accountingGeneralLedgerTransactionsAllRequest,
132
+ ),
133
+ );
134
+ }
135
+
136
+ /** @internal */
137
+ export const AccountingGeneralLedgerTransactionsAllResponse$inboundSchema:
138
+ z.ZodType<
139
+ AccountingGeneralLedgerTransactionsAllResponse,
140
+ z.ZodTypeDef,
141
+ unknown
142
+ > = z.object({
143
+ HttpMeta: components.HTTPMetadata$inboundSchema,
144
+ GetGeneralLedgerTransactionsResponse: types.optional(
145
+ components.GetGeneralLedgerTransactionsResponse$inboundSchema,
146
+ ),
147
+ UnexpectedErrorResponse: types.optional(
148
+ components.UnexpectedErrorResponse$inboundSchema,
149
+ ),
150
+ }).transform((v) => {
151
+ return remap$(v, {
152
+ "HttpMeta": "httpMeta",
153
+ "GetGeneralLedgerTransactionsResponse":
154
+ "getGeneralLedgerTransactionsResponse",
155
+ "UnexpectedErrorResponse": "unexpectedErrorResponse",
156
+ });
157
+ });
158
+
159
+ export function accountingGeneralLedgerTransactionsAllResponseFromJSON(
160
+ jsonString: string,
161
+ ): SafeParseResult<
162
+ AccountingGeneralLedgerTransactionsAllResponse,
163
+ SDKValidationError
164
+ > {
165
+ return safeParse(
166
+ jsonString,
167
+ (x) =>
168
+ AccountingGeneralLedgerTransactionsAllResponse$inboundSchema.parse(
169
+ JSON.parse(x),
170
+ ),
171
+ `Failed to parse 'AccountingGeneralLedgerTransactionsAllResponse' from JSON`,
172
+ );
173
+ }
@@ -0,0 +1,144 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod/v3";
6
+ import { remap as remap$ } from "../../lib/primitives.js";
7
+ import { safeParse } from "../../lib/schemas.js";
8
+ import { Result as SafeParseResult } from "../../types/fp.js";
9
+ import * as types from "../../types/primitives.js";
10
+ import * as components from "../components/index.js";
11
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
12
+
13
+ export type AccountingGeneralLedgerTransactionsOneGlobals = {
14
+ /**
15
+ * ID of the consumer which you want to get or push data from
16
+ */
17
+ consumerId?: string | undefined;
18
+ /**
19
+ * The ID of your Unify application
20
+ */
21
+ appId?: string | undefined;
22
+ };
23
+
24
+ export type AccountingGeneralLedgerTransactionsOneRequest = {
25
+ /**
26
+ * ID of the record you are acting upon.
27
+ */
28
+ id: string;
29
+ /**
30
+ * ID of the consumer which you want to get or push data from
31
+ */
32
+ consumerId?: string | undefined;
33
+ /**
34
+ * The ID of your Unify application
35
+ */
36
+ appId?: string | undefined;
37
+ /**
38
+ * Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.
39
+ */
40
+ serviceId?: string | undefined;
41
+ /**
42
+ * The ID of the company to scope requests to. For connectors that support multi-company, this overrides the default company configured in connection settings.
43
+ */
44
+ companyId?: string | undefined;
45
+ /**
46
+ * Include raw response. Mostly used for debugging purposes
47
+ */
48
+ raw?: boolean | undefined;
49
+ /**
50
+ * The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields "name", "email" and "addresses.city". If any other fields are available, they will be excluded.
51
+ */
52
+ fields?: string | null | undefined;
53
+ };
54
+
55
+ export type AccountingGeneralLedgerTransactionsOneResponse = {
56
+ httpMeta: components.HTTPMetadata;
57
+ /**
58
+ * GeneralLedgerTransaction
59
+ */
60
+ getGeneralLedgerTransactionResponse?:
61
+ | components.GetGeneralLedgerTransactionResponse
62
+ | undefined;
63
+ /**
64
+ * Unexpected error
65
+ */
66
+ unexpectedErrorResponse?: components.UnexpectedErrorResponse | undefined;
67
+ };
68
+
69
+ /** @internal */
70
+ export type AccountingGeneralLedgerTransactionsOneRequest$Outbound = {
71
+ id: string;
72
+ consumerId?: string | undefined;
73
+ appId?: string | undefined;
74
+ serviceId?: string | undefined;
75
+ companyId?: string | undefined;
76
+ raw: boolean;
77
+ fields?: string | null | undefined;
78
+ };
79
+
80
+ /** @internal */
81
+ export const AccountingGeneralLedgerTransactionsOneRequest$outboundSchema:
82
+ z.ZodType<
83
+ AccountingGeneralLedgerTransactionsOneRequest$Outbound,
84
+ z.ZodTypeDef,
85
+ AccountingGeneralLedgerTransactionsOneRequest
86
+ > = z.object({
87
+ id: z.string(),
88
+ consumerId: z.string().optional(),
89
+ appId: z.string().optional(),
90
+ serviceId: z.string().optional(),
91
+ companyId: z.string().optional(),
92
+ raw: z.boolean().default(false),
93
+ fields: z.nullable(z.string()).optional(),
94
+ });
95
+
96
+ export function accountingGeneralLedgerTransactionsOneRequestToJSON(
97
+ accountingGeneralLedgerTransactionsOneRequest:
98
+ AccountingGeneralLedgerTransactionsOneRequest,
99
+ ): string {
100
+ return JSON.stringify(
101
+ AccountingGeneralLedgerTransactionsOneRequest$outboundSchema.parse(
102
+ accountingGeneralLedgerTransactionsOneRequest,
103
+ ),
104
+ );
105
+ }
106
+
107
+ /** @internal */
108
+ export const AccountingGeneralLedgerTransactionsOneResponse$inboundSchema:
109
+ z.ZodType<
110
+ AccountingGeneralLedgerTransactionsOneResponse,
111
+ z.ZodTypeDef,
112
+ unknown
113
+ > = z.object({
114
+ HttpMeta: components.HTTPMetadata$inboundSchema,
115
+ GetGeneralLedgerTransactionResponse: types.optional(
116
+ components.GetGeneralLedgerTransactionResponse$inboundSchema,
117
+ ),
118
+ UnexpectedErrorResponse: types.optional(
119
+ components.UnexpectedErrorResponse$inboundSchema,
120
+ ),
121
+ }).transform((v) => {
122
+ return remap$(v, {
123
+ "HttpMeta": "httpMeta",
124
+ "GetGeneralLedgerTransactionResponse":
125
+ "getGeneralLedgerTransactionResponse",
126
+ "UnexpectedErrorResponse": "unexpectedErrorResponse",
127
+ });
128
+ });
129
+
130
+ export function accountingGeneralLedgerTransactionsOneResponseFromJSON(
131
+ jsonString: string,
132
+ ): SafeParseResult<
133
+ AccountingGeneralLedgerTransactionsOneResponse,
134
+ SDKValidationError
135
+ > {
136
+ return safeParse(
137
+ jsonString,
138
+ (x) =>
139
+ AccountingGeneralLedgerTransactionsOneResponse$inboundSchema.parse(
140
+ JSON.parse(x),
141
+ ),
142
+ `Failed to parse 'AccountingGeneralLedgerTransactionsOneResponse' from JSON`,
143
+ );
144
+ }
@@ -50,6 +50,10 @@ export type AccountingQuotesAllRequest = {
50
50
  * Number of results to return. Minimum 1, Maximum 200, Default 20
51
51
  */
52
52
  limit?: number | undefined;
53
+ /**
54
+ * Apply filters
55
+ */
56
+ filter?: components.QuotesFilter | undefined;
53
57
  };
54
58
 
55
59
  export type AccountingQuotesAllResponse = {
@@ -73,6 +77,7 @@ export type AccountingQuotesAllRequest$Outbound = {
73
77
  companyId?: string | undefined;
74
78
  cursor?: string | null | undefined;
75
79
  limit: number;
80
+ filter?: components.QuotesFilter$Outbound | undefined;
76
81
  };
77
82
 
78
83
  /** @internal */
@@ -88,6 +93,7 @@ export const AccountingQuotesAllRequest$outboundSchema: z.ZodType<
88
93
  companyId: z.string().optional(),
89
94
  cursor: z.nullable(z.string()).optional(),
90
95
  limit: z.number().int().default(20),
96
+ filter: components.QuotesFilter$outboundSchema.optional(),
91
97
  });
92
98
 
93
99
  export function accountingQuotesAllRequestToJSON(
@@ -46,6 +46,10 @@ export type CrmNotesAllRequest = {
46
46
  * Number of results to return. Minimum 1, Maximum 200, Default 20
47
47
  */
48
48
  limit?: number | undefined;
49
+ /**
50
+ * Apply filters
51
+ */
52
+ filter?: components.NotesFilter | undefined;
49
53
  /**
50
54
  * Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads
51
55
  */
@@ -76,6 +80,7 @@ export type CrmNotesAllRequest$Outbound = {
76
80
  serviceId?: string | undefined;
77
81
  cursor?: string | null | undefined;
78
82
  limit: number;
83
+ filter?: components.NotesFilter$Outbound | undefined;
79
84
  pass_through?: { [k: string]: any } | undefined;
80
85
  fields?: string | null | undefined;
81
86
  };
@@ -92,6 +97,7 @@ export const CrmNotesAllRequest$outboundSchema: z.ZodType<
92
97
  serviceId: z.string().optional(),
93
98
  cursor: z.nullable(z.string()).optional(),
94
99
  limit: z.number().int().default(20),
100
+ filter: components.NotesFilter$outboundSchema.optional(),
95
101
  passThrough: z.record(z.any()).optional(),
96
102
  fields: z.nullable(z.string()).optional(),
97
103
  }).transform((v) => {
@@ -46,6 +46,10 @@ export type CrmUsersAllRequest = {
46
46
  * Number of results to return. Minimum 1, Maximum 200, Default 20
47
47
  */
48
48
  limit?: number | undefined;
49
+ /**
50
+ * Apply filters
51
+ */
52
+ filter?: components.UsersFilter | undefined;
49
53
  /**
50
54
  * Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads
51
55
  */
@@ -76,6 +80,7 @@ export type CrmUsersAllRequest$Outbound = {
76
80
  serviceId?: string | undefined;
77
81
  cursor?: string | null | undefined;
78
82
  limit: number;
83
+ filter?: components.UsersFilter$Outbound | undefined;
79
84
  pass_through?: { [k: string]: any } | undefined;
80
85
  fields?: string | null | undefined;
81
86
  };
@@ -92,6 +97,7 @@ export const CrmUsersAllRequest$outboundSchema: z.ZodType<
92
97
  serviceId: z.string().optional(),
93
98
  cursor: z.nullable(z.string()).optional(),
94
99
  limit: z.number().int().default(20),
100
+ filter: components.UsersFilter$outboundSchema.optional(),
95
101
  passThrough: z.record(z.any()).optional(),
96
102
  fields: z.nullable(z.string()).optional(),
97
103
  }).transform((v) => {
@@ -74,6 +74,8 @@ export * from "./accountingexpensesall.js";
74
74
  export * from "./accountingexpensesdelete.js";
75
75
  export * from "./accountingexpensesone.js";
76
76
  export * from "./accountingexpensesupdate.js";
77
+ export * from "./accountinggeneralledgertransactionsall.js";
78
+ export * from "./accountinggeneralledgertransactionsone.js";
77
79
  export * from "./accountinginvoiceitemsadd.js";
78
80
  export * from "./accountinginvoiceitemsall.js";
79
81
  export * from "./accountinginvoiceitemsdelete.js";
@@ -22,6 +22,7 @@ import { Employees } from "./employees.js";
22
22
  import { ExpenseCategories } from "./expensecategories.js";
23
23
  import { ExpenseReports } from "./expensereports.js";
24
24
  import { Expenses } from "./expenses.js";
25
+ import { GeneralLedgerTransactions } from "./generalledgertransactions.js";
25
26
  import { InvoiceItems } from "./invoiceitems.js";
26
27
  import { Invoices } from "./invoices.js";
27
28
  import { JournalEntries } from "./journalentries.js";
@@ -114,6 +115,13 @@ export class Accounting extends ClientSDK {
114
115
  return (this._journalEntries ??= new JournalEntries(this._options));
115
116
  }
116
117
 
118
+ private _generalLedgerTransactions?: GeneralLedgerTransactions;
119
+ get generalLedgerTransactions(): GeneralLedgerTransactions {
120
+ return (this._generalLedgerTransactions ??= new GeneralLedgerTransactions(
121
+ this._options,
122
+ ));
123
+ }
124
+
117
125
  private _purchaseOrders?: PurchaseOrders;
118
126
  get purchaseOrders(): PurchaseOrders {
119
127
  return (this._purchaseOrders ??= new PurchaseOrders(this._options));
@@ -0,0 +1,51 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import { accountingGeneralLedgerTransactionsGet } from "../funcs/accountingGeneralLedgerTransactionsGet.js";
6
+ import { accountingGeneralLedgerTransactionsList } from "../funcs/accountingGeneralLedgerTransactionsList.js";
7
+ import { ClientSDK, RequestOptions } from "../lib/sdks.js";
8
+ import * as operations from "../models/operations/index.js";
9
+ import { unwrapAsync } from "../types/fp.js";
10
+ import { PageIterator, unwrapResultIterator } from "../types/operations.js";
11
+
12
+ export class GeneralLedgerTransactions extends ClientSDK {
13
+ /**
14
+ * List General Ledger Transactions
15
+ *
16
+ * @remarks
17
+ * List General Ledger Transactions
18
+ */
19
+ async list(
20
+ request: operations.AccountingGeneralLedgerTransactionsAllRequest,
21
+ options?: RequestOptions,
22
+ ): Promise<
23
+ PageIterator<
24
+ operations.AccountingGeneralLedgerTransactionsAllResponse,
25
+ { cursor: string }
26
+ >
27
+ > {
28
+ return unwrapResultIterator(accountingGeneralLedgerTransactionsList(
29
+ this,
30
+ request,
31
+ options,
32
+ ));
33
+ }
34
+
35
+ /**
36
+ * Get General Ledger Transaction
37
+ *
38
+ * @remarks
39
+ * Get General Ledger Transaction
40
+ */
41
+ async get(
42
+ request: operations.AccountingGeneralLedgerTransactionsOneRequest,
43
+ options?: RequestOptions,
44
+ ): Promise<operations.AccountingGeneralLedgerTransactionsOneResponse> {
45
+ return unwrapAsync(accountingGeneralLedgerTransactionsGet(
46
+ this,
47
+ request,
48
+ options,
49
+ ));
50
+ }
51
+ }
package/lib/dlv.d.ts DELETED
@@ -1,14 +0,0 @@
1
- /**
2
- * @param obj The object to walk
3
- * @param key The key path to walk the object with
4
- * @param def A default value to return if the result is undefined
5
- *
6
- * @example
7
- * dlv(obj, "a.b.c.d")
8
- * @example
9
- * dlv(object, ["a", "b", "c", "d"])
10
- * @example
11
- * dlv(object, "foo.bar.baz", "Hello, default value!")
12
- */
13
- export declare function dlv<T = any>(obj: any, key: string | string[], def?: T, p?: number, undef?: never): T | undefined;
14
- //# sourceMappingURL=dlv.d.ts.map
package/lib/dlv.d.ts.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"dlv.d.ts","sourceRoot":"","sources":["../src/lib/dlv.ts"],"names":[],"mappings":"AA2BA;;;;;;;;;;;GAWG;AACH,wBAAgB,GAAG,CAAC,CAAC,GAAG,GAAG,EACzB,GAAG,EAAE,GAAG,EACR,GAAG,EAAE,MAAM,GAAG,MAAM,EAAE,EACtB,GAAG,CAAC,EAAE,CAAC,EACP,CAAC,CAAC,EAAE,MAAM,EACV,KAAK,CAAC,EAAE,KAAK,GACZ,CAAC,GAAG,SAAS,CAOf"}
package/lib/dlv.js DELETED
@@ -1,49 +0,0 @@
1
- "use strict";
2
- /*
3
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.dlv = dlv;
7
- /*
8
- MIT License
9
-
10
- Copyright (c) 2024 Jason Miller <jason@developit.ca> (http://jasonformat.com)
11
-
12
- Permission is hereby granted, free of charge, to any person obtaining a copy of
13
- this software and associated documentation files (the "Software"), to deal in
14
- the Software without restriction, including without limitation the rights to
15
- use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
16
- the Software, and to permit persons to whom the Software is furnished to do so,
17
- subject to the following conditions:
18
-
19
- The above copyright notice and this permission notice shall be included in all
20
- copies or substantial portions of the Software.
21
-
22
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
23
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
24
- FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
25
- COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
26
- IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
27
- CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
28
- */
29
- /**
30
- * @param obj The object to walk
31
- * @param key The key path to walk the object with
32
- * @param def A default value to return if the result is undefined
33
- *
34
- * @example
35
- * dlv(obj, "a.b.c.d")
36
- * @example
37
- * dlv(object, ["a", "b", "c", "d"])
38
- * @example
39
- * dlv(object, "foo.bar.baz", "Hello, default value!")
40
- */
41
- function dlv(obj, key, def, p, undef) {
42
- key = Array.isArray(key) ? key : key.split(".");
43
- for (p = 0; p < key.length; p++) {
44
- const k = key[p];
45
- obj = k != null && obj ? obj[k] : undef;
46
- }
47
- return obj === undef ? def : obj;
48
- }
49
- //# sourceMappingURL=dlv.js.map
package/lib/dlv.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"dlv.js","sourceRoot":"","sources":["../src/lib/dlv.ts"],"names":[],"mappings":";AAAA;;GAEG;;AAqCH,kBAaC;AAhDD;;;;;;;;;;;;;;;;;;;;;EAqBE;AAEF;;;;;;;;;;;GAWG;AACH,SAAgB,GAAG,CACjB,GAAQ,EACR,GAAsB,EACtB,GAAO,EACP,CAAU,EACV,KAAa;IAEb,GAAG,GAAG,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;IAChD,KAAK,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,GAAG,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC;QAChC,MAAM,CAAC,GAAG,GAAG,CAAC,CAAC,CAAC,CAAC;QACjB,GAAG,GAAG,CAAC,IAAI,IAAI,IAAI,GAAG,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC;IAC1C,CAAC;IACD,OAAO,GAAG,KAAK,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,GAAG,CAAC;AACnC,CAAC"}
@@ -1,2 +0,0 @@
1
- export declare function isPlainObject(value: unknown): value is object;
2
- //# sourceMappingURL=is-plain-object.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"is-plain-object.d.ts","sourceRoot":"","sources":["../src/lib/is-plain-object.ts"],"names":[],"mappings":"AA6BA,wBAAgB,aAAa,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,MAAM,CAa7D"}
@@ -1,41 +0,0 @@
1
- "use strict";
2
- /*
3
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.isPlainObject = isPlainObject;
7
- /*
8
- MIT License
9
-
10
- Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
11
-
12
- Permission is hereby granted, free of charge, to any person obtaining a copy of
13
- this software and associated documentation files (the "Software"), to deal in
14
- the Software without restriction, including without limitation the rights to
15
- use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
16
- the Software, and to permit persons to whom the Software is furnished to do so,
17
- subject to the following conditions:
18
-
19
- The above copyright notice and this permission notice shall be included in all
20
- copies or substantial portions of the Software.
21
-
22
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
23
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
24
- FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
25
- COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
26
- IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
27
- CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
28
- */
29
- // Taken from https://github.com/sindresorhus/is-plain-obj/blob/97f38e8836f86a642cce98fc6ab3058bc36df181/index.js
30
- function isPlainObject(value) {
31
- if (typeof value !== "object" || value === null) {
32
- return false;
33
- }
34
- const prototype = Object.getPrototypeOf(value);
35
- return ((prototype === null ||
36
- prototype === Object.prototype ||
37
- Object.getPrototypeOf(prototype) === null) &&
38
- !(Symbol.toStringTag in value) &&
39
- !(Symbol.iterator in value));
40
- }
41
- //# sourceMappingURL=is-plain-object.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"is-plain-object.js","sourceRoot":"","sources":["../src/lib/is-plain-object.ts"],"names":[],"mappings":";AAAA;;GAEG;;AA2BH,sCAaC;AAtCD;;;;;;;;;;;;;;;;;;;;;EAqBE;AAEF,iHAAiH;AAEjH,SAAgB,aAAa,CAAC,KAAc;IAC1C,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,KAAK,IAAI,EAAE,CAAC;QAChD,OAAO,KAAK,CAAC;IACf,CAAC;IAED,MAAM,SAAS,GAAG,MAAM,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC;IAC/C,OAAO,CACL,CAAC,SAAS,KAAK,IAAI;QACjB,SAAS,KAAK,MAAM,CAAC,SAAS;QAC9B,MAAM,CAAC,cAAc,CAAC,SAAS,CAAC,KAAK,IAAI,CAAC;QAC5C,CAAC,CAAC,MAAM,CAAC,WAAW,IAAI,KAAK,CAAC;QAC9B,CAAC,CAAC,MAAM,CAAC,QAAQ,IAAI,KAAK,CAAC,CAC5B,CAAC;AACJ,CAAC"}
package/src/lib/dlv.ts DELETED
@@ -1,53 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- */
4
-
5
- /*
6
- MIT License
7
-
8
- Copyright (c) 2024 Jason Miller <jason@developit.ca> (http://jasonformat.com)
9
-
10
- Permission is hereby granted, free of charge, to any person obtaining a copy of
11
- this software and associated documentation files (the "Software"), to deal in
12
- the Software without restriction, including without limitation the rights to
13
- use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
14
- the Software, and to permit persons to whom the Software is furnished to do so,
15
- subject to the following conditions:
16
-
17
- The above copyright notice and this permission notice shall be included in all
18
- copies or substantial portions of the Software.
19
-
20
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
21
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
22
- FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
23
- COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
24
- IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
25
- CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
26
- */
27
-
28
- /**
29
- * @param obj The object to walk
30
- * @param key The key path to walk the object with
31
- * @param def A default value to return if the result is undefined
32
- *
33
- * @example
34
- * dlv(obj, "a.b.c.d")
35
- * @example
36
- * dlv(object, ["a", "b", "c", "d"])
37
- * @example
38
- * dlv(object, "foo.bar.baz", "Hello, default value!")
39
- */
40
- export function dlv<T = any>(
41
- obj: any,
42
- key: string | string[],
43
- def?: T,
44
- p?: number,
45
- undef?: never,
46
- ): T | undefined {
47
- key = Array.isArray(key) ? key : key.split(".");
48
- for (p = 0; p < key.length; p++) {
49
- const k = key[p];
50
- obj = k != null && obj ? obj[k] : undef;
51
- }
52
- return obj === undef ? def : obj;
53
- }