Skip to content

Commit

Permalink
feat: Automated regeneration of AndroidPublisher client (#11156)
Browse files Browse the repository at this point in the history
Auto-created at 2024-03-19 13:11:21 +0000 using the toys pull request generator.
  • Loading branch information
yoshi-code-bot authored Mar 19, 2024
1 parent e251f22 commit 97c8c70
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion clients/android_publisher/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_android_publisher, "~> 0.31"}]
[{:google_api_android_publisher, "~> 0.32"}]
end
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -920,6 +920,7 @@ defmodule GoogleApi.AndroidPublisher.V3.Api.Purchases do
* `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart").
* `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart").
* `:endTime` (*type:* `String.t`) - The time, in milliseconds since the Epoch, of the newest voided purchase that you want to see in the response. The value of this parameter cannot be greater than the current time and is ignored if a pagination token is set. Default value is current time. Note: This filter is applied on the time at which the record is seen as voided by our systems and not the actual voided time returned in the response.
* `:includeQuantityBasedPartialRefund` (*type:* `boolean()`) - Optional. Whether to include voided purchases of quantity-based partial refunds, which are applicable only to multi-quantity purchases. If true, additional voided purchases may be returned with voidedQuantity that indicates the refund quantity of a quantity-based partial refund. The default value is false.
* `:maxResults` (*type:* `integer()`) - Defines how many results the list operation should return. The default number depends on the resource collection.
* `:startIndex` (*type:* `integer()`) - Defines the index of the first element to return. This can only be used if indexed paging is enabled.
* `:startTime` (*type:* `String.t`) - The time, in milliseconds since the Epoch, of the oldest voided purchase that you want to see in the response. The value of this parameter cannot be older than 30 days and is ignored if a pagination token is set. Default value is current time minus 30 days. Note: This filter is applied on the time at which the record is seen as voided by our systems and not the actual voided time returned in the response.
Expand Down Expand Up @@ -961,6 +962,7 @@ defmodule GoogleApi.AndroidPublisher.V3.Api.Purchases do
:uploadType => :query,
:upload_protocol => :query,
:endTime => :query,
:includeQuantityBasedPartialRefund => :query,
:maxResults => :query,
:startIndex => :query,
:startTime => :query,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ defmodule GoogleApi.AndroidPublisher.V3 do
API client metadata for GoogleApi.AndroidPublisher.V3.
"""

@discovery_revision "20240318"
@discovery_revision "20240319"

def discovery_revision(), do: @discovery_revision
end
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ defmodule GoogleApi.AndroidPublisher.V3.Model.VoidedPurchase do
* `orderId` (*type:* `String.t`, *default:* `nil`) - The order id which uniquely identifies a one-time purchase, subscription purchase, or subscription renewal.
* `purchaseTimeMillis` (*type:* `String.t`, *default:* `nil`) - The time at which the purchase was made, in milliseconds since the epoch (Jan 1, 1970).
* `purchaseToken` (*type:* `String.t`, *default:* `nil`) - The token which uniquely identifies a one-time purchase or subscription. To uniquely identify subscription renewals use order_id (available starting from version 3 of the API).
* `voidedQuantity` (*type:* `integer()`, *default:* `nil`) - The voided quantity as the result of a quantity-based partial refund. Voided purchases of quantity-based partial refunds may only be returned when includeQuantityBasedPartialRefund is set to true.
* `voidedReason` (*type:* `integer()`, *default:* `nil`) - The reason why the purchase was voided, possible values are: 0. Other 1. Remorse 2. Not_received 3. Defective 4. Accidental_purchase 5. Fraud 6. Friendly_fraud 7. Chargeback
* `voidedSource` (*type:* `integer()`, *default:* `nil`) - The initiator of voided purchase, possible values are: 0. User 1. Developer 2. Google
* `voidedTimeMillis` (*type:* `String.t`, *default:* `nil`) - The time at which the purchase was canceled/refunded/charged-back, in milliseconds since the epoch (Jan 1, 1970).
Expand All @@ -37,6 +38,7 @@ defmodule GoogleApi.AndroidPublisher.V3.Model.VoidedPurchase do
:orderId => String.t() | nil,
:purchaseTimeMillis => String.t() | nil,
:purchaseToken => String.t() | nil,
:voidedQuantity => integer() | nil,
:voidedReason => integer() | nil,
:voidedSource => integer() | nil,
:voidedTimeMillis => String.t() | nil
Expand All @@ -46,6 +48,7 @@ defmodule GoogleApi.AndroidPublisher.V3.Model.VoidedPurchase do
field(:orderId)
field(:purchaseTimeMillis)
field(:purchaseToken)
field(:voidedQuantity)
field(:voidedReason)
field(:voidedSource)
field(:voidedTimeMillis)
Expand Down
2 changes: 1 addition & 1 deletion clients/android_publisher/mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
defmodule GoogleApi.AndroidPublisher.Mixfile do
use Mix.Project

@version "0.31.1"
@version "0.32.0"

def project() do
[
Expand Down

0 comments on commit 97c8c70

Please sign in to comment.