@aceplus/smartace-api 2.13.0-alpha.2 → 2.13.0-jan-auth-refactor.1

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 (225) 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.client_pb.d.ts +0 -168
  179. package/meta.client_pb.js +0 -1268
  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 -251
  183. package/meta.spic_config_pb.js +0 -1820
  184. package/meta.spic_config_pb_service.d.ts +0 -141
  185. package/meta.spic_config_pb_service.js +0 -223
  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_pb.d.ts +0 -434
  199. package/platform.local_account_pb.js +0 -3318
  200. package/platform.local_account_pb_service.d.ts +0 -388
  201. package/platform.local_account_pb_service.js +0 -743
  202. package/platform.local_distribution_pb.d.ts +0 -69
  203. package/platform.local_distribution_pb.js +0 -506
  204. package/platform.local_distribution_pb_service.d.ts +0 -63
  205. package/platform.local_distribution_pb_service.js +0 -61
  206. package/platform.location_pb.d.ts +0 -271
  207. package/platform.location_pb.js +0 -2046
  208. package/platform.location_pb_service.d.ts +0 -139
  209. package/platform.location_pb_service.js +0 -221
  210. package/platform.pagination_pb.d.ts +0 -45
  211. package/platform.pagination_pb.js +0 -276
  212. package/platform.pagination_pb_service.d.ts +0 -3
  213. package/platform.pagination_pb_service.js +0 -3
  214. package/spic.cabinet_pb.d.ts +0 -1320
  215. package/spic.cabinet_pb.js +0 -9833
  216. package/spic.cabinet_pb_service.d.ts +0 -359
  217. package/spic.cabinet_pb_service.js +0 -677
  218. package/spic.config_pb.d.ts +0 -249
  219. package/spic.config_pb.js +0 -1891
  220. package/spic.config_pb_service.d.ts +0 -120
  221. package/spic.config_pb_service.js +0 -181
  222. package/spic.contractor_pb.d.ts +0 -195
  223. package/spic.contractor_pb.js +0 -1476
  224. package/spic.contractor_pb_service.d.ts +0 -139
  225. package/spic.contractor_pb_service.js +0 -221
