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,40 +19,33 @@ module OpenApiSDK
19
19
  end
20
20
 
21
21
 
22
- sig { params(request: T.nilable(::OpenApiSDK::Operations::CreateLinkRequestBody)).returns(::OpenApiSDK::Operations::CreateLinkResponse) }
23
- def create(request)
24
- # create - Create a new link
25
- # Create a new link for the authenticated workspace.
22
+ sig { params(request: T.nilable(::OpenApiSDK::Operations::GetLinksRequest)).returns(::OpenApiSDK::Operations::GetLinksResponse) }
23
+ def list(request)
24
+ # list - Retrieve a list of links
25
+ # Retrieve a paginated list of links for the authenticated workspace.
26
26
  url, params = @sdk_configuration.get_server_details
27
27
  base_url = Utils.template_url(url, params)
28
28
  url = "#{base_url}/links"
29
29
  headers = {}
30
- req_content_type, data, form = Utils.serialize_request_body(request, :request, :json)
31
- headers['content-type'] = req_content_type
30
+ query_params = Utils.get_query_params(::OpenApiSDK::Operations::GetLinksRequest, request)
32
31
  headers['Accept'] = 'application/json'
33
32
  headers['user-agent'] = @sdk_configuration.user_agent
34
33
 
35
- r = @sdk_configuration.client.post(url) do |req|
34
+ r = @sdk_configuration.client.get(url) do |req|
36
35
  req.headers = headers
36
+ req.params = query_params
37
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
38
  end
46
39
 
47
40
  content_type = r.headers.fetch('Content-Type', 'application/octet-stream')
48
41
 
