@maxim_mazurok/gapi.client.firebaseappdistribution-v1alpha 0.0.20241113 → 0.0.20241115

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 +224 -1
  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: 20241113
12
+ // Revision: 20241115
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -209,6 +209,12 @@ declare namespace gapi.client {
209
209
  /** The tests listed. */
210
210
  releaseTests?: GoogleFirebaseAppdistroV1alphaReleaseTest[];
211
211
  }
212
+ interface GoogleFirebaseAppdistroV1alphaListTestCasesResponse {
213
+ /** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
214
+ nextPageToken?: string;
215
+ /** The test cases from the specified app. */
216
+ testCases?: GoogleFirebaseAppdistroV1alphaTestCase[];
217
+ }
212
218
  interface GoogleFirebaseAppdistroV1alphaLoginCredential {
213
219
  /** Optional. Hints to the crawler for identifying input fields */
214
220
  fieldHints?: GoogleFirebaseAppdistroV1alphaLoginCredentialFieldHints;
@@ -299,6 +305,14 @@ declare namespace gapi.client {
299
305
  /** Output only. The screenshot used in the context of this terminal action. */
300
306
  screenshot?: GoogleFirebaseAppdistroV1alphaScreenshot;
301
307
  }
308
+ interface GoogleFirebaseAppdistroV1alphaTestCase {
309
+ /** Optional. Instructions for AI driven test. */
310
+ aiInstructions?: GoogleFirebaseAppdistroV1alphaAiInstructions;
311
+ /** Optional. Display name of the test case. */
312
+ displayName?: string;
313
+ /** Identifier. The name of the test case resource. Format: `projects/{project_number}/apps/{app_id}/testCases/{test_case_id}` */
314
+ name?: string;
315
+ }
302
316
  interface GoogleFirebaseAppdistroV1alphaTestConfig {
303
317
  /** Optional. Display name of the AI driven test. Required if the release test is created with multiple goals. */
304
318
  displayName?: string;
@@ -356,6 +370,7 @@ declare namespace gapi.client {
356
370
  /** Result of upload release. */
357
371
  result?: string;
358
372
  }
373
+ interface GoogleProtobufEmpty {}
359
374
  interface Release_by_hashResource {
360
375
  /** GET Release by binary upload hash */
361
376
  get(request?: {
@@ -821,6 +836,213 @@ declare namespace gapi.client {
821
836
  interface ReleasesResource {
822
837
  tests: TestsResource;
823
838
  }
839
+ interface TestCasesResource {
840
+ /** Create a new test case. */
841
+ create(request: {
842
+ /** V1 error format. */
843
+ '$.xgafv'?: string;
844
+ /** OAuth access token. */
845
+ access_token?: string;
846
+ /** Data format for response. */
847
+ alt?: string;
848
+ /** JSONP */
849
+ callback?: string;
850
+ /** Selector specifying which fields to include in a partial response. */
851
+ fields?: string;
852
+ /** 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. */
853
+ key?: string;
854
+ /** OAuth 2.0 token for the current user. */
855
+ oauth_token?: string;
856
+ /** Required. The parent resource where this test case will be created. Format: `projects/{project_number}/apps/{app_id}` */
857
+ parent: string;
858
+ /** Returns response with indentations and line breaks. */
859
+ prettyPrint?: boolean;
860
+ /** 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. */
861
+ quotaUser?: string;
862
+ /** Optional. The ID to use for the test case, which will become the final component of the test case's resource name. This value should be 4-63 characters, and valid characters are /a-z-/. */
863
+ testCaseId?: string;
864
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
865
+ upload_protocol?: string;
866
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
867
+ uploadType?: string;
868
+ /** Request body */
869
+ resource: GoogleFirebaseAppdistroV1alphaTestCase;
870
+ }): Request<GoogleFirebaseAppdistroV1alphaTestCase>;
871
+ create(
872
+ request: {
873
+ /** V1 error format. */
874
+ '$.xgafv'?: string;
875
+ /** OAuth access token. */
876
+ access_token?: string;
877
+ /** Data format for response. */
878
+ alt?: string;
879
+ /** JSONP */
880
+ callback?: string;
881
+ /** Selector specifying which fields to include in a partial response. */
882
+ fields?: string;
883
+ /** 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. */
884
+ key?: string;
885
+ /** OAuth 2.0 token for the current user. */
886
+ oauth_token?: string;
887
+ /** Required. The parent resource where this test case will be created. Format: `projects/{project_number}/apps/{app_id}` */
888
+ parent: string;
889
+ /** Returns response with indentations and line breaks. */
890
+ prettyPrint?: boolean;
891
+ /** 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. */
892
+ quotaUser?: string;
893
+ /** Optional. The ID to use for the test case, which will become the final component of the test case's resource name. This value should be 4-63 characters, and valid characters are /a-z-/. */
894
+ testCaseId?: string;
895
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
896
+ upload_protocol?: string;
897
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
898
+ uploadType?: string;
899
+ },
900
+ body: GoogleFirebaseAppdistroV1alphaTestCase
901
+ ): Request<GoogleFirebaseAppdistroV1alphaTestCase>;
902
+ /** Delete a test case. */
903
+ delete(request?: {
904
+ /** V1 error format. */
905
+ '$.xgafv'?: string;
906
+ /** OAuth access token. */
907
+ access_token?: string;
908
+ /** Data format for response. */
909
+ alt?: string;
910
+ /** JSONP */
911
+ callback?: string;
912
+ /** Selector specifying which fields to include in a partial response. */
913
+ fields?: string;
914
+ /** 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. */
915
+ key?: string;
916
+ /** Required. The name of the test case resource to delete. Format: `projects/{project_number}/apps/{app_id}/testCases/{test_case_id}` */
917
+ name: string;
918
+ /** OAuth 2.0 token for the current user. */
919
+ oauth_token?: string;
920
+ /** Returns response with indentations and line breaks. */
921
+ prettyPrint?: boolean;
922
+ /** 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. */
923
+ quotaUser?: string;
924
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
925
+ upload_protocol?: string;
926
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
927
+ uploadType?: string;
928
+ }): Request<{}>;
929
+ /** Get a test case. */
930
+ get(request?: {
931
+ /** V1 error format. */
932
+ '$.xgafv'?: string;
933
+ /** OAuth access token. */
934
+ access_token?: string;
935
+ /** Data format for response. */
936
+ alt?: string;
937
+ /** JSONP */
938
+ callback?: string;
939
+ /** Selector specifying which fields to include in a partial response. */
940
+ fields?: string;
941
+ /** 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. */
942
+ key?: string;
943
+ /** Required. The name of the test case resource to retrieve. Format: `projects/{project_number}/apps/{app_id}/testCases/{test_case_id}` */
944
+ name: string;
945
+ /** OAuth 2.0 token for the current user. */
946
+ oauth_token?: string;
947
+ /** Returns response with indentations and line breaks. */
948
+ prettyPrint?: boolean;
949
+ /** 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. */
950
+ quotaUser?: string;
951
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
952
+ upload_protocol?: string;
953
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
954
+ uploadType?: string;
955
+ }): Request<GoogleFirebaseAppdistroV1alphaTestCase>;
956
+ /** List test cases. */
957
+ list(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
+ /** Optional. The maximum number of test cases to return. The service may return fewer than this value. If unspecified, at most 50 test cases will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. */
973
+ pageSize?: number;
974
+ /** Optional. A page token, received from a previous `ListTestCases` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListTestCases` must match the call that provided the page token. */
975
+ pageToken?: string;
976
+ /** Required. The parent resource from which to list test cases. Format: `projects/{project_number}/apps/{app_id}` */
977
+ parent: string;
978
+ /** Returns response with indentations and line breaks. */
979
+ prettyPrint?: boolean;
980
+ /** 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. */
981
+ quotaUser?: string;
982
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
983
+ upload_protocol?: string;
984
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
985
+ uploadType?: string;
986
+ }): Request<GoogleFirebaseAppdistroV1alphaListTestCasesResponse>;
987
+ /** Update a test case. */
988
+ patch(request: {
989
+ /** V1 error format. */
990
+ '$.xgafv'?: string;
991
+ /** OAuth access token. */
992
+ access_token?: string;
993
+ /** Data format for response. */
994
+ alt?: string;
995
+ /** JSONP */
996
+ callback?: string;
997
+ /** Selector specifying which fields to include in a partial response. */
998
+ fields?: string;
999
+ /** 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. */
1000
+ key?: string;
1001
+ /** Identifier. The name of the test case resource. Format: `projects/{project_number}/apps/{app_id}/testCases/{test_case_id}` */
1002
+ name: string;
1003
+ /** OAuth 2.0 token for the current user. */
1004
+ oauth_token?: string;
1005
+ /** Returns response with indentations and line breaks. */
1006
+ prettyPrint?: boolean;
1007
+ /** 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. */
1008
+ quotaUser?: string;
1009
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1010
+ upload_protocol?: string;
1011
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1012
+ uploadType?: string;
1013
+ /** Request body */
1014
+ resource: GoogleFirebaseAppdistroV1alphaTestCase;
1015
+ }): Request<GoogleFirebaseAppdistroV1alphaTestCase>;
1016
+ patch(
1017
+ request: {
1018
+ /** V1 error format. */
1019
+ '$.xgafv'?: string;
1020
+ /** OAuth access token. */
1021
+ access_token?: string;
1022
+ /** Data format for response. */
1023
+ alt?: string;
1024
+ /** JSONP */
1025
+ callback?: string;
1026
+ /** Selector specifying which fields to include in a partial response. */
1027
+ fields?: string;
1028
+ /** 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. */
1029
+ key?: string;
1030
+ /** Identifier. The name of the test case resource. Format: `projects/{project_number}/apps/{app_id}/testCases/{test_case_id}` */
1031
+ name: string;
1032
+ /** OAuth 2.0 token for the current user. */
1033
+ oauth_token?: string;
1034
+ /** Returns response with indentations and line breaks. */
1035
+ prettyPrint?: boolean;
1036
+ /** 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. */
1037
+ quotaUser?: string;
1038
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1039
+ upload_protocol?: string;
1040
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1041
+ uploadType?: string;
1042
+ },
1043
+ body: GoogleFirebaseAppdistroV1alphaTestCase
1044
+ ): Request<GoogleFirebaseAppdistroV1alphaTestCase>;
1045
+ }
824
1046
  interface AppsResource {
825
1047
  /** Gets configuration for automated tests. */
826
1048
  getTestConfig(request?: {
@@ -912,6 +1134,7 @@ declare namespace gapi.client {
912
1134
  body: GoogleFirebaseAppdistroV1alphaTestConfig
913
1135
  ): Request<GoogleFirebaseAppdistroV1alphaTestConfig>;
914
1136
  releases: ReleasesResource;
1137
+ testCases: TestCasesResource;
915
1138
  }
916
1139
  interface TestersResource {
917
1140
  /** Get UDIDs of tester iOS devices in a project */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.firebaseappdistribution-v1alpha",
3
- "version": "0.0.20241113",
3
+ "version": "0.0.20241115",
4
4
  "description": "TypeScript typings for Firebase App Distribution API v1alpha",
5
5
  "repository": {
6
6
  "type": "git",