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.
Files changed (170) hide show
  1. checksums.yaml +4 -4
  2. data/lib/dub.rb +3 -6
  3. data/lib/open_api_sdk/analytics.rb +1 -2
  4. data/lib/open_api_sdk/domains.rb +55 -61
  5. data/lib/open_api_sdk/dub.rb +4 -7
  6. data/lib/open_api_sdk/links.rb +55 -143
  7. data/lib/open_api_sdk/metatags.rb +1 -2
  8. data/lib/open_api_sdk/models/operations/bulkcreatelinks_response.rb +1 -1
  9. data/lib/open_api_sdk/models/operations/bulkupdatelinks_requestbody.rb +5 -8
  10. data/lib/open_api_sdk/models/operations/bulkupdatelinks_response.rb +1 -1
  11. data/lib/open_api_sdk/models/operations/color.rb +2 -1
  12. data/lib/open_api_sdk/models/operations/createdomain_requestbody.rb +3 -9
  13. data/lib/open_api_sdk/models/operations/createdomain_response.rb +1 -1
  14. data/lib/open_api_sdk/models/operations/createlink_requestbody.rb +7 -39
  15. data/lib/open_api_sdk/models/operations/createlink_response.rb +1 -1
  16. data/lib/open_api_sdk/models/operations/createtag_requestbody.rb +1 -1
  17. data/lib/open_api_sdk/models/operations/createtag_response.rb +1 -1
  18. data/lib/open_api_sdk/models/operations/data.rb +7 -36
  19. data/lib/open_api_sdk/models/operations/deletedomain_request.rb +1 -1
  20. data/lib/open_api_sdk/models/operations/deletedomain_response.rb +1 -1
  21. data/lib/open_api_sdk/models/operations/deletedomain_responsebody.rb +1 -1
  22. data/lib/open_api_sdk/models/operations/deletelink_request.rb +1 -1
  23. data/lib/open_api_sdk/models/operations/deletelink_response.rb +2 -2
  24. data/lib/open_api_sdk/models/operations/deletelink_responsebody.rb +2 -2
  25. data/lib/open_api_sdk/models/operations/event.rb +3 -2
  26. data/lib/open_api_sdk/models/operations/getlinkinfo_request.rb +2 -2
  27. data/lib/open_api_sdk/models/operations/getlinkinfo_response.rb +1 -1
  28. data/lib/open_api_sdk/models/operations/getlinks_request.rb +7 -10
  29. data/lib/open_api_sdk/models/operations/getlinks_response.rb +1 -1
  30. data/lib/open_api_sdk/models/operations/getlinkscount_request.rb +3 -3
  31. data/lib/open_api_sdk/models/operations/getlinkscount_response.rb +1 -1
  32. data/lib/open_api_sdk/models/operations/getmetatags_request.rb +1 -1
  33. data/lib/open_api_sdk/models/operations/getmetatags_response.rb +1 -1
  34. data/lib/open_api_sdk/models/operations/getmetatags_responsebody.rb +1 -1
  35. data/lib/open_api_sdk/models/operations/getqrcode_request.rb +4 -13
  36. data/lib/open_api_sdk/models/operations/getqrcode_response.rb +1 -1
  37. data/lib/open_api_sdk/models/operations/gettags_response.rb +1 -1
  38. data/lib/open_api_sdk/models/operations/getworkspace_request.rb +1 -1
  39. data/lib/open_api_sdk/models/operations/getworkspace_response.rb +1 -1
  40. data/lib/open_api_sdk/models/operations/groupby.rb +4 -7
  41. data/lib/open_api_sdk/models/operations/interval.rb +3 -2
  42. data/lib/open_api_sdk/models/operations/level.rb +2 -1
  43. data/lib/open_api_sdk/models/operations/listdomains_response.rb +1 -1
  44. data/lib/open_api_sdk/models/operations/paymentprocessor.rb +2 -1
  45. data/lib/open_api_sdk/models/operations/requestbody.rb +7 -39
  46. data/lib/open_api_sdk/models/operations/retrieveanalytics_request.rb +10 -25
  47. data/lib/open_api_sdk/models/operations/retrieveanalytics_response.rb +1 -1
  48. data/lib/open_api_sdk/models/operations/sort.rb +2 -1
  49. data/lib/open_api_sdk/models/operations/trackcustomer_requestbody.rb +1 -1
  50. data/lib/open_api_sdk/models/operations/trackcustomer_response.rb +1 -1
  51. data/lib/open_api_sdk/models/operations/trackcustomer_responsebody.rb +1 -1
  52. data/lib/open_api_sdk/models/operations/tracklead_requestbody.rb +7 -12
  53. data/lib/open_api_sdk/models/operations/tracklead_response.rb +1 -1
  54. data/lib/open_api_sdk/models/operations/tracklead_responsebody.rb +22 -7
  55. data/lib/open_api_sdk/models/operations/tracksale_requestbody.rb +6 -11
  56. data/lib/open_api_sdk/models/operations/tracksale_response.rb +1 -1
  57. data/lib/open_api_sdk/models/operations/tracksale_responsebody.rb +19 -7
  58. data/lib/open_api_sdk/models/operations/updatedomain_request.rb +1 -1
  59. data/lib/open_api_sdk/models/operations/updatedomain_requestbody.rb +3 -9
  60. data/lib/open_api_sdk/models/operations/updatedomain_response.rb +1 -1
  61. data/lib/open_api_sdk/models/operations/updatelink_request.rb +1 -1
  62. data/lib/open_api_sdk/models/operations/updatelink_requestbody.rb +8 -40
  63. data/lib/open_api_sdk/models/operations/updatelink_response.rb +1 -1
  64. data/lib/open_api_sdk/models/operations/updatetag_color.rb +2 -1
  65. data/lib/open_api_sdk/models/operations/updatetag_request.rb +1 -1
  66. data/lib/open_api_sdk/models/operations/updatetag_requestbody.rb +1 -1
  67. data/lib/open_api_sdk/models/operations/updatetag_response.rb +1 -1
  68. data/lib/open_api_sdk/models/operations/updateworkspace_request.rb +1 -1
  69. data/lib/open_api_sdk/models/operations/updateworkspace_requestbody.rb +3 -6
  70. data/lib/open_api_sdk/models/operations/updateworkspace_response.rb +1 -1
  71. data/lib/open_api_sdk/models/operations/upsertlink_requestbody.rb +7 -39
  72. data/lib/open_api_sdk/models/operations/upsertlink_response.rb +1 -1
  73. data/lib/open_api_sdk/models/operations.rb +19 -56
  74. data/lib/open_api_sdk/models/shared/badrequest.rb +2 -2
  75. data/lib/open_api_sdk/models/shared/code.rb +2 -1
  76. data/lib/open_api_sdk/models/shared/color.rb +2 -1
  77. data/lib/open_api_sdk/models/shared/conflict.rb +2 -2
  78. data/lib/open_api_sdk/models/shared/conflict_code.rb +2 -1
  79. data/lib/open_api_sdk/models/shared/conflict_error.rb +1 -1
  80. data/lib/open_api_sdk/models/shared/countrycode.rb +2 -1
  81. data/lib/open_api_sdk/models/shared/domains.rb +3 -6
  82. data/lib/open_api_sdk/models/shared/domainschema.rb +3 -12
  83. data/lib/open_api_sdk/models/shared/error.rb +1 -1
  84. data/lib/open_api_sdk/models/shared/forbidden.rb +2 -2
  85. data/lib/open_api_sdk/models/shared/forbidden_code.rb +2 -1
  86. data/lib/open_api_sdk/models/shared/forbidden_error.rb +1 -1
  87. data/lib/open_api_sdk/models/shared/geo.rb +1 -1
  88. data/lib/open_api_sdk/models/shared/internalservererror.rb +2 -2
  89. data/lib/open_api_sdk/models/shared/internalservererror_code.rb +2 -1
  90. data/lib/open_api_sdk/models/shared/internalservererror_error.rb +1 -1
  91. data/lib/open_api_sdk/models/shared/inviteexpired.rb +2 -2
  92. data/lib/open_api_sdk/models/shared/inviteexpired_code.rb +2 -1
  93. data/lib/open_api_sdk/models/shared/inviteexpired_error.rb +1 -1
  94. data/lib/open_api_sdk/models/shared/linkgeotargeting.rb +1 -1
  95. data/lib/open_api_sdk/models/shared/linkschema.rb +4 -19
  96. data/lib/open_api_sdk/models/shared/notfound.rb +2 -2
  97. data/lib/open_api_sdk/models/shared/notfound_code.rb +2 -1
  98. data/lib/open_api_sdk/models/shared/notfound_error.rb +1 -1
  99. data/lib/open_api_sdk/models/shared/plan.rb +2 -1
  100. data/lib/open_api_sdk/models/shared/ratelimitexceeded.rb +2 -2
  101. data/lib/open_api_sdk/models/shared/ratelimitexceeded_code.rb +2 -1
  102. data/lib/open_api_sdk/models/shared/ratelimitexceeded_error.rb +1 -1
  103. data/lib/open_api_sdk/models/shared/role.rb +2 -1
  104. data/lib/open_api_sdk/models/shared/security.rb +3 -3
  105. data/lib/open_api_sdk/models/shared/tagschema.rb +1 -1
  106. data/lib/open_api_sdk/models/shared/unauthorized.rb +2 -2
  107. data/lib/open_api_sdk/models/shared/unauthorized_code.rb +2 -1
  108. data/lib/open_api_sdk/models/shared/unauthorized_error.rb +1 -1
  109. data/lib/open_api_sdk/models/shared/unprocessableentity.rb +2 -2
  110. data/lib/open_api_sdk/models/shared/unprocessableentity_code.rb +2 -1
  111. data/lib/open_api_sdk/models/shared/unprocessableentity_error.rb +1 -1
  112. data/lib/open_api_sdk/models/shared/users.rb +1 -1
  113. data/lib/open_api_sdk/models/shared/workspaceschema.rb +7 -46
  114. data/lib/open_api_sdk/models/shared.rb +2 -9
  115. data/lib/open_api_sdk/qr_codes.rb +2 -2
  116. data/lib/open_api_sdk/sdkconfiguration.rb +4 -4
  117. data/lib/open_api_sdk/tags.rb +28 -113
  118. data/lib/open_api_sdk/track.rb +1 -6
  119. data/lib/open_api_sdk/utils/metadata_fields.rb +1 -1
  120. data/lib/open_api_sdk/utils/t.rb +1 -1
  121. data/lib/open_api_sdk/utils/utils.rb +1 -1
  122. data/lib/open_api_sdk/workspaces.rb +1 -3
  123. metadata +10 -57
  124. data/lib/open_api_sdk/customers.rb +0 -439
  125. data/lib/open_api_sdk/embed_tokens.rb +0 -107
  126. data/lib/open_api_sdk/events.rb +0 -100
  127. data/lib/open_api_sdk/models/operations/bulkdeletelinks_request.rb +0 -24
  128. data/lib/open_api_sdk/models/operations/bulkdeletelinks_response.rb +0 -60
  129. data/lib/open_api_sdk/models/operations/bulkdeletelinks_responsebody.rb +0 -24
  130. data/lib/open_api_sdk/models/operations/click.rb +0 -24
  131. data/lib/open_api_sdk/models/operations/createcustomer_requestbody.rb +0 -33
  132. data/lib/open_api_sdk/models/operations/createcustomer_response.rb +0 -60
  133. data/lib/open_api_sdk/models/operations/createcustomer_responsebody.rb +0 -39
  134. data/lib/open_api_sdk/models/operations/createembedtoken_requestbody.rb +0 -24
  135. data/lib/open_api_sdk/models/operations/createembedtoken_response.rb +0 -60
  136. data/lib/open_api_sdk/models/operations/createembedtoken_responsebody.rb +0 -27
  137. data/lib/open_api_sdk/models/operations/customer.rb +0 -33
  138. data/lib/open_api_sdk/models/operations/deletecustomer_request.rb +0 -24
  139. data/lib/open_api_sdk/models/operations/deletecustomer_response.rb +0 -60
  140. data/lib/open_api_sdk/models/operations/deletecustomer_responsebody.rb +0 -24
  141. data/lib/open_api_sdk/models/operations/deletetag_request.rb +0 -24
  142. data/lib/open_api_sdk/models/operations/deletetag_response.rb +0 -60
  143. data/lib/open_api_sdk/models/operations/deletetag_responsebody.rb +0 -24
  144. data/lib/open_api_sdk/models/operations/getcustomer_request.rb +0 -24
  145. data/lib/open_api_sdk/models/operations/getcustomer_response.rb +0 -60
  146. data/lib/open_api_sdk/models/operations/getcustomer_responsebody.rb +0 -39
  147. data/lib/open_api_sdk/models/operations/getcustomers_response.rb +0 -60
  148. data/lib/open_api_sdk/models/operations/listdomains_request.rb +0 -33
  149. data/lib/open_api_sdk/models/operations/listevents_request.rb +0 -105
  150. data/lib/open_api_sdk/models/operations/listevents_response.rb +0 -60
  151. data/lib/open_api_sdk/models/operations/order.rb +0 -18
  152. data/lib/open_api_sdk/models/operations/queryparam_event.rb +0 -19
  153. data/lib/open_api_sdk/models/operations/queryparam_interval.rb +0 -23
  154. data/lib/open_api_sdk/models/operations/queryparam_trigger.rb +0 -18
  155. data/lib/open_api_sdk/models/operations/responsebody.rb +0 -39
  156. data/lib/open_api_sdk/models/operations/sale.rb +0 -36
  157. data/lib/open_api_sdk/models/operations/sortby.rb +0 -17
  158. data/lib/open_api_sdk/models/operations/tracksale_customer.rb +0 -36
  159. data/lib/open_api_sdk/models/operations/trigger.rb +0 -18
  160. data/lib/open_api_sdk/models/operations/updatecustomer_request.rb +0 -27
  161. data/lib/open_api_sdk/models/operations/updatecustomer_requestbody.rb +0 -33
  162. data/lib/open_api_sdk/models/operations/updatecustomer_response.rb +0 -60
  163. data/lib/open_api_sdk/models/operations/updatecustomer_responsebody.rb +0 -39
  164. data/lib/open_api_sdk/models/shared/click.rb +0 -60
  165. data/lib/open_api_sdk/models/shared/clickevent.rb +0 -98
  166. data/lib/open_api_sdk/models/shared/clickevent_geo.rb +0 -771
  167. data/lib/open_api_sdk/models/shared/continentcode.rb +0 -23
  168. data/lib/open_api_sdk/models/shared/event.rb +0 -17
  169. data/lib/open_api_sdk/models/shared/link.rb +0 -157
  170. data/lib/open_api_sdk/models/shared/registereddomain.rb +0 -30
