@maxim_mazurok/gapi.client.firebaseappdistribution-v1 0.2.20260318 → 0.2.20260608
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 +12 -3
- 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=v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20260608
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -80,10 +80,14 @@ declare namespace gapi.client {
|
|
|
80
80
|
fromBytes?: string;
|
|
81
81
|
/** The content type of the file derived from the file extension of the original file name used by the client. */
|
|
82
82
|
fromFileName?: string;
|
|
83
|
+
/** The content type of the file detected by Fusion ID. go/fusionid */
|
|
84
|
+
fromFusionId?: string;
|
|
83
85
|
/** The content type of the file as specified in the request headers, multipart headers, or RUPIO start request. */
|
|
84
86
|
fromHeader?: string;
|
|
85
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). */
|
|
86
88
|
fromUrlPath?: string;
|
|
89
|
+
/** Metadata information from Fusion ID detection. Serialized FusionIdDetectionMetadata proto. Only set if from_fusion_id is set. */
|
|
90
|
+
fusionIdDetectionMetadata?: string;
|
|
87
91
|
}
|
|
88
92
|
interface GdataDiffChecksumsResponse {
|
|
89
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. */
|
|
@@ -197,6 +201,8 @@ declare namespace gapi.client {
|
|
|
197
201
|
sha1Hash?: string;
|
|
198
202
|
/** Scotty-provided SHA256 hash for an upload. */
|
|
199
203
|
sha256Hash?: string;
|
|
204
|
+
/** Scotty-provided SHA512 hash for an upload. */
|
|
205
|
+
sha512Hash?: string;
|
|
200
206
|
/** Time at which the media data was last updated, in milliseconds since UNIX epoch */
|
|
201
207
|
timestamp?: string;
|
|
202
208
|
/** A unique fingerprint/version id for the media data */
|
|
@@ -219,7 +225,10 @@ declare namespace gapi.client {
|
|
|
219
225
|
| 'NO_APP_WITH_GIVEN_BUNDLE_ID_IN_PLAY_ACCOUNT'
|
|
220
226
|
| 'APP_NOT_PUBLISHED'
|
|
221
227
|
| 'AAB_STATE_UNAVAILABLE'
|
|
222
|
-
| 'PLAY_IAS_TERMS_NOT_ACCEPTED'
|
|
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';
|
|
223
232
|
/** The name of the `AabInfo` resource. Format: `projects/{project_number}/apps/{app}/aabInfo` */
|
|
224
233
|
name?: string;
|
|
225
234
|
/** App bundle test certificate generated for the app. Set after the first app bundle is uploaded for this app. */
|
|
@@ -401,7 +410,7 @@ declare namespace gapi.client {
|
|
|
401
410
|
/** The status code, which should be an enum value of google.rpc.Code. */
|
|
402
411
|
code?: number;
|
|
403
412
|
/** A list of messages that carry the error details. There is a common set of message types for APIs to use. */
|
|
404
|
-
details?:
|
|
413
|
+
details?: {[P in string]: any}[];
|
|
405
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. */
|
|
406
415
|
message?: string;
|
|
407
416
|
}
|
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-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:
|