dub 0.2.2.pre.alpha.8 → 0.2.2.pre.alpha.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/open_api_sdk/events.rb +1 -1
- data/lib/open_api_sdk/models/operations/click.rb +60 -0
- data/lib/open_api_sdk/models/operations/color.rb +0 -1
- data/lib/open_api_sdk/models/operations/customer.rb +33 -0
- data/lib/open_api_sdk/models/operations/event.rb +0 -1
- data/lib/open_api_sdk/models/operations/geo.rb +771 -0
- data/lib/open_api_sdk/models/operations/groupby.rb +0 -1
- data/lib/open_api_sdk/models/operations/interval.rb +0 -1
- data/lib/open_api_sdk/models/operations/level.rb +0 -1
- data/lib/open_api_sdk/models/operations/link.rb +135 -0
- data/lib/open_api_sdk/models/operations/listevents_response.rb +2 -2
- data/lib/open_api_sdk/models/operations/order.rb +0 -1
- data/lib/open_api_sdk/models/operations/paymentprocessor.rb +0 -1
- data/lib/open_api_sdk/models/operations/queryparam_event.rb +0 -1
- data/lib/open_api_sdk/models/operations/queryparam_interval.rb +0 -1
- data/lib/open_api_sdk/models/operations/sale.rb +33 -0
- data/lib/open_api_sdk/models/operations/sort.rb +0 -1
- data/lib/open_api_sdk/models/operations/sortby.rb +0 -2
- data/lib/open_api_sdk/models/operations/tracklead_responsebody.rb +8 -17
- data/lib/open_api_sdk/models/operations/tracksale_click.rb +60 -0
- data/lib/open_api_sdk/models/operations/tracksale_customer.rb +33 -0
- data/lib/open_api_sdk/models/operations/tracksale_geo.rb +771 -0
- data/lib/open_api_sdk/models/operations/tracksale_link.rb +135 -0
- data/lib/open_api_sdk/models/operations/tracksale_responsebody.rb +10 -16
- data/lib/open_api_sdk/models/operations/updatetag_color.rb +0 -1
- data/lib/open_api_sdk/models/operations.rb +9 -0
- data/lib/open_api_sdk/models/shared/{clickevents.rb → clickevent.rb} +6 -3
- data/lib/open_api_sdk/models/shared/code.rb +0 -1
- data/lib/open_api_sdk/models/shared/color.rb +0 -1
- data/lib/open_api_sdk/models/shared/conflict_code.rb +0 -1
- data/lib/open_api_sdk/models/shared/continentcode.rb +0 -1
- data/lib/open_api_sdk/models/shared/countrycode.rb +0 -1
- data/lib/open_api_sdk/models/shared/event.rb +17 -0
- data/lib/open_api_sdk/models/shared/forbidden_code.rb +0 -1
- data/lib/open_api_sdk/models/shared/internalservererror_code.rb +0 -1
- data/lib/open_api_sdk/models/shared/inviteexpired_code.rb +0 -1
- data/lib/open_api_sdk/models/shared/notfound_code.rb +0 -1
- data/lib/open_api_sdk/models/shared/plan.rb +0 -1
- data/lib/open_api_sdk/models/shared/ratelimitexceeded_code.rb +0 -1
- data/lib/open_api_sdk/models/shared/role.rb +0 -1
- data/lib/open_api_sdk/models/shared/unauthorized_code.rb +0 -1
- data/lib/open_api_sdk/models/shared/unprocessableentity_code.rb +0 -1
- data/lib/open_api_sdk/models/shared.rb +2 -1
- data/lib/open_api_sdk/sdkconfiguration.rb +3 -3
- metadata +13 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d66c9614821c54e3f56131ddd8c38664ccd1135c68b8cf979ff89d73b5ca5da5
|
4
|
+
data.tar.gz: 50d1ceca5bdc6d307a1b0ef64f4807f06313bcaf0f831f4357b0ee30069ece17
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a08e5fa2a2ef552fdd554ec386023d90e4710a7dd5295f2f4ab2a70f062f9363d0d2f09b8c36fffdbc366547a301c72f18fddd2efb92d61328c0192e6fb95003
|
7
|
+
data.tar.gz: 6a51d379f789b90e34a09544bf2ce9e45bcf7b678f3ebef9d7bd8fd6db55e4fb0724901684686063a7f4d9fab7488b346ec86ccb86010de7143f0e1d96efdd8b
|
data/lib/open_api_sdk/events.rb
CHANGED
@@ -44,7 +44,7 @@ module OpenApiSDK
|
|
44
44
|
)
|
45
45
|
if r.status == 200
|
46
46
|
if Utils.match_content_type(content_type, 'application/json')
|
47
|
-
out = Utils.unmarshal_complex(r.env.response_body, T::Array[::OpenApiSDK::Shared::
|
47
|
+
out = Utils.unmarshal_complex(r.env.response_body, T::Array[::OpenApiSDK::Shared::ClickEvent])
|
48
48
|
res.click_events = out
|
49
49
|
end
|
50
50
|
elsif r.status == 400
|
@@ -0,0 +1,60 @@
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
2
|
+
|
3
|
+
# typed: true
|
4
|
+
# frozen_string_literal: true
|
5
|
+
|
6
|
+
|
7
|
+
module OpenApiSDK
|
8
|
+
module Operations
|
9
|
+
|
10
|
+
|
11
|
+
class Click < ::OpenApiSDK::Utils::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
|
15
|
+
field :bot, T::Boolean, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('bot') } }
|
16
|
+
|
17
|
+
field :browser, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('browser') } }
|
18
|
+
|
19
|
+
field :city, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('city') } }
|
20
|
+
|
21
|
+
field :continent, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('continent') } }
|
22
|
+
|
23
|
+
field :country, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('country') } }
|
24
|
+
|
25
|
+
field :device, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('device') } }
|
26
|
+
|
27
|
+
field :id, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('id') } }
|
28
|
+
|
29
|
+
field :ip, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('ip') } }
|
30
|
+
|
31
|
+
field :os, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('os') } }
|
32
|
+
|
33
|
+
field :qr, T::Boolean, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('qr') } }
|
34
|
+
|
35
|
+
field :referer, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('referer') } }
|
36
|
+
|
37
|
+
field :ua, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('ua') } }
|
38
|
+
|
39
|
+
field :url, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('url') } }
|
40
|
+
|
41
|
+
|
42
|
+
sig { params(bot: T::Boolean, browser: ::String, city: ::String, continent: ::String, country: ::String, device: ::String, id: ::String, ip: ::String, os: ::String, qr: T::Boolean, referer: ::String, ua: ::String, url: ::String).void }
|
43
|
+
def initialize(bot: nil, browser: nil, city: nil, continent: nil, country: nil, device: nil, id: nil, ip: nil, os: nil, qr: nil, referer: nil, ua: nil, url: nil)
|
44
|
+
@bot = bot
|
45
|
+
@browser = browser
|
46
|
+
@city = city
|
47
|
+
@continent = continent
|
48
|
+
@country = country
|
49
|
+
@device = device
|
50
|
+
@id = id
|
51
|
+
@ip = ip
|
52
|
+
@os = os
|
53
|
+
@qr = qr
|
54
|
+
@referer = referer
|
55
|
+
@ua = ua
|
56
|
+
@url = url
|
57
|
+
end
|
58
|
+
end
|
59
|
+
end
|
60
|
+
end
|
@@ -0,0 +1,33 @@
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
2
|
+
|
3
|
+
# typed: true
|
4
|
+
# frozen_string_literal: true
|
5
|
+
|
6
|
+
|
7
|
+
module OpenApiSDK
|
8
|
+
module Operations
|
9
|
+
|
10
|
+
|
11
|
+
class Customer < ::OpenApiSDK::Utils::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
|
15
|
+
field :avatar, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('avatar') } }
|
16
|
+
|
17
|
+
field :email, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('email') } }
|
18
|
+
|
19
|
+
field :id, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('id') } }
|
20
|
+
|
21
|
+
field :name, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('name') } }
|
22
|
+
|
23
|
+
|
24
|
+
sig { params(avatar: ::String, email: ::String, id: ::String, name: ::String).void }
|
25
|
+
def initialize(avatar: nil, email: nil, id: nil, name: nil)
|
26
|
+
@avatar = avatar
|
27
|
+
@email = email
|
28
|
+
@id = id
|
29
|
+
@name = name
|
30
|
+
end
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|