@sniipwebmaster/user-service-client-grpcweb 22.11.7863 → 22.11.7889
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/dependancies/service_pb.js +64 -37
- package/package.json +1 -1
|
@@ -10812,13 +10812,14 @@ proto.sniipuserservice.DeviceDetails.toObject = function(includeInstance, msg) {
|
|
|
10812
10812
|
var f, obj = {
|
|
10813
10813
|
deviceid: msg.getDeviceid(),
|
|
10814
10814
|
fcmtoken: msg.getFcmtoken(),
|
|
10815
|
+
platform: msg.getPlatform(),
|
|
10816
|
+
version: msg.getVersion(),
|
|
10815
10817
|
latitude: msg.getLatitude(),
|
|
10816
10818
|
longitude: msg.getLongitude(),
|
|
10817
10819
|
manufacturer: msg.getManufacturer(),
|
|
10818
10820
|
model: msg.getModel(),
|
|
10819
10821
|
osversion: msg.getOsversion(),
|
|
10820
|
-
|
|
10821
|
-
version: msg.getVersion()
|
|
10822
|
+
updatedat: msg.getUpdatedat()
|
|
10822
10823
|
};
|
|
10823
10824
|
|
|
10824
10825
|
if (includeInstance) {
|
|
@@ -10865,31 +10866,35 @@ proto.sniipuserservice.DeviceDetails.deserializeBinaryFromReader = function(msg,
|
|
|
10865
10866
|
break;
|
|
10866
10867
|
case 3:
|
|
10867
10868
|
var value = /** @type {string} */ (reader.readString());
|
|
10868
|
-
msg.
|
|
10869
|
+
msg.setPlatform(value);
|
|
10869
10870
|
break;
|
|
10870
10871
|
case 4:
|
|
10871
10872
|
var value = /** @type {string} */ (reader.readString());
|
|
10872
|
-
msg.
|
|
10873
|
+
msg.setVersion(value);
|
|
10873
10874
|
break;
|
|
10874
10875
|
case 5:
|
|
10875
10876
|
var value = /** @type {string} */ (reader.readString());
|
|
10876
|
-
msg.
|
|
10877
|
+
msg.setLatitude(value);
|
|
10877
10878
|
break;
|
|
10878
10879
|
case 6:
|
|
10879
10880
|
var value = /** @type {string} */ (reader.readString());
|
|
10880
|
-
msg.
|
|
10881
|
+
msg.setLongitude(value);
|
|
10881
10882
|
break;
|
|
10882
10883
|
case 7:
|
|
10883
10884
|
var value = /** @type {string} */ (reader.readString());
|
|
10884
|
-
msg.
|
|
10885
|
+
msg.setManufacturer(value);
|
|
10885
10886
|
break;
|
|
10886
10887
|
case 8:
|
|
10887
10888
|
var value = /** @type {string} */ (reader.readString());
|
|
10888
|
-
msg.
|
|
10889
|
+
msg.setModel(value);
|
|
10889
10890
|
break;
|
|
10890
10891
|
case 9:
|
|
10891
10892
|
var value = /** @type {string} */ (reader.readString());
|
|
10892
|
-
msg.
|
|
10893
|
+
msg.setOsversion(value);
|
|
10894
|
+
break;
|
|
10895
|
+
case 10:
|
|
10896
|
+
var value = /** @type {string} */ (reader.readString());
|
|
10897
|
+
msg.setUpdatedat(value);
|
|
10893
10898
|
break;
|
|
10894
10899
|
default:
|
|
10895
10900
|
reader.skipField();
|
|
@@ -10943,55 +10948,62 @@ proto.sniipuserservice.DeviceDetails.prototype.serializeBinaryToWriter = functio
|
|
|
10943
10948
|
f
|
|
10944
10949
|
);
|
|
10945
10950
|
}
|
|
10946
|
-
f = this.
|
|
10951
|
+
f = this.getPlatform();
|
|
10947
10952
|
if (f.length > 0) {
|
|
10948
10953
|
writer.writeString(
|
|
10949
10954
|
3,
|
|
10950
10955
|
f
|
|
10951
10956
|
);
|
|
10952
10957
|
}
|
|
10953
|
-
f = this.
|
|
10958
|
+
f = this.getVersion();
|
|
10954
10959
|
if (f.length > 0) {
|
|
10955
10960
|
writer.writeString(
|
|
10956
10961
|
4,
|
|
10957
10962
|
f
|
|
10958
10963
|
);
|
|
10959
10964
|
}
|
|
10960
|
-
f = this.
|
|
10965
|
+
f = this.getLatitude();
|
|
10961
10966
|
if (f.length > 0) {
|
|
10962
10967
|
writer.writeString(
|
|
10963
10968
|
5,
|
|
10964
10969
|
f
|
|
10965
10970
|
);
|
|
10966
10971
|
}
|
|
10967
|
-
f = this.
|
|
10972
|
+
f = this.getLongitude();
|
|
10968
10973
|
if (f.length > 0) {
|
|
10969
10974
|
writer.writeString(
|
|
10970
10975
|
6,
|
|
10971
10976
|
f
|
|
10972
10977
|
);
|
|
10973
10978
|
}
|
|
10974
|
-
f = this.
|
|
10979
|
+
f = this.getManufacturer();
|
|
10975
10980
|
if (f.length > 0) {
|
|
10976
10981
|
writer.writeString(
|
|
10977
10982
|
7,
|
|
10978
10983
|
f
|
|
10979
10984
|
);
|
|
10980
10985
|
}
|
|
10981
|
-
f = this.
|
|
10986
|
+
f = this.getModel();
|
|
10982
10987
|
if (f.length > 0) {
|
|
10983
10988
|
writer.writeString(
|
|
10984
10989
|
8,
|
|
10985
10990
|
f
|
|
10986
10991
|
);
|
|
10987
10992
|
}
|
|
10988
|
-
f = this.
|
|
10993
|
+
f = this.getOsversion();
|
|
10989
10994
|
if (f.length > 0) {
|
|
10990
10995
|
writer.writeString(
|
|
10991
10996
|
9,
|
|
10992
10997
|
f
|
|
10993
10998
|
);
|
|
10994
10999
|
}
|
|
11000
|
+
f = this.getUpdatedat();
|
|
11001
|
+
if (f.length > 0) {
|
|
11002
|
+
writer.writeString(
|
|
11003
|
+
10,
|
|
11004
|
+
f
|
|
11005
|
+
);
|
|
11006
|
+
}
|
|
10995
11007
|
};
|
|
10996
11008
|
|
|
10997
11009
|
|
|
@@ -11035,110 +11047,125 @@ proto.sniipuserservice.DeviceDetails.prototype.setFcmtoken = function(value) {
|
|
|
11035
11047
|
|
|
11036
11048
|
|
|
11037
11049
|
/**
|
|
11038
|
-
* optional string
|
|
11050
|
+
* optional string platform = 3;
|
|
11039
11051
|
* @return {string}
|
|
11040
11052
|
*/
|
|
11041
|
-
proto.sniipuserservice.DeviceDetails.prototype.
|
|
11053
|
+
proto.sniipuserservice.DeviceDetails.prototype.getPlatform = function() {
|
|
11042
11054
|
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 3, ""));
|
|
11043
11055
|
};
|
|
11044
11056
|
|
|
11045
11057
|
|
|
11046
11058
|
/** @param {string} value */
|
|
11047
|
-
proto.sniipuserservice.DeviceDetails.prototype.
|
|
11059
|
+
proto.sniipuserservice.DeviceDetails.prototype.setPlatform = function(value) {
|
|
11048
11060
|
jspb.Message.setField(this, 3, value);
|
|
11049
11061
|
};
|
|
11050
11062
|
|
|
11051
11063
|
|
|
11052
11064
|
/**
|
|
11053
|
-
* optional string
|
|
11065
|
+
* optional string version = 4;
|
|
11054
11066
|
* @return {string}
|
|
11055
11067
|
*/
|
|
11056
|
-
proto.sniipuserservice.DeviceDetails.prototype.
|
|
11068
|
+
proto.sniipuserservice.DeviceDetails.prototype.getVersion = function() {
|
|
11057
11069
|
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 4, ""));
|
|
11058
11070
|
};
|
|
11059
11071
|
|
|
11060
11072
|
|
|
11061
11073
|
/** @param {string} value */
|
|
11062
|
-
proto.sniipuserservice.DeviceDetails.prototype.
|
|
11074
|
+
proto.sniipuserservice.DeviceDetails.prototype.setVersion = function(value) {
|
|
11063
11075
|
jspb.Message.setField(this, 4, value);
|
|
11064
11076
|
};
|
|
11065
11077
|
|
|
11066
11078
|
|
|
11067
11079
|
/**
|
|
11068
|
-
* optional string
|
|
11080
|
+
* optional string latitude = 5;
|
|
11069
11081
|
* @return {string}
|
|
11070
11082
|
*/
|
|
11071
|
-
proto.sniipuserservice.DeviceDetails.prototype.
|
|
11083
|
+
proto.sniipuserservice.DeviceDetails.prototype.getLatitude = function() {
|
|
11072
11084
|
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 5, ""));
|
|
11073
11085
|
};
|
|
11074
11086
|
|
|
11075
11087
|
|
|
11076
11088
|
/** @param {string} value */
|
|
11077
|
-
proto.sniipuserservice.DeviceDetails.prototype.
|
|
11089
|
+
proto.sniipuserservice.DeviceDetails.prototype.setLatitude = function(value) {
|
|
11078
11090
|
jspb.Message.setField(this, 5, value);
|
|
11079
11091
|
};
|
|
11080
11092
|
|
|
11081
11093
|
|
|
11082
11094
|
/**
|
|
11083
|
-
* optional string
|
|
11095
|
+
* optional string longitude = 6;
|
|
11084
11096
|
* @return {string}
|
|
11085
11097
|
*/
|
|
11086
|
-
proto.sniipuserservice.DeviceDetails.prototype.
|
|
11098
|
+
proto.sniipuserservice.DeviceDetails.prototype.getLongitude = function() {
|
|
11087
11099
|
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 6, ""));
|
|
11088
11100
|
};
|
|
11089
11101
|
|
|
11090
11102
|
|
|
11091
11103
|
/** @param {string} value */
|
|
11092
|
-
proto.sniipuserservice.DeviceDetails.prototype.
|
|
11104
|
+
proto.sniipuserservice.DeviceDetails.prototype.setLongitude = function(value) {
|
|
11093
11105
|
jspb.Message.setField(this, 6, value);
|
|
11094
11106
|
};
|
|
11095
11107
|
|
|
11096
11108
|
|
|
11097
11109
|
/**
|
|
11098
|
-
* optional string
|
|
11110
|
+
* optional string manufacturer = 7;
|
|
11099
11111
|
* @return {string}
|
|
11100
11112
|
*/
|
|
11101
|
-
proto.sniipuserservice.DeviceDetails.prototype.
|
|
11113
|
+
proto.sniipuserservice.DeviceDetails.prototype.getManufacturer = function() {
|
|
11102
11114
|
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 7, ""));
|
|
11103
11115
|
};
|
|
11104
11116
|
|
|
11105
11117
|
|
|
11106
11118
|
/** @param {string} value */
|
|
11107
|
-
proto.sniipuserservice.DeviceDetails.prototype.
|
|
11119
|
+
proto.sniipuserservice.DeviceDetails.prototype.setManufacturer = function(value) {
|
|
11108
11120
|
jspb.Message.setField(this, 7, value);
|
|
11109
11121
|
};
|
|
11110
11122
|
|
|
11111
11123
|
|
|
11112
11124
|
/**
|
|
11113
|
-
* optional string
|
|
11125
|
+
* optional string model = 8;
|
|
11114
11126
|
* @return {string}
|
|
11115
11127
|
*/
|
|
11116
|
-
proto.sniipuserservice.DeviceDetails.prototype.
|
|
11128
|
+
proto.sniipuserservice.DeviceDetails.prototype.getModel = function() {
|
|
11117
11129
|
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 8, ""));
|
|
11118
11130
|
};
|
|
11119
11131
|
|
|
11120
11132
|
|
|
11121
11133
|
/** @param {string} value */
|
|
11122
|
-
proto.sniipuserservice.DeviceDetails.prototype.
|
|
11134
|
+
proto.sniipuserservice.DeviceDetails.prototype.setModel = function(value) {
|
|
11123
11135
|
jspb.Message.setField(this, 8, value);
|
|
11124
11136
|
};
|
|
11125
11137
|
|
|
11126
11138
|
|
|
11127
11139
|
/**
|
|
11128
|
-
* optional string
|
|
11140
|
+
* optional string osVersion = 9;
|
|
11129
11141
|
* @return {string}
|
|
11130
11142
|
*/
|
|
11131
|
-
proto.sniipuserservice.DeviceDetails.prototype.
|
|
11143
|
+
proto.sniipuserservice.DeviceDetails.prototype.getOsversion = function() {
|
|
11132
11144
|
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 9, ""));
|
|
11133
11145
|
};
|
|
11134
11146
|
|
|
11135
11147
|
|
|
11136
11148
|
/** @param {string} value */
|
|
11137
|
-
proto.sniipuserservice.DeviceDetails.prototype.
|
|
11149
|
+
proto.sniipuserservice.DeviceDetails.prototype.setOsversion = function(value) {
|
|
11138
11150
|
jspb.Message.setField(this, 9, value);
|
|
11139
11151
|
};
|
|
11140
11152
|
|
|
11141
11153
|
|
|
11154
|
+
/**
|
|
11155
|
+
* optional string updatedAt = 10;
|
|
11156
|
+
* @return {string}
|
|
11157
|
+
*/
|
|
11158
|
+
proto.sniipuserservice.DeviceDetails.prototype.getUpdatedat = function() {
|
|
11159
|
+
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 10, ""));
|
|
11160
|
+
};
|
|
11161
|
+
|
|
11162
|
+
|
|
11163
|
+
/** @param {string} value */
|
|
11164
|
+
proto.sniipuserservice.DeviceDetails.prototype.setUpdatedat = function(value) {
|
|
11165
|
+
jspb.Message.setField(this, 10, value);
|
|
11166
|
+
};
|
|
11167
|
+
|
|
11168
|
+
|
|
11142
11169
|
|
|
11143
11170
|
/**
|
|
11144
11171
|
* Generated by JsPbCodeGenerator.
|