stackone_client 0.2.12 → 0.2.13

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: 1a2370d2202ea141703210c78634852bd6a6410ee98ec2f869b84f5d59f1180e
4
- data.tar.gz: 6de582ed7d30283dd4df1c31eb3ab54d94f530630dac49caebc2caacdac898b2
3
+ metadata.gz: 85fbdbd4aaa328f68d9fed9714d451e1088daf170531e9c782d8a4f487fda28e
4
+ data.tar.gz: 0df74eb7dab0f18685d854ac7888a081f283069046936a8db74b6ce3026388b1
5
5
  SHA512:
6
- metadata.gz: c6438e8365e9c469b029a20504074bbf7d9150cc6ad4a27992dc7f088492a128584e411eda05adccfb242d634b876e6a3cff9e414f623ca6a5985b62d6cf0502
7
- data.tar.gz: d775a2ded942ab55eb16aae9c4eff0467a6d09202de1c79c5af2eb0f315df79f4c15336ca003342dc84fca5ef742a84fbb94376d0e2c0d2c38b26167418953f1
6
+ metadata.gz: 87877046bebc7c9f581191e36b6ee14bef7aae5fd1c8f18d14ac66e4f301b37efb4a0ac66568b3694798371ed1035ab612d07f4b5bcf959e636757f60d5b7341
7
+ data.tar.gz: 17aa119390d606446e14568df7a23f6ac0535ca72925127bf783be2c925982e89006a26b6c585bb584674414e68bae31e549222c7ab259d22cbf8a646f194324
@@ -15,10 +15,18 @@ module StackOne
15
15
  field :application_ids, T.nilable(T::Array[::String]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('application_ids') } }
16
16
  # Candidate company
17
17
  field :company, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('company') } }
18
+ # Candidate created date
19
+ field :created_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('created_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
20
+ # Candidate email
21
+ field :email, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('email') } }
18
22
  # List of candidate emails
19
23
  field :emails, T.nilable(T::Array[::StackOne::Shared::CandidateEmail]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('emails') } }
20
24
  # Candidate first name
21
25
  field :first_name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('first_name') } }
26
+ # Candidate hired date
27
+ field :hired_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('hired_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
28
+ # Unique identifier
29
+ field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
22
30
  # Candidate last name
23
31
  field :last_name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('last_name') } }
24
32
  # Candidate name
@@ -27,20 +35,36 @@ module StackOne
27
35
  #
28
36
  # @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
29
37
  field :phone, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('phone') } }
38
+ # List of candidate phone numbers including the type of the number when available
39
+ field :phone_numbers, T.nilable(T::Array[::StackOne::Shared::PhoneNumber]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('phone_numbers') } }
40
+ # Provider's unique identifier
41
+ field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
42
+ # List of candidate social links
43
+ field :social_links, T.nilable(T::Array[::StackOne::Shared::SocialLink]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('social_links') } }
30
44
  # Candidate title
31
45
  field :title, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('title') } }
46
+ # Candidate updated date
47
+ field :updated_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
32
48
 
33
49
 
34
- sig { params(application_ids: T.nilable(T::Array[::String]), company: T.nilable(::String), emails: T.nilable(T::Array[::StackOne::Shared::CandidateEmail]), first_name: T.nilable(::String), last_name: T.nilable(::String), name: T.nilable(::String), phone: T.nilable(::String), title: T.nilable(::String)).void }
35
- def initialize(application_ids: nil, company: nil, emails: nil, first_name: nil, last_name: nil, name: nil, phone: nil, title: nil)
50
+ sig { params(application_ids: T.nilable(T::Array[::String]), company: T.nilable(::String), created_at: T.nilable(::DateTime), email: T.nilable(::String), emails: T.nilable(T::Array[::StackOne::Shared::CandidateEmail]), first_name: T.nilable(::String), hired_at: T.nilable(::DateTime), id: T.nilable(::String), last_name: T.nilable(::String), name: T.nilable(::String), phone: T.nilable(::String), phone_numbers: T.nilable(T::Array[::StackOne::Shared::PhoneNumber]), remote_id: T.nilable(::String), social_links: T.nilable(T::Array[::StackOne::Shared::SocialLink]), title: T.nilable(::String), updated_at: T.nilable(::DateTime)).void }
51
+ def initialize(application_ids: nil, company: nil, created_at: nil, email: nil, emails: nil, first_name: nil, hired_at: nil, id: nil, last_name: nil, name: nil, phone: nil, phone_numbers: nil, remote_id: nil, social_links: nil, title: nil, updated_at: nil)
36
52
  @application_ids = application_ids
37
53
  @company = company
54
+ @created_at = created_at
55
+ @email = email
38
56
  @emails = emails
39
57
  @first_name = first_name
58
+ @hired_at = hired_at
59
+ @id = id
40
60
  @last_name = last_name