@@ -1,511 +0,0 @@
1
- // package: Auth
2
- // file: auth.account.proto
3
-
4
- import * as auth_account_pb from "./auth.account_pb";
5
- import * as google_protobuf_empty_pb from "google-protobuf/google/protobuf/empty_pb";
6
- import {grpc} from "@improbable-eng/grpc-web";
7
-
8
- type SuperAdminAccountGRPCCreateUser = {
9
- readonly methodName: string;
10
- readonly service: typeof SuperAdminAccountGRPC;
11
- readonly requestStream: false;
12
- readonly responseStream: false;
13
- readonly requestType: typeof auth_account_pb.AccountProto.CreateAdminRequest;
14
- readonly responseType: typeof auth_account_pb.AccountProto;
15
- };
16
-
17
- type SuperAdminAccountGRPCRetrieve = {
18
- readonly methodName: string;
19
- readonly service: typeof SuperAdminAccountGRPC;
20
- readonly requestStream: false;
21
- readonly responseStream: false;
22
- readonly requestType: typeof auth_account_pb.AccountProto.RetrieveRequest;
23
- readonly responseType: typeof auth_account_pb.AccountProto;
24
- };
25
-
26
- type SuperAdminAccountGRPCUpdate = {
27
- readonly methodName: string;
28
- readonly service: typeof SuperAdminAccountGRPC;
29
- readonly requestStream: false;
30
- readonly responseStream: false;
31
- readonly requestType: typeof auth_account_pb.AccountProto.UpdateRequest;
32
- readonly responseType: typeof auth_account_pb.AccountProto;
33
- };
34
-
35
- type SuperAdminAccountGRPCDelete = {
36
- readonly methodName: string;
37
- readonly service: typeof SuperAdminAccountGRPC;
38
- readonly requestStream: false;
39
- readonly responseStream: false;
40
- readonly requestType: typeof auth_account_pb.AccountProto.DeleteRequest;
41
- readonly responseType: typeof auth_account_pb.AccountProto.DeleteReply;
42
- };
43
-
44
- type SuperAdminAccountGRPCSearch = {
45
- readonly methodName: string;
46
- readonly service: typeof SuperAdminAccountGRPC;
47
- readonly requestStream: false;
48
- readonly responseStream: false;
49
- readonly requestType: typeof auth_account_pb.AccountProto.SearchRequest;
50
- readonly responseType: typeof auth_account_pb.AccountProto.SearchReply;
51
- };
52
-
53
- type SuperAdminAccountGRPCSetPassword = {
54
- readonly methodName: string;
55
- readonly service: typeof SuperAdminAccountGRPC;
56
- readonly requestStream: false;
57
- readonly responseStream: false;
58
- readonly requestType: typeof auth_account_pb.AccountProto.ChangePasswordRequest;
59
- readonly responseType: typeof auth_account_pb.AccountProto.ChangePasswordReply;
60
- };
61
-
62
- type SuperAdminAccountGRPCSetAccountScope = {
63
- readonly methodName: string;
64
- readonly service: typeof SuperAdminAccountGRPC;
65
- readonly requestStream: false;
66
- readonly responseStream: false;
67
- readonly requestType: typeof auth_account_pb.AccountProto.SetSuperAccountScopeRequest;
68
- readonly responseType: typeof auth_account_pb.AccountProto.SetAccountScopeReply;
69
- };
70
-
71
- export class SuperAdminAccountGRPC {
72
- static readonly serviceName: string;
73
- static readonly CreateUser: SuperAdminAccountGRPCCreateUser;
74
- static readonly Retrieve: SuperAdminAccountGRPCRetrieve;
75
- static readonly Update: SuperAdminAccountGRPCUpdate;
76
- static readonly Delete: SuperAdminAccountGRPCDelete;
77
- static readonly Search: SuperAdminAccountGRPCSearch;
78
- static readonly SetPassword: SuperAdminAccountGRPCSetPassword;
79
- static readonly SetAccountScope: SuperAdminAccountGRPCSetAccountScope;
80
- }
81
-
82
- type ClusterAccountGRPCInviteAdminUser = {
83
- readonly methodName: string;
84
- readonly service: typeof ClusterAccountGRPC;
85
- readonly requestStream: false;
86
- readonly responseStream: false;
87
- readonly requestType: typeof auth_account_pb.AccountProto.CreateAdminRequest;
88
- readonly responseType: typeof auth_account_pb.AccountProto;
89
- };
90
-
91
- type ClusterAccountGRPCInviteAppUser = {
92
- readonly methodName: string;
93
- readonly service: typeof ClusterAccountGRPC;
94
- readonly requestStream: false;
95
- readonly responseStream: false;
96
- readonly requestType: typeof auth_account_pb.AccountProto.CreateAppRequest;
97
- readonly responseType: typeof auth_account_pb.AccountProto;
98
- };
99
-
100
- type ClusterAccountGRPCRetrieve = {
101
- readonly methodName: string;
102
- readonly service: typeof ClusterAccountGRPC;
103
- readonly requestStream: false;
104
- readonly responseStream: false;
105
- readonly requestType: typeof auth_account_pb.AccountProto.RetrieveRequest;
106
- readonly responseType: typeof auth_account_pb.AccountProto;
107
- };
108
-
109
- type ClusterAccountGRPCUpdate = {
110
- readonly methodName: string;
111
- readonly service: typeof ClusterAccountGRPC;
112
- readonly requestStream: false;
113
- readonly responseStream: false;
114
- readonly requestType: typeof auth_account_pb.AccountProto.UpdateRequest;
115
- readonly responseType: typeof auth_account_pb.AccountProto;
116
- };
117
-
118
- type ClusterAccountGRPCDelete = {
119
- readonly methodName: string;
120
- readonly service: typeof ClusterAccountGRPC;
121
- readonly requestStream: false;
122
- readonly responseStream: false;
123
- readonly requestType: typeof auth_account_pb.AccountProto.DeleteRequest;
124
- readonly responseType: typeof auth_account_pb.AccountProto.DeleteReply;
125
- };
126
-
127
- type ClusterAccountGRPCSearchAdmin = {
128
- readonly methodName: string;
129
- readonly service: typeof ClusterAccountGRPC;
130
- readonly requestStream: false;
131
- readonly responseStream: false;
132
- readonly requestType: typeof auth_account_pb.AccountProto.SearchRequest;
133
- readonly responseType: typeof auth_account_pb.AccountProto.SearchReply;
134
- };
135
-
136
- type ClusterAccountGRPCSearchApp = {
137
- readonly methodName: string;
138
- readonly service: typeof ClusterAccountGRPC;
139
- readonly requestStream: false;
140
- readonly responseStream: false;
141
- readonly requestType: typeof auth_account_pb.AccountProto.SearchRequest;
142
- readonly responseType: typeof auth_account_pb.AccountProto.SearchReply;
143
- };
144
-
145
- type ClusterAccountGRPCActivateAccount = {
146
- readonly methodName: string;
147
- readonly service: typeof ClusterAccountGRPC;
148
- readonly requestStream: false;
149
- readonly responseStream: false;
150
- readonly requestType: typeof auth_account_pb.AccountProto.ActivateAccountRequest;
151
- readonly responseType: typeof auth_account_pb.AccountProto;
152
- };
153
-
154
- type ClusterAccountGRPCForgotPassword = {
155
- readonly methodName: string;
156
- readonly service: typeof ClusterAccountGRPC;
157
- readonly requestStream: false;
158
- readonly responseStream: false;
159
- readonly requestType: typeof auth_account_pb.AccountProto.ForgotPasswordRequest;
160
- readonly responseType: typeof google_protobuf_empty_pb.Empty;
161
- };
162
-
163
- type ClusterAccountGRPCResetPassword = {
164
- readonly methodName: string;
165
- readonly service: typeof ClusterAccountGRPC;
166
- readonly requestStream: false;
167
- readonly responseStream: false;
168
- readonly requestType: typeof auth_account_pb.AccountProto.ResetPasswordRequest;
169
- readonly responseType: typeof google_protobuf_empty_pb.Empty;
170
- };
171
-
172
- type ClusterAccountGRPCChangePassword = {
173
- readonly methodName: string;
174
- readonly service: typeof ClusterAccountGRPC;
175
- readonly requestStream: false;
176
- readonly responseStream: false;
177
- readonly requestType: typeof auth_account_pb.AccountProto.ChangePasswordRequest;
178
- readonly responseType: typeof auth_account_pb.AccountProto.ChangePasswordReply;
179
- };
180
-
181
- type ClusterAccountGRPCSetAccountScope = {
182
- readonly methodName: string;
183
- readonly service: typeof ClusterAccountGRPC;
184
- readonly requestStream: false;
185
- readonly responseStream: false;
186
- readonly requestType: typeof auth_account_pb.AccountProto.SetAccountScopeRequest;
187
- readonly responseType: typeof auth_account_pb.AccountProto.SetAccountScopeReply;
188
- };
189
-
190
- type ClusterAccountGRPCRetrievePushInfo = {
191
- readonly methodName: string;
192
- readonly service: typeof ClusterAccountGRPC;
193
- readonly requestStream: false;
194
- readonly responseStream: false;
195
- readonly requestType: typeof auth_account_pb.AccountProto.RetrievePushInfoRequest;
196
- readonly responseType: typeof auth_account_pb.AccountProto.RetrievePushInfoReply;
197
- };
198
-
199
- type ClusterAccountGRPCSetAccountClusterRole = {
200
- readonly methodName: string;
201
- readonly service: typeof ClusterAccountGRPC;
202
- readonly requestStream: false;
203
- readonly responseStream: false;
204
- readonly requestType: typeof auth_account_pb.AccountProto.AccountClusterRoleRequest;
205
- readonly responseType: typeof google_protobuf_empty_pb.Empty;
206
- };
207
-
208
- type ClusterAccountGRPCDeleteAccountClusterRole = {
209
- readonly methodName: string;
210
- readonly service: typeof ClusterAccountGRPC;
211
- readonly requestStream: false;
212
- readonly responseStream: false;
213
- readonly requestType: typeof auth_account_pb.AccountProto.AccountClusterRoleRequest;
214
- readonly responseType: typeof google_protobuf_empty_pb.Empty;
215
- };
216
-
217
- type ClusterAccountGRPCRetrieveActivationStatuses = {
218
- readonly methodName: string;
219
- readonly service: typeof ClusterAccountGRPC;
220
- readonly requestStream: false;
221
- readonly responseStream: false;
222
- readonly requestType: typeof auth_account_pb.AccountProto.RetrieveAccountActivationStatusesRequest;
223
- readonly responseType: typeof auth_account_pb.AccountProto.RetrieveAccountActivationStatusesReply;
224
- };
225
-
226
- type ClusterAccountGRPCResendAdminUserInvitation = {
227
- readonly methodName: string;
228
- readonly service: typeof ClusterAccountGRPC;
229
- readonly requestStream: false;
230
- readonly responseStream: false;
231
- readonly requestType: typeof auth_account_pb.AccountProto.ResendInvitationRequest;
232
- readonly responseType: typeof google_protobuf_empty_pb.Empty;
233
- };
234
-
235
- export class ClusterAccountGRPC {
236
- static readonly serviceName: string;
237
- static readonly InviteAdminUser: ClusterAccountGRPCInviteAdminUser;
238
- static readonly InviteAppUser: ClusterAccountGRPCInviteAppUser;
239
- static readonly Retrieve: ClusterAccountGRPCRetrieve;
240
- static readonly Update: ClusterAccountGRPCUpdate;
241
- static readonly Delete: ClusterAccountGRPCDelete;
242
- static readonly SearchAdmin: ClusterAccountGRPCSearchAdmin;
243
- static readonly SearchApp: ClusterAccountGRPCSearchApp;
244
- static readonly ActivateAccount: ClusterAccountGRPCActivateAccount;
245
- static readonly ForgotPassword: ClusterAccountGRPCForgotPassword;
246
- static readonly ResetPassword: ClusterAccountGRPCResetPassword;
247
- static readonly ChangePassword: ClusterAccountGRPCChangePassword;
248
- static readonly SetAccountScope: ClusterAccountGRPCSetAccountScope;
249
- static readonly RetrievePushInfo: ClusterAccountGRPCRetrievePushInfo;
250
- static readonly SetAccountClusterRole: ClusterAccountGRPCSetAccountClusterRole;
251
- static readonly DeleteAccountClusterRole: ClusterAccountGRPCDeleteAccountClusterRole;
252
- static readonly RetrieveActivationStatuses: ClusterAccountGRPCRetrieveActivationStatuses;
253
- static readonly ResendAdminUserInvitation: ClusterAccountGRPCResendAdminUserInvitation;
254
- }
255
-
256
- export type ServiceError = { message: string, code: number; metadata: grpc.Metadata }
257
- export type Status = { details: string, code: number; metadata: grpc.Metadata }
258
-
259
- interface UnaryResponse {
260
- cancel(): void;
261
- }
262
- interface ResponseStream<T> {
263
- cancel(): void;
264
- on(type: 'data', handler: (message: T) => void): ResponseStream<T>;
265
- on(type: 'end', handler: (status?: Status) => void): ResponseStream<T>;
266
- on(type: 'status', handler: (status: Status) => void): ResponseStream<T>;
267
- }
268
- interface RequestStream<T> {
269
- write(message: T): RequestStream<T>;
270
- end(): void;
271
- cancel(): void;
272
- on(type: 'end', handler: (status?: Status) => void): RequestStream<T>;
273
- on(type: 'status', handler: (status: Status) => void): RequestStream<T>;
274
- }
275
- interface BidirectionalStream<ReqT, ResT> {
276
- write(message: ReqT): BidirectionalStream<ReqT, ResT>;
277
- end(): void;
278
- cancel(): void;
279
- on(type: 'data', handler: (message: ResT) => void): BidirectionalStream<ReqT, ResT>;
280
- on(type: 'end', handler: (status?: Status) => void): BidirectionalStream<ReqT, ResT>;
281
- on(type: 'status', handler: (status: Status) => void): BidirectionalStream<ReqT, ResT>;
282
- }
283
-
284
- export class SuperAdminAccountGRPCClient {
285
- readonly serviceHost: string;
286
-
287
- constructor(serviceHost: string, options?: grpc.RpcOptions);
288
- createUser(
289
- requestMessage: auth_account_pb.AccountProto.CreateAdminRequest,
290
- metadata: grpc.Metadata,
291
- callback: (error: ServiceError|null, responseMessage: auth_account_pb.AccountProto|null) => void
292
- ): UnaryResponse;
293
- createUser(
294
- requestMessage: auth_account_pb.AccountProto.CreateAdminRequest,
295
- callback: (error: ServiceError|null, responseMessage: auth_account_pb.AccountProto|null) => void
296
- ): UnaryResponse;
297
- retrieve(
298
- requestMessage: auth_account_pb.AccountProto.RetrieveRequest,
299
- metadata: grpc.Metadata,
300
- callback: (error: ServiceError|null, responseMessage: auth_account_pb.AccountProto|null) => void
301
- ): UnaryResponse;
302
- retrieve(
303
- requestMessage: auth_account_pb.AccountProto.RetrieveRequest,
304
- callback: (error: ServiceError|null, responseMessage: auth_account_pb.AccountProto|null) => void
305
- ): UnaryResponse;
306
- update(
307
- requestMessage: auth_account_pb.AccountProto.UpdateRequest,
308
- metadata: grpc.Metadata,
309
- callback: (error: ServiceError|null, responseMessage: auth_account_pb.AccountProto|null) => void
310
- ): UnaryResponse;
311
- update(
312
- requestMessage: auth_account_pb.AccountProto.UpdateRequest,
313
- callback: (error: ServiceError|null, responseMessage: auth_account_pb.AccountProto|null) => void
314
- ): UnaryResponse;
315
- delete(
316
- requestMessage: auth_account_pb.AccountProto.DeleteRequest,
317
- metadata: grpc.Metadata,
318
- callback: (error: ServiceError|null, responseMessage: auth_account_pb.AccountProto.DeleteReply|null) => void
319
- ): UnaryResponse;
320
- delete(
321
- requestMessage: auth_account_pb.AccountProto.DeleteRequest,
322
- callback: (error: ServiceError|null, responseMessage: auth_account_pb.AccountProto.DeleteReply|null) => void
323
- ): UnaryResponse;
324
- search(
325
- requestMessage: auth_account_pb.AccountProto.SearchRequest,
326
- metadata: grpc.Metadata,
327
- callback: (error: ServiceError|null, responseMessage: auth_account_pb.AccountProto.SearchReply|null) => void
328
- ): UnaryResponse;
329
- search(
330
- requestMessage: auth_account_pb.AccountProto.SearchRequest,
331
- callback: (error: ServiceError|null, responseMessage: auth_account_pb.AccountProto.SearchReply|null) => void
332
- ): UnaryResponse;
333
- setPassword(
334
- requestMessage: auth_account_pb.AccountProto.ChangePasswordRequest,
335
- metadata: grpc.Metadata,
336
- callback: (error: ServiceError|null, responseMessage: auth_account_pb.AccountProto.ChangePasswordReply|null) => void
337
- ): UnaryResponse;
338
- setPassword(
339
- requestMessage: auth_account_pb.AccountProto.ChangePasswordRequest,
340
- callback: (error: ServiceError|null, responseMessage: auth_account_pb.AccountProto.ChangePasswordReply|null) => void
341
- ): UnaryResponse;
342
- setAccountScope(
343
- requestMessage: auth_account_pb.AccountProto.SetSuperAccountScopeRequest,
344
- metadata: grpc.Metadata,
345
- callback: (error: ServiceError|null, responseMessage: auth_account_pb.AccountProto.SetAccountScopeReply|null) => void
346
- ): UnaryResponse;
347
- setAccountScope(
348
- requestMessage: auth_account_pb.AccountProto.SetSuperAccountScopeRequest,
349
- callback: (error: ServiceError|null, responseMessage: auth_account_pb.AccountProto.SetAccountScopeReply|null) => void
350
- ): UnaryResponse;
351
- }
352
-
353
- export class ClusterAccountGRPCClient {
354
- readonly serviceHost: string;
355
-
356
- constructor(serviceHost: string, options?: grpc.RpcOptions);
357
- inviteAdminUser(
358
- requestMessage: auth_account_pb.AccountProto.CreateAdminRequest,
359
- metadata: grpc.Metadata,
360
- callback: (error: ServiceError|null, responseMessage: auth_account_pb.AccountProto|null) => void
361
- ): UnaryResponse;
362
- inviteAdminUser(
363
- requestMessage: auth_account_pb.AccountProto.CreateAdminRequest,
364
- callback: (error: ServiceError|null, responseMessage: auth_account_pb.AccountProto|null) => void
365
- ): UnaryResponse;
366
- inviteAppUser(
367
- requestMessage: auth_account_pb.AccountProto.CreateAppRequest,
368
- metadata: grpc.Metadata,
369
- callback: (error: ServiceError|null, responseMessage: auth_account_pb.AccountProto|null) => void
370
- ): UnaryResponse;
371
- inviteAppUser(
372
- requestMessage: auth_account_pb.AccountProto.CreateAppRequest,
373
- callback: (error: ServiceError|null, responseMessage: auth_account_pb.AccountProto|null) => void
374
- ): UnaryResponse;
375
- retrieve(
376
- requestMessage: auth_account_pb.AccountProto.RetrieveRequest,
377
- metadata: grpc.Metadata,
378
- callback: (error: ServiceError|null, responseMessage: auth_account_pb.AccountProto|null) => void
379
- ): UnaryResponse;
380
- retrieve(
381
- requestMessage: auth_account_pb.AccountProto.RetrieveRequest,
382
- callback: (error: ServiceError|null, responseMessage: auth_account_pb.AccountProto|null) => void
383
- ): UnaryResponse;
384
- update(
385
- requestMessage: auth_account_pb.AccountProto.UpdateRequest,
386
- metadata: grpc.Metadata,
387
- callback: (error: ServiceError|null, responseMessage: auth_account_pb.AccountProto|null) => void
388
- ): UnaryResponse;
389
- update(
390
- requestMessage: auth_account_pb.AccountProto.UpdateRequest,
391
- callback: (error: ServiceError|null, responseMessage: auth_account_pb.AccountProto|null) => void
392
- ): UnaryResponse;
393
- delete(
394
- requestMessage: auth_account_pb.AccountProto.DeleteRequest,
395
- metadata: grpc.Metadata,
396
- callback: (error: ServiceError|null, responseMessage: auth_account_pb.AccountProto.DeleteReply|null) => void
397
- ): UnaryResponse;
398
- delete(
399
- requestMessage: auth_account_pb.AccountProto.DeleteRequest,
400
- callback: (error: ServiceError|null, responseMessage: auth_account_pb.AccountProto.DeleteReply|null) => void
401
- ): UnaryResponse;
402
- searchAdmin(
403
- requestMessage: auth_account_pb.AccountProto.SearchRequest,
404
- metadata: grpc.Metadata,
405
- callback: (error: ServiceError|null, responseMessage: auth_account_pb.AccountProto.SearchReply|null) => void
406
- ): UnaryResponse;
407
- searchAdmin(
408
- requestMessage: auth_account_pb.AccountProto.SearchRequest,
409
- callback: (error: ServiceError|null, responseMessage: auth_account_pb.AccountProto.SearchReply|null) => void
410
- ): UnaryResponse;
411
- searchApp(
412
- requestMessage: auth_account_pb.AccountProto.SearchRequest,
413
- metadata: grpc.Metadata,
414
- callback: (error: ServiceError|null, responseMessage: auth_account_pb.AccountProto.SearchReply|null) => void
415
- ): UnaryResponse;
416
- searchApp(
417
- requestMessage: auth_account_pb.AccountProto.SearchRequest,
418
- callback: (error: ServiceError|null, responseMessage: auth_account_pb.AccountProto.SearchReply|null) => void
419
- ): UnaryResponse;
420
- activateAccount(
421
- requestMessage: auth_account_pb.AccountProto.ActivateAccountRequest,
422
- metadata: grpc.Metadata,
423
- callback: (error: ServiceError|null, responseMessage: auth_account_pb.AccountProto|null) => void
424
- ): UnaryResponse;
425
- activateAccount(
426
- requestMessage: auth_account_pb.AccountProto.ActivateAccountRequest,
427
- callback: (error: ServiceError|null, responseMessage: auth_account_pb.AccountProto|null) => void
428
- ): UnaryResponse;
429
- forgotPassword(
430
- requestMessage: auth_account_pb.AccountProto.ForgotPasswordRequest,
431
- metadata: grpc.Metadata,
432
- callback: (error: ServiceError|null, responseMessage: google_protobuf_empty_pb.Empty|null) => void
433
- ): UnaryResponse;
434
- forgotPassword(
435
- requestMessage: auth_account_pb.AccountProto.ForgotPasswordRequest,
436
- callback: (error: ServiceError|null, responseMessage: google_protobuf_empty_pb.Empty|null) => void
437
- ): UnaryResponse;
438
- resetPassword(
439
- requestMessage: auth_account_pb.AccountProto.ResetPasswordRequest,
440
- metadata: grpc.Metadata,
441
- callback: (error: ServiceError|null, responseMessage: google_protobuf_empty_pb.Empty|null) => void
442
- ): UnaryResponse;
443
- resetPassword(
444
- requestMessage: auth_account_pb.AccountProto.ResetPasswordRequest,
445
- callback: (error: ServiceError|null, responseMessage: google_protobuf_empty_pb.Empty|null) => void
446
- ): UnaryResponse;
447
- changePassword(
448
- requestMessage: auth_account_pb.AccountProto.ChangePasswordRequest,
449
- metadata: grpc.Metadata,
450
- callback: (error: ServiceError|null, responseMessage: auth_account_pb.AccountProto.ChangePasswordReply|null) => void
451
- ): UnaryResponse;
452
- changePassword(
453
- requestMessage: auth_account_pb.AccountProto.ChangePasswordRequest,
454
- callback: (error: ServiceError|null, responseMessage: auth_account_pb.AccountProto.ChangePasswordReply|null) => void
455
- ): UnaryResponse;
456
- setAccountScope(
457
- requestMessage: auth_account_pb.AccountProto.SetAccountScopeRequest,
458
- metadata: grpc.Metadata,
459
- callback: (error: ServiceError|null, responseMessage: auth_account_pb.AccountProto.SetAccountScopeReply|null) => void
460
- ): UnaryResponse;
461
- setAccountScope(
462
- requestMessage: auth_account_pb.AccountProto.SetAccountScopeRequest,
463
- callback: (error: ServiceError|null, responseMessage: auth_account_pb.AccountProto.SetAccountScopeReply|null) => void
464
- ): UnaryResponse;
465
- retrievePushInfo(
466
- requestMessage: auth_account_pb.AccountProto.RetrievePushInfoRequest,
467
- metadata: grpc.Metadata,
468
- callback: (error: ServiceError|null, responseMessage: auth_account_pb.AccountProto.RetrievePushInfoReply|null) => void
469
- ): UnaryResponse;
470
- retrievePushInfo(
471
- requestMessage: auth_account_pb.AccountProto.RetrievePushInfoRequest,
472
- callback: (error: ServiceError|null, responseMessage: auth_account_pb.AccountProto.RetrievePushInfoReply|null) => void
473
- ): UnaryResponse;
474
- setAccountClusterRole(
475
- requestMessage: auth_account_pb.AccountProto.AccountClusterRoleRequest,
476
- metadata: grpc.Metadata,
477
- callback: (error: ServiceError|null, responseMessage: google_protobuf_empty_pb.Empty|null) => void
478
- ): UnaryResponse;
479
- setAccountClusterRole(
480
- requestMessage: auth_account_pb.AccountProto.AccountClusterRoleRequest,
481
- callback: (error: ServiceError|null, responseMessage: google_protobuf_empty_pb.Empty|null) => void
482
- ): UnaryResponse;
483
- deleteAccountClusterRole(
484
- requestMessage: auth_account_pb.AccountProto.AccountClusterRoleRequest,
485
- metadata: grpc.Metadata,
486
- callback: (error: ServiceError|null, responseMessage: google_protobuf_empty_pb.Empty|null) => void
487
- ): UnaryResponse;
488
- deleteAccountClusterRole(
489
- requestMessage: auth_account_pb.AccountProto.AccountClusterRoleRequest,
490
- callback: (error: ServiceError|null, responseMessage: google_protobuf_empty_pb.Empty|null) => void
491
- ): UnaryResponse;
492
- retrieveActivationStatuses(
493
- requestMessage: auth_account_pb.AccountProto.RetrieveAccountActivationStatusesRequest,
494
- metadata: grpc.Metadata,
495
- callback: (error: ServiceError|null, responseMessage: auth_account_pb.AccountProto.RetrieveAccountActivationStatusesReply|null) => void
496
- ): UnaryResponse;
497
- retrieveActivationStatuses(
498
- requestMessage: auth_account_pb.AccountProto.RetrieveAccountActivationStatusesRequest,
499
- callback: (error: ServiceError|null, responseMessage: auth_account_pb.AccountProto.RetrieveAccountActivationStatusesReply|null) => void
500
- ): UnaryResponse;
501
- resendAdminUserInvitation(
502
- requestMessage: auth_account_pb.AccountProto.ResendInvitationRequest,
503
- metadata: grpc.Metadata,
504
- callback: (error: ServiceError|null, responseMessage: google_protobuf_empty_pb.Empty|null) => void
505
- ): UnaryResponse;
506
- resendAdminUserInvitation(
507
- requestMessage: auth_account_pb.AccountProto.ResendInvitationRequest,
508
- callback: (error: ServiceError|null, responseMessage: google_protobuf_empty_pb.Empty|null) => void
509
- ): UnaryResponse;
510
- }
511
-