stackone_client 0.2.2 → 0.2.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (197) hide show
  1. checksums.yaml +4 -4
  2. data/lib/stack_one/accounts.rb +5 -5
  3. data/lib/stack_one/ats.rb +37 -37
  4. data/lib/stack_one/connect_sessions.rb +2 -2
  5. data/lib/stack_one/connectors.rb +2 -2
  6. data/lib/stack_one/crm.rb +12 -12
  7. data/lib/stack_one/hris.rb +248 -21
  8. data/lib/stack_one/marketing.rb +16 -16
  9. data/lib/stack_one/models/operations/ats_get_application_document_request.rb +1 -1
  10. data/lib/stack_one/models/operations/ats_get_application_offer_queryparam_proxy.rb +1 -1
  11. data/lib/stack_one/models/operations/ats_get_application_offer_request.rb +1 -1
  12. data/lib/stack_one/models/operations/ats_get_application_request.rb +1 -1
  13. data/lib/stack_one/models/operations/ats_get_application_scorecard_queryparam_proxy.rb +1 -1
  14. data/lib/stack_one/models/operations/ats_get_application_scorecard_request.rb +1 -1
  15. data/lib/stack_one/models/operations/ats_get_candidate_note_queryparam_proxy.rb +1 -1
  16. data/lib/stack_one/models/operations/ats_get_candidate_note_request.rb +1 -1
  17. data/lib/stack_one/models/operations/ats_get_candidate_queryparam_proxy.rb +1 -1
  18. data/lib/stack_one/models/operations/ats_get_candidate_request.rb +1 -1
  19. data/lib/stack_one/models/operations/ats_get_department_queryparam_proxy.rb +1 -1
  20. data/lib/stack_one/models/operations/ats_get_department_request.rb +1 -1
  21. data/lib/stack_one/models/operations/ats_get_interview_queryparam_proxy.rb +1 -1
  22. data/lib/stack_one/models/operations/ats_get_interview_request.rb +1 -1
  23. data/lib/stack_one/models/operations/ats_get_interview_stage_queryparam_proxy.rb +1 -1
  24. data/lib/stack_one/models/operations/ats_get_interview_stage_request.rb +1 -1
  25. data/lib/stack_one/models/operations/ats_get_job_posting_queryparam_proxy.rb +1 -1
  26. data/lib/stack_one/models/operations/ats_get_job_posting_request.rb +1 -1
  27. data/lib/stack_one/models/operations/ats_get_job_queryparam_proxy.rb +1 -1
  28. data/lib/stack_one/models/operations/ats_get_job_request.rb +1 -1
  29. data/lib/stack_one/models/operations/ats_get_location_queryparam_proxy.rb +1 -1
  30. data/lib/stack_one/models/operations/ats_get_location_request.rb +1 -1
  31. data/lib/stack_one/models/operations/ats_get_offer_queryparam_proxy.rb +1 -1
  32. data/lib/stack_one/models/operations/ats_get_offer_request.rb +1 -1
  33. data/lib/stack_one/models/operations/ats_get_rejected_reason_queryparam_proxy.rb +1 -1
  34. data/lib/stack_one/models/operations/ats_get_rejected_reason_request.rb +1 -1
  35. data/lib/stack_one/models/operations/ats_get_user_queryparam_proxy.rb +1 -1
  36. data/lib/stack_one/models/operations/ats_get_user_request.rb +1 -1
  37. data/lib/stack_one/models/operations/ats_list_application_documents_queryparam_proxy.rb +1 -1
  38. data/lib/stack_one/models/operations/ats_list_application_documents_request.rb +1 -1
  39. data/lib/stack_one/models/operations/ats_list_application_scorecards_queryparam_proxy.rb +1 -1
  40. data/lib/stack_one/models/operations/ats_list_application_scorecards_request.rb +1 -1
  41. data/lib/stack_one/models/operations/ats_list_applications_offers_queryparam_proxy.rb +1 -1
  42. data/lib/stack_one/models/operations/ats_list_applications_offers_request.rb +1 -1
  43. data/lib/stack_one/models/operations/ats_list_applications_queryparam_proxy.rb +1 -1
  44. data/lib/stack_one/models/operations/ats_list_applications_request.rb +1 -1
  45. data/lib/stack_one/models/operations/ats_list_candidate_notes_queryparam_proxy.rb +1 -1
  46. data/lib/stack_one/models/operations/ats_list_candidate_notes_request.rb +1 -1
  47. data/lib/stack_one/models/operations/ats_list_candidates_queryparam_proxy.rb +1 -1
  48. data/lib/stack_one/models/operations/ats_list_candidates_request.rb +1 -1
  49. data/lib/stack_one/models/operations/ats_list_departments_queryparam_proxy.rb +1 -1
  50. data/lib/stack_one/models/operations/ats_list_departments_request.rb +1 -1
  51. data/lib/stack_one/models/operations/ats_list_interview_stages_queryparam_proxy.rb +1 -1
  52. data/lib/stack_one/models/operations/ats_list_interview_stages_request.rb +1 -1
  53. data/lib/stack_one/models/operations/ats_list_interviews_queryparam_proxy.rb +1 -1
  54. data/lib/stack_one/models/operations/ats_list_interviews_request.rb +1 -1
  55. data/lib/stack_one/models/operations/ats_list_job_postings_queryparam_proxy.rb +1 -1
  56. data/lib/stack_one/models/operations/ats_list_job_postings_request.rb +1 -1
  57. data/lib/stack_one/models/operations/ats_list_jobs_queryparam_proxy.rb +1 -1
  58. data/lib/stack_one/models/operations/ats_list_jobs_request.rb +1 -1
  59. data/lib/stack_one/models/operations/ats_list_locations_queryparam_proxy.rb +1 -1
  60. data/lib/stack_one/models/operations/ats_list_locations_request.rb +1 -1
  61. data/lib/stack_one/models/operations/ats_list_offers_queryparam_proxy.rb +1 -1
  62. data/lib/stack_one/models/operations/ats_list_offers_request.rb +1 -1
  63. data/lib/stack_one/models/operations/ats_list_rejected_reasons_queryparam_proxy.rb +1 -1
  64. data/lib/stack_one/models/operations/ats_list_rejected_reasons_request.rb +1 -1
  65. data/lib/stack_one/models/operations/ats_list_users_queryparam_proxy.rb +1 -1
  66. data/lib/stack_one/models/operations/ats_list_users_request.rb +1 -1
  67. data/lib/stack_one/models/operations/crm_get_account_queryparam_proxy.rb +1 -1
  68. data/lib/stack_one/models/operations/crm_get_account_request.rb +1 -1
  69. data/lib/stack_one/models/operations/crm_get_contact_queryparam_proxy.rb +1 -1
  70. data/lib/stack_one/models/operations/crm_get_contact_request.rb +1 -1
  71. data/lib/stack_one/models/operations/crm_get_list_queryparam_proxy.rb +1 -1
  72. data/lib/stack_one/models/operations/crm_get_list_request.rb +1 -1
  73. data/lib/stack_one/models/operations/crm_list_accounts_queryparam_proxy.rb +1 -1
  74. data/lib/stack_one/models/operations/crm_list_accounts_request.rb +1 -1
  75. data/lib/stack_one/models/operations/crm_list_contacts_queryparam_proxy.rb +1 -1
  76. data/lib/stack_one/models/operations/crm_list_contacts_request.rb +1 -1
  77. data/lib/stack_one/models/operations/crm_list_lists_queryparam_proxy.rb +1 -1
  78. data/lib/stack_one/models/operations/crm_list_lists_request.rb +1 -1
  79. data/lib/stack_one/models/operations/hris_create_employee_document_request.rb +30 -0
  80. data/lib/stack_one/models/operations/hris_create_employee_document_response.rb +33 -0
  81. data/lib/stack_one/models/operations/hris_create_employee_work_eligibility_request_request.rb +30 -0
  82. data/lib/stack_one/models/operations/hris_create_employee_work_eligibility_request_response.rb +33 -0
  83. data/lib/stack_one/models/operations/hris_get_benefit_queryparam_proxy.rb +1 -1
  84. data/lib/stack_one/models/operations/hris_get_benefit_request.rb +1 -1
  85. data/lib/stack_one/models/operations/hris_get_company_queryparam_proxy.rb +1 -1
  86. data/lib/stack_one/models/operations/hris_get_company_request.rb +1 -1
  87. data/lib/stack_one/models/operations/hris_get_employee_document_queryparam_proxy.rb +1 -1
  88. data/lib/stack_one/models/operations/hris_get_employee_document_request.rb +1 -1
  89. data/lib/stack_one/models/operations/hris_get_employee_queryparam_proxy.rb +1 -1
  90. data/lib/stack_one/models/operations/hris_get_employee_request.rb +1 -1
  91. data/lib/stack_one/models/operations/hris_get_employees_time_off_request_queryparam_proxy.rb +1 -1
  92. data/lib/stack_one/models/operations/hris_get_employees_time_off_request_request.rb +1 -1
  93. data/lib/stack_one/models/operations/hris_get_employees_work_eligibility_queryparam_proxy.rb +20 -0
  94. data/lib/stack_one/models/operations/hris_get_employees_work_eligibility_request.rb +53 -0
  95. data/lib/stack_one/models/operations/hris_get_employees_work_eligibility_response.rb +33 -0
  96. data/lib/stack_one/models/operations/hris_get_employment_queryparam_proxy.rb +1 -1
  97. data/lib/stack_one/models/operations/hris_get_employment_request.rb +1 -1
  98. data/lib/stack_one/models/operations/hris_get_location_queryparam_proxy.rb +1 -1
  99. data/lib/stack_one/models/operations/hris_get_location_request.rb +1 -1
  100. data/lib/stack_one/models/operations/hris_get_time_off_request_queryparam_proxy.rb +1 -1
  101. data/lib/stack_one/models/operations/hris_get_time_off_request_request.rb +1 -1
  102. data/lib/stack_one/models/operations/hris_list_benefits_queryparam_proxy.rb +1 -1
  103. data/lib/stack_one/models/operations/hris_list_benefits_request.rb +1 -1
  104. data/lib/stack_one/models/operations/hris_list_companies_queryparam_proxy.rb +1 -1
  105. data/lib/stack_one/models/operations/hris_list_companies_request.rb +1 -1
  106. data/lib/stack_one/models/operations/hris_list_employee_documents_queryparam_proxy.rb +1 -1
  107. data/lib/stack_one/models/operations/hris_list_employee_documents_request.rb +1 -1
  108. data/lib/stack_one/models/operations/hris_list_employee_time_off_requests_queryparam_proxy.rb +1 -1
  109. data/lib/stack_one/models/operations/hris_list_employee_time_off_requests_request.rb +1 -1
  110. data/lib/stack_one/models/operations/hris_list_employee_work_eligibility_queryparam_proxy.rb +20 -0
  111. data/lib/stack_one/models/operations/hris_list_employee_work_eligibility_request.rb +50 -0
  112. data/lib/stack_one/models/operations/hris_list_employee_work_eligibility_response.rb +33 -0
  113. data/lib/stack_one/models/operations/hris_list_employees_queryparam_proxy.rb +1 -1
  114. data/lib/stack_one/models/operations/hris_list_employees_request.rb +1 -1
  115. data/lib/stack_one/models/operations/hris_list_employments_queryparam_proxy.rb +1 -1
  116. data/lib/stack_one/models/operations/hris_list_employments_request.rb +1 -1
  117. data/lib/stack_one/models/operations/hris_list_locations_queryparam_proxy.rb +1 -1
  118. data/lib/stack_one/models/operations/hris_list_locations_request.rb +1 -1
  119. data/lib/stack_one/models/operations/hris_list_time_off_requests_queryparam_proxy.rb +1 -1
  120. data/lib/stack_one/models/operations/hris_list_time_off_requests_request.rb +1 -1
  121. data/lib/stack_one/models/operations/hris_update_employee_work_eligibility_request_request.rb +33 -0
  122. data/lib/stack_one/models/operations/hris_update_employee_work_eligibility_request_response.rb +30 -0
  123. data/lib/stack_one/models/operations/marketing_get_campaign_queryparam_proxy.rb +1 -1
  124. data/lib/stack_one/models/operations/marketing_get_campaign_request.rb +1 -1
  125. data/lib/stack_one/models/operations/marketing_get_email_template_queryparam_proxy.rb +1 -1
  126. data/lib/stack_one/models/operations/marketing_get_email_template_request.rb +1 -1
  127. data/lib/stack_one/models/operations/marketing_get_omni_channel_template_queryparam_proxy.rb +1 -1
  128. data/lib/stack_one/models/operations/marketing_get_omni_channel_template_request.rb +1 -1
  129. data/lib/stack_one/models/operations/marketing_get_push_template_queryparam_proxy.rb +1 -1
  130. data/lib/stack_one/models/operations/marketing_get_push_template_request.rb +1 -1
  131. data/lib/stack_one/models/operations/marketing_list_campaigns_queryparam_proxy.rb +1 -1
  132. data/lib/stack_one/models/operations/marketing_list_campaigns_request.rb +1 -1
  133. data/lib/stack_one/models/operations/marketing_list_email_templates_queryparam_proxy.rb +1 -1
  134. data/lib/stack_one/models/operations/marketing_list_email_templates_request.rb +1 -1
  135. data/lib/stack_one/models/operations/marketing_list_omni_channel_templates_queryparam_proxy.rb +1 -1
  136. data/lib/stack_one/models/operations/marketing_list_omni_channel_templates_request.rb +1 -1
  137. data/lib/stack_one/models/operations/marketing_list_push_templates_queryparam_proxy.rb +1 -1
  138. data/lib/stack_one/models/operations/marketing_list_push_templates_request.rb +1 -1
  139. data/lib/stack_one/models/operations/proxy.rb +1 -1
  140. data/lib/stack_one/models/operations/queryparam_proxy.rb +1 -1
  141. data/lib/stack_one/models/operations.rb +12 -0
  142. data/lib/stack_one/models/shared/categories.rb +1 -0
  143. data/lib/stack_one/models/shared/category.rb +1 -0
  144. data/lib/stack_one/models/shared/company.rb +3 -3
  145. data/lib/stack_one/models/shared/connectsessioncreate_categories.rb +1 -0
  146. data/lib/stack_one/models/shared/connectsessiontoken_categories.rb +1 -0
  147. data/lib/stack_one/models/shared/createdocumentresult.rb +30 -0
  148. data/lib/stack_one/models/shared/createworkeligibilityresult.rb +30 -0
  149. data/lib/stack_one/models/shared/emailmessages_value.rb +20 -0
  150. data/lib/stack_one/models/shared/employee.rb +8 -5
  151. data/lib/stack_one/models/shared/employee_company.rb +36 -0
  152. data/lib/stack_one/models/shared/employee_schemas_employment_type_value.rb +0 -2
  153. data/lib/stack_one/models/shared/employment_schemas_value.rb +0 -2
  154. data/lib/stack_one/models/shared/hrisbenefit.rb +3 -3
  155. data/lib/stack_one/models/shared/hrisbenefit_value.rb +4 -0
  156. data/lib/stack_one/models/shared/hriscreatedocumentrequestdto.rb +33 -0
  157. data/lib/stack_one/models/shared/hriscreatedocumentrequestdto_type.rb +27 -0
  158. data/lib/stack_one/models/shared/hriscreatedocumentrequestdto_value.rb +28 -0
  159. data/lib/stack_one/models/shared/hriscreateemployeerequestdto.rb +5 -2
  160. data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_employment_type_value.rb +0 -2
  161. data/lib/stack_one/models/shared/hriscreatetimeoffrequestdto_schemas_value.rb +8 -0
  162. data/lib/stack_one/models/shared/hriscreatetimeoffrequestdto_value.rb +3 -0
  163. data/lib/stack_one/models/shared/hriscreateworkeligibilityrequestdto.rb +42 -0
  164. data/lib/stack_one/models/shared/hriscreateworkeligibilityrequestdto_schemas_value.rb +22 -0
  165. data/lib/stack_one/models/shared/hriscreateworkeligibilityrequestdto_type.rb +27 -0
  166. data/lib/stack_one/models/shared/hriscreateworkeligibilityrequestdto_value.rb +266 -0
  167. data/lib/stack_one/models/shared/issued_by.rb +27 -0
  168. data/lib/stack_one/models/shared/job.rb +2 -2
  169. data/lib/stack_one/models/shared/{response.rb → job_schemas_status.rb} +1 -1
  170. data/lib/stack_one/models/shared/jobposting_schemas_status_value.rb +1 -0
  171. data/lib/stack_one/models/shared/jobposting_schemas_value.rb +0 -2
  172. data/lib/stack_one/models/shared/linkedaccountmeta_category.rb +1 -0
  173. data/lib/stack_one/models/shared/message_message_type.rb +2 -2
  174. data/lib/stack_one/models/shared/message_type.rb +2 -2
  175. data/lib/stack_one/models/shared/message_value.rb +20 -0
  176. data/lib/stack_one/models/shared/pushmessages_message_type.rb +2 -2
  177. data/lib/stack_one/models/shared/pushmessages_value.rb +20 -0
  178. data/lib/stack_one/models/shared/rawresponse.rb +2 -2
  179. data/lib/stack_one/models/shared/timeoff_schemas_value.rb +8 -0
  180. data/lib/stack_one/models/shared/timeoff_value.rb +3 -0
  181. data/lib/stack_one/models/shared/workeligibility.rb +8 -5
  182. data/lib/stack_one/models/shared/workeligibility_document.rb +39 -0
  183. data/lib/stack_one/models/shared/workeligibility_issued_by.rb +27 -0
  184. data/lib/stack_one/models/shared/workeligibility_schemas_value.rb +22 -0
  185. data/lib/stack_one/models/shared/workeligibility_type.rb +2 -2
  186. data/lib/stack_one/models/shared/workeligibility_value.rb +250 -6
  187. data/lib/stack_one/models/shared/workeligibilitypaginated.rb +33 -0
  188. data/lib/stack_one/models/shared/workeligibilityresult.rb +27 -0
  189. data/lib/stack_one/models/shared.rb +27 -8
  190. data/lib/stack_one/proxy.rb +1 -1
  191. data/lib/stack_one/sdkconfiguration.rb +10 -11
  192. data/lib/stack_one/stackone.rb +21 -20
  193. data/lib/stack_one/utils/metadata_fields.rb +8 -12
  194. data/lib/stack_one/utils/t.rb +59 -0
  195. data/lib/stack_one/utils/utils.rb +8 -13
  196. data/lib/stackone_client.rb +5 -3
  197. metadata +35 -3
@@ -7,14 +7,258 @@
7
7
  module StackOne
8
8
  module Shared
9
9
 
10
-
10
+ # WorkEligibilityValue - The ISO3166-1 Alpha2 Code of the Country
11
11
  class WorkEligibilityValue < T::Enum
12
12
  enums do
13
- VISA = new('visa')
14
- PASSPORT = new('passport')
15
- DRIVER_LICENSE = new('driver_license')
16
- BIRTH_CERTIFICATE = new('birth_certificate')
17
- OTHER = new('other')
13
+ AF = new('AF')
14
+ AL = new('AL')
15
+ DZ = new('DZ')
16
+ AS = new('AS')
17
+ AD = new('AD')
18
+ AO = new('AO')
19
+ AI = new('AI')
20
+ AQ = new('AQ')
21
+ AG = new('AG')
22
+ AR = new('AR')
23
+ AM = new('AM')
24
+ AW = new('AW')
25
+ AU = new('AU')
26
+ AT = new('AT')
27
+ AZ = new('AZ')
28
+ BS = new('BS')
29
+ BH = new('BH')
30
+ BD = new('BD')
31
+ BB = new('BB')
32
+ BY = new('BY')
33
+ BE = new('BE')
34
+ BZ = new('BZ')
35
+ BJ = new('BJ')
36
+ BM = new('BM')
37
+ BT = new('BT')
38
+ BO = new('BO')
39
+ BQ = new('BQ')
40
+ BA = new('BA')
41
+ BW = new('BW')
42
+ BV = new('BV')
43
+ BR = new('BR')
44
+ IO = new('IO')
45
+ BN = new('BN')
46
+ BG = new('BG')
47
+ BF = new('BF')
48
+ BI = new('BI')
49
+ KH = new('KH')
50
+ CM = new('CM')
51
+ CA = new('CA')
52
+ CV = new('CV')
53
+ KY = new('KY')
54
+ CF = new('CF')
55
+ TD = new('TD')
56
+ CL = new('CL')
57
+ CN = new('CN')
58
+ CX = new('CX')
59
+ CC = new('CC')
60
+ CO = new('CO')
61
+ KM = new('KM')
62
+ CG = new('CG')
63
+ CD = new('CD')
64
+ CK = new('CK')
65
+ CR = new('CR')
66
+ HR = new('HR')
67
+ CU = new('CU')
68
+ CW = new('CW')
69
+ CY = new('CY')
70
+ CZ = new('CZ')
71
+ CI = new('CI')
72
+ DK = new('DK')
73
+ DJ = new('DJ')
74
+ DM = new('DM')
75
+ DO = new('DO')
76
+ EC = new('EC')
77
+ EG = new('EG')
78
+ SV = new('SV')
79
+ GQ = new('GQ')
80
+ ER = new('ER')
81
+ EE = new('EE')
82
+ ET = new('ET')
83
+ FK = new('FK')
84
+ FO = new('FO')
85
+ FJ = new('FJ')
86
+ FI = new('FI')
87
+ FR = new('FR')
88
+ GF = new('GF')
89
+ PF = new('PF')
90
+ TF = new('TF')
91
+ GA = new('GA')
92
+ GM = new('GM')
93
+ GE = new('GE')
94
+ DE = new('DE')
95
+ GH = new('GH')
96
+ GI = new('GI')
97
+ GR = new('GR')
98
+ GL = new('GL')
99
+ GD = new('GD')
100
+ GP = new('GP')
101
+ GU = new('GU')
102
+ GT = new('GT')
103
+ GG = new('GG')
104
+ GN = new('GN')
105
+ GW = new('GW')
106
+ GY = new('GY')
107
+ HT = new('HT')
108
+ HM = new('HM')
109
+ VA = new('VA')
110
+ HN = new('HN')
111
+ HK = new('HK')
112
+ HU = new('HU')
113
+ IS = new('IS')
114
+ IN = new('IN')
115
+ ID = new('ID')
116
+ IR = new('IR')
117
+ IQ = new('IQ')
118
+ IE = new('IE')
119
+ IM = new('IM')
120
+ IL = new('IL')
121
+ IT = new('IT')
122
+ JM = new('JM')
123
+ JP = new('JP')
124
+ JE = new('JE')
125
+ JO = new('JO')
126
+ KZ = new('KZ')
127
+ KE = new('KE')
128
+ KI = new('KI')
129
+ KP = new('KP')
130
+ KR = new('KR')
131
+ KW = new('KW')
132
+ KG = new('KG')
133
+ LA = new('LA')
134
+ LV = new('LV')
135
+ LB = new('LB')
136
+ LS = new('LS')
137
+ LR = new('LR')
138
+ LY = new('LY')
139
+ LI = new('LI')
140
+ LT = new('LT')
141
+ LU = new('LU')
142
+ MO = new('MO')
143
+ MK = new('MK')
144
+ MG = new('MG')
145
+ MW = new('MW')
146
+ MY = new('MY')
147
+ MV = new('MV')
148
+ ML = new('ML')
149
+ MT = new('MT')
150
+ MH = new('MH')
151
+ MQ = new('MQ')
152
+ MR = new('MR')
153
+ MU = new('MU')
154
+ YT = new('YT')
155
+ MX = new('MX')
156
+ FM = new('FM')
157
+ MD = new('MD')
158
+ MC = new('MC')
159
+ MN = new('MN')
160
+ ME = new('ME')
161
+ MS = new('MS')
162
+ MA = new('MA')
163
+ MZ = new('MZ')
164
+ MM = new('MM')
165
+ NA = new('NA')
166
+ NR = new('NR')
167
+ NP = new('NP')
168
+ NL = new('NL')
169
+ NC = new('NC')
170
+ NZ = new('NZ')
171
+ NI = new('NI')
172
+ NE = new('NE')
173
+ NG = new('NG')
174
+ NU = new('NU')
175
+ NF = new('NF')
176
+ MP = new('MP')
177
+ NO = new('NO')
178
+ OM = new('OM')
179
+ PK = new('PK')
180
+ PW = new('PW')
181
+ PS = new('PS')
182
+ PA = new('PA')
183
+ PG = new('PG')
184
+ PY = new('PY')
185
+ PE = new('PE')
186
+ PH = new('PH')
187
+ PN = new('PN')
188
+ PL = new('PL')
189
+ PT = new('PT')
190
+ PR = new('PR')
191
+ QA = new('QA')
192
+ RO = new('RO')
193
+ RU = new('RU')
194
+ RW = new('RW')
195
+ RE = new('RE')
196
+ BL = new('BL')
197
+ SH = new('SH')
198
+ KN = new('KN')
199
+ LC = new('LC')
200
+ MF = new('MF')
201
+ PM = new('PM')
202
+ VC = new('VC')
203
+ WS = new('WS')
204
+ SM = new('SM')
205
+ ST = new('ST')
206
+ SA = new('SA')
207
+ SN = new('SN')
208
+ RS = new('RS')
209
+ SC = new('SC')
210
+ SL = new('SL')
211
+ SG = new('SG')
212
+ SX = new('SX')
213
+ SK = new('SK')
214
+ SI = new('SI')
215
+ SB = new('SB')
216
+ SO = new('SO')
217
+ ZA = new('ZA')
218
+ GS = new('GS')
219
+ SS = new('SS')
220
+ ES = new('ES')
221
+ LK = new('LK')
222
+ SD = new('SD')
223
+ SR = new('SR')
224
+ SJ = new('SJ')
225
+ SZ = new('SZ')
226
+ SE = new('SE')
227
+ CH = new('CH')
228
+ SY = new('SY')
229
+ TW = new('TW')
230
+ TJ = new('TJ')
231
+ TZ = new('TZ')
232
+ TH = new('TH')
233
+ TL = new('TL')
234
+ TG = new('TG')
235
+ TK = new('TK')
236
+ TO = new('TO')
237
+ TT = new('TT')
238
+ TN = new('TN')
239
+ TR = new('TR')
240
+ TM = new('TM')
241
+ TC = new('TC')
242
+ TV = new('TV')
243
+ UG = new('UG')
244
+ UA = new('UA')
245
+ AE = new('AE')
246
+ GB = new('GB')
247
+ US = new('US')
248
+ UM = new('UM')
249
+ UY = new('UY')
250
+ UZ = new('UZ')
251
+ VU = new('VU')
252
+ VE = new('VE')
253
+ VN = new('VN')
254
+ VG = new('VG')
255
+ VI = new('VI')
256
+ WF = new('WF')
257
+ EH = new('EH')
258
+ YE = new('YE')
259
+ ZM = new('ZM')
260
+ ZW = new('ZW')
261
+ UNMAPPED_VALUE = new('unmapped_value')
18
262
  end
