@maxim_mazurok/gapi.client.firebaseappdistribution-v1alpha 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.
- package/index.d.ts +173 -79
- package/package.json +1 -1
- 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=v1alpha
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20260605
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -71,7 +71,13 @@ declare namespace gapi.client {
|
|
|
71
71
|
/** Output only. Details for a goal step. */
|
|
72
72
|
goalDetails?: GoogleFirebaseAppdistroV1alphaGoalDetails;
|
|
73
73
|
/** Output only. The current state of the step */
|
|
74
|
-
state?:
|
|
74
|
+
state?:
|
|
75
|
+
| 'STEP_STATE_UNSPECIFIED'
|
|
76
|
+
| 'IN_PROGRESS'
|
|
77
|
+
| 'PASSED'
|
|
78
|
+
| 'FAILED'
|
|
79
|
+
| 'TIMED_OUT'
|
|
80
|
+
| 'GOAL_ACTION_LIMIT_REACHED';
|
|
75
81
|
/** Required. The step performed by the AI */
|
|
76
82
|
step?: GoogleFirebaseAppdistroV1alphaAiStep;
|
|
77
83
|
}
|
|
@@ -79,7 +85,14 @@ declare namespace gapi.client {
|
|
|
79
85
|
/** App bundle test certificate generated for the app. */
|
|
80
86
|
aabCertificate?: GoogleFirebaseAppdistroV1alphaAabCertificate;
|
|
81
87
|
/** App bundle state. Only valid for android apps. The app_view field in the request must be set to FULL in order for this to be populated. */
|
|
82
|
-
aabState?:
|
|
88
|
+
aabState?:
|
|
89
|
+
| 'AAB_STATE_UNSPECIFIED'
|
|
90
|
+
| 'ACTIVE'
|
|
91
|
+
| 'PLAY_ACCOUNT_NOT_LINKED'
|
|
92
|
+
| 'NO_APP_WITH_GIVEN_BUNDLE_ID_IN_PLAY_ACCOUNT'
|
|
93
|
+
| 'APP_NOT_PUBLISHED'
|
|
94
|
+
| 'AAB_STATE_UNAVAILABLE'
|
|
95
|
+
| 'PLAY_IAS_TERMS_NOT_ACCEPTED';
|
|
83
96
|
/** Firebase gmp app id */
|
|
84
97
|
appId?: string;
|
|
85
98
|
/** Bundle identifier */
|
|
@@ -144,13 +157,35 @@ declare namespace gapi.client {
|
|
|
144
157
|
/** Required. The device that the test was run on. */
|
|
145
158
|
device?: GoogleFirebaseAppdistroV1alphaTestDevice;
|
|
146
159
|
/** Output only. The type of execution for the test. */
|
|
147
|
-
executionType?:
|
|
160
|
+
executionType?:
|
|
161
|
+
| 'EXECUTION_TYPE_UNSPECIFIED'
|
|
162
|
+
| 'AI'
|
|
163
|
+
| 'ACTION_BASED_REPLAY'
|
|
164
|
+
| 'AI_REPLAY'
|
|
165
|
+
| 'RANDOM_CRAWL';
|
|
148
166
|
/** Output only. The reason why the test failed. */
|
|
149
|
-
failedReason?:
|
|
167
|
+
failedReason?:
|
|
168
|
+
| 'FAILED_REASON_UNSPECIFIED'
|
|
169
|
+
| 'CRASHED'
|
|
170
|
+
| 'NOT_INSTALLED'
|
|
171
|
+
| 'UNABLE_TO_CRAWL'
|
|
172
|
+
| 'DEVICE_OUT_OF_MEMORY'
|
|
173
|
+
| 'FAILED_AI_STEP'
|
|
174
|
+
| 'TIMED_OUT';
|
|
150
175
|
/** Output only. Indicates that the test replayed saved actions and concluded without a final AI assertion. */
|
|
151
176
|
finalAiAssertionMissing?: boolean;
|
|
152
177
|
/** Output only. The reason why the test was inconclusive. */
|
|
153
|
-
inconclusiveReason?:
|
|
178
|
+
inconclusiveReason?:
|
|
179
|
+
| 'INCONCLUSIVE_REASON_UNSPECIFIED'
|
|
180
|
+
| 'QUOTA_EXCEEDED'
|
|
181
|
+
| 'INFRASTRUCTURE_FAILURE'
|
|
182
|
+
| 'SERVICE_NOT_ACTIVATED'
|
|
183
|
+
| 'NO_SIGNATURE'
|
|
184
|
+
| 'NO_LAUNCHER_ACTIVITY'
|
|
185
|
+
| 'FORBIDDEN_PERMISSIONS'
|
|
186
|
+
| 'DEVICE_ADMIN_RECEIVER'
|
|
187
|
+
| 'NO_CODE_APK'
|
|
188
|
+
| 'INVALID_APK_PREVIEW_SDK';
|
|
154
189
|
/** Identifier. The name of the device execution resource. Format: `projects/{project_number}/apps/{app}/releases/{release}/tests/{test}/deviceExecutions/{device_execution}` */
|
|
155
190
|
name?: string;
|
|
156
191
|
/** Output only. The device execution from which cached steps were used during this execution. Note: This field is only populated for ACTION_BASED_REPLAY executions. If the original device execution no longer exists, this field will be empty. Format: `projects/{project_number}/apps/{app}/releases/{release}/tests/{test}/deviceExecutions/{device_execution}` */
|
|
@@ -162,7 +197,12 @@ declare namespace gapi.client {
|
|
|
162
197
|
/** Output only. A list of screenshot image URIs taken from the Robo crawl. The file names are numbered by the order in which they were taken. */
|
|
163
198
|
screenshotUris?: string[];
|
|
164
199
|
/** Output only. The state of the test. */
|
|
165
|
-
state?:
|
|
200
|
+
state?:
|
|
201
|
+
| 'TEST_STATE_UNSPECIFIED'
|
|
202
|
+
| 'IN_PROGRESS'
|
|
203
|
+
| 'PASSED'
|
|
204
|
+
| 'FAILED'
|
|
205
|
+
| 'INCONCLUSIVE';
|
|
166
206
|
/** Output only. The time at which the video started recording. */
|
|
167
207
|
videoStartTime?: string;
|
|
168
208
|
/** Output only. A URI to a video of the test run. */
|
|
@@ -185,6 +225,10 @@ declare namespace gapi.client {
|
|
|
185
225
|
swipe?: GoogleFirebaseAppdistroV1alphaDeviceInteractionSwipe;
|
|
186
226
|
/** Output only. A tap action. */
|
|
187
227
|
tap?: AndroidxCrawlerOutputPoint;
|
|
228
|
+
/** Output only. The target folded state of the device in a set folded state action. The valid string values are device-dependent, and can be found using `adb shell cmd device_state print-states`. */
|
|
229
|
+
targetFoldedState?: string;
|
|
230
|
+
/** Output only. The target orientation of the device in a set orientation action. */
|
|
231
|
+
targetOrientation?: 'ORIENTATION_UNSPECIFIED' | 'PORTRAIT' | 'LANDSCAPE';
|
|
188
232
|
/** Output only. A text input action, that types some text into whatever field is currently focused, if any. Unlike `enter_text` this action requires that the field be brought into focus first, for example by emitting a tap action before this one. */
|
|
189
233
|
textInput?: string;
|
|
190
234
|
/** Output only. A wait action. */
|
|
@@ -234,17 +278,51 @@ declare namespace gapi.client {
|
|
|
234
278
|
}
|
|
235
279
|
interface GoogleFirebaseAppdistroV1alphaGetUploadStatusResponse {
|
|
236
280
|
/** The error code associated with (only set on "FAILURE") */
|
|
237
|
-
errorCode?:
|
|
281
|
+
errorCode?:
|
|
282
|
+
| 'ERROR_UNSPECIFIED'
|
|
283
|
+
| 'INVALID_ZIP'
|
|
284
|
+
| 'MISSING_PLIST'
|
|
285
|
+
| 'MISSING_PROFILE'
|
|
286
|
+
| 'VERSION_TOO_LONG'
|
|
287
|
+
| 'MISSING_UUIDS'
|
|
288
|
+
| 'MISSING_RESOURCES'
|
|
289
|
+
| 'MISSING_MANIFEST'
|
|
290
|
+
| 'IOS_METADATA_ERROR'
|
|
291
|
+
| 'ANDROID_METADATA_ERROR'
|
|
292
|
+
| 'UNSUPPORTED_PLATFORM_TYPE'
|
|
293
|
+
| 'BUNDLE_ID_MISMATCH'
|
|
294
|
+
| 'APK_NOT_ZIP_ALIGNED'
|
|
295
|
+
| 'INVALID_CERTIFICATE'
|
|
296
|
+
| 'APK_TOO_LARGE'
|
|
297
|
+
| 'AAB_NOT_PUBLISHED'
|
|
298
|
+
| 'INVALID_PLIST_DEVICE_FAMILIES'
|
|
299
|
+
| 'AAB_TOS_NOT_ACCEPTED'
|
|
300
|
+
| 'APP_NAME_TOO_LONG'
|
|
301
|
+
| 'AAB_DEVELOPER_ACCOUNT_NOT_LINKED'
|
|
302
|
+
| 'AAB_NO_APP_WITH_GIVEN_PACKAGE_NAME_IN_ACCOUNT'
|
|
303
|
+
| 'AAB_UPLOAD_ERROR'
|
|
304
|
+
| 'APP_NOT_FOUND'
|
|
305
|
+
| 'AAB_ADHOC_SHARING_KEY_NOT_REGISTERED'
|
|
306
|
+
| 'AAB_ANDROID_DEVELOPER_CONSOLE_ACCOUNT_NOT_FOUND';
|
|
238
307
|
/** Any additional context for the given upload status (e.g. error message) Meant to be displayed to the client */
|
|
239
308
|
message?: string;
|
|
240
309
|
/** The release that was created from the upload (only set on "SUCCESS") */
|
|
241
310
|
release?: GoogleFirebaseAppdistroV1alphaRelease;
|
|
242
311
|
/** The status of the upload */
|
|
243
|
-
status?:
|
|
312
|
+
status?:
|
|
313
|
+
| 'STATUS_UNSPECIFIED'
|
|
314
|
+
| 'IN_PROGRESS'
|
|
315
|
+
| 'ALREADY_UPLOADED'
|
|
316
|
+
| 'SUCCESS'
|
|
317
|
+
| 'ERROR';
|
|
244
318
|
}
|
|
245
319
|
interface GoogleFirebaseAppdistroV1alphaGoalAction {
|
|
246
320
|
/** Output only. The type of caching used to determine the action. */
|
|
247
|
-
cachingType?:
|
|
321
|
+
cachingType?:
|
|
322
|
+
| 'CACHING_TYPE_UNSPECIFIED'
|
|
323
|
+
| 'NO_CACHING'
|
|
324
|
+
| 'CACHE_AND_MODEL'
|
|
325
|
+
| 'CACHE_ONLY';
|
|
248
326
|
/** Output only. Debug information explaining why the agent to the specific action. */
|
|
249
327
|
debugInfo?: GoogleFirebaseAppdistroV1alphaGoalActionDebugInfo;
|
|
250
328
|
/** Output only. A high level action taken by the AI on the device. */
|
|
@@ -339,10 +417,17 @@ declare namespace gapi.client {
|
|
|
339
417
|
loginCredential?: GoogleFirebaseAppdistroV1alphaLoginCredential;
|
|
340
418
|
/** The name of the release test resource. Format: `projects/{project_number}/apps/{app}/releases/{release}/tests/{test}` */
|
|
341
419
|
name?: string;
|
|
420
|
+
/** Optional. Input only. The custom Cloud Storage bucket where test results are stored. Format: `projects/{project_number}/buckets/{bucket}` If not provided, the default test lab bucket is used. */
|
|
421
|
+
resultsBucket?: string;
|
|
342
422
|
/** Optional. The test case that was used to generate this release test. Note: The test case may have changed or been deleted since the release test was created. Format: `projects/{project_number}/apps/{app}/testCases/{test_case}` */
|
|
343
423
|
testCase?: string;
|
|
344
424
|
/** Output only. The state of the release test. */
|
|
345
|
-
testState?:
|
|
425
|
+
testState?:
|
|
426
|
+
| 'TEST_STATE_UNSPECIFIED'
|
|
427
|
+
| 'IN_PROGRESS'
|
|
428
|
+
| 'PASSED'
|
|
429
|
+
| 'FAILED'
|
|
430
|
+
| 'INCONCLUSIVE';
|
|
346
431
|
}
|
|
347
432
|
interface GoogleFirebaseAppdistroV1alphaRoboCrawler {
|
|
348
433
|
/** Optional. Instructions for AI driven test */
|
|
@@ -370,7 +455,7 @@ declare namespace gapi.client {
|
|
|
370
455
|
}
|
|
371
456
|
interface GoogleFirebaseAppdistroV1alphaTerminalAction {
|
|
372
457
|
/** Output only. The reason why this goal was ended. */
|
|
373
|
-
reason?:
|
|
458
|
+
reason?: 'REASON_UNSPECIFIED' | 'GOAL_IMPOSSIBLE' | 'GOAL_COMPLETE';
|
|
374
459
|
/** Output only. The screenshot used in the context of this terminal action. */
|
|
375
460
|
screenshot?: GoogleFirebaseAppdistroV1alphaScreenshot;
|
|
376
461
|
}
|
|
@@ -393,6 +478,8 @@ declare namespace gapi.client {
|
|
|
393
478
|
displayName?: string;
|
|
394
479
|
/** Identifier. The name of the test configuration resource. Format: `projects/{project_number}/apps/{app}/testConfig` */
|
|
395
480
|
name?: string;
|
|
481
|
+
/** Optional. The custom Cloud Storage bucket where test results are stored. Format: `projects/{project_number}/buckets/{bucket}` If not provided, the default test lab bucket is used. */
|
|
482
|
+
resultsBucket?: string;
|
|
396
483
|
/** Optional. Configuration for Robo crawler */
|
|
397
484
|
roboCrawler?: GoogleFirebaseAppdistroV1alphaRoboCrawler;
|
|
398
485
|
/** Optional. Tests will be run on this list of devices */
|
|
@@ -461,18 +548,22 @@ declare namespace gapi.client {
|
|
|
461
548
|
/** Release associated with the uploaded binary. */
|
|
462
549
|
release?: GoogleFirebaseAppdistroV1Release;
|
|
463
550
|
/** Result of upload release. */
|
|
464
|
-
result?:
|
|
551
|
+
result?:
|
|
552
|
+
| 'UPLOAD_RELEASE_RESULT_UNSPECIFIED'
|
|
553
|
+
| 'RELEASE_CREATED'
|
|
554
|
+
| 'RELEASE_UPDATED'
|
|
555
|
+
| 'RELEASE_UNMODIFIED';
|
|
465
556
|
}
|
|
466
557
|
interface GoogleProtobufEmpty {}
|
|
467
558
|
interface Release_by_hashResource {
|
|
468
559
|
/** GET Release by binary upload hash */
|
|
469
560
|
get(request?: {
|
|
470
561
|
/** V1 error format. */
|
|
471
|
-
'$.xgafv'?:
|
|
562
|
+
'$.xgafv'?: '1' | '2';
|
|
472
563
|
/** OAuth access token. */
|
|
473
564
|
access_token?: string;
|
|
474
565
|
/** Data format for response. */
|
|
475
|
-
alt?:
|
|
566
|
+
alt?: 'json' | 'media' | 'proto';
|
|
476
567
|
/** JSONP */
|
|
477
568
|
callback?: string;
|
|
478
569
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -499,11 +590,11 @@ declare namespace gapi.client {
|
|
|
499
590
|
/** Create release notes on a release. */
|
|
500
591
|
create(request: {
|
|
501
592
|
/** V1 error format. */
|
|
502
|
-
'$.xgafv'?:
|
|
593
|
+
'$.xgafv'?: '1' | '2';
|
|
503
594
|
/** OAuth access token. */
|
|
504
595
|
access_token?: string;
|
|
505
596
|
/** Data format for response. */
|
|
506
|
-
alt?:
|
|
597
|
+
alt?: 'json' | 'media' | 'proto';
|
|
507
598
|
/** JSONP */
|
|
508
599
|
callback?: string;
|
|
509
600
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -530,11 +621,11 @@ declare namespace gapi.client {
|
|
|
530
621
|
create(
|
|
531
622
|
request: {
|
|
532
623
|
/** V1 error format. */
|
|
533
|
-
'$.xgafv'?:
|
|
624
|
+
'$.xgafv'?: '1' | '2';
|
|
534
625
|
/** OAuth access token. */
|
|
535
626
|
access_token?: string;
|
|
536
627
|
/** Data format for response. */
|
|
537
|
-
alt?:
|
|
628
|
+
alt?: 'json' | 'media' | 'proto';
|
|
538
629
|
/** JSONP */
|
|
539
630
|
callback?: string;
|
|
540
631
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -563,11 +654,11 @@ declare namespace gapi.client {
|
|
|
563
654
|
/** Enable access on a release for testers. */
|
|
564
655
|
enable_access(request: {
|
|
565
656
|
/** V1 error format. */
|
|
566
|
-
'$.xgafv'?:
|
|
657
|
+
'$.xgafv'?: '1' | '2';
|
|
567
658
|
/** OAuth access token. */
|
|
568
659
|
access_token?: string;
|
|
569
660
|
/** Data format for response. */
|
|
570
|
-
alt?:
|
|
661
|
+
alt?: 'json' | 'media' | 'proto';
|
|
571
662
|
/** JSONP */
|
|
572
663
|
callback?: string;
|
|
573
664
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -594,11 +685,11 @@ declare namespace gapi.client {
|
|
|
594
685
|
enable_access(
|
|
595
686
|
request: {
|
|
596
687
|
/** V1 error format. */
|
|
597
|
-
'$.xgafv'?:
|
|
688
|
+
'$.xgafv'?: '1' | '2';
|
|
598
689
|
/** OAuth access token. */
|
|
599
690
|
access_token?: string;
|
|
600
691
|
/** Data format for response. */
|
|
601
|
-
alt?:
|
|
692
|
+
alt?: 'json' | 'media' | 'proto';
|
|
602
693
|
/** JSONP */
|
|
603
694
|
callback?: string;
|
|
604
695
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -628,11 +719,11 @@ declare namespace gapi.client {
|
|
|
628
719
|
/** Get UDIDs of tester iOS devices in a project */
|
|
629
720
|
getTesterUdids(request?: {
|
|
630
721
|
/** V1 error format. */
|
|
631
|
-
'$.xgafv'?:
|
|
722
|
+
'$.xgafv'?: '1' | '2';
|
|
632
723
|
/** OAuth access token. */
|
|
633
724
|
access_token?: string;
|
|
634
725
|
/** Data format for response. */
|
|
635
|
-
alt?:
|
|
726
|
+
alt?: 'json' | 'media' | 'proto';
|
|
636
727
|
/** JSONP */
|
|
637
728
|
callback?: string;
|
|
638
729
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -659,11 +750,11 @@ declare namespace gapi.client {
|
|
|
659
750
|
/** GET Binary upload status by token */
|
|
660
751
|
get(request?: {
|
|
661
752
|
/** V1 error format. */
|
|
662
|
-
'$.xgafv'?:
|
|
753
|
+
'$.xgafv'?: '1' | '2';
|
|
663
754
|
/** OAuth access token. */
|
|
664
755
|
access_token?: string;
|
|
665
756
|
/** Data format for response. */
|
|
666
|
-
alt?:
|
|
757
|
+
alt?: 'json' | 'media' | 'proto';
|
|
667
758
|
/** JSONP */
|
|
668
759
|
callback?: string;
|
|
669
760
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -690,13 +781,13 @@ declare namespace gapi.client {
|
|
|
690
781
|
/** Get the app, if it exists */
|
|
691
782
|
get(request?: {
|
|
692
783
|
/** V1 error format. */
|
|
693
|
-
'$.xgafv'?:
|
|
784
|
+
'$.xgafv'?: '1' | '2';
|
|
694
785
|
/** OAuth access token. */
|
|
695
786
|
access_token?: string;
|
|
696
787
|
/** Data format for response. */
|
|
697
|
-
alt?:
|
|
788
|
+
alt?: 'json' | 'media' | 'proto';
|
|
698
789
|
/** App view. When unset or set to BASIC, returns an App with everything set except for aab_state. When set to FULL, returns an App with aab_state set. */
|
|
699
|
-
appView?:
|
|
790
|
+
appView?: 'APP_VIEW_UNSPECIFIED' | 'BASIC' | 'FULL';
|
|
700
791
|
/** JSONP */
|
|
701
792
|
callback?: string;
|
|
702
793
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -719,11 +810,11 @@ declare namespace gapi.client {
|
|
|
719
810
|
/** Get a JWT token */
|
|
720
811
|
getJwt(request?: {
|
|
721
812
|
/** V1 error format. */
|
|
722
|
-
'$.xgafv'?:
|
|
813
|
+
'$.xgafv'?: '1' | '2';
|
|
723
814
|
/** OAuth access token. */
|
|
724
815
|
access_token?: string;
|
|
725
816
|
/** Data format for response. */
|
|
726
|
-
alt?:
|
|
817
|
+
alt?: 'json' | 'media' | 'proto';
|
|
727
818
|
/** JSONP */
|
|
728
819
|
callback?: string;
|
|
729
820
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -752,11 +843,11 @@ declare namespace gapi.client {
|
|
|
752
843
|
/** Abort automated test run on release. */
|
|
753
844
|
cancel(request?: {
|
|
754
845
|
/** V1 error format. */
|
|
755
|
-
'$.xgafv'?:
|
|
846
|
+
'$.xgafv'?: '1' | '2';
|
|
756
847
|
/** OAuth access token. */
|
|
757
848
|
access_token?: string;
|
|
758
849
|
/** Data format for response. */
|
|
759
|
-
alt?:
|
|
850
|
+
alt?: 'json' | 'media' | 'proto';
|
|
760
851
|
/** JSONP */
|
|
761
852
|
callback?: string;
|
|
762
853
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -779,11 +870,11 @@ declare namespace gapi.client {
|
|
|
779
870
|
/** Run automated test(s) on release. */
|
|
780
871
|
create(request: {
|
|
781
872
|
/** V1 error format. */
|
|
782
|
-
'$.xgafv'?:
|
|
873
|
+
'$.xgafv'?: '1' | '2';
|
|
783
874
|
/** OAuth access token. */
|
|
784
875
|
access_token?: string;
|
|
785
876
|
/** Data format for response. */
|
|
786
|
-
alt?:
|
|
877
|
+
alt?: 'json' | 'media' | 'proto';
|
|
787
878
|
/** JSONP */
|
|
788
879
|
callback?: string;
|
|
789
880
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -810,11 +901,11 @@ declare namespace gapi.client {
|
|
|
810
901
|
create(
|
|
811
902
|
request: {
|
|
812
903
|
/** V1 error format. */
|
|
813
|
-
'$.xgafv'?:
|
|
904
|
+
'$.xgafv'?: '1' | '2';
|
|
814
905
|
/** OAuth access token. */
|
|
815
906
|
access_token?: string;
|
|
816
907
|
/** Data format for response. */
|
|
817
|
-
alt?:
|
|
908
|
+
alt?: 'json' | 'media' | 'proto';
|
|
818
909
|
/** JSONP */
|
|
819
910
|
callback?: string;
|
|
820
911
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -841,11 +932,11 @@ declare namespace gapi.client {
|
|
|
841
932
|
/** Get results for automated test run on release. */
|
|
842
933
|
get(request?: {
|
|
843
934
|
/** V1 error format. */
|
|
844
|
-
'$.xgafv'?:
|
|
935
|
+
'$.xgafv'?: '1' | '2';
|
|
845
936
|
/** OAuth access token. */
|
|
846
937
|
access_token?: string;
|
|
847
938
|
/** Data format for response. */
|
|
848
|
-
alt?:
|
|
939
|
+
alt?: 'json' | 'media' | 'proto';
|
|
849
940
|
/** JSONP */
|
|
850
941
|
callback?: string;
|
|
851
942
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -868,11 +959,11 @@ declare namespace gapi.client {
|
|
|
868
959
|
/** List results for automated tests run on release. */
|
|
869
960
|
list(request?: {
|
|
870
961
|
/** V1 error format. */
|
|
871
|
-
'$.xgafv'?:
|
|
962
|
+
'$.xgafv'?: '1' | '2';
|
|
872
963
|
/** OAuth access token. */
|
|
873
964
|
access_token?: string;
|
|
874
965
|
/** Data format for response. */
|
|
875
|
-
alt?:
|
|
966
|
+
alt?: 'json' | 'media' | 'proto';
|
|
876
967
|
/** JSONP */
|
|
877
968
|
callback?: string;
|
|
878
969
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -896,7 +987,10 @@ declare namespace gapi.client {
|
|
|
896
987
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
897
988
|
uploadType?: string;
|
|
898
989
|
/** Optional. The requested view on the returned ReleaseTests. Defaults to the basic view. */
|
|
899
|
-
view?:
|
|
990
|
+
view?:
|
|
991
|
+
| 'RELEASE_TEST_VIEW_UNSPECIFIED'
|
|
992
|
+
| 'RELEASE_TEST_VIEW_BASIC'
|
|
993
|
+
| 'RELEASE_TEST_VIEW_FULL';
|
|
900
994
|
}): Request<GoogleFirebaseAppdistroV1alphaListReleaseTestsResponse>;
|
|
901
995
|
}
|
|
902
996
|
interface ReleasesResource {
|
|
@@ -906,11 +1000,11 @@ declare namespace gapi.client {
|
|
|
906
1000
|
/** Deletes multiple test cases. */
|
|
907
1001
|
batchDelete(request: {
|
|
908
1002
|
/** V1 error format. */
|
|
909
|
-
'$.xgafv'?:
|
|
1003
|
+
'$.xgafv'?: '1' | '2';
|
|
910
1004
|
/** OAuth access token. */
|
|
911
1005
|
access_token?: string;
|
|
912
1006
|
/** Data format for response. */
|
|
913
|
-
alt?:
|
|
1007
|
+
alt?: 'json' | 'media' | 'proto';
|
|
914
1008
|
/** JSONP */
|
|
915
1009
|
callback?: string;
|
|
916
1010
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -935,11 +1029,11 @@ declare namespace gapi.client {
|
|
|
935
1029
|
batchDelete(
|
|
936
1030
|
request: {
|
|
937
1031
|
/** V1 error format. */
|
|
938
|
-
'$.xgafv'?:
|
|
1032
|
+
'$.xgafv'?: '1' | '2';
|
|
939
1033
|
/** OAuth access token. */
|
|
940
1034
|
access_token?: string;
|
|
941
1035
|
/** Data format for response. */
|
|
942
|
-
alt?:
|
|
1036
|
+
alt?: 'json' | 'media' | 'proto';
|
|
943
1037
|
/** JSONP */
|
|
944
1038
|
callback?: string;
|
|
945
1039
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -964,11 +1058,11 @@ declare namespace gapi.client {
|
|
|
964
1058
|
/** Updates multiple test cases. */
|
|
965
1059
|
batchUpdate(request: {
|
|
966
1060
|
/** V1 error format. */
|
|
967
|
-
'$.xgafv'?:
|
|
1061
|
+
'$.xgafv'?: '1' | '2';
|
|
968
1062
|
/** OAuth access token. */
|
|
969
1063
|
access_token?: string;
|
|
970
1064
|
/** Data format for response. */
|
|
971
|
-
alt?:
|
|
1065
|
+
alt?: 'json' | 'media' | 'proto';
|
|
972
1066
|
/** JSONP */
|
|
973
1067
|
callback?: string;
|
|
974
1068
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -993,11 +1087,11 @@ declare namespace gapi.client {
|
|
|
993
1087
|
batchUpdate(
|
|
994
1088
|
request: {
|
|
995
1089
|
/** V1 error format. */
|
|
996
|
-
'$.xgafv'?:
|
|
1090
|
+
'$.xgafv'?: '1' | '2';
|
|
997
1091
|
/** OAuth access token. */
|
|
998
1092
|
access_token?: string;
|
|
999
1093
|
/** Data format for response. */
|
|
1000
|
-
alt?:
|
|
1094
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1001
1095
|
/** JSONP */
|
|
1002
1096
|
callback?: string;
|
|
1003
1097
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1022,11 +1116,11 @@ declare namespace gapi.client {
|
|
|
1022
1116
|
/** Clears cached test runs for a specific test case and device(s). */
|
|
1023
1117
|
clearTestCaseCache(request: {
|
|
1024
1118
|
/** V1 error format. */
|
|
1025
|
-
'$.xgafv'?:
|
|
1119
|
+
'$.xgafv'?: '1' | '2';
|
|
1026
1120
|
/** OAuth access token. */
|
|
1027
1121
|
access_token?: string;
|
|
1028
1122
|
/** Data format for response. */
|
|
1029
|
-
alt?:
|
|
1123
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1030
1124
|
/** JSONP */
|
|
1031
1125
|
callback?: string;
|
|
1032
1126
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1051,11 +1145,11 @@ declare namespace gapi.client {
|
|
|
1051
1145
|
clearTestCaseCache(
|
|
1052
1146
|
request: {
|
|
1053
1147
|
/** V1 error format. */
|
|
1054
|
-
'$.xgafv'?:
|
|
1148
|
+
'$.xgafv'?: '1' | '2';
|
|
1055
1149
|
/** OAuth access token. */
|
|
1056
1150
|
access_token?: string;
|
|
1057
1151
|
/** Data format for response. */
|
|
1058
|
-
alt?:
|
|
1152
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1059
1153
|
/** JSONP */
|
|
1060
1154
|
callback?: string;
|
|
1061
1155
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1080,11 +1174,11 @@ declare namespace gapi.client {
|
|
|
1080
1174
|
/** Create a new test case. */
|
|
1081
1175
|
create(request: {
|
|
1082
1176
|
/** V1 error format. */
|
|
1083
|
-
'$.xgafv'?:
|
|
1177
|
+
'$.xgafv'?: '1' | '2';
|
|
1084
1178
|
/** OAuth access token. */
|
|
1085
1179
|
access_token?: string;
|
|
1086
1180
|
/** Data format for response. */
|
|
1087
|
-
alt?:
|
|
1181
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1088
1182
|
/** JSONP */
|
|
1089
1183
|
callback?: string;
|
|
1090
1184
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1111,11 +1205,11 @@ declare namespace gapi.client {
|
|
|
1111
1205
|
create(
|
|
1112
1206
|
request: {
|
|
1113
1207
|
/** V1 error format. */
|
|
1114
|
-
'$.xgafv'?:
|
|
1208
|
+
'$.xgafv'?: '1' | '2';
|
|
1115
1209
|
/** OAuth access token. */
|
|
1116
1210
|
access_token?: string;
|
|
1117
1211
|
/** Data format for response. */
|
|
1118
|
-
alt?:
|
|
1212
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1119
1213
|
/** JSONP */
|
|
1120
1214
|
callback?: string;
|
|
1121
1215
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1142,11 +1236,11 @@ declare namespace gapi.client {
|
|
|
1142
1236
|
/** Delete a test case. */
|
|
1143
1237
|
delete(request?: {
|
|
1144
1238
|
/** V1 error format. */
|
|
1145
|
-
'$.xgafv'?:
|
|
1239
|
+
'$.xgafv'?: '1' | '2';
|
|
1146
1240
|
/** OAuth access token. */
|
|
1147
1241
|
access_token?: string;
|
|
1148
1242
|
/** Data format for response. */
|
|
1149
|
-
alt?:
|
|
1243
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1150
1244
|
/** JSONP */
|
|
1151
1245
|
callback?: string;
|
|
1152
1246
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1169,11 +1263,11 @@ declare namespace gapi.client {
|
|
|
1169
1263
|
/** Get a test case. */
|
|
1170
1264
|
get(request?: {
|
|
1171
1265
|
/** V1 error format. */
|
|
1172
|
-
'$.xgafv'?:
|
|
1266
|
+
'$.xgafv'?: '1' | '2';
|
|
1173
1267
|
/** OAuth access token. */
|
|
1174
1268
|
access_token?: string;
|
|
1175
1269
|
/** Data format for response. */
|
|
1176
|
-
alt?:
|
|
1270
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1177
1271
|
/** JSONP */
|
|
1178
1272
|
callback?: string;
|
|
1179
1273
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1196,11 +1290,11 @@ declare namespace gapi.client {
|
|
|
1196
1290
|
/** List test cases. */
|
|
1197
1291
|
list(request?: {
|
|
1198
1292
|
/** V1 error format. */
|
|
1199
|
-
'$.xgafv'?:
|
|
1293
|
+
'$.xgafv'?: '1' | '2';
|
|
1200
1294
|
/** OAuth access token. */
|
|
1201
1295
|
access_token?: string;
|
|
1202
1296
|
/** Data format for response. */
|
|
1203
|
-
alt?:
|
|
1297
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1204
1298
|
/** JSONP */
|
|
1205
1299
|
callback?: string;
|
|
1206
1300
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1227,13 +1321,13 @@ declare namespace gapi.client {
|
|
|
1227
1321
|
/** Update a test case. */
|
|
1228
1322
|
patch(request: {
|
|
1229
1323
|
/** V1 error format. */
|
|
1230
|
-
'$.xgafv'?:
|
|
1324
|
+
'$.xgafv'?: '1' | '2';
|
|
1231
1325
|
/** OAuth access token. */
|
|
1232
1326
|
access_token?: string;
|
|
1233
1327
|
/** Optional. If set to true, and the test case is not found, a new test case will be created. */
|
|
1234
1328
|
allowMissing?: boolean;
|
|
1235
1329
|
/** Data format for response. */
|
|
1236
|
-
alt?:
|
|
1330
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1237
1331
|
/** JSONP */
|
|
1238
1332
|
callback?: string;
|
|
1239
1333
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1258,13 +1352,13 @@ declare namespace gapi.client {
|
|
|
1258
1352
|
patch(
|
|
1259
1353
|
request: {
|
|
1260
1354
|
/** V1 error format. */
|
|
1261
|
-
'$.xgafv'?:
|
|
1355
|
+
'$.xgafv'?: '1' | '2';
|
|
1262
1356
|
/** OAuth access token. */
|
|
1263
1357
|
access_token?: string;
|
|
1264
1358
|
/** Optional. If set to true, and the test case is not found, a new test case will be created. */
|
|
1265
1359
|
allowMissing?: boolean;
|
|
1266
1360
|
/** Data format for response. */
|
|
1267
|
-
alt?:
|
|
1361
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1268
1362
|
/** JSONP */
|
|
1269
1363
|
callback?: string;
|
|
1270
1364
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1291,11 +1385,11 @@ declare namespace gapi.client {
|
|
|
1291
1385
|
/** Gets configuration for automated tests. */
|
|
1292
1386
|
getTestConfig(request?: {
|
|
1293
1387
|
/** V1 error format. */
|
|
1294
|
-
'$.xgafv'?:
|
|
1388
|
+
'$.xgafv'?: '1' | '2';
|
|
1295
1389
|
/** OAuth access token. */
|
|
1296
1390
|
access_token?: string;
|
|
1297
1391
|
/** Data format for response. */
|
|
1298
|
-
alt?:
|
|
1392
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1299
1393
|
/** JSONP */
|
|
1300
1394
|
callback?: string;
|
|
1301
1395
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1318,11 +1412,11 @@ declare namespace gapi.client {
|
|
|
1318
1412
|
/** Updates automated test configuration. */
|
|
1319
1413
|
updateTestConfig(request: {
|
|
1320
1414
|
/** V1 error format. */
|
|
1321
|
-
'$.xgafv'?:
|
|
1415
|
+
'$.xgafv'?: '1' | '2';
|
|
1322
1416
|
/** OAuth access token. */
|
|
1323
1417
|
access_token?: string;
|
|
1324
1418
|
/** Data format for response. */
|
|
1325
|
-
alt?:
|
|
1419
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1326
1420
|
/** JSONP */
|
|
1327
1421
|
callback?: string;
|
|
1328
1422
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1349,11 +1443,11 @@ declare namespace gapi.client {
|
|
|
1349
1443
|
updateTestConfig(
|
|
1350
1444
|
request: {
|
|
1351
1445
|
/** V1 error format. */
|
|
1352
|
-
'$.xgafv'?:
|
|
1446
|
+
'$.xgafv'?: '1' | '2';
|
|
1353
1447
|
/** OAuth access token. */
|
|
1354
1448
|
access_token?: string;
|
|
1355
1449
|
/** Data format for response. */
|
|
1356
|
-
alt?:
|
|
1450
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1357
1451
|
/** JSONP */
|
|
1358
1452
|
callback?: string;
|
|
1359
1453
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1384,11 +1478,11 @@ declare namespace gapi.client {
|
|
|
1384
1478
|
/** Get UDIDs of tester iOS devices in a project */
|
|
1385
1479
|
getUdids(request?: {
|
|
1386
1480
|
/** V1 error format. */
|
|
1387
|
-
'$.xgafv'?:
|
|
1481
|
+
'$.xgafv'?: '1' | '2';
|
|
1388
1482
|
/** OAuth access token. */
|
|
1389
1483
|
access_token?: string;
|
|
1390
1484
|
/** Data format for response. */
|
|
1391
|
-
alt?:
|
|
1485
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1392
1486
|
/** JSONP */
|
|
1393
1487
|
callback?: string;
|
|
1394
1488
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1415,11 +1509,11 @@ declare namespace gapi.client {
|
|
|
1415
1509
|
/** Get information about the quota for `ReleaseTests`. */
|
|
1416
1510
|
getTestQuota(request?: {
|
|
1417
1511
|
/** V1 error format. */
|
|
1418
|
-
'$.xgafv'?:
|
|
1512
|
+
'$.xgafv'?: '1' | '2';
|
|
1419
1513
|
/** OAuth access token. */
|
|
1420
1514
|
access_token?: string;
|
|
1421
1515
|
/** Data format for response. */
|
|
1422
|
-
alt?:
|
|
1516
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1423
1517
|
/** JSONP */
|
|
1424
1518
|
callback?: string;
|
|
1425
1519
|
/** Selector specifying which fields to include in a partial response. */
|
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -10,6 +10,23 @@ Install typings for Firebase App Distribution API:
|
|
|
10
10
|
npm install @types/gapi.client.firebaseappdistribution-v1alpha --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-v1alpha"
|
|
25
|
+
]
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
```
|
|
29
|
+
|
|
13
30
|
## Usage
|
|
14
31
|
|
|
15
32
|
You need to initialize Google API client in your code:
|