speakeasy_client_sdk_ruby 1.24.1 → 1.25.0
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 +8 -8
- data/lib/sdk/apis.rb +6 -6
- data/lib/sdk/embeds.rb +3 -3
- data/lib/sdk/metadata.rb +3 -3
- data/lib/sdk/plugins.rb +3 -3
- data/lib/sdk/requests.rb +3 -3
- data/lib/sdk/schemas.rb +8 -8
- data/lib/sdk/sdk.rb +1 -1
- data/lib/sdk/sdkconfiguration.rb +4 -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: '06191979ef74e00e5bc6116ba4b3e462537e1a4f108aff68881fb4043ac50015'
|
4
|
+
data.tar.gz: 4afc4415c23f7e0c37926401421b9f4aa25c8ea218eac05d9748262fdb8be8d4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dddb50c38dbe11c6e7cec989afd988b50a4fa946e99545d490f4584c5c7a2d6485b4c477f580948fcbe2b25d5cba83da84fb61b0c0882d493ade8a1ce1492302
|
7
|
+
data.tar.gz: da406e6481ae26d1d16cee66debf1b9912ff68c186dc919a5a8656af1586579b04b78c6329722c8afd88b33fe8abd06724716e9705268fbb857d1b6a1b36741c
|
data/lib/sdk/apiendpoints.rb
CHANGED
@@ -31,7 +31,7 @@ module SpeakeasyClientSDK
|
|
31
31
|
)
|
32
32
|
headers = {}
|
33
33
|
headers['Accept'] = 'application/json'
|
34
|
-
headers['user-agent'] =
|
34
|
+
headers['user-agent'] = @sdk_configuration.user_agent
|
35
35
|
|
36
36
|
r = @sdk_configuration.client.delete(url) do |req|
|
37
37
|
req.headers = headers
|
@@ -68,7 +68,7 @@ module SpeakeasyClientSDK
|
|
68
68
|
)
|
69
69
|
headers = {}
|
70
70
|
headers['Accept'] = 'application/json'
|
71
|
-
headers['user-agent'] =
|
71
|
+
headers['user-agent'] = @sdk_configuration.user_agent
|
72
72
|
|
73
73
|
r = @sdk_configuration.client.get(url) do |req|
|
74
74
|
req.headers = headers
|
@@ -109,7 +109,7 @@ module SpeakeasyClientSDK
|
|
109
109
|
)
|
110
110
|
headers = {}
|
111
111
|
headers['Accept'] = 'application/json'
|
112
|
-
headers['user-agent'] =
|
112
|
+
headers['user-agent'] = @sdk_configuration.user_agent
|
113
113
|
|
114
114
|
r = @sdk_configuration.client.get(url) do |req|
|
115
115
|
req.headers = headers
|
@@ -149,7 +149,7 @@ module SpeakeasyClientSDK
|
|
149
149
|
)
|
150
150
|
headers = {}
|
151
151
|
headers['Accept'] = 'application/json;q=1, application/octet-stream;q=0'
|
152
|
-
headers['user-agent'] =
|
152
|
+
headers['user-agent'] = @sdk_configuration.user_agent
|
153
153
|
|
154
154
|
r = @sdk_configuration.client.get(url) do |req|
|
155
155
|
req.headers = headers
|
@@ -185,7 +185,7 @@ module SpeakeasyClientSDK
|
|
185
185
|
)
|
186
186
|
headers = {}
|
187
187
|
headers['Accept'] = 'application/json'
|
188
|
-
headers['user-agent'] =
|
188
|
+
headers['user-agent'] = @sdk_configuration.user_agent
|
189
189
|
|
190
190
|
r = @sdk_configuration.client.get(url) do |req|
|
191
191
|
req.headers = headers
|
@@ -224,7 +224,7 @@ module SpeakeasyClientSDK
|
|
224
224
|
)
|
225
225
|
headers = {}
|
226
226
|
headers['Accept'] = 'application/json'
|
227
|
-
headers['user-agent'] =
|
227
|
+
headers['user-agent'] = @sdk_configuration.user_agent
|
228
228
|
|
229
229
|
r = @sdk_configuration.client.get(url) do |req|
|
230
230
|
req.headers = headers
|
@@ -263,7 +263,7 @@ module SpeakeasyClientSDK
|
|
263
263
|
)
|
264
264
|
headers = {}
|
265
265
|
headers['Accept'] = 'application/json'
|
266
|
-
headers['user-agent'] =
|
266
|
+
headers['user-agent'] = @sdk_configuration.user_agent
|
267
267
|
|
268
268
|
r = @sdk_configuration.client.get(url) do |req|
|
269
269
|
req.headers = headers
|
@@ -306,7 +306,7 @@ module SpeakeasyClientSDK
|
|
306
306
|
headers['content-type'] = req_content_type
|
307
307
|
raise StandardError, 'request body is required' if data.nil? && form.nil?
|
308
308
|
headers['Accept'] = 'application/json'
|
309
|
-
headers['user-agent'] =
|
309
|
+
headers['user-agent'] = @sdk_configuration.user_agent
|
310
310
|
|
311
311
|
r = @sdk_configuration.client.put(url) do |req|
|
312
312
|
req.headers = headers
|
data/lib/sdk/apis.rb
CHANGED
@@ -31,7 +31,7 @@ module SpeakeasyClientSDK
|
|
31
31
|
)
|
32
32
|
headers = {}
|
33
33
|
headers['Accept'] = 'application/json'
|
34
|
-
headers['user-agent'] =
|
34
|
+
headers['user-agent'] = @sdk_configuration.user_agent
|
35
35
|
|
36
36
|
r = @sdk_configuration.client.delete(url) do |req|
|
37
37
|
req.headers = headers
|
@@ -68,7 +68,7 @@ module SpeakeasyClientSDK
|
|
68
68
|
)
|
69
69
|
headers = {}
|
70
70
|
headers['Accept'] = 'application/json'
|
71
|
-
headers['user-agent'] =
|
71
|
+
headers['user-agent'] = @sdk_configuration.user_agent
|
72
72
|
|
73
73
|
r = @sdk_configuration.client.get(url) do |req|
|
74
74
|
req.headers = headers
|
@@ -108,7 +108,7 @@ module SpeakeasyClientSDK
|
|
108
108
|
)
|
109
109
|
headers = {}
|
110
110
|
headers['Accept'] = 'application/json;q=1, application/octet-stream;q=0'
|
111
|
-
headers['user-agent'] =
|
111
|
+
headers['user-agent'] = @sdk_configuration.user_agent
|
112
112
|
|
113
113
|
r = @sdk_configuration.client.get(url) do |req|
|
114
114
|
req.headers = headers
|
@@ -147,7 +147,7 @@ module SpeakeasyClientSDK
|
|
147
147
|
headers = {}
|
148
148
|
query_params = Utils.get_query_params(Operations::GetAllApiVersionsRequest, request)
|
149
149
|
headers['Accept'] = 'application/json'
|
150
|
-
headers['user-agent'] =
|
150
|
+
headers['user-agent'] = @sdk_configuration.user_agent
|
151
151
|
|
152
152
|
r = @sdk_configuration.client.get(url) do |req|
|
153
153
|
req.headers = headers
|
@@ -185,7 +185,7 @@ module SpeakeasyClientSDK
|
|
185
185
|
headers = {}
|
186
186
|
query_params = Utils.get_query_params(Operations::GetApisRequest, request)
|
187
187
|
headers['Accept'] = 'application/json'
|
188
|
-
headers['user-agent'] =
|
188
|
+
headers['user-agent'] = @sdk_configuration.user_agent
|
189
189
|
|
190
190
|
r = @sdk_configuration.client.get(url) do |req|
|
191
191
|
req.headers = headers
|
@@ -230,7 +230,7 @@ module SpeakeasyClientSDK
|
|
230
230
|
headers['content-type'] = req_content_type
|
231
231
|
raise StandardError, 'request body is required' if data.nil? && form.nil?
|
232
232
|
headers['Accept'] = 'application/json'
|
233
|
-
headers['user-agent'] =
|
233
|
+
headers['user-agent'] = @sdk_configuration.user_agent
|
234
234
|
|
235
235
|
r = @sdk_configuration.client.put(url) do |req|
|
236
236
|
req.headers = headers
|
data/lib/sdk/embeds.rb
CHANGED
@@ -28,7 +28,7 @@ module SpeakeasyClientSDK
|
|
28
28
|
headers = {}
|
29
29
|
query_params = Utils.get_query_params(Operations::GetEmbedAccessTokenRequest, request)
|
30
30
|
headers['Accept'] = 'application/json'
|
31
|
-
headers['user-agent'] =
|
31
|
+
headers['user-agent'] = @sdk_configuration.user_agent
|
32
32
|
|
33
33
|
r = @sdk_configuration.client.get(url) do |req|
|
34
34
|
req.headers = headers
|
@@ -63,7 +63,7 @@ module SpeakeasyClientSDK
|
|
63
63
|
url = "#{base_url}/v1/workspace/embed-access-tokens/valid"
|
64
64
|
headers = {}
|
65
65
|
headers['Accept'] = 'application/json'
|
66
|
-
headers['user-agent'] =
|
66
|
+
headers['user-agent'] = @sdk_configuration.user_agent
|
67
67
|
|
68
68
|
r = @sdk_configuration.client.get(url) do |req|
|
69
69
|
req.headers = headers
|
@@ -102,7 +102,7 @@ module SpeakeasyClientSDK
|
|
102
102
|
)
|
103
103
|
headers = {}
|
104
104
|
headers['Accept'] = 'application/json'
|
105
|
-
headers['user-agent'] =
|
105
|
+
headers['user-agent'] = @sdk_configuration.user_agent
|
106
106
|
|
107
107
|
r = @sdk_configuration.client.delete(url) do |req|
|
108
108
|
req.headers = headers
|
data/lib/sdk/metadata.rb
CHANGED
@@ -30,7 +30,7 @@ module SpeakeasyClientSDK
|
|
30
30
|
)
|
31
31
|
headers = {}
|
32
32
|
headers['Accept'] = 'application/json'
|
33
|
-
headers['user-agent'] =
|
33
|
+
headers['user-agent'] = @sdk_configuration.user_agent
|
34
34
|
|
35
35
|
r = @sdk_configuration.client.delete(url) do |req|
|
36
36
|
req.headers = headers
|
@@ -65,7 +65,7 @@ module SpeakeasyClientSDK
|
|
65
65
|
)
|
66
66
|
headers = {}
|
67
67
|
headers['Accept'] = 'application/json'
|
68
|
-
headers['user-agent'] =
|
68
|
+
headers['user-agent'] = @sdk_configuration.user_agent
|
69
69
|
|
70
70
|
r = @sdk_configuration.client.get(url) do |req|
|
71
71
|
req.headers = headers
|
@@ -107,7 +107,7 @@ module SpeakeasyClientSDK
|
|
107
107
|
headers['content-type'] = req_content_type
|
108
108
|
raise StandardError, 'request body is required' if data.nil? && form.nil?
|
109
109
|
headers['Accept'] = 'application/json'
|
110
|
-
headers['user-agent'] =
|
110
|
+
headers['user-agent'] = @sdk_configuration.user_agent
|
111
111
|
|
112
112
|
r = @sdk_configuration.client.post(url) do |req|
|
113
113
|
req.headers = headers
|
data/lib/sdk/plugins.rb
CHANGED
@@ -25,7 +25,7 @@ module SpeakeasyClientSDK
|
|
25
25
|
url = "#{base_url}/v1/plugins"
|
26
26
|
headers = {}
|
27
27
|
headers['Accept'] = 'application/json'
|
28
|
-
headers['user-agent'] =
|
28
|
+
headers['user-agent'] = @sdk_configuration.user_agent
|
29
29
|
|
30
30
|
r = @sdk_configuration.client.get(url) do |req|
|
31
31
|
req.headers = headers
|
@@ -65,7 +65,7 @@ module SpeakeasyClientSDK
|
|
65
65
|
headers = {}
|
66
66
|
query_params = Utils.get_query_params(Operations::RunPluginRequest, request)
|
67
67
|
headers['Accept'] = 'application/json'
|
68
|
-
headers['user-agent'] =
|
68
|
+
headers['user-agent'] = @sdk_configuration.user_agent
|
69
69
|
|
70
70
|
r = @sdk_configuration.client.post(url) do |req|
|
71
71
|
req.headers = headers
|
@@ -103,7 +103,7 @@ module SpeakeasyClientSDK
|
|
103
103
|
headers['content-type'] = req_content_type
|
104
104
|
raise StandardError, 'request body is required' if data.nil? && form.nil?
|
105
105
|
headers['Accept'] = 'application/json'
|
106
|
-
headers['user-agent'] =
|
106
|
+
headers['user-agent'] = @sdk_configuration.user_agent
|
107
107
|
|
108
108
|
r = @sdk_configuration.client.put(url) do |req|
|
109
109
|
req.headers = headers
|
data/lib/sdk/requests.rb
CHANGED
@@ -32,7 +32,7 @@ module SpeakeasyClientSDK
|
|
32
32
|
)
|
33
33
|
headers = {}
|
34
34
|
headers['Accept'] = 'application/json;q=1, application/octet-stream;q=0'
|
35
|
-
headers['user-agent'] =
|
35
|
+
headers['user-agent'] = @sdk_configuration.user_agent
|
36
36
|
|
37
37
|
r = @sdk_configuration.client.get(url) do |req|
|
38
38
|
req.headers = headers
|
@@ -68,7 +68,7 @@ module SpeakeasyClientSDK
|
|
68
68
|
)
|
69
69
|
headers = {}
|
70
70
|
headers['Accept'] = 'application/json'
|
71
|
-
headers['user-agent'] =
|
71
|
+
headers['user-agent'] = @sdk_configuration.user_agent
|
72
72
|
|
73
73
|
r = @sdk_configuration.client.get(url) do |req|
|
74
74
|
req.headers = headers
|
@@ -105,7 +105,7 @@ module SpeakeasyClientSDK
|
|
105
105
|
headers = {}
|
106
106
|
query_params = Utils.get_query_params(Operations::QueryEventLogRequest, request)
|
107
107
|
headers['Accept'] = 'application/json'
|
108
|
-
headers['user-agent'] =
|
108
|
+
headers['user-agent'] = @sdk_configuration.user_agent
|
109
109
|
|
110
110
|
r = @sdk_configuration.client.get(url) do |req|
|
111
111
|
req.headers = headers
|
data/lib/sdk/schemas.rb
CHANGED
@@ -30,7 +30,7 @@ module SpeakeasyClientSDK
|
|
30
30
|
)
|
31
31
|
headers = {}
|
32
32
|
headers['Accept'] = 'application/json'
|
33
|
-
headers['user-agent'] =
|
33
|
+
headers['user-agent'] = @sdk_configuration.user_agent
|
34
34
|
|
35
35
|
r = @sdk_configuration.client.delete(url) do |req|
|
36
36
|
req.headers = headers
|
@@ -65,7 +65,7 @@ module SpeakeasyClientSDK
|
|
65
65
|
)
|
66
66
|
headers = {}
|
67
67
|
headers['Accept'] = 'application/json;q=1, application/x-yaml;q=0'
|
68
|
-
headers['user-agent'] =
|
68
|
+
headers['user-agent'] = @sdk_configuration.user_agent
|
69
69
|
|
70
70
|
r = @sdk_configuration.client.get(url) do |req|
|
71
71
|
req.headers = headers
|
@@ -102,7 +102,7 @@ module SpeakeasyClientSDK
|
|
102
102
|
)
|
103
103
|
headers = {}
|
104
104
|
headers['Accept'] = 'application/json;q=1, application/x-yaml;q=0'
|
105
|
-
headers['user-agent'] =
|
105
|
+
headers['user-agent'] = @sdk_configuration.user_agent
|
106
106
|
|
107
107
|
r = @sdk_configuration.client.get(url) do |req|
|
108
108
|
req.headers = headers
|
@@ -141,7 +141,7 @@ module SpeakeasyClientSDK
|
|
141
141
|
)
|
142
142
|
headers = {}
|
143
143
|
headers['Accept'] = 'application/json'
|
144
|
-
headers['user-agent'] =
|
144
|
+
headers['user-agent'] = @sdk_configuration.user_agent
|
145
145
|
|
146
146
|
r = @sdk_configuration.client.get(url) do |req|
|
147
147
|
req.headers = headers
|
@@ -180,7 +180,7 @@ module SpeakeasyClientSDK
|
|
180
180
|
)
|
181
181
|
headers = {}
|
182
182
|
headers['Accept'] = 'application/json'
|
183
|
-
headers['user-agent'] =
|
183
|
+
headers['user-agent'] = @sdk_configuration.user_agent
|
184
184
|
|
185
185
|
r = @sdk_configuration.client.get(url) do |req|
|
186
186
|
req.headers = headers
|
@@ -221,7 +221,7 @@ module SpeakeasyClientSDK
|
|
221
221
|
)
|
222
222
|
headers = {}
|
223
223
|
headers['Accept'] = 'application/json'
|
224
|
-
headers['user-agent'] =
|
224
|
+
headers['user-agent'] = @sdk_configuration.user_agent
|
225
225
|
|
226
226
|
r = @sdk_configuration.client.get(url) do |req|
|
227
227
|
req.headers = headers
|
@@ -262,7 +262,7 @@ module SpeakeasyClientSDK
|
|
262
262
|
)
|
263
263
|
headers = {}
|
264
264
|
headers['Accept'] = 'application/json'
|
265
|
-
headers['user-agent'] =
|
265
|
+
headers['user-agent'] = @sdk_configuration.user_agent
|
266
266
|
|
267
267
|
r = @sdk_configuration.client.get(url) do |req|
|
268
268
|
req.headers = headers
|
@@ -306,7 +306,7 @@ module SpeakeasyClientSDK
|
|
306
306
|
headers['content-type'] = req_content_type
|
307
307
|
raise StandardError, 'request body is required' if data.nil? && form.nil?
|
308
308
|
headers['Accept'] = 'application/json'
|
309
|
-
headers['user-agent'] =
|
309
|
+
headers['user-agent'] = @sdk_configuration.user_agent
|
310
310
|
|
311
311
|
r = @sdk_configuration.client.post(url) do |req|
|
312
312
|
req.headers = headers
|
data/lib/sdk/sdk.rb
CHANGED
@@ -100,7 +100,7 @@ module SpeakeasyClientSDK
|
|
100
100
|
url = "#{base_url}/v1/auth/validate"
|
101
101
|
headers = {}
|
102
102
|
headers['Accept'] = 'application/json'
|
103
|
-
headers['user-agent'] =
|
103
|
+
headers['user-agent'] = @sdk_configuration.user_agent
|
104
104
|
|
105
105
|
r = @sdk_configuration.client.get(url) do |req|
|
106
106
|
req.headers = headers
|
data/lib/sdk/sdkconfiguration.rb
CHANGED
@@ -30,6 +30,7 @@ module OpenApiSDK
|
|
30
30
|
field :openapi_doc_version, String
|
31
31
|
field :sdk_version, String
|
32
32
|
field :gen_version, String
|
33
|
+
field :user_agent, String
|
33
34
|
|
34
35
|
|
35
36
|
sig { params(client: Faraday::Connection, security: T.nilable(Shared::Security), server_url: T.nilable(String), server_idx: T.nilable(Integer), server_defaults: T::Hash[Symbol, String], globals: T::Hash[Symbol, T::Hash[Symbol, T::Hash[Symbol, Object]]]).void }
|
@@ -38,8 +39,9 @@ module OpenApiSDK
|
|
38
39
|
@server = server_url.nil? ? '' : server_url
|
39
40
|
@language = 'ruby'
|
40
41
|
@openapi_doc_version = '0.3.0'
|
41
|
-
@sdk_version = '1.
|
42
|
-
@gen_version = '2.
|
42
|
+
@sdk_version = '1.25.0'
|
43
|
+
@gen_version = '2.139.1'
|
44
|
+
@user_agent = 'speakeasy-sdk/ruby 1.25.0 2.139.1 0.3.0 speakeasy_client_sdk_ruby'
|
43
45
|
end
|
44
46
|
|
45
47
|
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.25.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Speakeasy
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-09-
|
11
|
+
date: 2023-09-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|