stackone_client 0.39.0 → 0.39.1

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.
Files changed (23) hide show
  1. checksums.yaml +4 -4
  2. data/lib/stack_one/lms.rb +67 -3
  3. data/lib/stack_one/models/shared/createemploymentapimodel.rb +3 -3
  4. data/lib/stack_one/models/shared/employment.rb +3 -3
  5. data/lib/stack_one/models/shared/employment_pay_frequency.rb +1 -1
  6. data/lib/stack_one/models/shared/employment_pay_period.rb +1 -1
  7. data/lib/stack_one/models/shared/hriscreateemployeerequestdto_employment.rb +3 -3
  8. data/lib/stack_one/models/shared/hriscreateemployeerequestdto_pay_frequency.rb +1 -1
  9. data/lib/stack_one/models/shared/hriscreateemployeerequestdto_pay_period.rb +1 -1
  10. data/lib/stack_one/models/shared/hriscreateemploymentrequestdto.rb +3 -3
  11. data/lib/stack_one/models/shared/hriscreateemploymentrequestdto_pay_frequency.rb +1 -1
  12. data/lib/stack_one/models/shared/hriscreateemploymentrequestdto_pay_period.rb +1 -1
  13. data/lib/stack_one/models/shared/hrisupdateemployeerequestdto_employment.rb +3 -3
  14. data/lib/stack_one/models/shared/hrisupdateemployeerequestdto_pay_frequency.rb +1 -1
  15. data/lib/stack_one/models/shared/hrisupdateemployeerequestdto_pay_period.rb +1 -1
  16. data/lib/stack_one/models/shared/hrisupdateemploymentrequestdto.rb +3 -3
  17. data/lib/stack_one/models/shared/hrisupdateemploymentrequestdto_pay_frequency.rb +1 -1
  18. data/lib/stack_one/models/shared/hrisupdateemploymentrequestdto_pay_period.rb +1 -1
  19. data/lib/stack_one/models/shared/linkedaccount_status.rb +3 -0
  20. data/lib/stack_one/models/shared/pay_frequency.rb +1 -1
  21. data/lib/stack_one/models/shared/pay_period.rb +1 -1
  22. data/lib/stack_one/sdkconfiguration.rb +3 -3
  23. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ddc7e76bd7dc74ea2683bd7379e628b4bd11fb26a8b9c3e5ad625413d7bfd1e5
4
- data.tar.gz: e1e81b45097cbdcde82412e5960a7e989f2c3eb5c9cb369805ee26186b4a4ad7
3
+ metadata.gz: a992c451f730ac0df3e0aabc008af24a9e040ef292250db6d2a3f9f26b38e4d5
4
+ data.tar.gz: 765d8b21d0513f49a6fb393908900478ccbb70478cf09a0c0d0f2ef241a45aeb
5
5
  SHA512:
6
- metadata.gz: 801aa8f8073144fa8022effa9e81f22ff43eab1d7365abf6ec8302af6436aeca67ee292bd4078e907e5a3f4352d53ae0fe2e833b845d47d7bd892db826abcee0
7
- data.tar.gz: 9b27410e7cc3382d0a5a77442379a91467ebd311aacfb65657b4bf5184d3183c99a6e7d5007ea96cf314aec627301dabdcf0a1c77d304ad61f82bb5ac013ec2f
6
+ metadata.gz: dd49c6b52f19ceb8321f23003bf8a32dbd0cb992781bb8ed987c6f6b8e81934971d14836b19786c867f07c53fda33c14ba315bc14468eb4af41bc0b16147a89d
7
+ data.tar.gz: 83f6b145946ef52cd167c99eb85a001f9aa8e82df754c63798a27c6a8c6d7640fbff03d468a9a36267ae8e1b73c45a445a9701ea9d33c3a00903d1134f1f7a30
data/lib/stack_one/lms.rb CHANGED
@@ -42,7 +42,10 @@ module StackOne
42
42
 
43
43
  sig { params(lms_batch_upsert_content_request_dto: Models::Shared::LmsBatchUpsertContentRequestDto, x_account_id: ::String, retries: T.nilable(Utils::RetryConfig), timeout_ms: T.nilable(Integer)).returns(Models::Operations::LmsBatchUpsertContentResponse) }
44
44
  def batch_upsert_content(lms_batch_upsert_content_request_dto:, x_account_id:, retries: nil, timeout_ms: nil)
45
- # batch_upsert_content - Batch Upsert Content
45
+ # batch_upsert_content - Batch Upsert External Linking Learning Objects
46
+ # Batch upsert multiple external linking learning objects that redirect users to a provider platform for consumption and progress tracking.
47
+ #
48
+ # See [here](https://docs.stackone.com/integration-guides/lms/external-content-providers/introduction) for more information about external linking learning objects.
46
49
  request = Models::Operations::LmsBatchUpsertContentRequest.new(
47
50
  lms_batch_upsert_content_request_dto: lms_batch_upsert_content_request_dto,
48
51
  x_account_id: x_account_id
@@ -345,6 +348,11 @@ module StackOne
345
348
  sig { params(lms_create_assignment_request_dto: Models::Shared::LmsCreateAssignmentRequestDto, id: ::String, x_account_id: ::String, retries: T.nilable(Utils::RetryConfig), timeout_ms: T.nilable(Integer)).returns(Models::Operations::LmsCreateUserAssignmentResponse) }
346
349
  def create_user_assignment(lms_create_assignment_request_dto:, id:, x_account_id:, retries: nil, timeout_ms: nil)
347
350
  # create_user_assignment - Create User Assignment
351
+ # Create an assignment type learning record for a user.
352
+ #
353
+ # This is the record linking a user to a learning object.
354
+ #
355
+ # It can be pending or in progress.
348
356
  request = Models::Operations::LmsCreateUserAssignmentRequest.new(
349
357
  lms_create_assignment_request_dto: lms_create_assignment_request_dto,
350
358
  id: id,
@@ -653,6 +661,9 @@ module StackOne
653
661
  sig { params(lms_create_completion_request_dto: Models::Shared::LmsCreateCompletionRequestDto, id: ::String, x_account_id: ::String, retries: T.nilable(Utils::RetryConfig), timeout_ms: T.nilable(Integer)).returns(Models::Operations::LmsCreateUserCompletionResponse) }
654
662
  def create_user_completion(lms_create_completion_request_dto:, id:, x_account_id:, retries: nil, timeout_ms: nil)
655
663
  # create_user_completion - Create User Completion
664
+ # Create a completed learning record for a user.
665
+ #
666
+ # This is the record of a user completing a learning object.
656
667
  request = Models::Operations::LmsCreateUserCompletionRequest.new(
657
668
  lms_create_completion_request_dto: lms_create_completion_request_dto,
658
669
  id: id,
@@ -961,6 +972,9 @@ module StackOne
961
972
  sig { params(id: ::String, sub_resource_id: ::String, x_account_id: ::String, retries: T.nilable(Utils::RetryConfig), timeout_ms: T.nilable(Integer)).returns(Models::Operations::LmsDeleteUserCompletionResponse) }
962
973
  def delete_user_completion(id:, sub_resource_id:, x_account_id:, retries: nil, timeout_ms: nil)
963
974
  # delete_user_completion - Delete User Completion
975
+ # Delete a completion type learning record for a user.
976
+ #
977
+ # This is a record of a user completing a learning object.
964
978
  request = Models::Operations::LmsDeleteUserCompletionRequest.new(
965
979
  id: id,
966
980
  sub_resource_id: sub_resource_id,
@@ -1270,6 +1284,11 @@ module StackOne
1270
1284
  sig { params(request: Models::Operations::LmsGetAssignmentRequest, retries: T.nilable(Utils::RetryConfig), timeout_ms: T.nilable(Integer)).returns(Models::Operations::LmsGetAssignmentResponse) }
1271
1285
  def get_assignment(request:, retries: nil, timeout_ms: nil)
1272
1286
  # get_assignment - Get Assignment
1287
+ # Retrieve an assignment type learning record by its identifier.
1288
+ #
1289
+ # This is the record linking a user to a learning object.
1290
+ #
1291
+ # It can be pending, in progress, or completed.
1273
1292
  url, params = @sdk_configuration.get_server_details
1274
1293
  base_url = Utils.template_url(url, params)
1275
1294
  url = Utils.generate_url(
@@ -1856,6 +1875,7 @@ module StackOne
1856
1875
  sig { params(request: Models::Operations::LmsGetCompletionRequest, retries: T.nilable(Utils::RetryConfig), timeout_ms: T.nilable(Integer)).returns(Models::Operations::LmsGetCompletionResponse) }
1857
1876
  def get_completion(request:, retries: nil, timeout_ms: nil)
1858
1877
  # get_completion - Get Completion
1878
+ # Retrieve a completed learning record by its identifier. This is the record of a user completing a learning object.
1859
1879
  url, params = @sdk_configuration.get_server_details
1860
1880
  base_url = Utils.template_url(url, params)
1861
1881
  url = Utils.generate_url(
@@ -2149,6 +2169,11 @@ module StackOne
2149
2169
  sig { params(request: Models::Operations::LmsGetContentRequest, retries: T.nilable(Utils::RetryConfig), timeout_ms: T.nilable(Integer)).returns(Models::Operations::LmsGetContentResponse) }
2150
2170
  def get_content(request:, retries: nil, timeout_ms: nil)
2151
2171
  # get_content - Get Content
2172
+ # Retrieve a content type learning object by its identifier.
2173
+ #
2174
+ # These are the most granular learning objects (e.g. video, document, podcast) on a platform.
2175
+ #
2176
+ # Only content objects for which the platform supports progress and completion tracking are returned.
2152
2177
  url, params = @sdk_configuration.get_server_details
2153
2178
  base_url = Utils.template_url(url, params)
2154
2179
  url = Utils.generate_url(
@@ -2442,6 +2467,9 @@ module StackOne
2442
2467
  sig { params(request: Models::Operations::LmsGetCourseRequest, retries: T.nilable(Utils::RetryConfig), timeout_ms: T.nilable(Integer)).returns(Models::Operations::LmsGetCourseResponse) }
2443
2468
  def get_course(request:, retries: nil, timeout_ms: nil)
2444
2469
  # get_course - Get Course
2470
+ # Retrieve a course type learning object by its identifier.
2471
+ #
2472
+ # These are collections of content type learning objects that are grouped together for a specific learning purpose.
2445
2473
  url, params = @sdk_configuration.get_server_details
2446
2474
  base_url = Utils.template_url(url, params)
2447
2475
  url = Utils.generate_url(
@@ -3321,6 +3349,11 @@ module StackOne
3321
3349
  sig { params(request: Models::Operations::LmsGetUserAssignmentRequest, retries: T.nilable(Utils::RetryConfig), timeout_ms: T.nilable(Integer)).returns(Models::Operations::LmsGetUserAssignmentResponse) }
3322
3350
  def get_user_assignment(request:, retries: nil, timeout_ms: nil)
3323
3351
  # get_user_assignment - Get User Assignment
3352
+ # Retrieve an assignment type learning record for a user by its identifier.
3353
+ #
3354
+ # This is the record linking a user to a learning object.
3355
+ #
3356
+ # It can be pending, in progress, or completed.
3324
3357
  url, params = @sdk_configuration.get_server_details
3325
3358
  base_url = Utils.template_url(url, params)
3326
3359
  url = Utils.generate_url(
@@ -3614,6 +3647,9 @@ module StackOne
3614
3647
  sig { params(request: Models::Operations::LmsGetUserCompletionRequest, retries: T.nilable(Utils::RetryConfig), timeout_ms: T.nilable(Integer)).returns(Models::Operations::LmsGetUserCompletionResponse) }
3615
3648
  def get_user_completion(request:, retries: nil, timeout_ms: nil)
3616
3649
  # get_user_completion - Get User Completion
3650
+ # Retrieve a completed learning record for a user by its identifier.
3651
+ #
3652
+ # This is the record of a user completing a learning object.
3617
3653
  url, params = @sdk_configuration.get_server_details
3618
3654
  base_url = Utils.template_url(url, params)
3619
3655
  url = Utils.generate_url(
@@ -3907,6 +3943,11 @@ module StackOne
3907
3943
  sig { params(request: Models::Operations::LmsListAssignmentsRequest, retries: T.nilable(Utils::RetryConfig), timeout_ms: T.nilable(Integer)).returns(Models::Operations::LmsListAssignmentsResponse) }
3908
3944
  def list_assignments(request:, retries: nil, timeout_ms: nil)
3909
3945
  # list_assignments - List Assignments
3946
+ # Retrieve a list of assignment type learning records.
3947
+ #
3948
+ # These are the records linking a user to a learning object.
3949
+ #
3950
+ # They can be pending, in progress, or completed.
3910
3951
  url, params = @sdk_configuration.get_server_details
3911
3952
  base_url = Utils.template_url(url, params)
3912
3953
  url = "#{base_url}/unified/lms/assignments"
@@ -4541,6 +4582,7 @@ module StackOne
4541
4582
  sig { params(request: Models::Operations::LmsListCompletionsRequest, retries: T.nilable(Utils::RetryConfig), timeout_ms: T.nilable(Integer)).returns(Models::Operations::LmsListCompletionsResponse) }
4542
4583
  def list_completions(request:, retries: nil, timeout_ms: nil)
4543
4584
  # list_completions - List Completions
4585
+ # Retrieve a list of completed learning records. These are the records of a user completing learning objects.
4544
4586
  url, params = @sdk_configuration.get_server_details
4545
4587
  base_url = Utils.template_url(url, params)
4546
4588
  url = "#{base_url}/unified/lms/completions"
@@ -4857,6 +4899,11 @@ module StackOne
4857
4899
  sig { params(request: Models::Operations::LmsListContentRequest, retries: T.nilable(Utils::RetryConfig), timeout_ms: T.nilable(Integer)).returns(Models::Operations::LmsListContentResponse) }
4858
4900
  def list_content(request:, retries: nil, timeout_ms: nil)
4859
4901
  # list_content - List Content
4902
+ # Retrieve a list of content type learning objects.
4903
+ #
4904
+ # These are the most granular learning objects (e.g. video, document, podcast) on a platform.
4905
+ #
4906
+ # Only content objects for which the platform supports progress and completion tracking are returned.
4860
4907
  url, params = @sdk_configuration.get_server_details
4861
4908
  base_url = Utils.template_url(url, params)
4862
4909
  url = "#{base_url}/unified/lms/content"
@@ -5173,6 +5220,9 @@ module StackOne
5173
5220
  sig { params(request: Models::Operations::LmsListCoursesRequest, retries: T.nilable(Utils::RetryConfig), timeout_ms: T.nilable(Integer)).returns(Models::Operations::LmsListCoursesResponse) }
5174
5221
  def list_courses(request:, retries: nil, timeout_ms: nil)
5175
5222
  # list_courses - List Courses
5223
+ # Retrieve a list of course type learning objects.
5224
+ #
5225
+ # These are collections of content type learning objects that are grouped together for a specific learning purpose.
5176
5226
  url, params = @sdk_configuration.get_server_details
5177
5227
  base_url = Utils.template_url(url, params)
5178
5228
  url = "#{base_url}/unified/lms/courses"
@@ -5805,6 +5855,11 @@ module StackOne
5805
5855
  sig { params(request: Models::Operations::LmsListUserAssignmentsRequest, retries: T.nilable(Utils::RetryConfig), timeout_ms: T.nilable(Integer)).returns(Models::Operations::LmsListUserAssignmentsResponse) }
5806
5856
  def list_user_assignments(request:, retries: nil, timeout_ms: nil)
5807
5857
  # list_user_assignments - List User Assignments
5858
+ # Retrieve a list of assignment type learning records for a user.
5859
+ #
5860
+ # These are the records linking a user to learning objects.
5861
+ #
5862
+ # They can be pending, in progress, or completed.
5808
5863
  url, params = @sdk_configuration.get_server_details
5809
5864
  base_url = Utils.template_url(url, params)
5810
5865
  url = Utils.generate_url(
@@ -6129,6 +6184,9 @@ module StackOne
6129
6184
  sig { params(request: Models::Operations::LmsListUserCompletionsRequest, retries: T.nilable(Utils::RetryConfig), timeout_ms: T.nilable(Integer)).returns(Models::Operations::LmsListUserCompletionsResponse) }
6130
6185
  def list_user_completions(request:, retries: nil, timeout_ms: nil)
6131
6186
  # list_user_completions - List User Completions
6187
+ # Retrieve a list of completed learning records for a user.
6188
+ #
6189
+ # These are the records of a user completing learning objects.
6132
6190
  url, params = @sdk_configuration.get_server_details
6133
6191
  base_url = Utils.template_url(url, params)
6134
6192
  url = Utils.generate_url(
@@ -6766,7 +6824,10 @@ module StackOne
6766
6824
 
6767
6825
  sig { params(lms_create_content_request_dto: Models::Shared::LmsCreateContentRequestDto, id: ::String, x_account_id: ::String, retries: T.nilable(Utils::RetryConfig), timeout_ms: T.nilable(Integer)).returns(Models::Operations::LmsUpdateContentResponse) }
6768
6826
  def update_content(lms_create_content_request_dto:, id:, x_account_id:, retries: nil, timeout_ms: nil)
6769
- # update_content - Update Content
6827
+ # update_content - Update External Linking Learning Objects
6828
+ # Update an external linking learning object that redirects users to a provider platform for consumption and progress tracking.
6829
+ #
6830
+ # See [here](https://docs.stackone.com/integration-guides/lms/external-content-providers/introduction) for more information about external linking learning objects.
6770
6831
  request = Models::Operations::LmsUpdateContentRequest.new(
6771
6832
  lms_create_content_request_dto: lms_create_content_request_dto,
6772
6833
  id: id,
@@ -7074,7 +7135,10 @@ module StackOne
7074
7135
 
7075
7136
  sig { params(lms_upsert_content_request_dto: Models::Shared::LmsUpsertContentRequestDto, x_account_id: ::String, retries: T.nilable(Utils::RetryConfig), timeout_ms: T.nilable(Integer)).returns(Models::Operations::LmsUpsertContentResponse) }
7076
7137
  def upsert_content(lms_upsert_content_request_dto:, x_account_id:, retries: nil, timeout_ms: nil)
7077
- # upsert_content - Upsert Content
7138
+ # upsert_content - Upsert External Linking Learning Objects
7139
+ # Create or update an external linking learning object that redirects users to a provider platform for consumption and progress tracking.
7140
+ #
7141
+ # See [here](https://docs.stackone.com/integration-guides/lms/external-content-providers/introduction) for more information about external linking learning objects.
7078
7142
  request = Models::Operations::LmsUpsertContentRequest.new(
7079
7143
  lms_upsert_content_request_dto: lms_upsert_content_request_dto,
7080
7144
  x_account_id: x_account_id
@@ -35,11 +35,11 @@ module StackOne
35
35
  field :job_title, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('job_title') } }
36
36
  # The currency used for pay
37
37
  field :pay_currency, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('pay_currency') } }
38
- # The pay frequency
38
+ # How often the employee is paid
39
39
  field :pay_frequency, Crystalline::Nilable.new(Models::Shared::PayFrequency), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('pay_frequency') } }
40
- # The pay period
40
+ # The time period over which the pay rate is calculated
41
41
  field :pay_period, Crystalline::Nilable.new(Models::Shared::PayPeriod), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('pay_period') } }
42
- # The pay rate for the employee
42
+ # The amount of compensation for the employee
43
43
  field :pay_rate, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('pay_rate') } }
44
44
  # The payroll code of the employee
45
45
  field :payroll_code, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('payroll_code') } }
@@ -57,11 +57,11 @@ module StackOne
57
57
  field :manager, Crystalline::Nilable.new(Crystalline::Array.new(Models::Shared::EmploymentManagerApiModel)), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('manager') } }
58
58
  # The currency used for pay
59
59
  field :pay_currency, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('pay_currency') } }
60
- # The pay frequency
60
+ # How often the employee is paid
61
61
  field :pay_frequency, Crystalline::Nilable.new(Models::Shared::EmploymentPayFrequency), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('pay_frequency') } }
62
- # The pay period
62
+ # The time period over which the pay rate is calculated
63
63
  field :pay_period, Crystalline::Nilable.new(Models::Shared::EmploymentPayPeriod), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('pay_period') } }
64
- # The pay rate for the employee
64
+ # The amount of compensation for the employee
65
65
  field :pay_rate, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('pay_rate') } }
66
66
  # The payroll code of the employee
67
67
  field :payroll_code, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('payroll_code') } }
@@ -8,7 +8,7 @@ module StackOne
8
8
  module Models
9
9
  module Shared
10
10
 
11
- # The pay frequency
11
+ # How often the employee is paid
12
12
  class EmploymentPayFrequency
13
13
  extend T::Sig
14
14
  include Crystalline::MetadataFields
@@ -8,7 +8,7 @@ module StackOne
8
8
  module Models
9
9
  module Shared
10
10
 
11
- # The pay period
11
+ # The time period over which the pay rate is calculated
12
12
  class EmploymentPayPeriod
