dub 0.2.2.pre.alpha.8 → 0.2.2.pre.alpha.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (46) hide show
  1. checksums.yaml +4 -4
  2. data/lib/open_api_sdk/events.rb +1 -1
  3. data/lib/open_api_sdk/models/operations/click.rb +60 -0
  4. data/lib/open_api_sdk/models/operations/color.rb +0 -1
  5. data/lib/open_api_sdk/models/operations/customer.rb +33 -0
  6. data/lib/open_api_sdk/models/operations/event.rb +0 -1
  7. data/lib/open_api_sdk/models/operations/geo.rb +771 -0
  8. data/lib/open_api_sdk/models/operations/groupby.rb +0 -1
  9. data/lib/open_api_sdk/models/operations/interval.rb +0 -1
  10. data/lib/open_api_sdk/models/operations/level.rb +0 -1
  11. data/lib/open_api_sdk/models/operations/link.rb +135 -0
  12. data/lib/open_api_sdk/models/operations/listevents_response.rb +2 -2
  13. data/lib/open_api_sdk/models/operations/order.rb +0 -1
  14. data/lib/open_api_sdk/models/operations/paymentprocessor.rb +0 -1
  15. data/lib/open_api_sdk/models/operations/queryparam_event.rb +0 -1
  16. data/lib/open_api_sdk/models/operations/queryparam_interval.rb +0 -1
  17. data/lib/open_api_sdk/models/operations/sale.rb +33 -0
  18. data/lib/open_api_sdk/models/operations/sort.rb +0 -1
  19. data/lib/open_api_sdk/models/operations/sortby.rb +0 -2
  20. data/lib/open_api_sdk/models/operations/tracklead_responsebody.rb +8 -17
  21. data/lib/open_api_sdk/models/operations/tracksale_click.rb +60 -0
  22. data/lib/open_api_sdk/models/operations/tracksale_customer.rb +33 -0
  23. data/lib/open_api_sdk/models/operations/tracksale_geo.rb +771 -0
  24. data/lib/open_api_sdk/models/operations/tracksale_link.rb +135 -0
  25. data/lib/open_api_sdk/models/operations/tracksale_responsebody.rb +10 -16
  26. data/lib/open_api_sdk/models/operations/updatetag_color.rb +0 -1
  27. data/lib/open_api_sdk/models/operations.rb +9 -0
  28. data/lib/open_api_sdk/models/shared/{clickevents.rb → clickevent.rb} +6 -3
  29. data/lib/open_api_sdk/models/shared/code.rb +0 -1
  30. data/lib/open_api_sdk/models/shared/color.rb +0 -1
  31. data/lib/open_api_sdk/models/shared/conflict_code.rb +0 -1
  32. data/lib/open_api_sdk/models/shared/continentcode.rb +0 -1
  33. data/lib/open_api_sdk/models/shared/countrycode.rb +0 -1
  34. data/lib/open_api_sdk/models/shared/event.rb +17 -0
  35. data/lib/open_api_sdk/models/shared/forbidden_code.rb +0 -1
  36. data/lib/open_api_sdk/models/shared/internalservererror_code.rb +0 -1
  37. data/lib/open_api_sdk/models/shared/inviteexpired_code.rb +0 -1
  38. data/lib/open_api_sdk/models/shared/notfound_code.rb +0 -1
  39. data/lib/open_api_sdk/models/shared/plan.rb +0 -1
  40. data/lib/open_api_sdk/models/shared/ratelimitexceeded_code.rb +0 -1
  41. data/lib/open_api_sdk/models/shared/role.rb +0 -1
  42. data/lib/open_api_sdk/models/shared/unauthorized_code.rb +0 -1
  43. data/lib/open_api_sdk/models/shared/unprocessableentity_code.rb +0 -1
  44. data/lib/open_api_sdk/models/shared.rb +2 -1
  45. data/lib/open_api_sdk/sdkconfiguration.rb +3 -3
  46. metadata +13 -3
