@aceplus/smartace-api 2.13.0-alpha.1 → 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 (221) hide show
  1. package/package.json +1 -1
  2. package/auth.account_pb.d.ts +0 -704
  3. package/auth.account_pb.js +0 -5239
  4. package/auth.account_pb_service.d.ts +0 -511
  5. package/auth.account_pb_service.js +0 -997
  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.spic_config_pb.d.ts +0 -184
  179. package/meta.spic_config_pb.js +0 -1382
  180. package/meta.spic_config_pb_service.d.ts +0 -122
  181. package/meta.spic_config_pb_service.js +0 -183
  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 -346
  187. package/platform.client_pb.js +0 -2633
  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 -434
  195. package/platform.local_account_pb.js +0 -3318
  196. package/platform.local_account_pb_service.d.ts +0 -388
  197. package/platform.local_account_pb_service.js +0 -743
  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 -45
  207. package/platform.pagination_pb.js +0 -276
  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 -1320
  211. package/spic.cabinet_pb.js +0 -9833
  212. package/spic.cabinet_pb_service.d.ts +0 -359
  213. package/spic.cabinet_pb_service.js +0 -677
  214. package/spic.config_pb.d.ts +0 -249
  215. package/spic.config_pb.js +0 -1891
  216. package/spic.config_pb_service.d.ts +0 -120
  217. package/spic.config_pb_service.js +0 -181
  218. package/spic.contractor_pb.d.ts +0 -195
  219. package/spic.contractor_pb.js +0 -1476
  220. package/spic.contractor_pb_service.d.ts +0 -139
  221. package/spic.contractor_pb_service.js +0 -221
