@aceplus/smartace-api 1.3.0-alpha.124 → 1.3.0-alpha.125

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