@adonoustech/bacon-core 5.0.0 → 6.2.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 -17
- 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 -15
- package/dist/cjs/utils/index.js +4 -4
- 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 -14
- 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 -11
- package/dist/es/utils/index.js +1 -1
- 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 -13
- 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 -68
- package/dist/types/utils/index.d.ts +1 -1
- 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 -15
- 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-admin-client-detail.ts +155 -0
- package/src/interfaces/i-admin-client-table-row.ts +77 -0
- package/src/interfaces/i-admin-client.ts +117 -0
- 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 +40 -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 -86
- 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,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 './
|
|
5
|
-
export * from './
|
|
6
|
-
export * from './bacon-actor-
|
|
7
|
-
export * from './bacon-actor-
|
|
8
|
-
export * from './bacon-
|
|
9
|
-
export * from './bacon-
|
|
10
|
-
export * from './bacon-
|
|
11
|
-
export * from './bacon-
|
|
12
|
-
export * from './bacon-
|
|
13
|
-
export * from './bacon-
|
|
14
|
-
export * from './bacon-
|
|
15
|
-
export * from './bacon-
|
|
16
|
-
export * from './bacon-
|
|
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/dist/types/index.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Bacon Core
|
|
3
|
-
*
|
|
4
|
-
* @module bacon-core
|
|
5
|
-
*/
|
|
6
|
-
export * from './base';
|
|
7
|
-
export * from './concrete';
|
|
8
|
-
export * from './constants';
|
|
9
|
-
export * from './enums';
|
|
10
|
-
export * from './interfaces';
|
|
11
|
-
export * from './maps';
|
|
12
|
-
export * from './static';
|
|
13
|
-
export * from './utils';
|
|
1
|
+
/**
|
|
2
|
+
* Bacon Core
|
|
3
|
+
*
|
|
4
|
+
* @module bacon-core
|
|
5
|
+
*/
|
|
6
|
+
export * from './base';
|
|
7
|
+
export * from './concrete';
|
|
8
|
+
export * from './constants';
|
|
9
|
+
export * from './enums';
|
|
10
|
+
export * from './interfaces';
|
|
11
|
+
export * from './maps';
|
|
12
|
+
export * from './static';
|
|
13
|
+
export * from './utils';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BaconActorInitStatuses } from "../enums/bacon-actor-init-statuses";
|
|
2
|
-
export interface IBaconActorInitStatus {
|
|
3
|
-
actorInitStatus: BaconActorInitStatuses;
|
|
4
|
-
}
|
|
1
|
+
import { BaconActorInitStatuses } from "../enums/bacon-actor-init-statuses";
|
|
2
|
+
export interface IBaconActorInitStatus {
|
|
3
|
+
actorInitStatus: BaconActorInitStatuses;
|
|
4
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export interface IBaconActorInitTrigCtx {
|
|
2
|
-
awsSdkVersion: string;
|
|
3
|
-
clientId: string;
|
|
4
|
-
}
|
|
1
|
+
export interface IBaconActorInitTrigCtx {
|
|
2
|
+
awsSdkVersion: string;
|
|
3
|
+
clientId: string;
|
|
4
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IOIDCProfile } from "./i-oidc-profile";
|
|
2
|
-
export interface IBaconActorInitTrigReq {
|
|
3
|
-
userAttributes: IOIDCProfile;
|
|
4
|
-
validationData: any;
|
|
5
|
-
}
|
|
1
|
+
import { IOIDCProfile } from "./i-oidc-profile";
|
|
2
|
+
export interface IBaconActorInitTrigReq {
|
|
3
|
+
userAttributes: IOIDCProfile;
|
|
4
|
+
validationData: any;
|
|
5
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export interface IBaconActorInitTrigResp {
|
|
2
|
-
autoConfirmUser: boolean;
|
|
3
|
-
autoVerifyEmail: boolean;
|
|
4
|
-
autoVerifyPhone: boolean;
|
|
5
|
-
}
|
|
1
|
+
export interface IBaconActorInitTrigResp {
|
|
2
|
+
autoConfirmUser: boolean;
|
|
3
|
+
autoVerifyEmail: boolean;
|
|
4
|
+
autoVerifyPhone: boolean;
|
|
5
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export interface IBaconActorInitTrigUserAttr {
|
|
2
|
-
[key: string]: String;
|
|
3
|
-
}
|
|
1
|
+
export interface IBaconActorInitTrigUserAttr {
|
|
2
|
+
[key: string]: String;
|
|
3
|
+
}
|
|
@@ -1,14 +1,14 @@
|
|
|
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
|
-
export interface IBaconActorInitTriggerEvent {
|
|
6
|
-
version: string;
|
|
7
|
-
triggerSource: BaconActorInitTriggerSources;
|
|
8
|
-
region: BaconAWSRegions;
|
|
9
|
-
userPoolId: string;
|
|
10
|
-
userName: string;
|
|
11
|
-
callerContext: IBaconActorInitTrigCtx;
|
|
12
|
-
request: IBaconActorInitTrigReq;
|
|
13
|
-
response: IBaconActorInitTrigResp;
|
|
14
|
-
}
|
|
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
|
+
export interface IBaconActorInitTriggerEvent {
|
|
6
|
+
version: string;
|
|
7
|
+
triggerSource: BaconActorInitTriggerSources;
|
|
8
|
+
region: BaconAWSRegions;
|
|
9
|
+
userPoolId: string;
|
|
10
|
+
userName: string;
|
|
11
|
+
callerContext: IBaconActorInitTrigCtx;
|
|
12
|
+
request: IBaconActorInitTrigReq;
|
|
13
|
+
response: IBaconActorInitTrigResp;
|
|
14
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BaconActorStatuses } from "../enums/bacon-actor-statuses";
|
|
2
|
-
export interface IBaconActorStatus {
|
|
3
|
-
actorStatus: BaconActorStatuses;
|
|
4
|
-
}
|
|
1
|
+
import { BaconActorStatuses } from "../enums/bacon-actor-statuses";
|
|
2
|
+
export interface IBaconActorStatus {
|
|
3
|
+
actorStatus: BaconActorStatuses;
|
|
4
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export interface IBaconActionItemSettings {
|
|
2
|
-
acceptUpload: boolean;
|
|
3
|
-
autoReminder: boolean;
|
|
4
|
-
highImportance: boolean;
|
|
5
|
-
phoneReminder: boolean;
|
|
6
|
-
}
|
|
1
|
+
export interface IBaconActionItemSettings {
|
|
2
|
+
acceptUpload: boolean;
|
|
3
|
+
autoReminder: boolean;
|
|
4
|
+
highImportance: boolean;
|
|
5
|
+
phoneReminder: boolean;
|
|
6
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export interface IBaconActionItemSnippet {
|
|
2
|
-
}
|
|
1
|
+
export interface IBaconActionItemSnippet {
|
|
2
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export interface IBaconAdminMasterEntry {
|
|
2
|
-
sub: string;
|
|
3
|
-
federatedId: string;
|
|
4
|
-
}
|
|
1
|
+
export interface IBaconAdminMasterEntry {
|
|
2
|
+
sub: string;
|
|
3
|
+
federatedId: string;
|
|
4
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export interface IBaconAuthenticatorApp {
|
|
2
|
-
name: string;
|
|
3
|
-
deepLink: string;
|
|
4
|
-
universalLink?: string;
|
|
5
|
-
playStoreUrl?: string;
|
|
6
|
-
appStoreUrl?: string;
|
|
7
|
-
}
|
|
1
|
+
export interface IBaconAuthenticatorApp {
|
|
2
|
+
name: string;
|
|
3
|
+
deepLink: string;
|
|
4
|
+
universalLink?: string;
|
|
5
|
+
playStoreUrl?: string;
|
|
6
|
+
appStoreUrl?: string;
|
|
7
|
+
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { BaconBusinessLayerKinds, BaconLoggerEventTypes } from "../enums";
|
|
2
|
-
import { IOIDCProfile } from "./i-oidc-profile";
|
|
3
|
-
export interface IBaconBaseLoggerEvent {
|
|
4
|
-
kind: BaconBusinessLayerKinds;
|
|
5
|
-
eventType: BaconLoggerEventTypes;
|
|
6
|
-
error: string;
|
|
7
|
-
actor: IOIDCProfile;
|
|
8
|
-
timestamp: string;
|
|
9
|
-
}
|
|
1
|
+
import { BaconBusinessLayerKinds, BaconLoggerEventTypes } from "../enums";
|
|
2
|
+
import { IOIDCProfile } from "./i-oidc-profile";
|
|
3
|
+
export interface IBaconBaseLoggerEvent {
|
|
4
|
+
kind: BaconBusinessLayerKinds;
|
|
5
|
+
eventType: BaconLoggerEventTypes;
|
|
6
|
+
error: string;
|
|
7
|
+
actor: IOIDCProfile;
|
|
8
|
+
timestamp: string;
|
|
9
|
+
}
|
|
@@ -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';
|
|
8
|
-
}
|
|
1
|
+
export interface IBaconClientChecklistItem {
|
|
2
|
+
action: string;
|
|
3
|
+
description: string;
|
|
4
|
+
index: number;
|
|
5
|
+
id: string;
|
|
6
|
+
explanation: string;
|
|
7
|
+
status: 'complete' | 'incomplete';
|
|
8
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export interface IBaconClientError {
|
|
2
|
-
canonicalMessage: string;
|
|
3
|
-
errorMessage: any;
|
|
4
|
-
}
|
|
1
|
+
export interface IBaconClientError {
|
|
2
|
+
canonicalMessage: string;
|
|
3
|
+
errorMessage: any;
|
|
4
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export interface BaconCognitoRequest {
|
|
2
|
-
action: "createUser" | "deleteUser" | "updateUserAttributes" | "signIn";
|
|
3
|
-
payload: any;
|
|
4
|
-
}
|
|
1
|
+
export interface BaconCognitoRequest {
|
|
2
|
+
action: "createUser" | "deleteUser" | "updateUserAttributes" | "signIn";
|
|
3
|
+
payload: any;
|
|
4
|
+
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export interface IBaconFile {
|
|
2
|
-
lastModified?: number;
|
|
3
|
-
lastModifiedDate?: string;
|
|
4
|
-
name?: string;
|
|
5
|
-
size?: number;
|
|
6
|
-
type?: string;
|
|
7
|
-
currentKey?: string;
|
|
8
|
-
destinationKey?: string;
|
|
9
|
-
}
|
|
1
|
+
export interface IBaconFile {
|
|
2
|
+
lastModified?: number;
|
|
3
|
+
lastModifiedDate?: string;
|
|
4
|
+
name?: string;
|
|
5
|
+
size?: number;
|
|
6
|
+
type?: string;
|
|
7
|
+
currentKey?: string;
|
|
8
|
+
destinationKey?: string;
|
|
9
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { BaconAuthMfaTypes } from "../enums";
|
|
2
|
-
export interface IBaconMfaStatus {
|
|
3
|
-
isEnabled: boolean;
|
|
4
|
-
isTOTPEnabled: boolean;
|
|
5
|
-
isSMSEnabled: boolean;
|
|
6
|
-
preferredMethod?: BaconAuthMfaTypes;
|
|
7
|
-
}
|
|
1
|
+
import { BaconAuthMfaTypes } from "../enums";
|
|
2
|
+
export interface IBaconMfaStatus {
|
|
3
|
+
isEnabled: boolean;
|
|
4
|
+
isTOTPEnabled: boolean;
|
|
5
|
+
isSMSEnabled: boolean;
|
|
6
|
+
preferredMethod?: BaconAuthMfaTypes;
|
|
7
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export interface IBaconObjectLayerResult {
|
|
2
|
-
statusCode: number;
|
|
3
|
-
headers: {
|
|
4
|
-
[key: string]: string;
|
|
5
|
-
};
|
|
6
|
-
body: string;
|
|
7
|
-
}
|
|
1
|
+
export interface IBaconObjectLayerResult {
|
|
2
|
+
statusCode: number;
|
|
3
|
+
headers: {
|
|
4
|
+
[key: string]: string;
|
|
5
|
+
};
|
|
6
|
+
body: string;
|
|
7
|
+
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export interface IBaconStorageItem {
|
|
2
|
-
eTag: string;
|
|
3
|
-
key: string;
|
|
4
|
-
path?: string;
|
|
5
|
-
lastModified: string;
|
|
6
|
-
size: number;
|
|
7
|
-
index: number;
|
|
8
|
-
}
|
|
1
|
+
export interface IBaconStorageItem {
|
|
2
|
+
eTag: string;
|
|
3
|
+
key: string;
|
|
4
|
+
path?: string;
|
|
5
|
+
lastModified: string;
|
|
6
|
+
size: number;
|
|
7
|
+
index: number;
|
|
8
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export interface IBaconTotpVerificationNModel {
|
|
2
|
-
code: string;
|
|
3
|
-
}
|
|
1
|
+
export interface IBaconTotpVerificationNModel {
|
|
2
|
+
code: string;
|
|
3
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export interface IBaconTotpVerificationResult {
|
|
2
|
-
success: boolean;
|
|
3
|
-
error?: {
|
|
4
|
-
code: string;
|
|
5
|
-
message: string;
|
|
6
|
-
};
|
|
7
|
-
}
|
|
1
|
+
export interface IBaconTotpVerificationResult {
|
|
2
|
+
success: boolean;
|
|
3
|
+
error?: {
|
|
4
|
+
code: string;
|
|
5
|
+
message: string;
|
|
6
|
+
};
|
|
7
|
+
}
|
|
@@ -1,60 +1,60 @@
|
|
|
1
|
-
export interface IBaconUIPassthroughInputEvent {
|
|
2
|
-
"version"?: string;
|
|
3
|
-
"routeKey"?: string;
|
|
4
|
-
"rawPath"?: string;
|
|
5
|
-
"rawQueryString"?: string;
|
|
6
|
-
"cookies"?: string[];
|
|
7
|
-
"headers"?: {
|
|
8
|
-
[header: string]: string;
|
|
9
|
-
};
|
|
10
|
-
"queryStringParameters"?: {
|
|
11
|
-
[param: string]: string;
|
|
12
|
-
};
|
|
13
|
-
"requestContext"?: {
|
|
14
|
-
"accountId": string;
|
|
15
|
-
"apiId": string;
|
|
16
|
-
"authentication": {
|
|
17
|
-
"clientCert": {
|
|
18
|
-
"clientCertPem": string;
|
|
19
|
-
"subjectDN": string;
|
|
20
|
-
"issuerDN": string;
|
|
21
|
-
"serialNumber": string;
|
|
22
|
-
"validity": {
|
|
23
|
-
"notBefore": string;
|
|
24
|
-
"notAfter": string;
|
|
25
|
-
};
|
|
26
|
-
};
|
|
27
|
-
};
|
|
28
|
-
"authorizer": {
|
|
29
|
-
"jwt": {
|
|
30
|
-
"claims": {
|
|
31
|
-
[claim: string]: string;
|
|
32
|
-
};
|
|
33
|
-
"scopes": string[];
|
|
34
|
-
};
|
|
35
|
-
};
|
|
36
|
-
"domainName": string;
|
|
37
|
-
"domainPrefix": string;
|
|
38
|
-
"http": {
|
|
39
|
-
"method": string;
|
|
40
|
-
"path": string;
|
|
41
|
-
"protocol": string;
|
|
42
|
-
"sourceIp": string;
|
|
43
|
-
"userAgent": string;
|
|
44
|
-
};
|
|
45
|
-
"requestId": string;
|
|
46
|
-
"routeKey": string;
|
|
47
|
-
"stage": string;
|
|
48
|
-
"time": string;
|
|
49
|
-
"timeEpoch": number;
|
|
50
|
-
};
|
|
51
|
-
"body"?: string;
|
|
52
|
-
"pathParameters": {
|
|
53
|
-
"proxy": string;
|
|
54
|
-
};
|
|
55
|
-
"isBase64Encoded"?: false;
|
|
56
|
-
"stageVariables"?: {
|
|
57
|
-
"stageVariable1": string;
|
|
58
|
-
"stageVariable2": string;
|
|
59
|
-
};
|
|
60
|
-
}
|
|
1
|
+
export interface IBaconUIPassthroughInputEvent {
|
|
2
|
+
"version"?: string;
|
|
3
|
+
"routeKey"?: string;
|
|
4
|
+
"rawPath"?: string;
|
|
5
|
+
"rawQueryString"?: string;
|
|
6
|
+
"cookies"?: string[];
|
|
7
|
+
"headers"?: {
|
|
8
|
+
[header: string]: string;
|
|
9
|
+
};
|
|
10
|
+
"queryStringParameters"?: {
|
|
11
|
+
[param: string]: string;
|
|
12
|
+
};
|
|
13
|
+
"requestContext"?: {
|
|
14
|
+
"accountId": string;
|
|
15
|
+
"apiId": string;
|
|
16
|
+
"authentication": {
|
|
17
|
+
"clientCert": {
|
|
18
|
+
"clientCertPem": string;
|
|
19
|
+
"subjectDN": string;
|
|
20
|
+
"issuerDN": string;
|
|
21
|
+
"serialNumber": string;
|
|
22
|
+
"validity": {
|
|
23
|
+
"notBefore": string;
|
|
24
|
+
"notAfter": string;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
"authorizer": {
|
|
29
|
+
"jwt": {
|
|
30
|
+
"claims": {
|
|
31
|
+
[claim: string]: string;
|
|
32
|
+
};
|
|
33
|
+
"scopes": string[];
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
"domainName": string;
|
|
37
|
+
"domainPrefix": string;
|
|
38
|
+
"http": {
|
|
39
|
+
"method": string;
|
|
40
|
+
"path": string;
|
|
41
|
+
"protocol": string;
|
|
42
|
+
"sourceIp": string;
|
|
43
|
+
"userAgent": string;
|
|
44
|
+
};
|
|
45
|
+
"requestId": string;
|
|
46
|
+
"routeKey": string;
|
|
47
|
+
"stage": string;
|
|
48
|
+
"time": string;
|
|
49
|
+
"timeEpoch": number;
|
|
50
|
+
};
|
|
51
|
+
"body"?: string;
|
|
52
|
+
"pathParameters": {
|
|
53
|
+
"proxy": string;
|
|
54
|
+
};
|
|
55
|
+
"isBase64Encoded"?: false;
|
|
56
|
+
"stageVariables"?: {
|
|
57
|
+
"stageVariable1": string;
|
|
58
|
+
"stageVariable2": string;
|
|
59
|
+
};
|
|
60
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export interface IBaconUpdateMFAPreferenceResult {
|
|
2
|
-
success: boolean;
|
|
3
|
-
error?: {
|
|
4
|
-
code: string;
|
|
5
|
-
message: string;
|
|
6
|
-
};
|
|
7
|
-
}
|
|
1
|
+
export interface IBaconUpdateMFAPreferenceResult {
|
|
2
|
+
success: boolean;
|
|
3
|
+
error?: {
|
|
4
|
+
code: string;
|
|
5
|
+
message: string;
|
|
6
|
+
};
|
|
7
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IBaconFile } from "./i-bacon-file";
|
|
2
|
-
export interface IBaconUploadRequest {
|
|
3
|
-
files: IBaconFile[];
|
|
4
|
-
destination: string;
|
|
5
|
-
}
|
|
1
|
+
import { IBaconFile } from "./i-bacon-file";
|
|
2
|
+
export interface IBaconUploadRequest {
|
|
3
|
+
files: IBaconFile[];
|
|
4
|
+
destination: string;
|
|
5
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Admin-only hidden fields for client accounting intake
|
|
3
|
+
* These fields are set by admin via the admin dashboard, not by the client
|
|
4
|
+
*/
|
|
5
|
+
export interface IClientAcctAdminFields {
|
|
6
|
+
/** Whether we provide payroll services for this client */
|
|
7
|
+
providesPayroll: boolean;
|
|
8
|
+
/** Whether we provide state tax filings (B&O) for this client */
|
|
9
|
+
providesStateTaxFilingsBnO: boolean;
|
|
10
|
+
/** Whether this is a business tax client */
|
|
11
|
+
isBusinessTaxClient: boolean;
|
|
12
|
+
/** Whether this is a personal tax client */
|
|
13
|
+
isPersonalTaxClient: boolean;
|
|
14
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { ClientAcctIntakeBusinessEntityTypes } from "../enums/client-acct-intake-business-entity-types";
|
|
2
|
+
/**
|
|
3
|
+
* Business information section of the client accounting intake form
|
|
4
|
+
*/
|
|
5
|
+
export interface IClientAcctBusinessInfo {
|
|
6
|
+
/** Client acquisition date - hidden field, auto-set on creation */
|
|
7
|
+
clientAcquisitionDate: string;
|
|
8
|
+
/** Legal business name as registered with government agencies */
|
|
9
|
+
legalBusinessName: string;
|
|
10
|
+
/** IRS Tax ID (EIN) - format XX-XXXXXXX, optional */
|
|
11
|
+
irsTaxIdEIN: string;
|
|
12
|
+
/** Business entity type */
|
|
13
|
+
businessEntityType: ClientAcctIntakeBusinessEntityTypes;
|
|
14
|
+
/** Date of incorporation or formation date/date on business license */
|
|
15
|
+
dateOfIncorporation: string;
|
|
16
|
+
/** Date of S-Corporation election - applicable only for S-Corps */
|
|
17
|
+
dateOfSCorpElection: string;
|
|
18
|
+
/** State of incorporation / state where business is registered */
|
|
19
|
+
stateOfIncorporation: string;
|
|
20
|
+
/** State Tax ID - optional */
|
|
21
|
+
stateTaxId: string;
|
|
22
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Business owner entry for client accounting intake form
|
|
3
|
+
* Supports up to 10 owners per client
|
|
4
|
+
*/
|
|
5
|
+
export interface IClientAcctBusinessOwner {
|
|
6
|
+
/** Full name of the business owner */
|
|
7
|
+
ownerName: string;
|
|
8
|
+
/** Email address of the owner */
|
|
9
|
+
ownerEmail: string;
|
|
10
|
+
/** Cellphone number of the owner */
|
|
11
|
+
ownerCellphone: string;
|
|
12
|
+
/** Date of birth - ISO date string */
|
|
13
|
+
ownerDOB: string;
|
|
14
|
+
/** Social Security Number - format XXX-XX-XXXX */
|
|
15
|
+
ownerSSN: string;
|
|
16
|
+
/** Percent ownership for partnerships/QJV (0-100) */
|
|
17
|
+
percentOwnership: number;
|
|
18
|
+
/** Number of shares owned for S-Corp/C-Corp */
|
|
19
|
+
sharesOwned: number;
|
|
20
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ClientAcctIntakeBOFilingFrequencies } from "../enums/client-acct-intake-bo-filing-frequencies";
|
|
2
|
+
/**
|
|
3
|
+
* Employee information section of the client accounting intake form
|
|
4
|
+
*/
|
|
5
|
+
export interface IClientAcctEmployeeInfo {
|
|
6
|
+
/** Number of shareholders on payroll - applicable for S-Corp/C-Corp */
|
|
7
|
+
shareholdersOnPayroll: number;
|
|
8
|
+
/** Number of non-shareholder employees on payroll */
|
|
9
|
+
nonShareholderEmployees: number;
|
|
10
|
+
/** Business and Operations (B&O) tax filing frequency - WA state specific */
|
|
11
|
+
boTaxFilingFrequency: ClientAcctIntakeBOFilingFrequencies;
|
|
12
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { IClientAcctAdminFields } from "./i-client-acct-admin-fields";
|
|
2
|
+
import { IClientAcctBusinessInfo } from "./i-client-acct-business-info";
|
|
3
|
+
import { IClientAcctBusinessOwner } from "./i-client-acct-business-owner";
|
|
4
|
+
import { IClientAcctEmployeeInfo } from "./i-client-acct-employee-info";
|
|
5
|
+
/**
|
|
6
|
+
* Complete client accounting intake data model
|
|
7
|
+
* Stored in DynamoDB under the key 'client-acct-intake'
|
|
8
|
+
*/
|
|
9
|
+
export interface IClientAcctIntakeData {
|
|
10
|
+
/** Business information section */
|
|
11
|
+
businessInfo: IClientAcctBusinessInfo;
|
|
12
|
+
/** Array of business owners - maximum 10 entries */
|
|
13
|
+
businessOwners: IClientAcctBusinessOwner[];
|
|
14
|
+
/** Employee information section */
|
|
15
|
+
employeeInfo: IClientAcctEmployeeInfo;
|
|
16
|
+
/** Admin-only hidden fields */
|
|
17
|
+
adminFields: IClientAcctAdminFields;
|
|
18
|
+
/** ISO timestamp of last modification */
|
|
19
|
+
lastModified: string;
|
|
20
|
+
/** Whether the intake form is complete and submitted */
|
|
21
|
+
isComplete: boolean;
|
|
22
|
+
/** ISO timestamp of when the intake was submitted */
|
|
23
|
+
submittedAt: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Constants for client accounting intake
|
|
27
|
+
*/
|
|
28
|
+
export declare const CLIENT_ACCT_INTAKE_CONSTANTS: {
|
|
29
|
+
/** Maximum number of business owners allowed */
|
|
30
|
+
readonly MAX_BUSINESS_OWNERS: 10;
|
|
31
|
+
/** DynamoDB object key for intake data */
|
|
32
|
+
readonly DB_OBJECT_KEY: "client-acct-intake";
|
|
33
|
+
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export interface BaconCognitoAdminRequestPayload {
|
|
2
|
-
username: string;
|
|
3
|
-
customAttributes?: {
|
|
4
|
-
[key: string]: string;
|
|
5
|
-
};
|
|
6
|
-
userAttributes?: {
|
|
7
|
-
[key: string]: string;
|
|
8
|
-
};
|
|
9
|
-
}
|
|
1
|
+
export interface BaconCognitoAdminRequestPayload {
|
|
2
|
+
username: string;
|
|
3
|
+
customAttributes?: {
|
|
4
|
+
[key: string]: string;
|
|
5
|
+
};
|
|
6
|
+
userAttributes?: {
|
|
7
|
+
[key: string]: string;
|
|
8
|
+
};
|
|
9
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export interface IFlatNode {
|
|
2
|
-
expandable: boolean;
|
|
3
|
-
name: string;
|
|
4
|
-
level: number;
|
|
5
|
-
isExpanded?: boolean;
|
|
6
|
-
}
|
|
1
|
+
export interface IFlatNode {
|
|
2
|
+
expandable: boolean;
|
|
3
|
+
name: string;
|
|
4
|
+
level: number;
|
|
5
|
+
isExpanded?: boolean;
|
|
6
|
+
}
|