@apideck/unify 0.29.9 → 0.30.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1122) hide show
  1. package/README.md +14 -38
  2. package/RUNTIMES.md +6 -6
  3. package/docs/sdks/projects/README.md +834 -0
  4. package/docs/sdks/quotes/README.md +8 -0
  5. package/examples/package-lock.json +1 -1
  6. package/funcs/accountingAgedCreditorsGet.js +2 -2
  7. package/funcs/accountingAgedCreditorsGet.js.map +1 -1
  8. package/funcs/accountingAgedDebtorsGet.js +2 -2
  9. package/funcs/accountingAgedDebtorsGet.js.map +1 -1
  10. package/funcs/accountingAttachmentsDelete.js +2 -2
  11. package/funcs/accountingAttachmentsDelete.js.map +1 -1
  12. package/funcs/accountingAttachmentsDownload.js +2 -2
  13. package/funcs/accountingAttachmentsDownload.js.map +1 -1
  14. package/funcs/accountingAttachmentsGet.js +2 -2
  15. package/funcs/accountingAttachmentsGet.js.map +1 -1
  16. package/funcs/accountingAttachmentsList.js +2 -2
  17. package/funcs/accountingAttachmentsList.js.map +1 -1
  18. package/funcs/accountingAttachmentsUpload.js +2 -2
  19. package/funcs/accountingAttachmentsUpload.js.map +1 -1
  20. package/funcs/accountingBalanceSheetGet.js +2 -2
  21. package/funcs/accountingBalanceSheetGet.js.map +1 -1
  22. package/funcs/accountingBankAccountsCreate.js +2 -2
  23. package/funcs/accountingBankAccountsCreate.js.map +1 -1
  24. package/funcs/accountingBankAccountsDelete.js +2 -2
  25. package/funcs/accountingBankAccountsDelete.js.map +1 -1
  26. package/funcs/accountingBankAccountsGet.js +2 -2
  27. package/funcs/accountingBankAccountsGet.js.map +1 -1
  28. package/funcs/accountingBankAccountsList.js +2 -2
  29. package/funcs/accountingBankAccountsList.js.map +1 -1
  30. package/funcs/accountingBankAccountsUpdate.js +2 -2
  31. package/funcs/accountingBankAccountsUpdate.js.map +1 -1
  32. package/funcs/accountingBankFeedAccountsCreate.js +2 -2
  33. package/funcs/accountingBankFeedAccountsCreate.js.map +1 -1
  34. package/funcs/accountingBankFeedAccountsDelete.js +2 -2
  35. package/funcs/accountingBankFeedAccountsDelete.js.map +1 -1
  36. package/funcs/accountingBankFeedAccountsGet.js +2 -2
  37. package/funcs/accountingBankFeedAccountsGet.js.map +1 -1
  38. package/funcs/accountingBankFeedAccountsList.js +2 -2
  39. package/funcs/accountingBankFeedAccountsList.js.map +1 -1
  40. package/funcs/accountingBankFeedAccountsUpdate.js +2 -2
  41. package/funcs/accountingBankFeedAccountsUpdate.js.map +1 -1
  42. package/funcs/accountingBankFeedStatementsCreate.js +2 -2
  43. package/funcs/accountingBankFeedStatementsCreate.js.map +1 -1
  44. package/funcs/accountingBankFeedStatementsDelete.js +2 -2
  45. package/funcs/accountingBankFeedStatementsDelete.js.map +1 -1
  46. package/funcs/accountingBankFeedStatementsGet.js +2 -2
  47. package/funcs/accountingBankFeedStatementsGet.js.map +1 -1
  48. package/funcs/accountingBankFeedStatementsList.js +2 -2
  49. package/funcs/accountingBankFeedStatementsList.js.map +1 -1
  50. package/funcs/accountingBankFeedStatementsUpdate.js +2 -2
  51. package/funcs/accountingBankFeedStatementsUpdate.js.map +1 -1
  52. package/funcs/accountingBillPaymentsCreate.js +2 -2
  53. package/funcs/accountingBillPaymentsCreate.js.map +1 -1
  54. package/funcs/accountingBillPaymentsDelete.js +2 -2
  55. package/funcs/accountingBillPaymentsDelete.js.map +1 -1
  56. package/funcs/accountingBillPaymentsGet.js +2 -2
  57. package/funcs/accountingBillPaymentsGet.js.map +1 -1
  58. package/funcs/accountingBillPaymentsList.js +2 -2
  59. package/funcs/accountingBillPaymentsList.js.map +1 -1
  60. package/funcs/accountingBillPaymentsUpdate.js +2 -2
  61. package/funcs/accountingBillPaymentsUpdate.js.map +1 -1
  62. package/funcs/accountingBillsCreate.js +2 -2
  63. package/funcs/accountingBillsCreate.js.map +1 -1
  64. package/funcs/accountingBillsDelete.js +2 -2
  65. package/funcs/accountingBillsDelete.js.map +1 -1
  66. package/funcs/accountingBillsGet.js +2 -2
  67. package/funcs/accountingBillsGet.js.map +1 -1
  68. package/funcs/accountingBillsList.js +2 -2
  69. package/funcs/accountingBillsList.js.map +1 -1
  70. package/funcs/accountingBillsUpdate.js +2 -2
  71. package/funcs/accountingBillsUpdate.js.map +1 -1
  72. package/funcs/accountingCategoriesGet.js +2 -2
  73. package/funcs/accountingCategoriesGet.js.map +1 -1
  74. package/funcs/accountingCategoriesList.js +2 -2
  75. package/funcs/accountingCategoriesList.js.map +1 -1
  76. package/funcs/accountingCompanyInfoGet.js +2 -2
  77. package/funcs/accountingCompanyInfoGet.js.map +1 -1
  78. package/funcs/accountingCreditNotesCreate.js +2 -2
  79. package/funcs/accountingCreditNotesCreate.js.map +1 -1
  80. package/funcs/accountingCreditNotesDelete.js +2 -2
  81. package/funcs/accountingCreditNotesDelete.js.map +1 -1
  82. package/funcs/accountingCreditNotesGet.js +2 -2
  83. package/funcs/accountingCreditNotesGet.js.map +1 -1
  84. package/funcs/accountingCreditNotesList.js +2 -2
  85. package/funcs/accountingCreditNotesList.js.map +1 -1
  86. package/funcs/accountingCreditNotesUpdate.js +2 -2
  87. package/funcs/accountingCreditNotesUpdate.js.map +1 -1
  88. package/funcs/accountingCustomersCreate.js +2 -2
  89. package/funcs/accountingCustomersCreate.js.map +1 -1
  90. package/funcs/accountingCustomersDelete.js +2 -2
  91. package/funcs/accountingCustomersDelete.js.map +1 -1
  92. package/funcs/accountingCustomersGet.js +2 -2
  93. package/funcs/accountingCustomersGet.js.map +1 -1
  94. package/funcs/accountingCustomersList.js +2 -2
  95. package/funcs/accountingCustomersList.js.map +1 -1
  96. package/funcs/accountingCustomersUpdate.js +2 -2
  97. package/funcs/accountingCustomersUpdate.js.map +1 -1
  98. package/funcs/accountingDepartmentsCreate.js +2 -2
  99. package/funcs/accountingDepartmentsCreate.js.map +1 -1
  100. package/funcs/accountingDepartmentsDelete.js +2 -2
  101. package/funcs/accountingDepartmentsDelete.js.map +1 -1
  102. package/funcs/accountingDepartmentsGet.js +2 -2
  103. package/funcs/accountingDepartmentsGet.js.map +1 -1
  104. package/funcs/accountingDepartmentsList.js +2 -2
  105. package/funcs/accountingDepartmentsList.js.map +1 -1
  106. package/funcs/accountingDepartmentsUpdate.js +2 -2
  107. package/funcs/accountingDepartmentsUpdate.js.map +1 -1
  108. package/funcs/accountingExpensesCreate.js +2 -2
  109. package/funcs/accountingExpensesCreate.js.map +1 -1
  110. package/funcs/accountingExpensesDelete.js +2 -2
  111. package/funcs/accountingExpensesDelete.js.map +1 -1
  112. package/funcs/accountingExpensesGet.js +2 -2
  113. package/funcs/accountingExpensesGet.js.map +1 -1
  114. package/funcs/accountingExpensesList.js +2 -2
  115. package/funcs/accountingExpensesList.js.map +1 -1
  116. package/funcs/accountingExpensesUpdate.js +2 -2
  117. package/funcs/accountingExpensesUpdate.js.map +1 -1
  118. package/funcs/accountingInvoiceItemsCreate.js +2 -2
  119. package/funcs/accountingInvoiceItemsCreate.js.map +1 -1
  120. package/funcs/accountingInvoiceItemsDelete.js +2 -2
  121. package/funcs/accountingInvoiceItemsDelete.js.map +1 -1
  122. package/funcs/accountingInvoiceItemsGet.js +2 -2
  123. package/funcs/accountingInvoiceItemsGet.js.map +1 -1
  124. package/funcs/accountingInvoiceItemsList.js +2 -2
  125. package/funcs/accountingInvoiceItemsList.js.map +1 -1
  126. package/funcs/accountingInvoiceItemsUpdate.js +2 -2
  127. package/funcs/accountingInvoiceItemsUpdate.js.map +1 -1
  128. package/funcs/accountingInvoicesCreate.js +2 -2
  129. package/funcs/accountingInvoicesCreate.js.map +1 -1
  130. package/funcs/accountingInvoicesDelete.js +2 -2
  131. package/funcs/accountingInvoicesDelete.js.map +1 -1
  132. package/funcs/accountingInvoicesGet.js +2 -2
  133. package/funcs/accountingInvoicesGet.js.map +1 -1
  134. package/funcs/accountingInvoicesList.js +2 -2
  135. package/funcs/accountingInvoicesList.js.map +1 -1
  136. package/funcs/accountingInvoicesUpdate.js +2 -2
  137. package/funcs/accountingInvoicesUpdate.js.map +1 -1
  138. package/funcs/accountingJournalEntriesCreate.js +2 -2
  139. package/funcs/accountingJournalEntriesCreate.js.map +1 -1
  140. package/funcs/accountingJournalEntriesDelete.js +2 -2
  141. package/funcs/accountingJournalEntriesDelete.js.map +1 -1
  142. package/funcs/accountingJournalEntriesGet.js +2 -2
  143. package/funcs/accountingJournalEntriesGet.js.map +1 -1
  144. package/funcs/accountingJournalEntriesList.js +2 -2
  145. package/funcs/accountingJournalEntriesList.js.map +1 -1
  146. package/funcs/accountingJournalEntriesUpdate.js +2 -2
  147. package/funcs/accountingJournalEntriesUpdate.js.map +1 -1
  148. package/funcs/accountingLedgerAccountsCreate.js +2 -2
  149. package/funcs/accountingLedgerAccountsCreate.js.map +1 -1
  150. package/funcs/accountingLedgerAccountsDelete.js +2 -2
  151. package/funcs/accountingLedgerAccountsDelete.js.map +1 -1
  152. package/funcs/accountingLedgerAccountsGet.js +2 -2
  153. package/funcs/accountingLedgerAccountsGet.js.map +1 -1
  154. package/funcs/accountingLedgerAccountsList.js +2 -2
  155. package/funcs/accountingLedgerAccountsList.js.map +1 -1
  156. package/funcs/accountingLedgerAccountsUpdate.js +2 -2
  157. package/funcs/accountingLedgerAccountsUpdate.js.map +1 -1
  158. package/funcs/accountingLocationsCreate.js +2 -2
  159. package/funcs/accountingLocationsCreate.js.map +1 -1
  160. package/funcs/accountingLocationsDelete.js +2 -2
  161. package/funcs/accountingLocationsDelete.js.map +1 -1
  162. package/funcs/accountingLocationsGet.js +2 -2
  163. package/funcs/accountingLocationsGet.js.map +1 -1
  164. package/funcs/accountingLocationsList.js +2 -2
  165. package/funcs/accountingLocationsList.js.map +1 -1
  166. package/funcs/accountingLocationsUpdate.js +2 -2
  167. package/funcs/accountingLocationsUpdate.js.map +1 -1
  168. package/funcs/accountingPaymentsCreate.js +2 -2
  169. package/funcs/accountingPaymentsCreate.js.map +1 -1
  170. package/funcs/accountingPaymentsDelete.js +2 -2
  171. package/funcs/accountingPaymentsDelete.js.map +1 -1
  172. package/funcs/accountingPaymentsGet.js +2 -2
  173. package/funcs/accountingPaymentsGet.js.map +1 -1
  174. package/funcs/accountingPaymentsList.js +2 -2
  175. package/funcs/accountingPaymentsList.js.map +1 -1
  176. package/funcs/accountingPaymentsUpdate.js +2 -2
  177. package/funcs/accountingPaymentsUpdate.js.map +1 -1
  178. package/funcs/accountingProfitAndLossGet.js +2 -2
  179. package/funcs/accountingProfitAndLossGet.js.map +1 -1
  180. package/funcs/accountingProjectsCreate.d.ts +18 -0
  181. package/funcs/accountingProjectsCreate.d.ts.map +1 -0
  182. package/funcs/accountingProjectsCreate.js +139 -0
  183. package/funcs/accountingProjectsCreate.js.map +1 -0
  184. package/funcs/accountingProjectsDelete.d.ts +18 -0
  185. package/funcs/accountingProjectsDelete.d.ts.map +1 -0
  186. package/funcs/accountingProjectsDelete.js +142 -0
  187. package/funcs/accountingProjectsDelete.js.map +1 -0
  188. package/funcs/accountingProjectsGet.d.ts +18 -0
  189. package/funcs/accountingProjectsGet.d.ts.map +1 -0
  190. package/funcs/accountingProjectsGet.js +144 -0
  191. package/funcs/accountingProjectsGet.js.map +1 -0
  192. package/funcs/accountingProjectsList.d.ts +21 -0
  193. package/funcs/accountingProjectsList.d.ts.map +1 -0
  194. package/funcs/accountingProjectsList.js +170 -0
  195. package/funcs/accountingProjectsList.js.map +1 -0
  196. package/funcs/accountingProjectsUpdate.d.ts +18 -0
  197. package/funcs/accountingProjectsUpdate.d.ts.map +1 -0
  198. package/funcs/accountingProjectsUpdate.js +143 -0
  199. package/funcs/accountingProjectsUpdate.js.map +1 -0
  200. package/funcs/accountingPurchaseOrdersCreate.js +2 -2
  201. package/funcs/accountingPurchaseOrdersCreate.js.map +1 -1
  202. package/funcs/accountingPurchaseOrdersDelete.js +2 -2
  203. package/funcs/accountingPurchaseOrdersDelete.js.map +1 -1
  204. package/funcs/accountingPurchaseOrdersGet.js +2 -2
  205. package/funcs/accountingPurchaseOrdersGet.js.map +1 -1
  206. package/funcs/accountingPurchaseOrdersList.js +2 -2
  207. package/funcs/accountingPurchaseOrdersList.js.map +1 -1
  208. package/funcs/accountingPurchaseOrdersUpdate.js +2 -2
  209. package/funcs/accountingPurchaseOrdersUpdate.js.map +1 -1
  210. package/funcs/accountingQuotesCreate.js +2 -2
  211. package/funcs/accountingQuotesCreate.js.map +1 -1
  212. package/funcs/accountingQuotesDelete.js +2 -2
  213. package/funcs/accountingQuotesDelete.js.map +1 -1
  214. package/funcs/accountingQuotesGet.js +2 -2
  215. package/funcs/accountingQuotesGet.js.map +1 -1
  216. package/funcs/accountingQuotesList.js +2 -2
  217. package/funcs/accountingQuotesList.js.map +1 -1
  218. package/funcs/accountingQuotesUpdate.js +2 -2
  219. package/funcs/accountingQuotesUpdate.js.map +1 -1
  220. package/funcs/accountingSubsidiariesCreate.js +2 -2
  221. package/funcs/accountingSubsidiariesCreate.js.map +1 -1
  222. package/funcs/accountingSubsidiariesDelete.js +2 -2
  223. package/funcs/accountingSubsidiariesDelete.js.map +1 -1
  224. package/funcs/accountingSubsidiariesGet.js +2 -2
  225. package/funcs/accountingSubsidiariesGet.js.map +1 -1
  226. package/funcs/accountingSubsidiariesList.js +2 -2
  227. package/funcs/accountingSubsidiariesList.js.map +1 -1
  228. package/funcs/accountingSubsidiariesUpdate.js +2 -2
  229. package/funcs/accountingSubsidiariesUpdate.js.map +1 -1
  230. package/funcs/accountingSuppliersCreate.js +2 -2
  231. package/funcs/accountingSuppliersCreate.js.map +1 -1
  232. package/funcs/accountingSuppliersDelete.js +2 -2
  233. package/funcs/accountingSuppliersDelete.js.map +1 -1
  234. package/funcs/accountingSuppliersGet.js +2 -2
  235. package/funcs/accountingSuppliersGet.js.map +1 -1
  236. package/funcs/accountingSuppliersList.js +2 -2
  237. package/funcs/accountingSuppliersList.js.map +1 -1
  238. package/funcs/accountingSuppliersUpdate.js +2 -2
  239. package/funcs/accountingSuppliersUpdate.js.map +1 -1
  240. package/funcs/accountingTaxRatesCreate.js +2 -2
  241. package/funcs/accountingTaxRatesCreate.js.map +1 -1
  242. package/funcs/accountingTaxRatesDelete.js +2 -2
  243. package/funcs/accountingTaxRatesDelete.js.map +1 -1
  244. package/funcs/accountingTaxRatesGet.js +2 -2
  245. package/funcs/accountingTaxRatesGet.js.map +1 -1
  246. package/funcs/accountingTaxRatesList.js +2 -2
  247. package/funcs/accountingTaxRatesList.js.map +1 -1
  248. package/funcs/accountingTaxRatesUpdate.js +2 -2
  249. package/funcs/accountingTaxRatesUpdate.js.map +1 -1
  250. package/funcs/accountingTrackingCategoriesCreate.js +2 -2
  251. package/funcs/accountingTrackingCategoriesCreate.js.map +1 -1
  252. package/funcs/accountingTrackingCategoriesDelete.js +2 -2
  253. package/funcs/accountingTrackingCategoriesDelete.js.map +1 -1
  254. package/funcs/accountingTrackingCategoriesGet.js +2 -2
  255. package/funcs/accountingTrackingCategoriesGet.js.map +1 -1
  256. package/funcs/accountingTrackingCategoriesList.js +2 -2
  257. package/funcs/accountingTrackingCategoriesList.js.map +1 -1
  258. package/funcs/accountingTrackingCategoriesUpdate.js +2 -2
  259. package/funcs/accountingTrackingCategoriesUpdate.js.map +1 -1
  260. package/funcs/atsApplicantsCreate.js +2 -2
  261. package/funcs/atsApplicantsCreate.js.map +1 -1
  262. package/funcs/atsApplicantsDelete.js +2 -2
  263. package/funcs/atsApplicantsDelete.js.map +1 -1
  264. package/funcs/atsApplicantsGet.js +2 -2
  265. package/funcs/atsApplicantsGet.js.map +1 -1
  266. package/funcs/atsApplicantsList.js +2 -2
  267. package/funcs/atsApplicantsList.js.map +1 -1
  268. package/funcs/atsApplicantsUpdate.js +2 -2
  269. package/funcs/atsApplicantsUpdate.js.map +1 -1
  270. package/funcs/atsApplicationsCreate.js +2 -2
  271. package/funcs/atsApplicationsCreate.js.map +1 -1
  272. package/funcs/atsApplicationsDelete.js +2 -2
  273. package/funcs/atsApplicationsDelete.js.map +1 -1
  274. package/funcs/atsApplicationsGet.js +2 -2
  275. package/funcs/atsApplicationsGet.js.map +1 -1
  276. package/funcs/atsApplicationsList.js +2 -2
  277. package/funcs/atsApplicationsList.js.map +1 -1
  278. package/funcs/atsApplicationsUpdate.js +2 -2
  279. package/funcs/atsApplicationsUpdate.js.map +1 -1
  280. package/funcs/atsJobsGet.js +2 -2
  281. package/funcs/atsJobsGet.js.map +1 -1
  282. package/funcs/atsJobsList.js +2 -2
  283. package/funcs/atsJobsList.js.map +1 -1
  284. package/funcs/connectorApiResourceCoverageGet.js +2 -2
  285. package/funcs/connectorApiResourceCoverageGet.js.map +1 -1
  286. package/funcs/connectorApiResourcesGet.js +2 -2
  287. package/funcs/connectorApiResourcesGet.js.map +1 -1
  288. package/funcs/connectorApisGet.js +2 -2
  289. package/funcs/connectorApisGet.js.map +1 -1
  290. package/funcs/connectorApisList.js +2 -2
  291. package/funcs/connectorApisList.js.map +1 -1
  292. package/funcs/connectorConnectorDocsGet.js +2 -2
  293. package/funcs/connectorConnectorDocsGet.js.map +1 -1
  294. package/funcs/connectorConnectorResourcesGet.js +2 -2
  295. package/funcs/connectorConnectorResourcesGet.js.map +1 -1
  296. package/funcs/connectorConnectorsGet.js +2 -2
  297. package/funcs/connectorConnectorsGet.js.map +1 -1
  298. package/funcs/connectorConnectorsList.js +2 -2
  299. package/funcs/connectorConnectorsList.js.map +1 -1
  300. package/funcs/crmActivitiesCreate.js +2 -2
  301. package/funcs/crmActivitiesCreate.js.map +1 -1
  302. package/funcs/crmActivitiesDelete.js +2 -2
  303. package/funcs/crmActivitiesDelete.js.map +1 -1
  304. package/funcs/crmActivitiesGet.js +2 -2
  305. package/funcs/crmActivitiesGet.js.map +1 -1
  306. package/funcs/crmActivitiesList.js +2 -2
  307. package/funcs/crmActivitiesList.js.map +1 -1
  308. package/funcs/crmActivitiesUpdate.js +2 -2
  309. package/funcs/crmActivitiesUpdate.js.map +1 -1
  310. package/funcs/crmCompaniesCreate.js +2 -2
  311. package/funcs/crmCompaniesCreate.js.map +1 -1
  312. package/funcs/crmCompaniesDelete.js +2 -2
  313. package/funcs/crmCompaniesDelete.js.map +1 -1
  314. package/funcs/crmCompaniesGet.js +2 -2
  315. package/funcs/crmCompaniesGet.js.map +1 -1
  316. package/funcs/crmCompaniesList.js +2 -2
  317. package/funcs/crmCompaniesList.js.map +1 -1
  318. package/funcs/crmCompaniesUpdate.js +2 -2
  319. package/funcs/crmCompaniesUpdate.js.map +1 -1
  320. package/funcs/crmContactsCreate.js +2 -2
  321. package/funcs/crmContactsCreate.js.map +1 -1
  322. package/funcs/crmContactsDelete.js +2 -2
  323. package/funcs/crmContactsDelete.js.map +1 -1
  324. package/funcs/crmContactsGet.js +2 -2
  325. package/funcs/crmContactsGet.js.map +1 -1
  326. package/funcs/crmContactsList.js +2 -2
  327. package/funcs/crmContactsList.js.map +1 -1
  328. package/funcs/crmContactsUpdate.js +2 -2
  329. package/funcs/crmContactsUpdate.js.map +1 -1
  330. package/funcs/crmCustomObjectSchemasCreate.js +2 -2
  331. package/funcs/crmCustomObjectSchemasCreate.js.map +1 -1
  332. package/funcs/crmCustomObjectSchemasDelete.js +2 -2
  333. package/funcs/crmCustomObjectSchemasDelete.js.map +1 -1
  334. package/funcs/crmCustomObjectSchemasGet.js +2 -2
  335. package/funcs/crmCustomObjectSchemasGet.js.map +1 -1
  336. package/funcs/crmCustomObjectSchemasList.js +2 -2
  337. package/funcs/crmCustomObjectSchemasList.js.map +1 -1
  338. package/funcs/crmCustomObjectSchemasUpdate.js +2 -2
  339. package/funcs/crmCustomObjectSchemasUpdate.js.map +1 -1
  340. package/funcs/crmCustomObjectsCreate.js +2 -2
  341. package/funcs/crmCustomObjectsCreate.js.map +1 -1
  342. package/funcs/crmCustomObjectsDelete.js +2 -2
  343. package/funcs/crmCustomObjectsDelete.js.map +1 -1
  344. package/funcs/crmCustomObjectsGet.js +2 -2
  345. package/funcs/crmCustomObjectsGet.js.map +1 -1
  346. package/funcs/crmCustomObjectsList.js +2 -2
  347. package/funcs/crmCustomObjectsList.js.map +1 -1
  348. package/funcs/crmCustomObjectsUpdate.js +2 -2
  349. package/funcs/crmCustomObjectsUpdate.js.map +1 -1
  350. package/funcs/crmLeadsCreate.js +2 -2
  351. package/funcs/crmLeadsCreate.js.map +1 -1
  352. package/funcs/crmLeadsDelete.js +2 -2
  353. package/funcs/crmLeadsDelete.js.map +1 -1
  354. package/funcs/crmLeadsGet.js +2 -2
  355. package/funcs/crmLeadsGet.js.map +1 -1
  356. package/funcs/crmLeadsList.js +2 -2
  357. package/funcs/crmLeadsList.js.map +1 -1
  358. package/funcs/crmLeadsUpdate.js +2 -2
  359. package/funcs/crmLeadsUpdate.js.map +1 -1
  360. package/funcs/crmNotesCreate.js +2 -2
  361. package/funcs/crmNotesCreate.js.map +1 -1
  362. package/funcs/crmNotesDelete.js +2 -2
  363. package/funcs/crmNotesDelete.js.map +1 -1
  364. package/funcs/crmNotesGet.js +2 -2
  365. package/funcs/crmNotesGet.js.map +1 -1
  366. package/funcs/crmNotesList.js +2 -2
  367. package/funcs/crmNotesList.js.map +1 -1
  368. package/funcs/crmNotesUpdate.js +2 -2
  369. package/funcs/crmNotesUpdate.js.map +1 -1
  370. package/funcs/crmOpportunitiesCreate.js +2 -2
  371. package/funcs/crmOpportunitiesCreate.js.map +1 -1
  372. package/funcs/crmOpportunitiesDelete.js +2 -2
  373. package/funcs/crmOpportunitiesDelete.js.map +1 -1
  374. package/funcs/crmOpportunitiesGet.js +2 -2
  375. package/funcs/crmOpportunitiesGet.js.map +1 -1
  376. package/funcs/crmOpportunitiesList.js +2 -2
  377. package/funcs/crmOpportunitiesList.js.map +1 -1
  378. package/funcs/crmOpportunitiesUpdate.js +2 -2
  379. package/funcs/crmOpportunitiesUpdate.js.map +1 -1
  380. package/funcs/crmPipelinesCreate.js +2 -2
  381. package/funcs/crmPipelinesCreate.js.map +1 -1
  382. package/funcs/crmPipelinesDelete.js +2 -2
  383. package/funcs/crmPipelinesDelete.js.map +1 -1
  384. package/funcs/crmPipelinesGet.js +2 -2
  385. package/funcs/crmPipelinesGet.js.map +1 -1
  386. package/funcs/crmPipelinesList.js +2 -2
  387. package/funcs/crmPipelinesList.js.map +1 -1
  388. package/funcs/crmPipelinesUpdate.js +2 -2
  389. package/funcs/crmPipelinesUpdate.js.map +1 -1
  390. package/funcs/crmUsersCreate.js +2 -2
  391. package/funcs/crmUsersCreate.js.map +1 -1
  392. package/funcs/crmUsersDelete.js +2 -2
  393. package/funcs/crmUsersDelete.js.map +1 -1
  394. package/funcs/crmUsersGet.js +2 -2
  395. package/funcs/crmUsersGet.js.map +1 -1
  396. package/funcs/crmUsersList.js +2 -2
  397. package/funcs/crmUsersList.js.map +1 -1
  398. package/funcs/crmUsersUpdate.js +2 -2
  399. package/funcs/crmUsersUpdate.js.map +1 -1
  400. package/funcs/ecommerceCustomersGet.js +2 -2
  401. package/funcs/ecommerceCustomersGet.js.map +1 -1
  402. package/funcs/ecommerceCustomersList.js +2 -2
  403. package/funcs/ecommerceCustomersList.js.map +1 -1
  404. package/funcs/ecommerceOrdersGet.js +2 -2
  405. package/funcs/ecommerceOrdersGet.js.map +1 -1
  406. package/funcs/ecommerceOrdersList.js +2 -2
  407. package/funcs/ecommerceOrdersList.js.map +1 -1
  408. package/funcs/ecommerceProductsGet.js +2 -2
  409. package/funcs/ecommerceProductsGet.js.map +1 -1
  410. package/funcs/ecommerceProductsList.js +2 -2
  411. package/funcs/ecommerceProductsList.js.map +1 -1
  412. package/funcs/ecommerceStoresGet.js +2 -2
  413. package/funcs/ecommerceStoresGet.js.map +1 -1
  414. package/funcs/fileStorageDriveGroupsCreate.js +2 -2
  415. package/funcs/fileStorageDriveGroupsCreate.js.map +1 -1
  416. package/funcs/fileStorageDriveGroupsDelete.js +2 -2
  417. package/funcs/fileStorageDriveGroupsDelete.js.map +1 -1
  418. package/funcs/fileStorageDriveGroupsGet.js +2 -2
  419. package/funcs/fileStorageDriveGroupsGet.js.map +1 -1
  420. package/funcs/fileStorageDriveGroupsList.js +2 -2
  421. package/funcs/fileStorageDriveGroupsList.js.map +1 -1
  422. package/funcs/fileStorageDriveGroupsUpdate.js +2 -2
  423. package/funcs/fileStorageDriveGroupsUpdate.js.map +1 -1
  424. package/funcs/fileStorageDrivesCreate.js +2 -2
  425. package/funcs/fileStorageDrivesCreate.js.map +1 -1
  426. package/funcs/fileStorageDrivesDelete.js +2 -2
  427. package/funcs/fileStorageDrivesDelete.js.map +1 -1
  428. package/funcs/fileStorageDrivesGet.js +2 -2
  429. package/funcs/fileStorageDrivesGet.js.map +1 -1
  430. package/funcs/fileStorageDrivesList.js +2 -2
  431. package/funcs/fileStorageDrivesList.js.map +1 -1
  432. package/funcs/fileStorageDrivesUpdate.js +2 -2
  433. package/funcs/fileStorageDrivesUpdate.js.map +1 -1
  434. package/funcs/fileStorageFilesDelete.js +2 -2
  435. package/funcs/fileStorageFilesDelete.js.map +1 -1
  436. package/funcs/fileStorageFilesDownload.js +2 -2
  437. package/funcs/fileStorageFilesDownload.js.map +1 -1
  438. package/funcs/fileStorageFilesExport.js +2 -2
  439. package/funcs/fileStorageFilesExport.js.map +1 -1
  440. package/funcs/fileStorageFilesGet.js +2 -2
  441. package/funcs/fileStorageFilesGet.js.map +1 -1
  442. package/funcs/fileStorageFilesList.js +2 -2
  443. package/funcs/fileStorageFilesList.js.map +1 -1
  444. package/funcs/fileStorageFilesSearch.js +2 -2
  445. package/funcs/fileStorageFilesSearch.js.map +1 -1
  446. package/funcs/fileStorageFilesUpdate.js +2 -2
  447. package/funcs/fileStorageFilesUpdate.js.map +1 -1
  448. package/funcs/fileStorageFoldersCopy.js +2 -2
  449. package/funcs/fileStorageFoldersCopy.js.map +1 -1
  450. package/funcs/fileStorageFoldersCreate.js +2 -2
  451. package/funcs/fileStorageFoldersCreate.js.map +1 -1
  452. package/funcs/fileStorageFoldersDelete.js +2 -2
  453. package/funcs/fileStorageFoldersDelete.js.map +1 -1
  454. package/funcs/fileStorageFoldersGet.js +2 -2
  455. package/funcs/fileStorageFoldersGet.js.map +1 -1
  456. package/funcs/fileStorageFoldersUpdate.js +2 -2
  457. package/funcs/fileStorageFoldersUpdate.js.map +1 -1
  458. package/funcs/fileStorageSharedLinksCreate.js +2 -2
  459. package/funcs/fileStorageSharedLinksCreate.js.map +1 -1
  460. package/funcs/fileStorageSharedLinksDelete.js +2 -2
  461. package/funcs/fileStorageSharedLinksDelete.js.map +1 -1
  462. package/funcs/fileStorageSharedLinksGet.js +2 -2
  463. package/funcs/fileStorageSharedLinksGet.js.map +1 -1
  464. package/funcs/fileStorageSharedLinksList.js +2 -2
  465. package/funcs/fileStorageSharedLinksList.js.map +1 -1
  466. package/funcs/fileStorageSharedLinksUpdate.js +2 -2
  467. package/funcs/fileStorageSharedLinksUpdate.js.map +1 -1
  468. package/funcs/fileStorageUploadSessionsCreate.js +2 -2
  469. package/funcs/fileStorageUploadSessionsCreate.js.map +1 -1
  470. package/funcs/fileStorageUploadSessionsDelete.js +2 -2
  471. package/funcs/fileStorageUploadSessionsDelete.js.map +1 -1
  472. package/funcs/fileStorageUploadSessionsFinish.js +2 -2
  473. package/funcs/fileStorageUploadSessionsFinish.js.map +1 -1
  474. package/funcs/fileStorageUploadSessionsGet.js +2 -2
  475. package/funcs/fileStorageUploadSessionsGet.js.map +1 -1
  476. package/funcs/fileStorageUploadSessionsUpload.js +2 -2
  477. package/funcs/fileStorageUploadSessionsUpload.js.map +1 -1
  478. package/funcs/hrisCompaniesCreate.js +2 -2
  479. package/funcs/hrisCompaniesCreate.js.map +1 -1
  480. package/funcs/hrisCompaniesDelete.js +2 -2
  481. package/funcs/hrisCompaniesDelete.js.map +1 -1
  482. package/funcs/hrisCompaniesGet.js +2 -2
  483. package/funcs/hrisCompaniesGet.js.map +1 -1
  484. package/funcs/hrisCompaniesList.js +2 -2
  485. package/funcs/hrisCompaniesList.js.map +1 -1
  486. package/funcs/hrisCompaniesUpdate.js +2 -2
  487. package/funcs/hrisCompaniesUpdate.js.map +1 -1
  488. package/funcs/hrisDepartmentsCreate.js +2 -2
  489. package/funcs/hrisDepartmentsCreate.js.map +1 -1
  490. package/funcs/hrisDepartmentsDelete.js +2 -2
  491. package/funcs/hrisDepartmentsDelete.js.map +1 -1
  492. package/funcs/hrisDepartmentsGet.js +2 -2
  493. package/funcs/hrisDepartmentsGet.js.map +1 -1
  494. package/funcs/hrisDepartmentsList.js +2 -2
  495. package/funcs/hrisDepartmentsList.js.map +1 -1
  496. package/funcs/hrisDepartmentsUpdate.js +2 -2
  497. package/funcs/hrisDepartmentsUpdate.js.map +1 -1
  498. package/funcs/hrisEmployeePayrollsGet.js +2 -2
  499. package/funcs/hrisEmployeePayrollsGet.js.map +1 -1
  500. package/funcs/hrisEmployeePayrollsList.js +2 -2
  501. package/funcs/hrisEmployeePayrollsList.js.map +1 -1
  502. package/funcs/hrisEmployeeSchedulesList.js +2 -2
  503. package/funcs/hrisEmployeeSchedulesList.js.map +1 -1
  504. package/funcs/hrisEmployeesCreate.js +2 -2
  505. package/funcs/hrisEmployeesCreate.js.map +1 -1
  506. package/funcs/hrisEmployeesDelete.js +2 -2
  507. package/funcs/hrisEmployeesDelete.js.map +1 -1
  508. package/funcs/hrisEmployeesGet.js +2 -2
  509. package/funcs/hrisEmployeesGet.js.map +1 -1
  510. package/funcs/hrisEmployeesList.js +2 -2
  511. package/funcs/hrisEmployeesList.js.map +1 -1
  512. package/funcs/hrisEmployeesUpdate.js +2 -2
  513. package/funcs/hrisEmployeesUpdate.js.map +1 -1
  514. package/funcs/hrisPayrollsGet.js +2 -2
  515. package/funcs/hrisPayrollsGet.js.map +1 -1
  516. package/funcs/hrisPayrollsList.js +2 -2
  517. package/funcs/hrisPayrollsList.js.map +1 -1
  518. package/funcs/hrisTimeOffRequestsCreate.js +2 -2
  519. package/funcs/hrisTimeOffRequestsCreate.js.map +1 -1
  520. package/funcs/hrisTimeOffRequestsDelete.js +2 -2
  521. package/funcs/hrisTimeOffRequestsDelete.js.map +1 -1
  522. package/funcs/hrisTimeOffRequestsGet.js +2 -2
  523. package/funcs/hrisTimeOffRequestsGet.js.map +1 -1
  524. package/funcs/hrisTimeOffRequestsList.js +2 -2
  525. package/funcs/hrisTimeOffRequestsList.js.map +1 -1
  526. package/funcs/hrisTimeOffRequestsUpdate.js +2 -2
  527. package/funcs/hrisTimeOffRequestsUpdate.js.map +1 -1
  528. package/funcs/issueTrackingCollectionTagsList.js +2 -2
  529. package/funcs/issueTrackingCollectionTagsList.js.map +1 -1
  530. package/funcs/issueTrackingCollectionTicketCommentsCreate.js +2 -2
  531. package/funcs/issueTrackingCollectionTicketCommentsCreate.js.map +1 -1
  532. package/funcs/issueTrackingCollectionTicketCommentsDelete.js +2 -2
  533. package/funcs/issueTrackingCollectionTicketCommentsDelete.js.map +1 -1
  534. package/funcs/issueTrackingCollectionTicketCommentsGet.js +2 -2
  535. package/funcs/issueTrackingCollectionTicketCommentsGet.js.map +1 -1
  536. package/funcs/issueTrackingCollectionTicketCommentsList.js +2 -2
  537. package/funcs/issueTrackingCollectionTicketCommentsList.js.map +1 -1
  538. package/funcs/issueTrackingCollectionTicketCommentsUpdate.js +2 -2
  539. package/funcs/issueTrackingCollectionTicketCommentsUpdate.js.map +1 -1
  540. package/funcs/issueTrackingCollectionTicketsCreate.js +2 -2
  541. package/funcs/issueTrackingCollectionTicketsCreate.js.map +1 -1
  542. package/funcs/issueTrackingCollectionTicketsDelete.js +2 -2
  543. package/funcs/issueTrackingCollectionTicketsDelete.js.map +1 -1
  544. package/funcs/issueTrackingCollectionTicketsGet.js +2 -2
  545. package/funcs/issueTrackingCollectionTicketsGet.js.map +1 -1
  546. package/funcs/issueTrackingCollectionTicketsList.js +2 -2
  547. package/funcs/issueTrackingCollectionTicketsList.js.map +1 -1
  548. package/funcs/issueTrackingCollectionTicketsUpdate.js +2 -2
  549. package/funcs/issueTrackingCollectionTicketsUpdate.js.map +1 -1
  550. package/funcs/issueTrackingCollectionUsersGet.js +2 -2
  551. package/funcs/issueTrackingCollectionUsersGet.js.map +1 -1
  552. package/funcs/issueTrackingCollectionUsersList.js +2 -2
  553. package/funcs/issueTrackingCollectionUsersList.js.map +1 -1
  554. package/funcs/issueTrackingCollectionsGet.js +2 -2
  555. package/funcs/issueTrackingCollectionsGet.js.map +1 -1
  556. package/funcs/issueTrackingCollectionsList.js +2 -2
  557. package/funcs/issueTrackingCollectionsList.js.map +1 -1
  558. package/funcs/smsMessagesCreate.js +2 -2
  559. package/funcs/smsMessagesCreate.js.map +1 -1
  560. package/funcs/smsMessagesDelete.js +2 -2
  561. package/funcs/smsMessagesDelete.js.map +1 -1
  562. package/funcs/smsMessagesGet.js +2 -2
  563. package/funcs/smsMessagesGet.js.map +1 -1
  564. package/funcs/smsMessagesList.js +2 -2
  565. package/funcs/smsMessagesList.js.map +1 -1
  566. package/funcs/smsMessagesUpdate.js +2 -2
  567. package/funcs/smsMessagesUpdate.js.map +1 -1
  568. package/funcs/vaultConnectionConsentUpdate.js +2 -2
  569. package/funcs/vaultConnectionConsentUpdate.js.map +1 -1
  570. package/funcs/vaultConnectionConsentsList.js +2 -2
  571. package/funcs/vaultConnectionConsentsList.js.map +1 -1
  572. package/funcs/vaultConnectionCustomMappingsList.js +2 -2
  573. package/funcs/vaultConnectionCustomMappingsList.js.map +1 -1
  574. package/funcs/vaultConnectionSettingsList.js +2 -2
  575. package/funcs/vaultConnectionSettingsList.js.map +1 -1
  576. package/funcs/vaultConnectionSettingsUpdate.js +2 -2
  577. package/funcs/vaultConnectionSettingsUpdate.js.map +1 -1
  578. package/funcs/vaultConnectionsDelete.js +2 -2
  579. package/funcs/vaultConnectionsDelete.js.map +1 -1
  580. package/funcs/vaultConnectionsGet.js +2 -2
  581. package/funcs/vaultConnectionsGet.js.map +1 -1
  582. package/funcs/vaultConnectionsImports.js +2 -2
  583. package/funcs/vaultConnectionsImports.js.map +1 -1
  584. package/funcs/vaultConnectionsList.js +2 -2
  585. package/funcs/vaultConnectionsList.js.map +1 -1
  586. package/funcs/vaultConnectionsToken.js +2 -2
  587. package/funcs/vaultConnectionsToken.js.map +1 -1
  588. package/funcs/vaultConnectionsUpdate.js +2 -2
  589. package/funcs/vaultConnectionsUpdate.js.map +1 -1
  590. package/funcs/vaultConsumerRequestCountsList.js +2 -2
  591. package/funcs/vaultConsumerRequestCountsList.js.map +1 -1
  592. package/funcs/vaultConsumersCreate.js +2 -2
  593. package/funcs/vaultConsumersCreate.js.map +1 -1
  594. package/funcs/vaultConsumersDelete.js +2 -2
  595. package/funcs/vaultConsumersDelete.js.map +1 -1
  596. package/funcs/vaultConsumersGet.js +2 -2
  597. package/funcs/vaultConsumersGet.js.map +1 -1
  598. package/funcs/vaultConsumersList.js +2 -2
  599. package/funcs/vaultConsumersList.js.map +1 -1
  600. package/funcs/vaultConsumersUpdate.js +2 -2
  601. package/funcs/vaultConsumersUpdate.js.map +1 -1
  602. package/funcs/vaultCreateCallbackState.js +2 -2
  603. package/funcs/vaultCreateCallbackState.js.map +1 -1
  604. package/funcs/vaultCustomFieldsList.js +2 -2
  605. package/funcs/vaultCustomFieldsList.js.map +1 -1
  606. package/funcs/vaultCustomMappingsList.js +2 -2
  607. package/funcs/vaultCustomMappingsList.js.map +1 -1
  608. package/funcs/vaultLogsList.js +2 -2
  609. package/funcs/vaultLogsList.js.map +1 -1
  610. package/funcs/vaultSessionsCreate.js +2 -2
  611. package/funcs/vaultSessionsCreate.js.map +1 -1
  612. package/funcs/vaultValidateConnectionState.js +2 -2
  613. package/funcs/vaultValidateConnectionState.js.map +1 -1
  614. package/funcs/webhookEventLogsList.js +2 -2
  615. package/funcs/webhookEventLogsList.js.map +1 -1
  616. package/funcs/webhookWebhooksCreate.js +2 -2
  617. package/funcs/webhookWebhooksCreate.js.map +1 -1
  618. package/funcs/webhookWebhooksDelete.js +2 -2
  619. package/funcs/webhookWebhooksDelete.js.map +1 -1
  620. package/funcs/webhookWebhooksGet.js +2 -2
  621. package/funcs/webhookWebhooksGet.js.map +1 -1
  622. package/funcs/webhookWebhooksList.js +2 -2
  623. package/funcs/webhookWebhooksList.js.map +1 -1
  624. package/funcs/webhookWebhooksUpdate.js +2 -2
  625. package/funcs/webhookWebhooksUpdate.js.map +1 -1
  626. package/jsr.json +1 -1
  627. package/lib/config.d.ts +4 -4
  628. package/lib/config.js +4 -4
  629. package/lib/config.js.map +1 -1
  630. package/lib/url.js +1 -1
  631. package/lib/url.js.map +1 -1
  632. package/models/components/address.d.ts +5 -0
  633. package/models/components/address.d.ts.map +1 -1
  634. package/models/components/address.js +2 -0
  635. package/models/components/address.js.map +1 -1
  636. package/models/components/balancebytransaction.d.ts +8 -8
  637. package/models/components/balancebytransaction.d.ts.map +1 -1
  638. package/models/components/balancebytransaction.js +15 -13
  639. package/models/components/balancebytransaction.js.map +1 -1
  640. package/models/components/categoriesfilter.d.ts +3 -0
  641. package/models/components/categoriesfilter.d.ts.map +1 -1
  642. package/models/components/categoriesfilter.js +1 -0
  643. package/models/components/categoriesfilter.js.map +1 -1
  644. package/models/components/category.d.ts +3 -0
  645. package/models/components/category.d.ts.map +1 -1
  646. package/models/components/category.js +1 -0
  647. package/models/components/category.js.map +1 -1
  648. package/models/components/createprojectresponse.d.ts +61 -0
  649. package/models/components/createprojectresponse.d.ts.map +1 -0
  650. package/models/components/createprojectresponse.js +89 -0
  651. package/models/components/createprojectresponse.js.map +1 -0
  652. package/models/components/customer.d.ts +20 -0
  653. package/models/components/customer.d.ts.map +1 -1
  654. package/models/components/customer.js +12 -0
  655. package/models/components/customer.js.map +1 -1
  656. package/models/components/deleteprojectresponse.d.ts +61 -0
  657. package/models/components/deleteprojectresponse.d.ts.map +1 -0
  658. package/models/components/deleteprojectresponse.js +89 -0
  659. package/models/components/deleteprojectresponse.js.map +1 -0
  660. package/models/components/getprojectresponse.d.ts +58 -0
  661. package/models/components/getprojectresponse.d.ts.map +1 -0
  662. package/models/components/getprojectresponse.js +89 -0
  663. package/models/components/getprojectresponse.js.map +1 -0
  664. package/models/components/getprojectsresponse.d.ts +70 -0
  665. package/models/components/getprojectsresponse.d.ts.map +1 -0
  666. package/models/components/getprojectsresponse.js +95 -0
  667. package/models/components/getprojectsresponse.js.map +1 -0
  668. package/models/components/index.d.ts +8 -0
  669. package/models/components/index.d.ts.map +1 -1
  670. package/models/components/index.js +8 -0
  671. package/models/components/index.js.map +1 -1
  672. package/models/components/invoiceitemfilter.d.ts +36 -0
  673. package/models/components/invoiceitemfilter.d.ts.map +1 -1
  674. package/models/components/invoiceitemfilter.js +36 -1
  675. package/models/components/invoiceitemfilter.js.map +1 -1
  676. package/models/components/invoiceitemsfilter.d.ts +36 -0
  677. package/models/components/invoiceitemsfilter.d.ts.map +1 -1
  678. package/models/components/invoiceitemsfilter.js +34 -1
  679. package/models/components/invoiceitemsfilter.js.map +1 -1
  680. package/models/components/invoicelineitem.d.ts +11 -0
  681. package/models/components/invoicelineitem.d.ts.map +1 -1
  682. package/models/components/invoicelineitem.js +13 -0
  683. package/models/components/invoicelineitem.js.map +1 -1
  684. package/models/components/invoicesfilter.d.ts +5 -0
  685. package/models/components/invoicesfilter.d.ts.map +1 -1
  686. package/models/components/invoicesfilter.js +4 -0
  687. package/models/components/invoicesfilter.js.map +1 -1
  688. package/models/components/journalentry.d.ts +35 -0
  689. package/models/components/journalentry.d.ts.map +1 -1
  690. package/models/components/journalentry.js +28 -0
  691. package/models/components/journalentry.js.map +1 -1
  692. package/models/components/journalentrylineitem.d.ts +11 -0
  693. package/models/components/journalentrylineitem.d.ts.map +1 -1
  694. package/models/components/journalentrylineitem.js +5 -0
  695. package/models/components/journalentrylineitem.js.map +1 -1
  696. package/models/components/ledgeraccount.d.ts +33 -33
  697. package/models/components/ledgeraccount.js +11 -11
  698. package/models/components/ledgeraccount.js.map +1 -1
  699. package/models/components/linkedledgeraccount.d.ts +5 -0
  700. package/models/components/linkedledgeraccount.d.ts.map +1 -1
  701. package/models/components/linkedledgeraccount.js +4 -0
  702. package/models/components/linkedledgeraccount.js.map +1 -1
  703. package/models/components/linkedledgeraccountinput.d.ts +5 -0
  704. package/models/components/linkedledgeraccountinput.d.ts.map +1 -1
  705. package/models/components/linkedledgeraccountinput.js +4 -0
  706. package/models/components/linkedledgeraccountinput.js.map +1 -1
  707. package/models/components/project.d.ts +759 -0
  708. package/models/components/project.d.ts.map +1 -0
  709. package/models/components/project.js +602 -0
  710. package/models/components/project.js.map +1 -0
  711. package/models/components/projectsfilter.d.ts +88 -0
  712. package/models/components/projectsfilter.d.ts.map +1 -0
  713. package/models/components/projectsfilter.js +111 -0
  714. package/models/components/projectsfilter.js.map +1 -0
  715. package/models/components/projectssort.d.ts +88 -0
  716. package/models/components/projectssort.d.ts.map +1 -0
  717. package/models/components/projectssort.js +100 -0
  718. package/models/components/projectssort.js.map +1 -0
  719. package/models/components/quotelineitem.d.ts +11 -0
  720. package/models/components/quotelineitem.d.ts.map +1 -1
  721. package/models/components/quotelineitem.js +13 -0
  722. package/models/components/quotelineitem.js.map +1 -1
  723. package/models/components/ticket.d.ts +9 -9
  724. package/models/components/ticket.d.ts.map +1 -1
  725. package/models/components/ticket.js +15 -16
  726. package/models/components/ticket.js.map +1 -1
  727. package/models/components/updateprojectresponse.d.ts +61 -0
  728. package/models/components/updateprojectresponse.d.ts.map +1 -0
  729. package/models/components/updateprojectresponse.js +89 -0
  730. package/models/components/updateprojectresponse.js.map +1 -0
  731. package/models/components/webhookeventtype.d.ts +9 -0
  732. package/models/components/webhookeventtype.d.ts.map +1 -1
  733. package/models/components/webhookeventtype.js +3 -0
  734. package/models/components/webhookeventtype.js.map +1 -1
  735. package/models/operations/accountingprojectsadd.d.ts +118 -0
  736. package/models/operations/accountingprojectsadd.d.ts.map +1 -0
  737. package/models/operations/accountingprojectsadd.js +163 -0
  738. package/models/operations/accountingprojectsadd.js.map +1 -0
  739. package/models/operations/accountingprojectsall.d.ts +150 -0
  740. package/models/operations/accountingprojectsall.d.ts.map +1 -0
  741. package/models/operations/accountingprojectsall.js +171 -0
  742. package/models/operations/accountingprojectsall.js.map +1 -0
  743. package/models/operations/accountingprojectsdelete.d.ts +121 -0
  744. package/models/operations/accountingprojectsdelete.d.ts.map +1 -0
  745. package/models/operations/accountingprojectsdelete.js +155 -0
  746. package/models/operations/accountingprojectsdelete.js.map +1 -0
  747. package/models/operations/accountingprojectsone.d.ts +121 -0
  748. package/models/operations/accountingprojectsone.d.ts.map +1 -0
  749. package/models/operations/accountingprojectsone.js +153 -0
  750. package/models/operations/accountingprojectsone.js.map +1 -0
  751. package/models/operations/accountingprojectsupdate.d.ts +123 -0
  752. package/models/operations/accountingprojectsupdate.d.ts.map +1 -0
  753. package/models/operations/accountingprojectsupdate.js +165 -0
  754. package/models/operations/accountingprojectsupdate.js.map +1 -0
  755. package/models/operations/index.d.ts +5 -0
  756. package/models/operations/index.d.ts.map +1 -1
  757. package/models/operations/index.js +5 -0
  758. package/models/operations/index.js.map +1 -1
  759. package/package.json +1 -1
  760. package/sdk/accounting.d.ts +3 -0
  761. package/sdk/accounting.d.ts.map +1 -1
  762. package/sdk/accounting.js +4 -0
  763. package/sdk/accounting.js.map +1 -1
  764. package/sdk/projects.d.ts +43 -0
  765. package/sdk/projects.d.ts.map +1 -0
  766. package/sdk/projects.js +63 -0
  767. package/sdk/projects.js.map +1 -0
  768. package/src/__tests__/projects.test.ts +471 -0
  769. package/src/__tests__/quotes.test.ts +6 -0
  770. package/src/funcs/accountingAgedCreditorsGet.ts +2 -2
  771. package/src/funcs/accountingAgedDebtorsGet.ts +2 -2
  772. package/src/funcs/accountingAttachmentsDelete.ts +2 -2
  773. package/src/funcs/accountingAttachmentsDownload.ts +2 -2
  774. package/src/funcs/accountingAttachmentsGet.ts +2 -2
  775. package/src/funcs/accountingAttachmentsList.ts +2 -2
  776. package/src/funcs/accountingAttachmentsUpload.ts +2 -2
  777. package/src/funcs/accountingBalanceSheetGet.ts +2 -2
  778. package/src/funcs/accountingBankAccountsCreate.ts +2 -2
  779. package/src/funcs/accountingBankAccountsDelete.ts +2 -2
  780. package/src/funcs/accountingBankAccountsGet.ts +2 -2
  781. package/src/funcs/accountingBankAccountsList.ts +2 -2
  782. package/src/funcs/accountingBankAccountsUpdate.ts +2 -2
  783. package/src/funcs/accountingBankFeedAccountsCreate.ts +2 -2
  784. package/src/funcs/accountingBankFeedAccountsDelete.ts +2 -2
  785. package/src/funcs/accountingBankFeedAccountsGet.ts +2 -2
  786. package/src/funcs/accountingBankFeedAccountsList.ts +2 -2
  787. package/src/funcs/accountingBankFeedAccountsUpdate.ts +2 -2
  788. package/src/funcs/accountingBankFeedStatementsCreate.ts +2 -2
  789. package/src/funcs/accountingBankFeedStatementsDelete.ts +2 -2
  790. package/src/funcs/accountingBankFeedStatementsGet.ts +2 -2
  791. package/src/funcs/accountingBankFeedStatementsList.ts +2 -2
  792. package/src/funcs/accountingBankFeedStatementsUpdate.ts +2 -2
  793. package/src/funcs/accountingBillPaymentsCreate.ts +2 -2
  794. package/src/funcs/accountingBillPaymentsDelete.ts +2 -2
  795. package/src/funcs/accountingBillPaymentsGet.ts +2 -2
  796. package/src/funcs/accountingBillPaymentsList.ts +2 -2
  797. package/src/funcs/accountingBillPaymentsUpdate.ts +2 -2
  798. package/src/funcs/accountingBillsCreate.ts +2 -2
  799. package/src/funcs/accountingBillsDelete.ts +2 -2
  800. package/src/funcs/accountingBillsGet.ts +2 -2
  801. package/src/funcs/accountingBillsList.ts +2 -2
  802. package/src/funcs/accountingBillsUpdate.ts +2 -2
  803. package/src/funcs/accountingCategoriesGet.ts +2 -2
  804. package/src/funcs/accountingCategoriesList.ts +2 -2
  805. package/src/funcs/accountingCompanyInfoGet.ts +2 -2
  806. package/src/funcs/accountingCreditNotesCreate.ts +2 -2
  807. package/src/funcs/accountingCreditNotesDelete.ts +2 -2
  808. package/src/funcs/accountingCreditNotesGet.ts +2 -2
  809. package/src/funcs/accountingCreditNotesList.ts +2 -2
  810. package/src/funcs/accountingCreditNotesUpdate.ts +2 -2
  811. package/src/funcs/accountingCustomersCreate.ts +2 -2
  812. package/src/funcs/accountingCustomersDelete.ts +2 -2
  813. package/src/funcs/accountingCustomersGet.ts +2 -2
  814. package/src/funcs/accountingCustomersList.ts +2 -2
  815. package/src/funcs/accountingCustomersUpdate.ts +2 -2
  816. package/src/funcs/accountingDepartmentsCreate.ts +2 -2
  817. package/src/funcs/accountingDepartmentsDelete.ts +2 -2
  818. package/src/funcs/accountingDepartmentsGet.ts +2 -2
  819. package/src/funcs/accountingDepartmentsList.ts +2 -2
  820. package/src/funcs/accountingDepartmentsUpdate.ts +2 -2
  821. package/src/funcs/accountingExpensesCreate.ts +2 -2
  822. package/src/funcs/accountingExpensesDelete.ts +2 -2
  823. package/src/funcs/accountingExpensesGet.ts +2 -2
  824. package/src/funcs/accountingExpensesList.ts +2 -2
  825. package/src/funcs/accountingExpensesUpdate.ts +2 -2
  826. package/src/funcs/accountingInvoiceItemsCreate.ts +2 -2
  827. package/src/funcs/accountingInvoiceItemsDelete.ts +2 -2
  828. package/src/funcs/accountingInvoiceItemsGet.ts +2 -2
  829. package/src/funcs/accountingInvoiceItemsList.ts +2 -2
  830. package/src/funcs/accountingInvoiceItemsUpdate.ts +2 -2
  831. package/src/funcs/accountingInvoicesCreate.ts +2 -2
  832. package/src/funcs/accountingInvoicesDelete.ts +2 -2
  833. package/src/funcs/accountingInvoicesGet.ts +2 -2
  834. package/src/funcs/accountingInvoicesList.ts +2 -2
  835. package/src/funcs/accountingInvoicesUpdate.ts +2 -2
  836. package/src/funcs/accountingJournalEntriesCreate.ts +2 -2
  837. package/src/funcs/accountingJournalEntriesDelete.ts +2 -2
  838. package/src/funcs/accountingJournalEntriesGet.ts +2 -2
  839. package/src/funcs/accountingJournalEntriesList.ts +2 -2
  840. package/src/funcs/accountingJournalEntriesUpdate.ts +2 -2
  841. package/src/funcs/accountingLedgerAccountsCreate.ts +2 -2
  842. package/src/funcs/accountingLedgerAccountsDelete.ts +2 -2
  843. package/src/funcs/accountingLedgerAccountsGet.ts +2 -2
  844. package/src/funcs/accountingLedgerAccountsList.ts +2 -2
  845. package/src/funcs/accountingLedgerAccountsUpdate.ts +2 -2
  846. package/src/funcs/accountingLocationsCreate.ts +2 -2
  847. package/src/funcs/accountingLocationsDelete.ts +2 -2
  848. package/src/funcs/accountingLocationsGet.ts +2 -2
  849. package/src/funcs/accountingLocationsList.ts +2 -2
  850. package/src/funcs/accountingLocationsUpdate.ts +2 -2
  851. package/src/funcs/accountingPaymentsCreate.ts +2 -2
  852. package/src/funcs/accountingPaymentsDelete.ts +2 -2
  853. package/src/funcs/accountingPaymentsGet.ts +2 -2
  854. package/src/funcs/accountingPaymentsList.ts +2 -2
  855. package/src/funcs/accountingPaymentsUpdate.ts +2 -2
  856. package/src/funcs/accountingProfitAndLossGet.ts +2 -2
  857. package/src/funcs/accountingProjectsCreate.ts +221 -0
  858. package/src/funcs/accountingProjectsDelete.ts +229 -0
  859. package/src/funcs/accountingProjectsGet.ts +227 -0
  860. package/src/funcs/accountingProjectsList.ts +301 -0
  861. package/src/funcs/accountingProjectsUpdate.ts +230 -0
  862. package/src/funcs/accountingPurchaseOrdersCreate.ts +2 -2
  863. package/src/funcs/accountingPurchaseOrdersDelete.ts +2 -2
  864. package/src/funcs/accountingPurchaseOrdersGet.ts +2 -2
  865. package/src/funcs/accountingPurchaseOrdersList.ts +2 -2
  866. package/src/funcs/accountingPurchaseOrdersUpdate.ts +2 -2
  867. package/src/funcs/accountingQuotesCreate.ts +2 -2
  868. package/src/funcs/accountingQuotesDelete.ts +2 -2
  869. package/src/funcs/accountingQuotesGet.ts +2 -2
  870. package/src/funcs/accountingQuotesList.ts +2 -2
  871. package/src/funcs/accountingQuotesUpdate.ts +2 -2
  872. package/src/funcs/accountingSubsidiariesCreate.ts +2 -2
  873. package/src/funcs/accountingSubsidiariesDelete.ts +2 -2
  874. package/src/funcs/accountingSubsidiariesGet.ts +2 -2
  875. package/src/funcs/accountingSubsidiariesList.ts +2 -2
  876. package/src/funcs/accountingSubsidiariesUpdate.ts +2 -2
  877. package/src/funcs/accountingSuppliersCreate.ts +2 -2
  878. package/src/funcs/accountingSuppliersDelete.ts +2 -2
  879. package/src/funcs/accountingSuppliersGet.ts +2 -2
  880. package/src/funcs/accountingSuppliersList.ts +2 -2
  881. package/src/funcs/accountingSuppliersUpdate.ts +2 -2
  882. package/src/funcs/accountingTaxRatesCreate.ts +2 -2
  883. package/src/funcs/accountingTaxRatesDelete.ts +2 -2
  884. package/src/funcs/accountingTaxRatesGet.ts +2 -2
  885. package/src/funcs/accountingTaxRatesList.ts +2 -2
  886. package/src/funcs/accountingTaxRatesUpdate.ts +2 -2
  887. package/src/funcs/accountingTrackingCategoriesCreate.ts +2 -2
  888. package/src/funcs/accountingTrackingCategoriesDelete.ts +2 -2
  889. package/src/funcs/accountingTrackingCategoriesGet.ts +2 -2
  890. package/src/funcs/accountingTrackingCategoriesList.ts +2 -2
  891. package/src/funcs/accountingTrackingCategoriesUpdate.ts +2 -2
  892. package/src/funcs/atsApplicantsCreate.ts +2 -2
  893. package/src/funcs/atsApplicantsDelete.ts +2 -2
  894. package/src/funcs/atsApplicantsGet.ts +2 -2
  895. package/src/funcs/atsApplicantsList.ts +2 -2
  896. package/src/funcs/atsApplicantsUpdate.ts +2 -2
  897. package/src/funcs/atsApplicationsCreate.ts +2 -2
  898. package/src/funcs/atsApplicationsDelete.ts +2 -2
  899. package/src/funcs/atsApplicationsGet.ts +2 -2
  900. package/src/funcs/atsApplicationsList.ts +2 -2
  901. package/src/funcs/atsApplicationsUpdate.ts +2 -2
  902. package/src/funcs/atsJobsGet.ts +2 -2
  903. package/src/funcs/atsJobsList.ts +2 -2
  904. package/src/funcs/connectorApiResourceCoverageGet.ts +2 -2
  905. package/src/funcs/connectorApiResourcesGet.ts +2 -2
  906. package/src/funcs/connectorApisGet.ts +2 -2
  907. package/src/funcs/connectorApisList.ts +2 -2
  908. package/src/funcs/connectorConnectorDocsGet.ts +2 -2
  909. package/src/funcs/connectorConnectorResourcesGet.ts +2 -2
  910. package/src/funcs/connectorConnectorsGet.ts +2 -2
  911. package/src/funcs/connectorConnectorsList.ts +2 -2
  912. package/src/funcs/crmActivitiesCreate.ts +2 -2
  913. package/src/funcs/crmActivitiesDelete.ts +2 -2
  914. package/src/funcs/crmActivitiesGet.ts +2 -2
  915. package/src/funcs/crmActivitiesList.ts +2 -2
  916. package/src/funcs/crmActivitiesUpdate.ts +2 -2
  917. package/src/funcs/crmCompaniesCreate.ts +2 -2
  918. package/src/funcs/crmCompaniesDelete.ts +2 -2
  919. package/src/funcs/crmCompaniesGet.ts +2 -2
  920. package/src/funcs/crmCompaniesList.ts +2 -2
  921. package/src/funcs/crmCompaniesUpdate.ts +2 -2
  922. package/src/funcs/crmContactsCreate.ts +2 -2
  923. package/src/funcs/crmContactsDelete.ts +2 -2
  924. package/src/funcs/crmContactsGet.ts +2 -2
  925. package/src/funcs/crmContactsList.ts +2 -2
  926. package/src/funcs/crmContactsUpdate.ts +2 -2
  927. package/src/funcs/crmCustomObjectSchemasCreate.ts +2 -2
  928. package/src/funcs/crmCustomObjectSchemasDelete.ts +2 -2
  929. package/src/funcs/crmCustomObjectSchemasGet.ts +2 -2
  930. package/src/funcs/crmCustomObjectSchemasList.ts +2 -2
  931. package/src/funcs/crmCustomObjectSchemasUpdate.ts +2 -2
  932. package/src/funcs/crmCustomObjectsCreate.ts +2 -2
  933. package/src/funcs/crmCustomObjectsDelete.ts +2 -2
  934. package/src/funcs/crmCustomObjectsGet.ts +2 -2
  935. package/src/funcs/crmCustomObjectsList.ts +2 -2
  936. package/src/funcs/crmCustomObjectsUpdate.ts +2 -2
  937. package/src/funcs/crmLeadsCreate.ts +2 -2
  938. package/src/funcs/crmLeadsDelete.ts +2 -2
  939. package/src/funcs/crmLeadsGet.ts +2 -2
  940. package/src/funcs/crmLeadsList.ts +2 -2
  941. package/src/funcs/crmLeadsUpdate.ts +2 -2
  942. package/src/funcs/crmNotesCreate.ts +2 -2
  943. package/src/funcs/crmNotesDelete.ts +2 -2
  944. package/src/funcs/crmNotesGet.ts +2 -2
  945. package/src/funcs/crmNotesList.ts +2 -2
  946. package/src/funcs/crmNotesUpdate.ts +2 -2
  947. package/src/funcs/crmOpportunitiesCreate.ts +2 -2
  948. package/src/funcs/crmOpportunitiesDelete.ts +2 -2
  949. package/src/funcs/crmOpportunitiesGet.ts +2 -2
  950. package/src/funcs/crmOpportunitiesList.ts +2 -2
  951. package/src/funcs/crmOpportunitiesUpdate.ts +2 -2
  952. package/src/funcs/crmPipelinesCreate.ts +2 -2
  953. package/src/funcs/crmPipelinesDelete.ts +2 -2
  954. package/src/funcs/crmPipelinesGet.ts +2 -2
  955. package/src/funcs/crmPipelinesList.ts +2 -2
  956. package/src/funcs/crmPipelinesUpdate.ts +2 -2
  957. package/src/funcs/crmUsersCreate.ts +2 -2
  958. package/src/funcs/crmUsersDelete.ts +2 -2
  959. package/src/funcs/crmUsersGet.ts +2 -2
  960. package/src/funcs/crmUsersList.ts +2 -2
  961. package/src/funcs/crmUsersUpdate.ts +2 -2
  962. package/src/funcs/ecommerceCustomersGet.ts +2 -2
  963. package/src/funcs/ecommerceCustomersList.ts +2 -2
  964. package/src/funcs/ecommerceOrdersGet.ts +2 -2
  965. package/src/funcs/ecommerceOrdersList.ts +2 -2
  966. package/src/funcs/ecommerceProductsGet.ts +2 -2
  967. package/src/funcs/ecommerceProductsList.ts +2 -2
  968. package/src/funcs/ecommerceStoresGet.ts +2 -2
  969. package/src/funcs/fileStorageDriveGroupsCreate.ts +2 -2
  970. package/src/funcs/fileStorageDriveGroupsDelete.ts +2 -2
  971. package/src/funcs/fileStorageDriveGroupsGet.ts +2 -2
  972. package/src/funcs/fileStorageDriveGroupsList.ts +2 -2
  973. package/src/funcs/fileStorageDriveGroupsUpdate.ts +2 -2
  974. package/src/funcs/fileStorageDrivesCreate.ts +2 -2
  975. package/src/funcs/fileStorageDrivesDelete.ts +2 -2
  976. package/src/funcs/fileStorageDrivesGet.ts +2 -2
  977. package/src/funcs/fileStorageDrivesList.ts +2 -2
  978. package/src/funcs/fileStorageDrivesUpdate.ts +2 -2
  979. package/src/funcs/fileStorageFilesDelete.ts +2 -2
  980. package/src/funcs/fileStorageFilesDownload.ts +2 -2
  981. package/src/funcs/fileStorageFilesExport.ts +2 -2
  982. package/src/funcs/fileStorageFilesGet.ts +2 -2
  983. package/src/funcs/fileStorageFilesList.ts +2 -2
  984. package/src/funcs/fileStorageFilesSearch.ts +2 -2
  985. package/src/funcs/fileStorageFilesUpdate.ts +2 -2
  986. package/src/funcs/fileStorageFoldersCopy.ts +2 -2
  987. package/src/funcs/fileStorageFoldersCreate.ts +2 -2
  988. package/src/funcs/fileStorageFoldersDelete.ts +2 -2
  989. package/src/funcs/fileStorageFoldersGet.ts +2 -2
  990. package/src/funcs/fileStorageFoldersUpdate.ts +2 -2
  991. package/src/funcs/fileStorageSharedLinksCreate.ts +2 -2
  992. package/src/funcs/fileStorageSharedLinksDelete.ts +2 -2
  993. package/src/funcs/fileStorageSharedLinksGet.ts +2 -2
  994. package/src/funcs/fileStorageSharedLinksList.ts +2 -2
  995. package/src/funcs/fileStorageSharedLinksUpdate.ts +2 -2
  996. package/src/funcs/fileStorageUploadSessionsCreate.ts +2 -2
  997. package/src/funcs/fileStorageUploadSessionsDelete.ts +2 -2
  998. package/src/funcs/fileStorageUploadSessionsFinish.ts +2 -2
  999. package/src/funcs/fileStorageUploadSessionsGet.ts +2 -2
  1000. package/src/funcs/fileStorageUploadSessionsUpload.ts +2 -2
  1001. package/src/funcs/hrisCompaniesCreate.ts +2 -2
  1002. package/src/funcs/hrisCompaniesDelete.ts +2 -2
  1003. package/src/funcs/hrisCompaniesGet.ts +2 -2
  1004. package/src/funcs/hrisCompaniesList.ts +2 -2
  1005. package/src/funcs/hrisCompaniesUpdate.ts +2 -2
  1006. package/src/funcs/hrisDepartmentsCreate.ts +2 -2
  1007. package/src/funcs/hrisDepartmentsDelete.ts +2 -2
  1008. package/src/funcs/hrisDepartmentsGet.ts +2 -2
  1009. package/src/funcs/hrisDepartmentsList.ts +2 -2
  1010. package/src/funcs/hrisDepartmentsUpdate.ts +2 -2
  1011. package/src/funcs/hrisEmployeePayrollsGet.ts +2 -2
  1012. package/src/funcs/hrisEmployeePayrollsList.ts +2 -2
  1013. package/src/funcs/hrisEmployeeSchedulesList.ts +2 -2
  1014. package/src/funcs/hrisEmployeesCreate.ts +2 -2
  1015. package/src/funcs/hrisEmployeesDelete.ts +2 -2
  1016. package/src/funcs/hrisEmployeesGet.ts +2 -2
  1017. package/src/funcs/hrisEmployeesList.ts +2 -2
  1018. package/src/funcs/hrisEmployeesUpdate.ts +2 -2
  1019. package/src/funcs/hrisPayrollsGet.ts +2 -2
  1020. package/src/funcs/hrisPayrollsList.ts +2 -2
  1021. package/src/funcs/hrisTimeOffRequestsCreate.ts +2 -2
  1022. package/src/funcs/hrisTimeOffRequestsDelete.ts +2 -2
  1023. package/src/funcs/hrisTimeOffRequestsGet.ts +2 -2
  1024. package/src/funcs/hrisTimeOffRequestsList.ts +2 -2
  1025. package/src/funcs/hrisTimeOffRequestsUpdate.ts +2 -2
  1026. package/src/funcs/issueTrackingCollectionTagsList.ts +2 -2
  1027. package/src/funcs/issueTrackingCollectionTicketCommentsCreate.ts +2 -2
  1028. package/src/funcs/issueTrackingCollectionTicketCommentsDelete.ts +2 -2
  1029. package/src/funcs/issueTrackingCollectionTicketCommentsGet.ts +2 -2
  1030. package/src/funcs/issueTrackingCollectionTicketCommentsList.ts +2 -2
  1031. package/src/funcs/issueTrackingCollectionTicketCommentsUpdate.ts +2 -2
  1032. package/src/funcs/issueTrackingCollectionTicketsCreate.ts +2 -2
  1033. package/src/funcs/issueTrackingCollectionTicketsDelete.ts +2 -2
  1034. package/src/funcs/issueTrackingCollectionTicketsGet.ts +2 -2
  1035. package/src/funcs/issueTrackingCollectionTicketsList.ts +2 -2
  1036. package/src/funcs/issueTrackingCollectionTicketsUpdate.ts +2 -2
  1037. package/src/funcs/issueTrackingCollectionUsersGet.ts +2 -2
  1038. package/src/funcs/issueTrackingCollectionUsersList.ts +2 -2
  1039. package/src/funcs/issueTrackingCollectionsGet.ts +2 -2
  1040. package/src/funcs/issueTrackingCollectionsList.ts +2 -2
  1041. package/src/funcs/smsMessagesCreate.ts +2 -2
  1042. package/src/funcs/smsMessagesDelete.ts +2 -2
  1043. package/src/funcs/smsMessagesGet.ts +2 -2
  1044. package/src/funcs/smsMessagesList.ts +2 -2
  1045. package/src/funcs/smsMessagesUpdate.ts +2 -2
  1046. package/src/funcs/vaultConnectionConsentUpdate.ts +2 -2
  1047. package/src/funcs/vaultConnectionConsentsList.ts +2 -2
  1048. package/src/funcs/vaultConnectionCustomMappingsList.ts +2 -2
  1049. package/src/funcs/vaultConnectionSettingsList.ts +2 -2
  1050. package/src/funcs/vaultConnectionSettingsUpdate.ts +2 -2
  1051. package/src/funcs/vaultConnectionsDelete.ts +2 -2
  1052. package/src/funcs/vaultConnectionsGet.ts +2 -2
  1053. package/src/funcs/vaultConnectionsImports.ts +2 -2
  1054. package/src/funcs/vaultConnectionsList.ts +2 -2
  1055. package/src/funcs/vaultConnectionsToken.ts +2 -2
  1056. package/src/funcs/vaultConnectionsUpdate.ts +2 -2
  1057. package/src/funcs/vaultConsumerRequestCountsList.ts +2 -2
  1058. package/src/funcs/vaultConsumersCreate.ts +2 -2
  1059. package/src/funcs/vaultConsumersDelete.ts +2 -2
  1060. package/src/funcs/vaultConsumersGet.ts +2 -2
  1061. package/src/funcs/vaultConsumersList.ts +2 -2
  1062. package/src/funcs/vaultConsumersUpdate.ts +2 -2
  1063. package/src/funcs/vaultCreateCallbackState.ts +2 -2
  1064. package/src/funcs/vaultCustomFieldsList.ts +2 -2
  1065. package/src/funcs/vaultCustomMappingsList.ts +2 -2
  1066. package/src/funcs/vaultLogsList.ts +2 -2
  1067. package/src/funcs/vaultSessionsCreate.ts +2 -2
  1068. package/src/funcs/vaultValidateConnectionState.ts +2 -2
  1069. package/src/funcs/webhookEventLogsList.ts +2 -2
  1070. package/src/funcs/webhookWebhooksCreate.ts +2 -2
  1071. package/src/funcs/webhookWebhooksDelete.ts +2 -2
  1072. package/src/funcs/webhookWebhooksGet.ts +2 -2
  1073. package/src/funcs/webhookWebhooksList.ts +2 -2
  1074. package/src/funcs/webhookWebhooksUpdate.ts +2 -2
  1075. package/src/lib/config.ts +4 -4
  1076. package/src/lib/url.ts +1 -1
  1077. package/src/models/components/address.ts +7 -0
  1078. package/src/models/components/balancebytransaction.ts +22 -16
  1079. package/src/models/components/categoriesfilter.ts +1 -0
  1080. package/src/models/components/category.ts +1 -0
  1081. package/src/models/components/createprojectresponse.ts +122 -0
  1082. package/src/models/components/customer.ts +32 -0
  1083. package/src/models/components/deleteprojectresponse.ts +122 -0
  1084. package/src/models/components/getprojectresponse.ts +119 -0
  1085. package/src/models/components/getprojectsresponse.ts +145 -0
  1086. package/src/models/components/index.ts +8 -0
  1087. package/src/models/components/invoiceitemfilter.ts +53 -0
  1088. package/src/models/components/invoiceitemsfilter.ts +49 -0
  1089. package/src/models/components/invoicelineitem.ts +23 -0
  1090. package/src/models/components/invoicesfilter.ts +9 -0
  1091. package/src/models/components/journalentry.ts +63 -0
  1092. package/src/models/components/journalentrylineitem.ts +20 -0
  1093. package/src/models/components/ledgeraccount.ts +11 -11
  1094. package/src/models/components/linkedledgeraccount.ts +9 -0
  1095. package/src/models/components/linkedledgeraccountinput.ts +9 -0
  1096. package/src/models/components/project.ts +1189 -0
  1097. package/src/models/components/projectsfilter.ts +136 -0
  1098. package/src/models/components/projectssort.ts +117 -0
  1099. package/src/models/components/quotelineitem.ts +23 -0
  1100. package/src/models/components/ticket.ts +19 -17
  1101. package/src/models/components/updateprojectresponse.ts +122 -0
  1102. package/src/models/components/webhookeventtype.ts +3 -0
  1103. package/src/models/operations/accountingprojectsadd.ts +268 -0
  1104. package/src/models/operations/accountingprojectsall.ts +304 -0
  1105. package/src/models/operations/accountingprojectsdelete.ts +263 -0
  1106. package/src/models/operations/accountingprojectsone.ts +261 -0
  1107. package/src/models/operations/accountingprojectsupdate.ts +275 -0
  1108. package/src/models/operations/index.ts +5 -0
  1109. package/src/sdk/accounting.ts +6 -0
  1110. package/src/sdk/projects.ts +102 -0
  1111. package/docs/sdks/accounting/README.md +0 -6
  1112. package/docs/sdks/apideck/README.md +0 -10
  1113. package/docs/sdks/ats/README.md +0 -6
  1114. package/docs/sdks/connector/README.md +0 -6
  1115. package/docs/sdks/crm/README.md +0 -6
  1116. package/docs/sdks/ecommerce/README.md +0 -6
  1117. package/docs/sdks/filestorage/README.md +0 -6
  1118. package/docs/sdks/hris/README.md +0 -6
  1119. package/docs/sdks/issuetracking/README.md +0 -6
  1120. package/docs/sdks/sms/README.md +0 -6
  1121. package/docs/sdks/vault/README.md +0 -6
  1122. package/docs/sdks/webhook/README.md +0 -6
