Skip to content

Commit b0e4ce0

Browse files
feat(walletobjects): update the API
#### walletobjects:v1 The following keys were added: - schemas.EventTicketClass.properties.notifyPreference.description - schemas.EventTicketClass.properties.notifyPreference.enum - schemas.EventTicketClass.properties.notifyPreference.enumDescriptions - schemas.EventTicketClass.properties.notifyPreference.type - schemas.EventTicketObject.properties.notifyPreference.description - schemas.EventTicketObject.properties.notifyPreference.enum - schemas.EventTicketObject.properties.notifyPreference.enumDescriptions - schemas.EventTicketObject.properties.notifyPreference.type - schemas.FlightClass.properties.notifyPreference.description - schemas.FlightClass.properties.notifyPreference.enum - schemas.FlightClass.properties.notifyPreference.enumDescriptions - schemas.FlightClass.properties.notifyPreference.type - schemas.FlightObject.properties.notifyPreference.description - schemas.FlightObject.properties.notifyPreference.enum - schemas.FlightObject.properties.notifyPreference.enumDescriptions - schemas.FlightObject.properties.notifyPreference.type - schemas.GiftCardClass.properties.notifyPreference.description - schemas.GiftCardClass.properties.notifyPreference.enum - schemas.GiftCardClass.properties.notifyPreference.enumDescriptions - schemas.GiftCardClass.properties.notifyPreference.type - schemas.GiftCardObject.properties.notifyPreference.description - schemas.GiftCardObject.properties.notifyPreference.enum - schemas.GiftCardObject.properties.notifyPreference.enumDescriptions - schemas.GiftCardObject.properties.notifyPreference.type - schemas.LoyaltyClass.properties.notifyPreference.description - schemas.LoyaltyClass.properties.notifyPreference.enum - schemas.LoyaltyClass.properties.notifyPreference.enumDescriptions - schemas.LoyaltyClass.properties.notifyPreference.type - schemas.LoyaltyObject.properties.notifyPreference.description - schemas.LoyaltyObject.properties.notifyPreference.enum - schemas.LoyaltyObject.properties.notifyPreference.enumDescriptions - schemas.LoyaltyObject.properties.notifyPreference.type - schemas.OfferClass.properties.notifyPreference.description - schemas.OfferClass.properties.notifyPreference.enum - schemas.OfferClass.properties.notifyPreference.enumDescriptions - schemas.OfferClass.properties.notifyPreference.type - schemas.OfferObject.properties.notifyPreference.description - schemas.OfferObject.properties.notifyPreference.enum - schemas.OfferObject.properties.notifyPreference.enumDescriptions - schemas.OfferObject.properties.notifyPreference.type - schemas.TransitClass.properties.notifyPreference.description - schemas.TransitClass.properties.notifyPreference.enum - schemas.TransitClass.properties.notifyPreference.enumDescriptions - schemas.TransitClass.properties.notifyPreference.type - schemas.TransitObject.properties.notifyPreference.description - schemas.TransitObject.properties.notifyPreference.enum - schemas.TransitObject.properties.notifyPreference.enumDescriptions - schemas.TransitObject.properties.notifyPreference.type
1 parent 095ea54 commit b0e4ce0

File tree

2 files changed

+193
-1
lines changed

2 files changed

+193
-1
lines changed

discovery/walletobjects-v1.json

