@apideck/unify 0.42.1 → 0.43.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (488) 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/billsfilter.d.ts +5 -0
  228. package/models/components/billsfilter.d.ts.map +1 -1
  229. package/models/components/billsfilter.js +2 -0
  230. package/models/components/billsfilter.js.map +1 -1
  231. package/models/components/connection.d.ts +5 -0
  232. package/models/components/connection.d.ts.map +1 -1
  233. package/models/components/connection.js +3 -0
  234. package/models/components/connection.js.map +1 -1
  235. package/models/components/connectionhealth.d.ts +1 -0
  236. package/models/components/connectionhealth.d.ts.map +1 -1
  237. package/models/components/connectionhealth.js +1 -0
  238. package/models/components/connectionhealth.js.map +1 -1
  239. package/models/components/creditnotesfilter.d.ts +5 -0
  240. package/models/components/creditnotesfilter.d.ts.map +1 -1
  241. package/models/components/creditnotesfilter.js +2 -0
  242. package/models/components/creditnotesfilter.js.map +1 -1
  243. package/models/components/customersfilter.d.ts +5 -0
  244. package/models/components/customersfilter.d.ts.map +1 -1
  245. package/models/components/customersfilter.js +2 -0
  246. package/models/components/customersfilter.js.map +1 -1
  247. package/models/components/expensereportsfilter.d.ts +5 -0
  248. package/models/components/expensereportsfilter.d.ts.map +1 -1
  249. package/models/components/expensereportsfilter.js +2 -0
  250. package/models/components/expensereportsfilter.js.map +1 -1
  251. package/models/components/generalledgertransaction.d.ts +101 -0
  252. package/models/components/generalledgertransaction.d.ts.map +1 -0
  253. package/models/components/generalledgertransaction.js +104 -0
  254. package/models/components/generalledgertransaction.js.map +1 -0
  255. package/models/components/generalledgertransactionlineitem.d.ts +56 -0
  256. package/models/components/generalledgertransactionlineitem.d.ts.map +1 -0
  257. package/models/components/generalledgertransactionlineitem.js +82 -0
  258. package/models/components/generalledgertransactionlineitem.js.map +1 -0
  259. package/models/components/generalledgertransactionsfilter.d.ts +46 -0
  260. package/models/components/generalledgertransactionsfilter.d.ts.map +1 -0
  261. package/models/components/generalledgertransactionsfilter.js +75 -0
  262. package/models/components/generalledgertransactionsfilter.js.map +1 -0
  263. package/models/components/generalledgertransactionssort.d.ts +36 -0
  264. package/models/components/generalledgertransactionssort.d.ts.map +1 -0
  265. package/models/components/generalledgertransactionssort.js +62 -0
  266. package/models/components/generalledgertransactionssort.js.map +1 -0
  267. package/models/components/getgeneralledgertransactionresponse.d.ts +40 -0
  268. package/models/components/getgeneralledgertransactionresponse.d.ts.map +1 -0
  269. package/models/components/getgeneralledgertransactionresponse.js +64 -0
  270. package/models/components/getgeneralledgertransactionresponse.js.map +1 -0
  271. package/models/components/getgeneralledgertransactionsresponse.d.ts +50 -0
  272. package/models/components/getgeneralledgertransactionsresponse.d.ts.map +1 -0
  273. package/models/components/getgeneralledgertransactionsresponse.js +68 -0
  274. package/models/components/getgeneralledgertransactionsresponse.js.map +1 -0
  275. package/models/components/index.d.ts +9 -0
  276. package/models/components/index.d.ts.map +1 -1
  277. package/models/components/index.js +9 -0
  278. package/models/components/index.js.map +1 -1
  279. package/models/components/invoiceitemsfilter.d.ts +5 -0
  280. package/models/components/invoiceitemsfilter.d.ts.map +1 -1
  281. package/models/components/invoiceitemsfilter.js +2 -0
  282. package/models/components/invoiceitemsfilter.js.map +1 -1
  283. package/models/components/invoicesfilter.d.ts +5 -0
  284. package/models/components/invoicesfilter.d.ts.map +1 -1
  285. package/models/components/invoicesfilter.js +2 -0
  286. package/models/components/invoicesfilter.js.map +1 -1
  287. package/models/components/journalentriesfilter.d.ts +23 -0
  288. package/models/components/journalentriesfilter.d.ts.map +1 -1
  289. package/models/components/journalentriesfilter.js +13 -1
  290. package/models/components/journalentriesfilter.js.map +1 -1
  291. package/models/components/ledgeraccountsfilter.d.ts +5 -0
  292. package/models/components/ledgeraccountsfilter.d.ts.map +1 -1
  293. package/models/components/ledgeraccountsfilter.js +2 -0
  294. package/models/components/ledgeraccountsfilter.js.map +1 -1
  295. package/models/components/notesfilter.d.ts +24 -0
  296. package/models/components/notesfilter.d.ts.map +1 -0
  297. package/models/components/notesfilter.js +59 -0
  298. package/models/components/notesfilter.js.map +1 -0
  299. package/models/components/paymentsfilter.d.ts +5 -0
  300. package/models/components/paymentsfilter.d.ts.map +1 -1
  301. package/models/components/paymentsfilter.js +2 -0
  302. package/models/components/paymentsfilter.js.map +1 -1
  303. package/models/components/projectsfilter.d.ts +5 -0
  304. package/models/components/projectsfilter.d.ts.map +1 -1
  305. package/models/components/projectsfilter.js +2 -0
  306. package/models/components/projectsfilter.js.map +1 -1
  307. package/models/components/purchaseordersfilter.d.ts +5 -0
  308. package/models/components/purchaseordersfilter.d.ts.map +1 -1
  309. package/models/components/purchaseordersfilter.js +2 -0
  310. package/models/components/purchaseordersfilter.js.map +1 -1
  311. package/models/components/quotesfilter.d.ts +19 -0
  312. package/models/components/quotesfilter.d.ts.map +1 -0
  313. package/models/components/quotesfilter.js +57 -0
  314. package/models/components/quotesfilter.js.map +1 -0
  315. package/models/components/suppliersfilter.d.ts +5 -0
  316. package/models/components/suppliersfilter.d.ts.map +1 -1
  317. package/models/components/suppliersfilter.js +2 -0
  318. package/models/components/suppliersfilter.js.map +1 -1
  319. package/models/components/user.d.ts +4 -0
  320. package/models/components/user.d.ts.map +1 -1
  321. package/models/components/user.js +1 -0
  322. package/models/components/user.js.map +1 -1
  323. package/models/components/userinput.d.ts +5 -0
  324. package/models/components/userinput.d.ts.map +1 -1
  325. package/models/components/userinput.js +1 -0
  326. package/models/components/userinput.js.map +1 -1
  327. package/models/components/usersfilter.d.ts +20 -0
  328. package/models/components/usersfilter.d.ts.map +1 -0
  329. package/models/components/usersfilter.js +50 -0
  330. package/models/components/usersfilter.js.map +1 -0
  331. package/models/components/webhookeventtype.d.ts +2 -0
  332. package/models/components/webhookeventtype.d.ts.map +1 -1
  333. package/models/components/webhookeventtype.js +2 -0
  334. package/models/components/webhookeventtype.js.map +1 -1
  335. package/models/operations/accountinggeneralledgertransactionsall.d.ts +96 -0
  336. package/models/operations/accountinggeneralledgertransactionsall.d.ts.map +1 -0
  337. package/models/operations/accountinggeneralledgertransactionsall.js +84 -0
  338. package/models/operations/accountinggeneralledgertransactionsall.js.map +1 -0
  339. package/models/operations/accountinggeneralledgertransactionsone.d.ts +72 -0
  340. package/models/operations/accountinggeneralledgertransactionsone.d.ts.map +1 -0
  341. package/models/operations/accountinggeneralledgertransactionsone.js +75 -0
  342. package/models/operations/accountinggeneralledgertransactionsone.js.map +1 -0
  343. package/models/operations/accountingquotesall.d.ts +5 -0
  344. package/models/operations/accountingquotesall.d.ts.map +1 -1
  345. package/models/operations/accountingquotesall.js +1 -0
  346. package/models/operations/accountingquotesall.js.map +1 -1
  347. package/models/operations/crmnotesall.d.ts +5 -0
  348. package/models/operations/crmnotesall.d.ts.map +1 -1
  349. package/models/operations/crmnotesall.js +1 -0
  350. package/models/operations/crmnotesall.js.map +1 -1
  351. package/models/operations/crmusersall.d.ts +5 -0
  352. package/models/operations/crmusersall.d.ts.map +1 -1
  353. package/models/operations/crmusersall.js +1 -0
  354. package/models/operations/crmusersall.js.map +1 -1
  355. package/models/operations/index.d.ts +2 -0
  356. package/models/operations/index.d.ts.map +1 -1
  357. package/models/operations/index.js +2 -0
  358. package/models/operations/index.js.map +1 -1
  359. package/package.json +1 -1
  360. package/sdk/accounting.d.ts +3 -0
  361. package/sdk/accounting.d.ts.map +1 -1
  362. package/sdk/accounting.js +4 -0
  363. package/sdk/accounting.js.map +1 -1
  364. package/sdk/generalledgertransactions.d.ts +22 -0
  365. package/sdk/generalledgertransactions.d.ts.map +1 -0
  366. package/sdk/generalledgertransactions.js +33 -0
  367. package/sdk/generalledgertransactions.js.map +1 -0
  368. package/src/__tests__/quotes.test.ts +5 -0
  369. package/src/funcs/accountingAttachmentsList.ts +5 -2
  370. package/src/funcs/accountingBankAccountsList.ts +5 -2
  371. package/src/funcs/accountingBankFeedAccountsList.ts +5 -2
  372. package/src/funcs/accountingBankFeedStatementsList.ts +5 -2
  373. package/src/funcs/accountingBillPaymentsList.ts +5 -2
  374. package/src/funcs/accountingBillsList.ts +5 -2
  375. package/src/funcs/accountingCategoriesList.ts +5 -2
  376. package/src/funcs/accountingCompaniesList.ts +5 -2
  377. package/src/funcs/accountingCreditNotesList.ts +5 -2
  378. package/src/funcs/accountingCustomersList.ts +5 -2
  379. package/src/funcs/accountingDepartmentsList.ts +5 -2
  380. package/src/funcs/accountingEmployeesList.ts +5 -2
  381. package/src/funcs/accountingExpenseCategoriesList.ts +5 -2
  382. package/src/funcs/accountingExpenseReportsList.ts +5 -2
  383. package/src/funcs/accountingExpensesList.ts +5 -2
  384. package/src/funcs/accountingGeneralLedgerTransactionsGet.ts +241 -0
  385. package/src/funcs/accountingGeneralLedgerTransactionsList.ts +316 -0
  386. package/src/funcs/accountingInvoiceItemsList.ts +5 -2
  387. package/src/funcs/accountingInvoicesList.ts +5 -2
  388. package/src/funcs/accountingJournalEntriesList.ts +5 -2
  389. package/src/funcs/accountingLedgerAccountsList.ts +5 -2
  390. package/src/funcs/accountingLocationsList.ts +5 -2
  391. package/src/funcs/accountingPaymentsList.ts +5 -2
  392. package/src/funcs/accountingProjectsList.ts +5 -2
  393. package/src/funcs/accountingPurchaseOrdersList.ts +5 -2
  394. package/src/funcs/accountingQuotesList.ts +21 -8
  395. package/src/funcs/accountingRefundsList.ts +5 -2
  396. package/src/funcs/accountingSubsidiariesList.ts +5 -2
  397. package/src/funcs/accountingSuppliersList.ts +5 -2
  398. package/src/funcs/accountingTaxRatesList.ts +5 -2
  399. package/src/funcs/accountingTrackingCategoriesList.ts +5 -2
  400. package/src/funcs/atsApplicantsList.ts +5 -2
  401. package/src/funcs/atsApplicationsList.ts +5 -2
  402. package/src/funcs/atsJobsList.ts +5 -2
  403. package/src/funcs/connectorApisList.ts +5 -2
  404. package/src/funcs/connectorConnectorsList.ts +5 -2
  405. package/src/funcs/crmActivitiesList.ts +5 -2
  406. package/src/funcs/crmCompaniesList.ts +5 -2
  407. package/src/funcs/crmContactsList.ts +5 -2
  408. package/src/funcs/crmCustomObjectSchemasList.ts +5 -2
  409. package/src/funcs/crmCustomObjectsList.ts +5 -2
  410. package/src/funcs/crmLeadsList.ts +5 -2
  411. package/src/funcs/crmNotesList.ts +6 -2
  412. package/src/funcs/crmOpportunitiesList.ts +5 -2
  413. package/src/funcs/crmPipelinesList.ts +5 -2
  414. package/src/funcs/crmUsersList.ts +6 -2
  415. package/src/funcs/ecommerceCustomersList.ts +5 -2
  416. package/src/funcs/ecommerceOrdersList.ts +5 -2
  417. package/src/funcs/ecommerceProductsList.ts +5 -2
  418. package/src/funcs/fileStorageDriveGroupsList.ts +5 -2
  419. package/src/funcs/fileStorageDrivesList.ts +5 -2
  420. package/src/funcs/fileStorageFilesList.ts +5 -2
  421. package/src/funcs/fileStorageSharedLinksList.ts +5 -2
  422. package/src/funcs/hrisCompaniesList.ts +5 -2
  423. package/src/funcs/hrisDepartmentsList.ts +5 -2
  424. package/src/funcs/hrisEmployeesList.ts +5 -2
  425. package/src/funcs/hrisTimeOffRequestsList.ts +5 -2
  426. package/src/funcs/issueTrackingCollectionTagsList.ts +5 -2
  427. package/src/funcs/issueTrackingCollectionTicketCommentsGet.ts +5 -2
  428. package/src/funcs/issueTrackingCollectionTicketCommentsList.ts +5 -2
  429. package/src/funcs/issueTrackingCollectionTicketsList.ts +5 -2
  430. package/src/funcs/issueTrackingCollectionUsersList.ts +5 -2
  431. package/src/funcs/issueTrackingCollectionsList.ts +5 -2
  432. package/src/funcs/smsMessagesList.ts +5 -2
  433. package/src/funcs/vaultConsumersList.ts +5 -2
  434. package/src/funcs/vaultLogsList.ts +5 -2
  435. package/src/funcs/webhookEventLogsList.ts +5 -2
  436. package/src/funcs/webhookWebhooksList.ts +5 -2
  437. package/src/hooks/types.ts +1 -0
  438. package/src/lib/config.ts +4 -4
  439. package/src/lib/encodings.ts +1 -1
  440. package/src/lib/env.ts +7 -3
  441. package/src/lib/matchers.ts +1 -1
  442. package/src/lib/primitives.ts +16 -0
  443. package/src/lib/sdks.ts +54 -17
  444. package/src/models/components/billsfilter.ts +7 -0
  445. package/src/models/components/connection.ts +7 -0
  446. package/src/models/components/connectionhealth.ts +1 -0
  447. package/src/models/components/creditnotesfilter.ts +7 -0
  448. package/src/models/components/customersfilter.ts +7 -0
  449. package/src/models/components/expensereportsfilter.ts +7 -0
  450. package/src/models/components/generalledgertransaction.ts +168 -0
  451. package/src/models/components/generalledgertransactionlineitem.ts +113 -0
  452. package/src/models/components/generalledgertransactionsfilter.ts +83 -0
  453. package/src/models/components/generalledgertransactionssort.ts +70 -0
  454. package/src/models/components/getgeneralledgertransactionresponse.ts +76 -0
  455. package/src/models/components/getgeneralledgertransactionsresponse.ts +88 -0
  456. package/src/models/components/index.ts +9 -0
  457. package/src/models/components/invoiceitemsfilter.ts +7 -0
  458. package/src/models/components/invoicesfilter.ts +7 -0
  459. package/src/models/components/journalentriesfilter.ts +34 -0
  460. package/src/models/components/ledgeraccountsfilter.ts +7 -0
  461. package/src/models/components/notesfilter.ts +49 -0
  462. package/src/models/components/paymentsfilter.ts +7 -0
  463. package/src/models/components/projectsfilter.ts +7 -0
  464. package/src/models/components/purchaseordersfilter.ts +7 -0
  465. package/src/models/components/quotesfilter.ts +42 -0
  466. package/src/models/components/suppliersfilter.ts +7 -0
  467. package/src/models/components/user.ts +5 -0
  468. package/src/models/components/userinput.ts +6 -0
  469. package/src/models/components/usersfilter.ts +36 -0
  470. package/src/models/components/webhookeventtype.ts +2 -0
  471. package/src/models/operations/accountinggeneralledgertransactionsall.ts +173 -0
  472. package/src/models/operations/accountinggeneralledgertransactionsone.ts +144 -0
  473. package/src/models/operations/accountingquotesall.ts +6 -0
  474. package/src/models/operations/crmnotesall.ts +6 -0
  475. package/src/models/operations/crmusersall.ts +6 -0
  476. package/src/models/operations/index.ts +2 -0
  477. package/src/sdk/accounting.ts +8 -0
  478. package/src/sdk/generalledgertransactions.ts +51 -0
  479. package/lib/dlv.d.ts +0 -14
  480. package/lib/dlv.d.ts.map +0 -1
  481. package/lib/dlv.js +0 -49
  482. package/lib/dlv.js.map +0 -1
  483. package/lib/is-plain-object.d.ts +0 -2
  484. package/lib/is-plain-object.d.ts.map +0 -1
  485. package/lib/is-plain-object.js +0 -41
  486. package/lib/is-plain-object.js.map +0 -1
  487. package/src/lib/dlv.ts +0 -53
  488. package/src/lib/is-plain-object.ts +0 -43
@@ -50,6 +50,10 @@ export type InvoiceItemsFilter = {
50
50
  * The kind of transaction, indicating whether it is a sales transaction or a purchase transaction.
51
51
  */
52
52
  transactionType?: TransactionType | null | undefined;
53
+ /**
54
+ * Filter by the subsidiary (legal entity) the record belongs to. Only honored on connectors that support multi-entity scoping (e.g. NetSuite OneWorld); ignored elsewhere.
55
+ */
56
+ subsidiaryId?: string | undefined;
53
57
  };
54
58
 
55
59
  /** @internal */
@@ -73,6 +77,7 @@ export type InvoiceItemsFilter$Outbound = {
73
77
  name?: string | undefined;
74
78
  type?: string | null | undefined;
75
79
  transaction_type?: string | null | undefined;
80
+ subsidiary_id?: string | undefined;
76
81
  };
77
82
 
78
83
  /** @internal */
@@ -86,10 +91,12 @@ export const InvoiceItemsFilter$outboundSchema: z.ZodType<
86
91
  name: z.string().optional(),
87
92
  type: z.nullable(InvoiceItemType$outboundSchema).optional(),
88
93
  transactionType: z.nullable(TransactionType$outboundSchema).optional(),
94
+ subsidiaryId: z.string().optional(),
89
95
  }).transform((v) => {
90
96
  return remap$(v, {
91
97
  updatedSince: "updated_since",
92
98
  transactionType: "transaction_type",
99
+ subsidiaryId: "subsidiary_id",
93
100
  });
94
101
  });
95
102
 
@@ -20,6 +20,10 @@ export type InvoicesFilter = {
20
20
  * Supplier ID to filter invoices by
21
21
  */
22
22
  supplierId?: string | undefined;
23
+ /**
24
+ * Filter by the subsidiary (legal entity) the record belongs to. Only honored on connectors that support multi-entity scoping (e.g. NetSuite OneWorld); ignored elsewhere.
25
+ */
26
+ subsidiaryId?: string | undefined;
23
27
  };
24
28
 
25
29
  /** @internal */
@@ -29,6 +33,7 @@ export type InvoicesFilter$Outbound = {
29
33
  created_since?: string | undefined;
30
34
  number?: string | undefined;
31
35
  supplier_id?: string | undefined;
36
+ subsidiary_id?: string | undefined;
32
37
  };
33
38
 
34
39
  /** @internal */
@@ -42,12 +47,14 @@ export const InvoicesFilter$outboundSchema: z.ZodType<
42
47
  createdSince: z.date().transform(v => v.toISOString()).optional(),
43
48
  number: z.string().optional(),
44
49
  supplierId: z.string().optional(),
50
+ subsidiaryId: z.string().optional(),
45
51
  }).transform((v) => {
46
52
  return remap$(v, {
47
53
  idSince: "id_since",
48
54
  updatedSince: "updated_since",
49
55
  createdSince: "created_since",
50
56
  supplierId: "supplier_id",
57
+ subsidiaryId: "subsidiary_id",
51
58
  });
52
59
  });
53
60
 
@@ -21,9 +21,31 @@ export type JournalEntriesFilterStatus = OpenEnum<
21
21
  typeof JournalEntriesFilterStatus
22
22
  >;
23
23
 
24
+ /**
25
+ * Connector-specific scope hint that controls which downstream source backs the read. On Xero, `manual` reads from `ManualJournals` (free in every tier), while `system` reads from `Journals` (the full general ledger view including manual journal postings, paid post 2026-03-02). Omitting the filter is equivalent to `system` and preserves the legacy default. Only honored on connectors where the distinction is exposed; ignored elsewhere.
26
+ */
27
+ export const JournalEntriesFilterScope = {
28
+ Manual: "manual",
29
+ System: "system",
30
+ } as const;
31
+ /**
32
+ * Connector-specific scope hint that controls which downstream source backs the read. On Xero, `manual` reads from `ManualJournals` (free in every tier), while `system` reads from `Journals` (the full general ledger view including manual journal postings, paid post 2026-03-02). Omitting the filter is equivalent to `system` and preserves the legacy default. Only honored on connectors where the distinction is exposed; ignored elsewhere.
33
+ */
34
+ export type JournalEntriesFilterScope = OpenEnum<
35
+ typeof JournalEntriesFilterScope
36
+ >;
37
+
24
38
  export type JournalEntriesFilter = {
25
39
  updatedSince?: Date | undefined;
26
40
  status?: JournalEntriesFilterStatus | undefined;
41
+ /**
42
+ * Connector-specific scope hint that controls which downstream source backs the read. On Xero, `manual` reads from `ManualJournals` (free in every tier), while `system` reads from `Journals` (the full general ledger view including manual journal postings, paid post 2026-03-02). Omitting the filter is equivalent to `system` and preserves the legacy default. Only honored on connectors where the distinction is exposed; ignored elsewhere.
43
+ */
44
+ scope?: JournalEntriesFilterScope | undefined;
45
+ /**
46
+ * Filter by the subsidiary (legal entity) the record belongs to. Only honored on connectors that support multi-entity scoping (e.g. NetSuite OneWorld); ignored elsewhere.
47
+ */
48
+ subsidiaryId?: string | undefined;
27
49
  };
