stackone_client 0.2.24 → 0.2.26

Sign up to get free protection for your applications and to get access to all the features.
Files changed (28) hide show
  1. checksums.yaml +4 -4
  2. data/lib/stack_one/models/shared/atsdocumentapimodel.rb +11 -3
  3. data/lib/stack_one/models/shared/atsdocumentapimodel_schemas_value.rb +32 -0
  4. data/lib/stack_one/models/shared/atsdocumentapimodel_type.rb +2 -2
  5. data/lib/stack_one/models/shared/atsdocumentapimodel_value.rb +1210 -13
  6. data/lib/stack_one/models/shared/contactscustomfields_value.rb +4 -0
  7. data/lib/stack_one/models/shared/content.rb +2 -2
  8. data/lib/stack_one/models/shared/content_file_format.rb +27 -0
  9. data/lib/stack_one/models/shared/document.rb +11 -3
  10. data/lib/stack_one/models/shared/file_format.rb +2 -2
  11. data/lib/stack_one/models/shared/hriscreatetimeoffrequestdto_schemas_value.rb +1 -0
  12. data/lib/stack_one/models/shared/hriscreateworkeligibilityrequestdto_file_format.rb +27 -0
  13. data/lib/stack_one/models/shared/hriscreateworkeligibilityrequestdto_schemas_document_value.rb +1227 -0
  14. data/lib/stack_one/models/shared/hrisdocumentapimodel.rb +11 -3
  15. data/lib/stack_one/models/shared/hrisdocumentapimodel_file_format.rb +27 -0
  16. data/lib/stack_one/models/shared/hrisdocumentapimodel_schemas_type_value.rb +41 -0
  17. data/lib/stack_one/models/shared/hrisdocumentapimodel_schemas_value.rb +1210 -23
  18. data/lib/stack_one/models/shared/hrisdocumentapimodel_type.rb +2 -2
  19. data/lib/stack_one/models/shared/hrisdocumentapimodel_value.rb +1 -0
  20. data/lib/stack_one/models/shared/hrisdocumentsuploadrequestdto_value.rb +1 -0
  21. data/lib/stack_one/models/shared/timeoff.rb +3 -3
  22. data/lib/stack_one/models/shared/timeoff_schemas_value.rb +1 -0
  23. data/lib/stack_one/models/shared/workeligibility_document.rb +11 -3
  24. data/lib/stack_one/models/shared/workeligibility_file_format.rb +27 -0
  25. data/lib/stack_one/models/shared/workeligibility_schemas_document_value.rb +1227 -0
  26. data/lib/stack_one/models/shared.rb +9 -1
  27. data/lib/stack_one/sdkconfiguration.rb +3 -3
  28. metadata +10 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0f747f0fe6db6b7dc14fe9b19ec0102f372c77c3d1851113bd2c90de144df78d
4
- data.tar.gz: 1143a69c2f846a0742b1f212547ba979326f728f64527624000c286097cb4b05
3
+ metadata.gz: ebd8a8b9ddac796818a58dab1c0b74141300e009b1bc5aa7506c1bc6ba4b568e
4
+ data.tar.gz: ce258982a3e6d4747573e2065a6c410b530e8cee7fac4f18895fc4b39820a9a6
5
5
  SHA512:
6
- metadata.gz: dd9965addc2d4c11a9c2e569c6efb95a637ec8d661595f86c0fa4428db073197321ed3200e0eb5a40ecce151739b6bf7a8e14a0321921dec7ecc879d4890cc47
7
- data.tar.gz: 0d31cd2df143f7a7ca1e754875833108c0b5adaf6b5e71214fc77a4f10e6f278ee1415af40935c869300b2921f93c098277a95e15a986b091bdf7aa0e8b6764f
6
+ metadata.gz: 2cb6f8d43a86db2a81114b99bf912edc3907f5d063cf90bbbf9411545c3022754a42a0c1a8d2b434b43bd3254a3624c25d2b602874edb53dbac31e7b9a733640
7
+ data.tar.gz: 0752b3236c121406fbc58c9c9e8c2e15602066e843bfcbd4730f3d64a9b971be513de63fc964691d40e991440291f28b9dd4861cbbff479caa5f2b6924371555
@@ -13,10 +13,14 @@ module StackOne
13
13
 
14
14
  # The category of the the document
15
15
  field :category, T.nilable(::StackOne::Shared::Category), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('category') } }
16
- # The content of the file
16
+ # The content of the file. Deprecated, use `url` and `file_format` one level up instead
17
+ #
18
+ # @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
17
19
  field :contents, T.nilable(T::Array[::StackOne::Shared::Content]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('contents') } }
18
20
  # The creation date of the file
19
21
  field :created_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('created_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
22
+ # The file format of the file
23
+ field :file_format, T.nilable(::StackOne::Shared::FileFormat), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('file_format') } }
20
24
  # Unique identifier
21
25
  field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
22
26
  # The name of the file
@@ -25,6 +29,8 @@ module StackOne
25
29
  field :path, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('path') } }
26
30
  # Provider's unique identifier
27
31
  field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
32
+ # URL where the file content is located
33
+ field :remote_url, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_url') } }
28
34
  # The content type of the document
29
35
  #
30
36
  # @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
@@ -33,15 +39,17 @@ module StackOne
33
39
  field :updated_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
34
40
 
35
41
 
36
- sig { params(category: T.nilable(::StackOne::Shared::Category), contents: T.nilable(T::Array[::StackOne::Shared::Content]), created_at: T.nilable(::DateTime), id: T.nilable(::String), name: T.nilable(::String), path: T.nilable(::String), remote_id: T.nilable(::String), type: T.nilable(::StackOne::Shared::AtsDocumentApiModelType), updated_at: T.nilable(::DateTime)).void }
37
- def initialize(category: nil, contents: nil, created_at: nil, id: nil, name: nil, path: nil, remote_id: nil, type: nil, updated_at: nil)
42
+ sig { params(category: T.nilable(::StackOne::Shared::Category), contents: T.nilable(T::Array[::StackOne::Shared::Content]), created_at: T.nilable(::DateTime), file_format: T.nilable(::StackOne::Shared::FileFormat), id: T.nilable(::String), name: T.nilable(::String), path: T.nilable(::String), remote_id: T.nilable(::String), remote_url: T.nilable(::String), type: T.nilable(::StackOne::Shared::AtsDocumentApiModelType), updated_at: T.nilable(::DateTime)).void }
43
+ def initialize(category: nil, contents: nil, created_at: nil, file_format: nil, id: nil, name: nil, path: nil, remote_id: nil, remote_url: nil, type: nil, updated_at: nil)
38
44
  @category = category
39
45
  @contents = contents
40
46
  @created_at = created_at
47
+ @file_format = file_format
41
48
  @id = id
42
49
  @name = name
43
50
  @path = path
44
51
  @remote_id = remote_id
52
+ @remote_url = remote_url
45
53
  @type = type
46
54
  @updated_at = updated_at
47
55
  end
@@ -0,0 +1,32 @@
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
+ # AtsDocumentApiModelSchemasValue - The category of the file
11
+ class AtsDocumentApiModelSchemasValue < T::Enum
12
+ enums do
13
+ RESUME = new('resume')
14
+ AVATAR = new('avatar')
15
+ COVER_LETTER = new('cover_letter')
16
+ PROFILE_PICTURE = new('profile_picture')
17
+ POLICY = new('policy')
18
+ PASSPORT = new('passport')
19
+ ASSESSMENT = new('assessment')
20
+ INTERVIEW_ATTACHMENT = new('interview_attachment')
21
+ TAKE_HOME_TEST = new('take_home_test')
22
+ OFFER_LETTER = new('offer_letter')
23
+ SIGNED_OFFER_LETTER = new('signed_offer_letter')
24
+ NATIONAL_ID = new('national_id')
25
+ OFFER_PACKET = new('offer_packet')
26
+ OTHER = new('other')
27
+ UNMAPPED_VALUE = new('unmapped_value')
28
+ end
29
+ end
30
+
31
+ end
32
+ end
@@ -16,10 +16,10 @@ module StackOne
16
16
 
17
17
  field :source_value, T.nilable(::Object), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source_value') } }
18
18
  # The category of the file
19
- field :value, T.nilable(::StackOne::Shared::AtsDocumentApiModelValue), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(::StackOne::Shared::AtsDocumentApiModelValue, true) } }
19
+ field :value, T.nilable(::StackOne::Shared::AtsDocumentApiModelSchemasValue), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(::StackOne::Shared::AtsDocumentApiModelSchemasValue, true) } }
20
20
 
21
21
 
22
- sig { params(source_value: T.nilable(::Object), value: T.nilable(::StackOne::Shared::AtsDocumentApiModelValue)).void }
22
+ sig { params(source_value: T.nilable(::Object), value: T.nilable(::StackOne::Shared::AtsDocumentApiModelSchemasValue)).void }
23
23
  def initialize(source_value: nil, value: nil)
24
24
  @source_value = source_value
25
25
  @value = value