include "./structs.thrift" include "./exceptions.thrift" namespace go biz.core service CoreService { // oneway void asd() structs.LoginResponse login( 1: structs.LoginRequest request ) throws (1: exceptions.CoreServicesException e) //@authenticated structs.GetProfileResponse getProfile( 1: structs.GetProfileRequest request ) throws (1: exceptions.CoreServicesException e) //@authenticated structs.LogoutResponse logout( 1: structs.LogoutRequest request ) throws (1: exceptions.CoreServicesException e) //@authenticated //@role(Admin) // Get list of users registered in system structs.GetUserListResponse getUserList( 1: structs.GetUserListRequest request ) throws (1: exceptions.CoreServicesException e) //@authenticated //@role(Admin) structs.CreateUserResponse createUser( 1: structs.CreateUserRequest request ) throws (1: exceptions.CoreServicesException e) //@authenticated //@role(Admin) structs.DeleteUsersResponse deleteUsers( 1: structs.DeleteUsersRequest request, ) throws (1: exceptions.CoreServicesException e) //@authenticated //@role(All) // Get list of accessible WajibPajak by OWNED|ROLE structs.GetWajibPajakListResponse getWajibPajakList( 1: structs.GetWajibPajakListRequest request ) throws (1: exceptions.CoreServicesException e) //@authenticated //@role(All) // Create WajibPajak structs.CreateWajibPajakResponse createWajibPajak( 1: structs.CreateWajibPajakRequest request ) throws (1: exceptions.CoreServicesException e) //@authenticated //@role(All) structs.DeleteWajibpajakListResponse deleteWajibPajakList( 1: structs.DeleteWajibpajakListRequest request ) throws (1: exceptions.CoreServicesException e) }