@aceplus/smartace-api 3.6.0-alpha.17 → 3.6.0-alpha.18

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 (249) hide show
  1. package/auth.account_pb.d.ts +582 -0
  2. package/auth.account_pb.js +4287 -0
  3. package/auth.account_pb_service.d.ts +340 -0
  4. package/auth.account_pb_service.js +637 -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 +95 -0
  22. package/auth.authn_pb.js +637 -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 +142 -0
  26. package/auth.cluster_pb.js +1050 -0
  27. package/auth.cluster_pb_service.d.ts +82 -0
  28. package/auth.cluster_pb_service.js +101 -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 +217 -0
  34. package/auth.email_pb.js +1508 -0
  35. package/auth.email_pb_service.d.ts +102 -0
  36. package/auth.email_pb_service.js +142 -0
  37. package/auth.firmware_pb.d.ts +256 -0
  38. package/auth.firmware_pb.js +1997 -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 +69 -0
  42. package/auth.push_notification_pb.js +411 -0
  43. package/auth.push_notification_pb_service.d.ts +64 -0
  44. package/auth.push_notification_pb_service.js +62 -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/meta.client_pb.d.ts +167 -0
  178. package/meta.client_pb.js +1266 -0
  179. package/meta.client_pb_service.d.ts +122 -0
  180. package/meta.client_pb_service.js +183 -0
  181. package/meta.spic_config_pb.d.ts +184 -0
  182. package/meta.spic_config_pb.js +1382 -0
  183. package/meta.spic_config_pb_service.d.ts +122 -0
  184. package/meta.spic_config_pb_service.js +183 -0
  185. package/package.json +1 -1
  186. package/platform.activity_log_pb.d.ts +177 -0
  187. package/platform.activity_log_pb.js +1294 -0
  188. package/platform.activity_log_pb_service.d.ts +82 -0
  189. package/platform.activity_log_pb_service.js +101 -0
  190. package/platform.client_pb.d.ts +350 -0
  191. package/platform.client_pb.js +2663 -0
  192. package/platform.client_pb_service.d.ts +158 -0
  193. package/platform.client_pb_service.js +261 -0
  194. package/platform.group_pb.d.ts +195 -0
  195. package/platform.group_pb.js +1476 -0
  196. package/platform.group_pb_service.d.ts +139 -0
  197. package/platform.group_pb_service.js +221 -0
  198. package/platform.local_account_internal_pb.d.ts +125 -0
  199. package/platform.local_account_internal_pb.js +933 -0
  200. package/platform.local_account_internal_pb_service.d.ts +121 -0
  201. package/platform.local_account_internal_pb_service.js +182 -0
  202. package/platform.local_account_pb.d.ts +446 -0
  203. package/platform.local_account_pb.js +3337 -0
  204. package/platform.local_account_pb_service.d.ts +331 -0
  205. package/platform.local_account_pb_service.js +623 -0
  206. package/platform.local_distribution_pb.d.ts +73 -0
  207. package/platform.local_distribution_pb.js +536 -0
  208. package/platform.local_distribution_pb_service.d.ts +63 -0
  209. package/platform.local_distribution_pb_service.js +61 -0
  210. package/platform.location_pb.d.ts +271 -0
  211. package/platform.location_pb.js +2046 -0
  212. package/platform.location_pb_service.d.ts +139 -0
  213. package/platform.location_pb_service.js +221 -0
  214. package/platform.pagination_pb.d.ts +45 -0
  215. package/platform.pagination_pb.js +276 -0
  216. package/platform.pagination_pb_service.d.ts +3 -0
  217. package/platform.pagination_pb_service.js +3 -0
  218. package/spic.admin_alert_pb.d.ts +91 -0
  219. package/spic.admin_alert_pb.js +666 -0
  220. package/spic.admin_alert_pb_service.d.ts +102 -0
  221. package/spic.admin_alert_pb_service.js +142 -0
  222. package/spic.alarm_pb.d.ts +344 -0
  223. package/spic.alarm_pb.js +2622 -0
  224. package/spic.alarm_pb_service.d.ts +101 -0
  225. package/spic.alarm_pb_service.js +141 -0
  226. package/spic.asset_pb.d.ts +652 -0
  227. package/spic.asset_pb.js +4669 -0
  228. package/spic.asset_pb_service.d.ts +197 -0
  229. package/spic.asset_pb_service.js +342 -0
  230. package/spic.cabinet_pb.d.ts +791 -0
  231. package/spic.cabinet_pb.js +5733 -0
  232. package/spic.cabinet_pb_service.d.ts +158 -0
  233. package/spic.cabinet_pb_service.js +261 -0
  234. package/spic.config_pb.d.ts +249 -0
  235. package/spic.config_pb.js +1891 -0
  236. package/spic.config_pb_service.d.ts +120 -0
  237. package/spic.config_pb_service.js +181 -0
  238. package/spic.contractor_pb.d.ts +195 -0
  239. package/spic.contractor_pb.js +1476 -0
  240. package/spic.contractor_pb_service.d.ts +139 -0
  241. package/spic.contractor_pb_service.js +221 -0
  242. package/spic.history_pb.d.ts +142 -0
  243. package/spic.history_pb.js +1130 -0
  244. package/spic.history_pb_service.d.ts +63 -0
  245. package/spic.history_pb_service.js +61 -0
  246. package/spic.open_request_pb.d.ts +237 -0
  247. package/spic.open_request_pb.js +1784 -0
  248. package/spic.open_request_pb_service.d.ts +101 -0
  249. package/spic.open_request_pb_service.js +141 -0
