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.
- checksums.yaml +4 -4
- data/authing_ruby.gemspec +4 -2
- data/lib/authing_ruby/common/PublicKeyManager.rb +12 -1
- data/lib/authing_ruby/version.rb +1 -1
- metadata +10 -467
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/CONTRIBUTION.md +0 -23
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/LICENSE +0 -21
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/README.md +0 -303
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build-doc.js +0 -520
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/browser/index.min.js +0 -2
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/browser/index.min.js.LICENSE.txt +0 -91
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/index.d.ts +0 -7
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/index.js +0 -20
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/authentication/AuthenticationClient.d.ts +0 -1118
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/authentication/AuthenticationClient.js +0 -2859
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/authentication/AuthenticationTokenProvider.d.ts +0 -13
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/authentication/AuthenticationTokenProvider.js +0 -56
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/authentication/BaseAuthenticationClient.d.ts +0 -6
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/authentication/BaseAuthenticationClient.js +0 -31
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/authentication/EnterpriseAuthenticationClient.d.ts +0 -92
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/authentication/EnterpriseAuthenticationClient.js +0 -250
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/authentication/MfaAuthenticationClient.d.ts +0 -303
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/authentication/MfaAuthenticationClient.js +0 -665
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/authentication/QrCodeAuthenticationClient.d.ts +0 -232
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/authentication/QrCodeAuthenticationClient.js +0 -622
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/authentication/SocialAuthenticationClient.d.ts +0 -104
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/authentication/SocialAuthenticationClient.js +0 -180
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/authentication/types.d.ts +0 -341
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/authentication/types.js +0 -69
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/common/GraphqlClient.d.ts +0 -14
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/common/GraphqlClient.js +0 -127
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/common/HttpClient.d.ts +0 -19
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/common/HttpClient.js +0 -151
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/common/PublicKeyManager.d.ts +0 -18
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/common/PublicKeyManager.js +0 -81
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/graphqlapi.d.ts +0 -121
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/graphqlapi.js +0 -2002
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/AclManagementClient.d.ts +0 -236
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/AclManagementClient.js +0 -863
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/AgreementManagementClient.d.ts +0 -65
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/AgreementManagementClient.js +0 -195
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/ApplicationsManagementClient.d.ts +0 -216
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/ApplicationsManagementClient.js +0 -533
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/GroupsManagementClient.d.ts +0 -188
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/GroupsManagementClient.js +0 -404
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/MFAManagementClient.d.ts +0 -58
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/MFAManagementClient.js +0 -126
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/ManagementClient.d.ts +0 -79
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/ManagementClient.js +0 -203
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/ManagementTokenProvider.d.ts +0 -39
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/ManagementTokenProvider.js +0 -159
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/OrgManagementClient.d.ts +0 -521
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/OrgManagementClient.js +0 -840
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/PoliciesManagementClient.d.ts +0 -304
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/PoliciesManagementClient.js +0 -512
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/RolesManagementClient.d.ts +0 -296
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/RolesManagementClient.js +0 -711
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/StatisticsManagementClient.d.ts +0 -56
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/StatisticsManagementClient.js +0 -198
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/UdfManagementClient.d.ts +0 -146
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/UdfManagementClient.js +0 -264
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/UserActionManagementClient.d.ts +0 -44
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/UserActionManagementClient.js +0 -106
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/UserpoolManagementClient.d.ts +0 -142
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/UserpoolManagementClient.js +0 -241
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/UsersManagementClient.d.ts +0 -784
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/UsersManagementClient.js +0 -1251
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/WhitelistManagementClient.d.ts +0 -114
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/WhitelistManagementClient.js +0 -259
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/types.d.ts +0 -992
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/types.js +0 -96
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/platform/express/index.d.ts +0 -30
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/platform/express/index.js +0 -126
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/testing-helper.d.ts +0 -31
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/testing-helper.js +0 -67
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/utils.d.ts +0 -53
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/utils.js +0 -343
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/version.d.ts +0 -1
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/version.js +0 -5
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/types/graphql.v2.d.ts +0 -6241
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/types/graphql.v2.js +0 -251
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/types/index.d.ts +0 -7
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/types/index.js +0 -3
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/index.d.ts +0 -7
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/index.js +0 -8
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/authentication/AuthenticationClient.d.ts +0 -1118
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/authentication/AuthenticationClient.js +0 -2853
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/authentication/AuthenticationTokenProvider.d.ts +0 -13
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/authentication/AuthenticationTokenProvider.js +0 -53
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/authentication/BaseAuthenticationClient.d.ts +0 -6
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/authentication/BaseAuthenticationClient.js +0 -28
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/authentication/EnterpriseAuthenticationClient.d.ts +0 -92
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/authentication/EnterpriseAuthenticationClient.js +0 -247
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/authentication/MfaAuthenticationClient.d.ts +0 -303
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/authentication/MfaAuthenticationClient.js +0 -662
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/authentication/QrCodeAuthenticationClient.d.ts +0 -232
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/authentication/QrCodeAuthenticationClient.js +0 -619
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/authentication/SocialAuthenticationClient.d.ts +0 -104
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/authentication/SocialAuthenticationClient.js +0 -177
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/authentication/types.d.ts +0 -341
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/authentication/types.js +0 -66
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/common/GraphqlClient.d.ts +0 -14
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/common/GraphqlClient.js +0 -121
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/common/HttpClient.d.ts +0 -19
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/common/HttpClient.js +0 -145
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/common/PublicKeyManager.d.ts +0 -18
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/common/PublicKeyManager.js +0 -78
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/graphqlapi.d.ts +0 -121
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/graphqlapi.js +0 -1999
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/AclManagementClient.d.ts +0 -236
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/AclManagementClient.js +0 -860
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/AgreementManagementClient.d.ts +0 -65
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/AgreementManagementClient.js +0 -192
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/ApplicationsManagementClient.d.ts +0 -216
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/ApplicationsManagementClient.js +0 -530
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/GroupsManagementClient.d.ts +0 -188
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/GroupsManagementClient.js +0 -401
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/MFAManagementClient.d.ts +0 -58
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/MFAManagementClient.js +0 -123
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/ManagementClient.d.ts +0 -79
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/ManagementClient.js +0 -197
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/ManagementTokenProvider.d.ts +0 -39
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/ManagementTokenProvider.js +0 -153
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/OrgManagementClient.d.ts +0 -521
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/OrgManagementClient.js +0 -818
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/PoliciesManagementClient.d.ts +0 -304
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/PoliciesManagementClient.js +0 -509
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/RolesManagementClient.d.ts +0 -296
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/RolesManagementClient.js +0 -708
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/StatisticsManagementClient.d.ts +0 -56
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/StatisticsManagementClient.js +0 -195
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/UdfManagementClient.d.ts +0 -146
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/UdfManagementClient.js +0 -261
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/UserActionManagementClient.d.ts +0 -44
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/UserActionManagementClient.js +0 -103
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/UserpoolManagementClient.d.ts +0 -142
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/UserpoolManagementClient.js +0 -238
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/UsersManagementClient.d.ts +0 -784
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/UsersManagementClient.js +0 -1248
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/WhitelistManagementClient.d.ts +0 -114
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/WhitelistManagementClient.js +0 -256
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/types.d.ts +0 -992
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/types.js +0 -93
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/platform/express/index.d.ts +0 -30
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/platform/express/index.js +0 -123
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/testing-helper.d.ts +0 -31
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/testing-helper.js +0 -62
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/utils.d.ts +0 -53
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/utils.js +0 -336
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/version.d.ts +0 -1
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/version.js +0 -2
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/types/graphql.v2.d.ts +0 -6241
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/types/graphql.v2.js +0 -248
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/types/index.d.ts +0 -7
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/types/index.js +0 -1
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/index.d.ts +0 -7
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/index.js +0 -30
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/authentication/AuthenticationClient.d.ts +0 -1118
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/authentication/AuthenticationClient.js +0 -2869
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/authentication/AuthenticationTokenProvider.d.ts +0 -13
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/authentication/AuthenticationTokenProvider.js +0 -66
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/authentication/BaseAuthenticationClient.d.ts +0 -6
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/authentication/BaseAuthenticationClient.js +0 -41
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/authentication/EnterpriseAuthenticationClient.d.ts +0 -92
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/authentication/EnterpriseAuthenticationClient.js +0 -260
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/authentication/MfaAuthenticationClient.d.ts +0 -303
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/authentication/MfaAuthenticationClient.js +0 -675
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/authentication/QrCodeAuthenticationClient.d.ts +0 -232
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/authentication/QrCodeAuthenticationClient.js +0 -632
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/authentication/SocialAuthenticationClient.d.ts +0 -104
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/authentication/SocialAuthenticationClient.js +0 -190
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/authentication/types.d.ts +0 -341
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/authentication/types.js +0 -79
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/common/GraphqlClient.d.ts +0 -14
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/common/GraphqlClient.js +0 -137
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/common/HttpClient.d.ts +0 -19
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/common/HttpClient.js +0 -161
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/common/PublicKeyManager.d.ts +0 -18
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/common/PublicKeyManager.js +0 -91
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/graphqlapi.d.ts +0 -121
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/graphqlapi.js +0 -2012
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/AclManagementClient.d.ts +0 -236
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/AclManagementClient.js +0 -873
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/AgreementManagementClient.d.ts +0 -65
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/AgreementManagementClient.js +0 -205
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/ApplicationsManagementClient.d.ts +0 -216
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/ApplicationsManagementClient.js +0 -543
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/GroupsManagementClient.d.ts +0 -188
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/GroupsManagementClient.js +0 -414
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/MFAManagementClient.d.ts +0 -58
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/MFAManagementClient.js +0 -136
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/ManagementClient.d.ts +0 -79
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/ManagementClient.js +0 -213
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/ManagementTokenProvider.d.ts +0 -39
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/ManagementTokenProvider.js +0 -169
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/OrgManagementClient.d.ts +0 -521
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/OrgManagementClient.js +0 -850
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/PoliciesManagementClient.d.ts +0 -304
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/PoliciesManagementClient.js +0 -522
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/RolesManagementClient.d.ts +0 -296
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/RolesManagementClient.js +0 -721
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/StatisticsManagementClient.d.ts +0 -56
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/StatisticsManagementClient.js +0 -208
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/UdfManagementClient.d.ts +0 -146
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/UdfManagementClient.js +0 -274
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/UserActionManagementClient.d.ts +0 -44
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/UserActionManagementClient.js +0 -116
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/UserpoolManagementClient.d.ts +0 -142
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/UserpoolManagementClient.js +0 -251
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/UsersManagementClient.d.ts +0 -784
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/UsersManagementClient.js +0 -1261
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/WhitelistManagementClient.d.ts +0 -114
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/WhitelistManagementClient.js +0 -269
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/types.d.ts +0 -992
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/types.js +0 -106
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/platform/express/index.d.ts +0 -30
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/platform/express/index.js +0 -136
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/testing-helper.d.ts +0 -31
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/testing-helper.js +0 -77
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/utils.d.ts +0 -53
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/utils.js +0 -353
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/version.d.ts +0 -1
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/version.js +0 -15
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/types/graphql.v2.d.ts +0 -6241
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/types/graphql.v2.js +0 -261
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/types/index.d.ts +0 -7
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/types/index.js +0 -13
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/CHANGELOG.md +0 -413
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/LICENSE +0 -19
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/README.md +0 -709
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/UPGRADE_GUIDE.md +0 -162
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/dist/axios.js +0 -1715
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/dist/axios.map +0 -1
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/dist/axios.min.js +0 -3
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/dist/axios.min.map +0 -1
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/index.d.ts +0 -157
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/index.js +0 -1
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/adapters/README.md +0 -37
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/adapters/http.js +0 -279
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/adapters/xhr.js +0 -180
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/axios.js +0 -53
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/cancel/Cancel.js +0 -19
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/cancel/CancelToken.js +0 -57
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/cancel/isCancel.js +0 -5
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/core/Axios.js +0 -94
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/core/InterceptorManager.js +0 -52
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/core/README.md +0 -7
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/core/buildFullPath.js +0 -20
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/core/createError.js +0 -18
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/core/dispatchRequest.js +0 -79
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/core/enhanceError.js +0 -42
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/core/mergeConfig.js +0 -73
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/core/settle.js +0 -25
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/core/transformData.js +0 -20
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/defaults.js +0 -97
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/helpers/README.md +0 -7
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/helpers/bind.js +0 -11
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/helpers/buildURL.js +0 -71
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/helpers/combineURLs.js +0 -14
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/helpers/cookies.js +0 -53
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/helpers/deprecatedMethod.js +0 -24
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/helpers/isAbsoluteURL.js +0 -14
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/helpers/isURLSameOrigin.js +0 -68
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/helpers/normalizeHeaderName.js +0 -12
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/helpers/parseHeaders.js +0 -53
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/helpers/spread.js +0 -27
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/utils.js +0 -344
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/package.json +0 -84
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/follow-redirects/LICENSE +0 -18
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/follow-redirects/README.md +0 -155
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/follow-redirects/http.js +0 -1
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/follow-redirects/https.js +0 -1
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/follow-redirects/index.js +0 -322
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/follow-redirects/package.json +0 -60
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/package.json +0 -129
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/tests/index.html +0 -21
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/tsconfig.brower.json +0 -45
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/tsconfig.node.json +0 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/webpack.config.js +0 -41
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/CHANGELOG.md +0 -685
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/LICENSE +0 -19
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/README.md +0 -800
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/UPGRADE_GUIDE.md +0 -162
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/dist/axios.js +0 -1756
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/dist/axios.map +0 -1
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/dist/axios.min.js +0 -3
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/dist/axios.min.map +0 -1
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/index.d.ts +0 -161
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/index.js +0 -1
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/adapters/README.md +0 -37
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/adapters/http.js +0 -303
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/adapters/xhr.js +0 -179
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/axios.js +0 -56
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/cancel/Cancel.js +0 -19
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/cancel/CancelToken.js +0 -57
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/cancel/isCancel.js +0 -5
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/core/Axios.js +0 -95
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/core/InterceptorManager.js +0 -52
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/core/README.md +0 -7
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/core/buildFullPath.js +0 -20
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/core/createError.js +0 -18
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/core/dispatchRequest.js +0 -79
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/core/enhanceError.js +0 -42
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/core/mergeConfig.js +0 -87
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/core/settle.js +0 -25
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/core/transformData.js +0 -20
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/defaults.js +0 -98
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/helpers/README.md +0 -7
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/helpers/bind.js +0 -11
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/helpers/buildURL.js +0 -70
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/helpers/combineURLs.js +0 -14
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/helpers/cookies.js +0 -53
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/helpers/deprecatedMethod.js +0 -24
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/helpers/isAbsoluteURL.js +0 -14
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/helpers/isAxiosError.js +0 -11
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/helpers/isURLSameOrigin.js +0 -68
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/helpers/normalizeHeaderName.js +0 -12
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/helpers/parseHeaders.js +0 -53
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/helpers/spread.js +0 -27
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/utils.js +0 -351
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/package.json +0 -86
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/CONTRIBUTING.md +0 -28
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/LICENSE +0 -24
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/README.md +0 -249
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/aes.js +0 -234
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/bower.json +0 -35
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/cipher-core.js +0 -890
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/core.js +0 -797
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/crypto-js.js +0 -6059
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/docs/QuickStartGuide.wiki +0 -470
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/enc-base64.js +0 -136
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/enc-hex.js +0 -18
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/enc-latin1.js +0 -18
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/enc-utf16.js +0 -149
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/enc-utf8.js +0 -18
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/evpkdf.js +0 -134
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/format-hex.js +0 -66
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/format-openssl.js +0 -18
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/hmac-md5.js +0 -18
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/hmac-ripemd160.js +0 -18
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/hmac-sha1.js +0 -18
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/hmac-sha224.js +0 -18
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/hmac-sha256.js +0 -18
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/hmac-sha3.js +0 -18
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/hmac-sha384.js +0 -18
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/hmac-sha512.js +0 -18
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/hmac.js +0 -143
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/index.js +0 -18
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/lib-typedarrays.js +0 -76
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/md5.js +0 -268
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/mode-cfb.js +0 -80
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/mode-ctr-gladman.js +0 -116
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/mode-ctr.js +0 -58
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/mode-ecb.js +0 -40
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/mode-ofb.js +0 -54
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/package.json +0 -38
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/pad-ansix923.js +0 -49
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/pad-iso10126.js +0 -44
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/pad-iso97971.js +0 -40
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/pad-nopadding.js +0 -30
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/pad-pkcs7.js +0 -18
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/pad-zeropadding.js +0 -47
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/pbkdf2.js +0 -145
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/rabbit-legacy.js +0 -190
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/rabbit.js +0 -192
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/rc4.js +0 -139
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/ripemd160.js +0 -267
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/sha1.js +0 -150
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/sha224.js +0 -80
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/sha256.js +0 -199
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/sha3.js +0 -326
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/sha384.js +0 -83
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/sha512.js +0 -326
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/tripledes.js +0 -779
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/x64-core.js +0 -304
- data/lib/authing_ruby/test/js_sdk_test/node_modules/debug/CHANGELOG.md +0 -395
- data/lib/authing_ruby/test/js_sdk_test/node_modules/debug/LICENSE +0 -19
- data/lib/authing_ruby/test/js_sdk_test/node_modules/debug/Makefile +0 -58
- data/lib/authing_ruby/test/js_sdk_test/node_modules/debug/README.md +0 -368
- data/lib/authing_ruby/test/js_sdk_test/node_modules/debug/karma.conf.js +0 -70
- data/lib/authing_ruby/test/js_sdk_test/node_modules/debug/node.js +0 -1
- data/lib/authing_ruby/test/js_sdk_test/node_modules/debug/package.json +0 -43
- data/lib/authing_ruby/test/js_sdk_test/node_modules/debug/src/browser.js +0 -195
- data/lib/authing_ruby/test/js_sdk_test/node_modules/debug/src/debug.js +0 -225
- data/lib/authing_ruby/test/js_sdk_test/node_modules/debug/src/index.js +0 -10
- data/lib/authing_ruby/test/js_sdk_test/node_modules/debug/src/node.js +0 -186
- data/lib/authing_ruby/test/js_sdk_test/node_modules/dotenv/CHANGELOG.md +0 -210
- data/lib/authing_ruby/test/js_sdk_test/node_modules/dotenv/LICENSE +0 -23
- data/lib/authing_ruby/test/js_sdk_test/node_modules/dotenv/README.md +0 -275
- data/lib/authing_ruby/test/js_sdk_test/node_modules/dotenv/config.js +0 -11
- data/lib/authing_ruby/test/js_sdk_test/node_modules/dotenv/lib/cli-options.js +0 -13
- data/lib/authing_ruby/test/js_sdk_test/node_modules/dotenv/lib/env-options.js +0 -18
- data/lib/authing_ruby/test/js_sdk_test/node_modules/dotenv/lib/main.js +0 -118
- data/lib/authing_ruby/test/js_sdk_test/node_modules/dotenv/package.json +0 -57
- data/lib/authing_ruby/test/js_sdk_test/node_modules/dotenv/types/index.d.ts +0 -59
- data/lib/authing_ruby/test/js_sdk_test/node_modules/dotenv/types/test.ts +0 -19
- data/lib/authing_ruby/test/js_sdk_test/node_modules/dotenv/types/tsconfig.json +0 -15
- data/lib/authing_ruby/test/js_sdk_test/node_modules/dotenv/types/tslint.json +0 -6
- data/lib/authing_ruby/test/js_sdk_test/node_modules/follow-redirects/LICENSE +0 -18
- data/lib/authing_ruby/test/js_sdk_test/node_modules/follow-redirects/README.md +0 -148
- data/lib/authing_ruby/test/js_sdk_test/node_modules/follow-redirects/debug.js +0 -14
- data/lib/authing_ruby/test/js_sdk_test/node_modules/follow-redirects/http.js +0 -1
- data/lib/authing_ruby/test/js_sdk_test/node_modules/follow-redirects/https.js +0 -1
- data/lib/authing_ruby/test/js_sdk_test/node_modules/follow-redirects/index.js +0 -531
- data/lib/authing_ruby/test/js_sdk_test/node_modules/follow-redirects/package.json +0 -59
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/LICENSE.txt +0 -107
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/README.md +0 -192
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/bin/jsencrypt.js +0 -249
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/bin/jsencrypt.min.js +0 -2
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/bin/jsencrypt.min.js.LICENSE.txt +0 -8
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/JSEncrypt.d.ts +0 -116
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/JSEncrypt.js +0 -186
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/JSEncryptRSAKey.d.ts +0 -142
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/JSEncryptRSAKey.js +0 -315
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/index.d.ts +0 -3
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/index.js +0 -3
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/asn1js/asn1.d.ts +0 -51
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/asn1js/asn1.js +0 -565
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/asn1js/base64.d.ts +0 -5
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/asn1js/base64.js +0 -88
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/asn1js/hex.d.ts +0 -3
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/asn1js/hex.js +0 -64
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/asn1js/int10.d.ts +0 -9
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/asn1js/int10.js +0 -87
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/asn1js/oids.d.ts +0 -9778
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/asn1js/oids.js +0 -1962
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/jsbn/base64.d.ts +0 -3
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/jsbn/base64.js +0 -76
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/jsbn/jsbn.d.ts +0 -98
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/jsbn/jsbn.js +0 -1754
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/jsbn/prng4.d.ts +0 -10
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/jsbn/prng4.js +0 -46
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/jsbn/rng.d.ts +0 -3
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/jsbn/rng.js +0 -76
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/jsbn/rsa.d.ts +0 -23
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/jsbn/rsa.js +0 -373
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/jsbn/util.d.ts +0 -7
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/jsbn/util.js +0 -58
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/jsrsasign/asn1-1.0.js +0 -1593
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/jsrsasign/yahoo.js +0 -69
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/version.json +0 -1
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/package.json +0 -49
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jwt-decode/Gruntfile.js +0 -78
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jwt-decode/LICENSE +0 -21
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jwt-decode/README.md +0 -55
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jwt-decode/bower.json +0 -20
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jwt-decode/build/jwt-decode.js +0 -125
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jwt-decode/build/jwt-decode.min.js +0 -1
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jwt-decode/jwt-decode.html +0 -2
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jwt-decode/lib/atob.js +0 -38
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jwt-decode/lib/base64_url_decode.js +0 -33
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jwt-decode/lib/index.js +0 -26
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jwt-decode/package.json +0 -37
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jwt-decode/standalone.js +0 -16
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jwt-decode/test/tests.js +0 -53
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jwt-decode/test_harness.html +0 -29
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jwt-decode/testem.yml +0 -46
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jwt-decode/testem_dev.yml +0 -1
- data/lib/authing_ruby/test/js_sdk_test/node_modules/ms/index.js +0 -152
- data/lib/authing_ruby/test/js_sdk_test/node_modules/ms/license.md +0 -21
- data/lib/authing_ruby/test/js_sdk_test/node_modules/ms/package.json +0 -37
- data/lib/authing_ruby/test/js_sdk_test/node_modules/ms/readme.md +0 -51
@@ -1,840 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
var __assign = (this && this.__assign) || function () {
|
3
|
-
__assign = Object.assign || function(t) {
|
4
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
5
|
-
s = arguments[i];
|
6
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
7
|
-
t[p] = s[p];
|
8
|
-
}
|
9
|
-
return t;
|
10
|
-
};
|
11
|
-
return __assign.apply(this, arguments);
|
12
|
-
};
|
13
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
14
|
-
if (k2 === undefined) k2 = k;
|
15
|
-
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
16
|
-
}) : (function(o, m, k, k2) {
|
17
|
-
if (k2 === undefined) k2 = k;
|
18
|
-
o[k2] = m[k];
|
19
|
-
}));
|
20
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
21
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
22
|
-
}) : function(o, v) {
|
23
|
-
o["default"] = v;
|
24
|
-
});
|
25
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
26
|
-
if (mod && mod.__esModule) return mod;
|
27
|
-
var result = {};
|
28
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
29
|
-
__setModuleDefault(result, mod);
|
30
|
-
return result;
|
31
|
-
};
|
32
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
33
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
34
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
35
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
36
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
37
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
38
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
39
|
-
});
|
40
|
-
};
|
41
|
-
var __generator = (this && this.__generator) || function (thisArg, body) {
|
42
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
43
|
-
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
44
|
-
function verb(n) { return function (v) { return step([n, v]); }; }
|
45
|
-
function step(op) {
|
46
|
-
if (f) throw new TypeError("Generator is already executing.");
|
47
|
-
while (_) try {
|
48
|
-
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
49
|
-
if (y = 0, t) op = [op[0] & 2, t.value];
|
50
|
-
switch (op[0]) {
|
51
|
-
case 0: case 1: t = op; break;
|
52
|
-
case 4: _.label++; return { value: op[1], done: false };
|
53
|
-
case 5: _.label++; y = op[1]; op = [0]; continue;
|
54
|
-
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
55
|
-
default:
|
56
|
-
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
57
|
-
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
58
|
-
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
59
|
-
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
60
|
-
if (t[2]) _.ops.pop();
|
61
|
-
_.trys.pop(); continue;
|
62
|
-
}
|
63
|
-
op = body.call(thisArg, _);
|
64
|
-
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
65
|
-
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
66
|
-
}
|
67
|
-
};
|
68
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
69
|
-
exports.OrgManagementClient = void 0;
|
70
|
-
var utils_1 = __importStar(require("../utils"));
|
71
|
-
var graphqlapi_1 = require("../graphqlapi");
|
72
|
-
/**
|
73
|
-
* @class OrgManagementClient 管理组织机构
|
74
|
-
* @description 一个 Authing 用户池可以创建多个组织机构。此模块用于管理 Authing 组织机构,可以进行组织机构的增删改查、添加删除移动节点、导入组织机构等操作。
|
75
|
-
*
|
76
|
-
* @example
|
77
|
-
*
|
78
|
-
* 请使用以下方式使用该模块:
|
79
|
-
* \`\`\`javascript
|
80
|
-
* import { ManagementClient } from "authing-js-sdk"
|
81
|
-
* const managementClient = new ManagementClient({
|
82
|
-
* userPoolId: "YOUR_USERPOOL_ID",
|
83
|
-
* secret: "YOUR_USERPOOL_SECRET",
|
84
|
-
* })
|
85
|
-
* managementClient.org.list // 获取用户池组织机构列表
|
86
|
-
* managementClient.org.moveNode // 获取组织机构详情
|
87
|
-
* managementClient.org.listMembers // 获取节点用户列表
|
88
|
-
* \`\`\`
|
89
|
-
*
|
90
|
-
* @name OrgManagementClient
|
91
|
-
*/
|
92
|
-
var OrgManagementClient = /** @class */ (function () {
|
93
|
-
function OrgManagementClient(options, graphqlClient, httpClient, tokenProvider) {
|
94
|
-
this.options = options;
|
95
|
-
this.httpClient = httpClient;
|
96
|
-
this.graphqlClient = graphqlClient;
|
97
|
-
this.tokenProvider = tokenProvider;
|
98
|
-
}
|
99
|
-
OrgManagementClient.prototype.buildTree = function (org) {
|
100
|
-
org.tree = utils_1.default(JSON.parse(JSON.stringify(org.nodes)));
|
101
|
-
return org;
|
102
|
-
};
|
103
|
-
/**
|
104
|
-
* @name create
|
105
|
-
* @name_zh 创建组织机构
|
106
|
-
* @description 创建组织机构,会创建一个只有一个节点的组织机构。
|
107
|
-
* 如果你想将一个完整的组织树导入进来,请使用 importByJson 方法。
|
108
|
-
*
|
109
|
-
* @param {string} name 组织机构名称,该名称会作为该组织机构根节点的名称。
|
110
|
-
* @param {string} [description] 根节点描述
|
111
|
-
* @param {string} [code] 根节点唯一标志,必须为合法的英文字符。
|
112
|
-
*
|
113
|
-
* @example
|
114
|
-
*
|
115
|
-
* const org = await managementClient.org.create('北京非凡科技', '北京非凡科技有限公司', 'feifan');
|
116
|
-
*
|
117
|
-
* @memberof OrgManagementClient
|
118
|
-
*/
|
119
|
-
OrgManagementClient.prototype.create = function (name, description, code) {
|
120
|
-
return __awaiter(this, void 0, void 0, function () {
|
121
|
-
var org;
|
122
|
-
return __generator(this, function (_a) {
|
123
|
-
switch (_a.label) {
|
124
|
-
case 0: return [4 /*yield*/, graphqlapi_1.createOrg(this.graphqlClient, this.tokenProvider, {
|
125
|
-
name: name,
|
126
|
-
description: description,
|
127
|
-
code: code
|
128
|
-
})];
|
129
|
-
case 1:
|
130
|
-
org = (_a.sent()).createOrg;
|
131
|
-
return [2 /*return*/, org];
|
132
|
-
}
|
133
|
-
});
|
134
|
-
});
|
135
|
-
};
|
136
|
-
/**
|
137
|
-
* @name deleteById
|
138
|
-
* @name_zh 删除组织机构
|
139
|
-
* @description 删除组织机构树
|
140
|
-
* @param {string} id 组织机构 ID
|
141
|
-
*
|
142
|
-
* @returns {Promise<CommonMessage>}
|
143
|
-
* @memberof OrgManagementClient
|
144
|
-
*/
|
145
|
-
OrgManagementClient.prototype.deleteById = function (id) {
|
146
|
-
return __awaiter(this, void 0, void 0, function () {
|
147
|
-
var res;
|
148
|
-
return __generator(this, function (_a) {
|
149
|
-
switch (_a.label) {
|
150
|
-
case 0: return [4 /*yield*/, graphqlapi_1.deleteOrg(this.graphqlClient, this.tokenProvider, {
|
151
|
-
id: id
|
152
|
-
})];
|
153
|
-
case 1:
|
154
|
-
res = _a.sent();
|
155
|
-
return [2 /*return*/, res.deleteOrg];
|
156
|
-
}
|
157
|
-
});
|
158
|
-
});
|
159
|
-
};
|
160
|
-
/**
|
161
|
-
* @name list
|
162
|
-
* @name_zh 获取用户池组织机构列表
|
163
|
-
* @description 获取用户池组织机构列表
|
164
|
-
*
|
165
|
-
* @param {number} [page=1]
|
166
|
-
* @param {number} [limit=10]
|
167
|
-
*
|
168
|
-
* @example
|
169
|
-
*
|
170
|
-
* const { totalCount, list } = await managementClient.org.list()
|
171
|
-
*
|
172
|
-
* @returns
|
173
|
-
* @memberof OrgManagementClient
|
174
|
-
*/
|
175
|
-
OrgManagementClient.prototype.list = function (page, limit) {
|
176
|
-
if (page === void 0) { page = 1; }
|
177
|
-
if (limit === void 0) { limit = 10; }
|
178
|
-
return __awaiter(this, void 0, void 0, function () {
|
179
|
-
var _a, list, totalCount;
|
180
|
-
var _this = this;
|
181
|
-
return __generator(this, function (_b) {
|
182
|
-
switch (_b.label) {
|
183
|
-
case 0: return [4 /*yield*/, graphqlapi_1.orgs(this.graphqlClient, this.tokenProvider, {
|
184
|
-
page: page,
|
185
|
-
limit: limit
|
186
|
-
})];
|
187
|
-
case 1:
|
188
|
-
_a = (_b.sent()).orgs, list = _a.list, totalCount = _a.totalCount;
|
189
|
-
return [2 /*return*/, {
|
190
|
-
totalCount: totalCount,
|
191
|
-
list: list.map(function (org) { return _this.buildTree(org); })
|
192
|
-
}];
|
193
|
-
}
|
194
|
-
});
|
195
|
-
});
|
196
|
-
};
|
197
|
-
/**
|
198
|
-
* @name addNode
|
199
|
-
* @name_zh 添加节点
|
200
|
-
* @description 在组织机构中添加一个节点
|
201
|
-
*
|
202
|
-
* @param {string} orgId 组织机构 ID
|
203
|
-
* @param {string} parentNodeId 父节点 ID
|
204
|
-
* @param {Object} data 节点数据
|
205
|
-
* @param {string} data.name 节点名称
|
206
|
-
* @param {string} [data.code] 节点唯一标志
|
207
|
-
* @param {string} [data.description] 节点描述信息
|
208
|
-
*
|
209
|
-
* @example
|
210
|
-
*
|
211
|
-
* const org = await managementClient.org.create('北京非凡科技', '北京非凡科技有限公司', 'feifan');
|
212
|
-
* const { id: orgId, rootNode } = org
|
213
|
-
* const newOrg = await managementClient.org.addNode(orgId, rootNode.id, { name: '运营部门' })
|
214
|
-
*
|
215
|
-
* // newOrg.nodes.length 现在为 2
|
216
|
-
*
|
217
|
-
* @returns {Promise<Node>}
|
218
|
-
* @memberof OrgManagementClient
|
219
|
-
*/
|
220
|
-
OrgManagementClient.prototype.addNode = function (orgId, parentNodeId, data) {
|
221
|
-
return __awaiter(this, void 0, void 0, function () {
|
222
|
-
var name, code, order, nameI18n, description, descriptionI18n, node;
|
223
|
-
return __generator(this, function (_a) {
|
224
|
-
switch (_a.label) {
|
225
|
-
case 0:
|
226
|
-
name = data.name, code = data.code, order = data.order, nameI18n = data.nameI18n, description = data.description, descriptionI18n = data.descriptionI18n;
|
227
|
-
return [4 /*yield*/, graphqlapi_1.addNode(this.graphqlClient, this.tokenProvider, {
|
228
|
-
orgId: orgId,
|
229
|
-
parentNodeId: parentNodeId,
|
230
|
-
name: name,
|
231
|
-
code: code,
|
232
|
-
order: order,
|
233
|
-
nameI18n: nameI18n,
|
234
|
-
description: description,
|
235
|
-
descriptionI18n: descriptionI18n
|
236
|
-
})];
|
237
|
-
case 1:
|
238
|
-
node = (_a.sent()).addNodeV2;
|
239
|
-
return [2 /*return*/, node];
|
240
|
-
}
|
241
|
-
});
|
242
|
-
});
|
243
|
-
};
|
244
|
-
/**
|
245
|
-
* @name getNodeById
|
246
|
-
* @name_zh 获取某个节点详情
|
247
|
-
* @description 获取某个节点详情
|
248
|
-
*
|
249
|
-
* @param {string} nodeId 节点 ID
|
250
|
-
*
|
251
|
-
* @example
|
252
|
-
*
|
253
|
-
* const node = await managementClient.org.getNodeById('NODE_ID');
|
254
|
-
*
|
255
|
-
* // newOrg.nodes.length 现在为 2
|
256
|
-
*
|
257
|
-
* @returns {Promise<Node>}
|
258
|
-
* @memberof OrgManagementClient
|
259
|
-
*/
|
260
|
-
OrgManagementClient.prototype.getNodeById = function (nodeId) {
|
261
|
-
return __awaiter(this, void 0, void 0, function () {
|
262
|
-
var node;
|
263
|
-
return __generator(this, function (_a) {
|
264
|
-
switch (_a.label) {
|
265
|
-
case 0: return [4 /*yield*/, graphqlapi_1.nodeById(this.graphqlClient, this.tokenProvider, {
|
266
|
-
id: nodeId
|
267
|
-
})];
|
268
|
-
case 1:
|
269
|
-
node = (_a.sent()).nodeById;
|
270
|
-
return [2 /*return*/, node];
|
271
|
-
}
|
272
|
-
});
|
273
|
-
});
|
274
|
-
};
|
275
|
-
/**
|
276
|
-
* @name updateNode
|
277
|
-
* @name_zh 修改节点
|
278
|
-
* @description 修改节点数据
|
279
|
-
*
|
280
|
-
* @param {string} id 节点 ID
|
281
|
-
* @param {Object} updates 修改数据
|
282
|
-
* @param {string} [updates.name] 节点名称
|
283
|
-
* @param {string} [updates.code] 节点唯一标志
|
284
|
-
* @param {string} [updates.description] 节点描述信息
|
285
|
-
*
|
286
|
-
* @example
|
287
|
-
*
|
288
|
-
* await managementClient.org.updateNode("NDOEID", {
|
289
|
-
* name: '新的节点名称'
|
290
|
-
* })
|
291
|
-
*
|
292
|
-
* @returns {Promise<Org>}
|
293
|
-
* @memberof OrgManagementClient
|
294
|
-
*/
|
295
|
-
OrgManagementClient.prototype.updateNode = function (id, updates) {
|
296
|
-
return __awaiter(this, void 0, void 0, function () {
|
297
|
-
var name, code, description, node;
|
298
|
-
return __generator(this, function (_a) {
|
299
|
-
switch (_a.label) {
|
300
|
-
case 0:
|
301
|
-
name = updates.name, code = updates.code, description = updates.description;
|
302
|
-
return [4 /*yield*/, graphqlapi_1.updateNode(this.graphqlClient, this.tokenProvider, {
|
303
|
-
id: id,
|
304
|
-
name: name,
|
305
|
-
code: code,
|
306
|
-
description: description
|
307
|
-
})];
|
308
|
-
case 1:
|
309
|
-
node = (_a.sent()).updateNode;
|
310
|
-
return [2 /*return*/, node];
|
311
|
-
}
|
312
|
-
});
|
313
|
-
});
|
314
|
-
};
|
315
|
-
/**
|
316
|
-
* @name findById
|
317
|
-
* @name_zh 获取组织机构详情
|
318
|
-
* @description 通过组织机构 ID 获取组织机构详情
|
319
|
-
*
|
320
|
-
* @param {string} id 组织机构 ID
|
321
|
-
*
|
322
|
-
* @returns {Promise<Org>}
|
323
|
-
* @memberof OrgManagementClient
|
324
|
-
*/
|
325
|
-
OrgManagementClient.prototype.findById = function (id) {
|
326
|
-
return __awaiter(this, void 0, void 0, function () {
|
327
|
-
var data;
|
328
|
-
return __generator(this, function (_a) {
|
329
|
-
switch (_a.label) {
|
330
|
-
case 0: return [4 /*yield*/, graphqlapi_1.org(this.graphqlClient, this.tokenProvider, {
|
331
|
-
id: id
|
332
|
-
})];
|
333
|
-
case 1:
|
334
|
-
data = (_a.sent()).org;
|
335
|
-
return [2 /*return*/, this.buildTree(data)];
|
336
|
-
}
|
337
|
-
});
|
338
|
-
});
|
339
|
-
};
|
340
|
-
/**
|
341
|
-
* @name deleteNode
|
342
|
-
* @name_zh 删除节点
|
343
|
-
* @description 删除组织机构树中的某一个节点
|
344
|
-
*
|
345
|
-
* @param {string} orgId 组织机构 ID
|
346
|
-
* @param {string} nodeId 节点 ID
|
347
|
-
*
|
348
|
-
* @returns {Promise<CommonMessage>}
|
349
|
-
* @memberof OrgManagementClient
|
350
|
-
*/
|
351
|
-
OrgManagementClient.prototype.deleteNode = function (orgId, nodeId) {
|
352
|
-
return __awaiter(this, void 0, void 0, function () {
|
353
|
-
var data;
|
354
|
-
return __generator(this, function (_a) {
|
355
|
-
switch (_a.label) {
|
356
|
-
case 0: return [4 /*yield*/, graphqlapi_1.deleteNode(this.graphqlClient, this.tokenProvider, {
|
357
|
-
orgId: orgId,
|
358
|
-
nodeId: nodeId
|
359
|
-
})];
|
360
|
-
case 1:
|
361
|
-
data = (_a.sent()).deleteNode;
|
362
|
-
return [2 /*return*/, data];
|
363
|
-
}
|
364
|
-
});
|
365
|
-
});
|
366
|
-
};
|
367
|
-
/**
|
368
|
-
* @name moveNode 移动节点
|
369
|
-
* @name_zh 移动节点
|
370
|
-
* @description 移动组织机构节点,移动某节点时需要指定该节点新的父节点。注意不能将一个节点移动到自己的子节点下面。
|
371
|
-
*
|
372
|
-
* @param {string} orgId 组织机构 ID
|
373
|
-
* @param {string} nodeId 需要移动的节点 ID
|
374
|
-
* @param {string} targetParentId 目标父节点 ID
|
375
|
-
*
|
376
|
-
* @example
|
377
|
-
*
|
378
|
-
* await managementClient.org.moveNode("ORGID", "NODEID", "TRAGET_NODE_ID")
|
379
|
-
*
|
380
|
-
* @returns {Promise<Org>} 最新的树结构
|
381
|
-
* @memberof OrgManagementClient
|
382
|
-
*
|
383
|
-
*/
|
384
|
-
OrgManagementClient.prototype.moveNode = function (orgId, nodeId, targetParentId) {
|
385
|
-
return __awaiter(this, void 0, void 0, function () {
|
386
|
-
var org;
|
387
|
-
return __generator(this, function (_a) {
|
388
|
-
switch (_a.label) {
|
389
|
-
case 0: return [4 /*yield*/, graphqlapi_1.moveNode(this.graphqlClient, this.tokenProvider, {
|
390
|
-
orgId: orgId,
|
391
|
-
nodeId: nodeId,
|
392
|
-
targetParentId: targetParentId
|
393
|
-
})];
|
394
|
-
case 1:
|
395
|
-
org = (_a.sent()).moveNode;
|
396
|
-
return [2 /*return*/, this.buildTree(org)];
|
397
|
-
}
|
398
|
-
});
|
399
|
-
});
|
400
|
-
};
|
401
|
-
/**
|
402
|
-
* @name isRootNode
|
403
|
-
* @name_zh 判断是否为根节点
|
404
|
-
* @description 判断一个节点是不是组织树的根节点
|
405
|
-
*
|
406
|
-
* @param {string} orgId 组织机构 ID
|
407
|
-
* @param {string} nodeId 组织机构 ID
|
408
|
-
*
|
409
|
-
*
|
410
|
-
* @returns {Promise<boolean>}
|
411
|
-
* @memberof OrgManagementClient
|
412
|
-
*/
|
413
|
-
OrgManagementClient.prototype.isRootNode = function (orgId, nodeId) {
|
414
|
-
return __awaiter(this, void 0, void 0, function () {
|
415
|
-
var res;
|
416
|
-
return __generator(this, function (_a) {
|
417
|
-
switch (_a.label) {
|
418
|
-
case 0: return [4 /*yield*/, graphqlapi_1.isRootNode(this.graphqlClient, this.tokenProvider, {
|
419
|
-
orgId: orgId,
|
420
|
-
nodeId: nodeId
|
421
|
-
})];
|
422
|
-
case 1:
|
423
|
-
res = _a.sent();
|
424
|
-
return [2 /*return*/, res.isRootNode];
|
425
|
-
}
|
426
|
-
});
|
427
|
-
});
|
428
|
-
};
|
429
|
-
/**
|
430
|
-
* @name listChildren
|
431
|
-
* @name_zh 获取子节点列表
|
432
|
-
* @description 查询一个节点的子节点列表
|
433
|
-
*
|
434
|
-
* @param {string} orgId 组织机构 ID
|
435
|
-
* @param {string} nodeId 组织机构 ID
|
436
|
-
*
|
437
|
-
* @example
|
438
|
-
*
|
439
|
-
* // 子节点列表
|
440
|
-
* cosnt children = await managementClient.org.moveNode("ORGID", "NODEID")
|
441
|
-
*
|
442
|
-
*
|
443
|
-
* @returns {Promise<Node[]>}
|
444
|
-
* @memberof OrgManagementClient
|
445
|
-
*/
|
446
|
-
OrgManagementClient.prototype.listChildren = function (nodeId) {
|
447
|
-
return __awaiter(this, void 0, void 0, function () {
|
448
|
-
var res;
|
449
|
-
return __generator(this, function (_a) {
|
450
|
-
switch (_a.label) {
|
451
|
-
case 0: return [4 /*yield*/, graphqlapi_1.getChildrenNodes(this.graphqlClient, this.tokenProvider, {
|
452
|
-
nodeId: nodeId
|
453
|
-
})];
|
454
|
-
case 1:
|
455
|
-
res = _a.sent();
|
456
|
-
return [2 /*return*/, res.childrenNodes];
|
457
|
-
}
|
458
|
-
});
|
459
|
-
});
|
460
|
-
};
|
461
|
-
/**
|
462
|
-
* @name rootNode
|
463
|
-
* @name_zh 获取根节点
|
464
|
-
* @description 获取一个组织的根节点
|
465
|
-
*
|
466
|
-
* @param {string} orgId 组织机构 ID
|
467
|
-
*
|
468
|
-
* @example
|
469
|
-
*
|
470
|
-
* const rootNode = await managementClient.org.rootNode("ORGID")
|
471
|
-
*
|
472
|
-
* @returns {Promise<Node[]>}
|
473
|
-
* @memberof OrgManagementClient
|
474
|
-
*/
|
475
|
-
OrgManagementClient.prototype.rootNode = function (orgId) {
|
476
|
-
return __awaiter(this, void 0, void 0, function () {
|
477
|
-
var res;
|
478
|
-
return __generator(this, function (_a) {
|
479
|
-
switch (_a.label) {
|
480
|
-
case 0: return [4 /*yield*/, graphqlapi_1.rootNode(this.graphqlClient, this.tokenProvider, {
|
481
|
-
orgId: orgId
|
482
|
-
})];
|
483
|
-
case 1:
|
484
|
-
res = _a.sent();
|
485
|
-
return [2 /*return*/, res.rootNode];
|
486
|
-
}
|
487
|
-
});
|
488
|
-
});
|
489
|
-
};
|
490
|
-
/**
|
491
|
-
* @name importByJson
|
492
|
-
* @name_zh 通过 JSON 导入
|
493
|
-
* @description 通过一个 JSON 树结构导入组织机构
|
494
|
-
*
|
495
|
-
* @param {Object} json JSON 格式的树结构,详细格式请见示例代码。
|
496
|
-
*
|
497
|
-
* @example
|
498
|
-
*
|
499
|
-
* const tree = {
|
500
|
-
* name: '北京非凡科技有限公司',
|
501
|
-
* code: 'feifan',
|
502
|
-
* children: [
|
503
|
-
* {
|
504
|
-
* code: 'operation',
|
505
|
-
* name: '运营',
|
506
|
-
* description: '商业化部门'
|
507
|
-
* },
|
508
|
-
* {
|
509
|
-
* code: 'dev',
|
510
|
-
* name: '研发',
|
511
|
-
* description: '研发部门',
|
512
|
-
* children: [
|
513
|
-
* {
|
514
|
-
* code: 'backend',
|
515
|
-
* name: '后端',
|
516
|
-
* description: '后端研发部门'
|
517
|
-
* }
|
518
|
-
* ]
|
519
|
-
* }
|
520
|
-
* ]
|
521
|
-
* };
|
522
|
-
* const org = await managementClient.org.importByJson(tree);
|
523
|
-
*
|
524
|
-
* @returns {Promise<Node[]>}
|
525
|
-
* @memberof OrgManagementClient
|
526
|
-
*/
|
527
|
-
OrgManagementClient.prototype.importByJson = function (json) {
|
528
|
-
return __awaiter(this, void 0, void 0, function () {
|
529
|
-
var data;
|
530
|
-
return __generator(this, function (_a) {
|
531
|
-
switch (_a.label) {
|
532
|
-
case 0: return [4 /*yield*/, this.httpClient.request({
|
533
|
-
method: 'POST',
|
534
|
-
url: this.options.host + "/api/v2/orgs/import",
|
535
|
-
data: {
|
536
|
-
filetype: 'json',
|
537
|
-
file: json
|
538
|
-
}
|
539
|
-
})];
|
540
|
-
case 1:
|
541
|
-
data = _a.sent();
|
542
|
-
return [2 /*return*/, data];
|
543
|
-
}
|
544
|
-
});
|
545
|
-
});
|
546
|
-
};
|
547
|
-
/**
|
548
|
-
* @name addMembers
|
549
|
-
* @name_zh 添加成功
|
550
|
-
* @description 节点添加成员
|
551
|
-
*
|
552
|
-
* @param {string} nodeId 节点 ID
|
553
|
-
* @param {string[]} userIds 用户 ID 列表
|
554
|
-
*
|
555
|
-
* @returns {Promise<PaginatedUsers>}
|
556
|
-
* @memberof OrgManagementClient
|
557
|
-
*
|
558
|
-
*/
|
559
|
-
OrgManagementClient.prototype.addMembers = function (nodeId, userIds) {
|
560
|
-
return __awaiter(this, void 0, void 0, function () {
|
561
|
-
var data;
|
562
|
-
return __generator(this, function (_a) {
|
563
|
-
switch (_a.label) {
|
564
|
-
case 0: return [4 /*yield*/, graphqlapi_1.addMember(this.graphqlClient, this.tokenProvider, {
|
565
|
-
nodeId: nodeId,
|
566
|
-
userIds: userIds
|
567
|
-
})];
|
568
|
-
case 1:
|
569
|
-
data = (_a.sent()).addMember;
|
570
|
-
return [2 /*return*/, data.users];
|
571
|
-
}
|
572
|
-
});
|
573
|
-
});
|
574
|
-
};
|
575
|
-
OrgManagementClient.prototype.moveMembers = function (options) {
|
576
|
-
return __awaiter(this, void 0, void 0, function () {
|
577
|
-
return __generator(this, function (_a) {
|
578
|
-
switch (_a.label) {
|
579
|
-
case 0: return [4 /*yield*/, graphqlapi_1.moveMembers(this.graphqlClient, this.tokenProvider, options)];
|
580
|
-
case 1:
|
581
|
-
_a.sent();
|
582
|
-
return [2 /*return*/, true];
|
583
|
-
}
|
584
|
-
});
|
585
|
-
});
|
586
|
-
};
|
587
|
-
/**
|
588
|
-
* @name listMembers
|
589
|
-
* @name_zh 获取节点成员
|
590
|
-
* @description 获取节点成员,可以获取直接添加到该节点中的用户,也可以获取到该节点子节点的用户。
|
591
|
-
*
|
592
|
-
* @param {string} nodeId 节点 ID
|
593
|
-
* @param {Object} options 查询参数
|
594
|
-
* @param {number} [options.page=1]
|
595
|
-
* @param {number} [options.limit=10]
|
596
|
-
* @param {boolean} [options.includeChildrenNodes=false] 是否获取所有子节点的成员
|
597
|
-
*
|
598
|
-
*
|
599
|
-
* @returns {Promise<PaginatedUsers>}
|
600
|
-
* @memberof OrgManagementClient
|
601
|
-
*
|
602
|
-
*/
|
603
|
-
OrgManagementClient.prototype.listMembers = function (nodeId, options) {
|
604
|
-
return __awaiter(this, void 0, void 0, function () {
|
605
|
-
var nodeById;
|
606
|
-
return __generator(this, function (_a) {
|
607
|
-
switch (_a.label) {
|
608
|
-
case 0: return [4 /*yield*/, graphqlapi_1.getMembersById(this.graphqlClient, this.tokenProvider, __assign({ id: nodeId }, options))];
|
609
|
-
case 1:
|
610
|
-
nodeById = (_a.sent()).nodeById;
|
611
|
-
return [2 /*return*/, nodeById.users];
|
612
|
-
}
|
613
|
-
});
|
614
|
-
});
|
615
|
-
};
|
616
|
-
/**
|
617
|
-
* @name removeMembers
|
618
|
-
* @name_zh 删除成功
|
619
|
-
* @description 删除节点成员
|
620
|
-
*
|
621
|
-
* @param {string} nodeId 节点 ID
|
622
|
-
* @param {string[]} userIds 用户 ID 列表
|
623
|
-
*
|
624
|
-
* @returns {Promise<PaginatedUsers>}
|
625
|
-
* @memberof OrgManagementClient
|
626
|
-
*
|
627
|
-
*/
|
628
|
-
OrgManagementClient.prototype.removeMembers = function (nodeId, userIds) {
|
629
|
-
return __awaiter(this, void 0, void 0, function () {
|
630
|
-
var data;
|
631
|
-
return __generator(this, function (_a) {
|
632
|
-
switch (_a.label) {
|
633
|
-
case 0: return [4 /*yield*/, graphqlapi_1.removeMembers(this.graphqlClient, this.tokenProvider, {
|
634
|
-
nodeId: nodeId,
|
635
|
-
userIds: userIds
|
636
|
-
})];
|
637
|
-
case 1:
|
638
|
-
data = (_a.sent()).removeMember;
|
639
|
-
return [2 /*return*/, data.users];
|
640
|
-
}
|
641
|
-
});
|
642
|
-
});
|
643
|
-
};
|
644
|
-
/**
|
645
|
-
* @name setMainDepartment
|
646
|
-
* @name_zh 设置用户主部门
|
647
|
-
* @description 设置用户主部门
|
648
|
-
*
|
649
|
-
* @param {string} userId 用户 ID
|
650
|
-
* @param {string} departmentId 部门 ID
|
651
|
-
*
|
652
|
-
* @returns {Promise<PaginatedUsers>}
|
653
|
-
* @memberof OrgManagementClient
|
654
|
-
*
|
655
|
-
*/
|
656
|
-
OrgManagementClient.prototype.setMainDepartment = function (userId, departmentId) {
|
657
|
-
return __awaiter(this, void 0, void 0, function () {
|
658
|
-
var data;
|
659
|
-
return __generator(this, function (_a) {
|
660
|
-
switch (_a.label) {
|
661
|
-
case 0: return [4 /*yield*/, graphqlapi_1.setMainDepartment(this.graphqlClient, this.tokenProvider, {
|
662
|
-
userId: userId,
|
663
|
-
departmentId: departmentId
|
664
|
-
})];
|
665
|
-
case 1:
|
666
|
-
data = (_a.sent()).setMainDepartment;
|
667
|
-
return [2 /*return*/, data];
|
668
|
-
}
|
669
|
-
});
|
670
|
-
});
|
671
|
-
};
|
672
|
-
/**
|
673
|
-
* @description 导出所有组织机构
|
674
|
-
*/
|
675
|
-
OrgManagementClient.prototype.exportAll = function () {
|
676
|
-
return __awaiter(this, void 0, void 0, function () {
|
677
|
-
var data;
|
678
|
-
return __generator(this, function (_a) {
|
679
|
-
switch (_a.label) {
|
680
|
-
case 0: return [4 /*yield*/, this.httpClient.request({
|
681
|
-
method: 'GET',
|
682
|
-
url: this.options.host + "/api/v2/orgs/export"
|
683
|
-
})];
|
684
|
-
case 1:
|
685
|
-
data = _a.sent();
|
686
|
-
return [2 /*return*/, data];
|
687
|
-
}
|
688
|
-
});
|
689
|
-
});
|
690
|
-
};
|
691
|
-
/**
|
692
|
-
* @description 导出某个组织机构
|
693
|
-
*/
|
694
|
-
OrgManagementClient.prototype.exportByOrgId = function (orgId) {
|
695
|
-
return __awaiter(this, void 0, void 0, function () {
|
696
|
-
var data;
|
697
|
-
return __generator(this, function (_a) {
|
698
|
-
switch (_a.label) {
|
699
|
-
case 0: return [4 /*yield*/, this.httpClient.request({
|
700
|
-
method: 'GET',
|
701
|
-
url: this.options.host + "/api/v2/orgs/export?org_id=" + orgId
|
702
|
-
})];
|
703
|
-
case 1:
|
704
|
-
data = _a.sent();
|
705
|
-
return [2 /*return*/, data];
|
706
|
-
}
|
707
|
-
});
|
708
|
-
});
|
709
|
-
};
|
710
|
-
/**
|
711
|
-
* @description 获取组织机构节点被授权的所有资源
|
712
|
-
*
|
713
|
-
* @param nodeId: 分组 ID
|
714
|
-
* @param namespace: 权限组 namespace code
|
715
|
-
* @param options.resourceType 资源类型
|
716
|
-
*/
|
717
|
-
OrgManagementClient.prototype.listAuthorizedResourcesByNodeId = function (nodeId, namespace, options) {
|
718
|
-
return __awaiter(this, void 0, void 0, function () {
|
719
|
-
var resourceType, node, _a, list, totalCount;
|
720
|
-
return __generator(this, function (_b) {
|
721
|
-
switch (_b.label) {
|
722
|
-
case 0:
|
723
|
-
resourceType = (options || {}).resourceType;
|
724
|
-
return [4 /*yield*/, graphqlapi_1.listNodeByIdAuthorizedResources(this.graphqlClient, this.tokenProvider, {
|
725
|
-
id: nodeId,
|
726
|
-
namespace: namespace,
|
727
|
-
resourceType: resourceType
|
728
|
-
})];
|
729
|
-
case 1:
|
730
|
-
node = (_b.sent()).nodeById;
|
731
|
-
if (!node) {
|
732
|
-
throw new Error('组织机构节点不存在');
|
733
|
-
}
|
734
|
-
_a = node.authorizedResources, list = _a.list, totalCount = _a.totalCount;
|
735
|
-
list = utils_1.formatAuthorizedResources(list);
|
736
|
-
return [2 /*return*/, {
|
737
|
-
list: list,
|
738
|
-
totalCount: totalCount
|
739
|
-
}];
|
740
|
-
}
|
741
|
-
});
|
742
|
-
});
|
743
|
-
};
|
744
|
-
/**
|
745
|
-
* @description 获取组织机构节点被授权的所有资源
|
746
|
-
*
|
747
|
-
* @param orgId: 组织机构 ID;
|
748
|
-
* @param code: 节点 code
|
749
|
-
* @param namespace: 权限组 namespace code
|
750
|
-
* @param options.resourceType 资源类型
|
751
|
-
*/
|
752
|
-
OrgManagementClient.prototype.listAuthorizedResourcesByNodeCode = function (orgId, code, namespace, options) {
|
753
|
-
return __awaiter(this, void 0, void 0, function () {
|
754
|
-
var resourceType, node, _a, list, totalCount;
|
755
|
-
return __generator(this, function (_b) {
|
756
|
-
switch (_b.label) {
|
757
|
-
case 0:
|
758
|
-
resourceType = (options || {}).resourceType;
|
759
|
-
return [4 /*yield*/, graphqlapi_1.listNodeByCodeAuthorizedResources(this.graphqlClient, this.tokenProvider, {
|
760
|
-
orgId: orgId,
|
761
|
-
code: code,
|
762
|
-
namespace: namespace,
|
763
|
-
resourceType: resourceType
|
764
|
-
})];
|
765
|
-
case 1:
|
766
|
-
node = (_b.sent()).nodeByCode;
|
767
|
-
if (!node) {
|
768
|
-
throw new Error('组织机构节点不存在');
|
769
|
-
}
|
770
|
-
_a = node.authorizedResources, list = _a.list, totalCount = _a.totalCount;
|
771
|
-
list = utils_1.formatAuthorizedResources(list);
|
772
|
-
return [2 /*return*/, {
|
773
|
-
list: list,
|
774
|
-
totalCount: totalCount
|
775
|
-
}];
|
776
|
-
}
|
777
|
-
});
|
778
|
-
});
|
779
|
-
};
|
780
|
-
OrgManagementClient.prototype.startSync = function (options) {
|
781
|
-
return __awaiter(this, void 0, void 0, function () {
|
782
|
-
var providerType, adConnectorId, url, body;
|
783
|
-
return __generator(this, function (_a) {
|
784
|
-
switch (_a.label) {
|
785
|
-
case 0:
|
786
|
-
providerType = options.providerType, adConnectorId = options.adConnectorId;
|
787
|
-
url = '';
|
788
|
-
body = {};
|
789
|
-
if (providerType === 'wechatwork') {
|
790
|
-
url = this.options.host + "/connections/enterprise/wechatwork/start-sync";
|
791
|
-
}
|
792
|
-
else if (providerType === 'dingtalk') {
|
793
|
-
url = this.options.host + "/connections/enterprise/dingtalk/start-sync";
|
794
|
-
}
|
795
|
-
else if (providerType === 'ad') {
|
796
|
-
if (!adConnectorId) {
|
797
|
-
throw new Error('must provider adConnectorId');
|
798
|
-
}
|
799
|
-
url = this.options.host + "/api/v2/ad/sync";
|
800
|
-
body = {
|
801
|
-
connectionId: adConnectorId
|
802
|
-
};
|
803
|
-
}
|
804
|
-
return [4 /*yield*/, this.httpClient.request({
|
805
|
-
method: 'POST',
|
806
|
-
url: url,
|
807
|
-
data: body
|
808
|
-
})];
|
809
|
-
case 1:
|
810
|
-
_a.sent();
|
811
|
-
return [2 /*return*/, true];
|
812
|
-
}
|
813
|
-
});
|
814
|
-
});
|
815
|
-
};
|
816
|
-
/**
|
817
|
-
* @description 搜索组织机构节点
|
818
|
-
*
|
819
|
-
* @param keyword 查询关键词
|
820
|
-
* @returns
|
821
|
-
*/
|
822
|
-
OrgManagementClient.prototype.searchNodes = function (keyword) {
|
823
|
-
return __awaiter(this, void 0, void 0, function () {
|
824
|
-
var data;
|
825
|
-
return __generator(this, function (_a) {
|
826
|
-
switch (_a.label) {
|
827
|
-
case 0: return [4 /*yield*/, graphqlapi_1.searchNodes(this.graphqlClient, this.tokenProvider, {
|
828
|
-
keyword: keyword
|
829
|
-
})];
|
830
|
-
case 1:
|
831
|
-
data = (_a.sent()).searchNodes;
|
832
|
-
return [2 /*return*/, data];
|
833
|
-
}
|
834
|
-
});
|
835
|
-
});
|
836
|
-
};
|
837
|
-
return OrgManagementClient;
|
838
|
-
}());
|
839
|
-
exports.OrgManagementClient = OrgManagementClient;
|
840
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiT3JnTWFuYWdlbWVudENsaWVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9saWIvbWFuYWdlbWVudC9PcmdNYW5hZ2VtZW50Q2xpZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OztBQUdBLGdEQUFnRTtBQUNoRSw0Q0FxQnVCO0FBV3ZCOzs7Ozs7Ozs7Ozs7Ozs7Ozs7O0dBbUJHO0FBQ0g7SUFNRSw2QkFDRSxPQUFnQyxFQUNoQyxhQUE0QixFQUM1QixVQUFzQixFQUN0QixhQUFzQztRQUV0QyxJQUFJLENBQUMsT0FBTyxHQUFHLE9BQU8sQ0FBQztRQUN2QixJQUFJLENBQUMsVUFBVSxHQUFHLFVBQVUsQ0FBQztRQUM3QixJQUFJLENBQUMsYUFBYSxHQUFHLGFBQWEsQ0FBQztRQUNuQyxJQUFJLENBQUMsYUFBYSxHQUFHLGFBQWEsQ0FBQztJQUNyQyxDQUFDO0lBRU8sdUNBQVMsR0FBakI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