@stashfin/grpc 1.2.296 → 1.2.297
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
|
@@ -57,6 +57,7 @@ function createBasegetCustomerProfileResponse() {
|
|
|
57
57
|
profile_image: "",
|
|
58
58
|
email: "",
|
|
59
59
|
profile_completion_status: 0,
|
|
60
|
+
category: "",
|
|
60
61
|
details: [],
|
|
61
62
|
};
|
|
62
63
|
}
|
|
@@ -80,8 +81,11 @@ exports.getCustomerProfileResponse = {
|
|
|
80
81
|
if (message.profile_completion_status !== 0) {
|
|
81
82
|
writer.uint32(48).int32(message.profile_completion_status);
|
|
82
83
|
}
|
|
84
|
+
if (message.category !== "") {
|
|
85
|
+
writer.uint32(58).string(message.category);
|
|
86
|
+
}
|
|
83
87
|
for (const v of message.details) {
|
|
84
|
-
exports.ProfileDetail.encode(v, writer.uint32(
|
|
88
|
+
exports.ProfileDetail.encode(v, writer.uint32(66).fork()).ldelim();
|
|
85
89
|
}
|
|
86
90
|
return writer;
|
|
87
91
|
},
|
|
@@ -132,6 +136,12 @@ exports.getCustomerProfileResponse = {
|
|
|
132
136
|
if (tag !== 58) {
|
|
133
137
|
break;
|
|
134
138
|
}
|
|
139
|
+
message.category = reader.string();
|
|
140
|
+
continue;
|
|
141
|
+
case 8:
|
|
142
|
+
if (tag !== 66) {
|
|
143
|
+
break;
|
|
144
|
+
}
|
|
135
145
|
message.details.push(exports.ProfileDetail.decode(reader, reader.uint32()));
|
|
136
146
|
continue;
|
|
137
147
|
}
|
|
@@ -152,6 +162,7 @@ exports.getCustomerProfileResponse = {
|
|
|
152
162
|
profile_completion_status: isSet(object.profile_completion_status)
|
|
153
163
|
? globalThis.Number(object.profile_completion_status)
|
|
154
164
|
: 0,
|
|
165
|
+
category: isSet(object.category) ? globalThis.String(object.category) : "",
|
|
155
166
|
details: globalThis.Array.isArray(object?.details)
|
|
156
167
|
? object.details.map((e) => exports.ProfileDetail.fromJSON(e))
|
|
157
168
|
: [],
|
|
@@ -177,6 +188,9 @@ exports.getCustomerProfileResponse = {
|
|
|
177
188
|
if (message.profile_completion_status !== 0) {
|
|
178
189
|
obj.profile_completion_status = Math.round(message.profile_completion_status);
|
|
179
190
|
}
|
|
191
|
+
if (message.category !== "") {
|
|
192
|
+
obj.category = message.category;
|
|
193
|
+
}
|
|
180
194
|
if (message.details?.length) {
|
|
181
195
|
obj.details = message.details.map((e) => exports.ProfileDetail.toJSON(e));
|
|
182
196
|
}
|
|
@@ -193,6 +207,7 @@ exports.getCustomerProfileResponse = {
|
|
|
193
207
|
message.profile_image = object.profile_image ?? "";
|
|
194
208
|
message.email = object.email ?? "";
|
|
195
209
|
message.profile_completion_status = object.profile_completion_status ?? 0;
|
|
210
|
+
message.category = object.category ?? "";
|
|
196
211
|
message.details = object.details?.map((e) => exports.ProfileDetail.fromPartial(e)) || [];
|
|
197
212
|
return message;
|
|
198
213
|
},
|