@maxim_mazurok/gapi.client.firebaseappdistribution-v1 0.1.20260318 → 0.2.20260605

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 +122 -84
  2. package/package.json +1 -1
  3. package/readme.md +17 -0
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://firebaseappdistribution.googleapis.com/$discovery/rest?version=v1
12
- // Revision: 20260318
12
+ // Revision: 20260605
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -64,7 +64,12 @@ declare namespace gapi.client {
64
64
  /** Path to the data, set if reference_type is PATH */
65
65
  path?: string;
66
66
  /** Describes what the field reference contains. */
67
- referenceType?: string;
67
+ referenceType?:
68
+ | 'PATH'
69
+ | 'BLOB_REF'
70
+ | 'INLINE'
71
+ | 'BIGSTORE_REF'
72
+ | 'COSMO_BINARY_REFERENCE';
68
73
  /** SHA-1 hash for the payload. */
69
74
  sha1Hash?: string;
70
75
  }
@@ -75,10 +80,14 @@ declare namespace gapi.client {
75
80
  fromBytes?: string;
76
81
  /** The content type of the file derived from the file extension of the original file name used by the client. */
77
82
  fromFileName?: string;
83
+ /** The content type of the file detected by Fusion ID. go/fusionid */
84
+ fromFusionId?: string;
78
85
  /** The content type of the file as specified in the request headers, multipart headers, or RUPIO start request. */
79
86
  fromHeader?: string;
80
87
  /** The content type of the file derived from the file extension of the URL path. The URL path is assumed to represent a file name (which is typically only true for agents that are providing a REST API). */
81
88
  fromUrlPath?: string;
89
+ /** Metadata information from Fusion ID detection. Serialized FusionIdDetectionMetadata proto. Only set if from_fusion_id is set. */
90
+ fusionIdDetectionMetadata?: string;
82
91
  }
83
92
  interface GdataDiffChecksumsResponse {
84
93
  /** Exactly one of these fields must be populated. If checksums_location is filled, the server will return the corresponding contents to the user. If object_location is filled, the server will calculate the checksums based on the content there and return that to the user. For details on the format of the checksums, see http://go/scotty-diff-protocol. */
@@ -174,11 +183,26 @@ declare namespace gapi.client {
174
183
  /** Path to the data, set if reference_type is PATH */
175
184
  path?: string;
176
185
  /** Describes what the field reference contains. */
177
- referenceType?: string;
186
+ referenceType?:
187
+ | 'PATH'
188
+ | 'BLOB_REF'
189
+ | 'INLINE'
190
+ | 'GET_MEDIA'
191
+ | 'COMPOSITE_MEDIA'
192
+ | 'BIGSTORE_REF'
193
+ | 'DIFF_VERSION_RESPONSE'
194
+ | 'DIFF_CHECKSUMS_RESPONSE'
195
+ | 'DIFF_DOWNLOAD_RESPONSE'
196
+ | 'DIFF_UPLOAD_REQUEST'
197
+ | 'DIFF_UPLOAD_RESPONSE'
198
+ | 'COSMO_BINARY_REFERENCE'
199
+ | 'ARBITRARY_BYTES';
178
200
  /** Scotty-provided SHA1 hash for an upload. */
179
201
  sha1Hash?: string;
180
202
  /** Scotty-provided SHA256 hash for an upload. */
181
203
  sha256Hash?: string;
204
+ /** Scotty-provided SHA512 hash for an upload. */
205
+ sha512Hash?: string;
182
206
  /** Time at which the media data was last updated, in milliseconds since UNIX epoch */
183
207
  timestamp?: string;
184
208
  /** A unique fingerprint/version id for the media data */
@@ -194,7 +218,17 @@ declare namespace gapi.client {
194
218
  }
195
219
  interface GoogleFirebaseAppdistroV1AabInfo {
196
220
  /** App bundle integration state. Only valid for android apps. */
197
- integrationState?: string;
221
+ integrationState?:
222
+ | 'AAB_INTEGRATION_STATE_UNSPECIFIED'
223
+ | 'INTEGRATED'
224
+ | 'PLAY_ACCOUNT_NOT_LINKED'
225
+ | 'NO_APP_WITH_GIVEN_BUNDLE_ID_IN_PLAY_ACCOUNT'
226
+ | 'APP_NOT_PUBLISHED'
227
+ | 'AAB_STATE_UNAVAILABLE'
228
+ | 'PLAY_IAS_TERMS_NOT_ACCEPTED'
229
+ | 'ADHOC_SHARING_KEY_NOT_GENERATED'
230
+ | 'ADHOC_SHARING_KEY_NOT_REGISTERED'
231
+ | 'PLAY_ANDROID_DEVELOPER_CONSOLE_ACCOUNT_NOT_FOUND';
198
232
  /** The name of the `AabInfo` resource. Format: `projects/{project_number}/apps/{app}/aabInfo` */
199
233
  name?: string;
200
234
  /** App bundle test certificate generated for the app. Set after the first app bundle is uploaded for this app. */
@@ -340,7 +374,11 @@ declare namespace gapi.client {
340
374
  /** Release associated with the uploaded binary. */
341
375
  release?: GoogleFirebaseAppdistroV1Release;
342
376
  /** Result of upload release. */
343
- result?: string;
377
+ result?:
378
+ | 'UPLOAD_RELEASE_RESULT_UNSPECIFIED'
379
+ | 'RELEASE_CREATED'
380
+ | 'RELEASE_UPDATED'
381
+ | 'RELEASE_UNMODIFIED';
344
382
  }
345
383
  interface GoogleLongrunningCancelOperationRequest {}
346
384
  interface GoogleLongrunningListOperationsResponse {
@@ -372,7 +410,7 @@ declare namespace gapi.client {
372
410
  /** The status code, which should be an enum value of google.rpc.Code. */
373
411
  code?: number;
374
412
  /** A list of messages that carry the error details. There is a common set of message types for APIs to use. */
375
- details?: Array<{[P in string]: any}>;
413
+ details?: {[P in string]: any}[];
376
414
  /** A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client. */
377
415
  message?: string;
378
416
  }
@@ -380,11 +418,11 @@ declare namespace gapi.client {
380
418
  /** Uploads a binary. Uploading a binary can result in a new release being created, an update to an existing release, or a no-op if a release with the same binary already exists. */
381
419
  upload(request: {
382
420
  /** V1 error format. */
383
- '$.xgafv'?: string;
421
+ '$.xgafv'?: '1' | '2';
384
422
  /** OAuth access token. */
385
423
  access_token?: string;
386
424
  /** Data format for response. */
387
- alt?: string;
425
+ alt?: 'json' | 'media' | 'proto';
388
426
  /** Required. The name of the app resource. Format: `projects/{project_number}/apps/{app}` */
389
427
  app: string;
390
428
  /** JSONP */
@@ -409,11 +447,11 @@ declare namespace gapi.client {
409
447
  upload(
410
448
  request: {
411
449
  /** V1 error format. */
412
- '$.xgafv'?: string;
450
+ '$.xgafv'?: '1' | '2';
413
451
  /** OAuth access token. */
414
452
  access_token?: string;
415
453
  /** Data format for response. */
416
- alt?: string;
454
+ alt?: 'json' | 'media' | 'proto';
417
455
  /** Required. The name of the app resource. Format: `projects/{project_number}/apps/{app}` */
418
456
  app: string;
419
457
  /** JSONP */
@@ -440,11 +478,11 @@ declare namespace gapi.client {
440
478
  /** Deletes a feedback report. */
441
479
  delete(request?: {
442
480
  /** V1 error format. */
443
- '$.xgafv'?: string;
481
+ '$.xgafv'?: '1' | '2';
444
482
  /** OAuth access token. */
445
483
  access_token?: string;
446
484
  /** Data format for response. */
447
- alt?: string;
485
+ alt?: 'json' | 'media' | 'proto';
448
486
  /** JSONP */
449
487
  callback?: string;
450
488
  /** Selector specifying which fields to include in a partial response. */
@@ -467,11 +505,11 @@ declare namespace gapi.client {
467
505
  /** Gets a feedback report. */
468
506
  get(request?: {
469
507
  /** V1 error format. */
470
- '$.xgafv'?: string;
508
+ '$.xgafv'?: '1' | '2';
471
509
  /** OAuth access token. */
472
510
  access_token?: string;
473
511
  /** Data format for response. */
474
- alt?: string;
512
+ alt?: 'json' | 'media' | 'proto';
475
513
  /** JSONP */
476
514
  callback?: string;
477
515
  /** Selector specifying which fields to include in a partial response. */
@@ -494,11 +532,11 @@ declare namespace gapi.client {
494
532
  /** Lists feedback reports. By default, sorts by `createTime` in descending order. */
495
533
  list(request?: {
496
534
  /** V1 error format. */
497
- '$.xgafv'?: string;
535
+ '$.xgafv'?: '1' | '2';
498
536
  /** OAuth access token. */
499
537
  access_token?: string;
500
538
  /** Data format for response. */
501
- alt?: string;
539
+ alt?: 'json' | 'media' | 'proto';
502
540
  /** JSONP */
503
541
  callback?: string;
504
542
  /** Selector specifying which fields to include in a partial response. */
@@ -527,11 +565,11 @@ declare namespace gapi.client {
527
565
  /** Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`. */
528
566
  cancel(request: {
529
567
  /** V1 error format. */
530
- '$.xgafv'?: string;
568
+ '$.xgafv'?: '1' | '2';
531
569
  /** OAuth access token. */
532
570
  access_token?: string;
533
571
  /** Data format for response. */
534
- alt?: string;
572
+ alt?: 'json' | 'media' | 'proto';
535
573
  /** JSONP */
536
574
  callback?: string;
537
575
  /** Selector specifying which fields to include in a partial response. */
@@ -556,11 +594,11 @@ declare namespace gapi.client {
556
594
  cancel(
557
595
  request: {
558
596
  /** V1 error format. */
559
- '$.xgafv'?: string;
597
+ '$.xgafv'?: '1' | '2';
560
598
  /** OAuth access token. */
561
599
  access_token?: string;
562
600
  /** Data format for response. */
563
- alt?: string;
601
+ alt?: 'json' | 'media' | 'proto';
564
602
  /** JSONP */
565
603
  callback?: string;
566
604
  /** Selector specifying which fields to include in a partial response. */
@@ -585,11 +623,11 @@ declare namespace gapi.client {
585
623
  /** Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. */
586
624
  delete(request?: {
587
625
  /** V1 error format. */
588
- '$.xgafv'?: string;
626
+ '$.xgafv'?: '1' | '2';
589
627
  /** OAuth access token. */
590
628
  access_token?: string;
591
629
  /** Data format for response. */
592
- alt?: string;
630
+ alt?: 'json' | 'media' | 'proto';
593
631
  /** JSONP */
594
632
  callback?: string;
595
633
  /** Selector specifying which fields to include in a partial response. */
@@ -612,11 +650,11 @@ declare namespace gapi.client {
612
650
  /** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */
613
651
  get(request?: {
614
652
  /** V1 error format. */
615
- '$.xgafv'?: string;
653
+ '$.xgafv'?: '1' | '2';
616
654
  /** OAuth access token. */
617
655
  access_token?: string;
618
656
  /** Data format for response. */
619
- alt?: string;
657
+ alt?: 'json' | 'media' | 'proto';
620
658
  /** JSONP */
621
659
  callback?: string;
622
660
  /** Selector specifying which fields to include in a partial response. */
@@ -639,11 +677,11 @@ declare namespace gapi.client {
639
677
  /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
640
678
  list(request?: {
641
679
  /** V1 error format. */
642
- '$.xgafv'?: string;
680
+ '$.xgafv'?: '1' | '2';
643
681
  /** OAuth access token. */
644
682
  access_token?: string;
645
683
  /** Data format for response. */
646
- alt?: string;
684
+ alt?: 'json' | 'media' | 'proto';
647
685
  /** JSONP */
648
686
  callback?: string;
649
687
  /** Selector specifying which fields to include in a partial response. */
@@ -674,11 +712,11 @@ declare namespace gapi.client {
674
712
  /** Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done. */
675
713
  wait(request: {
676
714
  /** V1 error format. */
677
- '$.xgafv'?: string;
715
+ '$.xgafv'?: '1' | '2';
678
716
  /** OAuth access token. */
679
717
  access_token?: string;
680
718
  /** Data format for response. */
681
- alt?: string;
719
+ alt?: 'json' | 'media' | 'proto';
682
720
  /** JSONP */
683
721
  callback?: string;
684
722
  /** Selector specifying which fields to include in a partial response. */
@@ -703,11 +741,11 @@ declare namespace gapi.client {
703
741
  wait(
704
742
  request: {
705
743
  /** V1 error format. */
706
- '$.xgafv'?: string;
744
+ '$.xgafv'?: '1' | '2';
707
745
  /** OAuth access token. */
708
746
  access_token?: string;
709
747
  /** Data format for response. */
710
- alt?: string;
748
+ alt?: 'json' | 'media' | 'proto';
711
749
  /** JSONP */
712
750
  callback?: string;
713
751
  /** Selector specifying which fields to include in a partial response. */
@@ -734,11 +772,11 @@ declare namespace gapi.client {
734
772
  /** Deletes releases. A maximum of 100 releases can be deleted per request. */
735
773
  batchDelete(request: {
736
774
  /** V1 error format. */
737
- '$.xgafv'?: string;
775
+ '$.xgafv'?: '1' | '2';
738
776
  /** OAuth access token. */
739
777
  access_token?: string;
740
778
  /** Data format for response. */
741
- alt?: string;
779
+ alt?: 'json' | 'media' | 'proto';
742
780
  /** JSONP */
743
781
  callback?: string;
744
782
  /** Selector specifying which fields to include in a partial response. */
@@ -763,11 +801,11 @@ declare namespace gapi.client {
763
801
  batchDelete(
764
802
  request: {
765
803
  /** V1 error format. */
766
- '$.xgafv'?: string;
804
+ '$.xgafv'?: '1' | '2';
767
805
  /** OAuth access token. */
768
806
  access_token?: string;
769
807
  /** Data format for response. */
770
- alt?: string;
808
+ alt?: 'json' | 'media' | 'proto';
771
809
  /** JSONP */
772
810
  callback?: string;
773
811
  /** Selector specifying which fields to include in a partial response. */
@@ -792,11 +830,11 @@ declare namespace gapi.client {
792
830
  /** Distributes a release to testers. This call does the following: 1. Creates testers for the specified emails, if none exist. 2. Adds the testers and groups to the release. 3. Sends new testers an invitation email. 4. Sends existing testers a new release email. The request will fail with a `INVALID_ARGUMENT` if it contains a group that doesn't exist. */
793
831
  distribute(request: {
794
832
  /** V1 error format. */
795
- '$.xgafv'?: string;
833
+ '$.xgafv'?: '1' | '2';
796
834
  /** OAuth access token. */
797
835
  access_token?: string;
798
836
  /** Data format for response. */
799
- alt?: string;
837
+ alt?: 'json' | 'media' | 'proto';
800
838
  /** JSONP */
801
839
  callback?: string;
802
840
  /** Selector specifying which fields to include in a partial response. */
@@ -821,11 +859,11 @@ declare namespace gapi.client {
821
859
  distribute(
822
860
  request: {
823
861
  /** V1 error format. */
824
- '$.xgafv'?: string;
862
+ '$.xgafv'?: '1' | '2';
825
863
  /** OAuth access token. */
826
864
  access_token?: string;
827
865
  /** Data format for response. */
828
- alt?: string;
866
+ alt?: 'json' | 'media' | 'proto';
829
867
  /** JSONP */
830
868
  callback?: string;
831
869
  /** Selector specifying which fields to include in a partial response. */
@@ -850,11 +888,11 @@ declare namespace gapi.client {
850
888
  /** Gets a release. */
851
889
  get(request?: {
852
890
  /** V1 error format. */
853
- '$.xgafv'?: string;
891
+ '$.xgafv'?: '1' | '2';
854
892
  /** OAuth access token. */
855
893
  access_token?: string;
856
894
  /** Data format for response. */
857
- alt?: string;
895
+ alt?: 'json' | 'media' | 'proto';
858
896
  /** JSONP */
859
897
  callback?: string;
860
898
  /** Selector specifying which fields to include in a partial response. */
@@ -877,11 +915,11 @@ declare namespace gapi.client {
877
915
  /** Lists releases. By default, sorts by `createTime` in descending order. */
878
916
  list(request?: {
879
917
  /** V1 error format. */
880
- '$.xgafv'?: string;
918
+ '$.xgafv'?: '1' | '2';
881
919
  /** OAuth access token. */
882
920
  access_token?: string;
883
921
  /** Data format for response. */
884
- alt?: string;
922
+ alt?: 'json' | 'media' | 'proto';
885
923
  /** JSONP */
886
924
  callback?: string;
887
925
  /** Selector specifying which fields to include in a partial response. */
@@ -912,11 +950,11 @@ declare namespace gapi.client {
912
950
  /** Updates a release. */
913
951
  patch(request: {
914
952
  /** V1 error format. */
915
- '$.xgafv'?: string;
953
+ '$.xgafv'?: '1' | '2';
916
954
  /** OAuth access token. */
917
955
  access_token?: string;
918
956
  /** Data format for response. */
919
- alt?: string;
957
+ alt?: 'json' | 'media' | 'proto';
920
958
  /** JSONP */
921
959
  callback?: string;
922
960
  /** Selector specifying which fields to include in a partial response. */
@@ -943,11 +981,11 @@ declare namespace gapi.client {
943
981
  patch(
944
982
  request: {
945
983
  /** V1 error format. */
946
- '$.xgafv'?: string;
984
+ '$.xgafv'?: '1' | '2';
947
985
  /** OAuth access token. */
948
986
  access_token?: string;
949
987
  /** Data format for response. */
950
- alt?: string;
988
+ alt?: 'json' | 'media' | 'proto';
951
989
  /** JSONP */
952
990
  callback?: string;
953
991
  /** Selector specifying which fields to include in a partial response. */
@@ -978,11 +1016,11 @@ declare namespace gapi.client {
978
1016
  /** Gets Android App Bundle (AAB) information for a Firebase app. */
979
1017
  getAabInfo(request?: {
980
1018
  /** V1 error format. */
981
- '$.xgafv'?: string;
1019
+ '$.xgafv'?: '1' | '2';
982
1020
  /** OAuth access token. */
983
1021
  access_token?: string;
984
1022
  /** Data format for response. */
985
- alt?: string;
1023
+ alt?: 'json' | 'media' | 'proto';
986
1024
  /** JSONP */
987
1025
  callback?: string;
988
1026
  /** Selector specifying which fields to include in a partial response. */
@@ -1008,11 +1046,11 @@ declare namespace gapi.client {
1008
1046
  /** Batch adds members to a group. The testers will gain access to all releases that the groups have access to. */
1009
1047
  batchJoin(request: {
1010
1048
  /** V1 error format. */
1011
- '$.xgafv'?: string;
1049
+ '$.xgafv'?: '1' | '2';
1012
1050
  /** OAuth access token. */
1013
1051
  access_token?: string;
1014
1052
  /** Data format for response. */
1015
- alt?: string;
1053
+ alt?: 'json' | 'media' | 'proto';
1016
1054
  /** JSONP */
1017
1055
  callback?: string;
1018
1056
  /** Selector specifying which fields to include in a partial response. */
@@ -1037,11 +1075,11 @@ declare namespace gapi.client {
1037
1075
  batchJoin(
1038
1076
  request: {
1039
1077
  /** V1 error format. */
1040
- '$.xgafv'?: string;
1078
+ '$.xgafv'?: '1' | '2';
1041
1079
  /** OAuth access token. */
1042
1080
  access_token?: string;
1043
1081
  /** Data format for response. */
1044
- alt?: string;
1082
+ alt?: 'json' | 'media' | 'proto';
1045
1083
  /** JSONP */
1046
1084
  callback?: string;
1047
1085
  /** Selector specifying which fields to include in a partial response. */
@@ -1066,11 +1104,11 @@ declare namespace gapi.client {
1066
1104
  /** Batch removed members from a group. The testers will lose access to all releases that the groups have access to. */
1067
1105
  batchLeave(request: {
1068
1106
  /** V1 error format. */
1069
- '$.xgafv'?: string;
1107
+ '$.xgafv'?: '1' | '2';
1070
1108
  /** OAuth access token. */
1071
1109
  access_token?: string;
1072
1110
  /** Data format for response. */
1073
- alt?: string;
1111
+ alt?: 'json' | 'media' | 'proto';
1074
1112
  /** JSONP */
1075
1113
  callback?: string;
1076
1114
  /** Selector specifying which fields to include in a partial response. */
@@ -1095,11 +1133,11 @@ declare namespace gapi.client {
1095
1133
  batchLeave(
1096
1134
  request: {
1097
1135
  /** V1 error format. */
1098
- '$.xgafv'?: string;
1136
+ '$.xgafv'?: '1' | '2';
1099
1137
  /** OAuth access token. */
1100
1138
  access_token?: string;
1101
1139
  /** Data format for response. */
1102
- alt?: string;
1140
+ alt?: 'json' | 'media' | 'proto';
1103
1141
  /** JSONP */
1104
1142
  callback?: string;
1105
1143
  /** Selector specifying which fields to include in a partial response. */
@@ -1124,11 +1162,11 @@ declare namespace gapi.client {
1124
1162
  /** Create a group. */
1125
1163
  create(request: {
1126
1164
  /** V1 error format. */
1127
- '$.xgafv'?: string;
1165
+ '$.xgafv'?: '1' | '2';
1128
1166
  /** OAuth access token. */
1129
1167
  access_token?: string;
1130
1168
  /** Data format for response. */
1131
- alt?: string;
1169
+ alt?: 'json' | 'media' | 'proto';
1132
1170
  /** JSONP */
1133
1171
  callback?: string;
1134
1172
  /** Selector specifying which fields to include in a partial response. */
@@ -1155,11 +1193,11 @@ declare namespace gapi.client {
1155
1193
  create(
1156
1194
  request: {
1157
1195
  /** V1 error format. */
1158
- '$.xgafv'?: string;
1196
+ '$.xgafv'?: '1' | '2';
1159
1197
  /** OAuth access token. */
1160
1198
  access_token?: string;
1161
1199
  /** Data format for response. */
1162
- alt?: string;
1200
+ alt?: 'json' | 'media' | 'proto';
1163
1201
  /** JSONP */
1164
1202
  callback?: string;
1165
1203
  /** Selector specifying which fields to include in a partial response. */
@@ -1186,11 +1224,11 @@ declare namespace gapi.client {
1186
1224
  /** Delete a group. */
1187
1225
  delete(request?: {
1188
1226
  /** V1 error format. */
1189
- '$.xgafv'?: string;
1227
+ '$.xgafv'?: '1' | '2';
1190
1228
  /** OAuth access token. */
1191
1229
  access_token?: string;
1192
1230
  /** Data format for response. */
1193
- alt?: string;
1231
+ alt?: 'json' | 'media' | 'proto';
1194
1232
  /** JSONP */
1195
1233
  callback?: string;
1196
1234
  /** Selector specifying which fields to include in a partial response. */
@@ -1213,11 +1251,11 @@ declare namespace gapi.client {
1213
1251
  /** Get a group. */
1214
1252
  get(request?: {
1215
1253
  /** V1 error format. */
1216
- '$.xgafv'?: string;
1254
+ '$.xgafv'?: '1' | '2';
1217
1255
  /** OAuth access token. */
1218
1256
  access_token?: string;
1219
1257
  /** Data format for response. */
1220
- alt?: string;
1258
+ alt?: 'json' | 'media' | 'proto';
1221
1259
  /** JSONP */
1222
1260
  callback?: string;
1223
1261
  /** Selector specifying which fields to include in a partial response. */
@@ -1240,11 +1278,11 @@ declare namespace gapi.client {
1240
1278
  /** List groups. */
1241
1279
  list(request?: {
1242
1280
  /** V1 error format. */
1243
- '$.xgafv'?: string;
1281
+ '$.xgafv'?: '1' | '2';
1244
1282
  /** OAuth access token. */
1245
1283
  access_token?: string;
1246
1284
  /** Data format for response. */
1247
- alt?: string;
1285
+ alt?: 'json' | 'media' | 'proto';
1248
1286
  /** JSONP */
1249
1287
  callback?: string;
1250
1288
  /** Selector specifying which fields to include in a partial response. */
@@ -1271,11 +1309,11 @@ declare namespace gapi.client {
1271
1309
  /** Update a group. */
1272
1310
  patch(request: {
1273
1311
  /** V1 error format. */
1274
- '$.xgafv'?: string;
1312
+ '$.xgafv'?: '1' | '2';
1275
1313
  /** OAuth access token. */
1276
1314
  access_token?: string;
1277
1315
  /** Data format for response. */
1278
- alt?: string;
1316
+ alt?: 'json' | 'media' | 'proto';
1279
1317
  /** JSONP */
1280
1318
  callback?: string;
1281
1319
  /** Selector specifying which fields to include in a partial response. */
@@ -1302,11 +1340,11 @@ declare namespace gapi.client {
1302
1340
  patch(
1303
1341
  request: {
1304
1342
  /** V1 error format. */
1305
- '$.xgafv'?: string;
1343
+ '$.xgafv'?: '1' | '2';
1306
1344
  /** OAuth access token. */
1307
1345
  access_token?: string;
1308
1346
  /** Data format for response. */
1309
- alt?: string;
1347
+ alt?: 'json' | 'media' | 'proto';
1310
1348
  /** JSONP */
1311
1349
  callback?: string;
1312
1350
  /** Selector specifying which fields to include in a partial response. */
@@ -1335,11 +1373,11 @@ declare namespace gapi.client {
1335
1373
  /** Batch adds testers. This call adds testers for the specified emails if they don't already exist. Returns all testers specified in the request, including newly created and previously existing testers. This action is idempotent. */
1336
1374
  batchAdd(request: {
1337
1375
  /** V1 error format. */
1338
- '$.xgafv'?: string;
1376
+ '$.xgafv'?: '1' | '2';
1339
1377
  /** OAuth access token. */
1340
1378
  access_token?: string;
1341
1379
  /** Data format for response. */
1342
- alt?: string;
1380
+ alt?: 'json' | 'media' | 'proto';
1343
1381
  /** JSONP */
1344
1382
  callback?: string;
1345
1383
  /** Selector specifying which fields to include in a partial response. */
@@ -1364,11 +1402,11 @@ declare namespace gapi.client {
1364
1402
  batchAdd(
1365
1403
  request: {
1366
1404
  /** V1 error format. */
1367
- '$.xgafv'?: string;
1405
+ '$.xgafv'?: '1' | '2';
1368
1406
  /** OAuth access token. */
1369
1407
  access_token?: string;
1370
1408
  /** Data format for response. */
1371
- alt?: string;
1409
+ alt?: 'json' | 'media' | 'proto';
1372
1410
  /** JSONP */
1373
1411
  callback?: string;
1374
1412
  /** Selector specifying which fields to include in a partial response. */
@@ -1393,11 +1431,11 @@ declare namespace gapi.client {
1393
1431
  /** Batch removes testers. If found, this call deletes testers for the specified emails. Returns all deleted testers. */
1394
1432
  batchRemove(request: {
1395
1433
  /** V1 error format. */
1396
- '$.xgafv'?: string;
1434
+ '$.xgafv'?: '1' | '2';
1397
1435
  /** OAuth access token. */
1398
1436
  access_token?: string;
1399
1437
  /** Data format for response. */
1400
- alt?: string;
1438
+ alt?: 'json' | 'media' | 'proto';
1401
1439
  /** JSONP */
1402
1440
  callback?: string;
1403
1441
  /** Selector specifying which fields to include in a partial response. */
@@ -1422,11 +1460,11 @@ declare namespace gapi.client {
1422
1460
  batchRemove(
1423
1461
  request: {
1424
1462
  /** V1 error format. */
1425
- '$.xgafv'?: string;
1463
+ '$.xgafv'?: '1' | '2';
1426
1464
  /** OAuth access token. */
1427
1465
  access_token?: string;
1428
1466
  /** Data format for response. */
1429
- alt?: string;
1467
+ alt?: 'json' | 'media' | 'proto';
1430
1468
  /** JSONP */
1431
1469
  callback?: string;
1432
1470
  /** Selector specifying which fields to include in a partial response. */
@@ -1451,11 +1489,11 @@ declare namespace gapi.client {
1451
1489
  /** Lists testers and their resource ids. */
1452
1490
  list(request?: {
1453
1491
  /** V1 error format. */
1454
- '$.xgafv'?: string;
1492
+ '$.xgafv'?: '1' | '2';
1455
1493
  /** OAuth access token. */
1456
1494
  access_token?: string;
1457
1495
  /** Data format for response. */
1458
- alt?: string;
1496
+ alt?: 'json' | 'media' | 'proto';
1459
1497
  /** JSONP */
1460
1498
  callback?: string;
1461
1499
  /** Selector specifying which fields to include in a partial response. */
@@ -1484,11 +1522,11 @@ declare namespace gapi.client {
1484
1522
  /** Update a tester. If the testers joins a group they gain access to all releases that the group has access to. */
1485
1523
  patch(request: {
1486
1524
  /** V1 error format. */
1487
- '$.xgafv'?: string;
1525
+ '$.xgafv'?: '1' | '2';
1488
1526
  /** OAuth access token. */
1489
1527
  access_token?: string;
1490
1528
  /** Data format for response. */
1491
- alt?: string;
1529
+ alt?: 'json' | 'media' | 'proto';
1492
1530
  /** JSONP */
1493
1531
  callback?: string;
1494
1532
  /** Selector specifying which fields to include in a partial response. */
@@ -1515,11 +1553,11 @@ declare namespace gapi.client {
1515
1553
  patch(
1516
1554
  request: {
1517
1555
  /** V1 error format. */
1518
- '$.xgafv'?: string;
1556
+ '$.xgafv'?: '1' | '2';
1519
1557
  /** OAuth access token. */
1520
1558
  access_token?: string;
1521
1559
  /** Data format for response. */
1522
- alt?: string;
1560
+ alt?: 'json' | 'media' | 'proto';
1523
1561
  /** JSONP */
1524
1562
  callback?: string;
1525
1563
  /** 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.firebaseappdistribution-v1",
3
- "version": "0.1.20260318",
3
+ "version": "0.2.20260605",
4
4
  "description": "TypeScript typings for Firebase App Distribution API v1",
5
5
  "repository": {
6
6
  "type": "git",
package/readme.md CHANGED
@@ -10,6 +10,23 @@ Install typings for Firebase App Distribution API:
10
10
  npm install @types/gapi.client.firebaseappdistribution-v1 --save-dev
11
11
  ```
12
12
 
13
+ ## TypeScript 6.0+
14
+
15
+ TypeScript 6.0 changed `types` to default to `[]`. You must now explicitly list type packages in `tsconfig.json`:
16
+
17
+ ```json
18
+ {
19
+ "compilerOptions": {
20
+ "types": [
21
+ "gapi",
22
+ "gapi.auth2",
23
+ "gapi.client",
24
+ "gapi.client.firebaseappdistribution-v1"
25
+ ]
26
+ }
27
+ }
28
+ ```
29
+
13
30
  ## Usage
14
31
 
15
32
  You need to initialize Google API client in your code: