@maxim_mazurok/gapi.client.identitytoolkit-v1 0.0.20221021 → 0.0.20221104
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 +14 -14
- package/package.json +1 -1
- package/readme.md +1 -1
- package/tests.ts +4 -4
package/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
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: 20221104
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -555,7 +555,7 @@ declare namespace gapi.client {
|
|
|
555
555
|
/** The timestamp in milliseconds when the account was created. */
|
|
556
556
|
createdAt?: string;
|
|
557
557
|
/**
|
|
558
|
-
* 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
|
|
558
|
+
* 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]
|
|
559
559
|
* (https://cloud.google.com/identity-platform/docs/access-control).
|
|
560
560
|
*/
|
|
561
561
|
customAttributes?: string;
|
|
@@ -574,7 +574,7 @@ declare namespace gapi.client {
|
|
|
574
574
|
*/
|
|
575
575
|
email?: string;
|
|
576
576
|
/**
|
|
577
|
-
* Whether the user's email has been verified. Specifying this field requires a Google OAuth 2.0 credential with proper permissions
|
|
577
|
+
* Whether the user's email has been verified. Specifying this field requires a Google OAuth 2.0 credential with proper [permissions]
|
|
578
578
|
* (https://cloud.google.com/identity-platform/docs/access-control).
|
|
579
579
|
*/
|
|
580
580
|
emailVerified?: boolean;
|
|
@@ -584,18 +584,18 @@ declare namespace gapi.client {
|
|
|
584
584
|
/** The timestamp in milliseconds when the account last logged in. */
|
|
585
585
|
lastLoginAt?: string;
|
|
586
586
|
/**
|
|
587
|
-
* The provider to be linked to the user's account. Specifying this field requires a Google OAuth 2.0 credential with proper permissions
|
|
587
|
+
* The provider to be linked to the user's account. Specifying this field requires a Google OAuth 2.0 credential with proper [permissions]
|
|
588
588
|
* (https://cloud.google.com/identity-platform/docs/access-control).
|
|
589
589
|
*/
|
|
590
590
|
linkProviderUserInfo?: GoogleCloudIdentitytoolkitV1ProviderUserInfo;
|
|
591
591
|
/**
|
|
592
|
-
* The ID of the user. Specifying this field requires a Google OAuth 2.0 credential with proper permissions (https://cloud.google.com/identity-platform/docs/access-control). For
|
|
592
|
+
* The ID of the user. Specifying this field requires a Google OAuth 2.0 credential with proper [permissions] (https://cloud.google.com/identity-platform/docs/access-control). For
|
|
593
593
|
* requests from end-users, an ID token should be passed instead.
|
|
594
594
|
*/
|
|
595
595
|
localId?: string;
|
|
596
596
|
/**
|
|
597
597
|
* The multi-factor authentication related information to be set on the user's account. This will overwrite any previous multi-factor related information on the account. Specifying
|
|
598
|
-
* this field requires a Google OAuth 2.0 credential with proper permissions (https://cloud.google.com/identity-platform/docs/access-control).
|
|
598
|
+
* this field requires a Google OAuth 2.0 credential with proper [permissions] (https://cloud.google.com/identity-platform/docs/access-control).
|
|
599
599
|
*/
|
|
600
600
|
mfa?: GoogleCloudIdentitytoolkitV1MfaInfo;
|
|
601
601
|
/**
|
|
@@ -614,7 +614,7 @@ declare namespace gapi.client {
|
|
|
614
614
|
/** Whether or not to return an ID and refresh token. Should always be true. */
|
|
615
615
|
returnSecureToken?: boolean;
|
|
616
616
|
/**
|
|
617
|
-
* The project ID for the project that the account belongs to. Specifying this field requires Google OAuth 2.0 credential with proper permissions
|
|
617
|
+
* The project ID for the project that the account belongs to. Specifying this field requires Google OAuth 2.0 credential with proper [permissions]
|
|
618
618
|
* (https://cloud.google.com/identity-platform/docs/access-control). Requests from end users should pass an Identity Platform ID token instead.
|
|
619
619
|
*/
|
|
620
620
|
targetProjectId?: string;
|
|
@@ -2022,7 +2022,7 @@ declare namespace gapi.client {
|
|
|
2022
2022
|
},
|
|
2023
2023
|
body: GoogleCloudIdentitytoolkitV1SetAccountInfoRequest): Request<GoogleCloudIdentitytoolkitV1SetAccountInfoResponse>;
|
|
2024
2024
|
/**
|
|
2025
|
-
* Verifies an iOS client is a real iOS device. If the request is valid, a
|
|
2025
|
+
* 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
|
|
2026
2026
|
* 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
|
|
2027
2027
|
* 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
|
|
2028
2028
|
* Google Cloud project.
|
|
@@ -2141,7 +2141,7 @@ declare namespace gapi.client {
|
|
|
2141
2141
|
body: GoogleCloudIdentitytoolkitV1UploadAccountRequest): Request<GoogleCloudIdentitytoolkitV1UploadAccountResponse>;
|
|
2142
2142
|
/**
|
|
2143
2143
|
* 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
|
|
2144
|
-
* the request. This method requires a Google OAuth 2.0 credential with proper permissions
|
|
2144
|
+
* the request. This method requires a Google OAuth 2.0 credential with proper [permissions] (https://cloud.google.com/identity-platform/docs/access-control).
|
|
2145
2145
|
*/
|
|
2146
2146
|
batchDelete(request: {
|
|
2147
2147
|
/** V1 error format. */
|
|
@@ -2505,7 +2505,7 @@ declare namespace gapi.client {
|
|
|
2505
2505
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2506
2506
|
quotaUser?: string;
|
|
2507
2507
|
/**
|
|
2508
|
-
* The project ID for the project that the account belongs to. Specifying this field requires Google OAuth 2.0 credential with proper permissions
|
|
2508
|
+
* The project ID for the project that the account belongs to. Specifying this field requires Google OAuth 2.0 credential with proper [permissions]
|
|
2509
2509
|
* (https://cloud.google.com/identity-platform/docs/access-control). Requests from end users should pass an Identity Platform ID token instead.
|
|
2510
2510
|
*/
|
|
2511
2511
|
targetProjectId: string;
|
|
@@ -2536,7 +2536,7 @@ declare namespace gapi.client {
|
|
|
2536
2536
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2537
2537
|
quotaUser?: string;
|
|
2538
2538
|
/**
|
|
2539
|
-
* The project ID for the project that the account belongs to. Specifying this field requires Google OAuth 2.0 credential with proper permissions
|
|
2539
|
+
* The project ID for the project that the account belongs to. Specifying this field requires Google OAuth 2.0 credential with proper [permissions]
|
|
2540
2540
|
* (https://cloud.google.com/identity-platform/docs/access-control). Requests from end users should pass an Identity Platform ID token instead.
|
|
2541
2541
|
*/
|
|
2542
2542
|
targetProjectId: string;
|
|
@@ -2613,7 +2613,7 @@ declare namespace gapi.client {
|
|
|
2613
2613
|
body: GoogleCloudIdentitytoolkitV1UploadAccountRequest): Request<GoogleCloudIdentitytoolkitV1UploadAccountResponse>;
|
|
2614
2614
|
/**
|
|
2615
2615
|
* 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
|
|
2616
|
-
* the request. This method requires a Google OAuth 2.0 credential with proper permissions
|
|
2616
|
+
* the request. This method requires a Google OAuth 2.0 credential with proper [permissions] (https://cloud.google.com/identity-platform/docs/access-control).
|
|
2617
2617
|
*/
|
|
2618
2618
|
batchDelete(request: {
|
|
2619
2619
|
/** V1 error format. */
|
|
@@ -3003,7 +3003,7 @@ declare namespace gapi.client {
|
|
|
3003
3003
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
3004
3004
|
quotaUser?: string;
|
|
3005
3005
|
/**
|
|
3006
|
-
* The project ID for the project that the account belongs to. Specifying this field requires Google OAuth 2.0 credential with proper permissions
|
|
3006
|
+
* The project ID for the project that the account belongs to. Specifying this field requires Google OAuth 2.0 credential with proper [permissions]
|
|
3007
3007
|
* (https://cloud.google.com/identity-platform/docs/access-control). Requests from end users should pass an Identity Platform ID token instead.
|
|
3008
3008
|
*/
|
|
3009
3009
|
targetProjectId: string;
|
|
@@ -3036,7 +3036,7 @@ declare namespace gapi.client {
|
|
|
3036
3036
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
3037
3037
|
quotaUser?: string;
|
|
3038
3038
|
/**
|
|
3039
|
-
* The project ID for the project that the account belongs to. Specifying this field requires Google OAuth 2.0 credential with proper permissions
|
|
3039
|
+
* The project ID for the project that the account belongs to. Specifying this field requires Google OAuth 2.0 credential with proper [permissions]
|
|
3040
3040
|
* (https://cloud.google.com/identity-platform/docs/access-control). Requests from end users should pass an Identity Platform ID token instead.
|
|
3041
3041
|
*/
|
|
3042
3042
|
targetProjectId: string;
|
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -145,7 +145,7 @@ Updates account-related information for the specified user by setting specific f
|
|
|
145
145
|
await gapi.client.identitytoolkit.accounts.update({ });
|
|
146
146
|
|
|
147
147
|
/*
|
|
148
|
-
Verifies an iOS client is a real iOS device. If the request is valid, a
|
|
148
|
+
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.
|
|
149
149
|
*/
|
|
150
150
|
await gapi.client.identitytoolkit.accounts.verifyIosClient({ });
|
|
151
151
|
|
package/tests.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
4
4
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
5
5
|
|
|
6
|
-
// Revision:
|
|
6
|
+
// Revision: 20221104
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -330,7 +330,7 @@ gapi.load('client', async () => {
|
|
|
330
330
|
validSince: "Test string",
|
|
331
331
|
});
|
|
332
332
|
/**
|
|
333
|
-
* Verifies an iOS client is a real iOS device. If the request is valid, a
|
|
333
|
+
* 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
|
|
334
334
|
* 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
|
|
335
335
|
* 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
|
|
336
336
|
* project.
|
|
@@ -449,7 +449,7 @@ gapi.load('client', async () => {
|
|
|
449
449
|
});
|
|
450
450
|
/**
|
|
451
451
|
* 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
|
|
452
|
-
* request. This method requires a Google OAuth 2.0 credential with proper permissions
|
|
452
|
+
* request. This method requires a Google OAuth 2.0 credential with proper [permissions] (https://cloud.google.com/identity-platform/docs/access-control).
|
|
453
453
|
*/
|
|
454
454
|
await gapi.client.identitytoolkit.projects.accounts.batchDelete({
|
|
455
455
|
targetProjectId: "Test string",
|
|
@@ -703,7 +703,7 @@ gapi.load('client', async () => {
|
|
|
703
703
|
});
|
|
704
704
|
/**
|
|
705
705
|
* 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
|
|
706
|
-
* request. This method requires a Google OAuth 2.0 credential with proper permissions
|
|
706
|
+
* request. This method requires a Google OAuth 2.0 credential with proper [permissions] (https://cloud.google.com/identity-platform/docs/access-control).
|
|
707
707
|
*/
|
|
708
708
|
await gapi.client.identitytoolkit.projects.tenants.accounts.batchDelete({
|
|
709
709
|
targetProjectId: "Test string",
|