@@ -0,0 +1,135 @@
1
+ # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+
7
+ module OpenApiSDK
8
+ module Operations
9
+
10
+
11
+ class TrackSaleLink < ::OpenApiSDK::Utils::FieldAugmented
12
+ extend T::Sig
13
+
14
+ # The Android destination URL for the short link for Android device targeting.
15
+ field :android, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('android') } }
16
+ # Whether the short link is archived.
17
+ field :archived, T::Boolean, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('archived') } }
18
+ # The number of clicks on the short link.
19
+ field :clicks, ::Float, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('clicks') } }
20
+ # The comments for the short link.
21
+ field :comments, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('comments') } }
22
+ # The date and time when the short link was created.
23
+ field :created_at, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('createdAt') } }
24
+ # The description of the short link generated via `api.dub.co/metatags`. Will be used for Custom Social Media Cards if `proxy` is true.
25
+ field :description, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('description') } }
26
+ # Whether to allow search engines to index the short link.
27
+ field :do_index, T::Boolean, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('doIndex') } }
28
+ # The domain of the short link. If not provided, the primary domain for the workspace will be used (or `dub.sh` if the workspace has no domains).
29
+ field :domain, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('domain') } }
30
+ # The URL to redirect to when the short link has expired.
31
+ field :expired_url, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('expiredUrl') } }
32
+ # The date and time when the short link will expire in ISO-8601 format.
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. 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
+ field :external_id, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('externalId') } }
36
+ # Geo targeting information for the short link in JSON format `{[COUNTRY]: https://example.com }`. Learn more: https://d.to/geo
37
+ field :geo, ::OpenApiSDK::Operations::TrackSaleGeo, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('geo') } }
38
+ # The unique ID of the short link.
39
+ field :id, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('id') } }
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.
41
+ field :image, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('image') } }
42
+ # The iOS destination URL for the short link for iOS device targeting.
43
+ field :ios, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('ios') } }
44
+ # The short link slug. If not provided, a random 7-character slug will be generated.
45
+ field :key, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('key') } }
46
+ # The date and time when the short link was last clicked.
47
+ field :last_clicked, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('lastClicked') } }
48
+ # [BETA]: The number of leads the short links has generated.
49
+ field :leads, ::Float, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('leads') } }
50
+ # The password required to access the destination URL of the short link.
51
+ field :password, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('password') } }
52
+ # Whether the short link uses Custom Social Media Cards feature.
53
+ field :proxy, T::Boolean, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('proxy') } }
54
+ # Whether the short link's stats are publicly accessible.
55
+ field :public_stats, T::Boolean, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('publicStats') } }
56
+ # The full URL of the QR code for the short link (e.g. `https://api.dub.co/qr?url=https://dub.sh/try`).
57
+ field :qr_code, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('qrCode') } }
58
+ # Whether the short link uses link cloaking.
59
+ field :rewrite, T::Boolean, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('rewrite') } }
60
+ # [BETA]: The total dollar amount of sales the short links has generated (in cents).
61
+ field :sale_amount, ::Float, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('saleAmount') } }
62
+ # [BETA]: The number of sales the short links has generated.
63
+ field :sales, ::Float, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('sales') } }
64
+ # The full URL of the short link, including the https protocol (e.g. `https://dub.sh/try`).
65
+ field :short_link, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('shortLink') } }
66
+ # 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
+ field :title, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('title') } }
68
+ # [BETA] Whether to track conversions for the short link.
69
+ field :track_conversion, T::Boolean, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('trackConversion') } }
70
+ # The date and time when the short link was last updated.
71
+ field :updated_at, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('updatedAt') } }
72
+ # The destination URL of the short link.
73
+ field :url, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('url') } }
74
+ # The user ID of the creator of the short link.
75
+ field :user_id, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('userId') } }
76
+ # The UTM campaign of the short link.
77
+ field :utm_campaign, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('utm_campaign') } }
78
+ # The UTM content of the short link.
79
+ field :utm_content, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('utm_content') } }
80
+ # The UTM medium of the short link.
81
+ field :utm_medium, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('utm_medium') } }
82
+ # The UTM source of the short link.
83
+ field :utm_source, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('utm_source') } }
84
+ # The UTM term of the short link.
85
+ field :utm_term, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('utm_term') } }
86
+ # 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
87
+ field :video, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('video') } }
88
+ # The workspace ID of the short link.
89
+ field :workspace_id, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('workspaceId') } }
90
+
91
+
92
+ 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::Operations::TrackSaleGeo, id: ::String, image: ::String, ios: ::String, key: ::String, last_clicked: ::String, leads: ::Float, password: ::String, proxy: T::Boolean, public_stats: T::Boolean, qr_code: ::String, rewrite: T::Boolean, sale_amount: ::Float, sales: ::Float, short_link: ::String, 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, workspace_id: ::String).void }
93
+ 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, proxy: nil, public_stats: nil, qr_code: nil, rewrite: nil, sale_amount: nil, sales: nil, short_link: 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, workspace_id: nil)
94
+ @android = android
95
+ @archived = archived
96
+ @clicks = clicks
97
+ @comments = comments
98
+ @created_at = created_at
99
+ @description = description
100
+ @do_index = do_index
101
+ @domain = domain
102
+ @expired_url = expired_url
103
+ @expires_at = expires_at
104
+ @external_id = external_id
105
+ @geo = geo
106
+ @id = id
107
+ @image = image
108
+ @ios = ios
109
+ @key = key
110
+ @last_clicked = last_clicked
111
+ @leads = leads
112
+ @password = password
113
+ @proxy = proxy
114
+ @public_stats = public_stats
115
+ @qr_code = qr_code
116
+ @rewrite = rewrite
117
+ @sale_amount = sale_amount
118
+ @sales = sales
119
+ @short_link = short_link
120
+ @title = title
121
+ @track_conversion = track_conversion
122
+ @updated_at = updated_at
123
+ @url = url
124
+ @user_id = user_id
125
+ @utm_campaign = utm_campaign
126
+ @utm_content = utm_content
127
+ @utm_medium = utm_medium
128
+ @utm_source = utm_source
129
+ @utm_term = utm_term
130
+ @video = video
131
+ @workspace_id = workspace_id
132
+ end
133
+ end
134
+ end
135
+ end
@@ -12,30 +12,24 @@ module OpenApiSDK
12
12
  extend T::Sig
13
13
 
14
14
 
15
- field :amount, ::Float, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('amount') } }
15
+ field :click, ::OpenApiSDK::Operations::TrackSaleClick, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('click') } }
16
16
 
17
- field :currency, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('currency') } }
18
-
19
- field :customer_id, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('customerId') } }
17
+ field :customer, ::OpenApiSDK::Operations::TrackSaleCustomer, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('customer') } }
20
18
 
21
19
  field :event_name, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('eventName') } }
22
20
 
23
- field :invoice_id, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('invoiceId') } }
24
-
25
- field :metadata, T::Hash[Symbol, ::Object], { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('metadata') } }
21
+ field :link, ::OpenApiSDK::Operations::TrackSaleLink, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('link') } }
26
22
 
27
- field :payment_processor, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('paymentProcessor') } }
23
+ field :sale, ::OpenApiSDK::Operations::Sale, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('sale') } }
28
24
 
29
25
 
30
- sig { params(amount: ::Float, currency: ::String, customer_id: ::String, event_name: ::String, invoice_id: ::String, metadata: T::Hash[Symbol, ::Object], payment_processor: ::String).void }
31
- def initialize(amount: nil, currency: nil, customer_id: nil, event_name: nil, invoice_id: nil, metadata: nil, payment_processor: nil)
32
- @amount = amount
33
- @currency = currency
34
- @customer_id = customer_id
26
+ sig { params(click: ::OpenApiSDK::Operations::TrackSaleClick, customer: ::OpenApiSDK::Operations::TrackSaleCustomer, event_name: ::String, link: ::OpenApiSDK::Operations::TrackSaleLink, sale: ::OpenApiSDK::Operations::Sale).void }
27
+ def initialize(click: nil, customer: nil, event_name: nil, link: nil, sale: nil)
28
+ @click = click
29
+ @customer = customer
35
30
  @event_name = event_name
36
- @invoice_id = invoice_id
37
- @metadata = metadata
38
- @payment_processor = payment_processor
31
+ @link = link
32
+ @sale = sale
39
33
  end
40
34
  end
41
35
  end
@@ -19,6 +19,5 @@ module OpenApiSDK
19
19
  BROWN = new('brown')
20
20
  end
21
21
  end
22
-
23
22
  end
24
23
  end
@@ -65,10 +65,19 @@ module OpenApiSDK
65
65
  autoload :UpdateDomainRequest, 'open_api_sdk/models/operations/updatedomain_request.rb'
66
66
  autoload :UpdateDomainResponse, 'open_api_sdk/models/operations/updatedomain_response.rb'
67
67
  autoload :TrackLeadRequestBody, 'open_api_sdk/models/operations/tracklead_requestbody.rb'
68
+ autoload :Customer, 'open_api_sdk/models/operations/customer.rb'
69
+ autoload :Click, 'open_api_sdk/models/operations/click.rb'
70
+ autoload :Geo, 'open_api_sdk/models/operations/geo.rb'
71
+ autoload :Link, 'open_api_sdk/models/operations/link.rb'
68
72
  autoload :TrackLeadResponseBody, 'open_api_sdk/models/operations/tracklead_responsebody.rb'
