dub 0.2.2.pre.alpha.37 → 0.2.2.pre.alpha.39
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/models/operations/getqrcode_request.rb +6 -3
- data/lib/open_api_sdk/models/operations/groupby.rb +1 -0
- data/lib/open_api_sdk/models/operations/listevents_request.rb +5 -2
- data/lib/open_api_sdk/models/operations/retrieveanalytics_request.rb +5 -2
- data/lib/open_api_sdk/models/shared/click.rb +5 -2
- data/lib/open_api_sdk/models/shared.rb +1 -1
- data/lib/open_api_sdk/sdkconfiguration.rb +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2983c8dcf7f79954f955c329d4a307bca4f307f8d97e1b9fff8865dd16afc61e
|
4
|
+
data.tar.gz: '08226984590fda7447fb6ba710061b4fa5d931c83d923520a09619f334ae2f7f'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b5d771ddcb4eb76481092d845ac589ff77e04048680d08fa7783293ffa5ddf68e3d51ffb5b9b8eb4e15998bb106f8eb0956865f870a0072617db20b7a7512901
|
7
|
+
data.tar.gz: 00a49505c1dc036ee9413ed985d08812e651024f2feb8b6f6f03466c91825fdee25b5d05701dc38824f8674a9db330c4c09eff2954ca27c8ba40cfb59b45f09c
|
@@ -19,18 +19,20 @@ module OpenApiSDK
|
|
19
19
|
field :fg_color, T.nilable(::String), { 'query_param': { 'field_name': 'fgColor', 'style': 'form', 'explode': true } }
|
20
20
|
# Whether to hide the logo in the QR code. Can only be used with a paid plan on Dub.co.
|
21
21
|
field :hide_logo, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'hideLogo', 'style': 'form', 'explode': true } }
|
22
|
-
#
|
22
|
+
# DEPRECATED: Margin is included by default. Use the `margin` prop to customize the margin size.
|
23
23
|
field :include_margin, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'includeMargin', 'style': 'form', 'explode': true } }
|
24
24
|
# The level of error correction to use for the QR code. Defaults to `L` if not provided.
|
25
25
|
field :level, T.nilable(::OpenApiSDK::Operations::Level), { 'query_param': { 'field_name': 'level', 'style': 'form', 'explode': true } }
|
26
26
|
# The logo to include in the QR code. Can only be used with a paid plan on Dub.co.
|
27
27
|
field :logo, T.nilable(::String), { 'query_param': { 'field_name': 'logo', 'style': 'form', 'explode': true } }
|
28
|
+
# The size of the margin around the QR code. Defaults to 2 if not provided.
|
29
|
+
field :margin, T.nilable(::Float), { 'query_param': { 'field_name': 'margin', 'style': 'form', 'explode': true } }
|
28
30
|
# The size of the QR code in pixels. Defaults to `600` if not provided.
|
29
31
|
field :size, T.nilable(::Float), { 'query_param': { 'field_name': 'size', 'style': 'form', 'explode': true } }
|
30
32
|
|
31
33
|
|
32
|
-
sig { params(url: ::String, bg_color: T.nilable(::String), fg_color: T.nilable(::String), hide_logo: T.nilable(T::Boolean), include_margin: T.nilable(T::Boolean), level: T.nilable(::OpenApiSDK::Operations::Level), logo: T.nilable(::String), size: T.nilable(::Float)).void }
|
33
|
-
def initialize(url: nil, bg_color: nil, fg_color: nil, hide_logo: nil, include_margin: nil, level: nil, logo: nil, size: nil)
|
34
|
+
sig { params(url: ::String, bg_color: T.nilable(::String), fg_color: T.nilable(::String), hide_logo: T.nilable(T::Boolean), include_margin: T.nilable(T::Boolean), level: T.nilable(::OpenApiSDK::Operations::Level), logo: T.nilable(::String), margin: T.nilable(::Float), size: T.nilable(::Float)).void }
|
35
|
+
def initialize(url: nil, bg_color: nil, fg_color: nil, hide_logo: nil, include_margin: nil, level: nil, logo: nil, margin: nil, size: nil)
|
34
36
|
@url = url
|
35
37
|
@bg_color = bg_color
|
36
38
|
@fg_color = fg_color
|
@@ -38,6 +40,7 @@ module OpenApiSDK
|
|
38
40
|
@include_margin = include_margin
|
39
41
|
@level = level
|
40
42
|
@logo = logo
|
43
|
+
@margin = margin
|
41
44
|
@size = size
|
42
45
|
end
|
43
46
|
end
|
@@ -49,6 +49,8 @@ module OpenApiSDK
|
|
49
49
|
field :referer, T.nilable(::String), { 'query_param': { 'field_name': 'referer', 'style': 'form', 'explode': true } }
|
50
50
|
# The full referer URL to retrieve analytics for.
|
51
51
|
field :referer_url, T.nilable(::String), { 'query_param': { 'field_name': 'refererUrl', 'style': 'form', 'explode': true } }
|
52
|
+
# The ISO 3166-2 region code to retrieve analytics for.
|
53
|
+
field :region, T.nilable(::String), { 'query_param': { 'field_name': 'region', 'style': 'form', 'explode': true } }
|
52
54
|
# Filter for root domains. If true, filter for domains only. If false, filter for links only. If undefined, return both.
|
53
55
|
field :root, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'root', 'style': 'form', 'explode': true } }
|
54
56
|
|
@@ -67,8 +69,8 @@ module OpenApiSDK
|
|
67
69
|
field :url, T.nilable(::String), { 'query_param': { 'field_name': 'url', 'style': 'form', 'explode': true } }
|
68
70
|
|
69
71
|
|
70
|
-
sig { params(browser: T.nilable(::String), city: T.nilable(::String), continent: T.nilable(::OpenApiSDK::Shared::ContinentCode), country: T.nilable(::OpenApiSDK::Shared::CountryCode), device: T.nilable(::String), domain: T.nilable(::String), end_: T.nilable(::String), event: T.nilable(::OpenApiSDK::Operations::QueryParamEvent), external_id: T.nilable(::String), interval: T.nilable(::OpenApiSDK::Operations::QueryParamInterval), key: T.nilable(::String), limit: T.nilable(::Float), link_id: T.nilable(::String), order: T.nilable(::OpenApiSDK::Operations::Order), os: T.nilable(::String), page: T.nilable(::Float), qr: T.nilable(T::Boolean), referer: T.nilable(::String), referer_url: T.nilable(::String), root: T.nilable(T::Boolean), sort_by: T.nilable(::OpenApiSDK::Operations::SortBy), start: T.nilable(::String), tag_id: T.nilable(::String), tag_ids: T.nilable(::Object), timezone: T.nilable(::String), trigger: T.nilable(::OpenApiSDK::Operations::QueryParamTrigger), url: T.nilable(::String)).void }
|
71
|
-
def initialize(browser: nil, city: nil, continent: nil, country: nil, device: nil, domain: nil, end_: nil, event: nil, external_id: nil, interval: nil, key: nil, limit: nil, link_id: nil, order: nil, os: nil, page: nil, qr: nil, referer: nil, referer_url: nil, root: nil, sort_by: nil, start: nil, tag_id: nil, tag_ids: nil, timezone: nil, trigger: nil, url: nil)
|
72
|
+
sig { params(browser: T.nilable(::String), city: T.nilable(::String), continent: T.nilable(::OpenApiSDK::Shared::ContinentCode), country: T.nilable(::OpenApiSDK::Shared::CountryCode), device: T.nilable(::String), domain: T.nilable(::String), end_: T.nilable(::String), event: T.nilable(::OpenApiSDK::Operations::QueryParamEvent), external_id: T.nilable(::String), interval: T.nilable(::OpenApiSDK::Operations::QueryParamInterval), key: T.nilable(::String), limit: T.nilable(::Float), link_id: T.nilable(::String), order: T.nilable(::OpenApiSDK::Operations::Order), os: T.nilable(::String), page: T.nilable(::Float), qr: T.nilable(T::Boolean), referer: T.nilable(::String), referer_url: T.nilable(::String), region: T.nilable(::String), root: T.nilable(T::Boolean), sort_by: T.nilable(::OpenApiSDK::Operations::SortBy), start: T.nilable(::String), tag_id: T.nilable(::String), tag_ids: T.nilable(::Object), timezone: T.nilable(::String), trigger: T.nilable(::OpenApiSDK::Operations::QueryParamTrigger), url: T.nilable(::String)).void }
|
73
|
+
def initialize(browser: nil, city: nil, continent: nil, country: nil, device: nil, domain: nil, end_: nil, event: nil, external_id: nil, interval: nil, key: nil, limit: nil, link_id: nil, order: nil, os: nil, page: nil, qr: nil, referer: nil, referer_url: nil, region: nil, root: nil, sort_by: nil, start: nil, tag_id: nil, tag_ids: nil, timezone: nil, trigger: nil, url: nil)
|
72
74
|
@browser = browser
|
73
75
|
@city = city
|
74
76
|
@continent = continent
|
@@ -88,6 +90,7 @@ module OpenApiSDK
|
|
88
90
|
@qr = qr
|
89
91
|
@referer = referer
|
90
92
|
@referer_url = referer_url
|
93
|
+
@region = region
|
91
94
|
@root = root
|
92
95
|
@sort_by = sort_by
|
93
96
|
@start = start
|
@@ -45,6 +45,8 @@ module OpenApiSDK
|
|
45
45
|
field :referer, T.nilable(::String), { 'query_param': { 'field_name': 'referer', 'style': 'form', 'explode': true } }
|
46
46
|
# The full referer URL to retrieve analytics for.
|
47
47
|
field :referer_url, T.nilable(::String), { 'query_param': { 'field_name': 'refererUrl', 'style': 'form', 'explode': true } }
|
48
|
+
# The ISO 3166-2 region code to retrieve analytics for.
|
49
|
+
field :region, T.nilable(::String), { 'query_param': { 'field_name': 'region', 'style': 'form', 'explode': true } }
|
48
50
|
# Filter for root domains. If true, filter for domains only. If false, filter for links only. If undefined, return both.
|
49
51
|
field :root, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'root', 'style': 'form', 'explode': true } }
|
50
52
|
# The start date and time when to retrieve analytics from. Takes precedence over `interval`.
|
@@ -61,8 +63,8 @@ module OpenApiSDK
|
|
61
63
|
field :url, T.nilable(::String), { 'query_param': { 'field_name': 'url', 'style': 'form', 'explode': true } }
|
62
64
|
|
63
65
|
|
64
|
-
sig { params(browser: T.nilable(::String), city: T.nilable(::String), continent: T.nilable(::OpenApiSDK::Shared::ContinentCode), country: T.nilable(::OpenApiSDK::Shared::CountryCode), device: T.nilable(::String), domain: T.nilable(::String), end_: T.nilable(::String), event: T.nilable(::OpenApiSDK::Operations::Event), external_id: T.nilable(::String), group_by: T.nilable(::OpenApiSDK::Operations::GroupBy), interval: T.nilable(::OpenApiSDK::Operations::Interval), key: T.nilable(::String), link_id: T.nilable(::String), os: T.nilable(::String), qr: T.nilable(T::Boolean), referer: T.nilable(::String), referer_url: T.nilable(::String), root: T.nilable(T::Boolean), start: T.nilable(::String), tag_id: T.nilable(::String), tag_ids: T.nilable(::Object), timezone: T.nilable(::String), trigger: T.nilable(::OpenApiSDK::Operations::Trigger), url: T.nilable(::String)).void }
|
65
|
-
def initialize(browser: nil, city: nil, continent: nil, country: nil, device: nil, domain: nil, end_: nil, event: nil, external_id: nil, group_by: nil, interval: nil, key: nil, link_id: nil, os: nil, qr: nil, referer: nil, referer_url: nil, root: nil, start: nil, tag_id: nil, tag_ids: nil, timezone: nil, trigger: nil, url: nil)
|
66
|
+
sig { params(browser: T.nilable(::String), city: T.nilable(::String), continent: T.nilable(::OpenApiSDK::Shared::ContinentCode), country: T.nilable(::OpenApiSDK::Shared::CountryCode), device: T.nilable(::String), domain: T.nilable(::String), end_: T.nilable(::String), event: T.nilable(::OpenApiSDK::Operations::Event), external_id: T.nilable(::String), group_by: T.nilable(::OpenApiSDK::Operations::GroupBy), interval: T.nilable(::OpenApiSDK::Operations::Interval), key: T.nilable(::String), link_id: T.nilable(::String), os: T.nilable(::String), qr: T.nilable(T::Boolean), referer: T.nilable(::String), referer_url: T.nilable(::String), region: T.nilable(::String), root: T.nilable(T::Boolean), start: T.nilable(::String), tag_id: T.nilable(::String), tag_ids: T.nilable(::Object), timezone: T.nilable(::String), trigger: T.nilable(::OpenApiSDK::Operations::Trigger), url: T.nilable(::String)).void }
|
67
|
+
def initialize(browser: nil, city: nil, continent: nil, country: nil, device: nil, domain: nil, end_: nil, event: nil, external_id: nil, group_by: nil, interval: nil, key: nil, link_id: nil, os: nil, qr: nil, referer: nil, referer_url: nil, region: nil, root: nil, start: nil, tag_id: nil, tag_ids: nil, timezone: nil, trigger: nil, url: nil)
|
66
68
|
@browser = browser
|
67
69
|
@city = city
|
68
70
|
@continent = continent
|
@@ -80,6 +82,7 @@ module OpenApiSDK
|
|
80
82
|
@qr = qr
|
81
83
|
@referer = referer
|
82
84
|
@referer_url = referer_url
|
85
|
+
@region = region
|
83
86
|
@root = root
|
84
87
|
@start = start
|
85
88
|
@tag_id = tag_id
|
@@ -32,13 +32,15 @@ module OpenApiSDK
|
|
32
32
|
|
33
33
|
field :referer_url, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('refererUrl') } }
|
34
34
|
|
35
|
+
field :region, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('region') } }
|
36
|
+
|
35
37
|
field :url, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('url') } }
|
36
38
|
|
37
39
|
field :qr, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('qr') } }
|
38
40
|
|
39
41
|
|
40
|
-
sig { params(browser: ::String, city: ::String, continent: ::String, country: ::String, device: ::String, id: ::String, ip: ::String, os: ::String, referer: ::String, referer_url: ::String, url: ::String, qr: T.nilable(T::Boolean)).void }
|
41
|
-
def initialize(browser: nil, city: nil, continent: nil, country: nil, device: nil, id: nil, ip: nil, os: nil, referer: nil, referer_url: nil, url: nil, qr: nil)
|
42
|
+
sig { params(browser: ::String, city: ::String, continent: ::String, country: ::String, device: ::String, id: ::String, ip: ::String, os: ::String, referer: ::String, referer_url: ::String, region: ::String, url: ::String, qr: T.nilable(T::Boolean)).void }
|
43
|
+
def initialize(browser: nil, city: nil, continent: nil, country: nil, device: nil, id: nil, ip: nil, os: nil, referer: nil, referer_url: nil, region: nil, url: nil, qr: nil)
|
42
44
|
@browser = browser
|
43
45
|
@city = city
|
44
46
|
@continent = continent
|
@@ -49,6 +51,7 @@ module OpenApiSDK
|
|
49
51
|
@os = os
|
50
52
|
@referer = referer
|
51
53
|
@referer_url = referer_url
|
54
|
+
@region = region
|
52
55
|
@url = url
|
53
56
|
@qr = qr
|
54
57
|
end
|
@@ -37,8 +37,8 @@ module OpenApiSDK
|
|
37
37
|
autoload :Color, 'open_api_sdk/models/shared/color.rb'
|
38
38
|
autoload :TagSchema, 'open_api_sdk/models/shared/tagschema.rb'
|
39
39
|
autoload :LinkGeoTargeting, 'open_api_sdk/models/shared/linkgeotargeting.rb'
|
40
|
-
autoload :CountryCode, 'open_api_sdk/models/shared/countrycode.rb'
|
41
40
|
autoload :ContinentCode, 'open_api_sdk/models/shared/continentcode.rb'
|
41
|
+
autoload :CountryCode, 'open_api_sdk/models/shared/countrycode.rb'
|
42
42
|
autoload :Event, 'open_api_sdk/models/shared/event.rb'
|
43
43
|
autoload :Click, 'open_api_sdk/models/shared/click.rb'
|
44
44
|
autoload :ClickEventGeo, 'open_api_sdk/models/shared/clickevent_geo.rb'
|
@@ -38,9 +38,9 @@ module OpenApiSDK
|
|
38
38
|
@security = security
|
39
39
|
@language = 'ruby'
|
40
40
|
@openapi_doc_version = '0.0.1'
|
41
|
-
@sdk_version = '0.2.2-alpha.
|
42
|
-
@gen_version = '2.
|
43
|
-
@user_agent = 'speakeasy-sdk/ruby 0.2.2-alpha.
|
41
|
+
@sdk_version = '0.2.2-alpha.39'
|
42
|
+
@gen_version = '2.461.4'
|
43
|
+
@user_agent = 'speakeasy-sdk/ruby 0.2.2-alpha.39 2.461.4 0.0.1 dub'
|
44
44
|
end
|
45
45
|
|
46
46
|
sig { returns([String, T::Hash[Symbol, String]]) }
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dub
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.2.pre.alpha.
|
4
|
+
version: 0.2.2.pre.alpha.39
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dub
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-11-
|
11
|
+
date: 2024-11-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|