dub 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3975702865ea143cf56d7280d88cf0fc0012147949fb3abb71e4d91473f0ed24
4
- data.tar.gz: d2a14b6200284af600a437ece8d51fa1ff239ee6d9e252025f64ed99defdaf30
3
+ metadata.gz: 2416524af036560cb330648a97df0e29cc1cd000633c8f8eee809874a21958d4
4
+ data.tar.gz: edb7102b2eaeedf40a0cef2c8bfd69eb48e6afb66777a851c30a04710035e68b
5
5
  SHA512:
6
- metadata.gz: a9f5e8eb2502c8efafd64cb32236001d2e67a4c08726831950bb352e23b95bcfdbafb5de85ea9b6a3d0dfe5dc723372d8ce27001e4fef742f5ee83df63171f83
7
- data.tar.gz: 21d7013298bfebebe6e425e0bb2899130ac871a94cd6c28f8dd88b4840f7a0fb16e9eb2e022d8673e317a0e2d3a5bb9e164f2b427469149a7568a25c89e7d7e3
6
+ metadata.gz: 6b50d5c9d7be235f657cdd4eb9eb60aff58a0b1cdbc8852e2510af07496db4dbec6ef186489a87d5f9410dc3f8c1d066f3b38a365bea4c35f78e9690ee7b6b3b
7
+ data.tar.gz: d0a194e354d3b6ce1cef475818febf521abc9e89d25020107279b7413d7a85072c0e6b4494b7e12439cbd92fda3d2c1372e833391348e59b5f657ae3c409706c
@@ -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. The list will be paginated and the provided query parameters allow filtering the returned links.
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 the number of links
190
- # Retrieve the number of links for the authenticated workspace. The provided query parameters allow filtering the returned links.
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(project_slug: T.nilable(::String), request_body: T.nilable(T::Array[::OpenApiSDK::Operations::RequestBody]), workspace_id: T.nilable(::String)).void }
23
- def initialize(project_slug: nil, request_body: nil, workspace_id: nil)
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(project_slug: T.nilable(::String), request_body: T.nilable(::OpenApiSDK::Operations::CreateDomainRequestBody), workspace_id: T.nilable(::String)).void }
23
- def initialize(project_slug: nil, request_body: nil, workspace_id: nil)
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(project_slug: T.nilable(::String), request_body: T.nilable(::OpenApiSDK::Operations::CreateLinkRequestBody), workspace_id: T.nilable(::String)).void }
23
- def initialize(project_slug: nil, request_body: nil, workspace_id: nil)
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(project_slug: T.nilable(::String), request_body: T.nilable(::OpenApiSDK::Operations::CreateTagRequestBody), workspace_id: T.nilable(::String)).void }
23
- def initialize(project_slug: nil, request_body: nil, workspace_id: nil)
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, project_slug: T.nilable(::String), workspace_id: T.nilable(::String)).void }
23
- def initialize(slug: nil, project_slug: nil, workspace_id: 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, project_slug: T.nilable(::String), workspace_id: T.nilable(::String)).void }
23
- def initialize(link_id: nil, project_slug: nil, workspace_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), project_slug: T.nilable(::String), workspace_id: T.nilable(::String)).void }
29
- def initialize(domain: nil, external_id: nil, key: nil, link_id: nil, project_slug: nil, workspace_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), project_slug: T.nilable(::String), 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 }
41
- def initialize(domain: nil, page: nil, project_slug: 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)
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), project_slug: T.nilable(::String), 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 }
39
- def initialize(domain: nil, group_by: nil, project_slug: nil, search: nil, show_archived: nil, tag_id: nil, tag_ids: nil, tag_names: nil, user_id: nil, with_tags: nil, workspace_id: 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(project_slug: T.nilable(::String), workspace_id: T.nilable(::String)).void }
21
- def initialize(project_slug: nil, workspace_id: nil)
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(project_slug: T.nilable(::String), workspace_id: T.nilable(::String)).void }
21
- def initialize(project_slug: nil, workspace_id: nil)
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), project_slug: 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 }
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, project_slug: nil, qr: nil, referer: nil, root: nil, start: nil, tag_id: nil, timezone: nil, url: nil, workspace_id: 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(project_slug: T.nilable(::String), request_body: T.nilable(::OpenApiSDK::Operations::TrackCustomerRequestBody), workspace_id: T.nilable(::String)).void }
23
- def initialize(project_slug: nil, request_body: nil, workspace_id: nil)
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(project_slug: T.nilable(::String), request_body: T.nilable(::OpenApiSDK::Operations::TrackLeadRequestBody), workspace_id: T.nilable(::String)).void }
23
- def initialize(project_slug: nil, request_body: nil, workspace_id: nil)
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(project_slug: T.nilable(::String), request_body: T.nilable(::OpenApiSDK::Operations::TrackSaleRequestBody), workspace_id: T.nilable(::String)).void }
23
- def initialize(project_slug: nil, request_body: nil, workspace_id: nil)
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, project_slug: T.nilable(::String), request_body: T.nilable(::OpenApiSDK::Operations::UpdateDomainRequestBody), workspace_id: T.nilable(::String)).void }
25
- def initialize(slug: nil, project_slug: nil, request_body: nil, workspace_id: 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, project_slug: T.nilable(::String), request_body: T.nilable(::OpenApiSDK::Operations::UpdateLinkRequestBody), workspace_id: T.nilable(::String)).void }
25
- def initialize(link_id: nil, project_slug: nil, request_body: nil, workspace_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, project_slug: T.nilable(::String), request_body: T.nilable(::OpenApiSDK::Operations::UpdateTagRequestBody), workspace_id: T.nilable(::String)).void }
25
- def initialize(id: nil, project_slug: nil, request_body: nil, workspace_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(project_slug: T.nilable(::String), request_body: T.nilable(::OpenApiSDK::Operations::UpsertLinkRequestBody), workspace_id: T.nilable(::String)).void }
23
- def initialize(project_slug: nil, request_body: nil, workspace_id: nil)
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.2'
44
- @gen_version = '2.359.0'
45
- @user_agent = 'speakeasy-sdk/ruby 0.1.2 2.359.0 0.0.1 dub'
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.2
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-03 00:00:00.000000000 Z
11
+ date: 2024-07-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday