Skip to content

Commit 4ad37a1

Browse files
yoshi-automationsofisl
authored andcommitted
feat(walletobjects): update the API
#### walletobjects:v1 The following keys were added: - schemas.Resources.properties.eventTicketClasses.description - schemas.Resources.properties.eventTicketObjects.description - schemas.Resources.properties.flightClasses.description - schemas.Resources.properties.flightObjects.description - schemas.Resources.properties.genericClasses.description - schemas.Resources.properties.genericClasses.items.$ref - schemas.Resources.properties.genericClasses.type - schemas.Resources.properties.genericObjects.description - schemas.Resources.properties.genericObjects.items.$ref - schemas.Resources.properties.genericObjects.type - schemas.Resources.properties.giftCardClasses.description - schemas.Resources.properties.giftCardObjects.description - schemas.Resources.properties.loyaltyClasses.description - schemas.Resources.properties.loyaltyObjects.description - schemas.Resources.properties.offerClasses.description - schemas.Resources.properties.offerObjects.description - schemas.Resources.properties.transitClasses.description - schemas.Resources.properties.transitObjects.description The following keys were changed: - schemas.Media.properties.hash.description
1 parent d450bd8 commit 4ad37a1

File tree

2 files changed

+73
-3
lines changed

2 files changed

+73
-3
lines changed

discovery/walletobjects-v1.json

Lines changed: 28 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2681,7 +2681,7 @@
26812681
}
26822682
}
26832683
},
2684-
"revision": "20240531",
2684+
"revision": "20240626",
26852685
"rootUrl": "https://walletobjects.googleapis.com/",
26862686
"schemas": {
26872687
"ActivationOptions": {
@@ -6851,7 +6851,7 @@
68516851
},
68526852
"hash": {
68536853
"deprecated": true,
6854-
"description": "Deprecated, use one of explicit hash type fields instead. These two hash related fields will only be populated on Scotty based media uploads and will contain the content of the hash group in the NotificationRequest: http://cs/#google3/uploader/service/proto/upload_listener.proto&q=class:Hash Hex encoded hash value of the uploaded media.",
6854+
"description": "Deprecated, use one of explicit hash type fields instead. These two hash related fields will only be populated on Scotty based media uploads and will contain the content of the hash group in the NotificationRequest: http://cs/#google3/blobstore2/api/scotty/service/proto/upload_listener.proto&q=class:Hash Hex encoded hash value of the uploaded media.",
68556855
"type": "string"
68566856
},
68576857
"hashVerified": {
@@ -7821,72 +7821,98 @@
78217821
"id": "Resources",
78227822
"properties": {
78237823
"eventTicketClasses": {
7824+
"description": "A list of event ticket classes.",
78247825
"items": {
78257826
"$ref": "EventTicketClass"
78267827
},
78277828
"type": "array"
78287829
},
78297830
"eventTicketObjects": {
7831+
"description": "A list of event ticket objects.",
78307832
"items": {
78317833
"$ref": "EventTicketObject"
78327834
},
78337835
"type": "array"
78347836
},
78357837
"flightClasses": {
7838+
"description": "A list of flight classes.",
78367839
"items": {
78377840
"$ref": "FlightClass"
78387841
},
78397842
"type": "array"
78407843
},
78417844
"flightObjects": {
7845+
"description": "A list of flight objects.",
78427846
"items": {
78437847
"$ref": "FlightObject"
78447848
},
78457849
"type": "array"
78467850
},
7851+
"genericClasses": {
7852+
"description": "A list of generic classes.",
7853+
"items": {
7854+
"$ref": "GenericClass"
7855+
},
7856+
"type": "array"
7857+
},
7858+
"genericObjects": {
7859+
"description": "A list of generic objects.",
7860+
"items": {
7861+
"$ref": "GenericObject"
7862+
},
7863+
"type": "array"
7864+
},
78477865
"giftCardClasses": {
7866+
"description": "A list of gift card classes.",
78487867
"items": {
78497868
"$ref": "GiftCardClass"
78507869
},
78517870
"type": "array"
78527871
},
78537872
"giftCardObjects": {
7873+
"description": "A list of gift card objects.",
78547874
"items": {
78557875
"$ref": "GiftCardObject"
78567876
},
78577877
"type": "array"
78587878
},
78597879
"loyaltyClasses": {
7880+
"description": "A list of loyalty classes.",
78607881
"items": {
78617882
"$ref": "LoyaltyClass"
78627883
},
78637884
"type": "array"
78647885
},
78657886
"loyaltyObjects": {
7887+
"description": "A list of loyalty objects.",
78667888
"items": {
78677889
"$ref": "LoyaltyObject"
78687890
},
78697891
"type": "array"
78707892
},
78717893
"offerClasses": {
7894+
"description": "A list of offer classes.",
78727895
"items": {
78737896
"$ref": "OfferClass"
78747897
},
78757898
"type": "array"
78767899
},
78777900
"offerObjects": {
7901+
"description": "A list of offer objects.",
78787902
"items": {
78797903
"$ref": "OfferObject"
78807904
},
78817905
"type": "array"
78827906
},
78837907
"transitClasses": {
7908+
"description": "A list of transit classes.",
78847909
"items": {
78857910
"$ref": "TransitClass"
78867911
},
78877912
"type": "array"
78887913
},
78897914
"transitObjects": {
7915+
"description": "A list of transit objects.",
78907916
"items": {
78917917
"$ref": "TransitObject"
78927918
},

src/apis/walletobjects/v1.ts

Lines changed: 45 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2644,7 +2644,7 @@ export namespace walletobjects_v1 {
26442644
*/
26452645
filename?: string | null;
26462646
/**
2647-
* Deprecated, use one of explicit hash type fields instead. These two hash related fields will only be populated on Scotty based media uploads and will contain the content of the hash group in the NotificationRequest: http://cs/#google3/uploader/service/proto/upload_listener.proto&q=class:Hash Hex encoded hash value of the uploaded media.
2647+
* Deprecated, use one of explicit hash type fields instead. These two hash related fields will only be populated on Scotty based media uploads and will contain the content of the hash group in the NotificationRequest: http://cs/#google3/blobstore2/api/scotty/service/proto/upload_listener.proto&q=class:Hash Hex encoded hash value of the uploaded media.
26482648
*/
26492649
hash?: string | null;
26502650
/**
@@ -3218,17 +3218,61 @@ export namespace walletobjects_v1 {
32183218
kind?: string | null;
32193219
}
32203220
export interface Schema$Resources {
3221+
/**
3222+
* A list of event ticket classes.
3223+
*/
32213224
eventTicketClasses?: Schema$EventTicketClass[];
3225+
/**
3226+
* A list of event ticket objects.
3227+
*/
32223228
eventTicketObjects?: Schema$EventTicketObject[];
3229+
/**
3230+
* A list of flight classes.
3231+
*/
32233232
flightClasses?: Schema$FlightClass[];
3233+
/**
3234+
* A list of flight objects.
3235+
*/
32243236
flightObjects?: Schema$FlightObject[];
3237+
/**
3238+
* A list of generic classes.
3239+
*/
3240+
genericClasses?: Schema$GenericClass[];
3241+
/**
3242+
* A list of generic objects.
3243+
*/
3244+
genericObjects?: Schema$GenericObject[];
3245+
/**
3246+
* A list of gift card classes.
3247+
*/
32253248
giftCardClasses?: Schema$GiftCardClass[];
3249+
/**
3250+
* A list of gift card objects.
3251+
*/
32263252
giftCardObjects?: Schema$GiftCardObject[];
3253+
/**
3254+
* A list of loyalty classes.
3255+
*/
32273256
loyaltyClasses?: Schema$LoyaltyClass[];
3257+
/**
3258+
* A list of loyalty objects.
3259+
*/
32283260
loyaltyObjects?: Schema$LoyaltyObject[];
3261+
/**
3262+
* A list of offer classes.
3263+
*/
32293264
offerClasses?: Schema$OfferClass[];
3265+
/**
3266+
* A list of offer objects.
3267+
*/
32303268
offerObjects?: Schema$OfferObject[];
3269+
/**
3270+
* A list of transit classes.
3271+
*/
32313272
transitClasses?: Schema$TransitClass[];
3273+
/**
3274+
* A list of transit objects.
3275+
*/
32323276
transitObjects?: Schema$TransitObject[];
32333277
}
32343278
export interface Schema$Review {

0 commit comments

Comments
 (0)