@aceplus/smartace-api 2.1.0-drumtracker.7 → 2.1.0-drumtracker.9

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 (217) hide show
  1. package/package.json +1 -1
  2. package/auth.account_events_pb.d.ts +0 -5
  3. package/auth.account_events_pb.js +0 -23
  4. package/auth.account_events_pb_service.d.ts +0 -3
  5. package/auth.account_events_pb_service.js +0 -3
  6. package/auth.account_pb.d.ts +0 -525
  7. package/auth.account_pb.js +0 -3983
  8. package/auth.account_pb_service.d.ts +0 -454
  9. package/auth.account_pb_service.js +0 -877
  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 -85
  23. package/auth.authn_pb.js +0 -625
  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.push_notification_pb.d.ts +0 -187
  39. package/auth.push_notification_pb.js +0 -1289
  40. package/auth.push_notification_pb_service.d.ts +0 -121
  41. package/auth.push_notification_pb_service.js +0 -182
  42. package/auth.sms_pb.d.ts +0 -79
  43. package/auth.sms_pb.js +0 -575
  44. package/auth.sms_pb_service.d.ts +0 -83
  45. package/auth.sms_pb_service.js +0 -102
  46. package/drumtracker.drum_pb.d.ts +0 -499
  47. package/drumtracker.drum_pb.js +0 -3785
  48. package/drumtracker.drum_pb_service.d.ts +0 -158
  49. package/drumtracker.drum_pb_service.js +0 -261
  50. package/drumtracker.tracker_pb.d.ts +0 -244
  51. package/drumtracker.tracker_pb.js +0 -1864
  52. package/drumtracker.tracker_pb_service.d.ts +0 -139
  53. package/drumtracker.tracker_pb_service.js +0 -221
  54. package/google/api/annotations_pb.d.ts +0 -9
  55. package/google/api/annotations_pb.js +0 -54
  56. package/google/api/annotations_pb_service.d.ts +0 -3
  57. package/google/api/annotations_pb_service.js +0 -3
  58. package/google/api/auth_pb.d.ts +0 -150
  59. package/google/api/auth_pb.js +0 -1160
  60. package/google/api/auth_pb_service.d.ts +0 -3
  61. package/google/api/auth_pb_service.js +0 -3
  62. package/google/api/backend_pb.d.ts +0 -59
  63. package/google/api/backend_pb.js +0 -448
  64. package/google/api/backend_pb_service.d.ts +0 -3
  65. package/google/api/backend_pb_service.js +0 -3
  66. package/google/api/billing_pb.d.ts +0 -54
  67. package/google/api/billing_pb.js +0 -416
  68. package/google/api/billing_pb_service.d.ts +0 -3
  69. package/google/api/billing_pb_service.js +0 -3
  70. package/google/api/client_pb.d.ts +0 -12
  71. package/google/api/client_pb.js +0 -104
  72. package/google/api/client_pb_service.d.ts +0 -3
  73. package/google/api/client_pb_service.js +0 -3
  74. package/google/api/config_change_pb.d.ts +0 -72
  75. package/google/api/config_change_pb.js +0 -489
  76. package/google/api/config_change_pb_service.d.ts +0 -3
  77. package/google/api/config_change_pb_service.js +0 -3
  78. package/google/api/consumer_pb.d.ts +0 -65
  79. package/google/api/consumer_pb.js +0 -430
  80. package/google/api/consumer_pb_service.d.ts +0 -3
  81. package/google/api/consumer_pb_service.js +0 -3
  82. package/google/api/context_pb.d.ts +0 -59
  83. package/google/api/context_pb.js +0 -463
  84. package/google/api/context_pb_service.d.ts +0 -3
  85. package/google/api/context_pb_service.js +0 -3
  86. package/google/api/control_pb.d.ts +0 -25
  87. package/google/api/control_pb.js +0 -176
  88. package/google/api/control_pb_service.d.ts +0 -3
  89. package/google/api/control_pb_service.js +0 -3
  90. package/google/api/distribution_pb.d.ts +0 -235
  91. package/google/api/distribution_pb.js +0 -1805
  92. package/google/api/distribution_pb_service.d.ts +0 -3
  93. package/google/api/distribution_pb_service.js +0 -3
  94. package/google/api/documentation_pb.d.ts +0 -103
  95. package/google/api/documentation_pb.js +0 -803
  96. package/google/api/documentation_pb_service.d.ts +0 -3
  97. package/google/api/documentation_pb_service.js +0 -3
  98. package/google/api/endpoint_pb.d.ts +0 -46
  99. package/google/api/endpoint_pb.js +0 -343
  100. package/google/api/endpoint_pb_service.d.ts +0 -3
  101. package/google/api/endpoint_pb_service.js +0 -3
  102. package/google/api/error_reason_pb.d.ts +0 -40
  103. package/google/api/error_reason_pb.js +0 -61
  104. package/google/api/error_reason_pb_service.d.ts +0 -3
  105. package/google/api/error_reason_pb_service.js +0 -3
  106. package/google/api/field_behavior_pb.d.ts +0 -20
  107. package/google/api/field_behavior_pb.js +0 -66
  108. package/google/api/field_behavior_pb_service.d.ts +0 -3
  109. package/google/api/field_behavior_pb_service.js +0 -3
  110. package/google/api/http_pb.d.ts +0 -136
  111. package/google/api/http_pb.js +0 -1012
  112. package/google/api/http_pb_service.d.ts +0 -3
  113. package/google/api/http_pb_service.js +0 -3
  114. package/google/api/httpbody_pb.d.ts +0 -38
  115. package/google/api/httpbody_pb.js +0 -292
  116. package/google/api/httpbody_pb_service.d.ts +0 -3
  117. package/google/api/httpbody_pb_service.js +0 -3
  118. package/google/api/label_pb.d.ts +0 -41
  119. package/google/api/label_pb.js +0 -246
  120. package/google/api/label_pb_service.d.ts +0 -3
  121. package/google/api/label_pb_service.js +0 -3
  122. package/google/api/launch_stage_pb.d.ts +0 -16
  123. package/google/api/launch_stage_pb.js +0 -37
  124. package/google/api/launch_stage_pb_service.d.ts +0 -3
  125. package/google/api/launch_stage_pb_service.js +0 -3
  126. package/google/api/log_pb.d.ts +0 -40
  127. package/google/api/log_pb.js +0 -298
  128. package/google/api/log_pb_service.d.ts +0 -3
  129. package/google/api/log_pb_service.js +0 -3
  130. package/google/api/logging_pb.d.ts +0 -60
  131. package/google/api/logging_pb.js +0 -469
  132. package/google/api/logging_pb_service.d.ts +0 -3
  133. package/google/api/logging_pb_service.js +0 -3
  134. package/google/api/metric_pb.d.ts +0 -100
  135. package/google/api/metric_pb.js +0 -629
  136. package/google/api/metric_pb_service.d.ts +0 -3
  137. package/google/api/metric_pb_service.js +0 -3
  138. package/google/api/monitored_resource_pb.d.ts +0 -93
  139. package/google/api/monitored_resource_pb.js +0 -723
  140. package/google/api/monitored_resource_pb_service.d.ts +0 -3
  141. package/google/api/monitored_resource_pb_service.js +0 -3
  142. package/google/api/monitoring_pb.d.ts +0 -60
  143. package/google/api/monitoring_pb.js +0 -469
  144. package/google/api/monitoring_pb_service.d.ts +0 -3
  145. package/google/api/monitoring_pb_service.js +0 -3
  146. package/google/api/policy_pb.d.ts +0 -64
  147. package/google/api/policy_pb.js +0 -502
  148. package/google/api/policy_pb_service.d.ts +0 -3
  149. package/google/api/policy_pb_service.js +0 -3
  150. package/google/api/quota_pb.d.ts +0 -112
  151. package/google/api/quota_pb.js +0 -873
  152. package/google/api/quota_pb_service.d.ts +0 -3
  153. package/google/api/quota_pb_service.js +0 -3
  154. package/google/api/resource_pb.d.ts +0 -99
  155. package/google/api/resource_pb.js +0 -684
  156. package/google/api/resource_pb_service.d.ts +0 -3
  157. package/google/api/resource_pb_service.js +0 -3
  158. package/google/api/routing_pb.d.ts +0 -54
  159. package/google/api/routing_pb.js +0 -416
  160. package/google/api/routing_pb_service.d.ts +0 -3
  161. package/google/api/routing_pb_service.js +0 -3
  162. package/google/api/service_pb.d.ts +0 -184
  163. package/google/api/service_pb.js +0 -1400
  164. package/google/api/service_pb_service.d.ts +0 -3
  165. package/google/api/service_pb_service.js +0 -3
  166. package/google/api/source_info_pb.d.ts +0 -28
  167. package/google/api/source_info_pb.js +0 -208
  168. package/google/api/source_info_pb_service.d.ts +0 -3
  169. package/google/api/source_info_pb_service.js +0 -3
  170. package/google/api/system_parameter_pb.d.ts +0 -81
  171. package/google/api/system_parameter_pb.js +0 -630
  172. package/google/api/system_parameter_pb_service.d.ts +0 -3
  173. package/google/api/system_parameter_pb_service.js +0 -3
  174. package/google/api/usage_pb.d.ts +0 -66
  175. package/google/api/usage_pb.js +0 -499
  176. package/google/api/usage_pb_service.d.ts +0 -3
  177. package/google/api/usage_pb_service.js +0 -3
  178. package/google/api/visibility_pb.d.ts +0 -64
  179. package/google/api/visibility_pb.js +0 -546
  180. package/google/api/visibility_pb_service.d.ts +0 -3
  181. package/google/api/visibility_pb_service.js +0 -3
  182. package/platform.activity_log_pb.d.ts +0 -177
  183. package/platform.activity_log_pb.js +0 -1294
  184. package/platform.activity_log_pb_service.d.ts +0 -82
  185. package/platform.activity_log_pb_service.js +0 -101
  186. package/platform.client_pb.d.ts +0 -316
  187. package/platform.client_pb.js +0 -2399
  188. package/platform.client_pb_service.d.ts +0 -158
  189. package/platform.client_pb_service.js +0 -261
  190. package/platform.group_pb.d.ts +0 -195
  191. package/platform.group_pb.js +0 -1476
  192. package/platform.group_pb_service.d.ts +0 -139
  193. package/platform.group_pb_service.js +0 -221
  194. package/platform.local_account_pb.d.ts +0 -392
  195. package/platform.local_account_pb.js +0 -2962
  196. package/platform.local_account_pb_service.d.ts +0 -350
  197. package/platform.local_account_pb_service.js +0 -663
  198. package/platform.local_distribution_pb.d.ts +0 -69
  199. package/platform.local_distribution_pb.js +0 -506
  200. package/platform.local_distribution_pb_service.d.ts +0 -63
  201. package/platform.local_distribution_pb_service.js +0 -61
  202. package/platform.location_pb.d.ts +0 -271
  203. package/platform.location_pb.js +0 -2046
  204. package/platform.location_pb_service.d.ts +0 -139
  205. package/platform.location_pb_service.js +0 -221
  206. package/platform.pagination_pb.d.ts +0 -37
  207. package/platform.pagination_pb.js +0 -266
  208. package/platform.pagination_pb_service.d.ts +0 -3
  209. package/platform.pagination_pb_service.js +0 -3
  210. package/spic.cabinet_pb.d.ts +0 -1304
  211. package/spic.cabinet_pb.js +0 -9727
  212. package/spic.cabinet_pb_service.d.ts +0 -359
  213. package/spic.cabinet_pb_service.js +0 -677
  214. package/spic.contractor_pb.d.ts +0 -195
  215. package/spic.contractor_pb.js +0 -1476
  216. package/spic.contractor_pb_service.d.ts +0 -139
  217. package/spic.contractor_pb_service.js +0 -221
@@ -1,877 +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
- SuperAdminAccountGRPC.SetAccountScope = {
69
- methodName: "SetAccountScope",
70
- service: SuperAdminAccountGRPC,
71
- requestStream: false,
72
- responseStream: false,
73
- requestType: auth_account_pb.AccountProto.SetAccountScopeRequest,
74
- responseType: auth_account_pb.AccountProto.SetAccountScopeReply
75
- };
76
-
77
- exports.SuperAdminAccountGRPC = SuperAdminAccountGRPC;
78
-
79
- function SuperAdminAccountGRPCClient(serviceHost, options) {
80
- this.serviceHost = serviceHost;
81
- this.options = options || {};
82
- }
83
-
84
- SuperAdminAccountGRPCClient.prototype.createUser = function createUser(requestMessage, metadata, callback) {
85
- if (arguments.length === 2) {
86
- callback = arguments[1];
87
- }
88
- var client = grpc.unary(SuperAdminAccountGRPC.CreateUser, {
89
- request: requestMessage,
90
- host: this.serviceHost,
91
- metadata: metadata,
92
- transport: this.options.transport,
93
- debug: this.options.debug,
94
- onEnd: function (response) {
95
- if (callback) {
96
- if (response.status !== grpc.Code.OK) {
97
- var err = new Error(response.statusMessage);
98
- err.code = response.status;
99
- err.metadata = response.trailers;
100
- callback(err, null);
101
- } else {
102
- callback(null, response.message);
103
- }
104
- }
105
- }
106
- });
107
- return {
108
- cancel: function () {
109
- callback = null;
110
- client.close();
111
- }
112
- };
113
- };
114
-
115
- SuperAdminAccountGRPCClient.prototype.retrieve = function retrieve(requestMessage, metadata, callback) {
116
- if (arguments.length === 2) {
117
- callback = arguments[1];
118
- }
119
- var client = grpc.unary(SuperAdminAccountGRPC.Retrieve, {
120
- request: requestMessage,
121
- host: this.serviceHost,
122
- metadata: metadata,
123
- transport: this.options.transport,
124
- debug: this.options.debug,
125
- onEnd: function (response) {
126
- if (callback) {
127
- if (response.status !== grpc.Code.OK) {
128
- var err = new Error(response.statusMessage);
129
- err.code = response.status;
130
- err.metadata = response.trailers;
131
- callback(err, null);
132
- } else {
133
- callback(null, response.message);
134
- }
135
- }
136
- }
137
- });
138
- return {
139
- cancel: function () {
140
- callback = null;
141
- client.close();
142
- }
143
- };
144
- };
145
-
146
- SuperAdminAccountGRPCClient.prototype.update = function update(requestMessage, metadata, callback) {
147
- if (arguments.length === 2) {
148
- callback = arguments[1];
149
- }
150
- var client = grpc.unary(SuperAdminAccountGRPC.Update, {
151
- request: requestMessage,
152
- host: this.serviceHost,
153
- metadata: metadata,
154
- transport: this.options.transport,
155
- debug: this.options.debug,
156
- onEnd: function (response) {
157
- if (callback) {
158
- if (response.status !== grpc.Code.OK) {
159
- var err = new Error(response.statusMessage);
160
- err.code = response.status;
161
- err.metadata = response.trailers;
162
- callback(err, null);
163
- } else {
164
- callback(null, response.message);
165
- }
166
- }
167
- }
168
- });
169
- return {
170
- cancel: function () {
171
- callback = null;
172
- client.close();
173
- }
174
- };
175
- };
176
-
177
- SuperAdminAccountGRPCClient.prototype.delete = function pb_delete(requestMessage, metadata, callback) {
178
- if (arguments.length === 2) {
179
- callback = arguments[1];
180
- }
181
- var client = grpc.unary(SuperAdminAccountGRPC.Delete, {
182
- request: requestMessage,
183
- host: this.serviceHost,
184
- metadata: metadata,
185
- transport: this.options.transport,
186
- debug: this.options.debug,
187
- onEnd: function (response) {
188
- if (callback) {
189
- if (response.status !== grpc.Code.OK) {
190
- var err = new Error(response.statusMessage);
191
- err.code = response.status;
192
- err.metadata = response.trailers;
193
- callback(err, null);
194
- } else {
195
- callback(null, response.message);
196
- }
197
- }
198
- }
199
- });
200
- return {
201
- cancel: function () {
202
- callback = null;
203
- client.close();
204
- }
205
- };
206
- };
207
-
208
- SuperAdminAccountGRPCClient.prototype.search = function search(requestMessage, metadata, callback) {
209
- if (arguments.length === 2) {
210
- callback = arguments[1];
211
- }
212
- var client = grpc.unary(SuperAdminAccountGRPC.Search, {
213
- request: requestMessage,
214
- host: this.serviceHost,
215
- metadata: metadata,
216
- transport: this.options.transport,
217
- debug: this.options.debug,
218
- onEnd: function (response) {
219
- if (callback) {
220
- if (response.status !== grpc.Code.OK) {
221
- var err = new Error(response.statusMessage);
222
- err.code = response.status;
223
- err.metadata = response.trailers;
224
- callback(err, null);
225
- } else {
226
- callback(null, response.message);
227
- }
228
- }
229
- }
230
- });
231
- return {
232
- cancel: function () {
233
- callback = null;
234
- client.close();
235
- }
236
- };
237
- };
238
-
239
- SuperAdminAccountGRPCClient.prototype.setPassword = function setPassword(requestMessage, metadata, callback) {
240
- if (arguments.length === 2) {
241
- callback = arguments[1];
242
- }
243
- var client = grpc.unary(SuperAdminAccountGRPC.SetPassword, {
244
- request: requestMessage,
245
- host: this.serviceHost,
246
- metadata: metadata,
247
- transport: this.options.transport,
248
- debug: this.options.debug,
249
- onEnd: function (response) {
250
- if (callback) {
251
- if (response.status !== grpc.Code.OK) {
252
- var err = new Error(response.statusMessage);
253
- err.code = response.status;
254
- err.metadata = response.trailers;
255
- callback(err, null);
256
- } else {
257
- callback(null, response.message);
258
- }
259
- }
260
- }
261
- });
262
- return {
263
- cancel: function () {
264
- callback = null;
265
- client.close();
266
- }
267
- };
268
- };
269
-
270
- SuperAdminAccountGRPCClient.prototype.setAccountScope = function setAccountScope(requestMessage, metadata, callback) {
271
- if (arguments.length === 2) {
272
- callback = arguments[1];
273
- }
274
- var client = grpc.unary(SuperAdminAccountGRPC.SetAccountScope, {
275
- request: requestMessage,
276
- host: this.serviceHost,
277
- metadata: metadata,
278
- transport: this.options.transport,
279
- debug: this.options.debug,
280
- onEnd: function (response) {
281
- if (callback) {
282
- if (response.status !== grpc.Code.OK) {
283
- var err = new Error(response.statusMessage);
284
- err.code = response.status;
285
- err.metadata = response.trailers;
286
- callback(err, null);
287
- } else {
288
- callback(null, response.message);
289
- }
290
- }
291
- }
292
- });
293
- return {
294
- cancel: function () {
295
- callback = null;
296
- client.close();
297
- }
298
- };
299
- };
300
-
301
- exports.SuperAdminAccountGRPCClient = SuperAdminAccountGRPCClient;
302
-
303
- var ClusterAccountGRPC = (function () {
304
- function ClusterAccountGRPC() {}
305
- ClusterAccountGRPC.serviceName = "Auth.ClusterAccountGRPC";
306
- return ClusterAccountGRPC;
307
- }());
308
-
309
- ClusterAccountGRPC.InviteAdminUser = {
310
- methodName: "InviteAdminUser",
311
- service: ClusterAccountGRPC,
312
- requestStream: false,
313
- responseStream: false,
314
- requestType: auth_account_pb.AccountProto.CreateAdminRequest,
315
- responseType: auth_account_pb.AccountProto
316
- };
317
-
318
- ClusterAccountGRPC.InviteAppUser = {
319
- methodName: "InviteAppUser",
320
- service: ClusterAccountGRPC,
321
- requestStream: false,
322
- responseStream: false,
323
- requestType: auth_account_pb.AccountProto.CreateAppRequest,
324
- responseType: auth_account_pb.AccountProto
325
- };
326
-
327
- ClusterAccountGRPC.Retrieve = {
328
- methodName: "Retrieve",
329
- service: ClusterAccountGRPC,
330
- requestStream: false,
331
- responseStream: false,
332
- requestType: auth_account_pb.AccountProto.RetrieveRequest,
333
- responseType: auth_account_pb.AccountProto
334
- };
335
-
336
- ClusterAccountGRPC.Update = {
337
- methodName: "Update",
338
- service: ClusterAccountGRPC,
339
- requestStream: false,
340
- responseStream: false,
341
- requestType: auth_account_pb.AccountProto.UpdateRequest,
342
- responseType: auth_account_pb.AccountProto
343
- };
344
-
345
- ClusterAccountGRPC.Delete = {
346
- methodName: "Delete",
347
- service: ClusterAccountGRPC,
348
- requestStream: false,
349
- responseStream: false,
350
- requestType: auth_account_pb.AccountProto.DeleteRequest,
351
- responseType: auth_account_pb.AccountProto.DeleteReply
352
- };
353
-
354
- ClusterAccountGRPC.SearchAdmin = {
355
- methodName: "SearchAdmin",
356
- service: ClusterAccountGRPC,
357
- requestStream: false,
358
- responseStream: false,
359
- requestType: auth_account_pb.AccountProto.SearchRequest,
360
- responseType: auth_account_pb.AccountProto.SearchReply
361
- };
362
-
363
- ClusterAccountGRPC.SearchApp = {
364
- methodName: "SearchApp",
365
- service: ClusterAccountGRPC,
366
- requestStream: false,
367
- responseStream: false,
368
- requestType: auth_account_pb.AccountProto.SearchRequest,
369
- responseType: auth_account_pb.AccountProto.SearchReply
370
- };
371
-
372
- ClusterAccountGRPC.ActivateAccount = {
373
- methodName: "ActivateAccount",
374
- service: ClusterAccountGRPC,
375
- requestStream: false,
376
- responseStream: false,
377
- requestType: auth_account_pb.AccountProto.ActivateAccountRequest,
378
- responseType: auth_account_pb.AccountProto
379
- };
380
-
381
- ClusterAccountGRPC.ForgotPassword = {
382
- methodName: "ForgotPassword",
383
- service: ClusterAccountGRPC,
384
- requestStream: false,
385
- responseStream: false,
386
- requestType: auth_account_pb.AccountProto.ForgotPasswordRequest,
387
- responseType: auth_account_pb.AccountProto.ChangePasswordReply
388
- };
389
-
390
- ClusterAccountGRPC.ChangePassword = {
391
- methodName: "ChangePassword",
392
- service: ClusterAccountGRPC,
393
- requestStream: false,
394
- responseStream: false,
395
- requestType: auth_account_pb.AccountProto.ChangePasswordRequest,
396
- responseType: auth_account_pb.AccountProto.ChangePasswordReply
397
- };
398
-
399
- ClusterAccountGRPC.SetAccountScope = {
400
- methodName: "SetAccountScope",
401
- service: ClusterAccountGRPC,
402
- requestStream: false,
403
- responseStream: false,
404
- requestType: auth_account_pb.AccountProto.SetAccountScopeRequest,
405
- responseType: auth_account_pb.AccountProto.SetAccountScopeReply
406
- };
407
-
408
- ClusterAccountGRPC.RetrievePushInfo = {
409
- methodName: "RetrievePushInfo",
410
- service: ClusterAccountGRPC,
411
- requestStream: false,
412
- responseStream: false,
413
- requestType: auth_account_pb.AccountProto.RetrievePushInfoRequest,
414
- responseType: auth_account_pb.AccountProto.RetrievePushInfoReply
415
- };
416
-
417
- ClusterAccountGRPC.SetAccountClusterRole = {
418
- methodName: "SetAccountClusterRole",
419
- service: ClusterAccountGRPC,
420
- requestStream: false,
421
- responseStream: false,
422
- requestType: auth_account_pb.AccountProto.AccountClusterRoleRequest,
423
- responseType: google_protobuf_empty_pb.Empty
424
- };
425
-
426
- ClusterAccountGRPC.DeleteAccountClusterRole = {
427
- methodName: "DeleteAccountClusterRole",
428
- service: ClusterAccountGRPC,
429
- requestStream: false,
430
- responseStream: false,
431
- requestType: auth_account_pb.AccountProto.AccountClusterRoleRequest,
432
- responseType: google_protobuf_empty_pb.Empty
433
- };
434
-
435
- exports.ClusterAccountGRPC = ClusterAccountGRPC;
436
-
437
- function ClusterAccountGRPCClient(serviceHost, options) {
438
- this.serviceHost = serviceHost;
439
- this.options = options || {};
440
- }
441
-
442
- ClusterAccountGRPCClient.prototype.inviteAdminUser = function inviteAdminUser(requestMessage, metadata, callback) {
443
- if (arguments.length === 2) {
444
- callback = arguments[1];
445
- }
446
- var client = grpc.unary(ClusterAccountGRPC.InviteAdminUser, {
447
- request: requestMessage,
448
- host: this.serviceHost,
449
- metadata: metadata,
450
- transport: this.options.transport,
451
- debug: this.options.debug,
452
- onEnd: function (response) {
453
- if (callback) {
454
- if (response.status !== grpc.Code.OK) {
455
- var err = new Error(response.statusMessage);
456
- err.code = response.status;
457
- err.metadata = response.trailers;
458
- callback(err, null);
459
- } else {
460
- callback(null, response.message);
461
- }
462
- }
463
- }
464
- });
465
- return {
466
- cancel: function () {
467
- callback = null;
468
- client.close();
469
- }
470
- };
471
- };
472
-
473
- ClusterAccountGRPCClient.prototype.inviteAppUser = function inviteAppUser(requestMessage, metadata, callback) {
474
- if (arguments.length === 2) {
475
- callback = arguments[1];
476
- }
477
- var client = grpc.unary(ClusterAccountGRPC.InviteAppUser, {
478
- request: requestMessage,
479
- host: this.serviceHost,
480
- metadata: metadata,
481
- transport: this.options.transport,
482
- debug: this.options.debug,
483
- onEnd: function (response) {
484
- if (callback) {
485
- if (response.status !== grpc.Code.OK) {
486
- var err = new Error(response.statusMessage);
487
- err.code = response.status;
488
- err.metadata = response.trailers;
489
- callback(err, null);
490
- } else {
491
- callback(null, response.message);
492
- }
493
- }
494
- }
495
- });
496
- return {
497
- cancel: function () {
498
- callback = null;
499
- client.close();
500
- }
501
- };
502
- };
503
-
504
- ClusterAccountGRPCClient.prototype.retrieve = function retrieve(requestMessage, metadata, callback) {
505
- if (arguments.length === 2) {
506
- callback = arguments[1];
507
- }
508
- var client = grpc.unary(ClusterAccountGRPC.Retrieve, {
509
- request: requestMessage,
510
- host: this.serviceHost,
511
- metadata: metadata,
512
- transport: this.options.transport,
513
- debug: this.options.debug,
514
- onEnd: function (response) {
515
- if (callback) {
516
- if (response.status !== grpc.Code.OK) {
517
- var err = new Error(response.statusMessage);
518
- err.code = response.status;
519
- err.metadata = response.trailers;
520
- callback(err, null);
521
- } else {
522
- callback(null, response.message);
523
- }
524
- }
525
- }
526
- });
527
- return {
528
- cancel: function () {
529
- callback = null;
530
- client.close();
531
- }
532
- };
533
- };
534
-
535
- ClusterAccountGRPCClient.prototype.update = function update(requestMessage, metadata, callback) {
536
- if (arguments.length === 2) {
537
- callback = arguments[1];
538
- }
539
- var client = grpc.unary(ClusterAccountGRPC.Update, {
540
- request: requestMessage,
541
- host: this.serviceHost,
542
- metadata: metadata,
543
- transport: this.options.transport,
544
- debug: this.options.debug,
545
- onEnd: function (response) {
546
- if (callback) {
547
- if (response.status !== grpc.Code.OK) {
548
- var err = new Error(response.statusMessage);
549
- err.code = response.status;
550
- err.metadata = response.trailers;
551
- callback(err, null);
552
- } else {
553
- callback(null, response.message);
554
- }
555
- }
556
- }
557
- });
558
- return {
559
- cancel: function () {
560
- callback = null;
561
- client.close();
562
- }
563
- };
564
- };
565
-
566
- ClusterAccountGRPCClient.prototype.delete = function pb_delete(requestMessage, metadata, callback) {
567
- if (arguments.length === 2) {
568
- callback = arguments[1];
569
- }
570
- var client = grpc.unary(ClusterAccountGRPC.Delete, {
571
- request: requestMessage,
572
- host: this.serviceHost,
573
- metadata: metadata,
574
- transport: this.options.transport,
575
- debug: this.options.debug,
576
- onEnd: function (response) {
577
- if (callback) {
578
- if (response.status !== grpc.Code.OK) {
579
- var err = new Error(response.statusMessage);
580
- err.code = response.status;
581
- err.metadata = response.trailers;
582
- callback(err, null);
583
- } else {
584
- callback(null, response.message);
585
- }
586
- }
587
- }
588
- });
589
- return {
590
- cancel: function () {
591
- callback = null;
592
- client.close();
593
- }
594
- };
595
- };
596
-
597
- ClusterAccountGRPCClient.prototype.searchAdmin = function searchAdmin(requestMessage, metadata, callback) {
598
- if (arguments.length === 2) {
599
- callback = arguments[1];
600
- }
601
- var client = grpc.unary(ClusterAccountGRPC.SearchAdmin, {
602
- request: requestMessage,
603
- host: this.serviceHost,
604
- metadata: metadata,
605
- transport: this.options.transport,
606
- debug: this.options.debug,
607
- onEnd: function (response) {
608
- if (callback) {
609
- if (response.status !== grpc.Code.OK) {
610
- var err = new Error(response.statusMessage);
611
- err.code = response.status;
612
- err.metadata = response.trailers;
613
- callback(err, null);
614
- } else {
615
- callback(null, response.message);
616
- }
617
- }
618
- }
619
- });
620
- return {
621
- cancel: function () {
622
- callback = null;
623
- client.close();
624
- }
625
- };
626
- };
627
-
628
- ClusterAccountGRPCClient.prototype.searchApp = function searchApp(requestMessage, metadata, callback) {
629
- if (arguments.length === 2) {
630
- callback = arguments[1];
631
- }
632
- var client = grpc.unary(ClusterAccountGRPC.SearchApp, {
633
- request: requestMessage,
634
- host: this.serviceHost,
635
- metadata: metadata,
636
- transport: this.options.transport,
637
- debug: this.options.debug,
638
- onEnd: function (response) {
639
- if (callback) {
640
- if (response.status !== grpc.Code.OK) {
641
- var err = new Error(response.statusMessage);
642
- err.code = response.status;
643
- err.metadata = response.trailers;
644
- callback(err, null);
645
- } else {
646
- callback(null, response.message);
647
- }
648
- }
649
- }
650
- });
651
- return {
652
- cancel: function () {
653
- callback = null;
654
- client.close();
655
- }
656
- };
657
- };
658
-
659
- ClusterAccountGRPCClient.prototype.activateAccount = function activateAccount(requestMessage, metadata, callback) {
660
- if (arguments.length === 2) {
661
- callback = arguments[1];
662
- }
663
- var client = grpc.unary(ClusterAccountGRPC.ActivateAccount, {
664
- request: requestMessage,
665
- host: this.serviceHost,
666
- metadata: metadata,
667
- transport: this.options.transport,
668
- debug: this.options.debug,
669
- onEnd: function (response) {
670
- if (callback) {
671
- if (response.status !== grpc.Code.OK) {
672
- var err = new Error(response.statusMessage);
673
- err.code = response.status;
674
- err.metadata = response.trailers;
675
- callback(err, null);
676
- } else {
677
- callback(null, response.message);
678
- }
679
- }
680
- }
681
- });
682
- return {
683
- cancel: function () {
684
- callback = null;
685
- client.close();
686
- }
687
- };
688
- };
689
-
690
- ClusterAccountGRPCClient.prototype.forgotPassword = function forgotPassword(requestMessage, metadata, callback) {
691
- if (arguments.length === 2) {
692
- callback = arguments[1];
693
- }
694
- var client = grpc.unary(ClusterAccountGRPC.ForgotPassword, {
695
- request: requestMessage,
696
- host: this.serviceHost,
697
- metadata: metadata,
698
- transport: this.options.transport,
699
- debug: this.options.debug,
700
- onEnd: function (response) {
701
- if (callback) {
702
- if (response.status !== grpc.Code.OK) {
703
- var err = new Error(response.statusMessage);
704
- err.code = response.status;
705
- err.metadata = response.trailers;
706
- callback(err, null);
707
- } else {
708
- callback(null, response.message);
709
- }
710
- }
711
- }
712
- });
713
- return {
714
- cancel: function () {
715
- callback = null;
716
- client.close();
717
- }
718
- };
719
- };
720
-
721
- ClusterAccountGRPCClient.prototype.changePassword = function changePassword(requestMessage, metadata, callback) {
722
- if (arguments.length === 2) {
723
- callback = arguments[1];
724
- }
725
- var client = grpc.unary(ClusterAccountGRPC.ChangePassword, {
726
- request: requestMessage,
727
- host: this.serviceHost,
728
- metadata: metadata,
729
- transport: this.options.transport,
730
- debug: this.options.debug,
731
- onEnd: function (response) {
732
- if (callback) {
733
- if (response.status !== grpc.Code.OK) {
734
- var err = new Error(response.statusMessage);
735
- err.code = response.status;
736
- err.metadata = response.trailers;
737
- callback(err, null);
738
- } else {
739
- callback(null, response.message);
740
- }
741
- }
742
- }
743
- });
744
- return {
745
- cancel: function () {
746
- callback = null;
747
- client.close();
748
- }
749
- };
750
- };
751
-
752
- ClusterAccountGRPCClient.prototype.setAccountScope = function setAccountScope(requestMessage, metadata, callback) {
753
- if (arguments.length === 2) {
754
- callback = arguments[1];
755
- }
756
- var client = grpc.unary(ClusterAccountGRPC.SetAccountScope, {
757
- request: requestMessage,
758
- host: this.serviceHost,
759
- metadata: metadata,
760
- transport: this.options.transport,
761
- debug: this.options.debug,
762
- onEnd: function (response) {
763
- if (callback) {
764
- if (response.status !== grpc.Code.OK) {
765
- var err = new Error(response.statusMessage);
766
- err.code = response.status;
767
- err.metadata = response.trailers;
768
- callback(err, null);
769
- } else {
770
- callback(null, response.message);
771
- }
772
- }
773
- }
774
- });
775
- return {
776
- cancel: function () {
777
- callback = null;
778
- client.close();
779
- }
780
- };
781
- };
782
-
783
- ClusterAccountGRPCClient.prototype.retrievePushInfo = function retrievePushInfo(requestMessage, metadata, callback) {
784
- if (arguments.length === 2) {
785
- callback = arguments[1];
786
- }
787
- var client = grpc.unary(ClusterAccountGRPC.RetrievePushInfo, {
788
- request: requestMessage,
789
- host: this.serviceHost,
790
- metadata: metadata,
791
- transport: this.options.transport,
792
- debug: this.options.debug,
793
- onEnd: function (response) {
794
- if (callback) {
795
- if (response.status !== grpc.Code.OK) {
796
- var err = new Error(response.statusMessage);
797
- err.code = response.status;
798
- err.metadata = response.trailers;
799
- callback(err, null);
800
- } else {
801
- callback(null, response.message);
802
- }
803
- }
804
- }
805
- });
806
- return {
807
- cancel: function () {
808
- callback = null;
809
- client.close();
810
- }
811
- };
812
- };
813
-
814
- ClusterAccountGRPCClient.prototype.setAccountClusterRole = function setAccountClusterRole(requestMessage, metadata, callback) {
815
- if (arguments.length === 2) {
816
- callback = arguments[1];
817
- }
818
- var client = grpc.unary(ClusterAccountGRPC.SetAccountClusterRole, {
819
- request: requestMessage,
820
- host: this.serviceHost,
821
- metadata: metadata,
822
- transport: this.options.transport,
823
- debug: this.options.debug,
824
- onEnd: function (response) {
825
- if (callback) {
826
- if (response.status !== grpc.Code.OK) {
827
- var err = new Error(response.statusMessage);
828
- err.code = response.status;
829
- err.metadata = response.trailers;
830
- callback(err, null);
831
- } else {
832
- callback(null, response.message);
833
- }
834
- }
835
- }
836
- });
837
- return {
838
- cancel: function () {
839
- callback = null;
840
- client.close();
841
- }
842
- };
843
- };
844
-
845
- ClusterAccountGRPCClient.prototype.deleteAccountClusterRole = function deleteAccountClusterRole(requestMessage, metadata, callback) {
846
- if (arguments.length === 2) {
847
- callback = arguments[1];
848
- }
849
- var client = grpc.unary(ClusterAccountGRPC.DeleteAccountClusterRole, {
850
- request: requestMessage,
851
- host: this.serviceHost,
852
- metadata: metadata,
853
- transport: this.options.transport,
854
- debug: this.options.debug,
855
- onEnd: function (response) {
856
- if (callback) {
857
- if (response.status !== grpc.Code.OK) {
858
- var err = new Error(response.statusMessage);
859
- err.code = response.status;
860
- err.metadata = response.trailers;
861
- callback(err, null);
862
- } else {
863
- callback(null, response.message);
864
- }
865
- }
866
- }
867
- });
868
- return {
869
- cancel: function () {
870
- callback = null;
871
- client.close();
872
- }
873
- };
874
- };
875
-
876
- exports.ClusterAccountGRPCClient = ClusterAccountGRPCClient;
877
-