dub 0.1.2 → 0.1.3
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/links.rb +3 -3
- data/lib/open_api_sdk/models/operations/bulkcreatelinks_request.rb +2 -5
- data/lib/open_api_sdk/models/operations/createdomain_request.rb +2 -5
- data/lib/open_api_sdk/models/operations/createlink_request.rb +2 -5
- data/lib/open_api_sdk/models/operations/createtag_request.rb +2 -5
- data/lib/open_api_sdk/models/operations/deletedomain_request.rb +2 -5
- data/lib/open_api_sdk/models/operations/deletelink_request.rb +2 -5
- data/lib/open_api_sdk/models/operations/getlinkinfo_request.rb +2 -5
- data/lib/open_api_sdk/models/operations/getlinks_request.rb +2 -5
- data/lib/open_api_sdk/models/operations/getlinkscount_request.rb +2 -5
- data/lib/open_api_sdk/models/operations/gettags_request.rb +2 -5
- data/lib/open_api_sdk/models/operations/listdomains_request.rb +2 -5
- data/lib/open_api_sdk/models/operations/retrieveanalytics_request.rb +2 -5
- data/lib/open_api_sdk/models/operations/trackcustomer_request.rb +2 -5
- data/lib/open_api_sdk/models/operations/tracklead_request.rb +2 -5
- data/lib/open_api_sdk/models/operations/tracksale_request.rb +2 -5
- data/lib/open_api_sdk/models/operations/updatedomain_request.rb +2 -5
- data/lib/open_api_sdk/models/operations/updatelink_request.rb +2 -5
- data/lib/open_api_sdk/models/operations/updatetag_request.rb +2 -5
- data/lib/open_api_sdk/models/operations/upsertlink_request.rb +2 -5
- 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: 2416524af036560cb330648a97df0e29cc1cd000633c8f8eee809874a21958d4
|
4
|
+
data.tar.gz: edb7102b2eaeedf40a0cef2c8bfd69eb48e6afb66777a851c30a04710035e68b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6b50d5c9d7be235f657cdd4eb9eb60aff58a0b1cdbc8852e2510af07496db4dbec6ef186489a87d5f9410dc3f8c1d066f3b38a365bea4c35f78e9690ee7b6b3b
|
7
|
+
data.tar.gz: d0a194e354d3b6ce1cef475818febf521abc9e89d25020107279b7413d7a85072c0e6b4494b7e12439cbd92fda3d2c1372e833391348e59b5f657ae3c409706c
|
data/lib/open_api_sdk/links.rb
CHANGED
@@ -22,7 +22,7 @@ module OpenApiSDK
|
|
22
22
|
sig { params(request: T.nilable(::OpenApiSDK::Operations::GetLinksRequest)).returns(::OpenApiSDK::Operations::GetLinksResponse) }
|
23
23
|
def list(request)
|
24
24
|
# list - Retrieve a list of links
|
25
|
-
# Retrieve a list of links for the authenticated workspace.
|
25
|
+
# Retrieve a paginated list of links for the authenticated workspace.
|
26
26
|
url, params = @sdk_configuration.get_server_details
|
27
27
|
base_url = Utils.template_url(url, params)
|
28
28
|
url = "#{base_url}/links"
|
@@ -186,8 +186,8 @@ module OpenApiSDK
|
|
186
186
|
|
187
187
|
sig { params(request: T.nilable(::OpenApiSDK::Operations::GetLinksCountRequest)).returns(::OpenApiSDK::Operations::GetLinksCountResponse) }
|
188
188
|
def count(request)
|
189
|
-
# count - Retrieve
|
190
|
-
# Retrieve the number of links for the authenticated workspace.
|
189
|
+
# count - Retrieve links count
|
190
|
+
# Retrieve the number of links for the authenticated workspace.
|
191
191
|
url, params = @sdk_configuration.get_server_details
|
192
192
|
base_url = Utils.template_url(url, params)
|
193
193
|
url = "#{base_url}/links/count"
|
@@ -11,17 +11,14 @@ module OpenApiSDK
|
|
11
11
|
class BulkCreateLinksRequest < ::OpenApiSDK::Utils::FieldAugmented
|
12
12
|
extend T::Sig
|
13
13
|
|
14
|
-
# The slug of the project. This field is deprecated – use `workspaceId` instead.
|
15
|
-
field :project_slug, T.nilable(::String), { 'query_param': { 'field_name': 'projectSlug', 'style': 'form', 'explode': true } }
|
16
14
|
|
17
15
|
field :request_body, T.nilable(T::Array[::OpenApiSDK::Operations::RequestBody]), { 'request': { 'media_type': 'application/json' } }
|
18
16
|
# The ID of the workspace.
|
19
17
|
field :workspace_id, T.nilable(::String), { 'query_param': { 'field_name': 'workspaceId', 'style': 'form', 'explode': true } }
|
20
18
|
|
21
19
|
|
22
|
-
sig { params(
|
23
|
-
def initialize(
|
24
|
-
@project_slug = project_slug
|
20
|
+
sig { params(request_body: T.nilable(T::Array[::OpenApiSDK::Operations::RequestBody]), workspace_id: T.nilable(::String)).void }
|
21
|
+
def initialize(request_body: nil, workspace_id: nil)
|
25
22
|
@request_body = request_body
|
26
23
|
@workspace_id = workspace_id
|
27
24
|
end
|
@@ -11,17 +11,14 @@ module OpenApiSDK
|
|
11
11
|
class CreateDomainRequest < ::OpenApiSDK::Utils::FieldAugmented
|
12
12
|
extend T::Sig
|
13
13
|
|
14
|
-
# The slug of the project. This field is deprecated – use `workspaceId` instead.
|
15
|
-
field :project_slug, T.nilable(::String), { 'query_param': { 'field_name': 'projectSlug', 'style': 'form', 'explode': true } }
|
16
14
|
|
17
15
|
field :request_body, T.nilable(::OpenApiSDK::Operations::CreateDomainRequestBody), { 'request': { 'media_type': 'application/json' } }
|
18
16
|
# The ID of the workspace.
|
19
17
|
field :workspace_id, T.nilable(::String), { 'query_param': { 'field_name': 'workspaceId', 'style': 'form', 'explode': true } }
|
20
18
|
|
21
19
|
|
22
|
-
sig { params(
|
23
|
-
def initialize(
|
24
|
-
@project_slug = project_slug
|
20
|
+
sig { params(request_body: T.nilable(::OpenApiSDK::Operations::CreateDomainRequestBody), workspace_id: T.nilable(::String)).void }
|
21
|
+
def initialize(request_body: nil, workspace_id: nil)
|
25
22
|
@request_body = request_body
|
26
23
|
@workspace_id = workspace_id
|
27
24
|
end
|
@@ -11,17 +11,14 @@ module OpenApiSDK
|
|
11
11
|
class CreateLinkRequest < ::OpenApiSDK::Utils::FieldAugmented
|
12
12
|
extend T::Sig
|
13
13
|
|
14
|
-
# The slug of the project. This field is deprecated – use `workspaceId` instead.
|
15
|
-
field :project_slug, T.nilable(::String), { 'query_param': { 'field_name': 'projectSlug', 'style': 'form', 'explode': true } }
|
16
14
|
|
17
15
|
field :request_body, T.nilable(::OpenApiSDK::Operations::CreateLinkRequestBody), { 'request': { 'media_type': 'application/json' } }
|
18
16
|
# The ID of the workspace.
|
19
17
|
field :workspace_id, T.nilable(::String), { 'query_param': { 'field_name': 'workspaceId', 'style': 'form', 'explode': true } }
|
20
18
|
|
21
19
|
|
22
|
-
sig { params(
|
23
|
-
def initialize(
|
24
|
-
@project_slug = project_slug
|
20
|
+
sig { params(request_body: T.nilable(::OpenApiSDK::Operations::CreateLinkRequestBody), workspace_id: T.nilable(::String)).void }
|
21
|
+
def initialize(request_body: nil, workspace_id: nil)
|
25
22
|
@request_body = request_body
|
26
23
|
@workspace_id = workspace_id
|
27
24
|
end
|
@@ -11,17 +11,14 @@ module OpenApiSDK
|
|
11
11
|
class CreateTagRequest < ::OpenApiSDK::Utils::FieldAugmented
|
12
12
|
extend T::Sig
|
13
13
|
|
14
|
-
# The slug of the project. This field is deprecated – use `workspaceId` instead.
|
15
|
-
field :project_slug, T.nilable(::String), { 'query_param': { 'field_name': 'projectSlug', 'style': 'form', 'explode': true } }
|
16
14
|
|
17
15
|
field :request_body, T.nilable(::OpenApiSDK::Operations::CreateTagRequestBody), { 'request': { 'media_type': 'application/json' } }
|
18
16
|
# The ID of the workspace.
|
19
17
|
field :workspace_id, T.nilable(::String), { 'query_param': { 'field_name': 'workspaceId', 'style': 'form', 'explode': true } }
|
20
18
|
|
21
19
|
|
22
|
-
sig { params(
|
23
|
-
def initialize(
|
24
|
-
@project_slug = project_slug
|
20
|
+
sig { params(request_body: T.nilable(::OpenApiSDK::Operations::CreateTagRequestBody), workspace_id: T.nilable(::String)).void }
|
21
|
+
def initialize(request_body: nil, workspace_id: nil)
|
25
22
|
@request_body = request_body
|
26
23
|
@workspace_id = workspace_id
|
27
24
|
end
|
@@ -13,16 +13,13 @@ module OpenApiSDK
|
|
13
13
|
|
14
14
|
# The domain name.
|
15
15
|
field :slug, ::String, { 'path_param': { 'field_name': 'slug', 'style': 'simple', 'explode': false } }
|
16
|
-
# The slug of the project. This field is deprecated – use `workspaceId` instead.
|
17
|
-
field :project_slug, T.nilable(::String), { 'query_param': { 'field_name': 'projectSlug', 'style': 'form', 'explode': true } }
|
18
16
|
# The ID of the workspace.
|
19
17
|
field :workspace_id, T.nilable(::String), { 'query_param': { 'field_name': 'workspaceId', 'style': 'form', 'explode': true } }
|
20
18
|
|
21
19
|
|
22
|
-
sig { params(slug: ::String,
|
23
|
-
def initialize(slug: nil,
|
20
|
+
sig { params(slug: ::String, workspace_id: T.nilable(::String)).void }
|
21
|
+
def initialize(slug: nil, workspace_id: nil)
|
24
22
|
@slug = slug
|
25
|
-
@project_slug = project_slug
|
26
23
|
@workspace_id = workspace_id
|
27
24
|
end
|
28
25
|
end
|
@@ -13,16 +13,13 @@ module OpenApiSDK
|
|
13
13
|
|
14
14
|
# The id of the link to delete. You may use either `linkId` (obtained via `/links/info` endpoint) or `externalId` prefixed with `ext_`.
|
15
15
|
field :link_id, ::String, { 'path_param': { 'field_name': 'linkId', 'style': 'simple', 'explode': false } }
|
16
|
-
# The slug of the project. This field is deprecated – use `workspaceId` instead.
|
17
|
-
field :project_slug, T.nilable(::String), { 'query_param': { 'field_name': 'projectSlug', 'style': 'form', 'explode': true } }
|
18
16
|
# The ID of the workspace.
|
19
17
|
field :workspace_id, T.nilable(::String), { 'query_param': { 'field_name': 'workspaceId', 'style': 'form', 'explode': true } }
|
20
18
|
|
21
19
|
|
22
|
-
sig { params(link_id: ::String,
|
23
|
-
def initialize(link_id: nil,
|
20
|
+
sig { params(link_id: ::String, workspace_id: T.nilable(::String)).void }
|
21
|
+
def initialize(link_id: nil, workspace_id: nil)
|
24
22
|
@link_id = link_id
|
25
|
-
@project_slug = project_slug
|
26
23
|
@workspace_id = workspace_id
|
27
24
|
end
|
28
25
|
end
|
@@ -19,19 +19,16 @@ module OpenApiSDK
|
|
19
19
|
field :key, T.nilable(::String), { 'query_param': { 'field_name': 'key', 'style': 'form', 'explode': true } }
|
20
20
|
# The unique ID of the short link.
|
21
21
|
field :link_id, T.nilable(::String), { 'query_param': { 'field_name': 'linkId', 'style': 'form', 'explode': true } }
|
22
|
-
# The slug of the project. This field is deprecated – use `workspaceId` instead.
|
23
|
-
field :project_slug, T.nilable(::String), { 'query_param': { 'field_name': 'projectSlug', 'style': 'form', 'explode': true } }
|
24
22
|
# The ID of the workspace.
|
25
23
|
field :workspace_id, T.nilable(::String), { 'query_param': { 'field_name': 'workspaceId', 'style': 'form', 'explode': true } }
|
26
24
|
|
27
25
|
|
28
|
-
sig { params(domain: T.nilable(::String), external_id: T.nilable(::String), key: T.nilable(::String), link_id: T.nilable(::String),
|
29
|
-
def initialize(domain: nil, external_id: nil, key: nil, link_id: nil,
|
26
|
+
sig { params(domain: T.nilable(::String), external_id: T.nilable(::String), key: T.nilable(::String), link_id: T.nilable(::String), workspace_id: T.nilable(::String)).void }
|
27
|
+
def initialize(domain: nil, external_id: nil, key: nil, link_id: nil, workspace_id: nil)
|
30
28
|
@domain = domain
|
31
29
|
@external_id = external_id
|
32
30
|
@key = key
|
33
31
|
@link_id = link_id
|
34
|
-
@project_slug = project_slug
|
35
32
|
@workspace_id = workspace_id
|
36
33
|
end
|
37
34
|
end
|
@@ -15,8 +15,6 @@ module OpenApiSDK
|
|
15
15
|
field :domain, T.nilable(::String), { 'query_param': { 'field_name': 'domain', 'style': 'form', 'explode': true } }
|
16
16
|
# The page number for pagination (each page contains 100 links).
|
17
17
|
field :page, T.nilable(::Integer), { 'query_param': { 'field_name': 'page', 'style': 'form', 'explode': true } }
|
18
|
-
# The slug of the project. This field is deprecated – use `workspaceId` instead.
|
19
|
-
field :project_slug, T.nilable(::String), { 'query_param': { 'field_name': 'projectSlug', 'style': 'form', 'explode': true } }
|
20
18
|
# The search term to filter the links by. The search term will be matched against the short link slug and the destination url.
|
21
19
|
field :search, T.nilable(::String), { 'query_param': { 'field_name': 'search', 'style': 'form', 'explode': true } }
|
22
20
|
# Whether to include archived links in the response. Defaults to `false` if not provided.
|
@@ -37,11 +35,10 @@ module OpenApiSDK
|
|
37
35
|
field :workspace_id, T.nilable(::String), { 'query_param': { 'field_name': 'workspaceId', 'style': 'form', 'explode': true } }
|
38
36
|
|
39
37
|
|
40
|
-
sig { params(domain: T.nilable(::String), page: T.nilable(::Integer),
|
41
|
-
def initialize(domain: nil, page: nil,
|
38
|
+
sig { params(domain: T.nilable(::String), page: T.nilable(::Integer), search: T.nilable(::String), show_archived: T.nilable(T::Boolean), sort: T.nilable(::OpenApiSDK::Operations::Sort), tag_id: T.nilable(::String), tag_ids: T.nilable(::Object), tag_names: T.nilable(::Object), user_id: T.nilable(::String), with_tags: T.nilable(T::Boolean), workspace_id: T.nilable(::String)).void }
|
39
|
+
def initialize(domain: nil, page: nil, search: nil, show_archived: nil, sort: nil, tag_id: nil, tag_ids: nil, tag_names: nil, user_id: nil, with_tags: nil, workspace_id: nil)
|
42
40
|
@domain = domain
|
43
41
|
@page = page
|
44
|
-
@project_slug = project_slug
|
45
42
|
@search = search
|
46
43
|
@show_archived = show_archived
|
47
44
|
@sort = sort
|
@@ -15,8 +15,6 @@ module OpenApiSDK
|
|
15
15
|
field :domain, T.nilable(::String), { 'query_param': { 'field_name': 'domain', 'style': 'form', 'explode': true } }
|
16
16
|
# The field to group the links by.
|
17
17
|
field :group_by, T.nilable(::Object), { 'query_param': { 'field_name': 'groupBy', 'style': 'form', 'explode': true } }
|
18
|
-
# The slug of the project. This field is deprecated – use `workspaceId` instead.
|
19
|
-
field :project_slug, T.nilable(::String), { 'query_param': { 'field_name': 'projectSlug', 'style': 'form', 'explode': true } }
|
20
18
|
# The search term to filter the links by. The search term will be matched against the short link slug and the destination url.
|
21
19
|
field :search, T.nilable(::String), { 'query_param': { 'field_name': 'search', 'style': 'form', 'explode': true } }
|
22
20
|
# Whether to include archived links in the response. Defaults to `false` if not provided.
|
@@ -35,11 +33,10 @@ module OpenApiSDK
|
|
35
33
|
field :workspace_id, T.nilable(::String), { 'query_param': { 'field_name': 'workspaceId', 'style': 'form', 'explode': true } }
|
36
34
|
|
37
35
|
|
38
|
-
sig { params(domain: T.nilable(::String), group_by: T.nilable(::Object),
|
39
|
-
def initialize(domain: nil, group_by: nil,
|
36
|
+
sig { params(domain: T.nilable(::String), group_by: T.nilable(::Object), search: T.nilable(::String), show_archived: T.nilable(T::Boolean), tag_id: T.nilable(::String), tag_ids: T.nilable(::Object), tag_names: T.nilable(::Object), user_id: T.nilable(::String), with_tags: T.nilable(T::Boolean), workspace_id: T.nilable(::String)).void }
|
37
|
+
def initialize(domain: nil, group_by: nil, search: nil, show_archived: nil, tag_id: nil, tag_ids: nil, tag_names: nil, user_id: nil, with_tags: nil, workspace_id: nil)
|
40
38
|
@domain = domain
|
41
39
|
@group_by = group_by
|
42
|
-
@project_slug = project_slug
|
43
40
|
@search = search
|
44
41
|
@show_archived = show_archived
|
45
42
|
@tag_id = tag_id
|
@@ -11,15 +11,12 @@ module OpenApiSDK
|
|
11
11
|
class GetTagsRequest < ::OpenApiSDK::Utils::FieldAugmented
|
12
12
|
extend T::Sig
|
13
13
|
|
14
|
-
# The slug of the project. This field is deprecated – use `workspaceId` instead.
|
15
|
-
field :project_slug, T.nilable(::String), { 'query_param': { 'field_name': 'projectSlug', 'style': 'form', 'explode': true } }
|
16
14
|
# The ID of the workspace.
|
17
15
|
field :workspace_id, T.nilable(::String), { 'query_param': { 'field_name': 'workspaceId', 'style': 'form', 'explode': true } }
|
18
16
|
|
19
17
|
|
20
|
-
sig { params(
|
21
|
-
def initialize(
|
22
|
-
@project_slug = project_slug
|
18
|
+
sig { params(workspace_id: T.nilable(::String)).void }
|
19
|
+
def initialize(workspace_id: nil)
|
23
20
|
@workspace_id = workspace_id
|
24
21
|
end
|
25
22
|
end
|
@@ -11,15 +11,12 @@ module OpenApiSDK
|
|
11
11
|
class ListDomainsRequest < ::OpenApiSDK::Utils::FieldAugmented
|
12
12
|
extend T::Sig
|
13
13
|
|
14
|
-
# The slug of the project. This field is deprecated – use `workspaceId` instead.
|
15
|
-
field :project_slug, T.nilable(::String), { 'query_param': { 'field_name': 'projectSlug', 'style': 'form', 'explode': true } }
|
16
14
|
# The ID of the workspace.
|
17
15
|
field :workspace_id, T.nilable(::String), { 'query_param': { 'field_name': 'workspaceId', 'style': 'form', 'explode': true } }
|
18
16
|
|
19
17
|
|
20
|
-
sig { params(
|
21
|
-
def initialize(
|
22
|
-
@project_slug = project_slug
|
18
|
+
sig { params(workspace_id: T.nilable(::String)).void }
|
19
|
+
def initialize(workspace_id: nil)
|
23
20
|
@workspace_id = workspace_id
|
24
21
|
end
|
25
22
|
end
|
@@ -37,8 +37,6 @@ module OpenApiSDK
|
|
37
37
|
field :link_id, T.nilable(::String), { 'query_param': { 'field_name': 'linkId', 'style': 'form', 'explode': true } }
|
38
38
|
# The OS to retrieve analytics for.
|
39
39
|
field :os, T.nilable(::String), { 'query_param': { 'field_name': 'os', 'style': 'form', 'explode': true } }
|
40
|
-
# The slug of the project. This field is deprecated – use `workspaceId` instead.
|
41
|
-
field :project_slug, T.nilable(::String), { 'query_param': { 'field_name': 'projectSlug', 'style': 'form', 'explode': true } }
|
42
40
|
# Filter for QR code scans. If true, filter for QR codes only. If false, filter for links only. If undefined, return both.
|
43
41
|
field :qr, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'qr', 'style': 'form', 'explode': true } }
|
44
42
|
# The referer to retrieve analytics for.
|
@@ -57,8 +55,8 @@ module OpenApiSDK
|
|
57
55
|
field :workspace_id, T.nilable(::String), { 'query_param': { 'field_name': 'workspaceId', 'style': 'form', 'explode': true } }
|
58
56
|
|
59
57
|
|
60
|
-
sig { params(browser: T.nilable(::String), city: T.nilable(::String), 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),
|
61
|
-
def initialize(browser: nil, city: 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,
|
58
|
+
sig { params(browser: T.nilable(::String), city: T.nilable(::String), 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), root: T.nilable(T::Boolean), start: T.nilable(::String), tag_id: T.nilable(::String), timezone: T.nilable(::String), url: T.nilable(::String), workspace_id: T.nilable(::String)).void }
|
59
|
+
def initialize(browser: nil, city: 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, root: nil, start: nil, tag_id: nil, timezone: nil, url: nil, workspace_id: nil)
|
62
60
|
@browser = browser
|
63
61
|
@city = city
|
64
62
|
@country = country
|
@@ -72,7 +70,6 @@ module OpenApiSDK
|
|
72
70
|
@key = key
|
73
71
|
@link_id = link_id
|
74
72
|
@os = os
|
75
|
-
@project_slug = project_slug
|
76
73
|
@qr = qr
|
77
74
|
@referer = referer
|
78
75
|
@root = root
|
@@ -11,17 +11,14 @@ module OpenApiSDK
|
|
11
11
|
class TrackCustomerRequest < ::OpenApiSDK::Utils::FieldAugmented
|
12
12
|
extend T::Sig
|
13
13
|
|
14
|
-
# The slug of the project. This field is deprecated – use `workspaceId` instead.
|
15
|
-
field :project_slug, T.nilable(::String), { 'query_param': { 'field_name': 'projectSlug', 'style': 'form', 'explode': true } }
|
16
14
|
|
17
15
|
field :request_body, T.nilable(::OpenApiSDK::Operations::TrackCustomerRequestBody), { 'request': { 'media_type': 'application/json' } }
|
18
16
|
# The ID of the workspace.
|
19
17
|
field :workspace_id, T.nilable(::String), { 'query_param': { 'field_name': 'workspaceId', 'style': 'form', 'explode': true } }
|
20
18
|
|
21
19
|
|
22
|
-
sig { params(
|
23
|
-
def initialize(
|
24
|
-
@project_slug = project_slug
|
20
|
+
sig { params(request_body: T.nilable(::OpenApiSDK::Operations::TrackCustomerRequestBody), workspace_id: T.nilable(::String)).void }
|
21
|
+
def initialize(request_body: nil, workspace_id: nil)
|
25
22
|
@request_body = request_body
|
26
23
|
@workspace_id = workspace_id
|
27
24
|
end
|
@@ -11,17 +11,14 @@ module OpenApiSDK
|
|
11
11
|
class TrackLeadRequest < ::OpenApiSDK::Utils::FieldAugmented
|
12
12
|
extend T::Sig
|
13
13
|
|
14
|
-
# The slug of the project. This field is deprecated – use `workspaceId` instead.
|
15
|
-
field :project_slug, T.nilable(::String), { 'query_param': { 'field_name': 'projectSlug', 'style': 'form', 'explode': true } }
|
16
14
|
|
17
15
|
field :request_body, T.nilable(::OpenApiSDK::Operations::TrackLeadRequestBody), { 'request': { 'media_type': 'application/json' } }
|
18
16
|
# The ID of the workspace.
|
19
17
|
field :workspace_id, T.nilable(::String), { 'query_param': { 'field_name': 'workspaceId', 'style': 'form', 'explode': true } }
|
20
18
|
|
21
19
|
|
22
|
-
sig { params(
|
23
|
-
def initialize(
|
24
|
-
@project_slug = project_slug
|
20
|
+
sig { params(request_body: T.nilable(::OpenApiSDK::Operations::TrackLeadRequestBody), workspace_id: T.nilable(::String)).void }
|
21
|
+
def initialize(request_body: nil, workspace_id: nil)
|
25
22
|
@request_body = request_body
|
26
23
|
@workspace_id = workspace_id
|
27
24
|
end
|
@@ -11,17 +11,14 @@ module OpenApiSDK
|
|
11
11
|
class TrackSaleRequest < ::OpenApiSDK::Utils::FieldAugmented
|
12
12
|
extend T::Sig
|
13
13
|
|
14
|
-
# The slug of the project. This field is deprecated – use `workspaceId` instead.
|
15
|
-
field :project_slug, T.nilable(::String), { 'query_param': { 'field_name': 'projectSlug', 'style': 'form', 'explode': true } }
|
16
14
|
|
17
15
|
field :request_body, T.nilable(::OpenApiSDK::Operations::TrackSaleRequestBody), { 'request': { 'media_type': 'application/json' } }
|
18
16
|
# The ID of the workspace.
|
19
17
|
field :workspace_id, T.nilable(::String), { 'query_param': { 'field_name': 'workspaceId', 'style': 'form', 'explode': true } }
|
20
18
|
|
21
19
|
|
22
|
-
sig { params(
|
23
|
-
def initialize(
|
24
|
-
@project_slug = project_slug
|
20
|
+
sig { params(request_body: T.nilable(::OpenApiSDK::Operations::TrackSaleRequestBody), workspace_id: T.nilable(::String)).void }
|
21
|
+
def initialize(request_body: nil, workspace_id: nil)
|
25
22
|
@request_body = request_body
|
26
23
|
@workspace_id = workspace_id
|
27
24
|
end
|
@@ -13,18 +13,15 @@ module OpenApiSDK
|
|
13
13
|
|
14
14
|
# The domain name.
|
15
15
|
field :slug, ::String, { 'path_param': { 'field_name': 'slug', 'style': 'simple', 'explode': false } }
|
16
|
-
# The slug of the project. This field is deprecated – use `workspaceId` instead.
|
17
|
-
field :project_slug, T.nilable(::String), { 'query_param': { 'field_name': 'projectSlug', 'style': 'form', 'explode': true } }
|
18
16
|
|
19
17
|
field :request_body, T.nilable(::OpenApiSDK::Operations::UpdateDomainRequestBody), { 'request': { 'media_type': 'application/json' } }
|
20
18
|
# The ID of the workspace.
|
21
19
|
field :workspace_id, T.nilable(::String), { 'query_param': { 'field_name': 'workspaceId', 'style': 'form', 'explode': true } }
|
22
20
|
|
23
21
|
|
24
|
-
sig { params(slug: ::String,
|
25
|
-
def initialize(slug: nil,
|
22
|
+
sig { params(slug: ::String, request_body: T.nilable(::OpenApiSDK::Operations::UpdateDomainRequestBody), workspace_id: T.nilable(::String)).void }
|
23
|
+
def initialize(slug: nil, request_body: nil, workspace_id: nil)
|
26
24
|
@slug = slug
|
27
|
-
@project_slug = project_slug
|
28
25
|
@request_body = request_body
|
29
26
|
@workspace_id = workspace_id
|
30
27
|
end
|
@@ -13,18 +13,15 @@ module OpenApiSDK
|
|
13
13
|
|
14
14
|
# The id of the link to update. You may use either `linkId` (obtained via `/links/info` endpoint) or `externalId` prefixed with `ext_`.
|
15
15
|
field :link_id, ::String, { 'path_param': { 'field_name': 'linkId', 'style': 'simple', 'explode': false } }
|
16
|
-
# The slug of the project. This field is deprecated – use `workspaceId` instead.
|
17
|
-
field :project_slug, T.nilable(::String), { 'query_param': { 'field_name': 'projectSlug', 'style': 'form', 'explode': true } }
|
18
16
|
|
19
17
|
field :request_body, T.nilable(::OpenApiSDK::Operations::UpdateLinkRequestBody), { 'request': { 'media_type': 'application/json' } }
|
20
18
|
# The ID of the workspace.
|
21
19
|
field :workspace_id, T.nilable(::String), { 'query_param': { 'field_name': 'workspaceId', 'style': 'form', 'explode': true } }
|
22
20
|
|
23
21
|
|
24
|
-
sig { params(link_id: ::String,
|
25
|
-
def initialize(link_id: nil,
|
22
|
+
sig { params(link_id: ::String, request_body: T.nilable(::OpenApiSDK::Operations::UpdateLinkRequestBody), workspace_id: T.nilable(::String)).void }
|
23
|
+
def initialize(link_id: nil, request_body: nil, workspace_id: nil)
|
26
24
|
@link_id = link_id
|
27
|
-
@project_slug = project_slug
|
28
25
|
@request_body = request_body
|
29
26
|
@workspace_id = workspace_id
|
30
27
|
end
|
@@ -13,18 +13,15 @@ module OpenApiSDK
|
|
13
13
|
|
14
14
|
# The ID of the tag
|
15
15
|
field :id, ::String, { 'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': false } }
|
16
|
-
# The slug of the project. This field is deprecated – use `workspaceId` instead.
|
17
|
-
field :project_slug, T.nilable(::String), { 'query_param': { 'field_name': 'projectSlug', 'style': 'form', 'explode': true } }
|
18
16
|
|
19
17
|
field :request_body, T.nilable(::OpenApiSDK::Operations::UpdateTagRequestBody), { 'request': { 'media_type': 'application/json' } }
|
20
18
|
# The ID of the workspace.
|
21
19
|
field :workspace_id, T.nilable(::String), { 'query_param': { 'field_name': 'workspaceId', 'style': 'form', 'explode': true } }
|
22
20
|
|
23
21
|
|
24
|
-
sig { params(id: ::String,
|
25
|
-
def initialize(id: nil,
|
22
|
+
sig { params(id: ::String, request_body: T.nilable(::OpenApiSDK::Operations::UpdateTagRequestBody), workspace_id: T.nilable(::String)).void }
|
23
|
+
def initialize(id: nil, request_body: nil, workspace_id: nil)
|
26
24
|
@id = id
|
27
|
-
@project_slug = project_slug
|
28
25
|
@request_body = request_body
|
29
26
|
@workspace_id = workspace_id
|
30
27
|
end
|
@@ -11,17 +11,14 @@ module OpenApiSDK
|
|
11
11
|
class UpsertLinkRequest < ::OpenApiSDK::Utils::FieldAugmented
|
12
12
|
extend T::Sig
|
13
13
|
|
14
|
-
# The slug of the project. This field is deprecated – use `workspaceId` instead.
|
15
|
-
field :project_slug, T.nilable(::String), { 'query_param': { 'field_name': 'projectSlug', 'style': 'form', 'explode': true } }
|
16
14
|
|
17
15
|
field :request_body, T.nilable(::OpenApiSDK::Operations::UpsertLinkRequestBody), { 'request': { 'media_type': 'application/json' } }
|
18
16
|
# The ID of the workspace.
|
19
17
|
field :workspace_id, T.nilable(::String), { 'query_param': { 'field_name': 'workspaceId', 'style': 'form', 'explode': true } }
|
20
18
|
|
21
19
|
|
22
|
-
sig { params(
|
23
|
-
def initialize(
|
24
|
-
@project_slug = project_slug
|
20
|
+
sig { params(request_body: T.nilable(::OpenApiSDK::Operations::UpsertLinkRequestBody), workspace_id: T.nilable(::String)).void }
|
21
|
+
def initialize(request_body: nil, workspace_id: nil)
|
25
22
|
@request_body = request_body
|
26
23
|
@workspace_id = workspace_id
|
27
24
|
end
|
@@ -40,9 +40,9 @@ module OpenApiSDK
|
|
40
40
|
@globals = globals.nil? ? {} : globals
|
41
41
|
@language = 'ruby'
|
42
42
|
@openapi_doc_version = '0.0.1'
|
43
|
-
@sdk_version = '0.1.
|
44
|
-
@gen_version = '2.359.
|
45
|
-
@user_agent = 'speakeasy-sdk/ruby 0.1.
|
43
|
+
@sdk_version = '0.1.3'
|
44
|
+
@gen_version = '2.359.6'
|
45
|
+
@user_agent = 'speakeasy-sdk/ruby 0.1.3 2.359.6 0.0.1 dub'
|
46
46
|
end
|
47
47
|
|
48
48
|
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.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dub
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-07-
|
11
|
+
date: 2024-07-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|