@stashfin/grpc 1.2.111 → 1.2.112

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stashfin/grpc",
3
- "version": "1.2.111",
3
+ "version": "1.2.112",
4
4
  "description": "Grpc proto manger",
5
5
  "scripts": {
6
6
  "prebuild": "rimraf src/ts && mkdirp src/ts && mkdirp dist",
@@ -6,6 +6,7 @@ export interface updateMobileVerifyOtpRequest {
6
6
  }
7
7
  export interface updateMobileVerifyOtpResponse {
8
8
  status: string;
9
+ jwtToken: string;
9
10
  }
10
11
  export declare const updateMobileVerifyOtpRequest: {
11
12
  encode(message: updateMobileVerifyOtpRequest, writer?: _m0.Writer): _m0.Writer;
@@ -79,13 +79,16 @@ exports.updateMobileVerifyOtpRequest = {
79
79
  },
80
80
  };
81
81
  function createBaseupdateMobileVerifyOtpResponse() {
82
- return { status: "" };
82
+ return { status: "", jwtToken: "" };
83
83
  }
84
84
  exports.updateMobileVerifyOtpResponse = {
85
85
  encode(message, writer = minimal_1.default.Writer.create()) {
86
86
  if (message.status !== "") {
87
87
  writer.uint32(10).string(message.status);
88
88
  }
89
+ if (message.jwtToken !== "") {
90
+ writer.uint32(18).string(message.jwtToken);
91
+ }
89
92
  return writer;
90
93
  },
91
94
  decode(input, length) {
@@ -101,6 +104,12 @@ exports.updateMobileVerifyOtpResponse = {
101
104
  }
102
105
  message.status = reader.string();
103
106
  continue;
107
+ case 2:
108
+ if (tag !== 18) {
109
+ break;
110
+ }
111
+ message.jwtToken = reader.string();
112
+ continue;
104
113
  }
105
114
  if ((tag & 7) === 4 || tag === 0) {
106
115
  break;
@@ -110,13 +119,19 @@ exports.updateMobileVerifyOtpResponse = {
110
119
  return message;
111
120
  },
112
121
  fromJSON(object) {
113
- return { status: isSet(object.status) ? globalThis.String(object.status) : "" };
122
+ return {
123
+ status: isSet(object.status) ? globalThis.String(object.status) : "",
124
+ jwtToken: isSet(object.jwtToken) ? globalThis.String(object.jwtToken) : "",
125
+ };
114
126
  },
115
127
  toJSON(message) {
116
128
  const obj = {};
117
129
  if (message.status !== "") {
118
130
  obj.status = message.status;
119
131
  }
132
+ if (message.jwtToken !== "") {
133
+ obj.jwtToken = message.jwtToken;
134
+ }
120
135
  return obj;
121
136
  },
122
137
  create(base) {
@@ -125,6 +140,7 @@ exports.updateMobileVerifyOtpResponse = {
125
140
  fromPartial(object) {
126
141
  const message = createBaseupdateMobileVerifyOtpResponse();
127
142
  message.status = object.status ?? "";
143
+ message.jwtToken = object.jwtToken ?? "";
128
144
  return message;
129
145
  },
130
146
  };