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/ats.rb
CHANGED
|
@@ -83,7 +83,7 @@ module Kombo
|
|
|
83
83
|
|
|
84
84
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
85
85
|
timeout ||= @sdk_configuration.timeout
|
|
86
|
-
|
|
86
|
+
|
|
87
87
|
|
|
88
88
|
connection = @sdk_configuration.client
|
|
89
89
|
|
|
@@ -98,7 +98,7 @@ module Kombo
|
|
|
98
98
|
error = T.let(nil, T.nilable(StandardError))
|
|
99
99
|
http_response = T.let(nil, T.nilable(Faraday::Response))
|
|
100
100
|
|
|
101
|
-
|
|
101
|
+
|
|
102
102
|
begin
|
|
103
103
|
http_response = T.must(connection).get(url) do |req|
|
|
104
104
|
req.headers.merge!(headers)
|
|
@@ -135,13 +135,13 @@ module Kombo
|
|
|
135
135
|
response: http_response
|
|
136
136
|
)
|
|
137
137
|
end
|
|
138
|
-
|
|
138
|
+
|
|
139
139
|
if http_response.nil?
|
|
140
140
|
raise error if !error.nil?
|
|
141
141
|
raise 'no response'
|
|
142
142
|
end
|
|
143
143
|
end
|
|
144
|
-
|
|
144
|
+
|
|
145
145
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
146
146
|
if Utils.match_status_code(http_response.status, ['200'])
|
|
147
147
|
if Utils.match_content_type(content_type, 'application/json')
|
|
@@ -265,7 +265,7 @@ module Kombo
|
|
|
265
265
|
|
|
266
266
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
267
267
|
timeout ||= @sdk_configuration.timeout
|
|
268
|
-
|
|
268
|
+
|
|
269
269
|
|
|
270
270
|
connection = @sdk_configuration.client
|
|
271
271
|
|
|
@@ -280,7 +280,7 @@ module Kombo
|
|
|
280
280
|
error = T.let(nil, T.nilable(StandardError))
|
|
281
281
|
http_response = T.let(nil, T.nilable(Faraday::Response))
|
|
282
282
|
|
|
283
|
-
|
|
283
|
+
|
|
284
284
|
begin
|
|
285
285
|
http_response = T.must(connection).put(url) do |req|
|
|
286
286
|
req.body = body
|
|
@@ -317,13 +317,13 @@ module Kombo
|
|
|
317
317
|
response: http_response
|
|
318
318
|
)
|
|
319
319
|
end
|
|
320
|
-
|
|
320
|
+
|
|
321
321
|
if http_response.nil?
|
|
322
322
|
raise error if !error.nil?
|
|
323
323
|
raise 'no response'
|
|
324
324
|
end
|
|
325
325
|
end
|
|
326
|
-
|
|
326
|
+
|
|
327
327
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
328
328
|
if Utils.match_status_code(http_response.status, ['200'])
|
|
329
329
|
if Utils.match_content_type(content_type, 'application/json')
|
|
@@ -433,7 +433,7 @@ module Kombo
|
|
|
433
433
|
|
|
434
434
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
435
435
|
timeout ||= (300_000.to_f / 1000)
|
|
436
|
-
|
|
436
|
+
|
|
437
437
|
|
|
438
438
|
connection = @sdk_configuration.client
|
|
439
439
|
|
|
@@ -448,7 +448,7 @@ module Kombo
|
|
|
448
448
|
error = T.let(nil, T.nilable(StandardError))
|
|
449
449
|
http_response = T.let(nil, T.nilable(Faraday::Response))
|
|
450
450
|
|
|
451
|
-
|
|
451
|
+
|
|
452
452
|
begin
|
|
453
453
|
http_response = T.must(connection).post(url) do |req|
|
|
454
454
|
req.body = body
|
|
@@ -485,13 +485,13 @@ module Kombo
|
|
|
485
485
|
response: http_response
|
|
486
486
|
)
|
|
487
487
|
end
|
|
488
|
-
|
|
488
|
+
|
|
489
489
|
if http_response.nil?
|
|
490
490
|
raise error if !error.nil?
|
|
491
491
|
raise 'no response'
|
|
492
492
|
end
|
|
493
493
|
end
|
|
494
|
-
|
|
494
|
+
|
|
495
495
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
496
496
|
if Utils.match_status_code(http_response.status, ['200'])
|
|
497
497
|
if Utils.match_content_type(content_type, 'application/json')
|
|
@@ -587,7 +587,7 @@ module Kombo
|
|
|
587
587
|
|
|
588
588
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
589
589
|
timeout ||= (300_000.to_f / 1000)
|
|
590
|
-
|
|
590
|
+
|
|
591
591
|
|
|
592
592
|
connection = @sdk_configuration.client
|
|
593
593
|
|
|
@@ -602,7 +602,7 @@ module Kombo
|
|
|
602
602
|
error = T.let(nil, T.nilable(StandardError))
|
|
603
603
|
http_response = T.let(nil, T.nilable(Faraday::Response))
|
|
604
604
|
|
|
605
|
-
|
|
605
|
+
|
|
606
606
|
begin
|
|
607
607
|
http_response = T.must(connection).post(url) do |req|
|
|
608
608
|
req.body = body
|
|
@@ -639,13 +639,13 @@ module Kombo
|
|
|
639
639
|
response: http_response
|
|
640
640
|
)
|
|
641
641
|
end
|
|
642
|
-
|
|
642
|
+
|
|
643
643
|
if http_response.nil?
|
|
644
644
|
raise error if !error.nil?
|
|
645
645
|
raise 'no response'
|
|
646
646
|
end
|
|
647
647
|
end
|
|
648
|
-
|
|
648
|
+
|
|
649
649
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
650
650
|
if Utils.match_status_code(http_response.status, ['200'])
|
|
651
651
|
if Utils.match_content_type(content_type, 'application/json')
|
|
@@ -719,7 +719,7 @@ module Kombo
|
|
|
719
719
|
|
|
720
720
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
721
721
|
timeout ||= @sdk_configuration.timeout
|
|
722
|
-
|
|
722
|
+
|
|
723
723
|
|
|
724
724
|
connection = @sdk_configuration.client
|
|
725
725
|
|
|
@@ -734,7 +734,7 @@ module Kombo
|
|
|
734
734
|
error = T.let(nil, T.nilable(StandardError))
|
|
735
735
|
http_response = T.let(nil, T.nilable(Faraday::Response))
|
|
736
736
|
|
|
737
|
-
|
|
737
|
+
|
|
738
738
|
begin
|
|
739
739
|
http_response = T.must(connection).get(url) do |req|
|
|
740
740
|
req.headers.merge!(headers)
|
|
@@ -770,13 +770,13 @@ module Kombo
|
|
|
770
770
|
response: http_response
|
|
771
771
|
)
|
|
772
772
|
end
|
|
773
|
-
|
|
773
|
+
|
|
774
774
|
if http_response.nil?
|
|
775
775
|
raise error if !error.nil?
|
|
776
776
|
raise 'no response'
|
|
777
777
|
end
|
|
778
778
|
end
|
|
779
|
-
|
|
779
|
+
|
|
780
780
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
781
781
|
if Utils.match_status_code(http_response.status, ['200'])
|
|
782
782
|
if Utils.match_content_type(content_type, 'application/json')
|
|
@@ -879,7 +879,7 @@ module Kombo
|
|
|
879
879
|
|
|
880
880
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
881
881
|
timeout ||= (300_000.to_f / 1000)
|
|
882
|
-
|
|
882
|
+
|
|
883
883
|
|
|
884
884
|
connection = @sdk_configuration.client
|
|
885
885
|
|
|
@@ -894,7 +894,7 @@ module Kombo
|
|
|
894
894
|
error = T.let(nil, T.nilable(StandardError))
|
|
895
895
|
http_response = T.let(nil, T.nilable(Faraday::Response))
|
|
896
896
|
|
|
897
|
-
|
|
897
|
+
|
|
898
898
|
begin
|
|
899
899
|
http_response = T.must(connection).post(url) do |req|
|
|
900
900
|
req.body = body
|
|
@@ -931,13 +931,13 @@ module Kombo
|
|
|
931
931
|
response: http_response
|
|
932
932
|
)
|
|
933
933
|
end
|
|
934
|
-
|
|
934
|
+
|
|
935
935
|
if http_response.nil?
|
|
936
936
|
raise error if !error.nil?
|
|
937
937
|
raise 'no response'
|
|
938
938
|
end
|
|
939
939
|
end
|
|
940
|
-
|
|
940
|
+
|
|
941
941
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
942
942
|
if Utils.match_status_code(http_response.status, ['200'])
|
|
943
943
|
if Utils.match_content_type(content_type, 'application/json')
|
|
@@ -1033,7 +1033,7 @@ module Kombo
|
|
|
1033
1033
|
|
|
1034
1034
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
1035
1035
|
timeout ||= (300_000.to_f / 1000)
|
|
1036
|
-
|
|
1036
|
+
|
|
1037
1037
|
|
|
1038
1038
|
connection = @sdk_configuration.client
|
|
1039
1039
|
|
|
@@ -1048,7 +1048,7 @@ module Kombo
|
|
|
1048
1048
|
error = T.let(nil, T.nilable(StandardError))
|
|
1049
1049
|
http_response = T.let(nil, T.nilable(Faraday::Response))
|
|
1050
1050
|
|
|
1051
|
-
|
|
1051
|
+
|
|
1052
1052
|
begin
|
|
1053
1053
|
http_response = T.must(connection).post(url) do |req|
|
|
1054
1054
|
req.body = body
|
|
@@ -1085,13 +1085,13 @@ module Kombo
|
|
|
1085
1085
|
response: http_response
|
|
1086
1086
|
)
|
|
1087
1087
|
end
|
|
1088
|
-
|
|
1088
|
+
|
|
1089
1089
|
if http_response.nil?
|
|
1090
1090
|
raise error if !error.nil?
|
|
1091
1091
|
raise 'no response'
|
|
1092
1092
|
end
|
|
1093
1093
|
end
|
|
1094
|
-
|
|
1094
|
+
|
|
1095
1095
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
1096
1096
|
if Utils.match_status_code(http_response.status, ['200'])
|
|
1097
1097
|
if Utils.match_content_type(content_type, 'application/json')
|
|
@@ -1166,7 +1166,7 @@ module Kombo
|
|
|
1166
1166
|
|
|
1167
1167
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
1168
1168
|
timeout ||= @sdk_configuration.timeout
|
|
1169
|
-
|
|
1169
|
+
|
|
1170
1170
|
|
|
1171
1171
|
connection = @sdk_configuration.client
|
|
1172
1172
|
|
|
@@ -1181,7 +1181,7 @@ module Kombo
|
|
|
1181
1181
|
error = T.let(nil, T.nilable(StandardError))
|
|
1182
1182
|
http_response = T.let(nil, T.nilable(Faraday::Response))
|
|
1183
1183
|
|
|
1184
|
-
|
|
1184
|
+
|
|
1185
1185
|
begin
|
|
1186
1186
|
http_response = T.must(connection).get(url) do |req|
|
|
1187
1187
|
req.headers.merge!(headers)
|
|
@@ -1218,13 +1218,13 @@ module Kombo
|
|
|
1218
1218
|
response: http_response
|
|
1219
1219
|
)
|
|
1220
1220
|
end
|
|
1221
|
-
|
|
1221
|
+
|
|
1222
1222
|
if http_response.nil?
|
|
1223
1223
|
raise error if !error.nil?
|
|
1224
1224
|
raise 'no response'
|
|
1225
1225
|
end
|
|
1226
1226
|
end
|
|
1227
|
-
|
|
1227
|
+
|
|
1228
1228
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
1229
1229
|
if Utils.match_status_code(http_response.status, ['200'])
|
|
1230
1230
|
if Utils.match_content_type(content_type, 'application/json')
|
|
@@ -1400,7 +1400,7 @@ module Kombo
|
|
|
1400
1400
|
|
|
1401
1401
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
1402
1402
|
timeout ||= (300_000.to_f / 1000)
|
|
1403
|
-
|
|
1403
|
+
|
|
1404
1404
|
|
|
1405
1405
|
connection = @sdk_configuration.client
|
|
1406
1406
|
|
|
@@ -1415,7 +1415,7 @@ module Kombo
|
|
|
1415
1415
|
error = T.let(nil, T.nilable(StandardError))
|
|
1416
1416
|
http_response = T.let(nil, T.nilable(Faraday::Response))
|
|
1417
1417
|
|
|
1418
|
-
|
|
1418
|
+
|
|
1419
1419
|
begin
|
|
1420
1420
|
http_response = T.must(connection).post(url) do |req|
|
|
1421
1421
|
req.body = body
|
|
@@ -1452,13 +1452,13 @@ module Kombo
|
|
|
1452
1452
|
response: http_response
|
|
1453
1453
|
)
|
|
1454
1454
|
end
|
|
1455
|
-
|
|
1455
|
+
|
|
1456
1456
|
if http_response.nil?
|
|
1457
1457
|
raise error if !error.nil?
|
|
1458
1458
|
raise 'no response'
|
|
1459
1459
|
end
|
|
1460
1460
|
end
|
|
1461
|
-
|
|
1461
|
+
|
|
1462
1462
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
1463
1463
|
if Utils.match_status_code(http_response.status, ['200'])
|
|
1464
1464
|
if Utils.match_content_type(content_type, 'application/json')
|
|
@@ -1530,7 +1530,7 @@ module Kombo
|
|
|
1530
1530
|
|
|
1531
1531
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
1532
1532
|
timeout ||= @sdk_configuration.timeout
|
|
1533
|
-
|
|
1533
|
+
|
|
1534
1534
|
|
|
1535
1535
|
connection = @sdk_configuration.client
|
|
1536
1536
|
|
|
@@ -1545,7 +1545,7 @@ module Kombo
|
|
|
1545
1545
|
error = T.let(nil, T.nilable(StandardError))
|
|
1546
1546
|
http_response = T.let(nil, T.nilable(Faraday::Response))
|
|
1547
1547
|
|
|
1548
|
-
|
|
1548
|
+
|
|
1549
1549
|
begin
|
|
1550
1550
|
http_response = T.must(connection).get(url) do |req|
|
|
1551
1551
|
req.headers.merge!(headers)
|
|
@@ -1581,13 +1581,13 @@ module Kombo
|
|
|
1581
1581
|
response: http_response
|
|
1582
1582
|
)
|
|
1583
1583
|
end
|
|
1584
|
-
|
|
1584
|
+
|
|
1585
1585
|
if http_response.nil?
|
|
1586
1586
|
raise error if !error.nil?
|
|
1587
1587
|
raise 'no response'
|
|
1588
1588
|
end
|
|
1589
1589
|
end
|
|
1590
|
-
|
|
1590
|
+
|
|
1591
1591
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
1592
1592
|
if Utils.match_status_code(http_response.status, ['200'])
|
|
1593
1593
|
if Utils.match_content_type(content_type, 'application/json')
|
|
@@ -1691,7 +1691,7 @@ module Kombo
|
|
|
1691
1691
|
|
|
1692
1692
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
1693
1693
|
timeout ||= (300_000.to_f / 1000)
|
|
1694
|
-
|
|
1694
|
+
|
|
1695
1695
|
|
|
1696
1696
|
connection = @sdk_configuration.client
|
|
1697
1697
|
|
|
@@ -1706,7 +1706,7 @@ module Kombo
|
|
|
1706
1706
|
error = T.let(nil, T.nilable(StandardError))
|
|
1707
1707
|
http_response = T.let(nil, T.nilable(Faraday::Response))
|
|
1708
1708
|
|
|
1709
|
-
|
|
1709
|
+
|
|
1710
1710
|
begin
|
|
1711
1711
|
http_response = T.must(connection).post(url) do |req|
|
|
1712
1712
|
req.body = body
|
|
@@ -1743,13 +1743,13 @@ module Kombo
|
|
|
1743
1743
|
response: http_response
|
|
1744
1744
|
)
|
|
1745
1745
|
end
|
|
1746
|
-
|
|
1746
|
+
|
|
1747
1747
|
if http_response.nil?
|
|
1748
1748
|
raise error if !error.nil?
|
|
1749
1749
|
raise 'no response'
|
|
1750
1750
|
end
|
|
1751
1751
|
end
|
|
1752
|
-
|
|
1752
|
+
|
|
1753
1753
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
1754
1754
|
if Utils.match_status_code(http_response.status, ['200'])
|
|
1755
1755
|
if Utils.match_content_type(content_type, 'application/json')
|
|
@@ -1864,7 +1864,7 @@ module Kombo
|
|
|
1864
1864
|
|
|
1865
1865
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
1866
1866
|
timeout ||= (300_000.to_f / 1000)
|
|
1867
|
-
|
|
1867
|
+
|
|
1868
1868
|
|
|
1869
1869
|
connection = @sdk_configuration.client
|
|
1870
1870
|
|
|
@@ -1879,7 +1879,7 @@ module Kombo
|
|
|
1879
1879
|
error = T.let(nil, T.nilable(StandardError))
|
|
1880
1880
|
http_response = T.let(nil, T.nilable(Faraday::Response))
|
|
1881
1881
|
|
|
1882
|
-
|
|
1882
|
+
|
|
1883
1883
|
begin
|
|
1884
1884
|
http_response = T.must(connection).post(url) do |req|
|
|
1885
1885
|
req.body = body
|
|
@@ -1916,13 +1916,13 @@ module Kombo
|
|
|
1916
1916
|
response: http_response
|
|
1917
1917
|
)
|
|
1918
1918
|
end
|
|
1919
|
-
|
|
1919
|
+
|
|
1920
1920
|
if http_response.nil?
|
|
1921
1921
|
raise error if !error.nil?
|
|
1922
1922
|
raise 'no response'
|
|
1923
1923
|
end
|
|
1924
1924
|
end
|
|
1925
|
-
|
|
1925
|
+
|
|
1926
1926
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
1927
1927
|
if Utils.match_status_code(http_response.status, ['200'])
|
|
1928
1928
|
if Utils.match_content_type(content_type, 'application/json')
|
|
@@ -2018,7 +2018,7 @@ module Kombo
|
|
|
2018
2018
|
|
|
2019
2019
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
2020
2020
|
timeout ||= (300_000.to_f / 1000)
|
|
2021
|
-
|
|
2021
|
+
|
|
2022
2022
|
|
|
2023
2023
|
connection = @sdk_configuration.client
|
|
2024
2024
|
|
|
@@ -2033,7 +2033,7 @@ module Kombo
|
|
|
2033
2033
|
error = T.let(nil, T.nilable(StandardError))
|
|
2034
2034
|
http_response = T.let(nil, T.nilable(Faraday::Response))
|
|
2035
2035
|
|
|
2036
|
-
|
|
2036
|
+
|
|
2037
2037
|
begin
|
|
2038
2038
|
http_response = T.must(connection).post(url) do |req|
|
|
2039
2039
|
req.body = body
|
|
@@ -2070,13 +2070,13 @@ module Kombo
|
|
|
2070
2070
|
response: http_response
|
|
2071
2071
|
)
|
|
2072
2072
|
end
|
|
2073
|
-
|
|
2073
|
+
|
|
2074
2074
|
if http_response.nil?
|
|
2075
2075
|
raise error if !error.nil?
|
|
2076
2076
|
raise 'no response'
|
|
2077
2077
|
end
|
|
2078
2078
|
end
|
|
2079
|
-
|
|
2079
|
+
|
|
2080
2080
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
2081
2081
|
if Utils.match_status_code(http_response.status, ['200'])
|
|
2082
2082
|
if Utils.match_content_type(content_type, 'application/json')
|
|
@@ -2172,7 +2172,7 @@ module Kombo
|
|
|
2172
2172
|
|
|
2173
2173
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
2174
2174
|
timeout ||= @sdk_configuration.timeout
|
|
2175
|
-
|
|
2175
|
+
|
|
2176
2176
|
|
|
2177
2177
|
connection = @sdk_configuration.client
|
|
2178
2178
|
|
|
@@ -2187,7 +2187,7 @@ module Kombo
|
|
|
2187
2187
|
error = T.let(nil, T.nilable(StandardError))
|
|
2188
2188
|
http_response = T.let(nil, T.nilable(Faraday::Response))
|
|
2189
2189
|
|
|
2190
|
-
|
|
2190
|
+
|
|
2191
2191
|
begin
|
|
2192
2192
|
http_response = T.must(connection).delete(url) do |req|
|
|
2193
2193
|
req.body = body
|
|
@@ -2224,13 +2224,13 @@ module Kombo
|
|
|
2224
2224
|
response: http_response
|
|
2225
2225
|
)
|
|
2226
2226
|
end
|
|
2227
|
-
|
|
2227
|
+
|
|
2228
2228
|
if http_response.nil?
|
|
2229
2229
|
raise error if !error.nil?
|
|
2230
2230
|
raise 'no response'
|
|
2231
2231
|
end
|
|
2232
2232
|
end
|
|
2233
|
-
|
|
2233
|
+
|
|
2234
2234
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
2235
2235
|
if Utils.match_status_code(http_response.status, ['200'])
|
|
2236
2236
|
if Utils.match_content_type(content_type, 'application/json')
|
|
@@ -2301,7 +2301,7 @@ module Kombo
|
|
|
2301
2301
|
|
|
2302
2302
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
2303
2303
|
timeout ||= @sdk_configuration.timeout
|
|
2304
|
-
|
|
2304
|
+
|
|
2305
2305
|
|
|
2306
2306
|
connection = @sdk_configuration.client
|
|
2307
2307
|
|
|
@@ -2316,7 +2316,7 @@ module Kombo
|
|
|
2316
2316
|
error = T.let(nil, T.nilable(StandardError))
|
|
2317
2317
|
http_response = T.let(nil, T.nilable(Faraday::Response))
|
|
2318
2318
|
|
|
2319
|
-
|
|
2319
|
+
|
|
2320
2320
|
begin
|
|
2321
2321
|
http_response = T.must(connection).get(url) do |req|
|
|
2322
2322
|
req.headers.merge!(headers)
|
|
@@ -2353,13 +2353,13 @@ module Kombo
|
|
|
2353
2353
|
response: http_response
|
|
2354
2354
|
)
|
|
2355
2355
|
end
|
|
2356
|
-
|
|
2356
|
+
|
|
2357
2357
|
if http_response.nil?
|
|
2358
2358
|
raise error if !error.nil?
|
|
2359
2359
|
raise 'no response'
|
|
2360
2360
|
end
|
|
2361
2361
|
end
|
|
2362
|
-
|
|
2362
|
+
|
|
2363
2363
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
2364
2364
|
if Utils.match_status_code(http_response.status, ['200'])
|
|
2365
2365
|
if Utils.match_content_type(content_type, 'application/json')
|
|
@@ -2466,7 +2466,7 @@ module Kombo
|
|
|
2466
2466
|
|
|
2467
2467
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
2468
2468
|
timeout ||= @sdk_configuration.timeout
|
|
2469
|
-
|
|
2469
|
+
|
|
2470
2470
|
|
|
2471
2471
|
connection = @sdk_configuration.client
|
|
2472
2472
|
|
|
@@ -2481,7 +2481,7 @@ module Kombo
|
|
|
2481
2481
|
error = T.let(nil, T.nilable(StandardError))
|
|
2482
2482
|
http_response = T.let(nil, T.nilable(Faraday::Response))
|
|
2483
2483
|
|
|
2484
|
-
|
|
2484
|
+
|
|
2485
2485
|
begin
|
|
2486
2486
|
http_response = T.must(connection).get(url) do |req|
|
|
2487
2487
|
req.headers.merge!(headers)
|
|
@@ -2518,13 +2518,13 @@ module Kombo
|
|
|
2518
2518
|
response: http_response
|
|
2519
2519
|
)
|
|
2520
2520
|
end
|
|
2521
|
-
|
|
2521
|
+
|
|
2522
2522
|
if http_response.nil?
|
|
2523
2523
|
raise error if !error.nil?
|
|
2524
2524
|
raise 'no response'
|
|
2525
2525
|
end
|
|
2526
2526
|
end
|
|
2527
|
-
|
|
2527
|
+
|
|
2528
2528
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
2529
2529
|
if Utils.match_status_code(http_response.status, ['200'])
|
|
2530
2530
|
if Utils.match_content_type(content_type, 'application/json')
|
|
@@ -2636,7 +2636,7 @@ module Kombo
|
|
|
2636
2636
|
|
|
2637
2637
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
2638
2638
|
timeout ||= @sdk_configuration.timeout
|
|
2639
|
-
|
|
2639
|
+
|
|
2640
2640
|
|
|
2641
2641
|
connection = @sdk_configuration.client
|
|
2642
2642
|
|
|
@@ -2651,7 +2651,7 @@ module Kombo
|
|
|
2651
2651
|
error = T.let(nil, T.nilable(StandardError))
|
|
2652
2652
|
http_response = T.let(nil, T.nilable(Faraday::Response))
|
|
2653
2653
|
|
|
2654
|
-
|
|
2654
|
+
|
|
2655
2655
|
begin
|
|
2656
2656
|
http_response = T.must(connection).get(url) do |req|
|
|
2657
2657
|
req.headers.merge!(headers)
|
|
@@ -2688,13 +2688,13 @@ module Kombo
|
|
|
2688
2688
|
response: http_response
|
|
2689
2689
|
)
|
|
2690
2690
|
end
|
|
2691
|
-
|
|
2691
|
+
|
|
2692
2692
|
if http_response.nil?
|
|
2693
2693
|
raise error if !error.nil?
|
|
2694
2694
|
raise 'no response'
|
|
2695
2695
|
end
|
|
2696
2696
|
end
|
|
2697
|
-
|
|
2697
|
+
|
|
2698
2698
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
2699
2699
|
if Utils.match_status_code(http_response.status, ['200'])
|
|
2700
2700
|
if Utils.match_content_type(content_type, 'application/json')
|
|
@@ -2870,7 +2870,7 @@ module Kombo
|
|
|
2870
2870
|
|
|
2871
2871
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
2872
2872
|
timeout ||= (300_000.to_f / 1000)
|
|
2873
|
-
|
|
2873
|
+
|
|
2874
2874
|
|
|
2875
2875
|
connection = @sdk_configuration.client
|
|
2876
2876
|
|
|
@@ -2885,7 +2885,7 @@ module Kombo
|
|
|
2885
2885
|
error = T.let(nil, T.nilable(StandardError))
|
|
2886
2886
|
http_response = T.let(nil, T.nilable(Faraday::Response))
|
|
2887
2887
|
|
|
2888
|
-
|
|
2888
|
+
|
|
2889
2889
|
begin
|
|
2890
2890
|
http_response = T.must(connection).post(url) do |req|
|
|
2891
2891
|
req.body = body
|
|
@@ -2922,13 +2922,13 @@ module Kombo
|
|
|
2922
2922
|
response: http_response
|
|
2923
2923
|
)
|
|
2924
2924
|
end
|
|
2925
|
-
|
|
2925
|
+
|
|
2926
2926
|
if http_response.nil?
|
|
2927
2927
|
raise error if !error.nil?
|
|
2928
2928
|
raise 'no response'
|
|
2929
2929
|
end
|
|
2930
2930
|
end
|
|
2931
|
-
|
|
2931
|
+
|
|
2932
2932
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
2933
2933
|
if Utils.match_status_code(http_response.status, ['200'])
|
|
2934
2934
|
if Utils.match_content_type(content_type, 'application/json')
|
|
@@ -3000,7 +3000,7 @@ module Kombo
|
|
|
3000
3000
|
|
|
3001
3001
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
3002
3002
|
timeout ||= @sdk_configuration.timeout
|
|
3003
|
-
|
|
3003
|
+
|
|
3004
3004
|
|
|
3005
3005
|
connection = @sdk_configuration.client
|
|
3006
3006
|
|
|
@@ -3015,7 +3015,7 @@ module Kombo
|
|
|
3015
3015
|
error = T.let(nil, T.nilable(StandardError))
|
|
3016
3016
|
http_response = T.let(nil, T.nilable(Faraday::Response))
|
|
3017
3017
|
|
|
3018
|
-
|
|
3018
|
+
|
|
3019
3019
|
begin
|
|
3020
3020
|
http_response = T.must(connection).get(url) do |req|
|
|
3021
3021
|
req.headers.merge!(headers)
|
|
@@ -3052,13 +3052,13 @@ module Kombo
|
|
|
3052
3052
|
response: http_response
|
|
3053
3053
|
)
|
|
3054
3054
|
end
|
|
3055
|
-
|
|
3055
|
+
|
|
3056
3056
|
if http_response.nil?
|
|
3057
3057
|
raise error if !error.nil?
|
|
3058
3058
|
raise 'no response'
|
|
3059
3059
|
end
|
|
3060
3060
|
end
|
|
3061
|
-
|
|
3061
|
+
|
|
3062
3062
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
3063
3063
|
if Utils.match_status_code(http_response.status, ['200'])
|
|
3064
3064
|
if Utils.match_content_type(content_type, 'application/json')
|
|
@@ -3159,7 +3159,7 @@ module Kombo
|
|
|
3159
3159
|
|
|
3160
3160
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
3161
3161
|
timeout ||= @sdk_configuration.timeout
|
|
3162
|
-
|
|
3162
|
+
|
|
3163
3163
|
|
|
3164
3164
|
connection = @sdk_configuration.client
|
|
3165
3165
|
|
|
@@ -3174,7 +3174,7 @@ module Kombo
|
|
|
3174
3174
|
error = T.let(nil, T.nilable(StandardError))
|
|
3175
3175
|
http_response = T.let(nil, T.nilable(Faraday::Response))
|
|
3176
3176
|
|
|
3177
|
-
|
|
3177
|
+
|
|
3178
3178
|
begin
|
|
3179
3179
|
http_response = T.must(connection).get(url) do |req|
|
|
3180
3180
|
req.headers.merge!(headers)
|
|
@@ -3211,13 +3211,13 @@ module Kombo
|
|
|
3211
3211
|
response: http_response
|
|
3212
3212
|
)
|
|
3213
3213
|
end
|
|
3214
|
-
|
|
3214
|
+
|
|
3215
3215
|
if http_response.nil?
|
|
3216
3216
|
raise error if !error.nil?
|
|
3217
3217
|
raise 'no response'
|
|
3218
3218
|
end
|
|
3219
3219
|
end
|
|
3220
|
-
|
|
3220
|
+
|
|
3221
3221
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
3222
3222
|
if Utils.match_status_code(http_response.status, ['200'])
|
|
3223
3223
|
if Utils.match_content_type(content_type, 'application/json')
|
|
@@ -3315,7 +3315,7 @@ module Kombo
|
|
|
3315
3315
|
|
|
3316
3316
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
3317
3317
|
timeout ||= @sdk_configuration.timeout
|
|
3318
|
-
|
|
3318
|
+
|
|
3319
3319
|
|
|
3320
3320
|
connection = @sdk_configuration.client
|
|
3321
3321
|
|
|
@@ -3330,7 +3330,7 @@ module Kombo
|
|
|
3330
3330
|
error = T.let(nil, T.nilable(StandardError))
|
|
3331
3331
|
http_response = T.let(nil, T.nilable(Faraday::Response))
|
|
3332
3332
|
|
|
3333
|
-
|
|
3333
|
+
|
|
3334
3334
|
begin
|
|
3335
3335
|
http_response = T.must(connection).get(url) do |req|
|
|
3336
3336
|
req.headers.merge!(headers)
|
|
@@ -3367,13 +3367,13 @@ module Kombo
|
|
|
3367
3367
|
response: http_response
|
|
3368
3368
|
)
|
|
3369
3369
|
end
|
|
3370
|
-
|
|
3370
|
+
|
|
3371
3371
|
if http_response.nil?
|
|
3372
3372
|
raise error if !error.nil?
|
|
3373
3373
|
raise 'no response'
|
|
3374
3374
|
end
|
|
3375
3375
|
end
|
|
3376
|
-
|
|
3376
|
+
|
|
3377
3377
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
3378
3378
|
if Utils.match_status_code(http_response.status, ['200'])
|
|
3379
3379
|
if Utils.match_content_type(content_type, 'application/json')
|
|
@@ -3472,7 +3472,7 @@ module Kombo
|
|
|
3472
3472
|
|
|
3473
3473
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
3474
3474
|
timeout ||= @sdk_configuration.timeout
|
|
3475
|
-
|
|
3475
|
+
|
|
3476
3476
|
|
|
3477
3477
|
connection = @sdk_configuration.client
|
|
3478
3478
|
|
|
@@ -3487,7 +3487,7 @@ module Kombo
|
|
|
3487
3487
|
error = T.let(nil, T.nilable(StandardError))
|
|
3488
3488
|
http_response = T.let(nil, T.nilable(Faraday::Response))
|
|
3489
3489
|
|
|
3490
|
-
|
|
3490
|
+
|
|
3491
3491
|
begin
|
|
3492
3492
|
http_response = T.must(connection).get(url) do |req|
|
|
3493
3493
|
req.headers.merge!(headers)
|
|
@@ -3524,13 +3524,13 @@ module Kombo
|
|
|
3524
3524
|
response: http_response
|
|
3525
3525
|
)
|
|
3526
3526
|
end
|
|
3527
|
-
|
|
3527
|
+
|
|
3528
3528
|
if http_response.nil?
|
|
3529
3529
|
raise error if !error.nil?
|
|
3530
3530
|
raise 'no response'
|
|
3531
3531
|
end
|
|
3532
3532
|
end
|
|
3533
|
-
|
|
3533
|
+
|
|
3534
3534
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
3535
3535
|
if Utils.match_status_code(http_response.status, ['200'])
|
|
3536
3536
|
if Utils.match_content_type(content_type, 'application/json')
|
|
@@ -3628,7 +3628,7 @@ module Kombo
|
|
|
3628
3628
|
|
|
3629
3629
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
3630
3630
|
timeout ||= @sdk_configuration.timeout
|
|
3631
|
-
|
|
3631
|
+
|
|
3632
3632
|
|
|
3633
3633
|
connection = @sdk_configuration.client
|
|
3634
3634
|
|
|
@@ -3643,7 +3643,7 @@ module Kombo
|
|
|
3643
3643
|
error = T.let(nil, T.nilable(StandardError))
|
|
3644
3644
|
http_response = T.let(nil, T.nilable(Faraday::Response))
|
|
3645
3645
|
|
|
3646
|
-
|
|
3646
|
+
|
|
3647
3647
|
begin
|
|
3648
3648
|
http_response = T.must(connection).get(url) do |req|
|
|
3649
3649
|
req.headers.merge!(headers)
|
|
@@ -3680,13 +3680,13 @@ module Kombo
|
|
|
3680
3680
|
response: http_response
|
|
3681
3681
|
)
|
|
3682
3682
|
end
|
|
3683
|
-
|
|
3683
|
+
|
|
3684
3684
|
if http_response.nil?
|
|
3685
3685
|
raise error if !error.nil?
|
|
3686
3686
|
raise 'no response'
|
|
3687
3687
|
end
|
|
3688
3688
|
end
|
|
3689
|
-
|
|
3689
|
+
|
|
3690
3690
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
3691
3691
|
if Utils.match_status_code(http_response.status, ['200'])
|
|
3692
3692
|
if Utils.match_content_type(content_type, 'application/json')
|
|
@@ -3804,7 +3804,7 @@ module Kombo
|
|
|
3804
3804
|
|
|
3805
3805
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
3806
3806
|
timeout ||= (300_000.to_f / 1000)
|
|
3807
|
-
|
|
3807
|
+
|
|
3808
3808
|
|
|
3809
3809
|
connection = @sdk_configuration.client
|
|
3810
3810
|
|
|
@@ -3819,7 +3819,7 @@ module Kombo
|
|
|
3819
3819
|
error = T.let(nil, T.nilable(StandardError))
|
|
3820
3820
|
http_response = T.let(nil, T.nilable(Faraday::Response))
|
|
3821
3821
|
|
|
3822
|
-
|
|
3822
|
+
|
|
3823
3823
|
begin
|
|
3824
3824
|
http_response = T.must(connection).post(url) do |req|
|
|
3825
3825
|
req.body = body
|
|
@@ -3856,13 +3856,13 @@ module Kombo
|
|
|
3856
3856
|
response: http_response
|
|
3857
3857
|
)
|
|
3858
3858
|
end
|
|
3859
|
-
|
|
3859
|
+
|
|
3860
3860
|
if http_response.nil?
|
|
3861
3861
|
raise error if !error.nil?
|
|
3862
3862
|
raise 'no response'
|
|
3863
3863
|
end
|
|
3864
3864
|
end
|
|
3865
|
-
|
|
3865
|
+
|
|
3866
3866
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
3867
3867
|
if Utils.match_status_code(http_response.status, ['200'])
|
|
3868
3868
|
if Utils.match_content_type(content_type, 'application/json')
|