authing_ruby 1.0.6 → 1.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (125) hide show
  1. checksums.yaml +4 -4
  2. data/lib/authing_ruby/GraphQLAPI.rb +14 -3
  3. data/lib/authing_ruby/authentication/AuthenticationClient.rb +71 -60
  4. data/lib/authing_ruby/common/GraphqlClient.rb +42 -4
  5. data/lib/authing_ruby/graphql/mutations/updatePhone.gql +63 -0
  6. data/lib/authing_ruby/management/ManagementClient.rb +1 -1
  7. data/lib/authing_ruby/management/ManagementTokenProvider.rb +7 -3
  8. data/lib/authing_ruby/test/js_sdk_test/2.registerByPhoneCode.js +130 -0
  9. data/lib/authing_ruby/test/js_sdk_test/3.sendSMS.js +23 -0
  10. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/browser/index.min.js +1 -1
  11. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/authentication/AuthenticationClient.d.ts +41 -1
  12. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/authentication/AuthenticationClient.js +60 -2
  13. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/authentication/QrCodeAuthenticationClient.js +6 -3
  14. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/authentication/SocialAuthenticationClient.d.ts +4 -0
  15. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/authentication/SocialAuthenticationClient.js +6 -5
  16. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/authentication/types.d.ts +10 -0
  17. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/authentication/types.js +1 -1
  18. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/common/GraphqlClient.js +10 -8
  19. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/common/HttpClient.js +17 -15
  20. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/graphqlapi.d.ts +12 -1
  21. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/graphqlapi.js +192 -2
  22. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/ApplicationsManagementClient.js +5 -3
  23. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/GroupsManagementClient.d.ts +5 -1
  24. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/GroupsManagementClient.js +29 -11
  25. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/ManagementClient.d.ts +5 -0
  26. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/ManagementClient.js +15 -2
  27. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/OrgManagementClient.d.ts +34 -1
  28. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/OrgManagementClient.js +71 -3
  29. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/RolesManagementClient.d.ts +6 -1
  30. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/RolesManagementClient.js +45 -10
  31. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/UsersManagementClient.d.ts +34 -3
  32. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/UsersManagementClient.js +189 -52
  33. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/types.d.ts +10 -0
  34. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/types.js +1 -1
  35. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/utils.d.ts +1 -1
  36. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/utils.js +1 -1
  37. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/version.d.ts +1 -1
  38. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/version.js +2 -2
  39. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/types/graphql.v2.d.ts +661 -32
  40. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/types/graphql.v2.js +30 -19
  41. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/authentication/AuthenticationClient.d.ts +41 -1
  42. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/authentication/AuthenticationClient.js +61 -3
  43. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/authentication/QrCodeAuthenticationClient.js +6 -3
  44. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/authentication/SocialAuthenticationClient.d.ts +4 -0
  45. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/authentication/SocialAuthenticationClient.js +6 -5
  46. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/authentication/types.d.ts +10 -0
  47. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/authentication/types.js +1 -1
  48. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/common/GraphqlClient.js +10 -8
  49. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/common/HttpClient.js +17 -15
  50. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/graphqlapi.d.ts +12 -1
  51. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/graphqlapi.js +192 -2
  52. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/ApplicationsManagementClient.js +5 -3
  53. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/GroupsManagementClient.d.ts +5 -1
  54. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/GroupsManagementClient.js +30 -12
  55. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/ManagementClient.d.ts +5 -0
  56. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/ManagementClient.js +15 -2
  57. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/OrgManagementClient.d.ts +34 -1
  58. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/OrgManagementClient.js +72 -4
  59. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/RolesManagementClient.d.ts +6 -1
  60. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/RolesManagementClient.js +46 -11
  61. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/UsersManagementClient.d.ts +34 -3
  62. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/UsersManagementClient.js +190 -53
  63. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/types.d.ts +10 -0
  64. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/types.js +1 -1
  65. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/utils.d.ts +1 -1
  66. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/utils.js +1 -1
  67. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/version.d.ts +1 -1
  68. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/version.js +2 -2
  69. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/types/graphql.v2.d.ts +661 -32
  70. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/types/graphql.v2.js +29 -18
  71. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/authentication/AuthenticationClient.d.ts +41 -1
  72. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/authentication/AuthenticationClient.js +60 -2
  73. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/authentication/QrCodeAuthenticationClient.js +6 -3
  74. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/authentication/SocialAuthenticationClient.d.ts +4 -0
  75. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/authentication/SocialAuthenticationClient.js +6 -5
  76. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/authentication/types.d.ts +10 -0
  77. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/authentication/types.js +1 -1
  78. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/common/GraphqlClient.js +10 -8
  79. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/common/HttpClient.js +17 -15
  80. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/graphqlapi.d.ts +12 -1
  81. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/graphqlapi.js +192 -2
  82. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/ApplicationsManagementClient.js +5 -3
  83. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/GroupsManagementClient.d.ts +5 -1
  84. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/GroupsManagementClient.js +29 -11
  85. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/ManagementClient.d.ts +5 -0
  86. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/ManagementClient.js +15 -2
  87. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/OrgManagementClient.d.ts +34 -1
  88. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/OrgManagementClient.js +71 -3
  89. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/RolesManagementClient.d.ts +6 -1
  90. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/RolesManagementClient.js +45 -10
  91. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/UsersManagementClient.d.ts +34 -3
  92. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/UsersManagementClient.js +189 -52
  93. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/types.d.ts +10 -0
  94. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/types.js +1 -1
  95. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/utils.d.ts +1 -1
  96. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/utils.js +1 -1
  97. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/version.d.ts +1 -1
  98. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/version.js +2 -2
  99. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/types/graphql.v2.d.ts +661 -32
  100. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/types/graphql.v2.js +30 -19
  101. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/package.json +1 -1
  102. data/lib/authing_ruby/test/js_sdk_test/node_modules/dotenv/CHANGELOG.md +210 -0
  103. data/lib/authing_ruby/test/js_sdk_test/node_modules/dotenv/LICENSE +23 -0
  104. data/lib/authing_ruby/test/js_sdk_test/node_modules/dotenv/README.md +275 -0
  105. data/lib/authing_ruby/test/js_sdk_test/node_modules/dotenv/config.js +11 -0
  106. data/lib/authing_ruby/test/js_sdk_test/node_modules/dotenv/lib/cli-options.js +13 -0
  107. data/lib/authing_ruby/test/js_sdk_test/node_modules/dotenv/lib/env-options.js +18 -0
  108. data/lib/authing_ruby/test/js_sdk_test/node_modules/dotenv/lib/main.js +118 -0
  109. data/lib/authing_ruby/test/js_sdk_test/node_modules/dotenv/package.json +57 -0
  110. data/lib/authing_ruby/test/js_sdk_test/node_modules/dotenv/types/index.d.ts +59 -0
  111. data/lib/authing_ruby/test/js_sdk_test/node_modules/dotenv/types/test.ts +19 -0
  112. data/lib/authing_ruby/test/js_sdk_test/node_modules/dotenv/types/tsconfig.json +15 -0
  113. data/lib/authing_ruby/test/js_sdk_test/node_modules/dotenv/types/tslint.json +6 -0
  114. data/lib/authing_ruby/test/js_sdk_test/node_modules/follow-redirects/index.js +0 -4
  115. data/lib/authing_ruby/test/js_sdk_test/node_modules/follow-redirects/package.json +1 -1
  116. data/lib/authing_ruby/test/js_sdk_test/package-lock.json +7 -7
  117. data/lib/authing_ruby/test/js_sdk_test/package.json +3 -2
  118. data/lib/authing_ruby/test/js_sdk_test/yarn.lock +71 -0
  119. data/lib/authing_ruby/test/mini_test/TestAuthenticationClient.rb +36 -22
  120. data/lib/authing_ruby/test/mini_test/TestManagementClient.rb +3 -2
  121. data/lib/authing_ruby/test/mini_test/TestSMSandEmail.rb +46 -3
  122. data/lib/authing_ruby/test/sms.rb +18 -0
  123. data/lib/authing_ruby/utils/utils.rb +68 -0
  124. data/lib/authing_ruby/version.rb +1 -1
  125. metadata +19 -2
@@ -9,7 +9,7 @@
9
9
  })(function (require, exports) {
10
10
  "use strict";
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.WhitelistDocument = exports.UsersDocument = exports.UserpoolsDocument = exports.UserpoolTypesDocument = exports.UserpoolDocument = exports.UserBatchDocument = exports.UserDocument = exports.UdvDocument = exports.UdfValueBatchDocument = exports.UdfDocument = exports.TemplateCodeDocument = exports.SocialConnectionsDocument = exports.SocialConnectionInstancesDocument = exports.SocialConnectionInstanceDocument = exports.SocialConnectionDocument = exports.SearchUserDocument = exports.SearchNodesDocument = exports.RootNodeDocument = exports.RolesDocument = 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.GroupWithUsersDocument = exports.GroupDocument = exports.GetUserRolesDocument = exports.GetUserGroupsDocument = exports.GetUserDepartmentsDocument = exports.FunctionsDocument = exports.FunctionDocument = 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.SendEmailDocument = exports.RevokeRoleDocument = 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.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.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.UdfDataType = exports.UdfTargetType = exports.PolicyEffect = exports.UserStatus = exports.SortByEnum = exports.EmailTemplateType = exports.Operator = exports.PolicyAssignmentTargetType = exports.ResourceType = void 0;
12
+ 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;
13
13
  var ResourceType;
14
14
  (function (ResourceType) {
15
15
  ResourceType["Data"] = "DATA";
@@ -68,6 +68,14 @@
68
68
  /** 已归档 */
69
69
  UserStatus["Archived"] = "Archived";
70
70
  })(UserStatus = exports.UserStatus || (exports.UserStatus = {}));
71
+ var UdfDataType;
72
+ (function (UdfDataType) {
73
+ UdfDataType["String"] = "STRING";
74
+ UdfDataType["Number"] = "NUMBER";
75
+ UdfDataType["Datetime"] = "DATETIME";
76
+ UdfDataType["Boolean"] = "BOOLEAN";
77
+ UdfDataType["Object"] = "OBJECT";
78
+ })(UdfDataType = exports.UdfDataType || (exports.UdfDataType = {}));
71
79
  var PolicyEffect;
72
80
  (function (PolicyEffect) {
73
81
  PolicyEffect["Allow"] = "ALLOW";
@@ -83,14 +91,6 @@
83
91
  UdfTargetType["Permission"] = "PERMISSION";
84
92
  UdfTargetType["Application"] = "APPLICATION";
85
93
  })(UdfTargetType = exports.UdfTargetType || (exports.UdfTargetType = {}));
86
- var UdfDataType;
87
- (function (UdfDataType) {
88
- UdfDataType["String"] = "STRING";
89
- UdfDataType["Number"] = "NUMBER";
90
- UdfDataType["Datetime"] = "DATETIME";
91
- UdfDataType["Boolean"] = "BOOLEAN";
92
- UdfDataType["Object"] = "OBJECT";
93
- })(UdfDataType = exports.UdfDataType || (exports.UdfDataType = {}));
94
94
  var WhitelistType;
95
95
  (function (WhitelistType) {
96
96
  WhitelistType["Username"] = "USERNAME";
@@ -126,9 +126,10 @@
126
126
  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 ";
127
127
  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 ";
128
128
  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 ";
129
- exports.CreateRoleDocument = "\n mutation createRole($namespace: String, $code: String!, $description: String, $parent: String) {\n createRole(namespace: $namespace, code: $code, description: $description, parent: $parent) {\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 ";
129
+ 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 ";
130
130
  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 ";
131
- exports.CreateUserDocument = "\n mutation createUser($userInfo: CreateUserInput!, $keepPassword: Boolean) {\n createUser(userInfo: $userInfo, keepPassword: $keepPassword) {\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 ";
131
+ 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 ";
132
+ 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 ";
132
133
  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 ";
133
134
  exports.DeleteFunctionDocument = "\n mutation deleteFunction($id: String!) {\n deleteFunction(id: $id) {\n message\n code\n }\n}\n ";
134
135
  exports.DeleteGroupsDocument = "\n mutation deleteGroups($codeList: [String!]!) {\n deleteGroups(codeList: $codeList) {\n message\n code\n }\n}\n ";
@@ -152,6 +153,7 @@
152
153
  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 ";
153
154
  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 ";
154
155
  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 ";
156
+ 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 ";
155
157
  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 ";
156
158
  exports.RefreshAccessTokenDocument = "\n mutation refreshAccessToken($accessToken: String) {\n refreshAccessToken(accessToken: $accessToken) {\n accessToken\n exp\n iat\n }\n}\n ";
157
159
  exports.RefreshTokenDocument = "\n mutation refreshToken($id: String) {\n refreshToken(id: $id) {\n token\n iat\n exp\n }\n}\n ";
@@ -166,8 +168,10 @@
166
168
  exports.RemoveUserFromGroupDocument = "\n mutation removeUserFromGroup($userIds: [String!]!, $code: String) {\n removeUserFromGroup(userIds: $userIds, code: $code) {\n message\n code\n }\n}\n ";
167
169
  exports.RemoveWhitelistDocument = "\n mutation removeWhitelist($type: WhitelistType!, $list: [String!]!) {\n removeWhitelist(type: $type, list: $list) {\n createdAt\n updatedAt\n value\n }\n}\n ";
168
170
  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 ";
171
+ exports.ResetPasswordByFirstLoginTokenDocument = "\n mutation resetPasswordByFirstLoginToken($token: String!, $password: String!) {\n resetPasswordByFirstLoginToken(token: $token, password: $password) {\n message\n code\n }\n}\n ";
169
172
  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 ";
170
173
  exports.SendEmailDocument = "\n mutation sendEmail($email: String!, $scene: EmailScene!) {\n sendEmail(email: $email, scene: $scene) {\n message\n code\n }\n}\n ";
174
+ exports.SendFirstLoginVerifyEmailDocument = "\n mutation sendFirstLoginVerifyEmail($userId: String!, $appId: String!) {\n sendFirstLoginVerifyEmail(userId: $userId, appId: $appId) {\n message\n code\n }\n}\n ";
171
175
  exports.SetMainDepartmentDocument = "\n mutation setMainDepartment($userId: String!, $departmentId: String) {\n setMainDepartment(userId: $userId, departmentId: $departmentId) {\n message\n code\n }\n}\n ";
172
176
  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 ";
173
177
  exports.SetUdfValueBatchDocument = "\n mutation setUdfValueBatch($targetType: UDFTargetType!, $input: [SetUdfValueBatchInput!]!) {\n setUdfValueBatch(targetType: $targetType, input: $input) {\n code\n message\n }\n}\n ";
@@ -182,7 +186,7 @@
182
186
  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 ";
183
187
  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 ";
184
188
  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 ";
185
- exports.UpdateRoleDocument = "\n mutation updateRole($code: String!, $description: String, $newCode: String, $namespace: String) {\n updateRole(code: $code, description: $description, newCode: $newCode, namespace: $namespace) {\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 ";
189
+ 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 ";
186
190
  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 ";
187
191
  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 ";
188
192
  exports.AccessTokenDocument = "\n query accessToken($userPoolId: String!, $secret: String!) {\n accessToken(userPoolId: $userPoolId, secret: $secret) {\n accessToken\n exp\n iat\n }\n}\n ";
@@ -190,9 +194,10 @@
190
194
  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 ";
191
195
  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 ";
192
196
  exports.CheckPasswordStrengthDocument = "\n query checkPasswordStrength($password: String!) {\n checkPasswordStrength(password: $password) {\n valid\n message\n }\n}\n ";
193
- exports.ChildrenNodesDocument = "\n query childrenNodes($orgId: String!, $nodeId: String!) {\n childrenNodes(orgId: $orgId, 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 ";
197
+ 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 ";
194
198
  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 ";
195
199
  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 ";
200
+ 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 ";
196
201
  exports.FunctionDocument = "\n query function($id: String) {\n function(id: $id) {\n id\n name\n sourceCode\n description\n url\n }\n}\n ";
197
202
  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 ";
198
203
  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 ";
@@ -200,9 +205,10 @@
200
205
  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 ";
201
206
  exports.GroupDocument = "\n query group($code: String!) {\n group(code: $code) {\n code\n name\n description\n createdAt\n updatedAt\n }\n}\n ";
202
207
  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 ";
208
+ 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 ";
203
209
  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 ";
204
210
  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 ";
205
- exports.IsActionDeniedDocument = "\n query isActionDenied($resource: String!, $action: String!, $userId: String!, $namespace: String) {\n isActionDenied(resource: $resource, action: $action, userId: $userId, namespace: $namespace)\n}\n ";
211
+ exports.IsActionDeniedDocument = "\n query isActionDenied($resource: String!, $action: String!, $userId: String!) {\n isActionDenied(resource: $resource, action: $action, userId: $userId)\n}\n ";
206
212
  exports.IsDomainAvaliableDocument = "\n query isDomainAvaliable($domain: String!) {\n isDomainAvaliable(domain: $domain)\n}\n ";
207
213
  exports.IsRootNodeDocument = "\n query isRootNode($nodeId: String!, $orgId: String!) {\n isRootNode(nodeId: $nodeId, orgId: $orgId)\n}\n ";
208
214
  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 ";
@@ -225,12 +231,14 @@
225
231
  exports.PreviewEmailDocument = "\n query previewEmail($type: EmailTemplateType!) {\n previewEmail(type: $type)\n}\n ";
226
232
  exports.QiniuUptokenDocument = "\n query qiniuUptoken($type: String) {\n qiniuUptoken(type: $type)\n}\n ";
227
233
  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 ";
228
- exports.RoleDocument = "\n query role($code: String!, $namespace: String) {\n role(code: $code, namespace: $namespace) {\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 ";
229
- exports.RoleWithUsersDocument = "\n query roleWithUsers($code: String!, $namespace: String) {\n role(code: $code, namespace: $namespace) {\n users {\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 ";
230
- 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 namespace\n code\n arn\n description\n createdAt\n updatedAt\n }\n }\n}\n ";
234
+ 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 ";
235
+ 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 ";
236
+ 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 ";
237
+ 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 ";
231
238
  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 ";
232
239
  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 ";
233
240
  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 ";
241
+ 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 ";
234
242
  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 ";
235
243
  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 ";
236
244
  exports.SocialConnectionInstancesDocument = "\n query socialConnectionInstances {\n socialConnectionInstances {\n provider\n enabled\n fields {\n key\n value\n }\n }\n}\n ";
@@ -240,11 +248,14 @@
240
248
  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 ";
241
249
  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 ";
242
250
  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 ";
243
- exports.UserBatchDocument = "\n query userBatch($ids: [String!]!) {\n userBatch(ids: $ids) {\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 ";
251
+ 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 ";
252
+ 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 ";
253
+ 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 ";
244
254
  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 ";
245
255
  exports.UserpoolTypesDocument = "\n query userpoolTypes {\n userpoolTypes {\n code\n name\n description\n image\n sdks\n }\n}\n ";
246
256
  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 ";
247
257
  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 ";
258
+ 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 ";
248
259
  exports.WhitelistDocument = "\n query whitelist($type: WhitelistType!) {\n whitelist(type: $type) {\n createdAt\n updatedAt\n value\n }\n}\n ";
249
260
  });
250
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ3JhcGhxbC52Mi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy90eXBlcy9ncmFwaHFsLnYyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7OztJQWdXQSxJQUFZLFlBTVg7SUFORCxXQUFZLFlBQVk7UUFDdEIsNkJBQWEsQ0FBQTtRQUNiLDJCQUFXLENBQUE7UUFDWCw2QkFBYSxDQUFBO1FBQ2IseUJBQVMsQ0FBQTtRQUNULGlDQUFpQixDQUFBO0lBQ25CLENBQUMsRUFOVyxZQUFZLEdBQVosb0JBQVksS0FBWixvQkFBWSxRQU12QjtJQUVELElBQVksMEJBTVg7SUFORCxXQUFZLDBCQUEwQjtRQUNwQywyQ0FBYSxDQUFBO1FBQ2IsMkNBQWEsQ0FBQTtRQUNiLDZDQUFlLENBQUE7UUFDZix5Q0FBVyxDQUFBO1FBQ1gsNENBQWMsQ0FBQTtJQUNoQixDQUFDLEVBTlcsMEJBQTBCLEdBQTFCLGtDQUEwQixLQUExQixrQ0FBMEIsUUFNckM7SUFPRCxJQUFZLFFBR1g7SUFIRCxXQUFZLFFBQVE7UUFDbEIsdUJBQVcsQ0FBQTtRQUNYLHFCQUFTLENBQUE7SUFDWCxDQUFDLEVBSFcsUUFBUSxHQUFSLGdCQUFRLEtBQVIsZ0JBQVEsUUFHbkI7SUFtRUQsSUFBWSxpQkFhWDtJQWJELFdBQVksaUJBQWlCO1F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HQUFHLG9qQ0FnRXRDLENBQUM7SUFDTyxRQUFBLGlCQUFpQixHQUFHLG1JQVE1QixDQUFDIn0=
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "authing-js-sdk",
3
- "version": "4.18.8",
3
+ "version": "4.20.7",
4
4
  "description": "Official SDK of Authing",
5
5
  "main": "build/main/index.js",
6
6
  "typings": "build/main/index.d.ts",
@@ -0,0 +1,210 @@
1
+ # Changelog
2
+
3
+ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
+
5
+ ## [10.0.0](https://github.com/motdotla/dotenv/compare/v9.0.2...v10.0.0) (2021-05-20)
6
+
7
+ ### Added
8
+
9
+ - Add generic support to parse function
10
+ - Allow for import "dotenv/config.js"
11
+ - Add support to resolve home directory in path via ~
12
+
13
+ ## [9.0.2](https://github.com/motdotla/dotenv/compare/v9.0.1...v9.0.2) (2021-05-10)
14
+
15
+ ### Changed
16
+
17
+ - Support windows newlines with debug mode
18
+
19
+ ## [9.0.1](https://github.com/motdotla/dotenv/compare/v9.0.0...v9.0.1) (2021-05-08)
20
+
21
+ ### Changed
22
+
23
+ - Updates to README
24
+
25
+ ## [9.0.0](https://github.com/motdotla/dotenv/compare/v8.6.0...v9.0.0) (2021-05-05)
26
+
27
+ ### Changed
28
+
29
+ - _Breaking:_ drop support for Node v8
30
+
31
+ ## [8.6.0](https://github.com/motdotla/dotenv/compare/v8.5.1...v8.6.0) (2021-05-05)
32
+
33
+ ### Added
34
+
35
+ - define package.json in exports
36
+
37
+ ## [8.5.1](https://github.com/motdotla/dotenv/compare/v8.5.0...v8.5.1) (2021-05-05)
38
+
39
+ ### Changed
40
+
41
+ - updated dev dependencies via npm audit
42
+
43
+ ## [8.5.0](https://github.com/motdotla/dotenv/compare/v8.4.0...v8.5.0) (2021-05-05)
44
+
45
+ ### Added
46
+
47
+ - allow for `import "dotenv/config"`
48
+
49
+ ## [8.4.0](https://github.com/motdotla/dotenv/compare/v8.3.0...v8.4.0) (2021-05-05)
50
+
51
+ ### Changed
52
+
53
+ - point to exact types file to work with VS Code
54
+
55
+ ## [8.3.0](https://github.com/motdotla/dotenv/compare/v8.2.0...v8.3.0) (2021-05-05)
56
+
57
+ ### Changed
58
+
59
+ - _Breaking:_ drop support for Node v8 (mistake to be released as minor bump. later bumped to 9.0.0. see above.)
60
+
61
+ ## [8.2.0](https://github.com/motdotla/dotenv/compare/v8.1.0...v8.2.0) (2019-10-16)
62
+
63
+ ### Added
64
+
65
+ - TypeScript types
66
+
67
+ ## [8.1.0](https://github.com/motdotla/dotenv/compare/v8.0.0...v8.1.0) (2019-08-18)
68
+
69
+ ### Changed
70
+
71
+ - _Breaking:_ drop support for Node v6 ([#392](https://github.com/motdotla/dotenv/issues/392))
72
+
73
+ # [8.0.0](https://github.com/motdotla/dotenv/compare/v7.0.0...v8.0.0) (2019-05-02)
74
+
75
+ ### Changed
76
+
77
+ - _Breaking:_ drop support for Node v6 ([#302](https://github.com/motdotla/dotenv/issues/392))
78
+
79
+ ## [7.0.0] - 2019-03-12
80
+
81
+ ### Fixed
82
+
83
+ - Fix removing unbalanced quotes ([#376](https://github.com/motdotla/dotenv/pull/376))
84
+
85
+ ### Removed
86
+
87
+ - Removed `load` alias for `config` for consistency throughout code and documentation.
88
+
89
+ ## [6.2.0] - 2018-12-03
90
+
91
+ ### Added
92
+
93
+ - Support preload configuration via environment variables ([#351](https://github.com/motdotla/dotenv/issues/351))
94
+
95
+ ## [6.1.0] - 2018-10-08
96
+
97
+ ### Added
98
+
99
+ - `debug` option for `config` and `parse` methods will turn on logging
100
+
101
+ ## [6.0.0] - 2018-06-02
102
+
103
+ ### Changed
104
+
105
+ - _Breaking:_ drop support for Node v4 ([#304](https://github.com/motdotla/dotenv/pull/304))
106
+
107
+ ## [5.0.0] - 2018-01-29
108
+
109
+ ### Added
110
+
111
+ - Testing against Node v8 and v9
112
+ - Documentation on trim behavior of values
113
+ - Documentation on how to use with `import`
114
+
115
+ ### Changed
116
+
117
+ - _Breaking_: default `path` is now `path.resolve(process.cwd(), '.env')`
118
+ - _Breaking_: does not write over keys already in `process.env` if the key has a falsy value
119
+ - using `const` and `let` instead of `var`
120
+
121
+ ### Removed
122
+
123
+ - Testing against Node v7
124
+
125
+ ## [4.0.0] - 2016-12-23
126
+
127
+ ### Changed
128
+
129
+ - Return Object with parsed content or error instead of false ([#165](https://github.com/motdotla/dotenv/pull/165)).
130
+
131
+ ### Removed
132
+
133
+ - `verbose` option removed in favor of returning result.
134
+
135
+ ## [3.0.0] - 2016-12-20
136
+
137
+ ### Added
138
+
139
+ - `verbose` option will log any error messages. Off by default.
140
+ - parses email addresses correctly
141
+ - allow importing config method directly in ES6
142
+
143
+ ### Changed
144
+
145
+ - Suppress error messages by default ([#154](https://github.com/motdotla/dotenv/pull/154))
146
+ - Ignoring more files for NPM to make package download smaller
147
+
148
+ ### Fixed
149
+
150
+ - False positive test due to case-sensitive variable ([#124](https://github.com/motdotla/dotenv/pull/124))
151
+
152
+ ### Removed
153
+
154
+ - `silent` option removed in favor of `verbose`
155
+
156
+ ## [2.0.0] - 2016-01-20
157
+
158
+ ### Added
159
+
160
+ - CHANGELOG to ["make it easier for users and contributors to see precisely what notable changes have been made between each release"](http://keepachangelog.com/). Linked to from README
161
+ - LICENSE to be more explicit about what was defined in `package.json`. Linked to from README
162
+ - Testing nodejs v4 on travis-ci
163
+ - added examples of how to use dotenv in different ways
164
+ - return parsed object on success rather than boolean true
165
+
166
+ ### Changed
167
+
168
+ - README has shorter description not referencing ruby gem since we don't have or want feature parity
169
+
170
+ ### Removed
171
+
172
+ - Variable expansion and escaping so environment variables are encouraged to be fully orthogonal
173
+
174
+ ## [1.2.0] - 2015-06-20
175
+
176
+ ### Added
177
+
178
+ - Preload hook to require dotenv without including it in your code
179
+
180
+ ### Changed
181
+
182
+ - clarified license to be "BSD-2-Clause" in `package.json`
183
+
184
+ ### Fixed
185
+
186
+ - retain spaces in string vars
187
+
188
+ ## [1.1.0] - 2015-03-31
189
+
190
+ ### Added
191
+
192
+ - Silent option to silence `console.log` when `.env` missing
193
+
194
+ ## [1.0.0] - 2015-03-13
195
+
196
+ ### Removed
197
+
198
+ - support for multiple `.env` files. should always use one `.env` file for the current environment
199
+
200
+ [7.0.0]: https://github.com/motdotla/dotenv/compare/v6.2.0...v7.0.0
201
+ [6.2.0]: https://github.com/motdotla/dotenv/compare/v6.1.0...v6.2.0
202
+ [6.1.0]: https://github.com/motdotla/dotenv/compare/v6.0.0...v6.1.0
203
+ [6.0.0]: https://github.com/motdotla/dotenv/compare/v5.0.0...v6.0.0
204
+ [5.0.0]: https://github.com/motdotla/dotenv/compare/v4.0.0...v5.0.0
205
+ [4.0.0]: https://github.com/motdotla/dotenv/compare/v3.0.0...v4.0.0
206
+ [3.0.0]: https://github.com/motdotla/dotenv/compare/v2.0.0...v3.0.0
207
+ [2.0.0]: https://github.com/motdotla/dotenv/compare/v1.2.0...v2.0.0
208
+ [1.2.0]: https://github.com/motdotla/dotenv/compare/v1.1.0...v1.2.0
209
+ [1.1.0]: https://github.com/motdotla/dotenv/compare/v1.0.0...v1.1.0
210
+ [1.0.0]: https://github.com/motdotla/dotenv/compare/v0.4.0...v1.0.0
@@ -0,0 +1,23 @@
1
+ Copyright (c) 2015, Scott Motte
2
+ All rights reserved.
3
+
4
+ Redistribution and use in source and binary forms, with or without
5
+ modification, are permitted provided that the following conditions are met:
6
+
7
+ * Redistributions of source code must retain the above copyright notice, this
8
+ list of conditions and the following disclaimer.
9
+
10
+ * Redistributions in binary form must reproduce the above copyright notice,
11
+ this list of conditions and the following disclaimer in the documentation
12
+ and/or other materials provided with the distribution.
13
+
14
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
15
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
16
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
17
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
18
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
20
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
21
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
22
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
23
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
@@ -0,0 +1,275 @@
1
+ <p align="center">
2
+ <strong>Announcement 📣</strong><br/>From the makers that brought you Dotenv, introducing <a href="https://sync.dotenv.org">Dotenv Sync</a>.<br/>Sync your .env files between machines, environments, and team members.<br/><a href="https://sync.dotenv.org">Join the early access list. 🕶</a>
3
+ </p>
4
+
5
+ # dotenv
6
+
7
+ <img src="https://raw.githubusercontent.com/motdotla/dotenv/master/dotenv.png" alt="dotenv" align="right" />
8
+
9
+ Dotenv is a zero-dependency module that loads environment variables from a `.env` file into [`process.env`](https://nodejs.org/docs/latest/api/process.html#process_process_env). Storing configuration in the environment separate from code is based on [The Twelve-Factor App](http://12factor.net/config) methodology.
10
+
11
+ [![BuildStatus](https://img.shields.io/travis/motdotla/dotenv/master.svg?style=flat-square)](https://travis-ci.org/motdotla/dotenv)
12
+ [![Build status](https://ci.appveyor.com/api/projects/status/github/motdotla/dotenv?svg=true)](https://ci.appveyor.com/project/motdotla/dotenv/branch/master)
13
+ [![NPM version](https://img.shields.io/npm/v/dotenv.svg?style=flat-square)](https://www.npmjs.com/package/dotenv)
14
+ [![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat-square)](https://github.com/feross/standard)
15
+ [![Coverage Status](https://img.shields.io/coveralls/motdotla/dotenv/master.svg?style=flat-square)](https://coveralls.io/github/motdotla/dotenv?branch=coverall-intergration)
16
+ [![LICENSE](https://img.shields.io/github/license/motdotla/dotenv.svg)](LICENSE)
17
+ [![Conventional Commits](https://img.shields.io/badge/Conventional%20Commits-1.0.0-yellow.svg)](https://conventionalcommits.org)
18
+
19
+ ## Install
20
+
21
+ ```bash
22
+ # with npm
23
+ npm install dotenv
24
+
25
+ # or with Yarn
26
+ yarn add dotenv
27
+ ```
28
+
29
+ ## Usage
30
+
31
+ As early as possible in your application, require and configure dotenv.
32
+
33
+ ```javascript
34
+ require('dotenv').config()
35
+ ```
36
+
37
+ Create a `.env` file in the root directory of your project. Add
38
+ environment-specific variables on new lines in the form of `NAME=VALUE`.
39
+ For example:
40
+
41
+ ```dosini
42
+ DB_HOST=localhost
43
+ DB_USER=root
44
+ DB_PASS=s1mpl3
45
+ ```
46
+
47
+ `process.env` now has the keys and values you defined in your `.env` file.
48
+
49
+ ```javascript
50
+ const db = require('db')
51
+ db.connect({
52
+ host: process.env.DB_HOST,
53
+ username: process.env.DB_USER,
54
+ password: process.env.DB_PASS
55
+ })
56
+ ```
57
+
58
+ ### Preload
59
+
60
+ You can use the `--require` (`-r`) [command line option](https://nodejs.org/api/cli.html#cli_r_require_module) to preload dotenv. By doing this, you do not need to require and load dotenv in your application code. This is the preferred approach when using `import` instead of `require`.
61
+
62
+ ```bash
63
+ $ node -r dotenv/config your_script.js
64
+ ```
65
+
66
+ The configuration options below are supported as command line arguments in the format `dotenv_config_<option>=value`
67
+
68
+ ```bash
69
+ $ node -r dotenv/config your_script.js dotenv_config_path=/custom/path/to/.env
70
+ ```
71
+
72
+ Additionally, you can use environment variables to set configuration options. Command line arguments will precede these.
73
+
74
+ ```bash
75
+ $ DOTENV_CONFIG_<OPTION>=value node -r dotenv/config your_script.js
76
+ ```
77
+
78
+ ```bash
79
+ $ DOTENV_CONFIG_ENCODING=latin1 node -r dotenv/config your_script.js dotenv_config_path=/custom/path/to/.env
80
+ ```
81
+
82
+ ## Config
83
+
84
+ `config` will read your `.env` file, parse the contents, assign it to
85
+ [`process.env`](https://nodejs.org/docs/latest/api/process.html#process_process_env),
86
+ and return an Object with a `parsed` key containing the loaded content or an `error` key if it failed.
87
+
88
+ ```js
89
+ const result = dotenv.config()
90
+
91
+ if (result.error) {
92
+ throw result.error
93
+ }
94
+
95
+ console.log(result.parsed)
96
+ ```
97
+
98
+ You can additionally, pass options to `config`.
99
+
100
+ ### Options
101
+
102
+ #### Path
103
+
104
+ Default: `path.resolve(process.cwd(), '.env')`
105
+
106
+ You may specify a custom path if your file containing environment variables is located elsewhere.
107
+
108
+ ```js
109
+ require('dotenv').config({ path: '/custom/path/to/.env' })
110
+ ```
111
+
112
+ #### Encoding
113
+
114
+ Default: `utf8`
115
+
116
+ You may specify the encoding of your file containing environment variables.
117
+
118
+ ```js
119
+ require('dotenv').config({ encoding: 'latin1' })
120
+ ```
121
+
122
+ #### Debug
123
+
124
+ Default: `false`
125
+
126
+ You may turn on logging to help debug why certain keys or values are not being set as you expect.
127
+
128
+ ```js
129
+ require('dotenv').config({ debug: process.env.DEBUG })
130
+ ```
131
+
132
+ ## Parse
133
+
134
+ The engine which parses the contents of your file containing environment
135
+ variables is available to use. It accepts a String or Buffer and will return
136
+ an Object with the parsed keys and values.
137
+
138
+ ```js
139
+ const dotenv = require('dotenv')
140
+ const buf = Buffer.from('BASIC=basic')
141
+ const config = dotenv.parse(buf) // will return an object
142
+ console.log(typeof config, config) // object { BASIC : 'basic' }
143
+ ```
144
+
145
+ ### Options
146
+
147
+ #### Debug
148
+
149
+ Default: `false`
150
+
151
+ You may turn on logging to help debug why certain keys or values are not being set as you expect.
152
+
153
+ ```js
154
+ const dotenv = require('dotenv')
155
+ const buf = Buffer.from('hello world')
156
+ const opt = { debug: true }
157
+ const config = dotenv.parse(buf, opt)
158
+ // expect a debug message because the buffer is not in KEY=VAL form
159
+ ```
160
+
161
+ ### Rules
162
+
163
+ The parsing engine currently supports the following rules:
164
+
165
+ - `BASIC=basic` becomes `{BASIC: 'basic'}`
166
+ - empty lines are skipped
167
+ - lines beginning with `#` are treated as comments
168
+ - empty values become empty strings (`EMPTY=` becomes `{EMPTY: ''}`)
169
+ - inner quotes are maintained (think JSON) (`JSON={"foo": "bar"}` becomes `{JSON:"{\"foo\": \"bar\"}"`)
170
+ - whitespace is removed from both ends of unquoted values (see more on [`trim`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/Trim)) (`FOO= some value ` becomes `{FOO: 'some value'}`)
171
+ - single and double quoted values are escaped (`SINGLE_QUOTE='quoted'` becomes `{SINGLE_QUOTE: "quoted"}`)
172
+ - single and double quoted values maintain whitespace from both ends (`FOO=" some value "` becomes `{FOO: ' some value '}`)
173
+ - double quoted values expand new lines (`MULTILINE="new\nline"` becomes
174
+
175
+ ```
176
+ {MULTILINE: 'new
177
+ line'}
178
+ ```
179
+
180
+ ## FAQ
181
+
182
+ ### Should I commit my `.env` file?
183
+
184
+ No. We **strongly** recommend against committing your `.env` file to version
185
+ control. It should only include environment-specific values such as database
186
+ passwords or API keys. Your production database should have a different
187
+ password than your development database.
188
+
189
+ ### Should I have multiple `.env` files?
190
+
191
+ No. We **strongly** recommend against having a "main" `.env` file and an "environment" `.env` file like `.env.test`. Your config should vary between deploys, and you should not be sharing values between environments.
192
+
193
+ > In a twelve-factor app, env vars are granular controls, each fully orthogonal to other env vars. They are never grouped together as “environments”, but instead are independently managed for each deploy. This is a model that scales up smoothly as the app naturally expands into more deploys over its lifetime.
194
+ >
195
+ > – [The Twelve-Factor App](http://12factor.net/config)
196
+
197
+ ### What happens to environment variables that were already set?
198
+
199
+ We will never modify any environment variables that have already been set. In particular, if there is a variable in your `.env` file which collides with one that already exists in your environment, then that variable will be skipped. This behavior allows you to override all `.env` configurations with a machine-specific environment, although it is not recommended.
200
+
201
+ If you want to override `process.env` you can do something like this:
202
+
203
+ ```javascript
204
+ const fs = require('fs')
205
+ const dotenv = require('dotenv')
206
+ const envConfig = dotenv.parse(fs.readFileSync('.env.override'))
207
+ for (const k in envConfig) {
208
+ process.env[k] = envConfig[k]
209
+ }
210
+ ```
211
+
212
+ ### Can I customize/write plugins for dotenv?
213
+
214
+ For `dotenv@2.x.x`: Yes. `dotenv.config()` now returns an object representing
215
+ the parsed `.env` file. This gives you everything you need to continue
216
+ setting values on `process.env`. For example:
217
+
218
+ ```js
219
+ const dotenv = require('dotenv')
220
+ const variableExpansion = require('dotenv-expand')
221
+ const myEnv = dotenv.config()
222
+ variableExpansion(myEnv)
223
+ ```
224
+
225
+ ### What about variable expansion?
226
+
227
+ Try [dotenv-expand](https://github.com/motdotla/dotenv-expand)
228
+
229
+ ### How do I use dotenv with `import`?
230
+
231
+ ES2015 and beyond offers modules that allow you to `export` any top-level `function`, `class`, `var`, `let`, or `const`.
232
+
233
+ > When you run a module containing an `import` declaration, the modules it imports are loaded first, then each module body is executed in a depth-first traversal of the dependency graph, avoiding cycles by skipping anything already executed.
234
+ >
235
+ > – [ES6 In Depth: Modules](https://hacks.mozilla.org/2015/08/es6-in-depth-modules/)
236
+
237
+ You must run `dotenv.config()` before referencing any environment variables. Here's an example of problematic code:
238
+
239
+ `errorReporter.js`:
240
+
241
+ ```js
242
+ import { Client } from 'best-error-reporting-service'
243
+
244
+ export const client = new Client(process.env.BEST_API_KEY)
245
+ ```
246
+
247
+ `index.js`:
248
+
249
+ ```js
250
+ import dotenv from 'dotenv'
251
+ import errorReporter from './errorReporter'
252
+
253
+ dotenv.config()
254
+ errorReporter.client.report(new Error('faq example'))
255
+ ```
256
+
257
+ `client` will not be configured correctly because it was constructed before `dotenv.config()` was executed. There are (at least) 3 ways to make this work.
258
+
259
+ 1. Preload dotenv: `node --require dotenv/config index.js` (_Note: you do not need to `import` dotenv with this approach_)
260
+ 2. Import `dotenv/config` instead of `dotenv` (_Note: you do not need to call `dotenv.config()` and must pass options via the command line or environment variables with this approach_)
261
+ 3. Create a separate file that will execute `config` first as outlined in [this comment on #133](https://github.com/motdotla/dotenv/issues/133#issuecomment-255298822)
262
+
263
+ ## Contributing Guide
264
+
265
+ See [CONTRIBUTING.md](CONTRIBUTING.md)
266
+
267
+ ## Change Log
268
+
269
+ See [CHANGELOG.md](CHANGELOG.md)
270
+
271
+ ## Who's using dotenv?
272
+
273
+ [These npm modules depend on it.](https://www.npmjs.com/browse/depended/dotenv)
274
+
275
+ Projects that expand it often use the [keyword "dotenv" on npm](https://www.npmjs.com/search?q=keywords:dotenv).