@aceplus/smartace-api 2.5.0 → 2.6.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.
Files changed (213) hide show
  1. package/auth.account_pb.d.ts +567 -0
  2. package/auth.account_pb.js +4230 -0
  3. package/auth.account_pb_service.d.ts +454 -0
  4. package/auth.account_pb_service.js +877 -0
  5. package/auth.account_two_factor_pb.d.ts +159 -0
  6. package/auth.account_two_factor_pb.js +1184 -0
  7. package/auth.account_two_factor_pb_service.d.ts +121 -0
  8. package/auth.account_two_factor_pb_service.js +182 -0
  9. package/auth.app_account_pb.d.ts +156 -0
  10. package/auth.app_account_pb.js +1153 -0
  11. package/auth.app_account_pb_service.d.ts +160 -0
  12. package/auth.app_account_pb_service.js +263 -0
  13. package/auth.app_authn_pb.d.ts +172 -0
  14. package/auth.app_authn_pb.js +1233 -0
  15. package/auth.app_authn_pb_service.d.ts +140 -0
  16. package/auth.app_authn_pb_service.js +222 -0
  17. package/auth.app_distribution_pb.d.ts +174 -0
  18. package/auth.app_distribution_pb.js +1338 -0
  19. package/auth.app_distribution_pb_service.d.ts +120 -0
  20. package/auth.app_distribution_pb_service.js +181 -0
  21. package/auth.authn_pb.d.ts +94 -0
  22. package/auth.authn_pb.js +636 -0
  23. package/auth.authn_pb_service.d.ts +82 -0
  24. package/auth.authn_pb_service.js +101 -0
  25. package/auth.cluster_pb.d.ts +258 -0
  26. package/auth.cluster_pb.js +1929 -0
  27. package/auth.cluster_pb_service.d.ts +139 -0
  28. package/auth.cluster_pb_service.js +221 -0
  29. package/auth.distribution_pb.d.ts +233 -0
  30. package/auth.distribution_pb.js +1785 -0
  31. package/auth.distribution_pb_service.d.ts +82 -0
  32. package/auth.distribution_pb_service.js +101 -0
  33. package/auth.email_pb.d.ts +277 -0
  34. package/auth.email_pb.js +1960 -0
  35. package/auth.email_pb_service.d.ts +121 -0
  36. package/auth.email_pb_service.js +182 -0
  37. package/auth.firmware_pb.d.ts +238 -0
  38. package/auth.firmware_pb.js +1850 -0
  39. package/auth.firmware_pb_service.d.ts +120 -0
  40. package/auth.firmware_pb_service.js +181 -0
  41. package/auth.push_notification_pb.d.ts +187 -0
  42. package/auth.push_notification_pb.js +1289 -0
  43. package/auth.push_notification_pb_service.d.ts +121 -0
  44. package/auth.push_notification_pb_service.js +182 -0
  45. package/auth.sms_pb.d.ts +79 -0
  46. package/auth.sms_pb.js +575 -0
  47. package/auth.sms_pb_service.d.ts +83 -0
  48. package/auth.sms_pb_service.js +102 -0
  49. package/google/api/annotations_pb.d.ts +9 -0
  50. package/google/api/annotations_pb.js +54 -0
  51. package/google/api/annotations_pb_service.d.ts +3 -0
  52. package/google/api/annotations_pb_service.js +3 -0
  53. package/google/api/auth_pb.d.ts +150 -0
  54. package/google/api/auth_pb.js +1160 -0
  55. package/google/api/auth_pb_service.d.ts +3 -0
  56. package/google/api/auth_pb_service.js +3 -0
  57. package/google/api/backend_pb.d.ts +59 -0
  58. package/google/api/backend_pb.js +448 -0
  59. package/google/api/backend_pb_service.d.ts +3 -0
  60. package/google/api/backend_pb_service.js +3 -0
  61. package/google/api/billing_pb.d.ts +54 -0
  62. package/google/api/billing_pb.js +416 -0
  63. package/google/api/billing_pb_service.d.ts +3 -0
  64. package/google/api/billing_pb_service.js +3 -0
  65. package/google/api/client_pb.d.ts +12 -0
  66. package/google/api/client_pb.js +104 -0
  67. package/google/api/client_pb_service.d.ts +3 -0
  68. package/google/api/client_pb_service.js +3 -0
  69. package/google/api/config_change_pb.d.ts +72 -0
  70. package/google/api/config_change_pb.js +489 -0
  71. package/google/api/config_change_pb_service.d.ts +3 -0
  72. package/google/api/config_change_pb_service.js +3 -0
  73. package/google/api/consumer_pb.d.ts +65 -0
  74. package/google/api/consumer_pb.js +430 -0
  75. package/google/api/consumer_pb_service.d.ts +3 -0
  76. package/google/api/consumer_pb_service.js +3 -0
  77. package/google/api/context_pb.d.ts +59 -0
  78. package/google/api/context_pb.js +463 -0
  79. package/google/api/context_pb_service.d.ts +3 -0
  80. package/google/api/context_pb_service.js +3 -0
  81. package/google/api/control_pb.d.ts +25 -0
  82. package/google/api/control_pb.js +176 -0
  83. package/google/api/control_pb_service.d.ts +3 -0
  84. package/google/api/control_pb_service.js +3 -0
  85. package/google/api/distribution_pb.d.ts +235 -0
  86. package/google/api/distribution_pb.js +1805 -0
  87. package/google/api/distribution_pb_service.d.ts +3 -0
  88. package/google/api/distribution_pb_service.js +3 -0
  89. package/google/api/documentation_pb.d.ts +103 -0
  90. package/google/api/documentation_pb.js +803 -0
  91. package/google/api/documentation_pb_service.d.ts +3 -0
  92. package/google/api/documentation_pb_service.js +3 -0
  93. package/google/api/endpoint_pb.d.ts +46 -0
  94. package/google/api/endpoint_pb.js +343 -0
  95. package/google/api/endpoint_pb_service.d.ts +3 -0
  96. package/google/api/endpoint_pb_service.js +3 -0
  97. package/google/api/error_reason_pb.d.ts +40 -0
  98. package/google/api/error_reason_pb.js +61 -0
  99. package/google/api/error_reason_pb_service.d.ts +3 -0
  100. package/google/api/error_reason_pb_service.js +3 -0
  101. package/google/api/field_behavior_pb.d.ts +20 -0
  102. package/google/api/field_behavior_pb.js +66 -0
  103. package/google/api/field_behavior_pb_service.d.ts +3 -0
  104. package/google/api/field_behavior_pb_service.js +3 -0
  105. package/google/api/http_pb.d.ts +136 -0
  106. package/google/api/http_pb.js +1012 -0
  107. package/google/api/http_pb_service.d.ts +3 -0
  108. package/google/api/http_pb_service.js +3 -0
  109. package/google/api/httpbody_pb.d.ts +38 -0
  110. package/google/api/httpbody_pb.js +292 -0
  111. package/google/api/httpbody_pb_service.d.ts +3 -0
  112. package/google/api/httpbody_pb_service.js +3 -0
  113. package/google/api/label_pb.d.ts +41 -0
  114. package/google/api/label_pb.js +246 -0
  115. package/google/api/label_pb_service.d.ts +3 -0
  116. package/google/api/label_pb_service.js +3 -0
  117. package/google/api/launch_stage_pb.d.ts +16 -0
  118. package/google/api/launch_stage_pb.js +37 -0
  119. package/google/api/launch_stage_pb_service.d.ts +3 -0
  120. package/google/api/launch_stage_pb_service.js +3 -0
  121. package/google/api/log_pb.d.ts +40 -0
  122. package/google/api/log_pb.js +298 -0
  123. package/google/api/log_pb_service.d.ts +3 -0
  124. package/google/api/log_pb_service.js +3 -0
  125. package/google/api/logging_pb.d.ts +60 -0
  126. package/google/api/logging_pb.js +469 -0
  127. package/google/api/logging_pb_service.d.ts +3 -0
  128. package/google/api/logging_pb_service.js +3 -0
  129. package/google/api/metric_pb.d.ts +100 -0
  130. package/google/api/metric_pb.js +629 -0
  131. package/google/api/metric_pb_service.d.ts +3 -0
  132. package/google/api/metric_pb_service.js +3 -0
  133. package/google/api/monitored_resource_pb.d.ts +93 -0
  134. package/google/api/monitored_resource_pb.js +723 -0
  135. package/google/api/monitored_resource_pb_service.d.ts +3 -0
  136. package/google/api/monitored_resource_pb_service.js +3 -0
  137. package/google/api/monitoring_pb.d.ts +60 -0
  138. package/google/api/monitoring_pb.js +469 -0
  139. package/google/api/monitoring_pb_service.d.ts +3 -0
  140. package/google/api/monitoring_pb_service.js +3 -0
  141. package/google/api/policy_pb.d.ts +64 -0
  142. package/google/api/policy_pb.js +502 -0
  143. package/google/api/policy_pb_service.d.ts +3 -0
  144. package/google/api/policy_pb_service.js +3 -0
  145. package/google/api/quota_pb.d.ts +112 -0
  146. package/google/api/quota_pb.js +873 -0
  147. package/google/api/quota_pb_service.d.ts +3 -0
  148. package/google/api/quota_pb_service.js +3 -0
  149. package/google/api/resource_pb.d.ts +99 -0
  150. package/google/api/resource_pb.js +684 -0
  151. package/google/api/resource_pb_service.d.ts +3 -0
  152. package/google/api/resource_pb_service.js +3 -0
  153. package/google/api/routing_pb.d.ts +54 -0
  154. package/google/api/routing_pb.js +416 -0
  155. package/google/api/routing_pb_service.d.ts +3 -0
  156. package/google/api/routing_pb_service.js +3 -0
  157. package/google/api/service_pb.d.ts +184 -0
  158. package/google/api/service_pb.js +1400 -0
  159. package/google/api/service_pb_service.d.ts +3 -0
  160. package/google/api/service_pb_service.js +3 -0
  161. package/google/api/source_info_pb.d.ts +28 -0
  162. package/google/api/source_info_pb.js +208 -0
  163. package/google/api/source_info_pb_service.d.ts +3 -0
  164. package/google/api/source_info_pb_service.js +3 -0
  165. package/google/api/system_parameter_pb.d.ts +81 -0
  166. package/google/api/system_parameter_pb.js +630 -0
  167. package/google/api/system_parameter_pb_service.d.ts +3 -0
  168. package/google/api/system_parameter_pb_service.js +3 -0
  169. package/google/api/usage_pb.d.ts +66 -0
  170. package/google/api/usage_pb.js +499 -0
  171. package/google/api/usage_pb_service.d.ts +3 -0
  172. package/google/api/usage_pb_service.js +3 -0
  173. package/google/api/visibility_pb.d.ts +64 -0
  174. package/google/api/visibility_pb.js +546 -0
  175. package/google/api/visibility_pb_service.d.ts +3 -0
  176. package/google/api/visibility_pb_service.js +3 -0
  177. package/package.json +1 -1
  178. package/platform.activity_log_pb.d.ts +177 -0
  179. package/platform.activity_log_pb.js +1294 -0
  180. package/platform.activity_log_pb_service.d.ts +82 -0
  181. package/platform.activity_log_pb_service.js +101 -0
  182. package/platform.client_pb.d.ts +345 -0
  183. package/platform.client_pb.js +2637 -0
  184. package/platform.client_pb_service.d.ts +158 -0
  185. package/platform.client_pb_service.js +261 -0
  186. package/platform.group_pb.d.ts +195 -0
  187. package/platform.group_pb.js +1476 -0
  188. package/platform.group_pb_service.d.ts +139 -0
  189. package/platform.group_pb_service.js +221 -0
  190. package/platform.local_account_pb.d.ts +410 -0
  191. package/platform.local_account_pb.js +3136 -0
  192. package/platform.local_account_pb_service.d.ts +350 -0
  193. package/platform.local_account_pb_service.js +663 -0
  194. package/platform.local_distribution_pb.d.ts +69 -0
  195. package/platform.local_distribution_pb.js +506 -0
  196. package/platform.local_distribution_pb_service.d.ts +63 -0
  197. package/platform.local_distribution_pb_service.js +61 -0
  198. package/platform.location_pb.d.ts +271 -0
  199. package/platform.location_pb.js +2046 -0
  200. package/platform.location_pb_service.d.ts +139 -0
  201. package/platform.location_pb_service.js +221 -0
  202. package/platform.pagination_pb.d.ts +37 -0
  203. package/platform.pagination_pb.js +266 -0
  204. package/platform.pagination_pb_service.d.ts +3 -0
  205. package/platform.pagination_pb_service.js +3 -0
  206. package/spic.cabinet_pb.d.ts +1304 -0
  207. package/spic.cabinet_pb.js +9727 -0
  208. package/spic.cabinet_pb_service.d.ts +359 -0
  209. package/spic.cabinet_pb_service.js +677 -0
  210. package/spic.contractor_pb.d.ts +195 -0
  211. package/spic.contractor_pb.js +1476 -0
  212. package/spic.contractor_pb_service.d.ts +139 -0
  213. package/spic.contractor_pb_service.js +221 -0
