Skip to content

Commit

Permalink
feat: Automated regeneration of WalletObjects client (#12364)
Browse files Browse the repository at this point in the history
Auto-created at 2024-10-18 13:19:43 +0000 using the toys pull request generator.
  • Loading branch information
yoshi-code-bot authored Oct 18, 2024
1 parent 1b6e2f3 commit aa3fd4d
Show file tree
Hide file tree
Showing 15 changed files with 39 additions and 3 deletions.
2 changes: 1 addition & 1 deletion clients/wallet_objects/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Install this package from [Hex](https://hex.pm) by adding

```elixir
def deps do
[{:google_api_wallet_objects, "~> 0.8"}]
[{:google_api_wallet_objects, "~> 0.9"}]
end
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ defmodule GoogleApi.WalletObjects.V1 do
API client metadata for GoogleApi.WalletObjects.V1.
"""

@discovery_revision "20240927"
@discovery_revision "20241017"

def discovery_revision(), do: @discovery_revision
end
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ defmodule GoogleApi.WalletObjects.V1.Model.EventTicketClass do
* `version` (*type:* `String.t`, *default:* `nil`) - Deprecated
* `locations` (*type:* `list(GoogleApi.WalletObjects.V1.Model.LatLongPoint.t)`, *default:* `nil`) - Note: This field is currently not supported to trigger geo notifications.
* `sectionLabel` (*type:* `String.t`, *default:* `nil`) - The label to use for the section value (`eventTicketObject.seatInfo.section`) on the card detail view. Each available option maps to a set of localized strings, so that translations are shown to the user based on their locale. Both `sectionLabel` and `customSectionLabel` may not be set. If neither is set, the label will default to "Section", localized. If the section field is unset, this label will not be used.
* `notifyPreference` (*type:* `String.t`, *default:* `nil`) - 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.
* `homepageUri` (*type:* `GoogleApi.WalletObjects.V1.Model.Uri.t`, *default:* `nil`) - The URI of your application's home page. Populating the URI in this field results in the exact same behavior as populating an URI in linksModuleData (when an object is rendered, a link to the homepage is shown in what would usually be thought of as the linksModuleData section of the object).
* `textModulesData` (*type:* `list(GoogleApi.WalletObjects.V1.Model.TextModuleData.t)`, *default:* `nil`) - Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class.
* `linksModuleData` (*type:* `GoogleApi.WalletObjects.V1.Model.LinksModuleData.t`, *default:* `nil`) - Links module data. If links module data is also defined on the object, both will be displayed.
Expand Down Expand Up @@ -99,6 +100,7 @@ defmodule GoogleApi.WalletObjects.V1.Model.EventTicketClass do
:version => String.t() | nil,
:locations => list(GoogleApi.WalletObjects.V1.Model.LatLongPoint.t()) | nil,
:sectionLabel => String.t() | nil,
:notifyPreference => String.t() | nil,
:homepageUri => GoogleApi.WalletObjects.V1.Model.Uri.t() | nil,
:textModulesData => list(GoogleApi.WalletObjects.V1.Model.TextModuleData.t()) | nil,
:linksModuleData => GoogleApi.WalletObjects.V1.Model.LinksModuleData.t() | nil,
Expand Down Expand Up @@ -147,6 +149,7 @@ defmodule GoogleApi.WalletObjects.V1.Model.EventTicketClass do
field(:version)
field(:locations, as: GoogleApi.WalletObjects.V1.Model.LatLongPoint, type: :list)
field(:sectionLabel)
field(:notifyPreference)
field(:homepageUri, as: GoogleApi.WalletObjects.V1.Model.Uri)
field(:textModulesData, as: GoogleApi.WalletObjects.V1.Model.TextModuleData, type: :list)
field(:linksModuleData, as: GoogleApi.WalletObjects.V1.Model.LinksModuleData)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ defmodule GoogleApi.WalletObjects.V1.Model.EventTicketObject do
* `version` (*type:* `String.t`, *default:* `nil`) - Deprecated
* `hasUsers` (*type:* `boolean()`, *default:* `nil`) - Indicates if the object has users. This field is set by the platform.
* `locations` (*type:* `list(GoogleApi.WalletObjects.V1.Model.LatLongPoint.t)`, *default:* `nil`) - Note: This field is currently not supported to trigger geo notifications.
* `notifyPreference` (*type:* `String.t`, *default:* `nil`) - 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.
* `textModulesData` (*type:* `list(GoogleApi.WalletObjects.V1.Model.TextModuleData.t)`, *default:* `nil`) - Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class.
* `linksModuleData` (*type:* `GoogleApi.WalletObjects.V1.Model.LinksModuleData.t`, *default:* `nil`) - Links module data. If links module data is also defined on the class, both will be displayed.
* `ticketNumber` (*type:* `String.t`, *default:* `nil`) - The number of the ticket. This can be a unique identifier across all tickets in an issuer's system, all tickets for the event (e.g. XYZ1234512345), or all tickets in the order (1, 2, 3, etc.).
Expand Down Expand Up @@ -75,6 +76,7 @@ defmodule GoogleApi.WalletObjects.V1.Model.EventTicketObject do
:version => String.t() | nil,
:hasUsers => boolean() | nil,
:locations => list(GoogleApi.WalletObjects.V1.Model.LatLongPoint.t()) | nil,
:notifyPreference => String.t() | nil,
:textModulesData => list(GoogleApi.WalletObjects.V1.Model.TextModuleData.t()) | nil,
:linksModuleData => GoogleApi.WalletObjects.V1.Model.LinksModuleData.t() | nil,
:ticketNumber => String.t() | nil,
Expand Down Expand Up @@ -112,6 +114,7 @@ defmodule GoogleApi.WalletObjects.V1.Model.EventTicketObject do
field(:version)
field(:hasUsers)
field(:locations, as: GoogleApi.WalletObjects.V1.Model.LatLongPoint, type: :list)
field(:notifyPreference)
field(:textModulesData, as: GoogleApi.WalletObjects.V1.Model.TextModuleData, type: :list)
field(:linksModuleData, as: GoogleApi.WalletObjects.V1.Model.LinksModuleData)
field(:ticketNumber)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ defmodule GoogleApi.WalletObjects.V1.Model.FlightClass do
* `imageModulesData` (*type:* `list(GoogleApi.WalletObjects.V1.Model.ImageModuleData.t)`, *default:* `nil`) - Image module data. The maximum number of these fields displayed is 1 from object level and 1 for class object level.
* `version` (*type:* `String.t`, *default:* `nil`) - Deprecated
* `locations` (*type:* `list(GoogleApi.WalletObjects.V1.Model.LatLongPoint.t)`, *default:* `nil`) - Note: This field is currently not supported to trigger geo notifications.
* `notifyPreference` (*type:* `String.t`, *default:* `nil`) - 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.
* `homepageUri` (*type:* `GoogleApi.WalletObjects.V1.Model.Uri.t`, *default:* `nil`) - The URI of your application's home page. Populating the URI in this field results in the exact same behavior as populating an URI in linksModuleData (when an object is rendered, a link to the homepage is shown in what would usually be thought of as the linksModuleData section of the object).
* `localBoardingDateTime` (*type:* `String.t`, *default:* `nil`) - The boarding time as it would be printed on the boarding pass. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport.
* `textModulesData` (*type:* `list(GoogleApi.WalletObjects.V1.Model.TextModuleData.t)`, *default:* `nil`) - Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class.
Expand Down Expand Up @@ -86,6 +87,7 @@ defmodule GoogleApi.WalletObjects.V1.Model.FlightClass do
:imageModulesData => list(GoogleApi.WalletObjects.V1.Model.ImageModuleData.t()) | nil,
:version => String.t() | nil,
:locations => list(GoogleApi.WalletObjects.V1.Model.LatLongPoint.t()) | nil,
:notifyPreference => String.t() | nil,
:homepageUri => GoogleApi.WalletObjects.V1.Model.Uri.t() | nil,
:localBoardingDateTime => String.t() | nil,
:textModulesData => list(GoogleApi.WalletObjects.V1.Model.TextModuleData.t()) | nil,
Expand Down Expand Up @@ -129,6 +131,7 @@ defmodule GoogleApi.WalletObjects.V1.Model.FlightClass do
field(:imageModulesData, as: GoogleApi.WalletObjects.V1.Model.ImageModuleData, type: :list)
field(:version)
field(:locations, as: GoogleApi.WalletObjects.V1.Model.LatLongPoint, type: :list)
field(:notifyPreference)
field(:homepageUri, as: GoogleApi.WalletObjects.V1.Model.Uri)
field(:localBoardingDateTime)
field(:textModulesData, as: GoogleApi.WalletObjects.V1.Model.TextModuleData, type: :list)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ defmodule GoogleApi.WalletObjects.V1.Model.FlightObject do
* `linksModuleData` (*type:* `GoogleApi.WalletObjects.V1.Model.LinksModuleData.t`, *default:* `nil`) - Links module data. If links module data is also defined on the class, both will be displayed.
* `locations` (*type:* `list(GoogleApi.WalletObjects.V1.Model.LatLongPoint.t)`, *default:* `nil`) - Note: This field is currently not supported to trigger geo notifications.
* `messages` (*type:* `list(GoogleApi.WalletObjects.V1.Model.Message.t)`, *default:* `nil`) - An array of messages displayed in the app. All users of this object will receive its associated messages. The maximum number of these fields is 10.
* `notifyPreference` (*type:* `String.t`, *default:* `nil`) - 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.
* `passConstraints` (*type:* `GoogleApi.WalletObjects.V1.Model.PassConstraints.t`, *default:* `nil`) - Pass constraints for the object. Includes limiting NFC and screenshot behaviors.
* `passengerName` (*type:* `String.t`, *default:* `nil`) - Required. Passenger name as it would appear on the boarding pass. eg: "Dave M Gahan" or "Gahan/Dave" or "GAHAN/DAVEM"
* `reservationInfo` (*type:* `GoogleApi.WalletObjects.V1.Model.ReservationInfo.t`, *default:* `nil`) - Required. Information about flight reservation.
Expand Down Expand Up @@ -77,6 +78,7 @@ defmodule GoogleApi.WalletObjects.V1.Model.FlightObject do
:linksModuleData => GoogleApi.WalletObjects.V1.Model.LinksModuleData.t() | nil,
:locations => list(GoogleApi.WalletObjects.V1.Model.LatLongPoint.t()) | nil,
:messages => list(GoogleApi.WalletObjects.V1.Model.Message.t()) | nil,
:notifyPreference => String.t() | nil,
:passConstraints => GoogleApi.WalletObjects.V1.Model.PassConstraints.t() | nil,
:passengerName => String.t() | nil,
:reservationInfo => GoogleApi.WalletObjects.V1.Model.ReservationInfo.t() | nil,
Expand Down Expand Up @@ -111,6 +113,7 @@ defmodule GoogleApi.WalletObjects.V1.Model.FlightObject do
field(:linksModuleData, as: GoogleApi.WalletObjects.V1.Model.LinksModuleData)
field(:locations, as: GoogleApi.WalletObjects.V1.Model.LatLongPoint, type: :list)
field(:messages, as: GoogleApi.WalletObjects.V1.Model.Message, type: :list)
field(:notifyPreference)
field(:passConstraints, as: GoogleApi.WalletObjects.V1.Model.PassConstraints)
field(:passengerName)
field(:reservationInfo, as: GoogleApi.WalletObjects.V1.Model.ReservationInfo)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ defmodule GoogleApi.WalletObjects.V1.Model.GiftCardClass do
* `imageModulesData` (*type:* `list(GoogleApi.WalletObjects.V1.Model.ImageModuleData.t)`, *default:* `nil`) - Image module data. The maximum number of these fields displayed is 1 from object level and 1 for class object level.
* `version` (*type:* `String.t`, *default:* `nil`) - Deprecated
* `locations` (*type:* `list(GoogleApi.WalletObjects.V1.Model.LatLongPoint.t)`, *default:* `nil`) - Note: This field is currently not supported to trigger geo notifications.
* `notifyPreference` (*type:* `String.t`, *default:* `nil`) - 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.
* `homepageUri` (*type:* `GoogleApi.WalletObjects.V1.Model.Uri.t`, *default:* `nil`) - The URI of your application's home page. Populating the URI in this field results in the exact same behavior as populating an URI in linksModuleData (when an object is rendered, a link to the homepage is shown in what would usually be thought of as the linksModuleData section of the object).
* `textModulesData` (*type:* `list(GoogleApi.WalletObjects.V1.Model.TextModuleData.t)`, *default:* `nil`) - Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class.
* `linksModuleData` (*type:* `GoogleApi.WalletObjects.V1.Model.LinksModuleData.t`, *default:* `nil`) - Links module data. If links module data is also defined on the object, both will be displayed.
Expand Down Expand Up @@ -83,6 +84,7 @@ defmodule GoogleApi.WalletObjects.V1.Model.GiftCardClass do
:imageModulesData => list(GoogleApi.WalletObjects.V1.Model.ImageModuleData.t()) | nil,
:version => String.t() | nil,
:locations => list(GoogleApi.WalletObjects.V1.Model.LatLongPoint.t()) | nil,
:notifyPreference => String.t() | nil,
:homepageUri => GoogleApi.WalletObjects.V1.Model.Uri.t() | nil,
:textModulesData => list(GoogleApi.WalletObjects.V1.Model.TextModuleData.t()) | nil,
:linksModuleData => GoogleApi.WalletObjects.V1.Model.LinksModuleData.t() | nil,
Expand Down Expand Up @@ -126,6 +128,7 @@ defmodule GoogleApi.WalletObjects.V1.Model.GiftCardClass do
field(:imageModulesData, as: GoogleApi.WalletObjects.V1.Model.ImageModuleData, type: :list)
field(:version)
field(:locations, as: GoogleApi.WalletObjects.V1.Model.LatLongPoint, type: :list)
field(:notifyPreference)
field(:homepageUri, as: GoogleApi.WalletObjects.V1.Model.Uri)
field(:textModulesData, as: GoogleApi.WalletObjects.V1.Model.TextModuleData, type: :list)
field(:linksModuleData, as: GoogleApi.WalletObjects.V1.Model.LinksModuleData)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ defmodule GoogleApi.WalletObjects.V1.Model.GiftCardObject do
* `linksModuleData` (*type:* `GoogleApi.WalletObjects.V1.Model.LinksModuleData.t`, *default:* `nil`) - Links module data. If links module data is also defined on the class, both will be displayed.
* `locations` (*type:* `list(GoogleApi.WalletObjects.V1.Model.LatLongPoint.t)`, *default:* `nil`) - Note: This field is currently not supported to trigger geo notifications.
* `messages` (*type:* `list(GoogleApi.WalletObjects.V1.Model.Message.t)`, *default:* `nil`) - An array of messages displayed in the app. All users of this object will receive its associated messages. The maximum number of these fields is 10.
* `notifyPreference` (*type:* `String.t`, *default:* `nil`) - 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.
* `passConstraints` (*type:* `GoogleApi.WalletObjects.V1.Model.PassConstraints.t`, *default:* `nil`) - Pass constraints for the object. Includes limiting NFC and screenshot behaviors.
* `pin` (*type:* `String.t`, *default:* `nil`) - The card's PIN.
* `rotatingBarcode` (*type:* `GoogleApi.WalletObjects.V1.Model.RotatingBarcode.t`, *default:* `nil`) - The rotating barcode type and value.
Expand Down Expand Up @@ -78,6 +79,7 @@ defmodule GoogleApi.WalletObjects.V1.Model.GiftCardObject do
:linksModuleData => GoogleApi.WalletObjects.V1.Model.LinksModuleData.t() | nil,
:locations => list(GoogleApi.WalletObjects.V1.Model.LatLongPoint.t()) | nil,
:messages => list(GoogleApi.WalletObjects.V1.Model.Message.t()) | nil,
:notifyPreference => String.t() | nil,
:passConstraints => GoogleApi.WalletObjects.V1.Model.PassConstraints.t() | nil,
:pin => String.t() | nil,
:rotatingBarcode => GoogleApi.WalletObjects.V1.Model.RotatingBarcode.t() | nil,
Expand Down Expand Up @@ -112,6 +114,7 @@ defmodule GoogleApi.WalletObjects.V1.Model.GiftCardObject do
field(:linksModuleData, as: GoogleApi.WalletObjects.V1.Model.LinksModuleData)
field(:locations, as: GoogleApi.WalletObjects.V1.Model.LatLongPoint, type: :list)
field(:messages, as: GoogleApi.WalletObjects.V1.Model.Message, type: :list)
field(:notifyPreference)
field(:passConstraints, as: GoogleApi.WalletObjects.V1.Model.PassConstraints)
field(:pin)
field(:rotatingBarcode, as: GoogleApi.WalletObjects.V1.Model.RotatingBarcode)
Expand Down
Loading

0 comments on commit aa3fd4d

Please sign in to comment.