@@ -1,4 +1,4 @@
1
- # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
1
+ # Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
2
2
 
3
3
  # typed: true
4
4
  # frozen_string_literal: true
@@ -19,92 +19,6 @@ module OpenApiSDK
19
19
  end
20
20
 
21
21
 
22
- sig { params(request: T.nilable(::OpenApiSDK::Operations::CreateTagRequestBody)).returns(::OpenApiSDK::Operations::CreateTagResponse) }
23
- def create(request)
24
- # create - Create a new tag
25
- # Create a new tag for the authenticated workspace.
26
- url, params = @sdk_configuration.get_server_details
27
- base_url = Utils.template_url(url, params)
28
- url = "#{base_url}/tags"
29
- headers = {}
30
- req_content_type, data, form = Utils.serialize_request_body(request, :request, :json)
31
- headers['content-type'] = req_content_type
32
- headers['Accept'] = 'application/json'
33
- headers['user-agent'] = @sdk_configuration.user_agent
34
-
35
- r = @sdk_configuration.client.post(url) do |req|
36
- req.headers = headers
37
- Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil?
38
- if form
39
- req.body = Utils.encode_form(form)
40
- elsif Utils.match_content_type(req_content_type, 'application/x-www-form-urlencoded')
41
- req.body = URI.encode_www_form(data)
42
- else
43
- req.body = data
44
- end
45
- end
46
-
47
- content_type = r.headers.fetch('Content-Type', 'application/octet-stream')
48
-
49
- res = ::OpenApiSDK::Operations::CreateTagResponse.new(
50
- status_code: r.status, content_type: content_type, raw_response: r
51
- )
52
- if r.status == 201
53
- if Utils.match_content_type(content_type, 'application/json')
54
- out = Utils.unmarshal_complex(r.env.response_body, ::OpenApiSDK::Shared::TagSchema)
55
- res.tag_schema = out
56
- end
57
- elsif r.status == 400
58
- if Utils.match_content_type(content_type, 'application/json')
59
- out = Utils.unmarshal_complex(r.env.response_body, ::OpenApiSDK::Shared::BadRequest)
60
- res.bad_request = out
61
- end
62
- elsif r.status == 401
63
- if Utils.match_content_type(content_type, 'application/json')
64
- out = Utils.unmarshal_complex(r.env.response_body, ::OpenApiSDK::Shared::Unauthorized)
65
- res.unauthorized = out
66
- end
67
- elsif r.status == 403
68
- if Utils.match_content_type(content_type, 'application/json')
69
- out = Utils.unmarshal_complex(r.env.response_body, ::OpenApiSDK::Shared::Forbidden)
70
- res.forbidden = out
71
- end
72
- elsif r.status == 404
73
- if Utils.match_content_type(content_type, 'application/json')
74
- out = Utils.unmarshal_complex(r.env.response_body, ::OpenApiSDK::Shared::NotFound)
75
- res.not_found = out
76
- end
77
- elsif r.status == 409
78
- if Utils.match_content_type(content_type, 'application/json')
79
- out = Utils.unmarshal_complex(r.env.response_body, ::OpenApiSDK::Shared::Conflict)
80
- res.conflict = out
81
- end
82
- elsif r.status == 410
83
- if Utils.match_content_type(content_type, 'application/json')
84
- out = Utils.unmarshal_complex(r.env.response_body, ::OpenApiSDK::Shared::InviteExpired)
85
- res.invite_expired = out
86
- end
87
- elsif r.status == 422
88
- if Utils.match_content_type(content_type, 'application/json')
89
- out = Utils.unmarshal_complex(r.env.response_body, ::OpenApiSDK::Shared::UnprocessableEntity)
90
- res.unprocessable_entity = out
91
- end
92
- elsif r.status == 429
93
- if Utils.match_content_type(content_type, 'application/json')
94
- out = Utils.unmarshal_complex(r.env.response_body, ::OpenApiSDK::Shared::RateLimitExceeded)
95
- res.rate_limit_exceeded = out
96
- end
97
- elsif r.status == 500
98
- if Utils.match_content_type(content_type, 'application/json')
99
- out = Utils.unmarshal_complex(r.env.response_body, ::OpenApiSDK::Shared::InternalServerError)
100
- res.internal_server_error = out
101
- end
102
- end
103
-
104
- res
105
- end
106
-
107
-
108
22
  sig { returns(::OpenApiSDK::Operations::GetTagsResponse) }
