@adonoustech/bacon-core 4.21.0 → 6.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (424) hide show
  1. package/CHANGELOG.md +2 -2
  2. package/LICENSE +200 -200
  3. package/README.md +11 -11
  4. package/dist/cjs/base/BaconBaseAWSObjectStrategyEvt.js +12 -12
  5. package/dist/cjs/base/BaconBaseActor.js +12 -12
  6. package/dist/cjs/base/BaconBaseActorFactory.js +27 -27
  7. package/dist/cjs/base/BaconBaseActorInitTrigSvc.js +42 -42
  8. package/dist/cjs/base/BaconBaseBrokerRequestEvent.js +11 -11
  9. package/dist/cjs/base/BaconBaseLoggerEvt.js +8 -8
  10. package/dist/cjs/base/BaconBaseLoggerEvtFact.js +20 -20
  11. package/dist/cjs/base/index.js +11 -11
  12. package/dist/cjs/concrete/Bacon3PClient.js +11 -11
  13. package/dist/cjs/concrete/BaconAccessLoggerEvent.js +13 -13
  14. package/dist/cjs/concrete/BaconActionItem.js +7 -7
  15. package/dist/cjs/concrete/BaconActionItemSnippet.js +13 -13
  16. package/dist/cjs/concrete/BaconAdminInitRequestEvt.js +13 -13
  17. package/dist/cjs/concrete/BaconAiContextCompletionReqEvt.js +9 -9
  18. package/dist/cjs/concrete/BaconCognitoAdminRequestEvent.js +11 -11
  19. package/dist/cjs/concrete/BaconEmailRequestEvent.js +11 -11
  20. package/dist/cjs/concrete/BaconGenericLoggerEvent.js +13 -13
  21. package/dist/cjs/concrete/BaconIoTPermsBrokerRequestEvent.js +11 -11
  22. package/dist/cjs/concrete/BaconPermissionsLoggerEvent.js +13 -13
  23. package/dist/cjs/concrete/BaconS3GetObjectStrategy.js +11 -11
  24. package/dist/cjs/concrete/BaconS3PutObjectStrategy.js +11 -11
  25. package/dist/cjs/concrete/BaconSP.js +11 -11
  26. package/dist/cjs/concrete/BaconStripeReqEvent.js +12 -12
  27. package/dist/cjs/concrete/BaconSuperAdmin.js +11 -11
  28. package/dist/cjs/concrete/BaconUploadObject.js +13 -13
  29. package/dist/cjs/concrete/index.js +21 -21
  30. package/dist/cjs/constants/bacon-idps.js +4 -4
  31. package/dist/cjs/constants/index.js +4 -4
  32. package/dist/cjs/enums/bacon-accounting-action-item-email-templates.js +8 -8
  33. package/dist/cjs/enums/bacon-accounting-email-templates.js +14 -14
  34. package/dist/cjs/enums/bacon-actor-init-statuses.js +9 -9
  35. package/dist/cjs/enums/bacon-actor-init-trig-sources.js +31 -31
  36. package/dist/cjs/enums/bacon-actor-oidc-props.js +37 -37
  37. package/dist/cjs/enums/bacon-actor-statuses.js +13 -13
  38. package/dist/cjs/enums/bacon-actor-types.js +14 -14
  39. package/dist/cjs/enums/bacon-ai-task-descriptions.js +8 -8
  40. package/dist/cjs/enums/bacon-auth-mfa-types.js +10 -10
  41. package/dist/cjs/enums/bacon-aws-object-request-instructions.js +9 -9
  42. package/dist/cjs/enums/bacon-aws-regions.js +31 -31
  43. package/dist/cjs/enums/bacon-bl-kinds.js +18 -18
  44. package/dist/cjs/enums/bacon-logger-codes.js +42 -42
  45. package/dist/cjs/enums/bacon-logger-evt-types.js +12 -12
  46. package/dist/cjs/enums/bacon-object-layer-kinds.js +9 -9
  47. package/dist/cjs/enums/bacon-routes.js +28 -28
  48. package/dist/cjs/enums/client-acct-intake-bo-filing-frequencies.js +14 -0
  49. package/dist/cjs/enums/client-acct-intake-business-entity-types.js +16 -0
  50. package/dist/cjs/enums/index.js +22 -20
  51. package/dist/cjs/index.js +17 -16
  52. package/dist/cjs/interfaces/i-actor-init-status.js +3 -3
  53. package/dist/cjs/interfaces/i-actor-init-trig-ctx.js +3 -3
  54. package/dist/cjs/interfaces/i-actor-init-trig-req.js +3 -3
  55. package/dist/cjs/interfaces/i-actor-init-trig-resp.js +3 -3
  56. package/dist/cjs/interfaces/i-actor-init-trig-user-attr.js +3 -3
  57. package/dist/cjs/interfaces/i-actor-init-trigger-evt.js +3 -3
  58. package/dist/cjs/interfaces/i-actor-status.js +3 -3
  59. package/dist/cjs/interfaces/i-bacon-action-item-settings.js +3 -3
  60. package/dist/cjs/interfaces/i-bacon-action-item-snippet.js +2 -2
  61. package/dist/cjs/interfaces/i-bacon-admin-master-entry.js +3 -3
  62. package/dist/cjs/interfaces/i-bacon-authenticator-app.js +3 -3
  63. package/dist/cjs/interfaces/i-bacon-base-logger-event.js +3 -3
  64. package/dist/cjs/interfaces/i-bacon-client-checklist-item.js +3 -3
  65. package/dist/cjs/interfaces/i-bacon-client-error.js +3 -3
  66. package/dist/cjs/interfaces/i-bacon-cognito-request.js +3 -3
  67. package/dist/cjs/interfaces/i-bacon-file.js +3 -3
  68. package/dist/cjs/interfaces/i-bacon-mfa-status.js +3 -3
  69. package/dist/cjs/interfaces/i-bacon-object-layer-result.js +3 -3
  70. package/dist/cjs/interfaces/i-bacon-storage-item.js +3 -3
  71. package/dist/cjs/interfaces/i-bacon-totp-verification-model.js +3 -3
  72. package/dist/cjs/interfaces/i-bacon-totp-verification-result.js +3 -3
  73. package/dist/cjs/interfaces/i-bacon-ui-passthrough-input-event.js +5 -5
  74. package/dist/cjs/interfaces/i-bacon-update-mfa-pref-result.js +3 -3
  75. package/dist/cjs/interfaces/i-bacon-upload-request.js +3 -3
  76. package/dist/cjs/interfaces/i-client-acct-admin-fields.js +3 -0
  77. package/dist/cjs/interfaces/i-client-acct-business-info.js +3 -0
  78. package/dist/cjs/interfaces/i-client-acct-business-owner.js +3 -0
  79. package/dist/cjs/interfaces/i-client-acct-employee-info.js +3 -0
  80. package/dist/cjs/interfaces/i-client-acct-intake.js +13 -0
  81. package/dist/cjs/interfaces/i-cognito-admin-request-payload.js +3 -3
  82. package/dist/cjs/interfaces/i-flat-node.js +3 -3
  83. package/dist/cjs/interfaces/i-iot-perms-request-payload.js +3 -3
  84. package/dist/cjs/interfaces/i-oidc-address-claim.js +3 -3
  85. package/dist/cjs/interfaces/i-oidc-identity.js +3 -3
  86. package/dist/cjs/interfaces/i-oidc-profile.js +3 -3
  87. package/dist/cjs/interfaces/i-token-time.js +3 -3
  88. package/dist/cjs/interfaces/i-user.js +3 -3
  89. package/dist/cjs/interfaces/index.js +41 -36
  90. package/dist/cjs/maps/bacon-route-to-microservice.js +25 -25
  91. package/dist/cjs/maps/index.js +4 -4
  92. package/dist/cjs/static/Bacon3PClientFactory.js +13 -13
  93. package/dist/cjs/static/BaconAccessLoggerEvtFactory.js +13 -13
  94. package/dist/cjs/static/BaconGenericLoggerEvtFactory.js +13 -13
  95. package/dist/cjs/static/BaconPermissionsLoggerEventFactory.js +13 -13
  96. package/dist/cjs/static/BaconSPFactory.js +13 -13
  97. package/dist/cjs/static/BaconSuperAdminFactory.js +13 -13
  98. package/dist/cjs/static/index.js +10 -10
  99. package/dist/cjs/utils/TypeUtils.js +15 -0
  100. package/dist/cjs/utils/index.js +5 -0
  101. package/dist/es/base/BaconBaseAWSObjectStrategyEvt.js +10 -10
  102. package/dist/es/base/BaconBaseActor.js +10 -10
  103. package/dist/es/base/BaconBaseActorFactory.js +26 -26
  104. package/dist/es/base/BaconBaseActorInitTrigSvc.js +42 -42
  105. package/dist/es/base/BaconBaseBrokerRequestEvent.js +9 -9
  106. package/dist/es/base/BaconBaseLoggerEvt.js +7 -7
  107. package/dist/es/base/BaconBaseLoggerEvtFact.js +19 -19
  108. package/dist/es/base/index.js +8 -8
  109. package/dist/es/concrete/Bacon3PClient.js +11 -11
  110. package/dist/es/concrete/BaconAccessLoggerEvent.js +14 -14
  111. package/dist/es/concrete/BaconActionItem.js +7 -7
  112. package/dist/es/concrete/BaconActionItemSnippet.js +11 -11
  113. package/dist/es/concrete/BaconAdminInitRequestEvt.js +14 -14
  114. package/dist/es/concrete/BaconAiContextCompletionReqEvt.js +11 -11
  115. package/dist/es/concrete/BaconCognitoAdminRequestEvent.js +11 -11
  116. package/dist/es/concrete/BaconEmailRequestEvent.js +11 -11
  117. package/dist/es/concrete/BaconGenericLoggerEvent.js +14 -14
  118. package/dist/es/concrete/BaconIoTPermsBrokerRequestEvent.js +11 -11
  119. package/dist/es/concrete/BaconPermissionsLoggerEvent.js +14 -14
  120. package/dist/es/concrete/BaconS3GetObjectStrategy.js +11 -11
  121. package/dist/es/concrete/BaconS3PutObjectStrategy.js +11 -11
  122. package/dist/es/concrete/BaconSP.js +11 -11
  123. package/dist/es/concrete/BaconStripeReqEvent.js +10 -10
  124. package/dist/es/concrete/BaconSuperAdmin.js +11 -11
  125. package/dist/es/concrete/BaconUploadObject.js +11 -11
  126. package/dist/es/concrete/index.js +18 -18
  127. package/dist/es/constants/bacon-idps.js +1 -1
  128. package/dist/es/constants/index.js +1 -1
  129. package/dist/es/enums/bacon-accounting-action-item-email-templates.js +5 -5
  130. package/dist/es/enums/bacon-accounting-email-templates.js +11 -11
  131. package/dist/es/enums/bacon-actor-init-statuses.js +6 -6
  132. package/dist/es/enums/bacon-actor-init-trig-sources.js +28 -28
  133. package/dist/es/enums/bacon-actor-oidc-props.js +34 -34
  134. package/dist/es/enums/bacon-actor-statuses.js +10 -10
  135. package/dist/es/enums/bacon-actor-types.js +11 -11
  136. package/dist/es/enums/bacon-ai-task-descriptions.js +5 -5
  137. package/dist/es/enums/bacon-auth-mfa-types.js +7 -7
  138. package/dist/es/enums/bacon-aws-object-request-instructions.js +6 -6
  139. package/dist/es/enums/bacon-aws-regions.js +28 -28
  140. package/dist/es/enums/bacon-bl-kinds.js +15 -15
  141. package/dist/es/enums/bacon-logger-codes.js +39 -39
  142. package/dist/es/enums/bacon-logger-evt-types.js +9 -9
  143. package/dist/es/enums/bacon-object-layer-kinds.js +6 -6
  144. package/dist/es/enums/bacon-routes.js +24 -24
  145. package/dist/es/enums/client-acct-intake-bo-filing-frequencies.js +11 -0
  146. package/dist/es/enums/client-acct-intake-business-entity-types.js +13 -0
  147. package/dist/es/enums/index.js +19 -17
  148. package/dist/es/index.js +14 -13
  149. package/dist/es/interfaces/i-actor-init-status.js +2 -2
  150. package/dist/es/interfaces/i-actor-init-trig-ctx.js +2 -2
  151. package/dist/es/interfaces/i-actor-init-trig-req.js +2 -2
  152. package/dist/es/interfaces/i-actor-init-trig-resp.js +2 -2
  153. package/dist/es/interfaces/i-actor-init-trig-user-attr.js +2 -2
  154. package/dist/es/interfaces/i-actor-init-trigger-evt.js +2 -2
  155. package/dist/es/interfaces/i-actor-status.js +2 -2
  156. package/dist/es/interfaces/i-bacon-action-item-settings.js +2 -2
  157. package/dist/es/interfaces/i-bacon-action-item-snippet.js +1 -1
  158. package/dist/es/interfaces/i-bacon-admin-master-entry.js +2 -2
  159. package/dist/es/interfaces/i-bacon-authenticator-app.js +2 -2
  160. package/dist/es/interfaces/i-bacon-base-logger-event.js +2 -2
  161. package/dist/es/interfaces/i-bacon-client-checklist-item.js +2 -2
  162. package/dist/es/interfaces/i-bacon-client-error.js +2 -2
  163. package/dist/es/interfaces/i-bacon-cognito-request.js +2 -2
  164. package/dist/es/interfaces/i-bacon-file.js +2 -2
  165. package/dist/es/interfaces/i-bacon-mfa-status.js +2 -2
  166. package/dist/es/interfaces/i-bacon-object-layer-result.js +2 -2
  167. package/dist/es/interfaces/i-bacon-storage-item.js +2 -2
  168. package/dist/es/interfaces/i-bacon-totp-verification-model.js +2 -2
  169. package/dist/es/interfaces/i-bacon-totp-verification-result.js +2 -2
  170. package/dist/es/interfaces/i-bacon-ui-passthrough-input-event.js +4 -4
  171. package/dist/es/interfaces/i-bacon-update-mfa-pref-result.js +2 -2
  172. package/dist/es/interfaces/i-bacon-upload-request.js +2 -2
  173. package/dist/es/interfaces/i-client-acct-admin-fields.js +2 -0
  174. package/dist/es/interfaces/i-client-acct-business-info.js +2 -0
  175. package/dist/es/interfaces/i-client-acct-business-owner.js +2 -0
  176. package/dist/es/interfaces/i-client-acct-employee-info.js +2 -0
  177. package/dist/es/interfaces/i-client-acct-intake.js +10 -0
  178. package/dist/es/interfaces/i-cognito-admin-request-payload.js +2 -2
  179. package/dist/es/interfaces/i-flat-node.js +2 -2
  180. package/dist/es/interfaces/i-iot-perms-request-payload.js +2 -2
  181. package/dist/es/interfaces/i-oidc-address-claim.js +2 -2
  182. package/dist/es/interfaces/i-oidc-identity.js +2 -2
  183. package/dist/es/interfaces/i-oidc-profile.js +2 -2
  184. package/dist/es/interfaces/i-token-time.js +2 -2
  185. package/dist/es/interfaces/i-user.js +2 -2
  186. package/dist/es/interfaces/index.js +38 -33
  187. package/dist/es/maps/bacon-route-to-microservice.js +22 -22
  188. package/dist/es/maps/index.js +1 -1
  189. package/dist/es/static/Bacon3PClientFactory.js +16 -16
  190. package/dist/es/static/BaconAccessLoggerEvtFactory.js +16 -16
  191. package/dist/es/static/BaconGenericLoggerEvtFactory.js +16 -16
  192. package/dist/es/static/BaconPermissionsLoggerEventFactory.js +16 -16
  193. package/dist/es/static/BaconSPFactory.js +16 -16
  194. package/dist/es/static/BaconSuperAdminFactory.js +16 -16
  195. package/dist/es/static/index.js +7 -7
  196. package/dist/es/utils/TypeUtils.js +11 -0
  197. package/dist/es/utils/index.js +2 -0
  198. package/dist/types/base/BaconBaseAWSObjectStrategyEvt.d.ts +8 -8
  199. package/dist/types/base/BaconBaseActor.d.ts +7 -7
  200. package/dist/types/base/BaconBaseActorFactory.d.ts +11 -11
  201. package/dist/types/base/BaconBaseActorInitTrigSvc.d.ts +39 -39
  202. package/dist/types/base/BaconBaseBrokerRequestEvent.d.ts +6 -6
  203. package/dist/types/base/BaconBaseLoggerEvt.d.ts +12 -12
  204. package/dist/types/base/BaconBaseLoggerEvtFact.d.ts +13 -13
  205. package/dist/types/base/index.d.ts +7 -7
  206. package/dist/types/concrete/Bacon3PClient.d.ts +5 -5
  207. package/dist/types/concrete/BaconAccessLoggerEvent.d.ts +4 -4
  208. package/dist/types/concrete/BaconActionItem.d.ts +37 -37
  209. package/dist/types/concrete/BaconActionItemSnippet.d.ts +7 -7
  210. package/dist/types/concrete/BaconAdminInitRequestEvt.d.ts +6 -6
  211. package/dist/types/concrete/BaconAiContextCompletionReqEvt.d.ts +7 -7
  212. package/dist/types/concrete/BaconCognitoAdminRequestEvent.d.ts +6 -6
  213. package/dist/types/concrete/BaconEmailRequestEvent.d.ts +5 -5
  214. package/dist/types/concrete/BaconGenericLoggerEvent.d.ts +4 -4
  215. package/dist/types/concrete/BaconIoTPermsBrokerRequestEvent.d.ts +6 -6
  216. package/dist/types/concrete/BaconPermissionsLoggerEvent.d.ts +4 -4
  217. package/dist/types/concrete/BaconS3GetObjectStrategy.d.ts +5 -5
  218. package/dist/types/concrete/BaconS3PutObjectStrategy.d.ts +5 -5
  219. package/dist/types/concrete/BaconSP.d.ts +5 -5
  220. package/dist/types/concrete/BaconStripeReqEvent.d.ts +7 -7
  221. package/dist/types/concrete/BaconSuperAdmin.d.ts +5 -5
  222. package/dist/types/concrete/BaconUploadObject.d.ts +7 -7
  223. package/dist/types/concrete/index.d.ts +17 -17
  224. package/dist/types/constants/bacon-idps.d.ts +1 -1
  225. package/dist/types/constants/index.d.ts +1 -1
  226. package/dist/types/enums/bacon-accounting-action-item-email-templates.d.ts +3 -3
  227. package/dist/types/enums/bacon-accounting-email-templates.d.ts +9 -9
  228. package/dist/types/enums/bacon-actor-init-statuses.d.ts +4 -4
  229. package/dist/types/enums/bacon-actor-init-trig-sources.d.ts +26 -26
  230. package/dist/types/enums/bacon-actor-oidc-props.d.ts +32 -32
  231. package/dist/types/enums/bacon-actor-statuses.d.ts +8 -8
  232. package/dist/types/enums/bacon-actor-types.d.ts +9 -9
  233. package/dist/types/enums/bacon-ai-task-descriptions.d.ts +3 -3
  234. package/dist/types/enums/bacon-auth-mfa-types.d.ts +5 -5
  235. package/dist/types/enums/bacon-aws-object-request-instructions.d.ts +4 -4
  236. package/dist/types/enums/bacon-aws-regions.d.ts +26 -26
  237. package/dist/types/enums/bacon-bl-kinds.d.ts +13 -13
  238. package/dist/types/enums/bacon-logger-codes.d.ts +37 -37
  239. package/dist/types/enums/bacon-logger-evt-types.d.ts +7 -7
  240. package/dist/types/enums/bacon-object-layer-kinds.d.ts +4 -4
  241. package/dist/types/enums/bacon-routes.d.ts +11 -11
  242. package/dist/types/enums/client-acct-intake-bo-filing-frequencies.d.ts +9 -0
  243. package/dist/types/enums/client-acct-intake-business-entity-types.d.ts +11 -0
  244. package/dist/types/enums/index.d.ts +18 -16
  245. package/dist/types/index.d.ts +13 -12
  246. package/dist/types/interfaces/i-actor-init-status.d.ts +4 -4
  247. package/dist/types/interfaces/i-actor-init-trig-ctx.d.ts +4 -4
  248. package/dist/types/interfaces/i-actor-init-trig-req.d.ts +5 -5
  249. package/dist/types/interfaces/i-actor-init-trig-resp.d.ts +5 -5
  250. package/dist/types/interfaces/i-actor-init-trig-user-attr.d.ts +3 -3
  251. package/dist/types/interfaces/i-actor-init-trigger-evt.d.ts +14 -14
  252. package/dist/types/interfaces/i-actor-status.d.ts +4 -4
  253. package/dist/types/interfaces/i-bacon-action-item-settings.d.ts +6 -6
  254. package/dist/types/interfaces/i-bacon-action-item-snippet.d.ts +2 -2
  255. package/dist/types/interfaces/i-bacon-admin-master-entry.d.ts +4 -4
  256. package/dist/types/interfaces/i-bacon-authenticator-app.d.ts +7 -7
  257. package/dist/types/interfaces/i-bacon-base-logger-event.d.ts +9 -9
  258. package/dist/types/interfaces/i-bacon-client-checklist-item.d.ts +8 -8
  259. package/dist/types/interfaces/i-bacon-client-error.d.ts +4 -4
  260. package/dist/types/interfaces/i-bacon-cognito-request.d.ts +4 -4
  261. package/dist/types/interfaces/i-bacon-file.d.ts +9 -9
  262. package/dist/types/interfaces/i-bacon-mfa-status.d.ts +7 -7
  263. package/dist/types/interfaces/i-bacon-object-layer-result.d.ts +7 -7
  264. package/dist/types/interfaces/i-bacon-storage-item.d.ts +8 -8
  265. package/dist/types/interfaces/i-bacon-totp-verification-model.d.ts +3 -3
  266. package/dist/types/interfaces/i-bacon-totp-verification-result.d.ts +7 -7
  267. package/dist/types/interfaces/i-bacon-ui-passthrough-input-event.d.ts +60 -60
  268. package/dist/types/interfaces/i-bacon-update-mfa-pref-result.d.ts +7 -7
  269. package/dist/types/interfaces/i-bacon-upload-request.d.ts +5 -5
  270. package/dist/types/interfaces/i-client-acct-admin-fields.d.ts +14 -0
  271. package/dist/types/interfaces/i-client-acct-business-info.d.ts +22 -0
  272. package/dist/types/interfaces/i-client-acct-business-owner.d.ts +20 -0
  273. package/dist/types/interfaces/i-client-acct-employee-info.d.ts +12 -0
  274. package/dist/types/interfaces/i-client-acct-intake.d.ts +33 -0
  275. package/dist/types/interfaces/i-cognito-admin-request-payload.d.ts +9 -9
  276. package/dist/types/interfaces/i-flat-node.d.ts +6 -6
  277. package/dist/types/interfaces/i-iot-perms-request-payload.d.ts +3 -3
  278. package/dist/types/interfaces/i-oidc-address-claim.d.ts +8 -8
  279. package/dist/types/interfaces/i-oidc-identity.d.ts +8 -8
  280. package/dist/types/interfaces/i-oidc-profile.d.ts +41 -41
  281. package/dist/types/interfaces/i-token-time.d.ts +4 -4
  282. package/dist/types/interfaces/i-user.d.ts +6 -6
  283. package/dist/types/interfaces/index.d.ts +37 -32
  284. package/dist/types/maps/bacon-route-to-microservice.d.ts +5 -5
  285. package/dist/types/maps/index.d.ts +1 -1
  286. package/dist/types/static/Bacon3PClientFactory.d.ts +6 -6
  287. package/dist/types/static/BaconAccessLoggerEvtFactory.d.ts +5 -5
  288. package/dist/types/static/BaconGenericLoggerEvtFactory.d.ts +5 -5
  289. package/dist/types/static/BaconPermissionsLoggerEventFactory.d.ts +5 -5
  290. package/dist/types/static/BaconSPFactory.d.ts +6 -6
  291. package/dist/types/static/BaconSuperAdminFactory.d.ts +6 -6
  292. package/dist/types/static/index.d.ts +6 -6
  293. package/dist/types/utils/TypeUtils.d.ts +68 -0
  294. package/dist/types/utils/index.d.ts +1 -0
  295. package/package.json +2 -2
  296. package/src/base/BaconBaseAWSObjectStrategyEvt.ts +23 -23
  297. package/src/base/BaconBaseActor.ts +17 -17
  298. package/src/base/BaconBaseActorFactory.ts +27 -27
  299. package/src/base/BaconBaseActorInitTrigSvc.ts +47 -47
  300. package/src/base/BaconBaseBrokerRequestEvent.ts +13 -13
  301. package/src/base/BaconBaseLoggerEvt.ts +15 -15
  302. package/src/base/BaconBaseLoggerEvtFact.ts +21 -21
  303. package/src/base/index.ts +6 -6
  304. package/src/concrete/Bacon3PClient.ts +9 -9
  305. package/src/concrete/BaconAccessLoggerEvent.ts +9 -9
  306. package/src/concrete/BaconActionItem.ts +37 -37
  307. package/src/concrete/BaconActionItemSnippet.ts +14 -14
  308. package/src/concrete/BaconAdminInitRequestEvt.ts +16 -16
  309. package/src/concrete/BaconAiContextCompletionReqEvt.ts +10 -10
  310. package/src/concrete/BaconCognitoAdminRequestEvent.ts +14 -14
  311. package/src/concrete/BaconEmailRequestEvent.ts +9 -9
  312. package/src/concrete/BaconGenericLoggerEvent.ts +10 -10
  313. package/src/concrete/BaconIoTPermsBrokerRequestEvent.ts +12 -12
  314. package/src/concrete/BaconPermissionsLoggerEvent.ts +9 -9
  315. package/src/concrete/BaconS3GetObjectStrategy.ts +14 -14
  316. package/src/concrete/BaconS3PutObjectStrategy.ts +13 -13
  317. package/src/concrete/BaconSP.ts +9 -9
  318. package/src/concrete/BaconStripeReqEvent.ts +14 -14
  319. package/src/concrete/BaconSuperAdmin.ts +9 -9
  320. package/src/concrete/BaconUploadObject.ts +17 -17
  321. package/src/concrete/index.ts +17 -17
  322. package/src/enums/bacon-accounting-action-item-email-templates.ts +2 -2
  323. package/src/enums/bacon-accounting-email-templates.ts +9 -9
  324. package/src/enums/bacon-actor-init-statuses.ts +3 -3
  325. package/src/enums/bacon-actor-init-trig-sources.ts +25 -25
  326. package/src/enums/bacon-actor-oidc-props.ts +31 -31
  327. package/src/enums/bacon-actor-statuses.ts +7 -7
  328. package/src/enums/bacon-actor-types.ts +8 -8
  329. package/src/enums/bacon-ai-task-descriptions.ts +2 -2
  330. package/src/enums/bacon-auth-mfa-types.ts +4 -4
  331. package/src/enums/bacon-aws-object-request-instructions.ts +3 -3
  332. package/src/enums/bacon-aws-regions.ts +25 -25
  333. package/src/enums/bacon-bl-kinds.ts +12 -12
  334. package/src/enums/bacon-logger-codes.ts +36 -36
  335. package/src/enums/bacon-logger-evt-types.ts +6 -6
  336. package/src/enums/bacon-object-layer-kinds.ts +3 -3
  337. package/src/enums/bacon-routes.ts +26 -26
  338. package/src/enums/client-acct-intake-bo-filing-frequencies.ts +9 -0
  339. package/src/enums/client-acct-intake-business-entity-types.ts +11 -0
  340. package/src/enums/index.ts +18 -16
  341. package/src/index.ts +15 -14
  342. package/src/interfaces/i-actor-init-status.ts +6 -6
  343. package/src/interfaces/i-actor-init-trig-ctx.ts +3 -3
  344. package/src/interfaces/i-actor-init-trig-req.ts +5 -5
  345. package/src/interfaces/i-actor-init-trig-resp.ts +4 -4
  346. package/src/interfaces/i-actor-init-trig-user-attr.ts +2 -2
  347. package/src/interfaces/i-actor-init-trigger-evt.ts +14 -14
  348. package/src/interfaces/i-actor-status.ts +6 -6
  349. package/src/interfaces/i-bacon-action-item-settings.ts +5 -5
  350. package/src/interfaces/i-bacon-admin-master-entry.ts +3 -3
  351. package/src/interfaces/i-bacon-authenticator-app.ts +6 -6
  352. package/src/interfaces/i-bacon-base-logger-event.ts +9 -9
  353. package/src/interfaces/i-bacon-client-checklist-item.ts +7 -7
  354. package/src/interfaces/i-bacon-client-error.ts +3 -3
  355. package/src/interfaces/i-bacon-cognito-request.ts +3 -3
  356. package/src/interfaces/i-bacon-file.ts +8 -8
  357. package/src/interfaces/i-bacon-mfa-status.ts +7 -7
  358. package/src/interfaces/i-bacon-object-layer-result.ts +6 -6
  359. package/src/interfaces/i-bacon-storage-item.ts +7 -7
  360. package/src/interfaces/i-bacon-totp-verification-model.ts +2 -2
  361. package/src/interfaces/i-bacon-totp-verification-result.ts +6 -6
  362. package/src/interfaces/i-bacon-ui-passthrough-input-event.ts +64 -64
  363. package/src/interfaces/i-bacon-update-mfa-pref-result.ts +6 -6
  364. package/src/interfaces/i-bacon-upload-request.ts +5 -5
  365. package/src/interfaces/i-client-acct-admin-fields.ts +14 -0
  366. package/src/interfaces/i-client-acct-business-info.ts +23 -0
  367. package/src/interfaces/i-client-acct-business-owner.ts +20 -0
  368. package/src/interfaces/i-client-acct-employee-info.ts +13 -0
  369. package/src/interfaces/i-client-acct-intake.ts +35 -0
  370. package/src/interfaces/i-cognito-admin-request-payload.ts +8 -8
  371. package/src/interfaces/i-flat-node.ts +5 -5
  372. package/src/interfaces/i-iot-perms-request-payload.ts +2 -2
  373. package/src/interfaces/i-oidc-address-claim.ts +7 -7
  374. package/src/interfaces/i-oidc-identity.ts +7 -7
  375. package/src/interfaces/i-oidc-profile.ts +44 -44
  376. package/src/interfaces/i-token-time.ts +3 -3
  377. package/src/interfaces/i-user.ts +5 -5
  378. package/src/interfaces/index.ts +37 -32
  379. package/src/maps/bacon-route-to-microservice.ts +24 -24
  380. package/src/static/Bacon3PClientFactory.ts +12 -12
  381. package/src/static/BaconAccessLoggerEvtFactory.ts +11 -11
  382. package/src/static/BaconGenericLoggerEvtFactory.ts +11 -11
  383. package/src/static/BaconPermissionsLoggerEventFactory.ts +11 -11
  384. package/src/static/BaconSPFactory.ts +13 -13
  385. package/src/static/BaconSuperAdminFactory.ts +12 -12
  386. package/src/static/index.ts +5 -5
  387. package/src/utils/TypeUtils.ts +86 -0
  388. package/src/utils/index.ts +1 -0
  389. package/tsconfig.cjs.json +10 -10
  390. package/tsconfig.es.json +11 -11
  391. package/tsconfig.json +17 -17
  392. package/dist/cjs/base/BaconBaseAWSDataReqStr.js +0 -20
  393. package/dist/cjs/concrete/BaconDDBReqDelStr.js +0 -17
  394. package/dist/cjs/concrete/BaconDDBReqGetStr.js +0 -17
  395. package/dist/cjs/concrete/BaconDDBReqPutStr.js +0 -17
  396. package/dist/cjs/concrete/BaconDDBReqQueryStr.js +0 -17
  397. package/dist/cjs/concrete/BaconDDBReqScanStr.js +0 -17
  398. package/dist/cjs/concrete/BaconDDBReqUpdateStr.js +0 -17
  399. package/dist/cjs/enums/bacon-aws-data-req-instructions.js +0 -12
  400. package/dist/cjs/enums/bacon-data-layer-kinds.js +0 -13
  401. package/dist/cjs/interfaces/i-bacon-admin-init-request-evt.js +0 -3
  402. package/dist/cjs/interfaces/i-bacon-totp-verification.js +0 -3
  403. package/dist/es/base/BaconBaseAWSDataReqStr.js +0 -18
  404. package/dist/es/concrete/BaconDDBReqDelStr.js +0 -17
  405. package/dist/es/concrete/BaconDDBReqGetStr.js +0 -17
  406. package/dist/es/concrete/BaconDDBReqPutStr.js +0 -17
  407. package/dist/es/concrete/BaconDDBReqQueryStr.js +0 -17
  408. package/dist/es/concrete/BaconDDBReqScanStr.js +0 -17
  409. package/dist/es/concrete/BaconDDBReqUpdateStr.js +0 -17
  410. package/dist/es/enums/bacon-aws-data-req-instructions.js +0 -9
  411. package/dist/es/enums/bacon-data-layer-kinds.js +0 -10
  412. package/dist/es/interfaces/i-bacon-admin-init-request-evt.js +0 -2
  413. package/dist/es/interfaces/i-bacon-totp-verification.js +0 -2
  414. package/dist/types/base/BaconBaseAWSDataReqStr.d.ts +0 -17
  415. package/dist/types/concrete/BaconDDBReqDelStr.d.ts +0 -10
  416. package/dist/types/concrete/BaconDDBReqGetStr.d.ts +0 -10
  417. package/dist/types/concrete/BaconDDBReqPutStr.d.ts +0 -10
  418. package/dist/types/concrete/BaconDDBReqQueryStr.d.ts +0 -10
  419. package/dist/types/concrete/BaconDDBReqScanStr.d.ts +0 -10
  420. package/dist/types/concrete/BaconDDBReqUpdateStr.d.ts +0 -10
  421. package/dist/types/enums/bacon-aws-data-req-instructions.d.ts +0 -7
  422. package/dist/types/enums/bacon-data-layer-kinds.d.ts +0 -8
  423. package/dist/types/interfaces/i-bacon-admin-init-request-evt.d.ts +0 -19
  424. package/dist/types/interfaces/i-bacon-totp-verification.d.ts +0 -3
