@aceplus/smartace-api 1.3.0-alpha.126 → 1.3.0-alpha.127
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/auth.app_authn_pb.d.ts +7 -0
- package/auth.app_authn_pb.js +58 -5
- package/package.json +1 -1
package/auth.app_authn_pb.d.ts
CHANGED
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
import * as jspb from "google-protobuf";
|
|
5
5
|
import * as google_protobuf_duration_pb from "google-protobuf/google/protobuf/duration_pb";
|
|
6
|
+
import * as google_protobuf_timestamp_pb from "google-protobuf/google/protobuf/timestamp_pb";
|
|
6
7
|
import * as google_api_annotations_pb from "./google/api/annotations_pb";
|
|
7
8
|
import * as google_protobuf_empty_pb from "google-protobuf/google/protobuf/empty_pb";
|
|
8
9
|
|
|
@@ -132,6 +133,11 @@ export namespace AppAuthnProto {
|
|
|
132
133
|
getUid(): string;
|
|
133
134
|
setUid(value: string): void;
|
|
134
135
|
|
|
136
|
+
hasTimestamp(): boolean;
|
|
137
|
+
clearTimestamp(): void;
|
|
138
|
+
getTimestamp(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
|
139
|
+
setTimestamp(value?: google_protobuf_timestamp_pb.Timestamp): void;
|
|
140
|
+
|
|
135
141
|
getAppType(): AppAuthnProto.AppTypeMap[keyof AppAuthnProto.AppTypeMap];
|
|
136
142
|
setAppType(value: AppAuthnProto.AppTypeMap[keyof AppAuthnProto.AppTypeMap]): void;
|
|
137
143
|
|
|
@@ -151,6 +157,7 @@ export namespace AppAuthnProto {
|
|
|
151
157
|
secret: string,
|
|
152
158
|
pushToken: string,
|
|
153
159
|
uid: string,
|
|
160
|
+
timestamp?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
154
161
|
appType: AppAuthnProto.AppTypeMap[keyof AppAuthnProto.AppTypeMap],
|
|
155
162
|
}
|
|
156
163
|
}
|
package/auth.app_authn_pb.js
CHANGED
|
@@ -23,6 +23,8 @@ var global =
|
|
|
23
23
|
|
|
24
24
|
var google_protobuf_duration_pb = require('google-protobuf/google/protobuf/duration_pb.js');
|
|
25
25
|
goog.object.extend(proto, google_protobuf_duration_pb);
|
|
26
|
+
var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js');
|
|
27
|
+
goog.object.extend(proto, google_protobuf_timestamp_pb);
|
|
26
28
|
var google_api_annotations_pb = require('./google/api/annotations_pb.js');
|
|
27
29
|
goog.object.extend(proto, google_api_annotations_pb);
|
|
28
30
|
var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb.js');
|
|
@@ -890,7 +892,8 @@ proto.Auth.AppAuthnProto.VerifySecretRequest.toObject = function(includeInstance
|
|
|
890
892
|
secret: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
891
893
|
pushToken: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
892
894
|
uid: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
893
|
-
|
|
895
|
+
timestamp: (f = msg.getTimestamp()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
896
|
+
appType: jspb.Message.getFieldWithDefault(msg, 6, 0)
|
|
894
897
|
};
|
|
895
898
|
|
|
896
899
|
if (includeInstance) {
|
|
@@ -944,6 +947,11 @@ proto.Auth.AppAuthnProto.VerifySecretRequest.deserializeBinaryFromReader = funct
|
|
|
944
947
|
msg.setUid(value);
|
|
945
948
|
break;
|
|
946
949
|
case 5:
|
|
950
|
+
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
951
|
+
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
952
|
+
msg.setTimestamp(value);
|
|
953
|
+
break;
|
|
954
|
+
case 6:
|
|
947
955
|
var value = /** @type {!proto.Auth.AppAuthnProto.AppType} */ (reader.readEnum());
|
|
948
956
|
msg.setAppType(value);
|
|
949
957
|
break;
|
|
@@ -1004,10 +1012,18 @@ proto.Auth.AppAuthnProto.VerifySecretRequest.serializeBinaryToWriter = function(
|
|
|
1004
1012
|
f
|
|
1005
1013
|
);
|
|
1006
1014
|
}
|
|
1015
|
+
f = message.getTimestamp();
|
|
1016
|
+
if (f != null) {
|
|
1017
|
+
writer.writeMessage(
|
|
1018
|
+
5,
|
|
1019
|
+
f,
|
|
1020
|
+
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
1021
|
+
);
|
|
1022
|
+
}
|
|
1007
1023
|
f = message.getAppType();
|
|
1008
1024
|
if (f !== 0.0) {
|
|
1009
1025
|
writer.writeEnum(
|
|
1010
|
-
|
|
1026
|
+
6,
|
|
1011
1027
|
f
|
|
1012
1028
|
);
|
|
1013
1029
|
}
|
|
@@ -1087,11 +1103,48 @@ proto.Auth.AppAuthnProto.VerifySecretRequest.prototype.setUid = function(value)
|
|
|
1087
1103
|
|
|
1088
1104
|
|
|
1089
1105
|
/**
|
|
1090
|
-
* optional
|
|
1106
|
+
* optional google.protobuf.Timestamp timestamp = 5;
|
|
1107
|
+
* @return {?proto.google.protobuf.Timestamp}
|
|
1108
|
+
*/
|
|
1109
|
+
proto.Auth.AppAuthnProto.VerifySecretRequest.prototype.getTimestamp = function() {
|
|
1110
|
+
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
|
1111
|
+
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 5));
|
|
1112
|
+
};
|
|
1113
|
+
|
|
1114
|
+
|
|
1115
|
+
/**
|
|
1116
|
+
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
1117
|
+
* @return {!proto.Auth.AppAuthnProto.VerifySecretRequest} returns this
|
|
1118
|
+
*/
|
|
1119
|
+
proto.Auth.AppAuthnProto.VerifySecretRequest.prototype.setTimestamp = function(value) {
|
|
1120
|
+
return jspb.Message.setWrapperField(this, 5, value);
|
|
1121
|
+
};
|
|
1122
|
+
|
|
1123
|
+
|
|
1124
|
+
/**
|
|
1125
|
+
* Clears the message field making it undefined.
|
|
1126
|
+
* @return {!proto.Auth.AppAuthnProto.VerifySecretRequest} returns this
|
|
1127
|
+
*/
|
|
1128
|
+
proto.Auth.AppAuthnProto.VerifySecretRequest.prototype.clearTimestamp = function() {
|
|
1129
|
+
return this.setTimestamp(undefined);
|
|
1130
|
+
};
|
|
1131
|
+
|
|
1132
|
+
|
|
1133
|
+
/**
|
|
1134
|
+
* Returns whether this field is set.
|
|
1135
|
+
* @return {boolean}
|
|
1136
|
+
*/
|
|
1137
|
+
proto.Auth.AppAuthnProto.VerifySecretRequest.prototype.hasTimestamp = function() {
|
|
1138
|
+
return jspb.Message.getField(this, 5) != null;
|
|
1139
|
+
};
|
|
1140
|
+
|
|
1141
|
+
|
|
1142
|
+
/**
|
|
1143
|
+
* optional AppType app_type = 6;
|
|
1091
1144
|
* @return {!proto.Auth.AppAuthnProto.AppType}
|
|
1092
1145
|
*/
|
|
1093
1146
|
proto.Auth.AppAuthnProto.VerifySecretRequest.prototype.getAppType = function() {
|
|
1094
|
-
return /** @type {!proto.Auth.AppAuthnProto.AppType} */ (jspb.Message.getFieldWithDefault(this,
|
|
1147
|
+
return /** @type {!proto.Auth.AppAuthnProto.AppType} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
|
|
1095
1148
|
};
|
|
1096
1149
|
|
|
1097
1150
|
|
|
@@ -1100,7 +1153,7 @@ proto.Auth.AppAuthnProto.VerifySecretRequest.prototype.getAppType = function() {
|
|
|
1100
1153
|
* @return {!proto.Auth.AppAuthnProto.VerifySecretRequest} returns this
|
|
1101
1154
|
*/
|
|
1102
1155
|
proto.Auth.AppAuthnProto.VerifySecretRequest.prototype.setAppType = function(value) {
|
|
1103
|
-
return jspb.Message.setProto3EnumField(this,
|
|
1156
|
+
return jspb.Message.setProto3EnumField(this, 6, value);
|
|
1104
1157
|
};
|
|
1105
1158
|
|
|
1106
1159
|
|