@d19n/youfibre-odin-sdk 2.0.30 → 2.0.31

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 (353) hide show
  1. package/README.md +13 -2
  2. package/dist/EntityRegistry.d.ts +2 -0
  3. package/dist/EntityRegistry.js +2 -0
  4. package/dist/OdinApiClient.d.ts +4 -0
  5. package/dist/OdinApiClient.js +8 -0
  6. package/dist/OdinDbClient.d.ts +4 -0
  7. package/dist/OdinDbClient.js +8 -0
  8. package/dist/accessors-v2/ContactIdentityAccessor.d.ts +111 -0
  9. package/dist/accessors-v2/ContactIdentityAccessor.js +190 -0
  10. package/dist/accessors-v2/index.d.ts +1 -0
  11. package/dist/accessors-v2/index.js +5 -3
  12. package/dist/actions-v2/BillingAdjustmentCreateDto.d.ts +8 -1
  13. package/dist/actions-v2/CompleteChurnRequestDto.d.ts +15 -5
  14. package/dist/actions-v2/CompleteChurnRequestFlowDto.d.ts +15 -5
  15. package/dist/actions-v2/CreateAuddisPgReportAllocationDto.d.ts +88 -0
  16. package/dist/actions-v2/CreateAuddisPgReportAllocationDto.js +59 -0
  17. package/dist/actions-v2/CreateBacsPgReportAllocationDto.d.ts +88 -0
  18. package/dist/actions-v2/CreateBacsPgReportAllocationDto.js +59 -0
  19. package/dist/actions-v2/CreateBrskMigrationErrorDto.d.ts +10 -3
  20. package/dist/actions-v2/CreateBrskMigrationErrorDto.js +11 -4
  21. package/dist/actions-v2/CreateCaseDto.d.ts +3 -4
  22. package/dist/actions-v2/CreateCaseFromCasesDto.d.ts +4 -6
  23. package/dist/actions-v2/CreateCaseFromContactDto.d.ts +3 -4
  24. package/dist/actions-v2/CreatePgContactDto.d.ts +9 -1
  25. package/dist/actions-v2/CreatePgPaymentMethodDto.d.ts +9 -1
  26. package/dist/actions-v2/CreatePgTransactionChargeDto.d.ts +9 -1
  27. package/dist/actions-v2/CreatePgTransactionRefundDto.d.ts +9 -1
  28. package/dist/actions-v2/EditCaseFormDto.d.ts +8 -1
  29. package/dist/actions-v2/MovePgWebhookToSentDto.d.ts +70 -0
  30. package/dist/actions-v2/MovePgWebhookToSentDto.js +62 -0
  31. package/dist/actions-v2/UpdateBngProvisionDto.d.ts +0 -14
  32. package/dist/actions-v2/UpdateContactIdentityDto.d.ts +79 -0
  33. package/dist/actions-v2/UpdateContactIdentityDto.js +56 -0
  34. package/dist/actions-v2/UpdateCustomerDeviceOntDto.d.ts +22 -1
  35. package/dist/actions-v2/UpdateOneTouchSwitchOrderForActivationDto.d.ts +77 -0
  36. package/dist/actions-v2/UpdateOneTouchSwitchOrderForActivationDto.js +61 -0
  37. package/dist/actions-v2/UpdatePaymentMethodDto.d.ts +17 -14
  38. package/dist/actions-v2/UpdatePaymentMethodDto.js +4 -6
  39. package/dist/actions-v2/UpdatePgContactDto.d.ts +8 -1
  40. package/dist/actions-v2/UpdatePgPaymentMethodDto.d.ts +8 -1
  41. package/dist/actions-v2/UpdatePgTransactionChargeDto.d.ts +8 -1
  42. package/dist/actions-v2/UpdatePgTransactionRefundDto.d.ts +8 -1
  43. package/dist/api-sdk-v2/ContactApi.d.ts +2 -0
  44. package/dist/api-sdk-v2/ContactApi.js +6 -0
  45. package/dist/api-sdk-v2/PaymentMethodApi.d.ts +2 -0
  46. package/dist/api-sdk-v2/PaymentMethodApi.js +6 -0
  47. package/dist/api-sdk-v2/PaymentMethodRefundApi.d.ts +2 -0
  48. package/dist/api-sdk-v2/PaymentMethodRefundApi.js +6 -0
  49. package/dist/api-sdk-v2/PgContactApi.d.ts +2 -0
  50. package/dist/api-sdk-v2/PgContactApi.js +6 -0
  51. package/dist/api-sdk-v2/PgPaymentMethodApi.d.ts +2 -0
  52. package/dist/api-sdk-v2/PgPaymentMethodApi.js +6 -0
  53. package/dist/api-sdk-v2/PgTransactionApi.d.ts +4 -0
  54. package/dist/api-sdk-v2/PgTransactionApi.js +12 -0
  55. package/dist/api-sdk-v2/TransactionApi.d.ts +2 -0
  56. package/dist/api-sdk-v2/TransactionApi.js +6 -0
  57. package/dist/db-accessors-v2/ContactIdentityDbAccessor.d.ts +149 -0
  58. package/dist/db-accessors-v2/ContactIdentityDbAccessor.js +227 -0
  59. package/dist/db-accessors-v2/index.d.ts +1 -0
  60. package/dist/db-accessors-v2/index.js +5 -3
  61. package/dist/db-sdk-v2/ContactDb.d.ts +2 -0
  62. package/dist/db-sdk-v2/ContactDb.js +6 -0
  63. package/dist/db-sdk-v2/PaymentMethodDb.d.ts +2 -0
  64. package/dist/db-sdk-v2/PaymentMethodDb.js +6 -0
  65. package/dist/db-sdk-v2/PaymentMethodRefundDb.d.ts +2 -0
  66. package/dist/db-sdk-v2/PaymentMethodRefundDb.js +6 -0
  67. package/dist/db-sdk-v2/PgContactDb.d.ts +2 -0
  68. package/dist/db-sdk-v2/PgContactDb.js +6 -0
  69. package/dist/db-sdk-v2/PgPaymentMethodDb.d.ts +2 -0
  70. package/dist/db-sdk-v2/PgPaymentMethodDb.js +6 -0
  71. package/dist/db-sdk-v2/PgTransactionDb.d.ts +4 -0
  72. package/dist/db-sdk-v2/PgTransactionDb.js +12 -0
  73. package/dist/db-sdk-v2/TransactionDb.d.ts +2 -0
  74. package/dist/db-sdk-v2/TransactionDb.js +6 -0
  75. package/dist/entities-v2/BillingAdjustment.d.ts +77 -70
  76. package/dist/entities-v2/BillingAdjustment.js +35 -33
  77. package/dist/entities-v2/BngProvision.d.ts +0 -14
  78. package/dist/entities-v2/BngProvision.js +0 -4
  79. package/dist/entities-v2/BrskEntityMigrationError.d.ts +14 -14
  80. package/dist/entities-v2/BrskEntityMigrationError.js +4 -4
  81. package/dist/entities-v2/Case.d.ts +12 -0
  82. package/dist/entities-v2/Case.js +2 -0
  83. package/dist/entities-v2/ChurnRequest.d.ts +8 -1
  84. package/dist/entities-v2/ChurnRequest.js +2 -0
  85. package/dist/entities-v2/Config.d.ts +8 -8
  86. package/dist/entities-v2/Config.js +4 -4
  87. package/dist/entities-v2/Contact.d.ts +3 -0
  88. package/dist/entities-v2/Conversation.d.ts +0 -2
  89. package/dist/entities-v2/Conversation.js +0 -2
  90. package/dist/entities-v2/CustomerDeviceOnt.d.ts +8 -1
  91. package/dist/entities-v2/CustomerDeviceOnt.js +2 -0
  92. package/dist/entities-v2/Order.d.ts +21 -0
  93. package/dist/entities-v2/Order.js +6 -0
  94. package/dist/entities-v2/PaymentMethod.d.ts +6 -1
  95. package/dist/entities-v2/PaymentMethod.js +2 -0
  96. package/dist/entities-v2/PaymentMethodRefund.d.ts +3 -0
  97. package/dist/entities-v2/PgContact.d.ts +14 -0
  98. package/dist/entities-v2/PgContact.js +7 -1
  99. package/dist/entities-v2/PgFileAllocation.d.ts +17 -17
  100. package/dist/entities-v2/PgFileAllocation.js +2 -2
  101. package/dist/entities-v2/PgPaymentMethod.d.ts +14 -0
  102. package/dist/entities-v2/PgPaymentMethod.js +7 -1
  103. package/dist/entities-v2/PgTransaction.d.ts +48 -0
  104. package/dist/entities-v2/PgTransaction.js +13 -1
  105. package/dist/entities-v2/PgWebhook.d.ts +19 -3
  106. package/dist/entities-v2/PgWebhook.js +17 -1
  107. package/dist/entities-v2/PriceBook.d.ts +8 -8
  108. package/dist/entities-v2/PriceBook.js +2 -2
  109. package/dist/entities-v2/Referral.d.ts +1 -1
  110. package/dist/entities-v2/Referral.js +1 -1
  111. package/dist/entities-v2/Reward.d.ts +1 -1
  112. package/dist/entities-v2/Reward.js +1 -1
  113. package/dist/entities-v2/Service.d.ts +28 -20
  114. package/dist/entities-v2/Service.js +23 -15
  115. package/dist/entities-v2/Transaction.d.ts +6 -1
  116. package/dist/entities-v2/Transaction.js +2 -0
  117. package/dist/entities-v2/VoiceConfiguration.d.ts +8 -1
  118. package/dist/entities-v2/VoiceConfiguration.js +2 -0
  119. package/dist/entities-v2/WorkOrder.d.ts +3 -2
  120. package/dist/entities-v2/WorkOrder.js +3 -2
  121. package/dist/records-v2/AccountCreditRecord.d.ts +1 -82
  122. package/dist/records-v2/AccountCreditRecord.js +0 -124
  123. package/dist/records-v2/AccountRecord.d.ts +2 -306
  124. package/dist/records-v2/AccountRecord.js +0 -451
  125. package/dist/records-v2/ActivityLogRecord.d.ts +1 -122
  126. package/dist/records-v2/ActivityLogRecord.js +0 -190
  127. package/dist/records-v2/ActivityRecord.d.ts +2 -255
  128. package/dist/records-v2/ActivityRecord.js +0 -387
  129. package/dist/records-v2/AddressRecord.d.ts +0 -321
  130. package/dist/records-v2/AddressRecord.js +0 -532
  131. package/dist/records-v2/AffiliateCodeRecord.d.ts +1 -102
  132. package/dist/records-v2/AffiliateCodeRecord.js +0 -157
  133. package/dist/records-v2/AppointmentRecord.d.ts +0 -141
  134. package/dist/records-v2/AppointmentRecord.js +0 -235
  135. package/dist/records-v2/BillingAdjustmentRecord.d.ts +0 -81
  136. package/dist/records-v2/BillingAdjustmentRecord.js +0 -136
  137. package/dist/records-v2/BillingRequestRecord.d.ts +2 -178
  138. package/dist/records-v2/BillingRequestRecord.js +0 -271
  139. package/dist/records-v2/BlockageA55Record.d.ts +2 -103
  140. package/dist/records-v2/BlockageA55Record.js +0 -157
  141. package/dist/records-v2/BngProvisionRecord.d.ts +1 -42
  142. package/dist/records-v2/BngProvisionRecord.js +0 -58
  143. package/dist/records-v2/BrskEntityMigrationErrorRecord.d.ts +3 -23
  144. package/dist/records-v2/BrskEntityMigrationErrorRecord.js +3 -24
  145. package/dist/records-v2/CallEventRecord.d.ts +1 -82
  146. package/dist/records-v2/CallEventRecord.js +0 -124
  147. package/dist/records-v2/CallLegRecord.d.ts +1 -82
  148. package/dist/records-v2/CallLegRecord.js +0 -124
  149. package/dist/records-v2/CallRecord.d.ts +1 -202
  150. package/dist/records-v2/CallRecord.js +0 -322
  151. package/dist/records-v2/CallTransferRecord.d.ts +1 -102
  152. package/dist/records-v2/CallTransferRecord.js +0 -157
  153. package/dist/records-v2/CampaignRecord.d.ts +2 -83
  154. package/dist/records-v2/CampaignRecord.js +0 -124
  155. package/dist/records-v2/CaseRecord.d.ts +2 -398
  156. package/dist/records-v2/CaseRecord.js +0 -634
  157. package/dist/records-v2/ChangeReasonRecord.d.ts +2 -171
  158. package/dist/records-v2/ChangeReasonRecord.js +0 -238
  159. package/dist/records-v2/ChurnRequestRecord.d.ts +1 -62
  160. package/dist/records-v2/ChurnRequestRecord.js +0 -91
  161. package/dist/records-v2/ContactIdentityRecord.d.ts +163 -0
  162. package/dist/records-v2/ContactIdentityRecord.js +223 -0
  163. package/dist/records-v2/ContactRecord.d.ts +0 -540
  164. package/dist/records-v2/ContactRecord.js +0 -894
  165. package/dist/records-v2/ContractBuyOutRecord.d.ts +1 -162
  166. package/dist/records-v2/ContractBuyOutRecord.js +0 -256
  167. package/dist/records-v2/ConversationRecord.d.ts +1 -82
  168. package/dist/records-v2/ConversationRecord.js +0 -124
  169. package/dist/records-v2/CreditNoteRecord.d.ts +0 -101
  170. package/dist/records-v2/CreditNoteRecord.js +0 -169
  171. package/dist/records-v2/CrmDatasetRecord.d.ts +2 -191
  172. package/dist/records-v2/CrmDatasetRecord.js +0 -271
  173. package/dist/records-v2/CustomerDeviceAtaRecord.d.ts +0 -21
  174. package/dist/records-v2/CustomerDeviceAtaRecord.js +0 -37
  175. package/dist/records-v2/CustomerDeviceConfigurationRecord.d.ts +1 -62
  176. package/dist/records-v2/CustomerDeviceConfigurationRecord.js +0 -91
  177. package/dist/records-v2/CustomerDeviceOntRecord.d.ts +0 -181
  178. package/dist/records-v2/CustomerDeviceOntRecord.js +0 -301
  179. package/dist/records-v2/CustomerDeviceRouterRecord.d.ts +0 -141
  180. package/dist/records-v2/CustomerDeviceRouterRecord.js +0 -235
  181. package/dist/records-v2/CustomerPhonePortingRecord.d.ts +0 -21
  182. package/dist/records-v2/CustomerPhonePortingRecord.js +0 -37
  183. package/dist/records-v2/DiscountRecord.d.ts +0 -121
  184. package/dist/records-v2/DiscountRecord.js +0 -202
  185. package/dist/records-v2/EmailRecord.d.ts +2 -230
  186. package/dist/records-v2/EmailRecord.js +0 -336
  187. package/dist/records-v2/EmailSenderRecord.d.ts +1 -42
  188. package/dist/records-v2/EmailSenderRecord.js +0 -58
  189. package/dist/records-v2/EmailTemplateRecord.d.ts +1 -21
  190. package/dist/records-v2/EmailTemplateRecord.js +0 -21
  191. package/dist/records-v2/FieldServiceDispatchedProductRecord.d.ts +2 -135
  192. package/dist/records-v2/FieldServiceDispatchedProductRecord.js +0 -189
  193. package/dist/records-v2/FieldServiceProductRecord.d.ts +2 -115
  194. package/dist/records-v2/FieldServiceProductRecord.js +0 -156
  195. package/dist/records-v2/FileRecord.d.ts +2 -1211
  196. package/dist/records-v2/FileRecord.js +0 -1902
  197. package/dist/records-v2/ImpersonationTrackerRecord.d.ts +1 -62
  198. package/dist/records-v2/ImpersonationTrackerRecord.js +0 -91
  199. package/dist/records-v2/InternalInstallAuditRecord.d.ts +2 -83
  200. package/dist/records-v2/InternalInstallAuditRecord.js +0 -124
  201. package/dist/records-v2/InvoiceItemRecord.d.ts +0 -40
  202. package/dist/records-v2/InvoiceItemRecord.js +0 -69
  203. package/dist/records-v2/InvoiceRecord.d.ts +2 -399
  204. package/dist/records-v2/InvoiceRecord.js +0 -635
  205. package/dist/records-v2/KnowledgeArticleRecord.d.ts +2 -98
  206. package/dist/records-v2/KnowledgeArticleRecord.js +0 -139
  207. package/dist/records-v2/LeadRecord.d.ts +0 -261
  208. package/dist/records-v2/LeadRecord.js +0 -433
  209. package/dist/records-v2/MessageRecord.d.ts +2 -131
  210. package/dist/records-v2/MessageRecord.js +0 -172
  211. package/dist/records-v2/NetworkDeviceRecord.d.ts +2 -43
  212. package/dist/records-v2/NetworkDeviceRecord.js +0 -58
  213. package/dist/records-v2/NoteRecord.d.ts +1 -1121
  214. package/dist/records-v2/NoteRecord.js +0 -1839
  215. package/dist/records-v2/OfferRecord.d.ts +2 -154
  216. package/dist/records-v2/OfferRecord.js +0 -221
  217. package/dist/records-v2/OhAuditOfInstallationRecord.d.ts +2 -83
  218. package/dist/records-v2/OhAuditOfInstallationRecord.js +0 -124
  219. package/dist/records-v2/OhExternalAuditRecord.d.ts +2 -83
  220. package/dist/records-v2/OhExternalAuditRecord.js +0 -124
  221. package/dist/records-v2/OhInProgressAuditRecord.d.ts +2 -83
  222. package/dist/records-v2/OhInProgressAuditRecord.js +0 -124
  223. package/dist/records-v2/OhInstallationAuditRecord.d.ts +2 -83
  224. package/dist/records-v2/OhInstallationAuditRecord.js +0 -124
  225. package/dist/records-v2/OhRetroAuditRecord.d.ts +2 -83
  226. package/dist/records-v2/OhRetroAuditRecord.js +0 -124
  227. package/dist/records-v2/OneTouchSwitchRecord.d.ts +30 -255
  228. package/dist/records-v2/OneTouchSwitchRecord.js +37 -387
  229. package/dist/records-v2/OntReplacementApprovalRecord.d.ts +1 -62
  230. package/dist/records-v2/OntReplacementApprovalRecord.js +0 -91
  231. package/dist/records-v2/OrderCheckRecord.d.ts +0 -21
  232. package/dist/records-v2/OrderCheckRecord.js +0 -37
  233. package/dist/records-v2/OrderItemRecord.d.ts +0 -300
  234. package/dist/records-v2/OrderItemRecord.js +0 -498
  235. package/dist/records-v2/OrderKciRecord.d.ts +1 -42
  236. package/dist/records-v2/OrderKciRecord.js +0 -58
  237. package/dist/records-v2/OrderRecord.d.ts +0 -620
  238. package/dist/records-v2/OrderRecord.js +0 -1026
  239. package/dist/records-v2/OutageRecord.d.ts +1 -42
  240. package/dist/records-v2/OutageRecord.js +0 -58
  241. package/dist/records-v2/OverlayRealA55Record.d.ts +2 -83
  242. package/dist/records-v2/OverlayRealA55Record.js +0 -124
  243. package/dist/records-v2/PICRequestRecord.d.ts +1 -62
  244. package/dist/records-v2/PICRequestRecord.js +0 -91
  245. package/dist/records-v2/PaymentMethodRecord.d.ts +7 -127
  246. package/dist/records-v2/PaymentMethodRecord.js +15 -209
  247. package/dist/records-v2/PaymentMethodRefundRecord.d.ts +0 -181
  248. package/dist/records-v2/PaymentMethodRefundRecord.js +0 -301
  249. package/dist/records-v2/PaymentRecord.d.ts +1 -82
  250. package/dist/records-v2/PaymentRecord.js +0 -124
  251. package/dist/records-v2/PermissionToFailRecord.d.ts +0 -61
  252. package/dist/records-v2/PermissionToFailRecord.js +0 -103
  253. package/dist/records-v2/PgAccountValidationRecord.d.ts +1 -21
  254. package/dist/records-v2/PgAccountValidationRecord.js +0 -21
  255. package/dist/records-v2/PgContactRecord.d.ts +1 -62
  256. package/dist/records-v2/PgContactRecord.js +0 -91
  257. package/dist/records-v2/PgDirectDebitFileRecord.d.ts +2 -95
  258. package/dist/records-v2/PgDirectDebitFileRecord.js +0 -123
  259. package/dist/records-v2/PgDisputeRecord.d.ts +1 -62
  260. package/dist/records-v2/PgDisputeRecord.js +0 -91
  261. package/dist/records-v2/PgFileAllocationRecord.d.ts +58 -140
  262. package/dist/records-v2/PgFileAllocationRecord.js +72 -185
  263. package/dist/records-v2/PgLogRecord.d.ts +1 -21
  264. package/dist/records-v2/PgLogRecord.js +0 -21
  265. package/dist/records-v2/PgPaymentMethodRecord.d.ts +1 -102
  266. package/dist/records-v2/PgPaymentMethodRecord.js +0 -157
  267. package/dist/records-v2/PgSortCodeSubstitutionRecord.d.ts +1 -21
  268. package/dist/records-v2/PgSortCodeSubstitutionRecord.js +0 -21
  269. package/dist/records-v2/PgTransactionRecord.d.ts +2 -135
  270. package/dist/records-v2/PgTransactionRecord.js +0 -189
  271. package/dist/records-v2/PgVocalinkRecord.d.ts +1 -21
  272. package/dist/records-v2/PgVocalinkRecord.js +0 -21
  273. package/dist/records-v2/PgWebhookAttemptRecord.d.ts +1 -42
  274. package/dist/records-v2/PgWebhookAttemptRecord.js +0 -58
  275. package/dist/records-v2/PgWebhookRecord.d.ts +26 -122
  276. package/dist/records-v2/PgWebhookRecord.js +29 -190
  277. package/dist/records-v2/PhoneNumberRecord.d.ts +0 -41
  278. package/dist/records-v2/PhoneNumberRecord.js +0 -70
  279. package/dist/records-v2/PriceBookRecord.d.ts +0 -21
  280. package/dist/records-v2/PriceBookRecord.js +0 -37
  281. package/dist/records-v2/ProductRecord.d.ts +2 -258
  282. package/dist/records-v2/ProductRecord.js +0 -351
  283. package/dist/records-v2/PushNotificationRecord.d.ts +1 -162
  284. package/dist/records-v2/PushNotificationRecord.js +0 -256
  285. package/dist/records-v2/ReferralRecord.d.ts +2 -143
  286. package/dist/records-v2/ReferralRecord.js +0 -223
  287. package/dist/records-v2/RemediationOutcomeFormRecord.d.ts +2 -83
  288. package/dist/records-v2/RemediationOutcomeFormRecord.js +0 -124
  289. package/dist/records-v2/RemediationRequiredReasonRecord.d.ts +2 -103
  290. package/dist/records-v2/RemediationRequiredReasonRecord.js +0 -157
  291. package/dist/records-v2/ReturnsRecord.d.ts +1 -62
  292. package/dist/records-v2/ReturnsRecord.js +0 -91
  293. package/dist/records-v2/RewardRecord.d.ts +2 -123
  294. package/dist/records-v2/RewardRecord.js +0 -190
  295. package/dist/records-v2/SalesTerritoryRecord.d.ts +2 -79
  296. package/dist/records-v2/SalesTerritoryRecord.js +0 -107
  297. package/dist/records-v2/ScheduleSlotRecord.d.ts +1 -42
  298. package/dist/records-v2/ScheduleSlotRecord.js +0 -58
  299. package/dist/records-v2/ServiceAppointmentConfigRecord.d.ts +2 -287
  300. package/dist/records-v2/ServiceAppointmentConfigRecord.js +0 -367
  301. package/dist/records-v2/ServiceAppointmentRecord.d.ts +0 -81
  302. package/dist/records-v2/ServiceAppointmentRecord.js +0 -136
  303. package/dist/records-v2/ServiceRecord.d.ts +0 -40
  304. package/dist/records-v2/ServiceRecord.js +0 -69
  305. package/dist/records-v2/ServiceVisitAuditRecord.d.ts +2 -83
  306. package/dist/records-v2/ServiceVisitAuditRecord.js +0 -124
  307. package/dist/records-v2/SiteSpecificRiskAssessmentOutcomeFormRecord.d.ts +2 -83
  308. package/dist/records-v2/SiteSpecificRiskAssessmentOutcomeFormRecord.js +0 -124
  309. package/dist/records-v2/SmsMessageRecord.d.ts +2 -175
  310. package/dist/records-v2/SmsMessageRecord.js +0 -255
  311. package/dist/records-v2/SweeperMaintenanceAuditRecord.d.ts +2 -83
  312. package/dist/records-v2/SweeperMaintenanceAuditRecord.js +0 -124
  313. package/dist/records-v2/TeamRecord.d.ts +0 -101
  314. package/dist/records-v2/TeamRecord.js +0 -169
  315. package/dist/records-v2/TestEntityForVisualBuilderRecord.d.ts +2 -115
  316. package/dist/records-v2/TestEntityForVisualBuilderRecord.js +0 -156
  317. package/dist/records-v2/TimeSlotRecord.d.ts +0 -21
  318. package/dist/records-v2/TimeSlotRecord.js +0 -37
  319. package/dist/records-v2/TransactionRecord.d.ts +1 -181
  320. package/dist/records-v2/TransactionRecord.js +0 -288
  321. package/dist/records-v2/TwilioUserUpdateRecord.d.ts +1 -42
  322. package/dist/records-v2/TwilioUserUpdateRecord.js +0 -58
  323. package/dist/records-v2/UgAuditOfInstallationRecord.d.ts +2 -83
  324. package/dist/records-v2/UgAuditOfInstallationRecord.js +0 -124
  325. package/dist/records-v2/UgExternalAuditRecord.d.ts +2 -83
  326. package/dist/records-v2/UgExternalAuditRecord.js +0 -124
  327. package/dist/records-v2/UgInProgressAuditRecord.d.ts +2 -83
  328. package/dist/records-v2/UgInProgressAuditRecord.js +0 -124
  329. package/dist/records-v2/UgInstallationAuditRecord.d.ts +2 -83
  330. package/dist/records-v2/UgInstallationAuditRecord.js +0 -124
  331. package/dist/records-v2/UgRetroAuditRecord.d.ts +2 -83
  332. package/dist/records-v2/UgRetroAuditRecord.js +0 -124
  333. package/dist/records-v2/UserRecord.d.ts +0 -380
  334. package/dist/records-v2/UserRecord.js +0 -630
  335. package/dist/records-v2/VisitRecord.d.ts +0 -121
  336. package/dist/records-v2/VisitRecord.js +0 -202
  337. package/dist/records-v2/VoiceConfigurationRecord.d.ts +0 -21
  338. package/dist/records-v2/VoiceConfigurationRecord.js +0 -37
  339. package/dist/records-v2/WayleaveAuditRecord.d.ts +2 -83
  340. package/dist/records-v2/WayleaveAuditRecord.js +0 -124
  341. package/dist/records-v2/WorkOrderRecord.d.ts +2 -1226
  342. package/dist/records-v2/WorkOrderRecord.js +0 -1865
  343. package/dist/records-v2/WorkOrderStatusUpdateRecord.d.ts +2 -75
  344. package/dist/records-v2/WorkOrderStatusUpdateRecord.js +0 -90
  345. package/dist/records-v2/YfFieldServiceVisitRecord.d.ts +2 -83
  346. package/dist/records-v2/YfFieldServiceVisitRecord.js +0 -124
  347. package/dist/records-v2/YfStockAuditRecord.d.ts +2 -103
  348. package/dist/records-v2/YfStockAuditRecord.js +0 -157
  349. package/dist/records-v2/index.d.ts +1 -0
  350. package/dist/records-v2/index.js +4 -1
  351. package/package.json +1 -1
  352. package/dist/actions-v2/UpdatePgAllocationWithBacsReportDto.d.ts +0 -85
  353. package/dist/actions-v2/UpdatePgAllocationWithBacsReportDto.js +0 -61
