gusto_embedded_client 0.2.6 → 0.2.7
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 +4 -4
- data/lib/gusto_embedded/models/operations/post_v1_payrolls_payroll_id_calculate_accruing_time_off_hours_response.rb +2 -2
- data/lib/gusto_embedded/models/shared/accruing_time_off_hour_object.rb +24 -0
- data/lib/gusto_embedded/models/shared.rb +1 -0
- data/lib/gusto_embedded/sdkconfiguration.rb +2 -2
- data/lib/gusto_embedded/timeoffpolicies.rb +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7b1f96dfb5e07ffec42f81e655a4556aabc7ef9009bbf2d4816d7ca744546ef1
|
4
|
+
data.tar.gz: 712a4e3e64565dd960046d989c5bbd8eefd8440f0c3aa64446bdaa7d511658b1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ab5b0aed246e607fbe8278f1f03ce3d25fc4e676fb9db3cd7430368ab079c261edba393cbf24c628bdf0bb8897c52e2643e8e814e46ee10f43130e6579a7ddb0
|
7
|
+
data.tar.gz: d08656092dab8db8f3d717c7527969ef160f07efe5efabdce3280e12ed8ef95bd67b3685a4ff12d5bb7cbc63221acb5b365e4b9aee0ebf8cbb3266a26df328a8
|
@@ -18,7 +18,7 @@ module GustoEmbedded
|
|
18
18
|
# HTTP response status code for this operation
|
19
19
|
field :status_code, ::Integer
|
20
20
|
# Example response
|
21
|
-
field :accruing_time_off_hour_object, T.nilable(
|
21
|
+
field :accruing_time_off_hour_object, T.nilable(::GustoEmbedded::Shared::AccruingTimeOffHourObject)
|
22
22
|
# Unprocessable Entity
|
23
23
|
#
|
24
24
|
# This may happen when the body of your request contains errors such as `invalid_attribute_value`, or the request fails due to an `invalid_operation`. See the [Errors Categories](https://docs.gusto.com/embedded-payroll/docs/error-categories) guide for more details.
|
@@ -26,7 +26,7 @@ module GustoEmbedded
|
|
26
26
|
field :unprocessable_entity_error_object, T.nilable(::GustoEmbedded::Shared::UnprocessableEntityErrorObject)
|
27
27
|
|
28
28
|
|
29
|
-
sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, accruing_time_off_hour_object: T.nilable(
|
29
|
+
sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, accruing_time_off_hour_object: T.nilable(::GustoEmbedded::Shared::AccruingTimeOffHourObject), unprocessable_entity_error_object: T.nilable(::GustoEmbedded::Shared::UnprocessableEntityErrorObject)).void }
|
30
30
|
def initialize(content_type: nil, raw_response: nil, status_code: nil, accruing_time_off_hour_object: nil, unprocessable_entity_error_object: nil)
|
31
31
|
@content_type = content_type
|
32
32
|
@raw_response = raw_response
|
@@ -0,0 +1,24 @@
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
2
|
+
|
3
|
+
# typed: true
|
4
|
+
# frozen_string_literal: true
|
5
|
+
|
6
|
+
|
7
|
+
module GustoEmbedded
|
8
|
+
module Shared
|
9
|
+
|
10
|
+
# Example response
|
11
|
+
class AccruingTimeOffHourObject < ::Crystalline::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
|
15
|
+
field :hours_earned, T::Array[::GustoEmbedded::Shared::AccruingTimeOffHour], { 'format_json': { 'letter_case': ::GustoEmbedded::Utils.field_name('hours_earned') } }
|
16
|
+
|
17
|
+
|
18
|
+
sig { params(hours_earned: T::Array[::GustoEmbedded::Shared::AccruingTimeOffHour]).void }
|
19
|
+
def initialize(hours_earned: nil)
|
20
|
+
@hours_earned = hours_earned
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
@@ -210,6 +210,7 @@ module GustoEmbedded
|
|
210
210
|
autoload :EmployeePayStub, 'gusto_embedded/models/shared/employee_pay_stub.rb'
|
211
211
|
autoload :EmployeeCheckNumberMapping, 'gusto_embedded/models/shared/employee_check_number_mapping.rb'
|
212
212
|
autoload :PayrollCheck, 'gusto_embedded/models/shared/payroll_check.rb'
|
213
|
+
autoload :AccruingTimeOffHourObject, 'gusto_embedded/models/shared/accruing_time_off_hour_object.rb'
|
213
214
|
autoload :AccruingTimeOffHour, 'gusto_embedded/models/shared/accruing_time_off_hour.rb'
|
214
215
|
autoload :PolicyType, 'gusto_embedded/models/shared/policy_type.rb'
|
215
216
|
autoload :TimeOffPolicyEmployees, 'gusto_embedded/models/shared/time_off_policy_employees.rb'
|
@@ -46,9 +46,9 @@ module GustoEmbedded
|
|
46
46
|
end
|
47
47
|
@language = 'ruby'
|
48
48
|
@openapi_doc_version = '2024-04-01'
|
49
|
-
@sdk_version = '0.2.
|
49
|
+
@sdk_version = '0.2.7'
|
50
50
|
@gen_version = '2.545.4'
|
51
|
-
@user_agent = 'speakeasy-sdk/ruby 0.2.
|
51
|
+
@user_agent = 'speakeasy-sdk/ruby 0.2.7 2.545.4 2024-04-01 gusto_embedded_client'
|
52
52
|
end
|
53
53
|
|
54
54
|
sig { returns([String, T::Hash[Symbol, String]]) }
|
@@ -75,7 +75,7 @@ module GustoEmbedded
|
|
75
75
|
)
|
76
76
|
if r.status == 200
|
77
77
|
if Utils.match_content_type(content_type, 'application/json')
|
78
|
-
out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body),
|
78
|
+
out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::GustoEmbedded::Shared::AccruingTimeOffHourObject)
|
79
79
|
res.accruing_time_off_hour_object = out
|
80
80
|
end
|
81
81
|
elsif r.status == 422
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gusto_embedded_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gusto
|
@@ -959,6 +959,7 @@ files:
|
|
959
959
|
- lib/gusto_embedded/models/shared.rb
|
960
960
|
- lib/gusto_embedded/models/shared/account_type.rb
|
961
961
|
- lib/gusto_embedded/models/shared/accruing_time_off_hour.rb
|
962
|
+
- lib/gusto_embedded/models/shared/accruing_time_off_hour_object.rb
|
962
963
|
- lib/gusto_embedded/models/shared/ach_transaction.rb
|
963
964
|
- lib/gusto_embedded/models/shared/ach_transaction_recipient_type.rb
|
964
965
|
- lib/gusto_embedded/models/shared/active_companies.rb
|