@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.
- package/CHANGELOG.md +2 -2
- package/LICENSE +200 -200
- package/README.md +11 -11
- package/dist/cjs/base/BaconBaseAWSObjectStrategyEvt.js +12 -12
- package/dist/cjs/base/BaconBaseActor.js +12 -12
- package/dist/cjs/base/BaconBaseActorFactory.js +27 -27
- package/dist/cjs/base/BaconBaseActorInitTrigSvc.js +42 -42
- package/dist/cjs/base/BaconBaseBrokerRequestEvent.js +11 -11
- package/dist/cjs/base/BaconBaseLoggerEvt.js +8 -8
- package/dist/cjs/base/BaconBaseLoggerEvtFact.js +20 -20
- package/dist/cjs/base/index.js +11 -11
- package/dist/cjs/concrete/Bacon3PClient.js +11 -11
- package/dist/cjs/concrete/BaconAccessLoggerEvent.js +13 -13
- package/dist/cjs/concrete/BaconActionItem.js +7 -7
- package/dist/cjs/concrete/BaconActionItemSnippet.js +13 -13
- package/dist/cjs/concrete/BaconAdminInitRequestEvt.js +13 -13
- package/dist/cjs/concrete/BaconAiContextCompletionReqEvt.js +9 -9
- package/dist/cjs/concrete/BaconCognitoAdminRequestEvent.js +11 -11
- package/dist/cjs/concrete/BaconEmailRequestEvent.js +11 -11
- package/dist/cjs/concrete/BaconGenericLoggerEvent.js +13 -13
- package/dist/cjs/concrete/BaconIoTPermsBrokerRequestEvent.js +11 -11
- package/dist/cjs/concrete/BaconPermissionsLoggerEvent.js +13 -13
- package/dist/cjs/concrete/BaconS3GetObjectStrategy.js +11 -11
- package/dist/cjs/concrete/BaconS3PutObjectStrategy.js +11 -11
- package/dist/cjs/concrete/BaconSP.js +11 -11
- package/dist/cjs/concrete/BaconStripeReqEvent.js +12 -12
- package/dist/cjs/concrete/BaconSuperAdmin.js +11 -11
- package/dist/cjs/concrete/BaconUploadObject.js +13 -13
- package/dist/cjs/concrete/index.js +21 -21
- package/dist/cjs/constants/bacon-idps.js +4 -4
- package/dist/cjs/constants/index.js +4 -4
- package/dist/cjs/enums/bacon-accounting-action-item-email-templates.js +8 -8
- package/dist/cjs/enums/bacon-accounting-email-templates.js +14 -14
- package/dist/cjs/enums/bacon-actor-init-statuses.js +9 -9
- package/dist/cjs/enums/bacon-actor-init-trig-sources.js +31 -31
- package/dist/cjs/enums/bacon-actor-oidc-props.js +37 -37
- package/dist/cjs/enums/bacon-actor-statuses.js +13 -13
- package/dist/cjs/enums/bacon-actor-types.js +14 -14
- package/dist/cjs/enums/bacon-ai-task-descriptions.js +8 -8
- package/dist/cjs/enums/bacon-auth-mfa-types.js +10 -10
- package/dist/cjs/enums/bacon-aws-object-request-instructions.js +9 -9
- package/dist/cjs/enums/bacon-aws-regions.js +31 -31
- package/dist/cjs/enums/bacon-bl-kinds.js +18 -18
- package/dist/cjs/enums/bacon-logger-codes.js +42 -42
- package/dist/cjs/enums/bacon-logger-evt-types.js +12 -12
- package/dist/cjs/enums/bacon-object-layer-kinds.js +9 -9
- package/dist/cjs/enums/bacon-routes.js +28 -28
- package/dist/cjs/enums/client-acct-intake-bo-filing-frequencies.js +14 -0
- package/dist/cjs/enums/client-acct-intake-business-entity-types.js +16 -0
- package/dist/cjs/enums/index.js +22 -20
- package/dist/cjs/index.js +17 -16
- package/dist/cjs/interfaces/i-actor-init-status.js +3 -3
- package/dist/cjs/interfaces/i-actor-init-trig-ctx.js +3 -3
- package/dist/cjs/interfaces/i-actor-init-trig-req.js +3 -3
- package/dist/cjs/interfaces/i-actor-init-trig-resp.js +3 -3
- package/dist/cjs/interfaces/i-actor-init-trig-user-attr.js +3 -3
- package/dist/cjs/interfaces/i-actor-init-trigger-evt.js +3 -3
- package/dist/cjs/interfaces/i-actor-status.js +3 -3
- package/dist/cjs/interfaces/i-bacon-action-item-settings.js +3 -3
- package/dist/cjs/interfaces/i-bacon-action-item-snippet.js +2 -2
- package/dist/cjs/interfaces/i-bacon-admin-master-entry.js +3 -3
- package/dist/cjs/interfaces/i-bacon-authenticator-app.js +3 -3
- package/dist/cjs/interfaces/i-bacon-base-logger-event.js +3 -3
- package/dist/cjs/interfaces/i-bacon-client-checklist-item.js +3 -3
- package/dist/cjs/interfaces/i-bacon-client-error.js +3 -3
- package/dist/cjs/interfaces/i-bacon-cognito-request.js +3 -3
- package/dist/cjs/interfaces/i-bacon-file.js +3 -3
- package/dist/cjs/interfaces/i-bacon-mfa-status.js +3 -3
- package/dist/cjs/interfaces/i-bacon-object-layer-result.js +3 -3
- package/dist/cjs/interfaces/i-bacon-storage-item.js +3 -3
- package/dist/cjs/interfaces/i-bacon-totp-verification-model.js +3 -3
- package/dist/cjs/interfaces/i-bacon-totp-verification-result.js +3 -3
- package/dist/cjs/interfaces/i-bacon-ui-passthrough-input-event.js +5 -5
- package/dist/cjs/interfaces/i-bacon-update-mfa-pref-result.js +3 -3
- package/dist/cjs/interfaces/i-bacon-upload-request.js +3 -3
- package/dist/cjs/interfaces/i-client-acct-admin-fields.js +3 -0
- package/dist/cjs/interfaces/i-client-acct-business-info.js +3 -0
- package/dist/cjs/interfaces/i-client-acct-business-owner.js +3 -0
- package/dist/cjs/interfaces/i-client-acct-employee-info.js +3 -0
- package/dist/cjs/interfaces/i-client-acct-intake.js +13 -0
- package/dist/cjs/interfaces/i-cognito-admin-request-payload.js +3 -3
- package/dist/cjs/interfaces/i-flat-node.js +3 -3
- package/dist/cjs/interfaces/i-iot-perms-request-payload.js +3 -3
- package/dist/cjs/interfaces/i-oidc-address-claim.js +3 -3
- package/dist/cjs/interfaces/i-oidc-identity.js +3 -3
- package/dist/cjs/interfaces/i-oidc-profile.js +3 -3
- package/dist/cjs/interfaces/i-token-time.js +3 -3
- package/dist/cjs/interfaces/i-user.js +3 -3
- package/dist/cjs/interfaces/index.js +41 -36
- package/dist/cjs/maps/bacon-route-to-microservice.js +25 -25
- package/dist/cjs/maps/index.js +4 -4
- package/dist/cjs/static/Bacon3PClientFactory.js +13 -13
- package/dist/cjs/static/BaconAccessLoggerEvtFactory.js +13 -13
- package/dist/cjs/static/BaconGenericLoggerEvtFactory.js +13 -13
- package/dist/cjs/static/BaconPermissionsLoggerEventFactory.js +13 -13
- package/dist/cjs/static/BaconSPFactory.js +13 -13
- package/dist/cjs/static/BaconSuperAdminFactory.js +13 -13
- package/dist/cjs/static/index.js +10 -10
- package/dist/cjs/utils/TypeUtils.js +15 -0
- package/dist/cjs/utils/index.js +5 -0
- package/dist/es/base/BaconBaseAWSObjectStrategyEvt.js +10 -10
- package/dist/es/base/BaconBaseActor.js +10 -10
- package/dist/es/base/BaconBaseActorFactory.js +26 -26
- package/dist/es/base/BaconBaseActorInitTrigSvc.js +42 -42
- package/dist/es/base/BaconBaseBrokerRequestEvent.js +9 -9
- package/dist/es/base/BaconBaseLoggerEvt.js +7 -7
- package/dist/es/base/BaconBaseLoggerEvtFact.js +19 -19
- package/dist/es/base/index.js +8 -8
- package/dist/es/concrete/Bacon3PClient.js +11 -11
- package/dist/es/concrete/BaconAccessLoggerEvent.js +14 -14
- package/dist/es/concrete/BaconActionItem.js +7 -7
- package/dist/es/concrete/BaconActionItemSnippet.js +11 -11
- package/dist/es/concrete/BaconAdminInitRequestEvt.js +14 -14
- package/dist/es/concrete/BaconAiContextCompletionReqEvt.js +11 -11
- package/dist/es/concrete/BaconCognitoAdminRequestEvent.js +11 -11
- package/dist/es/concrete/BaconEmailRequestEvent.js +11 -11
- package/dist/es/concrete/BaconGenericLoggerEvent.js +14 -14
- package/dist/es/concrete/BaconIoTPermsBrokerRequestEvent.js +11 -11
- package/dist/es/concrete/BaconPermissionsLoggerEvent.js +14 -14
- package/dist/es/concrete/BaconS3GetObjectStrategy.js +11 -11
- package/dist/es/concrete/BaconS3PutObjectStrategy.js +11 -11
- package/dist/es/concrete/BaconSP.js +11 -11
- package/dist/es/concrete/BaconStripeReqEvent.js +10 -10
- package/dist/es/concrete/BaconSuperAdmin.js +11 -11
- package/dist/es/concrete/BaconUploadObject.js +11 -11
- package/dist/es/concrete/index.js +18 -18
- package/dist/es/constants/bacon-idps.js +1 -1
- package/dist/es/constants/index.js +1 -1
- package/dist/es/enums/bacon-accounting-action-item-email-templates.js +5 -5
- package/dist/es/enums/bacon-accounting-email-templates.js +11 -11
- package/dist/es/enums/bacon-actor-init-statuses.js +6 -6
- package/dist/es/enums/bacon-actor-init-trig-sources.js +28 -28
- package/dist/es/enums/bacon-actor-oidc-props.js +34 -34
- package/dist/es/enums/bacon-actor-statuses.js +10 -10
- package/dist/es/enums/bacon-actor-types.js +11 -11
- package/dist/es/enums/bacon-ai-task-descriptions.js +5 -5
- package/dist/es/enums/bacon-auth-mfa-types.js +7 -7
- package/dist/es/enums/bacon-aws-object-request-instructions.js +6 -6
- package/dist/es/enums/bacon-aws-regions.js +28 -28
- package/dist/es/enums/bacon-bl-kinds.js +15 -15
- package/dist/es/enums/bacon-logger-codes.js +39 -39
- package/dist/es/enums/bacon-logger-evt-types.js +9 -9
- package/dist/es/enums/bacon-object-layer-kinds.js +6 -6
- package/dist/es/enums/bacon-routes.js +24 -24
- package/dist/es/enums/client-acct-intake-bo-filing-frequencies.js +11 -0
- package/dist/es/enums/client-acct-intake-business-entity-types.js +13 -0
- package/dist/es/enums/index.js +19 -17
- package/dist/es/index.js +14 -13
- package/dist/es/interfaces/i-actor-init-status.js +2 -2
- package/dist/es/interfaces/i-actor-init-trig-ctx.js +2 -2
- package/dist/es/interfaces/i-actor-init-trig-req.js +2 -2
- package/dist/es/interfaces/i-actor-init-trig-resp.js +2 -2
- package/dist/es/interfaces/i-actor-init-trig-user-attr.js +2 -2
- package/dist/es/interfaces/i-actor-init-trigger-evt.js +2 -2
- package/dist/es/interfaces/i-actor-status.js +2 -2
- package/dist/es/interfaces/i-bacon-action-item-settings.js +2 -2
- package/dist/es/interfaces/i-bacon-action-item-snippet.js +1 -1
- package/dist/es/interfaces/i-bacon-admin-master-entry.js +2 -2
- package/dist/es/interfaces/i-bacon-authenticator-app.js +2 -2
- package/dist/es/interfaces/i-bacon-base-logger-event.js +2 -2
- package/dist/es/interfaces/i-bacon-client-checklist-item.js +2 -2
- package/dist/es/interfaces/i-bacon-client-error.js +2 -2
- package/dist/es/interfaces/i-bacon-cognito-request.js +2 -2
- package/dist/es/interfaces/i-bacon-file.js +2 -2
- package/dist/es/interfaces/i-bacon-mfa-status.js +2 -2
- package/dist/es/interfaces/i-bacon-object-layer-result.js +2 -2
- package/dist/es/interfaces/i-bacon-storage-item.js +2 -2
- package/dist/es/interfaces/i-bacon-totp-verification-model.js +2 -2
- package/dist/es/interfaces/i-bacon-totp-verification-result.js +2 -2
- package/dist/es/interfaces/i-bacon-ui-passthrough-input-event.js +4 -4
- package/dist/es/interfaces/i-bacon-update-mfa-pref-result.js +2 -2
- package/dist/es/interfaces/i-bacon-upload-request.js +2 -2
- package/dist/es/interfaces/i-client-acct-admin-fields.js +2 -0
- package/dist/es/interfaces/i-client-acct-business-info.js +2 -0
- package/dist/es/interfaces/i-client-acct-business-owner.js +2 -0
- package/dist/es/interfaces/i-client-acct-employee-info.js +2 -0
- package/dist/es/interfaces/i-client-acct-intake.js +10 -0
- package/dist/es/interfaces/i-cognito-admin-request-payload.js +2 -2
- package/dist/es/interfaces/i-flat-node.js +2 -2
- package/dist/es/interfaces/i-iot-perms-request-payload.js +2 -2
- package/dist/es/interfaces/i-oidc-address-claim.js +2 -2
- package/dist/es/interfaces/i-oidc-identity.js +2 -2
- package/dist/es/interfaces/i-oidc-profile.js +2 -2
- package/dist/es/interfaces/i-token-time.js +2 -2
- package/dist/es/interfaces/i-user.js +2 -2
- package/dist/es/interfaces/index.js +38 -33
- package/dist/es/maps/bacon-route-to-microservice.js +22 -22
- package/dist/es/maps/index.js +1 -1
- package/dist/es/static/Bacon3PClientFactory.js +16 -16
- package/dist/es/static/BaconAccessLoggerEvtFactory.js +16 -16
- package/dist/es/static/BaconGenericLoggerEvtFactory.js +16 -16
- package/dist/es/static/BaconPermissionsLoggerEventFactory.js +16 -16
- package/dist/es/static/BaconSPFactory.js +16 -16
- package/dist/es/static/BaconSuperAdminFactory.js +16 -16
- package/dist/es/static/index.js +7 -7
- package/dist/es/utils/TypeUtils.js +11 -0
- package/dist/es/utils/index.js +2 -0
- package/dist/types/base/BaconBaseAWSObjectStrategyEvt.d.ts +8 -8
- package/dist/types/base/BaconBaseActor.d.ts +7 -7
- package/dist/types/base/BaconBaseActorFactory.d.ts +11 -11
- package/dist/types/base/BaconBaseActorInitTrigSvc.d.ts +39 -39
- package/dist/types/base/BaconBaseBrokerRequestEvent.d.ts +6 -6
- package/dist/types/base/BaconBaseLoggerEvt.d.ts +12 -12
- package/dist/types/base/BaconBaseLoggerEvtFact.d.ts +13 -13
- package/dist/types/base/index.d.ts +7 -7
- package/dist/types/concrete/Bacon3PClient.d.ts +5 -5
- package/dist/types/concrete/BaconAccessLoggerEvent.d.ts +4 -4
- package/dist/types/concrete/BaconActionItem.d.ts +37 -37
- package/dist/types/concrete/BaconActionItemSnippet.d.ts +7 -7
- package/dist/types/concrete/BaconAdminInitRequestEvt.d.ts +6 -6
- package/dist/types/concrete/BaconAiContextCompletionReqEvt.d.ts +7 -7
- package/dist/types/concrete/BaconCognitoAdminRequestEvent.d.ts +6 -6
- package/dist/types/concrete/BaconEmailRequestEvent.d.ts +5 -5
- package/dist/types/concrete/BaconGenericLoggerEvent.d.ts +4 -4
- package/dist/types/concrete/BaconIoTPermsBrokerRequestEvent.d.ts +6 -6
- package/dist/types/concrete/BaconPermissionsLoggerEvent.d.ts +4 -4
- package/dist/types/concrete/BaconS3GetObjectStrategy.d.ts +5 -5
- package/dist/types/concrete/BaconS3PutObjectStrategy.d.ts +5 -5
- package/dist/types/concrete/BaconSP.d.ts +5 -5
- package/dist/types/concrete/BaconStripeReqEvent.d.ts +7 -7
- package/dist/types/concrete/BaconSuperAdmin.d.ts +5 -5
- package/dist/types/concrete/BaconUploadObject.d.ts +7 -7
- package/dist/types/concrete/index.d.ts +17 -17
- package/dist/types/constants/bacon-idps.d.ts +1 -1
- package/dist/types/constants/index.d.ts +1 -1
- package/dist/types/enums/bacon-accounting-action-item-email-templates.d.ts +3 -3
- package/dist/types/enums/bacon-accounting-email-templates.d.ts +9 -9
- package/dist/types/enums/bacon-actor-init-statuses.d.ts +4 -4
- package/dist/types/enums/bacon-actor-init-trig-sources.d.ts +26 -26
- package/dist/types/enums/bacon-actor-oidc-props.d.ts +32 -32
- package/dist/types/enums/bacon-actor-statuses.d.ts +8 -8
- package/dist/types/enums/bacon-actor-types.d.ts +9 -9
- package/dist/types/enums/bacon-ai-task-descriptions.d.ts +3 -3
- package/dist/types/enums/bacon-auth-mfa-types.d.ts +5 -5
- package/dist/types/enums/bacon-aws-object-request-instructions.d.ts +4 -4
- package/dist/types/enums/bacon-aws-regions.d.ts +26 -26
- package/dist/types/enums/bacon-bl-kinds.d.ts +13 -13
- package/dist/types/enums/bacon-logger-codes.d.ts +37 -37
- package/dist/types/enums/bacon-logger-evt-types.d.ts +7 -7
- package/dist/types/enums/bacon-object-layer-kinds.d.ts +4 -4
- package/dist/types/enums/bacon-routes.d.ts +11 -11
- package/dist/types/enums/client-acct-intake-bo-filing-frequencies.d.ts +9 -0
- package/dist/types/enums/client-acct-intake-business-entity-types.d.ts +11 -0
- package/dist/types/enums/index.d.ts +18 -16
- package/dist/types/index.d.ts +13 -12
- package/dist/types/interfaces/i-actor-init-status.d.ts +4 -4
- package/dist/types/interfaces/i-actor-init-trig-ctx.d.ts +4 -4
- package/dist/types/interfaces/i-actor-init-trig-req.d.ts +5 -5
- package/dist/types/interfaces/i-actor-init-trig-resp.d.ts +5 -5
- package/dist/types/interfaces/i-actor-init-trig-user-attr.d.ts +3 -3
- package/dist/types/interfaces/i-actor-init-trigger-evt.d.ts +14 -14
- package/dist/types/interfaces/i-actor-status.d.ts +4 -4
- package/dist/types/interfaces/i-bacon-action-item-settings.d.ts +6 -6
- package/dist/types/interfaces/i-bacon-action-item-snippet.d.ts +2 -2
- package/dist/types/interfaces/i-bacon-admin-master-entry.d.ts +4 -4
- package/dist/types/interfaces/i-bacon-authenticator-app.d.ts +7 -7
- package/dist/types/interfaces/i-bacon-base-logger-event.d.ts +9 -9
- package/dist/types/interfaces/i-bacon-client-checklist-item.d.ts +8 -8
- package/dist/types/interfaces/i-bacon-client-error.d.ts +4 -4
- package/dist/types/interfaces/i-bacon-cognito-request.d.ts +4 -4
- package/dist/types/interfaces/i-bacon-file.d.ts +9 -9
- package/dist/types/interfaces/i-bacon-mfa-status.d.ts +7 -7
- package/dist/types/interfaces/i-bacon-object-layer-result.d.ts +7 -7
- package/dist/types/interfaces/i-bacon-storage-item.d.ts +8 -8
- package/dist/types/interfaces/i-bacon-totp-verification-model.d.ts +3 -3
- package/dist/types/interfaces/i-bacon-totp-verification-result.d.ts +7 -7
- package/dist/types/interfaces/i-bacon-ui-passthrough-input-event.d.ts +60 -60
- package/dist/types/interfaces/i-bacon-update-mfa-pref-result.d.ts +7 -7
- package/dist/types/interfaces/i-bacon-upload-request.d.ts +5 -5
- package/dist/types/interfaces/i-client-acct-admin-fields.d.ts +14 -0
- package/dist/types/interfaces/i-client-acct-business-info.d.ts +22 -0
- package/dist/types/interfaces/i-client-acct-business-owner.d.ts +20 -0
- package/dist/types/interfaces/i-client-acct-employee-info.d.ts +12 -0
- package/dist/types/interfaces/i-client-acct-intake.d.ts +33 -0
- package/dist/types/interfaces/i-cognito-admin-request-payload.d.ts +9 -9
- package/dist/types/interfaces/i-flat-node.d.ts +6 -6
- package/dist/types/interfaces/i-iot-perms-request-payload.d.ts +3 -3
- package/dist/types/interfaces/i-oidc-address-claim.d.ts +8 -8
- package/dist/types/interfaces/i-oidc-identity.d.ts +8 -8
- package/dist/types/interfaces/i-oidc-profile.d.ts +41 -41
- package/dist/types/interfaces/i-token-time.d.ts +4 -4
- package/dist/types/interfaces/i-user.d.ts +6 -6
- package/dist/types/interfaces/index.d.ts +37 -32
- package/dist/types/maps/bacon-route-to-microservice.d.ts +5 -5
- package/dist/types/maps/index.d.ts +1 -1
- package/dist/types/static/Bacon3PClientFactory.d.ts +6 -6
- package/dist/types/static/BaconAccessLoggerEvtFactory.d.ts +5 -5
- package/dist/types/static/BaconGenericLoggerEvtFactory.d.ts +5 -5
- package/dist/types/static/BaconPermissionsLoggerEventFactory.d.ts +5 -5
- package/dist/types/static/BaconSPFactory.d.ts +6 -6
- package/dist/types/static/BaconSuperAdminFactory.d.ts +6 -6
- package/dist/types/static/index.d.ts +6 -6
- package/dist/types/utils/TypeUtils.d.ts +68 -0
- package/dist/types/utils/index.d.ts +1 -0
- package/package.json +2 -2
- package/src/base/BaconBaseAWSObjectStrategyEvt.ts +23 -23
- package/src/base/BaconBaseActor.ts +17 -17
- package/src/base/BaconBaseActorFactory.ts +27 -27
- package/src/base/BaconBaseActorInitTrigSvc.ts +47 -47
- package/src/base/BaconBaseBrokerRequestEvent.ts +13 -13
- package/src/base/BaconBaseLoggerEvt.ts +15 -15
- package/src/base/BaconBaseLoggerEvtFact.ts +21 -21
- package/src/base/index.ts +6 -6
- package/src/concrete/Bacon3PClient.ts +9 -9
- package/src/concrete/BaconAccessLoggerEvent.ts +9 -9
- package/src/concrete/BaconActionItem.ts +37 -37
- package/src/concrete/BaconActionItemSnippet.ts +14 -14
- package/src/concrete/BaconAdminInitRequestEvt.ts +16 -16
- package/src/concrete/BaconAiContextCompletionReqEvt.ts +10 -10
- package/src/concrete/BaconCognitoAdminRequestEvent.ts +14 -14
- package/src/concrete/BaconEmailRequestEvent.ts +9 -9
- package/src/concrete/BaconGenericLoggerEvent.ts +10 -10
- package/src/concrete/BaconIoTPermsBrokerRequestEvent.ts +12 -12
- package/src/concrete/BaconPermissionsLoggerEvent.ts +9 -9
- package/src/concrete/BaconS3GetObjectStrategy.ts +14 -14
- package/src/concrete/BaconS3PutObjectStrategy.ts +13 -13
- package/src/concrete/BaconSP.ts +9 -9
- package/src/concrete/BaconStripeReqEvent.ts +14 -14
- package/src/concrete/BaconSuperAdmin.ts +9 -9
- package/src/concrete/BaconUploadObject.ts +17 -17
- package/src/concrete/index.ts +17 -17
- package/src/enums/bacon-accounting-action-item-email-templates.ts +2 -2
- package/src/enums/bacon-accounting-email-templates.ts +9 -9
- package/src/enums/bacon-actor-init-statuses.ts +3 -3
- package/src/enums/bacon-actor-init-trig-sources.ts +25 -25
- package/src/enums/bacon-actor-oidc-props.ts +31 -31
- package/src/enums/bacon-actor-statuses.ts +7 -7
- package/src/enums/bacon-actor-types.ts +8 -8
- package/src/enums/bacon-ai-task-descriptions.ts +2 -2
- package/src/enums/bacon-auth-mfa-types.ts +4 -4
- package/src/enums/bacon-aws-object-request-instructions.ts +3 -3
- package/src/enums/bacon-aws-regions.ts +25 -25
- package/src/enums/bacon-bl-kinds.ts +12 -12
- package/src/enums/bacon-logger-codes.ts +36 -36
- package/src/enums/bacon-logger-evt-types.ts +6 -6
- package/src/enums/bacon-object-layer-kinds.ts +3 -3
- package/src/enums/bacon-routes.ts +26 -26
- package/src/enums/client-acct-intake-bo-filing-frequencies.ts +9 -0
- package/src/enums/client-acct-intake-business-entity-types.ts +11 -0
- package/src/enums/index.ts +18 -16
- package/src/index.ts +15 -14
- package/src/interfaces/i-actor-init-status.ts +6 -6
- package/src/interfaces/i-actor-init-trig-ctx.ts +3 -3
- package/src/interfaces/i-actor-init-trig-req.ts +5 -5
- package/src/interfaces/i-actor-init-trig-resp.ts +4 -4
- package/src/interfaces/i-actor-init-trig-user-attr.ts +2 -2
- package/src/interfaces/i-actor-init-trigger-evt.ts +14 -14
- package/src/interfaces/i-actor-status.ts +6 -6
- package/src/interfaces/i-bacon-action-item-settings.ts +5 -5
- package/src/interfaces/i-bacon-admin-master-entry.ts +3 -3
- package/src/interfaces/i-bacon-authenticator-app.ts +6 -6
- package/src/interfaces/i-bacon-base-logger-event.ts +9 -9
- package/src/interfaces/i-bacon-client-checklist-item.ts +7 -7
- package/src/interfaces/i-bacon-client-error.ts +3 -3
- package/src/interfaces/i-bacon-cognito-request.ts +3 -3
- package/src/interfaces/i-bacon-file.ts +8 -8
- package/src/interfaces/i-bacon-mfa-status.ts +7 -7
- package/src/interfaces/i-bacon-object-layer-result.ts +6 -6
- package/src/interfaces/i-bacon-storage-item.ts +7 -7
- package/src/interfaces/i-bacon-totp-verification-model.ts +2 -2
- package/src/interfaces/i-bacon-totp-verification-result.ts +6 -6
- package/src/interfaces/i-bacon-ui-passthrough-input-event.ts +64 -64
- package/src/interfaces/i-bacon-update-mfa-pref-result.ts +6 -6
- package/src/interfaces/i-bacon-upload-request.ts +5 -5
- package/src/interfaces/i-client-acct-admin-fields.ts +14 -0
- package/src/interfaces/i-client-acct-business-info.ts +23 -0
- package/src/interfaces/i-client-acct-business-owner.ts +20 -0
- package/src/interfaces/i-client-acct-employee-info.ts +13 -0
- package/src/interfaces/i-client-acct-intake.ts +35 -0
- package/src/interfaces/i-cognito-admin-request-payload.ts +8 -8
- package/src/interfaces/i-flat-node.ts +5 -5
- package/src/interfaces/i-iot-perms-request-payload.ts +2 -2
- package/src/interfaces/i-oidc-address-claim.ts +7 -7
- package/src/interfaces/i-oidc-identity.ts +7 -7
- package/src/interfaces/i-oidc-profile.ts +44 -44
- package/src/interfaces/i-token-time.ts +3 -3
- package/src/interfaces/i-user.ts +5 -5
- package/src/interfaces/index.ts +37 -32
- package/src/maps/bacon-route-to-microservice.ts +24 -24
- package/src/static/Bacon3PClientFactory.ts +12 -12
- package/src/static/BaconAccessLoggerEvtFactory.ts +11 -11
- package/src/static/BaconGenericLoggerEvtFactory.ts +11 -11
- package/src/static/BaconPermissionsLoggerEventFactory.ts +11 -11
- package/src/static/BaconSPFactory.ts +13 -13
- package/src/static/BaconSuperAdminFactory.ts +12 -12
- package/src/static/index.ts +5 -5
- package/src/utils/TypeUtils.ts +86 -0
- package/src/utils/index.ts +1 -0
- package/tsconfig.cjs.json +10 -10
- package/tsconfig.es.json +11 -11
- package/tsconfig.json +17 -17
- package/dist/cjs/base/BaconBaseAWSDataReqStr.js +0 -20
- package/dist/cjs/concrete/BaconDDBReqDelStr.js +0 -17
- package/dist/cjs/concrete/BaconDDBReqGetStr.js +0 -17
- package/dist/cjs/concrete/BaconDDBReqPutStr.js +0 -17
- package/dist/cjs/concrete/BaconDDBReqQueryStr.js +0 -17
- package/dist/cjs/concrete/BaconDDBReqScanStr.js +0 -17
- package/dist/cjs/concrete/BaconDDBReqUpdateStr.js +0 -17
- package/dist/cjs/enums/bacon-aws-data-req-instructions.js +0 -12
- package/dist/cjs/enums/bacon-data-layer-kinds.js +0 -13
- package/dist/cjs/interfaces/i-bacon-admin-init-request-evt.js +0 -3
- package/dist/cjs/interfaces/i-bacon-totp-verification.js +0 -3
- package/dist/es/base/BaconBaseAWSDataReqStr.js +0 -18
- package/dist/es/concrete/BaconDDBReqDelStr.js +0 -17
- package/dist/es/concrete/BaconDDBReqGetStr.js +0 -17
- package/dist/es/concrete/BaconDDBReqPutStr.js +0 -17
- package/dist/es/concrete/BaconDDBReqQueryStr.js +0 -17
- package/dist/es/concrete/BaconDDBReqScanStr.js +0 -17
- package/dist/es/concrete/BaconDDBReqUpdateStr.js +0 -17
- package/dist/es/enums/bacon-aws-data-req-instructions.js +0 -9
- package/dist/es/enums/bacon-data-layer-kinds.js +0 -10
- package/dist/es/interfaces/i-bacon-admin-init-request-evt.js +0 -2
- package/dist/es/interfaces/i-bacon-totp-verification.js +0 -2
- package/dist/types/base/BaconBaseAWSDataReqStr.d.ts +0 -17
- package/dist/types/concrete/BaconDDBReqDelStr.d.ts +0 -10
- package/dist/types/concrete/BaconDDBReqGetStr.d.ts +0 -10
- package/dist/types/concrete/BaconDDBReqPutStr.d.ts +0 -10
- package/dist/types/concrete/BaconDDBReqQueryStr.d.ts +0 -10
- package/dist/types/concrete/BaconDDBReqScanStr.d.ts +0 -10
- package/dist/types/concrete/BaconDDBReqUpdateStr.d.ts +0 -10
- package/dist/types/enums/bacon-aws-data-req-instructions.d.ts +0 -7
- package/dist/types/enums/bacon-data-layer-kinds.d.ts +0 -8
- package/dist/types/interfaces/i-bacon-admin-init-request-evt.d.ts +0 -19
- package/dist/types/interfaces/i-bacon-totp-verification.d.ts +0 -3
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { BaconBaseActor } from "../base/BaconBaseActor";
|
|
2
|
-
import { IOIDCProfile } from "../interfaces/i-oidc-profile";
|
|
3
|
-
|
|
4
|
-
export class Bacon3PClient extends BaconBaseActor {
|
|
5
|
-
constructor(profile: IOIDCProfile) {
|
|
6
|
-
super(profile)
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
//TODO: Implement
|
|
1
|
+
import { BaconBaseActor } from "../base/BaconBaseActor";
|
|
2
|
+
import { IOIDCProfile } from "../interfaces/i-oidc-profile";
|
|
3
|
+
|
|
4
|
+
export class Bacon3PClient extends BaconBaseActor {
|
|
5
|
+
constructor(profile: IOIDCProfile) {
|
|
6
|
+
super(profile)
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
//TODO: Implement
|
|
10
10
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { BaconBaseLoggerEvent } from "../base/BaconBaseLoggerEvt";
|
|
2
|
-
import { BaconBusinessLayerKinds, BaconLoggerEventTypes } from "../enums";
|
|
3
|
-
|
|
4
|
-
export class BaconAccessLoggerEvent extends BaconBaseLoggerEvent {
|
|
5
|
-
constructor() {
|
|
6
|
-
super();
|
|
7
|
-
this.eventType = BaconLoggerEventTypes.ACCESS;
|
|
8
|
-
this.kind = BaconBusinessLayerKinds.BaconAccessLoggerEvent;
|
|
9
|
-
}
|
|
1
|
+
import { BaconBaseLoggerEvent } from "../base/BaconBaseLoggerEvt";
|
|
2
|
+
import { BaconBusinessLayerKinds, BaconLoggerEventTypes } from "../enums";
|
|
3
|
+
|
|
4
|
+
export class BaconAccessLoggerEvent extends BaconBaseLoggerEvent {
|
|
5
|
+
constructor() {
|
|
6
|
+
super();
|
|
7
|
+
this.eventType = BaconLoggerEventTypes.ACCESS;
|
|
8
|
+
this.kind = BaconBusinessLayerKinds.BaconAccessLoggerEvent;
|
|
9
|
+
}
|
|
10
10
|
}
|
|
@@ -1,38 +1,38 @@
|
|
|
1
|
-
import { IBaconActionItemSettings } from "../interfaces";
|
|
2
|
-
|
|
3
|
-
export class BaconActionItem {
|
|
4
|
-
acknowledgedEntryTime?: string;
|
|
5
|
-
acknowledgedExitTime?: string;
|
|
6
|
-
actor?: string;
|
|
7
|
-
actorSub?: string;
|
|
8
|
-
actionExplanation?: string;
|
|
9
|
-
actionId?: string;
|
|
10
|
-
actionInstanceId?: string;
|
|
11
|
-
actionInstruction?: string;
|
|
12
|
-
actionName?: string;
|
|
13
|
-
actionRecipient?: any;
|
|
14
|
-
correspondence?: any[];
|
|
15
|
-
completedEntryTime?: string;
|
|
16
|
-
completedExitTime?: string;
|
|
17
|
-
createdEntryTime?: string;
|
|
18
|
-
createdExitTime?: string;
|
|
19
|
-
creator?: string;
|
|
20
|
-
draftStateEntryTime?: string;
|
|
21
|
-
draftStateExitTime?: string;
|
|
22
|
-
emailCustomSnippet?: string;
|
|
23
|
-
emailDataTemplate?: any;
|
|
24
|
-
emailFrom?: string;
|
|
25
|
-
emailTemplate?: string;
|
|
26
|
-
FromDate?: string;
|
|
27
|
-
lifeCycle?: "Draft" | "Created" | "Acknowledged" | "Submitted" | "Completed";
|
|
28
|
-
serviceId?: string;
|
|
29
|
-
serviceName?: string;
|
|
30
|
-
selectionCondition?: string;
|
|
31
|
-
severity?: "Low" | "Normal" | "High" | "Critical";
|
|
32
|
-
settings?: IBaconActionItemSettings;
|
|
33
|
-
submittedEntryTime?: string;
|
|
34
|
-
submittedExitTime?: string;
|
|
35
|
-
ToDate?: string;
|
|
36
|
-
Transactions?: any[];
|
|
37
|
-
TransactionAmount?: number;
|
|
1
|
+
import { IBaconActionItemSettings } from "../interfaces";
|
|
2
|
+
|
|
3
|
+
export class BaconActionItem {
|
|
4
|
+
acknowledgedEntryTime?: string;
|
|
5
|
+
acknowledgedExitTime?: string;
|
|
6
|
+
actor?: string;
|
|
7
|
+
actorSub?: string;
|
|
8
|
+
actionExplanation?: string;
|
|
9
|
+
actionId?: string;
|
|
10
|
+
actionInstanceId?: string;
|
|
11
|
+
actionInstruction?: string;
|
|
12
|
+
actionName?: string;
|
|
13
|
+
actionRecipient?: any;
|
|
14
|
+
correspondence?: any[];
|
|
15
|
+
completedEntryTime?: string;
|
|
16
|
+
completedExitTime?: string;
|
|
17
|
+
createdEntryTime?: string;
|
|
18
|
+
createdExitTime?: string;
|
|
19
|
+
creator?: string;
|
|
20
|
+
draftStateEntryTime?: string;
|
|
21
|
+
draftStateExitTime?: string;
|
|
22
|
+
emailCustomSnippet?: string;
|
|
23
|
+
emailDataTemplate?: any;
|
|
24
|
+
emailFrom?: string;
|
|
25
|
+
emailTemplate?: string;
|
|
26
|
+
FromDate?: string;
|
|
27
|
+
lifeCycle?: "Draft" | "Created" | "Acknowledged" | "Submitted" | "Completed";
|
|
28
|
+
serviceId?: string;
|
|
29
|
+
serviceName?: string;
|
|
30
|
+
selectionCondition?: string;
|
|
31
|
+
severity?: "Low" | "Normal" | "High" | "Critical";
|
|
32
|
+
settings?: IBaconActionItemSettings;
|
|
33
|
+
submittedEntryTime?: string;
|
|
34
|
+
submittedExitTime?: string;
|
|
35
|
+
ToDate?: string;
|
|
36
|
+
Transactions?: any[];
|
|
37
|
+
TransactionAmount?: number;
|
|
38
38
|
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
export class BaconActionItemSnippet {
|
|
2
|
-
|
|
3
|
-
snippetId: string;
|
|
4
|
-
snippetHeader: string;
|
|
5
|
-
snippetText: string;
|
|
6
|
-
snippetModifiedDate: string;
|
|
7
|
-
|
|
8
|
-
constructor(snippetId: string, snippetHeader: string, snippetText: string, snippetModifiedDate: string) {
|
|
9
|
-
this.snippetId = snippetId;
|
|
10
|
-
this.snippetHeader = snippetHeader
|
|
11
|
-
this.snippetText = snippetText;
|
|
12
|
-
this.snippetModifiedDate = snippetModifiedDate;
|
|
13
|
-
}
|
|
14
|
-
|
|
1
|
+
export class BaconActionItemSnippet {
|
|
2
|
+
|
|
3
|
+
snippetId: string;
|
|
4
|
+
snippetHeader: string;
|
|
5
|
+
snippetText: string;
|
|
6
|
+
snippetModifiedDate: string;
|
|
7
|
+
|
|
8
|
+
constructor(snippetId: string, snippetHeader: string, snippetText: string, snippetModifiedDate: string) {
|
|
9
|
+
this.snippetId = snippetId;
|
|
10
|
+
this.snippetHeader = snippetHeader
|
|
11
|
+
this.snippetText = snippetText;
|
|
12
|
+
this.snippetModifiedDate = snippetModifiedDate;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
15
|
}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { BaconBaseBrokerRequestEvent } from "../base";
|
|
2
|
-
import { BaconBusinessLayerKinds } from "../enums";
|
|
3
|
-
import { IBaconActorInitTriggerEvent } from "../interfaces";
|
|
4
|
-
|
|
5
|
-
export class BaconAdminInitRequestEvent extends BaconBaseBrokerRequestEvent {
|
|
6
|
-
|
|
7
|
-
payload: IBaconActorInitTriggerEvent | undefined;
|
|
8
|
-
|
|
9
|
-
constructor(payload: IBaconActorInitTriggerEvent) {
|
|
10
|
-
super(BaconBusinessLayerKinds.BaconAdminInitRequestEvent,
|
|
11
|
-
payload);
|
|
12
|
-
|
|
13
|
-
this.kind = BaconBusinessLayerKinds.BaconAdminInitRequestEvent;
|
|
14
|
-
this.payload = payload;
|
|
15
|
-
}
|
|
16
|
-
|
|
1
|
+
import { BaconBaseBrokerRequestEvent } from "../base";
|
|
2
|
+
import { BaconBusinessLayerKinds } from "../enums";
|
|
3
|
+
import { IBaconActorInitTriggerEvent } from "../interfaces";
|
|
4
|
+
|
|
5
|
+
export class BaconAdminInitRequestEvent extends BaconBaseBrokerRequestEvent {
|
|
6
|
+
|
|
7
|
+
payload: IBaconActorInitTriggerEvent | undefined;
|
|
8
|
+
|
|
9
|
+
constructor(payload: IBaconActorInitTriggerEvent) {
|
|
10
|
+
super(BaconBusinessLayerKinds.BaconAdminInitRequestEvent,
|
|
11
|
+
payload);
|
|
12
|
+
|
|
13
|
+
this.kind = BaconBusinessLayerKinds.BaconAdminInitRequestEvent;
|
|
14
|
+
this.payload = payload;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
17
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { BaconBaseBrokerRequestEvent } from "../base";
|
|
2
|
-
import { BaconAITaskDescriptions, BaconBusinessLayerKinds } from "../enums";
|
|
3
|
-
|
|
4
|
-
export class BaconAiContextCompletionRequest extends BaconBaseBrokerRequestEvent {
|
|
5
|
-
|
|
6
|
-
context: string | undefined;
|
|
7
|
-
task: BaconAITaskDescriptions | undefined;
|
|
8
|
-
|
|
9
|
-
constructor() { super(BaconBusinessLayerKinds.BaconAIContextCompletionRequest, undefined); }
|
|
10
|
-
|
|
1
|
+
import { BaconBaseBrokerRequestEvent } from "../base";
|
|
2
|
+
import { BaconAITaskDescriptions, BaconBusinessLayerKinds } from "../enums";
|
|
3
|
+
|
|
4
|
+
export class BaconAiContextCompletionRequest extends BaconBaseBrokerRequestEvent {
|
|
5
|
+
|
|
6
|
+
context: string | undefined;
|
|
7
|
+
task: BaconAITaskDescriptions | undefined;
|
|
8
|
+
|
|
9
|
+
constructor() { super(BaconBusinessLayerKinds.BaconAIContextCompletionRequest, undefined); }
|
|
10
|
+
|
|
11
11
|
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { BaconBaseBrokerRequestEvent } from "../base";
|
|
2
|
-
import { BaconBusinessLayerKinds } from "../enums";
|
|
3
|
-
import {
|
|
4
|
-
BaconCognitoAdminRequestPayload,
|
|
5
|
-
BaconCognitoRequest,
|
|
6
|
-
} from "../interfaces";
|
|
7
|
-
|
|
8
|
-
export class BaconCognitoAdminRequestEvent extends BaconBaseBrokerRequestEvent {
|
|
9
|
-
request: BaconCognitoRequest | undefined;
|
|
10
|
-
|
|
11
|
-
constructor(payload: BaconCognitoAdminRequestPayload) {
|
|
12
|
-
super(BaconBusinessLayerKinds.BaconCognitoAdminRequestEvent, payload);
|
|
13
|
-
}
|
|
14
|
-
}
|
|
1
|
+
import { BaconBaseBrokerRequestEvent } from "../base";
|
|
2
|
+
import { BaconBusinessLayerKinds } from "../enums";
|
|
3
|
+
import {
|
|
4
|
+
BaconCognitoAdminRequestPayload,
|
|
5
|
+
BaconCognitoRequest,
|
|
6
|
+
} from "../interfaces";
|
|
7
|
+
|
|
8
|
+
export class BaconCognitoAdminRequestEvent extends BaconBaseBrokerRequestEvent {
|
|
9
|
+
request: BaconCognitoRequest | undefined;
|
|
10
|
+
|
|
11
|
+
constructor(payload: BaconCognitoAdminRequestPayload) {
|
|
12
|
+
super(BaconBusinessLayerKinds.BaconCognitoAdminRequestEvent, payload);
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { SendEmailCommandInput } from "@aws-sdk/client-sesv2";
|
|
2
|
-
import { BaconBaseBrokerRequestEvent } from "../base";
|
|
3
|
-
import { BaconBusinessLayerKinds } from "../enums";
|
|
4
|
-
|
|
5
|
-
export class BaconEmailRequestEvent extends BaconBaseBrokerRequestEvent {
|
|
6
|
-
constructor(inputCommand: SendEmailCommandInput) {
|
|
7
|
-
super(BaconBusinessLayerKinds.BaconEmailRequestEvent, inputCommand);
|
|
8
|
-
}
|
|
9
|
-
}
|
|
1
|
+
import { SendEmailCommandInput } from "@aws-sdk/client-sesv2";
|
|
2
|
+
import { BaconBaseBrokerRequestEvent } from "../base";
|
|
3
|
+
import { BaconBusinessLayerKinds } from "../enums";
|
|
4
|
+
|
|
5
|
+
export class BaconEmailRequestEvent extends BaconBaseBrokerRequestEvent {
|
|
6
|
+
constructor(inputCommand: SendEmailCommandInput) {
|
|
7
|
+
super(BaconBusinessLayerKinds.BaconEmailRequestEvent, inputCommand);
|
|
8
|
+
}
|
|
9
|
+
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { BaconBaseLoggerEvent } from "../base/BaconBaseLoggerEvt";
|
|
2
|
-
import { BaconBusinessLayerKinds, BaconLoggerEventTypes } from "../enums";
|
|
3
|
-
|
|
4
|
-
export class BaconGenericLoggerEvent extends BaconBaseLoggerEvent {
|
|
5
|
-
constructor() {
|
|
6
|
-
super();
|
|
7
|
-
this.eventType = BaconLoggerEventTypes.GENERIC;
|
|
8
|
-
this.kind = BaconBusinessLayerKinds.BaconGenericLoggerEvent;
|
|
9
|
-
}
|
|
10
|
-
}
|
|
1
|
+
import { BaconBaseLoggerEvent } from "../base/BaconBaseLoggerEvt";
|
|
2
|
+
import { BaconBusinessLayerKinds, BaconLoggerEventTypes } from "../enums";
|
|
3
|
+
|
|
4
|
+
export class BaconGenericLoggerEvent extends BaconBaseLoggerEvent {
|
|
5
|
+
constructor() {
|
|
6
|
+
super();
|
|
7
|
+
this.eventType = BaconLoggerEventTypes.GENERIC;
|
|
8
|
+
this.kind = BaconBusinessLayerKinds.BaconGenericLoggerEvent;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { BaconBaseBrokerRequestEvent } from "../base/BaconBaseBrokerRequestEvent";
|
|
2
|
-
import { BaconBusinessLayerKinds } from "../enums";
|
|
3
|
-
import { BaconIOTPermsRequestPayload } from "../interfaces";
|
|
4
|
-
|
|
5
|
-
export class BaconIoTPermsBrokerRequestEvent extends BaconBaseBrokerRequestEvent {
|
|
6
|
-
|
|
7
|
-
userSub: string | undefined;
|
|
8
|
-
|
|
9
|
-
constructor(payload: BaconIOTPermsRequestPayload) {
|
|
10
|
-
super(BaconBusinessLayerKinds.BaconIOTPermsRequestEvent,
|
|
11
|
-
payload); // none of the base class properties are being used except for the kind
|
|
12
|
-
}
|
|
1
|
+
import { BaconBaseBrokerRequestEvent } from "../base/BaconBaseBrokerRequestEvent";
|
|
2
|
+
import { BaconBusinessLayerKinds } from "../enums";
|
|
3
|
+
import { BaconIOTPermsRequestPayload } from "../interfaces";
|
|
4
|
+
|
|
5
|
+
export class BaconIoTPermsBrokerRequestEvent extends BaconBaseBrokerRequestEvent {
|
|
6
|
+
|
|
7
|
+
userSub: string | undefined;
|
|
8
|
+
|
|
9
|
+
constructor(payload: BaconIOTPermsRequestPayload) {
|
|
10
|
+
super(BaconBusinessLayerKinds.BaconIOTPermsRequestEvent,
|
|
11
|
+
payload); // none of the base class properties are being used except for the kind
|
|
12
|
+
}
|
|
13
13
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { BaconBaseLoggerEvent } from "../base";
|
|
2
|
-
import { BaconBusinessLayerKinds, BaconLoggerEventTypes } from "../enums";
|
|
3
|
-
|
|
4
|
-
export class BaconPermissionsLoggerEvent extends BaconBaseLoggerEvent {
|
|
5
|
-
constructor() {
|
|
6
|
-
super();
|
|
7
|
-
this.eventType = BaconLoggerEventTypes.PERMISSIONS;
|
|
8
|
-
this.kind = BaconBusinessLayerKinds.BaconPermissionsLoggerEvent;
|
|
9
|
-
}
|
|
1
|
+
import { BaconBaseLoggerEvent } from "../base";
|
|
2
|
+
import { BaconBusinessLayerKinds, BaconLoggerEventTypes } from "../enums";
|
|
3
|
+
|
|
4
|
+
export class BaconPermissionsLoggerEvent extends BaconBaseLoggerEvent {
|
|
5
|
+
constructor() {
|
|
6
|
+
super();
|
|
7
|
+
this.eventType = BaconLoggerEventTypes.PERMISSIONS;
|
|
8
|
+
this.kind = BaconBusinessLayerKinds.BaconPermissionsLoggerEvent;
|
|
9
|
+
}
|
|
10
10
|
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { GetObjectCommandInput } from "@aws-sdk/client-s3";
|
|
2
|
-
import { BaconBaseAWSObjectStrategyEvt } from "../base";
|
|
3
|
-
import { BaconAWSObjectRequestInstructions } from "../enums";
|
|
4
|
-
import { BaconObjectLayerKinds } from "../enums";
|
|
5
|
-
|
|
6
|
-
export class BaconS3GetObjectStrategy extends BaconBaseAWSObjectStrategyEvt {
|
|
7
|
-
constructor(inputCommand: GetObjectCommandInput) {
|
|
8
|
-
super(
|
|
9
|
-
BaconAWSObjectRequestInstructions.GET_OBJECT,
|
|
10
|
-
BaconObjectLayerKinds.BaconS3GetObjectStrategy,
|
|
11
|
-
inputCommand
|
|
12
|
-
);
|
|
13
|
-
}
|
|
14
|
-
}
|
|
1
|
+
import { GetObjectCommandInput } from "@aws-sdk/client-s3";
|
|
2
|
+
import { BaconBaseAWSObjectStrategyEvt } from "../base";
|
|
3
|
+
import { BaconAWSObjectRequestInstructions } from "../enums";
|
|
4
|
+
import { BaconObjectLayerKinds } from "../enums";
|
|
5
|
+
|
|
6
|
+
export class BaconS3GetObjectStrategy extends BaconBaseAWSObjectStrategyEvt {
|
|
7
|
+
constructor(inputCommand: GetObjectCommandInput) {
|
|
8
|
+
super(
|
|
9
|
+
BaconAWSObjectRequestInstructions.GET_OBJECT,
|
|
10
|
+
BaconObjectLayerKinds.BaconS3GetObjectStrategy,
|
|
11
|
+
inputCommand
|
|
12
|
+
);
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { PutObjectCommandInput } from "@aws-sdk/client-s3";
|
|
2
|
-
import { BaconBaseAWSObjectStrategyEvt } from "../base";
|
|
3
|
-
import { BaconAWSObjectRequestInstructions } from "../enums";
|
|
4
|
-
import { BaconObjectLayerKinds } from "../enums";
|
|
5
|
-
|
|
6
|
-
export class BaconS3PutObjectStrategy extends BaconBaseAWSObjectStrategyEvt {
|
|
7
|
-
constructor(inputCommand: PutObjectCommandInput) {
|
|
8
|
-
super(
|
|
9
|
-
BaconAWSObjectRequestInstructions.PUT_OBJECT,
|
|
10
|
-
BaconObjectLayerKinds.BaconS3PutObjectStrategy,
|
|
11
|
-
inputCommand
|
|
12
|
-
);
|
|
13
|
-
}
|
|
1
|
+
import { PutObjectCommandInput } from "@aws-sdk/client-s3";
|
|
2
|
+
import { BaconBaseAWSObjectStrategyEvt } from "../base";
|
|
3
|
+
import { BaconAWSObjectRequestInstructions } from "../enums";
|
|
4
|
+
import { BaconObjectLayerKinds } from "../enums";
|
|
5
|
+
|
|
6
|
+
export class BaconS3PutObjectStrategy extends BaconBaseAWSObjectStrategyEvt {
|
|
7
|
+
constructor(inputCommand: PutObjectCommandInput) {
|
|
8
|
+
super(
|
|
9
|
+
BaconAWSObjectRequestInstructions.PUT_OBJECT,
|
|
10
|
+
BaconObjectLayerKinds.BaconS3PutObjectStrategy,
|
|
11
|
+
inputCommand
|
|
12
|
+
);
|
|
13
|
+
}
|
|
14
14
|
}
|
package/src/concrete/BaconSP.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { BaconBaseActor } from "../base/BaconBaseActor";
|
|
2
|
-
import { IOIDCProfile } from "../interfaces/i-oidc-profile";
|
|
3
|
-
|
|
4
|
-
export class BaconSP extends BaconBaseActor {
|
|
5
|
-
constructor(profile: IOIDCProfile) {
|
|
6
|
-
super(profile)
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
//TODO: Implement
|
|
1
|
+
import { BaconBaseActor } from "../base/BaconBaseActor";
|
|
2
|
+
import { IOIDCProfile } from "../interfaces/i-oidc-profile";
|
|
3
|
+
|
|
4
|
+
export class BaconSP extends BaconBaseActor {
|
|
5
|
+
constructor(profile: IOIDCProfile) {
|
|
6
|
+
super(profile)
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
//TODO: Implement
|
|
10
10
|
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { BaconBusinessLayerKinds } from "../enums";
|
|
2
|
-
|
|
3
|
-
export class BaconStripeRequestEvent {
|
|
4
|
-
|
|
5
|
-
kind: BaconBusinessLayerKinds | undefined;
|
|
6
|
-
stripeEntity: string | undefined;
|
|
7
|
-
stripeAction: string | undefined;
|
|
8
|
-
|
|
9
|
-
constructor(stripeEntity: string, stripeAction: string) {
|
|
10
|
-
this.kind = BaconBusinessLayerKinds.BaconStripeRequestEvent;
|
|
11
|
-
|
|
12
|
-
this.stripeEntity = stripeEntity;
|
|
13
|
-
this.stripeAction = stripeAction;
|
|
14
|
-
}
|
|
1
|
+
import { BaconBusinessLayerKinds } from "../enums";
|
|
2
|
+
|
|
3
|
+
export class BaconStripeRequestEvent {
|
|
4
|
+
|
|
5
|
+
kind: BaconBusinessLayerKinds | undefined;
|
|
6
|
+
stripeEntity: string | undefined;
|
|
7
|
+
stripeAction: string | undefined;
|
|
8
|
+
|
|
9
|
+
constructor(stripeEntity: string, stripeAction: string) {
|
|
10
|
+
this.kind = BaconBusinessLayerKinds.BaconStripeRequestEvent;
|
|
11
|
+
|
|
12
|
+
this.stripeEntity = stripeEntity;
|
|
13
|
+
this.stripeAction = stripeAction;
|
|
14
|
+
}
|
|
15
15
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { BaconBaseActor } from "../base/BaconBaseActor";
|
|
2
|
-
import { IOIDCProfile } from "../interfaces/i-oidc-profile";
|
|
3
|
-
|
|
4
|
-
export class BaconSuperAdmin extends BaconBaseActor {
|
|
5
|
-
constructor(profile: IOIDCProfile) {
|
|
6
|
-
super(profile)
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
//TODO: Implement
|
|
1
|
+
import { BaconBaseActor } from "../base/BaconBaseActor";
|
|
2
|
+
import { IOIDCProfile } from "../interfaces/i-oidc-profile";
|
|
3
|
+
|
|
4
|
+
export class BaconSuperAdmin extends BaconBaseActor {
|
|
5
|
+
constructor(profile: IOIDCProfile) {
|
|
6
|
+
super(profile)
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
//TODO: Implement
|
|
10
10
|
}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
export class BaconUploadObject {
|
|
2
|
-
public size: number;
|
|
3
|
-
public name: string;
|
|
4
|
-
public mime: string;
|
|
5
|
-
public file: File
|
|
6
|
-
|
|
7
|
-
constructor(size: number,
|
|
8
|
-
name: string,
|
|
9
|
-
mime: string,
|
|
10
|
-
file: File
|
|
11
|
-
) {
|
|
12
|
-
this.size = size;
|
|
13
|
-
this.name = name;
|
|
14
|
-
this.mime = mime;
|
|
15
|
-
this.file = file
|
|
16
|
-
}
|
|
17
|
-
}
|
|
1
|
+
export class BaconUploadObject {
|
|
2
|
+
public size: number;
|
|
3
|
+
public name: string;
|
|
4
|
+
public mime: string;
|
|
5
|
+
public file: File
|
|
6
|
+
|
|
7
|
+
constructor(size: number,
|
|
8
|
+
name: string,
|
|
9
|
+
mime: string,
|
|
10
|
+
file: File
|
|
11
|
+
) {
|
|
12
|
+
this.size = size;
|
|
13
|
+
this.name = name;
|
|
14
|
+
this.mime = mime;
|
|
15
|
+
this.file = file
|
|
16
|
+
}
|
|
17
|
+
}
|
package/src/concrete/index.ts
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
export * from './Bacon3PClient';
|
|
2
|
-
export * from './BaconAccessLoggerEvent';
|
|
3
|
-
export * from './BaconActionItem';
|
|
4
|
-
export * from './BaconActionItemSnippet';
|
|
5
|
-
export * from './BaconAdminInitRequestEvt';
|
|
6
|
-
export * from './BaconAiContextCompletionReqEvt';
|
|
7
|
-
export * from './BaconCognitoAdminRequestEvent';
|
|
8
|
-
export * from './BaconEmailRequestEvent';
|
|
9
|
-
export * from './BaconSP';
|
|
10
|
-
export * from './BaconSuperAdmin';
|
|
11
|
-
export * from './BaconGenericLoggerEvent';
|
|
12
|
-
export * from './BaconIoTPermsBrokerRequestEvent';
|
|
13
|
-
export * from './BaconPermissionsLoggerEvent';
|
|
14
|
-
export * from './BaconS3GetObjectStrategy';
|
|
15
|
-
export * from './BaconS3PutObjectStrategy';
|
|
16
|
-
export * from './BaconStripeReqEvent';
|
|
17
|
-
export * from './BaconUploadObject';
|
|
1
|
+
export * from './Bacon3PClient';
|
|
2
|
+
export * from './BaconAccessLoggerEvent';
|
|
3
|
+
export * from './BaconActionItem';
|
|
4
|
+
export * from './BaconActionItemSnippet';
|
|
5
|
+
export * from './BaconAdminInitRequestEvt';
|
|
6
|
+
export * from './BaconAiContextCompletionReqEvt';
|
|
7
|
+
export * from './BaconCognitoAdminRequestEvent';
|
|
8
|
+
export * from './BaconEmailRequestEvent';
|
|
9
|
+
export * from './BaconSP';
|
|
10
|
+
export * from './BaconSuperAdmin';
|
|
11
|
+
export * from './BaconGenericLoggerEvent';
|
|
12
|
+
export * from './BaconIoTPermsBrokerRequestEvent';
|
|
13
|
+
export * from './BaconPermissionsLoggerEvent';
|
|
14
|
+
export * from './BaconS3GetObjectStrategy';
|
|
15
|
+
export * from './BaconS3PutObjectStrategy';
|
|
16
|
+
export * from './BaconStripeReqEvent';
|
|
17
|
+
export * from './BaconUploadObject';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export const enum BaconAccountingActionItemEmailTemplates {
|
|
2
|
-
ActionItemAssignedExternal = "action-item-assigned-external"
|
|
1
|
+
export const enum BaconAccountingActionItemEmailTemplates {
|
|
2
|
+
ActionItemAssignedExternal = "action-item-assigned-external"
|
|
3
3
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export const enum BaconAccountingEmailTemplates {
|
|
2
|
-
GenericEmailExternal = "generic-email-external",
|
|
3
|
-
LeadFollowupAfterLiveContacthasQBO = "lead-followup-after-live-contact-has-qbo",
|
|
4
|
-
LeadFollowupAfterLiveContactNoQbo = "lead-followup-after-live-contact-no-qbo",
|
|
5
|
-
LeadFollowupNoLiveContact = "lead-followup-no-live-contact",
|
|
6
|
-
RegistrationNewAccountExternal = "registration-new-account-external",
|
|
7
|
-
RegistrationNewAccountInternal = "registration-new-account-internal",
|
|
8
|
-
ServiceActivationActionExternal = "service-activation-action-external",
|
|
9
|
-
}
|
|
1
|
+
export const enum BaconAccountingEmailTemplates {
|
|
2
|
+
GenericEmailExternal = "generic-email-external",
|
|
3
|
+
LeadFollowupAfterLiveContacthasQBO = "lead-followup-after-live-contact-has-qbo",
|
|
4
|
+
LeadFollowupAfterLiveContactNoQbo = "lead-followup-after-live-contact-no-qbo",
|
|
5
|
+
LeadFollowupNoLiveContact = "lead-followup-no-live-contact",
|
|
6
|
+
RegistrationNewAccountExternal = "registration-new-account-external",
|
|
7
|
+
RegistrationNewAccountInternal = "registration-new-account-internal",
|
|
8
|
+
ServiceActivationActionExternal = "service-activation-action-external",
|
|
9
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export const enum BaconActorInitStatuses {
|
|
2
|
-
INITIALIZED = "initialized",
|
|
3
|
-
UNINITIALIZED = "uninitialized"
|
|
1
|
+
export const enum BaconActorInitStatuses {
|
|
2
|
+
INITIALIZED = "initialized",
|
|
3
|
+
UNINITIALIZED = "uninitialized"
|
|
4
4
|
}
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
export const enum BaconActorInitTriggerSources {
|
|
2
|
-
PreSignUp_SignUp = "PreSignUp_SignUp",
|
|
3
|
-
PreSignUp_AdminCreateUser = "PreSignUp_AdminCreateUser",
|
|
4
|
-
PreSignUp_ExternalProvider = "PreSignUp_ExternalProvider",
|
|
5
|
-
PostConfirmation_ConfirmSignUp = "PostConfirmation_ConfirmSignUp",
|
|
6
|
-
PostConfirmation_ConfirmForgotPassword = "PostConfirmation_ConfirmForgotPassword",
|
|
7
|
-
PreAuthentication_Authentication = "PreAuthentication_Authentication",
|
|
8
|
-
PostAuthentication_Authentication = "PostAuthentication_Authentication",
|
|
9
|
-
DefineAuthChallenge_Authentication = "DefineAuthChallenge_Authentication",
|
|
10
|
-
CreateAuthChallenge_Authentication = "CreateAuthChallenge_Authentication",
|
|
11
|
-
VerifyAuthChallengeResponse_Authentication = "VerifyAuthChallengeResponse_Authentication",
|
|
12
|
-
TokenGeneration_HostedAuth = "TokenGeneration_HostedAuth",
|
|
13
|
-
TokenGeneration_Authentication = "TokenGeneration_Authentication",
|
|
14
|
-
TokenGeneration_NewPasswordChallenge = "TokenGeneration_NewPasswordChallenge",
|
|
15
|
-
TokenGeneration_AuthenticateDevice = "TokenGeneration_AuthenticateDevice",
|
|
16
|
-
TokenGeneration_RefreshTokens = "TokenGeneration_RefreshTokens",
|
|
17
|
-
UserMigration_Authentication = "UserMigration_Authentication",
|
|
18
|
-
UserMigration_ForgotPassword = "UserMigration_ForgotPassword",
|
|
19
|
-
CustomMessage_SignUp = "CustomMessage_SignUp",
|
|
20
|
-
CustomMessage_AdminCreateUser = "CustomMessage_AdminCreateUser",
|
|
21
|
-
CustomMessage_ResendCode = "CustomMessage_ResendCode",
|
|
22
|
-
CustomMessage_ForgotPassword = "CustomMessage_ForgotPassword",
|
|
23
|
-
CustomMessage_UpdateUserAttribute = "CustomMessage_UpdateUserAttribute",
|
|
24
|
-
CustomMessage_VerifyUserAttribute = "CustomMessage_VerifyUserAttribute",
|
|
25
|
-
CustomMessage_Authentication = "CustomMessage_Authentication"
|
|
1
|
+
export const enum BaconActorInitTriggerSources {
|
|
2
|
+
PreSignUp_SignUp = "PreSignUp_SignUp",
|
|
3
|
+
PreSignUp_AdminCreateUser = "PreSignUp_AdminCreateUser",
|
|
4
|
+
PreSignUp_ExternalProvider = "PreSignUp_ExternalProvider",
|
|
5
|
+
PostConfirmation_ConfirmSignUp = "PostConfirmation_ConfirmSignUp",
|
|
6
|
+
PostConfirmation_ConfirmForgotPassword = "PostConfirmation_ConfirmForgotPassword",
|
|
7
|
+
PreAuthentication_Authentication = "PreAuthentication_Authentication",
|
|
8
|
+
PostAuthentication_Authentication = "PostAuthentication_Authentication",
|
|
9
|
+
DefineAuthChallenge_Authentication = "DefineAuthChallenge_Authentication",
|
|
10
|
+
CreateAuthChallenge_Authentication = "CreateAuthChallenge_Authentication",
|
|
11
|
+
VerifyAuthChallengeResponse_Authentication = "VerifyAuthChallengeResponse_Authentication",
|
|
12
|
+
TokenGeneration_HostedAuth = "TokenGeneration_HostedAuth",
|
|
13
|
+
TokenGeneration_Authentication = "TokenGeneration_Authentication",
|
|
14
|
+
TokenGeneration_NewPasswordChallenge = "TokenGeneration_NewPasswordChallenge",
|
|
15
|
+
TokenGeneration_AuthenticateDevice = "TokenGeneration_AuthenticateDevice",
|
|
16
|
+
TokenGeneration_RefreshTokens = "TokenGeneration_RefreshTokens",
|
|
17
|
+
UserMigration_Authentication = "UserMigration_Authentication",
|
|
18
|
+
UserMigration_ForgotPassword = "UserMigration_ForgotPassword",
|
|
19
|
+
CustomMessage_SignUp = "CustomMessage_SignUp",
|
|
20
|
+
CustomMessage_AdminCreateUser = "CustomMessage_AdminCreateUser",
|
|
21
|
+
CustomMessage_ResendCode = "CustomMessage_ResendCode",
|
|
22
|
+
CustomMessage_ForgotPassword = "CustomMessage_ForgotPassword",
|
|
23
|
+
CustomMessage_UpdateUserAttribute = "CustomMessage_UpdateUserAttribute",
|
|
24
|
+
CustomMessage_VerifyUserAttribute = "CustomMessage_VerifyUserAttribute",
|
|
25
|
+
CustomMessage_Authentication = "CustomMessage_Authentication"
|
|
26
26
|
}
|