dub 0.2.2.pre.alpha.42 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/dub.rb +3 -6
- data/lib/open_api_sdk/analytics.rb +1 -2
- data/lib/open_api_sdk/domains.rb +55 -61
- data/lib/open_api_sdk/dub.rb +4 -7
- data/lib/open_api_sdk/links.rb +55 -143
- data/lib/open_api_sdk/metatags.rb +1 -2
- data/lib/open_api_sdk/models/operations/bulkcreatelinks_response.rb +1 -1
- data/lib/open_api_sdk/models/operations/bulkupdatelinks_requestbody.rb +5 -8
- data/lib/open_api_sdk/models/operations/bulkupdatelinks_response.rb +1 -1
- data/lib/open_api_sdk/models/operations/color.rb +2 -1
- data/lib/open_api_sdk/models/operations/createdomain_requestbody.rb +3 -9
- data/lib/open_api_sdk/models/operations/createdomain_response.rb +1 -1
- data/lib/open_api_sdk/models/operations/createlink_requestbody.rb +7 -39
- data/lib/open_api_sdk/models/operations/createlink_response.rb +1 -1
- data/lib/open_api_sdk/models/operations/createtag_requestbody.rb +1 -1
- data/lib/open_api_sdk/models/operations/createtag_response.rb +1 -1
- data/lib/open_api_sdk/models/operations/data.rb +7 -36
- data/lib/open_api_sdk/models/operations/deletedomain_request.rb +1 -1
- data/lib/open_api_sdk/models/operations/deletedomain_response.rb +1 -1
- data/lib/open_api_sdk/models/operations/deletedomain_responsebody.rb +1 -1
- data/lib/open_api_sdk/models/operations/deletelink_request.rb +1 -1
- data/lib/open_api_sdk/models/operations/deletelink_response.rb +2 -2
- data/lib/open_api_sdk/models/operations/deletelink_responsebody.rb +2 -2
- data/lib/open_api_sdk/models/operations/event.rb +3 -2
- data/lib/open_api_sdk/models/operations/getlinkinfo_request.rb +2 -2
- data/lib/open_api_sdk/models/operations/getlinkinfo_response.rb +1 -1
- data/lib/open_api_sdk/models/operations/getlinks_request.rb +7 -10
- data/lib/open_api_sdk/models/operations/getlinks_response.rb +1 -1
- data/lib/open_api_sdk/models/operations/getlinkscount_request.rb +3 -3
- data/lib/open_api_sdk/models/operations/getlinkscount_response.rb +1 -1
- data/lib/open_api_sdk/models/operations/getmetatags_request.rb +1 -1
- data/lib/open_api_sdk/models/operations/getmetatags_response.rb +1 -1
- data/lib/open_api_sdk/models/operations/getmetatags_responsebody.rb +1 -1
- data/lib/open_api_sdk/models/operations/getqrcode_request.rb +4 -13
- data/lib/open_api_sdk/models/operations/getqrcode_response.rb +1 -1
- data/lib/open_api_sdk/models/operations/gettags_response.rb +1 -1
- data/lib/open_api_sdk/models/operations/getworkspace_request.rb +1 -1
- data/lib/open_api_sdk/models/operations/getworkspace_response.rb +1 -1
- data/lib/open_api_sdk/models/operations/groupby.rb +4 -7
- data/lib/open_api_sdk/models/operations/interval.rb +3 -2
- data/lib/open_api_sdk/models/operations/level.rb +2 -1
- data/lib/open_api_sdk/models/operations/listdomains_response.rb +1 -1
- data/lib/open_api_sdk/models/operations/paymentprocessor.rb +2 -1
- data/lib/open_api_sdk/models/operations/requestbody.rb +7 -39
- data/lib/open_api_sdk/models/operations/retrieveanalytics_request.rb +10 -25
- data/lib/open_api_sdk/models/operations/retrieveanalytics_response.rb +1 -1
- data/lib/open_api_sdk/models/operations/sort.rb +2 -1
- data/lib/open_api_sdk/models/operations/trackcustomer_requestbody.rb +1 -1
- data/lib/open_api_sdk/models/operations/trackcustomer_response.rb +1 -1
- data/lib/open_api_sdk/models/operations/trackcustomer_responsebody.rb +1 -1
- data/lib/open_api_sdk/models/operations/tracklead_requestbody.rb +7 -12
- data/lib/open_api_sdk/models/operations/tracklead_response.rb +1 -1
- data/lib/open_api_sdk/models/operations/tracklead_responsebody.rb +22 -7
- data/lib/open_api_sdk/models/operations/tracksale_requestbody.rb +6 -11
- data/lib/open_api_sdk/models/operations/tracksale_response.rb +1 -1
- data/lib/open_api_sdk/models/operations/tracksale_responsebody.rb +19 -7
- data/lib/open_api_sdk/models/operations/updatedomain_request.rb +1 -1
- data/lib/open_api_sdk/models/operations/updatedomain_requestbody.rb +3 -9
- data/lib/open_api_sdk/models/operations/updatedomain_response.rb +1 -1
- data/lib/open_api_sdk/models/operations/updatelink_request.rb +1 -1
- data/lib/open_api_sdk/models/operations/updatelink_requestbody.rb +8 -40
- data/lib/open_api_sdk/models/operations/updatelink_response.rb +1 -1
- data/lib/open_api_sdk/models/operations/updatetag_color.rb +2 -1
- data/lib/open_api_sdk/models/operations/updatetag_request.rb +1 -1
- data/lib/open_api_sdk/models/operations/updatetag_requestbody.rb +1 -1
- data/lib/open_api_sdk/models/operations/updatetag_response.rb +1 -1
- data/lib/open_api_sdk/models/operations/updateworkspace_request.rb +1 -1
- data/lib/open_api_sdk/models/operations/updateworkspace_requestbody.rb +3 -6
- data/lib/open_api_sdk/models/operations/updateworkspace_response.rb +1 -1
- data/lib/open_api_sdk/models/operations/upsertlink_requestbody.rb +7 -39
- data/lib/open_api_sdk/models/operations/upsertlink_response.rb +1 -1
- data/lib/open_api_sdk/models/operations.rb +19 -56
- data/lib/open_api_sdk/models/shared/badrequest.rb +2 -2
- data/lib/open_api_sdk/models/shared/code.rb +2 -1
- data/lib/open_api_sdk/models/shared/color.rb +2 -1
- data/lib/open_api_sdk/models/shared/conflict.rb +2 -2
- data/lib/open_api_sdk/models/shared/conflict_code.rb +2 -1
- data/lib/open_api_sdk/models/shared/conflict_error.rb +1 -1
- data/lib/open_api_sdk/models/shared/countrycode.rb +2 -1
- data/lib/open_api_sdk/models/shared/domains.rb +3 -6
- data/lib/open_api_sdk/models/shared/domainschema.rb +3 -12
- data/lib/open_api_sdk/models/shared/error.rb +1 -1
- data/lib/open_api_sdk/models/shared/forbidden.rb +2 -2
- data/lib/open_api_sdk/models/shared/forbidden_code.rb +2 -1
- data/lib/open_api_sdk/models/shared/forbidden_error.rb +1 -1
- data/lib/open_api_sdk/models/shared/geo.rb +1 -1
- data/lib/open_api_sdk/models/shared/internalservererror.rb +2 -2
- data/lib/open_api_sdk/models/shared/internalservererror_code.rb +2 -1
- data/lib/open_api_sdk/models/shared/internalservererror_error.rb +1 -1
- data/lib/open_api_sdk/models/shared/inviteexpired.rb +2 -2
- data/lib/open_api_sdk/models/shared/inviteexpired_code.rb +2 -1
- data/lib/open_api_sdk/models/shared/inviteexpired_error.rb +1 -1
- data/lib/open_api_sdk/models/shared/linkgeotargeting.rb +1 -1
- data/lib/open_api_sdk/models/shared/linkschema.rb +4 -19
- data/lib/open_api_sdk/models/shared/notfound.rb +2 -2
- data/lib/open_api_sdk/models/shared/notfound_code.rb +2 -1
- data/lib/open_api_sdk/models/shared/notfound_error.rb +1 -1
- data/lib/open_api_sdk/models/shared/plan.rb +2 -1
- data/lib/open_api_sdk/models/shared/ratelimitexceeded.rb +2 -2
- data/lib/open_api_sdk/models/shared/ratelimitexceeded_code.rb +2 -1
- data/lib/open_api_sdk/models/shared/ratelimitexceeded_error.rb +1 -1
- data/lib/open_api_sdk/models/shared/role.rb +2 -1
- data/lib/open_api_sdk/models/shared/security.rb +3 -3
- data/lib/open_api_sdk/models/shared/tagschema.rb +1 -1
- data/lib/open_api_sdk/models/shared/unauthorized.rb +2 -2
- data/lib/open_api_sdk/models/shared/unauthorized_code.rb +2 -1
- data/lib/open_api_sdk/models/shared/unauthorized_error.rb +1 -1
- data/lib/open_api_sdk/models/shared/unprocessableentity.rb +2 -2
- data/lib/open_api_sdk/models/shared/unprocessableentity_code.rb +2 -1
- data/lib/open_api_sdk/models/shared/unprocessableentity_error.rb +1 -1
- data/lib/open_api_sdk/models/shared/users.rb +1 -1
- data/lib/open_api_sdk/models/shared/workspaceschema.rb +7 -46
- data/lib/open_api_sdk/models/shared.rb +2 -9
- data/lib/open_api_sdk/qr_codes.rb +2 -2
- data/lib/open_api_sdk/sdkconfiguration.rb +4 -4
- data/lib/open_api_sdk/tags.rb +28 -113
- data/lib/open_api_sdk/track.rb +1 -6
- data/lib/open_api_sdk/utils/metadata_fields.rb +1 -1
- data/lib/open_api_sdk/utils/t.rb +1 -1
- data/lib/open_api_sdk/utils/utils.rb +1 -1
- data/lib/open_api_sdk/workspaces.rb +1 -3
- metadata +10 -57
- data/lib/open_api_sdk/customers.rb +0 -439
- data/lib/open_api_sdk/embed_tokens.rb +0 -107
- data/lib/open_api_sdk/events.rb +0 -100
- data/lib/open_api_sdk/models/operations/bulkdeletelinks_request.rb +0 -24
- data/lib/open_api_sdk/models/operations/bulkdeletelinks_response.rb +0 -60
- data/lib/open_api_sdk/models/operations/bulkdeletelinks_responsebody.rb +0 -24
- data/lib/open_api_sdk/models/operations/click.rb +0 -24
- data/lib/open_api_sdk/models/operations/createcustomer_requestbody.rb +0 -33
- data/lib/open_api_sdk/models/operations/createcustomer_response.rb +0 -60
- data/lib/open_api_sdk/models/operations/createcustomer_responsebody.rb +0 -39
- data/lib/open_api_sdk/models/operations/createembedtoken_requestbody.rb +0 -24
- data/lib/open_api_sdk/models/operations/createembedtoken_response.rb +0 -60
- data/lib/open_api_sdk/models/operations/createembedtoken_responsebody.rb +0 -27
- data/lib/open_api_sdk/models/operations/customer.rb +0 -33
- data/lib/open_api_sdk/models/operations/deletecustomer_request.rb +0 -24
- data/lib/open_api_sdk/models/operations/deletecustomer_response.rb +0 -60
- data/lib/open_api_sdk/models/operations/deletecustomer_responsebody.rb +0 -24
- data/lib/open_api_sdk/models/operations/deletetag_request.rb +0 -24
- data/lib/open_api_sdk/models/operations/deletetag_response.rb +0 -60
- data/lib/open_api_sdk/models/operations/deletetag_responsebody.rb +0 -24
- data/lib/open_api_sdk/models/operations/getcustomer_request.rb +0 -24
- data/lib/open_api_sdk/models/operations/getcustomer_response.rb +0 -60
- data/lib/open_api_sdk/models/operations/getcustomer_responsebody.rb +0 -39
- data/lib/open_api_sdk/models/operations/getcustomers_response.rb +0 -60
- data/lib/open_api_sdk/models/operations/listdomains_request.rb +0 -33
- data/lib/open_api_sdk/models/operations/listevents_request.rb +0 -105
- data/lib/open_api_sdk/models/operations/listevents_response.rb +0 -60
- data/lib/open_api_sdk/models/operations/order.rb +0 -18
- data/lib/open_api_sdk/models/operations/queryparam_event.rb +0 -19
- data/lib/open_api_sdk/models/operations/queryparam_interval.rb +0 -23
- data/lib/open_api_sdk/models/operations/queryparam_trigger.rb +0 -18
- data/lib/open_api_sdk/models/operations/responsebody.rb +0 -39
- data/lib/open_api_sdk/models/operations/sale.rb +0 -36
- data/lib/open_api_sdk/models/operations/sortby.rb +0 -17
- data/lib/open_api_sdk/models/operations/tracksale_customer.rb +0 -36
- data/lib/open_api_sdk/models/operations/trigger.rb +0 -18
- data/lib/open_api_sdk/models/operations/updatecustomer_request.rb +0 -27
- data/lib/open_api_sdk/models/operations/updatecustomer_requestbody.rb +0 -33
- data/lib/open_api_sdk/models/operations/updatecustomer_response.rb +0 -60
- data/lib/open_api_sdk/models/operations/updatecustomer_responsebody.rb +0 -39
- data/lib/open_api_sdk/models/shared/click.rb +0 -60
- data/lib/open_api_sdk/models/shared/clickevent.rb +0 -98
- data/lib/open_api_sdk/models/shared/clickevent_geo.rb +0 -771
- data/lib/open_api_sdk/models/shared/continentcode.rb +0 -23
- data/lib/open_api_sdk/models/shared/event.rb +0 -17
- data/lib/open_api_sdk/models/shared/link.rb +0 -157
- data/lib/open_api_sdk/models/shared/registereddomain.rb +0 -30
@@ -1,4 +1,4 @@
|
|
1
|
-
# Code generated by Speakeasy (https://
|
1
|
+
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
2
2
|
|
3
3
|
# typed: true
|
4
4
|
# frozen_string_literal: true
|
@@ -17,7 +17,7 @@ module OpenApiSDK
|
|
17
17
|
field :archived, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('archived') } }
|
18
18
|
# The comments for the short link.
|
19
19
|
field :comments, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('comments') } }
|
20
|
-
# The
|
20
|
+
# The description of the short link generated via `api.dub.co/metatags`. Will be used for Custom Social Media Cards if `proxy` is true.
|
21
21
|
field :description, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('description') } }
|
22
22
|
# Allow search engines to index your short link. Defaults to `false` if not provided. Learn more: https://d.to/noindex
|
23
23
|
field :do_index, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('doIndex') } }
|
@@ -27,22 +27,16 @@ module OpenApiSDK
|
|
27
27
|
field :expires_at, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('expiresAt') } }
|
28
28
|
# Geo targeting information for the short link in JSON format `{[COUNTRY]: https://example.com }`.
|
29
29
|
field :geo, T.nilable(::OpenApiSDK::Shared::LinkGeoTargeting), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('geo') } }
|
30
|
-
# The
|
30
|
+
# The image of the short link generated via `api.dub.co/metatags`. Will be used for Custom Social Media Cards if `proxy` is true.
|
31
31
|
field :image, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('image') } }
|
32
32
|
# The iOS destination URL for the short link for iOS device targeting.
|
33
33
|
field :ios, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('ios') } }
|
34
34
|
# The password required to access the destination URL of the short link.
|
35
35
|
field :password, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('password') } }
|
36
|
-
# The ID of the program the short link is associated with.
|
37
|
-
field :program_id, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('programId') } }
|
38
36
|
# Whether the short link uses Custom Social Media Cards feature.
|
39
37
|
field :proxy, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('proxy') } }
|
40
|
-
#
|
41
|
-
#
|
42
|
-
# @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
|
38
|
+
# Whether the short link's stats are publicly accessible.
|
43
39
|
field :public_stats, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('publicStats') } }
|
44
|
-
# The referral tag of the short link. If set, this will populate or override the `ref` query parameter in the destination URL.
|
45
|
-
field :ref, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('ref') } }
|
46
40
|
# Whether the short link uses link cloaking.
|
47
41
|
field :rewrite, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('rewrite') } }
|
48
42
|
# The unique ID of the tag assigned to the short link. This field is deprecated – use `tagIds` instead.
|
@@ -53,30 +47,16 @@ module OpenApiSDK
|
|
53
47
|
field :tag_ids, T.nilable(::Object), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('tagIds') } }
|
54
48
|
# The unique name of the tags assigned to the short link (case insensitive).
|
55
49
|
field :tag_names, T.nilable(::Object), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('tagNames') } }
|
56
|
-
# The
|
50
|
+
# The title of the short link generated via `api.dub.co/metatags`. Will be used for Custom Social Media Cards if `proxy` is true.
|
57
51
|
field :title, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('title') } }
|
58
52
|
# Whether to track conversions for the short link.
|
59
53
|
field :track_conversion, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('trackConversion') } }
|
60
54
|
# The destination URL of the short link.
|
61
55
|
field :url, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('url') } }
|
62
|
-
# The UTM campaign of the short link. If set, this will populate or override the UTM campaign in the destination URL.
|
63
|
-
field :utm_campaign, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('utm_campaign') } }
|
64
|
-
# The UTM content of the short link. If set, this will populate or override the UTM content in the destination URL.
|
65
|
-
field :utm_content, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('utm_content') } }
|
66
|
-
# The UTM medium of the short link. If set, this will populate or override the UTM medium in the destination URL.
|
67
|
-
field :utm_medium, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('utm_medium') } }
|
68
|
-
# The UTM source of the short link. If set, this will populate or override the UTM source in the destination URL.
|
69
|
-
field :utm_source, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('utm_source') } }
|
70
|
-
# The UTM term of the short link. If set, this will populate or override the UTM term in the destination URL.
|
71
|
-
field :utm_term, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('utm_term') } }
|
72
|
-
# 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
|
73
|
-
field :video, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('video') } }
|
74
|
-
# An array of webhook IDs to trigger when the link is clicked. These webhooks will receive click event data.
|
75
|
-
field :webhook_ids, T.nilable(T::Array[::String]), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('webhookIds') } }
|
76
56
|
|
77
57
|
|
78
|
-
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), geo: T.nilable(::OpenApiSDK::Shared::LinkGeoTargeting), image: T.nilable(::String), ios: T.nilable(::String), password: T.nilable(::String),
|
79
|
-
def initialize(android: nil, archived: nil, comments: nil, description: nil, do_index: nil, expired_url: nil, expires_at: nil, geo: nil, image: nil, ios: nil, password: nil,
|
58
|
+
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), geo: T.nilable(::OpenApiSDK::Shared::LinkGeoTargeting), image: T.nilable(::String), ios: T.nilable(::String), password: T.nilable(::String), proxy: T.nilable(T::Boolean), public_stats: T.nilable(T::Boolean), 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)).void }
|
59
|
+
def initialize(android: nil, archived: nil, comments: nil, description: nil, do_index: nil, expired_url: nil, expires_at: nil, geo: nil, image: nil, ios: nil, password: nil, proxy: nil, public_stats: nil, rewrite: nil, tag_id: nil, tag_ids: nil, tag_names: nil, title: nil, track_conversion: nil, url: nil)
|
80
60
|
@android = android
|
81
61
|
@archived = archived
|
82
62
|
@comments = comments
|
@@ -88,10 +68,8 @@ module OpenApiSDK
|
|
88
68
|
@image = image
|
89
69
|
@ios = ios
|
90
70
|
@password = password
|
91
|
-
@program_id = program_id
|
92
71
|
@proxy = proxy
|
93
72
|
@public_stats = public_stats
|
94
|
-
@ref = ref
|
95
73
|
@rewrite = rewrite
|
96
74
|
@tag_id = tag_id
|
97
75
|
@tag_ids = tag_ids
|
@@ -99,13 +77,6 @@ module OpenApiSDK
|
|
99
77
|
@title = title
|
100
78
|
@track_conversion = track_conversion
|
101
79
|
@url = url
|
102
|
-
@utm_campaign = utm_campaign
|
103
|
-
@utm_content = utm_content
|
104
|
-
@utm_medium = utm_medium
|
105
|
-
@utm_source = utm_source
|
106
|
-
@utm_term = utm_term
|
107
|
-
@video = video
|
108
|
-
@webhook_ids = webhook_ids
|
109
80
|
end
|
110
81
|
end
|
111
82
|
end
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# Code generated by Speakeasy (https://
|
1
|
+
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
2
2
|
|
3
3
|
# typed: true
|
4
4
|
# frozen_string_literal: true
|
@@ -29,7 +29,7 @@ module OpenApiSDK
|
|
29
29
|
field :invite_expired, T.nilable(::OpenApiSDK::Shared::InviteExpired)
|
30
30
|
# The server cannot find the requested resource.
|
31
31
|
field :not_found, T.nilable(::OpenApiSDK::Shared::NotFound)
|
32
|
-
# The deleted link
|
32
|
+
# The deleted link
|
33
33
|
field :object, T.nilable(::OpenApiSDK::Operations::DeleteLinkResponseBody)
|
34
34
|
# The user has sent too many requests in a given amount of time ("rate limiting")
|
35
35
|
field :rate_limit_exceeded, T.nilable(::OpenApiSDK::Shared::RateLimitExceeded)
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# Code generated by Speakeasy (https://
|
1
|
+
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
2
2
|
|
3
3
|
# typed: true
|
4
4
|
# frozen_string_literal: true
|
@@ -7,7 +7,7 @@
|
|
7
7
|
module OpenApiSDK
|
8
8
|
module Operations
|
9
9
|
|
10
|
-
# The deleted link
|
10
|
+
# The deleted link
|
11
11
|
class DeleteLinkResponseBody < ::OpenApiSDK::Utils::FieldAugmented
|
12
12
|
extend T::Sig
|
13
13
|
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# Code generated by Speakeasy (https://
|
1
|
+
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
2
2
|
|
3
3
|
# typed: true
|
4
4
|
# frozen_string_literal: true
|
@@ -7,7 +7,7 @@
|
|
7
7
|
module OpenApiSDK
|
8
8
|
module Operations
|
9
9
|
|
10
|
-
# Event - The type of event to retrieve analytics for. Defaults to
|
10
|
+
# Event - The type of event to retrieve analytics for. Defaults to 'clicks'.
|
11
11
|
class Event < T::Enum
|
12
12
|
enums do
|
13
13
|
CLICKS = new('clicks')
|
@@ -16,5 +16,6 @@ module OpenApiSDK
|
|
16
16
|
COMPOSITE = new('composite')
|
17
17
|
end
|
18
18
|
end
|
19
|
+
|
19
20
|
end
|
20
21
|
end
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# Code generated by Speakeasy (https://
|
1
|
+
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
2
2
|
|
3
3
|
# typed: true
|
4
4
|
# frozen_string_literal: true
|
@@ -13,7 +13,7 @@ module OpenApiSDK
|
|
13
13
|
|
14
14
|
|
15
15
|
field :domain, T.nilable(::String), { 'query_param': { 'field_name': 'domain', 'style': 'form', 'explode': true } }
|
16
|
-
# This is the ID of the link in the your database.
|
16
|
+
# This is the ID of the link in the your database. Must be prefixed with `ext_` when passed as a query parameter.
|
17
17
|
field :external_id, T.nilable(::String), { 'query_param': { 'field_name': 'externalId', 'style': 'form', 'explode': true } }
|
18
18
|
# The key of the link to retrieve. E.g. for `d.to/github`, the key is `github`.
|
19
19
|
field :key, T.nilable(::String), { 'query_param': { 'field_name': 'key', 'style': 'form', 'explode': true } }
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# Code generated by Speakeasy (https://
|
1
|
+
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
2
2
|
|
3
3
|
# typed: true
|
4
4
|
# frozen_string_literal: true
|
@@ -13,17 +13,15 @@ module OpenApiSDK
|
|
13
13
|
|
14
14
|
# The domain to filter the links by. E.g. `ac.me`. If not provided, all links for the workspace will be returned.
|
15
15
|
field :domain, T.nilable(::String), { 'query_param': { 'field_name': 'domain', 'style': 'form', 'explode': true } }
|
16
|
-
# The page number for pagination.
|
17
|
-
field :page, T.nilable(::
|
18
|
-
# The number of items per page.
|
19
|
-
field :page_size, T.nilable(::Float), { 'query_param': { 'field_name': 'pageSize', 'style': 'form', 'explode': true } }
|
16
|
+
# The page number for pagination (each page contains 100 links).
|
17
|
+
field :page, T.nilable(::Integer), { 'query_param': { 'field_name': 'page', '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.
|
23
21
|
field :show_archived, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'showArchived', 'style': 'form', 'explode': true } }
|
24
22
|
# The field to sort the links by. The default is `createdAt`, and sort order is always descending.
|
25
23
|
field :sort, T.nilable(::OpenApiSDK::Operations::Sort), { 'query_param': { 'field_name': 'sort', 'style': 'form', 'explode': true } }
|
26
|
-
#
|
24
|
+
# The tag ID to filter the links by. This field is deprecated – use `tagIds` instead.
|
27
25
|
field :tag_id, T.nilable(::String), { 'query_param': { 'field_name': 'tagId', 'style': 'form', 'explode': true } }
|
28
26
|
# The tag IDs to filter the links by.
|
29
27
|
field :tag_ids, T.nilable(::Object), { 'query_param': { 'field_name': 'tagIds', 'style': 'form', 'explode': true } }
|
@@ -31,15 +29,14 @@ module OpenApiSDK
|
|
31
29
|
field :tag_names, T.nilable(::Object), { 'query_param': { 'field_name': 'tagNames', 'style': 'form', 'explode': true } }
|
32
30
|
# The user ID to filter the links by.
|
33
31
|
field :user_id, T.nilable(::String), { 'query_param': { 'field_name': 'userId', 'style': 'form', 'explode': true } }
|
34
|
-
#
|
32
|
+
# Whether to include tags in the response. Defaults to `false` if not provided.
|
35
33
|
field :with_tags, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'withTags', 'style': 'form', 'explode': true } }
|
36
34
|
|
37
35
|
|
38
|
-
sig { params(domain: T.nilable(::String), page: T.nilable(::
|
39
|
-
def initialize(domain: nil, page: nil,
|
36
|
+
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)).void }
|
37
|
+
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)
|
40
38
|
@domain = domain
|
41
39
|
@page = page
|
42
|
-
@page_size = page_size
|
43
40
|
@search = search
|
44
41
|
@show_archived = show_archived
|
45
42
|
@sort = sort
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# Code generated by Speakeasy (https://
|
1
|
+
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
2
2
|
|
3
3
|
# typed: true
|
4
4
|
# frozen_string_literal: true
|
@@ -19,7 +19,7 @@ module OpenApiSDK
|
|
19
19
|
field :search, T.nilable(::String), { 'query_param': { 'field_name': 'search', 'style': 'form', 'explode': true } }
|
20
20
|
# Whether to include archived links in the response. Defaults to `false` if not provided.
|
21
21
|
field :show_archived, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'showArchived', 'style': 'form', 'explode': true } }
|
22
|
-
#
|
22
|
+
# The tag ID to filter the links by. This field is deprecated – use `tagIds` instead.
|
23
23
|
field :tag_id, T.nilable(::String), { 'query_param': { 'field_name': 'tagId', 'style': 'form', 'explode': true } }
|
24
24
|
# The tag IDs to filter the links by.
|
25
25
|
field :tag_ids, T.nilable(::Object), { 'query_param': { 'field_name': 'tagIds', 'style': 'form', 'explode': true } }
|
@@ -27,7 +27,7 @@ module OpenApiSDK
|
|
27
27
|
field :tag_names, T.nilable(::Object), { 'query_param': { 'field_name': 'tagNames', 'style': 'form', 'explode': true } }
|
28
28
|
# The user ID to filter the links by.
|
29
29
|
field :user_id, T.nilable(::String), { 'query_param': { 'field_name': 'userId', 'style': 'form', 'explode': true } }
|
30
|
-
#
|
30
|
+
# Whether to include tags in the response. Defaults to `false` if not provided.
|
31
31
|
field :with_tags, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'withTags', 'style': 'form', 'explode': true } }
|
32
32
|
|
33
33
|
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# Code generated by Speakeasy (https://
|
1
|
+
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
2
2
|
|
3
3
|
# typed: true
|
4
4
|
# frozen_string_literal: true
|
@@ -17,30 +17,21 @@ module OpenApiSDK
|
|
17
17
|
field :bg_color, T.nilable(::String), { 'query_param': { 'field_name': 'bgColor', 'style': 'form', 'explode': true } }
|
18
18
|
# The foreground color of the QR code in hex format. Defaults to `#000000` if not provided.
|
19
19
|
field :fg_color, T.nilable(::String), { 'query_param': { 'field_name': 'fgColor', 'style': 'form', 'explode': true } }
|
20
|
-
# Whether to
|
21
|
-
field :hide_logo, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'hideLogo', 'style': 'form', 'explode': true } }
|
22
|
-
# DEPRECATED: Margin is included by default. Use the `margin` prop to customize the margin size.
|
20
|
+
# Whether to include a margin around the QR code. Defaults to `false` if not provided.
|
23
21
|
field :include_margin, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'includeMargin', 'style': 'form', 'explode': true } }
|
24
22
|
# The level of error correction to use for the QR code. Defaults to `L` if not provided.
|
25
23
|
field :level, T.nilable(::OpenApiSDK::Operations::Level), { 'query_param': { 'field_name': 'level', 'style': 'form', 'explode': true } }
|
26
|
-
# The logo to include in the QR code. Can only be used with a paid plan on Dub.co.
|
27
|
-
field :logo, T.nilable(::String), { 'query_param': { 'field_name': 'logo', 'style': 'form', 'explode': true } }
|
28
|
-
# The size of the margin around the QR code. Defaults to 2 if not provided.
|
29
|
-
field :margin, T.nilable(::Float), { 'query_param': { 'field_name': 'margin', 'style': 'form', 'explode': true } }
|
30
24
|
# The size of the QR code in pixels. Defaults to `600` if not provided.
|
31
25
|
field :size, T.nilable(::Float), { 'query_param': { 'field_name': 'size', 'style': 'form', 'explode': true } }
|
32
26
|
|
33
27
|
|
34
|
-
sig { params(url: ::String, bg_color: T.nilable(::String), fg_color: T.nilable(::String),
|
35
|
-
def initialize(url: nil, bg_color: nil, fg_color: nil,
|
28
|
+
sig { params(url: ::String, bg_color: T.nilable(::String), fg_color: T.nilable(::String), include_margin: T.nilable(T::Boolean), level: T.nilable(::OpenApiSDK::Operations::Level), size: T.nilable(::Float)).void }
|
29
|
+
def initialize(url: nil, bg_color: nil, fg_color: nil, include_margin: nil, level: nil, size: nil)
|
36
30
|
@url = url
|
37
31
|
@bg_color = bg_color
|
38
32
|
@fg_color = fg_color
|
39
|
-
@hide_logo = hide_logo
|
40
33
|
@include_margin = include_margin
|
41
34
|
@level = level
|
42
|
-
@logo = logo
|
43
|
-
@margin = margin
|
44
35
|
@size = size
|
45
36
|
end
|
46
37
|
end
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# Code generated by Speakeasy (https://
|
1
|
+
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
2
2
|
|
3
3
|
# typed: true
|
4
4
|
# frozen_string_literal: true
|
@@ -7,25 +7,22 @@
|
|
7
7
|
module OpenApiSDK
|
8
8
|
module Operations
|
9
9
|
|
10
|
-
# GroupBy - The parameter to group the analytics data points by. Defaults to
|
10
|
+
# GroupBy - The parameter to group the analytics data points by. Defaults to 'count' if undefined.
|
11
11
|
class GroupBy < T::Enum
|
12
12
|
enums do
|
13
13
|
COUNT = new('count')
|
14
14
|
TIMESERIES = new('timeseries')
|
15
|
-
CONTINENTS = new('continents')
|
16
|
-
REGIONS = new('regions')
|
17
15
|
COUNTRIES = new('countries')
|
18
16
|
CITIES = new('cities')
|
19
17
|
DEVICES = new('devices')
|
20
18
|
BROWSERS = new('browsers')
|
21
19
|
OS = new('os')
|
22
|
-
TRIGGER = new('trigger')
|
23
|
-
TRIGGERS = new('triggers')
|
24
20
|
REFERERS = new('referers')
|
25
|
-
REFERER_URLS = new('referer_urls')
|
26
21
|
TOP_LINKS = new('top_links')
|
27
22
|
TOP_URLS = new('top_urls')
|
23
|
+
TRIGGER = new('trigger')
|
28
24
|
end
|
29
25
|
end
|
26
|
+
|
30
27
|
end
|
31
28
|
end
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# Code generated by Speakeasy (https://
|
1
|
+
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
2
2
|
|
3
3
|
# typed: true
|
4
4
|
# frozen_string_literal: true
|
@@ -7,7 +7,7 @@
|
|
7
7
|
module OpenApiSDK
|
8
8
|
module Operations
|
9
9
|
|
10
|
-
# Interval - The interval to retrieve analytics for. If undefined, defaults to 24h.
|
10
|
+
# Interval - The interval to retrieve analytics for. Takes precedence over start and end. If undefined, defaults to 24h.
|
11
11
|
class Interval < T::Enum
|
12
12
|
enums do
|
13
13
|
TWENTY_FOURH = new('24h')
|
@@ -20,5 +20,6 @@ module OpenApiSDK
|
|
20
20
|
ALL_UNFILTERED = new('all_unfiltered')
|
21
21
|
end
|
22
22
|
end
|
23
|
+
|
23
24
|
end
|
24
25
|
end
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# Code generated by Speakeasy (https://
|
1
|
+
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
2
2
|
|
3
3
|
# typed: true
|
4
4
|
# frozen_string_literal: true
|
@@ -16,5 +16,6 @@ module OpenApiSDK
|
|
16
16
|
H = new('H')
|
17
17
|
end
|
18
18
|
end
|
19
|
+
|
19
20
|
end
|
20
21
|
end
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# Code generated by Speakeasy (https://
|
1
|
+
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
2
2
|
|
3
3
|
# typed: true
|
4
4
|
# frozen_string_literal: true
|
@@ -15,5 +15,6 @@ module OpenApiSDK
|
|
15
15
|
PADDLE = new('paddle')
|
16
16
|
end
|
17
17
|
end
|
18
|
+
|
18
19
|
end
|
19
20
|
end
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# Code generated by Speakeasy (https://
|
1
|
+
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
2
2
|
|
3
3
|
# typed: true
|
4
4
|
# frozen_string_literal: true
|
@@ -19,7 +19,7 @@ module OpenApiSDK
|
|
19
19
|
field :archived, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('archived') } }
|
20
20
|
# The comments for the short link.
|
21
21
|
field :comments, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('comments') } }
|
22
|
-
# The
|
22
|
+
# The description of the short link generated via `api.dub.co/metatags`. Will be used for Custom Social Media Cards if `proxy` is true.
|
23
23
|
field :description, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('description') } }
|
24
24
|
# Allow search engines to index your short link. Defaults to `false` if not provided. Learn more: https://d.to/noindex
|
25
25
|
field :do_index, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('doIndex') } }
|
@@ -33,9 +33,7 @@ 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
|
37
|
-
field :identifier, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('identifier') } }
|
38
|
-
# 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
|
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, 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.
|
41
39
|
field :ios, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('ios') } }
|
@@ -45,16 +43,10 @@ module OpenApiSDK
|
|
45
43
|
field :password, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('password') } }
|
46
44
|
# 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.
|
47
45
|
field :prefix, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('prefix') } }
|
48
|
-
# The ID of the program the short link is associated with.
|
49
|
-
field :program_id, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('programId') } }
|
50
46
|
# Whether the short link uses Custom Social Media Cards feature.
|
51
47
|
field :proxy, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('proxy') } }
|
52
|
-
#
|
53
|
-
#
|
54
|
-
# @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
|
48
|
+
# Whether the short link's stats are publicly accessible.
|
55
49
|
field :public_stats, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('publicStats') } }
|
56
|
-
# The referral tag of the short link. If set, this will populate or override the `ref` query parameter in the destination URL.
|
57
|
-
field :ref, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('ref') } }
|
58
50
|
# Whether the short link uses link cloaking.
|
59
51
|
field :rewrite, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('rewrite') } }
|
60
52
|
# The unique ID of the tag assigned to the short link. This field is deprecated – use `tagIds` instead.
|
@@ -65,28 +57,14 @@ module OpenApiSDK
|
|
65
57
|
field :tag_ids, T.nilable(::Object), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('tagIds') } }
|
66
58
|
# The unique name of the tags assigned to the short link (case insensitive).
|
67
59
|
field :tag_names, T.nilable(::Object), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('tagNames') } }
|
68
|
-
# The
|
60
|
+
# The title of the short link generated via `api.dub.co/metatags`. Will be used for Custom Social Media Cards if `proxy` is true.
|
69
61
|
field :title, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('title') } }
|
70
62
|
# Whether to track conversions for the short link.
|
71
63
|
field :track_conversion, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('trackConversion') } }
|
72
|
-
# The UTM campaign of the short link. If set, this will populate or override the UTM campaign in the destination URL.
|
73
|
-
field :utm_campaign, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('utm_campaign') } }
|
74
|
-
# The UTM content of the short link. If set, this will populate or override the UTM content in the destination URL.
|
75
|
-
field :utm_content, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('utm_content') } }
|
76
|
-
# The UTM medium of the short link. If set, this will populate or override the UTM medium in the destination URL.
|
77
|
-
field :utm_medium, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('utm_medium') } }
|
78
|
-
# The UTM source of the short link. If set, this will populate or override the UTM source in the destination URL.
|
79
|
-
field :utm_source, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('utm_source') } }
|
80
|
-
# The UTM term of the short link. If set, this will populate or override the UTM term in the destination URL.
|
81
|
-
field :utm_term, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('utm_term') } }
|
82
|
-
# 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
|
83
|
-
field :video, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('video') } }
|
84
|
-
# An array of webhook IDs to trigger when the link is clicked. These webhooks will receive click event data.
|
85
|
-
field :webhook_ids, T.nilable(T::Array[::String]), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('webhookIds') } }
|
86
64
|
|
87
65
|
|
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,
|
66
|
+
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), proxy: T.nilable(T::Boolean), public_stats: T.nilable(T::Boolean), 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)).void }
|
67
|
+
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, proxy: nil, public_stats: nil, rewrite: nil, tag_id: nil, tag_ids: nil, tag_names: nil, title: nil, track_conversion: nil)
|
90
68
|
@url = url
|
91
69
|
@android = android
|
92
70
|
@archived = archived
|
@@ -98,29 +76,19 @@ module OpenApiSDK
|
|
98
76
|
@expires_at = expires_at
|
99
77
|
@external_id = external_id
|
100
78
|
@geo = geo
|
101
|
-
@identifier = identifier
|
102
79
|
@image = image
|
103
80
|
@ios = ios
|
104
81
|
@key = key
|
105
82
|
@password = password
|
106
83
|
@prefix = prefix
|
107
|
-
@program_id = program_id
|
108
84
|
@proxy = proxy
|
109
85
|
@public_stats = public_stats
|
110
|
-
@ref = ref
|
111
86
|
@rewrite = rewrite
|
112
87
|
@tag_id = tag_id
|
113
88
|
@tag_ids = tag_ids
|
114
89
|
@tag_names = tag_names
|
115
90
|
@title = title
|
116
91
|
@track_conversion = track_conversion
|
117
|
-
@utm_campaign = utm_campaign
|
118
|
-
@utm_content = utm_content
|
119
|
-
@utm_medium = utm_medium
|
120
|
-
@utm_source = utm_source
|
121
|
-
@utm_term = utm_term
|
122
|
-
@video = video
|
123
|
-
@webhook_ids = webhook_ids
|
124
92
|
end
|
125
93
|
end
|
126
94
|
end
|