@safetech/inheriti-client-sdk 1.0.0 → 1.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (256) hide show
  1. package/index.ts +7 -5
  2. package/package.json +20 -22
  3. package/dist/index.d.ts +0 -4
  4. package/dist/index.js +0 -2
  5. package/dist/src/modules/_shared/domain/contexts/data-provider-context.d.ts +0 -2
  6. package/dist/src/modules/_shared/domain/contexts/service-provider-context.d.ts +0 -2
  7. package/dist/src/modules/_shared/domain/contexts/utils-provider-context.d.ts +0 -5
  8. package/dist/src/modules/_shared/domain/errors/getErrorMessage.d.ts +0 -1
  9. package/dist/src/modules/_shared/domain/hooks/resources/use-create.d.ts +0 -18
  10. package/dist/src/modules/_shared/domain/hooks/resources/use-delete.d.ts +0 -19
  11. package/dist/src/modules/_shared/domain/hooks/resources/use-get-list.d.ts +0 -25
  12. package/dist/src/modules/_shared/domain/hooks/resources/use-get-one.d.ts +0 -17
  13. package/dist/src/modules/_shared/domain/hooks/use-data-provider.d.ts +0 -2
  14. package/dist/src/modules/_shared/domain/hooks/use-repository.d.ts +0 -1
  15. package/dist/src/modules/_shared/domain/hooks/use-service-provider.d.ts +0 -2
  16. package/dist/src/modules/_shared/domain/hooks/use-service.d.ts +0 -1
  17. package/dist/src/modules/_shared/domain/hooks/utils-hooks.d.ts +0 -4
  18. package/dist/src/modules/_shared/domain/models/app-utils.d.ts +0 -10
  19. package/dist/src/modules/_shared/domain/models/currency-price.d.ts +0 -39
  20. package/dist/src/modules/_shared/domain/models/currency.d.ts +0 -24
  21. package/dist/src/modules/_shared/domain/models/euro-currency.d.ts +0 -3
  22. package/dist/src/modules/_shared/domain/models/mutation-options.d.ts +0 -8
  23. package/dist/src/modules/_shared/domain/models/mutation.d.ts +0 -5
  24. package/dist/src/modules/_shared/domain/models/pagination-options.d.ts +0 -4
  25. package/dist/src/modules/_shared/domain/models/query-options.d.ts +0 -6
  26. package/dist/src/modules/_shared/domain/models/query.d.ts +0 -5
  27. package/dist/src/modules/_shared/domain/models/resource-count.d.ts +0 -3
  28. package/dist/src/modules/_shared/domain/models/sort-options.d.ts +0 -4
  29. package/dist/src/modules/_shared/domain/models/use-mutation-value.d.ts +0 -13
  30. package/dist/src/modules/_shared/domain/models/use-query-value.d.ts +0 -11
  31. package/dist/src/modules/_shared/domain/services/mutation-creator.d.ts +0 -6
  32. package/dist/src/modules/_shared/domain/services/query-creator.d.ts +0 -6
  33. package/dist/src/modules/_shared/domain/utils/misc/array-utils.d.ts +0 -48
  34. package/dist/src/modules/_shared/domain/utils/misc/datetime-utils.d.ts +0 -40
  35. package/dist/src/modules/_shared/domain/utils/misc/encrypt-utils.d.ts +0 -17
  36. package/dist/src/modules/_shared/domain/utils/misc/number-utils.d.ts +0 -4
  37. package/dist/src/modules/_shared/domain/utils/misc/object-utils.d.ts +0 -76
  38. package/dist/src/modules/_shared/domain/utils/misc/text-utils.d.ts +0 -7
  39. package/dist/src/modules/_shared/domain/utils/misc/uuid-utils.d.ts +0 -6
  40. package/dist/src/modules/_shared/infrastructure/api/api-repository.d.ts +0 -36
  41. package/dist/src/modules/_shared/infrastructure/api/app-payload-encrypter.d.ts +0 -9
  42. package/dist/src/modules/_shared/infrastructure/http/HttpError.d.ts +0 -7
  43. package/dist/src/modules/_shared/infrastructure/http/fetch.d.ts +0 -48
  44. package/dist/src/modules/_shared/infrastructure/local-storage/browser-local-storage.d.ts +0 -9
  45. package/dist/src/modules/_shared/infrastructure/providers/app-data-provider.d.ts +0 -20
  46. package/dist/src/modules/_shared/infrastructure/providers/app-provider.d.ts +0 -15
  47. package/dist/src/modules/_shared/infrastructure/providers/app-service-provider.d.ts +0 -28
  48. package/dist/src/modules/_shared/infrastructure/providers/app-utils-provider.d.ts +0 -175
  49. package/dist/src/modules/_shared/infrastructure/providers/inheriti-client-provider.d.ts +0 -46
  50. package/dist/src/modules/_shared/infrastructure/secure-storage/app-secure-storage.d.ts +0 -8
  51. package/dist/src/modules/_shared/infrastructure/services/hexEncoder.d.ts +0 -4
  52. package/dist/src/modules/_shared/infrastructure/services/react-q-query-creator.d.ts +0 -7
  53. package/dist/src/modules/_shared/infrastructure/services/react-query-mutation-creator.d.ts +0 -7
  54. package/dist/src/modules/_shared/infrastructure/services/safeshareLegacy.d.ts +0 -29
  55. package/dist/src/modules/_shared/infrastructure/session-storage/browser-session-storage.d.ts +0 -12
  56. package/dist/src/modules/_shared/infrastructure/utils/context-selector.d.ts +0 -2
  57. package/dist/src/modules/_shared/infrastructure/utils/get-api-url.d.ts +0 -1
  58. package/dist/src/modules/_shared/infrastructure/utils/set-query-params.d.ts +0 -5
  59. package/dist/src/modules/auth/application/use-auth-dispatch.d.ts +0 -1
  60. package/dist/src/modules/auth/application/use-auth-provider.d.ts +0 -4
  61. package/dist/src/modules/auth/application/use-auth-state.d.ts +0 -1
  62. package/dist/src/modules/auth/application/use-client.d.ts +0 -27
  63. package/dist/src/modules/auth/application/use-ensure-connected-client.d.ts +0 -3
  64. package/dist/src/modules/auth/application/use-get-identity.d.ts +0 -36
  65. package/dist/src/modules/auth/application/use-is-logged-in.d.ts +0 -8
  66. package/dist/src/modules/auth/application/use-login-client.d.ts +0 -6
  67. package/dist/src/modules/auth/application/use-logout-client.d.ts +0 -5
  68. package/dist/src/modules/auth/domain/contexts/auth-provider-context.d.ts +0 -2
  69. package/dist/src/modules/auth/domain/models/auth-credentials.d.ts +0 -3
  70. package/dist/src/modules/auth/domain/models/user-identity.d.ts +0 -28
  71. package/dist/src/modules/auth/domain/services/auth-provider.d.ts +0 -16
  72. package/dist/src/modules/auth/index.d.ts +0 -6
  73. package/dist/src/modules/auth/infrastructure/providers/app-auth-provider.d.ts +0 -30
  74. package/dist/src/modules/auth/infrastructure/providers/app-identity-service.d.ts +0 -9
  75. package/dist/src/modules/auth/infrastructure/providers/auth-constants.d.ts +0 -6
  76. package/dist/src/modules/beneficiary/domain/models/beneficiary-device.d.ts +0 -28
  77. package/dist/src/modules/beneficiary/domain/models/beneficiary-relation.d.ts +0 -13
  78. package/dist/src/modules/beneficiary/domain/models/beneficiary-type.d.ts +0 -16
  79. package/dist/src/modules/beneficiary/domain/models/beneficiary.d.ts +0 -54
  80. package/dist/src/modules/beneficiary/index.d.ts +0 -1
  81. package/dist/src/modules/beneficiary/infrastructure/mappers/beneficiary-mapper.d.ts +0 -6
  82. package/dist/src/modules/protection-plan/application/configuration-process/blockchain/use-create-smart-contract.d.ts +0 -9
  83. package/dist/src/modules/protection-plan/application/configuration-process/plan-shares/creation/use-create-backup-shares.d.ts +0 -6
  84. package/dist/src/modules/protection-plan/application/configuration-process/plan-shares/creation/use-create-cold-shares.d.ts +0 -6
  85. package/dist/src/modules/protection-plan/application/configuration-process/plan-shares/creation/use-create-mobile-shares.d.ts +0 -6
  86. package/dist/src/modules/protection-plan/application/configuration-process/plan-shares/creation/use-create-validator-shares.d.ts +0 -6
  87. package/dist/src/modules/protection-plan/application/configuration-process/plan-shares/distribution/use-distribute-backup-shares.d.ts +0 -9
  88. package/dist/src/modules/protection-plan/application/configuration-process/plan-shares/distribution/use-distribute-cold-share.d.ts +0 -8
  89. package/dist/src/modules/protection-plan/application/configuration-process/plan-shares/distribution/use-distribute-mobile-shares.d.ts +0 -9
  90. package/dist/src/modules/protection-plan/application/configuration-process/plan-shares/distribution/use-distribute-validator-shares.d.ts +0 -9
  91. package/dist/src/modules/protection-plan/application/configuration-process/use-configure-plan.d.ts +0 -12
  92. package/dist/src/modules/protection-plan/application/configuration-process/use-delete-plan-configuration-process.d.ts +0 -8
  93. package/dist/src/modules/protection-plan/application/configuration-process/use-get-plan-configuration-process.d.ts +0 -12
  94. package/dist/src/modules/protection-plan/application/configuration-process/use-save-plan-creation-process.d.ts +0 -9
  95. package/dist/src/modules/protection-plan/application/creation/use-create-protection-plan.d.ts +0 -24
  96. package/dist/src/modules/protection-plan/application/creation/use-get-available-plan-triggers.d.ts +0 -3
  97. package/dist/src/modules/protection-plan/application/creation/use-get-protection-plan-security-level.d.ts +0 -47
  98. package/dist/src/modules/protection-plan/application/creation/use-persist-protection-plan.d.ts +0 -10
  99. package/dist/src/modules/protection-plan/application/listing/use-find-protection-plan-summary-by-criteria.d.ts +0 -13
  100. package/dist/src/modules/protection-plan/application/listing/use-find-protection-plans-by-criteria.d.ts +0 -15
  101. package/dist/src/modules/protection-plan/application/listing/use-get-protection-plan-summary.d.ts +0 -13
  102. package/dist/src/modules/protection-plan/application/listing/use-is-merge-authority-mode.d.ts +0 -3
  103. package/dist/src/modules/protection-plan/application/listing/use-protection-plan-listener.d.ts +0 -25
  104. package/dist/src/modules/protection-plan/application/merging-process/merge-authority/use-authorize-merge-authority.d.ts +0 -13
  105. package/dist/src/modules/protection-plan/application/merging-process/merge-authority/use-get-merge-authority-protection-plan.d.ts +0 -12
  106. package/dist/src/modules/protection-plan/application/merging-process/merge-authority/use-merge-authority-merge-process-events.d.ts +0 -6
  107. package/dist/src/modules/protection-plan/application/merging-process/merge-triggers/use-retry-active-merge-trigger.d.ts +0 -10
  108. package/dist/src/modules/protection-plan/application/merging-process/merge-triggers/use-validate-merge-trigger.d.ts +0 -12
  109. package/dist/src/modules/protection-plan/application/merging-process/plan-shares/collection/use-collect-backup-shares.d.ts +0 -9
  110. package/dist/src/modules/protection-plan/application/merging-process/plan-shares/collection/use-collect-cold-share.d.ts +0 -8
  111. package/dist/src/modules/protection-plan/application/merging-process/plan-shares/collection/use-collect-mobile-shares.d.ts +0 -5
  112. package/dist/src/modules/protection-plan/application/merging-process/plan-shares/collection/use-collect-released-mobile-shares.d.ts +0 -9
  113. package/dist/src/modules/protection-plan/application/merging-process/plan-shares/collection/use-collect-validator-shares.d.ts +0 -9
  114. package/dist/src/modules/protection-plan/application/merging-process/plan-shares/use-check-can-collect-shares.d.ts +0 -2
  115. package/dist/src/modules/protection-plan/application/merging-process/plan-shares/use-save-release-mobile-share-request.d.ts +0 -11
  116. package/dist/src/modules/protection-plan/application/merging-process/plan-shares/use-send-plan-share-merge-status-event.d.ts +0 -15
  117. package/dist/src/modules/protection-plan/application/merging-process/plan-shares/use-send-plan-shares-merged.d.ts +0 -10
  118. package/dist/src/modules/protection-plan/application/merging-process/use-close-protection-plan.d.ts +0 -10
  119. package/dist/src/modules/protection-plan/application/merging-process/use-create-merging-process.d.ts +0 -9
  120. package/dist/src/modules/protection-plan/application/merging-process/use-delete-merging-process-by-criteria.d.ts +0 -11
  121. package/dist/src/modules/protection-plan/application/merging-process/use-delete-merging-process.d.ts +0 -10
  122. package/dist/src/modules/protection-plan/application/merging-process/use-get-merging-process-by-plan.d.ts +0 -23
  123. package/dist/src/modules/protection-plan/application/merging-process/use-merge-plan-beneficiary-selection.d.ts +0 -27
  124. package/dist/src/modules/protection-plan/application/merging-process/use-persist-merge-process.d.ts +0 -12
  125. package/dist/src/modules/protection-plan/application/merging-process/use-reveal-plan-data.d.ts +0 -13
  126. package/dist/src/modules/protection-plan/application/merging-process/use-save-merging-process.d.ts +0 -9
  127. package/dist/src/modules/protection-plan/application/merging-process/use-scan-plans-from-merge-authority-device.d.ts +0 -10
  128. package/dist/src/modules/protection-plan/application/merging-process/use-shareholder-merge-process-events.d.ts +0 -2
  129. package/dist/src/modules/protection-plan/domain/dto/plan-dto.d.ts +0 -68
  130. package/dist/src/modules/protection-plan/domain/dto/protection-plan-input.d.ts +0 -173
  131. package/dist/src/modules/protection-plan/domain/models/app-process.d.ts +0 -29
  132. package/dist/src/modules/protection-plan/domain/models/backup/backup-plan.d.ts +0 -18
  133. package/dist/src/modules/protection-plan/domain/models/backup/backup-shareholder.d.ts +0 -9
  134. package/dist/src/modules/protection-plan/domain/models/client/protection-plan-summary.d.ts +0 -218
  135. package/dist/src/modules/protection-plan/domain/models/data-asset.d.ts +0 -113
  136. package/dist/src/modules/protection-plan/domain/models/device-share-info.d.ts +0 -10
  137. package/dist/src/modules/protection-plan/domain/models/inheritance/heir.d.ts +0 -9
  138. package/dist/src/modules/protection-plan/domain/models/inheritance/inheritance-plan.d.ts +0 -16
  139. package/dist/src/modules/protection-plan/domain/models/merging-process/active-merge-process.d.ts +0 -15
  140. package/dist/src/modules/protection-plan/domain/models/merging-process/merging-process.d.ts +0 -135
  141. package/dist/src/modules/protection-plan/domain/models/plan-creation-proccess/plan-creation-process.d.ts +0 -69
  142. package/dist/src/modules/protection-plan/domain/models/plan-share.d.ts +0 -69
  143. package/dist/src/modules/protection-plan/domain/models/proccess-step.d.ts +0 -21
  144. package/dist/src/modules/protection-plan/domain/models/protection-plan-details.d.ts +0 -70
  145. package/dist/src/modules/protection-plan/domain/models/protection-plan-passphrase.d.ts +0 -18
  146. package/dist/src/modules/protection-plan/domain/models/protection-plan.d.ts +0 -238
  147. package/dist/src/modules/protection-plan/domain/models/shareholder.d.ts +0 -32
  148. package/dist/src/modules/protection-plan/domain/models/storage-option.d.ts +0 -29
  149. package/dist/src/modules/protection-plan/domain/models/trigger-settings-info.d.ts +0 -6
  150. package/dist/src/modules/protection-plan/domain/models/trigger.d.ts +0 -46
  151. package/dist/src/modules/protection-plan/domain/repositories/merge-authority-protection-plan-repository.d.ts +0 -13
  152. package/dist/src/modules/protection-plan/domain/repositories/merging-process-repository.d.ts +0 -62
  153. package/dist/src/modules/protection-plan/domain/repositories/plan-creation-repository.d.ts +0 -7
  154. package/dist/src/modules/protection-plan/domain/repositories/plan-security-repository.d.ts +0 -7
  155. package/dist/src/modules/protection-plan/domain/repositories/plan-triggers-repository.d.ts +0 -4
  156. package/dist/src/modules/protection-plan/domain/repositories/protection-plan-repository.d.ts +0 -24
  157. package/dist/src/modules/protection-plan/domain/services/blockchain-service.d.ts +0 -32
  158. package/dist/src/modules/protection-plan/domain/services/input-validation/PlanTypeInputValidator.d.ts +0 -4
  159. package/dist/src/modules/protection-plan/domain/services/input-validation/plan-beneficiaries-input-validator.d.ts +0 -240
  160. package/dist/src/modules/protection-plan/domain/services/input-validation/plan-data-assets-input-validator.d.ts +0 -1108
  161. package/dist/src/modules/protection-plan/domain/services/input-validation/plan-details-input-validator.d.ts +0 -23
  162. package/dist/src/modules/protection-plan/domain/services/input-validation/plan-shares-configuration-input-validator.d.ts +0 -13
  163. package/dist/src/modules/protection-plan/domain/services/input-validation/plan-storage-configuration-input-validator.d.ts +0 -25
  164. package/dist/src/modules/protection-plan/domain/services/input-validation/plan-triggers-input-validator.d.ts +0 -105
  165. package/dist/src/modules/protection-plan/domain/services/input-validation/utils/index.d.ts +0 -3
  166. package/dist/src/modules/protection-plan/domain/services/merge-authorization-handler.d.ts +0 -14
  167. package/dist/src/modules/protection-plan/domain/services/merge-process-event-listener.d.ts +0 -14
  168. package/dist/src/modules/protection-plan/domain/services/plan-data-assets-manager.d.ts +0 -69
  169. package/dist/src/modules/protection-plan/domain/services/plan-data-revealer.d.ts +0 -5
  170. package/dist/src/modules/protection-plan/domain/services/plan-event-listener.d.ts +0 -10
  171. package/dist/src/modules/protection-plan/domain/services/plan-merge-threshold-range-calculator.d.ts +0 -8
  172. package/dist/src/modules/protection-plan/domain/services/plan-recovery-shares-range-calculator.d.ts +0 -8
  173. package/dist/src/modules/protection-plan/domain/services/plan-shares-generator.d.ts +0 -18
  174. package/dist/src/modules/protection-plan/domain/services/vault-service.d.ts +0 -10
  175. package/dist/src/modules/protection-plan/domain/utils/plan-details-mapper.d.ts +0 -12
  176. package/dist/src/modules/protection-plan/domain/utils/plan-shares-details-mapper.d.ts +0 -10
  177. package/dist/src/modules/protection-plan/domain/utils/plan-triggers-details-mapper.d.ts +0 -5
  178. package/dist/src/modules/protection-plan/domain/utils/protection-plan-internal-mapper.d.ts +0 -5
  179. package/dist/src/modules/protection-plan/index.d.ts +0 -28
  180. package/dist/src/modules/protection-plan/infrastructure/mappers/backup-shareholder-mapper.d.ts +0 -7
  181. package/dist/src/modules/protection-plan/infrastructure/mappers/draft-protection-plan-mapper.d.ts +0 -8
  182. package/dist/src/modules/protection-plan/infrastructure/mappers/heir-mapper.d.ts +0 -7
  183. package/dist/src/modules/protection-plan/infrastructure/mappers/merging-process-mapper.d.ts +0 -5
  184. package/dist/src/modules/protection-plan/infrastructure/mappers/plan-creation-mapper.d.ts +0 -5
  185. package/dist/src/modules/protection-plan/infrastructure/mappers/protection-plan-filters-mapper.d.ts +0 -4
  186. package/dist/src/modules/protection-plan/infrastructure/mappers/protection-plan-mapper.d.ts +0 -10
  187. package/dist/src/modules/protection-plan/infrastructure/repositories/app-merging-process-repository.d.ts +0 -65
  188. package/dist/src/modules/protection-plan/infrastructure/repositories/app-plan-creation-repository.d.ts +0 -12
  189. package/dist/src/modules/protection-plan/infrastructure/repositories/app-plan-security-repository.d.ts +0 -11
  190. package/dist/src/modules/protection-plan/infrastructure/repositories/app-plan-triggers-repository.d.ts +0 -10
  191. package/dist/src/modules/protection-plan/infrastructure/repositories/protection-plan/app-merge-authority-protection-plan-repository.d.ts +0 -17
  192. package/dist/src/modules/protection-plan/infrastructure/repositories/protection-plan/app-protection-plan-repository.d.ts +0 -13
  193. package/dist/src/modules/protection-plan/infrastructure/services/app-blockchain-service.d.ts +0 -42
  194. package/dist/src/modules/protection-plan/infrastructure/services/app-plan-data-revealer.d.ts +0 -14
  195. package/dist/src/modules/protection-plan/infrastructure/services/app-plan-shares-generator.d.ts +0 -5
  196. package/dist/src/modules/protection-plan/infrastructure/services/constants/device-constants.d.ts +0 -1
  197. package/dist/src/modules/protection-plan/infrastructure/services/inheriti-vault-service.d.ts +0 -15
  198. package/dist/src/modules/protection-plan/infrastructure/services/socket-io-merge-authorization-handler.d.ts +0 -17
  199. package/dist/src/modules/protection-plan/infrastructure/services/socket-io-merge-process-event-listener.d.ts +0 -14
  200. package/dist/src/modules/protection-plan/infrastructure/services/socket-io-plan-event-listener.d.ts +0 -14
  201. package/dist/src/modules/protection-plan/ui/plan-creation-process/hooks/use-distribute-cold-shares-process.d.ts +0 -15
  202. package/dist/src/modules/protection-plan/ui/plan-creation-process/hooks/use-get-active-plan-configuration-process.d.ts +0 -11
  203. package/dist/src/modules/protection-plan/ui/plan-creation-process/hooks/use-plan-configuration-process-steps.d.ts +0 -16
  204. package/dist/src/modules/protection-plan/ui/plan-creation-process/hooks/use-plan-configuration-process.d.ts +0 -25
  205. package/dist/src/modules/protection-plan/ui/plan-creation-process/hooks/use-start-protection-plan-configuration-process.d.ts +0 -10
  206. package/dist/src/modules/protection-plan/ui/plan-creation-process/view-models/plan-configuration-process-view.d.ts +0 -55
  207. package/dist/src/modules/protection-plan/ui/plan-merge-process/hooks/merge-athority/use-merge-authority-sk-mobile-plan-detection.d.ts +0 -13
  208. package/dist/src/modules/protection-plan/ui/plan-merge-process/hooks/merge-athority/use-merge-authority-sk-pro-plan-detection.d.ts +0 -12
  209. package/dist/src/modules/protection-plan/ui/plan-merge-process/hooks/use-abort-merge-process.d.ts +0 -6
  210. package/dist/src/modules/protection-plan/ui/plan-merge-process/hooks/use-active-merge-process-listener.d.ts +0 -9
  211. package/dist/src/modules/protection-plan/ui/plan-merge-process/hooks/use-collect-plan-cold-share-process.d.ts +0 -13
  212. package/dist/src/modules/protection-plan/ui/plan-merge-process/hooks/use-count-down.d.ts +0 -7
  213. package/dist/src/modules/protection-plan/ui/plan-merge-process/hooks/use-initialize-merging-process.d.ts +0 -21
  214. package/dist/src/modules/protection-plan/ui/plan-merge-process/hooks/use-merge-process-controller.d.ts +0 -13
  215. package/dist/src/modules/protection-plan/ui/plan-merge-process/hooks/use-merge-process-release-shares-controller.d.ts +0 -9
  216. package/dist/src/modules/protection-plan/ui/plan-merge-process/hooks/use-plan-merge-process.d.ts +0 -55
  217. package/dist/src/modules/protection-plan/ui/plan-merge-process/hooks/use-process-plan-merge-steps.d.ts +0 -11
  218. package/dist/src/modules/protection-plan/ui/plan-merge-process/hooks/use-reveal-data-controller.d.ts +0 -26
  219. package/dist/src/modules/protection-plan/ui/plan-merge-process/hooks/use-start-merge-process.d.ts +0 -20
  220. package/dist/src/modules/protection-plan/ui/plan-merge-process/hooks/use-trigger-countdown.d.ts +0 -18
  221. package/dist/src/modules/protection-plan/ui/plan-merge-process/utils/merge-process-utils.d.ts +0 -3
  222. package/dist/src/modules/protection-plan/ui/plan-merge-process/view-models/plan-merge-process-view.d.ts +0 -173
  223. package/dist/src/modules/protection-plan/ui/protection-plan/utils/plan-beneficiary-builder.d.ts +0 -12
  224. package/dist/src/modules/protection-plan/ui/protection-plan/utils/plan-data-asset-builder.d.ts +0 -35
  225. package/dist/src/modules/protection-plan/ui/protection-plan/utils/protection-plan-code.d.ts +0 -7
  226. package/dist/src/modules/protection-plan/ui/protection-plan/utils/protection-plan-id.d.ts +0 -7
  227. package/dist/src/modules/protection-plan/ui/protection-plan/utils/trigger-builder.d.ts +0 -24
  228. package/dist/src/modules/safekey/application/use-connect-safekey-pro-device.d.ts +0 -10
  229. package/dist/src/modules/safekey/application/use-disconnect-safekey-device.d.ts +0 -8
  230. package/dist/src/modules/safekey/application/use-safekey-device.d.ts +0 -16
  231. package/dist/src/modules/safekey/application/use-validate-safekey-device-pin.d.ts +0 -12
  232. package/dist/src/modules/safekey/domain/services/cold-storage-service.d.ts +0 -55
  233. package/dist/src/modules/safekey/index.d.ts +0 -4
  234. package/dist/src/modules/safekey/infrastructure/services/safekey-cold-storage-service.d.ts +0 -45
  235. package/dist/src/modules/safekey/infrastructure/services/safekey-service.d.ts +0 -9
  236. package/dist/test/index.js +0 -14
  237. package/dist/tests/modules/_shared/domain/models/FinancialMother.d.ts +0 -11
  238. package/dist/tests/modules/_shared/domain/models/date-mother.d.ts +0 -6
  239. package/dist/tests/modules/_shared/domain/models/email-mother.d.ts +0 -3
  240. package/dist/tests/modules/_shared/domain/models/id-mother.d.ts +0 -3
  241. package/dist/tests/modules/_shared/domain/models/internet-mother.d.ts +0 -11
  242. package/dist/tests/modules/_shared/domain/models/mother-creator.d.ts +0 -3
  243. package/dist/tests/modules/_shared/domain/models/name-mother.d.ts +0 -5
  244. package/dist/tests/modules/_shared/domain/models/number-mother.d.ts +0 -7
  245. package/dist/tests/modules/_shared/domain/models/random-element-picker-mother.d.ts +0 -3
  246. package/dist/tests/modules/_shared/domain/models/uuid-mother.d.ts +0 -3
  247. package/dist/tests/modules/_shared/domain/models/word-mother.d.ts +0 -5
  248. package/dist/tests/modules/index.d.ts +0 -6
  249. package/dist/tests/modules/protection-plan/domain/plan-beneficiary-input-generator.d.ts +0 -18
  250. package/dist/tests/modules/protection-plan/domain/plan-data-asset-input-generator.d.ts +0 -13
  251. package/dist/tests/modules/protection-plan/domain/plan-details-input-generator.d.ts +0 -7
  252. package/dist/tests/modules/protection-plan/domain/plan-shares-configuration-input-generator.d.ts +0 -20
  253. package/dist/tests/modules/protection-plan/domain/plan-storage-configuration-input-generator.d.ts +0 -4
  254. package/dist/tests/modules/protection-plan/domain/plan-trigger-input-generator.d.ts +0 -27
  255. package/dist/tests/modules/protection-plan/domain/protection-plan-input-generator.d.ts +0 -4
  256. package/dist/tests/modules/protection-plan/index.d.ts +0 -8
@@ -1,1108 +0,0 @@
1
- import { z } from 'zod';
2
- import { DataAsset } from '../../../../protection-plan';
3
- export declare const DataAssetSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4
- id: z.ZodOptional<z.ZodString>;
5
- type: z.ZodLiteral<"PLAIN-TEXT">;
6
- meta: z.ZodObject<{
7
- name: z.ZodString;
8
- notes: z.ZodOptional<z.ZodString>;
9
- }, "strip", z.ZodTypeAny, {
10
- name: string;
11
- notes?: string | undefined;
12
- }, {
13
- name: string;
14
- notes?: string | undefined;
15
- }>;
16
- secret: z.ZodEffects<z.ZodObject<{
17
- text: z.ZodOptional<z.ZodString>;
18
- }, "strip", z.ZodTypeAny, {
19
- text?: string | undefined;
20
- }, {
21
- text?: string | undefined;
22
- }>, {
23
- text?: string | undefined;
24
- }, {
25
- text?: string | undefined;
26
- }>;
27
- }, "strip", z.ZodTypeAny, {
28
- type: "PLAIN-TEXT";
29
- secret: {
30
- text?: string | undefined;
31
- };
32
- meta: {
33
- name: string;
34
- notes?: string | undefined;
35
- };
36
- id?: string | undefined;
37
- }, {
38
- type: "PLAIN-TEXT";
39
- secret: {
40
- text?: string | undefined;
41
- };
42
- meta: {
43
- name: string;
44
- notes?: string | undefined;
45
- };
46
- id?: string | undefined;
47
- }>, z.ZodObject<{
48
- id: z.ZodOptional<z.ZodString>;
49
- type: z.ZodLiteral<"ONLINE-ACCOUNT">;
50
- meta: z.ZodObject<{
51
- name: z.ZodString;
52
- notes: z.ZodOptional<z.ZodString>;
53
- }, "strip", z.ZodTypeAny, {
54
- name: string;
55
- notes?: string | undefined;
56
- }, {
57
- name: string;
58
- notes?: string | undefined;
59
- }>;
60
- secret: z.ZodEffects<z.ZodObject<{
61
- appOrWebsite: z.ZodOptional<z.ZodString>;
62
- email: z.ZodOptional<z.ZodString>;
63
- username: z.ZodOptional<z.ZodString>;
64
- password: z.ZodOptional<z.ZodString>;
65
- }, "strip", z.ZodTypeAny, {
66
- email?: string | undefined;
67
- appOrWebsite?: string | undefined;
68
- username?: string | undefined;
69
- password?: string | undefined;
70
- }, {
71
- email?: string | undefined;
72
- appOrWebsite?: string | undefined;
73
- username?: string | undefined;
74
- password?: string | undefined;
75
- }>, {
76
- email?: string | undefined;
77
- appOrWebsite?: string | undefined;
78
- username?: string | undefined;
79
- password?: string | undefined;
80
- }, {
81
- email?: string | undefined;
82
- appOrWebsite?: string | undefined;
83
- username?: string | undefined;
84
- password?: string | undefined;
85
- }>;
86
- }, "strip", z.ZodTypeAny, {
87
- type: "ONLINE-ACCOUNT";
88
- secret: {
89
- email?: string | undefined;
90
- appOrWebsite?: string | undefined;
91
- username?: string | undefined;
92
- password?: string | undefined;
93
- };
94
- meta: {
95
- name: string;
96
- notes?: string | undefined;
97
- };
98
- id?: string | undefined;
99
- }, {
100
- type: "ONLINE-ACCOUNT";
101
- secret: {
102
- email?: string | undefined;
103
- appOrWebsite?: string | undefined;
104
- username?: string | undefined;
105
- password?: string | undefined;
106
- };
107
- meta: {
108
- name: string;
109
- notes?: string | undefined;
110
- };
111
- id?: string | undefined;
112
- }>, z.ZodObject<{
113
- id: z.ZodOptional<z.ZodString>;
114
- type: z.ZodLiteral<"RECOVERY-CODE">;
115
- meta: z.ZodObject<{
116
- name: z.ZodString;
117
- notes: z.ZodOptional<z.ZodString>;
118
- }, "strip", z.ZodTypeAny, {
119
- name: string;
120
- notes?: string | undefined;
121
- }, {
122
- name: string;
123
- notes?: string | undefined;
124
- }>;
125
- secret: z.ZodEffects<z.ZodObject<{
126
- appOrWebsite: z.ZodOptional<z.ZodString>;
127
- code: z.ZodOptional<z.ZodString>;
128
- }, "strip", z.ZodTypeAny, {
129
- code?: string | undefined;
130
- appOrWebsite?: string | undefined;
131
- }, {
132
- code?: string | undefined;
133
- appOrWebsite?: string | undefined;
134
- }>, {
135
- code?: string | undefined;
136
- appOrWebsite?: string | undefined;
137
- }, {
138
- code?: string | undefined;
139
- appOrWebsite?: string | undefined;
140
- }>;
141
- }, "strip", z.ZodTypeAny, {
142
- type: "RECOVERY-CODE";
143
- secret: {
144
- code?: string | undefined;
145
- appOrWebsite?: string | undefined;
146
- };
147
- meta: {
148
- name: string;
149
- notes?: string | undefined;
150
- };
151
- id?: string | undefined;
152
- }, {
153
- type: "RECOVERY-CODE";
154
- secret: {
155
- code?: string | undefined;
156
- appOrWebsite?: string | undefined;
157
- };
158
- meta: {
159
- name: string;
160
- notes?: string | undefined;
161
- };
162
- id?: string | undefined;
163
- }>, z.ZodObject<{
164
- id: z.ZodOptional<z.ZodString>;
165
- type: z.ZodLiteral<"PIN-CODE">;
166
- meta: z.ZodObject<{
167
- name: z.ZodString;
168
- notes: z.ZodOptional<z.ZodString>;
169
- }, "strip", z.ZodTypeAny, {
170
- name: string;
171
- notes?: string | undefined;
172
- }, {
173
- name: string;
174
- notes?: string | undefined;
175
- }>;
176
- secret: z.ZodEffects<z.ZodObject<{
177
- deviceOrApp: z.ZodOptional<z.ZodString>;
178
- code: z.ZodOptional<z.ZodString>;
179
- }, "strip", z.ZodTypeAny, {
180
- code?: string | undefined;
181
- deviceOrApp?: string | undefined;
182
- }, {
183
- code?: string | undefined;
184
- deviceOrApp?: string | undefined;
185
- }>, {
186
- code?: string | undefined;
187
- deviceOrApp?: string | undefined;
188
- }, {
189
- code?: string | undefined;
190
- deviceOrApp?: string | undefined;
191
- }>;
192
- }, "strip", z.ZodTypeAny, {
193
- type: "PIN-CODE";
194
- secret: {
195
- code?: string | undefined;
196
- deviceOrApp?: string | undefined;
197
- };
198
- meta: {
199
- name: string;
200
- notes?: string | undefined;
201
- };
202
- id?: string | undefined;
203
- }, {
204
- type: "PIN-CODE";
205
- secret: {
206
- code?: string | undefined;
207
- deviceOrApp?: string | undefined;
208
- };
209
- meta: {
210
- name: string;
211
- notes?: string | undefined;
212
- };
213
- id?: string | undefined;
214
- }>, z.ZodObject<{
215
- id: z.ZodOptional<z.ZodString>;
216
- type: z.ZodLiteral<"API-KEY">;
217
- meta: z.ZodObject<{
218
- name: z.ZodString;
219
- notes: z.ZodOptional<z.ZodString>;
220
- }, "strip", z.ZodTypeAny, {
221
- name: string;
222
- notes?: string | undefined;
223
- }, {
224
- name: string;
225
- notes?: string | undefined;
226
- }>;
227
- secret: z.ZodEffects<z.ZodObject<{
228
- app: z.ZodOptional<z.ZodString>;
229
- apiKey: z.ZodOptional<z.ZodString>;
230
- }, "strip", z.ZodTypeAny, {
231
- app?: string | undefined;
232
- apiKey?: string | undefined;
233
- }, {
234
- app?: string | undefined;
235
- apiKey?: string | undefined;
236
- }>, {
237
- app?: string | undefined;
238
- apiKey?: string | undefined;
239
- }, {
240
- app?: string | undefined;
241
- apiKey?: string | undefined;
242
- }>;
243
- }, "strip", z.ZodTypeAny, {
244
- type: "API-KEY";
245
- secret: {
246
- app?: string | undefined;
247
- apiKey?: string | undefined;
248
- };
249
- meta: {
250
- name: string;
251
- notes?: string | undefined;
252
- };
253
- id?: string | undefined;
254
- }, {
255
- type: "API-KEY";
256
- secret: {
257
- app?: string | undefined;
258
- apiKey?: string | undefined;
259
- };
260
- meta: {
261
- name: string;
262
- notes?: string | undefined;
263
- };
264
- id?: string | undefined;
265
- }>, z.ZodObject<{
266
- id: z.ZodOptional<z.ZodString>;
267
- type: z.ZodLiteral<"PRIVATE-KEY">;
268
- meta: z.ZodObject<{
269
- name: z.ZodString;
270
- notes: z.ZodOptional<z.ZodString>;
271
- }, "strip", z.ZodTypeAny, {
272
- name: string;
273
- notes?: string | undefined;
274
- }, {
275
- name: string;
276
- notes?: string | undefined;
277
- }>;
278
- secret: z.ZodEffects<z.ZodObject<{
279
- publicAddress: z.ZodOptional<z.ZodString>;
280
- privateKey: z.ZodOptional<z.ZodString>;
281
- }, "strip", z.ZodTypeAny, {
282
- publicAddress?: string | undefined;
283
- privateKey?: string | undefined;
284
- }, {
285
- publicAddress?: string | undefined;
286
- privateKey?: string | undefined;
287
- }>, {
288
- publicAddress?: string | undefined;
289
- privateKey?: string | undefined;
290
- }, {
291
- publicAddress?: string | undefined;
292
- privateKey?: string | undefined;
293
- }>;
294
- }, "strip", z.ZodTypeAny, {
295
- type: "PRIVATE-KEY";
296
- secret: {
297
- publicAddress?: string | undefined;
298
- privateKey?: string | undefined;
299
- };
300
- meta: {
301
- name: string;
302
- notes?: string | undefined;
303
- };
304
- id?: string | undefined;
305
- }, {
306
- type: "PRIVATE-KEY";
307
- secret: {
308
- publicAddress?: string | undefined;
309
- privateKey?: string | undefined;
310
- };
311
- meta: {
312
- name: string;
313
- notes?: string | undefined;
314
- };
315
- id?: string | undefined;
316
- }>, z.ZodObject<{
317
- id: z.ZodOptional<z.ZodString>;
318
- type: z.ZodLiteral<"SEED-PHRASE">;
319
- meta: z.ZodObject<{
320
- name: z.ZodString;
321
- notes: z.ZodOptional<z.ZodString>;
322
- }, "strip", z.ZodTypeAny, {
323
- name: string;
324
- notes?: string | undefined;
325
- }, {
326
- name: string;
327
- notes?: string | undefined;
328
- }>;
329
- secret: z.ZodEffects<z.ZodObject<{
330
- words: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
331
- }, "strip", z.ZodTypeAny, {
332
- words?: string[] | undefined;
333
- }, {
334
- words?: string[] | undefined;
335
- }>, {
336
- words?: string[] | undefined;
337
- }, {
338
- words?: string[] | undefined;
339
- }>;
340
- }, "strip", z.ZodTypeAny, {
341
- type: "SEED-PHRASE";
342
- secret: {
343
- words?: string[] | undefined;
344
- };
345
- meta: {
346
- name: string;
347
- notes?: string | undefined;
348
- };
349
- id?: string | undefined;
350
- }, {
351
- type: "SEED-PHRASE";
352
- secret: {
353
- words?: string[] | undefined;
354
- };
355
- meta: {
356
- name: string;
357
- notes?: string | undefined;
358
- };
359
- id?: string | undefined;
360
- }>, z.ZodObject<{
361
- id: z.ZodOptional<z.ZodString>;
362
- type: z.ZodLiteral<"PAYMENT-DEBIT-CARD">;
363
- meta: z.ZodObject<{
364
- name: z.ZodString;
365
- notes: z.ZodOptional<z.ZodString>;
366
- }, "strip", z.ZodTypeAny, {
367
- name: string;
368
- notes?: string | undefined;
369
- }, {
370
- name: string;
371
- notes?: string | undefined;
372
- }>;
373
- secret: z.ZodEffects<z.ZodObject<{
374
- cardNumber: z.ZodOptional<z.ZodString>;
375
- bank: z.ZodOptional<z.ZodString>;
376
- accountNumber: z.ZodOptional<z.ZodString>;
377
- cardHolderName: z.ZodOptional<z.ZodString>;
378
- expiryDate: z.ZodOptional<z.ZodString>;
379
- pinCode: z.ZodOptional<z.ZodString>;
380
- code: z.ZodOptional<z.ZodString>;
381
- clientId: z.ZodOptional<z.ZodString>;
382
- }, "strip", z.ZodTypeAny, {
383
- code?: string | undefined;
384
- clientId?: string | undefined;
385
- cardNumber?: string | undefined;
386
- bank?: string | undefined;
387
- accountNumber?: string | undefined;
388
- cardHolderName?: string | undefined;
389
- expiryDate?: string | undefined;
390
- pinCode?: string | undefined;
391
- }, {
392
- code?: string | undefined;
393
- clientId?: string | undefined;
394
- cardNumber?: string | undefined;
395
- bank?: string | undefined;
396
- accountNumber?: string | undefined;
397
- cardHolderName?: string | undefined;
398
- expiryDate?: string | undefined;
399
- pinCode?: string | undefined;
400
- }>, {
401
- code?: string | undefined;
402
- clientId?: string | undefined;
403
- cardNumber?: string | undefined;
404
- bank?: string | undefined;
405
- accountNumber?: string | undefined;
406
- cardHolderName?: string | undefined;
407
- expiryDate?: string | undefined;
408
- pinCode?: string | undefined;
409
- }, {
410
- code?: string | undefined;
411
- clientId?: string | undefined;
412
- cardNumber?: string | undefined;
413
- bank?: string | undefined;
414
- accountNumber?: string | undefined;
415
- cardHolderName?: string | undefined;
416
- expiryDate?: string | undefined;
417
- pinCode?: string | undefined;
418
- }>;
419
- }, "strip", z.ZodTypeAny, {
420
- type: "PAYMENT-DEBIT-CARD";
421
- secret: {
422
- code?: string | undefined;
423
- clientId?: string | undefined;
424
- cardNumber?: string | undefined;
425
- bank?: string | undefined;
426
- accountNumber?: string | undefined;
427
- cardHolderName?: string | undefined;
428
- expiryDate?: string | undefined;
429
- pinCode?: string | undefined;
430
- };
431
- meta: {
432
- name: string;
433
- notes?: string | undefined;
434
- };
435
- id?: string | undefined;
436
- }, {
437
- type: "PAYMENT-DEBIT-CARD";
438
- secret: {
439
- code?: string | undefined;
440
- clientId?: string | undefined;
441
- cardNumber?: string | undefined;
442
- bank?: string | undefined;
443
- accountNumber?: string | undefined;
444
- cardHolderName?: string | undefined;
445
- expiryDate?: string | undefined;
446
- pinCode?: string | undefined;
447
- };
448
- meta: {
449
- name: string;
450
- notes?: string | undefined;
451
- };
452
- id?: string | undefined;
453
- }>, z.ZodObject<{
454
- id: z.ZodOptional<z.ZodString>;
455
- type: z.ZodLiteral<"PAYMENT-CREDIT-CARD">;
456
- meta: z.ZodObject<{
457
- name: z.ZodString;
458
- notes: z.ZodOptional<z.ZodString>;
459
- }, "strip", z.ZodTypeAny, {
460
- name: string;
461
- notes?: string | undefined;
462
- }, {
463
- name: string;
464
- notes?: string | undefined;
465
- }>;
466
- secret: z.ZodEffects<z.ZodObject<{
467
- cardNumber: z.ZodOptional<z.ZodString>;
468
- bank: z.ZodOptional<z.ZodString>;
469
- accountNumber: z.ZodOptional<z.ZodString>;
470
- cardHolderName: z.ZodOptional<z.ZodString>;
471
- expiryDate: z.ZodOptional<z.ZodString>;
472
- pinCode: z.ZodOptional<z.ZodString>;
473
- code: z.ZodOptional<z.ZodString>;
474
- clientId: z.ZodOptional<z.ZodString>;
475
- }, "strip", z.ZodTypeAny, {
476
- code?: string | undefined;
477
- clientId?: string | undefined;
478
- cardNumber?: string | undefined;
479
- bank?: string | undefined;
480
- accountNumber?: string | undefined;
481
- cardHolderName?: string | undefined;
482
- expiryDate?: string | undefined;
483
- pinCode?: string | undefined;
484
- }, {
485
- code?: string | undefined;
486
- clientId?: string | undefined;
487
- cardNumber?: string | undefined;
488
- bank?: string | undefined;
489
- accountNumber?: string | undefined;
490
- cardHolderName?: string | undefined;
491
- expiryDate?: string | undefined;
492
- pinCode?: string | undefined;
493
- }>, {
494
- code?: string | undefined;
495
- clientId?: string | undefined;
496
- cardNumber?: string | undefined;
497
- bank?: string | undefined;
498
- accountNumber?: string | undefined;
499
- cardHolderName?: string | undefined;
500
- expiryDate?: string | undefined;
501
- pinCode?: string | undefined;
502
- }, {
503
- code?: string | undefined;
504
- clientId?: string | undefined;
505
- cardNumber?: string | undefined;
506
- bank?: string | undefined;
507
- accountNumber?: string | undefined;
508
- cardHolderName?: string | undefined;
509
- expiryDate?: string | undefined;
510
- pinCode?: string | undefined;
511
- }>;
512
- }, "strip", z.ZodTypeAny, {
513
- type: "PAYMENT-CREDIT-CARD";
514
- secret: {
515
- code?: string | undefined;
516
- clientId?: string | undefined;
517
- cardNumber?: string | undefined;
518
- bank?: string | undefined;
519
- accountNumber?: string | undefined;
520
- cardHolderName?: string | undefined;
521
- expiryDate?: string | undefined;
522
- pinCode?: string | undefined;
523
- };
524
- meta: {
525
- name: string;
526
- notes?: string | undefined;
527
- };
528
- id?: string | undefined;
529
- }, {
530
- type: "PAYMENT-CREDIT-CARD";
531
- secret: {
532
- code?: string | undefined;
533
- clientId?: string | undefined;
534
- cardNumber?: string | undefined;
535
- bank?: string | undefined;
536
- accountNumber?: string | undefined;
537
- cardHolderName?: string | undefined;
538
- expiryDate?: string | undefined;
539
- pinCode?: string | undefined;
540
- };
541
- meta: {
542
- name: string;
543
- notes?: string | undefined;
544
- };
545
- id?: string | undefined;
546
- }>]>;
547
- export declare const DataAssetArraySchema: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
548
- id: z.ZodOptional<z.ZodString>;
549
- type: z.ZodLiteral<"PLAIN-TEXT">;
550
- meta: z.ZodObject<{
551
- name: z.ZodString;
552
- notes: z.ZodOptional<z.ZodString>;
553
- }, "strip", z.ZodTypeAny, {
554
- name: string;
555
- notes?: string | undefined;
556
- }, {
557
- name: string;
558
- notes?: string | undefined;
559
- }>;
560
- secret: z.ZodEffects<z.ZodObject<{
561
- text: z.ZodOptional<z.ZodString>;
562
- }, "strip", z.ZodTypeAny, {
563
- text?: string | undefined;
564
- }, {
565
- text?: string | undefined;
566
- }>, {
567
- text?: string | undefined;
568
- }, {
569
- text?: string | undefined;
570
- }>;
571
- }, "strip", z.ZodTypeAny, {
572
- type: "PLAIN-TEXT";
573
- secret: {
574
- text?: string | undefined;
575
- };
576
- meta: {
577
- name: string;
578
- notes?: string | undefined;
579
- };
580
- id?: string | undefined;
581
- }, {
582
- type: "PLAIN-TEXT";
583
- secret: {
584
- text?: string | undefined;
585
- };
586
- meta: {
587
- name: string;
588
- notes?: string | undefined;
589
- };
590
- id?: string | undefined;
591
- }>, z.ZodObject<{
592
- id: z.ZodOptional<z.ZodString>;
593
- type: z.ZodLiteral<"ONLINE-ACCOUNT">;
594
- meta: z.ZodObject<{
595
- name: z.ZodString;
596
- notes: z.ZodOptional<z.ZodString>;
597
- }, "strip", z.ZodTypeAny, {
598
- name: string;
599
- notes?: string | undefined;
600
- }, {
601
- name: string;
602
- notes?: string | undefined;
603
- }>;
604
- secret: z.ZodEffects<z.ZodObject<{
605
- appOrWebsite: z.ZodOptional<z.ZodString>;
606
- email: z.ZodOptional<z.ZodString>;
607
- username: z.ZodOptional<z.ZodString>;
608
- password: z.ZodOptional<z.ZodString>;
609
- }, "strip", z.ZodTypeAny, {
610
- email?: string | undefined;
611
- appOrWebsite?: string | undefined;
612
- username?: string | undefined;
613
- password?: string | undefined;
614
- }, {
615
- email?: string | undefined;
616
- appOrWebsite?: string | undefined;
617
- username?: string | undefined;
618
- password?: string | undefined;
619
- }>, {
620
- email?: string | undefined;
621
- appOrWebsite?: string | undefined;
622
- username?: string | undefined;
623
- password?: string | undefined;
624
- }, {
625
- email?: string | undefined;
626
- appOrWebsite?: string | undefined;
627
- username?: string | undefined;
628
- password?: string | undefined;
629
- }>;
630
- }, "strip", z.ZodTypeAny, {
631
- type: "ONLINE-ACCOUNT";
632
- secret: {
633
- email?: string | undefined;
634
- appOrWebsite?: string | undefined;
635
- username?: string | undefined;
636
- password?: string | undefined;
637
- };
638
- meta: {
639
- name: string;
640
- notes?: string | undefined;
641
- };
642
- id?: string | undefined;
643
- }, {
644
- type: "ONLINE-ACCOUNT";
645
- secret: {
646
- email?: string | undefined;
647
- appOrWebsite?: string | undefined;
648
- username?: string | undefined;
649
- password?: string | undefined;
650
- };
651
- meta: {
652
- name: string;
653
- notes?: string | undefined;
654
- };
655
- id?: string | undefined;
656
- }>, z.ZodObject<{
657
- id: z.ZodOptional<z.ZodString>;
658
- type: z.ZodLiteral<"RECOVERY-CODE">;
659
- meta: z.ZodObject<{
660
- name: z.ZodString;
661
- notes: z.ZodOptional<z.ZodString>;
662
- }, "strip", z.ZodTypeAny, {
663
- name: string;
664
- notes?: string | undefined;
665
- }, {
666
- name: string;
667
- notes?: string | undefined;
668
- }>;
669
- secret: z.ZodEffects<z.ZodObject<{
670
- appOrWebsite: z.ZodOptional<z.ZodString>;
671
- code: z.ZodOptional<z.ZodString>;
672
- }, "strip", z.ZodTypeAny, {
673
- code?: string | undefined;
674
- appOrWebsite?: string | undefined;
675
- }, {
676
- code?: string | undefined;
677
- appOrWebsite?: string | undefined;
678
- }>, {
679
- code?: string | undefined;
680
- appOrWebsite?: string | undefined;
681
- }, {
682
- code?: string | undefined;
683
- appOrWebsite?: string | undefined;
684
- }>;
685
- }, "strip", z.ZodTypeAny, {
686
- type: "RECOVERY-CODE";
687
- secret: {
688
- code?: string | undefined;
689
- appOrWebsite?: string | undefined;
690
- };
691
- meta: {
692
- name: string;
693
- notes?: string | undefined;
694
- };
695
- id?: string | undefined;
696
- }, {
697
- type: "RECOVERY-CODE";
698
- secret: {
699
- code?: string | undefined;
700
- appOrWebsite?: string | undefined;
701
- };
702
- meta: {
703
- name: string;
704
- notes?: string | undefined;
705
- };
706
- id?: string | undefined;
707
- }>, z.ZodObject<{
708
- id: z.ZodOptional<z.ZodString>;
709
- type: z.ZodLiteral<"PIN-CODE">;
710
- meta: z.ZodObject<{
711
- name: z.ZodString;
712
- notes: z.ZodOptional<z.ZodString>;
713
- }, "strip", z.ZodTypeAny, {
714
- name: string;
715
- notes?: string | undefined;
716
- }, {
717
- name: string;
718
- notes?: string | undefined;
719
- }>;
720
- secret: z.ZodEffects<z.ZodObject<{
721
- deviceOrApp: z.ZodOptional<z.ZodString>;
722
- code: z.ZodOptional<z.ZodString>;
723
- }, "strip", z.ZodTypeAny, {
724
- code?: string | undefined;
725
- deviceOrApp?: string | undefined;
726
- }, {
727
- code?: string | undefined;
728
- deviceOrApp?: string | undefined;
729
- }>, {
730
- code?: string | undefined;
731
- deviceOrApp?: string | undefined;
732
- }, {
733
- code?: string | undefined;
734
- deviceOrApp?: string | undefined;
735
- }>;
736
- }, "strip", z.ZodTypeAny, {
737
- type: "PIN-CODE";
738
- secret: {
739
- code?: string | undefined;
740
- deviceOrApp?: string | undefined;
741
- };
742
- meta: {
743
- name: string;
744
- notes?: string | undefined;
745
- };
746
- id?: string | undefined;
747
- }, {
748
- type: "PIN-CODE";
749
- secret: {
750
- code?: string | undefined;
751
- deviceOrApp?: string | undefined;
752
- };
753
- meta: {
754
- name: string;
755
- notes?: string | undefined;
756
- };
757
- id?: string | undefined;
758
- }>, z.ZodObject<{
759
- id: z.ZodOptional<z.ZodString>;
760
- type: z.ZodLiteral<"API-KEY">;
761
- meta: z.ZodObject<{
762
- name: z.ZodString;
763
- notes: z.ZodOptional<z.ZodString>;
764
- }, "strip", z.ZodTypeAny, {
765
- name: string;
766
- notes?: string | undefined;
767
- }, {
768
- name: string;
769
- notes?: string | undefined;
770
- }>;
771
- secret: z.ZodEffects<z.ZodObject<{
772
- app: z.ZodOptional<z.ZodString>;
773
- apiKey: z.ZodOptional<z.ZodString>;
774
- }, "strip", z.ZodTypeAny, {
775
- app?: string | undefined;
776
- apiKey?: string | undefined;
777
- }, {
778
- app?: string | undefined;
779
- apiKey?: string | undefined;
780
- }>, {
781
- app?: string | undefined;
782
- apiKey?: string | undefined;
783
- }, {
784
- app?: string | undefined;
785
- apiKey?: string | undefined;
786
- }>;
787
- }, "strip", z.ZodTypeAny, {
788
- type: "API-KEY";
789
- secret: {
790
- app?: string | undefined;
791
- apiKey?: string | undefined;
792
- };
793
- meta: {
794
- name: string;
795
- notes?: string | undefined;
796
- };
797
- id?: string | undefined;
798
- }, {
799
- type: "API-KEY";
800
- secret: {
801
- app?: string | undefined;
802
- apiKey?: string | undefined;
803
- };
804
- meta: {
805
- name: string;
806
- notes?: string | undefined;
807
- };
808
- id?: string | undefined;
809
- }>, z.ZodObject<{
810
- id: z.ZodOptional<z.ZodString>;
811
- type: z.ZodLiteral<"PRIVATE-KEY">;
812
- meta: z.ZodObject<{
813
- name: z.ZodString;
814
- notes: z.ZodOptional<z.ZodString>;
815
- }, "strip", z.ZodTypeAny, {
816
- name: string;
817
- notes?: string | undefined;
818
- }, {
819
- name: string;
820
- notes?: string | undefined;
821
- }>;
822
- secret: z.ZodEffects<z.ZodObject<{
823
- publicAddress: z.ZodOptional<z.ZodString>;
824
- privateKey: z.ZodOptional<z.ZodString>;
825
- }, "strip", z.ZodTypeAny, {
826
- publicAddress?: string | undefined;
827
- privateKey?: string | undefined;
828
- }, {
829
- publicAddress?: string | undefined;
830
- privateKey?: string | undefined;
831
- }>, {
832
- publicAddress?: string | undefined;
833
- privateKey?: string | undefined;
834
- }, {
835
- publicAddress?: string | undefined;
836
- privateKey?: string | undefined;
837
- }>;
838
- }, "strip", z.ZodTypeAny, {
839
- type: "PRIVATE-KEY";
840
- secret: {
841
- publicAddress?: string | undefined;
842
- privateKey?: string | undefined;
843
- };
844
- meta: {
845
- name: string;
846
- notes?: string | undefined;
847
- };
848
- id?: string | undefined;
849
- }, {
850
- type: "PRIVATE-KEY";
851
- secret: {
852
- publicAddress?: string | undefined;
853
- privateKey?: string | undefined;
854
- };
855
- meta: {
856
- name: string;
857
- notes?: string | undefined;
858
- };
859
- id?: string | undefined;
860
- }>, z.ZodObject<{
861
- id: z.ZodOptional<z.ZodString>;
862
- type: z.ZodLiteral<"SEED-PHRASE">;
863
- meta: z.ZodObject<{
864
- name: z.ZodString;
865
- notes: z.ZodOptional<z.ZodString>;
866
- }, "strip", z.ZodTypeAny, {
867
- name: string;
868
- notes?: string | undefined;
869
- }, {
870
- name: string;
871
- notes?: string | undefined;
872
- }>;
873
- secret: z.ZodEffects<z.ZodObject<{
874
- words: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
875
- }, "strip", z.ZodTypeAny, {
876
- words?: string[] | undefined;
877
- }, {
878
- words?: string[] | undefined;
879
- }>, {
880
- words?: string[] | undefined;
881
- }, {
882
- words?: string[] | undefined;
883
- }>;
884
- }, "strip", z.ZodTypeAny, {
885
- type: "SEED-PHRASE";
886
- secret: {
887
- words?: string[] | undefined;
888
- };
889
- meta: {
890
- name: string;
891
- notes?: string | undefined;
892
- };
893
- id?: string | undefined;
894
- }, {
895
- type: "SEED-PHRASE";
896
- secret: {
897
- words?: string[] | undefined;
898
- };
899
- meta: {
900
- name: string;
901
- notes?: string | undefined;
902
- };
903
- id?: string | undefined;
904
- }>, z.ZodObject<{
905
- id: z.ZodOptional<z.ZodString>;
906
- type: z.ZodLiteral<"PAYMENT-DEBIT-CARD">;
907
- meta: z.ZodObject<{
908
- name: z.ZodString;
909
- notes: z.ZodOptional<z.ZodString>;
910
- }, "strip", z.ZodTypeAny, {
911
- name: string;
912
- notes?: string | undefined;
913
- }, {
914
- name: string;
915
- notes?: string | undefined;
916
- }>;
917
- secret: z.ZodEffects<z.ZodObject<{
918
- cardNumber: z.ZodOptional<z.ZodString>;
919
- bank: z.ZodOptional<z.ZodString>;
920
- accountNumber: z.ZodOptional<z.ZodString>;
921
- cardHolderName: z.ZodOptional<z.ZodString>;
922
- expiryDate: z.ZodOptional<z.ZodString>;
923
- pinCode: z.ZodOptional<z.ZodString>;
924
- code: z.ZodOptional<z.ZodString>;
925
- clientId: z.ZodOptional<z.ZodString>;
926
- }, "strip", z.ZodTypeAny, {
927
- code?: string | undefined;
928
- clientId?: string | undefined;
929
- cardNumber?: string | undefined;
930
- bank?: string | undefined;
931
- accountNumber?: string | undefined;
932
- cardHolderName?: string | undefined;
933
- expiryDate?: string | undefined;
934
- pinCode?: string | undefined;
935
- }, {
936
- code?: string | undefined;
937
- clientId?: string | undefined;
938
- cardNumber?: string | undefined;
939
- bank?: string | undefined;
940
- accountNumber?: string | undefined;
941
- cardHolderName?: string | undefined;
942
- expiryDate?: string | undefined;
943
- pinCode?: string | undefined;
944
- }>, {
945
- code?: string | undefined;
946
- clientId?: string | undefined;
947
- cardNumber?: string | undefined;
948
- bank?: string | undefined;
949
- accountNumber?: string | undefined;
950
- cardHolderName?: string | undefined;
951
- expiryDate?: string | undefined;
952
- pinCode?: string | undefined;
953
- }, {
954
- code?: string | undefined;
955
- clientId?: string | undefined;
956
- cardNumber?: string | undefined;
957
- bank?: string | undefined;
958
- accountNumber?: string | undefined;
959
- cardHolderName?: string | undefined;
960
- expiryDate?: string | undefined;
961
- pinCode?: string | undefined;
962
- }>;
963
- }, "strip", z.ZodTypeAny, {
964
- type: "PAYMENT-DEBIT-CARD";
965
- secret: {
966
- code?: string | undefined;
967
- clientId?: string | undefined;
968
- cardNumber?: string | undefined;
969
- bank?: string | undefined;
970
- accountNumber?: string | undefined;
971
- cardHolderName?: string | undefined;
972
- expiryDate?: string | undefined;
973
- pinCode?: string | undefined;
974
- };
975
- meta: {
976
- name: string;
977
- notes?: string | undefined;
978
- };
979
- id?: string | undefined;
980
- }, {
981
- type: "PAYMENT-DEBIT-CARD";
982
- secret: {
983
- code?: string | undefined;
984
- clientId?: string | undefined;
985
- cardNumber?: string | undefined;
986
- bank?: string | undefined;
987
- accountNumber?: string | undefined;
988
- cardHolderName?: string | undefined;
989
- expiryDate?: string | undefined;
990
- pinCode?: string | undefined;
991
- };
992
- meta: {
993
- name: string;
994
- notes?: string | undefined;
995
- };
996
- id?: string | undefined;
997
- }>, z.ZodObject<{
998
- id: z.ZodOptional<z.ZodString>;
999
- type: z.ZodLiteral<"PAYMENT-CREDIT-CARD">;
1000
- meta: z.ZodObject<{
1001
- name: z.ZodString;
1002
- notes: z.ZodOptional<z.ZodString>;
1003
- }, "strip", z.ZodTypeAny, {
1004
- name: string;
1005
- notes?: string | undefined;
1006
- }, {
1007
- name: string;
1008
- notes?: string | undefined;
1009
- }>;
1010
- secret: z.ZodEffects<z.ZodObject<{
1011
- cardNumber: z.ZodOptional<z.ZodString>;
1012
- bank: z.ZodOptional<z.ZodString>;
1013
- accountNumber: z.ZodOptional<z.ZodString>;
1014
- cardHolderName: z.ZodOptional<z.ZodString>;
1015
- expiryDate: z.ZodOptional<z.ZodString>;
1016
- pinCode: z.ZodOptional<z.ZodString>;
1017
- code: z.ZodOptional<z.ZodString>;
1018
- clientId: z.ZodOptional<z.ZodString>;
1019
- }, "strip", z.ZodTypeAny, {
1020
- code?: string | undefined;
1021
- clientId?: string | undefined;
1022
- cardNumber?: string | undefined;
1023
- bank?: string | undefined;
1024
- accountNumber?: string | undefined;
1025
- cardHolderName?: string | undefined;
1026
- expiryDate?: string | undefined;
1027
- pinCode?: string | undefined;
1028
- }, {
1029
- code?: string | undefined;
1030
- clientId?: string | undefined;
1031
- cardNumber?: string | undefined;
1032
- bank?: string | undefined;
1033
- accountNumber?: string | undefined;
1034
- cardHolderName?: string | undefined;
1035
- expiryDate?: string | undefined;
1036
- pinCode?: string | undefined;
1037
- }>, {
1038
- code?: string | undefined;
1039
- clientId?: string | undefined;
1040
- cardNumber?: string | undefined;
1041
- bank?: string | undefined;
1042
- accountNumber?: string | undefined;
1043
- cardHolderName?: string | undefined;
1044
- expiryDate?: string | undefined;
1045
- pinCode?: string | undefined;
1046
- }, {
1047
- code?: string | undefined;
1048
- clientId?: string | undefined;
1049
- cardNumber?: string | undefined;
1050
- bank?: string | undefined;
1051
- accountNumber?: string | undefined;
1052
- cardHolderName?: string | undefined;
1053
- expiryDate?: string | undefined;
1054
- pinCode?: string | undefined;
1055
- }>;
1056
- }, "strip", z.ZodTypeAny, {
1057
- type: "PAYMENT-CREDIT-CARD";
1058
- secret: {
1059
- code?: string | undefined;
1060
- clientId?: string | undefined;
1061
- cardNumber?: string | undefined;
1062
- bank?: string | undefined;
1063
- accountNumber?: string | undefined;
1064
- cardHolderName?: string | undefined;
1065
- expiryDate?: string | undefined;
1066
- pinCode?: string | undefined;
1067
- };
1068
- meta: {
1069
- name: string;
1070
- notes?: string | undefined;
1071
- };
1072
- id?: string | undefined;
1073
- }, {
1074
- type: "PAYMENT-CREDIT-CARD";
1075
- secret: {
1076
- code?: string | undefined;
1077
- clientId?: string | undefined;
1078
- cardNumber?: string | undefined;
1079
- bank?: string | undefined;
1080
- accountNumber?: string | undefined;
1081
- cardHolderName?: string | undefined;
1082
- expiryDate?: string | undefined;
1083
- pinCode?: string | undefined;
1084
- };
1085
- meta: {
1086
- name: string;
1087
- notes?: string | undefined;
1088
- };
1089
- id?: string | undefined;
1090
- }>]>, "many">;
1091
- export declare class PlanDataAssetsInputValidator {
1092
- static validateOne(input: unknown): DataAsset;
1093
- static safeValidateOne(input: unknown): {
1094
- success: true;
1095
- data: DataAsset;
1096
- } | {
1097
- success: false;
1098
- errors: string[];
1099
- };
1100
- static validate(input: unknown): DataAsset[];
1101
- static safeValidate(input: unknown): {
1102
- success: true;
1103
- data: DataAsset[];
1104
- } | {
1105
- success: false;
1106
- errors: string[];
1107
- };
1108
- }