dub 0.2.2.pre.alpha.70 → 0.2.2.pre.alpha.72

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: 622c0e3dc65746de6a2dd03033862539a165691db2126de0f056c001f1d0fa3a
4
- data.tar.gz: b35a078dcea78e22a4051ecbe26dcc7da3f98edfb653f78fa7b6fe64f627dec6
3
+ metadata.gz: 78960a4098d8855f9d65b9b4574caf171aaeb2e5b9fe7ab1c8256e9a0f7133bc
4
+ data.tar.gz: ee75cdcf2ad61d04fde62bce9f79b9b1ebabd744761100b331f008eed6326fe1
5
5
  SHA512:
6
- metadata.gz: 589584ca1c8d596f63a936497830d3137f351fdc01976cd8ba8a975fbcdb963cbcb755c81eaae222ba7add508052ecb87c34ee27c3fd0dce773c3fec56e0bf88
7
- data.tar.gz: b5b6fec4ea197083f185bc5b8afa25210333d4d4840586742caa4bda2a4692b1766d422489ca432f2d8d92a4328b7dbf451a7b52c97ad4e9e5f608b60d10e645
6
+ metadata.gz: a74376cc190ab3430a97a45afa1cba9f6094bb7a810b0e175272792680c37239b6ec1ee5dd56edbc37f14945160bfaf621ca42e4f408264e6fd6c514ddc7d23c
7
+ data.tar.gz: 713c87faf6a5245e0e3c654f2ef41becb1a20f606778708dc8205018ab87c7a0bfb04171a629ea707263a229e8c06d5096c289073e5996d721c518b3743b94f7
@@ -32,7 +32,7 @@ module OpenApiSDK
32
32
  # Deprecated. Use `tagIds` instead. The tag ID to filter the links by.
33
33
  field :tag_id, T.nilable(::String), { 'query_param': { 'field_name': 'tagId', 'style': 'form', 'explode': true } }
34
34
  # The tag IDs to filter the links by.
35
- field :tag_ids, T.nilable(::Object), { 'query_param': { 'field_name': 'tagIds', 'style': 'form', 'explode': true } }
35
+ field :tag_ids, T.nilable(::Object), { 'query_param': { 'field_name': 'tagIds', 'style': 'form', 'explode': false } }
36
36
  # The unique name of the tags assigned to the short link (case insensitive).
37
37
  field :tag_names, T.nilable(::Object), { 'query_param': { 'field_name': 'tagNames', 'style': 'form', 'explode': true } }
38
38
  # The ID of the tenant that created the link inside your system. If set, will only return links for the specified tenant.
@@ -24,7 +24,7 @@ module OpenApiSDK
24
24
  # Deprecated. Use `tagIds` instead. The tag ID to filter the links by.
25
25
  field :tag_id, T.nilable(::String), { 'query_param': { 'field_name': 'tagId', 'style': 'form', 'explode': true } }
26
26
  # The tag IDs to filter the links by.
27
- field :tag_ids, T.nilable(::Object), { 'query_param': { 'field_name': 'tagIds', 'style': 'form', 'explode': true } }
27
+ field :tag_ids, T.nilable(::Object), { 'query_param': { 'field_name': 'tagIds', 'style': 'form', 'explode': false } }
28
28
  # The unique name of the tags assigned to the short link (case insensitive).
29
29
  field :tag_names, T.nilable(::Object), { 'query_param': { 'field_name': 'tagNames', 'style': 'form', 'explode': true } }
30
30
  # The ID of the tenant that created the link inside your system. If set, will only return links for the specified tenant.
@@ -11,12 +11,21 @@ module OpenApiSDK
11
11
  class ListFoldersRequest < ::Crystalline::FieldAugmented
12
12
  extend T::Sig
13
13
 
14
+ # Whether to include the link count in the response.
15
+ field :include_link_count, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'includeLinkCount', 'style': 'form', 'explode': true } }
16
+ # The page number for pagination.
17
+ field :page, T.nilable(::Float), { 'query_param': { 'field_name': 'page', 'style': 'form', 'explode': true } }
18
+ # The number of items per page.
19
+ field :page_size, T.nilable(::Float), { 'query_param': { 'field_name': 'pageSize', 'style': 'form', 'explode': true } }
14
20
  # The search term to filter the folders by.
15
21
  field :search, T.nilable(::String), { 'query_param': { 'field_name': 'search', 'style': 'form', 'explode': true } }
16
22
 
17
23
 
18
- sig { params(search: T.nilable(::String)).void }
19
- def initialize(search: nil)
24
+ sig { params(include_link_count: T.nilable(T::Boolean), page: T.nilable(::Float), page_size: T.nilable(::Float), search: T.nilable(::String)).void }
25
+ def initialize(include_link_count: nil, page: nil, page_size: nil, search: nil)
26
+ @include_link_count = include_link_count
27
+ @page = page
28
+ @page_size = page_size
20
29
  @search = search
21
30
  end
22
31
  end
@@ -0,0 +1,18 @@
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 Operations
9
+
10
+ # Mode - The mode to use for tracking the lead event. `async` will not block the request; `wait` will block the request until the lead event is fully recorded in Dub.
11
+ class Mode < T::Enum
12
+ enums do
13
+ ASYNC = new('async')
14
+ WAIT = new('wait')
15
+ end
16
+ end
17
+ end
18
+ end
@@ -12,7 +12,9 @@ module OpenApiSDK
12
12
  enums do
13
13
  STRIPE = new('stripe')
14
14
  SHOPIFY = new('shopify')
15
+ POLAR = new('polar')
15
16
  PADDLE = new('paddle')
17
+ CUSTOM = new('custom')
16
18
  end
17
19
  end
18
20
  end
@@ -31,10 +31,12 @@ module OpenApiSDK
31
31
  field :external_id, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('externalId') } }
32
32
  # Additional metadata to be stored with the lead event
33
33
  field :metadata, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('metadata') } }
34
+ # The mode to use for tracking the lead event. `async` will not block the request; `wait` will block the request until the lead event is fully recorded in Dub.
35
+ 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) } }
34
36
 
35
37
 
36
- sig { params(click_id: ::String, event_name: ::String, customer_avatar: T.nilable(::String), customer_email: T.nilable(::String), customer_id: T.nilable(::String), customer_name: T.nilable(::String), event_quantity: T.nilable(::Float), external_id: T.nilable(::String), metadata: T.nilable(T::Hash[Symbol, ::Object])).void }
37
- def initialize(click_id: nil, event_name: nil, customer_avatar: nil, customer_email: nil, customer_id: nil, customer_name: nil, event_quantity: nil, external_id: nil, metadata: nil)
38
+ sig { params(click_id: ::String, event_name: ::String, customer_avatar: T.nilable(::String), customer_email: T.nilable(::String), customer_id: T.nilable(::String), customer_name: T.nilable(::String), event_quantity: T.nilable(::Float), external_id: T.nilable(::String), metadata: T.nilable(T::Hash[Symbol, ::Object]), mode: T.nilable(::OpenApiSDK::Operations::Mode)).void }
39
+ def initialize(click_id: nil, event_name: nil, customer_avatar: nil, customer_email: nil, customer_id: nil, customer_name: nil, event_quantity: nil, external_id: nil, metadata: nil, mode: nil)
38
40
  @click_id = click_id
39
41
  @event_name = event_name
40
42
  @customer_avatar = customer_avatar
@@ -44,6 +46,7 @@ module OpenApiSDK
44
46
  @event_quantity = event_quantity
45
47
  @external_id = external_id
46
48
  @metadata = metadata
49
+ @mode = mode
47
50
  end
48
51
  end
49
52
  end
@@ -25,7 +25,7 @@ module OpenApiSDK
25
25
  field :event_name, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('eventName') } }
26
26
  # This is the unique identifier for the customer in the client's app. This is used to track the customer's journey.
27
27
  field :external_id, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('externalId') } }
28
- # The invoice ID of the sale.
28
+ # The invoice ID of the sale. Can be used as a idempotency key – only one sale event can be recorded for a given invoice ID.
29
29
  field :invoice_id, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('invoiceId') } }
30
30
  # The name of the lead event that occurred before the sale (case-sensitive). This is used to associate the sale event with a particular lead event (instead of the latest lead event, which is the default behavior).
31
31
  field :lead_event_name, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('leadEventName') } }
@@ -82,6 +82,7 @@ module OpenApiSDK
82
82
  autoload :DeleteDomainRequest, 'open_api_sdk/models/operations/deletedomain_request.rb'
83
83
  autoload :DeleteDomainResponseBody, 'open_api_sdk/models/operations/deletedomain_responsebody.rb'
84
84
  autoload :DeleteDomainResponse, 'open_api_sdk/models/operations/deletedomain_response.rb'
85
+ autoload :Mode, 'open_api_sdk/models/operations/mode.rb'
85
86
  autoload :TrackLeadRequestBody, 'open_api_sdk/models/operations/tracklead_requestbody.rb'
86
87
  autoload :Click, 'open_api_sdk/models/operations/click.rb'
87
88
  autoload :Customer, 'open_api_sdk/models/operations/customer.rb'
@@ -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.70'
42
- @gen_version = '2.529.2'
43
- @user_agent = 'speakeasy-sdk/ruby 0.2.2-alpha.70 2.529.2 0.0.1 dub'
41
+ @sdk_version = '0.2.2-alpha.72'
42
+ @gen_version = '2.536.0'
43
+ @user_agent = 'speakeasy-sdk/ruby 0.2.2-alpha.72 2.536.0 0.0.1 dub'
44
44
  end
45
45
 
46
46
  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.70
4
+ version: 0.2.2.pre.alpha.72
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dub
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-02-26 00:00:00.000000000 Z
11
+ date: 2025-03-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -265,6 +265,7 @@ files:
265
265
  - lib/open_api_sdk/models/operations/listevents_response.rb
266
266
  - lib/open_api_sdk/models/operations/listfolders_request.rb
267
267
  - lib/open_api_sdk/models/operations/listfolders_response.rb
268
+ - lib/open_api_sdk/models/operations/mode.rb
268
269
  - lib/open_api_sdk/models/operations/order.rb
269
270
  - lib/open_api_sdk/models/operations/partner.rb
270
271
  - lib/open_api_sdk/models/operations/paymentprocessor.rb