@@ -138,7 +138,9 @@ export declare enum ChurnRequestPropertyKeys {
138
138
  /** Contact information field for ChurnRequest. Used by Sales team for communication. */
139
139
  Address = "Address",
140
140
  /** Gaining Provider */
141
- GainingProvider = "GainingProvider"
141
+ GainingProvider = "GainingProvider",
142
+ /** Gaining Provider Package */
143
+ GainingProviderPackage = "GainingProviderPackage"
142
144
  }
143
145
  /**
144
146
  * Properties for ChurnRequest records
@@ -187,6 +189,11 @@ export interface ChurnRequestProperties {
187
189
  * @enum {ChurnRequestGainingProvider}
188
190
  */
189
191
  GainingProvider: ChurnRequestGainingProvider;
192
+ /** Gaining Provider Package
193
+ *
194
+ * @type {TEXT}
195
+ */
196
+ GainingProviderPackage: string;
190
197
  }
191
198
  /**
192
199
  * ChurnRequest entity from OrderModule
@@ -147,6 +147,8 @@ var ChurnRequestPropertyKeys;
147
147
  ChurnRequestPropertyKeys["Address"] = "Address";
148
148
  /** Gaining Provider */
149
149
  ChurnRequestPropertyKeys["GainingProvider"] = "GainingProvider";
150
+ /** Gaining Provider Package */
151
+ ChurnRequestPropertyKeys["GainingProviderPackage"] = "GainingProviderPackage";
150
152
  })(ChurnRequestPropertyKeys = exports.ChurnRequestPropertyKeys || (exports.ChurnRequestPropertyKeys = {}));
151
153
  /**
152
154
  * ChurnRequest entity from OrderModule
@@ -23,12 +23,12 @@ export declare enum ConfigEntityTypes {
23
23
  * Use these constants instead of string literals for type safety
24
24
  */
25
25
  export declare enum ConfigPropertyKeys {
26
- /** Data field for Config records. Used by Platform team. */
27
- Test = "Test",
26
+ /** the name of the app this config relates to (Platform - Config) */
27
+ AppName = "AppName",
28
28
  /** object of { key: value } mappings (Platform - Config) */
29
29
  Mappings = "Mappings",
30
- /** the name of the app this config relates to (Platform - Config) */
31
- AppName = "AppName"
30
+ /** Data field for Config records. Used by Platform team. */
31
+ Test = "Test"
32
32
  }
33
33
  /**
34
34
  * Properties for Config records
@@ -36,21 +36,21 @@ export declare enum ConfigPropertyKeys {
36
36
  * @see SchemaModule:Config
37
37
  */
38
38
  export interface ConfigProperties {
39
- /** Data field for Config records. Used by Platform team.
39
+ /** the name of the app this config relates to (Platform - Config)
40
40
  *
41
41
  * @type {TEXT}
42
42
  */
43
- Test: string;
43
+ AppName: string;
44
44
  /** object of { key: value } mappings (Platform - Config)
45
45
  *
46
46
  * @type {JSON}
47
47
  */
48
48
  Mappings: string;
49
- /** the name of the app this config relates to (Platform - Config)
49
+ /** Data field for Config records. Used by Platform team.
50
50
  *
51
51
  * @type {TEXT}
52
52
  */
53
- AppName: string;
53
+ Test: string;
54
54
  }
55
55
  /**
56
56
  * Config entity from SchemaModule
@@ -28,12 +28,12 @@ var ConfigEntityTypes;
28
28
  */
29
29
  var ConfigPropertyKeys;
30
30
  (function (ConfigPropertyKeys) {
31
- /** Data field for Config records. Used by Platform team. */
32
- ConfigPropertyKeys["Test"] = "Test";
33
- /** object of { key: value } mappings (Platform - Config) */
34
- ConfigPropertyKeys["Mappings"] = "Mappings";
35
31
  /** the name of the app this config relates to (Platform - Config) */
36
32
  ConfigPropertyKeys["AppName"] = "AppName";
33
+ /** object of { key: value } mappings (Platform - Config) */
34
+ ConfigPropertyKeys["Mappings"] = "Mappings";
35
+ /** Data field for Config records. Used by Platform team. */
36
+ ConfigPropertyKeys["Test"] = "Test";
37
37
  })(ConfigPropertyKeys = exports.ConfigPropertyKeys || (exports.ConfigPropertyKeys = {}));
38
38
  /**
39
39
  * Config entity from SchemaModule
@@ -16,6 +16,7 @@ import { DeactivationApprovalProperties } from './DeactivationApproval';
16
16
  import { PaymentMethodRefundProperties } from './PaymentMethodRefund';
17
17
  import { AddressProperties } from './Address';
18
18
  import { InvoiceProperties } from './Invoice';
19
+ import { PgContactProperties } from './PgContact';
19
20
  import { FingerprintProperties } from './Fingerprint';
20
21
  import { PhoneNumberProperties } from './PhoneNumber';
21
22
  import { NoteProperties } from './Note';
@@ -727,6 +728,8 @@ export declare class Contact extends OdinRecord<ContactProperties> {
727
728
  Address: OdinLink<LinkedOdinRecord<AddressProperties>>;
728
729
  /** Linked Invoice records (Invoice__Contact) */
729
730
  Invoice: OdinLink<LinkedOdinRecord<InvoiceProperties>>;
731
+ /** Linked PgContact records (PgContact__Contact) */
732
+ PgContact: OdinLink<LinkedOdinRecord<PgContactProperties>>;
730
733
  /** Linked Fingerprint records (Fingerprint__Contact) */
731
734
  Fingerprint: OdinLink<LinkedOdinRecord<FingerprintProperties>>;
732
735
  /** Linked PhoneNumber records (Contact__PhoneNumber) */
@@ -68,14 +68,12 @@ export declare enum ConversationChannel {
68
68
  * - `CLOSED`
69
69
  * - `CREATED`
70
70
  * - `INACTIVE`
71
- * - `REOPENED`
72
71
  * - `UPDATED`
73
72
  */
74
73
  export declare enum ConversationStatus {
75
74
  CLOSED = "CLOSED",
76
75
  CREATED = "CREATED",
77
76
  INACTIVE = "INACTIVE",
78
- REOPENED = "REOPENED",
79
77
  UPDATED = "UPDATED"
80
78
  }
81
79
  /**
@@ -71,7 +71,6 @@ var ConversationChannel;
71
71
  * - `CLOSED`
72
72
  * - `CREATED`
73
73
  * - `INACTIVE`
74
- * - `REOPENED`
75
74
  * - `UPDATED`
76
75
  */
77
76
  var ConversationStatus;
@@ -79,7 +78,6 @@ var ConversationStatus;
79
78
  ConversationStatus["CLOSED"] = "CLOSED";
80
79
  ConversationStatus["CREATED"] = "CREATED";
81
80
  ConversationStatus["INACTIVE"] = "INACTIVE";
82
- ConversationStatus["REOPENED"] = "REOPENED";
83
81
  ConversationStatus["UPDATED"] = "UPDATED";
84
82
  })(ConversationStatus = exports.ConversationStatus || (exports.ConversationStatus = {}));
85
83
  /**
@@ -149,7 +149,9 @@ export declare enum CustomerDeviceOntPropertyKeys {
149
149
  /** fibre length from the olt/onu (Network Operations - CustomerDeviceOnt) */
150
150
  FibreLength = "FibreLength",
151
151
  /** ONT Quality */
152
- OntQuality = "ONTQuality"
152
+ OntQuality = "ONTQuality",
153
+ /** ExternalReference */
154
+ ExternalReference = "ExternalReference"
153
155
  }
