@sniipwebmaster/email-import-service-client-grpcweb 0.2.566 → 0.2.585

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.
@@ -365,6 +365,61 @@ proto.sniipemailimportapi.SniipEmailImportAPIServicePromiseClient.prototype.manu
365
365
  };
366
366
 
367
367
 
368
+ /**
369
+ * @const
370
+ * @type {!grpc.web.AbstractClientBase.MethodInfo<
371
+ * !proto.google.protobuf.Empty,
372
+ * !proto.sniipemailimportapi.ResponseCode>}
373
+ */
374
+ const methodInfo_SniipEmailImportAPIService_RefreshTokens = new grpc.web.AbstractClientBase.MethodInfo(
375
+ proto.sniipemailimportapi.ResponseCode,
376
+ /** @param {!proto.google.protobuf.Empty} request */
377
+ function(request) {
378
+ return request.serializeBinary();
379
+ },
380
+ proto.sniipemailimportapi.ResponseCode.deserializeBinary
381
+ );
382
+
383
+
384
+ /**
385
+ * @param {!proto.google.protobuf.Empty} request The
386
+ * request proto
387
+ * @param {?Object<string, string>} metadata User defined
388
+ * call metadata
389
+ * @param {function(?grpc.web.Error, ?proto.sniipemailimportapi.ResponseCode)}
390
+ * callback The callback function(error, response)
391
+ * @return {!grpc.web.ClientReadableStream<!proto.sniipemailimportapi.ResponseCode>|undefined}
392
+ * The XHR Node Readable Stream
393
+ */
394
+ proto.sniipemailimportapi.SniipEmailImportAPIServiceClient.prototype.refreshTokens =
395
+ function(request, metadata, callback) {
396
+ return this.client_.rpcCall(this.hostname_ +
397
+ '/sniipemailimportapi.SniipEmailImportAPIService/RefreshTokens',
398
+ request,
399
+ metadata || {},
400
+ methodInfo_SniipEmailImportAPIService_RefreshTokens,
401
+ callback);
402
+ };
403
+
404
+
405
+ /**
406
+ * @param {!proto.google.protobuf.Empty} request The
407
+ * request proto
408
+ * @param {?Object<string, string>} metadata User defined
409
+ * call metadata
410
+ * @return {!Promise<!proto.sniipemailimportapi.ResponseCode>}
411
+ * A native promise that resolves to the response
412
+ */
413
+ proto.sniipemailimportapi.SniipEmailImportAPIServicePromiseClient.prototype.refreshTokens =
414
+ function(request, metadata) {
415
+ return this.client_.unaryCall(this.hostname_ +
416
+ '/sniipemailimportapi.SniipEmailImportAPIService/RefreshTokens',
417
+ request,
418
+ metadata || {},
419
+ methodInfo_SniipEmailImportAPIService_RefreshTokens);
420
+ };
421
+
422
+
368
423
  /**
369
424
  * @const
370
425
  * @type {!grpc.web.AbstractClientBase.MethodInfo<
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sniipwebmaster/email-import-service-client-grpcweb",
3
- "version": "0.2.566",
3
+ "version": "0.2.585",
4
4
  "description": "email-import-service-client-grpcweb",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",