@aceplus/smartace-api 3.4.0-alpha.1 → 3.4.0-alpha.4

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 (237) hide show
  1. package/package.json +1 -1
  2. package/auth.account_pb.d.ts +0 -582
  3. package/auth.account_pb.js +0 -4287
  4. package/auth.account_pb_service.d.ts +0 -340
  5. package/auth.account_pb_service.js +0 -637
  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 -95
  23. package/auth.authn_pb.js +0 -637
  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 -142
  27. package/auth.cluster_pb.js +0 -1050
  28. package/auth.cluster_pb_service.d.ts +0 -82
  29. package/auth.cluster_pb_service.js +0 -101
  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 -217
  35. package/auth.email_pb.js +0 -1508
  36. package/auth.email_pb_service.d.ts +0 -102
  37. package/auth.email_pb_service.js +0 -142
  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 -69
  43. package/auth.push_notification_pb.js +0 -411
  44. package/auth.push_notification_pb_service.d.ts +0 -64
  45. package/auth.push_notification_pb_service.js +0 -62
  46. package/auth.sms_pb.d.ts +0 -79
  47. package/auth.sms_pb.js +0 -575
  48. package/auth.sms_pb_service.d.ts +0 -83
  49. package/auth.sms_pb_service.js +0 -102
  50. package/google/api/annotations_pb.d.ts +0 -9
  51. package/google/api/annotations_pb.js +0 -54
  52. package/google/api/annotations_pb_service.d.ts +0 -3
  53. package/google/api/annotations_pb_service.js +0 -3
  54. package/google/api/auth_pb.d.ts +0 -150
  55. package/google/api/auth_pb.js +0 -1160
  56. package/google/api/auth_pb_service.d.ts +0 -3
  57. package/google/api/auth_pb_service.js +0 -3
  58. package/google/api/backend_pb.d.ts +0 -59
  59. package/google/api/backend_pb.js +0 -448
  60. package/google/api/backend_pb_service.d.ts +0 -3
  61. package/google/api/backend_pb_service.js +0 -3
  62. package/google/api/billing_pb.d.ts +0 -54
  63. package/google/api/billing_pb.js +0 -416
  64. package/google/api/billing_pb_service.d.ts +0 -3
  65. package/google/api/billing_pb_service.js +0 -3
  66. package/google/api/client_pb.d.ts +0 -12
  67. package/google/api/client_pb.js +0 -104
  68. package/google/api/client_pb_service.d.ts +0 -3
  69. package/google/api/client_pb_service.js +0 -3
  70. package/google/api/config_change_pb.d.ts +0 -72
  71. package/google/api/config_change_pb.js +0 -489
  72. package/google/api/config_change_pb_service.d.ts +0 -3
  73. package/google/api/config_change_pb_service.js +0 -3
  74. package/google/api/consumer_pb.d.ts +0 -65
  75. package/google/api/consumer_pb.js +0 -430
  76. package/google/api/consumer_pb_service.d.ts +0 -3
  77. package/google/api/consumer_pb_service.js +0 -3
  78. package/google/api/context_pb.d.ts +0 -59
  79. package/google/api/context_pb.js +0 -463
  80. package/google/api/context_pb_service.d.ts +0 -3
  81. package/google/api/context_pb_service.js +0 -3
  82. package/google/api/control_pb.d.ts +0 -25
  83. package/google/api/control_pb.js +0 -176
  84. package/google/api/control_pb_service.d.ts +0 -3
  85. package/google/api/control_pb_service.js +0 -3
  86. package/google/api/distribution_pb.d.ts +0 -235
  87. package/google/api/distribution_pb.js +0 -1805
  88. package/google/api/distribution_pb_service.d.ts +0 -3
  89. package/google/api/distribution_pb_service.js +0 -3
  90. package/google/api/documentation_pb.d.ts +0 -103
  91. package/google/api/documentation_pb.js +0 -803
  92. package/google/api/documentation_pb_service.d.ts +0 -3
  93. package/google/api/documentation_pb_service.js +0 -3
  94. package/google/api/endpoint_pb.d.ts +0 -46
  95. package/google/api/endpoint_pb.js +0 -343
  96. package/google/api/endpoint_pb_service.d.ts +0 -3
  97. package/google/api/endpoint_pb_service.js +0 -3
  98. package/google/api/error_reason_pb.d.ts +0 -40
  99. package/google/api/error_reason_pb.js +0 -61
  100. package/google/api/error_reason_pb_service.d.ts +0 -3
  101. package/google/api/error_reason_pb_service.js +0 -3
  102. package/google/api/field_behavior_pb.d.ts +0 -20
  103. package/google/api/field_behavior_pb.js +0 -66
  104. package/google/api/field_behavior_pb_service.d.ts +0 -3
  105. package/google/api/field_behavior_pb_service.js +0 -3
  106. package/google/api/http_pb.d.ts +0 -136
  107. package/google/api/http_pb.js +0 -1012
  108. package/google/api/http_pb_service.d.ts +0 -3
  109. package/google/api/http_pb_service.js +0 -3
  110. package/google/api/httpbody_pb.d.ts +0 -38
  111. package/google/api/httpbody_pb.js +0 -292
  112. package/google/api/httpbody_pb_service.d.ts +0 -3
  113. package/google/api/httpbody_pb_service.js +0 -3
  114. package/google/api/label_pb.d.ts +0 -41
  115. package/google/api/label_pb.js +0 -246
  116. package/google/api/label_pb_service.d.ts +0 -3
  117. package/google/api/label_pb_service.js +0 -3
  118. package/google/api/launch_stage_pb.d.ts +0 -16
  119. package/google/api/launch_stage_pb.js +0 -37
  120. package/google/api/launch_stage_pb_service.d.ts +0 -3
  121. package/google/api/launch_stage_pb_service.js +0 -3
  122. package/google/api/log_pb.d.ts +0 -40
  123. package/google/api/log_pb.js +0 -298
  124. package/google/api/log_pb_service.d.ts +0 -3
  125. package/google/api/log_pb_service.js +0 -3
  126. package/google/api/logging_pb.d.ts +0 -60
  127. package/google/api/logging_pb.js +0 -469
  128. package/google/api/logging_pb_service.d.ts +0 -3
  129. package/google/api/logging_pb_service.js +0 -3
  130. package/google/api/metric_pb.d.ts +0 -100
  131. package/google/api/metric_pb.js +0 -629
  132. package/google/api/metric_pb_service.d.ts +0 -3
  133. package/google/api/metric_pb_service.js +0 -3
  134. package/google/api/monitored_resource_pb.d.ts +0 -93
  135. package/google/api/monitored_resource_pb.js +0 -723
  136. package/google/api/monitored_resource_pb_service.d.ts +0 -3
  137. package/google/api/monitored_resource_pb_service.js +0 -3
  138. package/google/api/monitoring_pb.d.ts +0 -60
  139. package/google/api/monitoring_pb.js +0 -469
  140. package/google/api/monitoring_pb_service.d.ts +0 -3
  141. package/google/api/monitoring_pb_service.js +0 -3
  142. package/google/api/policy_pb.d.ts +0 -64
  143. package/google/api/policy_pb.js +0 -502
  144. package/google/api/policy_pb_service.d.ts +0 -3
  145. package/google/api/policy_pb_service.js +0 -3
  146. package/google/api/quota_pb.d.ts +0 -112
  147. package/google/api/quota_pb.js +0 -873
  148. package/google/api/quota_pb_service.d.ts +0 -3
  149. package/google/api/quota_pb_service.js +0 -3
  150. package/google/api/resource_pb.d.ts +0 -99
  151. package/google/api/resource_pb.js +0 -684
  152. package/google/api/resource_pb_service.d.ts +0 -3
  153. package/google/api/resource_pb_service.js +0 -3
  154. package/google/api/routing_pb.d.ts +0 -54
  155. package/google/api/routing_pb.js +0 -416
  156. package/google/api/routing_pb_service.d.ts +0 -3
  157. package/google/api/routing_pb_service.js +0 -3
  158. package/google/api/service_pb.d.ts +0 -184
  159. package/google/api/service_pb.js +0 -1400
  160. package/google/api/service_pb_service.d.ts +0 -3
  161. package/google/api/service_pb_service.js +0 -3
  162. package/google/api/source_info_pb.d.ts +0 -28
  163. package/google/api/source_info_pb.js +0 -208
  164. package/google/api/source_info_pb_service.d.ts +0 -3
  165. package/google/api/source_info_pb_service.js +0 -3
  166. package/google/api/system_parameter_pb.d.ts +0 -81
  167. package/google/api/system_parameter_pb.js +0 -630
  168. package/google/api/system_parameter_pb_service.d.ts +0 -3
  169. package/google/api/system_parameter_pb_service.js +0 -3
  170. package/google/api/usage_pb.d.ts +0 -66
  171. package/google/api/usage_pb.js +0 -499
  172. package/google/api/usage_pb_service.d.ts +0 -3
  173. package/google/api/usage_pb_service.js +0 -3
  174. package/google/api/visibility_pb.d.ts +0 -64
  175. package/google/api/visibility_pb.js +0 -546
  176. package/google/api/visibility_pb_service.d.ts +0 -3
  177. package/google/api/visibility_pb_service.js +0 -3
  178. package/meta.client_pb.d.ts +0 -167
  179. package/meta.client_pb.js +0 -1266
  180. package/meta.client_pb_service.d.ts +0 -122
  181. package/meta.client_pb_service.js +0 -183
  182. package/meta.spic_alert_pb.d.ts +0 -230
  183. package/meta.spic_alert_pb.js +0 -1615
  184. package/meta.spic_alert_pb_service.d.ts +0 -121
  185. package/meta.spic_alert_pb_service.js +0 -182
  186. package/meta.spic_config_pb.d.ts +0 -155
  187. package/meta.spic_config_pb.js +0 -1156
  188. package/meta.spic_config_pb_service.d.ts +0 -102
  189. package/meta.spic_config_pb_service.js +0 -142
  190. package/meta.spic_pb.d.ts +0 -36
  191. package/meta.spic_pb.js +0 -254
  192. package/meta.spic_pb_service.d.ts +0 -64
  193. package/meta.spic_pb_service.js +0 -62
  194. package/platform.activity_log_pb.d.ts +0 -177
  195. package/platform.activity_log_pb.js +0 -1294
  196. package/platform.activity_log_pb_service.d.ts +0 -82
  197. package/platform.activity_log_pb_service.js +0 -101
  198. package/platform.client_pb.d.ts +0 -350
  199. package/platform.client_pb.js +0 -2663
  200. package/platform.client_pb_service.d.ts +0 -158
  201. package/platform.client_pb_service.js +0 -261
  202. package/platform.group_pb.d.ts +0 -195
  203. package/platform.group_pb.js +0 -1476
  204. package/platform.group_pb_service.d.ts +0 -139
  205. package/platform.group_pb_service.js +0 -221
  206. package/platform.local_account_internal_pb.d.ts +0 -125
  207. package/platform.local_account_internal_pb.js +0 -933
  208. package/platform.local_account_internal_pb_service.d.ts +0 -121
  209. package/platform.local_account_internal_pb_service.js +0 -182
  210. package/platform.local_account_pb.d.ts +0 -446
  211. package/platform.local_account_pb.js +0 -3337
  212. package/platform.local_account_pb_service.d.ts +0 -331
  213. package/platform.local_account_pb_service.js +0 -623
  214. package/platform.local_distribution_pb.d.ts +0 -69
  215. package/platform.local_distribution_pb.js +0 -506
  216. package/platform.local_distribution_pb_service.d.ts +0 -63
  217. package/platform.local_distribution_pb_service.js +0 -61
  218. package/platform.location_pb.d.ts +0 -271
  219. package/platform.location_pb.js +0 -2046
  220. package/platform.location_pb_service.d.ts +0 -139
  221. package/platform.location_pb_service.js +0 -221
  222. package/platform.pagination_pb.d.ts +0 -45
  223. package/platform.pagination_pb.js +0 -276
  224. package/platform.pagination_pb_service.d.ts +0 -3
  225. package/platform.pagination_pb_service.js +0 -3
  226. package/spic.cabinet_pb.d.ts +0 -1407
  227. package/spic.cabinet_pb.js +0 -10370
  228. package/spic.cabinet_pb_service.d.ts +0 -378
  229. package/spic.cabinet_pb_service.js +0 -717
  230. package/spic.config_pb.d.ts +0 -249
  231. package/spic.config_pb.js +0 -1891
  232. package/spic.config_pb_service.d.ts +0 -120
  233. package/spic.config_pb_service.js +0 -181
  234. package/spic.contractor_pb.d.ts +0 -195
  235. package/spic.contractor_pb.js +0 -1476
  236. package/spic.contractor_pb_service.d.ts +0 -139
  237. package/spic.contractor_pb_service.js +0 -221
@@ -1,160 +0,0 @@
1
- // package: Auth
2
- // file: auth.app_account.proto
3
-
4
- import * as auth_app_account_pb from "./auth.app_account_pb";
5
- import * as google_protobuf_empty_pb from "google-protobuf/google/protobuf/empty_pb";
6
- import * as auth_account_pb from "./auth.account_pb";
7
- import {grpc} from "@improbable-eng/grpc-web";
8
-
9
- type AppAccountGRPCFinishRegisterMobile = {
10
- readonly methodName: string;
11
- readonly service: typeof AppAccountGRPC;
12
- readonly requestStream: false;
13
- readonly responseStream: false;
14
- readonly requestType: typeof auth_app_account_pb.AppAccountProto.FinishRegisterMobileRequest;
15
- readonly responseType: typeof auth_account_pb.AccountProto;
16
- };
17
-
18
- type AppAccountGRPCRemoveMobile = {
19
- readonly methodName: string;
20
- readonly service: typeof AppAccountGRPC;
21
- readonly requestStream: false;
22
- readonly responseStream: false;
23
- readonly requestType: typeof auth_app_account_pb.AppAccountProto.RemoveMobileRequest;
24
- readonly responseType: typeof google_protobuf_empty_pb.Empty;
25
- };
26
-
27
- type AppAccountGRPCChangeName = {
28
- readonly methodName: string;
29
- readonly service: typeof AppAccountGRPC;
30
- readonly requestStream: false;
31
- readonly responseStream: false;
32
- readonly requestType: typeof auth_app_account_pb.AppAccountProto.ChangeNameRequest;
33
- readonly responseType: typeof google_protobuf_empty_pb.Empty;
34
- };
35
-
36
- type AppAccountGRPCChangePsk = {
37
- readonly methodName: string;
38
- readonly service: typeof AppAccountGRPC;
39
- readonly requestStream: false;
40
- readonly responseStream: false;
41
- readonly requestType: typeof auth_app_account_pb.AppAccountProto.ChangePskRequest;
42
- readonly responseType: typeof google_protobuf_empty_pb.Empty;
43
- };
44
-
45
- type AppAccountGRPCRegisterClient = {
46
- readonly methodName: string;
47
- readonly service: typeof AppAccountGRPC;
48
- readonly requestStream: false;
49
- readonly responseStream: false;
50
- readonly requestType: typeof auth_app_account_pb.AppAccountProto.ModifyClientRequest;
51
- readonly responseType: typeof google_protobuf_empty_pb.Empty;
52
- };
53
-
54
- type AppAccountGRPCUnRegisterClient = {
55
- readonly methodName: string;
56
- readonly service: typeof AppAccountGRPC;
57
- readonly requestStream: false;
58
- readonly responseStream: false;
59
- readonly requestType: typeof auth_app_account_pb.AppAccountProto.ModifyClientRequest;
60
- readonly responseType: typeof google_protobuf_empty_pb.Empty;
61
- };
62
-
63
- export class AppAccountGRPC {
64
- static readonly serviceName: string;
65
- static readonly FinishRegisterMobile: AppAccountGRPCFinishRegisterMobile;
66
- static readonly RemoveMobile: AppAccountGRPCRemoveMobile;
67
- static readonly ChangeName: AppAccountGRPCChangeName;
68
- static readonly ChangePsk: AppAccountGRPCChangePsk;
69
- static readonly RegisterClient: AppAccountGRPCRegisterClient;
70
- static readonly UnRegisterClient: AppAccountGRPCUnRegisterClient;
71
- }
72
-
73
- export type ServiceError = { message: string, code: number; metadata: grpc.Metadata }
74
- export type Status = { details: string, code: number; metadata: grpc.Metadata }
75
-
76
- interface UnaryResponse {
77
- cancel(): void;
78
- }
79
- interface ResponseStream<T> {
80
- cancel(): void;
81
- on(type: 'data', handler: (message: T) => void): ResponseStream<T>;
82
- on(type: 'end', handler: (status?: Status) => void): ResponseStream<T>;
83
- on(type: 'status', handler: (status: Status) => void): ResponseStream<T>;
84
- }
85
- interface RequestStream<T> {
86
- write(message: T): RequestStream<T>;
87
- end(): void;
88
- cancel(): void;
89
- on(type: 'end', handler: (status?: Status) => void): RequestStream<T>;
90
- on(type: 'status', handler: (status: Status) => void): RequestStream<T>;
91
- }
92
- interface BidirectionalStream<ReqT, ResT> {
93
- write(message: ReqT): BidirectionalStream<ReqT, ResT>;
94
- end(): void;
95
- cancel(): void;
96
- on(type: 'data', handler: (message: ResT) => void): BidirectionalStream<ReqT, ResT>;
97
- on(type: 'end', handler: (status?: Status) => void): BidirectionalStream<ReqT, ResT>;
98
- on(type: 'status', handler: (status: Status) => void): BidirectionalStream<ReqT, ResT>;
99
- }
100
-
101
- export class AppAccountGRPCClient {
102
- readonly serviceHost: string;
103
-
104
- constructor(serviceHost: string, options?: grpc.RpcOptions);
105
- finishRegisterMobile(
106
- requestMessage: auth_app_account_pb.AppAccountProto.FinishRegisterMobileRequest,
107
- metadata: grpc.Metadata,
108
- callback: (error: ServiceError|null, responseMessage: auth_account_pb.AccountProto|null) => void
109
- ): UnaryResponse;
110
- finishRegisterMobile(
111
- requestMessage: auth_app_account_pb.AppAccountProto.FinishRegisterMobileRequest,
112
- callback: (error: ServiceError|null, responseMessage: auth_account_pb.AccountProto|null) => void
113
- ): UnaryResponse;
114
- removeMobile(
115
- requestMessage: auth_app_account_pb.AppAccountProto.RemoveMobileRequest,
116
- metadata: grpc.Metadata,
117
- callback: (error: ServiceError|null, responseMessage: google_protobuf_empty_pb.Empty|null) => void
118
- ): UnaryResponse;
119
- removeMobile(
120
- requestMessage: auth_app_account_pb.AppAccountProto.RemoveMobileRequest,
121
- callback: (error: ServiceError|null, responseMessage: google_protobuf_empty_pb.Empty|null) => void
122
- ): UnaryResponse;
123
- changeName(
124
- requestMessage: auth_app_account_pb.AppAccountProto.ChangeNameRequest,
125
- metadata: grpc.Metadata,
126
- callback: (error: ServiceError|null, responseMessage: google_protobuf_empty_pb.Empty|null) => void
127
- ): UnaryResponse;
128
- changeName(
129
- requestMessage: auth_app_account_pb.AppAccountProto.ChangeNameRequest,
130
- callback: (error: ServiceError|null, responseMessage: google_protobuf_empty_pb.Empty|null) => void
131
- ): UnaryResponse;
132
- changePsk(
133
- requestMessage: auth_app_account_pb.AppAccountProto.ChangePskRequest,
134
- metadata: grpc.Metadata,
135
- callback: (error: ServiceError|null, responseMessage: google_protobuf_empty_pb.Empty|null) => void
136
- ): UnaryResponse;
137
- changePsk(
138
- requestMessage: auth_app_account_pb.AppAccountProto.ChangePskRequest,
139
- callback: (error: ServiceError|null, responseMessage: google_protobuf_empty_pb.Empty|null) => void
140
- ): UnaryResponse;
141
- registerClient(
142
- requestMessage: auth_app_account_pb.AppAccountProto.ModifyClientRequest,
143
- metadata: grpc.Metadata,
144
- callback: (error: ServiceError|null, responseMessage: google_protobuf_empty_pb.Empty|null) => void
145
- ): UnaryResponse;
146
- registerClient(
147
- requestMessage: auth_app_account_pb.AppAccountProto.ModifyClientRequest,
148
- callback: (error: ServiceError|null, responseMessage: google_protobuf_empty_pb.Empty|null) => void
149
- ): UnaryResponse;
150
- unRegisterClient(
151
- requestMessage: auth_app_account_pb.AppAccountProto.ModifyClientRequest,
152
- metadata: grpc.Metadata,
153
- callback: (error: ServiceError|null, responseMessage: google_protobuf_empty_pb.Empty|null) => void
154
- ): UnaryResponse;
155
- unRegisterClient(
156
- requestMessage: auth_app_account_pb.AppAccountProto.ModifyClientRequest,
157
- callback: (error: ServiceError|null, responseMessage: google_protobuf_empty_pb.Empty|null) => void
158
- ): UnaryResponse;
159
- }
160
-
@@ -1,263 +0,0 @@
1
- // package: Auth
2
- // file: auth.app_account.proto
3
-
4
- var auth_app_account_pb = require("./auth.app_account_pb");
5
- var google_protobuf_empty_pb = require("google-protobuf/google/protobuf/empty_pb");
6
- var auth_account_pb = require("./auth.account_pb");
7
- var grpc = require("@improbable-eng/grpc-web").grpc;
8
-
9
- var AppAccountGRPC = (function () {
10
- function AppAccountGRPC() {}
11
- AppAccountGRPC.serviceName = "Auth.AppAccountGRPC";
12
- return AppAccountGRPC;
13
- }());
14
-
15
- AppAccountGRPC.FinishRegisterMobile = {
16
- methodName: "FinishRegisterMobile",
17
- service: AppAccountGRPC,
18
- requestStream: false,
19
- responseStream: false,
20
- requestType: auth_app_account_pb.AppAccountProto.FinishRegisterMobileRequest,
21
- responseType: auth_account_pb.AccountProto
22
- };
23
-
24
- AppAccountGRPC.RemoveMobile = {
25
- methodName: "RemoveMobile",
26
- service: AppAccountGRPC,
27
- requestStream: false,
28
- responseStream: false,
29
- requestType: auth_app_account_pb.AppAccountProto.RemoveMobileRequest,
30
- responseType: google_protobuf_empty_pb.Empty
31
- };
32
-
33
- AppAccountGRPC.ChangeName = {
34
- methodName: "ChangeName",
35
- service: AppAccountGRPC,
36
- requestStream: false,
37
- responseStream: false,
38
- requestType: auth_app_account_pb.AppAccountProto.ChangeNameRequest,
39
- responseType: google_protobuf_empty_pb.Empty
40
- };
41
-
42
- AppAccountGRPC.ChangePsk = {
43
- methodName: "ChangePsk",
44
- service: AppAccountGRPC,
45
- requestStream: false,
46
- responseStream: false,
47
- requestType: auth_app_account_pb.AppAccountProto.ChangePskRequest,
48
- responseType: google_protobuf_empty_pb.Empty
49
- };
50
-
51
- AppAccountGRPC.RegisterClient = {
52
- methodName: "RegisterClient",
53
- service: AppAccountGRPC,
54
- requestStream: false,
55
- responseStream: false,
56
- requestType: auth_app_account_pb.AppAccountProto.ModifyClientRequest,
57
- responseType: google_protobuf_empty_pb.Empty
58
- };
59
-
60
- AppAccountGRPC.UnRegisterClient = {
61
- methodName: "UnRegisterClient",
62
- service: AppAccountGRPC,
63
- requestStream: false,
64
- responseStream: false,
65
- requestType: auth_app_account_pb.AppAccountProto.ModifyClientRequest,
66
- responseType: google_protobuf_empty_pb.Empty
67
- };
68
-
69
- exports.AppAccountGRPC = AppAccountGRPC;
70
-
71
- function AppAccountGRPCClient(serviceHost, options) {
72
- this.serviceHost = serviceHost;
73
- this.options = options || {};
74
- }
75
-
76
- AppAccountGRPCClient.prototype.finishRegisterMobile = function finishRegisterMobile(requestMessage, metadata, callback) {
77
- if (arguments.length === 2) {
78
- callback = arguments[1];
79
- }
80
- var client = grpc.unary(AppAccountGRPC.FinishRegisterMobile, {
81
- request: requestMessage,
82
- host: this.serviceHost,
83
- metadata: metadata,
84
- transport: this.options.transport,
85
- debug: this.options.debug,
86
- onEnd: function (response) {
87
- if (callback) {
88
- if (response.status !== grpc.Code.OK) {
89
- var err = new Error(response.statusMessage);
90
- err.code = response.status;
91
- err.metadata = response.trailers;
92
- callback(err, null);
93
- } else {
94
- callback(null, response.message);
95
- }
96
- }
97
- }
98
- });
99
- return {
100
- cancel: function () {
101
- callback = null;
102
- client.close();
103
- }
104
- };
105
- };
106
-
107
- AppAccountGRPCClient.prototype.removeMobile = function removeMobile(requestMessage, metadata, callback) {
108
- if (arguments.length === 2) {
109
- callback = arguments[1];
110
- }
111
- var client = grpc.unary(AppAccountGRPC.RemoveMobile, {
112
- request: requestMessage,
113
- host: this.serviceHost,
114
- metadata: metadata,
115
- transport: this.options.transport,
116
- debug: this.options.debug,
117
- onEnd: function (response) {
118
- if (callback) {
119
- if (response.status !== grpc.Code.OK) {
120
- var err = new Error(response.statusMessage);
121
- err.code = response.status;
122
- err.metadata = response.trailers;
123
- callback(err, null);
124
- } else {
125
- callback(null, response.message);
126
- }
127
- }
128
- }
129
- });
130
- return {
131
- cancel: function () {
132
- callback = null;
133
- client.close();
134
- }
135
- };
136
- };
137
-
138
- AppAccountGRPCClient.prototype.changeName = function changeName(requestMessage, metadata, callback) {
139
- if (arguments.length === 2) {
140
- callback = arguments[1];
141
- }
142
- var client = grpc.unary(AppAccountGRPC.ChangeName, {
143
- request: requestMessage,
144
- host: this.serviceHost,
145
- metadata: metadata,
146
- transport: this.options.transport,
147
- debug: this.options.debug,
148
- onEnd: function (response) {
149
- if (callback) {
150
- if (response.status !== grpc.Code.OK) {
151
- var err = new Error(response.statusMessage);
152
- err.code = response.status;
153
- err.metadata = response.trailers;
154
- callback(err, null);
155
- } else {
156
- callback(null, response.message);
157
- }
158
- }
159
- }
160
- });
161
- return {
162
- cancel: function () {
163
- callback = null;
164
- client.close();
165
- }
166
- };
167
- };
168
-
169
- AppAccountGRPCClient.prototype.changePsk = function changePsk(requestMessage, metadata, callback) {
170
- if (arguments.length === 2) {
171
- callback = arguments[1];
172
- }
173
- var client = grpc.unary(AppAccountGRPC.ChangePsk, {
174
- request: requestMessage,
175
- host: this.serviceHost,
176
- metadata: metadata,
177
- transport: this.options.transport,
178
- debug: this.options.debug,
179
- onEnd: function (response) {
180
- if (callback) {
181
- if (response.status !== grpc.Code.OK) {
182
- var err = new Error(response.statusMessage);
183
- err.code = response.status;
184
- err.metadata = response.trailers;
185
- callback(err, null);
186
- } else {
187
- callback(null, response.message);
188
- }
189
- }
190
- }
191
- });
192
- return {
193
- cancel: function () {
194
- callback = null;
195
- client.close();
196
- }
197
- };
198
- };
199
-
200
- AppAccountGRPCClient.prototype.registerClient = function registerClient(requestMessage, metadata, callback) {
201
- if (arguments.length === 2) {
202
- callback = arguments[1];
203
- }
204
- var client = grpc.unary(AppAccountGRPC.RegisterClient, {
205
- request: requestMessage,
206
- host: this.serviceHost,
207
- metadata: metadata,
208
- transport: this.options.transport,
209
- debug: this.options.debug,
210
- onEnd: function (response) {
211
- if (callback) {
212
- if (response.status !== grpc.Code.OK) {
213
- var err = new Error(response.statusMessage);
214
- err.code = response.status;
215
- err.metadata = response.trailers;
216
- callback(err, null);
217
- } else {
218
- callback(null, response.message);
219
- }
220
- }
221
- }
222
- });
223
- return {
224
- cancel: function () {
225
- callback = null;
226
- client.close();
227
- }
228
- };
229
- };
230
-
231
- AppAccountGRPCClient.prototype.unRegisterClient = function unRegisterClient(requestMessage, metadata, callback) {
232
- if (arguments.length === 2) {
233
- callback = arguments[1];
234
- }
235
- var client = grpc.unary(AppAccountGRPC.UnRegisterClient, {
236
- request: requestMessage,
237
- host: this.serviceHost,
238
- metadata: metadata,
239
- transport: this.options.transport,
240
- debug: this.options.debug,
241
- onEnd: function (response) {
242
- if (callback) {
243
- if (response.status !== grpc.Code.OK) {
244
- var err = new Error(response.statusMessage);
245
- err.code = response.status;
246
- err.metadata = response.trailers;
247
- callback(err, null);
248
- } else {
249
- callback(null, response.message);
250
- }
251
- }
252
- }
253
- });
254
- return {
255
- cancel: function () {
256
- callback = null;
257
- client.close();
258
- }
259
- };
260
- };
261
-
262
- exports.AppAccountGRPCClient = AppAccountGRPCClient;
263
-
@@ -1,172 +0,0 @@
1
- // package: Auth
2
- // file: auth.app_authn.proto
3
-
4
- import * as jspb from "google-protobuf";
5
- import * as google_protobuf_duration_pb from "google-protobuf/google/protobuf/duration_pb";
6
- import * as google_protobuf_timestamp_pb from "google-protobuf/google/protobuf/timestamp_pb";
7
- import * as google_api_annotations_pb from "./google/api/annotations_pb";
8
- import * as google_protobuf_empty_pb from "google-protobuf/google/protobuf/empty_pb";
9
-
10
- export class AppAuthnProto extends jspb.Message {
11
- getAccessToken(): string;
12
- setAccessToken(value: string): void;
13
-
14
- getRefreshToken(): string;
15
- setRefreshToken(value: string): void;
16
-
17
- hasExpiresIn(): boolean;
18
- clearExpiresIn(): void;
19
- getExpiresIn(): google_protobuf_duration_pb.Duration | undefined;
20
- setExpiresIn(value?: google_protobuf_duration_pb.Duration): void;
21
-
22
- serializeBinary(): Uint8Array;
23
- toObject(includeInstance?: boolean): AppAuthnProto.AsObject;
24
- static toObject(includeInstance: boolean, msg: AppAuthnProto): AppAuthnProto.AsObject;
25
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
26
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
27
- static serializeBinaryToWriter(message: AppAuthnProto, writer: jspb.BinaryWriter): void;
28
- static deserializeBinary(bytes: Uint8Array): AppAuthnProto;
29
- static deserializeBinaryFromReader(message: AppAuthnProto, reader: jspb.BinaryReader): AppAuthnProto;
30
- }
31
-
32
- export namespace AppAuthnProto {
33
- export type AsObject = {
34
- accessToken: string,
35
- refreshToken: string,
36
- expiresIn?: google_protobuf_duration_pb.Duration.AsObject,
37
- }
38
-
39
- export class SmsLoginRequest extends jspb.Message {
40
- getPhone(): string;
41
- setPhone(value: string): void;
42
-
43
- getLocale(): string;
44
- setLocale(value: string): void;
45
-
46
- serializeBinary(): Uint8Array;
47
- toObject(includeInstance?: boolean): SmsLoginRequest.AsObject;
48
- static toObject(includeInstance: boolean, msg: SmsLoginRequest): SmsLoginRequest.AsObject;
49
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
50
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
51
- static serializeBinaryToWriter(message: SmsLoginRequest, writer: jspb.BinaryWriter): void;
52
- static deserializeBinary(bytes: Uint8Array): SmsLoginRequest;
53
- static deserializeBinaryFromReader(message: SmsLoginRequest, reader: jspb.BinaryReader): SmsLoginRequest;
54
- }
55
-
56
- export namespace SmsLoginRequest {
57
- export type AsObject = {
58
- phone: string,
59
- locale: string,
60
- }
61
- }
62
-
63
- export class SmsRefreshRequest extends jspb.Message {
64
- getPhone(): string;
65
- setPhone(value: string): void;
66
-
67
- getLocale(): string;
68
- setLocale(value: string): void;
69
-
70
- serializeBinary(): Uint8Array;
71
- toObject(includeInstance?: boolean): SmsRefreshRequest.AsObject;
72
- static toObject(includeInstance: boolean, msg: SmsRefreshRequest): SmsRefreshRequest.AsObject;
73
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
74
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
75
- static serializeBinaryToWriter(message: SmsRefreshRequest, writer: jspb.BinaryWriter): void;
76
- static deserializeBinary(bytes: Uint8Array): SmsRefreshRequest;
77
- static deserializeBinaryFromReader(message: SmsRefreshRequest, reader: jspb.BinaryReader): SmsRefreshRequest;
78
- }
79
-
80
- export namespace SmsRefreshRequest {
81
- export type AsObject = {
82
- phone: string,
83
- locale: string,
84
- }
85
- }
86
-
87
- export class SmsVerifyTokenRequest extends jspb.Message {
88
- getPhone(): string;
89
- setPhone(value: string): void;
90
-
91
- getToken(): string;
92
- setToken(value: string): void;
93
-
94
- getPushToken(): string;
95
- setPushToken(value: string): void;
96
-
97
- getUid(): string;
98
- setUid(value: string): void;
99
-
100
- getAppType(): AppAuthnProto.AppTypeMap[keyof AppAuthnProto.AppTypeMap];
101
- setAppType(value: AppAuthnProto.AppTypeMap[keyof AppAuthnProto.AppTypeMap]): void;
102
-
103
- serializeBinary(): Uint8Array;
104
- toObject(includeInstance?: boolean): SmsVerifyTokenRequest.AsObject;
105
- static toObject(includeInstance: boolean, msg: SmsVerifyTokenRequest): SmsVerifyTokenRequest.AsObject;
106
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
107
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
108
- static serializeBinaryToWriter(message: SmsVerifyTokenRequest, writer: jspb.BinaryWriter): void;
109
- static deserializeBinary(bytes: Uint8Array): SmsVerifyTokenRequest;
110
- static deserializeBinaryFromReader(message: SmsVerifyTokenRequest, reader: jspb.BinaryReader): SmsVerifyTokenRequest;
111
- }
112
-
113
- export namespace SmsVerifyTokenRequest {
114
- export type AsObject = {
115
- phone: string,
116
- token: string,
117
- pushToken: string,
118
- uid: string,
119
- appType: AppAuthnProto.AppTypeMap[keyof AppAuthnProto.AppTypeMap],
120
- }
121
- }
122
-
123
- export class VerifySecretRequest extends jspb.Message {
124
- getPhone(): string;
125
- setPhone(value: string): void;
126
-
127
- getSecret(): string;
128
- setSecret(value: string): void;
129
-
130
- getPushToken(): string;
131
- setPushToken(value: string): void;
132
-
133
- getUid(): string;
134
- setUid(value: string): void;
135
-
136
- hasTimestamp(): boolean;
137
- clearTimestamp(): void;
138
- getTimestamp(): google_protobuf_timestamp_pb.Timestamp | undefined;
139
- setTimestamp(value?: google_protobuf_timestamp_pb.Timestamp): void;
140
-
141
- getAppType(): AppAuthnProto.AppTypeMap[keyof AppAuthnProto.AppTypeMap];
142
- setAppType(value: AppAuthnProto.AppTypeMap[keyof AppAuthnProto.AppTypeMap]): void;
143
-
144
- serializeBinary(): Uint8Array;
145
- toObject(includeInstance?: boolean): VerifySecretRequest.AsObject;
146
- static toObject(includeInstance: boolean, msg: VerifySecretRequest): VerifySecretRequest.AsObject;
147
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
148
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
149
- static serializeBinaryToWriter(message: VerifySecretRequest, writer: jspb.BinaryWriter): void;
150
- static deserializeBinary(bytes: Uint8Array): VerifySecretRequest;
151
- static deserializeBinaryFromReader(message: VerifySecretRequest, reader: jspb.BinaryReader): VerifySecretRequest;
152
- }
153
-
154
- export namespace VerifySecretRequest {
155
- export type AsObject = {
156
- phone: string,
157
- secret: string,
158
- pushToken: string,
159
- uid: string,
160
- timestamp?: google_protobuf_timestamp_pb.Timestamp.AsObject,
161
- appType: AppAuthnProto.AppTypeMap[keyof AppAuthnProto.AppTypeMap],
162
- }
163
- }
164
-
165
- export interface AppTypeMap {
166
- APP_TYPE_ACEPLUSKEY: 0;
167
- APP_TYPE_ACEFIT: 1;
168
- }
169
-
170
- export const AppType: AppTypeMap;
171
- }
172
-