@apideck/unify 0.23.4 → 0.24.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1044) hide show
  1. package/README.md +26 -0
  2. package/docs/sdks/customobjects/README.md +653 -0
  3. package/docs/sdks/customobjectschemas/README.md +855 -0
  4. package/docs/sdks/journalentries/README.md +4 -0
  5. package/funcs/accountingAgedCreditorsGet.js +2 -0
  6. package/funcs/accountingAgedCreditorsGet.js.map +1 -1
  7. package/funcs/accountingAgedDebtorsGet.js +2 -0
  8. package/funcs/accountingAgedDebtorsGet.js.map +1 -1
  9. package/funcs/accountingAttachmentsDelete.js +2 -0
  10. package/funcs/accountingAttachmentsDelete.js.map +1 -1
  11. package/funcs/accountingAttachmentsDownload.js +2 -0
  12. package/funcs/accountingAttachmentsDownload.js.map +1 -1
  13. package/funcs/accountingAttachmentsGet.js +2 -0
  14. package/funcs/accountingAttachmentsGet.js.map +1 -1
  15. package/funcs/accountingAttachmentsList.js +2 -0
  16. package/funcs/accountingAttachmentsList.js.map +1 -1
  17. package/funcs/accountingAttachmentsUpload.js +2 -0
  18. package/funcs/accountingAttachmentsUpload.js.map +1 -1
  19. package/funcs/accountingBalanceSheetGet.js +2 -0
  20. package/funcs/accountingBalanceSheetGet.js.map +1 -1
  21. package/funcs/accountingBankFeedAccountsCreate.js +2 -0
  22. package/funcs/accountingBankFeedAccountsCreate.js.map +1 -1
  23. package/funcs/accountingBankFeedAccountsDelete.js +2 -0
  24. package/funcs/accountingBankFeedAccountsDelete.js.map +1 -1
  25. package/funcs/accountingBankFeedAccountsGet.js +2 -0
  26. package/funcs/accountingBankFeedAccountsGet.js.map +1 -1
  27. package/funcs/accountingBankFeedAccountsList.js +2 -0
  28. package/funcs/accountingBankFeedAccountsList.js.map +1 -1
  29. package/funcs/accountingBankFeedAccountsUpdate.js +2 -0
  30. package/funcs/accountingBankFeedAccountsUpdate.js.map +1 -1
  31. package/funcs/accountingBankFeedStatementsCreate.js +2 -0
  32. package/funcs/accountingBankFeedStatementsCreate.js.map +1 -1
  33. package/funcs/accountingBankFeedStatementsDelete.js +2 -0
  34. package/funcs/accountingBankFeedStatementsDelete.js.map +1 -1
  35. package/funcs/accountingBankFeedStatementsGet.js +2 -0
  36. package/funcs/accountingBankFeedStatementsGet.js.map +1 -1
  37. package/funcs/accountingBankFeedStatementsList.js +2 -0
  38. package/funcs/accountingBankFeedStatementsList.js.map +1 -1
  39. package/funcs/accountingBankFeedStatementsUpdate.js +2 -0
  40. package/funcs/accountingBankFeedStatementsUpdate.js.map +1 -1
  41. package/funcs/accountingBillPaymentsCreate.js +2 -0
  42. package/funcs/accountingBillPaymentsCreate.js.map +1 -1
  43. package/funcs/accountingBillPaymentsDelete.js +2 -0
  44. package/funcs/accountingBillPaymentsDelete.js.map +1 -1
  45. package/funcs/accountingBillPaymentsGet.js +2 -0
  46. package/funcs/accountingBillPaymentsGet.js.map +1 -1
  47. package/funcs/accountingBillPaymentsList.js +2 -0
  48. package/funcs/accountingBillPaymentsList.js.map +1 -1
  49. package/funcs/accountingBillPaymentsUpdate.js +2 -0
  50. package/funcs/accountingBillPaymentsUpdate.js.map +1 -1
  51. package/funcs/accountingBillsCreate.js +2 -0
  52. package/funcs/accountingBillsCreate.js.map +1 -1
  53. package/funcs/accountingBillsDelete.js +2 -0
  54. package/funcs/accountingBillsDelete.js.map +1 -1
  55. package/funcs/accountingBillsGet.js +2 -0
  56. package/funcs/accountingBillsGet.js.map +1 -1
  57. package/funcs/accountingBillsList.js +2 -0
  58. package/funcs/accountingBillsList.js.map +1 -1
  59. package/funcs/accountingBillsUpdate.js +2 -0
  60. package/funcs/accountingBillsUpdate.js.map +1 -1
  61. package/funcs/accountingCompanyInfoGet.js +2 -0
  62. package/funcs/accountingCompanyInfoGet.js.map +1 -1
  63. package/funcs/accountingCreditNotesCreate.js +2 -0
  64. package/funcs/accountingCreditNotesCreate.js.map +1 -1
  65. package/funcs/accountingCreditNotesDelete.js +2 -0
  66. package/funcs/accountingCreditNotesDelete.js.map +1 -1
  67. package/funcs/accountingCreditNotesGet.js +2 -0
  68. package/funcs/accountingCreditNotesGet.js.map +1 -1
  69. package/funcs/accountingCreditNotesList.js +2 -0
  70. package/funcs/accountingCreditNotesList.js.map +1 -1
  71. package/funcs/accountingCreditNotesUpdate.js +2 -0
  72. package/funcs/accountingCreditNotesUpdate.js.map +1 -1
  73. package/funcs/accountingCustomersCreate.js +2 -0
  74. package/funcs/accountingCustomersCreate.js.map +1 -1
  75. package/funcs/accountingCustomersDelete.js +2 -0
  76. package/funcs/accountingCustomersDelete.js.map +1 -1
  77. package/funcs/accountingCustomersGet.js +2 -0
  78. package/funcs/accountingCustomersGet.js.map +1 -1
  79. package/funcs/accountingCustomersList.js +2 -0
  80. package/funcs/accountingCustomersList.js.map +1 -1
  81. package/funcs/accountingCustomersUpdate.js +2 -0
  82. package/funcs/accountingCustomersUpdate.js.map +1 -1
  83. package/funcs/accountingDepartmentsCreate.js +2 -0
  84. package/funcs/accountingDepartmentsCreate.js.map +1 -1
  85. package/funcs/accountingDepartmentsDelete.js +2 -0
  86. package/funcs/accountingDepartmentsDelete.js.map +1 -1
  87. package/funcs/accountingDepartmentsGet.js +2 -0
  88. package/funcs/accountingDepartmentsGet.js.map +1 -1
  89. package/funcs/accountingDepartmentsList.js +2 -0
  90. package/funcs/accountingDepartmentsList.js.map +1 -1
  91. package/funcs/accountingDepartmentsUpdate.js +2 -0
  92. package/funcs/accountingDepartmentsUpdate.js.map +1 -1
  93. package/funcs/accountingExpensesCreate.js +2 -0
  94. package/funcs/accountingExpensesCreate.js.map +1 -1
  95. package/funcs/accountingExpensesDelete.js +2 -0
  96. package/funcs/accountingExpensesDelete.js.map +1 -1
  97. package/funcs/accountingExpensesGet.js +2 -0
  98. package/funcs/accountingExpensesGet.js.map +1 -1
  99. package/funcs/accountingExpensesList.js +2 -0
  100. package/funcs/accountingExpensesList.js.map +1 -1
  101. package/funcs/accountingExpensesUpdate.js +2 -0
  102. package/funcs/accountingExpensesUpdate.js.map +1 -1
  103. package/funcs/accountingInvoiceItemsCreate.js +2 -0
  104. package/funcs/accountingInvoiceItemsCreate.js.map +1 -1
  105. package/funcs/accountingInvoiceItemsDelete.js +2 -0
  106. package/funcs/accountingInvoiceItemsDelete.js.map +1 -1
  107. package/funcs/accountingInvoiceItemsGet.js +2 -0
  108. package/funcs/accountingInvoiceItemsGet.js.map +1 -1
  109. package/funcs/accountingInvoiceItemsList.js +2 -0
  110. package/funcs/accountingInvoiceItemsList.js.map +1 -1
  111. package/funcs/accountingInvoiceItemsUpdate.js +2 -0
  112. package/funcs/accountingInvoiceItemsUpdate.js.map +1 -1
  113. package/funcs/accountingInvoicesCreate.js +2 -0
  114. package/funcs/accountingInvoicesCreate.js.map +1 -1
  115. package/funcs/accountingInvoicesDelete.js +2 -0
  116. package/funcs/accountingInvoicesDelete.js.map +1 -1
  117. package/funcs/accountingInvoicesGet.js +2 -0
  118. package/funcs/accountingInvoicesGet.js.map +1 -1
  119. package/funcs/accountingInvoicesList.js +2 -0
  120. package/funcs/accountingInvoicesList.js.map +1 -1
  121. package/funcs/accountingInvoicesUpdate.js +2 -0
  122. package/funcs/accountingInvoicesUpdate.js.map +1 -1
  123. package/funcs/accountingJournalEntriesCreate.js +2 -0
  124. package/funcs/accountingJournalEntriesCreate.js.map +1 -1
  125. package/funcs/accountingJournalEntriesDelete.js +2 -0
  126. package/funcs/accountingJournalEntriesDelete.js.map +1 -1
  127. package/funcs/accountingJournalEntriesGet.js +2 -0
  128. package/funcs/accountingJournalEntriesGet.js.map +1 -1
  129. package/funcs/accountingJournalEntriesList.js +2 -0
  130. package/funcs/accountingJournalEntriesList.js.map +1 -1
  131. package/funcs/accountingJournalEntriesUpdate.js +2 -0
  132. package/funcs/accountingJournalEntriesUpdate.js.map +1 -1
  133. package/funcs/accountingLedgerAccountsCreate.js +2 -0
  134. package/funcs/accountingLedgerAccountsCreate.js.map +1 -1
  135. package/funcs/accountingLedgerAccountsDelete.js +2 -0
  136. package/funcs/accountingLedgerAccountsDelete.js.map +1 -1
  137. package/funcs/accountingLedgerAccountsGet.js +2 -0
  138. package/funcs/accountingLedgerAccountsGet.js.map +1 -1
  139. package/funcs/accountingLedgerAccountsList.js +2 -0
  140. package/funcs/accountingLedgerAccountsList.js.map +1 -1
  141. package/funcs/accountingLedgerAccountsUpdate.js +2 -0
  142. package/funcs/accountingLedgerAccountsUpdate.js.map +1 -1
  143. package/funcs/accountingLocationsCreate.js +2 -0
  144. package/funcs/accountingLocationsCreate.js.map +1 -1
  145. package/funcs/accountingLocationsDelete.js +2 -0
  146. package/funcs/accountingLocationsDelete.js.map +1 -1
  147. package/funcs/accountingLocationsGet.js +2 -0
  148. package/funcs/accountingLocationsGet.js.map +1 -1
  149. package/funcs/accountingLocationsList.js +2 -0
  150. package/funcs/accountingLocationsList.js.map +1 -1
  151. package/funcs/accountingLocationsUpdate.js +2 -0
  152. package/funcs/accountingLocationsUpdate.js.map +1 -1
  153. package/funcs/accountingPaymentsCreate.js +2 -0
  154. package/funcs/accountingPaymentsCreate.js.map +1 -1
  155. package/funcs/accountingPaymentsDelete.js +2 -0
  156. package/funcs/accountingPaymentsDelete.js.map +1 -1
  157. package/funcs/accountingPaymentsGet.js +2 -0
  158. package/funcs/accountingPaymentsGet.js.map +1 -1
  159. package/funcs/accountingPaymentsList.js +2 -0
  160. package/funcs/accountingPaymentsList.js.map +1 -1
  161. package/funcs/accountingPaymentsUpdate.js +2 -0
  162. package/funcs/accountingPaymentsUpdate.js.map +1 -1
  163. package/funcs/accountingProfitAndLossGet.js +2 -0
  164. package/funcs/accountingProfitAndLossGet.js.map +1 -1
  165. package/funcs/accountingPurchaseOrdersCreate.js +2 -0
  166. package/funcs/accountingPurchaseOrdersCreate.js.map +1 -1
  167. package/funcs/accountingPurchaseOrdersDelete.js +2 -0
  168. package/funcs/accountingPurchaseOrdersDelete.js.map +1 -1
  169. package/funcs/accountingPurchaseOrdersGet.js +2 -0
  170. package/funcs/accountingPurchaseOrdersGet.js.map +1 -1
  171. package/funcs/accountingPurchaseOrdersList.js +2 -0
  172. package/funcs/accountingPurchaseOrdersList.js.map +1 -1
  173. package/funcs/accountingPurchaseOrdersUpdate.js +2 -0
  174. package/funcs/accountingPurchaseOrdersUpdate.js.map +1 -1
  175. package/funcs/accountingSubsidiariesCreate.js +2 -0
  176. package/funcs/accountingSubsidiariesCreate.js.map +1 -1
  177. package/funcs/accountingSubsidiariesDelete.js +2 -0
  178. package/funcs/accountingSubsidiariesDelete.js.map +1 -1
  179. package/funcs/accountingSubsidiariesGet.js +2 -0
  180. package/funcs/accountingSubsidiariesGet.js.map +1 -1
  181. package/funcs/accountingSubsidiariesList.js +2 -0
  182. package/funcs/accountingSubsidiariesList.js.map +1 -1
  183. package/funcs/accountingSubsidiariesUpdate.js +2 -0
  184. package/funcs/accountingSubsidiariesUpdate.js.map +1 -1
  185. package/funcs/accountingSuppliersCreate.js +2 -0
  186. package/funcs/accountingSuppliersCreate.js.map +1 -1
  187. package/funcs/accountingSuppliersDelete.js +2 -0
  188. package/funcs/accountingSuppliersDelete.js.map +1 -1
  189. package/funcs/accountingSuppliersGet.js +2 -0
  190. package/funcs/accountingSuppliersGet.js.map +1 -1
  191. package/funcs/accountingSuppliersList.js +2 -0
  192. package/funcs/accountingSuppliersList.js.map +1 -1
  193. package/funcs/accountingSuppliersUpdate.js +2 -0
  194. package/funcs/accountingSuppliersUpdate.js.map +1 -1
  195. package/funcs/accountingTaxRatesCreate.js +2 -0
  196. package/funcs/accountingTaxRatesCreate.js.map +1 -1
  197. package/funcs/accountingTaxRatesDelete.js +2 -0
  198. package/funcs/accountingTaxRatesDelete.js.map +1 -1
  199. package/funcs/accountingTaxRatesGet.js +2 -0
  200. package/funcs/accountingTaxRatesGet.js.map +1 -1
  201. package/funcs/accountingTaxRatesList.js +2 -0
  202. package/funcs/accountingTaxRatesList.js.map +1 -1
  203. package/funcs/accountingTaxRatesUpdate.js +2 -0
  204. package/funcs/accountingTaxRatesUpdate.js.map +1 -1
  205. package/funcs/accountingTrackingCategoriesCreate.js +2 -0
  206. package/funcs/accountingTrackingCategoriesCreate.js.map +1 -1
  207. package/funcs/accountingTrackingCategoriesDelete.js +2 -0
  208. package/funcs/accountingTrackingCategoriesDelete.js.map +1 -1
  209. package/funcs/accountingTrackingCategoriesGet.js +2 -0
  210. package/funcs/accountingTrackingCategoriesGet.js.map +1 -1
  211. package/funcs/accountingTrackingCategoriesList.js +2 -0
  212. package/funcs/accountingTrackingCategoriesList.js.map +1 -1
  213. package/funcs/accountingTrackingCategoriesUpdate.js +2 -0
  214. package/funcs/accountingTrackingCategoriesUpdate.js.map +1 -1
  215. package/funcs/atsApplicantsCreate.js +2 -0
  216. package/funcs/atsApplicantsCreate.js.map +1 -1
  217. package/funcs/atsApplicantsDelete.js +2 -0
  218. package/funcs/atsApplicantsDelete.js.map +1 -1
  219. package/funcs/atsApplicantsGet.js +2 -0
  220. package/funcs/atsApplicantsGet.js.map +1 -1
  221. package/funcs/atsApplicantsList.js +2 -0
  222. package/funcs/atsApplicantsList.js.map +1 -1
  223. package/funcs/atsApplicantsUpdate.js +2 -0
  224. package/funcs/atsApplicantsUpdate.js.map +1 -1
  225. package/funcs/atsApplicationsCreate.js +2 -0
  226. package/funcs/atsApplicationsCreate.js.map +1 -1
  227. package/funcs/atsApplicationsDelete.js +2 -0
  228. package/funcs/atsApplicationsDelete.js.map +1 -1
  229. package/funcs/atsApplicationsGet.js +2 -0
  230. package/funcs/atsApplicationsGet.js.map +1 -1
  231. package/funcs/atsApplicationsList.js +2 -0
  232. package/funcs/atsApplicationsList.js.map +1 -1
  233. package/funcs/atsApplicationsUpdate.js +2 -0
  234. package/funcs/atsApplicationsUpdate.js.map +1 -1
  235. package/funcs/atsJobsGet.js +2 -0
  236. package/funcs/atsJobsGet.js.map +1 -1
  237. package/funcs/atsJobsList.js +2 -0
  238. package/funcs/atsJobsList.js.map +1 -1
  239. package/funcs/connectorApiResourceCoverageGet.js +2 -0
  240. package/funcs/connectorApiResourceCoverageGet.js.map +1 -1
  241. package/funcs/connectorApiResourcesGet.js +2 -0
  242. package/funcs/connectorApiResourcesGet.js.map +1 -1
  243. package/funcs/connectorApisGet.js +2 -0
  244. package/funcs/connectorApisGet.js.map +1 -1
  245. package/funcs/connectorApisList.js +2 -0
  246. package/funcs/connectorApisList.js.map +1 -1
  247. package/funcs/connectorConnectorDocsGet.js +2 -0
  248. package/funcs/connectorConnectorDocsGet.js.map +1 -1
  249. package/funcs/connectorConnectorResourcesGet.js +2 -0
  250. package/funcs/connectorConnectorResourcesGet.js.map +1 -1
  251. package/funcs/connectorConnectorsGet.js +2 -0
  252. package/funcs/connectorConnectorsGet.js.map +1 -1
  253. package/funcs/connectorConnectorsList.js +2 -0
  254. package/funcs/connectorConnectorsList.js.map +1 -1
  255. package/funcs/crmActivitiesCreate.js +2 -0
  256. package/funcs/crmActivitiesCreate.js.map +1 -1
  257. package/funcs/crmActivitiesDelete.js +2 -0
  258. package/funcs/crmActivitiesDelete.js.map +1 -1
  259. package/funcs/crmActivitiesGet.js +2 -0
  260. package/funcs/crmActivitiesGet.js.map +1 -1
  261. package/funcs/crmActivitiesList.js +2 -0
  262. package/funcs/crmActivitiesList.js.map +1 -1
  263. package/funcs/crmActivitiesUpdate.js +2 -0
  264. package/funcs/crmActivitiesUpdate.js.map +1 -1
  265. package/funcs/crmCompaniesCreate.js +2 -0
  266. package/funcs/crmCompaniesCreate.js.map +1 -1
  267. package/funcs/crmCompaniesDelete.js +2 -0
  268. package/funcs/crmCompaniesDelete.js.map +1 -1
  269. package/funcs/crmCompaniesGet.js +2 -0
  270. package/funcs/crmCompaniesGet.js.map +1 -1
  271. package/funcs/crmCompaniesList.js +2 -0
  272. package/funcs/crmCompaniesList.js.map +1 -1
  273. package/funcs/crmCompaniesUpdate.js +2 -0
  274. package/funcs/crmCompaniesUpdate.js.map +1 -1
  275. package/funcs/crmContactsCreate.js +2 -0
  276. package/funcs/crmContactsCreate.js.map +1 -1
  277. package/funcs/crmContactsDelete.js +2 -0
  278. package/funcs/crmContactsDelete.js.map +1 -1
  279. package/funcs/crmContactsGet.js +2 -0
  280. package/funcs/crmContactsGet.js.map +1 -1
  281. package/funcs/crmContactsList.js +2 -0
  282. package/funcs/crmContactsList.js.map +1 -1
  283. package/funcs/crmContactsUpdate.js +2 -0
  284. package/funcs/crmContactsUpdate.js.map +1 -1
  285. package/funcs/crmCustomObjectSchemasCreate.d.ts +17 -0
  286. package/funcs/crmCustomObjectSchemasCreate.d.ts.map +1 -0
  287. package/funcs/crmCustomObjectSchemasCreate.js +129 -0
  288. package/funcs/crmCustomObjectSchemasCreate.js.map +1 -0
  289. package/funcs/crmCustomObjectSchemasDelete.d.ts +17 -0
  290. package/funcs/crmCustomObjectSchemasDelete.d.ts.map +1 -0
  291. package/funcs/crmCustomObjectSchemasDelete.js +132 -0
  292. package/funcs/crmCustomObjectSchemasDelete.js.map +1 -0
  293. package/funcs/crmCustomObjectSchemasGet.d.ts +17 -0
  294. package/funcs/crmCustomObjectSchemasGet.d.ts.map +1 -0
  295. package/funcs/crmCustomObjectSchemasGet.js +132 -0
  296. package/funcs/crmCustomObjectSchemasGet.js.map +1 -0
  297. package/funcs/crmCustomObjectSchemasList.d.ts +20 -0
  298. package/funcs/crmCustomObjectSchemasList.d.ts.map +1 -0
  299. package/funcs/crmCustomObjectSchemasList.js +152 -0
  300. package/funcs/crmCustomObjectSchemasList.js.map +1 -0
  301. package/funcs/crmCustomObjectSchemasUpdate.d.ts +17 -0
  302. package/funcs/crmCustomObjectSchemasUpdate.d.ts.map +1 -0
  303. package/funcs/crmCustomObjectSchemasUpdate.js +135 -0
  304. package/funcs/crmCustomObjectSchemasUpdate.js.map +1 -0
  305. package/funcs/crmCustomObjectsCreate.d.ts +17 -0
  306. package/funcs/crmCustomObjectsCreate.d.ts.map +1 -0
  307. package/funcs/crmCustomObjectsCreate.js +135 -0
  308. package/funcs/crmCustomObjectsCreate.js.map +1 -0
  309. package/funcs/crmCustomObjectsDelete.d.ts +17 -0
  310. package/funcs/crmCustomObjectsDelete.d.ts.map +1 -0
  311. package/funcs/crmCustomObjectsDelete.js +138 -0
  312. package/funcs/crmCustomObjectsDelete.js.map +1 -0
  313. package/funcs/crmCustomObjectsGet.d.ts +17 -0
  314. package/funcs/crmCustomObjectsGet.d.ts.map +1 -0
  315. package/funcs/crmCustomObjectsGet.js +138 -0
  316. package/funcs/crmCustomObjectsGet.js.map +1 -0
  317. package/funcs/crmCustomObjectsList.d.ts +20 -0
  318. package/funcs/crmCustomObjectsList.d.ts.map +1 -0
  319. package/funcs/crmCustomObjectsList.js +161 -0
  320. package/funcs/crmCustomObjectsList.js.map +1 -0
  321. package/funcs/crmCustomObjectsUpdate.d.ts +17 -0
  322. package/funcs/crmCustomObjectsUpdate.d.ts.map +1 -0
  323. package/funcs/crmCustomObjectsUpdate.js +139 -0
  324. package/funcs/crmCustomObjectsUpdate.js.map +1 -0
  325. package/funcs/crmLeadsCreate.js +2 -0
  326. package/funcs/crmLeadsCreate.js.map +1 -1
  327. package/funcs/crmLeadsDelete.js +2 -0
  328. package/funcs/crmLeadsDelete.js.map +1 -1
  329. package/funcs/crmLeadsGet.js +2 -0
  330. package/funcs/crmLeadsGet.js.map +1 -1
  331. package/funcs/crmLeadsList.js +2 -0
  332. package/funcs/crmLeadsList.js.map +1 -1
  333. package/funcs/crmLeadsUpdate.js +2 -0
  334. package/funcs/crmLeadsUpdate.js.map +1 -1
  335. package/funcs/crmNotesCreate.js +2 -0
  336. package/funcs/crmNotesCreate.js.map +1 -1
  337. package/funcs/crmNotesDelete.js +2 -0
  338. package/funcs/crmNotesDelete.js.map +1 -1
  339. package/funcs/crmNotesGet.js +2 -0
  340. package/funcs/crmNotesGet.js.map +1 -1
  341. package/funcs/crmNotesList.js +2 -0
  342. package/funcs/crmNotesList.js.map +1 -1
  343. package/funcs/crmNotesUpdate.js +2 -0
  344. package/funcs/crmNotesUpdate.js.map +1 -1
  345. package/funcs/crmOpportunitiesCreate.js +2 -0
  346. package/funcs/crmOpportunitiesCreate.js.map +1 -1
  347. package/funcs/crmOpportunitiesDelete.js +2 -0
  348. package/funcs/crmOpportunitiesDelete.js.map +1 -1
  349. package/funcs/crmOpportunitiesGet.js +2 -0
  350. package/funcs/crmOpportunitiesGet.js.map +1 -1
  351. package/funcs/crmOpportunitiesList.js +2 -0
  352. package/funcs/crmOpportunitiesList.js.map +1 -1
  353. package/funcs/crmOpportunitiesUpdate.js +2 -0
  354. package/funcs/crmOpportunitiesUpdate.js.map +1 -1
  355. package/funcs/crmPipelinesCreate.js +2 -0
  356. package/funcs/crmPipelinesCreate.js.map +1 -1
  357. package/funcs/crmPipelinesDelete.js +2 -0
  358. package/funcs/crmPipelinesDelete.js.map +1 -1
  359. package/funcs/crmPipelinesGet.js +2 -0
  360. package/funcs/crmPipelinesGet.js.map +1 -1
  361. package/funcs/crmPipelinesList.js +2 -0
  362. package/funcs/crmPipelinesList.js.map +1 -1
  363. package/funcs/crmPipelinesUpdate.js +2 -0
  364. package/funcs/crmPipelinesUpdate.js.map +1 -1
  365. package/funcs/crmUsersCreate.js +2 -0
  366. package/funcs/crmUsersCreate.js.map +1 -1
  367. package/funcs/crmUsersDelete.js +2 -0
  368. package/funcs/crmUsersDelete.js.map +1 -1
  369. package/funcs/crmUsersGet.js +2 -0
  370. package/funcs/crmUsersGet.js.map +1 -1
  371. package/funcs/crmUsersList.js +2 -0
  372. package/funcs/crmUsersList.js.map +1 -1
  373. package/funcs/crmUsersUpdate.js +2 -0
  374. package/funcs/crmUsersUpdate.js.map +1 -1
  375. package/funcs/ecommerceCustomersGet.js +2 -0
  376. package/funcs/ecommerceCustomersGet.js.map +1 -1
  377. package/funcs/ecommerceCustomersList.js +2 -0
  378. package/funcs/ecommerceCustomersList.js.map +1 -1
  379. package/funcs/ecommerceOrdersGet.js +2 -0
  380. package/funcs/ecommerceOrdersGet.js.map +1 -1
  381. package/funcs/ecommerceOrdersList.js +2 -0
  382. package/funcs/ecommerceOrdersList.js.map +1 -1
  383. package/funcs/ecommerceProductsGet.js +2 -0
  384. package/funcs/ecommerceProductsGet.js.map +1 -1
  385. package/funcs/ecommerceProductsList.js +2 -0
  386. package/funcs/ecommerceProductsList.js.map +1 -1
  387. package/funcs/ecommerceStoresGet.js +2 -0
  388. package/funcs/ecommerceStoresGet.js.map +1 -1
  389. package/funcs/fileStorageDriveGroupsCreate.js +2 -0
  390. package/funcs/fileStorageDriveGroupsCreate.js.map +1 -1
  391. package/funcs/fileStorageDriveGroupsDelete.js +2 -0
  392. package/funcs/fileStorageDriveGroupsDelete.js.map +1 -1
  393. package/funcs/fileStorageDriveGroupsGet.js +2 -0
  394. package/funcs/fileStorageDriveGroupsGet.js.map +1 -1
  395. package/funcs/fileStorageDriveGroupsList.js +2 -0
  396. package/funcs/fileStorageDriveGroupsList.js.map +1 -1
  397. package/funcs/fileStorageDriveGroupsUpdate.js +2 -0
  398. package/funcs/fileStorageDriveGroupsUpdate.js.map +1 -1
  399. package/funcs/fileStorageDrivesCreate.js +2 -0
  400. package/funcs/fileStorageDrivesCreate.js.map +1 -1
  401. package/funcs/fileStorageDrivesDelete.js +2 -0
  402. package/funcs/fileStorageDrivesDelete.js.map +1 -1
  403. package/funcs/fileStorageDrivesGet.js +2 -0
  404. package/funcs/fileStorageDrivesGet.js.map +1 -1
  405. package/funcs/fileStorageDrivesList.js +2 -0
  406. package/funcs/fileStorageDrivesList.js.map +1 -1
  407. package/funcs/fileStorageDrivesUpdate.js +2 -0
  408. package/funcs/fileStorageDrivesUpdate.js.map +1 -1
  409. package/funcs/fileStorageFilesDelete.js +2 -0
  410. package/funcs/fileStorageFilesDelete.js.map +1 -1
  411. package/funcs/fileStorageFilesDownload.js +2 -0
  412. package/funcs/fileStorageFilesDownload.js.map +1 -1
  413. package/funcs/fileStorageFilesExport.js +2 -0
  414. package/funcs/fileStorageFilesExport.js.map +1 -1
  415. package/funcs/fileStorageFilesGet.js +2 -0
  416. package/funcs/fileStorageFilesGet.js.map +1 -1
  417. package/funcs/fileStorageFilesList.js +2 -0
  418. package/funcs/fileStorageFilesList.js.map +1 -1
  419. package/funcs/fileStorageFilesSearch.js +2 -0
  420. package/funcs/fileStorageFilesSearch.js.map +1 -1
  421. package/funcs/fileStorageFilesUpdate.js +2 -0
  422. package/funcs/fileStorageFilesUpdate.js.map +1 -1
  423. package/funcs/fileStorageFoldersCopy.js +2 -0
  424. package/funcs/fileStorageFoldersCopy.js.map +1 -1
  425. package/funcs/fileStorageFoldersCreate.js +2 -0
  426. package/funcs/fileStorageFoldersCreate.js.map +1 -1
  427. package/funcs/fileStorageFoldersDelete.js +2 -0
  428. package/funcs/fileStorageFoldersDelete.js.map +1 -1
  429. package/funcs/fileStorageFoldersGet.js +2 -0
  430. package/funcs/fileStorageFoldersGet.js.map +1 -1
  431. package/funcs/fileStorageFoldersUpdate.js +2 -0
  432. package/funcs/fileStorageFoldersUpdate.js.map +1 -1
  433. package/funcs/fileStorageSharedLinksCreate.js +2 -0
  434. package/funcs/fileStorageSharedLinksCreate.js.map +1 -1
  435. package/funcs/fileStorageSharedLinksDelete.js +2 -0
  436. package/funcs/fileStorageSharedLinksDelete.js.map +1 -1
  437. package/funcs/fileStorageSharedLinksGet.js +2 -0
  438. package/funcs/fileStorageSharedLinksGet.js.map +1 -1
  439. package/funcs/fileStorageSharedLinksList.js +2 -0
  440. package/funcs/fileStorageSharedLinksList.js.map +1 -1
  441. package/funcs/fileStorageSharedLinksUpdate.js +2 -0
  442. package/funcs/fileStorageSharedLinksUpdate.js.map +1 -1
  443. package/funcs/fileStorageUploadSessionsCreate.js +2 -0
  444. package/funcs/fileStorageUploadSessionsCreate.js.map +1 -1
  445. package/funcs/fileStorageUploadSessionsDelete.js +2 -0
  446. package/funcs/fileStorageUploadSessionsDelete.js.map +1 -1
  447. package/funcs/fileStorageUploadSessionsFinish.js +2 -0
  448. package/funcs/fileStorageUploadSessionsFinish.js.map +1 -1
  449. package/funcs/fileStorageUploadSessionsGet.js +2 -0
  450. package/funcs/fileStorageUploadSessionsGet.js.map +1 -1
  451. package/funcs/fileStorageUploadSessionsUpload.js +2 -0
  452. package/funcs/fileStorageUploadSessionsUpload.js.map +1 -1
  453. package/funcs/hrisCompaniesCreate.js +2 -0
  454. package/funcs/hrisCompaniesCreate.js.map +1 -1
  455. package/funcs/hrisCompaniesDelete.js +2 -0
  456. package/funcs/hrisCompaniesDelete.js.map +1 -1
  457. package/funcs/hrisCompaniesGet.js +2 -0
  458. package/funcs/hrisCompaniesGet.js.map +1 -1
  459. package/funcs/hrisCompaniesList.js +2 -0
  460. package/funcs/hrisCompaniesList.js.map +1 -1
  461. package/funcs/hrisCompaniesUpdate.js +2 -0
  462. package/funcs/hrisCompaniesUpdate.js.map +1 -1
  463. package/funcs/hrisDepartmentsCreate.js +2 -0
  464. package/funcs/hrisDepartmentsCreate.js.map +1 -1
  465. package/funcs/hrisDepartmentsDelete.js +2 -0
  466. package/funcs/hrisDepartmentsDelete.js.map +1 -1
  467. package/funcs/hrisDepartmentsGet.js +2 -0
  468. package/funcs/hrisDepartmentsGet.js.map +1 -1
  469. package/funcs/hrisDepartmentsList.js +2 -0
  470. package/funcs/hrisDepartmentsList.js.map +1 -1
  471. package/funcs/hrisDepartmentsUpdate.js +2 -0
  472. package/funcs/hrisDepartmentsUpdate.js.map +1 -1
  473. package/funcs/hrisEmployeePayrollsGet.js +2 -0
  474. package/funcs/hrisEmployeePayrollsGet.js.map +1 -1
  475. package/funcs/hrisEmployeePayrollsList.js +2 -0
  476. package/funcs/hrisEmployeePayrollsList.js.map +1 -1
  477. package/funcs/hrisEmployeeSchedulesList.js +2 -0
  478. package/funcs/hrisEmployeeSchedulesList.js.map +1 -1
  479. package/funcs/hrisEmployeesCreate.js +2 -0
  480. package/funcs/hrisEmployeesCreate.js.map +1 -1
  481. package/funcs/hrisEmployeesDelete.js +2 -0
  482. package/funcs/hrisEmployeesDelete.js.map +1 -1
  483. package/funcs/hrisEmployeesGet.js +2 -0
  484. package/funcs/hrisEmployeesGet.js.map +1 -1
  485. package/funcs/hrisEmployeesList.js +2 -0
  486. package/funcs/hrisEmployeesList.js.map +1 -1
  487. package/funcs/hrisEmployeesUpdate.js +2 -0
  488. package/funcs/hrisEmployeesUpdate.js.map +1 -1
  489. package/funcs/hrisPayrollsGet.js +2 -0
  490. package/funcs/hrisPayrollsGet.js.map +1 -1
  491. package/funcs/hrisPayrollsList.js +2 -0
  492. package/funcs/hrisPayrollsList.js.map +1 -1
  493. package/funcs/hrisTimeOffRequestsCreate.js +2 -0
  494. package/funcs/hrisTimeOffRequestsCreate.js.map +1 -1
  495. package/funcs/hrisTimeOffRequestsDelete.js +2 -0
  496. package/funcs/hrisTimeOffRequestsDelete.js.map +1 -1
  497. package/funcs/hrisTimeOffRequestsGet.js +2 -0
  498. package/funcs/hrisTimeOffRequestsGet.js.map +1 -1
  499. package/funcs/hrisTimeOffRequestsList.js +2 -0
  500. package/funcs/hrisTimeOffRequestsList.js.map +1 -1
  501. package/funcs/hrisTimeOffRequestsUpdate.js +2 -0
  502. package/funcs/hrisTimeOffRequestsUpdate.js.map +1 -1
  503. package/funcs/issueTrackingCollectionTagsList.js +2 -0
  504. package/funcs/issueTrackingCollectionTagsList.js.map +1 -1
  505. package/funcs/issueTrackingCollectionTicketCommentsCreate.js +2 -0
  506. package/funcs/issueTrackingCollectionTicketCommentsCreate.js.map +1 -1
  507. package/funcs/issueTrackingCollectionTicketCommentsDelete.js +2 -0
  508. package/funcs/issueTrackingCollectionTicketCommentsDelete.js.map +1 -1
  509. package/funcs/issueTrackingCollectionTicketCommentsGet.js +2 -0
  510. package/funcs/issueTrackingCollectionTicketCommentsGet.js.map +1 -1
  511. package/funcs/issueTrackingCollectionTicketCommentsList.js +2 -0
  512. package/funcs/issueTrackingCollectionTicketCommentsList.js.map +1 -1
  513. package/funcs/issueTrackingCollectionTicketCommentsUpdate.js +2 -0
  514. package/funcs/issueTrackingCollectionTicketCommentsUpdate.js.map +1 -1
  515. package/funcs/issueTrackingCollectionTicketsCreate.js +2 -0
  516. package/funcs/issueTrackingCollectionTicketsCreate.js.map +1 -1
  517. package/funcs/issueTrackingCollectionTicketsDelete.js +2 -0
  518. package/funcs/issueTrackingCollectionTicketsDelete.js.map +1 -1
  519. package/funcs/issueTrackingCollectionTicketsGet.js +2 -0
  520. package/funcs/issueTrackingCollectionTicketsGet.js.map +1 -1
  521. package/funcs/issueTrackingCollectionTicketsList.js +2 -0
  522. package/funcs/issueTrackingCollectionTicketsList.js.map +1 -1
  523. package/funcs/issueTrackingCollectionTicketsUpdate.js +2 -0
  524. package/funcs/issueTrackingCollectionTicketsUpdate.js.map +1 -1
  525. package/funcs/issueTrackingCollectionUsersGet.js +2 -0
  526. package/funcs/issueTrackingCollectionUsersGet.js.map +1 -1
  527. package/funcs/issueTrackingCollectionUsersList.js +2 -0
  528. package/funcs/issueTrackingCollectionUsersList.js.map +1 -1
  529. package/funcs/issueTrackingCollectionsGet.js +2 -0
  530. package/funcs/issueTrackingCollectionsGet.js.map +1 -1
  531. package/funcs/issueTrackingCollectionsList.js +2 -0
  532. package/funcs/issueTrackingCollectionsList.js.map +1 -1
  533. package/funcs/smsMessagesCreate.js +2 -0
  534. package/funcs/smsMessagesCreate.js.map +1 -1
  535. package/funcs/smsMessagesDelete.js +2 -0
  536. package/funcs/smsMessagesDelete.js.map +1 -1
  537. package/funcs/smsMessagesGet.js +2 -0
  538. package/funcs/smsMessagesGet.js.map +1 -1
  539. package/funcs/smsMessagesList.js +2 -0
  540. package/funcs/smsMessagesList.js.map +1 -1
  541. package/funcs/smsMessagesUpdate.js +2 -0
  542. package/funcs/smsMessagesUpdate.js.map +1 -1
  543. package/funcs/vaultConnectionCustomMappingsList.js +2 -0
  544. package/funcs/vaultConnectionCustomMappingsList.js.map +1 -1
  545. package/funcs/vaultConnectionSettingsList.js +2 -0
  546. package/funcs/vaultConnectionSettingsList.js.map +1 -1
  547. package/funcs/vaultConnectionSettingsUpdate.js +2 -0
  548. package/funcs/vaultConnectionSettingsUpdate.js.map +1 -1
  549. package/funcs/vaultConnectionsDelete.js +2 -0
  550. package/funcs/vaultConnectionsDelete.js.map +1 -1
  551. package/funcs/vaultConnectionsGet.js +2 -0
  552. package/funcs/vaultConnectionsGet.js.map +1 -1
  553. package/funcs/vaultConnectionsImports.js +2 -0
  554. package/funcs/vaultConnectionsImports.js.map +1 -1
  555. package/funcs/vaultConnectionsList.js +2 -0
  556. package/funcs/vaultConnectionsList.js.map +1 -1
  557. package/funcs/vaultConnectionsToken.js +2 -0
  558. package/funcs/vaultConnectionsToken.js.map +1 -1
  559. package/funcs/vaultConnectionsUpdate.js +2 -0
  560. package/funcs/vaultConnectionsUpdate.js.map +1 -1
  561. package/funcs/vaultConsumerRequestCountsList.js +2 -0
  562. package/funcs/vaultConsumerRequestCountsList.js.map +1 -1
  563. package/funcs/vaultConsumersCreate.js +2 -0
  564. package/funcs/vaultConsumersCreate.js.map +1 -1
  565. package/funcs/vaultConsumersDelete.js +2 -0
  566. package/funcs/vaultConsumersDelete.js.map +1 -1
  567. package/funcs/vaultConsumersGet.js +2 -0
  568. package/funcs/vaultConsumersGet.js.map +1 -1
  569. package/funcs/vaultConsumersList.js +2 -0
  570. package/funcs/vaultConsumersList.js.map +1 -1
  571. package/funcs/vaultConsumersUpdate.js +2 -0
  572. package/funcs/vaultConsumersUpdate.js.map +1 -1
  573. package/funcs/vaultCreateCallbackState.js +2 -0
  574. package/funcs/vaultCreateCallbackState.js.map +1 -1
  575. package/funcs/vaultCustomFieldsList.js +2 -0
  576. package/funcs/vaultCustomFieldsList.js.map +1 -1
  577. package/funcs/vaultCustomMappingsList.js +2 -0
  578. package/funcs/vaultCustomMappingsList.js.map +1 -1
  579. package/funcs/vaultLogsList.js +2 -0
  580. package/funcs/vaultLogsList.js.map +1 -1
  581. package/funcs/vaultSessionsCreate.js +2 -0
  582. package/funcs/vaultSessionsCreate.js.map +1 -1
  583. package/funcs/vaultValidateConnectionState.js +2 -0
  584. package/funcs/vaultValidateConnectionState.js.map +1 -1
  585. package/funcs/webhookEventLogsList.js +2 -0
  586. package/funcs/webhookEventLogsList.js.map +1 -1
  587. package/funcs/webhookWebhooksCreate.js +2 -0
  588. package/funcs/webhookWebhooksCreate.js.map +1 -1
  589. package/funcs/webhookWebhooksDelete.js +2 -0
  590. package/funcs/webhookWebhooksDelete.js.map +1 -1
  591. package/funcs/webhookWebhooksGet.js +2 -0
  592. package/funcs/webhookWebhooksGet.js.map +1 -1
  593. package/funcs/webhookWebhooksList.js +2 -0
  594. package/funcs/webhookWebhooksList.js.map +1 -1
  595. package/funcs/webhookWebhooksUpdate.js +2 -0
  596. package/funcs/webhookWebhooksUpdate.js.map +1 -1
  597. package/hooks/types.d.ts +2 -0
  598. package/hooks/types.d.ts.map +1 -1
  599. package/jsr.json +1 -1
  600. package/lib/config.d.ts +8 -4
  601. package/lib/config.d.ts.map +1 -1
  602. package/lib/config.js +4 -4
  603. package/lib/config.js.map +1 -1
  604. package/lib/sdks.d.ts +1 -0
  605. package/lib/sdks.d.ts.map +1 -1
  606. package/lib/sdks.js +3 -3
  607. package/lib/sdks.js.map +1 -1
  608. package/models/components/createcustomobjectresponse.d.ts +70 -0
  609. package/models/components/createcustomobjectresponse.d.ts.map +1 -0
  610. package/models/components/createcustomobjectresponse.js +83 -0
  611. package/models/components/createcustomobjectresponse.js.map +1 -0
  612. package/models/components/createcustomobjectschemaresponse.d.ts +67 -0
  613. package/models/components/createcustomobjectschemaresponse.d.ts.map +1 -0
  614. package/models/components/createcustomobjectschemaresponse.js +83 -0
  615. package/models/components/createcustomobjectschemaresponse.js.map +1 -0
  616. package/models/components/customobject.d.ts +132 -0
  617. package/models/components/customobject.d.ts.map +1 -0
  618. package/models/components/customobject.js +163 -0
  619. package/models/components/customobject.js.map +1 -0
  620. package/models/components/customobjectschema.d.ts +262 -0
  621. package/models/components/customobjectschema.d.ts.map +1 -0
  622. package/models/components/customobjectschema.js +248 -0
  623. package/models/components/customobjectschema.js.map +1 -0
  624. package/models/components/deletecustomobjectresponse.d.ts +70 -0
  625. package/models/components/deletecustomobjectresponse.d.ts.map +1 -0
  626. package/models/components/deletecustomobjectresponse.js +83 -0
  627. package/models/components/deletecustomobjectresponse.js.map +1 -0
  628. package/models/components/deletecustomobjectschemaresponse.d.ts +70 -0
  629. package/models/components/deletecustomobjectschemaresponse.d.ts.map +1 -0
  630. package/models/components/deletecustomobjectschemaresponse.js +83 -0
  631. package/models/components/deletecustomobjectschemaresponse.js.map +1 -0
  632. package/models/components/getcustomobjectresponse.d.ts +67 -0
  633. package/models/components/getcustomobjectresponse.d.ts.map +1 -0
  634. package/models/components/getcustomobjectresponse.js +83 -0
  635. package/models/components/getcustomobjectresponse.js.map +1 -0
  636. package/models/components/getcustomobjectschemaresponse.d.ts +67 -0
  637. package/models/components/getcustomobjectschemaresponse.d.ts.map +1 -0
  638. package/models/components/getcustomobjectschemaresponse.js +83 -0
  639. package/models/components/getcustomobjectschemaresponse.js.map +1 -0
  640. package/models/components/getcustomobjectschemasresponse.d.ts +79 -0
  641. package/models/components/getcustomobjectschemasresponse.d.ts.map +1 -0
  642. package/models/components/getcustomobjectschemasresponse.js +89 -0
  643. package/models/components/getcustomobjectschemasresponse.js.map +1 -0
  644. package/models/components/getcustomobjectsresponse.d.ts +79 -0
  645. package/models/components/getcustomobjectsresponse.d.ts.map +1 -0
  646. package/models/components/getcustomobjectsresponse.js +89 -0
  647. package/models/components/getcustomobjectsresponse.js.map +1 -0
  648. package/models/components/index.d.ts +12 -1
  649. package/models/components/index.d.ts.map +1 -1
  650. package/models/components/index.js +12 -1
  651. package/models/components/index.js.map +1 -1
  652. package/models/components/journalentry.d.ts +158 -1
  653. package/models/components/journalentry.d.ts.map +1 -1
  654. package/models/components/journalentry.js +120 -1
  655. package/models/components/journalentry.js.map +1 -1
  656. package/models/components/updatecustomobjectresponse.d.ts +70 -0
  657. package/models/components/updatecustomobjectresponse.d.ts.map +1 -0
  658. package/models/components/updatecustomobjectresponse.js +83 -0
  659. package/models/components/updatecustomobjectresponse.js.map +1 -0
  660. package/models/components/updatecustomobjectschemaresponse.d.ts +70 -0
  661. package/models/components/updatecustomobjectschemaresponse.d.ts.map +1 -0
  662. package/models/components/updatecustomobjectschemaresponse.js +83 -0
  663. package/models/components/updatecustomobjectschemaresponse.js.map +1 -0
  664. package/models/operations/crmcustomobjectsadd.d.ts +123 -0
  665. package/models/operations/crmcustomobjectsadd.d.ts.map +1 -0
  666. package/models/operations/crmcustomobjectsadd.js +157 -0
  667. package/models/operations/crmcustomobjectsadd.js.map +1 -0
  668. package/models/operations/crmcustomobjectsall.d.ts +145 -0
  669. package/models/operations/crmcustomobjectsall.d.ts.map +1 -0
  670. package/models/operations/crmcustomobjectsall.js +163 -0
  671. package/models/operations/crmcustomobjectsall.js.map +1 -0
  672. package/models/operations/crmcustomobjectschemasadd.d.ts +118 -0
  673. package/models/operations/crmcustomobjectschemasadd.d.ts.map +1 -0
  674. package/models/operations/crmcustomobjectschemasadd.js +153 -0
  675. package/models/operations/crmcustomobjectschemasadd.js.map +1 -0
  676. package/models/operations/crmcustomobjectschemasall.d.ts +135 -0
  677. package/models/operations/crmcustomobjectschemasall.d.ts.map +1 -0
  678. package/models/operations/crmcustomobjectschemasall.js +157 -0
  679. package/models/operations/crmcustomobjectschemasall.js.map +1 -0
  680. package/models/operations/crmcustomobjectschemasdelete.d.ts +121 -0
  681. package/models/operations/crmcustomobjectschemasdelete.d.ts.map +1 -0
  682. package/models/operations/crmcustomobjectschemasdelete.js +145 -0
  683. package/models/operations/crmcustomobjectschemasdelete.js.map +1 -0
  684. package/models/operations/crmcustomobjectschemasone.d.ts +121 -0
  685. package/models/operations/crmcustomobjectschemasone.d.ts.map +1 -0
  686. package/models/operations/crmcustomobjectschemasone.js +145 -0
  687. package/models/operations/crmcustomobjectschemasone.js.map +1 -0
  688. package/models/operations/crmcustomobjectschemasupdate.d.ts +123 -0
  689. package/models/operations/crmcustomobjectschemasupdate.d.ts.map +1 -0
  690. package/models/operations/crmcustomobjectschemasupdate.js +155 -0
  691. package/models/operations/crmcustomobjectschemasupdate.js.map +1 -0
  692. package/models/operations/crmcustomobjectsdelete.d.ts +126 -0
  693. package/models/operations/crmcustomobjectsdelete.d.ts.map +1 -0
  694. package/models/operations/crmcustomobjectsdelete.js +155 -0
  695. package/models/operations/crmcustomobjectsdelete.js.map +1 -0
  696. package/models/operations/crmcustomobjectsone.d.ts +126 -0
  697. package/models/operations/crmcustomobjectsone.d.ts.map +1 -0
  698. package/models/operations/crmcustomobjectsone.js +155 -0
  699. package/models/operations/crmcustomobjectsone.js.map +1 -0
  700. package/models/operations/crmcustomobjectsupdate.d.ts +128 -0
  701. package/models/operations/crmcustomobjectsupdate.d.ts.map +1 -0
  702. package/models/operations/crmcustomobjectsupdate.js +159 -0
  703. package/models/operations/crmcustomobjectsupdate.js.map +1 -0
  704. package/models/operations/index.d.ts +10 -0
  705. package/models/operations/index.d.ts.map +1 -1
  706. package/models/operations/index.js +10 -0
  707. package/models/operations/index.js.map +1 -1
  708. package/package.json +1 -1
  709. package/sdk/crm.d.ts +6 -0
  710. package/sdk/crm.d.ts.map +1 -1
  711. package/sdk/crm.js +8 -0
  712. package/sdk/crm.js.map +1 -1
  713. package/sdk/customobjects.d.ts +43 -0
  714. package/sdk/customobjects.d.ts.map +1 -0
  715. package/sdk/customobjects.js +63 -0
  716. package/sdk/customobjects.js.map +1 -0
  717. package/sdk/customobjectschemas.d.ts +43 -0
  718. package/sdk/customobjectschemas.d.ts.map +1 -0
  719. package/sdk/customobjectschemas.js +63 -0
  720. package/sdk/customobjectschemas.js.map +1 -0
  721. package/src/__tests__/customobjects.test.ts +261 -0
  722. package/src/__tests__/customobjectschemas.test.ts +416 -0
  723. package/src/funcs/accountingAgedCreditorsGet.ts +2 -0
  724. package/src/funcs/accountingAgedDebtorsGet.ts +2 -0
  725. package/src/funcs/accountingAttachmentsDelete.ts +2 -0
  726. package/src/funcs/accountingAttachmentsDownload.ts +2 -0
  727. package/src/funcs/accountingAttachmentsGet.ts +2 -0
  728. package/src/funcs/accountingAttachmentsList.ts +2 -0
  729. package/src/funcs/accountingAttachmentsUpload.ts +2 -0
  730. package/src/funcs/accountingBalanceSheetGet.ts +2 -0
  731. package/src/funcs/accountingBankFeedAccountsCreate.ts +2 -0
  732. package/src/funcs/accountingBankFeedAccountsDelete.ts +2 -0
  733. package/src/funcs/accountingBankFeedAccountsGet.ts +2 -0
  734. package/src/funcs/accountingBankFeedAccountsList.ts +2 -0
  735. package/src/funcs/accountingBankFeedAccountsUpdate.ts +2 -0
  736. package/src/funcs/accountingBankFeedStatementsCreate.ts +2 -0
  737. package/src/funcs/accountingBankFeedStatementsDelete.ts +2 -0
  738. package/src/funcs/accountingBankFeedStatementsGet.ts +2 -0
  739. package/src/funcs/accountingBankFeedStatementsList.ts +2 -0
  740. package/src/funcs/accountingBankFeedStatementsUpdate.ts +2 -0
  741. package/src/funcs/accountingBillPaymentsCreate.ts +2 -0
  742. package/src/funcs/accountingBillPaymentsDelete.ts +2 -0
  743. package/src/funcs/accountingBillPaymentsGet.ts +2 -0
  744. package/src/funcs/accountingBillPaymentsList.ts +2 -0
  745. package/src/funcs/accountingBillPaymentsUpdate.ts +2 -0
  746. package/src/funcs/accountingBillsCreate.ts +2 -0
  747. package/src/funcs/accountingBillsDelete.ts +2 -0
  748. package/src/funcs/accountingBillsGet.ts +2 -0
  749. package/src/funcs/accountingBillsList.ts +2 -0
  750. package/src/funcs/accountingBillsUpdate.ts +2 -0
  751. package/src/funcs/accountingCompanyInfoGet.ts +2 -0
  752. package/src/funcs/accountingCreditNotesCreate.ts +2 -0
  753. package/src/funcs/accountingCreditNotesDelete.ts +2 -0
  754. package/src/funcs/accountingCreditNotesGet.ts +2 -0
  755. package/src/funcs/accountingCreditNotesList.ts +2 -0
  756. package/src/funcs/accountingCreditNotesUpdate.ts +2 -0
  757. package/src/funcs/accountingCustomersCreate.ts +2 -0
  758. package/src/funcs/accountingCustomersDelete.ts +2 -0
  759. package/src/funcs/accountingCustomersGet.ts +2 -0
  760. package/src/funcs/accountingCustomersList.ts +2 -0
  761. package/src/funcs/accountingCustomersUpdate.ts +2 -0
  762. package/src/funcs/accountingDepartmentsCreate.ts +2 -0
  763. package/src/funcs/accountingDepartmentsDelete.ts +2 -0
  764. package/src/funcs/accountingDepartmentsGet.ts +2 -0
  765. package/src/funcs/accountingDepartmentsList.ts +2 -0
  766. package/src/funcs/accountingDepartmentsUpdate.ts +2 -0
  767. package/src/funcs/accountingExpensesCreate.ts +2 -0
  768. package/src/funcs/accountingExpensesDelete.ts +2 -0
  769. package/src/funcs/accountingExpensesGet.ts +2 -0
  770. package/src/funcs/accountingExpensesList.ts +2 -0
  771. package/src/funcs/accountingExpensesUpdate.ts +2 -0
  772. package/src/funcs/accountingInvoiceItemsCreate.ts +2 -0
  773. package/src/funcs/accountingInvoiceItemsDelete.ts +2 -0
  774. package/src/funcs/accountingInvoiceItemsGet.ts +2 -0
  775. package/src/funcs/accountingInvoiceItemsList.ts +2 -0
  776. package/src/funcs/accountingInvoiceItemsUpdate.ts +2 -0
  777. package/src/funcs/accountingInvoicesCreate.ts +2 -0
  778. package/src/funcs/accountingInvoicesDelete.ts +2 -0
  779. package/src/funcs/accountingInvoicesGet.ts +2 -0
  780. package/src/funcs/accountingInvoicesList.ts +2 -0
  781. package/src/funcs/accountingInvoicesUpdate.ts +2 -0
  782. package/src/funcs/accountingJournalEntriesCreate.ts +2 -0
  783. package/src/funcs/accountingJournalEntriesDelete.ts +2 -0
  784. package/src/funcs/accountingJournalEntriesGet.ts +2 -0
  785. package/src/funcs/accountingJournalEntriesList.ts +2 -0
  786. package/src/funcs/accountingJournalEntriesUpdate.ts +2 -0
  787. package/src/funcs/accountingLedgerAccountsCreate.ts +2 -0
  788. package/src/funcs/accountingLedgerAccountsDelete.ts +2 -0
  789. package/src/funcs/accountingLedgerAccountsGet.ts +2 -0
  790. package/src/funcs/accountingLedgerAccountsList.ts +2 -0
  791. package/src/funcs/accountingLedgerAccountsUpdate.ts +2 -0
  792. package/src/funcs/accountingLocationsCreate.ts +2 -0
  793. package/src/funcs/accountingLocationsDelete.ts +2 -0
  794. package/src/funcs/accountingLocationsGet.ts +2 -0
  795. package/src/funcs/accountingLocationsList.ts +2 -0
  796. package/src/funcs/accountingLocationsUpdate.ts +2 -0
  797. package/src/funcs/accountingPaymentsCreate.ts +2 -0
  798. package/src/funcs/accountingPaymentsDelete.ts +2 -0
  799. package/src/funcs/accountingPaymentsGet.ts +2 -0
  800. package/src/funcs/accountingPaymentsList.ts +2 -0
  801. package/src/funcs/accountingPaymentsUpdate.ts +2 -0
  802. package/src/funcs/accountingProfitAndLossGet.ts +2 -0
  803. package/src/funcs/accountingPurchaseOrdersCreate.ts +2 -0
  804. package/src/funcs/accountingPurchaseOrdersDelete.ts +2 -0
  805. package/src/funcs/accountingPurchaseOrdersGet.ts +2 -0
  806. package/src/funcs/accountingPurchaseOrdersList.ts +2 -0
  807. package/src/funcs/accountingPurchaseOrdersUpdate.ts +2 -0
  808. package/src/funcs/accountingSubsidiariesCreate.ts +2 -0
  809. package/src/funcs/accountingSubsidiariesDelete.ts +2 -0
  810. package/src/funcs/accountingSubsidiariesGet.ts +2 -0
  811. package/src/funcs/accountingSubsidiariesList.ts +2 -0
  812. package/src/funcs/accountingSubsidiariesUpdate.ts +2 -0
  813. package/src/funcs/accountingSuppliersCreate.ts +2 -0
  814. package/src/funcs/accountingSuppliersDelete.ts +2 -0
  815. package/src/funcs/accountingSuppliersGet.ts +2 -0
  816. package/src/funcs/accountingSuppliersList.ts +2 -0
  817. package/src/funcs/accountingSuppliersUpdate.ts +2 -0
  818. package/src/funcs/accountingTaxRatesCreate.ts +2 -0
  819. package/src/funcs/accountingTaxRatesDelete.ts +2 -0
  820. package/src/funcs/accountingTaxRatesGet.ts +2 -0
  821. package/src/funcs/accountingTaxRatesList.ts +2 -0
  822. package/src/funcs/accountingTaxRatesUpdate.ts +2 -0
  823. package/src/funcs/accountingTrackingCategoriesCreate.ts +2 -0
  824. package/src/funcs/accountingTrackingCategoriesDelete.ts +2 -0
  825. package/src/funcs/accountingTrackingCategoriesGet.ts +2 -0
  826. package/src/funcs/accountingTrackingCategoriesList.ts +2 -0
  827. package/src/funcs/accountingTrackingCategoriesUpdate.ts +2 -0
  828. package/src/funcs/atsApplicantsCreate.ts +2 -0
  829. package/src/funcs/atsApplicantsDelete.ts +2 -0
  830. package/src/funcs/atsApplicantsGet.ts +2 -0
  831. package/src/funcs/atsApplicantsList.ts +2 -0
  832. package/src/funcs/atsApplicantsUpdate.ts +2 -0
  833. package/src/funcs/atsApplicationsCreate.ts +2 -0
  834. package/src/funcs/atsApplicationsDelete.ts +2 -0
  835. package/src/funcs/atsApplicationsGet.ts +2 -0
  836. package/src/funcs/atsApplicationsList.ts +2 -0
  837. package/src/funcs/atsApplicationsUpdate.ts +2 -0
  838. package/src/funcs/atsJobsGet.ts +2 -0
  839. package/src/funcs/atsJobsList.ts +2 -0
  840. package/src/funcs/connectorApiResourceCoverageGet.ts +2 -0
  841. package/src/funcs/connectorApiResourcesGet.ts +2 -0
  842. package/src/funcs/connectorApisGet.ts +2 -0
  843. package/src/funcs/connectorApisList.ts +2 -0
  844. package/src/funcs/connectorConnectorDocsGet.ts +2 -0
  845. package/src/funcs/connectorConnectorResourcesGet.ts +2 -0
  846. package/src/funcs/connectorConnectorsGet.ts +2 -0
  847. package/src/funcs/connectorConnectorsList.ts +2 -0
  848. package/src/funcs/crmActivitiesCreate.ts +2 -0
  849. package/src/funcs/crmActivitiesDelete.ts +2 -0
  850. package/src/funcs/crmActivitiesGet.ts +2 -0
  851. package/src/funcs/crmActivitiesList.ts +2 -0
  852. package/src/funcs/crmActivitiesUpdate.ts +2 -0
  853. package/src/funcs/crmCompaniesCreate.ts +2 -0
  854. package/src/funcs/crmCompaniesDelete.ts +2 -0
  855. package/src/funcs/crmCompaniesGet.ts +2 -0
  856. package/src/funcs/crmCompaniesList.ts +2 -0
  857. package/src/funcs/crmCompaniesUpdate.ts +2 -0
  858. package/src/funcs/crmContactsCreate.ts +2 -0
  859. package/src/funcs/crmContactsDelete.ts +2 -0
  860. package/src/funcs/crmContactsGet.ts +2 -0
  861. package/src/funcs/crmContactsList.ts +2 -0
  862. package/src/funcs/crmContactsUpdate.ts +2 -0
  863. package/src/funcs/crmCustomObjectSchemasCreate.ts +221 -0
  864. package/src/funcs/crmCustomObjectSchemasDelete.ts +227 -0
  865. package/src/funcs/crmCustomObjectSchemasGet.ts +225 -0
  866. package/src/funcs/crmCustomObjectSchemasList.ts +292 -0
  867. package/src/funcs/crmCustomObjectSchemasUpdate.ts +230 -0
  868. package/src/funcs/crmCustomObjectsCreate.ts +224 -0
  869. package/src/funcs/crmCustomObjectsDelete.ts +227 -0
  870. package/src/funcs/crmCustomObjectsGet.ts +227 -0
  871. package/src/funcs/crmCustomObjectsList.ts +298 -0
  872. package/src/funcs/crmCustomObjectsUpdate.ts +228 -0
  873. package/src/funcs/crmLeadsCreate.ts +2 -0
  874. package/src/funcs/crmLeadsDelete.ts +2 -0
  875. package/src/funcs/crmLeadsGet.ts +2 -0
  876. package/src/funcs/crmLeadsList.ts +2 -0
  877. package/src/funcs/crmLeadsUpdate.ts +2 -0
  878. package/src/funcs/crmNotesCreate.ts +2 -0
  879. package/src/funcs/crmNotesDelete.ts +2 -0
  880. package/src/funcs/crmNotesGet.ts +2 -0
  881. package/src/funcs/crmNotesList.ts +2 -0
  882. package/src/funcs/crmNotesUpdate.ts +2 -0
  883. package/src/funcs/crmOpportunitiesCreate.ts +2 -0
  884. package/src/funcs/crmOpportunitiesDelete.ts +2 -0
  885. package/src/funcs/crmOpportunitiesGet.ts +2 -0
  886. package/src/funcs/crmOpportunitiesList.ts +2 -0
  887. package/src/funcs/crmOpportunitiesUpdate.ts +2 -0
  888. package/src/funcs/crmPipelinesCreate.ts +2 -0
  889. package/src/funcs/crmPipelinesDelete.ts +2 -0
  890. package/src/funcs/crmPipelinesGet.ts +2 -0
  891. package/src/funcs/crmPipelinesList.ts +2 -0
  892. package/src/funcs/crmPipelinesUpdate.ts +2 -0
  893. package/src/funcs/crmUsersCreate.ts +2 -0
  894. package/src/funcs/crmUsersDelete.ts +2 -0
  895. package/src/funcs/crmUsersGet.ts +2 -0
  896. package/src/funcs/crmUsersList.ts +2 -0
  897. package/src/funcs/crmUsersUpdate.ts +2 -0
  898. package/src/funcs/ecommerceCustomersGet.ts +2 -0
  899. package/src/funcs/ecommerceCustomersList.ts +2 -0
  900. package/src/funcs/ecommerceOrdersGet.ts +2 -0
  901. package/src/funcs/ecommerceOrdersList.ts +2 -0
  902. package/src/funcs/ecommerceProductsGet.ts +2 -0
  903. package/src/funcs/ecommerceProductsList.ts +2 -0
  904. package/src/funcs/ecommerceStoresGet.ts +2 -0
  905. package/src/funcs/fileStorageDriveGroupsCreate.ts +2 -0
  906. package/src/funcs/fileStorageDriveGroupsDelete.ts +2 -0
  907. package/src/funcs/fileStorageDriveGroupsGet.ts +2 -0
  908. package/src/funcs/fileStorageDriveGroupsList.ts +2 -0
  909. package/src/funcs/fileStorageDriveGroupsUpdate.ts +2 -0
  910. package/src/funcs/fileStorageDrivesCreate.ts +2 -0
  911. package/src/funcs/fileStorageDrivesDelete.ts +2 -0
  912. package/src/funcs/fileStorageDrivesGet.ts +2 -0
  913. package/src/funcs/fileStorageDrivesList.ts +2 -0
  914. package/src/funcs/fileStorageDrivesUpdate.ts +2 -0
  915. package/src/funcs/fileStorageFilesDelete.ts +2 -0
  916. package/src/funcs/fileStorageFilesDownload.ts +2 -0
  917. package/src/funcs/fileStorageFilesExport.ts +2 -0
  918. package/src/funcs/fileStorageFilesGet.ts +2 -0
  919. package/src/funcs/fileStorageFilesList.ts +2 -0
  920. package/src/funcs/fileStorageFilesSearch.ts +2 -0
  921. package/src/funcs/fileStorageFilesUpdate.ts +2 -0
  922. package/src/funcs/fileStorageFoldersCopy.ts +2 -0
  923. package/src/funcs/fileStorageFoldersCreate.ts +2 -0
  924. package/src/funcs/fileStorageFoldersDelete.ts +2 -0
  925. package/src/funcs/fileStorageFoldersGet.ts +2 -0
  926. package/src/funcs/fileStorageFoldersUpdate.ts +2 -0
  927. package/src/funcs/fileStorageSharedLinksCreate.ts +2 -0
  928. package/src/funcs/fileStorageSharedLinksDelete.ts +2 -0
  929. package/src/funcs/fileStorageSharedLinksGet.ts +2 -0
  930. package/src/funcs/fileStorageSharedLinksList.ts +2 -0
  931. package/src/funcs/fileStorageSharedLinksUpdate.ts +2 -0
  932. package/src/funcs/fileStorageUploadSessionsCreate.ts +2 -0
  933. package/src/funcs/fileStorageUploadSessionsDelete.ts +2 -0
  934. package/src/funcs/fileStorageUploadSessionsFinish.ts +2 -0
  935. package/src/funcs/fileStorageUploadSessionsGet.ts +2 -0
  936. package/src/funcs/fileStorageUploadSessionsUpload.ts +2 -0
  937. package/src/funcs/hrisCompaniesCreate.ts +2 -0
  938. package/src/funcs/hrisCompaniesDelete.ts +2 -0
  939. package/src/funcs/hrisCompaniesGet.ts +2 -0
  940. package/src/funcs/hrisCompaniesList.ts +2 -0
  941. package/src/funcs/hrisCompaniesUpdate.ts +2 -0
  942. package/src/funcs/hrisDepartmentsCreate.ts +2 -0
  943. package/src/funcs/hrisDepartmentsDelete.ts +2 -0
  944. package/src/funcs/hrisDepartmentsGet.ts +2 -0
  945. package/src/funcs/hrisDepartmentsList.ts +2 -0
  946. package/src/funcs/hrisDepartmentsUpdate.ts +2 -0
  947. package/src/funcs/hrisEmployeePayrollsGet.ts +2 -0
  948. package/src/funcs/hrisEmployeePayrollsList.ts +2 -0
  949. package/src/funcs/hrisEmployeeSchedulesList.ts +2 -0
  950. package/src/funcs/hrisEmployeesCreate.ts +2 -0
  951. package/src/funcs/hrisEmployeesDelete.ts +2 -0
  952. package/src/funcs/hrisEmployeesGet.ts +2 -0
  953. package/src/funcs/hrisEmployeesList.ts +2 -0
  954. package/src/funcs/hrisEmployeesUpdate.ts +2 -0
  955. package/src/funcs/hrisPayrollsGet.ts +2 -0
  956. package/src/funcs/hrisPayrollsList.ts +2 -0
  957. package/src/funcs/hrisTimeOffRequestsCreate.ts +2 -0
  958. package/src/funcs/hrisTimeOffRequestsDelete.ts +2 -0
  959. package/src/funcs/hrisTimeOffRequestsGet.ts +2 -0
  960. package/src/funcs/hrisTimeOffRequestsList.ts +2 -0
  961. package/src/funcs/hrisTimeOffRequestsUpdate.ts +2 -0
  962. package/src/funcs/issueTrackingCollectionTagsList.ts +2 -0
  963. package/src/funcs/issueTrackingCollectionTicketCommentsCreate.ts +2 -0
  964. package/src/funcs/issueTrackingCollectionTicketCommentsDelete.ts +2 -0
  965. package/src/funcs/issueTrackingCollectionTicketCommentsGet.ts +2 -0
  966. package/src/funcs/issueTrackingCollectionTicketCommentsList.ts +2 -0
  967. package/src/funcs/issueTrackingCollectionTicketCommentsUpdate.ts +2 -0
  968. package/src/funcs/issueTrackingCollectionTicketsCreate.ts +2 -0
  969. package/src/funcs/issueTrackingCollectionTicketsDelete.ts +2 -0
  970. package/src/funcs/issueTrackingCollectionTicketsGet.ts +2 -0
  971. package/src/funcs/issueTrackingCollectionTicketsList.ts +2 -0
  972. package/src/funcs/issueTrackingCollectionTicketsUpdate.ts +2 -0
  973. package/src/funcs/issueTrackingCollectionUsersGet.ts +2 -0
  974. package/src/funcs/issueTrackingCollectionUsersList.ts +2 -0
  975. package/src/funcs/issueTrackingCollectionsGet.ts +2 -0
  976. package/src/funcs/issueTrackingCollectionsList.ts +2 -0
  977. package/src/funcs/smsMessagesCreate.ts +2 -0
  978. package/src/funcs/smsMessagesDelete.ts +2 -0
  979. package/src/funcs/smsMessagesGet.ts +2 -0
  980. package/src/funcs/smsMessagesList.ts +2 -0
  981. package/src/funcs/smsMessagesUpdate.ts +2 -0
  982. package/src/funcs/vaultConnectionCustomMappingsList.ts +2 -0
  983. package/src/funcs/vaultConnectionSettingsList.ts +2 -0
  984. package/src/funcs/vaultConnectionSettingsUpdate.ts +2 -0
  985. package/src/funcs/vaultConnectionsDelete.ts +2 -0
  986. package/src/funcs/vaultConnectionsGet.ts +2 -0
  987. package/src/funcs/vaultConnectionsImports.ts +2 -0
  988. package/src/funcs/vaultConnectionsList.ts +2 -0
  989. package/src/funcs/vaultConnectionsToken.ts +2 -0
  990. package/src/funcs/vaultConnectionsUpdate.ts +2 -0
  991. package/src/funcs/vaultConsumerRequestCountsList.ts +2 -0
  992. package/src/funcs/vaultConsumersCreate.ts +2 -0
  993. package/src/funcs/vaultConsumersDelete.ts +2 -0
  994. package/src/funcs/vaultConsumersGet.ts +2 -0
  995. package/src/funcs/vaultConsumersList.ts +2 -0
  996. package/src/funcs/vaultConsumersUpdate.ts +2 -0
  997. package/src/funcs/vaultCreateCallbackState.ts +2 -0
  998. package/src/funcs/vaultCustomFieldsList.ts +2 -0
  999. package/src/funcs/vaultCustomMappingsList.ts +2 -0
  1000. package/src/funcs/vaultLogsList.ts +2 -0
  1001. package/src/funcs/vaultSessionsCreate.ts +2 -0
  1002. package/src/funcs/vaultValidateConnectionState.ts +2 -0
  1003. package/src/funcs/webhookEventLogsList.ts +2 -0
  1004. package/src/funcs/webhookWebhooksCreate.ts +2 -0
  1005. package/src/funcs/webhookWebhooksDelete.ts +2 -0
  1006. package/src/funcs/webhookWebhooksGet.ts +2 -0
  1007. package/src/funcs/webhookWebhooksList.ts +2 -0
  1008. package/src/funcs/webhookWebhooksUpdate.ts +2 -0
  1009. package/src/hooks/types.ts +2 -0
  1010. package/src/lib/config.ts +8 -4
  1011. package/src/lib/sdks.ts +10 -4
  1012. package/src/models/components/createcustomobjectresponse.ts +131 -0
  1013. package/src/models/components/createcustomobjectschemaresponse.ts +130 -0
  1014. package/src/models/components/customobject.ts +285 -0
  1015. package/src/models/components/customobjectschema.ts +459 -0
  1016. package/src/models/components/deletecustomobjectresponse.ts +131 -0
  1017. package/src/models/components/deletecustomobjectschemaresponse.ts +133 -0
  1018. package/src/models/components/getcustomobjectresponse.ts +128 -0
  1019. package/src/models/components/getcustomobjectschemaresponse.ts +130 -0
  1020. package/src/models/components/getcustomobjectschemasresponse.ts +156 -0
  1021. package/src/models/components/getcustomobjectsresponse.ts +154 -0
  1022. package/src/models/components/index.ts +12 -1
  1023. package/src/models/components/journalentry.ts +258 -0
  1024. package/src/models/components/updatecustomobjectresponse.ts +131 -0
  1025. package/src/models/components/updatecustomobjectschemaresponse.ts +133 -0
  1026. package/src/models/operations/crmcustomobjectsadd.ts +277 -0
  1027. package/src/models/operations/crmcustomobjectsall.ts +299 -0
  1028. package/src/models/operations/crmcustomobjectschemasadd.ts +273 -0
  1029. package/src/models/operations/crmcustomobjectschemasall.ts +290 -0
  1030. package/src/models/operations/crmcustomobjectschemasdelete.ts +276 -0
  1031. package/src/models/operations/crmcustomobjectschemasone.ts +268 -0
  1032. package/src/models/operations/crmcustomobjectschemasupdate.ts +288 -0
  1033. package/src/models/operations/crmcustomobjectsdelete.ts +282 -0
  1034. package/src/models/operations/crmcustomobjectsone.ts +276 -0
  1035. package/src/models/operations/crmcustomobjectsupdate.ts +288 -0
  1036. package/src/models/operations/index.ts +10 -0
  1037. package/src/sdk/crm.ts +14 -0
  1038. package/src/sdk/customobjects.ts +102 -0
  1039. package/src/sdk/customobjectschemas.ts +105 -0
  1040. package/models/components/journalentryinput.d.ts +0 -109
  1041. package/models/components/journalentryinput.d.ts.map +0 -1
  1042. package/models/components/journalentryinput.js +0 -126
  1043. package/models/components/journalentryinput.js.map +0 -1
  1044. package/src/models/components/journalentryinput.ts +0 -239
@@ -0,0 +1,230 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import { ApideckCore } from "../core.js";
6
+ import { encodeFormQuery, encodeJSON, encodeSimple } from "../lib/encodings.js";
7
+ import * as M from "../lib/matchers.js";
8
+ import { compactMap } from "../lib/primitives.js";
9
+ import { safeParse } from "../lib/schemas.js";
10
+ import { RequestOptions } from "../lib/sdks.js";
11
+ import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
12
+ import { pathToFunc } from "../lib/url.js";
13
+ import { APIError } from "../models/errors/apierror.js";
14
+ import {
15
+ ConnectionError,
16
+ InvalidRequestError,
17
+ RequestAbortedError,
18
+ RequestTimeoutError,
19
+ UnexpectedClientError,
20
+ } from "../models/errors/httpclienterrors.js";
21
+ import * as errors from "../models/errors/index.js";
22
+ import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
23
+ import * as operations from "../models/operations/index.js";
24
+ import { APICall, APIPromise } from "../types/async.js";
25
+ import { Result } from "../types/fp.js";
26
+
27
+ /**
28
+ * Update custom object schema
29
+ *
30
+ * @remarks
31
+ * Update custom object schema
32
+ */
33
+ export function crmCustomObjectSchemasUpdate(
34
+ client: ApideckCore,
35
+ request: operations.CrmCustomObjectSchemasUpdateRequest,
36
+ options?: RequestOptions,
37
+ ): APIPromise<
38
+ Result<
39
+ operations.CrmCustomObjectSchemasUpdateResponse,
40
+ | errors.BadRequestResponse
41
+ | errors.UnauthorizedResponse
42
+ | errors.PaymentRequiredResponse
43
+ | errors.NotFoundResponse
44
+ | errors.UnprocessableResponse
45
+ | APIError
46
+ | SDKValidationError
47
+ | UnexpectedClientError
48
+ | InvalidRequestError
49
+ | RequestAbortedError
50
+ | RequestTimeoutError
51
+ | ConnectionError
52
+ >
53
+ > {
54
+ return new APIPromise($do(
55
+ client,
56
+ request,
57
+ options,
58
+ ));
59
+ }
60
+
61
+ async function $do(
62
+ client: ApideckCore,
63
+ request: operations.CrmCustomObjectSchemasUpdateRequest,
64
+ options?: RequestOptions,
65
+ ): Promise<
66
+ [
67
+ Result<
68
+ operations.CrmCustomObjectSchemasUpdateResponse,
69
+ | errors.BadRequestResponse
70
+ | errors.UnauthorizedResponse
71
+ | errors.PaymentRequiredResponse
72
+ | errors.NotFoundResponse
73
+ | errors.UnprocessableResponse
74
+ | APIError
75
+ | SDKValidationError
76
+ | UnexpectedClientError
77
+ | InvalidRequestError
78
+ | RequestAbortedError
79
+ | RequestTimeoutError
80
+ | ConnectionError
81
+ >,
82
+ APICall,
83
+ ]
84
+ > {
85
+ const parsed = safeParse(
86
+ request,
87
+ (value) =>
88
+ operations.CrmCustomObjectSchemasUpdateRequest$outboundSchema.parse(
89
+ value,
90
+ ),
91
+ "Input validation failed",
92
+ );
93
+ if (!parsed.ok) {
94
+ return [parsed, { status: "invalid" }];
95
+ }
96
+ const payload = parsed.value;
97
+ const body = encodeJSON("body", payload.CustomObjectSchema, {
98
+ explode: true,
99
+ });
100
+
101
+ const pathParams = {
102
+ id: encodeSimple("id", payload.id, {
103
+ explode: false,
104
+ charEncoding: "percent",
105
+ }),
106
+ };
107
+
108
+ const path = pathToFunc("/crm/custom-object-schemas/{id}")(pathParams);
109
+
110
+ const query = encodeFormQuery({
111
+ "raw": payload.raw,
112
+ });
113
+
114
+ const headers = new Headers(compactMap({
115
+ "Content-Type": "application/json",
116
+ Accept: "application/json",
117
+ "x-apideck-app-id": encodeSimple(
118
+ "x-apideck-app-id",
119
+ payload.appId ?? client._options.appId,
120
+ { explode: false, charEncoding: "none" },
121
+ ),
122
+ "x-apideck-consumer-id": encodeSimple(
123
+ "x-apideck-consumer-id",
124
+ payload.consumerId ?? client._options.consumerId,
125
+ { explode: false, charEncoding: "none" },
126
+ ),
127
+ "x-apideck-service-id": encodeSimple(
128
+ "x-apideck-service-id",
129
+ payload.serviceId,
130
+ { explode: false, charEncoding: "none" },
131
+ ),
132
+ }));
133
+
134
+ const secConfig = await extractSecurity(client._options.apiKey);
135
+ const securityInput = secConfig == null ? {} : { apiKey: secConfig };
136
+ const requestSecurity = resolveGlobalSecurity(securityInput);
137
+
138
+ const context = {
139
+ options: client._options,
140
+ baseURL: options?.serverURL ?? client._baseURL ?? "",
141
+ operationID: "crm.customObjectSchemasUpdate",
142
+ oAuth2Scopes: [],
143
+
144
+ resolvedSecurity: requestSecurity,
145
+
146
+ securitySource: client._options.apiKey,
147
+ retryConfig: options?.retries
148
+ || client._options.retryConfig
149
+ || {
150
+ strategy: "backoff",
151
+ backoff: {
152
+ initialInterval: 500,
153
+ maxInterval: 60000,
154
+ exponent: 1.5,
155
+ maxElapsedTime: 3600000,
156
+ },
157
+ retryConnectionErrors: true,
158
+ }
159
+ || { strategy: "none" },
160
+ retryCodes: options?.retryCodes || ["408", "500", "502", "503", "504"],
161
+ };
162
+
163
+ const requestRes = client._createRequest(context, {
164
+ security: requestSecurity,
165
+ method: "PATCH",
166
+ baseURL: options?.serverURL,
167
+ path: path,
168
+ headers: headers,
169
+ query: query,
170
+ body: body,
171
+ userAgent: client._options.userAgent,
172
+ timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
173
+ }, options);
174
+ if (!requestRes.ok) {
175
+ return [requestRes, { status: "invalid" }];
176
+ }
177
+ const req = requestRes.value;
178
+
179
+ const doResult = await client._do(req, {
180
+ context,
181
+ errorCodes: ["400", "401", "402", "404", "422", "4XX", "5XX"],
182
+ retryConfig: context.retryConfig,
183
+ retryCodes: context.retryCodes,
184
+ });
185
+ if (!doResult.ok) {
186
+ return [doResult, { status: "request-error", request: req }];
187
+ }
188
+ const response = doResult.value;
189
+
190
+ const responseFields = {
191
+ HttpMeta: { Response: response, Request: req },
192
+ };
193
+
194
+ const [result] = await M.match<
195
+ operations.CrmCustomObjectSchemasUpdateResponse,
196
+ | errors.BadRequestResponse
197
+ | errors.UnauthorizedResponse
198
+ | errors.PaymentRequiredResponse
199
+ | errors.NotFoundResponse
200
+ | errors.UnprocessableResponse
201
+ | APIError
202
+ | SDKValidationError
203
+ | UnexpectedClientError
204
+ | InvalidRequestError
205
+ | RequestAbortedError
206
+ | RequestTimeoutError
207
+ | ConnectionError
208
+ >(
209
+ M.json(200, operations.CrmCustomObjectSchemasUpdateResponse$inboundSchema, {
210
+ key: "UpdateCustomObjectSchemaResponse",
211
+ }),
212
+ M.jsonErr(400, errors.BadRequestResponse$inboundSchema),
213
+ M.jsonErr(401, errors.UnauthorizedResponse$inboundSchema),
214
+ M.jsonErr(402, errors.PaymentRequiredResponse$inboundSchema),
215
+ M.jsonErr(404, errors.NotFoundResponse$inboundSchema),
216
+ M.jsonErr(422, errors.UnprocessableResponse$inboundSchema),
217
+ M.fail("4XX"),
218
+ M.fail("5XX"),
219
+ M.json(
220
+ "default",
221
+ operations.CrmCustomObjectSchemasUpdateResponse$inboundSchema,
222
+ { key: "UnexpectedErrorResponse" },
223
+ ),
224
+ )(response, req, { extraFields: responseFields });
225
+ if (!result.ok) {
226
+ return [result, { status: "complete", request: req, response }];
227
+ }
228
+
229
+ return [result, { status: "complete", request: req, response }];
230
+ }
@@ -0,0 +1,224 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import { ApideckCore } from "../core.js";
6
+ import { encodeFormQuery, encodeJSON, encodeSimple } from "../lib/encodings.js";
7
+ import * as M from "../lib/matchers.js";
8
+ import { compactMap } from "../lib/primitives.js";
9
+ import { safeParse } from "../lib/schemas.js";
10
+ import { RequestOptions } from "../lib/sdks.js";
11
+ import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
12
+ import { pathToFunc } from "../lib/url.js";
13
+ import { APIError } from "../models/errors/apierror.js";
14
+ import {
15
+ ConnectionError,
16
+ InvalidRequestError,
17
+ RequestAbortedError,
18
+ RequestTimeoutError,
19
+ UnexpectedClientError,
20
+ } from "../models/errors/httpclienterrors.js";
21
+ import * as errors from "../models/errors/index.js";
22
+ import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
23
+ import * as operations from "../models/operations/index.js";
24
+ import { APICall, APIPromise } from "../types/async.js";
25
+ import { Result } from "../types/fp.js";
26
+
27
+ /**
28
+ * Create custom object
29
+ *
30
+ * @remarks
31
+ * Create custom object
32
+ */
33
+ export function crmCustomObjectsCreate(
34
+ client: ApideckCore,
35
+ request: operations.CrmCustomObjectsAddRequest,
36
+ options?: RequestOptions,
37
+ ): APIPromise<
38
+ Result<
39
+ operations.CrmCustomObjectsAddResponse,
40
+ | errors.BadRequestResponse
41
+ | errors.UnauthorizedResponse
42
+ | errors.PaymentRequiredResponse
43
+ | errors.NotFoundResponse
44
+ | errors.UnprocessableResponse
45
+ | APIError
46
+ | SDKValidationError
47
+ | UnexpectedClientError
48
+ | InvalidRequestError
49
+ | RequestAbortedError
50
+ | RequestTimeoutError
51
+ | ConnectionError
52
+ >
53
+ > {
54
+ return new APIPromise($do(
55
+ client,
56
+ request,
57
+ options,
58
+ ));
59
+ }
60
+
61
+ async function $do(
62
+ client: ApideckCore,
63
+ request: operations.CrmCustomObjectsAddRequest,
64
+ options?: RequestOptions,
65
+ ): Promise<
66
+ [
67
+ Result<
68
+ operations.CrmCustomObjectsAddResponse,
69
+ | errors.BadRequestResponse
70
+ | errors.UnauthorizedResponse
71
+ | errors.PaymentRequiredResponse
72
+ | errors.NotFoundResponse
73
+ | errors.UnprocessableResponse
74
+ | APIError
75
+ | SDKValidationError
76
+ | UnexpectedClientError
77
+ | InvalidRequestError
78
+ | RequestAbortedError
79
+ | RequestTimeoutError
80
+ | ConnectionError
81
+ >,
82
+ APICall,
83
+ ]
84
+ > {
85
+ const parsed = safeParse(
86
+ request,
87
+ (value) =>
88
+ operations.CrmCustomObjectsAddRequest$outboundSchema.parse(value),
89
+ "Input validation failed",
90
+ );
91
+ if (!parsed.ok) {
92
+ return [parsed, { status: "invalid" }];
93
+ }
94
+ const payload = parsed.value;
95
+ const body = encodeJSON("body", payload.CustomObject, { explode: true });
96
+
97
+ const pathParams = {
98
+ object_id: encodeSimple("object_id", payload.object_id, {
99
+ explode: false,
100
+ charEncoding: "percent",
101
+ }),
102
+ };
103
+
104
+ const path = pathToFunc("/crm/custom-objects/{object_id}")(pathParams);
105
+
106
+ const query = encodeFormQuery({
107
+ "raw": payload.raw,
108
+ });
109
+
110
+ const headers = new Headers(compactMap({
111
+ "Content-Type": "application/json",
112
+ Accept: "application/json",
113
+ "x-apideck-app-id": encodeSimple(
114
+ "x-apideck-app-id",
115
+ payload.appId ?? client._options.appId,
116
+ { explode: false, charEncoding: "none" },
117
+ ),
118
+ "x-apideck-consumer-id": encodeSimple(
119
+ "x-apideck-consumer-id",
120
+ payload.consumerId ?? client._options.consumerId,
121
+ { explode: false, charEncoding: "none" },
122
+ ),
123
+ "x-apideck-service-id": encodeSimple(
124
+ "x-apideck-service-id",
125
+ payload.serviceId,
126
+ { explode: false, charEncoding: "none" },
127
+ ),
128
+ }));
129
+
130
+ const secConfig = await extractSecurity(client._options.apiKey);
131
+ const securityInput = secConfig == null ? {} : { apiKey: secConfig };
132
+ const requestSecurity = resolveGlobalSecurity(securityInput);
133
+
134
+ const context = {
135
+ options: client._options,
136
+ baseURL: options?.serverURL ?? client._baseURL ?? "",
137
+ operationID: "crm.customObjectsAdd",
138
+ oAuth2Scopes: [],
139
+
140
+ resolvedSecurity: requestSecurity,
141
+
142
+ securitySource: client._options.apiKey,
143
+ retryConfig: options?.retries
144
+ || client._options.retryConfig
145
+ || {
146
+ strategy: "backoff",
147
+ backoff: {
148
+ initialInterval: 500,
149
+ maxInterval: 60000,
150
+ exponent: 1.5,
151
+ maxElapsedTime: 3600000,
152
+ },
153
+ retryConnectionErrors: true,
154
+ }
155
+ || { strategy: "none" },
156
+ retryCodes: options?.retryCodes || ["408", "500", "502", "503", "504"],
157
+ };
158
+
159
+ const requestRes = client._createRequest(context, {
160
+ security: requestSecurity,
161
+ method: "POST",
162
+ baseURL: options?.serverURL,
163
+ path: path,
164
+ headers: headers,
165
+ query: query,
166
+ body: body,
167
+ userAgent: client._options.userAgent,
168
+ timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
169
+ }, options);
170
+ if (!requestRes.ok) {
171
+ return [requestRes, { status: "invalid" }];
172
+ }
173
+ const req = requestRes.value;
174
+
175
+ const doResult = await client._do(req, {
176
+ context,
177
+ errorCodes: ["400", "401", "402", "404", "422", "4XX", "5XX"],
178
+ retryConfig: context.retryConfig,
179
+ retryCodes: context.retryCodes,
180
+ });
181
+ if (!doResult.ok) {
182
+ return [doResult, { status: "request-error", request: req }];
183
+ }
184
+ const response = doResult.value;
185
+
186
+ const responseFields = {
187
+ HttpMeta: { Response: response, Request: req },
188
+ };
189
+
190
+ const [result] = await M.match<
191
+ operations.CrmCustomObjectsAddResponse,
192
+ | errors.BadRequestResponse
193
+ | errors.UnauthorizedResponse
194
+ | errors.PaymentRequiredResponse
195
+ | errors.NotFoundResponse
196
+ | errors.UnprocessableResponse
197
+ | APIError
198
+ | SDKValidationError
199
+ | UnexpectedClientError
200
+ | InvalidRequestError
201
+ | RequestAbortedError
202
+ | RequestTimeoutError
203
+ | ConnectionError
204
+ >(
205
+ M.json(201, operations.CrmCustomObjectsAddResponse$inboundSchema, {
206
+ key: "CreateCustomObjectResponse",
207
+ }),
208
+ M.jsonErr(400, errors.BadRequestResponse$inboundSchema),
209
+ M.jsonErr(401, errors.UnauthorizedResponse$inboundSchema),
210
+ M.jsonErr(402, errors.PaymentRequiredResponse$inboundSchema),
211
+ M.jsonErr(404, errors.NotFoundResponse$inboundSchema),
212
+ M.jsonErr(422, errors.UnprocessableResponse$inboundSchema),
213
+ M.fail("4XX"),
214
+ M.fail("5XX"),
215
+ M.json("default", operations.CrmCustomObjectsAddResponse$inboundSchema, {
216
+ key: "UnexpectedErrorResponse",
217
+ }),
218
+ )(response, req, { extraFields: responseFields });
219
+ if (!result.ok) {
220
+ return [result, { status: "complete", request: req, response }];
221
+ }
222
+
223
+ return [result, { status: "complete", request: req, response }];
224
+ }
@@ -0,0 +1,227 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import { ApideckCore } from "../core.js";
6
+ import { encodeFormQuery, encodeSimple } from "../lib/encodings.js";
7
+ import * as M from "../lib/matchers.js";
8
+ import { compactMap } from "../lib/primitives.js";
9
+ import { safeParse } from "../lib/schemas.js";
10
+ import { RequestOptions } from "../lib/sdks.js";
11
+ import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
12
+ import { pathToFunc } from "../lib/url.js";
13
+ import { APIError } from "../models/errors/apierror.js";
14
+ import {
15
+ ConnectionError,
16
+ InvalidRequestError,
17
+ RequestAbortedError,
18
+ RequestTimeoutError,
19
+ UnexpectedClientError,
20
+ } from "../models/errors/httpclienterrors.js";
21
+ import * as errors from "../models/errors/index.js";
22
+ import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
23
+ import * as operations from "../models/operations/index.js";
24
+ import { APICall, APIPromise } from "../types/async.js";
25
+ import { Result } from "../types/fp.js";
26
+
27
+ /**
28
+ * Delete custom object
29
+ *
30
+ * @remarks
31
+ * Delete custom object
32
+ */
33
+ export function crmCustomObjectsDelete(
34
+ client: ApideckCore,
35
+ request: operations.CrmCustomObjectsDeleteRequest,
36
+ options?: RequestOptions,
37
+ ): APIPromise<
38
+ Result<
39
+ operations.CrmCustomObjectsDeleteResponse,
40
+ | errors.BadRequestResponse
41
+ | errors.UnauthorizedResponse
42
+ | errors.PaymentRequiredResponse
43
+ | errors.NotFoundResponse
44
+ | errors.UnprocessableResponse
45
+ | APIError
46
+ | SDKValidationError
47
+ | UnexpectedClientError
48
+ | InvalidRequestError
49
+ | RequestAbortedError
50
+ | RequestTimeoutError
51
+ | ConnectionError
52
+ >
53
+ > {
54
+ return new APIPromise($do(
55
+ client,
56
+ request,
57
+ options,
58
+ ));
59
+ }
60
+
61
+ async function $do(
62
+ client: ApideckCore,
63
+ request: operations.CrmCustomObjectsDeleteRequest,
64
+ options?: RequestOptions,
65
+ ): Promise<
66
+ [
67
+ Result<
68
+ operations.CrmCustomObjectsDeleteResponse,
69
+ | errors.BadRequestResponse
70
+ | errors.UnauthorizedResponse
71
+ | errors.PaymentRequiredResponse
72
+ | errors.NotFoundResponse
73
+ | errors.UnprocessableResponse
74
+ | APIError
75
+ | SDKValidationError
76
+ | UnexpectedClientError
77
+ | InvalidRequestError
78
+ | RequestAbortedError
79
+ | RequestTimeoutError
80
+ | ConnectionError
81
+ >,
82
+ APICall,
83
+ ]
84
+ > {
85
+ const parsed = safeParse(
86
+ request,
87
+ (value) =>
88
+ operations.CrmCustomObjectsDeleteRequest$outboundSchema.parse(value),
89
+ "Input validation failed",
90
+ );
91
+ if (!parsed.ok) {
92
+ return [parsed, { status: "invalid" }];
93
+ }
94
+ const payload = parsed.value;
95
+ const body = null;
96
+
97
+ const pathParams = {
98
+ id: encodeSimple("id", payload.id, {
99
+ explode: false,
100
+ charEncoding: "percent",
101
+ }),
102
+ object_id: encodeSimple("object_id", payload.object_id, {
103
+ explode: false,
104
+ charEncoding: "percent",
105
+ }),
106
+ };
107
+
108
+ const path = pathToFunc("/crm/custom-objects/{object_id}/{id}")(pathParams);
109
+
110
+ const query = encodeFormQuery({
111
+ "raw": payload.raw,
112
+ });
113
+
114
+ const headers = new Headers(compactMap({
115
+ Accept: "application/json",
116
+ "x-apideck-app-id": encodeSimple(
117
+ "x-apideck-app-id",
118
+ payload.appId ?? client._options.appId,
119
+ { explode: false, charEncoding: "none" },
120
+ ),
121
+ "x-apideck-consumer-id": encodeSimple(
122
+ "x-apideck-consumer-id",
123
+ payload.consumerId ?? client._options.consumerId,
124
+ { explode: false, charEncoding: "none" },
125
+ ),
126
+ "x-apideck-service-id": encodeSimple(
127
+ "x-apideck-service-id",
128
+ payload.serviceId,
129
+ { explode: false, charEncoding: "none" },
130
+ ),
131
+ }));
132
+
133
+ const secConfig = await extractSecurity(client._options.apiKey);
134
+ const securityInput = secConfig == null ? {} : { apiKey: secConfig };
135
+ const requestSecurity = resolveGlobalSecurity(securityInput);
136
+
137
+ const context = {
138
+ options: client._options,
139
+ baseURL: options?.serverURL ?? client._baseURL ?? "",
140
+ operationID: "crm.customObjectsDelete",
141
+ oAuth2Scopes: [],
142
+
143
+ resolvedSecurity: requestSecurity,
144
+
145
+ securitySource: client._options.apiKey,
146
+ retryConfig: options?.retries
147
+ || client._options.retryConfig
148
+ || {
149
+ strategy: "backoff",
150
+ backoff: {
151
+ initialInterval: 500,
152
+ maxInterval: 60000,
153
+ exponent: 1.5,
154
+ maxElapsedTime: 3600000,
155
+ },
156
+ retryConnectionErrors: true,
157
+ }
158
+ || { strategy: "none" },
159
+ retryCodes: options?.retryCodes || ["408", "500", "502", "503", "504"],
160
+ };
161
+
162
+ const requestRes = client._createRequest(context, {
163
+ security: requestSecurity,
164
+ method: "DELETE",
165
+ baseURL: options?.serverURL,
166
+ path: path,
167
+ headers: headers,
168
+ query: query,
169
+ body: body,
170
+ userAgent: client._options.userAgent,
171
+ timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
172
+ }, options);
173
+ if (!requestRes.ok) {
174
+ return [requestRes, { status: "invalid" }];
175
+ }
176
+ const req = requestRes.value;
177
+
178
+ const doResult = await client._do(req, {
179
+ context,
180
+ errorCodes: ["400", "401", "402", "404", "422", "4XX", "5XX"],
181
+ retryConfig: context.retryConfig,
182
+ retryCodes: context.retryCodes,
183
+ });
184
+ if (!doResult.ok) {
185
+ return [doResult, { status: "request-error", request: req }];
186
+ }
187
+ const response = doResult.value;
188
+
189
+ const responseFields = {
190
+ HttpMeta: { Response: response, Request: req },
191
+ };
192
+
193
+ const [result] = await M.match<
194
+ operations.CrmCustomObjectsDeleteResponse,
195
+ | errors.BadRequestResponse
196
+ | errors.UnauthorizedResponse
197
+ | errors.PaymentRequiredResponse
198
+ | errors.NotFoundResponse
199
+ | errors.UnprocessableResponse
200
+ | APIError
201
+ | SDKValidationError
202
+ | UnexpectedClientError
203
+ | InvalidRequestError
204
+ | RequestAbortedError
205
+ | RequestTimeoutError
206
+ | ConnectionError
207
+ >(
208
+ M.json(200, operations.CrmCustomObjectsDeleteResponse$inboundSchema, {
209
+ key: "DeleteCustomObjectResponse",
210
+ }),
211
+ M.jsonErr(400, errors.BadRequestResponse$inboundSchema),
212
+ M.jsonErr(401, errors.UnauthorizedResponse$inboundSchema),
213
+ M.jsonErr(402, errors.PaymentRequiredResponse$inboundSchema),
214
+ M.jsonErr(404, errors.NotFoundResponse$inboundSchema),
215
+ M.jsonErr(422, errors.UnprocessableResponse$inboundSchema),
216
+ M.fail("4XX"),
217
+ M.fail("5XX"),
218
+ M.json("default", operations.CrmCustomObjectsDeleteResponse$inboundSchema, {
219
+ key: "UnexpectedErrorResponse",
220
+ }),
221
+ )(response, req, { extraFields: responseFields });
222
+ if (!result.ok) {
223
+ return [result, { status: "complete", request: req, response }];
224
+ }
225
+
226
+ return [result, { status: "complete", request: req, response }];
227
+ }