@fonoster/sdk 0.7.22 → 0.7.25
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/dist/node/client/AbstractClient.d.ts +10 -1
- package/dist/node/client/AbstractClient.js +38 -20
- package/dist/node/client/types/IdentityClient.d.ts +4 -1
- package/dist/node/generated/node/identity_grpc_pb.js +62 -18
- package/dist/node/generated/node/identity_pb.js +705 -204
- package/dist/node/generated/web/IdentityServiceClientPb.ts +105 -19
- package/dist/node/generated/web/identity_pb.d.ts +111 -43
- package/dist/node/generated/web/identity_pb.js +705 -204
- package/dist/node/tsconfig.node.tsbuildinfo +1 -1
- package/dist/web/fonoster.min.js +1 -1
- package/dist/web/index.esm.js +1 -1
- package/package.json +4 -4
|
@@ -18,6 +18,7 @@ var global = (function() { return this || window || global || self || Function('
|
|
|
18
18
|
var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb.js');
|
|
19
19
|
goog.object.extend(proto, google_protobuf_empty_pb);
|
|
20
20
|
goog.exportSymbol('proto.fonoster.identity.v1beta2.ApiKey', null, global);
|
|
21
|
+
goog.exportSymbol('proto.fonoster.identity.v1beta2.ContactType', null, global);
|
|
21
22
|
goog.exportSymbol('proto.fonoster.identity.v1beta2.CreateApiKeyRequest', null, global);
|
|
22
23
|
goog.exportSymbol('proto.fonoster.identity.v1beta2.CreateApiKeyResponse', null, global);
|
|
23
24
|
goog.exportSymbol('proto.fonoster.identity.v1beta2.CreateUserRequest', null, global);
|
|
@@ -34,8 +35,9 @@ goog.exportSymbol('proto.fonoster.identity.v1beta2.ExchangeApiKeyRequest', null,
|
|
|
34
35
|
goog.exportSymbol('proto.fonoster.identity.v1beta2.ExchangeApiKeyResponse', null, global);
|
|
35
36
|
goog.exportSymbol('proto.fonoster.identity.v1beta2.ExchangeCredentialsRequest', null, global);
|
|
36
37
|
goog.exportSymbol('proto.fonoster.identity.v1beta2.ExchangeCredentialsResponse', null, global);
|
|
37
|
-
goog.exportSymbol('proto.fonoster.identity.v1beta2.
|
|
38
|
-
goog.exportSymbol('proto.fonoster.identity.v1beta2.
|
|
38
|
+
goog.exportSymbol('proto.fonoster.identity.v1beta2.ExchangeOauth2CodeRequest', null, global);
|
|
39
|
+
goog.exportSymbol('proto.fonoster.identity.v1beta2.ExchangeOauth2CodeRequest.Oauth2Provider', null, global);
|
|
40
|
+
goog.exportSymbol('proto.fonoster.identity.v1beta2.ExchangeOauth2CodeResponse', null, global);
|
|
39
41
|
goog.exportSymbol('proto.fonoster.identity.v1beta2.ExchangeRefreshTokenRequest', null, global);
|
|
40
42
|
goog.exportSymbol('proto.fonoster.identity.v1beta2.ExchangeRefreshTokenResponse', null, global);
|
|
41
43
|
goog.exportSymbol('proto.fonoster.identity.v1beta2.GetPublicKeyResponse', null, global);
|
|
@@ -55,12 +57,35 @@ goog.exportSymbol('proto.fonoster.identity.v1beta2.ResendWorkspaceMembershipInvi
|
|
|
55
57
|
goog.exportSymbol('proto.fonoster.identity.v1beta2.ResendWorkspaceMembershipInvitationResponse', null, global);
|
|
56
58
|
goog.exportSymbol('proto.fonoster.identity.v1beta2.RevokeTokenRequest', null, global);
|
|
57
59
|
goog.exportSymbol('proto.fonoster.identity.v1beta2.RevokeTokenResponse', null, global);
|
|
60
|
+
goog.exportSymbol('proto.fonoster.identity.v1beta2.SendVerificationCodeRequest', null, global);
|
|
58
61
|
goog.exportSymbol('proto.fonoster.identity.v1beta2.UpdateUserRequest', null, global);
|
|
59
62
|
goog.exportSymbol('proto.fonoster.identity.v1beta2.UpdateUserResponse', null, global);
|
|
60
63
|
goog.exportSymbol('proto.fonoster.identity.v1beta2.UpdateWorkspaceRequest', null, global);
|
|
61
64
|
goog.exportSymbol('proto.fonoster.identity.v1beta2.UpdateWorkspaceResponse', null, global);
|
|
62
65
|
goog.exportSymbol('proto.fonoster.identity.v1beta2.User', null, global);
|
|
66
|
+
goog.exportSymbol('proto.fonoster.identity.v1beta2.VerifyCodeRequest', null, global);
|
|
63
67
|
goog.exportSymbol('proto.fonoster.identity.v1beta2.Workspace', null, global);
|
|
68
|
+
/**
|
|
69
|
+
* Generated by JsPbCodeGenerator.
|
|
70
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
71
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
72
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
73
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
74
|
+
* valid.
|
|
75
|
+
* @extends {jspb.Message}
|
|
76
|
+
* @constructor
|
|
77
|
+
*/
|
|
78
|
+
proto.fonoster.identity.v1beta2.Workspace = function(opt_data) {
|
|
79
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
80
|
+
};
|
|
81
|
+
goog.inherits(proto.fonoster.identity.v1beta2.Workspace, jspb.Message);
|
|
82
|
+
if (goog.DEBUG && !COMPILED) {
|
|
83
|
+
/**
|
|
84
|
+
* @public
|
|
85
|
+
* @override
|
|
86
|
+
*/
|
|
87
|
+
proto.fonoster.identity.v1beta2.Workspace.displayName = 'proto.fonoster.identity.v1beta2.Workspace';
|
|
88
|
+
}
|
|
64
89
|
/**
|
|
65
90
|
* Generated by JsPbCodeGenerator.
|
|
66
91
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -554,16 +579,37 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
554
579
|
* @extends {jspb.Message}
|
|
555
580
|
* @constructor
|
|
556
581
|
*/
|
|
557
|
-
proto.fonoster.identity.v1beta2.
|
|
582
|
+
proto.fonoster.identity.v1beta2.SendVerificationCodeRequest = function(opt_data) {
|
|
558
583
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
559
584
|
};
|
|
560
|
-
goog.inherits(proto.fonoster.identity.v1beta2.
|
|
585
|
+
goog.inherits(proto.fonoster.identity.v1beta2.SendVerificationCodeRequest, jspb.Message);
|
|
561
586
|
if (goog.DEBUG && !COMPILED) {
|
|
562
587
|
/**
|
|
563
588
|
* @public
|
|
564
589
|
* @override
|
|
565
590
|
*/
|
|
566
|
-
proto.fonoster.identity.v1beta2.
|
|
591
|
+
proto.fonoster.identity.v1beta2.SendVerificationCodeRequest.displayName = 'proto.fonoster.identity.v1beta2.SendVerificationCodeRequest';
|
|
592
|
+
}
|
|
593
|
+
/**
|
|
594
|
+
* Generated by JsPbCodeGenerator.
|
|
595
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
596
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
597
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
598
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
599
|
+
* valid.
|
|
600
|
+
* @extends {jspb.Message}
|
|
601
|
+
* @constructor
|
|
602
|
+
*/
|
|
603
|
+
proto.fonoster.identity.v1beta2.VerifyCodeRequest = function(opt_data) {
|
|
604
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
605
|
+
};
|
|
606
|
+
goog.inherits(proto.fonoster.identity.v1beta2.VerifyCodeRequest, jspb.Message);
|
|
607
|
+
if (goog.DEBUG && !COMPILED) {
|
|
608
|
+
/**
|
|
609
|
+
* @public
|
|
610
|
+
* @override
|
|
611
|
+
*/
|
|
612
|
+
proto.fonoster.identity.v1beta2.VerifyCodeRequest.displayName = 'proto.fonoster.identity.v1beta2.VerifyCodeRequest';
|
|
567
613
|
}
|
|
568
614
|
/**
|
|
569
615
|
* Generated by JsPbCodeGenerator.
|
|
@@ -848,16 +894,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
848
894
|
* @extends {jspb.Message}
|
|
849
895
|
* @constructor
|
|
850
896
|
*/
|
|
851
|
-
proto.fonoster.identity.v1beta2.
|
|
897
|
+
proto.fonoster.identity.v1beta2.ExchangeOauth2CodeRequest = function(opt_data) {
|
|
852
898
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
853
899
|
};
|
|
854
|
-
goog.inherits(proto.fonoster.identity.v1beta2.
|
|
900
|
+
goog.inherits(proto.fonoster.identity.v1beta2.ExchangeOauth2CodeRequest, jspb.Message);
|
|
855
901
|
if (goog.DEBUG && !COMPILED) {
|
|
856
902
|
/**
|
|
857
903
|
* @public
|
|
858
904
|
* @override
|
|
859
905
|
*/
|
|
860
|
-
proto.fonoster.identity.v1beta2.
|
|
906
|
+
proto.fonoster.identity.v1beta2.ExchangeOauth2CodeRequest.displayName = 'proto.fonoster.identity.v1beta2.ExchangeOauth2CodeRequest';
|
|
861
907
|
}
|
|
862
908
|
/**
|
|
863
909
|
* Generated by JsPbCodeGenerator.
|
|
@@ -869,16 +915,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
869
915
|
* @extends {jspb.Message}
|
|
870
916
|
* @constructor
|
|
871
917
|
*/
|
|
872
|
-
proto.fonoster.identity.v1beta2.
|
|
918
|
+
proto.fonoster.identity.v1beta2.ExchangeOauth2CodeResponse = function(opt_data) {
|
|
873
919
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
874
920
|
};
|
|
875
|
-
goog.inherits(proto.fonoster.identity.v1beta2.
|
|
921
|
+
goog.inherits(proto.fonoster.identity.v1beta2.ExchangeOauth2CodeResponse, jspb.Message);
|
|
876
922
|
if (goog.DEBUG && !COMPILED) {
|
|
877
923
|
/**
|
|
878
924
|
* @public
|
|
879
925
|
* @override
|
|
880
926
|
*/
|
|
881
|
-
proto.fonoster.identity.v1beta2.
|
|
927
|
+
proto.fonoster.identity.v1beta2.ExchangeOauth2CodeResponse.displayName = 'proto.fonoster.identity.v1beta2.ExchangeOauth2CodeResponse';
|
|
882
928
|
}
|
|
883
929
|
/**
|
|
884
930
|
* Generated by JsPbCodeGenerator.
|
|
@@ -988,6 +1034,256 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
988
1034
|
|
|
989
1035
|
|
|
990
1036
|
|
|
1037
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1038
|
+
/**
|
|
1039
|
+
* Creates an object representation of this proto.
|
|
1040
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
1041
|
+
* Optional fields that are not set will be set to undefined.
|
|
1042
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1043
|
+
* For the list of reserved names please see:
|
|
1044
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
1045
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
1046
|
+
* JSPB instance for transitional soy proto support:
|
|
1047
|
+
* http://goto/soy-param-migration
|
|
1048
|
+
* @return {!Object}
|
|
1049
|
+
*/
|
|
1050
|
+
proto.fonoster.identity.v1beta2.Workspace.prototype.toObject = function(opt_includeInstance) {
|
|
1051
|
+
return proto.fonoster.identity.v1beta2.Workspace.toObject(opt_includeInstance, this);
|
|
1052
|
+
};
|
|
1053
|
+
|
|
1054
|
+
|
|
1055
|
+
/**
|
|
1056
|
+
* Static version of the {@see toObject} method.
|
|
1057
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1058
|
+
* the JSPB instance for transitional soy proto support:
|
|
1059
|
+
* http://goto/soy-param-migration
|
|
1060
|
+
* @param {!proto.fonoster.identity.v1beta2.Workspace} msg The msg instance to transform.
|
|
1061
|
+
* @return {!Object}
|
|
1062
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1063
|
+
*/
|
|
1064
|
+
proto.fonoster.identity.v1beta2.Workspace.toObject = function(includeInstance, msg) {
|
|
1065
|
+
var f, obj = {
|
|
1066
|
+
ref: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
1067
|
+
name: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
1068
|
+
ownerRef: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
1069
|
+
createdAt: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
1070
|
+
updatedAt: jspb.Message.getFieldWithDefault(msg, 5, 0)
|
|
1071
|
+
};
|
|
1072
|
+
|
|
1073
|
+
if (includeInstance) {
|
|
1074
|
+
obj.$jspbMessageInstance = msg;
|
|
1075
|
+
}
|
|
1076
|
+
return obj;
|
|
1077
|
+
};
|
|
1078
|
+
}
|
|
1079
|
+
|
|
1080
|
+
|
|
1081
|
+
/**
|
|
1082
|
+
* Deserializes binary data (in protobuf wire format).
|
|
1083
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1084
|
+
* @return {!proto.fonoster.identity.v1beta2.Workspace}
|
|
1085
|
+
*/
|
|
1086
|
+
proto.fonoster.identity.v1beta2.Workspace.deserializeBinary = function(bytes) {
|
|
1087
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
1088
|
+
var msg = new proto.fonoster.identity.v1beta2.Workspace;
|
|
1089
|
+
return proto.fonoster.identity.v1beta2.Workspace.deserializeBinaryFromReader(msg, reader);
|
|
1090
|
+
};
|
|
1091
|
+
|
|
1092
|
+
|
|
1093
|
+
/**
|
|
1094
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
1095
|
+
* given reader into the given message object.
|
|
1096
|
+
* @param {!proto.fonoster.identity.v1beta2.Workspace} msg The message object to deserialize into.
|
|
1097
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1098
|
+
* @return {!proto.fonoster.identity.v1beta2.Workspace}
|
|
1099
|
+
*/
|
|
1100
|
+
proto.fonoster.identity.v1beta2.Workspace.deserializeBinaryFromReader = function(msg, reader) {
|
|
1101
|
+
while (reader.nextField()) {
|
|
1102
|
+
if (reader.isEndGroup()) {
|
|
1103
|
+
break;
|
|
1104
|
+
}
|
|
1105
|
+
var field = reader.getFieldNumber();
|
|
1106
|
+
switch (field) {
|
|
1107
|
+
case 1:
|
|
1108
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1109
|
+
msg.setRef(value);
|
|
1110
|
+
break;
|
|
1111
|
+
case 2:
|
|
1112
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1113
|
+
msg.setName(value);
|
|
1114
|
+
break;
|
|
1115
|
+
case 3:
|
|
1116
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1117
|
+
msg.setOwnerRef(value);
|
|
1118
|
+
break;
|
|
1119
|
+
case 4:
|
|
1120
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
1121
|
+
msg.setCreatedAt(value);
|
|
1122
|
+
break;
|
|
1123
|
+
case 5:
|
|
1124
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
1125
|
+
msg.setUpdatedAt(value);
|
|
1126
|
+
break;
|
|
1127
|
+
default:
|
|
1128
|
+
reader.skipField();
|
|
1129
|
+
break;
|
|
1130
|
+
}
|
|
1131
|
+
}
|
|
1132
|
+
return msg;
|
|
1133
|
+
};
|
|
1134
|
+
|
|
1135
|
+
|
|
1136
|
+
/**
|
|
1137
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
1138
|
+
* @return {!Uint8Array}
|
|
1139
|
+
*/
|
|
1140
|
+
proto.fonoster.identity.v1beta2.Workspace.prototype.serializeBinary = function() {
|
|
1141
|
+
var writer = new jspb.BinaryWriter();
|
|
1142
|
+
proto.fonoster.identity.v1beta2.Workspace.serializeBinaryToWriter(this, writer);
|
|
1143
|
+
return writer.getResultBuffer();
|
|
1144
|
+
};
|
|
1145
|
+
|
|
1146
|
+
|
|
1147
|
+
/**
|
|
1148
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
1149
|
+
* format), writing to the given BinaryWriter.
|
|
1150
|
+
* @param {!proto.fonoster.identity.v1beta2.Workspace} message
|
|
1151
|
+
* @param {!jspb.BinaryWriter} writer
|
|
1152
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1153
|
+
*/
|
|
1154
|
+
proto.fonoster.identity.v1beta2.Workspace.serializeBinaryToWriter = function(message, writer) {
|
|
1155
|
+
var f = undefined;
|
|
1156
|
+
f = message.getRef();
|
|
1157
|
+
if (f.length > 0) {
|
|
1158
|
+
writer.writeString(
|
|
1159
|
+
1,
|
|
1160
|
+
f
|
|
1161
|
+
);
|
|
1162
|
+
}
|
|
1163
|
+
f = message.getName();
|
|
1164
|
+
if (f.length > 0) {
|
|
1165
|
+
writer.writeString(
|
|
1166
|
+
2,
|
|
1167
|
+
f
|
|
1168
|
+
);
|
|
1169
|
+
}
|
|
1170
|
+
f = message.getOwnerRef();
|
|
1171
|
+
if (f.length > 0) {
|
|
1172
|
+
writer.writeString(
|
|
1173
|
+
3,
|
|
1174
|
+
f
|
|
1175
|
+
);
|
|
1176
|
+
}
|
|
1177
|
+
f = message.getCreatedAt();
|
|
1178
|
+
if (f !== 0) {
|
|
1179
|
+
writer.writeInt32(
|
|
1180
|
+
4,
|
|
1181
|
+
f
|
|
1182
|
+
);
|
|
1183
|
+
}
|
|
1184
|
+
f = message.getUpdatedAt();
|
|
1185
|
+
if (f !== 0) {
|
|
1186
|
+
writer.writeInt32(
|
|
1187
|
+
5,
|
|
1188
|
+
f
|
|
1189
|
+
);
|
|
1190
|
+
}
|
|
1191
|
+
};
|
|
1192
|
+
|
|
1193
|
+
|
|
1194
|
+
/**
|
|
1195
|
+
* optional string ref = 1;
|
|
1196
|
+
* @return {string}
|
|
1197
|
+
*/
|
|
1198
|
+
proto.fonoster.identity.v1beta2.Workspace.prototype.getRef = function() {
|
|
1199
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
1200
|
+
};
|
|
1201
|
+
|
|
1202
|
+
|
|
1203
|
+
/**
|
|
1204
|
+
* @param {string} value
|
|
1205
|
+
* @return {!proto.fonoster.identity.v1beta2.Workspace} returns this
|
|
1206
|
+
*/
|
|
1207
|
+
proto.fonoster.identity.v1beta2.Workspace.prototype.setRef = function(value) {
|
|
1208
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
1209
|
+
};
|
|
1210
|
+
|
|
1211
|
+
|
|
1212
|
+
/**
|
|
1213
|
+
* optional string name = 2;
|
|
1214
|
+
* @return {string}
|
|
1215
|
+
*/
|
|
1216
|
+
proto.fonoster.identity.v1beta2.Workspace.prototype.getName = function() {
|
|
1217
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
1218
|
+
};
|
|
1219
|
+
|
|
1220
|
+
|
|
1221
|
+
/**
|
|
1222
|
+
* @param {string} value
|
|
1223
|
+
* @return {!proto.fonoster.identity.v1beta2.Workspace} returns this
|
|
1224
|
+
*/
|
|
1225
|
+
proto.fonoster.identity.v1beta2.Workspace.prototype.setName = function(value) {
|
|
1226
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
1227
|
+
};
|
|
1228
|
+
|
|
1229
|
+
|
|
1230
|
+
/**
|
|
1231
|
+
* optional string owner_ref = 3;
|
|
1232
|
+
* @return {string}
|
|
1233
|
+
*/
|
|
1234
|
+
proto.fonoster.identity.v1beta2.Workspace.prototype.getOwnerRef = function() {
|
|
1235
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
1236
|
+
};
|
|
1237
|
+
|
|
1238
|
+
|
|
1239
|
+
/**
|
|
1240
|
+
* @param {string} value
|
|
1241
|
+
* @return {!proto.fonoster.identity.v1beta2.Workspace} returns this
|
|
1242
|
+
*/
|
|
1243
|
+
proto.fonoster.identity.v1beta2.Workspace.prototype.setOwnerRef = function(value) {
|
|
1244
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
1245
|
+
};
|
|
1246
|
+
|
|
1247
|
+
|
|
1248
|
+
/**
|
|
1249
|
+
* optional int32 created_at = 4;
|
|
1250
|
+
* @return {number}
|
|
1251
|
+
*/
|
|
1252
|
+
proto.fonoster.identity.v1beta2.Workspace.prototype.getCreatedAt = function() {
|
|
1253
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
1254
|
+
};
|
|
1255
|
+
|
|
1256
|
+
|
|
1257
|
+
/**
|
|
1258
|
+
* @param {number} value
|
|
1259
|
+
* @return {!proto.fonoster.identity.v1beta2.Workspace} returns this
|
|
1260
|
+
*/
|
|
1261
|
+
proto.fonoster.identity.v1beta2.Workspace.prototype.setCreatedAt = function(value) {
|
|
1262
|
+
return jspb.Message.setProto3IntField(this, 4, value);
|
|
1263
|
+
};
|
|
1264
|
+
|
|
1265
|
+
|
|
1266
|
+
/**
|
|
1267
|
+
* optional int32 updated_at = 5;
|
|
1268
|
+
* @return {number}
|
|
1269
|
+
*/
|
|
1270
|
+
proto.fonoster.identity.v1beta2.Workspace.prototype.getUpdatedAt = function() {
|
|
1271
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
|
1272
|
+
};
|
|
1273
|
+
|
|
1274
|
+
|
|
1275
|
+
/**
|
|
1276
|
+
* @param {number} value
|
|
1277
|
+
* @return {!proto.fonoster.identity.v1beta2.Workspace} returns this
|
|
1278
|
+
*/
|
|
1279
|
+
proto.fonoster.identity.v1beta2.Workspace.prototype.setUpdatedAt = function(value) {
|
|
1280
|
+
return jspb.Message.setProto3IntField(this, 5, value);
|
|
1281
|
+
};
|
|
1282
|
+
|
|
1283
|
+
|
|
1284
|
+
|
|
1285
|
+
|
|
1286
|
+
|
|
991
1287
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
992
1288
|
/**
|
|
993
1289
|
* Creates an object representation of this proto.
|
|
@@ -4153,11 +4449,141 @@ proto.fonoster.identity.v1beta2.UpdateUserResponse.deserializeBinary = function(
|
|
|
4153
4449
|
/**
|
|
4154
4450
|
* Deserializes binary data (in protobuf wire format) from the
|
|
4155
4451
|
* given reader into the given message object.
|
|
4156
|
-
* @param {!proto.fonoster.identity.v1beta2.UpdateUserResponse} msg The message object to deserialize into.
|
|
4452
|
+
* @param {!proto.fonoster.identity.v1beta2.UpdateUserResponse} msg The message object to deserialize into.
|
|
4453
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
4454
|
+
* @return {!proto.fonoster.identity.v1beta2.UpdateUserResponse}
|
|
4455
|
+
*/
|
|
4456
|
+
proto.fonoster.identity.v1beta2.UpdateUserResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
4457
|
+
while (reader.nextField()) {
|
|
4458
|
+
if (reader.isEndGroup()) {
|
|
4459
|
+
break;
|
|
4460
|
+
}
|
|
4461
|
+
var field = reader.getFieldNumber();
|
|
4462
|
+
switch (field) {
|
|
4463
|
+
case 1:
|
|
4464
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4465
|
+
msg.setRef(value);
|
|
4466
|
+
break;
|
|
4467
|
+
default:
|
|
4468
|
+
reader.skipField();
|
|
4469
|
+
break;
|
|
4470
|
+
}
|
|
4471
|
+
}
|
|
4472
|
+
return msg;
|
|
4473
|
+
};
|
|
4474
|
+
|
|
4475
|
+
|
|
4476
|
+
/**
|
|
4477
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
4478
|
+
* @return {!Uint8Array}
|
|
4479
|
+
*/
|
|
4480
|
+
proto.fonoster.identity.v1beta2.UpdateUserResponse.prototype.serializeBinary = function() {
|
|
4481
|
+
var writer = new jspb.BinaryWriter();
|
|
4482
|
+
proto.fonoster.identity.v1beta2.UpdateUserResponse.serializeBinaryToWriter(this, writer);
|
|
4483
|
+
return writer.getResultBuffer();
|
|
4484
|
+
};
|
|
4485
|
+
|
|
4486
|
+
|
|
4487
|
+
/**
|
|
4488
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
4489
|
+
* format), writing to the given BinaryWriter.
|
|
4490
|
+
* @param {!proto.fonoster.identity.v1beta2.UpdateUserResponse} message
|
|
4491
|
+
* @param {!jspb.BinaryWriter} writer
|
|
4492
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4493
|
+
*/
|
|
4494
|
+
proto.fonoster.identity.v1beta2.UpdateUserResponse.serializeBinaryToWriter = function(message, writer) {
|
|
4495
|
+
var f = undefined;
|
|
4496
|
+
f = message.getRef();
|
|
4497
|
+
if (f.length > 0) {
|
|
4498
|
+
writer.writeString(
|
|
4499
|
+
1,
|
|
4500
|
+
f
|
|
4501
|
+
);
|
|
4502
|
+
}
|
|
4503
|
+
};
|
|
4504
|
+
|
|
4505
|
+
|
|
4506
|
+
/**
|
|
4507
|
+
* optional string ref = 1;
|
|
4508
|
+
* @return {string}
|
|
4509
|
+
*/
|
|
4510
|
+
proto.fonoster.identity.v1beta2.UpdateUserResponse.prototype.getRef = function() {
|
|
4511
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
4512
|
+
};
|
|
4513
|
+
|
|
4514
|
+
|
|
4515
|
+
/**
|
|
4516
|
+
* @param {string} value
|
|
4517
|
+
* @return {!proto.fonoster.identity.v1beta2.UpdateUserResponse} returns this
|
|
4518
|
+
*/
|
|
4519
|
+
proto.fonoster.identity.v1beta2.UpdateUserResponse.prototype.setRef = function(value) {
|
|
4520
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
4521
|
+
};
|
|
4522
|
+
|
|
4523
|
+
|
|
4524
|
+
|
|
4525
|
+
|
|
4526
|
+
|
|
4527
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
4528
|
+
/**
|
|
4529
|
+
* Creates an object representation of this proto.
|
|
4530
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
4531
|
+
* Optional fields that are not set will be set to undefined.
|
|
4532
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
4533
|
+
* For the list of reserved names please see:
|
|
4534
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
4535
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
4536
|
+
* JSPB instance for transitional soy proto support:
|
|
4537
|
+
* http://goto/soy-param-migration
|
|
4538
|
+
* @return {!Object}
|
|
4539
|
+
*/
|
|
4540
|
+
proto.fonoster.identity.v1beta2.DeleteUserRequest.prototype.toObject = function(opt_includeInstance) {
|
|
4541
|
+
return proto.fonoster.identity.v1beta2.DeleteUserRequest.toObject(opt_includeInstance, this);
|
|
4542
|
+
};
|
|
4543
|
+
|
|
4544
|
+
|
|
4545
|
+
/**
|
|
4546
|
+
* Static version of the {@see toObject} method.
|
|
4547
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
4548
|
+
* the JSPB instance for transitional soy proto support:
|
|
4549
|
+
* http://goto/soy-param-migration
|
|
4550
|
+
* @param {!proto.fonoster.identity.v1beta2.DeleteUserRequest} msg The msg instance to transform.
|
|
4551
|
+
* @return {!Object}
|
|
4552
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4553
|
+
*/
|
|
4554
|
+
proto.fonoster.identity.v1beta2.DeleteUserRequest.toObject = function(includeInstance, msg) {
|
|
4555
|
+
var f, obj = {
|
|
4556
|
+
ref: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
4557
|
+
};
|
|
4558
|
+
|
|
4559
|
+
if (includeInstance) {
|
|
4560
|
+
obj.$jspbMessageInstance = msg;
|
|
4561
|
+
}
|
|
4562
|
+
return obj;
|
|
4563
|
+
};
|
|
4564
|
+
}
|
|
4565
|
+
|
|
4566
|
+
|
|
4567
|
+
/**
|
|
4568
|
+
* Deserializes binary data (in protobuf wire format).
|
|
4569
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
4570
|
+
* @return {!proto.fonoster.identity.v1beta2.DeleteUserRequest}
|
|
4571
|
+
*/
|
|
4572
|
+
proto.fonoster.identity.v1beta2.DeleteUserRequest.deserializeBinary = function(bytes) {
|
|
4573
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
4574
|
+
var msg = new proto.fonoster.identity.v1beta2.DeleteUserRequest;
|
|
4575
|
+
return proto.fonoster.identity.v1beta2.DeleteUserRequest.deserializeBinaryFromReader(msg, reader);
|
|
4576
|
+
};
|
|
4577
|
+
|
|
4578
|
+
|
|
4579
|
+
/**
|
|
4580
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
4581
|
+
* given reader into the given message object.
|
|
4582
|
+
* @param {!proto.fonoster.identity.v1beta2.DeleteUserRequest} msg The message object to deserialize into.
|
|
4157
4583
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
4158
|
-
* @return {!proto.fonoster.identity.v1beta2.
|
|
4584
|
+
* @return {!proto.fonoster.identity.v1beta2.DeleteUserRequest}
|
|
4159
4585
|
*/
|
|
4160
|
-
proto.fonoster.identity.v1beta2.
|
|
4586
|
+
proto.fonoster.identity.v1beta2.DeleteUserRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
4161
4587
|
while (reader.nextField()) {
|
|
4162
4588
|
if (reader.isEndGroup()) {
|
|
4163
4589
|
break;
|
|
@@ -4181,9 +4607,9 @@ proto.fonoster.identity.v1beta2.UpdateUserResponse.deserializeBinaryFromReader =
|
|
|
4181
4607
|
* Serializes the message to binary data (in protobuf wire format).
|
|
4182
4608
|
* @return {!Uint8Array}
|
|
4183
4609
|
*/
|
|
4184
|
-
proto.fonoster.identity.v1beta2.
|
|
4610
|
+
proto.fonoster.identity.v1beta2.DeleteUserRequest.prototype.serializeBinary = function() {
|
|
4185
4611
|
var writer = new jspb.BinaryWriter();
|
|
4186
|
-
proto.fonoster.identity.v1beta2.
|
|
4612
|
+
proto.fonoster.identity.v1beta2.DeleteUserRequest.serializeBinaryToWriter(this, writer);
|
|
4187
4613
|
return writer.getResultBuffer();
|
|
4188
4614
|
};
|
|
4189
4615
|
|
|
@@ -4191,11 +4617,11 @@ proto.fonoster.identity.v1beta2.UpdateUserResponse.prototype.serializeBinary = f
|
|
|
4191
4617
|
/**
|
|
4192
4618
|
* Serializes the given message to binary data (in protobuf wire
|
|
4193
4619
|
* format), writing to the given BinaryWriter.
|
|
4194
|
-
* @param {!proto.fonoster.identity.v1beta2.
|
|
4620
|
+
* @param {!proto.fonoster.identity.v1beta2.DeleteUserRequest} message
|
|
4195
4621
|
* @param {!jspb.BinaryWriter} writer
|
|
4196
4622
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4197
4623
|
*/
|
|
4198
|
-
proto.fonoster.identity.v1beta2.
|
|
4624
|
+
proto.fonoster.identity.v1beta2.DeleteUserRequest.serializeBinaryToWriter = function(message, writer) {
|
|
4199
4625
|
var f = undefined;
|
|
4200
4626
|
f = message.getRef();
|
|
4201
4627
|
if (f.length > 0) {
|
|
@@ -4211,16 +4637,16 @@ proto.fonoster.identity.v1beta2.UpdateUserResponse.serializeBinaryToWriter = fun
|
|
|
4211
4637
|
* optional string ref = 1;
|
|
4212
4638
|
* @return {string}
|
|
4213
4639
|
*/
|
|
4214
|
-
proto.fonoster.identity.v1beta2.
|
|
4640
|
+
proto.fonoster.identity.v1beta2.DeleteUserRequest.prototype.getRef = function() {
|
|
4215
4641
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
4216
4642
|
};
|
|
4217
4643
|
|
|
4218
4644
|
|
|
4219
4645
|
/**
|
|
4220
4646
|
* @param {string} value
|
|
4221
|
-
* @return {!proto.fonoster.identity.v1beta2.
|
|
4647
|
+
* @return {!proto.fonoster.identity.v1beta2.DeleteUserRequest} returns this
|
|
4222
4648
|
*/
|
|
4223
|
-
proto.fonoster.identity.v1beta2.
|
|
4649
|
+
proto.fonoster.identity.v1beta2.DeleteUserRequest.prototype.setRef = function(value) {
|
|
4224
4650
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
4225
4651
|
};
|
|
4226
4652
|
|
|
@@ -4241,8 +4667,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
4241
4667
|
* http://goto/soy-param-migration
|
|
4242
4668
|
* @return {!Object}
|
|
4243
4669
|
*/
|
|
4244
|
-
proto.fonoster.identity.v1beta2.
|
|
4245
|
-
return proto.fonoster.identity.v1beta2.
|
|
4670
|
+
proto.fonoster.identity.v1beta2.DeleteUserResponse.prototype.toObject = function(opt_includeInstance) {
|
|
4671
|
+
return proto.fonoster.identity.v1beta2.DeleteUserResponse.toObject(opt_includeInstance, this);
|
|
4246
4672
|
};
|
|
4247
4673
|
|
|
4248
4674
|
|
|
@@ -4251,11 +4677,11 @@ proto.fonoster.identity.v1beta2.DeleteUserRequest.prototype.toObject = function(
|
|
|
4251
4677
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
4252
4678
|
* the JSPB instance for transitional soy proto support:
|
|
4253
4679
|
* http://goto/soy-param-migration
|
|
4254
|
-
* @param {!proto.fonoster.identity.v1beta2.
|
|
4680
|
+
* @param {!proto.fonoster.identity.v1beta2.DeleteUserResponse} msg The msg instance to transform.
|
|
4255
4681
|
* @return {!Object}
|
|
4256
4682
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4257
4683
|
*/
|
|
4258
|
-
proto.fonoster.identity.v1beta2.
|
|
4684
|
+
proto.fonoster.identity.v1beta2.DeleteUserResponse.toObject = function(includeInstance, msg) {
|
|
4259
4685
|
var f, obj = {
|
|
4260
4686
|
ref: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
4261
4687
|
};
|
|
@@ -4271,23 +4697,23 @@ proto.fonoster.identity.v1beta2.DeleteUserRequest.toObject = function(includeIns
|
|
|
4271
4697
|
/**
|
|
4272
4698
|
* Deserializes binary data (in protobuf wire format).
|
|
4273
4699
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
4274
|
-
* @return {!proto.fonoster.identity.v1beta2.
|
|
4700
|
+
* @return {!proto.fonoster.identity.v1beta2.DeleteUserResponse}
|
|
4275
4701
|
*/
|
|
4276
|
-
proto.fonoster.identity.v1beta2.
|
|
4702
|
+
proto.fonoster.identity.v1beta2.DeleteUserResponse.deserializeBinary = function(bytes) {
|
|
4277
4703
|
var reader = new jspb.BinaryReader(bytes);
|
|
4278
|
-
var msg = new proto.fonoster.identity.v1beta2.
|
|
4279
|
-
return proto.fonoster.identity.v1beta2.
|
|
4704
|
+
var msg = new proto.fonoster.identity.v1beta2.DeleteUserResponse;
|
|
4705
|
+
return proto.fonoster.identity.v1beta2.DeleteUserResponse.deserializeBinaryFromReader(msg, reader);
|
|
4280
4706
|
};
|
|
4281
4707
|
|
|
4282
4708
|
|
|
4283
4709
|
/**
|
|
4284
4710
|
* Deserializes binary data (in protobuf wire format) from the
|
|
4285
4711
|
* given reader into the given message object.
|
|
4286
|
-
* @param {!proto.fonoster.identity.v1beta2.
|
|
4712
|
+
* @param {!proto.fonoster.identity.v1beta2.DeleteUserResponse} msg The message object to deserialize into.
|
|
4287
4713
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
4288
|
-
* @return {!proto.fonoster.identity.v1beta2.
|
|
4714
|
+
* @return {!proto.fonoster.identity.v1beta2.DeleteUserResponse}
|
|
4289
4715
|
*/
|
|
4290
|
-
proto.fonoster.identity.v1beta2.
|
|
4716
|
+
proto.fonoster.identity.v1beta2.DeleteUserResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
4291
4717
|
while (reader.nextField()) {
|
|
4292
4718
|
if (reader.isEndGroup()) {
|
|
4293
4719
|
break;
|
|
@@ -4311,9 +4737,9 @@ proto.fonoster.identity.v1beta2.DeleteUserRequest.deserializeBinaryFromReader =
|
|
|
4311
4737
|
* Serializes the message to binary data (in protobuf wire format).
|
|
4312
4738
|
* @return {!Uint8Array}
|
|
4313
4739
|
*/
|
|
4314
|
-
proto.fonoster.identity.v1beta2.
|
|
4740
|
+
proto.fonoster.identity.v1beta2.DeleteUserResponse.prototype.serializeBinary = function() {
|
|
4315
4741
|
var writer = new jspb.BinaryWriter();
|
|
4316
|
-
proto.fonoster.identity.v1beta2.
|
|
4742
|
+
proto.fonoster.identity.v1beta2.DeleteUserResponse.serializeBinaryToWriter(this, writer);
|
|
4317
4743
|
return writer.getResultBuffer();
|
|
4318
4744
|
};
|
|
4319
4745
|
|
|
@@ -4321,11 +4747,11 @@ proto.fonoster.identity.v1beta2.DeleteUserRequest.prototype.serializeBinary = fu
|
|
|
4321
4747
|
/**
|
|
4322
4748
|
* Serializes the given message to binary data (in protobuf wire
|
|
4323
4749
|
* format), writing to the given BinaryWriter.
|
|
4324
|
-
* @param {!proto.fonoster.identity.v1beta2.
|
|
4750
|
+
* @param {!proto.fonoster.identity.v1beta2.DeleteUserResponse} message
|
|
4325
4751
|
* @param {!jspb.BinaryWriter} writer
|
|
4326
4752
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4327
4753
|
*/
|
|
4328
|
-
proto.fonoster.identity.v1beta2.
|
|
4754
|
+
proto.fonoster.identity.v1beta2.DeleteUserResponse.serializeBinaryToWriter = function(message, writer) {
|
|
4329
4755
|
var f = undefined;
|
|
4330
4756
|
f = message.getRef();
|
|
4331
4757
|
if (f.length > 0) {
|
|
@@ -4341,16 +4767,16 @@ proto.fonoster.identity.v1beta2.DeleteUserRequest.serializeBinaryToWriter = func
|
|
|
4341
4767
|
* optional string ref = 1;
|
|
4342
4768
|
* @return {string}
|
|
4343
4769
|
*/
|
|
4344
|
-
proto.fonoster.identity.v1beta2.
|
|
4770
|
+
proto.fonoster.identity.v1beta2.DeleteUserResponse.prototype.getRef = function() {
|
|
4345
4771
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
4346
4772
|
};
|
|
4347
4773
|
|
|
4348
4774
|
|
|
4349
4775
|
/**
|
|
4350
4776
|
* @param {string} value
|
|
4351
|
-
* @return {!proto.fonoster.identity.v1beta2.
|
|
4777
|
+
* @return {!proto.fonoster.identity.v1beta2.DeleteUserResponse} returns this
|
|
4352
4778
|
*/
|
|
4353
|
-
proto.fonoster.identity.v1beta2.
|
|
4779
|
+
proto.fonoster.identity.v1beta2.DeleteUserResponse.prototype.setRef = function(value) {
|
|
4354
4780
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
4355
4781
|
};
|
|
4356
4782
|
|
|
@@ -4371,8 +4797,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
4371
4797
|
* http://goto/soy-param-migration
|
|
4372
4798
|
* @return {!Object}
|
|
4373
4799
|
*/
|
|
4374
|
-
proto.fonoster.identity.v1beta2.
|
|
4375
|
-
return proto.fonoster.identity.v1beta2.
|
|
4800
|
+
proto.fonoster.identity.v1beta2.SendVerificationCodeRequest.prototype.toObject = function(opt_includeInstance) {
|
|
4801
|
+
return proto.fonoster.identity.v1beta2.SendVerificationCodeRequest.toObject(opt_includeInstance, this);
|
|
4376
4802
|
};
|
|
4377
4803
|
|
|
4378
4804
|
|
|
@@ -4381,13 +4807,14 @@ proto.fonoster.identity.v1beta2.DeleteUserResponse.prototype.toObject = function
|
|
|
4381
4807
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
4382
4808
|
* the JSPB instance for transitional soy proto support:
|
|
4383
4809
|
* http://goto/soy-param-migration
|
|
4384
|
-
* @param {!proto.fonoster.identity.v1beta2.
|
|
4810
|
+
* @param {!proto.fonoster.identity.v1beta2.SendVerificationCodeRequest} msg The msg instance to transform.
|
|
4385
4811
|
* @return {!Object}
|
|
4386
4812
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4387
4813
|
*/
|
|
4388
|
-
proto.fonoster.identity.v1beta2.
|
|
4814
|
+
proto.fonoster.identity.v1beta2.SendVerificationCodeRequest.toObject = function(includeInstance, msg) {
|
|
4389
4815
|
var f, obj = {
|
|
4390
|
-
|
|
4816
|
+
contactType: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
4817
|
+
value: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
4391
4818
|
};
|
|
4392
4819
|
|
|
4393
4820
|
if (includeInstance) {
|
|
@@ -4401,23 +4828,23 @@ proto.fonoster.identity.v1beta2.DeleteUserResponse.toObject = function(includeIn
|
|
|
4401
4828
|
/**
|
|
4402
4829
|
* Deserializes binary data (in protobuf wire format).
|
|
4403
4830
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
4404
|
-
* @return {!proto.fonoster.identity.v1beta2.
|
|
4831
|
+
* @return {!proto.fonoster.identity.v1beta2.SendVerificationCodeRequest}
|
|
4405
4832
|
*/
|
|
4406
|
-
proto.fonoster.identity.v1beta2.
|
|
4833
|
+
proto.fonoster.identity.v1beta2.SendVerificationCodeRequest.deserializeBinary = function(bytes) {
|
|
4407
4834
|
var reader = new jspb.BinaryReader(bytes);
|
|
4408
|
-
var msg = new proto.fonoster.identity.v1beta2.
|
|
4409
|
-
return proto.fonoster.identity.v1beta2.
|
|
4835
|
+
var msg = new proto.fonoster.identity.v1beta2.SendVerificationCodeRequest;
|
|
4836
|
+
return proto.fonoster.identity.v1beta2.SendVerificationCodeRequest.deserializeBinaryFromReader(msg, reader);
|
|
4410
4837
|
};
|
|
4411
4838
|
|
|
4412
4839
|
|
|
4413
4840
|
/**
|
|
4414
4841
|
* Deserializes binary data (in protobuf wire format) from the
|
|
4415
4842
|
* given reader into the given message object.
|
|
4416
|
-
* @param {!proto.fonoster.identity.v1beta2.
|
|
4843
|
+
* @param {!proto.fonoster.identity.v1beta2.SendVerificationCodeRequest} msg The message object to deserialize into.
|
|
4417
4844
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
4418
|
-
* @return {!proto.fonoster.identity.v1beta2.
|
|
4845
|
+
* @return {!proto.fonoster.identity.v1beta2.SendVerificationCodeRequest}
|
|
4419
4846
|
*/
|
|
4420
|
-
proto.fonoster.identity.v1beta2.
|
|
4847
|
+
proto.fonoster.identity.v1beta2.SendVerificationCodeRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
4421
4848
|
while (reader.nextField()) {
|
|
4422
4849
|
if (reader.isEndGroup()) {
|
|
4423
4850
|
break;
|
|
@@ -4425,8 +4852,12 @@ proto.fonoster.identity.v1beta2.DeleteUserResponse.deserializeBinaryFromReader =
|
|
|
4425
4852
|
var field = reader.getFieldNumber();
|
|
4426
4853
|
switch (field) {
|
|
4427
4854
|
case 1:
|
|
4855
|
+
var value = /** @type {!proto.fonoster.identity.v1beta2.ContactType} */ (reader.readEnum());
|
|
4856
|
+
msg.setContactType(value);
|
|
4857
|
+
break;
|
|
4858
|
+
case 2:
|
|
4428
4859
|
var value = /** @type {string} */ (reader.readString());
|
|
4429
|
-
msg.
|
|
4860
|
+
msg.setValue(value);
|
|
4430
4861
|
break;
|
|
4431
4862
|
default:
|
|
4432
4863
|
reader.skipField();
|
|
@@ -4441,9 +4872,9 @@ proto.fonoster.identity.v1beta2.DeleteUserResponse.deserializeBinaryFromReader =
|
|
|
4441
4872
|
* Serializes the message to binary data (in protobuf wire format).
|
|
4442
4873
|
* @return {!Uint8Array}
|
|
4443
4874
|
*/
|
|
4444
|
-
proto.fonoster.identity.v1beta2.
|
|
4875
|
+
proto.fonoster.identity.v1beta2.SendVerificationCodeRequest.prototype.serializeBinary = function() {
|
|
4445
4876
|
var writer = new jspb.BinaryWriter();
|
|
4446
|
-
proto.fonoster.identity.v1beta2.
|
|
4877
|
+
proto.fonoster.identity.v1beta2.SendVerificationCodeRequest.serializeBinaryToWriter(this, writer);
|
|
4447
4878
|
return writer.getResultBuffer();
|
|
4448
4879
|
};
|
|
4449
4880
|
|
|
@@ -4451,16 +4882,23 @@ proto.fonoster.identity.v1beta2.DeleteUserResponse.prototype.serializeBinary = f
|
|
|
4451
4882
|
/**
|
|
4452
4883
|
* Serializes the given message to binary data (in protobuf wire
|
|
4453
4884
|
* format), writing to the given BinaryWriter.
|
|
4454
|
-
* @param {!proto.fonoster.identity.v1beta2.
|
|
4885
|
+
* @param {!proto.fonoster.identity.v1beta2.SendVerificationCodeRequest} message
|
|
4455
4886
|
* @param {!jspb.BinaryWriter} writer
|
|
4456
4887
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4457
4888
|
*/
|
|
4458
|
-
proto.fonoster.identity.v1beta2.
|
|
4889
|
+
proto.fonoster.identity.v1beta2.SendVerificationCodeRequest.serializeBinaryToWriter = function(message, writer) {
|
|
4459
4890
|
var f = undefined;
|
|
4460
|
-
f = message.
|
|
4891
|
+
f = message.getContactType();
|
|
4892
|
+
if (f !== 0.0) {
|
|
4893
|
+
writer.writeEnum(
|
|
4894
|
+
1,
|
|
4895
|
+
f
|
|
4896
|
+
);
|
|
4897
|
+
}
|
|
4898
|
+
f = message.getValue();
|
|
4461
4899
|
if (f.length > 0) {
|
|
4462
4900
|
writer.writeString(
|
|
4463
|
-
|
|
4901
|
+
2,
|
|
4464
4902
|
f
|
|
4465
4903
|
);
|
|
4466
4904
|
}
|
|
@@ -4468,20 +4906,38 @@ proto.fonoster.identity.v1beta2.DeleteUserResponse.serializeBinaryToWriter = fun
|
|
|
4468
4906
|
|
|
4469
4907
|
|
|
4470
4908
|
/**
|
|
4471
|
-
* optional
|
|
4909
|
+
* optional ContactType contact_type = 1;
|
|
4910
|
+
* @return {!proto.fonoster.identity.v1beta2.ContactType}
|
|
4911
|
+
*/
|
|
4912
|
+
proto.fonoster.identity.v1beta2.SendVerificationCodeRequest.prototype.getContactType = function() {
|
|
4913
|
+
return /** @type {!proto.fonoster.identity.v1beta2.ContactType} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
4914
|
+
};
|
|
4915
|
+
|
|
4916
|
+
|
|
4917
|
+
/**
|
|
4918
|
+
* @param {!proto.fonoster.identity.v1beta2.ContactType} value
|
|
4919
|
+
* @return {!proto.fonoster.identity.v1beta2.SendVerificationCodeRequest} returns this
|
|
4920
|
+
*/
|
|
4921
|
+
proto.fonoster.identity.v1beta2.SendVerificationCodeRequest.prototype.setContactType = function(value) {
|
|
4922
|
+
return jspb.Message.setProto3EnumField(this, 1, value);
|
|
4923
|
+
};
|
|
4924
|
+
|
|
4925
|
+
|
|
4926
|
+
/**
|
|
4927
|
+
* optional string value = 2;
|
|
4472
4928
|
* @return {string}
|
|
4473
4929
|
*/
|
|
4474
|
-
proto.fonoster.identity.v1beta2.
|
|
4475
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
4930
|
+
proto.fonoster.identity.v1beta2.SendVerificationCodeRequest.prototype.getValue = function() {
|
|
4931
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
4476
4932
|
};
|
|
4477
4933
|
|
|
4478
4934
|
|
|
4479
4935
|
/**
|
|
4480
4936
|
* @param {string} value
|
|
4481
|
-
* @return {!proto.fonoster.identity.v1beta2.
|
|
4937
|
+
* @return {!proto.fonoster.identity.v1beta2.SendVerificationCodeRequest} returns this
|
|
4482
4938
|
*/
|
|
4483
|
-
proto.fonoster.identity.v1beta2.
|
|
4484
|
-
return jspb.Message.setProto3StringField(this,
|
|
4939
|
+
proto.fonoster.identity.v1beta2.SendVerificationCodeRequest.prototype.setValue = function(value) {
|
|
4940
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
4485
4941
|
};
|
|
4486
4942
|
|
|
4487
4943
|
|
|
@@ -4501,8 +4957,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
4501
4957
|
* http://goto/soy-param-migration
|
|
4502
4958
|
* @return {!Object}
|
|
4503
4959
|
*/
|
|
4504
|
-
proto.fonoster.identity.v1beta2.
|
|
4505
|
-
return proto.fonoster.identity.v1beta2.
|
|
4960
|
+
proto.fonoster.identity.v1beta2.VerifyCodeRequest.prototype.toObject = function(opt_includeInstance) {
|
|
4961
|
+
return proto.fonoster.identity.v1beta2.VerifyCodeRequest.toObject(opt_includeInstance, this);
|
|
4506
4962
|
};
|
|
4507
4963
|
|
|
4508
4964
|
|
|
@@ -4511,17 +4967,16 @@ proto.fonoster.identity.v1beta2.Workspace.prototype.toObject = function(opt_incl
|
|
|
4511
4967
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
4512
4968
|
* the JSPB instance for transitional soy proto support:
|
|
4513
4969
|
* http://goto/soy-param-migration
|
|
4514
|
-
* @param {!proto.fonoster.identity.v1beta2.
|
|
4970
|
+
* @param {!proto.fonoster.identity.v1beta2.VerifyCodeRequest} msg The msg instance to transform.
|
|
4515
4971
|
* @return {!Object}
|
|
4516
4972
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4517
4973
|
*/
|
|
4518
|
-
proto.fonoster.identity.v1beta2.
|
|
4974
|
+
proto.fonoster.identity.v1beta2.VerifyCodeRequest.toObject = function(includeInstance, msg) {
|
|
4519
4975
|
var f, obj = {
|
|
4520
|
-
|
|
4521
|
-
|
|
4522
|
-
|
|
4523
|
-
|
|
4524
|
-
updatedAt: jspb.Message.getFieldWithDefault(msg, 5, 0)
|
|
4976
|
+
username: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
4977
|
+
contactType: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
4978
|
+
value: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
4979
|
+
verificationCode: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
4525
4980
|
};
|
|
4526
4981
|
|
|
4527
4982
|
if (includeInstance) {
|
|
@@ -4535,23 +4990,23 @@ proto.fonoster.identity.v1beta2.Workspace.toObject = function(includeInstance, m
|
|
|
4535
4990
|
/**
|
|
4536
4991
|
* Deserializes binary data (in protobuf wire format).
|
|
4537
4992
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
4538
|
-
* @return {!proto.fonoster.identity.v1beta2.
|
|
4993
|
+
* @return {!proto.fonoster.identity.v1beta2.VerifyCodeRequest}
|
|
4539
4994
|
*/
|
|
4540
|
-
proto.fonoster.identity.v1beta2.
|
|
4995
|
+
proto.fonoster.identity.v1beta2.VerifyCodeRequest.deserializeBinary = function(bytes) {
|
|
4541
4996
|
var reader = new jspb.BinaryReader(bytes);
|
|
4542
|
-
var msg = new proto.fonoster.identity.v1beta2.
|
|
4543
|
-
return proto.fonoster.identity.v1beta2.
|
|
4997
|
+
var msg = new proto.fonoster.identity.v1beta2.VerifyCodeRequest;
|
|
4998
|
+
return proto.fonoster.identity.v1beta2.VerifyCodeRequest.deserializeBinaryFromReader(msg, reader);
|
|
4544
4999
|
};
|
|
4545
5000
|
|
|
4546
5001
|
|
|
4547
5002
|
/**
|
|
4548
5003
|
* Deserializes binary data (in protobuf wire format) from the
|
|
4549
5004
|
* given reader into the given message object.
|
|
4550
|
-
* @param {!proto.fonoster.identity.v1beta2.
|
|
5005
|
+
* @param {!proto.fonoster.identity.v1beta2.VerifyCodeRequest} msg The message object to deserialize into.
|
|
4551
5006
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
4552
|
-
* @return {!proto.fonoster.identity.v1beta2.
|
|
5007
|
+
* @return {!proto.fonoster.identity.v1beta2.VerifyCodeRequest}
|
|
4553
5008
|
*/
|
|
4554
|
-
proto.fonoster.identity.v1beta2.
|
|
5009
|
+
proto.fonoster.identity.v1beta2.VerifyCodeRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
4555
5010
|
while (reader.nextField()) {
|
|
4556
5011
|
if (reader.isEndGroup()) {
|
|
4557
5012
|
break;
|
|
@@ -4560,23 +5015,19 @@ proto.fonoster.identity.v1beta2.Workspace.deserializeBinaryFromReader = function
|
|
|
4560
5015
|
switch (field) {
|
|
4561
5016
|
case 1:
|
|
4562
5017
|
var value = /** @type {string} */ (reader.readString());
|
|
4563
|
-
msg.
|
|
5018
|
+
msg.setUsername(value);
|
|
4564
5019
|
break;
|
|
4565
5020
|
case 2:
|
|
4566
|
-
var value = /** @type {
|
|
4567
|
-
msg.
|
|
5021
|
+
var value = /** @type {!proto.fonoster.identity.v1beta2.ContactType} */ (reader.readEnum());
|
|
5022
|
+
msg.setContactType(value);
|
|
4568
5023
|
break;
|
|
4569
5024
|
case 3:
|
|
4570
5025
|
var value = /** @type {string} */ (reader.readString());
|
|
4571
|
-
msg.
|
|
5026
|
+
msg.setValue(value);
|
|
4572
5027
|
break;
|
|
4573
5028
|
case 4:
|
|
4574
|
-
var value = /** @type {
|
|
4575
|
-
msg.
|
|
4576
|
-
break;
|
|
4577
|
-
case 5:
|
|
4578
|
-
var value = /** @type {number} */ (reader.readInt32());
|
|
4579
|
-
msg.setUpdatedAt(value);
|
|
5029
|
+
var value = /** @type {string} */ (reader.readString());
|
|
5030
|
+
msg.setVerificationCode(value);
|
|
4580
5031
|
break;
|
|
4581
5032
|
default:
|
|
4582
5033
|
reader.skipField();
|
|
@@ -4591,9 +5042,9 @@ proto.fonoster.identity.v1beta2.Workspace.deserializeBinaryFromReader = function
|
|
|
4591
5042
|
* Serializes the message to binary data (in protobuf wire format).
|
|
4592
5043
|
* @return {!Uint8Array}
|
|
4593
5044
|
*/
|
|
4594
|
-
proto.fonoster.identity.v1beta2.
|
|
5045
|
+
proto.fonoster.identity.v1beta2.VerifyCodeRequest.prototype.serializeBinary = function() {
|
|
4595
5046
|
var writer = new jspb.BinaryWriter();
|
|
4596
|
-
proto.fonoster.identity.v1beta2.
|
|
5047
|
+
proto.fonoster.identity.v1beta2.VerifyCodeRequest.serializeBinaryToWriter(this, writer);
|
|
4597
5048
|
return writer.getResultBuffer();
|
|
4598
5049
|
};
|
|
4599
5050
|
|
|
@@ -4601,137 +5052,112 @@ proto.fonoster.identity.v1beta2.Workspace.prototype.serializeBinary = function()
|
|
|
4601
5052
|
/**
|
|
4602
5053
|
* Serializes the given message to binary data (in protobuf wire
|
|
4603
5054
|
* format), writing to the given BinaryWriter.
|
|
4604
|
-
* @param {!proto.fonoster.identity.v1beta2.
|
|
5055
|
+
* @param {!proto.fonoster.identity.v1beta2.VerifyCodeRequest} message
|
|
4605
5056
|
* @param {!jspb.BinaryWriter} writer
|
|
4606
5057
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4607
5058
|
*/
|
|
4608
|
-
proto.fonoster.identity.v1beta2.
|
|
5059
|
+
proto.fonoster.identity.v1beta2.VerifyCodeRequest.serializeBinaryToWriter = function(message, writer) {
|
|
4609
5060
|
var f = undefined;
|
|
4610
|
-
f = message.
|
|
5061
|
+
f = message.getUsername();
|
|
4611
5062
|
if (f.length > 0) {
|
|
4612
5063
|
writer.writeString(
|
|
4613
5064
|
1,
|
|
4614
5065
|
f
|
|
4615
5066
|
);
|
|
4616
5067
|
}
|
|
4617
|
-
f = message.
|
|
4618
|
-
if (f
|
|
4619
|
-
writer.
|
|
5068
|
+
f = message.getContactType();
|
|
5069
|
+
if (f !== 0.0) {
|
|
5070
|
+
writer.writeEnum(
|
|
4620
5071
|
2,
|
|
4621
5072
|
f
|
|
4622
5073
|
);
|
|
4623
5074
|
}
|
|
4624
|
-
f = message.
|
|
5075
|
+
f = message.getValue();
|
|
4625
5076
|
if (f.length > 0) {
|
|
4626
5077
|
writer.writeString(
|
|
4627
5078
|
3,
|
|
4628
5079
|
f
|
|
4629
5080
|
);
|
|
4630
5081
|
}
|
|
4631
|
-
f = message.
|
|
4632
|
-
if (f
|
|
4633
|
-
writer.
|
|
5082
|
+
f = message.getVerificationCode();
|
|
5083
|
+
if (f.length > 0) {
|
|
5084
|
+
writer.writeString(
|
|
4634
5085
|
4,
|
|
4635
5086
|
f
|
|
4636
5087
|
);
|
|
4637
5088
|
}
|
|
4638
|
-
f = message.getUpdatedAt();
|
|
4639
|
-
if (f !== 0) {
|
|
4640
|
-
writer.writeInt32(
|
|
4641
|
-
5,
|
|
4642
|
-
f
|
|
4643
|
-
);
|
|
4644
|
-
}
|
|
4645
5089
|
};
|
|
4646
5090
|
|
|
4647
5091
|
|
|
4648
5092
|
/**
|
|
4649
|
-
* optional string
|
|
5093
|
+
* optional string username = 1;
|
|
4650
5094
|
* @return {string}
|
|
4651
5095
|
*/
|
|
4652
|
-
proto.fonoster.identity.v1beta2.
|
|
5096
|
+
proto.fonoster.identity.v1beta2.VerifyCodeRequest.prototype.getUsername = function() {
|
|
4653
5097
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
4654
5098
|
};
|
|
4655
5099
|
|
|
4656
5100
|
|
|
4657
5101
|
/**
|
|
4658
5102
|
* @param {string} value
|
|
4659
|
-
* @return {!proto.fonoster.identity.v1beta2.
|
|
5103
|
+
* @return {!proto.fonoster.identity.v1beta2.VerifyCodeRequest} returns this
|
|
4660
5104
|
*/
|
|
4661
|
-
proto.fonoster.identity.v1beta2.
|
|
5105
|
+
proto.fonoster.identity.v1beta2.VerifyCodeRequest.prototype.setUsername = function(value) {
|
|
4662
5106
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
4663
5107
|
};
|
|
4664
5108
|
|
|
4665
5109
|
|
|
4666
5110
|
/**
|
|
4667
|
-
* optional
|
|
4668
|
-
* @return {
|
|
5111
|
+
* optional ContactType contact_type = 2;
|
|
5112
|
+
* @return {!proto.fonoster.identity.v1beta2.ContactType}
|
|
4669
5113
|
*/
|
|
4670
|
-
proto.fonoster.identity.v1beta2.
|
|
4671
|
-
return /** @type {
|
|
5114
|
+
proto.fonoster.identity.v1beta2.VerifyCodeRequest.prototype.getContactType = function() {
|
|
5115
|
+
return /** @type {!proto.fonoster.identity.v1beta2.ContactType} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
4672
5116
|
};
|
|
4673
5117
|
|
|
4674
5118
|
|
|
4675
5119
|
/**
|
|
4676
|
-
* @param {
|
|
4677
|
-
* @return {!proto.fonoster.identity.v1beta2.
|
|
5120
|
+
* @param {!proto.fonoster.identity.v1beta2.ContactType} value
|
|
5121
|
+
* @return {!proto.fonoster.identity.v1beta2.VerifyCodeRequest} returns this
|
|
4678
5122
|
*/
|
|
4679
|
-
proto.fonoster.identity.v1beta2.
|
|
4680
|
-
return jspb.Message.
|
|
5123
|
+
proto.fonoster.identity.v1beta2.VerifyCodeRequest.prototype.setContactType = function(value) {
|
|
5124
|
+
return jspb.Message.setProto3EnumField(this, 2, value);
|
|
4681
5125
|
};
|
|
4682
5126
|
|
|
4683
5127
|
|
|
4684
5128
|
/**
|
|
4685
|
-
* optional string
|
|
5129
|
+
* optional string value = 3;
|
|
4686
5130
|
* @return {string}
|
|
4687
5131
|
*/
|
|
4688
|
-
proto.fonoster.identity.v1beta2.
|
|
5132
|
+
proto.fonoster.identity.v1beta2.VerifyCodeRequest.prototype.getValue = function() {
|
|
4689
5133
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
4690
5134
|
};
|
|
4691
5135
|
|
|
4692
5136
|
|
|
4693
5137
|
/**
|
|
4694
5138
|
* @param {string} value
|
|
4695
|
-
* @return {!proto.fonoster.identity.v1beta2.
|
|
5139
|
+
* @return {!proto.fonoster.identity.v1beta2.VerifyCodeRequest} returns this
|
|
4696
5140
|
*/
|
|
4697
|
-
proto.fonoster.identity.v1beta2.
|
|
5141
|
+
proto.fonoster.identity.v1beta2.VerifyCodeRequest.prototype.setValue = function(value) {
|
|
4698
5142
|
return jspb.Message.setProto3StringField(this, 3, value);
|
|
4699
5143
|
};
|
|
4700
5144
|
|
|
4701
5145
|
|
|
4702
5146
|
/**
|
|
4703
|
-
* optional
|
|
4704
|
-
* @return {
|
|
4705
|
-
*/
|
|
4706
|
-
proto.fonoster.identity.v1beta2.Workspace.prototype.getCreatedAt = function() {
|
|
4707
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
4708
|
-
};
|
|
4709
|
-
|
|
4710
|
-
|
|
4711
|
-
/**
|
|
4712
|
-
* @param {number} value
|
|
4713
|
-
* @return {!proto.fonoster.identity.v1beta2.Workspace} returns this
|
|
4714
|
-
*/
|
|
4715
|
-
proto.fonoster.identity.v1beta2.Workspace.prototype.setCreatedAt = function(value) {
|
|
4716
|
-
return jspb.Message.setProto3IntField(this, 4, value);
|
|
4717
|
-
};
|
|
4718
|
-
|
|
4719
|
-
|
|
4720
|
-
/**
|
|
4721
|
-
* optional int32 updated_at = 5;
|
|
4722
|
-
* @return {number}
|
|
5147
|
+
* optional string verification_code = 4;
|
|
5148
|
+
* @return {string}
|
|
4723
5149
|
*/
|
|
4724
|
-
proto.fonoster.identity.v1beta2.
|
|
4725
|
-
return /** @type {
|
|
5150
|
+
proto.fonoster.identity.v1beta2.VerifyCodeRequest.prototype.getVerificationCode = function() {
|
|
5151
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
4726
5152
|
};
|
|
4727
5153
|
|
|
4728
5154
|
|
|
4729
5155
|
/**
|
|
4730
|
-
* @param {
|
|
4731
|
-
* @return {!proto.fonoster.identity.v1beta2.
|
|
5156
|
+
* @param {string} value
|
|
5157
|
+
* @return {!proto.fonoster.identity.v1beta2.VerifyCodeRequest} returns this
|
|
4732
5158
|
*/
|
|
4733
|
-
proto.fonoster.identity.v1beta2.
|
|
4734
|
-
return jspb.Message.
|
|
5159
|
+
proto.fonoster.identity.v1beta2.VerifyCodeRequest.prototype.setVerificationCode = function(value) {
|
|
5160
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
4735
5161
|
};
|
|
4736
5162
|
|
|
4737
5163
|
|
|
@@ -6329,7 +6755,7 @@ proto.fonoster.identity.v1beta2.ExchangeCredentialsRequest.toObject = function(i
|
|
|
6329
6755
|
var f, obj = {
|
|
6330
6756
|
username: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
6331
6757
|
password: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
6332
|
-
|
|
6758
|
+
verificationCode: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
6333
6759
|
};
|
|
6334
6760
|
|
|
6335
6761
|
if (includeInstance) {
|
|
@@ -6376,7 +6802,7 @@ proto.fonoster.identity.v1beta2.ExchangeCredentialsRequest.deserializeBinaryFrom
|
|
|
6376
6802
|
break;
|
|
6377
6803
|
case 3:
|
|
6378
6804
|
var value = /** @type {string} */ (reader.readString());
|
|
6379
|
-
msg.
|
|
6805
|
+
msg.setVerificationCode(value);
|
|
6380
6806
|
break;
|
|
6381
6807
|
default:
|
|
6382
6808
|
reader.skipField();
|
|
@@ -6421,7 +6847,7 @@ proto.fonoster.identity.v1beta2.ExchangeCredentialsRequest.serializeBinaryToWrit
|
|
|
6421
6847
|
f
|
|
6422
6848
|
);
|
|
6423
6849
|
}
|
|
6424
|
-
f = message.
|
|
6850
|
+
f = message.getVerificationCode();
|
|
6425
6851
|
if (f.length > 0) {
|
|
6426
6852
|
writer.writeString(
|
|
6427
6853
|
3,
|
|
@@ -6468,10 +6894,10 @@ proto.fonoster.identity.v1beta2.ExchangeCredentialsRequest.prototype.setPassword
|
|
|
6468
6894
|
|
|
6469
6895
|
|
|
6470
6896
|
/**
|
|
6471
|
-
* optional string
|
|
6897
|
+
* optional string verification_code = 3;
|
|
6472
6898
|
* @return {string}
|
|
6473
6899
|
*/
|
|
6474
|
-
proto.fonoster.identity.v1beta2.ExchangeCredentialsRequest.prototype.
|
|
6900
|
+
proto.fonoster.identity.v1beta2.ExchangeCredentialsRequest.prototype.getVerificationCode = function() {
|
|
6475
6901
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
6476
6902
|
};
|
|
6477
6903
|
|
|
@@ -6480,7 +6906,7 @@ proto.fonoster.identity.v1beta2.ExchangeCredentialsRequest.prototype.getEphemera
|
|
|
6480
6906
|
* @param {string} value
|
|
6481
6907
|
* @return {!proto.fonoster.identity.v1beta2.ExchangeCredentialsRequest} returns this
|
|
6482
6908
|
*/
|
|
6483
|
-
proto.fonoster.identity.v1beta2.ExchangeCredentialsRequest.prototype.
|
|
6909
|
+
proto.fonoster.identity.v1beta2.ExchangeCredentialsRequest.prototype.setVerificationCode = function(value) {
|
|
6484
6910
|
return jspb.Message.setProto3StringField(this, 3, value);
|
|
6485
6911
|
};
|
|
6486
6912
|
|
|
@@ -7041,8 +7467,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
7041
7467
|
* http://goto/soy-param-migration
|
|
7042
7468
|
* @return {!Object}
|
|
7043
7469
|
*/
|
|
7044
|
-
proto.fonoster.identity.v1beta2.
|
|
7045
|
-
return proto.fonoster.identity.v1beta2.
|
|
7470
|
+
proto.fonoster.identity.v1beta2.ExchangeOauth2CodeRequest.prototype.toObject = function(opt_includeInstance) {
|
|
7471
|
+
return proto.fonoster.identity.v1beta2.ExchangeOauth2CodeRequest.toObject(opt_includeInstance, this);
|
|
7046
7472
|
};
|
|
7047
7473
|
|
|
7048
7474
|
|
|
@@ -7051,13 +7477,15 @@ proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeRequest.prototype.toObject = f
|
|
|
7051
7477
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
7052
7478
|
* the JSPB instance for transitional soy proto support:
|
|
7053
7479
|
* http://goto/soy-param-migration
|
|
7054
|
-
* @param {!proto.fonoster.identity.v1beta2.
|
|
7480
|
+
* @param {!proto.fonoster.identity.v1beta2.ExchangeOauth2CodeRequest} msg The msg instance to transform.
|
|
7055
7481
|
* @return {!Object}
|
|
7056
7482
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
7057
7483
|
*/
|
|
7058
|
-
proto.fonoster.identity.v1beta2.
|
|
7484
|
+
proto.fonoster.identity.v1beta2.ExchangeOauth2CodeRequest.toObject = function(includeInstance, msg) {
|
|
7059
7485
|
var f, obj = {
|
|
7060
|
-
|
|
7486
|
+
provider: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
7487
|
+
username: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
7488
|
+
code: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
7061
7489
|
};
|
|
7062
7490
|
|
|
7063
7491
|
if (includeInstance) {
|
|
@@ -7071,23 +7499,23 @@ proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeRequest.toObject = function(in
|
|
|
7071
7499
|
/**
|
|
7072
7500
|
* Deserializes binary data (in protobuf wire format).
|
|
7073
7501
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
7074
|
-
* @return {!proto.fonoster.identity.v1beta2.
|
|
7502
|
+
* @return {!proto.fonoster.identity.v1beta2.ExchangeOauth2CodeRequest}
|
|
7075
7503
|
*/
|
|
7076
|
-
proto.fonoster.identity.v1beta2.
|
|
7504
|
+
proto.fonoster.identity.v1beta2.ExchangeOauth2CodeRequest.deserializeBinary = function(bytes) {
|
|
7077
7505
|
var reader = new jspb.BinaryReader(bytes);
|
|
7078
|
-
var msg = new proto.fonoster.identity.v1beta2.
|
|
7079
|
-
return proto.fonoster.identity.v1beta2.
|
|
7506
|
+
var msg = new proto.fonoster.identity.v1beta2.ExchangeOauth2CodeRequest;
|
|
7507
|
+
return proto.fonoster.identity.v1beta2.ExchangeOauth2CodeRequest.deserializeBinaryFromReader(msg, reader);
|
|
7080
7508
|
};
|
|
7081
7509
|
|
|
7082
7510
|
|
|
7083
7511
|
/**
|
|
7084
7512
|
* Deserializes binary data (in protobuf wire format) from the
|
|
7085
7513
|
* given reader into the given message object.
|
|
7086
|
-
* @param {!proto.fonoster.identity.v1beta2.
|
|
7514
|
+
* @param {!proto.fonoster.identity.v1beta2.ExchangeOauth2CodeRequest} msg The message object to deserialize into.
|
|
7087
7515
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
7088
|
-
* @return {!proto.fonoster.identity.v1beta2.
|
|
7516
|
+
* @return {!proto.fonoster.identity.v1beta2.ExchangeOauth2CodeRequest}
|
|
7089
7517
|
*/
|
|
7090
|
-
proto.fonoster.identity.v1beta2.
|
|
7518
|
+
proto.fonoster.identity.v1beta2.ExchangeOauth2CodeRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
7091
7519
|
while (reader.nextField()) {
|
|
7092
7520
|
if (reader.isEndGroup()) {
|
|
7093
7521
|
break;
|
|
@@ -7095,6 +7523,14 @@ proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeRequest.deserializeBinaryFromR
|
|
|
7095
7523
|
var field = reader.getFieldNumber();
|
|
7096
7524
|
switch (field) {
|
|
7097
7525
|
case 1:
|
|
7526
|
+
var value = /** @type {!proto.fonoster.identity.v1beta2.ExchangeOauth2CodeRequest.Oauth2Provider} */ (reader.readEnum());
|
|
7527
|
+
msg.setProvider(value);
|
|
7528
|
+
break;
|
|
7529
|
+
case 2:
|
|
7530
|
+
var value = /** @type {string} */ (reader.readString());
|
|
7531
|
+
msg.setUsername(value);
|
|
7532
|
+
break;
|
|
7533
|
+
case 3:
|
|
7098
7534
|
var value = /** @type {string} */ (reader.readString());
|
|
7099
7535
|
msg.setCode(value);
|
|
7100
7536
|
break;
|
|
@@ -7111,9 +7547,9 @@ proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeRequest.deserializeBinaryFromR
|
|
|
7111
7547
|
* Serializes the message to binary data (in protobuf wire format).
|
|
7112
7548
|
* @return {!Uint8Array}
|
|
7113
7549
|
*/
|
|
7114
|
-
proto.fonoster.identity.v1beta2.
|
|
7550
|
+
proto.fonoster.identity.v1beta2.ExchangeOauth2CodeRequest.prototype.serializeBinary = function() {
|
|
7115
7551
|
var writer = new jspb.BinaryWriter();
|
|
7116
|
-
proto.fonoster.identity.v1beta2.
|
|
7552
|
+
proto.fonoster.identity.v1beta2.ExchangeOauth2CodeRequest.serializeBinaryToWriter(this, writer);
|
|
7117
7553
|
return writer.getResultBuffer();
|
|
7118
7554
|
};
|
|
7119
7555
|
|
|
@@ -7121,16 +7557,30 @@ proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeRequest.prototype.serializeBin
|
|
|
7121
7557
|
/**
|
|
7122
7558
|
* Serializes the given message to binary data (in protobuf wire
|
|
7123
7559
|
* format), writing to the given BinaryWriter.
|
|
7124
|
-
* @param {!proto.fonoster.identity.v1beta2.
|
|
7560
|
+
* @param {!proto.fonoster.identity.v1beta2.ExchangeOauth2CodeRequest} message
|
|
7125
7561
|
* @param {!jspb.BinaryWriter} writer
|
|
7126
7562
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
7127
7563
|
*/
|
|
7128
|
-
proto.fonoster.identity.v1beta2.
|
|
7564
|
+
proto.fonoster.identity.v1beta2.ExchangeOauth2CodeRequest.serializeBinaryToWriter = function(message, writer) {
|
|
7129
7565
|
var f = undefined;
|
|
7566
|
+
f = message.getProvider();
|
|
7567
|
+
if (f !== 0.0) {
|
|
7568
|
+
writer.writeEnum(
|
|
7569
|
+
1,
|
|
7570
|
+
f
|
|
7571
|
+
);
|
|
7572
|
+
}
|
|
7573
|
+
f = message.getUsername();
|
|
7574
|
+
if (f.length > 0) {
|
|
7575
|
+
writer.writeString(
|
|
7576
|
+
2,
|
|
7577
|
+
f
|
|
7578
|
+
);
|
|
7579
|
+
}
|
|
7130
7580
|
f = message.getCode();
|
|
7131
7581
|
if (f.length > 0) {
|
|
7132
7582
|
writer.writeString(
|
|
7133
|
-
|
|
7583
|
+
3,
|
|
7134
7584
|
f
|
|
7135
7585
|
);
|
|
7136
7586
|
}
|
|
@@ -7138,20 +7588,63 @@ proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeRequest.serializeBinaryToWrite
|
|
|
7138
7588
|
|
|
7139
7589
|
|
|
7140
7590
|
/**
|
|
7141
|
-
*
|
|
7591
|
+
* @enum {number}
|
|
7592
|
+
*/
|
|
7593
|
+
proto.fonoster.identity.v1beta2.ExchangeOauth2CodeRequest.Oauth2Provider = {
|
|
7594
|
+
GITHUB: 0
|
|
7595
|
+
};
|
|
7596
|
+
|
|
7597
|
+
/**
|
|
7598
|
+
* optional Oauth2Provider provider = 1;
|
|
7599
|
+
* @return {!proto.fonoster.identity.v1beta2.ExchangeOauth2CodeRequest.Oauth2Provider}
|
|
7600
|
+
*/
|
|
7601
|
+
proto.fonoster.identity.v1beta2.ExchangeOauth2CodeRequest.prototype.getProvider = function() {
|
|
7602
|
+
return /** @type {!proto.fonoster.identity.v1beta2.ExchangeOauth2CodeRequest.Oauth2Provider} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
7603
|
+
};
|
|
7604
|
+
|
|
7605
|
+
|
|
7606
|
+
/**
|
|
7607
|
+
* @param {!proto.fonoster.identity.v1beta2.ExchangeOauth2CodeRequest.Oauth2Provider} value
|
|
7608
|
+
* @return {!proto.fonoster.identity.v1beta2.ExchangeOauth2CodeRequest} returns this
|
|
7609
|
+
*/
|
|
7610
|
+
proto.fonoster.identity.v1beta2.ExchangeOauth2CodeRequest.prototype.setProvider = function(value) {
|
|
7611
|
+
return jspb.Message.setProto3EnumField(this, 1, value);
|
|
7612
|
+
};
|
|
7613
|
+
|
|
7614
|
+
|
|
7615
|
+
/**
|
|
7616
|
+
* optional string username = 2;
|
|
7142
7617
|
* @return {string}
|
|
7143
7618
|
*/
|
|
7144
|
-
proto.fonoster.identity.v1beta2.
|
|
7145
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
7619
|
+
proto.fonoster.identity.v1beta2.ExchangeOauth2CodeRequest.prototype.getUsername = function() {
|
|
7620
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
7146
7621
|
};
|
|
7147
7622
|
|
|
7148
7623
|
|
|
7149
7624
|
/**
|
|
7150
7625
|
* @param {string} value
|
|
7151
|
-
* @return {!proto.fonoster.identity.v1beta2.
|
|
7626
|
+
* @return {!proto.fonoster.identity.v1beta2.ExchangeOauth2CodeRequest} returns this
|
|
7152
7627
|
*/
|
|
7153
|
-
proto.fonoster.identity.v1beta2.
|
|
7154
|
-
return jspb.Message.setProto3StringField(this,
|
|
7628
|
+
proto.fonoster.identity.v1beta2.ExchangeOauth2CodeRequest.prototype.setUsername = function(value) {
|
|
7629
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
7630
|
+
};
|
|
7631
|
+
|
|
7632
|
+
|
|
7633
|
+
/**
|
|
7634
|
+
* optional string code = 3;
|
|
7635
|
+
* @return {string}
|
|
7636
|
+
*/
|
|
7637
|
+
proto.fonoster.identity.v1beta2.ExchangeOauth2CodeRequest.prototype.getCode = function() {
|
|
7638
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
7639
|
+
};
|
|
7640
|
+
|
|
7641
|
+
|
|
7642
|
+
/**
|
|
7643
|
+
* @param {string} value
|
|
7644
|
+
* @return {!proto.fonoster.identity.v1beta2.ExchangeOauth2CodeRequest} returns this
|
|
7645
|
+
*/
|
|
7646
|
+
proto.fonoster.identity.v1beta2.ExchangeOauth2CodeRequest.prototype.setCode = function(value) {
|
|
7647
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
7155
7648
|
};
|
|
7156
7649
|
|
|
7157
7650
|
|
|
@@ -7171,8 +7664,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
7171
7664
|
* http://goto/soy-param-migration
|
|
7172
7665
|
* @return {!Object}
|
|
7173
7666
|
*/
|
|
7174
|
-
proto.fonoster.identity.v1beta2.
|
|
7175
|
-
return proto.fonoster.identity.v1beta2.
|
|
7667
|
+
proto.fonoster.identity.v1beta2.ExchangeOauth2CodeResponse.prototype.toObject = function(opt_includeInstance) {
|
|
7668
|
+
return proto.fonoster.identity.v1beta2.ExchangeOauth2CodeResponse.toObject(opt_includeInstance, this);
|
|
7176
7669
|
};
|
|
7177
7670
|
|
|
7178
7671
|
|
|
@@ -7181,11 +7674,11 @@ proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeResponse.prototype.toObject =
|
|
|
7181
7674
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
7182
7675
|
* the JSPB instance for transitional soy proto support:
|
|
7183
7676
|
* http://goto/soy-param-migration
|
|
7184
|
-
* @param {!proto.fonoster.identity.v1beta2.
|
|
7677
|
+
* @param {!proto.fonoster.identity.v1beta2.ExchangeOauth2CodeResponse} msg The msg instance to transform.
|
|
7185
7678
|
* @return {!Object}
|
|
7186
7679
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
7187
7680
|
*/
|
|
7188
|
-
proto.fonoster.identity.v1beta2.
|
|
7681
|
+
proto.fonoster.identity.v1beta2.ExchangeOauth2CodeResponse.toObject = function(includeInstance, msg) {
|
|
7189
7682
|
var f, obj = {
|
|
7190
7683
|
idToken: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
7191
7684
|
accessToken: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
@@ -7203,23 +7696,23 @@ proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeResponse.toObject = function(i
|
|
|
7203
7696
|
/**
|
|
7204
7697
|
* Deserializes binary data (in protobuf wire format).
|
|
7205
7698
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
7206
|
-
* @return {!proto.fonoster.identity.v1beta2.
|
|
7699
|
+
* @return {!proto.fonoster.identity.v1beta2.ExchangeOauth2CodeResponse}
|
|
7207
7700
|
*/
|
|
7208
|
-
proto.fonoster.identity.v1beta2.
|
|
7701
|
+
proto.fonoster.identity.v1beta2.ExchangeOauth2CodeResponse.deserializeBinary = function(bytes) {
|
|
7209
7702
|
var reader = new jspb.BinaryReader(bytes);
|
|
7210
|
-
var msg = new proto.fonoster.identity.v1beta2.
|
|
7211
|
-
return proto.fonoster.identity.v1beta2.
|
|
7703
|
+
var msg = new proto.fonoster.identity.v1beta2.ExchangeOauth2CodeResponse;
|
|
7704
|
+
return proto.fonoster.identity.v1beta2.ExchangeOauth2CodeResponse.deserializeBinaryFromReader(msg, reader);
|
|
7212
7705
|
};
|
|
7213
7706
|
|
|
7214
7707
|
|
|
7215
7708
|
/**
|
|
7216
7709
|
* Deserializes binary data (in protobuf wire format) from the
|
|
7217
7710
|
* given reader into the given message object.
|
|
7218
|
-
* @param {!proto.fonoster.identity.v1beta2.
|
|
7711
|
+
* @param {!proto.fonoster.identity.v1beta2.ExchangeOauth2CodeResponse} msg The message object to deserialize into.
|
|
7219
7712
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
7220
|
-
* @return {!proto.fonoster.identity.v1beta2.
|
|
7713
|
+
* @return {!proto.fonoster.identity.v1beta2.ExchangeOauth2CodeResponse}
|
|
7221
7714
|
*/
|
|
7222
|
-
proto.fonoster.identity.v1beta2.
|
|
7715
|
+
proto.fonoster.identity.v1beta2.ExchangeOauth2CodeResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
7223
7716
|
while (reader.nextField()) {
|
|
7224
7717
|
if (reader.isEndGroup()) {
|
|
7225
7718
|
break;
|
|
@@ -7251,9 +7744,9 @@ proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeResponse.deserializeBinaryFrom
|
|
|
7251
7744
|
* Serializes the message to binary data (in protobuf wire format).
|
|
7252
7745
|
* @return {!Uint8Array}
|
|
7253
7746
|
*/
|
|
7254
|
-
proto.fonoster.identity.v1beta2.
|
|
7747
|
+
proto.fonoster.identity.v1beta2.ExchangeOauth2CodeResponse.prototype.serializeBinary = function() {
|
|
7255
7748
|
var writer = new jspb.BinaryWriter();
|
|
7256
|
-
proto.fonoster.identity.v1beta2.
|
|
7749
|
+
proto.fonoster.identity.v1beta2.ExchangeOauth2CodeResponse.serializeBinaryToWriter(this, writer);
|
|
7257
7750
|
return writer.getResultBuffer();
|
|
7258
7751
|
};
|
|
7259
7752
|
|
|
@@ -7261,11 +7754,11 @@ proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeResponse.prototype.serializeBi
|
|
|
7261
7754
|
/**
|
|
7262
7755
|
* Serializes the given message to binary data (in protobuf wire
|
|
7263
7756
|
* format), writing to the given BinaryWriter.
|
|
7264
|
-
* @param {!proto.fonoster.identity.v1beta2.
|
|
7757
|
+
* @param {!proto.fonoster.identity.v1beta2.ExchangeOauth2CodeResponse} message
|
|
7265
7758
|
* @param {!jspb.BinaryWriter} writer
|
|
7266
7759
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
7267
7760
|
*/
|
|
7268
|
-
proto.fonoster.identity.v1beta2.
|
|
7761
|
+
proto.fonoster.identity.v1beta2.ExchangeOauth2CodeResponse.serializeBinaryToWriter = function(message, writer) {
|
|
7269
7762
|
var f = undefined;
|
|
7270
7763
|
f = message.getIdToken();
|
|
7271
7764
|
if (f.length > 0) {
|
|
@@ -7295,16 +7788,16 @@ proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeResponse.serializeBinaryToWrit
|
|
|
7295
7788
|
* optional string id_token = 1;
|
|
7296
7789
|
* @return {string}
|
|
7297
7790
|
*/
|
|
7298
|
-
proto.fonoster.identity.v1beta2.
|
|
7791
|
+
proto.fonoster.identity.v1beta2.ExchangeOauth2CodeResponse.prototype.getIdToken = function() {
|
|
7299
7792
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
7300
7793
|
};
|
|
7301
7794
|
|
|
7302
7795
|
|
|
7303
7796
|
/**
|
|
7304
7797
|
* @param {string} value
|
|
7305
|
-
* @return {!proto.fonoster.identity.v1beta2.
|
|
7798
|
+
* @return {!proto.fonoster.identity.v1beta2.ExchangeOauth2CodeResponse} returns this
|
|
7306
7799
|
*/
|
|
7307
|
-
proto.fonoster.identity.v1beta2.
|
|
7800
|
+
proto.fonoster.identity.v1beta2.ExchangeOauth2CodeResponse.prototype.setIdToken = function(value) {
|
|
7308
7801
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
7309
7802
|
};
|
|
7310
7803
|
|
|
@@ -7313,16 +7806,16 @@ proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeResponse.prototype.setIdToken
|
|
|
7313
7806
|
* optional string access_token = 2;
|
|
7314
7807
|
* @return {string}
|
|
7315
7808
|
*/
|
|
7316
|
-
proto.fonoster.identity.v1beta2.
|
|
7809
|
+
proto.fonoster.identity.v1beta2.ExchangeOauth2CodeResponse.prototype.getAccessToken = function() {
|
|
7317
7810
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
7318
7811
|
};
|
|
7319
7812
|
|
|
7320
7813
|
|
|
7321
7814
|
/**
|
|
7322
7815
|
* @param {string} value
|
|
7323
|
-
* @return {!proto.fonoster.identity.v1beta2.
|
|
7816
|
+
* @return {!proto.fonoster.identity.v1beta2.ExchangeOauth2CodeResponse} returns this
|
|
7324
7817
|
*/
|
|
7325
|
-
proto.fonoster.identity.v1beta2.
|
|
7818
|
+
proto.fonoster.identity.v1beta2.ExchangeOauth2CodeResponse.prototype.setAccessToken = function(value) {
|
|
7326
7819
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
7327
7820
|
};
|
|
7328
7821
|
|
|
@@ -7331,16 +7824,16 @@ proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeResponse.prototype.setAccessTo
|
|
|
7331
7824
|
* optional string refresh_token = 3;
|
|
7332
7825
|
* @return {string}
|
|
7333
7826
|
*/
|
|
7334
|
-
proto.fonoster.identity.v1beta2.
|
|
7827
|
+
proto.fonoster.identity.v1beta2.ExchangeOauth2CodeResponse.prototype.getRefreshToken = function() {
|
|
7335
7828
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
7336
7829
|
};
|
|
7337
7830
|
|
|
7338
7831
|
|
|
7339
7832
|
/**
|
|
7340
7833
|
* @param {string} value
|
|
7341
|
-
* @return {!proto.fonoster.identity.v1beta2.
|
|
7834
|
+
* @return {!proto.fonoster.identity.v1beta2.ExchangeOauth2CodeResponse} returns this
|
|
7342
7835
|
*/
|
|
7343
|
-
proto.fonoster.identity.v1beta2.
|
|
7836
|
+
proto.fonoster.identity.v1beta2.ExchangeOauth2CodeResponse.prototype.setRefreshToken = function(value) {
|
|
7344
7837
|
return jspb.Message.setProto3StringField(this, 3, value);
|
|
7345
7838
|
};
|
|
7346
7839
|
|
|
@@ -8055,4 +8548,12 @@ proto.fonoster.identity.v1beta2.GetPublicKeyResponse.prototype.setPublicKey = fu
|
|
|
8055
8548
|
};
|
|
8056
8549
|
|
|
8057
8550
|
|
|
8551
|
+
/**
|
|
8552
|
+
* @enum {number}
|
|
8553
|
+
*/
|
|
8554
|
+
proto.fonoster.identity.v1beta2.ContactType = {
|
|
8555
|
+
EMAIL: 0,
|
|
8556
|
+
PHONE: 1
|
|
8557
|
+
};
|
|
8558
|
+
|
|
8058
8559
|
goog.object.extend(exports, proto.fonoster.identity.v1beta2);
|