19
263
  end
20
264
 
@@ -0,0 +1,33 @@
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 WorkEligibilityPaginated < ::StackOne::Utils::FieldAugmented
12
+ extend T::Sig
13
+
14
+
15
+ field :data, T::Array[::StackOne::Shared::WorkEligibility], { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('data') } }
16
+
17
+ field :next_, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('next') } }
18
+ # @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
19
+ field :next_page, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('next_page') } }
20
+
21
+ field :raw, T.nilable(T::Array[::StackOne::Shared::RawResponse]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('raw') } }
22
+
23
+
24
+ sig { params(data: T::Array[::StackOne::Shared::WorkEligibility], next_: T.nilable(::String), next_page: T.nilable(::String), raw: T.nilable(T::Array[::StackOne::Shared::RawResponse])).void }
25
+ def initialize(data: nil, next_: nil, next_page: nil, raw: nil)
26
+ @data = data
27
+ @next_ = next_
28
+ @next_page = next_page
29
+ @raw = raw
30
+ end
31
+ end
32
+ end
33
+ 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
+
11
+ class WorkEligibilityResult < ::StackOne::Utils::FieldAugmented
12
+ extend T::Sig
13
+
14
+
15
+ field :data, ::StackOne::Shared::WorkEligibility, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('data') } }
16
+
17
+ field :raw, T.nilable(T::Array[::StackOne::Shared::RawResponse]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('raw') } }
18
+
19
+
20
+ sig { params(data: ::StackOne::Shared::WorkEligibility, raw: T.nilable(T::Array[::StackOne::Shared::RawResponse])).void }
21
+ def initialize(data: nil, raw: nil)
22
+ @data = data
23
+ @raw = raw
24
+ end
25
+ end
26
+ end
27
+ end
@@ -36,7 +36,6 @@ module StackOne
36
36
  autoload :ContentType, 'stack_one/models/shared/content_type.rb'
37
37
  autoload :ApplicationAttachment, 'stack_one/models/shared/applicationattachment.rb'
38
38
  autoload :CandidateResult, 'stack_one/models/shared/candidateresult.rb'
39
- autoload :Response, 'stack_one/models/shared/response.rb'
40
39
  autoload :RawResponse, 'stack_one/models/shared/rawresponse.rb'
41
40
  autoload :Candidate, 'stack_one/models/shared/candidate.rb'
42
41
  autoload :SocialLink, 'stack_one/models/shared/sociallink.rb'
@@ -94,6 +93,7 @@ module StackOne
94
93
  autoload :Confidential, 'stack_one/models/shared/confidential.rb'
95
94
  autoload :JobValue, 'stack_one/models/shared/job_value.rb'
96
95
  autoload :JobStatus, 'stack_one/models/shared/job_status.rb'
96
+ autoload :JobSchemasStatus, 'stack_one/models/shared/job_schemas_status.rb'
97
97
  autoload :Job, 'stack_one/models/shared/job.rb'
98
98
  autoload :JobHiringTeam, 'stack_one/models/shared/jobhiringteam.rb'
99
99
  autoload :JobPostingResult, 'stack_one/models/shared/jobpostingresult.rb'
@@ -206,20 +206,32 @@ module StackOne
206
206
  autoload :EmployeeCustomFields, 'stack_one/models/shared/employeecustomfields.rb'
207
207
  autoload :CountryCodeEnumValue, 'stack_one/models/shared/countrycodeenum_value.rb'
208
208
  autoload :CountryCodeEnum, 'stack_one/models/shared/countrycodeenum.rb'
209
+ autoload :HRISBenefitValue, 'stack_one/models/shared/hrisbenefit_value.rb'
210
+ autoload :BenefitType, 'stack_one/models/shared/benefit_type.rb'
211
+ autoload :HRISBenefit, 'stack_one/models/shared/hrisbenefit.rb'
212
+ autoload :CreateDocumentResult, 'stack_one/models/shared/createdocumentresult.rb'
213
+ autoload :HrisCreateDocumentRequestDtoValue, 'stack_one/models/shared/hriscreatedocumentrequestdto_value.rb'
214
+ autoload :HrisCreateDocumentRequestDtoType, 'stack_one/models/shared/hriscreatedocumentrequestdto_type.rb'
215
+ autoload :HrisCreateDocumentRequestDto, 'stack_one/models/shared/hriscreatedocumentrequestdto.rb'
209
216
  autoload :CreateTimeOffResult, 'stack_one/models/shared/createtimeoffresult.rb'
210
217
  autoload :HrisCreateTimeOffRequestDtoValue, 'stack_one/models/shared/hriscreatetimeoffrequestdto_value.rb'