13
13
  extend T::Sig
14
14
  include Crystalline::MetadataFields
@@ -37,11 +37,11 @@ module StackOne
37
37
  field :passthrough, Crystalline::Nilable.new(Crystalline::Hash.new(Symbol, ::Object)), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('passthrough') } }
38
38
  # The currency used for pay
39
39
  field :pay_currency, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('pay_currency') } }
40
- # The pay frequency
40
+ # How often the employee is paid
41
41
  field :pay_frequency, Crystalline::Nilable.new(Models::Shared::HrisCreateEmployeeRequestDtoPayFrequency), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('pay_frequency') } }
42
- # The pay period
42
+ # The time period over which the pay rate is calculated
43
43
  field :pay_period, Crystalline::Nilable.new(Models::Shared::HrisCreateEmployeeRequestDtoPayPeriod), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('pay_period') } }
44
- # The pay rate for the employee
44
+ # The amount of compensation for the employee
45
45
  field :pay_rate, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('pay_rate') } }
46
46
  # The payroll code of the employee
47
47
  field :payroll_code, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('payroll_code') } }
@@ -8,7 +8,7 @@ module StackOne
8
8
  module Models
9
9
  module Shared
10
10
 
11
- # The pay frequency
11
+ # How often the employee is paid
12
12
  class HrisCreateEmployeeRequestDtoPayFrequency
