dub 0.2.2.pre.alpha.31 → 0.2.2.pre.alpha.33
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/dub.rb +3 -2
- data/lib/open_api_sdk/customers.rb +434 -0
- data/lib/open_api_sdk/dub.rb +4 -3
- data/lib/open_api_sdk/models/operations/createcustomer_requestbody.rb +33 -0
- data/lib/open_api_sdk/models/operations/createcustomer_response.rb +60 -0
- data/lib/open_api_sdk/models/operations/createcustomer_responsebody.rb +39 -0
- data/lib/open_api_sdk/models/operations/customer.rb +4 -4
- data/lib/open_api_sdk/models/operations/deletecustomer_request.rb +24 -0
- data/lib/open_api_sdk/models/operations/deletecustomer_response.rb +60 -0
- data/lib/open_api_sdk/models/operations/deletecustomer_responsebody.rb +24 -0
- data/lib/open_api_sdk/models/operations/getcustomer_request.rb +24 -0
- data/lib/open_api_sdk/models/operations/getcustomer_response.rb +60 -0
- data/lib/open_api_sdk/models/operations/getcustomer_responsebody.rb +39 -0
- data/lib/open_api_sdk/models/operations/getcustomers_response.rb +60 -0
- data/lib/open_api_sdk/models/operations/responsebody.rb +39 -0
- data/lib/open_api_sdk/models/operations/tracklead_requestbody.rb +10 -5
- data/lib/open_api_sdk/models/operations/tracksale_customer.rb +5 -2
- data/lib/open_api_sdk/models/operations/tracksale_requestbody.rb +10 -5
- data/lib/open_api_sdk/models/operations/updatecustomer_request.rb +27 -0
- data/lib/open_api_sdk/models/operations/updatecustomer_requestbody.rb +33 -0
- data/lib/open_api_sdk/models/operations/updatecustomer_response.rb +60 -0
- data/lib/open_api_sdk/models/operations/updatecustomer_responsebody.rb +39 -0
- data/lib/open_api_sdk/models/operations.rb +23 -8
- data/lib/open_api_sdk/models/shared/workspaceschema.rb +15 -3
- data/lib/open_api_sdk/models/shared.rb +2 -2
- data/lib/open_api_sdk/sdkconfiguration.rb +3 -3
- data/lib/open_api_sdk/track.rb +2 -0
- metadata +18 -2
@@ -15,6 +15,10 @@ module OpenApiSDK
|
|
15
15
|
field :ai_limit, ::Float, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('aiLimit') } }
|
16
16
|
# The AI usage of the workspace.
|
17
17
|
field :ai_usage, ::Float, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('aiUsage') } }
|
18
|
+
# [BETA – Dub Partners]: The name of the connected bank account.
|
19
|
+
field :bank_account_name, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('bankAccountName') } }
|
20
|
+
# [BETA – Dub Partners]: Whether the bank account is verified.
|
21
|
+
field :bank_account_verified, T::Boolean, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('bankAccountVerified') } }
|
18
22
|
# The date and time when the billing cycle starts for the workspace.
|
19
23
|
field :billing_cycle_start, ::Float, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('billingCycleStart') } }
|
20
24
|
# Whether the workspace has conversion tracking enabled (d.to/conversions).
|
@@ -39,6 +43,8 @@ module OpenApiSDK
|
|
39
43
|
field :logo, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('logo') } }
|
40
44
|
# The name of the workspace.
|
41
45
|
field :name, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('name') } }
|
46
|
+
# [BETA – Dub Partners]: The partial account number of the bank account.
|
47
|
+
field :partial_account_number, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('partialAccountNumber') } }
|
42
48
|
# The date and time when the payment failed for the workspace.
|
43
49
|
field :payment_failed_at, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('paymentFailedAt') } }
|
44
50
|
# The plan of the workspace.
|
@@ -47,13 +53,15 @@ module OpenApiSDK
|
|
47
53
|
field :publishable_key, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('publishableKey') } }
|
48
54
|
# The ID of the referral link of the workspace.
|
49
55
|
field :referral_link_id, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('referralLinkId') } }
|
56
|
+
# [BETA – Dub Partners]: The routing number of the bank account.
|
57
|
+
field :routing_number, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('routingNumber') } }
|
50
58
|
# The limit of tracked revenue in the current billing cycle (in cents).
|
51
59
|
field :sales_limit, ::Float, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('salesLimit') } }
|
52
60
|
# The dollar amount of tracked revenue in the current billing cycle (in cents).
|
53
61
|
field :sales_usage, ::Float, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('salesUsage') } }
|
54
62
|
# The slug of the workspace.
|
55
63
|
field :slug, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('slug') } }
|
56
|
-
# [BETA]: The Stripe Connect ID of the workspace.
|
64
|
+
# [BETA – Dub Conversions]: The Stripe Connect ID of the workspace.
|
57
65
|
field :stripe_connect_id, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('stripeConnectId') } }
|
58
66
|
# The Stripe ID of the workspace.
|
59
67
|
field :stripe_id, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('stripeId') } }
|
@@ -71,10 +79,12 @@ module OpenApiSDK
|
|
71
79
|
field :flags, T.nilable(T::Hash[Symbol, T::Boolean]), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('flags') } }
|
72
80
|
|
73
81
|
|
74
|
-
sig { params(ai_limit: ::Float, ai_usage: ::Float, billing_cycle_start: ::Float, conversion_enabled: T::Boolean, created_at: ::String, domains: T::Array[::OpenApiSDK::Shared::Domains], domains_limit: ::Float, dot_link_claimed: T::Boolean, id: ::String, invite_code: ::String, links_limit: ::Float, links_usage: ::Float, logo: ::String, name: ::String, payment_failed_at: ::String, plan: ::OpenApiSDK::Shared::Plan, publishable_key: ::String, referral_link_id: ::String, sales_limit: ::Float, sales_usage: ::Float, slug: ::String, stripe_connect_id: ::String, stripe_id: ::String, tags_limit: ::Float, usage: ::Float, usage_limit: ::Float, users: T::Array[::OpenApiSDK::Shared::Users], users_limit: ::Float, flags: T.nilable(T::Hash[Symbol, T::Boolean])).void }
|
75
|
-
def initialize(ai_limit: nil, ai_usage: nil, billing_cycle_start: nil, conversion_enabled: nil, created_at: nil, domains: nil, domains_limit: nil, dot_link_claimed: nil, id: nil, invite_code: nil, links_limit: nil, links_usage: nil, logo: nil, name: nil, payment_failed_at: nil, plan: nil, publishable_key: nil, referral_link_id: nil, sales_limit: nil, sales_usage: nil, slug: nil, stripe_connect_id: nil, stripe_id: nil, tags_limit: nil, usage: nil, usage_limit: nil, users: nil, users_limit: nil, flags: nil)
|
82
|
+
sig { params(ai_limit: ::Float, ai_usage: ::Float, bank_account_name: ::String, bank_account_verified: T::Boolean, billing_cycle_start: ::Float, conversion_enabled: T::Boolean, created_at: ::String, domains: T::Array[::OpenApiSDK::Shared::Domains], domains_limit: ::Float, dot_link_claimed: T::Boolean, id: ::String, invite_code: ::String, links_limit: ::Float, links_usage: ::Float, logo: ::String, name: ::String, partial_account_number: ::String, payment_failed_at: ::String, plan: ::OpenApiSDK::Shared::Plan, publishable_key: ::String, referral_link_id: ::String, routing_number: ::String, sales_limit: ::Float, sales_usage: ::Float, slug: ::String, stripe_connect_id: ::String, stripe_id: ::String, tags_limit: ::Float, usage: ::Float, usage_limit: ::Float, users: T::Array[::OpenApiSDK::Shared::Users], users_limit: ::Float, flags: T.nilable(T::Hash[Symbol, T::Boolean])).void }
|
83
|
+
def initialize(ai_limit: nil, ai_usage: nil, bank_account_name: nil, bank_account_verified: nil, billing_cycle_start: nil, conversion_enabled: nil, created_at: nil, domains: nil, domains_limit: nil, dot_link_claimed: nil, id: nil, invite_code: nil, links_limit: nil, links_usage: nil, logo: nil, name: nil, partial_account_number: nil, payment_failed_at: nil, plan: nil, publishable_key: nil, referral_link_id: nil, routing_number: nil, sales_limit: nil, sales_usage: nil, slug: nil, stripe_connect_id: nil, stripe_id: nil, tags_limit: nil, usage: nil, usage_limit: nil, users: nil, users_limit: nil, flags: nil)
|
76
84
|
@ai_limit = ai_limit
|
77
85
|
@ai_usage = ai_usage
|
86
|
+
@bank_account_name = bank_account_name
|
87
|
+
@bank_account_verified = bank_account_verified
|
78
88
|
@billing_cycle_start = billing_cycle_start
|
79
89
|
@conversion_enabled = conversion_enabled
|
80
90
|
@created_at = created_at
|
@@ -87,10 +97,12 @@ module OpenApiSDK
|
|
87
97
|
@links_usage = links_usage
|
88
98
|
@logo = logo
|
89
99
|
@name = name
|
100
|
+
@partial_account_number = partial_account_number
|
90
101
|
@payment_failed_at = payment_failed_at
|
91
102
|
@plan = plan
|
92
103
|
@publishable_key = publishable_key
|
93
104
|
@referral_link_id = referral_link_id
|
105
|
+
@routing_number = routing_number
|
94
106
|
@sales_limit = sales_limit
|
95
107
|
@sales_usage = sales_usage
|
96
108
|
@slug = slug
|
@@ -44,13 +44,13 @@ module OpenApiSDK
|
|
44
44
|
autoload :ClickEventGeo, 'open_api_sdk/models/shared/clickevent_geo.rb'
|
45
45
|
autoload :Link, 'open_api_sdk/models/shared/link.rb'
|
46
46
|
autoload :ClickEvent, 'open_api_sdk/models/shared/clickevent.rb'
|
47
|
+
autoload :RegisteredDomain, 'open_api_sdk/models/shared/registereddomain.rb'
|
48
|
+
autoload :DomainSchema, 'open_api_sdk/models/shared/domainschema.rb'
|
47
49
|
autoload :Plan, 'open_api_sdk/models/shared/plan.rb'
|
48
50
|
autoload :Role, 'open_api_sdk/models/shared/role.rb'
|
49
51
|
autoload :Users, 'open_api_sdk/models/shared/users.rb'
|
50
52
|
autoload :Domains, 'open_api_sdk/models/shared/domains.rb'
|
51
53
|
autoload :WorkspaceSchema, 'open_api_sdk/models/shared/workspaceschema.rb'
|
52
|
-
autoload :RegisteredDomain, 'open_api_sdk/models/shared/registereddomain.rb'
|
53
|
-
autoload :DomainSchema, 'open_api_sdk/models/shared/domainschema.rb'
|
54
54
|
autoload :Security, 'open_api_sdk/models/shared/security.rb'
|
55
55
|
end
|
56
56
|
end
|
@@ -38,9 +38,9 @@ module OpenApiSDK
|
|
38
38
|
@security = security
|
39
39
|
@language = 'ruby'
|
40
40
|
@openapi_doc_version = '0.0.1'
|
41
|
-
@sdk_version = '0.2.2-alpha.
|
42
|
-
@gen_version = '2.457.
|
43
|
-
@user_agent = 'speakeasy-sdk/ruby 0.2.2-alpha.
|
41
|
+
@sdk_version = '0.2.2-alpha.33'
|
42
|
+
@gen_version = '2.457.9'
|
43
|
+
@user_agent = 'speakeasy-sdk/ruby 0.2.2-alpha.33 2.457.9 0.0.1 dub'
|
44
44
|
end
|
45
45
|
|
46
46
|
sig { returns([String, T::Hash[Symbol, String]]) }
|
data/lib/open_api_sdk/track.rb
CHANGED
@@ -193,6 +193,8 @@ module OpenApiSDK
|
|
193
193
|
def customer(request)
|
194
194
|
# customer - Track a customer
|
195
195
|
# Track a customer for an authenticated workspace.
|
196
|
+
#
|
197
|
+
# @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
|
196
198
|
url, params = @sdk_configuration.get_server_details
|
197
199
|
base_url = Utils.template_url(url, params)
|
198
200
|
url = "#{base_url}/track/customer"
|
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.
|
4
|
+
version: 0.2.2.pre.alpha.33
|
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-
|
11
|
+
date: 2024-11-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -144,6 +144,7 @@ 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
|
147
148
|
- lib/open_api_sdk/domains.rb
|
148
149
|
- lib/open_api_sdk/dub.rb
|
149
150
|
- lib/open_api_sdk/events.rb
|
@@ -158,6 +159,9 @@ files:
|
|
158
159
|
- lib/open_api_sdk/models/operations/bulkupdatelinks_response.rb
|
159
160
|
- lib/open_api_sdk/models/operations/click.rb
|
160
161
|
- lib/open_api_sdk/models/operations/color.rb
|
162
|
+
- lib/open_api_sdk/models/operations/createcustomer_requestbody.rb
|
163
|
+
- lib/open_api_sdk/models/operations/createcustomer_response.rb
|
164
|
+
- lib/open_api_sdk/models/operations/createcustomer_responsebody.rb
|
161
165
|
- lib/open_api_sdk/models/operations/createdomain_requestbody.rb
|
162
166
|
- lib/open_api_sdk/models/operations/createdomain_response.rb
|
163
167
|
- lib/open_api_sdk/models/operations/createlink_requestbody.rb
|
@@ -166,6 +170,9 @@ files:
|
|
166
170
|
- lib/open_api_sdk/models/operations/createtag_response.rb
|
167
171
|
- lib/open_api_sdk/models/operations/customer.rb
|
168
172
|
- lib/open_api_sdk/models/operations/data.rb
|
173
|
+
- lib/open_api_sdk/models/operations/deletecustomer_request.rb
|
174
|
+
- lib/open_api_sdk/models/operations/deletecustomer_response.rb
|
175
|
+
- lib/open_api_sdk/models/operations/deletecustomer_responsebody.rb
|
169
176
|
- lib/open_api_sdk/models/operations/deletedomain_request.rb
|
170
177
|
- lib/open_api_sdk/models/operations/deletedomain_response.rb
|
171
178
|
- lib/open_api_sdk/models/operations/deletedomain_responsebody.rb
|
@@ -176,6 +183,10 @@ files:
|
|
176
183
|
- lib/open_api_sdk/models/operations/deletetag_response.rb
|
177
184
|
- lib/open_api_sdk/models/operations/deletetag_responsebody.rb
|
178
185
|
- lib/open_api_sdk/models/operations/event.rb
|
186
|
+
- lib/open_api_sdk/models/operations/getcustomer_request.rb
|
187
|
+
- lib/open_api_sdk/models/operations/getcustomer_response.rb
|
188
|
+
- lib/open_api_sdk/models/operations/getcustomer_responsebody.rb
|
189
|
+
- lib/open_api_sdk/models/operations/getcustomers_response.rb
|
179
190
|
- lib/open_api_sdk/models/operations/getlinkinfo_request.rb
|
180
191
|
- lib/open_api_sdk/models/operations/getlinkinfo_response.rb
|
181
192
|
- lib/open_api_sdk/models/operations/getlinks_request.rb
|
@@ -203,6 +214,7 @@ files:
|
|
203
214
|
- lib/open_api_sdk/models/operations/queryparam_interval.rb
|
204
215
|
- lib/open_api_sdk/models/operations/queryparam_trigger.rb
|
205
216
|
- lib/open_api_sdk/models/operations/requestbody.rb
|
217
|
+
- lib/open_api_sdk/models/operations/responsebody.rb
|
206
218
|
- lib/open_api_sdk/models/operations/retrieveanalytics_request.rb
|
207
219
|
- lib/open_api_sdk/models/operations/retrieveanalytics_response.rb
|
208
220
|
- lib/open_api_sdk/models/operations/sale.rb
|
@@ -219,6 +231,10 @@ files:
|
|
219
231
|
- lib/open_api_sdk/models/operations/tracksale_response.rb
|
220
232
|
- lib/open_api_sdk/models/operations/tracksale_responsebody.rb
|
221
233
|
- lib/open_api_sdk/models/operations/trigger.rb
|
234
|
+
- lib/open_api_sdk/models/operations/updatecustomer_request.rb
|
235
|
+
- lib/open_api_sdk/models/operations/updatecustomer_requestbody.rb
|
236
|
+
- lib/open_api_sdk/models/operations/updatecustomer_response.rb
|
237
|
+
- lib/open_api_sdk/models/operations/updatecustomer_responsebody.rb
|
222
238
|
- lib/open_api_sdk/models/operations/updatedomain_request.rb
|
223
239
|
- lib/open_api_sdk/models/operations/updatedomain_requestbody.rb
|
224
240
|
- lib/open_api_sdk/models/operations/updatedomain_response.rb
|