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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9039a89e9e1a86f496622fbc690d91a7d3060521915b1d7b4b4546bff0640942
4
- data.tar.gz: 17951d2b1878d2f6da99b50c1c0f7dc4d3c89e45935a88acd1db278e76afbf33
3
+ metadata.gz: 045dee0815e25235b8ce5303972209868a26e47e9423a160c0265670f74ed9b2
4
+ data.tar.gz: 03df4d78c768add9b3db0f87f92e29658d100f770d401d8e0695801683b9ad65
5
5
  SHA512:
6
- metadata.gz: 29d0fe1c6e9c5d9a00b005814b3a2fd2dc4b577cdb6c0507b6ca395b5fe22c2d1655322970dee4d795a25d75c68b5e2eeec7c8bbe628600f6502290eea7690e6
7
- data.tar.gz: 7109641620abb4d0a0d9ecc7a19d558129b9a9da675795f14eec3d2d43aa06a220f53698252e8363e17125d490de3c0299fe2b7f58f051456b1ee8f3b473ee7f
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.94
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.94'
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 (`nil` in this case), status code and headers.
144
+ This returns an Array which contains the response data, status code and headers.
145
145
 
146
- > <Array(nil, Integer, Hash)> oauth_device_authorize_with_http_info(client_id, scope)
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 # => nil
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
- nil (empty response body)
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 [nil]
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
- nil
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<(nil, Integer, Hash)>] nil, response status code and response headers
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']
@@ -11,5 +11,5 @@ OpenAPI Generator version: 6.0.1-SNAPSHOT
11
11
  =end
12
12
 
13
13
  module UltracartClient
14
- VERSION = '4.1.94'
14
+ VERSION = '4.1.95'
15
15
  end
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.94
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-02 00:00:00.000000000 Z
11
+ date: 2026-06-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus