@apideck/unify 0.42.0 → 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 (493) 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/logsfilter.d.ts +49 -0
  296. package/models/components/logsfilter.d.ts.map +1 -1
  297. package/models/components/logsfilter.js +24 -1
  298. package/models/components/logsfilter.js.map +1 -1
  299. package/models/components/notesfilter.d.ts +24 -0
  300. package/models/components/notesfilter.d.ts.map +1 -0
  301. package/models/components/notesfilter.js +59 -0
  302. package/models/components/notesfilter.js.map +1 -0
  303. package/models/components/paymentsfilter.d.ts +5 -0
  304. package/models/components/paymentsfilter.d.ts.map +1 -1
  305. package/models/components/paymentsfilter.js +2 -0
  306. package/models/components/paymentsfilter.js.map +1 -1
  307. package/models/components/projectsfilter.d.ts +5 -0
  308. package/models/components/projectsfilter.d.ts.map +1 -1
  309. package/models/components/projectsfilter.js +2 -0
  310. package/models/components/projectsfilter.js.map +1 -1
  311. package/models/components/purchaseordersfilter.d.ts +5 -0
  312. package/models/components/purchaseordersfilter.d.ts.map +1 -1
  313. package/models/components/purchaseordersfilter.js +2 -0
  314. package/models/components/purchaseordersfilter.js.map +1 -1
  315. package/models/components/quotesfilter.d.ts +19 -0
  316. package/models/components/quotesfilter.d.ts.map +1 -0
  317. package/models/components/quotesfilter.js +57 -0
  318. package/models/components/quotesfilter.js.map +1 -0
  319. package/models/components/suppliersfilter.d.ts +5 -0
  320. package/models/components/suppliersfilter.d.ts.map +1 -1
  321. package/models/components/suppliersfilter.js +2 -0
  322. package/models/components/suppliersfilter.js.map +1 -1
  323. package/models/components/user.d.ts +4 -0
  324. package/models/components/user.d.ts.map +1 -1
  325. package/models/components/user.js +1 -0
  326. package/models/components/user.js.map +1 -1
  327. package/models/components/userinput.d.ts +5 -0
  328. package/models/components/userinput.d.ts.map +1 -1
  329. package/models/components/userinput.js +1 -0
  330. package/models/components/userinput.js.map +1 -1
  331. package/models/components/usersfilter.d.ts +20 -0
  332. package/models/components/usersfilter.d.ts.map +1 -0
  333. package/models/components/usersfilter.js +50 -0
  334. package/models/components/usersfilter.js.map +1 -0
  335. package/models/components/webhookeventtype.d.ts +2 -0
  336. package/models/components/webhookeventtype.d.ts.map +1 -1
  337. package/models/components/webhookeventtype.js +2 -0
  338. package/models/components/webhookeventtype.js.map +1 -1
  339. package/models/operations/accountinggeneralledgertransactionsall.d.ts +96 -0
  340. package/models/operations/accountinggeneralledgertransactionsall.d.ts.map +1 -0
  341. package/models/operations/accountinggeneralledgertransactionsall.js +84 -0
  342. package/models/operations/accountinggeneralledgertransactionsall.js.map +1 -0
  343. package/models/operations/accountinggeneralledgertransactionsone.d.ts +72 -0
  344. package/models/operations/accountinggeneralledgertransactionsone.d.ts.map +1 -0
  345. package/models/operations/accountinggeneralledgertransactionsone.js +75 -0
  346. package/models/operations/accountinggeneralledgertransactionsone.js.map +1 -0
  347. package/models/operations/accountingquotesall.d.ts +5 -0
  348. package/models/operations/accountingquotesall.d.ts.map +1 -1
  349. package/models/operations/accountingquotesall.js +1 -0
  350. package/models/operations/accountingquotesall.js.map +1 -1
  351. package/models/operations/crmnotesall.d.ts +5 -0
  352. package/models/operations/crmnotesall.d.ts.map +1 -1
  353. package/models/operations/crmnotesall.js +1 -0
  354. package/models/operations/crmnotesall.js.map +1 -1
  355. package/models/operations/crmusersall.d.ts +5 -0
  356. package/models/operations/crmusersall.d.ts.map +1 -1
  357. package/models/operations/crmusersall.js +1 -0
  358. package/models/operations/crmusersall.js.map +1 -1
  359. package/models/operations/index.d.ts +2 -0
  360. package/models/operations/index.d.ts.map +1 -1
  361. package/models/operations/index.js +2 -0
  362. package/models/operations/index.js.map +1 -1
  363. package/package.json +1 -1
  364. package/sdk/accounting.d.ts +3 -0
  365. package/sdk/accounting.d.ts.map +1 -1
  366. package/sdk/accounting.js +4 -0
  367. package/sdk/accounting.js.map +1 -1
  368. package/sdk/generalledgertransactions.d.ts +22 -0
  369. package/sdk/generalledgertransactions.d.ts.map +1 -0
  370. package/sdk/generalledgertransactions.js +33 -0
  371. package/sdk/generalledgertransactions.js.map +1 -0
  372. package/src/__tests__/quotes.test.ts +5 -0
  373. package/src/funcs/accountingAttachmentsList.ts +5 -2
  374. package/src/funcs/accountingBankAccountsList.ts +5 -2
  375. package/src/funcs/accountingBankFeedAccountsList.ts +5 -2
  376. package/src/funcs/accountingBankFeedStatementsList.ts +5 -2
  377. package/src/funcs/accountingBillPaymentsList.ts +5 -2
  378. package/src/funcs/accountingBillsList.ts +5 -2
  379. package/src/funcs/accountingCategoriesList.ts +5 -2
  380. package/src/funcs/accountingCompaniesList.ts +5 -2
  381. package/src/funcs/accountingCreditNotesList.ts +5 -2
  382. package/src/funcs/accountingCustomersList.ts +5 -2
  383. package/src/funcs/accountingDepartmentsList.ts +5 -2
  384. package/src/funcs/accountingEmployeesList.ts +5 -2
  385. package/src/funcs/accountingExpenseCategoriesList.ts +5 -2
  386. package/src/funcs/accountingExpenseReportsList.ts +5 -2
  387. package/src/funcs/accountingExpensesList.ts +5 -2
  388. package/src/funcs/accountingGeneralLedgerTransactionsGet.ts +241 -0
  389. package/src/funcs/accountingGeneralLedgerTransactionsList.ts +316 -0
  390. package/src/funcs/accountingInvoiceItemsList.ts +5 -2
  391. package/src/funcs/accountingInvoicesList.ts +5 -2
  392. package/src/funcs/accountingJournalEntriesList.ts +5 -2
  393. package/src/funcs/accountingLedgerAccountsList.ts +5 -2
  394. package/src/funcs/accountingLocationsList.ts +5 -2
  395. package/src/funcs/accountingPaymentsList.ts +5 -2
  396. package/src/funcs/accountingProjectsList.ts +5 -2
  397. package/src/funcs/accountingPurchaseOrdersList.ts +5 -2
  398. package/src/funcs/accountingQuotesList.ts +21 -8
  399. package/src/funcs/accountingRefundsList.ts +5 -2
  400. package/src/funcs/accountingSubsidiariesList.ts +5 -2
  401. package/src/funcs/accountingSuppliersList.ts +5 -2
  402. package/src/funcs/accountingTaxRatesList.ts +5 -2
  403. package/src/funcs/accountingTrackingCategoriesList.ts +5 -2
  404. package/src/funcs/atsApplicantsList.ts +5 -2
  405. package/src/funcs/atsApplicationsList.ts +5 -2
  406. package/src/funcs/atsJobsList.ts +5 -2
  407. package/src/funcs/connectorApisList.ts +5 -2
  408. package/src/funcs/connectorConnectorsList.ts +5 -2
  409. package/src/funcs/crmActivitiesList.ts +5 -2
  410. package/src/funcs/crmCompaniesList.ts +5 -2
  411. package/src/funcs/crmContactsList.ts +5 -2
  412. package/src/funcs/crmCustomObjectSchemasList.ts +5 -2
  413. package/src/funcs/crmCustomObjectsList.ts +5 -2
  414. package/src/funcs/crmLeadsList.ts +5 -2
  415. package/src/funcs/crmNotesList.ts +6 -2
  416. package/src/funcs/crmOpportunitiesList.ts +5 -2
  417. package/src/funcs/crmPipelinesList.ts +5 -2
  418. package/src/funcs/crmUsersList.ts +6 -2
  419. package/src/funcs/ecommerceCustomersList.ts +5 -2
  420. package/src/funcs/ecommerceOrdersList.ts +5 -2
  421. package/src/funcs/ecommerceProductsList.ts +5 -2
  422. package/src/funcs/fileStorageDriveGroupsList.ts +5 -2
  423. package/src/funcs/fileStorageDrivesList.ts +5 -2
  424. package/src/funcs/fileStorageFilesList.ts +5 -2
  425. package/src/funcs/fileStorageSharedLinksList.ts +5 -2
  426. package/src/funcs/hrisCompaniesList.ts +5 -2
  427. package/src/funcs/hrisDepartmentsList.ts +5 -2
  428. package/src/funcs/hrisEmployeesList.ts +5 -2
  429. package/src/funcs/hrisTimeOffRequestsList.ts +5 -2
  430. package/src/funcs/issueTrackingCollectionTagsList.ts +5 -2
  431. package/src/funcs/issueTrackingCollectionTicketCommentsGet.ts +5 -2
  432. package/src/funcs/issueTrackingCollectionTicketCommentsList.ts +5 -2
  433. package/src/funcs/issueTrackingCollectionTicketsList.ts +5 -2
  434. package/src/funcs/issueTrackingCollectionUsersList.ts +5 -2
  435. package/src/funcs/issueTrackingCollectionsList.ts +5 -2
  436. package/src/funcs/smsMessagesList.ts +5 -2
  437. package/src/funcs/vaultConsumersList.ts +5 -2
  438. package/src/funcs/vaultLogsList.ts +5 -2
  439. package/src/funcs/webhookEventLogsList.ts +5 -2
  440. package/src/funcs/webhookWebhooksList.ts +5 -2
  441. package/src/hooks/types.ts +1 -0
  442. package/src/lib/config.ts +4 -4
  443. package/src/lib/encodings.ts +1 -1
  444. package/src/lib/env.ts +7 -3
  445. package/src/lib/matchers.ts +1 -1
  446. package/src/lib/primitives.ts +16 -0
  447. package/src/lib/sdks.ts +54 -17
  448. package/src/models/components/billsfilter.ts +7 -0
  449. package/src/models/components/connection.ts +7 -0
  450. package/src/models/components/connectionhealth.ts +1 -0
  451. package/src/models/components/creditnotesfilter.ts +7 -0
  452. package/src/models/components/customersfilter.ts +7 -0
  453. package/src/models/components/expensereportsfilter.ts +7 -0
  454. package/src/models/components/generalledgertransaction.ts +168 -0
  455. package/src/models/components/generalledgertransactionlineitem.ts +113 -0
  456. package/src/models/components/generalledgertransactionsfilter.ts +83 -0
  457. package/src/models/components/generalledgertransactionssort.ts +70 -0
  458. package/src/models/components/getgeneralledgertransactionresponse.ts +76 -0
  459. package/src/models/components/getgeneralledgertransactionsresponse.ts +88 -0
  460. package/src/models/components/index.ts +9 -0
  461. package/src/models/components/invoiceitemsfilter.ts +7 -0
  462. package/src/models/components/invoicesfilter.ts +7 -0
  463. package/src/models/components/journalentriesfilter.ts +34 -0
  464. package/src/models/components/ledgeraccountsfilter.ts +7 -0
  465. package/src/models/components/logsfilter.ts +67 -0
  466. package/src/models/components/notesfilter.ts +49 -0
  467. package/src/models/components/paymentsfilter.ts +7 -0
  468. package/src/models/components/projectsfilter.ts +7 -0
  469. package/src/models/components/purchaseordersfilter.ts +7 -0
  470. package/src/models/components/quotesfilter.ts +42 -0
  471. package/src/models/components/suppliersfilter.ts +7 -0
  472. package/src/models/components/user.ts +5 -0
  473. package/src/models/components/userinput.ts +6 -0
  474. package/src/models/components/usersfilter.ts +36 -0
  475. package/src/models/components/webhookeventtype.ts +2 -0
  476. package/src/models/operations/accountinggeneralledgertransactionsall.ts +173 -0
  477. package/src/models/operations/accountinggeneralledgertransactionsone.ts +144 -0
  478. package/src/models/operations/accountingquotesall.ts +6 -0
  479. package/src/models/operations/crmnotesall.ts +6 -0
  480. package/src/models/operations/crmusersall.ts +6 -0
  481. package/src/models/operations/index.ts +2 -0
  482. package/src/sdk/accounting.ts +8 -0
  483. package/src/sdk/generalledgertransactions.ts +51 -0
  484. package/lib/dlv.d.ts +0 -14
  485. package/lib/dlv.d.ts.map +0 -1
  486. package/lib/dlv.js +0 -49
  487. package/lib/dlv.js.map +0 -1
  488. package/lib/is-plain-object.d.ts +0 -2
  489. package/lib/is-plain-object.d.ts.map +0 -1
  490. package/lib/is-plain-object.js +0 -41
  491. package/lib/is-plain-object.js.map +0 -1
  492. package/src/lib/dlv.ts +0 -53
  493. package/src/lib/is-plain-object.ts +0 -43
@@ -0,0 +1,88 @@
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 { SDKValidationError } from "../errors/sdkvalidationerror.js";
11
+ import {
12
+ GeneralLedgerTransaction,
13
+ GeneralLedgerTransaction$inboundSchema,
14
+ } from "./generalledgertransaction.js";
15
+ import { Links, Links$inboundSchema } from "./links.js";
16
+ import { Meta, Meta$inboundSchema } from "./meta.js";
17
+
18
+ /**
19
+ * GeneralLedgerTransactions
20
+ */
21
+ export type GetGeneralLedgerTransactionsResponse = {
22
+ /**
23
+ * HTTP Response Status Code
24
+ */
25
+ statusCode: number;
26
+ /**
27
+ * HTTP Response Status
28
+ */
29
+ status: string;
30
+ /**
31
+ * Apideck ID of service provider
32
+ */
33
+ service: string;
34
+ /**
35
+ * Unified API resource name
36
+ */
37
+ resource: string;
38
+ /**
39
+ * Operation performed
40
+ */
41
+ operation: string;
42
+ data: Array<GeneralLedgerTransaction>;
43
+ /**
44
+ * Response metadata
45
+ */
46
+ meta?: Meta | undefined;
47
+ /**
48
+ * Links to navigate to previous or next pages through the API
49
+ */
50
+ links?: Links | undefined;
51
+ /**
52
+ * Raw response from the integration when raw=true query param is provided
53
+ */
54
+ raw?: { [k: string]: any } | null | undefined;
55
+ };
56
+
57
+ /** @internal */
58
+ export const GetGeneralLedgerTransactionsResponse$inboundSchema: z.ZodType<
59
+ GetGeneralLedgerTransactionsResponse,
60
+ z.ZodTypeDef,
61
+ unknown
62
+ > = z.object({
63
+ status_code: types.number(),
64
+ status: types.string(),
65
+ service: types.string(),
66
+ resource: types.string(),
67
+ operation: types.string(),
68
+ data: z.array(GeneralLedgerTransaction$inboundSchema),
69
+ meta: types.optional(Meta$inboundSchema),
70
+ links: types.optional(Links$inboundSchema),
71
+ _raw: z.nullable(z.record(z.any())).optional(),
72
+ }).transform((v) => {
73
+ return remap$(v, {
74
+ "status_code": "statusCode",
75
+ "_raw": "raw",
76
+ });
77
+ });
78
+
79
+ export function getGeneralLedgerTransactionsResponseFromJSON(
80
+ jsonString: string,
81
+ ): SafeParseResult<GetGeneralLedgerTransactionsResponse, SDKValidationError> {
82
+ return safeParse(
83
+ jsonString,
84
+ (x) =>
85
+ GetGeneralLedgerTransactionsResponse$inboundSchema.parse(JSON.parse(x)),
86
+ `Failed to parse 'GetGeneralLedgerTransactionsResponse' from JSON`,
87
+ );
88
+ }
@@ -276,6 +276,10 @@ export * from "./formfield.js";
276
276
  export * from "./formfieldoption.js";
277
277
  export * from "./formfieldoptiongroup.js";
278
278
  export * from "./gender.js";
279
+ export * from "./generalledgertransaction.js";
280
+ export * from "./generalledgertransactionlineitem.js";
281
+ export * from "./generalledgertransactionsfilter.js";
282
+ export * from "./generalledgertransactionssort.js";
279
283
  export * from "./getaccountingdepartmentresponse.js";
280
284
  export * from "./getaccountingdepartmentsresponse.js";
281
285
  export * from "./getaccountingemployeeresponse.js";
@@ -364,6 +368,8 @@ export * from "./getexpensesresponse.js";
364
368
  export * from "./getfileresponse.js";
365
369
  export * from "./getfilesresponse.js";
366
370
  export * from "./getfolderresponse.js";
371
+ export * from "./getgeneralledgertransactionresponse.js";
372
+ export * from "./getgeneralledgertransactionsresponse.js";
367
373
  export * from "./gethriscompaniesresponse.js";
368
374
  export * from "./gethriscompanyresponse.js";
369
375
  export * from "./getinvoiceitemresponse.js";
@@ -486,6 +492,7 @@ export * from "./message.js";
486
492
  export * from "./meta.js";
487
493
  export * from "./note.js";
488
494
  export * from "./noteinput.js";
495
+ export * from "./notesfilter.js";
489
496
  export * from "./oauthgranttype.js";
490
497
  export * from "./opportunitiesfilter.js";
491
498
  export * from "./opportunitiessort.js";
@@ -526,6 +533,7 @@ export * from "./purchaseordersfilter.js";
526
533
  export * from "./purchaseorderssort.js";
527
534
  export * from "./quote.js";
528
535
  export * from "./quotelineitem.js";
536
+ export * from "./quotesfilter.js";
529
537
  export * from "./rebilling.js";
530
538
  export * from "./refund.js";
531
539
  export * from "./refundinput.js";
@@ -630,6 +638,7 @@ export * from "./updatewebhookresponse.js";
630
638
  export * from "./uploadsession.js";
631
639
  export * from "./user.js";
632
640
  export * from "./userinput.js";
641
+ export * from "./usersfilter.js";
633
642
  export * from "./validateconnectionstateresponse.js";
634
643
  export * from "./webhook.js";
635
644
  export * from "./webhookeventlog.js";
@@ -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
 
@@ -4,9 +4,52 @@
4
4
 
5
5
  import * as z from "zod/v3";
6
6
  import { remap as remap$ } from "../../lib/primitives.js";
7
+ import * as openEnums from "../../types/enums.js";
8
+ import { OpenEnum } from "../../types/enums.js";
9
+
10
+ /**
11
+ * How the path filter is matched. CONTAINS matches the path anywhere; STARTS_WITH / ENDS_WITH anchor the match; EXACT requires the whole path to match. Only applied when path is set.
12
+ */
13
+ export const PathMatchMode = {
14
+ Contains: "CONTAINS",
15
+ StartsWith: "STARTS_WITH",
16
+ EndsWith: "ENDS_WITH",
17
+ Exact: "EXACT",
18
+ } as const;
19
+ /**
20
+ * How the path filter is matched. CONTAINS matches the path anywhere; STARTS_WITH / ENDS_WITH anchor the match; EXACT requires the whole path to match. Only applied when path is set.
21
+ */
22
+ export type PathMatchMode = OpenEnum<typeof PathMatchMode>;
7
23
 
8
24
  export type LogsFilter = {
25
+ /**
26
+ * Filter by connector ID. Known limitation: this field is not currently applied at the log query resolver — connector filtering is performed via the service identifier internally (see GH-10099).
27
+ */
9
28
  connectorId?: string | null | undefined;
29
+ /**
30
+ * Filter by request path. Match behavior is controlled by path_match_mode (defaults to CONTAINS).
31
+ */
32
+ path?: string | null | undefined;
33
+ /**
34
+ * How the path filter is matched. CONTAINS matches the path anywhere; STARTS_WITH / ENDS_WITH anchor the match; EXACT requires the whole path to match. Only applied when path is set.
35
+ */
36
+ pathMatchMode?: PathMatchMode | null | undefined;
37
+ /**
38
+ * Filter by a single HTTP method.
39
+ */
40
+ httpMethod?: string | null | undefined;
41
+ /**
42
+ * Filter by multiple HTTP methods.
43
+ */
44
+ httpMethods?: Array<string> | null | undefined;
45
+ /**
46
+ * Filter logs at or after this ISO 8601 date-time (inclusive).
47
+ */
48
+ startDate?: Date | null | undefined;
49
+ /**
50
+ * Filter logs at or before this ISO 8601 date-time (inclusive). Must be on or after start_date.
51
+ */
52
+ endDate?: Date | null | undefined;
10
53
  /**
11
54
  * Filter by a single HTTP status code. For backward compatibility - use status_codes for multiple values.
12
55
  */
@@ -18,9 +61,22 @@ export type LogsFilter = {
18
61
  excludeUnifiedApis?: string | null | undefined;
19
62
  };
20
63
 
64
+ /** @internal */
65
+ export const PathMatchMode$outboundSchema: z.ZodType<
66
+ string,
67
+ z.ZodTypeDef,
68
+ PathMatchMode
69
+ > = openEnums.outboundSchema(PathMatchMode);
70
+
21
71
  /** @internal */
22
72
  export type LogsFilter$Outbound = {
23
73
  connector_id?: string | null | undefined;
74
+ path?: string | null | undefined;
75
+ path_match_mode: string | null;
76
+ http_method?: string | null | undefined;
77
+ http_methods?: Array<string> | null | undefined;
78
+ start_date?: string | null | undefined;
79
+ end_date?: string | null | undefined;
24
80
  status_code?: number | null | undefined;
25
81
  status_codes?: Array<number> | null | undefined;
26
82
  exclude_unified_apis?: string | null | undefined;
@@ -33,12 +89,23 @@ export const LogsFilter$outboundSchema: z.ZodType<
33
89
  LogsFilter
34
90
  > = z.object({
35
91
  connectorId: z.nullable(z.string()).optional(),
92
+ path: z.nullable(z.string()).optional(),
93
+ pathMatchMode: z.nullable(PathMatchMode$outboundSchema.default("CONTAINS")),
94
+ httpMethod: z.nullable(z.string()).optional(),
95
+ httpMethods: z.nullable(z.array(z.string())).optional(),
96
+ startDate: z.nullable(z.date().transform(v => v.toISOString())).optional(),
97
+ endDate: z.nullable(z.date().transform(v => v.toISOString())).optional(),
36
98
  statusCode: z.nullable(z.number()).optional(),
37
99
  statusCodes: z.nullable(z.array(z.number())).optional(),
38
100
  excludeUnifiedApis: z.nullable(z.string()).optional(),
39
101
  }).transform((v) => {
40
102
  return remap$(v, {
41
103
  connectorId: "connector_id",
104
+ pathMatchMode: "path_match_mode",
105
+ httpMethod: "http_method",
106
+ httpMethods: "http_methods",
107
+ startDate: "start_date",
108
+ endDate: "end_date",
42
109
  statusCode: "status_code",
43
110
  statusCodes: "status_codes",
44
111
  excludeUnifiedApis: "exclude_unified_apis",
@@ -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(),