stackone_client 0.2.14 → 0.2.15

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: 01bc445d4ad1642f2d9891b7dc92c037692fb14ed6d441cf73f95057ce132a43
4
- data.tar.gz: 48c01083372b4354737c8aaaaa15d03db064d72dbd32bb8dd2ad4658a9b0e441
3
+ metadata.gz: 809215b59c20f45a26abd8696774aa50590a5b812620ec6d60c81ef05534af2a
4
+ data.tar.gz: 54e245697f54b76c941b034376c685cfa236f67e5032640823efa60c82ce2715
5
5
  SHA512:
6
- metadata.gz: c48ad289ee5b0e4b8dc9857d04467a60daeef9c80e5ff1bfef4011ccd9cba412e4114b8bcecadef00b22e028c9f9a0a877743f88b7319305ddf42c07cd8386d9
7
- data.tar.gz: 54e4951099f32e359f6e5a231fb82182d0e9b3d691192e72c0811e403bc959b59eadaf8064ed3956a7e49026956c11ee68fcdacb62af685e8388289dacd1f186
6
+ metadata.gz: b4a3352cfad52f9ca565a1b6f84e38f7e4553452a23f7a4dd0612cfc844fd160a8b6da5b27ef64a3c8579c6072611c46ceb091e10cf00889bfa9587d906b0a36
7
+ data.tar.gz: f04854a874109174c018dbb62430ab7c79a2d02a72e7931fa47e501965f9706e3593e55a7220afbc3912238bcedb287760475d0f71f8c394765f83dc90fa75bb
@@ -14,10 +14,12 @@ module StackOne
14
14
  AVATAR = new('avatar')
15
15
  COVER_LETTER = new('cover_letter')
16
16
  PROFILE_PICTURE = new('profile_picture')
17
+ POLICY = new('policy')
17
18
  PASSPORT = new('passport')
18
19
  TAKE_HOME_TEST = new('take_home_test')
19
20
  OFFER_LETTER = new('offer_letter')
20
21
  SIGNED_OFFER_LETTER = new('signed_offer_letter')
22
+ NATIONAL_ID = new('national_id')
21
23
  OFFER_PACKET = new('offer_packet')
22
24
  OTHER = new('other')
23
25
  UNMAPPED_VALUE = new('unmapped_value')
@@ -507,6 +507,7 @@ module StackOne
507
507
  FE_LAUNCH = new('fe_launch')
508
508
  DNA = new('dna')
509
509
  MLP = new('mlp')
510
+ MLE = new('mle')
510
511
  DPG = new('dpg')
511
512
  DFAC = new('dfac')
512
513
  KPXX = new('kpxx')
@@ -18,18 +18,18 @@ module StackOne
18
18
  # The name of the custom field.
19
19
  field :name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } }
20
20
  # An array of possible options for the custom field.
21
- field :options, T.nilable(T::Array[::String]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('options') } }
21
+ field :options, T.nilable(T::Array[::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('options') } }
22
22
  # Provider's unique identifier
23
23
  field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
24
24
  # The type of the custom field.
25
25
  field :type, T.nilable(::StackOne::Shared::EmployeeCustomFieldsType), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('type') } }
26
26
  # The value associated with the custom field.
27
- field :value, T.nilable(::StackOne::Shared::EmployeeCustomFieldsValue), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value') } }
27
+ field :value, T.nilable(::Object), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value') } }
28
28
  # The unique identifier for the value of the custom field.
29
29
  field :value_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value_id') } }
30
30
 
31
31
 
32
- sig { params(description: T.nilable(::String), id: T.nilable(::String), name: T.nilable(::String), options: T.nilable(T::Array[::String]), remote_id: T.nilable(::String), type: T.nilable(::StackOne::Shared::EmployeeCustomFieldsType), value: T.nilable(::StackOne::Shared::EmployeeCustomFieldsValue), value_id: T.nilable(::String)).void }
32
+ sig { params(description: T.nilable(::String), id: T.nilable(::String), name: T.nilable(::String), options: T.nilable(T::Array[::Object]), remote_id: T.nilable(::String), type: T.nilable(::StackOne::Shared::EmployeeCustomFieldsType), value: T.nilable(::Object), value_id: T.nilable(::String)).void }
33
33
  def initialize(description: nil, id: nil, name: nil, options: nil, remote_id: nil, type: nil, value: nil, value_id: nil)
34
34
  @description = description
35
35
  @id = id
@@ -14,10 +14,10 @@ module StackOne
14
14
 
15
15
  field :source_value, T.nilable(::Object), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source_value') } }
16
16
 
17
- field :value, T.nilable(::StackOne::Shared::EmployeeCustomFieldsSchemasValue), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(::StackOne::Shared::EmployeeCustomFieldsSchemasValue, true) } }
17
+ field :value, T.nilable(::StackOne::Shared::EmployeeCustomFieldsValue), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(::StackOne::Shared::EmployeeCustomFieldsValue, true) } }
18
18
 
19
19
 
20
- sig { params(source_value: T.nilable(::Object), value: T.nilable(::StackOne::Shared::EmployeeCustomFieldsSchemasValue)).void }
20
+ sig { params(source_value: T.nilable(::Object), value: T.nilable(::StackOne::Shared::EmployeeCustomFieldsValue)).void }
21
21
  def initialize(source_value: nil, value: nil)
22
22
  @source_value = source_value
23
23
  @value = value
@@ -7,14 +7,17 @@
7
7
  module StackOne
8
8
  module Shared
9
9
 
10
- # The value associated with the custom field.
11
- class EmployeeCustomFieldsValue < ::StackOne::Utils::FieldAugmented
12
- extend T::Sig
13
10
 
14
-
15
-
16
-
17
- def initialize; end
11
+ class EmployeeCustomFieldsValue < T::Enum
12
+ enums do
13
+ DATE = new('date')
14
+ FLOAT = new('float')
15
+ INTEGER = new('integer')
16
+ LIST = new('list')
17
+ TEXT = new('text')
18
+ UNMAPPED_VALUE = new('unmapped_value')
19
+ end
18
20
  end
21
+
19
22
  end
20
23
  end
@@ -10,16 +10,25 @@ module StackOne
10
10
 
11
11
  class HrisDocumentApiModelValue < T::Enum
12
12
  enums do
13
- RESUME = new('resume')
14
- AVATAR = new('avatar')
15
- COVER_LETTER = new('cover_letter')
16
- PROFILE_PICTURE = new('profile_picture')
13
+ APPLICATION = new('application')
14
+ ACADEMIC = new('academic')
15
+ CONTRACT = new('contract')
16
+ CERTIFICATES = new('certificates')
17
+ VISA = new('visa')
17
18
  PASSPORT = new('passport')
18
- TAKE_HOME_TEST = new('take_home_test')
19
+ DRIVER_LICENSE = new('driver_license')
20
+ PAYSLIP = new('payslip')
21
+ PAYROLL = new('payroll')
22
+ APPRAISAL = new('appraisal')
23
+ RESUME = new('resume')
24
+ POLICY = new('policy')
19
25
  OFFER_LETTER = new('offer_letter')
20
- SIGNED_OFFER_LETTER = new('signed_offer_letter')
21
- OFFER_PACKET = new('offer_packet')
26
+ POLICY_AGREEMENT = new('policy_agreement')
27
+ HOME_ADDRESS = new('home_address')
28
+ NATIONAL_ID = new('national_id')
22
29
  OTHER = new('other')
30
+ BENEFIT = new('benefit')
31
+ ID_VERIFICATION = new('id_verification')
23
32
  UNMAPPED_VALUE = new('unmapped_value')
24
33
  end
25
34
  end
@@ -507,6 +507,7 @@ module StackOne
507
507
  FE_LAUNCH = new('fe_launch')
508
508
  DNA = new('dna')
509
509
  MLP = new('mlp')
510
+ MLE = new('mle')
510
511
  DPG = new('dpg')
511
512
  DFAC = new('dfac')
512
513
  KPXX = new('kpxx')
@@ -198,9 +198,8 @@ module StackOne
198
198
  autoload :EmploymentSchemasPayPeriodValue, 'stack_one/models/shared/employment_schemas_pay_period_value.rb'
199
199
  autoload :PayPeriod, 'stack_one/models/shared/pay_period.rb'
200
200
  autoload :Employment, 'stack_one/models/shared/employment.rb'
201
- autoload :EmployeeCustomFieldsSchemasValue, 'stack_one/models/shared/employeecustomfields_schemas_value.rb'
202
- autoload :EmployeeCustomFieldsType, 'stack_one/models/shared/employeecustomfields_type.rb'
203
201
  autoload :EmployeeCustomFieldsValue, 'stack_one/models/shared/employeecustomfields_value.rb'
202
+ autoload :EmployeeCustomFieldsType, 'stack_one/models/shared/employeecustomfields_type.rb'
204
203
  autoload :EmployeeCustomFields, 'stack_one/models/shared/employeecustomfields.rb'
205
204
  autoload :CountryCodeEnumValue, 'stack_one/models/shared/countrycodeenum_value.rb'
206
205
  autoload :CountryCodeEnum, 'stack_one/models/shared/countrycodeenum.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.14'
42
- @gen_version = '2.312.0'
43
- @user_agent = 'speakeasy-sdk/ruby 0.2.14 2.312.0 1.0.0 stackone_client'
41
+ @sdk_version = '0.2.15'
42
+ @gen_version = '2.312.1'
43
+ @user_agent = 'speakeasy-sdk/ruby 0.2.15 2.312.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.14
4
+ version: 0.2.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - StackOne
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-04-20 00:00:00.000000000 Z
11
+ date: 2024-04-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -444,7 +444,6 @@ files:
444
444
  - lib/stack_one/models/shared/employee_schemas_work_location_value.rb
445
445
  - lib/stack_one/models/shared/employee_value.rb
446
446
  - lib/stack_one/models/shared/employeecustomfields.rb
447
- - lib/stack_one/models/shared/employeecustomfields_schemas_value.rb
448
447
  - lib/stack_one/models/shared/employeecustomfields_type.rb
449
448
  - lib/stack_one/models/shared/employeecustomfields_value.rb
450
449
  - lib/stack_one/models/shared/employeeresult.rb
@@ -1,23 +0,0 @@
1
- # Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
2
-
3
- # typed: true
4
- # frozen_string_literal: true
5
-
6
-
7
- module StackOne
8
- module Shared
9
-
10
-
11
- class EmployeeCustomFieldsSchemasValue < T::Enum
12
- enums do
13
- DATE = new('date')
14
- FLOAT = new('float')
15
- INTEGER = new('integer')
16
- LIST = new('list')
17
- TEXT = new('text')
18
- UNMAPPED_VALUE = new('unmapped_value')
19
- end
20
- end
21
-
22
- end
23
- end