gopad 1.0.0 → 1.1.0

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: c80f16670e8c67cf59de788ae0691f29dcc4e28ff63013e699cefa4e1a630f4b
4
- data.tar.gz: 87cafb319781a1b95262f7dfc4a24e112d1ed7ccc8601827e6c43df4bc8ea434
3
+ metadata.gz: 30aa56a30ab22031aebf59af84cdd44ecfa07f009d43982c6bc6912ed1ee6195
4
+ data.tar.gz: 6fbfe49975e4c16db87eaf229b69a214ac7511e23c03298bd10ab0651f2e91c3
5
5
  SHA512:
6
- metadata.gz: f230a243c0c5f616087986b26f9360af251c4d69dfe108931164529d3b360c5f2885fd0202743ecf5f7305b5e807b26de31308e2c3a5973131acd5d63024e100
7
- data.tar.gz: 0317432cce69eb629f8c50eec0a4edf5aad047e8962f6396c5febb1dc57c37762688dd2f8fc7a6732ffafa55e8dfb4c725d123bceed275baf1b91342308cbb6e
6
+ metadata.gz: e37d3351bc9a316042bbffa5015452f2e4f67293fcac313bde94d743e927e92298cc3a23eedab936e71c78fee67d61cd7f8f53421d25bfcc56dcc3e1a2dc4d4a
7
+ data.tar.gz: 49940313af540de64974b727a524cd1be65a747860774b0cd21f13adadec52a9cef1222149ea96a3f43ce2f636df7d6944a083e2a5bde0a4128e6f1a46f5a020
data/CHANGELOG.md CHANGED
@@ -1,5 +1,20 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.1.0](https://github.com/gopad/gopad-ruby/compare/v1.0.0...v1.1.0) (2024-06-02)
4
+
5
+
6
+ ### Features
7
+
8
+ * automated openapi client update ([b2cb046](https://github.com/gopad/gopad-ruby/commit/b2cb0466fc28014eb95610fedcf35031bd3207c3))
9
+ * upgrade deps to latest version ([e8e6173](https://github.com/gopad/gopad-ruby/commit/e8e61735b57014c6031dcf8fea4f8c7020c8164a))
10
+
11
+
12
+ ### Bugfixes
13
+
14
+ * apply new versions to lockfile ([83c50e9](https://github.com/gopad/gopad-ruby/commit/83c50e9a98b5289564dae19710d8ffbad8bd168b))
15
+ * **deps:** update dependency rubocop to v1.64.1 ([14876a6](https://github.com/gopad/gopad-ruby/commit/14876a6b59a80d3b403e73d1b9c490425a92b240))
16
+ * **deps:** update dependency ruby to v3.3.2 ([90c6338](https://github.com/gopad/gopad-ruby/commit/90c6338ae17985b70faea69de9bc7a3dae231db9))
17
+
3
18
  ## 1.0.0 (2024-05-28)
4
19
 
5
20
 
data/README.md CHANGED
@@ -6,7 +6,7 @@ This repository provides a client SDK for Ruby. This SDK is automatically
6
6
  generated by the [OpenAPI Generator][generator] project:
7
7
 
8
8
  - API version: 1.0.0-alpha1
9
- - Package version: 1.0.0
9
+ - Package version: 1.1.0
10
10
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
11
11
 
12
12
  For more information, please visit [https://gopad.eu](https://gopad.eu)
@@ -21,7 +21,7 @@ the built gem:
21
21
 
22
22
  ```console
23
23
  gem build gopad.gemspec
24
- gem install ./gopad-1.0.0.gem
24
+ gem install ./gopad-1.1.0.gem
25
25
  ```
26
26
 
27
27
  ### Install from Rubygems
@@ -30,7 +30,7 @@ If you want to use a a properly released version hosted Rubygems you just need
30
30
  to add the following line to your Gemfile:
31
31
 
32
32
  ```ruby
33
- gem 'gopad', '~> 1.0.0'
33
+ gem 'gopad', '~> 1.1.0'
34
34
  ```
35
35
 
36
36
  ### Install from Git
@@ -150,5 +150,182 @@ module Gopad
150
150
  end
151
151
  [data, status_code, headers]
152
152
  end
153
+
154
+ # Authenticate an user by credentials
155
+ # @param auth_login [AuthLogin] The credentials to authenticate
156
+ # @param [Hash] opts the optional parameters
157
+ # @return [AuthToken]
158
+ def login_auth(auth_login, opts = {})
159
+ data, _status_code, _headers = login_auth_with_http_info(auth_login, opts)
160
+ data
161
+ end
162
+
163
+ # Authenticate an user by credentials
164
+ # @param auth_login [AuthLogin] The credentials to authenticate
165
+ # @param [Hash] opts the optional parameters
166
+ # @return [Array<(AuthToken, Integer, Hash)>] AuthToken data, response status code and response headers
167
+ def login_auth_with_http_info(auth_login, opts = {})
168
+ if @api_client.config.debugging
169
+ @api_client.config.logger.debug 'Calling API: AuthApi.login_auth ...'
170
+ end
171
+ # verify the required parameter 'auth_login' is set
172
+ if @api_client.config.client_side_validation && auth_login.nil?
173
+ raise ArgumentError, "Missing the required parameter 'auth_login' when calling AuthApi.login_auth"
174
+ end
175
+
176
+ # resource path
177
+ local_var_path = '/auth/login'
178
+
179
+ # query parameters
180
+ query_params = opts[:query_params] || {}
181
+
182
+ # header parameters
183
+ header_params = opts[:header_params] || {}
184
+ # HTTP header 'Accept' (if needed)
185
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
186
+ # HTTP header 'Content-Type'
187
+ content_type = @api_client.select_header_content_type(['application/json'])
188
+ unless content_type.nil?
189
+ header_params['Content-Type'] = content_type
190
+ end
191
+
192
+ # form parameters
193
+ form_params = opts[:form_params] || {}
194
+
195
+ # http body (model)
196
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(auth_login)
197
+
198
+ # return_type
199
+ return_type = opts[:debug_return_type] || 'AuthToken'
200
+
201
+ # auth_names
202
+ auth_names = opts[:debug_auth_names] || []
203
+
204
+ new_options = opts.merge(
205
+ operation: :'AuthApi.login_auth',
206
+ header_params: header_params,
207
+ query_params: query_params,
208
+ form_params: form_params,
209
+ body: post_body,
210
+ auth_names: auth_names,
211
+ return_type: return_type
212
+ )
213
+
214
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
215
+ if @api_client.config.debugging
216
+ @api_client.config.logger.debug "API called: AuthApi#login_auth\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
217
+ end
218
+ [data, status_code, headers]
219
+ end
220
+
221
+ # Refresh an auth token before it expires
222
+ # @param [Hash] opts the optional parameters
223
+ # @return [AuthToken]
224
+ def refresh_auth(opts = {})
225
+ data, _status_code, _headers = refresh_auth_with_http_info(opts)
226
+ data
227
+ end
228
+
229
+ # Refresh an auth token before it expires
230
+ # @param [Hash] opts the optional parameters
231
+ # @return [Array<(AuthToken, Integer, Hash)>] AuthToken data, response status code and response headers
232
+ def refresh_auth_with_http_info(opts = {})
233
+ if @api_client.config.debugging
234
+ @api_client.config.logger.debug 'Calling API: AuthApi.refresh_auth ...'
235
+ end
236
+ # resource path
237
+ local_var_path = '/auth/refresh'
238
+
239
+ # query parameters
240
+ query_params = opts[:query_params] || {}
241
+
242
+ # header parameters
243
+ header_params = opts[:header_params] || {}
244
+ # HTTP header 'Accept' (if needed)
245
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
246
+
247
+ # form parameters
248
+ form_params = opts[:form_params] || {}
249
+
250
+ # http body (model)
251
+ post_body = opts[:debug_body]
252
+
253
+ # return_type
254
+ return_type = opts[:debug_return_type] || 'AuthToken'
255
+
256
+ # auth_names
257
+ auth_names = opts[:debug_auth_names] || %w[Cookie Basic Header Bearer]
258
+
259
+ new_options = opts.merge(
260
+ operation: :'AuthApi.refresh_auth',
261
+ header_params: header_params,
262
+ query_params: query_params,
263
+ form_params: form_params,
264
+ body: post_body,
265
+ auth_names: auth_names,
266
+ return_type: return_type
267
+ )
268
+
269
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
270
+ if @api_client.config.debugging
271
+ @api_client.config.logger.debug "API called: AuthApi#refresh_auth\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
272
+ end
273
+ [data, status_code, headers]
274
+ end
275
+
276
+ # Verify validity for an authentication token
277
+ # @param [Hash] opts the optional parameters
278
+ # @return [AuthVerify]
279
+ def verify_auth(opts = {})
280
+ data, _status_code, _headers = verify_auth_with_http_info(opts)
281
+ data
282
+ end
283
+
284
+ # Verify validity for an authentication token
285
+ # @param [Hash] opts the optional parameters
286
+ # @return [Array<(AuthVerify, Integer, Hash)>] AuthVerify data, response status code and response headers
287
+ def verify_auth_with_http_info(opts = {})
288
+ if @api_client.config.debugging
289
+ @api_client.config.logger.debug 'Calling API: AuthApi.verify_auth ...'
290
+ end
291
+ # resource path
292
+ local_var_path = '/auth/verify'
293
+
294
+ # query parameters
295
+ query_params = opts[:query_params] || {}
296
+
297
+ # header parameters
298
+ header_params = opts[:header_params] || {}
299
+ # HTTP header 'Accept' (if needed)
300
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
301
+
302
+ # form parameters
303
+ form_params = opts[:form_params] || {}
304
+
305
+ # http body (model)
306
+ post_body = opts[:debug_body]
307
+
308
+ # return_type
309
+ return_type = opts[:debug_return_type] || 'AuthVerify'
310
+
311
+ # auth_names
312
+ auth_names = opts[:debug_auth_names] || %w[Cookie Basic Header Bearer]
313
+
314
+ new_options = opts.merge(
315
+ operation: :'AuthApi.verify_auth',
316
+ header_params: header_params,
317
+ query_params: query_params,
318
+ form_params: form_params,
319
+ body: post_body,
320
+ auth_names: auth_names,
321
+ return_type: return_type
322
+ )
323
+
324
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
325
+ if @api_client.config.debugging
326
+ @api_client.config.logger.debug "API called: AuthApi#verify_auth\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
327
+ end
328
+ [data, status_code, headers]
329
+ end
153
330
  end
154
331
  end
@@ -0,0 +1,198 @@
1
+ # Gopad OpenAPI
2
+ #
3
+ # API definition for Gopad, Etherpad for markdown with go
4
+ #
5
+ # The version of the OpenAPI document: 1.0.0-alpha1
6
+ # Contact: gopad@webhippie.de
7
+ # Generated by: https://openapi-generator.tech
8
+ # Generator version: 7.6.0
9
+ #
10
+
11
+ require 'cgi'
12
+
13
+ module Gopad
14
+ class ProfileApi
15
+ attr_accessor :api_client
16
+
17
+ def initialize(api_client = ApiClient.default)
18
+ @api_client = api_client
19
+ end
20
+
21
+ # Fetch profile details of the personal account
22
+ # @param [Hash] opts the optional parameters
23
+ # @return [Profile]
24
+ def show_profile(opts = {})
25
+ data, _status_code, _headers = show_profile_with_http_info(opts)
26
+ data
27
+ end
28
+
29
+ # Fetch profile details of the personal account
30
+ # @param [Hash] opts the optional parameters
31
+ # @return [Array<(Profile, Integer, Hash)>] Profile data, response status code and response headers
32
+ def show_profile_with_http_info(opts = {})
33
+ if @api_client.config.debugging
34
+ @api_client.config.logger.debug 'Calling API: ProfileApi.show_profile ...'
35
+ end
36
+ # resource path
37
+ local_var_path = '/profile/self'
38
+
39
+ # query parameters
40
+ query_params = opts[:query_params] || {}
41
+
42
+ # header parameters
43
+ header_params = opts[:header_params] || {}
44
+ # HTTP header 'Accept' (if needed)
45
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
46
+
47
+ # form parameters
48
+ form_params = opts[:form_params] || {}
49
+
50
+ # http body (model)
51
+ post_body = opts[:debug_body]
52
+
53
+ # return_type
54
+ return_type = opts[:debug_return_type] || 'Profile'
55
+
56
+ # auth_names
57
+ auth_names = opts[:debug_auth_names] || %w[Cookie Basic Header Bearer]
58
+
59
+ new_options = opts.merge(
60
+ operation: :'ProfileApi.show_profile',
61
+ header_params: header_params,
62
+ query_params: query_params,
63
+ form_params: form_params,
64
+ body: post_body,
65
+ auth_names: auth_names,
66
+ return_type: return_type
67
+ )
68
+
69
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
70
+ if @api_client.config.debugging
71
+ @api_client.config.logger.debug "API called: ProfileApi#show_profile\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
72
+ end
73
+ [data, status_code, headers]
74
+ end
75
+
76
+ # Retrieve an unlimited auth token
77
+ # @param [Hash] opts the optional parameters
78
+ # @return [AuthToken]
79
+ def token_profile(opts = {})
80
+ data, _status_code, _headers = token_profile_with_http_info(opts)
81
+ data
82
+ end
83
+
84
+ # Retrieve an unlimited auth token
85
+ # @param [Hash] opts the optional parameters
86
+ # @return [Array<(AuthToken, Integer, Hash)>] AuthToken data, response status code and response headers
87
+ def token_profile_with_http_info(opts = {})
88
+ if @api_client.config.debugging
89
+ @api_client.config.logger.debug 'Calling API: ProfileApi.token_profile ...'
90
+ end
91
+ # resource path
92
+ local_var_path = '/profile/token'
93
+
94
+ # query parameters
95
+ query_params = opts[:query_params] || {}
96
+
97
+ # header parameters
98
+ header_params = opts[:header_params] || {}
99
+ # HTTP header 'Accept' (if needed)
100
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
101
+
102
+ # form parameters
103
+ form_params = opts[:form_params] || {}
104
+
105
+ # http body (model)
106
+ post_body = opts[:debug_body]
107
+
108
+ # return_type
109
+ return_type = opts[:debug_return_type] || 'AuthToken'
110
+
111
+ # auth_names
112
+ auth_names = opts[:debug_auth_names] || %w[Cookie Basic Header Bearer]
113
+
114
+ new_options = opts.merge(
115
+ operation: :'ProfileApi.token_profile',
116
+ header_params: header_params,
117
+ query_params: query_params,
118
+ form_params: form_params,
119
+ body: post_body,
120
+ auth_names: auth_names,
121
+ return_type: return_type
122
+ )
123
+
124
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
125
+ if @api_client.config.debugging
126
+ @api_client.config.logger.debug "API called: ProfileApi#token_profile\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
127
+ end
128
+ [data, status_code, headers]
129
+ end
130
+
131
+ # Update your own profile information
132
+ # @param profile [Profile] The profile data to update
133
+ # @param [Hash] opts the optional parameters
134
+ # @return [Profile]
135
+ def update_profile(profile, opts = {})
136
+ data, _status_code, _headers = update_profile_with_http_info(profile, opts)
137
+ data
138
+ end
139
+
140
+ # Update your own profile information
141
+ # @param profile [Profile] The profile data to update
142
+ # @param [Hash] opts the optional parameters
143
+ # @return [Array<(Profile, Integer, Hash)>] Profile data, response status code and response headers
144
+ def update_profile_with_http_info(profile, opts = {})
145
+ if @api_client.config.debugging
146
+ @api_client.config.logger.debug 'Calling API: ProfileApi.update_profile ...'
147
+ end
148
+ # verify the required parameter 'profile' is set
149
+ if @api_client.config.client_side_validation && profile.nil?
150
+ raise ArgumentError, "Missing the required parameter 'profile' when calling ProfileApi.update_profile"
151
+ end
152
+
153
+ # resource path
154
+ local_var_path = '/profile/self'
155
+
156
+ # query parameters
157
+ query_params = opts[:query_params] || {}
158
+
159
+ # header parameters
160
+ header_params = opts[:header_params] || {}
161
+ # HTTP header 'Accept' (if needed)
162
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
163
+ # HTTP header 'Content-Type'
164
+ content_type = @api_client.select_header_content_type(['application/json'])
165
+ unless content_type.nil?
166
+ header_params['Content-Type'] = content_type
167
+ end
168
+
169
+ # form parameters
170
+ form_params = opts[:form_params] || {}
171
+
172
+ # http body (model)
173
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(profile)
174
+
175
+ # return_type
176
+ return_type = opts[:debug_return_type] || 'Profile'
177
+
178
+ # auth_names
179
+ auth_names = opts[:debug_auth_names] || []
180
+
181
+ new_options = opts.merge(
182
+ operation: :'ProfileApi.update_profile',
183
+ header_params: header_params,
184
+ query_params: query_params,
185
+ form_params: form_params,
186
+ body: post_body,
187
+ auth_names: auth_names,
188
+ return_type: return_type
189
+ )
190
+
191
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
192
+ if @api_client.config.debugging
193
+ @api_client.config.logger.debug "API called: ProfileApi#update_profile\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
194
+ end
195
+ [data, status_code, headers]
196
+ end
197
+ end
198
+ end
@@ -72,7 +72,7 @@ module Gopad
72
72
  return_type = opts[:debug_return_type] || 'Notification'
73
73
 
74
74
  # auth_names
75
- auth_names = opts[:debug_auth_names] || %w[Cookie Basic Header]
75
+ auth_names = opts[:debug_auth_names] || %w[Cookie Basic Header Bearer]
76
76
 
77
77
  new_options = opts.merge(
78
78
  operation: :'TeamApi.attach_team_to_user',
@@ -139,7 +139,7 @@ module Gopad
139
139
  return_type = opts[:debug_return_type] || 'Team'
140
140
 
141
141
  # auth_names
142
- auth_names = opts[:debug_auth_names] || %w[Cookie Basic Header]
142
+ auth_names = opts[:debug_auth_names] || %w[Cookie Basic Header Bearer]
143
143
 
144
144
  new_options = opts.merge(
145
145
  operation: :'TeamApi.create_team',
@@ -201,7 +201,7 @@ module Gopad
201
201
  return_type = opts[:debug_return_type] || 'Notification'
202
202
 
203
203
  # auth_names
204
- auth_names = opts[:debug_auth_names] || %w[Cookie Basic Header]
204
+ auth_names = opts[:debug_auth_names] || %w[Cookie Basic Header Bearer]
205
205
 
206
206
  new_options = opts.merge(
207
207
  operation: :'TeamApi.delete_team',
@@ -274,7 +274,7 @@ module Gopad
274
274
  return_type = opts[:debug_return_type] || 'Notification'
275
275
 
276
276
  # auth_names
277
- auth_names = opts[:debug_auth_names] || %w[Cookie Basic Header]
277
+ auth_names = opts[:debug_auth_names] || %w[Cookie Basic Header Bearer]
278
278
 
279
279
  new_options = opts.merge(
280
280
  operation: :'TeamApi.delete_team_from_user',
@@ -297,10 +297,10 @@ module Gopad
297
297
  # @param team_id [String] A team identifier or slug
298
298
  # @param [Hash] opts the optional parameters
299
299
  # @option opts [String] :search Search query
300
- # @option opts [String] :sort Sorting column
301
- # @option opts [String] :order Sorting order
302
- # @option opts [Integer] :limit Paging limit
303
- # @option opts [Integer] :offset Paging offset
300
+ # @option opts [String] :sort Sorting column (default to 'username')
301
+ # @option opts [String] :order Sorting order (default to 'asc')
302
+ # @option opts [Integer] :limit Paging limit (default to 100)
303
+ # @option opts [Integer] :offset Paging offset (default to 0)
304
304
  # @return [TeamUsers]
305
305
  def list_team_users(team_id, opts = {})
306
306
  data, _status_code, _headers = list_team_users_with_http_info(team_id, opts)
@@ -311,10 +311,10 @@ module Gopad
311
311
  # @param team_id [String] A team identifier or slug
312
312
  # @param [Hash] opts the optional parameters
313
313
  # @option opts [String] :search Search query
314
- # @option opts [String] :sort Sorting column
315
- # @option opts [String] :order Sorting order
316
- # @option opts [Integer] :limit Paging limit
317
- # @option opts [Integer] :offset Paging offset
314
+ # @option opts [String] :sort Sorting column (default to 'username')
315
+ # @option opts [String] :order Sorting order (default to 'asc')
316
+ # @option opts [Integer] :limit Paging limit (default to 100)
317
+ # @option opts [Integer] :offset Paging offset (default to 0)
318
318
  # @return [Array<(TeamUsers, Integer, Hash)>] TeamUsers data, response status code and response headers
319
319
  def list_team_users_with_http_info(team_id, opts = {})
320
320
  if @api_client.config.debugging
@@ -361,7 +361,7 @@ module Gopad
361
361
  return_type = opts[:debug_return_type] || 'TeamUsers'
362
362
 
363
363
  # auth_names
364
- auth_names = opts[:debug_auth_names] || %w[Cookie Basic Header]
364
+ auth_names = opts[:debug_auth_names] || %w[Cookie Basic Header Bearer]
365
365
 
366
366
  new_options = opts.merge(
367
367
  operation: :'TeamApi.list_team_users',
@@ -383,10 +383,10 @@ module Gopad
383
383
  # Fetch all available teams
384
384
  # @param [Hash] opts the optional parameters
385
385
  # @option opts [String] :search Search query
386
- # @option opts [String] :sort Sorting column
387
- # @option opts [String] :order Sorting order
388
- # @option opts [Integer] :limit Paging limit
389
- # @option opts [Integer] :offset Paging offset
386
+ # @option opts [String] :sort Sorting column (default to 'name')
387
+ # @option opts [String] :order Sorting order (default to 'asc')
388
+ # @option opts [Integer] :limit Paging limit (default to 100)
389
+ # @option opts [Integer] :offset Paging offset (default to 0)
390
390
  # @return [Teams]
391
391
  def list_teams(opts = {})
392
392
  data, _status_code, _headers = list_teams_with_http_info(opts)
@@ -396,10 +396,10 @@ module Gopad
396
396
  # Fetch all available teams
397
397
  # @param [Hash] opts the optional parameters
398
398
  # @option opts [String] :search Search query
399
- # @option opts [String] :sort Sorting column
400
- # @option opts [String] :order Sorting order
401
- # @option opts [Integer] :limit Paging limit
402
- # @option opts [Integer] :offset Paging offset
399
+ # @option opts [String] :sort Sorting column (default to 'name')
400
+ # @option opts [String] :order Sorting order (default to 'asc')
401
+ # @option opts [Integer] :limit Paging limit (default to 100)
402
+ # @option opts [Integer] :offset Paging offset (default to 0)
403
403
  # @return [Array<(Teams, Integer, Hash)>] Teams data, response status code and response headers
404
404
  def list_teams_with_http_info(opts = {})
405
405
  if @api_client.config.debugging
@@ -441,7 +441,7 @@ module Gopad
441
441
  return_type = opts[:debug_return_type] || 'Teams'
442
442
 
443
443
  # auth_names
444
- auth_names = opts[:debug_auth_names] || %w[Cookie Basic Header]
444
+ auth_names = opts[:debug_auth_names] || %w[Cookie Basic Header Bearer]
445
445
 
446
446
  new_options = opts.merge(
447
447
  operation: :'TeamApi.list_teams',
@@ -514,7 +514,7 @@ module Gopad
514
514
  return_type = opts[:debug_return_type] || 'Notification'
515
515
 
516
516
  # auth_names
517
- auth_names = opts[:debug_auth_names] || %w[Cookie Basic Header]
517
+ auth_names = opts[:debug_auth_names] || %w[Cookie Basic Header Bearer]
518
518
 
519
519
  new_options = opts.merge(
520
520
  operation: :'TeamApi.permit_team_user',
@@ -576,7 +576,7 @@ module Gopad
576
576
  return_type = opts[:debug_return_type] || 'Team'
577
577
 
578
578
  # auth_names
579
- auth_names = opts[:debug_auth_names] || %w[Cookie Basic Header]
579
+ auth_names = opts[:debug_auth_names] || %w[Cookie Basic Header Bearer]
580
580
 
581
581
  new_options = opts.merge(
582
582
  operation: :'TeamApi.show_team',
@@ -649,7 +649,7 @@ module Gopad
649
649
  return_type = opts[:debug_return_type] || 'Team'
650
650
 
651
651
  # auth_names
652
- auth_names = opts[:debug_auth_names] || %w[Cookie Basic Header]
652
+ auth_names = opts[:debug_auth_names] || %w[Cookie Basic Header Bearer]
653
653
 
654
654
  new_options = opts.merge(
655
655
  operation: :'TeamApi.update_team',