dub 0.2.2.pre.alpha.57 → 0.2.2.pre.alpha.58
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/models/operations/createpartner_requestbody.rb +5 -2
- data/lib/open_api_sdk/models/operations/linkprops.rb +96 -0
- data/lib/open_api_sdk/models/operations/updateworkspace_requestbody.rb +5 -2
- data/lib/open_api_sdk/models/operations.rb +1 -0
- data/lib/open_api_sdk/models/shared/workspaceschema.rb +5 -2
- data/lib/open_api_sdk/sdkconfiguration.rb +3 -3
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 47429a6d7d8e4fb16f872e496db62dc2705d0cdd71f0cea09c5c92216c0b4ad0
|
4
|
+
data.tar.gz: 3d40e296a6b9b0621d14d1db12c4689c43cbe2d2bf61242a20ce55ed310f0422
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2193343b855147d8c6469bc97c7fd2c721e5dac17800d068be1f0a48930e027adcc2884fa4d26ea62150463925abcf49641b7bc5361a2b9f0899576ff3b053e6
|
7
|
+
data.tar.gz: 80bcfc2f828762e7aad45fb78e54a7ba723321a898bcbaed0aaad90cc3cc73e1c313bc5911d3028831934dcbe163f833d4e85acbb5bfcddc0d84da27e97ea655
|
@@ -25,10 +25,12 @@ module OpenApiSDK
|
|
25
25
|
field :description, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('description') } }
|
26
26
|
# Avatar image for the partner – if not provided, a default avatar will be used.
|
27
27
|
field :image, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('image') } }
|
28
|
+
# Additional properties that you can pass to the partner's short link. Will be used to override the default link properties for this partner.
|
29
|
+
field :link_props, T.nilable(::OpenApiSDK::Operations::LinkProps), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('linkProps') } }
|
28
30
|
|
29
31
|
|
30
|
-
sig { params(email: ::String, name: ::String, program_id: ::String, username: ::String, country: T.nilable(::OpenApiSDK::Operations::Country), description: T.nilable(::String), image: T.nilable(::String)).void }
|
31
|
-
def initialize(email: nil, name: nil, program_id: nil, username: nil, country: nil, description: nil, image: nil)
|
32
|
+
sig { params(email: ::String, name: ::String, program_id: ::String, username: ::String, country: T.nilable(::OpenApiSDK::Operations::Country), description: T.nilable(::String), image: T.nilable(::String), link_props: T.nilable(::OpenApiSDK::Operations::LinkProps)).void }
|
33
|
+
def initialize(email: nil, name: nil, program_id: nil, username: nil, country: nil, description: nil, image: nil, link_props: nil)
|
32
34
|
@email = email
|
33
35
|
@name = name
|
34
36
|
@program_id = program_id
|
@@ -36,6 +38,7 @@ module OpenApiSDK
|
|
36
38
|
@country = country
|
37
39
|
@description = description
|
38
40
|
@image = image
|
41
|
+
@link_props = link_props
|
39
42
|
end
|
40
43
|
end
|
41
44
|
end
|
@@ -0,0 +1,96 @@
|
|
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
|
+
# Additional properties that you can pass to the partner's short link. Will be used to override the default link properties for this partner.
|
11
|
+
class LinkProps < ::OpenApiSDK::Utils::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
# The Android destination URL for the short link for Android device targeting.
|
15
|
+
field :android, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('android') } }
|
16
|
+
# Whether the short link is archived. Defaults to `false` if not provided.
|
17
|
+
field :archived, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('archived') } }
|
18
|
+
# The comments for the short link.
|
19
|
+
field :comments, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('comments') } }
|
20
|
+
# The custom link preview description (og:description). Will be used for Custom Social Media Cards if `proxy` is true. Learn more: https://d.to/og
|
21
|
+
field :description, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('description') } }
|
22
|
+
# Allow search engines to index your short link. Defaults to `false` if not provided. Learn more: https://d.to/noindex
|
23
|
+
field :do_index, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('doIndex') } }
|
24
|
+
# The URL to redirect to when the short link has expired.
|
25
|
+
field :expired_url, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('expiredUrl') } }
|
26
|
+
# The date and time when the short link will expire at.
|
27
|
+
field :expires_at, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('expiresAt') } }
|
28
|
+
# The ID of the link in your database. If set, it can be used to identify the link in future API requests (must be prefixed with 'ext_' when passed as a query parameter). This key is unique across your workspace.
|
29
|
+
field :external_id, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('externalId') } }
|
30
|
+
# The custom link preview image (og:image). Will be used for Custom Social Media Cards if `proxy` is true. Learn more: https://d.to/og
|
31
|
+
field :image, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('image') } }
|
32
|
+
# The iOS destination URL for the short link for iOS device targeting.
|
33
|
+
field :ios, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('ios') } }
|
34
|
+
# The password required to access the destination URL of the short link.
|
35
|
+
field :password, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('password') } }
|
36
|
+
# The prefix of the short link slug for randomly-generated keys (e.g. if prefix is `/c/`, generated keys will be in the `/c/:key` format). Will be ignored if `key` is provided.
|
37
|
+
field :prefix, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('prefix') } }
|
38
|
+
# Whether the short link uses Custom Social Media Cards feature. Defaults to `false` if not provided.
|
39
|
+
field :proxy, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('proxy') } }
|
40
|
+
# The referral tag of the short link. If set, this will populate or override the `ref` query parameter in the destination URL.
|
41
|
+
field :ref, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('ref') } }
|
42
|
+
# Whether the short link uses link cloaking. Defaults to `false` if not provided.
|
43
|
+
field :rewrite, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('rewrite') } }
|
44
|
+
# The unique IDs of the tags assigned to the short link.
|
45
|
+
field :tag_ids, T.nilable(::Object), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('tagIds') } }
|
46
|
+
# The unique name of the tags assigned to the short link (case insensitive).
|
47
|
+
field :tag_names, T.nilable(::Object), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('tagNames') } }
|
48
|
+
# The ID of the tenant that created the link inside your system. If set, it can be used to fetch all links for a tenant.
|
49
|
+
field :tenant_id, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('tenantId') } }
|
50
|
+
# The custom link preview title (og:title). Will be used for Custom Social Media Cards if `proxy` is true. Learn more: https://d.to/og
|
51
|
+
field :title, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('title') } }
|
52
|
+
# The UTM campaign of the short link. If set, this will populate or override the UTM campaign in the destination URL.
|
53
|
+
field :utm_campaign, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('utm_campaign') } }
|
54
|
+
# The UTM content of the short link. If set, this will populate or override the UTM content in the destination URL.
|
55
|
+
field :utm_content, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('utm_content') } }
|
56
|
+
# The UTM medium of the short link. If set, this will populate or override the UTM medium in the destination URL.
|
57
|
+
field :utm_medium, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('utm_medium') } }
|
58
|
+
# The UTM source of the short link. If set, this will populate or override the UTM source in the destination URL.
|
59
|
+
field :utm_source, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('utm_source') } }
|
60
|
+
# The UTM term of the short link. If set, this will populate or override the UTM term in the destination URL.
|
61
|
+
field :utm_term, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('utm_term') } }
|
62
|
+
# The custom link preview video (og:video). Will be used for Custom Social Media Cards if `proxy` is true. Learn more: https://d.to/og
|
63
|
+
field :video, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('video') } }
|
64
|
+
|
65
|
+
|
66
|
+
sig { params(android: T.nilable(::String), archived: T.nilable(T::Boolean), comments: T.nilable(::String), description: T.nilable(::String), do_index: T.nilable(T::Boolean), expired_url: T.nilable(::String), expires_at: T.nilable(::String), external_id: T.nilable(::String), image: T.nilable(::String), ios: T.nilable(::String), password: T.nilable(::String), prefix: T.nilable(::String), proxy: T.nilable(T::Boolean), ref: T.nilable(::String), rewrite: T.nilable(T::Boolean), tag_ids: T.nilable(::Object), tag_names: T.nilable(::Object), tenant_id: T.nilable(::String), title: T.nilable(::String), utm_campaign: T.nilable(::String), utm_content: T.nilable(::String), utm_medium: T.nilable(::String), utm_source: T.nilable(::String), utm_term: T.nilable(::String), video: T.nilable(::String)).void }
|
67
|
+
def initialize(android: nil, archived: nil, comments: nil, description: nil, do_index: nil, expired_url: nil, expires_at: nil, external_id: nil, image: nil, ios: nil, password: nil, prefix: nil, proxy: nil, ref: nil, rewrite: nil, tag_ids: nil, tag_names: nil, tenant_id: nil, title: nil, utm_campaign: nil, utm_content: nil, utm_medium: nil, utm_source: nil, utm_term: nil, video: nil)
|
68
|
+
@android = android
|
69
|
+
@archived = archived
|
70
|
+
@comments = comments
|
71
|
+
@description = description
|
72
|
+
@do_index = do_index
|
73
|
+
@expired_url = expired_url
|
74
|
+
@expires_at = expires_at
|
75
|
+
@external_id = external_id
|
76
|
+
@image = image
|
77
|
+
@ios = ios
|
78
|
+
@password = password
|
79
|
+
@prefix = prefix
|
80
|
+
@proxy = proxy
|
81
|
+
@ref = ref
|
82
|
+
@rewrite = rewrite
|
83
|
+
@tag_ids = tag_ids
|
84
|
+
@tag_names = tag_names
|
85
|
+
@tenant_id = tenant_id
|
86
|
+
@title = title
|
87
|
+
@utm_campaign = utm_campaign
|
88
|
+
@utm_content = utm_content
|
89
|
+
@utm_medium = utm_medium
|
90
|
+
@utm_source = utm_source
|
91
|
+
@utm_term = utm_term
|
92
|
+
@video = video
|
93
|
+
end
|
94
|
+
end
|
95
|
+
end
|
96
|
+
end
|
@@ -12,6 +12,8 @@ module OpenApiSDK
|
|
12
12
|
extend T::Sig
|
13
13
|
|
14
14
|
|
15
|
+
field :allowed_hostnames, T.nilable(T::Array[::String]), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('allowedHostnames') } }
|
16
|
+
|
15
17
|
field :conversion_enabled, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('conversionEnabled') } }
|
16
18
|
|
17
19
|
field :logo, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('logo') } }
|
@@ -21,8 +23,9 @@ module OpenApiSDK
|
|
21
23
|
field :slug, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('slug') } }
|
22
24
|
|
23
25
|
|
24
|
-
sig { params(conversion_enabled: T.nilable(T::Boolean), logo: T.nilable(::String), name: T.nilable(::String), slug: T.nilable(::String)).void }
|
25
|
-
def initialize(conversion_enabled: nil, logo: nil, name: nil, slug: nil)
|
26
|
+
sig { params(allowed_hostnames: T.nilable(T::Array[::String]), conversion_enabled: T.nilable(T::Boolean), logo: T.nilable(::String), name: T.nilable(::String), slug: T.nilable(::String)).void }
|
27
|
+
def initialize(allowed_hostnames: nil, conversion_enabled: nil, logo: nil, name: nil, slug: nil)
|
28
|
+
@allowed_hostnames = allowed_hostnames
|
26
29
|
@conversion_enabled = conversion_enabled
|
27
30
|
@logo = logo
|
28
31
|
@name = name
|
@@ -118,6 +118,7 @@ module OpenApiSDK
|
|
118
118
|
autoload :DeleteCustomerResponseBody, 'open_api_sdk/models/operations/deletecustomer_responsebody.rb'
|
119
119
|
autoload :DeleteCustomerResponse, 'open_api_sdk/models/operations/deletecustomer_response.rb'
|
120
120
|
autoload :Country, 'open_api_sdk/models/operations/country.rb'
|
121
|
+
autoload :LinkProps, 'open_api_sdk/models/operations/linkprops.rb'
|
121
122
|
autoload :CreatePartnerRequestBody, 'open_api_sdk/models/operations/createpartner_requestbody.rb'
|
122
123
|
autoload :Status, 'open_api_sdk/models/operations/status.rb'
|
123
124
|
autoload :CreatePartnerLink, 'open_api_sdk/models/operations/createpartner_link.rb'
|
@@ -15,6 +15,8 @@ module OpenApiSDK
|
|
15
15
|
field :ai_limit, ::Float, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('aiLimit') } }
|
16
16
|
# The AI usage of the workspace.
|
17
17
|
field :ai_usage, ::Float, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('aiUsage') } }
|
18
|
+
# Specifies hostnames permitted for client-side click tracking.
|
19
|
+
field :allowed_hostnames, T::Array[::String], { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('allowedHostnames') } }
|
18
20
|
# The date and time when the billing cycle starts for the workspace.
|
19
21
|
field :billing_cycle_start, ::Float, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('billingCycleStart') } }
|
20
22
|
# Whether the workspace has conversion tracking enabled automatically for new links (d.to/conversions).
|
@@ -71,10 +73,11 @@ module OpenApiSDK
|
|
71
73
|
field :flags, T.nilable(T::Hash[Symbol, T::Boolean]), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('flags') } }
|
72
74
|
|
73
75
|
|
74
|
-
sig { params(ai_limit: ::Float, ai_usage: ::Float, billing_cycle_start: ::Float, conversion_enabled: T::Boolean, created_at: ::String, domains: T::Array[::OpenApiSDK::Shared::Domains], domains_limit: ::Float, dot_link_claimed: T::Boolean, id: ::String, invite_code: ::String, links_limit: ::Float, links_usage: ::Float, logo: ::String, name: ::String, partners_enabled: T::Boolean, payment_failed_at: ::String, plan: ::OpenApiSDK::Shared::Plan, sales_limit: ::Float, sales_usage: ::Float, slug: ::String, store: T::Hash[Symbol, ::Object], stripe_connect_id: ::String, stripe_id: ::String, tags_limit: ::Float, usage: ::Float, usage_limit: ::Float, users: T::Array[::OpenApiSDK::Shared::Users], users_limit: ::Float, flags: T.nilable(T::Hash[Symbol, T::Boolean])).void }
|
75
|
-
def initialize(ai_limit: nil, ai_usage: nil, billing_cycle_start: nil, conversion_enabled: nil, created_at: nil, domains: nil, domains_limit: nil, dot_link_claimed: nil, id: nil, invite_code: nil, links_limit: nil, links_usage: nil, logo: nil, name: nil, partners_enabled: nil, payment_failed_at: nil, plan: nil, sales_limit: nil, sales_usage: nil, slug: nil, store: nil, stripe_connect_id: nil, stripe_id: nil, tags_limit: nil, usage: nil, usage_limit: nil, users: nil, users_limit: nil, flags: nil)
|
76
|
+
sig { params(ai_limit: ::Float, ai_usage: ::Float, allowed_hostnames: T::Array[::String], billing_cycle_start: ::Float, conversion_enabled: T::Boolean, created_at: ::String, domains: T::Array[::OpenApiSDK::Shared::Domains], domains_limit: ::Float, dot_link_claimed: T::Boolean, id: ::String, invite_code: ::String, links_limit: ::Float, links_usage: ::Float, logo: ::String, name: ::String, partners_enabled: T::Boolean, payment_failed_at: ::String, plan: ::OpenApiSDK::Shared::Plan, sales_limit: ::Float, sales_usage: ::Float, slug: ::String, store: T::Hash[Symbol, ::Object], stripe_connect_id: ::String, stripe_id: ::String, tags_limit: ::Float, usage: ::Float, usage_limit: ::Float, users: T::Array[::OpenApiSDK::Shared::Users], users_limit: ::Float, flags: T.nilable(T::Hash[Symbol, T::Boolean])).void }
|
77
|
+
def initialize(ai_limit: nil, ai_usage: nil, allowed_hostnames: nil, billing_cycle_start: nil, conversion_enabled: nil, created_at: nil, domains: nil, domains_limit: nil, dot_link_claimed: nil, id: nil, invite_code: nil, links_limit: nil, links_usage: nil, logo: nil, name: nil, partners_enabled: nil, payment_failed_at: nil, plan: nil, sales_limit: nil, sales_usage: nil, slug: nil, store: nil, stripe_connect_id: nil, stripe_id: nil, tags_limit: nil, usage: nil, usage_limit: nil, users: nil, users_limit: nil, flags: nil)
|
76
78
|
@ai_limit = ai_limit
|
77
79
|
@ai_usage = ai_usage
|
80
|
+
@allowed_hostnames = allowed_hostnames
|
78
81
|
@billing_cycle_start = billing_cycle_start
|
79
82
|
@conversion_enabled = conversion_enabled
|
80
83
|
@created_at = created_at
|
@@ -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.58'
|
42
|
+
@gen_version = '2.497.0'
|
43
|
+
@user_agent = 'speakeasy-sdk/ruby 0.2.2-alpha.58 2.497.0 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.58
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dub
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-01-
|
11
|
+
date: 2025-01-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -233,6 +233,7 @@ files:
|
|
233
233
|
- lib/open_api_sdk/models/operations/interval.rb
|
234
234
|
- lib/open_api_sdk/models/operations/level.rb
|
235
235
|
- lib/open_api_sdk/models/operations/link.rb
|
236
|
+
- lib/open_api_sdk/models/operations/linkprops.rb
|
236
237
|
- lib/open_api_sdk/models/operations/listdomains_request.rb
|
237
238
|
- lib/open_api_sdk/models/operations/listdomains_response.rb
|
238
239
|
- lib/open_api_sdk/models/operations/listevents_request.rb
|