154
156
  /**
155
157
  * Properties for CustomerDeviceOnt records
@@ -295,6 +297,11 @@ export interface CustomerDeviceOntProperties {
295
297
  * @type {NUMBER}
296
298
  */
297
299
  OntQuality: number;
300
+ /** ExternalReference
301
+ *
302
+ * @type {TEXT}
303
+ */
304
+ ExternalReference: string;
298
305
  }
299
306
  /**
300
307
  * CustomerDeviceOnt entity from ServiceModule
@@ -148,6 +148,8 @@ var CustomerDeviceOntPropertyKeys;
148
148
  CustomerDeviceOntPropertyKeys["FibreLength"] = "FibreLength";
149
149
  /** ONT Quality */
150
150
  CustomerDeviceOntPropertyKeys["OntQuality"] = "ONTQuality";
151
+ /** ExternalReference */
152
+ CustomerDeviceOntPropertyKeys["ExternalReference"] = "ExternalReference";
151
153
  })(CustomerDeviceOntPropertyKeys = exports.CustomerDeviceOntPropertyKeys || (exports.CustomerDeviceOntPropertyKeys = {}));
152
154
  /**
153
155
  * CustomerDeviceOnt entity from ServiceModule
@@ -445,6 +445,12 @@ export declare enum OrderPropertyKeys {
445
445
  PendingAmcoCollection = "PendingAmcoCollection",
446
446
  /** ExternalReference */
447
447
  ExternalReference = "ExternalReference",
448
+ /** ExternalRefBrskFF */
449
+ ExternalRefBrskFf = "ExternalRefBrskFF",
450
+ /** ExternalRefBrskFNO */
451
+ ExternalRefBrskFno = "ExternalRefBrskFNO",
452
+ /** ExternalRefBrskISP */
453
+ ExternalRefBrskIsp = "ExternalRefBrskISP",
448
454
  /** Affiliate code used when order was placed */
449
455
  AffiliateCode = "AffiliateCode"
450
456
  }
@@ -999,6 +1005,21 @@ export interface OrderProperties {
999
1005
  * @type {TEXT}
1000
1006
  */
1001
1007
  ExternalReference: string;
1008
+ /** ExternalRefBrskFF
1009
+ *
1010
+ * @type {TEXT}
1011
+ */
1012
+ ExternalRefBrskFf: string;
1013
+ /** ExternalRefBrskFNO
1014
+ *
1015
+ * @type {TEXT}
1016
+ */
1017
+ ExternalRefBrskFno: string;
1018
+ /** ExternalRefBrskISP
1019
+ *
1020
+ * @type {TEXT}
1021
+ */
1022
+ ExternalRefBrskIsp: string;
1002
1023
  /** Affiliate code used when order was placed
1003
1024
  *
1004
1025
  * @type {TEXT}
@@ -427,6 +427,12 @@ var OrderPropertyKeys;
427
427
  OrderPropertyKeys["PendingAmcoCollection"] = "PendingAmcoCollection";
428
428
  /** ExternalReference */
429
429
  OrderPropertyKeys["ExternalReference"] = "ExternalReference";
430
+ /** ExternalRefBrskFF */
431
+ OrderPropertyKeys["ExternalRefBrskFf"] = "ExternalRefBrskFF";
432
+ /** ExternalRefBrskFNO */
433
+ OrderPropertyKeys["ExternalRefBrskFno"] = "ExternalRefBrskFNO";
434
+ /** ExternalRefBrskISP */
435
+ OrderPropertyKeys["ExternalRefBrskIsp"] = "ExternalRefBrskISP";
430
436
  /** Affiliate code used when order was placed */
431
437
  OrderPropertyKeys["AffiliateCode"] = "AffiliateCode";
432
438
  })(OrderPropertyKeys = exports.OrderPropertyKeys || (exports.OrderPropertyKeys = {}));
@@ -12,6 +12,7 @@
12
12
  */
13
13
  import { OdinRecord, OdinLink, LinkedOdinRecord } from '@d19n/odin-types/dist/core';
14
14
  import { ContractBuyOutProperties } from './ContractBuyOut';
15
+ import { PgPaymentMethodProperties } from './PgPaymentMethod';
15
16
  import { TransactionProperties } from './Transaction';
16
17
  import { NoteProperties } from './Note';
17
18
  import { ContactIdentityProperties } from './ContactIdentity';
@@ -94,10 +95,12 @@ export declare enum PaymentMethodDefault {
94
95
  * @remarks Available options:
95
96
  * - `GOCARDLESS` - Gocardless
96
97
  * - `PAYMENT_GATEWAY` - Payment-Gateway
98
+ * - `STRIPE` - Stripe
97
99
  */
98
100
  export declare enum PaymentMethodProvider {
99
101
  GOCARDLESS = "GOCARDLESS",
100
- PAYMENT_GATEWAY = "PAYMENT_GATEWAY"
102
+ PAYMENT_GATEWAY = "PAYMENT_GATEWAY",
103
+ STRIPE = "STRIPE"
101
104
  }
102
105
  /**
103
106
  * Property keys for PaymentMethod
@@ -249,6 +252,8 @@ export declare class PaymentMethod extends OdinRecord<PaymentMethodProperties> {
249
252
  properties: PaymentMethodProperties;
250
253
  /** Linked ContractBuyOut records (ContractBuyOut__PaymentMethod) */
251
254
  ContractBuyOut: OdinLink<LinkedOdinRecord<ContractBuyOutProperties>>;
255
+ /** Linked PgPaymentMethod records (PgPaymentMethod__PaymentMethod) */
256
+ PgPaymentMethod: OdinLink<LinkedOdinRecord<PgPaymentMethodProperties>>;
252
257
  /** Linked Transaction records (Transaction__PaymentMethod) */
253
258
  Transaction: OdinLink<LinkedOdinRecord<TransactionProperties>>;
254
259
  /** Linked Note records (PaymentMethod__Note) */
@@ -94,11 +94,13 @@ var PaymentMethodDefault;
94
94
  * @remarks Available options:
95
95
  * - `GOCARDLESS` - Gocardless
96
96
  * - `PAYMENT_GATEWAY` - Payment-Gateway
97
+ * - `STRIPE` - Stripe
97
98
  */
98
99
  var PaymentMethodProvider;
99
100
  (function (PaymentMethodProvider) {
100
101
  PaymentMethodProvider["GOCARDLESS"] = "GOCARDLESS";
101
102
  PaymentMethodProvider["PAYMENT_GATEWAY"] = "PAYMENT_GATEWAY";
103
+ PaymentMethodProvider["STRIPE"] = "STRIPE";
102
104
  })(PaymentMethodProvider = exports.PaymentMethodProvider || (exports.PaymentMethodProvider = {}));
103
105
  /**
104
106
  * Property keys for PaymentMethod
@@ -19,6 +19,7 @@ import { OrderProperties } from './Order';
19
19
  import { InvoiceProperties } from './Invoice';
20
20
  import { ActivityProperties } from './Activity';
21
21
  import { PaymentMethodProperties } from './PaymentMethod';
22
+ import { PgTransactionProperties } from './PgTransaction';
22
23
  import { RewardProperties } from './Reward';
23
24
  /**
24
25
  * Available types for PaymentMethodRefund records
@@ -187,6 +188,8 @@ export declare class PaymentMethodRefund extends OdinRecord<PaymentMethodRefundP
187
188
  Activity: OdinLink<LinkedOdinRecord<ActivityProperties>>;
188
189
  /** Linked PaymentMethod records (PaymentMethod__PaymentMethodRefund) */
189
190
  PaymentMethod: OdinLink<LinkedOdinRecord<PaymentMethodProperties>>;
191
+ /** Linked PgTransaction records (PgTransaction__PaymentMethodRefund) */
192
+ PgTransaction: OdinLink<LinkedOdinRecord<PgTransactionProperties>>;
190
193
  /** Linked Reward records (RewardPaymentMethodRefund) */
191
194
  Reward: OdinLink<LinkedOdinRecord<RewardProperties>>;
192
195
  }
@@ -11,6 +11,7 @@
11
11
  * Generated from Odin schema definition
12
12
  */
13
13
  import { OdinRecord, OdinLink, LinkedOdinRecord } from '@d19n/odin-types/dist/core';
14
+ import { ContactProperties } from './Contact';
14
15
  import { PgWebhookProperties } from './PgWebhook';
15
16
  import { PgPaymentMethodProperties } from './PgPaymentMethod';
16
17
  /**
@@ -67,6 +68,8 @@ export declare enum PgContactPropertyKeys {
67
68
  Phone = "Phone",
68
69
  /** Name */
69
70
  Name = "Name",
71
+ /** Odin Contact */
72
+ OdinContact = "OdinContact",
70
73
  /** Company */
71
74
  Company = "Company"
72
75
  }