28
50
 
29
51
  /** @internal */
@@ -33,10 +55,19 @@ export const JournalEntriesFilterStatus$outboundSchema: z.ZodType<
33
55
  JournalEntriesFilterStatus
34
56
  > = openEnums.outboundSchema(JournalEntriesFilterStatus);
35
57
 
58
+ /** @internal */
59
+ export const JournalEntriesFilterScope$outboundSchema: z.ZodType<
60
+ string,
61
+ z.ZodTypeDef,
62
+ JournalEntriesFilterScope
63
+ > = openEnums.outboundSchema(JournalEntriesFilterScope);
64
+
36
65
  /** @internal */
37
66
  export type JournalEntriesFilter$Outbound = {
38
67
  updated_since?: string | undefined;
39
68
  status?: string | undefined;
69
+ scope?: string | undefined;
70
+ subsidiary_id?: string | undefined;
40
71
  };
41
72
 
42
73
  /** @internal */
@@ -47,9 +78,12 @@ export const JournalEntriesFilter$outboundSchema: z.ZodType<
47
78
  > = z.object({
48
79
  updatedSince: z.date().transform(v => v.toISOString()).optional(),
49
80
  status: JournalEntriesFilterStatus$outboundSchema.optional(),
81
+ scope: JournalEntriesFilterScope$outboundSchema.optional(),
82
+ subsidiaryId: z.string().optional(),
50
83
  }).transform((v) => {
51
84
  return remap$(v, {
52
85
  updatedSince: "updated_since",
86
+ subsidiaryId: "subsidiary_id",
53
87
  });
54
88
  });
55
89
 
@@ -55,6 +55,10 @@ export type LedgerAccountsFilter = {
55
55
  * Filter by account status.
56
56
  */
57
57
  status?: LedgerAccountsFilterStatus | undefined;
58
+ /**
59
+ * Filter by the subsidiary (legal entity) the record belongs to. Only honored on connectors that support multi-entity scoping (e.g. NetSuite OneWorld); ignored elsewhere.
60
+ */
61
+ subsidiaryId?: string | undefined;
58
62
  };
59
63
 
60
64
  /** @internal */
@@ -77,6 +81,7 @@ export type LedgerAccountsFilter$Outbound = {
77
81
  updated_since?: string | undefined;
78
82
  classification?: string | undefined;
79
83
  status?: string | undefined;
84
+ subsidiary_id?: string | undefined;
80
85
  };
81
86
 
82
87
  /** @internal */
@@ -89,9 +94,11 @@ export const LedgerAccountsFilter$outboundSchema: z.ZodType<
89
94
  updatedSince: z.date().transform(v => v.toISOString()).optional(),
90
95
  classification: Classification$outboundSchema.optional(),
91
96
  status: LedgerAccountsFilterStatus$outboundSchema.optional(),
97
+ subsidiaryId: z.string().optional(),
92
98
  }).transform((v) => {
93
99
  return remap$(v, {
94
100
  updatedSince: "updated_since",
101
+ subsidiaryId: "subsidiary_id",
95
102
  });
96
103
  });
97
104
 
@@ -0,0 +1,49 @@
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
+
8
+ export type NotesFilter = {
9
+ /**
10
+ * Title of the note to filter on
11
+ */
12
+ title?: string | undefined;
13
+ /**
14
+ * Owner ID to filter on
15
+ */
16
+ ownerId?: string | undefined;
17
+ updatedSince?: Date | undefined;
18
+ createdSince?: Date | undefined;
19
+ };
20
+
21
+ /** @internal */
22
+ export type NotesFilter$Outbound = {
23
+ title?: string | undefined;
24
+ owner_id?: string | undefined;
25
+ updated_since?: string | undefined;
26
+ created_since?: string | undefined;
27
+ };
28
+
29
+ /** @internal */
30
+ export const NotesFilter$outboundSchema: z.ZodType<
31
+ NotesFilter$Outbound,
32
+ z.ZodTypeDef,
33
+ NotesFilter
34
+ > = z.object({
35
+ title: z.string().optional(),
36
+ ownerId: z.string().optional(),
37
+ updatedSince: z.date().transform(v => v.toISOString()).optional(),
38
+ createdSince: z.date().transform(v => v.toISOString()).optional(),
39
+ }).transform((v) => {
40
+ return remap$(v, {
41
+ ownerId: "owner_id",
42
+ updatedSince: "updated_since",
43
+ createdSince: "created_since",
44
+ });
45
+ });
46
+
47
+ export function notesFilterToJSON(notesFilter: NotesFilter): string {
48
+ return JSON.stringify(NotesFilter$outboundSchema.parse(notesFilter));
49
+ }
@@ -51,6 +51,10 @@ export type PaymentsFilter = {
51
51
  * Filter by payment status
52
52
  */
53
53
  status?: PaymentsFilterPaymentStatus | undefined;
54
+ /**
55
+ * Filter by the subsidiary (legal entity) the record belongs to. Only honored on connectors that support multi-entity scoping (e.g. NetSuite OneWorld); ignored elsewhere.
56
+ */
57
+ subsidiaryId?: string | undefined;
54
58
  };
55
59
 
56
60
  /** @internal */
@@ -76,6 +80,7 @@ export type PaymentsFilter$Outbound = {
76
80
  customer_id?: string | undefined;
77
81
  type?: string | undefined;
78
82
  status?: string | undefined;
83
+ subsidiary_id?: string | undefined;
79
84
  };
80
85
 
81
86
  /** @internal */
@@ -91,6 +96,7 @@ export const PaymentsFilter$outboundSchema: z.ZodType<
91
96
  customerId: z.string().optional(),
92
97
  type: PaymentsFilterType$outboundSchema.optional(),
93
98
  status: PaymentsFilterPaymentStatus$outboundSchema.optional(),
99
+ subsidiaryId: z.string().optional(),
94
100
  }).transform((v) => {
95
101
  return remap$(v, {
96
102
  updatedSince: "updated_since",
@@ -98,6 +104,7 @@ export const PaymentsFilter$outboundSchema: z.ZodType<
98
104
  billId: "bill_id",
99
105
  supplierId: "supplier_id",
100
106
  customerId: "customer_id",
107
+ subsidiaryId: "subsidiary_id",
101
108
  });
102
109
  });
