This repository has been archived by the owner on Oct 2, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
40 changed files
with
1,100 additions
and
65 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
syntax = "proto3"; | ||
package proto; | ||
import "Request.proto"; | ||
import "Response.proto"; | ||
|
||
option java_package = "net.iGap.proto"; | ||
option java_outer_classname = "ProtoBillInquiryMci"; | ||
|
||
message BillInquiryMci { | ||
Request request = 1; | ||
uint64 mobile_number = 2; | ||
} | ||
|
||
message BillInquiryMciResponse { | ||
Response response = 1; | ||
uint32 status = 2; | ||
string message = 3; | ||
|
||
message BillInfo { | ||
uint32 status = 1; | ||
uint64 bill_id = 2; | ||
uint64 pay_id = 3; | ||
uint64 amount = 4; | ||
string message = 5; | ||
} | ||
|
||
BillInfo mid_term = 4; | ||
BillInfo last_term = 5; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
syntax = "proto3"; | ||
package proto; | ||
import "Request.proto"; | ||
import "Response.proto"; | ||
|
||
option java_package = "net.iGap.proto"; | ||
option java_outer_classname = "ProtoBillInquiryTelecom"; | ||
|
||
message BillInquiryTelecom { | ||
Request request = 1; | ||
uint32 province_code = 2; | ||
uint64 telephone_number = 3; | ||
} | ||
|
||
message BillInquiryTelecomResponse { | ||
Response response = 1; | ||
uint32 status = 2; | ||
string message = 3; | ||
|
||
message BillInfo { | ||
uint64 bill_id = 1; | ||
uint64 pay_id = 2; | ||
uint64 amount = 3; | ||
} | ||
|
||
BillInfo mid_term = 4; | ||
BillInfo last_term = 5; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
syntax = "proto3"; | ||
package proto; | ||
import "Request.proto"; | ||
import "Response.proto"; | ||
import "Global.proto"; | ||
|
||
option java_package = "net.iGap.proto"; | ||
option java_outer_classname = "ProtoChannelPinMessage"; | ||
|
||
message ChannelPinMessage { | ||
Request request = 1; | ||
uint64 room_id = 2; | ||
uint64 message_id = 3; | ||
} | ||
|
||
message ChannelPinMessageResponse { | ||
Response response = 1; | ||
uint64 room_id = 2; | ||
RoomMessage pinned_message = 3; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
syntax = "proto3"; | ||
package proto; | ||
import "Request.proto"; | ||
import "Response.proto"; | ||
|
||
option java_package = "net.iGap.proto"; | ||
option java_outer_classname = "ProtoChannelUpdateReactionStatus"; | ||
|
||
message ChannelUpdateReactionStatus { | ||
Request request = 1; | ||
uint64 room_id = 2; | ||
bool reaction_status = 3; | ||
} | ||
|
||
message ChannelUpdateReactionStatusResponse { | ||
Response response = 1; | ||
uint64 room_id = 2; | ||
bool reaction_status = 3; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
syntax = "proto3"; | ||
package proto; | ||
import "Request.proto"; | ||
import "Response.proto"; | ||
|
||
option java_package = "net.iGap.proto"; | ||
option java_outer_classname = "ProtoClientRegisterDevice"; | ||
|
||
message ClientRegisterDevice { | ||
Request request = 1; | ||
string token = 2; | ||
|
||
enum Type { | ||
GENERIC = 0; | ||
ANDROID = 1; | ||
IOS = 2; | ||
WEB = 3; | ||
} | ||
Type type = 3; | ||
} | ||
|
||
message ClientRegisterDeviceResponse { | ||
Response response = 1; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
syntax = "proto3"; | ||
package proto; | ||
import "Request.proto"; | ||
import "Response.proto"; | ||
import "Global.proto"; | ||
|
||
option java_package = "net.iGap.proto"; | ||
option java_outer_classname = "ProtoGroupPinMessage"; | ||
|
||
message GroupPinMessage { | ||
Request request = 1; | ||
uint64 room_id = 2; | ||
uint64 message_id = 3; | ||
} | ||
|
||
message GroupPinMessageResponse { | ||
Response response = 1; | ||
uint64 room_id = 2; | ||
RoomMessage pinned_message = 3; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
syntax = "proto3"; | ||
package proto; | ||
import "Request.proto"; | ||
import "Response.proto"; | ||
|
||
option java_package = "net.iGap.proto"; | ||
option java_outer_classname = "ProtoMplGetBillToken"; | ||
|
||
message MplGetBillToken { | ||
Request request = 1; | ||
uint64 bill_id = 2; | ||
uint64 pay_id = 3; | ||
} | ||
|
||
message MplGetBillTokenResponse { | ||
Response response = 1; | ||
uint32 status = 2; | ||
string token = 3; | ||
uint32 expire_time = 4; | ||
string message = 5; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
syntax = "proto3"; | ||
package proto; | ||
import "Request.proto"; | ||
import "Response.proto"; | ||
|
||
option java_package = "net.iGap.proto"; | ||
option java_outer_classname = "ProtoMplGetTopupToken"; | ||
|
||
message MplGetTopupToken { | ||
Request request = 1; | ||
uint64 charge_mobile_number = 2; | ||
uint64 amount = 3; | ||
|
||
enum Type { | ||
IRANCELL_PREPAID = 0; | ||
IRANCELL_WOW = 1; | ||
IRANCELL_WIMAX = 2; | ||
IRANCELL_POSTPAID = 3; | ||
MCI = 4; | ||
RIGHTEL = 5; | ||
} | ||
Type type = 4; | ||
} | ||
|
||
message MplGetTopupTokenResponse { | ||
Response response = 1; | ||
uint32 status = 2; | ||
string token = 3; | ||
uint32 expire_time = 4; | ||
string message = 5; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
syntax = "proto3"; | ||
package proto; | ||
import "Response.proto"; | ||
|
||
option java_package = "net.iGap.proto"; | ||
option java_outer_classname = "ProtoPushWalletPaymentVerified"; | ||
|
||
message PushWalletPaymentVerifiedResponse { | ||
Response response = 1; | ||
string token = 2; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
syntax = "proto3"; | ||
package proto; | ||
import "Request.proto"; | ||
import "Response.proto"; | ||
|
||
option java_package = "net.iGap.proto"; | ||
option java_outer_classname = "ProtoWalletGetAccessToken"; | ||
|
||
message WalletGetAccessToken { | ||
Request request = 1; | ||
} | ||
|
||
message WalletGetAccessTokenResponse { | ||
Response response = 1; | ||
|
||
enum TokenType { | ||
BEARER = 0; | ||
} | ||
TokenType token_type = 2; | ||
|
||
string access_token = 3; | ||
uint32 expires_in = 4; | ||
} |
Oops, something went wrong.