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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (217) hide show
  1. package/package.json +1 -1
  2. package/auth.account_events_pb.d.ts +0 -5
  3. package/auth.account_events_pb.js +0 -23
  4. package/auth.account_events_pb_service.d.ts +0 -3
  5. package/auth.account_events_pb_service.js +0 -3
  6. package/auth.account_pb.d.ts +0 -525
  7. package/auth.account_pb.js +0 -3983
  8. package/auth.account_pb_service.d.ts +0 -454
  9. package/auth.account_pb_service.js +0 -877
  10. package/auth.app_account_pb.d.ts +0 -156
  11. package/auth.app_account_pb.js +0 -1153
  12. package/auth.app_account_pb_service.d.ts +0 -160
  13. package/auth.app_account_pb_service.js +0 -263
  14. package/auth.app_authn_pb.d.ts +0 -172
  15. package/auth.app_authn_pb.js +0 -1233
  16. package/auth.app_authn_pb_service.d.ts +0 -140
  17. package/auth.app_authn_pb_service.js +0 -222
  18. package/auth.app_distribution_pb.d.ts +0 -174
  19. package/auth.app_distribution_pb.js +0 -1338
  20. package/auth.app_distribution_pb_service.d.ts +0 -120
  21. package/auth.app_distribution_pb_service.js +0 -181
  22. package/auth.authn_pb.d.ts +0 -85
  23. package/auth.authn_pb.js +0 -625
  24. package/auth.authn_pb_service.d.ts +0 -82
  25. package/auth.authn_pb_service.js +0 -101
  26. package/auth.cluster_pb.d.ts +0 -258
  27. package/auth.cluster_pb.js +0 -1929
  28. package/auth.cluster_pb_service.d.ts +0 -139
  29. package/auth.cluster_pb_service.js +0 -221
  30. package/auth.distribution_pb.d.ts +0 -233
  31. package/auth.distribution_pb.js +0 -1785
  32. package/auth.distribution_pb_service.d.ts +0 -82
  33. package/auth.distribution_pb_service.js +0 -101
  34. package/auth.email_pb.d.ts +0 -277
  35. package/auth.email_pb.js +0 -1960
  36. package/auth.email_pb_service.d.ts +0 -121
  37. package/auth.email_pb_service.js +0 -182
  38. package/auth.push_notification_pb.d.ts +0 -187
  39. package/auth.push_notification_pb.js +0 -1289
  40. package/auth.push_notification_pb_service.d.ts +0 -121
  41. package/auth.push_notification_pb_service.js +0 -182
  42. package/auth.sms_pb.d.ts +0 -79
  43. package/auth.sms_pb.js +0 -575
  44. package/auth.sms_pb_service.d.ts +0 -83
  45. package/auth.sms_pb_service.js +0 -102
  46. package/drumtracker.drum_pb.d.ts +0 -499
  47. package/drumtracker.drum_pb.js +0 -3785
  48. package/drumtracker.drum_pb_service.d.ts +0 -158
  49. package/drumtracker.drum_pb_service.js +0 -261
  50. package/drumtracker.tracker_pb.d.ts +0 -244
  51. package/drumtracker.tracker_pb.js +0 -1864
  52. package/drumtracker.tracker_pb_service.d.ts +0 -139
  53. package/drumtracker.tracker_pb_service.js +0 -221
  54. package/google/api/annotations_pb.d.ts +0 -9
  55. package/google/api/annotations_pb.js +0 -54
  56. package/google/api/annotations_pb_service.d.ts +0 -3
  57. package/google/api/annotations_pb_service.js +0 -3
  58. package/google/api/auth_pb.d.ts +0 -150
  59. package/google/api/auth_pb.js +0 -1160
  60. package/google/api/auth_pb_service.d.ts +0 -3
  61. package/google/api/auth_pb_service.js +0 -3
  62. package/google/api/backend_pb.d.ts +0 -59
  63. package/google/api/backend_pb.js +0 -448
  64. package/google/api/backend_pb_service.d.ts +0 -3
  65. package/google/api/backend_pb_service.js +0 -3
  66. package/google/api/billing_pb.d.ts +0 -54
  67. package/google/api/billing_pb.js +0 -416
  68. package/google/api/billing_pb_service.d.ts +0 -3
  69. package/google/api/billing_pb_service.js +0 -3
  70. package/google/api/client_pb.d.ts +0 -12
  71. package/google/api/client_pb.js +0 -104
  72. package/google/api/client_pb_service.d.ts +0 -3
  73. package/google/api/client_pb_service.js +0 -3
  74. package/google/api/config_change_pb.d.ts +0 -72
  75. package/google/api/config_change_pb.js +0 -489
  76. package/google/api/config_change_pb_service.d.ts +0 -3
  77. package/google/api/config_change_pb_service.js +0 -3
  78. package/google/api/consumer_pb.d.ts +0 -65
  79. package/google/api/consumer_pb.js +0 -430
  80. package/google/api/consumer_pb_service.d.ts +0 -3
  81. package/google/api/consumer_pb_service.js +0 -3
  82. package/google/api/context_pb.d.ts +0 -59
  83. package/google/api/context_pb.js +0 -463
  84. package/google/api/context_pb_service.d.ts +0 -3
  85. package/google/api/context_pb_service.js +0 -3
  86. package/google/api/control_pb.d.ts +0 -25
  87. package/google/api/control_pb.js +0 -176
  88. package/google/api/control_pb_service.d.ts +0 -3
  89. package/google/api/control_pb_service.js +0 -3
  90. package/google/api/distribution_pb.d.ts +0 -235
  91. package/google/api/distribution_pb.js +0 -1805
  92. package/google/api/distribution_pb_service.d.ts +0 -3
  93. package/google/api/distribution_pb_service.js +0 -3
  94. package/google/api/documentation_pb.d.ts +0 -103
  95. package/google/api/documentation_pb.js +0 -803
  96. package/google/api/documentation_pb_service.d.ts +0 -3
  97. package/google/api/documentation_pb_service.js +0 -3
  98. package/google/api/endpoint_pb.d.ts +0 -46
  99. package/google/api/endpoint_pb.js +0 -343
  100. package/google/api/endpoint_pb_service.d.ts +0 -3
  101. package/google/api/endpoint_pb_service.js +0 -3
  102. package/google/api/error_reason_pb.d.ts +0 -40
  103. package/google/api/error_reason_pb.js +0 -61
  104. package/google/api/error_reason_pb_service.d.ts +0 -3
  105. package/google/api/error_reason_pb_service.js +0 -3
  106. package/google/api/field_behavior_pb.d.ts +0 -20
  107. package/google/api/field_behavior_pb.js +0 -66
  108. package/google/api/field_behavior_pb_service.d.ts +0 -3
  109. package/google/api/field_behavior_pb_service.js +0 -3
  110. package/google/api/http_pb.d.ts +0 -136
  111. package/google/api/http_pb.js +0 -1012
  112. package/google/api/http_pb_service.d.ts +0 -3
  113. package/google/api/http_pb_service.js +0 -3
  114. package/google/api/httpbody_pb.d.ts +0 -38
  115. package/google/api/httpbody_pb.js +0 -292
  116. package/google/api/httpbody_pb_service.d.ts +0 -3
  117. package/google/api/httpbody_pb_service.js +0 -3
  118. package/google/api/label_pb.d.ts +0 -41
  119. package/google/api/label_pb.js +0 -246
  120. package/google/api/label_pb_service.d.ts +0 -3
  121. package/google/api/label_pb_service.js +0 -3
  122. package/google/api/launch_stage_pb.d.ts +0 -16
  123. package/google/api/launch_stage_pb.js +0 -37
  124. package/google/api/launch_stage_pb_service.d.ts +0 -3
  125. package/google/api/launch_stage_pb_service.js +0 -3
  126. package/google/api/log_pb.d.ts +0 -40
  127. package/google/api/log_pb.js +0 -298
  128. package/google/api/log_pb_service.d.ts +0 -3
  129. package/google/api/log_pb_service.js +0 -3
  130. package/google/api/logging_pb.d.ts +0 -60
  131. package/google/api/logging_pb.js +0 -469
  132. package/google/api/logging_pb_service.d.ts +0 -3
  133. package/google/api/logging_pb_service.js +0 -3
  134. package/google/api/metric_pb.d.ts +0 -100
  135. package/google/api/metric_pb.js +0 -629
  136. package/google/api/metric_pb_service.d.ts +0 -3
  137. package/google/api/metric_pb_service.js +0 -3
  138. package/google/api/monitored_resource_pb.d.ts +0 -93
  139. package/google/api/monitored_resource_pb.js +0 -723
  140. package/google/api/monitored_resource_pb_service.d.ts +0 -3
  141. package/google/api/monitored_resource_pb_service.js +0 -3
  142. package/google/api/monitoring_pb.d.ts +0 -60
  143. package/google/api/monitoring_pb.js +0 -469
  144. package/google/api/monitoring_pb_service.d.ts +0 -3
  145. package/google/api/monitoring_pb_service.js +0 -3
  146. package/google/api/policy_pb.d.ts +0 -64
  147. package/google/api/policy_pb.js +0 -502
  148. package/google/api/policy_pb_service.d.ts +0 -3
  149. package/google/api/policy_pb_service.js +0 -3
  150. package/google/api/quota_pb.d.ts +0 -112
  151. package/google/api/quota_pb.js +0 -873
  152. package/google/api/quota_pb_service.d.ts +0 -3
  153. package/google/api/quota_pb_service.js +0 -3
  154. package/google/api/resource_pb.d.ts +0 -99
  155. package/google/api/resource_pb.js +0 -684
  156. package/google/api/resource_pb_service.d.ts +0 -3
  157. package/google/api/resource_pb_service.js +0 -3
  158. package/google/api/routing_pb.d.ts +0 -54
  159. package/google/api/routing_pb.js +0 -416
  160. package/google/api/routing_pb_service.d.ts +0 -3
  161. package/google/api/routing_pb_service.js +0 -3
  162. package/google/api/service_pb.d.ts +0 -184
  163. package/google/api/service_pb.js +0 -1400
  164. package/google/api/service_pb_service.d.ts +0 -3
  165. package/google/api/service_pb_service.js +0 -3
  166. package/google/api/source_info_pb.d.ts +0 -28
  167. package/google/api/source_info_pb.js +0 -208
  168. package/google/api/source_info_pb_service.d.ts +0 -3
  169. package/google/api/source_info_pb_service.js +0 -3
  170. package/google/api/system_parameter_pb.d.ts +0 -81
  171. package/google/api/system_parameter_pb.js +0 -630
  172. package/google/api/system_parameter_pb_service.d.ts +0 -3
  173. package/google/api/system_parameter_pb_service.js +0 -3
  174. package/google/api/usage_pb.d.ts +0 -66
  175. package/google/api/usage_pb.js +0 -499
  176. package/google/api/usage_pb_service.d.ts +0 -3
  177. package/google/api/usage_pb_service.js +0 -3
  178. package/google/api/visibility_pb.d.ts +0 -64
  179. package/google/api/visibility_pb.js +0 -546
  180. package/google/api/visibility_pb_service.d.ts +0 -3
  181. package/google/api/visibility_pb_service.js +0 -3
  182. package/platform.activity_log_pb.d.ts +0 -177
  183. package/platform.activity_log_pb.js +0 -1294
  184. package/platform.activity_log_pb_service.d.ts +0 -82
  185. package/platform.activity_log_pb_service.js +0 -101
  186. package/platform.client_pb.d.ts +0 -316
  187. package/platform.client_pb.js +0 -2399
  188. package/platform.client_pb_service.d.ts +0 -158
  189. package/platform.client_pb_service.js +0 -261
  190. package/platform.group_pb.d.ts +0 -195
  191. package/platform.group_pb.js +0 -1476
  192. package/platform.group_pb_service.d.ts +0 -139
  193. package/platform.group_pb_service.js +0 -221
  194. package/platform.local_account_pb.d.ts +0 -392
  195. package/platform.local_account_pb.js +0 -2962
  196. package/platform.local_account_pb_service.d.ts +0 -350
  197. package/platform.local_account_pb_service.js +0 -663
  198. package/platform.local_distribution_pb.d.ts +0 -69
  199. package/platform.local_distribution_pb.js +0 -506
  200. package/platform.local_distribution_pb_service.d.ts +0 -63
  201. package/platform.local_distribution_pb_service.js +0 -61
  202. package/platform.location_pb.d.ts +0 -271
  203. package/platform.location_pb.js +0 -2046
  204. package/platform.location_pb_service.d.ts +0 -139
  205. package/platform.location_pb_service.js +0 -221
  206. package/platform.pagination_pb.d.ts +0 -37
  207. package/platform.pagination_pb.js +0 -266
  208. package/platform.pagination_pb_service.d.ts +0 -3
  209. package/platform.pagination_pb_service.js +0 -3
  210. package/spic.cabinet_pb.d.ts +0 -1304
  211. package/spic.cabinet_pb.js +0 -9727
  212. package/spic.cabinet_pb_service.d.ts +0 -359
  213. package/spic.cabinet_pb_service.js +0 -677
  214. package/spic.contractor_pb.d.ts +0 -195
  215. package/spic.contractor_pb.js +0 -1476
  216. package/spic.contractor_pb_service.d.ts +0 -139
  217. package/spic.contractor_pb_service.js +0 -221
package/auth.sms_pb.js DELETED
@@ -1,575 +0,0 @@
1
- // source: auth.sms.proto
2
- /**
3
- * @fileoverview
4
- * @enhanceable
5
- * @suppress {missingRequire} reports error on implicit type usages.
6
- * @suppress {messageConventions} JS Compiler reports an error if a variable or
7
- * field starts with 'MSG_' and isn't a translatable message.
8
- * @public
9
- */
10
- // GENERATED CODE -- DO NOT EDIT!
11
- /* eslint-disable */
12
- // @ts-nocheck
13
-
14
- var jspb = require('google-protobuf');
15
- var goog = jspb;
16
- var global =
17
- (typeof globalThis !== 'undefined' && globalThis) ||
18
- (typeof window !== 'undefined' && window) ||
19
- (typeof global !== 'undefined' && global) ||
20
- (typeof self !== 'undefined' && self) ||
21
- (function () { return this; }).call(null) ||
22
- Function('return this')();
23
-
24
- var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb.js');
25
- goog.object.extend(proto, google_protobuf_empty_pb);
26
- var google_api_annotations_pb = require('./google/api/annotations_pb.js');
27
- goog.object.extend(proto, google_api_annotations_pb);
28
- goog.exportSymbol('proto.Auth.SmsProto', null, global);
29
- goog.exportSymbol('proto.Auth.SmsProto.InviteRequest', null, global);
30
- goog.exportSymbol('proto.Auth.SmsProto.LoginCodeRequest', null, global);
31
- /**
32
- * Generated by JsPbCodeGenerator.
33
- * @param {Array=} opt_data Optional initial data array, typically from a
34
- * server response, or constructed directly in Javascript. The array is used
35
- * in place and becomes part of the constructed object. It is not cloned.
36
- * If no data is provided, the constructed object will be empty, but still
37
- * valid.
38
- * @extends {jspb.Message}
39
- * @constructor
40
- */
41
- proto.Auth.SmsProto = function(opt_data) {
42
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
43
- };
44
- goog.inherits(proto.Auth.SmsProto, jspb.Message);
45
- if (goog.DEBUG && !COMPILED) {
46
- /**
47
- * @public
48
- * @override
49
- */
50
- proto.Auth.SmsProto.displayName = 'proto.Auth.SmsProto';
51
- }
52
- /**
53
- * Generated by JsPbCodeGenerator.
54
- * @param {Array=} opt_data Optional initial data array, typically from a
55
- * server response, or constructed directly in Javascript. The array is used
56
- * in place and becomes part of the constructed object. It is not cloned.
57
- * If no data is provided, the constructed object will be empty, but still
58
- * valid.
59
- * @extends {jspb.Message}
60
- * @constructor
61
- */
62
- proto.Auth.SmsProto.InviteRequest = function(opt_data) {
63
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
64
- };
65
- goog.inherits(proto.Auth.SmsProto.InviteRequest, jspb.Message);
66
- if (goog.DEBUG && !COMPILED) {
67
- /**
68
- * @public
69
- * @override
70
- */
71
- proto.Auth.SmsProto.InviteRequest.displayName = 'proto.Auth.SmsProto.InviteRequest';
72
- }
73
- /**
74
- * Generated by JsPbCodeGenerator.
75
- * @param {Array=} opt_data Optional initial data array, typically from a
76
- * server response, or constructed directly in Javascript. The array is used
77
- * in place and becomes part of the constructed object. It is not cloned.
78
- * If no data is provided, the constructed object will be empty, but still
79
- * valid.
80
- * @extends {jspb.Message}
81
- * @constructor
82
- */
83
- proto.Auth.SmsProto.LoginCodeRequest = function(opt_data) {
84
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
85
- };
86
- goog.inherits(proto.Auth.SmsProto.LoginCodeRequest, jspb.Message);
87
- if (goog.DEBUG && !COMPILED) {
88
- /**
89
- * @public
90
- * @override
91
- */
92
- proto.Auth.SmsProto.LoginCodeRequest.displayName = 'proto.Auth.SmsProto.LoginCodeRequest';
93
- }
94
-
95
-
96
-
97
- if (jspb.Message.GENERATE_TO_OBJECT) {
98
- /**
99
- * Creates an object representation of this proto.
100
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
101
- * Optional fields that are not set will be set to undefined.
102
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
103
- * For the list of reserved names please see:
104
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
105
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
106
- * JSPB instance for transitional soy proto support:
107
- * http://goto/soy-param-migration
108
- * @return {!Object}
109
- */
110
- proto.Auth.SmsProto.prototype.toObject = function(opt_includeInstance) {
111
- return proto.Auth.SmsProto.toObject(opt_includeInstance, this);
112
- };
113
-
114
-
115
- /**
116
- * Static version of the {@see toObject} method.
117
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
118
- * the JSPB instance for transitional soy proto support:
119
- * http://goto/soy-param-migration
120
- * @param {!proto.Auth.SmsProto} msg The msg instance to transform.
121
- * @return {!Object}
122
- * @suppress {unusedLocalVariables} f is only used for nested messages
123
- */
124
- proto.Auth.SmsProto.toObject = function(includeInstance, msg) {
125
- var f, obj = {
126
-
127
- };
128
-
129
- if (includeInstance) {
130
- obj.$jspbMessageInstance = msg;
131
- }
132
- return obj;
133
- };
134
- }
135
-
136
-
137
- /**
138
- * Deserializes binary data (in protobuf wire format).
139
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
140
- * @return {!proto.Auth.SmsProto}
141
- */
142
- proto.Auth.SmsProto.deserializeBinary = function(bytes) {
143
- var reader = new jspb.BinaryReader(bytes);
144
- var msg = new proto.Auth.SmsProto;
145
- return proto.Auth.SmsProto.deserializeBinaryFromReader(msg, reader);
146
- };
147
-
148
-
149
- /**
150
- * Deserializes binary data (in protobuf wire format) from the
151
- * given reader into the given message object.
152
- * @param {!proto.Auth.SmsProto} msg The message object to deserialize into.
153
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
154
- * @return {!proto.Auth.SmsProto}
155
- */
156
- proto.Auth.SmsProto.deserializeBinaryFromReader = function(msg, reader) {
157
- while (reader.nextField()) {
158
- if (reader.isEndGroup()) {
159
- break;
160
- }
161
- var field = reader.getFieldNumber();
162
- switch (field) {
163
- default:
164
- reader.skipField();
165
- break;
166
- }
167
- }
168
- return msg;
169
- };
170
-
171
-
172
- /**
173
- * Serializes the message to binary data (in protobuf wire format).
174
- * @return {!Uint8Array}
175
- */
176
- proto.Auth.SmsProto.prototype.serializeBinary = function() {
177
- var writer = new jspb.BinaryWriter();
178
- proto.Auth.SmsProto.serializeBinaryToWriter(this, writer);
179
- return writer.getResultBuffer();
180
- };
181
-
182
-
183
- /**
184
- * Serializes the given message to binary data (in protobuf wire
185
- * format), writing to the given BinaryWriter.
186
- * @param {!proto.Auth.SmsProto} message
187
- * @param {!jspb.BinaryWriter} writer
188
- * @suppress {unusedLocalVariables} f is only used for nested messages
189
- */
190
- proto.Auth.SmsProto.serializeBinaryToWriter = function(message, writer) {
191
- var f = undefined;
192
- };
193
-
194
-
195
-
196
-
197
-
198
- if (jspb.Message.GENERATE_TO_OBJECT) {
199
- /**
200
- * Creates an object representation of this proto.
201
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
202
- * Optional fields that are not set will be set to undefined.
203
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
204
- * For the list of reserved names please see:
205
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
206
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
207
- * JSPB instance for transitional soy proto support:
208
- * http://goto/soy-param-migration
209
- * @return {!Object}
210
- */
211
- proto.Auth.SmsProto.InviteRequest.prototype.toObject = function(opt_includeInstance) {
212
- return proto.Auth.SmsProto.InviteRequest.toObject(opt_includeInstance, this);
213
- };
214
-
215
-
216
- /**
217
- * Static version of the {@see toObject} method.
218
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
219
- * the JSPB instance for transitional soy proto support:
220
- * http://goto/soy-param-migration
221
- * @param {!proto.Auth.SmsProto.InviteRequest} msg The msg instance to transform.
222
- * @return {!Object}
223
- * @suppress {unusedLocalVariables} f is only used for nested messages
224
- */
225
- proto.Auth.SmsProto.InviteRequest.toObject = function(includeInstance, msg) {
226
- var f, obj = {
227
- phone: jspb.Message.getFieldWithDefault(msg, 1, ""),
228
- firstname: jspb.Message.getFieldWithDefault(msg, 2, ""),
229
- clientname: jspb.Message.getFieldWithDefault(msg, 3, "")
230
- };
231
-
232
- if (includeInstance) {
233
- obj.$jspbMessageInstance = msg;
234
- }
235
- return obj;
236
- };
237
- }
238
-
239
-
240
- /**
241
- * Deserializes binary data (in protobuf wire format).
242
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
243
- * @return {!proto.Auth.SmsProto.InviteRequest}
244
- */
245
- proto.Auth.SmsProto.InviteRequest.deserializeBinary = function(bytes) {
246
- var reader = new jspb.BinaryReader(bytes);
247
- var msg = new proto.Auth.SmsProto.InviteRequest;
248
- return proto.Auth.SmsProto.InviteRequest.deserializeBinaryFromReader(msg, reader);
249
- };
250
-
251
-
252
- /**
253
- * Deserializes binary data (in protobuf wire format) from the
254
- * given reader into the given message object.
255
- * @param {!proto.Auth.SmsProto.InviteRequest} msg The message object to deserialize into.
256
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
257
- * @return {!proto.Auth.SmsProto.InviteRequest}
258
- */
259
- proto.Auth.SmsProto.InviteRequest.deserializeBinaryFromReader = function(msg, reader) {
260
- while (reader.nextField()) {
261
- if (reader.isEndGroup()) {
262
- break;
263
- }
264
- var field = reader.getFieldNumber();
265
- switch (field) {
266
- case 1:
267
- var value = /** @type {string} */ (reader.readString());
268
- msg.setPhone(value);
269
- break;
270
- case 2:
271
- var value = /** @type {string} */ (reader.readString());
272
- msg.setFirstname(value);
273
- break;
274
- case 3:
275
- var value = /** @type {string} */ (reader.readString());
276
- msg.setClientname(value);
277
- break;
278
- default:
279
- reader.skipField();
280
- break;
281
- }
282
- }
283
- return msg;
284
- };
285
-
286
-
287
- /**
288
- * Serializes the message to binary data (in protobuf wire format).
289
- * @return {!Uint8Array}
290
- */
291
- proto.Auth.SmsProto.InviteRequest.prototype.serializeBinary = function() {
292
- var writer = new jspb.BinaryWriter();
293
- proto.Auth.SmsProto.InviteRequest.serializeBinaryToWriter(this, writer);
294
- return writer.getResultBuffer();
295
- };
296
-
297
-
298
- /**
299
- * Serializes the given message to binary data (in protobuf wire
300
- * format), writing to the given BinaryWriter.
301
- * @param {!proto.Auth.SmsProto.InviteRequest} message
302
- * @param {!jspb.BinaryWriter} writer
303
- * @suppress {unusedLocalVariables} f is only used for nested messages
304
- */
305
- proto.Auth.SmsProto.InviteRequest.serializeBinaryToWriter = function(message, writer) {
306
- var f = undefined;
307
- f = message.getPhone();
308
- if (f.length > 0) {
309
- writer.writeString(
310
- 1,
311
- f
312
- );
313
- }
314
- f = message.getFirstname();
315
- if (f.length > 0) {
316
- writer.writeString(
317
- 2,
318
- f
319
- );
320
- }
321
- f = message.getClientname();
322
- if (f.length > 0) {
323
- writer.writeString(
324
- 3,
325
- f
326
- );
327
- }
328
- };
329
-
330
-
331
- /**
332
- * optional string phone = 1;
333
- * @return {string}
334
- */
335
- proto.Auth.SmsProto.InviteRequest.prototype.getPhone = function() {
336
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
337
- };
338
-
339
-
340
- /**
341
- * @param {string} value
342
- * @return {!proto.Auth.SmsProto.InviteRequest} returns this
343
- */
344
- proto.Auth.SmsProto.InviteRequest.prototype.setPhone = function(value) {
345
- return jspb.Message.setProto3StringField(this, 1, value);
346
- };
347
-
348
-
349
- /**
350
- * optional string firstName = 2;
351
- * @return {string}
352
- */
353
- proto.Auth.SmsProto.InviteRequest.prototype.getFirstname = function() {
354
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
355
- };
356
-
357
-
358
- /**
359
- * @param {string} value
360
- * @return {!proto.Auth.SmsProto.InviteRequest} returns this
361
- */
362
- proto.Auth.SmsProto.InviteRequest.prototype.setFirstname = function(value) {
363
- return jspb.Message.setProto3StringField(this, 2, value);
364
- };
365
-
366
-
367
- /**
368
- * optional string clientName = 3;
369
- * @return {string}
370
- */
371
- proto.Auth.SmsProto.InviteRequest.prototype.getClientname = function() {
372
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
373
- };
374
-
375
-
376
- /**
377
- * @param {string} value
378
- * @return {!proto.Auth.SmsProto.InviteRequest} returns this
379
- */
380
- proto.Auth.SmsProto.InviteRequest.prototype.setClientname = function(value) {
381
- return jspb.Message.setProto3StringField(this, 3, value);
382
- };
383
-
384
-
385
-
386
-
387
-
388
- if (jspb.Message.GENERATE_TO_OBJECT) {
389
- /**
390
- * Creates an object representation of this proto.
391
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
392
- * Optional fields that are not set will be set to undefined.
393
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
394
- * For the list of reserved names please see:
395
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
396
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
397
- * JSPB instance for transitional soy proto support:
398
- * http://goto/soy-param-migration
399
- * @return {!Object}
400
- */
401
- proto.Auth.SmsProto.LoginCodeRequest.prototype.toObject = function(opt_includeInstance) {
402
- return proto.Auth.SmsProto.LoginCodeRequest.toObject(opt_includeInstance, this);
403
- };
404
-
405
-
406
- /**
407
- * Static version of the {@see toObject} method.
408
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
409
- * the JSPB instance for transitional soy proto support:
410
- * http://goto/soy-param-migration
411
- * @param {!proto.Auth.SmsProto.LoginCodeRequest} msg The msg instance to transform.
412
- * @return {!Object}
413
- * @suppress {unusedLocalVariables} f is only used for nested messages
414
- */
415
- proto.Auth.SmsProto.LoginCodeRequest.toObject = function(includeInstance, msg) {
416
- var f, obj = {
417
- phone: jspb.Message.getFieldWithDefault(msg, 1, ""),
418
- firstname: jspb.Message.getFieldWithDefault(msg, 2, ""),
419
- logincode: jspb.Message.getFieldWithDefault(msg, 3, "")
420
- };
421
-
422
- if (includeInstance) {
423
- obj.$jspbMessageInstance = msg;
424
- }
425
- return obj;
426
- };
427
- }
428
-
429
-
430
- /**
431
- * Deserializes binary data (in protobuf wire format).
432
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
433
- * @return {!proto.Auth.SmsProto.LoginCodeRequest}
434
- */
435
- proto.Auth.SmsProto.LoginCodeRequest.deserializeBinary = function(bytes) {
436
- var reader = new jspb.BinaryReader(bytes);
437
- var msg = new proto.Auth.SmsProto.LoginCodeRequest;
438
- return proto.Auth.SmsProto.LoginCodeRequest.deserializeBinaryFromReader(msg, reader);
439
- };
440
-
441
-
442
- /**
443
- * Deserializes binary data (in protobuf wire format) from the
444
- * given reader into the given message object.
445
- * @param {!proto.Auth.SmsProto.LoginCodeRequest} msg The message object to deserialize into.
446
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
447
- * @return {!proto.Auth.SmsProto.LoginCodeRequest}
448
- */
449
- proto.Auth.SmsProto.LoginCodeRequest.deserializeBinaryFromReader = function(msg, reader) {
450
- while (reader.nextField()) {
451
- if (reader.isEndGroup()) {
452
- break;
453
- }
454
- var field = reader.getFieldNumber();
455
- switch (field) {
456
- case 1:
457
- var value = /** @type {string} */ (reader.readString());
458
- msg.setPhone(value);
459
- break;
460
- case 2:
461
- var value = /** @type {string} */ (reader.readString());
462
- msg.setFirstname(value);
463
- break;
464
- case 3:
465
- var value = /** @type {string} */ (reader.readString());
466
- msg.setLogincode(value);
467
- break;
468
- default:
469
- reader.skipField();
470
- break;
471
- }
472
- }
473
- return msg;
474
- };
475
-
476
-
477
- /**
478
- * Serializes the message to binary data (in protobuf wire format).
479
- * @return {!Uint8Array}
480
- */
481
- proto.Auth.SmsProto.LoginCodeRequest.prototype.serializeBinary = function() {
482
- var writer = new jspb.BinaryWriter();
483
- proto.Auth.SmsProto.LoginCodeRequest.serializeBinaryToWriter(this, writer);
484
- return writer.getResultBuffer();
485
- };
486
-
487
-
488
- /**
489
- * Serializes the given message to binary data (in protobuf wire
490
- * format), writing to the given BinaryWriter.
491
- * @param {!proto.Auth.SmsProto.LoginCodeRequest} message
492
- * @param {!jspb.BinaryWriter} writer
493
- * @suppress {unusedLocalVariables} f is only used for nested messages
494
- */
495
- proto.Auth.SmsProto.LoginCodeRequest.serializeBinaryToWriter = function(message, writer) {
496
- var f = undefined;
497
- f = message.getPhone();
498
- if (f.length > 0) {
499
- writer.writeString(
500
- 1,
501
- f
502
- );
503
- }
504
- f = message.getFirstname();
505
- if (f.length > 0) {
506
- writer.writeString(
507
- 2,
508
- f
509
- );
510
- }
511
- f = message.getLogincode();
512
- if (f.length > 0) {
513
- writer.writeString(
514
- 3,
515
- f
516
- );
517
- }
518
- };
519
-
520
-
521
- /**
522
- * optional string phone = 1;
523
- * @return {string}
524
- */
525
- proto.Auth.SmsProto.LoginCodeRequest.prototype.getPhone = function() {
526
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
527
- };
528
-
529
-
530
- /**
531
- * @param {string} value
532
- * @return {!proto.Auth.SmsProto.LoginCodeRequest} returns this
533
- */
534
- proto.Auth.SmsProto.LoginCodeRequest.prototype.setPhone = function(value) {
535
- return jspb.Message.setProto3StringField(this, 1, value);
536
- };
537
-
538
-
539
- /**
540
- * optional string firstName = 2;
541
- * @return {string}
542
- */
543
- proto.Auth.SmsProto.LoginCodeRequest.prototype.getFirstname = function() {
544
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
545
- };
546
-
547
-
548
- /**
549
- * @param {string} value
550
- * @return {!proto.Auth.SmsProto.LoginCodeRequest} returns this
551
- */
552
- proto.Auth.SmsProto.LoginCodeRequest.prototype.setFirstname = function(value) {
553
- return jspb.Message.setProto3StringField(this, 2, value);
554
- };
555
-
556
-
557
- /**
558
- * optional string loginCode = 3;
559
- * @return {string}
560
- */
561
- proto.Auth.SmsProto.LoginCodeRequest.prototype.getLogincode = function() {
562
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
563
- };
564
-
565
-
566
- /**
567
- * @param {string} value
568
- * @return {!proto.Auth.SmsProto.LoginCodeRequest} returns this
569
- */
570
- proto.Auth.SmsProto.LoginCodeRequest.prototype.setLogincode = function(value) {
571
- return jspb.Message.setProto3StringField(this, 3, value);
572
- };
573
-
574
-
575
- goog.object.extend(exports, proto.Auth);
@@ -1,83 +0,0 @@
1
- // package: Auth
2
- // file: auth.sms.proto
3
-
4
- import * as auth_sms_pb from "./auth.sms_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 SmsGRPCInviteAppUser = {
9
- readonly methodName: string;
10
- readonly service: typeof SmsGRPC;
11
- readonly requestStream: false;
12
- readonly responseStream: false;
13
- readonly requestType: typeof auth_sms_pb.SmsProto.InviteRequest;
14
- readonly responseType: typeof google_protobuf_empty_pb.Empty;
15
- };
16
-
17
- type SmsGRPCLoginCode = {
18
- readonly methodName: string;
19
- readonly service: typeof SmsGRPC;
20
- readonly requestStream: false;
21
- readonly responseStream: false;
22
- readonly requestType: typeof auth_sms_pb.SmsProto.LoginCodeRequest;
23
- readonly responseType: typeof google_protobuf_empty_pb.Empty;
24
- };
25
-
26
- export class SmsGRPC {
27
- static readonly serviceName: string;
28
- static readonly InviteAppUser: SmsGRPCInviteAppUser;
29
- static readonly LoginCode: SmsGRPCLoginCode;
30
- }
31
-
32
- export type ServiceError = { message: string, code: number; metadata: grpc.Metadata }
33
- export type Status = { details: string, code: number; metadata: grpc.Metadata }
34
-
35
- interface UnaryResponse {
36
- cancel(): void;
37
- }
38
- interface ResponseStream<T> {
39
- cancel(): void;
40
- on(type: 'data', handler: (message: T) => void): ResponseStream<T>;
41
- on(type: 'end', handler: (status?: Status) => void): ResponseStream<T>;
42
- on(type: 'status', handler: (status: Status) => void): ResponseStream<T>;
43
- }
44
- interface RequestStream<T> {
45
- write(message: T): RequestStream<T>;
46
- end(): void;
47
- cancel(): void;
48
- on(type: 'end', handler: (status?: Status) => void): RequestStream<T>;
49
- on(type: 'status', handler: (status: Status) => void): RequestStream<T>;
50
- }
51
- interface BidirectionalStream<ReqT, ResT> {
52
- write(message: ReqT): BidirectionalStream<ReqT, ResT>;
53
- end(): void;
54
- cancel(): void;
55
- on(type: 'data', handler: (message: ResT) => void): BidirectionalStream<ReqT, ResT>;
56
- on(type: 'end', handler: (status?: Status) => void): BidirectionalStream<ReqT, ResT>;
57
- on(type: 'status', handler: (status: Status) => void): BidirectionalStream<ReqT, ResT>;
58
- }
59
-
60
- export class SmsGRPCClient {
61
- readonly serviceHost: string;
62
-
63
- constructor(serviceHost: string, options?: grpc.RpcOptions);
64
- inviteAppUser(
65
- requestMessage: auth_sms_pb.SmsProto.InviteRequest,
66
- metadata: grpc.Metadata,
67
- callback: (error: ServiceError|null, responseMessage: google_protobuf_empty_pb.Empty|null) => void
68
- ): UnaryResponse;
69
- inviteAppUser(
70
- requestMessage: auth_sms_pb.SmsProto.InviteRequest,
71
- callback: (error: ServiceError|null, responseMessage: google_protobuf_empty_pb.Empty|null) => void
72
- ): UnaryResponse;
73
- loginCode(
74
- requestMessage: auth_sms_pb.SmsProto.LoginCodeRequest,
75
- metadata: grpc.Metadata,
76
- callback: (error: ServiceError|null, responseMessage: google_protobuf_empty_pb.Empty|null) => void
77
- ): UnaryResponse;
78
- loginCode(
79
- requestMessage: auth_sms_pb.SmsProto.LoginCodeRequest,
80
- callback: (error: ServiceError|null, responseMessage: google_protobuf_empty_pb.Empty|null) => void
81
- ): UnaryResponse;
82
- }
83
-