Commit de762e9 1 parent 805843e commit de762e9 Copy full SHA for de762e9
File tree 3 files changed +15
-0
lines changed
3 files changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -65,6 +65,7 @@ service Puppet {
65
65
66
66
rpc ContactAlias (puppet .ContactAliasRequest ) returns (puppet .ContactAliasResponse ) {}
67
67
rpc ContactAvatar (puppet .ContactAvatarRequest ) returns (puppet .ContactAvatarResponse ) {}
68
+ rpc ContactPhone (puppet .ContactPhoneRequest ) returns (puppet .ContactPhoneResponse ) {}
68
69
69
70
rpc ContactList (puppet .ContactListRequest ) returns (puppet .ContactListResponse ) {}
70
71
Original file line number Diff line number Diff line change @@ -75,3 +75,11 @@ message ContactAvatarResponse {
75
75
google.protobuf.StringValue filebox = 1 ;
76
76
}
77
77
78
+ message ContactPhoneRequest {
79
+ string contact_id = 1 ;
80
+ repeated string phone_list = 2 ;
81
+ }
82
+
83
+ message ContactPhoneResponse {
84
+ repeated string phone_list = 2 ;
85
+ }
Original file line number Diff line number Diff line change @@ -31,6 +31,12 @@ export const puppetServerImpl: IPuppetServer = {
31
31
throw new Error ( 'not implmented.' )
32
32
} ,
33
33
34
+ contactPhone : ( call , callback ) => {
35
+ void call
36
+ void callback
37
+ throw new Error ( 'not implemented.' )
38
+ } ,
39
+
34
40
contactSelfName : ( call , callback ) => {
35
41
void call
36
42
void callback
You can’t perform that action at this time.
0 commit comments