jr-common-micro 1.1.9 → 1.1.11

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.
@@ -384,7 +384,6 @@ export interface UserVipFormDto {
384
384
  job: string;
385
385
  education: string;
386
386
  gender: string;
387
- is_sent: boolean;
388
387
  }
389
388
  export interface UserVipFormRequest {
390
389
  email: string;
@@ -657,7 +657,6 @@ export declare class UserVipFormDto extends Message<UserVipFormDto> {
657
657
  job: string;
658
658
  education: string;
659
659
  gender: string;
660
- isSent: boolean;
661
660
  constructor(data?: PartialMessage<UserVipFormDto>);
662
661
  static readonly runtime: typeof proto3;
663
662
  static readonly typeName = "micro.v1.education.UserVipFormDto";
@@ -1362,7 +1362,6 @@ class UserVipFormDto extends protobuf_1.Message {
1362
1362
  job = "";
1363
1363
  education = "";
1364
1364
  gender = "";
1365
- isSent = false;
1366
1365
  constructor(data) {
1367
1366
  super();
1368
1367
  protobuf_1.proto3.util.initPartial(data, this);
@@ -1379,7 +1378,6 @@ class UserVipFormDto extends protobuf_1.Message {
1379
1378
  { no: 7, name: "job", kind: "scalar", T: 9 },
1380
1379
  { no: 8, name: "education", kind: "scalar", T: 9 },
1381
1380
  { no: 9, name: "gender", kind: "scalar", T: 9 },
1382
- { no: 10, name: "is_sent", kind: "scalar", T: 8 },
1383
1381
  ]);
1384
1382
  static fromBinary(bytes, options) {
1385
1383
  return new UserVipFormDto().fromBinary(bytes, options);
@@ -394,14 +394,8 @@ export declare const PUserVipService: {
394
394
  readonly O: typeof UserVipFormResponse;
395
395
  readonly kind: MethodKind.Unary;
396
396
  };
397
- readonly setUserVipForm: {
398
- readonly name: "setUserVipForm";
399
- readonly I: typeof UserVipFormRequest;
400
- readonly O: typeof UserVipFormResponse;
401
- readonly kind: MethodKind.Unary;
402
- };
403
- readonly updateUserVipForm: {
404
- readonly name: "updateUserVipForm";
397
+ readonly upsertUserVipForm: {
398
+ readonly name: "upsertUserVipForm";
405
399
  readonly I: typeof UserVipFormRequest;
406
400
  readonly O: typeof UserVipFormResponse;
407
401
  readonly kind: MethodKind.Unary;
@@ -397,14 +397,8 @@ exports.PUserVipService = {
397
397
  O: education_messages_pb_js_1.UserVipFormResponse,
398
398
  kind: protobuf_1.MethodKind.Unary,
399
399
  },
400
- setUserVipForm: {
401
- name: "setUserVipForm",
402
- I: education_messages_pb_js_1.UserVipFormRequest,
403
- O: education_messages_pb_js_1.UserVipFormResponse,
404
- kind: protobuf_1.MethodKind.Unary,
405
- },
406
- updateUserVipForm: {
407
- name: "updateUserVipForm",
400
+ upsertUserVipForm: {
401
+ name: "upsertUserVipForm",
408
402
  I: education_messages_pb_js_1.UserVipFormRequest,
409
403
  O: education_messages_pb_js_1.UserVipFormResponse,
410
404
  kind: protobuf_1.MethodKind.Unary,
@@ -186,14 +186,12 @@ export declare function PMediaEducationServiceControllerMethods(): (constructor:
186
186
  export declare const P_MEDIA_EDUCATION_SERVICE_NAME = "PMediaEducationService";
187
187
  export interface PUserVipServiceClient {
188
188
  getUserVipForm(request: EmptyRequest, metadata?: Metadata): Observable<UserVipFormResponse>;
189
- setUserVipForm(request: UserVipFormRequest, metadata?: Metadata): Observable<UserVipFormResponse>;
190
- updateUserVipForm(request: UserVipFormRequest, metadata?: Metadata): Observable<UserVipFormResponse>;
189
+ upsertUserVipForm(request: UserVipFormRequest, metadata?: Metadata): Observable<UserVipFormResponse>;
191
190
  getPageStatus(request: EmptyRequest, metadata?: Metadata): Observable<VipPageStatusResponse>;
192
191
  }
193
192
  export interface PUserVipServiceController {
194
193
  getUserVipForm(request: EmptyRequest, metadata?: Metadata): Promise<UserVipFormResponse> | Observable<UserVipFormResponse> | UserVipFormResponse;
195
- setUserVipForm(request: UserVipFormRequest, metadata?: Metadata): Promise<UserVipFormResponse> | Observable<UserVipFormResponse> | UserVipFormResponse;
196
- updateUserVipForm(request: UserVipFormRequest, metadata?: Metadata): Promise<UserVipFormResponse> | Observable<UserVipFormResponse> | UserVipFormResponse;
194
+ upsertUserVipForm(request: UserVipFormRequest, metadata?: Metadata): Promise<UserVipFormResponse> | Observable<UserVipFormResponse> | UserVipFormResponse;
197
195
  getPageStatus(request: EmptyRequest, metadata?: Metadata): Promise<VipPageStatusResponse> | Observable<VipPageStatusResponse> | VipPageStatusResponse;
198
196
  }
199
197
  export declare function PUserVipServiceControllerMethods(): (constructor: Function) => void;
@@ -199,7 +199,7 @@ function PMediaEducationServiceControllerMethods() {
199
199
  exports.P_MEDIA_EDUCATION_SERVICE_NAME = "PMediaEducationService";
200
200
  function PUserVipServiceControllerMethods() {
201
201
  return function (constructor) {
202
- const grpcMethods = ["getUserVipForm", "setUserVipForm", "updateUserVipForm", "getPageStatus"];
202
+ const grpcMethods = ["getUserVipForm", "upsertUserVipForm", "getPageStatus"];
203
203
  for (const method of grpcMethods) {
204
204
  const descriptor = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
205
205
  (0, microservices_1.GrpcMethod)("PUserVipService", method)(constructor.prototype[method], method, descriptor);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jr-common-micro",
3
- "version": "1.1.9",
3
+ "version": "1.1.11",
4
4
  "description": "",
5
5
  "author": "",
6
6
  "private": false,
@@ -323,7 +323,6 @@ message UserVipFormDto {
323
323
  string job = 7;
324
324
  string education = 8;
325
325
  string gender = 9;
326
- bool is_sent = 10;
327
326
  }
328
327
 
329
328
  message UserVipFormRequest {
@@ -97,7 +97,6 @@ service PMediaEducationService {
97
97
 
98
98
  service PUserVipService{
99
99
  rpc getUserVipForm(EmptyRequest) returns (UserVipFormResponse);
100
- rpc setUserVipForm(UserVipFormRequest) returns (UserVipFormResponse);
101
- rpc updateUserVipForm(UserVipFormRequest) returns (UserVipFormResponse);
100
+ rpc upsertUserVipForm(UserVipFormRequest) returns (UserVipFormResponse);
102
101
  rpc getPageStatus(EmptyRequest) returns (VipPageStatusResponse);
103
102
  }