dub 0.2.2.pre.alpha.129 → 0.2.2.pre.alpha.133
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c8d4e8156fcd7fdc2e691e452f5ceffb0040872e6b1d42c5fe5da36f0ae976dd
|
4
|
+
data.tar.gz: d5abb56e12976c518bd30c03d2ee37d18ab784f8cc1a58c0d64a758a31d2594d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cecad733645e1f7523311da7a3a6f58c5a798dd61af495df63de96c66aa27b34b28e2b8b1c497be5a40a8fa95e80cfef7dfe00396251636b66ae0b27c8750cbd
|
7
|
+
data.tar.gz: 0b0da53cb17de7ba01e5ae906f15e9b37e4acb900887bde891314bf83cf0a072e21cffe951ded63f92a416411dbecc2f79d24f3bfee2aa53d0d77c16c59d969a
|
@@ -13,10 +13,10 @@ module OpenApiSDK
|
|
13
13
|
|
14
14
|
# The unique ID of the click that the lead conversion event is attributed to. You can read this value from `dub_id` cookie.
|
15
15
|
field :click_id, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('clickId') } }
|
16
|
+
# The unique ID of the customer in your system. Will be used to identify and attribute all future events to this customer.
|
17
|
+
field :customer_external_id, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('customerExternalId') } }
|
16
18
|
# The name of the lead event to track. Can also be used as a unique identifier to associate a given lead event for a customer for a subsequent sale event (via the `leadEventName` prop in `/track/sale`).
|
17
19
|
field :event_name, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('eventName') } }
|
18
|
-
# The unique ID of the customer in your system. Will be used to identify and attribute all future events to this customer.
|
19
|
-
field :external_id, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('externalId') } }
|
20
20
|
# The avatar URL of the customer.
|
21
21
|
field :customer_avatar, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('customerAvatar') } }
|
22
22
|
# The email address of the customer.
|
@@ -31,11 +31,11 @@ module OpenApiSDK
|
|
31
31
|
field :mode, T.nilable(::OpenApiSDK::Operations::Mode), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('mode'), 'decoder': Utils.enum_from_string(::OpenApiSDK::Operations::Mode, true) } }
|
32
32
|
|
33
33
|
|
34
|
-
sig { params(click_id: ::String,
|
35
|
-
def initialize(click_id: nil,
|
34
|
+
sig { params(click_id: ::String, customer_external_id: ::String, event_name: ::String, customer_avatar: T.nilable(::String), customer_email: T.nilable(::String), customer_name: T.nilable(::String), event_quantity: T.nilable(::Float), metadata: T.nilable(T::Hash[Symbol, ::Object]), mode: T.nilable(::OpenApiSDK::Operations::Mode)).void }
|
35
|
+
def initialize(click_id: nil, customer_external_id: nil, event_name: nil, customer_avatar: nil, customer_email: nil, customer_name: nil, event_quantity: nil, metadata: nil, mode: nil)
|
36
36
|
@click_id = click_id
|
37
|
+
@customer_external_id = customer_external_id
|
37
38
|
@event_name = event_name
|
38
|
-
@external_id = external_id
|
39
39
|
@customer_avatar = customer_avatar
|
40
40
|
@customer_email = customer_email
|
41
41
|
@customer_name = customer_name
|
@@ -14,7 +14,7 @@ module OpenApiSDK
|
|
14
14
|
# The amount of the sale in cents (for all two-decimal currencies). If the sale is in a zero-decimal currency, pass the full integer value (e.g. `1437` JPY). Learn more: https://d.to/currency
|
15
15
|
field :amount, ::Integer, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('amount') } }
|
16
16
|
# The unique ID of the customer in your system. Will be used to identify and attribute all future events to this customer.
|
17
|
-
field :
|
17
|
+
field :customer_external_id, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('customerExternalId') } }
|
18
18
|
# The payment processor via which the sale was made.
|
19
19
|
field :payment_processor, ::OpenApiSDK::Operations::PaymentProcessor, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('paymentProcessor'), 'decoder': Utils.enum_from_string(::OpenApiSDK::Operations::PaymentProcessor, false) } }
|
20
20
|
# The currency of the sale. Accepts ISO 4217 currency codes. Sales will be automatically converted and stored as USD at the latest exchange rates. Learn more: https://d.to/currency
|
@@ -29,10 +29,10 @@ module OpenApiSDK
|
|
29
29
|
field :metadata, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('metadata') } }
|
30
30
|
|
31
31
|
|
32
|
-
sig { params(amount: ::Integer,
|
33
|
-
def initialize(amount: nil,
|
32
|
+
sig { params(amount: ::Integer, customer_external_id: ::String, payment_processor: ::OpenApiSDK::Operations::PaymentProcessor, currency: T.nilable(::String), event_name: T.nilable(::String), invoice_id: T.nilable(::String), lead_event_name: T.nilable(::String), metadata: T.nilable(T::Hash[Symbol, ::Object])).void }
|
33
|
+
def initialize(amount: nil, customer_external_id: nil, payment_processor: nil, currency: nil, event_name: nil, invoice_id: nil, lead_event_name: nil, metadata: nil)
|
34
34
|
@amount = amount
|
35
|
-
@
|
35
|
+
@customer_external_id = customer_external_id
|
36
36
|
@payment_processor = payment_processor
|
37
37
|
@currency = currency
|
38
38
|
@event_name = event_name
|
@@ -61,9 +61,9 @@ module OpenApiSDK
|
|
61
61
|
end
|
62
62
|
@language = 'ruby'
|
63
63
|
@openapi_doc_version = '0.0.1'
|
64
|
-
@sdk_version = '0.2.2-alpha.
|
64
|
+
@sdk_version = '0.2.2-alpha.133'
|
65
65
|
@gen_version = '2.563.0'
|
66
|
-
@user_agent = 'speakeasy-sdk/ruby 0.2.2-alpha.
|
66
|
+
@user_agent = 'speakeasy-sdk/ruby 0.2.2-alpha.133 2.563.0 0.0.1 dub'
|
67
67
|
end
|
68
68
|
|
69
69
|
sig { returns([String, T::Hash[Symbol, String]]) }
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dub
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.2.pre.alpha.
|
4
|
+
version: 0.2.2.pre.alpha.133
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dub
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-07-
|
11
|
+
date: 2025-07-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|