Lines changed: 145 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2681,7 +2681,7 @@
26812681
}
26822682
}
26832683
},
2684-
"revision": "20240927",
2684+
"revision": "20241017",
26852685
"rootUrl": "https://walletobjects.googleapis.com/",
26862686
"schemas": {
26872687
"ActivationOptions": {
@@ -3955,6 +3955,18 @@
39553955
],
39563956
"type": "string"
39573957
},
3958+
"notifyPreference": {
3959+
"description": "Whether or not field updates to this class should trigger notifications. When set to NOTIFY, we will attempt to trigger a field update notification to users. These notifications will only be sent to users if the field is part of an allowlist. If not specified, no notification will be triggered. This setting is ephemeral and needs to be set with each PATCH or UPDATE request, otherwise a notification will not be triggered.",
3960+
"enum": [
3961+
"NOTIFICATION_SETTINGS_FOR_UPDATES_UNSPECIFIED",
3962+
"NOTIFY_ON_UPDATE"
3963+
],
3964+
"enumDescriptions": [
3965+
"Default behavior is no notifications sent.",
3966+
"This value will result in a notification being sent, if the updated fields are part of an allowlist."
3967+
],
3968+
"type": "string"
3969+
},
39583970
"redemptionIssuers": {
39593971
"description": "Identifies which redemption issuers can redeem the pass over Smart Tap. Redemption issuers are identified by their issuer ID. Redemption issuers must have at least one Smart Tap key configured. The `enableSmartTap` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap.",
39603972
"items": {
@@ -4248,6 +4260,18 @@
42484260
},
42494261
"type": "array"
42504262
},
4263+
"notifyPreference": {
4264+
"description": "Whether or not field updates to this object should trigger notifications. When set to NOTIFY, we will attempt to trigger a field update notification to users. These notifications will only be sent to users if the field is part of an allowlist. If set to DO_NOT_NOTIFY or NOTIFICATION_SETTINGS_UNSPECIFIED, no notification will be triggered. This setting is ephemeral and needs to be set with each PATCH or UPDATE request, otherwise a notification will not be triggered.",
4265+
"enum": [
4266+
"NOTIFICATION_SETTINGS_FOR_UPDATES_UNSPECIFIED",
4267+
"NOTIFY_ON_UPDATE"
4268+
],
4269+
"enumDescriptions": [
4270+
"Default behavior is no notifications sent.",
4271+
"This value will result in a notification being sent, if the updated fields are part of an allowlist."
4272+
],
4273+
"type": "string"
4274+
},
42514275
"passConstraints": {
42524276
"$ref": "PassConstraints",
42534277
"description": "Pass constraints for the object. Includes limiting NFC and screenshot behaviors."
@@ -4762,6 +4786,18 @@
47624786
],
47634787
"type": "string"
47644788
},
4789+
"notifyPreference": {
4790+
"description": "Whether or not field updates to this class should trigger notifications. When set to NOTIFY, we will attempt to trigger a field update notification to users. These notifications will only be sent to users if the field is part of an allowlist. If not specified, no notification will be triggered. This setting is ephemeral and needs to be set with each PATCH or UPDATE request, otherwise a notification will not be triggered.",
4791+
"enum": [
4792+
"NOTIFICATION_SETTINGS_FOR_UPDATES_UNSPECIFIED",
4793+
"NOTIFY_ON_UPDATE"
4794+
],
4795+
"enumDescriptions": [
4796+
"Default behavior is no notifications sent.",
4797+
"This value will result in a notification being sent, if the updated fields are part of an allowlist."
4798+
],
4799+
"type": "string"
4800+
},
47654801
"origin": {
47664802
"$ref": "AirportInfo",
47674803
"description": "Required. Origin airport."
@@ -5012,6 +5048,18 @@
50125048
},
50135049
"type": "array"
50145050
},
5051+
"notifyPreference": {
5052+
"description": "Whether or not field updates to this object should trigger notifications. When set to NOTIFY, we will attempt to trigger a field update notification to users. These notifications will only be sent to users if the field is part of an allowlist. If set to DO_NOT_NOTIFY or NOTIFICATION_SETTINGS_UNSPECIFIED, no notification will be triggered. This setting is ephemeral and needs to be set with each PATCH or UPDATE request, otherwise a notification will not be triggered.",
5053+
"enum": [
5054+
"NOTIFICATION_SETTINGS_FOR_UPDATES_UNSPECIFIED",
5055+
"NOTIFY_ON_UPDATE"
5056+
],
5057+
"enumDescriptions": [
5058+
"Default behavior is no notifications sent.",
5059+
"This value will result in a notification being sent, if the updated fields are part of an allowlist."
5060+
],
5061+
"type": "string"
5062+
},
50155063
"passConstraints": {
50165064
"$ref": "PassConstraints",
50175065
"description": "Pass constraints for the object. Includes limiting NFC and screenshot behaviors."
@@ -5668,6 +5716,18 @@
56685716
],
56695717
"type": "string"
56705718
},
5719+
"notifyPreference": {
5720+
"description": "Whether or not field updates to this class should trigger notifications. When set to NOTIFY, we will attempt to trigger a field update notification to users. These notifications will only be sent to users if the field is part of an allowlist. If not specified, no notification will be triggered. This setting is ephemeral and needs to be set with each PATCH or UPDATE request, otherwise a notification will not be triggered.",
5721+
"enum": [
5722+
"NOTIFICATION_SETTINGS_FOR_UPDATES_UNSPECIFIED",
5723+
"NOTIFY_ON_UPDATE"
5724+
],
5725+
"enumDescriptions": [
5726+
"Default behavior is no notifications sent.",
5727+
"This value will result in a notification being sent, if the updated fields are part of an allowlist."
5728+
],
5729+
"type": "string"
5730+
},
56715731
"pinLabel": {
56725732
"description": "The label to display for the PIN, such as \"4-digit PIN\".",
56735733
"type": "string"
@@ -5903,6 +5963,18 @@
59035963
},
59045964
"type": "array"
59055965
},
5966+
"notifyPreference": {
5967+
"description": "Whether or not field updates to this object should trigger notifications. When set to NOTIFY, we will attempt to trigger a field update notification to users. These notifications will only be sent to users if the field is part of an allowlist. If set to DO_NOT_NOTIFY or NOTIFICATION_SETTINGS_UNSPECIFIED, no notification will be triggered. This setting is ephemeral and needs to be set with each PATCH or UPDATE request, otherwise a notification will not be triggered.",
5968+
"enum": [
5969+
"NOTIFICATION_SETTINGS_FOR_UPDATES_UNSPECIFIED",
5970+
"NOTIFY_ON_UPDATE"
5971+
],
5972+
"enumDescriptions": [
5973+
"Default behavior is no notifications sent.",
5974+
"This value will result in a notification being sent, if the updated fields are part of an allowlist."
5975+
],
5976+
"type": "string"
5977+
},
59065978
"passConstraints": {
59075979
"$ref": "PassConstraints",
59085980
"description": "Pass constraints for the object. Includes limiting NFC and screenshot behaviors."
@@ -6504,6 +6576,18 @@
65046576
],
65056577
"type": "string"
65066578
},
6579+
"notifyPreference": {
6580+
"description": "Whether or not field updates to this class should trigger notifications. When set to NOTIFY, we will attempt to trigger a field update notification to users. These notifications will only be sent to users if the field is part of an allowlist. If not specified, no notification will be triggered. This setting is ephemeral and needs to be set with each PATCH or UPDATE request, otherwise a notification will not be triggered.",
6581+
"enum": [
6582+
"NOTIFICATION_SETTINGS_FOR_UPDATES_UNSPECIFIED",
6583+
"NOTIFY_ON_UPDATE"
6584+
],
6585+
"enumDescriptions": [
6586+
"Default behavior is no notifications sent.",
6587+
"This value will result in a notification being sent, if the updated fields are part of an allowlist."
6588+
],
6589+
"type": "string"
6590+
},
65076591
"programLogo": {
65086592
"$ref": "Image",
65096593
"description": "Required. The logo of the loyalty program or company. This logo is displayed in both the details and list views of the app."
@@ -6758,6 +6842,18 @@
67586842
},
67596843
"type": "array"
67606844
},
6845+
"notifyPreference": {
6846+
"description": "Whether or not field updates to this object should trigger notifications. When set to NOTIFY, we will attempt to trigger a field update notification to users. These notifications will only be sent to users if the field is part of an allowlist. If set to DO_NOT_NOTIFY or NOTIFICATION_SETTINGS_UNSPECIFIED, no notification will be triggered. This setting is ephemeral and needs to be set with each PATCH or UPDATE request, otherwise a notification will not be triggered.",
6847+
"enum": [
6848+
"NOTIFICATION_SETTINGS_FOR_UPDATES_UNSPECIFIED",
6849+
"NOTIFY_ON_UPDATE"
6850+
],
6851+
"enumDescriptions": [
6852+
"Default behavior is no notifications sent.",
6853+
"This value will result in a notification being sent, if the updated fields are part of an allowlist."
6854+
],
6855+
"type": "string"
6856+
},
67616857
"passConstraints": {
67626858
"$ref": "PassConstraints",
67636859
"description": "Pass constraints for the object. Includes limiting NFC and screenshot behaviors."
@@ -7458,6 +7554,18 @@
74587554
],
74597555
"type": "string"
74607556
},
7557+
"notifyPreference": {
7558+
"description": "Whether or not field updates to this class should trigger notifications. When set to NOTIFY, we will attempt to trigger a field update notification to users. These notifications will only be sent to users if the field is part of an allowlist. If not specified, no notification will be triggered. This setting is ephemeral and needs to be set with each PATCH or UPDATE request, otherwise a notification will not be triggered.",
7559+
"enum": [
7560+
"NOTIFICATION_SETTINGS_FOR_UPDATES_UNSPECIFIED",
7561+
"NOTIFY_ON_UPDATE"
7562+
],
7563+
"enumDescriptions": [
7564+
"Default behavior is no notifications sent.",
7565+
"This value will result in a notification being sent, if the updated fields are part of an allowlist."
7566+
],
7567+
"type": "string"
7568+
},
74617569
"provider": {
74627570
"description": "Required. The offer provider (either the aggregator name or merchant name). Recommended maximum length is 12 characters to ensure full string is displayed on smaller screens.",
74637571
"type": "string"
@@ -7721,6 +7829,18 @@
77217829
},
77227830
"type": "array"
77237831
},
7832+
"notifyPreference": {
7833+
"description": "Whether or not field updates to this object should trigger notifications. When set to NOTIFY, we will attempt to trigger a field update notification to users. These notifications will only be sent to users if the field is part of an allowlist. If set to DO_NOT_NOTIFY or NOTIFICATION_SETTINGS_UNSPECIFIED, no notification will be triggered. This setting is ephemeral and needs to be set with each PATCH or UPDATE request, otherwise a notification will not be triggered.",
7834+
"enum": [
7835+
"NOTIFICATION_SETTINGS_FOR_UPDATES_UNSPECIFIED",
7836+
"NOTIFY_ON_UPDATE"
7837+
],
7838+
"enumDescriptions": [
7839+
"Default behavior is no notifications sent.",
7840+
"This value will result in a notification being sent, if the updated fields are part of an allowlist."
7841+
],
7842+
"type": "string"
7843+
},
77247844
"passConstraints": {
77257845
"$ref": "PassConstraints",
77267846
"description": "Pass constraints for the object. Includes limiting NFC and screenshot behaviors."
@@ -8849,6 +8969,18 @@
88498969
],
88508970
"type": "string"
88518971
},
8972+
"notifyPreference": {
8973+
"description": "Whether or not field updates to this class should trigger notifications. When set to NOTIFY, we will attempt to trigger a field update notification to users. These notifications will only be sent to users if the field is part of an allowlist. If set to DO_NOT_NOTIFY or NOTIFICATION_SETTINGS_UNSPECIFIED, no notification will be triggered. This setting is ephemeral and needs to be set with each PATCH or UPDATE request, otherwise a notification will not be triggered.",
8974+
"enum": [
8975+
"NOTIFICATION_SETTINGS_FOR_UPDATES_UNSPECIFIED",
8976+
"NOTIFY_ON_UPDATE"
8977+
],
8978+
"enumDescriptions": [
8979+
"Default behavior is no notifications sent.",
8980+
"This value will result in a notification being sent, if the updated fields are part of an allowlist."
8981+
],
8982+
"type": "string"
8983+
},
88528984
"redemptionIssuers": {
88538985
"description": "Identifies which redemption issuers can redeem the pass over Smart Tap. Redemption issuers are identified by their issuer ID. Redemption issuers must have at least one Smart Tap key configured. The `enableSmartTap` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap.",
88548986
"items": {
@@ -9157,6 +9289,18 @@
91579289
},
91589290
"type": "array"
91599291
},
9292+
"notifyPreference": {
9293+
"description": "Whether or not field updates to this object should trigger notifications. When set to NOTIFY, we will attempt to trigger a field update notification to users. These notifications will only be sent to users if the field is part of an allowlist. If set to DO_NOT_NOTIFY or NOTIFICATION_SETTINGS_UNSPECIFIED, no notification will be triggered. This setting is ephemeral and needs to be set with each PATCH or UPDATE request, otherwise a notification will not be triggered.",
9294+
"enum": [
9295+
"NOTIFICATION_SETTINGS_FOR_UPDATES_UNSPECIFIED",
9296+
"NOTIFY_ON_UPDATE"
9297+
],
9298+
"enumDescriptions": [
9299+
"Default behavior is no notifications sent.",
9300+
"This value will result in a notification being sent, if the updated fields are part of an allowlist."
9301+
],
9302+
"type": "string"
9303+
},
91609304
"passConstraints": {
91619305
"$ref": "PassConstraints",
91629306
"description": "Pass constraints for the object. Includes limiting NFC and screenshot behaviors."

0 commit comments

Comments
 (0)