@maxim_mazurok/gapi.client.firebaseappcheck-v1 0.0.20231002 → 0.0.20231016

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 +33 -9
  2. package/package.json +1 -1
  3. package/tests.ts +1 -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://firebaseappcheck.googleapis.com/$discovery/rest?version=v1
12
- // Revision: 20231002
12
+ // Revision: 20231016
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -145,7 +145,10 @@ declare namespace gapi.client {
145
145
  /** Required. A one-time challenge returned by an immediately prior call to GenerateAppAttestChallenge. */
146
146
  challenge?:
147
147
  string;
148
- /** Forces a short lived token with a 5 minute TTL. Useful when the client wishes to self impose stricter TTL requirements for this exchange. Default: false. */
148
+ /**
149
+ * Specifies whether this attestation is for use in a *limited use* (`true`) or *session based* (`false`) context. To enable this attestation to be used with the *replay protection*
150
+ * feature, set this to `true`. The default value is `false`.
151
+ */
149
152
  limitedUse?:
150
153
  boolean;
151
154
  }
@@ -159,7 +162,10 @@ declare namespace gapi.client {
159
162
  /** Required. The key ID generated by App Attest for the client app. */
160
163
  keyId?:
161
164
  string;
162
- /** Forces a short lived token with a 5 minute TTL. Useful when the client wishes to self impose stricter TTL requirements for this exchange. Default: false. */
165
+ /**
166
+ * Specifies whether this attestation is for use in a *limited use* (`true`) or *session based* (`false`) context. To enable this attestation to be used with the *replay protection*
167
+ * feature, set this to `true`. The default value is `false`.
168
+ */
163
169
  limitedUse?:
164
170
  boolean;
165
171
  }
@@ -175,7 +181,10 @@ declare namespace gapi.client {
175
181
  /** Required. A custom token signed using your project's Admin SDK service account credentials. */
176
182
  customToken?:
177
183
  string;
178
- /** Forces a short lived token with a 5 minute TTL. Useful when the client wishes to self impose stricter TTL requirements for this exchange. Default: false. */
184
+ /**
185
+ * Specifies whether this attestation is for use in a *limited use* (`true`) or *session based* (`false`) context. To enable this attestation to be used with the *replay protection*
186
+ * feature, set this to `true`. The default value is `false`.
187
+ */
179
188
  limitedUse?:
180
189
  boolean;
181
190
  }
@@ -183,7 +192,10 @@ declare namespace gapi.client {
183
192
  /** Required. A debug token secret. This string must match a debug token secret previously created using CreateDebugToken. */
184
193
  debugToken?:
185
194
  string;
186
- /** Forces a short lived token with a 5 minute TTL. Useful when the client wishes to self impose stricter TTL requirements for this exchange. Default: false. */
195
+ /**
196
+ * Specifies whether this attestation is for use in a *limited use* (`true`) or *session based* (`false`) context. To enable this attestation to be used with the *replay protection*
197
+ * feature, set this to `true`. The default value is `false`.
198
+ */
187
199
  limitedUse?:
188
200
  boolean;
189
201
  }
@@ -194,12 +206,18 @@ declare namespace gapi.client {
194
206
  */
195
207
  deviceToken?:
196
208
  string;
197
- /** Forces a short lived token with a 5 minute TTL. Useful when the client wishes to self impose stricter TTL requirements for this exchange. Default: false. */
209
+ /**
210
+ * Specifies whether this attestation is for use in a *limited use* (`true`) or *session based* (`false`) context. To enable this attestation to be used with the *replay protection*
211
+ * feature, set this to `true`. The default value is `false`.
212
+ */
198
213
  limitedUse?:
199
214
  boolean;
200
215
  }
201
216
  interface GoogleFirebaseAppcheckV1ExchangePlayIntegrityTokenRequest {
202
- /** Forces a short-lived token with a 5 minute TTL. Useful when the client wishes to impose stricter TTL requirements for this exchange. Default: false. */
217
+ /**
218
+ * Specifies whether this attestation is for use in a *limited use* (`true`) or *session based* (`false`) context. To enable this attestation to be used with the *replay protection*
219
+ * feature, set this to `true`. The default value is `false`.
220
+ */
203
221
  limitedUse?:
204
222
  boolean;
205
223
  /** Required. The [integrity verdict response token from Play Integrity](https://developer.android.com/google/play/integrity/verdict#decrypt-verify) issued to your app. */
@@ -207,7 +225,10 @@ declare namespace gapi.client {
207
225
  string;
208
226
  }
209
227
  interface GoogleFirebaseAppcheckV1ExchangeRecaptchaEnterpriseTokenRequest {
210
- /** Forces a short lived token with a 5 minute TTL. Useful when the client wishes to self impose stricter TTL requirements for this exchange. Default: false. */
228
+ /**
229
+ * Specifies whether this attestation is for use in a *limited use* (`true`) or *session based* (`false`) context. To enable this attestation to be used with the *replay protection*
230
+ * feature, set this to `true`. The default value is `false`.
231
+ */
211
232
  limitedUse?:
212
233
  boolean;
213
234
  /** Required. The reCAPTCHA token as returned by the [reCAPTCHA Enterprise JavaScript API](https://cloud.google.com/recaptcha-enterprise/docs/instrument-web-pages). */
@@ -215,7 +236,10 @@ declare namespace gapi.client {
215
236
  string;
216
237
  }
217
238
  interface GoogleFirebaseAppcheckV1ExchangeRecaptchaV3TokenRequest {
218
- /** Forces a short lived token with a 5 minute TTL. Useful when the client wishes to self impose stricter TTL requirements for this exchange. Default: false. */
239
+ /**
240
+ * Specifies whether this attestation is for use in a *limited use* (`true`) or *session based* (`false`) context. To enable this attestation to be used with the *replay protection*
241
+ * feature, set this to `true`. The default value is `false`.
242
+ */
219
243
  limitedUse?:
220
244
  boolean;
221
245
  /** Required. The reCAPTCHA token as returned by the [reCAPTCHA v3 JavaScript API](https://developers.google.com/recaptcha/docs/v3). */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.firebaseappcheck-v1",
3
- "version": "0.0.20231002",
3
+ "version": "0.0.20231016",
4
4
  "description": "TypeScript typings for Firebase App Check 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: 20231002
6
+ // Revision: 20231016
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */