stackone_client 0.0.3 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/stackone/models/operations/hris_get_company.rb +3 -3
- data/lib/stackone/models/operations/hris_get_employee.rb +3 -3
- data/lib/stackone/models/shared/content.rb +4 -4
- data/lib/stackone/models/shared/costcenters.rb +5 -2
- data/lib/stackone/models/shared/countrycodeenum.rb +4 -4
- data/lib/stackone/models/shared/documentapimodel.rb +8 -8
- data/lib/stackone/models/shared/employee.rb +39 -22
- data/lib/stackone/models/shared/employeecustomfields.rb +3 -3
- data/lib/stackone/models/shared/employment.rb +11 -10
- data/lib/stackone/models/shared/{documentfileformatenum.rb → fileformatenum.rb} +16 -4
- data/lib/stackone/models/shared/hriscreateemployeerequestdto.rb +3 -3
- data/lib/stackone/models/shared/hriscreatetimeoffrequestdto.rb +3 -3
- data/lib/stackone/models/shared/hrislocation.rb +8 -8
- data/lib/stackone/models/shared/workeligibility.rb +101 -0
- data/lib/stackone/sdk.rb +1 -4
- data/lib/stackone/sdkconfiguration.rb +3 -3
- data/lib/stackone_client.rb +4 -154
- metadata +3 -153
- data/lib/stackone/ats.rb +0 -1289
- data/lib/stackone/crm.rb +0 -323
- data/lib/stackone/marketing.rb +0 -584
- data/lib/stackone/models/operations/ats_create_application.rb +0 -53
- data/lib/stackone/models/operations/ats_create_candidate.rb +0 -53
- data/lib/stackone/models/operations/ats_create_candidate_note.rb +0 -56
- data/lib/stackone/models/operations/ats_create_offer.rb +0 -53
- data/lib/stackone/models/operations/ats_get_application.rb +0 -88
- data/lib/stackone/models/operations/ats_get_application_offer.rb +0 -91
- data/lib/stackone/models/operations/ats_get_application_scorecard.rb +0 -91
- data/lib/stackone/models/operations/ats_get_candidate.rb +0 -88
- data/lib/stackone/models/operations/ats_get_candidate_note.rb +0 -91
- data/lib/stackone/models/operations/ats_get_department.rb +0 -88
- data/lib/stackone/models/operations/ats_get_interview.rb +0 -88
- data/lib/stackone/models/operations/ats_get_interview_stage.rb +0 -88
- data/lib/stackone/models/operations/ats_get_job.rb +0 -88
- data/lib/stackone/models/operations/ats_get_job_posting.rb +0 -91
- data/lib/stackone/models/operations/ats_get_location.rb +0 -88
- data/lib/stackone/models/operations/ats_get_offer.rb +0 -88
- data/lib/stackone/models/operations/ats_get_rejected_reason.rb +0 -88
- data/lib/stackone/models/operations/ats_get_user.rb +0 -88
- data/lib/stackone/models/operations/ats_list_application_scorecards.rb +0 -88
- data/lib/stackone/models/operations/ats_list_applications.rb +0 -85
- data/lib/stackone/models/operations/ats_list_applications_offers.rb +0 -88
- data/lib/stackone/models/operations/ats_list_candidate_notes.rb +0 -88
- data/lib/stackone/models/operations/ats_list_candidates.rb +0 -85
- data/lib/stackone/models/operations/ats_list_departments.rb +0 -85
- data/lib/stackone/models/operations/ats_list_interview_stages.rb +0 -85
- data/lib/stackone/models/operations/ats_list_interviews.rb +0 -85
- data/lib/stackone/models/operations/ats_list_job_postings.rb +0 -88
- data/lib/stackone/models/operations/ats_list_jobs.rb +0 -85
- data/lib/stackone/models/operations/ats_list_locations.rb +0 -85
- data/lib/stackone/models/operations/ats_list_offers.rb +0 -85
- data/lib/stackone/models/operations/ats_list_rejected_reasons.rb +0 -85
- data/lib/stackone/models/operations/ats_list_users.rb +0 -85
- data/lib/stackone/models/operations/ats_update_application.rb +0 -56
- data/lib/stackone/models/operations/ats_update_candidate.rb +0 -56
- data/lib/stackone/models/operations/crm_create_contact.rb +0 -53
- data/lib/stackone/models/operations/crm_get_account.rb +0 -88
- data/lib/stackone/models/operations/crm_get_contact.rb +0 -88
- data/lib/stackone/models/operations/crm_get_list.rb +0 -88
- data/lib/stackone/models/operations/crm_list_accounts.rb +0 -85
- data/lib/stackone/models/operations/crm_list_contacts.rb +0 -85
- data/lib/stackone/models/operations/crm_list_lists.rb +0 -85
- data/lib/stackone/models/operations/crm_update_contact.rb +0 -56
- data/lib/stackone/models/operations/marketing_create_email_template.rb +0 -53
- data/lib/stackone/models/operations/marketing_create_omni_channel_template.rb +0 -53
- data/lib/stackone/models/operations/marketing_create_push_template.rb +0 -53
- data/lib/stackone/models/operations/marketing_get_campaign.rb +0 -88
- data/lib/stackone/models/operations/marketing_get_email_template.rb +0 -88
- data/lib/stackone/models/operations/marketing_get_omni_channel_template.rb +0 -88
- data/lib/stackone/models/operations/marketing_get_push_template.rb +0 -88
- data/lib/stackone/models/operations/marketing_list_campaigns.rb +0 -85
- data/lib/stackone/models/operations/marketing_list_email_templates.rb +0 -85
- data/lib/stackone/models/operations/marketing_list_omni_channel_templates.rb +0 -85
- data/lib/stackone/models/operations/marketing_list_push_templates.rb +0 -85
- data/lib/stackone/models/operations/marketing_update_email_template.rb +0 -56
- data/lib/stackone/models/operations/marketing_update_omni_channel_template.rb +0 -56
- data/lib/stackone/models/operations/marketing_update_push_template.rb +0 -56
- data/lib/stackone/models/shared/account.rb +0 -55
- data/lib/stackone/models/shared/accountaddress.rb +0 -342
- data/lib/stackone/models/shared/accountresult.rb +0 -29
- data/lib/stackone/models/shared/accountspaginated.rb +0 -34
- data/lib/stackone/models/shared/answer.rb +0 -64
- data/lib/stackone/models/shared/application.rb +0 -158
- data/lib/stackone/models/shared/applicationattachment.rb +0 -63
- data/lib/stackone/models/shared/applicationresult.rb +0 -29
- data/lib/stackone/models/shared/applicationspaginated.rb +0 -34
- data/lib/stackone/models/shared/atscreateapplicationrequestdto.rb +0 -102
- data/lib/stackone/models/shared/atscreatecandidaterequestdto.rb +0 -46
- data/lib/stackone/models/shared/atscreatenotesrequestdto.rb +0 -57
- data/lib/stackone/models/shared/atscreateofferrequestdto.rb +0 -72
- data/lib/stackone/models/shared/atslocation.rb +0 -28
- data/lib/stackone/models/shared/atslocationresult.rb +0 -29
- data/lib/stackone/models/shared/atslocationspaginated.rb +0 -34
- data/lib/stackone/models/shared/atsupdateapplicationrequestdto.rb +0 -105
- data/lib/stackone/models/shared/atsupdatecandidatesrequestdto.rb +0 -49
- data/lib/stackone/models/shared/attachmenttype.rb +0 -40
- data/lib/stackone/models/shared/campaign.rb +0 -120
- data/lib/stackone/models/shared/campaignresult.rb +0 -29
- data/lib/stackone/models/shared/campaignspaginated.rb +0 -34
- data/lib/stackone/models/shared/candidate.rb +0 -64
- data/lib/stackone/models/shared/candidateemail.rb +0 -28
- data/lib/stackone/models/shared/candidateresult.rb +0 -29
- data/lib/stackone/models/shared/candidatespaginated.rb +0 -34
- data/lib/stackone/models/shared/channelsenum.rb +0 -42
- data/lib/stackone/models/shared/contact.rb +0 -52
- data/lib/stackone/models/shared/contactresult.rb +0 -29
- data/lib/stackone/models/shared/contactspaginated.rb +0 -34
- data/lib/stackone/models/shared/createcandidatenoteresult.rb +0 -31
- data/lib/stackone/models/shared/createofferresult.rb +0 -31
- data/lib/stackone/models/shared/createresult.rb +0 -31
- data/lib/stackone/models/shared/createtemplateresult.rb +0 -31
- data/lib/stackone/models/shared/crmcreatecontactrequestdto.rb +0 -43
- data/lib/stackone/models/shared/department.rb +0 -28
- data/lib/stackone/models/shared/departmentresult.rb +0 -29
- data/lib/stackone/models/shared/departmentspaginated.rb +0 -34
- data/lib/stackone/models/shared/emailmessages.rb +0 -93
- data/lib/stackone/models/shared/field.rb +0 -56
- data/lib/stackone/models/shared/interview.rb +0 -117
- data/lib/stackone/models/shared/interviewer.rb +0 -37
- data/lib/stackone/models/shared/interviewpart.rb +0 -40
- data/lib/stackone/models/shared/interviewspaginated.rb +0 -34
- data/lib/stackone/models/shared/interviewsresult.rb +0 -29
- data/lib/stackone/models/shared/interviewstage.rb +0 -37
- data/lib/stackone/models/shared/interviewstageresult.rb +0 -29
- data/lib/stackone/models/shared/interviewstagespaginated.rb +0 -34
- data/lib/stackone/models/shared/job.rb +0 -96
- data/lib/stackone/models/shared/jobhiringteam.rb +0 -37
- data/lib/stackone/models/shared/jobposting.rb +0 -189
- data/lib/stackone/models/shared/jobpostingcompensation.rb +0 -149
- data/lib/stackone/models/shared/jobpostinglocation.rb +0 -28
- data/lib/stackone/models/shared/jobpostingquestionnaire.rb +0 -34
- data/lib/stackone/models/shared/jobpostingresult.rb +0 -29
- data/lib/stackone/models/shared/jobpostingspaginated.rb +0 -34
- data/lib/stackone/models/shared/jobresult.rb +0 -29
- data/lib/stackone/models/shared/jobspaginated.rb +0 -34
- data/lib/stackone/models/shared/list.rb +0 -67
- data/lib/stackone/models/shared/listresult.rb +0 -29
- data/lib/stackone/models/shared/listspaginated.rb +0 -34
- data/lib/stackone/models/shared/marketingcreateemailtemplaterequestdto.rb +0 -34
- data/lib/stackone/models/shared/marketingcreatepushtemplaterequestdto.rb +0 -34
- data/lib/stackone/models/shared/marketingcreatetemplaterequestdto.rb +0 -34
- data/lib/stackone/models/shared/message.rb +0 -50
- data/lib/stackone/models/shared/note.rb +0 -69
- data/lib/stackone/models/shared/notecontentapimodel.rb +0 -25
- data/lib/stackone/models/shared/noteresult.rb +0 -29
- data/lib/stackone/models/shared/notespaginated.rb +0 -34
- data/lib/stackone/models/shared/offer.rb +0 -81
- data/lib/stackone/models/shared/offerhistory.rb +0 -37
- data/lib/stackone/models/shared/offerspaginated.rb +0 -34
- data/lib/stackone/models/shared/offersresult.rb +0 -29
- data/lib/stackone/models/shared/pushmessages.rb +0 -81
- data/lib/stackone/models/shared/question.rb +0 -73
- data/lib/stackone/models/shared/questionmultiplechoiceanswers.rb +0 -28
- data/lib/stackone/models/shared/questionnaire.rb +0 -28
- data/lib/stackone/models/shared/rejectedreason.rb +0 -60
- data/lib/stackone/models/shared/rejectedreasonresult.rb +0 -29
- data/lib/stackone/models/shared/rejectedreasonspaginated.rb +0 -34
- data/lib/stackone/models/shared/resultlink.rb +0 -28
- data/lib/stackone/models/shared/scorecard.rb +0 -65
- data/lib/stackone/models/shared/scorecardsection.rb +0 -31
- data/lib/stackone/models/shared/scorecardspaginated.rb +0 -34
- data/lib/stackone/models/shared/sociallink.rb +0 -28
- data/lib/stackone/models/shared/template.rb +0 -37
- data/lib/stackone/models/shared/templateresult.rb +0 -29
- data/lib/stackone/models/shared/templatespaginated.rb +0 -34
- data/lib/stackone/models/shared/updateresult.rb +0 -31
- data/lib/stackone/models/shared/user.rb +0 -40
- data/lib/stackone/models/shared/userresult.rb +0 -29
- data/lib/stackone/models/shared/userspaginated.rb +0 -34
@@ -1,342 +0,0 @@
|
|
1
|
-
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
2
|
-
|
3
|
-
# typed: true
|
4
|
-
# frozen_string_literal: true
|
5
|
-
|
6
|
-
require 'sorbet-runtime'
|
7
|
-
require 'faraday'
|
8
|
-
|
9
|
-
module StackOne
|
10
|
-
module Shared
|
11
|
-
# AccountAddressSchemasValue - The ISO 3166-1 alpha-2 code of the country.
|
12
|
-
class AccountAddressSchemasValue < T::Enum
|
13
|
-
enums do
|
14
|
-
AF = new('AF')
|
15
|
-
AL = new('AL')
|
16
|
-
DZ = new('DZ')
|
17
|
-
AS = new('AS')
|
18
|
-
AD = new('AD')
|
19
|
-
AO = new('AO')
|
20
|
-
AI = new('AI')
|
21
|
-
AQ = new('AQ')
|
22
|
-
AG = new('AG')
|
23
|
-
AR = new('AR')
|
24
|
-
AM = new('AM')
|
25
|
-
AW = new('AW')
|
26
|
-
AU = new('AU')
|
27
|
-
AT = new('AT')
|
28
|
-
AZ = new('AZ')
|
29
|
-
BS = new('BS')
|
30
|
-
BH = new('BH')
|
31
|
-
BD = new('BD')
|
32
|
-
BB = new('BB')
|
33
|
-
BY = new('BY')
|
34
|
-
BE = new('BE')
|
35
|
-
BZ = new('BZ')
|
36
|
-
BJ = new('BJ')
|
37
|
-
BM = new('BM')
|
38
|
-
BT = new('BT')
|
39
|
-
BO = new('BO')
|
40
|
-
BQ = new('BQ')
|
41
|
-
BA = new('BA')
|
42
|
-
BW = new('BW')
|
43
|
-
BV = new('BV')
|
44
|
-
BR = new('BR')
|
45
|
-
IO = new('IO')
|
46
|
-
BN = new('BN')
|
47
|
-
BG = new('BG')
|
48
|
-
BF = new('BF')
|
49
|
-
BI = new('BI')
|
50
|
-
KH = new('KH')
|
51
|
-
CM = new('CM')
|
52
|
-
CA = new('CA')
|
53
|
-
CV = new('CV')
|
54
|
-
KY = new('KY')
|
55
|
-
CF = new('CF')
|
56
|
-
TD = new('TD')
|
57
|
-
CL = new('CL')
|
58
|
-
CN = new('CN')
|
59
|
-
CX = new('CX')
|
60
|
-
CC = new('CC')
|
61
|
-
CO = new('CO')
|
62
|
-
KM = new('KM')
|
63
|
-
CG = new('CG')
|
64
|
-
CD = new('CD')
|
65
|
-
CK = new('CK')
|
66
|
-
CR = new('CR')
|
67
|
-
HR = new('HR')
|
68
|
-
CU = new('CU')
|
69
|
-
CW = new('CW')
|
70
|
-
CY = new('CY')
|
71
|
-
CZ = new('CZ')
|
72
|
-
CI = new('CI')
|
73
|
-
DK = new('DK')
|
74
|
-
DJ = new('DJ')
|
75
|
-
DM = new('DM')
|
76
|
-
DO = new('DO')
|
77
|
-
EC = new('EC')
|
78
|
-
EG = new('EG')
|
79
|
-
SV = new('SV')
|
80
|
-
GQ = new('GQ')
|
81
|
-
ER = new('ER')
|
82
|
-
EE = new('EE')
|
83
|
-
ET = new('ET')
|
84
|
-
FK = new('FK')
|
85
|
-
FO = new('FO')
|
86
|
-
FJ = new('FJ')
|
87
|
-
FI = new('FI')
|
88
|
-
FR = new('FR')
|
89
|
-
GF = new('GF')
|
90
|
-
PF = new('PF')
|
91
|
-
TF = new('TF')
|
92
|
-
GA = new('GA')
|
93
|
-
GM = new('GM')
|
94
|
-
GE = new('GE')
|
95
|
-
DE = new('DE')
|
96
|
-
GH = new('GH')
|
97
|
-
GI = new('GI')
|
98
|
-
GR = new('GR')
|
99
|
-
GL = new('GL')
|
100
|
-
GD = new('GD')
|
101
|
-
GP = new('GP')
|
102
|
-
GU = new('GU')
|
103
|
-
GT = new('GT')
|
104
|
-
GG = new('GG')
|
105
|
-
GN = new('GN')
|
106
|
-
GW = new('GW')
|
107
|
-
GY = new('GY')
|
108
|
-
HT = new('HT')
|
109
|
-
HM = new('HM')
|
110
|
-
VA = new('VA')
|
111
|
-
HN = new('HN')
|
112
|
-
HK = new('HK')
|
113
|
-
HU = new('HU')
|
114
|
-
IS = new('IS')
|
115
|
-
IN = new('IN')
|
116
|
-
ID = new('ID')
|
117
|
-
IR = new('IR')
|
118
|
-
IQ = new('IQ')
|
119
|
-
IE = new('IE')
|
120
|
-
IM = new('IM')
|
121
|
-
IL = new('IL')
|
122
|
-
IT = new('IT')
|
123
|
-
JM = new('JM')
|
124
|
-
JP = new('JP')
|
125
|
-
JE = new('JE')
|
126
|
-
JO = new('JO')
|
127
|
-
KZ = new('KZ')
|
128
|
-
KE = new('KE')
|
129
|
-
KI = new('KI')
|
130
|
-
KP = new('KP')
|
131
|
-
KR = new('KR')
|
132
|
-
KW = new('KW')
|
133
|
-
KG = new('KG')
|
134
|
-
LA = new('LA')
|
135
|
-
LV = new('LV')
|
136
|
-
LB = new('LB')
|
137
|
-
LS = new('LS')
|
138
|
-
LR = new('LR')
|
139
|
-
LY = new('LY')
|
140
|
-
LI = new('LI')
|
141
|
-
LT = new('LT')
|
142
|
-
LU = new('LU')
|
143
|
-
MO = new('MO')
|
144
|
-
MK = new('MK')
|
145
|
-
MG = new('MG')
|
146
|
-
MW = new('MW')
|
147
|
-
MY = new('MY')
|
148
|
-
MV = new('MV')
|
149
|
-
ML = new('ML')
|
150
|
-
MT = new('MT')
|
151
|
-
MH = new('MH')
|
152
|
-
MQ = new('MQ')
|
153
|
-
MR = new('MR')
|
154
|
-
MU = new('MU')
|
155
|
-
YT = new('YT')
|
156
|
-
MX = new('MX')
|
157
|
-
FM = new('FM')
|
158
|
-
MD = new('MD')
|
159
|
-
MC = new('MC')
|
160
|
-
MN = new('MN')
|
161
|
-
ME = new('ME')
|
162
|
-
MS = new('MS')
|
163
|
-
MA = new('MA')
|
164
|
-
MZ = new('MZ')
|
165
|
-
MM = new('MM')
|
166
|
-
NA = new('NA')
|
167
|
-
NR = new('NR')
|
168
|
-
NP = new('NP')
|
169
|
-
NL = new('NL')
|
170
|
-
NC = new('NC')
|
171
|
-
NZ = new('NZ')
|
172
|
-
NI = new('NI')
|
173
|
-
NE = new('NE')
|
174
|
-
NG = new('NG')
|
175
|
-
NU = new('NU')
|
176
|
-
NF = new('NF')
|
177
|
-
MP = new('MP')
|
178
|
-
NO = new('NO')
|
179
|
-
OM = new('OM')
|
180
|
-
PK = new('PK')
|
181
|
-
PW = new('PW')
|
182
|
-
PS = new('PS')
|
183
|
-
PA = new('PA')
|
184
|
-
PG = new('PG')
|
185
|
-
PY = new('PY')
|
186
|
-
PE = new('PE')
|
187
|
-
PH = new('PH')
|
188
|
-
PN = new('PN')
|
189
|
-
PL = new('PL')
|
190
|
-
PT = new('PT')
|
191
|
-
PR = new('PR')
|
192
|
-
QA = new('QA')
|
193
|
-
RO = new('RO')
|
194
|
-
RU = new('RU')
|
195
|
-
RW = new('RW')
|
196
|
-
RE = new('RE')
|
197
|
-
BL = new('BL')
|
198
|
-
SH = new('SH')
|
199
|
-
KN = new('KN')
|
200
|
-
LC = new('LC')
|
201
|
-
MF = new('MF')
|
202
|
-
PM = new('PM')
|
203
|
-
VC = new('VC')
|
204
|
-
WS = new('WS')
|
205
|
-
SM = new('SM')
|
206
|
-
ST = new('ST')
|
207
|
-
SA = new('SA')
|
208
|
-
SN = new('SN')
|
209
|
-
RS = new('RS')
|
210
|
-
SC = new('SC')
|
211
|
-
SL = new('SL')
|
212
|
-
SG = new('SG')
|
213
|
-
SX = new('SX')
|
214
|
-
SK = new('SK')
|
215
|
-
SI = new('SI')
|
216
|
-
SB = new('SB')
|
217
|
-
SO = new('SO')
|
218
|
-
ZA = new('ZA')
|
219
|
-
GS = new('GS')
|
220
|
-
SS = new('SS')
|
221
|
-
ES = new('ES')
|
222
|
-
LK = new('LK')
|
223
|
-
SD = new('SD')
|
224
|
-
SR = new('SR')
|
225
|
-
SJ = new('SJ')
|
226
|
-
SZ = new('SZ')
|
227
|
-
SE = new('SE')
|
228
|
-
CH = new('CH')
|
229
|
-
SY = new('SY')
|
230
|
-
TW = new('TW')
|
231
|
-
TJ = new('TJ')
|
232
|
-
TZ = new('TZ')
|
233
|
-
TH = new('TH')
|
234
|
-
TL = new('TL')
|
235
|
-
TG = new('TG')
|
236
|
-
TK = new('TK')
|
237
|
-
TO = new('TO')
|
238
|
-
TT = new('TT')
|
239
|
-
TN = new('TN')
|
240
|
-
TR = new('TR')
|
241
|
-
TM = new('TM')
|
242
|
-
TC = new('TC')
|
243
|
-
TV = new('TV')
|
244
|
-
UG = new('UG')
|
245
|
-
UA = new('UA')
|
246
|
-
AE = new('AE')
|
247
|
-
GB = new('GB')
|
248
|
-
US = new('US')
|
249
|
-
UM = new('UM')
|
250
|
-
UY = new('UY')
|
251
|
-
UZ = new('UZ')
|
252
|
-
VU = new('VU')
|
253
|
-
VE = new('VE')
|
254
|
-
VN = new('VN')
|
255
|
-
VG = new('VG')
|
256
|
-
VI = new('VI')
|
257
|
-
WF = new('WF')
|
258
|
-
EH = new('EH')
|
259
|
-
YE = new('YE')
|
260
|
-
ZM = new('ZM')
|
261
|
-
ZW = new('ZW')
|
262
|
-
end
|
263
|
-
end
|
264
|
-
|
265
|
-
|
266
|
-
# The country code
|
267
|
-
class Country < ::StackOne::Utils::FieldAugmented
|
268
|
-
extend T::Sig
|
269
|
-
|
270
|
-
# The source value of the ISO 3166-1 alpha-2 code of the country.
|
271
|
-
field :source_value, T.nilable(Object), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source_value') } }
|
272
|
-
# The ISO 3166-1 alpha-2 code of the country.
|
273
|
-
field :value, T.nilable(Shared::AccountAddressSchemasValue), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(Shared::AccountAddressSchemasValue, true) } }
|
274
|
-
|
275
|
-
|
276
|
-
sig { params(source_value: T.nilable(Object), value: T.nilable(Shared::AccountAddressSchemasValue)).void }
|
277
|
-
def initialize(source_value: nil, value: nil)
|
278
|
-
@source_value = source_value
|
279
|
-
@value = value
|
280
|
-
end
|
281
|
-
end
|
282
|
-
|
283
|
-
# AccountAddressValue - The type of the location.
|
284
|
-
class AccountAddressValue < T::Enum
|
285
|
-
enums do
|
286
|
-
HOME = new('home')
|
287
|
-
WORK = new('work')
|
288
|
-
UNMAPPED_VALUE = new('unmapped_value')
|
289
|
-
end
|
290
|
-
end
|
291
|
-
|
292
|
-
|
293
|
-
# The location type
|
294
|
-
class LocationType < ::StackOne::Utils::FieldAugmented
|
295
|
-
extend T::Sig
|
296
|
-
|
297
|
-
# The source value of the location type.
|
298
|
-
field :source_value, T.nilable(Object), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source_value') } }
|
299
|
-
# The type of the location.
|
300
|
-
field :value, T.nilable(Shared::AccountAddressValue), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(Shared::AccountAddressValue, true) } }
|
301
|
-
|
302
|
-
|
303
|
-
sig { params(source_value: T.nilable(Object), value: T.nilable(Shared::AccountAddressValue)).void }
|
304
|
-
def initialize(source_value: nil, value: nil)
|
305
|
-
@source_value = source_value
|
306
|
-
@value = value
|
307
|
-
end
|
308
|
-
end
|
309
|
-
|
310
|
-
|
311
|
-
class AccountAddress < ::StackOne::Utils::FieldAugmented
|
312
|
-
extend T::Sig
|
313
|
-
|
314
|
-
|
315
|
-
field :city, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('city') } }
|
316
|
-
# The country code
|
317
|
-
field :country, T.nilable(Shared::Country), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('country') } }
|
318
|
-
# The location type
|
319
|
-
field :location_type, T.nilable(Shared::LocationType), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('location_type') } }
|
320
|
-
|
321
|
-
field :state, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('state') } }
|
322
|
-
|
323
|
-
field :street_1, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('street_1') } }
|
324
|
-
|
325
|
-
field :street_2, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('street_2') } }
|
326
|
-
|
327
|
-
field :zip_code, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('zip_code') } }
|
328
|
-
|
329
|
-
|
330
|
-
sig { params(city: T.nilable(String), country: T.nilable(Shared::Country), location_type: T.nilable(Shared::LocationType), state: T.nilable(String), street_1: T.nilable(String), street_2: T.nilable(String), zip_code: T.nilable(String)).void }
|
331
|
-
def initialize(city: nil, country: nil, location_type: nil, state: nil, street_1: nil, street_2: nil, zip_code: nil)
|
332
|
-
@city = city
|
333
|
-
@country = country
|
334
|
-
@location_type = location_type
|
335
|
-
@state = state
|
336
|
-
@street_1 = street_1
|
337
|
-
@street_2 = street_2
|
338
|
-
@zip_code = zip_code
|
339
|
-
end
|
340
|
-
end
|
341
|
-
end
|
342
|
-
end
|
@@ -1,29 +0,0 @@
|
|
1
|
-
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
2
|
-
|
3
|
-
# typed: true
|
4
|
-
# frozen_string_literal: true
|
5
|
-
|
6
|
-
require 'sorbet-runtime'
|
7
|
-
require 'faraday'
|
8
|
-
require_relative '../shared/account'
|
9
|
-
|
10
|
-
module StackOne
|
11
|
-
module Shared
|
12
|
-
|
13
|
-
class AccountResult < ::StackOne::Utils::FieldAugmented
|
14
|
-
extend T::Sig
|
15
|
-
|
16
|
-
|
17
|
-
field :data, Shared::Account, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('data') } }
|
18
|
-
|
19
|
-
field :raw, T.nilable(T::Array[Shared::RawResponse]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('raw') } }
|
20
|
-
|
21
|
-
|
22
|
-
sig { params(data: Shared::Account, raw: T.nilable(T::Array[Shared::RawResponse])).void }
|
23
|
-
def initialize(data: nil, raw: nil)
|
24
|
-
@data = data
|
25
|
-
@raw = raw
|
26
|
-
end
|
27
|
-
end
|
28
|
-
end
|
29
|
-
end
|
@@ -1,34 +0,0 @@
|
|
1
|
-
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
2
|
-
|
3
|
-
# typed: true
|
4
|
-
# frozen_string_literal: true
|
5
|
-
|
6
|
-
require 'sorbet-runtime'
|
7
|
-
require 'faraday'
|
8
|
-
|
9
|
-
module StackOne
|
10
|
-
module Shared
|
11
|
-
|
12
|
-
class AccountsPaginated < ::StackOne::Utils::FieldAugmented
|
13
|
-
extend T::Sig
|
14
|
-
|
15
|
-
|
16
|
-
field :data, T::Array[Shared::Account], { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('data') } }
|
17
|
-
|
18
|
-
field :next_, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('next') } }
|
19
|
-
# @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
|
20
|
-
field :next_page, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('next_page') } }
|
21
|
-
|
22
|
-
field :raw, T.nilable(T::Array[Shared::RawResponse]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('raw') } }
|
23
|
-
|
24
|
-
|
25
|
-
sig { params(data: T::Array[Shared::Account], next_: T.nilable(String), next_page: T.nilable(String), raw: T.nilable(T::Array[Shared::RawResponse])).void }
|
26
|
-
def initialize(data: nil, next_: nil, next_page: nil, raw: nil)
|
27
|
-
@data = data
|
28
|
-
@next_ = next_
|
29
|
-
@next_page = next_page
|
30
|
-
@raw = raw
|
31
|
-
end
|
32
|
-
end
|
33
|
-
end
|
34
|
-
end
|
@@ -1,64 +0,0 @@
|
|
1
|
-
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
2
|
-
|
3
|
-
# typed: true
|
4
|
-
# frozen_string_literal: true
|
5
|
-
|
6
|
-
require 'sorbet-runtime'
|
7
|
-
require 'faraday'
|
8
|
-
|
9
|
-
module StackOne
|
10
|
-
module Shared
|
11
|
-
# AnswerValue - The type of the answer.
|
12
|
-
class AnswerValue < T::Enum
|
13
|
-
enums do
|
14
|
-
SHORT_TEXT = new('short_text')
|
15
|
-
LONG_TEXT = new('long_text')
|
16
|
-
ATTACHMENT = new('attachment')
|
17
|
-
MULTI_SELECT = new('multi_select')
|
18
|
-
SINGLE_SELECT = new('single_select')
|
19
|
-
BOOLEAN = new('boolean')
|
20
|
-
NUMBER = new('number')
|
21
|
-
DATE = new('date')
|
22
|
-
VIDEO = new('video')
|
23
|
-
end
|
24
|
-
end
|
25
|
-
|
26
|
-
|
27
|
-
# Type of the answer
|
28
|
-
class Type < ::StackOne::Utils::FieldAugmented
|
29
|
-
extend T::Sig
|
30
|
-
|
31
|
-
# The source value of the answer type.
|
32
|
-
field :source_value, T.nilable(Object), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source_value') } }
|
33
|
-
# The type of the answer.
|
34
|
-
field :value, T.nilable(Shared::AnswerValue), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(Shared::AnswerValue, true) } }
|
35
|
-
|
36
|
-
|
37
|
-
sig { params(source_value: T.nilable(Object), value: T.nilable(Shared::AnswerValue)).void }
|
38
|
-
def initialize(source_value: nil, value: nil)
|
39
|
-
@source_value = source_value
|
40
|
-
@value = value
|
41
|
-
end
|
42
|
-
end
|
43
|
-
|
44
|
-
|
45
|
-
class Answer < ::StackOne::Utils::FieldAugmented
|
46
|
-
extend T::Sig
|
47
|
-
|
48
|
-
# Unique identifier of the answer
|
49
|
-
field :id, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
|
50
|
-
# Type of the answer
|
51
|
-
field :type, T.nilable(Shared::Type), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('type') } }
|
52
|
-
# Values of the answer
|
53
|
-
field :values, T.nilable(T::Array[String]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('values') } }
|
54
|
-
|
55
|
-
|
56
|
-
sig { params(id: T.nilable(String), type: T.nilable(Shared::Type), values: T.nilable(T::Array[String])).void }
|
57
|
-
def initialize(id: nil, type: nil, values: nil)
|
58
|
-
@id = id
|
59
|
-
@type = type
|
60
|
-
@values = values
|
61
|
-
end
|
62
|
-
end
|
63
|
-
end
|
64
|
-
end
|
@@ -1,158 +0,0 @@
|
|
1
|
-
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
2
|
-
|
3
|
-
# typed: true
|
4
|
-
# frozen_string_literal: true
|
5
|
-
|
6
|
-
require 'sorbet-runtime'
|
7
|
-
require 'faraday'
|
8
|
-
|
9
|
-
module StackOne
|
10
|
-
module Shared
|
11
|
-
# ApplicationValue - The status of the application.
|
12
|
-
class ApplicationValue < T::Enum
|
13
|
-
enums do
|
14
|
-
ACTIVE = new('active')
|
15
|
-
ASSESSMENT = new('assessment')
|
16
|
-
BACKGROUND_CHECK = new('background_check')
|
17
|
-
CONVERTED = new('converted')
|
18
|
-
DECLINED_BY_CANDIDATE = new('declined_by_candidate')
|
19
|
-
HIRED = new('hired')
|
20
|
-
INTERVIEW = new('interview')
|
21
|
-
LEAD = new('lead')
|
22
|
-
OFFER = new('offer')
|
23
|
-
REFERENCE_CHECK = new('reference_check')
|
24
|
-
REJECTED = new('rejected')
|
25
|
-
REVIEW = new('review')
|
26
|
-
SCREEN = new('screen')
|
27
|
-
NEW = new('new')
|
28
|
-
UNMAPPED_VALUE = new('unmapped_value')
|
29
|
-
end
|
30
|
-
end
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
class ApplicationStatus < ::StackOne::Utils::FieldAugmented
|
35
|
-
extend T::Sig
|
36
|
-
|
37
|
-
# The source value of the application status.
|
38
|
-
field :source_value, T.nilable(Object), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source_value') } }
|
39
|
-
# The status of the application.
|
40
|
-
field :value, T.nilable(Shared::ApplicationValue), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(Shared::ApplicationValue, true) } }
|
41
|
-
|
42
|
-
|
43
|
-
sig { params(source_value: T.nilable(Object), value: T.nilable(Shared::ApplicationValue)).void }
|
44
|
-
def initialize(source_value: nil, value: nil)
|
45
|
-
@source_value = source_value
|
46
|
-
@value = value
|
47
|
-
end
|
48
|
-
end
|
49
|
-
|
50
|
-
|
51
|
-
class ApplicationCandidate < ::StackOne::Utils::FieldAugmented
|
52
|
-
extend T::Sig
|
53
|
-
|
54
|
-
# Email of the candidate
|
55
|
-
field :email, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('email') } }
|
56
|
-
# First name of the candidate
|
57
|
-
field :first_name, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('first_name') } }
|
58
|
-
# Last name of the candidate
|
59
|
-
field :last_name, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('last_name') } }
|
60
|
-
|
61
|
-
|
62
|
-
sig { params(email: T.nilable(String), first_name: T.nilable(String), last_name: T.nilable(String)).void }
|
63
|
-
def initialize(email: nil, first_name: nil, last_name: nil)
|
64
|
-
@email = email
|
65
|
-
@first_name = first_name
|
66
|
-
@last_name = last_name
|
67
|
-
end
|
68
|
-
end
|
69
|
-
|
70
|
-
|
71
|
-
class ApplicationInterviewStage < ::StackOne::Utils::FieldAugmented
|
72
|
-
extend T::Sig
|
73
|
-
|
74
|
-
# Interview Stage created date
|
75
|
-
field :created_at, T.nilable(DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('created_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
76
|
-
|
77
|
-
field :id, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
|
78
|
-
|
79
|
-
field :name, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } }
|
80
|
-
|
81
|
-
field :order, T.nilable(Float), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('order') } }
|
82
|
-
# Interview Stage updated date
|
83
|
-
field :updated_at, T.nilable(DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
84
|
-
|
85
|
-
|
86
|
-
sig { params(created_at: T.nilable(DateTime), id: T.nilable(String), name: T.nilable(String), order: T.nilable(Float), updated_at: T.nilable(DateTime)).void }
|
87
|
-
def initialize(created_at: nil, id: nil, name: nil, order: nil, updated_at: nil)
|
88
|
-
@created_at = created_at
|
89
|
-
@id = id
|
90
|
-
@name = name
|
91
|
-
@order = order
|
92
|
-
@updated_at = updated_at
|
93
|
-
end
|
94
|
-
end
|
95
|
-
|
96
|
-
|
97
|
-
class Application < ::StackOne::Utils::FieldAugmented
|
98
|
-
extend T::Sig
|
99
|
-
|
100
|
-
|
101
|
-
field :application_status, T.nilable(Shared::ApplicationStatus), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('application_status') } }
|
102
|
-
|
103
|
-
field :attachments, T.nilable(T::Array[Shared::ApplicationAttachment]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('attachments') } }
|
104
|
-
|
105
|
-
field :candidate, T.nilable(Shared::ApplicationCandidate), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('candidate') } }
|
106
|
-
# Unique identifier of the candidate
|
107
|
-
field :candidate_id, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('candidate_id') } }
|
108
|
-
# Date of creation
|
109
|
-
field :created_at, T.nilable(DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('created_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
110
|
-
# Unique identifier of the application
|
111
|
-
field :id, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
|
112
|
-
|
113
|
-
field :interview_stage, T.nilable(Shared::ApplicationInterviewStage), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('interview_stage') } }
|
114
|
-
# Unique identifier of the interview stage
|
115
|
-
field :interview_stage_id, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('interview_stage_id') } }
|
116
|
-
# Unique identifier of the job
|
117
|
-
field :job_id, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('job_id') } }
|
118
|
-
# Unique identifier of the location
|
119
|
-
field :location_id, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('location_id') } }
|
120
|
-
# Unique identifiers of the locations
|
121
|
-
field :location_ids, T.nilable(T::Array[String]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('location_ids') } }
|
122
|
-
# Questionnaires associated with the application
|
123
|
-
field :questionnaires, T.nilable(T::Array[Shared::Questionnaire]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('questionnaires') } }
|
124
|
-
# Date of rejection
|
125
|
-
field :rejected_at, T.nilable(DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('rejected_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
126
|
-
# Unique identifiers of the rejection reasons
|
127
|
-
field :rejected_reason_ids, T.nilable(T::Array[String]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('rejected_reason_ids') } }
|
128
|
-
|
129
|
-
field :rejected_reasons, T.nilable(T::Array[Shared::RejectedReason]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('rejected_reasons') } }
|
130
|
-
|
131
|
-
field :result_links, T.nilable(T::Array[Shared::ResultLink]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('result_links') } }
|
132
|
-
# Date of last update
|
133
|
-
field :updated_at, T.nilable(DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
134
|
-
|
135
|
-
|
136
|
-
sig { params(application_status: T.nilable(Shared::ApplicationStatus), attachments: T.nilable(T::Array[Shared::ApplicationAttachment]), candidate: T.nilable(Shared::ApplicationCandidate), candidate_id: T.nilable(String), created_at: T.nilable(DateTime), id: T.nilable(String), interview_stage: T.nilable(Shared::ApplicationInterviewStage), interview_stage_id: T.nilable(String), job_id: T.nilable(String), location_id: T.nilable(String), location_ids: T.nilable(T::Array[String]), questionnaires: T.nilable(T::Array[Shared::Questionnaire]), rejected_at: T.nilable(DateTime), rejected_reason_ids: T.nilable(T::Array[String]), rejected_reasons: T.nilable(T::Array[Shared::RejectedReason]), result_links: T.nilable(T::Array[Shared::ResultLink]), updated_at: T.nilable(DateTime)).void }
|
137
|
-
def initialize(application_status: nil, attachments: nil, candidate: nil, candidate_id: nil, created_at: nil, id: nil, interview_stage: nil, interview_stage_id: nil, job_id: nil, location_id: nil, location_ids: nil, questionnaires: nil, rejected_at: nil, rejected_reason_ids: nil, rejected_reasons: nil, result_links: nil, updated_at: nil)
|
138
|
-
@application_status = application_status
|
139
|
-
@attachments = attachments
|
140
|
-
@candidate = candidate
|
141
|
-
@candidate_id = candidate_id
|
142
|
-
@created_at = created_at
|
143
|
-
@id = id
|
144
|
-
@interview_stage = interview_stage
|
145
|
-
@interview_stage_id = interview_stage_id
|
146
|
-
@job_id = job_id
|
147
|
-
@location_id = location_id
|
148
|
-
@location_ids = location_ids
|
149
|
-
@questionnaires = questionnaires
|
150
|
-
@rejected_at = rejected_at
|
151
|
-
@rejected_reason_ids = rejected_reason_ids
|
152
|
-
@rejected_reasons = rejected_reasons
|
153
|
-
@result_links = result_links
|
154
|
-
@updated_at = updated_at
|
155
|
-
end
|
156
|
-
end
|
157
|
-
end
|
158
|
-
end
|