49
- res = ::OpenApiSDK::Operations::CreateLinkResponse.new(
42
+ res = ::OpenApiSDK::Operations::GetLinksResponse.new(
50
43
  status_code: r.status, content_type: content_type, raw_response: r
51
44
  )
52
45
  if r.status == 200
53
46
  if Utils.match_content_type(content_type, 'application/json')
54
- out = Utils.unmarshal_complex(r.env.response_body, ::OpenApiSDK::Shared::LinkSchema)
55
- res.link_schema = out
47
+ out = Utils.unmarshal_complex(r.env.response_body, T::Array[::OpenApiSDK::Shared::LinkSchema])
48
+ res.link_schemas = out
56
49
  end
57
50
  elsif r.status == 400
58
51
  if Utils.match_content_type(content_type, 'application/json')
@@ -100,38 +93,44 @@ module OpenApiSDK
100
93
  res.internal_server_error = out
101
94
  end
102
95
  end
103
-
104
96
  res
105
97
  end
106
98
 
107
99
 
108
- sig { params(request: T.nilable(::OpenApiSDK::Operations::GetLinksRequest)).returns(::OpenApiSDK::Operations::GetLinksResponse) }
109
- def list(request)
110
- # list - Retrieve a list of links
111
- # Retrieve a paginated list of links for the authenticated workspace.
100
+ sig { params(request: T.nilable(::OpenApiSDK::Operations::CreateLinkRequestBody)).returns(::OpenApiSDK::Operations::CreateLinkResponse) }
101
+ def create(request)
102
+ # create - Create a new link
103
+ # Create a new link for the authenticated workspace.
112
104
  url, params = @sdk_configuration.get_server_details
113
105
  base_url = Utils.template_url(url, params)
114
106
  url = "#{base_url}/links"
115
107
  headers = {}
116
- query_params = Utils.get_query_params(::OpenApiSDK::Operations::GetLinksRequest, request)
108
+ req_content_type, data, form = Utils.serialize_request_body(request, :request, :json)
109
+ headers['content-type'] = req_content_type
117
110
  headers['Accept'] = 'application/json'
118
111
  headers['user-agent'] = @sdk_configuration.user_agent
119
112
 
120
- r = @sdk_configuration.client.get(url) do |req|
113
+ r = @sdk_configuration.client.post(url) do |req|
121
114
  req.headers = headers
122
- req.params = query_params
123
115
  Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil?
116
+ if form
117
+ req.body = Utils.encode_form(form)
118
+ elsif Utils.match_content_type(req_content_type, 'application/x-www-form-urlencoded')
119
+ req.body = URI.encode_www_form(data)
120
+ else
121
+ req.body = data
122
+ end
124
123
  end
125
124
 
126
125
  content_type = r.headers.fetch('Content-Type', 'application/octet-stream')
127
126
 
128
- res = ::OpenApiSDK::Operations::GetLinksResponse.new(
127
+ res = ::OpenApiSDK::Operations::CreateLinkResponse.new(
129
128
  status_code: r.status, content_type: content_type, raw_response: r
130
129
  )
131
130
  if r.status == 200
132
131
  if Utils.match_content_type(content_type, 'application/json')
133
- out = Utils.unmarshal_complex(r.env.response_body, T::Array[::OpenApiSDK::Shared::LinkSchema])
134
- res.link_schemas = out
132
+ out = Utils.unmarshal_complex(r.env.response_body, ::OpenApiSDK::Shared::LinkSchema)
133
+ res.link_schema = out
135
134
  end
136
135
  elsif r.status == 400
137
136
  if Utils.match_content_type(content_type, 'application/json')
@@ -179,7 +178,6 @@ module OpenApiSDK
179
178
  res.internal_server_error = out
180
179
  end
181
180
  end
182
-
183
181
  res
184
182
  end
185
183
 
@@ -258,7 +256,6 @@ module OpenApiSDK
258
256
  res.internal_server_error = out
259
257
  end
260
258
  end
261
-
262
259
  res
263
260
  end
264
261
 
@@ -337,50 +334,40 @@ module OpenApiSDK
337
334
  res.internal_server_error = out
338
335
  end
339
336
  end
340
-
341
337
  res
342
338
  end
343
339
 
344
340
 
345
- sig { params(request: T.nilable(::OpenApiSDK::Operations::UpdateLinkRequest)).returns(::OpenApiSDK::Operations::UpdateLinkResponse) }
346
- def update(request)
347
- # update - Update a link
348
- # Update a link for the authenticated workspace. If there's no change, returns it as it is.
341
+ sig { params(request: T.nilable(::OpenApiSDK::Operations::DeleteLinkRequest)).returns(::OpenApiSDK::Operations::DeleteLinkResponse) }
342
+ def delete(request)
343
+ # delete - Delete a link
344
+ # Delete a link for the authenticated workspace.
349
345
  url, params = @sdk_configuration.get_server_details
350
346
  base_url = Utils.template_url(url, params)
351
347
  url = Utils.generate_url(
352
- ::OpenApiSDK::Operations::UpdateLinkRequest,
348
+ ::OpenApiSDK::Operations::DeleteLinkRequest,
353
349
  base_url,
354
350
  '/links/{linkId}',
355
351
  request
356
352
  )
357
353
  headers = {}
358
- req_content_type, data, form = Utils.serialize_request_body(request, :request_body, :json)
359
- headers['content-type'] = req_content_type
360
354
  headers['Accept'] = 'application/json'
361
355
  headers['user-agent'] = @sdk_configuration.user_agent
362
356
 
363
- r = @sdk_configuration.client.patch(url) do |req|
357
+ r = @sdk_configuration.client.delete(url) do |req|
364
358
  req.headers = headers
365
359
  Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil?
366
- if form
367
- req.body = Utils.encode_form(form)
368
- elsif Utils.match_content_type(req_content_type, 'application/x-www-form-urlencoded')
369
- req.body = URI.encode_www_form(data)
370
- else
371
- req.body = data
372
- end
373
360
  end
374
361
 
375
362
  content_type = r.headers.fetch('Content-Type', 'application/octet-stream')
376
363
 
377
- res = ::OpenApiSDK::Operations::UpdateLinkResponse.new(
364
+ res = ::OpenApiSDK::Operations::DeleteLinkResponse.new(
378
365
  status_code: r.status, content_type: content_type, raw_response: r
379
366
  )
380
367
  if r.status == 200
381
368
  if Utils.match_content_type(content_type, 'application/json')
382
- out = Utils.unmarshal_complex(r.env.response_body, ::OpenApiSDK::Shared::LinkSchema)
383
- res.link_schema = out
369
+ out = Utils.unmarshal_complex(r.env.response_body, ::OpenApiSDK::Operations::DeleteLinkResponseBody)
370
+ res.object = out
384
371
  end
385
372
  elsif r.status == 400
386
373
  if Utils.match_content_type(content_type, 'application/json')
@@ -428,41 +415,49 @@ module OpenApiSDK
428
415
  res.internal_server_error = out
429
416
  end
430
417
  end
431
-
432
418
  res
433
419
  end
434
420
 
435
421
 
436
- sig { params(request: T.nilable(::OpenApiSDK::Operations::DeleteLinkRequest)).returns(::OpenApiSDK::Operations::DeleteLinkResponse) }
437
- def delete(request)
438
- # delete - Delete a link
439
- # Delete a link for the authenticated workspace.
422
+ sig { params(request: T.nilable(::OpenApiSDK::Operations::UpdateLinkRequest)).returns(::OpenApiSDK::Operations::UpdateLinkResponse) }
423
+ def update(request)
424
+ # update - Update a link
425
+ # Update a link for the authenticated workspace. If there's no change, returns it as it is.
440
426
  url, params = @sdk_configuration.get_server_details
441
427
  base_url = Utils.template_url(url, params)
442
428
  url = Utils.generate_url(
443
- ::OpenApiSDK::Operations::DeleteLinkRequest,
429
+ ::OpenApiSDK::Operations::UpdateLinkRequest,
444
430
  base_url,
445
431
  '/links/{linkId}',
446
432
  request
447
433
  )
448
434
  headers = {}
435
+ req_content_type, data, form = Utils.serialize_request_body(request, :request_body, :json)
436
+ headers['content-type'] = req_content_type
449
437
  headers['Accept'] = 'application/json'
450
438
  headers['user-agent'] = @sdk_configuration.user_agent
451
439
 
452
- r = @sdk_configuration.client.delete(url) do |req|
440
+ r = @sdk_configuration.client.patch(url) do |req|
453
441
  req.headers = headers
454
442
  Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil?
443
+ if form
444
+ req.body = Utils.encode_form(form)
445
+ elsif Utils.match_content_type(req_content_type, 'application/x-www-form-urlencoded')
446
+ req.body = URI.encode_www_form(data)
447
+ else
448
+ req.body = data
449
+ end
455
450
  end
456
451
 
457
452
  content_type = r.headers.fetch('Content-Type', 'application/octet-stream')
458
453
 
459
- res = ::OpenApiSDK::Operations::DeleteLinkResponse.new(
454
+ res = ::OpenApiSDK::Operations::UpdateLinkResponse.new(
460
455
  status_code: r.status, content_type: content_type, raw_response: r
461
456
  )
462
457
  if r.status == 200
463
458
  if Utils.match_content_type(content_type, 'application/json')
464
- out = Utils.unmarshal_complex(r.env.response_body, ::OpenApiSDK::Operations::DeleteLinkResponseBody)
465
- res.object = out
459
+ out = Utils.unmarshal_complex(r.env.response_body, ::OpenApiSDK::Shared::LinkSchema)
460
+ res.link_schema = out
466
461
  end
467
462
  elsif r.status == 400
468
463
  if Utils.match_content_type(content_type, 'application/json')
@@ -510,7 +505,6 @@ module OpenApiSDK
510
505
  res.internal_server_error = out
511
506
  end
512
507
  end
513
-
514
508
  res
515
509
  end
516
510
 
@@ -596,7 +590,6 @@ module OpenApiSDK
596
590
  res.internal_server_error = out
597
591
  end
598
592
  end
599
-
600
593
  res
601
594
  end
602
595
 
@@ -682,86 +675,6 @@ module OpenApiSDK
682
675
  res.internal_server_error = out
683
676
  end
684
677
  end
685
-
686
- res
687
- end
688
-
689
-
690
- sig { params(request: T.nilable(::OpenApiSDK::Operations::BulkDeleteLinksRequest)).returns(::OpenApiSDK::Operations::BulkDeleteLinksResponse) }
691
- def delete_many(request)
692
- # delete_many - Bulk delete links
693
- # Bulk delete up to 100 links for the authenticated workspace.
694
- url, params = @sdk_configuration.get_server_details
695
- base_url = Utils.template_url(url, params)
696
- url = "#{base_url}/links/bulk"
697
- headers = {}
698
- query_params = Utils.get_query_params(::OpenApiSDK::Operations::BulkDeleteLinksRequest, request)
699
- headers['Accept'] = 'application/json'
700
- headers['user-agent'] = @sdk_configuration.user_agent
701
-
702
- r = @sdk_configuration.client.delete(url) do |req|
703
- req.headers = headers
704
- req.params = query_params
705
- Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil?
706
- end
707
-
708
- content_type = r.headers.fetch('Content-Type', 'application/octet-stream')
709
-
710
- res = ::OpenApiSDK::Operations::BulkDeleteLinksResponse.new(
711
- status_code: r.status, content_type: content_type, raw_response: r
712
- )
713
- if r.status == 200
714
- if Utils.match_content_type(content_type, 'application/json')
715
- out = Utils.unmarshal_complex(r.env.response_body, ::OpenApiSDK::Operations::BulkDeleteLinksResponseBody)
716
- res.object = out
717
- end
718
- elsif r.status == 400
719
- if Utils.match_content_type(content_type, 'application/json')
720
- out = Utils.unmarshal_complex(r.env.response_body, ::OpenApiSDK::Shared::BadRequest)
721
- res.bad_request = out
722
- end
723
- elsif r.status == 401
724
- if Utils.match_content_type(content_type, 'application/json')
725
- out = Utils.unmarshal_complex(r.env.response_body, ::OpenApiSDK::Shared::Unauthorized)
726
- res.unauthorized = out
727
- end
728
- elsif r.status == 403
729
- if Utils.match_content_type(content_type, 'application/json')
730
- out = Utils.unmarshal_complex(r.env.response_body, ::OpenApiSDK::Shared::Forbidden)
731
- res.forbidden = out
732
- end
733
- elsif r.status == 404
734
- if Utils.match_content_type(content_type, 'application/json')
735
- out = Utils.unmarshal_complex(r.env.response_body, ::OpenApiSDK::Shared::NotFound)
736
- res.not_found = out
737
- end
738
- elsif r.status == 409
739
- if Utils.match_content_type(content_type, 'application/json')
740
- out = Utils.unmarshal_complex(r.env.response_body, ::OpenApiSDK::Shared::Conflict)
741
- res.conflict = out
742
- end
743
- elsif r.status == 410
744
- if Utils.match_content_type(content_type, 'application/json')
745
- out = Utils.unmarshal_complex(r.env.response_body, ::OpenApiSDK::Shared::InviteExpired)
746
- res.invite_expired = out
747
- end
748
- elsif r.status == 422
749
- if Utils.match_content_type(content_type, 'application/json')
750
- out = Utils.unmarshal_complex(r.env.response_body, ::OpenApiSDK::Shared::UnprocessableEntity)
751
- res.unprocessable_entity = out
752
- end
753
- elsif r.status == 429
754
- if Utils.match_content_type(content_type, 'application/json')
755
- out = Utils.unmarshal_complex(r.env.response_body, ::OpenApiSDK::Shared::RateLimitExceeded)
756
- res.rate_limit_exceeded = out
757
- end
758
- elsif r.status == 500
759
- if Utils.match_content_type(content_type, 'application/json')
760
- out = Utils.unmarshal_complex(r.env.response_body, ::OpenApiSDK::Shared::InternalServerError)
761
- res.internal_server_error = out
762
- end
763
- end
764
-
765
678
  res
766
679
  end
767
680
 
@@ -847,7 +760,6 @@ module OpenApiSDK
847
760
  res.internal_server_error = out
848
761
  end
849
762
  end
850
-
851
763
  res
852
764
  end
853
765
  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
@@ -48,7 +48,6 @@ module OpenApiSDK
48
48
  res.object = out
49
49
  end
50
50
  end
51
-
52
51
  res
53
52
  end
54
53
  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
@@ -13,16 +13,13 @@ module OpenApiSDK
13
13
 
14
14
 
15
15
  field :data, ::OpenApiSDK::Operations::Data, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('data') } }
16
- # The external IDs of the links to update as stored in your database.
17
- field :external_ids, T.nilable(T::Array[::String]), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('externalIds') } }
18
- # The IDs of the links to update. Takes precedence over `externalIds`.
19
- field :link_ids, T.nilable(T::Array[::String]), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('linkIds') } }
20
16
 
17
+ field :link_ids, T::Array[::String], { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('linkIds') } }
21
18
 
22
- sig { params(data: ::OpenApiSDK::Operations::Data, external_ids: T.nilable(T::Array[::String]), link_ids: T.nilable(T::Array[::String])).void }
23
- def initialize(data: nil, external_ids: nil, link_ids: nil)
19
+
20
+ sig { params(data: ::OpenApiSDK::Operations::Data, link_ids: T::Array[::String]).void }
21
+ def initialize(data: nil, link_ids: nil)
24
22
  @data = data
25
- @external_ids = external_ids
26
23
  @link_ids = link_ids
27
24
  end
28
25
  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
@@ -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://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
@@ -17,21 +17,15 @@ module OpenApiSDK
17
17
  field :archived, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('archived') } }
18
18
  # Redirect users to a specific URL when any link under this domain has expired.
19
19
  field :expired_url, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('expiredUrl') } }
20
- # The logo of the domain.
21
- field :logo, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('logo') } }
22
- # Redirect users to a specific URL when a link under this domain doesn't exist.
23
- field :not_found_url, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('notFoundUrl') } }
24
20
  # Provide context to your teammates in the link creation modal by showing them an example of a link to be shortened.
25
21
  field :placeholder, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('placeholder') } }