103
110
 
@@ -42,6 +42,10 @@ export type ProjectsFilter = {
42
42
  * Return projects modified after this date
43
43
  */
44
44
  updatedSince?: Date | undefined;
45
+ /**
46
+ * Filter by the subsidiary (legal entity) the record belongs to. Only honored on connectors that support multi-entity scoping (e.g. NetSuite OneWorld); ignored elsewhere.
47
+ */
48
+ subsidiaryId?: string | undefined;
45
49
  };
46
50
 
47
51
  /** @internal */
@@ -57,6 +61,7 @@ export type ProjectsFilter$Outbound = {
57
61
  status?: string | undefined;
58
62
  customer_id?: string | undefined;
59
63
  updated_since?: string | undefined;
64
+ subsidiary_id?: string | undefined;
60
65
  };
61
66
 
62
67
  /** @internal */
@@ -69,10 +74,12 @@ export const ProjectsFilter$outboundSchema: z.ZodType<
69
74
  status: ProjectStatus$outboundSchema.optional(),
70
75
  customerId: z.string().optional(),
71
76
  updatedSince: z.date().transform(v => v.toISOString()).optional(),
77
+ subsidiaryId: z.string().optional(),
72
78
  }).transform((v) => {
73
79
  return remap$(v, {
74
80
  customerId: "customer_id",
75
81
  updatedSince: "updated_since",
82
+ subsidiaryId: "subsidiary_id",
76
83
  });
77
84
  });
78
85
 
@@ -8,12 +8,17 @@ import { remap as remap$ } from "../../lib/primitives.js";
8
8
  export type PurchaseOrdersFilter = {
9
9
  updatedSince?: Date | undefined;
10
10
  supplierId?: string | undefined;
11
+ /**
12
+ * Filter by the subsidiary (legal entity) the record belongs to. Only honored on connectors that support multi-entity scoping (e.g. NetSuite OneWorld); ignored elsewhere.
13
+ */
14
+ subsidiaryId?: string | undefined;
11
15
  };
12
16
 
13
17
  /** @internal */
14
18
  export type PurchaseOrdersFilter$Outbound = {
15
19
  updated_since?: string | undefined;
16
20
  supplier_id?: string | undefined;
21
+ subsidiary_id?: string | undefined;
17
22
  };
18
23
 
19
24
  /** @internal */
@@ -24,10 +29,12 @@ export const PurchaseOrdersFilter$outboundSchema: z.ZodType<
24
29
  > = z.object({
25
30
  updatedSince: z.date().transform(v => v.toISOString()).optional(),
26
31
  supplierId: z.string().optional(),
32
+ subsidiaryId: z.string().optional(),
27
33
  }).transform((v) => {
28
34
  return remap$(v, {
29
35
  updatedSince: "updated_since",
30
36
  supplierId: "supplier_id",
37
+ subsidiaryId: "subsidiary_id",
31
38
  });
32
39
  });
33
40
 
@@ -0,0 +1,42 @@
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
+
8
+ export type QuotesFilter = {
9
+ updatedSince?: Date | undefined;
10
+ createdSince?: Date | undefined;
11
+ /**
12
+ * Quote number to search for
13
+ */
14
+ number?: string | undefined;
15
+ };
16
+
17
+ /** @internal */
18
+ export type QuotesFilter$Outbound = {
19
+ updated_since?: string | undefined;
20
+ created_since?: string | undefined;
21
+ number?: string | undefined;
22
+ };
23
+
24
+ /** @internal */
25
+ export const QuotesFilter$outboundSchema: z.ZodType<
26
+ QuotesFilter$Outbound,
27
+ z.ZodTypeDef,
28
+ QuotesFilter
29
+ > = z.object({
30
+ updatedSince: z.date().transform(v => v.toISOString()).optional(),
31
+ createdSince: z.date().transform(v => v.toISOString()).optional(),
32
+ number: z.string().optional(),
33
+ }).transform((v) => {
34
+ return remap$(v, {
35
+ updatedSince: "updated_since",
36
+ createdSince: "created_since",
37
+ });
38
+ });
39
+
40
+ export function quotesFilterToJSON(quotesFilter: QuotesFilter): string {
41
+ return JSON.stringify(QuotesFilter$outboundSchema.parse(quotesFilter));
42
+ }
@@ -27,6 +27,10 @@ export type SuppliersFilter = {
27
27
  */
28
28
  email?: string | undefined;
29
29
  updatedSince?: Date | undefined;
30
+ /**
31
+ * Filter by the subsidiary (legal entity) the supplier's primary subsidiary belongs to. Only honored on connectors that support multi-entity scoping (e.g. NetSuite OneWorld); ignored elsewhere.
32
+ */
33
+ subsidiaryId?: string | undefined;
30
34
  };
