@d19n/youfibre-odin-sdk 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1398) hide show
  1. package/README.md +1 -0
  2. package/dist/api-sdk-v1/AccountApi.d.ts +87 -0
  3. package/dist/api-sdk-v1/AccountApi.js +367 -0
  4. package/dist/api-sdk-v1/ActivityApi.d.ts +99 -0
  5. package/dist/api-sdk-v1/ActivityApi.js +423 -0
  6. package/dist/api-sdk-v1/AddressApi.d.ts +141 -0
  7. package/dist/api-sdk-v1/AddressApi.js +621 -0
  8. package/dist/api-sdk-v1/AppointmentApi.d.ts +78 -0
  9. package/dist/api-sdk-v1/AppointmentApi.js +324 -0
  10. package/dist/api-sdk-v1/AppointmentCalendarApi.d.ts +29 -0
  11. package/dist/api-sdk-v1/AppointmentCalendarApi.js +93 -0
  12. package/dist/api-sdk-v1/BillingAdjustmentApi.d.ts +57 -0
  13. package/dist/api-sdk-v1/BillingAdjustmentApi.js +225 -0
  14. package/dist/api-sdk-v1/BillingRequestApi.d.ts +78 -0
  15. package/dist/api-sdk-v1/BillingRequestApi.js +324 -0
  16. package/dist/api-sdk-v1/BlockageReportA55Api.d.ts +50 -0
  17. package/dist/api-sdk-v1/BlockageReportA55Api.js +192 -0
  18. package/dist/api-sdk-v1/CalendarApi.d.ts +29 -0
  19. package/dist/api-sdk-v1/CalendarApi.js +93 -0
  20. package/dist/api-sdk-v1/CallApi.d.ts +57 -0
  21. package/dist/api-sdk-v1/CallApi.js +225 -0
  22. package/dist/api-sdk-v1/CaseApi.d.ts +113 -0
  23. package/dist/api-sdk-v1/CaseApi.js +489 -0
  24. package/dist/api-sdk-v1/CaseQueueListViewApi.d.ts +29 -0
  25. package/dist/api-sdk-v1/CaseQueueListViewApi.js +93 -0
  26. package/dist/api-sdk-v1/ChangeReasonApi.d.ts +64 -0
  27. package/dist/api-sdk-v1/ChangeReasonApi.js +258 -0
  28. package/dist/api-sdk-v1/ChurnRequestApi.d.ts +43 -0
  29. package/dist/api-sdk-v1/ChurnRequestApi.js +159 -0
  30. package/dist/api-sdk-v1/CommissionApi.d.ts +57 -0
  31. package/dist/api-sdk-v1/CommissionApi.js +225 -0
  32. package/dist/api-sdk-v1/ConsumptionRateApi.d.ts +43 -0
  33. package/dist/api-sdk-v1/ConsumptionRateApi.js +159 -0
  34. package/dist/api-sdk-v1/ConsumptionScheduleApi.d.ts +50 -0
  35. package/dist/api-sdk-v1/ConsumptionScheduleApi.js +192 -0
  36. package/dist/api-sdk-v1/ContactApi.d.ts +204 -0
  37. package/dist/api-sdk-v1/ContactApi.js +918 -0
  38. package/dist/api-sdk-v1/ContactIdentityApi.d.ts +57 -0
  39. package/dist/api-sdk-v1/ContactIdentityApi.js +225 -0
  40. package/dist/api-sdk-v1/CreditNoteApi.d.ts +57 -0
  41. package/dist/api-sdk-v1/CreditNoteApi.js +225 -0
  42. package/dist/api-sdk-v1/CrmDatasetApi.d.ts +73 -0
  43. package/dist/api-sdk-v1/CrmDatasetApi.js +301 -0
  44. package/dist/api-sdk-v1/CustomerDeviceAtaApi.d.ts +36 -0
  45. package/dist/api-sdk-v1/CustomerDeviceAtaApi.js +126 -0
  46. package/dist/api-sdk-v1/CustomerDeviceOntApi.d.ts +92 -0
  47. package/dist/api-sdk-v1/CustomerDeviceOntApi.js +390 -0
  48. package/dist/api-sdk-v1/CustomerDeviceOntRemovalApi.d.ts +36 -0
  49. package/dist/api-sdk-v1/CustomerDeviceOntRemovalApi.js +126 -0
  50. package/dist/api-sdk-v1/CustomerDeviceRouterApi.d.ts +71 -0
  51. package/dist/api-sdk-v1/CustomerDeviceRouterApi.js +291 -0
  52. package/dist/api-sdk-v1/CustomerPhonePortingApi.d.ts +36 -0
  53. package/dist/api-sdk-v1/CustomerPhonePortingApi.js +126 -0
  54. package/dist/api-sdk-v1/DashboardApi.d.ts +29 -0
  55. package/dist/api-sdk-v1/DashboardApi.js +93 -0
  56. package/dist/api-sdk-v1/DeactivationApprovalApi.d.ts +50 -0
  57. package/dist/api-sdk-v1/DeactivationApprovalApi.js +192 -0
  58. package/dist/api-sdk-v1/DiscountApi.d.ts +71 -0
  59. package/dist/api-sdk-v1/DiscountApi.js +291 -0
  60. package/dist/api-sdk-v1/EngineerApi.d.ts +29 -0
  61. package/dist/api-sdk-v1/EngineerApi.js +93 -0
  62. package/dist/api-sdk-v1/ExchangeApi.d.ts +50 -0
  63. package/dist/api-sdk-v1/ExchangeApi.js +192 -0
  64. package/dist/api-sdk-v1/FileApi.d.ts +323 -0
  65. package/dist/api-sdk-v1/FileApi.js +1479 -0
  66. package/dist/api-sdk-v1/FingerprintApi.d.ts +57 -0
  67. package/dist/api-sdk-v1/FingerprintApi.js +225 -0
  68. package/dist/api-sdk-v1/InternalInstallAuditApi.d.ts +50 -0
  69. package/dist/api-sdk-v1/InternalInstallAuditApi.js +192 -0
  70. package/dist/api-sdk-v1/InvoiceApi.d.ts +141 -0
  71. package/dist/api-sdk-v1/InvoiceApi.js +621 -0
  72. package/dist/api-sdk-v1/InvoiceItemApi.d.ts +43 -0
  73. package/dist/api-sdk-v1/InvoiceItemApi.js +159 -0
  74. package/dist/api-sdk-v1/LeadApi.d.ts +141 -0
  75. package/dist/api-sdk-v1/LeadApi.js +621 -0
  76. package/dist/api-sdk-v1/LinearIssueApi.d.ts +29 -0
  77. package/dist/api-sdk-v1/LinearIssueApi.js +93 -0
  78. package/dist/api-sdk-v1/MilestoneApi.d.ts +57 -0
  79. package/dist/api-sdk-v1/MilestoneApi.js +225 -0
  80. package/dist/api-sdk-v1/NetomniaFtth1StageInstallAuditApi.d.ts +50 -0
  81. package/dist/api-sdk-v1/NetomniaFtth1StageInstallAuditApi.js +192 -0
  82. package/dist/api-sdk-v1/NetomniaFtthServiceVisitSheetApi.d.ts +50 -0
  83. package/dist/api-sdk-v1/NetomniaFtthServiceVisitSheetApi.js +192 -0
  84. package/dist/api-sdk-v1/NetomniaInstallVerificationApi.d.ts +50 -0
  85. package/dist/api-sdk-v1/NetomniaInstallVerificationApi.js +192 -0
  86. package/dist/api-sdk-v1/NetworkDeviceApi.d.ts +36 -0
  87. package/dist/api-sdk-v1/NetworkDeviceApi.js +126 -0
  88. package/dist/api-sdk-v1/Noinstall3AuditOfInstallationSheetApi.d.ts +36 -0
  89. package/dist/api-sdk-v1/Noinstall3AuditOfInstallationSheetApi.js +126 -0
  90. package/dist/api-sdk-v1/NoteApi.d.ts +442 -0
  91. package/dist/api-sdk-v1/NoteApi.js +2040 -0
  92. package/dist/api-sdk-v1/OfferApi.d.ts +64 -0
  93. package/dist/api-sdk-v1/OfferApi.js +258 -0
  94. package/dist/api-sdk-v1/OhAuditOfInstallationApi.d.ts +50 -0
  95. package/dist/api-sdk-v1/OhAuditOfInstallationApi.js +192 -0
  96. package/dist/api-sdk-v1/OhExternalAuditApi.d.ts +50 -0
  97. package/dist/api-sdk-v1/OhExternalAuditApi.js +192 -0
  98. package/dist/api-sdk-v1/OhInProgressAuditApi.d.ts +50 -0
  99. package/dist/api-sdk-v1/OhInProgressAuditApi.js +192 -0
  100. package/dist/api-sdk-v1/OhInstallationAuditApi.d.ts +50 -0
  101. package/dist/api-sdk-v1/OhInstallationAuditApi.js +192 -0
  102. package/dist/api-sdk-v1/OneTouchSwitchApi.d.ts +78 -0
  103. package/dist/api-sdk-v1/OneTouchSwitchApi.js +324 -0
  104. package/dist/api-sdk-v1/OrderApi.d.ts +247 -0
  105. package/dist/api-sdk-v1/OrderApi.js +1121 -0
  106. package/dist/api-sdk-v1/OrderCheckApi.d.ts +36 -0
  107. package/dist/api-sdk-v1/OrderCheckApi.js +126 -0
  108. package/dist/api-sdk-v1/OrderItemApi.d.ts +134 -0
  109. package/dist/api-sdk-v1/OrderItemApi.js +588 -0
  110. package/dist/api-sdk-v1/OrderRemediationTaskApi.d.ts +57 -0
  111. package/dist/api-sdk-v1/OrderRemediationTaskApi.js +225 -0
  112. package/dist/api-sdk-v1/OrganizationApi.d.ts +57 -0
  113. package/dist/api-sdk-v1/OrganizationApi.js +225 -0
  114. package/dist/api-sdk-v1/OutageApi.d.ts +29 -0
  115. package/dist/api-sdk-v1/OutageApi.js +93 -0
  116. package/dist/api-sdk-v1/OverlayRealA55Api.d.ts +50 -0
  117. package/dist/api-sdk-v1/OverlayRealA55Api.js +192 -0
  118. package/dist/api-sdk-v1/PICRequestApi.d.ts +43 -0
  119. package/dist/api-sdk-v1/PICRequestApi.js +159 -0
  120. package/dist/api-sdk-v1/PaymentMethodApi.d.ts +71 -0
  121. package/dist/api-sdk-v1/PaymentMethodApi.js +291 -0
  122. package/dist/api-sdk-v1/PaymentMethodRefundApi.d.ts +85 -0
  123. package/dist/api-sdk-v1/PaymentMethodRefundApi.js +357 -0
  124. package/dist/api-sdk-v1/PermissionToFailApi.d.ts +43 -0
  125. package/dist/api-sdk-v1/PermissionToFailApi.js +159 -0
  126. package/dist/api-sdk-v1/PhoneNumberApi.d.ts +43 -0
  127. package/dist/api-sdk-v1/PhoneNumberApi.js +159 -0
  128. package/dist/api-sdk-v1/Premise2Api.d.ts +29 -0
  129. package/dist/api-sdk-v1/Premise2Api.js +93 -0
  130. package/dist/api-sdk-v1/PremiseApi.d.ts +29 -0
  131. package/dist/api-sdk-v1/PremiseApi.js +93 -0
  132. package/dist/api-sdk-v1/PriceBookApi.d.ts +44 -0
  133. package/dist/api-sdk-v1/PriceBookApi.js +164 -0
  134. package/dist/api-sdk-v1/ProductApi.d.ts +100 -0
  135. package/dist/api-sdk-v1/ProductApi.js +428 -0
  136. package/dist/api-sdk-v1/ProductComponentApi.d.ts +50 -0
  137. package/dist/api-sdk-v1/ProductComponentApi.js +192 -0
  138. package/dist/api-sdk-v1/ProgramApi.d.ts +43 -0
  139. package/dist/api-sdk-v1/ProgramApi.js +159 -0
  140. package/dist/api-sdk-v1/ProjectApi.d.ts +50 -0
  141. package/dist/api-sdk-v1/ProjectApi.js +192 -0
  142. package/dist/api-sdk-v1/QueueApi.d.ts +50 -0
  143. package/dist/api-sdk-v1/QueueApi.js +192 -0
  144. package/dist/api-sdk-v1/QueueChangeApi.d.ts +43 -0
  145. package/dist/api-sdk-v1/QueueChangeApi.js +159 -0
  146. package/dist/api-sdk-v1/RegionApi.d.ts +43 -0
  147. package/dist/api-sdk-v1/RegionApi.js +159 -0
  148. package/dist/api-sdk-v1/RemediationRequiredReasonApi.d.ts +57 -0
  149. package/dist/api-sdk-v1/RemediationRequiredReasonApi.js +225 -0
  150. package/dist/api-sdk-v1/RestrictionApi.d.ts +50 -0
  151. package/dist/api-sdk-v1/RestrictionApi.js +192 -0
  152. package/dist/api-sdk-v1/ReturnOrderApi.d.ts +43 -0
  153. package/dist/api-sdk-v1/ReturnOrderApi.js +159 -0
  154. package/dist/api-sdk-v1/SalesLeaderBoardApi.d.ts +29 -0
  155. package/dist/api-sdk-v1/SalesLeaderBoardApi.js +93 -0
  156. package/dist/api-sdk-v1/SalesTerritoryApi.d.ts +50 -0
  157. package/dist/api-sdk-v1/SalesTerritoryApi.js +192 -0
  158. package/dist/api-sdk-v1/ScheduleSlotApi.d.ts +36 -0
  159. package/dist/api-sdk-v1/ScheduleSlotApi.js +126 -0
  160. package/dist/api-sdk-v1/ServiceApi.d.ts +43 -0
  161. package/dist/api-sdk-v1/ServiceApi.js +159 -0
  162. package/dist/api-sdk-v1/ServiceAppointmentApi.d.ts +57 -0
  163. package/dist/api-sdk-v1/ServiceAppointmentApi.js +225 -0
  164. package/dist/api-sdk-v1/ServiceAppointmentConfigApi.d.ts +78 -0
  165. package/dist/api-sdk-v1/ServiceAppointmentConfigApi.js +324 -0
  166. package/dist/api-sdk-v1/ServiceVisitAuditApi.d.ts +50 -0
  167. package/dist/api-sdk-v1/ServiceVisitAuditApi.js +192 -0
  168. package/dist/api-sdk-v1/SmsMessageApi.d.ts +71 -0
  169. package/dist/api-sdk-v1/SmsMessageApi.js +291 -0
  170. package/dist/api-sdk-v1/SplitOrderApi.d.ts +50 -0
  171. package/dist/api-sdk-v1/SplitOrderApi.js +192 -0
  172. package/dist/api-sdk-v1/SubtaskApi.d.ts +43 -0
  173. package/dist/api-sdk-v1/SubtaskApi.js +159 -0
  174. package/dist/api-sdk-v1/SupportTaskApi.d.ts +36 -0
  175. package/dist/api-sdk-v1/SupportTaskApi.js +126 -0
  176. package/dist/api-sdk-v1/SweeperMaintenanceAuditApi.d.ts +50 -0
  177. package/dist/api-sdk-v1/SweeperMaintenanceAuditApi.js +192 -0
  178. package/dist/api-sdk-v1/TaskApi.d.ts +50 -0
  179. package/dist/api-sdk-v1/TaskApi.js +192 -0
  180. package/dist/api-sdk-v1/TeamApi.d.ts +43 -0
  181. package/dist/api-sdk-v1/TeamApi.js +159 -0
  182. package/dist/api-sdk-v1/TelesalesDashboardApi.d.ts +29 -0
  183. package/dist/api-sdk-v1/TelesalesDashboardApi.js +93 -0
  184. package/dist/api-sdk-v1/TimeOffApi.d.ts +36 -0
  185. package/dist/api-sdk-v1/TimeOffApi.js +126 -0
  186. package/dist/api-sdk-v1/TimeSlotApi.d.ts +36 -0
  187. package/dist/api-sdk-v1/TimeSlotApi.js +126 -0
  188. package/dist/api-sdk-v1/TransactionApi.d.ts +78 -0
  189. package/dist/api-sdk-v1/TransactionApi.js +324 -0
  190. package/dist/api-sdk-v1/UgAuditOfInstallationApi.d.ts +50 -0
  191. package/dist/api-sdk-v1/UgAuditOfInstallationApi.js +192 -0
  192. package/dist/api-sdk-v1/UgExternalAuditApi.d.ts +50 -0
  193. package/dist/api-sdk-v1/UgExternalAuditApi.js +192 -0
  194. package/dist/api-sdk-v1/UgInProgressAuditApi.d.ts +50 -0
  195. package/dist/api-sdk-v1/UgInProgressAuditApi.js +192 -0
  196. package/dist/api-sdk-v1/UgInstallationAuditApi.d.ts +50 -0
  197. package/dist/api-sdk-v1/UgInstallationAuditApi.js +192 -0
  198. package/dist/api-sdk-v1/UserApi.d.ts +106 -0
  199. package/dist/api-sdk-v1/UserApi.js +456 -0
  200. package/dist/api-sdk-v1/VendorApi.d.ts +43 -0
  201. package/dist/api-sdk-v1/VendorApi.js +159 -0
  202. package/dist/api-sdk-v1/VisitApi.d.ts +71 -0
  203. package/dist/api-sdk-v1/VisitApi.js +291 -0
  204. package/dist/api-sdk-v1/VoiceConfigurationApi.d.ts +36 -0
  205. package/dist/api-sdk-v1/VoiceConfigurationApi.js +126 -0
  206. package/dist/api-sdk-v1/WorkOrderApi.d.ts +323 -0
  207. package/dist/api-sdk-v1/WorkOrderApi.js +1479 -0
  208. package/dist/api-sdk-v1/WorkOrderRemediationViewApi.d.ts +29 -0
  209. package/dist/api-sdk-v1/WorkOrderRemediationViewApi.js +93 -0
  210. package/dist/api-sdk-v1/YfEquipmentCollectionApi.d.ts +50 -0
  211. package/dist/api-sdk-v1/YfEquipmentCollectionApi.js +192 -0
  212. package/dist/api-sdk-v1/YfFieldServiceVisitApi.d.ts +50 -0
  213. package/dist/api-sdk-v1/YfFieldServiceVisitApi.js +192 -0
  214. package/dist/db-sdk-v1/AccountDb.d.ts +78 -0
  215. package/dist/db-sdk-v1/AccountDb.js +357 -0
  216. package/dist/db-sdk-v1/ActivityDb.d.ts +90 -0
  217. package/dist/db-sdk-v1/ActivityDb.js +413 -0
  218. package/dist/db-sdk-v1/AddressDb.d.ts +132 -0
  219. package/dist/db-sdk-v1/AddressDb.js +611 -0
  220. package/dist/db-sdk-v1/AppointmentCalendarDb.d.ts +20 -0
  221. package/dist/db-sdk-v1/AppointmentCalendarDb.js +83 -0
  222. package/dist/db-sdk-v1/AppointmentDb.d.ts +69 -0
  223. package/dist/db-sdk-v1/AppointmentDb.js +314 -0
  224. package/dist/db-sdk-v1/BillingAdjustmentDb.d.ts +48 -0
  225. package/dist/db-sdk-v1/BillingAdjustmentDb.js +215 -0
  226. package/dist/db-sdk-v1/BillingRequestDb.d.ts +69 -0
  227. package/dist/db-sdk-v1/BillingRequestDb.js +314 -0
  228. package/dist/db-sdk-v1/BlockageReportA55Db.d.ts +41 -0
  229. package/dist/db-sdk-v1/BlockageReportA55Db.js +182 -0
  230. package/dist/db-sdk-v1/CalendarDb.d.ts +20 -0
  231. package/dist/db-sdk-v1/CalendarDb.js +83 -0
  232. package/dist/db-sdk-v1/CallDb.d.ts +48 -0
  233. package/dist/db-sdk-v1/CallDb.js +215 -0
  234. package/dist/db-sdk-v1/CaseDb.d.ts +104 -0
  235. package/dist/db-sdk-v1/CaseDb.js +479 -0
  236. package/dist/db-sdk-v1/CaseQueueListViewDb.d.ts +20 -0
  237. package/dist/db-sdk-v1/CaseQueueListViewDb.js +83 -0
  238. package/dist/db-sdk-v1/ChangeReasonDb.d.ts +55 -0
  239. package/dist/db-sdk-v1/ChangeReasonDb.js +248 -0
  240. package/dist/db-sdk-v1/ChurnRequestDb.d.ts +34 -0
  241. package/dist/db-sdk-v1/ChurnRequestDb.js +149 -0
  242. package/dist/db-sdk-v1/CommissionDb.d.ts +48 -0
  243. package/dist/db-sdk-v1/CommissionDb.js +215 -0
  244. package/dist/db-sdk-v1/ConsumptionRateDb.d.ts +34 -0
  245. package/dist/db-sdk-v1/ConsumptionRateDb.js +149 -0
  246. package/dist/db-sdk-v1/ConsumptionScheduleDb.d.ts +41 -0
  247. package/dist/db-sdk-v1/ConsumptionScheduleDb.js +182 -0
  248. package/dist/db-sdk-v1/ContactDb.d.ts +195 -0
  249. package/dist/db-sdk-v1/ContactDb.js +908 -0
  250. package/dist/db-sdk-v1/ContactIdentityDb.d.ts +48 -0
  251. package/dist/db-sdk-v1/ContactIdentityDb.js +215 -0
  252. package/dist/db-sdk-v1/CreditNoteDb.d.ts +48 -0
  253. package/dist/db-sdk-v1/CreditNoteDb.js +215 -0
  254. package/dist/db-sdk-v1/CrmDatasetDb.d.ts +64 -0
  255. package/dist/db-sdk-v1/CrmDatasetDb.js +291 -0
  256. package/dist/db-sdk-v1/CustomerDeviceAtaDb.d.ts +27 -0
  257. package/dist/db-sdk-v1/CustomerDeviceAtaDb.js +116 -0
  258. package/dist/db-sdk-v1/CustomerDeviceOntDb.d.ts +83 -0
  259. package/dist/db-sdk-v1/CustomerDeviceOntDb.js +380 -0
  260. package/dist/db-sdk-v1/CustomerDeviceOntRemovalDb.d.ts +27 -0
  261. package/dist/db-sdk-v1/CustomerDeviceOntRemovalDb.js +116 -0
  262. package/dist/db-sdk-v1/CustomerDeviceRouterDb.d.ts +62 -0
  263. package/dist/db-sdk-v1/CustomerDeviceRouterDb.js +281 -0
  264. package/dist/db-sdk-v1/CustomerPhonePortingDb.d.ts +27 -0
  265. package/dist/db-sdk-v1/CustomerPhonePortingDb.js +116 -0
  266. package/dist/db-sdk-v1/DashboardDb.d.ts +20 -0
  267. package/dist/db-sdk-v1/DashboardDb.js +83 -0
  268. package/dist/db-sdk-v1/DeactivationApprovalDb.d.ts +41 -0
  269. package/dist/db-sdk-v1/DeactivationApprovalDb.js +182 -0
  270. package/dist/db-sdk-v1/DiscountDb.d.ts +62 -0
  271. package/dist/db-sdk-v1/DiscountDb.js +281 -0
  272. package/dist/db-sdk-v1/EngineerDb.d.ts +20 -0
  273. package/dist/db-sdk-v1/EngineerDb.js +83 -0
  274. package/dist/db-sdk-v1/ExchangeDb.d.ts +41 -0
  275. package/dist/db-sdk-v1/ExchangeDb.js +182 -0
  276. package/dist/db-sdk-v1/FileDb.d.ts +314 -0
  277. package/dist/db-sdk-v1/FileDb.js +1469 -0
  278. package/dist/db-sdk-v1/FingerprintDb.d.ts +48 -0
  279. package/dist/db-sdk-v1/FingerprintDb.js +215 -0
  280. package/dist/db-sdk-v1/InternalInstallAuditDb.d.ts +41 -0
  281. package/dist/db-sdk-v1/InternalInstallAuditDb.js +182 -0
  282. package/dist/db-sdk-v1/InvoiceDb.d.ts +132 -0
  283. package/dist/db-sdk-v1/InvoiceDb.js +611 -0
  284. package/dist/db-sdk-v1/InvoiceItemDb.d.ts +34 -0
  285. package/dist/db-sdk-v1/InvoiceItemDb.js +149 -0
  286. package/dist/db-sdk-v1/LeadDb.d.ts +132 -0
  287. package/dist/db-sdk-v1/LeadDb.js +611 -0
  288. package/dist/db-sdk-v1/LinearIssueDb.d.ts +20 -0
  289. package/dist/db-sdk-v1/LinearIssueDb.js +83 -0
  290. package/dist/db-sdk-v1/MilestoneDb.d.ts +48 -0
  291. package/dist/db-sdk-v1/MilestoneDb.js +215 -0
  292. package/dist/db-sdk-v1/NetomniaFtth1StageInstallAuditDb.d.ts +41 -0
  293. package/dist/db-sdk-v1/NetomniaFtth1StageInstallAuditDb.js +182 -0
  294. package/dist/db-sdk-v1/NetomniaFtthServiceVisitSheetDb.d.ts +41 -0
  295. package/dist/db-sdk-v1/NetomniaFtthServiceVisitSheetDb.js +182 -0
  296. package/dist/db-sdk-v1/NetomniaInstallVerificationDb.d.ts +41 -0
  297. package/dist/db-sdk-v1/NetomniaInstallVerificationDb.js +182 -0
  298. package/dist/db-sdk-v1/NetworkDeviceDb.d.ts +27 -0
  299. package/dist/db-sdk-v1/NetworkDeviceDb.js +116 -0
  300. package/dist/db-sdk-v1/Noinstall3AuditOfInstallationSheetDb.d.ts +27 -0
  301. package/dist/db-sdk-v1/Noinstall3AuditOfInstallationSheetDb.js +116 -0
  302. package/dist/db-sdk-v1/NoteDb.d.ts +433 -0
  303. package/dist/db-sdk-v1/NoteDb.js +2030 -0
  304. package/dist/db-sdk-v1/OfferDb.d.ts +55 -0
  305. package/dist/db-sdk-v1/OfferDb.js +248 -0
  306. package/dist/db-sdk-v1/OhAuditOfInstallationDb.d.ts +41 -0
  307. package/dist/db-sdk-v1/OhAuditOfInstallationDb.js +182 -0
  308. package/dist/db-sdk-v1/OhExternalAuditDb.d.ts +41 -0
  309. package/dist/db-sdk-v1/OhExternalAuditDb.js +182 -0
  310. package/dist/db-sdk-v1/OhInProgressAuditDb.d.ts +41 -0
  311. package/dist/db-sdk-v1/OhInProgressAuditDb.js +182 -0
  312. package/dist/db-sdk-v1/OhInstallationAuditDb.d.ts +41 -0
  313. package/dist/db-sdk-v1/OhInstallationAuditDb.js +182 -0
  314. package/dist/db-sdk-v1/OneTouchSwitchDb.d.ts +69 -0
  315. package/dist/db-sdk-v1/OneTouchSwitchDb.js +314 -0
  316. package/dist/db-sdk-v1/OrderCheckDb.d.ts +27 -0
  317. package/dist/db-sdk-v1/OrderCheckDb.js +116 -0
  318. package/dist/db-sdk-v1/OrderDb.d.ts +238 -0
  319. package/dist/db-sdk-v1/OrderDb.js +1111 -0
  320. package/dist/db-sdk-v1/OrderItemDb.d.ts +125 -0
  321. package/dist/db-sdk-v1/OrderItemDb.js +578 -0
  322. package/dist/db-sdk-v1/OrderRemediationTaskDb.d.ts +48 -0
  323. package/dist/db-sdk-v1/OrderRemediationTaskDb.js +215 -0
  324. package/dist/db-sdk-v1/OrganizationDb.d.ts +48 -0
  325. package/dist/db-sdk-v1/OrganizationDb.js +215 -0
  326. package/dist/db-sdk-v1/OutageDb.d.ts +20 -0
  327. package/dist/db-sdk-v1/OutageDb.js +83 -0
  328. package/dist/db-sdk-v1/OverlayRealA55Db.d.ts +41 -0
  329. package/dist/db-sdk-v1/OverlayRealA55Db.js +182 -0
  330. package/dist/db-sdk-v1/PICRequestDb.d.ts +34 -0
  331. package/dist/db-sdk-v1/PICRequestDb.js +149 -0
  332. package/dist/db-sdk-v1/PaymentMethodDb.d.ts +62 -0
  333. package/dist/db-sdk-v1/PaymentMethodDb.js +281 -0
  334. package/dist/db-sdk-v1/PaymentMethodRefundDb.d.ts +76 -0
  335. package/dist/db-sdk-v1/PaymentMethodRefundDb.js +347 -0
  336. package/dist/db-sdk-v1/PermissionToFailDb.d.ts +34 -0
  337. package/dist/db-sdk-v1/PermissionToFailDb.js +149 -0
  338. package/dist/db-sdk-v1/PhoneNumberDb.d.ts +34 -0
  339. package/dist/db-sdk-v1/PhoneNumberDb.js +149 -0
  340. package/dist/db-sdk-v1/Premise2Db.d.ts +20 -0
  341. package/dist/db-sdk-v1/Premise2Db.js +83 -0
  342. package/dist/db-sdk-v1/PremiseDb.d.ts +20 -0
  343. package/dist/db-sdk-v1/PremiseDb.js +83 -0
  344. package/dist/db-sdk-v1/PriceBookDb.d.ts +35 -0
  345. package/dist/db-sdk-v1/PriceBookDb.js +154 -0
  346. package/dist/db-sdk-v1/ProductComponentDb.d.ts +41 -0
  347. package/dist/db-sdk-v1/ProductComponentDb.js +182 -0
  348. package/dist/db-sdk-v1/ProductDb.d.ts +91 -0
  349. package/dist/db-sdk-v1/ProductDb.js +418 -0
  350. package/dist/db-sdk-v1/ProgramDb.d.ts +34 -0
  351. package/dist/db-sdk-v1/ProgramDb.js +149 -0
  352. package/dist/db-sdk-v1/ProjectDb.d.ts +41 -0
  353. package/dist/db-sdk-v1/ProjectDb.js +182 -0
  354. package/dist/db-sdk-v1/QueueChangeDb.d.ts +34 -0
  355. package/dist/db-sdk-v1/QueueChangeDb.js +149 -0
  356. package/dist/db-sdk-v1/QueueDb.d.ts +41 -0
  357. package/dist/db-sdk-v1/QueueDb.js +182 -0
  358. package/dist/db-sdk-v1/RegionDb.d.ts +34 -0
  359. package/dist/db-sdk-v1/RegionDb.js +149 -0
  360. package/dist/db-sdk-v1/RemediationRequiredReasonDb.d.ts +48 -0
  361. package/dist/db-sdk-v1/RemediationRequiredReasonDb.js +215 -0
  362. package/dist/db-sdk-v1/RestrictionDb.d.ts +41 -0
  363. package/dist/db-sdk-v1/RestrictionDb.js +182 -0
  364. package/dist/db-sdk-v1/ReturnOrderDb.d.ts +34 -0
  365. package/dist/db-sdk-v1/ReturnOrderDb.js +149 -0
  366. package/dist/db-sdk-v1/SalesLeaderBoardDb.d.ts +20 -0
  367. package/dist/db-sdk-v1/SalesLeaderBoardDb.js +83 -0
  368. package/dist/db-sdk-v1/SalesTerritoryDb.d.ts +41 -0
  369. package/dist/db-sdk-v1/SalesTerritoryDb.js +182 -0
  370. package/dist/db-sdk-v1/ScheduleSlotDb.d.ts +27 -0
  371. package/dist/db-sdk-v1/ScheduleSlotDb.js +116 -0
  372. package/dist/db-sdk-v1/ServiceAppointmentConfigDb.d.ts +69 -0
  373. package/dist/db-sdk-v1/ServiceAppointmentConfigDb.js +314 -0
  374. package/dist/db-sdk-v1/ServiceAppointmentDb.d.ts +48 -0
  375. package/dist/db-sdk-v1/ServiceAppointmentDb.js +215 -0
  376. package/dist/db-sdk-v1/ServiceDb.d.ts +34 -0
  377. package/dist/db-sdk-v1/ServiceDb.js +149 -0
  378. package/dist/db-sdk-v1/ServiceVisitAuditDb.d.ts +41 -0
  379. package/dist/db-sdk-v1/ServiceVisitAuditDb.js +182 -0
  380. package/dist/db-sdk-v1/SmsMessageDb.d.ts +62 -0
  381. package/dist/db-sdk-v1/SmsMessageDb.js +281 -0
  382. package/dist/db-sdk-v1/SplitOrderDb.d.ts +41 -0
  383. package/dist/db-sdk-v1/SplitOrderDb.js +182 -0
  384. package/dist/db-sdk-v1/SubtaskDb.d.ts +34 -0
  385. package/dist/db-sdk-v1/SubtaskDb.js +149 -0
  386. package/dist/db-sdk-v1/SupportTaskDb.d.ts +27 -0
  387. package/dist/db-sdk-v1/SupportTaskDb.js +116 -0
  388. package/dist/db-sdk-v1/SweeperMaintenanceAuditDb.d.ts +41 -0
  389. package/dist/db-sdk-v1/SweeperMaintenanceAuditDb.js +182 -0
  390. package/dist/db-sdk-v1/TaskDb.d.ts +41 -0
  391. package/dist/db-sdk-v1/TaskDb.js +182 -0
  392. package/dist/db-sdk-v1/TeamDb.d.ts +34 -0
  393. package/dist/db-sdk-v1/TeamDb.js +149 -0
  394. package/dist/db-sdk-v1/TelesalesDashboardDb.d.ts +20 -0
  395. package/dist/db-sdk-v1/TelesalesDashboardDb.js +83 -0
  396. package/dist/db-sdk-v1/TimeOffDb.d.ts +27 -0
  397. package/dist/db-sdk-v1/TimeOffDb.js +116 -0
  398. package/dist/db-sdk-v1/TimeSlotDb.d.ts +27 -0
  399. package/dist/db-sdk-v1/TimeSlotDb.js +116 -0
  400. package/dist/db-sdk-v1/TransactionDb.d.ts +69 -0
  401. package/dist/db-sdk-v1/TransactionDb.js +314 -0
  402. package/dist/db-sdk-v1/UgAuditOfInstallationDb.d.ts +41 -0
  403. package/dist/db-sdk-v1/UgAuditOfInstallationDb.js +182 -0
  404. package/dist/db-sdk-v1/UgExternalAuditDb.d.ts +41 -0
  405. package/dist/db-sdk-v1/UgExternalAuditDb.js +182 -0
  406. package/dist/db-sdk-v1/UgInProgressAuditDb.d.ts +41 -0
  407. package/dist/db-sdk-v1/UgInProgressAuditDb.js +182 -0
  408. package/dist/db-sdk-v1/UgInstallationAuditDb.d.ts +41 -0
  409. package/dist/db-sdk-v1/UgInstallationAuditDb.js +182 -0
  410. package/dist/db-sdk-v1/UserDb.d.ts +97 -0
  411. package/dist/db-sdk-v1/UserDb.js +446 -0
  412. package/dist/db-sdk-v1/VendorDb.d.ts +34 -0
  413. package/dist/db-sdk-v1/VendorDb.js +149 -0
  414. package/dist/db-sdk-v1/VisitDb.d.ts +62 -0
  415. package/dist/db-sdk-v1/VisitDb.js +281 -0
  416. package/dist/db-sdk-v1/VoiceConfigurationDb.d.ts +27 -0
  417. package/dist/db-sdk-v1/VoiceConfigurationDb.js +116 -0
  418. package/dist/db-sdk-v1/WorkOrderDb.d.ts +314 -0
  419. package/dist/db-sdk-v1/WorkOrderDb.js +1469 -0
  420. package/dist/db-sdk-v1/WorkOrderRemediationViewDb.d.ts +20 -0
  421. package/dist/db-sdk-v1/WorkOrderRemediationViewDb.js +83 -0
  422. package/dist/db-sdk-v1/YfEquipmentCollectionDb.d.ts +41 -0
  423. package/dist/db-sdk-v1/YfEquipmentCollectionDb.js +182 -0
  424. package/dist/db-sdk-v1/YfFieldServiceVisitDb.d.ts +41 -0
  425. package/dist/db-sdk-v1/YfFieldServiceVisitDb.js +182 -0
  426. package/dist/entities-v1/Account.d.ts +96 -0
  427. package/dist/entities-v1/Account.js +46 -0
  428. package/dist/entities-v1/Activity.d.ts +94 -0
  429. package/dist/entities-v1/Activity.js +40 -0
  430. package/dist/entities-v1/Address.d.ts +207 -0
  431. package/dist/entities-v1/Address.js +85 -0
  432. package/dist/entities-v1/AddressCrmDataset.d.ts +71 -0
  433. package/dist/entities-v1/AddressCrmDataset.js +21 -0
  434. package/dist/entities-v1/Appointment.d.ts +85 -0
  435. package/dist/entities-v1/Appointment.js +28 -0
  436. package/dist/entities-v1/AppointmentCalendar.d.ts +41 -0
  437. package/dist/entities-v1/AppointmentCalendar.js +10 -0
  438. package/dist/entities-v1/BillingAdjustment.d.ts +80 -0
  439. package/dist/entities-v1/BillingAdjustment.js +37 -0
  440. package/dist/entities-v1/BillingRequest.d.ts +116 -0
  441. package/dist/entities-v1/BillingRequest.js +55 -0
  442. package/dist/entities-v1/BlockageReportA55.d.ts +96 -0
  443. package/dist/entities-v1/BlockageReportA55.js +50 -0
  444. package/dist/entities-v1/BundleProduct.d.ts +263 -0
  445. package/dist/entities-v1/BundleProduct.js +180 -0
  446. package/dist/entities-v1/BusinessAccount.d.ts +91 -0
  447. package/dist/entities-v1/BusinessAccount.js +41 -0
  448. package/dist/entities-v1/Calendar.d.ts +41 -0
  449. package/dist/entities-v1/Calendar.js +10 -0
  450. package/dist/entities-v1/Call.d.ts +75 -0
  451. package/dist/entities-v1/Call.js +23 -0
  452. package/dist/entities-v1/Case.d.ts +155 -0
  453. package/dist/entities-v1/Case.js +80 -0
  454. package/dist/entities-v1/CaseQueueListView.d.ts +41 -0
  455. package/dist/entities-v1/CaseQueueListView.js +10 -0
  456. package/dist/entities-v1/ChangeReason.d.ts +189 -0
  457. package/dist/entities-v1/ChangeReason.js +138 -0
  458. package/dist/entities-v1/ChurnRequest.d.ts +74 -0
  459. package/dist/entities-v1/ChurnRequest.js +36 -0
  460. package/dist/entities-v1/CollectionWorkOrder.d.ts +257 -0
  461. package/dist/entities-v1/CollectionWorkOrder.js +136 -0
  462. package/dist/entities-v1/Commission.d.ts +76 -0
  463. package/dist/entities-v1/Commission.js +32 -0
  464. package/dist/entities-v1/ConsumptionRate.d.ts +68 -0
  465. package/dist/entities-v1/ConsumptionRate.js +28 -0
  466. package/dist/entities-v1/ConsumptionSchedule.d.ts +69 -0
  467. package/dist/entities-v1/ConsumptionSchedule.js +31 -0
  468. package/dist/entities-v1/Contact.d.ts +204 -0
  469. package/dist/entities-v1/Contact.js +96 -0
  470. package/dist/entities-v1/ContactCrmDataset.d.ts +67 -0
  471. package/dist/entities-v1/ContactCrmDataset.js +21 -0
  472. package/dist/entities-v1/ContactIdentity.d.ts +54 -0
  473. package/dist/entities-v1/ContactIdentity.js +13 -0
  474. package/dist/entities-v1/CreditNote.d.ts +80 -0
  475. package/dist/entities-v1/CreditNote.js +36 -0
  476. package/dist/entities-v1/CrmDataset.d.ts +84 -0
  477. package/dist/entities-v1/CrmDataset.js +33 -0
  478. package/dist/entities-v1/CustomerDeviceAta.d.ts +50 -0
  479. package/dist/entities-v1/CustomerDeviceAta.js +16 -0
  480. package/dist/entities-v1/CustomerDeviceOnt.d.ts +133 -0
  481. package/dist/entities-v1/CustomerDeviceOnt.js +68 -0
  482. package/dist/entities-v1/CustomerDeviceOntRemoval.d.ts +53 -0
  483. package/dist/entities-v1/CustomerDeviceOntRemoval.js +20 -0
  484. package/dist/entities-v1/CustomerDeviceRouter.d.ts +98 -0
  485. package/dist/entities-v1/CustomerDeviceRouter.js +37 -0
  486. package/dist/entities-v1/CustomerPhonePorting.d.ts +57 -0
  487. package/dist/entities-v1/CustomerPhonePorting.js +17 -0
  488. package/dist/entities-v1/Dashboard.d.ts +41 -0
  489. package/dist/entities-v1/Dashboard.js +10 -0
  490. package/dist/entities-v1/DeactivationApproval.d.ts +55 -0
  491. package/dist/entities-v1/DeactivationApproval.js +14 -0
  492. package/dist/entities-v1/DefaultAddress.d.ts +202 -0
  493. package/dist/entities-v1/DefaultAddress.js +81 -0
  494. package/dist/entities-v1/DefaultAppointment.d.ts +82 -0
  495. package/dist/entities-v1/DefaultAppointment.js +24 -0
  496. package/dist/entities-v1/DefaultAppointmentCalendar.d.ts +38 -0
  497. package/dist/entities-v1/DefaultAppointmentCalendar.js +6 -0
  498. package/dist/entities-v1/DefaultBillingAdjustment.d.ts +77 -0
  499. package/dist/entities-v1/DefaultBillingAdjustment.js +33 -0
  500. package/dist/entities-v1/DefaultCalendar.d.ts +38 -0
  501. package/dist/entities-v1/DefaultCalendar.js +6 -0
  502. package/dist/entities-v1/DefaultCall.d.ts +72 -0
  503. package/dist/entities-v1/DefaultCall.js +19 -0
  504. package/dist/entities-v1/DefaultCase.d.ts +149 -0
  505. package/dist/entities-v1/DefaultCase.js +75 -0
  506. package/dist/entities-v1/DefaultCaseQueueListView.d.ts +38 -0
  507. package/dist/entities-v1/DefaultCaseQueueListView.js +6 -0
  508. package/dist/entities-v1/DefaultChurnRequest.d.ts +81 -0
  509. package/dist/entities-v1/DefaultChurnRequest.js +44 -0
  510. package/dist/entities-v1/DefaultCommission.d.ts +73 -0
  511. package/dist/entities-v1/DefaultCommission.js +28 -0
  512. package/dist/entities-v1/DefaultConsumptionRate.d.ts +66 -0
  513. package/dist/entities-v1/DefaultConsumptionRate.js +24 -0
  514. package/dist/entities-v1/DefaultConsumptionSchedule.d.ts +67 -0
  515. package/dist/entities-v1/DefaultConsumptionSchedule.js +27 -0
  516. package/dist/entities-v1/DefaultContact.d.ts +202 -0
  517. package/dist/entities-v1/DefaultContact.js +92 -0
  518. package/dist/entities-v1/DefaultContactIdentity.d.ts +52 -0
  519. package/dist/entities-v1/DefaultContactIdentity.js +9 -0
  520. package/dist/entities-v1/DefaultCreditNote.d.ts +77 -0
  521. package/dist/entities-v1/DefaultCreditNote.js +32 -0
  522. package/dist/entities-v1/DefaultCrmDataset.d.ts +67 -0
  523. package/dist/entities-v1/DefaultCrmDataset.js +21 -0
  524. package/dist/entities-v1/DefaultCustomerDeviceAta.d.ts +47 -0
  525. package/dist/entities-v1/DefaultCustomerDeviceAta.js +12 -0
  526. package/dist/entities-v1/DefaultCustomerDeviceOnt.d.ts +130 -0
  527. package/dist/entities-v1/DefaultCustomerDeviceOnt.js +64 -0
  528. package/dist/entities-v1/DefaultCustomerDeviceOntRemoval.d.ts +50 -0
  529. package/dist/entities-v1/DefaultCustomerDeviceOntRemoval.js +16 -0
  530. package/dist/entities-v1/DefaultCustomerDeviceRouter.d.ts +95 -0
  531. package/dist/entities-v1/DefaultCustomerDeviceRouter.js +33 -0
  532. package/dist/entities-v1/DefaultCustomerPhonePorting.d.ts +54 -0
  533. package/dist/entities-v1/DefaultCustomerPhonePorting.js +13 -0
  534. package/dist/entities-v1/DefaultDashboard.d.ts +38 -0
  535. package/dist/entities-v1/DefaultDashboard.js +6 -0
  536. package/dist/entities-v1/DefaultDeactivationApproval.d.ts +52 -0
  537. package/dist/entities-v1/DefaultDeactivationApproval.js +10 -0
  538. package/dist/entities-v1/DefaultDiscount.d.ts +84 -0
  539. package/dist/entities-v1/DefaultDiscount.js +32 -0
  540. package/dist/entities-v1/DefaultEngineer.d.ts +40 -0
  541. package/dist/entities-v1/DefaultEngineer.js +7 -0
  542. package/dist/entities-v1/DefaultExchange.d.ts +50 -0
  543. package/dist/entities-v1/DefaultExchange.js +9 -0
  544. package/dist/entities-v1/DefaultFile.d.ts +153 -0
  545. package/dist/entities-v1/DefaultFile.js +30 -0
  546. package/dist/entities-v1/DefaultFingerprint.d.ts +68 -0
  547. package/dist/entities-v1/DefaultFingerprint.js +17 -0
  548. package/dist/entities-v1/DefaultInvoice.d.ts +198 -0
  549. package/dist/entities-v1/DefaultInvoice.js +104 -0
  550. package/dist/entities-v1/DefaultInvoiceItem.d.ts +110 -0
  551. package/dist/entities-v1/DefaultInvoiceItem.js +56 -0
  552. package/dist/entities-v1/DefaultLead.d.ts +152 -0
  553. package/dist/entities-v1/DefaultLead.js +63 -0
  554. package/dist/entities-v1/DefaultLinearIssue.d.ts +38 -0
  555. package/dist/entities-v1/DefaultLinearIssue.js +6 -0
  556. package/dist/entities-v1/DefaultMilestone.d.ts +70 -0
  557. package/dist/entities-v1/DefaultMilestone.js +20 -0
  558. package/dist/entities-v1/DefaultNote.d.ts +164 -0
  559. package/dist/entities-v1/DefaultNote.js +10 -0
  560. package/dist/entities-v1/DefaultOffer.d.ts +86 -0
  561. package/dist/entities-v1/DefaultOffer.js +35 -0
  562. package/dist/entities-v1/DefaultOneTouchSwitch.d.ts +86 -0
  563. package/dist/entities-v1/DefaultOneTouchSwitch.js +23 -0
  564. package/dist/entities-v1/DefaultOrder.d.ts +314 -0
  565. package/dist/entities-v1/DefaultOrder.js +158 -0
  566. package/dist/entities-v1/DefaultOrderCheck.d.ts +68 -0
  567. package/dist/entities-v1/DefaultOrderCheck.js +20 -0
  568. package/dist/entities-v1/DefaultOrderItem.d.ts +171 -0
  569. package/dist/entities-v1/DefaultOrderItem.js +80 -0
  570. package/dist/entities-v1/DefaultOrderRemediationTask.d.ts +54 -0
  571. package/dist/entities-v1/DefaultOrderRemediationTask.js +10 -0
  572. package/dist/entities-v1/DefaultOrganization.d.ts +54 -0
  573. package/dist/entities-v1/DefaultOrganization.js +10 -0
  574. package/dist/entities-v1/DefaultOutage.d.ts +38 -0
  575. package/dist/entities-v1/DefaultOutage.js +6 -0
  576. package/dist/entities-v1/DefaultPICRequest.d.ts +82 -0
  577. package/dist/entities-v1/DefaultPICRequest.js +45 -0
  578. package/dist/entities-v1/DefaultPaymentMethod.d.ts +102 -0
  579. package/dist/entities-v1/DefaultPaymentMethod.js +49 -0
  580. package/dist/entities-v1/DefaultPaymentMethodRefund.d.ts +76 -0
  581. package/dist/entities-v1/DefaultPaymentMethodRefund.js +20 -0
  582. package/dist/entities-v1/DefaultPermissionToFail.d.ts +50 -0
  583. package/dist/entities-v1/DefaultPermissionToFail.js +13 -0
  584. package/dist/entities-v1/DefaultPhoneNumber.d.ts +44 -0
  585. package/dist/entities-v1/DefaultPhoneNumber.js +7 -0
  586. package/dist/entities-v1/DefaultPremise.d.ts +60 -0
  587. package/dist/entities-v1/DefaultPremise.js +17 -0
  588. package/dist/entities-v1/DefaultPremise2.d.ts +38 -0
  589. package/dist/entities-v1/DefaultPremise2.js +6 -0
  590. package/dist/entities-v1/DefaultPriceBook.d.ts +61 -0
  591. package/dist/entities-v1/DefaultPriceBook.js +22 -0
  592. package/dist/entities-v1/DefaultProductComponent.d.ts +95 -0
  593. package/dist/entities-v1/DefaultProductComponent.js +48 -0
  594. package/dist/entities-v1/DefaultProgram.d.ts +66 -0
  595. package/dist/entities-v1/DefaultProgram.js +20 -0
  596. package/dist/entities-v1/DefaultProject.d.ts +68 -0
  597. package/dist/entities-v1/DefaultProject.js +20 -0
  598. package/dist/entities-v1/DefaultQueue.d.ts +46 -0
  599. package/dist/entities-v1/DefaultQueue.js +7 -0
  600. package/dist/entities-v1/DefaultQueueChange.d.ts +48 -0
  601. package/dist/entities-v1/DefaultQueueChange.js +9 -0
  602. package/dist/entities-v1/DefaultRegion.d.ts +42 -0
  603. package/dist/entities-v1/DefaultRegion.js +6 -0
  604. package/dist/entities-v1/DefaultRestriction.d.ts +64 -0
  605. package/dist/entities-v1/DefaultRestriction.js +23 -0
  606. package/dist/entities-v1/DefaultReturnOrder.d.ts +44 -0
  607. package/dist/entities-v1/DefaultReturnOrder.js +7 -0
  608. package/dist/entities-v1/DefaultSalesLeaderBoard.d.ts +38 -0
  609. package/dist/entities-v1/DefaultSalesLeaderBoard.js +6 -0
  610. package/dist/entities-v1/DefaultScheduleSlot.d.ts +66 -0
  611. package/dist/entities-v1/DefaultScheduleSlot.js +19 -0
  612. package/dist/entities-v1/DefaultService.d.ts +76 -0
  613. package/dist/entities-v1/DefaultService.js +37 -0
  614. package/dist/entities-v1/DefaultServiceAppointment.d.ts +62 -0
  615. package/dist/entities-v1/DefaultServiceAppointment.js +17 -0
  616. package/dist/entities-v1/DefaultSmsMessage.d.ts +85 -0
  617. package/dist/entities-v1/DefaultSmsMessage.js +31 -0
  618. package/dist/entities-v1/DefaultSplitOrder.d.ts +46 -0
  619. package/dist/entities-v1/DefaultSplitOrder.js +7 -0
  620. package/dist/entities-v1/DefaultSubtask.d.ts +60 -0
  621. package/dist/entities-v1/DefaultSubtask.js +17 -0
  622. package/dist/entities-v1/DefaultSupportTask.d.ts +40 -0
  623. package/dist/entities-v1/DefaultSupportTask.js +6 -0
  624. package/dist/entities-v1/DefaultTask.d.ts +68 -0
  625. package/dist/entities-v1/DefaultTask.js +20 -0
  626. package/dist/entities-v1/DefaultTeam.d.ts +44 -0
  627. package/dist/entities-v1/DefaultTeam.js +7 -0
  628. package/dist/entities-v1/DefaultTelesalesDashboard.d.ts +38 -0
  629. package/dist/entities-v1/DefaultTelesalesDashboard.js +6 -0
  630. package/dist/entities-v1/DefaultTimeOff.d.ts +50 -0
  631. package/dist/entities-v1/DefaultTimeOff.js +14 -0
  632. package/dist/entities-v1/DefaultTimeSlot.d.ts +74 -0
  633. package/dist/entities-v1/DefaultTimeSlot.js +27 -0
  634. package/dist/entities-v1/DefaultTransaction.d.ts +133 -0
  635. package/dist/entities-v1/DefaultTransaction.js +70 -0
  636. package/dist/entities-v1/DefaultUser.d.ts +92 -0
  637. package/dist/entities-v1/DefaultUser.js +25 -0
  638. package/dist/entities-v1/DefaultVendor.d.ts +50 -0
  639. package/dist/entities-v1/DefaultVendor.js +13 -0
  640. package/dist/entities-v1/DefaultVisit.d.ts +149 -0
  641. package/dist/entities-v1/DefaultVisit.js +92 -0
  642. package/dist/entities-v1/DefaultVoiceConfiguration.d.ts +170 -0
  643. package/dist/entities-v1/DefaultVoiceConfiguration.js +114 -0
  644. package/dist/entities-v1/DefaultWorkOrderRemediationView.d.ts +38 -0
  645. package/dist/entities-v1/DefaultWorkOrderRemediationView.js +6 -0
  646. package/dist/entities-v1/Discount.d.ts +87 -0
  647. package/dist/entities-v1/Discount.js +36 -0
  648. package/dist/entities-v1/EmailFile.d.ts +153 -0
  649. package/dist/entities-v1/EmailFile.js +30 -0
  650. package/dist/entities-v1/Engineer.d.ts +43 -0
  651. package/dist/entities-v1/Engineer.js +11 -0
  652. package/dist/entities-v1/EventActivity.d.ts +84 -0
  653. package/dist/entities-v1/EventActivity.js +29 -0
  654. package/dist/entities-v1/Exchange.d.ts +53 -0
  655. package/dist/entities-v1/Exchange.js +13 -0
  656. package/dist/entities-v1/FieldSalesSalesTerritory.d.ts +52 -0
  657. package/dist/entities-v1/FieldSalesSalesTerritory.js +10 -0
  658. package/dist/entities-v1/File.d.ts +157 -0
  659. package/dist/entities-v1/File.js +35 -0
  660. package/dist/entities-v1/FinanceServiceAppointmentConfig.d.ts +153 -0
  661. package/dist/entities-v1/FinanceServiceAppointmentConfig.js +78 -0
  662. package/dist/entities-v1/FinanceWorkOrder.d.ts +253 -0
  663. package/dist/entities-v1/FinanceWorkOrder.js +134 -0
  664. package/dist/entities-v1/Fingerprint.d.ts +71 -0
  665. package/dist/entities-v1/Fingerprint.js +21 -0
  666. package/dist/entities-v1/GainingOneTouchSwitch.d.ts +86 -0
  667. package/dist/entities-v1/GainingOneTouchSwitch.js +23 -0
  668. package/dist/entities-v1/InboundSmsMessage.d.ts +85 -0
  669. package/dist/entities-v1/InboundSmsMessage.js +31 -0
  670. package/dist/entities-v1/InspectionWorkOrder.d.ts +271 -0
  671. package/dist/entities-v1/InspectionWorkOrder.js +146 -0
  672. package/dist/entities-v1/InstallBusinessWorkOrder.d.ts +273 -0
  673. package/dist/entities-v1/InstallBusinessWorkOrder.js +140 -0
  674. package/dist/entities-v1/InstallServiceAppointmentConfig.d.ts +153 -0
  675. package/dist/entities-v1/InstallServiceAppointmentConfig.js +78 -0
  676. package/dist/entities-v1/InstallServiceServiceAppointmentConfig.d.ts +153 -0
  677. package/dist/entities-v1/InstallServiceServiceAppointmentConfig.js +78 -0
  678. package/dist/entities-v1/InstallServiceWorkOrder.d.ts +237 -0
  679. package/dist/entities-v1/InstallServiceWorkOrder.js +116 -0
  680. package/dist/entities-v1/InstallWorkOrder.d.ts +325 -0
  681. package/dist/entities-v1/InstallWorkOrder.js +186 -0
  682. package/dist/entities-v1/InternalInstallAudit.d.ts +47 -0
  683. package/dist/entities-v1/InternalInstallAudit.js +10 -0
  684. package/dist/entities-v1/InternetProduct.d.ts +263 -0
  685. package/dist/entities-v1/InternetProduct.js +180 -0
  686. package/dist/entities-v1/Invoice.d.ts +201 -0
  687. package/dist/entities-v1/Invoice.js +108 -0
  688. package/dist/entities-v1/InvoiceItem.d.ts +112 -0
  689. package/dist/entities-v1/InvoiceItem.js +60 -0
  690. package/dist/entities-v1/LaborProduct.d.ts +263 -0
  691. package/dist/entities-v1/LaborProduct.js +180 -0
  692. package/dist/entities-v1/LandlineProduct.d.ts +263 -0
  693. package/dist/entities-v1/LandlineProduct.js +180 -0
  694. package/dist/entities-v1/Lead.d.ts +157 -0
  695. package/dist/entities-v1/Lead.js +67 -0
  696. package/dist/entities-v1/LeadCrmDataset.d.ts +74 -0
  697. package/dist/entities-v1/LeadCrmDataset.js +26 -0
  698. package/dist/entities-v1/LinearIssue.d.ts +41 -0
  699. package/dist/entities-v1/LinearIssue.js +10 -0
  700. package/dist/entities-v1/LosingOneTouchSwitch.d.ts +86 -0
  701. package/dist/entities-v1/LosingOneTouchSwitch.js +23 -0
  702. package/dist/entities-v1/MandateBillingRequest.d.ts +113 -0
  703. package/dist/entities-v1/MandateBillingRequest.js +50 -0
  704. package/dist/entities-v1/MeshProduct.d.ts +263 -0
  705. package/dist/entities-v1/MeshProduct.js +180 -0
  706. package/dist/entities-v1/Milestone.d.ts +72 -0
  707. package/dist/entities-v1/Milestone.js +24 -0
  708. package/dist/entities-v1/MobileProduct.d.ts +263 -0
  709. package/dist/entities-v1/MobileProduct.js +180 -0
  710. package/dist/entities-v1/NetomniaFtth1StageInstallAudit.d.ts +346 -0
  711. package/dist/entities-v1/NetomniaFtth1StageInstallAudit.js +281 -0
  712. package/dist/entities-v1/NetomniaFtthServiceVisitSheet.d.ts +161 -0
  713. package/dist/entities-v1/NetomniaFtthServiceVisitSheet.js +105 -0
  714. package/dist/entities-v1/NetomniaInstallVerification.d.ts +180 -0
  715. package/dist/entities-v1/NetomniaInstallVerification.js +120 -0
  716. package/dist/entities-v1/NetworkAdjustmentServiceAppointmentConfig.d.ts +153 -0
  717. package/dist/entities-v1/NetworkAdjustmentServiceAppointmentConfig.js +78 -0
  718. package/dist/entities-v1/NetworkAdjustmentWorkOrder.d.ts +253 -0
  719. package/dist/entities-v1/NetworkAdjustmentWorkOrder.js +132 -0
  720. package/dist/entities-v1/NetworkDevice.d.ts +52 -0
  721. package/dist/entities-v1/NetworkDevice.js +17 -0
  722. package/dist/entities-v1/Noinstall3AuditOfInstallationSheet.d.ts +318 -0
  723. package/dist/entities-v1/Noinstall3AuditOfInstallationSheet.js +275 -0
  724. package/dist/entities-v1/Note.d.ts +166 -0
  725. package/dist/entities-v1/Note.js +14 -0
  726. package/dist/entities-v1/NotificationActivity.d.ts +89 -0
  727. package/dist/entities-v1/NotificationActivity.js +34 -0
  728. package/dist/entities-v1/Offer.d.ts +88 -0
  729. package/dist/entities-v1/Offer.js +39 -0
  730. package/dist/entities-v1/OhAuditOfInstallation.d.ts +349 -0
  731. package/dist/entities-v1/OhAuditOfInstallation.js +309 -0
  732. package/dist/entities-v1/OhExternalAudit.d.ts +91 -0
  733. package/dist/entities-v1/OhExternalAudit.js +50 -0
  734. package/dist/entities-v1/OhInProgressAudit.d.ts +191 -0
  735. package/dist/entities-v1/OhInProgressAudit.js +137 -0
  736. package/dist/entities-v1/OhInstallationAudit.d.ts +264 -0
  737. package/dist/entities-v1/OhInstallationAudit.js +189 -0
  738. package/dist/entities-v1/OltNetworkDevice.d.ts +49 -0
  739. package/dist/entities-v1/OltNetworkDevice.js +13 -0
  740. package/dist/entities-v1/OneTouchSwitch.d.ts +91 -0
  741. package/dist/entities-v1/OneTouchSwitch.js +29 -0
  742. package/dist/entities-v1/Order.d.ts +316 -0
  743. package/dist/entities-v1/Order.js +162 -0
  744. package/dist/entities-v1/OrderCheck.d.ts +71 -0
  745. package/dist/entities-v1/OrderCheck.js +24 -0
  746. package/dist/entities-v1/OrderItem.d.ts +173 -0
  747. package/dist/entities-v1/OrderItem.js +84 -0
  748. package/dist/entities-v1/OrderRemediationTask.d.ts +57 -0
  749. package/dist/entities-v1/OrderRemediationTask.js +14 -0
  750. package/dist/entities-v1/Organization.d.ts +56 -0
  751. package/dist/entities-v1/Organization.js +14 -0
  752. package/dist/entities-v1/Outage.d.ts +41 -0
  753. package/dist/entities-v1/Outage.js +10 -0
  754. package/dist/entities-v1/OutageCase.d.ts +152 -0
  755. package/dist/entities-v1/OutageCase.js +75 -0
  756. package/dist/entities-v1/OutboundSmsMessage.d.ts +85 -0
  757. package/dist/entities-v1/OutboundSmsMessage.js +31 -0
  758. package/dist/entities-v1/OutcomeFormBlockageReportA55.d.ts +93 -0
  759. package/dist/entities-v1/OutcomeFormBlockageReportA55.js +46 -0
  760. package/dist/entities-v1/OutcomeFormInternalInstallAudit.d.ts +42 -0
  761. package/dist/entities-v1/OutcomeFormInternalInstallAudit.js +6 -0
  762. package/dist/entities-v1/OutcomeFormNetomniaFtth1StageInstallAudit.d.ts +341 -0
  763. package/dist/entities-v1/OutcomeFormNetomniaFtth1StageInstallAudit.js +277 -0
  764. package/dist/entities-v1/OutcomeFormNetomniaFtthServiceVisitSheet.d.ts +156 -0
  765. package/dist/entities-v1/OutcomeFormNetomniaFtthServiceVisitSheet.js +101 -0
  766. package/dist/entities-v1/OutcomeFormNetomniaInstallVerification.d.ts +175 -0
  767. package/dist/entities-v1/OutcomeFormNetomniaInstallVerification.js +116 -0
  768. package/dist/entities-v1/OutcomeFormNoinstall3AuditOfInstallationSheet.d.ts +313 -0
  769. package/dist/entities-v1/OutcomeFormNoinstall3AuditOfInstallationSheet.js +271 -0
  770. package/dist/entities-v1/OutcomeFormOhAuditOfInstallation.d.ts +344 -0
  771. package/dist/entities-v1/OutcomeFormOhAuditOfInstallation.js +304 -0
  772. package/dist/entities-v1/OutcomeFormOhExternalAudit.d.ts +86 -0
  773. package/dist/entities-v1/OutcomeFormOhExternalAudit.js +46 -0
  774. package/dist/entities-v1/OutcomeFormOhInProgressAudit.d.ts +186 -0
  775. package/dist/entities-v1/OutcomeFormOhInProgressAudit.js +133 -0
  776. package/dist/entities-v1/OutcomeFormOhInstallationAudit.d.ts +259 -0
  777. package/dist/entities-v1/OutcomeFormOhInstallationAudit.js +185 -0
  778. package/dist/entities-v1/OutcomeFormOverlayRealA55.d.ts +166 -0
  779. package/dist/entities-v1/OutcomeFormOverlayRealA55.js +108 -0
  780. package/dist/entities-v1/OutcomeFormRemediationRequiredReason.d.ts +79 -0
  781. package/dist/entities-v1/OutcomeFormRemediationRequiredReason.js +37 -0
  782. package/dist/entities-v1/OutcomeFormServiceVisitAudit.d.ts +130 -0
  783. package/dist/entities-v1/OutcomeFormServiceVisitAudit.js +71 -0
  784. package/dist/entities-v1/OutcomeFormSweeperMaintenanceAudit.d.ts +232 -0
  785. package/dist/entities-v1/OutcomeFormSweeperMaintenanceAudit.js +168 -0
  786. package/dist/entities-v1/OutcomeFormUgAuditOfInstallation.d.ts +330 -0
  787. package/dist/entities-v1/OutcomeFormUgAuditOfInstallation.js +291 -0
  788. package/dist/entities-v1/OutcomeFormUgExternalAudit.d.ts +88 -0
  789. package/dist/entities-v1/OutcomeFormUgExternalAudit.js +47 -0
  790. package/dist/entities-v1/OutcomeFormUgInProgressAudit.d.ts +180 -0
  791. package/dist/entities-v1/OutcomeFormUgInProgressAudit.js +127 -0
  792. package/dist/entities-v1/OutcomeFormUgInstallationAudit.d.ts +251 -0
  793. package/dist/entities-v1/OutcomeFormUgInstallationAudit.js +178 -0
  794. package/dist/entities-v1/OutcomeFormYfEquipmentCollection.d.ts +116 -0
  795. package/dist/entities-v1/OutcomeFormYfEquipmentCollection.js +62 -0
  796. package/dist/entities-v1/OutcomeFormYfFieldServiceVisit.d.ts +386 -0
  797. package/dist/entities-v1/OutcomeFormYfFieldServiceVisit.js +286 -0
  798. package/dist/entities-v1/OverlayRealA55.d.ts +171 -0
  799. package/dist/entities-v1/OverlayRealA55.js +112 -0
  800. package/dist/entities-v1/PICRequest.d.ts +75 -0
  801. package/dist/entities-v1/PICRequest.js +37 -0
  802. package/dist/entities-v1/PaymentBillingRequest.d.ts +113 -0
  803. package/dist/entities-v1/PaymentBillingRequest.js +50 -0
  804. package/dist/entities-v1/PaymentMethod.d.ts +105 -0
  805. package/dist/entities-v1/PaymentMethod.js +53 -0
  806. package/dist/entities-v1/PaymentMethodRefund.d.ts +79 -0
  807. package/dist/entities-v1/PaymentMethodRefund.js +24 -0
  808. package/dist/entities-v1/PermissionToFail.d.ts +53 -0
  809. package/dist/entities-v1/PermissionToFail.js +17 -0
  810. package/dist/entities-v1/PhoneNumber.d.ts +47 -0
  811. package/dist/entities-v1/PhoneNumber.js +11 -0
  812. package/dist/entities-v1/PlanningServiceAppointmentConfig.d.ts +153 -0
  813. package/dist/entities-v1/PlanningServiceAppointmentConfig.js +78 -0
  814. package/dist/entities-v1/PlanningWorkOrder.d.ts +255 -0
  815. package/dist/entities-v1/PlanningWorkOrder.js +136 -0
  816. package/dist/entities-v1/PrePullServiceAppointmentConfig.d.ts +153 -0
  817. package/dist/entities-v1/PrePullServiceAppointmentConfig.js +78 -0
  818. package/dist/entities-v1/PrePullWorkOrder.d.ts +261 -0
  819. package/dist/entities-v1/PrePullWorkOrder.js +136 -0
  820. package/dist/entities-v1/Premise.d.ts +63 -0
  821. package/dist/entities-v1/Premise.js +21 -0
  822. package/dist/entities-v1/Premise2.d.ts +41 -0
  823. package/dist/entities-v1/Premise2.js +10 -0
  824. package/dist/entities-v1/PriceBook.d.ts +64 -0
  825. package/dist/entities-v1/PriceBook.js +26 -0
  826. package/dist/entities-v1/PrimaryAccount.d.ts +92 -0
  827. package/dist/entities-v1/PrimaryAccount.js +41 -0
  828. package/dist/entities-v1/Product.d.ts +270 -0
  829. package/dist/entities-v1/Product.js +189 -0
  830. package/dist/entities-v1/ProductComponent.d.ts +97 -0
  831. package/dist/entities-v1/ProductComponent.js +52 -0
  832. package/dist/entities-v1/Program.d.ts +69 -0
  833. package/dist/entities-v1/Program.js +24 -0
  834. package/dist/entities-v1/Project.d.ts +71 -0
  835. package/dist/entities-v1/Project.js +24 -0
  836. package/dist/entities-v1/Queue.d.ts +49 -0
  837. package/dist/entities-v1/Queue.js +11 -0
  838. package/dist/entities-v1/QueueChange.d.ts +51 -0
  839. package/dist/entities-v1/QueueChange.js +13 -0
  840. package/dist/entities-v1/Region.d.ts +45 -0
  841. package/dist/entities-v1/Region.js +10 -0
  842. package/dist/entities-v1/RemediationRequiredReason.d.ts +82 -0
  843. package/dist/entities-v1/RemediationRequiredReason.js +41 -0
  844. package/dist/entities-v1/RemediationServiceAppointmentConfig.d.ts +153 -0
  845. package/dist/entities-v1/RemediationServiceAppointmentConfig.js +78 -0
  846. package/dist/entities-v1/RemediationWorkOrder.d.ts +260 -0
  847. package/dist/entities-v1/RemediationWorkOrder.js +136 -0
  848. package/dist/entities-v1/Restriction.d.ts +66 -0
  849. package/dist/entities-v1/Restriction.js +27 -0
  850. package/dist/entities-v1/ReturnOrder.d.ts +47 -0
  851. package/dist/entities-v1/ReturnOrder.js +11 -0
  852. package/dist/entities-v1/SaCancelChangeReason.d.ts +132 -0
  853. package/dist/entities-v1/SaCancelChangeReason.js +83 -0
  854. package/dist/entities-v1/SaRescheduleChangeReason.d.ts +134 -0
  855. package/dist/entities-v1/SaRescheduleChangeReason.js +82 -0
  856. package/dist/entities-v1/SalesLeaderBoard.d.ts +41 -0
  857. package/dist/entities-v1/SalesLeaderBoard.js +10 -0
  858. package/dist/entities-v1/SalesTerritory.d.ts +56 -0
  859. package/dist/entities-v1/SalesTerritory.js +15 -0
  860. package/dist/entities-v1/ScheduleSlot.d.ts +69 -0
  861. package/dist/entities-v1/ScheduleSlot.js +23 -0
  862. package/dist/entities-v1/Service.d.ts +78 -0
  863. package/dist/entities-v1/Service.js +41 -0
  864. package/dist/entities-v1/ServiceAppointment.d.ts +65 -0
  865. package/dist/entities-v1/ServiceAppointment.js +21 -0
  866. package/dist/entities-v1/ServiceAppointmentConfig.d.ts +164 -0
  867. package/dist/entities-v1/ServiceAppointmentConfig.js +90 -0
  868. package/dist/entities-v1/ServiceServiceAppointmentConfig.d.ts +153 -0
  869. package/dist/entities-v1/ServiceServiceAppointmentConfig.js +78 -0
  870. package/dist/entities-v1/ServiceVisitAudit.d.ts +135 -0
  871. package/dist/entities-v1/ServiceVisitAudit.js +75 -0
  872. package/dist/entities-v1/ServiceWorkOrder.d.ts +341 -0
  873. package/dist/entities-v1/ServiceWorkOrder.js +212 -0
  874. package/dist/entities-v1/SmsMessage.d.ts +90 -0
  875. package/dist/entities-v1/SmsMessage.js +37 -0
  876. package/dist/entities-v1/SplitOrder.d.ts +48 -0
  877. package/dist/entities-v1/SplitOrder.js +11 -0
  878. package/dist/entities-v1/Subtask.d.ts +63 -0
  879. package/dist/entities-v1/Subtask.js +21 -0
  880. package/dist/entities-v1/SupportTask.d.ts +43 -0
  881. package/dist/entities-v1/SupportTask.js +10 -0
  882. package/dist/entities-v1/SweeperMaintenanceAudit.d.ts +235 -0
  883. package/dist/entities-v1/SweeperMaintenanceAudit.js +172 -0
  884. package/dist/entities-v1/Task.d.ts +71 -0
  885. package/dist/entities-v1/Task.js +24 -0
  886. package/dist/entities-v1/TaskActivity.d.ts +84 -0
  887. package/dist/entities-v1/TaskActivity.js +29 -0
  888. package/dist/entities-v1/Team.d.ts +47 -0
  889. package/dist/entities-v1/Team.js +11 -0
  890. package/dist/entities-v1/TelesalesDashboard.d.ts +41 -0
  891. package/dist/entities-v1/TelesalesDashboard.js +10 -0
  892. package/dist/entities-v1/TelesalesSalesTerritory.d.ts +50 -0
  893. package/dist/entities-v1/TelesalesSalesTerritory.js +10 -0
  894. package/dist/entities-v1/TimeOff.d.ts +53 -0
  895. package/dist/entities-v1/TimeOff.js +18 -0
  896. package/dist/entities-v1/TimeSlot.d.ts +77 -0
  897. package/dist/entities-v1/TimeSlot.js +31 -0
  898. package/dist/entities-v1/Transaction.d.ts +135 -0
  899. package/dist/entities-v1/Transaction.js +74 -0
  900. package/dist/entities-v1/UgAuditOfInstallation.d.ts +335 -0
  901. package/dist/entities-v1/UgAuditOfInstallation.js +295 -0
  902. package/dist/entities-v1/UgExternalAudit.d.ts +93 -0
  903. package/dist/entities-v1/UgExternalAudit.js +51 -0
  904. package/dist/entities-v1/UgInProgressAudit.d.ts +185 -0
  905. package/dist/entities-v1/UgInProgressAudit.js +131 -0
  906. package/dist/entities-v1/UgInstallationAudit.d.ts +256 -0
  907. package/dist/entities-v1/UgInstallationAudit.js +182 -0
  908. package/dist/entities-v1/User.d.ts +95 -0
  909. package/dist/entities-v1/User.js +29 -0
  910. package/dist/entities-v1/Vendor.d.ts +53 -0
  911. package/dist/entities-v1/Vendor.js +17 -0
  912. package/dist/entities-v1/Visit.d.ts +152 -0
  913. package/dist/entities-v1/Visit.js +96 -0
  914. package/dist/entities-v1/VoiceConfiguration.d.ts +173 -0
  915. package/dist/entities-v1/VoiceConfiguration.js +118 -0
  916. package/dist/entities-v1/WayleaveServiceAppointmentConfig.d.ts +153 -0
  917. package/dist/entities-v1/WayleaveServiceAppointmentConfig.js +78 -0
  918. package/dist/entities-v1/WayleaveWorkOrder.d.ts +255 -0
  919. package/dist/entities-v1/WayleaveWorkOrder.js +136 -0
  920. package/dist/entities-v1/WorkOrder.d.ts +414 -0
  921. package/dist/entities-v1/WorkOrder.js +254 -0
  922. package/dist/entities-v1/WorkOrderRemediationView.d.ts +41 -0
  923. package/dist/entities-v1/WorkOrderRemediationView.js +10 -0
  924. package/dist/entities-v1/YfEquipmentCollection.d.ts +121 -0
  925. package/dist/entities-v1/YfEquipmentCollection.js +66 -0
  926. package/dist/entities-v1/YfFieldServiceVisit.d.ts +391 -0
  927. package/dist/entities-v1/YfFieldServiceVisit.js +290 -0
  928. package/dist/generators/runner.d.ts +1 -0
  929. package/dist/generators/runner.js +41 -0
  930. package/dist/types-v1/Types.d.ts +108 -0
  931. package/dist/types-v1/Types.js +112 -0
  932. package/package.json +20 -0
  933. package/src/api-sdk-v1/AccountApi.ts +365 -0
  934. package/src/api-sdk-v1/ActivityApi.ts +427 -0
  935. package/src/api-sdk-v1/AddressApi.ts +637 -0
  936. package/src/api-sdk-v1/AppointmentApi.ts +322 -0
  937. package/src/api-sdk-v1/AppointmentCalendarApi.ts +77 -0
  938. package/src/api-sdk-v1/BillingAdjustmentApi.ts +217 -0
  939. package/src/api-sdk-v1/BillingRequestApi.ts +322 -0
  940. package/src/api-sdk-v1/BlockageReportA55Api.ts +182 -0
  941. package/src/api-sdk-v1/CalendarApi.ts +77 -0
  942. package/src/api-sdk-v1/CallApi.ts +217 -0
  943. package/src/api-sdk-v1/CaseApi.ts +497 -0
  944. package/src/api-sdk-v1/CaseQueueListViewApi.ts +77 -0
  945. package/src/api-sdk-v1/ChangeReasonApi.ts +252 -0
  946. package/src/api-sdk-v1/ChurnRequestApi.ts +147 -0
  947. package/src/api-sdk-v1/CommissionApi.ts +217 -0
  948. package/src/api-sdk-v1/ConsumptionRateApi.ts +147 -0
  949. package/src/api-sdk-v1/ConsumptionScheduleApi.ts +182 -0
  950. package/src/api-sdk-v1/ContactApi.ts +952 -0
  951. package/src/api-sdk-v1/ContactIdentityApi.ts +217 -0
  952. package/src/api-sdk-v1/CreditNoteApi.ts +217 -0
  953. package/src/api-sdk-v1/CrmDatasetApi.ts +295 -0
  954. package/src/api-sdk-v1/CustomerDeviceAtaApi.ts +112 -0
  955. package/src/api-sdk-v1/CustomerDeviceOntApi.ts +392 -0
  956. package/src/api-sdk-v1/CustomerDeviceOntRemovalApi.ts +112 -0
  957. package/src/api-sdk-v1/CustomerDeviceRouterApi.ts +287 -0
  958. package/src/api-sdk-v1/CustomerPhonePortingApi.ts +112 -0
  959. package/src/api-sdk-v1/DashboardApi.ts +77 -0
  960. package/src/api-sdk-v1/DeactivationApprovalApi.ts +182 -0
  961. package/src/api-sdk-v1/DiscountApi.ts +287 -0
  962. package/src/api-sdk-v1/EngineerApi.ts +77 -0
  963. package/src/api-sdk-v1/ExchangeApi.ts +182 -0
  964. package/src/api-sdk-v1/FileApi.ts +1547 -0
  965. package/src/api-sdk-v1/FingerprintApi.ts +217 -0
  966. package/src/api-sdk-v1/InternalInstallAuditApi.ts +182 -0
  967. package/src/api-sdk-v1/InvoiceApi.ts +637 -0
  968. package/src/api-sdk-v1/InvoiceItemApi.ts +147 -0
  969. package/src/api-sdk-v1/LeadApi.ts +637 -0
  970. package/src/api-sdk-v1/LinearIssueApi.ts +77 -0
  971. package/src/api-sdk-v1/MilestoneApi.ts +217 -0
  972. package/src/api-sdk-v1/NetomniaFtth1StageInstallAuditApi.ts +182 -0
  973. package/src/api-sdk-v1/NetomniaFtthServiceVisitSheetApi.ts +182 -0
  974. package/src/api-sdk-v1/NetomniaInstallVerificationApi.ts +182 -0
  975. package/src/api-sdk-v1/NetworkDeviceApi.ts +112 -0
  976. package/src/api-sdk-v1/Noinstall3AuditOfInstallationSheetApi.ts +112 -0
  977. package/src/api-sdk-v1/NoteApi.ts +2142 -0
  978. package/src/api-sdk-v1/OfferApi.ts +252 -0
  979. package/src/api-sdk-v1/OhAuditOfInstallationApi.ts +182 -0
  980. package/src/api-sdk-v1/OhExternalAuditApi.ts +182 -0
  981. package/src/api-sdk-v1/OhInProgressAuditApi.ts +182 -0
  982. package/src/api-sdk-v1/OhInstallationAuditApi.ts +182 -0
  983. package/src/api-sdk-v1/OneTouchSwitchApi.ts +322 -0
  984. package/src/api-sdk-v1/OrderApi.ts +1166 -0
  985. package/src/api-sdk-v1/OrderCheckApi.ts +112 -0
  986. package/src/api-sdk-v1/OrderItemApi.ts +602 -0
  987. package/src/api-sdk-v1/OrderRemediationTaskApi.ts +217 -0
  988. package/src/api-sdk-v1/OrganizationApi.ts +217 -0
  989. package/src/api-sdk-v1/OutageApi.ts +77 -0
  990. package/src/api-sdk-v1/OverlayRealA55Api.ts +182 -0
  991. package/src/api-sdk-v1/PICRequestApi.ts +147 -0
  992. package/src/api-sdk-v1/PaymentMethodApi.ts +287 -0
  993. package/src/api-sdk-v1/PaymentMethodRefundApi.ts +357 -0
  994. package/src/api-sdk-v1/PermissionToFailApi.ts +147 -0
  995. package/src/api-sdk-v1/PhoneNumberApi.ts +147 -0
  996. package/src/api-sdk-v1/Premise2Api.ts +77 -0
  997. package/src/api-sdk-v1/PremiseApi.ts +77 -0
  998. package/src/api-sdk-v1/PriceBookApi.ts +151 -0
  999. package/src/api-sdk-v1/ProductApi.ts +431 -0
  1000. package/src/api-sdk-v1/ProductComponentApi.ts +182 -0
  1001. package/src/api-sdk-v1/ProgramApi.ts +147 -0
  1002. package/src/api-sdk-v1/ProjectApi.ts +182 -0
  1003. package/src/api-sdk-v1/QueueApi.ts +182 -0
  1004. package/src/api-sdk-v1/QueueChangeApi.ts +147 -0
  1005. package/src/api-sdk-v1/RegionApi.ts +147 -0
  1006. package/src/api-sdk-v1/RemediationRequiredReasonApi.ts +217 -0
  1007. package/src/api-sdk-v1/RestrictionApi.ts +182 -0
  1008. package/src/api-sdk-v1/ReturnOrderApi.ts +147 -0
  1009. package/src/api-sdk-v1/SalesLeaderBoardApi.ts +77 -0
  1010. package/src/api-sdk-v1/SalesTerritoryApi.ts +182 -0
  1011. package/src/api-sdk-v1/ScheduleSlotApi.ts +112 -0
  1012. package/src/api-sdk-v1/ServiceApi.ts +147 -0
  1013. package/src/api-sdk-v1/ServiceAppointmentApi.ts +217 -0
  1014. package/src/api-sdk-v1/ServiceAppointmentConfigApi.ts +322 -0
  1015. package/src/api-sdk-v1/ServiceVisitAuditApi.ts +182 -0
  1016. package/src/api-sdk-v1/SmsMessageApi.ts +287 -0
  1017. package/src/api-sdk-v1/SplitOrderApi.ts +182 -0
  1018. package/src/api-sdk-v1/SubtaskApi.ts +147 -0
  1019. package/src/api-sdk-v1/SupportTaskApi.ts +112 -0
  1020. package/src/api-sdk-v1/SweeperMaintenanceAuditApi.ts +182 -0
  1021. package/src/api-sdk-v1/TaskApi.ts +182 -0
  1022. package/src/api-sdk-v1/TeamApi.ts +147 -0
  1023. package/src/api-sdk-v1/TelesalesDashboardApi.ts +77 -0
  1024. package/src/api-sdk-v1/TimeOffApi.ts +112 -0
  1025. package/src/api-sdk-v1/TimeSlotApi.ts +112 -0
  1026. package/src/api-sdk-v1/TransactionApi.ts +322 -0
  1027. package/src/api-sdk-v1/UgAuditOfInstallationApi.ts +182 -0
  1028. package/src/api-sdk-v1/UgExternalAuditApi.ts +182 -0
  1029. package/src/api-sdk-v1/UgInProgressAuditApi.ts +182 -0
  1030. package/src/api-sdk-v1/UgInstallationAuditApi.ts +182 -0
  1031. package/src/api-sdk-v1/UserApi.ts +462 -0
  1032. package/src/api-sdk-v1/VendorApi.ts +147 -0
  1033. package/src/api-sdk-v1/VisitApi.ts +287 -0
  1034. package/src/api-sdk-v1/VoiceConfigurationApi.ts +112 -0
  1035. package/src/api-sdk-v1/WorkOrderApi.ts +1547 -0
  1036. package/src/api-sdk-v1/WorkOrderRemediationViewApi.ts +77 -0
  1037. package/src/api-sdk-v1/YfEquipmentCollectionApi.ts +182 -0
  1038. package/src/api-sdk-v1/YfFieldServiceVisitApi.ts +182 -0
  1039. package/src/db-sdk-v1/AccountDb.ts +355 -0
  1040. package/src/db-sdk-v1/ActivityDb.ts +417 -0
  1041. package/src/db-sdk-v1/AddressDb.ts +627 -0
  1042. package/src/db-sdk-v1/AppointmentCalendarDb.ts +67 -0
  1043. package/src/db-sdk-v1/AppointmentDb.ts +312 -0
  1044. package/src/db-sdk-v1/BillingAdjustmentDb.ts +207 -0
  1045. package/src/db-sdk-v1/BillingRequestDb.ts +312 -0
  1046. package/src/db-sdk-v1/BlockageReportA55Db.ts +172 -0
  1047. package/src/db-sdk-v1/CalendarDb.ts +67 -0
  1048. package/src/db-sdk-v1/CallDb.ts +207 -0
  1049. package/src/db-sdk-v1/CaseDb.ts +487 -0
  1050. package/src/db-sdk-v1/CaseQueueListViewDb.ts +67 -0
  1051. package/src/db-sdk-v1/ChangeReasonDb.ts +242 -0
  1052. package/src/db-sdk-v1/ChurnRequestDb.ts +137 -0
  1053. package/src/db-sdk-v1/CommissionDb.ts +207 -0
  1054. package/src/db-sdk-v1/ConsumptionRateDb.ts +137 -0
  1055. package/src/db-sdk-v1/ConsumptionScheduleDb.ts +172 -0
  1056. package/src/db-sdk-v1/ContactDb.ts +942 -0
  1057. package/src/db-sdk-v1/ContactIdentityDb.ts +207 -0
  1058. package/src/db-sdk-v1/CreditNoteDb.ts +207 -0
  1059. package/src/db-sdk-v1/CrmDatasetDb.ts +285 -0
  1060. package/src/db-sdk-v1/CustomerDeviceAtaDb.ts +102 -0
  1061. package/src/db-sdk-v1/CustomerDeviceOntDb.ts +382 -0
  1062. package/src/db-sdk-v1/CustomerDeviceOntRemovalDb.ts +102 -0
  1063. package/src/db-sdk-v1/CustomerDeviceRouterDb.ts +277 -0
  1064. package/src/db-sdk-v1/CustomerPhonePortingDb.ts +102 -0
  1065. package/src/db-sdk-v1/DashboardDb.ts +67 -0
  1066. package/src/db-sdk-v1/DeactivationApprovalDb.ts +172 -0
  1067. package/src/db-sdk-v1/DiscountDb.ts +277 -0
  1068. package/src/db-sdk-v1/EngineerDb.ts +67 -0
  1069. package/src/db-sdk-v1/ExchangeDb.ts +172 -0
  1070. package/src/db-sdk-v1/FileDb.ts +1537 -0
  1071. package/src/db-sdk-v1/FingerprintDb.ts +207 -0
  1072. package/src/db-sdk-v1/InternalInstallAuditDb.ts +172 -0
  1073. package/src/db-sdk-v1/InvoiceDb.ts +627 -0
  1074. package/src/db-sdk-v1/InvoiceItemDb.ts +137 -0
  1075. package/src/db-sdk-v1/LeadDb.ts +627 -0
  1076. package/src/db-sdk-v1/LinearIssueDb.ts +67 -0
  1077. package/src/db-sdk-v1/MilestoneDb.ts +207 -0
  1078. package/src/db-sdk-v1/NetomniaFtth1StageInstallAuditDb.ts +172 -0
  1079. package/src/db-sdk-v1/NetomniaFtthServiceVisitSheetDb.ts +172 -0
  1080. package/src/db-sdk-v1/NetomniaInstallVerificationDb.ts +172 -0
  1081. package/src/db-sdk-v1/NetworkDeviceDb.ts +102 -0
  1082. package/src/db-sdk-v1/Noinstall3AuditOfInstallationSheetDb.ts +102 -0
  1083. package/src/db-sdk-v1/NoteDb.ts +2132 -0
  1084. package/src/db-sdk-v1/OfferDb.ts +242 -0
  1085. package/src/db-sdk-v1/OhAuditOfInstallationDb.ts +172 -0
  1086. package/src/db-sdk-v1/OhExternalAuditDb.ts +172 -0
  1087. package/src/db-sdk-v1/OhInProgressAuditDb.ts +172 -0
  1088. package/src/db-sdk-v1/OhInstallationAuditDb.ts +172 -0
  1089. package/src/db-sdk-v1/OneTouchSwitchDb.ts +312 -0
  1090. package/src/db-sdk-v1/OrderCheckDb.ts +102 -0
  1091. package/src/db-sdk-v1/OrderDb.ts +1156 -0
  1092. package/src/db-sdk-v1/OrderItemDb.ts +592 -0
  1093. package/src/db-sdk-v1/OrderRemediationTaskDb.ts +207 -0
  1094. package/src/db-sdk-v1/OrganizationDb.ts +207 -0
  1095. package/src/db-sdk-v1/OutageDb.ts +67 -0
  1096. package/src/db-sdk-v1/OverlayRealA55Db.ts +172 -0
  1097. package/src/db-sdk-v1/PICRequestDb.ts +137 -0
  1098. package/src/db-sdk-v1/PaymentMethodDb.ts +277 -0
  1099. package/src/db-sdk-v1/PaymentMethodRefundDb.ts +347 -0
  1100. package/src/db-sdk-v1/PermissionToFailDb.ts +137 -0
  1101. package/src/db-sdk-v1/PhoneNumberDb.ts +137 -0
  1102. package/src/db-sdk-v1/Premise2Db.ts +67 -0
  1103. package/src/db-sdk-v1/PremiseDb.ts +67 -0
  1104. package/src/db-sdk-v1/PriceBookDb.ts +141 -0
  1105. package/src/db-sdk-v1/ProductComponentDb.ts +172 -0
  1106. package/src/db-sdk-v1/ProductDb.ts +421 -0
  1107. package/src/db-sdk-v1/ProgramDb.ts +137 -0
  1108. package/src/db-sdk-v1/ProjectDb.ts +172 -0
  1109. package/src/db-sdk-v1/QueueChangeDb.ts +137 -0
  1110. package/src/db-sdk-v1/QueueDb.ts +172 -0
  1111. package/src/db-sdk-v1/RegionDb.ts +137 -0
  1112. package/src/db-sdk-v1/RemediationRequiredReasonDb.ts +207 -0
  1113. package/src/db-sdk-v1/RestrictionDb.ts +172 -0
  1114. package/src/db-sdk-v1/ReturnOrderDb.ts +137 -0
  1115. package/src/db-sdk-v1/SalesLeaderBoardDb.ts +67 -0
  1116. package/src/db-sdk-v1/SalesTerritoryDb.ts +172 -0
  1117. package/src/db-sdk-v1/ScheduleSlotDb.ts +102 -0
  1118. package/src/db-sdk-v1/ServiceAppointmentConfigDb.ts +312 -0
  1119. package/src/db-sdk-v1/ServiceAppointmentDb.ts +207 -0
  1120. package/src/db-sdk-v1/ServiceDb.ts +137 -0
  1121. package/src/db-sdk-v1/ServiceVisitAuditDb.ts +172 -0
  1122. package/src/db-sdk-v1/SmsMessageDb.ts +277 -0
  1123. package/src/db-sdk-v1/SplitOrderDb.ts +172 -0
  1124. package/src/db-sdk-v1/SubtaskDb.ts +137 -0
  1125. package/src/db-sdk-v1/SupportTaskDb.ts +102 -0
  1126. package/src/db-sdk-v1/SweeperMaintenanceAuditDb.ts +172 -0
  1127. package/src/db-sdk-v1/TaskDb.ts +172 -0
  1128. package/src/db-sdk-v1/TeamDb.ts +137 -0
  1129. package/src/db-sdk-v1/TelesalesDashboardDb.ts +67 -0
  1130. package/src/db-sdk-v1/TimeOffDb.ts +102 -0
  1131. package/src/db-sdk-v1/TimeSlotDb.ts +102 -0
  1132. package/src/db-sdk-v1/TransactionDb.ts +312 -0
  1133. package/src/db-sdk-v1/UgAuditOfInstallationDb.ts +172 -0
  1134. package/src/db-sdk-v1/UgExternalAuditDb.ts +172 -0
  1135. package/src/db-sdk-v1/UgInProgressAuditDb.ts +172 -0
  1136. package/src/db-sdk-v1/UgInstallationAuditDb.ts +172 -0
  1137. package/src/db-sdk-v1/UserDb.ts +452 -0
  1138. package/src/db-sdk-v1/VendorDb.ts +137 -0
  1139. package/src/db-sdk-v1/VisitDb.ts +277 -0
  1140. package/src/db-sdk-v1/VoiceConfigurationDb.ts +102 -0
  1141. package/src/db-sdk-v1/WorkOrderDb.ts +1537 -0
  1142. package/src/db-sdk-v1/WorkOrderRemediationViewDb.ts +67 -0
  1143. package/src/db-sdk-v1/YfEquipmentCollectionDb.ts +172 -0
  1144. package/src/db-sdk-v1/YfFieldServiceVisitDb.ts +172 -0
  1145. package/src/entities-v1/Account.ts +98 -0
  1146. package/src/entities-v1/Activity.ts +96 -0
  1147. package/src/entities-v1/Address.ts +209 -0
  1148. package/src/entities-v1/AddressCrmDataset.ts +74 -0
  1149. package/src/entities-v1/Appointment.ts +87 -0
  1150. package/src/entities-v1/AppointmentCalendar.ts +43 -0
  1151. package/src/entities-v1/BillingAdjustment.ts +82 -0
  1152. package/src/entities-v1/BillingRequest.ts +118 -0
  1153. package/src/entities-v1/BlockageReportA55.ts +98 -0
  1154. package/src/entities-v1/BundleProduct.ts +266 -0
  1155. package/src/entities-v1/BusinessAccount.ts +94 -0
  1156. package/src/entities-v1/Calendar.ts +43 -0
  1157. package/src/entities-v1/Call.ts +77 -0
  1158. package/src/entities-v1/Case.ts +157 -0
  1159. package/src/entities-v1/CaseQueueListView.ts +43 -0
  1160. package/src/entities-v1/ChangeReason.ts +191 -0
  1161. package/src/entities-v1/ChurnRequest.ts +76 -0
  1162. package/src/entities-v1/CollectionWorkOrder.ts +260 -0
  1163. package/src/entities-v1/Commission.ts +78 -0
  1164. package/src/entities-v1/ConsumptionRate.ts +70 -0
  1165. package/src/entities-v1/ConsumptionSchedule.ts +71 -0
  1166. package/src/entities-v1/Contact.ts +206 -0
  1167. package/src/entities-v1/ContactCrmDataset.ts +70 -0
  1168. package/src/entities-v1/ContactIdentity.ts +56 -0
  1169. package/src/entities-v1/CreditNote.ts +82 -0
  1170. package/src/entities-v1/CrmDataset.ts +86 -0
  1171. package/src/entities-v1/CustomerDeviceAta.ts +52 -0
  1172. package/src/entities-v1/CustomerDeviceOnt.ts +135 -0
  1173. package/src/entities-v1/CustomerDeviceOntRemoval.ts +55 -0
  1174. package/src/entities-v1/CustomerDeviceRouter.ts +100 -0
  1175. package/src/entities-v1/CustomerPhonePorting.ts +59 -0
  1176. package/src/entities-v1/Dashboard.ts +43 -0
  1177. package/src/entities-v1/DeactivationApproval.ts +57 -0
  1178. package/src/entities-v1/DefaultAddress.ts +205 -0
  1179. package/src/entities-v1/DefaultAppointment.ts +85 -0
  1180. package/src/entities-v1/DefaultAppointmentCalendar.ts +41 -0
  1181. package/src/entities-v1/DefaultBillingAdjustment.ts +80 -0
  1182. package/src/entities-v1/DefaultCalendar.ts +41 -0
  1183. package/src/entities-v1/DefaultCall.ts +75 -0
  1184. package/src/entities-v1/DefaultCase.ts +152 -0
  1185. package/src/entities-v1/DefaultCaseQueueListView.ts +41 -0
  1186. package/src/entities-v1/DefaultChurnRequest.ts +84 -0
  1187. package/src/entities-v1/DefaultCommission.ts +76 -0
  1188. package/src/entities-v1/DefaultConsumptionRate.ts +69 -0
  1189. package/src/entities-v1/DefaultConsumptionSchedule.ts +70 -0
  1190. package/src/entities-v1/DefaultContact.ts +205 -0
  1191. package/src/entities-v1/DefaultContactIdentity.ts +55 -0
  1192. package/src/entities-v1/DefaultCreditNote.ts +80 -0
  1193. package/src/entities-v1/DefaultCrmDataset.ts +70 -0
  1194. package/src/entities-v1/DefaultCustomerDeviceAta.ts +50 -0
  1195. package/src/entities-v1/DefaultCustomerDeviceOnt.ts +133 -0
  1196. package/src/entities-v1/DefaultCustomerDeviceOntRemoval.ts +53 -0
  1197. package/src/entities-v1/DefaultCustomerDeviceRouter.ts +98 -0
  1198. package/src/entities-v1/DefaultCustomerPhonePorting.ts +57 -0
  1199. package/src/entities-v1/DefaultDashboard.ts +41 -0
  1200. package/src/entities-v1/DefaultDeactivationApproval.ts +55 -0
  1201. package/src/entities-v1/DefaultDiscount.ts +87 -0
  1202. package/src/entities-v1/DefaultEngineer.ts +43 -0
  1203. package/src/entities-v1/DefaultExchange.ts +53 -0
  1204. package/src/entities-v1/DefaultFile.ts +156 -0
  1205. package/src/entities-v1/DefaultFingerprint.ts +71 -0
  1206. package/src/entities-v1/DefaultInvoice.ts +201 -0
  1207. package/src/entities-v1/DefaultInvoiceItem.ts +113 -0
  1208. package/src/entities-v1/DefaultLead.ts +155 -0
  1209. package/src/entities-v1/DefaultLinearIssue.ts +41 -0
  1210. package/src/entities-v1/DefaultMilestone.ts +73 -0
  1211. package/src/entities-v1/DefaultNote.ts +167 -0
  1212. package/src/entities-v1/DefaultOffer.ts +89 -0
  1213. package/src/entities-v1/DefaultOneTouchSwitch.ts +89 -0
  1214. package/src/entities-v1/DefaultOrder.ts +317 -0
  1215. package/src/entities-v1/DefaultOrderCheck.ts +71 -0
  1216. package/src/entities-v1/DefaultOrderItem.ts +174 -0
  1217. package/src/entities-v1/DefaultOrderRemediationTask.ts +57 -0
  1218. package/src/entities-v1/DefaultOrganization.ts +57 -0
  1219. package/src/entities-v1/DefaultOutage.ts +41 -0
  1220. package/src/entities-v1/DefaultPICRequest.ts +85 -0
  1221. package/src/entities-v1/DefaultPaymentMethod.ts +105 -0
  1222. package/src/entities-v1/DefaultPaymentMethodRefund.ts +79 -0
  1223. package/src/entities-v1/DefaultPermissionToFail.ts +53 -0
  1224. package/src/entities-v1/DefaultPhoneNumber.ts +47 -0
  1225. package/src/entities-v1/DefaultPremise.ts +63 -0
  1226. package/src/entities-v1/DefaultPremise2.ts +41 -0
  1227. package/src/entities-v1/DefaultPriceBook.ts +64 -0
  1228. package/src/entities-v1/DefaultProductComponent.ts +98 -0
  1229. package/src/entities-v1/DefaultProgram.ts +69 -0
  1230. package/src/entities-v1/DefaultProject.ts +71 -0
  1231. package/src/entities-v1/DefaultQueue.ts +49 -0
  1232. package/src/entities-v1/DefaultQueueChange.ts +51 -0
  1233. package/src/entities-v1/DefaultRegion.ts +45 -0
  1234. package/src/entities-v1/DefaultRestriction.ts +67 -0
  1235. package/src/entities-v1/DefaultReturnOrder.ts +47 -0
  1236. package/src/entities-v1/DefaultSalesLeaderBoard.ts +41 -0
  1237. package/src/entities-v1/DefaultScheduleSlot.ts +69 -0
  1238. package/src/entities-v1/DefaultService.ts +79 -0
  1239. package/src/entities-v1/DefaultServiceAppointment.ts +65 -0
  1240. package/src/entities-v1/DefaultSmsMessage.ts +88 -0
  1241. package/src/entities-v1/DefaultSplitOrder.ts +49 -0
  1242. package/src/entities-v1/DefaultSubtask.ts +63 -0
  1243. package/src/entities-v1/DefaultSupportTask.ts +43 -0
  1244. package/src/entities-v1/DefaultTask.ts +71 -0
  1245. package/src/entities-v1/DefaultTeam.ts +47 -0
  1246. package/src/entities-v1/DefaultTelesalesDashboard.ts +41 -0
  1247. package/src/entities-v1/DefaultTimeOff.ts +53 -0
  1248. package/src/entities-v1/DefaultTimeSlot.ts +77 -0
  1249. package/src/entities-v1/DefaultTransaction.ts +136 -0
  1250. package/src/entities-v1/DefaultUser.ts +95 -0
  1251. package/src/entities-v1/DefaultVendor.ts +53 -0
  1252. package/src/entities-v1/DefaultVisit.ts +151 -0
  1253. package/src/entities-v1/DefaultVoiceConfiguration.ts +173 -0
  1254. package/src/entities-v1/DefaultWorkOrderRemediationView.ts +41 -0
  1255. package/src/entities-v1/Discount.ts +89 -0
  1256. package/src/entities-v1/EmailFile.ts +156 -0
  1257. package/src/entities-v1/Engineer.ts +45 -0
  1258. package/src/entities-v1/EventActivity.ts +87 -0
  1259. package/src/entities-v1/Exchange.ts +55 -0
  1260. package/src/entities-v1/FieldSalesSalesTerritory.ts +55 -0
  1261. package/src/entities-v1/File.ts +159 -0
  1262. package/src/entities-v1/FinanceServiceAppointmentConfig.ts +156 -0
  1263. package/src/entities-v1/FinanceWorkOrder.ts +256 -0
  1264. package/src/entities-v1/Fingerprint.ts +73 -0
  1265. package/src/entities-v1/GainingOneTouchSwitch.ts +89 -0
  1266. package/src/entities-v1/InboundSmsMessage.ts +88 -0
  1267. package/src/entities-v1/InspectionWorkOrder.ts +274 -0
  1268. package/src/entities-v1/InstallBusinessWorkOrder.ts +276 -0
  1269. package/src/entities-v1/InstallServiceAppointmentConfig.ts +156 -0
  1270. package/src/entities-v1/InstallServiceServiceAppointmentConfig.ts +156 -0
  1271. package/src/entities-v1/InstallServiceWorkOrder.ts +240 -0
  1272. package/src/entities-v1/InstallWorkOrder.ts +328 -0
  1273. package/src/entities-v1/InternalInstallAudit.ts +49 -0
  1274. package/src/entities-v1/InternetProduct.ts +266 -0
  1275. package/src/entities-v1/Invoice.ts +203 -0
  1276. package/src/entities-v1/InvoiceItem.ts +114 -0
  1277. package/src/entities-v1/LaborProduct.ts +266 -0
  1278. package/src/entities-v1/LandlineProduct.ts +266 -0
  1279. package/src/entities-v1/Lead.ts +159 -0
  1280. package/src/entities-v1/LeadCrmDataset.ts +77 -0
  1281. package/src/entities-v1/LinearIssue.ts +43 -0
  1282. package/src/entities-v1/LosingOneTouchSwitch.ts +89 -0
  1283. package/src/entities-v1/MandateBillingRequest.ts +116 -0
  1284. package/src/entities-v1/MeshProduct.ts +266 -0
  1285. package/src/entities-v1/Milestone.ts +74 -0
  1286. package/src/entities-v1/MobileProduct.ts +266 -0
  1287. package/src/entities-v1/NetomniaFtth1StageInstallAudit.ts +348 -0
  1288. package/src/entities-v1/NetomniaFtthServiceVisitSheet.ts +163 -0
  1289. package/src/entities-v1/NetomniaInstallVerification.ts +182 -0
  1290. package/src/entities-v1/NetworkAdjustmentServiceAppointmentConfig.ts +156 -0
  1291. package/src/entities-v1/NetworkAdjustmentWorkOrder.ts +256 -0
  1292. package/src/entities-v1/NetworkDevice.ts +54 -0
  1293. package/src/entities-v1/Noinstall3AuditOfInstallationSheet.ts +320 -0
  1294. package/src/entities-v1/Note.ts +168 -0
  1295. package/src/entities-v1/NotificationActivity.ts +92 -0
  1296. package/src/entities-v1/Offer.ts +90 -0
  1297. package/src/entities-v1/OhAuditOfInstallation.ts +351 -0
  1298. package/src/entities-v1/OhExternalAudit.ts +93 -0
  1299. package/src/entities-v1/OhInProgressAudit.ts +193 -0
  1300. package/src/entities-v1/OhInstallationAudit.ts +266 -0
  1301. package/src/entities-v1/OltNetworkDevice.ts +52 -0
  1302. package/src/entities-v1/OneTouchSwitch.ts +93 -0
  1303. package/src/entities-v1/Order.ts +318 -0
  1304. package/src/entities-v1/OrderCheck.ts +73 -0
  1305. package/src/entities-v1/OrderItem.ts +175 -0
  1306. package/src/entities-v1/OrderRemediationTask.ts +59 -0
  1307. package/src/entities-v1/Organization.ts +58 -0
  1308. package/src/entities-v1/Outage.ts +43 -0
  1309. package/src/entities-v1/OutageCase.ts +155 -0
  1310. package/src/entities-v1/OutboundSmsMessage.ts +88 -0
  1311. package/src/entities-v1/OutcomeFormBlockageReportA55.ts +96 -0
  1312. package/src/entities-v1/OutcomeFormInternalInstallAudit.ts +45 -0
  1313. package/src/entities-v1/OutcomeFormNetomniaFtth1StageInstallAudit.ts +344 -0
  1314. package/src/entities-v1/OutcomeFormNetomniaFtthServiceVisitSheet.ts +159 -0
  1315. package/src/entities-v1/OutcomeFormNetomniaInstallVerification.ts +178 -0
  1316. package/src/entities-v1/OutcomeFormNoinstall3AuditOfInstallationSheet.ts +316 -0
  1317. package/src/entities-v1/OutcomeFormOhAuditOfInstallation.ts +347 -0
  1318. package/src/entities-v1/OutcomeFormOhExternalAudit.ts +89 -0
  1319. package/src/entities-v1/OutcomeFormOhInProgressAudit.ts +189 -0
  1320. package/src/entities-v1/OutcomeFormOhInstallationAudit.ts +262 -0
  1321. package/src/entities-v1/OutcomeFormOverlayRealA55.ts +169 -0
  1322. package/src/entities-v1/OutcomeFormRemediationRequiredReason.ts +82 -0
  1323. package/src/entities-v1/OutcomeFormServiceVisitAudit.ts +133 -0
  1324. package/src/entities-v1/OutcomeFormSweeperMaintenanceAudit.ts +235 -0
  1325. package/src/entities-v1/OutcomeFormUgAuditOfInstallation.ts +333 -0
  1326. package/src/entities-v1/OutcomeFormUgExternalAudit.ts +91 -0
  1327. package/src/entities-v1/OutcomeFormUgInProgressAudit.ts +183 -0
  1328. package/src/entities-v1/OutcomeFormUgInstallationAudit.ts +254 -0
  1329. package/src/entities-v1/OutcomeFormYfEquipmentCollection.ts +119 -0
  1330. package/src/entities-v1/OutcomeFormYfFieldServiceVisit.ts +389 -0
  1331. package/src/entities-v1/OverlayRealA55.ts +173 -0
  1332. package/src/entities-v1/PICRequest.ts +77 -0
  1333. package/src/entities-v1/PaymentBillingRequest.ts +116 -0
  1334. package/src/entities-v1/PaymentMethod.ts +107 -0
  1335. package/src/entities-v1/PaymentMethodRefund.ts +81 -0
  1336. package/src/entities-v1/PermissionToFail.ts +55 -0
  1337. package/src/entities-v1/PhoneNumber.ts +49 -0
  1338. package/src/entities-v1/PlanningServiceAppointmentConfig.ts +156 -0
  1339. package/src/entities-v1/PlanningWorkOrder.ts +258 -0
  1340. package/src/entities-v1/PrePullServiceAppointmentConfig.ts +156 -0
  1341. package/src/entities-v1/PrePullWorkOrder.ts +264 -0
  1342. package/src/entities-v1/Premise.ts +65 -0
  1343. package/src/entities-v1/Premise2.ts +43 -0
  1344. package/src/entities-v1/PriceBook.ts +66 -0
  1345. package/src/entities-v1/PrimaryAccount.ts +95 -0
  1346. package/src/entities-v1/Product.ts +272 -0
  1347. package/src/entities-v1/ProductComponent.ts +99 -0
  1348. package/src/entities-v1/Program.ts +71 -0
  1349. package/src/entities-v1/Project.ts +73 -0
  1350. package/src/entities-v1/Queue.ts +51 -0
  1351. package/src/entities-v1/QueueChange.ts +53 -0
  1352. package/src/entities-v1/Region.ts +47 -0
  1353. package/src/entities-v1/RemediationRequiredReason.ts +84 -0
  1354. package/src/entities-v1/RemediationServiceAppointmentConfig.ts +156 -0
  1355. package/src/entities-v1/RemediationWorkOrder.ts +263 -0
  1356. package/src/entities-v1/Restriction.ts +68 -0
  1357. package/src/entities-v1/ReturnOrder.ts +49 -0
  1358. package/src/entities-v1/SaCancelChangeReason.ts +135 -0
  1359. package/src/entities-v1/SaRescheduleChangeReason.ts +137 -0
  1360. package/src/entities-v1/SalesLeaderBoard.ts +43 -0
  1361. package/src/entities-v1/SalesTerritory.ts +58 -0
  1362. package/src/entities-v1/ScheduleSlot.ts +71 -0
  1363. package/src/entities-v1/Service.ts +80 -0
  1364. package/src/entities-v1/ServiceAppointment.ts +67 -0
  1365. package/src/entities-v1/ServiceAppointmentConfig.ts +166 -0
  1366. package/src/entities-v1/ServiceServiceAppointmentConfig.ts +156 -0
  1367. package/src/entities-v1/ServiceVisitAudit.ts +137 -0
  1368. package/src/entities-v1/ServiceWorkOrder.ts +344 -0
  1369. package/src/entities-v1/SmsMessage.ts +92 -0
  1370. package/src/entities-v1/SplitOrder.ts +50 -0
  1371. package/src/entities-v1/Subtask.ts +65 -0
  1372. package/src/entities-v1/SupportTask.ts +45 -0
  1373. package/src/entities-v1/SweeperMaintenanceAudit.ts +237 -0
  1374. package/src/entities-v1/Task.ts +73 -0
  1375. package/src/entities-v1/TaskActivity.ts +87 -0
  1376. package/src/entities-v1/Team.ts +49 -0
  1377. package/src/entities-v1/TelesalesDashboard.ts +43 -0
  1378. package/src/entities-v1/TelesalesSalesTerritory.ts +53 -0
  1379. package/src/entities-v1/TimeOff.ts +55 -0
  1380. package/src/entities-v1/TimeSlot.ts +79 -0
  1381. package/src/entities-v1/Transaction.ts +137 -0
  1382. package/src/entities-v1/UgAuditOfInstallation.ts +337 -0
  1383. package/src/entities-v1/UgExternalAudit.ts +95 -0
  1384. package/src/entities-v1/UgInProgressAudit.ts +187 -0
  1385. package/src/entities-v1/UgInstallationAudit.ts +258 -0
  1386. package/src/entities-v1/User.ts +97 -0
  1387. package/src/entities-v1/Vendor.ts +55 -0
  1388. package/src/entities-v1/Visit.ts +153 -0
  1389. package/src/entities-v1/VoiceConfiguration.ts +175 -0
  1390. package/src/entities-v1/WayleaveServiceAppointmentConfig.ts +156 -0
  1391. package/src/entities-v1/WayleaveWorkOrder.ts +258 -0
  1392. package/src/entities-v1/WorkOrder.ts +416 -0
  1393. package/src/entities-v1/WorkOrderRemediationView.ts +43 -0
  1394. package/src/entities-v1/YfEquipmentCollection.ts +123 -0
  1395. package/src/entities-v1/YfFieldServiceVisit.ts +393 -0
  1396. package/src/generators/runner.ts +34 -0
  1397. package/src/types-v1/Types.ts +111 -0
  1398. package/tsconfig.json +109 -0
@@ -0,0 +1,2132 @@
1
+
2
+ import { DbProvider } from '@d19n/odin-sdk-generator/dist/db.provider';
3
+ import { OdinSearchV2 } from '@d19n/odin-types/dist/interfaces/v2.db.interfaces';
4
+ import { BatchDeleteParam, BatchRestoreParam, OdinRecordCreateDto, OdinRecordUpdateDto, OdinLinkedRecordUpdateDto, RelationTypeEnum } from '@d19n/odin-types/dist/dtos/odin.dtos';
5
+
6
+ export class NoteDb extends DbProvider {
7
+
8
+ private readonly moduleName: string = 'SupportModule';
9
+ private readonly entityName: string = 'Note';
10
+
11
+ constructor(protected readonly principal: any, protected readonly dbService: any) {
12
+ super(principal, dbService);
13
+ }
14
+
15
+
16
+ // Use this function when you want to search and handle all pagination on your own
17
+ public async searchRecords(params: Partial<OdinSearchV2>) {
18
+ return await this._searchRecords(this.moduleName, this.entityName, params);
19
+ }
20
+
21
+ // Use this function when you want paginating through the results to be handled
22
+ public async searchAllRecordsAndPaginate(params: Partial<OdinSearchV2>) {
23
+ return await this._searchAllRecordsAndPaginate(this.moduleName, this.entityName, params);
24
+ }
25
+
26
+ // Use this function when you want to return a single record
27
+ public async getByPrimaryKey(noteId: string) {
28
+ return await this._getByPrimaryKey(this.moduleName, this.entityName, noteId);
29
+ }
30
+
31
+ // Use this function when you want to return the versions for a single record
32
+ public async getVersions(noteId: string) {
33
+ return await this._getVersions(this.moduleName, this.entityName, noteId);
34
+ }
35
+
36
+ // Use this function when you want to return the change history for a single record
37
+ public async getRevisionTimeline(noteId: string) {
38
+ return await this._getRevisionTimeline(this.moduleName, this.entityName, noteId);
39
+ }
40
+
41
+ // Use this function when you want to return many records by primaryKeys
42
+ public async getManyByPrimaryKey(noteIds: string[]) {
43
+ return await this._getManyByPrimaryKey(this.moduleName, this.entityName, noteIds);
44
+ }
45
+
46
+ // Use this function when you want to upsert one or many records
47
+ public async upsert(upsertDtos: OdinRecordCreateDto[]) {
48
+ return await this._upsert(this.moduleName, this.entityName, upsertDtos);
49
+ }
50
+
51
+ // Use this function when you want to update one or many records
52
+ public async update(updateDtos: OdinRecordUpdateDto[]) {
53
+ return await this._update(this.moduleName, this.entityName, updateDtos);
54
+ }
55
+
56
+ // Use this function when you want to delete one or many records
57
+ public async delete(noteIds: string[]) {
58
+ return await this._delete(this.moduleName, this.entityName, noteIds);
59
+ }
60
+
61
+ // Use this function when you want to restore one or many records
62
+ public async restore(noteIds: string[]) {
63
+ return await this._restore(this.moduleName, this.entityName, noteIds);
64
+ }
65
+
66
+
67
+ // Use this function when you want to return a single record
68
+ public async getUgExternalAudits(noteId: string) {
69
+ return await this._getLinks(this.moduleName, this.entityName, noteId, 'UgExternalAudit');
70
+ }
71
+
72
+ public async addUgExternalAuditNotes(noteId: string, ugExternalAuditIds: {id: string, relationType?: RelationTypeEnum, relatedAssociationId?: string}[]) {
73
+
74
+ const associationDtos = [];
75
+ for(const param of ugExternalAuditIds){
76
+ associationDtos.push({
77
+ entity: 'FieldServiceModule:UgExternalAudit',
78
+ recordId: param.id,
79
+ linkType: 'UgExternalAudit_Note',
80
+ relationType: param?.relationType,
81
+ relatedAssociationId: param?.relatedAssociationId
82
+ });
83
+ }
84
+
85
+ return await this._createLinks(this.moduleName, this.entityName, noteId, associationDtos);
86
+ }
87
+
88
+ public async removeUgExternalAuditNotes(noteId: string, ugExternalAuditIds: string[]) {
89
+
90
+ const associationDtos = [];
91
+ for(const pk of ugExternalAuditIds){
92
+ associationDtos.push({
93
+ entity: 'FieldServiceModule:UgExternalAudit',
94
+ recordId: pk,
95
+ });
96
+ }
97
+
98
+ return await this._deleteLinks(this.moduleName, this.entityName, noteId, associationDtos);
99
+ }
100
+
101
+
102
+ // Use this function when you want to return a single record
103
+ public async getWorkOrders(noteId: string) {
104
+ return await this._getLinks(this.moduleName, this.entityName, noteId, 'WorkOrder');
105
+ }
106
+
107
+ public async addWorkOrderNotes(noteId: string, workOrderIds: {id: string, relationType?: RelationTypeEnum, relatedAssociationId?: string}[]) {
108
+
109
+ const associationDtos = [];
110
+ for(const param of workOrderIds){
111
+ associationDtos.push({
112
+ entity: 'FieldServiceModule:WorkOrder',
113
+ recordId: param.id,
114
+ linkType: 'WorkOrder__Note',
115
+ relationType: param?.relationType,
116
+ relatedAssociationId: param?.relatedAssociationId
117
+ });
118
+ }
119
+
120
+ return await this._createLinks(this.moduleName, this.entityName, noteId, associationDtos);
121
+ }
122
+
123
+ public async removeWorkOrderNotes(noteId: string, workOrderIds: string[]) {
124
+
125
+ const associationDtos = [];
126
+ for(const pk of workOrderIds){
127
+ associationDtos.push({
128
+ entity: 'FieldServiceModule:WorkOrder',
129
+ recordId: pk,
130
+ });
131
+ }
132
+
133
+ return await this._deleteLinks(this.moduleName, this.entityName, noteId, associationDtos);
134
+ }
135
+
136
+
137
+ // Use this function when you want to return a single record
138
+ public async getAppointments(noteId: string) {
139
+ return await this._getLinks(this.moduleName, this.entityName, noteId, 'Appointment');
140
+ }
141
+
142
+ public async addAppointmentNotes(noteId: string, appointmentIds: {id: string, relationType?: RelationTypeEnum, relatedAssociationId?: string}[]) {
143
+
144
+ const associationDtos = [];
145
+ for(const param of appointmentIds){
146
+ associationDtos.push({
147
+ entity: 'CrmModule:Appointment',
148
+ recordId: param.id,
149
+ linkType: 'Appointment__Note',
150
+ relationType: param?.relationType,
151
+ relatedAssociationId: param?.relatedAssociationId
152
+ });
153
+ }
154
+
155
+ return await this._createLinks(this.moduleName, this.entityName, noteId, associationDtos);
156
+ }
157
+
158
+ public async removeAppointmentNotes(noteId: string, appointmentIds: string[]) {
159
+
160
+ const associationDtos = [];
161
+ for(const pk of appointmentIds){
162
+ associationDtos.push({
163
+ entity: 'CrmModule:Appointment',
164
+ recordId: pk,
165
+ });
166
+ }
167
+
168
+ return await this._deleteLinks(this.moduleName, this.entityName, noteId, associationDtos);
169
+ }
170
+
171
+
172
+ // Use this function when you want to return a single record
173
+ public async getContacts(noteId: string) {
174
+ return await this._getLinks(this.moduleName, this.entityName, noteId, 'Contact');
175
+ }
176
+
177
+ public async addContactNotes(noteId: string, contactIds: {id: string, relationType?: RelationTypeEnum, relatedAssociationId?: string}[]) {
178
+
179
+ const associationDtos = [];
180
+ for(const param of contactIds){
181
+ associationDtos.push({
182
+ entity: 'CrmModule:Contact',
183
+ recordId: param.id,
184
+ linkType: 'Contact__Note',
185
+ relationType: param?.relationType,
186
+ relatedAssociationId: param?.relatedAssociationId
187
+ });
188
+ }
189
+
190
+ return await this._createLinks(this.moduleName, this.entityName, noteId, associationDtos);
191
+ }
192
+
193
+ public async removeContactNotes(noteId: string, contactIds: string[]) {
194
+
195
+ const associationDtos = [];
196
+ for(const pk of contactIds){
197
+ associationDtos.push({
198
+ entity: 'CrmModule:Contact',
199
+ recordId: pk,
200
+ });
201
+ }
202
+
203
+ return await this._deleteLinks(this.moduleName, this.entityName, noteId, associationDtos);
204
+ }
205
+
206
+
207
+ // Use this function when you want to return a single record
208
+ public async getLeads(noteId: string) {
209
+ return await this._getLinks(this.moduleName, this.entityName, noteId, 'Lead');
210
+ }
211
+
212
+ public async addLeadNotes(noteId: string, leadIds: {id: string, relationType?: RelationTypeEnum, relatedAssociationId?: string}[]) {
213
+
214
+ const associationDtos = [];
215
+ for(const param of leadIds){
216
+ associationDtos.push({
217
+ entity: 'CrmModule:Lead',
218
+ recordId: param.id,
219
+ linkType: 'Lead__Note',
220
+ relationType: param?.relationType,
221
+ relatedAssociationId: param?.relatedAssociationId
222
+ });
223
+ }
224
+
225
+ return await this._createLinks(this.moduleName, this.entityName, noteId, associationDtos);
226
+ }
227
+
228
+ public async removeLeadNotes(noteId: string, leadIds: string[]) {
229
+
230
+ const associationDtos = [];
231
+ for(const pk of leadIds){
232
+ associationDtos.push({
233
+ entity: 'CrmModule:Lead',
234
+ recordId: pk,
235
+ });
236
+ }
237
+
238
+ return await this._deleteLinks(this.moduleName, this.entityName, noteId, associationDtos);
239
+ }
240
+
241
+
242
+ // Use this function when you want to return a single record
243
+ public async getOrders(noteId: string) {
244
+ return await this._getLinks(this.moduleName, this.entityName, noteId, 'Order');
245
+ }
246
+
247
+ public async addOrderNotes(noteId: string, orderIds: {id: string, relationType?: RelationTypeEnum, relatedAssociationId?: string}[]) {
248
+
249
+ const associationDtos = [];
250
+ for(const param of orderIds){
251
+ associationDtos.push({
252
+ entity: 'OrderModule:Order',
253
+ recordId: param.id,
254
+ linkType: 'Order__Note',
255
+ relationType: param?.relationType,
256
+ relatedAssociationId: param?.relatedAssociationId
257
+ });
258
+ }
259
+
260
+ return await this._createLinks(this.moduleName, this.entityName, noteId, associationDtos);
261
+ }
262
+
263
+ public async removeOrderNotes(noteId: string, orderIds: string[]) {
264
+
265
+ const associationDtos = [];
266
+ for(const pk of orderIds){
267
+ associationDtos.push({
268
+ entity: 'OrderModule:Order',
269
+ recordId: pk,
270
+ });
271
+ }
272
+
273
+ return await this._deleteLinks(this.moduleName, this.entityName, noteId, associationDtos);
274
+ }
275
+
276
+
277
+ // Use this function when you want to return a single record
278
+ public async getAccounts(noteId: string) {
279
+ return await this._getLinks(this.moduleName, this.entityName, noteId, 'Account');
280
+ }
281
+
282
+ public async addAccountNotes(noteId: string, accountIds: {id: string, relationType?: RelationTypeEnum, relatedAssociationId?: string}[]) {
283
+
284
+ const associationDtos = [];
285
+ for(const param of accountIds){
286
+ associationDtos.push({
287
+ entity: 'CrmModule:Account',
288
+ recordId: param.id,
289
+ linkType: 'Account__Note',
290
+ relationType: param?.relationType,
291
+ relatedAssociationId: param?.relatedAssociationId
292
+ });
293
+ }
294
+
295
+ return await this._createLinks(this.moduleName, this.entityName, noteId, associationDtos);
296
+ }
297
+
298
+ public async removeAccountNotes(noteId: string, accountIds: string[]) {
299
+
300
+ const associationDtos = [];
301
+ for(const pk of accountIds){
302
+ associationDtos.push({
303
+ entity: 'CrmModule:Account',
304
+ recordId: pk,
305
+ });
306
+ }
307
+
308
+ return await this._deleteLinks(this.moduleName, this.entityName, noteId, associationDtos);
309
+ }
310
+
311
+
312
+ // Use this function when you want to return a single record
313
+ public async getPrograms(noteId: string) {
314
+ return await this._getLinks(this.moduleName, this.entityName, noteId, 'Program');
315
+ }
316
+
317
+ public async addProgramNotes(noteId: string, programIds: {id: string, relationType?: RelationTypeEnum, relatedAssociationId?: string}[]) {
318
+
319
+ const associationDtos = [];
320
+ for(const param of programIds){
321
+ associationDtos.push({
322
+ entity: 'ProjectModule:Program',
323
+ recordId: param.id,
324
+ linkType: 'Program__Note',
325
+ relationType: param?.relationType,
326
+ relatedAssociationId: param?.relatedAssociationId
327
+ });
328
+ }
329
+
330
+ return await this._createLinks(this.moduleName, this.entityName, noteId, associationDtos);
331
+ }
332
+
333
+ public async removeProgramNotes(noteId: string, programIds: string[]) {
334
+
335
+ const associationDtos = [];
336
+ for(const pk of programIds){
337
+ associationDtos.push({
338
+ entity: 'ProjectModule:Program',
339
+ recordId: pk,
340
+ });
341
+ }
342
+
343
+ return await this._deleteLinks(this.moduleName, this.entityName, noteId, associationDtos);
344
+ }
345
+
346
+
347
+ // Use this function when you want to return a single record
348
+ public async getProjects(noteId: string) {
349
+ return await this._getLinks(this.moduleName, this.entityName, noteId, 'Project');
350
+ }
351
+
352
+ public async addProjectNotes(noteId: string, projectIds: {id: string, relationType?: RelationTypeEnum, relatedAssociationId?: string}[]) {
353
+
354
+ const associationDtos = [];
355
+ for(const param of projectIds){
356
+ associationDtos.push({
357
+ entity: 'ProjectModule:Project',
358
+ recordId: param.id,
359
+ linkType: 'Project__Note',
360
+ relationType: param?.relationType,
361
+ relatedAssociationId: param?.relatedAssociationId
362
+ });
363
+ }
364
+
365
+ return await this._createLinks(this.moduleName, this.entityName, noteId, associationDtos);
366
+ }
367
+
368
+ public async removeProjectNotes(noteId: string, projectIds: string[]) {
369
+
370
+ const associationDtos = [];
371
+ for(const pk of projectIds){
372
+ associationDtos.push({
373
+ entity: 'ProjectModule:Project',
374
+ recordId: pk,
375
+ });
376
+ }
377
+
378
+ return await this._deleteLinks(this.moduleName, this.entityName, noteId, associationDtos);
379
+ }
380
+
381
+
382
+ // Use this function when you want to return a single record
383
+ public async getInvoices(noteId: string) {
384
+ return await this._getLinks(this.moduleName, this.entityName, noteId, 'Invoice');
385
+ }
386
+
387
+ public async addInvoiceNotes(noteId: string, invoiceIds: {id: string, relationType?: RelationTypeEnum, relatedAssociationId?: string}[]) {
388
+
389
+ const associationDtos = [];
390
+ for(const param of invoiceIds){
391
+ associationDtos.push({
392
+ entity: 'BillingModule:Invoice',
393
+ recordId: param.id,
394
+ linkType: 'Invoice__Note',
395
+ relationType: param?.relationType,
396
+ relatedAssociationId: param?.relatedAssociationId
397
+ });
398
+ }
399
+
400
+ return await this._createLinks(this.moduleName, this.entityName, noteId, associationDtos);
401
+ }
402
+
403
+ public async removeInvoiceNotes(noteId: string, invoiceIds: string[]) {
404
+
405
+ const associationDtos = [];
406
+ for(const pk of invoiceIds){
407
+ associationDtos.push({
408
+ entity: 'BillingModule:Invoice',
409
+ recordId: pk,
410
+ });
411
+ }
412
+
413
+ return await this._deleteLinks(this.moduleName, this.entityName, noteId, associationDtos);
414
+ }
415
+
416
+
417
+ // Use this function when you want to return a single record
418
+ public async getMilestones(noteId: string) {
419
+ return await this._getLinks(this.moduleName, this.entityName, noteId, 'Milestone');
420
+ }
421
+
422
+ public async addMilestoneNotes(noteId: string, milestoneIds: {id: string, relationType?: RelationTypeEnum, relatedAssociationId?: string}[]) {
423
+
424
+ const associationDtos = [];
425
+ for(const param of milestoneIds){
426
+ associationDtos.push({
427
+ entity: 'ProjectModule:Milestone',
428
+ recordId: param.id,
429
+ linkType: 'Milestone__Note',
430
+ relationType: param?.relationType,
431
+ relatedAssociationId: param?.relatedAssociationId
432
+ });
433
+ }
434
+
435
+ return await this._createLinks(this.moduleName, this.entityName, noteId, associationDtos);
436
+ }
437
+
438
+ public async removeMilestoneNotes(noteId: string, milestoneIds: string[]) {
439
+
440
+ const associationDtos = [];
441
+ for(const pk of milestoneIds){
442
+ associationDtos.push({
443
+ entity: 'ProjectModule:Milestone',
444
+ recordId: pk,
445
+ });
446
+ }
447
+
448
+ return await this._deleteLinks(this.moduleName, this.entityName, noteId, associationDtos);
449
+ }
450
+
451
+
452
+ // Use this function when you want to return a single record
453
+ public async getTasks(noteId: string) {
454
+ return await this._getLinks(this.moduleName, this.entityName, noteId, 'Task');
455
+ }
456
+
457
+ public async addTaskNotes(noteId: string, taskIds: {id: string, relationType?: RelationTypeEnum, relatedAssociationId?: string}[]) {
458
+
459
+ const associationDtos = [];
460
+ for(const param of taskIds){
461
+ associationDtos.push({
462
+ entity: 'ProjectModule:Task',
463
+ recordId: param.id,
464
+ linkType: 'Task__Note',
465
+ relationType: param?.relationType,
466
+ relatedAssociationId: param?.relatedAssociationId
467
+ });
468
+ }
469
+
470
+ return await this._createLinks(this.moduleName, this.entityName, noteId, associationDtos);
471
+ }
472
+
473
+ public async removeTaskNotes(noteId: string, taskIds: string[]) {
474
+
475
+ const associationDtos = [];
476
+ for(const pk of taskIds){
477
+ associationDtos.push({
478
+ entity: 'ProjectModule:Task',
479
+ recordId: pk,
480
+ });
481
+ }
482
+
483
+ return await this._deleteLinks(this.moduleName, this.entityName, noteId, associationDtos);
484
+ }
485
+
486
+
487
+ // Use this function when you want to return a single record
488
+ public async getSubtasks(noteId: string) {
489
+ return await this._getLinks(this.moduleName, this.entityName, noteId, 'Subtask');
490
+ }
491
+
492
+ public async addSubtaskNotes(noteId: string, subtaskIds: {id: string, relationType?: RelationTypeEnum, relatedAssociationId?: string}[]) {
493
+
494
+ const associationDtos = [];
495
+ for(const param of subtaskIds){
496
+ associationDtos.push({
497
+ entity: 'ProjectModule:Subtask',
498
+ recordId: param.id,
499
+ linkType: 'Subtask__Note',
500
+ relationType: param?.relationType,
501
+ relatedAssociationId: param?.relatedAssociationId
502
+ });
503
+ }
504
+
505
+ return await this._createLinks(this.moduleName, this.entityName, noteId, associationDtos);
506
+ }
507
+
508
+ public async removeSubtaskNotes(noteId: string, subtaskIds: string[]) {
509
+
510
+ const associationDtos = [];
511
+ for(const pk of subtaskIds){
512
+ associationDtos.push({
513
+ entity: 'ProjectModule:Subtask',
514
+ recordId: pk,
515
+ });
516
+ }
517
+
518
+ return await this._deleteLinks(this.moduleName, this.entityName, noteId, associationDtos);
519
+ }
520
+
521
+
522
+ // Use this function when you want to return a single record
523
+ public async getFiles(noteId: string) {
524
+ return await this._getLinks(this.moduleName, this.entityName, noteId, 'File');
525
+ }
526
+
527
+ public async addFileNotes(noteId: string, fileIds: {id: string, relationType?: RelationTypeEnum, relatedAssociationId?: string}[]) {
528
+
529
+ const associationDtos = [];
530
+ for(const param of fileIds){
531
+ associationDtos.push({
532
+ entity: 'SchemaModule:File',
533
+ recordId: param.id,
534
+ linkType: 'File__Note',
535
+ relationType: param?.relationType,
536
+ relatedAssociationId: param?.relatedAssociationId
537
+ });
538
+ }
539
+
540
+ return await this._createLinks(this.moduleName, this.entityName, noteId, associationDtos);
541
+ }
542
+
543
+ public async removeFileNotes(noteId: string, fileIds: string[]) {
544
+
545
+ const associationDtos = [];
546
+ for(const pk of fileIds){
547
+ associationDtos.push({
548
+ entity: 'SchemaModule:File',
549
+ recordId: pk,
550
+ });
551
+ }
552
+
553
+ return await this._deleteLinks(this.moduleName, this.entityName, noteId, associationDtos);
554
+ }
555
+
556
+
557
+ // Use this function when you want to return a single record
558
+ public async getDiscounts(noteId: string) {
559
+ return await this._getLinks(this.moduleName, this.entityName, noteId, 'Discount');
560
+ }
561
+
562
+ public async addDiscountNotes(noteId: string, discountIds: {id: string, relationType?: RelationTypeEnum, relatedAssociationId?: string}[]) {
563
+
564
+ const associationDtos = [];
565
+ for(const param of discountIds){
566
+ associationDtos.push({
567
+ entity: 'ProductModule:Discount',
568
+ recordId: param.id,
569
+ linkType: 'Discount__Note',
570
+ relationType: param?.relationType,
571
+ relatedAssociationId: param?.relatedAssociationId
572
+ });
573
+ }
574
+
575
+ return await this._createLinks(this.moduleName, this.entityName, noteId, associationDtos);
576
+ }
577
+
578
+ public async removeDiscountNotes(noteId: string, discountIds: string[]) {
579
+
580
+ const associationDtos = [];
581
+ for(const pk of discountIds){
582
+ associationDtos.push({
583
+ entity: 'ProductModule:Discount',
584
+ recordId: pk,
585
+ });
586
+ }
587
+
588
+ return await this._deleteLinks(this.moduleName, this.entityName, noteId, associationDtos);
589
+ }
590
+
591
+
592
+ // Use this function when you want to return a single record
593
+ public async getBillingAdjustments(noteId: string) {
594
+ return await this._getLinks(this.moduleName, this.entityName, noteId, 'BillingAdjustment');
595
+ }
596
+
597
+ public async addBillingAdjustmentNotes(noteId: string, billingAdjustmentIds: {id: string, relationType?: RelationTypeEnum, relatedAssociationId?: string}[]) {
598
+
599
+ const associationDtos = [];
600
+ for(const param of billingAdjustmentIds){
601
+ associationDtos.push({
602
+ entity: 'OrderModule:BillingAdjustment',
603
+ recordId: param.id,
604
+ linkType: 'BillingAdjustment__Note',
605
+ relationType: param?.relationType,
606
+ relatedAssociationId: param?.relatedAssociationId
607
+ });
608
+ }
609
+
610
+ return await this._createLinks(this.moduleName, this.entityName, noteId, associationDtos);
611
+ }
612
+
613
+ public async removeBillingAdjustmentNotes(noteId: string, billingAdjustmentIds: string[]) {
614
+
615
+ const associationDtos = [];
616
+ for(const pk of billingAdjustmentIds){
617
+ associationDtos.push({
618
+ entity: 'OrderModule:BillingAdjustment',
619
+ recordId: pk,
620
+ });
621
+ }
622
+
623
+ return await this._deleteLinks(this.moduleName, this.entityName, noteId, associationDtos);
624
+ }
625
+
626
+
627
+ // Use this function when you want to return a single record
628
+ public async getOrderItems(noteId: string) {
629
+ return await this._getLinks(this.moduleName, this.entityName, noteId, 'OrderItem');
630
+ }
631
+
632
+ public async addOrderItemNotes(noteId: string, orderItemIds: {id: string, relationType?: RelationTypeEnum, relatedAssociationId?: string}[]) {
633
+
634
+ const associationDtos = [];
635
+ for(const param of orderItemIds){
636
+ associationDtos.push({
637
+ entity: 'OrderModule:OrderItem',
638
+ recordId: param.id,
639
+ linkType: 'OrderItem__Note',
640
+ relationType: param?.relationType,
641
+ relatedAssociationId: param?.relatedAssociationId
642
+ });
643
+ }
644
+
645
+ return await this._createLinks(this.moduleName, this.entityName, noteId, associationDtos);
646
+ }
647
+
648
+ public async removeOrderItemNotes(noteId: string, orderItemIds: string[]) {
649
+
650
+ const associationDtos = [];
651
+ for(const pk of orderItemIds){
652
+ associationDtos.push({
653
+ entity: 'OrderModule:OrderItem',
654
+ recordId: pk,
655
+ });
656
+ }
657
+
658
+ return await this._deleteLinks(this.moduleName, this.entityName, noteId, associationDtos);
659
+ }
660
+
661
+
662
+ // Use this function when you want to return a single record
663
+ public async getTransactions(noteId: string) {
664
+ return await this._getLinks(this.moduleName, this.entityName, noteId, 'Transaction');
665
+ }
666
+
667
+ public async addTransactionNotes(noteId: string, transactionIds: {id: string, relationType?: RelationTypeEnum, relatedAssociationId?: string}[]) {
668
+
669
+ const associationDtos = [];
670
+ for(const param of transactionIds){
671
+ associationDtos.push({
672
+ entity: 'BillingModule:Transaction',
673
+ recordId: param.id,
674
+ linkType: 'Transaction__Note',
675
+ relationType: param?.relationType,
676
+ relatedAssociationId: param?.relatedAssociationId
677
+ });
678
+ }
679
+
680
+ return await this._createLinks(this.moduleName, this.entityName, noteId, associationDtos);
681
+ }
682
+
683
+ public async removeTransactionNotes(noteId: string, transactionIds: string[]) {
684
+
685
+ const associationDtos = [];
686
+ for(const pk of transactionIds){
687
+ associationDtos.push({
688
+ entity: 'BillingModule:Transaction',
689
+ recordId: pk,
690
+ });
691
+ }
692
+
693
+ return await this._deleteLinks(this.moduleName, this.entityName, noteId, associationDtos);
694
+ }
695
+
696
+
697
+ // Use this function when you want to return a single record
698
+ public async getServiceAppointmentConfigs(noteId: string) {
699
+ return await this._getLinks(this.moduleName, this.entityName, noteId, 'ServiceAppointmentConfig');
700
+ }
701
+
702
+ public async addServiceAppointmentConfigNotes(noteId: string, serviceAppointmentConfigIds: {id: string, relationType?: RelationTypeEnum, relatedAssociationId?: string}[]) {
703
+
704
+ const associationDtos = [];
705
+ for(const param of serviceAppointmentConfigIds){
706
+ associationDtos.push({
707
+ entity: 'FieldServiceModule:ServiceAppointmentConfig',
708
+ recordId: param.id,
709
+ linkType: 'ServiceAppointmentConfig__Note',
710
+ relationType: param?.relationType,
711
+ relatedAssociationId: param?.relatedAssociationId
712
+ });
713
+ }
714
+
715
+ return await this._createLinks(this.moduleName, this.entityName, noteId, associationDtos);
716
+ }
717
+
718
+ public async removeServiceAppointmentConfigNotes(noteId: string, serviceAppointmentConfigIds: string[]) {
719
+
720
+ const associationDtos = [];
721
+ for(const pk of serviceAppointmentConfigIds){
722
+ associationDtos.push({
723
+ entity: 'FieldServiceModule:ServiceAppointmentConfig',
724
+ recordId: pk,
725
+ });
726
+ }
727
+
728
+ return await this._deleteLinks(this.moduleName, this.entityName, noteId, associationDtos);
729
+ }
730
+
731
+
732
+ // Use this function when you want to return a single record
733
+ public async getCommissions(noteId: string) {
734
+ return await this._getLinks(this.moduleName, this.entityName, noteId, 'Commission');
735
+ }
736
+
737
+ public async addCommissionNotes(noteId: string, commissionIds: {id: string, relationType?: RelationTypeEnum, relatedAssociationId?: string}[]) {
738
+
739
+ const associationDtos = [];
740
+ for(const param of commissionIds){
741
+ associationDtos.push({
742
+ entity: 'BillingModule:Commission',
743
+ recordId: param.id,
744
+ linkType: 'Commission__Note',
745
+ relationType: param?.relationType,
746
+ relatedAssociationId: param?.relatedAssociationId
747
+ });
748
+ }
749
+
750
+ return await this._createLinks(this.moduleName, this.entityName, noteId, associationDtos);
751
+ }
752
+
753
+ public async removeCommissionNotes(noteId: string, commissionIds: string[]) {
754
+
755
+ const associationDtos = [];
756
+ for(const pk of commissionIds){
757
+ associationDtos.push({
758
+ entity: 'BillingModule:Commission',
759
+ recordId: pk,
760
+ });
761
+ }
762
+
763
+ return await this._deleteLinks(this.moduleName, this.entityName, noteId, associationDtos);
764
+ }
765
+
766
+
767
+ // Use this function when you want to return a single record
768
+ public async getInternalInstallAudits(noteId: string) {
769
+ return await this._getLinks(this.moduleName, this.entityName, noteId, 'InternalInstallAudit');
770
+ }
771
+
772
+ public async addInternalInstallAuditNotes(noteId: string, internalInstallAuditIds: {id: string, relationType?: RelationTypeEnum, relatedAssociationId?: string}[]) {
773
+
774
+ const associationDtos = [];
775
+ for(const param of internalInstallAuditIds){
776
+ associationDtos.push({
777
+ entity: 'FieldServiceModule:InternalInstallAudit',
778
+ recordId: param.id,
779
+ linkType: 'InternalInstallAudit_Note',
780
+ relationType: param?.relationType,
781
+ relatedAssociationId: param?.relatedAssociationId
782
+ });
783
+ }
784
+
785
+ return await this._createLinks(this.moduleName, this.entityName, noteId, associationDtos);
786
+ }
787
+
788
+ public async removeInternalInstallAuditNotes(noteId: string, internalInstallAuditIds: string[]) {
789
+
790
+ const associationDtos = [];
791
+ for(const pk of internalInstallAuditIds){
792
+ associationDtos.push({
793
+ entity: 'FieldServiceModule:InternalInstallAudit',
794
+ recordId: pk,
795
+ });
796
+ }
797
+
798
+ return await this._deleteLinks(this.moduleName, this.entityName, noteId, associationDtos);
799
+ }
800
+
801
+
802
+ // Use this function when you want to return a single record
803
+ public async getChurnRequests(noteId: string) {
804
+ return await this._getLinks(this.moduleName, this.entityName, noteId, 'ChurnRequest');
805
+ }
806
+
807
+ public async addChurnRequestNotes(noteId: string, churnRequestIds: {id: string, relationType?: RelationTypeEnum, relatedAssociationId?: string}[]) {
808
+
809
+ const associationDtos = [];
810
+ for(const param of churnRequestIds){
811
+ associationDtos.push({
812
+ entity: 'OrderModule:ChurnRequest',
813
+ recordId: param.id,
814
+ linkType: 'ChurnRequest__Note',
815
+ relationType: param?.relationType,
816
+ relatedAssociationId: param?.relatedAssociationId
817
+ });
818
+ }
819
+
820
+ return await this._createLinks(this.moduleName, this.entityName, noteId, associationDtos);
821
+ }
822
+
823
+ public async removeChurnRequestNotes(noteId: string, churnRequestIds: string[]) {
824
+
825
+ const associationDtos = [];
826
+ for(const pk of churnRequestIds){
827
+ associationDtos.push({
828
+ entity: 'OrderModule:ChurnRequest',
829
+ recordId: pk,
830
+ });
831
+ }
832
+
833
+ return await this._deleteLinks(this.moduleName, this.entityName, noteId, associationDtos);
834
+ }
835
+
836
+
837
+ // Use this function when you want to return a single record
838
+ public async getPICRequests(noteId: string) {
839
+ return await this._getLinks(this.moduleName, this.entityName, noteId, 'PICRequest');
840
+ }
841
+
842
+ public async addPicRequestNotes(noteId: string, picRequestIds: {id: string, relationType?: RelationTypeEnum, relatedAssociationId?: string}[]) {
843
+
844
+ const associationDtos = [];
845
+ for(const param of picRequestIds){
846
+ associationDtos.push({
847
+ entity: 'OrderModule:PICRequest',
848
+ recordId: param.id,
849
+ linkType: 'PICRequest__Note',
850
+ relationType: param?.relationType,
851
+ relatedAssociationId: param?.relatedAssociationId
852
+ });
853
+ }
854
+
855
+ return await this._createLinks(this.moduleName, this.entityName, noteId, associationDtos);
856
+ }
857
+
858
+ public async removePicRequestNotes(noteId: string, picRequestIds: string[]) {
859
+
860
+ const associationDtos = [];
861
+ for(const pk of picRequestIds){
862
+ associationDtos.push({
863
+ entity: 'OrderModule:PICRequest',
864
+ recordId: pk,
865
+ });
866
+ }
867
+
868
+ return await this._deleteLinks(this.moduleName, this.entityName, noteId, associationDtos);
869
+ }
870
+
871
+
872
+ // Use this function when you want to return a single record
873
+ public async getAddresss(noteId: string) {
874
+ return await this._getLinks(this.moduleName, this.entityName, noteId, 'Address');
875
+ }
876
+
877
+ public async addAddressNotes(noteId: string, addressIds: {id: string, relationType?: RelationTypeEnum, relatedAssociationId?: string}[]) {
878
+
879
+ const associationDtos = [];
880
+ for(const param of addressIds){
881
+ associationDtos.push({
882
+ entity: 'CrmModule:Address',
883
+ recordId: param.id,
884
+ linkType: 'Address__Note',
885
+ relationType: param?.relationType,
886
+ relatedAssociationId: param?.relatedAssociationId
887
+ });
888
+ }
889
+
890
+ return await this._createLinks(this.moduleName, this.entityName, noteId, associationDtos);
891
+ }
892
+
893
+ public async removeAddressNotes(noteId: string, addressIds: string[]) {
894
+
895
+ const associationDtos = [];
896
+ for(const pk of addressIds){
897
+ associationDtos.push({
898
+ entity: 'CrmModule:Address',
899
+ recordId: pk,
900
+ });
901
+ }
902
+
903
+ return await this._deleteLinks(this.moduleName, this.entityName, noteId, associationDtos);
904
+ }
905
+
906
+
907
+ // Use this function when you want to return a single record
908
+ public async getCreditNotes(noteId: string) {
909
+ return await this._getLinks(this.moduleName, this.entityName, noteId, 'CreditNote');
910
+ }
911
+
912
+ public async addCreditNoteNotes(noteId: string, creditNoteIds: {id: string, relationType?: RelationTypeEnum, relatedAssociationId?: string}[]) {
913
+
914
+ const associationDtos = [];
915
+ for(const param of creditNoteIds){
916
+ associationDtos.push({
917
+ entity: 'BillingModule:CreditNote',
918
+ recordId: param.id,
919
+ linkType: 'CreditNote__Note',
920
+ relationType: param?.relationType,
921
+ relatedAssociationId: param?.relatedAssociationId
922
+ });
923
+ }
924
+
925
+ return await this._createLinks(this.moduleName, this.entityName, noteId, associationDtos);
926
+ }
927
+
928
+ public async removeCreditNoteNotes(noteId: string, creditNoteIds: string[]) {
929
+
930
+ const associationDtos = [];
931
+ for(const pk of creditNoteIds){
932
+ associationDtos.push({
933
+ entity: 'BillingModule:CreditNote',
934
+ recordId: pk,
935
+ });
936
+ }
937
+
938
+ return await this._deleteLinks(this.moduleName, this.entityName, noteId, associationDtos);
939
+ }
940
+
941
+
942
+ // Use this function when you want to return a single record
943
+ public async getPaymentMethods(noteId: string) {
944
+ return await this._getLinks(this.moduleName, this.entityName, noteId, 'PaymentMethod');
945
+ }
946
+
947
+ public async addPaymentMethodNotes(noteId: string, paymentMethodIds: {id: string, relationType?: RelationTypeEnum, relatedAssociationId?: string}[]) {
948
+
949
+ const associationDtos = [];
950
+ for(const param of paymentMethodIds){
951
+ associationDtos.push({
952
+ entity: 'BillingModule:PaymentMethod',
953
+ recordId: param.id,
954
+ linkType: 'PaymentMethod__Note',
955
+ relationType: param?.relationType,
956
+ relatedAssociationId: param?.relatedAssociationId
957
+ });
958
+ }
959
+
960
+ return await this._createLinks(this.moduleName, this.entityName, noteId, associationDtos);
961
+ }
962
+
963
+ public async removePaymentMethodNotes(noteId: string, paymentMethodIds: string[]) {
964
+
965
+ const associationDtos = [];
966
+ for(const pk of paymentMethodIds){
967
+ associationDtos.push({
968
+ entity: 'BillingModule:PaymentMethod',
969
+ recordId: pk,
970
+ });
971
+ }
972
+
973
+ return await this._deleteLinks(this.moduleName, this.entityName, noteId, associationDtos);
974
+ }
975
+
976
+
977
+ // Use this function when you want to return a single record
978
+ public async getCustomerDeviceOnts(noteId: string) {
979
+ return await this._getLinks(this.moduleName, this.entityName, noteId, 'CustomerDeviceOnt');
980
+ }
981
+
982
+ public async addCustomerDeviceOntNotes(noteId: string, customerDeviceOntIds: {id: string, relationType?: RelationTypeEnum, relatedAssociationId?: string}[]) {
983
+
984
+ const associationDtos = [];
985
+ for(const param of customerDeviceOntIds){
986
+ associationDtos.push({
987
+ entity: 'ServiceModule:CustomerDeviceOnt',
988
+ recordId: param.id,
989
+ linkType: 'CustomerDeviceOnt__Note',
990
+ relationType: param?.relationType,
991
+ relatedAssociationId: param?.relatedAssociationId
992
+ });
993
+ }
994
+
995
+ return await this._createLinks(this.moduleName, this.entityName, noteId, associationDtos);
996
+ }
997
+
998
+ public async removeCustomerDeviceOntNotes(noteId: string, customerDeviceOntIds: string[]) {
999
+
1000
+ const associationDtos = [];
1001
+ for(const pk of customerDeviceOntIds){
1002
+ associationDtos.push({
1003
+ entity: 'ServiceModule:CustomerDeviceOnt',
1004
+ recordId: pk,
1005
+ });
1006
+ }
1007
+
1008
+ return await this._deleteLinks(this.moduleName, this.entityName, noteId, associationDtos);
1009
+ }
1010
+
1011
+
1012
+ // Use this function when you want to return a single record
1013
+ public async getChangeReasons(noteId: string) {
1014
+ return await this._getLinks(this.moduleName, this.entityName, noteId, 'ChangeReason');
1015
+ }
1016
+
1017
+ public async addChangeReasonNotes(noteId: string, changeReasonIds: {id: string, relationType?: RelationTypeEnum, relatedAssociationId?: string}[]) {
1018
+
1019
+ const associationDtos = [];
1020
+ for(const param of changeReasonIds){
1021
+ associationDtos.push({
1022
+ entity: 'FieldServiceModule:ChangeReason',
1023
+ recordId: param.id,
1024
+ linkType: 'ChangeReason__Note',
1025
+ relationType: param?.relationType,
1026
+ relatedAssociationId: param?.relatedAssociationId
1027
+ });
1028
+ }
1029
+
1030
+ return await this._createLinks(this.moduleName, this.entityName, noteId, associationDtos);
1031
+ }
1032
+
1033
+ public async removeChangeReasonNotes(noteId: string, changeReasonIds: string[]) {
1034
+
1035
+ const associationDtos = [];
1036
+ for(const pk of changeReasonIds){
1037
+ associationDtos.push({
1038
+ entity: 'FieldServiceModule:ChangeReason',
1039
+ recordId: pk,
1040
+ });
1041
+ }
1042
+
1043
+ return await this._deleteLinks(this.moduleName, this.entityName, noteId, associationDtos);
1044
+ }
1045
+
1046
+
1047
+ // Use this function when you want to return a single record
1048
+ public async getPaymentMethodRefunds(noteId: string) {
1049
+ return await this._getLinks(this.moduleName, this.entityName, noteId, 'PaymentMethodRefund');
1050
+ }
1051
+
1052
+ public async addPaymentMethodRefundNotes(noteId: string, paymentMethodRefundIds: {id: string, relationType?: RelationTypeEnum, relatedAssociationId?: string}[]) {
1053
+
1054
+ const associationDtos = [];
1055
+ for(const param of paymentMethodRefundIds){
1056
+ associationDtos.push({
1057
+ entity: 'BillingModule:PaymentMethodRefund',
1058
+ recordId: param.id,
1059
+ linkType: 'PaymentMethodRefund__Note',
1060
+ relationType: param?.relationType,
1061
+ relatedAssociationId: param?.relatedAssociationId
1062
+ });
1063
+ }
1064
+
1065
+ return await this._createLinks(this.moduleName, this.entityName, noteId, associationDtos);
1066
+ }
1067
+
1068
+ public async removePaymentMethodRefundNotes(noteId: string, paymentMethodRefundIds: string[]) {
1069
+
1070
+ const associationDtos = [];
1071
+ for(const pk of paymentMethodRefundIds){
1072
+ associationDtos.push({
1073
+ entity: 'BillingModule:PaymentMethodRefund',
1074
+ recordId: pk,
1075
+ });
1076
+ }
1077
+
1078
+ return await this._deleteLinks(this.moduleName, this.entityName, noteId, associationDtos);
1079
+ }
1080
+
1081
+
1082
+ // Use this function when you want to return a single record
1083
+ public async getServiceAppointments(noteId: string) {
1084
+ return await this._getLinks(this.moduleName, this.entityName, noteId, 'ServiceAppointment');
1085
+ }
1086
+
1087
+ public async addServiceAppointmentNotes(noteId: string, serviceAppointmentIds: {id: string, relationType?: RelationTypeEnum, relatedAssociationId?: string}[]) {
1088
+
1089
+ const associationDtos = [];
1090
+ for(const param of serviceAppointmentIds){
1091
+ associationDtos.push({
1092
+ entity: 'FieldServiceModule:ServiceAppointment',
1093
+ recordId: param.id,
1094
+ linkType: 'ServiceAppointment__Note',
1095
+ relationType: param?.relationType,
1096
+ relatedAssociationId: param?.relatedAssociationId
1097
+ });
1098
+ }
1099
+
1100
+ return await this._createLinks(this.moduleName, this.entityName, noteId, associationDtos);
1101
+ }
1102
+
1103
+ public async removeServiceAppointmentNotes(noteId: string, serviceAppointmentIds: string[]) {
1104
+
1105
+ const associationDtos = [];
1106
+ for(const pk of serviceAppointmentIds){
1107
+ associationDtos.push({
1108
+ entity: 'FieldServiceModule:ServiceAppointment',
1109
+ recordId: pk,
1110
+ });
1111
+ }
1112
+
1113
+ return await this._deleteLinks(this.moduleName, this.entityName, noteId, associationDtos);
1114
+ }
1115
+
1116
+
1117
+ // Use this function when you want to return a single record
1118
+ public async getActivitys(noteId: string) {
1119
+ return await this._getLinks(this.moduleName, this.entityName, noteId, 'Activity');
1120
+ }
1121
+
1122
+ public async addActivityNotes(noteId: string, activityIds: {id: string, relationType?: RelationTypeEnum, relatedAssociationId?: string}[]) {
1123
+
1124
+ const associationDtos = [];
1125
+ for(const param of activityIds){
1126
+ associationDtos.push({
1127
+ entity: 'SchemaModule:Activity',
1128
+ recordId: param.id,
1129
+ linkType: 'Activity__Note',
1130
+ relationType: param?.relationType,
1131
+ relatedAssociationId: param?.relatedAssociationId
1132
+ });
1133
+ }
1134
+
1135
+ return await this._createLinks(this.moduleName, this.entityName, noteId, associationDtos);
1136
+ }
1137
+
1138
+ public async removeActivityNotes(noteId: string, activityIds: string[]) {
1139
+
1140
+ const associationDtos = [];
1141
+ for(const pk of activityIds){
1142
+ associationDtos.push({
1143
+ entity: 'SchemaModule:Activity',
1144
+ recordId: pk,
1145
+ });
1146
+ }
1147
+
1148
+ return await this._deleteLinks(this.moduleName, this.entityName, noteId, associationDtos);
1149
+ }
1150
+
1151
+
1152
+ // Use this function when you want to return a single record
1153
+ public async getBillingRequests(noteId: string) {
1154
+ return await this._getLinks(this.moduleName, this.entityName, noteId, 'BillingRequest');
1155
+ }
1156
+
1157
+ public async addBillingRequestNotes(noteId: string, billingRequestIds: {id: string, relationType?: RelationTypeEnum, relatedAssociationId?: string}[]) {
1158
+
1159
+ const associationDtos = [];
1160
+ for(const param of billingRequestIds){
1161
+ associationDtos.push({
1162
+ entity: 'BillingModule:BillingRequest',
1163
+ recordId: param.id,
1164
+ linkType: 'BillingRequest__Note',
1165
+ relationType: param?.relationType,
1166
+ relatedAssociationId: param?.relatedAssociationId
1167
+ });
1168
+ }
1169
+
1170
+ return await this._createLinks(this.moduleName, this.entityName, noteId, associationDtos);
1171
+ }
1172
+
1173
+ public async removeBillingRequestNotes(noteId: string, billingRequestIds: string[]) {
1174
+
1175
+ const associationDtos = [];
1176
+ for(const pk of billingRequestIds){
1177
+ associationDtos.push({
1178
+ entity: 'BillingModule:BillingRequest',
1179
+ recordId: pk,
1180
+ });
1181
+ }
1182
+
1183
+ return await this._deleteLinks(this.moduleName, this.entityName, noteId, associationDtos);
1184
+ }
1185
+
1186
+
1187
+ // Use this function when you want to return a single record
1188
+ public async getSupportTasks(noteId: string) {
1189
+ return await this._getLinks(this.moduleName, this.entityName, noteId, 'SupportTask');
1190
+ }
1191
+
1192
+ public async addNoteSupportTasks(noteId: string, supportTaskIds: {id: string, relationType?: RelationTypeEnum, relatedAssociationId?: string}[]) {
1193
+
1194
+ const associationDtos = [];
1195
+ for(const param of supportTaskIds){
1196
+ associationDtos.push({
1197
+ entity: 'SupportModule:SupportTask',
1198
+ recordId: param.id,
1199
+ linkType: 'Note_SupportTask',
1200
+ relationType: param?.relationType,
1201
+ relatedAssociationId: param?.relatedAssociationId
1202
+ });
1203
+ }
1204
+
1205
+ return await this._createLinks(this.moduleName, this.entityName, noteId, associationDtos);
1206
+ }
1207
+
1208
+ public async removeNoteSupportTasks(noteId: string, supportTaskIds: string[]) {
1209
+
1210
+ const associationDtos = [];
1211
+ for(const pk of supportTaskIds){
1212
+ associationDtos.push({
1213
+ entity: 'SupportModule:SupportTask',
1214
+ recordId: pk,
1215
+ });
1216
+ }
1217
+
1218
+ return await this._deleteLinks(this.moduleName, this.entityName, noteId, associationDtos);
1219
+ }
1220
+
1221
+
1222
+ // Use this function when you want to return a single record
1223
+ public async getNetomniaInstallVerifications(noteId: string) {
1224
+ return await this._getLinks(this.moduleName, this.entityName, noteId, 'NetomniaInstallVerification');
1225
+ }
1226
+
1227
+ public async addNetomniaInstallVerificationNotes(noteId: string, netomniaInstallVerificationIds: {id: string, relationType?: RelationTypeEnum, relatedAssociationId?: string}[]) {
1228
+
1229
+ const associationDtos = [];
1230
+ for(const param of netomniaInstallVerificationIds){
1231
+ associationDtos.push({
1232
+ entity: 'FieldServiceModule:NetomniaInstallVerification',
1233
+ recordId: param.id,
1234
+ linkType: 'NetomniaInstallVerification__Note',
1235
+ relationType: param?.relationType,
1236
+ relatedAssociationId: param?.relatedAssociationId
1237
+ });
1238
+ }
1239
+
1240
+ return await this._createLinks(this.moduleName, this.entityName, noteId, associationDtos);
1241
+ }
1242
+
1243
+ public async removeNetomniaInstallVerificationNotes(noteId: string, netomniaInstallVerificationIds: string[]) {
1244
+
1245
+ const associationDtos = [];
1246
+ for(const pk of netomniaInstallVerificationIds){
1247
+ associationDtos.push({
1248
+ entity: 'FieldServiceModule:NetomniaInstallVerification',
1249
+ recordId: pk,
1250
+ });
1251
+ }
1252
+
1253
+ return await this._deleteLinks(this.moduleName, this.entityName, noteId, associationDtos);
1254
+ }
1255
+
1256
+
1257
+ // Use this function when you want to return a single record
1258
+ public async getNetomniaFtthServiceVisitSheets(noteId: string) {
1259
+ return await this._getLinks(this.moduleName, this.entityName, noteId, 'NetomniaFtthServiceVisitSheet');
1260
+ }
1261
+
1262
+ public async addNetomniaFtthServiceVisitSheetNotes(noteId: string, netomniaFtthServiceVisitSheetIds: {id: string, relationType?: RelationTypeEnum, relatedAssociationId?: string}[]) {
1263
+
1264
+ const associationDtos = [];
1265
+ for(const param of netomniaFtthServiceVisitSheetIds){
1266
+ associationDtos.push({
1267
+ entity: 'FieldServiceModule:NetomniaFtthServiceVisitSheet',
1268
+ recordId: param.id,
1269
+ linkType: 'NetomniaFtthServiceVisitSheet__Note',
1270
+ relationType: param?.relationType,
1271
+ relatedAssociationId: param?.relatedAssociationId
1272
+ });
1273
+ }
1274
+
1275
+ return await this._createLinks(this.moduleName, this.entityName, noteId, associationDtos);
1276
+ }
1277
+
1278
+ public async removeNetomniaFtthServiceVisitSheetNotes(noteId: string, netomniaFtthServiceVisitSheetIds: string[]) {
1279
+
1280
+ const associationDtos = [];
1281
+ for(const pk of netomniaFtthServiceVisitSheetIds){
1282
+ associationDtos.push({
1283
+ entity: 'FieldServiceModule:NetomniaFtthServiceVisitSheet',
1284
+ recordId: pk,
1285
+ });
1286
+ }
1287
+
1288
+ return await this._deleteLinks(this.moduleName, this.entityName, noteId, associationDtos);
1289
+ }
1290
+
1291
+
1292
+ // Use this function when you want to return a single record
1293
+ public async getNetomniaFtth1StageInstallAudits(noteId: string) {
1294
+ return await this._getLinks(this.moduleName, this.entityName, noteId, 'NetomniaFtth1StageInstallAudit');
1295
+ }
1296
+
1297
+ public async addNetomniaFtth1StageInstallAuditNotes(noteId: string, netomniaFtth1StageInstallAuditIds: {id: string, relationType?: RelationTypeEnum, relatedAssociationId?: string}[]) {
1298
+
1299
+ const associationDtos = [];
1300
+ for(const param of netomniaFtth1StageInstallAuditIds){
1301
+ associationDtos.push({
1302
+ entity: 'FieldServiceModule:NetomniaFtth1StageInstallAudit',
1303
+ recordId: param.id,
1304
+ linkType: 'NetomniaFtth1StageInstallAudit__Note',
1305
+ relationType: param?.relationType,
1306
+ relatedAssociationId: param?.relatedAssociationId
1307
+ });
1308
+ }
1309
+
1310
+ return await this._createLinks(this.moduleName, this.entityName, noteId, associationDtos);
1311
+ }
1312
+
1313
+ public async removeNetomniaFtth1StageInstallAuditNotes(noteId: string, netomniaFtth1StageInstallAuditIds: string[]) {
1314
+
1315
+ const associationDtos = [];
1316
+ for(const pk of netomniaFtth1StageInstallAuditIds){
1317
+ associationDtos.push({
1318
+ entity: 'FieldServiceModule:NetomniaFtth1StageInstallAudit',
1319
+ recordId: pk,
1320
+ });
1321
+ }
1322
+
1323
+ return await this._deleteLinks(this.moduleName, this.entityName, noteId, associationDtos);
1324
+ }
1325
+
1326
+
1327
+ // Use this function when you want to return a single record
1328
+ public async getCustomerDeviceRouters(noteId: string) {
1329
+ return await this._getLinks(this.moduleName, this.entityName, noteId, 'CustomerDeviceRouter');
1330
+ }
1331
+
1332
+ public async addCustomerDeviceRouterNotes(noteId: string, customerDeviceRouterIds: {id: string, relationType?: RelationTypeEnum, relatedAssociationId?: string}[]) {
1333
+
1334
+ const associationDtos = [];
1335
+ for(const param of customerDeviceRouterIds){
1336
+ associationDtos.push({
1337
+ entity: 'ServiceModule:CustomerDeviceRouter',
1338
+ recordId: param.id,
1339
+ linkType: 'CustomerDeviceRouter__Note',
1340
+ relationType: param?.relationType,
1341
+ relatedAssociationId: param?.relatedAssociationId
1342
+ });
1343
+ }
1344
+
1345
+ return await this._createLinks(this.moduleName, this.entityName, noteId, associationDtos);
1346
+ }
1347
+
1348
+ public async removeCustomerDeviceRouterNotes(noteId: string, customerDeviceRouterIds: string[]) {
1349
+
1350
+ const associationDtos = [];
1351
+ for(const pk of customerDeviceRouterIds){
1352
+ associationDtos.push({
1353
+ entity: 'ServiceModule:CustomerDeviceRouter',
1354
+ recordId: pk,
1355
+ });
1356
+ }
1357
+
1358
+ return await this._deleteLinks(this.moduleName, this.entityName, noteId, associationDtos);
1359
+ }
1360
+
1361
+
1362
+ // Use this function when you want to return a single record
1363
+ public async getVisits(noteId: string) {
1364
+ return await this._getLinks(this.moduleName, this.entityName, noteId, 'Visit');
1365
+ }
1366
+
1367
+ public async addVisitNotes(noteId: string, visitIds: {id: string, relationType?: RelationTypeEnum, relatedAssociationId?: string}[]) {
1368
+
1369
+ const associationDtos = [];
1370
+ for(const param of visitIds){
1371
+ associationDtos.push({
1372
+ entity: 'CrmModule:Visit',
1373
+ recordId: param.id,
1374
+ linkType: 'Visit__Note',
1375
+ relationType: param?.relationType,
1376
+ relatedAssociationId: param?.relatedAssociationId
1377
+ });
1378
+ }
1379
+
1380
+ return await this._createLinks(this.moduleName, this.entityName, noteId, associationDtos);
1381
+ }
1382
+
1383
+ public async removeVisitNotes(noteId: string, visitIds: string[]) {
1384
+
1385
+ const associationDtos = [];
1386
+ for(const pk of visitIds){
1387
+ associationDtos.push({
1388
+ entity: 'CrmModule:Visit',
1389
+ recordId: pk,
1390
+ });
1391
+ }
1392
+
1393
+ return await this._deleteLinks(this.moduleName, this.entityName, noteId, associationDtos);
1394
+ }
1395
+
1396
+
1397
+ // Use this function when you want to return a single record
1398
+ public async getCrmDatasets(noteId: string) {
1399
+ return await this._getLinks(this.moduleName, this.entityName, noteId, 'CrmDataset');
1400
+ }
1401
+
1402
+ public async addCrmDatasetNotes(noteId: string, crmDatasetIds: {id: string, relationType?: RelationTypeEnum, relatedAssociationId?: string}[]) {
1403
+
1404
+ const associationDtos = [];
1405
+ for(const param of crmDatasetIds){
1406
+ associationDtos.push({
1407
+ entity: 'CrmModule:CrmDataset',
1408
+ recordId: param.id,
1409
+ linkType: 'CrmDataset__Note',
1410
+ relationType: param?.relationType,
1411
+ relatedAssociationId: param?.relatedAssociationId
1412
+ });
1413
+ }
1414
+
1415
+ return await this._createLinks(this.moduleName, this.entityName, noteId, associationDtos);
1416
+ }
1417
+
1418
+ public async removeCrmDatasetNotes(noteId: string, crmDatasetIds: string[]) {
1419
+
1420
+ const associationDtos = [];
1421
+ for(const pk of crmDatasetIds){
1422
+ associationDtos.push({
1423
+ entity: 'CrmModule:CrmDataset',
1424
+ recordId: pk,
1425
+ });
1426
+ }
1427
+
1428
+ return await this._deleteLinks(this.moduleName, this.entityName, noteId, associationDtos);
1429
+ }
1430
+
1431
+
1432
+ // Use this function when you want to return a single record
1433
+ public async getYfEquipmentCollections(noteId: string) {
1434
+ return await this._getLinks(this.moduleName, this.entityName, noteId, 'YfEquipmentCollection');
1435
+ }
1436
+
1437
+ public async addYfEquipmentCollectionNotes(noteId: string, yfEquipmentCollectionIds: {id: string, relationType?: RelationTypeEnum, relatedAssociationId?: string}[]) {
1438
+
1439
+ const associationDtos = [];
1440
+ for(const param of yfEquipmentCollectionIds){
1441
+ associationDtos.push({
1442
+ entity: 'FieldServiceModule:YfEquipmentCollection',
1443
+ recordId: param.id,
1444
+ linkType: 'YfEquipmentCollection__Note',
1445
+ relationType: param?.relationType,
1446
+ relatedAssociationId: param?.relatedAssociationId
1447
+ });
1448
+ }
1449
+
1450
+ return await this._createLinks(this.moduleName, this.entityName, noteId, associationDtos);
1451
+ }
1452
+
1453
+ public async removeYfEquipmentCollectionNotes(noteId: string, yfEquipmentCollectionIds: string[]) {
1454
+
1455
+ const associationDtos = [];
1456
+ for(const pk of yfEquipmentCollectionIds){
1457
+ associationDtos.push({
1458
+ entity: 'FieldServiceModule:YfEquipmentCollection',
1459
+ recordId: pk,
1460
+ });
1461
+ }
1462
+
1463
+ return await this._deleteLinks(this.moduleName, this.entityName, noteId, associationDtos);
1464
+ }
1465
+
1466
+
1467
+ // Use this function when you want to return a single record
1468
+ public async getFingerprints(noteId: string) {
1469
+ return await this._getLinks(this.moduleName, this.entityName, noteId, 'Fingerprint');
1470
+ }
1471
+
1472
+ public async addFingerprintNotes(noteId: string, fingerprintIds: {id: string, relationType?: RelationTypeEnum, relatedAssociationId?: string}[]) {
1473
+
1474
+ const associationDtos = [];
1475
+ for(const param of fingerprintIds){
1476
+ associationDtos.push({
1477
+ entity: 'CrmModule:Fingerprint',
1478
+ recordId: param.id,
1479
+ linkType: 'Fingerprint__Note',
1480
+ relationType: param?.relationType,
1481
+ relatedAssociationId: param?.relatedAssociationId
1482
+ });
1483
+ }
1484
+
1485
+ return await this._createLinks(this.moduleName, this.entityName, noteId, associationDtos);
1486
+ }
1487
+
1488
+ public async removeFingerprintNotes(noteId: string, fingerprintIds: string[]) {
1489
+
1490
+ const associationDtos = [];
1491
+ for(const pk of fingerprintIds){
1492
+ associationDtos.push({
1493
+ entity: 'CrmModule:Fingerprint',
1494
+ recordId: pk,
1495
+ });
1496
+ }
1497
+
1498
+ return await this._deleteLinks(this.moduleName, this.entityName, noteId, associationDtos);
1499
+ }
1500
+
1501
+
1502
+ // Use this function when you want to return a single record
1503
+ public async getYfFieldServiceVisits(noteId: string) {
1504
+ return await this._getLinks(this.moduleName, this.entityName, noteId, 'YfFieldServiceVisit');
1505
+ }
1506
+
1507
+ public async addYfFieldServiceVisitNotes(noteId: string, yfFieldServiceVisitIds: {id: string, relationType?: RelationTypeEnum, relatedAssociationId?: string}[]) {
1508
+
1509
+ const associationDtos = [];
1510
+ for(const param of yfFieldServiceVisitIds){
1511
+ associationDtos.push({
1512
+ entity: 'FieldServiceModule:YfFieldServiceVisit',
1513
+ recordId: param.id,
1514
+ linkType: 'YfFieldServiceVisit__Note',
1515
+ relationType: param?.relationType,
1516
+ relatedAssociationId: param?.relatedAssociationId
1517
+ });
1518
+ }
1519
+
1520
+ return await this._createLinks(this.moduleName, this.entityName, noteId, associationDtos);
1521
+ }
1522
+
1523
+ public async removeYfFieldServiceVisitNotes(noteId: string, yfFieldServiceVisitIds: string[]) {
1524
+
1525
+ const associationDtos = [];
1526
+ for(const pk of yfFieldServiceVisitIds){
1527
+ associationDtos.push({
1528
+ entity: 'FieldServiceModule:YfFieldServiceVisit',
1529
+ recordId: pk,
1530
+ });
1531
+ }
1532
+
1533
+ return await this._deleteLinks(this.moduleName, this.entityName, noteId, associationDtos);
1534
+ }
1535
+
1536
+
1537
+ // Use this function when you want to return a single record
1538
+ public async getRemediationRequiredReasons(noteId: string) {
1539
+ return await this._getLinks(this.moduleName, this.entityName, noteId, 'RemediationRequiredReason');
1540
+ }
1541
+
1542
+ public async addRemediationRequiredReasonNotes(noteId: string, remediationRequiredReasonIds: {id: string, relationType?: RelationTypeEnum, relatedAssociationId?: string}[]) {
1543
+
1544
+ const associationDtos = [];
1545
+ for(const param of remediationRequiredReasonIds){
1546
+ associationDtos.push({
1547
+ entity: 'FieldServiceModule:RemediationRequiredReason',
1548
+ recordId: param.id,
1549
+ linkType: 'RemediationRequiredReason__Note',
1550
+ relationType: param?.relationType,
1551
+ relatedAssociationId: param?.relatedAssociationId
1552
+ });
1553
+ }
1554
+
1555
+ return await this._createLinks(this.moduleName, this.entityName, noteId, associationDtos);
1556
+ }
1557
+
1558
+ public async removeRemediationRequiredReasonNotes(noteId: string, remediationRequiredReasonIds: string[]) {
1559
+
1560
+ const associationDtos = [];
1561
+ for(const pk of remediationRequiredReasonIds){
1562
+ associationDtos.push({
1563
+ entity: 'FieldServiceModule:RemediationRequiredReason',
1564
+ recordId: pk,
1565
+ });
1566
+ }
1567
+
1568
+ return await this._deleteLinks(this.moduleName, this.entityName, noteId, associationDtos);
1569
+ }
1570
+
1571
+
1572
+ // Use this function when you want to return a single record
1573
+ public async getDeactivationApprovals(noteId: string) {
1574
+ return await this._getLinks(this.moduleName, this.entityName, noteId, 'DeactivationApproval');
1575
+ }
1576
+
1577
+ public async addDeactivationApprovalNotes(noteId: string, deactivationApprovalIds: {id: string, relationType?: RelationTypeEnum, relatedAssociationId?: string}[]) {
1578
+
1579
+ const associationDtos = [];
1580
+ for(const param of deactivationApprovalIds){
1581
+ associationDtos.push({
1582
+ entity: 'OrderModule:DeactivationApproval',
1583
+ recordId: param.id,
1584
+ linkType: 'DeactivationApproval__Note',
1585
+ relationType: param?.relationType,
1586
+ relatedAssociationId: param?.relatedAssociationId
1587
+ });
1588
+ }
1589
+
1590
+ return await this._createLinks(this.moduleName, this.entityName, noteId, associationDtos);
1591
+ }
1592
+
1593
+ public async removeDeactivationApprovalNotes(noteId: string, deactivationApprovalIds: string[]) {
1594
+
1595
+ const associationDtos = [];
1596
+ for(const pk of deactivationApprovalIds){
1597
+ associationDtos.push({
1598
+ entity: 'OrderModule:DeactivationApproval',
1599
+ recordId: pk,
1600
+ });
1601
+ }
1602
+
1603
+ return await this._deleteLinks(this.moduleName, this.entityName, noteId, associationDtos);
1604
+ }
1605
+
1606
+
1607
+ // Use this function when you want to return a single record
1608
+ public async getOrderRemediationTasks(noteId: string) {
1609
+ return await this._getLinks(this.moduleName, this.entityName, noteId, 'OrderRemediationTask');
1610
+ }
1611
+
1612
+ public async addOrderRemediationTaskNotes(noteId: string, orderRemediationTaskIds: {id: string, relationType?: RelationTypeEnum, relatedAssociationId?: string}[]) {
1613
+
1614
+ const associationDtos = [];
1615
+ for(const param of orderRemediationTaskIds){
1616
+ associationDtos.push({
1617
+ entity: 'OrderModule:OrderRemediationTask',
1618
+ recordId: param.id,
1619
+ linkType: 'OrderRemediationTask__Note',
1620
+ relationType: param?.relationType,
1621
+ relatedAssociationId: param?.relatedAssociationId
1622
+ });
1623
+ }
1624
+
1625
+ return await this._createLinks(this.moduleName, this.entityName, noteId, associationDtos);
1626
+ }
1627
+
1628
+ public async removeOrderRemediationTaskNotes(noteId: string, orderRemediationTaskIds: string[]) {
1629
+
1630
+ const associationDtos = [];
1631
+ for(const pk of orderRemediationTaskIds){
1632
+ associationDtos.push({
1633
+ entity: 'OrderModule:OrderRemediationTask',
1634
+ recordId: pk,
1635
+ });
1636
+ }
1637
+
1638
+ return await this._deleteLinks(this.moduleName, this.entityName, noteId, associationDtos);
1639
+ }
1640
+
1641
+
1642
+ // Use this function when you want to return a single record
1643
+ public async getCases(noteId: string) {
1644
+ return await this._getLinks(this.moduleName, this.entityName, noteId, 'Case');
1645
+ }
1646
+
1647
+ public async addCaseNotes(noteId: string, caseIds: {id: string, relationType?: RelationTypeEnum, relatedAssociationId?: string}[]) {
1648
+
1649
+ const associationDtos = [];
1650
+ for(const param of caseIds){
1651
+ associationDtos.push({
1652
+ entity: 'SupportModule:Case',
1653
+ recordId: param.id,
1654
+ linkType: 'Case__Note',
1655
+ relationType: param?.relationType,
1656
+ relatedAssociationId: param?.relatedAssociationId
1657
+ });
1658
+ }
1659
+
1660
+ return await this._createLinks(this.moduleName, this.entityName, noteId, associationDtos);
1661
+ }
1662
+
1663
+ public async removeCaseNotes(noteId: string, caseIds: string[]) {
1664
+
1665
+ const associationDtos = [];
1666
+ for(const pk of caseIds){
1667
+ associationDtos.push({
1668
+ entity: 'SupportModule:Case',
1669
+ recordId: pk,
1670
+ });
1671
+ }
1672
+
1673
+ return await this._deleteLinks(this.moduleName, this.entityName, noteId, associationDtos);
1674
+ }
1675
+
1676
+
1677
+ // Use this function when you want to return a single record
1678
+ public async getSmsMessages(noteId: string) {
1679
+ return await this._getLinks(this.moduleName, this.entityName, noteId, 'SmsMessage');
1680
+ }
1681
+
1682
+ public async addSmsMessageNotes(noteId: string, smsMessageIds: {id: string, relationType?: RelationTypeEnum, relatedAssociationId?: string}[]) {
1683
+
1684
+ const associationDtos = [];
1685
+ for(const param of smsMessageIds){
1686
+ associationDtos.push({
1687
+ entity: 'NotificationModule:SmsMessage',
1688
+ recordId: param.id,
1689
+ linkType: 'SmsMessage__Note',
1690
+ relationType: param?.relationType,
1691
+ relatedAssociationId: param?.relatedAssociationId
1692
+ });
1693
+ }
1694
+
1695
+ return await this._createLinks(this.moduleName, this.entityName, noteId, associationDtos);
1696
+ }
1697
+
1698
+ public async removeSmsMessageNotes(noteId: string, smsMessageIds: string[]) {
1699
+
1700
+ const associationDtos = [];
1701
+ for(const pk of smsMessageIds){
1702
+ associationDtos.push({
1703
+ entity: 'NotificationModule:SmsMessage',
1704
+ recordId: pk,
1705
+ });
1706
+ }
1707
+
1708
+ return await this._deleteLinks(this.moduleName, this.entityName, noteId, associationDtos);
1709
+ }
1710
+
1711
+
1712
+ // Use this function when you want to return a single record
1713
+ public async getNotes(noteId: string) {
1714
+ return await this._getLinks(this.moduleName, this.entityName, noteId, 'Note');
1715
+ }
1716
+
1717
+ public async addNoteNotes(noteId: string, noteIds: {id: string, relationType?: RelationTypeEnum, relatedAssociationId?: string}[]) {
1718
+
1719
+ const associationDtos = [];
1720
+ for(const param of noteIds){
1721
+ associationDtos.push({
1722
+ entity: 'SupportModule:Note',
1723
+ recordId: param.id,
1724
+ linkType: 'Note__Note',
1725
+ relationType: param?.relationType,
1726
+ relatedAssociationId: param?.relatedAssociationId
1727
+ });
1728
+ }
1729
+
1730
+ return await this._createLinks(this.moduleName, this.entityName, noteId, associationDtos);
1731
+ }
1732
+
1733
+ public async removeNoteNotes(noteId: string, noteIds: string[]) {
1734
+
1735
+ const associationDtos = [];
1736
+ for(const pk of noteIds){
1737
+ associationDtos.push({
1738
+ entity: 'SupportModule:Note',
1739
+ recordId: pk,
1740
+ });
1741
+ }
1742
+
1743
+ return await this._deleteLinks(this.moduleName, this.entityName, noteId, associationDtos);
1744
+ }
1745
+
1746
+
1747
+ // Use this function when you want to return a single record
1748
+ public async getSweeperMaintenanceAudits(noteId: string) {
1749
+ return await this._getLinks(this.moduleName, this.entityName, noteId, 'SweeperMaintenanceAudit');
1750
+ }
1751
+
1752
+ public async addSweeperMaintenanceAuditNotes(noteId: string, sweeperMaintenanceAuditIds: {id: string, relationType?: RelationTypeEnum, relatedAssociationId?: string}[]) {
1753
+
1754
+ const associationDtos = [];
1755
+ for(const param of sweeperMaintenanceAuditIds){
1756
+ associationDtos.push({
1757
+ entity: 'FieldServiceModule:SweeperMaintenanceAudit',
1758
+ recordId: param.id,
1759
+ linkType: 'SweeperMaintenanceAudit__Note',
1760
+ relationType: param?.relationType,
1761
+ relatedAssociationId: param?.relatedAssociationId
1762
+ });
1763
+ }
1764
+
1765
+ return await this._createLinks(this.moduleName, this.entityName, noteId, associationDtos);
1766
+ }
1767
+
1768
+ public async removeSweeperMaintenanceAuditNotes(noteId: string, sweeperMaintenanceAuditIds: string[]) {
1769
+
1770
+ const associationDtos = [];
1771
+ for(const pk of sweeperMaintenanceAuditIds){
1772
+ associationDtos.push({
1773
+ entity: 'FieldServiceModule:SweeperMaintenanceAudit',
1774
+ recordId: pk,
1775
+ });
1776
+ }
1777
+
1778
+ return await this._deleteLinks(this.moduleName, this.entityName, noteId, associationDtos);
1779
+ }
1780
+
1781
+
1782
+ // Use this function when you want to return a single record
1783
+ public async getBlockageReportA55s(noteId: string) {
1784
+ return await this._getLinks(this.moduleName, this.entityName, noteId, 'BlockageReportA55');
1785
+ }
1786
+
1787
+ public async addBlockageReportA55Notes(noteId: string, blockageReportA55Ids: {id: string, relationType?: RelationTypeEnum, relatedAssociationId?: string}[]) {
1788
+
1789
+ const associationDtos = [];
1790
+ for(const param of blockageReportA55Ids){
1791
+ associationDtos.push({
1792
+ entity: 'FieldServiceModule:BlockageReportA55',
1793
+ recordId: param.id,
1794
+ linkType: 'BlockageReportA55__Note',
1795
+ relationType: param?.relationType,
1796
+ relatedAssociationId: param?.relatedAssociationId
1797
+ });
1798
+ }
1799
+
1800
+ return await this._createLinks(this.moduleName, this.entityName, noteId, associationDtos);
1801
+ }
1802
+
1803
+ public async removeBlockageReportA55Notes(noteId: string, blockageReportA55Ids: string[]) {
1804
+
1805
+ const associationDtos = [];
1806
+ for(const pk of blockageReportA55Ids){
1807
+ associationDtos.push({
1808
+ entity: 'FieldServiceModule:BlockageReportA55',
1809
+ recordId: pk,
1810
+ });
1811
+ }
1812
+
1813
+ return await this._deleteLinks(this.moduleName, this.entityName, noteId, associationDtos);
1814
+ }
1815
+
1816
+
1817
+ // Use this function when you want to return a single record
1818
+ public async getUgInstallationAudits(noteId: string) {
1819
+ return await this._getLinks(this.moduleName, this.entityName, noteId, 'UgInstallationAudit');
1820
+ }
1821
+
1822
+ public async addUgInstallationAuditNotes(noteId: string, ugInstallationAuditIds: {id: string, relationType?: RelationTypeEnum, relatedAssociationId?: string}[]) {
1823
+
1824
+ const associationDtos = [];
1825
+ for(const param of ugInstallationAuditIds){
1826
+ associationDtos.push({
1827
+ entity: 'FieldServiceModule:UgInstallationAudit',
1828
+ recordId: param.id,
1829
+ linkType: 'UgInstallationAudit__Note',
1830
+ relationType: param?.relationType,
1831
+ relatedAssociationId: param?.relatedAssociationId
1832
+ });
1833
+ }
1834
+
1835
+ return await this._createLinks(this.moduleName, this.entityName, noteId, associationDtos);
1836
+ }
1837
+
1838
+ public async removeUgInstallationAuditNotes(noteId: string, ugInstallationAuditIds: string[]) {
1839
+
1840
+ const associationDtos = [];
1841
+ for(const pk of ugInstallationAuditIds){
1842
+ associationDtos.push({
1843
+ entity: 'FieldServiceModule:UgInstallationAudit',
1844
+ recordId: pk,
1845
+ });
1846
+ }
1847
+
1848
+ return await this._deleteLinks(this.moduleName, this.entityName, noteId, associationDtos);
1849
+ }
1850
+
1851
+
1852
+ // Use this function when you want to return a single record
1853
+ public async getOhInstallationAudits(noteId: string) {
1854
+ return await this._getLinks(this.moduleName, this.entityName, noteId, 'OhInstallationAudit');
1855
+ }
1856
+
1857
+ public async addOhInstallationAuditNotes(noteId: string, ohInstallationAuditIds: {id: string, relationType?: RelationTypeEnum, relatedAssociationId?: string}[]) {
1858
+
1859
+ const associationDtos = [];
1860
+ for(const param of ohInstallationAuditIds){
1861
+ associationDtos.push({
1862
+ entity: 'FieldServiceModule:OhInstallationAudit',
1863
+ recordId: param.id,
1864
+ linkType: 'OhInstallationAudit__Note',
1865
+ relationType: param?.relationType,
1866
+ relatedAssociationId: param?.relatedAssociationId
1867
+ });
1868
+ }
1869
+
1870
+ return await this._createLinks(this.moduleName, this.entityName, noteId, associationDtos);
1871
+ }
1872
+
1873
+ public async removeOhInstallationAuditNotes(noteId: string, ohInstallationAuditIds: string[]) {
1874
+
1875
+ const associationDtos = [];
1876
+ for(const pk of ohInstallationAuditIds){
1877
+ associationDtos.push({
1878
+ entity: 'FieldServiceModule:OhInstallationAudit',
1879
+ recordId: pk,
1880
+ });
1881
+ }
1882
+
1883
+ return await this._deleteLinks(this.moduleName, this.entityName, noteId, associationDtos);
1884
+ }
1885
+
1886
+
1887
+ // Use this function when you want to return a single record
1888
+ public async getServiceVisitAudits(noteId: string) {
1889
+ return await this._getLinks(this.moduleName, this.entityName, noteId, 'ServiceVisitAudit');
1890
+ }
1891
+
1892
+ public async addServiceVisitAuditNotes(noteId: string, serviceVisitAuditIds: {id: string, relationType?: RelationTypeEnum, relatedAssociationId?: string}[]) {
1893
+
1894
+ const associationDtos = [];
1895
+ for(const param of serviceVisitAuditIds){
1896
+ associationDtos.push({
1897
+ entity: 'FieldServiceModule:ServiceVisitAudit',
1898
+ recordId: param.id,
1899
+ linkType: 'ServiceVisitAudit__Note',
1900
+ relationType: param?.relationType,
1901
+ relatedAssociationId: param?.relatedAssociationId
1902
+ });
1903
+ }
1904
+
1905
+ return await this._createLinks(this.moduleName, this.entityName, noteId, associationDtos);
1906
+ }
1907
+
1908
+ public async removeServiceVisitAuditNotes(noteId: string, serviceVisitAuditIds: string[]) {
1909
+
1910
+ const associationDtos = [];
1911
+ for(const pk of serviceVisitAuditIds){
1912
+ associationDtos.push({
1913
+ entity: 'FieldServiceModule:ServiceVisitAudit',
1914
+ recordId: pk,
1915
+ });
1916
+ }
1917
+
1918
+ return await this._deleteLinks(this.moduleName, this.entityName, noteId, associationDtos);
1919
+ }
1920
+
1921
+
1922
+ // Use this function when you want to return a single record
1923
+ public async getOhAuditOfInstallations(noteId: string) {
1924
+ return await this._getLinks(this.moduleName, this.entityName, noteId, 'OhAuditOfInstallation');
1925
+ }
1926
+
1927
+ public async addOhAuditOfInstallationNotes(noteId: string, ohAuditOfInstallationIds: {id: string, relationType?: RelationTypeEnum, relatedAssociationId?: string}[]) {
1928
+
1929
+ const associationDtos = [];
1930
+ for(const param of ohAuditOfInstallationIds){
1931
+ associationDtos.push({
1932
+ entity: 'FieldServiceModule:OhAuditOfInstallation',
1933
+ recordId: param.id,
1934
+ linkType: 'OhAuditOfInstallation__Note',
1935
+ relationType: param?.relationType,
1936
+ relatedAssociationId: param?.relatedAssociationId
1937
+ });
1938
+ }
1939
+
1940
+ return await this._createLinks(this.moduleName, this.entityName, noteId, associationDtos);
1941
+ }
1942
+
1943
+ public async removeOhAuditOfInstallationNotes(noteId: string, ohAuditOfInstallationIds: string[]) {
1944
+
1945
+ const associationDtos = [];
1946
+ for(const pk of ohAuditOfInstallationIds){
1947
+ associationDtos.push({
1948
+ entity: 'FieldServiceModule:OhAuditOfInstallation',
1949
+ recordId: pk,
1950
+ });
1951
+ }
1952
+
1953
+ return await this._deleteLinks(this.moduleName, this.entityName, noteId, associationDtos);
1954
+ }
1955
+
1956
+
1957
+ // Use this function when you want to return a single record
1958
+ public async getUgAuditOfInstallations(noteId: string) {
1959
+ return await this._getLinks(this.moduleName, this.entityName, noteId, 'UgAuditOfInstallation');
1960
+ }
1961
+
1962
+ public async addUgAuditOfInstallationNotes(noteId: string, ugAuditOfInstallationIds: {id: string, relationType?: RelationTypeEnum, relatedAssociationId?: string}[]) {
1963
+
1964
+ const associationDtos = [];
1965
+ for(const param of ugAuditOfInstallationIds){
1966
+ associationDtos.push({
1967
+ entity: 'FieldServiceModule:UgAuditOfInstallation',
1968
+ recordId: param.id,
1969
+ linkType: 'UgAuditOfInstallation__Note',
1970
+ relationType: param?.relationType,
1971
+ relatedAssociationId: param?.relatedAssociationId
1972
+ });
1973
+ }
1974
+
1975
+ return await this._createLinks(this.moduleName, this.entityName, noteId, associationDtos);
1976
+ }
1977
+
1978
+ public async removeUgAuditOfInstallationNotes(noteId: string, ugAuditOfInstallationIds: string[]) {
1979
+
1980
+ const associationDtos = [];
1981
+ for(const pk of ugAuditOfInstallationIds){
1982
+ associationDtos.push({
1983
+ entity: 'FieldServiceModule:UgAuditOfInstallation',
1984
+ recordId: pk,
1985
+ });
1986
+ }
1987
+
1988
+ return await this._deleteLinks(this.moduleName, this.entityName, noteId, associationDtos);
1989
+ }
1990
+
1991
+
1992
+ // Use this function when you want to return a single record
1993
+ public async getUgInProgressAudits(noteId: string) {
1994
+ return await this._getLinks(this.moduleName, this.entityName, noteId, 'UgInProgressAudit');
1995
+ }
1996
+
1997
+ public async addUgInProgressAuditNotes(noteId: string, ugInProgressAuditIds: {id: string, relationType?: RelationTypeEnum, relatedAssociationId?: string}[]) {
1998
+
1999
+ const associationDtos = [];
2000
+ for(const param of ugInProgressAuditIds){
2001
+ associationDtos.push({
2002
+ entity: 'FieldServiceModule:UgInProgressAudit',
2003
+ recordId: param.id,
2004
+ linkType: 'UgInProgressAudit_Note',
2005
+ relationType: param?.relationType,
2006
+ relatedAssociationId: param?.relatedAssociationId
2007
+ });
2008
+ }
2009
+
2010
+ return await this._createLinks(this.moduleName, this.entityName, noteId, associationDtos);
2011
+ }
2012
+
2013
+ public async removeUgInProgressAuditNotes(noteId: string, ugInProgressAuditIds: string[]) {
2014
+
2015
+ const associationDtos = [];
2016
+ for(const pk of ugInProgressAuditIds){
2017
+ associationDtos.push({
2018
+ entity: 'FieldServiceModule:UgInProgressAudit',
2019
+ recordId: pk,
2020
+ });
2021
+ }
2022
+
2023
+ return await this._deleteLinks(this.moduleName, this.entityName, noteId, associationDtos);
2024
+ }
2025
+
2026
+
2027
+ // Use this function when you want to return a single record
2028
+ public async getOhInProgressAudits(noteId: string) {
2029
+ return await this._getLinks(this.moduleName, this.entityName, noteId, 'OhInProgressAudit');
2030
+ }
2031
+
2032
+ public async addOhInProgressAuditNotes(noteId: string, ohInProgressAuditIds: {id: string, relationType?: RelationTypeEnum, relatedAssociationId?: string}[]) {
2033
+
2034
+ const associationDtos = [];
2035
+ for(const param of ohInProgressAuditIds){
2036
+ associationDtos.push({
2037
+ entity: 'FieldServiceModule:OhInProgressAudit',
2038
+ recordId: param.id,
2039
+ linkType: 'OhInProgressAudit_Note',
2040
+ relationType: param?.relationType,
2041
+ relatedAssociationId: param?.relatedAssociationId
2042
+ });
2043
+ }
2044
+
2045
+ return await this._createLinks(this.moduleName, this.entityName, noteId, associationDtos);
2046
+ }
2047
+
2048
+ public async removeOhInProgressAuditNotes(noteId: string, ohInProgressAuditIds: string[]) {
2049
+
2050
+ const associationDtos = [];
2051
+ for(const pk of ohInProgressAuditIds){
2052
+ associationDtos.push({
2053
+ entity: 'FieldServiceModule:OhInProgressAudit',
2054
+ recordId: pk,
2055
+ });
2056
+ }
2057
+
2058
+ return await this._deleteLinks(this.moduleName, this.entityName, noteId, associationDtos);
2059
+ }
2060
+
2061
+
2062
+ // Use this function when you want to return a single record
2063
+ public async getOverlayRealA55s(noteId: string) {
2064
+ return await this._getLinks(this.moduleName, this.entityName, noteId, 'OverlayRealA55');
2065
+ }
2066
+
2067
+ public async addOverlayRealA55Notes(noteId: string, overlayRealA55Ids: {id: string, relationType?: RelationTypeEnum, relatedAssociationId?: string}[]) {
2068
+
2069
+ const associationDtos = [];
2070
+ for(const param of overlayRealA55Ids){
2071
+ associationDtos.push({
2072
+ entity: 'FieldServiceModule:OverlayRealA55',
2073
+ recordId: param.id,
2074
+ linkType: 'OverlayRealA55_Note',
2075
+ relationType: param?.relationType,
2076
+ relatedAssociationId: param?.relatedAssociationId
2077
+ });
2078
+ }
2079
+
2080
+ return await this._createLinks(this.moduleName, this.entityName, noteId, associationDtos);
2081
+ }
2082
+
2083
+ public async removeOverlayRealA55Notes(noteId: string, overlayRealA55Ids: string[]) {
2084
+
2085
+ const associationDtos = [];
2086
+ for(const pk of overlayRealA55Ids){
2087
+ associationDtos.push({
2088
+ entity: 'FieldServiceModule:OverlayRealA55',
2089
+ recordId: pk,
2090
+ });
2091
+ }
2092
+
2093
+ return await this._deleteLinks(this.moduleName, this.entityName, noteId, associationDtos);
2094
+ }
2095
+
2096
+
2097
+ // Use this function when you want to return a single record
2098
+ public async getOhExternalAudits(noteId: string) {
2099
+ return await this._getLinks(this.moduleName, this.entityName, noteId, 'OhExternalAudit');
2100
+ }
2101
+
2102
+ public async addOhExternalAuditNotes(noteId: string, ohExternalAuditIds: {id: string, relationType?: RelationTypeEnum, relatedAssociationId?: string}[]) {
2103
+
2104
+ const associationDtos = [];
2105
+ for(const param of ohExternalAuditIds){
2106
+ associationDtos.push({
2107
+ entity: 'FieldServiceModule:OhExternalAudit',
2108
+ recordId: param.id,
2109
+ linkType: 'OhExternalAudit_Note',
2110
+ relationType: param?.relationType,
2111
+ relatedAssociationId: param?.relatedAssociationId
2112
+ });
2113
+ }
2114
+
2115
+ return await this._createLinks(this.moduleName, this.entityName, noteId, associationDtos);
2116
+ }
2117
+
2118
+ public async removeOhExternalAuditNotes(noteId: string, ohExternalAuditIds: string[]) {
2119
+
2120
+ const associationDtos = [];
2121
+ for(const pk of ohExternalAuditIds){
2122
+ associationDtos.push({
2123
+ entity: 'FieldServiceModule:OhExternalAudit',
2124
+ recordId: pk,
2125
+ });
2126
+ }
2127
+
2128
+ return await this._deleteLinks(this.moduleName, this.entityName, noteId, associationDtos);
2129
+ }
2130
+
2131
+
2132
+ }