@@ -1,997 +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.SetSuperAccountScopeRequest,
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: google_protobuf_empty_pb.Empty
388
- };
389
-
390
- ClusterAccountGRPC.ResetPassword = {
391
- methodName: "ResetPassword",
392
- service: ClusterAccountGRPC,
393
- requestStream: false,
394
- responseStream: false,
395
- requestType: auth_account_pb.AccountProto.ResetPasswordRequest,
396
- responseType: google_protobuf_empty_pb.Empty
397
- };
398
-
399
- ClusterAccountGRPC.ChangePassword = {
400
- methodName: "ChangePassword",
401
- service: ClusterAccountGRPC,
402
- requestStream: false,
403
- responseStream: false,
404
- requestType: auth_account_pb.AccountProto.ChangePasswordRequest,
405
- responseType: auth_account_pb.AccountProto.ChangePasswordReply
406
- };
407
-
408
- ClusterAccountGRPC.SetAccountScope = {
409
- methodName: "SetAccountScope",
410
- service: ClusterAccountGRPC,
411
- requestStream: false,
412
- responseStream: false,
413
- requestType: auth_account_pb.AccountProto.SetAccountScopeRequest,
414
- responseType: auth_account_pb.AccountProto.SetAccountScopeReply
415
- };
416
-
417
- ClusterAccountGRPC.RetrievePushInfo = {
418
- methodName: "RetrievePushInfo",
419
- service: ClusterAccountGRPC,
420
- requestStream: false,
421
- responseStream: false,
422
- requestType: auth_account_pb.AccountProto.RetrievePushInfoRequest,
423
- responseType: auth_account_pb.AccountProto.RetrievePushInfoReply
424
- };
425
-
426
- ClusterAccountGRPC.SetAccountClusterRole = {
427
- methodName: "SetAccountClusterRole",
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
- ClusterAccountGRPC.DeleteAccountClusterRole = {
436
- methodName: "DeleteAccountClusterRole",
437
- service: ClusterAccountGRPC,
438
- requestStream: false,
439
- responseStream: false,
440
- requestType: auth_account_pb.AccountProto.AccountClusterRoleRequest,
441
- responseType: google_protobuf_empty_pb.Empty
442
- };
443
-
444
- ClusterAccountGRPC.RetrieveActivationStatuses = {
445
- methodName: "RetrieveActivationStatuses",
446
- service: ClusterAccountGRPC,
447
- requestStream: false,
448
- responseStream: false,
449
- requestType: auth_account_pb.AccountProto.RetrieveAccountActivationStatusesRequest,
450
- responseType: auth_account_pb.AccountProto.RetrieveAccountActivationStatusesReply
451
- };
452
-
453
- ClusterAccountGRPC.ResendAdminUserInvitation = {
454
- methodName: "ResendAdminUserInvitation",
455
- service: ClusterAccountGRPC,
456
- requestStream: false,
457
- responseStream: false,
458
- requestType: auth_account_pb.AccountProto.ResendInvitationRequest,
459
- responseType: google_protobuf_empty_pb.Empty
460
- };
461
-
462
- exports.ClusterAccountGRPC = ClusterAccountGRPC;
463
-
464
- function ClusterAccountGRPCClient(serviceHost, options) {
465
- this.serviceHost = serviceHost;
466
- this.options = options || {};
467
- }
468
-
469
- ClusterAccountGRPCClient.prototype.inviteAdminUser = function inviteAdminUser(requestMessage, metadata, callback) {
470
- if (arguments.length === 2) {
471
- callback = arguments[1];
472
- }
473
- var client = grpc.unary(ClusterAccountGRPC.InviteAdminUser, {
474
- request: requestMessage,
475
- host: this.serviceHost,
476
- metadata: metadata,
477
- transport: this.options.transport,
478
- debug: this.options.debug,
479
- onEnd: function (response) {
480
- if (callback) {
481
- if (response.status !== grpc.Code.OK) {
482
- var err = new Error(response.statusMessage);
483
- err.code = response.status;
484
- err.metadata = response.trailers;
485
- callback(err, null);
486
- } else {
487
- callback(null, response.message);
488
- }
489
- }
490
- }
491
- });
492
- return {
493
- cancel: function () {
494
- callback = null;
495
- client.close();
496
- }
497
- };
498
- };
499
-
500
- ClusterAccountGRPCClient.prototype.inviteAppUser = function inviteAppUser(requestMessage, metadata, callback) {
501
- if (arguments.length === 2) {
502
- callback = arguments[1];
503
- }
504
- var client = grpc.unary(ClusterAccountGRPC.InviteAppUser, {
505
- request: requestMessage,
506
- host: this.serviceHost,
507
- metadata: metadata,
508
- transport: this.options.transport,
509
- debug: this.options.debug,
510
- onEnd: function (response) {
511
- if (callback) {
512
- if (response.status !== grpc.Code.OK) {
513
- var err = new Error(response.statusMessage);
514
- err.code = response.status;
515
- err.metadata = response.trailers;
516
- callback(err, null);
517
- } else {
518
- callback(null, response.message);
519
- }
520
- }
521
- }
522
- });
523
- return {
524
- cancel: function () {
525
- callback = null;
526
- client.close();
527
- }
528
- };
529
- };
530
-
531
- ClusterAccountGRPCClient.prototype.retrieve = function retrieve(requestMessage, metadata, callback) {
532
- if (arguments.length === 2) {
533
- callback = arguments[1];
534
- }
535
- var client = grpc.unary(ClusterAccountGRPC.Retrieve, {
536
- request: requestMessage,
537
- host: this.serviceHost,
538
- metadata: metadata,
539
- transport: this.options.transport,
540
- debug: this.options.debug,
541
- onEnd: function (response) {
542
- if (callback) {
543
- if (response.status !== grpc.Code.OK) {
544
- var err = new Error(response.statusMessage);
545
- err.code = response.status;
546
- err.metadata = response.trailers;
547
- callback(err, null);
548
- } else {
549
- callback(null, response.message);
550
- }
551
- }
552
- }
553
- });
554
- return {
555
- cancel: function () {
556
- callback = null;
557
- client.close();
558
- }
559
- };
560
- };
561
-
562
- ClusterAccountGRPCClient.prototype.update = function update(requestMessage, metadata, callback) {
563
- if (arguments.length === 2) {
564
- callback = arguments[1];
565
- }
566
- var client = grpc.unary(ClusterAccountGRPC.Update, {
567
- request: requestMessage,
568
- host: this.serviceHost,
569
- metadata: metadata,
570
- transport: this.options.transport,
571
- debug: this.options.debug,
572
- onEnd: function (response) {
573
- if (callback) {
574
- if (response.status !== grpc.Code.OK) {
575
- var err = new Error(response.statusMessage);
576
- err.code = response.status;
577
- err.metadata = response.trailers;
578
- callback(err, null);
579
- } else {
580
- callback(null, response.message);
581
- }
582
- }
583
- }
584
- });
585
- return {
586
- cancel: function () {
587
- callback = null;
588
- client.close();
589
- }
590
- };
591
- };
592
-
593
- ClusterAccountGRPCClient.prototype.delete = function pb_delete(requestMessage, metadata, callback) {
594
- if (arguments.length === 2) {
595
- callback = arguments[1];
596
- }
597
- var client = grpc.unary(ClusterAccountGRPC.Delete, {
598
- request: requestMessage,
599
- host: this.serviceHost,
600
- metadata: metadata,
601
- transport: this.options.transport,
602
- debug: this.options.debug,
603
- onEnd: function (response) {
604
- if (callback) {
605
- if (response.status !== grpc.Code.OK) {
606
- var err = new Error(response.statusMessage);
607
- err.code = response.status;
608
- err.metadata = response.trailers;
609
- callback(err, null);
610
- } else {
611
- callback(null, response.message);
612
- }
613
- }
614
- }
615
- });
616
- return {
617
- cancel: function () {
618
- callback = null;
619
- client.close();
620
- }
621
- };
622
- };
623
-
624
- ClusterAccountGRPCClient.prototype.searchAdmin = function searchAdmin(requestMessage, metadata, callback) {
625
- if (arguments.length === 2) {
626
- callback = arguments[1];
627
- }
628
- var client = grpc.unary(ClusterAccountGRPC.SearchAdmin, {
629
- request: requestMessage,
630
- host: this.serviceHost,
631
- metadata: metadata,
632
- transport: this.options.transport,
633
- debug: this.options.debug,
634
- onEnd: function (response) {
635
- if (callback) {
636
- if (response.status !== grpc.Code.OK) {
637
- var err = new Error(response.statusMessage);
638
- err.code = response.status;
639
- err.metadata = response.trailers;
640
- callback(err, null);
641
- } else {
642
- callback(null, response.message);
643
- }
644
- }
645
- }
646
- });
647
- return {
648
- cancel: function () {
649
- callback = null;
650
- client.close();
651
- }
652
- };
653
- };
654
-
655
- ClusterAccountGRPCClient.prototype.searchApp = function searchApp(requestMessage, metadata, callback) {
656
- if (arguments.length === 2) {
657
- callback = arguments[1];
658
- }
659
- var client = grpc.unary(ClusterAccountGRPC.SearchApp, {
660
- request: requestMessage,
661
- host: this.serviceHost,
662
- metadata: metadata,
663
- transport: this.options.transport,
664
- debug: this.options.debug,
665
- onEnd: function (response) {
666
- if (callback) {
667
- if (response.status !== grpc.Code.OK) {
668
- var err = new Error(response.statusMessage);
669
- err.code = response.status;
670
- err.metadata = response.trailers;
671
- callback(err, null);
672
- } else {
673
- callback(null, response.message);
674
- }
675
- }
676
- }
677
- });
678
- return {
679
- cancel: function () {
680
- callback = null;
681
- client.close();
682
- }
683
- };
684
- };
685
-
686
- ClusterAccountGRPCClient.prototype.activateAccount = function activateAccount(requestMessage, metadata, callback) {
687
- if (arguments.length === 2) {
688
- callback = arguments[1];
689
- }
690
- var client = grpc.unary(ClusterAccountGRPC.ActivateAccount, {
691
- request: requestMessage,
692
- host: this.serviceHost,
693
- metadata: metadata,
694
- transport: this.options.transport,
695
- debug: this.options.debug,
696
- onEnd: function (response) {
697
- if (callback) {
698
- if (response.status !== grpc.Code.OK) {
699
- var err = new Error(response.statusMessage);
700
- err.code = response.status;
701
- err.metadata = response.trailers;
702
- callback(err, null);
703
- } else {
704
- callback(null, response.message);
705
- }
706
- }
707
- }
708
- });
709
- return {
710
- cancel: function () {
711
- callback = null;
712
- client.close();
713
- }
714
- };
715
- };
716
-
717
- ClusterAccountGRPCClient.prototype.forgotPassword = function forgotPassword(requestMessage, metadata, callback) {
718
- if (arguments.length === 2) {
719
- callback = arguments[1];
720
- }
721
- var client = grpc.unary(ClusterAccountGRPC.ForgotPassword, {
722
- request: requestMessage,
723
- host: this.serviceHost,
724
- metadata: metadata,
725
- transport: this.options.transport,
726
- debug: this.options.debug,
727
- onEnd: function (response) {
728
- if (callback) {
729
- if (response.status !== grpc.Code.OK) {
730
- var err = new Error(response.statusMessage);
731
- err.code = response.status;
732
- err.metadata = response.trailers;
733
- callback(err, null);
734
- } else {
735
- callback(null, response.message);
736
- }
737
- }
738
- }
739
- });
740
- return {
741
- cancel: function () {
742
- callback = null;
743
- client.close();
744
- }
745
- };
746
- };
747
-
748
- ClusterAccountGRPCClient.prototype.resetPassword = function resetPassword(requestMessage, metadata, callback) {
749
- if (arguments.length === 2) {
750
- callback = arguments[1];
751
- }
752
- var client = grpc.unary(ClusterAccountGRPC.ResetPassword, {
753
- request: requestMessage,
754
- host: this.serviceHost,
755
- metadata: metadata,
756
- transport: this.options.transport,
757
- debug: this.options.debug,
758
- onEnd: function (response) {
759
- if (callback) {
760
- if (response.status !== grpc.Code.OK) {
761
- var err = new Error(response.statusMessage);
762
- err.code = response.status;
763
- err.metadata = response.trailers;
764
- callback(err, null);
765
- } else {
766
- callback(null, response.message);
767
- }
768
- }
769
- }
770
- });
771
- return {
772
- cancel: function () {
773
- callback = null;
774
- client.close();
775
- }
776
- };
777
- };
778
-
779
- ClusterAccountGRPCClient.prototype.changePassword = function changePassword(requestMessage, metadata, callback) {
780
- if (arguments.length === 2) {
781
- callback = arguments[1];
782
- }
783
- var client = grpc.unary(ClusterAccountGRPC.ChangePassword, {
784
- request: requestMessage,
785
- host: this.serviceHost,
786
- metadata: metadata,
787
- transport: this.options.transport,
788
- debug: this.options.debug,
789
- onEnd: function (response) {
790
- if (callback) {
791
- if (response.status !== grpc.Code.OK) {
792
- var err = new Error(response.statusMessage);
793
- err.code = response.status;
794
- err.metadata = response.trailers;
795
- callback(err, null);
796
- } else {
797
- callback(null, response.message);
798
- }
799
- }
800
- }
801
- });
802
- return {
803
- cancel: function () {
804
- callback = null;
805
- client.close();
806
- }
807
- };
808
- };
809
-
810
- ClusterAccountGRPCClient.prototype.setAccountScope = function setAccountScope(requestMessage, metadata, callback) {
811
- if (arguments.length === 2) {
812
- callback = arguments[1];
813
- }
814
- var client = grpc.unary(ClusterAccountGRPC.SetAccountScope, {
815
- request: requestMessage,
816
- host: this.serviceHost,
817
- metadata: metadata,
818
- transport: this.options.transport,
819
- debug: this.options.debug,
820
- onEnd: function (response) {
821
- if (callback) {
822
- if (response.status !== grpc.Code.OK) {
823
- var err = new Error(response.statusMessage);
824
- err.code = response.status;
825
- err.metadata = response.trailers;
826
- callback(err, null);
827
- } else {
828
- callback(null, response.message);
829
- }
830
- }
831
- }
832
- });
833
- return {
834
- cancel: function () {
835
- callback = null;
836
- client.close();
837
- }
838
- };
839
- };
840
-
841
- ClusterAccountGRPCClient.prototype.retrievePushInfo = function retrievePushInfo(requestMessage, metadata, callback) {
842
- if (arguments.length === 2) {
843
- callback = arguments[1];
844
- }
845
- var client = grpc.unary(ClusterAccountGRPC.RetrievePushInfo, {
846
- request: requestMessage,
847
- host: this.serviceHost,
848
- metadata: metadata,
849
- transport: this.options.transport,
850
- debug: this.options.debug,
851
- onEnd: function (response) {
852
- if (callback) {
853
- if (response.status !== grpc.Code.OK) {
854
- var err = new Error(response.statusMessage);
855
- err.code = response.status;
856
- err.metadata = response.trailers;
857
- callback(err, null);
858
- } else {
859
- callback(null, response.message);
860
- }
861
- }
862
- }
863
- });
864
- return {
865
- cancel: function () {
866
- callback = null;
867
- client.close();
868
- }
869
- };
870
- };
871
-
872
- ClusterAccountGRPCClient.prototype.setAccountClusterRole = function setAccountClusterRole(requestMessage, metadata, callback) {
873
- if (arguments.length === 2) {
874
- callback = arguments[1];
875
- }
876
- var client = grpc.unary(ClusterAccountGRPC.SetAccountClusterRole, {
877
- request: requestMessage,
878
- host: this.serviceHost,
879
- metadata: metadata,
880
- transport: this.options.transport,
881
- debug: this.options.debug,
882
- onEnd: function (response) {
883
- if (callback) {
884
- if (response.status !== grpc.Code.OK) {
885
- var err = new Error(response.statusMessage);
886
- err.code = response.status;
887
- err.metadata = response.trailers;
888
- callback(err, null);
889
- } else {
890
- callback(null, response.message);
891
- }
892
- }
893
- }
894
- });
895
- return {
896
- cancel: function () {
897
- callback = null;
898
- client.close();
899
- }
900
- };
901
- };
902
-
903
- ClusterAccountGRPCClient.prototype.deleteAccountClusterRole = function deleteAccountClusterRole(requestMessage, metadata, callback) {
904
- if (arguments.length === 2) {
905
- callback = arguments[1];
906
- }
907
- var client = grpc.unary(ClusterAccountGRPC.DeleteAccountClusterRole, {
908
- request: requestMessage,
909
- host: this.serviceHost,
910
- metadata: metadata,
911
- transport: this.options.transport,
912
- debug: this.options.debug,
913
- onEnd: function (response) {
914
- if (callback) {
915
- if (response.status !== grpc.Code.OK) {
916
- var err = new Error(response.statusMessage);
917
- err.code = response.status;
918
- err.metadata = response.trailers;
919
- callback(err, null);
920
- } else {
921
- callback(null, response.message);
922
- }
923
- }
924
- }
925
- });
926
- return {
927
- cancel: function () {
928
- callback = null;
929
- client.close();
930
- }
931
- };
932
- };
933
-
934
- ClusterAccountGRPCClient.prototype.retrieveActivationStatuses = function retrieveActivationStatuses(requestMessage, metadata, callback) {
935
- if (arguments.length === 2) {
936
- callback = arguments[1];
937
- }
938
- var client = grpc.unary(ClusterAccountGRPC.RetrieveActivationStatuses, {
939
- request: requestMessage,
940
- host: this.serviceHost,
941
- metadata: metadata,
942
- transport: this.options.transport,
943
- debug: this.options.debug,
944
- onEnd: function (response) {
945
- if (callback) {
946
- if (response.status !== grpc.Code.OK) {
947
- var err = new Error(response.statusMessage);
948
- err.code = response.status;
949
- err.metadata = response.trailers;
950
- callback(err, null);
951
- } else {
952
- callback(null, response.message);
953
- }
954
- }
955
- }
956
- });
957
- return {
958
- cancel: function () {
959
- callback = null;
960
- client.close();
961
- }
962
- };
963
- };
964
-
965
- ClusterAccountGRPCClient.prototype.resendAdminUserInvitation = function resendAdminUserInvitation(requestMessage, metadata, callback) {
966
- if (arguments.length === 2) {
967
- callback = arguments[1];
968
- }
969
- var client = grpc.unary(ClusterAccountGRPC.ResendAdminUserInvitation, {
970
- request: requestMessage,
971
- host: this.serviceHost,
972
- metadata: metadata,
973
- transport: this.options.transport,
974
- debug: this.options.debug,
975
- onEnd: function (response) {
976
- if (callback) {
977
- if (response.status !== grpc.Code.OK) {
978
- var err = new Error(response.statusMessage);
979
- err.code = response.status;
980
- err.metadata = response.trailers;
981
- callback(err, null);
982
- } else {
983
- callback(null, response.message);
984
- }
985
- }
986
- }
987
- });
988
- return {
989
- cancel: function () {
990
- callback = null;
991
- client.close();
992
- }
993
- };
994
- };
995
-
996
- exports.ClusterAccountGRPCClient = ClusterAccountGRPCClient;
997
-