stackone_client 0.2.6 → 0.2.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (55) hide show
  1. checksums.yaml +4 -4
  2. data/lib/stack_one/ats.rb +1 -1
  3. data/lib/stack_one/hris.rb +50 -0
  4. data/lib/stack_one/models/operations/ats_get_application_document_request.rb +3 -22
  5. data/lib/stack_one/models/operations/ats_get_application_offer_request.rb +3 -22
  6. data/lib/stack_one/models/operations/ats_get_application_request.rb +3 -22
  7. data/lib/stack_one/models/operations/ats_get_application_scorecard_request.rb +3 -22
  8. data/lib/stack_one/models/operations/ats_get_candidate_note_request.rb +3 -22
  9. data/lib/stack_one/models/operations/ats_get_candidate_request.rb +3 -22
  10. data/lib/stack_one/models/operations/ats_get_department_request.rb +3 -22
  11. data/lib/stack_one/models/operations/ats_get_interview_request.rb +3 -22
  12. data/lib/stack_one/models/operations/ats_get_interview_stage_request.rb +3 -22
  13. data/lib/stack_one/models/operations/ats_get_job_posting_request.rb +3 -22
  14. data/lib/stack_one/models/operations/ats_get_job_request.rb +3 -22
  15. data/lib/stack_one/models/operations/ats_get_location_request.rb +3 -22
  16. data/lib/stack_one/models/operations/ats_get_offer_request.rb +3 -22
  17. data/lib/stack_one/models/operations/ats_get_rejected_reason_request.rb +3 -22
  18. data/lib/stack_one/models/operations/ats_get_user_request.rb +3 -22
  19. data/lib/stack_one/models/operations/ats_list_application_documents_request.rb +1 -1
  20. data/lib/stack_one/models/operations/ats_list_application_scorecards_request.rb +1 -1
  21. data/lib/stack_one/models/operations/ats_list_applications_offers_request.rb +1 -1
  22. data/lib/stack_one/models/operations/ats_list_applications_request.rb +1 -1
  23. data/lib/stack_one/models/operations/ats_list_candidate_notes_request.rb +1 -1
  24. data/lib/stack_one/models/operations/ats_list_candidates_request.rb +1 -1
  25. data/lib/stack_one/models/operations/ats_list_departments_request.rb +1 -1
  26. data/lib/stack_one/models/operations/ats_list_interview_stages_request.rb +1 -1
  27. data/lib/stack_one/models/operations/ats_list_interviews_request.rb +1 -1
  28. data/lib/stack_one/models/operations/ats_list_job_postings_request.rb +1 -1
  29. data/lib/stack_one/models/operations/ats_list_jobs_request.rb +1 -1
  30. data/lib/stack_one/models/operations/ats_list_locations_request.rb +1 -1
  31. data/lib/stack_one/models/operations/ats_list_offers_request.rb +1 -1
  32. data/lib/stack_one/models/operations/ats_list_rejected_reasons_request.rb +1 -1
  33. data/lib/stack_one/models/operations/ats_list_users_request.rb +1 -1
  34. data/lib/stack_one/models/operations/hris_upload_employee_document_request.rb +30 -0
  35. data/lib/stack_one/models/operations/hris_upload_employee_document_response.rb +33 -0
  36. data/lib/stack_one/models/operations.rb +2 -0
  37. data/lib/stack_one/models/shared/atscreateapplicationrequestdto.rb +5 -10
  38. data/lib/stack_one/models/shared/atsupdateapplicationrequestdto.rb +5 -28
  39. data/lib/stack_one/models/shared/content.rb +5 -2
  40. data/lib/stack_one/models/shared/employee.rb +5 -2
  41. data/lib/stack_one/models/shared/employee_schemas_preferred_language_value.rb +115 -0
  42. data/lib/stack_one/models/shared/hriscreateemployeerequestdto.rb +5 -2
  43. data/lib/stack_one/models/shared/hriscreateemployeerequestdto_preferred_language.rb +27 -0
  44. data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_preferred_language_value.rb +115 -0
  45. data/lib/stack_one/models/shared/preferred_language.rb +27 -0
  46. data/lib/stack_one/models/shared/unifieduploadrequestdto.rb +59 -0
  47. data/lib/stack_one/models/shared/unifieduploadrequestdto_confidential.rb +27 -0
  48. data/lib/stack_one/models/shared/{atsupdateapplicationrequestdto_application_status.rb → unifieduploadrequestdto_file_format.rb} +6 -6
  49. data/lib/stack_one/models/shared/unifieduploadrequestdto_schemas_value.rb +1226 -0
  50. data/lib/stack_one/models/shared/unifieduploadrequestdto_value.rb +19 -0
  51. data/lib/stack_one/models/shared.rb +12 -6
  52. data/lib/stack_one/sdkconfiguration.rb +3 -3
  53. metadata +13 -5
  54. data/lib/stack_one/models/shared/atsupdateapplicationrequestdto_candidate.rb +0 -30
  55. data/lib/stack_one/models/shared/atsupdateapplicationrequestdto_value.rb +0 -32
@@ -0,0 +1,115 @@
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
+ # EmployeeSchemasPreferredLanguageValue - The ISO639-2 Code of the language
11
+ class EmployeeSchemasPreferredLanguageValue < T::Enum
12
+ enums do
13
+ AAR = new('aar')
14
+ AFR = new('afr')
15
+ AMH = new('amh')
16
+ ARA = new('ara')
17
+ AYM = new('aym')
18
+ AZE = new('aze')
19
+ BEL = new('bel')
20
+ BUL = new('bul')
21
+ BIS = new('bis')
22
+ BEN = new('ben')
23
+ BOS = new('bos')
24
+ BYN = new('byn')
25
+ CAT = new('cat')
26
+ CHA = new('cha')
27
+ CES = new('ces')
28
+ DEU = new('deu')
29
+ DIV = new('div')
30
+ DZO = new('dzo')
31
+ ELL = new('ell')
32
+ ENG = new('eng')
33
+ SPA = new('spa')
34
+ EST = new('est')
35
+ FAS = new('fas')
36
+ FAN = new('fan')
37
+ FUL = new('ful')
38
+ FIN = new('fin')
39
+ FIJ = new('fij')
40
+ FAO = new('fao')
41
+ FRA = new('fra')
42
+ GLE = new('gle')
43
+ GRN = new('grn')
44
+ GLV = new('glv')
45
+ HEB = new('heb')
46
+ HIN = new('hin')
47
+ HRV = new('hrv')
48
+ HAT = new('hat')
49
+ HUN = new('hun')
50
+ HYE = new('hye')
51
+ IND = new('ind')
52
+ ISL = new('isl')
53
+ ITA = new('ita')
54
+ JPN = new('jpn')
55
+ KAT = new('kat')
56
+ KON = new('kon')
57
+ KAZ = new('kaz')
58
+ KAL = new('kal')
59
+ KHM = new('khm')
60
+ KOR = new('kor')
61
+ KUR = new('kur')
62
+ KIR = new('kir')
63
+ LAT = new('lat')
64
+ LTZ = new('ltz')
65
+ LIN = new('lin')
66
+ LAO = new('lao')
67
+ LIT = new('lit')
68
+ LUB = new('lub')
69
+ LAV = new('lav')
70
+ MLG = new('mlg')
71
+ MAH = new('mah')
72
+ MRI = new('mri')
73
+ MKD = new('mkd')
74
+ MSA = new('msa')
75
+ MLT = new('mlt')
76
+ MYA = new('mya')
77
+ NOB = new('nob')
78
+ NEP = new('nep')
79
+ NLD = new('nld')
80
+ NNO = new('nno')
81
+ NOR = new('nor')
82
+ NBL = new('nbl')
83
+ NYA = new('nya')
84
+ PAN = new('pan')
85
+ POL = new('pol')
86
+ PUS = new('pus')
87
+ POR = new('por')
88
+ RAR = new('rar')
89
+ ROH = new('roh')
90
+ RUP = new('rup')
91
+ RON = new('ron')
92
+ RUS = new('rus')
93
+ KIN = new('kin')
94
+ SAG = new('sag')
95
+ SIN = new('sin')
96
+ SLK = new('slk')
97
+ SMO = new('smo')
98
+ SNA = new('sna')
99
+ SOM = new('som')
100
+ SQI = new('sqi')
101
+ SRP = new('srp')
102
+ SSW = new('ssw')
103
+ SWE = new('swe')
104
+ SWA = new('swa')
105
+ TAM = new('tam')
106
+ TGK = new('tgk')
107
+ THA = new('tha')
108
+ TIR = new('tir')
109
+ TIG = new('tig')
110
+ UNMAPPED_VALUE = new('unmapped_value')
111
+ end
112
+ end
113
+
114
+ end
115
+ end
@@ -63,6 +63,8 @@ module StackOne
63
63
  field :personal_email, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('personal_email') } }
64
64
  # The employee personal phone number
65
65
  field :personal_phone_number, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('personal_phone_number') } }
66
+ # The employee preferred language
67
+ field :preferred_language, T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoPreferredLanguage), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('preferred_language') } }
66
68
  # The employee start date
67
69
  field :start_date, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('start_date'), 'decoder': Utils.datetime_from_iso_format(true) } }
68
70
  # The employee tenure
@@ -79,8 +81,8 @@ module StackOne
79
81
  field :work_phone_number, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('work_phone_number') } }
80
82
 
81
83
 
82
- sig { params(avatar: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoAvatar), avatar_url: T.nilable(::String), benefits: T.nilable(T::Array[::StackOne::Shared::HRISBenefit]), birthday: T.nilable(::DateTime), citizenships: T.nilable(T::Array[::StackOne::Shared::CountryCodeEnum]), company_name: T.nilable(::String), custom_fields: T.nilable(T::Array[::StackOne::Shared::EmployeeCustomFields]), date_of_birth: T.nilable(::DateTime), department: T.nilable(::String), display_name: T.nilable(::String), employment_contract_type: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoEmploymentContractType), employment_status: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoEmploymentStatus), employment_type: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoEmploymentType), employments: T.nilable(T::Array[::StackOne::Shared::Employment]), ethnicity: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoEthnicity), first_name: T.nilable(::String), gender: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoGender), hire_date: T.nilable(::DateTime), home_location: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoHomeLocation), job_title: T.nilable(::String), last_name: T.nilable(::String), manager_id: T.nilable(::String), marital_status: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoMaritalStatus), name: T.nilable(::String), personal_email: T.nilable(::String), personal_phone_number: T.nilable(::String), start_date: T.nilable(::DateTime), tenure: T.nilable(::Float), termination_date: T.nilable(::DateTime), work_anniversary: T.nilable(::DateTime), work_email: T.nilable(::String), work_location: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoWorkLocation), work_phone_number: T.nilable(::String)).void }
83
- def initialize(avatar: nil, avatar_url: nil, benefits: nil, birthday: nil, citizenships: nil, company_name: nil, custom_fields: nil, date_of_birth: nil, department: nil, display_name: nil, employment_contract_type: nil, employment_status: nil, employment_type: nil, employments: nil, ethnicity: nil, first_name: nil, gender: nil, hire_date: nil, home_location: nil, job_title: nil, last_name: nil, manager_id: nil, marital_status: nil, name: nil, personal_email: nil, personal_phone_number: nil, start_date: nil, tenure: nil, termination_date: nil, work_anniversary: nil, work_email: nil, work_location: nil, work_phone_number: nil)
84
+ sig { params(avatar: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoAvatar), avatar_url: T.nilable(::String), benefits: T.nilable(T::Array[::StackOne::Shared::HRISBenefit]), birthday: T.nilable(::DateTime), citizenships: T.nilable(T::Array[::StackOne::Shared::CountryCodeEnum]), company_name: T.nilable(::String), custom_fields: T.nilable(T::Array[::StackOne::Shared::EmployeeCustomFields]), date_of_birth: T.nilable(::DateTime), department: T.nilable(::String), display_name: T.nilable(::String), employment_contract_type: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoEmploymentContractType), employment_status: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoEmploymentStatus), employment_type: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoEmploymentType), employments: T.nilable(T::Array[::StackOne::Shared::Employment]), ethnicity: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoEthnicity), first_name: T.nilable(::String), gender: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoGender), hire_date: T.nilable(::DateTime), home_location: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoHomeLocation), job_title: T.nilable(::String), last_name: T.nilable(::String), manager_id: T.nilable(::String), marital_status: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoMaritalStatus), name: T.nilable(::String), personal_email: T.nilable(::String), personal_phone_number: T.nilable(::String), preferred_language: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoPreferredLanguage), start_date: T.nilable(::DateTime), tenure: T.nilable(::Float), termination_date: T.nilable(::DateTime), work_anniversary: T.nilable(::DateTime), work_email: T.nilable(::String), work_location: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoWorkLocation), work_phone_number: T.nilable(::String)).void }
85
+ def initialize(avatar: nil, avatar_url: nil, benefits: nil, birthday: nil, citizenships: nil, company_name: nil, custom_fields: nil, date_of_birth: nil, department: nil, display_name: nil, employment_contract_type: nil, employment_status: nil, employment_type: nil, employments: nil, ethnicity: nil, first_name: nil, gender: nil, hire_date: nil, home_location: nil, job_title: nil, last_name: nil, manager_id: nil, marital_status: nil, name: nil, personal_email: nil, personal_phone_number: nil, preferred_language: nil, start_date: nil, tenure: nil, termination_date: nil, work_anniversary: nil, work_email: nil, work_location: nil, work_phone_number: nil)
84
86
  @avatar = avatar
85
87
  @avatar_url = avatar_url
86
88
  @benefits = benefits
@@ -107,6 +109,7 @@ module StackOne
107
109
  @name = name
108
110
  @personal_email = personal_email
109
111
  @personal_phone_number = personal_phone_number
112
+ @preferred_language = preferred_language
110
113
  @start_date = start_date
111
114
  @tenure = tenure
112
115
  @termination_date = termination_date
@@ -0,0 +1,27 @@
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
+ # The employee preferred language
11
+ class HrisCreateEmployeeRequestDtoPreferredLanguage < ::StackOne::Utils::FieldAugmented
12
+ extend T::Sig
13
+
14
+
15
+ field :source_value, T.nilable(::Object), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source_value') } }
16
+ # The ISO639-2 Code of the language
17
+ field :value, T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoSchemasPreferredLanguageValue), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(::StackOne::Shared::HrisCreateEmployeeRequestDtoSchemasPreferredLanguageValue, true) } }
18
+
19
+
20
+ sig { params(source_value: T.nilable(::Object), value: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoSchemasPreferredLanguageValue)).void }
21
+ def initialize(source_value: nil, value: nil)
22
+ @source_value = source_value
23
+ @value = value
24
+ end
25
+ end
26
+ end
27
+ end
@@ -0,0 +1,115 @@
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
+ # HrisCreateEmployeeRequestDtoSchemasPreferredLanguageValue - The ISO639-2 Code of the language
11
+ class HrisCreateEmployeeRequestDtoSchemasPreferredLanguageValue < T::Enum
12
+ enums do
13
+ AAR = new('aar')
14
+ AFR = new('afr')
15
+ AMH = new('amh')
16
+ ARA = new('ara')
17
+ AYM = new('aym')
18
+ AZE = new('aze')
19
+ BEL = new('bel')
20
+ BUL = new('bul')
21
+ BIS = new('bis')
22
+ BEN = new('ben')
23
+ BOS = new('bos')
24
+ BYN = new('byn')
25
+ CAT = new('cat')
26
+ CHA = new('cha')
27
+ CES = new('ces')
28
+ DEU = new('deu')
29
+ DIV = new('div')
30
+ DZO = new('dzo')
31
+ ELL = new('ell')
32
+ ENG = new('eng')
33
+ SPA = new('spa')
34
+ EST = new('est')
35
+ FAS = new('fas')
36
+ FAN = new('fan')
37
+ FUL = new('ful')
38
+ FIN = new('fin')
39
+ FIJ = new('fij')
40
+ FAO = new('fao')
41
+ FRA = new('fra')
42
+ GLE = new('gle')
43
+ GRN = new('grn')
44
+ GLV = new('glv')
45
+ HEB = new('heb')
46
+ HIN = new('hin')
47
+ HRV = new('hrv')
48
+ HAT = new('hat')
49
+ HUN = new('hun')
50
+ HYE = new('hye')
51
+ IND = new('ind')
52
+ ISL = new('isl')
53
+ ITA = new('ita')
54
+ JPN = new('jpn')
55
+ KAT = new('kat')
56
+ KON = new('kon')
57
+ KAZ = new('kaz')
58
+ KAL = new('kal')
59
+ KHM = new('khm')
60
+ KOR = new('kor')
61
+ KUR = new('kur')
62
+ KIR = new('kir')
63
+ LAT = new('lat')
64
+ LTZ = new('ltz')
65
+ LIN = new('lin')
66
+ LAO = new('lao')
67
+ LIT = new('lit')
68
+ LUB = new('lub')
69
+ LAV = new('lav')
70
+ MLG = new('mlg')
71
+ MAH = new('mah')
72
+ MRI = new('mri')
73
+ MKD = new('mkd')
74
+ MSA = new('msa')
75
+ MLT = new('mlt')
76
+ MYA = new('mya')
77
+ NOB = new('nob')
78
+ NEP = new('nep')
79
+ NLD = new('nld')
80
+ NNO = new('nno')
81
+ NOR = new('nor')
82
+ NBL = new('nbl')
83
+ NYA = new('nya')
84
+ PAN = new('pan')
85
+ POL = new('pol')
86
+ PUS = new('pus')
87
+ POR = new('por')
88
+ RAR = new('rar')
89
+ ROH = new('roh')
90
+ RUP = new('rup')
91
+ RON = new('ron')
92
+ RUS = new('rus')
93
+ KIN = new('kin')
94
+ SAG = new('sag')
95
+ SIN = new('sin')
96
+ SLK = new('slk')
97
+ SMO = new('smo')
98
+ SNA = new('sna')
99
+ SOM = new('som')
100
+ SQI = new('sqi')
101
+ SRP = new('srp')
102
+ SSW = new('ssw')
103
+ SWE = new('swe')
104
+ SWA = new('swa')
105
+ TAM = new('tam')
106
+ TGK = new('tgk')
107
+ THA = new('tha')
108
+ TIR = new('tir')
109
+ TIG = new('tig')
110
+ UNMAPPED_VALUE = new('unmapped_value')
111
+ end
112
+ end
113
+
114
+ end
115
+ end
@@ -0,0 +1,27 @@
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
+ # The employee preferred language
11
+ class PreferredLanguage < ::StackOne::Utils::FieldAugmented
12
+ extend T::Sig
13
+
14
+
15
+ field :source_value, T.nilable(::Object), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source_value') } }
16
+ # The ISO639-2 Code of the language
17
+ field :value, T.nilable(::StackOne::Shared::EmployeeSchemasPreferredLanguageValue), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(::StackOne::Shared::EmployeeSchemasPreferredLanguageValue, true) } }
18
+
19
+
20
+ sig { params(source_value: T.nilable(::Object), value: T.nilable(::StackOne::Shared::EmployeeSchemasPreferredLanguageValue)).void }
21
+ def initialize(source_value: nil, value: nil)
22
+ @source_value = source_value
23
+ @value = value
24
+ end
25
+ end
26
+ end
27
+ end
@@ -0,0 +1,59 @@
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 UnifiedUploadRequestDto < ::StackOne::Utils::FieldAugmented
12
+ extend T::Sig
13
+
14
+ # The confidentiality level of the file to be uploaded
15
+ field :confidential, T.nilable(::StackOne::Shared::UnifiedUploadRequestDtoConfidential), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('confidential') } }
16
+ # The base64 encoded content of the file to upload
17
+ field :content, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('content') } }
18
+ # The comma separated list of fields to return in the response (if empty, all fields are returned)
19
+ field :fields_, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('fields') } }
20
+ # The file format of the file
21
+ field :file_format, T.nilable(::StackOne::Shared::UnifiedUploadRequestDtoFileFormat), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('file_format') } }
22
+ # The filename of the file to upload
23
+ field :name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } }
24
+ # The unified cursor
25
+ field :next_, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('next') } }
26
+ # The page number of the results to fetch
27
+ #
28
+ # @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
29
+ field :page, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('page') } }
30
+ # The number of results per page
31
+ field :page_size, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('page_size') } }
32
+ # The location, category or path for the file to be uploaded to
33
+ field :path, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('path') } }
34
+ # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
35
+ field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('proxy') } }
36
+ # Indicates that the raw request result is returned
37
+ field :raw, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('raw') } }
38
+ # Use a string with a date to only select results updated after that given date
39
+ field :updated_after, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_after') } }
40
+
41
+
42
+ sig { params(confidential: T.nilable(::StackOne::Shared::UnifiedUploadRequestDtoConfidential), content: T.nilable(::String), fields_: T.nilable(::String), file_format: T.nilable(::StackOne::Shared::UnifiedUploadRequestDtoFileFormat), name: T.nilable(::String), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), path: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean), updated_after: T.nilable(::String)).void }
43
+ def initialize(confidential: nil, content: nil, fields_: nil, file_format: nil, name: nil, next_: nil, page: nil, page_size: nil, path: nil, proxy: nil, raw: nil, updated_after: nil)
44
+ @confidential = confidential
45
+ @content = content
46
+ @fields_ = fields_
47
+ @file_format = file_format
48
+ @name = name
49
+ @next_ = next_
50
+ @page = page
51
+ @page_size = page_size
52
+ @path = path
53
+ @proxy = proxy
54
+ @raw = raw
55
+ @updated_after = updated_after
56
+ end
57
+ end
58
+ end
59
+ end
@@ -0,0 +1,27 @@
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
+ # The confidentiality level of the file to be uploaded
11
+ class UnifiedUploadRequestDtoConfidential < ::StackOne::Utils::FieldAugmented
12
+ extend T::Sig
13
+
14
+
15
+ field :source_value, T.nilable(::Object), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source_value') } }
16
+
17
+ field :value, T.nilable(::StackOne::Shared::UnifiedUploadRequestDtoValue), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(::StackOne::Shared::UnifiedUploadRequestDtoValue, true) } }
18
+
19
+
20
+ sig { params(source_value: T.nilable(::Object), value: T.nilable(::StackOne::Shared::UnifiedUploadRequestDtoValue)).void }
21
+ def initialize(source_value: nil, value: nil)
22
+ @source_value = source_value
23
+ @value = value
24
+ end
25
+ end
26
+ end
27
+ end
@@ -7,17 +7,17 @@
7
7
  module StackOne
8
8
  module Shared
9
9
 
10
-
11
- class AtsUpdateApplicationRequestDtoApplicationStatus < ::StackOne::Utils::FieldAugmented
10
+ # The file format of the file
11
+ class UnifiedUploadRequestDtoFileFormat < ::StackOne::Utils::FieldAugmented
12
12
  extend T::Sig
13
13
 
14
- # The source value of the application status.
14
+
15
15
  field :source_value, T.nilable(::Object), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source_value') } }
16
- # The status of the application.
17
- field :value, T.nilable(::StackOne::Shared::AtsUpdateApplicationRequestDtoValue), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(::StackOne::Shared::AtsUpdateApplicationRequestDtoValue, true) } }
16
+
17
+ field :value, T.nilable(::StackOne::Shared::UnifiedUploadRequestDtoSchemasValue), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(::StackOne::Shared::UnifiedUploadRequestDtoSchemasValue, true) } }
18
18
 
19
19
 
20
- sig { params(source_value: T.nilable(::Object), value: T.nilable(::StackOne::Shared::AtsUpdateApplicationRequestDtoValue)).void }
20
+ sig { params(source_value: T.nilable(::Object), value: T.nilable(::StackOne::Shared::UnifiedUploadRequestDtoSchemasValue)).void }
21
21
  def initialize(source_value: nil, value: nil)
22
22
  @source_value = source_value
23
23
  @value = value