dub 0.2.2.pre.alpha.89 → 0.2.2.pre.alpha.93
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: a0be68d60cc318a61c99ee67d0ae9dfcc3c043088ddbc6577dc3479da06dca98
|
4
|
+
data.tar.gz: 795aaf52ff97becc6c19e6abfe89e84e58b908965c7c205069ff7f1f6c23f026
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e498ff29b4f9a1b544cc4e60fa9c2c040063f977072f4ea9a652807bb77cec608cfd75be8e062b363d04e2f316c2ae020caeee5e3a5860eaa2a85c018d1c5b6e
|
7
|
+
data.tar.gz: 8fbb196d093424b5bff28704c7d4800fe2cc26c7ed15ec46abc6fc1d64ac31cf853eaee91a247bea0a0bc89c69a896b40fad77889b95f291aedc2e1ce0c9b9ff
|
@@ -11,19 +11,28 @@ module OpenApiSDK
|
|
11
11
|
class GetCustomersRequest < ::Crystalline::FieldAugmented
|
12
12
|
extend T::Sig
|
13
13
|
|
14
|
-
# A case-sensitive filter on the list based on the customer's `email` field. The value must be a string.
|
14
|
+
# A case-sensitive filter on the list based on the customer's `email` field. The value must be a string. Takes precedence over `externalId`.
|
15
15
|
field :email, T.nilable(::String), { 'query_param': { 'field_name': 'email', 'style': 'form', 'explode': true } }
|
16
|
-
# A case-sensitive filter on the list based on the customer's `externalId` field. The value must be a string.
|
16
|
+
# A case-sensitive filter on the list based on the customer's `externalId` field. The value must be a string. Takes precedence over `search`.
|
17
17
|
field :external_id, T.nilable(::String), { 'query_param': { 'field_name': 'externalId', 'style': 'form', 'explode': true } }
|
18
18
|
# Whether to include expanded fields on the customer (`link`, `partner`, `discount`).
|
19
19
|
field :include_expanded_fields, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'includeExpandedFields', 'style': 'form', 'explode': true } }
|
20
|
+
# The page number for pagination.
|
21
|
+
field :page, T.nilable(::Float), { 'query_param': { 'field_name': 'page', 'style': 'form', 'explode': true } }
|
22
|
+
# The number of items per page.
|
23
|
+
field :page_size, T.nilable(::Float), { 'query_param': { 'field_name': 'pageSize', 'style': 'form', 'explode': true } }
|
24
|
+
# A search query to filter customers by email, externalId, or name. If `email` or `externalId` is provided, this will be ignored.
|
25
|
+
field :search, T.nilable(::String), { 'query_param': { 'field_name': 'search', 'style': 'form', 'explode': true } }
|
20
26
|
|
21
27
|
|
22
|
-
sig { params(email: T.nilable(::String), external_id: T.nilable(::String), include_expanded_fields: T.nilable(T::Boolean)).void }
|
23
|
-
def initialize(email: nil, external_id: nil, include_expanded_fields: nil)
|
28
|
+
sig { params(email: T.nilable(::String), external_id: T.nilable(::String), include_expanded_fields: T.nilable(T::Boolean), page: T.nilable(::Float), page_size: T.nilable(::Float), search: T.nilable(::String)).void }
|
29
|
+
def initialize(email: nil, external_id: nil, include_expanded_fields: nil, page: nil, page_size: nil, search: nil)
|
24
30
|
@email = email
|
25
31
|
@external_id = external_id
|
26
32
|
@include_expanded_fields = include_expanded_fields
|
33
|
+
@page = page
|
34
|
+
@page_size = page_size
|
35
|
+
@search = search
|
27
36
|
end
|
28
37
|
end
|
29
38
|
end
|
@@ -17,13 +17,13 @@ module OpenApiSDK
|
|
17
17
|
field :bg_color, T.nilable(::String), { 'query_param': { 'field_name': 'bgColor', 'style': 'form', 'explode': true } }
|
18
18
|
# The foreground color of the QR code in hex format. Defaults to `#000000` if not provided.
|
19
19
|
field :fg_color, T.nilable(::String), { 'query_param': { 'field_name': 'fgColor', 'style': 'form', 'explode': true } }
|
20
|
-
# Whether to hide the logo in the QR code. Can only be used with a paid plan on Dub.
|
20
|
+
# Whether to hide the logo in the QR code. Can only be used with a paid plan on Dub.
|
21
21
|
field :hide_logo, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'hideLogo', 'style': 'form', 'explode': true } }
|
22
22
|
# DEPRECATED: Margin is included by default. Use the `margin` prop to customize the margin size.
|
23
23
|
field :include_margin, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'includeMargin', 'style': 'form', 'explode': true } }
|
24
24
|
# The level of error correction to use for the QR code. Defaults to `L` if not provided.
|
25
25
|
field :level, T.nilable(::OpenApiSDK::Operations::Level), { 'query_param': { 'field_name': 'level', 'style': 'form', 'explode': true } }
|
26
|
-
# The logo to include in the QR code. Can only be used with a paid plan on Dub.
|
26
|
+
# The logo to include in the QR code. Can only be used with a paid plan on Dub.
|
27
27
|
field :logo, T.nilable(::String), { 'query_param': { 'field_name': 'logo', 'style': 'form', 'explode': true } }
|
28
28
|
# The size of the margin around the QR code. Defaults to 2 if not provided.
|
29
29
|
field :margin, T.nilable(::Float), { 'query_param': { 'field_name': 'margin', 'style': 'form', 'explode': true } }
|
@@ -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.93'
|
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.93 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.93
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dub
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-04-
|
11
|
+
date: 2025-04-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|