authing_ruby 1.1.4 → 1.1.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (462) hide show
  1. checksums.yaml +4 -4
  2. data/authing_ruby.gemspec +4 -2
  3. data/lib/authing_ruby/common/PublicKeyManager.rb +12 -1
  4. data/lib/authing_ruby/version.rb +1 -1
  5. metadata +10 -467
  6. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/CONTRIBUTION.md +0 -23
  7. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/LICENSE +0 -21
  8. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/README.md +0 -303
  9. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build-doc.js +0 -520
  10. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/browser/index.min.js +0 -2
  11. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/browser/index.min.js.LICENSE.txt +0 -91
  12. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/index.d.ts +0 -7
  13. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/index.js +0 -20
  14. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/authentication/AuthenticationClient.d.ts +0 -1118
  15. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/authentication/AuthenticationClient.js +0 -2859
  16. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/authentication/AuthenticationTokenProvider.d.ts +0 -13
  17. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/authentication/AuthenticationTokenProvider.js +0 -56
  18. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/authentication/BaseAuthenticationClient.d.ts +0 -6
  19. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/authentication/BaseAuthenticationClient.js +0 -31
  20. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/authentication/EnterpriseAuthenticationClient.d.ts +0 -92
  21. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/authentication/EnterpriseAuthenticationClient.js +0 -250
  22. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/authentication/MfaAuthenticationClient.d.ts +0 -303
  23. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/authentication/MfaAuthenticationClient.js +0 -665
  24. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/authentication/QrCodeAuthenticationClient.d.ts +0 -232
  25. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/authentication/QrCodeAuthenticationClient.js +0 -622
  26. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/authentication/SocialAuthenticationClient.d.ts +0 -104
  27. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/authentication/SocialAuthenticationClient.js +0 -180
  28. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/authentication/types.d.ts +0 -341
  29. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/authentication/types.js +0 -69
  30. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/common/GraphqlClient.d.ts +0 -14
  31. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/common/GraphqlClient.js +0 -127
  32. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/common/HttpClient.d.ts +0 -19
  33. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/common/HttpClient.js +0 -151
  34. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/common/PublicKeyManager.d.ts +0 -18
  35. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/common/PublicKeyManager.js +0 -81
  36. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/graphqlapi.d.ts +0 -121
  37. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/graphqlapi.js +0 -2002
  38. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/AclManagementClient.d.ts +0 -236
  39. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/AclManagementClient.js +0 -863
  40. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/AgreementManagementClient.d.ts +0 -65
  41. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/AgreementManagementClient.js +0 -195
  42. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/ApplicationsManagementClient.d.ts +0 -216
  43. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/ApplicationsManagementClient.js +0 -533
  44. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/GroupsManagementClient.d.ts +0 -188
  45. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/GroupsManagementClient.js +0 -404
  46. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/MFAManagementClient.d.ts +0 -58
  47. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/MFAManagementClient.js +0 -126
  48. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/ManagementClient.d.ts +0 -79
  49. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/ManagementClient.js +0 -203
  50. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/ManagementTokenProvider.d.ts +0 -39
  51. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/ManagementTokenProvider.js +0 -159
  52. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/OrgManagementClient.d.ts +0 -521
  53. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/OrgManagementClient.js +0 -840
  54. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/PoliciesManagementClient.d.ts +0 -304
  55. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/PoliciesManagementClient.js +0 -512
  56. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/RolesManagementClient.d.ts +0 -296
  57. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/RolesManagementClient.js +0 -711
  58. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/StatisticsManagementClient.d.ts +0 -56
  59. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/StatisticsManagementClient.js +0 -198
  60. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/UdfManagementClient.d.ts +0 -146
  61. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/UdfManagementClient.js +0 -264
  62. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/UserActionManagementClient.d.ts +0 -44
  63. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/UserActionManagementClient.js +0 -106
  64. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/UserpoolManagementClient.d.ts +0 -142
  65. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/UserpoolManagementClient.js +0 -241
  66. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/UsersManagementClient.d.ts +0 -784
  67. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/UsersManagementClient.js +0 -1251
  68. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/WhitelistManagementClient.d.ts +0 -114
  69. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/WhitelistManagementClient.js +0 -259
  70. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/types.d.ts +0 -992
  71. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/types.js +0 -96
  72. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/platform/express/index.d.ts +0 -30
  73. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/platform/express/index.js +0 -126
  74. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/testing-helper.d.ts +0 -31
  75. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/testing-helper.js +0 -67
  76. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/utils.d.ts +0 -53
  77. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/utils.js +0 -343
  78. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/version.d.ts +0 -1
  79. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/version.js +0 -5
  80. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/types/graphql.v2.d.ts +0 -6241
  81. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/types/graphql.v2.js +0 -251
  82. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/types/index.d.ts +0 -7
  83. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/types/index.js +0 -3
  84. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/index.d.ts +0 -7
  85. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/index.js +0 -8
  86. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/authentication/AuthenticationClient.d.ts +0 -1118
  87. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/authentication/AuthenticationClient.js +0 -2853
  88. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/authentication/AuthenticationTokenProvider.d.ts +0 -13
  89. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/authentication/AuthenticationTokenProvider.js +0 -53
  90. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/authentication/BaseAuthenticationClient.d.ts +0 -6
  91. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/authentication/BaseAuthenticationClient.js +0 -28
  92. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/authentication/EnterpriseAuthenticationClient.d.ts +0 -92
  93. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/authentication/EnterpriseAuthenticationClient.js +0 -247
  94. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/authentication/MfaAuthenticationClient.d.ts +0 -303
  95. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/authentication/MfaAuthenticationClient.js +0 -662
  96. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/authentication/QrCodeAuthenticationClient.d.ts +0 -232
  97. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/authentication/QrCodeAuthenticationClient.js +0 -619
  98. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/authentication/SocialAuthenticationClient.d.ts +0 -104
  99. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/authentication/SocialAuthenticationClient.js +0 -177
  100. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/authentication/types.d.ts +0 -341
  101. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/authentication/types.js +0 -66
  102. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/common/GraphqlClient.d.ts +0 -14
  103. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/common/GraphqlClient.js +0 -121
  104. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/common/HttpClient.d.ts +0 -19
  105. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/common/HttpClient.js +0 -145
  106. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/common/PublicKeyManager.d.ts +0 -18
  107. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/common/PublicKeyManager.js +0 -78
  108. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/graphqlapi.d.ts +0 -121
  109. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/graphqlapi.js +0 -1999
  110. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/AclManagementClient.d.ts +0 -236
  111. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/AclManagementClient.js +0 -860
  112. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/AgreementManagementClient.d.ts +0 -65
  113. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/AgreementManagementClient.js +0 -192
  114. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/ApplicationsManagementClient.d.ts +0 -216
  115. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/ApplicationsManagementClient.js +0 -530
  116. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/GroupsManagementClient.d.ts +0 -188
  117. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/GroupsManagementClient.js +0 -401
  118. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/MFAManagementClient.d.ts +0 -58
  119. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/MFAManagementClient.js +0 -123
  120. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/ManagementClient.d.ts +0 -79
  121. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/ManagementClient.js +0 -197
  122. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/ManagementTokenProvider.d.ts +0 -39
  123. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/ManagementTokenProvider.js +0 -153
  124. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/OrgManagementClient.d.ts +0 -521
  125. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/OrgManagementClient.js +0 -818
  126. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/PoliciesManagementClient.d.ts +0 -304
  127. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/PoliciesManagementClient.js +0 -509
  128. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/RolesManagementClient.d.ts +0 -296
  129. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/RolesManagementClient.js +0 -708
  130. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/StatisticsManagementClient.d.ts +0 -56
  131. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/StatisticsManagementClient.js +0 -195
  132. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/UdfManagementClient.d.ts +0 -146
  133. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/UdfManagementClient.js +0 -261
  134. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/UserActionManagementClient.d.ts +0 -44
  135. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/UserActionManagementClient.js +0 -103
  136. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/UserpoolManagementClient.d.ts +0 -142
  137. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/UserpoolManagementClient.js +0 -238
  138. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/UsersManagementClient.d.ts +0 -784
  139. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/UsersManagementClient.js +0 -1248
  140. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/WhitelistManagementClient.d.ts +0 -114
  141. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/WhitelistManagementClient.js +0 -256
  142. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/types.d.ts +0 -992
  143. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/types.js +0 -93
  144. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/platform/express/index.d.ts +0 -30
  145. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/platform/express/index.js +0 -123
  146. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/testing-helper.d.ts +0 -31
  147. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/testing-helper.js +0 -62
  148. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/utils.d.ts +0 -53
  149. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/utils.js +0 -336
  150. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/version.d.ts +0 -1
  151. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/version.js +0 -2
  152. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/types/graphql.v2.d.ts +0 -6241
  153. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/types/graphql.v2.js +0 -248
  154. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/types/index.d.ts +0 -7
  155. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/types/index.js +0 -1
  156. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/index.d.ts +0 -7
  157. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/index.js +0 -30
  158. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/authentication/AuthenticationClient.d.ts +0 -1118
  159. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/authentication/AuthenticationClient.js +0 -2869
  160. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/authentication/AuthenticationTokenProvider.d.ts +0 -13
  161. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/authentication/AuthenticationTokenProvider.js +0 -66
  162. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/authentication/BaseAuthenticationClient.d.ts +0 -6
  163. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/authentication/BaseAuthenticationClient.js +0 -41
  164. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/authentication/EnterpriseAuthenticationClient.d.ts +0 -92
  165. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/authentication/EnterpriseAuthenticationClient.js +0 -260
  166. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/authentication/MfaAuthenticationClient.d.ts +0 -303
  167. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/authentication/MfaAuthenticationClient.js +0 -675
  168. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/authentication/QrCodeAuthenticationClient.d.ts +0 -232
  169. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/authentication/QrCodeAuthenticationClient.js +0 -632
  170. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/authentication/SocialAuthenticationClient.d.ts +0 -104
  171. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/authentication/SocialAuthenticationClient.js +0 -190
  172. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/authentication/types.d.ts +0 -341
  173. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/authentication/types.js +0 -79
  174. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/common/GraphqlClient.d.ts +0 -14
  175. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/common/GraphqlClient.js +0 -137
  176. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/common/HttpClient.d.ts +0 -19
  177. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/common/HttpClient.js +0 -161
  178. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/common/PublicKeyManager.d.ts +0 -18
  179. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/common/PublicKeyManager.js +0 -91
  180. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/graphqlapi.d.ts +0 -121
  181. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/graphqlapi.js +0 -2012
  182. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/AclManagementClient.d.ts +0 -236
  183. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/AclManagementClient.js +0 -873
  184. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/AgreementManagementClient.d.ts +0 -65
  185. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/AgreementManagementClient.js +0 -205
  186. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/ApplicationsManagementClient.d.ts +0 -216
  187. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/ApplicationsManagementClient.js +0 -543
  188. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/GroupsManagementClient.d.ts +0 -188
  189. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/GroupsManagementClient.js +0 -414
  190. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/MFAManagementClient.d.ts +0 -58
  191. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/MFAManagementClient.js +0 -136
  192. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/ManagementClient.d.ts +0 -79
  193. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/ManagementClient.js +0 -213
  194. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/ManagementTokenProvider.d.ts +0 -39
  195. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/ManagementTokenProvider.js +0 -169
  196. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/OrgManagementClient.d.ts +0 -521
  197. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/OrgManagementClient.js +0 -850
  198. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/PoliciesManagementClient.d.ts +0 -304
  199. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/PoliciesManagementClient.js +0 -522
  200. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/RolesManagementClient.d.ts +0 -296
  201. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/RolesManagementClient.js +0 -721
  202. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/StatisticsManagementClient.d.ts +0 -56
  203. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/StatisticsManagementClient.js +0 -208
  204. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/UdfManagementClient.d.ts +0 -146
  205. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/UdfManagementClient.js +0 -274
  206. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/UserActionManagementClient.d.ts +0 -44
  207. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/UserActionManagementClient.js +0 -116
  208. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/UserpoolManagementClient.d.ts +0 -142
  209. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/UserpoolManagementClient.js +0 -251
  210. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/UsersManagementClient.d.ts +0 -784
  211. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/UsersManagementClient.js +0 -1261
  212. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/WhitelistManagementClient.d.ts +0 -114
  213. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/WhitelistManagementClient.js +0 -269
  214. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/types.d.ts +0 -992
  215. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/types.js +0 -106
  216. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/platform/express/index.d.ts +0 -30
  217. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/platform/express/index.js +0 -136
  218. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/testing-helper.d.ts +0 -31
  219. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/testing-helper.js +0 -77
  220. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/utils.d.ts +0 -53
  221. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/utils.js +0 -353
  222. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/version.d.ts +0 -1
  223. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/version.js +0 -15
  224. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/types/graphql.v2.d.ts +0 -6241
  225. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/types/graphql.v2.js +0 -261
  226. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/types/index.d.ts +0 -7
  227. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/types/index.js +0 -13
  228. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/CHANGELOG.md +0 -413
  229. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/LICENSE +0 -19
  230. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/README.md +0 -709
  231. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/UPGRADE_GUIDE.md +0 -162
  232. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/dist/axios.js +0 -1715
  233. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/dist/axios.map +0 -1
  234. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/dist/axios.min.js +0 -3
  235. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/dist/axios.min.map +0 -1
  236. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/index.d.ts +0 -157
  237. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/index.js +0 -1
  238. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/adapters/README.md +0 -37
  239. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/adapters/http.js +0 -279
  240. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/adapters/xhr.js +0 -180
  241. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/axios.js +0 -53
  242. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/cancel/Cancel.js +0 -19
  243. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/cancel/CancelToken.js +0 -57
  244. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/cancel/isCancel.js +0 -5
  245. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/core/Axios.js +0 -94
  246. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/core/InterceptorManager.js +0 -52
  247. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/core/README.md +0 -7
  248. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/core/buildFullPath.js +0 -20
  249. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/core/createError.js +0 -18
  250. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/core/dispatchRequest.js +0 -79
  251. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/core/enhanceError.js +0 -42
  252. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/core/mergeConfig.js +0 -73
  253. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/core/settle.js +0 -25
  254. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/core/transformData.js +0 -20
  255. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/defaults.js +0 -97
  256. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/helpers/README.md +0 -7
  257. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/helpers/bind.js +0 -11
  258. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/helpers/buildURL.js +0 -71
  259. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/helpers/combineURLs.js +0 -14
  260. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/helpers/cookies.js +0 -53
  261. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/helpers/deprecatedMethod.js +0 -24
  262. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/helpers/isAbsoluteURL.js +0 -14
  263. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/helpers/isURLSameOrigin.js +0 -68
  264. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/helpers/normalizeHeaderName.js +0 -12
  265. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/helpers/parseHeaders.js +0 -53
  266. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/helpers/spread.js +0 -27
  267. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/utils.js +0 -344
  268. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/package.json +0 -84
  269. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/follow-redirects/LICENSE +0 -18
  270. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/follow-redirects/README.md +0 -155
  271. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/follow-redirects/http.js +0 -1
  272. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/follow-redirects/https.js +0 -1
  273. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/follow-redirects/index.js +0 -322
  274. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/follow-redirects/package.json +0 -60
  275. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/package.json +0 -129
  276. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/tests/index.html +0 -21
  277. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/tsconfig.brower.json +0 -45
  278. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/tsconfig.node.json +0 -0
  279. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/webpack.config.js +0 -41
  280. data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/CHANGELOG.md +0 -685
  281. data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/LICENSE +0 -19
  282. data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/README.md +0 -800
  283. data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/UPGRADE_GUIDE.md +0 -162
  284. data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/dist/axios.js +0 -1756
  285. data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/dist/axios.map +0 -1
  286. data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/dist/axios.min.js +0 -3
  287. data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/dist/axios.min.map +0 -1
  288. data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/index.d.ts +0 -161
  289. data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/index.js +0 -1
  290. data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/adapters/README.md +0 -37
  291. data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/adapters/http.js +0 -303
  292. data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/adapters/xhr.js +0 -179
  293. data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/axios.js +0 -56
  294. data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/cancel/Cancel.js +0 -19
  295. data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/cancel/CancelToken.js +0 -57
  296. data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/cancel/isCancel.js +0 -5
  297. data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/core/Axios.js +0 -95
  298. data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/core/InterceptorManager.js +0 -52
  299. data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/core/README.md +0 -7
  300. data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/core/buildFullPath.js +0 -20
  301. data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/core/createError.js +0 -18
  302. data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/core/dispatchRequest.js +0 -79
  303. data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/core/enhanceError.js +0 -42
  304. data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/core/mergeConfig.js +0 -87
  305. data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/core/settle.js +0 -25
  306. data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/core/transformData.js +0 -20
  307. data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/defaults.js +0 -98
  308. data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/helpers/README.md +0 -7
  309. data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/helpers/bind.js +0 -11
  310. data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/helpers/buildURL.js +0 -70
  311. data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/helpers/combineURLs.js +0 -14
  312. data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/helpers/cookies.js +0 -53
  313. data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/helpers/deprecatedMethod.js +0 -24
  314. data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/helpers/isAbsoluteURL.js +0 -14
  315. data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/helpers/isAxiosError.js +0 -11
  316. data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/helpers/isURLSameOrigin.js +0 -68
  317. data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/helpers/normalizeHeaderName.js +0 -12
  318. data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/helpers/parseHeaders.js +0 -53
  319. data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/helpers/spread.js +0 -27
  320. data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/utils.js +0 -351
  321. data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/package.json +0 -86
  322. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/CONTRIBUTING.md +0 -28
  323. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/LICENSE +0 -24
  324. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/README.md +0 -249
  325. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/aes.js +0 -234
  326. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/bower.json +0 -35
  327. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/cipher-core.js +0 -890
  328. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/core.js +0 -797
  329. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/crypto-js.js +0 -6059
  330. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/docs/QuickStartGuide.wiki +0 -470
  331. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/enc-base64.js +0 -136
  332. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/enc-hex.js +0 -18
  333. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/enc-latin1.js +0 -18
  334. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/enc-utf16.js +0 -149
  335. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/enc-utf8.js +0 -18
  336. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/evpkdf.js +0 -134
  337. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/format-hex.js +0 -66
  338. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/format-openssl.js +0 -18
  339. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/hmac-md5.js +0 -18
  340. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/hmac-ripemd160.js +0 -18
  341. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/hmac-sha1.js +0 -18
  342. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/hmac-sha224.js +0 -18
  343. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/hmac-sha256.js +0 -18
  344. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/hmac-sha3.js +0 -18
  345. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/hmac-sha384.js +0 -18
  346. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/hmac-sha512.js +0 -18
  347. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/hmac.js +0 -143
  348. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/index.js +0 -18
  349. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/lib-typedarrays.js +0 -76
  350. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/md5.js +0 -268
  351. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/mode-cfb.js +0 -80
  352. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/mode-ctr-gladman.js +0 -116
  353. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/mode-ctr.js +0 -58
  354. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/mode-ecb.js +0 -40
  355. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/mode-ofb.js +0 -54
  356. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/package.json +0 -38
  357. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/pad-ansix923.js +0 -49
  358. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/pad-iso10126.js +0 -44
  359. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/pad-iso97971.js +0 -40
  360. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/pad-nopadding.js +0 -30
  361. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/pad-pkcs7.js +0 -18
  362. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/pad-zeropadding.js +0 -47
  363. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/pbkdf2.js +0 -145
  364. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/rabbit-legacy.js +0 -190
  365. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/rabbit.js +0 -192
  366. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/rc4.js +0 -139
  367. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/ripemd160.js +0 -267
  368. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/sha1.js +0 -150
  369. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/sha224.js +0 -80
  370. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/sha256.js +0 -199
  371. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/sha3.js +0 -326
  372. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/sha384.js +0 -83
  373. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/sha512.js +0 -326
  374. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/tripledes.js +0 -779
  375. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/x64-core.js +0 -304
  376. data/lib/authing_ruby/test/js_sdk_test/node_modules/debug/CHANGELOG.md +0 -395
  377. data/lib/authing_ruby/test/js_sdk_test/node_modules/debug/LICENSE +0 -19
  378. data/lib/authing_ruby/test/js_sdk_test/node_modules/debug/Makefile +0 -58
  379. data/lib/authing_ruby/test/js_sdk_test/node_modules/debug/README.md +0 -368
  380. data/lib/authing_ruby/test/js_sdk_test/node_modules/debug/karma.conf.js +0 -70
  381. data/lib/authing_ruby/test/js_sdk_test/node_modules/debug/node.js +0 -1
  382. data/lib/authing_ruby/test/js_sdk_test/node_modules/debug/package.json +0 -43
  383. data/lib/authing_ruby/test/js_sdk_test/node_modules/debug/src/browser.js +0 -195
  384. data/lib/authing_ruby/test/js_sdk_test/node_modules/debug/src/debug.js +0 -225
  385. data/lib/authing_ruby/test/js_sdk_test/node_modules/debug/src/index.js +0 -10
  386. data/lib/authing_ruby/test/js_sdk_test/node_modules/debug/src/node.js +0 -186
  387. data/lib/authing_ruby/test/js_sdk_test/node_modules/dotenv/CHANGELOG.md +0 -210
  388. data/lib/authing_ruby/test/js_sdk_test/node_modules/dotenv/LICENSE +0 -23
  389. data/lib/authing_ruby/test/js_sdk_test/node_modules/dotenv/README.md +0 -275
  390. data/lib/authing_ruby/test/js_sdk_test/node_modules/dotenv/config.js +0 -11
  391. data/lib/authing_ruby/test/js_sdk_test/node_modules/dotenv/lib/cli-options.js +0 -13
  392. data/lib/authing_ruby/test/js_sdk_test/node_modules/dotenv/lib/env-options.js +0 -18
  393. data/lib/authing_ruby/test/js_sdk_test/node_modules/dotenv/lib/main.js +0 -118
  394. data/lib/authing_ruby/test/js_sdk_test/node_modules/dotenv/package.json +0 -57
  395. data/lib/authing_ruby/test/js_sdk_test/node_modules/dotenv/types/index.d.ts +0 -59
  396. data/lib/authing_ruby/test/js_sdk_test/node_modules/dotenv/types/test.ts +0 -19
  397. data/lib/authing_ruby/test/js_sdk_test/node_modules/dotenv/types/tsconfig.json +0 -15
  398. data/lib/authing_ruby/test/js_sdk_test/node_modules/dotenv/types/tslint.json +0 -6
  399. data/lib/authing_ruby/test/js_sdk_test/node_modules/follow-redirects/LICENSE +0 -18
  400. data/lib/authing_ruby/test/js_sdk_test/node_modules/follow-redirects/README.md +0 -148
  401. data/lib/authing_ruby/test/js_sdk_test/node_modules/follow-redirects/debug.js +0 -14
  402. data/lib/authing_ruby/test/js_sdk_test/node_modules/follow-redirects/http.js +0 -1
  403. data/lib/authing_ruby/test/js_sdk_test/node_modules/follow-redirects/https.js +0 -1
  404. data/lib/authing_ruby/test/js_sdk_test/node_modules/follow-redirects/index.js +0 -531
  405. data/lib/authing_ruby/test/js_sdk_test/node_modules/follow-redirects/package.json +0 -59
  406. data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/LICENSE.txt +0 -107
  407. data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/README.md +0 -192
  408. data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/bin/jsencrypt.js +0 -249
  409. data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/bin/jsencrypt.min.js +0 -2
  410. data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/bin/jsencrypt.min.js.LICENSE.txt +0 -8
  411. data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/JSEncrypt.d.ts +0 -116
  412. data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/JSEncrypt.js +0 -186
  413. data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/JSEncryptRSAKey.d.ts +0 -142
  414. data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/JSEncryptRSAKey.js +0 -315
  415. data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/index.d.ts +0 -3
  416. data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/index.js +0 -3
  417. data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/asn1js/asn1.d.ts +0 -51
  418. data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/asn1js/asn1.js +0 -565
  419. data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/asn1js/base64.d.ts +0 -5
  420. data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/asn1js/base64.js +0 -88
  421. data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/asn1js/hex.d.ts +0 -3
  422. data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/asn1js/hex.js +0 -64
  423. data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/asn1js/int10.d.ts +0 -9
  424. data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/asn1js/int10.js +0 -87
  425. data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/asn1js/oids.d.ts +0 -9778
  426. data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/asn1js/oids.js +0 -1962
  427. data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/jsbn/base64.d.ts +0 -3
  428. data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/jsbn/base64.js +0 -76
  429. data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/jsbn/jsbn.d.ts +0 -98
  430. data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/jsbn/jsbn.js +0 -1754
  431. data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/jsbn/prng4.d.ts +0 -10
  432. data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/jsbn/prng4.js +0 -46
  433. data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/jsbn/rng.d.ts +0 -3
  434. data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/jsbn/rng.js +0 -76
  435. data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/jsbn/rsa.d.ts +0 -23
  436. data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/jsbn/rsa.js +0 -373
  437. data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/jsbn/util.d.ts +0 -7
  438. data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/jsbn/util.js +0 -58
  439. data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/jsrsasign/asn1-1.0.js +0 -1593
  440. data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/jsrsasign/yahoo.js +0 -69
  441. data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/version.json +0 -1
  442. data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/package.json +0 -49
  443. data/lib/authing_ruby/test/js_sdk_test/node_modules/jwt-decode/Gruntfile.js +0 -78
  444. data/lib/authing_ruby/test/js_sdk_test/node_modules/jwt-decode/LICENSE +0 -21
  445. data/lib/authing_ruby/test/js_sdk_test/node_modules/jwt-decode/README.md +0 -55
  446. data/lib/authing_ruby/test/js_sdk_test/node_modules/jwt-decode/bower.json +0 -20
  447. data/lib/authing_ruby/test/js_sdk_test/node_modules/jwt-decode/build/jwt-decode.js +0 -125
  448. data/lib/authing_ruby/test/js_sdk_test/node_modules/jwt-decode/build/jwt-decode.min.js +0 -1
  449. data/lib/authing_ruby/test/js_sdk_test/node_modules/jwt-decode/jwt-decode.html +0 -2
  450. data/lib/authing_ruby/test/js_sdk_test/node_modules/jwt-decode/lib/atob.js +0 -38
  451. data/lib/authing_ruby/test/js_sdk_test/node_modules/jwt-decode/lib/base64_url_decode.js +0 -33
  452. data/lib/authing_ruby/test/js_sdk_test/node_modules/jwt-decode/lib/index.js +0 -26
  453. data/lib/authing_ruby/test/js_sdk_test/node_modules/jwt-decode/package.json +0 -37
  454. data/lib/authing_ruby/test/js_sdk_test/node_modules/jwt-decode/standalone.js +0 -16
  455. data/lib/authing_ruby/test/js_sdk_test/node_modules/jwt-decode/test/tests.js +0 -53
  456. data/lib/authing_ruby/test/js_sdk_test/node_modules/jwt-decode/test_harness.html +0 -29
  457. data/lib/authing_ruby/test/js_sdk_test/node_modules/jwt-decode/testem.yml +0 -46
  458. data/lib/authing_ruby/test/js_sdk_test/node_modules/jwt-decode/testem_dev.yml +0 -1
  459. data/lib/authing_ruby/test/js_sdk_test/node_modules/ms/index.js +0 -152
  460. data/lib/authing_ruby/test/js_sdk_test/node_modules/ms/license.md +0 -21
  461. data/lib/authing_ruby/test/js_sdk_test/node_modules/ms/package.json +0 -37
  462. data/lib/authing_ruby/test/js_sdk_test/node_modules/ms/readme.md +0 -51
@@ -1,251 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.WhitelistDocument = exports.UsersWithCustomDataDocument = exports.UsersDocument = exports.UserpoolsDocument = exports.UserpoolTypesDocument = exports.UserpoolDocument = exports.UserWithCustomDataDocument = exports.UserBatchWithCustomDataDocument = exports.UserBatchDocument = exports.UserDocument = exports.UdvDocument = exports.UdfValueBatchDocument = exports.UdfDocument = exports.TemplateCodeDocument = exports.SocialConnectionsDocument = exports.SocialConnectionInstancesDocument = exports.SocialConnectionInstanceDocument = exports.SocialConnectionDocument = exports.SearchUserWithCustomDataDocument = exports.SearchUserDocument = exports.SearchNodesDocument = exports.RootNodeDocument = exports.RolesDocument = exports.RoleWithUsersWithCustomDataDocument = exports.RoleWithUsersDocument = exports.RoleDocument = exports.QueryMfaDocument = exports.QiniuUptokenDocument = exports.PreviewEmailDocument = exports.PolicyWithAssignmentsDocument = exports.PolicyAssignmentsDocument = exports.PolicyDocument = exports.PoliciesDocument = exports.OrgsDocument = exports.OrgDocument = exports.NodeByIdWithMembersDocument = exports.NodeByIdDocument = exports.NodeByCodeWithMembersDocument = exports.NodeByCodeDocument = exports.ListUserAuthorizedResourcesDocument = exports.ListRoleAuthorizedResourcesDocument = exports.ListNodeByIdAuthorizedResourcesDocument = exports.ListNodeByCodeAuthorizedResourcesDocument = exports.ListGroupAuthorizedResourcesDocument = exports.AuthorizedResourcesDocument = exports.IsUserExistsDocument = exports.IsRootNodeDocument = exports.IsDomainAvaliableDocument = exports.IsActionDeniedDocument = exports.IsActionAllowedDocument = exports.GroupsDocument = exports.GroupWithUsersWithCustomDataDocument = exports.GroupWithUsersDocument = exports.GroupDocument = exports.GetUserRolesDocument = exports.GetUserGroupsDocument = exports.GetUserDepartmentsDocument = exports.FunctionsDocument = exports.FunctionDocument = exports.FindUserWithCustomDataDocument = exports.FindUserDocument = exports.EmailTemplatesDocument = exports.ChildrenNodesDocument = exports.CheckPasswordStrengthDocument = exports.CheckLoginStatusDocument = exports.AuthorizedTargetsDocument = exports.ArchivedUsersDocument = exports.AccessTokenDocument = exports.UpdateUserpoolDocument = exports.UpdateUserDocument = exports.UpdateRoleDocument = exports.UpdatePolicyDocument = exports.UpdatePhoneDocument = exports.UpdatePasswordDocument = exports.UpdateNodeDocument = exports.UpdateGroupDocument = exports.UpdateFunctionDocument = exports.UpdateEmailDocument = exports.UnbindPhoneDocument = exports.UnbindEmailDocument = exports.SetUdvBatchDocument = exports.SetUdvDocument = exports.SetUdfValueBatchDocument = exports.SetUdfDocument = exports.SetMainDepartmentDocument = exports.SendFirstLoginVerifyEmailDocument = exports.SendEmailDocument = exports.RevokeRoleDocument = exports.ResetPasswordByFirstLoginTokenDocument = exports.ResetPasswordDocument = exports.RemoveWhitelistDocument = exports.RemoveUserFromGroupDocument = exports.RemoveUdvDocument = exports.RemoveUdfDocument = exports.RemovePolicyAssignmentsDocument = exports.RemoveMemberDocument = exports.RegisterByUsernameDocument = exports.RegisterByPhoneCodeDocument = exports.RegisterByEmailDocument = exports.RefreshUserpoolSecretDocument = exports.RefreshTokenDocument = exports.RefreshAccessTokenDocument = exports.MoveNodeDocument = exports.MoveMembersDocument = exports.LoginByUsernameDocument = exports.LoginBySubAccountDocument = exports.LoginByPhonePasswordDocument = exports.LoginByPhoneCodeDocument = exports.LoginByEmailDocument = exports.EnableSocialConnectionInstanceDocument = exports.EnablePolicyAssignmentDocument = exports.EnableEmailTemplateDocument = exports.DisbalePolicyAssignmentDocument = exports.DisableSocialConnectionInstanceDocument = exports.DisableEmailTemplateDocument = exports.DeleteUsersDocument = exports.DeleteUserpoolDocument = exports.DeleteUserDocument = exports.DeleteRolesDocument = exports.DeleteRoleDocument = exports.DeletePolicyDocument = exports.DeletePoliciesDocument = exports.DeleteOrgDocument = exports.DeleteNodeDocument = exports.DeleteGroupsDocument = exports.DeleteFunctionDocument = exports.CreateUserpoolDocument = exports.CreateUserWithCustomDataDocument = exports.CreateUserDocument = exports.CreateSocialConnectionInstanceDocument = exports.CreateRoleDocument = exports.CreatePolicyDocument = exports.CreateOrgDocument = exports.CreateGroupDocument = exports.CreateFunctionDocument = exports.ConfigEmailTemplateDocument = exports.ChangeMfaDocument = exports.BindPhoneDocument = exports.BindEmailDocument = exports.AuthorizeResourceDocument = exports.AssignRoleDocument = exports.AllowDocument = exports.AddWhitelistDocument = exports.AddUserToGroupDocument = exports.AddPolicyAssignmentsDocument = exports.AddNodeV2Document = exports.AddNodeDocument = exports.AddMemberDocument = exports.EmailScene = exports.WhitelistType = exports.UdfTargetType = exports.PolicyEffect = exports.UdfDataType = exports.UserStatus = exports.SortByEnum = exports.EmailTemplateType = exports.Operator = exports.PolicyAssignmentTargetType = exports.ResourceType = void 0;
4
- var ResourceType;
5
- (function (ResourceType) {
6
- ResourceType["Data"] = "DATA";
7
- ResourceType["Api"] = "API";
8
- ResourceType["Menu"] = "MENU";
9
- ResourceType["Ui"] = "UI";
10
- ResourceType["Button"] = "BUTTON";
11
- })(ResourceType = exports.ResourceType || (exports.ResourceType = {}));
12
- var PolicyAssignmentTargetType;
13
- (function (PolicyAssignmentTargetType) {
14
- PolicyAssignmentTargetType["User"] = "USER";
15
- PolicyAssignmentTargetType["Role"] = "ROLE";
16
- PolicyAssignmentTargetType["Group"] = "GROUP";
17
- PolicyAssignmentTargetType["Org"] = "ORG";
18
- PolicyAssignmentTargetType["AkSk"] = "AK_SK";
19
- })(PolicyAssignmentTargetType = exports.PolicyAssignmentTargetType || (exports.PolicyAssignmentTargetType = {}));
20
- var Operator;
21
- (function (Operator) {
22
- Operator["And"] = "AND";
23
- Operator["Or"] = "OR";
24
- })(Operator = exports.Operator || (exports.Operator = {}));
25
- var EmailTemplateType;
26
- (function (EmailTemplateType) {
27
- /** 重置密码确认 */
28
- EmailTemplateType["ResetPassword"] = "RESET_PASSWORD";
29
- /** 重置密码通知 */
30
- EmailTemplateType["PasswordResetedNotification"] = "PASSWORD_RESETED_NOTIFICATION";
31
- /** 修改密码验证码 */
32
- EmailTemplateType["ChangePassword"] = "CHANGE_PASSWORD";
33
- /** 注册欢迎邮件 */
34
- EmailTemplateType["Welcome"] = "WELCOME";
35
- /** 验证邮箱 */
36
- EmailTemplateType["VerifyEmail"] = "VERIFY_EMAIL";
37
- /** 修改绑定邮箱 */
38
- EmailTemplateType["ChangeEmail"] = "CHANGE_EMAIL";
39
- })(EmailTemplateType = exports.EmailTemplateType || (exports.EmailTemplateType = {}));
40
- var SortByEnum;
41
- (function (SortByEnum) {
42
- /** 按照创建时间降序(后创建的在前面) */
43
- SortByEnum["CreatedatDesc"] = "CREATEDAT_DESC";
44
- /** 按照创建时间升序(先创建的在前面) */
45
- SortByEnum["CreatedatAsc"] = "CREATEDAT_ASC";
46
- /** 按照更新时间降序(最近更新的在前面) */
47
- SortByEnum["UpdatedatDesc"] = "UPDATEDAT_DESC";
48
- /** 按照更新时间升序(最近更新的在后面) */
49
- SortByEnum["UpdatedatAsc"] = "UPDATEDAT_ASC";
50
- })(SortByEnum = exports.SortByEnum || (exports.SortByEnum = {}));
51
- var UserStatus;
52
- (function (UserStatus) {
53
- /** 已停用 */
54
- UserStatus["Suspended"] = "Suspended";
55
- /** 已离职 */
56
- UserStatus["Resigned"] = "Resigned";
57
- /** 已激活(正常状态) */
58
- UserStatus["Activated"] = "Activated";
59
- /** 已归档 */
60
- UserStatus["Archived"] = "Archived";
61
- })(UserStatus = exports.UserStatus || (exports.UserStatus = {}));
62
- var UdfDataType;
63
- (function (UdfDataType) {
64
- UdfDataType["String"] = "STRING";
65
- UdfDataType["Number"] = "NUMBER";
66
- UdfDataType["Datetime"] = "DATETIME";
67
- UdfDataType["Boolean"] = "BOOLEAN";
68
- UdfDataType["Object"] = "OBJECT";
69
- })(UdfDataType = exports.UdfDataType || (exports.UdfDataType = {}));
70
- var PolicyEffect;
71
- (function (PolicyEffect) {
72
- PolicyEffect["Allow"] = "ALLOW";
73
- PolicyEffect["Deny"] = "DENY";
74
- })(PolicyEffect = exports.PolicyEffect || (exports.PolicyEffect = {}));
75
- var UdfTargetType;
76
- (function (UdfTargetType) {
77
- UdfTargetType["Node"] = "NODE";
78
- UdfTargetType["Org"] = "ORG";
79
- UdfTargetType["User"] = "USER";
80
- UdfTargetType["Userpool"] = "USERPOOL";
81
- UdfTargetType["Role"] = "ROLE";
82
- UdfTargetType["Permission"] = "PERMISSION";
83
- UdfTargetType["Application"] = "APPLICATION";
84
- })(UdfTargetType = exports.UdfTargetType || (exports.UdfTargetType = {}));
85
- var WhitelistType;
86
- (function (WhitelistType) {
87
- WhitelistType["Username"] = "USERNAME";
88
- WhitelistType["Email"] = "EMAIL";
89
- WhitelistType["Phone"] = "PHONE";
90
- })(WhitelistType = exports.WhitelistType || (exports.WhitelistType = {}));
91
- /** 邮件使用场景 */
92
- var EmailScene;
93
- (function (EmailScene) {
94
- /** 发送重置密码邮件,邮件中包含验证码 */
95
- EmailScene["ResetPassword"] = "RESET_PASSWORD";
96
- /** 发送验证邮箱的邮件 */
97
- EmailScene["VerifyEmail"] = "VERIFY_EMAIL";
98
- /** 发送修改邮箱邮件,邮件中包含验证码 */
99
- EmailScene["ChangeEmail"] = "CHANGE_EMAIL";
100
- /** 发送 MFA 验证邮件 */
101
- EmailScene["MfaVerify"] = "MFA_VERIFY";
102
- })(EmailScene = exports.EmailScene || (exports.EmailScene = {}));
103
- exports.AddMemberDocument = "\n mutation addMember($page: Int, $limit: Int, $sortBy: SortByEnum, $includeChildrenNodes: Boolean, $nodeId: String, $orgId: String, $nodeCode: String, $userIds: [String!]!, $isLeader: Boolean) {\n addMember(nodeId: $nodeId, orgId: $orgId, nodeCode: $nodeCode, userIds: $userIds, isLeader: $isLeader) {\n id\n orgId\n name\n nameI18n\n description\n descriptionI18n\n order\n code\n root\n depth\n path\n createdAt\n updatedAt\n children\n users(page: $page, limit: $limit, sortBy: $sortBy, includeChildrenNodes: $includeChildrenNodes) {\n totalCount\n list {\n id\n arn\n userPoolId\n username\n status\n email\n emailVerified\n phone\n phoneVerified\n unionid\n openid\n nickname\n registerSource\n photo\n password\n oauth\n token\n tokenExpiredAt\n loginsCount\n lastLogin\n lastIP\n signedUp\n blocked\n isDeleted\n device\n browser\n company\n name\n givenName\n familyName\n middleName\n profile\n preferredUsername\n website\n gender\n birthdate\n zoneinfo\n locale\n address\n formatted\n streetAddress\n locality\n region\n postalCode\n city\n province\n country\n createdAt\n updatedAt\n externalId\n }\n }\n }\n}\n ";
104
- exports.AddNodeDocument = "\n mutation addNode($orgId: String!, $parentNodeId: String, $name: String!, $nameI18n: String, $description: String, $descriptionI18n: String, $order: Int, $code: String) {\n addNode(orgId: $orgId, parentNodeId: $parentNodeId, name: $name, nameI18n: $nameI18n, description: $description, descriptionI18n: $descriptionI18n, order: $order, code: $code) {\n id\n rootNode {\n id\n orgId\n name\n nameI18n\n description\n descriptionI18n\n order\n code\n root\n depth\n path\n createdAt\n updatedAt\n children\n }\n nodes {\n id\n orgId\n name\n nameI18n\n description\n descriptionI18n\n order\n code\n root\n depth\n path\n createdAt\n updatedAt\n children\n }\n }\n}\n ";
105
- exports.AddNodeV2Document = "\n mutation addNodeV2($orgId: String!, $parentNodeId: String, $name: String!, $nameI18n: String, $description: String, $descriptionI18n: String, $order: Int, $code: String) {\n addNodeV2(orgId: $orgId, parentNodeId: $parentNodeId, name: $name, nameI18n: $nameI18n, description: $description, descriptionI18n: $descriptionI18n, order: $order, code: $code) {\n id\n orgId\n name\n nameI18n\n description\n descriptionI18n\n order\n code\n root\n depth\n path\n createdAt\n updatedAt\n children\n }\n}\n ";
106
- exports.AddPolicyAssignmentsDocument = "\n mutation addPolicyAssignments($policies: [String!]!, $targetType: PolicyAssignmentTargetType!, $targetIdentifiers: [String!], $inheritByChildren: Boolean, $namespace: String) {\n addPolicyAssignments(policies: $policies, targetType: $targetType, targetIdentifiers: $targetIdentifiers, inheritByChildren: $inheritByChildren, namespace: $namespace) {\n message\n code\n }\n}\n ";
107
- exports.AddUserToGroupDocument = "\n mutation addUserToGroup($userIds: [String!]!, $code: String) {\n addUserToGroup(userIds: $userIds, code: $code) {\n message\n code\n }\n}\n ";
108
- exports.AddWhitelistDocument = "\n mutation addWhitelist($type: WhitelistType!, $list: [String!]!) {\n addWhitelist(type: $type, list: $list) {\n createdAt\n updatedAt\n value\n }\n}\n ";
109
- exports.AllowDocument = "\n mutation allow($resource: String!, $action: String!, $userId: String, $userIds: [String!], $roleCode: String, $roleCodes: [String!], $namespace: String) {\n allow(resource: $resource, action: $action, userId: $userId, userIds: $userIds, roleCode: $roleCode, roleCodes: $roleCodes, namespace: $namespace) {\n message\n code\n }\n}\n ";
110
- exports.AssignRoleDocument = "\n mutation assignRole($namespace: String, $roleCode: String, $roleCodes: [String], $userIds: [String!], $groupCodes: [String!], $nodeCodes: [String!]) {\n assignRole(namespace: $namespace, roleCode: $roleCode, roleCodes: $roleCodes, userIds: $userIds, groupCodes: $groupCodes, nodeCodes: $nodeCodes) {\n message\n code\n }\n}\n ";
111
- exports.AuthorizeResourceDocument = "\n mutation authorizeResource($namespace: String, $resource: String, $resourceType: ResourceType, $opts: [AuthorizeResourceOpt]) {\n authorizeResource(namespace: $namespace, resource: $resource, resourceType: $resourceType, opts: $opts) {\n code\n message\n }\n}\n ";
112
- exports.BindEmailDocument = "\n mutation bindEmail($email: String!, $emailCode: String!) {\n bindEmail(email: $email, emailCode: $emailCode) {\n id\n arn\n userPoolId\n status\n username\n email\n emailVerified\n phone\n phoneVerified\n unionid\n openid\n nickname\n registerSource\n photo\n password\n oauth\n token\n tokenExpiredAt\n loginsCount\n lastLogin\n lastIP\n signedUp\n blocked\n isDeleted\n device\n browser\n company\n name\n givenName\n familyName\n middleName\n profile\n preferredUsername\n website\n gender\n birthdate\n zoneinfo\n locale\n address\n formatted\n streetAddress\n locality\n region\n postalCode\n city\n province\n country\n createdAt\n updatedAt\n }\n}\n ";
113
- exports.BindPhoneDocument = "\n mutation bindPhone($phone: String!, $phoneCode: String!) {\n bindPhone(phone: $phone, phoneCode: $phoneCode) {\n id\n arn\n userPoolId\n status\n username\n email\n emailVerified\n phone\n phoneVerified\n unionid\n openid\n nickname\n registerSource\n photo\n password\n oauth\n token\n tokenExpiredAt\n loginsCount\n lastLogin\n lastIP\n signedUp\n blocked\n isDeleted\n device\n browser\n company\n name\n givenName\n familyName\n middleName\n profile\n preferredUsername\n website\n gender\n birthdate\n zoneinfo\n locale\n address\n formatted\n streetAddress\n locality\n region\n postalCode\n city\n province\n country\n createdAt\n updatedAt\n }\n}\n ";
114
- exports.ChangeMfaDocument = "\n mutation changeMfa($enable: Boolean, $id: String, $userId: String, $userPoolId: String, $refresh: Boolean) {\n changeMfa(enable: $enable, id: $id, userId: $userId, userPoolId: $userPoolId, refresh: $refresh) {\n id\n userId\n userPoolId\n enable\n secret\n }\n}\n ";
115
- exports.ConfigEmailTemplateDocument = "\n mutation configEmailTemplate($input: ConfigEmailTemplateInput!) {\n configEmailTemplate(input: $input) {\n type\n name\n subject\n sender\n content\n redirectTo\n hasURL\n expiresIn\n enabled\n isSystem\n }\n}\n ";
116
- exports.CreateFunctionDocument = "\n mutation createFunction($input: CreateFunctionInput!) {\n createFunction(input: $input) {\n id\n name\n sourceCode\n description\n url\n }\n}\n ";
117
- exports.CreateGroupDocument = "\n mutation createGroup($code: String!, $name: String!, $description: String) {\n createGroup(code: $code, name: $name, description: $description) {\n code\n name\n description\n createdAt\n updatedAt\n }\n}\n ";
118
- exports.CreateOrgDocument = "\n mutation createOrg($name: String!, $code: String, $description: String) {\n createOrg(name: $name, code: $code, description: $description) {\n id\n rootNode {\n id\n orgId\n name\n nameI18n\n description\n descriptionI18n\n order\n code\n root\n depth\n path\n createdAt\n updatedAt\n children\n }\n nodes {\n id\n orgId\n name\n nameI18n\n description\n descriptionI18n\n order\n code\n root\n depth\n path\n createdAt\n updatedAt\n children\n }\n }\n}\n ";
119
- exports.CreatePolicyDocument = "\n mutation createPolicy($namespace: String, $code: String!, $description: String, $statements: [PolicyStatementInput!]!) {\n createPolicy(namespace: $namespace, code: $code, description: $description, statements: $statements) {\n namespace\n code\n isDefault\n description\n statements {\n resource\n actions\n effect\n condition {\n param\n operator\n value\n }\n }\n createdAt\n updatedAt\n assignmentsCount\n }\n}\n ";
120
- exports.CreateRoleDocument = "\n mutation createRole($namespace: String, $code: String!, $description: String, $parent: String) {\n createRole(namespace: $namespace, code: $code, description: $description, parent: $parent) {\n id\n namespace\n code\n arn\n description\n createdAt\n updatedAt\n parent {\n namespace\n code\n arn\n description\n createdAt\n updatedAt\n }\n }\n}\n ";
121
- exports.CreateSocialConnectionInstanceDocument = "\n mutation createSocialConnectionInstance($input: CreateSocialConnectionInstanceInput!) {\n createSocialConnectionInstance(input: $input) {\n provider\n enabled\n fields {\n key\n value\n }\n }\n}\n ";
122
- exports.CreateUserDocument = "\n mutation createUser($userInfo: CreateUserInput!, $keepPassword: Boolean, $resetPasswordOnFirstLogin: Boolean) {\n createUser(userInfo: $userInfo, keepPassword: $keepPassword, resetPasswordOnFirstLogin: $resetPasswordOnFirstLogin) {\n id\n arn\n userPoolId\n status\n username\n email\n emailVerified\n phone\n phoneVerified\n unionid\n openid\n nickname\n registerSource\n photo\n password\n oauth\n token\n tokenExpiredAt\n loginsCount\n lastLogin\n lastIP\n signedUp\n blocked\n isDeleted\n device\n browser\n company\n name\n givenName\n familyName\n middleName\n profile\n preferredUsername\n website\n gender\n birthdate\n zoneinfo\n locale\n address\n formatted\n streetAddress\n locality\n region\n postalCode\n city\n province\n country\n createdAt\n updatedAt\n externalId\n }\n}\n ";
123
- exports.CreateUserWithCustomDataDocument = "\n mutation createUserWithCustomData($userInfo: CreateUserInput!, $keepPassword: Boolean, $params: String) {\n createUser(userInfo: $userInfo, keepPassword: $keepPassword, params: $params) {\n id\n arn\n userPoolId\n status\n username\n email\n emailVerified\n phone\n phoneVerified\n unionid\n openid\n nickname\n registerSource\n photo\n password\n oauth\n token\n tokenExpiredAt\n loginsCount\n lastLogin\n lastIP\n signedUp\n blocked\n isDeleted\n device\n browser\n company\n name\n givenName\n familyName\n middleName\n profile\n preferredUsername\n website\n gender\n birthdate\n zoneinfo\n locale\n address\n formatted\n streetAddress\n locality\n region\n postalCode\n city\n province\n country\n createdAt\n updatedAt\n externalId\n customData {\n key\n value\n dataType\n label\n }\n }\n}\n ";
124
- exports.CreateUserpoolDocument = "\n mutation createUserpool($name: String!, $domain: String!, $description: String, $logo: String, $userpoolTypes: [String!]) {\n createUserpool(name: $name, domain: $domain, description: $description, logo: $logo, userpoolTypes: $userpoolTypes) {\n id\n name\n domain\n description\n secret\n jwtSecret\n userpoolTypes {\n code\n name\n description\n image\n sdks\n }\n logo\n createdAt\n updatedAt\n emailVerifiedDefault\n sendWelcomeEmail\n registerDisabled\n appSsoEnabled\n showWxQRCodeWhenRegisterDisabled\n allowedOrigins\n tokenExpiresAfter\n isDeleted\n frequentRegisterCheck {\n timeInterval\n limit\n enabled\n }\n loginFailCheck {\n timeInterval\n limit\n enabled\n }\n changePhoneStrategy {\n verifyOldPhone\n }\n changeEmailStrategy {\n verifyOldEmail\n }\n qrcodeLoginStrategy {\n qrcodeExpiresAfter\n returnFullUserInfo\n allowExchangeUserInfoFromBrowser\n ticketExpiresAfter\n }\n app2WxappLoginStrategy {\n ticketExpriresAfter\n ticketExchangeUserInfoNeedSecret\n }\n whitelist {\n phoneEnabled\n emailEnabled\n usernameEnabled\n }\n customSMSProvider {\n enabled\n provider\n }\n packageType\n }\n}\n ";
125
- exports.DeleteFunctionDocument = "\n mutation deleteFunction($id: String!) {\n deleteFunction(id: $id) {\n message\n code\n }\n}\n ";
126
- exports.DeleteGroupsDocument = "\n mutation deleteGroups($codeList: [String!]!) {\n deleteGroups(codeList: $codeList) {\n message\n code\n }\n}\n ";
127
- exports.DeleteNodeDocument = "\n mutation deleteNode($orgId: String!, $nodeId: String!) {\n deleteNode(orgId: $orgId, nodeId: $nodeId) {\n message\n code\n }\n}\n ";
128
- exports.DeleteOrgDocument = "\n mutation deleteOrg($id: String!) {\n deleteOrg(id: $id) {\n message\n code\n }\n}\n ";
129
- exports.DeletePoliciesDocument = "\n mutation deletePolicies($codeList: [String!]!, $namespace: String) {\n deletePolicies(codeList: $codeList, namespace: $namespace) {\n message\n code\n }\n}\n ";
130
- exports.DeletePolicyDocument = "\n mutation deletePolicy($code: String!, $namespace: String) {\n deletePolicy(code: $code, namespace: $namespace) {\n message\n code\n }\n}\n ";
131
- exports.DeleteRoleDocument = "\n mutation deleteRole($code: String!, $namespace: String) {\n deleteRole(code: $code, namespace: $namespace) {\n message\n code\n }\n}\n ";
132
- exports.DeleteRolesDocument = "\n mutation deleteRoles($codeList: [String!]!, $namespace: String) {\n deleteRoles(codeList: $codeList, namespace: $namespace) {\n message\n code\n }\n}\n ";
133
- exports.DeleteUserDocument = "\n mutation deleteUser($id: String!) {\n deleteUser(id: $id) {\n message\n code\n }\n}\n ";
134
- exports.DeleteUserpoolDocument = "\n mutation deleteUserpool {\n deleteUserpool {\n message\n code\n }\n}\n ";
135
- exports.DeleteUsersDocument = "\n mutation deleteUsers($ids: [String!]!) {\n deleteUsers(ids: $ids) {\n message\n code\n }\n}\n ";
136
- exports.DisableEmailTemplateDocument = "\n mutation disableEmailTemplate($type: EmailTemplateType!) {\n disableEmailTemplate(type: $type) {\n type\n name\n subject\n sender\n content\n redirectTo\n hasURL\n expiresIn\n enabled\n isSystem\n }\n}\n ";
137
- exports.DisableSocialConnectionInstanceDocument = "\n mutation disableSocialConnectionInstance($provider: String!) {\n disableSocialConnectionInstance(provider: $provider) {\n provider\n enabled\n fields {\n key\n value\n }\n }\n}\n ";
138
- exports.DisbalePolicyAssignmentDocument = "\n mutation disbalePolicyAssignment($policy: String!, $targetType: PolicyAssignmentTargetType!, $targetIdentifier: String!, $namespace: String) {\n disbalePolicyAssignment(policy: $policy, targetType: $targetType, targetIdentifier: $targetIdentifier, namespace: $namespace) {\n message\n code\n }\n}\n ";
139
- exports.EnableEmailTemplateDocument = "\n mutation enableEmailTemplate($type: EmailTemplateType!) {\n enableEmailTemplate(type: $type) {\n type\n name\n subject\n sender\n content\n redirectTo\n hasURL\n expiresIn\n enabled\n isSystem\n }\n}\n ";
140
- exports.EnablePolicyAssignmentDocument = "\n mutation enablePolicyAssignment($policy: String!, $targetType: PolicyAssignmentTargetType!, $targetIdentifier: String!, $namespace: String) {\n enablePolicyAssignment(policy: $policy, targetType: $targetType, targetIdentifier: $targetIdentifier, namespace: $namespace) {\n message\n code\n }\n}\n ";
141
- exports.EnableSocialConnectionInstanceDocument = "\n mutation enableSocialConnectionInstance($provider: String!) {\n enableSocialConnectionInstance(provider: $provider) {\n provider\n enabled\n fields {\n key\n value\n }\n }\n}\n ";
142
- exports.LoginByEmailDocument = "\n mutation loginByEmail($input: LoginByEmailInput!) {\n loginByEmail(input: $input) {\n id\n arn\n status\n userPoolId\n username\n email\n emailVerified\n phone\n phoneVerified\n unionid\n openid\n nickname\n registerSource\n photo\n password\n oauth\n token\n tokenExpiredAt\n loginsCount\n lastLogin\n lastIP\n signedUp\n blocked\n isDeleted\n device\n browser\n company\n name\n givenName\n familyName\n middleName\n profile\n preferredUsername\n website\n gender\n birthdate\n zoneinfo\n locale\n address\n formatted\n streetAddress\n locality\n region\n postalCode\n city\n province\n country\n createdAt\n updatedAt\n externalId\n }\n}\n ";
143
- exports.LoginByPhoneCodeDocument = "\n mutation loginByPhoneCode($input: LoginByPhoneCodeInput!) {\n loginByPhoneCode(input: $input) {\n id\n arn\n userPoolId\n status\n username\n email\n emailVerified\n phone\n phoneVerified\n unionid\n openid\n nickname\n registerSource\n photo\n password\n oauth\n token\n tokenExpiredAt\n loginsCount\n lastLogin\n lastIP\n signedUp\n blocked\n isDeleted\n device\n browser\n company\n name\n givenName\n familyName\n middleName\n profile\n preferredUsername\n website\n gender\n birthdate\n zoneinfo\n locale\n address\n formatted\n streetAddress\n locality\n region\n postalCode\n city\n province\n country\n createdAt\n updatedAt\n externalId\n }\n}\n ";
144
- exports.LoginByPhonePasswordDocument = "\n mutation loginByPhonePassword($input: LoginByPhonePasswordInput!) {\n loginByPhonePassword(input: $input) {\n id\n arn\n userPoolId\n status\n username\n email\n emailVerified\n phone\n phoneVerified\n unionid\n openid\n nickname\n registerSource\n photo\n password\n oauth\n token\n tokenExpiredAt\n loginsCount\n lastLogin\n lastIP\n signedUp\n blocked\n isDeleted\n device\n browser\n company\n name\n givenName\n familyName\n middleName\n profile\n preferredUsername\n website\n gender\n birthdate\n zoneinfo\n locale\n address\n formatted\n streetAddress\n locality\n region\n postalCode\n city\n province\n country\n createdAt\n updatedAt\n externalId\n }\n}\n ";
145
- exports.LoginBySubAccountDocument = "\n mutation loginBySubAccount($account: String!, $password: String!, $captchaCode: String, $clientIp: String) {\n loginBySubAccount(account: $account, password: $password, captchaCode: $captchaCode, clientIp: $clientIp) {\n id\n arn\n status\n userPoolId\n username\n email\n emailVerified\n phone\n phoneVerified\n unionid\n openid\n nickname\n registerSource\n photo\n password\n oauth\n token\n tokenExpiredAt\n loginsCount\n lastLogin\n lastIP\n signedUp\n blocked\n isDeleted\n device\n browser\n company\n name\n givenName\n familyName\n middleName\n profile\n preferredUsername\n website\n gender\n birthdate\n zoneinfo\n locale\n address\n formatted\n streetAddress\n locality\n region\n postalCode\n city\n province\n country\n createdAt\n updatedAt\n externalId\n }\n}\n ";
146
- exports.LoginByUsernameDocument = "\n mutation loginByUsername($input: LoginByUsernameInput!) {\n loginByUsername(input: $input) {\n id\n arn\n userPoolId\n status\n username\n email\n emailVerified\n phone\n phoneVerified\n unionid\n openid\n nickname\n registerSource\n photo\n password\n oauth\n token\n tokenExpiredAt\n loginsCount\n lastLogin\n lastIP\n signedUp\n blocked\n isDeleted\n device\n browser\n company\n name\n givenName\n familyName\n middleName\n profile\n preferredUsername\n website\n gender\n birthdate\n zoneinfo\n locale\n address\n formatted\n streetAddress\n locality\n region\n postalCode\n city\n province\n country\n createdAt\n updatedAt\n externalId\n }\n}\n ";
147
- exports.MoveMembersDocument = "\n mutation moveMembers($userIds: [String!]!, $sourceNodeId: String!, $targetNodeId: String!) {\n moveMembers(userIds: $userIds, sourceNodeId: $sourceNodeId, targetNodeId: $targetNodeId) {\n code\n message\n }\n}\n ";
148
- exports.MoveNodeDocument = "\n mutation moveNode($orgId: String!, $nodeId: String!, $targetParentId: String!) {\n moveNode(orgId: $orgId, nodeId: $nodeId, targetParentId: $targetParentId) {\n id\n rootNode {\n id\n orgId\n name\n nameI18n\n description\n descriptionI18n\n order\n code\n root\n depth\n path\n createdAt\n updatedAt\n children\n }\n nodes {\n id\n orgId\n name\n nameI18n\n description\n descriptionI18n\n order\n code\n root\n depth\n path\n createdAt\n updatedAt\n children\n }\n }\n}\n ";
149
- exports.RefreshAccessTokenDocument = "\n mutation refreshAccessToken($accessToken: String) {\n refreshAccessToken(accessToken: $accessToken) {\n accessToken\n exp\n iat\n }\n}\n ";
150
- exports.RefreshTokenDocument = "\n mutation refreshToken($id: String) {\n refreshToken(id: $id) {\n token\n iat\n exp\n }\n}\n ";
151
- exports.RefreshUserpoolSecretDocument = "\n mutation refreshUserpoolSecret {\n refreshUserpoolSecret\n}\n ";
152
- exports.RegisterByEmailDocument = "\n mutation registerByEmail($input: RegisterByEmailInput!) {\n registerByEmail(input: $input) {\n id\n arn\n userPoolId\n status\n username\n email\n emailVerified\n phone\n phoneVerified\n unionid\n openid\n nickname\n registerSource\n photo\n password\n oauth\n token\n tokenExpiredAt\n loginsCount\n lastLogin\n lastIP\n signedUp\n blocked\n isDeleted\n device\n browser\n company\n name\n givenName\n familyName\n middleName\n profile\n preferredUsername\n website\n gender\n birthdate\n zoneinfo\n locale\n address\n formatted\n streetAddress\n locality\n region\n postalCode\n city\n province\n country\n createdAt\n updatedAt\n externalId\n }\n}\n ";
153
- exports.RegisterByPhoneCodeDocument = "\n mutation registerByPhoneCode($input: RegisterByPhoneCodeInput!) {\n registerByPhoneCode(input: $input) {\n id\n arn\n userPoolId\n status\n username\n email\n emailVerified\n phone\n phoneVerified\n unionid\n openid\n nickname\n registerSource\n photo\n password\n oauth\n token\n tokenExpiredAt\n loginsCount\n lastLogin\n lastIP\n signedUp\n blocked\n isDeleted\n device\n browser\n company\n name\n givenName\n familyName\n middleName\n profile\n preferredUsername\n website\n gender\n birthdate\n zoneinfo\n locale\n address\n formatted\n streetAddress\n locality\n region\n postalCode\n city\n province\n country\n createdAt\n updatedAt\n externalId\n }\n}\n ";
154
- exports.RegisterByUsernameDocument = "\n mutation registerByUsername($input: RegisterByUsernameInput!) {\n registerByUsername(input: $input) {\n id\n arn\n userPoolId\n status\n username\n email\n emailVerified\n phone\n phoneVerified\n unionid\n openid\n nickname\n registerSource\n photo\n password\n oauth\n token\n tokenExpiredAt\n loginsCount\n lastLogin\n lastIP\n signedUp\n blocked\n isDeleted\n device\n browser\n company\n name\n givenName\n familyName\n middleName\n profile\n preferredUsername\n website\n gender\n birthdate\n zoneinfo\n locale\n address\n formatted\n streetAddress\n locality\n region\n postalCode\n city\n province\n country\n createdAt\n updatedAt\n externalId\n }\n}\n ";
155
- exports.RemoveMemberDocument = "\n mutation removeMember($page: Int, $limit: Int, $sortBy: SortByEnum, $includeChildrenNodes: Boolean, $nodeId: String, $orgId: String, $nodeCode: String, $userIds: [String!]!) {\n removeMember(nodeId: $nodeId, orgId: $orgId, nodeCode: $nodeCode, userIds: $userIds) {\n id\n name\n nameI18n\n description\n descriptionI18n\n order\n code\n root\n depth\n createdAt\n updatedAt\n children\n users(page: $page, limit: $limit, sortBy: $sortBy, includeChildrenNodes: $includeChildrenNodes) {\n totalCount\n list {\n id\n arn\n userPoolId\n status\n username\n email\n emailVerified\n phone\n phoneVerified\n unionid\n openid\n nickname\n registerSource\n photo\n password\n oauth\n token\n tokenExpiredAt\n loginsCount\n lastLogin\n lastIP\n signedUp\n blocked\n isDeleted\n device\n browser\n company\n name\n givenName\n familyName\n middleName\n profile\n preferredUsername\n website\n gender\n birthdate\n zoneinfo\n locale\n address\n formatted\n streetAddress\n locality\n region\n postalCode\n city\n province\n country\n createdAt\n updatedAt\n }\n }\n }\n}\n ";
156
- exports.RemovePolicyAssignmentsDocument = "\n mutation removePolicyAssignments($policies: [String!]!, $targetType: PolicyAssignmentTargetType!, $targetIdentifiers: [String!], $namespace: String) {\n removePolicyAssignments(policies: $policies, targetType: $targetType, targetIdentifiers: $targetIdentifiers, namespace: $namespace) {\n message\n code\n }\n}\n ";
157
- exports.RemoveUdfDocument = "\n mutation removeUdf($targetType: UDFTargetType!, $key: String!) {\n removeUdf(targetType: $targetType, key: $key) {\n message\n code\n }\n}\n ";
158
- exports.RemoveUdvDocument = "\n mutation removeUdv($targetType: UDFTargetType!, $targetId: String!, $key: String!) {\n removeUdv(targetType: $targetType, targetId: $targetId, key: $key) {\n key\n dataType\n value\n label\n }\n}\n ";
159
- exports.RemoveUserFromGroupDocument = "\n mutation removeUserFromGroup($userIds: [String!]!, $code: String) {\n removeUserFromGroup(userIds: $userIds, code: $code) {\n message\n code\n }\n}\n ";
160
- exports.RemoveWhitelistDocument = "\n mutation removeWhitelist($type: WhitelistType!, $list: [String!]!) {\n removeWhitelist(type: $type, list: $list) {\n createdAt\n updatedAt\n value\n }\n}\n ";
161
- exports.ResetPasswordDocument = "\n mutation resetPassword($phone: String, $email: String, $code: String!, $newPassword: String!) {\n resetPassword(phone: $phone, email: $email, code: $code, newPassword: $newPassword) {\n message\n code\n }\n}\n ";
162
- exports.ResetPasswordByFirstLoginTokenDocument = "\n mutation resetPasswordByFirstLoginToken($token: String!, $password: String!) {\n resetPasswordByFirstLoginToken(token: $token, password: $password) {\n message\n code\n }\n}\n ";
163
- exports.RevokeRoleDocument = "\n mutation revokeRole($namespace: String, $roleCode: String, $roleCodes: [String], $userIds: [String!], $groupCodes: [String!], $nodeCodes: [String!]) {\n revokeRole(namespace: $namespace, roleCode: $roleCode, roleCodes: $roleCodes, userIds: $userIds, groupCodes: $groupCodes, nodeCodes: $nodeCodes) {\n message\n code\n }\n}\n ";
164
- exports.SendEmailDocument = "\n mutation sendEmail($email: String!, $scene: EmailScene!) {\n sendEmail(email: $email, scene: $scene) {\n message\n code\n }\n}\n ";
165
- exports.SendFirstLoginVerifyEmailDocument = "\n mutation sendFirstLoginVerifyEmail($userId: String!, $appId: String!) {\n sendFirstLoginVerifyEmail(userId: $userId, appId: $appId) {\n message\n code\n }\n}\n ";
166
- exports.SetMainDepartmentDocument = "\n mutation setMainDepartment($userId: String!, $departmentId: String) {\n setMainDepartment(userId: $userId, departmentId: $departmentId) {\n message\n code\n }\n}\n ";
167
- exports.SetUdfDocument = "\n mutation setUdf($targetType: UDFTargetType!, $key: String!, $dataType: UDFDataType!, $label: String!, $options: String) {\n setUdf(targetType: $targetType, key: $key, dataType: $dataType, label: $label, options: $options) {\n targetType\n dataType\n key\n label\n options\n }\n}\n ";
168
- exports.SetUdfValueBatchDocument = "\n mutation setUdfValueBatch($targetType: UDFTargetType!, $input: [SetUdfValueBatchInput!]!) {\n setUdfValueBatch(targetType: $targetType, input: $input) {\n code\n message\n }\n}\n ";
169
- exports.SetUdvDocument = "\n mutation setUdv($targetType: UDFTargetType!, $targetId: String!, $key: String!, $value: String!) {\n setUdv(targetType: $targetType, targetId: $targetId, key: $key, value: $value) {\n key\n dataType\n value\n label\n }\n}\n ";
170
- exports.SetUdvBatchDocument = "\n mutation setUdvBatch($targetType: UDFTargetType!, $targetId: String!, $udvList: [UserDefinedDataInput!]) {\n setUdvBatch(targetType: $targetType, targetId: $targetId, udvList: $udvList) {\n key\n dataType\n value\n label\n }\n}\n ";
171
- exports.UnbindEmailDocument = "\n mutation unbindEmail {\n unbindEmail {\n id\n arn\n userPoolId\n status\n username\n email\n emailVerified\n phone\n phoneVerified\n unionid\n openid\n nickname\n registerSource\n photo\n password\n oauth\n token\n tokenExpiredAt\n loginsCount\n lastLogin\n lastIP\n signedUp\n blocked\n isDeleted\n device\n browser\n company\n name\n givenName\n familyName\n middleName\n profile\n preferredUsername\n website\n gender\n birthdate\n zoneinfo\n locale\n address\n formatted\n streetAddress\n locality\n region\n postalCode\n city\n province\n country\n createdAt\n updatedAt\n }\n}\n ";
172
- exports.UnbindPhoneDocument = "\n mutation unbindPhone {\n unbindPhone {\n id\n arn\n userPoolId\n status\n username\n email\n emailVerified\n phone\n phoneVerified\n unionid\n openid\n nickname\n registerSource\n photo\n password\n oauth\n token\n tokenExpiredAt\n loginsCount\n lastLogin\n lastIP\n signedUp\n blocked\n isDeleted\n device\n browser\n company\n name\n givenName\n familyName\n middleName\n profile\n preferredUsername\n website\n gender\n birthdate\n zoneinfo\n locale\n address\n formatted\n streetAddress\n locality\n region\n postalCode\n city\n province\n country\n createdAt\n updatedAt\n }\n}\n ";
173
- exports.UpdateEmailDocument = "\n mutation updateEmail($email: String!, $emailCode: String!, $oldEmail: String, $oldEmailCode: String) {\n updateEmail(email: $email, emailCode: $emailCode, oldEmail: $oldEmail, oldEmailCode: $oldEmailCode) {\n id\n arn\n userPoolId\n status\n username\n email\n emailVerified\n phone\n phoneVerified\n unionid\n openid\n nickname\n registerSource\n photo\n password\n oauth\n token\n tokenExpiredAt\n loginsCount\n lastLogin\n lastIP\n signedUp\n blocked\n isDeleted\n device\n browser\n company\n name\n givenName\n familyName\n middleName\n profile\n preferredUsername\n website\n gender\n birthdate\n zoneinfo\n locale\n address\n formatted\n streetAddress\n locality\n region\n postalCode\n city\n province\n country\n createdAt\n updatedAt\n }\n}\n ";
174
- exports.UpdateFunctionDocument = "\n mutation updateFunction($input: UpdateFunctionInput!) {\n updateFunction(input: $input) {\n id\n name\n sourceCode\n description\n url\n }\n}\n ";
175
- exports.UpdateGroupDocument = "\n mutation updateGroup($code: String!, $name: String, $description: String, $newCode: String) {\n updateGroup(code: $code, name: $name, description: $description, newCode: $newCode) {\n code\n name\n description\n createdAt\n updatedAt\n }\n}\n ";
176
- exports.UpdateNodeDocument = "\n mutation updateNode($page: Int, $limit: Int, $sortBy: SortByEnum, $includeChildrenNodes: Boolean, $id: String!, $name: String, $code: String, $description: String) {\n updateNode(id: $id, name: $name, code: $code, description: $description) {\n id\n orgId\n name\n nameI18n\n description\n descriptionI18n\n order\n code\n root\n depth\n path\n createdAt\n updatedAt\n children\n users(page: $page, limit: $limit, sortBy: $sortBy, includeChildrenNodes: $includeChildrenNodes) {\n totalCount\n }\n }\n}\n ";
177
- exports.UpdatePasswordDocument = "\n mutation updatePassword($newPassword: String!, $oldPassword: String) {\n updatePassword(newPassword: $newPassword, oldPassword: $oldPassword) {\n id\n arn\n userPoolId\n status\n username\n email\n emailVerified\n phone\n phoneVerified\n unionid\n openid\n nickname\n registerSource\n photo\n password\n oauth\n token\n tokenExpiredAt\n loginsCount\n lastLogin\n lastIP\n signedUp\n blocked\n isDeleted\n device\n browser\n company\n name\n givenName\n familyName\n middleName\n profile\n preferredUsername\n website\n gender\n birthdate\n zoneinfo\n locale\n address\n formatted\n streetAddress\n locality\n region\n postalCode\n city\n province\n country\n createdAt\n updatedAt\n }\n}\n ";
178
- exports.UpdatePhoneDocument = "\n mutation updatePhone($phone: String!, $phoneCode: String!, $oldPhone: String, $oldPhoneCode: String) {\n updatePhone(phone: $phone, phoneCode: $phoneCode, oldPhone: $oldPhone, oldPhoneCode: $oldPhoneCode) {\n id\n arn\n userPoolId\n status\n username\n email\n emailVerified\n phone\n phoneVerified\n unionid\n openid\n nickname\n registerSource\n photo\n password\n oauth\n token\n tokenExpiredAt\n loginsCount\n lastLogin\n lastIP\n signedUp\n blocked\n isDeleted\n device\n browser\n company\n name\n givenName\n familyName\n middleName\n profile\n preferredUsername\n website\n gender\n birthdate\n zoneinfo\n locale\n address\n formatted\n streetAddress\n locality\n region\n postalCode\n city\n province\n country\n createdAt\n updatedAt\n }\n}\n ";
179
- exports.UpdatePolicyDocument = "\n mutation updatePolicy($namespace: String, $code: String!, $description: String, $statements: [PolicyStatementInput!], $newCode: String) {\n updatePolicy(namespace: $namespace, code: $code, description: $description, statements: $statements, newCode: $newCode) {\n namespace\n code\n description\n statements {\n resource\n actions\n effect\n condition {\n param\n operator\n value\n }\n }\n createdAt\n updatedAt\n }\n}\n ";
180
- exports.UpdateRoleDocument = "\n mutation updateRole($code: String!, $description: String, $newCode: String, $namespace: String) {\n updateRole(code: $code, description: $description, newCode: $newCode, namespace: $namespace) {\n id\n namespace\n code\n arn\n description\n createdAt\n updatedAt\n parent {\n namespace\n code\n arn\n description\n createdAt\n updatedAt\n }\n }\n}\n ";
181
- exports.UpdateUserDocument = "\n mutation updateUser($id: String, $input: UpdateUserInput!) {\n updateUser(id: $id, input: $input) {\n id\n arn\n userPoolId\n status\n username\n email\n emailVerified\n phone\n phoneVerified\n unionid\n openid\n nickname\n registerSource\n photo\n password\n oauth\n token\n tokenExpiredAt\n loginsCount\n lastLogin\n lastIP\n signedUp\n blocked\n isDeleted\n device\n browser\n company\n name\n givenName\n familyName\n middleName\n profile\n preferredUsername\n website\n gender\n birthdate\n zoneinfo\n locale\n address\n formatted\n streetAddress\n locality\n region\n postalCode\n city\n province\n country\n createdAt\n updatedAt\n externalId\n }\n}\n ";
182
- exports.UpdateUserpoolDocument = "\n mutation updateUserpool($input: UpdateUserpoolInput!) {\n updateUserpool(input: $input) {\n id\n name\n domain\n description\n secret\n jwtSecret\n userpoolTypes {\n code\n name\n description\n image\n sdks\n }\n logo\n createdAt\n updatedAt\n emailVerifiedDefault\n sendWelcomeEmail\n registerDisabled\n appSsoEnabled\n showWxQRCodeWhenRegisterDisabled\n allowedOrigins\n tokenExpiresAfter\n isDeleted\n frequentRegisterCheck {\n timeInterval\n limit\n enabled\n }\n loginFailCheck {\n timeInterval\n limit\n enabled\n }\n changePhoneStrategy {\n verifyOldPhone\n }\n changeEmailStrategy {\n verifyOldEmail\n }\n qrcodeLoginStrategy {\n qrcodeExpiresAfter\n returnFullUserInfo\n allowExchangeUserInfoFromBrowser\n ticketExpiresAfter\n }\n app2WxappLoginStrategy {\n ticketExpriresAfter\n ticketExchangeUserInfoNeedSecret\n }\n whitelist {\n phoneEnabled\n emailEnabled\n usernameEnabled\n }\n customSMSProvider {\n enabled\n provider\n config\n }\n packageType\n useCustomUserStore\n loginRequireEmailVerified\n verifyCodeLength\n }\n}\n ";
183
- exports.AccessTokenDocument = "\n query accessToken($userPoolId: String!, $secret: String!) {\n accessToken(userPoolId: $userPoolId, secret: $secret) {\n accessToken\n exp\n iat\n }\n}\n ";
184
- exports.ArchivedUsersDocument = "\n query archivedUsers($page: Int, $limit: Int) {\n archivedUsers(page: $page, limit: $limit) {\n totalCount\n list {\n id\n arn\n status\n userPoolId\n username\n email\n emailVerified\n phone\n phoneVerified\n unionid\n openid\n nickname\n registerSource\n photo\n password\n oauth\n token\n tokenExpiredAt\n loginsCount\n lastLogin\n lastIP\n signedUp\n blocked\n isDeleted\n device\n browser\n company\n name\n givenName\n familyName\n middleName\n profile\n preferredUsername\n website\n gender\n birthdate\n zoneinfo\n locale\n address\n formatted\n streetAddress\n locality\n region\n postalCode\n city\n province\n country\n createdAt\n updatedAt\n externalId\n }\n }\n}\n ";
185
- exports.AuthorizedTargetsDocument = "\n query authorizedTargets($namespace: String!, $resourceType: ResourceType!, $resource: String!, $targetType: PolicyAssignmentTargetType, $actions: AuthorizedTargetsActionsInput) {\n authorizedTargets(namespace: $namespace, resource: $resource, resourceType: $resourceType, targetType: $targetType, actions: $actions) {\n totalCount\n list {\n targetType\n targetIdentifier\n actions\n }\n }\n}\n ";
186
- exports.CheckLoginStatusDocument = "\n query checkLoginStatus($token: String) {\n checkLoginStatus(token: $token) {\n code\n message\n status\n exp\n iat\n data {\n id\n userPoolId\n arn\n }\n }\n}\n ";
187
- exports.CheckPasswordStrengthDocument = "\n query checkPasswordStrength($password: String!) {\n checkPasswordStrength(password: $password) {\n valid\n message\n }\n}\n ";
188
- exports.ChildrenNodesDocument = "\n query childrenNodes($nodeId: String!) {\n childrenNodes(nodeId: $nodeId) {\n id\n orgId\n name\n nameI18n\n description\n descriptionI18n\n order\n code\n root\n depth\n path\n createdAt\n updatedAt\n children\n }\n}\n ";
189
- exports.EmailTemplatesDocument = "\n query emailTemplates {\n emailTemplates {\n type\n name\n subject\n sender\n content\n redirectTo\n hasURL\n expiresIn\n enabled\n isSystem\n }\n}\n ";
190
- exports.FindUserDocument = "\n query findUser($email: String, $phone: String, $username: String, $externalId: String) {\n findUser(email: $email, phone: $phone, username: $username, externalId: $externalId) {\n id\n arn\n userPoolId\n status\n username\n email\n emailVerified\n phone\n phoneVerified\n unionid\n openid\n nickname\n registerSource\n photo\n password\n oauth\n token\n tokenExpiredAt\n loginsCount\n lastLogin\n lastIP\n signedUp\n blocked\n isDeleted\n device\n browser\n company\n name\n givenName\n familyName\n middleName\n profile\n preferredUsername\n website\n gender\n birthdate\n zoneinfo\n locale\n address\n formatted\n streetAddress\n locality\n region\n postalCode\n city\n province\n country\n createdAt\n updatedAt\n externalId\n }\n}\n ";
191
- exports.FindUserWithCustomDataDocument = "\n query findUserWithCustomData($email: String, $phone: String, $username: String, $externalId: String) {\n findUser(email: $email, phone: $phone, username: $username, externalId: $externalId) {\n id\n arn\n userPoolId\n status\n username\n email\n emailVerified\n phone\n phoneVerified\n unionid\n openid\n nickname\n registerSource\n photo\n password\n oauth\n token\n tokenExpiredAt\n loginsCount\n lastLogin\n lastIP\n signedUp\n blocked\n isDeleted\n device\n browser\n company\n name\n givenName\n familyName\n middleName\n profile\n preferredUsername\n website\n gender\n birthdate\n zoneinfo\n locale\n address\n formatted\n streetAddress\n locality\n region\n postalCode\n city\n province\n country\n createdAt\n updatedAt\n externalId\n customData {\n key\n value\n dataType\n label\n }\n }\n}\n ";
192
- exports.FunctionDocument = "\n query function($id: String) {\n function(id: $id) {\n id\n name\n sourceCode\n description\n url\n }\n}\n ";
193
- exports.FunctionsDocument = "\n query functions($page: Int, $limit: Int, $sortBy: SortByEnum) {\n functions(page: $page, limit: $limit, sortBy: $sortBy) {\n list {\n id\n name\n sourceCode\n description\n url\n }\n totalCount\n }\n}\n ";
194
- exports.GetUserDepartmentsDocument = "\n query getUserDepartments($id: String!, $orgId: String) {\n user(id: $id) {\n departments(orgId: $orgId) {\n totalCount\n list {\n department {\n id\n orgId\n name\n nameI18n\n description\n descriptionI18n\n order\n code\n root\n depth\n path\n codePath\n namePath\n createdAt\n updatedAt\n children\n }\n isMainDepartment\n joinedAt\n }\n }\n }\n}\n ";
195
- exports.GetUserGroupsDocument = "\n query getUserGroups($id: String!) {\n user(id: $id) {\n groups {\n totalCount\n list {\n code\n name\n description\n createdAt\n updatedAt\n }\n }\n }\n}\n ";
196
- exports.GetUserRolesDocument = "\n query getUserRoles($id: String!, $namespace: String) {\n user(id: $id) {\n roles(namespace: $namespace) {\n totalCount\n list {\n code\n namespace\n arn\n description\n createdAt\n updatedAt\n parent {\n code\n namespace\n arn\n description\n createdAt\n updatedAt\n }\n }\n }\n }\n}\n ";
197
- exports.GroupDocument = "\n query group($code: String!) {\n group(code: $code) {\n code\n name\n description\n createdAt\n updatedAt\n }\n}\n ";
198
- exports.GroupWithUsersDocument = "\n query groupWithUsers($code: String!, $page: Int, $limit: Int) {\n group(code: $code) {\n users(page: $page, limit: $limit) {\n totalCount\n list {\n id\n arn\n userPoolId\n username\n email\n emailVerified\n phone\n phoneVerified\n unionid\n openid\n nickname\n registerSource\n photo\n password\n oauth\n token\n tokenExpiredAt\n loginsCount\n lastLogin\n lastIP\n signedUp\n blocked\n isDeleted\n device\n browser\n company\n name\n givenName\n familyName\n middleName\n profile\n preferredUsername\n website\n gender\n birthdate\n zoneinfo\n locale\n address\n formatted\n streetAddress\n locality\n region\n postalCode\n city\n province\n country\n createdAt\n updatedAt\n externalId\n }\n }\n }\n}\n ";
199
- exports.GroupWithUsersWithCustomDataDocument = "\n query groupWithUsersWithCustomData($code: String!, $page: Int, $limit: Int) {\n group(code: $code) {\n users(page: $page, limit: $limit) {\n totalCount\n list {\n id\n arn\n userPoolId\n username\n email\n emailVerified\n phone\n phoneVerified\n unionid\n openid\n nickname\n registerSource\n photo\n password\n oauth\n token\n tokenExpiredAt\n loginsCount\n lastLogin\n lastIP\n signedUp\n blocked\n isDeleted\n device\n browser\n company\n name\n givenName\n familyName\n middleName\n profile\n preferredUsername\n website\n gender\n birthdate\n zoneinfo\n locale\n address\n formatted\n streetAddress\n locality\n region\n postalCode\n city\n province\n country\n createdAt\n updatedAt\n externalId\n customData {\n key\n value\n dataType\n label\n }\n }\n }\n }\n}\n ";
200
- exports.GroupsDocument = "\n query groups($userId: String, $page: Int, $limit: Int, $sortBy: SortByEnum) {\n groups(userId: $userId, page: $page, limit: $limit, sortBy: $sortBy) {\n totalCount\n list {\n code\n name\n description\n createdAt\n updatedAt\n }\n }\n}\n ";
201
- exports.IsActionAllowedDocument = "\n query isActionAllowed($resource: String!, $action: String!, $userId: String!, $namespace: String) {\n isActionAllowed(resource: $resource, action: $action, userId: $userId, namespace: $namespace)\n}\n ";
202
- exports.IsActionDeniedDocument = "\n query isActionDenied($resource: String!, $action: String!, $userId: String!) {\n isActionDenied(resource: $resource, action: $action, userId: $userId)\n}\n ";
203
- exports.IsDomainAvaliableDocument = "\n query isDomainAvaliable($domain: String!) {\n isDomainAvaliable(domain: $domain)\n}\n ";
204
- exports.IsRootNodeDocument = "\n query isRootNode($nodeId: String!, $orgId: String!) {\n isRootNode(nodeId: $nodeId, orgId: $orgId)\n}\n ";
205
- exports.IsUserExistsDocument = "\n query isUserExists($email: String, $phone: String, $username: String, $externalId: String) {\n isUserExists(email: $email, phone: $phone, username: $username, externalId: $externalId)\n}\n ";
206
- exports.AuthorizedResourcesDocument = "\n query authorizedResources($targetType: PolicyAssignmentTargetType, $targetIdentifier: String, $namespace: String, $resourceType: String) {\n authorizedResources(targetType: $targetType, targetIdentifier: $targetIdentifier, namespace: $namespace, resourceType: $resourceType) {\n totalCount\n list {\n code\n type\n actions\n }\n }\n}\n ";
207
- exports.ListGroupAuthorizedResourcesDocument = "\n query listGroupAuthorizedResources($code: String!, $namespace: String, $resourceType: String) {\n group(code: $code) {\n authorizedResources(namespace: $namespace, resourceType: $resourceType) {\n totalCount\n list {\n code\n type\n actions\n }\n }\n }\n}\n ";
208
- exports.ListNodeByCodeAuthorizedResourcesDocument = "\n query listNodeByCodeAuthorizedResources($orgId: String!, $code: String!, $namespace: String, $resourceType: String) {\n nodeByCode(orgId: $orgId, code: $code) {\n authorizedResources(namespace: $namespace, resourceType: $resourceType) {\n totalCount\n list {\n code\n type\n actions\n }\n }\n }\n}\n ";
209
- exports.ListNodeByIdAuthorizedResourcesDocument = "\n query listNodeByIdAuthorizedResources($id: String!, $namespace: String, $resourceType: String) {\n nodeById(id: $id) {\n authorizedResources(namespace: $namespace, resourceType: $resourceType) {\n totalCount\n list {\n code\n type\n actions\n }\n }\n }\n}\n ";
210
- exports.ListRoleAuthorizedResourcesDocument = "\n query listRoleAuthorizedResources($code: String!, $namespace: String, $resourceType: String) {\n role(code: $code, namespace: $namespace) {\n authorizedResources(resourceType: $resourceType) {\n totalCount\n list {\n code\n type\n actions\n }\n }\n }\n}\n ";
211
- exports.ListUserAuthorizedResourcesDocument = "\n query listUserAuthorizedResources($id: String!, $namespace: String, $resourceType: String) {\n user(id: $id) {\n authorizedResources(namespace: $namespace, resourceType: $resourceType) {\n totalCount\n list {\n code\n type\n actions\n }\n }\n }\n}\n ";
212
- exports.NodeByCodeDocument = "\n query nodeByCode($orgId: String!, $code: String!) {\n nodeByCode(orgId: $orgId, code: $code) {\n id\n orgId\n name\n nameI18n\n description\n descriptionI18n\n order\n code\n root\n depth\n path\n createdAt\n updatedAt\n children\n }\n}\n ";
213
- exports.NodeByCodeWithMembersDocument = "\n query nodeByCodeWithMembers($page: Int, $limit: Int, $sortBy: SortByEnum, $includeChildrenNodes: Boolean, $orgId: String!, $code: String!) {\n nodeByCode(orgId: $orgId, code: $code) {\n id\n orgId\n name\n nameI18n\n description\n descriptionI18n\n order\n code\n root\n depth\n createdAt\n updatedAt\n children\n users(page: $page, limit: $limit, sortBy: $sortBy, includeChildrenNodes: $includeChildrenNodes) {\n totalCount\n list {\n id\n arn\n userPoolId\n status\n username\n email\n emailVerified\n phone\n phoneVerified\n unionid\n openid\n nickname\n registerSource\n photo\n password\n oauth\n token\n tokenExpiredAt\n loginsCount\n lastLogin\n lastIP\n signedUp\n blocked\n isDeleted\n device\n browser\n company\n name\n givenName\n familyName\n middleName\n profile\n preferredUsername\n website\n gender\n birthdate\n zoneinfo\n locale\n address\n formatted\n streetAddress\n locality\n region\n postalCode\n city\n province\n country\n createdAt\n updatedAt\n externalId\n }\n }\n }\n}\n ";
214
- exports.NodeByIdDocument = "\n query nodeById($id: String!) {\n nodeById(id: $id) {\n id\n orgId\n name\n nameI18n\n description\n descriptionI18n\n order\n code\n root\n depth\n path\n createdAt\n updatedAt\n children\n }\n}\n ";
215
- exports.NodeByIdWithMembersDocument = "\n query nodeByIdWithMembers($page: Int, $limit: Int, $sortBy: SortByEnum, $includeChildrenNodes: Boolean, $id: String!) {\n nodeById(id: $id) {\n id\n orgId\n name\n nameI18n\n description\n descriptionI18n\n order\n code\n root\n depth\n createdAt\n updatedAt\n children\n users(page: $page, limit: $limit, sortBy: $sortBy, includeChildrenNodes: $includeChildrenNodes) {\n totalCount\n list {\n id\n arn\n userPoolId\n status\n username\n email\n emailVerified\n phone\n phoneVerified\n unionid\n openid\n nickname\n registerSource\n photo\n password\n oauth\n token\n tokenExpiredAt\n loginsCount\n lastLogin\n lastIP\n signedUp\n blocked\n isDeleted\n device\n browser\n company\n name\n givenName\n familyName\n middleName\n profile\n preferredUsername\n website\n gender\n birthdate\n zoneinfo\n locale\n address\n formatted\n streetAddress\n locality\n region\n postalCode\n city\n province\n country\n createdAt\n updatedAt\n externalId\n }\n }\n }\n}\n ";
216
- exports.OrgDocument = "\n query org($id: String!) {\n org(id: $id) {\n id\n rootNode {\n id\n orgId\n name\n nameI18n\n description\n descriptionI18n\n order\n code\n root\n depth\n path\n createdAt\n updatedAt\n children\n }\n nodes {\n id\n orgId\n name\n nameI18n\n description\n descriptionI18n\n order\n code\n root\n depth\n path\n createdAt\n updatedAt\n children\n }\n }\n}\n ";
217
- exports.OrgsDocument = "\n query orgs($page: Int, $limit: Int, $sortBy: SortByEnum) {\n orgs(page: $page, limit: $limit, sortBy: $sortBy) {\n totalCount\n list {\n id\n rootNode {\n id\n name\n nameI18n\n path\n description\n descriptionI18n\n order\n code\n root\n depth\n createdAt\n updatedAt\n children\n }\n nodes {\n id\n name\n path\n nameI18n\n description\n descriptionI18n\n order\n code\n root\n depth\n createdAt\n updatedAt\n children\n }\n }\n }\n}\n ";
218
- exports.PoliciesDocument = "\n query policies($page: Int, $limit: Int, $namespace: String) {\n policies(page: $page, limit: $limit, namespace: $namespace) {\n totalCount\n list {\n namespace\n code\n description\n createdAt\n updatedAt\n statements {\n resource\n actions\n effect\n condition {\n param\n operator\n value\n }\n }\n }\n }\n}\n ";
219
- exports.PolicyDocument = "\n query policy($namespace: String, $code: String!) {\n policy(code: $code, namespace: $namespace) {\n namespace\n code\n isDefault\n description\n statements {\n resource\n actions\n effect\n condition {\n param\n operator\n value\n }\n }\n createdAt\n updatedAt\n }\n}\n ";
220
- exports.PolicyAssignmentsDocument = "\n query policyAssignments($namespace: String, $code: String, $targetType: PolicyAssignmentTargetType, $targetIdentifier: String, $page: Int, $limit: Int) {\n policyAssignments(namespace: $namespace, code: $code, targetType: $targetType, targetIdentifier: $targetIdentifier, page: $page, limit: $limit) {\n totalCount\n list {\n code\n targetType\n targetIdentifier\n }\n }\n}\n ";
221
- exports.PolicyWithAssignmentsDocument = "\n query policyWithAssignments($page: Int, $limit: Int, $code: String!) {\n policy(code: $code) {\n code\n isDefault\n description\n statements {\n resource\n actions\n effect\n }\n createdAt\n updatedAt\n assignmentsCount\n assignments(page: $page, limit: $limit) {\n code\n targetType\n targetIdentifier\n }\n }\n}\n ";
222
- exports.PreviewEmailDocument = "\n query previewEmail($type: EmailTemplateType!) {\n previewEmail(type: $type)\n}\n ";
223
- exports.QiniuUptokenDocument = "\n query qiniuUptoken($type: String) {\n qiniuUptoken(type: $type)\n}\n ";
224
- exports.QueryMfaDocument = "\n query queryMfa($id: String, $userId: String, $userPoolId: String) {\n queryMfa(id: $id, userId: $userId, userPoolId: $userPoolId) {\n id\n userId\n userPoolId\n enable\n secret\n }\n}\n ";
225
- exports.RoleDocument = "\n query role($code: String!, $namespace: String) {\n role(code: $code, namespace: $namespace) {\n id\n namespace\n code\n arn\n description\n createdAt\n updatedAt\n parent {\n namespace\n code\n arn\n description\n createdAt\n updatedAt\n }\n }\n}\n ";
226
- exports.RoleWithUsersDocument = "\n query roleWithUsers($code: String!, $namespace: String, $page: Int, $limit: Int) {\n role(code: $code, namespace: $namespace) {\n users(page: $page, limit: $limit) {\n totalCount\n list {\n id\n arn\n status\n userPoolId\n username\n email\n emailVerified\n phone\n phoneVerified\n unionid\n openid\n nickname\n registerSource\n photo\n password\n oauth\n token\n tokenExpiredAt\n loginsCount\n lastLogin\n lastIP\n signedUp\n blocked\n isDeleted\n device\n browser\n company\n name\n givenName\n familyName\n middleName\n profile\n preferredUsername\n website\n gender\n birthdate\n zoneinfo\n locale\n address\n formatted\n streetAddress\n locality\n region\n postalCode\n city\n province\n country\n createdAt\n updatedAt\n externalId\n }\n }\n }\n}\n ";
227
- exports.RoleWithUsersWithCustomDataDocument = "\n query roleWithUsersWithCustomData($code: String!, $namespace: String, $page: Int, $limit: Int) {\n role(code: $code, namespace: $namespace) {\n users(page: $page, limit: $limit) {\n totalCount\n list {\n id\n arn\n status\n userPoolId\n username\n email\n emailVerified\n phone\n phoneVerified\n unionid\n openid\n nickname\n registerSource\n photo\n password\n oauth\n token\n tokenExpiredAt\n loginsCount\n lastLogin\n lastIP\n signedUp\n blocked\n isDeleted\n device\n browser\n company\n name\n givenName\n familyName\n middleName\n profile\n preferredUsername\n website\n gender\n birthdate\n zoneinfo\n locale\n address\n formatted\n streetAddress\n locality\n region\n postalCode\n city\n province\n country\n createdAt\n updatedAt\n externalId\n customData {\n key\n value\n dataType\n label\n }\n }\n }\n }\n}\n ";
228
- exports.RolesDocument = "\n query roles($namespace: String, $page: Int, $limit: Int, $sortBy: SortByEnum) {\n roles(namespace: $namespace, page: $page, limit: $limit, sortBy: $sortBy) {\n totalCount\n list {\n id\n namespace\n code\n arn\n description\n createdAt\n updatedAt\n }\n }\n}\n ";
229
- exports.RootNodeDocument = "\n query rootNode($orgId: String!) {\n rootNode(orgId: $orgId) {\n id\n orgId\n name\n nameI18n\n description\n descriptionI18n\n order\n code\n root\n depth\n path\n codePath\n namePath\n createdAt\n updatedAt\n children\n }\n}\n ";
230
- exports.SearchNodesDocument = "\n query searchNodes($keyword: String!) {\n searchNodes(keyword: $keyword) {\n id\n orgId\n name\n nameI18n\n description\n descriptionI18n\n order\n code\n root\n depth\n path\n codePath\n namePath\n createdAt\n updatedAt\n children\n }\n}\n ";
231
- exports.SearchUserDocument = "\n query searchUser($query: String!, $fields: [String], $page: Int, $limit: Int, $departmentOpts: [SearchUserDepartmentOpt], $groupOpts: [SearchUserGroupOpt], $roleOpts: [SearchUserRoleOpt]) {\n searchUser(query: $query, fields: $fields, page: $page, limit: $limit, departmentOpts: $departmentOpts, groupOpts: $groupOpts, roleOpts: $roleOpts) {\n totalCount\n list {\n id\n arn\n userPoolId\n status\n username\n email\n emailVerified\n phone\n phoneVerified\n unionid\n openid\n nickname\n registerSource\n photo\n password\n oauth\n token\n tokenExpiredAt\n loginsCount\n lastLogin\n lastIP\n signedUp\n blocked\n isDeleted\n device\n browser\n company\n name\n givenName\n familyName\n middleName\n profile\n preferredUsername\n website\n gender\n birthdate\n zoneinfo\n locale\n address\n formatted\n streetAddress\n locality\n region\n postalCode\n city\n province\n country\n createdAt\n updatedAt\n externalId\n }\n }\n}\n ";
232
- exports.SearchUserWithCustomDataDocument = "\n query searchUserWithCustomData($query: String!, $fields: [String], $page: Int, $limit: Int, $departmentOpts: [SearchUserDepartmentOpt], $groupOpts: [SearchUserGroupOpt], $roleOpts: [SearchUserRoleOpt]) {\n searchUser(query: $query, fields: $fields, page: $page, limit: $limit, departmentOpts: $departmentOpts, groupOpts: $groupOpts, roleOpts: $roleOpts) {\n totalCount\n list {\n id\n arn\n userPoolId\n status\n username\n email\n emailVerified\n phone\n phoneVerified\n unionid\n openid\n nickname\n registerSource\n photo\n password\n oauth\n token\n tokenExpiredAt\n loginsCount\n lastLogin\n lastIP\n signedUp\n blocked\n isDeleted\n device\n browser\n company\n name\n givenName\n familyName\n middleName\n profile\n preferredUsername\n website\n gender\n birthdate\n zoneinfo\n locale\n address\n formatted\n streetAddress\n locality\n region\n postalCode\n city\n province\n country\n createdAt\n updatedAt\n externalId\n customData {\n key\n value\n dataType\n label\n }\n }\n }\n}\n ";
233
- exports.SocialConnectionDocument = "\n query socialConnection($provider: String!) {\n socialConnection(provider: $provider) {\n provider\n name\n logo\n description\n fields {\n key\n label\n type\n placeholder\n }\n }\n}\n ";
234
- exports.SocialConnectionInstanceDocument = "\n query socialConnectionInstance($provider: String!) {\n socialConnectionInstance(provider: $provider) {\n provider\n enabled\n fields {\n key\n value\n }\n }\n}\n ";
235
- exports.SocialConnectionInstancesDocument = "\n query socialConnectionInstances {\n socialConnectionInstances {\n provider\n enabled\n fields {\n key\n value\n }\n }\n}\n ";
236
- exports.SocialConnectionsDocument = "\n query socialConnections {\n socialConnections {\n provider\n name\n logo\n description\n fields {\n key\n label\n type\n placeholder\n }\n }\n}\n ";
237
- exports.TemplateCodeDocument = "\n query templateCode {\n templateCode\n}\n ";
238
- exports.UdfDocument = "\n query udf($targetType: UDFTargetType!) {\n udf(targetType: $targetType) {\n targetType\n dataType\n key\n label\n options\n }\n}\n ";
239
- exports.UdfValueBatchDocument = "\n query udfValueBatch($targetType: UDFTargetType!, $targetIds: [String!]!) {\n udfValueBatch(targetType: $targetType, targetIds: $targetIds) {\n targetId\n data {\n key\n dataType\n value\n label\n }\n }\n}\n ";
240
- exports.UdvDocument = "\n query udv($targetType: UDFTargetType!, $targetId: String!) {\n udv(targetType: $targetType, targetId: $targetId) {\n key\n dataType\n value\n label\n }\n}\n ";
241
- exports.UserDocument = "\n query user($id: String) {\n user(id: $id) {\n id\n arn\n userPoolId\n status\n username\n email\n emailVerified\n phone\n phoneVerified\n identities {\n openid\n userIdInIdp\n userId\n connectionId\n isSocial\n provider\n userPoolId\n }\n unionid\n openid\n nickname\n registerSource\n photo\n password\n oauth\n token\n tokenExpiredAt\n loginsCount\n lastLogin\n lastIP\n signedUp\n blocked\n isDeleted\n device\n browser\n company\n name\n givenName\n familyName\n middleName\n profile\n preferredUsername\n website\n gender\n birthdate\n zoneinfo\n locale\n address\n formatted\n streetAddress\n locality\n region\n postalCode\n city\n province\n country\n createdAt\n updatedAt\n externalId\n }\n}\n ";
242
- exports.UserBatchDocument = "\n query userBatch($ids: [String!]!, $type: String) {\n userBatch(ids: $ids, type: $type) {\n id\n arn\n userPoolId\n status\n username\n email\n emailVerified\n phone\n phoneVerified\n unionid\n openid\n nickname\n registerSource\n photo\n password\n oauth\n token\n tokenExpiredAt\n loginsCount\n lastLogin\n lastIP\n signedUp\n blocked\n isDeleted\n device\n browser\n company\n name\n givenName\n familyName\n middleName\n profile\n preferredUsername\n website\n gender\n birthdate\n zoneinfo\n locale\n address\n formatted\n streetAddress\n locality\n region\n postalCode\n city\n province\n country\n createdAt\n updatedAt\n externalId\n }\n}\n ";
243
- exports.UserBatchWithCustomDataDocument = "\n query userBatchWithCustomData($ids: [String!]!, $type: String) {\n userBatch(ids: $ids, type: $type) {\n id\n arn\n userPoolId\n status\n username\n email\n emailVerified\n phone\n phoneVerified\n unionid\n openid\n nickname\n registerSource\n photo\n password\n oauth\n token\n tokenExpiredAt\n loginsCount\n lastLogin\n lastIP\n signedUp\n blocked\n isDeleted\n device\n browser\n company\n name\n givenName\n familyName\n middleName\n profile\n preferredUsername\n website\n gender\n birthdate\n zoneinfo\n locale\n address\n formatted\n streetAddress\n locality\n region\n postalCode\n city\n province\n country\n createdAt\n updatedAt\n externalId\n customData {\n key\n value\n dataType\n label\n }\n }\n}\n ";
244
- exports.UserWithCustomDataDocument = "\n query userWithCustomData($id: String) {\n user(id: $id) {\n id\n arn\n userPoolId\n status\n username\n email\n emailVerified\n phone\n phoneVerified\n identities {\n openid\n userIdInIdp\n userId\n connectionId\n isSocial\n provider\n userPoolId\n }\n unionid\n openid\n nickname\n registerSource\n photo\n password\n oauth\n token\n tokenExpiredAt\n loginsCount\n lastLogin\n lastIP\n signedUp\n blocked\n isDeleted\n device\n browser\n company\n name\n givenName\n familyName\n middleName\n profile\n preferredUsername\n website\n gender\n birthdate\n zoneinfo\n locale\n address\n formatted\n streetAddress\n locality\n region\n postalCode\n city\n province\n country\n createdAt\n updatedAt\n externalId\n customData {\n key\n value\n dataType\n label\n }\n }\n}\n ";
245
- exports.UserpoolDocument = "\n query userpool {\n userpool {\n id\n name\n domain\n description\n secret\n jwtSecret\n ownerId\n userpoolTypes {\n code\n name\n description\n image\n sdks\n }\n logo\n createdAt\n updatedAt\n emailVerifiedDefault\n sendWelcomeEmail\n registerDisabled\n appSsoEnabled\n showWxQRCodeWhenRegisterDisabled\n allowedOrigins\n tokenExpiresAfter\n isDeleted\n frequentRegisterCheck {\n timeInterval\n limit\n enabled\n }\n loginFailCheck {\n timeInterval\n limit\n enabled\n }\n changePhoneStrategy {\n verifyOldPhone\n }\n changeEmailStrategy {\n verifyOldEmail\n }\n qrcodeLoginStrategy {\n qrcodeExpiresAfter\n returnFullUserInfo\n allowExchangeUserInfoFromBrowser\n ticketExpiresAfter\n }\n app2WxappLoginStrategy {\n ticketExpriresAfter\n ticketExchangeUserInfoNeedSecret\n }\n whitelist {\n phoneEnabled\n emailEnabled\n usernameEnabled\n }\n customSMSProvider {\n enabled\n provider\n config\n }\n packageType\n useCustomUserStore\n loginRequireEmailVerified\n verifyCodeLength\n }\n}\n ";
246
- exports.UserpoolTypesDocument = "\n query userpoolTypes {\n userpoolTypes {\n code\n name\n description\n image\n sdks\n }\n}\n ";
247
- exports.UserpoolsDocument = "\n query userpools($page: Int, $limit: Int, $sortBy: SortByEnum) {\n userpools(page: $page, limit: $limit, sortBy: $sortBy) {\n totalCount\n list {\n id\n name\n domain\n ownerId\n description\n secret\n jwtSecret\n logo\n createdAt\n updatedAt\n emailVerifiedDefault\n sendWelcomeEmail\n registerDisabled\n appSsoEnabled\n showWxQRCodeWhenRegisterDisabled\n allowedOrigins\n tokenExpiresAfter\n isDeleted\n packageType\n useCustomUserStore\n loginRequireEmailVerified\n verifyCodeLength\n }\n }\n}\n ";
248
- exports.UsersDocument = "\n query users($page: Int, $limit: Int, $sortBy: SortByEnum) {\n users(page: $page, limit: $limit, sortBy: $sortBy) {\n totalCount\n list {\n id\n arn\n userPoolId\n status\n username\n email\n emailVerified\n phone\n phoneVerified\n unionid\n openid\n nickname\n registerSource\n photo\n password\n oauth\n token\n tokenExpiredAt\n loginsCount\n lastLogin\n lastIP\n signedUp\n blocked\n isDeleted\n device\n browser\n company\n name\n givenName\n familyName\n middleName\n profile\n preferredUsername\n website\n gender\n birthdate\n zoneinfo\n locale\n address\n formatted\n streetAddress\n locality\n region\n postalCode\n city\n province\n country\n createdAt\n updatedAt\n externalId\n }\n }\n}\n ";
249
- exports.UsersWithCustomDataDocument = "\n query usersWithCustomData($page: Int, $limit: Int, $sortBy: SortByEnum) {\n users(page: $page, limit: $limit, sortBy: $sortBy) {\n totalCount\n list {\n id\n arn\n userPoolId\n status\n username\n email\n emailVerified\n phone\n phoneVerified\n unionid\n openid\n nickname\n registerSource\n photo\n password\n oauth\n token\n tokenExpiredAt\n loginsCount\n lastLogin\n lastIP\n signedUp\n blocked\n isDeleted\n device\n browser\n company\n name\n givenName\n familyName\n middleName\n profile\n preferredUsername\n website\n gender\n birthdate\n zoneinfo\n locale\n address\n formatted\n streetAddress\n locality\n region\n postalCode\n city\n province\n country\n createdAt\n updatedAt\n externalId\n customData {\n key\n value\n dataType\n label\n }\n }\n }\n}\n ";
250
- exports.WhitelistDocument = "\n query whitelist($type: WhitelistType!) {\n whitelist(type: $type) {\n createdAt\n updatedAt\n value\n }\n}\n ";
251
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ3JhcGhxbC52Mi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy90eXBlcy9ncmFwaHFsLnYyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQWlXQSxJQUFZLFlBTVg7QUFORCxXQUFZLFlBQVk7SUFDdEIsNkJBQWEsQ0FBQTtJQUNiLDJCQUFXLENBQUE7SUFDWCw2QkFBYSxDQUFBO0lBQ2IseUJBQVMsQ0FBQTtJQUNULGlDQUFpQixDQUFBO0FBQ25CLENBQUMsRUFOVyxZQUFZLEdBQVosb0JBQVksS0FBWixvQkFBWSxRQU12QjtBQUVELElBQVksMEJBTVg7QUFORCxXQUFZLDBCQUEwQjtJQUNwQywyQ0FBYSxDQUFBO0lBQ2IsMkNBQWEsQ0FBQTtJQUNiLDZDQUFlLENBQUE7SUFDZix5Q0FBVyxDQUFBO0lBQ1gsNENBQWMsQ0FBQTtBQUNoQixDQUFDLEVBTlcsMEJBQTBCLEdBQTFCLGtDQUEwQixLQUExQixrQ0FBMEIsUUFNckM7QUFPRCxJQUFZLFFBR1g7QUFIRCxXQUFZLFFBQVE7SUFDbEIsdUJBQVcsQ0FBQTtJQUNYLHFCQUFTLENBQUE7QUFDWCxDQUFDLEVBSFcsUUFBUSxHQUFSLGdCQUFRLEtBQVIsZ0JBQVEsUUFHbkI7QUFtRUQsSUFBWSxpQkFhWDtBQWJELFdBQVksaUJBQWlCO0lBQzNCLGFBQWE7SUFDYixxREFBZ0MsQ0FBQTtJQUNoQyxhQUFhO0lBQ2Isa0ZBQTZELENBQUE7SUFDN0QsY0FBYztJQUNkLHVEQUFrQyxDQUFBO0lBQ2xDLGFBQWE7SUFDYix3Q0FBbUIsQ0FBQTtJQUNuQixXQUFXO0lBQ1gsaURBQTRCLENBQUE7SUFDNUIsYUFBYTtJQUNiLGlEQUE0QixDQUFBO0FBQzlCLENBQUMsRUFiVyxpQkFBaUIsR0FBakIseUJBQWlCLEtBQWpCLHlCQUFpQixRQWE1QjtBQWdCRCxJQUFZLFVBU1g7QUFURCxXQUFZLFVBQVU7SUFDcEIsd0JBQXdCO0lBQ3hCLDhDQUFnQyxDQUFBO0lBQ2hDLHdCQUF3QjtJ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
@@ -1,7 +0,0 @@
1
- export declare type DeepPartial<T> = {
2
- [P in keyof T]?: DeepPartial<T[P]>;
3
- };
4
- export declare type KeyValuePair = {
5
- [x: string]: any;
6
- };
7
- export declare type Lang = 'zh-CN' | 'en-US';
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvdHlwZXMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiJ9
@@ -1,7 +0,0 @@
1
- export * from './lib/management/ManagementClient';
2
- export * from './lib/management/types';
3
- export * from './lib/management/ManagementTokenProvider';
4
- export * from './lib/authentication/types';
5
- export * from './lib/authentication/AuthenticationClient';
6
- export * from './lib/authentication/AuthenticationTokenProvider';
7
- export * from './types/graphql.v2';
@@ -1,8 +0,0 @@
1
- export * from './lib/management/ManagementClient';
2
- export * from './lib/management/types';
3
- export * from './lib/management/ManagementTokenProvider';
4
- export * from './lib/authentication/types';
5
- export * from './lib/authentication/AuthenticationClient';
6
- export * from './lib/authentication/AuthenticationTokenProvider';
7
- export * from './types/graphql.v2';
8
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxtQ0FBbUMsQ0FBQztBQUNsRCxjQUFjLHdCQUF3QixDQUFDO0FBQ3ZDLGNBQWMsMENBQTBDLENBQUM7QUFDekQsY0FBYyw0QkFBNEIsQ0FBQztBQUMzQyxjQUFjLDJDQUEyQyxDQUFDO0FBQzFELGNBQWMsa0RBQWtELENBQUM7QUFDakUsY0FBYyxvQkFBb0IsQ0FBQyJ9
@@ -1,1118 +0,0 @@
1
- import { AuthenticationTokenProvider } from './AuthenticationTokenProvider';
2
- import { GraphqlClient } from '../common/GraphqlClient';
3
- import { AuthenticationClientOptions, ICasParams, ILogoutParams, IOauthParams, IOidcParams, PasswordSecurityLevel, ProviderType, SecurityLevel } from './types';
4
- import { CheckPasswordStrengthResult, CommonMessage, EmailScene, JwtTokenStatus, PaginatedAuthorizedResources, RefreshToken, RegisterProfile, ResourceType, UpdateUserInput, User, UserDefinedData } from '../../types/graphql.v2';
5
- import { QrCodeAuthenticationClient } from './QrCodeAuthenticationClient';
6
- import { MfaAuthenticationClient } from './MfaAuthenticationClient';
7
- import { HttpClient, NaiveHttpClient } from '../common/HttpClient';
8
- import { SocialAuthenticationClient } from './SocialAuthenticationClient';
9
- import { KeyValuePair, Lang } from '../../types';
10
- import { EnterpriseAuthenticationClient } from './EnterpriseAuthenticationClient';
11
- import { BaseAuthenticationClient } from './BaseAuthenticationClient';
12
- import { ApplicationPublicDetail } from '../management/types';
13
- /**
14
- * @class AuthenticationClient 认证核心模块
15
- * @description 此模块包含注册登录、重置手机号邮箱、修改账号信息等方法,是以你的终端用户(End User)的身份进行请求,适合在需要验证用户身份的情况下使用。
16
- *
17
- * @example
18
- *
19
- * 使用方法:
20
- *
21
- * \`\`\`javascript
22
- * import { AuthenticationClient } from "authing-js-sdk"
23
- * const authenticationClient = new AuthenticationClient({
24
- * appId: "YOUR_APP_ID",
25
- * })
26
- * authenticationClient.registerByEmail // 使用邮箱注册
27
- * authenticationClient.loginByEmail // 使用邮箱登录
28
- * \`\`\`
29
- *
30
- *
31
- * @name AuthenticationClient
32
- */
33
- export declare class AuthenticationClient {
34
- options: AuthenticationClientOptions;
35
- baseClient: BaseAuthenticationClient;
36
- graphqlClient: GraphqlClient;
37
- httpClient: HttpClient;
38
- naiveHttpClient: NaiveHttpClient;
39
- tokenProvider: AuthenticationTokenProvider;
40
- wxqrcode: QrCodeAuthenticationClient;
41
- qrcode: QrCodeAuthenticationClient;
42
- mfa: MfaAuthenticationClient;
43
- social: SocialAuthenticationClient;
44
- enterprise: EnterpriseAuthenticationClient;
45
- private publicKeyManager;
46
- constructor(options: AuthenticationClientOptions);
47
- checkLoggedIn(): string;
48
- setCurrentUser(user: User): void;
49
- setToken(token: string): void;
50
- /**
51
- * @name registerByEmail
52
- * @name_zh 使用邮箱注册
53
- * @description 使用邮箱注册,此接口不要求用户对邮箱进行验证,用户注册之后 emailVerified 字段会为 false 。如果你希望邮箱未验证的用户不能进行登录,可以使用 pipeline 对此类请求进行拦截。
54
- *
55
- * @param {string} email 邮箱
56
- * @param {string} password 密码
57
- * @param {RegisterProfile} [profile] 用户资料
58
- * @param {Object} [options]
59
- * @param {boolean} [options.forceLogin] 是否走一遍完整的登录的,会触发登录前后的 pipeline 函数以及登录事件 webhook ,同时该用户的累计登录次数会加 1 。默认为 false 。
60
- * @param {boolean} [options.generateToken] 是否为该用户生成 token,不会触发登录后的完整流程,用户的累计登录次数不会加 1。默认为 false 。
61
- * @param {string} [options.clientIp] 客户端真实 IP,如果你在服务器端调用此接口,请务必将此参数设置为终端用户的真实 IP。
62
- *
63
- * @example
64
- *
65
- * authenticationClient.registerByEmail(
66
- * 'test@example.com',
67
- * 'passw0rd',
68
- * {
69
- * nickname: 'Nick'
70
- * },
71
- * {
72
- * generateToken: true
73
- * }
74
- * )
75
- *
76
- * @example
77
- * authenticationClient.registerByEmail('test@example.com', 'passw0rd')
78
- *
79
- *
80
- * @returns {Promise<User>}
81
- * @memberof AuthenticationClient
82
- */
83
- registerByEmail(email: string, password: string, profile?: RegisterProfile, options?: {
84
- forceLogin?: boolean;
85
- generateToken?: boolean;
86
- clientIp?: string;
87
- /**
88
- * @deprecated use customData instead
89
- */
90
- params?: Array<{
91
- key: string;
92
- value: any;
93
- }>;
94
- /**
95
- * @description 将会写入配置的用户自定义字段
96
- */
97
- customData?: {
98
- [x: string]: any;
99
- };
100
- /**
101
- * @description 请求上下文,将会传递到 Pipeline 中
102
- */
103
- context?: {
104
- [x: string]: any;
105
- };
106
- }): Promise<User>;
107
- /**
108
- * @name registerByUsername
109
- * @name_zh 使用用户名注册
110
- * @description 使用用户名注册
111
- *
112
- * @param {string} username 用户名
113
- * @param {string} password 密码
114
- * @param {RegisterProfile} [profile] 用户资料
115
- * @param {Object} [options]
116
- * @param {boolean} [options.forceLogin] 是否走一遍完整的登录的,会触发登录前后的 pipeline 函数以及登录事件 webhook ,同时该用户的累计登录次数会加 1 。默认为 false 。
117
- * @param {boolean} [options.generateToken] 是否为该用户生成 token,不会触发登录后的完整流程,用户的累计登录次数不会加 1。默认为 false 。
118
- * @param {string} [options.clientIp] 客户端真实 IP,如果你在服务器端调用此接口,请务必将此参数设置为终端用户的真实 IP。
119
- *
120
- *
121
- * @example
122
- *
123
- * authenticationClient.registerByUsername(
124
- * 'bob',
125
- * 'passw0rd',
126
- * {
127
- * nickname: 'Nick'
128
- * },
129
- * {
130
- * generateToken: true
131
- * }
132
- * )
133
- *
134
- * @example
135
- * authenticationClient.registerByUsername('bob', 'passw0rd')
136
- *
137
- *
138
- * @returns {Promise<User>}
139
- * @memberof AuthenticationClient
140
- */
141
- registerByUsername(username: string, password: string, profile?: RegisterProfile, options?: {
142
- forceLogin?: boolean;
143
- generateToken?: boolean;
144
- clientIp?: string;
145
- /**
146
- * @deprecated use customData instead
147
- */
148
- params?: Array<{
149
- key: string;
150
- value: any;
151
- }>;
152
- /**
153
- * @description 将会写入配置的用户自定义字段
154
- */
155
- customData?: {
156
- [x: string]: any;
157
- };
158
- /**
159
- * @description 请求上下文,将会传递到 Pipeline 中
160
- */
161
- context?: {
162
- [x: string]: any;
163
- };
164
- }): Promise<User>;
165
- /**
166
- * @name registerByPhoneCode
167
- * @name_zh 使用手机号注册
168
- * @description 使用手机号注册,你可以同时设置该账号的初始密码。发送短信的接口请见 sendSmsCode
169
- *
170
- * @param {string} phone 手机号
171
- * @param {string} code 短信验证码
172
- * @param {string} password 初始密码
173
- * @param {RegisterProfile} [profile] 用户资料
174
- * @param {Object} [options]
175
- * @param {boolean} [options.forceLogin] 是否走一遍完整的登录的,会触发登录前后的 pipeline 函数以及登录事件 webhook ,同时该用户的累计登录次数会加 1 。默认为 false 。
176
- * @param {boolean} [options.generateToken] 是否为该用户生成 token,不会触发登录后的完整流程,用户的累计登录次数不会加 1。默认为 false 。
177
- * @param {string} [options.clientIp] 客户端真实 IP,如果你在服务器端调用此接口,请务必将此参数设置为终端用户的真实 IP。
178
- *
179
- * @example
180
- *
181
- * authenticationClient.registerByPhoneCode(
182
- * '176xxxx7041',
183
- * '1234',
184
- * 'passw0rd',
185
- * {
186
- * nickname: 'Nick'
187
- * },
188
- * {
189
- * generateToken: true
190
- * }
191
- * )
192
- *
193
- * @example
194
- * authenticationClient.registerByPhoneCode('176xxxx7041', '1234')
195
- *
196
- *
197
- * @returns {Promise<User>}
198
- * @memberof AuthenticationClient
199
- */
200
- registerByPhoneCode(phone: string, code: string, password?: string, profile?: RegisterProfile, options?: {
201
- forceLogin?: boolean;
202
- generateToken?: boolean;
203
- clientIp?: string;
204
- /**
205
- * @deprecated use customData instead
206
- */
207
- params?: Array<{
208
- key: string;
209
- value: any;
210
- }>;
211
- /**
212
- * @description 将会写入配置的用户自定义字段
213
- */
214
- customData?: {
215
- [x: string]: any;
216
- };
217
- /**
218
- * @description 请求上下文,将会传递到 Pipeline 中
219
- */
220
- context?: {
221
- [x: string]: any;
222
- };
223
- }): Promise<User>;
224
- /**
225
- * @name checkPasswordStrength
226
- * @name_zh 检查密码强度
227
- * @description 检查密码强度,详情请见: https://docs.authing.co/v2/guides/security/config-password.html
228
- *
229
- * @param {string} password
230
- * @example
231
- * authenticationClient.checkPasswordStrength('weak')
232
- *
233
- * @example
234
- * authenticationClient.checkPasswordStrength('strongPassw0rd!')
235
- *
236
- * @returns {Promise<CheckPasswordStrengthResult>}
237
- * @memberof AuthenticationClient
238
- */
239
- checkPasswordStrength(password: string): Promise<CheckPasswordStrengthResult>;
240
- /**
241
- * @name sendSmsCode
242
- * @name_zh 发送短信验证码
243
- * @description 发送短信验证码, 短信验证码的有效时间为 60 s。
244
- *
245
- * @param {string} phone
246
- * @example
247
- * authenticationClient.sendSmsCode('176xxxx6754')
248
- *
249
- * @returns {Promise<CommonMessage>}
250
- * @memberof AuthenticationClient
251
- */
252
- sendSmsCode(phone: string): Promise<CommonMessage>;
253
- /**
254
- * @name loginByEmail
255
- * @name_zh 使用邮箱登录
256
- * @description 使用邮箱登录,该接口默认不会限制未验证的邮箱进行登录,如果你希望邮箱未验证的用户不能进行登录,可以使用 pipeline 对此类请求进行拦截。
257
- *
258
- * 如果你的用户池配置了登录失败检测,当同一 IP 下登录多次失败的时候会要求用户输入图形验证码(code 为 2000)。
259
- *
260
- * @param {string} email 邮箱
261
- * @param {string} password 密码
262
- * @param {Object} [options]
263
- * @param {boolean} [options.autoRegister] 是否自动注册。如果检测到用户不存在,会根据登录账密自动创建一个账号。
264
- * @param {string} [options.captchaCode] 图形验证码
265
- * @param {string} [options.clientIp] 客户端真实 IP,如果你在服务器端调用此接口,请务必将此参数设置为终端用户的真实 IP。
266
- *
267
- * @example
268
- *
269
- * authenticationClient.loginByEmail(
270
- * 'test@example.com',
271
- * 'passw0rd',
272
- * {
273
- * autoRegister: true,
274
- * captchaCode: 'xj72'
275
- * }
276
- * )
277
- *
278
- * @example
279
- * authenticationClient.loginByEmail('test@example.com', 'passw0rd')
280
- *
281
- *
282
- * @returns {Promise<User>}
283
- * @memberof AuthenticationClient
284
- */
285
- loginByEmail(email: string, password: string, options?: {
286
- autoRegister?: boolean;
287
- captchaCode?: string;
288
- clientIp?: string;
289
- /**
290
- * @deprecated use customData instead
291
- */
292
- params?: Array<{
293
- key: string;
294
- value: any;
295
- }>;
296
- /**
297
- * @description 将会写入配置的用户自定义字段
298
- */
299
- customData?: {
300
- [x: string]: any;
301
- };
302
- /**
303
- * @description 请求上下文,将会传递到 Pipeline 中
304
- */
305
- context?: {
306
- [x: string]: any;
307
- };
308
- }): Promise<User>;
309
- /**
310
- * @name loginByUsername
311
- * @name_zh 使用用户名登录
312
- * @description 使用用户名登录。
313
- *
314
- * 如果你的用户池配置了登录失败检测,当同一 IP 下登录多次失败的时候会要求用户输入图形验证码(code 为 2000)。
315
- *
316
- * @param {string} username 用户名
317
- * @param {string} password 密码
318
- * @param {Object} [options]
319
- * @param {boolean} [options.autoRegister] 是否自动注册。如果检测到用户不存在,会根据登录账密自动创建一个账号。
320
- * @param {string} [options.captchaCode] 图形验证码
321
- * @param {string} [options.clientIp] 客户端真实 IP,如果你在服务器端调用此接口,请务必将此参数设置为终端用户的真实 IP。
322
- *
323
- *
324
- * @example
325
- *
326
- * authenticationClient.loginByEmail(
327
- * 'test@example.com',
328
- * 'passw0rd',
329
- * {
330
- * autoRegister: true,
331
- * captchaCode: 'xj72'
332
- * }
333
- * )
334
- *
335
- * @example
336
- * authenticationClient.loginByEmail('test@example.com', 'passw0rd')
337
- *
338
- *
339
- * @returns {Promise<User>}
340
- * @memberof AuthenticationClient
341
- */
342
- loginByUsername(username: string, password: string, options?: {
343
- autoRegister?: boolean;
344
- captchaCode?: string;
345
- clientIp?: string;
346
- /**
347
- * @deprecated use customData instead
348
- */
349
- params?: Array<{
350
- key: string;
351
- value: any;
352
- }>;
353
- /**
354
- * @description 将会写入配置的用户自定义字段
355
- */
356
- customData?: {
357
- [x: string]: any;
358
- };
359
- /**
360
- * @description 请求上下文,将会传递到 Pipeline 中
361
- */
362
- context?: {
363
- [x: string]: any;
364
- };
365
- }): Promise<User>;
366
- /**
367
- * @name loginByPhoneCode
368
- * @name_zh 使用手机号验证码登录
369
- * @description 使用手机号验证码登录。
370
- *
371
- *
372
- * @param {string} phone 手机号
373
- * @param {string} code 短信验证码
374
- * @param {string} [options.clientIp] 客户端真实 IP,如果你在服务器端调用此接口,请务必将此参数设置为终端用户的真实 IP。
375
- *
376
- * @example
377
- *
378
- * authenticationClient.loginByPhoneCode(
379
- * '176xxxx7041',
380
- * '1234',
381
- * )
382
- *
383
- *
384
- * @returns {Promise<User>}
385
- * @memberof AuthenticationClient
386
- */
387
- loginByPhoneCode(phone: string, code: string, options?: {
388
- clientIp?: string;
389
- /**
390
- * @deprecated use customData instead
391
- */
392
- params?: Array<{
393
- key: string;
394
- value: any;
395
- }>;
396
- /**
397
- * @description 请求上下文,将会传递到 Pipeline 中
398
- */
399
- context?: {
400
- [x: string]: any;
401
- };
402
- /**
403
- * @description 将会写入配置的用户自定义字段
404
- */
405
- customData?: {
406
- [x: string]: any;
407
- };
408
- }): Promise<User>;
409
- /**
410
- * @name loginByPhonePassword
411
- * @name_zh 使用手机号密码登录
412
- * @description 使用手机号密码登录。
413
- *
414
- *
415
- * @param {string} phone 手机号
416
- * @param {string} password 密码
417
- * @param {Object} [options]
418
- * @param {string} [options.captchaCode] 图形验证码
419
- * @param {string} [options.clientIp] 客户端真实 IP,如果你在服务器端调用此接口,请务必将此参数设置为终端用户的真实 IP。
420
- *
421
- * @example
422
- *
423
- * authenticationClient.loginByPhonePassword(
424
- * '176xxxx7041',
425
- * 'passw0rd',
426
- * {
427
- * captchaCode: 'xj72'
428
- * }
429
- * )
430
- *
431
- * @example
432
- * authenticationClient.loginByPhonePassword('176xxxx7041', 'passw0rd')
433
- *
434
- *
435
- * @returns {Promise<User>}
436
- * @memberof AuthenticationClient
437
- */
438
- loginByPhonePassword(phone: string, password: string, options?: {
439
- captchaCode?: string;
440
- autoRegister?: boolean;
441
- clientIp?: string;
442
- /**
443
- * @deprecated use customData instead
444
- */
445
- params?: Array<{
446
- key: string;
447
- value: any;
448
- }>;
449
- /**
450
- * @description 将会写入配置的用户自定义字段
451
- */
452
- customData?: {
453
- [x: string]: any;
454
- };
455
- /**
456
- * @description 请求上下文,将会传递到 Pipeline 中
457
- */
458
- context?: {
459
- [x: string]: any;
460
- };
461
- }): Promise<User>;
462
- loginBySubAccount(account: string, password: string, options?: {
463
- captchaCode?: string;
464
- clientIp?: string;
465
- }): Promise<User>;
466
- /**
467
- * @name checkLoginStatus
468
- * @name_zh 检测 Token 登录状态
469
- * @description 检测 Token 登录状态
470
- *
471
- * @param {string} token 用户的登录凭证 token
472
- *
473
- * @example
474
- *
475
- * authenticationClient.checkLoginStatus('TOKEN')
476
- *
477
- * @returns {Promise<JwtTokenStatus>}
478
- * @memberof AuthenticationClient
479
- */
480
- checkLoginStatus(token?: string): Promise<JwtTokenStatus>;
481
- /**
482
- * @name sendEmail
483
- * @name_zh 发送邮件
484
- * @description 发送邮件
485
- *
486
- * @param {string} email 邮箱
487
- * @param {EmailScene} scene 发送场景,可选值为 RESET_PASSWORD(发送重置密码邮件,邮件中包含验证码)、VerifyEmail(发送验证邮箱的邮件)、ChangeEmail(发送修改邮箱邮件,邮件中包含验证码)
488
- *
489
- * @example
490
- *
491
- * import { EmailScene } from "authing-js-sdk"
492
- * authenticationClient.sendEmail('test@example.com', EmailScene.RESET_PASSWORD)
493
- *
494
- * @returns {Promise<CommonMessage>}
495
- * @memberof AuthenticationClient
496
- */
497
- sendEmail(email: string, scene: EmailScene): Promise<CommonMessage>;
498
- /**
499
- * @name resetPasswordByPhoneCode
500
- * @name_zh 通过短信验证码重置密码
501
- * @description 通过短信验证码重置密码,你需要先调用 sendSmsCode 接口发送重置密码邮件。
502
- *
503
- * @param {string} phone 手机号
504
- * @param {string} code 验证码
505
- * @param {string} newPassword 新的密码
506
- *
507
- * @example
508
- *
509
- * authenticationClient.resetPasswordByPhoneCode('176xxxx7041', '1234', 'passw0rd')
510
- *
511
- * @returns {Promise<CommonMessage>}
512
- * @memberof AuthenticationClient
513
- */
514
- resetPasswordByPhoneCode(phone: string, code: string, newPassword: string): Promise<CommonMessage>;
515
- /**
516
- * @name resetPasswordByEmailCode
517
- * @name_zh 通过邮件验证码重置密码
518
- * @description 通过邮件验证码重置密码,你需要先调用 sendEmail 接口发送重置密码邮件。
519
- *
520
- * @param {string} phone 手机号
521
- * @param {string} code 验证码
522
- * @param {string} newPassword 新的密码
523
- *
524
- * @example
525
- *
526
- * authenticationClient.resetPasswordByEmailCode('test@example.com', '1234', 'passw0rd')
527
- *
528
- * @returns {Promise<CommonMessage>}
529
- * @memberof AuthenticationClient
530
- */
531
- resetPasswordByEmailCode(email: string, code: string, newPassword: string): Promise<CommonMessage>;
532
- resetPasswordByFirstLoginToken(params: {
533
- token: string;
534
- password: string;
535
- }): Promise<{
536
- message?: string;
537
- code?: number;
538
- }>;
539
- /**
540
- * @name updateProfile
541
- * @name_zh 修改用户资料
542
- * @description 修改用户资料,此接口不能用于修改手机号、邮箱、密码,如果需要请调用 updatePhone、updateEmail、updatePassword 接口。
543
- *
544
- * @param {UpdateUserInput} updates 修改的用户资料
545
- * @param {string} updates.username 用户名
546
- * @param {string} updates.nickname 昵称
547
- * @param {string} updates.photo 头像
548
- * @param {string} updates.company 公司
549
- * @param {string} updates.browser 浏览器
550
- * @param {string} updates.device 设备
551
- * @param {string} updates.lastIP 最近登录的 IP
552
- * @param {string} updates.name Name
553
- * @param {string} updates.givenName Given Name
554
- * @param {string} updates.familyName Family Name
555
- * @param {string} updates.middleName Middle Name
556
- * @param {string} updates.profile Profile Url
557
- * @param {string} updates.preferredUsername Preferred Name
558
- * @param {string} updates.website 个人网站
559
- * @param {string} updates.gender 性别, F 表示男性、W 表示女性、未知表示 U
560
- * @param {string} updates.birthdate 生日
561
- * @param {string} updates.zoneinfo 时区
562
- * @param {string} updates.locale 语言
563
- * @param {string} updates.address 地址
564
- * @param {string} updates.streetAddress 街道地址
565
- * @param {string} updates.locality
566
- * @param {string} updates.region 地域
567
- * @param {string} updates.postalCode 邮编
568
- * @param {string} updates.city 城市
569
- * @param {string} updates.province 省份
570
- * @param {string} updates.country 国家
571
- *
572
- * @example
573
- *
574
- * authenticationClient.updateProfile({
575
- * nickname: "Nick",
576
- * lastIp: "111.111.111.111"
577
- * })
578
- *
579
- * @returns {Promise<User>}
580
- * @memberof AuthenticationClient
581
- */
582
- updateProfile(updates: UpdateUserInput): Promise<User>;
583
- /**
584
- * @name updatePassword
585
- * @name_zh 更新用户密码
586
- * @description 更新用户密码
587
- *
588
- * @param {string} newPassword 新密码
589
- * @param {string} [oldPassword] 旧密码,如果用户没有设置密码,可以不填。
590
- *
591
- * @example
592
- *
593
- * authenticationClient.updatePassword('passw0rd') // 由手机号、社会化登录等其他方式注册的,首次没有设置密码,oldPassword 留空。
594
- *
595
- * @example
596
- *
597
- * authenticationClient.updatePassword('passw0rd', 'oldPassw0rd') // 用户之前设置了密码
598
- *
599
- * @returns {Promise<User>}
600
- * @memberof AuthenticationClient
601
- */
602
- updatePassword(newPassword: string, oldPassword?: string): Promise<User>;
603
- /**
604
- * @name updatePhone
605
- * @name_zh 更新用户手机号
606
- * @description 更新用户手机号。和修改邮箱一样,默认情况下,如果用户当前已经绑定了手机号,需要同时验证原有手机号(目前账号绑定的手机号)和当前邮箱(将要绑定的手机号)。
607
- * 也就是说,用户 A 当前绑定的手机号为 15888888888,想修改为 15899999999,那么就需要同时验证这两个手机号。
608
- * 开发者也可以选择不开启 “验证原有手机号“ ,可以在 Authing 控制台 的 设置目录下的安全信息模块进行关闭。
609
- * 用户首次绑定手机号请使用 bindPhone 接口。
610
- *
611
- * @param {string} phone 新手机号
612
- * @param {string} phoneCode 新手机号的验证码
613
- * @param {string} [oldPhone] 旧手机号
614
- * @param {string} [oldPhoneCode] 旧手机号的验证码
615
- *
616
- * @example
617
- *
618
- * authenticationClient.updatePhone('176xxxx7041', '1234') // 关闭了“验证原有手机号“选项
619
- *
620
- * @example
621
- *
622
- * authenticationClient.updatePhone('176xxxx7041', '1234', '156xxxx9876', '1234') // 开启了“验证原有手机号“选项
623
- *
624
- *
625
- * @returns {Promise<User>}
626
- * @memberof AuthenticationClient
627
- */
628
- updatePhone(phone: string, phoneCode: string, oldPhone?: string, oldPhoneCode?: string): Promise<User>;
629
- /**
630
- * @name updateEmail
631
- * @name_zh 更新用户邮箱
632
- * @description 如果用户已经绑定了邮箱,默认情况下,需要同时验证原有邮箱(目前账号绑定的邮箱)和当前邮箱(将要绑定的邮箱)。也就是说,用户 A 当前绑定的邮箱为 123456@qq.com,想修改为 1234567@qq.com,那么就需要同时验证这两个邮箱。
633
- * 开发者也可以选择不开启 “验证原有邮箱“ ,可以在 Authing 控制台 的 设置目录下的安全信息模块进行关闭。
634
- * 用户首次绑定手机号请使用 bindEmail 接口。
635
- *
636
- * @param {string} email 新邮箱
637
- * @param {string} emailCode 新邮箱的验证码
638
- * @param {string} [oldEmail] 旧邮箱
639
- * @param {string} [oldEmailCode] 旧邮箱的验证码
640
- *
641
- * @example
642
- *
643
- * authenticationClient.updateEmail('test@example.com', '1234') // 关闭了“验证原有邮箱“选项
644
- *
645
- * @example
646
- *
647
- * authenticationClient.updateEmail('test@example.com', '1234', 'test2@example.com', '1234') // 开启了“验证原有邮箱“选项
648
- *
649
- *
650
- * @returns {Promise<User>}
651
- * @memberof AuthenticationClient
652
- */
653
- updateEmail(email: string, emailCode: string, oldEmail?: string, oldEmailCode?: string): Promise<User>;
654
- /**
655
- * @name refreshToken
656
- * @name_zh 刷新当前用户的 token
657
- * @description 刷新当前用户的 token,调用此接口要求先登录。
658
- *
659
- * @example
660
- *
661
- * authenticationClient.updateEmail()
662
- *
663
- * @returns {Promise<RefreshToken>}
664
- * @memberof AuthenticationClient
665
- */
666
- refreshToken(): Promise<RefreshToken>;
667
- /**
668
- * @name linkAccount
669
- * @name_zh 关联账号
670
- * @description 将社交账号绑定到主账号(手机号、邮箱账号)。
671
- *
672
- * @param {Object} options
673
- * @param {string} options.primaryUserToken 主账号 Token
674
- * @param {string} options.secondaryUserToken 社交账号 Token
675
- *
676
- * @example
677
- *
678
- * authenticationClient.linkAccount({ primaryUserToken: '', secondaryUserToken: '' })
679
- *
680
- * @returns {{code: 200, message: "绑定成功"}}
681
- * @memberof AuthenticationClient
682
- */
683
- linkAccount(options: {
684
- primaryUserToken: string;
685
- secondaryUserToken: string;
686
- }): Promise<{
687
- code: number;
688
- message: string;
689
- }>;
690
- /**
691
- * @name unLinkAccount
692
- * @name_zh 解除账号绑定
693
- * @description 将社交账号从主账号(手机号、邮箱账号)解绑。
694
- *
695
- * @param {Object} options
696
- * @param {string} options.primaryUserToken 主账号 Token
697
- * @param {string} options.provider 社交账号的提供商名称
698
- *
699
- * @example
700
- *
701
- * authenticationClient.unLinkAccount({ primaryUserToken: '', provider: 'wechat:pc' })
702
- *
703
- * @returns {{code: 200, message: "解绑成功"}}
704
- * @memberof AuthenticationClient
705
- */
706
- unLinkAccount(options: {
707
- primaryUserToken: string;
708
- provider: ProviderType;
709
- }): Promise<{
710
- code: number;
711
- message: string;
712
- }>;
713
- /**
714
- * @name bindPhone
715
- * @name_zh 绑定手机号
716
- * @description 用户初次绑定手机号,如果需要修改手机号请使用 updatePhone 接口。
717
- *
718
- * @param {string} phone
719
- * @param {string} phoneCode
720
- *
721
- * @example
722
- *
723
- * authenticationClient.bindPhone('176xxxx7041', '1234')
724
- *
725
- * @returns {Promise<User>}
726
- * @memberof AuthenticationClient
727
- */
728
- bindPhone(phone: string, phoneCode: string): Promise<User>;
729
- /**
730
- * @name unbindPhone
731
- * @name_zh 解绑手机号
732
- * @description 用户解绑手机号
733
- *
734
- * @example
735
- *
736
- * authenticationClient.unbindPhone()
737
- *
738
- * @returns {Promise<User>}
739
- * @memberof AuthenticationClient
740
- */
741
- unbindPhone(): Promise<User>;
742
- /**
743
- * @name bindEmail
744
- * @name_zh 绑定邮箱号
745
- * @description 用户邮箱号
746
- *
747
- * @param {string} email
748
- * @param {string} emailCode
749
- *
750
- * @example
751
- *
752
- * authenticationClient.bindEmail('test@example.com', '1234')
753
- *
754
- * @returns {Promise<User>}
755
- * @memberof AuthenticationClient
756
- */
757
- bindEmail(email: string, emailCode: string): Promise<User>;
758
- /**
759
- * @name unbindEmail
760
- * @name_zh 解绑邮箱号
761
- * @description 用户解绑邮箱号
762
- *
763
- * @example
764
- *
765
- * authenticationClient.unbindPhone()
766
- *
767
- * @returns {Promise<User>}
768
- * @memberof AuthenticationClient
769
- */
770
- unbindEmail(): Promise<User>;
771
- /**
772
- * @name getCurrentUser
773
- * @name_zh 获取当前登录的用户信息
774
- * @description 获取当前登录的用户信息
775
- *
776
- * @example
777
- *
778
- * authenticationClient.getCurrentUser()
779
- *
780
- * @returns {Promise<User>}
781
- * @memberof AuthenticationClient
782
- */
783
- getCurrentUser(): Promise<User | null>;
784
- /**
785
- * @name logout
786
- * @name_zh 退出登录
787
- * @description 退出登录,清空 localStorage 里的 user 和 token
788
- *
789
- * @example
790
- *
791
- * authenticationClient.logout()
792
- *
793
- * @returns {null}
794
- * @memberof AuthenticationClient
795
- */
796
- logout(): Promise<void>;
797
- /**
798
- * @name listUdv
799
- * @name_zh 获取当前用户的自定义数据列表
800
- * @description 获取当前用户的自定义数据列表
801
- * @deprecated use getUdfValue instead
802
- *
803
- * @example
804
- *
805
- * authenticationClient.listUdv()
806
- *
807
- * @returns {Promise<Array<UserDefinedData>>}
808
- * @memberof AuthenticationClient
809
- */
810
- listUdv(): Promise<Array<UserDefinedData>>;
811
- /**
812
- * @name setUdv
813
- * @name_zh 添加自定义数据
814
- * @description 添加自定义数据
815
- *
816
- * @param {string} key 自定义字段的 key
817
- * @param {any} value 自定义数据的值,值的类型必须要和用户池定义的自定义字段类型一致。
818
- *
819
- * @example
820
- *
821
- * authenticationClient.setUdv('school', '清华大学') // 要求用户必须定义了 school 这个字段。
822
- *
823
- * @returns {Promise<Array<UserDefinedData>>}
824
- * @memberof AuthenticationClient
825
- */
826
- setUdv(key: string, value: any): Promise<Array<UserDefinedData>>;
827
- /**
828
- * @name removeUdv
829
- * @name_zh 删除自定义数据
830
- * @description 删除自定义数据
831
- *
832
- * @param key 自定义字段的 key
833
- *
834
- * @example
835
- *
836
- * authenticationClient.removeUdv('school')
837
- *
838
- *
839
- * @returns {Promise<Array<UserDefinedData>>}
840
- * @memberof AuthenticationClient
841
- */
842
- removeUdv(key: string): Promise<Array<UserDefinedData>>;
843
- /**
844
- * @name listOrg
845
- * @name_zh 获取用户所在组织机构
846
- * @description 获取用户所在的组织机构立碑,以及他所属的节点在此组织机构内的完整路径。
847
- *
848
- * @example
849
- *
850
- * const data = await authenticationClient.listOrgs();
851
- *
852
- * @returns {Promise<UserOrgList>}
853
- *
854
- * @memberof AuthenticationClient
855
- */
856
- listOrgs(): Promise<any>;
857
- /**
858
- * @description 获取用户
859
- *
860
- */
861
- listDepartments(): Promise<{
862
- totalCount: number;
863
- list: {
864
- isMainDepartment: boolean;
865
- joinedAt?: string;
866
- department: {
867
- id: string;
868
- orgId?: string;
869
- name: string;
870
- nameI18n?: string;
871
- description?: string;
872
- descriptionI18n?: string;
873
- order?: number;
874
- code?: string;
875
- root?: boolean;
876
- depth?: number;
877
- path: string[];
878
- codePath: string[];
879
- namePath: string[];
880
- createdAt?: string;
881
- updatedAt?: string;
882
- children?: string[];
883
- };
884
- }[];
885
- }>;
886
- /**
887
- * @name loginByLdap
888
- * @name_zh 使用 LDAP 用户名登录
889
- * @description 使用 LDAP 用户名登录。
890
- *
891
- * 如果你的用户池配置了登录失败检测,当同一 IP 下登录多次失败的时候会要求用户输入图形验证码(code 为 2000)。
892
- *
893
- * @param {string} username 用户名
894
- * @param {string} password 密码
895
- * @param {Object} [options]
896
- * @param {boolean} [options.autoRegister] 是否自动注册。如果检测到用户不存在,会根据登录账密自动创建一个账号。
897
- * @param {string} [options.captchaCode] 图形验证码
898
- * @param {string} [options.clientIp] 客户端真实 IP,如果你在服务器端调用此接口,请务必将此参数设置为终端用户的真实 IP。
899
- *
900
- *
901
- * @example
902
- * const authenticationClient = new AuthenticationClient({
903
- * appId: '应用 ID'
904
- * })
905
- *
906
- * authenticationClient.loginByLdap(
907
- * 'admin',
908
- * 'admin',
909
- * )
910
- *
911
- *
912
- * @returns {Promise<User>}
913
- * @memberof AuthenticationClient
914
- */
915
- loginByLdap(username: string, password: string, options?: {
916
- autoRegister?: boolean;
917
- captchaCode?: string;
918
- clientIp?: string;
919
- }): Promise<User>;
920
- /**
921
- * @name loginByAd
922
- * @name_zh 使用 AD 用户名登录
923
- * @description 使用 AD 用户名登录。
924
- *
925
- * @param {string} username 用户名
926
- * @param {string} password 密码
927
- *
928
- *
929
- * @example
930
- * const authenticationClient = new AuthenticationClient({
931
- * appId: '应用 ID'
932
- * })
933
- *
934
- * authenticationClient.loginByAd(
935
- * 'admin',
936
- * 'admin',
937
- * )
938
- *
939
- * @returns {Promise<User>}
940
- * @memberof AuthenticationClient
941
- */
942
- loginByAd(username: string, password: string): Promise<User>;
943
- /**
944
- * @description 上传图片
945
- */
946
- private uploadPhoto;
947
- /**
948
- * @deprecated use uploadAvatar instead
949
- * @description 更新用户头像
950
- */
951
- updateAvatar(options?: {
952
- accept?: string;
953
- }): Promise<User>;
954
- /**
955
- * @description 一键上传图片并更新用户头像
956
- *
957
- * @param {Object} options
958
- * @param {string} options.accept 支持的图片格式,默认为 'image/*'
959
- *
960
- * @example
961
- * const authenticationClient = new AuthenticationClient({
962
- * appId: 'APP_ID',
963
- * appHost: 'https://xxx.authing.cn'
964
- * })
965
- *
966
- * // 会自动打开浏览器文件上传框,并自动完成图片文件上传 CDN、修改用户头像操作。
967
- * authenticationClient.uploadAvatar()
968
- *
969
- * // 只支持 png 格式图片
970
- * authenticationClient.uploadAvatar({
971
- * accept: '.png'
972
- * })
973
- *
974
- * @returns
975
- */
976
- uploadAvatar(options?: {
977
- accept?: string;
978
- }): Promise<User>;
979
- /**
980
- * @description 获取当前用户的所有自定义数据
981
- *
982
- */
983
- getUdfValue(): Promise<KeyValuePair>;
984
- /**
985
- * @description 设置自定义字段值
986
- *
987
- */
988
- setUdfValue(data: KeyValuePair): Promise<void>;
989
- /**
990
- * @description 删除用户自定义数据
991
- */
992
- removeUdfValue(key: string): Promise<void>;
993
- /**
994
- * @name getSecurityLevel
995
- * @name_zh 用户安全等级
996
- * @description 获取用户的安全等级评分
997
- *
998
- * @example
999
- *
1000
- * const data = await authenticationClient.getSecurityLevel();
1001
- *
1002
- * @returns {Promise<SecurityLevel>}
1003
- *
1004
- * @memberof AuthenticationClient
1005
- */
1006
- getSecurityLevel(): Promise<SecurityLevel>;
1007
- /**
1008
- * @description 获取用户被授权的所有资源
1009
- *
1010
- * @param userId
1011
- * @param namespace
1012
- */
1013
- listAuthorizedResources(namespace: string, options?: {
1014
- resourceType?: ResourceType;
1015
- }): Promise<PaginatedAuthorizedResources>;
1016
- /**
1017
- * @name computedPasswordSecurityLevel
1018
- * @name_zh 计算密码安全等级
1019
- * @description 计算密码安全等级
1020
- *
1021
- * @example
1022
- *
1023
- * const data = authenticationClient.computedPasswordSecurityLevel('xxxxxxxx');
1024
- *
1025
- * @returns {PasswordSecurityLevel}
1026
- *
1027
- * @memberof AuthenticationClient
1028
- */
1029
- computedPasswordSecurityLevel(password: string): PasswordSecurityLevel;
1030
- _generateTokenRequest(params: {
1031
- [x: string]: string;
1032
- }): string;
1033
- _generateBasicAuthToken(appId?: string, secret?: string): string;
1034
- /**
1035
- * @param {string} code 授权码 code
1036
- * @param {string} codeVerifier 校验码 codeVerifier
1037
- */
1038
- _getAccessTokenByCodeWithClientSecretPost(code: string, codeVerifier?: string): Promise<any>;
1039
- /**
1040
- * @param {string} code 授权码 code
1041
- * @param {string} codeVerifier 校验码 codeVerifier
1042
- */
1043
- _getAccessTokenByCodeWithClientSecretBasic(code: string, codeVerifier?: string): Promise<any>;
1044
- /**
1045
- * @param {string} code 授权码 code
1046
- * @param {string} codeVerifier 校验码 codeVerifier
1047
- */
1048
- _getAccessTokenByCodeWithNone(code: string, codeVerifier?: string): Promise<any>;
1049
- getAccessTokenByCode(code: string, options?: {
1050
- codeVerifier?: string;
1051
- }): Promise<any>;
1052
- generateCodeChallenge(): string;
1053
- getCodeChallengeDigest(options: {
1054
- codeChallenge: string;
1055
- method: 'S256' | 'plain';
1056
- }): string;
1057
- getAccessTokenByClientCredentials(scope: string, options?: {
1058
- accessKey: string;
1059
- accessSecret: string;
1060
- }): Promise<any>;
1061
- getUserInfoByAccessToken(accessToken: string, options?: {
1062
- method?: 'POST' | 'GET';
1063
- tokenPlace?: 'query' | 'header' | 'body';
1064
- }): Promise<any>;
1065
- buildAuthorizeUrl(options?: IOidcParams | IOauthParams | ICasParams): string;
1066
- _buildOidcAuthorizeUrl(options: IOidcParams): string;
1067
- _buildOauthAuthorizeUrl(options: IOauthParams): string;
1068
- _buildSamlAuthorizeUrl(): string;
1069
- _buildCasAuthorizeUrl(options: ICasParams): string;
1070
- _buildCasLogoutUrl(options: ILogoutParams): string;
1071
- _buildOidcLogoutUrl(options: ILogoutParams): string;
1072
- _buildEasyLogoutUrl(options?: ILogoutParams): string;
1073
- buildLogoutUrl(options?: ILogoutParams): string;
1074
- _getNewAccessTokenByRefreshTokenWithClientSecretPost(refreshToken: string): Promise<any>;
1075
- _getNewAccessTokenByRefreshTokenWithClientSecretBasic(refreshToken: string): Promise<any>;
1076
- _getNewAccessTokenByRefreshTokenWithNone(refreshToken: string): Promise<any>;
1077
- getNewAccessTokenByRefreshToken(refreshToken: string): Promise<any>;
1078
- _revokeTokenWithClientSecretPost(token: string): Promise<any>;
1079
- _revokeTokenWithClientSecretBasic(token: string): Promise<any>;
1080
- _revokeTokenWithNone(token: string): Promise<any>;
1081
- revokeToken(token: string): Promise<boolean>;
1082
- _introspectTokenWithClientSecretPost(token: string): Promise<any>;
1083
- _introspectTokenWithClientSecretBasic(token: string): Promise<any>;
1084
- _introspectTokenWithNone(token: string): Promise<any>;
1085
- introspectToken(token: string): Promise<any>;
1086
- validateTicketV1(ticket: string, service: string): Promise<{
1087
- message: string;
1088
- username: any;
1089
- valid: boolean;
1090
- }>;
1091
- /**
1092
- * 判断 "我" 是否有某个角色
1093
- * @param roleCode 角色 Code
1094
- * @param namespace 权限分组 ID
1095
- */
1096
- hasRole(roleCode: string, namespace?: string): Promise<boolean>;
1097
- /**
1098
- * @description 获取当前用户能够访问的应用
1099
- */
1100
- listApplications(params?: {
1101
- page: number;
1102
- limit: number;
1103
- }): Promise<{
1104
- totalCount: number;
1105
- list: ApplicationPublicDetail[];
1106
- }>;
1107
- /**
1108
- * @description 检验 idToken 或 accessToken
1109
- */
1110
- validateToken(options: {
1111
- accessToken?: string;
1112
- idToken?: string;
1113
- }): Promise<any>;
1114
- /**
1115
- * @description 设置语言
1116
- */
1117
- setLang(lang: Lang): void;
1118
- }