sellapp 0.2.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7f6d798144726e774a266a55fa36ead8d989fa8ebd5d2a8332c131679ffc7973
|
|
4
|
+
data.tar.gz: 38bafc282183b8c3f7e45a1de621022b79ddc83bcea331bd2d1f8fb2650ec068
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4955a65f8842edc43bee8067972c4291a5740cff385de9cece16413dfeed382ad23ce886ef6948153a33932355594062a126d874aa34145293c1d570257be066
|
|
7
|
+
data.tar.gz: d3f8714554e020af33c9dbe021078883b0f0d01a916c463c0671781e8cf2eaa22f7852697ef0e28998e381c854a53b731c2898f4b12a87ee88737f066b23d595
|
data/README.md
CHANGED
|
@@ -15,14 +15,14 @@ You need **Ruby 3.1 or newer** and Bundler. Add the gem to your application's Ge
|
|
|
15
15
|
|
|
16
16
|
```ruby
|
|
17
17
|
source "https://rubygems.org"
|
|
18
|
-
gem "sellapp", "~> 0.2.
|
|
18
|
+
gem "sellapp", "~> 0.2.1"
|
|
19
19
|
```
|
|
20
20
|
|
|
21
21
|
Run `bundle install` from the application directory. Bundler downloads the gem
|
|
22
22
|
and records the selected versions in `Gemfile.lock`. For a new application,
|
|
23
23
|
create a directory and save those two lines as `Gemfile` first.
|
|
24
24
|
|
|
25
|
-
You can also install the gem directly with `gem install sellapp -v 0.2.
|
|
25
|
+
You can also install the gem directly with `gem install sellapp -v 0.2.1`.
|
|
26
26
|
Browse the [RubyGems package](https://rubygems.org/gems/sellapp) or
|
|
27
27
|
the [source repository](https://github.com/sellapp/sellapp-ruby).
|
|
28
28
|
|
data/docs/migration.md
CHANGED
|
@@ -2,6 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
This update covers 438 SDK operations. Existing API-key constructors remain available. Review the changes below before rebuilding your integration.
|
|
4
4
|
|
|
5
|
+
## SDK and CLI 0.2.1 retry correction
|
|
6
|
+
|
|
7
|
+
The new `dismissSubscriptionAction` operation does not replay an earlier successful dismissal. Its inherited `idempotency_key` body field remains accepted for compatibility but is ignored. The contract no longer advertises `Idempotency-Key` header support, so SDKs, CLI and MCP do not enable automatic write retries for this operation. After an uncertain response, retrieve the action; a second dismissal of an already-dismissed action returns `422`.
|
|
8
|
+
|
|
9
|
+
This corrects the 0.2.0 retry metadata without changing the backend action. Already-published 0.2.0 packages remain immutable. Registry publication and clean installation of 0.2.1 are separate gates.
|
|
10
|
+
|
|
5
11
|
## SDK and CLI 0.2.0 candidate
|
|
6
12
|
|
|
7
13
|
This candidate includes the docs changes merged from September 22 through October 14, 2026. Publication and registry installation are separate release gates; this note does not establish that 0.2.0 is available.
|
|
@@ -16,9 +16,19 @@ module SellApp
|
|
|
16
16
|
ADDITIONAL_PROPERTIES = true
|
|
17
17
|
MODEL_CONSTRAINTS = {}.freeze
|
|
18
18
|
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
19
|
+
# @!attribute idempotency_key
|
|
20
|
+
# @deprecated Accepted for compatibility but ignored by this operation. Retrieve the action after an uncertain response; repeating a completed dismissal returns 422.
|
|
21
|
+
|
|
22
|
+
attr_accessor :note
|
|
23
|
+
|
|
24
|
+
def idempotency_key
|
|
25
|
+
warn "[DEPRECATION] \`idempotency_key\` is deprecated and will be removed in a future version.", uplevel: 1
|
|
26
|
+
@idempotency_key
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
def idempotency_key=(value)
|
|
30
|
+
@idempotency_key = value
|
|
31
|
+
end
|
|
22
32
|
|
|
23
33
|
def initialize(json)
|
|
24
34
|
hash = self.class.normalize(json)
|
|
@@ -79,7 +79,7 @@ module SellApp
|
|
|
79
79
|
# Dismiss a subscription action
|
|
80
80
|
# @param product_subscription [Integer] The productSubscription path parameter.
|
|
81
81
|
# @param action [Integer] The action path parameter.
|
|
82
|
-
# @param idempotency_key [String, nil]
|
|
82
|
+
# @param idempotency_key [String, nil] (deprecated) Accepted for compatibility but ignored by this operation. Retrieve the action after an uncertain response; repeating a completed dismissal returns 422.
|
|
83
83
|
# @param note [String] Why the action is being dismissed. The note is kept on the dismissed action as its error.
|
|
84
84
|
# @param request_options [Hash] (see SellApp::Types::RequestOptions)
|
|
85
85
|
# @return [SellApp::SdkDismissSubscriptionActionResponseValue200ApplicationJson]
|
|
@@ -97,7 +97,7 @@ module SellApp
|
|
|
97
97
|
SellApp::Types::BaseModel.validate_value!(product_subscription, {kind: :integer}, "$request.productSubscription")
|
|
98
98
|
SellApp::Types::BaseModel.validate_value!(action, {kind: :integer}, "$request.action")
|
|
99
99
|
SellApp::Types::BaseModel.validate_value!(body, {kind: :model, name: "SellApp::SdkDismissSubscriptionActionRequestApplicationJson"}, "$request.body")
|
|
100
|
-
request_options = request_options.merge(operation_id: 'dismissSubscriptionAction', credential_policy: {anonymous: false, apiKey: true, accessToken: true, customerSession: false, browserSession: false, clientBasic: false, apiKeyRequiresStore: false, apiKeyUsesStore: true, accessTokenRequiresStore: true}, retry_forbidden: false, idempotency_supported:
|
|
100
|
+
request_options = request_options.merge(operation_id: 'dismissSubscriptionAction', credential_policy: {anonymous: false, apiKey: true, accessToken: true, customerSession: false, browserSession: false, clientBasic: false, apiKeyRequiresStore: false, apiKeyUsesStore: true, accessTokenRequiresStore: true}, retry_forbidden: false, idempotency_supported: false)
|
|
101
101
|
response = @client.request(
|
|
102
102
|
method: :post,
|
|
103
103
|
path: "/v2/subscriptions/#{SellApp::Util.encode_path(product_subscription)}/actions/#{SellApp::Util.encode_path(action)}/dismiss",
|
data/lib/sellapp/version.rb
CHANGED