@@ -0,0 +1,454 @@
1
+ // package: Auth
2
+ // file: auth.account.proto
3
+
4
+ import * as auth_account_pb from "./auth.account_pb";
5
+ import * as google_protobuf_empty_pb from "google-protobuf/google/protobuf/empty_pb";
6
+ import {grpc} from "@improbable-eng/grpc-web";
7
+
8
+ type SuperAdminAccountGRPCCreateUser = {
9
+ readonly methodName: string;
10
+ readonly service: typeof SuperAdminAccountGRPC;
11
+ readonly requestStream: false;
12
+ readonly responseStream: false;
13
+ readonly requestType: typeof auth_account_pb.AccountProto.CreateAdminRequest;
14
+ readonly responseType: typeof auth_account_pb.AccountProto;
15
+ };
16
+
17
+ type SuperAdminAccountGRPCRetrieve = {
18
+ readonly methodName: string;
19
+ readonly service: typeof SuperAdminAccountGRPC;
20
+ readonly requestStream: false;
21
+ readonly responseStream: false;
22
+ readonly requestType: typeof auth_account_pb.AccountProto.RetrieveRequest;
23
+ readonly responseType: typeof auth_account_pb.AccountProto;
24
+ };
25
+
26
+ type SuperAdminAccountGRPCUpdate = {
27
+ readonly methodName: string;
28
+ readonly service: typeof SuperAdminAccountGRPC;
29
+ readonly requestStream: false;
30
+ readonly responseStream: false;
31
+ readonly requestType: typeof auth_account_pb.AccountProto.UpdateRequest;
32
+ readonly responseType: typeof auth_account_pb.AccountProto;
33
+ };
34
+
35
+ type SuperAdminAccountGRPCDelete = {
36
+ readonly methodName: string;
37
+ readonly service: typeof SuperAdminAccountGRPC;
38
+ readonly requestStream: false;
39
+ readonly responseStream: false;
40
+ readonly requestType: typeof auth_account_pb.AccountProto.DeleteRequest;
41
+ readonly responseType: typeof auth_account_pb.AccountProto.DeleteReply;
42
+ };
43
+
44
+ type SuperAdminAccountGRPCSearch = {
45
+ readonly methodName: string;
46
+ readonly service: typeof SuperAdminAccountGRPC;
47
+ readonly requestStream: false;
48
+ readonly responseStream: false;
49
+ readonly requestType: typeof auth_account_pb.AccountProto.SearchRequest;
50
+ readonly responseType: typeof auth_account_pb.AccountProto.SearchReply;
51
+ };
52
+
53
+ type SuperAdminAccountGRPCSetPassword = {
54
+ readonly methodName: string;
55
+ readonly service: typeof SuperAdminAccountGRPC;
56
+ readonly requestStream: false;
57
+ readonly responseStream: false;
58
+ readonly requestType: typeof auth_account_pb.AccountProto.ChangePasswordRequest;
59
+ readonly responseType: typeof auth_account_pb.AccountProto.ChangePasswordReply;
60
+ };
61
+
62
+ type SuperAdminAccountGRPCSetAccountScope = {
63
+ readonly methodName: string;
64
+ readonly service: typeof SuperAdminAccountGRPC;
65
+ readonly requestStream: false;
66
+ readonly responseStream: false;
67
+ readonly requestType: typeof auth_account_pb.AccountProto.SetSuperAccountScopeRequest;
68
+ readonly responseType: typeof auth_account_pb.AccountProto.SetAccountScopeReply;
69
+ };
70
+
71
+ export class SuperAdminAccountGRPC {
72
+ static readonly serviceName: string;
73
+ static readonly CreateUser: SuperAdminAccountGRPCCreateUser;
74
+ static readonly Retrieve: SuperAdminAccountGRPCRetrieve;
75
+ static readonly Update: SuperAdminAccountGRPCUpdate;
76
+ static readonly Delete: SuperAdminAccountGRPCDelete;
77
+ static readonly Search: SuperAdminAccountGRPCSearch;
78
+ static readonly SetPassword: SuperAdminAccountGRPCSetPassword;
79
+ static readonly SetAccountScope: SuperAdminAccountGRPCSetAccountScope;
80
+ }
81
+
82
+ type ClusterAccountGRPCInviteAdminUser = {
83
+ readonly methodName: string;
84
+ readonly service: typeof ClusterAccountGRPC;
85
+ readonly requestStream: false;
86
+ readonly responseStream: false;
87
+ readonly requestType: typeof auth_account_pb.AccountProto.CreateAdminRequest;
88
+ readonly responseType: typeof auth_account_pb.AccountProto;
89
+ };
90
+
91
+ type ClusterAccountGRPCInviteAppUser = {
92
+ readonly methodName: string;
93
+ readonly service: typeof ClusterAccountGRPC;
94
+ readonly requestStream: false;
95
+ readonly responseStream: false;
96
+ readonly requestType: typeof auth_account_pb.AccountProto.CreateAppRequest;
97
+ readonly responseType: typeof auth_account_pb.AccountProto;
98
+ };
99
+
100
+ type ClusterAccountGRPCRetrieve = {
101
+ readonly methodName: string;
102
+ readonly service: typeof ClusterAccountGRPC;
103
+ readonly requestStream: false;
104
+ readonly responseStream: false;
105
+ readonly requestType: typeof auth_account_pb.AccountProto.RetrieveRequest;
106
+ readonly responseType: typeof auth_account_pb.AccountProto;
107
+ };
108
+
109
+ type ClusterAccountGRPCUpdate = {
110
+ readonly methodName: string;
111
+ readonly service: typeof ClusterAccountGRPC;
112
+ readonly requestStream: false;
113
+ readonly responseStream: false;
114
+ readonly requestType: typeof auth_account_pb.AccountProto.UpdateRequest;
115
+ readonly responseType: typeof auth_account_pb.AccountProto;
116
+ };
117
+
118
+ type ClusterAccountGRPCDelete = {
119
+ readonly methodName: string;
120
+ readonly service: typeof ClusterAccountGRPC;
121
+ readonly requestStream: false;
122
+ readonly responseStream: false;
123
+ readonly requestType: typeof auth_account_pb.AccountProto.DeleteRequest;
124
+ readonly responseType: typeof auth_account_pb.AccountProto.DeleteReply;
125
+ };
126
+
127
+ type ClusterAccountGRPCSearchAdmin = {
128
+ readonly methodName: string;
129
+ readonly service: typeof ClusterAccountGRPC;
130
+ readonly requestStream: false;
131
+ readonly responseStream: false;
132
+ readonly requestType: typeof auth_account_pb.AccountProto.SearchRequest;
133
+ readonly responseType: typeof auth_account_pb.AccountProto.SearchReply;
134
+ };
135
+
136
+ type ClusterAccountGRPCSearchApp = {
137
+ readonly methodName: string;
138
+ readonly service: typeof ClusterAccountGRPC;
139
+ readonly requestStream: false;
140
+ readonly responseStream: false;
141
+ readonly requestType: typeof auth_account_pb.AccountProto.SearchRequest;
142
+ readonly responseType: typeof auth_account_pb.AccountProto.SearchReply;
143
+ };
144
+
145
+ type ClusterAccountGRPCActivateAccount = {
146
+ readonly methodName: string;
147
+ readonly service: typeof ClusterAccountGRPC;
148
+ readonly requestStream: false;
149
+ readonly responseStream: false;
150
+ readonly requestType: typeof auth_account_pb.AccountProto.ActivateAccountRequest;
151
+ readonly responseType: typeof auth_account_pb.AccountProto;
152
+ };
153
+
154
+ type ClusterAccountGRPCForgotPassword = {
155
+ readonly methodName: string;
156
+ readonly service: typeof ClusterAccountGRPC;
157
+ readonly requestStream: false;
158
+ readonly responseStream: false;
159
+ readonly requestType: typeof auth_account_pb.AccountProto.ForgotPasswordRequest;
160
+ readonly responseType: typeof auth_account_pb.AccountProto.ChangePasswordReply;
161
+ };
162
+
163
+ type ClusterAccountGRPCChangePassword = {
164
+ readonly methodName: string;
165
+ readonly service: typeof ClusterAccountGRPC;
166
+ readonly requestStream: false;
167
+ readonly responseStream: false;
168
+ readonly requestType: typeof auth_account_pb.AccountProto.ChangePasswordRequest;
169
+ readonly responseType: typeof auth_account_pb.AccountProto.ChangePasswordReply;
170
+ };
171
+
172
+ type ClusterAccountGRPCSetAccountScope = {
173
+ readonly methodName: string;
174
+ readonly service: typeof ClusterAccountGRPC;
175
+ readonly requestStream: false;
176
+ readonly responseStream: false;
177
+ readonly requestType: typeof auth_account_pb.AccountProto.SetAccountScopeRequest;
178
+ readonly responseType: typeof auth_account_pb.AccountProto.SetAccountScopeReply;
179
+ };
180
+
181
+ type ClusterAccountGRPCRetrievePushInfo = {
182
+ readonly methodName: string;
183
+ readonly service: typeof ClusterAccountGRPC;
184
+ readonly requestStream: false;
185
+ readonly responseStream: false;
186
+ readonly requestType: typeof auth_account_pb.AccountProto.RetrievePushInfoRequest;
187
+ readonly responseType: typeof auth_account_pb.AccountProto.RetrievePushInfoReply;
188
+ };
189
+
190
+ type ClusterAccountGRPCSetAccountClusterRole = {
191
+ readonly methodName: string;
192
+ readonly service: typeof ClusterAccountGRPC;
193
+ readonly requestStream: false;
194
+ readonly responseStream: false;
195
+ readonly requestType: typeof auth_account_pb.AccountProto.AccountClusterRoleRequest;
196
+ readonly responseType: typeof google_protobuf_empty_pb.Empty;
197
+ };
198
+
199
+ type ClusterAccountGRPCDeleteAccountClusterRole = {
200
+ readonly methodName: string;
201
+ readonly service: typeof ClusterAccountGRPC;
202
+ readonly requestStream: false;
203
+ readonly responseStream: false;
204
+ readonly requestType: typeof auth_account_pb.AccountProto.AccountClusterRoleRequest;
205
+ readonly responseType: typeof google_protobuf_empty_pb.Empty;
206
+ };
207
+
208
+ export class ClusterAccountGRPC {
209
+ static readonly serviceName: string;
210
+ static readonly InviteAdminUser: ClusterAccountGRPCInviteAdminUser;
211
+ static readonly InviteAppUser: ClusterAccountGRPCInviteAppUser;
212
+ static readonly Retrieve: ClusterAccountGRPCRetrieve;
213
+ static readonly Update: ClusterAccountGRPCUpdate;
214
+ static readonly Delete: ClusterAccountGRPCDelete;
215
+ static readonly SearchAdmin: ClusterAccountGRPCSearchAdmin;
216
+ static readonly SearchApp: ClusterAccountGRPCSearchApp;
217
+ static readonly ActivateAccount: ClusterAccountGRPCActivateAccount;
218
+ static readonly ForgotPassword: ClusterAccountGRPCForgotPassword;
219
+ static readonly ChangePassword: ClusterAccountGRPCChangePassword;
220
+ static readonly SetAccountScope: ClusterAccountGRPCSetAccountScope;
221
+ static readonly RetrievePushInfo: ClusterAccountGRPCRetrievePushInfo;
222
+ static readonly SetAccountClusterRole: ClusterAccountGRPCSetAccountClusterRole;
223
+ static readonly DeleteAccountClusterRole: ClusterAccountGRPCDeleteAccountClusterRole;
224
+ }
225
+
226
+ export type ServiceError = { message: string, code: number; metadata: grpc.Metadata }
227
+ export type Status = { details: string, code: number; metadata: grpc.Metadata }
228
+
229
+ interface UnaryResponse {
230
+ cancel(): void;
231
+ }
232
+ interface ResponseStream<T> {
233
+ cancel(): void;
234
+ on(type: 'data', handler: (message: T) => void): ResponseStream<T>;
235
+ on(type: 'end', handler: (status?: Status) => void): ResponseStream<T>;
236
+ on(type: 'status', handler: (status: Status) => void): ResponseStream<T>;
237
+ }
238
+ interface RequestStream<T> {
239
+ write(message: T): RequestStream<T>;
240
+ end(): void;
241
+ cancel(): void;
242
+ on(type: 'end', handler: (status?: Status) => void): RequestStream<T>;
243
+ on(type: 'status', handler: (status: Status) => void): RequestStream<T>;
244
+ }
245
+ interface BidirectionalStream<ReqT, ResT> {
246
+ write(message: ReqT): BidirectionalStream<ReqT, ResT>;
247
+ end(): void;
248
+ cancel(): void;
249
+ on(type: 'data', handler: (message: ResT) => void): BidirectionalStream<ReqT, ResT>;
250
+ on(type: 'end', handler: (status?: Status) => void): BidirectionalStream<ReqT, ResT>;
251
+ on(type: 'status', handler: (status: Status) => void): BidirectionalStream<ReqT, ResT>;
252
+ }
253
+
254
+ export class SuperAdminAccountGRPCClient {
255
+ readonly serviceHost: string;
256
+
257
+ constructor(serviceHost: string, options?: grpc.RpcOptions);
258
+ createUser(
259
+ requestMessage: auth_account_pb.AccountProto.CreateAdminRequest,
260
+ metadata: grpc.Metadata,
261
+ callback: (error: ServiceError|null, responseMessage: auth_account_pb.AccountProto|null) => void
262
+ ): UnaryResponse;
263
+ createUser(
264
+ requestMessage: auth_account_pb.AccountProto.CreateAdminRequest,
265
+ callback: (error: ServiceError|null, responseMessage: auth_account_pb.AccountProto|null) => void
266
+ ): UnaryResponse;
267
+ retrieve(
268
+ requestMessage: auth_account_pb.AccountProto.RetrieveRequest,
269
+ metadata: grpc.Metadata,
270
+ callback: (error: ServiceError|null, responseMessage: auth_account_pb.AccountProto|null) => void
271
+ ): UnaryResponse;
272
+ retrieve(
273
+ requestMessage: auth_account_pb.AccountProto.RetrieveRequest,
274
+ callback: (error: ServiceError|null, responseMessage: auth_account_pb.AccountProto|null) => void
275
+ ): UnaryResponse;
276
+ update(
277
+ requestMessage: auth_account_pb.AccountProto.UpdateRequest,
278
+ metadata: grpc.Metadata,
279
+ callback: (error: ServiceError|null, responseMessage: auth_account_pb.AccountProto|null) => void
280
+ ): UnaryResponse;
281
+ update(
282
+ requestMessage: auth_account_pb.AccountProto.UpdateRequest,
283
+ callback: (error: ServiceError|null, responseMessage: auth_account_pb.AccountProto|null) => void
284
+ ): UnaryResponse;
285
+ delete(
286
+ requestMessage: auth_account_pb.AccountProto.DeleteRequest,
287
+ metadata: grpc.Metadata,
288
+ callback: (error: ServiceError|null, responseMessage: auth_account_pb.AccountProto.DeleteReply|null) => void
289
+ ): UnaryResponse;
290
+ delete(
291
+ requestMessage: auth_account_pb.AccountProto.DeleteRequest,
292
+ callback: (error: ServiceError|null, responseMessage: auth_account_pb.AccountProto.DeleteReply|null) => void
293
+ ): UnaryResponse;
294
+ search(
295
+ requestMessage: auth_account_pb.AccountProto.SearchRequest,
296
+ metadata: grpc.Metadata,
297
+ callback: (error: ServiceError|null, responseMessage: auth_account_pb.AccountProto.SearchReply|null) => void
298
+ ): UnaryResponse;
299
+ search(
300
+ requestMessage: auth_account_pb.AccountProto.SearchRequest,
301
+ callback: (error: ServiceError|null, responseMessage: auth_account_pb.AccountProto.SearchReply|null) => void
302
+ ): UnaryResponse;
303
+ setPassword(
304
+ requestMessage: auth_account_pb.AccountProto.ChangePasswordRequest,
305
+ metadata: grpc.Metadata,
306
+ callback: (error: ServiceError|null, responseMessage: auth_account_pb.AccountProto.ChangePasswordReply|null) => void
307
+ ): UnaryResponse;
308
+ setPassword(
309
+ requestMessage: auth_account_pb.AccountProto.ChangePasswordRequest,
310
+ callback: (error: ServiceError|null, responseMessage: auth_account_pb.AccountProto.ChangePasswordReply|null) => void
311
+ ): UnaryResponse;
312
+ setAccountScope(
313
+ requestMessage: auth_account_pb.AccountProto.SetSuperAccountScopeRequest,
314
+ metadata: grpc.Metadata,
315
+ callback: (error: ServiceError|null, responseMessage: auth_account_pb.AccountProto.SetAccountScopeReply|null) => void
316
+ ): UnaryResponse;
317
+ setAccountScope(
318
+ requestMessage: auth_account_pb.AccountProto.SetSuperAccountScopeRequest,
319
+ callback: (error: ServiceError|null, responseMessage: auth_account_pb.AccountProto.SetAccountScopeReply|null) => void
320
+ ): UnaryResponse;
321
+ }
322
+
323
+ export class ClusterAccountGRPCClient {
324
+ readonly serviceHost: string;
325
+
326
+ constructor(serviceHost: string, options?: grpc.RpcOptions);
327
+ inviteAdminUser(
328
+ requestMessage: auth_account_pb.AccountProto.CreateAdminRequest,
329
+ metadata: grpc.Metadata,
330
+ callback: (error: ServiceError|null, responseMessage: auth_account_pb.AccountProto|null) => void
331
+ ): UnaryResponse;
332
+ inviteAdminUser(
333
+ requestMessage: auth_account_pb.AccountProto.CreateAdminRequest,
334
+ callback: (error: ServiceError|null, responseMessage: auth_account_pb.AccountProto|null) => void
335
+ ): UnaryResponse;
336
+ inviteAppUser(
337
+ requestMessage: auth_account_pb.AccountProto.CreateAppRequest,
338
+ metadata: grpc.Metadata,
339
+ callback: (error: ServiceError|null, responseMessage: auth_account_pb.AccountProto|null) => void
340
+ ): UnaryResponse;
341
+ inviteAppUser(
342
+ requestMessage: auth_account_pb.AccountProto.CreateAppRequest,
343
+ callback: (error: ServiceError|null, responseMessage: auth_account_pb.AccountProto|null) => void
344
+ ): UnaryResponse;
345
+ retrieve(
346
+ requestMessage: auth_account_pb.AccountProto.RetrieveRequest,
347
+ metadata: grpc.Metadata,
348
+ callback: (error: ServiceError|null, responseMessage: auth_account_pb.AccountProto|null) => void
349
+ ): UnaryResponse;
350
+ retrieve(
351
+ requestMessage: auth_account_pb.AccountProto.RetrieveRequest,
352
+ callback: (error: ServiceError|null, responseMessage: auth_account_pb.AccountProto|null) => void
353
+ ): UnaryResponse;
354
+ update(
355
+ requestMessage: auth_account_pb.AccountProto.UpdateRequest,
356
+ metadata: grpc.Metadata,
357
+ callback: (error: ServiceError|null, responseMessage: auth_account_pb.AccountProto|null) => void
358
+ ): UnaryResponse;
359
+ update(
360
+ requestMessage: auth_account_pb.AccountProto.UpdateRequest,
361
+ callback: (error: ServiceError|null, responseMessage: auth_account_pb.AccountProto|null) => void
362
+ ): UnaryResponse;
363
+ delete(
364
+ requestMessage: auth_account_pb.AccountProto.DeleteRequest,
365
+ metadata: grpc.Metadata,
366
+ callback: (error: ServiceError|null, responseMessage: auth_account_pb.AccountProto.DeleteReply|null) => void
367
+ ): UnaryResponse;
368
+ delete(
369
+ requestMessage: auth_account_pb.AccountProto.DeleteRequest,
370
+ callback: (error: ServiceError|null, responseMessage: auth_account_pb.AccountProto.DeleteReply|null) => void
371
+ ): UnaryResponse;
372
+ searchAdmin(
373
+ requestMessage: auth_account_pb.AccountProto.SearchRequest,
374
+ metadata: grpc.Metadata,
375
+ callback: (error: ServiceError|null, responseMessage: auth_account_pb.AccountProto.SearchReply|null) => void
376
+ ): UnaryResponse;
377
+ searchAdmin(
378
+ requestMessage: auth_account_pb.AccountProto.SearchRequest,
379
+ callback: (error: ServiceError|null, responseMessage: auth_account_pb.AccountProto.SearchReply|null) => void
380
+ ): UnaryResponse;
381
+ searchApp(
382
+ requestMessage: auth_account_pb.AccountProto.SearchRequest,
383
+ metadata: grpc.Metadata,
384
+ callback: (error: ServiceError|null, responseMessage: auth_account_pb.AccountProto.SearchReply|null) => void
385
+ ): UnaryResponse;
386
+ searchApp(
387
+ requestMessage: auth_account_pb.AccountProto.SearchRequest,
388
+ callback: (error: ServiceError|null, responseMessage: auth_account_pb.AccountProto.SearchReply|null) => void
389
+ ): UnaryResponse;
390
+ activateAccount(
391
+ requestMessage: auth_account_pb.AccountProto.ActivateAccountRequest,
392
+ metadata: grpc.Metadata,
393
+ callback: (error: ServiceError|null, responseMessage: auth_account_pb.AccountProto|null) => void
394
+ ): UnaryResponse;
395
+ activateAccount(
396
+ requestMessage: auth_account_pb.AccountProto.ActivateAccountRequest,
397
+ callback: (error: ServiceError|null, responseMessage: auth_account_pb.AccountProto|null) => void
398
+ ): UnaryResponse;
399
+ forgotPassword(
400
+ requestMessage: auth_account_pb.AccountProto.ForgotPasswordRequest,
401
+ metadata: grpc.Metadata,
402
+ callback: (error: ServiceError|null, responseMessage: auth_account_pb.AccountProto.ChangePasswordReply|null) => void
403
+ ): UnaryResponse;
404
+ forgotPassword(
405
+ requestMessage: auth_account_pb.AccountProto.ForgotPasswordRequest,
406
+ callback: (error: ServiceError|null, responseMessage: auth_account_pb.AccountProto.ChangePasswordReply|null) => void
407
+ ): UnaryResponse;
408
+ changePassword(
409
+ requestMessage: auth_account_pb.AccountProto.ChangePasswordRequest,
410
+ metadata: grpc.Metadata,
411
+ callback: (error: ServiceError|null, responseMessage: auth_account_pb.AccountProto.ChangePasswordReply|null) => void
412
+ ): UnaryResponse;
413
+ changePassword(
414
+ requestMessage: auth_account_pb.AccountProto.ChangePasswordRequest,
415
+ callback: (error: ServiceError|null, responseMessage: auth_account_pb.AccountProto.ChangePasswordReply|null) => void
416
+ ): UnaryResponse;
417
+ setAccountScope(
418
+ requestMessage: auth_account_pb.AccountProto.SetAccountScopeRequest,
419
+ metadata: grpc.Metadata,
420
+ callback: (error: ServiceError|null, responseMessage: auth_account_pb.AccountProto.SetAccountScopeReply|null) => void
421
+ ): UnaryResponse;
422
+ setAccountScope(
423
+ requestMessage: auth_account_pb.AccountProto.SetAccountScopeRequest,
424
+ callback: (error: ServiceError|null, responseMessage: auth_account_pb.AccountProto.SetAccountScopeReply|null) => void
425
+ ): UnaryResponse;
426
+ retrievePushInfo(
427
+ requestMessage: auth_account_pb.AccountProto.RetrievePushInfoRequest,
428
+ metadata: grpc.Metadata,
429
+ callback: (error: ServiceError|null, responseMessage: auth_account_pb.AccountProto.RetrievePushInfoReply|null) => void
430
+ ): UnaryResponse;
431
+ retrievePushInfo(
432
+ requestMessage: auth_account_pb.AccountProto.RetrievePushInfoRequest,
433
+ callback: (error: ServiceError|null, responseMessage: auth_account_pb.AccountProto.RetrievePushInfoReply|null) => void
434
+ ): UnaryResponse;
435
+ setAccountClusterRole(
436
+ requestMessage: auth_account_pb.AccountProto.AccountClusterRoleRequest,
437
+ metadata: grpc.Metadata,
438
+ callback: (error: ServiceError|null, responseMessage: google_protobuf_empty_pb.Empty|null) => void
439
+ ): UnaryResponse;
440
+ setAccountClusterRole(
441
+ requestMessage: auth_account_pb.AccountProto.AccountClusterRoleRequest,
442
+ callback: (error: ServiceError|null, responseMessage: google_protobuf_empty_pb.Empty|null) => void
443
+ ): UnaryResponse;
444
+ deleteAccountClusterRole(
445
+ requestMessage: auth_account_pb.AccountProto.AccountClusterRoleRequest,
446
+ metadata: grpc.Metadata,
447
+ callback: (error: ServiceError|null, responseMessage: google_protobuf_empty_pb.Empty|null) => void
448
+ ): UnaryResponse;
449
+ deleteAccountClusterRole(
450
+ requestMessage: auth_account_pb.AccountProto.AccountClusterRoleRequest,
451
+ callback: (error: ServiceError|null, responseMessage: google_protobuf_empty_pb.Empty|null) => void
452
+ ): UnaryResponse;
453
+ }
454
+