@@ -0,0 +1,1189 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod";
6
+ import { remap as remap$ } from "../../lib/primitives.js";
7
+ import { safeParse } from "../../lib/schemas.js";
8
+ import { ClosedEnum } from "../../types/enums.js";
9
+ import { Result as SafeParseResult } from "../../types/fp.js";
10
+ import { RFCDate } from "../../types/rfcdate.js";
11
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
12
+ import {
13
+ Address,
14
+ Address$inboundSchema,
15
+ Address$Outbound,
16
+ Address$outboundSchema,
17
+ } from "./address.js";
18
+ import {
19
+ Currency,
20
+ Currency$inboundSchema,
21
+ Currency$outboundSchema,
22
+ } from "./currency.js";
23
+ import {
24
+ CustomField,
25
+ CustomField$inboundSchema,
26
+ CustomField$Outbound,
27
+ CustomField$outboundSchema,
28
+ } from "./customfield.js";
29
+ import {
30
+ LinkedCustomer,
31
+ LinkedCustomer$inboundSchema,
32
+ LinkedCustomer$Outbound,
33
+ LinkedCustomer$outboundSchema,
34
+ } from "./linkedcustomer.js";
35
+ import {
36
+ LinkedCustomerInput,
37
+ LinkedCustomerInput$inboundSchema,
38
+ LinkedCustomerInput$Outbound,
39
+ LinkedCustomerInput$outboundSchema,
40
+ } from "./linkedcustomerinput.js";
41
+ import {
42
+ LinkedTaxRate,
43
+ LinkedTaxRate$inboundSchema,
44
+ LinkedTaxRate$Outbound,
45
+ LinkedTaxRate$outboundSchema,
46
+ } from "./linkedtaxrate.js";
47
+ import {
48
+ LinkedTaxRateInput,
49
+ LinkedTaxRateInput$inboundSchema,
50
+ LinkedTaxRateInput$Outbound,
51
+ LinkedTaxRateInput$outboundSchema,
52
+ } from "./linkedtaxrateinput.js";
53
+ import {
54
+ LinkedTrackingCategory,
55
+ LinkedTrackingCategory$inboundSchema,
56
+ LinkedTrackingCategory$Outbound,
57
+ LinkedTrackingCategory$outboundSchema,
58
+ } from "./linkedtrackingcategory.js";
59
+
60
+ /**
61
+ * Current status of the project
62
+ */
63
+ export const ProjectProjectStatus = {
64
+ Active: "active",
65
+ Completed: "completed",
66
+ OnHold: "on_hold",
67
+ Cancelled: "cancelled",
68
+ Draft: "draft",
69
+ InProgress: "in_progress",
70
+ Approved: "approved",
71
+ Other: "other",
72
+ } as const;
73
+ /**
74
+ * Current status of the project
75
+ */
76
+ export type ProjectProjectStatus = ClosedEnum<typeof ProjectProjectStatus>;
77
+
78
+ /**
79
+ * Type or category of the project
80
+ */
81
+ export const ProjectType = {
82
+ ClientProject: "client_project",
83
+ InternalProject: "internal_project",
84
+ Maintenance: "maintenance",
85
+ ResearchDevelopment: "research_development",
86
+ Training: "training",
87
+ Other: "other",
88
+ } as const;
89
+ /**
90
+ * Type or category of the project
91
+ */
92
+ export type ProjectType = ClosedEnum<typeof ProjectType>;
93
+
94
+ /**
95
+ * Priority level of the project
96
+ */
97
+ export const Priority = {
98
+ Low: "low",
99
+ Medium: "medium",
100
+ High: "high",
101
+ Critical: "critical",
102
+ } as const;
103
+ /**
104
+ * Priority level of the project
105
+ */
106
+ export type Priority = ClosedEnum<typeof Priority>;
107
+
108
+ /**
109
+ * Department or organizational unit associated with the project
110
+ */
111
+ export type ProjectDepartment = {
112
+ /**
113
+ * Unique identifier for the department
114
+ */
115
+ id?: string | undefined;
116
+ /**
117
+ * Name of the department
118
+ */
119
+ name?: string | undefined;
120
+ };
121
+
122
+ /**
123
+ * Parent project if this is a subproject
124
+ */
125
+ export type ParentProject = {
126
+ /**
127
+ * Unique identifier for the parent project
128
+ */
129
+ id?: string | undefined;
130
+ /**
131
+ * Name of the parent project
132
+ */
133
+ name?: string | undefined;
134
+ };
135
+
136
+ /**
137
+ * Method used for billing this project
138
+ */
139
+ export const BillingMethod = {
140
+ FixedPrice: "fixed_price",
141
+ TimeAndMaterials: "time_and_materials",
142
+ MilestoneBased: "milestone_based",
143
+ Retainer: "retainer",
144
+ NonBillable: "non_billable",
145
+ } as const;
146
+ /**
147
+ * Method used for billing this project
148
+ */
149
+ export type BillingMethod = ClosedEnum<typeof BillingMethod>;
150
+
151
+ /**
152
+ * Current phase of the project lifecycle
153
+ */
154
+ export const ProjectPhase = {
155
+ Initiation: "initiation",
156
+ Planning: "planning",
157
+ Execution: "execution",
158
+ Monitoring: "monitoring",
159
+ Closure: "closure",
160
+ Other: "other",
161
+ } as const;
162
+ /**
163
+ * Current phase of the project lifecycle
164
+ */
165
+ export type ProjectPhase = ClosedEnum<typeof ProjectPhase>;
166
+
167
+ /**
168
+ * Current status of project schedule compared to plan
169
+ */
170
+ export const ScheduleStatus = {
171
+ AheadOfSchedule: "ahead_of_schedule",
172
+ OnSchedule: "on_schedule",
173
+ BehindSchedule: "behind_schedule",
174
+ CriticalDelay: "critical_delay",
175
+ } as const;
176
+ /**
177
+ * Current status of project schedule compared to plan
178
+ */
179
+ export type ScheduleStatus = ClosedEnum<typeof ScheduleStatus>;
180
+
181
+ export type Project = {
182
+ /**
183
+ * A unique identifier for an object.
184
+ */
185
+ id?: string | undefined;
186
+ /**
187
+ * The third-party API ID of original entity
188
+ */
189
+ downstreamId?: string | null | undefined;
190
+ /**
191
+ * Name of the project
192
+ */
193
+ name: string;
194
+ /**
195
+ * User-friendly project identifier
196
+ */
197
+ displayId?: string | null | undefined;
198
+ /**
199
+ * External reference identifier for the project
200
+ */
201
+ referenceId?: string | null | undefined;
202
+ /**
203
+ * Detailed description of the project
204
+ */
205
+ description?: string | null | undefined;
206
+ /**
207
+ * Current status of the project
208
+ */
209
+ status?: ProjectProjectStatus | null | undefined;
210
+ /**
211
+ * Indicates whether the project is currently active or inactive
212
+ */
213
+ active?: boolean | null | undefined;
214
+ /**
215
+ * Type or category of the project
216
+ */
217
+ projectType?: ProjectType | null | undefined;
218
+ /**
219
+ * Priority level of the project
220
+ */
221
+ priority?: Priority | null | undefined;
222
+ /**
223
+ * Percentage of project completion (0-100)
224
+ */
225
+ completionPercentage?: number | null | undefined;
226
+ /**
227
+ * Start date of the project
228
+ */
229
+ startDate?: RFCDate | null | undefined;
230
+ /**
231
+ * Expected or actual end date of the project
232
+ */
233
+ endDate?: RFCDate | null | undefined;
234
+ /**
235
+ * The customer this entity is linked to.
236
+ */
237
+ customer?: LinkedCustomer | null | undefined;
238
+ /**
239
+ * Department or organizational unit associated with the project
240
+ */
241
+ department?: ProjectDepartment | null | undefined;
242
+ /**
243
+ * The company ID the transaction belongs to
244
+ */
245
+ companyId?: string | null | undefined;
246
+ /**
247
+ * ID of the user who owns/manages this project
248
+ */
249
+ ownerId?: string | null | undefined;
250
+ /**
251
+ * Parent project if this is a subproject
252
+ */
253
+ parentProject?: ParentProject | null | undefined;
254
+ /**
255
+ * Indicates the associated currency for an amount of money. Values correspond to [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217).
256
+ */
257
+ currency?: Currency | null | undefined;
258
+ /**
259
+ * Total budgeted amount for the project
260
+ */
261
+ budgetAmount?: number | null | undefined;
262
+ /**
263
+ * Approved budget amount for the project
264
+ */
265
+ approvedAmount?: number | null | undefined;
266
+ /**
267
+ * Total actual amount spent on the project
268
+ */
269
+ actualAmount?: number | null | undefined;
270
+ /**
271
+ * Total budgeted hours for the project
272
+ */
273
+ budgetHours?: number | null | undefined;
274
+ /**
275
+ * Total actual hours worked on the project
276
+ */
277
+ actualHours?: number | null | undefined;
278
+ /**
279
+ * Default hourly rate for project work
280
+ */
281
+ hourlyRate?: number | null | undefined;
282
+ /**
283
+ * Method used for billing this project
284
+ */
285
+ billingMethod?: BillingMethod | null | undefined;
286
+ /**
287
+ * Indicates if the project is billable to the customer
288
+ */
289
+ isBillable?: boolean | null | undefined;
290
+ /**
291
+ * Current phase of the project lifecycle
292
+ */
293
+ phase?: ProjectPhase | null | undefined;
294
+ taxRate?: LinkedTaxRate | undefined;
295
+ /**
296
+ * A list of linked tracking categories.
297
+ */
298
+ trackingCategories?: Array<LinkedTrackingCategory | null> | null | undefined;
299
+ /**
300
+ * Tags associated with the project
301
+ */
302
+ tags?: Array<string> | undefined;
303
+ /**
304
+ * Additional notes about the project
305
+ */
306
+ notes?: string | null | undefined;
307
+ /**
308
+ * Contract or agreement number associated with the project
309
+ */
310
+ contractNumber?: string | null | undefined;
311
+ /**
312
+ * Expected profit margin percentage for the project
313
+ */
314
+ profitMargin?: number | null | undefined;
315
+ /**
316
+ * Current status of project schedule compared to plan
317
+ */
318
+ scheduleStatus?: ScheduleStatus | null | undefined;
319
+ /**
320
+ * An array of addresses associated with the project (billing, job site, etc.)
321
+ */
322
+ addresses?: Array<Address> | undefined;
323
+ /**
324
+ * Number of team members assigned to the project
325
+ */
326
+ teamSize?: number | null | undefined;
327
+ customFields?: Array<CustomField> | undefined;
328
+ /**
329
+ * A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is made to the object.
330
+ */
331
+ rowVersion?: string | null | undefined;
332
+ /**
333
+ * The user who last updated the object.
334
+ */
335
+ updatedBy?: string | null | undefined;
336
+ /**
337
+ * The user who created the object.
338
+ */
339
+ createdBy?: string | null | undefined;
340
+ /**
341
+ * The date and time when the object was created.
342
+ */
343
+ createdAt?: Date | null | undefined;
344
+ /**
345
+ * The date and time when the object was last updated.
346
+ */
347
+ updatedAt?: Date | null | undefined;
348
+ };
349
+
350
+ export type ProjectInput = {
351
+ /**
352
+ * Name of the project
353
+ */
354
+ name: string;
355
+ /**
356
+ * User-friendly project identifier
357
+ */
358
+ displayId?: string | null | undefined;
359
+ /**
360
+ * External reference identifier for the project
361
+ */
362
+ referenceId?: string | null | undefined;
363
+ /**
364
+ * Detailed description of the project
365
+ */
366
+ description?: string | null | undefined;
367
+ /**
368
+ * Current status of the project
369
+ */
370
+ status?: ProjectProjectStatus | null | undefined;
371
+ /**
372
+ * Indicates whether the project is currently active or inactive
373
+ */
374
+ active?: boolean | null | undefined;
375
+ /**
376
+ * Type or category of the project
377
+ */
378
+ projectType?: ProjectType | null | undefined;
379
+ /**
380
+ * Priority level of the project
381
+ */
382
+ priority?: Priority | null | undefined;
383
+ /**
384
+ * Percentage of project completion (0-100)
385
+ */
386
+ completionPercentage?: number | null | undefined;
387
+ /**
388
+ * Start date of the project
389
+ */
390
+ startDate?: RFCDate | null | undefined;
391
+ /**
392
+ * Expected or actual end date of the project
393
+ */
394
+ endDate?: RFCDate | null | undefined;
395
+ /**
396
+ * The customer this entity is linked to.
397
+ */
398
+ customer?: LinkedCustomerInput | null | undefined;
399
+ /**
400
+ * Department or organizational unit associated with the project
401
+ */
402
+ department?: ProjectDepartment | null | undefined;
403
+ /**
404
+ * The company ID the transaction belongs to
405
+ */
406
+ companyId?: string | null | undefined;
407
+ /**
408
+ * ID of the user who owns/manages this project
409
+ */
410
+ ownerId?: string | null | undefined;
411
+ /**
412
+ * Parent project if this is a subproject
413
+ */
414
+ parentProject?: ParentProject | null | undefined;
415
+ /**
416
+ * Indicates the associated currency for an amount of money. Values correspond to [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217).
417
+ */
418
+ currency?: Currency | null | undefined;
419
+ /**
420
+ * Total budgeted amount for the project
421
+ */
422
+ budgetAmount?: number | null | undefined;
423
+ /**
424
+ * Approved budget amount for the project
425
+ */
426
+ approvedAmount?: number | null | undefined;
427
+ /**
428
+ * Total budgeted hours for the project
429
+ */
430
+ budgetHours?: number | null | undefined;
431
+ /**
432
+ * Default hourly rate for project work
433
+ */
434
+ hourlyRate?: number | null | undefined;
435
+ /**
436
+ * Method used for billing this project
437
+ */
438
+ billingMethod?: BillingMethod | null | undefined;
439
+ /**
440
+ * Indicates if the project is billable to the customer
441
+ */
442
+ isBillable?: boolean | null | undefined;
443
+ /**
444
+ * Current phase of the project lifecycle
445
+ */
446
+ phase?: ProjectPhase | null | undefined;
447
+ taxRate?: LinkedTaxRateInput | undefined;
448
+ /**
449
+ * A list of linked tracking categories.
450
+ */
451
+ trackingCategories?: Array<LinkedTrackingCategory | null> | null | undefined;
452
+ /**
453
+ * Tags associated with the project
454
+ */
455
+ tags?: Array<string> | undefined;
456
+ /**
457
+ * Additional notes about the project
458
+ */
459
+ notes?: string | null | undefined;
460
+ /**
461
+ * Contract or agreement number associated with the project
462
+ */
463
+ contractNumber?: string | null | undefined;
464
+ /**
465
+ * Expected profit margin percentage for the project
466
+ */
467
+ profitMargin?: number | null | undefined;
468
+ /**
469
+ * Current status of project schedule compared to plan
470
+ */
471
+ scheduleStatus?: ScheduleStatus | null | undefined;
472
+ /**
473
+ * An array of addresses associated with the project (billing, job site, etc.)
474
+ */
475
+ addresses?: Array<Address> | undefined;
476
+ /**
477
+ * Number of team members assigned to the project
478
+ */
479
+ teamSize?: number | null | undefined;
480
+ customFields?: Array<CustomField> | undefined;
481
+ /**
482
+ * A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is made to the object.
483
+ */
484
+ rowVersion?: string | null | undefined;
485
+ };
486
+
487
+ /** @internal */
488
+ export const ProjectProjectStatus$inboundSchema: z.ZodNativeEnum<
489
+ typeof ProjectProjectStatus
490
+ > = z.nativeEnum(ProjectProjectStatus);
491
+
492
+ /** @internal */
493
+ export const ProjectProjectStatus$outboundSchema: z.ZodNativeEnum<
494
+ typeof ProjectProjectStatus
495
+ > = ProjectProjectStatus$inboundSchema;
496
+
497
+ /**
498
+ * @internal
499
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
500
+ */
501
+ export namespace ProjectProjectStatus$ {
502
+ /** @deprecated use `ProjectProjectStatus$inboundSchema` instead. */
503
+ export const inboundSchema = ProjectProjectStatus$inboundSchema;
504
+ /** @deprecated use `ProjectProjectStatus$outboundSchema` instead. */
505
+ export const outboundSchema = ProjectProjectStatus$outboundSchema;
506
+ }
507
+
508
+ /** @internal */
509
+ export const ProjectType$inboundSchema: z.ZodNativeEnum<typeof ProjectType> = z
510
+ .nativeEnum(ProjectType);
511
+
512
+ /** @internal */
513
+ export const ProjectType$outboundSchema: z.ZodNativeEnum<typeof ProjectType> =
514
+ ProjectType$inboundSchema;
515
+
516
+ /**
517
+ * @internal
518
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
519
+ */
520
+ export namespace ProjectType$ {
521
+ /** @deprecated use `ProjectType$inboundSchema` instead. */
522
+ export const inboundSchema = ProjectType$inboundSchema;
523
+ /** @deprecated use `ProjectType$outboundSchema` instead. */
524
+ export const outboundSchema = ProjectType$outboundSchema;
525
+ }
526
+
527
+ /** @internal */
528
+ export const Priority$inboundSchema: z.ZodNativeEnum<typeof Priority> = z
529
+ .nativeEnum(Priority);
530
+
531
+ /** @internal */
532
+ export const Priority$outboundSchema: z.ZodNativeEnum<typeof Priority> =
533
+ Priority$inboundSchema;
534
+
535
+ /**
536
+ * @internal
537
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
538
+ */
539
+ export namespace Priority$ {
540
+ /** @deprecated use `Priority$inboundSchema` instead. */
541
+ export const inboundSchema = Priority$inboundSchema;
542
+ /** @deprecated use `Priority$outboundSchema` instead. */
543
+ export const outboundSchema = Priority$outboundSchema;
544
+ }
545
+
546
+ /** @internal */
547
+ export const ProjectDepartment$inboundSchema: z.ZodType<
548
+ ProjectDepartment,
549
+ z.ZodTypeDef,
550
+ unknown
551
+ > = z.object({
552
+ id: z.string().optional(),
553
+ name: z.string().optional(),
554
+ });
555
+
556
+ /** @internal */
557
+ export type ProjectDepartment$Outbound = {
558
+ id?: string | undefined;
559
+ name?: string | undefined;
560
+ };
561
+
562
+ /** @internal */
563
+ export const ProjectDepartment$outboundSchema: z.ZodType<
564
+ ProjectDepartment$Outbound,
565
+ z.ZodTypeDef,
566
+ ProjectDepartment
567
+ > = z.object({
568
+ id: z.string().optional(),
569
+ name: z.string().optional(),
570
+ });
571
+
572
+ /**
573
+ * @internal
574
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
575
+ */
576
+ export namespace ProjectDepartment$ {
577
+ /** @deprecated use `ProjectDepartment$inboundSchema` instead. */
578
+ export const inboundSchema = ProjectDepartment$inboundSchema;
579
+ /** @deprecated use `ProjectDepartment$outboundSchema` instead. */
580
+ export const outboundSchema = ProjectDepartment$outboundSchema;
581
+ /** @deprecated use `ProjectDepartment$Outbound` instead. */
582
+ export type Outbound = ProjectDepartment$Outbound;
583
+ }
584
+
585
+ export function projectDepartmentToJSON(
586
+ projectDepartment: ProjectDepartment,
587
+ ): string {
588
+ return JSON.stringify(
589
+ ProjectDepartment$outboundSchema.parse(projectDepartment),
590
+ );
591
+ }
592
+
593
+ export function projectDepartmentFromJSON(
594
+ jsonString: string,
595
+ ): SafeParseResult<ProjectDepartment, SDKValidationError> {
596
+ return safeParse(
597
+ jsonString,
598
+ (x) => ProjectDepartment$inboundSchema.parse(JSON.parse(x)),
599
+ `Failed to parse 'ProjectDepartment' from JSON`,
600
+ );
601
+ }
602
+
603
+ /** @internal */
604
+ export const ParentProject$inboundSchema: z.ZodType<
605
+ ParentProject,
606
+ z.ZodTypeDef,
607
+ unknown
608
+ > = z.object({
609
+ id: z.string().optional(),
610
+ name: z.string().optional(),
611
+ });
612
+
613
+ /** @internal */
614
+ export type ParentProject$Outbound = {
615
+ id?: string | undefined;
616
+ name?: string | undefined;
617
+ };
618
+
619
+ /** @internal */
620
+ export const ParentProject$outboundSchema: z.ZodType<
621
+ ParentProject$Outbound,
622
+ z.ZodTypeDef,
623
+ ParentProject
624
+ > = z.object({
625
+ id: z.string().optional(),
626
+ name: z.string().optional(),
627
+ });
628
+
629
+ /**
630
+ * @internal
631
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
632
+ */
633
+ export namespace ParentProject$ {
634
+ /** @deprecated use `ParentProject$inboundSchema` instead. */
635
+ export const inboundSchema = ParentProject$inboundSchema;
636
+ /** @deprecated use `ParentProject$outboundSchema` instead. */
637
+ export const outboundSchema = ParentProject$outboundSchema;
638
+ /** @deprecated use `ParentProject$Outbound` instead. */
639
+ export type Outbound = ParentProject$Outbound;
640
+ }
641
+
642
+ export function parentProjectToJSON(parentProject: ParentProject): string {
643
+ return JSON.stringify(ParentProject$outboundSchema.parse(parentProject));
644
+ }
645
+
646
+ export function parentProjectFromJSON(
647
+ jsonString: string,
648
+ ): SafeParseResult<ParentProject, SDKValidationError> {
649
+ return safeParse(
650
+ jsonString,
651
+ (x) => ParentProject$inboundSchema.parse(JSON.parse(x)),
652
+ `Failed to parse 'ParentProject' from JSON`,
653
+ );
654
+ }
655
+
656
+ /** @internal */
657
+ export const BillingMethod$inboundSchema: z.ZodNativeEnum<
658
+ typeof BillingMethod
659
+ > = z.nativeEnum(BillingMethod);
660
+
661
+ /** @internal */
662
+ export const BillingMethod$outboundSchema: z.ZodNativeEnum<
663
+ typeof BillingMethod
664
+ > = BillingMethod$inboundSchema;
665
+
666
+ /**
667
+ * @internal
668
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
669
+ */
670
+ export namespace BillingMethod$ {
671
+ /** @deprecated use `BillingMethod$inboundSchema` instead. */
672
+ export const inboundSchema = BillingMethod$inboundSchema;
673
+ /** @deprecated use `BillingMethod$outboundSchema` instead. */
674
+ export const outboundSchema = BillingMethod$outboundSchema;
675
+ }
676
+
677
+ /** @internal */
678
+ export const ProjectPhase$inboundSchema: z.ZodNativeEnum<typeof ProjectPhase> =
679
+ z.nativeEnum(ProjectPhase);
680
+
681
+ /** @internal */
682
+ export const ProjectPhase$outboundSchema: z.ZodNativeEnum<typeof ProjectPhase> =
683
+ ProjectPhase$inboundSchema;
684
+
685
+ /**
686
+ * @internal
687
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
688
+ */
689
+ export namespace ProjectPhase$ {
690
+ /** @deprecated use `ProjectPhase$inboundSchema` instead. */
691
+ export const inboundSchema = ProjectPhase$inboundSchema;
692
+ /** @deprecated use `ProjectPhase$outboundSchema` instead. */
693
+ export const outboundSchema = ProjectPhase$outboundSchema;
694
+ }
695
+
696
+ /** @internal */
697
+ export const ScheduleStatus$inboundSchema: z.ZodNativeEnum<
698
+ typeof ScheduleStatus
699
+ > = z.nativeEnum(ScheduleStatus);
700
+
701
+ /** @internal */
702
+ export const ScheduleStatus$outboundSchema: z.ZodNativeEnum<
703
+ typeof ScheduleStatus
704
+ > = ScheduleStatus$inboundSchema;
705
+
706
+ /**
707
+ * @internal
708
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
709
+ */
710
+ export namespace ScheduleStatus$ {
711
+ /** @deprecated use `ScheduleStatus$inboundSchema` instead. */
712
+ export const inboundSchema = ScheduleStatus$inboundSchema;
713
+ /** @deprecated use `ScheduleStatus$outboundSchema` instead. */
714
+ export const outboundSchema = ScheduleStatus$outboundSchema;
715
+ }
716
+
717
+ /** @internal */
718
+ export const Project$inboundSchema: z.ZodType<Project, z.ZodTypeDef, unknown> =
719
+ z.object({
720
+ id: z.string().optional(),
721
+ downstream_id: z.nullable(z.string()).optional(),
722
+ name: z.string(),
723
+ display_id: z.nullable(z.string()).optional(),
724
+ reference_id: z.nullable(z.string()).optional(),
725
+ description: z.nullable(z.string()).optional(),
726
+ status: z.nullable(ProjectProjectStatus$inboundSchema).optional(),
727
+ active: z.nullable(z.boolean()).optional(),
728
+ project_type: z.nullable(ProjectType$inboundSchema).optional(),
729
+ priority: z.nullable(Priority$inboundSchema).optional(),
730
+ completion_percentage: z.nullable(z.number()).optional(),
731
+ start_date: z.nullable(z.string().transform(v => new RFCDate(v)))
732
+ .optional(),
733
+ end_date: z.nullable(z.string().transform(v => new RFCDate(v))).optional(),
734
+ customer: z.nullable(LinkedCustomer$inboundSchema).optional(),
735
+ department: z.nullable(z.lazy(() => ProjectDepartment$inboundSchema))
736
+ .optional(),
737
+ company_id: z.nullable(z.string()).optional(),
738
+ owner_id: z.nullable(z.string()).optional(),
739
+ parent_project: z.nullable(z.lazy(() => ParentProject$inboundSchema))
740
+ .optional(),
741
+ currency: z.nullable(Currency$inboundSchema).optional(),
742
+ budget_amount: z.nullable(z.number()).optional(),
743
+ approved_amount: z.nullable(z.number()).optional(),
744
+ actual_amount: z.nullable(z.number()).optional(),
745
+ budget_hours: z.nullable(z.number()).optional(),
746
+ actual_hours: z.nullable(z.number()).optional(),
747
+ hourly_rate: z.nullable(z.number()).optional(),
748
+ billing_method: z.nullable(BillingMethod$inboundSchema).optional(),
749
+ is_billable: z.nullable(z.boolean().default(true)),
750
+ phase: z.nullable(ProjectPhase$inboundSchema).optional(),
751
+ tax_rate: LinkedTaxRate$inboundSchema.optional(),
752
+ tracking_categories: z.nullable(
753
+ z.array(z.nullable(LinkedTrackingCategory$inboundSchema)),
754
+ ).optional(),
755
+ tags: z.array(z.string()).optional(),
756
+ notes: z.nullable(z.string()).optional(),
757
+ contract_number: z.nullable(z.string()).optional(),
758
+ profit_margin: z.nullable(z.number()).optional(),
759
+ schedule_status: z.nullable(ScheduleStatus$inboundSchema).optional(),
760
+ addresses: z.array(Address$inboundSchema).optional(),
761
+ team_size: z.nullable(z.number().int()).optional(),
762
+ custom_fields: z.array(CustomField$inboundSchema).optional(),
763
+ row_version: z.nullable(z.string()).optional(),
764
+ updated_by: z.nullable(z.string()).optional(),
765
+ created_by: z.nullable(z.string()).optional(),
766
+ created_at: z.nullable(
767
+ z.string().datetime({ offset: true }).transform(v => new Date(v)),
768
+ ).optional(),
769
+ updated_at: z.nullable(
770
+ z.string().datetime({ offset: true }).transform(v => new Date(v)),
771
+ ).optional(),
772
+ }).transform((v) => {
773
+ return remap$(v, {
774
+ "downstream_id": "downstreamId",
775
+ "display_id": "displayId",
776
+ "reference_id": "referenceId",
777
+ "project_type": "projectType",
778
+ "completion_percentage": "completionPercentage",
779
+ "start_date": "startDate",
780
+ "end_date": "endDate",
781
+ "company_id": "companyId",
782
+ "owner_id": "ownerId",
783
+ "parent_project": "parentProject",
784
+ "budget_amount": "budgetAmount",
785
+ "approved_amount": "approvedAmount",
786
+ "actual_amount": "actualAmount",
787
+ "budget_hours": "budgetHours",
788
+ "actual_hours": "actualHours",
789
+ "hourly_rate": "hourlyRate",
790
+ "billing_method": "billingMethod",
791
+ "is_billable": "isBillable",
792
+ "tax_rate": "taxRate",
793
+ "tracking_categories": "trackingCategories",
794
+ "contract_number": "contractNumber",
795
+ "profit_margin": "profitMargin",
796
+ "schedule_status": "scheduleStatus",
797
+ "team_size": "teamSize",
798
+ "custom_fields": "customFields",
799
+ "row_version": "rowVersion",
800
+ "updated_by": "updatedBy",
801
+ "created_by": "createdBy",
802
+ "created_at": "createdAt",
803
+ "updated_at": "updatedAt",
804
+ });
805
+ });
806
+
807
+ /** @internal */
808
+ export type Project$Outbound = {
809
+ id?: string | undefined;
810
+ downstream_id?: string | null | undefined;
811
+ name: string;
812
+ display_id?: string | null | undefined;
813
+ reference_id?: string | null | undefined;
814
+ description?: string | null | undefined;
815
+ status?: string | null | undefined;
816
+ active?: boolean | null | undefined;
817
+ project_type?: string | null | undefined;
818
+ priority?: string | null | undefined;
819
+ completion_percentage?: number | null | undefined;
820
+ start_date?: string | null | undefined;
821
+ end_date?: string | null | undefined;
822
+ customer?: LinkedCustomer$Outbound | null | undefined;
823
+ department?: ProjectDepartment$Outbound | null | undefined;
824
+ company_id?: string | null | undefined;
825
+ owner_id?: string | null | undefined;
826
+ parent_project?: ParentProject$Outbound | null | undefined;
827
+ currency?: string | null | undefined;
828
+ budget_amount?: number | null | undefined;
829
+ approved_amount?: number | null | undefined;
830
+ actual_amount?: number | null | undefined;
831
+ budget_hours?: number | null | undefined;
832
+ actual_hours?: number | null | undefined;
833
+ hourly_rate?: number | null | undefined;
834
+ billing_method?: string | null | undefined;
835
+ is_billable: boolean | null;
836
+ phase?: string | null | undefined;
837
+ tax_rate?: LinkedTaxRate$Outbound | undefined;
838
+ tracking_categories?:
839
+ | Array<LinkedTrackingCategory$Outbound | null>
840
+ | null
841
+ | undefined;
842
+ tags?: Array<string> | undefined;
843
+ notes?: string | null | undefined;
844
+ contract_number?: string | null | undefined;
845
+ profit_margin?: number | null | undefined;
846
+ schedule_status?: string | null | undefined;
847
+ addresses?: Array<Address$Outbound> | undefined;
848
+ team_size?: number | null | undefined;
849
+ custom_fields?: Array<CustomField$Outbound> | undefined;
850
+ row_version?: string | null | undefined;
851
+ updated_by?: string | null | undefined;
852
+ created_by?: string | null | undefined;
853
+ created_at?: string | null | undefined;
854
+ updated_at?: string | null | undefined;
855
+ };
856
+
857
+ /** @internal */
858
+ export const Project$outboundSchema: z.ZodType<
859
+ Project$Outbound,
860
+ z.ZodTypeDef,
861
+ Project
862
+ > = z.object({
863
+ id: z.string().optional(),
864
+ downstreamId: z.nullable(z.string()).optional(),
865
+ name: z.string(),
866
+ displayId: z.nullable(z.string()).optional(),
867
+ referenceId: z.nullable(z.string()).optional(),
868
+ description: z.nullable(z.string()).optional(),
869
+ status: z.nullable(ProjectProjectStatus$outboundSchema).optional(),
870
+ active: z.nullable(z.boolean()).optional(),
871
+ projectType: z.nullable(ProjectType$outboundSchema).optional(),
872
+ priority: z.nullable(Priority$outboundSchema).optional(),
873
+ completionPercentage: z.nullable(z.number()).optional(),
874
+ startDate: z.nullable(z.instanceof(RFCDate).transform(v => v.toString()))
875
+ .optional(),
876
+ endDate: z.nullable(z.instanceof(RFCDate).transform(v => v.toString()))
877
+ .optional(),
878
+ customer: z.nullable(LinkedCustomer$outboundSchema).optional(),
879
+ department: z.nullable(z.lazy(() => ProjectDepartment$outboundSchema))
880
+ .optional(),
881
+ companyId: z.nullable(z.string()).optional(),
882
+ ownerId: z.nullable(z.string()).optional(),
883
+ parentProject: z.nullable(z.lazy(() => ParentProject$outboundSchema))
884
+ .optional(),
885
+ currency: z.nullable(Currency$outboundSchema).optional(),
886
+ budgetAmount: z.nullable(z.number()).optional(),
887
+ approvedAmount: z.nullable(z.number()).optional(),
888
+ actualAmount: z.nullable(z.number()).optional(),
889
+ budgetHours: z.nullable(z.number()).optional(),
890
+ actualHours: z.nullable(z.number()).optional(),
891
+ hourlyRate: z.nullable(z.number()).optional(),
892
+ billingMethod: z.nullable(BillingMethod$outboundSchema).optional(),
893
+ isBillable: z.nullable(z.boolean().default(true)),
894
+ phase: z.nullable(ProjectPhase$outboundSchema).optional(),
895
+ taxRate: LinkedTaxRate$outboundSchema.optional(),
896
+ trackingCategories: z.nullable(
897
+ z.array(z.nullable(LinkedTrackingCategory$outboundSchema)),
898
+ ).optional(),
899
+ tags: z.array(z.string()).optional(),
900
+ notes: z.nullable(z.string()).optional(),
901
+ contractNumber: z.nullable(z.string()).optional(),
902
+ profitMargin: z.nullable(z.number()).optional(),
903
+ scheduleStatus: z.nullable(ScheduleStatus$outboundSchema).optional(),
904
+ addresses: z.array(Address$outboundSchema).optional(),
905
+ teamSize: z.nullable(z.number().int()).optional(),
906
+ customFields: z.array(CustomField$outboundSchema).optional(),
907
+ rowVersion: z.nullable(z.string()).optional(),
908
+ updatedBy: z.nullable(z.string()).optional(),
909
+ createdBy: z.nullable(z.string()).optional(),
910
+ createdAt: z.nullable(z.date().transform(v => v.toISOString())).optional(),
911
+ updatedAt: z.nullable(z.date().transform(v => v.toISOString())).optional(),
912
+ }).transform((v) => {
913
+ return remap$(v, {
914
+ downstreamId: "downstream_id",
915
+ displayId: "display_id",
916
+ referenceId: "reference_id",
917
+ projectType: "project_type",
918
+ completionPercentage: "completion_percentage",
919
+ startDate: "start_date",
920
+ endDate: "end_date",
921
+ companyId: "company_id",
922
+ ownerId: "owner_id",
923
+ parentProject: "parent_project",
924
+ budgetAmount: "budget_amount",
925
+ approvedAmount: "approved_amount",
926
+ actualAmount: "actual_amount",
927
+ budgetHours: "budget_hours",
928
+ actualHours: "actual_hours",
929
+ hourlyRate: "hourly_rate",
930
+ billingMethod: "billing_method",
931
+ isBillable: "is_billable",
932
+ taxRate: "tax_rate",
933
+ trackingCategories: "tracking_categories",
934
+ contractNumber: "contract_number",
935
+ profitMargin: "profit_margin",
936
+ scheduleStatus: "schedule_status",
937
+ teamSize: "team_size",
938
+ customFields: "custom_fields",
939
+ rowVersion: "row_version",
940
+ updatedBy: "updated_by",
941
+ createdBy: "created_by",
942
+ createdAt: "created_at",
943
+ updatedAt: "updated_at",
944
+ });
945
+ });
946
+
947
+ /**
948
+ * @internal
949
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
950
+ */
951
+ export namespace Project$ {
952
+ /** @deprecated use `Project$inboundSchema` instead. */
953
+ export const inboundSchema = Project$inboundSchema;
954
+ /** @deprecated use `Project$outboundSchema` instead. */
955
+ export const outboundSchema = Project$outboundSchema;
956
+ /** @deprecated use `Project$Outbound` instead. */
957
+ export type Outbound = Project$Outbound;
958
+ }
959
+
960
+ export function projectToJSON(project: Project): string {
961
+ return JSON.stringify(Project$outboundSchema.parse(project));
962
+ }
963
+
964
+ export function projectFromJSON(
965
+ jsonString: string,
966
+ ): SafeParseResult<Project, SDKValidationError> {
967
+ return safeParse(
968
+ jsonString,
969
+ (x) => Project$inboundSchema.parse(JSON.parse(x)),
970
+ `Failed to parse 'Project' from JSON`,
971
+ );
972
+ }
973
+
974
+ /** @internal */
975
+ export const ProjectInput$inboundSchema: z.ZodType<
976
+ ProjectInput,
977
+ z.ZodTypeDef,
978
+ unknown
979
+ > = z.object({
980
+ name: z.string(),
981
+ display_id: z.nullable(z.string()).optional(),
982
+ reference_id: z.nullable(z.string()).optional(),
983
+ description: z.nullable(z.string()).optional(),
984
+ status: z.nullable(ProjectProjectStatus$inboundSchema).optional(),
985
+ active: z.nullable(z.boolean()).optional(),
986
+ project_type: z.nullable(ProjectType$inboundSchema).optional(),
987
+ priority: z.nullable(Priority$inboundSchema).optional(),
988
+ completion_percentage: z.nullable(z.number()).optional(),
989
+ start_date: z.nullable(z.string().transform(v => new RFCDate(v))).optional(),
990
+ end_date: z.nullable(z.string().transform(v => new RFCDate(v))).optional(),
991
+ customer: z.nullable(LinkedCustomerInput$inboundSchema).optional(),
992
+ department: z.nullable(z.lazy(() => ProjectDepartment$inboundSchema))
993
+ .optional(),
994
+ company_id: z.nullable(z.string()).optional(),
995
+ owner_id: z.nullable(z.string()).optional(),
996
+ parent_project: z.nullable(z.lazy(() => ParentProject$inboundSchema))
997
+ .optional(),
998
+ currency: z.nullable(Currency$inboundSchema).optional(),
999
+ budget_amount: z.nullable(z.number()).optional(),
1000
+ approved_amount: z.nullable(z.number()).optional(),
1001
+ budget_hours: z.nullable(z.number()).optional(),
1002
+ hourly_rate: z.nullable(z.number()).optional(),
1003
+ billing_method: z.nullable(BillingMethod$inboundSchema).optional(),
1004
+ is_billable: z.nullable(z.boolean().default(true)),
1005
+ phase: z.nullable(ProjectPhase$inboundSchema).optional(),
1006
+ tax_rate: LinkedTaxRateInput$inboundSchema.optional(),
1007
+ tracking_categories: z.nullable(
1008
+ z.array(z.nullable(LinkedTrackingCategory$inboundSchema)),
1009
+ ).optional(),
1010
+ tags: z.array(z.string()).optional(),
1011
+ notes: z.nullable(z.string()).optional(),
1012
+ contract_number: z.nullable(z.string()).optional(),
1013
+ profit_margin: z.nullable(z.number()).optional(),
1014
+ schedule_status: z.nullable(ScheduleStatus$inboundSchema).optional(),
1015
+ addresses: z.array(Address$inboundSchema).optional(),
1016
+ team_size: z.nullable(z.number().int()).optional(),
1017
+ custom_fields: z.array(CustomField$inboundSchema).optional(),
1018
+ row_version: z.nullable(z.string()).optional(),
1019
+ }).transform((v) => {
1020
+ return remap$(v, {
1021
+ "display_id": "displayId",
1022
+ "reference_id": "referenceId",
1023
+ "project_type": "projectType",
1024
+ "completion_percentage": "completionPercentage",
1025
+ "start_date": "startDate",
1026
+ "end_date": "endDate",
1027
+ "company_id": "companyId",
1028
+ "owner_id": "ownerId",
1029
+ "parent_project": "parentProject",
1030
+ "budget_amount": "budgetAmount",
1031
+ "approved_amount": "approvedAmount",
1032
+ "budget_hours": "budgetHours",
1033
+ "hourly_rate": "hourlyRate",
1034
+ "billing_method": "billingMethod",
1035
+ "is_billable": "isBillable",
1036
+ "tax_rate": "taxRate",
1037
+ "tracking_categories": "trackingCategories",
1038
+ "contract_number": "contractNumber",
1039
+ "profit_margin": "profitMargin",
1040
+ "schedule_status": "scheduleStatus",
1041
+ "team_size": "teamSize",
1042
+ "custom_fields": "customFields",
1043
+ "row_version": "rowVersion",
1044
+ });
1045
+ });
1046
+
1047
+ /** @internal */
1048
+ export type ProjectInput$Outbound = {
1049
+ name: string;
1050
+ display_id?: string | null | undefined;
1051
+ reference_id?: string | null | undefined;
1052
+ description?: string | null | undefined;
1053
+ status?: string | null | undefined;
1054
+ active?: boolean | null | undefined;
1055
+ project_type?: string | null | undefined;
1056
+ priority?: string | null | undefined;
1057
+ completion_percentage?: number | null | undefined;
1058
+ start_date?: string | null | undefined;
1059
+ end_date?: string | null | undefined;
1060
+ customer?: LinkedCustomerInput$Outbound | null | undefined;
1061
+ department?: ProjectDepartment$Outbound | null | undefined;
1062
+ company_id?: string | null | undefined;
1063
+ owner_id?: string | null | undefined;
1064
+ parent_project?: ParentProject$Outbound | null | undefined;
1065
+ currency?: string | null | undefined;
1066
+ budget_amount?: number | null | undefined;
1067
+ approved_amount?: number | null | undefined;
1068
+ budget_hours?: number | null | undefined;
1069
+ hourly_rate?: number | null | undefined;
1070
+ billing_method?: string | null | undefined;
1071
+ is_billable: boolean | null;
1072
+ phase?: string | null | undefined;
1073
+ tax_rate?: LinkedTaxRateInput$Outbound | undefined;
1074
+ tracking_categories?:
1075
+ | Array<LinkedTrackingCategory$Outbound | null>
1076
+ | null
1077
+ | undefined;
1078
+ tags?: Array<string> | undefined;
1079
+ notes?: string | null | undefined;
1080
+ contract_number?: string | null | undefined;
1081
+ profit_margin?: number | null | undefined;
1082
+ schedule_status?: string | null | undefined;
1083
+ addresses?: Array<Address$Outbound> | undefined;
1084
+ team_size?: number | null | undefined;
1085
+ custom_fields?: Array<CustomField$Outbound> | undefined;
1086
+ row_version?: string | null | undefined;
1087
+ };
1088
+
1089
+ /** @internal */
1090
+ export const ProjectInput$outboundSchema: z.ZodType<
1091
+ ProjectInput$Outbound,
1092
+ z.ZodTypeDef,
1093
+ ProjectInput
1094
+ > = z.object({
1095
+ name: z.string(),
1096
+ displayId: z.nullable(z.string()).optional(),
1097
+ referenceId: z.nullable(z.string()).optional(),
1098
+ description: z.nullable(z.string()).optional(),
1099
+ status: z.nullable(ProjectProjectStatus$outboundSchema).optional(),
1100
+ active: z.nullable(z.boolean()).optional(),
1101
+ projectType: z.nullable(ProjectType$outboundSchema).optional(),
1102
+ priority: z.nullable(Priority$outboundSchema).optional(),
1103
+ completionPercentage: z.nullable(z.number()).optional(),
1104
+ startDate: z.nullable(z.instanceof(RFCDate).transform(v => v.toString()))
1105
+ .optional(),
1106
+ endDate: z.nullable(z.instanceof(RFCDate).transform(v => v.toString()))
1107
+ .optional(),
1108
+ customer: z.nullable(LinkedCustomerInput$outboundSchema).optional(),
1109
+ department: z.nullable(z.lazy(() => ProjectDepartment$outboundSchema))
1110
+ .optional(),
1111
+ companyId: z.nullable(z.string()).optional(),
1112
+ ownerId: z.nullable(z.string()).optional(),
1113
+ parentProject: z.nullable(z.lazy(() => ParentProject$outboundSchema))
1114
+ .optional(),
1115
+ currency: z.nullable(Currency$outboundSchema).optional(),
1116
+ budgetAmount: z.nullable(z.number()).optional(),
1117
+ approvedAmount: z.nullable(z.number()).optional(),
1118
+ budgetHours: z.nullable(z.number()).optional(),
1119
+ hourlyRate: z.nullable(z.number()).optional(),
1120
+ billingMethod: z.nullable(BillingMethod$outboundSchema).optional(),
1121
+ isBillable: z.nullable(z.boolean().default(true)),
1122
+ phase: z.nullable(ProjectPhase$outboundSchema).optional(),
1123
+ taxRate: LinkedTaxRateInput$outboundSchema.optional(),
1124
+ trackingCategories: z.nullable(
1125
+ z.array(z.nullable(LinkedTrackingCategory$outboundSchema)),
1126
+ ).optional(),
1127
+ tags: z.array(z.string()).optional(),
1128
+ notes: z.nullable(z.string()).optional(),
1129
+ contractNumber: z.nullable(z.string()).optional(),
1130
+ profitMargin: z.nullable(z.number()).optional(),
1131
+ scheduleStatus: z.nullable(ScheduleStatus$outboundSchema).optional(),
1132
+ addresses: z.array(Address$outboundSchema).optional(),
1133
+ teamSize: z.nullable(z.number().int()).optional(),
1134
+ customFields: z.array(CustomField$outboundSchema).optional(),
1135
+ rowVersion: z.nullable(z.string()).optional(),
1136
+ }).transform((v) => {
1137
+ return remap$(v, {
1138
+ displayId: "display_id",
1139
+ referenceId: "reference_id",
1140
+ projectType: "project_type",
1141
+ completionPercentage: "completion_percentage",
1142
+ startDate: "start_date",
1143
+ endDate: "end_date",
1144
+ companyId: "company_id",
1145
+ ownerId: "owner_id",
1146
+ parentProject: "parent_project",
1147
+ budgetAmount: "budget_amount",
1148
+ approvedAmount: "approved_amount",
1149
+ budgetHours: "budget_hours",
1150
+ hourlyRate: "hourly_rate",
1151
+ billingMethod: "billing_method",
1152
+ isBillable: "is_billable",
1153
+ taxRate: "tax_rate",
1154
+ trackingCategories: "tracking_categories",
1155
+ contractNumber: "contract_number",
1156
+ profitMargin: "profit_margin",
1157
+ scheduleStatus: "schedule_status",
1158
+ teamSize: "team_size",
1159
+ customFields: "custom_fields",
1160
+ rowVersion: "row_version",
1161
+ });
1162
+ });
1163
+
1164
+ /**
1165
+ * @internal
1166
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1167
+ */
1168
+ export namespace ProjectInput$ {
1169
+ /** @deprecated use `ProjectInput$inboundSchema` instead. */
1170
+ export const inboundSchema = ProjectInput$inboundSchema;
1171
+ /** @deprecated use `ProjectInput$outboundSchema` instead. */
1172
+ export const outboundSchema = ProjectInput$outboundSchema;
1173
+ /** @deprecated use `ProjectInput$Outbound` instead. */
1174
+ export type Outbound = ProjectInput$Outbound;
1175
+ }
1176
+
1177
+ export function projectInputToJSON(projectInput: ProjectInput): string {
1178
+ return JSON.stringify(ProjectInput$outboundSchema.parse(projectInput));
1179
+ }
1180
+
1181
+ export function projectInputFromJSON(
1182
+ jsonString: string,
1183
+ ): SafeParseResult<ProjectInput, SDKValidationError> {
1184
+ return safeParse(
1185
+ jsonString,
1186
+ (x) => ProjectInput$inboundSchema.parse(JSON.parse(x)),
1187
+ `Failed to parse 'ProjectInput' from JSON`,
1188
+ );
1189
+ }