@d19n/youfibre-odin-sdk 1.0.326 → 1.0.328

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 (341) hide show
  1. package/README.md +2 -1
  2. package/dist/actions-v2/CreateTransactionalEmailDto.d.ts +91 -56
  3. package/dist/api-sdk-v2/EmailApi.d.ts +2 -0
  4. package/dist/api-sdk-v2/EmailApi.js +6 -0
  5. package/dist/api-sdk-v2/EmailSenderApi.d.ts +48 -0
  6. package/dist/api-sdk-v2/EmailSenderApi.js +155 -0
  7. package/dist/db-sdk-v2/EmailDb.d.ts +2 -0
  8. package/dist/db-sdk-v2/EmailDb.js +6 -0
  9. package/dist/db-sdk-v2/EmailSenderDb.d.ts +120 -0
  10. package/dist/db-sdk-v2/EmailSenderDb.js +204 -0
  11. package/dist/entities-v2/Account.d.ts +34 -0
  12. package/dist/entities-v2/Account.js +36 -1
  13. package/dist/entities-v2/Activity.d.ts +22 -0
  14. package/dist/entities-v2/Activity.js +23 -1
  15. package/dist/entities-v2/ActivityLog.d.ts +10 -0
  16. package/dist/entities-v2/ActivityLog.js +11 -1
  17. package/dist/entities-v2/Address.d.ts +10 -0
  18. package/dist/entities-v2/Address.js +11 -1
  19. package/dist/entities-v2/AffiliateCode.d.ts +10 -0
  20. package/dist/entities-v2/AffiliateCode.js +11 -1
  21. package/dist/entities-v2/Appointment.d.ts +10 -0
  22. package/dist/entities-v2/Appointment.js +11 -1
  23. package/dist/entities-v2/AppointmentCalendar.d.ts +10 -0
  24. package/dist/entities-v2/AppointmentCalendar.js +11 -1
  25. package/dist/entities-v2/BillingAdjustment.d.ts +10 -0
  26. package/dist/entities-v2/BillingAdjustment.js +11 -1
  27. package/dist/entities-v2/BillingRequest.d.ts +16 -0
  28. package/dist/entities-v2/BillingRequest.js +17 -1
  29. package/dist/entities-v2/BlockageA55.d.ts +10 -0
  30. package/dist/entities-v2/BlockageA55.js +11 -1
  31. package/dist/entities-v2/BlockageReportA55.d.ts +10 -0
  32. package/dist/entities-v2/BlockageReportA55.js +11 -1
  33. package/dist/entities-v2/Calendar.d.ts +10 -0
  34. package/dist/entities-v2/Calendar.js +11 -1
  35. package/dist/entities-v2/Call.d.ts +10 -0
  36. package/dist/entities-v2/Call.js +11 -1
  37. package/dist/entities-v2/CallEvent.d.ts +10 -0
  38. package/dist/entities-v2/CallEvent.js +11 -1
  39. package/dist/entities-v2/CallLeg.d.ts +10 -0
  40. package/dist/entities-v2/CallLeg.js +11 -1
  41. package/dist/entities-v2/CallTransfer.d.ts +10 -0
  42. package/dist/entities-v2/CallTransfer.js +11 -1
  43. package/dist/entities-v2/CallUpdates.d.ts +10 -0
  44. package/dist/entities-v2/CallUpdates.js +11 -1
  45. package/dist/entities-v2/Campaign.d.ts +10 -0
  46. package/dist/entities-v2/Campaign.js +11 -1
  47. package/dist/entities-v2/Case.d.ts +16 -0
  48. package/dist/entities-v2/Case.js +18 -2
  49. package/dist/entities-v2/CaseAction.d.ts +10 -0
  50. package/dist/entities-v2/CaseAction.js +11 -1
  51. package/dist/entities-v2/CaseQueueListView.d.ts +10 -0
  52. package/dist/entities-v2/CaseQueueListView.js +11 -1
  53. package/dist/entities-v2/ChangeReason.d.ts +28 -0
  54. package/dist/entities-v2/ChangeReason.js +29 -1
  55. package/dist/entities-v2/ChurnRequest.d.ts +10 -0
  56. package/dist/entities-v2/ChurnRequest.js +11 -1
  57. package/dist/entities-v2/Commission.d.ts +10 -0
  58. package/dist/entities-v2/Commission.js +11 -1
  59. package/dist/entities-v2/Config.d.ts +18 -8
  60. package/dist/entities-v2/Config.js +15 -5
  61. package/dist/entities-v2/ConsumptionRate.d.ts +10 -0
  62. package/dist/entities-v2/ConsumptionRate.js +11 -1
  63. package/dist/entities-v2/ConsumptionSchedule.d.ts +10 -0
  64. package/dist/entities-v2/ConsumptionSchedule.js +11 -1
  65. package/dist/entities-v2/Contact.d.ts +10 -0
  66. package/dist/entities-v2/Contact.js +11 -1
  67. package/dist/entities-v2/ContactIdentity.d.ts +10 -0
  68. package/dist/entities-v2/ContactIdentity.js +11 -1
  69. package/dist/entities-v2/ContractBuyOut.d.ts +10 -0
  70. package/dist/entities-v2/ContractBuyOut.js +11 -1
  71. package/dist/entities-v2/Conversation.d.ts +10 -0
  72. package/dist/entities-v2/Conversation.js +11 -1
  73. package/dist/entities-v2/CreditNote.d.ts +10 -0
  74. package/dist/entities-v2/CreditNote.js +11 -1
  75. package/dist/entities-v2/CrmDataset.d.ts +28 -0
  76. package/dist/entities-v2/CrmDataset.js +29 -1
  77. package/dist/entities-v2/CustomerDeviceAta.d.ts +10 -0
  78. package/dist/entities-v2/CustomerDeviceAta.js +11 -1
  79. package/dist/entities-v2/CustomerDeviceConfiguration.d.ts +10 -0
  80. package/dist/entities-v2/CustomerDeviceConfiguration.js +11 -1
  81. package/dist/entities-v2/CustomerDeviceOnt.d.ts +10 -0
  82. package/dist/entities-v2/CustomerDeviceOnt.js +11 -1
  83. package/dist/entities-v2/CustomerDeviceOntRemoval.d.ts +10 -0
  84. package/dist/entities-v2/CustomerDeviceOntRemoval.js +11 -1
  85. package/dist/entities-v2/CustomerDeviceRouter.d.ts +10 -0
  86. package/dist/entities-v2/CustomerDeviceRouter.js +11 -1
  87. package/dist/entities-v2/CustomerPhonePorting.d.ts +10 -0
  88. package/dist/entities-v2/CustomerPhonePorting.js +11 -1
  89. package/dist/entities-v2/DeactivationApproval.d.ts +10 -0
  90. package/dist/entities-v2/DeactivationApproval.js +11 -1
  91. package/dist/entities-v2/Discount.d.ts +10 -0
  92. package/dist/entities-v2/Discount.js +11 -1
  93. package/dist/entities-v2/Email.d.ts +129 -1
  94. package/dist/entities-v2/Email.js +49 -1
  95. package/dist/entities-v2/EmailSender.d.ts +75 -0
  96. package/dist/entities-v2/EmailSender.js +65 -0
  97. package/dist/entities-v2/EmailTemplate.d.ts +10 -0
  98. package/dist/entities-v2/EmailTemplate.js +11 -1
  99. package/dist/entities-v2/Engineer.d.ts +10 -0
  100. package/dist/entities-v2/Engineer.js +11 -1
  101. package/dist/entities-v2/Exchange.d.ts +10 -0
  102. package/dist/entities-v2/Exchange.js +11 -1
  103. package/dist/entities-v2/FieldServiceDispatchedProduct.d.ts +22 -0
  104. package/dist/entities-v2/FieldServiceDispatchedProduct.js +23 -1
  105. package/dist/entities-v2/FieldServiceProduct.d.ts +22 -0
  106. package/dist/entities-v2/FieldServiceProduct.js +23 -1
  107. package/dist/entities-v2/File.d.ts +58 -0
  108. package/dist/entities-v2/File.js +59 -1
  109. package/dist/entities-v2/Fingerprint.d.ts +10 -0
  110. package/dist/entities-v2/Fingerprint.js +11 -1
  111. package/dist/entities-v2/ImpersonationTracker.d.ts +10 -0
  112. package/dist/entities-v2/ImpersonationTracker.js +11 -1
  113. package/dist/entities-v2/InternalInstallAudit.d.ts +10 -0
  114. package/dist/entities-v2/InternalInstallAudit.js +11 -1
  115. package/dist/entities-v2/Invoice.d.ts +16 -0
  116. package/dist/entities-v2/Invoice.js +17 -1
  117. package/dist/entities-v2/InvoiceItem.d.ts +10 -0
  118. package/dist/entities-v2/InvoiceItem.js +11 -1
  119. package/dist/entities-v2/KnowledgeArticle.d.ts +16 -0
  120. package/dist/entities-v2/KnowledgeArticle.js +17 -1
  121. package/dist/entities-v2/Lead.d.ts +10 -0
  122. package/dist/entities-v2/Lead.js +11 -1
  123. package/dist/entities-v2/LinearIssue.d.ts +10 -0
  124. package/dist/entities-v2/LinearIssue.js +11 -1
  125. package/dist/entities-v2/McPendingEvent.d.ts +10 -0
  126. package/dist/entities-v2/McPendingEvent.js +11 -1
  127. package/dist/entities-v2/Message.d.ts +16 -0
  128. package/dist/entities-v2/Message.js +17 -1
  129. package/dist/entities-v2/Milestone.d.ts +10 -0
  130. package/dist/entities-v2/Milestone.js +11 -1
  131. package/dist/entities-v2/MobileCdr.d.ts +10 -0
  132. package/dist/entities-v2/MobileCdr.js +11 -1
  133. package/dist/entities-v2/MobileConfiguration.d.ts +10 -0
  134. package/dist/entities-v2/MobileConfiguration.js +11 -1
  135. package/dist/entities-v2/MobileCountryRate.d.ts +10 -0
  136. package/dist/entities-v2/MobileCountryRate.js +11 -1
  137. package/dist/entities-v2/MobileEdr.d.ts +10 -0
  138. package/dist/entities-v2/MobileEdr.js +11 -1
  139. package/dist/entities-v2/MobileSubscriber.d.ts +10 -0
  140. package/dist/entities-v2/MobileSubscriber.js +11 -1
  141. package/dist/entities-v2/MsPendingEvent.d.ts +10 -0
  142. package/dist/entities-v2/MsPendingEvent.js +11 -1
  143. package/dist/entities-v2/NetomniaFtth1StageInstallAudit.d.ts +10 -0
  144. package/dist/entities-v2/NetomniaFtth1StageInstallAudit.js +12 -1
  145. package/dist/entities-v2/NetomniaFtth2StageInstallAudit.d.ts +10 -0
  146. package/dist/entities-v2/NetomniaFtth2StageInstallAudit.js +11 -1
  147. package/dist/entities-v2/NetomniaFtthServiceVisitSheet.d.ts +10 -0
  148. package/dist/entities-v2/NetomniaFtthServiceVisitSheet.js +11 -1
  149. package/dist/entities-v2/NetomniaInstallVerification.d.ts +10 -0
  150. package/dist/entities-v2/NetomniaInstallVerification.js +11 -1
  151. package/dist/entities-v2/NetworkDevice.d.ts +10 -0
  152. package/dist/entities-v2/NetworkDevice.js +11 -1
  153. package/dist/entities-v2/Noinstall3AuditOfInstallationSheet.d.ts +10 -0
  154. package/dist/entities-v2/Noinstall3AuditOfInstallationSheet.js +11 -1
  155. package/dist/entities-v2/Note.d.ts +10 -0
  156. package/dist/entities-v2/Note.js +11 -1
  157. package/dist/entities-v2/NotificationTemplate.d.ts +10 -0
  158. package/dist/entities-v2/NotificationTemplate.js +11 -1
  159. package/dist/entities-v2/Offer.d.ts +22 -0
  160. package/dist/entities-v2/Offer.js +23 -1
  161. package/dist/entities-v2/OhAuditOfInstallation.d.ts +10 -0
  162. package/dist/entities-v2/OhAuditOfInstallation.js +11 -1
  163. package/dist/entities-v2/OhExternalAudit.d.ts +10 -0
  164. package/dist/entities-v2/OhExternalAudit.js +11 -1
  165. package/dist/entities-v2/OhInProgressAudit.d.ts +10 -0
  166. package/dist/entities-v2/OhInProgressAudit.js +11 -1
  167. package/dist/entities-v2/OhInstallationAudit.d.ts +10 -0
  168. package/dist/entities-v2/OhInstallationAudit.js +11 -1
  169. package/dist/entities-v2/OhRetroAudit.d.ts +10 -0
  170. package/dist/entities-v2/OhRetroAudit.js +11 -1
  171. package/dist/entities-v2/OltSnapshot.d.ts +10 -0
  172. package/dist/entities-v2/OltSnapshot.js +11 -1
  173. package/dist/entities-v2/OneTouchSwitch.d.ts +22 -0
  174. package/dist/entities-v2/OneTouchSwitch.js +23 -1
  175. package/dist/entities-v2/OntReplacementApproval.d.ts +10 -0
  176. package/dist/entities-v2/OntReplacementApproval.js +11 -1
  177. package/dist/entities-v2/Order.d.ts +10 -0
  178. package/dist/entities-v2/Order.js +12 -2
  179. package/dist/entities-v2/OrderCheck.d.ts +10 -0
  180. package/dist/entities-v2/OrderCheck.js +11 -1
  181. package/dist/entities-v2/OrderItem.d.ts +10 -0
  182. package/dist/entities-v2/OrderItem.js +11 -1
  183. package/dist/entities-v2/OrderRemediationTask.d.ts +10 -0
  184. package/dist/entities-v2/OrderRemediationTask.js +11 -1
  185. package/dist/entities-v2/Organization.d.ts +10 -0
  186. package/dist/entities-v2/Organization.js +11 -1
  187. package/dist/entities-v2/Outage.d.ts +10 -0
  188. package/dist/entities-v2/Outage.js +11 -1
  189. package/dist/entities-v2/OverlayRealA55.d.ts +10 -0
  190. package/dist/entities-v2/OverlayRealA55.js +11 -1
  191. package/dist/entities-v2/PICRequest.d.ts +10 -0
  192. package/dist/entities-v2/PICRequest.js +11 -1
  193. package/dist/entities-v2/Payment.d.ts +10 -0
  194. package/dist/entities-v2/Payment.js +11 -1
  195. package/dist/entities-v2/PaymentMethod.d.ts +10 -0
  196. package/dist/entities-v2/PaymentMethod.js +11 -1
  197. package/dist/entities-v2/PaymentMethodRefund.d.ts +10 -0
  198. package/dist/entities-v2/PaymentMethodRefund.js +11 -1
  199. package/dist/entities-v2/PermissionToFail.d.ts +10 -0
  200. package/dist/entities-v2/PermissionToFail.js +11 -1
  201. package/dist/entities-v2/PgAccountValidation.d.ts +10 -0
  202. package/dist/entities-v2/PgAccountValidation.js +11 -1
  203. package/dist/entities-v2/PgContact.d.ts +10 -0
  204. package/dist/entities-v2/PgContact.js +11 -1
  205. package/dist/entities-v2/PgDirectDebitFile.d.ts +22 -0
  206. package/dist/entities-v2/PgDirectDebitFile.js +23 -1
  207. package/dist/entities-v2/PgDispute.d.ts +10 -0
  208. package/dist/entities-v2/PgDispute.js +11 -1
  209. package/dist/entities-v2/PgFileAllocation.d.ts +22 -0
  210. package/dist/entities-v2/PgFileAllocation.js +23 -1
  211. package/dist/entities-v2/PgLog.d.ts +10 -0
  212. package/dist/entities-v2/PgLog.js +11 -1
  213. package/dist/entities-v2/PgPaymentMethod.d.ts +10 -0
  214. package/dist/entities-v2/PgPaymentMethod.js +11 -1
  215. package/dist/entities-v2/PgSortCodeSubstitution.d.ts +10 -0
  216. package/dist/entities-v2/PgSortCodeSubstitution.js +11 -1
  217. package/dist/entities-v2/PgTransaction.d.ts +22 -0
  218. package/dist/entities-v2/PgTransaction.js +23 -1
  219. package/dist/entities-v2/PgVocalink.d.ts +10 -0
  220. package/dist/entities-v2/PgVocalink.js +11 -1
  221. package/dist/entities-v2/PgWebhook.d.ts +10 -0
  222. package/dist/entities-v2/PgWebhook.js +11 -1
  223. package/dist/entities-v2/PgWebhookAttempt.d.ts +10 -0
  224. package/dist/entities-v2/PgWebhookAttempt.js +11 -1
  225. package/dist/entities-v2/PhoneNumber.d.ts +10 -0
  226. package/dist/entities-v2/PhoneNumber.js +11 -1
  227. package/dist/entities-v2/Premise.d.ts +10 -0
  228. package/dist/entities-v2/Premise.js +11 -1
  229. package/dist/entities-v2/Premise2.d.ts +10 -0
  230. package/dist/entities-v2/Premise2.js +11 -1
  231. package/dist/entities-v2/PriceBook.d.ts +10 -0
  232. package/dist/entities-v2/PriceBook.js +11 -1
  233. package/dist/entities-v2/Product.d.ts +40 -0
  234. package/dist/entities-v2/Product.js +42 -1
  235. package/dist/entities-v2/ProductComponent.d.ts +10 -0
  236. package/dist/entities-v2/ProductComponent.js +11 -1
  237. package/dist/entities-v2/Program.d.ts +10 -0
  238. package/dist/entities-v2/Program.js +11 -1
  239. package/dist/entities-v2/Project.d.ts +10 -0
  240. package/dist/entities-v2/Project.js +11 -1
  241. package/dist/entities-v2/PushNotification.d.ts +10 -0
  242. package/dist/entities-v2/PushNotification.js +11 -1
  243. package/dist/entities-v2/Queue.d.ts +10 -0
  244. package/dist/entities-v2/Queue.js +11 -1
  245. package/dist/entities-v2/QueueChange.d.ts +10 -0
  246. package/dist/entities-v2/QueueChange.js +11 -1
  247. package/dist/entities-v2/Referral.d.ts +10 -0
  248. package/dist/entities-v2/Referral.js +11 -1
  249. package/dist/entities-v2/Region.d.ts +10 -0
  250. package/dist/entities-v2/Region.js +11 -1
  251. package/dist/entities-v2/RemediationOutcomeForm.d.ts +10 -0
  252. package/dist/entities-v2/RemediationOutcomeForm.js +11 -1
  253. package/dist/entities-v2/RemediationRequiredReason.d.ts +10 -0
  254. package/dist/entities-v2/RemediationRequiredReason.js +11 -1
  255. package/dist/entities-v2/Restriction.d.ts +10 -0
  256. package/dist/entities-v2/Restriction.js +11 -1
  257. package/dist/entities-v2/ReturnOrder.d.ts +10 -0
  258. package/dist/entities-v2/ReturnOrder.js +11 -1
  259. package/dist/entities-v2/Returns.d.ts +10 -0
  260. package/dist/entities-v2/Returns.js +11 -1
  261. package/dist/entities-v2/Reward.d.ts +10 -0
  262. package/dist/entities-v2/Reward.js +11 -1
  263. package/dist/entities-v2/SalesLeaderBoard.d.ts +10 -0
  264. package/dist/entities-v2/SalesLeaderBoard.js +11 -1
  265. package/dist/entities-v2/SalesTerritory.d.ts +16 -0
  266. package/dist/entities-v2/SalesTerritory.js +17 -1
  267. package/dist/entities-v2/ScheduleSlot.d.ts +10 -0
  268. package/dist/entities-v2/ScheduleSlot.js +11 -1
  269. package/dist/entities-v2/Service.d.ts +10 -0
  270. package/dist/entities-v2/Service.js +11 -1
  271. package/dist/entities-v2/ServiceAppointment.d.ts +10 -0
  272. package/dist/entities-v2/ServiceAppointment.js +11 -1
  273. package/dist/entities-v2/ServiceAppointmentConfig.d.ts +64 -0
  274. package/dist/entities-v2/ServiceAppointmentConfig.js +65 -1
  275. package/dist/entities-v2/ServiceVisitAudit.d.ts +10 -0
  276. package/dist/entities-v2/ServiceVisitAudit.js +11 -1
  277. package/dist/entities-v2/SiteSpecificRiskAssessmentOutcomeForm.d.ts +10 -0
  278. package/dist/entities-v2/SiteSpecificRiskAssessmentOutcomeForm.js +11 -1
  279. package/dist/entities-v2/SmsMessage.d.ts +22 -0
  280. package/dist/entities-v2/SmsMessage.js +23 -1
  281. package/dist/entities-v2/SmsTemplate.d.ts +10 -0
  282. package/dist/entities-v2/SmsTemplate.js +11 -1
  283. package/dist/entities-v2/SplitOrder.d.ts +10 -0
  284. package/dist/entities-v2/SplitOrder.js +11 -1
  285. package/dist/entities-v2/Subtask.d.ts +10 -0
  286. package/dist/entities-v2/Subtask.js +11 -1
  287. package/dist/entities-v2/SupportTask.d.ts +10 -0
  288. package/dist/entities-v2/SupportTask.js +11 -1
  289. package/dist/entities-v2/SweeperMaintenanceAudit.d.ts +10 -0
  290. package/dist/entities-v2/SweeperMaintenanceAudit.js +11 -1
  291. package/dist/entities-v2/Task.d.ts +10 -0
  292. package/dist/entities-v2/Task.js +11 -1
  293. package/dist/entities-v2/Team.d.ts +10 -0
  294. package/dist/entities-v2/Team.js +11 -1
  295. package/dist/entities-v2/TelesalesDashboard.d.ts +10 -0
  296. package/dist/entities-v2/TelesalesDashboard.js +11 -1
  297. package/dist/entities-v2/TimeSlot.d.ts +10 -0
  298. package/dist/entities-v2/TimeSlot.js +11 -1
  299. package/dist/entities-v2/Transaction.d.ts +10 -0
  300. package/dist/entities-v2/Transaction.js +11 -1
  301. package/dist/entities-v2/TwilioUserUpdate.d.ts +10 -0
  302. package/dist/entities-v2/TwilioUserUpdate.js +11 -1
  303. package/dist/entities-v2/UgAuditOfInstallation.d.ts +10 -0
  304. package/dist/entities-v2/UgAuditOfInstallation.js +11 -1
  305. package/dist/entities-v2/UgExternalAudit.d.ts +10 -0
  306. package/dist/entities-v2/UgExternalAudit.js +11 -1
  307. package/dist/entities-v2/UgInProgressAudit.d.ts +10 -0
  308. package/dist/entities-v2/UgInProgressAudit.js +11 -1
  309. package/dist/entities-v2/UgInstallationAudit.d.ts +10 -0
  310. package/dist/entities-v2/UgInstallationAudit.js +11 -1
  311. package/dist/entities-v2/UgRetroAudit.d.ts +10 -0
  312. package/dist/entities-v2/UgRetroAudit.js +11 -1
  313. package/dist/entities-v2/User.d.ts +10 -0
  314. package/dist/entities-v2/User.js +11 -1
  315. package/dist/entities-v2/Vendor.d.ts +10 -0
  316. package/dist/entities-v2/Vendor.js +11 -1
  317. package/dist/entities-v2/Visit.d.ts +10 -0
  318. package/dist/entities-v2/Visit.js +11 -1
  319. package/dist/entities-v2/VoiceConfiguration.d.ts +10 -0
  320. package/dist/entities-v2/VoiceConfiguration.js +11 -1
  321. package/dist/entities-v2/WayleaveAudit.d.ts +10 -0
  322. package/dist/entities-v2/WayleaveAudit.js +11 -1
  323. package/dist/entities-v2/WorkOrder.d.ts +94 -0
  324. package/dist/entities-v2/WorkOrder.js +97 -3
  325. package/dist/entities-v2/WorkOrderRemediationView.d.ts +10 -0
  326. package/dist/entities-v2/WorkOrderRemediationView.js +11 -1
  327. package/dist/entities-v2/WorkOrderStatusUpdate.d.ts +22 -0
  328. package/dist/entities-v2/WorkOrderStatusUpdate.js +23 -1
  329. package/dist/entities-v2/YfEquipmentCollection.d.ts +10 -0
  330. package/dist/entities-v2/YfEquipmentCollection.js +11 -1
  331. package/dist/entities-v2/YfFieldServiceVisit.d.ts +10 -0
  332. package/dist/entities-v2/YfFieldServiceVisit.js +11 -1
  333. package/dist/entities-v2/YfStockAudit.d.ts +10 -0
  334. package/dist/entities-v2/YfStockAudit.js +11 -1
  335. package/dist/entities-v2/YfStockCount.d.ts +10 -0
  336. package/dist/entities-v2/YfStockCount.js +11 -1
  337. package/dist/entities-v2/YfToolAudit.d.ts +10 -0
  338. package/dist/entities-v2/YfToolAudit.js +11 -1
  339. package/dist/entities-v2/YfVanAudit.d.ts +10 -0
  340. package/dist/entities-v2/YfVanAudit.js +11 -1
  341. package/package.json +2 -2
package/README.md CHANGED
@@ -124,7 +124,7 @@ await workOrder.completeWorkOrder({ ... });
124
124
 
125
125
  ## Entities
126
126
 
127
- This SDK includes **159** entities across **12** modules.
127
+ This SDK includes **160** entities across **12** modules.
128
128
 
129
129
  ### CrmModule
130
130
 
@@ -266,6 +266,7 @@ This SDK includes **159** entities across **12** modules.
266
266
  | **Conversation** | Conversation Entity Definition | DEFAULT |
267
267
  | **CustomerDeviceConfiguration** | CustomerDeviceConfiguration Entity Definition | DEFAULT |
268
268
  | **Email** | Email Entity Definition | SUPPORT, TRANSACTIONAL |
269
+ | **EmailSender** | EmailSender Entity Definition | DEFAULT |
269
270
  | **EmailTemplate** | EmailTemplate Entity Definition | DEFAULT |
270
271
  | **Message** | Message Entity Definition | EVENT |
271
272
  | **NotificationTemplate** | NotificationTemplate Entity Definition | DEFAULT |
@@ -23,7 +23,7 @@ export interface CreateTransactionalEmailMessage extends OdinRecordCreatedEvent<
23
23
  * Properties for CreateTransactionalEmail action
24
24
  *
25
25
  * @property Required fields: 1
26
- * @property Optional fields: 17
26
+ * @property Optional fields: 22
27
27
  */
28
28
  export interface CreateTransactionalEmailProperties {
29
29
  /**
@@ -35,40 +35,68 @@ export interface CreateTransactionalEmailProperties {
35
35
  */
36
36
  Date: string;
37
37
  /**
38
- * Case
38
+ * Subject
39
39
  *
40
40
  * Data field for Email records. Used by Communications team.
41
- * @type {LOOKUP}
41
+ * @type {TEXT}
42
42
  */
43
- Case?: string | null;
43
+ Subject?: string | null;
44
44
  /**
45
- * SenderType
45
+ * FormattedMessage
46
46
  *
47
- * Sender Type (Communications - Email)
48
- * @type {ENUM}
47
+ * Formatted Message (Communications - Email)
48
+ * @type {HTML}
49
49
  */
50
- SenderType?: string | null;
50
+ FormattedMessage?: string | null;
51
51
  /**
52
- * Bcc
52
+ * Cc
53
53
  *
54
- * Blind Carbon Copy (Communications - Email)
54
+ * Carbon Copy (Communications - Email)
55
55
  * @type {TEXT}
56
56
  */
57
- Bcc?: string | null;
57
+ Cc?: string | null;
58
58
  /**
59
- * UpdatedAt
59
+ * To
60
60
  *
61
- * When the email was updated (Communications - Email)
61
+ * Data field for Email records. Used by Communications team.
62
+ * @type {TEXT}
63
+ */
64
+ To?: string | null;
65
+ /**
66
+ * InReplyTo
67
+ *
68
+ * In Reply To (Communications - Email)
69
+ * @type {TEXT}
70
+ */
71
+ InReplyTo?: string | null;
72
+ /**
73
+ * Envelope
74
+ *
75
+ * Data field for Email records. Used by Communications team.
76
+ * @type {JSON}
77
+ */
78
+ Envelope?: string | null;
79
+ /**
80
+ * CreatedAt
81
+ *
82
+ * When the email was created (Communications - Email)
62
83
  * @type {DATE_TIME}
63
84
  */
64
- UpdatedAt?: string | null;
85
+ CreatedAt?: string | null;
65
86
  /**
66
- * Files
87
+ * ParentMessageId
67
88
  *
68
- * email attachments (Communications - Email)
69
- * @type {FILE_MULTIPLE}
89
+ * Parent Message id (Communications - Email)
90
+ * @type {LOOKUP}
70
91
  */
71
- Files?: string | null;
92
+ ParentMessageId?: string | null;
93
+ /**
94
+ * Message
95
+ *
96
+ * Data field for Email records. Used by Communications team.
97
+ * @type {TEXT}
98
+ */
99
+ Message?: string | null;
72
100
  /**
73
101
  * From
74
102
  *
@@ -76,6 +104,13 @@ export interface CreateTransactionalEmailProperties {
76
104
  * @type {TEXT}
77
105
  */
78
106
  From?: string | null;
107
+ /**
108
+ * Files
109
+ *
110
+ * email attachments (Communications - Email)
111
+ * @type {FILE_MULTIPLE}
112
+ */
113
+ Files?: string | null;
79
114
  /**
80
115
  * MessageId
81
116
  *
@@ -84,75 +119,75 @@ export interface CreateTransactionalEmailProperties {
84
119
  */
85
120
  MessageId?: string | null;
86
121
  /**
87
- * Message
122
+ * UpdatedAt
88
123
  *
89
- * Data field for Email records. Used by Communications team.
90
- * @type {TEXT}
124
+ * When the email was updated (Communications - Email)
125
+ * @type {DATE_TIME}
91
126
  */
92
- Message?: string | null;
127
+ UpdatedAt?: string | null;
93
128
  /**
94
- * ParentMessageId
129
+ * Bcc
95
130
  *
96
- * Parent Message id (Communications - Email)
97
- * @type {LOOKUP}
131
+ * Blind Carbon Copy (Communications - Email)
132
+ * @type {TEXT}
98
133
  */
99
- ParentMessageId?: string | null;
134
+ Bcc?: string | null;
100
135
  /**
101
- * CreatedAt
136
+ * SenderType
102
137
  *
103
- * When the email was created (Communications - Email)
104
- * @type {DATE_TIME}
138
+ * Sender Type (Communications - Email)
139
+ * @type {ENUM}
105
140
  */
106
- CreatedAt?: string | null;
141
+ SenderType?: string | null;
107
142
  /**
108
- * Envelope
143
+ * Case
109
144
  *
110
145
  * Data field for Email records. Used by Communications team.
111
- * @type {JSON}
146
+ * @type {LOOKUP}
112
147
  */
113
- Envelope?: string | null;
148
+ Case?: string | null;
114
149
  /**
115
- * InReplyTo
150
+ * Status
116
151
  *
117
- * In Reply To (Communications - Email)
118
- * @type {TEXT}
152
+ * Status of the email in the process
153
+ * @type {ENUM}
119
154
  */
120
- InReplyTo?: string | null;
155
+ Status?: string | null;
121
156
  /**
122
- * To
157
+ * DynamicData
123
158
  *
124
- * Data field for Email records. Used by Communications team.
125
- * @type {TEXT}
159
+ * Data will pass to emailing service (variables)
160
+ * @type {JSON}
126
161
  */
127
- To?: string | null;
162
+ DynamicData?: string | null;
128
163
  /**
129
- * Cc
164
+ * TemplateLabel
130
165
  *
131
- * Carbon Copy (Communications - Email)
166
+ * The template label from email templates engine
132
167
  * @type {TEXT}
133
168
  */
134
- Cc?: string | null;
169
+ TemplateLabel?: string | null;
135
170
  /**
136
- * FormattedMessage
171
+ * ContactId
137
172
  *
138
- * Formatted Message (Communications - Email)
139
- * @type {HTML}
173
+ * The related Contact to send the email
174
+ * @type {LOOKUP}
140
175
  */
141
- FormattedMessage?: string | null;
176
+ ContactId?: string | null;
142
177
  /**
143
- * Subject
178
+ * EmailingService
144
179
  *
145
- * Data field for Email records. Used by Communications team.
146
- * @type {TEXT}
180
+ * The provider we use to send email (eg. Sendgrid)
181
+ * @type {ENUM}
147
182
  */
148
- Subject?: string | null;
183
+ EmailingService?: string | null;
149
184
  /**
150
- * Status
185
+ * EmailSenderId
151
186
  *
152
- * Status of the email in the process
153
- * @type {ENUM}
187
+ * The Email Sender related entity
188
+ * @type {LOOKUP}
154
189
  */
155
- Status?: string | null;
190
+ EmailSenderId?: string | null;
156
191
  }
