stackone_client 0.2.35 → 0.2.36

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4c6a923b191b4c5fd6e6bc367a2c548840d5f15d66633071c966dd89f70ce296
4
- data.tar.gz: 6dd446438d3c551cd41e6f3f18bf59e376ff46efa861812cbd45dbfc7fb07f5e
3
+ metadata.gz: 5ee3e585265a9363a89c09e9075489d7e211c63a3f0ae9e908dd0d76f10966d6
4
+ data.tar.gz: 875196ded5d24af830d872585215a3b61c555ad925d1ca5d9cbc290af97cc829
5
5
  SHA512:
6
- metadata.gz: df3425f19189eab13d16ef8db9f3b9aa6b1232680ef7f3682fa325a6e914bff69ec9b2f859465a4a6de9de4989bb835d747b725356bcefa77a6201fc9d2632fc
7
- data.tar.gz: 3304fc4de6ab8c6f5e4b80e3c5b720a9484205afd8855bb61550675521d4d6de6a3e1a6f31b9af4aa93c5c55f34f4426a6d83227b1bbe5560cd76d07b71414a7
6
+ metadata.gz: 7bc599ba2b9bd595607d455e8c04e9d99a73860ec2807f0322f830c6aa38c9ef6f25f25e5cbaa342781635753b927cd1ef9bdb1d102c010785f6a62da3dc322c
7
+ data.tar.gz: 692583687c48ee1141b184ff43c5a0fa35c73bca4040e653bae9dc080c3ad38ef0df5b1b485f087a2bb56beceed0e1962f42b53a0b47ee2f91caa652d6e0c92d
data/lib/stack_one/lms.rb CHANGED
@@ -225,6 +225,44 @@ module StackOne
225
225
  end
226
226
 
227
227
 
228
+ sig { params(request: T.nilable(::StackOne::Operations::LmsGetUserRequest)).returns(::StackOne::Operations::LmsGetUserResponse) }
229
+ def get_user(request)
230
+ # get_user - Get User
231
+ url, params = @sdk_configuration.get_server_details
232
+ base_url = Utils.template_url(url, params)
233
+ url = Utils.generate_url(
234
+ ::StackOne::Operations::LmsGetUserRequest,
235
+ base_url,
236
+ '/unified/lms/users/{id}',
237
+ request
238
+ )
239
+ headers = Utils.get_headers(request)
240
+ query_params = Utils.get_query_params(::StackOne::Operations::LmsGetUserRequest, request)
241
+ headers['Accept'] = 'application/json'
242
+ headers['user-agent'] = @sdk_configuration.user_agent
243
+
244
+ r = @sdk_configuration.client.get(url) do |req|
245
+ req.headers = headers
246
+ req.params = query_params
247
+ Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil?
248
+ end
249
+
250
+ content_type = r.headers.fetch('Content-Type', 'application/octet-stream')
251
+
252
+ res = ::StackOne::Operations::LmsGetUserResponse.new(
253
+ status_code: r.status, content_type: content_type, raw_response: r
254
+ )
255
+ if r.status == 200
256
+ if Utils.match_content_type(content_type, 'application/json')
257
+ out = Utils.unmarshal_complex(r.env.response_body, ::StackOne::Shared::UserResult)
258
+ res.user_result = out
259
+ end
260
+ elsif [400, 403, 412, 429, 500, 501].include?(r.status)
261
+ end
262
+ res
263
+ end
264
+
265
+
228
266
  sig { params(request: T.nilable(::StackOne::Operations::LmsListCategoriesRequest)).returns(::StackOne::Operations::LmsListCategoriesResponse) }
229
267
  def list_categories(request)
230
268
  # list_categories - List Categories
@@ -291,6 +329,39 @@ module StackOne
291
329
  end
292
330
 
293
331
 
332
+ sig { params(request: T.nilable(::StackOne::Operations::LmsListUsersRequest)).returns(::StackOne::Operations::LmsListUsersResponse) }
333
+ def list_users(request)
334
+ # list_users - List Users
335
+ url, params = @sdk_configuration.get_server_details
336
+ base_url = Utils.template_url(url, params)
337
+ url = "#{base_url}/unified/lms/users"
338
+ headers = Utils.get_headers(request)
339
+ query_params = Utils.get_query_params(::StackOne::Operations::LmsListUsersRequest, request)
340
+ headers['Accept'] = 'application/json'
341
+ headers['user-agent'] = @sdk_configuration.user_agent
342
+
343
+ r = @sdk_configuration.client.get(url) do |req|
344
+ req.headers = headers
345
+ req.params = query_params
346
+ Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil?
347
+ end
348
+
349
+ content_type = r.headers.fetch('Content-Type', 'application/octet-stream')
350
+
351
+ res = ::StackOne::Operations::LmsListUsersResponse.new(
352
+ status_code: r.status, content_type: content_type, raw_response: r
353
+ )
354
+ if r.status == 200
355
+ if Utils.match_content_type(content_type, 'application/json')
356
+ out = Utils.unmarshal_complex(r.env.response_body, ::StackOne::Shared::UsersPaginated)
357
+ res.users_paginated = out
358
+ end
359
+ elsif [400, 403, 412, 429, 500, 501].include?(r.status)
360
+ end
361
+ res
362
+ end
363
+
364
+
294
365
  sig { params(lms_create_content_request_dto: ::StackOne::Shared::LmsCreateContentRequestDto, id: ::String, x_account_id: ::String).returns(::StackOne::Operations::LmsUpdateContentResponse) }
295
366
  def update_content(lms_create_content_request_dto, id, x_account_id)
296
367
  # update_content - Update Content
@@ -0,0 +1,36 @@
1
+ # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+
7
+ module StackOne
8
+ module Operations
9
+
10
+
11
+ class LmsGetUserRequest < ::StackOne::Utils::FieldAugmented
12
+ extend T::Sig
13
+
14
+
15
+ field :id, ::String, { 'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': false } }
16
+ # The account identifier
17
+ field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
18
+ # The comma separated list of fields that will be returned in the response (if empty, all fields are returned)
19
+ field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
20
+ # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
21
+ field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'form', 'explode': true } }
22
+ # Indicates that the raw request result is returned
23
+ field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
24
+
25
+
26
+ sig { params(id: ::String, x_account_id: ::String, fields_: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean)).void }
27
+ def initialize(id: nil, x_account_id: nil, fields_: nil, proxy: nil, raw: nil)
28
+ @id = id
29
+ @x_account_id = x_account_id
30
+ @fields_ = fields_
31
+ @proxy = proxy
32
+ @raw = raw
33
+ end
34
+ end
35
+ end
36
+ end
@@ -0,0 +1,33 @@
1
+ # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+
7
+ module StackOne
8
+ module Operations
9
+
10
+
11
+ class LmsGetUserResponse < ::StackOne::Utils::FieldAugmented
12
+ extend T::Sig
13
+
14
+ # HTTP response content type for this operation
15
+ field :content_type, ::String
16
+ # Raw HTTP response; suitable for custom response parsing
17
+ field :raw_response, ::Faraday::Response
18
+ # HTTP response status code for this operation
19
+ field :status_code, ::Integer
20
+ # The user with the given identifier was retrieved.
21
+ field :user_result, T.nilable(::StackOne::Shared::UserResult)
22
+
23
+
24
+ sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, user_result: T.nilable(::StackOne::Shared::UserResult)).void }
25
+ def initialize(content_type: nil, raw_response: nil, status_code: nil, user_result: nil)
26
+ @content_type = content_type
27
+ @raw_response = raw_response
28
+ @status_code = status_code
29
+ @user_result = user_result
30
+ end
31
+ end
32
+ end
33
+ end
@@ -0,0 +1,27 @@
1
+ # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+
7
+ module StackOne
8
+ module Operations
9
+
10
+ # LMS Users Filter
11
+ class LmsListUsersQueryParamFilter < ::StackOne::Utils::FieldAugmented
12
+ extend T::Sig
13
+
14
+ # Filter to select users by email
15
+ field :email, T.nilable(::String), { 'query_param': { 'field_name': 'email' } }
16
+ # Use a string with a date to only select results updated after that given date
17
+ field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after' } }
18
+
19
+
20
+ sig { params(email: T.nilable(::String), updated_after: T.nilable(::String)).void }
21
+ def initialize(email: nil, updated_after: nil)
22
+ @email = email
23
+ @updated_after = updated_after
24
+ end
25
+ end
26
+ end
27
+ end
@@ -0,0 +1,52 @@
1
+ # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+
7
+ module StackOne
8
+ module Operations
9
+
10
+
11
+ class LmsListUsersRequest < ::StackOne::Utils::FieldAugmented
12
+ extend T::Sig
13
+
14
+ # The account identifier
15
+ field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
16
+ # The comma separated list of fields that will be returned in the response (if empty, all fields are returned)
17
+ field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
18
+ # LMS Users Filter
19
+ field :filter, T.nilable(::StackOne::Operations::LmsListUsersQueryParamFilter), { 'query_param': { 'field_name': 'filter', 'style': 'deepObject', 'explode': true } }
20
+ # The unified cursor
21
+ field :next_, T.nilable(::String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } }
22
+ # The page number of the results to fetch
23
+ #
24
+ # @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
25
+ field :page, T.nilable(::String), { 'query_param': { 'field_name': 'page', 'style': 'form', 'explode': true } }
26
+ # The number of results per page
27
+ field :page_size, T.nilable(::String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
28
+ # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
29
+ field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'deepObject', 'explode': true } }
30
+ # Indicates that the raw request result is returned
31
+ field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
32
+ # Use a string with a date to only select results updated after that given date
33
+ #
34
+ # @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
35
+ field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
36
+
37
+
38
+ sig { params(x_account_id: ::String, fields_: T.nilable(::String), filter: T.nilable(::StackOne::Operations::LmsListUsersQueryParamFilter), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean), updated_after: T.nilable(::String)).void }
39
+ def initialize(x_account_id: nil, fields_: nil, filter: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, updated_after: nil)
40
+ @x_account_id = x_account_id
41
+ @fields_ = fields_
42
+ @filter = filter
43
+ @next_ = next_
44
+ @page = page
45
+ @page_size = page_size
46
+ @proxy = proxy
47
+ @raw = raw
48
+ @updated_after = updated_after
49
+ end
50
+ end
51
+ end
52
+ end
@@ -0,0 +1,33 @@
1
+ # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+
7
+ module StackOne
8
+ module Operations
9
+
10
+
11
+ class LmsListUsersResponse < ::StackOne::Utils::FieldAugmented
12
+ extend T::Sig
13
+
14
+ # HTTP response content type for this operation
15
+ field :content_type, ::String
16
+ # Raw HTTP response; suitable for custom response parsing
17
+ field :raw_response, ::Faraday::Response
18
+ # HTTP response status code for this operation
19
+ field :status_code, ::Integer
20
+ # The list of users was retrieved.
21
+ field :users_paginated, T.nilable(::StackOne::Shared::UsersPaginated)
22
+
23
+
24
+ sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, users_paginated: T.nilable(::StackOne::Shared::UsersPaginated)).void }
25
+ def initialize(content_type: nil, raw_response: nil, status_code: nil, users_paginated: nil)
26
+ @content_type = content_type
27
+ @raw_response = raw_response
28
+ @status_code = status_code
29
+ @users_paginated = users_paginated
30
+ end
31
+ end
32
+ end
33
+ end
@@ -269,12 +269,17 @@ module StackOne
269
269
  autoload :LmsGetCompletionResponse, 'stack_one/models/operations/lms_get_completion_response.rb'
270
270
  autoload :LmsGetContentRequest, 'stack_one/models/operations/lms_get_content_request.rb'
271
271
  autoload :LmsGetContentResponse, 'stack_one/models/operations/lms_get_content_response.rb'
272
+ autoload :LmsGetUserRequest, 'stack_one/models/operations/lms_get_user_request.rb'
273
+ autoload :LmsGetUserResponse, 'stack_one/models/operations/lms_get_user_response.rb'
272
274
  autoload :LmsListCategoriesQueryParamFilter, 'stack_one/models/operations/lms_list_categories_queryparam_filter.rb'
273
275
  autoload :LmsListCategoriesRequest, 'stack_one/models/operations/lms_list_categories_request.rb'
274
276
  autoload :LmsListCategoriesResponse, 'stack_one/models/operations/lms_list_categories_response.rb'
275
277
  autoload :LmsListContentQueryParamFilter, 'stack_one/models/operations/lms_list_content_queryparam_filter.rb'
276
278
  autoload :LmsListContentRequest, 'stack_one/models/operations/lms_list_content_request.rb'
277
279
  autoload :LmsListContentResponse, 'stack_one/models/operations/lms_list_content_response.rb'
280
+ autoload :LmsListUsersQueryParamFilter, 'stack_one/models/operations/lms_list_users_queryparam_filter.rb'
281
+ autoload :LmsListUsersRequest, 'stack_one/models/operations/lms_list_users_request.rb'
282
+ autoload :LmsListUsersResponse, 'stack_one/models/operations/lms_list_users_response.rb'
278
283
  autoload :LmsUpdateContentRequest, 'stack_one/models/operations/lms_update_content_request.rb'
279
284
  autoload :LmsUpdateContentResponse, 'stack_one/models/operations/lms_update_content_response.rb'
280
285
  autoload :LmsUpsertContentRequest, 'stack_one/models/operations/lms_upsert_content_request.rb'
@@ -24,12 +24,12 @@ module StackOne
24
24
  # The result of the completion
25
25
  field :result, T.nilable(::StackOne::Shared::LmsCreateCompletionRequestDtoResult), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('result') } }
26
26
  # The user associated with this completion
27
- field :user, T.nilable(::StackOne::Shared::LmsCreateCompletionRequestDtoUser), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('user') } }
27
+ field :user, T.nilable(::StackOne::Shared::User), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('user') } }
28
28
  # The user ID associated with this completion
29
29
  field :user_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('user_id') } }
30
30
 
31
31
 
32
- sig { params(completed_at: T.nilable(::String), content_id: T.nilable(::String), expand: T.nilable(::String), external_id: T.nilable(::String), passthrough: T.nilable(T::Hash[Symbol, ::Object]), result: T.nilable(::StackOne::Shared::LmsCreateCompletionRequestDtoResult), user: T.nilable(::StackOne::Shared::LmsCreateCompletionRequestDtoUser), user_id: T.nilable(::String)).void }
32
+ sig { params(completed_at: T.nilable(::String), content_id: T.nilable(::String), expand: T.nilable(::String), external_id: T.nilable(::String), passthrough: T.nilable(T::Hash[Symbol, ::Object]), result: T.nilable(::StackOne::Shared::LmsCreateCompletionRequestDtoResult), user: T.nilable(::StackOne::Shared::User), user_id: T.nilable(::String)).void }
33
33
  def initialize(completed_at: nil, content_id: nil, expand: nil, external_id: nil, passthrough: nil, result: nil, user: nil, user_id: nil)
34
34
  @completed_at = completed_at
35
35
  @content_id = content_id
@@ -7,27 +7,27 @@
7
7
  module StackOne
8
8
  module Shared
9
9
 
10
- # The user associated with this completion
11
- class LmsCreateCompletionRequestDtoUser < ::StackOne::Utils::FieldAugmented
10
+
11
+ class LmsUser < ::StackOne::Utils::FieldAugmented
12
12
  extend T::Sig
13
13
 
14
- # The date the user was created
15
- field :created_at, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('created_at') } }
16
- # The email of the user
14
+ # The created_at date
15
+ field :created_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('created_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
16
+ # The user email
17
17
  field :email, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('email') } }
18
- # The user ID
18
+ # Unique identifier
19
19
  field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
20
- # The name of the user
20
+ # The user name
21
21
  field :name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } }
22
- # The phone number of the user
22
+ # The user phone number
23
23
  field :phone_number, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('phone_number') } }
24
24
  # Provider's unique identifier
25
25
  field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
26
- # The date the user was last updated
27
- field :updated_at, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_at') } }
26
+ # The updated_at date
27
+ field :updated_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
28
28
 
29
29
 
30
- sig { params(created_at: T.nilable(::String), email: T.nilable(::String), id: T.nilable(::String), name: T.nilable(::String), phone_number: T.nilable(::String), remote_id: T.nilable(::String), updated_at: T.nilable(::String)).void }
30
+ sig { params(created_at: T.nilable(::DateTime), email: T.nilable(::String), id: T.nilable(::String), name: T.nilable(::String), phone_number: T.nilable(::String), remote_id: T.nilable(::String), updated_at: T.nilable(::DateTime)).void }
31
31
  def initialize(created_at: nil, email: nil, id: nil, name: nil, phone_number: nil, remote_id: nil, updated_at: nil)
32
32
  @created_at = created_at
33
33
  @email = email
@@ -7,7 +7,7 @@
7
7
  module StackOne
8
8
  module Shared
9
9
 
10
-
10
+ # The user associated with this completion
11
11
  class User < ::StackOne::Utils::FieldAugmented
12
12
  extend T::Sig
13
13
 
@@ -12,12 +12,12 @@ module StackOne
12
12
  extend T::Sig
13
13
 
14
14
 
15
- field :data, ::StackOne::Shared::User, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('data') } }
15
+ field :data, ::StackOne::Shared::LmsUser, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('data') } }
16
16
 
17
17
  field :raw, T.nilable(T::Array[::StackOne::Shared::RawResponse]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('raw') } }
18
18
 
19
19
 
20
- sig { params(data: ::StackOne::Shared::User, raw: T.nilable(T::Array[::StackOne::Shared::RawResponse])).void }
20
+ sig { params(data: ::StackOne::Shared::LmsUser, raw: T.nilable(T::Array[::StackOne::Shared::RawResponse])).void }
21
21
  def initialize(data: nil, raw: nil)
22
22
  @data = data
23
23
  @raw = raw
@@ -12,20 +12,17 @@ module StackOne
12
12
  extend T::Sig
13
13
 
14
14
 
15
- field :data, T::Array[::StackOne::Shared::User], { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('data') } }
15
+ field :data, T::Array[::StackOne::Shared::LmsUser], { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('data') } }
16
16
 
17
17
  field :next_, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('next') } }
18
- # @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
19
- field :next_page, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('next_page') } }
20
18
 
21
19
  field :raw, T.nilable(T::Array[::StackOne::Shared::RawResponse]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('raw') } }
22
20
 
23
21
 
24
- sig { params(data: T::Array[::StackOne::Shared::User], next_: T.nilable(::String), next_page: T.nilable(::String), raw: T.nilable(T::Array[::StackOne::Shared::RawResponse])).void }
25
- def initialize(data: nil, next_: nil, next_page: nil, raw: nil)
22
+ sig { params(data: T::Array[::StackOne::Shared::LmsUser], next_: T.nilable(::String), raw: T.nilable(T::Array[::StackOne::Shared::RawResponse])).void }
23
+ def initialize(data: nil, next_: nil, raw: nil)
26
24
  @data = data
27
25
  @next_ = next_
28
- @next_page = next_page
29
26
  @raw = raw
30
27
  end
31
28
  end
@@ -163,7 +163,7 @@ module StackOne
163
163
  autoload :ATSLocation, 'stack_one/models/shared/atslocation.rb'
164
164
  autoload :RejectedReasonResult, 'stack_one/models/shared/rejectedreasonresult.rb'
165
165
  autoload :UserResult, 'stack_one/models/shared/userresult.rb'
166
- autoload :User, 'stack_one/models/shared/user.rb'
166
+ autoload :LmsUser, 'stack_one/models/shared/lmsuser.rb'
167
167
  autoload :CustomFieldDefinitionsPaginated, 'stack_one/models/shared/customfielddefinitionspaginated.rb'
168
168
  autoload :CustomFieldDefinitionValue, 'stack_one/models/shared/customfielddefinition_value.rb'
169
169
  autoload :CustomFieldDefinitionType, 'stack_one/models/shared/customfielddefinition_type.rb'
@@ -400,7 +400,7 @@ module StackOne
400
400
  autoload :IamUsersPaginated, 'stack_one/models/shared/iamuserspaginated.rb'
401
401
  autoload :LmsCreateCompletionRequestDtoValue, 'stack_one/models/shared/lmscreatecompletionrequestdto_value.rb'
402
402
  autoload :LmsCreateCompletionRequestDtoResult, 'stack_one/models/shared/lmscreatecompletionrequestdto_result.rb'