109
23
  def list
110
24
  # list - Retrieve a list of tags
@@ -177,30 +91,24 @@ module OpenApiSDK
177
91
  res.internal_server_error = out
178
92
  end
179
93
  end
180
-
181
94
  res
182
95
  end
183
96
 
184
97
 
185
- sig { params(request: T.nilable(::OpenApiSDK::Operations::UpdateTagRequest)).returns(::OpenApiSDK::Operations::UpdateTagResponse) }
186
- def update(request)
187
- # update - Update a tag
188
- # Update a tag in the workspace.
98
+ sig { params(request: T.nilable(::OpenApiSDK::Operations::CreateTagRequestBody)).returns(::OpenApiSDK::Operations::CreateTagResponse) }
99
+ def create(request)
100
+ # create - Create a new tag
101
+ # Create a new tag for the authenticated workspace.
189
102
  url, params = @sdk_configuration.get_server_details
190
103
  base_url = Utils.template_url(url, params)
191
- url = Utils.generate_url(
192
- ::OpenApiSDK::Operations::UpdateTagRequest,
193
- base_url,
194
- '/tags/{id}',
195
- request
196
- )
104
+ url = "#{base_url}/tags"
197
105
  headers = {}
198
- req_content_type, data, form = Utils.serialize_request_body(request, :request_body, :json)
106
+ req_content_type, data, form = Utils.serialize_request_body(request, :request, :json)
199
107
  headers['content-type'] = req_content_type
200
108
  headers['Accept'] = 'application/json'
201
109
  headers['user-agent'] = @sdk_configuration.user_agent
202
110
 
203
- r = @sdk_configuration.client.patch(url) do |req|
111
+ r = @sdk_configuration.client.post(url) do |req|
204
112
  req.headers = headers
205
113
  Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil?
206
114
  if form
@@ -214,10 +122,10 @@ module OpenApiSDK
214
122
 
215
123
  content_type = r.headers.fetch('Content-Type', 'application/octet-stream')
216
124
 
217
- res = ::OpenApiSDK::Operations::UpdateTagResponse.new(
125
+ res = ::OpenApiSDK::Operations::CreateTagResponse.new(
218
126
  status_code: r.status, content_type: content_type, raw_response: r
219
127
  )
220
- if r.status == 200
128
+ if r.status == 201
221
129
  if Utils.match_content_type(content_type, 'application/json')
222
130
  out = Utils.unmarshal_complex(r.env.response_body, ::OpenApiSDK::Shared::TagSchema)
223
131
  res.tag_schema = out
@@ -268,41 +176,49 @@ module OpenApiSDK
268
176
  res.internal_server_error = out
269
177
  end
270
178
  end
271
-
272
179
  res
273
180
  end
274
181
 
275
182
 
276
- sig { params(request: T.nilable(::OpenApiSDK::Operations::DeleteTagRequest)).returns(::OpenApiSDK::Operations::DeleteTagResponse) }
277
- def delete(request)
278
- # delete - Delete a tag
279
- # Delete a tag from the workspace. All existing links will still work, but they will no longer be associated with this tag.
183
+ sig { params(request: T.nilable(::OpenApiSDK::Operations::UpdateTagRequest)).returns(::OpenApiSDK::Operations::UpdateTagResponse) }
184
+ def update(request)
185
+ # update - Update a tag
186
+ # Update a tag in the workspace.
280
187
  url, params = @sdk_configuration.get_server_details
281
188
  base_url = Utils.template_url(url, params)
282
189
  url = Utils.generate_url(
283
- ::OpenApiSDK::Operations::DeleteTagRequest,
190
+ ::OpenApiSDK::Operations::UpdateTagRequest,
284
191
  base_url,
285
192
  '/tags/{id}',
286
193
  request
287
194
  )
288
195
  headers = {}
196
+ req_content_type, data, form = Utils.serialize_request_body(request, :request_body, :json)
197
+ headers['content-type'] = req_content_type
289
198
  headers['Accept'] = 'application/json'
290
199
  headers['user-agent'] = @sdk_configuration.user_agent
291
200
 
292
- r = @sdk_configuration.client.delete(url) do |req|
201
+ r = @sdk_configuration.client.patch(url) do |req|
293
202
  req.headers = headers
294
203
  Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil?
204
+ if form
205
+ req.body = Utils.encode_form(form)
206
+ elsif Utils.match_content_type(req_content_type, 'application/x-www-form-urlencoded')
207
+ req.body = URI.encode_www_form(data)
208
+ else
209
+ req.body = data
210
+ end
295
211
  end
296
212
 
297
213
  content_type = r.headers.fetch('Content-Type', 'application/octet-stream')
298
214
 
299
- res = ::OpenApiSDK::Operations::DeleteTagResponse.new(
215
+ res = ::OpenApiSDK::Operations::UpdateTagResponse.new(
300
216
  status_code: r.status, content_type: content_type, raw_response: r
301
217
  )
302
218
  if r.status == 200
303
219
  if Utils.match_content_type(content_type, 'application/json')
304
- out = Utils.unmarshal_complex(r.env.response_body, ::OpenApiSDK::Operations::DeleteTagResponseBody)
305
- res.object = out
220
+ out = Utils.unmarshal_complex(r.env.response_body, ::OpenApiSDK::Shared::TagSchema)
221
+ res.tag_schema = out
306
222
  end
307
223
  elsif r.status == 400
308
224
  if Utils.match_content_type(content_type, 'application/json')
@@ -350,7 +266,6 @@ module OpenApiSDK
350
266
  res.internal_server_error = out
351
267
  end
352
268
  end
353
-
354
269
  res
355
270
  end
356
271
  end
@@ -1,4 +1,4 @@
1
- # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
1
+ # Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
2
2
 
3
3
  # typed: true
4
4
  # frozen_string_literal: true
@@ -100,7 +100,6 @@ module OpenApiSDK
100
100
  res.internal_server_error = out
101
101
  end
102
102
  end
103
-
104
103
  res
105
104
  end
106
105
 
@@ -186,7 +185,6 @@ module OpenApiSDK
186
185
  res.internal_server_error = out
187
186
  end
188
187
  end
189
-
190
188
  res
191
189
  end
192
190
 
@@ -195,8 +193,6 @@ module OpenApiSDK
195
193
  def customer(request)
196
194
  # customer - Track a customer
197
195
  # Track a customer for an authenticated workspace.
198
- #
199
- # @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
200
196
  url, params = @sdk_configuration.get_server_details
201
197
  base_url = Utils.template_url(url, params)
202
198
  url = "#{base_url}/track/customer"
@@ -274,7 +270,6 @@ module OpenApiSDK
274
270
  res.internal_server_error = out
275
271
  end
276
272
  end
277
-
278
273
  res
279
274
  end
280
275
  end
@@ -1,4 +1,4 @@
1
- # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
1
+ # Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
2
2
 
3
3
  # typed: true
4
4
  # frozen_string_literal: true
@@ -1,4 +1,4 @@
1
- # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
1
+ # Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
2
2
 
3
3
  # typed: true
4
4
  # frozen_string_literal: true
@@ -1,4 +1,4 @@
1
- # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
1
+ # Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
2
2
 
3
3
  # typed: true
4
4
  # frozen_string_literal: true
@@ -1,4 +1,4 @@
1
- # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
1
+ # Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
2
2
 
3
3
  # typed: true
4
4
  # frozen_string_literal: true
@@ -96,7 +96,6 @@ module OpenApiSDK
96
96
  res.internal_server_error = out
97
97
  end
98
98
  end
99
-
100
99
  res
101
100
  end
102
101
 
@@ -187,7 +186,6 @@ module OpenApiSDK
187
186
  res.internal_server_error = out
188
187
  end
189
188
  end
190
-
191
189
  res
192
190
  end
193
191
  end
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.42
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dub
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-11-30 00:00:00.000000000 Z
11
+ date: 2024-07-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -67,7 +67,7 @@ dependencies:
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
69
  - !ruby/object:Gem::Dependency
70
- name: sorbet-runtime
70
+ name: sorbet
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
73
  - - ">="
@@ -98,18 +98,18 @@ dependencies:
98
98
  name: rubocop
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - "~>"
101
+ - - ">="
102
102
  - !ruby/object:Gem::Version
103
- version: 1.60.2
103
+ version: '0'
104
104
  type: :development
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
- - - "~>"
108
+ - - ">="
109
109
  - !ruby/object:Gem::Version
110
- version: 1.60.2
110
+ version: '0'
111
111
  - !ruby/object:Gem::Dependency
112
- name: sorbet
112
+ name: sorbet-runtime
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
115
  - - ">="
@@ -144,53 +144,29 @@ extra_rdoc_files: []
144
144
  files:
145
145
  - lib/dub.rb
146
146
  - lib/open_api_sdk/analytics.rb
147
- - lib/open_api_sdk/customers.rb
148
147
  - lib/open_api_sdk/domains.rb
149
148
  - lib/open_api_sdk/dub.rb
150
- - lib/open_api_sdk/embed_tokens.rb
151
- - lib/open_api_sdk/events.rb
152
149
  - lib/open_api_sdk/links.rb
153
150
  - lib/open_api_sdk/metatags.rb
154
151
  - lib/open_api_sdk/models/operations.rb
155
152
  - lib/open_api_sdk/models/operations/bulkcreatelinks_response.rb
156
- - lib/open_api_sdk/models/operations/bulkdeletelinks_request.rb
157
- - lib/open_api_sdk/models/operations/bulkdeletelinks_response.rb
158
- - lib/open_api_sdk/models/operations/bulkdeletelinks_responsebody.rb
159
153
  - lib/open_api_sdk/models/operations/bulkupdatelinks_requestbody.rb
160
154
  - lib/open_api_sdk/models/operations/bulkupdatelinks_response.rb
161
- - lib/open_api_sdk/models/operations/click.rb
162
155
  - lib/open_api_sdk/models/operations/color.rb
163
- - lib/open_api_sdk/models/operations/createcustomer_requestbody.rb
164
- - lib/open_api_sdk/models/operations/createcustomer_response.rb
165
- - lib/open_api_sdk/models/operations/createcustomer_responsebody.rb
166
156
  - lib/open_api_sdk/models/operations/createdomain_requestbody.rb
167
157
  - lib/open_api_sdk/models/operations/createdomain_response.rb
168
- - lib/open_api_sdk/models/operations/createembedtoken_requestbody.rb
169
- - lib/open_api_sdk/models/operations/createembedtoken_response.rb
170
- - lib/open_api_sdk/models/operations/createembedtoken_responsebody.rb
171
158
  - lib/open_api_sdk/models/operations/createlink_requestbody.rb
172
159
  - lib/open_api_sdk/models/operations/createlink_response.rb
173
160
  - lib/open_api_sdk/models/operations/createtag_requestbody.rb
174
161
  - lib/open_api_sdk/models/operations/createtag_response.rb
175
- - lib/open_api_sdk/models/operations/customer.rb
176
162
  - lib/open_api_sdk/models/operations/data.rb
177
- - lib/open_api_sdk/models/operations/deletecustomer_request.rb
178
- - lib/open_api_sdk/models/operations/deletecustomer_response.rb
179
- - lib/open_api_sdk/models/operations/deletecustomer_responsebody.rb
180
163
  - lib/open_api_sdk/models/operations/deletedomain_request.rb
181
164
  - lib/open_api_sdk/models/operations/deletedomain_response.rb
182
165
  - lib/open_api_sdk/models/operations/deletedomain_responsebody.rb
183
166
  - lib/open_api_sdk/models/operations/deletelink_request.rb
184
167
  - lib/open_api_sdk/models/operations/deletelink_response.rb
185
168
  - lib/open_api_sdk/models/operations/deletelink_responsebody.rb
186
- - lib/open_api_sdk/models/operations/deletetag_request.rb
187
- - lib/open_api_sdk/models/operations/deletetag_response.rb
188
- - lib/open_api_sdk/models/operations/deletetag_responsebody.rb
189
169
  - lib/open_api_sdk/models/operations/event.rb
190
- - lib/open_api_sdk/models/operations/getcustomer_request.rb
191
- - lib/open_api_sdk/models/operations/getcustomer_response.rb
192
- - lib/open_api_sdk/models/operations/getcustomer_responsebody.rb
193
- - lib/open_api_sdk/models/operations/getcustomers_response.rb
194
170
  - lib/open_api_sdk/models/operations/getlinkinfo_request.rb
195
171
  - lib/open_api_sdk/models/operations/getlinkinfo_response.rb
196
172
  - lib/open_api_sdk/models/operations/getlinks_request.rb
@@ -208,37 +184,21 @@ files:
208
184
  - lib/open_api_sdk/models/operations/groupby.rb
209
185
  - lib/open_api_sdk/models/operations/interval.rb
210
186
  - lib/open_api_sdk/models/operations/level.rb
211
- - lib/open_api_sdk/models/operations/listdomains_request.rb
212
187
  - lib/open_api_sdk/models/operations/listdomains_response.rb
213
- - lib/open_api_sdk/models/operations/listevents_request.rb
214
- - lib/open_api_sdk/models/operations/listevents_response.rb
215
- - lib/open_api_sdk/models/operations/order.rb
216
188
  - lib/open_api_sdk/models/operations/paymentprocessor.rb
217
- - lib/open_api_sdk/models/operations/queryparam_event.rb
218
- - lib/open_api_sdk/models/operations/queryparam_interval.rb
219
- - lib/open_api_sdk/models/operations/queryparam_trigger.rb
220
189
  - lib/open_api_sdk/models/operations/requestbody.rb
221
- - lib/open_api_sdk/models/operations/responsebody.rb
222
190
  - lib/open_api_sdk/models/operations/retrieveanalytics_request.rb
223
191
  - lib/open_api_sdk/models/operations/retrieveanalytics_response.rb
224
- - lib/open_api_sdk/models/operations/sale.rb
225
192
  - lib/open_api_sdk/models/operations/sort.rb
226
- - lib/open_api_sdk/models/operations/sortby.rb
227
193
  - lib/open_api_sdk/models/operations/trackcustomer_requestbody.rb
228
194
  - lib/open_api_sdk/models/operations/trackcustomer_response.rb
229
195
  - lib/open_api_sdk/models/operations/trackcustomer_responsebody.rb
230
196
  - lib/open_api_sdk/models/operations/tracklead_requestbody.rb
231
197
  - lib/open_api_sdk/models/operations/tracklead_response.rb
232
198
  - lib/open_api_sdk/models/operations/tracklead_responsebody.rb
233
- - lib/open_api_sdk/models/operations/tracksale_customer.rb
234
199
  - lib/open_api_sdk/models/operations/tracksale_requestbody.rb
235
200
  - lib/open_api_sdk/models/operations/tracksale_response.rb
236
201
  - lib/open_api_sdk/models/operations/tracksale_responsebody.rb
237
- - lib/open_api_sdk/models/operations/trigger.rb
238
- - lib/open_api_sdk/models/operations/updatecustomer_request.rb
239
- - lib/open_api_sdk/models/operations/updatecustomer_requestbody.rb
240
- - lib/open_api_sdk/models/operations/updatecustomer_response.rb
241
- - lib/open_api_sdk/models/operations/updatecustomer_responsebody.rb
242
202
  - lib/open_api_sdk/models/operations/updatedomain_request.rb
243
203
  - lib/open_api_sdk/models/operations/updatedomain_requestbody.rb
244
204
  - lib/open_api_sdk/models/operations/updatedomain_response.rb
@@ -256,20 +216,15 @@ files:
256
216
  - lib/open_api_sdk/models/operations/upsertlink_response.rb
257
217
  - lib/open_api_sdk/models/shared.rb
258
218
  - lib/open_api_sdk/models/shared/badrequest.rb
259
- - lib/open_api_sdk/models/shared/click.rb
260
- - lib/open_api_sdk/models/shared/clickevent.rb
261
- - lib/open_api_sdk/models/shared/clickevent_geo.rb
262
219
  - lib/open_api_sdk/models/shared/code.rb
263
220
  - lib/open_api_sdk/models/shared/color.rb
264
221
  - lib/open_api_sdk/models/shared/conflict.rb
265
222
  - lib/open_api_sdk/models/shared/conflict_code.rb
266
223
  - lib/open_api_sdk/models/shared/conflict_error.rb
267
- - lib/open_api_sdk/models/shared/continentcode.rb
268
224
  - lib/open_api_sdk/models/shared/countrycode.rb
269
225
  - lib/open_api_sdk/models/shared/domains.rb
270
226
  - lib/open_api_sdk/models/shared/domainschema.rb
271
227
  - lib/open_api_sdk/models/shared/error.rb
272
- - lib/open_api_sdk/models/shared/event.rb
273
228
  - lib/open_api_sdk/models/shared/forbidden.rb
274
229
  - lib/open_api_sdk/models/shared/forbidden_code.rb
275
230
  - lib/open_api_sdk/models/shared/forbidden_error.rb
@@ -280,7 +235,6 @@ files:
280
235
  - lib/open_api_sdk/models/shared/inviteexpired.rb
281
236
  - lib/open_api_sdk/models/shared/inviteexpired_code.rb
282
237
  - lib/open_api_sdk/models/shared/inviteexpired_error.rb
283
- - lib/open_api_sdk/models/shared/link.rb
284
238
  - lib/open_api_sdk/models/shared/linkgeotargeting.rb
285
239
  - lib/open_api_sdk/models/shared/linkschema.rb
286
240
  - lib/open_api_sdk/models/shared/notfound.rb
@@ -290,7 +244,6 @@ files:
290
244
  - lib/open_api_sdk/models/shared/ratelimitexceeded.rb
291
245
  - lib/open_api_sdk/models/shared/ratelimitexceeded_code.rb
292
246
  - lib/open_api_sdk/models/shared/ratelimitexceeded_error.rb
293
- - lib/open_api_sdk/models/shared/registereddomain.rb
294
247
  - lib/open_api_sdk/models/shared/role.rb
295
248
  - lib/open_api_sdk/models/shared/security.rb
296
249
  - lib/open_api_sdk/models/shared/tagschema.rb
@@ -328,9 +281,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
328
281
  version: '3.0'
329
282
  required_rubygems_version: !ruby/object:Gem::Requirement
330
283
  requirements:
331
- - - ">"
284
+ - - ">="
332
285
  - !ruby/object:Gem::Version
333
- version: 1.3.1
286
+ version: '0'
334
287
  requirements: []
335
288
  rubygems_version: 3.3.26
336
289
  signing_key: