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.
- checksums.yaml +4 -4
- data/lib/stack_one/accounts.rb +5 -5
- data/lib/stack_one/ats.rb +37 -37
- data/lib/stack_one/connect_sessions.rb +2 -2
- data/lib/stack_one/connectors.rb +2 -2
- data/lib/stack_one/crm.rb +12 -12
- data/lib/stack_one/hris.rb +248 -21
- data/lib/stack_one/marketing.rb +16 -16
- data/lib/stack_one/models/operations/ats_get_application_document_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_get_application_offer_queryparam_proxy.rb +1 -1
- data/lib/stack_one/models/operations/ats_get_application_offer_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_get_application_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_get_application_scorecard_queryparam_proxy.rb +1 -1
- data/lib/stack_one/models/operations/ats_get_application_scorecard_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_get_candidate_note_queryparam_proxy.rb +1 -1
- data/lib/stack_one/models/operations/ats_get_candidate_note_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_get_candidate_queryparam_proxy.rb +1 -1
- data/lib/stack_one/models/operations/ats_get_candidate_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_get_department_queryparam_proxy.rb +1 -1
- data/lib/stack_one/models/operations/ats_get_department_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_get_interview_queryparam_proxy.rb +1 -1
- data/lib/stack_one/models/operations/ats_get_interview_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_get_interview_stage_queryparam_proxy.rb +1 -1
- data/lib/stack_one/models/operations/ats_get_interview_stage_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_get_job_posting_queryparam_proxy.rb +1 -1
- data/lib/stack_one/models/operations/ats_get_job_posting_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_get_job_queryparam_proxy.rb +1 -1
- data/lib/stack_one/models/operations/ats_get_job_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_get_location_queryparam_proxy.rb +1 -1
- data/lib/stack_one/models/operations/ats_get_location_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_get_offer_queryparam_proxy.rb +1 -1
- data/lib/stack_one/models/operations/ats_get_offer_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_get_rejected_reason_queryparam_proxy.rb +1 -1
- data/lib/stack_one/models/operations/ats_get_rejected_reason_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_get_user_queryparam_proxy.rb +1 -1
- data/lib/stack_one/models/operations/ats_get_user_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_list_application_documents_queryparam_proxy.rb +1 -1
- data/lib/stack_one/models/operations/ats_list_application_documents_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_list_application_scorecards_queryparam_proxy.rb +1 -1
- data/lib/stack_one/models/operations/ats_list_application_scorecards_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_list_applications_offers_queryparam_proxy.rb +1 -1
- data/lib/stack_one/models/operations/ats_list_applications_offers_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_list_applications_queryparam_proxy.rb +1 -1
- data/lib/stack_one/models/operations/ats_list_applications_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_list_candidate_notes_queryparam_proxy.rb +1 -1
- data/lib/stack_one/models/operations/ats_list_candidate_notes_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_list_candidates_queryparam_proxy.rb +1 -1
- data/lib/stack_one/models/operations/ats_list_candidates_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_list_departments_queryparam_proxy.rb +1 -1
- data/lib/stack_one/models/operations/ats_list_departments_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_list_interview_stages_queryparam_proxy.rb +1 -1
- data/lib/stack_one/models/operations/ats_list_interview_stages_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_list_interviews_queryparam_proxy.rb +1 -1
- data/lib/stack_one/models/operations/ats_list_interviews_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_list_job_postings_queryparam_proxy.rb +1 -1
- data/lib/stack_one/models/operations/ats_list_job_postings_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_list_jobs_queryparam_proxy.rb +1 -1
- data/lib/stack_one/models/operations/ats_list_jobs_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_list_locations_queryparam_proxy.rb +1 -1
- data/lib/stack_one/models/operations/ats_list_locations_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_list_offers_queryparam_proxy.rb +1 -1
- data/lib/stack_one/models/operations/ats_list_offers_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_list_rejected_reasons_queryparam_proxy.rb +1 -1
- data/lib/stack_one/models/operations/ats_list_rejected_reasons_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_list_users_queryparam_proxy.rb +1 -1
- data/lib/stack_one/models/operations/ats_list_users_request.rb +1 -1
- data/lib/stack_one/models/operations/crm_get_account_queryparam_proxy.rb +1 -1
- data/lib/stack_one/models/operations/crm_get_account_request.rb +1 -1
- data/lib/stack_one/models/operations/crm_get_contact_queryparam_proxy.rb +1 -1
- data/lib/stack_one/models/operations/crm_get_contact_request.rb +1 -1
- data/lib/stack_one/models/operations/crm_get_list_queryparam_proxy.rb +1 -1
- data/lib/stack_one/models/operations/crm_get_list_request.rb +1 -1
- data/lib/stack_one/models/operations/crm_list_accounts_queryparam_proxy.rb +1 -1
- data/lib/stack_one/models/operations/crm_list_accounts_request.rb +1 -1
- data/lib/stack_one/models/operations/crm_list_contacts_queryparam_proxy.rb +1 -1
- data/lib/stack_one/models/operations/crm_list_contacts_request.rb +1 -1
- data/lib/stack_one/models/operations/crm_list_lists_queryparam_proxy.rb +1 -1
- data/lib/stack_one/models/operations/crm_list_lists_request.rb +1 -1
- data/lib/stack_one/models/operations/hris_create_employee_document_request.rb +30 -0
- data/lib/stack_one/models/operations/hris_create_employee_document_response.rb +33 -0
- data/lib/stack_one/models/operations/hris_create_employee_work_eligibility_request_request.rb +30 -0
- data/lib/stack_one/models/operations/hris_create_employee_work_eligibility_request_response.rb +33 -0
- data/lib/stack_one/models/operations/hris_get_benefit_queryparam_proxy.rb +1 -1
- data/lib/stack_one/models/operations/hris_get_benefit_request.rb +1 -1
- data/lib/stack_one/models/operations/hris_get_company_queryparam_proxy.rb +1 -1
- data/lib/stack_one/models/operations/hris_get_company_request.rb +1 -1
- data/lib/stack_one/models/operations/hris_get_employee_document_queryparam_proxy.rb +1 -1
- data/lib/stack_one/models/operations/hris_get_employee_document_request.rb +1 -1
- data/lib/stack_one/models/operations/hris_get_employee_queryparam_proxy.rb +1 -1
- data/lib/stack_one/models/operations/hris_get_employee_request.rb +1 -1
- data/lib/stack_one/models/operations/hris_get_employees_time_off_request_queryparam_proxy.rb +1 -1
- data/lib/stack_one/models/operations/hris_get_employees_time_off_request_request.rb +1 -1
- data/lib/stack_one/models/operations/hris_get_employees_work_eligibility_queryparam_proxy.rb +20 -0
- data/lib/stack_one/models/operations/hris_get_employees_work_eligibility_request.rb +53 -0
- data/lib/stack_one/models/operations/hris_get_employees_work_eligibility_response.rb +33 -0
- data/lib/stack_one/models/operations/hris_get_employment_queryparam_proxy.rb +1 -1
- data/lib/stack_one/models/operations/hris_get_employment_request.rb +1 -1
- data/lib/stack_one/models/operations/hris_get_location_queryparam_proxy.rb +1 -1
- data/lib/stack_one/models/operations/hris_get_location_request.rb +1 -1
- data/lib/stack_one/models/operations/hris_get_time_off_request_queryparam_proxy.rb +1 -1
- data/lib/stack_one/models/operations/hris_get_time_off_request_request.rb +1 -1
- data/lib/stack_one/models/operations/hris_list_benefits_queryparam_proxy.rb +1 -1
- data/lib/stack_one/models/operations/hris_list_benefits_request.rb +1 -1
- data/lib/stack_one/models/operations/hris_list_companies_queryparam_proxy.rb +1 -1
- data/lib/stack_one/models/operations/hris_list_companies_request.rb +1 -1
- data/lib/stack_one/models/operations/hris_list_employee_documents_queryparam_proxy.rb +1 -1
- data/lib/stack_one/models/operations/hris_list_employee_documents_request.rb +1 -1
- data/lib/stack_one/models/operations/hris_list_employee_time_off_requests_queryparam_proxy.rb +1 -1
- data/lib/stack_one/models/operations/hris_list_employee_time_off_requests_request.rb +1 -1
- data/lib/stack_one/models/operations/hris_list_employee_work_eligibility_queryparam_proxy.rb +20 -0
- data/lib/stack_one/models/operations/hris_list_employee_work_eligibility_request.rb +50 -0
- data/lib/stack_one/models/operations/hris_list_employee_work_eligibility_response.rb +33 -0
- data/lib/stack_one/models/operations/hris_list_employees_queryparam_proxy.rb +1 -1
- data/lib/stack_one/models/operations/hris_list_employees_request.rb +1 -1
- data/lib/stack_one/models/operations/hris_list_employments_queryparam_proxy.rb +1 -1
- data/lib/stack_one/models/operations/hris_list_employments_request.rb +1 -1
- data/lib/stack_one/models/operations/hris_list_locations_queryparam_proxy.rb +1 -1
- data/lib/stack_one/models/operations/hris_list_locations_request.rb +1 -1
- data/lib/stack_one/models/operations/hris_list_time_off_requests_queryparam_proxy.rb +1 -1
- data/lib/stack_one/models/operations/hris_list_time_off_requests_request.rb +1 -1
- data/lib/stack_one/models/operations/hris_update_employee_work_eligibility_request_request.rb +33 -0
- data/lib/stack_one/models/operations/hris_update_employee_work_eligibility_request_response.rb +30 -0
- data/lib/stack_one/models/operations/marketing_get_campaign_queryparam_proxy.rb +1 -1
- data/lib/stack_one/models/operations/marketing_get_campaign_request.rb +1 -1
- data/lib/stack_one/models/operations/marketing_get_email_template_queryparam_proxy.rb +1 -1
- data/lib/stack_one/models/operations/marketing_get_email_template_request.rb +1 -1
- data/lib/stack_one/models/operations/marketing_get_omni_channel_template_queryparam_proxy.rb +1 -1
- data/lib/stack_one/models/operations/marketing_get_omni_channel_template_request.rb +1 -1
- data/lib/stack_one/models/operations/marketing_get_push_template_queryparam_proxy.rb +1 -1
- data/lib/stack_one/models/operations/marketing_get_push_template_request.rb +1 -1
- data/lib/stack_one/models/operations/marketing_list_campaigns_queryparam_proxy.rb +1 -1
- data/lib/stack_one/models/operations/marketing_list_campaigns_request.rb +1 -1
- data/lib/stack_one/models/operations/marketing_list_email_templates_queryparam_proxy.rb +1 -1
- data/lib/stack_one/models/operations/marketing_list_email_templates_request.rb +1 -1
- data/lib/stack_one/models/operations/marketing_list_omni_channel_templates_queryparam_proxy.rb +1 -1
- data/lib/stack_one/models/operations/marketing_list_omni_channel_templates_request.rb +1 -1
- data/lib/stack_one/models/operations/marketing_list_push_templates_queryparam_proxy.rb +1 -1
- data/lib/stack_one/models/operations/marketing_list_push_templates_request.rb +1 -1
- data/lib/stack_one/models/operations/proxy.rb +1 -1
- data/lib/stack_one/models/operations/queryparam_proxy.rb +1 -1
- data/lib/stack_one/models/operations.rb +12 -0
- data/lib/stack_one/models/shared/categories.rb +1 -0
- data/lib/stack_one/models/shared/category.rb +1 -0
- data/lib/stack_one/models/shared/company.rb +3 -3
- data/lib/stack_one/models/shared/connectsessioncreate_categories.rb +1 -0
- data/lib/stack_one/models/shared/connectsessiontoken_categories.rb +1 -0
- data/lib/stack_one/models/shared/createdocumentresult.rb +30 -0
- data/lib/stack_one/models/shared/createworkeligibilityresult.rb +30 -0
- data/lib/stack_one/models/shared/emailmessages_value.rb +20 -0
- data/lib/stack_one/models/shared/employee.rb +8 -5
- data/lib/stack_one/models/shared/employee_company.rb +36 -0
- data/lib/stack_one/models/shared/employee_schemas_employment_type_value.rb +0 -2
- data/lib/stack_one/models/shared/employment_schemas_value.rb +0 -2
- data/lib/stack_one/models/shared/hrisbenefit.rb +3 -3
- data/lib/stack_one/models/shared/hrisbenefit_value.rb +4 -0
- data/lib/stack_one/models/shared/hriscreatedocumentrequestdto.rb +33 -0
- data/lib/stack_one/models/shared/hriscreatedocumentrequestdto_type.rb +27 -0
- data/lib/stack_one/models/shared/hriscreatedocumentrequestdto_value.rb +28 -0
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto.rb +5 -2
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_employment_type_value.rb +0 -2
- data/lib/stack_one/models/shared/hriscreatetimeoffrequestdto_schemas_value.rb +8 -0
- data/lib/stack_one/models/shared/hriscreatetimeoffrequestdto_value.rb +3 -0
- data/lib/stack_one/models/shared/hriscreateworkeligibilityrequestdto.rb +42 -0
- data/lib/stack_one/models/shared/hriscreateworkeligibilityrequestdto_schemas_value.rb +22 -0
- data/lib/stack_one/models/shared/hriscreateworkeligibilityrequestdto_type.rb +27 -0
- data/lib/stack_one/models/shared/hriscreateworkeligibilityrequestdto_value.rb +266 -0
- data/lib/stack_one/models/shared/issued_by.rb +27 -0
- data/lib/stack_one/models/shared/job.rb +2 -2
- data/lib/stack_one/models/shared/{response.rb → job_schemas_status.rb} +1 -1
- data/lib/stack_one/models/shared/jobposting_schemas_status_value.rb +1 -0
- data/lib/stack_one/models/shared/jobposting_schemas_value.rb +0 -2
- data/lib/stack_one/models/shared/linkedaccountmeta_category.rb +1 -0
- data/lib/stack_one/models/shared/message_message_type.rb +2 -2
- data/lib/stack_one/models/shared/message_type.rb +2 -2
- data/lib/stack_one/models/shared/message_value.rb +20 -0
- data/lib/stack_one/models/shared/pushmessages_message_type.rb +2 -2
- data/lib/stack_one/models/shared/pushmessages_value.rb +20 -0
- data/lib/stack_one/models/shared/rawresponse.rb +2 -2
- data/lib/stack_one/models/shared/timeoff_schemas_value.rb +8 -0
- data/lib/stack_one/models/shared/timeoff_value.rb +3 -0
- data/lib/stack_one/models/shared/workeligibility.rb +8 -5
- data/lib/stack_one/models/shared/workeligibility_document.rb +39 -0
- data/lib/stack_one/models/shared/workeligibility_issued_by.rb +27 -0
- data/lib/stack_one/models/shared/workeligibility_schemas_value.rb +22 -0
- data/lib/stack_one/models/shared/workeligibility_type.rb +2 -2
- data/lib/stack_one/models/shared/workeligibility_value.rb +250 -6
- data/lib/stack_one/models/shared/workeligibilitypaginated.rb +33 -0
- data/lib/stack_one/models/shared/workeligibilityresult.rb +27 -0
- data/lib/stack_one/models/shared.rb +27 -8
- data/lib/stack_one/proxy.rb +1 -1
- data/lib/stack_one/sdkconfiguration.rb +10 -11
- data/lib/stack_one/stackone.rb +21 -20
- data/lib/stack_one/utils/metadata_fields.rb +8 -12
- data/lib/stack_one/utils/t.rb +59 -0
- data/lib/stack_one/utils/utils.rb +8 -13
- data/lib/stackone_client.rb +5 -3
- metadata +35 -3
@@ -0,0 +1,266 @@
|
|
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
|
+
# HrisCreateWorkEligibilityRequestDtoValue - The ISO3166-1 Alpha2 Code of the Country
|
11
|
+
class HrisCreateWorkEligibilityRequestDtoValue < T::Enum
|
12
|
+
enums do
|
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')
|
262
|
+
end
|
263
|
+
end
|
264
|
+
|
265
|
+
end
|
266
|
+
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 country code of the issued by authority
|
11
|
+
class IssuedBy < ::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 ISO3166-1 Alpha2 Code of the Country
|
17
|
+
field :value, T.nilable(::StackOne::Shared::HrisCreateWorkEligibilityRequestDtoValue), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(::StackOne::Shared::HrisCreateWorkEligibilityRequestDtoValue, true) } }
|
18
|
+
|
19
|
+
|
20
|
+
sig { params(source_value: T.nilable(::Object), value: T.nilable(::StackOne::Shared::HrisCreateWorkEligibilityRequestDtoValue)).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
|
@@ -30,14 +30,14 @@ module StackOne
|
|
30
30
|
|
31
31
|
field :location_ids, T.nilable(T::Array[::String]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('location_ids') } }
|
32
32
|
|
33
|
-
field :status, T.nilable(::
|
33
|
+
field :status, T.nilable(::StackOne::Shared::JobSchemasStatus), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('status') } }
|
34
34
|
|
35
35
|
field :title, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('title') } }
|
36
36
|
# Date of last update
|
37
37
|
field :updated_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
38
38
|
|
39
39
|
|
40
|
-
sig { params(code: T.nilable(::String), confidential: T.nilable(::StackOne::Shared::Confidential), created_at: T.nilable(::DateTime), department_ids: T.nilable(T::Array[::String]), hiring_team: T.nilable(T::Array[::StackOne::Shared::JobHiringTeam]), id: T.nilable(::String), interview_stages: T.nilable(T::Array[::StackOne::Shared::InterviewStage]), job_status: T.nilable(::StackOne::Shared::JobStatus), location_ids: T.nilable(T::Array[::String]), status: T.nilable(::
|
40
|
+
sig { params(code: T.nilable(::String), confidential: T.nilable(::StackOne::Shared::Confidential), created_at: T.nilable(::DateTime), department_ids: T.nilable(T::Array[::String]), hiring_team: T.nilable(T::Array[::StackOne::Shared::JobHiringTeam]), id: T.nilable(::String), interview_stages: T.nilable(T::Array[::StackOne::Shared::InterviewStage]), job_status: T.nilable(::StackOne::Shared::JobStatus), location_ids: T.nilable(T::Array[::String]), status: T.nilable(::StackOne::Shared::JobSchemasStatus), title: T.nilable(::String), updated_at: T.nilable(::DateTime)).void }
|
41
41
|
def initialize(code: nil, confidential: nil, created_at: nil, department_ids: nil, hiring_team: nil, id: nil, interview_stages: nil, job_status: nil, location_ids: nil, status: nil, title: nil, updated_at: nil)
|
42
42
|
@code = code
|
43
43
|
@confidential = confidential
|
@@ -10,8 +10,6 @@ module StackOne
|
|
10
10
|
# JobPostingSchemasValue - The type of the employment.
|
11
11
|
class JobPostingSchemasValue < T::Enum
|
12
12
|
enums do
|
13
|
-
FULL_TIME = new('full_time')
|
14
|
-
PART_TIME = new('part_time')
|
15
13
|
CONTRACTOR = new('contractor')
|
16
14
|
INTERN = new('intern')
|
17
15
|
PERMANENT = new('permanent')
|
@@ -14,10 +14,10 @@ module StackOne
|
|
14
14
|
# The original value from the provider used to derive the unified message type.
|
15
15
|
field :source_value, T.nilable(::Object), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source_value') } }
|
16
16
|
# The unified message type.
|
17
|
-
field :value, T.nilable(::
|
17
|
+
field :value, T.nilable(::StackOne::Shared::MessageValue), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value') } }
|
18
18
|
|
19
19
|
|
20
|
-
sig { params(source_value: T.nilable(::Object), value: T.nilable(::
|
20
|
+
sig { params(source_value: T.nilable(::Object), value: T.nilable(::StackOne::Shared::MessageValue)).void }
|
21
21
|
def initialize(source_value: nil, value: nil)
|
22
22
|
@source_value = source_value
|
23
23
|
@value = value
|
@@ -14,10 +14,10 @@ module StackOne
|
|
14
14
|
# The original value from the provider used to derive the unified message type.
|
15
15
|
field :source_value, T.nilable(::Object), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source_value') } }
|
16
16
|
# The unified message type.
|
17
|
-
field :value, T.nilable(::
|
17
|
+
field :value, T.nilable(::StackOne::Shared::EmailMessagesValue), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value') } }
|
18
18
|
|
19
19
|
|
20
|
-
sig { params(source_value: T.nilable(::Object), value: T.nilable(::
|
20
|
+
sig { params(source_value: T.nilable(::Object), value: T.nilable(::StackOne::Shared::EmailMessagesValue)).void }
|
21
21
|
def initialize(source_value: nil, value: nil)
|
22
22
|
@source_value = source_value
|
23
23
|
@value = value
|
@@ -0,0 +1,20 @@
|
|
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 unified message type.
|
11
|
+
class MessageValue < ::StackOne::Utils::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
|
15
|
+
|
16
|
+
|
17
|
+
def initialize; end
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
@@ -14,10 +14,10 @@ module StackOne
|
|
14
14
|
# The original value from the provider used to derive the unified message type.
|
15
15
|
field :source_value, T.nilable(::Object), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source_value') } }
|
16
16
|
# The unified message type.
|
17
|
-
field :value, T.nilable(::
|
17
|
+
field :value, T.nilable(::StackOne::Shared::PushMessagesValue), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value') } }
|
18
18
|
|
19
19
|
|
20
|
-
sig { params(source_value: T.nilable(::Object), value: T.nilable(::
|
20
|
+
sig { params(source_value: T.nilable(::Object), value: T.nilable(::StackOne::Shared::PushMessagesValue)).void }
|
21
21
|
def initialize(source_value: nil, value: nil)
|
22
22
|
@source_value = source_value
|
23
23
|
@value = value
|
@@ -0,0 +1,20 @@
|
|
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 unified message type.
|
11
|
+
class PushMessagesValue < ::StackOne::Utils::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
|
15
|
+
|
16
|
+
|
17
|
+
def initialize; end
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
@@ -18,10 +18,10 @@ module StackOne
|
|
18
18
|
|
19
19
|
field :body, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('body') } }
|
20
20
|
|
21
|
-
field :response, T.nilable(::
|
21
|
+
field :response, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('response') } }
|
22
22
|
|
23
23
|
|
24
|
-
sig { params(method: ::String, url: ::String, body: T.nilable(::String), response: T.nilable(::
|
24
|
+
sig { params(method: ::String, url: ::String, body: T.nilable(::String), response: T.nilable(T::Hash[Symbol, ::Object])).void }
|
25
25
|
def initialize(method: nil, url: nil, body: nil, response: nil)
|
26
26
|
@method = method
|
27
27
|
@url = url
|
@@ -13,6 +13,14 @@ module StackOne
|
|
13
13
|
SICK = new('sick')
|
14
14
|
UNMAPPED_VALUE = new('unmapped_value')
|
15
15
|
VACATION = new('vacation')
|
16
|
+
LONG_TERM_DISABILITY = new('long_term_disability')
|
17
|
+
SHORT_TERM_DISABILITY = new('short_term_disability')
|
18
|
+
ABSENT = new('absent')
|
19
|
+
COMP_TIME = new('comp_time')
|
20
|
+
TRAINING = new('training')
|
21
|
+
ANNUAL_LEAVE = new('annual_leave')
|
22
|
+
LEAVE_OF_ABSENCE = new('leave_of_absence')
|
23
|
+
CHILD_CARE_LEAVE = new('child_care_leave')
|
16
24
|
end
|
17
25
|
end
|
18
26
|
|
@@ -12,9 +12,11 @@ module StackOne
|
|
12
12
|
extend T::Sig
|
13
13
|
|
14
14
|
|
15
|
-
field :document, T.nilable(::StackOne::Shared::
|
16
|
-
|
17
|
-
field :
|
15
|
+
field :document, T.nilable(::StackOne::Shared::WorkEligibilityDocument), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('document') } }
|
16
|
+
# ID of Visa
|
17
|
+
field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
|
18
|
+
# The country code of the issued by authority
|
19
|
+
field :issued_by, T.nilable(::StackOne::Shared::WorkEligibilityIssuedBy), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('issued_by') } }
|
18
20
|
|
19
21
|
field :number, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('number') } }
|
20
22
|
|
@@ -27,9 +29,10 @@ module StackOne
|
|
27
29
|
field :valid_to, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('valid_to'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
28
30
|
|
29
31
|
|
30
|
-
sig { params(document: T.nilable(::StackOne::Shared::
|
31
|
-
def initialize(document: nil, issued_by: nil, number: nil, sub_type: nil, type: nil, valid_from: nil, valid_to: nil)
|
32
|
+
sig { params(document: T.nilable(::StackOne::Shared::WorkEligibilityDocument), id: T.nilable(::String), issued_by: T.nilable(::StackOne::Shared::WorkEligibilityIssuedBy), number: T.nilable(::String), sub_type: T.nilable(::String), type: T.nilable(::StackOne::Shared::WorkEligibilityType), valid_from: T.nilable(::DateTime), valid_to: T.nilable(::DateTime)).void }
|
33
|
+
def initialize(document: nil, id: nil, issued_by: nil, number: nil, sub_type: nil, type: nil, valid_from: nil, valid_to: nil)
|
32
34
|
@document = document
|
35
|
+
@id = id
|
33
36
|
@issued_by = issued_by
|
34
37
|
@number = number
|
35
38
|
@sub_type = sub_type
|
@@ -0,0 +1,39 @@
|
|
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 WorkEligibilityDocument < ::StackOne::Utils::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
# The content of the file
|
15
|
+
field :contents, T.nilable(T::Array[::StackOne::Shared::Content]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('contents') } }
|
16
|
+
# The creation date of the file
|
17
|
+
field :created_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('created_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
18
|
+
# The unique ID of the file
|
19
|
+
field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
|
20
|
+
# The name of the file
|
21
|
+
field :name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } }
|
22
|
+
# The path where the file is stored
|
23
|
+
field :path, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('path') } }
|
24
|
+
# The update date of the file
|
25
|
+
field :updated_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
26
|
+
|
27
|
+
|
28
|
+
sig { params(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), updated_at: T.nilable(::DateTime)).void }
|
29
|
+
def initialize(contents: nil, created_at: nil, id: nil, name: nil, path: nil, updated_at: nil)
|
30
|
+
@contents = contents
|
31
|
+
@created_at = created_at
|
32
|
+
@id = id
|
33
|
+
@name = name
|
34
|
+
@path = path
|
35
|
+
@updated_at = updated_at
|
36
|
+
end
|
37
|
+
end
|
38
|
+
end
|
39
|
+
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 country code of the issued by authority
|
11
|
+
class WorkEligibilityIssuedBy < ::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 ISO3166-1 Alpha2 Code of the Country
|
17
|
+
field :value, T.nilable(::StackOne::Shared::WorkEligibilityValue), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(::StackOne::Shared::WorkEligibilityValue, true) } }
|
18
|
+
|
19
|
+
|
20
|
+
sig { params(source_value: T.nilable(::Object), value: T.nilable(::StackOne::Shared::WorkEligibilityValue)).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,22 @@
|
|
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 WorkEligibilitySchemasValue < T::Enum
|
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')
|
18
|
+
end
|
19
|
+
end
|
20
|
+
|
21
|
+
end
|
22
|
+
end
|
@@ -14,10 +14,10 @@ module StackOne
|
|
14
14
|
|
15
15
|
field :source_type, T.nilable(::Object), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source_type') } }
|
16
16
|
|
17
|
-
field :value, T.nilable(::StackOne::Shared::
|
17
|
+
field :value, T.nilable(::StackOne::Shared::WorkEligibilitySchemasValue), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(::StackOne::Shared::WorkEligibilitySchemasValue, true) } }
|
18
18
|
|
19
19
|
|
20
|
-
sig { params(source_type: T.nilable(::Object), value: T.nilable(::StackOne::Shared::
|
20
|
+
sig { params(source_type: T.nilable(::Object), value: T.nilable(::StackOne::Shared::WorkEligibilitySchemasValue)).void }
|
21
21
|
def initialize(source_type: nil, value: nil)
|
22
22
|
@source_type = source_type
|
23
23
|
@value = value
|