403
- autoload :LmsCreateCompletionRequestDtoUser, 'stack_one/models/shared/lmscreatecompletionrequestdto_user.rb'
403
+ autoload :User, 'stack_one/models/shared/user.rb'
404
404
  autoload :LmsCreateCompletionRequestDto, 'stack_one/models/shared/lmscreatecompletionrequestdto.rb'
405
405
  autoload :LmsCreateContentRequestDtoValue, 'stack_one/models/shared/lmscreatecontentrequestdto_value.rb'
406
406
  autoload :LmsCreateContentRequestDtoContentType, 'stack_one/models/shared/lmscreatecontentrequestdto_content_type.rb'
@@ -38,9 +38,9 @@ module StackOne
38
38
  @security = security
39
39
  @language = 'ruby'
40
40
  @openapi_doc_version = '1.0.0'
41
- @sdk_version = '0.2.35'
42
- @gen_version = '2.384.4'
43
- @user_agent = 'speakeasy-sdk/ruby 0.2.35 2.384.4 1.0.0 stackone_client'
41
+ @sdk_version = '0.2.36'
42
+ @gen_version = '2.385.1'
43
+ @user_agent = 'speakeasy-sdk/ruby 0.2.36 2.385.1 1.0.0 stackone_client'
44
44
  end
45
45
 
46
46
  sig { returns([String, T::Hash[Symbol, String]]) }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stackone_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.35
4
+ version: 0.2.36
5
5
  platform: ruby
6
6
  authors:
7
7
  - StackOne
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-08-02 00:00:00.000000000 Z
11
+ date: 2024-08-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -399,12 +399,17 @@ files:
399
399
  - lib/stack_one/models/operations/lms_get_completion_response.rb
400
400
  - lib/stack_one/models/operations/lms_get_content_request.rb
401
401
  - lib/stack_one/models/operations/lms_get_content_response.rb
402
+ - lib/stack_one/models/operations/lms_get_user_request.rb
403
+ - lib/stack_one/models/operations/lms_get_user_response.rb
402
404
  - lib/stack_one/models/operations/lms_list_categories_queryparam_filter.rb
403
405
  - lib/stack_one/models/operations/lms_list_categories_request.rb
404
406
  - lib/stack_one/models/operations/lms_list_categories_response.rb
405
407
  - lib/stack_one/models/operations/lms_list_content_queryparam_filter.rb
406
408
  - lib/stack_one/models/operations/lms_list_content_request.rb
407
409
  - lib/stack_one/models/operations/lms_list_content_response.rb
410
+ - lib/stack_one/models/operations/lms_list_users_queryparam_filter.rb
411
+ - lib/stack_one/models/operations/lms_list_users_request.rb
412
+ - lib/stack_one/models/operations/lms_list_users_response.rb
408
413
  - lib/stack_one/models/operations/lms_update_content_request.rb
409
414
  - lib/stack_one/models/operations/lms_update_content_response.rb
410
415
  - lib/stack_one/models/operations/lms_upsert_content_request.rb
@@ -823,7 +828,6 @@ files:
823
828
  - lib/stack_one/models/shared/listspaginated.rb
824
829
  - lib/stack_one/models/shared/lmscreatecompletionrequestdto.rb
825
830
  - lib/stack_one/models/shared/lmscreatecompletionrequestdto_result.rb
826
- - lib/stack_one/models/shared/lmscreatecompletionrequestdto_user.rb
827
831
  - lib/stack_one/models/shared/lmscreatecompletionrequestdto_value.rb
828
832
  - lib/stack_one/models/shared/lmscreatecontentrequestdto.rb
829
833
  - lib/stack_one/models/shared/lmscreatecontentrequestdto_content_type.rb
@@ -831,6 +835,7 @@ files:
831
835
  - lib/stack_one/models/shared/lmsupsertcontentrequestdto.rb
832
836
  - lib/stack_one/models/shared/lmsupsertcontentrequestdto_content_type.rb
833
837
  - lib/stack_one/models/shared/lmsupsertcontentrequestdto_value.rb
838
+ - lib/stack_one/models/shared/lmsuser.rb
834
839
  - lib/stack_one/models/shared/location_type.rb
835
840
  - lib/stack_one/models/shared/marital_status.rb
836
841
  - lib/stack_one/models/shared/marketingcreatecontentblocksrequestdto.rb