211
218
  autoload :HrisCreateTimeOffRequestDtoStatus, 'stack_one/models/shared/hriscreatetimeoffrequestdto_status.rb'
212
219
  autoload :HrisCreateTimeOffRequestDtoSchemasValue, 'stack_one/models/shared/hriscreatetimeoffrequestdto_schemas_value.rb'
213
220
  autoload :HrisCreateTimeOffRequestDtoType, 'stack_one/models/shared/hriscreatetimeoffrequestdto_type.rb'
214
221
  autoload :HrisCreateTimeOffRequestDto, 'stack_one/models/shared/hriscreatetimeoffrequestdto.rb'
222
+ autoload :CreateWorkEligibilityResult, 'stack_one/models/shared/createworkeligibilityresult.rb'
223
+ autoload :Document, 'stack_one/models/shared/document.rb'
224
+ autoload :HrisCreateWorkEligibilityRequestDtoValue, 'stack_one/models/shared/hriscreateworkeligibilityrequestdto_value.rb'
225
+ autoload :IssuedBy, 'stack_one/models/shared/issued_by.rb'
226
+ autoload :HrisCreateWorkEligibilityRequestDtoSchemasValue, 'stack_one/models/shared/hriscreateworkeligibilityrequestdto_schemas_value.rb'
227
+ autoload :HrisCreateWorkEligibilityRequestDtoType, 'stack_one/models/shared/hriscreateworkeligibilityrequestdto_type.rb'
228
+ autoload :HrisCreateWorkEligibilityRequestDto, 'stack_one/models/shared/hriscreateworkeligibilityrequestdto.rb'
215
229
  autoload :HRISBenefitResult, 'stack_one/models/shared/hrisbenefitresult.rb'
216
- autoload :HRISBenefitValue, 'stack_one/models/shared/hrisbenefit_value.rb'
217
- autoload :BenefitType, 'stack_one/models/shared/benefit_type.rb'
218
- autoload :HRISBenefit, 'stack_one/models/shared/hrisbenefit.rb'
219
230
  autoload :CompanyResult, 'stack_one/models/shared/companyresult.rb'
220
231
  autoload :Company, 'stack_one/models/shared/company.rb'
221
232
  autoload :EmployeeResult, 'stack_one/models/shared/employeeresult.rb'
222
233
  autoload :Avatar, 'stack_one/models/shared/avatar.rb'
234
+ autoload :EmployeeCompany, 'stack_one/models/shared/employee_company.rb'
223
235
  autoload :EmployeeValue, 'stack_one/models/shared/employee_value.rb'
224
236
  autoload :EmploymentContractType, 'stack_one/models/shared/employment_contract_type.rb'
225
237
  autoload :EmployeeSchemasValue, 'stack_one/models/shared/employee_schemas_value.rb'
@@ -244,10 +256,6 @@ module StackOne
244
256
  autoload :EmployeeSchemasLocationType, 'stack_one/models/shared/employee_schemas_location_type.rb'
245
257
  autoload :WorkLocation, 'stack_one/models/shared/work_location.rb'
246
258
  autoload :Employee, 'stack_one/models/shared/employee.rb'
247
- autoload :Document, 'stack_one/models/shared/document.rb'
248
- autoload :WorkEligibilityValue, 'stack_one/models/shared/workeligibility_value.rb'
249
- autoload :WorkEligibilityType, 'stack_one/models/shared/workeligibility_type.rb'
250
- autoload :WorkEligibility, 'stack_one/models/shared/workeligibility.rb'
251
259
  autoload :CostCenters, 'stack_one/models/shared/costcenters.rb'
252
260
  autoload :TimeOffResult, 'stack_one/models/shared/timeoffresult.rb'
253
261
  autoload :TimeOffValue, 'stack_one/models/shared/timeoff_value.rb'
@@ -255,6 +263,13 @@ module StackOne
255
263
  autoload :TimeOffSchemasValue, 'stack_one/models/shared/timeoff_schemas_value.rb'
256
264
  autoload :TimeOffType, 'stack_one/models/shared/timeoff_type.rb'
257
265
  autoload :TimeOff, 'stack_one/models/shared/timeoff.rb'
266
+ autoload :WorkEligibilityResult, 'stack_one/models/shared/workeligibilityresult.rb'
267
+ autoload :WorkEligibilityDocument, 'stack_one/models/shared/workeligibility_document.rb'
268
+ autoload :WorkEligibilityValue, 'stack_one/models/shared/workeligibility_value.rb'
269
+ autoload :WorkEligibilityIssuedBy, 'stack_one/models/shared/workeligibility_issued_by.rb'
270
+ autoload :WorkEligibilitySchemasValue, 'stack_one/models/shared/workeligibility_schemas_value.rb'
271
+ autoload :WorkEligibilityType, 'stack_one/models/shared/workeligibility_type.rb'
272
+ autoload :WorkEligibility, 'stack_one/models/shared/workeligibility.rb'
258
273
  autoload :EmploymentResult, 'stack_one/models/shared/employmentresult.rb'