@@ -1,32 +1,32 @@
1
- export const enum BaconActorOIDCProps {
2
- USERNAME = 'username',
3
- POOL = 'pool',
4
- CLIENT = 'client',
5
- JWT_TOKEN = 'jwt_token',
6
- ID_TOKEN = 'id_token',
7
- REFRESH_TOKEN = 'refresh_token',
8
- ACCESS_TOKEN = 'access_token',
9
- AUTHENTICATION_FLOW_TYPE = 'authentication_flow_type',
10
- STORAGE = 'storage',
11
- KEY_PREFIX = 'key_prefix',
12
- USER_DATA_KEY = 'user_data_key',
13
- SUB = 'sub',
14
- NAME = 'name',
15
- EMAIL = 'email',
16
- PHONE_NUMBER = 'phone_number',
17
- GIVEN_NAME = 'given_name',
18
- FAMILY_NAME = 'family_name',
19
- MIDDLE_NAME = 'middle_name',
20
- NICKNAME = 'nickname',
21
- PREFERRED_USERNAME = 'preferred_username',
22
- PROFILE = 'profile',
23
- PICTURE = 'picture',
24
- WEBSITE = 'website',
25
- EMAIL_VERIFIED = 'email_verified',
26
- GENDER = 'gender',
27
- BIRTHDATE = 'birthdate',
28
- ZONEINFO = 'zoneinfo',
29
- LOCALE = 'locale',
30
- PHONE_NUMBER_VERIFIED = 'phone_number_verified',
31
- ADDRESS = 'address'
1
+ export const enum BaconActorOIDCProps {
2
+ USERNAME = 'username',
3
+ POOL = 'pool',
4
+ CLIENT = 'client',
5
+ JWT_TOKEN = 'jwt_token',
6
+ ID_TOKEN = 'id_token',
7
+ REFRESH_TOKEN = 'refresh_token',
8
+ ACCESS_TOKEN = 'access_token',
9
+ AUTHENTICATION_FLOW_TYPE = 'authentication_flow_type',
10
+ STORAGE = 'storage',
11
+ KEY_PREFIX = 'key_prefix',
12
+ USER_DATA_KEY = 'user_data_key',
13
+ SUB = 'sub',
14
+ NAME = 'name',
15
+ EMAIL = 'email',
16
+ PHONE_NUMBER = 'phone_number',
17
+ GIVEN_NAME = 'given_name',
18
+ FAMILY_NAME = 'family_name',
19
+ MIDDLE_NAME = 'middle_name',
20
+ NICKNAME = 'nickname',
21
+ PREFERRED_USERNAME = 'preferred_username',
22
+ PROFILE = 'profile',
23
+ PICTURE = 'picture',
24
+ WEBSITE = 'website',
25
+ EMAIL_VERIFIED = 'email_verified',
26
+ GENDER = 'gender',
27
+ BIRTHDATE = 'birthdate',
28
+ ZONEINFO = 'zoneinfo',
29
+ LOCALE = 'locale',
30
+ PHONE_NUMBER_VERIFIED = 'phone_number_verified',
31
+ ADDRESS = 'address'
32
32
  }
@@ -1,8 +1,8 @@
1
- export const enum BaconActorStatuses {
2
- ACTIVE = "active",
3
- ACTIVE_SUB_SP = "active_subscription_sp",
4
- ACTIVE_SP = "active_sp",
5
- INACTIVE = "inactive",
6
- INACTIVE_SP = "inactive_sp",
7
- SUPER = "super"
1
+ export const enum BaconActorStatuses {
2
+ ACTIVE = "active",
3
+ ACTIVE_SUB_SP = "active_subscription_sp",
4
+ ACTIVE_SP = "active_sp",
5
+ INACTIVE = "inactive",
6
+ INACTIVE_SP = "inactive_sp",
7
+ SUPER = "super"
8
8
  }
@@ -1,9 +1,9 @@
1
- export const enum BaconActorTypes {
2
- BACON_SUPER_ADMIN = "bacon_super_admin",
3
- BACON_SUPPORT_ENGINEER = "bacon_support_engineer",
4
- BACON_CS_REP = "bacon_cs_rep",
5
- BACON_SALES_REP = "bacon_sales_rep",
6
- BACON_SP = "bacon_sp",
7
- BACON_SP_EMP = "bacon_sp_emp",
8
- BACON_3P_CLIENT = "bacon_3p_client"
1
+ export const enum BaconActorTypes {
2
+ BACON_SUPER_ADMIN = "bacon_super_admin",
3
+ BACON_SUPPORT_ENGINEER = "bacon_support_engineer",
4
+ BACON_CS_REP = "bacon_cs_rep",
5
+ BACON_SALES_REP = "bacon_sales_rep",
6
+ BACON_SP = "bacon_sp",
7
+ BACON_SP_EMP = "bacon_sp_emp",
8
+ BACON_3P_CLIENT = "bacon_3p_client"
9
9
  }
@@ -1,3 +1,3 @@
1
- export enum BaconAITaskDescriptions {
2
- ACTION_ITEM_GENERATOR = "action_item_generator"
1
+ export enum BaconAITaskDescriptions {
2
+ ACTION_ITEM_GENERATOR = "action_item_generator"
3
3
  }
@@ -1,5 +1,5 @@
1
- export const enum BaconAuthMfaTypes {
2
- SMS = "SMS",
3
- TOTP = "TOTP",
4
- EMAIL = "EMAIL"
1
+ export const enum BaconAuthMfaTypes {
2
+ SMS = "SMS",
3
+ TOTP = "TOTP",
4
+ EMAIL = "EMAIL"
5
5
  }
@@ -1,4 +1,4 @@
1
- export const enum BaconAWSObjectRequestInstructions {
2
- GET_OBJECT = "GetObject",
3
- PUT_OBJECT = "PutObject"
1
+ export const enum BaconAWSObjectRequestInstructions {
2
+ GET_OBJECT = "GetObject",
3
+ PUT_OBJECT = "PutObject"
4
4
  }
@@ -1,26 +1,26 @@
1
- export const enum BaconAWSRegions {
2
- 'us-east-1',
3
- 'us-east-2',
4
- 'us-west-1',
5
- 'us-west-2',
6
- 'af-south-1',
7
- 'ap-east-1',
8
- 'ap-southeast-3',
9
- 'ap-south-1',
10
- 'ap-northeast-3',
11
- 'ap-northeast-2',
12
- 'ap-southeast-1',
13
- 'ap-southeast-2',
14
- 'ap-northeast-1',
15
- 'ca-central-1',
16
- 'eu-central-1',
17
- 'eu-west-1',
18
- 'eu-west-2',
19
- 'eu-south-1',
20
- 'eu-west-3',
21
- 'eu-north-1',
22
- 'me-south-1',
23
- 'sa-east-1',
24
- 'us-gov-east-1',
25
- 'us-gov-west-1'
1
+ export const enum BaconAWSRegions {
2
+ 'us-east-1',
3
+ 'us-east-2',
4
+ 'us-west-1',
5
+ 'us-west-2',
6
+ 'af-south-1',
7
+ 'ap-east-1',
8
+ 'ap-southeast-3',
9
+ 'ap-south-1',
10
+ 'ap-northeast-3',
11
+ 'ap-northeast-2',
12
+ 'ap-southeast-1',
13
+ 'ap-southeast-2',
14
+ 'ap-northeast-1',
15
+ 'ca-central-1',
16
+ 'eu-central-1',
17
+ 'eu-west-1',
18
+ 'eu-west-2',
19
+ 'eu-south-1',
20
+ 'eu-west-3',
21
+ 'eu-north-1',
22
+ 'me-south-1',
23
+ 'sa-east-1',
24
+ 'us-gov-east-1',
25
+ 'us-gov-west-1'
26
26
  }
@@ -1,13 +1,13 @@
1
- export const enum BaconBusinessLayerKinds {
2
- BaconAIContextCompletionRequest = "BaconAIContextCompletionRequest",
3
- BaconBaseLoggerEvent = "BaconBaseLoggerEvent",
4
- BaconCognitoAdminRequestEvent = "BaconCognitoAdminRequestEvent",
5
- BaconGenericLoggerEvent = "BaconGenericLoggerEvent",
6
- BaconAccessLoggerEvent = "BaconAccessLoggerEvent",
7
- BaconPermissionsLoggerEvent = "BaconPermissionsLoggerEvent",
8
- BaconIOTPermsRequestEvent = "BaconIOTPermsRequestEvent",
9
- BaconStripeRequestEvent = "BaconStripeRequestEvent",
10
- BaconUIPassthroughInputEvent = "BaconUIPassthroughInputEvent",
11
- BaconAdminInitRequestEvent = "BaconAdminInitRequestEvent",
12
- BaconEmailRequestEvent = "BaconEmailRequestEvent"
1
+ export const enum BaconBusinessLayerKinds {
2
+ BaconAIContextCompletionRequest = "BaconAIContextCompletionRequest",
3
+ BaconBaseLoggerEvent = "BaconBaseLoggerEvent",
4
+ BaconCognitoAdminRequestEvent = "BaconCognitoAdminRequestEvent",
5
+ BaconGenericLoggerEvent = "BaconGenericLoggerEvent",
6
+ BaconAccessLoggerEvent = "BaconAccessLoggerEvent",
7
+ BaconPermissionsLoggerEvent = "BaconPermissionsLoggerEvent",
8
+ BaconIOTPermsRequestEvent = "BaconIOTPermsRequestEvent",
9
+ BaconStripeRequestEvent = "BaconStripeRequestEvent",
10
+ BaconUIPassthroughInputEvent = "BaconUIPassthroughInputEvent",
11
+ BaconAdminInitRequestEvent = "BaconAdminInitRequestEvent",
12
+ BaconEmailRequestEvent = "BaconEmailRequestEvent"
13
13
  }
@@ -1,37 +1,37 @@
1
- export const enum BaconLoggerCodes {
2
- IncomingPayloadMissing_1001 = "Service entrypoint did not detect an incoming payload. Inspect the incoming event on the service (lambda function).",
3
- IdentityProviderNotValid_1002 = "The indicated identity provider on the incoming event is not valid.",
4
- NoRouteMatch_1002 = "A route was not found for the incoming event. Inspect the incoming event on the service (lambda function).",
5
- ErrorInvokingMicroservice_1003 = "An error occured when attempting to invoke a microservice. Inspect the event in the logs for more info.",
6
- FederatedPreSignUpEvent_1003 = "A federated user has authenticated with an external IdP. The user details are contained in the payload.",
7
- UnexpectedCognitoUserStatus_1003 = "An unexpected Cognito user status was detected. Inspect the incoming event on the service (lambda function).",
8
- ErrorParsingOIDCIdentitiesArray_1004 = "An unknown error occured when attempting to parse the identities property on the incoming event.",
9
- IncomingPayloadKindInvalid_1005 = "Service entrypoint rejected the incoming intra-service kind as invalid. Inspect the incoming event kind",
10
- ServiceProviderFirstTimeAccess_1006 = "A federated service provider signed in from the Amazon Cognito hosted UI sign-in page for the first time.",
11
- ErrorParsingOIDCIdentityProviders_1007 = "We tried to parse the incoming OIDC Identities property on the incoming event. Inspect the event in the logs.",
12
- ErrorAttachingIoTPolicy_1008 = "An error occured when attempting to attach an IoT policy to a user. Inspect the event in the logs for more info.",
13
- MissingPropertiesOnIncomingPayload_1009 = "The incoming payload is missing required properties. Inspect the incoming event on the service (lambda function).",
14
- InvalidActionOnIncomingPayload_1010 = "The incoming payload contains an invalid action. Inspect the incoming event on the service (lambda function).",
15
- PathParametersMissingOnIncomingEvent_1011 = "The incoming event is missing path parameters. Inspect the incoming event on the service (lambda function).",
16
- DatalayerError_1012 = "An error occured when attempting to invoke the datalayer. Inspect the event in the logs for more info.",
17
- UnknownDataLayerKind_1013 = "An unknown data layer kind was detected. Inspect the incoming event on the service (lambda function).",
18
- StripeServiceError_1014 = "An error occured when invoking the Stripe service. Check the logs for more information.",
19
- StripeEntityInvalid_1015 = "The Stripe entity is invalid. Check the logs for more information.",
20
- StripeActionInvalid_1016 = "The Stripe action is invalid. Check the logs for more information.",
21
- DataLayerResponseMissingItemsProperty_1017 = "The data layer returned a response that does not include an Items property. Check the logs for more information",
22
- QBOServiceCredentialsRetrievalError_1018 = "An error occured when attempting to retrieve QBO connection credentials for the user. Check the logs and ensure user has a qboconnection object in the DB.",
23
- QBOOAuthCredentialsMissing_1019 = "The user does not have QBO OAuth credentials. Check the logs and ensure user has a qboconnection object in the DB.",
24
- QBOServiceRefreshAccessTokenError_1020 = "An error occured when attempting to refresh the QBO access token. Check the logs for more information.",
25
- QBOConnectionCredentialsUpdateError_1021 = "An error occured when attempting to update the QBO connection credentials for the user. Check the logs for more info.",
26
- QBOServiceQueryError_1022 = "An error occured when attempting to query the QBO service. Check the logs for more info.",
27
- InvalidAITaskDescription_1023 = "The incoming AI Task Description is incorrect or invalid. Check the input event in the logs.",
28
- ErrorListingCognitoGroups_1024 = "An error occured while attempting to list groups from the User Pool.",
29
- ErrorListingCognitoUsers_1025 = "An error occured while attempting to list Cognito User Pool users.",
30
- ErrorAddingCognitoUserToGroup_1026 = "An error occured while attempting to add a Cognito user to a group.",
31
- ErrorInvokingUserInitializationService_1027 = "An error occured when attempting to invoke the user initialization service. Check the logs for more info.",
32
- ErrorSendingEmailViaSES_1028 = "An error occured when attempting to send email via SES. Check email service logs for more information.",
33
- ErrorFetchingClientTaxData_1029 = "An error occured when attempting to fetch/refresh client tax data. This is likely an error at the data service level. Check the data service and passthrough logs.",
34
- ObjectLayerError_1030 = "An error occured when attempting to invoke the object layer. Inspect the event in the logs for more info.",
35
- UnknownObjectLayerKind_1031 = "An unknown object layer kind was detected. Inspect the incoming event on the service (lambda function).",
36
- UnknownBusinessLayerKind_1032 = "An unknown business layer kind was detected. Inspect the incoming event on the service (lambda function).",
1
+ export const enum BaconLoggerCodes {
2
+ IncomingPayloadMissing_1001 = "Service entrypoint did not detect an incoming payload. Inspect the incoming event on the service (lambda function).",
3
+ IdentityProviderNotValid_1002 = "The indicated identity provider on the incoming event is not valid.",
4
+ NoRouteMatch_1002 = "A route was not found for the incoming event. Inspect the incoming event on the service (lambda function).",
5
+ ErrorInvokingMicroservice_1003 = "An error occured when attempting to invoke a microservice. Inspect the event in the logs for more info.",
6
+ FederatedPreSignUpEvent_1003 = "A federated user has authenticated with an external IdP. The user details are contained in the payload.",
7
+ UnexpectedCognitoUserStatus_1003 = "An unexpected Cognito user status was detected. Inspect the incoming event on the service (lambda function).",
8
+ ErrorParsingOIDCIdentitiesArray_1004 = "An unknown error occured when attempting to parse the identities property on the incoming event.",
9
+ IncomingPayloadKindInvalid_1005 = "Service entrypoint rejected the incoming intra-service kind as invalid. Inspect the incoming event kind",
10
+ ServiceProviderFirstTimeAccess_1006 = "A federated service provider signed in from the Amazon Cognito hosted UI sign-in page for the first time.",
11
+ ErrorParsingOIDCIdentityProviders_1007 = "We tried to parse the incoming OIDC Identities property on the incoming event. Inspect the event in the logs.",
12
+ ErrorAttachingIoTPolicy_1008 = "An error occured when attempting to attach an IoT policy to a user. Inspect the event in the logs for more info.",
13
+ MissingPropertiesOnIncomingPayload_1009 = "The incoming payload is missing required properties. Inspect the incoming event on the service (lambda function).",
14
+ InvalidActionOnIncomingPayload_1010 = "The incoming payload contains an invalid action. Inspect the incoming event on the service (lambda function).",
15
+ PathParametersMissingOnIncomingEvent_1011 = "The incoming event is missing path parameters. Inspect the incoming event on the service (lambda function).",
16
+ DatalayerError_1012 = "An error occured when attempting to invoke the datalayer. Inspect the event in the logs for more info.",
17
+ UnknownDataLayerKind_1013 = "An unknown data layer kind was detected. Inspect the incoming event on the service (lambda function).",
18
+ StripeServiceError_1014 = "An error occured when invoking the Stripe service. Check the logs for more information.",
19
+ StripeEntityInvalid_1015 = "The Stripe entity is invalid. Check the logs for more information.",
20
+ StripeActionInvalid_1016 = "The Stripe action is invalid. Check the logs for more information.",
21
+ DataLayerResponseMissingItemsProperty_1017 = "The data layer returned a response that does not include an Items property. Check the logs for more information",
22
+ QBOServiceCredentialsRetrievalError_1018 = "An error occured when attempting to retrieve QBO connection credentials for the user. Check the logs and ensure user has a qboconnection object in the DB.",
23
+ QBOOAuthCredentialsMissing_1019 = "The user does not have QBO OAuth credentials. Check the logs and ensure user has a qboconnection object in the DB.",
24
+ QBOServiceRefreshAccessTokenError_1020 = "An error occured when attempting to refresh the QBO access token. Check the logs for more information.",
25
+ QBOConnectionCredentialsUpdateError_1021 = "An error occured when attempting to update the QBO connection credentials for the user. Check the logs for more info.",
26
+ QBOServiceQueryError_1022 = "An error occured when attempting to query the QBO service. Check the logs for more info.",
27
+ InvalidAITaskDescription_1023 = "The incoming AI Task Description is incorrect or invalid. Check the input event in the logs.",
28
+ ErrorListingCognitoGroups_1024 = "An error occured while attempting to list groups from the User Pool.",
29
+ ErrorListingCognitoUsers_1025 = "An error occured while attempting to list Cognito User Pool users.",
30
+ ErrorAddingCognitoUserToGroup_1026 = "An error occured while attempting to add a Cognito user to a group.",
31
+ ErrorInvokingUserInitializationService_1027 = "An error occured when attempting to invoke the user initialization service. Check the logs for more info.",
32
+ ErrorSendingEmailViaSES_1028 = "An error occured when attempting to send email via SES. Check email service logs for more information.",
33
+ ErrorFetchingClientTaxData_1029 = "An error occured when attempting to fetch/refresh client tax data. This is likely an error at the data service level. Check the data service and passthrough logs.",
34
+ ObjectLayerError_1030 = "An error occured when attempting to invoke the object layer. Inspect the event in the logs for more info.",
35
+ UnknownObjectLayerKind_1031 = "An unknown object layer kind was detected. Inspect the incoming event on the service (lambda function).",
36
+ UnknownBusinessLayerKind_1032 = "An unknown business layer kind was detected. Inspect the incoming event on the service (lambda function).",
37
37
  }
@@ -1,7 +1,7 @@
1
- export const enum BaconLoggerEventTypes {
2
- ACCESS = "access",
3
- CRITICAL_ERROR = "CriticalError",
4
- GENERIC = "generic",
5
- PASSTHROUGH = "passthrough",
6
- PERMISSIONS = "permissions"
1
+ export const enum BaconLoggerEventTypes {
2
+ ACCESS = "access",
3
+ CRITICAL_ERROR = "CriticalError",
4
+ GENERIC = "generic",
5
+ PASSTHROUGH = "passthrough",
6
+ PERMISSIONS = "permissions"
7
7
  }
@@ -1,4 +1,4 @@
1
- export const enum BaconObjectLayerKinds {
2
- BaconS3GetObjectStrategy = "BaconS3GetObjectStrategy",
3
- BaconS3PutObjectStrategy = "BaconS3PutObjectStrategy"
1
+ export const enum BaconObjectLayerKinds {
2
+ BaconS3GetObjectStrategy = "BaconS3GetObjectStrategy",
3
+ BaconS3PutObjectStrategy = "BaconS3PutObjectStrategy"
4
4
  }
@@ -1,27 +1,27 @@
1
- // Routes accross the entire application
2
- // BaconRoutes should be used in all thin clients to reference routes
3
-
4
- // Do not use const as routes should be iterable and not inlined by the compiler
5
- export enum BaconRoutes {
6
- ActionItemsAIRoute = "action-items-ai",
7
- AdminRoute = "admin",
8
- DataRoute = "data",
9
- EmailRoute = "email",
10
- LoggerRoute = "logger",
11
- ObjectRoute = "object",
12
- QBORoute = "qbo",
13
- StripeRoute = "stripe",
14
- }
15
-
16
- // Utility function to get enum key by value
17
- export function getKeyByValue(
18
- enumeration: typeof BaconRoutes,
19
- value: string
20
- ): string | undefined {
21
- for (const key in enumeration) {
22
- if (enumeration[key as keyof typeof enumeration] === value) {
23
- return key;
24
- }
25
- }
26
- return undefined;
1
+ // Routes accross the entire application
2
+ // BaconRoutes should be used in all thin clients to reference routes
3
+
4
+ // Do not use const as routes should be iterable and not inlined by the compiler
5
+ export enum BaconRoutes {
6
+ ActionItemsAIRoute = "action-items-ai",
7
+ AdminRoute = "admin",
8
+ DataRoute = "data",
9
+ EmailRoute = "email",
10
+ LoggerRoute = "logger",
11
+ ObjectRoute = "object",
12
+ QBORoute = "qbo",
13
+ StripeRoute = "stripe",
14
+ }
15
+
16
+ // Utility function to get enum key by value
17
+ export function getKeyByValue(
18
+ enumeration: typeof BaconRoutes,
19
+ value: string
20
+ ): string | undefined {
21
+ for (const key in enumeration) {
22
+ if (enumeration[key as keyof typeof enumeration] === value) {
23
+ return key;
24
+ }
25
+ }
26
+ return undefined;
27
27
  }
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Business and Operations (B&O) tax filing frequencies for client accounting intake
3
+ */
4
+ export const enum ClientAcctIntakeBOFilingFrequencies {
5
+ MONTHLY = "Monthly",
6
+ QUARTERLY = "Quarterly",
7
+ ANNUALLY = "Annually",
8
+ NOT_APPLICABLE = "N/A"
9
+ }
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Business entity types for client accounting intake
3
+ */
4
+ export const enum ClientAcctIntakeBusinessEntityTypes {
5
+ S_CORPORATION = "S-Corporation",
6
+ SOLE_PROPRIETOR = "Sole Proprietor",
7
+ PARTNERSHIP = "Partnership",
8
+ QJV = "QJV",
9
+ C_CORPORATION = "C-Corporation",
10
+ NON_PROFIT = "Non-Profit"
11
+ }
@@ -1,16 +1,18 @@
1
- export * from './bacon-accounting-action-item-email-templates';
2
- export * from './bacon-accounting-email-templates';
3
- export * from './bacon-actor-init-statuses';
4
- export * from './bacon-actor-init-trig-sources';
5
- export * from './bacon-actor-oidc-props';
6
- export * from './bacon-actor-statuses';
7
- export * from './bacon-actor-types';
8
- export * from './bacon-ai-task-descriptions';
9
- export * from './bacon-auth-mfa-types';
10
- export * from './bacon-aws-object-request-instructions';
11
- export * from './bacon-aws-regions';
12
- export * from './bacon-bl-kinds';
13
- export * from './bacon-logger-codes';
14
- export * from './bacon-logger-evt-types';
15
- export * from './bacon-object-layer-kinds';
16
- export * from './bacon-routes';
1
+ export * from './bacon-accounting-action-item-email-templates';
2
+ export * from './bacon-accounting-email-templates';
3
+ export * from './bacon-actor-init-statuses';
4
+ export * from './client-acct-intake-bo-filing-frequencies';
5
+ export * from './client-acct-intake-business-entity-types';
6
+ export * from './bacon-actor-init-trig-sources';
7
+ export * from './bacon-actor-oidc-props';
8
+ export * from './bacon-actor-statuses';
9
+ export * from './bacon-actor-types';
10
+ export * from './bacon-ai-task-descriptions';
11
+ export * from './bacon-auth-mfa-types';
12
+ export * from './bacon-aws-object-request-instructions';
13
+ export * from './bacon-aws-regions';
14
+ export * from './bacon-bl-kinds';
15
+ export * from './bacon-logger-codes';
16
+ export * from './bacon-logger-evt-types';
17
+ export * from './bacon-object-layer-kinds';
18
+ export * from './bacon-routes';
package/src/index.ts CHANGED
@@ -1,14 +1,15 @@
1
- /**
2
- * Bacon Core
3
- *
4
- * @module bacon-core
5
- */
6
-
7
- export * from './base';
8
- export * from './concrete';
9
- export * from './constants';
10
- export * from './enums';
11
- export * from './interfaces';
12
- export * from './maps';
13
- export * from './static';
14
-
1
+ /**
2
+ * Bacon Core
3
+ *
4
+ * @module bacon-core
5
+ */
6
+
7
+ export * from './base';
8
+ export * from './concrete';
9
+ export * from './constants';
10
+ export * from './enums';
11
+ export * from './interfaces';
12
+ export * from './maps';
13
+ export * from './static';
14
+ export * from './utils';
15
+
@@ -1,7 +1,7 @@
1
- import { BaconActorInitStatuses } from "../enums/bacon-actor-init-statuses";
2
-
3
- export interface IBaconActorInitStatus {
4
-
5
- actorInitStatus: BaconActorInitStatuses;
6
-
1
+ import { BaconActorInitStatuses } from "../enums/bacon-actor-init-statuses";
2
+
3
+ export interface IBaconActorInitStatus {
4
+
5
+ actorInitStatus: BaconActorInitStatuses;
6
+
7
7
  }
@@ -1,4 +1,4 @@
1
- export interface IBaconActorInitTrigCtx {
2
- awsSdkVersion: string;
3
- clientId: string;
1
+ export interface IBaconActorInitTrigCtx {
2
+ awsSdkVersion: string;
3
+ clientId: string;
4
4
  }
@@ -1,6 +1,6 @@
1
- import { IOIDCProfile } from "./i-oidc-profile"
2
-
3
- export interface IBaconActorInitTrigReq {
4
- userAttributes: IOIDCProfile;
5
- validationData: any;
1
+ import { IOIDCProfile } from "./i-oidc-profile"
2
+
3
+ export interface IBaconActorInitTrigReq {
4
+ userAttributes: IOIDCProfile;
5
+ validationData: any;
6
6
  }
@@ -1,5 +1,5 @@
1
- export interface IBaconActorInitTrigResp {
2
- autoConfirmUser: boolean;
3
- autoVerifyEmail: boolean;
4
- autoVerifyPhone: boolean;
1
+ export interface IBaconActorInitTrigResp {
2
+ autoConfirmUser: boolean;
3
+ autoVerifyEmail: boolean;
4
+ autoVerifyPhone: boolean;
5
5
  }
@@ -1,3 +1,3 @@
1
- export interface IBaconActorInitTrigUserAttr {
2
- [key: string]: String
1
+ export interface IBaconActorInitTrigUserAttr {
2
+ [key: string]: String
3
3
  }
@@ -1,15 +1,15 @@
1
- import { BaconActorInitTriggerSources, BaconAWSRegions } from "../enums";
2
- import { IBaconActorInitTrigCtx } from "./i-actor-init-trig-ctx";
3
- import { IBaconActorInitTrigReq } from "./i-actor-init-trig-req";
4
- import { IBaconActorInitTrigResp } from "./i-actor-init-trig-resp";
5
-
6
- export interface IBaconActorInitTriggerEvent {
7
- version: string;
8
- triggerSource: BaconActorInitTriggerSources;
9
- region: BaconAWSRegions;
10
- userPoolId: string;
11
- userName: string;
12
- callerContext: IBaconActorInitTrigCtx;
13
- request: IBaconActorInitTrigReq;
14
- response: IBaconActorInitTrigResp;
1
+ import { BaconActorInitTriggerSources, BaconAWSRegions } from "../enums";
2
+ import { IBaconActorInitTrigCtx } from "./i-actor-init-trig-ctx";
3
+ import { IBaconActorInitTrigReq } from "./i-actor-init-trig-req";
4
+ import { IBaconActorInitTrigResp } from "./i-actor-init-trig-resp";
5
+
6
+ export interface IBaconActorInitTriggerEvent {
7
+ version: string;
8
+ triggerSource: BaconActorInitTriggerSources;
9
+ region: BaconAWSRegions;
10
+ userPoolId: string;
11
+ userName: string;
12
+ callerContext: IBaconActorInitTrigCtx;
13
+ request: IBaconActorInitTrigReq;
14
+ response: IBaconActorInitTrigResp;
15
15
  }
@@ -1,7 +1,7 @@
1
- import { BaconActorStatuses } from "../enums/bacon-actor-statuses";
2
-
3
- export interface IBaconActorStatus {
4
-
5
- actorStatus: BaconActorStatuses;
6
-
1
+ import { BaconActorStatuses } from "../enums/bacon-actor-statuses";
2
+
3
+ export interface IBaconActorStatus {
4
+
5
+ actorStatus: BaconActorStatuses;
6
+
7
7
  }
@@ -1,6 +1,6 @@
1
- export interface IBaconActionItemSettings {
2
- acceptUpload: boolean;
3
- autoReminder: boolean;
4
- highImportance: boolean;
5
- phoneReminder: boolean;
1
+ export interface IBaconActionItemSettings {
2
+ acceptUpload: boolean;
3
+ autoReminder: boolean;
4
+ highImportance: boolean;
5
+ phoneReminder: boolean;
6
6
  }
@@ -1,4 +1,4 @@
1
- export interface IBaconAdminMasterEntry {
2
- sub: string;
3
- federatedId: string;
1
+ export interface IBaconAdminMasterEntry {
2
+ sub: string;
3
+ federatedId: string;
4
4
  }
@@ -1,7 +1,7 @@
1
- export interface IBaconAuthenticatorApp {
2
- name: string;
3
- deepLink: string;
4
- universalLink?: string;
5
- playStoreUrl?: string;
6
- appStoreUrl?: string;
1
+ export interface IBaconAuthenticatorApp {
2
+ name: string;
3
+ deepLink: string;
4
+ universalLink?: string;
5
+ playStoreUrl?: string;
6
+ appStoreUrl?: string;
7
7
  }
@@ -1,10 +1,10 @@
1
- import { BaconBusinessLayerKinds, BaconLoggerEventTypes } from "../enums";
2
- import { IOIDCProfile } from "./i-oidc-profile";
3
-
4
- export interface IBaconBaseLoggerEvent {
5
- kind: BaconBusinessLayerKinds;
6
- eventType: BaconLoggerEventTypes;
7
- error: string;
8
- actor: IOIDCProfile;
9
- timestamp: string;
1
+ import { BaconBusinessLayerKinds, BaconLoggerEventTypes } from "../enums";
2
+ import { IOIDCProfile } from "./i-oidc-profile";
3
+
4
+ export interface IBaconBaseLoggerEvent {
5
+ kind: BaconBusinessLayerKinds;
6
+ eventType: BaconLoggerEventTypes;
7
+ error: string;
8
+ actor: IOIDCProfile;
9
+ timestamp: string;
10
10
  }
@@ -1,8 +1,8 @@
1
- export interface IBaconClientChecklistItem {
2
- action: string;
3
- description: string;
4
- index: number;
5
- id: string;
6
- explanation: string;
7
- status: 'complete' | 'incomplete'
1
+ export interface IBaconClientChecklistItem {
2
+ action: string;
3
+ description: string;
4
+ index: number;
5
+ id: string;
6
+ explanation: string;
7
+ status: 'complete' | 'incomplete'
8
8
  }