dub 0.2.2.pre.alpha.45 → 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 -36
- 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 -36
- 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 -37
- 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 -36
- 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 -16
- 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 -40
- 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 +2 -2
- 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 -154
- 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
|
@@ -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,7 +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
|
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.
|
37
37
|
field :image, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('image') } }
|
38
38
|
# The iOS destination URL for the short link for iOS device targeting.
|
39
39
|
field :ios, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('ios') } }
|
@@ -43,16 +43,10 @@ module OpenApiSDK
|
|
43
43
|
field :password, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('password') } }
|
44
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.
|
45
45
|
field :prefix, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('prefix') } }
|
46
|
-
# The ID of the program the short link is associated with.
|
47
|
-
field :program_id, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('programId') } }
|
48
46
|
# Whether the short link uses Custom Social Media Cards feature.
|
49
47
|
field :proxy, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('proxy') } }
|
50
|
-
#
|
51
|
-
#
|
52
|
-
# @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.
|
53
49
|
field :public_stats, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('publicStats') } }
|
54
|
-
# The referral tag of the short link. If set, this will populate or override the `ref` query parameter in the destination URL.
|
55
|
-
field :ref, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('ref') } }
|
56
50
|
# Whether the short link uses link cloaking.
|
57
51
|
field :rewrite, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('rewrite') } }
|
58
52
|
# The unique ID of the tag assigned to the short link. This field is deprecated – use `tagIds` instead.
|
@@ -63,28 +57,14 @@ module OpenApiSDK
|
|
63
57
|
field :tag_ids, T.nilable(::Object), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('tagIds') } }
|
64
58
|
# The unique name of the tags assigned to the short link (case insensitive).
|
65
59
|
field :tag_names, T.nilable(::Object), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('tagNames') } }
|
66
|
-
# 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.
|
67
61
|
field :title, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('title') } }
|
68
62
|
# Whether to track conversions for the short link.
|
69
63
|
field :track_conversion, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('trackConversion') } }
|
70
|
-
# The UTM campaign of the short link. If set, this will populate or override the UTM campaign in the destination URL.
|
71
|
-
field :utm_campaign, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('utm_campaign') } }
|
72
|
-
# The UTM content of the short link. If set, this will populate or override the UTM content in the destination URL.
|
73
|
-
field :utm_content, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('utm_content') } }
|
74
|
-
# The UTM medium of the short link. If set, this will populate or override the UTM medium in the destination URL.
|
75
|
-
field :utm_medium, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('utm_medium') } }
|
76
|
-
# The UTM source of the short link. If set, this will populate or override the UTM source in the destination URL.
|
77
|
-
field :utm_source, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('utm_source') } }
|
78
|
-
# The UTM term of the short link. If set, this will populate or override the UTM term in the destination URL.
|
79
|
-
field :utm_term, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('utm_term') } }
|
80
|
-
# 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
|
81
|
-
field :video, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('video') } }
|
82
|
-
# An array of webhook IDs to trigger when the link is clicked. These webhooks will receive click event data.
|
83
|
-
field :webhook_ids, T.nilable(T::Array[::String]), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('webhookIds') } }
|
84
64
|
|
85
65
|
|
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),
|
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,
|
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)
|
88
68
|
@url = url
|
89
69
|
@android = android
|
90
70
|
@archived = archived
|
@@ -101,23 +81,14 @@ module OpenApiSDK
|
|
101
81
|
@key = key
|
102
82
|
@password = password
|
103
83
|
@prefix = prefix
|
104
|
-
@program_id = program_id
|
105
84
|
@proxy = proxy
|
106
85
|
@public_stats = public_stats
|
107
|
-
@ref = ref
|
108
86
|
@rewrite = rewrite
|
109
87
|
@tag_id = tag_id
|
110
88
|
@tag_ids = tag_ids
|
111
89
|
@tag_names = tag_names
|
112
90
|
@title = title
|
113
91
|
@track_conversion = track_conversion
|
114
|
-
@utm_campaign = utm_campaign
|
115
|
-
@utm_content = utm_content
|
116
|
-
@utm_medium = utm_medium
|
117
|
-
@utm_source = utm_source
|
118
|
-
@utm_term = utm_term
|
119
|
-
@video = video
|
120
|
-
@webhook_ids = webhook_ids
|
121
92
|
end
|
122
93
|
end
|
123
94
|
end
|
@@ -1,109 +1,72 @@
|
|
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
|
5
5
|
|
6
6
|
module OpenApiSDK
|
7
7
|
module Operations
|
8
|
-
autoload :CreateLinkRequestBody, 'open_api_sdk/models/operations/createlink_requestbody.rb'
|
9
|
-
autoload :CreateLinkResponse, 'open_api_sdk/models/operations/createlink_response.rb'
|
10
8
|
autoload :Sort, 'open_api_sdk/models/operations/sort.rb'
|
11
9
|
autoload :GetLinksRequest, 'open_api_sdk/models/operations/getlinks_request.rb'
|
12
10
|
autoload :GetLinksResponse, 'open_api_sdk/models/operations/getlinks_response.rb'
|
11
|
+
autoload :CreateLinkRequestBody, 'open_api_sdk/models/operations/createlink_requestbody.rb'
|
12
|
+
autoload :CreateLinkResponse, 'open_api_sdk/models/operations/createlink_response.rb'
|
13
13
|
autoload :GetLinksCountRequest, 'open_api_sdk/models/operations/getlinkscount_request.rb'
|
14
14
|
autoload :GetLinksCountResponse, 'open_api_sdk/models/operations/getlinkscount_response.rb'
|
15
15
|
autoload :GetLinkInfoRequest, 'open_api_sdk/models/operations/getlinkinfo_request.rb'
|
16
16
|
autoload :GetLinkInfoResponse, 'open_api_sdk/models/operations/getlinkinfo_response.rb'
|
17
|
-
autoload :UpdateLinkRequestBody, 'open_api_sdk/models/operations/updatelink_requestbody.rb'
|
18
|
-
autoload :UpdateLinkRequest, 'open_api_sdk/models/operations/updatelink_request.rb'
|
19
|
-
autoload :UpdateLinkResponse, 'open_api_sdk/models/operations/updatelink_response.rb'
|
20
17
|
autoload :DeleteLinkRequest, 'open_api_sdk/models/operations/deletelink_request.rb'
|
21
18
|
autoload :DeleteLinkResponseBody, 'open_api_sdk/models/operations/deletelink_responsebody.rb'
|
22
19
|
autoload :DeleteLinkResponse, 'open_api_sdk/models/operations/deletelink_response.rb'
|
20
|
+
autoload :UpdateLinkRequestBody, 'open_api_sdk/models/operations/updatelink_requestbody.rb'
|
21
|
+
autoload :UpdateLinkRequest, 'open_api_sdk/models/operations/updatelink_request.rb'
|
22
|
+
autoload :UpdateLinkResponse, 'open_api_sdk/models/operations/updatelink_response.rb'
|
23
23
|
autoload :RequestBody, 'open_api_sdk/models/operations/requestbody.rb'
|
24
24
|
autoload :BulkCreateLinksResponse, 'open_api_sdk/models/operations/bulkcreatelinks_response.rb'
|
25
25
|
autoload :Data, 'open_api_sdk/models/operations/data.rb'
|
26
26
|
autoload :BulkUpdateLinksRequestBody, 'open_api_sdk/models/operations/bulkupdatelinks_requestbody.rb'
|
27
27
|
autoload :BulkUpdateLinksResponse, 'open_api_sdk/models/operations/bulkupdatelinks_response.rb'
|
28
|
-
autoload :BulkDeleteLinksRequest, 'open_api_sdk/models/operations/bulkdeletelinks_request.rb'
|
29
|
-
autoload :BulkDeleteLinksResponseBody, 'open_api_sdk/models/operations/bulkdeletelinks_responsebody.rb'
|
30
|
-
autoload :BulkDeleteLinksResponse, 'open_api_sdk/models/operations/bulkdeletelinks_response.rb'
|
31
28
|
autoload :UpsertLinkRequestBody, 'open_api_sdk/models/operations/upsertlink_requestbody.rb'
|
32
29
|
autoload :UpsertLinkResponse, 'open_api_sdk/models/operations/upsertlink_response.rb'
|
30
|
+
autoload :Level, 'open_api_sdk/models/operations/level.rb'
|
31
|
+
autoload :GetQRCodeRequest, 'open_api_sdk/models/operations/getqrcode_request.rb'
|
32
|
+
autoload :GetQRCodeResponse, 'open_api_sdk/models/operations/getqrcode_response.rb'
|
33
33
|
autoload :Event, 'open_api_sdk/models/operations/event.rb'
|
34
34
|
autoload :GroupBy, 'open_api_sdk/models/operations/groupby.rb'
|
35
35
|
autoload :Interval, 'open_api_sdk/models/operations/interval.rb'
|
36
|
-
autoload :Trigger, 'open_api_sdk/models/operations/trigger.rb'
|
37
36
|
autoload :RetrieveAnalyticsRequest, 'open_api_sdk/models/operations/retrieveanalytics_request.rb'
|
38
37
|
autoload :RetrieveAnalyticsResponse, 'open_api_sdk/models/operations/retrieveanalytics_response.rb'
|
39
|
-
autoload :
|
40
|
-
autoload :
|
41
|
-
autoload :
|
42
|
-
autoload :
|
43
|
-
autoload :
|
44
|
-
autoload :
|
45
|
-
autoload :ListEventsResponse, 'open_api_sdk/models/operations/listevents_response.rb'
|
38
|
+
autoload :GetWorkspaceRequest, 'open_api_sdk/models/operations/getworkspace_request.rb'
|
39
|
+
autoload :GetWorkspaceResponse, 'open_api_sdk/models/operations/getworkspace_response.rb'
|
40
|
+
autoload :UpdateWorkspaceRequestBody, 'open_api_sdk/models/operations/updateworkspace_requestbody.rb'
|
41
|
+
autoload :UpdateWorkspaceRequest, 'open_api_sdk/models/operations/updateworkspace_request.rb'
|
42
|
+
autoload :UpdateWorkspaceResponse, 'open_api_sdk/models/operations/updateworkspace_response.rb'
|
43
|
+
autoload :GetTagsResponse, 'open_api_sdk/models/operations/gettags_response.rb'
|
46
44
|
autoload :Color, 'open_api_sdk/models/operations/color.rb'
|
47
45
|
autoload :CreateTagRequestBody, 'open_api_sdk/models/operations/createtag_requestbody.rb'
|
48
46
|
autoload :CreateTagResponse, 'open_api_sdk/models/operations/createtag_response.rb'
|
49
|
-
autoload :GetTagsResponse, 'open_api_sdk/models/operations/gettags_response.rb'
|
50
47
|
autoload :UpdateTagColor, 'open_api_sdk/models/operations/updatetag_color.rb'
|
51
48
|
autoload :UpdateTagRequestBody, 'open_api_sdk/models/operations/updatetag_requestbody.rb'
|
52
49
|
autoload :UpdateTagRequest, 'open_api_sdk/models/operations/updatetag_request.rb'
|
53
50
|
autoload :UpdateTagResponse, 'open_api_sdk/models/operations/updatetag_response.rb'
|
54
|
-
autoload :
|
55
|
-
autoload :DeleteTagResponseBody, 'open_api_sdk/models/operations/deletetag_responsebody.rb'
|
56
|
-
autoload :DeleteTagResponse, 'open_api_sdk/models/operations/deletetag_response.rb'
|
51
|
+
autoload :ListDomainsResponse, 'open_api_sdk/models/operations/listdomains_response.rb'
|
57
52
|
autoload :CreateDomainRequestBody, 'open_api_sdk/models/operations/createdomain_requestbody.rb'
|
58
53
|
autoload :CreateDomainResponse, 'open_api_sdk/models/operations/createdomain_response.rb'
|
59
|
-
autoload :ListDomainsRequest, 'open_api_sdk/models/operations/listdomains_request.rb'
|
60
|
-
autoload :ListDomainsResponse, 'open_api_sdk/models/operations/listdomains_response.rb'
|
61
|
-
autoload :UpdateDomainRequestBody, 'open_api_sdk/models/operations/updatedomain_requestbody.rb'
|
62
|
-
autoload :UpdateDomainRequest, 'open_api_sdk/models/operations/updatedomain_request.rb'
|
63
|
-
autoload :UpdateDomainResponse, 'open_api_sdk/models/operations/updatedomain_response.rb'
|
64
54
|
autoload :DeleteDomainRequest, 'open_api_sdk/models/operations/deletedomain_request.rb'
|
65
55
|
autoload :DeleteDomainResponseBody, 'open_api_sdk/models/operations/deletedomain_responsebody.rb'
|
66
56
|
autoload :DeleteDomainResponse, 'open_api_sdk/models/operations/deletedomain_response.rb'
|
57
|
+
autoload :UpdateDomainRequestBody, 'open_api_sdk/models/operations/updatedomain_requestbody.rb'
|
58
|
+
autoload :UpdateDomainRequest, 'open_api_sdk/models/operations/updatedomain_request.rb'
|
59
|
+
autoload :UpdateDomainResponse, 'open_api_sdk/models/operations/updatedomain_response.rb'
|
67
60
|
autoload :TrackLeadRequestBody, 'open_api_sdk/models/operations/tracklead_requestbody.rb'
|
68
|
-
autoload :Click, 'open_api_sdk/models/operations/click.rb'
|
69
|
-
autoload :Customer, 'open_api_sdk/models/operations/customer.rb'
|
70
61
|
autoload :TrackLeadResponseBody, 'open_api_sdk/models/operations/tracklead_responsebody.rb'
|
71
62
|
autoload :TrackLeadResponse, 'open_api_sdk/models/operations/tracklead_response.rb'
|
72
63
|
autoload :PaymentProcessor, 'open_api_sdk/models/operations/paymentprocessor.rb'
|
73
64
|
autoload :TrackSaleRequestBody, 'open_api_sdk/models/operations/tracksale_requestbody.rb'
|
74
|
-
autoload :TrackSaleCustomer, 'open_api_sdk/models/operations/tracksale_customer.rb'
|
75
|
-
autoload :Sale, 'open_api_sdk/models/operations/sale.rb'
|
76
65
|
autoload :TrackSaleResponseBody, 'open_api_sdk/models/operations/tracksale_responsebody.rb'
|
77
66
|
autoload :TrackSaleResponse, 'open_api_sdk/models/operations/tracksale_response.rb'
|
78
67
|
autoload :TrackCustomerRequestBody, 'open_api_sdk/models/operations/trackcustomer_requestbody.rb'
|
79
68
|
autoload :TrackCustomerResponseBody, 'open_api_sdk/models/operations/trackcustomer_responsebody.rb'
|
80
69
|
autoload :TrackCustomerResponse, 'open_api_sdk/models/operations/trackcustomer_response.rb'
|
81
|
-
autoload :ResponseBody, 'open_api_sdk/models/operations/responsebody.rb'
|
82
|
-
autoload :GetCustomersResponse, 'open_api_sdk/models/operations/getcustomers_response.rb'
|
83
|
-
autoload :CreateCustomerRequestBody, 'open_api_sdk/models/operations/createcustomer_requestbody.rb'
|
84
|
-
autoload :CreateCustomerResponseBody, 'open_api_sdk/models/operations/createcustomer_responsebody.rb'
|
85
|
-
autoload :CreateCustomerResponse, 'open_api_sdk/models/operations/createcustomer_response.rb'
|
86
|
-
autoload :GetCustomerRequest, 'open_api_sdk/models/operations/getcustomer_request.rb'
|
87
|
-
autoload :GetCustomerResponseBody, 'open_api_sdk/models/operations/getcustomer_responsebody.rb'
|
88
|
-
autoload :GetCustomerResponse, 'open_api_sdk/models/operations/getcustomer_response.rb'
|
89
|
-
autoload :UpdateCustomerRequestBody, 'open_api_sdk/models/operations/updatecustomer_requestbody.rb'
|
90
|
-
autoload :UpdateCustomerRequest, 'open_api_sdk/models/operations/updatecustomer_request.rb'
|
91
|
-
autoload :UpdateCustomerResponseBody, 'open_api_sdk/models/operations/updatecustomer_responsebody.rb'
|
92
|
-
autoload :UpdateCustomerResponse, 'open_api_sdk/models/operations/updatecustomer_response.rb'
|
93
|
-
autoload :DeleteCustomerRequest, 'open_api_sdk/models/operations/deletecustomer_request.rb'
|
94
|
-
autoload :DeleteCustomerResponseBody, 'open_api_sdk/models/operations/deletecustomer_responsebody.rb'
|
95
|
-
autoload :DeleteCustomerResponse, 'open_api_sdk/models/operations/deletecustomer_response.rb'
|
96
|
-
autoload :GetWorkspaceRequest, 'open_api_sdk/models/operations/getworkspace_request.rb'
|
97
|
-
autoload :GetWorkspaceResponse, 'open_api_sdk/models/operations/getworkspace_response.rb'
|
98
|
-
autoload :UpdateWorkspaceRequestBody, 'open_api_sdk/models/operations/updateworkspace_requestbody.rb'
|
99
|
-
autoload :UpdateWorkspaceRequest, 'open_api_sdk/models/operations/updateworkspace_request.rb'
|
100
|
-
autoload :UpdateWorkspaceResponse, 'open_api_sdk/models/operations/updateworkspace_response.rb'
|
101
|
-
autoload :CreateEmbedTokenRequestBody, 'open_api_sdk/models/operations/createembedtoken_requestbody.rb'
|
102
|
-
autoload :CreateEmbedTokenResponseBody, 'open_api_sdk/models/operations/createembedtoken_responsebody.rb'
|
103
|
-
autoload :CreateEmbedTokenResponse, 'open_api_sdk/models/operations/createembedtoken_response.rb'
|
104
|
-
autoload :Level, 'open_api_sdk/models/operations/level.rb'
|
105
|
-
autoload :GetQRCodeRequest, 'open_api_sdk/models/operations/getqrcode_request.rb'
|
106
|
-
autoload :GetQRCodeResponse, 'open_api_sdk/models/operations/getqrcode_response.rb'
|
107
70
|
autoload :GetMetatagsRequest, 'open_api_sdk/models/operations/getmetatags_request.rb'
|
108
71
|
autoload :GetMetatagsResponseBody, 'open_api_sdk/models/operations/getmetatags_responsebody.rb'
|
109
72
|
autoload :GetMetatagsResponse, 'open_api_sdk/models/operations/getmetatags_response.rb'
|
@@ -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 Shared
|
9
9
|
|
10
|
-
|
10
|
+
|
11
11
|
class BadRequest < ::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
|
@@ -13,5 +13,6 @@ module OpenApiSDK
|
|
13
13
|
BAD_REQUEST = new('bad_request')
|
14
14
|
end
|
15
15
|
end
|
16
|
+
|
16
17
|
end
|
17
18
|
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,5 +19,6 @@ module OpenApiSDK
|
|
19
19
|
BROWN = new('brown')
|
20
20
|
end
|
21
21
|
end
|
22
|
+
|
22
23
|
end
|
23
24
|
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 Shared
|
9
9
|
|
10
|
-
|
10
|
+
|
11
11
|
class Conflict < ::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
|
@@ -13,5 +13,6 @@ module OpenApiSDK
|
|
13
13
|
CONFLICT = new('conflict')
|
14
14
|
end
|
15
15
|
end
|
16
|
+
|
16
17
|
end
|
17
18
|
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
|
@@ -262,5 +262,6 @@ module OpenApiSDK
|
|
262
262
|
XK = new('XK')
|
263
263
|
end
|
264
264
|
end
|
265
|
+
|
265
266
|
end
|
266
267
|
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,15 +15,12 @@ module OpenApiSDK
|
|
15
15
|
field :primary, T::Boolean, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('primary') } }
|
16
16
|
# The domain name.
|
17
17
|
field :slug, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('slug') } }
|
18
|
-
# Whether the domain is verified.
|
19
|
-
field :verified, T::Boolean, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('verified') } }
|
20
18
|
|
21
19
|
|
22
|
-
sig { params(primary: T::Boolean, slug: ::String
|
23
|
-
def initialize(primary: nil, slug: nil
|
20
|
+
sig { params(primary: T::Boolean, slug: ::String).void }
|
21
|
+
def initialize(primary: nil, slug: nil)
|
24
22
|
@primary = primary
|
25
23
|
@slug = slug
|
26
|
-
@verified = verified
|
27
24
|
end
|
28
25
|
end
|
29
26
|
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,16 +19,10 @@ module OpenApiSDK
|
|
19
19
|
field :expired_url, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('expiredUrl') } }
|
20
20
|
# The unique identifier of the domain.
|
21
21
|
field :id, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('id') } }
|
22
|
-
# The logo of the domain.
|
23
|
-
field :logo, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('logo') } }
|
24
|
-
# The URL to redirect to when a link under this domain doesn't exist.
|
25
|
-
field :not_found_url, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('notFoundUrl') } }
|
26
22
|
# Provide context to your teammates in the link creation modal by showing them an example of a link to be shortened.
|
27
23
|
field :placeholder, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('placeholder') } }
|
28
24
|
# Whether the domain is the primary domain for the workspace.
|
29
25
|
field :primary, T::Boolean, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('primary') } }
|
30
|
-
# The registered domain record.
|
31
|
-
field :registered_domain, ::OpenApiSDK::Shared::RegisteredDomain, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('registeredDomain') } }
|
32
26
|
# The domain name.
|
33
27
|
field :slug, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('slug') } }
|
34
28
|
# The date the domain was last updated.
|
@@ -37,17 +31,14 @@ module OpenApiSDK
|
|
37
31
|
field :verified, T::Boolean, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('verified') } }
|
38
32
|
|
39
33
|
|
40
|
-
sig { params(archived: T::Boolean, created_at: ::String, expired_url: ::String, id: ::String,
|
41
|
-
def initialize(archived: nil, created_at: nil, expired_url: nil, id: nil,
|
34
|
+
sig { params(archived: T::Boolean, created_at: ::String, expired_url: ::String, id: ::String, placeholder: ::String, primary: T::Boolean, slug: ::String, updated_at: ::String, verified: T::Boolean).void }
|
35
|
+
def initialize(archived: nil, created_at: nil, expired_url: nil, id: nil, placeholder: nil, primary: nil, slug: nil, updated_at: nil, verified: nil)
|
42
36
|
@archived = archived
|
43
37
|
@created_at = created_at
|
44
38
|
@expired_url = expired_url
|
45
39
|
@id = id
|
46
|
-
@logo = logo
|
47
|
-
@not_found_url = not_found_url
|
48
40
|
@placeholder = placeholder
|
49
41
|
@primary = primary
|
50
|
-
@registered_domain = registered_domain
|
51
42
|
@slug = slug
|
52
43
|
@updated_at = updated_at
|
53
44
|
@verified = verified
|
@@ -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 Shared
|
9
9
|
|
10
|
-
|
10
|
+
|
11
11
|
class Forbidden < ::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
|
@@ -13,5 +13,6 @@ module OpenApiSDK
|
|
13
13
|
FORBIDDEN = new('forbidden')
|
14
14
|
end
|
15
15
|
end
|
16
|
+
|
16
17
|
end
|
17
18
|
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 Shared
|
9
9
|
|
10
|
-
|
10
|
+
|
11
11
|
class InternalServerError < ::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
|
@@ -13,5 +13,6 @@ module OpenApiSDK
|
|
13
13
|
INTERNAL_SERVER_ERROR = new('internal_server_error')
|
14
14
|
end
|
15
15
|
end
|
16
|
+
|
16
17
|
end
|
17
18
|
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 Shared
|
9
9
|
|
10
|
-
|
10
|
+
|
11
11
|
class InviteExpired < ::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
|
@@ -13,5 +13,6 @@ module OpenApiSDK
|
|
13
13
|
INVITE_EXPIRED = new('invite_expired')
|
14
14
|
end
|
15
15
|
end
|
16
|
+
|
16
17
|
end
|
17
18
|
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
|
@@ -31,7 +31,7 @@ module OpenApiSDK
|
|
31
31
|
field :expired_url, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('expiredUrl') } }
|
32
32
|
# The date and time when the short link will expire in ISO-8601 format.
|
33
33
|
field :expires_at, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('expiresAt') } }
|
34
|
-
# This is the ID of the link in your database
|
34
|
+
# This is the ID of the link in your database. If set, it can be used to identify the link in the future. Must be prefixed with 'ext_' when passed as a query parameter.
|
35
35
|
field :external_id, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('externalId') } }
|
36
36
|
# Geo targeting information for the short link in JSON format `{[COUNTRY]: https://example.com }`. Learn more: https://d.to/geo
|
37
37
|
field :geo, ::OpenApiSDK::Shared::Geo, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('geo') } }
|
@@ -49,8 +49,6 @@ module OpenApiSDK
|
|
49
49
|
field :leads, ::Float, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('leads') } }
|
50
50
|
# The password required to access the destination URL of the short link.
|
51
51
|
field :password, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('password') } }
|
52
|
-
# The ID of the program the short link is associated with.
|
53
|
-
field :program_id, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('programId') } }
|
54
52
|
# The project ID of the short link. This field is deprecated – use `workspaceId` instead.
|
55
53
|
#
|
56
54
|
# @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
|
@@ -63,8 +61,6 @@ module OpenApiSDK
|
|
63
61
|
field :qr_code, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('qrCode') } }
|
64
62
|
# Whether the short link uses link cloaking.
|
65
63
|
field :rewrite, T::Boolean, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('rewrite') } }
|
66
|
-
# [BETA]: The total dollar amount of sales the short links has generated (in cents).
|
67
|
-
field :sale_amount, ::Float, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('saleAmount') } }
|
68
64
|
# [BETA]: The number of sales the short links has generated.
|
69
65
|
field :sales, ::Float, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('sales') } }
|
70
66
|
# The full URL of the short link, including the https protocol (e.g. `https://dub.sh/try`).
|
@@ -95,16 +91,12 @@ module OpenApiSDK
|
|
95
91
|
field :utm_source, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('utm_source') } }
|
96
92
|
# The UTM term of the short link.
|
97
93
|
field :utm_term, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('utm_term') } }
|
98
|
-
# 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
|
99
|
-
field :video, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('video') } }
|
100
|
-
# The IDs of the webhooks that the short link is associated with.
|
101
|
-
field :webhook_ids, T::Array[::String], { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('webhookIds') } }
|
102
94
|
# The workspace ID of the short link.
|
103
95
|
field :workspace_id, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('workspaceId') } }
|
104
96
|
|
105
97
|
|
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,
|
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,
|
98
|
+
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, project_id: ::String, proxy: T::Boolean, public_stats: T::Boolean, qr_code: ::String, rewrite: T::Boolean, 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, workspace_id: ::String).void }
|
99
|
+
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, project_id: nil, proxy: nil, public_stats: nil, qr_code: nil, rewrite: 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, workspace_id: nil)
|
108
100
|
@android = android
|
109
101
|
@archived = archived
|
110
102
|
@clicks = clicks
|
@@ -124,13 +116,11 @@ module OpenApiSDK
|
|
124
116
|
@last_clicked = last_clicked
|
125
117
|
@leads = leads
|
126
118
|
@password = password
|
127
|
-
@program_id = program_id
|
128
119
|
@project_id = project_id
|
129
120
|
@proxy = proxy
|
130
121
|
@public_stats = public_stats
|
131
122
|
@qr_code = qr_code
|
132
123
|
@rewrite = rewrite
|
133
|
-
@sale_amount = sale_amount
|
134
124
|
@sales = sales
|
135
125
|
@short_link = short_link
|
136
126
|
@tag_id = tag_id
|
@@ -145,8 +135,6 @@ module OpenApiSDK
|
|
145
135
|
@utm_medium = utm_medium
|
146
136
|
@utm_source = utm_source
|
147
137
|
@utm_term = utm_term
|
148
|
-
@video = video
|
149
|
-
@webhook_ids = webhook_ids
|
150
138
|
@workspace_id = workspace_id
|
151
139
|
end
|
152
140
|
end
|