dub 0.12.8 → 0.12.10
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/open_api_sdk/analytics.rb +4 -4
- data/lib/open_api_sdk/bounties.rb +12 -12
- data/lib/open_api_sdk/commissions.rb +16 -16
- data/lib/open_api_sdk/customers.rb +16 -16
- data/lib/open_api_sdk/domains.rb +24 -24
- data/lib/open_api_sdk/embed_tokens.rb +4 -4
- data/lib/open_api_sdk/events.rb +4 -4
- data/lib/open_api_sdk/folders.rb +16 -16
- data/lib/open_api_sdk/links.rb +40 -40
- data/lib/open_api_sdk/models/operations/accesslevel.rb +1 -1
- data/lib/open_api_sdk/models/operations/checkdomainstatus_responsebody.rb +12 -6
- data/lib/open_api_sdk/models/operations/checkdomainstatus_responsebody.rbi +4 -2
- data/lib/open_api_sdk/models/operations/createfolder_requestbody.rb +2 -2
- data/lib/open_api_sdk/models/operations/createlink_requestbody.rb +8 -6
- data/lib/open_api_sdk/models/operations/createlink_requestbody.rbi +2 -2
- data/lib/open_api_sdk/models/operations/createpartner_defaultpayoutmethod.rb +1 -0
- data/lib/open_api_sdk/models/operations/data.rb +8 -6
- data/lib/open_api_sdk/models/operations/data.rbi +2 -2
- data/lib/open_api_sdk/models/operations/defaultpayoutmethod.rb +1 -0
- data/lib/open_api_sdk/models/operations/listevents_responsebody_click.rb +6 -2
- data/lib/open_api_sdk/models/operations/listevents_responsebody_click.rbi +2 -0
- data/lib/open_api_sdk/models/operations/listevents_responsebody_events_click.rb +6 -2
- data/lib/open_api_sdk/models/operations/listevents_responsebody_events_click.rbi +2 -0
- data/lib/open_api_sdk/models/operations/listevents_responsebody_events_link.rb +8 -6
- data/lib/open_api_sdk/models/operations/listevents_responsebody_events_link.rbi +2 -2
- data/lib/open_api_sdk/models/operations/listevents_responsebody_link.rb +8 -6
- data/lib/open_api_sdk/models/operations/listevents_responsebody_link.rbi +2 -2
- data/lib/open_api_sdk/models/operations/listpayouts_defaultpayoutmethod.rb +1 -0
- data/lib/open_api_sdk/models/operations/listpayouts_request.rb +6 -2
- data/lib/open_api_sdk/models/operations/listpayouts_request.rbi +2 -0
- data/lib/open_api_sdk/models/operations/method.rb +1 -0
- data/lib/open_api_sdk/models/operations/prices.rb +36 -0
- data/lib/open_api_sdk/models/operations/prices.rbi +15 -0
- data/lib/open_api_sdk/models/operations/requestbody.rb +8 -6
- data/lib/open_api_sdk/models/operations/requestbody.rbi +2 -2
- data/lib/open_api_sdk/models/operations/responsebody_click.rb +6 -2
- data/lib/open_api_sdk/models/operations/responsebody_click.rbi +2 -0
- data/lib/open_api_sdk/models/operations/responsebody_link.rb +8 -6
- data/lib/open_api_sdk/models/operations/responsebody_link.rbi +2 -2
- data/lib/open_api_sdk/models/operations/tracklead_requestbody.rb +2 -2
- data/lib/open_api_sdk/models/operations/updatelink_requestbody.rb +8 -6
- data/lib/open_api_sdk/models/operations/updatelink_requestbody.rbi +2 -2
- data/lib/open_api_sdk/models/operations/upsertlink_requestbody.rb +8 -6
- data/lib/open_api_sdk/models/operations/upsertlink_requestbody.rbi +2 -2
- data/lib/open_api_sdk/models/operations.rb +1 -0
- data/lib/open_api_sdk/models/shared/accesslevel.rb +1 -1
- data/lib/open_api_sdk/models/shared/click.rb +6 -2
- data/lib/open_api_sdk/models/shared/click.rbi +2 -0
- data/lib/open_api_sdk/models/shared/data.rb +8 -6
- data/lib/open_api_sdk/models/shared/data.rbi +2 -2
- data/lib/open_api_sdk/models/shared/defaultpayoutmethod.rb +1 -0
- data/lib/open_api_sdk/models/shared/folderschema.rb +2 -2
- data/lib/open_api_sdk/models/shared/leadcreatedevent_click.rb +6 -2
- data/lib/open_api_sdk/models/shared/leadcreatedevent_click.rbi +2 -0
- data/lib/open_api_sdk/models/shared/leadcreatedevent_link.rb +8 -6
- data/lib/open_api_sdk/models/shared/leadcreatedevent_link.rbi +2 -2
- data/lib/open_api_sdk/models/shared/link.rb +8 -6
- data/lib/open_api_sdk/models/shared/link.rbi +2 -2
- data/lib/open_api_sdk/models/shared/linkschema.rb +8 -6
- data/lib/open_api_sdk/models/shared/linkschema.rbi +2 -2
- data/lib/open_api_sdk/models/shared/salecreatedevent_click.rb +6 -2
- data/lib/open_api_sdk/models/shared/salecreatedevent_click.rbi +2 -0
- data/lib/open_api_sdk/models/shared/salecreatedevent_link.rb +8 -6
- data/lib/open_api_sdk/models/shared/salecreatedevent_link.rbi +2 -2
- data/lib/open_api_sdk/partner_applications.rb +12 -12
- data/lib/open_api_sdk/partners.rb +32 -32
- data/lib/open_api_sdk/payouts.rb +4 -4
- data/lib/open_api_sdk/qr_codes.rb +4 -4
- data/lib/open_api_sdk/sdkconfiguration.rb +3 -3
- data/lib/open_api_sdk/tags.rb +16 -16
- data/lib/open_api_sdk/track.rb +8 -8
- data/lib/open_api_sdk/utils/retries.rb +4 -1
- metadata +6 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b801a270174549596ce49021b3a58402b43e0cd0cf19600781b9247df18d5b6b
|
|
4
|
+
data.tar.gz: 7dd3f2c4c9b6b78b5f81c9fa538bd9c513f5ebc137a4b7e04086fe6d5b3852ab
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7b55ef34df4302ca21e20f1f92602d53cb895c4197b3deaa0c9eb5acd9e769bc46d2b4159c33a2fe6f0a6edba50da46c03934abd3d2610dadd757b57ad66987a
|
|
7
|
+
data.tar.gz: c48f8bd5032c886091555193394922658d4ef5677b86a126132a2d287ff576868836892d9d9da47c12d5732e2085af888d9065e22fbec0fde81285efe1ca0ae4
|
|
@@ -58,7 +58,7 @@ module OpenApiSDK
|
|
|
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 OpenApiSDK
|
|
|
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)
|
|
@@ -110,13 +110,13 @@ module OpenApiSDK
|
|
|
110
110
|
response: http_response
|
|
111
111
|
)
|
|
112
112
|
end
|
|
113
|
-
|
|
113
|
+
|
|
114
114
|
if http_response.nil?
|
|
115
115
|
raise error if !error.nil?
|
|
116
116
|
raise 'no response'
|
|
117
117
|
end
|
|
118
118
|
end
|
|
119
|
-
|
|
119
|
+
|
|
120
120
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
121
121
|
if Utils.match_status_code(http_response.status, ['200'])
|
|
122
122
|
if Utils.match_content_type(content_type, 'application/json')
|
|
@@ -63,7 +63,7 @@ module OpenApiSDK
|
|
|
63
63
|
|
|
64
64
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
65
65
|
timeout ||= @sdk_configuration.timeout
|
|
66
|
-
|
|
66
|
+
|
|
67
67
|
|
|
68
68
|
connection = @sdk_configuration.client
|
|
69
69
|
|
|
@@ -78,7 +78,7 @@ module OpenApiSDK
|
|
|
78
78
|
error = T.let(nil, T.nilable(StandardError))
|
|
79
79
|
http_response = T.let(nil, T.nilable(Faraday::Response))
|
|
80
80
|
|
|
81
|
-
|
|
81
|
+
|
|
82
82
|
begin
|
|
83
83
|
http_response = T.must(connection).get(url) do |req|
|
|
84
84
|
req.headers.merge!(headers)
|
|
@@ -115,13 +115,13 @@ module OpenApiSDK
|
|
|
115
115
|
response: http_response
|
|
116
116
|
)
|
|
117
117
|
end
|
|
118
|
-
|
|
118
|
+
|
|
119
119
|
if http_response.nil?
|
|
120
120
|
raise error if !error.nil?
|
|
121
121
|
raise 'no response'
|
|
122
122
|
end
|
|
123
123
|
end
|
|
124
|
-
|
|
124
|
+
|
|
125
125
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
126
126
|
if Utils.match_status_code(http_response.status, ['200'])
|
|
127
127
|
if Utils.match_content_type(content_type, 'application/json')
|
|
@@ -306,7 +306,7 @@ module OpenApiSDK
|
|
|
306
306
|
|
|
307
307
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
308
308
|
timeout ||= @sdk_configuration.timeout
|
|
309
|
-
|
|
309
|
+
|
|
310
310
|
|
|
311
311
|
connection = @sdk_configuration.client
|
|
312
312
|
|
|
@@ -321,7 +321,7 @@ module OpenApiSDK
|
|
|
321
321
|
error = T.let(nil, T.nilable(StandardError))
|
|
322
322
|
http_response = T.let(nil, T.nilable(Faraday::Response))
|
|
323
323
|
|
|
324
|
-
|
|
324
|
+
|
|
325
325
|
begin
|
|
326
326
|
http_response = T.must(connection).post(url) do |req|
|
|
327
327
|
req.body = body
|
|
@@ -358,13 +358,13 @@ module OpenApiSDK
|
|
|
358
358
|
response: http_response
|
|
359
359
|
)
|
|
360
360
|
end
|
|
361
|
-
|
|
361
|
+
|
|
362
362
|
if http_response.nil?
|
|
363
363
|
raise error if !error.nil?
|
|
364
364
|
raise 'no response'
|
|
365
365
|
end
|
|
366
366
|
end
|
|
367
|
-
|
|
367
|
+
|
|
368
368
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
369
369
|
if Utils.match_status_code(http_response.status, ['200'])
|
|
370
370
|
if Utils.match_content_type(content_type, 'application/json')
|
|
@@ -549,7 +549,7 @@ module OpenApiSDK
|
|
|
549
549
|
|
|
550
550
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
551
551
|
timeout ||= @sdk_configuration.timeout
|
|
552
|
-
|
|
552
|
+
|
|
553
553
|
|
|
554
554
|
connection = @sdk_configuration.client
|
|
555
555
|
|
|
@@ -564,7 +564,7 @@ module OpenApiSDK
|
|
|
564
564
|
error = T.let(nil, T.nilable(StandardError))
|
|
565
565
|
http_response = T.let(nil, T.nilable(Faraday::Response))
|
|
566
566
|
|
|
567
|
-
|
|
567
|
+
|
|
568
568
|
begin
|
|
569
569
|
http_response = T.must(connection).post(url) do |req|
|
|
570
570
|
req.body = body
|
|
@@ -601,13 +601,13 @@ module OpenApiSDK
|
|
|
601
601
|
response: http_response
|
|
602
602
|
)
|
|
603
603
|
end
|
|
604
|
-
|
|
604
|
+
|
|
605
605
|
if http_response.nil?
|
|
606
606
|
raise error if !error.nil?
|
|
607
607
|
raise 'no response'
|
|
608
608
|
end
|
|
609
609
|
end
|
|
610
|
-
|
|
610
|
+
|
|
611
611
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
612
612
|
if Utils.match_status_code(http_response.status, ['200'])
|
|
613
613
|
if Utils.match_content_type(content_type, 'application/json')
|
|
@@ -59,7 +59,7 @@ module OpenApiSDK
|
|
|
59
59
|
|
|
60
60
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
61
61
|
timeout ||= @sdk_configuration.timeout
|
|
62
|
-
|
|
62
|
+
|
|
63
63
|
|
|
64
64
|
connection = @sdk_configuration.client
|
|
65
65
|
|
|
@@ -74,7 +74,7 @@ module OpenApiSDK
|
|
|
74
74
|
error = T.let(nil, T.nilable(StandardError))
|
|
75
75
|
http_response = T.let(nil, T.nilable(Faraday::Response))
|
|
76
76
|
|
|
77
|
-
|
|
77
|
+
|
|
78
78
|
begin
|
|
79
79
|
http_response = T.must(connection).get(url) do |req|
|
|
80
80
|
req.headers.merge!(headers)
|
|
@@ -111,13 +111,13 @@ module OpenApiSDK
|
|
|
111
111
|
response: http_response
|
|
112
112
|
)
|
|
113
113
|
end
|
|
114
|
-
|
|
114
|
+
|
|
115
115
|
if http_response.nil?
|
|
116
116
|
raise error if !error.nil?
|
|
117
117
|
raise 'no response'
|
|
118
118
|
end
|
|
119
119
|
end
|
|
120
|
-
|
|
120
|
+
|
|
121
121
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
122
122
|
if Utils.match_status_code(http_response.status, ['200'])
|
|
123
123
|
if Utils.match_content_type(content_type, 'application/json')
|
|
@@ -340,7 +340,7 @@ module OpenApiSDK
|
|
|
340
340
|
|
|
341
341
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
342
342
|
timeout ||= @sdk_configuration.timeout
|
|
343
|
-
|
|
343
|
+
|
|
344
344
|
|
|
345
345
|
connection = @sdk_configuration.client
|
|
346
346
|
|
|
@@ -355,7 +355,7 @@ module OpenApiSDK
|
|
|
355
355
|
error = T.let(nil, T.nilable(StandardError))
|
|
356
356
|
http_response = T.let(nil, T.nilable(Faraday::Response))
|
|
357
357
|
|
|
358
|
-
|
|
358
|
+
|
|
359
359
|
begin
|
|
360
360
|
http_response = T.must(connection).post(url) do |req|
|
|
361
361
|
req.body = body
|
|
@@ -392,13 +392,13 @@ module OpenApiSDK
|
|
|
392
392
|
response: http_response
|
|
393
393
|
)
|
|
394
394
|
end
|
|
395
|
-
|
|
395
|
+
|
|
396
396
|
if http_response.nil?
|
|
397
397
|
raise error if !error.nil?
|
|
398
398
|
raise 'no response'
|
|
399
399
|
end
|
|
400
400
|
end
|
|
401
|
-
|
|
401
|
+
|
|
402
402
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
403
403
|
if Utils.match_status_code(http_response.status, ['202'])
|
|
404
404
|
if Utils.match_content_type(content_type, 'application/json')
|
|
@@ -583,7 +583,7 @@ module OpenApiSDK
|
|
|
583
583
|
|
|
584
584
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
585
585
|
timeout ||= @sdk_configuration.timeout
|
|
586
|
-
|
|
586
|
+
|
|
587
587
|
|
|
588
588
|
connection = @sdk_configuration.client
|
|
589
589
|
|
|
@@ -598,7 +598,7 @@ module OpenApiSDK
|
|
|
598
598
|
error = T.let(nil, T.nilable(StandardError))
|
|
599
599
|
http_response = T.let(nil, T.nilable(Faraday::Response))
|
|
600
600
|
|
|
601
|
-
|
|
601
|
+
|
|
602
602
|
begin
|
|
603
603
|
http_response = T.must(connection).patch(url) do |req|
|
|
604
604
|
req.body = body
|
|
@@ -635,13 +635,13 @@ module OpenApiSDK
|
|
|
635
635
|
response: http_response
|
|
636
636
|
)
|
|
637
637
|
end
|
|
638
|
-
|
|
638
|
+
|
|
639
639
|
if http_response.nil?
|
|
640
640
|
raise error if !error.nil?
|
|
641
641
|
raise 'no response'
|
|
642
642
|
end
|
|
643
643
|
end
|
|
644
|
-
|
|
644
|
+
|
|
645
645
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
646
646
|
if Utils.match_status_code(http_response.status, ['200'])
|
|
647
647
|
if Utils.match_content_type(content_type, 'application/json')
|
|
@@ -821,7 +821,7 @@ module OpenApiSDK
|
|
|
821
821
|
|
|
822
822
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
823
823
|
timeout ||= @sdk_configuration.timeout
|
|
824
|
-
|
|
824
|
+
|
|
825
825
|
|
|
826
826
|
connection = @sdk_configuration.client
|
|
827
827
|
|
|
@@ -836,7 +836,7 @@ module OpenApiSDK
|
|
|
836
836
|
error = T.let(nil, T.nilable(StandardError))
|
|
837
837
|
http_response = T.let(nil, T.nilable(Faraday::Response))
|
|
838
838
|
|
|
839
|
-
|
|
839
|
+
|
|
840
840
|
begin
|
|
841
841
|
http_response = T.must(connection).patch(url) do |req|
|
|
842
842
|
req.body = body
|
|
@@ -873,13 +873,13 @@ module OpenApiSDK
|
|
|
873
873
|
response: http_response
|
|
874
874
|
)
|
|
875
875
|
end
|
|
876
|
-
|
|
876
|
+
|
|
877
877
|
if http_response.nil?
|
|
878
878
|
raise error if !error.nil?
|
|
879
879
|
raise 'no response'
|
|
880
880
|
end
|
|
881
881
|
end
|
|
882
|
-
|
|
882
|
+
|
|
883
883
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
884
884
|
if Utils.match_status_code(http_response.status, ['200'])
|
|
885
885
|
if Utils.match_content_type(content_type, 'application/json')
|
|
@@ -59,7 +59,7 @@ module OpenApiSDK
|
|
|
59
59
|
|
|
60
60
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
61
61
|
timeout ||= @sdk_configuration.timeout
|
|
62
|
-
|
|
62
|
+
|
|
63
63
|
|
|
64
64
|
connection = @sdk_configuration.client
|
|
65
65
|
|
|
@@ -74,7 +74,7 @@ module OpenApiSDK
|
|
|
74
74
|
error = T.let(nil, T.nilable(StandardError))
|
|
75
75
|
http_response = T.let(nil, T.nilable(Faraday::Response))
|
|
76
76
|
|
|
77
|
-
|
|
77
|
+
|
|
78
78
|
begin
|
|
79
79
|
http_response = T.must(connection).get(url) do |req|
|
|
80
80
|
req.headers.merge!(headers)
|
|
@@ -111,13 +111,13 @@ module OpenApiSDK
|
|
|
111
111
|
response: http_response
|
|
112
112
|
)
|
|
113
113
|
end
|
|
114
|
-
|
|
114
|
+
|
|
115
115
|
if http_response.nil?
|
|
116
116
|
raise error if !error.nil?
|
|
117
117
|
raise 'no response'
|
|
118
118
|
end
|
|
119
119
|
end
|
|
120
|
-
|
|
120
|
+
|
|
121
121
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
122
122
|
if Utils.match_status_code(http_response.status, ['200'])
|
|
123
123
|
if Utils.match_content_type(content_type, 'application/json')
|
|
@@ -331,7 +331,7 @@ module OpenApiSDK
|
|
|
331
331
|
|
|
332
332
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
333
333
|
timeout ||= @sdk_configuration.timeout
|
|
334
|
-
|
|
334
|
+
|
|
335
335
|
|
|
336
336
|
connection = @sdk_configuration.client
|
|
337
337
|
|
|
@@ -346,7 +346,7 @@ module OpenApiSDK
|
|
|
346
346
|
error = T.let(nil, T.nilable(StandardError))
|
|
347
347
|
http_response = T.let(nil, T.nilable(Faraday::Response))
|
|
348
348
|
|
|
349
|
-
|
|
349
|
+
|
|
350
350
|
begin
|
|
351
351
|
http_response = T.must(connection).get(url) do |req|
|
|
352
352
|
req.headers.merge!(headers)
|
|
@@ -383,13 +383,13 @@ module OpenApiSDK
|
|
|
383
383
|
response: http_response
|
|
384
384
|
)
|
|
385
385
|
end
|
|
386
|
-
|
|
386
|
+
|
|
387
387
|
if http_response.nil?
|
|
388
388
|
raise error if !error.nil?
|
|
389
389
|
raise 'no response'
|
|
390
390
|
end
|
|
391
391
|
end
|
|
392
|
-
|
|
392
|
+
|
|
393
393
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
394
394
|
if Utils.match_status_code(http_response.status, ['200'])
|
|
395
395
|
if Utils.match_content_type(content_type, 'application/json')
|
|
@@ -567,7 +567,7 @@ module OpenApiSDK
|
|
|
567
567
|
|
|
568
568
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
569
569
|
timeout ||= @sdk_configuration.timeout
|
|
570
|
-
|
|
570
|
+
|
|
571
571
|
|
|
572
572
|
connection = @sdk_configuration.client
|
|
573
573
|
|
|
@@ -582,7 +582,7 @@ module OpenApiSDK
|
|
|
582
582
|
error = T.let(nil, T.nilable(StandardError))
|
|
583
583
|
http_response = T.let(nil, T.nilable(Faraday::Response))
|
|
584
584
|
|
|
585
|
-
|
|
585
|
+
|
|
586
586
|
begin
|
|
587
587
|
http_response = T.must(connection).delete(url) do |req|
|
|
588
588
|
req.headers.merge!(headers)
|
|
@@ -618,13 +618,13 @@ module OpenApiSDK
|
|
|
618
618
|
response: http_response
|
|
619
619
|
)
|
|
620
620
|
end
|
|
621
|
-
|
|
621
|
+
|
|
622
622
|
if http_response.nil?
|
|
623
623
|
raise error if !error.nil?
|
|
624
624
|
raise 'no response'
|
|
625
625
|
end
|
|
626
626
|
end
|
|
627
|
-
|
|
627
|
+
|
|
628
628
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
629
629
|
if Utils.match_status_code(http_response.status, ['200'])
|
|
630
630
|
if Utils.match_content_type(content_type, 'application/json')
|
|
@@ -810,7 +810,7 @@ module OpenApiSDK
|
|
|
810
810
|
|
|
811
811
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
812
812
|
timeout ||= @sdk_configuration.timeout
|
|
813
|
-
|
|
813
|
+
|
|
814
814
|
|
|
815
815
|
connection = @sdk_configuration.client
|
|
816
816
|
|
|
@@ -825,7 +825,7 @@ module OpenApiSDK
|
|
|
825
825
|
error = T.let(nil, T.nilable(StandardError))
|
|
826
826
|
http_response = T.let(nil, T.nilable(Faraday::Response))
|
|
827
827
|
|
|
828
|
-
|
|
828
|
+
|
|
829
829
|
begin
|
|
830
830
|
http_response = T.must(connection).patch(url) do |req|
|
|
831
831
|
req.body = body
|
|
@@ -863,13 +863,13 @@ module OpenApiSDK
|
|
|
863
863
|
response: http_response
|
|
864
864
|
)
|
|
865
865
|
end
|
|
866
|
-
|
|
866
|
+
|
|
867
867
|
if http_response.nil?
|
|
868
868
|
raise error if !error.nil?
|
|
869
869
|
raise 'no response'
|
|
870
870
|
end
|
|
871
871
|
end
|
|
872
|
-
|
|
872
|
+
|
|
873
873
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
874
874
|
if Utils.match_status_code(http_response.status, ['200'])
|
|
875
875
|
if Utils.match_content_type(content_type, 'application/json')
|
data/lib/open_api_sdk/domains.rb
CHANGED
|
@@ -59,7 +59,7 @@ module OpenApiSDK
|
|
|
59
59
|
|
|
60
60
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
61
61
|
timeout ||= @sdk_configuration.timeout
|
|
62
|
-
|
|
62
|
+
|
|
63
63
|
|
|
64
64
|
connection = @sdk_configuration.client
|
|
65
65
|
|
|
@@ -74,7 +74,7 @@ module OpenApiSDK
|
|
|
74
74
|
error = T.let(nil, T.nilable(StandardError))
|
|
75
75
|
http_response = T.let(nil, T.nilable(Faraday::Response))
|
|
76
76
|
|
|
77
|
-
|
|
77
|
+
|
|
78
78
|
begin
|
|
79
79
|
http_response = T.must(connection).get(url) do |req|
|
|
80
80
|
req.headers.merge!(headers)
|
|
@@ -111,13 +111,13 @@ module OpenApiSDK
|
|
|
111
111
|
response: http_response
|
|
112
112
|
)
|
|
113
113
|
end
|
|
114
|
-
|
|
114
|
+
|
|
115
115
|
if http_response.nil?
|
|
116
116
|
raise error if !error.nil?
|
|
117
117
|
raise 'no response'
|
|
118
118
|
end
|
|
119
119
|
end
|
|
120
|
-
|
|
120
|
+
|
|
121
121
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
122
122
|
if Utils.match_status_code(http_response.status, ['200'])
|
|
123
123
|
if Utils.match_content_type(content_type, 'application/json')
|
|
@@ -332,7 +332,7 @@ module OpenApiSDK
|
|
|
332
332
|
|
|
333
333
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
334
334
|
timeout ||= @sdk_configuration.timeout
|
|
335
|
-
|
|
335
|
+
|
|
336
336
|
|
|
337
337
|
connection = @sdk_configuration.client
|
|
338
338
|
|
|
@@ -347,7 +347,7 @@ module OpenApiSDK
|
|
|
347
347
|
error = T.let(nil, T.nilable(StandardError))
|
|
348
348
|
http_response = T.let(nil, T.nilable(Faraday::Response))
|
|
349
349
|
|
|
350
|
-
|
|
350
|
+
|
|
351
351
|
begin
|
|
352
352
|
http_response = T.must(connection).post(url) do |req|
|
|
353
353
|
req.body = body
|
|
@@ -384,13 +384,13 @@ module OpenApiSDK
|
|
|
384
384
|
response: http_response
|
|
385
385
|
)
|
|
386
386
|
end
|
|
387
|
-
|
|
387
|
+
|
|
388
388
|
if http_response.nil?
|
|
389
389
|
raise error if !error.nil?
|
|
390
390
|
raise 'no response'
|
|
391
391
|
end
|
|
392
392
|
end
|
|
393
|
-
|
|
393
|
+
|
|
394
394
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
395
395
|
if Utils.match_status_code(http_response.status, ['201'])
|
|
396
396
|
if Utils.match_content_type(content_type, 'application/json')
|
|
@@ -568,7 +568,7 @@ module OpenApiSDK
|
|
|
568
568
|
|
|
569
569
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
570
570
|
timeout ||= @sdk_configuration.timeout
|
|
571
|
-
|
|
571
|
+
|
|
572
572
|
|
|
573
573
|
connection = @sdk_configuration.client
|
|
574
574
|
|
|
@@ -583,7 +583,7 @@ module OpenApiSDK
|
|
|
583
583
|
error = T.let(nil, T.nilable(StandardError))
|
|
584
584
|
http_response = T.let(nil, T.nilable(Faraday::Response))
|
|
585
585
|
|
|
586
|
-
|
|
586
|
+
|
|
587
587
|
begin
|
|
588
588
|
http_response = T.must(connection).delete(url) do |req|
|
|
589
589
|
req.headers.merge!(headers)
|
|
@@ -619,13 +619,13 @@ module OpenApiSDK
|
|
|
619
619
|
response: http_response
|
|
620
620
|
)
|
|
621
621
|
end
|
|
622
|
-
|
|
622
|
+
|
|
623
623
|
if http_response.nil?
|
|
624
624
|
raise error if !error.nil?
|
|
625
625
|
raise 'no response'
|
|
626
626
|
end
|
|
627
627
|
end
|
|
628
|
-
|
|
628
|
+
|
|
629
629
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
630
630
|
if Utils.match_status_code(http_response.status, ['200'])
|
|
631
631
|
if Utils.match_content_type(content_type, 'application/json')
|
|
@@ -814,7 +814,7 @@ module OpenApiSDK
|
|
|
814
814
|
|
|
815
815
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
816
816
|
timeout ||= @sdk_configuration.timeout
|
|
817
|
-
|
|
817
|
+
|
|
818
818
|
|
|
819
819
|
connection = @sdk_configuration.client
|
|
820
820
|
|
|
@@ -829,7 +829,7 @@ module OpenApiSDK
|
|
|
829
829
|
error = T.let(nil, T.nilable(StandardError))
|
|
830
830
|
http_response = T.let(nil, T.nilable(Faraday::Response))
|
|
831
831
|
|
|
832
|
-
|
|
832
|
+
|
|
833
833
|
begin
|
|
834
834
|
http_response = T.must(connection).patch(url) do |req|
|
|
835
835
|
req.body = body
|
|
@@ -866,13 +866,13 @@ module OpenApiSDK
|
|
|
866
866
|
response: http_response
|
|
867
867
|
)
|
|
868
868
|
end
|
|
869
|
-
|
|
869
|
+
|
|
870
870
|
if http_response.nil?
|
|
871
871
|
raise error if !error.nil?
|
|
872
872
|
raise 'no response'
|
|
873
873
|
end
|
|
874
874
|
end
|
|
875
|
-
|
|
875
|
+
|
|
876
876
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
877
877
|
if Utils.match_status_code(http_response.status, ['200'])
|
|
878
878
|
if Utils.match_content_type(content_type, 'application/json')
|
|
@@ -1052,7 +1052,7 @@ module OpenApiSDK
|
|
|
1052
1052
|
|
|
1053
1053
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
1054
1054
|
timeout ||= @sdk_configuration.timeout
|
|
1055
|
-
|
|
1055
|
+
|
|
1056
1056
|
|
|
1057
1057
|
connection = @sdk_configuration.client
|
|
1058
1058
|
|
|
@@ -1067,7 +1067,7 @@ module OpenApiSDK
|
|
|
1067
1067
|
error = T.let(nil, T.nilable(StandardError))
|
|
1068
1068
|
http_response = T.let(nil, T.nilable(Faraday::Response))
|
|
1069
1069
|
|
|
1070
|
-
|
|
1070
|
+
|
|
1071
1071
|
begin
|
|
1072
1072
|
http_response = T.must(connection).post(url) do |req|
|
|
1073
1073
|
req.body = body
|
|
@@ -1104,13 +1104,13 @@ module OpenApiSDK
|
|
|
1104
1104
|
response: http_response
|
|
1105
1105
|
)
|
|
1106
1106
|
end
|
|
1107
|
-
|
|
1107
|
+
|
|
1108
1108
|
if http_response.nil?
|
|
1109
1109
|
raise error if !error.nil?
|
|
1110
1110
|
raise 'no response'
|
|
1111
1111
|
end
|
|
1112
1112
|
end
|
|
1113
|
-
|
|
1113
|
+
|
|
1114
1114
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
1115
1115
|
if Utils.match_status_code(http_response.status, ['201'])
|
|
1116
1116
|
if Utils.match_content_type(content_type, 'application/json')
|
|
@@ -1281,7 +1281,7 @@ module OpenApiSDK
|
|
|
1281
1281
|
|
|
1282
1282
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
1283
1283
|
timeout ||= @sdk_configuration.timeout
|
|
1284
|
-
|
|
1284
|
+
|
|
1285
1285
|
|
|
1286
1286
|
connection = @sdk_configuration.client
|
|
1287
1287
|
|
|
@@ -1296,7 +1296,7 @@ module OpenApiSDK
|
|
|
1296
1296
|
error = T.let(nil, T.nilable(StandardError))
|
|
1297
1297
|
http_response = T.let(nil, T.nilable(Faraday::Response))
|
|
1298
1298
|
|
|
1299
|
-
|
|
1299
|
+
|
|
1300
1300
|
begin
|
|
1301
1301
|
http_response = T.must(connection).get(url) do |req|
|
|
1302
1302
|
req.headers.merge!(headers)
|
|
@@ -1333,13 +1333,13 @@ module OpenApiSDK
|
|
|
1333
1333
|
response: http_response
|
|
1334
1334
|
)
|
|
1335
1335
|
end
|
|
1336
|
-
|
|
1336
|
+
|
|
1337
1337
|
if http_response.nil?
|
|
1338
1338
|
raise error if !error.nil?
|
|
1339
1339
|
raise 'no response'
|
|
1340
1340
|
end
|
|
1341
1341
|
end
|
|
1342
|
-
|
|
1342
|
+
|
|
1343
1343
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
1344
1344
|
if Utils.match_status_code(http_response.status, ['200'])
|
|
1345
1345
|
if Utils.match_content_type(content_type, 'application/json')
|
|
@@ -67,7 +67,7 @@ module OpenApiSDK
|
|
|
67
67
|
|
|
68
68
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
69
69
|
timeout ||= @sdk_configuration.timeout
|
|
70
|
-
|
|
70
|
+
|
|
71
71
|
|
|
72
72
|
connection = @sdk_configuration.client
|
|
73
73
|
|
|
@@ -82,7 +82,7 @@ module OpenApiSDK
|
|
|
82
82
|
error = T.let(nil, T.nilable(StandardError))
|
|
83
83
|
http_response = T.let(nil, T.nilable(Faraday::Response))
|
|
84
84
|
|
|
85
|
-
|
|
85
|
+
|
|
86
86
|
begin
|
|
87
87
|
http_response = T.must(connection).post(url) do |req|
|
|
88
88
|
req.body = body
|
|
@@ -119,13 +119,13 @@ module OpenApiSDK
|
|
|
119
119
|
response: http_response
|
|
120
120
|
)
|
|
121
121
|
end
|
|
122
|
-
|
|
122
|
+
|
|
123
123
|
if http_response.nil?
|
|
124
124
|
raise error if !error.nil?
|
|
125
125
|
raise 'no response'
|
|
126
126
|
end
|
|
127
127
|
end
|
|
128
|
-
|
|
128
|
+
|
|
129
129
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
130
130
|
if Utils.match_status_code(http_response.status, ['201'])
|
|
131
131
|
if Utils.match_content_type(content_type, 'application/json')
|
data/lib/open_api_sdk/events.rb
CHANGED
|
@@ -58,7 +58,7 @@ module OpenApiSDK
|
|
|
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 OpenApiSDK
|
|
|
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)
|
|
@@ -110,13 +110,13 @@ module OpenApiSDK
|
|
|
110
110
|
response: http_response
|
|
111
111
|
)
|
|
112
112
|
end
|
|
113
|
-
|
|
113
|
+
|
|
114
114
|
if http_response.nil?
|
|
115
115
|
raise error if !error.nil?
|
|
116
116
|
raise 'no response'
|
|
117
117
|
end
|
|
118
118
|
end
|
|
119
|
-
|
|
119
|
+
|
|
120
120
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
121
121
|
if Utils.match_status_code(http_response.status, ['200'])
|
|
122
122
|
if Utils.match_content_type(content_type, 'application/json')
|