@aceplus/smartace-api 3.6.0-alpha.2 → 3.6.0-alpha.20
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.
- package/package.json +1 -1
- package/auth.account_pb.d.ts +0 -582
- package/auth.account_pb.js +0 -4287
- package/auth.account_pb_service.d.ts +0 -340
- package/auth.account_pb_service.js +0 -637
- package/auth.account_two_factor_pb.d.ts +0 -159
- package/auth.account_two_factor_pb.js +0 -1184
- package/auth.account_two_factor_pb_service.d.ts +0 -121
- package/auth.account_two_factor_pb_service.js +0 -182
- package/auth.app_account_pb.d.ts +0 -156
- package/auth.app_account_pb.js +0 -1153
- package/auth.app_account_pb_service.d.ts +0 -160
- package/auth.app_account_pb_service.js +0 -263
- package/auth.app_authn_pb.d.ts +0 -172
- package/auth.app_authn_pb.js +0 -1233
- package/auth.app_authn_pb_service.d.ts +0 -140
- package/auth.app_authn_pb_service.js +0 -222
- package/auth.app_distribution_pb.d.ts +0 -174
- package/auth.app_distribution_pb.js +0 -1338
- package/auth.app_distribution_pb_service.d.ts +0 -120
- package/auth.app_distribution_pb_service.js +0 -181
- package/auth.authn_pb.d.ts +0 -95
- package/auth.authn_pb.js +0 -637
- package/auth.authn_pb_service.d.ts +0 -82
- package/auth.authn_pb_service.js +0 -101
- package/auth.cluster_pb.d.ts +0 -142
- package/auth.cluster_pb.js +0 -1050
- package/auth.cluster_pb_service.d.ts +0 -82
- package/auth.cluster_pb_service.js +0 -101
- package/auth.distribution_pb.d.ts +0 -233
- package/auth.distribution_pb.js +0 -1785
- package/auth.distribution_pb_service.d.ts +0 -82
- package/auth.distribution_pb_service.js +0 -101
- package/auth.email_pb.d.ts +0 -217
- package/auth.email_pb.js +0 -1508
- package/auth.email_pb_service.d.ts +0 -102
- package/auth.email_pb_service.js +0 -142
- package/auth.firmware_pb.d.ts +0 -256
- package/auth.firmware_pb.js +0 -1997
- package/auth.firmware_pb_service.d.ts +0 -120
- package/auth.firmware_pb_service.js +0 -181
- package/auth.push_notification_pb.d.ts +0 -69
- package/auth.push_notification_pb.js +0 -411
- package/auth.push_notification_pb_service.d.ts +0 -64
- package/auth.push_notification_pb_service.js +0 -62
- package/auth.sms_pb.d.ts +0 -79
- package/auth.sms_pb.js +0 -575
- package/auth.sms_pb_service.d.ts +0 -83
- package/auth.sms_pb_service.js +0 -102
- package/google/api/annotations_pb.d.ts +0 -9
- package/google/api/annotations_pb.js +0 -54
- package/google/api/annotations_pb_service.d.ts +0 -3
- package/google/api/annotations_pb_service.js +0 -3
- package/google/api/auth_pb.d.ts +0 -150
- package/google/api/auth_pb.js +0 -1160
- package/google/api/auth_pb_service.d.ts +0 -3
- package/google/api/auth_pb_service.js +0 -3
- package/google/api/backend_pb.d.ts +0 -59
- package/google/api/backend_pb.js +0 -448
- package/google/api/backend_pb_service.d.ts +0 -3
- package/google/api/backend_pb_service.js +0 -3
- package/google/api/billing_pb.d.ts +0 -54
- package/google/api/billing_pb.js +0 -416
- package/google/api/billing_pb_service.d.ts +0 -3
- package/google/api/billing_pb_service.js +0 -3
- package/google/api/client_pb.d.ts +0 -12
- package/google/api/client_pb.js +0 -104
- package/google/api/client_pb_service.d.ts +0 -3
- package/google/api/client_pb_service.js +0 -3
- package/google/api/config_change_pb.d.ts +0 -72
- package/google/api/config_change_pb.js +0 -489
- package/google/api/config_change_pb_service.d.ts +0 -3
- package/google/api/config_change_pb_service.js +0 -3
- package/google/api/consumer_pb.d.ts +0 -65
- package/google/api/consumer_pb.js +0 -430
- package/google/api/consumer_pb_service.d.ts +0 -3
- package/google/api/consumer_pb_service.js +0 -3
- package/google/api/context_pb.d.ts +0 -59
- package/google/api/context_pb.js +0 -463
- package/google/api/context_pb_service.d.ts +0 -3
- package/google/api/context_pb_service.js +0 -3
- package/google/api/control_pb.d.ts +0 -25
- package/google/api/control_pb.js +0 -176
- package/google/api/control_pb_service.d.ts +0 -3
- package/google/api/control_pb_service.js +0 -3
- package/google/api/distribution_pb.d.ts +0 -235
- package/google/api/distribution_pb.js +0 -1805
- package/google/api/distribution_pb_service.d.ts +0 -3
- package/google/api/distribution_pb_service.js +0 -3
- package/google/api/documentation_pb.d.ts +0 -103
- package/google/api/documentation_pb.js +0 -803
- package/google/api/documentation_pb_service.d.ts +0 -3
- package/google/api/documentation_pb_service.js +0 -3
- package/google/api/endpoint_pb.d.ts +0 -46
- package/google/api/endpoint_pb.js +0 -343
- package/google/api/endpoint_pb_service.d.ts +0 -3
- package/google/api/endpoint_pb_service.js +0 -3
- package/google/api/error_reason_pb.d.ts +0 -40
- package/google/api/error_reason_pb.js +0 -61
- package/google/api/error_reason_pb_service.d.ts +0 -3
- package/google/api/error_reason_pb_service.js +0 -3
- package/google/api/field_behavior_pb.d.ts +0 -20
- package/google/api/field_behavior_pb.js +0 -66
- package/google/api/field_behavior_pb_service.d.ts +0 -3
- package/google/api/field_behavior_pb_service.js +0 -3
- package/google/api/http_pb.d.ts +0 -136
- package/google/api/http_pb.js +0 -1012
- package/google/api/http_pb_service.d.ts +0 -3
- package/google/api/http_pb_service.js +0 -3
- package/google/api/httpbody_pb.d.ts +0 -38
- package/google/api/httpbody_pb.js +0 -292
- package/google/api/httpbody_pb_service.d.ts +0 -3
- package/google/api/httpbody_pb_service.js +0 -3
- package/google/api/label_pb.d.ts +0 -41
- package/google/api/label_pb.js +0 -246
- package/google/api/label_pb_service.d.ts +0 -3
- package/google/api/label_pb_service.js +0 -3
- package/google/api/launch_stage_pb.d.ts +0 -16
- package/google/api/launch_stage_pb.js +0 -37
- package/google/api/launch_stage_pb_service.d.ts +0 -3
- package/google/api/launch_stage_pb_service.js +0 -3
- package/google/api/log_pb.d.ts +0 -40
- package/google/api/log_pb.js +0 -298
- package/google/api/log_pb_service.d.ts +0 -3
- package/google/api/log_pb_service.js +0 -3
- package/google/api/logging_pb.d.ts +0 -60
- package/google/api/logging_pb.js +0 -469
- package/google/api/logging_pb_service.d.ts +0 -3
- package/google/api/logging_pb_service.js +0 -3
- package/google/api/metric_pb.d.ts +0 -100
- package/google/api/metric_pb.js +0 -629
- package/google/api/metric_pb_service.d.ts +0 -3
- package/google/api/metric_pb_service.js +0 -3
- package/google/api/monitored_resource_pb.d.ts +0 -93
- package/google/api/monitored_resource_pb.js +0 -723
- package/google/api/monitored_resource_pb_service.d.ts +0 -3
- package/google/api/monitored_resource_pb_service.js +0 -3
- package/google/api/monitoring_pb.d.ts +0 -60
- package/google/api/monitoring_pb.js +0 -469
- package/google/api/monitoring_pb_service.d.ts +0 -3
- package/google/api/monitoring_pb_service.js +0 -3
- package/google/api/policy_pb.d.ts +0 -64
- package/google/api/policy_pb.js +0 -502
- package/google/api/policy_pb_service.d.ts +0 -3
- package/google/api/policy_pb_service.js +0 -3
- package/google/api/quota_pb.d.ts +0 -112
- package/google/api/quota_pb.js +0 -873
- package/google/api/quota_pb_service.d.ts +0 -3
- package/google/api/quota_pb_service.js +0 -3
- package/google/api/resource_pb.d.ts +0 -99
- package/google/api/resource_pb.js +0 -684
- package/google/api/resource_pb_service.d.ts +0 -3
- package/google/api/resource_pb_service.js +0 -3
- package/google/api/routing_pb.d.ts +0 -54
- package/google/api/routing_pb.js +0 -416
- package/google/api/routing_pb_service.d.ts +0 -3
- package/google/api/routing_pb_service.js +0 -3
- package/google/api/service_pb.d.ts +0 -184
- package/google/api/service_pb.js +0 -1400
- package/google/api/service_pb_service.d.ts +0 -3
- package/google/api/service_pb_service.js +0 -3
- package/google/api/source_info_pb.d.ts +0 -28
- package/google/api/source_info_pb.js +0 -208
- package/google/api/source_info_pb_service.d.ts +0 -3
- package/google/api/source_info_pb_service.js +0 -3
- package/google/api/system_parameter_pb.d.ts +0 -81
- package/google/api/system_parameter_pb.js +0 -630
- package/google/api/system_parameter_pb_service.d.ts +0 -3
- package/google/api/system_parameter_pb_service.js +0 -3
- package/google/api/usage_pb.d.ts +0 -66
- package/google/api/usage_pb.js +0 -499
- package/google/api/usage_pb_service.d.ts +0 -3
- package/google/api/usage_pb_service.js +0 -3
- package/google/api/visibility_pb.d.ts +0 -64
- package/google/api/visibility_pb.js +0 -546
- package/google/api/visibility_pb_service.d.ts +0 -3
- package/google/api/visibility_pb_service.js +0 -3
- package/meta.client_pb.d.ts +0 -167
- package/meta.client_pb.js +0 -1266
- package/meta.client_pb_service.d.ts +0 -122
- package/meta.client_pb_service.js +0 -183
- package/meta.spic_config_pb.d.ts +0 -184
- package/meta.spic_config_pb.js +0 -1382
- package/meta.spic_config_pb_service.d.ts +0 -122
- package/meta.spic_config_pb_service.js +0 -183
- package/platform.activity_log_pb.d.ts +0 -177
- package/platform.activity_log_pb.js +0 -1294
- package/platform.activity_log_pb_service.d.ts +0 -82
- package/platform.activity_log_pb_service.js +0 -101
- package/platform.client_pb.d.ts +0 -350
- package/platform.client_pb.js +0 -2663
- package/platform.client_pb_service.d.ts +0 -158
- package/platform.client_pb_service.js +0 -261
- package/platform.group_pb.d.ts +0 -195
- package/platform.group_pb.js +0 -1476
- package/platform.group_pb_service.d.ts +0 -139
- package/platform.group_pb_service.js +0 -221
- package/platform.local_account_internal_pb.d.ts +0 -125
- package/platform.local_account_internal_pb.js +0 -933
- package/platform.local_account_internal_pb_service.d.ts +0 -121
- package/platform.local_account_internal_pb_service.js +0 -182
- package/platform.local_account_pb.d.ts +0 -446
- package/platform.local_account_pb.js +0 -3337
- package/platform.local_account_pb_service.d.ts +0 -331
- package/platform.local_account_pb_service.js +0 -623
- package/platform.local_distribution_pb.d.ts +0 -73
- package/platform.local_distribution_pb.js +0 -536
- package/platform.local_distribution_pb_service.d.ts +0 -63
- package/platform.local_distribution_pb_service.js +0 -61
- package/platform.location_pb.d.ts +0 -271
- package/platform.location_pb.js +0 -2046
- package/platform.location_pb_service.d.ts +0 -139
- package/platform.location_pb_service.js +0 -221
- package/platform.pagination_pb.d.ts +0 -45
- package/platform.pagination_pb.js +0 -276
- package/platform.pagination_pb_service.d.ts +0 -3
- package/platform.pagination_pb_service.js +0 -3
- package/spic.asset_pb.d.ts +0 -668
- package/spic.asset_pb.js +0 -4789
- package/spic.asset_pb_service.d.ts +0 -197
- package/spic.asset_pb_service.js +0 -342
- package/spic.cabinet_pb.d.ts +0 -1407
- package/spic.cabinet_pb.js +0 -10370
- package/spic.cabinet_pb_service.d.ts +0 -378
- package/spic.cabinet_pb_service.js +0 -717
- package/spic.config_pb.d.ts +0 -249
- package/spic.config_pb.js +0 -1891
- package/spic.config_pb_service.d.ts +0 -120
- package/spic.config_pb_service.js +0 -181
- package/spic.contractor_pb.d.ts +0 -195
- package/spic.contractor_pb.js +0 -1476
- package/spic.contractor_pb_service.d.ts +0 -139
- package/spic.contractor_pb_service.js +0 -221
- package/spic.history_pb.d.ts +0 -142
- package/spic.history_pb.js +0 -1130
- package/spic.history_pb_service.d.ts +0 -63
- package/spic.history_pb_service.js +0 -61
|
@@ -1,411 +0,0 @@
|
|
|
1
|
-
// source: auth.push_notification.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.PushNotificationProto', null, global);
|
|
29
|
-
goog.exportSymbol('proto.Auth.PushNotificationProto.OpenRequest', null, global);
|
|
30
|
-
goog.exportSymbol('proto.Auth.PushNotificationProto.PushType', null, global);
|
|
31
|
-
goog.exportSymbol('proto.Auth.PushNotificationProto.Tag', null, global);
|
|
32
|
-
/**
|
|
33
|
-
* Generated by JsPbCodeGenerator.
|
|
34
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
35
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
36
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
37
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
38
|
-
* valid.
|
|
39
|
-
* @extends {jspb.Message}
|
|
40
|
-
* @constructor
|
|
41
|
-
*/
|
|
42
|
-
proto.Auth.PushNotificationProto = function(opt_data) {
|
|
43
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
44
|
-
};
|
|
45
|
-
goog.inherits(proto.Auth.PushNotificationProto, jspb.Message);
|
|
46
|
-
if (goog.DEBUG && !COMPILED) {
|
|
47
|
-
/**
|
|
48
|
-
* @public
|
|
49
|
-
* @override
|
|
50
|
-
*/
|
|
51
|
-
proto.Auth.PushNotificationProto.displayName = 'proto.Auth.PushNotificationProto';
|
|
52
|
-
}
|
|
53
|
-
/**
|
|
54
|
-
* Generated by JsPbCodeGenerator.
|
|
55
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
56
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
57
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
58
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
59
|
-
* valid.
|
|
60
|
-
* @extends {jspb.Message}
|
|
61
|
-
* @constructor
|
|
62
|
-
*/
|
|
63
|
-
proto.Auth.PushNotificationProto.OpenRequest = function(opt_data) {
|
|
64
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
65
|
-
};
|
|
66
|
-
goog.inherits(proto.Auth.PushNotificationProto.OpenRequest, jspb.Message);
|
|
67
|
-
if (goog.DEBUG && !COMPILED) {
|
|
68
|
-
/**
|
|
69
|
-
* @public
|
|
70
|
-
* @override
|
|
71
|
-
*/
|
|
72
|
-
proto.Auth.PushNotificationProto.OpenRequest.displayName = 'proto.Auth.PushNotificationProto.OpenRequest';
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
78
|
-
/**
|
|
79
|
-
* Creates an object representation of this proto.
|
|
80
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
81
|
-
* Optional fields that are not set will be set to undefined.
|
|
82
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
83
|
-
* For the list of reserved names please see:
|
|
84
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
85
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
86
|
-
* JSPB instance for transitional soy proto support:
|
|
87
|
-
* http://goto/soy-param-migration
|
|
88
|
-
* @return {!Object}
|
|
89
|
-
*/
|
|
90
|
-
proto.Auth.PushNotificationProto.prototype.toObject = function(opt_includeInstance) {
|
|
91
|
-
return proto.Auth.PushNotificationProto.toObject(opt_includeInstance, this);
|
|
92
|
-
};
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
/**
|
|
96
|
-
* Static version of the {@see toObject} method.
|
|
97
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
98
|
-
* the JSPB instance for transitional soy proto support:
|
|
99
|
-
* http://goto/soy-param-migration
|
|
100
|
-
* @param {!proto.Auth.PushNotificationProto} msg The msg instance to transform.
|
|
101
|
-
* @return {!Object}
|
|
102
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
103
|
-
*/
|
|
104
|
-
proto.Auth.PushNotificationProto.toObject = function(includeInstance, msg) {
|
|
105
|
-
var f, obj = {
|
|
106
|
-
|
|
107
|
-
};
|
|
108
|
-
|
|
109
|
-
if (includeInstance) {
|
|
110
|
-
obj.$jspbMessageInstance = msg;
|
|
111
|
-
}
|
|
112
|
-
return obj;
|
|
113
|
-
};
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
/**
|
|
118
|
-
* Deserializes binary data (in protobuf wire format).
|
|
119
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
120
|
-
* @return {!proto.Auth.PushNotificationProto}
|
|
121
|
-
*/
|
|
122
|
-
proto.Auth.PushNotificationProto.deserializeBinary = function(bytes) {
|
|
123
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
124
|
-
var msg = new proto.Auth.PushNotificationProto;
|
|
125
|
-
return proto.Auth.PushNotificationProto.deserializeBinaryFromReader(msg, reader);
|
|
126
|
-
};
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
/**
|
|
130
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
131
|
-
* given reader into the given message object.
|
|
132
|
-
* @param {!proto.Auth.PushNotificationProto} msg The message object to deserialize into.
|
|
133
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
134
|
-
* @return {!proto.Auth.PushNotificationProto}
|
|
135
|
-
*/
|
|
136
|
-
proto.Auth.PushNotificationProto.deserializeBinaryFromReader = function(msg, reader) {
|
|
137
|
-
while (reader.nextField()) {
|
|
138
|
-
if (reader.isEndGroup()) {
|
|
139
|
-
break;
|
|
140
|
-
}
|
|
141
|
-
var field = reader.getFieldNumber();
|
|
142
|
-
switch (field) {
|
|
143
|
-
default:
|
|
144
|
-
reader.skipField();
|
|
145
|
-
break;
|
|
146
|
-
}
|
|
147
|
-
}
|
|
148
|
-
return msg;
|
|
149
|
-
};
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
/**
|
|
153
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
154
|
-
* @return {!Uint8Array}
|
|
155
|
-
*/
|
|
156
|
-
proto.Auth.PushNotificationProto.prototype.serializeBinary = function() {
|
|
157
|
-
var writer = new jspb.BinaryWriter();
|
|
158
|
-
proto.Auth.PushNotificationProto.serializeBinaryToWriter(this, writer);
|
|
159
|
-
return writer.getResultBuffer();
|
|
160
|
-
};
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
/**
|
|
164
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
165
|
-
* format), writing to the given BinaryWriter.
|
|
166
|
-
* @param {!proto.Auth.PushNotificationProto} message
|
|
167
|
-
* @param {!jspb.BinaryWriter} writer
|
|
168
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
169
|
-
*/
|
|
170
|
-
proto.Auth.PushNotificationProto.serializeBinaryToWriter = function(message, writer) {
|
|
171
|
-
var f = undefined;
|
|
172
|
-
};
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
/**
|
|
176
|
-
* @enum {number}
|
|
177
|
-
*/
|
|
178
|
-
proto.Auth.PushNotificationProto.PushType = {
|
|
179
|
-
FCM: 0,
|
|
180
|
-
FCM_FIT: 2
|
|
181
|
-
};
|
|
182
|
-
|
|
183
|
-
/**
|
|
184
|
-
* @enum {number}
|
|
185
|
-
*/
|
|
186
|
-
proto.Auth.PushNotificationProto.Tag = {
|
|
187
|
-
OPENING: 0,
|
|
188
|
-
CLOSED: 1
|
|
189
|
-
};
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
195
|
-
/**
|
|
196
|
-
* Creates an object representation of this proto.
|
|
197
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
198
|
-
* Optional fields that are not set will be set to undefined.
|
|
199
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
200
|
-
* For the list of reserved names please see:
|
|
201
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
202
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
203
|
-
* JSPB instance for transitional soy proto support:
|
|
204
|
-
* http://goto/soy-param-migration
|
|
205
|
-
* @return {!Object}
|
|
206
|
-
*/
|
|
207
|
-
proto.Auth.PushNotificationProto.OpenRequest.prototype.toObject = function(opt_includeInstance) {
|
|
208
|
-
return proto.Auth.PushNotificationProto.OpenRequest.toObject(opt_includeInstance, this);
|
|
209
|
-
};
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
/**
|
|
213
|
-
* Static version of the {@see toObject} method.
|
|
214
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
215
|
-
* the JSPB instance for transitional soy proto support:
|
|
216
|
-
* http://goto/soy-param-migration
|
|
217
|
-
* @param {!proto.Auth.PushNotificationProto.OpenRequest} msg The msg instance to transform.
|
|
218
|
-
* @return {!Object}
|
|
219
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
220
|
-
*/
|
|
221
|
-
proto.Auth.PushNotificationProto.OpenRequest.toObject = function(includeInstance, msg) {
|
|
222
|
-
var f, obj = {
|
|
223
|
-
accountid: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
224
|
-
cabinetname: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
225
|
-
cabinetid: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
226
|
-
tag: jspb.Message.getFieldWithDefault(msg, 4, 0)
|
|
227
|
-
};
|
|
228
|
-
|
|
229
|
-
if (includeInstance) {
|
|
230
|
-
obj.$jspbMessageInstance = msg;
|
|
231
|
-
}
|
|
232
|
-
return obj;
|
|
233
|
-
};
|
|
234
|
-
}
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
/**
|
|
238
|
-
* Deserializes binary data (in protobuf wire format).
|
|
239
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
240
|
-
* @return {!proto.Auth.PushNotificationProto.OpenRequest}
|
|
241
|
-
*/
|
|
242
|
-
proto.Auth.PushNotificationProto.OpenRequest.deserializeBinary = function(bytes) {
|
|
243
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
244
|
-
var msg = new proto.Auth.PushNotificationProto.OpenRequest;
|
|
245
|
-
return proto.Auth.PushNotificationProto.OpenRequest.deserializeBinaryFromReader(msg, reader);
|
|
246
|
-
};
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
/**
|
|
250
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
251
|
-
* given reader into the given message object.
|
|
252
|
-
* @param {!proto.Auth.PushNotificationProto.OpenRequest} msg The message object to deserialize into.
|
|
253
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
254
|
-
* @return {!proto.Auth.PushNotificationProto.OpenRequest}
|
|
255
|
-
*/
|
|
256
|
-
proto.Auth.PushNotificationProto.OpenRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
257
|
-
while (reader.nextField()) {
|
|
258
|
-
if (reader.isEndGroup()) {
|
|
259
|
-
break;
|
|
260
|
-
}
|
|
261
|
-
var field = reader.getFieldNumber();
|
|
262
|
-
switch (field) {
|
|
263
|
-
case 1:
|
|
264
|
-
var value = /** @type {number} */ (reader.readInt64());
|
|
265
|
-
msg.setAccountid(value);
|
|
266
|
-
break;
|
|
267
|
-
case 2:
|
|
268
|
-
var value = /** @type {string} */ (reader.readString());
|
|
269
|
-
msg.setCabinetname(value);
|
|
270
|
-
break;
|
|
271
|
-
case 3:
|
|
272
|
-
var value = /** @type {number} */ (reader.readInt64());
|
|
273
|
-
msg.setCabinetid(value);
|
|
274
|
-
break;
|
|
275
|
-
case 4:
|
|
276
|
-
var value = /** @type {!proto.Auth.PushNotificationProto.Tag} */ (reader.readEnum());
|
|
277
|
-
msg.setTag(value);
|
|
278
|
-
break;
|
|
279
|
-
default:
|
|
280
|
-
reader.skipField();
|
|
281
|
-
break;
|
|
282
|
-
}
|
|
283
|
-
}
|
|
284
|
-
return msg;
|
|
285
|
-
};
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
/**
|
|
289
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
290
|
-
* @return {!Uint8Array}
|
|
291
|
-
*/
|
|
292
|
-
proto.Auth.PushNotificationProto.OpenRequest.prototype.serializeBinary = function() {
|
|
293
|
-
var writer = new jspb.BinaryWriter();
|
|
294
|
-
proto.Auth.PushNotificationProto.OpenRequest.serializeBinaryToWriter(this, writer);
|
|
295
|
-
return writer.getResultBuffer();
|
|
296
|
-
};
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
/**
|
|
300
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
301
|
-
* format), writing to the given BinaryWriter.
|
|
302
|
-
* @param {!proto.Auth.PushNotificationProto.OpenRequest} message
|
|
303
|
-
* @param {!jspb.BinaryWriter} writer
|
|
304
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
305
|
-
*/
|
|
306
|
-
proto.Auth.PushNotificationProto.OpenRequest.serializeBinaryToWriter = function(message, writer) {
|
|
307
|
-
var f = undefined;
|
|
308
|
-
f = message.getAccountid();
|
|
309
|
-
if (f !== 0) {
|
|
310
|
-
writer.writeInt64(
|
|
311
|
-
1,
|
|
312
|
-
f
|
|
313
|
-
);
|
|
314
|
-
}
|
|
315
|
-
f = message.getCabinetname();
|
|
316
|
-
if (f.length > 0) {
|
|
317
|
-
writer.writeString(
|
|
318
|
-
2,
|
|
319
|
-
f
|
|
320
|
-
);
|
|
321
|
-
}
|
|
322
|
-
f = message.getCabinetid();
|
|
323
|
-
if (f !== 0) {
|
|
324
|
-
writer.writeInt64(
|
|
325
|
-
3,
|
|
326
|
-
f
|
|
327
|
-
);
|
|
328
|
-
}
|
|
329
|
-
f = message.getTag();
|
|
330
|
-
if (f !== 0.0) {
|
|
331
|
-
writer.writeEnum(
|
|
332
|
-
4,
|
|
333
|
-
f
|
|
334
|
-
);
|
|
335
|
-
}
|
|
336
|
-
};
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
/**
|
|
340
|
-
* optional int64 accountId = 1;
|
|
341
|
-
* @return {number}
|
|
342
|
-
*/
|
|
343
|
-
proto.Auth.PushNotificationProto.OpenRequest.prototype.getAccountid = function() {
|
|
344
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
345
|
-
};
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
/**
|
|
349
|
-
* @param {number} value
|
|
350
|
-
* @return {!proto.Auth.PushNotificationProto.OpenRequest} returns this
|
|
351
|
-
*/
|
|
352
|
-
proto.Auth.PushNotificationProto.OpenRequest.prototype.setAccountid = function(value) {
|
|
353
|
-
return jspb.Message.setProto3IntField(this, 1, value);
|
|
354
|
-
};
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
/**
|
|
358
|
-
* optional string cabinetName = 2;
|
|
359
|
-
* @return {string}
|
|
360
|
-
*/
|
|
361
|
-
proto.Auth.PushNotificationProto.OpenRequest.prototype.getCabinetname = function() {
|
|
362
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
363
|
-
};
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
/**
|
|
367
|
-
* @param {string} value
|
|
368
|
-
* @return {!proto.Auth.PushNotificationProto.OpenRequest} returns this
|
|
369
|
-
*/
|
|
370
|
-
proto.Auth.PushNotificationProto.OpenRequest.prototype.setCabinetname = function(value) {
|
|
371
|
-
return jspb.Message.setProto3StringField(this, 2, value);
|
|
372
|
-
};
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
/**
|
|
376
|
-
* optional int64 cabinetId = 3;
|
|
377
|
-
* @return {number}
|
|
378
|
-
*/
|
|
379
|
-
proto.Auth.PushNotificationProto.OpenRequest.prototype.getCabinetid = function() {
|
|
380
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
381
|
-
};
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
/**
|
|
385
|
-
* @param {number} value
|
|
386
|
-
* @return {!proto.Auth.PushNotificationProto.OpenRequest} returns this
|
|
387
|
-
*/
|
|
388
|
-
proto.Auth.PushNotificationProto.OpenRequest.prototype.setCabinetid = function(value) {
|
|
389
|
-
return jspb.Message.setProto3IntField(this, 3, value);
|
|
390
|
-
};
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
/**
|
|
394
|
-
* optional Tag tag = 4;
|
|
395
|
-
* @return {!proto.Auth.PushNotificationProto.Tag}
|
|
396
|
-
*/
|
|
397
|
-
proto.Auth.PushNotificationProto.OpenRequest.prototype.getTag = function() {
|
|
398
|
-
return /** @type {!proto.Auth.PushNotificationProto.Tag} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
399
|
-
};
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
/**
|
|
403
|
-
* @param {!proto.Auth.PushNotificationProto.Tag} value
|
|
404
|
-
* @return {!proto.Auth.PushNotificationProto.OpenRequest} returns this
|
|
405
|
-
*/
|
|
406
|
-
proto.Auth.PushNotificationProto.OpenRequest.prototype.setTag = function(value) {
|
|
407
|
-
return jspb.Message.setProto3EnumField(this, 4, value);
|
|
408
|
-
};
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
goog.object.extend(exports, proto.Auth);
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
// package: Auth
|
|
2
|
-
// file: auth.push_notification.proto
|
|
3
|
-
|
|
4
|
-
import * as auth_push_notification_pb from "./auth.push_notification_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 PushNotificationGRPCSendOpen = {
|
|
9
|
-
readonly methodName: string;
|
|
10
|
-
readonly service: typeof PushNotificationGRPC;
|
|
11
|
-
readonly requestStream: false;
|
|
12
|
-
readonly responseStream: false;
|
|
13
|
-
readonly requestType: typeof auth_push_notification_pb.PushNotificationProto.OpenRequest;
|
|
14
|
-
readonly responseType: typeof google_protobuf_empty_pb.Empty;
|
|
15
|
-
};
|
|
16
|
-
|
|
17
|
-
export class PushNotificationGRPC {
|
|
18
|
-
static readonly serviceName: string;
|
|
19
|
-
static readonly SendOpen: PushNotificationGRPCSendOpen;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
export type ServiceError = { message: string, code: number; metadata: grpc.Metadata }
|
|
23
|
-
export type Status = { details: string, code: number; metadata: grpc.Metadata }
|
|
24
|
-
|
|
25
|
-
interface UnaryResponse {
|
|
26
|
-
cancel(): void;
|
|
27
|
-
}
|
|
28
|
-
interface ResponseStream<T> {
|
|
29
|
-
cancel(): void;
|
|
30
|
-
on(type: 'data', handler: (message: T) => void): ResponseStream<T>;
|
|
31
|
-
on(type: 'end', handler: (status?: Status) => void): ResponseStream<T>;
|
|
32
|
-
on(type: 'status', handler: (status: Status) => void): ResponseStream<T>;
|
|
33
|
-
}
|
|
34
|
-
interface RequestStream<T> {
|
|
35
|
-
write(message: T): RequestStream<T>;
|
|
36
|
-
end(): void;
|
|
37
|
-
cancel(): void;
|
|
38
|
-
on(type: 'end', handler: (status?: Status) => void): RequestStream<T>;
|
|
39
|
-
on(type: 'status', handler: (status: Status) => void): RequestStream<T>;
|
|
40
|
-
}
|
|
41
|
-
interface BidirectionalStream<ReqT, ResT> {
|
|
42
|
-
write(message: ReqT): BidirectionalStream<ReqT, ResT>;
|
|
43
|
-
end(): void;
|
|
44
|
-
cancel(): void;
|
|
45
|
-
on(type: 'data', handler: (message: ResT) => void): BidirectionalStream<ReqT, ResT>;
|
|
46
|
-
on(type: 'end', handler: (status?: Status) => void): BidirectionalStream<ReqT, ResT>;
|
|
47
|
-
on(type: 'status', handler: (status: Status) => void): BidirectionalStream<ReqT, ResT>;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
export class PushNotificationGRPCClient {
|
|
51
|
-
readonly serviceHost: string;
|
|
52
|
-
|
|
53
|
-
constructor(serviceHost: string, options?: grpc.RpcOptions);
|
|
54
|
-
sendOpen(
|
|
55
|
-
requestMessage: auth_push_notification_pb.PushNotificationProto.OpenRequest,
|
|
56
|
-
metadata: grpc.Metadata,
|
|
57
|
-
callback: (error: ServiceError|null, responseMessage: google_protobuf_empty_pb.Empty|null) => void
|
|
58
|
-
): UnaryResponse;
|
|
59
|
-
sendOpen(
|
|
60
|
-
requestMessage: auth_push_notification_pb.PushNotificationProto.OpenRequest,
|
|
61
|
-
callback: (error: ServiceError|null, responseMessage: google_protobuf_empty_pb.Empty|null) => void
|
|
62
|
-
): UnaryResponse;
|
|
63
|
-
}
|
|
64
|
-
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
// package: Auth
|
|
2
|
-
// file: auth.push_notification.proto
|
|
3
|
-
|
|
4
|
-
var auth_push_notification_pb = require("./auth.push_notification_pb");
|
|
5
|
-
var google_protobuf_empty_pb = require("google-protobuf/google/protobuf/empty_pb");
|
|
6
|
-
var grpc = require("@improbable-eng/grpc-web").grpc;
|
|
7
|
-
|
|
8
|
-
var PushNotificationGRPC = (function () {
|
|
9
|
-
function PushNotificationGRPC() {}
|
|
10
|
-
PushNotificationGRPC.serviceName = "Auth.PushNotificationGRPC";
|
|
11
|
-
return PushNotificationGRPC;
|
|
12
|
-
}());
|
|
13
|
-
|
|
14
|
-
PushNotificationGRPC.SendOpen = {
|
|
15
|
-
methodName: "SendOpen",
|
|
16
|
-
service: PushNotificationGRPC,
|
|
17
|
-
requestStream: false,
|
|
18
|
-
responseStream: false,
|
|
19
|
-
requestType: auth_push_notification_pb.PushNotificationProto.OpenRequest,
|
|
20
|
-
responseType: google_protobuf_empty_pb.Empty
|
|
21
|
-
};
|
|
22
|
-
|
|
23
|
-
exports.PushNotificationGRPC = PushNotificationGRPC;
|
|
24
|
-
|
|
25
|
-
function PushNotificationGRPCClient(serviceHost, options) {
|
|
26
|
-
this.serviceHost = serviceHost;
|
|
27
|
-
this.options = options || {};
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
PushNotificationGRPCClient.prototype.sendOpen = function sendOpen(requestMessage, metadata, callback) {
|
|
31
|
-
if (arguments.length === 2) {
|
|
32
|
-
callback = arguments[1];
|
|
33
|
-
}
|
|
34
|
-
var client = grpc.unary(PushNotificationGRPC.SendOpen, {
|
|
35
|
-
request: requestMessage,
|
|
36
|
-
host: this.serviceHost,
|
|
37
|
-
metadata: metadata,
|
|
38
|
-
transport: this.options.transport,
|
|
39
|
-
debug: this.options.debug,
|
|
40
|
-
onEnd: function (response) {
|
|
41
|
-
if (callback) {
|
|
42
|
-
if (response.status !== grpc.Code.OK) {
|
|
43
|
-
var err = new Error(response.statusMessage);
|
|
44
|
-
err.code = response.status;
|
|
45
|
-
err.metadata = response.trailers;
|
|
46
|
-
callback(err, null);
|
|
47
|
-
} else {
|
|
48
|
-
callback(null, response.message);
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
});
|
|
53
|
-
return {
|
|
54
|
-
cancel: function () {
|
|
55
|
-
callback = null;
|
|
56
|
-
client.close();
|
|
57
|
-
}
|
|
58
|
-
};
|
|
59
|
-
};
|
|
60
|
-
|
|
61
|
-
exports.PushNotificationGRPCClient = PushNotificationGRPCClient;
|
|
62
|
-
|
package/auth.sms_pb.d.ts
DELETED
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
// package: Auth
|
|
2
|
-
// file: auth.sms.proto
|
|
3
|
-
|
|
4
|
-
import * as jspb from "google-protobuf";
|
|
5
|
-
import * as google_protobuf_empty_pb from "google-protobuf/google/protobuf/empty_pb";
|
|
6
|
-
import * as google_api_annotations_pb from "./google/api/annotations_pb";
|
|
7
|
-
|
|
8
|
-
export class SmsProto extends jspb.Message {
|
|
9
|
-
serializeBinary(): Uint8Array;
|
|
10
|
-
toObject(includeInstance?: boolean): SmsProto.AsObject;
|
|
11
|
-
static toObject(includeInstance: boolean, msg: SmsProto): SmsProto.AsObject;
|
|
12
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
13
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
14
|
-
static serializeBinaryToWriter(message: SmsProto, writer: jspb.BinaryWriter): void;
|
|
15
|
-
static deserializeBinary(bytes: Uint8Array): SmsProto;
|
|
16
|
-
static deserializeBinaryFromReader(message: SmsProto, reader: jspb.BinaryReader): SmsProto;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
export namespace SmsProto {
|
|
20
|
-
export type AsObject = {
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
export class InviteRequest extends jspb.Message {
|
|
24
|
-
getPhone(): string;
|
|
25
|
-
setPhone(value: string): void;
|
|
26
|
-
|
|
27
|
-
getFirstname(): string;
|
|
28
|
-
setFirstname(value: string): void;
|
|
29
|
-
|
|
30
|
-
getClientname(): string;
|
|
31
|
-
setClientname(value: string): void;
|
|
32
|
-
|
|
33
|
-
serializeBinary(): Uint8Array;
|
|
34
|
-
toObject(includeInstance?: boolean): InviteRequest.AsObject;
|
|
35
|
-
static toObject(includeInstance: boolean, msg: InviteRequest): InviteRequest.AsObject;
|
|
36
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
37
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
38
|
-
static serializeBinaryToWriter(message: InviteRequest, writer: jspb.BinaryWriter): void;
|
|
39
|
-
static deserializeBinary(bytes: Uint8Array): InviteRequest;
|
|
40
|
-
static deserializeBinaryFromReader(message: InviteRequest, reader: jspb.BinaryReader): InviteRequest;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
export namespace InviteRequest {
|
|
44
|
-
export type AsObject = {
|
|
45
|
-
phone: string,
|
|
46
|
-
firstname: string,
|
|
47
|
-
clientname: string,
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
export class LoginCodeRequest extends jspb.Message {
|
|
52
|
-
getPhone(): string;
|
|
53
|
-
setPhone(value: string): void;
|
|
54
|
-
|
|
55
|
-
getFirstname(): string;
|
|
56
|
-
setFirstname(value: string): void;
|
|
57
|
-
|
|
58
|
-
getLogincode(): string;
|
|
59
|
-
setLogincode(value: string): void;
|
|
60
|
-
|
|
61
|
-
serializeBinary(): Uint8Array;
|
|
62
|
-
toObject(includeInstance?: boolean): LoginCodeRequest.AsObject;
|
|
63
|
-
static toObject(includeInstance: boolean, msg: LoginCodeRequest): LoginCodeRequest.AsObject;
|
|
64
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
65
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
66
|
-
static serializeBinaryToWriter(message: LoginCodeRequest, writer: jspb.BinaryWriter): void;
|
|
67
|
-
static deserializeBinary(bytes: Uint8Array): LoginCodeRequest;
|
|
68
|
-
static deserializeBinaryFromReader(message: LoginCodeRequest, reader: jspb.BinaryReader): LoginCodeRequest;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
export namespace LoginCodeRequest {
|
|
72
|
-
export type AsObject = {
|
|
73
|
-
phone: string,
|
|
74
|
-
firstname: string,
|
|
75
|
-
logincode: string,
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
|