13
13
  extend T::Sig
14
14
  include Crystalline::MetadataFields
@@ -8,7 +8,7 @@ module StackOne
8
8
  module Models
9
9
  module Shared
10
10
 
11
- # The pay period
11
+ # The time period over which the pay rate is calculated
12
12
  class HrisCreateEmployeeRequestDtoPayPeriod
13
13
  extend T::Sig
14
14
  include Crystalline::MetadataFields
@@ -37,11 +37,11 @@ module StackOne
37
37
  field :passthrough, Crystalline::Nilable.new(Crystalline::Hash.new(Symbol, ::Object)), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('passthrough') } }
38
38
  # The currency used for pay
39
39
  field :pay_currency, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('pay_currency') } }
40
- # The pay frequency
40
+ # How often the employee is paid
41
41
  field :pay_frequency, Crystalline::Nilable.new(Models::Shared::HrisCreateEmploymentRequestDtoPayFrequency), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('pay_frequency') } }
42
- # The pay period
42
+ # The time period over which the pay rate is calculated
43
43
  field :pay_period, Crystalline::Nilable.new(Models::Shared::HrisCreateEmploymentRequestDtoPayPeriod), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('pay_period') } }
44
- # The pay rate for the employee
44
+ # The amount of compensation for the employee
45
45
  field :pay_rate, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('pay_rate') } }
