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