26
22
 
27
23
 
28
- sig { params(slug: ::String, archived: T.nilable(T::Boolean), expired_url: T.nilable(::String), logo: T.nilable(::String), not_found_url: T.nilable(::String), placeholder: T.nilable(::String)).void }
29
- def initialize(slug: nil, archived: nil, expired_url: nil, logo: nil, not_found_url: nil, placeholder: nil)
24
+ sig { params(slug: ::String, archived: T.nilable(T::Boolean), expired_url: T.nilable(::String), placeholder: T.nilable(::String)).void }
25
+ def initialize(slug: nil, archived: nil, expired_url: nil, placeholder: nil)
30
26
  @slug = slug
31
27
  @archived = archived
32
28
  @expired_url = expired_url
33
- @logo = logo
34
- @not_found_url = not_found_url
35
29
  @placeholder = placeholder
36
30
  end
37
31
  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
@@ -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 custom link preview description (og:description). Will be used for Custom Social Media Cards if `proxy` is true. Learn more: https://d.to/og
22
+ # The description of the short link generated via `api.dub.co/metatags`. Will be used for Custom Social Media Cards if `proxy` is true.
23
23
  field :description, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('description') } }
24
24
  # Allow search engines to index your short link. Defaults to `false` if not provided. Learn more: https://d.to/noindex
25
25
  field :do_index, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('doIndex') } }
@@ -33,9 +33,7 @@ module OpenApiSDK
33
33
  field :external_id, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('externalId') } }
34
34
  # Geo targeting information for the short link in JSON format `{[COUNTRY]: https://example.com }`.
35
35
  field :geo, T.nilable(::OpenApiSDK::Shared::LinkGeoTargeting), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('geo') } }
36
- # The identifier of the short link that is unique across your workspace. If set, it can be used to identify your short link for client-side click tracking.
37
- field :identifier, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('identifier') } }
38
- # The custom link preview image (og:image). Will be used for Custom Social Media Cards if `proxy` is true. Learn more: https://d.to/og
36
+ # The image of the short link generated via `api.dub.co/metatags`. Will be used for Custom Social Media Cards if `proxy` is true.
39
37
  field :image, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('image') } }
40
38
  # The iOS destination URL for the short link for iOS device targeting.
41
39
  field :ios, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('ios') } }
@@ -45,16 +43,10 @@ module OpenApiSDK
45
43
  field :password, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('password') } }
46
44
  # The prefix of the short link slug for randomly-generated keys (e.g. if prefix is `/c/`, generated keys will be in the `/c/:key` format). Will be ignored if `key` is provided.
47
45
  field :prefix, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('prefix') } }
48
- # The ID of the program the short link is associated with.
49
- field :program_id, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('programId') } }
50
46
  # Whether the short link uses Custom Social Media Cards feature.
51
47
  field :proxy, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('proxy') } }
52
- # Deprecated: Use `dashboard` instead. Whether the short link's stats are publicly accessible.
53
- #
54
- # @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
48
+ # Whether the short link's stats are publicly accessible.
55
49
  field :public_stats, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('publicStats') } }
56
- # The referral tag of the short link. If set, this will populate or override the `ref` query parameter in the destination URL.
57
- field :ref, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('ref') } }
58
50
  # Whether the short link uses link cloaking.
59
51
  field :rewrite, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('rewrite') } }
60
52
  # The unique ID of the tag assigned to the short link. This field is deprecated – use `tagIds` instead.
@@ -65,28 +57,14 @@ module OpenApiSDK
65
57
  field :tag_ids, T.nilable(::Object), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('tagIds') } }
66
58
  # The unique name of the tags assigned to the short link (case insensitive).
67
59
  field :tag_names, T.nilable(::Object), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('tagNames') } }
68
- # The custom link preview title (og:title). Will be used for Custom Social Media Cards if `proxy` is true. Learn more: https://d.to/og
60
+ # The title of the short link generated via `api.dub.co/metatags`. Will be used for Custom Social Media Cards if `proxy` is true.
69
61
  field :title, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('title') } }
70
62
  # Whether to track conversions for the short link.
71
63
  field :track_conversion, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('trackConversion') } }
72
- # The UTM campaign of the short link. If set, this will populate or override the UTM campaign in the destination URL.
73
- field :utm_campaign, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('utm_campaign') } }
74
- # The UTM content of the short link. If set, this will populate or override the UTM content in the destination URL.
75
- field :utm_content, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('utm_content') } }
76
- # The UTM medium of the short link. If set, this will populate or override the UTM medium in the destination URL.
77
- field :utm_medium, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('utm_medium') } }
78
- # The UTM source of the short link. If set, this will populate or override the UTM source in the destination URL.
79
- field :utm_source, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('utm_source') } }
80
- # The UTM term of the short link. If set, this will populate or override the UTM term in the destination URL.
81
- field :utm_term, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('utm_term') } }
82
- # The custom link preview video (og:video). Will be used for Custom Social Media Cards if `proxy` is true. Learn more: https://d.to/og
83
- field :video, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('video') } }
84
- # An array of webhook IDs to trigger when the link is clicked. These webhooks will receive click event data.
85
- field :webhook_ids, T.nilable(T::Array[::String]), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('webhookIds') } }
86
64
 
87
65
 
88
- sig { params(url: ::String, android: T.nilable(::String), archived: T.nilable(T::Boolean), comments: T.nilable(::String), description: T.nilable(::String), do_index: T.nilable(T::Boolean), domain: T.nilable(::String), expired_url: T.nilable(::String), expires_at: T.nilable(::String), external_id: T.nilable(::String), geo: T.nilable(::OpenApiSDK::Shared::LinkGeoTargeting), identifier: T.nilable(::String), image: T.nilable(::String), ios: T.nilable(::String), key: T.nilable(::String), password: T.nilable(::String), prefix: T.nilable(::String), program_id: T.nilable(::String), proxy: T.nilable(T::Boolean), public_stats: T.nilable(T::Boolean), ref: T.nilable(::String), rewrite: T.nilable(T::Boolean), tag_id: T.nilable(::String), tag_ids: T.nilable(::Object), tag_names: T.nilable(::Object), title: T.nilable(::String), track_conversion: T.nilable(T::Boolean), utm_campaign: T.nilable(::String), utm_content: T.nilable(::String), utm_medium: T.nilable(::String), utm_source: T.nilable(::String), utm_term: T.nilable(::String), video: T.nilable(::String), webhook_ids: T.nilable(T::Array[::String])).void }
89
- def initialize(url: nil, android: nil, archived: nil, comments: nil, description: nil, do_index: nil, domain: nil, expired_url: nil, expires_at: nil, external_id: nil, geo: nil, identifier: nil, image: nil, ios: nil, key: nil, password: nil, prefix: nil, program_id: nil, proxy: nil, public_stats: nil, ref: nil, rewrite: nil, tag_id: nil, tag_ids: nil, tag_names: nil, title: nil, track_conversion: nil, utm_campaign: nil, utm_content: nil, utm_medium: nil, utm_source: nil, utm_term: nil, video: nil, webhook_ids: nil)
66
+ sig { params(url: ::String, android: T.nilable(::String), archived: T.nilable(T::Boolean), comments: T.nilable(::String), description: T.nilable(::String), do_index: T.nilable(T::Boolean), domain: T.nilable(::String), expired_url: T.nilable(::String), expires_at: T.nilable(::String), external_id: T.nilable(::String), geo: T.nilable(::OpenApiSDK::Shared::LinkGeoTargeting), image: T.nilable(::String), ios: T.nilable(::String), key: T.nilable(::String), password: T.nilable(::String), prefix: T.nilable(::String), proxy: T.nilable(T::Boolean), public_stats: T.nilable(T::Boolean), rewrite: T.nilable(T::Boolean), tag_id: T.nilable(::String), tag_ids: T.nilable(::Object), tag_names: T.nilable(::Object), title: T.nilable(::String), track_conversion: T.nilable(T::Boolean)).void }
67
+ def initialize(url: nil, android: nil, archived: nil, comments: nil, description: nil, do_index: nil, domain: nil, expired_url: nil, expires_at: nil, external_id: nil, geo: nil, image: nil, ios: nil, key: nil, password: nil, prefix: nil, proxy: nil, public_stats: nil, rewrite: nil, tag_id: nil, tag_ids: nil, tag_names: nil, title: nil, track_conversion: nil)
90
68
  @url = url
91
69
  @android = android
92
70
  @archived = archived
@@ -98,29 +76,19 @@ module OpenApiSDK
98
76
  @expires_at = expires_at
99
77
  @external_id = external_id
100
78
  @geo = geo
101
- @identifier = identifier
102
79
  @image = image
103
80
  @ios = ios
104
81
  @key = key
105
82
  @password = password
106
83
  @prefix = prefix
107
- @program_id = program_id
108
84
  @proxy = proxy
109
85
  @public_stats = public_stats
110
- @ref = ref
111
86
  @rewrite = rewrite
112
87
  @tag_id = tag_id
113
88
  @tag_ids = tag_ids
114
89
  @tag_names = tag_names
115
90
  @title = title
116
91
  @track_conversion = track_conversion
117
- @utm_campaign = utm_campaign
118
- @utm_content = utm_content
119
- @utm_medium = utm_medium
120
- @utm_source = utm_source
121
- @utm_term = utm_term
122
- @video = video
123
- @webhook_ids = webhook_ids
124
92
  end
125
93
  end
126
94
  end
@@ -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