stackone_client 0.2.25 → 0.2.26

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: 3f997d16d234096cb516f7afb426a119f16cbfdc08cb41558a419eadc421ecbe
4
- data.tar.gz: f170625bf4e83811b445b7f0d557bff896122f419657cb5301b9330228c63b12
3
+ metadata.gz: ebd8a8b9ddac796818a58dab1c0b74141300e009b1bc5aa7506c1bc6ba4b568e
4
+ data.tar.gz: ce258982a3e6d4747573e2065a6c410b530e8cee7fac4f18895fc4b39820a9a6
5
5
  SHA512:
6
- metadata.gz: 4397dfdddaf3216894ae6423ec97c5e43328cf867d8c75960f0deeab4152ccbc11b35aeb767e8b40312127c307bdbcc6a06abf4bd4e56b5c93a42360cc35d560
7
- data.tar.gz: c91e8c271456142076551de46b21007957129362b0b6fdb2ea9268bf4cfec97b36ddb2da2a7984b06fd62f77dda32a7aae08afc638fe5dfe98009c909bfd1b23
6
+ metadata.gz: 2cb6f8d43a86db2a81114b99bf912edc3907f5d063cf90bbbf9411545c3022754a42a0c1a8d2b434b43bd3254a3624c25d2b602874edb53dbac31e7b9a733640
7
+ data.tar.gz: 0752b3236c121406fbc58c9c9e8c2e15602066e843bfcbd4730f3d64a9b971be513de63fc964691d40e991440291f28b9dd4861cbbff479caa5f2b6924371555
@@ -15,6 +15,10 @@ module StackOne
15
15
  INTEGER = new('integer')
16
16
  LIST = new('list')
17
17
  TEXT = new('text')
18
+ FILE = new('file')
19
+ BOOLEAN = new('boolean')
20
+ CHECKBOX = new('checkbox')
21
+ RADIO = new('radio')
18
22
  UNMAPPED_VALUE = new('unmapped_value')
19
23
  end
20
24
  end
@@ -20,6 +20,7 @@ module StackOne
20
20
  TRAINING = new('training')
21
21
  ANNUAL_LEAVE = new('annual_leave')
22
22
  LEAVE_OF_ABSENCE = new('leave_of_absence')
23
+ BREAK = new('break')
23
24
  CHILD_CARE_LEAVE = new('child_care_leave')
24
25
  end
25
26
  end
@@ -15,8 +15,8 @@ module StackOne
15
15
  field :approver_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('approver_id') } }
16
16
  # The created date of the time off request
17
17
  field :created_date, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('created_date'), 'decoder': Utils.datetime_from_iso_format(true) } }
18
- # The duration of the time off request (in days)
19
- field :duration, T.nilable(::Float), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('duration') } }
18
+ # The duration of the time off request
19
+ field :duration, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('duration') } }
20
20
  # The employee ID
21
21
  field :employee_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('employee_id') } }
22
22
  # The end date of the time off request
@@ -39,7 +39,7 @@ module StackOne
39
39
  field :updated_date, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_date'), 'decoder': Utils.datetime_from_iso_format(true) } }
40
40
 
41
41
 
42
- sig { params(approver_id: T.nilable(::String), created_date: T.nilable(::DateTime), duration: T.nilable(::Float), employee_id: T.nilable(::String), end_date: T.nilable(::DateTime), end_half_day: T.nilable(T::Boolean), id: T.nilable(::String), remote_id: T.nilable(::String), start_date: T.nilable(::DateTime), start_half_day: T.nilable(T::Boolean), status: T.nilable(::StackOne::Shared::TimeOffStatus), type: T.nilable(::StackOne::Shared::TimeOffType), updated_date: T.nilable(::DateTime)).void }
42
+ sig { params(approver_id: T.nilable(::String), created_date: T.nilable(::DateTime), duration: T.nilable(::String), employee_id: T.nilable(::String), end_date: T.nilable(::DateTime), end_half_day: T.nilable(T::Boolean), id: T.nilable(::String), remote_id: T.nilable(::String), start_date: T.nilable(::DateTime), start_half_day: T.nilable(T::Boolean), status: T.nilable(::StackOne::Shared::TimeOffStatus), type: T.nilable(::StackOne::Shared::TimeOffType), updated_date: T.nilable(::DateTime)).void }
43
43
  def initialize(approver_id: nil, created_date: nil, duration: nil, employee_id: nil, end_date: nil, end_half_day: nil, id: nil, remote_id: nil, start_date: nil, start_half_day: nil, status: nil, type: nil, updated_date: nil)
44
44
  @approver_id = approver_id
45
45
  @created_date = created_date
@@ -20,6 +20,7 @@ module StackOne
20
20
  TRAINING = new('training')
21
21
  ANNUAL_LEAVE = new('annual_leave')
22
22
  LEAVE_OF_ABSENCE = new('leave_of_absence')
23
+ BREAK = new('break')
23
24
  CHILD_CARE_LEAVE = new('child_care_leave')
24
25
  end
25
26
  end
@@ -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.25'
42
- @gen_version = '2.338.1'
43
- @user_agent = 'speakeasy-sdk/ruby 0.2.25 2.338.1 1.0.0 stackone_client'
41
+ @sdk_version = '0.2.26'
42
+ @gen_version = '2.338.7'
43
+ @user_agent = 'speakeasy-sdk/ruby 0.2.26 2.338.7 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.25
4
+ version: 0.2.26
5
5
  platform: ruby
6
6
  authors:
7
7
  - StackOne
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-05-27 00:00:00.000000000 Z
11
+ date: 2024-06-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday