@aceplus/smartace-api 3.7.0-alpha.1 → 3.7.0-alpha.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (249) hide show
  1. package/auth.account_pb.d.ts +433 -0
  2. package/auth.account_pb.js +3141 -0
  3. package/auth.account_pb_service.d.ts +216 -0
  4. package/auth.account_pb_service.js +382 -0
  5. package/auth.account_two_factor_pb.d.ts +135 -0
  6. package/auth.account_two_factor_pb.js +1002 -0
  7. package/auth.account_two_factor_pb_service.d.ts +102 -0
  8. package/auth.account_two_factor_pb_service.js +142 -0
  9. package/auth.app_account_pb.d.ts +186 -0
  10. package/auth.app_account_pb.js +1343 -0
  11. package/auth.app_account_pb_service.d.ts +179 -0
  12. package/auth.app_account_pb_service.js +303 -0
  13. package/auth.app_authn_pb.d.ts +172 -0
  14. package/auth.app_authn_pb.js +1233 -0
  15. package/auth.app_authn_pb_service.d.ts +140 -0
  16. package/auth.app_authn_pb_service.js +222 -0
  17. package/auth.app_distribution_pb.d.ts +242 -0
  18. package/auth.app_distribution_pb.js +1854 -0
  19. package/auth.app_distribution_pb_service.d.ts +158 -0
  20. package/auth.app_distribution_pb_service.js +261 -0
  21. package/auth.authn_pb.d.ts +95 -0
  22. package/auth.authn_pb.js +637 -0
  23. package/auth.authn_pb_service.d.ts +82 -0
  24. package/auth.authn_pb_service.js +101 -0
  25. package/auth.cluster_pb.d.ts +142 -0
  26. package/auth.cluster_pb.js +1050 -0
  27. package/auth.cluster_pb_service.d.ts +82 -0
  28. package/auth.cluster_pb_service.js +101 -0
  29. package/auth.distribution_pb.d.ts +233 -0
  30. package/auth.distribution_pb.js +1785 -0
  31. package/auth.distribution_pb_service.d.ts +82 -0
  32. package/auth.distribution_pb_service.js +101 -0
  33. package/auth.email_pb.d.ts +217 -0
  34. package/auth.email_pb.js +1508 -0
  35. package/auth.email_pb_service.d.ts +102 -0
  36. package/auth.email_pb_service.js +142 -0
  37. package/auth.firmware_pb.d.ts +256 -0
  38. package/auth.firmware_pb.js +1997 -0
  39. package/auth.firmware_pb_service.d.ts +120 -0
  40. package/auth.firmware_pb_service.js +181 -0
  41. package/auth.passkey_pb.d.ts +239 -0
  42. package/auth.passkey_pb.js +1842 -0
  43. package/auth.passkey_pb_service.d.ts +160 -0
  44. package/auth.passkey_pb_service.js +263 -0
  45. package/auth.push_notification_pb.d.ts +69 -0
  46. package/auth.push_notification_pb.js +411 -0
  47. package/auth.push_notification_pb_service.d.ts +64 -0
  48. package/auth.push_notification_pb_service.js +62 -0
  49. package/auth.sms_pb.d.ts +79 -0
  50. package/auth.sms_pb.js +575 -0
  51. package/auth.sms_pb_service.d.ts +83 -0
  52. package/auth.sms_pb_service.js +102 -0
  53. package/google/api/annotations_pb.d.ts +9 -0
  54. package/google/api/annotations_pb.js +54 -0
  55. package/google/api/annotations_pb_service.d.ts +3 -0
  56. package/google/api/annotations_pb_service.js +3 -0
  57. package/google/api/auth_pb.d.ts +150 -0
  58. package/google/api/auth_pb.js +1160 -0
  59. package/google/api/auth_pb_service.d.ts +3 -0
  60. package/google/api/auth_pb_service.js +3 -0
  61. package/google/api/backend_pb.d.ts +59 -0
  62. package/google/api/backend_pb.js +448 -0
  63. package/google/api/backend_pb_service.d.ts +3 -0
  64. package/google/api/backend_pb_service.js +3 -0
  65. package/google/api/billing_pb.d.ts +54 -0
  66. package/google/api/billing_pb.js +416 -0
  67. package/google/api/billing_pb_service.d.ts +3 -0
  68. package/google/api/billing_pb_service.js +3 -0
  69. package/google/api/client_pb.d.ts +12 -0
  70. package/google/api/client_pb.js +104 -0
  71. package/google/api/client_pb_service.d.ts +3 -0
  72. package/google/api/client_pb_service.js +3 -0
  73. package/google/api/config_change_pb.d.ts +72 -0
  74. package/google/api/config_change_pb.js +489 -0
  75. package/google/api/config_change_pb_service.d.ts +3 -0
  76. package/google/api/config_change_pb_service.js +3 -0
  77. package/google/api/consumer_pb.d.ts +65 -0
  78. package/google/api/consumer_pb.js +430 -0
  79. package/google/api/consumer_pb_service.d.ts +3 -0
  80. package/google/api/consumer_pb_service.js +3 -0
  81. package/google/api/context_pb.d.ts +59 -0
  82. package/google/api/context_pb.js +463 -0
  83. package/google/api/context_pb_service.d.ts +3 -0
  84. package/google/api/context_pb_service.js +3 -0
  85. package/google/api/control_pb.d.ts +25 -0
  86. package/google/api/control_pb.js +176 -0
  87. package/google/api/control_pb_service.d.ts +3 -0
  88. package/google/api/control_pb_service.js +3 -0
  89. package/google/api/distribution_pb.d.ts +235 -0
  90. package/google/api/distribution_pb.js +1805 -0
  91. package/google/api/distribution_pb_service.d.ts +3 -0
  92. package/google/api/distribution_pb_service.js +3 -0
  93. package/google/api/documentation_pb.d.ts +103 -0
  94. package/google/api/documentation_pb.js +803 -0
  95. package/google/api/documentation_pb_service.d.ts +3 -0
  96. package/google/api/documentation_pb_service.js +3 -0
  97. package/google/api/endpoint_pb.d.ts +46 -0
  98. package/google/api/endpoint_pb.js +343 -0
  99. package/google/api/endpoint_pb_service.d.ts +3 -0
  100. package/google/api/endpoint_pb_service.js +3 -0
  101. package/google/api/error_reason_pb.d.ts +40 -0
  102. package/google/api/error_reason_pb.js +61 -0
  103. package/google/api/error_reason_pb_service.d.ts +3 -0
  104. package/google/api/error_reason_pb_service.js +3 -0
  105. package/google/api/field_behavior_pb.d.ts +20 -0
  106. package/google/api/field_behavior_pb.js +66 -0
  107. package/google/api/field_behavior_pb_service.d.ts +3 -0
  108. package/google/api/field_behavior_pb_service.js +3 -0
  109. package/google/api/http_pb.d.ts +136 -0
  110. package/google/api/http_pb.js +1012 -0
  111. package/google/api/http_pb_service.d.ts +3 -0
  112. package/google/api/http_pb_service.js +3 -0
  113. package/google/api/httpbody_pb.d.ts +38 -0
  114. package/google/api/httpbody_pb.js +292 -0
  115. package/google/api/httpbody_pb_service.d.ts +3 -0
  116. package/google/api/httpbody_pb_service.js +3 -0
  117. package/google/api/label_pb.d.ts +41 -0
  118. package/google/api/label_pb.js +246 -0
  119. package/google/api/label_pb_service.d.ts +3 -0
  120. package/google/api/label_pb_service.js +3 -0
  121. package/google/api/launch_stage_pb.d.ts +16 -0
  122. package/google/api/launch_stage_pb.js +37 -0
  123. package/google/api/launch_stage_pb_service.d.ts +3 -0
  124. package/google/api/launch_stage_pb_service.js +3 -0
  125. package/google/api/log_pb.d.ts +40 -0
  126. package/google/api/log_pb.js +298 -0
  127. package/google/api/log_pb_service.d.ts +3 -0
  128. package/google/api/log_pb_service.js +3 -0
  129. package/google/api/logging_pb.d.ts +60 -0
  130. package/google/api/logging_pb.js +469 -0
  131. package/google/api/logging_pb_service.d.ts +3 -0
  132. package/google/api/logging_pb_service.js +3 -0
  133. package/google/api/metric_pb.d.ts +100 -0
  134. package/google/api/metric_pb.js +629 -0
  135. package/google/api/metric_pb_service.d.ts +3 -0
  136. package/google/api/metric_pb_service.js +3 -0
  137. package/google/api/monitored_resource_pb.d.ts +93 -0
  138. package/google/api/monitored_resource_pb.js +723 -0
  139. package/google/api/monitored_resource_pb_service.d.ts +3 -0
  140. package/google/api/monitored_resource_pb_service.js +3 -0
  141. package/google/api/monitoring_pb.d.ts +60 -0
  142. package/google/api/monitoring_pb.js +469 -0
  143. package/google/api/monitoring_pb_service.d.ts +3 -0
  144. package/google/api/monitoring_pb_service.js +3 -0
  145. package/google/api/policy_pb.d.ts +64 -0
  146. package/google/api/policy_pb.js +502 -0
  147. package/google/api/policy_pb_service.d.ts +3 -0
  148. package/google/api/policy_pb_service.js +3 -0
  149. package/google/api/quota_pb.d.ts +112 -0
  150. package/google/api/quota_pb.js +873 -0
  151. package/google/api/quota_pb_service.d.ts +3 -0
  152. package/google/api/quota_pb_service.js +3 -0
  153. package/google/api/resource_pb.d.ts +99 -0
  154. package/google/api/resource_pb.js +684 -0
  155. package/google/api/resource_pb_service.d.ts +3 -0
  156. package/google/api/resource_pb_service.js +3 -0
  157. package/google/api/routing_pb.d.ts +54 -0
  158. package/google/api/routing_pb.js +416 -0
  159. package/google/api/routing_pb_service.d.ts +3 -0
  160. package/google/api/routing_pb_service.js +3 -0
  161. package/google/api/service_pb.d.ts +184 -0
  162. package/google/api/service_pb.js +1400 -0
  163. package/google/api/service_pb_service.d.ts +3 -0
  164. package/google/api/service_pb_service.js +3 -0
  165. package/google/api/source_info_pb.d.ts +28 -0
  166. package/google/api/source_info_pb.js +208 -0
  167. package/google/api/source_info_pb_service.d.ts +3 -0
  168. package/google/api/source_info_pb_service.js +3 -0
  169. package/google/api/system_parameter_pb.d.ts +81 -0
  170. package/google/api/system_parameter_pb.js +630 -0
  171. package/google/api/system_parameter_pb_service.d.ts +3 -0
  172. package/google/api/system_parameter_pb_service.js +3 -0
  173. package/google/api/usage_pb.d.ts +66 -0
  174. package/google/api/usage_pb.js +499 -0
  175. package/google/api/usage_pb_service.d.ts +3 -0
  176. package/google/api/usage_pb_service.js +3 -0
  177. package/google/api/visibility_pb.d.ts +64 -0
  178. package/google/api/visibility_pb.js +546 -0
  179. package/google/api/visibility_pb_service.d.ts +3 -0
  180. package/google/api/visibility_pb_service.js +3 -0
  181. package/meta.client_pb.d.ts +167 -0
  182. package/meta.client_pb.js +1266 -0
  183. package/meta.client_pb_service.d.ts +122 -0
  184. package/meta.client_pb_service.js +183 -0
  185. package/meta.spic_config_pb.d.ts +184 -0
  186. package/meta.spic_config_pb.js +1382 -0
  187. package/meta.spic_config_pb_service.d.ts +122 -0
  188. package/meta.spic_config_pb_service.js +183 -0
  189. package/package.json +1 -1
  190. package/platform.activity_log_pb.d.ts +177 -0
  191. package/platform.activity_log_pb.js +1294 -0
  192. package/platform.activity_log_pb_service.d.ts +82 -0
  193. package/platform.activity_log_pb_service.js +101 -0
  194. package/platform.client_pb.d.ts +350 -0
  195. package/platform.client_pb.js +2663 -0
  196. package/platform.client_pb_service.d.ts +158 -0
  197. package/platform.client_pb_service.js +261 -0
  198. package/platform.group_pb.d.ts +195 -0
  199. package/platform.group_pb.js +1476 -0
  200. package/platform.group_pb_service.d.ts +139 -0
  201. package/platform.group_pb_service.js +221 -0
  202. package/platform.local_account_internal_pb.d.ts +125 -0
  203. package/platform.local_account_internal_pb.js +933 -0
  204. package/platform.local_account_internal_pb_service.d.ts +121 -0
  205. package/platform.local_account_internal_pb_service.js +182 -0
  206. package/platform.local_account_pb.d.ts +466 -0
  207. package/platform.local_account_pb.js +3489 -0
  208. package/platform.local_account_pb_service.d.ts +331 -0
  209. package/platform.local_account_pb_service.js +623 -0
  210. package/platform.local_distribution_pb.d.ts +73 -0
  211. package/platform.local_distribution_pb.js +536 -0
  212. package/platform.local_distribution_pb_service.d.ts +63 -0
  213. package/platform.local_distribution_pb_service.js +61 -0
  214. package/platform.location_pb.d.ts +271 -0
  215. package/platform.location_pb.js +2046 -0
  216. package/platform.location_pb_service.d.ts +139 -0
  217. package/platform.location_pb_service.js +221 -0
  218. package/platform.pagination_pb.d.ts +45 -0
  219. package/platform.pagination_pb.js +276 -0
  220. package/platform.pagination_pb_service.d.ts +3 -0
  221. package/platform.pagination_pb_service.js +3 -0
  222. package/spic.alarm_pb.d.ts +382 -0
  223. package/spic.alarm_pb.js +2915 -0
  224. package/spic.alarm_pb_service.d.ts +101 -0
  225. package/spic.alarm_pb_service.js +141 -0
  226. package/spic.asset_pb.d.ts +697 -0
  227. package/spic.asset_pb.js +4995 -0
  228. package/spic.asset_pb_service.d.ts +197 -0
  229. package/spic.asset_pb_service.js +342 -0
  230. package/spic.cabinet_pb.d.ts +1062 -0
  231. package/spic.cabinet_pb.js +7723 -0
  232. package/spic.cabinet_pb_service.d.ts +245 -0
  233. package/spic.cabinet_pb_service.js +437 -0
  234. package/spic.config_pb.d.ts +249 -0
  235. package/spic.config_pb.js +1891 -0
  236. package/spic.config_pb_service.d.ts +120 -0
  237. package/spic.config_pb_service.js +181 -0
  238. package/spic.contractor_pb.d.ts +195 -0
  239. package/spic.contractor_pb.js +1476 -0
  240. package/spic.contractor_pb_service.d.ts +139 -0
  241. package/spic.contractor_pb_service.js +221 -0
  242. package/spic.history_pb.d.ts +142 -0
  243. package/spic.history_pb.js +1130 -0
  244. package/spic.history_pb_service.d.ts +63 -0
  245. package/spic.history_pb_service.js +61 -0
  246. package/spic.open_request_pb.d.ts +237 -0
  247. package/spic.open_request_pb.js +1784 -0
  248. package/spic.open_request_pb_service.d.ts +101 -0
  249. package/spic.open_request_pb_service.js +141 -0
