@maxim_mazurok/gapi.client.walletobjects-v1 0.2.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 +13 -1
  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://walletobjects.googleapis.com/$discovery/rest?version=v1
12
- // Revision: 20260318
12
+ // Revision: 20260605
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -290,10 +290,14 @@ declare namespace gapi.client {
290
290
  fromBytes?: string;
291
291
  /** The content type of the file derived from the file extension of the original file name used by the client. */
292
292
  fromFileName?: string;
293
+ /** The content type of the file detected by Fusion ID. go/fusionid */
294
+ fromFusionId?: string;
293
295
  /** The content type of the file as specified in the request headers, multipart headers, or RUPIO start request. */
294
296
  fromHeader?: string;
295
297
  /** 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). */
296
298
  fromUrlPath?: string;
299
+ /** Metadata information from Fusion ID detection. Serialized FusionIdDetectionMetadata proto. Only set if from_fusion_id is set. */
300
+ fusionIdDetectionMetadata?: string;
297
301
  }
298
302
  interface DateTime {
299
303
  /** An ISO 8601 extended format date/time. Offset may or may not be required (refer to the parent field's documentation). Time may be specified up to nanosecond precision. Offsets may be specified with seconds precision (even though offset seconds is not part of ISO 8601). For example: `1985-04-12T23:20:50.52Z` would be 20 minutes and 50.52 seconds after the 23rd hour of April 12th, 1985 in UTC. `1985-04-12T19:20:50.52-04:00` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985, 4 hours before UTC (same instant in time as the above example). If the date/time is intended for a physical location in New York, this would be the equivalent of Eastern Daylight Time (EDT). Remember that offset varies in regions that observe Daylight Saving Time (or Summer Time), depending on the time of the year. `1985-04-12T19:20:50.52` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985 with no offset information. Providing an offset makes this an absolute instant in time around the world. The date/time will be adjusted based on the user's time zone. For example, a time of `2018-06-19T18:30:00-04:00` will be 18:30:00 for a user in New York and 15:30:00 for a user in Los Angeles. Omitting the offset makes this a local date/time, representing several instants in time around the world. The date/time will always be in the user's current time zone. For example, a time of `2018-06-19T18:30:00` will be 18:30:00 for a user in New York and also 18:30:00 for a user in Los Angeles. This is useful when the same local date/time should apply to many physical locations across several time zones. */
@@ -1051,6 +1055,12 @@ declare namespace gapi.client {
1051
1055
  | 'GENERIC_ENTRY_TICKET'
1052
1056
  | 'GENERIC_RECEIPT'
1053
1057
  | 'GENERIC_LOYALTY_CARD'
1058
+ | 'GENERIC_BUSINESS_CARD'
1059
+ | 'GENERIC_BARCODE_PASS'
1060
+ | 'GENERIC_MEMBERSHIP_CARD'
1061
+ | 'GENERIC_STUDENT_CARD'
1062
+ | 'GENERIC_TRANSIT_PASS'
1063
+ | 'GENERIC_VEHICLE_REGISTRATION'
1054
1064
  | 'GENERIC_OTHER';
1055
1065
  /** Information that controls how passes are grouped together. */
1056
1066
  groupingInfo?: GroupingInfo;
@@ -1749,6 +1759,8 @@ declare namespace gapi.client {
1749
1759
  sha1Hash?: string;
1750
1760
  /** Scotty-provided SHA256 hash for an upload. */
1751
1761
  sha256Hash?: string;
1762
+ /** Scotty-provided SHA512 hash for an upload. */
1763
+ sha512Hash?: string;
1752
1764
  /** Time at which the media data was last updated, in milliseconds since UNIX epoch */
1753
1765
  timestamp?: string;
1754
1766
  /** A unique fingerprint/version id for the media data */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.walletobjects-v1",
3
- "version": "0.2.20260318",
3
+ "version": "0.2.20260605",
4
4
  "description": "TypeScript typings for Google Wallet API v1",
5
5
  "repository": {
6
6
  "type": "git",
package/readme.md CHANGED
@@ -11,6 +11,23 @@ Install typings for Google Wallet API:
11
11
  npm install @types/gapi.client.walletobjects-v1 --save-dev
12
12
  ```
13
13
 
14
+ ## TypeScript 6.0+
15
+
16
+ TypeScript 6.0 changed `types` to default to `[]`. You must now explicitly list type packages in `tsconfig.json`:
17
+
18
+ ```json
19
+ {
20
+ "compilerOptions": {
21
+ "types": [
22
+ "gapi",
23
+ "gapi.auth2",
24
+ "gapi.client",
25
+ "gapi.client.walletobjects-v1"
26
+ ]
27
+ }
28
+ }
29
+ ```
30
+
14
31
  ## Usage
15
32
 
16
33
  You need to initialize Google API client in your code: