OLD | NEW |
1 // This is a generated file (see the discoveryapis_generator project). | 1 // This is a generated file (see the discoveryapis_generator project). |
2 | 2 |
3 library googleapis.identitytoolkit.v3; | 3 library googleapis.identitytoolkit.v3; |
4 | 4 |
5 import 'dart:core' as core; | 5 import 'dart:core' as core; |
6 import 'dart:collection' as collection; | 6 import 'dart:collection' as collection; |
7 import 'dart:async' as async; | 7 import 'dart:async' as async; |
8 import 'dart:convert' as convert; | 8 import 'dart:convert' as convert; |
9 | 9 |
10 import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons; | 10 import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons; |
(...skipping 1264 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1275 * GCP project number of the requesting delegated app. Currently only intended | 1275 * GCP project number of the requesting delegated app. Currently only intended |
1276 * for Firebase V1 migration. | 1276 * for Firebase V1 migration. |
1277 */ | 1277 */ |
1278 core.String delegatedProjectNumber; | 1278 core.String delegatedProjectNumber; |
1279 /** The list of emails of the users to inquiry. */ | 1279 /** The list of emails of the users to inquiry. */ |
1280 core.List<core.String> email; | 1280 core.List<core.String> email; |
1281 /** The GITKit token of the authenticated user. */ | 1281 /** The GITKit token of the authenticated user. */ |
1282 core.String idToken; | 1282 core.String idToken; |
1283 /** The list of local ID's of the users to inquiry. */ | 1283 /** The list of local ID's of the users to inquiry. */ |
1284 core.List<core.String> localId; | 1284 core.List<core.String> localId; |
| 1285 /** Privileged caller can query users by specified phone number. */ |
| 1286 core.List<core.String> phoneNumber; |
1285 | 1287 |
1286 IdentitytoolkitRelyingpartyGetAccountInfoRequest(); | 1288 IdentitytoolkitRelyingpartyGetAccountInfoRequest(); |
1287 | 1289 |
1288 IdentitytoolkitRelyingpartyGetAccountInfoRequest.fromJson(core.Map _json) { | 1290 IdentitytoolkitRelyingpartyGetAccountInfoRequest.fromJson(core.Map _json) { |
1289 if (_json.containsKey("delegatedProjectNumber")) { | 1291 if (_json.containsKey("delegatedProjectNumber")) { |
1290 delegatedProjectNumber = _json["delegatedProjectNumber"]; | 1292 delegatedProjectNumber = _json["delegatedProjectNumber"]; |
1291 } | 1293 } |
1292 if (_json.containsKey("email")) { | 1294 if (_json.containsKey("email")) { |
1293 email = _json["email"]; | 1295 email = _json["email"]; |
1294 } | 1296 } |
1295 if (_json.containsKey("idToken")) { | 1297 if (_json.containsKey("idToken")) { |
1296 idToken = _json["idToken"]; | 1298 idToken = _json["idToken"]; |
1297 } | 1299 } |
1298 if (_json.containsKey("localId")) { | 1300 if (_json.containsKey("localId")) { |
1299 localId = _json["localId"]; | 1301 localId = _json["localId"]; |
1300 } | 1302 } |
| 1303 if (_json.containsKey("phoneNumber")) { |
| 1304 phoneNumber = _json["phoneNumber"]; |
| 1305 } |
1301 } | 1306 } |
1302 | 1307 |
1303 core.Map<core.String, core.Object> toJson() { | 1308 core.Map<core.String, core.Object> toJson() { |
1304 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); | 1309 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
1305 if (delegatedProjectNumber != null) { | 1310 if (delegatedProjectNumber != null) { |
1306 _json["delegatedProjectNumber"] = delegatedProjectNumber; | 1311 _json["delegatedProjectNumber"] = delegatedProjectNumber; |
1307 } | 1312 } |
1308 if (email != null) { | 1313 if (email != null) { |
1309 _json["email"] = email; | 1314 _json["email"] = email; |
1310 } | 1315 } |
1311 if (idToken != null) { | 1316 if (idToken != null) { |
1312 _json["idToken"] = idToken; | 1317 _json["idToken"] = idToken; |
1313 } | 1318 } |
1314 if (localId != null) { | 1319 if (localId != null) { |
1315 _json["localId"] = localId; | 1320 _json["localId"] = localId; |
1316 } | 1321 } |
| 1322 if (phoneNumber != null) { |
| 1323 _json["phoneNumber"] = phoneNumber; |
| 1324 } |
1317 return _json; | 1325 return _json; |
1318 } | 1326 } |
1319 } | 1327 } |
1320 | 1328 |
1321 /** Response of getting the project configuration. */ | 1329 /** Response of getting the project configuration. */ |
1322 class IdentitytoolkitRelyingpartyGetProjectConfigResponse { | 1330 class IdentitytoolkitRelyingpartyGetProjectConfigResponse { |
1323 /** Whether to allow password user sign in or sign up. */ | 1331 /** Whether to allow password user sign in or sign up. */ |
1324 core.bool allowPasswordUser; | 1332 core.bool allowPasswordUser; |
1325 /** Browser API key, needed when making http request to Apiary. */ | 1333 /** Browser API key, needed when making http request to Apiary. */ |
1326 core.String apiKey; | 1334 core.String apiKey; |
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1540 /** Instance id token of the app. */ | 1548 /** Instance id token of the app. */ |
1541 core.String instanceId; | 1549 core.String instanceId; |
1542 /** Last login timestamp. */ | 1550 /** Last login timestamp. */ |
1543 core.String lastLoginAt; | 1551 core.String lastLoginAt; |
1544 /** The local ID of the user. */ | 1552 /** The local ID of the user. */ |
1545 core.String localId; | 1553 core.String localId; |
1546 /** The out-of-band code of the change email request. */ | 1554 /** The out-of-band code of the change email request. */ |
1547 core.String oobCode; | 1555 core.String oobCode; |
1548 /** The new password of the user. */ | 1556 /** The new password of the user. */ |
1549 core.String password; | 1557 core.String password; |
| 1558 /** Privileged caller can update user with specified phone number. */ |
| 1559 core.String phoneNumber; |
1550 /** The photo url of the user. */ | 1560 /** The photo url of the user. */ |
1551 core.String photoUrl; | 1561 core.String photoUrl; |
1552 /** The associated IDPs of the user. */ | 1562 /** The associated IDPs of the user. */ |
1553 core.List<core.String> provider; | 1563 core.List<core.String> provider; |
1554 /** Whether return sts id token and refresh token instead of gitkit token. */ | 1564 /** Whether return sts id token and refresh token instead of gitkit token. */ |
1555 core.bool returnSecureToken; | 1565 core.bool returnSecureToken; |
1556 /** Mark the user to upgrade to federated login. */ | 1566 /** Mark the user to upgrade to federated login. */ |
1557 core.bool upgradeToFederatedLogin; | 1567 core.bool upgradeToFederatedLogin; |
1558 /** Timestamp in seconds for valid login token. */ | 1568 /** Timestamp in seconds for valid login token. */ |
1559 core.String validSince; | 1569 core.String validSince; |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1602 } | 1612 } |
1603 if (_json.containsKey("localId")) { | 1613 if (_json.containsKey("localId")) { |
1604 localId = _json["localId"]; | 1614 localId = _json["localId"]; |
1605 } | 1615 } |
1606 if (_json.containsKey("oobCode")) { | 1616 if (_json.containsKey("oobCode")) { |
1607 oobCode = _json["oobCode"]; | 1617 oobCode = _json["oobCode"]; |
1608 } | 1618 } |
1609 if (_json.containsKey("password")) { | 1619 if (_json.containsKey("password")) { |
1610 password = _json["password"]; | 1620 password = _json["password"]; |
1611 } | 1621 } |
| 1622 if (_json.containsKey("phoneNumber")) { |
| 1623 phoneNumber = _json["phoneNumber"]; |
| 1624 } |
1612 if (_json.containsKey("photoUrl")) { | 1625 if (_json.containsKey("photoUrl")) { |
1613 photoUrl = _json["photoUrl"]; | 1626 photoUrl = _json["photoUrl"]; |
1614 } | 1627 } |
1615 if (_json.containsKey("provider")) { | 1628 if (_json.containsKey("provider")) { |
1616 provider = _json["provider"]; | 1629 provider = _json["provider"]; |
1617 } | 1630 } |
1618 if (_json.containsKey("returnSecureToken")) { | 1631 if (_json.containsKey("returnSecureToken")) { |
1619 returnSecureToken = _json["returnSecureToken"]; | 1632 returnSecureToken = _json["returnSecureToken"]; |
1620 } | 1633 } |
1621 if (_json.containsKey("upgradeToFederatedLogin")) { | 1634 if (_json.containsKey("upgradeToFederatedLogin")) { |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1669 } | 1682 } |
1670 if (localId != null) { | 1683 if (localId != null) { |
1671 _json["localId"] = localId; | 1684 _json["localId"] = localId; |
1672 } | 1685 } |
1673 if (oobCode != null) { | 1686 if (oobCode != null) { |
1674 _json["oobCode"] = oobCode; | 1687 _json["oobCode"] = oobCode; |
1675 } | 1688 } |
1676 if (password != null) { | 1689 if (password != null) { |
1677 _json["password"] = password; | 1690 _json["password"] = password; |
1678 } | 1691 } |
| 1692 if (phoneNumber != null) { |
| 1693 _json["phoneNumber"] = phoneNumber; |
| 1694 } |
1679 if (photoUrl != null) { | 1695 if (photoUrl != null) { |
1680 _json["photoUrl"] = photoUrl; | 1696 _json["photoUrl"] = photoUrl; |
1681 } | 1697 } |
1682 if (provider != null) { | 1698 if (provider != null) { |
1683 _json["provider"] = provider; | 1699 _json["provider"] = provider; |
1684 } | 1700 } |
1685 if (returnSecureToken != null) { | 1701 if (returnSecureToken != null) { |
1686 _json["returnSecureToken"] = returnSecureToken; | 1702 _json["returnSecureToken"] = returnSecureToken; |
1687 } | 1703 } |
1688 if (upgradeToFederatedLogin != null) { | 1704 if (upgradeToFederatedLogin != null) { |
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1893 */ | 1909 */ |
1894 core.bool emailVerified; | 1910 core.bool emailVerified; |
1895 /** The GITKit token of the authenticated user. */ | 1911 /** The GITKit token of the authenticated user. */ |
1896 core.String idToken; | 1912 core.String idToken; |
1897 /** Instance id token of the app. */ | 1913 /** Instance id token of the app. */ |
1898 core.String instanceId; | 1914 core.String instanceId; |
1899 /** Privileged caller can create user with specified user id. */ | 1915 /** Privileged caller can create user with specified user id. */ |
1900 core.String localId; | 1916 core.String localId; |
1901 /** The new password of the user. */ | 1917 /** The new password of the user. */ |
1902 core.String password; | 1918 core.String password; |
| 1919 /** Privileged caller can create user with specified phone number. */ |
| 1920 core.String phoneNumber; |
1903 /** The photo url of the user. */ | 1921 /** The photo url of the user. */ |
1904 core.String photoUrl; | 1922 core.String photoUrl; |
1905 | 1923 |
1906 IdentitytoolkitRelyingpartySignupNewUserRequest(); | 1924 IdentitytoolkitRelyingpartySignupNewUserRequest(); |
1907 | 1925 |
1908 IdentitytoolkitRelyingpartySignupNewUserRequest.fromJson(core.Map _json) { | 1926 IdentitytoolkitRelyingpartySignupNewUserRequest.fromJson(core.Map _json) { |
1909 if (_json.containsKey("captchaChallenge")) { | 1927 if (_json.containsKey("captchaChallenge")) { |
1910 captchaChallenge = _json["captchaChallenge"]; | 1928 captchaChallenge = _json["captchaChallenge"]; |
1911 } | 1929 } |
1912 if (_json.containsKey("captchaResponse")) { | 1930 if (_json.containsKey("captchaResponse")) { |
(...skipping 16 matching lines...) Expand all Loading... |
1929 } | 1947 } |
1930 if (_json.containsKey("instanceId")) { | 1948 if (_json.containsKey("instanceId")) { |
1931 instanceId = _json["instanceId"]; | 1949 instanceId = _json["instanceId"]; |
1932 } | 1950 } |
1933 if (_json.containsKey("localId")) { | 1951 if (_json.containsKey("localId")) { |
1934 localId = _json["localId"]; | 1952 localId = _json["localId"]; |
1935 } | 1953 } |
1936 if (_json.containsKey("password")) { | 1954 if (_json.containsKey("password")) { |
1937 password = _json["password"]; | 1955 password = _json["password"]; |
1938 } | 1956 } |
| 1957 if (_json.containsKey("phoneNumber")) { |
| 1958 phoneNumber = _json["phoneNumber"]; |
| 1959 } |
1939 if (_json.containsKey("photoUrl")) { | 1960 if (_json.containsKey("photoUrl")) { |
1940 photoUrl = _json["photoUrl"]; | 1961 photoUrl = _json["photoUrl"]; |
1941 } | 1962 } |
1942 } | 1963 } |
1943 | 1964 |
1944 core.Map<core.String, core.Object> toJson() { | 1965 core.Map<core.String, core.Object> toJson() { |
1945 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); | 1966 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
1946 if (captchaChallenge != null) { | 1967 if (captchaChallenge != null) { |
1947 _json["captchaChallenge"] = captchaChallenge; | 1968 _json["captchaChallenge"] = captchaChallenge; |
1948 } | 1969 } |
(...skipping 17 matching lines...) Expand all Loading... |
1966 } | 1987 } |
1967 if (instanceId != null) { | 1988 if (instanceId != null) { |
1968 _json["instanceId"] = instanceId; | 1989 _json["instanceId"] = instanceId; |
1969 } | 1990 } |
1970 if (localId != null) { | 1991 if (localId != null) { |
1971 _json["localId"] = localId; | 1992 _json["localId"] = localId; |
1972 } | 1993 } |
1973 if (password != null) { | 1994 if (password != null) { |
1974 _json["password"] = password; | 1995 _json["password"] = password; |
1975 } | 1996 } |
| 1997 if (phoneNumber != null) { |
| 1998 _json["phoneNumber"] = phoneNumber; |
| 1999 } |
1976 if (photoUrl != null) { | 2000 if (photoUrl != null) { |
1977 _json["photoUrl"] = photoUrl; | 2001 _json["photoUrl"] = photoUrl; |
1978 } | 2002 } |
1979 return _json; | 2003 return _json; |
1980 } | 2004 } |
1981 } | 2005 } |
1982 | 2006 |
1983 /** Request to upload user account in batch. */ | 2007 /** Request to upload user account in batch. */ |
1984 class IdentitytoolkitRelyingpartyUploadAccountRequest { | 2008 class IdentitytoolkitRelyingpartyUploadAccountRequest { |
1985 /** Whether allow overwrite existing account when user local_id exists. */ | 2009 /** Whether allow overwrite existing account when user local_id exists. */ |
(...skipping 1709 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3695 } | 3719 } |
3696 if (refreshToken != null) { | 3720 if (refreshToken != null) { |
3697 _json["refreshToken"] = refreshToken; | 3721 _json["refreshToken"] = refreshToken; |
3698 } | 3722 } |
3699 if (registered != null) { | 3723 if (registered != null) { |
3700 _json["registered"] = registered; | 3724 _json["registered"] = registered; |
3701 } | 3725 } |
3702 return _json; | 3726 return _json; |
3703 } | 3727 } |
3704 } | 3728 } |
OLD | NEW |