@@ -0,0 +1,216 @@
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 ClusterAccountGRPCInviteAdminUser = {
9
+ readonly methodName: string;
10
+ readonly service: typeof ClusterAccountGRPC;
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 ClusterAccountGRPCInviteAppUser = {
18
+ readonly methodName: string;
19
+ readonly service: typeof ClusterAccountGRPC;
20
+ readonly requestStream: false;
21
+ readonly responseStream: false;
22
+ readonly requestType: typeof auth_account_pb.AccountProto.CreateAppRequest;
23
+ readonly responseType: typeof auth_account_pb.AccountProto;
24
+ };
25
+
26
+ type ClusterAccountGRPCActivateAccount = {
27
+ readonly methodName: string;
28
+ readonly service: typeof ClusterAccountGRPC;
29
+ readonly requestStream: false;
30
+ readonly responseStream: false;
31
+ readonly requestType: typeof auth_account_pb.AccountProto.ActivateAccountRequest;
32
+ readonly responseType: typeof auth_account_pb.AccountProto;
33
+ };
34
+
35
+ type ClusterAccountGRPCForgotPassword = {
36
+ readonly methodName: string;
37
+ readonly service: typeof ClusterAccountGRPC;
38
+ readonly requestStream: false;
39
+ readonly responseStream: false;
40
+ readonly requestType: typeof auth_account_pb.AccountProto.ForgotPasswordRequest;
41
+ readonly responseType: typeof google_protobuf_empty_pb.Empty;
42
+ };
43
+
44
+ type ClusterAccountGRPCResetPassword = {
45
+ readonly methodName: string;
46
+ readonly service: typeof ClusterAccountGRPC;
47
+ readonly requestStream: false;
48
+ readonly responseStream: false;
49
+ readonly requestType: typeof auth_account_pb.AccountProto.ResetPasswordRequest;
50
+ readonly responseType: typeof google_protobuf_empty_pb.Empty;
51
+ };
52
+
53
+ type ClusterAccountGRPCChangePassword = {
54
+ readonly methodName: string;
55
+ readonly service: typeof ClusterAccountGRPC;
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 ClusterAccountGRPCRetrievePushInfo = {
63
+ readonly methodName: string;
64
+ readonly service: typeof ClusterAccountGRPC;
65
+ readonly requestStream: false;
66
+ readonly responseStream: false;
67
+ readonly requestType: typeof auth_account_pb.AccountProto.RetrievePushInfoRequest;
68
+ readonly responseType: typeof auth_account_pb.AccountProto.RetrievePushInfoReply;
69
+ };
70
+
71
+ type ClusterAccountGRPCRetrieveActivationStatuses = {
72
+ readonly methodName: string;
73
+ readonly service: typeof ClusterAccountGRPC;
74
+ readonly requestStream: false;
75
+ readonly responseStream: false;
76
+ readonly requestType: typeof auth_account_pb.AccountProto.RetrieveAccountActivationStatusesRequest;
77
+ readonly responseType: typeof auth_account_pb.AccountProto.RetrieveAccountActivationStatusesReply;
78
+ };
79
+
80
+ type ClusterAccountGRPCResendAdminUserInvitation = {
81
+ readonly methodName: string;
82
+ readonly service: typeof ClusterAccountGRPC;
83
+ readonly requestStream: false;
84
+ readonly responseStream: false;
85
+ readonly requestType: typeof auth_account_pb.AccountProto.ResendInvitationRequest;
86
+ readonly responseType: typeof google_protobuf_empty_pb.Empty;
87
+ };
88
+
89
+ export class ClusterAccountGRPC {
90
+ static readonly serviceName: string;
91
+ static readonly InviteAdminUser: ClusterAccountGRPCInviteAdminUser;
92
+ static readonly InviteAppUser: ClusterAccountGRPCInviteAppUser;
93
+ static readonly ActivateAccount: ClusterAccountGRPCActivateAccount;
94
+ static readonly ForgotPassword: ClusterAccountGRPCForgotPassword;
95
+ static readonly ResetPassword: ClusterAccountGRPCResetPassword;
96
+ static readonly ChangePassword: ClusterAccountGRPCChangePassword;
97
+ static readonly RetrievePushInfo: ClusterAccountGRPCRetrievePushInfo;
98
+ static readonly RetrieveActivationStatuses: ClusterAccountGRPCRetrieveActivationStatuses;
99
+ static readonly ResendAdminUserInvitation: ClusterAccountGRPCResendAdminUserInvitation;
100
+ }
101
+
102
+ export type ServiceError = { message: string, code: number; metadata: grpc.Metadata }
103
+ export type Status = { details: string, code: number; metadata: grpc.Metadata }
104
+
105
+ interface UnaryResponse {
106
+ cancel(): void;
107
+ }
108
+ interface ResponseStream<T> {
109
+ cancel(): void;
110
+ on(type: 'data', handler: (message: T) => void): ResponseStream<T>;
111
+ on(type: 'end', handler: (status?: Status) => void): ResponseStream<T>;
112
+ on(type: 'status', handler: (status: Status) => void): ResponseStream<T>;
113
+ }
114
+ interface RequestStream<T> {
115
+ write(message: T): RequestStream<T>;
116
+ end(): void;
117
+ cancel(): void;
118
+ on(type: 'end', handler: (status?: Status) => void): RequestStream<T>;
119
+ on(type: 'status', handler: (status: Status) => void): RequestStream<T>;
120
+ }
121
+ interface BidirectionalStream<ReqT, ResT> {
122
+ write(message: ReqT): BidirectionalStream<ReqT, ResT>;
123
+ end(): void;
124
+ cancel(): void;
125
+ on(type: 'data', handler: (message: ResT) => void): BidirectionalStream<ReqT, ResT>;
126
+ on(type: 'end', handler: (status?: Status) => void): BidirectionalStream<ReqT, ResT>;
127
+ on(type: 'status', handler: (status: Status) => void): BidirectionalStream<ReqT, ResT>;
128
+ }
129
+
130
+ export class ClusterAccountGRPCClient {
131
+ readonly serviceHost: string;
132
+
133
+ constructor(serviceHost: string, options?: grpc.RpcOptions);
134
+ inviteAdminUser(
135
+ requestMessage: auth_account_pb.AccountProto.CreateAdminRequest,
136
+ metadata: grpc.Metadata,
137
+ callback: (error: ServiceError|null, responseMessage: auth_account_pb.AccountProto|null) => void
138
+ ): UnaryResponse;
139
+ inviteAdminUser(
140
+ requestMessage: auth_account_pb.AccountProto.CreateAdminRequest,
141
+ callback: (error: ServiceError|null, responseMessage: auth_account_pb.AccountProto|null) => void
142
+ ): UnaryResponse;
143
+ inviteAppUser(
144
+ requestMessage: auth_account_pb.AccountProto.CreateAppRequest,
145
+ metadata: grpc.Metadata,
146
+ callback: (error: ServiceError|null, responseMessage: auth_account_pb.AccountProto|null) => void
147
+ ): UnaryResponse;
148
+ inviteAppUser(
149
+ requestMessage: auth_account_pb.AccountProto.CreateAppRequest,
150
+ callback: (error: ServiceError|null, responseMessage: auth_account_pb.AccountProto|null) => void
151
+ ): UnaryResponse;
152
+ activateAccount(
153
+ requestMessage: auth_account_pb.AccountProto.ActivateAccountRequest,
154
+ metadata: grpc.Metadata,
155
+ callback: (error: ServiceError|null, responseMessage: auth_account_pb.AccountProto|null) => void
156
+ ): UnaryResponse;
157
+ activateAccount(
158
+ requestMessage: auth_account_pb.AccountProto.ActivateAccountRequest,
159
+ callback: (error: ServiceError|null, responseMessage: auth_account_pb.AccountProto|null) => void
160
+ ): UnaryResponse;
161
+ forgotPassword(
162
+ requestMessage: auth_account_pb.AccountProto.ForgotPasswordRequest,
163
+ metadata: grpc.Metadata,
164
+ callback: (error: ServiceError|null, responseMessage: google_protobuf_empty_pb.Empty|null) => void
165
+ ): UnaryResponse;
166
+ forgotPassword(
167
+ requestMessage: auth_account_pb.AccountProto.ForgotPasswordRequest,
168
+ callback: (error: ServiceError|null, responseMessage: google_protobuf_empty_pb.Empty|null) => void
169
+ ): UnaryResponse;
170
+ resetPassword(
171
+ requestMessage: auth_account_pb.AccountProto.ResetPasswordRequest,
172
+ metadata: grpc.Metadata,
173
+ callback: (error: ServiceError|null, responseMessage: google_protobuf_empty_pb.Empty|null) => void
174
+ ): UnaryResponse;
175
+ resetPassword(
176
+ requestMessage: auth_account_pb.AccountProto.ResetPasswordRequest,
177
+ callback: (error: ServiceError|null, responseMessage: google_protobuf_empty_pb.Empty|null) => void
178
+ ): UnaryResponse;
179
+ changePassword(
180
+ requestMessage: auth_account_pb.AccountProto.ChangePasswordRequest,
181
+ metadata: grpc.Metadata,
182
+ callback: (error: ServiceError|null, responseMessage: auth_account_pb.AccountProto.ChangePasswordReply|null) => void
183
+ ): UnaryResponse;
184
+ changePassword(
185
+ requestMessage: auth_account_pb.AccountProto.ChangePasswordRequest,
186
+ callback: (error: ServiceError|null, responseMessage: auth_account_pb.AccountProto.ChangePasswordReply|null) => void
187
+ ): UnaryResponse;
188
+ retrievePushInfo(
189
+ requestMessage: auth_account_pb.AccountProto.RetrievePushInfoRequest,
190
+ metadata: grpc.Metadata,
191
+ callback: (error: ServiceError|null, responseMessage: auth_account_pb.AccountProto.RetrievePushInfoReply|null) => void
192
+ ): UnaryResponse;
193
+ retrievePushInfo(
194
+ requestMessage: auth_account_pb.AccountProto.RetrievePushInfoRequest,
195
+ callback: (error: ServiceError|null, responseMessage: auth_account_pb.AccountProto.RetrievePushInfoReply|null) => void
196
+ ): UnaryResponse;
197
+ retrieveActivationStatuses(
198
+ requestMessage: auth_account_pb.AccountProto.RetrieveAccountActivationStatusesRequest,
199
+ metadata: grpc.Metadata,
200
+ callback: (error: ServiceError|null, responseMessage: auth_account_pb.AccountProto.RetrieveAccountActivationStatusesReply|null) => void
201
+ ): UnaryResponse;
202
+ retrieveActivationStatuses(
203
+ requestMessage: auth_account_pb.AccountProto.RetrieveAccountActivationStatusesRequest,
204
+ callback: (error: ServiceError|null, responseMessage: auth_account_pb.AccountProto.RetrieveAccountActivationStatusesReply|null) => void
205
+ ): UnaryResponse;
206
+ resendAdminUserInvitation(
207
+ requestMessage: auth_account_pb.AccountProto.ResendInvitationRequest,
208
+ metadata: grpc.Metadata,
209
+ callback: (error: ServiceError|null, responseMessage: google_protobuf_empty_pb.Empty|null) => void
210
+ ): UnaryResponse;
211
+ resendAdminUserInvitation(
212
+ requestMessage: auth_account_pb.AccountProto.ResendInvitationRequest,
213
+ callback: (error: ServiceError|null, responseMessage: google_protobuf_empty_pb.Empty|null) => void
214
+ ): UnaryResponse;
215
+ }
216
+
@@ -0,0 +1,382 @@
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 ClusterAccountGRPC = (function () {
9
+ function ClusterAccountGRPC() {}
10
+ ClusterAccountGRPC.serviceName = "Auth.ClusterAccountGRPC";
11
+ return ClusterAccountGRPC;
12
+ }());
13
+
14
+ ClusterAccountGRPC.InviteAdminUser = {
15
+ methodName: "InviteAdminUser",
16
+ service: ClusterAccountGRPC,
17
+ requestStream: false,
18
+ responseStream: false,
19
+ requestType: auth_account_pb.AccountProto.CreateAdminRequest,
20
+ responseType: auth_account_pb.AccountProto
21
+ };
22
+
23
+ ClusterAccountGRPC.InviteAppUser = {
24
+ methodName: "InviteAppUser",
25
+ service: ClusterAccountGRPC,
26
+ requestStream: false,
27
+ responseStream: false,
28
+ requestType: auth_account_pb.AccountProto.CreateAppRequest,
29
+ responseType: auth_account_pb.AccountProto
30
+ };
31
+
32
+ ClusterAccountGRPC.ActivateAccount = {
33
+ methodName: "ActivateAccount",
34
+ service: ClusterAccountGRPC,
35
+ requestStream: false,
36
+ responseStream: false,
37
+ requestType: auth_account_pb.AccountProto.ActivateAccountRequest,
38
+ responseType: auth_account_pb.AccountProto
39
+ };
40
+
41
+ ClusterAccountGRPC.ForgotPassword = {
42
+ methodName: "ForgotPassword",
43
+ service: ClusterAccountGRPC,
44
+ requestStream: false,
45
+ responseStream: false,
46
+ requestType: auth_account_pb.AccountProto.ForgotPasswordRequest,
47
+ responseType: google_protobuf_empty_pb.Empty
48
+ };
49
+
50
+ ClusterAccountGRPC.ResetPassword = {
51
+ methodName: "ResetPassword",
52
+ service: ClusterAccountGRPC,
53
+ requestStream: false,
54
+ responseStream: false,
55
+ requestType: auth_account_pb.AccountProto.ResetPasswordRequest,
56
+ responseType: google_protobuf_empty_pb.Empty
57
+ };
58
+
59
+ ClusterAccountGRPC.ChangePassword = {
60
+ methodName: "ChangePassword",
61
+ service: ClusterAccountGRPC,
62
+ requestStream: false,
63
+ responseStream: false,
64
+ requestType: auth_account_pb.AccountProto.ChangePasswordRequest,
65
+ responseType: auth_account_pb.AccountProto.ChangePasswordReply
66
+ };
67
+
68
+ ClusterAccountGRPC.RetrievePushInfo = {
69
+ methodName: "RetrievePushInfo",
70
+ service: ClusterAccountGRPC,
71
+ requestStream: false,
72
+ responseStream: false,
73
+ requestType: auth_account_pb.AccountProto.RetrievePushInfoRequest,
74
+ responseType: auth_account_pb.AccountProto.RetrievePushInfoReply
75
+ };
76
+
77
+ ClusterAccountGRPC.RetrieveActivationStatuses = {
78
+ methodName: "RetrieveActivationStatuses",
79
+ service: ClusterAccountGRPC,
80
+ requestStream: false,
81
+ responseStream: false,
82
+ requestType: auth_account_pb.AccountProto.RetrieveAccountActivationStatusesRequest,
83
+ responseType: auth_account_pb.AccountProto.RetrieveAccountActivationStatusesReply
84
+ };
85
+
86
+ ClusterAccountGRPC.ResendAdminUserInvitation = {
87
+ methodName: "ResendAdminUserInvitation",
88
+ service: ClusterAccountGRPC,
89
+ requestStream: false,
90
+ responseStream: false,
91
+ requestType: auth_account_pb.AccountProto.ResendInvitationRequest,
92
+ responseType: google_protobuf_empty_pb.Empty
93
+ };
94
+
95
+ exports.ClusterAccountGRPC = ClusterAccountGRPC;
96
+
97
+ function ClusterAccountGRPCClient(serviceHost, options) {
98
+ this.serviceHost = serviceHost;
99
+ this.options = options || {};
100
+ }
101
+
102
+ ClusterAccountGRPCClient.prototype.inviteAdminUser = function inviteAdminUser(requestMessage, metadata, callback) {
103
+ if (arguments.length === 2) {
104
+ callback = arguments[1];
105
+ }
106
+ var client = grpc.unary(ClusterAccountGRPC.InviteAdminUser, {
107
+ request: requestMessage,
108
+ host: this.serviceHost,
109
+ metadata: metadata,
110
+ transport: this.options.transport,
111
+ debug: this.options.debug,
112
+ onEnd: function (response) {
113
+ if (callback) {
114
+ if (response.status !== grpc.Code.OK) {
115
+ var err = new Error(response.statusMessage);
116
+ err.code = response.status;
117
+ err.metadata = response.trailers;
118
+ callback(err, null);
119
+ } else {
120
+ callback(null, response.message);
121
+ }
122
+ }
123
+ }
124
+ });
125
+ return {
126
+ cancel: function () {
127
+ callback = null;
128
+ client.close();
129
+ }
130
+ };
131
+ };
132
+
133
+ ClusterAccountGRPCClient.prototype.inviteAppUser = function inviteAppUser(requestMessage, metadata, callback) {
134
+ if (arguments.length === 2) {
135
+ callback = arguments[1];
136
+ }
137
+ var client = grpc.unary(ClusterAccountGRPC.InviteAppUser, {
138
+ request: requestMessage,
139
+ host: this.serviceHost,
140
+ metadata: metadata,
141
+ transport: this.options.transport,
142
+ debug: this.options.debug,
143
+ onEnd: function (response) {
144
+ if (callback) {
145
+ if (response.status !== grpc.Code.OK) {
146
+ var err = new Error(response.statusMessage);
147
+ err.code = response.status;
148
+ err.metadata = response.trailers;
149
+ callback(err, null);
150
+ } else {
151
+ callback(null, response.message);
152
+ }
153
+ }
154
+ }
155
+ });
156
+ return {
157
+ cancel: function () {
158
+ callback = null;
159
+ client.close();
160
+ }
161
+ };
162
+ };
163
+
164
+ ClusterAccountGRPCClient.prototype.activateAccount = function activateAccount(requestMessage, metadata, callback) {
165
+ if (arguments.length === 2) {
166
+ callback = arguments[1];
167
+ }
168
+ var client = grpc.unary(ClusterAccountGRPC.ActivateAccount, {
169
+ request: requestMessage,
170
+ host: this.serviceHost,
171
+ metadata: metadata,
172
+ transport: this.options.transport,
173
+ debug: this.options.debug,
174
+ onEnd: function (response) {
175
+ if (callback) {
176
+ if (response.status !== grpc.Code.OK) {
177
+ var err = new Error(response.statusMessage);
178
+ err.code = response.status;
179
+ err.metadata = response.trailers;
180
+ callback(err, null);
181
+ } else {
182
+ callback(null, response.message);
183
+ }
184
+ }
185
+ }
186
+ });
187
+ return {
188
+ cancel: function () {
189
+ callback = null;
190
+ client.close();
191
+ }
192
+ };
193
+ };
194
+
195
+ ClusterAccountGRPCClient.prototype.forgotPassword = function forgotPassword(requestMessage, metadata, callback) {
196
+ if (arguments.length === 2) {
197
+ callback = arguments[1];
198
+ }
199
+ var client = grpc.unary(ClusterAccountGRPC.ForgotPassword, {
200
+ request: requestMessage,
201
+ host: this.serviceHost,
202
+ metadata: metadata,
203
+ transport: this.options.transport,
204
+ debug: this.options.debug,
205
+ onEnd: function (response) {
206
+ if (callback) {
207
+ if (response.status !== grpc.Code.OK) {
208
+ var err = new Error(response.statusMessage);
209
+ err.code = response.status;
210
+ err.metadata = response.trailers;
211
+ callback(err, null);
212
+ } else {
213
+ callback(null, response.message);
214
+ }
215
+ }
216
+ }
217
+ });
218
+ return {
219
+ cancel: function () {
220
+ callback = null;
221
+ client.close();
222
+ }
223
+ };
224
+ };
225
+
226
+ ClusterAccountGRPCClient.prototype.resetPassword = function resetPassword(requestMessage, metadata, callback) {
227
+ if (arguments.length === 2) {
228
+ callback = arguments[1];
229
+ }
230
+ var client = grpc.unary(ClusterAccountGRPC.ResetPassword, {
231
+ request: requestMessage,
232
+ host: this.serviceHost,
233
+ metadata: metadata,
234
+ transport: this.options.transport,
235
+ debug: this.options.debug,
236
+ onEnd: function (response) {
237
+ if (callback) {
238
+ if (response.status !== grpc.Code.OK) {
239
+ var err = new Error(response.statusMessage);
240
+ err.code = response.status;
241
+ err.metadata = response.trailers;
242
+ callback(err, null);
243
+ } else {
244
+ callback(null, response.message);
245
+ }
246
+ }
247
+ }
248
+ });
249
+ return {
250
+ cancel: function () {
251
+ callback = null;
252
+ client.close();
253
+ }
254
+ };
255
+ };
256
+
257
+ ClusterAccountGRPCClient.prototype.changePassword = function changePassword(requestMessage, metadata, callback) {
258
+ if (arguments.length === 2) {
259
+ callback = arguments[1];
260
+ }
261
+ var client = grpc.unary(ClusterAccountGRPC.ChangePassword, {
262
+ request: requestMessage,
263
+ host: this.serviceHost,
264
+ metadata: metadata,
265
+ transport: this.options.transport,
266
+ debug: this.options.debug,
267
+ onEnd: function (response) {
268
+ if (callback) {
269
+ if (response.status !== grpc.Code.OK) {
270
+ var err = new Error(response.statusMessage);
271
+ err.code = response.status;
272
+ err.metadata = response.trailers;
273
+ callback(err, null);
274
+ } else {
275
+ callback(null, response.message);
276
+ }
277
+ }
278
+ }
279
+ });
280
+ return {
281
+ cancel: function () {
282
+ callback = null;
283
+ client.close();
284
+ }
285
+ };
286
+ };
287
+
288
+ ClusterAccountGRPCClient.prototype.retrievePushInfo = function retrievePushInfo(requestMessage, metadata, callback) {
289
+ if (arguments.length === 2) {
290
+ callback = arguments[1];
291
+ }
292
+ var client = grpc.unary(ClusterAccountGRPC.RetrievePushInfo, {
293
+ request: requestMessage,
294
+ host: this.serviceHost,
295
+ metadata: metadata,
296
+ transport: this.options.transport,
297
+ debug: this.options.debug,
298
+ onEnd: function (response) {
299
+ if (callback) {
300
+ if (response.status !== grpc.Code.OK) {
301
+ var err = new Error(response.statusMessage);
302
+ err.code = response.status;
303
+ err.metadata = response.trailers;
304
+ callback(err, null);
305
+ } else {
306
+ callback(null, response.message);
307
+ }
308
+ }
309
+ }
310
+ });
311
+ return {
312
+ cancel: function () {
313
+ callback = null;
314
+ client.close();
315
+ }
316
+ };
317
+ };
318
+
319
+ ClusterAccountGRPCClient.prototype.retrieveActivationStatuses = function retrieveActivationStatuses(requestMessage, metadata, callback) {
320
+ if (arguments.length === 2) {
321
+ callback = arguments[1];
322
+ }
323
+ var client = grpc.unary(ClusterAccountGRPC.RetrieveActivationStatuses, {
324
+ request: requestMessage,
325
+ host: this.serviceHost,
326
+ metadata: metadata,
327
+ transport: this.options.transport,
328
+ debug: this.options.debug,
329
+ onEnd: function (response) {
330
+ if (callback) {
331
+ if (response.status !== grpc.Code.OK) {
332
+ var err = new Error(response.statusMessage);
333
+ err.code = response.status;
334
+ err.metadata = response.trailers;
335
+ callback(err, null);
336
+ } else {
337
+ callback(null, response.message);
338
+ }
339
+ }
340
+ }
341
+ });
342
+ return {
343
+ cancel: function () {
344
+ callback = null;
345
+ client.close();
346
+ }
347
+ };
348
+ };
349
+
350
+ ClusterAccountGRPCClient.prototype.resendAdminUserInvitation = function resendAdminUserInvitation(requestMessage, metadata, callback) {
351
+ if (arguments.length === 2) {
352
+ callback = arguments[1];
353
+ }
354
+ var client = grpc.unary(ClusterAccountGRPC.ResendAdminUserInvitation, {
355
+ request: requestMessage,
356
+ host: this.serviceHost,
357
+ metadata: metadata,
358
+ transport: this.options.transport,
359
+ debug: this.options.debug,
360
+ onEnd: function (response) {
361
+ if (callback) {
362
+ if (response.status !== grpc.Code.OK) {
363
+ var err = new Error(response.statusMessage);
364
+ err.code = response.status;
365
+ err.metadata = response.trailers;
366
+ callback(err, null);
367
+ } else {
368
+ callback(null, response.message);
369
+ }
370
+ }
371
+ }
372
+ });
373
+ return {
374
+ cancel: function () {
375
+ callback = null;
376
+ client.close();
377
+ }
378
+ };
379
+ };
380
+
381
+ exports.ClusterAccountGRPCClient = ClusterAccountGRPCClient;
382
+