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/connect.rb
CHANGED
|
@@ -86,7 +86,7 @@ module Kombo
|
|
|
86
86
|
|
|
87
87
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
88
88
|
timeout ||= (300_000.to_f / 1000)
|
|
89
|
-
|
|
89
|
+
|
|
90
90
|
|
|
91
91
|
connection = @sdk_configuration.client
|
|
92
92
|
|
|
@@ -101,7 +101,7 @@ module Kombo
|
|
|
101
101
|
error = T.let(nil, T.nilable(StandardError))
|
|
102
102
|
http_response = T.let(nil, T.nilable(Faraday::Response))
|
|
103
103
|
|
|
104
|
-
|
|
104
|
+
|
|
105
105
|
begin
|
|
106
106
|
http_response = T.must(connection).post(url) do |req|
|
|
107
107
|
req.body = body
|
|
@@ -138,13 +138,13 @@ module Kombo
|
|
|
138
138
|
response: http_response
|
|
139
139
|
)
|
|
140
140
|
end
|
|
141
|
-
|
|
141
|
+
|
|
142
142
|
if http_response.nil?
|
|
143
143
|
raise error if !error.nil?
|
|
144
144
|
raise 'no response'
|
|
145
145
|
end
|
|
146
146
|
end
|
|
147
|
-
|
|
147
|
+
|
|
148
148
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
149
149
|
if Utils.match_status_code(http_response.status, ['200'])
|
|
150
150
|
if Utils.match_content_type(content_type, 'application/json')
|
|
@@ -221,7 +221,7 @@ module Kombo
|
|
|
221
221
|
|
|
222
222
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
223
223
|
timeout ||= @sdk_configuration.timeout
|
|
224
|
-
|
|
224
|
+
|
|
225
225
|
|
|
226
226
|
connection = @sdk_configuration.client
|
|
227
227
|
|
|
@@ -236,7 +236,7 @@ module Kombo
|
|
|
236
236
|
error = T.let(nil, T.nilable(StandardError))
|
|
237
237
|
http_response = T.let(nil, T.nilable(Faraday::Response))
|
|
238
238
|
|
|
239
|
-
|
|
239
|
+
|
|
240
240
|
begin
|
|
241
241
|
http_response = T.must(connection).get(url) do |req|
|
|
242
242
|
req.headers.merge!(headers)
|
|
@@ -272,13 +272,13 @@ module Kombo
|
|
|
272
272
|
response: http_response
|
|
273
273
|
)
|
|
274
274
|
end
|
|
275
|
-
|
|
275
|
+
|
|
276
276
|
if http_response.nil?
|
|
277
277
|
raise error if !error.nil?
|
|
278
278
|
raise 'no response'
|
|
279
279
|
end
|
|
280
280
|
end
|
|
281
|
-
|
|
281
|
+
|
|
282
282
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
283
283
|
if Utils.match_status_code(http_response.status, ['200'])
|
|
284
284
|
if Utils.match_content_type(content_type, 'application/json')
|
data/lib/kombo/general.rb
CHANGED
|
@@ -58,7 +58,7 @@ module Kombo
|
|
|
58
58
|
|
|
59
59
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
60
60
|
timeout ||= @sdk_configuration.timeout
|
|
61
|
-
|
|
61
|
+
|
|
62
62
|
|
|
63
63
|
connection = @sdk_configuration.client
|
|
64
64
|
|
|
@@ -73,7 +73,7 @@ module Kombo
|
|
|
73
73
|
error = T.let(nil, T.nilable(StandardError))
|
|
74
74
|
http_response = T.let(nil, T.nilable(Faraday::Response))
|
|
75
75
|
|
|
76
|
-
|
|
76
|
+
|
|
77
77
|
begin
|
|
78
78
|
http_response = T.must(connection).get(url) do |req|
|
|
79
79
|
req.headers.merge!(headers)
|
|
@@ -109,13 +109,13 @@ module Kombo
|
|
|
109
109
|
response: http_response
|
|
110
110
|
)
|
|
111
111
|
end
|
|
112
|
-
|
|
112
|
+
|
|
113
113
|
if http_response.nil?
|
|
114
114
|
raise error if !error.nil?
|
|
115
115
|
raise 'no response'
|
|
116
116
|
end
|
|
117
117
|
end
|
|
118
|
-
|
|
118
|
+
|
|
119
119
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
120
120
|
if Utils.match_status_code(http_response.status, ['200'])
|
|
121
121
|
if Utils.match_content_type(content_type, 'application/json')
|
|
@@ -190,7 +190,7 @@ module Kombo
|
|
|
190
190
|
|
|
191
191
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
192
192
|
timeout ||= (300_000.to_f / 1000)
|
|
193
|
-
|
|
193
|
+
|
|
194
194
|
|
|
195
195
|
connection = @sdk_configuration.client
|
|
196
196
|
|
|
@@ -205,7 +205,7 @@ module Kombo
|
|
|
205
205
|
error = T.let(nil, T.nilable(StandardError))
|
|
206
206
|
http_response = T.let(nil, T.nilable(Faraday::Response))
|
|
207
207
|
|
|
208
|
-
|
|
208
|
+
|
|
209
209
|
begin
|
|
210
210
|
http_response = T.must(connection).post(url) do |req|
|
|
211
211
|
req.body = body
|
|
@@ -242,13 +242,13 @@ module Kombo
|
|
|
242
242
|
response: http_response
|
|
243
243
|
)
|
|
244
244
|
end
|
|
245
|
-
|
|
245
|
+
|
|
246
246
|
if http_response.nil?
|
|
247
247
|
raise error if !error.nil?
|
|
248
248
|
raise 'no response'
|
|
249
249
|
end
|
|
250
250
|
end
|
|
251
|
-
|
|
251
|
+
|
|
252
252
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
253
253
|
if Utils.match_status_code(http_response.status, ['200'])
|
|
254
254
|
if Utils.match_content_type(content_type, 'application/json')
|
|
@@ -308,6 +308,7 @@ module Kombo
|
|
|
308
308
|
# |Abacus Umantis|`abacusumantis/v1`|[Umantis API v1](https://recruitingapp-91005709.umantis.com/api/v1/swagger-ui). We automatically authenticate all requests and use `https://\{subdomain\}.umantis.com/api/v1` as the base URL.|
|
|
309
309
|
# |Abacus|`abacus/api`|Abacus [REST API](https://apihub.abacus.ch/). We automatically authenticate all requests and use `https://\{\{abacusUrl\}\}/api/entity/v1/mandants/\{\{mandantId\}\}` as the base URL.|
|
|
310
310
|
# |Absence.io|`absenceio/v2`|Absence.io [API](https://docs.absence.io/). We automatically authenticate all requests and use `https://app.absence.io/api/v2` as the base URL.|
|
|
311
|
+
# |ADP Decidium|`adpdecidium/default`|[ADP Decidium API](https://developers.adp.com/apis/api-explorer/hcm-offrg-dge). We automatically authenticate all requests and use `https://api.eu.adp.com` as the base URL.|
|
|
311
312
|
# |ADP Workforce Now|`adpworkforcenow/default`|[ADP Workforce Now API v2](https://developers.adp.com/build/api-explorer/hcm-offrg-wfn). We automatically authenticate all requests and use the correct subdomain.|
|
|
312
313
|
# |AFAS Software|`afas/api`|AFAS' [API](https://connect.afas.nl/rest/get). We automatically authenticate all requests and use `https://\{domain\}/ProfitRestServices` as the base URL.|
|
|
313
314
|
# |AlexisHR|`alexishr/v1`|[AlexisHR's v1 API](https://docs.alexishr.com/) We automatically authenticate all requests and use `https://\{subdomain\}.alexishr.com` as base URL.|
|
|
@@ -337,6 +338,7 @@ module Kombo
|
|
|
337
338
|
# |Cornerstone OnDemand|`cornerstoneondemand/recruiting`|Cornerstone's [Recruiting API](https://csod.dev/reference/recruiting/). We automatically authenticate all requests using the client ID and secret and use `https://\{your_domain\}.csod.com/services/api` as the base URL.|
|
|
338
339
|
# |Cornerstone TalentLink|`cornerstonetalentlink/apply`|Cornerstone TalentLink's Apply API. We automatically authenticate all requests using the provided credentials and API key, and use `https://apiproxy.shared.lumessetalentlink.com/apply` as the base URL.|
|
|
339
340
|
# |Cornerstone TalentLink|`cornerstonetalentlink/rest`|Cornerstone TalentLink's [REST API](https://developer.lumesse-talenthub.com/rest-api-developers-guide/1.21.33/index.html?page=rest-api&subpage=introduction). We automatically authenticate all requests using the provided credentials and API key, and use `https://apiproxy.shared.lumessetalentlink.com/tlk/rest` as the base URL.|
|
|
341
|
+
# |Coursera|`coursera/v1`|We use `https://api.coursera.com/ent` as the base URL. Find the official docs [here](https://dev.coursera.com).|
|
|
340
342
|
# |Coveto (legacy SOAP API)|`coveto/public`|We automatically use `https://\{subdomain\}.coveto.de` as the base URL.|
|
|
341
343
|
# |Coveto (REST API)|`covetorest/v1`|We automatically use `https://\{subdomain\}.coveto.de/public/api/v1` as the base URL. https://demo.coveto.de/swagger-ui/index.html#/|
|
|
342
344
|
# |Crelate|`crelate/api`|Crelate [REST API](https://app.crelate.com/api3/docs/index.html). We automatically authenticate all requests and use `https://app.crelate.com/api3` as the base URL.|
|
|
@@ -344,14 +346,16 @@ module Kombo
|
|
|
344
346
|
# |d.vinci admin|`dvinciadmin/rest-api`|[DVinci REST API](https://static.dvinci-easy.com/files/d.vinci%20rest-api.html).|
|
|
345
347
|
# |d.vinci|`dvinci/apply-api`|The [DVinci Apply API](https://static.dvinci-easy.com/files/d.vinci%20application-apply-api.html). All requests are authenticated by Kombo and use `https://\{dvinci_domain\}/p/\{portal_path\}/` as the base URL.|
|
|
346
348
|
# |d.vinci|`dvinci/rest-api`|The [DVinci REST API](https://static.dvinci-easy.com/files/d.vinci%20rest-api.html). All requests are authenticated by Kombo and use `https://\{dvinci_domain\}/restApi/` as the base URL.|
|
|
347
|
-
# |
|
|
349
|
+
# |Databites|`databites/v1`|We use `https://\{subdomain\}.databites.de` as the base URL. Find the official docs [here](https://\{subdomain\}.databites.de/api-dokumentationen/public-integrations/index).|
|
|
348
350
|
# |DATEV LODAS|`datev/eau`|DATEV's [eau](https://developer.datev.de/en/product-detail/eau-api/1.0.0/overview) API. We automatically authenticate all requests and use `https://eau.api.datev.de/\{platform|platform-sandbox\}/v1/clients/\{client-id\}/` as the base URL.|
|
|
349
351
|
# |DATEV|`datevhr/eau`|DATEV's [eau](https://developer.datev.de/en/product-detail/eau-api/1.0.0/overview) API. We automatically authenticate all requests and use `https://eau.api.datev.de/\{platform|platform-sandbox\}/v1/clients/\{client-id\}/` as the base URL.|
|
|
350
352
|
# |DATEV|`datevhr/hr-exports`|DATEV's [hr-exports](https://developer.datev.de/en/product-detail/hr-exports/1.0.0/overview). We automatically authenticate all requests and use `https://hr-exports.api.datev.de/\{platform|platform-sandbox\}/v1/clients/\{client-id\}` as the base URL.|
|
|
351
353
|
# |DATEV|`datevhr/hr:payrollreports`|DATEV's [hr:payrollreports](https://developer.datev.de/en/product-detail/hr-payrollreports/2.0.0/overview) API. We automatically authenticate all requests and use `https://hr-payrollreports.api.datev.de/\{platform|platform-sandbox\}/v1/clients/\{client-id\}/` as the base URL.|
|
|
354
|
+
# |DATEV|`datevlauds/lauds`|DATEV's [hr-exchange](https://developer.datev.de/de/product-detail/hr-exchange/1.0.0/overview). We automatically authenticate all requests and use `https://hr-exchange.api.datev.de/\{platform|platform-sandbox\}/v1/clients/\{client-id\}` as the base URL.|
|
|
352
355
|
# |Dayforce|`dayforce/V1`|[Dayforce's API](https://developers.dayforce.com/Build/Home.aspx). We automatically authenticate all requests and use `\{\{baseUrl\}\}/Api/\{\{clientNamespace\}\}/V1` as the base URL|
|
|
353
356
|
# |Deel|`deel/api`|Deel's [API](https://developer.deel.com/reference/). We automatically authenticate all requests using the provided credentials and use `https://\{api_domain\}/rest` as the base URL.|
|
|
354
357
|
# |Digital Recruiters|`digitalrecruiters/api`|Cegid Digital Recruiters [Talent Acquisition API](https://cegid-hr-developers.talentsoft.net/docs/tutorial-basics/Talent%20Acquisition/Getting%20Started). We automatically authenticate all requests by replacing `:token` in the request URL with your configured access token and use your configured Digital Recruiters domain as the base URL.|
|
|
358
|
+
# |Docebo|`docebo/api`|Docebo [API](https://developer.docebo.com). We automatically handle authentication and use `https://\{subdomain\}.docebosaas.com` as the base URL.|
|
|
355
359
|
# |Eightfold|`eightfold/api`|Eightfold's [API](https://apidocs.eightfold.ai/). We automatically authenticate all requests and use `https://apiv2.\{region\}/api/v2/core/` as the base URL.|
|
|
356
360
|
# |Employment Hero|`employmenthero/default`|EmploymentHero [API](https://developer.employmenthero.com/api-references/#icon-book-open-introduction). We automatically authenticate all requests using the credentials supplied by the customer and use `https://api.employmenthero.com/api` as the base URL.|
|
|
357
361
|
# |Eploy|`eploy/api`|Eploy's [API](https://www.eploy.com/resources/developers/api-documentation/). We automatically authenticate all requests. The base URL is `https://\{hostname\}/api`, where `\{hostname\}` is either `\{subdomain\}.eploy.net` or your full custom hostname when applicable.|
|
|
@@ -432,6 +436,8 @@ module Kombo
|
|
|
432
436
|
# |Oracle Recruiting Cloud|`oraclerecruiting/rest`|[Oracles's REST API](https://docs.oracle.com/en/cloud/saas/human-resources/24d/farws/rest-endpoints.html). We automatically authenticate all requests and use 'https://\{company_url\}' as the base url.|
|
|
433
437
|
# |Oracle Taleo|`taleo/soap`|[Taleo's API](https://docs.oracle.com/en/cloud/saas/taleo-enterprise/23b/otwsu/c-taleoapi.html). We automatically authenticate all requests and use 'https://\{your-subdomain\}.taleo.net/enterprise/soap' as base URL.|
|
|
434
438
|
# |OTYS|`otys/json-rpc`|[OTYS JSON-RPC API](https://ows.otys.nl/info/). We authenticate with your stored API key and inject the session token as the first element of the JSON-RPC `params` array on each request (except `loginByUid`, which uses `params` as sent). Requests use `https://ows.otys.nl` as the base URL (for example `POST /jservice.php` with the RPC method in the URL fragment, matching OTYS conventions).|
|
|
439
|
+
# |PageUp People|`pageup/v1`|We use `https://assessment-mock-api.dc0.pageuppeople.com` as the base URL. Find the official docs [here](https://developers.pageuppeople.com/Api/Partners/Assessment).|
|
|
440
|
+
# |PageUp People|`pageup/v3`|We use `https://\<environment\>.\<dataCentreId\>.pageuppeople.com/v3/\<tenantId\>/recruitment` as the base URL. Find the official docs [here](https://developers.pageuppeople.com/Api/Recruitment).|
|
|
435
441
|
# |Paradox|`paradox/v1`|We use `\{api_url\}/api/v1` as the base URL. Find the official docs [here](https://paradox.readme.io/).|
|
|
436
442
|
# |Paradox|`paradox/v1public`|We use `\{api_url\}/api/v1/public` as the base URL. Find the official docs [here](https://paradox.readme.io/).|
|
|
437
443
|
# |Paychex|`paychex/api`|Paychex [REST API](https://developer.paychex.com/documentation). We automatically authenticate all requests and use `https://api.paychex.com` as the base URL.|
|
|
@@ -477,6 +483,7 @@ module Kombo
|
|
|
477
483
|
# |TalentLMS|`talentlms/v2`|We use `https://\{subdomain\}.talentlms.com/api/v2` as the base URL.|
|
|
478
484
|
# |Teamtailor Job Boards|`teamtailorjobboards/direct-apply`|Teamtailor's [Job Board Direct Apply API](https://partner.teamtailor.com/job_boards/direct_apply/#direct-apply). We automatically authenticate all requests and use `https://5qbn6o9x4h.execute-api.eu-west-1.amazonaws.com/production` as the base URL. All requests are automatically signed with HMAC-SHA256 signature.|
|
|
479
485
|
# |Teamtailor|`teamtailor/v1`|We use `https://api.teamtailor.com/v1` as the base URL. Find the official docs [here](https://docs.teamtailor.com/).|
|
|
486
|
+
# |TrackerRMS|`trackerrms/v1`|We use `https://evousapi.tracker-rms.com` as the base URL. Find the official docs [here](https://evousapi.tracker-rms.com/swagger/index.html).|
|
|
480
487
|
# |TRAFFIT|`traffit/v2`|Traffit's [v2 API](https://api.traffit.com). We authenticate all requests with the Traffit API key and use the base URL `https://yourdomain.traffit.com/api/integration/v2`.|
|
|
481
488
|
# |TriNet PEO|`trinetpeo/v1`|We use `https://api.trinet.com` as the base URL. Find the official docs [here](https://developers.trinet.com).|
|
|
482
489
|
# |Ubeeo|`ubeeo/api`|Ubeeo ATS API. We automatically authenticate all requests using OAuth client credentials and use `https://api.ats-platform.com` as the base URL (sandbox: `https://api.acc.ats-platform.com`).|
|
|
@@ -490,6 +497,7 @@ module Kombo
|
|
|
490
497
|
# |Visma YouServe|`youserve/learning`|Visma YouServe [Learning API](https://youserve-domain-api.github.io/SwaggerUI/learning.html). We automatically authenticate all requests using OAuth 2.0 with the provided credentials and use `https://api.youserve.nl/learning/v1.0` as the base URL.|
|
|
491
498
|
# |Workable|`workable/v1`|**Deprecated: Use `v3` instead.** Workable's [API](https://workable.readme.io/reference/generate-an-access-token). We automatically authenticate all requests using the client ID and secret and use `https://\{subdomain\}.\{environment\}.com/spi/v3` as the base URL.|
|
|
492
499
|
# |Workable|`workable/v3`|Workable's [API](https://workable.readme.io/reference/generate-an-access-token). We automatically authenticate all requests using the client ID and secret and use `https://\{subdomain\}.\{environment\}.com/spi/v3` as the base URL.|
|
|
500
|
+
# |Workday|`workday/custom-report`|[Workday's Custom Reports](https://community.workday.com/sites/default/files/file-hosting/productionapi/index.html). We automatically authenticate all requests and use `https://\{domain\}/ccx/service/customreport2/\{tenant\}/` as the base URL. Set your `method` to `GET`. The `path` should be the report path after the tenant, e.g., `/\{report_owner\}/\{report_name\}`. You can include query parameters in the `params` object (e.g., `format=json`).|
|
|
493
501
|
# |Workday|`workday/rest`|[Workday's REST API](https://community.workday.com/sites/default/files/file-hosting/restapi/index.html). We automatically authenticate all requests and use the correct Workday REST base URL for your tenant. The base URL follows the format: https://\{domain\}/api/\{service_name\}/\{version\}/\{tenant\}. You can specify any valid REST endpoint and method. See the Workday REST API documentation for available endpoints. You must specify the `api_options` object and set `service_name` to the name of the service you want to call. You can also specify the `version` (e.g., "v1", "v2"); if omitted, it defaults to "v1".|
|
|
494
502
|
# |Workday|`workday/soap`|[Workday's SOAP API](https://community.workday.com/sites/default/files/file-hosting/productionapi/index.html). We automatically authenticate all requests. Set `data` to your raw xml string. Use `/` as your `path`, as we will always send requests to `https://\{domain\}/ccx/service/\{tenant\}/\{service_name\}`. Set your `method` to `POST`. You need to specify the `api_options` object and set `service_name` to the name of the service you want to call. Find all available services [here](https://community.workday.com/sites/default/files/file-hosting/productionapi/versions/v41.0/index.html). The string that you submit as `data` will be the content of the `soapenv:Body` tag in the request. You can set the `service_version` to any valid Workday service version (the default is `38.2`).|
|
|
495
503
|
# |workforce.com|`workforcecom/api`|Workforce.com [API](https://my.workforce.com/api/v2/documentation). We automatically authenticate all requests using the provided credentials and use `https://my.tanda.co` as the base URL.|
|
|
@@ -534,7 +542,7 @@ module Kombo
|
|
|
534
542
|
|
|
535
543
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
536
544
|
timeout ||= (300_000.to_f / 1000)
|
|
537
|
-
|
|
545
|
+
|
|
538
546
|
|
|
539
547
|
connection = @sdk_configuration.client
|
|
540
548
|
|
|
@@ -549,7 +557,7 @@ module Kombo
|
|
|
549
557
|
error = T.let(nil, T.nilable(StandardError))
|
|
550
558
|
http_response = T.let(nil, T.nilable(Faraday::Response))
|
|
551
559
|
|
|
552
|
-
|
|
560
|
+
|
|
553
561
|
begin
|
|
554
562
|
http_response = T.must(connection).post(url) do |req|
|
|
555
563
|
req.body = body
|
|
@@ -586,13 +594,13 @@ module Kombo
|
|
|
586
594
|
response: http_response
|
|
587
595
|
)
|
|
588
596
|
end
|
|
589
|
-
|
|
597
|
+
|
|
590
598
|
if http_response.nil?
|
|
591
599
|
raise error if !error.nil?
|
|
592
600
|
raise 'no response'
|
|
593
601
|
end
|
|
594
602
|
end
|
|
595
|
-
|
|
603
|
+
|
|
596
604
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
597
605
|
if Utils.match_status_code(http_response.status, ['200'])
|
|
598
606
|
if Utils.match_content_type(content_type, 'application/json')
|
|
@@ -672,7 +680,7 @@ module Kombo
|
|
|
672
680
|
|
|
673
681
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
674
682
|
timeout ||= @sdk_configuration.timeout
|
|
675
|
-
|
|
683
|
+
|
|
676
684
|
|
|
677
685
|
connection = @sdk_configuration.client
|
|
678
686
|
|
|
@@ -687,7 +695,7 @@ module Kombo
|
|
|
687
695
|
error = T.let(nil, T.nilable(StandardError))
|
|
688
696
|
http_response = T.let(nil, T.nilable(Faraday::Response))
|
|
689
697
|
|
|
690
|
-
|
|
698
|
+
|
|
691
699
|
begin
|
|
692
700
|
http_response = T.must(connection).delete(url) do |req|
|
|
693
701
|
req.body = body
|
|
@@ -724,13 +732,13 @@ module Kombo
|
|
|
724
732
|
response: http_response
|
|
725
733
|
)
|
|
726
734
|
end
|
|
727
|
-
|
|
735
|
+
|
|
728
736
|
if http_response.nil?
|
|
729
737
|
raise error if !error.nil?
|
|
730
738
|
raise 'no response'
|
|
731
739
|
end
|
|
732
740
|
end
|
|
733
|
-
|
|
741
|
+
|
|
734
742
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
735
743
|
if Utils.match_status_code(http_response.status, ['200'])
|
|
736
744
|
if Utils.match_content_type(content_type, 'application/json')
|
|
@@ -797,7 +805,7 @@ module Kombo
|
|
|
797
805
|
|
|
798
806
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
799
807
|
timeout ||= @sdk_configuration.timeout
|
|
800
|
-
|
|
808
|
+
|
|
801
809
|
|
|
802
810
|
connection = @sdk_configuration.client
|
|
803
811
|
|
|
@@ -812,7 +820,7 @@ module Kombo
|
|
|
812
820
|
error = T.let(nil, T.nilable(StandardError))
|
|
813
821
|
http_response = T.let(nil, T.nilable(Faraday::Response))
|
|
814
822
|
|
|
815
|
-
|
|
823
|
+
|
|
816
824
|
begin
|
|
817
825
|
http_response = T.must(connection).get(url) do |req|
|
|
818
826
|
req.headers.merge!(headers)
|
|
@@ -848,13 +856,13 @@ module Kombo
|
|
|
848
856
|
response: http_response
|
|
849
857
|
)
|
|
850
858
|
end
|
|
851
|
-
|
|
859
|
+
|
|
852
860
|
if http_response.nil?
|
|
853
861
|
raise error if !error.nil?
|
|
854
862
|
raise 'no response'
|
|
855
863
|
end
|
|
856
864
|
end
|
|
857
|
-
|
|
865
|
+
|
|
858
866
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
859
867
|
if Utils.match_status_code(http_response.status, ['200'])
|
|
860
868
|
if Utils.match_content_type(content_type, 'application/json')
|
|
@@ -937,7 +945,7 @@ module Kombo
|
|
|
937
945
|
|
|
938
946
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
939
947
|
timeout ||= @sdk_configuration.timeout
|
|
940
|
-
|
|
948
|
+
|
|
941
949
|
|
|
942
950
|
connection = @sdk_configuration.client
|
|
943
951
|
|
|
@@ -952,7 +960,7 @@ module Kombo
|
|
|
952
960
|
error = T.let(nil, T.nilable(StandardError))
|
|
953
961
|
http_response = T.let(nil, T.nilable(Faraday::Response))
|
|
954
962
|
|
|
955
|
-
|
|
963
|
+
|
|
956
964
|
begin
|
|
957
965
|
http_response = T.must(connection).put(url) do |req|
|
|
958
966
|
req.body = body
|
|
@@ -989,13 +997,13 @@ module Kombo
|
|
|
989
997
|
response: http_response
|
|
990
998
|
)
|
|
991
999
|
end
|
|
992
|
-
|
|
1000
|
+
|
|
993
1001
|
if http_response.nil?
|
|
994
1002
|
raise error if !error.nil?
|
|
995
1003
|
raise 'no response'
|
|
996
1004
|
end
|
|
997
1005
|
end
|
|
998
|
-
|
|
1006
|
+
|
|
999
1007
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
1000
1008
|
if Utils.match_status_code(http_response.status, ['200'])
|
|
1001
1009
|
if Utils.match_content_type(content_type, 'application/json')
|
|
@@ -1086,7 +1094,7 @@ module Kombo
|
|
|
1086
1094
|
|
|
1087
1095
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
1088
1096
|
timeout ||= (300_000.to_f / 1000)
|
|
1089
|
-
|
|
1097
|
+
|
|
1090
1098
|
|
|
1091
1099
|
connection = @sdk_configuration.client
|
|
1092
1100
|
|
|
@@ -1101,7 +1109,7 @@ module Kombo
|
|
|
1101
1109
|
error = T.let(nil, T.nilable(StandardError))
|
|
1102
1110
|
http_response = T.let(nil, T.nilable(Faraday::Response))
|
|
1103
1111
|
|
|
1104
|
-
|
|
1112
|
+
|
|
1105
1113
|
begin
|
|
1106
1114
|
http_response = T.must(connection).post(url) do |req|
|
|
1107
1115
|
req.body = body
|
|
@@ -1138,13 +1146,13 @@ module Kombo
|
|
|
1138
1146
|
response: http_response
|
|
1139
1147
|
)
|
|
1140
1148
|
end
|
|
1141
|
-
|
|
1149
|
+
|
|
1142
1150
|
if http_response.nil?
|
|
1143
1151
|
raise error if !error.nil?
|
|
1144
1152
|
raise 'no response'
|
|
1145
1153
|
end
|
|
1146
1154
|
end
|
|
1147
|
-
|
|
1155
|
+
|
|
1148
1156
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
1149
1157
|
if Utils.match_status_code(http_response.status, ['200'])
|
|
1150
1158
|
if Utils.match_content_type(content_type, 'application/json')
|
|
@@ -1225,7 +1233,7 @@ module Kombo
|
|
|
1225
1233
|
|
|
1226
1234
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
1227
1235
|
timeout ||= (300_000.to_f / 1000)
|
|
1228
|
-
|
|
1236
|
+
|
|
1229
1237
|
|
|
1230
1238
|
connection = @sdk_configuration.client
|
|
1231
1239
|
|
|
@@ -1240,7 +1248,7 @@ module Kombo
|
|
|
1240
1248
|
error = T.let(nil, T.nilable(StandardError))
|
|
1241
1249
|
http_response = T.let(nil, T.nilable(Faraday::Response))
|
|
1242
1250
|
|
|
1243
|
-
|
|
1251
|
+
|
|
1244
1252
|
begin
|
|
1245
1253
|
http_response = T.must(connection).post(url) do |req|
|
|
1246
1254
|
req.body = body
|
|
@@ -1277,13 +1285,13 @@ module Kombo
|
|
|
1277
1285
|
response: http_response
|
|
1278
1286
|
)
|
|
1279
1287
|
end
|
|
1280
|
-
|
|
1288
|
+
|
|
1281
1289
|
if http_response.nil?
|
|
1282
1290
|
raise error if !error.nil?
|
|
1283
1291
|
raise 'no response'
|
|
1284
1292
|
end
|
|
1285
1293
|
end
|
|
1286
|
-
|
|
1294
|
+
|
|
1287
1295
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
1288
1296
|
if Utils.match_status_code(http_response.status, ['200'])
|
|
1289
1297
|
if Utils.match_content_type(content_type, 'application/json')
|
|
@@ -1354,7 +1362,7 @@ module Kombo
|
|
|
1354
1362
|
|
|
1355
1363
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
1356
1364
|
timeout ||= @sdk_configuration.timeout
|
|
1357
|
-
|
|
1365
|
+
|
|
1358
1366
|
|
|
1359
1367
|
connection = @sdk_configuration.client
|
|
1360
1368
|
|
|
@@ -1369,7 +1377,7 @@ module Kombo
|
|
|
1369
1377
|
error = T.let(nil, T.nilable(StandardError))
|
|
1370
1378
|
http_response = T.let(nil, T.nilable(Faraday::Response))
|
|
1371
1379
|
|
|
1372
|
-
|
|
1380
|
+
|
|
1373
1381
|
begin
|
|
1374
1382
|
http_response = T.must(connection).get(url) do |req|
|
|
1375
1383
|
req.headers.merge!(headers)
|
|
@@ -1406,13 +1414,13 @@ module Kombo
|
|
|
1406
1414
|
response: http_response
|
|
1407
1415
|
)
|
|
1408
1416
|
end
|
|
1409
|
-
|
|
1417
|
+
|
|
1410
1418
|
if http_response.nil?
|
|
1411
1419
|
raise error if !error.nil?
|
|
1412
1420
|
raise 'no response'
|
|
1413
1421
|
end
|
|
1414
1422
|
end
|
|
1415
|
-
|
|
1423
|
+
|
|
1416
1424
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
1417
1425
|
if Utils.match_status_code(http_response.status, ['200'])
|
|
1418
1426
|
if Utils.match_content_type(content_type, 'application/json')
|
|
@@ -1513,7 +1521,7 @@ module Kombo
|
|
|
1513
1521
|
|
|
1514
1522
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
1515
1523
|
timeout ||= @sdk_configuration.timeout
|
|
1516
|
-
|
|
1524
|
+
|
|
1517
1525
|
|
|
1518
1526
|
connection = @sdk_configuration.client
|
|
1519
1527
|
|
|
@@ -1528,7 +1536,7 @@ module Kombo
|
|
|
1528
1536
|
error = T.let(nil, T.nilable(StandardError))
|
|
1529
1537
|
http_response = T.let(nil, T.nilable(Faraday::Response))
|
|
1530
1538
|
|
|
1531
|
-
|
|
1539
|
+
|
|
1532
1540
|
begin
|
|
1533
1541
|
http_response = T.must(connection).patch(url) do |req|
|
|
1534
1542
|
req.body = body
|
|
@@ -1565,13 +1573,13 @@ module Kombo
|
|
|
1565
1573
|
response: http_response
|
|
1566
1574
|
)
|
|
1567
1575
|
end
|
|
1568
|
-
|
|
1576
|
+
|
|
1569
1577
|
if http_response.nil?
|
|
1570
1578
|
raise error if !error.nil?
|
|
1571
1579
|
raise 'no response'
|
|
1572
1580
|
end
|
|
1573
1581
|
end
|
|
1574
|
-
|
|
1582
|
+
|
|
1575
1583
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
1576
1584
|
if Utils.match_status_code(http_response.status, ['200'])
|
|
1577
1585
|
if Utils.match_content_type(content_type, 'application/json')
|
|
@@ -1642,7 +1650,7 @@ module Kombo
|
|
|
1642
1650
|
|
|
1643
1651
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
1644
1652
|
timeout ||= @sdk_configuration.timeout
|
|
1645
|
-
|
|
1653
|
+
|
|
1646
1654
|
|
|
1647
1655
|
connection = @sdk_configuration.client
|
|
1648
1656
|
|
|
@@ -1657,7 +1665,7 @@ module Kombo
|
|
|
1657
1665
|
error = T.let(nil, T.nilable(StandardError))
|
|
1658
1666
|
http_response = T.let(nil, T.nilable(Faraday::Response))
|
|
1659
1667
|
|
|
1660
|
-
|
|
1668
|
+
|
|
1661
1669
|
begin
|
|
1662
1670
|
http_response = T.must(connection).get(url) do |req|
|
|
1663
1671
|
req.headers.merge!(headers)
|
|
@@ -1694,13 +1702,13 @@ module Kombo
|
|
|
1694
1702
|
response: http_response
|
|
1695
1703
|
)
|
|
1696
1704
|
end
|
|
1697
|
-
|
|
1705
|
+
|
|
1698
1706
|
if http_response.nil?
|
|
1699
1707
|
raise error if !error.nil?
|
|
1700
1708
|
raise 'no response'
|
|
1701
1709
|
end
|
|
1702
1710
|
end
|
|
1703
|
-
|
|
1711
|
+
|
|
1704
1712
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
1705
1713
|
if Utils.match_status_code(http_response.status, ['200'])
|
|
1706
1714
|
if Utils.match_content_type(content_type, 'application/json')
|
|
@@ -1801,7 +1809,7 @@ module Kombo
|
|
|
1801
1809
|
|
|
1802
1810
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
1803
1811
|
timeout ||= @sdk_configuration.timeout
|
|
1804
|
-
|
|
1812
|
+
|
|
1805
1813
|
|
|
1806
1814
|
connection = @sdk_configuration.client
|
|
1807
1815
|
|
|
@@ -1816,7 +1824,7 @@ module Kombo
|
|
|
1816
1824
|
error = T.let(nil, T.nilable(StandardError))
|
|
1817
1825
|
http_response = T.let(nil, T.nilable(Faraday::Response))
|
|
1818
1826
|
|
|
1819
|
-
|
|
1827
|
+
|
|
1820
1828
|
begin
|
|
1821
1829
|
http_response = T.must(connection).put(url) do |req|
|
|
1822
1830
|
req.body = body
|
|
@@ -1853,13 +1861,13 @@ module Kombo
|
|
|
1853
1861
|
response: http_response
|
|
1854
1862
|
)
|
|
1855
1863
|
end
|
|
1856
|
-
|
|
1864
|
+
|
|
1857
1865
|
if http_response.nil?
|
|
1858
1866
|
raise error if !error.nil?
|
|
1859
1867
|
raise 'no response'
|
|
1860
1868
|
end
|
|
1861
1869
|
end
|
|
1862
|
-
|
|
1870
|
+
|
|
1863
1871
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
1864
1872
|
if Utils.match_status_code(http_response.status, ['200'])
|
|
1865
1873
|
if Utils.match_content_type(content_type, 'application/json')
|
|
@@ -1927,7 +1935,7 @@ module Kombo
|
|
|
1927
1935
|
|
|
1928
1936
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
1929
1937
|
timeout ||= @sdk_configuration.timeout
|
|
1930
|
-
|
|
1938
|
+
|
|
1931
1939
|
|
|
1932
1940
|
connection = @sdk_configuration.client
|
|
1933
1941
|
|
|
@@ -1942,7 +1950,7 @@ module Kombo
|
|
|
1942
1950
|
error = T.let(nil, T.nilable(StandardError))
|
|
1943
1951
|
http_response = T.let(nil, T.nilable(Faraday::Response))
|
|
1944
1952
|
|
|
1945
|
-
|
|
1953
|
+
|
|
1946
1954
|
begin
|
|
1947
1955
|
http_response = T.must(connection).get(url) do |req|
|
|
1948
1956
|
req.headers.merge!(headers)
|
|
@@ -1978,13 +1986,13 @@ module Kombo
|
|
|
1978
1986
|
response: http_response
|
|
1979
1987
|
)
|
|
1980
1988
|
end
|
|
1981
|
-
|
|
1989
|
+
|
|
1982
1990
|
if http_response.nil?
|
|
1983
1991
|
raise error if !error.nil?
|
|
1984
1992
|
raise 'no response'
|
|
1985
1993
|
end
|
|
1986
1994
|
end
|
|
1987
|
-
|
|
1995
|
+
|
|
1988
1996
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
1989
1997
|
if Utils.match_status_code(http_response.status, ['200'])
|
|
1990
1998
|
if Utils.match_content_type(content_type, 'application/json')
|