dub 0.2.2.pre.alpha.48 → 0.2.2.pre.alpha.50
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 +4 -4
- data/lib/open_api_sdk/customers.rb +8 -2
- data/lib/open_api_sdk/models/operations/createcustomer_discount.rb +42 -0
- data/lib/open_api_sdk/models/operations/createcustomer_interval.rb +18 -0
- data/lib/open_api_sdk/models/operations/createcustomer_partner.rb +33 -0
- data/lib/open_api_sdk/models/operations/createcustomer_responsebody.rb +8 -2
- data/lib/open_api_sdk/models/operations/createcustomer_type.rb +18 -0
- data/lib/open_api_sdk/models/operations/discount.rb +42 -0
- data/lib/open_api_sdk/models/operations/getcustomer_discount.rb +42 -0
- data/lib/open_api_sdk/models/operations/getcustomer_interval.rb +18 -0
- data/lib/open_api_sdk/models/operations/getcustomer_partner.rb +33 -0
- data/lib/open_api_sdk/models/operations/getcustomer_request.rb +5 -2
- data/lib/open_api_sdk/models/operations/getcustomer_responsebody.rb +8 -2
- data/lib/open_api_sdk/models/operations/getcustomer_type.rb +18 -0
- data/lib/open_api_sdk/models/operations/getcustomers_interval.rb +18 -0
- data/lib/open_api_sdk/models/operations/getcustomers_request.rb +30 -0
- data/lib/open_api_sdk/models/operations/partner.rb +33 -0
- data/lib/open_api_sdk/models/operations/responsebody.rb +8 -2
- data/lib/open_api_sdk/models/operations/type.rb +18 -0
- data/lib/open_api_sdk/models/operations/updatecustomer_discount.rb +42 -0
- data/lib/open_api_sdk/models/operations/updatecustomer_interval.rb +18 -0
- data/lib/open_api_sdk/models/operations/updatecustomer_partner.rb +33 -0
- data/lib/open_api_sdk/models/operations/updatecustomer_request.rb +5 -2
- data/lib/open_api_sdk/models/operations/updatecustomer_responsebody.rb +8 -2
- data/lib/open_api_sdk/models/operations/updatecustomer_type.rb +18 -0
- data/lib/open_api_sdk/models/operations.rb +17 -0
- data/lib/open_api_sdk/sdkconfiguration.rb +3 -3
- metadata +19 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a05d62462c95ef7b27a8ca29fc929d3703ad2ea49dd592dbe3445b5409d279ce
|
4
|
+
data.tar.gz: 7ae59ae39e5bd3e838b5737ac1dbf6e0a96fbc22e7264752b9b960c3378deec4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 37e01327e02f3db9d90bb3e88b47c38f4d2ef8b3f945161da77a396f501965d2d0ddf58ddf2d64838f951b478f9f48397f1fd6833db5ee6cb8558d88abf1e6b7
|
7
|
+
data.tar.gz: a8c44fdaeba6bb932ef8ea867773ec73020c8fc9dff36c7e6e83fb30d403b7e2957eaf3f89a00778d4542e8c750172bf2ca216af0fe1ee59c3f30aba0351ebc2
|
@@ -19,19 +19,21 @@ module OpenApiSDK
|
|
19
19
|
end
|
20
20
|
|
21
21
|
|
22
|
-
sig { returns(::OpenApiSDK::Operations::GetCustomersResponse) }
|
23
|
-
def list
|
22
|
+
sig { params(request: T.nilable(::OpenApiSDK::Operations::GetCustomersRequest)).returns(::OpenApiSDK::Operations::GetCustomersResponse) }
|
23
|
+
def list(request)
|
24
24
|
# list - Retrieve a list of customers
|
25
25
|
# Retrieve a list of customers for the authenticated workspace.
|
26
26
|
url, params = @sdk_configuration.get_server_details
|
27
27
|
base_url = Utils.template_url(url, params)
|
28
28
|
url = "#{base_url}/customers"
|
29
29
|
headers = {}
|
30
|
+
query_params = Utils.get_query_params(::OpenApiSDK::Operations::GetCustomersRequest, request)
|
30
31
|
headers['Accept'] = 'application/json'
|
31
32
|
headers['user-agent'] = @sdk_configuration.user_agent
|
32
33
|
|
33
34
|
r = @sdk_configuration.client.get(url) do |req|
|
34
35
|
req.headers = headers
|
36
|
+
req.params = query_params
|
35
37
|
Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil?
|
36
38
|
end
|
37
39
|
|
@@ -195,11 +197,13 @@ module OpenApiSDK
|
|
195
197
|
request
|
196
198
|
)
|
197
199
|
headers = {}
|
200
|
+
query_params = Utils.get_query_params(::OpenApiSDK::Operations::GetCustomerRequest, request)
|
198
201
|
headers['Accept'] = 'application/json'
|
199
202
|
headers['user-agent'] = @sdk_configuration.user_agent
|
200
203
|
|
201
204
|
r = @sdk_configuration.client.get(url) do |req|
|
202
205
|
req.headers = headers
|
206
|
+
req.params = query_params
|
203
207
|
Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil?
|
204
208
|
end
|
205
209
|
|
@@ -279,11 +283,13 @@ module OpenApiSDK
|
|
279
283
|
headers = {}
|
280
284
|
req_content_type, data, form = Utils.serialize_request_body(request, :request_body, :json)
|
281
285
|
headers['content-type'] = req_content_type
|
286
|
+
query_params = Utils.get_query_params(::OpenApiSDK::Operations::UpdateCustomerRequest, request)
|
282
287
|
headers['Accept'] = 'application/json'
|
283
288
|
headers['user-agent'] = @sdk_configuration.user_agent
|
284
289
|
|
285
290
|
r = @sdk_configuration.client.patch(url) do |req|
|
286
291
|
req.headers = headers
|
292
|
+
req.params = query_params
|
287
293
|
Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil?
|
288
294
|
if form
|
289
295
|
req.body = Utils.encode_form(form)
|
@@ -0,0 +1,42 @@
|
|
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
|
+
|
11
|
+
class CreateCustomerDiscount < ::OpenApiSDK::Utils::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
|
15
|
+
field :amount, ::Float, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('amount') } }
|
16
|
+
|
17
|
+
field :coupon_id, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('couponId') } }
|
18
|
+
|
19
|
+
field :coupon_test_id, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('couponTestId') } }
|
20
|
+
|
21
|
+
field :duration, ::Float, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('duration') } }
|
22
|
+
|
23
|
+
field :id, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('id') } }
|
24
|
+
|
25
|
+
field :interval, ::OpenApiSDK::Operations::CreateCustomerInterval, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('interval'), 'decoder': Utils.enum_from_string(::OpenApiSDK::Operations::CreateCustomerInterval, false) } }
|
26
|
+
|
27
|
+
field :type, ::OpenApiSDK::Operations::CreateCustomerType, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('type'), 'decoder': Utils.enum_from_string(::OpenApiSDK::Operations::CreateCustomerType, false) } }
|
28
|
+
|
29
|
+
|
30
|
+
sig { params(amount: ::Float, coupon_id: ::String, coupon_test_id: ::String, duration: ::Float, id: ::String, interval: ::OpenApiSDK::Operations::CreateCustomerInterval, type: ::OpenApiSDK::Operations::CreateCustomerType).void }
|
31
|
+
def initialize(amount: nil, coupon_id: nil, coupon_test_id: nil, duration: nil, id: nil, interval: nil, type: nil)
|
32
|
+
@amount = amount
|
33
|
+
@coupon_id = coupon_id
|
34
|
+
@coupon_test_id = coupon_test_id
|
35
|
+
@duration = duration
|
36
|
+
@id = id
|
37
|
+
@interval = interval
|
38
|
+
@type = type
|
39
|
+
end
|
40
|
+
end
|
41
|
+
end
|
42
|
+
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
|
+
|
11
|
+
class CreateCustomerInterval < T::Enum
|
12
|
+
enums do
|
13
|
+
MONTH = new('month')
|
14
|
+
YEAR = new('year')
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
@@ -0,0 +1,33 @@
|
|
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
|
+
|
11
|
+
class CreateCustomerPartner < ::OpenApiSDK::Utils::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
|
15
|
+
field :email, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('email') } }
|
16
|
+
|
17
|
+
field :id, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('id') } }
|
18
|
+
|
19
|
+
field :name, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('name') } }
|
20
|
+
|
21
|
+
field :image, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('image') } }
|
22
|
+
|
23
|
+
|
24
|
+
sig { params(email: ::String, id: ::String, name: ::String, image: T.nilable(::String)).void }
|
25
|
+
def initialize(email: nil, id: nil, name: nil, image: nil)
|
26
|
+
@email = email
|
27
|
+
@id = id
|
28
|
+
@name = name
|
29
|
+
@image = image
|
30
|
+
end
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|
@@ -23,22 +23,28 @@ module OpenApiSDK
|
|
23
23
|
field :avatar, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('avatar') } }
|
24
24
|
# Country of the customer.
|
25
25
|
field :country, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('country') } }
|
26
|
+
|
27
|
+
field :discount, T.nilable(::OpenApiSDK::Operations::CreateCustomerDiscount), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('discount') } }
|
26
28
|
# Email of the customer.
|
27
29
|
field :email, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('email') } }
|
28
30
|
|
29
31
|
field :link, T.nilable(::OpenApiSDK::Operations::CreateCustomerLink), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('link') } }
|
30
32
|
|
33
|
+
field :partner, T.nilable(::OpenApiSDK::Operations::CreateCustomerPartner), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('partner') } }
|
34
|
+
|
31
35
|
|
32
|
-
sig { params(created_at: ::String, external_id: ::String, id: ::String, name: ::String, avatar: T.nilable(::String), country: T.nilable(::String), email: T.nilable(::String), link: T.nilable(::OpenApiSDK::Operations::CreateCustomerLink)).void }
|
33
|
-
def initialize(created_at: nil, external_id: nil, id: nil, name: nil, avatar: nil, country: nil, email: nil, link: nil)
|
36
|
+
sig { params(created_at: ::String, external_id: ::String, id: ::String, name: ::String, avatar: T.nilable(::String), country: T.nilable(::String), discount: T.nilable(::OpenApiSDK::Operations::CreateCustomerDiscount), email: T.nilable(::String), link: T.nilable(::OpenApiSDK::Operations::CreateCustomerLink), partner: T.nilable(::OpenApiSDK::Operations::CreateCustomerPartner)).void }
|
37
|
+
def initialize(created_at: nil, external_id: nil, id: nil, name: nil, avatar: nil, country: nil, discount: nil, email: nil, link: nil, partner: nil)
|
34
38
|
@created_at = created_at
|
35
39
|
@external_id = external_id
|
36
40
|
@id = id
|
37
41
|
@name = name
|
38
42
|
@avatar = avatar
|
39
43
|
@country = country
|
44
|
+
@discount = discount
|
40
45
|
@email = email
|
41
46
|
@link = link
|
47
|
+
@partner = partner
|
42
48
|
end
|
43
49
|
end
|
44
50
|
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
|
+
|
11
|
+
class CreateCustomerType < T::Enum
|
12
|
+
enums do
|
13
|
+
PERCENTAGE = new('percentage')
|
14
|
+
FLAT = new('flat')
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
@@ -0,0 +1,42 @@
|
|
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
|
+
|
11
|
+
class Discount < ::OpenApiSDK::Utils::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
|
15
|
+
field :amount, ::Float, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('amount') } }
|
16
|
+
|
17
|
+
field :coupon_id, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('couponId') } }
|
18
|
+
|
19
|
+
field :coupon_test_id, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('couponTestId') } }
|
20
|
+
|
21
|
+
field :duration, ::Float, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('duration') } }
|
22
|
+
|
23
|
+
field :id, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('id') } }
|
24
|
+
|
25
|
+
field :interval, ::OpenApiSDK::Operations::GetCustomersInterval, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('interval'), 'decoder': Utils.enum_from_string(::OpenApiSDK::Operations::GetCustomersInterval, false) } }
|
26
|
+
|
27
|
+
field :type, ::OpenApiSDK::Operations::Type, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('type'), 'decoder': Utils.enum_from_string(::OpenApiSDK::Operations::Type, false) } }
|
28
|
+
|
29
|
+
|
30
|
+
sig { params(amount: ::Float, coupon_id: ::String, coupon_test_id: ::String, duration: ::Float, id: ::String, interval: ::OpenApiSDK::Operations::GetCustomersInterval, type: ::OpenApiSDK::Operations::Type).void }
|
31
|
+
def initialize(amount: nil, coupon_id: nil, coupon_test_id: nil, duration: nil, id: nil, interval: nil, type: nil)
|
32
|
+
@amount = amount
|
33
|
+
@coupon_id = coupon_id
|
34
|
+
@coupon_test_id = coupon_test_id
|
35
|
+
@duration = duration
|
36
|
+
@id = id
|
37
|
+
@interval = interval
|
38
|
+
@type = type
|
39
|
+
end
|
40
|
+
end
|
41
|
+
end
|
42
|
+
end
|
@@ -0,0 +1,42 @@
|
|
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
|
+
|
11
|
+
class GetCustomerDiscount < ::OpenApiSDK::Utils::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
|
15
|
+
field :amount, ::Float, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('amount') } }
|
16
|
+
|
17
|
+
field :coupon_id, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('couponId') } }
|
18
|
+
|
19
|
+
field :coupon_test_id, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('couponTestId') } }
|
20
|
+
|
21
|
+
field :duration, ::Float, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('duration') } }
|
22
|
+
|
23
|
+
field :id, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('id') } }
|
24
|
+
|
25
|
+
field :interval, ::OpenApiSDK::Operations::GetCustomerInterval, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('interval'), 'decoder': Utils.enum_from_string(::OpenApiSDK::Operations::GetCustomerInterval, false) } }
|
26
|
+
|
27
|
+
field :type, ::OpenApiSDK::Operations::GetCustomerType, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('type'), 'decoder': Utils.enum_from_string(::OpenApiSDK::Operations::GetCustomerType, false) } }
|
28
|
+
|
29
|
+
|
30
|
+
sig { params(amount: ::Float, coupon_id: ::String, coupon_test_id: ::String, duration: ::Float, id: ::String, interval: ::OpenApiSDK::Operations::GetCustomerInterval, type: ::OpenApiSDK::Operations::GetCustomerType).void }
|
31
|
+
def initialize(amount: nil, coupon_id: nil, coupon_test_id: nil, duration: nil, id: nil, interval: nil, type: nil)
|
32
|
+
@amount = amount
|
33
|
+
@coupon_id = coupon_id
|
34
|
+
@coupon_test_id = coupon_test_id
|
35
|
+
@duration = duration
|
36
|
+
@id = id
|
37
|
+
@interval = interval
|
38
|
+
@type = type
|
39
|
+
end
|
40
|
+
end
|
41
|
+
end
|
42
|
+
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
|
+
|
11
|
+
class GetCustomerInterval < T::Enum
|
12
|
+
enums do
|
13
|
+
MONTH = new('month')
|
14
|
+
YEAR = new('year')
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
@@ -0,0 +1,33 @@
|
|
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
|
+
|
11
|
+
class GetCustomerPartner < ::OpenApiSDK::Utils::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
|
15
|
+
field :email, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('email') } }
|
16
|
+
|
17
|
+
field :id, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('id') } }
|
18
|
+
|
19
|
+
field :name, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('name') } }
|
20
|
+
|
21
|
+
field :image, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('image') } }
|
22
|
+
|
23
|
+
|
24
|
+
sig { params(email: ::String, id: ::String, name: ::String, image: T.nilable(::String)).void }
|
25
|
+
def initialize(email: nil, id: nil, name: nil, image: nil)
|
26
|
+
@email = email
|
27
|
+
@id = id
|
28
|
+
@name = name
|
29
|
+
@image = image
|
30
|
+
end
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|
@@ -13,11 +13,14 @@ module OpenApiSDK
|
|
13
13
|
|
14
14
|
# The unique identifier of the customer in Dub.
|
15
15
|
field :id, ::String, { 'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': false } }
|
16
|
+
# Whether to include expanded fields on the customer (`link`, `partner`, `discount`).
|
17
|
+
field :include_expanded_fields, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'includeExpandedFields', 'style': 'form', 'explode': true } }
|
16
18
|
|
17
19
|
|
18
|
-
sig { params(id: ::String).void }
|
19
|
-
def initialize(id: nil)
|
20
|
+
sig { params(id: ::String, include_expanded_fields: T.nilable(T::Boolean)).void }
|
21
|
+
def initialize(id: nil, include_expanded_fields: nil)
|
20
22
|
@id = id
|
23
|
+
@include_expanded_fields = include_expanded_fields
|
21
24
|
end
|
22
25
|
end
|
23
26
|
end
|
@@ -23,22 +23,28 @@ module OpenApiSDK
|
|
23
23
|
field :avatar, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('avatar') } }
|
24
24
|
# Country of the customer.
|
25
25
|
field :country, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('country') } }
|
26
|
+
|
27
|
+
field :discount, T.nilable(::OpenApiSDK::Operations::GetCustomerDiscount), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('discount') } }
|
26
28
|
# Email of the customer.
|
27
29
|
field :email, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('email') } }
|
28
30
|
|
29
31
|
field :link, T.nilable(::OpenApiSDK::Operations::GetCustomerLink), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('link') } }
|
30
32
|
|
33
|
+
field :partner, T.nilable(::OpenApiSDK::Operations::GetCustomerPartner), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('partner') } }
|
34
|
+
|
31
35
|
|
32
|
-
sig { params(created_at: ::String, external_id: ::String, id: ::String, name: ::String, avatar: T.nilable(::String), country: T.nilable(::String), email: T.nilable(::String), link: T.nilable(::OpenApiSDK::Operations::GetCustomerLink)).void }
|
33
|
-
def initialize(created_at: nil, external_id: nil, id: nil, name: nil, avatar: nil, country: nil, email: nil, link: nil)
|
36
|
+
sig { params(created_at: ::String, external_id: ::String, id: ::String, name: ::String, avatar: T.nilable(::String), country: T.nilable(::String), discount: T.nilable(::OpenApiSDK::Operations::GetCustomerDiscount), email: T.nilable(::String), link: T.nilable(::OpenApiSDK::Operations::GetCustomerLink), partner: T.nilable(::OpenApiSDK::Operations::GetCustomerPartner)).void }
|
37
|
+
def initialize(created_at: nil, external_id: nil, id: nil, name: nil, avatar: nil, country: nil, discount: nil, email: nil, link: nil, partner: nil)
|
34
38
|
@created_at = created_at
|
35
39
|
@external_id = external_id
|
36
40
|
@id = id
|
37
41
|
@name = name
|
38
42
|
@avatar = avatar
|
39
43
|
@country = country
|
44
|
+
@discount = discount
|
40
45
|
@email = email
|
41
46
|
@link = link
|
47
|
+
@partner = partner
|
42
48
|
end
|
43
49
|
end
|
44
50
|
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
|
+
|
11
|
+
class GetCustomerType < T::Enum
|
12
|
+
enums do
|
13
|
+
PERCENTAGE = new('percentage')
|
14
|
+
FLAT = new('flat')
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
18
|
+
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
|
+
|
11
|
+
class GetCustomersInterval < T::Enum
|
12
|
+
enums do
|
13
|
+
MONTH = new('month')
|
14
|
+
YEAR = new('year')
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
@@ -0,0 +1,30 @@
|
|
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
|
+
|
11
|
+
class GetCustomersRequest < ::OpenApiSDK::Utils::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
# A case-sensitive filter on the list based on the customer's `email` field. The value must be a string.
|
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.
|
17
|
+
field :external_id, T.nilable(::String), { 'query_param': { 'field_name': 'externalId', 'style': 'form', 'explode': true } }
|
18
|
+
# Whether to include expanded fields on the customer (`link`, `partner`, `discount`).
|
19
|
+
field :include_expanded_fields, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'includeExpandedFields', 'style': 'form', 'explode': true } }
|
20
|
+
|
21
|
+
|
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)
|
24
|
+
@email = email
|
25
|
+
@external_id = external_id
|
26
|
+
@include_expanded_fields = include_expanded_fields
|
27
|
+
end
|
28
|
+
end
|
29
|
+
end
|
30
|
+
end
|
@@ -0,0 +1,33 @@
|
|
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
|
+
|
11
|
+
class Partner < ::OpenApiSDK::Utils::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
|
15
|
+
field :email, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('email') } }
|
16
|
+
|
17
|
+
field :id, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('id') } }
|
18
|
+
|
19
|
+
field :name, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('name') } }
|
20
|
+
|
21
|
+
field :image, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('image') } }
|
22
|
+
|
23
|
+
|
24
|
+
sig { params(email: ::String, id: ::String, name: ::String, image: T.nilable(::String)).void }
|
25
|
+
def initialize(email: nil, id: nil, name: nil, image: nil)
|
26
|
+
@email = email
|
27
|
+
@id = id
|
28
|
+
@name = name
|
29
|
+
@image = image
|
30
|
+
end
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|
@@ -23,22 +23,28 @@ module OpenApiSDK
|
|
23
23
|
field :avatar, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('avatar') } }
|
24
24
|
# Country of the customer.
|
25
25
|
field :country, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('country') } }
|
26
|
+
|
27
|
+
field :discount, T.nilable(::OpenApiSDK::Operations::Discount), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('discount') } }
|
26
28
|
# Email of the customer.
|
27
29
|
field :email, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('email') } }
|
28
30
|
|
29
31
|
field :link, T.nilable(::OpenApiSDK::Operations::Link), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('link') } }
|
30
32
|
|
33
|
+
field :partner, T.nilable(::OpenApiSDK::Operations::Partner), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('partner') } }
|
34
|
+
|
31
35
|
|
32
|
-
sig { params(created_at: ::String, external_id: ::String, id: ::String, name: ::String, avatar: T.nilable(::String), country: T.nilable(::String), email: T.nilable(::String), link: T.nilable(::OpenApiSDK::Operations::Link)).void }
|
33
|
-
def initialize(created_at: nil, external_id: nil, id: nil, name: nil, avatar: nil, country: nil, email: nil, link: nil)
|
36
|
+
sig { params(created_at: ::String, external_id: ::String, id: ::String, name: ::String, avatar: T.nilable(::String), country: T.nilable(::String), discount: T.nilable(::OpenApiSDK::Operations::Discount), email: T.nilable(::String), link: T.nilable(::OpenApiSDK::Operations::Link), partner: T.nilable(::OpenApiSDK::Operations::Partner)).void }
|
37
|
+
def initialize(created_at: nil, external_id: nil, id: nil, name: nil, avatar: nil, country: nil, discount: nil, email: nil, link: nil, partner: nil)
|
34
38
|
@created_at = created_at
|
35
39
|
@external_id = external_id
|
36
40
|
@id = id
|
37
41
|
@name = name
|
38
42
|
@avatar = avatar
|
39
43
|
@country = country
|
44
|
+
@discount = discount
|
40
45
|
@email = email
|
41
46
|
@link = link
|
47
|
+
@partner = partner
|
42
48
|
end
|
43
49
|
end
|
44
50
|
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
|
+
|
11
|
+
class Type < T::Enum
|
12
|
+
enums do
|
13
|
+
PERCENTAGE = new('percentage')
|
14
|
+
FLAT = new('flat')
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
@@ -0,0 +1,42 @@
|
|
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
|
+
|
11
|
+
class UpdateCustomerDiscount < ::OpenApiSDK::Utils::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
|
15
|
+
field :amount, ::Float, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('amount') } }
|
16
|
+
|
17
|
+
field :coupon_id, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('couponId') } }
|
18
|
+
|
19
|
+
field :coupon_test_id, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('couponTestId') } }
|
20
|
+
|
21
|
+
field :duration, ::Float, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('duration') } }
|
22
|
+
|
23
|
+
field :id, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('id') } }
|
24
|
+
|
25
|
+
field :interval, ::OpenApiSDK::Operations::UpdateCustomerInterval, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('interval'), 'decoder': Utils.enum_from_string(::OpenApiSDK::Operations::UpdateCustomerInterval, false) } }
|
26
|
+
|
27
|
+
field :type, ::OpenApiSDK::Operations::UpdateCustomerType, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('type'), 'decoder': Utils.enum_from_string(::OpenApiSDK::Operations::UpdateCustomerType, false) } }
|
28
|
+
|
29
|
+
|
30
|
+
sig { params(amount: ::Float, coupon_id: ::String, coupon_test_id: ::String, duration: ::Float, id: ::String, interval: ::OpenApiSDK::Operations::UpdateCustomerInterval, type: ::OpenApiSDK::Operations::UpdateCustomerType).void }
|
31
|
+
def initialize(amount: nil, coupon_id: nil, coupon_test_id: nil, duration: nil, id: nil, interval: nil, type: nil)
|
32
|
+
@amount = amount
|
33
|
+
@coupon_id = coupon_id
|
34
|
+
@coupon_test_id = coupon_test_id
|
35
|
+
@duration = duration
|
36
|
+
@id = id
|
37
|
+
@interval = interval
|
38
|
+
@type = type
|
39
|
+
end
|
40
|
+
end
|
41
|
+
end
|
42
|
+
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
|
+
|
11
|
+
class UpdateCustomerInterval < T::Enum
|
12
|
+
enums do
|
13
|
+
MONTH = new('month')
|
14
|
+
YEAR = new('year')
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
@@ -0,0 +1,33 @@
|
|
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
|
+
|
11
|
+
class UpdateCustomerPartner < ::OpenApiSDK::Utils::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
|
15
|
+
field :email, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('email') } }
|
16
|
+
|
17
|
+
field :id, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('id') } }
|
18
|
+
|
19
|
+
field :name, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('name') } }
|
20
|
+
|
21
|
+
field :image, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('image') } }
|
22
|
+
|
23
|
+
|
24
|
+
sig { params(email: ::String, id: ::String, name: ::String, image: T.nilable(::String)).void }
|
25
|
+
def initialize(email: nil, id: nil, name: nil, image: nil)
|
26
|
+
@email = email
|
27
|
+
@id = id
|
28
|
+
@name = name
|
29
|
+
@image = image
|
30
|
+
end
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|
@@ -13,13 +13,16 @@ module OpenApiSDK
|
|
13
13
|
|
14
14
|
# The unique identifier of the customer in Dub.
|
15
15
|
field :id, ::String, { 'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': false } }
|
16
|
+
# Whether to include expanded fields on the customer (`link`, `partner`, `discount`).
|
17
|
+
field :include_expanded_fields, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'includeExpandedFields', 'style': 'form', 'explode': true } }
|
16
18
|
|
17
19
|
field :request_body, T.nilable(::OpenApiSDK::Operations::UpdateCustomerRequestBody), { 'request': { 'media_type': 'application/json' } }
|
18
20
|
|
19
21
|
|
20
|
-
sig { params(id: ::String, request_body: T.nilable(::OpenApiSDK::Operations::UpdateCustomerRequestBody)).void }
|
21
|
-
def initialize(id: nil, request_body: nil)
|
22
|
+
sig { params(id: ::String, include_expanded_fields: T.nilable(T::Boolean), request_body: T.nilable(::OpenApiSDK::Operations::UpdateCustomerRequestBody)).void }
|
23
|
+
def initialize(id: nil, include_expanded_fields: nil, request_body: nil)
|
22
24
|
@id = id
|
25
|
+
@include_expanded_fields = include_expanded_fields
|
23
26
|
@request_body = request_body
|
24
27
|
end
|
25
28
|
end
|
@@ -23,22 +23,28 @@ module OpenApiSDK
|
|
23
23
|
field :avatar, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('avatar') } }
|
24
24
|
# Country of the customer.
|
25
25
|
field :country, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('country') } }
|
26
|
+
|
27
|
+
field :discount, T.nilable(::OpenApiSDK::Operations::UpdateCustomerDiscount), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('discount') } }
|
26
28
|
# Email of the customer.
|
27
29
|
field :email, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('email') } }
|
28
30
|
|
29
31
|
field :link, T.nilable(::OpenApiSDK::Operations::UpdateCustomerLink), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('link') } }
|
30
32
|
|
33
|
+
field :partner, T.nilable(::OpenApiSDK::Operations::UpdateCustomerPartner), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('partner') } }
|
34
|
+
|
31
35
|
|
32
|
-
sig { params(created_at: ::String, external_id: ::String, id: ::String, name: ::String, avatar: T.nilable(::String), country: T.nilable(::String), email: T.nilable(::String), link: T.nilable(::OpenApiSDK::Operations::UpdateCustomerLink)).void }
|
33
|
-
def initialize(created_at: nil, external_id: nil, id: nil, name: nil, avatar: nil, country: nil, email: nil, link: nil)
|
36
|
+
sig { params(created_at: ::String, external_id: ::String, id: ::String, name: ::String, avatar: T.nilable(::String), country: T.nilable(::String), discount: T.nilable(::OpenApiSDK::Operations::UpdateCustomerDiscount), email: T.nilable(::String), link: T.nilable(::OpenApiSDK::Operations::UpdateCustomerLink), partner: T.nilable(::OpenApiSDK::Operations::UpdateCustomerPartner)).void }
|
37
|
+
def initialize(created_at: nil, external_id: nil, id: nil, name: nil, avatar: nil, country: nil, discount: nil, email: nil, link: nil, partner: nil)
|
34
38
|
@created_at = created_at
|
35
39
|
@external_id = external_id
|
36
40
|
@id = id
|
37
41
|
@name = name
|
38
42
|
@avatar = avatar
|
39
43
|
@country = country
|
44
|
+
@discount = discount
|
40
45
|
@email = email
|
41
46
|
@link = link
|
47
|
+
@partner = partner
|
42
48
|
end
|
43
49
|
end
|
44
50
|
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
|
+
|
11
|
+
class UpdateCustomerType < T::Enum
|
12
|
+
enums do
|
13
|
+
PERCENTAGE = new('percentage')
|
14
|
+
FLAT = new('flat')
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
@@ -75,20 +75,37 @@ module OpenApiSDK
|
|
75
75
|
autoload :Sale, 'open_api_sdk/models/operations/sale.rb'
|
76
76
|
autoload :TrackSaleResponseBody, 'open_api_sdk/models/operations/tracksale_responsebody.rb'
|
77
77
|
autoload :TrackSaleResponse, 'open_api_sdk/models/operations/tracksale_response.rb'
|
78
|
+
autoload :GetCustomersRequest, 'open_api_sdk/models/operations/getcustomers_request.rb'
|
78
79
|
autoload :Link, 'open_api_sdk/models/operations/link.rb'
|
80
|
+
autoload :Partner, 'open_api_sdk/models/operations/partner.rb'
|
81
|
+
autoload :Type, 'open_api_sdk/models/operations/type.rb'
|
82
|
+
autoload :GetCustomersInterval, 'open_api_sdk/models/operations/getcustomers_interval.rb'
|
83
|
+
autoload :Discount, 'open_api_sdk/models/operations/discount.rb'
|
79
84
|
autoload :ResponseBody, 'open_api_sdk/models/operations/responsebody.rb'
|
80
85
|
autoload :GetCustomersResponse, 'open_api_sdk/models/operations/getcustomers_response.rb'
|
81
86
|
autoload :CreateCustomerRequestBody, 'open_api_sdk/models/operations/createcustomer_requestbody.rb'
|
82
87
|
autoload :CreateCustomerLink, 'open_api_sdk/models/operations/createcustomer_link.rb'
|
88
|
+
autoload :CreateCustomerPartner, 'open_api_sdk/models/operations/createcustomer_partner.rb'
|
89
|
+
autoload :CreateCustomerType, 'open_api_sdk/models/operations/createcustomer_type.rb'
|
90
|
+
autoload :CreateCustomerInterval, 'open_api_sdk/models/operations/createcustomer_interval.rb'
|
91
|
+
autoload :CreateCustomerDiscount, 'open_api_sdk/models/operations/createcustomer_discount.rb'
|
83
92
|
autoload :CreateCustomerResponseBody, 'open_api_sdk/models/operations/createcustomer_responsebody.rb'
|
84
93
|
autoload :CreateCustomerResponse, 'open_api_sdk/models/operations/createcustomer_response.rb'
|
85
94
|
autoload :GetCustomerRequest, 'open_api_sdk/models/operations/getcustomer_request.rb'
|
86
95
|
autoload :GetCustomerLink, 'open_api_sdk/models/operations/getcustomer_link.rb'
|
96
|
+
autoload :GetCustomerPartner, 'open_api_sdk/models/operations/getcustomer_partner.rb'
|
97
|
+
autoload :GetCustomerType, 'open_api_sdk/models/operations/getcustomer_type.rb'
|
98
|
+
autoload :GetCustomerInterval, 'open_api_sdk/models/operations/getcustomer_interval.rb'
|
99
|
+
autoload :GetCustomerDiscount, 'open_api_sdk/models/operations/getcustomer_discount.rb'
|
87
100
|
autoload :GetCustomerResponseBody, 'open_api_sdk/models/operations/getcustomer_responsebody.rb'
|
88
101
|
autoload :GetCustomerResponse, 'open_api_sdk/models/operations/getcustomer_response.rb'
|
89
102
|
autoload :UpdateCustomerRequestBody, 'open_api_sdk/models/operations/updatecustomer_requestbody.rb'
|
90
103
|
autoload :UpdateCustomerRequest, 'open_api_sdk/models/operations/updatecustomer_request.rb'
|
91
104
|
autoload :UpdateCustomerLink, 'open_api_sdk/models/operations/updatecustomer_link.rb'
|
105
|
+
autoload :UpdateCustomerPartner, 'open_api_sdk/models/operations/updatecustomer_partner.rb'
|
106
|
+
autoload :UpdateCustomerType, 'open_api_sdk/models/operations/updatecustomer_type.rb'
|
107
|
+
autoload :UpdateCustomerInterval, 'open_api_sdk/models/operations/updatecustomer_interval.rb'
|
108
|
+
autoload :UpdateCustomerDiscount, 'open_api_sdk/models/operations/updatecustomer_discount.rb'
|
92
109
|
autoload :UpdateCustomerResponseBody, 'open_api_sdk/models/operations/updatecustomer_responsebody.rb'
|
93
110
|
autoload :UpdateCustomerResponse, 'open_api_sdk/models/operations/updatecustomer_response.rb'
|
94
111
|
autoload :DeleteCustomerRequest, 'open_api_sdk/models/operations/deletecustomer_request.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.
|
42
|
-
@gen_version = '2.
|
43
|
-
@user_agent = 'speakeasy-sdk/ruby 0.2.2-alpha.
|
41
|
+
@sdk_version = '0.2.2-alpha.50'
|
42
|
+
@gen_version = '2.486.1'
|
43
|
+
@user_agent = 'speakeasy-sdk/ruby 0.2.2-alpha.50 2.486.1 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.
|
4
|
+
version: 0.2.2.pre.alpha.50
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dub
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2025-01-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -160,10 +160,14 @@ files:
|
|
160
160
|
- lib/open_api_sdk/models/operations/bulkupdatelinks_response.rb
|
161
161
|
- lib/open_api_sdk/models/operations/click.rb
|
162
162
|
- lib/open_api_sdk/models/operations/color.rb
|
163
|
+
- lib/open_api_sdk/models/operations/createcustomer_discount.rb
|
164
|
+
- lib/open_api_sdk/models/operations/createcustomer_interval.rb
|
163
165
|
- lib/open_api_sdk/models/operations/createcustomer_link.rb
|
166
|
+
- lib/open_api_sdk/models/operations/createcustomer_partner.rb
|
164
167
|
- lib/open_api_sdk/models/operations/createcustomer_requestbody.rb
|
165
168
|
- lib/open_api_sdk/models/operations/createcustomer_response.rb
|
166
169
|
- lib/open_api_sdk/models/operations/createcustomer_responsebody.rb
|
170
|
+
- lib/open_api_sdk/models/operations/createcustomer_type.rb
|
167
171
|
- lib/open_api_sdk/models/operations/createdomain_requestbody.rb
|
168
172
|
- lib/open_api_sdk/models/operations/createdomain_response.rb
|
169
173
|
- lib/open_api_sdk/models/operations/createembedtoken_requestbody.rb
|
@@ -187,11 +191,18 @@ files:
|
|
187
191
|
- lib/open_api_sdk/models/operations/deletetag_request.rb
|
188
192
|
- lib/open_api_sdk/models/operations/deletetag_response.rb
|
189
193
|
- lib/open_api_sdk/models/operations/deletetag_responsebody.rb
|
194
|
+
- lib/open_api_sdk/models/operations/discount.rb
|
190
195
|
- lib/open_api_sdk/models/operations/event.rb
|
196
|
+
- lib/open_api_sdk/models/operations/getcustomer_discount.rb
|
197
|
+
- lib/open_api_sdk/models/operations/getcustomer_interval.rb
|
191
198
|
- lib/open_api_sdk/models/operations/getcustomer_link.rb
|
199
|
+
- lib/open_api_sdk/models/operations/getcustomer_partner.rb
|
192
200
|
- lib/open_api_sdk/models/operations/getcustomer_request.rb
|
193
201
|
- lib/open_api_sdk/models/operations/getcustomer_response.rb
|
194
202
|
- lib/open_api_sdk/models/operations/getcustomer_responsebody.rb
|
203
|
+
- lib/open_api_sdk/models/operations/getcustomer_type.rb
|
204
|
+
- lib/open_api_sdk/models/operations/getcustomers_interval.rb
|
205
|
+
- lib/open_api_sdk/models/operations/getcustomers_request.rb
|
195
206
|
- lib/open_api_sdk/models/operations/getcustomers_response.rb
|
196
207
|
- lib/open_api_sdk/models/operations/getlinkinfo_request.rb
|
197
208
|
- lib/open_api_sdk/models/operations/getlinkinfo_response.rb
|
@@ -216,6 +227,7 @@ files:
|
|
216
227
|
- lib/open_api_sdk/models/operations/listevents_request.rb
|
217
228
|
- lib/open_api_sdk/models/operations/listevents_response.rb
|
218
229
|
- lib/open_api_sdk/models/operations/order.rb
|
230
|
+
- lib/open_api_sdk/models/operations/partner.rb
|
219
231
|
- lib/open_api_sdk/models/operations/paymentprocessor.rb
|
220
232
|
- lib/open_api_sdk/models/operations/queryparam_event.rb
|
221
233
|
- lib/open_api_sdk/models/operations/queryparam_interval.rb
|
@@ -235,11 +247,16 @@ files:
|
|
235
247
|
- lib/open_api_sdk/models/operations/tracksale_response.rb
|
236
248
|
- lib/open_api_sdk/models/operations/tracksale_responsebody.rb
|
237
249
|
- lib/open_api_sdk/models/operations/trigger.rb
|
250
|
+
- lib/open_api_sdk/models/operations/type.rb
|
251
|
+
- lib/open_api_sdk/models/operations/updatecustomer_discount.rb
|
252
|
+
- lib/open_api_sdk/models/operations/updatecustomer_interval.rb
|
238
253
|
- lib/open_api_sdk/models/operations/updatecustomer_link.rb
|
254
|
+
- lib/open_api_sdk/models/operations/updatecustomer_partner.rb
|
239
255
|
- lib/open_api_sdk/models/operations/updatecustomer_request.rb
|
240
256
|
- lib/open_api_sdk/models/operations/updatecustomer_requestbody.rb
|
241
257
|
- lib/open_api_sdk/models/operations/updatecustomer_response.rb
|
242
258
|
- lib/open_api_sdk/models/operations/updatecustomer_responsebody.rb
|
259
|
+
- lib/open_api_sdk/models/operations/updatecustomer_type.rb
|
243
260
|
- lib/open_api_sdk/models/operations/updatedomain_request.rb
|
244
261
|
- lib/open_api_sdk/models/operations/updatedomain_requestbody.rb
|
245
262
|
- lib/open_api_sdk/models/operations/updatedomain_response.rb
|