Skip to content

Commit 0b01739

Browse files
feat(walletobjects): update the API
#### walletobjects:v1 The following keys were added: - schemas.ContentTypeInfo.properties.fromFusionId.description - schemas.ContentTypeInfo.properties.fromFusionId.type - schemas.ContentTypeInfo.properties.fusionIdDetectionMetadata.description - schemas.ContentTypeInfo.properties.fusionIdDetectionMetadata.format - schemas.ContentTypeInfo.properties.fusionIdDetectionMetadata.type The following keys were changed: - schemas.GenericObject.properties.genericType.enum - schemas.GenericObject.properties.genericType.enumDescriptions
1 parent e742080 commit 0b01739

2 files changed

Lines changed: 43 additions & 14 deletions

File tree

discovery/walletobjects-v1.json

Lines changed: 35 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2713,7 +2713,7 @@
27132713
}
27142714
}
27152715
},
2716-
"revision": "20260220",
2716+
"revision": "20260408",
27172717
"rootUrl": "https://walletobjects.googleapis.com/",
27182718
"schemas": {
27192719
"ActivationOptions": {
@@ -3415,13 +3415,22 @@
34153415
"description": "The content type of the file derived from the file extension of the original file name used by the client.",
34163416
"type": "string"
34173417
},
3418+
"fromFusionId": {
3419+
"description": "The content type of the file detected by Fusion ID. go/fusionid",
3420+
"type": "string"
3421+
},
34183422
"fromHeader": {
34193423
"description": "The content type of the file as specified in the request headers, multipart headers, or RUPIO start request.",
34203424
"type": "string"
34213425
},
34223426
"fromUrlPath": {
34233427
"description": "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).",
34243428
"type": "string"
3429+
},
3430+
"fusionIdDetectionMetadata": {
3431+
"description": "Metadata information from Fusion ID detection. Serialized FusionIdDetectionMetadata proto. Only set if from_fusion_id is set.",
3432+
"format": "byte",
3433+
"type": "string"
34253434
}
34263435
},
34273436
"type": "object"
@@ -5460,23 +5469,35 @@
54605469
"GENERIC_ENTRY_TICKET",
54615470
"GENERIC_RECEIPT",
54625471
"GENERIC_LOYALTY_CARD",
5472+
"GENERIC_BUSINESS_CARD",
5473+
"GENERIC_BARCODE_PASS",
5474+
"GENERIC_MEMBERSHIP_CARD",
5475+
"GENERIC_STUDENT_CARD",
5476+
"GENERIC_TRANSIT_PASS",
5477+
"GENERIC_VEHICLE_REGISTRATION",
54635478
"GENERIC_OTHER"
54645479
],
54655480
"enumDescriptions": [
54665481
"Unspecified generic type.",
5467-
"Season pass",
5468-
"Utility bills",
5469-
"Parking pass",
5470-
"Voucher",
5471-
"Gym membership cards",
5472-
"Library membership cards",
5473-
"Reservations",
5474-
"Auto-insurance cards",
5475-
"Home-insurance cards",
5476-
"Entry tickets",
5477-
"Receipts",
5478-
"Loyalty cards. Please note that it is advisable to use a dedicated Loyalty card pass type instead of this generic type. A dedicated loyalty card pass type offers more features and functionality than a generic pass type.",
5479-
"Other type"
5482+
"Represents a season pass.",
5483+
"Represents a utility bill.",
5484+
"Represents a parking pass.",
5485+
"Represents a voucher.",
5486+
"Represents a gym membership card.",
5487+
"Represents a library card.",
5488+
"Represents a reservation.",
5489+
"Represents an auto-insurance card.",
5490+
"Represents a home-insurance card.",
5491+
"Represents an entry ticket.",
5492+
"Represents a receipt.",
5493+
"Represents a loyalty card. Please note that it is advisable to use a dedicated Loyalty card pass type instead of this generic type. A dedicated loyalty card pass type offers more features and functionality than a generic pass type.",
5494+
"Represents a business card.",
5495+
"Represents a barcode pass.",
5496+
"Represents a membership card.",
5497+
"Represents a student card.",
5498+
"Represents a transit pass.",
5499+
"Represents a vehicle registration.",
5500+
"Represents another type of generic pass."
54805501
],
54815502
"type": "string"
54825503
},

src/apis/walletobjects/v1.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -539,6 +539,10 @@ export namespace walletobjects_v1 {
539539
* The content type of the file derived from the file extension of the original file name used by the client.
540540
*/
541541
fromFileName?: string | null;
542+
/**
543+
* The content type of the file detected by Fusion ID. go/fusionid
544+
*/
545+
fromFusionId?: string | null;
542546
/**
543547
* The content type of the file as specified in the request headers, multipart headers, or RUPIO start request.
544548
*/
@@ -547,6 +551,10 @@ export namespace walletobjects_v1 {
547551
* 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).
548552
*/
549553
fromUrlPath?: string | null;
554+
/**
555+
* Metadata information from Fusion ID detection. Serialized FusionIdDetectionMetadata proto. Only set if from_fusion_id is set.
556+
*/
557+
fusionIdDetectionMetadata?: string | null;
550558
}
551559
export interface Schema$DateTime {
552560
/**

0 commit comments

Comments
 (0)