@aceplus/smartace-api 2.13.0-alpha.10 → 2.13.0-alpha.11

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 (229) hide show
  1. package/package.json +1 -1
  2. package/auth.account_pb.d.ts +0 -618
  3. package/auth.account_pb.js +0 -4561
  4. package/auth.account_pb_service.d.ts +0 -397
  5. package/auth.account_pb_service.js +0 -757
  6. package/auth.account_two_factor_pb.d.ts +0 -159
  7. package/auth.account_two_factor_pb.js +0 -1184
  8. package/auth.account_two_factor_pb_service.d.ts +0 -121
  9. package/auth.account_two_factor_pb_service.js +0 -182
  10. package/auth.app_account_pb.d.ts +0 -156
  11. package/auth.app_account_pb.js +0 -1153
  12. package/auth.app_account_pb_service.d.ts +0 -160
  13. package/auth.app_account_pb_service.js +0 -263
  14. package/auth.app_authn_pb.d.ts +0 -172
  15. package/auth.app_authn_pb.js +0 -1233
  16. package/auth.app_authn_pb_service.d.ts +0 -140
  17. package/auth.app_authn_pb_service.js +0 -222
  18. package/auth.app_distribution_pb.d.ts +0 -174
  19. package/auth.app_distribution_pb.js +0 -1338
  20. package/auth.app_distribution_pb_service.d.ts +0 -120
  21. package/auth.app_distribution_pb_service.js +0 -181
  22. package/auth.authn_pb.d.ts +0 -94
  23. package/auth.authn_pb.js +0 -636
  24. package/auth.authn_pb_service.d.ts +0 -82
  25. package/auth.authn_pb_service.js +0 -101
  26. package/auth.cluster_pb.d.ts +0 -258
  27. package/auth.cluster_pb.js +0 -1929
  28. package/auth.cluster_pb_service.d.ts +0 -139
  29. package/auth.cluster_pb_service.js +0 -221
  30. package/auth.distribution_pb.d.ts +0 -233
  31. package/auth.distribution_pb.js +0 -1785
  32. package/auth.distribution_pb_service.d.ts +0 -82
  33. package/auth.distribution_pb_service.js +0 -101
  34. package/auth.email_pb.d.ts +0 -277
  35. package/auth.email_pb.js +0 -1960
  36. package/auth.email_pb_service.d.ts +0 -121
  37. package/auth.email_pb_service.js +0 -182
  38. package/auth.firmware_pb.d.ts +0 -256
  39. package/auth.firmware_pb.js +0 -1997
  40. package/auth.firmware_pb_service.d.ts +0 -120
  41. package/auth.firmware_pb_service.js +0 -181
  42. package/auth.push_notification_pb.d.ts +0 -187
  43. package/auth.push_notification_pb.js +0 -1289
  44. package/auth.push_notification_pb_service.d.ts +0 -121
  45. package/auth.push_notification_pb_service.js +0 -182
  46. package/auth.sms_pb.d.ts +0 -79
  47. package/auth.sms_pb.js +0 -575
  48. package/auth.sms_pb_service.d.ts +0 -83
  49. package/auth.sms_pb_service.js +0 -102
  50. package/google/api/annotations_pb.d.ts +0 -9
  51. package/google/api/annotations_pb.js +0 -54
  52. package/google/api/annotations_pb_service.d.ts +0 -3
  53. package/google/api/annotations_pb_service.js +0 -3
  54. package/google/api/auth_pb.d.ts +0 -150
  55. package/google/api/auth_pb.js +0 -1160
  56. package/google/api/auth_pb_service.d.ts +0 -3
  57. package/google/api/auth_pb_service.js +0 -3
  58. package/google/api/backend_pb.d.ts +0 -59
  59. package/google/api/backend_pb.js +0 -448
  60. package/google/api/backend_pb_service.d.ts +0 -3
  61. package/google/api/backend_pb_service.js +0 -3
  62. package/google/api/billing_pb.d.ts +0 -54
  63. package/google/api/billing_pb.js +0 -416
  64. package/google/api/billing_pb_service.d.ts +0 -3
  65. package/google/api/billing_pb_service.js +0 -3
  66. package/google/api/client_pb.d.ts +0 -12
  67. package/google/api/client_pb.js +0 -104
  68. package/google/api/client_pb_service.d.ts +0 -3
  69. package/google/api/client_pb_service.js +0 -3
  70. package/google/api/config_change_pb.d.ts +0 -72
  71. package/google/api/config_change_pb.js +0 -489
  72. package/google/api/config_change_pb_service.d.ts +0 -3
  73. package/google/api/config_change_pb_service.js +0 -3
  74. package/google/api/consumer_pb.d.ts +0 -65
  75. package/google/api/consumer_pb.js +0 -430
  76. package/google/api/consumer_pb_service.d.ts +0 -3
  77. package/google/api/consumer_pb_service.js +0 -3
  78. package/google/api/context_pb.d.ts +0 -59
  79. package/google/api/context_pb.js +0 -463
  80. package/google/api/context_pb_service.d.ts +0 -3
  81. package/google/api/context_pb_service.js +0 -3
  82. package/google/api/control_pb.d.ts +0 -25
  83. package/google/api/control_pb.js +0 -176
  84. package/google/api/control_pb_service.d.ts +0 -3
  85. package/google/api/control_pb_service.js +0 -3
  86. package/google/api/distribution_pb.d.ts +0 -235
  87. package/google/api/distribution_pb.js +0 -1805
  88. package/google/api/distribution_pb_service.d.ts +0 -3
  89. package/google/api/distribution_pb_service.js +0 -3
  90. package/google/api/documentation_pb.d.ts +0 -103
  91. package/google/api/documentation_pb.js +0 -803
  92. package/google/api/documentation_pb_service.d.ts +0 -3
  93. package/google/api/documentation_pb_service.js +0 -3
  94. package/google/api/endpoint_pb.d.ts +0 -46
  95. package/google/api/endpoint_pb.js +0 -343
  96. package/google/api/endpoint_pb_service.d.ts +0 -3
  97. package/google/api/endpoint_pb_service.js +0 -3
  98. package/google/api/error_reason_pb.d.ts +0 -40
  99. package/google/api/error_reason_pb.js +0 -61
  100. package/google/api/error_reason_pb_service.d.ts +0 -3
  101. package/google/api/error_reason_pb_service.js +0 -3
  102. package/google/api/field_behavior_pb.d.ts +0 -20
  103. package/google/api/field_behavior_pb.js +0 -66
  104. package/google/api/field_behavior_pb_service.d.ts +0 -3
  105. package/google/api/field_behavior_pb_service.js +0 -3
  106. package/google/api/http_pb.d.ts +0 -136
  107. package/google/api/http_pb.js +0 -1012
  108. package/google/api/http_pb_service.d.ts +0 -3
  109. package/google/api/http_pb_service.js +0 -3
  110. package/google/api/httpbody_pb.d.ts +0 -38
  111. package/google/api/httpbody_pb.js +0 -292
  112. package/google/api/httpbody_pb_service.d.ts +0 -3
  113. package/google/api/httpbody_pb_service.js +0 -3
  114. package/google/api/label_pb.d.ts +0 -41
  115. package/google/api/label_pb.js +0 -246
  116. package/google/api/label_pb_service.d.ts +0 -3
  117. package/google/api/label_pb_service.js +0 -3
  118. package/google/api/launch_stage_pb.d.ts +0 -16
  119. package/google/api/launch_stage_pb.js +0 -37
  120. package/google/api/launch_stage_pb_service.d.ts +0 -3
  121. package/google/api/launch_stage_pb_service.js +0 -3
  122. package/google/api/log_pb.d.ts +0 -40
  123. package/google/api/log_pb.js +0 -298
  124. package/google/api/log_pb_service.d.ts +0 -3
  125. package/google/api/log_pb_service.js +0 -3
  126. package/google/api/logging_pb.d.ts +0 -60
  127. package/google/api/logging_pb.js +0 -469
  128. package/google/api/logging_pb_service.d.ts +0 -3
  129. package/google/api/logging_pb_service.js +0 -3
  130. package/google/api/metric_pb.d.ts +0 -100
  131. package/google/api/metric_pb.js +0 -629
  132. package/google/api/metric_pb_service.d.ts +0 -3
  133. package/google/api/metric_pb_service.js +0 -3
  134. package/google/api/monitored_resource_pb.d.ts +0 -93
  135. package/google/api/monitored_resource_pb.js +0 -723
  136. package/google/api/monitored_resource_pb_service.d.ts +0 -3
  137. package/google/api/monitored_resource_pb_service.js +0 -3
  138. package/google/api/monitoring_pb.d.ts +0 -60
  139. package/google/api/monitoring_pb.js +0 -469
  140. package/google/api/monitoring_pb_service.d.ts +0 -3
  141. package/google/api/monitoring_pb_service.js +0 -3
  142. package/google/api/policy_pb.d.ts +0 -64
  143. package/google/api/policy_pb.js +0 -502
  144. package/google/api/policy_pb_service.d.ts +0 -3
  145. package/google/api/policy_pb_service.js +0 -3
  146. package/google/api/quota_pb.d.ts +0 -112
  147. package/google/api/quota_pb.js +0 -873
  148. package/google/api/quota_pb_service.d.ts +0 -3
  149. package/google/api/quota_pb_service.js +0 -3
  150. package/google/api/resource_pb.d.ts +0 -99
  151. package/google/api/resource_pb.js +0 -684
  152. package/google/api/resource_pb_service.d.ts +0 -3
  153. package/google/api/resource_pb_service.js +0 -3
  154. package/google/api/routing_pb.d.ts +0 -54
  155. package/google/api/routing_pb.js +0 -416
  156. package/google/api/routing_pb_service.d.ts +0 -3
  157. package/google/api/routing_pb_service.js +0 -3
  158. package/google/api/service_pb.d.ts +0 -184
  159. package/google/api/service_pb.js +0 -1400
  160. package/google/api/service_pb_service.d.ts +0 -3
  161. package/google/api/service_pb_service.js +0 -3
  162. package/google/api/source_info_pb.d.ts +0 -28
  163. package/google/api/source_info_pb.js +0 -208
  164. package/google/api/source_info_pb_service.d.ts +0 -3
  165. package/google/api/source_info_pb_service.js +0 -3
  166. package/google/api/system_parameter_pb.d.ts +0 -81
  167. package/google/api/system_parameter_pb.js +0 -630
  168. package/google/api/system_parameter_pb_service.d.ts +0 -3
  169. package/google/api/system_parameter_pb_service.js +0 -3
  170. package/google/api/usage_pb.d.ts +0 -66
  171. package/google/api/usage_pb.js +0 -499
  172. package/google/api/usage_pb_service.d.ts +0 -3
  173. package/google/api/usage_pb_service.js +0 -3
  174. package/google/api/visibility_pb.d.ts +0 -64
  175. package/google/api/visibility_pb.js +0 -546
  176. package/google/api/visibility_pb_service.d.ts +0 -3
  177. package/google/api/visibility_pb_service.js +0 -3
  178. package/meta.client_pb.d.ts +0 -167
  179. package/meta.client_pb.js +0 -1266
  180. package/meta.client_pb_service.d.ts +0 -122
  181. package/meta.client_pb_service.js +0 -183
  182. package/meta.spic_config_pb.d.ts +0 -184
  183. package/meta.spic_config_pb.js +0 -1382
  184. package/meta.spic_config_pb_service.d.ts +0 -122
  185. package/meta.spic_config_pb_service.js +0 -183
  186. package/platform.activity_log_pb.d.ts +0 -177
  187. package/platform.activity_log_pb.js +0 -1294
  188. package/platform.activity_log_pb_service.d.ts +0 -82
  189. package/platform.activity_log_pb_service.js +0 -101
  190. package/platform.client_pb.d.ts +0 -350
  191. package/platform.client_pb.js +0 -2663
  192. package/platform.client_pb_service.d.ts +0 -158
  193. package/platform.client_pb_service.js +0 -261
  194. package/platform.group_pb.d.ts +0 -195
  195. package/platform.group_pb.js +0 -1476
  196. package/platform.group_pb_service.d.ts +0 -139
  197. package/platform.group_pb_service.js +0 -221
  198. package/platform.local_account_internal_pb.d.ts +0 -151
  199. package/platform.local_account_internal_pb.js +0 -1136
  200. package/platform.local_account_internal_pb_service.d.ts +0 -121
  201. package/platform.local_account_internal_pb_service.js +0 -182
  202. package/platform.local_account_pb.d.ts +0 -388
  203. package/platform.local_account_pb.js +0 -2963
  204. package/platform.local_account_pb_service.d.ts +0 -331
  205. package/platform.local_account_pb_service.js +0 -623
  206. package/platform.local_distribution_pb.d.ts +0 -69
  207. package/platform.local_distribution_pb.js +0 -506
  208. package/platform.local_distribution_pb_service.d.ts +0 -63
  209. package/platform.local_distribution_pb_service.js +0 -61
  210. package/platform.location_pb.d.ts +0 -271
  211. package/platform.location_pb.js +0 -2046
  212. package/platform.location_pb_service.d.ts +0 -139
  213. package/platform.location_pb_service.js +0 -221
  214. package/platform.pagination_pb.d.ts +0 -45
  215. package/platform.pagination_pb.js +0 -276
  216. package/platform.pagination_pb_service.d.ts +0 -3
  217. package/platform.pagination_pb_service.js +0 -3
  218. package/spic.cabinet_pb.d.ts +0 -1344
  219. package/spic.cabinet_pb.js +0 -9963
  220. package/spic.cabinet_pb_service.d.ts +0 -359
  221. package/spic.cabinet_pb_service.js +0 -677
  222. package/spic.config_pb.d.ts +0 -249
  223. package/spic.config_pb.js +0 -1891
  224. package/spic.config_pb_service.d.ts +0 -120
  225. package/spic.config_pb_service.js +0 -181
  226. package/spic.contractor_pb.d.ts +0 -195
  227. package/spic.contractor_pb.js +0 -1476
  228. package/spic.contractor_pb_service.d.ts +0 -139
  229. package/spic.contractor_pb_service.js +0 -221
@@ -1,757 +0,0 @@
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.SetAccountClusterRole = {
333
- methodName: "SetAccountClusterRole",
334
- service: ClusterAccountGRPC,
335
- requestStream: false,
336
- responseStream: false,
337
- requestType: auth_account_pb.AccountProto.AccountClusterRoleRequest,
338
- responseType: google_protobuf_empty_pb.Empty
339
- };
340
-
341
- ClusterAccountGRPC.DeleteAccountClusterRole = {
342
- methodName: "DeleteAccountClusterRole",
343
- service: ClusterAccountGRPC,
344
- requestStream: false,
345
- responseStream: false,
346
- requestType: auth_account_pb.AccountProto.AccountClusterRoleRequest,
347
- responseType: google_protobuf_empty_pb.Empty
348
- };
349
-
350
- ClusterAccountGRPC.DeleteAccountFromCluster = {
351
- methodName: "DeleteAccountFromCluster",
352
- service: ClusterAccountGRPC,
353
- requestStream: false,
354
- responseStream: false,
355
- requestType: auth_account_pb.AccountProto.DeleteFromClusterRequest,
356
- responseType: google_protobuf_empty_pb.Empty
357
- };
358
-
359
- ClusterAccountGRPC.RetrieveActivationStatuses = {
360
- methodName: "RetrieveActivationStatuses",
361
- service: ClusterAccountGRPC,
362
- requestStream: false,
363
- responseStream: false,
364
- requestType: auth_account_pb.AccountProto.RetrieveAccountActivationStatusesRequest,
365
- responseType: auth_account_pb.AccountProto.RetrieveAccountActivationStatusesReply
366
- };
367
-
368
- ClusterAccountGRPC.ResendAdminUserInvitation = {
369
- methodName: "ResendAdminUserInvitation",
370
- service: ClusterAccountGRPC,
371
- requestStream: false,
372
- responseStream: false,
373
- requestType: auth_account_pb.AccountProto.ResendInvitationRequest,
374
- responseType: google_protobuf_empty_pb.Empty
375
- };
376
-
377
- exports.ClusterAccountGRPC = ClusterAccountGRPC;
378
-
379
- function ClusterAccountGRPCClient(serviceHost, options) {
380
- this.serviceHost = serviceHost;
381
- this.options = options || {};
382
- }
383
-
384
- ClusterAccountGRPCClient.prototype.inviteAdminUser = function inviteAdminUser(requestMessage, metadata, callback) {
385
- if (arguments.length === 2) {
386
- callback = arguments[1];
387
- }
388
- var client = grpc.unary(ClusterAccountGRPC.InviteAdminUser, {
389
- request: requestMessage,
390
- host: this.serviceHost,
391
- metadata: metadata,
392
- transport: this.options.transport,
393
- debug: this.options.debug,
394
- onEnd: function (response) {
395
- if (callback) {
396
- if (response.status !== grpc.Code.OK) {
397
- var err = new Error(response.statusMessage);
398
- err.code = response.status;
399
- err.metadata = response.trailers;
400
- callback(err, null);
401
- } else {
402
- callback(null, response.message);
403
- }
404
- }
405
- }
406
- });
407
- return {
408
- cancel: function () {
409
- callback = null;
410
- client.close();
411
- }
412
- };
413
- };
414
-
415
- ClusterAccountGRPCClient.prototype.inviteAppUser = function inviteAppUser(requestMessage, metadata, callback) {
416
- if (arguments.length === 2) {
417
- callback = arguments[1];
418
- }
419
- var client = grpc.unary(ClusterAccountGRPC.InviteAppUser, {
420
- request: requestMessage,
421
- host: this.serviceHost,
422
- metadata: metadata,
423
- transport: this.options.transport,
424
- debug: this.options.debug,
425
- onEnd: function (response) {
426
- if (callback) {
427
- if (response.status !== grpc.Code.OK) {
428
- var err = new Error(response.statusMessage);
429
- err.code = response.status;
430
- err.metadata = response.trailers;
431
- callback(err, null);
432
- } else {
433
- callback(null, response.message);
434
- }
435
- }
436
- }
437
- });
438
- return {
439
- cancel: function () {
440
- callback = null;
441
- client.close();
442
- }
443
- };
444
- };
445
-
446
- ClusterAccountGRPCClient.prototype.activateAccount = function activateAccount(requestMessage, metadata, callback) {
447
- if (arguments.length === 2) {
448
- callback = arguments[1];
449
- }
450
- var client = grpc.unary(ClusterAccountGRPC.ActivateAccount, {
451
- request: requestMessage,
452
- host: this.serviceHost,
453
- metadata: metadata,
454
- transport: this.options.transport,
455
- debug: this.options.debug,
456
- onEnd: function (response) {
457
- if (callback) {
458
- if (response.status !== grpc.Code.OK) {
459
- var err = new Error(response.statusMessage);
460
- err.code = response.status;
461
- err.metadata = response.trailers;
462
- callback(err, null);
463
- } else {
464
- callback(null, response.message);
465
- }
466
- }
467
- }
468
- });
469
- return {
470
- cancel: function () {
471
- callback = null;
472
- client.close();
473
- }
474
- };
475
- };
476
-
477
- ClusterAccountGRPCClient.prototype.forgotPassword = function forgotPassword(requestMessage, metadata, callback) {
478
- if (arguments.length === 2) {
479
- callback = arguments[1];
480
- }
481
- var client = grpc.unary(ClusterAccountGRPC.ForgotPassword, {
482
- request: requestMessage,
483
- host: this.serviceHost,
484
- metadata: metadata,
485
- transport: this.options.transport,
486
- debug: this.options.debug,
487
- onEnd: function (response) {
488
- if (callback) {
489
- if (response.status !== grpc.Code.OK) {
490
- var err = new Error(response.statusMessage);
491
- err.code = response.status;
492
- err.metadata = response.trailers;
493
- callback(err, null);
494
- } else {
495
- callback(null, response.message);
496
- }
497
- }
498
- }
499
- });
500
- return {
501
- cancel: function () {
502
- callback = null;
503
- client.close();
504
- }
505
- };
506
- };
507
-
508
- ClusterAccountGRPCClient.prototype.resetPassword = function resetPassword(requestMessage, metadata, callback) {
509
- if (arguments.length === 2) {
510
- callback = arguments[1];
511
- }
512
- var client = grpc.unary(ClusterAccountGRPC.ResetPassword, {
513
- request: requestMessage,
514
- host: this.serviceHost,
515
- metadata: metadata,
516
- transport: this.options.transport,
517
- debug: this.options.debug,
518
- onEnd: function (response) {
519
- if (callback) {
520
- if (response.status !== grpc.Code.OK) {
521
- var err = new Error(response.statusMessage);
522
- err.code = response.status;
523
- err.metadata = response.trailers;
524
- callback(err, null);
525
- } else {
526
- callback(null, response.message);
527
- }
528
- }
529
- }
530
- });
531
- return {
532
- cancel: function () {
533
- callback = null;
534
- client.close();
535
- }
536
- };
537
- };
538
-
539
- ClusterAccountGRPCClient.prototype.changePassword = function changePassword(requestMessage, metadata, callback) {
540
- if (arguments.length === 2) {
541
- callback = arguments[1];
542
- }
543
- var client = grpc.unary(ClusterAccountGRPC.ChangePassword, {
544
- request: requestMessage,
545
- host: this.serviceHost,
546
- metadata: metadata,
547
- transport: this.options.transport,
548
- debug: this.options.debug,
549
- onEnd: function (response) {
550
- if (callback) {
551
- if (response.status !== grpc.Code.OK) {
552
- var err = new Error(response.statusMessage);
553
- err.code = response.status;
554
- err.metadata = response.trailers;
555
- callback(err, null);
556
- } else {
557
- callback(null, response.message);
558
- }
559
- }
560
- }
561
- });
562
- return {
563
- cancel: function () {
564
- callback = null;
565
- client.close();
566
- }
567
- };
568
- };
569
-
570
- ClusterAccountGRPCClient.prototype.retrievePushInfo = function retrievePushInfo(requestMessage, metadata, callback) {
571
- if (arguments.length === 2) {
572
- callback = arguments[1];
573
- }
574
- var client = grpc.unary(ClusterAccountGRPC.RetrievePushInfo, {
575
- request: requestMessage,
576
- host: this.serviceHost,
577
- metadata: metadata,
578
- transport: this.options.transport,
579
- debug: this.options.debug,
580
- onEnd: function (response) {
581
- if (callback) {
582
- if (response.status !== grpc.Code.OK) {
583
- var err = new Error(response.statusMessage);
584
- err.code = response.status;
585
- err.metadata = response.trailers;
586
- callback(err, null);
587
- } else {
588
- callback(null, response.message);
589
- }
590
- }
591
- }
592
- });
593
- return {
594
- cancel: function () {
595
- callback = null;
596
- client.close();
597
- }
598
- };
599
- };
600
-
601
- ClusterAccountGRPCClient.prototype.setAccountClusterRole = function setAccountClusterRole(requestMessage, metadata, callback) {
602
- if (arguments.length === 2) {
603
- callback = arguments[1];
604
- }
605
- var client = grpc.unary(ClusterAccountGRPC.SetAccountClusterRole, {
606
- request: requestMessage,
607
- host: this.serviceHost,
608
- metadata: metadata,
609
- transport: this.options.transport,
610
- debug: this.options.debug,
611
- onEnd: function (response) {
612
- if (callback) {
613
- if (response.status !== grpc.Code.OK) {
614
- var err = new Error(response.statusMessage);
615
- err.code = response.status;
616
- err.metadata = response.trailers;
617
- callback(err, null);
618
- } else {
619
- callback(null, response.message);
620
- }
621
- }
622
- }
623
- });
624
- return {
625
- cancel: function () {
626
- callback = null;
627
- client.close();
628
- }
629
- };
630
- };
631
-
632
- ClusterAccountGRPCClient.prototype.deleteAccountClusterRole = function deleteAccountClusterRole(requestMessage, metadata, callback) {
633
- if (arguments.length === 2) {
634
- callback = arguments[1];
635
- }
636
- var client = grpc.unary(ClusterAccountGRPC.DeleteAccountClusterRole, {
637
- request: requestMessage,
638
- host: this.serviceHost,
639
- metadata: metadata,
640
- transport: this.options.transport,
641
- debug: this.options.debug,
642
- onEnd: function (response) {
643
- if (callback) {
644
- if (response.status !== grpc.Code.OK) {
645
- var err = new Error(response.statusMessage);
646
- err.code = response.status;
647
- err.metadata = response.trailers;
648
- callback(err, null);
649
- } else {
650
- callback(null, response.message);
651
- }
652
- }
653
- }
654
- });
655
- return {
656
- cancel: function () {
657
- callback = null;
658
- client.close();
659
- }
660
- };
661
- };
662
-
663
- ClusterAccountGRPCClient.prototype.deleteAccountFromCluster = function deleteAccountFromCluster(requestMessage, metadata, callback) {
664
- if (arguments.length === 2) {
665
- callback = arguments[1];
666
- }
667
- var client = grpc.unary(ClusterAccountGRPC.DeleteAccountFromCluster, {
668
- request: requestMessage,
669
- host: this.serviceHost,
670
- metadata: metadata,
671
- transport: this.options.transport,
672
- debug: this.options.debug,
673
- onEnd: function (response) {
674
- if (callback) {
675
- if (response.status !== grpc.Code.OK) {
676
- var err = new Error(response.statusMessage);
677
- err.code = response.status;
678
- err.metadata = response.trailers;
679
- callback(err, null);
680
- } else {
681
- callback(null, response.message);
682
- }
683
- }
684
- }
685
- });
686
- return {
687
- cancel: function () {
688
- callback = null;
689
- client.close();
690
- }
691
- };
692
- };
693
-
694
- ClusterAccountGRPCClient.prototype.retrieveActivationStatuses = function retrieveActivationStatuses(requestMessage, metadata, callback) {
695
- if (arguments.length === 2) {
696
- callback = arguments[1];
697
- }
698
- var client = grpc.unary(ClusterAccountGRPC.RetrieveActivationStatuses, {
699
- request: requestMessage,
700
- host: this.serviceHost,
701
- metadata: metadata,
702
- transport: this.options.transport,
703
- debug: this.options.debug,
704
- onEnd: function (response) {
705
- if (callback) {
706
- if (response.status !== grpc.Code.OK) {
707
- var err = new Error(response.statusMessage);
708
- err.code = response.status;
709
- err.metadata = response.trailers;
710
- callback(err, null);
711
- } else {
712
- callback(null, response.message);
713
- }
714
- }
715
- }
716
- });
717
- return {
718
- cancel: function () {
719
- callback = null;
720
- client.close();
721
- }
722
- };
723
- };
724
-
725
- ClusterAccountGRPCClient.prototype.resendAdminUserInvitation = function resendAdminUserInvitation(requestMessage, metadata, callback) {
726
- if (arguments.length === 2) {
727
- callback = arguments[1];
728
- }
729
- var client = grpc.unary(ClusterAccountGRPC.ResendAdminUserInvitation, {
730
- request: requestMessage,
731
- host: this.serviceHost,
732
- metadata: metadata,
733
- transport: this.options.transport,
734
- debug: this.options.debug,
735
- onEnd: function (response) {
736
- if (callback) {
737
- if (response.status !== grpc.Code.OK) {
738
- var err = new Error(response.statusMessage);
739
- err.code = response.status;
740
- err.metadata = response.trailers;
741
- callback(err, null);
742
- } else {
743
- callback(null, response.message);
744
- }
745
- }
746
- }
747
- });
748
- return {
749
- cancel: function () {
750
- callback = null;
751
- client.close();
752
- }
753
- };
754
- };
755
-
756
- exports.ClusterAccountGRPCClient = ClusterAccountGRPCClient;
757
-