@safetech/inheriti-client-sdk 1.0.0 → 1.16.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/dist/index.d.ts +7 -4
- package/dist/index.js +36 -2
- package/dist/inheriti-client-sdk.umd.js +156 -0
- package/dist/sdk-types.d.ts +59 -0
- package/dist/src/auth/error-handling-strategy.d.ts +2 -0
- package/dist/src/auth/get-available-envs.d.ts +7 -0
- package/dist/src/{modules/_shared/infrastructure/providers → auth}/inheriti-client-provider.d.ts +5 -17
- package/dist/src/auth/use-client.d.ts +12 -0
- package/dist/test/index.js +1 -14
- package/dist/test.d.ts +184 -0
- package/index.ts +7 -5
- package/package.json +21 -22
- package/dist/src/modules/_shared/domain/contexts/data-provider-context.d.ts +0 -2
- package/dist/src/modules/_shared/domain/contexts/service-provider-context.d.ts +0 -2
- package/dist/src/modules/_shared/domain/contexts/utils-provider-context.d.ts +0 -5
- package/dist/src/modules/_shared/domain/errors/getErrorMessage.d.ts +0 -1
- package/dist/src/modules/_shared/domain/hooks/resources/use-create.d.ts +0 -18
- package/dist/src/modules/_shared/domain/hooks/resources/use-delete.d.ts +0 -19
- package/dist/src/modules/_shared/domain/hooks/resources/use-get-list.d.ts +0 -25
- package/dist/src/modules/_shared/domain/hooks/resources/use-get-one.d.ts +0 -17
- package/dist/src/modules/_shared/domain/hooks/use-data-provider.d.ts +0 -2
- package/dist/src/modules/_shared/domain/hooks/use-repository.d.ts +0 -1
- package/dist/src/modules/_shared/domain/hooks/use-service-provider.d.ts +0 -2
- package/dist/src/modules/_shared/domain/hooks/use-service.d.ts +0 -1
- package/dist/src/modules/_shared/domain/hooks/utils-hooks.d.ts +0 -4
- package/dist/src/modules/_shared/domain/models/app-utils.d.ts +0 -10
- package/dist/src/modules/_shared/domain/models/currency-price.d.ts +0 -39
- package/dist/src/modules/_shared/domain/models/currency.d.ts +0 -24
- package/dist/src/modules/_shared/domain/models/euro-currency.d.ts +0 -3
- package/dist/src/modules/_shared/domain/models/mutation-options.d.ts +0 -8
- package/dist/src/modules/_shared/domain/models/mutation.d.ts +0 -5
- package/dist/src/modules/_shared/domain/models/pagination-options.d.ts +0 -4
- package/dist/src/modules/_shared/domain/models/query-options.d.ts +0 -6
- package/dist/src/modules/_shared/domain/models/query.d.ts +0 -5
- package/dist/src/modules/_shared/domain/models/resource-count.d.ts +0 -3
- package/dist/src/modules/_shared/domain/models/sort-options.d.ts +0 -4
- package/dist/src/modules/_shared/domain/models/use-mutation-value.d.ts +0 -13
- package/dist/src/modules/_shared/domain/models/use-query-value.d.ts +0 -11
- package/dist/src/modules/_shared/domain/services/mutation-creator.d.ts +0 -6
- package/dist/src/modules/_shared/domain/services/query-creator.d.ts +0 -6
- package/dist/src/modules/_shared/domain/utils/misc/array-utils.d.ts +0 -48
- package/dist/src/modules/_shared/domain/utils/misc/datetime-utils.d.ts +0 -40
- package/dist/src/modules/_shared/domain/utils/misc/encrypt-utils.d.ts +0 -17
- package/dist/src/modules/_shared/domain/utils/misc/number-utils.d.ts +0 -4
- package/dist/src/modules/_shared/domain/utils/misc/object-utils.d.ts +0 -76
- package/dist/src/modules/_shared/domain/utils/misc/text-utils.d.ts +0 -7
- package/dist/src/modules/_shared/domain/utils/misc/uuid-utils.d.ts +0 -6
- package/dist/src/modules/_shared/infrastructure/api/api-repository.d.ts +0 -36
- package/dist/src/modules/_shared/infrastructure/api/app-payload-encrypter.d.ts +0 -9
- package/dist/src/modules/_shared/infrastructure/http/HttpError.d.ts +0 -7
- package/dist/src/modules/_shared/infrastructure/http/fetch.d.ts +0 -48
- package/dist/src/modules/_shared/infrastructure/local-storage/browser-local-storage.d.ts +0 -9
- package/dist/src/modules/_shared/infrastructure/providers/app-data-provider.d.ts +0 -20
- package/dist/src/modules/_shared/infrastructure/providers/app-provider.d.ts +0 -15
- package/dist/src/modules/_shared/infrastructure/providers/app-service-provider.d.ts +0 -28
- package/dist/src/modules/_shared/infrastructure/providers/app-utils-provider.d.ts +0 -175
- package/dist/src/modules/_shared/infrastructure/secure-storage/app-secure-storage.d.ts +0 -8
- package/dist/src/modules/_shared/infrastructure/services/hexEncoder.d.ts +0 -4
- package/dist/src/modules/_shared/infrastructure/services/react-q-query-creator.d.ts +0 -7
- package/dist/src/modules/_shared/infrastructure/services/react-query-mutation-creator.d.ts +0 -7
- package/dist/src/modules/_shared/infrastructure/services/safeshareLegacy.d.ts +0 -29
- package/dist/src/modules/_shared/infrastructure/session-storage/browser-session-storage.d.ts +0 -12
- package/dist/src/modules/_shared/infrastructure/utils/context-selector.d.ts +0 -2
- package/dist/src/modules/_shared/infrastructure/utils/set-query-params.d.ts +0 -5
- package/dist/src/modules/auth/application/use-auth-dispatch.d.ts +0 -1
- package/dist/src/modules/auth/application/use-auth-provider.d.ts +0 -4
- package/dist/src/modules/auth/application/use-auth-state.d.ts +0 -1
- package/dist/src/modules/auth/application/use-client.d.ts +0 -27
- package/dist/src/modules/auth/application/use-ensure-connected-client.d.ts +0 -3
- package/dist/src/modules/auth/application/use-get-identity.d.ts +0 -36
- package/dist/src/modules/auth/application/use-is-logged-in.d.ts +0 -8
- package/dist/src/modules/auth/application/use-login-client.d.ts +0 -6
- package/dist/src/modules/auth/application/use-logout-client.d.ts +0 -5
- package/dist/src/modules/auth/domain/contexts/auth-provider-context.d.ts +0 -2
- package/dist/src/modules/auth/domain/models/auth-credentials.d.ts +0 -3
- package/dist/src/modules/auth/domain/models/user-identity.d.ts +0 -28
- package/dist/src/modules/auth/domain/services/auth-provider.d.ts +0 -16
- package/dist/src/modules/auth/index.d.ts +0 -6
- package/dist/src/modules/auth/infrastructure/providers/app-auth-provider.d.ts +0 -30
- package/dist/src/modules/auth/infrastructure/providers/app-identity-service.d.ts +0 -9
- package/dist/src/modules/auth/infrastructure/providers/auth-constants.d.ts +0 -6
- package/dist/src/modules/beneficiary/domain/models/beneficiary-device.d.ts +0 -28
- package/dist/src/modules/beneficiary/domain/models/beneficiary-relation.d.ts +0 -13
- package/dist/src/modules/beneficiary/domain/models/beneficiary-type.d.ts +0 -16
- package/dist/src/modules/beneficiary/domain/models/beneficiary.d.ts +0 -54
- package/dist/src/modules/beneficiary/index.d.ts +0 -1
- package/dist/src/modules/beneficiary/infrastructure/mappers/beneficiary-mapper.d.ts +0 -6
- package/dist/src/modules/protection-plan/application/configuration-process/blockchain/use-create-smart-contract.d.ts +0 -9
- package/dist/src/modules/protection-plan/application/configuration-process/plan-shares/creation/use-create-backup-shares.d.ts +0 -6
- package/dist/src/modules/protection-plan/application/configuration-process/plan-shares/creation/use-create-cold-shares.d.ts +0 -6
- package/dist/src/modules/protection-plan/application/configuration-process/plan-shares/creation/use-create-mobile-shares.d.ts +0 -6
- package/dist/src/modules/protection-plan/application/configuration-process/plan-shares/creation/use-create-validator-shares.d.ts +0 -6
- package/dist/src/modules/protection-plan/application/configuration-process/plan-shares/distribution/use-distribute-backup-shares.d.ts +0 -9
- package/dist/src/modules/protection-plan/application/configuration-process/plan-shares/distribution/use-distribute-cold-share.d.ts +0 -8
- package/dist/src/modules/protection-plan/application/configuration-process/plan-shares/distribution/use-distribute-mobile-shares.d.ts +0 -9
- package/dist/src/modules/protection-plan/application/configuration-process/plan-shares/distribution/use-distribute-validator-shares.d.ts +0 -9
- package/dist/src/modules/protection-plan/application/configuration-process/use-configure-plan.d.ts +0 -12
- package/dist/src/modules/protection-plan/application/configuration-process/use-delete-plan-configuration-process.d.ts +0 -8
- package/dist/src/modules/protection-plan/application/configuration-process/use-get-plan-configuration-process.d.ts +0 -12
- package/dist/src/modules/protection-plan/application/configuration-process/use-save-plan-creation-process.d.ts +0 -9
- package/dist/src/modules/protection-plan/application/creation/use-create-protection-plan.d.ts +0 -24
- package/dist/src/modules/protection-plan/application/creation/use-get-available-plan-triggers.d.ts +0 -3
- package/dist/src/modules/protection-plan/application/creation/use-get-protection-plan-security-level.d.ts +0 -47
- package/dist/src/modules/protection-plan/application/creation/use-persist-protection-plan.d.ts +0 -10
- package/dist/src/modules/protection-plan/application/listing/use-find-protection-plan-summary-by-criteria.d.ts +0 -13
- package/dist/src/modules/protection-plan/application/listing/use-find-protection-plans-by-criteria.d.ts +0 -15
- package/dist/src/modules/protection-plan/application/listing/use-get-protection-plan-summary.d.ts +0 -13
- package/dist/src/modules/protection-plan/application/listing/use-is-merge-authority-mode.d.ts +0 -3
- package/dist/src/modules/protection-plan/application/listing/use-protection-plan-listener.d.ts +0 -25
- package/dist/src/modules/protection-plan/application/merging-process/merge-authority/use-authorize-merge-authority.d.ts +0 -13
- package/dist/src/modules/protection-plan/application/merging-process/merge-authority/use-get-merge-authority-protection-plan.d.ts +0 -12
- package/dist/src/modules/protection-plan/application/merging-process/merge-authority/use-merge-authority-merge-process-events.d.ts +0 -6
- package/dist/src/modules/protection-plan/application/merging-process/merge-triggers/use-retry-active-merge-trigger.d.ts +0 -10
- package/dist/src/modules/protection-plan/application/merging-process/merge-triggers/use-validate-merge-trigger.d.ts +0 -12
- package/dist/src/modules/protection-plan/application/merging-process/plan-shares/collection/use-collect-backup-shares.d.ts +0 -9
- package/dist/src/modules/protection-plan/application/merging-process/plan-shares/collection/use-collect-cold-share.d.ts +0 -8
- package/dist/src/modules/protection-plan/application/merging-process/plan-shares/collection/use-collect-mobile-shares.d.ts +0 -5
- package/dist/src/modules/protection-plan/application/merging-process/plan-shares/collection/use-collect-released-mobile-shares.d.ts +0 -9
- package/dist/src/modules/protection-plan/application/merging-process/plan-shares/collection/use-collect-validator-shares.d.ts +0 -9
- package/dist/src/modules/protection-plan/application/merging-process/plan-shares/use-check-can-collect-shares.d.ts +0 -2
- package/dist/src/modules/protection-plan/application/merging-process/plan-shares/use-save-release-mobile-share-request.d.ts +0 -11
- package/dist/src/modules/protection-plan/application/merging-process/plan-shares/use-send-plan-share-merge-status-event.d.ts +0 -15
- package/dist/src/modules/protection-plan/application/merging-process/plan-shares/use-send-plan-shares-merged.d.ts +0 -10
- package/dist/src/modules/protection-plan/application/merging-process/use-close-protection-plan.d.ts +0 -10
- package/dist/src/modules/protection-plan/application/merging-process/use-create-merging-process.d.ts +0 -9
- package/dist/src/modules/protection-plan/application/merging-process/use-delete-merging-process-by-criteria.d.ts +0 -11
- package/dist/src/modules/protection-plan/application/merging-process/use-delete-merging-process.d.ts +0 -10
- package/dist/src/modules/protection-plan/application/merging-process/use-get-merging-process-by-plan.d.ts +0 -23
- package/dist/src/modules/protection-plan/application/merging-process/use-merge-plan-beneficiary-selection.d.ts +0 -27
- package/dist/src/modules/protection-plan/application/merging-process/use-persist-merge-process.d.ts +0 -12
- package/dist/src/modules/protection-plan/application/merging-process/use-reveal-plan-data.d.ts +0 -13
- package/dist/src/modules/protection-plan/application/merging-process/use-save-merging-process.d.ts +0 -9
- package/dist/src/modules/protection-plan/application/merging-process/use-scan-plans-from-merge-authority-device.d.ts +0 -10
- package/dist/src/modules/protection-plan/application/merging-process/use-shareholder-merge-process-events.d.ts +0 -2
- package/dist/src/modules/protection-plan/domain/dto/plan-dto.d.ts +0 -68
- package/dist/src/modules/protection-plan/domain/dto/protection-plan-input.d.ts +0 -173
- package/dist/src/modules/protection-plan/domain/models/app-process.d.ts +0 -29
- package/dist/src/modules/protection-plan/domain/models/backup/backup-plan.d.ts +0 -18
- package/dist/src/modules/protection-plan/domain/models/backup/backup-shareholder.d.ts +0 -9
- package/dist/src/modules/protection-plan/domain/models/client/protection-plan-summary.d.ts +0 -218
- package/dist/src/modules/protection-plan/domain/models/data-asset.d.ts +0 -113
- package/dist/src/modules/protection-plan/domain/models/device-share-info.d.ts +0 -10
- package/dist/src/modules/protection-plan/domain/models/inheritance/heir.d.ts +0 -9
- package/dist/src/modules/protection-plan/domain/models/inheritance/inheritance-plan.d.ts +0 -16
- package/dist/src/modules/protection-plan/domain/models/merging-process/active-merge-process.d.ts +0 -15
- package/dist/src/modules/protection-plan/domain/models/merging-process/merging-process.d.ts +0 -135
- package/dist/src/modules/protection-plan/domain/models/plan-creation-proccess/plan-creation-process.d.ts +0 -69
- package/dist/src/modules/protection-plan/domain/models/plan-share.d.ts +0 -69
- package/dist/src/modules/protection-plan/domain/models/proccess-step.d.ts +0 -21
- package/dist/src/modules/protection-plan/domain/models/protection-plan-details.d.ts +0 -70
- package/dist/src/modules/protection-plan/domain/models/protection-plan-passphrase.d.ts +0 -18
- package/dist/src/modules/protection-plan/domain/models/protection-plan.d.ts +0 -238
- package/dist/src/modules/protection-plan/domain/models/shareholder.d.ts +0 -32
- package/dist/src/modules/protection-plan/domain/models/storage-option.d.ts +0 -29
- package/dist/src/modules/protection-plan/domain/models/trigger-settings-info.d.ts +0 -6
- package/dist/src/modules/protection-plan/domain/models/trigger.d.ts +0 -46
- package/dist/src/modules/protection-plan/domain/repositories/merge-authority-protection-plan-repository.d.ts +0 -13
- package/dist/src/modules/protection-plan/domain/repositories/merging-process-repository.d.ts +0 -62
- package/dist/src/modules/protection-plan/domain/repositories/plan-creation-repository.d.ts +0 -7
- package/dist/src/modules/protection-plan/domain/repositories/plan-security-repository.d.ts +0 -7
- package/dist/src/modules/protection-plan/domain/repositories/plan-triggers-repository.d.ts +0 -4
- package/dist/src/modules/protection-plan/domain/repositories/protection-plan-repository.d.ts +0 -24
- package/dist/src/modules/protection-plan/domain/services/blockchain-service.d.ts +0 -32
- package/dist/src/modules/protection-plan/domain/services/input-validation/PlanTypeInputValidator.d.ts +0 -4
- package/dist/src/modules/protection-plan/domain/services/input-validation/plan-beneficiaries-input-validator.d.ts +0 -240
- package/dist/src/modules/protection-plan/domain/services/input-validation/plan-data-assets-input-validator.d.ts +0 -1108
- package/dist/src/modules/protection-plan/domain/services/input-validation/plan-details-input-validator.d.ts +0 -23
- package/dist/src/modules/protection-plan/domain/services/input-validation/plan-shares-configuration-input-validator.d.ts +0 -13
- package/dist/src/modules/protection-plan/domain/services/input-validation/plan-storage-configuration-input-validator.d.ts +0 -25
- package/dist/src/modules/protection-plan/domain/services/input-validation/plan-triggers-input-validator.d.ts +0 -105
- package/dist/src/modules/protection-plan/domain/services/input-validation/utils/index.d.ts +0 -3
- package/dist/src/modules/protection-plan/domain/services/merge-authorization-handler.d.ts +0 -14
- package/dist/src/modules/protection-plan/domain/services/merge-process-event-listener.d.ts +0 -14
- package/dist/src/modules/protection-plan/domain/services/plan-data-assets-manager.d.ts +0 -69
- package/dist/src/modules/protection-plan/domain/services/plan-data-revealer.d.ts +0 -5
- package/dist/src/modules/protection-plan/domain/services/plan-event-listener.d.ts +0 -10
- package/dist/src/modules/protection-plan/domain/services/plan-merge-threshold-range-calculator.d.ts +0 -8
- package/dist/src/modules/protection-plan/domain/services/plan-recovery-shares-range-calculator.d.ts +0 -8
- package/dist/src/modules/protection-plan/domain/services/plan-shares-generator.d.ts +0 -18
- package/dist/src/modules/protection-plan/domain/services/vault-service.d.ts +0 -10
- package/dist/src/modules/protection-plan/domain/utils/plan-details-mapper.d.ts +0 -12
- package/dist/src/modules/protection-plan/domain/utils/plan-shares-details-mapper.d.ts +0 -10
- package/dist/src/modules/protection-plan/domain/utils/plan-triggers-details-mapper.d.ts +0 -5
- package/dist/src/modules/protection-plan/domain/utils/protection-plan-internal-mapper.d.ts +0 -5
- package/dist/src/modules/protection-plan/index.d.ts +0 -28
- package/dist/src/modules/protection-plan/infrastructure/mappers/backup-shareholder-mapper.d.ts +0 -7
- package/dist/src/modules/protection-plan/infrastructure/mappers/draft-protection-plan-mapper.d.ts +0 -8
- package/dist/src/modules/protection-plan/infrastructure/mappers/heir-mapper.d.ts +0 -7
- package/dist/src/modules/protection-plan/infrastructure/mappers/merging-process-mapper.d.ts +0 -5
- package/dist/src/modules/protection-plan/infrastructure/mappers/plan-creation-mapper.d.ts +0 -5
- package/dist/src/modules/protection-plan/infrastructure/mappers/protection-plan-filters-mapper.d.ts +0 -4
- package/dist/src/modules/protection-plan/infrastructure/mappers/protection-plan-mapper.d.ts +0 -10
- package/dist/src/modules/protection-plan/infrastructure/repositories/app-merging-process-repository.d.ts +0 -65
- package/dist/src/modules/protection-plan/infrastructure/repositories/app-plan-creation-repository.d.ts +0 -12
- package/dist/src/modules/protection-plan/infrastructure/repositories/app-plan-security-repository.d.ts +0 -11
- package/dist/src/modules/protection-plan/infrastructure/repositories/app-plan-triggers-repository.d.ts +0 -10
- package/dist/src/modules/protection-plan/infrastructure/repositories/protection-plan/app-merge-authority-protection-plan-repository.d.ts +0 -17
- package/dist/src/modules/protection-plan/infrastructure/repositories/protection-plan/app-protection-plan-repository.d.ts +0 -13
- package/dist/src/modules/protection-plan/infrastructure/services/app-blockchain-service.d.ts +0 -42
- package/dist/src/modules/protection-plan/infrastructure/services/app-plan-data-revealer.d.ts +0 -14
- package/dist/src/modules/protection-plan/infrastructure/services/app-plan-shares-generator.d.ts +0 -5
- package/dist/src/modules/protection-plan/infrastructure/services/constants/device-constants.d.ts +0 -1
- package/dist/src/modules/protection-plan/infrastructure/services/inheriti-vault-service.d.ts +0 -15
- package/dist/src/modules/protection-plan/infrastructure/services/socket-io-merge-authorization-handler.d.ts +0 -17
- package/dist/src/modules/protection-plan/infrastructure/services/socket-io-merge-process-event-listener.d.ts +0 -14
- package/dist/src/modules/protection-plan/infrastructure/services/socket-io-plan-event-listener.d.ts +0 -14
- package/dist/src/modules/protection-plan/ui/plan-creation-process/hooks/use-distribute-cold-shares-process.d.ts +0 -15
- package/dist/src/modules/protection-plan/ui/plan-creation-process/hooks/use-get-active-plan-configuration-process.d.ts +0 -11
- package/dist/src/modules/protection-plan/ui/plan-creation-process/hooks/use-plan-configuration-process-steps.d.ts +0 -16
- package/dist/src/modules/protection-plan/ui/plan-creation-process/hooks/use-plan-configuration-process.d.ts +0 -25
- package/dist/src/modules/protection-plan/ui/plan-creation-process/hooks/use-start-protection-plan-configuration-process.d.ts +0 -10
- package/dist/src/modules/protection-plan/ui/plan-creation-process/view-models/plan-configuration-process-view.d.ts +0 -55
- package/dist/src/modules/protection-plan/ui/plan-merge-process/hooks/merge-athority/use-merge-authority-sk-mobile-plan-detection.d.ts +0 -13
- package/dist/src/modules/protection-plan/ui/plan-merge-process/hooks/merge-athority/use-merge-authority-sk-pro-plan-detection.d.ts +0 -12
- package/dist/src/modules/protection-plan/ui/plan-merge-process/hooks/use-abort-merge-process.d.ts +0 -6
- package/dist/src/modules/protection-plan/ui/plan-merge-process/hooks/use-active-merge-process-listener.d.ts +0 -9
- package/dist/src/modules/protection-plan/ui/plan-merge-process/hooks/use-collect-plan-cold-share-process.d.ts +0 -13
- package/dist/src/modules/protection-plan/ui/plan-merge-process/hooks/use-count-down.d.ts +0 -7
- package/dist/src/modules/protection-plan/ui/plan-merge-process/hooks/use-initialize-merging-process.d.ts +0 -21
- package/dist/src/modules/protection-plan/ui/plan-merge-process/hooks/use-merge-process-controller.d.ts +0 -13
- package/dist/src/modules/protection-plan/ui/plan-merge-process/hooks/use-merge-process-release-shares-controller.d.ts +0 -9
- package/dist/src/modules/protection-plan/ui/plan-merge-process/hooks/use-plan-merge-process.d.ts +0 -55
- package/dist/src/modules/protection-plan/ui/plan-merge-process/hooks/use-process-plan-merge-steps.d.ts +0 -11
- package/dist/src/modules/protection-plan/ui/plan-merge-process/hooks/use-reveal-data-controller.d.ts +0 -26
- package/dist/src/modules/protection-plan/ui/plan-merge-process/hooks/use-start-merge-process.d.ts +0 -20
- package/dist/src/modules/protection-plan/ui/plan-merge-process/hooks/use-trigger-countdown.d.ts +0 -18
- package/dist/src/modules/protection-plan/ui/plan-merge-process/utils/merge-process-utils.d.ts +0 -3
- package/dist/src/modules/protection-plan/ui/plan-merge-process/view-models/plan-merge-process-view.d.ts +0 -173
- package/dist/src/modules/protection-plan/ui/protection-plan/utils/plan-beneficiary-builder.d.ts +0 -12
- package/dist/src/modules/protection-plan/ui/protection-plan/utils/plan-data-asset-builder.d.ts +0 -35
- package/dist/src/modules/protection-plan/ui/protection-plan/utils/protection-plan-code.d.ts +0 -7
- package/dist/src/modules/protection-plan/ui/protection-plan/utils/protection-plan-id.d.ts +0 -7
- package/dist/src/modules/protection-plan/ui/protection-plan/utils/trigger-builder.d.ts +0 -24
- package/dist/src/modules/safekey/application/use-connect-safekey-pro-device.d.ts +0 -10
- package/dist/src/modules/safekey/application/use-disconnect-safekey-device.d.ts +0 -8
- package/dist/src/modules/safekey/application/use-safekey-device.d.ts +0 -16
- package/dist/src/modules/safekey/application/use-validate-safekey-device-pin.d.ts +0 -12
- package/dist/src/modules/safekey/domain/services/cold-storage-service.d.ts +0 -55
- package/dist/src/modules/safekey/index.d.ts +0 -4
- package/dist/src/modules/safekey/infrastructure/services/safekey-cold-storage-service.d.ts +0 -45
- package/dist/src/modules/safekey/infrastructure/services/safekey-service.d.ts +0 -9
- package/dist/tests/modules/_shared/domain/models/FinancialMother.d.ts +0 -11
- package/dist/tests/modules/_shared/domain/models/date-mother.d.ts +0 -6
- package/dist/tests/modules/_shared/domain/models/email-mother.d.ts +0 -3
- package/dist/tests/modules/_shared/domain/models/id-mother.d.ts +0 -3
- package/dist/tests/modules/_shared/domain/models/internet-mother.d.ts +0 -11
- package/dist/tests/modules/_shared/domain/models/mother-creator.d.ts +0 -3
- package/dist/tests/modules/_shared/domain/models/name-mother.d.ts +0 -5
- package/dist/tests/modules/_shared/domain/models/number-mother.d.ts +0 -7
- package/dist/tests/modules/_shared/domain/models/random-element-picker-mother.d.ts +0 -3
- package/dist/tests/modules/_shared/domain/models/uuid-mother.d.ts +0 -3
- package/dist/tests/modules/_shared/domain/models/word-mother.d.ts +0 -5
- package/dist/tests/modules/index.d.ts +0 -6
- package/dist/tests/modules/protection-plan/domain/plan-beneficiary-input-generator.d.ts +0 -18
- package/dist/tests/modules/protection-plan/domain/plan-data-asset-input-generator.d.ts +0 -13
- package/dist/tests/modules/protection-plan/domain/plan-details-input-generator.d.ts +0 -7
- package/dist/tests/modules/protection-plan/domain/plan-shares-configuration-input-generator.d.ts +0 -20
- package/dist/tests/modules/protection-plan/domain/plan-storage-configuration-input-generator.d.ts +0 -4
- package/dist/tests/modules/protection-plan/domain/plan-trigger-input-generator.d.ts +0 -27
- package/dist/tests/modules/protection-plan/domain/protection-plan-input-generator.d.ts +0 -4
- package/dist/tests/modules/protection-plan/index.d.ts +0 -8
- /package/dist/src/{modules/_shared/infrastructure/utils → auth}/get-api-url.d.ts +0 -0
|
@@ -1,240 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
import { PlanBeneficiaryInput } from '../../../../protection-plan';
|
|
3
|
-
export declare const PlanBeneficiaryInputSchema: z.ZodDiscriminatedUnion<"storage", [z.ZodObject<{
|
|
4
|
-
isMergeAuthority: z.ZodBoolean;
|
|
5
|
-
isOwner: z.ZodOptional<z.ZodBoolean>;
|
|
6
|
-
} & {
|
|
7
|
-
storage: z.ZodLiteral<"SAFEKEY_PRO">;
|
|
8
|
-
details: z.ZodObject<{
|
|
9
|
-
id: z.ZodOptional<z.ZodString>;
|
|
10
|
-
code: z.ZodOptional<z.ZodString>;
|
|
11
|
-
firstName: z.ZodString;
|
|
12
|
-
lastName: z.ZodString;
|
|
13
|
-
} & {
|
|
14
|
-
email: z.ZodOptional<z.ZodString>;
|
|
15
|
-
}, "strip", z.ZodTypeAny, {
|
|
16
|
-
firstName: string;
|
|
17
|
-
lastName: string;
|
|
18
|
-
id?: string | undefined;
|
|
19
|
-
code?: string | undefined;
|
|
20
|
-
email?: string | undefined;
|
|
21
|
-
}, {
|
|
22
|
-
firstName: string;
|
|
23
|
-
lastName: string;
|
|
24
|
-
id?: string | undefined;
|
|
25
|
-
code?: string | undefined;
|
|
26
|
-
email?: string | undefined;
|
|
27
|
-
}>;
|
|
28
|
-
}, "strip", z.ZodTypeAny, {
|
|
29
|
-
storage: "SAFEKEY_PRO";
|
|
30
|
-
isMergeAuthority: boolean;
|
|
31
|
-
details: {
|
|
32
|
-
firstName: string;
|
|
33
|
-
lastName: string;
|
|
34
|
-
id?: string | undefined;
|
|
35
|
-
code?: string | undefined;
|
|
36
|
-
email?: string | undefined;
|
|
37
|
-
};
|
|
38
|
-
isOwner?: boolean | undefined;
|
|
39
|
-
}, {
|
|
40
|
-
storage: "SAFEKEY_PRO";
|
|
41
|
-
isMergeAuthority: boolean;
|
|
42
|
-
details: {
|
|
43
|
-
firstName: string;
|
|
44
|
-
lastName: string;
|
|
45
|
-
id?: string | undefined;
|
|
46
|
-
code?: string | undefined;
|
|
47
|
-
email?: string | undefined;
|
|
48
|
-
};
|
|
49
|
-
isOwner?: boolean | undefined;
|
|
50
|
-
}>, z.ZodObject<{
|
|
51
|
-
isMergeAuthority: z.ZodBoolean;
|
|
52
|
-
isOwner: z.ZodOptional<z.ZodBoolean>;
|
|
53
|
-
} & {
|
|
54
|
-
storage: z.ZodLiteral<"SAFEKEY_MOBILE">;
|
|
55
|
-
details: z.ZodObject<{
|
|
56
|
-
id: z.ZodOptional<z.ZodString>;
|
|
57
|
-
code: z.ZodOptional<z.ZodString>;
|
|
58
|
-
firstName: z.ZodString;
|
|
59
|
-
lastName: z.ZodString;
|
|
60
|
-
} & {
|
|
61
|
-
email: z.ZodString;
|
|
62
|
-
}, "strip", z.ZodTypeAny, {
|
|
63
|
-
firstName: string;
|
|
64
|
-
lastName: string;
|
|
65
|
-
email: string;
|
|
66
|
-
id?: string | undefined;
|
|
67
|
-
code?: string | undefined;
|
|
68
|
-
}, {
|
|
69
|
-
firstName: string;
|
|
70
|
-
lastName: string;
|
|
71
|
-
email: string;
|
|
72
|
-
id?: string | undefined;
|
|
73
|
-
code?: string | undefined;
|
|
74
|
-
}>;
|
|
75
|
-
}, "strip", z.ZodTypeAny, {
|
|
76
|
-
storage: "SAFEKEY_MOBILE";
|
|
77
|
-
isMergeAuthority: boolean;
|
|
78
|
-
details: {
|
|
79
|
-
firstName: string;
|
|
80
|
-
lastName: string;
|
|
81
|
-
email: string;
|
|
82
|
-
id?: string | undefined;
|
|
83
|
-
code?: string | undefined;
|
|
84
|
-
};
|
|
85
|
-
isOwner?: boolean | undefined;
|
|
86
|
-
}, {
|
|
87
|
-
storage: "SAFEKEY_MOBILE";
|
|
88
|
-
isMergeAuthority: boolean;
|
|
89
|
-
details: {
|
|
90
|
-
firstName: string;
|
|
91
|
-
lastName: string;
|
|
92
|
-
email: string;
|
|
93
|
-
id?: string | undefined;
|
|
94
|
-
code?: string | undefined;
|
|
95
|
-
};
|
|
96
|
-
isOwner?: boolean | undefined;
|
|
97
|
-
}>]>;
|
|
98
|
-
export declare const PlanBeneficiaryArraySchema: z.ZodEffects<z.ZodArray<z.ZodDiscriminatedUnion<"storage", [z.ZodObject<{
|
|
99
|
-
isMergeAuthority: z.ZodBoolean;
|
|
100
|
-
isOwner: z.ZodOptional<z.ZodBoolean>;
|
|
101
|
-
} & {
|
|
102
|
-
storage: z.ZodLiteral<"SAFEKEY_PRO">;
|
|
103
|
-
details: z.ZodObject<{
|
|
104
|
-
id: z.ZodOptional<z.ZodString>;
|
|
105
|
-
code: z.ZodOptional<z.ZodString>;
|
|
106
|
-
firstName: z.ZodString;
|
|
107
|
-
lastName: z.ZodString;
|
|
108
|
-
} & {
|
|
109
|
-
email: z.ZodOptional<z.ZodString>;
|
|
110
|
-
}, "strip", z.ZodTypeAny, {
|
|
111
|
-
firstName: string;
|
|
112
|
-
lastName: string;
|
|
113
|
-
id?: string | undefined;
|
|
114
|
-
code?: string | undefined;
|
|
115
|
-
email?: string | undefined;
|
|
116
|
-
}, {
|
|
117
|
-
firstName: string;
|
|
118
|
-
lastName: string;
|
|
119
|
-
id?: string | undefined;
|
|
120
|
-
code?: string | undefined;
|
|
121
|
-
email?: string | undefined;
|
|
122
|
-
}>;
|
|
123
|
-
}, "strip", z.ZodTypeAny, {
|
|
124
|
-
storage: "SAFEKEY_PRO";
|
|
125
|
-
isMergeAuthority: boolean;
|
|
126
|
-
details: {
|
|
127
|
-
firstName: string;
|
|
128
|
-
lastName: string;
|
|
129
|
-
id?: string | undefined;
|
|
130
|
-
code?: string | undefined;
|
|
131
|
-
email?: string | undefined;
|
|
132
|
-
};
|
|
133
|
-
isOwner?: boolean | undefined;
|
|
134
|
-
}, {
|
|
135
|
-
storage: "SAFEKEY_PRO";
|
|
136
|
-
isMergeAuthority: boolean;
|
|
137
|
-
details: {
|
|
138
|
-
firstName: string;
|
|
139
|
-
lastName: string;
|
|
140
|
-
id?: string | undefined;
|
|
141
|
-
code?: string | undefined;
|
|
142
|
-
email?: string | undefined;
|
|
143
|
-
};
|
|
144
|
-
isOwner?: boolean | undefined;
|
|
145
|
-
}>, z.ZodObject<{
|
|
146
|
-
isMergeAuthority: z.ZodBoolean;
|
|
147
|
-
isOwner: z.ZodOptional<z.ZodBoolean>;
|
|
148
|
-
} & {
|
|
149
|
-
storage: z.ZodLiteral<"SAFEKEY_MOBILE">;
|
|
150
|
-
details: z.ZodObject<{
|
|
151
|
-
id: z.ZodOptional<z.ZodString>;
|
|
152
|
-
code: z.ZodOptional<z.ZodString>;
|
|
153
|
-
firstName: z.ZodString;
|
|
154
|
-
lastName: z.ZodString;
|
|
155
|
-
} & {
|
|
156
|
-
email: z.ZodString;
|
|
157
|
-
}, "strip", z.ZodTypeAny, {
|
|
158
|
-
firstName: string;
|
|
159
|
-
lastName: string;
|
|
160
|
-
email: string;
|
|
161
|
-
id?: string | undefined;
|
|
162
|
-
code?: string | undefined;
|
|
163
|
-
}, {
|
|
164
|
-
firstName: string;
|
|
165
|
-
lastName: string;
|
|
166
|
-
email: string;
|
|
167
|
-
id?: string | undefined;
|
|
168
|
-
code?: string | undefined;
|
|
169
|
-
}>;
|
|
170
|
-
}, "strip", z.ZodTypeAny, {
|
|
171
|
-
storage: "SAFEKEY_MOBILE";
|
|
172
|
-
isMergeAuthority: boolean;
|
|
173
|
-
details: {
|
|
174
|
-
firstName: string;
|
|
175
|
-
lastName: string;
|
|
176
|
-
email: string;
|
|
177
|
-
id?: string | undefined;
|
|
178
|
-
code?: string | undefined;
|
|
179
|
-
};
|
|
180
|
-
isOwner?: boolean | undefined;
|
|
181
|
-
}, {
|
|
182
|
-
storage: "SAFEKEY_MOBILE";
|
|
183
|
-
isMergeAuthority: boolean;
|
|
184
|
-
details: {
|
|
185
|
-
firstName: string;
|
|
186
|
-
lastName: string;
|
|
187
|
-
email: string;
|
|
188
|
-
id?: string | undefined;
|
|
189
|
-
code?: string | undefined;
|
|
190
|
-
};
|
|
191
|
-
isOwner?: boolean | undefined;
|
|
192
|
-
}>]>, "many">, ({
|
|
193
|
-
storage: "SAFEKEY_PRO";
|
|
194
|
-
isMergeAuthority: boolean;
|
|
195
|
-
details: {
|
|
196
|
-
firstName: string;
|
|
197
|
-
lastName: string;
|
|
198
|
-
id?: string | undefined;
|
|
199
|
-
code?: string | undefined;
|
|
200
|
-
email?: string | undefined;
|
|
201
|
-
};
|
|
202
|
-
isOwner?: boolean | undefined;
|
|
203
|
-
} | {
|
|
204
|
-
storage: "SAFEKEY_MOBILE";
|
|
205
|
-
isMergeAuthority: boolean;
|
|
206
|
-
details: {
|
|
207
|
-
firstName: string;
|
|
208
|
-
lastName: string;
|
|
209
|
-
email: string;
|
|
210
|
-
id?: string | undefined;
|
|
211
|
-
code?: string | undefined;
|
|
212
|
-
};
|
|
213
|
-
isOwner?: boolean | undefined;
|
|
214
|
-
})[], ({
|
|
215
|
-
storage: "SAFEKEY_PRO";
|
|
216
|
-
isMergeAuthority: boolean;
|
|
217
|
-
details: {
|
|
218
|
-
firstName: string;
|
|
219
|
-
lastName: string;
|
|
220
|
-
id?: string | undefined;
|
|
221
|
-
code?: string | undefined;
|
|
222
|
-
email?: string | undefined;
|
|
223
|
-
};
|
|
224
|
-
isOwner?: boolean | undefined;
|
|
225
|
-
} | {
|
|
226
|
-
storage: "SAFEKEY_MOBILE";
|
|
227
|
-
isMergeAuthority: boolean;
|
|
228
|
-
details: {
|
|
229
|
-
firstName: string;
|
|
230
|
-
lastName: string;
|
|
231
|
-
email: string;
|
|
232
|
-
id?: string | undefined;
|
|
233
|
-
code?: string | undefined;
|
|
234
|
-
};
|
|
235
|
-
isOwner?: boolean | undefined;
|
|
236
|
-
})[]>;
|
|
237
|
-
export declare class PlanBeneficiaryInputValidator {
|
|
238
|
-
static validateOne(input: unknown): PlanBeneficiaryInput;
|
|
239
|
-
static validate(input: unknown): PlanBeneficiaryInput[];
|
|
240
|
-
}
|