@maxim_mazurok/gapi.client.identitytoolkit-v1 0.0.20250121 → 0.0.20250130
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/index.d.ts +38 -43
- package/package.json +1 -1
- package/readme.md +2 -2
package/index.d.ts
CHANGED
|
@@ -9,14 +9,14 @@
|
|
|
9
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
10
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
11
11
|
// Generated from: https://identitytoolkit.googleapis.com/$discovery/rest?version=v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20250130
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
16
16
|
declare namespace gapi.client {
|
|
17
17
|
/** Load Identity Toolkit API v1 */
|
|
18
18
|
function load(
|
|
19
|
-
urlOrObject: 'https://identitytoolkit.googleapis.com/$discovery/rest?version=v1'
|
|
19
|
+
urlOrObject: 'https://identitytoolkit.googleapis.com/$discovery/rest?version=v1',
|
|
20
20
|
): Promise<void>;
|
|
21
21
|
/** @deprecated Please load APIs with discovery documents. */
|
|
22
22
|
function load(name: 'identitytoolkit', version: 'v1'): Promise<void>;
|
|
@@ -24,7 +24,7 @@ declare namespace gapi.client {
|
|
|
24
24
|
function load(
|
|
25
25
|
name: 'identitytoolkit',
|
|
26
26
|
version: 'v1',
|
|
27
|
-
callback: () => any
|
|
27
|
+
callback: () => any,
|
|
28
28
|
): void;
|
|
29
29
|
|
|
30
30
|
namespace identitytoolkit {
|
|
@@ -187,7 +187,6 @@ declare namespace gapi.client {
|
|
|
187
187
|
delegatedProjectNumber?: string;
|
|
188
188
|
/** The email address of one or more accounts to fetch. The length of email should be less than 256 characters and in the format of `name@domain.tld`. The email should also match the [RFC 822](https://tools.ietf.org/html/rfc822) addr-spec production. Should only be specified by authenticated requests from a developer. */
|
|
189
189
|
email?: string[];
|
|
190
|
-
/** The federated user identifier of one or more accounts to fetch. Should only be specified by authenticated requests bearing a Google OAuth 2.0 credential with proper [permissions](https://cloud.google.com/identity-platform/docs/access-control). */
|
|
191
190
|
federatedUserId?: GoogleCloudIdentitytoolkitV1FederatedUserIdentifier[];
|
|
192
191
|
/** The Identity Platform ID token of the account to fetch. Require to be specified for requests from end users. */
|
|
193
192
|
idToken?: string;
|
|
@@ -233,6 +232,8 @@ declare namespace gapi.client {
|
|
|
233
232
|
iOSAppStoreId?: string;
|
|
234
233
|
/** If an associated iOS app can handle the OOB code, the iOS bundle id of this app. This will allow the correct app to open if it is already installed. */
|
|
235
234
|
iOSBundleId?: string;
|
|
235
|
+
/** Optional. In order to ensure that the url used can be easily opened in iOS or Android, we create a Hosting link '/__/auth/links'. This optional field contains the domain to use when constructing a Hosting link. If not set, '.firebaseapp.com' domain will be used. */
|
|
236
|
+
linkDomain?: string;
|
|
236
237
|
/** The email address the account is being updated to. Required only for VERIFY_AND_CHANGE_EMAIL requests. */
|
|
237
238
|
newEmail?: string;
|
|
238
239
|
/** The reCAPTCHA version of the reCAPTCHA token in the captcha_response. */
|
|
@@ -304,7 +305,6 @@ declare namespace gapi.client {
|
|
|
304
305
|
enabled?: boolean;
|
|
305
306
|
/** Percent of users who will be prompted/redirected federated login for this IdP */
|
|
306
307
|
experimentPercent?: number;
|
|
307
|
-
/** Name of the identity provider. */
|
|
308
308
|
provider?: string;
|
|
309
309
|
/** OAuth2 client secret. */
|
|
310
310
|
secret?: string;
|
|
@@ -394,17 +394,14 @@ declare namespace gapi.client {
|
|
|
394
394
|
screenName?: string;
|
|
395
395
|
}
|
|
396
396
|
interface GoogleCloudIdentitytoolkitV1QueryUserInfoRequest {
|
|
397
|
-
/** Query conditions used to filter results. If more than one is passed, only the first SqlExpression is evaluated. */
|
|
398
397
|
expression?: GoogleCloudIdentitytoolkitV1SqlExpression[];
|
|
399
398
|
/** The maximum number of accounts to return with an upper limit of __500__. Defaults to _500_. Only valid when `return_user_info` is set to `true`. */
|
|
400
399
|
limit?: string;
|
|
401
400
|
/** The number of accounts to skip from the beginning of matching records. Only valid when `return_user_info` is set to `true`. */
|
|
402
401
|
offset?: string;
|
|
403
|
-
/** The order for sorting query result. Defaults to __ascending__ order. Only valid when `return_user_info` is set to `true`. */
|
|
404
402
|
order?: string;
|
|
405
403
|
/** If `true`, this request will return the accounts matching the query. If `false`, only the __count__ of accounts matching the query will be returned. Defaults to `true`. */
|
|
406
404
|
returnUserInfo?: boolean;
|
|
407
|
-
/** The field to use for sorting user accounts. Defaults to `USER_ID`. Note: when `phone_number` is specified in `expression`, the result ignores the sorting. Only valid when `return_user_info` is set to `true`. */
|
|
408
405
|
sortBy?: string;
|
|
409
406
|
/** The ID of the tenant to which the result is scoped. */
|
|
410
407
|
tenantId?: string;
|
|
@@ -472,7 +469,6 @@ declare namespace gapi.client {
|
|
|
472
469
|
/** JSON formatted custom attributes to be stored in the Identity Platform ID token. Specifying this field requires a Google OAuth 2.0 credential with proper [permissions] (https://cloud.google.com/identity-platform/docs/access-control). */
|
|
473
470
|
customAttributes?: string;
|
|
474
471
|
delegatedProjectNumber?: string;
|
|
475
|
-
/** The account's attributes to be deleted. */
|
|
476
472
|
deleteAttribute?: string[];
|
|
477
473
|
/** The Identity Providers to unlink from the user's account. */
|
|
478
474
|
deleteProvider?: string[];
|
|
@@ -899,7 +895,6 @@ declare namespace gapi.client {
|
|
|
899
895
|
memoryCost?: number;
|
|
900
896
|
/** The parallelization cost parameter to be used by the STANDARD_SCRYPT hashing function. This parameter, along with block_size and cpu_mem_cost help tune the resources needed to hash a password, and should be tuned as processor speeds and memory technologies advance. */
|
|
901
897
|
parallelization?: number;
|
|
902
|
-
/** Password and salt order when verify password. */
|
|
903
898
|
passwordHashOrder?: string;
|
|
904
899
|
/** The number of rounds used for hash calculation. Only required for the following hashing functions: * MD5 * SHA1 * SHA256 * SHA512 * PBKDF_SHA1 * PBKDF2_SHA256 * SCRYPT */
|
|
905
900
|
rounds?: number;
|
|
@@ -1046,7 +1041,7 @@ declare namespace gapi.client {
|
|
|
1046
1041
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1047
1042
|
uploadType?: string;
|
|
1048
1043
|
},
|
|
1049
|
-
body: GoogleCloudIdentitytoolkitV1CreateAuthUriRequest
|
|
1044
|
+
body: GoogleCloudIdentitytoolkitV1CreateAuthUriRequest,
|
|
1050
1045
|
): Request<GoogleCloudIdentitytoolkitV1CreateAuthUriResponse>;
|
|
1051
1046
|
/** Deletes a user's account. */
|
|
1052
1047
|
delete(request: {
|
|
@@ -1100,7 +1095,7 @@ declare namespace gapi.client {
|
|
|
1100
1095
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1101
1096
|
uploadType?: string;
|
|
1102
1097
|
},
|
|
1103
|
-
body: GoogleCloudIdentitytoolkitV1DeleteAccountRequest
|
|
1098
|
+
body: GoogleCloudIdentitytoolkitV1DeleteAccountRequest,
|
|
1104
1099
|
): Request<GoogleCloudIdentitytoolkitV1DeleteAccountResponse>;
|
|
1105
1100
|
/** Experimental */
|
|
1106
1101
|
issueSamlResponse(request: {
|
|
@@ -1154,7 +1149,7 @@ declare namespace gapi.client {
|
|
|
1154
1149
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1155
1150
|
uploadType?: string;
|
|
1156
1151
|
},
|
|
1157
|
-
body: GoogleCloudIdentitytoolkitV1IssueSamlResponseRequest
|
|
1152
|
+
body: GoogleCloudIdentitytoolkitV1IssueSamlResponseRequest,
|
|
1158
1153
|
): Request<GoogleCloudIdentitytoolkitV1IssueSamlResponseResponse>;
|
|
1159
1154
|
/** Gets account information for all matched accounts. For an end user request, retrieves the account of the end user. For an admin request with Google OAuth 2.0 credential, retrieves one or multiple account(s) with matching criteria. */
|
|
1160
1155
|
lookup(request: {
|
|
@@ -1208,7 +1203,7 @@ declare namespace gapi.client {
|
|
|
1208
1203
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1209
1204
|
uploadType?: string;
|
|
1210
1205
|
},
|
|
1211
|
-
body: GoogleCloudIdentitytoolkitV1GetAccountInfoRequest
|
|
1206
|
+
body: GoogleCloudIdentitytoolkitV1GetAccountInfoRequest,
|
|
1212
1207
|
): Request<GoogleCloudIdentitytoolkitV1GetAccountInfoResponse>;
|
|
1213
1208
|
/** Resets the password of an account either using an out-of-band code generated by sendOobCode or by specifying the email and password of the account to be modified. Can also check the purpose of an out-of-band code without consuming it. */
|
|
1214
1209
|
resetPassword(request: {
|
|
@@ -1262,7 +1257,7 @@ declare namespace gapi.client {
|
|
|
1262
1257
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1263
1258
|
uploadType?: string;
|
|
1264
1259
|
},
|
|
1265
|
-
body: GoogleCloudIdentitytoolkitV1ResetPasswordRequest
|
|
1260
|
+
body: GoogleCloudIdentitytoolkitV1ResetPasswordRequest,
|
|
1266
1261
|
): Request<GoogleCloudIdentitytoolkitV1ResetPasswordResponse>;
|
|
1267
1262
|
/** Sends an out-of-band confirmation code for an account. Requests from a authenticated request can optionally return a link including the OOB code instead of sending it. */
|
|
1268
1263
|
sendOobCode(request: {
|
|
@@ -1316,7 +1311,7 @@ declare namespace gapi.client {
|
|
|
1316
1311
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1317
1312
|
uploadType?: string;
|
|
1318
1313
|
},
|
|
1319
|
-
body: GoogleCloudIdentitytoolkitV1GetOobCodeRequest
|
|
1314
|
+
body: GoogleCloudIdentitytoolkitV1GetOobCodeRequest,
|
|
1320
1315
|
): Request<GoogleCloudIdentitytoolkitV1GetOobCodeResponse>;
|
|
1321
1316
|
/** Sends a SMS verification code for phone number sign-in. To localize the text of the SMS sent to the user, set the HTTP header `X-Firebase-Locale` to the language code that corresponds with the user's locale. An [API key](https://cloud.google.com/docs/authentication/api-keys) is required in the request in order to identify the Google Cloud project. */
|
|
1322
1317
|
sendVerificationCode(request: {
|
|
@@ -1370,7 +1365,7 @@ declare namespace gapi.client {
|
|
|
1370
1365
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1371
1366
|
uploadType?: string;
|
|
1372
1367
|
},
|
|
1373
|
-
body: GoogleCloudIdentitytoolkitV1SendVerificationCodeRequest
|
|
1368
|
+
body: GoogleCloudIdentitytoolkitV1SendVerificationCodeRequest,
|
|
1374
1369
|
): Request<GoogleCloudIdentitytoolkitV1SendVerificationCodeResponse>;
|
|
1375
1370
|
/** Signs in or signs up a user by exchanging a custom Auth token. Upon a successful sign-in or sign-up, a new Identity Platform ID token and refresh token are issued for the user. An [API key](https://cloud.google.com/docs/authentication/api-keys) is required in the request in order to identify the Google Cloud project. */
|
|
1376
1371
|
signInWithCustomToken(request: {
|
|
@@ -1424,7 +1419,7 @@ declare namespace gapi.client {
|
|
|
1424
1419
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1425
1420
|
uploadType?: string;
|
|
1426
1421
|
},
|
|
1427
|
-
body: GoogleCloudIdentitytoolkitV1SignInWithCustomTokenRequest
|
|
1422
|
+
body: GoogleCloudIdentitytoolkitV1SignInWithCustomTokenRequest,
|
|
1428
1423
|
): Request<GoogleCloudIdentitytoolkitV1SignInWithCustomTokenResponse>;
|
|
1429
1424
|
/** Signs in or signs up a user with a out-of-band code from an email link. If a user does not exist with the given email address, a user record will be created. If the sign-in succeeds, an Identity Platform ID and refresh token are issued for the authenticated user. An [API key](https://cloud.google.com/docs/authentication/api-keys) is required in the request in order to identify the Google Cloud project. */
|
|
1430
1425
|
signInWithEmailLink(request: {
|
|
@@ -1478,7 +1473,7 @@ declare namespace gapi.client {
|
|
|
1478
1473
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1479
1474
|
uploadType?: string;
|
|
1480
1475
|
},
|
|
1481
|
-
body: GoogleCloudIdentitytoolkitV1SignInWithEmailLinkRequest
|
|
1476
|
+
body: GoogleCloudIdentitytoolkitV1SignInWithEmailLinkRequest,
|
|
1482
1477
|
): Request<GoogleCloudIdentitytoolkitV1SignInWithEmailLinkResponse>;
|
|
1483
1478
|
/** Signs in or signs up a user with iOS Game Center credentials. If the sign-in succeeds, a new Identity Platform ID token and refresh token are issued for the authenticated user. The bundle ID is required in the request header as `x-ios-bundle-identifier`. An [API key](https://cloud.google.com/docs/authentication/api-keys) is required in the request in order to identify the Google Cloud project. Apple has [deprecated the `playerID` field](https://developer.apple.com/documentation/gamekit/gkplayer/1521127-playerid/). The Apple platform Firebase SDK will use `gamePlayerID` and `teamPlayerID` from version 10.5.0 and onwards. Upgrading to SDK version 10.5.0 or later updates existing integrations that use `playerID` to instead use `gamePlayerID` and `teamPlayerID`. When making calls to `signInWithGameCenter`, you must include `playerID` along with the new fields `gamePlayerID` and `teamPlayerID` to successfully identify all existing users. Upgrading existing Game Center sign in integrations to SDK version 10.5.0 or later is irreversible. */
|
|
1484
1479
|
signInWithGameCenter(request: {
|
|
@@ -1532,7 +1527,7 @@ declare namespace gapi.client {
|
|
|
1532
1527
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1533
1528
|
uploadType?: string;
|
|
1534
1529
|
},
|
|
1535
|
-
body: GoogleCloudIdentitytoolkitV1SignInWithGameCenterRequest
|
|
1530
|
+
body: GoogleCloudIdentitytoolkitV1SignInWithGameCenterRequest,
|
|
1536
1531
|
): Request<GoogleCloudIdentitytoolkitV1SignInWithGameCenterResponse>;
|
|
1537
1532
|
/** Signs in or signs up a user using credentials from an Identity Provider (IdP). This is done by manually providing an IdP credential, or by providing the authorization response obtained via the authorization request from CreateAuthUri. If the sign-in succeeds, a new Identity Platform ID token and refresh token are issued for the authenticated user. A new Identity Platform user account will be created if the user has not previously signed in to the IdP with the same account. In addition, when the "One account per email address" setting is enabled, there should not be an existing Identity Platform user account with the same email address for a new user account to be created. An [API key](https://cloud.google.com/docs/authentication/api-keys) is required in the request in order to identify the Google Cloud project. */
|
|
1538
1533
|
signInWithIdp(request: {
|
|
@@ -1586,7 +1581,7 @@ declare namespace gapi.client {
|
|
|
1586
1581
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1587
1582
|
uploadType?: string;
|
|
1588
1583
|
},
|
|
1589
|
-
body: GoogleCloudIdentitytoolkitV1SignInWithIdpRequest
|
|
1584
|
+
body: GoogleCloudIdentitytoolkitV1SignInWithIdpRequest,
|
|
1590
1585
|
): Request<GoogleCloudIdentitytoolkitV1SignInWithIdpResponse>;
|
|
1591
1586
|
/** Signs in a user with email and password. If the sign-in succeeds, a new Identity Platform ID token and refresh token are issued for the authenticated user. An [API key](https://cloud.google.com/docs/authentication/api-keys) is required in the request in order to identify the Google Cloud project. */
|
|
1592
1587
|
signInWithPassword(request: {
|
|
@@ -1640,7 +1635,7 @@ declare namespace gapi.client {
|
|
|
1640
1635
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1641
1636
|
uploadType?: string;
|
|
1642
1637
|
},
|
|
1643
|
-
body: GoogleCloudIdentitytoolkitV1SignInWithPasswordRequest
|
|
1638
|
+
body: GoogleCloudIdentitytoolkitV1SignInWithPasswordRequest,
|
|
1644
1639
|
): Request<GoogleCloudIdentitytoolkitV1SignInWithPasswordResponse>;
|
|
1645
1640
|
/** Completes a phone number authentication attempt. If a user already exists with the given phone number, an ID token is minted for that user. Otherwise, a new user is created and associated with the phone number. This method may also be used to link a phone number to an existing user. To localize the text of the SMS sent to the user, set the HTTP header `X-Firebase-Locale` to the language code that corresponds with the user's locale. An [API key](https://cloud.google.com/docs/authentication/api-keys) is required in the request in order to identify the Google Cloud project. */
|
|
1646
1641
|
signInWithPhoneNumber(request: {
|
|
@@ -1694,7 +1689,7 @@ declare namespace gapi.client {
|
|
|
1694
1689
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1695
1690
|
uploadType?: string;
|
|
1696
1691
|
},
|
|
1697
|
-
body: GoogleCloudIdentitytoolkitV1SignInWithPhoneNumberRequest
|
|
1692
|
+
body: GoogleCloudIdentitytoolkitV1SignInWithPhoneNumberRequest,
|
|
1698
1693
|
): Request<GoogleCloudIdentitytoolkitV1SignInWithPhoneNumberResponse>;
|
|
1699
1694
|
/** Signs up a new email and password user or anonymous user, or upgrades an anonymous user to email and password. For an admin request with a Google OAuth 2.0 credential with the proper [permissions](https://cloud.google.com/identity-platform/docs/access-control), creates a new anonymous, email and password, or phone number user. An [API key](https://cloud.google.com/docs/authentication/api-keys) is required in the request in order to identify the Google Cloud project. */
|
|
1700
1695
|
signUp(request: {
|
|
@@ -1748,7 +1743,7 @@ declare namespace gapi.client {
|
|
|
1748
1743
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1749
1744
|
uploadType?: string;
|
|
1750
1745
|
},
|
|
1751
|
-
body: GoogleCloudIdentitytoolkitV1SignUpRequest
|
|
1746
|
+
body: GoogleCloudIdentitytoolkitV1SignUpRequest,
|
|
1752
1747
|
): Request<GoogleCloudIdentitytoolkitV1SignUpResponse>;
|
|
1753
1748
|
/** Updates account-related information for the specified user by setting specific fields or applying action codes. Requests from administrators and end users are supported. */
|
|
1754
1749
|
update(request: {
|
|
@@ -1802,7 +1797,7 @@ declare namespace gapi.client {
|
|
|
1802
1797
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1803
1798
|
uploadType?: string;
|
|
1804
1799
|
},
|
|
1805
|
-
body: GoogleCloudIdentitytoolkitV1SetAccountInfoRequest
|
|
1800
|
+
body: GoogleCloudIdentitytoolkitV1SetAccountInfoRequest,
|
|
1806
1801
|
): Request<GoogleCloudIdentitytoolkitV1SetAccountInfoResponse>;
|
|
1807
1802
|
/** Verifies an iOS client is a real iOS device. If the request is valid, a receipt will be sent in the response and a secret will be sent via Apple Push Notification Service. The client should send both of them back to certain Identity Platform APIs in a later call (for example, /accounts:sendVerificationCode), in order to verify the client. The bundle ID is required in the request header as `x-ios-bundle-identifier`. An [API key](https://cloud.google.com/docs/authentication/api-keys) is required in the request in order to identify the Google Cloud project. */
|
|
1808
1803
|
verifyIosClient(request: {
|
|
@@ -1856,7 +1851,7 @@ declare namespace gapi.client {
|
|
|
1856
1851
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1857
1852
|
uploadType?: string;
|
|
1858
1853
|
},
|
|
1859
|
-
body: GoogleCloudIdentitytoolkitV1VerifyIosClientRequest
|
|
1854
|
+
body: GoogleCloudIdentitytoolkitV1VerifyIosClientRequest,
|
|
1860
1855
|
): Request<GoogleCloudIdentitytoolkitV1VerifyIosClientResponse>;
|
|
1861
1856
|
}
|
|
1862
1857
|
interface AccountsResource {
|
|
@@ -1916,7 +1911,7 @@ declare namespace gapi.client {
|
|
|
1916
1911
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1917
1912
|
uploadType?: string;
|
|
1918
1913
|
},
|
|
1919
|
-
body: GoogleCloudIdentitytoolkitV1UploadAccountRequest
|
|
1914
|
+
body: GoogleCloudIdentitytoolkitV1UploadAccountRequest,
|
|
1920
1915
|
): Request<GoogleCloudIdentitytoolkitV1UploadAccountResponse>;
|
|
1921
1916
|
/** Batch deletes multiple accounts. For accounts that fail to be deleted, error info is contained in the response. The method ignores accounts that do not exist or are duplicated in the request. This method requires a Google OAuth 2.0 credential with proper [permissions] (https://cloud.google.com/identity-platform/docs/access-control). */
|
|
1922
1917
|
batchDelete(request: {
|
|
@@ -1974,7 +1969,7 @@ declare namespace gapi.client {
|
|
|
1974
1969
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1975
1970
|
uploadType?: string;
|
|
1976
1971
|
},
|
|
1977
|
-
body: GoogleCloudIdentitytoolkitV1BatchDeleteAccountsRequest
|
|
1972
|
+
body: GoogleCloudIdentitytoolkitV1BatchDeleteAccountsRequest,
|
|
1978
1973
|
): Request<GoogleCloudIdentitytoolkitV1BatchDeleteAccountsResponse>;
|
|
1979
1974
|
/** Download account information for all accounts on the project in a paginated manner. To use this method requires a Google OAuth 2.0 credential with proper [permissions](https://cloud.google.com/identity-platform/docs/access-control).. Furthermore, additional permissions are needed to get password hash, password salt, and password version from accounts; otherwise these fields are redacted. */
|
|
1980
1975
|
batchGet(request?: {
|
|
@@ -2066,7 +2061,7 @@ declare namespace gapi.client {
|
|
|
2066
2061
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2067
2062
|
uploadType?: string;
|
|
2068
2063
|
},
|
|
2069
|
-
body: GoogleCloudIdentitytoolkitV1DeleteAccountRequest
|
|
2064
|
+
body: GoogleCloudIdentitytoolkitV1DeleteAccountRequest,
|
|
2070
2065
|
): Request<GoogleCloudIdentitytoolkitV1DeleteAccountResponse>;
|
|
2071
2066
|
/** Gets account information for all matched accounts. For an end user request, retrieves the account of the end user. For an admin request with Google OAuth 2.0 credential, retrieves one or multiple account(s) with matching criteria. */
|
|
2072
2067
|
lookup(request: {
|
|
@@ -2124,7 +2119,7 @@ declare namespace gapi.client {
|
|
|
2124
2119
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2125
2120
|
uploadType?: string;
|
|
2126
2121
|
},
|
|
2127
|
-
body: GoogleCloudIdentitytoolkitV1GetAccountInfoRequest
|
|
2122
|
+
body: GoogleCloudIdentitytoolkitV1GetAccountInfoRequest,
|
|
2128
2123
|
): Request<GoogleCloudIdentitytoolkitV1GetAccountInfoResponse>;
|
|
2129
2124
|
/** Looks up user accounts within a project or a tenant based on conditions in the request. */
|
|
2130
2125
|
query(request: {
|
|
@@ -2182,7 +2177,7 @@ declare namespace gapi.client {
|
|
|
2182
2177
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2183
2178
|
uploadType?: string;
|
|
2184
2179
|
},
|
|
2185
|
-
body: GoogleCloudIdentitytoolkitV1QueryUserInfoRequest
|
|
2180
|
+
body: GoogleCloudIdentitytoolkitV1QueryUserInfoRequest,
|
|
2186
2181
|
): Request<GoogleCloudIdentitytoolkitV1QueryUserInfoResponse>;
|
|
2187
2182
|
/** Sends an out-of-band confirmation code for an account. Requests from a authenticated request can optionally return a link including the OOB code instead of sending it. */
|
|
2188
2183
|
sendOobCode(request: {
|
|
@@ -2240,7 +2235,7 @@ declare namespace gapi.client {
|
|
|
2240
2235
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2241
2236
|
uploadType?: string;
|
|
2242
2237
|
},
|
|
2243
|
-
body: GoogleCloudIdentitytoolkitV1GetOobCodeRequest
|
|
2238
|
+
body: GoogleCloudIdentitytoolkitV1GetOobCodeRequest,
|
|
2244
2239
|
): Request<GoogleCloudIdentitytoolkitV1GetOobCodeResponse>;
|
|
2245
2240
|
/** Updates account-related information for the specified user by setting specific fields or applying action codes. Requests from administrators and end users are supported. */
|
|
2246
2241
|
update(request: {
|
|
@@ -2298,7 +2293,7 @@ declare namespace gapi.client {
|
|
|
2298
2293
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2299
2294
|
uploadType?: string;
|
|
2300
2295
|
},
|
|
2301
|
-
body: GoogleCloudIdentitytoolkitV1SetAccountInfoRequest
|
|
2296
|
+
body: GoogleCloudIdentitytoolkitV1SetAccountInfoRequest,
|
|
2302
2297
|
): Request<GoogleCloudIdentitytoolkitV1SetAccountInfoResponse>;
|
|
2303
2298
|
}
|
|
2304
2299
|
interface AccountsResource {
|
|
@@ -2362,7 +2357,7 @@ declare namespace gapi.client {
|
|
|
2362
2357
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2363
2358
|
uploadType?: string;
|
|
2364
2359
|
},
|
|
2365
|
-
body: GoogleCloudIdentitytoolkitV1UploadAccountRequest
|
|
2360
|
+
body: GoogleCloudIdentitytoolkitV1UploadAccountRequest,
|
|
2366
2361
|
): Request<GoogleCloudIdentitytoolkitV1UploadAccountResponse>;
|
|
2367
2362
|
/** Batch deletes multiple accounts. For accounts that fail to be deleted, error info is contained in the response. The method ignores accounts that do not exist or are duplicated in the request. This method requires a Google OAuth 2.0 credential with proper [permissions] (https://cloud.google.com/identity-platform/docs/access-control). */
|
|
2368
2363
|
batchDelete(request: {
|
|
@@ -2424,7 +2419,7 @@ declare namespace gapi.client {
|
|
|
2424
2419
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2425
2420
|
uploadType?: string;
|
|
2426
2421
|
},
|
|
2427
|
-
body: GoogleCloudIdentitytoolkitV1BatchDeleteAccountsRequest
|
|
2422
|
+
body: GoogleCloudIdentitytoolkitV1BatchDeleteAccountsRequest,
|
|
2428
2423
|
): Request<GoogleCloudIdentitytoolkitV1BatchDeleteAccountsResponse>;
|
|
2429
2424
|
/** Download account information for all accounts on the project in a paginated manner. To use this method requires a Google OAuth 2.0 credential with proper [permissions](https://cloud.google.com/identity-platform/docs/access-control).. Furthermore, additional permissions are needed to get password hash, password salt, and password version from accounts; otherwise these fields are redacted. */
|
|
2430
2425
|
batchGet(request?: {
|
|
@@ -2520,7 +2515,7 @@ declare namespace gapi.client {
|
|
|
2520
2515
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2521
2516
|
uploadType?: string;
|
|
2522
2517
|
},
|
|
2523
|
-
body: GoogleCloudIdentitytoolkitV1DeleteAccountRequest
|
|
2518
|
+
body: GoogleCloudIdentitytoolkitV1DeleteAccountRequest,
|
|
2524
2519
|
): Request<GoogleCloudIdentitytoolkitV1DeleteAccountResponse>;
|
|
2525
2520
|
/** Gets account information for all matched accounts. For an end user request, retrieves the account of the end user. For an admin request with Google OAuth 2.0 credential, retrieves one or multiple account(s) with matching criteria. */
|
|
2526
2521
|
lookup(request: {
|
|
@@ -2582,7 +2577,7 @@ declare namespace gapi.client {
|
|
|
2582
2577
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2583
2578
|
uploadType?: string;
|
|
2584
2579
|
},
|
|
2585
|
-
body: GoogleCloudIdentitytoolkitV1GetAccountInfoRequest
|
|
2580
|
+
body: GoogleCloudIdentitytoolkitV1GetAccountInfoRequest,
|
|
2586
2581
|
): Request<GoogleCloudIdentitytoolkitV1GetAccountInfoResponse>;
|
|
2587
2582
|
/** Looks up user accounts within a project or a tenant based on conditions in the request. */
|
|
2588
2583
|
query(request: {
|
|
@@ -2644,7 +2639,7 @@ declare namespace gapi.client {
|
|
|
2644
2639
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2645
2640
|
uploadType?: string;
|
|
2646
2641
|
},
|
|
2647
|
-
body: GoogleCloudIdentitytoolkitV1QueryUserInfoRequest
|
|
2642
|
+
body: GoogleCloudIdentitytoolkitV1QueryUserInfoRequest,
|
|
2648
2643
|
): Request<GoogleCloudIdentitytoolkitV1QueryUserInfoResponse>;
|
|
2649
2644
|
/** Sends an out-of-band confirmation code for an account. Requests from a authenticated request can optionally return a link including the OOB code instead of sending it. */
|
|
2650
2645
|
sendOobCode(request: {
|
|
@@ -2706,7 +2701,7 @@ declare namespace gapi.client {
|
|
|
2706
2701
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2707
2702
|
uploadType?: string;
|
|
2708
2703
|
},
|
|
2709
|
-
body: GoogleCloudIdentitytoolkitV1GetOobCodeRequest
|
|
2704
|
+
body: GoogleCloudIdentitytoolkitV1GetOobCodeRequest,
|
|
2710
2705
|
): Request<GoogleCloudIdentitytoolkitV1GetOobCodeResponse>;
|
|
2711
2706
|
/** Updates account-related information for the specified user by setting specific fields or applying action codes. Requests from administrators and end users are supported. */
|
|
2712
2707
|
update(request: {
|
|
@@ -2768,7 +2763,7 @@ declare namespace gapi.client {
|
|
|
2768
2763
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2769
2764
|
uploadType?: string;
|
|
2770
2765
|
},
|
|
2771
|
-
body: GoogleCloudIdentitytoolkitV1SetAccountInfoRequest
|
|
2766
|
+
body: GoogleCloudIdentitytoolkitV1SetAccountInfoRequest,
|
|
2772
2767
|
): Request<GoogleCloudIdentitytoolkitV1SetAccountInfoResponse>;
|
|
2773
2768
|
}
|
|
2774
2769
|
interface TenantsResource {
|
|
@@ -2832,7 +2827,7 @@ declare namespace gapi.client {
|
|
|
2832
2827
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2833
2828
|
uploadType?: string;
|
|
2834
2829
|
},
|
|
2835
|
-
body: GoogleCloudIdentitytoolkitV1CreateSessionCookieRequest
|
|
2830
|
+
body: GoogleCloudIdentitytoolkitV1CreateSessionCookieRequest,
|
|
2836
2831
|
): Request<GoogleCloudIdentitytoolkitV1CreateSessionCookieResponse>;
|
|
2837
2832
|
accounts: AccountsResource;
|
|
2838
2833
|
}
|
|
@@ -2893,7 +2888,7 @@ declare namespace gapi.client {
|
|
|
2893
2888
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2894
2889
|
uploadType?: string;
|
|
2895
2890
|
},
|
|
2896
|
-
body: GoogleCloudIdentitytoolkitV1CreateSessionCookieRequest
|
|
2891
|
+
body: GoogleCloudIdentitytoolkitV1CreateSessionCookieRequest,
|
|
2897
2892
|
): Request<GoogleCloudIdentitytoolkitV1CreateSessionCookieResponse>;
|
|
2898
2893
|
/** Looks up user accounts within a project or a tenant based on conditions in the request. */
|
|
2899
2894
|
queryAccounts(request: {
|
|
@@ -2951,7 +2946,7 @@ declare namespace gapi.client {
|
|
|
2951
2946
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2952
2947
|
uploadType?: string;
|
|
2953
2948
|
},
|
|
2954
|
-
body: GoogleCloudIdentitytoolkitV1QueryUserInfoRequest
|
|
2949
|
+
body: GoogleCloudIdentitytoolkitV1QueryUserInfoRequest,
|
|
2955
2950
|
): Request<GoogleCloudIdentitytoolkitV1QueryUserInfoResponse>;
|
|
2956
2951
|
accounts: AccountsResource;
|
|
2957
2952
|
tenants: TenantsResource;
|
package/package.json
CHANGED
package/readme.md
CHANGED