69
73
  autoload :TrackLeadResponse, 'open_api_sdk/models/operations/tracklead_response.rb'
70
74
  autoload :PaymentProcessor, 'open_api_sdk/models/operations/paymentprocessor.rb'
71
75
  autoload :TrackSaleRequestBody, 'open_api_sdk/models/operations/tracksale_requestbody.rb'
76
+ autoload :TrackSaleCustomer, 'open_api_sdk/models/operations/tracksale_customer.rb'
77
+ autoload :Sale, 'open_api_sdk/models/operations/sale.rb'
78
+ autoload :TrackSaleClick, 'open_api_sdk/models/operations/tracksale_click.rb'
79
+ autoload :TrackSaleGeo, 'open_api_sdk/models/operations/tracksale_geo.rb'
80
+ autoload :TrackSaleLink, 'open_api_sdk/models/operations/tracksale_link.rb'
72
81
  autoload :TrackSaleResponseBody, 'open_api_sdk/models/operations/tracksale_responsebody.rb'
73
82
  autoload :TrackSaleResponse, 'open_api_sdk/models/operations/tracksale_response.rb'
74
83
  autoload :TrackCustomerRequestBody, 'open_api_sdk/models/operations/trackcustomer_requestbody.rb'
@@ -8,7 +8,7 @@ module OpenApiSDK
8
8
  module Shared
9
9
 
10
10
 
11
- class ClickEvents < ::OpenApiSDK::Utils::FieldAugmented
11
+ class ClickEvent < ::OpenApiSDK::Utils::FieldAugmented
12
12
  extend T::Sig
13
13
 
14
14
 
@@ -26,6 +26,8 @@ module OpenApiSDK
26
26
 
27
27
  field :domain, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('domain') } }
28
28
 
29
+ field :event, ::OpenApiSDK::Shared::Event, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('event'), 'decoder': Utils.enum_from_string(::OpenApiSDK::Shared::Event, false) } }
30
+
29
31
  field :ip, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('ip') } }
30
32
 
31
33
  field :key, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('key') } }
@@ -43,8 +45,8 @@ module OpenApiSDK
43
45
  field :url, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('url') } }
44
46
 
45
47
 
46
- sig { params(browser: ::String, city: ::String, click_id: ::String, continent: ::String, country: ::String, device: ::String, domain: ::String, ip: ::String, key: ::String, link_id: ::String, os: ::String, qr: ::Float, referer: ::String, timestamp: ::String, url: ::String).void }
47
- def initialize(browser: nil, city: nil, click_id: nil, continent: nil, country: nil, device: nil, domain: nil, ip: nil, key: nil, link_id: nil, os: nil, qr: nil, referer: nil, timestamp: nil, url: nil)
48
+ sig { params(browser: ::String, city: ::String, click_id: ::String, continent: ::String, country: ::String, device: ::String, domain: ::String, event: ::OpenApiSDK::Shared::Event, ip: ::String, key: ::String, link_id: ::String, os: ::String, qr: ::Float, referer: ::String, timestamp: ::String, url: ::String).void }
49
+ def initialize(browser: nil, city: nil, click_id: nil, continent: nil, country: nil, device: nil, domain: nil, event: nil, ip: nil, key: nil, link_id: nil, os: nil, qr: nil, referer: nil, timestamp: nil, url: nil)
48
50
  @browser = browser
49
51
  @city = city
50
52
  @click_id = click_id
@@ -52,6 +54,7 @@ module OpenApiSDK
52
54
  @country = country
53
55
  @device = device
54
56
  @domain = domain
57
+ @event = event
55
58
  @ip = ip
56
59
  @key = key
57
60
  @link_id = link_id
@@ -13,6 +13,5 @@ module OpenApiSDK
13
13
  BAD_REQUEST = new('bad_request')
14
14
  end
15
15
  end
16
-
17
16
  end
18
17
  end
@@ -19,6 +19,5 @@ module OpenApiSDK
19
19
  BROWN = new('brown')
20
20
  end
21
21
  end
22
-
23
22
  end
24
23
  end
@@ -13,6 +13,5 @@ module OpenApiSDK
13
13
  CONFLICT = new('conflict')
14
14
  end
15
15
  end
16
-
17
16
  end
18
17
  end
@@ -19,6 +19,5 @@ module OpenApiSDK
19
19
  SA = new('SA')
20
20
  end
21
21
  end
22
-
23
22
  end
24
23
  end
@@ -262,6 +262,5 @@ module OpenApiSDK
262
262
  XK = new('XK')
263
263
  end
264
264
  end
265
-
266
265
  end
267
266
  end
@@ -0,0 +1,17 @@
1
+ # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+
7
+ module OpenApiSDK
8
+ module Shared
9
+
10
+
11
+ class Event < T::Enum
12
+ enums do
13
+ CLICK = new('click')
14
+ end
15
+ end
16
+ end
17
+ end
@@ -13,6 +13,5 @@ module OpenApiSDK
13
13
  FORBIDDEN = new('forbidden')
14
14
  end
15
15
  end
16
-
17
16
  end
18
17
  end
@@ -13,6 +13,5 @@ module OpenApiSDK
13
13
  INTERNAL_SERVER_ERROR = new('internal_server_error')
14
14
  end
15
15
  end
16
-
17
16
  end
18
17
  end
@@ -13,6 +13,5 @@ module OpenApiSDK
13
13
  INVITE_EXPIRED = new('invite_expired')
14
14
  end
15
15
  end
16
-
17
16
  end
18
17
  end
@@ -13,6 +13,5 @@ module OpenApiSDK
13
13
  NOT_FOUND = new('not_found')
14
14
  end
15
15
  end
16
-
17
16
  end
18
17
  end
@@ -19,6 +19,5 @@ module OpenApiSDK
19
19
  ENTERPRISE = new('enterprise')
20
20
  end
21
21
  end
22
-
23
22
  end
24
23
  end
@@ -13,6 +13,5 @@ module OpenApiSDK
13
13
  RATE_LIMIT_EXCEEDED = new('rate_limit_exceeded')
14
14
  end
15
15
  end
16
-
17
16
  end
18
17
  end
@@ -14,6 +14,5 @@ module OpenApiSDK
14
14
  MEMBER = new('member')
15
15
  end
16
16
  end
17
-
18
17
  end
19
18
  end
@@ -13,6 +13,5 @@ module OpenApiSDK
13
13
  UNAUTHORIZED = new('unauthorized')
14
14
  end
15
15
  end
16
-
17
16
  end
18
17
  end
@@ -13,6 +13,5 @@ module OpenApiSDK
13
13
  UNPROCESSABLE_ENTITY = new('unprocessable_entity')
14
14
  end
15
15
  end
16
-
17
16
  end
18
17
  end
@@ -39,7 +39,8 @@ module OpenApiSDK
39
39
  autoload :LinkGeoTargeting, 'open_api_sdk/models/shared/linkgeotargeting.rb'
40
40
  autoload :CountryCode, 'open_api_sdk/models/shared/countrycode.rb'
41
41
  autoload :ContinentCode, 'open_api_sdk/models/shared/continentcode.rb'
42
- autoload :ClickEvents, 'open_api_sdk/models/shared/clickevents.rb'
42
+ autoload :Event, 'open_api_sdk/models/shared/event.rb'
43
+ autoload :ClickEvent, 'open_api_sdk/models/shared/clickevent.rb'
43
44
  autoload :Plan, 'open_api_sdk/models/shared/plan.rb'
44
45
  autoload :Role, 'open_api_sdk/models/shared/role.rb'
45
46
  autoload :Users, 'open_api_sdk/models/shared/users.rb'
@@ -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.8'
42
- @gen_version = '2.404.3'
43
- @user_agent = 'speakeasy-sdk/ruby 0.2.2-alpha.8 2.404.3 0.0.1 dub'
41
+ @sdk_version = '0.2.2-alpha.9'
42
+ @gen_version = '2.407.2'
43
+ @user_agent = 'speakeasy-sdk/ruby 0.2.2-alpha.9 2.407.2 0.0.1 dub'
44
44
  end
45
45
 
46
46
  sig { returns([String, T::Hash[Symbol, String]]) }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dub
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2.pre.alpha.8
4
+ version: 0.2.2.pre.alpha.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dub
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-08-27 00:00:00.000000000 Z
11
+ date: 2024-08-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -153,6 +153,7 @@ files:
153
153
  - lib/open_api_sdk/models/operations/bulkcreatelinks_response.rb
154
154
  - lib/open_api_sdk/models/operations/bulkupdatelinks_requestbody.rb
155
155
  - lib/open_api_sdk/models/operations/bulkupdatelinks_response.rb
156
+ - lib/open_api_sdk/models/operations/click.rb
156
157
  - lib/open_api_sdk/models/operations/color.rb
157
158
  - lib/open_api_sdk/models/operations/createdomain_requestbody.rb