41
61
  @name = name
42
62
  @phone = phone
63
+ @phone_numbers = phone_numbers
64
+ @remote_id = remote_id
65
+ @social_links = social_links
43
66
  @title = title
67
+ @updated_at = updated_at
44
68
  end
45
69
  end
46
70
  end
@@ -15,10 +15,16 @@ module StackOne
15
15
  field :application_ids, T.nilable(T::Array[::String]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('application_ids') } }
16
16
  # Candidate company
17
17
  field :company, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('company') } }
18
+ # Candidate created date
19
+ field :created_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('created_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
20
+ # Candidate email
21
+ field :email, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('email') } }
18
22
  # List of candidate emails
19
23
  field :emails, T.nilable(T::Array[::StackOne::Shared::CandidateEmail]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('emails') } }
20
24
  # Candidate first name
21
25
  field :first_name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('first_name') } }
26
+ # Candidate hired date
27
+ field :hired_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('hired_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
22
28
  # The ID of the candidate to update.
23
29
  field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
24
30
  # Candidate last name
@@ -29,21 +35,36 @@ module StackOne
29
35
  #
30
36
  # @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
31
37
  field :phone, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('phone') } }
38
+ # List of candidate phone numbers including the type of the number when available
39
+ field :phone_numbers, T.nilable(T::Array[::StackOne::Shared::PhoneNumber]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('phone_numbers') } }
40
+ # Provider's unique identifier
41
+ field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
42
+ # List of candidate social links
43
+ field :social_links, T.nilable(T::Array[::StackOne::Shared::SocialLink]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('social_links') } }
32
44
  # Candidate title
33
45
  field :title, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('title') } }
46
+ # Candidate updated date
47
+ field :updated_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
34
48
 
35
49
 
36
- sig { params(application_ids: T.nilable(T::Array[::String]), company: T.nilable(::String), emails: T.nilable(T::Array[::StackOne::Shared::CandidateEmail]), first_name: T.nilable(::String), id: T.nilable(::String), last_name: T.nilable(::String), name: T.nilable(::String), phone: T.nilable(::String), title: T.nilable(::String)).void }
37
- def initialize(application_ids: nil, company: nil, emails: nil, first_name: nil, id: nil, last_name: nil, name: nil, phone: nil, title: nil)
50
+ sig { params(application_ids: T.nilable(T::Array[::String]), company: T.nilable(::String), created_at: T.nilable(::DateTime), email: T.nilable(::String), emails: T.nilable(T::Array[::StackOne::Shared::CandidateEmail]), first_name: T.nilable(::String), hired_at: T.nilable(::DateTime), id: T.nilable(::String), last_name: T.nilable(::String), name: T.nilable(::String), phone: T.nilable(::String), phone_numbers: T.nilable(T::Array[::StackOne::Shared::PhoneNumber]), remote_id: T.nilable(::String), social_links: T.nilable(T::Array[::StackOne::Shared::SocialLink]), title: T.nilable(::String), updated_at: T.nilable(::DateTime)).void }
51
+ def initialize(application_ids: nil, company: nil, created_at: nil, email: nil, emails: nil, first_name: nil, hired_at: nil, id: nil, last_name: nil, name: nil, phone: nil, phone_numbers: nil, remote_id: nil, social_links: nil, title: nil, updated_at: nil)
38
52
  @application_ids = application_ids
39
53
  @company = company
54
+ @created_at = created_at
55
+ @email = email
40
56
  @emails = emails
41
57
  @first_name = first_name
58
+ @hired_at = hired_at
42
59
  @id = id
43
60
  @last_name = last_name
44
61
  @name = name
45
62
  @phone = phone
63
+ @phone_numbers = phone_numbers
64
+ @remote_id = remote_id
65
+ @social_links = social_links
46
66
  @title = title
67
+ @updated_at = updated_at
47
68
  end
48
69
  end
49
70
  end
@@ -10,9 +10,9 @@ module StackOne
10
10
 
11
11
  class LinkedAccountStatus < T::Enum
12
12
  enums do
13
- ACTIVE = new('Active')
14
- INACTIVE = new('Inactive')
15
- ERROR = new('Error')
13
+ ACTIVE = new('active')
14
+ INACTIVE = new('inactive')
15
+ ERROR = new('error')
16
16
  end
17
17
  end
18
18
 
@@ -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.12'
42
- @gen_version = '2.306.0'
43
- @user_agent = 'speakeasy-sdk/ruby 0.2.12 2.306.0 1.0.0 stackone_client'
41
+ @sdk_version = '0.2.13'
42
+ @gen_version = '2.306.3'
43
+ @user_agent = 'speakeasy-sdk/ruby 0.2.13 2.306.3 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.12
4
+ version: 0.2.13
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-15 00:00:00.000000000 Z
11
+ date: 2024-04-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday