@maxim_mazurok/gapi.client.identitytoolkit-v1 0.0.20230121 → 0.0.20230128

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.
Files changed (3) hide show
  1. package/index.d.ts +15 -1
  2. package/package.json +1 -1
  3. package/tests.ts +3 -1
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: 20230121
12
+ // Revision: 20230128
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -714,6 +714,8 @@ declare namespace gapi.client {
714
714
  interface GoogleCloudIdentitytoolkitV1SignInWithGameCenterRequest {
715
715
  /** The user's Game Center display name. */
716
716
  displayName?: string;
717
+ /** The user's Game Center game player ID. A unique identifier for a player of the game. https://developer.apple.com/documentation/gamekit/gkplayer/3113960-gameplayerid */
718
+ gamePlayerId?: string;
717
719
  /** A valid ID token for an Identity Platform account. If present, this request will link the Game Center player ID to the account represented by this ID token. */
718
720
  idToken?: string;
719
721
  /** Required. The user's Game Center player ID. */
@@ -724,6 +726,11 @@ declare namespace gapi.client {
724
726
  salt?: string;
725
727
  /** Required. The verification signature data generated by Apple. */
726
728
  signature?: string;
729
+ /**
730
+ * The user's Game Center team player ID. A unique identifier for a player of all the games that you distribute using your developer account.
731
+ * https://developer.apple.com/documentation/gamekit/gkplayer/3174857-teamplayerid
732
+ */
733
+ teamPlayerId?: string;
727
734
  /** The ID of the Identity Platform tenant the user is signing in to. */
728
735
  tenantId?: string;
729
736
  /** Required. The time when the signature was created by Apple, in milliseconds since the epoch. */
@@ -734,6 +741,8 @@ declare namespace gapi.client {
734
741
  displayName?: string;
735
742
  /** The number of seconds until the ID token expires. */
736
743
  expiresIn?: string;
744
+ /** The user's Game Center game player ID. A unique identifier for a player of the game. https://developer.apple.com/documentation/gamekit/gkplayer/3113960-gameplayerid */
745
+ gamePlayerId?: string;
737
746
  /** An Identity Platform ID token for the authenticated user. */
738
747
  idToken?: string;
739
748
  /** Whether the logged in user was created by this request. */
@@ -744,6 +753,11 @@ declare namespace gapi.client {
744
753
  playerId?: string;
745
754
  /** An Identity Platform refresh token for the authenticated user. */
746
755
  refreshToken?: string;
756
+ /**
757
+ * The user's Game Center team player ID. A unique identifier for a player of all the games that you distribute using your developer account.
758
+ * https://developer.apple.com/documentation/gamekit/gkplayer/3174857-teamplayerid
759
+ */
760
+ teamPlayerId?: string;
747
761
  }
748
762
  interface GoogleCloudIdentitytoolkitV1SignInWithIdpRequest {
749
763
  autoCreate?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.identitytoolkit-v1",
3
- "version": "0.0.20230121",
3
+ "version": "0.0.20230128",
4
4
  "description": "TypeScript typings for Identity Toolkit API v1",
5
5
  "license": "MIT",
6
6
  "author": {
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: 20230121
6
+ // Revision: 20230128
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -182,11 +182,13 @@ gapi.load('client', async () => {
182
182
  await gapi.client.identitytoolkit.accounts.signInWithGameCenter({
183
183
  }, {
184
184
  displayName: "Test string",
185
+ gamePlayerId: "Test string",
185
186
  idToken: "Test string",
186
187
  playerId: "Test string",
187
188
  publicKeyUrl: "Test string",
188
189
  salt: "Test string",
189
190
  signature: "Test string",
191
+ teamPlayerId: "Test string",
190
192
  tenantId: "Test string",
191
193
  timestamp: "Test string",
192
194
  });