@sniipwebmaster/agent-billing-client-grpcweb 23.6.130 → 23.6.148

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.
@@ -472,6 +472,86 @@ proto.agentbillingserviceapi.AgentBillingServiceAPIServicePromiseClient.prototyp
472
472
  };
473
473
 
474
474
 
475
+ /**
476
+ * @const
477
+ * @type {!grpc.web.MethodDescriptor<
478
+ * !proto.agentbillingserviceapi.GetAssociatedClientsRequest,
479
+ * !proto.agentbillingserviceapi.GetAssociatedClientsResponse>}
480
+ */
481
+ const methodDescriptor_AgentBillingServiceAPIService_GetAssociatedClients = new grpc.web.MethodDescriptor(
482
+ '/agentbillingserviceapi.AgentBillingServiceAPIService/GetAssociatedClients',
483
+ grpc.web.MethodType.UNARY,
484
+ proto.agentbillingserviceapi.GetAssociatedClientsRequest,
485
+ proto.agentbillingserviceapi.GetAssociatedClientsResponse,
486
+ /**
487
+ * @param {!proto.agentbillingserviceapi.GetAssociatedClientsRequest} request
488
+ * @return {!Uint8Array}
489
+ */
490
+ function(request) {
491
+ return request.serializeBinary();
492
+ },
493
+ proto.agentbillingserviceapi.GetAssociatedClientsResponse.deserializeBinary
494
+ );
495
+
496
+
497
+ /**
498
+ * @const
499
+ * @type {!grpc.web.AbstractClientBase.MethodInfo<
500
+ * !proto.agentbillingserviceapi.GetAssociatedClientsRequest,
501
+ * !proto.agentbillingserviceapi.GetAssociatedClientsResponse>}
502
+ */
503
+ const methodInfo_AgentBillingServiceAPIService_GetAssociatedClients = new grpc.web.AbstractClientBase.MethodInfo(
504
+ proto.agentbillingserviceapi.GetAssociatedClientsResponse,
505
+ /**
506
+ * @param {!proto.agentbillingserviceapi.GetAssociatedClientsRequest} request
507
+ * @return {!Uint8Array}
508
+ */
509
+ function(request) {
510
+ return request.serializeBinary();
511
+ },
512
+ proto.agentbillingserviceapi.GetAssociatedClientsResponse.deserializeBinary
513
+ );
514
+
515
+
516
+ /**
517
+ * @param {!proto.agentbillingserviceapi.GetAssociatedClientsRequest} request The
518
+ * request proto
519
+ * @param {?Object<string, string>} metadata User defined
520
+ * call metadata
521
+ * @param {function(?grpc.web.Error, ?proto.agentbillingserviceapi.GetAssociatedClientsResponse)}
522
+ * callback The callback function(error, response)
523
+ * @return {!grpc.web.ClientReadableStream<!proto.agentbillingserviceapi.GetAssociatedClientsResponse>|undefined}
524
+ * The XHR Node Readable Stream
525
+ */
526
+ proto.agentbillingserviceapi.AgentBillingServiceAPIServiceClient.prototype.getAssociatedClients =
527
+ function(request, metadata, callback) {
528
+ return this.client_.rpcCall(this.hostname_ +
529
+ '/agentbillingserviceapi.AgentBillingServiceAPIService/GetAssociatedClients',
530
+ request,
531
+ metadata || {},
532
+ methodDescriptor_AgentBillingServiceAPIService_GetAssociatedClients,
533
+ callback);
534
+ };
535
+
536
+
537
+ /**
538
+ * @param {!proto.agentbillingserviceapi.GetAssociatedClientsRequest} request The
539
+ * request proto
540
+ * @param {?Object<string, string>} metadata User defined
541
+ * call metadata
542
+ * @return {!Promise<!proto.agentbillingserviceapi.GetAssociatedClientsResponse>}
543
+ * Promise that resolves to the response
544
+ */
545
+ proto.agentbillingserviceapi.AgentBillingServiceAPIServicePromiseClient.prototype.getAssociatedClients =
546
+ function(request, metadata) {
547
+ return this.client_.unaryCall(this.hostname_ +
548
+ '/agentbillingserviceapi.AgentBillingServiceAPIService/GetAssociatedClients',
549
+ request,
550
+ metadata || {},
551
+ methodDescriptor_AgentBillingServiceAPIService_GetAssociatedClients);
552
+ };
553
+
554
+
475
555
  /**
476
556
  * @const
477
557
  * @type {!grpc.web.MethodDescriptor<
@@ -552,5 +632,85 @@ proto.agentbillingserviceapi.AgentBillingServiceAPIServicePromiseClient.prototyp
552
632
  };
553
633
 
554
634
 
635
+ /**
636
+ * @const
637
+ * @type {!grpc.web.MethodDescriptor<
638
+ * !proto.agentbillingserviceapi.ResendAgentInvitationRequest,
639
+ * !proto.agentbillingserviceapi.ResponseCode>}
640
+ */
641
+ const methodDescriptor_AgentBillingServiceAPIService_ResendAgentInvitation = new grpc.web.MethodDescriptor(
642
+ '/agentbillingserviceapi.AgentBillingServiceAPIService/ResendAgentInvitation',
643
+ grpc.web.MethodType.UNARY,
644
+ proto.agentbillingserviceapi.ResendAgentInvitationRequest,
645
+ proto.agentbillingserviceapi.ResponseCode,
646
+ /**
647
+ * @param {!proto.agentbillingserviceapi.ResendAgentInvitationRequest} request
648
+ * @return {!Uint8Array}
649
+ */
650
+ function(request) {
651
+ return request.serializeBinary();
652
+ },
653
+ proto.agentbillingserviceapi.ResponseCode.deserializeBinary
654
+ );
655
+
656
+
657
+ /**
658
+ * @const
659
+ * @type {!grpc.web.AbstractClientBase.MethodInfo<
660
+ * !proto.agentbillingserviceapi.ResendAgentInvitationRequest,
661
+ * !proto.agentbillingserviceapi.ResponseCode>}
662
+ */
663
+ const methodInfo_AgentBillingServiceAPIService_ResendAgentInvitation = new grpc.web.AbstractClientBase.MethodInfo(
664
+ proto.agentbillingserviceapi.ResponseCode,
665
+ /**
666
+ * @param {!proto.agentbillingserviceapi.ResendAgentInvitationRequest} request
667
+ * @return {!Uint8Array}
668
+ */
669
+ function(request) {
670
+ return request.serializeBinary();
671
+ },
672
+ proto.agentbillingserviceapi.ResponseCode.deserializeBinary
673
+ );
674
+
675
+
676
+ /**
677
+ * @param {!proto.agentbillingserviceapi.ResendAgentInvitationRequest} request The
678
+ * request proto
679
+ * @param {?Object<string, string>} metadata User defined
680
+ * call metadata
681
+ * @param {function(?grpc.web.Error, ?proto.agentbillingserviceapi.ResponseCode)}
682
+ * callback The callback function(error, response)
683
+ * @return {!grpc.web.ClientReadableStream<!proto.agentbillingserviceapi.ResponseCode>|undefined}
684
+ * The XHR Node Readable Stream
685
+ */
686
+ proto.agentbillingserviceapi.AgentBillingServiceAPIServiceClient.prototype.resendAgentInvitation =
687
+ function(request, metadata, callback) {
688
+ return this.client_.rpcCall(this.hostname_ +
689
+ '/agentbillingserviceapi.AgentBillingServiceAPIService/ResendAgentInvitation',
690
+ request,
691
+ metadata || {},
692
+ methodDescriptor_AgentBillingServiceAPIService_ResendAgentInvitation,
693
+ callback);
694
+ };
695
+
696
+
697
+ /**
698
+ * @param {!proto.agentbillingserviceapi.ResendAgentInvitationRequest} request The
699
+ * request proto
700
+ * @param {?Object<string, string>} metadata User defined
701
+ * call metadata
702
+ * @return {!Promise<!proto.agentbillingserviceapi.ResponseCode>}
703
+ * Promise that resolves to the response
704
+ */
705
+ proto.agentbillingserviceapi.AgentBillingServiceAPIServicePromiseClient.prototype.resendAgentInvitation =
706
+ function(request, metadata) {
707
+ return this.client_.unaryCall(this.hostname_ +
708
+ '/agentbillingserviceapi.AgentBillingServiceAPIService/ResendAgentInvitation',
709
+ request,
710
+ metadata || {},
711
+ methodDescriptor_AgentBillingServiceAPIService_ResendAgentInvitation);
712
+ };
713
+
714
+
555
715
  module.exports = proto.agentbillingserviceapi;
