import { RestoreCommerceGrpcClient } from '@restorecommerce/rc-grpc-clients';
import { UserServiceDefinition } from '@restorecommerce/rc-grpc-clients/dist/generated/io/restorecommerce/user.js';
import { RoleServiceDefinition } from '@restorecommerce/rc-grpc-clients/dist/generated/io/restorecommerce/role.js';
import { AuthenticationLogServiceDefinition } from '@restorecommerce/rc-grpc-clients/dist/generated/io/restorecommerce/authentication_log.js';
import { TokenServiceDefinition } from '@restorecommerce/rc-grpc-clients/dist/generated/io/restorecommerce/token.js';
import { OAuthServiceDefinition } from '@restorecommerce/rc-grpc-clients/dist/generated/io/restorecommerce/oauth.js';
export class IdentitySrvGrpcClient extends RestoreCommerceGrpcClient {
    user;
    role;
    authentication_log;
    token;
    o_auth;
    constructor(address, cfg) {
        super(address, cfg);
        this.user = this.createClient(cfg, UserServiceDefinition, this.channel);
        this.role = this.createClient(cfg, RoleServiceDefinition, this.channel);
        this.authentication_log = this.createClient(cfg, AuthenticationLogServiceDefinition, this.channel);
        this.token = this.createClient(cfg, TokenServiceDefinition, this.channel);
        this.o_auth = this.createClient(cfg, OAuthServiceDefinition, this.channel);
    }
}
//# sourceMappingURL=index.js.map