46
46
  # The payroll code of the employee
47
47
  field :payroll_code, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('payroll_code') } }
@@ -8,7 +8,7 @@ module StackOne
8
8
  module Models
9
9
  module Shared
10
10
 
11
- # The pay frequency
11
+ # How often the employee is paid
12
12
  class HrisCreateEmploymentRequestDtoPayFrequency
13
13
  extend T::Sig
14
14
  include Crystalline::MetadataFields
@@ -8,7 +8,7 @@ module StackOne
8
8
  module Models
9
9
  module Shared
10
10
 
11
- # The pay period
11
+ # The time period over which the pay rate is calculated
12
12
  class HrisCreateEmploymentRequestDtoPayPeriod
13
13
  extend T::Sig
14
14
  include Crystalline::MetadataFields
@@ -37,11 +37,11 @@ module StackOne
37
37
  field :passthrough, Crystalline::Nilable.new(Crystalline::Hash.new(Symbol, ::Object)), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('passthrough') } }
38
38
  # The currency used for pay
39
39
  field :pay_currency, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('pay_currency') } }
40
- # The pay frequency
40
+ # How often the employee is paid
41
41
  field :pay_frequency, Crystalline::Nilable.new(Models::Shared::HrisUpdateEmployeeRequestDtoPayFrequency), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('pay_frequency') } }
42
- # The pay period
42
+ # The time period over which the pay rate is calculated
43
43
  field :pay_period, Crystalline::Nilable.new(Models::Shared::HrisUpdateEmployeeRequestDtoPayPeriod), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('pay_period') } }
44
- # The pay rate for the employee
44
+ # The amount of compensation for the employee
45
45
  field :pay_rate, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('pay_rate') } }
46
46
  # The payroll code of the employee
47
47
  field :payroll_code, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('payroll_code') } }
@@ -8,7 +8,7 @@ module StackOne
8
8
  module Models
9
9
  module Shared
10
10
 
11
- # The pay frequency
11
+ # How often the employee is paid
12
12
  class HrisUpdateEmployeeRequestDtoPayFrequency
13
13
  extend T::Sig
14
14
  include Crystalline::MetadataFields
@@ -8,7 +8,7 @@ module StackOne
8
8
  module Models
9
9
  module Shared
10
10
 
11
- # The pay period
11
+ # The time period over which the pay rate is calculated
12
12
  class HrisUpdateEmployeeRequestDtoPayPeriod
13
13
  extend T::Sig
14
14
  include Crystalline::MetadataFields
@@ -35,11 +35,11 @@ module StackOne
35
35
  field :passthrough, Crystalline::Nilable.new(Crystalline::Hash.new(Symbol, ::Object)), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('passthrough') } }
36
36
  # The currency used for pay
37
37
  field :pay_currency, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('pay_currency') } }
38
- # The pay frequency
38
+ # How often the employee is paid
39
39
  field :pay_frequency, Crystalline::Nilable.new(Models::Shared::HrisUpdateEmploymentRequestDtoPayFrequency), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('pay_frequency') } }
40
- # The pay period
40
+ # The time period over which the pay rate is calculated
41
41
  field :pay_period, Crystalline::Nilable.new(Models::Shared::HrisUpdateEmploymentRequestDtoPayPeriod), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('pay_period') } }
42
- # The pay rate for the employee
42
+ # The amount of compensation for the employee
43
43
  field :pay_rate, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('pay_rate') } }
44
44
  # The payroll code of the employee
45
45
  field :payroll_code, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('payroll_code') } }
@@ -8,7 +8,7 @@ module StackOne
8
8
  module Models
9
9
  module Shared
10
10
 
11
- # The pay frequency
11
+ # How often the employee is paid
12
12
  class HrisUpdateEmploymentRequestDtoPayFrequency
13
13
  extend T::Sig
14
14
  include Crystalline::MetadataFields
@@ -8,7 +8,7 @@ module StackOne
8
8
  module Models
9
9
  module Shared
10
10
 
11
- # The pay period
11
+ # The time period over which the pay rate is calculated
12
12
  class HrisUpdateEmploymentRequestDtoPayPeriod
13
13
  extend T::Sig
14
14
  include Crystalline::MetadataFields
@@ -15,6 +15,9 @@ module StackOne
15
15
  enums do
16
16
  ACTIVE = new('active')
17
17
  INACTIVE = new('inactive')
18
+ SUSPENDED = new('suspended')
19
+ ARCHIVED = new('archived')
20
+ EXPIRED = new('expired')
18
21
  ERROR = new('error')
19
22
  end
20
23
  end
@@ -8,7 +8,7 @@ module StackOne
8
8
  module Models
9
9
  module Shared
10
10
 
11
- # The pay frequency
11
+ # How often the employee is paid
12
12
  class PayFrequency
13
13
  extend T::Sig
14
14
  include Crystalline::MetadataFields
@@ -8,7 +8,7 @@ module StackOne
8
8
  module Models
9
9
  module Shared
10
10
 
11
- # The pay period
11
+ # The time period over which the pay rate is calculated
12
12
  class PayPeriod
13
13
  extend T::Sig
14
14
  include Crystalline::MetadataFields
@@ -89,9 +89,9 @@ module StackOne
89
89
  end
90
90
  @language = 'ruby'
91
91
  @openapi_doc_version = '1.0.0'
92
- @sdk_version = '0.39.0'
93
- @gen_version = '2.745.2'
94
- @user_agent = 'speakeasy-sdk/ruby 0.39.0 2.745.2 1.0.0 stackone_client'
92
+ @sdk_version = '0.39.1'
93
+ @gen_version = '2.755.6'
94
+ @user_agent = 'speakeasy-sdk/ruby 0.39.1 2.755.6 1.0.0 stackone_client'
95
95
  end
96
96
 
97
97
  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.39.0
4
+ version: 0.39.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - StackOne
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-11-10 00:00:00.000000000 Z
11
+ date: 2025-11-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: base64