speakeasy_client_sdk_ruby 1.15.1 → 1.16.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/sdk/apiendpoints.rb +6 -6
- data/lib/sdk/apis.rb +4 -4
- data/lib/sdk/embeds.rb +2 -2
- data/lib/sdk/metadata.rb +2 -2
- data/lib/sdk/plugins.rb +3 -3
- data/lib/sdk/requests.rb +2 -2
- data/lib/sdk/schemas.rb +6 -6
- data/lib/sdk/sdkconfiguration.rb +2 -2
- 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: 80b21d86ae5be925dd25dd15dc1a57d9f7efefb27ea89bc72b5bdc31a0e43b72
|
4
|
+
data.tar.gz: e2dd54f176f0d459d148685a7487fbc1f7f25684e6ea8ea2476987da6e64d1e4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3304e5691b4f1305607c004d4fa72f6244b9e2379580e1297219b0d8ae0cc48db95c78ae810d5acb70deb8edd867a6a0b0f97239023388825cd767488fcc365c
|
7
|
+
data.tar.gz: 6672dea1b53161dc9f5cca09c9b4adca3190ec96022962ceef20db0346f77165aaa009b581e4fce8048a5f0ac3771e2bfbba7cbca751888c8737e60076f18898
|
data/lib/sdk/apiendpoints.rb
CHANGED
@@ -67,7 +67,7 @@ module SpeakeasyClientSDK
|
|
67
67
|
request
|
68
68
|
)
|
69
69
|
headers = {}
|
70
|
-
headers['Accept'] = 'application/json
|
70
|
+
headers['Accept'] = 'application/json'
|
71
71
|
headers['user-agent'] = "speakeasy-sdk/#{@sdk_configuration.language} #{@sdk_configuration.sdk_version} #{@sdk_configuration.gen_version} #{@sdk_configuration.openapi_doc_version}"
|
72
72
|
|
73
73
|
r = @sdk_configuration.client.get(url) do |req|
|
@@ -108,7 +108,7 @@ module SpeakeasyClientSDK
|
|
108
108
|
request
|
109
109
|
)
|
110
110
|
headers = {}
|
111
|
-
headers['Accept'] = 'application/json
|
111
|
+
headers['Accept'] = 'application/json'
|
112
112
|
headers['user-agent'] = "speakeasy-sdk/#{@sdk_configuration.language} #{@sdk_configuration.sdk_version} #{@sdk_configuration.gen_version} #{@sdk_configuration.openapi_doc_version}"
|
113
113
|
|
114
114
|
r = @sdk_configuration.client.get(url) do |req|
|
@@ -184,7 +184,7 @@ module SpeakeasyClientSDK
|
|
184
184
|
request
|
185
185
|
)
|
186
186
|
headers = {}
|
187
|
-
headers['Accept'] = 'application/json
|
187
|
+
headers['Accept'] = 'application/json'
|
188
188
|
headers['user-agent'] = "speakeasy-sdk/#{@sdk_configuration.language} #{@sdk_configuration.sdk_version} #{@sdk_configuration.gen_version} #{@sdk_configuration.openapi_doc_version}"
|
189
189
|
|
190
190
|
r = @sdk_configuration.client.get(url) do |req|
|
@@ -223,7 +223,7 @@ module SpeakeasyClientSDK
|
|
223
223
|
request
|
224
224
|
)
|
225
225
|
headers = {}
|
226
|
-
headers['Accept'] = 'application/json
|
226
|
+
headers['Accept'] = 'application/json'
|
227
227
|
headers['user-agent'] = "speakeasy-sdk/#{@sdk_configuration.language} #{@sdk_configuration.sdk_version} #{@sdk_configuration.gen_version} #{@sdk_configuration.openapi_doc_version}"
|
228
228
|
|
229
229
|
r = @sdk_configuration.client.get(url) do |req|
|
@@ -262,7 +262,7 @@ module SpeakeasyClientSDK
|
|
262
262
|
request
|
263
263
|
)
|
264
264
|
headers = {}
|
265
|
-
headers['Accept'] = 'application/json
|
265
|
+
headers['Accept'] = 'application/json'
|
266
266
|
headers['user-agent'] = "speakeasy-sdk/#{@sdk_configuration.language} #{@sdk_configuration.sdk_version} #{@sdk_configuration.gen_version} #{@sdk_configuration.openapi_doc_version}"
|
267
267
|
|
268
268
|
r = @sdk_configuration.client.get(url) do |req|
|
@@ -305,7 +305,7 @@ module SpeakeasyClientSDK
|
|
305
305
|
req_content_type, data, form = Utils.serialize_request_body(request, :api_endpoint_input, :json)
|
306
306
|
headers['content-type'] = req_content_type
|
307
307
|
raise StandardError, 'request body is required' if data.nil? && form.nil?
|
308
|
-
headers['Accept'] = 'application/json
|
308
|
+
headers['Accept'] = 'application/json'
|
309
309
|
headers['user-agent'] = "speakeasy-sdk/#{@sdk_configuration.language} #{@sdk_configuration.sdk_version} #{@sdk_configuration.gen_version} #{@sdk_configuration.openapi_doc_version}"
|
310
310
|
|
311
311
|
r = @sdk_configuration.client.put(url) do |req|
|
data/lib/sdk/apis.rb
CHANGED
@@ -67,7 +67,7 @@ module SpeakeasyClientSDK
|
|
67
67
|
request
|
68
68
|
)
|
69
69
|
headers = {}
|
70
|
-
headers['Accept'] = 'application/json
|
70
|
+
headers['Accept'] = 'application/json'
|
71
71
|
headers['user-agent'] = "speakeasy-sdk/#{@sdk_configuration.language} #{@sdk_configuration.sdk_version} #{@sdk_configuration.gen_version} #{@sdk_configuration.openapi_doc_version}"
|
72
72
|
|
73
73
|
r = @sdk_configuration.client.get(url) do |req|
|
@@ -146,7 +146,7 @@ module SpeakeasyClientSDK
|
|
146
146
|
)
|
147
147
|
headers = {}
|
148
148
|
query_params = Utils.get_query_params(Operations::GetAllApiVersionsRequest, request)
|
149
|
-
headers['Accept'] = 'application/json
|
149
|
+
headers['Accept'] = 'application/json'
|
150
150
|
headers['user-agent'] = "speakeasy-sdk/#{@sdk_configuration.language} #{@sdk_configuration.sdk_version} #{@sdk_configuration.gen_version} #{@sdk_configuration.openapi_doc_version}"
|
151
151
|
|
152
152
|
r = @sdk_configuration.client.get(url) do |req|
|
@@ -184,7 +184,7 @@ module SpeakeasyClientSDK
|
|
184
184
|
url = "#{base_url}/v1/apis"
|
185
185
|
headers = {}
|
186
186
|
query_params = Utils.get_query_params(Operations::GetApisRequest, request)
|
187
|
-
headers['Accept'] = 'application/json
|
187
|
+
headers['Accept'] = 'application/json'
|
188
188
|
headers['user-agent'] = "speakeasy-sdk/#{@sdk_configuration.language} #{@sdk_configuration.sdk_version} #{@sdk_configuration.gen_version} #{@sdk_configuration.openapi_doc_version}"
|
189
189
|
|
190
190
|
r = @sdk_configuration.client.get(url) do |req|
|
@@ -229,7 +229,7 @@ module SpeakeasyClientSDK
|
|
229
229
|
req_content_type, data, form = Utils.serialize_request_body(request, :api_input, :json)
|
230
230
|
headers['content-type'] = req_content_type
|
231
231
|
raise StandardError, 'request body is required' if data.nil? && form.nil?
|
232
|
-
headers['Accept'] = 'application/json
|
232
|
+
headers['Accept'] = 'application/json'
|
233
233
|
headers['user-agent'] = "speakeasy-sdk/#{@sdk_configuration.language} #{@sdk_configuration.sdk_version} #{@sdk_configuration.gen_version} #{@sdk_configuration.openapi_doc_version}"
|
234
234
|
|
235
235
|
r = @sdk_configuration.client.put(url) do |req|
|
data/lib/sdk/embeds.rb
CHANGED
@@ -27,7 +27,7 @@ module SpeakeasyClientSDK
|
|
27
27
|
url = "#{base_url}/v1/workspace/embed-access-token"
|
28
28
|
headers = {}
|
29
29
|
query_params = Utils.get_query_params(Operations::GetEmbedAccessTokenRequest, request)
|
30
|
-
headers['Accept'] = 'application/json
|
30
|
+
headers['Accept'] = 'application/json'
|
31
31
|
headers['user-agent'] = "speakeasy-sdk/#{@sdk_configuration.language} #{@sdk_configuration.sdk_version} #{@sdk_configuration.gen_version} #{@sdk_configuration.openapi_doc_version}"
|
32
32
|
|
33
33
|
r = @sdk_configuration.client.get(url) do |req|
|
@@ -62,7 +62,7 @@ module SpeakeasyClientSDK
|
|
62
62
|
base_url = Utils.template_url(url, params)
|
63
63
|
url = "#{base_url}/v1/workspace/embed-access-tokens/valid"
|
64
64
|
headers = {}
|
65
|
-
headers['Accept'] = 'application/json
|
65
|
+
headers['Accept'] = 'application/json'
|
66
66
|
headers['user-agent'] = "speakeasy-sdk/#{@sdk_configuration.language} #{@sdk_configuration.sdk_version} #{@sdk_configuration.gen_version} #{@sdk_configuration.openapi_doc_version}"
|
67
67
|
|
68
68
|
r = @sdk_configuration.client.get(url) do |req|
|
data/lib/sdk/metadata.rb
CHANGED
@@ -64,7 +64,7 @@ module SpeakeasyClientSDK
|
|
64
64
|
request
|
65
65
|
)
|
66
66
|
headers = {}
|
67
|
-
headers['Accept'] = 'application/json
|
67
|
+
headers['Accept'] = 'application/json'
|
68
68
|
headers['user-agent'] = "speakeasy-sdk/#{@sdk_configuration.language} #{@sdk_configuration.sdk_version} #{@sdk_configuration.gen_version} #{@sdk_configuration.openapi_doc_version}"
|
69
69
|
|
70
70
|
r = @sdk_configuration.client.get(url) do |req|
|
@@ -106,7 +106,7 @@ module SpeakeasyClientSDK
|
|
106
106
|
req_content_type, data, form = Utils.serialize_request_body(request, :version_metadata_input, :json)
|
107
107
|
headers['content-type'] = req_content_type
|
108
108
|
raise StandardError, 'request body is required' if data.nil? && form.nil?
|
109
|
-
headers['Accept'] = 'application/json
|
109
|
+
headers['Accept'] = 'application/json'
|
110
110
|
headers['user-agent'] = "speakeasy-sdk/#{@sdk_configuration.language} #{@sdk_configuration.sdk_version} #{@sdk_configuration.gen_version} #{@sdk_configuration.openapi_doc_version}"
|
111
111
|
|
112
112
|
r = @sdk_configuration.client.post(url) do |req|
|
data/lib/sdk/plugins.rb
CHANGED
@@ -24,7 +24,7 @@ module SpeakeasyClientSDK
|
|
24
24
|
base_url = Utils.template_url(url, params)
|
25
25
|
url = "#{base_url}/v1/plugins"
|
26
26
|
headers = {}
|
27
|
-
headers['Accept'] = 'application/json
|
27
|
+
headers['Accept'] = 'application/json'
|
28
28
|
headers['user-agent'] = "speakeasy-sdk/#{@sdk_configuration.language} #{@sdk_configuration.sdk_version} #{@sdk_configuration.gen_version} #{@sdk_configuration.openapi_doc_version}"
|
29
29
|
|
30
30
|
r = @sdk_configuration.client.get(url) do |req|
|
@@ -64,7 +64,7 @@ module SpeakeasyClientSDK
|
|
64
64
|
)
|
65
65
|
headers = {}
|
66
66
|
query_params = Utils.get_query_params(Operations::RunPluginRequest, request)
|
67
|
-
headers['Accept'] = 'application/json
|
67
|
+
headers['Accept'] = 'application/json'
|
68
68
|
headers['user-agent'] = "speakeasy-sdk/#{@sdk_configuration.language} #{@sdk_configuration.sdk_version} #{@sdk_configuration.gen_version} #{@sdk_configuration.openapi_doc_version}"
|
69
69
|
|
70
70
|
r = @sdk_configuration.client.post(url) do |req|
|
@@ -102,7 +102,7 @@ module SpeakeasyClientSDK
|
|
102
102
|
req_content_type, data, form = Utils.serialize_request_body(request, :request, :json)
|
103
103
|
headers['content-type'] = req_content_type
|
104
104
|
raise StandardError, 'request body is required' if data.nil? && form.nil?
|
105
|
-
headers['Accept'] = 'application/json
|
105
|
+
headers['Accept'] = 'application/json'
|
106
106
|
headers['user-agent'] = "speakeasy-sdk/#{@sdk_configuration.language} #{@sdk_configuration.sdk_version} #{@sdk_configuration.gen_version} #{@sdk_configuration.openapi_doc_version}"
|
107
107
|
|
108
108
|
r = @sdk_configuration.client.put(url) do |req|
|
data/lib/sdk/requests.rb
CHANGED
@@ -67,7 +67,7 @@ module SpeakeasyClientSDK
|
|
67
67
|
request
|
68
68
|
)
|
69
69
|
headers = {}
|
70
|
-
headers['Accept'] = 'application/json
|
70
|
+
headers['Accept'] = 'application/json'
|
71
71
|
headers['user-agent'] = "speakeasy-sdk/#{@sdk_configuration.language} #{@sdk_configuration.sdk_version} #{@sdk_configuration.gen_version} #{@sdk_configuration.openapi_doc_version}"
|
72
72
|
|
73
73
|
r = @sdk_configuration.client.get(url) do |req|
|
@@ -104,7 +104,7 @@ module SpeakeasyClientSDK
|
|
104
104
|
url = "#{base_url}/v1/eventlog/query"
|
105
105
|
headers = {}
|
106
106
|
query_params = Utils.get_query_params(Operations::QueryEventLogRequest, request)
|
107
|
-
headers['Accept'] = 'application/json
|
107
|
+
headers['Accept'] = 'application/json'
|
108
108
|
headers['user-agent'] = "speakeasy-sdk/#{@sdk_configuration.language} #{@sdk_configuration.sdk_version} #{@sdk_configuration.gen_version} #{@sdk_configuration.openapi_doc_version}"
|
109
109
|
|
110
110
|
r = @sdk_configuration.client.get(url) do |req|
|
data/lib/sdk/schemas.rb
CHANGED
@@ -64,7 +64,7 @@ module SpeakeasyClientSDK
|
|
64
64
|
request
|
65
65
|
)
|
66
66
|
headers = {}
|
67
|
-
headers['Accept'] = 'application/json;q=1, application/
|
67
|
+
headers['Accept'] = 'application/json;q=1, application/x-yaml;q=0'
|
68
68
|
headers['user-agent'] = "speakeasy-sdk/#{@sdk_configuration.language} #{@sdk_configuration.sdk_version} #{@sdk_configuration.gen_version} #{@sdk_configuration.openapi_doc_version}"
|
69
69
|
|
70
70
|
r = @sdk_configuration.client.get(url) do |req|
|
@@ -101,7 +101,7 @@ module SpeakeasyClientSDK
|
|
101
101
|
request
|
102
102
|
)
|
103
103
|
headers = {}
|
104
|
-
headers['Accept'] = 'application/json;q=1, application/
|
104
|
+
headers['Accept'] = 'application/json;q=1, application/x-yaml;q=0'
|
105
105
|
headers['user-agent'] = "speakeasy-sdk/#{@sdk_configuration.language} #{@sdk_configuration.sdk_version} #{@sdk_configuration.gen_version} #{@sdk_configuration.openapi_doc_version}"
|
106
106
|
|
107
107
|
r = @sdk_configuration.client.get(url) do |req|
|
@@ -140,7 +140,7 @@ module SpeakeasyClientSDK
|
|
140
140
|
request
|
141
141
|
)
|
142
142
|
headers = {}
|
143
|
-
headers['Accept'] = 'application/json
|
143
|
+
headers['Accept'] = 'application/json'
|
144
144
|
headers['user-agent'] = "speakeasy-sdk/#{@sdk_configuration.language} #{@sdk_configuration.sdk_version} #{@sdk_configuration.gen_version} #{@sdk_configuration.openapi_doc_version}"
|
145
145
|
|
146
146
|
r = @sdk_configuration.client.get(url) do |req|
|
@@ -179,7 +179,7 @@ module SpeakeasyClientSDK
|
|
179
179
|
request
|
180
180
|
)
|
181
181
|
headers = {}
|
182
|
-
headers['Accept'] = 'application/json
|
182
|
+
headers['Accept'] = 'application/json'
|
183
183
|
headers['user-agent'] = "speakeasy-sdk/#{@sdk_configuration.language} #{@sdk_configuration.sdk_version} #{@sdk_configuration.gen_version} #{@sdk_configuration.openapi_doc_version}"
|
184
184
|
|
185
185
|
r = @sdk_configuration.client.get(url) do |req|
|
@@ -220,7 +220,7 @@ module SpeakeasyClientSDK
|
|
220
220
|
request
|
221
221
|
)
|
222
222
|
headers = {}
|
223
|
-
headers['Accept'] = 'application/json
|
223
|
+
headers['Accept'] = 'application/json'
|
224
224
|
headers['user-agent'] = "speakeasy-sdk/#{@sdk_configuration.language} #{@sdk_configuration.sdk_version} #{@sdk_configuration.gen_version} #{@sdk_configuration.openapi_doc_version}"
|
225
225
|
|
226
226
|
r = @sdk_configuration.client.get(url) do |req|
|
@@ -261,7 +261,7 @@ module SpeakeasyClientSDK
|
|
261
261
|
request
|
262
262
|
)
|
263
263
|
headers = {}
|
264
|
-
headers['Accept'] = 'application/json
|
264
|
+
headers['Accept'] = 'application/json'
|
265
265
|
headers['user-agent'] = "speakeasy-sdk/#{@sdk_configuration.language} #{@sdk_configuration.sdk_version} #{@sdk_configuration.gen_version} #{@sdk_configuration.openapi_doc_version}"
|
266
266
|
|
267
267
|
r = @sdk_configuration.client.get(url) do |req|
|
data/lib/sdk/sdkconfiguration.rb
CHANGED
@@ -38,8 +38,8 @@ module OpenApiSDK
|
|
38
38
|
@server = server_url.nil? ? '' : server_url
|
39
39
|
@language = 'ruby'
|
40
40
|
@openapi_doc_version = '0.3.0'
|
41
|
-
@sdk_version = '1.
|
42
|
-
@gen_version = '2.
|
41
|
+
@sdk_version = '1.16.1'
|
42
|
+
@gen_version = '2.75.2'
|
43
43
|
end
|
44
44
|
|
45
45
|
sig { returns([String, T::Hash[Symbol, String]]) }
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: speakeasy_client_sdk_ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.16.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Speakeasy
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-08-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|