kombo 1.2.0 → 1.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/kombo/assessment.rb +16 -16
- data/lib/kombo/ats.rb +96 -96
- data/lib/kombo/connect.rb +8 -8
- data/lib/kombo/general.rb +61 -53
- data/lib/kombo/hris.rb +72 -72
- data/lib/kombo/models/shared/getatsjobspositiveresponse_hiring_team.rb +1 -1
- data/lib/kombo/models/shared/getatsjobspositiveresponse_hiring_team_role.rb +1 -1
- data/lib/kombo/models/shared/getatsjobspositiveresponse_scope.rb +1 -2
- data/lib/kombo/models/shared/getatsuserspositiveresponse_scope.rb +1 -2
- data/lib/kombo/models/shared/integration_tool.rb +6 -0
- data/lib/kombo/models/shared/job_role.rb +6 -6
- data/lib/kombo/models/shared/job_role.rbi +2 -2
- data/lib/kombo/models/shared/name.rb +5 -1
- data/lib/kombo/models/shared/postatscandidatesrequestbody_aktiv.rb +19 -0
- data/lib/kombo/models/shared/postatscandidatesrequestbody_aktiv.rbi +11 -0
- data/lib/kombo/models/shared/postatscandidatesrequestbody_covetorest_candidate.rb +6 -2
- data/lib/kombo/models/shared/postatscandidatesrequestbody_covetorest_candidate.rbi +2 -0
- data/lib/kombo/models/shared/postatsjobsjobidapplicationsrequestbody_aktiv.rb +19 -0
- data/lib/kombo/models/shared/postatsjobsjobidapplicationsrequestbody_aktiv.rbi +11 -0
- data/lib/kombo/models/shared/postatsjobsjobidapplicationsrequestbody_covetorest_candidate.rb +6 -2
- data/lib/kombo/models/shared/postatsjobsjobidapplicationsrequestbody_covetorest_candidate.rbi +2 -0
- data/lib/kombo/models/shared/system_role.rb +6 -6
- data/lib/kombo/models/shared/system_role.rbi +2 -2
- data/lib/kombo/models/shared.rb +2 -0
- data/lib/kombo/sdkconfiguration.rb +3 -3
- data/lib/kombo/utils/retries.rb +4 -1
- metadata +8 -4
data/lib/kombo/hris.rb
CHANGED
|
@@ -80,7 +80,7 @@ module Kombo
|
|
|
80
80
|
|
|
81
81
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
82
82
|
timeout ||= @sdk_configuration.timeout
|
|
83
|
-
|
|
83
|
+
|
|
84
84
|
|
|
85
85
|
connection = @sdk_configuration.client
|
|
86
86
|
|
|
@@ -95,7 +95,7 @@ module Kombo
|
|
|
95
95
|
error = T.let(nil, T.nilable(StandardError))
|
|
96
96
|
http_response = T.let(nil, T.nilable(Faraday::Response))
|
|
97
97
|
|
|
98
|
-
|
|
98
|
+
|
|
99
99
|
begin
|
|
100
100
|
http_response = T.must(connection).get(url) do |req|
|
|
101
101
|
req.headers.merge!(headers)
|
|
@@ -132,13 +132,13 @@ module Kombo
|
|
|
132
132
|
response: http_response
|
|
133
133
|
)
|
|
134
134
|
end
|
|
135
|
-
|
|
135
|
+
|
|
136
136
|
if http_response.nil?
|
|
137
137
|
raise error if !error.nil?
|
|
138
138
|
raise 'no response'
|
|
139
139
|
end
|
|
140
140
|
end
|
|
141
|
-
|
|
141
|
+
|
|
142
142
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
143
143
|
if Utils.match_status_code(http_response.status, ['200'])
|
|
144
144
|
if Utils.match_content_type(content_type, 'application/json')
|
|
@@ -312,7 +312,7 @@ module Kombo
|
|
|
312
312
|
|
|
313
313
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
314
314
|
timeout ||= @sdk_configuration.timeout
|
|
315
|
-
|
|
315
|
+
|
|
316
316
|
|
|
317
317
|
connection = @sdk_configuration.client
|
|
318
318
|
|
|
@@ -327,7 +327,7 @@ module Kombo
|
|
|
327
327
|
error = T.let(nil, T.nilable(StandardError))
|
|
328
328
|
http_response = T.let(nil, T.nilable(Faraday::Response))
|
|
329
329
|
|
|
330
|
-
|
|
330
|
+
|
|
331
331
|
begin
|
|
332
332
|
http_response = T.must(connection).get(url) do |req|
|
|
333
333
|
req.headers.merge!(headers)
|
|
@@ -364,13 +364,13 @@ module Kombo
|
|
|
364
364
|
response: http_response
|
|
365
365
|
)
|
|
366
366
|
end
|
|
367
|
-
|
|
367
|
+
|
|
368
368
|
if http_response.nil?
|
|
369
369
|
raise error if !error.nil?
|
|
370
370
|
raise 'no response'
|
|
371
371
|
end
|
|
372
372
|
end
|
|
373
|
-
|
|
373
|
+
|
|
374
374
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
375
375
|
if Utils.match_status_code(http_response.status, ['200'])
|
|
376
376
|
if Utils.match_content_type(content_type, 'application/json')
|
|
@@ -467,7 +467,7 @@ module Kombo
|
|
|
467
467
|
|
|
468
468
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
469
469
|
timeout ||= (300_000.to_f / 1000)
|
|
470
|
-
|
|
470
|
+
|
|
471
471
|
|
|
472
472
|
connection = @sdk_configuration.client
|
|
473
473
|
|
|
@@ -482,7 +482,7 @@ module Kombo
|
|
|
482
482
|
error = T.let(nil, T.nilable(StandardError))
|
|
483
483
|
http_response = T.let(nil, T.nilable(Faraday::Response))
|
|
484
484
|
|
|
485
|
-
|
|
485
|
+
|
|
486
486
|
begin
|
|
487
487
|
http_response = T.must(connection).post(url) do |req|
|
|
488
488
|
req.body = body
|
|
@@ -519,13 +519,13 @@ module Kombo
|
|
|
519
519
|
response: http_response
|
|
520
520
|
)
|
|
521
521
|
end
|
|
522
|
-
|
|
522
|
+
|
|
523
523
|
if http_response.nil?
|
|
524
524
|
raise error if !error.nil?
|
|
525
525
|
raise 'no response'
|
|
526
526
|
end
|
|
527
527
|
end
|
|
528
|
-
|
|
528
|
+
|
|
529
529
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
530
530
|
if Utils.match_status_code(http_response.status, ['200'])
|
|
531
531
|
if Utils.match_content_type(content_type, 'application/json')
|
|
@@ -622,7 +622,7 @@ module Kombo
|
|
|
622
622
|
|
|
623
623
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
624
624
|
timeout ||= (300_000.to_f / 1000)
|
|
625
|
-
|
|
625
|
+
|
|
626
626
|
|
|
627
627
|
connection = @sdk_configuration.client
|
|
628
628
|
|
|
@@ -637,7 +637,7 @@ module Kombo
|
|
|
637
637
|
error = T.let(nil, T.nilable(StandardError))
|
|
638
638
|
http_response = T.let(nil, T.nilable(Faraday::Response))
|
|
639
639
|
|
|
640
|
-
|
|
640
|
+
|
|
641
641
|
begin
|
|
642
642
|
http_response = T.must(connection).post(url) do |req|
|
|
643
643
|
req.body = body
|
|
@@ -674,13 +674,13 @@ module Kombo
|
|
|
674
674
|
response: http_response
|
|
675
675
|
)
|
|
676
676
|
end
|
|
677
|
-
|
|
677
|
+
|
|
678
678
|
if http_response.nil?
|
|
679
679
|
raise error if !error.nil?
|
|
680
680
|
raise 'no response'
|
|
681
681
|
end
|
|
682
682
|
end
|
|
683
|
-
|
|
683
|
+
|
|
684
684
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
685
685
|
if Utils.match_status_code(http_response.status, ['200'])
|
|
686
686
|
if Utils.match_content_type(content_type, 'application/json')
|
|
@@ -751,7 +751,7 @@ module Kombo
|
|
|
751
751
|
|
|
752
752
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
753
753
|
timeout ||= @sdk_configuration.timeout
|
|
754
|
-
|
|
754
|
+
|
|
755
755
|
|
|
756
756
|
connection = @sdk_configuration.client
|
|
757
757
|
|
|
@@ -766,7 +766,7 @@ module Kombo
|
|
|
766
766
|
error = T.let(nil, T.nilable(StandardError))
|
|
767
767
|
http_response = T.let(nil, T.nilable(Faraday::Response))
|
|
768
768
|
|
|
769
|
-
|
|
769
|
+
|
|
770
770
|
begin
|
|
771
771
|
http_response = T.must(connection).get(url) do |req|
|
|
772
772
|
req.headers.merge!(headers)
|
|
@@ -803,13 +803,13 @@ module Kombo
|
|
|
803
803
|
response: http_response
|
|
804
804
|
)
|
|
805
805
|
end
|
|
806
|
-
|
|
806
|
+
|
|
807
807
|
if http_response.nil?
|
|
808
808
|
raise error if !error.nil?
|
|
809
809
|
raise 'no response'
|
|
810
810
|
end
|
|
811
811
|
end
|
|
812
|
-
|
|
812
|
+
|
|
813
813
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
814
814
|
if Utils.match_status_code(http_response.status, ['200'])
|
|
815
815
|
if Utils.match_content_type(content_type, 'application/json')
|
|
@@ -908,7 +908,7 @@ module Kombo
|
|
|
908
908
|
|
|
909
909
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
910
910
|
timeout ||= @sdk_configuration.timeout
|
|
911
|
-
|
|
911
|
+
|
|
912
912
|
|
|
913
913
|
connection = @sdk_configuration.client
|
|
914
914
|
|
|
@@ -923,7 +923,7 @@ module Kombo
|
|
|
923
923
|
error = T.let(nil, T.nilable(StandardError))
|
|
924
924
|
http_response = T.let(nil, T.nilable(Faraday::Response))
|
|
925
925
|
|
|
926
|
-
|
|
926
|
+
|
|
927
927
|
begin
|
|
928
928
|
http_response = T.must(connection).get(url) do |req|
|
|
929
929
|
req.headers.merge!(headers)
|
|
@@ -960,13 +960,13 @@ module Kombo
|
|
|
960
960
|
response: http_response
|
|
961
961
|
)
|
|
962
962
|
end
|
|
963
|
-
|
|
963
|
+
|
|
964
964
|
if http_response.nil?
|
|
965
965
|
raise error if !error.nil?
|
|
966
966
|
raise 'no response'
|
|
967
967
|
end
|
|
968
968
|
end
|
|
969
|
-
|
|
969
|
+
|
|
970
970
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
971
971
|
if Utils.match_status_code(http_response.status, ['200'])
|
|
972
972
|
if Utils.match_content_type(content_type, 'application/json')
|
|
@@ -1065,7 +1065,7 @@ module Kombo
|
|
|
1065
1065
|
|
|
1066
1066
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
1067
1067
|
timeout ||= @sdk_configuration.timeout
|
|
1068
|
-
|
|
1068
|
+
|
|
1069
1069
|
|
|
1070
1070
|
connection = @sdk_configuration.client
|
|
1071
1071
|
|
|
@@ -1080,7 +1080,7 @@ module Kombo
|
|
|
1080
1080
|
error = T.let(nil, T.nilable(StandardError))
|
|
1081
1081
|
http_response = T.let(nil, T.nilable(Faraday::Response))
|
|
1082
1082
|
|
|
1083
|
-
|
|
1083
|
+
|
|
1084
1084
|
begin
|
|
1085
1085
|
http_response = T.must(connection).get(url) do |req|
|
|
1086
1086
|
req.headers.merge!(headers)
|
|
@@ -1117,13 +1117,13 @@ module Kombo
|
|
|
1117
1117
|
response: http_response
|
|
1118
1118
|
)
|
|
1119
1119
|
end
|
|
1120
|
-
|
|
1120
|
+
|
|
1121
1121
|
if http_response.nil?
|
|
1122
1122
|
raise error if !error.nil?
|
|
1123
1123
|
raise 'no response'
|
|
1124
1124
|
end
|
|
1125
1125
|
end
|
|
1126
|
-
|
|
1126
|
+
|
|
1127
1127
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
1128
1128
|
if Utils.match_status_code(http_response.status, ['200'])
|
|
1129
1129
|
if Utils.match_content_type(content_type, 'application/json')
|
|
@@ -1221,7 +1221,7 @@ module Kombo
|
|
|
1221
1221
|
|
|
1222
1222
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
1223
1223
|
timeout ||= @sdk_configuration.timeout
|
|
1224
|
-
|
|
1224
|
+
|
|
1225
1225
|
|
|
1226
1226
|
connection = @sdk_configuration.client
|
|
1227
1227
|
|
|
@@ -1236,7 +1236,7 @@ module Kombo
|
|
|
1236
1236
|
error = T.let(nil, T.nilable(StandardError))
|
|
1237
1237
|
http_response = T.let(nil, T.nilable(Faraday::Response))
|
|
1238
1238
|
|
|
1239
|
-
|
|
1239
|
+
|
|
1240
1240
|
begin
|
|
1241
1241
|
http_response = T.must(connection).get(url) do |req|
|
|
1242
1242
|
req.headers.merge!(headers)
|
|
@@ -1273,13 +1273,13 @@ module Kombo
|
|
|
1273
1273
|
response: http_response
|
|
1274
1274
|
)
|
|
1275
1275
|
end
|
|
1276
|
-
|
|
1276
|
+
|
|
1277
1277
|
if http_response.nil?
|
|
1278
1278
|
raise error if !error.nil?
|
|
1279
1279
|
raise 'no response'
|
|
1280
1280
|
end
|
|
1281
1281
|
end
|
|
1282
|
-
|
|
1282
|
+
|
|
1283
1283
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
1284
1284
|
if Utils.match_status_code(http_response.status, ['200'])
|
|
1285
1285
|
if Utils.match_content_type(content_type, 'application/json')
|
|
@@ -1377,7 +1377,7 @@ module Kombo
|
|
|
1377
1377
|
|
|
1378
1378
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
1379
1379
|
timeout ||= @sdk_configuration.timeout
|
|
1380
|
-
|
|
1380
|
+
|
|
1381
1381
|
|
|
1382
1382
|
connection = @sdk_configuration.client
|
|
1383
1383
|
|
|
@@ -1392,7 +1392,7 @@ module Kombo
|
|
|
1392
1392
|
error = T.let(nil, T.nilable(StandardError))
|
|
1393
1393
|
http_response = T.let(nil, T.nilable(Faraday::Response))
|
|
1394
1394
|
|
|
1395
|
-
|
|
1395
|
+
|
|
1396
1396
|
begin
|
|
1397
1397
|
http_response = T.must(connection).get(url) do |req|
|
|
1398
1398
|
req.headers.merge!(headers)
|
|
@@ -1429,13 +1429,13 @@ module Kombo
|
|
|
1429
1429
|
response: http_response
|
|
1430
1430
|
)
|
|
1431
1431
|
end
|
|
1432
|
-
|
|
1432
|
+
|
|
1433
1433
|
if http_response.nil?
|
|
1434
1434
|
raise error if !error.nil?
|
|
1435
1435
|
raise 'no response'
|
|
1436
1436
|
end
|
|
1437
1437
|
end
|
|
1438
|
-
|
|
1438
|
+
|
|
1439
1439
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
1440
1440
|
if Utils.match_status_code(http_response.status, ['200'])
|
|
1441
1441
|
if Utils.match_content_type(content_type, 'application/json')
|
|
@@ -1533,7 +1533,7 @@ module Kombo
|
|
|
1533
1533
|
|
|
1534
1534
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
1535
1535
|
timeout ||= @sdk_configuration.timeout
|
|
1536
|
-
|
|
1536
|
+
|
|
1537
1537
|
|
|
1538
1538
|
connection = @sdk_configuration.client
|
|
1539
1539
|
|
|
@@ -1548,7 +1548,7 @@ module Kombo
|
|
|
1548
1548
|
error = T.let(nil, T.nilable(StandardError))
|
|
1549
1549
|
http_response = T.let(nil, T.nilable(Faraday::Response))
|
|
1550
1550
|
|
|
1551
|
-
|
|
1551
|
+
|
|
1552
1552
|
begin
|
|
1553
1553
|
http_response = T.must(connection).get(url) do |req|
|
|
1554
1554
|
req.headers.merge!(headers)
|
|
@@ -1585,13 +1585,13 @@ module Kombo
|
|
|
1585
1585
|
response: http_response
|
|
1586
1586
|
)
|
|
1587
1587
|
end
|
|
1588
|
-
|
|
1588
|
+
|
|
1589
1589
|
if http_response.nil?
|
|
1590
1590
|
raise error if !error.nil?
|
|
1591
1591
|
raise 'no response'
|
|
1592
1592
|
end
|
|
1593
1593
|
end
|
|
1594
|
-
|
|
1594
|
+
|
|
1595
1595
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
1596
1596
|
if Utils.match_status_code(http_response.status, ['200'])
|
|
1597
1597
|
if Utils.match_content_type(content_type, 'application/json')
|
|
@@ -1693,7 +1693,7 @@ module Kombo
|
|
|
1693
1693
|
|
|
1694
1694
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
1695
1695
|
timeout ||= @sdk_configuration.timeout
|
|
1696
|
-
|
|
1696
|
+
|
|
1697
1697
|
|
|
1698
1698
|
connection = @sdk_configuration.client
|
|
1699
1699
|
|
|
@@ -1708,7 +1708,7 @@ module Kombo
|
|
|
1708
1708
|
error = T.let(nil, T.nilable(StandardError))
|
|
1709
1709
|
http_response = T.let(nil, T.nilable(Faraday::Response))
|
|
1710
1710
|
|
|
1711
|
-
|
|
1711
|
+
|
|
1712
1712
|
begin
|
|
1713
1713
|
http_response = T.must(connection).get(url) do |req|
|
|
1714
1714
|
req.headers.merge!(headers)
|
|
@@ -1745,13 +1745,13 @@ module Kombo
|
|
|
1745
1745
|
response: http_response
|
|
1746
1746
|
)
|
|
1747
1747
|
end
|
|
1748
|
-
|
|
1748
|
+
|
|
1749
1749
|
if http_response.nil?
|
|
1750
1750
|
raise error if !error.nil?
|
|
1751
1751
|
raise 'no response'
|
|
1752
1752
|
end
|
|
1753
1753
|
end
|
|
1754
|
-
|
|
1754
|
+
|
|
1755
1755
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
1756
1756
|
if Utils.match_status_code(http_response.status, ['200'])
|
|
1757
1757
|
if Utils.match_content_type(content_type, 'application/json')
|
|
@@ -1876,7 +1876,7 @@ module Kombo
|
|
|
1876
1876
|
|
|
1877
1877
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
1878
1878
|
timeout ||= (300_000.to_f / 1000)
|
|
1879
|
-
|
|
1879
|
+
|
|
1880
1880
|
|
|
1881
1881
|
connection = @sdk_configuration.client
|
|
1882
1882
|
|
|
@@ -1891,7 +1891,7 @@ module Kombo
|
|
|
1891
1891
|
error = T.let(nil, T.nilable(StandardError))
|
|
1892
1892
|
http_response = T.let(nil, T.nilable(Faraday::Response))
|
|
1893
1893
|
|
|
1894
|
-
|
|
1894
|
+
|
|
1895
1895
|
begin
|
|
1896
1896
|
http_response = T.must(connection).post(url) do |req|
|
|
1897
1897
|
req.body = body
|
|
@@ -1928,13 +1928,13 @@ module Kombo
|
|
|
1928
1928
|
response: http_response
|
|
1929
1929
|
)
|
|
1930
1930
|
end
|
|
1931
|
-
|
|
1931
|
+
|
|
1932
1932
|
if http_response.nil?
|
|
1933
1933
|
raise error if !error.nil?
|
|
1934
1934
|
raise 'no response'
|
|
1935
1935
|
end
|
|
1936
1936
|
end
|
|
1937
|
-
|
|
1937
|
+
|
|
1938
1938
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
1939
1939
|
if Utils.match_status_code(http_response.status, ['200'])
|
|
1940
1940
|
if Utils.match_content_type(content_type, 'application/json')
|
|
@@ -2026,7 +2026,7 @@ module Kombo
|
|
|
2026
2026
|
|
|
2027
2027
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
2028
2028
|
timeout ||= @sdk_configuration.timeout
|
|
2029
|
-
|
|
2029
|
+
|
|
2030
2030
|
|
|
2031
2031
|
connection = @sdk_configuration.client
|
|
2032
2032
|
|
|
@@ -2041,7 +2041,7 @@ module Kombo
|
|
|
2041
2041
|
error = T.let(nil, T.nilable(StandardError))
|
|
2042
2042
|
http_response = T.let(nil, T.nilable(Faraday::Response))
|
|
2043
2043
|
|
|
2044
|
-
|
|
2044
|
+
|
|
2045
2045
|
begin
|
|
2046
2046
|
http_response = T.must(connection).delete(url) do |req|
|
|
2047
2047
|
req.body = body
|
|
@@ -2078,13 +2078,13 @@ module Kombo
|
|
|
2078
2078
|
response: http_response
|
|
2079
2079
|
)
|
|
2080
2080
|
end
|
|
2081
|
-
|
|
2081
|
+
|
|
2082
2082
|
if http_response.nil?
|
|
2083
2083
|
raise error if !error.nil?
|
|
2084
2084
|
raise 'no response'
|
|
2085
2085
|
end
|
|
2086
2086
|
end
|
|
2087
|
-
|
|
2087
|
+
|
|
2088
2088
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
2089
2089
|
if Utils.match_status_code(http_response.status, ['200'])
|
|
2090
2090
|
if Utils.match_content_type(content_type, 'application/json')
|
|
@@ -2156,7 +2156,7 @@ module Kombo
|
|
|
2156
2156
|
|
|
2157
2157
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
2158
2158
|
timeout ||= @sdk_configuration.timeout
|
|
2159
|
-
|
|
2159
|
+
|
|
2160
2160
|
|
|
2161
2161
|
connection = @sdk_configuration.client
|
|
2162
2162
|
|
|
@@ -2171,7 +2171,7 @@ module Kombo
|
|
|
2171
2171
|
error = T.let(nil, T.nilable(StandardError))
|
|
2172
2172
|
http_response = T.let(nil, T.nilable(Faraday::Response))
|
|
2173
2173
|
|
|
2174
|
-
|
|
2174
|
+
|
|
2175
2175
|
begin
|
|
2176
2176
|
http_response = T.must(connection).get(url) do |req|
|
|
2177
2177
|
req.headers.merge!(headers)
|
|
@@ -2208,13 +2208,13 @@ module Kombo
|
|
|
2208
2208
|
response: http_response
|
|
2209
2209
|
)
|
|
2210
2210
|
end
|
|
2211
|
-
|
|
2211
|
+
|
|
2212
2212
|
if http_response.nil?
|
|
2213
2213
|
raise error if !error.nil?
|
|
2214
2214
|
raise 'no response'
|
|
2215
2215
|
end
|
|
2216
2216
|
end
|
|
2217
|
-
|
|
2217
|
+
|
|
2218
2218
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
2219
2219
|
if Utils.match_status_code(http_response.status, ['200'])
|
|
2220
2220
|
if Utils.match_content_type(content_type, 'application/json')
|
|
@@ -2323,7 +2323,7 @@ module Kombo
|
|
|
2323
2323
|
|
|
2324
2324
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
2325
2325
|
timeout ||= @sdk_configuration.timeout
|
|
2326
|
-
|
|
2326
|
+
|
|
2327
2327
|
|
|
2328
2328
|
connection = @sdk_configuration.client
|
|
2329
2329
|
|
|
@@ -2338,7 +2338,7 @@ module Kombo
|
|
|
2338
2338
|
error = T.let(nil, T.nilable(StandardError))
|
|
2339
2339
|
http_response = T.let(nil, T.nilable(Faraday::Response))
|
|
2340
2340
|
|
|
2341
|
-
|
|
2341
|
+
|
|
2342
2342
|
begin
|
|
2343
2343
|
http_response = T.must(connection).get(url) do |req|
|
|
2344
2344
|
req.headers.merge!(headers)
|
|
@@ -2375,13 +2375,13 @@ module Kombo
|
|
|
2375
2375
|
response: http_response
|
|
2376
2376
|
)
|
|
2377
2377
|
end
|
|
2378
|
-
|
|
2378
|
+
|
|
2379
2379
|
if http_response.nil?
|
|
2380
2380
|
raise error if !error.nil?
|
|
2381
2381
|
raise 'no response'
|
|
2382
2382
|
end
|
|
2383
2383
|
end
|
|
2384
|
-
|
|
2384
|
+
|
|
2385
2385
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
2386
2386
|
if Utils.match_status_code(http_response.status, ['200'])
|
|
2387
2387
|
if Utils.match_content_type(content_type, 'application/json')
|
|
@@ -2485,7 +2485,7 @@ module Kombo
|
|
|
2485
2485
|
|
|
2486
2486
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
2487
2487
|
timeout ||= @sdk_configuration.timeout
|
|
2488
|
-
|
|
2488
|
+
|
|
2489
2489
|
|
|
2490
2490
|
connection = @sdk_configuration.client
|
|
2491
2491
|
|
|
@@ -2500,7 +2500,7 @@ module Kombo
|
|
|
2500
2500
|
error = T.let(nil, T.nilable(StandardError))
|
|
2501
2501
|
http_response = T.let(nil, T.nilable(Faraday::Response))
|
|
2502
2502
|
|
|
2503
|
-
|
|
2503
|
+
|
|
2504
2504
|
begin
|
|
2505
2505
|
http_response = T.must(connection).get(url) do |req|
|
|
2506
2506
|
req.headers.merge!(headers)
|
|
@@ -2537,13 +2537,13 @@ module Kombo
|
|
|
2537
2537
|
response: http_response
|
|
2538
2538
|
)
|
|
2539
2539
|
end
|
|
2540
|
-
|
|
2540
|
+
|
|
2541
2541
|
if http_response.nil?
|
|
2542
2542
|
raise error if !error.nil?
|
|
2543
2543
|
raise 'no response'
|
|
2544
2544
|
end
|
|
2545
2545
|
end
|
|
2546
|
-
|
|
2546
|
+
|
|
2547
2547
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
2548
2548
|
if Utils.match_status_code(http_response.status, ['200'])
|
|
2549
2549
|
if Utils.match_content_type(content_type, 'application/json')
|
|
@@ -2645,7 +2645,7 @@ module Kombo
|
|
|
2645
2645
|
|
|
2646
2646
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
2647
2647
|
timeout ||= @sdk_configuration.timeout
|
|
2648
|
-
|
|
2648
|
+
|
|
2649
2649
|
|
|
2650
2650
|
connection = @sdk_configuration.client
|
|
2651
2651
|
|
|
@@ -2660,7 +2660,7 @@ module Kombo
|
|
|
2660
2660
|
error = T.let(nil, T.nilable(StandardError))
|
|
2661
2661
|
http_response = T.let(nil, T.nilable(Faraday::Response))
|
|
2662
2662
|
|
|
2663
|
-
|
|
2663
|
+
|
|
2664
2664
|
begin
|
|
2665
2665
|
http_response = T.must(connection).get(url) do |req|
|
|
2666
2666
|
req.headers.merge!(headers)
|
|
@@ -2697,13 +2697,13 @@ module Kombo
|
|
|
2697
2697
|
response: http_response
|
|
2698
2698
|
)
|
|
2699
2699
|
end
|
|
2700
|
-
|
|
2700
|
+
|
|
2701
2701
|
if http_response.nil?
|
|
2702
2702
|
raise error if !error.nil?
|
|
2703
2703
|
raise 'no response'
|
|
2704
2704
|
end
|
|
2705
2705
|
end
|
|
2706
|
-
|
|
2706
|
+
|
|
2707
2707
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
2708
2708
|
if Utils.match_status_code(http_response.status, ['200'])
|
|
2709
2709
|
if Utils.match_content_type(content_type, 'application/json')
|
|
@@ -2815,7 +2815,7 @@ module Kombo
|
|
|
2815
2815
|
|
|
2816
2816
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
2817
2817
|
timeout ||= @sdk_configuration.timeout
|
|
2818
|
-
|
|
2818
|
+
|
|
2819
2819
|
|
|
2820
2820
|
connection = @sdk_configuration.client
|
|
2821
2821
|
|
|
@@ -2830,7 +2830,7 @@ module Kombo
|
|
|
2830
2830
|
error = T.let(nil, T.nilable(StandardError))
|
|
2831
2831
|
http_response = T.let(nil, T.nilable(Faraday::Response))
|
|
2832
2832
|
|
|
2833
|
-
|
|
2833
|
+
|
|
2834
2834
|
begin
|
|
2835
2835
|
http_response = T.must(connection).get(url) do |req|
|
|
2836
2836
|
req.headers.merge!(headers)
|
|
@@ -2867,13 +2867,13 @@ module Kombo
|
|
|
2867
2867
|
response: http_response
|
|
2868
2868
|
)
|
|
2869
2869
|
end
|
|
2870
|
-
|
|
2870
|
+
|
|
2871
2871
|
if http_response.nil?
|
|
2872
2872
|
raise error if !error.nil?
|
|
2873
2873
|
raise 'no response'
|
|
2874
2874
|
end
|
|
2875
2875
|
end
|
|
2876
|
-
|
|
2876
|
+
|
|
2877
2877
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
2878
2878
|
if Utils.match_status_code(http_response.status, ['200'])
|
|
2879
2879
|
if Utils.match_content_type(content_type, 'application/json')
|
|
@@ -14,7 +14,7 @@ module Kombo
|
|
|
14
14
|
|
|
15
15
|
# The globally unique ID of this object generated by Kombo. We recommend using this as a stable primary key for syncing.
|
|
16
16
|
field :id, ::String, { 'format_json': { 'letter_case': ::Kombo::Utils.field_name('id'), required: true } }
|
|
17
|
-
# **(⚠️ Deprecated - Use `job_roles` to access the full list of job roles.)** Array of the roles of the user for this specific job.
|
|
17
|
+
# **(⚠️ Deprecated - Use `job_roles` to access the full list of job roles (including custom labels and unmapped roles).)** Array of the roles of the user for this specific job. Example: ["RECRUITER", "HIRING_MANAGER"].
|
|
18
18
|
#
|
|
19
19
|
# @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
20
20
|
field :hiring_team_roles, Crystalline::Array.new(Models::Shared::GetAtsJobsPositiveResponseHiringTeamRole), { 'format_json': { 'letter_case': ::Kombo::Utils.field_name('hiring_team_roles'), required: true } }
|
|
@@ -10,8 +10,8 @@ module Kombo
|
|
|
10
10
|
|
|
11
11
|
class GetAtsJobsPositiveResponseHiringTeamRole < T::Enum
|
|
12
12
|
enums do
|
|
13
|
-
RECRUITER = new('RECRUITER')
|
|
14
13
|
HIRING_MANAGER = new('HIRING_MANAGER')
|
|
14
|
+
RECRUITER = new('RECRUITER')
|
|
15
15
|
COORDINATOR = new('COORDINATOR')
|
|
16
16
|
SOURCER = new('SOURCER')
|
|
17
17
|
INTERVIEWER = new('INTERVIEWER')
|
|
@@ -7,10 +7,9 @@
|
|
|
7
7
|
module Kombo
|
|
8
8
|
module Models
|
|
9
9
|
module Shared
|
|
10
|
-
# GetAtsJobsPositiveResponseScope -
|
|
10
|
+
# GetAtsJobsPositiveResponseScope - Roles that apply at the job level.
|
|
11
11
|
class GetAtsJobsPositiveResponseScope < T::Enum
|
|
12
12
|
enums do
|
|
13
|
-
SYSTEM = new('SYSTEM')
|
|
14
13
|
JOB = new('JOB')
|
|
15
14
|
end
|
|
16
15
|
end
|
|
@@ -7,11 +7,10 @@
|
|
|
7
7
|
module Kombo
|
|
8
8
|
module Models
|
|
9
9
|
module Shared
|
|
10
|
-
# GetAtsUsersPositiveResponseScope -
|
|
10
|
+
# GetAtsUsersPositiveResponseScope - Roles that apply at the system level.
|
|
11
11
|
class GetAtsUsersPositiveResponseScope < T::Enum
|
|
12
12
|
enums do
|
|
13
13
|
SYSTEM = new('SYSTEM')
|
|
14
|
-
JOB = new('JOB')
|
|
15
14
|
end
|
|
16
15
|
end
|
|
17
16
|
end
|
|
@@ -121,9 +121,13 @@ module Kombo
|
|
|
121
121
|
LOGICMELON = new('logicmelon')
|
|
122
122
|
LOXO = new('loxo')
|
|
123
123
|
KULA = new('kula')
|
|
124
|
+
TRACKERRMS = new('trackerrms')
|
|
125
|
+
DATABITES = new('databites')
|
|
126
|
+
PAGEUP = new('pageup')
|
|
124
127
|
WORKDAYCUSTOMREPORT = new('workdaycustomreport')
|
|
125
128
|
WORKDAYCUSTOMREPORTSFTP = new('workdaycustomreportsftp')
|
|
126
129
|
UKGPROWFM = new('ukgprowfm')
|
|
130
|
+
ADPDECIDIUM = new('adpdecidium')
|
|
127
131
|
PAYFITCUSTOMER = new('payfitcustomer')
|
|
128
132
|
PAYFITPARTNER = new('payfitpartner')
|
|
129
133
|
PAYFIT = new('payfit')
|
|
@@ -202,6 +206,8 @@ module Kombo
|
|
|
202
206
|
SFTPFETCH = new('sftpfetch')
|
|
203
207
|
THREE_HUNDRED_AND_SIXTYLEARNING = new('360learning')
|
|
204
208
|
TALENTLMS = new('talentlms')
|
|
209
|
+
DOCEBO = new('docebo')
|
|
210
|
+
COURSERA = new('coursera')
|
|
205
211
|
UDEMY = new('udemy')
|
|
206
212
|
LINKEDINLEARNING = new('linkedinlearning')
|
|
207
213
|
MOODLE = new('moodle')
|