158
159
  - lib/open_api_sdk/models/operations/createdomain_response.rb
@@ -160,6 +161,7 @@ files:
160
161
  - lib/open_api_sdk/models/operations/createlink_response.rb
161
162
  - lib/open_api_sdk/models/operations/createtag_requestbody.rb
162
163
  - lib/open_api_sdk/models/operations/createtag_response.rb
164
+ - lib/open_api_sdk/models/operations/customer.rb
163
165
  - lib/open_api_sdk/models/operations/data.rb
164
166
  - lib/open_api_sdk/models/operations/deletedomain_request.rb
165
167
  - lib/open_api_sdk/models/operations/deletedomain_response.rb
@@ -168,6 +170,7 @@ files:
168
170
  - lib/open_api_sdk/models/operations/deletelink_response.rb
169
171
  - lib/open_api_sdk/models/operations/deletelink_responsebody.rb
170
172
  - lib/open_api_sdk/models/operations/event.rb
173
+ - lib/open_api_sdk/models/operations/geo.rb
171
174
  - lib/open_api_sdk/models/operations/getlinkinfo_request.rb
172
175
  - lib/open_api_sdk/models/operations/getlinkinfo_response.rb
173
176
  - lib/open_api_sdk/models/operations/getlinks_request.rb
@@ -185,6 +188,7 @@ files:
185
188
  - lib/open_api_sdk/models/operations/groupby.rb
186
189
  - lib/open_api_sdk/models/operations/interval.rb
187
190
  - lib/open_api_sdk/models/operations/level.rb
191
+ - lib/open_api_sdk/models/operations/link.rb
188
192
  - lib/open_api_sdk/models/operations/listdomains_request.rb
189
193
  - lib/open_api_sdk/models/operations/listdomains_response.rb
190
194
  - lib/open_api_sdk/models/operations/listevents_request.rb
@@ -196,6 +200,7 @@ files:
196
200
  - lib/open_api_sdk/models/operations/requestbody.rb
197
201
  - lib/open_api_sdk/models/operations/retrieveanalytics_request.rb
198
202
  - lib/open_api_sdk/models/operations/retrieveanalytics_response.rb
203
+ - lib/open_api_sdk/models/operations/sale.rb
199
204
  - lib/open_api_sdk/models/operations/sort.rb
200
205
  - lib/open_api_sdk/models/operations/sortby.rb
201
206
  - lib/open_api_sdk/models/operations/trackcustomer_requestbody.rb
@@ -204,6 +209,10 @@ files:
204
209
  - lib/open_api_sdk/models/operations/tracklead_requestbody.rb
205
210
  - lib/open_api_sdk/models/operations/tracklead_response.rb
206
211
  - lib/open_api_sdk/models/operations/tracklead_responsebody.rb
212
+ - lib/open_api_sdk/models/operations/tracksale_click.rb
213
+ - lib/open_api_sdk/models/operations/tracksale_customer.rb
214
+ - lib/open_api_sdk/models/operations/tracksale_geo.rb
215
+ - lib/open_api_sdk/models/operations/tracksale_link.rb
207
216
  - lib/open_api_sdk/models/operations/tracksale_requestbody.rb
208
217
  - lib/open_api_sdk/models/operations/tracksale_response.rb
209
218
  - lib/open_api_sdk/models/operations/tracksale_responsebody.rb
@@ -224,7 +233,7 @@ files:
224
233
  - lib/open_api_sdk/models/operations/upsertlink_response.rb
225
234
  - lib/open_api_sdk/models/shared.rb
226
235
  - lib/open_api_sdk/models/shared/badrequest.rb
227
- - lib/open_api_sdk/models/shared/clickevents.rb
236
+ - lib/open_api_sdk/models/shared/clickevent.rb
228
237
  - lib/open_api_sdk/models/shared/code.rb
229
238
  - lib/open_api_sdk/models/shared/color.rb
230
239
  - lib/open_api_sdk/models/shared/conflict.rb
@@ -235,6 +244,7 @@ files:
235
244
  - lib/open_api_sdk/models/shared/domains.rb
236
245
  - lib/open_api_sdk/models/shared/domainschema.rb
237
246
  - lib/open_api_sdk/models/shared/error.rb
247
+ - lib/open_api_sdk/models/shared/event.rb
238
248
  - lib/open_api_sdk/models/shared/forbidden.rb
239
249
  - lib/open_api_sdk/models/shared/forbidden_code.rb
240
250
  - lib/open_api_sdk/models/shared/forbidden_error.rb