jr-common-micro 1.1.14 → 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.
@@ -409,6 +409,9 @@ export interface VipUserAdminDto {
409
409
  gender: string;
410
410
  telegram_joined?: boolean | undefined;
411
411
  notes?: string | undefined;
412
+ uid?: string | undefined;
413
+ uid_status?: string | undefined;
414
+ exchange_name?: string | undefined;
412
415
  created_at: string;
413
416
  updated_at?: string | undefined;
414
417
  }
@@ -698,6 +698,9 @@ export declare class VipUserAdminDto extends Message<VipUserAdminDto> {
698
698
  gender: string;
699
699
  telegramJoined?: boolean;
700
700
  notes?: string;
701
+ uid?: string;
702
+ uidStatus?: string;
703
+ exchangeName?: string;
701
704
  createdAt: string;
702
705
  updatedAt?: string;
703
706
  constructor(data?: PartialMessage<VipUserAdminDto>);
@@ -1447,6 +1447,9 @@ class VipUserAdminDto extends protobuf_1.Message {
1447
1447
  gender = "";
1448
1448
  telegramJoined;
1449
1449
  notes;
1450
+ uid;
1451
+ uidStatus;
1452
+ exchangeName;
1450
1453
  createdAt = "";
1451
1454
  updatedAt;
1452
1455
  constructor(data) {
@@ -1468,8 +1471,11 @@ class VipUserAdminDto extends protobuf_1.Message {
1468
1471
  { no: 10, name: "gender", kind: "scalar", T: 9 },
1469
1472
  { no: 11, name: "telegram_joined", kind: "scalar", T: 8, opt: true },
1470
1473
  { no: 12, name: "notes", kind: "scalar", T: 9, opt: true },
1471
- { no: 13, name: "created_at", kind: "scalar", T: 9 },
1472
- { no: 14, name: "updated_at", kind: "scalar", T: 9, opt: true },
1474
+ { no: 13, name: "uid", kind: "scalar", T: 9, opt: true },
1475
+ { no: 14, name: "uid_status", kind: "scalar", T: 9, opt: true },
1476
+ { no: 15, name: "exchange_name", kind: "scalar", T: 9, opt: true },
1477
+ { no: 16, name: "created_at", kind: "scalar", T: 9 },
1478
+ { no: 17, name: "updated_at", kind: "scalar", T: 9, opt: true },
1473
1479
  ]);
1474
1480
  static fromBinary(bytes, options) {
1475
1481
  return new VipUserAdminDto().fromBinary(bytes, options);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jr-common-micro",
3
- "version": "1.1.14",
3
+ "version": "1.1.16",
4
4
  "description": "",
5
5
  "author": "",
6
6
  "private": false,
@@ -350,8 +350,11 @@ message VipUserAdminDto {
350
350
  string gender = 10;
351
351
  optional bool telegram_joined = 11;
352
352
  optional string notes = 12;
353
- string created_at = 13;
354
- optional string updated_at = 14;
353
+ optional string uid = 13;
354
+ optional string uid_status = 14;
355
+ optional string exchange_name = 15;
356
+ string created_at = 16;
357
+ optional string updated_at = 17;
355
358
  }
356
359
 
357
360
  message VipUserAdminListRequest {
@@ -387,4 +390,74 @@ message VipUserAdminUpdateRequest {
387
390
  optional string gender = 9;
388
391
  optional bool telegram_joined = 10;
389
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;
390
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
  }