556
716
 
@@ -22,8 +22,10 @@ goog.exportSymbol('proto.agentbillingserviceapi.DisconnectAgentRequest', null, g
22
22
  goog.exportSymbol('proto.agentbillingserviceapi.DisconnectClientRequest', null, global);
23
23
  goog.exportSymbol('proto.agentbillingserviceapi.GetAssociatedAgentsRequest', null, global);
24
24
  goog.exportSymbol('proto.agentbillingserviceapi.GetAssociatedAgentsResponse', null, global);
25
+ goog.exportSymbol('proto.agentbillingserviceapi.GetAssociatedClientsRequest', null, global);
25
26
  goog.exportSymbol('proto.agentbillingserviceapi.GetAssociatedClientsResponse', null, global);
26
27
  goog.exportSymbol('proto.agentbillingserviceapi.InviteAgentRequest', null, global);
28
+ goog.exportSymbol('proto.agentbillingserviceapi.ResendAgentInvitationRequest', null, global);
27
29
  goog.exportSymbol('proto.agentbillingserviceapi.ResponseCode', null, global);
28
30
  /**
29
31
  * Generated by JsPbCodeGenerator.
@@ -193,6 +195,27 @@ if (goog.DEBUG && !COMPILED) {
193
195
  */
194
196
  proto.agentbillingserviceapi.GetAssociatedAgentsResponse.displayName = 'proto.agentbillingserviceapi.GetAssociatedAgentsResponse';
195
197
  }
198
+ /**
199
+ * Generated by JsPbCodeGenerator.
200
+ * @param {Array=} opt_data Optional initial data array, typically from a
201
+ * server response, or constructed directly in Javascript. The array is used
202
+ * in place and becomes part of the constructed object. It is not cloned.
203
+ * If no data is provided, the constructed object will be empty, but still
204
+ * valid.
205
+ * @extends {jspb.Message}
206
+ * @constructor
207
+ */
208
+ proto.agentbillingserviceapi.GetAssociatedClientsRequest = function(opt_data) {
209
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
210
+ };
211
+ goog.inherits(proto.agentbillingserviceapi.GetAssociatedClientsRequest, jspb.Message);
212
+ if (goog.DEBUG && !COMPILED) {
213
+ /**
214
+ * @public
215
+ * @override
216
+ */
217
+ proto.agentbillingserviceapi.GetAssociatedClientsRequest.displayName = 'proto.agentbillingserviceapi.GetAssociatedClientsRequest';
218
+ }
196
219
  /**
197
220
  * Generated by JsPbCodeGenerator.
198
221
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -235,6 +258,27 @@ if (goog.DEBUG && !COMPILED) {
235
258
  */
236
259
  proto.agentbillingserviceapi.InviteAgentRequest.displayName = 'proto.agentbillingserviceapi.InviteAgentRequest';
237
260
  }
261
+ /**
262
+ * Generated by JsPbCodeGenerator.
263
+ * @param {Array=} opt_data Optional initial data array, typically from a
264
+ * server response, or constructed directly in Javascript. The array is used
265
+ * in place and becomes part of the constructed object. It is not cloned.
266
+ * If no data is provided, the constructed object will be empty, but still
267
+ * valid.
268
+ * @extends {jspb.Message}
269
+ * @constructor
270
+ */
271
+ proto.agentbillingserviceapi.ResendAgentInvitationRequest = function(opt_data) {
272
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
273
+ };
274
+ goog.inherits(proto.agentbillingserviceapi.ResendAgentInvitationRequest, jspb.Message);
275
+ if (goog.DEBUG && !COMPILED) {
276
+ /**
277
+ * @public
278
+ * @override
279
+ */
280
+ proto.agentbillingserviceapi.ResendAgentInvitationRequest.displayName = 'proto.agentbillingserviceapi.ResendAgentInvitationRequest';
281
+ }
238
282
  /**
239
283
  * Generated by JsPbCodeGenerator.
240
284
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -2098,6 +2142,196 @@ proto.agentbillingserviceapi.GetAssociatedAgentsResponse.prototype.setTotalsize
2098
2142
 
2099
2143
 
2100
2144
 
2145
+
2146
+
2147
+ if (jspb.Message.GENERATE_TO_OBJECT) {
2148
+ /**
2149
+ * Creates an object representation of this proto.
2150
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
2151
+ * Optional fields that are not set will be set to undefined.
2152
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2153
+ * For the list of reserved names please see:
2154
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2155
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2156
+ * JSPB instance for transitional soy proto support:
2157
+ * http://goto/soy-param-migration
2158
+ * @return {!Object}
2159
+ */
2160
+ proto.agentbillingserviceapi.GetAssociatedClientsRequest.prototype.toObject = function(opt_includeInstance) {
2161
+ return proto.agentbillingserviceapi.GetAssociatedClientsRequest.toObject(opt_includeInstance, this);
2162
+ };
2163
+
2164
+
2165
+ /**
2166
+ * Static version of the {@see toObject} method.
2167
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2168
+ * the JSPB instance for transitional soy proto support:
2169
+ * http://goto/soy-param-migration
2170
+ * @param {!proto.agentbillingserviceapi.GetAssociatedClientsRequest} msg The msg instance to transform.
2171
+ * @return {!Object}
2172
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2173
+ */
2174
+ proto.agentbillingserviceapi.GetAssociatedClientsRequest.toObject = function(includeInstance, msg) {
2175
+ var f, obj = {
2176
+ page: jspb.Message.getFieldWithDefault(msg, 1, 0),
2177
+ size: jspb.Message.getFieldWithDefault(msg, 2, 0),
2178
+ userid: jspb.Message.getFieldWithDefault(msg, 3, 0)
2179
+ };
2180
+
2181
+ if (includeInstance) {
2182
+ obj.$jspbMessageInstance = msg;
2183
+ }
2184
+ return obj;
2185
+ };
2186
+ }
2187
+
2188
+
2189
+ /**
2190
+ * Deserializes binary data (in protobuf wire format).
2191
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
2192
+ * @return {!proto.agentbillingserviceapi.GetAssociatedClientsRequest}
2193
+ */
2194
+ proto.agentbillingserviceapi.GetAssociatedClientsRequest.deserializeBinary = function(bytes) {
2195
+ var reader = new jspb.BinaryReader(bytes);
2196
+ var msg = new proto.agentbillingserviceapi.GetAssociatedClientsRequest;
2197
+ return proto.agentbillingserviceapi.GetAssociatedClientsRequest.deserializeBinaryFromReader(msg, reader);
2198
+ };
2199
+
2200
+
2201
+ /**
2202
+ * Deserializes binary data (in protobuf wire format) from the
2203
+ * given reader into the given message object.
2204
+ * @param {!proto.agentbillingserviceapi.GetAssociatedClientsRequest} msg The message object to deserialize into.
2205
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2206
+ * @return {!proto.agentbillingserviceapi.GetAssociatedClientsRequest}
2207
+ */
2208
+ proto.agentbillingserviceapi.GetAssociatedClientsRequest.deserializeBinaryFromReader = function(msg, reader) {
2209
+ while (reader.nextField()) {
2210
+ if (reader.isEndGroup()) {
2211
+ break;
2212
+ }
2213
+ var field = reader.getFieldNumber();
2214
+ switch (field) {
2215
+ case 1:
2216
+ var value = /** @type {number} */ (reader.readInt32());
2217
+ msg.setPage(value);
2218
+ break;
2219
+ case 2:
2220
+ var value = /** @type {number} */ (reader.readInt32());
2221
+ msg.setSize(value);
2222
+ break;
2223
+ case 3:
2224
+ var value = /** @type {number} */ (reader.readInt64());
2225
+ msg.setUserid(value);
2226
+ break;
2227
+ default:
2228
+ reader.skipField();
2229
+ break;
2230
+ }
2231
+ }
2232
+ return msg;
2233
+ };
2234
+
2235
+
2236
+ /**
2237
+ * Serializes the message to binary data (in protobuf wire format).
2238
+ * @return {!Uint8Array}
2239
+ */
2240
+ proto.agentbillingserviceapi.GetAssociatedClientsRequest.prototype.serializeBinary = function() {
2241
+ var writer = new jspb.BinaryWriter();
2242
+ proto.agentbillingserviceapi.GetAssociatedClientsRequest.serializeBinaryToWriter(this, writer);
2243
+ return writer.getResultBuffer();
2244
+ };
2245
+
2246
+
2247
+ /**
2248
+ * Serializes the given message to binary data (in protobuf wire
2249
+ * format), writing to the given BinaryWriter.
2250
+ * @param {!proto.agentbillingserviceapi.GetAssociatedClientsRequest} message
2251
+ * @param {!jspb.BinaryWriter} writer
2252
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2253
+ */
2254
+ proto.agentbillingserviceapi.GetAssociatedClientsRequest.serializeBinaryToWriter = function(message, writer) {
2255
+ var f = undefined;
2256
+ f = message.getPage();
2257
+ if (f !== 0) {
2258
+ writer.writeInt32(
2259
+ 1,
2260
+ f
2261
+ );
2262
+ }
2263
+ f = message.getSize();
2264
+ if (f !== 0) {
2265
+ writer.writeInt32(
2266
+ 2,
2267
+ f
2268
+ );
2269
+ }
2270
+ f = message.getUserid();
2271
+ if (f !== 0) {
2272
+ writer.writeInt64(
2273
+ 3,
2274
+ f
2275
+ );
2276
+ }
2277
+ };
2278
+
2279
+
2280
+ /**
2281
+ * optional int32 page = 1;
2282
+ * @return {number}
2283
+ */
2284
+ proto.agentbillingserviceapi.GetAssociatedClientsRequest.prototype.getPage = function() {
2285
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
2286
+ };
2287
+
2288
+
2289
+ /**
2290
+ * @param {number} value
2291
+ * @return {!proto.agentbillingserviceapi.GetAssociatedClientsRequest} returns this
2292
+ */
2293
+ proto.agentbillingserviceapi.GetAssociatedClientsRequest.prototype.setPage = function(value) {
2294
+ return jspb.Message.setProto3IntField(this, 1, value);
2295
+ };
2296
+
2297
+
2298
+ /**
2299
+ * optional int32 size = 2;
2300
+ * @return {number}
2301
+ */
2302
+ proto.agentbillingserviceapi.GetAssociatedClientsRequest.prototype.getSize = function() {
2303
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
2304
+ };
2305
+
2306
+
2307
+ /**
2308
+ * @param {number} value
2309
+ * @return {!proto.agentbillingserviceapi.GetAssociatedClientsRequest} returns this
2310
+ */
2311
+ proto.agentbillingserviceapi.GetAssociatedClientsRequest.prototype.setSize = function(value) {
2312
+ return jspb.Message.setProto3IntField(this, 2, value);
2313
+ };
2314
+
2315
+
2316
+ /**
2317
+ * optional int64 userId = 3;
2318
+ * @return {number}
2319
+ */
2320
+ proto.agentbillingserviceapi.GetAssociatedClientsRequest.prototype.getUserid = function() {
2321
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
2322
+ };
2323
+
2324
+
2325
+ /**
2326
+ * @param {number} value
2327
+ * @return {!proto.agentbillingserviceapi.GetAssociatedClientsRequest} returns this
2328
+ */
2329
+ proto.agentbillingserviceapi.GetAssociatedClientsRequest.prototype.setUserid = function(value) {
2330
+ return jspb.Message.setProto3IntField(this, 3, value);
2331
+ };
2332
+
2333
+
2334
+
2101
2335
  /**
2102
2336
  * List of repeated fields within this message type.
2103
2337
  * @private {!Array<number>}
@@ -2561,6 +2795,136 @@ proto.agentbillingserviceapi.InviteAgentRequest.prototype.setAgentemail = functi
2561
2795
 
2562
2796
 
2563
2797
 
2798
+ if (jspb.Message.GENERATE_TO_OBJECT) {
2799
+ /**
2800
+ * Creates an object representation of this proto.
2801
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
2802
+ * Optional fields that are not set will be set to undefined.
2803
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2804
+ * For the list of reserved names please see:
2805
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2806
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2807
+ * JSPB instance for transitional soy proto support:
2808
+ * http://goto/soy-param-migration
2809
+ * @return {!Object}
2810
+ */
2811
+ proto.agentbillingserviceapi.ResendAgentInvitationRequest.prototype.toObject = function(opt_includeInstance) {
2812
+ return proto.agentbillingserviceapi.ResendAgentInvitationRequest.toObject(opt_includeInstance, this);
2813
+ };
2814
+
2815
+
2816
+ /**
2817
+ * Static version of the {@see toObject} method.
2818
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2819
+ * the JSPB instance for transitional soy proto support:
2820
+ * http://goto/soy-param-migration
2821
+ * @param {!proto.agentbillingserviceapi.ResendAgentInvitationRequest} msg The msg instance to transform.
2822
+ * @return {!Object}
2823
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2824
+ */
2825
+ proto.agentbillingserviceapi.ResendAgentInvitationRequest.toObject = function(includeInstance, msg) {
2826
+ var f, obj = {
2827
+ agentemail: jspb.Message.getFieldWithDefault(msg, 1, "")
2828
+ };
2829
+
2830
+ if (includeInstance) {
2831
+ obj.$jspbMessageInstance = msg;
2832
+ }
2833
+ return obj;
2834
+ };
2835
+ }
2836
+
2837
+
2838
+ /**
2839
+ * Deserializes binary data (in protobuf wire format).
2840
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
2841
+ * @return {!proto.agentbillingserviceapi.ResendAgentInvitationRequest}
2842
+ */
2843
+ proto.agentbillingserviceapi.ResendAgentInvitationRequest.deserializeBinary = function(bytes) {
2844
+ var reader = new jspb.BinaryReader(bytes);
2845
+ var msg = new proto.agentbillingserviceapi.ResendAgentInvitationRequest;
2846
+ return proto.agentbillingserviceapi.ResendAgentInvitationRequest.deserializeBinaryFromReader(msg, reader);
2847
+ };
2848
+
2849
+
2850
+ /**
2851
+ * Deserializes binary data (in protobuf wire format) from the
2852
+ * given reader into the given message object.
2853
+ * @param {!proto.agentbillingserviceapi.ResendAgentInvitationRequest} msg The message object to deserialize into.
2854
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2855
+ * @return {!proto.agentbillingserviceapi.ResendAgentInvitationRequest}
2856
+ */
2857
+ proto.agentbillingserviceapi.ResendAgentInvitationRequest.deserializeBinaryFromReader = function(msg, reader) {
2858
+ while (reader.nextField()) {
2859
+ if (reader.isEndGroup()) {
2860
+ break;
2861
+ }
2862
+ var field = reader.getFieldNumber();
2863
+ switch (field) {
2864
+ case 1:
2865
+ var value = /** @type {string} */ (reader.readString());
2866
+ msg.setAgentemail(value);
2867
+ break;
2868
+ default:
2869
+ reader.skipField();
2870
+ break;
2871
+ }
2872
+ }
2873
+ return msg;
2874
+ };
2875
+
2876
+
2877
+ /**
2878
+ * Serializes the message to binary data (in protobuf wire format).
2879
+ * @return {!Uint8Array}
2880
+ */
2881
+ proto.agentbillingserviceapi.ResendAgentInvitationRequest.prototype.serializeBinary = function() {
2882
+ var writer = new jspb.BinaryWriter();
2883
+ proto.agentbillingserviceapi.ResendAgentInvitationRequest.serializeBinaryToWriter(this, writer);
2884
+ return writer.getResultBuffer();
2885
+ };
2886
+
2887
+
2888
+ /**
2889
+ * Serializes the given message to binary data (in protobuf wire
2890
+ * format), writing to the given BinaryWriter.
2891
+ * @param {!proto.agentbillingserviceapi.ResendAgentInvitationRequest} message
2892
+ * @param {!jspb.BinaryWriter} writer
2893
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2894
+ */
2895
+ proto.agentbillingserviceapi.ResendAgentInvitationRequest.serializeBinaryToWriter = function(message, writer) {
2896
+ var f = undefined;
2897
+ f = message.getAgentemail();
2898
+ if (f.length > 0) {
2899
+ writer.writeString(
2900
+ 1,
2901
+ f
2902
+ );
2903
+ }
2904
+ };
2905
+
2906
+
2907
+ /**
2908
+ * optional string agentEmail = 1;
2909
+ * @return {string}
2910
+ */
2911
+ proto.agentbillingserviceapi.ResendAgentInvitationRequest.prototype.getAgentemail = function() {
2912
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
2913
+ };
2914
+
2915
+
2916
+ /**
2917
+ * @param {string} value
2918
+ * @return {!proto.agentbillingserviceapi.ResendAgentInvitationRequest} returns this
2919
+ */
2920
+ proto.agentbillingserviceapi.ResendAgentInvitationRequest.prototype.setAgentemail = function(value) {
2921
+ return jspb.Message.setProto3StringField(this, 1, value);
2922
+ };
2923
+
2924
+
2925
+
2926
+
2927
+
2564
2928
  if (jspb.Message.GENERATE_TO_OBJECT) {
2565
2929
  /**
2566
2930
  * Creates an object representation of this proto.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sniipwebmaster/agent-billing-client-grpcweb",
3
- "version": "23.6.130",
3
+ "version": "23.6.148",
4
4
  "description": "agent-billing-client-grpcweb",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",