dub 0.2.2.pre.alpha.44 → 0.2.2.pre.alpha.46
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/createlink_requestbody.rb +2 -5
- data/lib/open_api_sdk/models/operations/requestbody.rb +2 -5
- data/lib/open_api_sdk/models/operations/updatelink_requestbody.rb +2 -5
- data/lib/open_api_sdk/models/operations/upsertlink_requestbody.rb +2 -5
- data/lib/open_api_sdk/models/shared/link.rb +2 -5
- data/lib/open_api_sdk/models/shared/linkschema.rb +2 -5
- data/lib/open_api_sdk/models/shared/workspaceschema.rb +5 -14
- data/lib/open_api_sdk/sdkconfiguration.rb +3 -3
- data/lib/open_api_sdk/utils/utils.rb +2 -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: 1cde24f7949ee723b59f8d7bf5e095cd4d43e2fe9847de1efb24537f39eb6723
|
4
|
+
data.tar.gz: 3ac5d4f3728220cf09e4282d449c265f5c5a1af731c6d0fff2b2d9571eb6e90b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6c8209a9afdcc3e4de7aad3313cc0b37cc1150ef4a49e5c99d55ff56a89c386ecec06664341eba5ee4a4efb0064a840a407eaa28a7fd19e8f716513df77ec5ed
|
7
|
+
data.tar.gz: 12e56a2229daea3a6c6886f1bf5e18f16df4ee255f38a7de3e543392cb59cd86ae4acb270a6bce70edef8206f1c5580cbd0d4da97752d56a8f334a54c5ff5bcd
|
@@ -33,8 +33,6 @@ module OpenApiSDK
|
|
33
33
|
field :external_id, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('externalId') } }
|
34
34
|
# Geo targeting information for the short link in JSON format `{[COUNTRY]: https://example.com }`.
|
35
35
|
field :geo, T.nilable(::OpenApiSDK::Shared::LinkGeoTargeting), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('geo') } }
|
36
|
-
# The identifier of the short link that is unique across your workspace. If set, it can be used to identify your short link for client-side click tracking.
|
37
|
-
field :identifier, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('identifier') } }
|
38
36
|
# 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
|
39
37
|
field :image, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('image') } }
|
40
38
|
# The iOS destination URL for the short link for iOS device targeting.
|
@@ -85,8 +83,8 @@ module OpenApiSDK
|
|
85
83
|
field :webhook_ids, T.nilable(T::Array[::String]), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('webhookIds') } }
|
86
84
|
|
87
85
|
|
88
|
-
sig { params(url: ::String, android: T.nilable(::String), archived: T.nilable(T::Boolean), comments: T.nilable(::String), description: T.nilable(::String), do_index: T.nilable(T::Boolean), domain: T.nilable(::String), expired_url: T.nilable(::String), expires_at: T.nilable(::String), external_id: T.nilable(::String), geo: T.nilable(::OpenApiSDK::Shared::LinkGeoTargeting),
|
89
|
-
def initialize(url: nil, android: nil, archived: nil, comments: nil, description: nil, do_index: nil, domain: nil, expired_url: nil, expires_at: nil, external_id: nil, geo: nil,
|
86
|
+
sig { params(url: ::String, android: T.nilable(::String), archived: T.nilable(T::Boolean), comments: T.nilable(::String), description: T.nilable(::String), do_index: T.nilable(T::Boolean), domain: T.nilable(::String), expired_url: T.nilable(::String), expires_at: T.nilable(::String), external_id: T.nilable(::String), geo: T.nilable(::OpenApiSDK::Shared::LinkGeoTargeting), image: T.nilable(::String), ios: T.nilable(::String), key: T.nilable(::String), password: T.nilable(::String), prefix: T.nilable(::String), program_id: T.nilable(::String), proxy: T.nilable(T::Boolean), public_stats: T.nilable(T::Boolean), ref: T.nilable(::String), rewrite: T.nilable(T::Boolean), tag_id: T.nilable(::String), tag_ids: T.nilable(::Object), tag_names: T.nilable(::Object), title: T.nilable(::String), track_conversion: T.nilable(T::Boolean), 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), webhook_ids: T.nilable(T::Array[::String])).void }
|
87
|
+
def initialize(url: nil, android: nil, archived: nil, comments: nil, description: nil, do_index: nil, domain: nil, expired_url: nil, expires_at: nil, external_id: nil, geo: nil, image: nil, ios: nil, key: nil, password: nil, prefix: nil, program_id: nil, proxy: nil, public_stats: nil, ref: nil, rewrite: nil, tag_id: nil, tag_ids: nil, tag_names: nil, title: nil, track_conversion: nil, utm_campaign: nil, utm_content: nil, utm_medium: nil, utm_source: nil, utm_term: nil, video: nil, webhook_ids: nil)
|
90
88
|
@url = url
|
91
89
|
@android = android
|
92
90
|
@archived = archived
|
@@ -98,7 +96,6 @@ module OpenApiSDK
|
|
98
96
|
@expires_at = expires_at
|
99
97
|
@external_id = external_id
|
100
98
|
@geo = geo
|
101
|
-
@identifier = identifier
|
102
99
|
@image = image
|
103
100
|
@ios = ios
|
104
101
|
@key = key
|
@@ -33,8 +33,6 @@ module OpenApiSDK
|
|
33
33
|
field :external_id, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('externalId') } }
|
34
34
|
# Geo targeting information for the short link in JSON format `{[COUNTRY]: https://example.com }`.
|
35
35
|
field :geo, T.nilable(::OpenApiSDK::Shared::LinkGeoTargeting), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('geo') } }
|
36
|
-
# The identifier of the short link that is unique across your workspace. If set, it can be used to identify your short link for client-side click tracking.
|
37
|
-
field :identifier, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('identifier') } }
|
38
36
|
# 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
|
39
37
|
field :image, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('image') } }
|
40
38
|
# The iOS destination URL for the short link for iOS device targeting.
|
@@ -85,8 +83,8 @@ module OpenApiSDK
|
|
85
83
|
field :webhook_ids, T.nilable(T::Array[::String]), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('webhookIds') } }
|
86
84
|
|
87
85
|
|
88
|
-
sig { params(url: ::String, android: T.nilable(::String), archived: T.nilable(T::Boolean), comments: T.nilable(::String), description: T.nilable(::String), do_index: T.nilable(T::Boolean), domain: T.nilable(::String), expired_url: T.nilable(::String), expires_at: T.nilable(::String), external_id: T.nilable(::String), geo: T.nilable(::OpenApiSDK::Shared::LinkGeoTargeting),
|
89
|
-
def initialize(url: nil, android: nil, archived: nil, comments: nil, description: nil, do_index: nil, domain: nil, expired_url: nil, expires_at: nil, external_id: nil, geo: nil,
|
86
|
+
sig { params(url: ::String, android: T.nilable(::String), archived: T.nilable(T::Boolean), comments: T.nilable(::String), description: T.nilable(::String), do_index: T.nilable(T::Boolean), domain: T.nilable(::String), expired_url: T.nilable(::String), expires_at: T.nilable(::String), external_id: T.nilable(::String), geo: T.nilable(::OpenApiSDK::Shared::LinkGeoTargeting), image: T.nilable(::String), ios: T.nilable(::String), key: T.nilable(::String), password: T.nilable(::String), prefix: T.nilable(::String), program_id: T.nilable(::String), proxy: T.nilable(T::Boolean), public_stats: T.nilable(T::Boolean), ref: T.nilable(::String), rewrite: T.nilable(T::Boolean), tag_id: T.nilable(::String), tag_ids: T.nilable(::Object), tag_names: T.nilable(::Object), title: T.nilable(::String), track_conversion: T.nilable(T::Boolean), 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), webhook_ids: T.nilable(T::Array[::String])).void }
|
87
|
+
def initialize(url: nil, android: nil, archived: nil, comments: nil, description: nil, do_index: nil, domain: nil, expired_url: nil, expires_at: nil, external_id: nil, geo: nil, image: nil, ios: nil, key: nil, password: nil, prefix: nil, program_id: nil, proxy: nil, public_stats: nil, ref: nil, rewrite: nil, tag_id: nil, tag_ids: nil, tag_names: nil, title: nil, track_conversion: nil, utm_campaign: nil, utm_content: nil, utm_medium: nil, utm_source: nil, utm_term: nil, video: nil, webhook_ids: nil)
|
90
88
|
@url = url
|
91
89
|
@android = android
|
92
90
|
@archived = archived
|
@@ -98,7 +96,6 @@ module OpenApiSDK
|
|
98
96
|
@expires_at = expires_at
|
99
97
|
@external_id = external_id
|
100
98
|
@geo = geo
|
101
|
-
@identifier = identifier
|
102
99
|
@image = image
|
103
100
|
@ios = ios
|
104
101
|
@key = key
|
@@ -31,8 +31,6 @@ module OpenApiSDK
|
|
31
31
|
field :external_id, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('externalId') } }
|
32
32
|
# Geo targeting information for the short link in JSON format `{[COUNTRY]: https://example.com }`.
|
33
33
|
field :geo, T.nilable(::OpenApiSDK::Shared::LinkGeoTargeting), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('geo') } }
|
34
|
-
# The identifier of the short link that is unique across your workspace. If set, it can be used to identify your short link for client-side click tracking.
|
35
|
-
field :identifier, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('identifier') } }
|
36
34
|
# 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
|
37
35
|
field :image, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('image') } }
|
38
36
|
# The iOS destination URL for the short link for iOS device targeting.
|
@@ -85,8 +83,8 @@ module OpenApiSDK
|
|
85
83
|
field :webhook_ids, T.nilable(T::Array[::String]), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('webhookIds') } }
|
86
84
|
|
87
85
|
|
88
|
-
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), domain: T.nilable(::String), expired_url: T.nilable(::String), expires_at: T.nilable(::String), external_id: T.nilable(::String), geo: T.nilable(::OpenApiSDK::Shared::LinkGeoTargeting),
|
89
|
-
def initialize(android: nil, archived: nil, comments: nil, description: nil, do_index: nil, domain: nil, expired_url: nil, expires_at: nil, external_id: nil, geo: nil,
|
86
|
+
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), domain: T.nilable(::String), expired_url: T.nilable(::String), expires_at: T.nilable(::String), external_id: T.nilable(::String), geo: T.nilable(::OpenApiSDK::Shared::LinkGeoTargeting), image: T.nilable(::String), ios: T.nilable(::String), key: T.nilable(::String), password: T.nilable(::String), prefix: T.nilable(::String), program_id: T.nilable(::String), proxy: T.nilable(T::Boolean), public_stats: T.nilable(T::Boolean), ref: T.nilable(::String), rewrite: T.nilable(T::Boolean), tag_id: T.nilable(::String), tag_ids: T.nilable(::Object), tag_names: T.nilable(::Object), title: T.nilable(::String), track_conversion: T.nilable(T::Boolean), url: 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), webhook_ids: T.nilable(T::Array[::String])).void }
|
87
|
+
def initialize(android: nil, archived: nil, comments: nil, description: nil, do_index: nil, domain: nil, expired_url: nil, expires_at: nil, external_id: nil, geo: nil, image: nil, ios: nil, key: nil, password: nil, prefix: nil, program_id: nil, proxy: nil, public_stats: nil, ref: nil, rewrite: nil, tag_id: nil, tag_ids: nil, tag_names: nil, title: nil, track_conversion: nil, url: nil, utm_campaign: nil, utm_content: nil, utm_medium: nil, utm_source: nil, utm_term: nil, video: nil, webhook_ids: nil)
|
90
88
|
@android = android
|
91
89
|
@archived = archived
|
92
90
|
@comments = comments
|
@@ -97,7 +95,6 @@ module OpenApiSDK
|
|
97
95
|
@expires_at = expires_at
|
98
96
|
@external_id = external_id
|
99
97
|
@geo = geo
|
100
|
-
@identifier = identifier
|
101
98
|
@image = image
|
102
99
|
@ios = ios
|
103
100
|
@key = key
|
@@ -33,8 +33,6 @@ module OpenApiSDK
|
|
33
33
|
field :external_id, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('externalId') } }
|
34
34
|
# Geo targeting information for the short link in JSON format `{[COUNTRY]: https://example.com }`.
|
35
35
|
field :geo, T.nilable(::OpenApiSDK::Shared::LinkGeoTargeting), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('geo') } }
|
36
|
-
# The identifier of the short link that is unique across your workspace. If set, it can be used to identify your short link for client-side click tracking.
|
37
|
-
field :identifier, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('identifier') } }
|
38
36
|
# 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
|
39
37
|
field :image, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('image') } }
|
40
38
|
# The iOS destination URL for the short link for iOS device targeting.
|
@@ -85,8 +83,8 @@ module OpenApiSDK
|
|
85
83
|
field :webhook_ids, T.nilable(T::Array[::String]), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('webhookIds') } }
|
86
84
|
|
87
85
|
|
88
|
-
sig { params(url: ::String, android: T.nilable(::String), archived: T.nilable(T::Boolean), comments: T.nilable(::String), description: T.nilable(::String), do_index: T.nilable(T::Boolean), domain: T.nilable(::String), expired_url: T.nilable(::String), expires_at: T.nilable(::String), external_id: T.nilable(::String), geo: T.nilable(::OpenApiSDK::Shared::LinkGeoTargeting),
|
89
|
-
def initialize(url: nil, android: nil, archived: nil, comments: nil, description: nil, do_index: nil, domain: nil, expired_url: nil, expires_at: nil, external_id: nil, geo: nil,
|
86
|
+
sig { params(url: ::String, android: T.nilable(::String), archived: T.nilable(T::Boolean), comments: T.nilable(::String), description: T.nilable(::String), do_index: T.nilable(T::Boolean), domain: T.nilable(::String), expired_url: T.nilable(::String), expires_at: T.nilable(::String), external_id: T.nilable(::String), geo: T.nilable(::OpenApiSDK::Shared::LinkGeoTargeting), image: T.nilable(::String), ios: T.nilable(::String), key: T.nilable(::String), password: T.nilable(::String), prefix: T.nilable(::String), program_id: T.nilable(::String), proxy: T.nilable(T::Boolean), public_stats: T.nilable(T::Boolean), ref: T.nilable(::String), rewrite: T.nilable(T::Boolean), tag_id: T.nilable(::String), tag_ids: T.nilable(::Object), tag_names: T.nilable(::Object), title: T.nilable(::String), track_conversion: T.nilable(T::Boolean), 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), webhook_ids: T.nilable(T::Array[::String])).void }
|
87
|
+
def initialize(url: nil, android: nil, archived: nil, comments: nil, description: nil, do_index: nil, domain: nil, expired_url: nil, expires_at: nil, external_id: nil, geo: nil, image: nil, ios: nil, key: nil, password: nil, prefix: nil, program_id: nil, proxy: nil, public_stats: nil, ref: nil, rewrite: nil, tag_id: nil, tag_ids: nil, tag_names: nil, title: nil, track_conversion: nil, utm_campaign: nil, utm_content: nil, utm_medium: nil, utm_source: nil, utm_term: nil, video: nil, webhook_ids: nil)
|
90
88
|
@url = url
|
91
89
|
@android = android
|
92
90
|
@archived = archived
|
@@ -98,7 +96,6 @@ module OpenApiSDK
|
|
98
96
|
@expires_at = expires_at
|
99
97
|
@external_id = external_id
|
100
98
|
@geo = geo
|
101
|
-
@identifier = identifier
|
102
99
|
@image = image
|
103
100
|
@ios = ios
|
104
101
|
@key = key
|
@@ -33,8 +33,6 @@ module OpenApiSDK
|
|
33
33
|
field :geo, ::OpenApiSDK::Shared::ClickEventGeo, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('geo') } }
|
34
34
|
# The unique ID of the short link.
|
35
35
|
field :id, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('id') } }
|
36
|
-
# The identifier of the short link that is unique across your workspace. If set, it can be used to identify your short link for client-side click tracking.
|
37
|
-
field :identifier, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('identifier') } }
|
38
36
|
# The image of the short link generated via `api.dub.co/metatags`. Will be used for Custom Social Media Cards if `proxy` is true.
|
39
37
|
field :image, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('image') } }
|
40
38
|
# The iOS destination URL for the short link for iOS device targeting.
|
@@ -105,8 +103,8 @@ module OpenApiSDK
|
|
105
103
|
field :track_conversion, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('trackConversion') } }
|
106
104
|
|
107
105
|
|
108
|
-
sig { params(android: ::String, clicks: ::Float, comments: ::String, created_at: ::String, description: ::String, domain: ::String, expired_url: ::String, expires_at: ::String, external_id: ::String, geo: ::OpenApiSDK::Shared::ClickEventGeo, id: ::String,
|
109
|
-
def initialize(android: nil, clicks: nil, comments: nil, created_at: nil, description: nil, domain: nil, expired_url: nil, expires_at: nil, external_id: nil, geo: nil, id: nil,
|
106
|
+
sig { params(android: ::String, clicks: ::Float, comments: ::String, created_at: ::String, description: ::String, domain: ::String, expired_url: ::String, expires_at: ::String, external_id: ::String, geo: ::OpenApiSDK::Shared::ClickEventGeo, id: ::String, image: ::String, ios: ::String, key: ::String, last_clicked: ::String, leads: ::Float, password: ::String, program_id: ::String, project_id: ::String, qr_code: ::String, sale_amount: ::Float, sales: ::Float, short_link: ::String, tag_id: ::String, tags: T::Array[::OpenApiSDK::Shared::TagSchema], title: ::String, updated_at: ::String, url: ::String, user_id: ::String, utm_campaign: ::String, utm_content: ::String, utm_medium: ::String, utm_source: ::String, utm_term: ::String, video: ::String, webhook_ids: T::Array[::String], workspace_id: ::String, archived: T.nilable(T::Boolean), do_index: T.nilable(T::Boolean), proxy: T.nilable(T::Boolean), public_stats: T.nilable(T::Boolean), rewrite: T.nilable(T::Boolean), track_conversion: T.nilable(T::Boolean)).void }
|
107
|
+
def initialize(android: nil, clicks: nil, comments: nil, created_at: nil, description: nil, domain: nil, expired_url: nil, expires_at: nil, external_id: nil, geo: nil, id: nil, image: nil, ios: nil, key: nil, last_clicked: nil, leads: nil, password: nil, program_id: nil, project_id: nil, qr_code: nil, sale_amount: nil, sales: nil, short_link: nil, tag_id: nil, tags: nil, title: nil, updated_at: nil, url: nil, user_id: nil, utm_campaign: nil, utm_content: nil, utm_medium: nil, utm_source: nil, utm_term: nil, video: nil, webhook_ids: nil, workspace_id: nil, archived: nil, do_index: nil, proxy: nil, public_stats: nil, rewrite: nil, track_conversion: nil)
|
110
108
|
@android = android
|
111
109
|
@clicks = clicks
|
112
110
|
@comments = comments
|
@@ -118,7 +116,6 @@ module OpenApiSDK
|
|
118
116
|
@external_id = external_id
|
119
117
|
@geo = geo
|
120
118
|
@id = id
|
121
|
-
@identifier = identifier
|
122
119
|
@image = image
|
123
120
|
@ios = ios
|
124
121
|
@key = key
|
@@ -37,8 +37,6 @@ module OpenApiSDK
|
|
37
37
|
field :geo, ::OpenApiSDK::Shared::Geo, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('geo') } }
|
38
38
|
# The unique ID of the short link.
|
39
39
|
field :id, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('id') } }
|
40
|
-
# The identifier of the short link that is unique across your workspace. If set, it can be used to identify your short link for client-side click tracking.
|
41
|
-
field :identifier, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('identifier') } }
|
42
40
|
# The image of the short link generated via `api.dub.co/metatags`. Will be used for Custom Social Media Cards if `proxy` is true.
|
43
41
|
field :image, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('image') } }
|
44
42
|
# The iOS destination URL for the short link for iOS device targeting.
|
@@ -105,8 +103,8 @@ module OpenApiSDK
|
|
105
103
|
field :workspace_id, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('workspaceId') } }
|
106
104
|
|
107
105
|
|
108
|
-
sig { params(android: ::String, archived: T::Boolean, clicks: ::Float, comments: ::String, created_at: ::String, description: ::String, do_index: T::Boolean, domain: ::String, expired_url: ::String, expires_at: ::String, external_id: ::String, geo: ::OpenApiSDK::Shared::Geo, id: ::String,
|
109
|
-
def initialize(android: nil, archived: nil, clicks: nil, comments: nil, created_at: nil, description: nil, do_index: nil, domain: nil, expired_url: nil, expires_at: nil, external_id: nil, geo: nil, id: nil,
|
106
|
+
sig { params(android: ::String, archived: T::Boolean, clicks: ::Float, comments: ::String, created_at: ::String, description: ::String, do_index: T::Boolean, domain: ::String, expired_url: ::String, expires_at: ::String, external_id: ::String, geo: ::OpenApiSDK::Shared::Geo, id: ::String, image: ::String, ios: ::String, key: ::String, last_clicked: ::String, leads: ::Float, password: ::String, program_id: ::String, project_id: ::String, proxy: T::Boolean, public_stats: T::Boolean, qr_code: ::String, rewrite: T::Boolean, sale_amount: ::Float, sales: ::Float, short_link: ::String, tag_id: ::String, tags: T::Array[::OpenApiSDK::Shared::TagSchema], title: ::String, track_conversion: T::Boolean, updated_at: ::String, url: ::String, user_id: ::String, utm_campaign: ::String, utm_content: ::String, utm_medium: ::String, utm_source: ::String, utm_term: ::String, video: ::String, webhook_ids: T::Array[::String], workspace_id: ::String).void }
|
107
|
+
def initialize(android: nil, archived: nil, clicks: nil, comments: nil, created_at: nil, description: nil, do_index: nil, domain: nil, expired_url: nil, expires_at: nil, external_id: nil, geo: nil, id: nil, image: nil, ios: nil, key: nil, last_clicked: nil, leads: nil, password: nil, program_id: nil, project_id: nil, proxy: nil, public_stats: nil, qr_code: nil, rewrite: nil, sale_amount: nil, sales: nil, short_link: nil, tag_id: nil, tags: nil, title: nil, track_conversion: nil, updated_at: nil, url: nil, user_id: nil, utm_campaign: nil, utm_content: nil, utm_medium: nil, utm_source: nil, utm_term: nil, video: nil, webhook_ids: nil, workspace_id: nil)
|
110
108
|
@android = android
|
111
109
|
@archived = archived
|
112
110
|
@clicks = clicks
|
@@ -120,7 +118,6 @@ module OpenApiSDK
|
|
120
118
|
@external_id = external_id
|
121
119
|
@geo = geo
|
122
120
|
@id = id
|
123
|
-
@identifier = identifier
|
124
121
|
@image = image
|
125
122
|
@ios = ios
|
126
123
|
@key = key
|
@@ -15,10 +15,6 @@ 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
|
-
# [BETA – Dub Partners]: The name of the connected bank account.
|
19
|
-
field :bank_account_name, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('bankAccountName') } }
|
20
|
-
# [BETA – Dub Partners]: Whether the bank account is verified.
|
21
|
-
field :bank_account_verified, T::Boolean, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('bankAccountVerified') } }
|
22
18
|
# The date and time when the billing cycle starts for the workspace.
|
23
19
|
field :billing_cycle_start, ::Float, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('billingCycleStart') } }
|
24
20
|
# Whether the workspace has conversion tracking enabled (d.to/conversions).
|
@@ -43,14 +39,12 @@ module OpenApiSDK
|
|
43
39
|
field :logo, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('logo') } }
|
44
40
|
# The name of the workspace.
|
45
41
|
field :name, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('name') } }
|
46
|
-
# [BETA – Dub Partners]: The partial account number of the bank account.
|
47
|
-
field :partial_account_number, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('partialAccountNumber') } }
|
48
42
|
# The date and time when the payment failed for the workspace.
|
49
43
|
field :payment_failed_at, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('paymentFailedAt') } }
|
44
|
+
# [BETA – Dub Partners]: The ID of the payment method for partner payouts.
|
45
|
+
field :payout_method_id, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('payoutMethodId') } }
|
50
46
|
# The plan of the workspace.
|
51
47
|
field :plan, ::OpenApiSDK::Shared::Plan, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('plan'), 'decoder': Utils.enum_from_string(::OpenApiSDK::Shared::Plan, false) } }
|
52
|
-
# [BETA – Dub Partners]: The routing number of the bank account.
|
53
|
-
field :routing_number, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('routingNumber') } }
|
54
48
|
# The limit of tracked revenue in the current billing cycle (in cents).
|
55
49
|
field :sales_limit, ::Float, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('salesLimit') } }
|
56
50
|
# The dollar amount of tracked revenue in the current billing cycle (in cents).
|
@@ -75,12 +69,10 @@ module OpenApiSDK
|
|
75
69
|
field :flags, T.nilable(T::Hash[Symbol, T::Boolean]), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('flags') } }
|
76
70
|
|
77
71
|
|
78
|
-
sig { params(ai_limit: ::Float, ai_usage: ::Float,
|
79
|
-
def initialize(ai_limit: nil, ai_usage: nil,
|
72
|
+
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, payment_failed_at: ::String, payout_method_id: ::String, plan: ::OpenApiSDK::Shared::Plan, sales_limit: ::Float, sales_usage: ::Float, slug: ::String, 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 }
|
73
|
+
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, payment_failed_at: nil, payout_method_id: nil, plan: nil, sales_limit: nil, sales_usage: nil, slug: nil, stripe_connect_id: nil, stripe_id: nil, tags_limit: nil, usage: nil, usage_limit: nil, users: nil, users_limit: nil, flags: nil)
|
80
74
|
@ai_limit = ai_limit
|
81
75
|
@ai_usage = ai_usage
|
82
|
-
@bank_account_name = bank_account_name
|
83
|
-
@bank_account_verified = bank_account_verified
|
84
76
|
@billing_cycle_start = billing_cycle_start
|
85
77
|
@conversion_enabled = conversion_enabled
|
86
78
|
@created_at = created_at
|
@@ -93,10 +85,9 @@ module OpenApiSDK
|
|
93
85
|
@links_usage = links_usage
|
94
86
|
@logo = logo
|
95
87
|
@name = name
|
96
|
-
@partial_account_number = partial_account_number
|
97
88
|
@payment_failed_at = payment_failed_at
|
89
|
+
@payout_method_id = payout_method_id
|
98
90
|
@plan = plan
|
99
|
-
@routing_number = routing_number
|
100
91
|
@sales_limit = sales_limit
|
101
92
|
@sales_usage = sales_usage
|
102
93
|
@slug = slug
|
@@ -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.46'
|
42
|
+
@gen_version = '2.481.0'
|
43
|
+
@user_agent = 'speakeasy-sdk/ruby 0.2.2-alpha.46 2.481.0 0.0.1 dub'
|
44
44
|
end
|
45
45
|
|
46
46
|
sig { returns([String, T::Hash[Symbol, String]]) }
|
@@ -593,7 +593,7 @@ module OpenApiSDK
|
|
593
593
|
file_fields = val.fields
|
594
594
|
|
595
595
|
file_name = ''
|
596
|
-
field_name =
|
596
|
+
field_name = field_metadata[:field_name]
|
597
597
|
content = nil
|
598
598
|
|
599
599
|
file_fields.each do |file_field|
|
@@ -603,11 +603,10 @@ module OpenApiSDK
|
|
603
603
|
if file_metadata[:content] == true
|
604
604
|
content = val.send(file_field.name)
|
605
605
|
else
|
606
|
-
field_name = file_metadata.fetch(:field_name, file_field.name)
|
607
606
|
file_name = val.send(file_field.name)
|
608
607
|
end
|
609
608
|
end
|
610
|
-
raise StandardError, 'invalid multipart/form-data file' if
|
609
|
+
raise StandardError, 'invalid multipart/form-data file' if file_name == '' || content == nil?
|
611
610
|
|
612
611
|
form.append([field_name, [file_name, content]])
|
613
612
|
elsif field_metadata[:json] == true
|
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.46
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dub
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-12-
|
11
|
+
date: 2024-12-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|