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,23 +0,0 @@
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
- # ContinentCode - The continent to retrieve analytics for.
11
- class ContinentCode < T::Enum
12
- enums do
13
- AF = new('AF')
14
- AN = new('AN')
15
- AS = new('AS')
16
- EU = new('EU')
17
- NA = new('NA')
18
- OC = new('OC')
19
- SA = new('SA')
20
- end
21
- end
22
- end
23
- end
@@ -1,17 +0,0 @@
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
@@ -1,157 +0,0 @@
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 Link < ::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
- # The number of clicks on the short link.
17
- field :clicks, ::Float, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('clicks') } }
18
- # The comments for the short link.
19
- field :comments, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('comments') } }
20
-
21
- field :created_at, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('createdAt') } }
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
- field :description, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('description') } }
24
- # 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).
25
- field :domain, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('domain') } }
26
-
27
- field :expired_url, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('expiredUrl') } }
28
-
29
- field :expires_at, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('expiresAt') } }
30
- # This is the ID of the link in your database that is unique across your workspace. If set, it can be used to identify the link in future API requests. Must be prefixed with 'ext_' when passed as a query parameter.
31
- field :external_id, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('externalId') } }
32
- # Geo targeting information for the short link in JSON format `{[COUNTRY]: https://example.com }`. Learn more: https://d.to/geo
33
- field :geo, ::OpenApiSDK::Shared::ClickEventGeo, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('geo') } }
34
- # The unique ID of the short link.
35
- field :id, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('id') } }
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, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('identifier') } }
38
- # 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
- field :image, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('image') } }
40
- # The iOS destination URL for the short link for iOS device targeting.
41
- field :ios, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('ios') } }
42
- # The short link slug. If not provided, a random 7-character slug will be generated.
43
- field :key, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('key') } }
44
-
45
- field :last_clicked, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('lastClicked') } }
46
- # [BETA]: The number of leads the short links has generated.
47
- field :leads, ::Float, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('leads') } }
48
- # The password required to access the destination URL of the short link.
49
- field :password, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('password') } }
50
- # The ID of the program the short link is associated with.
51
- field :program_id, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('programId') } }
52
- # The project ID of the short link. This field is deprecated – use `workspaceId` instead.
53
- #
54
- # @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
55
- field :project_id, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('projectId') } }
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
- # [BETA]: The total dollar amount of sales the short links has generated (in cents).
59
- field :sale_amount, ::Float, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('saleAmount') } }
60
- # [BETA]: The number of sales the short links has generated.
61
- field :sales, ::Float, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('sales') } }
62
- # The full URL of the short link, including the https protocol (e.g. `https://dub.sh/try`).
63
- field :short_link, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('shortLink') } }
64
- # The unique ID of the tag assigned to the short link. This field is deprecated – use `tags` instead.
65
- #
66
- # @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
67
- field :tag_id, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('tagId') } }
68
- # The tags assigned to the short link.
69
- field :tags, T::Array[::OpenApiSDK::Shared::TagSchema], { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('tags') } }
70
- # The title of the short link generated via `api.dub.co/metatags`. Will be used for Custom Social Media Cards if `proxy` is true.
71
- field :title, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('title') } }
72
-
73
- field :updated_at, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('updatedAt') } }
74
-
75
- field :url, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('url') } }
76
-
77
- field :user_id, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('userId') } }
78
- # The UTM campaign of the short link.
79
- field :utm_campaign, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('utm_campaign') } }
80
- # The UTM content of the short link.
81
- field :utm_content, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('utm_content') } }
82
- # The UTM medium of the short link.
83
- field :utm_medium, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('utm_medium') } }
84
- # The UTM source of the short link.
85
- field :utm_source, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('utm_source') } }
86
- # The UTM term of the short link.
87
- field :utm_term, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('utm_term') } }
88
- # 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
89
- field :video, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('video') } }
90
- # The IDs of the webhooks that the short link is associated with.
91
- field :webhook_ids, T::Array[::String], { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('webhookIds') } }
92
- # The workspace ID of the short link.
93
- field :workspace_id, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('workspaceId') } }
94
-
95
- field :archived, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('archived') } }
96
-
97
- field :do_index, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('doIndex') } }
98
-
99
- field :proxy, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('proxy') } }
100
-
101
- field :public_stats, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('publicStats') } }
102
-
103
- field :rewrite, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('rewrite') } }
104
-
105
- field :track_conversion, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('trackConversion') } }
106
-
107
-
108
- sig { params(android: ::String, clicks: ::Float, comments: ::String, created_at: ::String, description: ::String, domain: ::String, expired_url: ::String, expires_at: ::String, external_id: ::String, geo: ::OpenApiSDK::Shared::ClickEventGeo, id: ::String, identifier: ::String, image: ::String, ios: ::String, key: ::String, last_clicked: ::String, leads: ::Float, password: ::String, program_id: ::String, project_id: ::String, qr_code: ::String, sale_amount: ::Float, sales: ::Float, short_link: ::String, tag_id: ::String, tags: T::Array[::OpenApiSDK::Shared::TagSchema], title: ::String, 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, webhook_ids: T::Array[::String], workspace_id: ::String, archived: T.nilable(T::Boolean), do_index: T.nilable(T::Boolean), proxy: T.nilable(T::Boolean), public_stats: T.nilable(T::Boolean), rewrite: T.nilable(T::Boolean), track_conversion: T.nilable(T::Boolean)).void }
109
- def initialize(android: nil, clicks: nil, comments: nil, created_at: nil, description: nil, domain: nil, expired_url: nil, expires_at: nil, external_id: nil, geo: nil, id: nil, identifier: nil, image: nil, ios: nil, key: nil, last_clicked: nil, leads: nil, password: nil, program_id: nil, project_id: nil, qr_code: nil, sale_amount: nil, sales: nil, short_link: nil, tag_id: nil, tags: nil, title: 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, webhook_ids: nil, workspace_id: nil, archived: nil, do_index: nil, proxy: nil, public_stats: nil, rewrite: nil, track_conversion: nil)
110
- @android = android
111
- @clicks = clicks
112
- @comments = comments
113
- @created_at = created_at
114
- @description = description
115
- @domain = domain
116
- @expired_url = expired_url
117
- @expires_at = expires_at
118
- @external_id = external_id
119
- @geo = geo
120
- @id = id
121
- @identifier = identifier
122
- @image = image
123
- @ios = ios
124
- @key = key
125
- @last_clicked = last_clicked
126
- @leads = leads
127
- @password = password
128
- @program_id = program_id
129
- @project_id = project_id
130
- @qr_code = qr_code
131
- @sale_amount = sale_amount
132
- @sales = sales
133
- @short_link = short_link
134
- @tag_id = tag_id
135
- @tags = tags
136
- @title = title
137
- @updated_at = updated_at
138
- @url = url
139
- @user_id = user_id
140
- @utm_campaign = utm_campaign
141
- @utm_content = utm_content
142
- @utm_medium = utm_medium
143
- @utm_source = utm_source
144
- @utm_term = utm_term
145
- @video = video
146
- @webhook_ids = webhook_ids
147
- @workspace_id = workspace_id
148
- @archived = archived
149
- @do_index = do_index
150
- @proxy = proxy
151
- @public_stats = public_stats
152
- @rewrite = rewrite
153
- @track_conversion = track_conversion
154
- end
155
- end
156
- end
157
- end
@@ -1,30 +0,0 @@
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
- # The registered domain record.
11
- class RegisteredDomain < ::OpenApiSDK::Utils::FieldAugmented
12
- extend T::Sig
13
-
14
- # The date the domain was created.
15
- field :created_at, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('createdAt') } }
16
- # The date the domain expires.
17
- field :expires_at, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('expiresAt') } }
18
- # The ID of the registered domain record.
19
- field :id, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('id') } }
20
-
21
-
22
- sig { params(created_at: ::String, expires_at: ::String, id: ::String).void }
23
- def initialize(created_at: nil, expires_at: nil, id: nil)
24
- @created_at = created_at
25
- @expires_at = expires_at
26
- @id = id
27
- end
28
- end
29
- end
30
- end