@@ -104,6 +107,11 @@ export interface PgContactProperties {
104
107
  * @type {NAME}
105
108
  */
106
109
  Name: string;
110
+ /** Odin Contact
111
+ *
112
+ * @type {LOOKUP}
113
+ */
114
+ OdinContact: string;
107
115
  /** Company
108
116
  *
109
117
  * @type {ENUM}
@@ -128,6 +136,8 @@ export declare class PgContact extends OdinRecord<PgContactProperties> {
128
136
  type: PgContactEntityTypes;
129
137
  schemaId: 'd4deff1f-ab3c-4364-a596-d1d44cf36d1e';
130
138
  properties: PgContactProperties;
139
+ /** Linked Contact records (PgContact__Contact) */
140
+ Contact: OdinLink<LinkedOdinRecord<ContactProperties>>;
131
141
  /** Linked PgWebhook records (PgContact__PgWebhook) */
132
142
  PgWebhook: OdinLink<LinkedOdinRecord<PgWebhookProperties>>;
133
143
  /** Linked PgPaymentMethod records (PgContact__PgPaymentMethod) */
@@ -149,6 +159,10 @@ export declare const ROUTING_KEY_PG_CONTACT_DEFAULT_CREATED = "BillingModule.PgC
149
159
  export declare const ROUTING_KEY_PG_CONTACT_DEFAULT_UPDATED = "BillingModule.PgContact.DEFAULT.SubDbRecordUpdated";
150
160
  /** This is the default record type deleted */
151
161
  export declare const ROUTING_KEY_PG_CONTACT_DEFAULT_DELETED = "BillingModule.PgContact.DEFAULT.SubDbRecordDeleted";
162
+ /** Event: PgContact__Contact link created */
163
+ export declare const ROUTING_KEY_LINK_PG_CONTACT_CONTACT_CREATED = "BillingModule.PgContact.Contact.SubDbRecordAssociationCreated";
164
+ /** Event: PgContact__Contact link deleted */
165
+ export declare const ROUTING_KEY_LINK_PG_CONTACT_CONTACT_DELETED = "BillingModule.PgContact.Contact.SubDbRecordAssociationDeleted";
152
166
  /** Event: PgContact__PgWebhook link created */
153
167
  export declare const ROUTING_KEY_LINK_PG_CONTACT_PG_WEBHOOK_CREATED = "BillingModule.PgContact.PgWebhook.SubDbRecordAssociationCreated";
154
168
  /** Event: PgContact__PgWebhook link deleted */
@@ -12,7 +12,7 @@
12
12
  * Generated from Odin schema definition
13
13
  */
14
14
  Object.defineProperty(exports, "__esModule", { value: true });
15
- exports.ROUTING_KEY_LINK_PG_CONTACT_PG_PAYMENT_METHOD_DELETED = exports.ROUTING_KEY_LINK_PG_CONTACT_PG_PAYMENT_METHOD_CREATED = exports.ROUTING_KEY_LINK_PG_CONTACT_PG_WEBHOOK_DELETED = exports.ROUTING_KEY_LINK_PG_CONTACT_PG_WEBHOOK_CREATED = exports.ROUTING_KEY_PG_CONTACT_DEFAULT_DELETED = exports.ROUTING_KEY_PG_CONTACT_DEFAULT_UPDATED = exports.ROUTING_KEY_PG_CONTACT_DEFAULT_CREATED = exports.ROUTING_KEY_PG_CONTACT_DELETED = exports.ROUTING_KEY_PG_CONTACT_UPDATED = exports.ROUTING_KEY_PG_CONTACT_CREATED = exports.PgContact = exports.PgContactPropertyKeys = exports.PgContactCompany = exports.PgContactPublicView = exports.PgContactEntityTypes = void 0;
15
+ exports.ROUTING_KEY_LINK_PG_CONTACT_PG_PAYMENT_METHOD_DELETED = exports.ROUTING_KEY_LINK_PG_CONTACT_PG_PAYMENT_METHOD_CREATED = exports.ROUTING_KEY_LINK_PG_CONTACT_PG_WEBHOOK_DELETED = exports.ROUTING_KEY_LINK_PG_CONTACT_PG_WEBHOOK_CREATED = exports.ROUTING_KEY_LINK_PG_CONTACT_CONTACT_DELETED = exports.ROUTING_KEY_LINK_PG_CONTACT_CONTACT_CREATED = exports.ROUTING_KEY_PG_CONTACT_DEFAULT_DELETED = exports.ROUTING_KEY_PG_CONTACT_DEFAULT_UPDATED = exports.ROUTING_KEY_PG_CONTACT_DEFAULT_CREATED = exports.ROUTING_KEY_PG_CONTACT_DELETED = exports.ROUTING_KEY_PG_CONTACT_UPDATED = exports.ROUTING_KEY_PG_CONTACT_CREATED = exports.PgContact = exports.PgContactPropertyKeys = exports.PgContactCompany = exports.PgContactPublicView = exports.PgContactEntityTypes = void 0;
16
16
  const core_1 = require("@d19n/odin-types/dist/core");
17
17
  /**
18
18
  * Available types for PgContact records
@@ -72,6 +72,8 @@ var PgContactPropertyKeys;
72
72
  PgContactPropertyKeys["Phone"] = "Phone";
73
73
  /** Name */
74
74
  PgContactPropertyKeys["Name"] = "Name";
75
+ /** Odin Contact */
76
+ PgContactPropertyKeys["OdinContact"] = "OdinContact";
75
77
  /** Company */
76
78
  PgContactPropertyKeys["Company"] = "Company";
77
79
  })(PgContactPropertyKeys = exports.PgContactPropertyKeys || (exports.PgContactPropertyKeys = {}));
@@ -109,6 +111,10 @@ exports.ROUTING_KEY_PG_CONTACT_DEFAULT_CREATED = 'BillingModule.PgContact.DEFAUL
109
111
  exports.ROUTING_KEY_PG_CONTACT_DEFAULT_UPDATED = 'BillingModule.PgContact.DEFAULT.SubDbRecordUpdated';
110
112
  /** This is the default record type deleted */
111
113
  exports.ROUTING_KEY_PG_CONTACT_DEFAULT_DELETED = 'BillingModule.PgContact.DEFAULT.SubDbRecordDeleted';
114
+ /** Event: PgContact__Contact link created */
115
+ exports.ROUTING_KEY_LINK_PG_CONTACT_CONTACT_CREATED = 'BillingModule.PgContact.Contact.SubDbRecordAssociationCreated';
116
+ /** Event: PgContact__Contact link deleted */
117
+ exports.ROUTING_KEY_LINK_PG_CONTACT_CONTACT_DELETED = 'BillingModule.PgContact.Contact.SubDbRecordAssociationDeleted';
112
118
  /** Event: PgContact__PgWebhook link created */
113
119
  exports.ROUTING_KEY_LINK_PG_CONTACT_PG_WEBHOOK_CREATED = 'BillingModule.PgContact.PgWebhook.SubDbRecordAssociationCreated';
114
120
  /** Event: PgContact__PgWebhook link deleted */
@@ -34,14 +34,14 @@ export declare enum PgFileAllocationPropertyKeys {
34
34
  Transaction = "Transaction",
35
35
  /** Submission Direct Debit File */
36
36
  SubmissionFile = "SubmissionFile",
37
- /** Bacs Report Direct Debit File */
38
- BacsReportFile = "BacsReportFile",
39
37
  /** Error Message */
40
38
  ErrorMessage = "ErrorMessage",
41
39
  /** Submission File Line Number */
42
40
  SubmissionFileLineNumber = "SubmissionFileLineNumber",
43
41
  /** PaymentMethod */
44
42
  PaymentMethod = "PaymentMethod",
43
+ /** Bacs Report Direct Debit File */
44
+ BacsReportFile = "BacsReportFile",
45
45
  /** Acknowledgement One Direct Debit File */
46
46
  AcknowledgementOne = "AcknowledgementOne",
47
47
  /** Acknowledgement Two Direct Debit File */
@@ -63,11 +63,6 @@ export interface PgFileAllocationProperties {
63
63
  * @type {LOOKUP}
64
64
  */
65
65
  SubmissionFile: string;
66
- /** Bacs Report Direct Debit File
67
- *
68
- * @type {LOOKUP}
69
- */
70
- BacsReportFile: string;
71
66
  /** Error Message
72
67
  *
73
68
  * @type {TEXT_LONG}
@@ -83,6 +78,11 @@ export interface PgFileAllocationProperties {
83
78
  * @type {LOOKUP}
84
79
  */
85
80
  PaymentMethod: string;
81
+ /** Bacs Report Direct Debit File
82
+ *
83
+ * @type {LOOKUP}
84
+ */
85
+ BacsReportFile: string;
86
86
  /** Acknowledgement One Direct Debit File
87
87
  *
88
88
  * @type {LOOKUP}
@@ -110,11 +110,6 @@ export interface ReportPgFileAllocationProperties {
110
110
  * @type {LOOKUP}
111
111
  */
112
112
  SubmissionFile: string;
113
- /** Bacs Report Direct Debit File
114
- *
115
- * @type {LOOKUP}
116
- */
117
- BacsReportFile: string;
118
113
  /** Error Message
119
114
  *
120
115
  * @type {TEXT_LONG}
@@ -130,6 +125,11 @@ export interface ReportPgFileAllocationProperties {
130
125
  * @type {LOOKUP}
131
126
  */
132
127
  PaymentMethod: string;
128
+ /** Bacs Report Direct Debit File
129
+ *
130
+ * @type {LOOKUP}
131
+ */
132
+ BacsReportFile: string;
133
133
  /** Acknowledgement One Direct Debit File
134
134
  *
135
135
  * @type {LOOKUP}
@@ -157,11 +157,6 @@ export interface SubmissionPgFileAllocationProperties {
157
157
  * @type {LOOKUP}
158
158
  */
159
159
  SubmissionFile: string;
160
- /** Bacs Report Direct Debit File
161
- *
162
- * @type {LOOKUP}
163
- */
164
- BacsReportFile: string;
165
160
  /** Error Message
166
161
  *
167
162
  * @type {TEXT_LONG}
@@ -177,6 +172,11 @@ export interface SubmissionPgFileAllocationProperties {
177
172
  * @type {LOOKUP}
178
173
  */
179
174
  PaymentMethod: string;
175
+ /** Bacs Report Direct Debit File
176
+ *
177
+ * @type {LOOKUP}
178
+ */
179
+ BacsReportFile: string;
180
180
  /** Acknowledgement One Direct Debit File
181
181
  *
182
182
  * @type {LOOKUP}
@@ -36,14 +36,14 @@ var PgFileAllocationPropertyKeys;
36
36
  PgFileAllocationPropertyKeys["Transaction"] = "Transaction";
37
37
  /** Submission Direct Debit File */
38
38
  PgFileAllocationPropertyKeys["SubmissionFile"] = "SubmissionFile";
39
- /** Bacs Report Direct Debit File */
40
- PgFileAllocationPropertyKeys["BacsReportFile"] = "BacsReportFile";
41
39
  /** Error Message */
42
40
  PgFileAllocationPropertyKeys["ErrorMessage"] = "ErrorMessage";
43
41
  /** Submission File Line Number */
44
42
  PgFileAllocationPropertyKeys["SubmissionFileLineNumber"] = "SubmissionFileLineNumber";
45
43
  /** PaymentMethod */
46
44
  PgFileAllocationPropertyKeys["PaymentMethod"] = "PaymentMethod";
45
+ /** Bacs Report Direct Debit File */
46
+ PgFileAllocationPropertyKeys["BacsReportFile"] = "BacsReportFile";
47
47
  /** Acknowledgement One Direct Debit File */
48
48
  PgFileAllocationPropertyKeys["AcknowledgementOne"] = "AcknowledgementOne";
49
49
  /** Acknowledgement Two Direct Debit File */
@@ -11,6 +11,7 @@
11
11
  * Generated from Odin schema definition
12
12
  */
13
13
  import { OdinRecord, OdinLink, LinkedOdinRecord } from '@d19n/odin-types/dist/core';
14
+ import { PaymentMethodProperties } from './PaymentMethod';
14
15
  import { PgContactProperties } from './PgContact';
15
16
  import { PgWebhookProperties } from './PgWebhook';
16
17
  import { PgFileAllocationProperties } from './PgFileAllocation';
@@ -156,6 +157,8 @@ export declare enum PgPaymentMethodPropertyKeys {
156
157
  Contact = "Contact",
157
158
  /** Mandate */
158
159
  Mandate = "Mandate",
160
+ /** Odin Payment Method */
161
+ OdinPaymentMethod = "OdinPaymentMethod",
159
162
  /** Message */
160
163
  Message = "Message",
161
164
  /** Company */
@@ -232,6 +235,11 @@ export interface PgPaymentMethodProperties {
232
235
  * @type {UUID}
233
236
  */
234
237
  Mandate: string;
238
+ /** Odin Payment Method
239
+ *
240
+ * @type {LOOKUP}
241
+ */
242
+ OdinPaymentMethod: string;
235
243
  /** Message
236
244
  *
237
245
  * @type {TEXT_LONG}
@@ -266,6 +274,8 @@ export declare class PgPaymentMethod extends OdinRecord<PgPaymentMethodPropertie
266
274
  type: PgPaymentMethodEntityTypes;
267
275
  schemaId: '4f25d495-d508-493f-b5e4-97ef1639c884';
268
276
  properties: PgPaymentMethodProperties;
277
+ /** Linked PaymentMethod records (PgPaymentMethod__PaymentMethod) */
278
+ PaymentMethod: OdinLink<LinkedOdinRecord<PaymentMethodProperties>>;
269
279
  /** Linked PgContact records (PgContact__PgPaymentMethod) */
270
280
  PgContact: OdinLink<LinkedOdinRecord<PgContactProperties>>;
271
281
  /** Linked PgWebhook records (PgPaymentMethod__PgWebhook) */
@@ -291,6 +301,10 @@ export declare const ROUTING_KEY_PG_PAYMENT_METHOD_DEFAULT_CREATED = "BillingMod
291
301
  export declare const ROUTING_KEY_PG_PAYMENT_METHOD_DEFAULT_UPDATED = "BillingModule.PgPaymentMethod.DEFAULT.SubDbRecordUpdated";
292
302
  /** This is the default record type deleted */
293
303
  export declare const ROUTING_KEY_PG_PAYMENT_METHOD_DEFAULT_DELETED = "BillingModule.PgPaymentMethod.DEFAULT.SubDbRecordDeleted";
304
+ /** Event: PgPaymentMethod__PaymentMethod link created */
305
+ export declare const ROUTING_KEY_LINK_PG_PAYMENT_METHOD_PAYMENT_METHOD_CREATED = "BillingModule.PgPaymentMethod.PaymentMethod.SubDbRecordAssociationCreated";
306
+ /** Event: PgPaymentMethod__PaymentMethod link deleted */
307
+ export declare const ROUTING_KEY_LINK_PG_PAYMENT_METHOD_PAYMENT_METHOD_DELETED = "BillingModule.PgPaymentMethod.PaymentMethod.SubDbRecordAssociationDeleted";
294
308
  /** Event: PgPaymentMethod__PgWebhook link created */
295
309
  export declare const ROUTING_KEY_LINK_PG_PAYMENT_METHOD_PG_WEBHOOK_CREATED = "BillingModule.PgPaymentMethod.PgWebhook.SubDbRecordAssociationCreated";
296
310
  /** Event: PgPaymentMethod__PgWebhook link deleted */
@@ -12,7 +12,7 @@
12
12
  * Generated from Odin schema definition
13
13
  */
14
14
  Object.defineProperty(exports, "__esModule", { value: true });
15
- exports.ROUTING_KEY_LINK_PG_PAYMENT_METHOD_PG_TRANSACTION_DELETED = exports.ROUTING_KEY_LINK_PG_PAYMENT_METHOD_PG_TRANSACTION_CREATED = exports.ROUTING_KEY_LINK_PG_PAYMENT_METHOD_PG_FILE_ALLOCATION_DELETED = exports.ROUTING_KEY_LINK_PG_PAYMENT_METHOD_PG_FILE_ALLOCATION_CREATED = exports.ROUTING_KEY_LINK_PG_PAYMENT_METHOD_PG_WEBHOOK_DELETED = exports.ROUTING_KEY_LINK_PG_PAYMENT_METHOD_PG_WEBHOOK_CREATED = exports.ROUTING_KEY_PG_PAYMENT_METHOD_DEFAULT_DELETED = exports.ROUTING_KEY_PG_PAYMENT_METHOD_DEFAULT_UPDATED = exports.ROUTING_KEY_PG_PAYMENT_METHOD_DEFAULT_CREATED = exports.ROUTING_KEY_PG_PAYMENT_METHOD_DELETED = exports.ROUTING_KEY_PG_PAYMENT_METHOD_UPDATED = exports.ROUTING_KEY_PG_PAYMENT_METHOD_CREATED = exports.PgPaymentMethod = exports.PgPaymentMethodPropertyKeys = exports.PgPaymentMethodCompany = exports.PgPaymentMethodPublicView = exports.DefaultPgPaymentMethodStageKeys = exports.DefaultPgPaymentMethodStageNames = exports.PgPaymentMethodEntityTypes = void 0;
15
+ exports.ROUTING_KEY_LINK_PG_PAYMENT_METHOD_PG_TRANSACTION_DELETED = exports.ROUTING_KEY_LINK_PG_PAYMENT_METHOD_PG_TRANSACTION_CREATED = exports.ROUTING_KEY_LINK_PG_PAYMENT_METHOD_PG_FILE_ALLOCATION_DELETED = exports.ROUTING_KEY_LINK_PG_PAYMENT_METHOD_PG_FILE_ALLOCATION_CREATED = exports.ROUTING_KEY_LINK_PG_PAYMENT_METHOD_PG_WEBHOOK_DELETED = exports.ROUTING_KEY_LINK_PG_PAYMENT_METHOD_PG_WEBHOOK_CREATED = exports.ROUTING_KEY_LINK_PG_PAYMENT_METHOD_PAYMENT_METHOD_DELETED = exports.ROUTING_KEY_LINK_PG_PAYMENT_METHOD_PAYMENT_METHOD_CREATED = exports.ROUTING_KEY_PG_PAYMENT_METHOD_DEFAULT_DELETED = exports.ROUTING_KEY_PG_PAYMENT_METHOD_DEFAULT_UPDATED = exports.ROUTING_KEY_PG_PAYMENT_METHOD_DEFAULT_CREATED = exports.ROUTING_KEY_PG_PAYMENT_METHOD_DELETED = exports.ROUTING_KEY_PG_PAYMENT_METHOD_UPDATED = exports.ROUTING_KEY_PG_PAYMENT_METHOD_CREATED = exports.PgPaymentMethod = exports.PgPaymentMethodPropertyKeys = exports.PgPaymentMethodCompany = exports.PgPaymentMethodPublicView = exports.DefaultPgPaymentMethodStageKeys = exports.DefaultPgPaymentMethodStageNames = exports.PgPaymentMethodEntityTypes = void 0;
16
16
  const core_1 = require("@d19n/odin-types/dist/core");
17
17
  /**
18
18
  * Available types for PgPaymentMethod records
@@ -161,6 +161,8 @@ var PgPaymentMethodPropertyKeys;
161
161
  PgPaymentMethodPropertyKeys["Contact"] = "Contact";
162
162
  /** Mandate */
163
163
  PgPaymentMethodPropertyKeys["Mandate"] = "Mandate";
164
+ /** Odin Payment Method */
165
+ PgPaymentMethodPropertyKeys["OdinPaymentMethod"] = "OdinPaymentMethod";
164
166
  /** Message */
165
167
  PgPaymentMethodPropertyKeys["Message"] = "Message";
166
168
  /** Company */
@@ -202,6 +204,10 @@ exports.ROUTING_KEY_PG_PAYMENT_METHOD_DEFAULT_CREATED = 'BillingModule.PgPayment
202
204
  exports.ROUTING_KEY_PG_PAYMENT_METHOD_DEFAULT_UPDATED = 'BillingModule.PgPaymentMethod.DEFAULT.SubDbRecordUpdated';
203
205
  /** This is the default record type deleted */
204
206
  exports.ROUTING_KEY_PG_PAYMENT_METHOD_DEFAULT_DELETED = 'BillingModule.PgPaymentMethod.DEFAULT.SubDbRecordDeleted';
207
+ /** Event: PgPaymentMethod__PaymentMethod link created */
208
+ exports.ROUTING_KEY_LINK_PG_PAYMENT_METHOD_PAYMENT_METHOD_CREATED = 'BillingModule.PgPaymentMethod.PaymentMethod.SubDbRecordAssociationCreated';
209
+ /** Event: PgPaymentMethod__PaymentMethod link deleted */
210
+ exports.ROUTING_KEY_LINK_PG_PAYMENT_METHOD_PAYMENT_METHOD_DELETED = 'BillingModule.PgPaymentMethod.PaymentMethod.SubDbRecordAssociationDeleted';
205
211
  /** Event: PgPaymentMethod__PgWebhook link created */
206
212
  exports.ROUTING_KEY_LINK_PG_PAYMENT_METHOD_PG_WEBHOOK_CREATED = 'BillingModule.PgPaymentMethod.PgWebhook.SubDbRecordAssociationCreated';
207
213
  /** Event: PgPaymentMethod__PgWebhook link deleted */
@@ -11,6 +11,8 @@
11
11
  * Generated from Odin schema definition
12
12
  */
13
13
  import { OdinRecord, OdinLink, LinkedOdinRecord } from '@d19n/odin-types/dist/core';
14
+ import { TransactionProperties } from './Transaction';
15
+ import { PaymentMethodRefundProperties } from './PaymentMethodRefund';
14
16
  import { PgWebhookProperties } from './PgWebhook';
15
17
  import { PgFileAllocationProperties } from './PgFileAllocation';
16
18
  import { PgDisputeProperties } from './PgDispute';
@@ -199,6 +201,10 @@ export declare enum PgTransactionPropertyKeys {
199
201
  Tax = "Tax",
200
202
  /** Payment Method */
201
203
  PaymentMethod = "PaymentMethod",
204
+ /** Odin Charge Transaction */
205
+ OdinChargeTransaction = "OdinChargeTransaction",
206
+ /** Odin Refund Transaction */
207
+ OdinRefundTransaction = "OdinRefundTransaction",
202
208
  /** Company */
203
209
  Company = "Company",
204
210
  /** Message */
@@ -258,6 +264,16 @@ export interface PgTransactionProperties {
258
264
  * @type {LOOKUP}
259
265
  */
260
266
  PaymentMethod: string;
267
+ /** Odin Charge Transaction
268
+ *
269
+ * @type {LOOKUP}
270
+ */
271
+ OdinChargeTransaction: string;
272
+ /** Odin Refund Transaction
273
+ *
274
+ * @type {LOOKUP}
275
+ */
276
+ OdinRefundTransaction: string;
261
277
  /** Company
262
278
  *
263
279
  * @type {ENUM}
@@ -324,6 +340,16 @@ export interface ChargePgTransactionProperties {
324
340
  * @type {LOOKUP}
325
341
  */
326
342
  PaymentMethod: string;
343
+ /** Odin Charge Transaction
344
+ *
345
+ * @type {LOOKUP}
346
+ */
347
+ OdinChargeTransaction: string;
348
+ /** Odin Refund Transaction
349
+ *
350
+ * @type {LOOKUP}
351
+ */
352
+ OdinRefundTransaction: string;
327
353
  /** Company
328
354
  *
329
355
  * @type {ENUM}
@@ -390,6 +416,16 @@ export interface RefundPgTransactionProperties {
390
416
  * @type {LOOKUP}
391
417
  */
392
418
  PaymentMethod: string;
419
+ /** Odin Charge Transaction
420
+ *
421
+ * @type {LOOKUP}
422
+ */
423
+ OdinChargeTransaction: string;
424
+ /** Odin Refund Transaction
425
+ *
426
+ * @type {LOOKUP}
427
+ */
428
+ OdinRefundTransaction: string;
393
429
  /** Company
394
430
  *
395
431
  * @type {ENUM}
@@ -419,6 +455,10 @@ export declare class PgTransaction extends OdinRecord<PgTransactionProperties> {
419
455
  type: PgTransactionEntityTypes;
420
456
  schemaId: '91d4632b-8a6c-4a6e-96dc-d12c6964bb1c';
421
457
  properties: PgTransactionProperties;
458
+ /** Linked Transaction records (PgTransaction__Transaction) */
459
+ Transaction: OdinLink<LinkedOdinRecord<TransactionProperties>>;
460
+ /** Linked PaymentMethodRefund records (PgTransaction__PaymentMethodRefund) */
461
+ PaymentMethodRefund: OdinLink<LinkedOdinRecord<PaymentMethodRefundProperties>>;
422
462
  /** Linked PgWebhook records (PgTransaction__PgWebhook) */
423
463
  PgWebhook: OdinLink<LinkedOdinRecord<PgWebhookProperties>>;
424
464
  /** Linked PgFileAllocation records (PgTransaction__PgFileAllocation) */
@@ -456,6 +496,14 @@ export declare const ROUTING_KEY_PG_TRANSACTION_REFUND_CREATED = "BillingModule.
456
496
  export declare const ROUTING_KEY_PG_TRANSACTION_REFUND_UPDATED = "BillingModule.PgTransaction.REFUND.SubDbRecordUpdated";
457
497
  /** Refund deleted */
458
498
  export declare const ROUTING_KEY_PG_TRANSACTION_REFUND_DELETED = "BillingModule.PgTransaction.REFUND.SubDbRecordDeleted";
499
+ /** Event: PgTransaction__Transaction link created */
500
+ export declare const ROUTING_KEY_LINK_PG_TRANSACTION_TRANSACTION_CREATED = "BillingModule.PgTransaction.Transaction.SubDbRecordAssociationCreated";
501
+ /** Event: PgTransaction__Transaction link deleted */
502
+ export declare const ROUTING_KEY_LINK_PG_TRANSACTION_TRANSACTION_DELETED = "BillingModule.PgTransaction.Transaction.SubDbRecordAssociationDeleted";
503
+ /** Event: PgTransaction__PaymentMethodRefund link created */
504
+ export declare const ROUTING_KEY_LINK_PG_TRANSACTION_PAYMENT_METHOD_REFUND_CREATED = "BillingModule.PgTransaction.PaymentMethodRefund.SubDbRecordAssociationCreated";
505
+ /** Event: PgTransaction__PaymentMethodRefund link deleted */
506
+ export declare const ROUTING_KEY_LINK_PG_TRANSACTION_PAYMENT_METHOD_REFUND_DELETED = "BillingModule.PgTransaction.PaymentMethodRefund.SubDbRecordAssociationDeleted";
459
507
  /** Event: PgTransaction__PgWebhook link created */
460
508
  export declare const ROUTING_KEY_LINK_PG_TRANSACTION_PG_WEBHOOK_CREATED = "BillingModule.PgTransaction.PgWebhook.SubDbRecordAssociationCreated";
461
509
  /** Event: PgTransaction__PgWebhook link deleted */