157
192
  /**
158
193
  * CreateTransactionalEmail
@@ -22,12 +22,14 @@ export declare class EmailApi extends ApiProvider {
22
22
  private _file?;
23
23
  private _case?;
24
24
  private _contact?;
25
+ private _emailsender?;
25
26
  constructor(authParams?: OauthParams, authToken?: string);
26
27
  get user(): ApiRecordLinkManager;
27
28
  get email(): ApiRecordLinkManager;
28
29
  get file(): ApiRecordLinkManager;
29
30
  get case(): ApiRecordLinkManager;
30
31
  get contact(): ApiRecordLinkManager;
32
+ get emailsender(): ApiRecordLinkManager;
31
33
  setRecord(sourceRecord: any): void;
32
34
  schema(): Promise<import("@d19n/odin-types/dist/core").OdinSchema>;
33
35
  search(params: Partial<OdinSearchV2>): Promise<import("@d19n/odin-sdk-generator/dist/odin-sdk-types").OdinSearchResponse<import("@d19n/odin-types/dist/core").OdinRecord<EmailProperties>>>;
@@ -63,6 +63,12 @@ class EmailApi extends api_provider_1.ApiProvider {
63
63
  }
64
64
  return this._contact;
65
65
  }
66
+ get emailsender() {
67
+ if (!this._emailsender) {
68
+ this._emailsender = new api_record_link_manager_1.ApiRecordLinkManager(this.authParams, 'NotificationModule:Email', 'NotificationModule:EmailSender', 'Emai__EmailSender');
69
+ }
70
+ return this._emailsender;
71
+ }
66
72
  // ============================================
67
73
  // STANDARD METHODS (Unchanged API)
68
74
  // ============================================
@@ -0,0 +1,48 @@
1
+ import { OauthParams } from '@d19n/odin-sdk-generator/dist/odin-sdk-types';
2
+ import { ApiProvider } from '@d19n/odin-sdk-generator/dist/api.provider';
3
+ import { OdinSearchV2, OdinRecordCreateDto, OdinRecordUpdateDto } from '@d19n/odin-types/dist/core';
4
+ import { ApiRecordLinkManager } from '@d19n/odin-sdk-generator/dist/api.record.link.manager';
5
+ import { EmailSenderProperties } from '../entities-v2/EmailSender';
6
+ /**
7
+ * @deprecated Use OdinApiClient.
8
+ *
9
+ * Migration:
10
+ * - Old: new EmailSenderApi(authParams).get(id)
11
+ * - New: new odin.emailsender.get(id)
12
+ *
13
+ * The new OdinApiClient returns typed record wrappers with action methods.
14
+ */
15
+ export declare class EmailSenderApi extends ApiProvider {
16
+ protected readonly authToken?: string;
17
+ private readonly moduleName;
18
+ private readonly entityName;
19
+ private sourceRecord;
20
+ private _email?;
21
+ constructor(authParams?: OauthParams, authToken?: string);
22
+ get email(): ApiRecordLinkManager;
23
+ setRecord(sourceRecord: any): void;
24
+ schema(): Promise<import("@d19n/odin-types/dist/core").OdinSchema>;
25
+ search(params: Partial<OdinSearchV2>): Promise<import("@d19n/odin-sdk-generator/dist/odin-sdk-types").OdinSearchResponse<import("@d19n/odin-types/dist/core").OdinRecord<EmailSenderProperties>>>;
26
+ searchAndPaginate(params: Partial<OdinSearchV2>): Promise<import("@d19n/odin-sdk-generator/dist/odin-sdk-types").OdinSearchResponse<import("@d19n/odin-types/dist/core").OdinRecord<EmailSenderProperties>>>;
27
+ reIndex(body: {
28
+ id: string;
29
+ schemaId: string;
30
+ }[]): Promise<any>;
31
+ get(emailSenderId: string): Promise<import("@d19n/odin-types/dist/core").OdinRecord<EmailSenderProperties>>;
32
+ getMany(emailSenderIds: string[]): Promise<import("@d19n/odin-types/dist/core").OdinRecord<EmailSenderProperties>[]>;
33
+ upsert(upsertDto: OdinRecordCreateDto): Promise<import("@d19n/odin-sdk-generator/dist/odin-sdk-types").IDbRecordCreateUpdateRes>;
34
+ upsertMany(upsertDtos: OdinRecordCreateDto[]): Promise<import("@d19n/odin-sdk-generator/dist/odin-sdk-types").IDbRecordCreateUpdateRes[]>;
35
+ update(updateDto: OdinRecordUpdateDto): Promise<import("@d19n/odin-sdk-generator/dist/odin-sdk-types").IDbRecordCreateUpdateRes>;
36
+ updateMany(updateDtos: OdinRecordUpdateDto[]): Promise<import("@d19n/odin-sdk-generator/dist/odin-sdk-types").IDbRecordCreateUpdateRes[]>;
37
+ delete(emailSenderId: string): Promise<import("@d19n/odin-sdk-generator/dist/odin-sdk-types").OdinDeleteResponse[]>;
38
+ deleteMany(emailSenderIds: string[]): Promise<import("@d19n/odin-sdk-generator/dist/odin-sdk-types").OdinDeleteResponse[]>;
39
+ restore(emailSenderIds: string[]): Promise<import("@d19n/odin-sdk-generator/dist/odin-sdk-types").OdinRestoreResponse[]>;
40
+ applyAction(dto: any): Promise<any[]>;
41
+ bulkApplyActions(dtos: any[]): Promise<any[]>;
42
+ getVersions(): Promise<{
43
+ [key: string]: Record<string, any>;
44
+ }>;
45
+ getRevisionTimeline(): Promise<{
46
+ [key: string]: Record<string, any>[];
47
+ }>;
48
+ }
@@ -0,0 +1,155 @@
1
+ "use strict";
2
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
+ return new (P || (P = Promise))(function (resolve, reject) {
5
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
9
+ });
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.EmailSenderApi = void 0;
13
+ const api_provider_1 = require("@d19n/odin-sdk-generator/dist/api.provider");
14
+ const api_record_link_manager_1 = require("@d19n/odin-sdk-generator/dist/api.record.link.manager");
15
+ /**
16
+ * @deprecated Use OdinApiClient.
17
+ *
18
+ * Migration:
19
+ * - Old: new EmailSenderApi(authParams).get(id)
20
+ * - New: new odin.emailsender.get(id)
21
+ *
22
+ * The new OdinApiClient returns typed record wrappers with action methods.
23
+ */
24
+ class EmailSenderApi extends api_provider_1.ApiProvider {
25
+ constructor(authParams, authToken) {
26
+ super(authParams, authToken);
27
+ this.authToken = authToken;
28
+ this.moduleName = 'NotificationModule';
29
+ this.entityName = 'EmailSender';
30
+ // Link managers are lazy-loaded on first access
31
+ }
32
+ // ============================================
33
+ // LAZY-LOADED LINK MANAGERS (Public Getters)
34
+ // ============================================
35
+ // Usage remains identical: api.address.list(recordId)
36
+ get email() {
37
+ if (!this._email) {
38
+ this._email = new api_record_link_manager_1.ApiRecordLinkManager(this.authParams, 'NotificationModule:EmailSender', 'NotificationModule:Email', 'Emai__EmailSender');
39
+ }
40
+ return this._email;
41
+ }
42
+ // ============================================
43
+ // STANDARD METHODS (Unchanged API)
44
+ // ============================================
45
+ setRecord(sourceRecord) {
46
+ this.sourceRecord = sourceRecord;
47
+ }
48
+ schema() {
49
+ return __awaiter(this, void 0, void 0, function* () {
50
+ return yield this.getSchema(this.moduleName, this.entityName);
51
+ });
52
+ }
53
+ // Use this function when you want to search and handle all pagination on your own
54
+ search(params) {
55
+ return __awaiter(this, void 0, void 0, function* () {
56
+ return yield this._searchRecords(this.moduleName, this.entityName, params);
57
+ });
58
+ }
59
+ // Use this function when you want paginating through the results to be handled
60
+ searchAndPaginate(params) {
61
+ return __awaiter(this, void 0, void 0, function* () {
62
+ return yield this._searchAllRecordsAndPaginate(this.moduleName, this.entityName, params);
63
+ });
64
+ }
65
+ // Use this function to re-index records in elastic search
66
+ reIndex(body) {
67
+ return __awaiter(this, void 0, void 0, function* () {
68
+ return yield this._reIndexRecords(body);
69
+ });
70
+ }
71
+ // Use this function when you want to return a single record
72
+ get(emailSenderId) {
73
+ return __awaiter(this, void 0, void 0, function* () {
74
+ const res = yield this._getByPrimaryKey(this.moduleName, this.entityName, emailSenderId);
75
+ if (res)
76
+ this.setRecord(res);
77
+ return res;
78
+ });
79
+ }
80
+ // Use this function when you want to return many records by primaryKeys
81
+ getMany(emailSenderIds) {
82
+ return __awaiter(this, void 0, void 0, function* () {
83
+ return yield this._getManyByPrimaryKey(this.moduleName, this.entityName, emailSenderIds);
84
+ });
85
+ }
86
+ // Use this function when you want to upsert one record
87
+ upsert(upsertDto) {
88
+ return __awaiter(this, void 0, void 0, function* () {
89
+ const res = yield this._upsert(this.moduleName, this.entityName, [upsertDto]);
90
+ return res[0];
91
+ });
92
+ }
93
+ // Use this function when you want to upsert many records
94
+ upsertMany(upsertDtos) {
95
+ return __awaiter(this, void 0, void 0, function* () {
96
+ return yield this._upsert(this.moduleName, this.entityName, upsertDtos);
97
+ });
98
+ }
99
+ // Use this function when you want to update one record
100
+ update(updateDto) {
101
+ return __awaiter(this, void 0, void 0, function* () {
102
+ const res = yield this._update(this.moduleName, this.entityName, [updateDto]);
103
+ return res[0];
104
+ });
105
+ }
106
+ // Use this function when you want to update many records
107
+ updateMany(updateDtos) {
108
+ return __awaiter(this, void 0, void 0, function* () {
109
+ return yield this._update(this.moduleName, this.entityName, updateDtos);
110
+ });
111
+ }
112
+ // Use this function when you want to delete one record
113
+ delete(emailSenderId) {
114
+ return __awaiter(this, void 0, void 0, function* () {
115
+ return yield this._delete(this.moduleName, this.entityName, [emailSenderId]);
116
+ });
117
+ }
118
+ // Use this function when you want to delete many records
119
+ deleteMany(emailSenderIds) {
120
+ return __awaiter(this, void 0, void 0, function* () {
121
+ return yield this._delete(this.moduleName, this.entityName, emailSenderIds);
122
+ });
123
+ }
124
+ // Use this function when you want to restore one or many records
125
+ restore(emailSenderIds) {
126
+ return __awaiter(this, void 0, void 0, function* () {
127
+ return yield this._restore(this.moduleName, this.entityName, emailSenderIds);
128
+ });
129
+ }
130
+ // Use this function when you want to apply a single action
131
+ applyAction(dto) {
132
+ return __awaiter(this, void 0, void 0, function* () {
133
+ return yield this._applyAction(this.moduleName, this.entityName, dto);
134
+ });
135
+ }
136
+ // Use this function when you want to bulk apply actions
137
+ bulkApplyActions(dtos) {
138
+ return __awaiter(this, void 0, void 0, function* () {
139
+ return yield this._bulkApplyActions(this.moduleName, this.entityName, dtos);
140
+ });
141
+ }
142
+ // Use this function when you want to return the versions for a single record
143
+ getVersions() {
144
+ return __awaiter(this, void 0, void 0, function* () {
145
+ return yield this._getVersions(this.moduleName, this.entityName, this.sourceRecord.id);
146
+ });
147
+ }
148
+ // Use this function when you want to return the change history for a single record
149
+ getRevisionTimeline() {
150
+ return __awaiter(this, void 0, void 0, function* () {
151
+ return yield this._getRevisionTimeline(this.moduleName, this.entityName, this.sourceRecord.id);
152
+ });
153
+ }
154
+ }
155
+ exports.EmailSenderApi = EmailSenderApi;
@@ -26,12 +26,14 @@ export declare class EmailDb extends DbProvider {
26
26
  private _file?;
27
27
  private _case?;
28
28
  private _contact?;
29
+ private _emailsender?;
29
30
  constructor(principal: any, dbService: any, defaultOptions?: DbProviderOptions);
30
31
  get user(): DbRecordLinkManager;
31
32
  get email(): DbRecordLinkManager;
32
33
  get file(): DbRecordLinkManager;
33
34
  get case(): DbRecordLinkManager;
34
35
  get contact(): DbRecordLinkManager;
36
+ get emailsender(): DbRecordLinkManager;
35
37
  setRecord(sourceRecord: any): void;
36
38
  /**
37
39
  * Search records with manual pagination control
@@ -68,6 +68,12 @@ class EmailDb extends db_provider_1.DbProvider {
68
68
  }
69
69
  return this._contact;
70
70
  }
71
+ get emailsender() {
72
+ if (!this._emailsender) {
73
+ this._emailsender = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'NotificationModule:Email', 'NotificationModule:EmailSender', 'Emai__EmailSender');
74
+ }
75
+ return this._emailsender;
76
+ }
71
77
  // ============================================
72
78
  // STANDARD METHODS
73
79
  // ============================================
@@ -0,0 +1,120 @@
1
+ import { DbProvider, DbProviderOptions, DbGetQueryOptions } from '@d19n/odin-sdk-generator/dist/db.provider';
2
+ import { OdinSearchV2, OdinRecordCreateDto, OdinRecordUpdateDto } from '@d19n/odin-types/dist/core';
3
+ import { DbRecordLinkManager } from '@d19n/odin-sdk-generator/dist/db.record.link.manager';
4
+ import { EmailSenderProperties } from '../entities-v2/EmailSender';
5
+ /**
6
+ * @deprecated Use OdinDbClient.
7
+ *
8
+ * Migration:
9
+ * - Old: new EmailSenderApi(authParams).get(id)
10
+ * - New: new odin.emailsender.get(id)
11
+ *
12
+ * The new OdinDbClient returns typed record wrappers with action methods.
13
+ *
14
+ * Supports separate query options and provider options:
15
+ * - Constructor level: new EmailSenderDb(principal, dbService, { omitPermissionsCheck: true })
16
+ * - Method level: await db.getByPrimaryKey(id, { entities: [] }, { omitPermissionsCheck: true })
17
+ */
18
+ export declare class EmailSenderDb extends DbProvider {
19
+ protected readonly principal: any;
20
+ protected readonly dbService: any;
21
+ private readonly moduleName;
22
+ private readonly entityName;
23
+ private sourceRecord;
24
+ private _email?;
25
+ constructor(principal: any, dbService: any, defaultOptions?: DbProviderOptions);
26
+ get email(): DbRecordLinkManager;
27
+ setRecord(sourceRecord: any): void;
28
+ /**
29
+ * Search records with manual pagination control
30
+ * @param params - Search parameters
31
+ * @param providerOptions - Provider options (HOW: omitPermissionsCheck)
32
+ */
33
+ searchRecords(params: Partial<OdinSearchV2>, providerOptions?: DbProviderOptions): Promise<import("@d19n/odin-types/dist/core/interfaces/v2.db.interfaces").OdinSearchResponse<import("@d19n/odin-types/dist/core").OdinRecord<EmailSenderProperties>>>;
34
+ /**
35
+ * Search all records with automatic pagination
36
+ * @param params - Search parameters
37
+ * @param providerOptions - Provider options (HOW: omitPermissionsCheck)
38
+ */
39
+ searchAllRecordsAndPaginate(params: Partial<OdinSearchV2>, providerOptions?: DbProviderOptions): Promise<import("@d19n/odin-types/dist/core/interfaces/v2.db.interfaces").OdinSearchResponse<import("@d19n/odin-types/dist/core").OdinRecord<EmailSenderProperties>>>;
40
+ /**
41
+ * Get a single record by primary key
42
+ * @param emailSenderId - Record ID
43
+ * @param queryOptions - Query options (WHAT: entities to include)
44
+ * @param providerOptions - Provider options (HOW: omitPermissionsCheck)
45
+ *
46
+ * @example
47
+ * // Simple get
48
+ * const record = await db.getByPrimaryKey(id);
49
+ *
50
+ * // With related entities
51
+ * const record = await db.getByPrimaryKey(id, { entities: ['InvoiceItem', 'Transaction'] });
52
+ *
53
+ * // With permissions bypass
54
+ * const record = await db.getByPrimaryKey(id, {}, { omitPermissionsCheck: true });
55
+ *
56
+ * // Both options
57
+ * const record = await db.getByPrimaryKey(id, { entities: ['Invoice'] }, { omitPermissionsCheck: true });
58
+ */
59
+ getByPrimaryKey(emailSenderId: string, queryOptions?: DbGetQueryOptions, providerOptions?: DbProviderOptions): Promise<import("@d19n/odin-types/dist/core").OdinRecord<EmailSenderProperties>>;
60
+ /**
61
+ * Get multiple records by primary keys
62
+ * @param emailSenderIds - Array of record IDs
63
+ * @param queryOptions - Query options (WHAT: entities to include)
64
+ * @param providerOptions - Provider options (HOW: omitPermissionsCheck)
65
+ */
66
+ getManyByPrimaryKey(emailSenderIds: string[], queryOptions?: DbGetQueryOptions, providerOptions?: DbProviderOptions): Promise<import("@d19n/odin-types/dist/core").OdinRecord<EmailSenderProperties>[]>;
67
+ /**
68
+ * Upsert a single record
69
+ * @param upsertDto - Record to upsert
70
+ * @param providerOptions - Provider options (HOW: omitPermissionsCheck)
71
+ */
72
+ upsert(upsertDto: OdinRecordCreateDto, providerOptions?: DbProviderOptions): Promise<import("@d19n/odin-sdk-generator").IDbRecordCreateUpdateRes>;
73
+ /**
74
+ * Upsert multiple records
75
+ * @param upsertDtos - Records to upsert
76
+ * @param providerOptions - Provider options (HOW: omitPermissionsCheck)
77
+ */
78
+ upsertMany(upsertDtos: OdinRecordCreateDto[], providerOptions?: DbProviderOptions): Promise<import("@d19n/odin-sdk-generator").IDbRecordCreateUpdateRes[]>;
79
+ /**
80
+ * Update a single record
81
+ * @param updateDto - Record to update
82
+ * @param providerOptions - Provider options (HOW: omitPermissionsCheck)
83
+ */
84
+ update(updateDto: OdinRecordUpdateDto, providerOptions?: DbProviderOptions): Promise<import("@d19n/odin-sdk-generator").IDbRecordCreateUpdateRes>;
85
+ /**
86
+ * Update multiple records
87
+ * @param updateDtos - Records to update
88
+ * @param providerOptions - Provider options (HOW: omitPermissionsCheck)
89
+ */
90
+ updateMany(updateDtos: OdinRecordUpdateDto[], providerOptions?: DbProviderOptions): Promise<import("@d19n/odin-sdk-generator").IDbRecordCreateUpdateRes[]>;
91
+ /**
92
+ * Delete one or many records
93
+ * @param emailSenderIds - Record IDs to delete
94
+ * @param providerOptions - Provider options (HOW: omitPermissionsCheck)
95
+ */
96
+ delete(emailSenderIds: string[], providerOptions?: DbProviderOptions): Promise<import("@d19n/odin-sdk-generator").DbRecordDeleted[]>;
97
+ /**
98
+ * Restore one or many deleted records
99
+ * @param emailSenderIds - Record IDs to restore
100
+ * @param providerOptions - Provider options (HOW: omitPermissionsCheck)
101
+ */
102
+ restore(emailSenderIds: string[], providerOptions?: DbProviderOptions): Promise<import("@d19n/odin-sdk-generator").DbRecordRestored[]>;
103
+ /**
104
+ * Apply an action to a record
105
+ * @param actionName - The action key
106
+ * @param dto - The action DTO
107
+ * @param providerOptions - Provider options (HOW: omitPermissionsCheck)
108
+ */
109
+ applyAction(actionName: string, dto: any, providerOptions?: DbProviderOptions): Promise<import("@d19n/odin-sdk-generator").IDbRecordCreateUpdateRes[]>;
110
+ /**
111
+ * Get version history for the current source record
112
+ * @param providerOptions - Provider options (HOW: omitPermissionsCheck)
113
+ */
114
+ getVersions(providerOptions?: DbProviderOptions): Promise<any>;
115
+ /**
116
+ * Get revision timeline for the current source record
117
+ * @param providerOptions - Provider options (HOW: omitPermissionsCheck)
118
+ */
119
+ getRevisionTimeline(providerOptions?: DbProviderOptions): Promise<any>;
120
+ }