@@ -0,0 +1,637 @@
1
+ // package: Auth
2
+ // file: auth.account.proto
3
+
4
+ var auth_account_pb = require("./auth.account_pb");
5
+ var google_protobuf_empty_pb = require("google-protobuf/google/protobuf/empty_pb");
6
+ var grpc = require("@improbable-eng/grpc-web").grpc;
7
+
8
+ var SuperAdminAccountGRPC = (function () {
9
+ function SuperAdminAccountGRPC() {}
10
+ SuperAdminAccountGRPC.serviceName = "Auth.SuperAdminAccountGRPC";
11
+ return SuperAdminAccountGRPC;
12
+ }());
13
+
14
+ SuperAdminAccountGRPC.CreateUser = {
15
+ methodName: "CreateUser",
16
+ service: SuperAdminAccountGRPC,
17
+ requestStream: false,
18
+ responseStream: false,
19
+ requestType: auth_account_pb.AccountProto.CreateAdminRequest,
20
+ responseType: auth_account_pb.AccountProto
21
+ };
22
+
23
+ SuperAdminAccountGRPC.Retrieve = {
24
+ methodName: "Retrieve",
25
+ service: SuperAdminAccountGRPC,
26
+ requestStream: false,
27
+ responseStream: false,
28
+ requestType: auth_account_pb.AccountProto.RetrieveRequest,
29
+ responseType: auth_account_pb.AccountProto
30
+ };
31
+
32
+ SuperAdminAccountGRPC.Update = {
33
+ methodName: "Update",
34
+ service: SuperAdminAccountGRPC,
35
+ requestStream: false,
36
+ responseStream: false,
37
+ requestType: auth_account_pb.AccountProto.UpdateRequest,
38
+ responseType: auth_account_pb.AccountProto
39
+ };
40
+
41
+ SuperAdminAccountGRPC.Delete = {
42
+ methodName: "Delete",
43
+ service: SuperAdminAccountGRPC,
44
+ requestStream: false,
45
+ responseStream: false,
46
+ requestType: auth_account_pb.AccountProto.DeleteRequest,
47
+ responseType: auth_account_pb.AccountProto.DeleteReply
48
+ };
49
+
50
+ SuperAdminAccountGRPC.Search = {
51
+ methodName: "Search",
52
+ service: SuperAdminAccountGRPC,
53
+ requestStream: false,
54
+ responseStream: false,
55
+ requestType: auth_account_pb.AccountProto.SearchRequest,
56
+ responseType: auth_account_pb.AccountProto.SearchReply
57
+ };
58
+
59
+ SuperAdminAccountGRPC.SetPassword = {
60
+ methodName: "SetPassword",
61
+ service: SuperAdminAccountGRPC,
62
+ requestStream: false,
63
+ responseStream: false,
64
+ requestType: auth_account_pb.AccountProto.ChangePasswordRequest,
65
+ responseType: auth_account_pb.AccountProto.ChangePasswordReply
66
+ };
67
+
68
+ exports.SuperAdminAccountGRPC = SuperAdminAccountGRPC;
69
+
70
+ function SuperAdminAccountGRPCClient(serviceHost, options) {
71
+ this.serviceHost = serviceHost;
72
+ this.options = options || {};
73
+ }
74
+
75
+ SuperAdminAccountGRPCClient.prototype.createUser = function createUser(requestMessage, metadata, callback) {
76
+ if (arguments.length === 2) {
77
+ callback = arguments[1];
78
+ }
79
+ var client = grpc.unary(SuperAdminAccountGRPC.CreateUser, {
80
+ request: requestMessage,
81
+ host: this.serviceHost,
82
+ metadata: metadata,
83
+ transport: this.options.transport,
84
+ debug: this.options.debug,
85
+ onEnd: function (response) {
86
+ if (callback) {
87
+ if (response.status !== grpc.Code.OK) {
88
+ var err = new Error(response.statusMessage);
89
+ err.code = response.status;
90
+ err.metadata = response.trailers;
91
+ callback(err, null);
92
+ } else {
93
+ callback(null, response.message);
94
+ }
95
+ }
96
+ }
97
+ });
98
+ return {
99
+ cancel: function () {
100
+ callback = null;
101
+ client.close();
102
+ }
103
+ };
104
+ };
105
+
106
+ SuperAdminAccountGRPCClient.prototype.retrieve = function retrieve(requestMessage, metadata, callback) {
107
+ if (arguments.length === 2) {
108
+ callback = arguments[1];
109
+ }
110
+ var client = grpc.unary(SuperAdminAccountGRPC.Retrieve, {
111
+ request: requestMessage,
112
+ host: this.serviceHost,
113
+ metadata: metadata,
114
+ transport: this.options.transport,
115
+ debug: this.options.debug,
116
+ onEnd: function (response) {
117
+ if (callback) {
118
+ if (response.status !== grpc.Code.OK) {
119
+ var err = new Error(response.statusMessage);
120
+ err.code = response.status;
121
+ err.metadata = response.trailers;
122
+ callback(err, null);
123
+ } else {
124
+ callback(null, response.message);
125
+ }
126
+ }
127
+ }
128
+ });
129
+ return {
130
+ cancel: function () {
131
+ callback = null;
132
+ client.close();
133
+ }
134
+ };
135
+ };
136
+
137
+ SuperAdminAccountGRPCClient.prototype.update = function update(requestMessage, metadata, callback) {
138
+ if (arguments.length === 2) {
139
+ callback = arguments[1];
140
+ }
141
+ var client = grpc.unary(SuperAdminAccountGRPC.Update, {
142
+ request: requestMessage,
143
+ host: this.serviceHost,
144
+ metadata: metadata,
145
+ transport: this.options.transport,
146
+ debug: this.options.debug,
147
+ onEnd: function (response) {
148
+ if (callback) {
149
+ if (response.status !== grpc.Code.OK) {
150
+ var err = new Error(response.statusMessage);
151
+ err.code = response.status;
152
+ err.metadata = response.trailers;
153
+ callback(err, null);
154
+ } else {
155
+ callback(null, response.message);
156
+ }
157
+ }
158
+ }
159
+ });
160
+ return {
161
+ cancel: function () {
162
+ callback = null;
163
+ client.close();
164
+ }
165
+ };
166
+ };
167
+
168
+ SuperAdminAccountGRPCClient.prototype.delete = function pb_delete(requestMessage, metadata, callback) {
169
+ if (arguments.length === 2) {
170
+ callback = arguments[1];
171
+ }
172
+ var client = grpc.unary(SuperAdminAccountGRPC.Delete, {
173
+ request: requestMessage,
174
+ host: this.serviceHost,
175
+ metadata: metadata,
176
+ transport: this.options.transport,
177
+ debug: this.options.debug,
178
+ onEnd: function (response) {
179
+ if (callback) {
180
+ if (response.status !== grpc.Code.OK) {
181
+ var err = new Error(response.statusMessage);
182
+ err.code = response.status;
183
+ err.metadata = response.trailers;
184
+ callback(err, null);
185
+ } else {
186
+ callback(null, response.message);
187
+ }
188
+ }
189
+ }
190
+ });
191
+ return {
192
+ cancel: function () {
193
+ callback = null;
194
+ client.close();
195
+ }
196
+ };
197
+ };
198
+
199
+ SuperAdminAccountGRPCClient.prototype.search = function search(requestMessage, metadata, callback) {
200
+ if (arguments.length === 2) {
201
+ callback = arguments[1];
202
+ }
203
+ var client = grpc.unary(SuperAdminAccountGRPC.Search, {
204
+ request: requestMessage,
205
+ host: this.serviceHost,
206
+ metadata: metadata,
207
+ transport: this.options.transport,
208
+ debug: this.options.debug,
209
+ onEnd: function (response) {
210
+ if (callback) {
211
+ if (response.status !== grpc.Code.OK) {
212
+ var err = new Error(response.statusMessage);
213
+ err.code = response.status;
214
+ err.metadata = response.trailers;
215
+ callback(err, null);
216
+ } else {
217
+ callback(null, response.message);
218
+ }
219
+ }
220
+ }
221
+ });
222
+ return {
223
+ cancel: function () {
224
+ callback = null;
225
+ client.close();
226
+ }
227
+ };
228
+ };
229
+
230
+ SuperAdminAccountGRPCClient.prototype.setPassword = function setPassword(requestMessage, metadata, callback) {
231
+ if (arguments.length === 2) {
232
+ callback = arguments[1];
233
+ }
234
+ var client = grpc.unary(SuperAdminAccountGRPC.SetPassword, {
235
+ request: requestMessage,
236
+ host: this.serviceHost,
237
+ metadata: metadata,
238
+ transport: this.options.transport,
239
+ debug: this.options.debug,
240
+ onEnd: function (response) {
241
+ if (callback) {
242
+ if (response.status !== grpc.Code.OK) {
243
+ var err = new Error(response.statusMessage);
244
+ err.code = response.status;
245
+ err.metadata = response.trailers;
246
+ callback(err, null);
247
+ } else {
248
+ callback(null, response.message);
249
+ }
250
+ }
251
+ }
252
+ });
253
+ return {
254
+ cancel: function () {
255
+ callback = null;
256
+ client.close();
257
+ }
258
+ };
259
+ };
260
+
261
+ exports.SuperAdminAccountGRPCClient = SuperAdminAccountGRPCClient;
262
+
263
+ var ClusterAccountGRPC = (function () {
264
+ function ClusterAccountGRPC() {}
265
+ ClusterAccountGRPC.serviceName = "Auth.ClusterAccountGRPC";
266
+ return ClusterAccountGRPC;
267
+ }());
268
+
269
+ ClusterAccountGRPC.InviteAdminUser = {
270
+ methodName: "InviteAdminUser",
271
+ service: ClusterAccountGRPC,
272
+ requestStream: false,
273
+ responseStream: false,
274
+ requestType: auth_account_pb.AccountProto.CreateAdminRequest,
275
+ responseType: auth_account_pb.AccountProto
276
+ };
277
+
278
+ ClusterAccountGRPC.InviteAppUser = {
279
+ methodName: "InviteAppUser",
280
+ service: ClusterAccountGRPC,
281
+ requestStream: false,
282
+ responseStream: false,
283
+ requestType: auth_account_pb.AccountProto.CreateAppRequest,
284
+ responseType: auth_account_pb.AccountProto
285
+ };
286
+
287
+ ClusterAccountGRPC.ActivateAccount = {
288
+ methodName: "ActivateAccount",
289
+ service: ClusterAccountGRPC,
290
+ requestStream: false,
291
+ responseStream: false,
292
+ requestType: auth_account_pb.AccountProto.ActivateAccountRequest,
293
+ responseType: auth_account_pb.AccountProto
294
+ };
295
+
296
+ ClusterAccountGRPC.ForgotPassword = {
297
+ methodName: "ForgotPassword",
298
+ service: ClusterAccountGRPC,
299
+ requestStream: false,
300
+ responseStream: false,
301
+ requestType: auth_account_pb.AccountProto.ForgotPasswordRequest,
302
+ responseType: google_protobuf_empty_pb.Empty
303
+ };
304
+
305
+ ClusterAccountGRPC.ResetPassword = {
306
+ methodName: "ResetPassword",
307
+ service: ClusterAccountGRPC,
308
+ requestStream: false,
309
+ responseStream: false,
310
+ requestType: auth_account_pb.AccountProto.ResetPasswordRequest,
311
+ responseType: google_protobuf_empty_pb.Empty
312
+ };
313
+
314
+ ClusterAccountGRPC.ChangePassword = {
315
+ methodName: "ChangePassword",
316
+ service: ClusterAccountGRPC,
317
+ requestStream: false,
318
+ responseStream: false,
319
+ requestType: auth_account_pb.AccountProto.ChangePasswordRequest,
320
+ responseType: auth_account_pb.AccountProto.ChangePasswordReply
321
+ };
322
+
323
+ ClusterAccountGRPC.RetrievePushInfo = {
324
+ methodName: "RetrievePushInfo",
325
+ service: ClusterAccountGRPC,
326
+ requestStream: false,
327
+ responseStream: false,
328
+ requestType: auth_account_pb.AccountProto.RetrievePushInfoRequest,
329
+ responseType: auth_account_pb.AccountProto.RetrievePushInfoReply
330
+ };
331
+
332
+ ClusterAccountGRPC.RetrieveActivationStatuses = {
333
+ methodName: "RetrieveActivationStatuses",
334
+ service: ClusterAccountGRPC,
335
+ requestStream: false,
336
+ responseStream: false,
337
+ requestType: auth_account_pb.AccountProto.RetrieveAccountActivationStatusesRequest,
338
+ responseType: auth_account_pb.AccountProto.RetrieveAccountActivationStatusesReply
339
+ };
340
+
341
+ ClusterAccountGRPC.ResendAdminUserInvitation = {
342
+ methodName: "ResendAdminUserInvitation",
343
+ service: ClusterAccountGRPC,
344
+ requestStream: false,
345
+ responseStream: false,
346
+ requestType: auth_account_pb.AccountProto.ResendInvitationRequest,
347
+ responseType: google_protobuf_empty_pb.Empty
348
+ };
349
+
350
+ exports.ClusterAccountGRPC = ClusterAccountGRPC;
351
+
352
+ function ClusterAccountGRPCClient(serviceHost, options) {
353
+ this.serviceHost = serviceHost;
354
+ this.options = options || {};
355
+ }
356
+
357
+ ClusterAccountGRPCClient.prototype.inviteAdminUser = function inviteAdminUser(requestMessage, metadata, callback) {
358
+ if (arguments.length === 2) {
359
+ callback = arguments[1];
360
+ }
361
+ var client = grpc.unary(ClusterAccountGRPC.InviteAdminUser, {
362
+ request: requestMessage,
363
+ host: this.serviceHost,
364
+ metadata: metadata,
365
+ transport: this.options.transport,
366
+ debug: this.options.debug,
367
+ onEnd: function (response) {
368
+ if (callback) {
369
+ if (response.status !== grpc.Code.OK) {
370
+ var err = new Error(response.statusMessage);
371
+ err.code = response.status;
372
+ err.metadata = response.trailers;
373
+ callback(err, null);
374
+ } else {
375
+ callback(null, response.message);
376
+ }
377
+ }
378
+ }
379
+ });
380
+ return {
381
+ cancel: function () {
382
+ callback = null;
383
+ client.close();
384
+ }
385
+ };
386
+ };
387
+
388
+ ClusterAccountGRPCClient.prototype.inviteAppUser = function inviteAppUser(requestMessage, metadata, callback) {
389
+ if (arguments.length === 2) {
390
+ callback = arguments[1];
391
+ }
392
+ var client = grpc.unary(ClusterAccountGRPC.InviteAppUser, {
393
+ request: requestMessage,
394
+ host: this.serviceHost,
395
+ metadata: metadata,
396
+ transport: this.options.transport,
397
+ debug: this.options.debug,
398
+ onEnd: function (response) {
399
+ if (callback) {
400
+ if (response.status !== grpc.Code.OK) {
401
+ var err = new Error(response.statusMessage);
402
+ err.code = response.status;
403
+ err.metadata = response.trailers;
404
+ callback(err, null);
405
+ } else {
406
+ callback(null, response.message);
407
+ }
408
+ }
409
+ }
410
+ });
411
+ return {
412
+ cancel: function () {
413
+ callback = null;
414
+ client.close();
415
+ }
416
+ };
417
+ };
418
+
419
+ ClusterAccountGRPCClient.prototype.activateAccount = function activateAccount(requestMessage, metadata, callback) {
420
+ if (arguments.length === 2) {
421
+ callback = arguments[1];
422
+ }
423
+ var client = grpc.unary(ClusterAccountGRPC.ActivateAccount, {
424
+ request: requestMessage,
425
+ host: this.serviceHost,
426
+ metadata: metadata,
427
+ transport: this.options.transport,
428
+ debug: this.options.debug,
429
+ onEnd: function (response) {
430
+ if (callback) {
431
+ if (response.status !== grpc.Code.OK) {
432
+ var err = new Error(response.statusMessage);
433
+ err.code = response.status;
434
+ err.metadata = response.trailers;
435
+ callback(err, null);
436
+ } else {
437
+ callback(null, response.message);
438
+ }
439
+ }
440
+ }
441
+ });
442
+ return {
443
+ cancel: function () {
444
+ callback = null;
445
+ client.close();
446
+ }
447
+ };
448
+ };
449
+
450
+ ClusterAccountGRPCClient.prototype.forgotPassword = function forgotPassword(requestMessage, metadata, callback) {
451
+ if (arguments.length === 2) {
452
+ callback = arguments[1];
453
+ }
454
+ var client = grpc.unary(ClusterAccountGRPC.ForgotPassword, {
455
+ request: requestMessage,
456
+ host: this.serviceHost,
457
+ metadata: metadata,
458
+ transport: this.options.transport,
459
+ debug: this.options.debug,
460
+ onEnd: function (response) {
461
+ if (callback) {
462
+ if (response.status !== grpc.Code.OK) {
463
+ var err = new Error(response.statusMessage);
464
+ err.code = response.status;
465
+ err.metadata = response.trailers;
466
+ callback(err, null);
467
+ } else {
468
+ callback(null, response.message);
469
+ }
470
+ }
471
+ }
472
+ });
473
+ return {
474
+ cancel: function () {
475
+ callback = null;
476
+ client.close();
477
+ }
478
+ };
479
+ };
480
+
481
+ ClusterAccountGRPCClient.prototype.resetPassword = function resetPassword(requestMessage, metadata, callback) {
482
+ if (arguments.length === 2) {
483
+ callback = arguments[1];
484
+ }
485
+ var client = grpc.unary(ClusterAccountGRPC.ResetPassword, {
486
+ request: requestMessage,
487
+ host: this.serviceHost,
488
+ metadata: metadata,
489
+ transport: this.options.transport,
490
+ debug: this.options.debug,
491
+ onEnd: function (response) {
492
+ if (callback) {
493
+ if (response.status !== grpc.Code.OK) {
494
+ var err = new Error(response.statusMessage);
495
+ err.code = response.status;
496
+ err.metadata = response.trailers;
497
+ callback(err, null);
498
+ } else {
499
+ callback(null, response.message);
500
+ }
501
+ }
502
+ }
503
+ });
504
+ return {
505
+ cancel: function () {
506
+ callback = null;
507
+ client.close();
508
+ }
509
+ };
510
+ };
511
+
512
+ ClusterAccountGRPCClient.prototype.changePassword = function changePassword(requestMessage, metadata, callback) {
513
+ if (arguments.length === 2) {
514
+ callback = arguments[1];
515
+ }
516
+ var client = grpc.unary(ClusterAccountGRPC.ChangePassword, {
517
+ request: requestMessage,
518
+ host: this.serviceHost,
519
+ metadata: metadata,
520
+ transport: this.options.transport,
521
+ debug: this.options.debug,
522
+ onEnd: function (response) {
523
+ if (callback) {
524
+ if (response.status !== grpc.Code.OK) {
525
+ var err = new Error(response.statusMessage);
526
+ err.code = response.status;
527
+ err.metadata = response.trailers;
528
+ callback(err, null);
529
+ } else {
530
+ callback(null, response.message);
531
+ }
532
+ }
533
+ }
534
+ });
535
+ return {
536
+ cancel: function () {
537
+ callback = null;
538
+ client.close();
539
+ }
540
+ };
541
+ };
542
+
543
+ ClusterAccountGRPCClient.prototype.retrievePushInfo = function retrievePushInfo(requestMessage, metadata, callback) {
544
+ if (arguments.length === 2) {
545
+ callback = arguments[1];
546
+ }
547
+ var client = grpc.unary(ClusterAccountGRPC.RetrievePushInfo, {
548
+ request: requestMessage,
549
+ host: this.serviceHost,
550
+ metadata: metadata,
551
+ transport: this.options.transport,
552
+ debug: this.options.debug,
553
+ onEnd: function (response) {
554
+ if (callback) {
555
+ if (response.status !== grpc.Code.OK) {
556
+ var err = new Error(response.statusMessage);
557
+ err.code = response.status;
558
+ err.metadata = response.trailers;
559
+ callback(err, null);
560
+ } else {
561
+ callback(null, response.message);
562
+ }
563
+ }
564
+ }
565
+ });
566
+ return {
567
+ cancel: function () {
568
+ callback = null;
569
+ client.close();
570
+ }
571
+ };
572
+ };
573
+
574
+ ClusterAccountGRPCClient.prototype.retrieveActivationStatuses = function retrieveActivationStatuses(requestMessage, metadata, callback) {
575
+ if (arguments.length === 2) {
576
+ callback = arguments[1];
577
+ }
578
+ var client = grpc.unary(ClusterAccountGRPC.RetrieveActivationStatuses, {
579
+ request: requestMessage,
580
+ host: this.serviceHost,
581
+ metadata: metadata,
582
+ transport: this.options.transport,
583
+ debug: this.options.debug,
584
+ onEnd: function (response) {
585
+ if (callback) {
586
+ if (response.status !== grpc.Code.OK) {
587
+ var err = new Error(response.statusMessage);
588
+ err.code = response.status;
589
+ err.metadata = response.trailers;
590
+ callback(err, null);
591
+ } else {
592
+ callback(null, response.message);
593
+ }
594
+ }
595
+ }
596
+ });
597
+ return {
598
+ cancel: function () {
599
+ callback = null;
600
+ client.close();
601
+ }
602
+ };
603
+ };
604
+
605
+ ClusterAccountGRPCClient.prototype.resendAdminUserInvitation = function resendAdminUserInvitation(requestMessage, metadata, callback) {
606
+ if (arguments.length === 2) {
607
+ callback = arguments[1];
608
+ }
609
+ var client = grpc.unary(ClusterAccountGRPC.ResendAdminUserInvitation, {
610
+ request: requestMessage,
611
+ host: this.serviceHost,
612
+ metadata: metadata,
613
+ transport: this.options.transport,
614
+ debug: this.options.debug,
615
+ onEnd: function (response) {
616
+ if (callback) {
617
+ if (response.status !== grpc.Code.OK) {
618
+ var err = new Error(response.statusMessage);
619
+ err.code = response.status;
620
+ err.metadata = response.trailers;
621
+ callback(err, null);
622
+ } else {
623
+ callback(null, response.message);
624
+ }
625
+ }
626
+ }
627
+ });
628
+ return {
629
+ cancel: function () {
630
+ callback = null;
631
+ client.close();
632
+ }
633
+ };
634
+ };
635
+
636
+ exports.ClusterAccountGRPCClient = ClusterAccountGRPCClient;
637
+