@fonoster/sdk 0.27.0 → 0.31.0
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/README.md +12 -9
- package/dist/node/Agents.js +5 -20
- package/dist/node/Applications.d.ts +21 -85
- package/dist/node/Applications.js +64 -74
- package/dist/node/Billing.d.ts +50 -0
- package/dist/node/Billing.js +84 -0
- package/dist/node/CallRecords.d.ts +92 -0
- package/dist/node/CallRecords.js +127 -0
- package/dist/node/Calls.d.ts +3 -1
- package/dist/node/Calls.js +3 -1
- package/dist/node/Domains.js +4 -2
- package/dist/node/Numbers.js +2 -7
- package/dist/node/Providers.d.ts +49 -0
- package/dist/node/Providers.js +109 -0
- package/dist/node/Regions.d.ts +91 -0
- package/dist/node/Regions.js +127 -0
- package/dist/node/Usage.d.ts +44 -0
- package/dist/node/Usage.js +41 -0
- package/dist/node/Users.d.ts +4 -2
- package/dist/node/Users.js +4 -2
- package/dist/node/Webhooks.d.ts +56 -0
- package/dist/node/Webhooks.js +139 -0
- package/dist/node/Workspaces.d.ts +22 -3
- package/dist/node/Workspaces.js +29 -2
- package/dist/node/client/AbstractClient.d.ts +94 -3
- package/dist/node/client/AbstractClient.js +101 -1
- package/dist/node/client/Client.d.ts +9 -0
- package/dist/node/client/Client.js +34 -1
- package/dist/node/client/jsonToObject.js +17 -0
- package/dist/node/client/objectToJson.js +35 -0
- package/dist/node/client/types/ApplicationsClient.d.ts +2 -1
- package/dist/node/client/types/BillingClient.d.ts +28 -0
- package/dist/node/client/types/BillingClient.js +2 -0
- package/dist/node/client/types/CapabilitiesClient.d.ts +24 -0
- package/dist/node/client/types/CapabilitiesClient.js +2 -0
- package/dist/node/client/types/FonosterClient.d.ts +12 -0
- package/dist/node/client/types/IdentityClient.d.ts +3 -1
- package/dist/node/client/types/ProvidersClient.d.ts +28 -0
- package/dist/node/client/types/ProvidersClient.js +2 -0
- package/dist/node/client/types/UsageClient.d.ts +24 -0
- package/dist/node/client/types/UsageClient.js +2 -0
- package/dist/node/client/types/WebhooksClient.d.ts +31 -0
- package/dist/node/client/types/WebhooksClient.js +2 -0
- package/dist/node/client/types/index.d.ts +5 -0
- package/dist/node/client/types/index.js +5 -0
- package/dist/node/generated/node/applications_grpc_pb.js +34 -0
- package/dist/node/generated/node/applications_pb.js +2991 -178
- package/dist/node/generated/node/billing_grpc_pb.js +169 -0
- package/dist/node/generated/node/billing_pb.js +1720 -0
- package/dist/node/generated/node/calls_pb.js +62 -2
- package/dist/node/generated/node/capabilities_grpc_pb.js +66 -0
- package/dist/node/generated/node/capabilities_pb.js +2288 -0
- package/dist/node/generated/node/identity_grpc_pb.js +34 -0
- package/dist/node/generated/node/identity_pb.js +609 -5
- package/dist/node/generated/node/providers_grpc_pb.js +200 -0
- package/dist/node/generated/node/providers_pb.js +3094 -0
- package/dist/node/generated/node/usage_grpc_pb.js +64 -0
- package/dist/node/generated/node/usage_pb.js +866 -0
- package/dist/node/generated/node/webhooks_grpc_pb.js +302 -0
- package/dist/node/generated/node/webhooks_pb.js +3314 -0
- package/dist/node/generated/web/ApplicationsServiceClientPb.ts +43 -0
- package/dist/node/generated/web/BillingServiceClientPb.ts +258 -0
- package/dist/node/generated/web/CapabilitiesServiceClientPb.ts +87 -0
- package/dist/node/generated/web/IdentityServiceClientPb.ts +43 -0
- package/dist/node/generated/web/ProvidersServiceClientPb.ts +258 -0
- package/dist/node/generated/web/UsageServiceClientPb.ts +86 -0
- package/dist/node/generated/web/WebhooksServiceClientPb.ts +387 -0
- package/dist/node/generated/web/applications_pb.d.ts +343 -1
- package/dist/node/generated/web/applications_pb.js +2991 -178
- package/dist/node/generated/web/billing_pb.d.ts +210 -0
- package/dist/node/generated/web/billing_pb.js +1720 -0
- package/dist/node/generated/web/calls_pb.d.ts +8 -0
- package/dist/node/generated/web/calls_pb.js +62 -2
- package/dist/node/generated/web/capabilities_pb.d.ts +273 -0
- package/dist/node/generated/web/capabilities_pb.js +2288 -0
- package/dist/node/generated/web/identity_pb.d.ts +76 -0
- package/dist/node/generated/web/identity_pb.js +609 -5
- package/dist/node/generated/web/providers_pb.d.ts +372 -0
- package/dist/node/generated/web/providers_pb.js +3094 -0
- package/dist/node/generated/web/usage_pb.d.ts +106 -0
- package/dist/node/generated/web/usage_pb.js +866 -0
- package/dist/node/generated/web/webhooks_pb.d.ts +398 -0
- package/dist/node/generated/web/webhooks_pb.js +3314 -0
- package/dist/node/node.d.ts +7 -0
- package/dist/node/node.js +6 -0
- package/dist/node/tsconfig.tsbuildinfo +1 -1
- package/dist/node/utils.d.ts +7 -12
- package/dist/node/utils.js +18 -39
- package/dist/web/fonoster.min.js +1 -1
- package/dist/web/index.esm.js +1 -1
- package/package.json +8 -13
|
@@ -47,6 +47,8 @@ goog.exportSymbol('proto.fonoster.identity.v1beta2.ExchangeOauth2CodeRequest.Oau
|
|
|
47
47
|
goog.exportSymbol('proto.fonoster.identity.v1beta2.ExchangeOauth2CodeResponse', null, global);
|
|
48
48
|
goog.exportSymbol('proto.fonoster.identity.v1beta2.ExchangeRefreshTokenRequest', null, global);
|
|
49
49
|
goog.exportSymbol('proto.fonoster.identity.v1beta2.ExchangeRefreshTokenResponse', null, global);
|
|
50
|
+
goog.exportSymbol('proto.fonoster.identity.v1beta2.ExchangeVerificationCodeRequest', null, global);
|
|
51
|
+
goog.exportSymbol('proto.fonoster.identity.v1beta2.ExchangeVerificationCodeResponse', null, global);
|
|
50
52
|
goog.exportSymbol('proto.fonoster.identity.v1beta2.GetPublicKeyResponse', null, global);
|
|
51
53
|
goog.exportSymbol('proto.fonoster.identity.v1beta2.GetUserRequest', null, global);
|
|
52
54
|
goog.exportSymbol('proto.fonoster.identity.v1beta2.GetWorkspaceRequest', null, global);
|
|
@@ -1191,6 +1193,48 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
1191
1193
|
*/
|
|
1192
1194
|
proto.fonoster.identity.v1beta2.GetPublicKeyResponse.displayName = 'proto.fonoster.identity.v1beta2.GetPublicKeyResponse';
|
|
1193
1195
|
}
|
|
1196
|
+
/**
|
|
1197
|
+
* Generated by JsPbCodeGenerator.
|
|
1198
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1199
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1200
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1201
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1202
|
+
* valid.
|
|
1203
|
+
* @extends {jspb.Message}
|
|
1204
|
+
* @constructor
|
|
1205
|
+
*/
|
|
1206
|
+
proto.fonoster.identity.v1beta2.ExchangeVerificationCodeRequest = function(opt_data) {
|
|
1207
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1208
|
+
};
|
|
1209
|
+
goog.inherits(proto.fonoster.identity.v1beta2.ExchangeVerificationCodeRequest, jspb.Message);
|
|
1210
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1211
|
+
/**
|
|
1212
|
+
* @public
|
|
1213
|
+
* @override
|
|
1214
|
+
*/
|
|
1215
|
+
proto.fonoster.identity.v1beta2.ExchangeVerificationCodeRequest.displayName = 'proto.fonoster.identity.v1beta2.ExchangeVerificationCodeRequest';
|
|
1216
|
+
}
|
|
1217
|
+
/**
|
|
1218
|
+
* Generated by JsPbCodeGenerator.
|
|
1219
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1220
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1221
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1222
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1223
|
+
* valid.
|
|
1224
|
+
* @extends {jspb.Message}
|
|
1225
|
+
* @constructor
|
|
1226
|
+
*/
|
|
1227
|
+
proto.fonoster.identity.v1beta2.ExchangeVerificationCodeResponse = function(opt_data) {
|
|
1228
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1229
|
+
};
|
|
1230
|
+
goog.inherits(proto.fonoster.identity.v1beta2.ExchangeVerificationCodeResponse, jspb.Message);
|
|
1231
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1232
|
+
/**
|
|
1233
|
+
* @public
|
|
1234
|
+
* @override
|
|
1235
|
+
*/
|
|
1236
|
+
proto.fonoster.identity.v1beta2.ExchangeVerificationCodeResponse.displayName = 'proto.fonoster.identity.v1beta2.ExchangeVerificationCodeResponse';
|
|
1237
|
+
}
|
|
1194
1238
|
|
|
1195
1239
|
|
|
1196
1240
|
|
|
@@ -1229,7 +1273,8 @@ ownerRef: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
|
1229
1273
|
accessKeyId: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
1230
1274
|
createdAt: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
1231
1275
|
updatedAt: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
|
1232
|
-
owner: (f = msg.getOwner()) && proto.fonoster.identity.v1beta2.Workspace.Owner.toObject(includeInstance, f)
|
|
1276
|
+
owner: (f = msg.getOwner()) && proto.fonoster.identity.v1beta2.Workspace.Owner.toObject(includeInstance, f),
|
|
1277
|
+
region: jspb.Message.getFieldWithDefault(msg, 8, "")
|
|
1233
1278
|
};
|
|
1234
1279
|
|
|
1235
1280
|
if (includeInstance) {
|
|
@@ -1295,6 +1340,10 @@ proto.fonoster.identity.v1beta2.Workspace.deserializeBinaryFromReader = function
|
|
|
1295
1340
|
reader.readMessage(value,proto.fonoster.identity.v1beta2.Workspace.Owner.deserializeBinaryFromReader);
|
|
1296
1341
|
msg.setOwner(value);
|
|
1297
1342
|
break;
|
|
1343
|
+
case 8:
|
|
1344
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1345
|
+
msg.setRegion(value);
|
|
1346
|
+
break;
|
|
1298
1347
|
default:
|
|
1299
1348
|
reader.skipField();
|
|
1300
1349
|
break;
|
|
@@ -1374,6 +1423,13 @@ proto.fonoster.identity.v1beta2.Workspace.serializeBinaryToWriter = function(mes
|
|
|
1374
1423
|
proto.fonoster.identity.v1beta2.Workspace.Owner.serializeBinaryToWriter
|
|
1375
1424
|
);
|
|
1376
1425
|
}
|
|
1426
|
+
f = message.getRegion();
|
|
1427
|
+
if (f.length > 0) {
|
|
1428
|
+
writer.writeString(
|
|
1429
|
+
8,
|
|
1430
|
+
f
|
|
1431
|
+
);
|
|
1432
|
+
}
|
|
1377
1433
|
};
|
|
1378
1434
|
|
|
1379
1435
|
|
|
@@ -1712,6 +1768,24 @@ proto.fonoster.identity.v1beta2.Workspace.prototype.hasOwner = function() {
|
|
|
1712
1768
|
};
|
|
1713
1769
|
|
|
1714
1770
|
|
|
1771
|
+
/**
|
|
1772
|
+
* optional string region = 8;
|
|
1773
|
+
* @return {string}
|
|
1774
|
+
*/
|
|
1775
|
+
proto.fonoster.identity.v1beta2.Workspace.prototype.getRegion = function() {
|
|
1776
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
1777
|
+
};
|
|
1778
|
+
|
|
1779
|
+
|
|
1780
|
+
/**
|
|
1781
|
+
* @param {string} value
|
|
1782
|
+
* @return {!proto.fonoster.identity.v1beta2.Workspace} returns this
|
|
1783
|
+
*/
|
|
1784
|
+
proto.fonoster.identity.v1beta2.Workspace.prototype.setRegion = function(value) {
|
|
1785
|
+
return jspb.Message.setProto3StringField(this, 8, value);
|
|
1786
|
+
};
|
|
1787
|
+
|
|
1788
|
+
|
|
1715
1789
|
|
|
1716
1790
|
|
|
1717
1791
|
|
|
@@ -1744,7 +1818,8 @@ proto.fonoster.identity.v1beta2.CreateWorkspaceRequest.prototype.toObject = func
|
|
|
1744
1818
|
*/
|
|
1745
1819
|
proto.fonoster.identity.v1beta2.CreateWorkspaceRequest.toObject = function(includeInstance, msg) {
|
|
1746
1820
|
var f, obj = {
|
|
1747
|
-
name: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
1821
|
+
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
1822
|
+
region: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
1748
1823
|
};
|
|
1749
1824
|
|
|
1750
1825
|
if (includeInstance) {
|
|
@@ -1785,6 +1860,10 @@ proto.fonoster.identity.v1beta2.CreateWorkspaceRequest.deserializeBinaryFromRead
|
|
|
1785
1860
|
var value = /** @type {string} */ (reader.readString());
|
|
1786
1861
|
msg.setName(value);
|
|
1787
1862
|
break;
|
|
1863
|
+
case 2:
|
|
1864
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1865
|
+
msg.setRegion(value);
|
|
1866
|
+
break;
|
|
1788
1867
|
default:
|
|
1789
1868
|
reader.skipField();
|
|
1790
1869
|
break;
|
|
@@ -1821,6 +1900,13 @@ proto.fonoster.identity.v1beta2.CreateWorkspaceRequest.serializeBinaryToWriter =
|
|
|
1821
1900
|
f
|
|
1822
1901
|
);
|
|
1823
1902
|
}
|
|
1903
|
+
f = message.getRegion();
|
|
1904
|
+
if (f.length > 0) {
|
|
1905
|
+
writer.writeString(
|
|
1906
|
+
2,
|
|
1907
|
+
f
|
|
1908
|
+
);
|
|
1909
|
+
}
|
|
1824
1910
|
};
|
|
1825
1911
|
|
|
1826
1912
|
|
|
@@ -1842,6 +1928,24 @@ proto.fonoster.identity.v1beta2.CreateWorkspaceRequest.prototype.setName = funct
|
|
|
1842
1928
|
};
|
|
1843
1929
|
|
|
1844
1930
|
|
|
1931
|
+
/**
|
|
1932
|
+
* optional string region = 2;
|
|
1933
|
+
* @return {string}
|
|
1934
|
+
*/
|
|
1935
|
+
proto.fonoster.identity.v1beta2.CreateWorkspaceRequest.prototype.getRegion = function() {
|
|
1936
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
1937
|
+
};
|
|
1938
|
+
|
|
1939
|
+
|
|
1940
|
+
/**
|
|
1941
|
+
* @param {string} value
|
|
1942
|
+
* @return {!proto.fonoster.identity.v1beta2.CreateWorkspaceRequest} returns this
|
|
1943
|
+
*/
|
|
1944
|
+
proto.fonoster.identity.v1beta2.CreateWorkspaceRequest.prototype.setRegion = function(value) {
|
|
1945
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
1946
|
+
};
|
|
1947
|
+
|
|
1948
|
+
|
|
1845
1949
|
|
|
1846
1950
|
|
|
1847
1951
|
|
|
@@ -1874,7 +1978,10 @@ proto.fonoster.identity.v1beta2.CreateWorkspaceResponse.prototype.toObject = fun
|
|
|
1874
1978
|
*/
|
|
1875
1979
|
proto.fonoster.identity.v1beta2.CreateWorkspaceResponse.toObject = function(includeInstance, msg) {
|
|
1876
1980
|
var f, obj = {
|
|
1877
|
-
ref: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
1981
|
+
ref: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
1982
|
+
region: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
1983
|
+
enrollmentToken: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
1984
|
+
expiresAt: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
1878
1985
|
};
|
|
1879
1986
|
|
|
1880
1987
|
if (includeInstance) {
|
|
@@ -1915,6 +2022,18 @@ proto.fonoster.identity.v1beta2.CreateWorkspaceResponse.deserializeBinaryFromRea
|
|
|
1915
2022
|
var value = /** @type {string} */ (reader.readString());
|
|
1916
2023
|
msg.setRef(value);
|
|
1917
2024
|
break;
|
|
2025
|
+
case 2:
|
|
2026
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2027
|
+
msg.setRegion(value);
|
|
2028
|
+
break;
|
|
2029
|
+
case 3:
|
|
2030
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2031
|
+
msg.setEnrollmentToken(value);
|
|
2032
|
+
break;
|
|
2033
|
+
case 4:
|
|
2034
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2035
|
+
msg.setExpiresAt(value);
|
|
2036
|
+
break;
|
|
1918
2037
|
default:
|
|
1919
2038
|
reader.skipField();
|
|
1920
2039
|
break;
|
|
@@ -1951,6 +2070,27 @@ proto.fonoster.identity.v1beta2.CreateWorkspaceResponse.serializeBinaryToWriter
|
|
|
1951
2070
|
f
|
|
1952
2071
|
);
|
|
1953
2072
|
}
|
|
2073
|
+
f = message.getRegion();
|
|
2074
|
+
if (f.length > 0) {
|
|
2075
|
+
writer.writeString(
|
|
2076
|
+
2,
|
|
2077
|
+
f
|
|
2078
|
+
);
|
|
2079
|
+
}
|
|
2080
|
+
f = message.getEnrollmentToken();
|
|
2081
|
+
if (f.length > 0) {
|
|
2082
|
+
writer.writeString(
|
|
2083
|
+
3,
|
|
2084
|
+
f
|
|
2085
|
+
);
|
|
2086
|
+
}
|
|
2087
|
+
f = message.getExpiresAt();
|
|
2088
|
+
if (f.length > 0) {
|
|
2089
|
+
writer.writeString(
|
|
2090
|
+
4,
|
|
2091
|
+
f
|
|
2092
|
+
);
|
|
2093
|
+
}
|
|
1954
2094
|
};
|
|
1955
2095
|
|
|
1956
2096
|
|
|
@@ -1972,6 +2112,60 @@ proto.fonoster.identity.v1beta2.CreateWorkspaceResponse.prototype.setRef = funct
|
|
|
1972
2112
|
};
|
|
1973
2113
|
|
|
1974
2114
|
|
|
2115
|
+
/**
|
|
2116
|
+
* optional string region = 2;
|
|
2117
|
+
* @return {string}
|
|
2118
|
+
*/
|
|
2119
|
+
proto.fonoster.identity.v1beta2.CreateWorkspaceResponse.prototype.getRegion = function() {
|
|
2120
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
2121
|
+
};
|
|
2122
|
+
|
|
2123
|
+
|
|
2124
|
+
/**
|
|
2125
|
+
* @param {string} value
|
|
2126
|
+
* @return {!proto.fonoster.identity.v1beta2.CreateWorkspaceResponse} returns this
|
|
2127
|
+
*/
|
|
2128
|
+
proto.fonoster.identity.v1beta2.CreateWorkspaceResponse.prototype.setRegion = function(value) {
|
|
2129
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
2130
|
+
};
|
|
2131
|
+
|
|
2132
|
+
|
|
2133
|
+
/**
|
|
2134
|
+
* optional string enrollment_token = 3;
|
|
2135
|
+
* @return {string}
|
|
2136
|
+
*/
|
|
2137
|
+
proto.fonoster.identity.v1beta2.CreateWorkspaceResponse.prototype.getEnrollmentToken = function() {
|
|
2138
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
2139
|
+
};
|
|
2140
|
+
|
|
2141
|
+
|
|
2142
|
+
/**
|
|
2143
|
+
* @param {string} value
|
|
2144
|
+
* @return {!proto.fonoster.identity.v1beta2.CreateWorkspaceResponse} returns this
|
|
2145
|
+
*/
|
|
2146
|
+
proto.fonoster.identity.v1beta2.CreateWorkspaceResponse.prototype.setEnrollmentToken = function(value) {
|
|
2147
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
2148
|
+
};
|
|
2149
|
+
|
|
2150
|
+
|
|
2151
|
+
/**
|
|
2152
|
+
* optional string expires_at = 4;
|
|
2153
|
+
* @return {string}
|
|
2154
|
+
*/
|
|
2155
|
+
proto.fonoster.identity.v1beta2.CreateWorkspaceResponse.prototype.getExpiresAt = function() {
|
|
2156
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
2157
|
+
};
|
|
2158
|
+
|
|
2159
|
+
|
|
2160
|
+
/**
|
|
2161
|
+
* @param {string} value
|
|
2162
|
+
* @return {!proto.fonoster.identity.v1beta2.CreateWorkspaceResponse} returns this
|
|
2163
|
+
*/
|
|
2164
|
+
proto.fonoster.identity.v1beta2.CreateWorkspaceResponse.prototype.setExpiresAt = function(value) {
|
|
2165
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
2166
|
+
};
|
|
2167
|
+
|
|
2168
|
+
|
|
1975
2169
|
|
|
1976
2170
|
|
|
1977
2171
|
|
|
@@ -2745,7 +2939,8 @@ proto.fonoster.identity.v1beta2.UpdateWorkspaceRequest.prototype.toObject = func
|
|
|
2745
2939
|
proto.fonoster.identity.v1beta2.UpdateWorkspaceRequest.toObject = function(includeInstance, msg) {
|
|
2746
2940
|
var f, obj = {
|
|
2747
2941
|
ref: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
2748
|
-
name: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
2942
|
+
name: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
2943
|
+
region: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
2749
2944
|
};
|
|
2750
2945
|
|
|
2751
2946
|
if (includeInstance) {
|
|
@@ -2790,6 +2985,10 @@ proto.fonoster.identity.v1beta2.UpdateWorkspaceRequest.deserializeBinaryFromRead
|
|
|
2790
2985
|
var value = /** @type {string} */ (reader.readString());
|
|
2791
2986
|
msg.setName(value);
|
|
2792
2987
|
break;
|
|
2988
|
+
case 3:
|
|
2989
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2990
|
+
msg.setRegion(value);
|
|
2991
|
+
break;
|
|
2793
2992
|
default:
|
|
2794
2993
|
reader.skipField();
|
|
2795
2994
|
break;
|
|
@@ -2833,6 +3032,13 @@ proto.fonoster.identity.v1beta2.UpdateWorkspaceRequest.serializeBinaryToWriter =
|
|
|
2833
3032
|
f
|
|
2834
3033
|
);
|
|
2835
3034
|
}
|
|
3035
|
+
f = message.getRegion();
|
|
3036
|
+
if (f.length > 0) {
|
|
3037
|
+
writer.writeString(
|
|
3038
|
+
3,
|
|
3039
|
+
f
|
|
3040
|
+
);
|
|
3041
|
+
}
|
|
2836
3042
|
};
|
|
2837
3043
|
|
|
2838
3044
|
|
|
@@ -2872,6 +3078,24 @@ proto.fonoster.identity.v1beta2.UpdateWorkspaceRequest.prototype.setName = funct
|
|
|
2872
3078
|
};
|
|
2873
3079
|
|
|
2874
3080
|
|
|
3081
|
+
/**
|
|
3082
|
+
* optional string region = 3;
|
|
3083
|
+
* @return {string}
|
|
3084
|
+
*/
|
|
3085
|
+
proto.fonoster.identity.v1beta2.UpdateWorkspaceRequest.prototype.getRegion = function() {
|
|
3086
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
3087
|
+
};
|
|
3088
|
+
|
|
3089
|
+
|
|
3090
|
+
/**
|
|
3091
|
+
* @param {string} value
|
|
3092
|
+
* @return {!proto.fonoster.identity.v1beta2.UpdateWorkspaceRequest} returns this
|
|
3093
|
+
*/
|
|
3094
|
+
proto.fonoster.identity.v1beta2.UpdateWorkspaceRequest.prototype.setRegion = function(value) {
|
|
3095
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
3096
|
+
};
|
|
3097
|
+
|
|
3098
|
+
|
|
2875
3099
|
|
|
2876
3100
|
|
|
2877
3101
|
|
|
@@ -5518,7 +5742,8 @@ ref: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
|
5518
5742
|
password: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
5519
5743
|
name: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
5520
5744
|
avatar: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
5521
|
-
phone: jspb.Message.getFieldWithDefault(msg, 5, "")
|
|
5745
|
+
phone: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
5746
|
+
currentPassword: jspb.Message.getFieldWithDefault(msg, 6, "")
|
|
5522
5747
|
};
|
|
5523
5748
|
|
|
5524
5749
|
if (includeInstance) {
|
|
@@ -5575,6 +5800,10 @@ proto.fonoster.identity.v1beta2.UpdateUserRequest.deserializeBinaryFromReader =
|
|
|
5575
5800
|
var value = /** @type {string} */ (reader.readString());
|
|
5576
5801
|
msg.setPhone(value);
|
|
5577
5802
|
break;
|
|
5803
|
+
case 6:
|
|
5804
|
+
var value = /** @type {string} */ (reader.readString());
|
|
5805
|
+
msg.setCurrentPassword(value);
|
|
5806
|
+
break;
|
|
5578
5807
|
default:
|
|
5579
5808
|
reader.skipField();
|
|
5580
5809
|
break;
|
|
@@ -5639,6 +5868,13 @@ proto.fonoster.identity.v1beta2.UpdateUserRequest.serializeBinaryToWriter = func
|
|
|
5639
5868
|
f
|
|
5640
5869
|
);
|
|
5641
5870
|
}
|
|
5871
|
+
f = message.getCurrentPassword();
|
|
5872
|
+
if (f.length > 0) {
|
|
5873
|
+
writer.writeString(
|
|
5874
|
+
6,
|
|
5875
|
+
f
|
|
5876
|
+
);
|
|
5877
|
+
}
|
|
5642
5878
|
};
|
|
5643
5879
|
|
|
5644
5880
|
|
|
@@ -5732,6 +5968,24 @@ proto.fonoster.identity.v1beta2.UpdateUserRequest.prototype.setPhone = function(
|
|
|
5732
5968
|
};
|
|
5733
5969
|
|
|
5734
5970
|
|
|
5971
|
+
/**
|
|
5972
|
+
* optional string current_password = 6;
|
|
5973
|
+
* @return {string}
|
|
5974
|
+
*/
|
|
5975
|
+
proto.fonoster.identity.v1beta2.UpdateUserRequest.prototype.getCurrentPassword = function() {
|
|
5976
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
5977
|
+
};
|
|
5978
|
+
|
|
5979
|
+
|
|
5980
|
+
/**
|
|
5981
|
+
* @param {string} value
|
|
5982
|
+
* @return {!proto.fonoster.identity.v1beta2.UpdateUserRequest} returns this
|
|
5983
|
+
*/
|
|
5984
|
+
proto.fonoster.identity.v1beta2.UpdateUserRequest.prototype.setCurrentPassword = function(value) {
|
|
5985
|
+
return jspb.Message.setProto3StringField(this, 6, value);
|
|
5986
|
+
};
|
|
5987
|
+
|
|
5988
|
+
|
|
5735
5989
|
|
|
5736
5990
|
|
|
5737
5991
|
|
|
@@ -10209,6 +10463,356 @@ proto.fonoster.identity.v1beta2.GetPublicKeyResponse.prototype.setPublicKey = fu
|
|
|
10209
10463
|
};
|
|
10210
10464
|
|
|
10211
10465
|
|
|
10466
|
+
|
|
10467
|
+
|
|
10468
|
+
|
|
10469
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
10470
|
+
/**
|
|
10471
|
+
* Creates an object representation of this proto.
|
|
10472
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
10473
|
+
* Optional fields that are not set will be set to undefined.
|
|
10474
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
10475
|
+
* For the list of reserved names please see:
|
|
10476
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
10477
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
10478
|
+
* JSPB instance for transitional soy proto support:
|
|
10479
|
+
* http://goto/soy-param-migration
|
|
10480
|
+
* @return {!Object}
|
|
10481
|
+
*/
|
|
10482
|
+
proto.fonoster.identity.v1beta2.ExchangeVerificationCodeRequest.prototype.toObject = function(opt_includeInstance) {
|
|
10483
|
+
return proto.fonoster.identity.v1beta2.ExchangeVerificationCodeRequest.toObject(opt_includeInstance, this);
|
|
10484
|
+
};
|
|
10485
|
+
|
|
10486
|
+
|
|
10487
|
+
/**
|
|
10488
|
+
* Static version of the {@see toObject} method.
|
|
10489
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
10490
|
+
* the JSPB instance for transitional soy proto support:
|
|
10491
|
+
* http://goto/soy-param-migration
|
|
10492
|
+
* @param {!proto.fonoster.identity.v1beta2.ExchangeVerificationCodeRequest} msg The msg instance to transform.
|
|
10493
|
+
* @return {!Object}
|
|
10494
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
10495
|
+
*/
|
|
10496
|
+
proto.fonoster.identity.v1beta2.ExchangeVerificationCodeRequest.toObject = function(includeInstance, msg) {
|
|
10497
|
+
var f, obj = {
|
|
10498
|
+
email: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
10499
|
+
code: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
10500
|
+
};
|
|
10501
|
+
|
|
10502
|
+
if (includeInstance) {
|
|
10503
|
+
obj.$jspbMessageInstance = msg;
|
|
10504
|
+
}
|
|
10505
|
+
return obj;
|
|
10506
|
+
};
|
|
10507
|
+
}
|
|
10508
|
+
|
|
10509
|
+
|
|
10510
|
+
/**
|
|
10511
|
+
* Deserializes binary data (in protobuf wire format).
|
|
10512
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
10513
|
+
* @return {!proto.fonoster.identity.v1beta2.ExchangeVerificationCodeRequest}
|
|
10514
|
+
*/
|
|
10515
|
+
proto.fonoster.identity.v1beta2.ExchangeVerificationCodeRequest.deserializeBinary = function(bytes) {
|
|
10516
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
10517
|
+
var msg = new proto.fonoster.identity.v1beta2.ExchangeVerificationCodeRequest;
|
|
10518
|
+
return proto.fonoster.identity.v1beta2.ExchangeVerificationCodeRequest.deserializeBinaryFromReader(msg, reader);
|
|
10519
|
+
};
|
|
10520
|
+
|
|
10521
|
+
|
|
10522
|
+
/**
|
|
10523
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
10524
|
+
* given reader into the given message object.
|
|
10525
|
+
* @param {!proto.fonoster.identity.v1beta2.ExchangeVerificationCodeRequest} msg The message object to deserialize into.
|
|
10526
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
10527
|
+
* @return {!proto.fonoster.identity.v1beta2.ExchangeVerificationCodeRequest}
|
|
10528
|
+
*/
|
|
10529
|
+
proto.fonoster.identity.v1beta2.ExchangeVerificationCodeRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
10530
|
+
while (reader.nextField()) {
|
|
10531
|
+
if (reader.isEndGroup()) {
|
|
10532
|
+
break;
|
|
10533
|
+
}
|
|
10534
|
+
var field = reader.getFieldNumber();
|
|
10535
|
+
switch (field) {
|
|
10536
|
+
case 1:
|
|
10537
|
+
var value = /** @type {string} */ (reader.readString());
|
|
10538
|
+
msg.setEmail(value);
|
|
10539
|
+
break;
|
|
10540
|
+
case 2:
|
|
10541
|
+
var value = /** @type {string} */ (reader.readString());
|
|
10542
|
+
msg.setCode(value);
|
|
10543
|
+
break;
|
|
10544
|
+
default:
|
|
10545
|
+
reader.skipField();
|
|
10546
|
+
break;
|
|
10547
|
+
}
|
|
10548
|
+
}
|
|
10549
|
+
return msg;
|
|
10550
|
+
};
|
|
10551
|
+
|
|
10552
|
+
|
|
10553
|
+
/**
|
|
10554
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
10555
|
+
* @return {!Uint8Array}
|
|
10556
|
+
*/
|
|
10557
|
+
proto.fonoster.identity.v1beta2.ExchangeVerificationCodeRequest.prototype.serializeBinary = function() {
|
|
10558
|
+
var writer = new jspb.BinaryWriter();
|
|
10559
|
+
proto.fonoster.identity.v1beta2.ExchangeVerificationCodeRequest.serializeBinaryToWriter(this, writer);
|
|
10560
|
+
return writer.getResultBuffer();
|
|
10561
|
+
};
|
|
10562
|
+
|
|
10563
|
+
|
|
10564
|
+
/**
|
|
10565
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
10566
|
+
* format), writing to the given BinaryWriter.
|
|
10567
|
+
* @param {!proto.fonoster.identity.v1beta2.ExchangeVerificationCodeRequest} message
|
|
10568
|
+
* @param {!jspb.BinaryWriter} writer
|
|
10569
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
10570
|
+
*/
|
|
10571
|
+
proto.fonoster.identity.v1beta2.ExchangeVerificationCodeRequest.serializeBinaryToWriter = function(message, writer) {
|
|
10572
|
+
var f = undefined;
|
|
10573
|
+
f = message.getEmail();
|
|
10574
|
+
if (f.length > 0) {
|
|
10575
|
+
writer.writeString(
|
|
10576
|
+
1,
|
|
10577
|
+
f
|
|
10578
|
+
);
|
|
10579
|
+
}
|
|
10580
|
+
f = message.getCode();
|
|
10581
|
+
if (f.length > 0) {
|
|
10582
|
+
writer.writeString(
|
|
10583
|
+
2,
|
|
10584
|
+
f
|
|
10585
|
+
);
|
|
10586
|
+
}
|
|
10587
|
+
};
|
|
10588
|
+
|
|
10589
|
+
|
|
10590
|
+
/**
|
|
10591
|
+
* optional string email = 1;
|
|
10592
|
+
* @return {string}
|
|
10593
|
+
*/
|
|
10594
|
+
proto.fonoster.identity.v1beta2.ExchangeVerificationCodeRequest.prototype.getEmail = function() {
|
|
10595
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
10596
|
+
};
|
|
10597
|
+
|
|
10598
|
+
|
|
10599
|
+
/**
|
|
10600
|
+
* @param {string} value
|
|
10601
|
+
* @return {!proto.fonoster.identity.v1beta2.ExchangeVerificationCodeRequest} returns this
|
|
10602
|
+
*/
|
|
10603
|
+
proto.fonoster.identity.v1beta2.ExchangeVerificationCodeRequest.prototype.setEmail = function(value) {
|
|
10604
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
10605
|
+
};
|
|
10606
|
+
|
|
10607
|
+
|
|
10608
|
+
/**
|
|
10609
|
+
* optional string code = 2;
|
|
10610
|
+
* @return {string}
|
|
10611
|
+
*/
|
|
10612
|
+
proto.fonoster.identity.v1beta2.ExchangeVerificationCodeRequest.prototype.getCode = function() {
|
|
10613
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
10614
|
+
};
|
|
10615
|
+
|
|
10616
|
+
|
|
10617
|
+
/**
|
|
10618
|
+
* @param {string} value
|
|
10619
|
+
* @return {!proto.fonoster.identity.v1beta2.ExchangeVerificationCodeRequest} returns this
|
|
10620
|
+
*/
|
|
10621
|
+
proto.fonoster.identity.v1beta2.ExchangeVerificationCodeRequest.prototype.setCode = function(value) {
|
|
10622
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
10623
|
+
};
|
|
10624
|
+
|
|
10625
|
+
|
|
10626
|
+
|
|
10627
|
+
|
|
10628
|
+
|
|
10629
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
10630
|
+
/**
|
|
10631
|
+
* Creates an object representation of this proto.
|
|
10632
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
10633
|
+
* Optional fields that are not set will be set to undefined.
|
|
10634
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
10635
|
+
* For the list of reserved names please see:
|
|
10636
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
10637
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
10638
|
+
* JSPB instance for transitional soy proto support:
|
|
10639
|
+
* http://goto/soy-param-migration
|
|
10640
|
+
* @return {!Object}
|
|
10641
|
+
*/
|
|
10642
|
+
proto.fonoster.identity.v1beta2.ExchangeVerificationCodeResponse.prototype.toObject = function(opt_includeInstance) {
|
|
10643
|
+
return proto.fonoster.identity.v1beta2.ExchangeVerificationCodeResponse.toObject(opt_includeInstance, this);
|
|
10644
|
+
};
|
|
10645
|
+
|
|
10646
|
+
|
|
10647
|
+
/**
|
|
10648
|
+
* Static version of the {@see toObject} method.
|
|
10649
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
10650
|
+
* the JSPB instance for transitional soy proto support:
|
|
10651
|
+
* http://goto/soy-param-migration
|
|
10652
|
+
* @param {!proto.fonoster.identity.v1beta2.ExchangeVerificationCodeResponse} msg The msg instance to transform.
|
|
10653
|
+
* @return {!Object}
|
|
10654
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
10655
|
+
*/
|
|
10656
|
+
proto.fonoster.identity.v1beta2.ExchangeVerificationCodeResponse.toObject = function(includeInstance, msg) {
|
|
10657
|
+
var f, obj = {
|
|
10658
|
+
idToken: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
10659
|
+
accessToken: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
10660
|
+
refreshToken: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
10661
|
+
};
|
|
10662
|
+
|
|
10663
|
+
if (includeInstance) {
|
|
10664
|
+
obj.$jspbMessageInstance = msg;
|
|
10665
|
+
}
|
|
10666
|
+
return obj;
|
|
10667
|
+
};
|
|
10668
|
+
}
|
|
10669
|
+
|
|
10670
|
+
|
|
10671
|
+
/**
|
|
10672
|
+
* Deserializes binary data (in protobuf wire format).
|
|
10673
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
10674
|
+
* @return {!proto.fonoster.identity.v1beta2.ExchangeVerificationCodeResponse}
|
|
10675
|
+
*/
|
|
10676
|
+
proto.fonoster.identity.v1beta2.ExchangeVerificationCodeResponse.deserializeBinary = function(bytes) {
|
|
10677
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
10678
|
+
var msg = new proto.fonoster.identity.v1beta2.ExchangeVerificationCodeResponse;
|
|
10679
|
+
return proto.fonoster.identity.v1beta2.ExchangeVerificationCodeResponse.deserializeBinaryFromReader(msg, reader);
|
|
10680
|
+
};
|
|
10681
|
+
|
|
10682
|
+
|
|
10683
|
+
/**
|
|
10684
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
10685
|
+
* given reader into the given message object.
|
|
10686
|
+
* @param {!proto.fonoster.identity.v1beta2.ExchangeVerificationCodeResponse} msg The message object to deserialize into.
|
|
10687
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
10688
|
+
* @return {!proto.fonoster.identity.v1beta2.ExchangeVerificationCodeResponse}
|
|
10689
|
+
*/
|
|
10690
|
+
proto.fonoster.identity.v1beta2.ExchangeVerificationCodeResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
10691
|
+
while (reader.nextField()) {
|
|
10692
|
+
if (reader.isEndGroup()) {
|
|
10693
|
+
break;
|
|
10694
|
+
}
|
|
10695
|
+
var field = reader.getFieldNumber();
|
|
10696
|
+
switch (field) {
|
|
10697
|
+
case 1:
|
|
10698
|
+
var value = /** @type {string} */ (reader.readString());
|
|
10699
|
+
msg.setIdToken(value);
|
|
10700
|
+
break;
|
|
10701
|
+
case 2:
|
|
10702
|
+
var value = /** @type {string} */ (reader.readString());
|
|
10703
|
+
msg.setAccessToken(value);
|
|
10704
|
+
break;
|
|
10705
|
+
case 3:
|
|
10706
|
+
var value = /** @type {string} */ (reader.readString());
|
|
10707
|
+
msg.setRefreshToken(value);
|
|
10708
|
+
break;
|
|
10709
|
+
default:
|
|
10710
|
+
reader.skipField();
|
|
10711
|
+
break;
|
|
10712
|
+
}
|
|
10713
|
+
}
|
|
10714
|
+
return msg;
|
|
10715
|
+
};
|
|
10716
|
+
|
|
10717
|
+
|
|
10718
|
+
/**
|
|
10719
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
10720
|
+
* @return {!Uint8Array}
|
|
10721
|
+
*/
|
|
10722
|
+
proto.fonoster.identity.v1beta2.ExchangeVerificationCodeResponse.prototype.serializeBinary = function() {
|
|
10723
|
+
var writer = new jspb.BinaryWriter();
|
|
10724
|
+
proto.fonoster.identity.v1beta2.ExchangeVerificationCodeResponse.serializeBinaryToWriter(this, writer);
|
|
10725
|
+
return writer.getResultBuffer();
|
|
10726
|
+
};
|
|
10727
|
+
|
|
10728
|
+
|
|
10729
|
+
/**
|
|
10730
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
10731
|
+
* format), writing to the given BinaryWriter.
|
|
10732
|
+
* @param {!proto.fonoster.identity.v1beta2.ExchangeVerificationCodeResponse} message
|
|
10733
|
+
* @param {!jspb.BinaryWriter} writer
|
|
10734
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
10735
|
+
*/
|
|
10736
|
+
proto.fonoster.identity.v1beta2.ExchangeVerificationCodeResponse.serializeBinaryToWriter = function(message, writer) {
|
|
10737
|
+
var f = undefined;
|
|
10738
|
+
f = message.getIdToken();
|
|
10739
|
+
if (f.length > 0) {
|
|
10740
|
+
writer.writeString(
|
|
10741
|
+
1,
|
|
10742
|
+
f
|
|
10743
|
+
);
|
|
10744
|
+
}
|
|
10745
|
+
f = message.getAccessToken();
|
|
10746
|
+
if (f.length > 0) {
|
|
10747
|
+
writer.writeString(
|
|
10748
|
+
2,
|
|
10749
|
+
f
|
|
10750
|
+
);
|
|
10751
|
+
}
|
|
10752
|
+
f = message.getRefreshToken();
|
|
10753
|
+
if (f.length > 0) {
|
|
10754
|
+
writer.writeString(
|
|
10755
|
+
3,
|
|
10756
|
+
f
|
|
10757
|
+
);
|
|
10758
|
+
}
|
|
10759
|
+
};
|
|
10760
|
+
|
|
10761
|
+
|
|
10762
|
+
/**
|
|
10763
|
+
* optional string id_token = 1;
|
|
10764
|
+
* @return {string}
|
|
10765
|
+
*/
|
|
10766
|
+
proto.fonoster.identity.v1beta2.ExchangeVerificationCodeResponse.prototype.getIdToken = function() {
|
|
10767
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
10768
|
+
};
|
|
10769
|
+
|
|
10770
|
+
|
|
10771
|
+
/**
|
|
10772
|
+
* @param {string} value
|
|
10773
|
+
* @return {!proto.fonoster.identity.v1beta2.ExchangeVerificationCodeResponse} returns this
|
|
10774
|
+
*/
|
|
10775
|
+
proto.fonoster.identity.v1beta2.ExchangeVerificationCodeResponse.prototype.setIdToken = function(value) {
|
|
10776
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
10777
|
+
};
|
|
10778
|
+
|
|
10779
|
+
|
|
10780
|
+
/**
|
|
10781
|
+
* optional string access_token = 2;
|
|
10782
|
+
* @return {string}
|
|
10783
|
+
*/
|
|
10784
|
+
proto.fonoster.identity.v1beta2.ExchangeVerificationCodeResponse.prototype.getAccessToken = function() {
|
|
10785
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
10786
|
+
};
|
|
10787
|
+
|
|
10788
|
+
|
|
10789
|
+
/**
|
|
10790
|
+
* @param {string} value
|
|
10791
|
+
* @return {!proto.fonoster.identity.v1beta2.ExchangeVerificationCodeResponse} returns this
|
|
10792
|
+
*/
|
|
10793
|
+
proto.fonoster.identity.v1beta2.ExchangeVerificationCodeResponse.prototype.setAccessToken = function(value) {
|
|
10794
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
10795
|
+
};
|
|
10796
|
+
|
|
10797
|
+
|
|
10798
|
+
/**
|
|
10799
|
+
* optional string refresh_token = 3;
|
|
10800
|
+
* @return {string}
|
|
10801
|
+
*/
|
|
10802
|
+
proto.fonoster.identity.v1beta2.ExchangeVerificationCodeResponse.prototype.getRefreshToken = function() {
|
|
10803
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
10804
|
+
};
|
|
10805
|
+
|
|
10806
|
+
|
|
10807
|
+
/**
|
|
10808
|
+
* @param {string} value
|
|
10809
|
+
* @return {!proto.fonoster.identity.v1beta2.ExchangeVerificationCodeResponse} returns this
|
|
10810
|
+
*/
|
|
10811
|
+
proto.fonoster.identity.v1beta2.ExchangeVerificationCodeResponse.prototype.setRefreshToken = function(value) {
|
|
10812
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
10813
|
+
};
|
|
10814
|
+
|
|
10815
|
+
|
|
10212
10816
|
/**
|
|
10213
10817
|
* @enum {number}
|
|
10214
10818
|
*/
|