@maxim_mazurok/gapi.client.firebaseappdistribution-v1alpha 0.1.20251007 → 0.1.20251023

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 +139 -4
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -9,7 +9,7 @@
9
9
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
10
10
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
11
11
  // Generated from: https://firebaseappdistribution.googleapis.com/$discovery/rest?version=v1alpha
12
- // Revision: 20251007
12
+ // Revision: 20251023
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -109,7 +109,20 @@ declare namespace gapi.client {
109
109
  /** Required. The name of the test cases to delete. A maximum number of 1000 test cases can be deleted in one batch Format: `projects/{project_number}/apps/{app_id}/testCases/{test_case_id}` */
110
110
  names?: string[];
111
111
  }
112
+ interface GoogleFirebaseAppdistroV1alphaBatchUpdateTestCasesRequest {
113
+ /** Required. The update requests. A maximum number of 1000 test cases can be updated in one batch */
114
+ requests?: GoogleFirebaseAppdistroV1alphaUpdateTestCaseRequest[];
115
+ }
116
+ interface GoogleFirebaseAppdistroV1alphaBatchUpdateTestCasesResponse {
117
+ /** The updated test cases. */
118
+ testCases?: GoogleFirebaseAppdistroV1alphaTestCase[];
119
+ }
112
120
  interface GoogleFirebaseAppdistroV1alphaCancelReleaseTestResponse {}
121
+ interface GoogleFirebaseAppdistroV1alphaClearTestCaseCacheRequest {
122
+ /** Optional. The list of devices for which to clear the cache. If not present, clear all of them. */
123
+ testDevices?: GoogleFirebaseAppdistroV1alphaTestDevice[];
124
+ }
125
+ interface GoogleFirebaseAppdistroV1alphaClearTestCaseCacheResponse {}
113
126
  interface GoogleFirebaseAppdistroV1alphaCreateReleaseNotesRequest {
114
127
  /** The actual release notes body from the user */
115
128
  releaseNotes?: GoogleFirebaseAppdistroV1alphaReleaseNotes;
@@ -403,6 +416,12 @@ declare namespace gapi.client {
403
416
  /** Output only. Number of `ReleaseTests` run in the current month */
404
417
  usage?: string;
405
418
  }
419
+ interface GoogleFirebaseAppdistroV1alphaUpdateTestCaseRequest {
420
+ /** Optional. If set to true, and the test case is not found, a new test case will be created. */
421
+ allowMissing?: boolean;
422
+ /** Required. The test case to update. The test case's `name` field is used to identify the test case to update. Format: `projects/{project_number}/apps/{app_id}/testCases/{test_case_id}` */
423
+ testCase?: GoogleFirebaseAppdistroV1alphaTestCase;
424
+ }
406
425
  interface GoogleFirebaseAppdistroV1Release {
407
426
  /** Output only. A signed link (which expires in one hour) to directly download the app binary (IPA/APK/AAB) file. */
408
427
  binaryDownloadUri?: string;
@@ -876,7 +895,7 @@ declare namespace gapi.client {
876
895
  tests: TestsResource;
877
896
  }
878
897
  interface TestCasesResource {
879
- /** Delete test cases. */
898
+ /** Deletes multiple test cases. */
880
899
  batchDelete(request: {
881
900
  /** V1 error format. */
882
901
  '$.xgafv'?: string;
@@ -892,7 +911,7 @@ declare namespace gapi.client {
892
911
  key?: string;
893
912
  /** OAuth 2.0 token for the current user. */
894
913
  oauth_token?: string;
895
- /** Required. The parent resource where these test cases will be deleted. Format: `projects/{project_number}/apps/{app_id}` */
914
+ /** Required. The parent resource of the test cases being deleted. Format: `projects/{project_number}/apps/{app_id}` */
896
915
  parent: string;
897
916
  /** Returns response with indentations and line breaks. */
898
917
  prettyPrint?: boolean;
@@ -921,7 +940,7 @@ declare namespace gapi.client {
921
940
  key?: string;
922
941
  /** OAuth 2.0 token for the current user. */
923
942
  oauth_token?: string;
924
- /** Required. The parent resource where these test cases will be deleted. Format: `projects/{project_number}/apps/{app_id}` */
943
+ /** Required. The parent resource of the test cases being deleted. Format: `projects/{project_number}/apps/{app_id}` */
925
944
  parent: string;
926
945
  /** Returns response with indentations and line breaks. */
927
946
  prettyPrint?: boolean;
@@ -934,6 +953,122 @@ declare namespace gapi.client {
934
953
  },
935
954
  body: GoogleFirebaseAppdistroV1alphaBatchDeleteTestCasesRequest,
936
955
  ): Request<{}>;
956
+ /** Updates multiple test cases. */
957
+ batchUpdate(request: {
958
+ /** V1 error format. */
959
+ '$.xgafv'?: string;
960
+ /** OAuth access token. */
961
+ access_token?: string;
962
+ /** Data format for response. */
963
+ alt?: string;
964
+ /** JSONP */
965
+ callback?: string;
966
+ /** Selector specifying which fields to include in a partial response. */
967
+ fields?: string;
968
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
969
+ key?: string;
970
+ /** OAuth 2.0 token for the current user. */
971
+ oauth_token?: string;
972
+ /** Required. The parent resource of the test cases being updated. Format: `projects/{project_number}/apps/{app_id}` */
973
+ parent: string;
974
+ /** Returns response with indentations and line breaks. */
975
+ prettyPrint?: boolean;
976
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
977
+ quotaUser?: string;
978
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
979
+ upload_protocol?: string;
980
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
981
+ uploadType?: string;
982
+ /** Request body */
983
+ resource: GoogleFirebaseAppdistroV1alphaBatchUpdateTestCasesRequest;
984
+ }): Request<GoogleFirebaseAppdistroV1alphaBatchUpdateTestCasesResponse>;
985
+ batchUpdate(
986
+ request: {
987
+ /** V1 error format. */
988
+ '$.xgafv'?: string;
989
+ /** OAuth access token. */
990
+ access_token?: string;
991
+ /** Data format for response. */
992
+ alt?: string;
993
+ /** JSONP */
994
+ callback?: string;
995
+ /** Selector specifying which fields to include in a partial response. */
996
+ fields?: string;
997
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
998
+ key?: string;
999
+ /** OAuth 2.0 token for the current user. */
1000
+ oauth_token?: string;
1001
+ /** Required. The parent resource of the test cases being updated. Format: `projects/{project_number}/apps/{app_id}` */
1002
+ parent: string;
1003
+ /** Returns response with indentations and line breaks. */
1004
+ prettyPrint?: boolean;
1005
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1006
+ quotaUser?: string;
1007
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1008
+ upload_protocol?: string;
1009
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1010
+ uploadType?: string;
1011
+ },
1012
+ body: GoogleFirebaseAppdistroV1alphaBatchUpdateTestCasesRequest,
1013
+ ): Request<GoogleFirebaseAppdistroV1alphaBatchUpdateTestCasesResponse>;
1014
+ /** Clears cached test runs for a specific test case and device(s). */
1015
+ clearTestCaseCache(request: {
1016
+ /** V1 error format. */
1017
+ '$.xgafv'?: string;
1018
+ /** OAuth access token. */
1019
+ access_token?: string;
1020
+ /** Data format for response. */
1021
+ alt?: string;
1022
+ /** JSONP */
1023
+ callback?: string;
1024
+ /** Selector specifying which fields to include in a partial response. */
1025
+ fields?: string;
1026
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1027
+ key?: string;
1028
+ /** OAuth 2.0 token for the current user. */
1029
+ oauth_token?: string;
1030
+ /** Returns response with indentations and line breaks. */
1031
+ prettyPrint?: boolean;
1032
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1033
+ quotaUser?: string;
1034
+ /** Required. The name of the test case resource for which to clear the cache. Format: `projects/{project_number}/apps/{app_id}/testCases/{test_case_id}` */
1035
+ testCase: string;
1036
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1037
+ upload_protocol?: string;
1038
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1039
+ uploadType?: string;
1040
+ /** Request body */
1041
+ resource: GoogleFirebaseAppdistroV1alphaClearTestCaseCacheRequest;
1042
+ }): Request<{}>;
1043
+ clearTestCaseCache(
1044
+ request: {
1045
+ /** V1 error format. */
1046
+ '$.xgafv'?: string;
1047
+ /** OAuth access token. */
1048
+ access_token?: string;
1049
+ /** Data format for response. */
1050
+ alt?: string;
1051
+ /** JSONP */
1052
+ callback?: string;
1053
+ /** Selector specifying which fields to include in a partial response. */
1054
+ fields?: string;
1055
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1056
+ key?: string;
1057
+ /** OAuth 2.0 token for the current user. */
1058
+ oauth_token?: string;
1059
+ /** Returns response with indentations and line breaks. */
1060
+ prettyPrint?: boolean;
1061
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1062
+ quotaUser?: string;
1063
+ /** Required. The name of the test case resource for which to clear the cache. Format: `projects/{project_number}/apps/{app_id}/testCases/{test_case_id}` */
1064
+ testCase: string;
1065
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1066
+ upload_protocol?: string;
1067
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1068
+ uploadType?: string;
1069
+ },
1070
+ body: GoogleFirebaseAppdistroV1alphaClearTestCaseCacheRequest,
1071
+ ): Request<{}>;
937
1072
  /** Create a new test case. */
938
1073
  create(request: {
939
1074
  /** V1 error format. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.firebaseappdistribution-v1alpha",
3
- "version": "0.1.20251007",
3
+ "version": "0.1.20251023",
4
4
  "description": "TypeScript typings for Firebase App Distribution API v1alpha",
5
5
  "repository": {
6
6
  "type": "git",