@keeper-security/keeperapi 16.0.1 → 16.0.2

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 (272) hide show
  1. package/.idea/keeperapi.iml +12 -0
  2. package/.idea/modules.xml +8 -0
  3. package/.rpt2_cache/rpt2_02b50c05ca0c5f1826efd221b9443199179ac6f1/code/cache/1c87a75f7bda91e438f008e21dafe531c949031d +1 -0
  4. package/.rpt2_cache/rpt2_02b50c05ca0c5f1826efd221b9443199179ac6f1/code/cache/55ab809efdb0061fba3df7fa2029e2706a361534 +1 -0
  5. package/.rpt2_cache/rpt2_02b50c05ca0c5f1826efd221b9443199179ac6f1/code/cache/5e18f43a9b613f6f6f2302b3a4e5176f6bc92fc5 +1 -0
  6. package/.rpt2_cache/rpt2_02b50c05ca0c5f1826efd221b9443199179ac6f1/code/cache/61937b699b545d77d9bb72af5e7182c1803ae24c +1 -0
  7. package/.rpt2_cache/rpt2_02b50c05ca0c5f1826efd221b9443199179ac6f1/code/cache/6eb75399e6e0179b01b9d8cb1afc01f5068ef4f0 +1 -0
  8. package/.rpt2_cache/rpt2_02b50c05ca0c5f1826efd221b9443199179ac6f1/code/cache/7c0e3c33301dea7e674a558fac5e4f028dbaa3ad +1 -0
  9. package/.rpt2_cache/rpt2_02b50c05ca0c5f1826efd221b9443199179ac6f1/code/cache/7fbbd271f2a6fe2a55d7ee5e3ad7716e7cf051ba +1 -0
  10. package/.rpt2_cache/rpt2_02b50c05ca0c5f1826efd221b9443199179ac6f1/code/cache/85bbe002887f4018a0fe647b8b05194dbc048f66 +1 -0
  11. package/.rpt2_cache/rpt2_02b50c05ca0c5f1826efd221b9443199179ac6f1/code/cache/8f851753b53908ad3f972c31696dbdeeed9b4661 +1 -0
  12. package/.rpt2_cache/rpt2_02b50c05ca0c5f1826efd221b9443199179ac6f1/code/cache/9eb60cc6282da763987e9a366716c57e69db7cbc +1 -0
  13. package/.rpt2_cache/rpt2_02b50c05ca0c5f1826efd221b9443199179ac6f1/code/cache/dc4d6f4549ac6f4017ff017e35d2349480068cdf +1 -0
  14. package/.rpt2_cache/rpt2_02b50c05ca0c5f1826efd221b9443199179ac6f1/code/cache/e4d5be0687b96b93a032d9922fa511f04ed27deb +1 -0
  15. package/.rpt2_cache/rpt2_02b50c05ca0c5f1826efd221b9443199179ac6f1/code/cache/f385a84342a7d9131d8da13c2546cde25fa23f1d +1 -0
  16. package/.rpt2_cache/rpt2_02b50c05ca0c5f1826efd221b9443199179ac6f1/semanticDiagnostics/cache/1c87a75f7bda91e438f008e21dafe531c949031d +1 -0
  17. package/.rpt2_cache/rpt2_02b50c05ca0c5f1826efd221b9443199179ac6f1/semanticDiagnostics/cache/55ab809efdb0061fba3df7fa2029e2706a361534 +1 -0
  18. package/.rpt2_cache/rpt2_02b50c05ca0c5f1826efd221b9443199179ac6f1/semanticDiagnostics/cache/5e18f43a9b613f6f6f2302b3a4e5176f6bc92fc5 +1 -0
  19. package/.rpt2_cache/rpt2_02b50c05ca0c5f1826efd221b9443199179ac6f1/semanticDiagnostics/cache/61937b699b545d77d9bb72af5e7182c1803ae24c +1 -0
  20. package/.rpt2_cache/rpt2_02b50c05ca0c5f1826efd221b9443199179ac6f1/semanticDiagnostics/cache/6eb75399e6e0179b01b9d8cb1afc01f5068ef4f0 +1 -0
  21. package/.rpt2_cache/rpt2_02b50c05ca0c5f1826efd221b9443199179ac6f1/semanticDiagnostics/cache/7c0e3c33301dea7e674a558fac5e4f028dbaa3ad +1 -0
  22. package/.rpt2_cache/rpt2_02b50c05ca0c5f1826efd221b9443199179ac6f1/semanticDiagnostics/cache/7fbbd271f2a6fe2a55d7ee5e3ad7716e7cf051ba +1 -0
  23. package/.rpt2_cache/rpt2_02b50c05ca0c5f1826efd221b9443199179ac6f1/semanticDiagnostics/cache/85bbe002887f4018a0fe647b8b05194dbc048f66 +1 -0
  24. package/.rpt2_cache/rpt2_02b50c05ca0c5f1826efd221b9443199179ac6f1/semanticDiagnostics/cache/8f851753b53908ad3f972c31696dbdeeed9b4661 +1 -0
  25. package/.rpt2_cache/rpt2_02b50c05ca0c5f1826efd221b9443199179ac6f1/semanticDiagnostics/cache/9eb60cc6282da763987e9a366716c57e69db7cbc +1 -0
  26. package/.rpt2_cache/rpt2_02b50c05ca0c5f1826efd221b9443199179ac6f1/semanticDiagnostics/cache/dc4d6f4549ac6f4017ff017e35d2349480068cdf +1 -0
  27. package/.rpt2_cache/rpt2_02b50c05ca0c5f1826efd221b9443199179ac6f1/semanticDiagnostics/cache/e4d5be0687b96b93a032d9922fa511f04ed27deb +1 -0
  28. package/.rpt2_cache/rpt2_02b50c05ca0c5f1826efd221b9443199179ac6f1/semanticDiagnostics/cache/f385a84342a7d9131d8da13c2546cde25fa23f1d +1 -0
  29. package/.rpt2_cache/rpt2_02b50c05ca0c5f1826efd221b9443199179ac6f1/syntacticDiagnostics/cache/1c87a75f7bda91e438f008e21dafe531c949031d +1 -0
  30. package/.rpt2_cache/rpt2_02b50c05ca0c5f1826efd221b9443199179ac6f1/syntacticDiagnostics/cache/55ab809efdb0061fba3df7fa2029e2706a361534 +1 -0
  31. package/.rpt2_cache/rpt2_02b50c05ca0c5f1826efd221b9443199179ac6f1/syntacticDiagnostics/cache/5e18f43a9b613f6f6f2302b3a4e5176f6bc92fc5 +1 -0
  32. package/.rpt2_cache/rpt2_02b50c05ca0c5f1826efd221b9443199179ac6f1/syntacticDiagnostics/cache/61937b699b545d77d9bb72af5e7182c1803ae24c +1 -0
  33. package/.rpt2_cache/rpt2_02b50c05ca0c5f1826efd221b9443199179ac6f1/syntacticDiagnostics/cache/6eb75399e6e0179b01b9d8cb1afc01f5068ef4f0 +1 -0
  34. package/.rpt2_cache/rpt2_02b50c05ca0c5f1826efd221b9443199179ac6f1/syntacticDiagnostics/cache/7c0e3c33301dea7e674a558fac5e4f028dbaa3ad +1 -0
  35. package/.rpt2_cache/rpt2_02b50c05ca0c5f1826efd221b9443199179ac6f1/syntacticDiagnostics/cache/7fbbd271f2a6fe2a55d7ee5e3ad7716e7cf051ba +1 -0
  36. package/.rpt2_cache/rpt2_02b50c05ca0c5f1826efd221b9443199179ac6f1/syntacticDiagnostics/cache/85bbe002887f4018a0fe647b8b05194dbc048f66 +1 -0
  37. package/.rpt2_cache/rpt2_02b50c05ca0c5f1826efd221b9443199179ac6f1/syntacticDiagnostics/cache/8f851753b53908ad3f972c31696dbdeeed9b4661 +1 -0
  38. package/.rpt2_cache/rpt2_02b50c05ca0c5f1826efd221b9443199179ac6f1/syntacticDiagnostics/cache/9eb60cc6282da763987e9a366716c57e69db7cbc +1 -0
  39. package/.rpt2_cache/rpt2_02b50c05ca0c5f1826efd221b9443199179ac6f1/syntacticDiagnostics/cache/dc4d6f4549ac6f4017ff017e35d2349480068cdf +1 -0
  40. package/.rpt2_cache/rpt2_02b50c05ca0c5f1826efd221b9443199179ac6f1/syntacticDiagnostics/cache/e4d5be0687b96b93a032d9922fa511f04ed27deb +1 -0
  41. package/.rpt2_cache/rpt2_02b50c05ca0c5f1826efd221b9443199179ac6f1/syntacticDiagnostics/cache/f385a84342a7d9131d8da13c2546cde25fa23f1d +1 -0
  42. package/.rpt2_cache/rpt2_02b50c05ca0c5f1826efd221b9443199179ac6f1/types/cache/24fbc0427075baf3ac3fee2ada4ddd2fdd6804a6 +0 -0
  43. package/.rpt2_cache/rpt2_02b50c05ca0c5f1826efd221b9443199179ac6f1/types/cache/3050043c8485297b366404c9b699f00a98a44b3c +0 -0
  44. package/.rpt2_cache/rpt2_02b50c05ca0c5f1826efd221b9443199179ac6f1/types/cache/4dffa8599530c3200ba2fa8029fa291435ba7cf7 +0 -0
  45. package/.rpt2_cache/rpt2_02b50c05ca0c5f1826efd221b9443199179ac6f1/types/cache/6a0bc58668c059b99bff8dba6f0246cb049f0db9 +0 -0
  46. package/.rpt2_cache/rpt2_02b50c05ca0c5f1826efd221b9443199179ac6f1/types/cache/7351d2ef4cb3d5388301a3ad1d1f7e3a0782c0bd +0 -0
  47. package/.rpt2_cache/rpt2_02b50c05ca0c5f1826efd221b9443199179ac6f1/types/cache/8d7296121e0007eebc1b0eabcfcc2a262d6bbc22 +0 -0
  48. package/.rpt2_cache/rpt2_02b50c05ca0c5f1826efd221b9443199179ac6f1/types/cache/8fe39fe93705cfe38c1944a307c3fd64e5985d1e +0 -0
  49. package/.rpt2_cache/rpt2_02b50c05ca0c5f1826efd221b9443199179ac6f1/types/cache/9f92f7bfd4bd0aa870a95101ec02f2a32337ff1f +0 -0
  50. package/.rpt2_cache/rpt2_02b50c05ca0c5f1826efd221b9443199179ac6f1/types/cache/a6e317ef3069e9a270811fbc729535be3c405f41 +0 -0
  51. package/.rpt2_cache/rpt2_02b50c05ca0c5f1826efd221b9443199179ac6f1/types/cache/ac8bef3228680d10f4db046facede43040f41854 +0 -0
  52. package/.rpt2_cache/rpt2_02b50c05ca0c5f1826efd221b9443199179ac6f1/types/cache/afe32918d3a600939f39f4fcfb6852fe43f8ada9 +0 -0
  53. package/.rpt2_cache/rpt2_02b50c05ca0c5f1826efd221b9443199179ac6f1/types/cache/bbe22fc71946abdfc667c2388606bfe83397ec81 +0 -0
  54. package/.rpt2_cache/rpt2_02b50c05ca0c5f1826efd221b9443199179ac6f1/types/cache/d7bc52f98e9a008b81c621d963e9d4a276c80ee3 +0 -0
  55. package/.rpt2_cache/rpt2_02b50c05ca0c5f1826efd221b9443199179ac6f1/types/cache/ddcd4d72185f8c85750f6f2f755c1152fddafdf4 +0 -0
  56. package/.rpt2_cache/rpt2_02b50c05ca0c5f1826efd221b9443199179ac6f1/types/cache/df632d4bb144fc3001f92ea2a2678baeb386dcc4 +0 -0
  57. package/.rpt2_cache/rpt2_3297a01a1b62f1695764463c584003ad1da34817/code/cache/0155dc333b076ed1526d900b68620ead8c8d8b6b +1 -0
  58. package/.rpt2_cache/rpt2_3297a01a1b62f1695764463c584003ad1da34817/code/cache/09a21931f2a982e751cd2b7ce45fa6df0bfdbfc6 +1 -0
  59. package/.rpt2_cache/rpt2_3297a01a1b62f1695764463c584003ad1da34817/code/cache/0bd8fcd9e5871476984908e9d214bc12244a56c7 +1 -0
  60. package/.rpt2_cache/rpt2_3297a01a1b62f1695764463c584003ad1da34817/code/cache/1c87a75f7bda91e438f008e21dafe531c949031d +1 -0
  61. package/.rpt2_cache/rpt2_3297a01a1b62f1695764463c584003ad1da34817/code/cache/4af634b56884c8fd08ba3107422b0108644ee513 +1 -0
  62. package/.rpt2_cache/rpt2_3297a01a1b62f1695764463c584003ad1da34817/code/cache/55ab809efdb0061fba3df7fa2029e2706a361534 +1 -0
  63. package/.rpt2_cache/rpt2_3297a01a1b62f1695764463c584003ad1da34817/code/cache/624184538e182d7e8888620f356c12b51bbcc6ca +1 -0
  64. package/.rpt2_cache/rpt2_3297a01a1b62f1695764463c584003ad1da34817/code/cache/67074a8d808b8e4a0c15d67f36f13664fcff8143 +1 -0
  65. package/.rpt2_cache/rpt2_3297a01a1b62f1695764463c584003ad1da34817/code/cache/6eb75399e6e0179b01b9d8cb1afc01f5068ef4f0 +1 -0
  66. package/.rpt2_cache/rpt2_3297a01a1b62f1695764463c584003ad1da34817/code/cache/7c0e3c33301dea7e674a558fac5e4f028dbaa3ad +1 -0
  67. package/.rpt2_cache/rpt2_3297a01a1b62f1695764463c584003ad1da34817/code/cache/934e86e88e5eef117e7f7c7e98bb7b13ee83e8af +1 -0
  68. package/.rpt2_cache/rpt2_3297a01a1b62f1695764463c584003ad1da34817/code/cache/a282f7f4f34b6e0f7604a1e31cac2d2efbc0304c +1 -0
  69. package/.rpt2_cache/rpt2_3297a01a1b62f1695764463c584003ad1da34817/code/cache/b1af8b4bca5d49b190d355a5d7186b277280db7e +1 -0
  70. package/.rpt2_cache/rpt2_3297a01a1b62f1695764463c584003ad1da34817/code/cache/b5f1f1702282c76ceff0f0ff97a3ba80b5adeccc +1 -0
  71. package/.rpt2_cache/rpt2_3297a01a1b62f1695764463c584003ad1da34817/code/cache/bcfb396489824911797b349d7388000f2b3a3298 +1 -0
  72. package/.rpt2_cache/rpt2_3297a01a1b62f1695764463c584003ad1da34817/code/cache/f2e98088f53c88114a0a5322154f96a639246440 +1 -0
  73. package/.rpt2_cache/rpt2_3297a01a1b62f1695764463c584003ad1da34817/code/cache/f385a84342a7d9131d8da13c2546cde25fa23f1d +1 -0
  74. package/.rpt2_cache/rpt2_3297a01a1b62f1695764463c584003ad1da34817/semanticDiagnostics/cache/0155dc333b076ed1526d900b68620ead8c8d8b6b +1 -0
  75. package/.rpt2_cache/rpt2_3297a01a1b62f1695764463c584003ad1da34817/semanticDiagnostics/cache/09a21931f2a982e751cd2b7ce45fa6df0bfdbfc6 +1 -0
  76. package/.rpt2_cache/rpt2_3297a01a1b62f1695764463c584003ad1da34817/semanticDiagnostics/cache/0bd8fcd9e5871476984908e9d214bc12244a56c7 +1 -0
  77. package/.rpt2_cache/rpt2_3297a01a1b62f1695764463c584003ad1da34817/semanticDiagnostics/cache/1c87a75f7bda91e438f008e21dafe531c949031d +1 -0
  78. package/.rpt2_cache/rpt2_3297a01a1b62f1695764463c584003ad1da34817/semanticDiagnostics/cache/4af634b56884c8fd08ba3107422b0108644ee513 +1 -0
  79. package/.rpt2_cache/rpt2_3297a01a1b62f1695764463c584003ad1da34817/semanticDiagnostics/cache/55ab809efdb0061fba3df7fa2029e2706a361534 +1 -0
  80. package/.rpt2_cache/rpt2_3297a01a1b62f1695764463c584003ad1da34817/semanticDiagnostics/cache/624184538e182d7e8888620f356c12b51bbcc6ca +1 -0
  81. package/.rpt2_cache/rpt2_3297a01a1b62f1695764463c584003ad1da34817/semanticDiagnostics/cache/67074a8d808b8e4a0c15d67f36f13664fcff8143 +1 -0
  82. package/.rpt2_cache/rpt2_3297a01a1b62f1695764463c584003ad1da34817/semanticDiagnostics/cache/6eb75399e6e0179b01b9d8cb1afc01f5068ef4f0 +1 -0
  83. package/.rpt2_cache/rpt2_3297a01a1b62f1695764463c584003ad1da34817/semanticDiagnostics/cache/7c0e3c33301dea7e674a558fac5e4f028dbaa3ad +1 -0
  84. package/.rpt2_cache/rpt2_3297a01a1b62f1695764463c584003ad1da34817/semanticDiagnostics/cache/934e86e88e5eef117e7f7c7e98bb7b13ee83e8af +1 -0
  85. package/.rpt2_cache/rpt2_3297a01a1b62f1695764463c584003ad1da34817/semanticDiagnostics/cache/a282f7f4f34b6e0f7604a1e31cac2d2efbc0304c +1 -0
  86. package/.rpt2_cache/rpt2_3297a01a1b62f1695764463c584003ad1da34817/semanticDiagnostics/cache/b1af8b4bca5d49b190d355a5d7186b277280db7e +1 -0
  87. package/.rpt2_cache/rpt2_3297a01a1b62f1695764463c584003ad1da34817/semanticDiagnostics/cache/b5f1f1702282c76ceff0f0ff97a3ba80b5adeccc +1 -0
  88. package/.rpt2_cache/rpt2_3297a01a1b62f1695764463c584003ad1da34817/semanticDiagnostics/cache/bcfb396489824911797b349d7388000f2b3a3298 +1 -0
  89. package/.rpt2_cache/rpt2_3297a01a1b62f1695764463c584003ad1da34817/semanticDiagnostics/cache/f2e98088f53c88114a0a5322154f96a639246440 +1 -0
  90. package/.rpt2_cache/rpt2_3297a01a1b62f1695764463c584003ad1da34817/semanticDiagnostics/cache/f385a84342a7d9131d8da13c2546cde25fa23f1d +1 -0
  91. package/.rpt2_cache/rpt2_3297a01a1b62f1695764463c584003ad1da34817/syntacticDiagnostics/cache/0155dc333b076ed1526d900b68620ead8c8d8b6b +1 -0
  92. package/.rpt2_cache/rpt2_3297a01a1b62f1695764463c584003ad1da34817/syntacticDiagnostics/cache/09a21931f2a982e751cd2b7ce45fa6df0bfdbfc6 +1 -0
  93. package/.rpt2_cache/rpt2_3297a01a1b62f1695764463c584003ad1da34817/syntacticDiagnostics/cache/0bd8fcd9e5871476984908e9d214bc12244a56c7 +1 -0
  94. package/.rpt2_cache/rpt2_3297a01a1b62f1695764463c584003ad1da34817/syntacticDiagnostics/cache/1c87a75f7bda91e438f008e21dafe531c949031d +1 -0
  95. package/.rpt2_cache/rpt2_3297a01a1b62f1695764463c584003ad1da34817/syntacticDiagnostics/cache/4af634b56884c8fd08ba3107422b0108644ee513 +1 -0
  96. package/.rpt2_cache/rpt2_3297a01a1b62f1695764463c584003ad1da34817/syntacticDiagnostics/cache/55ab809efdb0061fba3df7fa2029e2706a361534 +1 -0
  97. package/.rpt2_cache/rpt2_3297a01a1b62f1695764463c584003ad1da34817/syntacticDiagnostics/cache/624184538e182d7e8888620f356c12b51bbcc6ca +1 -0
  98. package/.rpt2_cache/rpt2_3297a01a1b62f1695764463c584003ad1da34817/syntacticDiagnostics/cache/67074a8d808b8e4a0c15d67f36f13664fcff8143 +1 -0
  99. package/.rpt2_cache/rpt2_3297a01a1b62f1695764463c584003ad1da34817/syntacticDiagnostics/cache/6eb75399e6e0179b01b9d8cb1afc01f5068ef4f0 +1 -0
  100. package/.rpt2_cache/rpt2_3297a01a1b62f1695764463c584003ad1da34817/syntacticDiagnostics/cache/7c0e3c33301dea7e674a558fac5e4f028dbaa3ad +1 -0
  101. package/.rpt2_cache/rpt2_3297a01a1b62f1695764463c584003ad1da34817/syntacticDiagnostics/cache/934e86e88e5eef117e7f7c7e98bb7b13ee83e8af +1 -0
  102. package/.rpt2_cache/rpt2_3297a01a1b62f1695764463c584003ad1da34817/syntacticDiagnostics/cache/a282f7f4f34b6e0f7604a1e31cac2d2efbc0304c +1 -0
  103. package/.rpt2_cache/rpt2_3297a01a1b62f1695764463c584003ad1da34817/syntacticDiagnostics/cache/b1af8b4bca5d49b190d355a5d7186b277280db7e +1 -0
  104. package/.rpt2_cache/rpt2_3297a01a1b62f1695764463c584003ad1da34817/syntacticDiagnostics/cache/b5f1f1702282c76ceff0f0ff97a3ba80b5adeccc +1 -0
  105. package/.rpt2_cache/rpt2_3297a01a1b62f1695764463c584003ad1da34817/syntacticDiagnostics/cache/bcfb396489824911797b349d7388000f2b3a3298 +1 -0
  106. package/.rpt2_cache/rpt2_3297a01a1b62f1695764463c584003ad1da34817/syntacticDiagnostics/cache/f2e98088f53c88114a0a5322154f96a639246440 +1 -0
  107. package/.rpt2_cache/rpt2_3297a01a1b62f1695764463c584003ad1da34817/syntacticDiagnostics/cache/f385a84342a7d9131d8da13c2546cde25fa23f1d +1 -0
  108. package/.rpt2_cache/rpt2_3297a01a1b62f1695764463c584003ad1da34817/types/cache/24fbc0427075baf3ac3fee2ada4ddd2fdd6804a6 +0 -0
  109. package/.rpt2_cache/rpt2_3297a01a1b62f1695764463c584003ad1da34817/types/cache/3050043c8485297b366404c9b699f00a98a44b3c +0 -0
  110. package/.rpt2_cache/rpt2_3297a01a1b62f1695764463c584003ad1da34817/types/cache/4dffa8599530c3200ba2fa8029fa291435ba7cf7 +0 -0
  111. package/.rpt2_cache/rpt2_3297a01a1b62f1695764463c584003ad1da34817/types/cache/603166e7191a1eb2b59e6dc3a0c5060e83e42bf5 +0 -0
  112. package/.rpt2_cache/rpt2_3297a01a1b62f1695764463c584003ad1da34817/types/cache/6a0bc58668c059b99bff8dba6f0246cb049f0db9 +0 -0
  113. package/.rpt2_cache/rpt2_3297a01a1b62f1695764463c584003ad1da34817/types/cache/7351d2ef4cb3d5388301a3ad1d1f7e3a0782c0bd +0 -0
  114. package/.rpt2_cache/rpt2_3297a01a1b62f1695764463c584003ad1da34817/types/cache/8d7296121e0007eebc1b0eabcfcc2a262d6bbc22 +0 -0
  115. package/.rpt2_cache/rpt2_3297a01a1b62f1695764463c584003ad1da34817/types/cache/8fe39fe93705cfe38c1944a307c3fd64e5985d1e +0 -0
  116. package/.rpt2_cache/rpt2_3297a01a1b62f1695764463c584003ad1da34817/types/cache/9f92f7bfd4bd0aa870a95101ec02f2a32337ff1f +0 -0
  117. package/.rpt2_cache/rpt2_3297a01a1b62f1695764463c584003ad1da34817/types/cache/a6e317ef3069e9a270811fbc729535be3c405f41 +0 -0
  118. package/.rpt2_cache/rpt2_3297a01a1b62f1695764463c584003ad1da34817/types/cache/ac8bef3228680d10f4db046facede43040f41854 +0 -0
  119. package/.rpt2_cache/rpt2_3297a01a1b62f1695764463c584003ad1da34817/types/cache/afe32918d3a600939f39f4fcfb6852fe43f8ada9 +0 -0
  120. package/.rpt2_cache/rpt2_3297a01a1b62f1695764463c584003ad1da34817/types/cache/bbe22fc71946abdfc667c2388606bfe83397ec81 +0 -0
  121. package/.rpt2_cache/rpt2_3297a01a1b62f1695764463c584003ad1da34817/types/cache/d7bc52f98e9a008b81c621d963e9d4a276c80ee3 +0 -0
  122. package/.rpt2_cache/rpt2_3297a01a1b62f1695764463c584003ad1da34817/types/cache/ddcd4d72185f8c85750f6f2f755c1152fddafdf4 +0 -0
  123. package/.rpt2_cache/rpt2_3297a01a1b62f1695764463c584003ad1da34817/types/cache/df632d4bb144fc3001f92ea2a2678baeb386dcc4 +0 -0
  124. package/.rpt2_cache/rpt2_695cfcfdb8ad5fdc842bebc6c6523fff84b97236/code/cache/09a21931f2a982e751cd2b7ce45fa6df0bfdbfc6 +1 -0
  125. package/.rpt2_cache/rpt2_695cfcfdb8ad5fdc842bebc6c6523fff84b97236/code/cache/1c87a75f7bda91e438f008e21dafe531c949031d +1 -0
  126. package/.rpt2_cache/rpt2_695cfcfdb8ad5fdc842bebc6c6523fff84b97236/code/cache/55ab809efdb0061fba3df7fa2029e2706a361534 +1 -0
  127. package/.rpt2_cache/rpt2_695cfcfdb8ad5fdc842bebc6c6523fff84b97236/code/cache/5e18f43a9b613f6f6f2302b3a4e5176f6bc92fc5 +1 -0
  128. package/.rpt2_cache/rpt2_695cfcfdb8ad5fdc842bebc6c6523fff84b97236/code/cache/624184538e182d7e8888620f356c12b51bbcc6ca +1 -0
  129. package/.rpt2_cache/rpt2_695cfcfdb8ad5fdc842bebc6c6523fff84b97236/code/cache/6eb75399e6e0179b01b9d8cb1afc01f5068ef4f0 +1 -0
  130. package/.rpt2_cache/rpt2_695cfcfdb8ad5fdc842bebc6c6523fff84b97236/code/cache/7c0e3c33301dea7e674a558fac5e4f028dbaa3ad +1 -0
  131. package/.rpt2_cache/rpt2_695cfcfdb8ad5fdc842bebc6c6523fff84b97236/code/cache/7fbbd271f2a6fe2a55d7ee5e3ad7716e7cf051ba +1 -0
  132. package/.rpt2_cache/rpt2_695cfcfdb8ad5fdc842bebc6c6523fff84b97236/code/cache/8378bbd69de2cb8546f7e5f380a4ca34a2b252ac +1 -0
  133. package/.rpt2_cache/rpt2_695cfcfdb8ad5fdc842bebc6c6523fff84b97236/code/cache/85bbe002887f4018a0fe647b8b05194dbc048f66 +1 -0
  134. package/.rpt2_cache/rpt2_695cfcfdb8ad5fdc842bebc6c6523fff84b97236/code/cache/8f851753b53908ad3f972c31696dbdeeed9b4661 +1 -0
  135. package/.rpt2_cache/rpt2_695cfcfdb8ad5fdc842bebc6c6523fff84b97236/code/cache/b5f1f1702282c76ceff0f0ff97a3ba80b5adeccc +1 -0
  136. package/.rpt2_cache/rpt2_695cfcfdb8ad5fdc842bebc6c6523fff84b97236/code/cache/bcfb396489824911797b349d7388000f2b3a3298 +1 -0
  137. package/.rpt2_cache/rpt2_695cfcfdb8ad5fdc842bebc6c6523fff84b97236/code/cache/dc4d6f4549ac6f4017ff017e35d2349480068cdf +1 -0
  138. package/.rpt2_cache/rpt2_695cfcfdb8ad5fdc842bebc6c6523fff84b97236/code/cache/e4d5be0687b96b93a032d9922fa511f04ed27deb +1 -0
  139. package/.rpt2_cache/rpt2_695cfcfdb8ad5fdc842bebc6c6523fff84b97236/code/cache/f2e98088f53c88114a0a5322154f96a639246440 +1 -0
  140. package/.rpt2_cache/rpt2_695cfcfdb8ad5fdc842bebc6c6523fff84b97236/code/cache/f385a84342a7d9131d8da13c2546cde25fa23f1d +1 -0
  141. package/.rpt2_cache/rpt2_695cfcfdb8ad5fdc842bebc6c6523fff84b97236/semanticDiagnostics/cache/09a21931f2a982e751cd2b7ce45fa6df0bfdbfc6 +1 -0
  142. package/.rpt2_cache/rpt2_695cfcfdb8ad5fdc842bebc6c6523fff84b97236/semanticDiagnostics/cache/1c87a75f7bda91e438f008e21dafe531c949031d +1 -0
  143. package/.rpt2_cache/rpt2_695cfcfdb8ad5fdc842bebc6c6523fff84b97236/semanticDiagnostics/cache/55ab809efdb0061fba3df7fa2029e2706a361534 +1 -0
  144. package/.rpt2_cache/rpt2_695cfcfdb8ad5fdc842bebc6c6523fff84b97236/semanticDiagnostics/cache/5e18f43a9b613f6f6f2302b3a4e5176f6bc92fc5 +1 -0
  145. package/.rpt2_cache/rpt2_695cfcfdb8ad5fdc842bebc6c6523fff84b97236/semanticDiagnostics/cache/624184538e182d7e8888620f356c12b51bbcc6ca +1 -0
  146. package/.rpt2_cache/rpt2_695cfcfdb8ad5fdc842bebc6c6523fff84b97236/semanticDiagnostics/cache/6eb75399e6e0179b01b9d8cb1afc01f5068ef4f0 +1 -0
  147. package/.rpt2_cache/rpt2_695cfcfdb8ad5fdc842bebc6c6523fff84b97236/semanticDiagnostics/cache/7c0e3c33301dea7e674a558fac5e4f028dbaa3ad +1 -0
  148. package/.rpt2_cache/rpt2_695cfcfdb8ad5fdc842bebc6c6523fff84b97236/semanticDiagnostics/cache/7fbbd271f2a6fe2a55d7ee5e3ad7716e7cf051ba +1 -0
  149. package/.rpt2_cache/rpt2_695cfcfdb8ad5fdc842bebc6c6523fff84b97236/semanticDiagnostics/cache/8378bbd69de2cb8546f7e5f380a4ca34a2b252ac +1 -0
  150. package/.rpt2_cache/rpt2_695cfcfdb8ad5fdc842bebc6c6523fff84b97236/semanticDiagnostics/cache/85bbe002887f4018a0fe647b8b05194dbc048f66 +1 -0
  151. package/.rpt2_cache/rpt2_695cfcfdb8ad5fdc842bebc6c6523fff84b97236/semanticDiagnostics/cache/8f851753b53908ad3f972c31696dbdeeed9b4661 +1 -0
  152. package/.rpt2_cache/rpt2_695cfcfdb8ad5fdc842bebc6c6523fff84b97236/semanticDiagnostics/cache/b5f1f1702282c76ceff0f0ff97a3ba80b5adeccc +1 -0
  153. package/.rpt2_cache/rpt2_695cfcfdb8ad5fdc842bebc6c6523fff84b97236/semanticDiagnostics/cache/bcfb396489824911797b349d7388000f2b3a3298 +1 -0
  154. package/.rpt2_cache/rpt2_695cfcfdb8ad5fdc842bebc6c6523fff84b97236/semanticDiagnostics/cache/dc4d6f4549ac6f4017ff017e35d2349480068cdf +1 -0
  155. package/.rpt2_cache/rpt2_695cfcfdb8ad5fdc842bebc6c6523fff84b97236/semanticDiagnostics/cache/e4d5be0687b96b93a032d9922fa511f04ed27deb +1 -0
  156. package/.rpt2_cache/rpt2_695cfcfdb8ad5fdc842bebc6c6523fff84b97236/semanticDiagnostics/cache/f2e98088f53c88114a0a5322154f96a639246440 +1 -0
  157. package/.rpt2_cache/rpt2_695cfcfdb8ad5fdc842bebc6c6523fff84b97236/semanticDiagnostics/cache/f385a84342a7d9131d8da13c2546cde25fa23f1d +1 -0
  158. package/.rpt2_cache/rpt2_695cfcfdb8ad5fdc842bebc6c6523fff84b97236/syntacticDiagnostics/cache/09a21931f2a982e751cd2b7ce45fa6df0bfdbfc6 +1 -0
  159. package/.rpt2_cache/rpt2_695cfcfdb8ad5fdc842bebc6c6523fff84b97236/syntacticDiagnostics/cache/1c87a75f7bda91e438f008e21dafe531c949031d +1 -0
  160. package/.rpt2_cache/rpt2_695cfcfdb8ad5fdc842bebc6c6523fff84b97236/syntacticDiagnostics/cache/55ab809efdb0061fba3df7fa2029e2706a361534 +1 -0
  161. package/.rpt2_cache/rpt2_695cfcfdb8ad5fdc842bebc6c6523fff84b97236/syntacticDiagnostics/cache/5e18f43a9b613f6f6f2302b3a4e5176f6bc92fc5 +1 -0
  162. package/.rpt2_cache/rpt2_695cfcfdb8ad5fdc842bebc6c6523fff84b97236/syntacticDiagnostics/cache/624184538e182d7e8888620f356c12b51bbcc6ca +1 -0
  163. package/.rpt2_cache/rpt2_695cfcfdb8ad5fdc842bebc6c6523fff84b97236/syntacticDiagnostics/cache/6eb75399e6e0179b01b9d8cb1afc01f5068ef4f0 +1 -0
  164. package/.rpt2_cache/rpt2_695cfcfdb8ad5fdc842bebc6c6523fff84b97236/syntacticDiagnostics/cache/7c0e3c33301dea7e674a558fac5e4f028dbaa3ad +1 -0
  165. package/.rpt2_cache/rpt2_695cfcfdb8ad5fdc842bebc6c6523fff84b97236/syntacticDiagnostics/cache/7fbbd271f2a6fe2a55d7ee5e3ad7716e7cf051ba +1 -0
  166. package/.rpt2_cache/rpt2_695cfcfdb8ad5fdc842bebc6c6523fff84b97236/syntacticDiagnostics/cache/8378bbd69de2cb8546f7e5f380a4ca34a2b252ac +1 -0
  167. package/.rpt2_cache/rpt2_695cfcfdb8ad5fdc842bebc6c6523fff84b97236/syntacticDiagnostics/cache/85bbe002887f4018a0fe647b8b05194dbc048f66 +1 -0
  168. package/.rpt2_cache/rpt2_695cfcfdb8ad5fdc842bebc6c6523fff84b97236/syntacticDiagnostics/cache/8f851753b53908ad3f972c31696dbdeeed9b4661 +1 -0
  169. package/.rpt2_cache/rpt2_695cfcfdb8ad5fdc842bebc6c6523fff84b97236/syntacticDiagnostics/cache/b5f1f1702282c76ceff0f0ff97a3ba80b5adeccc +1 -0
  170. package/.rpt2_cache/rpt2_695cfcfdb8ad5fdc842bebc6c6523fff84b97236/syntacticDiagnostics/cache/bcfb396489824911797b349d7388000f2b3a3298 +1 -0
  171. package/.rpt2_cache/rpt2_695cfcfdb8ad5fdc842bebc6c6523fff84b97236/syntacticDiagnostics/cache/dc4d6f4549ac6f4017ff017e35d2349480068cdf +1 -0
  172. package/.rpt2_cache/rpt2_695cfcfdb8ad5fdc842bebc6c6523fff84b97236/syntacticDiagnostics/cache/e4d5be0687b96b93a032d9922fa511f04ed27deb +1 -0
  173. package/.rpt2_cache/rpt2_695cfcfdb8ad5fdc842bebc6c6523fff84b97236/syntacticDiagnostics/cache/f2e98088f53c88114a0a5322154f96a639246440 +1 -0
  174. package/.rpt2_cache/rpt2_695cfcfdb8ad5fdc842bebc6c6523fff84b97236/syntacticDiagnostics/cache/f385a84342a7d9131d8da13c2546cde25fa23f1d +1 -0
  175. package/.rpt2_cache/rpt2_695cfcfdb8ad5fdc842bebc6c6523fff84b97236/types/cache/24fbc0427075baf3ac3fee2ada4ddd2fdd6804a6 +0 -0
  176. package/.rpt2_cache/rpt2_695cfcfdb8ad5fdc842bebc6c6523fff84b97236/types/cache/3050043c8485297b366404c9b699f00a98a44b3c +0 -0
  177. package/.rpt2_cache/rpt2_695cfcfdb8ad5fdc842bebc6c6523fff84b97236/types/cache/4dffa8599530c3200ba2fa8029fa291435ba7cf7 +0 -0
  178. package/.rpt2_cache/rpt2_695cfcfdb8ad5fdc842bebc6c6523fff84b97236/types/cache/6a0bc58668c059b99bff8dba6f0246cb049f0db9 +0 -0
  179. package/.rpt2_cache/rpt2_695cfcfdb8ad5fdc842bebc6c6523fff84b97236/types/cache/7351d2ef4cb3d5388301a3ad1d1f7e3a0782c0bd +0 -0
  180. package/.rpt2_cache/rpt2_695cfcfdb8ad5fdc842bebc6c6523fff84b97236/types/cache/8d7296121e0007eebc1b0eabcfcc2a262d6bbc22 +0 -0
  181. package/.rpt2_cache/rpt2_695cfcfdb8ad5fdc842bebc6c6523fff84b97236/types/cache/8fe39fe93705cfe38c1944a307c3fd64e5985d1e +0 -0
  182. package/.rpt2_cache/rpt2_695cfcfdb8ad5fdc842bebc6c6523fff84b97236/types/cache/9f92f7bfd4bd0aa870a95101ec02f2a32337ff1f +0 -0
  183. package/.rpt2_cache/rpt2_695cfcfdb8ad5fdc842bebc6c6523fff84b97236/types/cache/a6e317ef3069e9a270811fbc729535be3c405f41 +0 -0
  184. package/.rpt2_cache/rpt2_695cfcfdb8ad5fdc842bebc6c6523fff84b97236/types/cache/ac8bef3228680d10f4db046facede43040f41854 +0 -0
  185. package/.rpt2_cache/rpt2_695cfcfdb8ad5fdc842bebc6c6523fff84b97236/types/cache/afe32918d3a600939f39f4fcfb6852fe43f8ada9 +0 -0
  186. package/.rpt2_cache/rpt2_695cfcfdb8ad5fdc842bebc6c6523fff84b97236/types/cache/bbe22fc71946abdfc667c2388606bfe83397ec81 +0 -0
  187. package/.rpt2_cache/rpt2_695cfcfdb8ad5fdc842bebc6c6523fff84b97236/types/cache/d7bc52f98e9a008b81c621d963e9d4a276c80ee3 +0 -0
  188. package/.rpt2_cache/rpt2_695cfcfdb8ad5fdc842bebc6c6523fff84b97236/types/cache/ddcd4d72185f8c85750f6f2f755c1152fddafdf4 +0 -0
  189. package/.rpt2_cache/rpt2_695cfcfdb8ad5fdc842bebc6c6523fff84b97236/types/cache/df632d4bb144fc3001f92ea2a2678baeb386dcc4 +0 -0
  190. package/.rpt2_cache/rpt2_91c74d821d2604d85061209debacd53e1a896747/code/cache/0155dc333b076ed1526d900b68620ead8c8d8b6b +1 -0
  191. package/.rpt2_cache/rpt2_91c74d821d2604d85061209debacd53e1a896747/code/cache/0bd8fcd9e5871476984908e9d214bc12244a56c7 +1 -0
  192. package/.rpt2_cache/rpt2_91c74d821d2604d85061209debacd53e1a896747/code/cache/1c87a75f7bda91e438f008e21dafe531c949031d +1 -0
  193. package/.rpt2_cache/rpt2_91c74d821d2604d85061209debacd53e1a896747/code/cache/4af634b56884c8fd08ba3107422b0108644ee513 +1 -0
  194. package/.rpt2_cache/rpt2_91c74d821d2604d85061209debacd53e1a896747/code/cache/55ab809efdb0061fba3df7fa2029e2706a361534 +1 -0
  195. package/.rpt2_cache/rpt2_91c74d821d2604d85061209debacd53e1a896747/code/cache/61937b699b545d77d9bb72af5e7182c1803ae24c +1 -0
  196. package/.rpt2_cache/rpt2_91c74d821d2604d85061209debacd53e1a896747/code/cache/651b0423c46988097da560167e3f6f432e8fbfc8 +1 -0
  197. package/.rpt2_cache/rpt2_91c74d821d2604d85061209debacd53e1a896747/code/cache/67074a8d808b8e4a0c15d67f36f13664fcff8143 +1 -0
  198. package/.rpt2_cache/rpt2_91c74d821d2604d85061209debacd53e1a896747/code/cache/6eb75399e6e0179b01b9d8cb1afc01f5068ef4f0 +1 -0
  199. package/.rpt2_cache/rpt2_91c74d821d2604d85061209debacd53e1a896747/code/cache/7c0e3c33301dea7e674a558fac5e4f028dbaa3ad +1 -0
  200. package/.rpt2_cache/rpt2_91c74d821d2604d85061209debacd53e1a896747/code/cache/934e86e88e5eef117e7f7c7e98bb7b13ee83e8af +1 -0
  201. package/.rpt2_cache/rpt2_91c74d821d2604d85061209debacd53e1a896747/code/cache/b1af8b4bca5d49b190d355a5d7186b277280db7e +1 -0
  202. package/.rpt2_cache/rpt2_91c74d821d2604d85061209debacd53e1a896747/code/cache/f385a84342a7d9131d8da13c2546cde25fa23f1d +1 -0
  203. package/.rpt2_cache/rpt2_91c74d821d2604d85061209debacd53e1a896747/semanticDiagnostics/cache/0155dc333b076ed1526d900b68620ead8c8d8b6b +1 -0
  204. package/.rpt2_cache/rpt2_91c74d821d2604d85061209debacd53e1a896747/semanticDiagnostics/cache/0bd8fcd9e5871476984908e9d214bc12244a56c7 +1 -0
  205. package/.rpt2_cache/rpt2_91c74d821d2604d85061209debacd53e1a896747/semanticDiagnostics/cache/1c87a75f7bda91e438f008e21dafe531c949031d +1 -0
  206. package/.rpt2_cache/rpt2_91c74d821d2604d85061209debacd53e1a896747/semanticDiagnostics/cache/4af634b56884c8fd08ba3107422b0108644ee513 +1 -0
  207. package/.rpt2_cache/rpt2_91c74d821d2604d85061209debacd53e1a896747/semanticDiagnostics/cache/55ab809efdb0061fba3df7fa2029e2706a361534 +1 -0
  208. package/.rpt2_cache/rpt2_91c74d821d2604d85061209debacd53e1a896747/semanticDiagnostics/cache/61937b699b545d77d9bb72af5e7182c1803ae24c +1 -0
  209. package/.rpt2_cache/rpt2_91c74d821d2604d85061209debacd53e1a896747/semanticDiagnostics/cache/651b0423c46988097da560167e3f6f432e8fbfc8 +1 -0
  210. package/.rpt2_cache/rpt2_91c74d821d2604d85061209debacd53e1a896747/semanticDiagnostics/cache/67074a8d808b8e4a0c15d67f36f13664fcff8143 +1 -0
  211. package/.rpt2_cache/rpt2_91c74d821d2604d85061209debacd53e1a896747/semanticDiagnostics/cache/6eb75399e6e0179b01b9d8cb1afc01f5068ef4f0 +1 -0
  212. package/.rpt2_cache/rpt2_91c74d821d2604d85061209debacd53e1a896747/semanticDiagnostics/cache/7c0e3c33301dea7e674a558fac5e4f028dbaa3ad +1 -0
  213. package/.rpt2_cache/rpt2_91c74d821d2604d85061209debacd53e1a896747/semanticDiagnostics/cache/934e86e88e5eef117e7f7c7e98bb7b13ee83e8af +1 -0
  214. package/.rpt2_cache/rpt2_91c74d821d2604d85061209debacd53e1a896747/semanticDiagnostics/cache/b1af8b4bca5d49b190d355a5d7186b277280db7e +1 -0
  215. package/.rpt2_cache/rpt2_91c74d821d2604d85061209debacd53e1a896747/semanticDiagnostics/cache/f385a84342a7d9131d8da13c2546cde25fa23f1d +1 -0
  216. package/.rpt2_cache/rpt2_91c74d821d2604d85061209debacd53e1a896747/syntacticDiagnostics/cache/0155dc333b076ed1526d900b68620ead8c8d8b6b +1 -0
  217. package/.rpt2_cache/rpt2_91c74d821d2604d85061209debacd53e1a896747/syntacticDiagnostics/cache/0bd8fcd9e5871476984908e9d214bc12244a56c7 +1 -0
  218. package/.rpt2_cache/rpt2_91c74d821d2604d85061209debacd53e1a896747/syntacticDiagnostics/cache/1c87a75f7bda91e438f008e21dafe531c949031d +1 -0
  219. package/.rpt2_cache/rpt2_91c74d821d2604d85061209debacd53e1a896747/syntacticDiagnostics/cache/4af634b56884c8fd08ba3107422b0108644ee513 +1 -0
  220. package/.rpt2_cache/rpt2_91c74d821d2604d85061209debacd53e1a896747/syntacticDiagnostics/cache/55ab809efdb0061fba3df7fa2029e2706a361534 +1 -0
  221. package/.rpt2_cache/rpt2_91c74d821d2604d85061209debacd53e1a896747/syntacticDiagnostics/cache/61937b699b545d77d9bb72af5e7182c1803ae24c +1 -0
  222. package/.rpt2_cache/rpt2_91c74d821d2604d85061209debacd53e1a896747/syntacticDiagnostics/cache/651b0423c46988097da560167e3f6f432e8fbfc8 +1 -0
  223. package/.rpt2_cache/rpt2_91c74d821d2604d85061209debacd53e1a896747/syntacticDiagnostics/cache/67074a8d808b8e4a0c15d67f36f13664fcff8143 +1 -0
  224. package/.rpt2_cache/rpt2_91c74d821d2604d85061209debacd53e1a896747/syntacticDiagnostics/cache/6eb75399e6e0179b01b9d8cb1afc01f5068ef4f0 +1 -0
  225. package/.rpt2_cache/rpt2_91c74d821d2604d85061209debacd53e1a896747/syntacticDiagnostics/cache/7c0e3c33301dea7e674a558fac5e4f028dbaa3ad +1 -0
  226. package/.rpt2_cache/rpt2_91c74d821d2604d85061209debacd53e1a896747/syntacticDiagnostics/cache/934e86e88e5eef117e7f7c7e98bb7b13ee83e8af +1 -0
  227. package/.rpt2_cache/rpt2_91c74d821d2604d85061209debacd53e1a896747/syntacticDiagnostics/cache/b1af8b4bca5d49b190d355a5d7186b277280db7e +1 -0
  228. package/.rpt2_cache/rpt2_91c74d821d2604d85061209debacd53e1a896747/syntacticDiagnostics/cache/f385a84342a7d9131d8da13c2546cde25fa23f1d +1 -0
  229. package/.rpt2_cache/rpt2_91c74d821d2604d85061209debacd53e1a896747/types/cache/24fbc0427075baf3ac3fee2ada4ddd2fdd6804a6 +0 -0
  230. package/.rpt2_cache/rpt2_91c74d821d2604d85061209debacd53e1a896747/types/cache/3050043c8485297b366404c9b699f00a98a44b3c +0 -0
  231. package/.rpt2_cache/rpt2_91c74d821d2604d85061209debacd53e1a896747/types/cache/4dffa8599530c3200ba2fa8029fa291435ba7cf7 +0 -0
  232. package/.rpt2_cache/rpt2_91c74d821d2604d85061209debacd53e1a896747/types/cache/603166e7191a1eb2b59e6dc3a0c5060e83e42bf5 +0 -0
  233. package/.rpt2_cache/rpt2_91c74d821d2604d85061209debacd53e1a896747/types/cache/6a0bc58668c059b99bff8dba6f0246cb049f0db9 +0 -0
  234. package/.rpt2_cache/rpt2_91c74d821d2604d85061209debacd53e1a896747/types/cache/7351d2ef4cb3d5388301a3ad1d1f7e3a0782c0bd +0 -0
  235. package/.rpt2_cache/rpt2_91c74d821d2604d85061209debacd53e1a896747/types/cache/8d7296121e0007eebc1b0eabcfcc2a262d6bbc22 +0 -0
  236. package/.rpt2_cache/rpt2_91c74d821d2604d85061209debacd53e1a896747/types/cache/8fe39fe93705cfe38c1944a307c3fd64e5985d1e +0 -0
  237. package/.rpt2_cache/rpt2_91c74d821d2604d85061209debacd53e1a896747/types/cache/9f92f7bfd4bd0aa870a95101ec02f2a32337ff1f +0 -0
  238. package/.rpt2_cache/rpt2_91c74d821d2604d85061209debacd53e1a896747/types/cache/a6e317ef3069e9a270811fbc729535be3c405f41 +0 -0
  239. package/.rpt2_cache/rpt2_91c74d821d2604d85061209debacd53e1a896747/types/cache/ac8bef3228680d10f4db046facede43040f41854 +0 -0
  240. package/.rpt2_cache/rpt2_91c74d821d2604d85061209debacd53e1a896747/types/cache/afe32918d3a600939f39f4fcfb6852fe43f8ada9 +0 -0
  241. package/.rpt2_cache/rpt2_91c74d821d2604d85061209debacd53e1a896747/types/cache/bbe22fc71946abdfc667c2388606bfe83397ec81 +0 -0
  242. package/.rpt2_cache/rpt2_91c74d821d2604d85061209debacd53e1a896747/types/cache/d7bc52f98e9a008b81c621d963e9d4a276c80ee3 +0 -0
  243. package/.rpt2_cache/rpt2_91c74d821d2604d85061209debacd53e1a896747/types/cache/ddcd4d72185f8c85750f6f2f755c1152fddafdf4 +0 -0
  244. package/.rpt2_cache/rpt2_91c74d821d2604d85061209debacd53e1a896747/types/cache/df632d4bb144fc3001f92ea2a2678baeb386dcc4 +0 -0
  245. package/babel.config.js +6 -0
  246. package/package.json +7 -10
  247. package/rollup.config.js +50 -0
  248. package/scripts/cleanDistFolder.js +9 -0
  249. package/src/__tests__/utils.test.js +13 -0
  250. package/src/auth.ts +1514 -0
  251. package/src/browser/asn1hex.ts +296 -0
  252. package/src/browser/index.ts +17 -0
  253. package/src/browser/jsbn.ts +1213 -0
  254. package/src/browser/platform.ts +434 -0
  255. package/src/browser/rng.ts +15 -0
  256. package/src/browser/rsa.ts +262 -0
  257. package/src/commands.ts +1378 -0
  258. package/src/company.ts +244 -0
  259. package/src/configuration.ts +125 -0
  260. package/src/endpoint.ts +350 -0
  261. package/src/node/index.ts +17 -0
  262. package/src/node/platform.ts +283 -0
  263. package/src/platform.ts +76 -0
  264. package/src/proto.d.ts +50992 -0
  265. package/src/proto.js +136564 -0
  266. package/src/restMessages.ts +311 -0
  267. package/src/utils.ts +169 -0
  268. package/src/vault.ts +844 -0
  269. package/src/vendorContext.ts +69 -0
  270. package/src/vendorModel.ts +36 -0
  271. package/tsconfig.json +14 -0
  272. package/tsconfig.rollup.json +14 -0
@@ -0,0 +1 @@
1
+ {"code":"import { AccountSummary, Authentication, BreachWatch, Automator, Enterprise, Records, ServiceLogger, SsoCloud } from './proto';\r\nfunction createMessage(data, path, encoder, decoder) {\r\n return {\r\n path: path,\r\n toBytes() {\r\n return encoder ? encoder.encode(data).finish() : null;\r\n },\r\n fromBytes(data) {\r\n return decoder.decode(data);\r\n }\r\n };\r\n}\r\n// new login\r\nexport const registerDeviceMessage = (data) => createMessage(data, 'authentication/register_device', Authentication.DeviceRegistrationRequest, Authentication.Device);\r\nexport const registerDeviceInRegionMessage = (data) => createMessage(data, 'authentication/register_device_in_region', Authentication.RegisterDeviceInRegionRequest, null);\r\nexport const updateDeviceMessage = (data) => createMessage(data, 'authentication/update_device', Authentication.DeviceUpdateRequest, null);\r\nexport const requestDeviceVerificationMessage = (data) => createMessage(data, 'authentication/request_device_verification', Authentication.DeviceVerificationRequest, null);\r\nexport const requestCreateUserMessage = (data, isSso) => createMessage(data, isSso ? 'authentication/create_user_sso' : 'authentication/request_create_user', Authentication.CreateUserRequest, null);\r\nexport const startLoginMessage = (data) => createMessage(data, 'authentication/start_login', Authentication.StartLoginRequest, Authentication.LoginResponse);\r\nexport const validateAuthHashMessage = (data) => createMessage(data, 'authentication/validate_auth_hash', Authentication.ValidateAuthHashRequest, Authentication.LoginResponse);\r\nexport const twoFactorValidateMessage = (data) => createMessage(data, 'authentication/2fa_validate', Authentication.TwoFactorValidateRequest, Authentication.TwoFactorValidateResponse);\r\nexport const twoFactorSend2FAPushMessage = (data) => createMessage(data, 'authentication/2fa_send_push', Authentication.TwoFactorSendPushRequest, null);\r\nexport const twoFactorAdd = (data) => createMessage(data, 'authentication/2fa_add', Authentication.TwoFactorAddRequest, Authentication.TwoFactorAddResponse);\r\nexport const twoFactorAddValidate = (data) => createMessage(data, 'authentication/2fa_add_validate', Authentication.TwoFactorValidateRequest, Authentication.TwoFactorAddResponse);\r\nexport const twoFactorList = (data) => createMessage(data, 'authentication/2fa_list', Authentication.TwoFactorChannelInfo, Authentication.TwoFactorListResponse);\r\nexport const twoFactorRename = (data) => createMessage(data, 'authentication/2fa_rename', Authentication.TwoFactorRenameRequest, null);\r\nexport const twoFactorDelete = (data) => createMessage(data, 'authentication/2fa_delete', Authentication.TwoFactorDeleteRequest, null);\r\nexport const twoFactorDuoStatus = (data) => createMessage(data, 'authentication/2fa_duo_status', Authentication.TwoFactorDuoStatus, null);\r\nexport const approveDeviceMessage = (data) => createMessage(data, 'authentication/approve_device', Authentication.ApproveDeviceRequest, null);\r\nexport const approveDeviceInstantMessage = (data) => createMessage(data, 'authentication/approve_device_instant', Authentication.ApproveDeviceRequest, null);\r\nexport const validateDeviceVerificationCodeMessage = (data) => createMessage(data, 'authentication/validate_device_verification_code', Authentication.ValidateDeviceVerificationCodeRequest, null);\r\nexport const validateCreateUserVerificationCodeMessage = (data) => createMessage(data, 'authentication/validate_create_user_verification_code', Authentication.ValidateCreateUserVerificationCodeRequest, null);\r\nexport const approveUserDevicesMessage = (data) => createMessage(data, 'enterprise/approve_user_devices', Enterprise.ApproveUserDevicesRequest, Enterprise.ApproveUserDevicesResponse);\r\nexport const registerEncryptedDataKeyForDeviceMessage = (data) => createMessage(data, 'authentication/register_encrypted_data_key_for_device', Authentication.RegisterDeviceDataKeyRequest, null);\r\nexport const setUserSettingMessage = (data) => createMessage(data, 'setting/set_user_setting', Authentication.UserSettingRequest, null);\r\nexport const requestDeviceAdminApprovalMessage = (data) => createMessage(data, 'authentication/request_device_admin_approval', Authentication.DeviceVerificationRequest, null);\r\nexport const requestSaltAndIterations = () => createMessage({}, 'authentication/get_salt_and_iterations', null, Authentication.Salt);\r\nexport const validateMasterPasswordMessage = (data) => createMessage(data, 'authentication/validate_master_password', Authentication.MasterPasswordReentryRequest, null);\r\nexport const startLoginMessageFromSessionToken = (data) => createMessage(data, 'authentication/login_from_existing_session_token', Authentication.StartLoginRequest, Authentication.LoginResponse);\r\nexport const keepAliveMessage = () => createMessage({}, 'keep_alive', null, null);\r\nexport const logoutV3Message = () => createMessage({}, 'vault/logout_v3', null, null);\r\n// end new login\r\nexport const deviceMessage = (data) => createMessage(data, 'authentication/get_device_token', Authentication.DeviceRequest, Authentication.DeviceResponse);\r\nexport const preLoginMessage = (data) => createMessage(data, 'authentication/pre_login', Authentication.PreLoginRequest, Authentication.PreLoginResponse);\r\nexport const securityReportMessage = (data) => createMessage(data, 'enterprise/get_security_report_data', Authentication.SecurityReportRequest, Authentication.SecurityReportResponse);\r\nexport const enterpriseNodeToManagedCompanyMessage = (data) => createMessage(data, 'enterprise/node_to_managed_company', Enterprise.NodeToManagedCompanyRequest, null);\r\nexport const recordTypesGetMessage = (data) => createMessage(data, 'vault/get_record_types', Records.RecordTypesRequest, Records.RecordTypesResponse);\r\nexport const recordTypeAddMessage = (data) => createMessage(data, 'vault/record_type_add', Records.RecordType, Records.RecordTypeModifyResponse);\r\nexport const recordTypeUpdateMessage = (data) => createMessage(data, 'vault/record_type_update', Records.RecordType, Records.RecordTypeModifyResponse);\r\nexport const recordTypeDeleteMessage = (data) => createMessage(data, 'vault/record_type_delete', Records.RecordType, Records.RecordTypeModifyResponse);\r\nexport const recordsGetMessage = (data) => createMessage(data, 'vault/records_get', Records.RecordsGetRequest, Records.RecordsGetResponse);\r\nexport const recordsAddMessage = (data) => createMessage(data, 'vault/records_add', Records.RecordsAddRequest, Records.RecordsModifyResponse);\r\nexport const recordsUpdateMessage = (data) => createMessage(data, 'vault/records_update', Records.RecordsUpdateRequest, Records.RecordsModifyResponse);\r\nexport const fileDownloadMessage = (data) => createMessage(data, 'vault/files_download', Records.FilesGetRequest, Records.FilesGetResponse);\r\nexport const fileAddMessage = (data) => createMessage(data, 'vault/files_add', Records.FilesAddRequest, Records.FilesAddResponse);\r\nexport const recordsConvert3Message = (data) => createMessage(data, 'vault/records_convert3', Records.RecordsConvertToV3Request, Records.RecordsModifyResponse);\r\nexport const recordAddAuditData = (data) => createMessage(data, 'vault/record_add_audit_data', Records.AddAuditDataRequest, null);\r\nexport const accountSummaryMessage = (data) => createMessage(data, 'login/account_summary', AccountSummary.AccountSummaryRequest, AccountSummary.AccountSummaryElements);\r\nexport const sendSessionMessage = (data) => createMessage(data, 'pushserver/send_session_message', Authentication.SendSessionMessageRequest, null);\r\nexport const setEncryptedTeamKeyMessage = (data) => createMessage(data, 'enterprise/set_encrypted_team_key', Enterprise.EncryptedTeamKeyRequest, null);\r\nexport const getBackupMessage = (data) => createMessage(data, 'enterprise/get_backup', Enterprise.BackupRequest, Enterprise.BackupResponse);\r\nexport const getEnterprisePublicKeyMessage = () => createMessage({}, 'enterprise/get_enterprise_public_key', null, BreachWatch.EnterprisePublicKeyResponse);\r\nexport const getEnterpriseDataForUserMessage = (data) => createMessage(data, 'enterprise/get_enterprise_data_for_user', Enterprise.EnterpriseDataRequest, Enterprise.EnterpriseDataResponse);\r\nexport const setEnterpriseDataKeyMessage = (data) => createMessage(data, 'enterprise/set_enterprise_user_data_key', Enterprise.EnterpriseUserDataKey, null);\r\nexport const setV2AlternatePasswordMessage = (data) => createMessage(data, 'authentication/set_v2_alternate_password', Authentication.UserAuthRequest, null);\r\nexport const getMasterPasswordSaltMessage = () => createMessage({}, 'setting/get_master_password_salt', null, Authentication.Salt);\r\nexport const getPublicKeysMessage = (data) => createMessage(data, 'vault/get_public_keys', Authentication.GetPublicKeysRequest, Authentication.GetPublicKeysResponse);\r\nexport const setEccKeyPairMessage = (data) => createMessage(data, 'vault/set_ecc_key_pair', Authentication.SetEccKeyPairRequest, null);\r\nexport const applicationAddMessage = (data) => createMessage(data, 'vault/application_add', Records.ApplicationAddRequest, null);\r\nexport const addAppShareMessage = (data) => createMessage(data, 'vault/app_share_add', Authentication.AddAppSharesRequest, null);\r\nexport const removeAppShareMessage = (data) => createMessage(data, 'vault/app_share_remove', Authentication.RemoveAppSharesRequest, null);\r\nexport const addAppClientMessage = (data) => createMessage(data, 'vault/app_client_add', Authentication.AddAppClientRequest, Authentication.Device);\r\nexport const addExternalShareMessage = (data) => createMessage(data, 'vault/external_share_add', Authentication.AddExternalShareRequest, Authentication.Device);\r\nexport const removeExternalShareMessage = (data) => createMessage(data, 'vault/external_share_remove', Authentication.RemoveAppClientsRequest, null);\r\nexport const removeAppClientMessage = (data) => createMessage(data, 'vault/app_client_remove', Authentication.RemoveAppClientsRequest, null);\r\nexport const getAppInfoMessage = (data) => createMessage(data, 'vault/get_app_info', Authentication.GetAppInfoRequest, Authentication.GetAppInfoResponse);\r\nexport const getApplicationsSummaryMessage = () => createMessage({}, 'vault/get_applications_summary', null, Authentication.GetApplicationsSummaryResponse);\r\nexport const sendShareInviteMessage = (data) => createMessage(data, 'vault/send_share_invite', Authentication.SendShareInviteRequest, null);\r\nexport const updateSecurityData = (data) => createMessage(data, 'enterprise/update_security_data', Authentication.SecurityDataRequest, Authentication.RevisionResponse);\r\nexport const setReusedPasswords = (data) => createMessage(data, 'enterprise/set_reused_passwords', Authentication.ReusedPasswordsRequest, null);\r\n/* -- SERVICE LOGGER -- */\r\nexport const serviceLoggerGetMessage = (data) => createMessage(data, 'logger/get', ServiceLogger.ServiceLogGetRequest, ServiceLogger.ServiceLogResponse);\r\n/* -- Cloud SSO Connect -- */\r\nexport const ssoSamlMessage = (endpoint) => createMessage(null, 'sso/saml/' + endpoint, null, null);\r\nexport const ssoConfigMessage = (endpoint) => createMessage(null, 'sso/config/' + endpoint, null, null);\r\nexport const ssoLoginMessageWithUrl = (url) => createMessage(null, url, null, null);\r\nexport const ssoLogoutMessage = (serviceProviderId, data) => createMessage(null, 'sso/saml/logout/' + serviceProviderId, null, null);\r\nexport const ssoGetMetadataMessage = (serviceProviderId) => createMessage(null, 'sso/saml/metadata/' + serviceProviderId, null, null);\r\nexport const ssoUploadIdpMetadataMessage = (data) => createMessage(data, 'sso/config/sso_cloud_upload_idp_metadata', SsoCloud.SsoCloudIdpMetadataRequest, SsoCloud.SsoCloudConfigurationValidationResponse);\r\nexport const ssoCloudServiceProviderUpdateRequestMessage = (data) => createMessage(data, 'sso/config/sso_cloud_sp_configuration_set', SsoCloud.SsoCloudServiceProviderUpdateRequest, SsoCloud.SsoCloudConfigurationResponse);\r\nexport const ssoCloudConfigurationRequestMessage = (data, url) => createMessage(data, url, SsoCloud.SsoCloudConfigurationRequest, SsoCloud.SsoCloudConfigurationResponse);\r\nexport const ssoCloudLogRequestMessage = (data, url) => createMessage(data, url, SsoCloud.SsoCloudLogRequest, ServiceLogger.ServiceLogResponse);\r\nexport const ssoCloudSAMLLogRequestMessage = (data, url) => createMessage(data, url, SsoCloud.SsoCloudSAMLLogRequest, SsoCloud.SsoCloudSAMLLogResponse);\r\nexport const ssoCloudServiceProviderConfigurationListRequestMessage = (data) => createMessage(data, 'sso/config/sso_cloud_sp_configuration_get', SsoCloud.SsoCloudServiceProviderConfigurationListRequest, SsoCloud.SsoCloudServiceProviderConfigurationListResponse);\r\nexport const ssoServiceProviderRequestMessage = (data) => createMessage(data, 'enterprise/get_sso_service_provider', Authentication.SsoServiceProviderRequest, Authentication.SsoServiceProviderResponse);\r\nexport const ssoCloudRequestMessage = (data) => createMessage(data, null, SsoCloud.SsoCloudRequest, null);\r\nexport const ssoCloudValidationRequestMessage = (data, url) => createMessage(data, url, SsoCloud.SsoCloudConfigurationValidationRequest, SsoCloud.SsoCloudConfigurationValidationResponse);\r\n/* -- Keeper Automator -- */\r\nexport const automatorApproveDeviceMessage = (data, url) => createMessage(data, url, Automator.ApproveDeviceRequest, Automator.AutomatorResponse);\r\nexport const automatorAdminCreateMessage = (data, url) => createMessage(data, url, Automator.AdminCreateAutomatorRequest, Automator.AdminResponse);\r\nexport const automatorAdminDeleteMessage = (data, url) => createMessage(data, url, Automator.AdminDeleteAutomatorRequest, Automator.AdminResponse);\r\nexport const automatorAdminEditMessage = (data, url) => createMessage(data, url, Automator.AdminEditAutomatorRequest, Automator.AdminResponse);\r\nexport const automatorAdminEnableMessage = (data, url) => createMessage(data, url, Automator.AdminEnableAutomatorRequest, Automator.AdminResponse);\r\nexport const automatorAdminGetMessage = (data, url) => createMessage(data, url, Automator.AdminGetAutomatorRequest, Automator.AdminResponse);\r\nexport const automatorAdminGetAllOnNodeMessage = (data, url) => createMessage(data, url, Automator.AdminGetAutomatorsOnNodeRequest, Automator.AdminResponse);\r\nexport const automatorAdminGetAllForEnterpriseMessage = (data, url) => createMessage(data, url, Automator.AdminGetAutomatorsForEnterpriseRequest, Automator.AdminResponse);\r\nexport const automatorAdminInitializeMessage = (data, url) => createMessage(data, url, Automator.AdminInitializeAutomatorRequest, Automator.AdminResponse);\r\nexport const automatorAdminResetMessage = (data, url) => createMessage(data, url, Automator.AdminResetAutomatorRequest, Automator.AdminResponse);\r\n//# sourceMappingURL=restMessages.js.map","references":["/Users/saldoukhov/Documents/Code/Keeper/keeper-sdk-javascript/keeperapi/node_modules/protobufjs/index.d.ts","/Users/saldoukhov/Documents/Code/Keeper/keeper-sdk-javascript/keeperapi/src/proto.d.ts"],"map":"{\"version\":3,\"file\":\"restMessages.js\",\"sourceRoot\":\"\",\"sources\":[\"../../src/restMessages.ts\"],\"names\":[],\"mappings\":\"AACA,OAAO,EAAC,cAAc,EAAE,cAAc,EAAE,WAAW,EAAE,SAAS,EAAE,UAAU,EAAE,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAC,MAAM,SAAS,CAAA;AAgB5H,SAAS,aAAa,CAAY,IAAS,EAAE,IAAY,EAAE,OAA0B,EAAE,OAA2B;IAC9G,OAAO;QACH,IAAI,EAAE,IAAI;QACV,OAAO;YACH,OAAO,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,CAA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GAAU,EAAqF,EAAE,CAC9L,aAAa,CAAC,IAAI,EAAE,GAAG,EAAE,SAAS,CAAC,+BAA+B,EAAE,SAAS,CAAC,aAAa,CAAC,CAAC;AAEjG,MAAM,CAAC,MAAM,0BAA0B,GAAG,CAAC,IAA0C,EAAE,GAAU,EAAgF,EAAE,CAC/K,aAAa,CAAC,IAAI,EAAE,GAAG,EAAE,SAAS,CAAC,0BAA0B,EAAE,SAAS,CAAC,aAAa,CAAC,CAAC\"}","dts":{"name":"/Users/saldoukhov/Documents/Code/Keeper/keeper-sdk-javascript/keeperapi/restMessages.d.ts","writeByteOrderMark":false,"text":"import { AccountSummary, Authentication, BreachWatch, Automator, Enterprise, Records, ServiceLogger, SsoCloud } from './proto';\r\nexport interface RestMessage<TIn, TOut> {\r\n path: string;\r\n toBytes(): Uint8Array;\r\n fromBytes(data: Uint8Array): TOut;\r\n}\r\nexport declare const registerDeviceMessage: (data: Authentication.IDeviceRegistrationRequest) => RestMessage<Authentication.IDeviceRegistrationRequest, Authentication.IDevice>;\r\nexport declare const registerDeviceInRegionMessage: (data: Authentication.IRegisterDeviceInRegionRequest) => RestMessage<Authentication.IRegisterDeviceInRegionRequest, {}>;\r\nexport declare const updateDeviceMessage: (data: Authentication.IDeviceUpdateRequest) => RestMessage<Authentication.IDeviceUpdateRequest, {}>;\r\nexport declare const requestDeviceVerificationMessage: (data: Authentication.IDeviceVerificationRequest) => RestMessage<Authentication.IDeviceVerificationRequest, {}>;\r\nexport declare const requestCreateUserMessage: (data: Authentication.ICreateUserRequest, isSso: boolean) => RestMessage<Authentication.ICreateUserRequest, {}>;\r\nexport declare const startLoginMessage: (data: Authentication.IStartLoginRequest) => RestMessage<Authentication.IStartLoginRequest, Authentication.ILoginResponse>;\r\nexport declare const validateAuthHashMessage: (data: Authentication.IValidateAuthHashRequest) => RestMessage<Authentication.IValidateAuthHashRequest, Authentication.ILoginResponse>;\r\nexport declare const twoFactorValidateMessage: (data: Authentication.ITwoFactorValidateRequest) => RestMessage<Authentication.ITwoFactorValidateRequest, Authentication.ITwoFactorValidateResponse>;\r\nexport declare const twoFactorSend2FAPushMessage: (data: Authentication.ITwoFactorSendPushRequest) => RestMessage<Authentication.ITwoFactorSendPushRequest, {}>;\r\nexport declare const twoFactorAdd: (data: Authentication.ITwoFactorAddRequest) => RestMessage<Authentication.ITwoFactorAddRequest, Authentication.ITwoFactorAddResponse>;\r\nexport declare const twoFactorAddValidate: (data: Authentication.ITwoFactorValidateRequest) => RestMessage<Authentication.ITwoFactorValidateRequest, Authentication.ITwoFactorAddResponse>;\r\nexport declare const twoFactorList: (data: Authentication.ITwoFactorChannelInfo) => RestMessage<Authentication.ITwoFactorChannelInfo, Authentication.ITwoFactorListResponse>;\r\nexport declare const twoFactorRename: (data: Authentication.ITwoFactorRenameRequest) => RestMessage<Authentication.ITwoFactorRenameRequest, {}>;\r\nexport declare const twoFactorDelete: (data: Authentication.ITwoFactorDeleteRequest) => RestMessage<Authentication.ITwoFactorDeleteRequest, {}>;\r\nexport declare const twoFactorDuoStatus: (data: Authentication.ITwoFactorDuoStatus) => RestMessage<Authentication.ITwoFactorDuoStatus, {}>;\r\nexport declare const approveDeviceMessage: (data: Authentication.IApproveDeviceRequest) => RestMessage<Authentication.IApproveDeviceRequest, {}>;\r\nexport declare const approveDeviceInstantMessage: (data: Authentication.IApproveDeviceRequest) => RestMessage<Authentication.IApproveDeviceRequest, {}>;\r\nexport declare const validateDeviceVerificationCodeMessage: (data: Authentication.IValidateDeviceVerificationCodeRequest) => RestMessage<Authentication.IValidateDeviceVerificationCodeRequest, {}>;\r\nexport declare const validateCreateUserVerificationCodeMessage: (data: Authentication.IValidateCreateUserVerificationCodeRequest) => RestMessage<Authentication.IValidateCreateUserVerificationCodeRequest, {}>;\r\nexport declare const approveUserDevicesMessage: (data: Enterprise.IApproveUserDevicesRequest) => RestMessage<Enterprise.IApproveUserDevicesRequest, Enterprise.IApproveUserDevicesResponse>;\r\nexport declare const registerEncryptedDataKeyForDeviceMessage: (data: Authentication.IRegisterDeviceDataKeyRequest) => RestMessage<Authentication.IRegisterDeviceDataKeyRequest, {}>;\r\nexport declare const setUserSettingMessage: (data: Authentication.IUserSettingRequest) => RestMessage<Authentication.IUserSettingRequest, {}>;\r\nexport declare const requestDeviceAdminApprovalMessage: (data: Authentication.IDeviceVerificationRequest) => RestMessage<Authentication.IDeviceVerificationRequest, {}>;\r\nexport declare const requestSaltAndIterations: () => RestMessage<{}, Authentication.Salt>;\r\nexport declare const validateMasterPasswordMessage: (data: Authentication.IMasterPasswordReentryRequest) => RestMessage<Authentication.IMasterPasswordReentryRequest, {}>;\r\nexport declare const startLoginMessageFromSessionToken: (data: Authentication.IStartLoginRequest) => RestMessage<Authentication.IStartLoginRequest, Authentication.ILoginResponse>;\r\nexport declare const keepAliveMessage: () => RestMessage<{}, {}>;\r\nexport declare const logoutV3Message: () => RestMessage<{}, {}>;\r\nexport declare const deviceMessage: (data: Authentication.IDeviceRequest) => RestMessage<Authentication.IDeviceRequest, Authentication.IDeviceResponse>;\r\nexport declare const preLoginMessage: (data: Authentication.IPreLoginRequest) => RestMessage<Authentication.IPreLoginRequest, Authentication.IPreLoginResponse>;\r\nexport declare const securityReportMessage: (data: Authentication.ISecurityReportRequest) => RestMessage<Authentication.ISecurityReportRequest, Authentication.ISecurityReportResponse>;\r\nexport declare const enterpriseNodeToManagedCompanyMessage: (data: Enterprise.INodeToManagedCompanyRequest) => RestMessage<Enterprise.INodeToManagedCompanyRequest, {}>;\r\nexport declare const recordTypesGetMessage: (data: Records.IRecordTypesRequest) => RestMessage<Records.IRecordTypesRequest, Records.IRecordTypesResponse>;\r\nexport declare const recordTypeAddMessage: (data: Records.IRecordType) => RestMessage<Records.IRecordType, Records.IRecordTypeModifyResponse>;\r\nexport declare const recordTypeUpdateMessage: (data: Records.IRecordType) => RestMessage<Records.IRecordType, Records.IRecordTypeModifyResponse>;\r\nexport declare const recordTypeDeleteMessage: (data: Records.IRecordType) => RestMessage<Records.IRecordType, Records.IRecordTypeModifyResponse>;\r\nexport declare const recordsGetMessage: (data: Records.IRecordsGetRequest) => RestMessage<Records.IRecordsGetRequest, Records.IRecordsGetResponse>;\r\nexport declare const recordsAddMessage: (data: Records.IRecordsAddRequest) => RestMessage<Records.IRecordsAddRequest, Records.IRecordsModifyResponse>;\r\nexport declare const recordsUpdateMessage: (data: Records.IRecordsUpdateRequest) => RestMessage<Records.IRecordsUpdateRequest, Records.IRecordsModifyResponse>;\r\nexport declare const fileDownloadMessage: (data: Records.IFilesGetRequest) => RestMessage<Records.IFilesGetRequest, Records.IFilesGetResponse>;\r\nexport declare const fileAddMessage: (data: Records.IFilesAddRequest) => RestMessage<Records.IFilesAddRequest, Records.IFilesAddResponse>;\r\nexport declare const recordsConvert3Message: (data: Records.RecordsConvertToV3Request) => RestMessage<Records.IRecordsConvertToV3Request, Records.RecordsModifyResponse>;\r\nexport declare const recordAddAuditData: (data: Records.AddAuditDataRequest) => RestMessage<Records.IAddAuditDataRequest, {}>;\r\nexport declare const accountSummaryMessage: (data: AccountSummary.IAccountSummaryRequest) => RestMessage<AccountSummary.IAccountSummaryRequest, AccountSummary.IAccountSummaryElements>;\r\nexport declare const sendSessionMessage: (data: Authentication.ISendSessionMessageRequest) => RestMessage<Authentication.ISendSessionMessageRequest, {}>;\r\nexport declare const setEncryptedTeamKeyMessage: (data: Enterprise.IEncryptedTeamKeyRequest) => RestMessage<Enterprise.IEncryptedTeamKeyRequest, {}>;\r\nexport declare const getBackupMessage: (data: Enterprise.IBackupRequest) => RestMessage<Enterprise.IBackupRequest, Enterprise.IBackupResponse>;\r\nexport declare const getEnterprisePublicKeyMessage: () => RestMessage<{}, BreachWatch.IEnterprisePublicKeyResponse>;\r\nexport declare const getEnterpriseDataForUserMessage: (data: Enterprise.IEnterpriseDataRequest) => RestMessage<Enterprise.IEnterpriseDataRequest, Enterprise.IEnterpriseDataResponse>;\r\nexport declare const setEnterpriseDataKeyMessage: (data: Enterprise.IEnterpriseUserDataKey) => RestMessage<Enterprise.IEnterpriseUserDataKey, {}>;\r\nexport declare const setV2AlternatePasswordMessage: (data: Authentication.IUserAuthRequest) => RestMessage<Authentication.IUserAuthRequest, {}>;\r\nexport declare const getMasterPasswordSaltMessage: () => RestMessage<{}, Authentication.ISalt>;\r\nexport declare const getPublicKeysMessage: (data: Authentication.IGetPublicKeysRequest) => RestMessage<Authentication.IGetPublicKeysRequest, Authentication.IGetPublicKeysResponse>;\r\nexport declare const setEccKeyPairMessage: (data: Authentication.ISetEccKeyPairRequest) => RestMessage<Authentication.ISetEccKeyPairRequest, {}>;\r\nexport declare const applicationAddMessage: (data: Records.IApplicationAddRequest) => RestMessage<Records.IApplicationAddRequest, {}>;\r\nexport declare const addAppShareMessage: (data: Authentication.IAddAppSharesRequest) => RestMessage<Authentication.IAddAppSharesRequest, {}>;\r\nexport declare const removeAppShareMessage: (data: Authentication.IRemoveAppSharesRequest) => RestMessage<Authentication.IRemoveAppSharesRequest, {}>;\r\nexport declare const addAppClientMessage: (data: Authentication.IAddAppClientRequest) => RestMessage<Authentication.IAddAppClientRequest, Authentication.IDevice>;\r\nexport declare const addExternalShareMessage: (data: Authentication.IAddExternalShareRequest) => RestMessage<Authentication.IAddExternalShareRequest, Authentication.IDevice>;\r\nexport declare const removeExternalShareMessage: (data: Authentication.IRemoveAppClientsRequest) => RestMessage<Authentication.IRemoveAppClientsRequest, {}>;\r\nexport declare const removeAppClientMessage: (data: Authentication.IRemoveAppClientsRequest) => RestMessage<Authentication.IRemoveAppClientsRequest, {}>;\r\nexport declare const getAppInfoMessage: (data: Authentication.IGetAppInfoRequest) => RestMessage<Authentication.IGetAppInfoRequest, Authentication.IGetAppInfoResponse>;\r\nexport declare const getApplicationsSummaryMessage: () => RestMessage<{}, Authentication.IGetApplicationsSummaryResponse>;\r\nexport declare const sendShareInviteMessage: (data: Authentication.ISendShareInviteRequest) => RestMessage<Authentication.ISendShareInviteRequest, {}>;\r\nexport declare const updateSecurityData: (data: Authentication.ISecurityDataRequest) => RestMessage<Authentication.ISecurityDataRequest, Authentication.RevisionResponse>;\r\nexport declare const setReusedPasswords: (data: Authentication.IReusedPasswordsRequest) => RestMessage<Authentication.IReusedPasswordsRequest, {}>;\r\nexport declare const serviceLoggerGetMessage: (data: ServiceLogger.IServiceLogGetRequest) => RestMessage<ServiceLogger.IServiceLogGetRequest, ServiceLogger.IServiceLogResponse>;\r\nexport declare const ssoSamlMessage: (endpoint: string) => RestMessage<null, null>;\r\nexport declare const ssoConfigMessage: (endpoint: string) => RestMessage<null, null>;\r\nexport declare const ssoLoginMessageWithUrl: (url: any) => RestMessage<null, null>;\r\nexport declare const ssoLogoutMessage: (serviceProviderId: any, data: any) => RestMessage<null, null>;\r\nexport declare const ssoGetMetadataMessage: (serviceProviderId: any) => RestMessage<null, null>;\r\nexport declare const ssoUploadIdpMetadataMessage: (data: SsoCloud.ISsoCloudIdpMetadataRequest) => RestMessage<SsoCloud.ISsoCloudIdpMetadataRequest, SsoCloud.ISsoCloudConfigurationValidationResponse>;\r\nexport declare const ssoCloudServiceProviderUpdateRequestMessage: (data: SsoCloud.ISsoCloudServiceProviderUpdateRequest) => RestMessage<SsoCloud.ISsoCloudServiceProviderUpdateRequest, SsoCloud.ISsoCloudConfigurationResponse>;\r\nexport declare const ssoCloudConfigurationRequestMessage: (data: SsoCloud.ISsoCloudConfigurationRequest, url: string) => RestMessage<SsoCloud.ISsoCloudConfigurationRequest, SsoCloud.ISsoCloudConfigurationResponse>;\r\nexport declare const ssoCloudLogRequestMessage: (data: SsoCloud.ISsoCloudLogRequest, url: string) => RestMessage<SsoCloud.ISsoCloudLogRequest, ServiceLogger.IServiceLogResponse>;\r\nexport declare const ssoCloudSAMLLogRequestMessage: (data: SsoCloud.ISsoCloudSAMLLogRequest, url: string) => RestMessage<SsoCloud.ISsoCloudSAMLLogRequest, SsoCloud.ISsoCloudSAMLLogResponse>;\r\nexport declare const ssoCloudServiceProviderConfigurationListRequestMessage: (data: SsoCloud.ISsoCloudServiceProviderConfigurationListRequest) => RestMessage<SsoCloud.ISsoCloudServiceProviderConfigurationListRequest, SsoCloud.ISsoCloudServiceProviderConfigurationListResponse>;\r\nexport declare const ssoServiceProviderRequestMessage: (data: Authentication.ISsoServiceProviderRequest) => RestMessage<Authentication.ISsoServiceProviderRequest, Authentication.ISsoServiceProviderResponse>;\r\nexport declare const ssoCloudRequestMessage: (data: SsoCloud.ISsoCloudRequest) => RestMessage<SsoCloud.ISsoCloudRequest, null>;\r\nexport declare const ssoCloudValidationRequestMessage: (data: SsoCloud.ISsoCloudConfigurationValidationRequest, url: string) => RestMessage<SsoCloud.ISsoCloudConfigurationValidationRequest, SsoCloud.ISsoCloudConfigurationValidationResponse>;\r\nexport declare const automatorApproveDeviceMessage: (data: Automator.ApproveDeviceRequest, url: string) => RestMessage<Automator.IApproveDeviceRequest, Automator.IAutomatorResponse>;\r\nexport declare const automatorAdminCreateMessage: (data: Automator.AdminCreateAutomatorRequest, url: string) => RestMessage<Automator.IAdminCreateAutomatorRequest, Automator.IAdminResponse>;\r\nexport declare const automatorAdminDeleteMessage: (data: Automator.AdminDeleteAutomatorRequest, url: string) => RestMessage<Automator.IAdminDeleteAutomatorRequest, Automator.IAdminResponse>;\r\nexport declare const automatorAdminEditMessage: (data: Automator.AdminEditAutomatorRequest, url: string) => RestMessage<Automator.IAdminEditAutomatorRequest, Automator.IAdminResponse>;\r\nexport declare const automatorAdminEnableMessage: (data: Automator.AdminEnableAutomatorRequest, url: string) => RestMessage<Automator.IAdminEnableAutomatorRequest, Automator.IAdminResponse>;\r\nexport declare const automatorAdminGetMessage: (data: Automator.AdminGetAutomatorRequest, url: string) => RestMessage<Automator.IAdminGetAutomatorRequest, Automator.IAdminResponse>;\r\nexport declare const automatorAdminGetAllOnNodeMessage: (data: Automator.AdminGetAutomatorsOnNodeRequest, url: string) => RestMessage<Automator.IAdminGetAutomatorsOnNodeRequest, Automator.IAdminResponse>;\r\nexport declare const automatorAdminGetAllForEnterpriseMessage: (data: Automator.AdminGetAutomatorsForEnterpriseRequest, url: string) => RestMessage<Automator.IAdminGetAutomatorsForEnterpriseRequest, Automator.IAdminResponse>;\r\nexport declare const automatorAdminInitializeMessage: (data: Automator.AdminInitializeAutomatorRequest, url: string) => RestMessage<Automator.IAdminInitializeAutomatorRequest, Automator.IAdminResponse>;\r\nexport declare const automatorAdminResetMessage: (data: Automator.AdminResetAutomatorRequest, url: string) => RestMessage<Automator.IAdminResetAutomatorRequest, Automator.IAdminResponse>;\r\n"}}
@@ -0,0 +1 @@
1
+ {"code":"export class KeeperCommand {\r\n}\r\nexport class LoginCommand extends KeeperCommand {\r\n}\r\nexport class RegisterCommand extends KeeperCommand {\r\n constructor() {\r\n super();\r\n this.command = \"register\";\r\n }\r\n}\r\nexport class AuthorizedCommand extends KeeperCommand {\r\n}\r\nexport class AccountSummaryCommand extends AuthorizedCommand {\r\n constructor() {\r\n super();\r\n this.command = \"account_summary\";\r\n }\r\n}\r\nexport class SyncDownCommand extends AuthorizedCommand {\r\n constructor(revision) {\r\n super();\r\n this.command = 'sync_down';\r\n this.revision = revision;\r\n this.client_time = new Date().getTime();\r\n }\r\n}\r\nexport class RecordAddCommand extends AuthorizedCommand {\r\n constructor() {\r\n super();\r\n this.command = \"record_add\";\r\n }\r\n}\r\nexport class RecordUpdateCommand extends AuthorizedCommand {\r\n constructor() {\r\n super();\r\n this.command = \"record_update\";\r\n }\r\n}\r\nexport class RequestDownloadCommand extends AuthorizedCommand {\r\n constructor() {\r\n super();\r\n this.command = 'request_download';\r\n }\r\n}\r\nexport class RequestUploadCommand extends AuthorizedCommand {\r\n constructor() {\r\n super();\r\n this.command = 'request_upload';\r\n }\r\n}\r\nexport class PreDeleteCommand extends AuthorizedCommand {\r\n constructor() {\r\n super();\r\n this.command = 'pre_delete';\r\n }\r\n}\r\nexport class DeleteCommand extends AuthorizedCommand {\r\n constructor() {\r\n super();\r\n this.command = 'delete';\r\n }\r\n}\r\nexport class UndeleteRecordCommand extends AuthorizedCommand {\r\n constructor() {\r\n super();\r\n this.command = 'undelete_record';\r\n }\r\n}\r\nexport class GetDeletedRecordsCommand extends AuthorizedCommand {\r\n constructor() {\r\n super();\r\n this.command = 'get_deleted_records';\r\n this.client_time = new Date().getTime();\r\n }\r\n}\r\nexport class PurgeDeletedRecordsCommand extends AuthorizedCommand {\r\n constructor() {\r\n super();\r\n this.command = 'purge_deleted_records';\r\n }\r\n}\r\nexport class RecordShareUpdateCommand extends AuthorizedCommand {\r\n constructor() {\r\n super();\r\n this.command = 'record_share_update';\r\n }\r\n}\r\nexport class FolderAddCommand extends AuthorizedCommand {\r\n constructor() {\r\n super();\r\n this.command = 'folder_add';\r\n }\r\n}\r\nexport class SharedFolderUpdateCommand extends AuthorizedCommand {\r\n constructor() {\r\n super();\r\n this.command = 'shared_folder_update';\r\n }\r\n}\r\nexport class MoveCommand extends AuthorizedCommand {\r\n constructor() {\r\n super();\r\n this.command = 'move';\r\n }\r\n}\r\nexport class PublicKeysCommand extends AuthorizedCommand {\r\n constructor() {\r\n super();\r\n this.command = 'public_keys';\r\n }\r\n}\r\nexport class GetRecordsCommand extends AuthorizedCommand {\r\n constructor() {\r\n super();\r\n this.command = 'get_records';\r\n }\r\n}\r\nexport class EditUserCommand extends AuthorizedCommand {\r\n constructor() {\r\n super();\r\n this.command = 'edit_user';\r\n }\r\n}\r\nexport class ShareAccountCommand extends AuthorizedCommand {\r\n constructor() {\r\n super();\r\n this.command = 'share_account';\r\n }\r\n}\r\nexport class SendKeyVerificationCodeCommand extends KeeperCommand {\r\n constructor() {\r\n super();\r\n this.command = 'send_key_verification_code';\r\n }\r\n}\r\nexport class SetTwoFactorAuthCommand extends AuthorizedCommand {\r\n constructor() {\r\n super();\r\n this.command = 'set_two_factor_auth';\r\n }\r\n}\r\nexport class TwoFactorSettingsCommand extends AuthorizedCommand {\r\n constructor() {\r\n super();\r\n this.command = 'two_factor_settings';\r\n }\r\n}\r\nexport class GetPushInfoCommand extends AuthorizedCommand {\r\n constructor() {\r\n super();\r\n this.command = 'get_push_info';\r\n }\r\n}\r\nexport class VerifyUserCommand extends KeeperCommand {\r\n constructor() {\r\n super();\r\n this.command = 'verify_user';\r\n }\r\n}\r\nexport class GetEnterpriseDataCommand extends AuthorizedCommand {\r\n constructor() {\r\n super();\r\n this.command = \"get_enterprise_data\";\r\n }\r\n}\r\nexport class GetEnterpriseSettingCommand extends AuthorizedCommand {\r\n constructor() {\r\n super();\r\n this.command = \"get_enterprise_setting\";\r\n }\r\n}\r\nexport class PutEnterpriseSettingCommand extends AuthorizedCommand {\r\n constructor() {\r\n super();\r\n this.command = \"put_enterprise_setting\";\r\n }\r\n}\r\nexport class EnterpriseUserLockCommand extends AuthorizedCommand {\r\n constructor() {\r\n super();\r\n this.command = \"enterprise_user_lock\";\r\n }\r\n}\r\nexport class EnterpriseNodeToManagedCompanyCommand extends AuthorizedCommand {\r\n constructor() {\r\n super();\r\n this.command = \"enterprise_node_to_managed_company\";\r\n }\r\n}\r\nexport class EnterpriseAllocateIdsCommand extends AuthorizedCommand {\r\n constructor() {\r\n super();\r\n this.number_requested = 1;\r\n this.command = \"enterprise_allocate_ids\";\r\n }\r\n}\r\nexport class NodeAddCommand extends AuthorizedCommand {\r\n constructor(nodeId, parentId, encryptedData) {\r\n super();\r\n this.command = \"node_add\";\r\n this.node_id = nodeId;\r\n this.parent_id = parentId;\r\n this.encrypted_data = encryptedData;\r\n }\r\n}\r\nexport class RoleAddCommand extends AuthorizedCommand {\r\n constructor(roleId, nodeId, encryptedData) {\r\n super();\r\n this.command = \"role_add\";\r\n this.role_id = roleId;\r\n this.node_id = nodeId;\r\n this.encrypted_data = encryptedData;\r\n }\r\n}\r\nexport class TeamAddCommand extends AuthorizedCommand {\r\n constructor(team_uid, team_name, node_id, public_key, private_key, team_key, encrypted_team_key) {\r\n super();\r\n this.restrict_edit = false;\r\n this.restrict_share = false;\r\n this.restrict_view = false;\r\n this.manage_only = true;\r\n this.command = \"team_add\";\r\n this.team_uid = team_uid;\r\n this.team_name = team_name;\r\n this.node_id = node_id;\r\n this.public_key = public_key;\r\n this.private_key = private_key;\r\n this.team_key = team_key;\r\n this.encrypted_team_key = encrypted_team_key;\r\n }\r\n}\r\nexport class EnterpriseUserAddCommand extends AuthorizedCommand {\r\n constructor(enterprise_user_id, email, nodeId, encryptedData) {\r\n super();\r\n this.command = \"enterprise_user_add\";\r\n this.enterprise_user_id = enterprise_user_id;\r\n this.enterprise_user_username = email;\r\n this.node_id = nodeId;\r\n this.encrypted_data = encryptedData;\r\n }\r\n}\r\nexport class TeamEnterpriseUserAddCommand extends AuthorizedCommand {\r\n constructor(user_type, enterprise_user_id, team_uid, team_key) {\r\n super();\r\n this.command = \"team_enterprise_user_add\";\r\n this.user_type = user_type;\r\n this.enterprise_user_id = enterprise_user_id;\r\n this.team_uid = team_uid;\r\n this.team_key = team_key;\r\n }\r\n}\r\nexport class TeamEnterpriseUserRemoveCommand extends AuthorizedCommand {\r\n constructor(enterprise_user_id, team_uid) {\r\n super();\r\n this.command = \"team_enterprise_user_remove\";\r\n this.enterprise_user_id = enterprise_user_id;\r\n this.team_uid = team_uid;\r\n }\r\n}\r\nexport class TeamQueueUserCommand extends AuthorizedCommand {\r\n constructor(enterprise_user_id, team_uid) {\r\n super();\r\n this.command = \"team_queue_user\";\r\n this.enterprise_user_id = enterprise_user_id;\r\n this.team_uid = team_uid;\r\n }\r\n}\r\nexport class EnterpriseRegistrationByMspCommand extends AuthorizedCommand {\r\n constructor() {\r\n super();\r\n this.command = \"enterprise_registration_by_msp\";\r\n }\r\n}\r\nexport class SendInviteCommand extends AuthorizedCommand {\r\n constructor() {\r\n super();\r\n this.command = \"send_invite\";\r\n }\r\n}\r\nexport class AcceptEnterpriseInviteCommand extends AuthorizedCommand {\r\n constructor() {\r\n super();\r\n this.command = \"accept_enterprise_invite\";\r\n }\r\n}\r\nexport class ResendEnterpriseInviteCommand extends AuthorizedCommand {\r\n constructor() {\r\n super();\r\n this.command = \"resend_enterprise_invite\";\r\n }\r\n}\r\nexport class SsoServiceProviderAddCommand extends AuthorizedCommand {\r\n constructor() {\r\n super();\r\n this.command = \"sso_service_provider_add\";\r\n }\r\n}\r\nexport class SsoServiceProviderUpdateCommand extends AuthorizedCommand {\r\n constructor() {\r\n super();\r\n this.command = \"sso_service_provider_update\";\r\n }\r\n}\r\nexport class SsoServiceProviderDeleteCommand extends AuthorizedCommand {\r\n constructor() {\r\n super();\r\n this.command = \"sso_service_provider_delete\";\r\n }\r\n}\r\nexport class GetAuditEventReportsCommand extends AuthorizedCommand {\r\n constructor() {\r\n super();\r\n this.command = \"get_audit_event_reports\";\r\n }\r\n}\r\nexport var LoginResponseResultCode;\r\n(function (LoginResponseResultCode) {\r\n LoginResponseResultCode[\"Success\"] = \"auth_success\";\r\n LoginResponseResultCode[\"AuthExpired\"] = \"auth_expired\";\r\n LoginResponseResultCode[\"AuthExpiredTransfer\"] = \"auth_expired_transfer\";\r\n LoginResponseResultCode[\"AuthFailed\"] = \"auth_failed\";\r\n LoginResponseResultCode[\"RegionRedirect\"] = \"region_redirect\";\r\n LoginResponseResultCode[\"NeedTOTP\"] = \"need_totp\";\r\n LoginResponseResultCode[\"InvalidTOTP\"] = \"invalid_totp\";\r\n LoginResponseResultCode[\"InvalidDeviceToken\"] = \"invalid_device_token\";\r\n LoginResponseResultCode[\"InvalidBackupCode\"] = \"invalid_backup_code\";\r\n LoginResponseResultCode[\"FailedSending\"] = \"failed_sending\";\r\n LoginResponseResultCode[\"NotEnrolled\"] = \"not_enrolled\";\r\n LoginResponseResultCode[\"Throttled\"] = \"throttled\";\r\n LoginResponseResultCode[\"AccountLocked\"] = \"account_locked\";\r\n LoginResponseResultCode[\"NotAuthorized\"] = \"not_authorized\";\r\n LoginResponseResultCode[\"VersionIncompatible\"] = \"version_incompatible\";\r\n LoginResponseResultCode[\"IPAddressNotAllowed\"] = \"ip_address_not_allowed\";\r\n LoginResponseResultCode[\"RestrictedClientType\"] = \"restricted_client_type\";\r\n // there are a few more obscure ones, see https://keeper.atlassian.net/wiki/spaces/KA/pages/8028335/login\r\n})(LoginResponseResultCode || (LoginResponseResultCode = {}));\r\n//# sourceMappingURL=commands.js.map","references":[],"map":"{\"version\":3,\"file\":\"commands.js\",\"sourceRoot\":\"\",\"sources\":[\"../../src/commands.ts\"],\"names\":[],\"mappings\":\"AAAA,MAAM,OAAO,aAAa;CAKzB;AAeD,MAAM,OAAO,YAAa,SAAQ,aAA4B;CAS7D;AAED,MAAM,OAAO,eAAgB,SAAQ,aAA4B;IAE7D;QACI,KAAK,EAAE,CAAA;QACP,IAAI,CAAC,OAAO,GAAG,UAAU,CAAA;IAC7B,CAAC;CAOJ;AAED,MAAM,OAAO,iBAAoE,SAAQ,aAAuB;CAG/G;AAED,MAAM,OAAO,qBAAsB,SAAQ,iBAAiC;IAExE;QACI,KAAK,EAAE,CAAA;QACP,IAAI,CAAC,OAAO,GAAG,iBAAiB,CAAA;IACpC,CAAC;CAGJ;AAsBD,MAAM,OAAO,eAAgB,SAAQ,iBAA+B;IAMhE,YAAY,QAAgB;QACxB,KAAK,EAAE,CAAA;QACP,IAAI,CAAC,OAAO,GAAG,WAAW,CAAA;QAC1B,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAA;QACxB,IAAI,CAAC,WAAW,GAAG,IAAI,IAAI,EAAE,CAAC,OAAO,EAAE,CAAA;IAC3C,CAAC;CACJ;AAED,MAAM,OAAO,gBAAiB,SAAQ,iBAAiB;IAEnD;QACI,KAAK,EAAE,CAAA;QACP,IAAI,CAAC,OAAO,GAAG,YAAY,CAAA;IAC/B,CAAC;CAaJ;AAED,MAAM,OAAO,mBAAoB,SAAQ,iBAAiB;IAEtD;QACI,KAAK,EAAE,CAAA;QACP,IAAI,CAAC,OAAO,GAAG,eAAe,CAAA;IAClC,CAAC;CAQJ;AAgBD,MAAM,OAAO,sBAAuB,SAAQ,iBAA0C;IAClF;QACI,KAAK,EAAE,CAAA;QACP,IAAI,CAAC,OAAO,GAAG,kBAAkB,CAAA;IACrC,CAAC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AA8C,CAAA;IAC9C,0EAA+C,CAAA;IAC/C,yGAAyG;AAC7G,CAAC,EAnBW,uBAAuB,KAAvB,uBAAuB,QAmBlC\"}","dts":{"name":"/Users/saldoukhov/Documents/Code/Keeper/keeper-sdk-javascript/keeperapi/commands.d.ts","writeByteOrderMark":false,"text":"export declare class KeeperCommand<Response extends KeeperResponse = KeeperResponse> {\r\n command: string;\r\n username: string;\r\n client_version: string;\r\n response: Response;\r\n}\r\nexport declare type AccountDataInclude = \"license\" | \"settings\" | \"group\" | \"sync_log\" | \"keys\" | \"enforcements\" | \"client_key\" | \"images\" | \"is_enterprise_admin\" | \"security_keys\" | \"personal_license\";\r\nexport declare class LoginCommand extends KeeperCommand<LoginResponse> {\r\n version: number;\r\n auth_response: string;\r\n include: AccountDataInclude[];\r\n enterprise_id?: number;\r\n platform_device_token: string;\r\n \"2fa_type\": \"device_token\" | \"one_time\" | \"backup\" | \"u2f\";\r\n \"2fa_mode\": \"auto\" | \"passcode\" | \"phone\" | \"push\" | \"sms\";\r\n \"2fa_token\": string;\r\n}\r\nexport declare class RegisterCommand extends KeeperCommand<LoginResponse> {\r\n constructor();\r\n email: string;\r\n auth_verifier: string;\r\n encryption_params: string;\r\n public_key: string;\r\n encrypted_private_key: string;\r\n}\r\nexport declare class AuthorizedCommand<Response extends KeeperResponse = KeeperResponse> extends KeeperCommand<Response> {\r\n session_token: string;\r\n device_id: string;\r\n}\r\nexport declare class AccountSummaryCommand extends AuthorizedCommand<KeeperResponse> {\r\n constructor();\r\n include: AccountDataInclude[];\r\n}\r\nexport declare type SyncDataInclude = \"record\" | \"typed_record\" | \"app_record\" | \"shared_folder\" | \"sfheaders\" | \"sfusers\" | \"sfrecords\" | \"folders\" | \"teams\" | \"sharing_changes\" | \"non_shared_data\" | \"pending_shares\" | \"profile\" | \"pending_team_users\" | \"user_auth\" | \"reused_passwords\" | \"explicit\";\r\nexport declare class SyncDownCommand extends AuthorizedCommand<SyncResponse> {\r\n private revision;\r\n private client_time;\r\n include: SyncDataInclude[];\r\n constructor(revision: number);\r\n}\r\nexport declare class RecordAddCommand extends AuthorizedCommand {\r\n constructor();\r\n record_uid: string;\r\n record_key: string;\r\n record_type: string;\r\n folder_type: string;\r\n how_long_ago: number;\r\n folder_uid: string;\r\n folder_key: string;\r\n data: string;\r\n extra: string;\r\n non_shared_data: string;\r\n file_ids: string[];\r\n}\r\nexport declare class RecordUpdateCommand extends AuthorizedCommand {\r\n constructor();\r\n pt: string;\r\n client_time: number;\r\n add_records: RecordUpdateRecord[];\r\n update_records: RecordUpdateRecord[];\r\n remove_records: string[];\r\n delete_records: string[];\r\n}\r\nexport interface RecordUpdateRecord {\r\n record_uid: string;\r\n record_key?: string;\r\n data: string;\r\n extra?: string;\r\n udata?: any;\r\n non_shared_data?: any;\r\n revision: number;\r\n version: number;\r\n client_modified_time: number;\r\n shared_folder_id?: string;\r\n team_uid?: string;\r\n}\r\nexport declare class RequestDownloadCommand extends AuthorizedCommand<RequestDownloadResponse> {\r\n constructor();\r\n record_uid: string;\r\n file_ids: string[];\r\n shared_folder_uid: string;\r\n team_uid: string;\r\n}\r\nexport interface RequestDownloadResponse extends KeeperResponse {\r\n downloads: {\r\n success_status_code: number;\r\n url: string;\r\n }[];\r\n}\r\nexport declare class RequestUploadCommand extends AuthorizedCommand<RequestUploadResponse> {\r\n constructor();\r\n file_count: number;\r\n thumbnail_count: number;\r\n}\r\nexport interface RequestUploadResponse extends KeeperResponse {\r\n file_uploads: FileUpload[];\r\n thumbnail_uploads: FileUpload[];\r\n}\r\nexport interface FileUpload {\r\n file_parameter: 'file';\r\n file_id: string;\r\n success_status_code: number;\r\n parameters: {\r\n signature: string;\r\n success_action_status: number;\r\n AWSAccessKeyId: string;\r\n acl: 'private';\r\n 'x-amz-security-token': string;\r\n key: string;\r\n policy: string;\r\n };\r\n max_size: number;\r\n url: string;\r\n}\r\nexport declare class PreDeleteCommand extends AuthorizedCommand<PreDeleteResponse> {\r\n constructor();\r\n objects: DeleteObject[];\r\n}\r\nexport interface DeleteObject {\r\n object_uid: string;\r\n object_type: 'record' | 'user_folder' | 'shared_folder' | 'shared_folder_folder';\r\n from_uid?: string;\r\n from_type: 'user_folder' | 'shared_folder' | 'shared_folder_folder';\r\n delete_resolution: 'unlink';\r\n}\r\nexport interface PreDeleteResponse extends KeeperResponse {\r\n pre_delete_response: {\r\n pre_delete_token: string;\r\n would_delete: {\r\n deletion_summary: string[];\r\n };\r\n };\r\n}\r\nexport declare class DeleteCommand extends AuthorizedCommand<DeleteResponse> {\r\n constructor();\r\n pre_delete_token: string;\r\n}\r\nexport interface DeleteResponse extends KeeperResponse {\r\n revision: number;\r\n}\r\nexport declare class UndeleteRecordCommand extends AuthorizedCommand {\r\n constructor();\r\n record_uid: string;\r\n revision: number;\r\n}\r\nexport declare class GetDeletedRecordsCommand extends AuthorizedCommand<GetDeletedRecordsResponse> {\r\n private client_time;\r\n constructor();\r\n}\r\nexport interface DeletedRecord {\r\n record_uid: string;\r\n revision: number;\r\n client_modified_time: number;\r\n data: string;\r\n record_key: string;\r\n record_key_type: number;\r\n date_deleted: number;\r\n breach_watch_data?: string;\r\n}\r\nexport interface GetDeletedRecordsResponse extends KeeperResponse {\r\n records: DeletedRecord[];\r\n}\r\nexport declare class PurgeDeletedRecordsCommand extends AuthorizedCommand {\r\n constructor();\r\n}\r\nexport declare class RecordShareUpdateCommand extends AuthorizedCommand<RecordShareUpdateResponse> {\r\n constructor();\r\n pt: string;\r\n add_shares: ShareObject[];\r\n update_shares: ShareObject[];\r\n remove_shares: ShareObject[];\r\n}\r\nexport interface ShareObject {\r\n record_uid: string;\r\n to_username?: string;\r\n record_key?: string;\r\n use_ecc_key?: boolean;\r\n editable?: boolean;\r\n shareable?: boolean;\r\n transfer?: boolean;\r\n shared_folder_uid?: string;\r\n team_uid?: string;\r\n}\r\nexport interface RecordShareUpdateResponse extends KeeperResponse {\r\n add_statuses: ShareStatus[];\r\n update_statuses: ShareStatus[];\r\n remove_statuses: ShareStatus[];\r\n}\r\nexport interface ShareStatus {\r\n record_uid: string;\r\n status: 'success' | 'pending_accept' | 'user_not_found' | 'already_shared' | 'not_allowed_to_share' | 'access_denied' | 'not_allowed_to_set_permission';\r\n message: string;\r\n username: string;\r\n}\r\nexport declare class FolderAddCommand extends AuthorizedCommand<FolderAddResponse> {\r\n constructor();\r\n folder_uid: string;\r\n folder_type: 'user_folder' | 'shared_folder' | 'shared_folder_folder';\r\n key: string;\r\n parent_uid: string;\r\n shared_folder_uid: string;\r\n name: string;\r\n data: string;\r\n manage_users: boolean;\r\n manage_records: boolean;\r\n can_edit: boolean;\r\n can_share: boolean;\r\n link: boolean;\r\n}\r\nexport interface FolderAddResponse extends KeeperResponse {\r\n revision: number;\r\n}\r\nexport declare class SharedFolderUpdateCommand extends AuthorizedCommand<SharedFolderUpdateResponse> {\r\n constructor();\r\n pt: string;\r\n operation: 'add' | 'delete' | 'update';\r\n shared_folder_uid: string;\r\n from_team_uid: string;\r\n name: string;\r\n revision: number;\r\n add_users: UserObject[];\r\n add_teams: TeamObject[];\r\n add_records: RecordObject[];\r\n update_users: UserObject[];\r\n update_teams: TeamObject[];\r\n update_records: RecordObject[];\r\n remove_users: UserObject[];\r\n remove_teams: TeamObject[];\r\n remove_records: RecordObject[];\r\n force_update: boolean;\r\n default_manage_users: boolean;\r\n default_manage_records: boolean;\r\n default_can_edit: boolean;\r\n default_can_share: boolean;\r\n}\r\nexport interface UserObject {\r\n username: string;\r\n manage_users: boolean;\r\n manage_records: boolean;\r\n shared_folder_key: string;\r\n}\r\nexport interface TeamObject {\r\n team_uid: string;\r\n manage_users: boolean;\r\n manage_records: boolean;\r\n shared_folder_key: string;\r\n}\r\nexport interface RecordObject {\r\n record_uid: string;\r\n shared_folder_uid: string;\r\n team_uid: string;\r\n can_edit: boolean;\r\n can_share_boolean: any;\r\n}\r\nexport interface SharedFolderUpdateResponse extends KeeperResponse {\r\n add_users: SharedFolderUpdateUserStatus[];\r\n update_users: SharedFolderUpdateUserStatus[];\r\n remove_users: SharedFolderUpdateUserStatus[];\r\n add_records: SharedFolderUpdateRecordStatus[];\r\n update_records: SharedFolderUpdateRecordStatus[];\r\n remove_records: SharedFolderUpdateRecordStatus[];\r\n}\r\nexport interface SharedFolderUpdateUserStatus {\r\n username: string;\r\n status: 'success' | 'invited' | 'invalid_user' | 'non_group_member';\r\n}\r\nexport interface SharedFolderUpdateRecordStatus {\r\n username: string;\r\n status: 'success' | 'access_denied';\r\n}\r\nexport declare class MoveCommand extends AuthorizedCommand {\r\n constructor();\r\n to_type: 'user_folder' | 'shared_folder' | 'shared_folder_folder';\r\n to_uid?: string;\r\n link: boolean;\r\n move: MoveObject[];\r\n transition_keys: TransitionKeyObject[];\r\n}\r\nexport interface MoveObject {\r\n type: 'record' | 'user_folder' | 'shared_folder' | 'shared_folder_folder';\r\n uid: string;\r\n from_type: 'user_folder' | 'shared_folder' | 'shared_folder_folder';\r\n from_uid?: string;\r\n can_edit?: boolean;\r\n can_reshare?: boolean;\r\n cascade: boolean;\r\n}\r\nexport interface TransitionKeyObject {\r\n uid: string;\r\n key: string;\r\n}\r\nexport declare class PublicKeysCommand extends AuthorizedCommand<PublicKeysResponse> {\r\n constructor();\r\n key_owners: string[];\r\n}\r\nexport interface PublicKeysResponse extends KeeperResponse {\r\n public_keys: {\r\n key_owner: string;\r\n public_key: string;\r\n result_code?: 'bad_inputs_key_owners' | 'Email_not_valid' | 'Failed_to_find_user' | 'missing_public_key' | 'cross_region_sharing_error';\r\n message: string;\r\n }[];\r\n}\r\nexport declare class GetRecordsCommand extends AuthorizedCommand<GetRecordsResponse> {\r\n constructor();\r\n include: GetRecordsInclude[];\r\n records: GetRecordsRecord[];\r\n client_time: number;\r\n}\r\nexport declare type GetRecordsInclude = 'data' | 'shares';\r\nexport declare type GetRecordsRecord = {\r\n record_uid?: string;\r\n shared_folder_uid?: string;\r\n team_uid?: string;\r\n};\r\nexport interface GetRecordsResponse extends KeeperResponse {\r\n records: RecordData[];\r\n}\r\nexport declare class EditUserCommand extends AuthorizedCommand {\r\n constructor();\r\n email: string;\r\n}\r\nexport declare class ShareAccountCommand extends AuthorizedCommand {\r\n constructor();\r\n to_role_id: number;\r\n transfer_key: string;\r\n}\r\nexport declare class SendKeyVerificationCodeCommand extends KeeperCommand {\r\n constructor();\r\n device_id: string;\r\n email: string;\r\n}\r\nexport declare class SetTwoFactorAuthCommand extends AuthorizedCommand<SetTwoFactorAuthResponse> {\r\n constructor();\r\n version: number;\r\n channel: TwoFactorChannel;\r\n channel_value: string;\r\n device_token_expire_days: number;\r\n}\r\nexport interface SetTwoFactorAuthResponse extends KeeperResponse {\r\n device_token: string;\r\n backup_codes: string[];\r\n dt_scope: string;\r\n}\r\nexport declare class TwoFactorSettingsCommand extends AuthorizedCommand {\r\n constructor();\r\n}\r\nexport declare class GetPushInfoCommand extends AuthorizedCommand<GetPushInfoResponse> {\r\n constructor();\r\n type: 'USER' | 'DNA' | 'CHAT';\r\n}\r\nexport interface GetPushInfoResponse extends KeeperResponse {\r\n urk: string;\r\n}\r\nexport declare class VerifyUserCommand extends KeeperCommand {\r\n constructor();\r\n username: string;\r\n code: string;\r\n requestor: string;\r\n}\r\nexport declare type EnterpriseDataInclude = \"nodes\" | \"users\" | \"roles\" | \"role_enforcements\" | \"role_privileges\" | \"role_users\" | \"managed_nodes\" | \"managed_companies\" | \"licenses\" | \"team_users\" | \"teams\" | \"role_keys\" | \"role_keys2\" | \"queued_teams\" | \"queued_team_users\" | \"bridges\" | \"scims\" | \"email_provision\" | \"sso_services\" | \"user_privileges\";\r\nexport declare type KeyType = \"encrypted_by_data_key\" | \"encrypted_by_public_key\" | \"no_key\";\r\nexport declare class GetEnterpriseDataCommand extends AuthorizedCommand<GetEnterpriseDataResponse> {\r\n constructor();\r\n include: EnterpriseDataInclude[];\r\n}\r\nexport declare type EnterpriseSettingInclude = \"AuditSyncConfig\" | \"AuditSyncContext\" | \"AuditAlertsConfig\" | \"BackupConfig\" | \"AuditReportFilter\" | \"AuditAlertFilter\" | \"AuditAlertContext\" | \"RDControllerConfig\";\r\nexport declare class GetEnterpriseSettingCommand extends AuthorizedCommand<GetEnterpriseSettingsResponse> {\r\n constructor();\r\n include: EnterpriseSettingInclude[];\r\n}\r\nexport interface GetEnterpriseSettingsResponse extends KeeperResponse {\r\n AuditSyncConfig: any[];\r\n AuditSyncContext: any[];\r\n AuditAlertsConfig: any[];\r\n BackupConfig: any[];\r\n AuditReportFilter: any[];\r\n AuditAlertFilter: any[];\r\n AuditAlertContext: any[];\r\n}\r\nexport declare class PutEnterpriseSettingCommand extends AuthorizedCommand {\r\n constructor();\r\n type: EnterpriseSettingInclude;\r\n settings: any;\r\n}\r\nexport declare class EnterpriseUserLockCommand extends AuthorizedCommand {\r\n constructor();\r\n enterprise_user_id: number;\r\n lock: \"locked\" | \"disabled\" | \"unlocked\";\r\n}\r\nexport declare class EnterpriseNodeToManagedCompanyCommand extends AuthorizedCommand {\r\n constructor();\r\n managed_company_id: number;\r\n nodes: Pick<Node, \"encrypted_data\" | \"node_id\" | \"displayName\">[];\r\n roles: Pick<Role, \"encrypted_data\" | \"role_id\" | \"displayName\">[];\r\n users: Pick<User, \"encrypted_data\" | \"enterprise_user_id\" | \"displayName\">[];\r\n}\r\nexport declare class EnterpriseAllocateIdsCommand extends AuthorizedCommand<EnterpriseAllocateIdsResponse> {\r\n constructor();\r\n number_requested: number;\r\n}\r\nexport interface EnterpriseAllocateIdsResponse extends KeeperResponse {\r\n base_id: number;\r\n number_allocated: number;\r\n}\r\nexport declare class NodeAddCommand extends AuthorizedCommand {\r\n constructor(nodeId: number, parentId: number, encryptedData: string);\r\n private node_id;\r\n private parent_id;\r\n private encrypted_data;\r\n}\r\nexport declare class RoleAddCommand extends AuthorizedCommand {\r\n constructor(roleId: number, nodeId: number, encryptedData: string);\r\n private role_id;\r\n private node_id;\r\n private encrypted_data;\r\n visible_below: boolean;\r\n new_user_inherit: boolean;\r\n}\r\nexport declare class TeamAddCommand extends AuthorizedCommand {\r\n constructor(team_uid: string, team_name: string, node_id: number, public_key: string, private_key: string, team_key: string, encrypted_team_key: string);\r\n team_uid: string;\r\n team_name: string;\r\n node_id: number;\r\n public_key: string;\r\n private_key: string;\r\n team_key: string;\r\n encrypted_team_key: string;\r\n restrict_edit: boolean;\r\n restrict_share: boolean;\r\n restrict_view: boolean;\r\n manage_only: boolean;\r\n}\r\nexport declare class EnterpriseUserAddCommand extends AuthorizedCommand<EnterpriseUserAddResponse> {\r\n constructor(enterprise_user_id: number, email: string, nodeId: number, encryptedData: string);\r\n private enterprise_user_id;\r\n private node_id;\r\n private encrypted_data;\r\n private enterprise_user_username;\r\n}\r\nexport interface EnterpriseUserAddResponse extends KeeperResponse {\r\n verification_code: string;\r\n}\r\nexport declare class TeamEnterpriseUserAddCommand extends AuthorizedCommand {\r\n constructor(user_type: number, enterprise_user_id: number, team_uid: string, team_key: string);\r\n private user_type;\r\n private enterprise_user_id;\r\n private team_uid;\r\n private team_key;\r\n}\r\nexport declare class TeamEnterpriseUserRemoveCommand extends AuthorizedCommand {\r\n constructor(enterprise_user_id: number, team_uid: string);\r\n private enterprise_user_id;\r\n private team_uid;\r\n}\r\nexport declare class TeamQueueUserCommand extends AuthorizedCommand {\r\n constructor(enterprise_user_id: number, team_uid: string);\r\n private enterprise_user_id;\r\n private team_uid;\r\n}\r\nexport declare class EnterpriseRegistrationByMspCommand extends AuthorizedCommand<EnterpriseRegistrationByMspResponse> {\r\n constructor();\r\n root_node: string;\r\n role_data: string;\r\n product_id: string;\r\n enterprise_name: string;\r\n node_id: number;\r\n seats: number;\r\n encrypted_tree_key: string;\r\n}\r\nexport interface EnterpriseRegistrationByMspResponse extends KeeperResponse {\r\n enterprise_id: number;\r\n}\r\nexport declare class SendInviteCommand extends AuthorizedCommand {\r\n constructor();\r\n to_email: string[];\r\n}\r\nexport declare class AcceptEnterpriseInviteCommand extends AuthorizedCommand {\r\n constructor();\r\n verification_code: string;\r\n}\r\nexport declare class ResendEnterpriseInviteCommand extends AuthorizedCommand {\r\n constructor();\r\n enterprise_user_id: number;\r\n}\r\nexport declare class SsoServiceProviderAddCommand extends AuthorizedCommand {\r\n constructor();\r\n sso_service_provider_id: number;\r\n node_id: number;\r\n sp_data_key: string;\r\n name: string;\r\n invite_new_users: true;\r\n is_cloud: true;\r\n}\r\nexport declare class SsoServiceProviderUpdateCommand extends AuthorizedCommand {\r\n constructor();\r\n sso_service_provider_id: number;\r\n node_id: number;\r\n sp_data_key: string;\r\n name: string;\r\n invite_new_users: true;\r\n is_cloud: true;\r\n}\r\nexport declare class SsoServiceProviderDeleteCommand extends AuthorizedCommand {\r\n constructor();\r\n sso_service_provider_id: number;\r\n}\r\nexport declare class GetAuditEventReportsCommand extends AuthorizedCommand<GetAuditEventReportsResponse> {\r\n constructor();\r\n filter: {\r\n created?: 'today' | 'yesterday' | 'last_7_days' | 'last_30_days' | 'month_to_date' | 'last_month' | 'year_to_date' | 'last_year';\r\n audit_event_type?: string[];\r\n };\r\n limit: number;\r\n order: 'descending' | 'ascending';\r\n report_type: 'raw' | 'hour' | 'day' | 'week' | 'month' | 'span';\r\n scope: 'enterprise' | 'user';\r\n timezone: string;\r\n}\r\nexport interface GetAuditEventReportsResponse extends KeeperResponse {\r\n timezone: string;\r\n audit_event_overview_report_rows: AuditEventOverviewReportRow[];\r\n}\r\ninterface AuditEventOverviewReportRow {\r\n geo_location: string;\r\n keeper_version_category: string;\r\n audit_event_type: string;\r\n created: number;\r\n keeper_version: string;\r\n id: number;\r\n ip_address?: string;\r\n username: string;\r\n node_id: number;\r\n node?: string;\r\n role_id?: string;\r\n enforcement?: string;\r\n value?: string;\r\n}\r\nexport interface KeeperHttpResponse {\r\n statusCode: number;\r\n headers: any;\r\n data: Uint8Array;\r\n}\r\nexport interface KeeperResponse {\r\n command: string;\r\n result: string;\r\n result_code: string;\r\n message: string;\r\n}\r\nexport interface SyncLog {\r\n countryCode: string;\r\n ipAddress: string;\r\n deviceUID: string;\r\n countryName: string;\r\n secondsAgo: number;\r\n deviceName: string;\r\n}\r\nexport interface Keys {\r\n data_key_backup_date: number;\r\n encrypted_private_key: string;\r\n encryption_params: string;\r\n encrypted_data_key: string;\r\n}\r\nexport interface License {\r\n breach_watch_date_created: number;\r\n account_type: number;\r\n seconds_until_storage_expiration: number;\r\n storage_expiration_date: string;\r\n breach_watch_enabled: boolean;\r\n breach_watch_scanned: boolean;\r\n chat_enabled: boolean;\r\n product_type_id: number;\r\n bytes_total: number;\r\n expiration_date: string;\r\n breach_watch_expiration: number;\r\n audit_and_reporting_enabled: boolean;\r\n subscription_code: string;\r\n breach_watch_feature_disable: boolean;\r\n max_devices: number;\r\n bytes_used: number;\r\n product_type_name: string;\r\n file_plan_type: number;\r\n seconds_until_expiration: number;\r\n has_auto_renewable_appstore_subscriptions: boolean;\r\n}\r\nexport interface PasswordRule {\r\n rule_type: string;\r\n match: boolean;\r\n pattern: string;\r\n description: string;\r\n minimum: number;\r\n}\r\nexport interface Settings {\r\n security_keys: any[];\r\n rsa_configured: boolean;\r\n audit: boolean;\r\n password_rules: PasswordRule[];\r\n password_rules_intro: string;\r\n channel: string;\r\n theme: string;\r\n master_password_last_modified: number;\r\n}\r\nexport declare enum LoginResponseResultCode {\r\n Success = \"auth_success\",\r\n AuthExpired = \"auth_expired\",\r\n AuthExpiredTransfer = \"auth_expired_transfer\",\r\n AuthFailed = \"auth_failed\",\r\n RegionRedirect = \"region_redirect\",\r\n NeedTOTP = \"need_totp\",\r\n InvalidTOTP = \"invalid_totp\",\r\n InvalidDeviceToken = \"invalid_device_token\",\r\n InvalidBackupCode = \"invalid_backup_code\",\r\n FailedSending = \"failed_sending\",\r\n NotEnrolled = \"not_enrolled\",\r\n Throttled = \"throttled\",\r\n AccountLocked = \"account_locked\",\r\n NotAuthorized = \"not_authorized\",\r\n VersionIncompatible = \"version_incompatible\",\r\n IPAddressNotAllowed = \"ip_address_not_allowed\",\r\n RestrictedClientType = \"restricted_client_type\"\r\n}\r\ndeclare type TwoFactorChannel = \"two_factor_disabled\" | \"two_factor_channel_sms\" | \"two_factor_channel_voice\" | \"two_factor_channel_email\" | \"two_factor_channel_google\" | \"two_factor_channel_rsa\" | \"two_factor_channel_push\" | \"two_factor_channel_duo\" | \"two_factor_channel_u2f\" | \"two_factor_channel_security_keys\";\r\nexport interface LoginResponse extends KeeperResponse {\r\n session_token: string;\r\n client_key: string;\r\n settings: Settings;\r\n is_enterprise_admin: boolean;\r\n license: License;\r\n result_code: LoginResponseResultCode;\r\n region_host?: string;\r\n keys: Keys;\r\n sync_log: SyncLog[];\r\n enforcements: any;\r\n capabilities: string[];\r\n phone: string;\r\n channel: TwoFactorChannel;\r\n url: string;\r\n u2f_challenge?: string | U2FChallenge;\r\n}\r\nexport interface U2FChallenge {\r\n authenticateRequests: AuthenticateRequest[];\r\n}\r\nexport interface AuthenticateRequest {\r\n challenge: string;\r\n appId: string;\r\n keyHandle: string;\r\n version: string;\r\n}\r\nexport interface SharedFolder {\r\n default_can_edit: boolean;\r\n full_sync: boolean;\r\n name: string;\r\n data: string;\r\n key_type: number;\r\n records: SharedFolderRecord[];\r\n default_can_share: boolean;\r\n default_manage_records: boolean;\r\n default_manage_users: boolean;\r\n shared_folder_uid: string;\r\n revision: number;\r\n manage_users: boolean;\r\n manage_records: boolean;\r\n shared_folder_key: string;\r\n}\r\nexport interface SharedFolderRecord {\r\n record_uid: string;\r\n record_key: string;\r\n can_share: boolean;\r\n can_edit: boolean;\r\n}\r\nexport interface Team {\r\n restrict_edit: boolean;\r\n team_private_key: string;\r\n name: string;\r\n team_key_type: number;\r\n restrict_view: boolean;\r\n team_key: string;\r\n shared_folder_keys: TeamSharedFolderKey[];\r\n team_uid: string;\r\n restrict_share: boolean;\r\n}\r\nexport interface TeamSharedFolderKey {\r\n key_type: number;\r\n shared_folder_key: string;\r\n shared_folder_uid: string;\r\n}\r\nexport interface RecordData {\r\n record_uid: string;\r\n version: number;\r\n revision?: number;\r\n client_modified_time?: number;\r\n data?: string;\r\n extra?: string;\r\n udata?: {\r\n file_ids: string[];\r\n };\r\n shared?: boolean;\r\n user_permissions?: UserPermission[];\r\n owner_uid?: string;\r\n link_key?: string;\r\n}\r\nexport interface UserPermission {\r\n owner: boolean;\r\n shareable: boolean;\r\n editable: boolean;\r\n awaiting_approval: boolean;\r\n username: string;\r\n}\r\nexport interface RecordMetaData {\r\n record_uid: string;\r\n owner: boolean;\r\n record_key: string;\r\n can_share: boolean;\r\n can_edit: boolean;\r\n record_key_type: number;\r\n}\r\nexport interface NonSharedData {\r\n record_uid: string;\r\n data: string;\r\n}\r\nexport interface SyncResponse extends KeeperResponse {\r\n full_sync: boolean;\r\n non_shared_data: NonSharedData[];\r\n records: RecordData[];\r\n record_meta_data: RecordMetaData[];\r\n removed_records: string[];\r\n result_code: string;\r\n revision: number;\r\n shared_folders: SharedFolder[];\r\n shared_folder_folder_records: {\r\n record_uid: string;\r\n folder_uid: string;\r\n shared_folder_uid: string;\r\n revision: number;\r\n }[];\r\n teams: Team[];\r\n user_folder_shared_folders: {\r\n shared_folder_uid: string;\r\n revision: number;\r\n }[];\r\n}\r\nexport interface GetEnterpriseDataResponse extends KeeperResponse {\r\n enterprise_name: string;\r\n tree_key: string;\r\n key_type_id: number;\r\n nodes: Node[];\r\n roles: Role[];\r\n users: User[];\r\n teams: CompanyTeam[];\r\n team_users: TeamUser[];\r\n role_users: RoleUser[];\r\n managed_nodes: ManagedNode[];\r\n role_privileges: RolePrivilege[];\r\n user_privileges: UserPrivileges;\r\n role_enforcements: RoleEnforcement[];\r\n licenses: EnterpriseLicense[];\r\n role_keys: RoleKey[];\r\n role_keys2: RoleKeys2[];\r\n sso_services: SsoService[];\r\n queued_team_users: QueuedTeamUser[];\r\n bridges: Bridge[];\r\n scims?: SCIM[];\r\n email_provision?: EmailProvision[];\r\n msp_key?: MSPKey;\r\n managed_companies?: ManagedCompany[];\r\n}\r\nexport interface UserPrivileges {\r\n enterprise_user_id: number;\r\n managed_nodes: ManagedNode[];\r\n encrypted_data: string;\r\n}\r\nexport interface ManagedNode {\r\n node: number;\r\n privileges: string[];\r\n cascade_management: boolean;\r\n role_id: number;\r\n cascade_node_management: boolean;\r\n managed_node_id: number;\r\n}\r\nexport interface User {\r\n displayName?: string;\r\n key_type: KeyType;\r\n user_id?: number;\r\n lock: number;\r\n enterprise_user_id: number;\r\n node_id: number;\r\n encrypted_data: string;\r\n username: string;\r\n status: \"active\" | \"invited\";\r\n account_share_expiration?: number;\r\n roles?: Role[];\r\n teams?: CompanyTeam[];\r\n}\r\nexport interface Role {\r\n displayName?: string;\r\n visible_below: boolean;\r\n new_user_inherit: boolean;\r\n role_id: number;\r\n node_id: number;\r\n encrypted_data: string;\r\n key_type: KeyType;\r\n role_type: \"pool_manager\" | undefined;\r\n}\r\nexport interface Node {\r\n rsa_enabled: boolean;\r\n duo_enabled: boolean;\r\n license_id: number;\r\n node_id: number;\r\n encrypted_data: string;\r\n parent_id?: number;\r\n sso_service_provider_id?: number;\r\n scim_id?: number;\r\n displayName?: string;\r\n nodes?: Node[];\r\n roles?: Role[];\r\n teams?: CompanyTeam[];\r\n users?: User[];\r\n}\r\nexport interface ManagedCompany {\r\n mc_enterprise_name: string;\r\n mc_enterprise_id: number;\r\n msp_node_id: number;\r\n tree_key: string;\r\n product_id: string;\r\n number_of_users: number;\r\n number_of_seats: number;\r\n paused: boolean;\r\n}\r\nexport interface RolePrivilege {\r\n role_id: number;\r\n managed_node_id: number;\r\n privilege: string;\r\n}\r\nexport interface RoleEnforcement {\r\n enforcements: Enforcements;\r\n role_id: number;\r\n}\r\nexport interface Enforcements {\r\n restrict_two_factor_channel_dna?: boolean;\r\n master_password_minimum_lower?: number;\r\n master_password_minimum_upper?: number;\r\n restrict_android_fingerprint?: boolean;\r\n restrict_two_factor_channel_text?: boolean;\r\n require_account_share?: number;\r\n master_password_minimum_length: number;\r\n master_password_minimum_special?: number;\r\n master_password_minimum_digits?: number;\r\n}\r\nexport interface RoleUser {\r\n role_id: number;\r\n enterprise_user_id: number;\r\n}\r\nexport interface RoleKey {\r\n key_type: KeyType;\r\n role_id: number;\r\n encrypted_key: string;\r\n}\r\nexport interface EnterpriseLicense {\r\n file_plan: number;\r\n storage_expiration_date: string;\r\n product_type_id: number;\r\n license_key_id: number;\r\n tier: number;\r\n lic_status: 'business' | 'business_trial' | 'enterprise' | 'msp' | 'msp_trial' | 'mc_business' | 'mc_business_plus' | 'mc_enterprise' | 'mc_enterprise_plus';\r\n paid: boolean;\r\n name: string;\r\n seats_pending: number;\r\n max_gb: number;\r\n add_ons: AddOn[];\r\n expiration: string;\r\n seats_allocated: number;\r\n number_of_seats: number;\r\n enterprise_license_id: number;\r\n msp_pool?: MSPProductLicense[];\r\n}\r\nexport interface MSPProductLicense {\r\n product_id: \"business\" | \"businessPlus\" | \"enterprise\" | \"enterprisePlus\";\r\n seats: number;\r\n availableSeats: number;\r\n}\r\nexport interface AddOn {\r\n chat_isTrial?: boolean;\r\n chat_enabled?: boolean;\r\n chat_expiration?: number;\r\n chat_created?: number;\r\n enterprise_audit_and_reporting_isTrial?: boolean;\r\n enterprise_audit_and_reporting_expiration?: number;\r\n enterprise_audit_and_reporting_created?: number;\r\n enterprise_audit_and_reporting_enabled?: boolean;\r\n onboarding_and_certificate_isTrial?: boolean;\r\n onboarding_and_certificate_created?: number;\r\n onboarding_and_certificate_expiration?: number;\r\n onboarding_and_certificate_enabled?: boolean;\r\n}\r\nexport interface TeamUser {\r\n user_type: number;\r\n enterprise_user_id: number;\r\n team_uid: string;\r\n}\r\nexport interface CompanyTeam {\r\n restrict_sharing: boolean;\r\n restrict_edit: boolean;\r\n name: string;\r\n encrypted_team_key: string;\r\n restrict_view: boolean;\r\n team_uid: string;\r\n node_id: number;\r\n encrypted_data?: string;\r\n}\r\nexport interface Bridge {\r\n bridge_id: number;\r\n node_id: number;\r\n status: string;\r\n}\r\nexport interface SCIM {\r\n scim_id: number;\r\n node_id: number;\r\n status: string;\r\n last_synced: number;\r\n}\r\nexport interface EmailProvision {\r\n id: number;\r\n node_id: number;\r\n domain: string;\r\n method: string;\r\n}\r\nexport interface QueuedTeamUser {\r\n team_uid: string;\r\n users: number[];\r\n}\r\nexport interface SsoService {\r\n invite_new_users: boolean;\r\n sso_service_provider_id: number;\r\n name: string;\r\n sp_url: string;\r\n active: boolean;\r\n node_id: number;\r\n}\r\nexport interface RoleKeys2 {\r\n role_id: number;\r\n role_key: string;\r\n}\r\nexport interface MSPKey {\r\n encrypted_msp_tree_key: string;\r\n encrypted_msp_tree_key_type: KeyType;\r\n}\r\nexport {};\r\n"}}
@@ -0,0 +1 @@
1
+ {"code":"import { __awaiter } from \"tslib\";\r\nimport { EnterpriseAllocateIdsCommand, GetEnterpriseDataCommand, NodeAddCommand, RoleAddCommand, TeamAddCommand, EnterpriseUserAddCommand } from \"./commands\";\r\nimport { decryptFromStorage, decryptObjectFromStorage, encryptForStorage, encryptObjectForStorage, encryptKey, decryptKey, generateUid, generateEncryptionKey, webSafe64FromBytes, normal64Bytes } from \"./utils\";\r\nimport { platform } from \"./platform\";\r\nexport class Company {\r\n constructor(auth) {\r\n this.auth = auth;\r\n }\r\n load(include) {\r\n return __awaiter(this, void 0, void 0, function* () {\r\n let getEnterpriseDataCommand = new GetEnterpriseDataCommand();\r\n getEnterpriseDataCommand.include = include;\r\n this._data = yield this.auth.executeCommand(getEnterpriseDataCommand);\r\n if (this._data.msp_key) {\r\n let key4TreeKey;\r\n switch (this._data.msp_key.encrypted_msp_tree_key_type) {\r\n case 'encrypted_by_data_key':\r\n key4TreeKey = decryptFromStorage(this._data.msp_key.encrypted_msp_tree_key, this.auth.dataKey);\r\n break;\r\n case 'encrypted_by_public_key':\r\n key4TreeKey = platform.privateDecrypt(normal64Bytes(this._data.msp_key.encrypted_msp_tree_key), this.auth.privateKey);\r\n break;\r\n case 'no_key':\r\n throw new Error('invalid value for encrypted_msp_tree_key_type');\r\n }\r\n this.treeKey = yield decryptKey(this._data.tree_key, key4TreeKey);\r\n }\r\n else {\r\n if (this._data.key_type_id === 1) {\r\n this.treeKey = decryptFromStorage(this._data.tree_key, this.auth.dataKey);\r\n }\r\n else {\r\n this.treeKey = platform.privateDecrypt(normal64Bytes(this._data.tree_key), this.auth.privateKey);\r\n }\r\n }\r\n if (!this._data.roles)\r\n this._data.roles = [];\r\n if (!this._data.teams)\r\n this._data.teams = [];\r\n if (!this._data.users)\r\n this._data.users = [];\r\n for (let node of this._data.nodes) {\r\n node.displayName = decryptObjectFromStorage(node.encrypted_data, this.treeKey).displayname;\r\n if (node.parent_id) {\r\n let parent = this._data.nodes.find(x => x.node_id == node.parent_id);\r\n if (!parent) {\r\n throw new Error(`Unable to find parent for node:${node.parent_id}`);\r\n }\r\n if (!parent.nodes) {\r\n parent.nodes = [];\r\n }\r\n parent.nodes.push(node);\r\n }\r\n }\r\n for (let role of this._data.roles) {\r\n if (role.role_type === \"pool_manager\") {\r\n role.displayName = \"License Purchaser\";\r\n }\r\n else {\r\n switch (role.key_type) {\r\n case \"encrypted_by_data_key\":\r\n role.displayName = decryptObjectFromStorage(role.encrypted_data, this.treeKey).displayname;\r\n break;\r\n case \"encrypted_by_public_key\":\r\n throw \"Not Implemented\";\r\n case \"no_key\":\r\n role.displayName = role.encrypted_data;\r\n break;\r\n }\r\n }\r\n let node = this._data.nodes.find(x => x.node_id == role.node_id);\r\n if (!node) {\r\n throw new Error(`Unable to find node for role:${role.node_id}`);\r\n }\r\n if (!node.roles) {\r\n node.roles = [];\r\n }\r\n node.roles.push(role);\r\n }\r\n for (let team of this._data.teams) {\r\n let node = this._data.nodes.find(x => x.node_id == team.node_id);\r\n if (!node) {\r\n throw new Error(`Unable to find node for team:${team.node_id}`);\r\n }\r\n if (!node.teams) {\r\n node.teams = [];\r\n }\r\n node.teams.push(team);\r\n }\r\n for (let user of this._data.users) {\r\n switch (user.key_type) {\r\n case \"encrypted_by_data_key\":\r\n user.displayName = decryptObjectFromStorage(user.encrypted_data, this.treeKey).displayname;\r\n break;\r\n case \"encrypted_by_public_key\":\r\n throw \"Not Implemented\";\r\n case \"no_key\":\r\n user.displayName = user.encrypted_data;\r\n break;\r\n }\r\n let node = this._data.nodes.find(x => x.node_id == user.node_id);\r\n if (!node) {\r\n throw new Error(`Unable to find node for user:${user.node_id}`);\r\n }\r\n if (!node.users) {\r\n node.users = [];\r\n }\r\n for (let user_role of this._data.role_users || []) {\r\n if (user_role.enterprise_user_id == user.enterprise_user_id) {\r\n if (!user.roles) {\r\n user.roles = [];\r\n }\r\n const role = this._data.roles.find(x => x.role_id === user_role.role_id);\r\n if (!role) {\r\n throw new Error(`Unable to find role for user_role:${user_role.role_id}`);\r\n }\r\n user.roles.push(role);\r\n }\r\n }\r\n for (let user_team of this._data.team_users || []) {\r\n if (user_team.enterprise_user_id == user.enterprise_user_id) {\r\n if (!user.teams) {\r\n user.teams = [];\r\n }\r\n const team = this._data.teams.find(x => x.team_uid === user_team.team_uid);\r\n if (!team) {\r\n throw new Error(`Unable to find team for user_team:${user_team.team_uid}`);\r\n }\r\n user.teams.push(team);\r\n }\r\n }\r\n node.users.push(user);\r\n }\r\n });\r\n }\r\n get data() {\r\n return this._data;\r\n }\r\n encryptDisplayName(displayName) {\r\n return encryptObjectForStorage({\r\n displayname: displayName\r\n }, this.treeKey);\r\n }\r\n encryptForStorage(data) {\r\n return encryptForStorage(data, this.treeKey);\r\n }\r\n encryptKey(key) {\r\n return __awaiter(this, void 0, void 0, function* () {\r\n return encryptKey(key, this.treeKey);\r\n });\r\n }\r\n encryptKeyAsBytes(key) {\r\n return __awaiter(this, void 0, void 0, function* () {\r\n return platform.aesGcmEncrypt(key, this.treeKey);\r\n });\r\n }\r\n decryptKey(encryptedKey) {\r\n return __awaiter(this, void 0, void 0, function* () {\r\n return decryptKey(encryptedKey, this.treeKey);\r\n });\r\n }\r\n allocateIDs(count) {\r\n return __awaiter(this, void 0, void 0, function* () {\r\n let allocateCommand = new EnterpriseAllocateIdsCommand();\r\n allocateCommand.number_requested = count;\r\n let response = yield this.auth.executeCommand(allocateCommand);\r\n return response.base_id;\r\n });\r\n }\r\n addNode(parentNodeId, nodeName) {\r\n return __awaiter(this, void 0, void 0, function* () {\r\n let nodeId = yield this.allocateIDs(1);\r\n let nodeAddCommand = new NodeAddCommand(nodeId, parentNodeId, this.encryptDisplayName(nodeName));\r\n let response = yield this.auth.executeCommand(nodeAddCommand);\r\n return nodeId;\r\n });\r\n }\r\n addRole(nodeId, roleName) {\r\n return __awaiter(this, void 0, void 0, function* () {\r\n let roleId = yield this.allocateIDs(1);\r\n let roleAddCommand = new RoleAddCommand(roleId, nodeId, this.encryptDisplayName(roleName));\r\n let response = yield this.auth.executeCommand(roleAddCommand);\r\n return roleId;\r\n });\r\n }\r\n addTeam(nodeId, teamName) {\r\n return __awaiter(this, void 0, void 0, function* () {\r\n let teamUid = generateUid();\r\n let teamKeyBytes = generateEncryptionKey();\r\n let { privateKey, publicKey } = yield platform.generateRSAKeyPair();\r\n let publicKey64 = webSafe64FromBytes(publicKey);\r\n let encryptedPrivateKey = encryptForStorage(privateKey, teamKeyBytes);\r\n let teamKey = encryptForStorage(teamKeyBytes, this.auth.dataKey);\r\n let encryptedTeamKey = yield this.encryptKey(teamKeyBytes);\r\n let teamAddCommand = new TeamAddCommand(teamUid, teamName, nodeId, publicKey64, encryptedPrivateKey, teamKey, encryptedTeamKey);\r\n let response = yield this.auth.executeCommand(teamAddCommand);\r\n });\r\n }\r\n addUser(nodeId, email, userName) {\r\n return __awaiter(this, void 0, void 0, function* () {\r\n let userId = yield this.allocateIDs(1);\r\n let userAddCommand = new EnterpriseUserAddCommand(userId, email, nodeId, this.encryptDisplayName(userName));\r\n let response = yield this.auth.executeCommand(userAddCommand);\r\n let verification_code = response.verification_code;\r\n return { userId, verification_code };\r\n });\r\n }\r\n}\r\n//# sourceMappingURL=company.js.map","references":["/Users/saldoukhov/Documents/Code/Keeper/keeper-sdk-javascript/keeperapi/src/auth.ts","/Users/saldoukhov/Documents/Code/Keeper/keeper-sdk-javascript/keeperapi/src/commands.ts","/Users/saldoukhov/Documents/Code/Keeper/keeper-sdk-javascript/keeperapi/src/utils.ts","/Users/saldoukhov/Documents/Code/Keeper/keeper-sdk-javascript/keeperapi/src/platform.ts"],"map":"{\"version\":3,\"file\":\"company.js\",\"sourceRoot\":\"\",\"sources\":[\"../../src/company.ts\"],\"names\":[],\"mappings\":\";AACA,OAAO,EACH,4BAA4B,EAE5B,wBAAwB,EAExB,cAAc,EACd,cAAc,EACd,cAAc,EACd,wBAAwB,EAC3B,MAAM,YAAY,CAAC;AACpB,OAAO,EACH,kBAAkB,EAClB,wBAAwB,EACxB,iBAAiB,EACjB,uBAAuB,EACvB,UAAU,EACV,UAAU,EACV,WAAW,EACX,qBAAqB,EACrB,kBAAkB,EAAE,aAAa,EACpC,MAAM,SAAS,CAAC;AACjB,OAAO,EAAC,QAAQ,EAAC,MAAM,YAAY,CAAC;AAEpC,MAAM,OAAO,OAAO;IAKhB,YAAoB,IAAU;QAAV,SAAI,GAAJ,IAAI,CAAM;IAC9B,CAAC;IAEK,IAAI,CAAC,OAAgC;;YACvC,IAAI,wBAAwB,GAAG,IAAI,wBAAwB,EAAE,CAAC;YAC9D,wBAAwB,CAAC,OAAO,GAAG,OAAO,CAAC;YAE3C,IAAI,CAAC,KAAK,GAAG,MAAM,IAAI,CAAC,IAAI,CAAC,cAAc,CAAC,wBAAwB,CAAC,CAAC;YAEtE,IAAI,IAAI,CAAC,KAAK,CAAC,OAAO,EAAE;gBACpB,IAAI,WAAW,CAAA;gBACf,QAAQ,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,2BAA2B,EAAE;oBACpD,KAAK,uBAAuB;wBACxB,WAAW,GAAG,kBAAkB,CAAC,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,sBAAsB,EAAE,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;wBAC/F,MAAM;oBACV,KAAK,yBAAyB;wBAC1B,WAAW,GAAG,QAAQ,CAAC,cAAc,CAAC,aAAa,CAAC,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC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C;QAClE,CAAC;KAAA;IAEK,OAAO,CAAC,MAAc,EAAE,KAAa,EAAE,QAAgB;;YACzD,IAAI,MAAM,GAAG,MAAM,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC;YACvC,IAAI,cAAc,GAAG,IAAI,wBAAwB,CAAC,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,CAAC,kBAAkB,CAAC,QAAQ,CAAC,CAAC,CAAC;YAC5G,IAAI,QAAQ,GAAG,MAAM,IAAI,CAAC,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,CAAC;YAC9D,IAAI,iBAAiB,GAAG,QAAQ,CAAC,iBAAiB,CAAC;YACnD,OAAO,EAAC,MAAM,EAAE,iBAAiB,EAAC,CAAC;QACvC,CAAC;KAAA;CACJ\"}","dts":{"name":"/Users/saldoukhov/Documents/Code/Keeper/keeper-sdk-javascript/keeperapi/company.d.ts","writeByteOrderMark":false,"text":"import { Auth } from \"./auth\";\r\nimport { EnterpriseDataInclude, GetEnterpriseDataResponse } from \"./commands\";\r\nexport declare class Company {\r\n private auth;\r\n private _data;\r\n private treeKey;\r\n constructor(auth: Auth);\r\n load(include: EnterpriseDataInclude[]): Promise<void>;\r\n get data(): GetEnterpriseDataResponse;\r\n encryptDisplayName(displayName: string): string;\r\n encryptForStorage(data: Uint8Array): string;\r\n encryptKey(key: Uint8Array): Promise<string>;\r\n encryptKeyAsBytes(key: Uint8Array): Promise<Uint8Array>;\r\n decryptKey(encryptedKey: string): Promise<Uint8Array>;\r\n allocateIDs(count: number): Promise<number>;\r\n addNode(parentNodeId: number, nodeName: string): Promise<number>;\r\n addRole(nodeId: number, roleName: string): Promise<number>;\r\n addTeam(nodeId: number, teamName: string): Promise<void>;\r\n addUser(nodeId: number, email: string, userName: string): Promise<{\r\n userId: number;\r\n verification_code: string;\r\n }>;\r\n}\r\nexport declare type EncryptedData = {\r\n displayname: string;\r\n};\r\n"}}
@@ -0,0 +1 @@
1
+ {"code":"export class KeyWrapper {\r\n static create(key) {\r\n const wrapper = new KeyWrapper();\r\n wrapper.key = key;\r\n return wrapper;\r\n }\r\n getKey() {\r\n return this.key;\r\n }\r\n}\r\nexport function connectPlatform(p) {\r\n platform = p;\r\n}\r\nexport let platform;\r\n//# sourceMappingURL=platform.js.map","references":["/Users/saldoukhov/Documents/Code/Keeper/keeper-sdk-javascript/keeperapi/src/commands.ts","/Users/saldoukhov/Documents/Code/Keeper/keeper-sdk-javascript/keeperapi/src/auth.ts"],"map":"{\"version\":3,\"file\":\"platform.js\",\"sourceRoot\":\"\",\"sources\":[\"../../src/platform.ts\"],\"names\":[],\"mappings\":\"AAyDA,MAAM,OAAO,UAAU;IAGnB,MAAM,CAAC,MAAM,CAAC,GAAqB;QAC/B,MAAM,OAAO,GAAG,IAAI,UAAU,EAAE,CAAA;QAChC,OAAO,CAAC,GAAG,GAAG,GAAG,CAAA;QACjB,OAAO,OAAO,CAAA;IAClB,CAAC;IAEM,MAAM;QACT,OAAO,IAAI,CAAC,GAAG,CAAA;IACnB,CAAC;CACJ;AAED,MAAM,UAAU,eAAe,CAAC,CAAW;IACvC,QAAQ,GAAG,CAAC,CAAC;AACjB,CAAC;AAED,MAAM,CAAC,IAAI,QAAkB,CAAC\"}","dts":{"name":"/Users/saldoukhov/Documents/Code/Keeper/keeper-sdk-javascript/keeperapi/platform.d.ts","writeByteOrderMark":false,"text":"import { KeeperHttpResponse } from \"./commands\";\r\nimport { SocketProxy } from './auth';\r\nexport interface Platform {\r\n keys: string[];\r\n getRandomBytes(length: number): Uint8Array;\r\n bytesToBase64(data: Uint8Array): string;\r\n base64ToBytes(data: string): Uint8Array;\r\n bytesToString(data: Uint8Array): string;\r\n stringToBytes(data: string): Uint8Array;\r\n wrapPassword(password: Uint8Array): KeyWrapper;\r\n unWrapPassword(password: KeyWrapper): Uint8Array;\r\n generateRSAKeyPair(): Promise<{\r\n privateKey: Uint8Array;\r\n publicKey: Uint8Array;\r\n }>;\r\n generateECKeyPair(): Promise<{\r\n privateKey: Uint8Array;\r\n publicKey: Uint8Array;\r\n }>;\r\n publicEncrypt(data: Uint8Array, key: string): Uint8Array;\r\n publicEncryptEC(data: Uint8Array, key: Uint8Array, id?: Uint8Array): Promise<Uint8Array>;\r\n privateDecrypt(data: Uint8Array, key: Uint8Array): Uint8Array;\r\n privateDecryptEC(data: Uint8Array, privateKey: Uint8Array, publicKey?: Uint8Array, id?: Uint8Array): Promise<Uint8Array>;\r\n privateSign(data: Uint8Array, key: string): Promise<Uint8Array>;\r\n aesGcmEncrypt(data: Uint8Array, key: Uint8Array): Promise<Uint8Array>;\r\n aesGcmDecrypt(data: Uint8Array, key: Uint8Array): Promise<Uint8Array>;\r\n aesCbcEncrypt(data: Uint8Array, key: Uint8Array, usePadding: boolean): Uint8Array;\r\n aesCbcDecrypt(data: Uint8Array, key: Uint8Array, usePadding: boolean): Uint8Array;\r\n deriveKey(password: KeyWrapper, saltBytes: Uint8Array, iterations: number): Promise<Uint8Array>;\r\n deriveKeyV2(domain: string, password: KeyWrapper, saltBytes: Uint8Array, iterations: number): Promise<Uint8Array>;\r\n calcAuthVerifier(key: Uint8Array): Promise<Uint8Array>;\r\n get(url: string, headers: any): Promise<KeeperHttpResponse>;\r\n post(url: string, request: Uint8Array, headers?: any): Promise<KeeperHttpResponse>;\r\n fileUpload(url: string, uploadParameters: any, data: Uint8Array | Blob): Promise<any>;\r\n createWebsocket(url: string): SocketProxy;\r\n}\r\nexport declare class KeyWrapper {\r\n private key;\r\n static create(key: Uint8Array | any): KeyWrapper;\r\n getKey(): any;\r\n}\r\nexport declare function connectPlatform(p: Platform): void;\r\nexport declare let platform: Platform;\r\n"}}
@@ -0,0 +1 @@
1
+ {"code":"import { __awaiter } from \"tslib\";\r\nimport { platform } from './platform';\r\nimport { generateTransmissionKey, getKeeperUrl } from './utils';\r\nexport class VendorContext {\r\n constructor(configuration) {\r\n this.configuration = configuration;\r\n this.updateTransmissionKey(1);\r\n }\r\n updateTransmissionKey(keyNumber) {\r\n this.transmissionKey = generateTransmissionKey(keyNumber);\r\n }\r\n getEnterprise(enterpriseID) {\r\n return __awaiter(this, void 0, void 0, function* () {\r\n return this.executeVendorRequest(`${this.configuration.vendorId}/enterprise/${enterpriseID}`, this.configuration.privateKey);\r\n });\r\n }\r\n postEnterprise(enterprise) {\r\n return __awaiter(this, void 0, void 0, function* () {\r\n return this.executeVendorRequest(`${this.configuration.vendorId}/enterprise/`, this.configuration.privateKey, enterprise);\r\n });\r\n }\r\n postLicenseAdjustment(enterpriseID, adjustment) {\r\n return __awaiter(this, void 0, void 0, function* () {\r\n return this.executeVendorRequest(`${this.configuration.vendorId}/license/${enterpriseID}`, this.configuration.privateKey, adjustment);\r\n });\r\n }\r\n executeVendorRequest(vendorPath, privateKey, payload) {\r\n return __awaiter(this, void 0, void 0, function* () {\r\n let url = getKeeperUrl(this.configuration.host, `msp/v1/${vendorPath}`);\r\n let urlBytes = platform.stringToBytes(url.slice(url.indexOf('/rest/msp/v1/')));\r\n while (true) {\r\n let encryptedPayloadBytes = payload\r\n ? yield platform.aesGcmEncrypt(Buffer.from(JSON.stringify(payload)), this.transmissionKey.key)\r\n : new Uint8Array();\r\n let signatureBase = Uint8Array.of(...urlBytes, ...this.transmissionKey.encryptedKey, ...encryptedPayloadBytes);\r\n let signature = yield platform.privateSign(signatureBase, privateKey);\r\n let response;\r\n try {\r\n let headers = {\r\n Authorization: `Signature ${platform.bytesToBase64(signature)}`,\r\n TransmissionKey: platform.bytesToBase64(this.transmissionKey.encryptedKey),\r\n PublicKeyId: this.transmissionKey.publicKeyId,\r\n };\r\n response = payload\r\n ? yield platform.post(url, encryptedPayloadBytes, headers)\r\n : yield platform.get(url, headers);\r\n }\r\n catch (e) {\r\n console.log('ERR:' + e);\r\n }\r\n let decrypted;\r\n try {\r\n decrypted = yield platform.aesGcmDecrypt(response.data, this.transmissionKey.key);\r\n let json = JSON.parse(platform.bytesToString(decrypted));\r\n return json;\r\n }\r\n catch (e) {\r\n let error = platform.bytesToString(response.data);\r\n let errorObj = JSON.parse(error);\r\n if (errorObj.error === 'key') {\r\n this.updateTransmissionKey(errorObj.key_id);\r\n }\r\n else {\r\n throw (`Unable to decrypt response: ${error}`);\r\n }\r\n }\r\n }\r\n });\r\n }\r\n}\r\n//# sourceMappingURL=vendorContext.js.map","references":["/Users/saldoukhov/Documents/Code/Keeper/keeper-sdk-javascript/keeperapi/src/endpoint.ts","/Users/saldoukhov/Documents/Code/Keeper/keeper-sdk-javascript/keeperapi/src/vendorModel.ts","/Users/saldoukhov/Documents/Code/Keeper/keeper-sdk-javascript/keeperapi/src/configuration.ts","/Users/saldoukhov/Documents/Code/Keeper/keeper-sdk-javascript/keeperapi/src/platform.ts","/Users/saldoukhov/Documents/Code/Keeper/keeper-sdk-javascript/keeperapi/src/utils.ts"],"map":"{\"version\":3,\"file\":\"vendorContext.js\",\"sourceRoot\":\"\",\"sources\":[\"../../src/vendorContext.ts\"],\"names\":[],\"mappings\":\";AAGA,OAAO,EAAC,QAAQ,EAAC,MAAM,YAAY,CAAC;AACpC,OAAO,EAAC,uBAAuB,EAAE,YAAY,EAAC,MAAM,SAAS,CAAC;AAE9D,MAAM,OAAO,aAAa;IAItB,YAAoB,aAAkC;QAAlC,kBAAa,GAAb,aAAa,CAAqB;QAClD,IAAI,CAAC,qBAAqB,CAAC,CAAC,CAAC,CAAA;IACjC,CAAC;IAEO,qBAAqB,CAAC,SAAiB;QAC3C,IAAI,CAAC,eAAe,GAAG,uBAAuB,CAAC,SAAS,CAAC,CAAA;IAC7D,CAAC;IAEK,aAAa,CAAC,YAAoB;;YACpC,OAAO,IAAI,CAAC,oBAAoB,CAAgB,GAAG,IAAI,CAAC,aAAa,CAAC,QAAQ,eAAe,YAAY,EAAE,EAAE,IAAI,CAAC,aAAa,CAAC,UAAU,CAAC,CAAC;QAChJ,CAAC;KAAA;IAEK,cAAc,CAAC,UAA0B;;YAC3C,OAAO,IAAI,CAAC,oBAAoB,CAAgB,GAAG,IAAI,CAAC,aAAa,C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, LicenseAdjustment } from \"./vendorModel\";\r\nimport { VendorConfiguration } from \"./configuration\";\r\nexport declare class VendorContext {\r\n private configuration;\r\n private transmissionKey;\r\n constructor(configuration: VendorConfiguration);\r\n private updateTransmissionKey;\r\n getEnterprise(enterpriseID: number): Promise<MSPEnterprise>;\r\n postEnterprise(enterprise: EnterpriseBase): Promise<MSPEnterprise>;\r\n postLicenseAdjustment(enterpriseID: number, adjustment: LicenseAdjustment): Promise<MSPEnterprise>;\r\n executeVendorRequest<T>(vendorPath: string, privateKey: string, payload?: any): Promise<T>;\r\n}\r\n"}}
@@ -0,0 +1,6 @@
1
+ module.exports = {
2
+ "presets": [
3
+ ["@babel/preset-env", {"targets": {"node": "current"}}],
4
+ ["@babel/preset-typescript"]
5
+ ]
6
+ }
package/package.json CHANGED
@@ -1,26 +1,23 @@
1
1
  {
2
2
  "name": "@keeper-security/keeperapi",
3
- "version": "16.0.1",
3
+ "description": "Keeper Secrets Manages Javascript SDK",
4
+ "version": "16.0.2",
4
5
  "browser": "dist/index.es.js",
5
6
  "main": "dist/index.cjs.js",
6
- "browsertest": "dist/test.cjs.js",
7
7
  "types": "dist/node/index.d.ts",
8
- "files": [
9
- "dist"
10
- ],
8
+ "repository": "https://github.com/Keeper-Security/keeper-sdk-javascript",
9
+ "license": "ISC",
11
10
  "scripts": {
12
11
  "start": "rollup -cw",
13
12
  "build": "node ./scripts/cleanDistFolder.js && rollup -c && cp src/proto.d.ts dist",
14
- "update-proto": "yarn update-proto:cjs && yarn update-proto:es6",
15
13
  "update-proto:es6": "pbjs -t static-module -w es6 -o src/proto.js ../../keeperapp-protobuf/APIRequest.proto ../../keeperapp-protobuf/AccountSummary.proto ../../keeperapp-protobuf/automator.proto ../../keeperapp-protobuf/breachwatch.proto ../../keeperapp-protobuf/client.proto ../../keeperapp-protobuf/externalservice.proto ../../keeperapp-protobuf/folder.proto ../../keeperapp-protobuf/push.proto ../../keeperapp-protobuf/record.proto ../../keeperapp-protobuf/servicelogger.proto ../../keeperapp-protobuf/ssocloud.proto ../../keeperapp-protobuf/token.proto ../../keeperapp-protobuf/upsell.proto && pbts -o src/proto.d.ts src/proto.js",
16
14
  "update-proto:cjs": "pbjs -t json-module -w commonjs -o src/proto.js ../../keeperapp-protobuf/APIRequest.proto ../../keeperapp-protobuf/AccountSummary.proto ../../keeperapp-protobuf/automator.proto ../../keeperapp-protobuf/breachwatch.proto ../../keeperapp-protobuf/client.proto ../../keeperapp-protobuf/externalservice.proto ../../keeperapp-protobuf/folder.proto ../../keeperapp-protobuf/push.proto ../../keeperapp-protobuf/record.proto ../../keeperapp-protobuf/servicelogger.proto ../../keeperapp-protobuf/ssocloud.proto ../../keeperapp-protobuf/token.proto ../../keeperapp-protobuf/upsell.proto && pbjs -t static-module -w commonjs ../../keeperapp-protobuf/APIRequest.proto ../../keeperapp-protobuf/AccountSummary.proto ../../keeperapp-protobuf/automator.proto ../../keeperapp-protobuf/breachwatch.proto ../../keeperapp-protobuf/client.proto ../../keeperapp-protobuf/externalservice.proto ../../keeperapp-protobuf/folder.proto ../../keeperapp-protobuf/push.proto ../../keeperapp-protobuf/record.proto ../../keeperapp-protobuf/servicelogger.proto ../../keeperapp-protobuf/ssocloud.proto ../../keeperapp-protobuf/token.proto ../../keeperapp-protobuf/upsell.proto | pbts -o src/proto.d.ts -",
17
- "link-local": "yarn link",
18
- "publish:beta": "node ./scripts/verifyBetaVersion.js && npm publish --tag beta",
19
15
  "test:2": "jest",
20
16
  "types": "tsc --watch",
21
- "types:ci": "tsc"
17
+ "types:ci": "tsc",
18
+ "prepublishOnly": "rollup -c",
19
+ "publish-to-npm": "npm publish"
22
20
  },
23
- "license": "ISC",
24
21
  "dependencies": {
25
22
  "asmcrypto.js": "^2.3.2",
26
23
  "faye-websocket": "^0.11.3",
@@ -0,0 +1,50 @@
1
+ import typescript from "rollup-plugin-typescript2"
2
+ import pkg from './package.json'
3
+ import sourcemaps from "rollup-plugin-sourcemaps";
4
+
5
+ export default [
6
+ {
7
+ input: 'src/browser/index.ts',
8
+ output: [
9
+ {
10
+ file: pkg.browser,
11
+ format: 'es',
12
+ sourcemap: true
13
+ },
14
+ // {
15
+ // file: pkg.browsertest,
16
+ // format: 'cjs',
17
+ // },
18
+ ],
19
+ external: [
20
+ ...Object.keys(pkg.dependencies || {}),
21
+ "protobufjs/minimal"
22
+ ],
23
+ plugins: [
24
+ typescript({
25
+ tsconfig: "tsconfig.rollup.json"
26
+ }),
27
+ sourcemaps()
28
+ ]
29
+ },
30
+ {
31
+ input: 'src/node/index.ts',
32
+ output: [
33
+ {
34
+ file: pkg.main,
35
+ format: 'cjs',
36
+ sourcemap: true
37
+ }
38
+ ],
39
+ external: [
40
+ ...Object.keys(pkg.dependencies || {}),
41
+ "crypto", "constants", "https", "protobufjs/minimal"
42
+ ],
43
+ plugins: [
44
+ typescript({
45
+ tsconfig: "tsconfig.rollup.json"
46
+ }),
47
+ sourcemaps()
48
+ ]
49
+ }
50
+ ];
@@ -0,0 +1,9 @@
1
+ const fs = require('fs')
2
+
3
+ const distDir = `${__dirname}/../dist`
4
+
5
+ try {
6
+ fs.rmdirSync(distDir, {recursive: true})
7
+ } catch (e) {}
8
+
9
+ console.log('Dist folder cleaned')
@@ -0,0 +1,13 @@
1
+ import {webSafe64} from '../utils'
2
+
3
+ describe('utils', () => {
4
+ describe('webSafe64', () => {
5
+ it('replaces + correctly', () => {
6
+ expect(webSafe64('a+b')).toBe('a-b')
7
+ })
8
+
9
+ it('replaces / correctly', () => {
10
+ expect(webSafe64('a/b')).toBe('a_b')
11
+ })
12
+ })
13
+ })