259
274
  autoload :HRISLocationResult, 'stack_one/models/shared/hrislocationresult.rb'
260
275
  autoload :HRISLocationValue, 'stack_one/models/shared/hrislocation_value.rb'
@@ -265,19 +280,23 @@ module StackOne
265
280
  autoload :HRISBenefitsPaginated, 'stack_one/models/shared/hrisbenefitspaginated.rb'
266
281
  autoload :CompaniesPaginated, 'stack_one/models/shared/companiespaginated.rb'
267
282
  autoload :TimeOffPaginated, 'stack_one/models/shared/timeoffpaginated.rb'
283
+ autoload :WorkEligibilityPaginated, 'stack_one/models/shared/workeligibilitypaginated.rb'
268
284
  autoload :EmployeesPaginated, 'stack_one/models/shared/employeespaginated.rb'
269
285
  autoload :EmploymentsPaginated, 'stack_one/models/shared/employmentspaginated.rb'
270
286
  autoload :HRISLocationsPaginated, 'stack_one/models/shared/hrislocationspaginated.rb'
271
287
  autoload :CreateTemplateResult, 'stack_one/models/shared/createtemplateresult.rb'
272
288
  autoload :MarketingCreateEmailTemplateRequestDto, 'stack_one/models/shared/marketingcreateemailtemplaterequestdto.rb'
273
289
  autoload :MessageContent, 'stack_one/models/shared/message_content.rb'
290
+ autoload :EmailMessagesValue, 'stack_one/models/shared/emailmessages_value.rb'
274
291
  autoload :MessageType, 'stack_one/models/shared/message_type.rb'
275
292
  autoload :EmailMessages, 'stack_one/models/shared/emailmessages.rb'
276
293
  autoload :MarketingCreateTemplateRequestDto, 'stack_one/models/shared/marketingcreatetemplaterequestdto.rb'
294
+ autoload :MessageValue, 'stack_one/models/shared/message_value.rb'
277
295
  autoload :MessageMessageType, 'stack_one/models/shared/message_message_type.rb'
278
296
  autoload :Message, 'stack_one/models/shared/message.rb'
279
297
  autoload :MarketingCreatePushTemplateRequestDto, 'stack_one/models/shared/marketingcreatepushtemplaterequestdto.rb'
280
298
  autoload :PushMessagesMessageContent, 'stack_one/models/shared/pushmessages_message_content.rb'
299
+ autoload :PushMessagesValue, 'stack_one/models/shared/pushmessages_value.rb'
281
300
  autoload :PushMessagesMessageType, 'stack_one/models/shared/pushmessages_message_type.rb'
282
301
  autoload :PushMessages, 'stack_one/models/shared/pushmessages.rb'
283
302
  autoload :CampaignResult, 'stack_one/models/shared/campaignresult.rb'
@@ -19,7 +19,7 @@ module StackOne
19
19
  end
20
20
 
21
21
 
22
- sig { params(proxy_request_body: ::StackOne::Shared::ProxyRequestBody, x_account_id: ::String).returns(Utils::FieldAugmented) }
22
+ sig { params(proxy_request_body: ::StackOne::Shared::ProxyRequestBody, x_account_id: ::String).returns(::StackOne::Operations::StackoneProxyRequestResponse) }
23
23
  def proxy_request(proxy_request_body, x_account_id)
24
24
  # proxy_request - Proxy Request
25
25
  request = ::StackOne::Operations::StackoneProxyRequestRequest.new(
@@ -10,7 +10,6 @@ require 'sorbet-runtime'
10
10
  module StackOne
11
11
  extend T::Sig
12
12
 
13
-
14
13
  SERVERS = [
15
14
  'https://api.stackone.com',
16
15
  ].freeze
@@ -20,33 +19,33 @@ module StackOne
20
19
  extend T::Sig
21
20
 
22
21
  field :client, T.nilable(Faraday::Connection)
23
- field :security, Shared::Security
22
+ field :security, T.nilable(::StackOne::Shared::Security)
24
23
  field :server_url, T.nilable(String)
24
+ field :server_idx, T.nilable(Integer)
25
25
  field :language, String
26
26
  field :openapi_doc_version, String
27
27
  field :sdk_version, String
28
28
  field :gen_version, String
29
29
  field :user_agent, String
30
-
31
-
32
- sig { params(client: Faraday::Connection, security: T.nilable(Shared::Security), server_url: T.nilable(String), server_idx: T.nilable(Integer)).void }
30
+
31
+
32
+ sig { params(client: Faraday::Connection, security: T.nilable(::StackOne::Shared::Security), server_url: T.nilable(String), server_idx: T.nilable(Integer)).void }
33
33
  def initialize(client, security, server_url, server_idx)
34
34
  @client = client
35
35
  @server_url = server_url
36
36
  @server_idx = server_idx.nil? ? 0 : server_idx
37
+ raise StandardError, "Invalid server index #{server_idx}" if @server_idx.negative? || @server_idx >= SERVERS.length
38
+ @security = security
37
39
  @language = 'ruby'
38
40
  @openapi_doc_version = '1.0.0'
39
- @sdk_version = '0.2.2'
40
- @gen_version = '2.262.2'
41
- @user_agent = 'speakeasy-sdk/ruby 0.2.2 2.262.2 1.0.0 stackone_client'
41
+ @sdk_version = '0.2.3'
42
+ @gen_version = '2.277.0'
43
+ @user_agent = 'speakeasy-sdk/ruby 0.2.3 2.277.0 1.0.0 stackone_client'
42
44
  end
43
45
 
44
46
  sig { returns([String, T::Hash[Symbol, String]]) }
45
47
  def get_server_details
46
48
  return [@server_url.delete_suffix('/'), {}] if !@server_url.nil?
47
- @server_idx = 0 if @server_idx.nil?
48
-
49
-
50
49
  [SERVERS[@server_idx], {}]
51
50
  end
52
51
  end
@@ -6,6 +6,7 @@
6
6
  require 'faraday'
7
7
  require 'faraday/multipart'
8
8
  require 'sorbet-runtime'
9
+
9
10
  module StackOne
10
11
  extend T::Sig
11
12
 
@@ -14,27 +15,25 @@ module StackOne
14
15
 
15
16
  attr_accessor :accounts, :connect_sessions, :connectors, :ats, :crm, :hris, :marketing, :proxy
16
17
 
17
- attr_accessor :security, :language, :sdk_version, :gen_version
18
-
19
18
  sig do
20
- params(security: T.nilable(Shared::Security),
19
+ params(client: Faraday::Request,
20
+ security: T.nilable(Shared::Security),
21
21
  server_idx: Integer,
22
22
  server_url: String,
23
- url_params: T::Hash[Symbol, String],
24
- client: Faraday::Request).void
23
+ url_params: T::Hash[Symbol, String]).void
25
24
  end
26
- def initialize(security: nil,
25
+ def initialize(client: nil,
26
+ security: nil,
27
27
  server_idx: nil,
28
28
  server_url: nil,
29
- url_params: nil,
30
- client: nil)
29
+ url_params: nil)
31
30
 
32
31
  ## Instantiates the SDK configuring it with the provided parameters.
33
- # @param [Shared::Security] security The security details required for authentication
34
- # @param [Integer] server_idx The index of the server to use for all operations
35
- # @param [String] server_url The server URL to use for all operations
36
- # @param [Hash<Symbol, String>] url_params Parameters to optionally template the server URL with
37
32
  # @param [Faraday::Request] client The faraday HTTP client to use for all operations
33
+ # @param [Shared::Security] security The security details required for authentication
34
+ # @param [::Integer] server_idx The index of the server to use for all operations
35
+ # @param [::String] server_url The server URL to use for all operations
36
+ # @param [::Hash<::Symbol, ::String>] url_params Parameters to optionally template the server URL with
38
37
 
39
38
  if client.nil?
40
39
  client = Faraday.new(request: {
@@ -52,23 +51,25 @@ module StackOne
52
51
  end
53
52
  server_idx = 0 if server_idx.nil?
54
53
 
55
-
56
-
57
54
  @sdk_configuration = SDKConfiguration.new(client, security, server_url, server_idx)
58
55
  init_sdks
59
56
  end
60
57
 
61
- sig { params(params: T.nilable(T::Hash[Symbol, String])).void }
62
- def config_server_url(params)
63
- if !params.nil?
64
- @server_url = Utils.template_url(@server_url, params)
65
- end
58
+ sig { params(server_url: String).void }
59
+ def config_server_url(server_url)
60
+ @sdk_configuration.server_url = server_url
61
+ init_sdks
62
+ end
63
+
64
+ sig { params(server_idx: Integer).void }
65
+ def config_server(server_idx)
66
+ raise StandardError, "Invalid server index #{server_idx}" if server_idx.negative? || server_idx >= SERVERS.length
67
+ @sdk_configuration.server_idx = server_idx
66
68
  init_sdks
67
69
  end
68
70
 
69
71
  sig { params(security: ::StackOne::Shared::Security).void }
70
72
  def config_security(security)
71
- @security = security
72
73
  @sdk_configuration.security = security
73
74
  end
74
75
 
@@ -62,28 +62,24 @@ module StackOne
62
62
  end
63
63
  fields.each do |field|
64
64
  field_type = field.type
65
- if field.type.respond_to?(:types) && field.type.types.length == 2
66
- type2 = field.type.types[1]
67
- if type2.raw_type == NilClass
68
- field_type = field.type.types[0]
69
- field_type = field_type.raw_type if field_type.respond_to? :raw_type
70
- end
65
+ if T.nilable? field_type
66
+ field_type = T.nilable_of(field_type)
71
67
  end
72
68
 
73
-
74
69
  key = "#{field.name}="
75
70
  lookup = field.metadata.fetch(:format_json, {}).fetch(:letter_case, nil).call
76
71
  value = d[lookup]
77
72
  next if value.nil?
78
73
 
79
- if field_type.to_s.start_with? 'T::Array'
80
- inner_type = field_type.type.raw_type
74
+ if T.arr? field_type
75
+ inner_type = T.arr_of(field_type)
81
76
  unmarshalled_array = value.map { |f| unmarshal_single(inner_type, f) }
82
77
  to_build.send(key, unmarshalled_array)
83
- elsif field_type.to_s.start_with? 'T::Hash'
84
- _, val_type = field_type.type.types
78
+ elsif T.hash? field_type
79
+ val_type = T.hash_of(field_type)
80
+
85
81
  # rubocop:disable Style/HashTransformValues
86
- unmarshalled_hash = value.map { |k, v| [k, unmarshal_single(val_type.raw_type, v)] }.to_h
82
+ unmarshalled_hash = value.map { |k, v| [k, unmarshal_single(val_type, v)] }.to_h
87
83
  # rubocop:enable Style/HashTransformValues
88
84
  to_build.send(key, unmarshalled_hash)
89
85
  else
@@ -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
+ module T
7
+ def self.arr?(t)
8
+ if t.respond_to? :underlying_class
9
+ return t.underlying_class == ::Array
10
+ end
11
+ false
12
+ end
13
+
14
+ def self.arr_of(t)
15
+ get_raw_type(t.type)
16
+ end
17
+
18
+ def self.hash?(t)
19
+ if t.respond_to? :underlying_class
20
+ return t.underlying_class == ::Hash
21
+ end
22
+ false
23
+ end
24
+
25
+ def self.hash_of(t)
26
+ get_raw_type(t.values)
27
+ end
28
+
29
+ def self.nilable?(t)
30
+ t.respond_to? :unwrap_nilable
31
+ end
32
+
33
+ def self.nilable_of(t)
34
+ if t.respond_to? :unwrap_nilable
35
+ return simplify_type t.unwrap_nilable
36
+ end
37
+ nil
38
+ end
39
+
40
+ def self.simplifiable?(t)
41
+ return t.is_a? T::Types::Simple
42
+ end
43
+
44
+ def self.simplify_type(t)
45
+ if t.is_a? T::Types::Simple
46
+ return t.raw_type
47
+ end
48
+ t
49
+ end
50
+
51
+ def self.get_raw_type(t)
52
+ if t.respond_to? :raw_type
53
+ return t.raw_type
54
+ elsif t.respond_to? :raw_a
55
+ return T::Boolean if t.raw_a in [TrueClass, FalseClass]
56
+ end
57
+ t
58
+ end
59
+ end