ultracart_api 4.1.94 → 4.1.95
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 +4 -4
- data/README.md +3 -2
- data/docs/OauthApi.md +5 -5
- data/lib/ultracart_api/api/oauth_api.rb +5 -5
- data/lib/ultracart_api/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 045dee0815e25235b8ce5303972209868a26e47e9423a160c0265670f74ed9b2
|
|
4
|
+
data.tar.gz: 03df4d78c768add9b3db0f87f92e29658d100f770d401d8e0695801683b9ad65
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f93a25534201b000679d1ebca9d1aec18a4dfb8c5d93501228296cf9995837fc2f871f298a8aadb6aa0965735aa2c41e0c878361513486c4415eea98fa59a04c
|
|
7
|
+
data.tar.gz: 0ea829e04805f791070e4f001f2d47dc04cf2d5c2bfedecfa7dd10179bf79fee69b9ea08c867c36b74a9cf5f588194deaedcefd1be1761eb2329bddabbc909cd
|
data/README.md
CHANGED
|
@@ -7,7 +7,7 @@ Note: Every method has a sample for every language. See https://github.com/Ultr
|
|
|
7
7
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
|
8
8
|
|
|
9
9
|
- API version: 2.0.0
|
|
10
|
-
- Package version: 4.1.
|
|
10
|
+
- Package version: 4.1.95
|
|
11
11
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
|
12
12
|
- For more information, please visit [http://www.ultracart.com/api/](http://www.ultracart.com/api/)
|
|
13
13
|
|
|
@@ -16,7 +16,7 @@ This SDK is automatically generated by the [OpenAPI Generator](https://openapi-g
|
|
|
16
16
|
gemfile:
|
|
17
17
|
|
|
18
18
|
```shell
|
|
19
|
-
gem 'ultracart_api', '4.1.
|
|
19
|
+
gem 'ultracart_api', '4.1.95'
|
|
20
20
|
```
|
|
21
21
|
|
|
22
22
|
install:
|
|
@@ -1769,6 +1769,7 @@ Not every change is committed to every SDK.
|
|
|
1769
1769
|
|
|
1770
1770
|
| Version | Date | Comments |
|
|
1771
1771
|
| --: | :-: | --- |
|
|
1772
|
+
| 4.1.95 | 06/02/2026 | fraud api alpha version |
|
|
1772
1773
|
| 4.1.94 | 06/02/2026 | fraud api alpha version |
|
|
1773
1774
|
| 4.1.93 | 06/02/2026 | fraud api alpha version for testing |
|
|
1774
1775
|
| 4.1.92 | 05/26/2026 | AutoOrderApi.getAutoOrderCancelReasons |
|
data/docs/OauthApi.md
CHANGED
|
@@ -126,7 +126,7 @@ end
|
|
|
126
126
|
|
|
127
127
|
## oauth_device_authorize
|
|
128
128
|
|
|
129
|
-
> oauth_device_authorize(client_id, scope)
|
|
129
|
+
> <OauthDeviceAuthorizationResponse> oauth_device_authorize(client_id, scope)
|
|
130
130
|
|
|
131
131
|
Initiate a device authorization flow.
|
|
132
132
|
|
|
@@ -141,9 +141,9 @@ Initiates the device authorization flow by returning a device code and user code
|
|
|
141
141
|
|
|
142
142
|
#### Using the oauth_device_authorize_with_http_info variant
|
|
143
143
|
|
|
144
|
-
This returns an Array which contains the response data
|
|
144
|
+
This returns an Array which contains the response data, status code and headers.
|
|
145
145
|
|
|
146
|
-
> <Array(
|
|
146
|
+
> <Array(<OauthDeviceAuthorizationResponse>, Integer, Hash)> oauth_device_authorize_with_http_info(client_id, scope)
|
|
147
147
|
|
|
148
148
|
```ruby
|
|
149
149
|
begin
|
|
@@ -151,7 +151,7 @@ begin
|
|
|
151
151
|
data, status_code, headers = api_instance.oauth_device_authorize_with_http_info(client_id, scope)
|
|
152
152
|
p status_code # => 2xx
|
|
153
153
|
p headers # => { ... }
|
|
154
|
-
p data # =>
|
|
154
|
+
p data # => <OauthDeviceAuthorizationResponse>
|
|
155
155
|
rescue UltracartClient::ApiError => e
|
|
156
156
|
puts "Error when calling OauthApi->oauth_device_authorize_with_http_info: #{e}"
|
|
157
157
|
end
|
|
@@ -166,7 +166,7 @@ end
|
|
|
166
166
|
|
|
167
167
|
### Return type
|
|
168
168
|
|
|
169
|
-
|
|
169
|
+
[**OauthDeviceAuthorizationResponse**](OauthDeviceAuthorizationResponse.md)
|
|
170
170
|
|
|
171
171
|
### Authorization
|
|
172
172
|
|
|
@@ -126,10 +126,10 @@ module UltracartClient
|
|
|
126
126
|
# @param client_id [String] The OAuth application client_id.
|
|
127
127
|
# @param scope [String] The application-level scope (e.g., crm, ultraship).
|
|
128
128
|
# @param [Hash] opts the optional parameters
|
|
129
|
-
# @return [
|
|
129
|
+
# @return [OauthDeviceAuthorizationResponse]
|
|
130
130
|
def oauth_device_authorize(client_id, scope, opts = {})
|
|
131
|
-
oauth_device_authorize_with_http_info(client_id, scope, opts)
|
|
132
|
-
|
|
131
|
+
data, _status_code, _headers = oauth_device_authorize_with_http_info(client_id, scope, opts)
|
|
132
|
+
data
|
|
133
133
|
end
|
|
134
134
|
|
|
135
135
|
# Initiate a device authorization flow.
|
|
@@ -137,7 +137,7 @@ module UltracartClient
|
|
|
137
137
|
# @param client_id [String] The OAuth application client_id.
|
|
138
138
|
# @param scope [String] The application-level scope (e.g., crm, ultraship).
|
|
139
139
|
# @param [Hash] opts the optional parameters
|
|
140
|
-
# @return [Array<(
|
|
140
|
+
# @return [Array<(OauthDeviceAuthorizationResponse, Integer, Hash)>] OauthDeviceAuthorizationResponse data, response status code and response headers
|
|
141
141
|
def oauth_device_authorize_with_http_info(client_id, scope, opts = {})
|
|
142
142
|
if @api_client.config.debugging
|
|
143
143
|
@api_client.config.logger.debug 'Calling API: OauthApi.oauth_device_authorize ...'
|
|
@@ -176,7 +176,7 @@ module UltracartClient
|
|
|
176
176
|
post_body = opts[:debug_body]
|
|
177
177
|
|
|
178
178
|
# return_type
|
|
179
|
-
return_type = opts[:debug_return_type]
|
|
179
|
+
return_type = opts[:debug_return_type] || 'OauthDeviceAuthorizationResponse'
|
|
180
180
|
|
|
181
181
|
# auth_names
|
|
182
182
|
auth_names = opts[:debug_auth_names] || ['ultraCartBrowserApiKey', 'ultraCartOauth', 'ultraCartSimpleApiKey']
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ultracart_api
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 4.1.
|
|
4
|
+
version: 4.1.95
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- UltraCart
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-06-
|
|
11
|
+
date: 2026-06-03 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: typhoeus
|