@sniipwebmaster/user-service-client-grpcweb 0.2.3609 → 21.8.4644

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.
@@ -750,6 +750,61 @@ proto.sniipuserservice.SniipUserServiceServicePromiseClient.prototype.createAcco
750
750
  };
751
751
 
752
752
 
753
+ /**
754
+ * @const
755
+ * @type {!grpc.web.AbstractClientBase.MethodInfo<
756
+ * !proto.google.protobuf.Empty,
757
+ * !proto.sniipuserservice.ApiKeyResponse>}
758
+ */
759
+ const methodInfo_SniipUserServiceService_CreateApiKey = new grpc.web.AbstractClientBase.MethodInfo(
760
+ proto.sniipuserservice.ApiKeyResponse,
761
+ /** @param {!proto.google.protobuf.Empty} request */
762
+ function(request) {
763
+ return request.serializeBinary();
764
+ },
765
+ proto.sniipuserservice.ApiKeyResponse.deserializeBinary
766
+ );
767
+
768
+
769
+ /**
770
+ * @param {!proto.google.protobuf.Empty} request The
771
+ * request proto
772
+ * @param {?Object<string, string>} metadata User defined
773
+ * call metadata
774
+ * @param {function(?grpc.web.Error, ?proto.sniipuserservice.ApiKeyResponse)}
775
+ * callback The callback function(error, response)
776
+ * @return {!grpc.web.ClientReadableStream<!proto.sniipuserservice.ApiKeyResponse>|undefined}
777
+ * The XHR Node Readable Stream
778
+ */
779
+ proto.sniipuserservice.SniipUserServiceServiceClient.prototype.createApiKey =
780
+ function(request, metadata, callback) {
781
+ return this.client_.rpcCall(this.hostname_ +
782
+ '/sniipuserservice.SniipUserServiceService/CreateApiKey',
783
+ request,
784
+ metadata || {},
785
+ methodInfo_SniipUserServiceService_CreateApiKey,
786
+ callback);
787
+ };
788
+
789
+
790
+ /**
791
+ * @param {!proto.google.protobuf.Empty} request The
792
+ * request proto
793
+ * @param {?Object<string, string>} metadata User defined
794
+ * call metadata
795
+ * @return {!Promise<!proto.sniipuserservice.ApiKeyResponse>}
796
+ * A native promise that resolves to the response
797
+ */
798
+ proto.sniipuserservice.SniipUserServiceServicePromiseClient.prototype.createApiKey =
799
+ function(request, metadata) {
800
+ return this.client_.unaryCall(this.hostname_ +
801
+ '/sniipuserservice.SniipUserServiceService/CreateApiKey',
802
+ request,
803
+ metadata || {},
804
+ methodInfo_SniipUserServiceService_CreateApiKey);
805
+ };
806
+
807
+
753
808
  /**
754
809
  * @const
755
810
  * @type {!grpc.web.AbstractClientBase.MethodInfo<
@@ -1410,6 +1465,61 @@ proto.sniipuserservice.SniipUserServiceServicePromiseClient.prototype.deleteBill
1410
1465
  };
1411
1466
 
1412
1467
 
1468
+ /**
1469
+ * @const
1470
+ * @type {!grpc.web.AbstractClientBase.MethodInfo<
1471
+ * !proto.google.protobuf.Empty,
1472
+ * !proto.sniipuserservice.ResponseCode>}
1473
+ */
1474
+ const methodInfo_SniipUserServiceService_DeleteProfilePicture = new grpc.web.AbstractClientBase.MethodInfo(
1475
+ proto.sniipuserservice.ResponseCode,
1476
+ /** @param {!proto.google.protobuf.Empty} request */
1477
+ function(request) {
1478
+ return request.serializeBinary();
1479
+ },
1480
+ proto.sniipuserservice.ResponseCode.deserializeBinary
1481
+ );
1482
+
1483
+
1484
+ /**
1485
+ * @param {!proto.google.protobuf.Empty} request The
1486
+ * request proto
1487
+ * @param {?Object<string, string>} metadata User defined
1488
+ * call metadata
1489
+ * @param {function(?grpc.web.Error, ?proto.sniipuserservice.ResponseCode)}
1490
+ * callback The callback function(error, response)
1491
+ * @return {!grpc.web.ClientReadableStream<!proto.sniipuserservice.ResponseCode>|undefined}
1492
+ * The XHR Node Readable Stream
1493
+ */
1494
+ proto.sniipuserservice.SniipUserServiceServiceClient.prototype.deleteProfilePicture =
1495
+ function(request, metadata, callback) {
1496
+ return this.client_.rpcCall(this.hostname_ +
1497
+ '/sniipuserservice.SniipUserServiceService/DeleteProfilePicture',
1498
+ request,
1499
+ metadata || {},
1500
+ methodInfo_SniipUserServiceService_DeleteProfilePicture,
1501
+ callback);
1502
+ };
1503
+
1504
+
1505
+ /**
1506
+ * @param {!proto.google.protobuf.Empty} request The
1507
+ * request proto
1508
+ * @param {?Object<string, string>} metadata User defined
1509
+ * call metadata
1510
+ * @return {!Promise<!proto.sniipuserservice.ResponseCode>}
1511
+ * A native promise that resolves to the response
1512
+ */
1513
+ proto.sniipuserservice.SniipUserServiceServicePromiseClient.prototype.deleteProfilePicture =
1514
+ function(request, metadata) {
1515
+ return this.client_.unaryCall(this.hostname_ +
1516
+ '/sniipuserservice.SniipUserServiceService/DeleteProfilePicture',
1517
+ request,
1518
+ metadata || {},
1519
+ methodInfo_SniipUserServiceService_DeleteProfilePicture);
1520
+ };
1521
+
1522
+
1413
1523
  /**
1414
1524
  * @const
1415
1525
  * @type {!grpc.web.AbstractClientBase.MethodInfo<
@@ -1520,6 +1630,61 @@ proto.sniipuserservice.SniipUserServiceServicePromiseClient.prototype.getAllUser
1520
1630
  };
1521
1631
 
1522
1632
 
1633
+ /**
1634
+ * @const
1635
+ * @type {!grpc.web.AbstractClientBase.MethodInfo<
1636
+ * !proto.google.protobuf.Empty,
1637
+ * !proto.sniipuserservice.GetTemporaryAccessTokenResponse>}
1638
+ */
1639
+ const methodInfo_SniipUserServiceService_GetExternalTemporaryAccessToken = new grpc.web.AbstractClientBase.MethodInfo(
1640
+ proto.sniipuserservice.GetTemporaryAccessTokenResponse,
1641
+ /** @param {!proto.google.protobuf.Empty} request */
1642
+ function(request) {
1643
+ return request.serializeBinary();
1644
+ },
1645
+ proto.sniipuserservice.GetTemporaryAccessTokenResponse.deserializeBinary
1646
+ );
1647
+
1648
+
1649
+ /**
1650
+ * @param {!proto.google.protobuf.Empty} request The
1651
+ * request proto
1652
+ * @param {?Object<string, string>} metadata User defined
1653
+ * call metadata
1654
+ * @param {function(?grpc.web.Error, ?proto.sniipuserservice.GetTemporaryAccessTokenResponse)}
1655
+ * callback The callback function(error, response)
1656
+ * @return {!grpc.web.ClientReadableStream<!proto.sniipuserservice.GetTemporaryAccessTokenResponse>|undefined}
1657
+ * The XHR Node Readable Stream
1658
+ */
1659
+ proto.sniipuserservice.SniipUserServiceServiceClient.prototype.getExternalTemporaryAccessToken =
1660
+ function(request, metadata, callback) {
1661
+ return this.client_.rpcCall(this.hostname_ +
1662
+ '/sniipuserservice.SniipUserServiceService/GetExternalTemporaryAccessToken',
1663
+ request,
1664
+ metadata || {},
1665
+ methodInfo_SniipUserServiceService_GetExternalTemporaryAccessToken,
1666
+ callback);
1667
+ };
1668
+
1669
+
1670
+ /**
1671
+ * @param {!proto.google.protobuf.Empty} request The
1672
+ * request proto
1673
+ * @param {?Object<string, string>} metadata User defined
1674
+ * call metadata
1675
+ * @return {!Promise<!proto.sniipuserservice.GetTemporaryAccessTokenResponse>}
1676
+ * A native promise that resolves to the response
1677
+ */
1678
+ proto.sniipuserservice.SniipUserServiceServicePromiseClient.prototype.getExternalTemporaryAccessToken =
1679
+ function(request, metadata) {
1680
+ return this.client_.unaryCall(this.hostname_ +
1681
+ '/sniipuserservice.SniipUserServiceService/GetExternalTemporaryAccessToken',
1682
+ request,
1683
+ metadata || {},
1684
+ methodInfo_SniipUserServiceService_GetExternalTemporaryAccessToken);
1685
+ };
1686
+
1687
+
1523
1688
  /**
1524
1689
  * @const
1525
1690
  * @type {!grpc.web.AbstractClientBase.MethodInfo<
@@ -1575,6 +1740,61 @@ proto.sniipuserservice.SniipUserServiceServicePromiseClient.prototype.getInterna
1575
1740
  };
1576
1741
 
1577
1742
 
1743
+ /**
1744
+ * @const
1745
+ * @type {!grpc.web.AbstractClientBase.MethodInfo<
1746
+ * !proto.sniipuserservice.GetInternalProfileByApiKeyRequest,
1747
+ * !proto.sniipuserservice.UserProfileResponse>}
1748
+ */
1749
+ const methodInfo_SniipUserServiceService_GetInternalProfileByApiKey = new grpc.web.AbstractClientBase.MethodInfo(
1750
+ proto.sniipuserservice.UserProfileResponse,
1751
+ /** @param {!proto.sniipuserservice.GetInternalProfileByApiKeyRequest} request */
1752
+ function(request) {
1753
+ return request.serializeBinary();
1754
+ },
1755
+ proto.sniipuserservice.UserProfileResponse.deserializeBinary
1756
+ );
1757
+
1758
+
1759
+ /**
1760
+ * @param {!proto.sniipuserservice.GetInternalProfileByApiKeyRequest} request The
1761
+ * request proto
1762
+ * @param {?Object<string, string>} metadata User defined
1763
+ * call metadata
1764
+ * @param {function(?grpc.web.Error, ?proto.sniipuserservice.UserProfileResponse)}
1765
+ * callback The callback function(error, response)
1766
+ * @return {!grpc.web.ClientReadableStream<!proto.sniipuserservice.UserProfileResponse>|undefined}
1767
+ * The XHR Node Readable Stream
1768
+ */
1769
+ proto.sniipuserservice.SniipUserServiceServiceClient.prototype.getInternalProfileByApiKey =
1770
+ function(request, metadata, callback) {
1771
+ return this.client_.rpcCall(this.hostname_ +
1772
+ '/sniipuserservice.SniipUserServiceService/GetInternalProfileByApiKey',
1773
+ request,
1774
+ metadata || {},
1775
+ methodInfo_SniipUserServiceService_GetInternalProfileByApiKey,
1776
+ callback);
1777
+ };
1778
+
1779
+
1780
+ /**
1781
+ * @param {!proto.sniipuserservice.GetInternalProfileByApiKeyRequest} request The
1782
+ * request proto
1783
+ * @param {?Object<string, string>} metadata User defined
1784
+ * call metadata
1785
+ * @return {!Promise<!proto.sniipuserservice.UserProfileResponse>}
1786
+ * A native promise that resolves to the response
1787
+ */
1788
+ proto.sniipuserservice.SniipUserServiceServicePromiseClient.prototype.getInternalProfileByApiKey =
1789
+ function(request, metadata) {
1790
+ return this.client_.unaryCall(this.hostname_ +
1791
+ '/sniipuserservice.SniipUserServiceService/GetInternalProfileByApiKey',
1792
+ request,
1793
+ metadata || {},
1794
+ methodInfo_SniipUserServiceService_GetInternalProfileByApiKey);
1795
+ };
1796
+
1797
+
1578
1798
  /**
1579
1799
  * @const
1580
1800
  * @type {!grpc.web.AbstractClientBase.MethodInfo<
@@ -2015,6 +2235,61 @@ proto.sniipuserservice.SniipUserServiceServicePromiseClient.prototype.getTempora
2015
2235
  };
2016
2236
 
2017
2237
 
2238
+ /**
2239
+ * @const
2240
+ * @type {!grpc.web.AbstractClientBase.MethodInfo<
2241
+ * !proto.sniipuserservice.GetTemporaryAccessTokenFromApiKeyRequest,
2242
+ * !proto.sniipuserservice.GetTemporaryAccessTokenResponse>}
2243
+ */
2244
+ const methodInfo_SniipUserServiceService_GetTemporaryAccessTokenFromApiKey = new grpc.web.AbstractClientBase.MethodInfo(
2245
+ proto.sniipuserservice.GetTemporaryAccessTokenResponse,
2246
+ /** @param {!proto.sniipuserservice.GetTemporaryAccessTokenFromApiKeyRequest} request */
2247
+ function(request) {
2248
+ return request.serializeBinary();
2249
+ },
2250
+ proto.sniipuserservice.GetTemporaryAccessTokenResponse.deserializeBinary
2251
+ );
2252
+
2253
+
2254
+ /**
2255
+ * @param {!proto.sniipuserservice.GetTemporaryAccessTokenFromApiKeyRequest} request The
2256
+ * request proto
2257
+ * @param {?Object<string, string>} metadata User defined
2258
+ * call metadata
2259
+ * @param {function(?grpc.web.Error, ?proto.sniipuserservice.GetTemporaryAccessTokenResponse)}
2260
+ * callback The callback function(error, response)
2261
+ * @return {!grpc.web.ClientReadableStream<!proto.sniipuserservice.GetTemporaryAccessTokenResponse>|undefined}
2262
+ * The XHR Node Readable Stream
2263
+ */
2264
+ proto.sniipuserservice.SniipUserServiceServiceClient.prototype.getTemporaryAccessTokenFromApiKey =
2265
+ function(request, metadata, callback) {
2266
+ return this.client_.rpcCall(this.hostname_ +
2267
+ '/sniipuserservice.SniipUserServiceService/GetTemporaryAccessTokenFromApiKey',
2268
+ request,
2269
+ metadata || {},
2270
+ methodInfo_SniipUserServiceService_GetTemporaryAccessTokenFromApiKey,
2271
+ callback);
2272
+ };
2273
+
2274
+
2275
+ /**
2276
+ * @param {!proto.sniipuserservice.GetTemporaryAccessTokenFromApiKeyRequest} request The
2277
+ * request proto
2278
+ * @param {?Object<string, string>} metadata User defined
2279
+ * call metadata
2280
+ * @return {!Promise<!proto.sniipuserservice.GetTemporaryAccessTokenResponse>}
2281
+ * A native promise that resolves to the response
2282
+ */
2283
+ proto.sniipuserservice.SniipUserServiceServicePromiseClient.prototype.getTemporaryAccessTokenFromApiKey =
2284
+ function(request, metadata) {
2285
+ return this.client_.unaryCall(this.hostname_ +
2286
+ '/sniipuserservice.SniipUserServiceService/GetTemporaryAccessTokenFromApiKey',
2287
+ request,
2288
+ metadata || {},
2289
+ methodInfo_SniipUserServiceService_GetTemporaryAccessTokenFromApiKey);
2290
+ };
2291
+
2292
+
2018
2293
  /**
2019
2294
  * @const
2020
2295
  * @type {!grpc.web.AbstractClientBase.MethodInfo<
@@ -2180,6 +2455,61 @@ proto.sniipuserservice.SniipUserServiceServicePromiseClient.prototype.isEmailVer
2180
2455
  };
2181
2456
 
2182
2457
 
2458
+ /**
2459
+ * @const
2460
+ * @type {!grpc.web.AbstractClientBase.MethodInfo<
2461
+ * !proto.sniipuserservice.KycUsersRequest,
2462
+ * !proto.sniipuserservice.GetKycUsersResponse>}
2463
+ */
2464
+ const methodInfo_SniipUserServiceService_KycUsers = new grpc.web.AbstractClientBase.MethodInfo(
2465
+ proto.sniipuserservice.GetKycUsersResponse,
2466
+ /** @param {!proto.sniipuserservice.KycUsersRequest} request */
2467
+ function(request) {
2468
+ return request.serializeBinary();
2469
+ },
2470
+ proto.sniipuserservice.GetKycUsersResponse.deserializeBinary
2471
+ );
2472
+
2473
+
2474
+ /**
2475
+ * @param {!proto.sniipuserservice.KycUsersRequest} request The
2476
+ * request proto
2477
+ * @param {?Object<string, string>} metadata User defined
2478
+ * call metadata
2479
+ * @param {function(?grpc.web.Error, ?proto.sniipuserservice.GetKycUsersResponse)}
2480
+ * callback The callback function(error, response)
2481
+ * @return {!grpc.web.ClientReadableStream<!proto.sniipuserservice.GetKycUsersResponse>|undefined}
2482
+ * The XHR Node Readable Stream
2483
+ */
2484
+ proto.sniipuserservice.SniipUserServiceServiceClient.prototype.kycUsers =
2485
+ function(request, metadata, callback) {
2486
+ return this.client_.rpcCall(this.hostname_ +
2487
+ '/sniipuserservice.SniipUserServiceService/KycUsers',
2488
+ request,
2489
+ metadata || {},
2490
+ methodInfo_SniipUserServiceService_KycUsers,
2491
+ callback);
2492
+ };
2493
+
2494
+
2495
+ /**
2496
+ * @param {!proto.sniipuserservice.KycUsersRequest} request The
2497
+ * request proto
2498
+ * @param {?Object<string, string>} metadata User defined
2499
+ * call metadata
2500
+ * @return {!Promise<!proto.sniipuserservice.GetKycUsersResponse>}
2501
+ * A native promise that resolves to the response
2502
+ */
2503
+ proto.sniipuserservice.SniipUserServiceServicePromiseClient.prototype.kycUsers =
2504
+ function(request, metadata) {
2505
+ return this.client_.unaryCall(this.hostname_ +
2506
+ '/sniipuserservice.SniipUserServiceService/KycUsers',
2507
+ request,
2508
+ metadata || {},
2509
+ methodInfo_SniipUserServiceService_KycUsers);
2510
+ };
2511
+
2512
+
2183
2513
  /**
2184
2514
  * @const
2185
2515
  * @type {!grpc.web.AbstractClientBase.MethodInfo<
@@ -2730,6 +3060,61 @@ proto.sniipuserservice.SniipUserServiceServicePromiseClient.prototype.markOnboar
2730
3060
  };
2731
3061
 
2732
3062
 
3063
+ /**
3064
+ * @const
3065
+ * @type {!grpc.web.AbstractClientBase.MethodInfo<
3066
+ * !proto.sniipuserservice.MigrateAccountRequest,
3067
+ * !proto.sniipuserservice.ResponseCode>}
3068
+ */
3069
+ const methodInfo_SniipUserServiceService_MigrateAccount = new grpc.web.AbstractClientBase.MethodInfo(
3070
+ proto.sniipuserservice.ResponseCode,
3071
+ /** @param {!proto.sniipuserservice.MigrateAccountRequest} request */
3072
+ function(request) {
3073
+ return request.serializeBinary();
3074
+ },
3075
+ proto.sniipuserservice.ResponseCode.deserializeBinary
3076
+ );
3077
+
3078
+
3079
+ /**
3080
+ * @param {!proto.sniipuserservice.MigrateAccountRequest} request The
3081
+ * request proto
3082
+ * @param {?Object<string, string>} metadata User defined
3083
+ * call metadata
3084
+ * @param {function(?grpc.web.Error, ?proto.sniipuserservice.ResponseCode)}
3085
+ * callback The callback function(error, response)
3086
+ * @return {!grpc.web.ClientReadableStream<!proto.sniipuserservice.ResponseCode>|undefined}
3087
+ * The XHR Node Readable Stream
3088
+ */
3089
+ proto.sniipuserservice.SniipUserServiceServiceClient.prototype.migrateAccount =
3090
+ function(request, metadata, callback) {
3091
+ return this.client_.rpcCall(this.hostname_ +
3092
+ '/sniipuserservice.SniipUserServiceService/MigrateAccount',
3093
+ request,
3094
+ metadata || {},
3095
+ methodInfo_SniipUserServiceService_MigrateAccount,
3096
+ callback);
3097
+ };
3098
+
3099
+
3100
+ /**
3101
+ * @param {!proto.sniipuserservice.MigrateAccountRequest} request The
3102
+ * request proto
3103
+ * @param {?Object<string, string>} metadata User defined
3104
+ * call metadata
3105
+ * @return {!Promise<!proto.sniipuserservice.ResponseCode>}
3106
+ * A native promise that resolves to the response
3107
+ */
3108
+ proto.sniipuserservice.SniipUserServiceServicePromiseClient.prototype.migrateAccount =
3109
+ function(request, metadata) {
3110
+ return this.client_.unaryCall(this.hostname_ +
3111
+ '/sniipuserservice.SniipUserServiceService/MigrateAccount',
3112
+ request,
3113
+ metadata || {},
3114
+ methodInfo_SniipUserServiceService_MigrateAccount);
3115
+ };
3116
+
3117
+
2733
3118
  /**
2734
3119
  * @const
2735
3120
  * @type {!grpc.web.AbstractClientBase.MethodInfo<
@@ -3170,6 +3555,116 @@ proto.sniipuserservice.SniipUserServiceServicePromiseClient.prototype.refreshWeb
3170
3555
  };
3171
3556
 
3172
3557
 
3558
+ /**
3559
+ * @const
3560
+ * @type {!grpc.web.AbstractClientBase.MethodInfo<
3561
+ * !proto.google.protobuf.Empty,
3562
+ * !proto.sniipuserservice.ResponseCode>}
3563
+ */
3564
+ const methodInfo_SniipUserServiceService_RemoveApiKey = new grpc.web.AbstractClientBase.MethodInfo(
3565
+ proto.sniipuserservice.ResponseCode,
3566
+ /** @param {!proto.google.protobuf.Empty} request */
3567
+ function(request) {
3568
+ return request.serializeBinary();
3569
+ },
3570
+ proto.sniipuserservice.ResponseCode.deserializeBinary
3571
+ );
3572
+
3573
+
3574
+ /**
3575
+ * @param {!proto.google.protobuf.Empty} request The
3576
+ * request proto
3577
+ * @param {?Object<string, string>} metadata User defined
3578
+ * call metadata
3579
+ * @param {function(?grpc.web.Error, ?proto.sniipuserservice.ResponseCode)}
3580
+ * callback The callback function(error, response)
3581
+ * @return {!grpc.web.ClientReadableStream<!proto.sniipuserservice.ResponseCode>|undefined}
3582
+ * The XHR Node Readable Stream
3583
+ */
3584
+ proto.sniipuserservice.SniipUserServiceServiceClient.prototype.removeApiKey =
3585
+ function(request, metadata, callback) {
3586
+ return this.client_.rpcCall(this.hostname_ +
3587
+ '/sniipuserservice.SniipUserServiceService/RemoveApiKey',
3588
+ request,
3589
+ metadata || {},
3590
+ methodInfo_SniipUserServiceService_RemoveApiKey,
3591
+ callback);
3592
+ };
3593
+
3594
+
3595
+ /**
3596
+ * @param {!proto.google.protobuf.Empty} request The
3597
+ * request proto
3598
+ * @param {?Object<string, string>} metadata User defined
3599
+ * call metadata
3600
+ * @return {!Promise<!proto.sniipuserservice.ResponseCode>}
3601
+ * A native promise that resolves to the response
3602
+ */
3603
+ proto.sniipuserservice.SniipUserServiceServicePromiseClient.prototype.removeApiKey =
3604
+ function(request, metadata) {
3605
+ return this.client_.unaryCall(this.hostname_ +
3606
+ '/sniipuserservice.SniipUserServiceService/RemoveApiKey',
3607
+ request,
3608
+ metadata || {},
3609
+ methodInfo_SniipUserServiceService_RemoveApiKey);
3610
+ };
3611
+
3612
+
3613
+ /**
3614
+ * @const
3615
+ * @type {!grpc.web.AbstractClientBase.MethodInfo<
3616
+ * !proto.sniipuserservice.RemoveUserAccountRequest,
3617
+ * !proto.sniipuserservice.ResponseCode>}
3618
+ */
3619
+ const methodInfo_SniipUserServiceService_RemoveUserAccount = new grpc.web.AbstractClientBase.MethodInfo(
3620
+ proto.sniipuserservice.ResponseCode,
3621
+ /** @param {!proto.sniipuserservice.RemoveUserAccountRequest} request */
3622
+ function(request) {
3623
+ return request.serializeBinary();
3624
+ },
3625
+ proto.sniipuserservice.ResponseCode.deserializeBinary
3626
+ );
3627
+
3628
+
3629
+ /**
3630
+ * @param {!proto.sniipuserservice.RemoveUserAccountRequest} request The
3631
+ * request proto
3632
+ * @param {?Object<string, string>} metadata User defined
3633
+ * call metadata
3634
+ * @param {function(?grpc.web.Error, ?proto.sniipuserservice.ResponseCode)}
3635
+ * callback The callback function(error, response)
3636
+ * @return {!grpc.web.ClientReadableStream<!proto.sniipuserservice.ResponseCode>|undefined}
3637
+ * The XHR Node Readable Stream
3638
+ */
3639
+ proto.sniipuserservice.SniipUserServiceServiceClient.prototype.removeUserAccount =
3640
+ function(request, metadata, callback) {
3641
+ return this.client_.rpcCall(this.hostname_ +
3642
+ '/sniipuserservice.SniipUserServiceService/RemoveUserAccount',
3643
+ request,
3644
+ metadata || {},
3645
+ methodInfo_SniipUserServiceService_RemoveUserAccount,
3646
+ callback);
3647
+ };
3648
+
3649
+
3650
+ /**
3651
+ * @param {!proto.sniipuserservice.RemoveUserAccountRequest} request The
3652
+ * request proto
3653
+ * @param {?Object<string, string>} metadata User defined
3654
+ * call metadata
3655
+ * @return {!Promise<!proto.sniipuserservice.ResponseCode>}
3656
+ * A native promise that resolves to the response
3657
+ */
3658
+ proto.sniipuserservice.SniipUserServiceServicePromiseClient.prototype.removeUserAccount =
3659
+ function(request, metadata) {
3660
+ return this.client_.unaryCall(this.hostname_ +
3661
+ '/sniipuserservice.SniipUserServiceService/RemoveUserAccount',
3662
+ request,
3663
+ metadata || {},
3664
+ methodInfo_SniipUserServiceService_RemoveUserAccount);
3665
+ };
3666
+
3667
+
3173
3668
  /**
3174
3669
  * @const
3175
3670
  * @type {!grpc.web.AbstractClientBase.MethodInfo<
@@ -3335,6 +3830,61 @@ proto.sniipuserservice.SniipUserServiceServicePromiseClient.prototype.resetPin =
3335
3830
  };
3336
3831
 
3337
3832
 
3833
+ /**
3834
+ * @const
3835
+ * @type {!grpc.web.AbstractClientBase.MethodInfo<
3836
+ * !proto.google.protobuf.Empty,
3837
+ * !proto.sniipuserservice.ApiKeyResponse>}
3838
+ */
3839
+ const methodInfo_SniipUserServiceService_RetrieveApiKey = new grpc.web.AbstractClientBase.MethodInfo(
3840
+ proto.sniipuserservice.ApiKeyResponse,
3841
+ /** @param {!proto.google.protobuf.Empty} request */
3842
+ function(request) {
3843
+ return request.serializeBinary();
3844
+ },
3845
+ proto.sniipuserservice.ApiKeyResponse.deserializeBinary
3846
+ );
3847
+
3848
+
3849
+ /**
3850
+ * @param {!proto.google.protobuf.Empty} request The
3851
+ * request proto
3852
+ * @param {?Object<string, string>} metadata User defined
3853
+ * call metadata
3854
+ * @param {function(?grpc.web.Error, ?proto.sniipuserservice.ApiKeyResponse)}
3855
+ * callback The callback function(error, response)
3856
+ * @return {!grpc.web.ClientReadableStream<!proto.sniipuserservice.ApiKeyResponse>|undefined}
3857
+ * The XHR Node Readable Stream
3858
+ */
3859
+ proto.sniipuserservice.SniipUserServiceServiceClient.prototype.retrieveApiKey =
3860
+ function(request, metadata, callback) {
3861
+ return this.client_.rpcCall(this.hostname_ +
3862
+ '/sniipuserservice.SniipUserServiceService/RetrieveApiKey',
3863
+ request,
3864
+ metadata || {},
3865
+ methodInfo_SniipUserServiceService_RetrieveApiKey,
3866
+ callback);
3867
+ };
3868
+
3869
+
3870
+ /**
3871
+ * @param {!proto.google.protobuf.Empty} request The
3872
+ * request proto
3873
+ * @param {?Object<string, string>} metadata User defined
3874
+ * call metadata
3875
+ * @return {!Promise<!proto.sniipuserservice.ApiKeyResponse>}
3876
+ * A native promise that resolves to the response
3877
+ */
3878
+ proto.sniipuserservice.SniipUserServiceServicePromiseClient.prototype.retrieveApiKey =
3879
+ function(request, metadata) {
3880
+ return this.client_.unaryCall(this.hostname_ +
3881
+ '/sniipuserservice.SniipUserServiceService/RetrieveApiKey',
3882
+ request,
3883
+ metadata || {},
3884
+ methodInfo_SniipUserServiceService_RetrieveApiKey);
3885
+ };
3886
+
3887
+
3338
3888
  /**
3339
3889
  * @const
3340
3890
  * @type {!grpc.web.AbstractClientBase.MethodInfo<
@@ -4050,6 +4600,61 @@ proto.sniipuserservice.SniipUserServiceServicePromiseClient.prototype.updateUser
4050
4600
  };
4051
4601
 
4052
4602
 
4603
+ /**
4604
+ * @const
4605
+ * @type {!grpc.web.AbstractClientBase.MethodInfo<
4606
+ * !proto.sniipuserservice.UpdateUserStatusInternalRequest,
4607
+ * !proto.sniipuserservice.ResponseCode>}
4608
+ */
4609
+ const methodInfo_SniipUserServiceService_UpdateUserStatusInternal = new grpc.web.AbstractClientBase.MethodInfo(
4610
+ proto.sniipuserservice.ResponseCode,
4611
+ /** @param {!proto.sniipuserservice.UpdateUserStatusInternalRequest} request */
4612
+ function(request) {
4613
+ return request.serializeBinary();
4614
+ },
4615
+ proto.sniipuserservice.ResponseCode.deserializeBinary
4616
+ );
4617
+
4618
+
4619
+ /**
4620
+ * @param {!proto.sniipuserservice.UpdateUserStatusInternalRequest} request The
4621
+ * request proto
4622
+ * @param {?Object<string, string>} metadata User defined
4623
+ * call metadata
4624
+ * @param {function(?grpc.web.Error, ?proto.sniipuserservice.ResponseCode)}
4625
+ * callback The callback function(error, response)
4626
+ * @return {!grpc.web.ClientReadableStream<!proto.sniipuserservice.ResponseCode>|undefined}
4627
+ * The XHR Node Readable Stream
4628
+ */
4629
+ proto.sniipuserservice.SniipUserServiceServiceClient.prototype.updateUserStatusInternal =
4630
+ function(request, metadata, callback) {
4631
+ return this.client_.rpcCall(this.hostname_ +
4632
+ '/sniipuserservice.SniipUserServiceService/UpdateUserStatusInternal',
4633
+ request,
4634
+ metadata || {},
4635
+ methodInfo_SniipUserServiceService_UpdateUserStatusInternal,
4636
+ callback);
4637
+ };
4638
+
4639
+
4640
+ /**
4641
+ * @param {!proto.sniipuserservice.UpdateUserStatusInternalRequest} request The
4642
+ * request proto
4643
+ * @param {?Object<string, string>} metadata User defined
4644
+ * call metadata
4645
+ * @return {!Promise<!proto.sniipuserservice.ResponseCode>}
4646
+ * A native promise that resolves to the response
4647
+ */
4648
+ proto.sniipuserservice.SniipUserServiceServicePromiseClient.prototype.updateUserStatusInternal =
4649
+ function(request, metadata) {
4650
+ return this.client_.unaryCall(this.hostname_ +
4651
+ '/sniipuserservice.SniipUserServiceService/UpdateUserStatusInternal',
4652
+ request,
4653
+ metadata || {},
4654
+ methodInfo_SniipUserServiceService_UpdateUserStatusInternal);
4655
+ };
4656
+
4657
+
4053
4658
  /**
4054
4659
  * @const
4055
4660
  * @type {!grpc.web.AbstractClientBase.MethodInfo<