@miradorlabs/web-grpc 3.21.0 → 3.23.0
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 +1 -1
- package/proto/gateway/web/v1/admin_gateway.ts +219 -1
- package/proto/gateway/web/v1/admin_gateway_grpc_pb.js +34 -0
- package/proto/gateway/web/v1/admin_gateway_pb.js +458 -1
- package/proto/gateway/web/v1/ai_gateway.ts +320 -13
- package/proto/gateway/web/v1/ai_gateway_pb.js +547 -21
|
@@ -40,6 +40,8 @@ goog.exportSymbol('proto.gateway.web.v1.GetAdminStatusResponse', null, global);
|
|
|
40
40
|
goog.exportSymbol('proto.gateway.web.v1.InviteCode', null, global);
|
|
41
41
|
goog.exportSymbol('proto.gateway.web.v1.ListInviteCodesRequest', null, global);
|
|
42
42
|
goog.exportSymbol('proto.gateway.web.v1.ListInviteCodesResponse', null, global);
|
|
43
|
+
goog.exportSymbol('proto.gateway.web.v1.SendInviteCodeEmailRequest', null, global);
|
|
44
|
+
goog.exportSymbol('proto.gateway.web.v1.SendInviteCodeEmailResponse', null, global);
|
|
43
45
|
goog.exportSymbol('proto.gateway.web.v1.UpdateAIBillerRequest', null, global);
|
|
44
46
|
goog.exportSymbol('proto.gateway.web.v1.UpdateAIBillerResponse', null, global);
|
|
45
47
|
goog.exportSymbol('proto.gateway.web.v1.UpdateAIEffortRequest', null, global);
|
|
@@ -195,6 +197,48 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
195
197
|
*/
|
|
196
198
|
proto.gateway.web.v1.ListInviteCodesResponse.displayName = 'proto.gateway.web.v1.ListInviteCodesResponse';
|
|
197
199
|
}
|
|
200
|
+
/**
|
|
201
|
+
* Generated by JsPbCodeGenerator.
|
|
202
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
203
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
204
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
205
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
206
|
+
* valid.
|
|
207
|
+
* @extends {jspb.Message}
|
|
208
|
+
* @constructor
|
|
209
|
+
*/
|
|
210
|
+
proto.gateway.web.v1.SendInviteCodeEmailRequest = function(opt_data) {
|
|
211
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
212
|
+
};
|
|
213
|
+
goog.inherits(proto.gateway.web.v1.SendInviteCodeEmailRequest, jspb.Message);
|
|
214
|
+
if (goog.DEBUG && !COMPILED) {
|
|
215
|
+
/**
|
|
216
|
+
* @public
|
|
217
|
+
* @override
|
|
218
|
+
*/
|
|
219
|
+
proto.gateway.web.v1.SendInviteCodeEmailRequest.displayName = 'proto.gateway.web.v1.SendInviteCodeEmailRequest';
|
|
220
|
+
}
|
|
221
|
+
/**
|
|
222
|
+
* Generated by JsPbCodeGenerator.
|
|
223
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
224
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
225
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
226
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
227
|
+
* valid.
|
|
228
|
+
* @extends {jspb.Message}
|
|
229
|
+
* @constructor
|
|
230
|
+
*/
|
|
231
|
+
proto.gateway.web.v1.SendInviteCodeEmailResponse = function(opt_data) {
|
|
232
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
233
|
+
};
|
|
234
|
+
goog.inherits(proto.gateway.web.v1.SendInviteCodeEmailResponse, jspb.Message);
|
|
235
|
+
if (goog.DEBUG && !COMPILED) {
|
|
236
|
+
/**
|
|
237
|
+
* @public
|
|
238
|
+
* @override
|
|
239
|
+
*/
|
|
240
|
+
proto.gateway.web.v1.SendInviteCodeEmailResponse.displayName = 'proto.gateway.web.v1.SendInviteCodeEmailResponse';
|
|
241
|
+
}
|
|
198
242
|
/**
|
|
199
243
|
* Generated by JsPbCodeGenerator.
|
|
200
244
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -853,7 +897,8 @@ redeemedByUserId: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
|
853
897
|
createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
854
898
|
expiresAt: (f = msg.getExpiresAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
855
899
|
reservedAt: (f = msg.getReservedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
856
|
-
redeemedAt: (f = msg.getRedeemedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
|
|
900
|
+
redeemedAt: (f = msg.getRedeemedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
901
|
+
emailedAt: (f = msg.getEmailedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
|
|
857
902
|
};
|
|
858
903
|
|
|
859
904
|
if (includeInstance) {
|
|
@@ -930,6 +975,11 @@ proto.gateway.web.v1.InviteCode.deserializeBinaryFromReader = function(msg, read
|
|
|
930
975
|
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
931
976
|
msg.setRedeemedAt(value);
|
|
932
977
|
break;
|
|
978
|
+
case 10:
|
|
979
|
+
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
980
|
+
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
981
|
+
msg.setEmailedAt(value);
|
|
982
|
+
break;
|
|
933
983
|
default:
|
|
934
984
|
reader.skipField();
|
|
935
985
|
break;
|
|
@@ -1026,6 +1076,14 @@ proto.gateway.web.v1.InviteCode.serializeBinaryToWriter = function(message, writ
|
|
|
1026
1076
|
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
1027
1077
|
);
|
|
1028
1078
|
}
|
|
1079
|
+
f = message.getEmailedAt();
|
|
1080
|
+
if (f != null) {
|
|
1081
|
+
writer.writeMessage(
|
|
1082
|
+
10,
|
|
1083
|
+
f,
|
|
1084
|
+
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
1085
|
+
);
|
|
1086
|
+
}
|
|
1029
1087
|
};
|
|
1030
1088
|
|
|
1031
1089
|
|
|
@@ -1267,6 +1325,43 @@ proto.gateway.web.v1.InviteCode.prototype.hasRedeemedAt = function() {
|
|
|
1267
1325
|
};
|
|
1268
1326
|
|
|
1269
1327
|
|
|
1328
|
+
/**
|
|
1329
|
+
* optional google.protobuf.Timestamp emailed_at = 10;
|
|
1330
|
+
* @return {?proto.google.protobuf.Timestamp}
|
|
1331
|
+
*/
|
|
1332
|
+
proto.gateway.web.v1.InviteCode.prototype.getEmailedAt = function() {
|
|
1333
|
+
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
|
1334
|
+
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 10));
|
|
1335
|
+
};
|
|
1336
|
+
|
|
1337
|
+
|
|
1338
|
+
/**
|
|
1339
|
+
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
1340
|
+
* @return {!proto.gateway.web.v1.InviteCode} returns this
|
|
1341
|
+
*/
|
|
1342
|
+
proto.gateway.web.v1.InviteCode.prototype.setEmailedAt = function(value) {
|
|
1343
|
+
return jspb.Message.setWrapperField(this, 10, value);
|
|
1344
|
+
};
|
|
1345
|
+
|
|
1346
|
+
|
|
1347
|
+
/**
|
|
1348
|
+
* Clears the message field making it undefined.
|
|
1349
|
+
* @return {!proto.gateway.web.v1.InviteCode} returns this
|
|
1350
|
+
*/
|
|
1351
|
+
proto.gateway.web.v1.InviteCode.prototype.clearEmailedAt = function() {
|
|
1352
|
+
return this.setEmailedAt(undefined);
|
|
1353
|
+
};
|
|
1354
|
+
|
|
1355
|
+
|
|
1356
|
+
/**
|
|
1357
|
+
* Returns whether this field is set.
|
|
1358
|
+
* @return {boolean}
|
|
1359
|
+
*/
|
|
1360
|
+
proto.gateway.web.v1.InviteCode.prototype.hasEmailedAt = function() {
|
|
1361
|
+
return jspb.Message.getField(this, 10) != null;
|
|
1362
|
+
};
|
|
1363
|
+
|
|
1364
|
+
|
|
1270
1365
|
|
|
1271
1366
|
|
|
1272
1367
|
|
|
@@ -2004,6 +2099,368 @@ proto.gateway.web.v1.ListInviteCodesResponse.prototype.clearCodesList = function
|
|
|
2004
2099
|
|
|
2005
2100
|
|
|
2006
2101
|
|
|
2102
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2103
|
+
/**
|
|
2104
|
+
* Creates an object representation of this proto.
|
|
2105
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2106
|
+
* Optional fields that are not set will be set to undefined.
|
|
2107
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2108
|
+
* For the list of reserved names please see:
|
|
2109
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
2110
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
2111
|
+
* JSPB instance for transitional soy proto support:
|
|
2112
|
+
* http://goto/soy-param-migration
|
|
2113
|
+
* @return {!Object}
|
|
2114
|
+
*/
|
|
2115
|
+
proto.gateway.web.v1.SendInviteCodeEmailRequest.prototype.toObject = function(opt_includeInstance) {
|
|
2116
|
+
return proto.gateway.web.v1.SendInviteCodeEmailRequest.toObject(opt_includeInstance, this);
|
|
2117
|
+
};
|
|
2118
|
+
|
|
2119
|
+
|
|
2120
|
+
/**
|
|
2121
|
+
* Static version of the {@see toObject} method.
|
|
2122
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2123
|
+
* the JSPB instance for transitional soy proto support:
|
|
2124
|
+
* http://goto/soy-param-migration
|
|
2125
|
+
* @param {!proto.gateway.web.v1.SendInviteCodeEmailRequest} msg The msg instance to transform.
|
|
2126
|
+
* @return {!Object}
|
|
2127
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2128
|
+
*/
|
|
2129
|
+
proto.gateway.web.v1.SendInviteCodeEmailRequest.toObject = function(includeInstance, msg) {
|
|
2130
|
+
var f, obj = {
|
|
2131
|
+
id: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
2132
|
+
email: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
2133
|
+
};
|
|
2134
|
+
|
|
2135
|
+
if (includeInstance) {
|
|
2136
|
+
obj.$jspbMessageInstance = msg;
|
|
2137
|
+
}
|
|
2138
|
+
return obj;
|
|
2139
|
+
};
|
|
2140
|
+
}
|
|
2141
|
+
|
|
2142
|
+
|
|
2143
|
+
/**
|
|
2144
|
+
* Deserializes binary data (in protobuf wire format).
|
|
2145
|
+
* @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
|
|
2146
|
+
* @return {!proto.gateway.web.v1.SendInviteCodeEmailRequest}
|
|
2147
|
+
*/
|
|
2148
|
+
proto.gateway.web.v1.SendInviteCodeEmailRequest.deserializeBinary = function(bytes) {
|
|
2149
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
2150
|
+
var msg = new proto.gateway.web.v1.SendInviteCodeEmailRequest;
|
|
2151
|
+
return proto.gateway.web.v1.SendInviteCodeEmailRequest.deserializeBinaryFromReader(msg, reader);
|
|
2152
|
+
};
|
|
2153
|
+
|
|
2154
|
+
|
|
2155
|
+
/**
|
|
2156
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
2157
|
+
* given reader into the given message object.
|
|
2158
|
+
* @param {!proto.gateway.web.v1.SendInviteCodeEmailRequest} msg The message object to deserialize into.
|
|
2159
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2160
|
+
* @return {!proto.gateway.web.v1.SendInviteCodeEmailRequest}
|
|
2161
|
+
*/
|
|
2162
|
+
proto.gateway.web.v1.SendInviteCodeEmailRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
2163
|
+
while (reader.nextField()) {
|
|
2164
|
+
if (reader.isEndGroup()) {
|
|
2165
|
+
break;
|
|
2166
|
+
}
|
|
2167
|
+
var field = reader.getFieldNumber();
|
|
2168
|
+
switch (field) {
|
|
2169
|
+
case 1:
|
|
2170
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
2171
|
+
msg.setId(value);
|
|
2172
|
+
break;
|
|
2173
|
+
case 2:
|
|
2174
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
2175
|
+
msg.setEmail(value);
|
|
2176
|
+
break;
|
|
2177
|
+
default:
|
|
2178
|
+
reader.skipField();
|
|
2179
|
+
break;
|
|
2180
|
+
}
|
|
2181
|
+
}
|
|
2182
|
+
return msg;
|
|
2183
|
+
};
|
|
2184
|
+
|
|
2185
|
+
|
|
2186
|
+
/**
|
|
2187
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
2188
|
+
* @return {!Uint8Array}
|
|
2189
|
+
*/
|
|
2190
|
+
proto.gateway.web.v1.SendInviteCodeEmailRequest.prototype.serializeBinary = function() {
|
|
2191
|
+
var writer = new jspb.BinaryWriter();
|
|
2192
|
+
proto.gateway.web.v1.SendInviteCodeEmailRequest.serializeBinaryToWriter(this, writer);
|
|
2193
|
+
return writer.getResultBuffer();
|
|
2194
|
+
};
|
|
2195
|
+
|
|
2196
|
+
|
|
2197
|
+
/**
|
|
2198
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
2199
|
+
* format), writing to the given BinaryWriter.
|
|
2200
|
+
* @param {!proto.gateway.web.v1.SendInviteCodeEmailRequest} message
|
|
2201
|
+
* @param {!jspb.BinaryWriter} writer
|
|
2202
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2203
|
+
*/
|
|
2204
|
+
proto.gateway.web.v1.SendInviteCodeEmailRequest.serializeBinaryToWriter = function(message, writer) {
|
|
2205
|
+
var f = undefined;
|
|
2206
|
+
f = message.getId();
|
|
2207
|
+
if (f.length > 0) {
|
|
2208
|
+
writer.writeString(
|
|
2209
|
+
1,
|
|
2210
|
+
f
|
|
2211
|
+
);
|
|
2212
|
+
}
|
|
2213
|
+
f = message.getEmail();
|
|
2214
|
+
if (f.length > 0) {
|
|
2215
|
+
writer.writeString(
|
|
2216
|
+
2,
|
|
2217
|
+
f
|
|
2218
|
+
);
|
|
2219
|
+
}
|
|
2220
|
+
};
|
|
2221
|
+
|
|
2222
|
+
|
|
2223
|
+
/**
|
|
2224
|
+
* optional string id = 1;
|
|
2225
|
+
* @return {string}
|
|
2226
|
+
*/
|
|
2227
|
+
proto.gateway.web.v1.SendInviteCodeEmailRequest.prototype.getId = function() {
|
|
2228
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
2229
|
+
};
|
|
2230
|
+
|
|
2231
|
+
|
|
2232
|
+
/**
|
|
2233
|
+
* @param {string} value
|
|
2234
|
+
* @return {!proto.gateway.web.v1.SendInviteCodeEmailRequest} returns this
|
|
2235
|
+
*/
|
|
2236
|
+
proto.gateway.web.v1.SendInviteCodeEmailRequest.prototype.setId = function(value) {
|
|
2237
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
2238
|
+
};
|
|
2239
|
+
|
|
2240
|
+
|
|
2241
|
+
/**
|
|
2242
|
+
* optional string email = 2;
|
|
2243
|
+
* @return {string}
|
|
2244
|
+
*/
|
|
2245
|
+
proto.gateway.web.v1.SendInviteCodeEmailRequest.prototype.getEmail = function() {
|
|
2246
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
2247
|
+
};
|
|
2248
|
+
|
|
2249
|
+
|
|
2250
|
+
/**
|
|
2251
|
+
* @param {string} value
|
|
2252
|
+
* @return {!proto.gateway.web.v1.SendInviteCodeEmailRequest} returns this
|
|
2253
|
+
*/
|
|
2254
|
+
proto.gateway.web.v1.SendInviteCodeEmailRequest.prototype.setEmail = function(value) {
|
|
2255
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
2256
|
+
};
|
|
2257
|
+
|
|
2258
|
+
|
|
2259
|
+
|
|
2260
|
+
|
|
2261
|
+
|
|
2262
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2263
|
+
/**
|
|
2264
|
+
* Creates an object representation of this proto.
|
|
2265
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2266
|
+
* Optional fields that are not set will be set to undefined.
|
|
2267
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2268
|
+
* For the list of reserved names please see:
|
|
2269
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
2270
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
2271
|
+
* JSPB instance for transitional soy proto support:
|
|
2272
|
+
* http://goto/soy-param-migration
|
|
2273
|
+
* @return {!Object}
|
|
2274
|
+
*/
|
|
2275
|
+
proto.gateway.web.v1.SendInviteCodeEmailResponse.prototype.toObject = function(opt_includeInstance) {
|
|
2276
|
+
return proto.gateway.web.v1.SendInviteCodeEmailResponse.toObject(opt_includeInstance, this);
|
|
2277
|
+
};
|
|
2278
|
+
|
|
2279
|
+
|
|
2280
|
+
/**
|
|
2281
|
+
* Static version of the {@see toObject} method.
|
|
2282
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2283
|
+
* the JSPB instance for transitional soy proto support:
|
|
2284
|
+
* http://goto/soy-param-migration
|
|
2285
|
+
* @param {!proto.gateway.web.v1.SendInviteCodeEmailResponse} msg The msg instance to transform.
|
|
2286
|
+
* @return {!Object}
|
|
2287
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2288
|
+
*/
|
|
2289
|
+
proto.gateway.web.v1.SendInviteCodeEmailResponse.toObject = function(includeInstance, msg) {
|
|
2290
|
+
var f, obj = {
|
|
2291
|
+
status: (f = msg.getStatus()) && proto_gateway_common_v1_status_pb.ResponseStatus.toObject(includeInstance, f),
|
|
2292
|
+
code: (f = msg.getCode()) && proto.gateway.web.v1.InviteCode.toObject(includeInstance, f)
|
|
2293
|
+
};
|
|
2294
|
+
|
|
2295
|
+
if (includeInstance) {
|
|
2296
|
+
obj.$jspbMessageInstance = msg;
|
|
2297
|
+
}
|
|
2298
|
+
return obj;
|
|
2299
|
+
};
|
|
2300
|
+
}
|
|
2301
|
+
|
|
2302
|
+
|
|
2303
|
+
/**
|
|
2304
|
+
* Deserializes binary data (in protobuf wire format).
|
|
2305
|
+
* @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
|
|
2306
|
+
* @return {!proto.gateway.web.v1.SendInviteCodeEmailResponse}
|
|
2307
|
+
*/
|
|
2308
|
+
proto.gateway.web.v1.SendInviteCodeEmailResponse.deserializeBinary = function(bytes) {
|
|
2309
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
2310
|
+
var msg = new proto.gateway.web.v1.SendInviteCodeEmailResponse;
|
|
2311
|
+
return proto.gateway.web.v1.SendInviteCodeEmailResponse.deserializeBinaryFromReader(msg, reader);
|
|
2312
|
+
};
|
|
2313
|
+
|
|
2314
|
+
|
|
2315
|
+
/**
|
|
2316
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
2317
|
+
* given reader into the given message object.
|
|
2318
|
+
* @param {!proto.gateway.web.v1.SendInviteCodeEmailResponse} msg The message object to deserialize into.
|
|
2319
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2320
|
+
* @return {!proto.gateway.web.v1.SendInviteCodeEmailResponse}
|
|
2321
|
+
*/
|
|
2322
|
+
proto.gateway.web.v1.SendInviteCodeEmailResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
2323
|
+
while (reader.nextField()) {
|
|
2324
|
+
if (reader.isEndGroup()) {
|
|
2325
|
+
break;
|
|
2326
|
+
}
|
|
2327
|
+
var field = reader.getFieldNumber();
|
|
2328
|
+
switch (field) {
|
|
2329
|
+
case 1:
|
|
2330
|
+
var value = new proto_gateway_common_v1_status_pb.ResponseStatus;
|
|
2331
|
+
reader.readMessage(value,proto_gateway_common_v1_status_pb.ResponseStatus.deserializeBinaryFromReader);
|
|
2332
|
+
msg.setStatus(value);
|
|
2333
|
+
break;
|
|
2334
|
+
case 2:
|
|
2335
|
+
var value = new proto.gateway.web.v1.InviteCode;
|
|
2336
|
+
reader.readMessage(value,proto.gateway.web.v1.InviteCode.deserializeBinaryFromReader);
|
|
2337
|
+
msg.setCode(value);
|
|
2338
|
+
break;
|
|
2339
|
+
default:
|
|
2340
|
+
reader.skipField();
|
|
2341
|
+
break;
|
|
2342
|
+
}
|
|
2343
|
+
}
|
|
2344
|
+
return msg;
|
|
2345
|
+
};
|
|
2346
|
+
|
|
2347
|
+
|
|
2348
|
+
/**
|
|
2349
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
2350
|
+
* @return {!Uint8Array}
|
|
2351
|
+
*/
|
|
2352
|
+
proto.gateway.web.v1.SendInviteCodeEmailResponse.prototype.serializeBinary = function() {
|
|
2353
|
+
var writer = new jspb.BinaryWriter();
|
|
2354
|
+
proto.gateway.web.v1.SendInviteCodeEmailResponse.serializeBinaryToWriter(this, writer);
|
|
2355
|
+
return writer.getResultBuffer();
|
|
2356
|
+
};
|
|
2357
|
+
|
|
2358
|
+
|
|
2359
|
+
/**
|
|
2360
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
2361
|
+
* format), writing to the given BinaryWriter.
|
|
2362
|
+
* @param {!proto.gateway.web.v1.SendInviteCodeEmailResponse} message
|
|
2363
|
+
* @param {!jspb.BinaryWriter} writer
|
|
2364
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2365
|
+
*/
|
|
2366
|
+
proto.gateway.web.v1.SendInviteCodeEmailResponse.serializeBinaryToWriter = function(message, writer) {
|
|
2367
|
+
var f = undefined;
|
|
2368
|
+
f = message.getStatus();
|
|
2369
|
+
if (f != null) {
|
|
2370
|
+
writer.writeMessage(
|
|
2371
|
+
1,
|
|
2372
|
+
f,
|
|
2373
|
+
proto_gateway_common_v1_status_pb.ResponseStatus.serializeBinaryToWriter
|
|
2374
|
+
);
|
|
2375
|
+
}
|
|
2376
|
+
f = message.getCode();
|
|
2377
|
+
if (f != null) {
|
|
2378
|
+
writer.writeMessage(
|
|
2379
|
+
2,
|
|
2380
|
+
f,
|
|
2381
|
+
proto.gateway.web.v1.InviteCode.serializeBinaryToWriter
|
|
2382
|
+
);
|
|
2383
|
+
}
|
|
2384
|
+
};
|
|
2385
|
+
|
|
2386
|
+
|
|
2387
|
+
/**
|
|
2388
|
+
* optional gateway.common.v1.ResponseStatus status = 1;
|
|
2389
|
+
* @return {?proto.gateway.common.v1.ResponseStatus}
|
|
2390
|
+
*/
|
|
2391
|
+
proto.gateway.web.v1.SendInviteCodeEmailResponse.prototype.getStatus = function() {
|
|
2392
|
+
return /** @type{?proto.gateway.common.v1.ResponseStatus} */ (
|
|
2393
|
+
jspb.Message.getWrapperField(this, proto_gateway_common_v1_status_pb.ResponseStatus, 1));
|
|
2394
|
+
};
|
|
2395
|
+
|
|
2396
|
+
|
|
2397
|
+
/**
|
|
2398
|
+
* @param {?proto.gateway.common.v1.ResponseStatus|undefined} value
|
|
2399
|
+
* @return {!proto.gateway.web.v1.SendInviteCodeEmailResponse} returns this
|
|
2400
|
+
*/
|
|
2401
|
+
proto.gateway.web.v1.SendInviteCodeEmailResponse.prototype.setStatus = function(value) {
|
|
2402
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
2403
|
+
};
|
|
2404
|
+
|
|
2405
|
+
|
|
2406
|
+
/**
|
|
2407
|
+
* Clears the message field making it undefined.
|
|
2408
|
+
* @return {!proto.gateway.web.v1.SendInviteCodeEmailResponse} returns this
|
|
2409
|
+
*/
|
|
2410
|
+
proto.gateway.web.v1.SendInviteCodeEmailResponse.prototype.clearStatus = function() {
|
|
2411
|
+
return this.setStatus(undefined);
|
|
2412
|
+
};
|
|
2413
|
+
|
|
2414
|
+
|
|
2415
|
+
/**
|
|
2416
|
+
* Returns whether this field is set.
|
|
2417
|
+
* @return {boolean}
|
|
2418
|
+
*/
|
|
2419
|
+
proto.gateway.web.v1.SendInviteCodeEmailResponse.prototype.hasStatus = function() {
|
|
2420
|
+
return jspb.Message.getField(this, 1) != null;
|
|
2421
|
+
};
|
|
2422
|
+
|
|
2423
|
+
|
|
2424
|
+
/**
|
|
2425
|
+
* optional InviteCode code = 2;
|
|
2426
|
+
* @return {?proto.gateway.web.v1.InviteCode}
|
|
2427
|
+
*/
|
|
2428
|
+
proto.gateway.web.v1.SendInviteCodeEmailResponse.prototype.getCode = function() {
|
|
2429
|
+
return /** @type{?proto.gateway.web.v1.InviteCode} */ (
|
|
2430
|
+
jspb.Message.getWrapperField(this, proto.gateway.web.v1.InviteCode, 2));
|
|
2431
|
+
};
|
|
2432
|
+
|
|
2433
|
+
|
|
2434
|
+
/**
|
|
2435
|
+
* @param {?proto.gateway.web.v1.InviteCode|undefined} value
|
|
2436
|
+
* @return {!proto.gateway.web.v1.SendInviteCodeEmailResponse} returns this
|
|
2437
|
+
*/
|
|
2438
|
+
proto.gateway.web.v1.SendInviteCodeEmailResponse.prototype.setCode = function(value) {
|
|
2439
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
2440
|
+
};
|
|
2441
|
+
|
|
2442
|
+
|
|
2443
|
+
/**
|
|
2444
|
+
* Clears the message field making it undefined.
|
|
2445
|
+
* @return {!proto.gateway.web.v1.SendInviteCodeEmailResponse} returns this
|
|
2446
|
+
*/
|
|
2447
|
+
proto.gateway.web.v1.SendInviteCodeEmailResponse.prototype.clearCode = function() {
|
|
2448
|
+
return this.setCode(undefined);
|
|
2449
|
+
};
|
|
2450
|
+
|
|
2451
|
+
|
|
2452
|
+
/**
|
|
2453
|
+
* Returns whether this field is set.
|
|
2454
|
+
* @return {boolean}
|
|
2455
|
+
*/
|
|
2456
|
+
proto.gateway.web.v1.SendInviteCodeEmailResponse.prototype.hasCode = function() {
|
|
2457
|
+
return jspb.Message.getField(this, 2) != null;
|
|
2458
|
+
};
|
|
2459
|
+
|
|
2460
|
+
|
|
2461
|
+
|
|
2462
|
+
|
|
2463
|
+
|
|
2007
2464
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2008
2465
|
/**
|
|
2009
2466
|
* Creates an object representation of this proto.
|