@maxim_mazurok/gapi.client.firebaseappcheck-v1 0.1.20260307 → 0.2.20260307

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 (2) hide show
  1. package/index.d.ts +162 -157
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -226,7 +226,12 @@ declare namespace gapi.client {
226
226
  }
227
227
  interface GoogleFirebaseAppcheckV1PlayIntegrityConfigDeviceIntegrity {
228
228
  /** Specifies the minimum device integrity level in order for the device to be considered valid. Any device with a device recognition verdict lower than this level will be rejected. If this is unspecified, the default level is `NO_INTEGRITY`. */
229
- minDeviceRecognitionLevel?: string;
229
+ minDeviceRecognitionLevel?:
230
+ | 'DEVICE_RECOGNITION_LEVEL_UNSPECIFIED'
231
+ | 'NO_INTEGRITY'
232
+ | 'MEETS_BASIC_INTEGRITY'
233
+ | 'MEETS_DEVICE_INTEGRITY'
234
+ | 'MEETS_STRONG_INTEGRITY';
230
235
  }
231
236
  interface GoogleFirebaseAppcheckV1PublicJwk {
232
237
  /** See [section 4.4 of RFC 7517](https://tools.ietf.org/html/rfc7517#section-4.4). */
@@ -274,7 +279,7 @@ declare namespace gapi.client {
274
279
  }
275
280
  interface GoogleFirebaseAppcheckV1ResourcePolicy {
276
281
  /** Required. The App Check enforcement mode for this resource. This will override the App Check overall EnforcementMode setting on the service. */
277
- enforcementMode?: string;
282
+ enforcementMode?: 'OFF' | 'UNENFORCED' | 'ENFORCED';
278
283
  /** This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. This etag is strongly validated as defined by RFC 7232. */
279
284
  etag?: string;
280
285
  /** Required. Identifier. The relative name of the resource policy object, in the format: ``` projects/{project_number}/services/{service_id}/resourcePolicies/{resource_policy_id} ``` Note that the `service_id` element must be a supported service ID. Currently, the following service IDs are supported: * `oauth2.googleapis.com` (Google Identity for iOS) `resource_policy_id` is a system-generated UID. */
@@ -292,7 +297,7 @@ declare namespace gapi.client {
292
297
  }
293
298
  interface GoogleFirebaseAppcheckV1Service {
294
299
  /** Required. The App Check enforcement mode for this service. */
295
- enforcementMode?: string;
300
+ enforcementMode?: 'OFF' | 'UNENFORCED' | 'ENFORCED';
296
301
  /** Required. The relative resource name of the service configuration object, in the format: ``` projects/{project_number}/services/{service_id} ``` Note that the `service_id` element must be a supported service ID. Currently, the following service IDs are supported: * `firebasestorage.googleapis.com` (Cloud Storage for Firebase) * `firebasedatabase.googleapis.com` (Firebase Realtime Database) * `firestore.googleapis.com` (Cloud Firestore) * `oauth2.googleapis.com` (Google Identity for iOS) */
297
302
  name?: string;
298
303
  }
@@ -313,11 +318,11 @@ declare namespace gapi.client {
313
318
  /** Returns a public JWK set as specified by [RFC 7517](https://tools.ietf.org/html/rfc7517) that can be used to verify App Check tokens. Exactly one of the public keys in the returned set will successfully validate any App Check token that is currently valid. */
314
319
  get(request?: {
315
320
  /** V1 error format. */
316
- '$.xgafv'?: string;
321
+ '$.xgafv'?: '1' | '2';
317
322
  /** OAuth access token. */
318
323
  access_token?: string;
319
324
  /** Data format for response. */
320
- alt?: string;
325
+ alt?: 'json' | 'media' | 'proto';
321
326
  /** JSONP */
322
327
  callback?: string;
323
328
  /** Selector specifying which fields to include in a partial response. */
@@ -342,11 +347,11 @@ declare namespace gapi.client {
342
347
  /** Accepts an App Attest assertion and an artifact previously obtained from ExchangeAppAttestAttestation and verifies those with Apple. If valid, returns an AppCheckToken. */
343
348
  exchangeAppAttestAssertion(request: {
344
349
  /** V1 error format. */
345
- '$.xgafv'?: string;
350
+ '$.xgafv'?: '1' | '2';
346
351
  /** OAuth access token. */
347
352
  access_token?: string;
348
353
  /** Data format for response. */
349
- alt?: string;
354
+ alt?: 'json' | 'media' | 'proto';
350
355
  /** Required. The relative resource name of the iOS app, in the format: ``` projects/{project_number}/apps/{app_id} ``` If necessary, the `project_number` element can be replaced with the project ID of the Firebase project. Learn more about using project identifiers in Google's [AIP 2510](https://google.aip.dev/cloud/2510) standard. */
351
356
  app: string;
352
357
  /** JSONP */
@@ -371,11 +376,11 @@ declare namespace gapi.client {
371
376
  exchangeAppAttestAssertion(
372
377
  request: {
373
378
  /** V1 error format. */
374
- '$.xgafv'?: string;
379
+ '$.xgafv'?: '1' | '2';
375
380
  /** OAuth access token. */
376
381
  access_token?: string;
377
382
  /** Data format for response. */
378
- alt?: string;
383
+ alt?: 'json' | 'media' | 'proto';
379
384
  /** Required. The relative resource name of the iOS app, in the format: ``` projects/{project_number}/apps/{app_id} ``` If necessary, the `project_number` element can be replaced with the project ID of the Firebase project. Learn more about using project identifiers in Google's [AIP 2510](https://google.aip.dev/cloud/2510) standard. */
380
385
  app: string;
381
386
  /** JSONP */
@@ -400,11 +405,11 @@ declare namespace gapi.client {
400
405
  /** Accepts an App Attest CBOR attestation and verifies it with Apple using your preconfigured team and bundle IDs. If valid, returns an attestation artifact that can later be exchanged for an AppCheckToken using ExchangeAppAttestAssertion. For convenience and performance, this method's response object will also contain an AppCheckToken (if the verification is successful). */
401
406
  exchangeAppAttestAttestation(request: {
402
407
  /** V1 error format. */
403
- '$.xgafv'?: string;
408
+ '$.xgafv'?: '1' | '2';
404
409
  /** OAuth access token. */
405
410
  access_token?: string;
406
411
  /** Data format for response. */
407
- alt?: string;
412
+ alt?: 'json' | 'media' | 'proto';
408
413
  /** Required. The relative resource name of the iOS app, in the format: ``` projects/{project_number}/apps/{app_id} ``` If necessary, the `project_number` element can be replaced with the project ID of the Firebase project. Learn more about using project identifiers in Google's [AIP 2510](https://google.aip.dev/cloud/2510) standard. */
409
414
  app: string;
410
415
  /** JSONP */
@@ -429,11 +434,11 @@ declare namespace gapi.client {
429
434
  exchangeAppAttestAttestation(
430
435
  request: {
431
436
  /** V1 error format. */
432
- '$.xgafv'?: string;
437
+ '$.xgafv'?: '1' | '2';
433
438
  /** OAuth access token. */
434
439
  access_token?: string;
435
440
  /** Data format for response. */
436
- alt?: string;
441
+ alt?: 'json' | 'media' | 'proto';
437
442
  /** Required. The relative resource name of the iOS app, in the format: ``` projects/{project_number}/apps/{app_id} ``` If necessary, the `project_number` element can be replaced with the project ID of the Firebase project. Learn more about using project identifiers in Google's [AIP 2510](https://google.aip.dev/cloud/2510) standard. */
438
443
  app: string;
439
444
  /** JSONP */
@@ -458,11 +463,11 @@ declare namespace gapi.client {
458
463
  /** Validates a debug token secret that you have previously created using CreateDebugToken. If valid, returns an AppCheckToken. Note that a restrictive quota is enforced on this method to prevent accidental exposure of the app to abuse. */
459
464
  exchangeDebugToken(request: {
460
465
  /** V1 error format. */
461
- '$.xgafv'?: string;
466
+ '$.xgafv'?: '1' | '2';
462
467
  /** OAuth access token. */
463
468
  access_token?: string;
464
469
  /** Data format for response. */
465
- alt?: string;
470
+ alt?: 'json' | 'media' | 'proto';
466
471
  /** Required. The relative resource name of the app, in the format: ``` projects/{project_number}/apps/{app_id} ``` If necessary, the `project_number` element can be replaced with the project ID of the Firebase project. Learn more about using project identifiers in Google's [AIP 2510](https://google.aip.dev/cloud/2510) standard. */
467
472
  app: string;
468
473
  /** JSONP */
@@ -487,11 +492,11 @@ declare namespace gapi.client {
487
492
  exchangeDebugToken(
488
493
  request: {
489
494
  /** V1 error format. */
490
- '$.xgafv'?: string;
495
+ '$.xgafv'?: '1' | '2';
491
496
  /** OAuth access token. */
492
497
  access_token?: string;
493
498
  /** Data format for response. */
494
- alt?: string;
499
+ alt?: 'json' | 'media' | 'proto';
495
500
  /** Required. The relative resource name of the app, in the format: ``` projects/{project_number}/apps/{app_id} ``` If necessary, the `project_number` element can be replaced with the project ID of the Firebase project. Learn more about using project identifiers in Google's [AIP 2510](https://google.aip.dev/cloud/2510) standard. */
496
501
  app: string;
497
502
  /** JSONP */
@@ -516,11 +521,11 @@ declare namespace gapi.client {
516
521
  /** Generates a challenge that protects the integrity of an immediately following call to ExchangeAppAttestAttestation or ExchangeAppAttestAssertion. A challenge should not be reused for multiple calls. */
517
522
  generateAppAttestChallenge(request: {
518
523
  /** V1 error format. */
519
- '$.xgafv'?: string;
524
+ '$.xgafv'?: '1' | '2';
520
525
  /** OAuth access token. */
521
526
  access_token?: string;
522
527
  /** Data format for response. */
523
- alt?: string;
528
+ alt?: 'json' | 'media' | 'proto';
524
529
  /** Required. The relative resource name of the iOS app, in the format: ``` projects/{project_number}/apps/{app_id} ``` If necessary, the `project_number` element can be replaced with the project ID of the Firebase project. Learn more about using project identifiers in Google's [AIP 2510](https://google.aip.dev/cloud/2510) standard. */
525
530
  app: string;
526
531
  /** JSONP */
@@ -545,11 +550,11 @@ declare namespace gapi.client {
545
550
  generateAppAttestChallenge(
546
551
  request: {
547
552
  /** V1 error format. */
548
- '$.xgafv'?: string;
553
+ '$.xgafv'?: '1' | '2';
549
554
  /** OAuth access token. */
550
555
  access_token?: string;
551
556
  /** Data format for response. */
552
- alt?: string;
557
+ alt?: 'json' | 'media' | 'proto';
553
558
  /** Required. The relative resource name of the iOS app, in the format: ``` projects/{project_number}/apps/{app_id} ``` If necessary, the `project_number` element can be replaced with the project ID of the Firebase project. Learn more about using project identifiers in Google's [AIP 2510](https://google.aip.dev/cloud/2510) standard. */
554
559
  app: string;
555
560
  /** JSONP */
@@ -576,11 +581,11 @@ declare namespace gapi.client {
576
581
  /** Atomically gets the AppAttestConfigs for the specified list of apps. */
577
582
  batchGet(request?: {
578
583
  /** V1 error format. */
579
- '$.xgafv'?: string;
584
+ '$.xgafv'?: '1' | '2';
580
585
  /** OAuth access token. */
581
586
  access_token?: string;
582
587
  /** Data format for response. */
583
- alt?: string;
588
+ alt?: 'json' | 'media' | 'proto';
584
589
  /** JSONP */
585
590
  callback?: string;
586
591
  /** Selector specifying which fields to include in a partial response. */
@@ -605,11 +610,11 @@ declare namespace gapi.client {
605
610
  /** Gets the AppAttestConfig for the specified app. */
606
611
  get(request?: {
607
612
  /** V1 error format. */
608
- '$.xgafv'?: string;
613
+ '$.xgafv'?: '1' | '2';
609
614
  /** OAuth access token. */
610
615
  access_token?: string;
611
616
  /** Data format for response. */
612
- alt?: string;
617
+ alt?: 'json' | 'media' | 'proto';
613
618
  /** JSONP */
614
619
  callback?: string;
615
620
  /** Selector specifying which fields to include in a partial response. */
@@ -632,11 +637,11 @@ declare namespace gapi.client {
632
637
  /** Updates the AppAttestConfig for the specified app. While this configuration is incomplete or invalid, the app will be unable to exchange AppAttest tokens for App Check tokens. */
633
638
  patch(request: {
634
639
  /** V1 error format. */
635
- '$.xgafv'?: string;
640
+ '$.xgafv'?: '1' | '2';
636
641
  /** OAuth access token. */
637
642
  access_token?: string;
638
643
  /** Data format for response. */
639
- alt?: string;
644
+ alt?: 'json' | 'media' | 'proto';
640
645
  /** JSONP */
641
646
  callback?: string;
642
647
  /** Selector specifying which fields to include in a partial response. */
@@ -663,11 +668,11 @@ declare namespace gapi.client {
663
668
  patch(
664
669
  request: {
665
670
  /** V1 error format. */
666
- '$.xgafv'?: string;
671
+ '$.xgafv'?: '1' | '2';
667
672
  /** OAuth access token. */
668
673
  access_token?: string;
669
674
  /** Data format for response. */
670
- alt?: string;
675
+ alt?: 'json' | 'media' | 'proto';
671
676
  /** JSONP */
672
677
  callback?: string;
673
678
  /** Selector specifying which fields to include in a partial response. */
@@ -696,11 +701,11 @@ declare namespace gapi.client {
696
701
  /** Creates a new DebugToken for the specified app. For security reasons, after the creation operation completes, the `token` field cannot be updated or retrieved, but you can revoke the debug token using DeleteDebugToken. Each app can have a maximum of 20 debug tokens. */
697
702
  create(request: {
698
703
  /** V1 error format. */
699
- '$.xgafv'?: string;
704
+ '$.xgafv'?: '1' | '2';
700
705
  /** OAuth access token. */
701
706
  access_token?: string;
702
707
  /** Data format for response. */
703
- alt?: string;
708
+ alt?: 'json' | 'media' | 'proto';
704
709
  /** JSONP */
705
710
  callback?: string;
706
711
  /** Selector specifying which fields to include in a partial response. */
@@ -725,11 +730,11 @@ declare namespace gapi.client {
725
730
  create(
726
731
  request: {
727
732
  /** V1 error format. */
728
- '$.xgafv'?: string;
733
+ '$.xgafv'?: '1' | '2';
729
734
  /** OAuth access token. */
730
735
  access_token?: string;
731
736
  /** Data format for response. */
732
- alt?: string;
737
+ alt?: 'json' | 'media' | 'proto';
733
738
  /** JSONP */
734
739
  callback?: string;
735
740
  /** Selector specifying which fields to include in a partial response. */
@@ -754,11 +759,11 @@ declare namespace gapi.client {
754
759
  /** Deletes the specified DebugToken. A deleted debug token cannot be used to exchange for an App Check token. Use this method when you suspect the secret `token` has been compromised or when you no longer need the debug token. */
755
760
  delete(request?: {
756
761
  /** V1 error format. */
757
- '$.xgafv'?: string;
762
+ '$.xgafv'?: '1' | '2';
758
763
  /** OAuth access token. */
759
764
  access_token?: string;
760
765
  /** Data format for response. */
761
- alt?: string;
766
+ alt?: 'json' | 'media' | 'proto';
762
767
  /** JSONP */
763
768
  callback?: string;
764
769
  /** Selector specifying which fields to include in a partial response. */
@@ -781,11 +786,11 @@ declare namespace gapi.client {
781
786
  /** Gets the specified DebugToken. For security reasons, the `token` field is never populated in the response. */
782
787
  get(request?: {
783
788
  /** V1 error format. */
784
- '$.xgafv'?: string;
789
+ '$.xgafv'?: '1' | '2';
785
790
  /** OAuth access token. */
786
791
  access_token?: string;
787
792
  /** Data format for response. */
788
- alt?: string;
793
+ alt?: 'json' | 'media' | 'proto';
789
794
  /** JSONP */
790
795
  callback?: string;
791
796
  /** Selector specifying which fields to include in a partial response. */
@@ -808,11 +813,11 @@ declare namespace gapi.client {
808
813
  /** Lists all DebugTokens for the specified app. For security reasons, the `token` field is never populated in the response. */
809
814
  list(request?: {
810
815
  /** V1 error format. */
811
- '$.xgafv'?: string;
816
+ '$.xgafv'?: '1' | '2';
812
817
  /** OAuth access token. */
813
818
  access_token?: string;
814
819
  /** Data format for response. */
815
- alt?: string;
820
+ alt?: 'json' | 'media' | 'proto';
816
821
  /** JSONP */
817
822
  callback?: string;
818
823
  /** Selector specifying which fields to include in a partial response. */
@@ -839,11 +844,11 @@ declare namespace gapi.client {
839
844
  /** Updates the specified DebugToken. For security reasons, the `token` field cannot be updated, nor will it be populated in the response, but you can revoke the debug token using DeleteDebugToken. */
840
845
  patch(request: {
841
846
  /** V1 error format. */
842
- '$.xgafv'?: string;
847
+ '$.xgafv'?: '1' | '2';
843
848
  /** OAuth access token. */
844
849
  access_token?: string;
845
850
  /** Data format for response. */
846
- alt?: string;
851
+ alt?: 'json' | 'media' | 'proto';
847
852
  /** JSONP */
848
853
  callback?: string;
849
854
  /** Selector specifying which fields to include in a partial response. */
@@ -870,11 +875,11 @@ declare namespace gapi.client {
870
875
  patch(
871
876
  request: {
872
877
  /** V1 error format. */
873
- '$.xgafv'?: string;
878
+ '$.xgafv'?: '1' | '2';
874
879
  /** OAuth access token. */
875
880
  access_token?: string;
876
881
  /** Data format for response. */
877
- alt?: string;
882
+ alt?: 'json' | 'media' | 'proto';
878
883
  /** JSONP */
879
884
  callback?: string;
880
885
  /** Selector specifying which fields to include in a partial response. */
@@ -903,11 +908,11 @@ declare namespace gapi.client {
903
908
  /** Atomically gets the DeviceCheckConfigs for the specified list of apps. For security reasons, the `private_key` field is never populated in the response. */
904
909
  batchGet(request?: {
905
910
  /** V1 error format. */
906
- '$.xgafv'?: string;
911
+ '$.xgafv'?: '1' | '2';
907
912
  /** OAuth access token. */
908
913
  access_token?: string;
909
914
  /** Data format for response. */
910
- alt?: string;
915
+ alt?: 'json' | 'media' | 'proto';
911
916
  /** JSONP */
912
917
  callback?: string;
913
918
  /** Selector specifying which fields to include in a partial response. */
@@ -932,11 +937,11 @@ declare namespace gapi.client {
932
937
  /** Gets the DeviceCheckConfig for the specified app. For security reasons, the `private_key` field is never populated in the response. */
933
938
  get(request?: {
934
939
  /** V1 error format. */
935
- '$.xgafv'?: string;
940
+ '$.xgafv'?: '1' | '2';
936
941
  /** OAuth access token. */
937
942
  access_token?: string;
938
943
  /** Data format for response. */
939
- alt?: string;
944
+ alt?: 'json' | 'media' | 'proto';
940
945
  /** JSONP */
941
946
  callback?: string;
942
947
  /** Selector specifying which fields to include in a partial response. */
@@ -959,11 +964,11 @@ declare namespace gapi.client {
959
964
  /** Updates the DeviceCheckConfig for the specified app. While this configuration is incomplete or invalid, the app will be unable to exchange DeviceCheck tokens for App Check tokens. For security reasons, the `private_key` field is never populated in the response. */
960
965
  patch(request: {
961
966
  /** V1 error format. */
962
- '$.xgafv'?: string;
967
+ '$.xgafv'?: '1' | '2';
963
968
  /** OAuth access token. */
964
969
  access_token?: string;
965
970
  /** Data format for response. */
966
- alt?: string;
971
+ alt?: 'json' | 'media' | 'proto';
967
972
  /** JSONP */
968
973
  callback?: string;
969
974
  /** Selector specifying which fields to include in a partial response. */
@@ -990,11 +995,11 @@ declare namespace gapi.client {
990
995
  patch(
991
996
  request: {
992
997
  /** V1 error format. */
993
- '$.xgafv'?: string;
998
+ '$.xgafv'?: '1' | '2';
994
999
  /** OAuth access token. */
995
1000
  access_token?: string;
996
1001
  /** Data format for response. */
997
- alt?: string;
1002
+ alt?: 'json' | 'media' | 'proto';
998
1003
  /** JSONP */
999
1004
  callback?: string;
1000
1005
  /** Selector specifying which fields to include in a partial response. */
@@ -1023,11 +1028,11 @@ declare namespace gapi.client {
1023
1028
  /** Atomically gets the PlayIntegrityConfigs for the specified list of apps. */
1024
1029
  batchGet(request?: {
1025
1030
  /** V1 error format. */
1026
- '$.xgafv'?: string;
1031
+ '$.xgafv'?: '1' | '2';
1027
1032
  /** OAuth access token. */
1028
1033
  access_token?: string;
1029
1034
  /** Data format for response. */
1030
- alt?: string;
1035
+ alt?: 'json' | 'media' | 'proto';
1031
1036
  /** JSONP */
1032
1037
  callback?: string;
1033
1038
  /** Selector specifying which fields to include in a partial response. */
@@ -1052,11 +1057,11 @@ declare namespace gapi.client {
1052
1057
  /** Gets the PlayIntegrityConfig for the specified app. */
1053
1058
  get(request?: {
1054
1059
  /** V1 error format. */
1055
- '$.xgafv'?: string;
1060
+ '$.xgafv'?: '1' | '2';
1056
1061
  /** OAuth access token. */
1057
1062
  access_token?: string;
1058
1063
  /** Data format for response. */
1059
- alt?: string;
1064
+ alt?: 'json' | 'media' | 'proto';
1060
1065
  /** JSONP */
1061
1066
  callback?: string;
1062
1067
  /** Selector specifying which fields to include in a partial response. */
@@ -1079,11 +1084,11 @@ declare namespace gapi.client {
1079
1084
  /** Updates the PlayIntegrityConfig for the specified app. While this configuration is incomplete or invalid, the app will be unable to exchange Play Integrity tokens for App Check tokens. */
1080
1085
  patch(request: {
1081
1086
  /** V1 error format. */
1082
- '$.xgafv'?: string;
1087
+ '$.xgafv'?: '1' | '2';
1083
1088
  /** OAuth access token. */
1084
1089
  access_token?: string;
1085
1090
  /** Data format for response. */
1086
- alt?: string;
1091
+ alt?: 'json' | 'media' | 'proto';
1087
1092
  /** JSONP */
1088
1093
  callback?: string;
1089
1094
  /** Selector specifying which fields to include in a partial response. */
@@ -1110,11 +1115,11 @@ declare namespace gapi.client {
1110
1115
  patch(
1111
1116
  request: {
1112
1117
  /** V1 error format. */
1113
- '$.xgafv'?: string;
1118
+ '$.xgafv'?: '1' | '2';
1114
1119
  /** OAuth access token. */
1115
1120
  access_token?: string;
1116
1121
  /** Data format for response. */
1117
- alt?: string;
1122
+ alt?: 'json' | 'media' | 'proto';
1118
1123
  /** JSONP */
1119
1124
  callback?: string;
1120
1125
  /** Selector specifying which fields to include in a partial response. */
@@ -1143,11 +1148,11 @@ declare namespace gapi.client {
1143
1148
  /** Atomically gets the RecaptchaEnterpriseConfigs for the specified list of apps. */
1144
1149
  batchGet(request?: {
1145
1150
  /** V1 error format. */
1146
- '$.xgafv'?: string;
1151
+ '$.xgafv'?: '1' | '2';
1147
1152
  /** OAuth access token. */
1148
1153
  access_token?: string;
1149
1154
  /** Data format for response. */
1150
- alt?: string;
1155
+ alt?: 'json' | 'media' | 'proto';
1151
1156
  /** JSONP */
1152
1157
  callback?: string;
1153
1158
  /** Selector specifying which fields to include in a partial response. */
@@ -1172,11 +1177,11 @@ declare namespace gapi.client {
1172
1177
  /** Gets the RecaptchaEnterpriseConfig for the specified app. */
1173
1178
  get(request?: {
1174
1179
  /** V1 error format. */
1175
- '$.xgafv'?: string;
1180
+ '$.xgafv'?: '1' | '2';
1176
1181
  /** OAuth access token. */
1177
1182
  access_token?: string;
1178
1183
  /** Data format for response. */
1179
- alt?: string;
1184
+ alt?: 'json' | 'media' | 'proto';
1180
1185
  /** JSONP */
1181
1186
  callback?: string;
1182
1187
  /** Selector specifying which fields to include in a partial response. */
@@ -1199,11 +1204,11 @@ declare namespace gapi.client {
1199
1204
  /** Updates the RecaptchaEnterpriseConfig for the specified app. While this configuration is incomplete or invalid, the app will be unable to exchange reCAPTCHA Enterprise tokens for App Check tokens. */
1200
1205
  patch(request: {
1201
1206
  /** V1 error format. */
1202
- '$.xgafv'?: string;
1207
+ '$.xgafv'?: '1' | '2';
1203
1208
  /** OAuth access token. */
1204
1209
  access_token?: string;
1205
1210
  /** Data format for response. */
1206
- alt?: string;
1211
+ alt?: 'json' | 'media' | 'proto';
1207
1212
  /** JSONP */
1208
1213
  callback?: string;
1209
1214
  /** Selector specifying which fields to include in a partial response. */
@@ -1230,11 +1235,11 @@ declare namespace gapi.client {
1230
1235
  patch(
1231
1236
  request: {
1232
1237
  /** V1 error format. */
1233
- '$.xgafv'?: string;
1238
+ '$.xgafv'?: '1' | '2';
1234
1239
  /** OAuth access token. */
1235
1240
  access_token?: string;
1236
1241
  /** Data format for response. */
1237
- alt?: string;
1242
+ alt?: 'json' | 'media' | 'proto';
1238
1243
  /** JSONP */
1239
1244
  callback?: string;
1240
1245
  /** Selector specifying which fields to include in a partial response. */
@@ -1263,11 +1268,11 @@ declare namespace gapi.client {
1263
1268
  /** Atomically gets the RecaptchaV3Configs for the specified list of apps. For security reasons, the `site_secret` field is never populated in the response. */
1264
1269
  batchGet(request?: {
1265
1270
  /** V1 error format. */
1266
- '$.xgafv'?: string;
1271
+ '$.xgafv'?: '1' | '2';
1267
1272
  /** OAuth access token. */
1268
1273
  access_token?: string;
1269
1274
  /** Data format for response. */
1270
- alt?: string;
1275
+ alt?: 'json' | 'media' | 'proto';
1271
1276
  /** JSONP */
1272
1277
  callback?: string;
1273
1278
  /** Selector specifying which fields to include in a partial response. */
@@ -1292,11 +1297,11 @@ declare namespace gapi.client {
1292
1297
  /** Gets the RecaptchaV3Config for the specified app. For security reasons, the `site_secret` field is never populated in the response. */
1293
1298
  get(request?: {
1294
1299
  /** V1 error format. */
1295
- '$.xgafv'?: string;
1300
+ '$.xgafv'?: '1' | '2';
1296
1301
  /** OAuth access token. */
1297
1302
  access_token?: string;
1298
1303
  /** Data format for response. */
1299
- alt?: string;
1304
+ alt?: 'json' | 'media' | 'proto';
1300
1305
  /** JSONP */
1301
1306
  callback?: string;
1302
1307
  /** Selector specifying which fields to include in a partial response. */
@@ -1319,11 +1324,11 @@ declare namespace gapi.client {
1319
1324
  /** Updates the RecaptchaV3Config for the specified app. While this configuration is incomplete or invalid, the app will be unable to exchange reCAPTCHA V3 tokens for App Check tokens. For security reasons, the `site_secret` field is never populated in the response. */
1320
1325
  patch(request: {
1321
1326
  /** V1 error format. */
1322
- '$.xgafv'?: string;
1327
+ '$.xgafv'?: '1' | '2';
1323
1328
  /** OAuth access token. */
1324
1329
  access_token?: string;
1325
1330
  /** Data format for response. */
1326
- alt?: string;
1331
+ alt?: 'json' | 'media' | 'proto';
1327
1332
  /** JSONP */
1328
1333
  callback?: string;
1329
1334
  /** Selector specifying which fields to include in a partial response. */
@@ -1350,11 +1355,11 @@ declare namespace gapi.client {
1350
1355
  patch(
1351
1356
  request: {
1352
1357
  /** V1 error format. */
1353
- '$.xgafv'?: string;
1358
+ '$.xgafv'?: '1' | '2';
1354
1359
  /** OAuth access token. */
1355
1360
  access_token?: string;
1356
1361
  /** Data format for response. */
1357
- alt?: string;
1362
+ alt?: 'json' | 'media' | 'proto';
1358
1363
  /** JSONP */
1359
1364
  callback?: string;
1360
1365
  /** Selector specifying which fields to include in a partial response. */
@@ -1383,11 +1388,11 @@ declare namespace gapi.client {
1383
1388
  /** Atomically gets the SafetyNetConfigs for the specified list of apps. */
1384
1389
  batchGet(request?: {
1385
1390
  /** V1 error format. */
1386
- '$.xgafv'?: string;
1391
+ '$.xgafv'?: '1' | '2';
1387
1392
  /** OAuth access token. */
1388
1393
  access_token?: string;
1389
1394
  /** Data format for response. */
1390
- alt?: string;
1395
+ alt?: 'json' | 'media' | 'proto';
1391
1396
  /** JSONP */
1392
1397
  callback?: string;
1393
1398
  /** Selector specifying which fields to include in a partial response. */
@@ -1412,11 +1417,11 @@ declare namespace gapi.client {
1412
1417
  /** Gets the SafetyNetConfig for the specified app. */
1413
1418
  get(request?: {
1414
1419
  /** V1 error format. */
1415
- '$.xgafv'?: string;
1420
+ '$.xgafv'?: '1' | '2';
1416
1421
  /** OAuth access token. */
1417
1422
  access_token?: string;
1418
1423
  /** Data format for response. */
1419
- alt?: string;
1424
+ alt?: 'json' | 'media' | 'proto';
1420
1425
  /** JSONP */
1421
1426
  callback?: string;
1422
1427
  /** Selector specifying which fields to include in a partial response. */
@@ -1439,11 +1444,11 @@ declare namespace gapi.client {
1439
1444
  /** Updates the SafetyNetConfig for the specified app. While this configuration is incomplete or invalid, the app will be unable to exchange SafetyNet tokens for App Check tokens. */
1440
1445
  patch(request: {
1441
1446
  /** V1 error format. */
1442
- '$.xgafv'?: string;
1447
+ '$.xgafv'?: '1' | '2';
1443
1448
  /** OAuth access token. */
1444
1449
  access_token?: string;
1445
1450
  /** Data format for response. */
1446
- alt?: string;
1451
+ alt?: 'json' | 'media' | 'proto';
1447
1452
  /** JSONP */
1448
1453
  callback?: string;
1449
1454
  /** Selector specifying which fields to include in a partial response. */
@@ -1470,11 +1475,11 @@ declare namespace gapi.client {
1470
1475
  patch(
1471
1476
  request: {
1472
1477
  /** V1 error format. */
1473
- '$.xgafv'?: string;
1478
+ '$.xgafv'?: '1' | '2';
1474
1479
  /** OAuth access token. */
1475
1480
  access_token?: string;
1476
1481
  /** Data format for response. */
1477
- alt?: string;
1482
+ alt?: 'json' | 'media' | 'proto';
1478
1483
  /** JSONP */
1479
1484
  callback?: string;
1480
1485
  /** Selector specifying which fields to include in a partial response. */
@@ -1503,11 +1508,11 @@ declare namespace gapi.client {
1503
1508
  /** Accepts an App Attest assertion and an artifact previously obtained from ExchangeAppAttestAttestation and verifies those with Apple. If valid, returns an AppCheckToken. */
1504
1509
  exchangeAppAttestAssertion(request: {
1505
1510
  /** V1 error format. */
1506
- '$.xgafv'?: string;
1511
+ '$.xgafv'?: '1' | '2';
1507
1512
  /** OAuth access token. */
1508
1513
  access_token?: string;
1509
1514
  /** Data format for response. */
1510
- alt?: string;
1515
+ alt?: 'json' | 'media' | 'proto';
1511
1516
  /** Required. The relative resource name of the iOS app, in the format: ``` projects/{project_number}/apps/{app_id} ``` If necessary, the `project_number` element can be replaced with the project ID of the Firebase project. Learn more about using project identifiers in Google's [AIP 2510](https://google.aip.dev/cloud/2510) standard. */
1512
1517
  app: string;
1513
1518
  /** JSONP */
@@ -1532,11 +1537,11 @@ declare namespace gapi.client {
1532
1537
  exchangeAppAttestAssertion(
1533
1538
  request: {
1534
1539
  /** V1 error format. */
1535
- '$.xgafv'?: string;
1540
+ '$.xgafv'?: '1' | '2';
1536
1541
  /** OAuth access token. */
1537
1542
  access_token?: string;
1538
1543
  /** Data format for response. */
1539
- alt?: string;
1544
+ alt?: 'json' | 'media' | 'proto';
1540
1545
  /** Required. The relative resource name of the iOS app, in the format: ``` projects/{project_number}/apps/{app_id} ``` If necessary, the `project_number` element can be replaced with the project ID of the Firebase project. Learn more about using project identifiers in Google's [AIP 2510](https://google.aip.dev/cloud/2510) standard. */
1541
1546
  app: string;
1542
1547
  /** JSONP */
@@ -1561,11 +1566,11 @@ declare namespace gapi.client {
1561
1566
  /** Accepts an App Attest CBOR attestation and verifies it with Apple using your preconfigured team and bundle IDs. If valid, returns an attestation artifact that can later be exchanged for an AppCheckToken using ExchangeAppAttestAssertion. For convenience and performance, this method's response object will also contain an AppCheckToken (if the verification is successful). */
1562
1567
  exchangeAppAttestAttestation(request: {
1563
1568
  /** V1 error format. */
1564
- '$.xgafv'?: string;
1569
+ '$.xgafv'?: '1' | '2';
1565
1570
  /** OAuth access token. */
1566
1571
  access_token?: string;
1567
1572
  /** Data format for response. */
1568
- alt?: string;
1573
+ alt?: 'json' | 'media' | 'proto';
1569
1574
  /** Required. The relative resource name of the iOS app, in the format: ``` projects/{project_number}/apps/{app_id} ``` If necessary, the `project_number` element can be replaced with the project ID of the Firebase project. Learn more about using project identifiers in Google's [AIP 2510](https://google.aip.dev/cloud/2510) standard. */
1570
1575
  app: string;
1571
1576
  /** JSONP */
@@ -1590,11 +1595,11 @@ declare namespace gapi.client {
1590
1595
  exchangeAppAttestAttestation(
1591
1596
  request: {
1592
1597
  /** V1 error format. */
1593
- '$.xgafv'?: string;
1598
+ '$.xgafv'?: '1' | '2';
1594
1599
  /** OAuth access token. */
1595
1600
  access_token?: string;
1596
1601
  /** Data format for response. */
1597
- alt?: string;
1602
+ alt?: 'json' | 'media' | 'proto';
1598
1603
  /** Required. The relative resource name of the iOS app, in the format: ``` projects/{project_number}/apps/{app_id} ``` If necessary, the `project_number` element can be replaced with the project ID of the Firebase project. Learn more about using project identifiers in Google's [AIP 2510](https://google.aip.dev/cloud/2510) standard. */
1599
1604
  app: string;
1600
1605
  /** JSONP */
@@ -1619,11 +1624,11 @@ declare namespace gapi.client {
1619
1624
  /** Validates a custom token signed using your project's Admin SDK service account credentials. If valid, returns an AppCheckToken. */
1620
1625
  exchangeCustomToken(request: {
1621
1626
  /** V1 error format. */
1622
- '$.xgafv'?: string;
1627
+ '$.xgafv'?: '1' | '2';
1623
1628
  /** OAuth access token. */
1624
1629
  access_token?: string;
1625
1630
  /** Data format for response. */
1626
- alt?: string;
1631
+ alt?: 'json' | 'media' | 'proto';
1627
1632
  /** Required. The relative resource name of the app, in the format: ``` projects/{project_number}/apps/{app_id} ``` If necessary, the `project_number` element can be replaced with the project ID of the Firebase project. Learn more about using project identifiers in Google's [AIP 2510](https://google.aip.dev/cloud/2510) standard. */
1628
1633
  app: string;
1629
1634
  /** JSONP */
@@ -1648,11 +1653,11 @@ declare namespace gapi.client {
1648
1653
  exchangeCustomToken(
1649
1654
  request: {
1650
1655
  /** V1 error format. */
1651
- '$.xgafv'?: string;
1656
+ '$.xgafv'?: '1' | '2';
1652
1657
  /** OAuth access token. */
1653
1658
  access_token?: string;
1654
1659
  /** Data format for response. */
1655
- alt?: string;
1660
+ alt?: 'json' | 'media' | 'proto';
1656
1661
  /** Required. The relative resource name of the app, in the format: ``` projects/{project_number}/apps/{app_id} ``` If necessary, the `project_number` element can be replaced with the project ID of the Firebase project. Learn more about using project identifiers in Google's [AIP 2510](https://google.aip.dev/cloud/2510) standard. */
1657
1662
  app: string;
1658
1663
  /** JSONP */
@@ -1677,11 +1682,11 @@ declare namespace gapi.client {
1677
1682
  /** Validates a debug token secret that you have previously created using CreateDebugToken. If valid, returns an AppCheckToken. Note that a restrictive quota is enforced on this method to prevent accidental exposure of the app to abuse. */
1678
1683
  exchangeDebugToken(request: {
1679
1684
  /** V1 error format. */
1680
- '$.xgafv'?: string;
1685
+ '$.xgafv'?: '1' | '2';
1681
1686
  /** OAuth access token. */
1682
1687
  access_token?: string;
1683
1688
  /** Data format for response. */
1684
- alt?: string;
1689
+ alt?: 'json' | 'media' | 'proto';
1685
1690
  /** Required. The relative resource name of the app, in the format: ``` projects/{project_number}/apps/{app_id} ``` If necessary, the `project_number` element can be replaced with the project ID of the Firebase project. Learn more about using project identifiers in Google's [AIP 2510](https://google.aip.dev/cloud/2510) standard. */
1686
1691
  app: string;
1687
1692
  /** JSONP */
@@ -1706,11 +1711,11 @@ declare namespace gapi.client {
1706
1711
  exchangeDebugToken(
1707
1712
  request: {
1708
1713
  /** V1 error format. */
1709
- '$.xgafv'?: string;
1714
+ '$.xgafv'?: '1' | '2';
1710
1715
  /** OAuth access token. */
1711
1716
  access_token?: string;
1712
1717
  /** Data format for response. */
1713
- alt?: string;
1718
+ alt?: 'json' | 'media' | 'proto';
1714
1719
  /** Required. The relative resource name of the app, in the format: ``` projects/{project_number}/apps/{app_id} ``` If necessary, the `project_number` element can be replaced with the project ID of the Firebase project. Learn more about using project identifiers in Google's [AIP 2510](https://google.aip.dev/cloud/2510) standard. */
1715
1720
  app: string;
1716
1721
  /** JSONP */
@@ -1735,11 +1740,11 @@ declare namespace gapi.client {
1735
1740
  /** Accepts a [`device_token`](https://developer.apple.com/documentation/devicecheck/dcdevice) issued by DeviceCheck, and attempts to validate it with Apple. If valid, returns an AppCheckToken. */
1736
1741
  exchangeDeviceCheckToken(request: {
1737
1742
  /** V1 error format. */
1738
- '$.xgafv'?: string;
1743
+ '$.xgafv'?: '1' | '2';
1739
1744
  /** OAuth access token. */
1740
1745
  access_token?: string;
1741
1746
  /** Data format for response. */
1742
- alt?: string;
1747
+ alt?: 'json' | 'media' | 'proto';
1743
1748
  /** Required. The relative resource name of the iOS app, in the format: ``` projects/{project_number}/apps/{app_id} ``` If necessary, the `project_number` element can be replaced with the project ID of the Firebase project. Learn more about using project identifiers in Google's [AIP 2510](https://google.aip.dev/cloud/2510) standard. */
1744
1749
  app: string;
1745
1750
  /** JSONP */
@@ -1764,11 +1769,11 @@ declare namespace gapi.client {
1764
1769
  exchangeDeviceCheckToken(
1765
1770
  request: {
1766
1771
  /** V1 error format. */
1767
- '$.xgafv'?: string;
1772
+ '$.xgafv'?: '1' | '2';
1768
1773
  /** OAuth access token. */
1769
1774
  access_token?: string;
1770
1775
  /** Data format for response. */
1771
- alt?: string;
1776
+ alt?: 'json' | 'media' | 'proto';
1772
1777
  /** Required. The relative resource name of the iOS app, in the format: ``` projects/{project_number}/apps/{app_id} ``` If necessary, the `project_number` element can be replaced with the project ID of the Firebase project. Learn more about using project identifiers in Google's [AIP 2510](https://google.aip.dev/cloud/2510) standard. */
1773
1778
  app: string;
1774
1779
  /** JSONP */
@@ -1793,11 +1798,11 @@ declare namespace gapi.client {
1793
1798
  /** Validates an [integrity verdict response token from Play Integrity](https://developer.android.com/google/play/integrity/verdict#decrypt-verify). If valid, returns an AppCheckToken. */
1794
1799
  exchangePlayIntegrityToken(request: {
1795
1800
  /** V1 error format. */
1796
- '$.xgafv'?: string;
1801
+ '$.xgafv'?: '1' | '2';
1797
1802
  /** OAuth access token. */
1798
1803
  access_token?: string;
1799
1804
  /** Data format for response. */
1800
- alt?: string;
1805
+ alt?: 'json' | 'media' | 'proto';
1801
1806
  /** Required. The relative resource name of the Android app, in the format: ``` projects/{project_number}/apps/{app_id} ``` If necessary, the `project_number` element can be replaced with the project ID of the Firebase project. Learn more about using project identifiers in Google's [AIP 2510](https://google.aip.dev/cloud/2510) standard. */
1802
1807
  app: string;
1803
1808
  /** JSONP */
@@ -1822,11 +1827,11 @@ declare namespace gapi.client {
1822
1827
  exchangePlayIntegrityToken(
1823
1828
  request: {
1824
1829
  /** V1 error format. */
1825
- '$.xgafv'?: string;
1830
+ '$.xgafv'?: '1' | '2';
1826
1831
  /** OAuth access token. */
1827
1832
  access_token?: string;
1828
1833
  /** Data format for response. */
1829
- alt?: string;
1834
+ alt?: 'json' | 'media' | 'proto';
1830
1835
  /** Required. The relative resource name of the Android app, in the format: ``` projects/{project_number}/apps/{app_id} ``` If necessary, the `project_number` element can be replaced with the project ID of the Firebase project. Learn more about using project identifiers in Google's [AIP 2510](https://google.aip.dev/cloud/2510) standard. */
1831
1836
  app: string;
1832
1837
  /** JSONP */
@@ -1851,11 +1856,11 @@ declare namespace gapi.client {
1851
1856
  /** Validates a [reCAPTCHA Enterprise response token](https://cloud.google.com/recaptcha-enterprise/docs/create-assessment#retrieve_token). If valid, returns an AppCheckToken. */
1852
1857
  exchangeRecaptchaEnterpriseToken(request: {
1853
1858
  /** V1 error format. */
1854
- '$.xgafv'?: string;
1859
+ '$.xgafv'?: '1' | '2';
1855
1860
  /** OAuth access token. */
1856
1861
  access_token?: string;
1857
1862
  /** Data format for response. */
1858
- alt?: string;
1863
+ alt?: 'json' | 'media' | 'proto';
1859
1864
  /** Required. The relative resource name of the web app, in the format: ``` projects/{project_number}/apps/{app_id} ``` If necessary, the `project_number` element can be replaced with the project ID of the Firebase project. Learn more about using project identifiers in Google's [AIP 2510](https://google.aip.dev/cloud/2510) standard. */
1860
1865
  app: string;
1861
1866
  /** JSONP */
@@ -1880,11 +1885,11 @@ declare namespace gapi.client {
1880
1885
  exchangeRecaptchaEnterpriseToken(
1881
1886
  request: {
1882
1887
  /** V1 error format. */
1883
- '$.xgafv'?: string;
1888
+ '$.xgafv'?: '1' | '2';
1884
1889
  /** OAuth access token. */
1885
1890
  access_token?: string;
1886
1891
  /** Data format for response. */
1887
- alt?: string;
1892
+ alt?: 'json' | 'media' | 'proto';
1888
1893
  /** Required. The relative resource name of the web app, in the format: ``` projects/{project_number}/apps/{app_id} ``` If necessary, the `project_number` element can be replaced with the project ID of the Firebase project. Learn more about using project identifiers in Google's [AIP 2510](https://google.aip.dev/cloud/2510) standard. */
1889
1894
  app: string;
1890
1895
  /** JSONP */
@@ -1909,11 +1914,11 @@ declare namespace gapi.client {
1909
1914
  /** Validates a [reCAPTCHA v3 response token](https://developers.google.com/recaptcha/docs/v3). If valid, returns an AppCheckToken. */
1910
1915
  exchangeRecaptchaV3Token(request: {
1911
1916
  /** V1 error format. */
1912
- '$.xgafv'?: string;
1917
+ '$.xgafv'?: '1' | '2';
1913
1918
  /** OAuth access token. */
1914
1919
  access_token?: string;
1915
1920
  /** Data format for response. */
1916
- alt?: string;
1921
+ alt?: 'json' | 'media' | 'proto';
1917
1922
  /** Required. The relative resource name of the web app, in the format: ``` projects/{project_number}/apps/{app_id} ``` If necessary, the `project_number` element can be replaced with the project ID of the Firebase project. Learn more about using project identifiers in Google's [AIP 2510](https://google.aip.dev/cloud/2510) standard. */
1918
1923
  app: string;
1919
1924
  /** JSONP */
@@ -1938,11 +1943,11 @@ declare namespace gapi.client {
1938
1943
  exchangeRecaptchaV3Token(
1939
1944
  request: {
1940
1945
  /** V1 error format. */
1941
- '$.xgafv'?: string;
1946
+ '$.xgafv'?: '1' | '2';
1942
1947
  /** OAuth access token. */
1943
1948
  access_token?: string;
1944
1949
  /** Data format for response. */
1945
- alt?: string;
1950
+ alt?: 'json' | 'media' | 'proto';
1946
1951
  /** Required. The relative resource name of the web app, in the format: ``` projects/{project_number}/apps/{app_id} ``` If necessary, the `project_number` element can be replaced with the project ID of the Firebase project. Learn more about using project identifiers in Google's [AIP 2510](https://google.aip.dev/cloud/2510) standard. */
1947
1952
  app: string;
1948
1953
  /** JSONP */
@@ -1967,11 +1972,11 @@ declare namespace gapi.client {
1967
1972
  /** Validates a [SafetyNet token](https://developer.android.com/training/safetynet/attestation#request-attestation-step). If valid, returns an AppCheckToken. */
1968
1973
  exchangeSafetyNetToken(request: {
1969
1974
  /** V1 error format. */
1970
- '$.xgafv'?: string;
1975
+ '$.xgafv'?: '1' | '2';
1971
1976
  /** OAuth access token. */
1972
1977
  access_token?: string;
1973
1978
  /** Data format for response. */
1974
- alt?: string;
1979
+ alt?: 'json' | 'media' | 'proto';
1975
1980
  /** Required. The relative resource name of the Android app, in the format: ``` projects/{project_number}/apps/{app_id} ``` If necessary, the `project_number` element can be replaced with the project ID of the Firebase project. Learn more about using project identifiers in Google's [AIP 2510](https://google.aip.dev/cloud/2510) standard. */
1976
1981
  app: string;
1977
1982
  /** JSONP */
@@ -1996,11 +2001,11 @@ declare namespace gapi.client {
1996
2001
  exchangeSafetyNetToken(
1997
2002
  request: {
1998
2003
  /** V1 error format. */
1999
- '$.xgafv'?: string;
2004
+ '$.xgafv'?: '1' | '2';
2000
2005
  /** OAuth access token. */
2001
2006
  access_token?: string;
2002
2007
  /** Data format for response. */
2003
- alt?: string;
2008
+ alt?: 'json' | 'media' | 'proto';
2004
2009
  /** Required. The relative resource name of the Android app, in the format: ``` projects/{project_number}/apps/{app_id} ``` If necessary, the `project_number` element can be replaced with the project ID of the Firebase project. Learn more about using project identifiers in Google's [AIP 2510](https://google.aip.dev/cloud/2510) standard. */
2005
2010
  app: string;
2006
2011
  /** JSONP */
@@ -2025,11 +2030,11 @@ declare namespace gapi.client {
2025
2030
  /** Generates a challenge that protects the integrity of an immediately following call to ExchangeAppAttestAttestation or ExchangeAppAttestAssertion. A challenge should not be reused for multiple calls. */
2026
2031
  generateAppAttestChallenge(request: {
2027
2032
  /** V1 error format. */
2028
- '$.xgafv'?: string;
2033
+ '$.xgafv'?: '1' | '2';
2029
2034
  /** OAuth access token. */
2030
2035
  access_token?: string;
2031
2036
  /** Data format for response. */
2032
- alt?: string;
2037
+ alt?: 'json' | 'media' | 'proto';
2033
2038
  /** Required. The relative resource name of the iOS app, in the format: ``` projects/{project_number}/apps/{app_id} ``` If necessary, the `project_number` element can be replaced with the project ID of the Firebase project. Learn more about using project identifiers in Google's [AIP 2510](https://google.aip.dev/cloud/2510) standard. */
2034
2039
  app: string;
2035
2040
  /** JSONP */
@@ -2054,11 +2059,11 @@ declare namespace gapi.client {
2054
2059
  generateAppAttestChallenge(
2055
2060
  request: {
2056
2061
  /** V1 error format. */
2057
- '$.xgafv'?: string;
2062
+ '$.xgafv'?: '1' | '2';
2058
2063
  /** OAuth access token. */
2059
2064
  access_token?: string;
2060
2065
  /** Data format for response. */
2061
- alt?: string;
2066
+ alt?: 'json' | 'media' | 'proto';
2062
2067
  /** Required. The relative resource name of the iOS app, in the format: ``` projects/{project_number}/apps/{app_id} ``` If necessary, the `project_number` element can be replaced with the project ID of the Firebase project. Learn more about using project identifiers in Google's [AIP 2510](https://google.aip.dev/cloud/2510) standard. */
2063
2068
  app: string;
2064
2069
  /** JSONP */
@@ -2083,11 +2088,11 @@ declare namespace gapi.client {
2083
2088
  /** Generates a challenge that protects the integrity of an immediately following integrity verdict request to the Play Integrity API. The next call to ExchangePlayIntegrityToken using the resulting integrity token will verify the presence and validity of the challenge. A challenge should not be reused for multiple calls. */
2084
2089
  generatePlayIntegrityChallenge(request: {
2085
2090
  /** V1 error format. */
2086
- '$.xgafv'?: string;
2091
+ '$.xgafv'?: '1' | '2';
2087
2092
  /** OAuth access token. */
2088
2093
  access_token?: string;
2089
2094
  /** Data format for response. */
2090
- alt?: string;
2095
+ alt?: 'json' | 'media' | 'proto';
2091
2096
  /** Required. The relative resource name of the app, in the format: ``` projects/{project_number}/apps/{app_id} ``` If necessary, the `project_number` element can be replaced with the project ID of the Firebase project. Learn more about using project identifiers in Google's [AIP 2510](https://google.aip.dev/cloud/2510) standard. */
2092
2097
  app: string;
2093
2098
  /** JSONP */
@@ -2112,11 +2117,11 @@ declare namespace gapi.client {
2112
2117
  generatePlayIntegrityChallenge(
2113
2118
  request: {
2114
2119
  /** V1 error format. */
2115
- '$.xgafv'?: string;
2120
+ '$.xgafv'?: '1' | '2';
2116
2121
  /** OAuth access token. */
2117
2122
  access_token?: string;
2118
2123
  /** Data format for response. */
2119
- alt?: string;
2124
+ alt?: 'json' | 'media' | 'proto';
2120
2125
  /** Required. The relative resource name of the app, in the format: ``` projects/{project_number}/apps/{app_id} ``` If necessary, the `project_number` element can be replaced with the project ID of the Firebase project. Learn more about using project identifiers in Google's [AIP 2510](https://google.aip.dev/cloud/2510) standard. */
2121
2126
  app: string;
2122
2127
  /** JSONP */
@@ -2150,11 +2155,11 @@ declare namespace gapi.client {
2150
2155
  /** Atomically updates the specified ResourcePolicy configurations. */
2151
2156
  batchUpdate(request: {
2152
2157
  /** V1 error format. */
2153
- '$.xgafv'?: string;
2158
+ '$.xgafv'?: '1' | '2';
2154
2159
  /** OAuth access token. */
2155
2160
  access_token?: string;
2156
2161
  /** Data format for response. */
2157
- alt?: string;
2162
+ alt?: 'json' | 'media' | 'proto';
2158
2163
  /** JSONP */
2159
2164
  callback?: string;
2160
2165
  /** Selector specifying which fields to include in a partial response. */
@@ -2179,11 +2184,11 @@ declare namespace gapi.client {
2179
2184
  batchUpdate(
2180
2185
  request: {
2181
2186
  /** V1 error format. */
2182
- '$.xgafv'?: string;
2187
+ '$.xgafv'?: '1' | '2';
2183
2188
  /** OAuth access token. */
2184
2189
  access_token?: string;
2185
2190
  /** Data format for response. */
2186
- alt?: string;
2191
+ alt?: 'json' | 'media' | 'proto';
2187
2192
  /** JSONP */
2188
2193
  callback?: string;
2189
2194
  /** Selector specifying which fields to include in a partial response. */
@@ -2208,11 +2213,11 @@ declare namespace gapi.client {
2208
2213
  /** Creates the specified ResourcePolicy configuration. */
2209
2214
  create(request: {
2210
2215
  /** V1 error format. */
2211
- '$.xgafv'?: string;
2216
+ '$.xgafv'?: '1' | '2';
2212
2217
  /** OAuth access token. */
2213
2218
  access_token?: string;
2214
2219
  /** Data format for response. */
2215
- alt?: string;
2220
+ alt?: 'json' | 'media' | 'proto';
2216
2221
  /** JSONP */
2217
2222
  callback?: string;
2218
2223
  /** Selector specifying which fields to include in a partial response. */
@@ -2237,11 +2242,11 @@ declare namespace gapi.client {
2237
2242
  create(
2238
2243
  request: {
2239
2244
  /** V1 error format. */
2240
- '$.xgafv'?: string;
2245
+ '$.xgafv'?: '1' | '2';
2241
2246
  /** OAuth access token. */
2242
2247
  access_token?: string;
2243
2248
  /** Data format for response. */
2244
- alt?: string;
2249
+ alt?: 'json' | 'media' | 'proto';
2245
2250
  /** JSONP */
2246
2251
  callback?: string;
2247
2252
  /** Selector specifying which fields to include in a partial response. */
@@ -2266,11 +2271,11 @@ declare namespace gapi.client {
2266
2271
  /** Deletes the specified ResourcePolicy configuration. */
2267
2272
  delete(request?: {
2268
2273
  /** V1 error format. */
2269
- '$.xgafv'?: string;
2274
+ '$.xgafv'?: '1' | '2';
2270
2275
  /** OAuth access token. */
2271
2276
  access_token?: string;
2272
2277
  /** Data format for response. */
2273
- alt?: string;
2278
+ alt?: 'json' | 'media' | 'proto';
2274
2279
  /** JSONP */
2275
2280
  callback?: string;
2276
2281
  /** The checksum to be validated against the current ResourcePolicy, to ensure the client has an up-to-date value before proceeding. This checksum is computed by the server based on the values of fields in the ResourcePolicy object, and can be obtained from the ResourcePolicy object received from the last CreateResourcePolicy, GetResourcePolicy, ListResourcePolicies, UpdateResourcePolicy, or BatchUpdateResourcePolicies call. This etag is strongly validated as defined by RFC 7232. */
@@ -2295,11 +2300,11 @@ declare namespace gapi.client {
2295
2300
  /** Gets the requested ResourcePolicy configuration. */
2296
2301
  get(request?: {
2297
2302
  /** V1 error format. */
2298
- '$.xgafv'?: string;
2303
+ '$.xgafv'?: '1' | '2';
2299
2304
  /** OAuth access token. */
2300
2305
  access_token?: string;
2301
2306
  /** Data format for response. */
2302
- alt?: string;
2307
+ alt?: 'json' | 'media' | 'proto';
2303
2308
  /** JSONP */
2304
2309
  callback?: string;
2305
2310
  /** Selector specifying which fields to include in a partial response. */
@@ -2322,11 +2327,11 @@ declare namespace gapi.client {
2322
2327
  /** Lists all ResourcePolicy configurations for the specified project and service. */
2323
2328
  list(request?: {
2324
2329
  /** V1 error format. */
2325
- '$.xgafv'?: string;
2330
+ '$.xgafv'?: '1' | '2';
2326
2331
  /** OAuth access token. */
2327
2332
  access_token?: string;
2328
2333
  /** Data format for response. */
2329
- alt?: string;
2334
+ alt?: 'json' | 'media' | 'proto';
2330
2335
  /** JSONP */
2331
2336
  callback?: string;
2332
2337
  /** Selector specifying which fields to include in a partial response. */
@@ -2355,11 +2360,11 @@ declare namespace gapi.client {
2355
2360
  /** Updates the specified ResourcePolicy configuration. */
2356
2361
  patch(request: {
2357
2362
  /** V1 error format. */
2358
- '$.xgafv'?: string;
2363
+ '$.xgafv'?: '1' | '2';
2359
2364
  /** OAuth access token. */
2360
2365
  access_token?: string;
2361
2366
  /** Data format for response. */
2362
- alt?: string;
2367
+ alt?: 'json' | 'media' | 'proto';
2363
2368
  /** JSONP */
2364
2369
  callback?: string;
2365
2370
  /** Selector specifying which fields to include in a partial response. */
@@ -2386,11 +2391,11 @@ declare namespace gapi.client {
2386
2391
  patch(
2387
2392
  request: {
2388
2393
  /** V1 error format. */
2389
- '$.xgafv'?: string;
2394
+ '$.xgafv'?: '1' | '2';
2390
2395
  /** OAuth access token. */
2391
2396
  access_token?: string;
2392
2397
  /** Data format for response. */
2393
- alt?: string;
2398
+ alt?: 'json' | 'media' | 'proto';
2394
2399
  /** JSONP */
2395
2400
  callback?: string;
2396
2401
  /** Selector specifying which fields to include in a partial response. */
@@ -2419,11 +2424,11 @@ declare namespace gapi.client {
2419
2424
  /** Atomically updates the specified Service configurations. */
2420
2425
  batchUpdate(request: {
2421
2426
  /** V1 error format. */
2422
- '$.xgafv'?: string;
2427
+ '$.xgafv'?: '1' | '2';
2423
2428
  /** OAuth access token. */
2424
2429
  access_token?: string;
2425
2430
  /** Data format for response. */
2426
- alt?: string;
2431
+ alt?: 'json' | 'media' | 'proto';
2427
2432
  /** JSONP */
2428
2433
  callback?: string;
2429
2434
  /** Selector specifying which fields to include in a partial response. */
@@ -2448,11 +2453,11 @@ declare namespace gapi.client {
2448
2453
  batchUpdate(
2449
2454
  request: {
2450
2455
  /** V1 error format. */
2451
- '$.xgafv'?: string;
2456
+ '$.xgafv'?: '1' | '2';
2452
2457
  /** OAuth access token. */
2453
2458
  access_token?: string;
2454
2459
  /** Data format for response. */
2455
- alt?: string;
2460
+ alt?: 'json' | 'media' | 'proto';
2456
2461
  /** JSONP */
2457
2462
  callback?: string;
2458
2463
  /** Selector specifying which fields to include in a partial response. */
@@ -2477,11 +2482,11 @@ declare namespace gapi.client {
2477
2482
  /** Gets the Service configuration for the specified service name. */
2478
2483
  get(request?: {
2479
2484
  /** V1 error format. */
2480
- '$.xgafv'?: string;
2485
+ '$.xgafv'?: '1' | '2';
2481
2486
  /** OAuth access token. */
2482
2487
  access_token?: string;
2483
2488
  /** Data format for response. */
2484
- alt?: string;
2489
+ alt?: 'json' | 'media' | 'proto';
2485
2490
  /** JSONP */
2486
2491
  callback?: string;
2487
2492
  /** Selector specifying which fields to include in a partial response. */
@@ -2504,11 +2509,11 @@ declare namespace gapi.client {
2504
2509
  /** Lists all Service configurations for the specified project. Only Services which were explicitly configured using UpdateService or BatchUpdateServices will be returned. */
2505
2510
  list(request?: {
2506
2511
  /** V1 error format. */
2507
- '$.xgafv'?: string;
2512
+ '$.xgafv'?: '1' | '2';
2508
2513
  /** OAuth access token. */
2509
2514
  access_token?: string;
2510
2515
  /** Data format for response. */
2511
- alt?: string;
2516
+ alt?: 'json' | 'media' | 'proto';
2512
2517
  /** JSONP */
2513
2518
  callback?: string;
2514
2519
  /** Selector specifying which fields to include in a partial response. */
@@ -2535,11 +2540,11 @@ declare namespace gapi.client {
2535
2540
  /** Updates the specified Service configuration. */
2536
2541
  patch(request: {
2537
2542
  /** V1 error format. */
2538
- '$.xgafv'?: string;
2543
+ '$.xgafv'?: '1' | '2';
2539
2544
  /** OAuth access token. */
2540
2545
  access_token?: string;
2541
2546
  /** Data format for response. */
2542
- alt?: string;
2547
+ alt?: 'json' | 'media' | 'proto';
2543
2548
  /** JSONP */
2544
2549
  callback?: string;
2545
2550
  /** Selector specifying which fields to include in a partial response. */
@@ -2566,11 +2571,11 @@ declare namespace gapi.client {
2566
2571
  patch(
2567
2572
  request: {
2568
2573
  /** V1 error format. */
2569
- '$.xgafv'?: string;
2574
+ '$.xgafv'?: '1' | '2';
2570
2575
  /** OAuth access token. */
2571
2576
  access_token?: string;
2572
2577
  /** Data format for response. */
2573
- alt?: string;
2578
+ alt?: 'json' | 'media' | 'proto';
2574
2579
  /** JSONP */
2575
2580
  callback?: string;
2576
2581
  /** Selector specifying which fields to include in a partial response. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.firebaseappcheck-v1",
3
- "version": "0.1.20260307",
3
+ "version": "0.2.20260307",
4
4
  "description": "TypeScript typings for Firebase App Check API v1",
5
5
  "repository": {
6
6
  "type": "git",