jr-common-micro 1.1.15 → 1.1.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -390,4 +390,74 @@ message VipUserAdminUpdateRequest {
|
|
|
390
390
|
optional string gender = 9;
|
|
391
391
|
optional bool telegram_joined = 10;
|
|
392
392
|
optional string notes = 11;
|
|
393
|
+
}
|
|
394
|
+
|
|
395
|
+
message UserRefsByUserIdRequest {
|
|
396
|
+
int32 user_id = 1;
|
|
397
|
+
}
|
|
398
|
+
|
|
399
|
+
message UserRefsByUserIdResponse {
|
|
400
|
+
ResponseStatus status = 1;
|
|
401
|
+
repeated UserRefAdminDto data = 2;
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
message UserRefUpdateByUserIdRequest {
|
|
405
|
+
int32 user_id = 1;
|
|
406
|
+
string exchange_name = 2;
|
|
407
|
+
optional string uid = 3;
|
|
408
|
+
optional string status = 4;
|
|
409
|
+
}
|
|
410
|
+
|
|
411
|
+
message UserRefUpdateByUserIdResponse {
|
|
412
|
+
ResponseStatus status = 1;
|
|
413
|
+
optional UserRefAdminDto data = 2;
|
|
414
|
+
}
|
|
415
|
+
|
|
416
|
+
message UserRefAdminDto {
|
|
417
|
+
string id = 1;
|
|
418
|
+
string user_id = 2;
|
|
419
|
+
string exchange_name = 3;
|
|
420
|
+
string uid = 4;
|
|
421
|
+
string status = 5;
|
|
422
|
+
string created_at = 6;
|
|
423
|
+
optional string updated_at = 7;
|
|
424
|
+
}
|
|
425
|
+
|
|
426
|
+
message UserRefAdminListRequest {
|
|
427
|
+
optional int32 page = 1;
|
|
428
|
+
optional int32 per_page = 2;
|
|
429
|
+
optional string search = 3;
|
|
430
|
+
optional int32 user_id = 4;
|
|
431
|
+
optional string exchange_name = 5;
|
|
432
|
+
optional string status = 6;
|
|
433
|
+
optional string uid = 7;
|
|
434
|
+
}
|
|
435
|
+
|
|
436
|
+
message UserRefAdminListResponse {
|
|
437
|
+
ResponseStatus status = 1;
|
|
438
|
+
PaginationMetaResult pagination = 2;
|
|
439
|
+
repeated UserRefAdminDto data = 3;
|
|
440
|
+
}
|
|
441
|
+
|
|
442
|
+
message UserRefAdminSingleResponse {
|
|
443
|
+
ResponseStatus status = 1;
|
|
444
|
+
UserRefAdminDto data = 2;
|
|
445
|
+
}
|
|
446
|
+
|
|
447
|
+
message UserRefAdminCreateRequest {
|
|
448
|
+
int32 user_id = 1;
|
|
449
|
+
string exchange_name = 2;
|
|
450
|
+
string uid = 3;
|
|
451
|
+
optional string status = 4;
|
|
452
|
+
}
|
|
453
|
+
|
|
454
|
+
message UserRefAdminUpdateRequest {
|
|
455
|
+
string id = 1;
|
|
456
|
+
optional string uid = 2;
|
|
457
|
+
optional string status = 3;
|
|
458
|
+
optional string exchange_name = 4;
|
|
459
|
+
}
|
|
460
|
+
|
|
461
|
+
message UserRefAdminDeleteRequest {
|
|
462
|
+
string id = 1;
|
|
393
463
|
}
|
|
@@ -108,6 +108,17 @@ service PVipAdminService {
|
|
|
108
108
|
rpc delete(ByIdRequest) returns (EmptyResponse);
|
|
109
109
|
}
|
|
110
110
|
|
|
111
|
+
service PUserRefsAdminService {
|
|
112
|
+
rpc list(UserRefAdminListRequest) returns (UserRefAdminListResponse);
|
|
113
|
+
rpc read(ByIdRequest) returns (UserRefAdminSingleResponse);
|
|
114
|
+
rpc create(UserRefAdminCreateRequest) returns (UserRefAdminSingleResponse);
|
|
115
|
+
rpc update(UserRefAdminUpdateRequest) returns (UserRefAdminSingleResponse);
|
|
116
|
+
rpc delete(ByIdRequest) returns (EmptyResponse);
|
|
117
|
+
|
|
118
|
+
rpc getUserRefsByUserId(UserRefsByUserIdRequest) returns (UserRefsByUserIdResponse);
|
|
119
|
+
rpc updateUserRefByUserId(UserRefUpdateByUserIdRequest) returns (UserRefUpdateByUserIdResponse);
|
|
120
|
+
}
|
|
121
|
+
|
|
111
122
|
service PEducationUserDataService {
|
|
112
123
|
rpc RemoveUserData(ByIdRequest) returns(stream EmptyResponse) {}
|
|
113
124
|
}
|