31
35
 
32
36
  /** @internal */
@@ -37,6 +41,7 @@ export type SuppliersFilter$Outbound = {
37
41
  last_name?: string | undefined;
38
42
  email?: string | undefined;
39
43
  updated_since?: string | undefined;
44
+ subsidiary_id?: string | undefined;
40
45
  };
41
46
 
42
47
  /** @internal */
@@ -51,6 +56,7 @@ export const SuppliersFilter$outboundSchema: z.ZodType<
51
56
  lastName: z.string().optional(),
52
57
  email: z.string().optional(),
53
58
  updatedSince: z.date().transform(v => v.toISOString()).optional(),
59
+ subsidiaryId: z.string().optional(),
54
60
  }).transform((v) => {
55
61
  return remap$(v, {
56
62
  companyName: "company_name",
@@ -58,6 +64,7 @@ export const SuppliersFilter$outboundSchema: z.ZodType<
58
64
  firstName: "first_name",
59
65
  lastName: "last_name",
60
66
  updatedSince: "updated_since",
67
+ subsidiaryId: "subsidiary_id",
61
68
  });
62
69
  });
63
70
 
@@ -29,6 +29,10 @@ export type User = {
29
29
  * The username of the user
30
30
  */
31
31
  username?: string | null | undefined;
32
+ /**
33
+ * The name of the resource.
34
+ */
35
+ name?: string | null | undefined;
32
36
  /**
33
37
  * The first name of the person.
34
38
  */
@@ -102,6 +106,7 @@ export const User$inboundSchema: z.ZodType<User, z.ZodTypeDef, unknown> = z
102
106
  id: types.optional(types.string()),
103
107
  parent_id: z.nullable(types.string()).optional(),
104
108
  username: z.nullable(types.string()).optional(),
109
+ name: z.nullable(types.string()).optional(),
105
110
  first_name: z.nullable(types.string()).optional(),
106
111
  last_name: z.nullable(types.string()).optional(),
107
112
  title: z.nullable(types.string()).optional(),
@@ -30,6 +30,10 @@ export type UserInput = {
30
30
  * The username of the user
31
31
  */
32
32
  username?: string | null | undefined;
33
+ /**
34
+ * The name of the resource.
35
+ */
36
+ name?: string | null | undefined;
33
37
  /**
34
38
  * The first name of the person.
35
39
  */
@@ -93,6 +97,7 @@ export type UserInput = {
93
97
  export type UserInput$Outbound = {
94
98
  parent_id?: string | null | undefined;
95
99
  username?: string | null | undefined;
100
+ name?: string | null | undefined;
96
101
  first_name?: string | null | undefined;
97
102
  last_name?: string | null | undefined;
98
103
  title?: string | null | undefined;
@@ -119,6 +124,7 @@ export const UserInput$outboundSchema: z.ZodType<
119
124
  > = z.object({
120
125
  parentId: z.nullable(z.string()).optional(),
121
126
  username: z.nullable(z.string()).optional(),
127
+ name: z.nullable(z.string()).optional(),
122
128
  firstName: z.nullable(z.string()).optional(),
123
129
  lastName: z.nullable(z.string()).optional(),
124
130
  title: z.nullable(z.string()).optional(),
@@ -0,0 +1,36 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod/v3";
6
+
7
+ export type UsersFilter = {
8
+ /**
9
+ * E-mail of the user to filter on
10
+ */
11
+ email?: string | undefined;
12
+ /**
13
+ * Full name of the user to filter on
14
+ */
15
+ name?: string | undefined;
16
+ };
17
+
18
+ /** @internal */
19
+ export type UsersFilter$Outbound = {
20
+ email?: string | undefined;
21
+ name?: string | undefined;
22
+ };
23
+
24
+ /** @internal */
25
+ export const UsersFilter$outboundSchema: z.ZodType<
26
+ UsersFilter$Outbound,
27
+ z.ZodTypeDef,
28
+ UsersFilter
29
+ > = z.object({
30
+ email: z.string().optional(),
31
+ name: z.string().optional(),
32
+ });
33
+
34
+ export function usersFilterToJSON(usersFilter: UsersFilter): string {
35
+ return JSON.stringify(UsersFilter$outboundSchema.parse(usersFilter));
36
+ }
@@ -39,6 +39,8 @@ export const WebhookEventType = {
39
39
  VaultConnectionTokenRefreshPending: "vault.connection.token_refresh.pending",
40
40
  VaultConnectionTokenRefreshRecovered:
41
41
  "vault.connection.token_refresh.recovered",
42
+ VaultConnectionDownstreamDegraded: "vault.connection.downstream.degraded",
43
+ VaultConnectionDownstreamRecovered: "vault.connection.downstream.recovered",
42
44
  AtsJobCreated: "ats.job.created",
43
45
  AtsJobUpdated: "ats.job.updated",
44
46
  AtsJobDeleted: "ats.job.deleted",
@@ -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
+ }